From 43de9af71f7f4ca5731b94a06d688ae8412ba427 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 6 Jul 2018 11:14:41 +0200 Subject: 2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota --- mayor-orig/bin/backup.sh | 192 + mayor-orig/bin/crypt-backup.sh | 144 + mayor-orig/bin/decrypt-backup.sh | 138 + mayor-orig/bin/etc/cron.daily/mayor | 13 + mayor-orig/bin/help.sh | 47 + mayor-orig/bin/mayor | 67 + mayor-orig/bin/remote-backup.sh | 170 + mayor-orig/bin/restore.sh | 257 + mayor-orig/bin/sbin/eNaploBackup.sh | 95 + mayor-orig/bin/sbin/eNaploRestore.sh | 82 + mayor-orig/bin/sbin/update.sh | 33 + mayor-orig/bin/tex2pdf.sh | 24 + mayor-orig/bin/update.sh | 227 + mayor-orig/bin/xetex2pdf.sh | 36 + mayor-orig/config/main-config.php.example | 70 + mayor-orig/config/main.conf.example | 75 + .../config/menu/public/menu-hu_HU.php.example | 16 + .../config/module-naplo/config-pl.php.example | 142 + .../config/module-naplo/config-vmg.php.example | 117 + mayor-orig/config/module-naplo/config.php.example | 65 + mayor-orig/config/parent-conf.php.example | 22 + mayor-orig/config/private-conf.php.example | 76 + mayor-orig/config/private-conf.php.ldap-ng.example | 66 + mayor-orig/config/public-conf.php.example | 24 + mayor-orig/config/skin-blue/config.php.example | 8 + mayor-orig/config/skin-classic/config.php.example | 7 + .../config/skin-classic/naplo-config.php.example | 15 + mayor-orig/config/skin-sulix/config.php.example | 6 + mayor-orig/config/skin-winter/config.php.example | 6 + mayor-orig/download/galleries/sample/01.jpg | Bin 0 -> 82788 bytes .../naplo/orarend/orarendBetolto/fromAsc.xml | 14 + .../export/module-naplo/default/bizonyitvany.php | 13 + .../export/module-naplo/draft/bizonyitvany.php | 39 + mayor-orig/install/base/apache2/mayor.conf | 46 + .../install/base/ldap/access-control/mayor.acl | 97 + mayor-orig/install/base/ldap/ldif/groups.ldif | 59 + mayor-orig/install/base/ldap/ldif/o.ldif | 9 + mayor-orig/install/base/ldap/ldif/ou.ldif | 62 + mayor-orig/install/base/ldap/ldif/user.ldif | 23 + mayor-orig/install/base/ldap/mayor-slapd.conf | 42 + mayor-orig/install/base/ldap/schema/mayor.schema | 101 + .../install/base/ldap/schema/mayor.schema.orig | 307 + mayor-orig/install/base/ldap/slapd.inc | 7 + mayor-orig/install/base/mysql/mayor-auth.sql | 54 + mayor-orig/install/base/mysql/mayor-login.sql | 173 + mayor-orig/install/base/mysql/private-users.sql | 12 + mayor-orig/install/base/mysql/utf8.cnf | 5 + mayor-orig/install/module-naplo/mysql/base.sql | 186 + .../install/module-naplo/mysql/createAccount.txt | 15 + .../install/module-naplo/mysql/intezmeny.sql | 1083 + .../install/module-naplo/mysql/kirTargyak.sql | 1 + .../install/module-naplo/mysql/naplo-users.sql | 8 + mayor-orig/install/module-naplo/mysql/tanev.sql | 730 + .../install/module-naplo/mysql/telepulesLista.sql | 10 + mayor-orig/log/mayor-base.rev | 1 + mayor-orig/log/mayor-naplo.rev | 1 + .../templates/csik/szovegesZaroErtekeles.tmpl | 105 + .../templates/default/beiskolazasiTerv.tmpl | 90 + .../templates/default/diakAdatlap.tmpl | 163 + .../module-naplo/templates/default/ertesito.tmpl | 70 + .../templates/default/helyettesitesinaplo.tmpl | 78 + .../templates/default/kirBizonyitvanyExport.tmpl | 15 + .../templates/default/sniEvVegiJegyzokonyv.tmpl | 111 + .../templates/default/sniHaviJegyzokonyv.tmpl | 104 + .../templates/default/szovegesErtekeles.tmpl | 99 + .../templates/default/szovegesZaroErtekeles.tmpl | 99 + .../module-naplo/templates/default/torzslap.tmpl | 218 + .../templates/default/tovabbkepzesHatarozat.tmpl | 128 + .../module-naplo/templates/default/zaradekok.tmpl | 37 + .../module-naplo/templates/draft/diakAdatlap.tmpl | 90 + .../module-naplo/templates/draft/ertesito.tmpl | 49 + .../templates/draft/helyettesitesinaplo.tmpl | 16 + .../templates/draft/kirBizonyitvanyExport.tmpl | 13 + .../templates/draft/sniEvVegiJegyzokonyv.tmpl | 73 + .../templates/draft/sniHaviJegyzokonyv.tmpl | 73 + .../templates/draft/szovegesErtekeles.tmpl | 37 + .../templates/draft/szovegesZaroErtekeles.tmpl | 50 + .../module-naplo/templates/draft/torzslap.tmpl | 48 + .../module-naplo/templates/draft/zaradek.tmpl | 33 + ...-fenykep_helyett_max_4_jogviszonyvaltassal.tmpl | 165 + .../diakAdatlap-szulostatusz_szoveggel.tmpl | 163 + .../ertesito-A4-ketsorosfejlec-soktantargyhoz.tmpl | 74 + .../templates/example/ertesito-A4-split.tmpl | 70 + .../templates/example/ertesito-A4.tmpl | 74 + .../templates/example/ertesito-A6-19targy.tmpl | 74 + .../templates/example/ertesito-A6-aprobetus.tmpl | 74 + .../example/ertesito-A6-helytakarekos.tmpl | 80 + .../example/ertesito-elmelet-gyakorlat.tmpl | 78 + .../example/ertesito-keses_percosszeggel.tmpl | 70 + .../example/ertesito-ketsoros_fejlec.tmpl | 72 + .../example/ertesito-labjegyzet_nelkul.tmpl | 73 + .../example/ertesito-targyrovidnevvel.tmpl | 70 + .../templates/example/ertesito-tordelt_sorok.tmpl | 77 + .../example/helyettesitesinaplo-landscape.tmpl | 81 + .../templates/example/kirBizonyitvanyExport.tmpl | 11 + .../example/torzslap-eves_oraszammal.tmpl | 218 + .../templates/fasori/helyettesitesinaplo.tmpl | 81 + .../templates/fasori/szovegesErtekeles-A4.tmpl | 87 + .../templates/fasori/szovegesErtekeles-A5.tmpl | 87 + .../templates/vmg/beiskolazasiTerv.tmpl | 90 + .../templates/vmg/szovegesErtekeles.tmpl | 102 + .../templates/vmg/szovegesZaroErtekeles.tmpl | 125 + mayor-orig/print/module-naplo/tex/mayor.cnf | 38 + .../print/module-naplo/tex/mayor.fmt-3.141592 | Bin 0 -> 330640 bytes .../print/module-naplo/tex/mayor.fmt-3.1415926 | Bin 0 -> 386779 bytes mayor-orig/print/module-naplo/tex/mayor.tex | 1443 + .../print/module-naplo/xetex/mayor-xetex.cnf | 9 + .../print/module-naplo/xetex/mayor-xetex.fmt | Bin 0 -> 1875490 bytes .../print/module-naplo/xetex/mayor-xetex.ini | 189 + mayor-orig/print/share/huhyphn.tex | 62784 +++++++++++++++++++ mayor-orig/update/linkme.sh | 10 + mayor-orig/update/orev001162-1.sh | 32 + mayor-orig/update/orev001212-1-intezmeny.sql | 3 + mayor-orig/update/orev001214-1.sh | 20 + mayor-orig/update/orev001214-2-intezmeny.sql | 5 + mayor-orig/update/orev001222-1-intezmeny.sql | 7 + mayor-orig/update/orev001226-1-intezmeny.sql | 6 + mayor-orig/update/orev001226-2-mayor_naplo.sql | 3 + mayor-orig/update/orev001227-1-intezmeny.sql | 82 + mayor-orig/update/orev001264-1-intezmeny.sql | 1 + mayor-orig/update/orev001270-1-intezmeny.sql | 2 + mayor-orig/update/orev001280-1-intezmeny.sql | 4 + mayor-orig/update/orev001317-1-intezmeny.sql | 2 + mayor-orig/update/orev001324-1-naplo.sql | 13 + mayor-orig/update/orev001340-1.sh | 14 + mayor-orig/update/orev001346-1-naplo.sql | 100 + mayor-orig/update/orev001347-1-naplo.sql | 65 + mayor-orig/update/orev001361-1-intezmeny.sql | 10 + mayor-orig/update/orev001361-2-mayor_naplo.sql | 6 + mayor-orig/update/orev001367-1-intezmeny.sql | 71 + mayor-orig/update/orev001367-2-naplo.sql | 43 + mayor-orig/update/orev001387-2-mayor_naplo.sql | 1 + mayor-orig/update/orev001427-1-naplo.sql | 3 + mayor-orig/update/orev001461-1-intezmeny.sql | 26 + mayor-orig/update/orev001497-1-naplo.sql | 2 + mayor-orig/update/orev001517-1-intezmeny.sql | 28 + mayor-orig/update/orev001517-1-mayor_naplo.sql | 8 + mayor-orig/update/orev001520-1.sh | 15 + mayor-orig/update/orev001530-1-naplo.sql | 12 + mayor-orig/update/orev001538-1-intezmeny.sql | 4 + mayor-orig/update/orev001579-1-intezmeny.sql | 2 + mayor-orig/update/orev001579-1-naplo.sql | 2 + mayor-orig/update/orev001582-2-intezmeny.sql | 59 + mayor-orig/update/orev001582-2-naplo.sql | 15 + mayor-orig/update/orev001587-1-intezmeny.sql | 34 + mayor-orig/update/orev001587-2-intezmeny.sql | 4 + mayor-orig/update/orev001588-1-intezmeny.sql | 1 + mayor-orig/update/orev001589-1-intezmeny.sql | 2 + mayor-orig/update/orev001591-1-intezmeny.sql | 28 + mayor-orig/update/orev001592-1-intezmeny.sql | 12 + mayor-orig/update/orev001592-1-naplo.sql | 3 + mayor-orig/update/orev001592-2-intezmeny.sql | 1 + mayor-orig/update/orev001594-1-intezmeny.sql | 3 + mayor-orig/update/orev001597-1-intezmeny.sql | 26 + mayor-orig/update/orev001599-1-intezmeny.sql | 7 + mayor-orig/update/orev001599-1-naplo.sql | 50 + mayor-orig/update/orev001599-2-intezmeny.sql | 2 + mayor-orig/update/orev001600-1-intezmeny.sql | 2 + mayor-orig/update/orev001604-1-naplo.sql | 2 + mayor-orig/update/orev001606-1-intezmeny.sql | 7 + mayor-orig/update/orev001609-1.sh | 14 + mayor-orig/update/orev001621-1-intezmeny.sql | 1 + mayor-orig/update/orev001630-1.sh | 15 + mayor-orig/update/orev001637-1-intezmeny.sql | 120 + mayor-orig/update/orev001637-1-naplo.sql | 27 + mayor-orig/update/orev001656-1-intezmeny.sql | 2 + mayor-orig/update/orev001698-1-naplo.sql | 4 + mayor-orig/update/orev001699-1.sh | 12 + mayor-orig/update/orev001717-1.sh | 13 + mayor-orig/update/orev001723-1-naplo.sql | 19 + mayor-orig/update/orev001725-1-intezmeny.sql | 7 + mayor-orig/update/orev001725-1-naplo.sql | 3 + mayor-orig/update/orev001732-1-naplo.sql | 1 + mayor-orig/update/orev001738-1-mayor_naplo.sql | 6 + mayor-orig/update/orev001770-1-intezmeny.sql | 2 + mayor-orig/update/orev001776-1-naplo.sql | 1 + mayor-orig/update/orev001782-1-naplo.sql | 28 + mayor-orig/update/orev001784-1-intezmeny.sql | 2 + mayor-orig/update/orev001788-1-naplo.sql | 26 + mayor-orig/update/orev001836-1-intezmeny.sql | 8 + mayor-orig/update/orev001909-1-intezmeny.sql | 4 + mayor-orig/update/orev001920-1-naplo.sql | 4 + mayor-orig/update/orev001933-1-intezmeny.sql | 1 + mayor-orig/update/orev001935-1-intezmeny.sql | 1 + mayor-orig/update/orev001951-1-naplo.sql | 2 + mayor-orig/update/orev001968-1-intezmeny.sql | 2 + mayor-orig/update/orev001972-1-intezmeny.sql | 2 + mayor-orig/update/orev002033-1-intezmeny.sql | 2 + mayor-orig/update/orev002055-1-intezmeny.sql | 3 + mayor-orig/update/orev002062-1-intezmeny.sql | 2 + mayor-orig/update/post002037-1.sh | 23 + mayor-orig/update/post002038-1.sh | 5 + mayor-orig/update/post002041-1.sh | 10 + mayor-orig/update/post002089-1.sh | 93 + mayor-orig/update/post002093-1.sh | 14 + mayor-orig/update/post002543-1.sh | 12 + mayor-orig/update/post002698-1.sh | 10 + mayor-orig/update/post003057-1.sh | 13 + mayor-orig/update/pre002038-1.sh | 5 + mayor-orig/update/pre002078-1-intezmeny.sql | 5 + mayor-orig/update/pre002086-1-intezmeny.sql | 27 + mayor-orig/update/pre002087-1-mayor_naplo.sql | 5 + mayor-orig/update/pre002087-2-intezmeny.sql | 3 + mayor-orig/update/pre002090-1-intezmeny.sql | 4 + mayor-orig/update/pre002091-1-naplo.sql | 2 + mayor-orig/update/pre002094-1-naplo.sql | 1 + mayor-orig/update/pre002095-1-intezmeny.sql | 2 + mayor-orig/update/pre002097-1-intezmeny.sql | 87 + mayor-orig/update/pre002101-1-intezmeny.sql | 15 + mayor-orig/update/pre002112-1-intezmeny.sql | 14 + mayor-orig/update/pre002137-1-naplo.sql | 1 + mayor-orig/update/pre002138-1-mayor_naplo.sql | 2 + mayor-orig/update/pre002167-1-intezmeny.sql | 1 + mayor-orig/update/pre002173-1-naplo.sql | 21 + mayor-orig/update/pre002176-1-intezmeny.sql | 1 + mayor-orig/update/pre002186-1-intezmeny.sql | 1 + mayor-orig/update/pre002189-1-intezmeny.sql | 32 + mayor-orig/update/pre002189-2-intezmeny.sql | 3 + mayor-orig/update/pre002189-3-intezmeny.sql | 32 + mayor-orig/update/pre002189-4-naplo.sql | 1 + mayor-orig/update/pre002189-5-naplo.sql | 7 + mayor-orig/update/pre002192-1-intezmeny.sql | 4 + mayor-orig/update/pre002203-1-intezmeny.sql | 22 + mayor-orig/update/pre002203-1-naplo.sql | 1 + mayor-orig/update/pre002223-1-naplo.sql | 3 + mayor-orig/update/pre002238-1-naplo.sql | 13 + mayor-orig/update/pre002241-1-intezmeny.sql | 5 + mayor-orig/update/pre002241-1-mayor_naplo.sql | 6 + mayor-orig/update/pre002244-1-naplo.sql | 3 + mayor-orig/update/pre002247-1-intezmeny.sql | 15 + mayor-orig/update/pre002262-1-intezmeny.sql | 3 + mayor-orig/update/pre002281-1-intezmeny.sql | 3 + mayor-orig/update/pre002312-1-intezmeny.sql | 4 + mayor-orig/update/pre002321-1-intezmeny.sql | 3 + mayor-orig/update/pre002325-1-naplo.sql | 1 + mayor-orig/update/pre002331-1-intezmeny.sql | 2 + mayor-orig/update/pre002333-1-intezmeny.sql | 13 + mayor-orig/update/pre002343-1-intezmeny.sql | 11 + mayor-orig/update/pre002397-1-intezmeny.sql | 4 + mayor-orig/update/pre002460-1-intezmeny.sql | 3 + mayor-orig/update/pre002468-1-intezmeny.sql | 31 + mayor-orig/update/pre002472-1-intezmeny.sql | 37 + mayor-orig/update/pre002483-1-intezmeny.sql | 26 + mayor-orig/update/pre002483-2-naplo.sql | 41 + mayor-orig/update/pre002492-1-naplo.sql | 13 + mayor-orig/update/pre002492-2-naplo.sql | 4 + mayor-orig/update/pre002493-1-naplo.sql | 2 + mayor-orig/update/pre002515-1-naplo.sql | 8 + mayor-orig/update/pre002521-1-intezmeny.sql | 1 + mayor-orig/update/pre002553-1-intezmeny.sql | 1 + mayor-orig/update/pre002559-1.sh | 14 + mayor-orig/update/pre002564-1-mayor_naplo.sql | 15 + mayor-orig/update/pre002564-2-intezmeny.sql | 4 + mayor-orig/update/pre002572-1-intezmeny.sql | 12 + mayor-orig/update/pre002573-1-intezmeny.sql | 7 + mayor-orig/update/pre002616-1-intezmeny.sql | 4 + mayor-orig/update/pre002621-1-naplo.sql | 5 + mayor-orig/update/pre002621-2-intezmeny.sql | 2 + mayor-orig/update/pre002625-1-intezmeny.sql | 10 + mayor-orig/update/pre002627-1-naplo.sql | 1 + mayor-orig/update/pre002631-1-intezmeny.sql | 16 + mayor-orig/update/pre002631-2-naplo.sql | 31 + mayor-orig/update/pre002634-1-intezmeny.sql | 3 + mayor-orig/update/pre002634-2-naplo.sql | 12 + mayor-orig/update/pre002638-1-intezmeny.sql | 1 + mayor-orig/update/pre002638-2-naplo.sql | 5 + mayor-orig/update/pre002638-3-intezmeny.sql | 11 + mayor-orig/update/pre002638-4-naplo.sql | 45 + mayor-orig/update/pre002651-1-intezmeny.sql | 20 + mayor-orig/update/pre002651-2-naplo.sql | 45 + mayor-orig/update/pre002653-1-naplo.sql | 4 + mayor-orig/update/pre002658-1-intezmeny.sql | 2 + mayor-orig/update/pre002660-1-naplo.sql | 9 + mayor-orig/update/pre002670-1-intezmeny.sql | 2 + mayor-orig/update/pre002674-1-naplo.sql | 2 + mayor-orig/update/pre002706-1-intezmeny.sql | 2 + mayor-orig/update/pre002719-1-naplo.sql | 3 + mayor-orig/update/pre002725-1-intezmeny.sql | 5 + mayor-orig/update/pre002729-1-intezmeny.sql | 8 + mayor-orig/update/pre002772-1-naplo.sql | 2 + mayor-orig/update/pre002779-1-naplo.sql | 3 + mayor-orig/update/pre002801-1-naplo.sql | 3 + mayor-orig/update/pre002812-1-intezmeny.sql | 9 + mayor-orig/update/pre002840-1-intezmeny.sql | 3 + mayor-orig/update/pre002860-1.sh | 13 + mayor-orig/update/pre002932-1-intezmeny.sql | 3 + mayor-orig/update/pre002944-1-intezmeny.sql | 51 + mayor-orig/update/pre002944-1-naplo.sql | 8 + mayor-orig/update/pre002968-1-intezmeny.sql | 13 + mayor-orig/update/pre002968-1-naplo.sql | 2 + mayor-orig/update/pre002970-1-intezmeny.sql | 2 + mayor-orig/update/pre002989-0.sh | 13 + mayor-orig/update/pre002990-1-intezmeny.sql | 8 + mayor-orig/update/pre002998-1-intezmeny.sql | 1 + mayor-orig/update/pre002998-1-naplo.sql | 1 + mayor-orig/update/pre003000-1-naplo.sql | 1 + mayor-orig/update/pre003005-1-mayor_naplo.sql | 15 + mayor-orig/update/pre003005-2-intezmeny.sql | 6 + mayor-orig/update/pre003041-1-naplo.sql | 1 + mayor-orig/update/pre003041-2-naplo.sql | 2 + mayor-orig/update/pre003042-1-mayor_login.sql | 12 + mayor-orig/update/pre003070-1.sh | 13 + mayor-orig/update/pre003075-1-naplo.sql | 2 + mayor-orig/update/pre003075-2-intezmeny.sql | 13 + mayor-orig/update/pre003075-3-naplo.sql | 3 + mayor-orig/update/pre003079-0.sh | 13 + mayor-orig/update/pre003082-1-intezmeny.sql | 9 + mayor-orig/update/pre003088-1-intezmeny.sql | 15 + mayor-orig/update/pre003112-1-intezmeny.sql | 29 + mayor-orig/update/pre003119-1-naplo.sql | 3 + mayor-orig/update/pre003123-1-naplo.sql | 1 + mayor-orig/update/pre003138-1-intezmeny.sql | 1 + mayor-orig/update/pre003155-1-intezmeny.sql | 1 + mayor-orig/update/pre003176-1-intezmeny.sql | 2 + mayor-orig/update/pre003177-1-intezmeny.sql | 3 + mayor-orig/update/pre003253-1-intezmeny.sql | 9 + mayor-orig/update/pre003282-1-mayor_naplo.sql | 16 + mayor-orig/update/pre003324-1-intezmeny.sql | 2 + mayor-orig/update/pre003334-1-naplo.sql | 44 + mayor-orig/update/pre003340-1-mayor_naplo.sql | 27 + mayor-orig/update/pre003355-1-intezmeny.sql | 11 + mayor-orig/update/pre003361-1-mayor_naplo.sql | 1 + mayor-orig/update/pre003363-1-mayor_naplo.sql | 2 + mayor-orig/update/pre003371-1-mayor_naplo.sql | 1 + mayor-orig/update/pre003379-1-mayor_naplo.sql | 121 + mayor-orig/update/pre003379-2-naplo.sql | 55 + mayor-orig/update/pre003380-1-intezmeny.sql | 1 + mayor-orig/update/pre003391-1-intezmeny.sql | 11 + mayor-orig/update/pre003392-1-intezmeny.sql | 11 + mayor-orig/update/pre003396-1-intezmeny.sql | 17 + mayor-orig/update/pre003396-1-mayor_login.sql | 41 + mayor-orig/update/pre003396-1-naplo.sql | 17 + mayor-orig/update/pre003400-1-naplo.sql | 55 + mayor-orig/update/pre003409-1-naplo.sql | 105 + mayor-orig/update/pre003411-1-naplo.sql | 55 + mayor-orig/update/pre003422-1-mayor_naplo.sql | 13 + mayor-orig/update/pre003427-1-intezmeny.sql | 1 + mayor-orig/update/pre003431-1-intezmeny.sql | 90 + mayor-orig/update/pre003450-1-intezmeny.sql | 18 + mayor-orig/update/pre003456-1-intezmeny.sql | 28 + mayor-orig/update/pre003461-1-mayor_naplo.sql | 1 + mayor-orig/update/pre003464-1-intezmeny.sql | 18 + mayor-orig/update/pre003517-1-intezmeny.sql | 43 + mayor-orig/update/pre003531-1-intezmeny.sql | 14 + mayor-orig/update/pre003531-2-intezmeny.sql | 15 + mayor-orig/update/pre003531-3-intezmeny.sql | 16 + mayor-orig/update/pre003531-4-intezmeny.sql | 18 + mayor-orig/update/pre003562-1-intezmeny.sql | 10 + mayor-orig/update/pre003566-1-naplo.sql | 34 + mayor-orig/update/pre003568-1-intezmeny.sql | 38 + mayor-orig/update/pre003581-1-intezmeny.sql | 51 + mayor-orig/update/pre003581-1-mayor_naplo.sql | 175 + mayor-orig/update/pre003582-1-intezmeny.sql | 22 + mayor-orig/update/pre003592-1-naplo.sql | 22 + mayor-orig/update/pre003597-1-intezmeny.sql | 19 + mayor-orig/update/pre003599-1-intezmeny.sql | 45 + mayor-orig/update/pre003601-1-intezmeny.sql | 26 + mayor-orig/update/pre003602-1-mayor_naplo.sql | 14 + mayor-orig/update/pre003604-1-mayor_naplo.sql | 20 + mayor-orig/update/pre003605-1-intezmeny.sql | 21 + mayor-orig/update/pre003616-1-mayor_naplo.sql | 110 + mayor-orig/update/pre003644-1-intezmeny.sql | 28 + mayor-orig/update/pre003669-1-naplo.sql | 18 + mayor-orig/update/pre003680-1-mayor_naplo.sql | 19 + mayor-orig/update/pre003690-1-intezmeny.sql | 22 + mayor-orig/update/pre003703-1-intezmeny.sql | 51 + mayor-orig/update/pre003707-1-intezmeny.sql | 4 + mayor-orig/update/pre003719-1-intezmeny.sql | 18 + mayor-orig/update/pre003734-1-mayor_naplo.sql | 23 + mayor-orig/update/pre003738-1-mayor_login.sql | 25 + mayor-orig/update/pre003744-1-intezmeny.sql | 67 + mayor-orig/update/pre003760-1-mayor_login.sql | 34 + mayor-orig/update/pre003761-1-intezmeny.sql | 13 + mayor-orig/update/pre003763-1-mayor_login.sql | 36 + mayor-orig/update/pre003766-1-intezmeny.sql | 16 + mayor-orig/update/pre003784-1-intezmeny.sql | 13 + mayor-orig/update/pre003787-1-intezmeny.sql | 14 + mayor-orig/update/pre003799-1-intezmeny.sql | 37 + mayor-orig/update/pre003812-1-intezmeny.sql | 16 + mayor-orig/update/pre003844-1-intezmeny.sql | 1 + mayor-orig/update/pre003849-1-intezmeny.sql | 23 + mayor-orig/update/pre003856-1-mayor_login.sql | 16 + mayor-orig/update/pre003858-1-mayor_login.sql | 12 + mayor-orig/update/pre003860-1-mayor_login.sql | 12 + mayor-orig/update/pre003877-1-mayor_naplo.sql | 18 + mayor-orig/update/pre003893-1-intezmeny.sql | 33 + mayor-orig/update/pre003904-1-mayor_naplo.sql | 29 + mayor-orig/update/pre003924-1-intezmeny.sql | 13 + mayor-orig/update/pre003950-1-mayor_login.sql | 33 + mayor-orig/update/pre003950-2.sh | 20 + mayor-orig/update/pre003956-1.sh | 22 + mayor-orig/update/pre003958-1-mayor_login.sql | 3 + mayor-orig/update/pre003966-1-mayor_naplo.sql | 27 + mayor-orig/update/pre003980-1-mayor_naplo.sql | 20 + mayor-orig/update/pre003981-1-intezmeny.sql | 12 + mayor-orig/update/pre004002-1-mayor_naplo.sql | 36 + mayor-orig/update/pre004022-1-mayor_naplo.sql | 17 + mayor-orig/update/pre004025-1-mayor_naplo.sql | 13 + mayor-orig/update/pre004066-1-naplo.sql | 17 + mayor-orig/update/pre004078-1-intezmeny.sql | 17 + mayor-orig/update/pre004078-2-naplo.sql | 18 + mayor-orig/update/pre004125-1-intezmeny.sql | 16 + mayor-orig/update/pre004125-2-naplo.sql | 16 + mayor-orig/update/pre004133-1-naplo.sql | 66 + mayor-orig/update/pre004137-1-naplo.sql | 26 + mayor-orig/update/pre004149-1-naplo.sql | 16 + mayor-orig/update/pre004166-1-intezmeny.sql | 29 + mayor-orig/update/pre004175-1-intezmeny.sql | 20 + mayor-orig/update/pre004179-1-mayor_login.sql | 22 + mayor-orig/update/pre004215-1-intezmeny.sql | 23 + mayor-orig/update/pre004225-1-naplo.sql | 16 + mayor-orig/update/pre004244-1-naplo.sql | 16 + mayor-orig/update/pre004246-1-intezmeny.sql | 12 + mayor-orig/update/pre004247-1-naplo.sql | 17 + mayor-orig/update/pre004250-1-intezmeny.sql | 13 + mayor-orig/update/pre004250-2-naplo.sql | 16 + mayor-orig/update/pre004263-1-naplo.sql | 17 + mayor-orig/update/pre004271-1-intezmeny.sql | 19 + mayor-orig/update/processUpdateScripts.sh | 259 + mayor-orig/update/rev001167-1.sh | 8 + mayor-orig/update/rev001174-1.sh | 167 + mayor-orig/update/rev001177-1.sh | 58 + mayor-orig/update/rev001181-1.sh | 5 + mayor-orig/update/rev001341-1-auth.sql | 4 + mayor-orig/update/rev001351-1-auth.sql | 3 + mayor-orig/update/rev001368-1.sh | 10 + mayor-orig/update/rev001387-1-mayor_login.sql | 1 + mayor-orig/update/rev001391-1-mayor_login.sql | 1 + mayor-orig/update/rev001393-1-mayor_login.sql | 1 + mayor-orig/update/rev001582-1.sh | 66 + mayor-orig/update/rev001745-1.sh | 13 + mayor-orig/update/rev001751-1.sh | 13 + mayor-orig/update/rev001986-1-mayor_login.sql | 4 + mayor-orig/update/rev002008-1-auth.sql | 3 + mayor-orig/update/rev002038-1.sh | 5 + mayor-orig/update/rev002400-1-mayor_login.sql | 19 + mayor-orig/update/rev002422-1-mayor_login.sql | 41 + mayor-orig/wiki/dok.php | 28 + mayor-orig/www/LICENSE.txt | 674 + mayor-orig/www/include/alert/base.php | 38 + mayor-orig/www/include/alert/hu_HU/base.php | 52 + mayor-orig/www/include/alert/hu_HU/file.php | 9 + mayor-orig/www/include/alert/hu_HU/ldap.php | 11 + mayor-orig/www/include/alert/hu_HU/module-auth.php | 11 + .../www/include/alert/hu_HU/module-naplo.php | 70 + .../www/include/alert/hu_HU/module-password.php | 18 + .../www/include/alert/hu_HU/module-session.php | 10 + mayor-orig/www/include/backend/ads/auth/login.php | 358 + mayor-orig/www/include/backend/ads/base/attrs.php | 160 + .../backend/ads/password/changePassword.php | 165 + .../include/backend/ads/session/accountInfo.php | 416 + .../www/include/backend/ads/session/base.php | 188 + .../include/backend/ads/session/createAccount.php | 157 + .../include/backend/ads/session/createGroup.php | 82 + .../backend/ads/session/search/searchAccount.php | 277 + mayor-orig/www/include/backend/file/auth/login.php | 121 + .../www/include/backend/file/session/base.php | 6 + .../www/include/backend/ldap-ng/auth/login.php | 163 + .../www/include/backend/ldap-ng/base/attrs.php | 146 + .../backend/ldap-ng/password/changePassword.php | 161 + .../backend/ldap-ng/session/accountInfo.php | 401 + .../www/include/backend/ldap-ng/session/base.php | 184 + .../backend/ldap-ng/session/createAccount.php | 157 + .../backend/ldap-ng/session/createGroup.php | 82 + .../ldap-ng/session/search/searchAccount.php | 271 + mayor-orig/www/include/backend/ldap/auth/login.php | 144 + mayor-orig/www/include/backend/ldap/base/attrs.php | 120 + .../www/include/backend/ldap/base/attrs.php.orig | 175 + mayor-orig/www/include/backend/ldap/base/str.php | 53 + .../backend/ldap/password/changePassword.php | 102 + .../include/backend/ldap/session/accountInfo.php | 401 + .../www/include/backend/ldap/session/base.php | 255 + .../include/backend/ldap/session/createAccount.php | 204 + .../include/backend/ldap/session/createGroup.php | 103 + .../backend/ldap/session/search/searchAccount.php | 311 + .../www/include/backend/ldapng/auth/login.php | 163 + .../www/include/backend/ldapng/base/attrs.php | 137 + .../backend/ldapng/password/changePassword.php | 160 + .../include/backend/ldapng/session/accountInfo.php | 399 + .../www/include/backend/ldapng/session/base.php | 190 + .../backend/ldapng/session/createAccount.php | 157 + .../include/backend/ldapng/session/createGroup.php | 82 + .../ldapng/session/search/searchAccount.php | 271 + .../www/include/backend/mysql/auth/login.php | 144 + .../www/include/backend/mysql/base/attrs.php | 48 + .../backend/mysql/password/changePassword.php | 75 + .../include/backend/mysql/session/accountInfo.php | 258 + .../www/include/backend/mysql/session/base.php | 52 + .../backend/mysql/session/createAccount.php | 106 + .../include/backend/mysql/session/createGroup.php | 37 + .../backend/mysql/session/search/searchAccount.php | 169 + mayor-orig/www/include/base/base.php | 227 + mayor-orig/www/include/base/cache.php | 33 + mayor-orig/www/include/base/config.php | 62 + mayor-orig/www/include/base/error.php | 44 + mayor-orig/www/include/base/log.php | 33 + mayor-orig/www/include/base/login.php | 120 + mayor-orig/www/include/base/mysql.php | 396 + mayor-orig/www/include/base/rights.php | 376 + mayor-orig/www/include/base/str.php | 230 + mayor-orig/www/include/base/var.php | 134 + mayor-orig/www/include/menu/base.php | 107 + mayor-orig/www/include/menu/parent/hu_HU/base.php | 44 + .../www/include/menu/parent/hu_HU/module-naplo.php | 76 + mayor-orig/www/include/menu/private/hu_HU/base.php | 67 + .../include/menu/private/hu_HU/module-naplo.php | 613 + mayor-orig/www/include/menu/public/hu_HU/base.php | 34 + .../www/include/menu/public/hu_HU/module-naplo.php | 13 + .../www/include/modules/auth/base/forgotten.php | 53 + mayor-orig/www/include/modules/auth/base/login.php | 37 + .../www/include/modules/naplo/admin/azonositok.php | 14 + .../www/include/modules/naplo/admin/checksql.php | 98 + .../include/modules/naplo/admin/intezmenyek.php | 117 + .../include/modules/naplo/admin/szemeszterek.php | 48 + .../modules/naplo/admin/szuloiAzonositok.php | 14 + .../www/include/modules/naplo/admin/tanevek.php | 390 + .../www/include/modules/naplo/admin/tankorok.php | 133 + mayor-orig/www/include/modules/naplo/base/base.php | 298 + mayor-orig/www/include/modules/naplo/base/log.php | 40 + .../www/include/modules/naplo/base/rights.php | 469 + mayor-orig/www/include/modules/naplo/base/tool.php | 589 + .../www/include/modules/naplo/base/update.php | 86 + .../www/include/modules/naplo/base/zcheck.php | 100 + .../modules/naplo/bejegyzesek/bejegyzesTipus.php | 87 + .../modules/naplo/bejegyzesek/bejegyzesek.php | 74 + .../www/include/modules/naplo/diakValaszto.php | 10 + .../modules/naplo/ertekeles/kerdoivBetoltes.php | 81 + .../include/modules/naplo/ertekeles/osszesites.php | 57 + .../include/modules/naplo/export/bizonyitvany.php | 88 + .../include/modules/naplo/export/diakExport.php | 144 + .../modules/naplo/export/kirBizonyitvanyExport.php | 24 + .../www/include/modules/naplo/export/kreta.php | 23 + .../www/include/modules/naplo/export/sulix.php | 129 + .../modules/naplo/export/tanarOsztalyOraszam.php | 13 + .../modules/naplo/export/tantargyFelosztas.php | 68 + .../include/modules/naplo/haladasi/elmaradas.php | 27 + .../include/modules/naplo/haladasi/elszamolas.php | 44 + .../include/modules/naplo/haladasi/haladasi.php | 274 + .../modules/naplo/haladasi/helyettesites.php | 945 + .../modules/naplo/haladasi/oralatogatas.php | 30 + .../include/modules/naplo/haladasi/osszevonas.php | 38 + .../include/modules/naplo/haladasi/pluszora.php | 55 + .../include/modules/naplo/haladasi/specialis.php | 167 + .../www/include/modules/naplo/haladasi/stat.php | 103 + .../modules/naplo/haladasi/teremModositas.php | 30 + .../www/include/modules/naplo/hianyzas/diak.php | 119 + .../www/include/modules/naplo/hianyzas/oktstat.php | 155 + .../www/include/modules/naplo/hianyzas/ora.php | 8 + .../www/include/modules/naplo/hianyzas/osztaly.php | 232 + .../include/modules/naplo/hibabejelento/admin.php | 28 + .../modules/naplo/hibabejelento/hibabejelento.php | 27 + .../include/modules/naplo/intezmeny/diakExport.php | 137 + .../modules/naplo/intezmeny/diakFelmentes.php | 6 + .../modules/naplo/intezmeny/diakStatusz.php | 12 + .../include/modules/naplo/intezmeny/diakSzulo.php | 98 + .../naplo/intezmeny/diakTankorJelentkezes.php | 97 + .../www/include/modules/naplo/intezmeny/kepzes.php | 64 + .../modules/naplo/intezmeny/kepzesOraterv.php | 92 + .../modules/naplo/intezmeny/munkakozosseg.php | 288 + .../include/modules/naplo/intezmeny/osztaly.php | 474 + .../www/include/modules/naplo/intezmeny/tanar.php | 54 + .../www/include/modules/naplo/intezmeny/tankor.php | 201 + .../modules/naplo/intezmeny/tankorSzemeszter.php | 200 + .../modules/naplo/intezmeny/tankorTanar.php | 292 + .../naplo/intezmeny/tankorTanarHozzarendeles.php | 224 + .../www/include/modules/naplo/intezmeny/terem.php | 25 + .../modules/naplo/intezmeny/tovabbkepzes.php | 159 + .../www/include/modules/naplo/intezmeny/valtas.php | 9 + .../include/modules/naplo/koszi/esemenyAdmin.php | 86 + .../www/include/modules/naplo/koszi/koszi.php | 40 + .../www/include/modules/naplo/koszi/kosziAdmin.php | 82 + mayor-orig/www/include/modules/naplo/naplo.php | 12 + .../modules/naplo/nyomtatas/beiskolazasiTerv.php | 64 + .../naplo/nyomtatas/bizonyitvanyNyomtatas.php | 164 + .../modules/naplo/nyomtatas/diakAdatlap.php | 22 + .../naplo/nyomtatas/diakTankorJelentkezes.php | 336 + .../include/modules/naplo/nyomtatas/ertesito.php | 101 + .../modules/naplo/nyomtatas/haladasinaplo.php | 139 + .../naplo/nyomtatas/helyettesitesinaplo.php | 148 + .../include/modules/naplo/nyomtatas/nyomtatas.php | 89 + .../modules/naplo/nyomtatas/osztalyozonaplo.php | 24 + .../naplo/nyomtatas/sniEvVegiJegyzokonyv.php | 48 + .../modules/naplo/nyomtatas/sniHaviJegyzokonyv.php | 41 + .../modules/naplo/nyomtatas/szovegesErtekeles.php | 131 + .../naplo/nyomtatas/tankorNaplohozRendeles.php | 48 + .../www/include/modules/naplo/nyomtatas/tex.php | 1285 + .../include/modules/naplo/nyomtatas/torzslap.php | 199 + .../naplo/nyomtatas/tovabbkepzesHatarozat.php | 60 + .../include/modules/naplo/nyomtatas/zaradekok.php | 63 + .../include/modules/naplo/orarend/ascExport.php | 437 + .../naplo/orarend/convert-Microsoft Excel XML.php | 147 + .../modules/naplo/orarend/convert-RoPaSoft.php | 80 + .../convert-aSc Timetables Ctrl-Shift-E.php | 112 + ...s XML (tank\303\266r n\303\251lk\303\274l).php" | 188 + .../orarend/convert-aSc Timetables XML update.php | 241 + .../naplo/orarend/convert-aSc Timetables XML.php | 217 + .../include/modules/naplo/orarend/convert-csv.php | 79 + .../modules/naplo/orarend/convert-default.php | 33 + .../modules/naplo/orarend/orarendBetolto.php | 82 + .../modules/naplo/orarend/orarendEllenorzes.php | 70 + .../modules/naplo/orarend/orarendModosito.php | 304 + .../modules/naplo/orarend/orarendTankor.php | 33 + .../naplo/orarend/orarendTeremModositas.php | 28 + .../include/modules/naplo/orarend/tanarOrarend.php | 222 + .../modules/naplo/osztalyozo/bizonyitvany.php | 134 + .../www/include/modules/naplo/osztalyozo/diak.php | 106 + .../include/modules/naplo/osztalyozo/dolgozat.php | 123 + .../www/include/modules/naplo/osztalyozo/stat.php | 249 + .../modules/naplo/osztalyozo/szempontRendszer.php | 56 + .../modules/naplo/osztalyozo/szovegesErtekeles.php | 67 + .../include/modules/naplo/osztalyozo/tankor.php | 205 + .../modules/naplo/osztalyozo/targySorrend.php | 55 + .../include/modules/naplo/osztalyozo/vizsga.php | 136 + .../www/include/modules/naplo/share/bejegyzes.php | 65 + .../modules/naplo/share/bejegyzesModifier.php | 40 + .../www/include/modules/naplo/share/bontas.php | 72 + .../www/include/modules/naplo/share/diak.php | 602 + .../include/modules/naplo/share/diakModifier.php | 344 + .../www/include/modules/naplo/share/dolgozat.php | 133 + .../www/include/modules/naplo/share/ertekeles.php | 60 + .../www/include/modules/naplo/share/esemeny.php | 216 + .../www/include/modules/naplo/share/file.php | 662 + .../include/modules/naplo/share/helyettesites.php | 42 + .../modules/naplo/share/helyettesitesModifier.php | 117 + .../www/include/modules/naplo/share/hetes.php | 48 + .../www/include/modules/naplo/share/hianyzas.php | 478 + .../modules/naplo/share/hianyzasModifier.php | 363 + .../www/include/modules/naplo/share/hirnok.php | 353 + .../include/modules/naplo/share/intezmenyek.php | 134 + .../www/include/modules/naplo/share/jegy.php | 73 + .../include/modules/naplo/share/jegyModifier.php | 68 + .../www/include/modules/naplo/share/jegyzet.php | 216 + .../www/include/modules/naplo/share/kepesites.php | 103 + .../www/include/modules/naplo/share/kepzes.php | 183 + .../www/include/modules/naplo/share/kerdoiv.php | 127 + .../www/include/modules/naplo/share/kerelem.php | 136 + .../www/include/modules/naplo/share/kereso.php | 56 + .../www/include/modules/naplo/share/koszi.php | 141 + .../include/modules/naplo/share/munkakozosseg.php | 84 + .../www/include/modules/naplo/share/mysql.php | 184 + mayor-orig/www/include/modules/naplo/share/nap.php | 332 + mayor-orig/www/include/modules/naplo/share/ora.php | 608 + .../include/modules/naplo/share/oraModifier.php | 148 + .../www/include/modules/naplo/share/orarend.php | 422 + .../www/include/modules/naplo/share/osztaly.php | 735 + .../modules/naplo/share/osztalyModifier.php | 313 + .../include/modules/naplo/share/osztalyzatok.php | 342 + mayor-orig/www/include/modules/naplo/share/rpc.php | 29 + mayor-orig/www/include/modules/naplo/share/sni.php | 54 + .../www/include/modules/naplo/share/szemeszter.php | 176 + .../modules/naplo/share/szovegesErtekeles.php | 206 + .../www/include/modules/naplo/share/szulo.php | 76 + .../www/include/modules/naplo/share/tanar.php | 170 + .../include/modules/naplo/share/tanarModifier.php | 14 + .../www/include/modules/naplo/share/tankor.php | 1180 + .../include/modules/naplo/share/tankorBlokk.php | 83 + .../modules/naplo/share/tankorDiakModifier.php | 518 + .../include/modules/naplo/share/tankorModifier.php | 498 + .../www/include/modules/naplo/share/tanmenet.php | 208 + .../www/include/modules/naplo/share/targy.php | 426 + .../www/include/modules/naplo/share/terem.php | 112 + .../www/include/modules/naplo/share/verseny.php | 20 + .../www/include/modules/naplo/share/vizsga.php | 41 + .../www/include/modules/naplo/share/zaradek.php | 543 + .../modules/naplo/share/zaroJegyModifier.php | 156 + .../www/include/modules/naplo/sni/diakAllapot.php | 91 + .../include/modules/naplo/sni/fejlesztesiTerv.php | 45 + .../modules/naplo/sni/tantargyiFeljegyzesek.php | 26 + .../include/modules/naplo/stat/lemorzsolodas.php | 223 + .../modules/naplo/stat/tantargyFelosztas.php | 236 + .../include/modules/naplo/tanev/checkStatus.php | 33 + .../www/include/modules/naplo/tanev/fogadoOra.php | 142 + .../www/include/modules/naplo/tanev/munkaterv.php | 145 + .../include/modules/naplo/tanev/tankorBlokk.php | 277 + .../include/modules/naplo/tanev/tankorCsoport.php | 164 + .../include/modules/naplo/tanev/targyBontas.php | 240 + .../include/modules/naplo/tanev/targyOraszam.php | 28 + .../modules/naplo/tanev/vegzosOrarendLezaras.php | 33 + .../www/include/modules/naplo/uzeno/uzeno.php | 224 + .../modules/password/base/changePassword.php | 13 + .../www/include/modules/session/accountInfo.php | 48 + .../www/include/modules/session/base/base.php | 19 + .../www/include/modules/session/createAccount.php | 19 + .../www/include/modules/session/createGroup.php | 16 + .../www/include/modules/session/download.php | 108 + .../www/include/modules/session/groupInfo.php | 38 + .../modules/session/search/searchAccount.php | 37 + .../include/modules/session/search/searchGroup.php | 34 + .../www/include/modules/session/sessionAdmin.php | 24 + mayor-orig/www/include/share/auth/base.php | 120 + mayor-orig/www/include/share/date/names.php | 32 + .../share/facebook/Authentication/AccessToken.php | 160 + .../Authentication/AccessTokenMetadata.php | 390 + .../share/facebook/Authentication/OAuth2Client.php | 292 + .../Exceptions/FacebookAuthenticationException.php | 33 + .../Exceptions/FacebookAuthorizationException.php | 33 + .../Exceptions/FacebookClientException.php | 33 + .../facebook/Exceptions/FacebookOtherException.php | 33 + .../Exceptions/FacebookResponseException.php | 214 + .../FacebookResumableUploadException.php | 33 + .../facebook/Exceptions/FacebookSDKException.php | 33 + .../Exceptions/FacebookServerException.php | 33 + .../Exceptions/FacebookThrottleException.php | 33 + mayor-orig/www/include/share/facebook/Facebook.php | 635 + .../www/include/share/facebook/FacebookApp.php | 110 + .../share/facebook/FacebookBatchRequest.php | 322 + .../share/facebook/FacebookBatchResponse.php | 174 + .../www/include/share/facebook/FacebookClient.php | 250 + .../www/include/share/facebook/FacebookRequest.php | 534 + .../include/share/facebook/FacebookResponse.php | 410 + .../share/facebook/FileUpload/FacebookFile.php | 169 + .../FileUpload/FacebookResumableUploader.php | 167 + .../facebook/FileUpload/FacebookTransferChunk.php | 133 + .../share/facebook/FileUpload/FacebookVideo.php | 33 + .../share/facebook/FileUpload/Mimetypes.php | 988 + .../include/share/facebook/GraphNodes/Birthday.php | 85 + .../share/facebook/GraphNodes/Collection.php | 242 + .../share/facebook/GraphNodes/GraphAchievement.php | 112 + .../share/facebook/GraphNodes/GraphAlbum.php | 183 + .../share/facebook/GraphNodes/GraphApplication.php | 43 + .../share/facebook/GraphNodes/GraphCoverPhoto.php | 72 + .../share/facebook/GraphNodes/GraphEdge.php | 252 + .../share/facebook/GraphNodes/GraphEvent.php | 242 + .../share/facebook/GraphNodes/GraphGroup.php | 170 + .../share/facebook/GraphNodes/GraphList.php | 36 + .../share/facebook/GraphNodes/GraphLocation.php | 102 + .../share/facebook/GraphNodes/GraphNode.php | 197 + .../share/facebook/GraphNodes/GraphNodeFactory.php | 392 + .../share/facebook/GraphNodes/GraphObject.php | 36 + .../facebook/GraphNodes/GraphObjectFactory.php | 88 + .../share/facebook/GraphNodes/GraphPage.php | 147 + .../share/facebook/GraphNodes/GraphPicture.php | 72 + .../share/facebook/GraphNodes/GraphSessionInfo.php | 102 + .../share/facebook/GraphNodes/GraphUser.php | 172 + .../facebook/Helpers/FacebookCanvasHelper.php | 52 + .../facebook/Helpers/FacebookJavaScriptHelper.php | 42 + .../facebook/Helpers/FacebookPageTabHelper.php | 95 + .../Helpers/FacebookRedirectLoginHelper.php | 333 + .../FacebookSignedRequestFromInputHelper.php | 166 + .../share/facebook/Http/GraphRawResponse.php | 137 + .../share/facebook/Http/RequestBodyInterface.php | 39 + .../share/facebook/Http/RequestBodyMultipart.php | 170 + .../share/facebook/Http/RequestBodyUrlEncoded.php | 55 + .../share/facebook/HttpClients/FacebookCurl.php | 129 + .../HttpClients/FacebookCurlHttpClient.php | 163 + .../HttpClients/FacebookGuzzleHttpClient.php | 97 + .../HttpClients/FacebookHttpClientInterface.php | 47 + .../share/facebook/HttpClients/FacebookStream.php | 80 + .../HttpClients/FacebookStreamHttpClient.php | 94 + .../facebook/HttpClients/HttpClientsFactory.php | 99 + .../certs/DigiCertHighAssuranceEVRootCA.pem | 23 + .../FacebookMemoryPersistentDataHandler.php | 53 + .../FacebookSessionPersistentDataHandler.php | 76 + .../PersistentData/PersistentDataFactory.php | 65 + .../PersistentData/PersistentDataInterface.php | 49 + .../McryptPseudoRandomStringGenerator.php | 68 + .../OpenSslPseudoRandomStringGenerator.php | 67 + .../PseudoRandomStringGeneratorFactory.php | 101 + .../PseudoRandomStringGeneratorInterface.php | 45 + .../PseudoRandomStringGeneratorTrait.php | 58 + .../RandomBytesPseudoRandomStringGenerator.php | 59 + .../UrandomPseudoRandomStringGenerator.php | 89 + .../www/include/share/facebook/SignedRequest.php | 326 + .../facebook/Url/FacebookUrlDetectionHandler.php | 182 + .../share/facebook/Url/FacebookUrlManipulator.php | 167 + .../share/facebook/Url/UrlDetectionInterface.php | 39 + mayor-orig/www/include/share/facebook/autoload.php | 81 + .../www/include/share/facebook/polyfills.php | 49 + mayor-orig/www/include/share/gd/imagefilter.php | 252 + .../www/include/share/googleapi/autoload.php | 7 + .../share/googleapi/composer/ClassLoader.php | 445 + .../www/include/share/googleapi/composer/LICENSE | 21 + .../share/googleapi/composer/autoload_classmap.php | 35 + .../share/googleapi/composer/autoload_files.php | 13 + .../googleapi/composer/autoload_namespaces.php | 11 + .../share/googleapi/composer/autoload_psr4.php | 19 + .../share/googleapi/composer/autoload_real.php | 70 + .../share/googleapi/composer/autoload_static.php | 140 + .../share/googleapi/composer/installed.json | 707 + .../share/googleapi/firebase/php-jwt/LICENSE | 30 + .../share/googleapi/firebase/php-jwt/README.md | 119 + .../share/googleapi/firebase/php-jwt/composer.json | 27 + .../share/googleapi/firebase/php-jwt/composer.lock | 19 + .../share/googleapi/firebase/php-jwt/package.xml | 77 + .../firebase/php-jwt/src/BeforeValidException.php | 7 + .../firebase/php-jwt/src/ExpiredException.php | 7 + .../share/googleapi/firebase/php-jwt/src/JWT.php | 370 + .../php-jwt/src/SignatureInvalidException.php | 7 + .../googleapi/google/apiclient-services/.gitignore | 4 + .../google/apiclient-services/.travis.yml | 15 + .../google/apiclient-services/CONTRIBUTING.md | 22 + .../googleapi/google/apiclient-services/LICENSE | 203 + .../googleapi/google/apiclient-services/README.md | 30 + .../google/apiclient-services/composer.json | 19 + .../google/apiclient-services/phpunit.xml | 11 + .../Google/Service/Acceleratedmobilepageurl.php | 67 + .../Service/Acceleratedmobilepageurl/AmpUrl.php | 48 + .../Acceleratedmobilepageurl/AmpUrlError.php | 48 + .../BatchGetAmpUrlsRequest.php | 40 + .../BatchGetAmpUrlsResponse.php | 42 + .../Acceleratedmobilepageurl/Resource/AmpUrls.php | 42 + .../src/Google/Service/AdExchangeBuyer.php | 679 + .../src/Google/Service/AdExchangeBuyer/Account.php | 95 + .../AdExchangeBuyer/AccountBidderLocation.php | 57 + .../Service/AdExchangeBuyer/AccountsList.php | 41 + .../AdExchangeBuyer/AddOrderDealsRequest.php | 50 + .../AdExchangeBuyer/AddOrderDealsResponse.php | 41 + .../AdExchangeBuyer/AddOrderNotesRequest.php | 32 + .../AdExchangeBuyer/AddOrderNotesResponse.php | 32 + .../Google/Service/AdExchangeBuyer/BillingInfo.php | 58 + .../Service/AdExchangeBuyer/BillingInfoList.php | 41 + .../src/Google/Service/AdExchangeBuyer/Budget.php | 75 + .../src/Google/Service/AdExchangeBuyer/Buyer.php | 30 + .../Service/AdExchangeBuyer/ContactInformation.php | 39 + .../AdExchangeBuyer/CreateOrdersRequest.php | 41 + .../AdExchangeBuyer/CreateOrdersResponse.php | 32 + .../Google/Service/AdExchangeBuyer/Creative.php | 281 + .../AdExchangeBuyer/CreativeCorrections.php | 50 + .../CreativeCorrectionsContexts.php | 58 + .../Service/AdExchangeBuyer/CreativeDealIds.php | 41 + .../CreativeDealIdsDealStatuses.php | 48 + .../AdExchangeBuyer/CreativeFilteringReasons.php | 41 + .../CreativeFilteringReasonsReasons.php | 39 + .../Service/AdExchangeBuyer/CreativeNativeAd.php | 151 + .../AdExchangeBuyer/CreativeNativeAdAppIcon.php | 48 + .../AdExchangeBuyer/CreativeNativeAdImage.php | 48 + .../AdExchangeBuyer/CreativeNativeAdLogo.php | 48 + .../CreativeServingRestrictions.php | 51 + .../CreativeServingRestrictionsContexts.php | 58 + ...eativeServingRestrictionsDisapprovalReasons.php | 40 + .../Service/AdExchangeBuyer/CreativesList.php | 50 + .../AdExchangeBuyer/DealServingMetadata.php | 40 + .../DealServingMetadataDealPauseStatus.php | 66 + .../Google/Service/AdExchangeBuyer/DealTerms.php | 116 + .../DealTermsGuaranteedFixedPriceTerms.php | 69 + ...alTermsGuaranteedFixedPriceTermsBillingInfo.php | 58 + .../DealTermsNonGuaranteedAuctionTerms.php | 41 + .../DealTermsNonGuaranteedFixedPriceTerms.php | 32 + .../DealTermsRubiconNonGuaranteedTerms.php | 41 + .../AdExchangeBuyer/DeleteOrderDealsRequest.php | 49 + .../AdExchangeBuyer/DeleteOrderDealsResponse.php | 41 + .../Service/AdExchangeBuyer/DeliveryControl.php | 50 + .../DeliveryControlFrequencyCap.php | 48 + .../Google/Service/AdExchangeBuyer/Dimension.php | 41 + .../AdExchangeBuyer/DimensionDimensionValue.php | 48 + .../AdExchangeBuyer/EditAllOrderDealsRequest.php | 60 + .../AdExchangeBuyer/EditAllOrderDealsResponse.php | 41 + .../Service/AdExchangeBuyer/GetOffersResponse.php | 32 + .../AdExchangeBuyer/GetOrderDealsResponse.php | 32 + .../AdExchangeBuyer/GetOrderNotesResponse.php | 32 + .../Service/AdExchangeBuyer/GetOrdersResponse.php | 32 + .../GetPublisherProfilesByAccountIdResponse.php | 32 + .../Service/AdExchangeBuyer/MarketplaceDeal.php | 244 + .../AdExchangeBuyer/MarketplaceDealParty.php | 41 + .../Service/AdExchangeBuyer/MarketplaceLabel.php | 58 + .../Service/AdExchangeBuyer/MarketplaceNote.php | 93 + .../Service/AdExchangeBuyer/PerformanceReport.php | 220 + .../AdExchangeBuyer/PerformanceReportList.php | 41 + .../Service/AdExchangeBuyer/PretargetingConfig.php | 260 + .../PretargetingConfigDimensions.php | 39 + .../PretargetingConfigExcludedPlacements.php | 39 + .../AdExchangeBuyer/PretargetingConfigList.php | 41 + .../PretargetingConfigPlacements.php | 39 + .../PretargetingConfigVideoPlayerSizes.php | 48 + .../src/Google/Service/AdExchangeBuyer/Price.php | 57 + .../Service/AdExchangeBuyer/PricePerBuyer.php | 50 + .../Google/Service/AdExchangeBuyer/PrivateData.php | 39 + .../src/Google/Service/AdExchangeBuyer/Product.php | 245 + .../Google/Service/AdExchangeBuyer/Proposal.php | 236 + .../AdExchangeBuyer/PublisherProfileApiProto.php | 231 + .../AdExchangeBuyer/PublisherProvidedForecast.php | 50 + .../Service/AdExchangeBuyer/Resource/Accounts.php | 88 + .../AdExchangeBuyer/Resource/BillingInfo.php | 55 + .../Service/AdExchangeBuyer/Resource/Budget.php | 81 + .../Service/AdExchangeBuyer/Resource/Creatives.php | 127 + .../AdExchangeBuyer/Resource/Marketplacedeals.php | 88 + .../AdExchangeBuyer/Resource/Marketplacenotes.php | 61 + .../Resource/Marketplaceprivateauction.php | 42 + .../AdExchangeBuyer/Resource/PerformanceReport.php | 52 + .../Resource/PretargetingConfig.php | 118 + .../Service/AdExchangeBuyer/Resource/Products.php | 55 + .../Service/AdExchangeBuyer/Resource/Proposals.php | 122 + .../AdExchangeBuyer/Resource/Pubprofiles.php | 42 + .../src/Google/Service/AdExchangeBuyer/Seller.php | 39 + .../Service/AdExchangeBuyer/SharedTargeting.php | 51 + .../Service/AdExchangeBuyer/TargetingValue.php | 59 + .../AdExchangeBuyer/TargetingValueCreativeSize.php | 60 + .../TargetingValueDayPartTargeting.php | 41 + .../TargetingValueDayPartTargetingDayPart.php | 66 + .../Service/AdExchangeBuyer/TargetingValueSize.php | 39 + .../UpdatePrivateAuctionProposalRequest.php | 58 + .../src/Google/Service/AdExchangeBuyerII.php | 441 + .../AddDealAssociationRequest.php | 31 + .../AdExchangeBuyerII/Adexchangebuyer2Empty.php | 20 + .../Service/AdExchangeBuyerII/AppContext.php | 31 + .../Service/AdExchangeBuyerII/AuctionContext.php | 31 + .../Google/Service/AdExchangeBuyerII/Client.php | 93 + .../Service/AdExchangeBuyerII/ClientUser.php | 57 + .../AdExchangeBuyerII/ClientUserInvitation.php | 48 + .../Service/AdExchangeBuyerII/Correction.php | 50 + .../Google/Service/AdExchangeBuyerII/Creative.php | 253 + .../AdExchangeBuyerII/CreativeDealAssociation.php | 48 + .../src/Google/Service/AdExchangeBuyerII/Date.php | 48 + .../Service/AdExchangeBuyerII/Disapproval.php | 40 + .../Service/AdExchangeBuyerII/FilteringStats.php | 42 + .../Service/AdExchangeBuyerII/HtmlContent.php | 48 + .../src/Google/Service/AdExchangeBuyerII/Image.php | 48 + .../ListClientUserInvitationsResponse.php | 41 + .../AdExchangeBuyerII/ListClientUsersResponse.php | 41 + .../AdExchangeBuyerII/ListClientsResponse.php | 41 + .../AdExchangeBuyerII/ListCreativesResponse.php | 41 + .../ListDealAssociationsResponse.php | 41 + .../Service/AdExchangeBuyerII/LocationContext.php | 31 + .../Service/AdExchangeBuyerII/NativeContent.php | 141 + .../Service/AdExchangeBuyerII/PlatformContext.php | 31 + .../Google/Service/AdExchangeBuyerII/Reason.php | 39 + .../RemoveDealAssociationRequest.php | 31 + .../AdExchangeBuyerII/Resource/Accounts.php | 28 + .../AdExchangeBuyerII/Resource/AccountsClients.php | 101 + .../Resource/AccountsClientsInvitations.php | 90 + .../Resource/AccountsClientsUsers.php | 93 + .../Resource/AccountsCreatives.php | 151 + .../Resource/AccountsCreativesDealAssociations.php | 94 + .../Service/AdExchangeBuyerII/SecurityContext.php | 31 + .../Service/AdExchangeBuyerII/ServingContext.php | 80 + .../AdExchangeBuyerII/ServingRestriction.php | 51 + .../StopWatchingCreativeRequest.php | 20 + .../Service/AdExchangeBuyerII/VideoContent.php | 30 + .../AdExchangeBuyerII/WatchCreativeRequest.php | 30 + .../src/Google/Service/AdExchangeSeller.php | 428 + .../Google/Service/AdExchangeSeller/Account.php | 48 + .../Google/Service/AdExchangeSeller/Accounts.php | 59 + .../Google/Service/AdExchangeSeller/AdClient.php | 66 + .../Google/Service/AdExchangeSeller/AdClients.php | 59 + .../src/Google/Service/AdExchangeSeller/Alert.php | 66 + .../src/Google/Service/AdExchangeSeller/Alerts.php | 41 + .../Service/AdExchangeSeller/CustomChannel.php | 67 + .../CustomChannelTargetingInfo.php | 57 + .../Service/AdExchangeSeller/CustomChannels.php | 59 + .../Google/Service/AdExchangeSeller/Metadata.php | 41 + .../Service/AdExchangeSeller/PreferredDeal.php | 93 + .../Service/AdExchangeSeller/PreferredDeals.php | 41 + .../src/Google/Service/AdExchangeSeller/Report.php | 86 + .../Service/AdExchangeSeller/ReportHeaders.php | 48 + .../AdExchangeSeller/ReportingMetadataEntry.php | 85 + .../Service/AdExchangeSeller/Resource/Accounts.php | 61 + .../Resource/AccountsAdclients.php | 48 + .../AdExchangeSeller/Resource/AccountsAlerts.php | 45 + .../Resource/AccountsCustomchannels.php | 65 + .../AdExchangeSeller/Resource/AccountsMetadata.php | 28 + .../Resource/AccountsMetadataDimensions.php | 42 + .../Resource/AccountsMetadataMetrics.php | 42 + .../Resource/AccountsPreferreddeals.php | 57 + .../AdExchangeSeller/Resource/AccountsReports.php | 59 + .../Resource/AccountsReportsSaved.php | 69 + .../Resource/AccountsUrlchannels.php | 49 + .../Service/AdExchangeSeller/SavedReport.php | 48 + .../Service/AdExchangeSeller/SavedReports.php | 59 + .../Google/Service/AdExchangeSeller/UrlChannel.php | 48 + .../Service/AdExchangeSeller/UrlChannels.php | 59 + .../src/Google/Service/AdSense.php | 1060 + .../src/Google/Service/AdSense/Account.php | 89 + .../src/Google/Service/AdSense/Accounts.php | 59 + .../src/Google/Service/AdSense/AdClient.php | 66 + .../src/Google/Service/AdSense/AdClients.php | 59 + .../src/Google/Service/AdSense/AdCode.php | 39 + .../src/Google/Service/AdSense/AdStyle.php | 59 + .../src/Google/Service/AdSense/AdStyleColors.php | 66 + .../src/Google/Service/AdSense/AdStyleFont.php | 39 + .../src/Google/Service/AdSense/AdUnit.php | 115 + .../Service/AdSense/AdUnitContentAdsSettings.php | 49 + .../AdUnitContentAdsSettingsBackupOption.php | 48 + .../Service/AdSense/AdUnitFeedAdsSettings.php | 57 + .../AdSense/AdUnitMobileContentAdsSettings.php | 57 + .../src/Google/Service/AdSense/AdUnits.php | 59 + .../AdSense/AdsenseReportsGenerateResponse.php | 104 + .../AdsenseReportsGenerateResponseHeaders.php | 48 + .../src/Google/Service/AdSense/Alert.php | 75 + .../src/Google/Service/AdSense/Alerts.php | 41 + .../src/Google/Service/AdSense/CustomChannel.php | 67 + .../Service/AdSense/CustomChannelTargetingInfo.php | 57 + .../src/Google/Service/AdSense/CustomChannels.php | 59 + .../src/Google/Service/AdSense/Metadata.php | 41 + .../src/Google/Service/AdSense/Payment.php | 66 + .../src/Google/Service/AdSense/Payments.php | 41 + .../Service/AdSense/ReportingMetadataEntry.php | 85 + .../Google/Service/AdSense/Resource/Accounts.php | 61 + .../Service/AdSense/Resource/AccountsAdclients.php | 48 + .../Service/AdSense/Resource/AccountsAdunits.php | 82 + .../Resource/AccountsAdunitsCustomchannels.php | 50 + .../Service/AdSense/Resource/AccountsAlerts.php | 60 + .../AdSense/Resource/AccountsCustomchannels.php | 65 + .../Resource/AccountsCustomchannelsAdunits.php | 52 + .../Service/AdSense/Resource/AccountsPayments.php | 42 + .../Service/AdSense/Resource/AccountsReports.php | 64 + .../AdSense/Resource/AccountsReportsSaved.php | 69 + .../AdSense/Resource/AccountsSavedadstyles.php | 62 + .../AdSense/Resource/AccountsUrlchannels.php | 49 + .../Google/Service/AdSense/Resource/Adclients.php | 46 + .../Google/Service/AdSense/Resource/Adunits.php | 78 + .../AdSense/Resource/AdunitsCustomchannels.php | 49 + .../src/Google/Service/AdSense/Resource/Alerts.php | 57 + .../Service/AdSense/Resource/Customchannels.php | 63 + .../AdSense/Resource/CustomchannelsAdunits.php | 51 + .../Google/Service/AdSense/Resource/Metadata.php | 28 + .../AdSense/Resource/MetadataDimensions.php | 41 + .../Service/AdSense/Resource/MetadataMetrics.php | 41 + .../Google/Service/AdSense/Resource/Payments.php | 40 + .../Google/Service/AdSense/Resource/Reports.php | 64 + .../Service/AdSense/Resource/ReportsSaved.php | 66 + .../Service/AdSense/Resource/Savedadstyles.php | 60 + .../Service/AdSense/Resource/Urlchannels.php | 48 + .../src/Google/Service/AdSense/SavedAdStyle.php | 58 + .../src/Google/Service/AdSense/SavedAdStyles.php | 59 + .../src/Google/Service/AdSense/SavedReport.php | 48 + .../src/Google/Service/AdSense/SavedReports.php | 59 + .../src/Google/Service/AdSense/UrlChannel.php | 48 + .../src/Google/Service/AdSense/UrlChannels.php | 59 + .../src/Google/Service/AdSenseHost.php | 630 + .../src/Google/Service/AdSenseHost/Account.php | 57 + .../src/Google/Service/AdSenseHost/Accounts.php | 50 + .../src/Google/Service/AdSenseHost/AdClient.php | 66 + .../src/Google/Service/AdSenseHost/AdClients.php | 59 + .../src/Google/Service/AdSenseHost/AdCode.php | 39 + .../src/Google/Service/AdSenseHost/AdStyle.php | 59 + .../Google/Service/AdSenseHost/AdStyleColors.php | 66 + .../src/Google/Service/AdSenseHost/AdStyleFont.php | 39 + .../src/Google/Service/AdSenseHost/AdUnit.php | 96 + .../AdSenseHost/AdUnitContentAdsSettings.php | 49 + .../AdUnitContentAdsSettingsBackupOption.php | 48 + .../AdSenseHost/AdUnitMobileContentAdsSettings.php | 57 + .../src/Google/Service/AdSenseHost/AdUnits.php | 59 + .../Service/AdSenseHost/AssociationSession.php | 103 + .../Google/Service/AdSenseHost/CustomChannel.php | 57 + .../Google/Service/AdSenseHost/CustomChannels.php | 59 + .../src/Google/Service/AdSenseHost/Report.php | 86 + .../Google/Service/AdSenseHost/ReportHeaders.php | 48 + .../Service/AdSenseHost/Resource/Accounts.php | 55 + .../AdSenseHost/Resource/AccountsAdclients.php | 63 + .../AdSenseHost/Resource/AccountsAdunits.php | 150 + .../AdSenseHost/Resource/AccountsReports.php | 59 + .../Service/AdSenseHost/Resource/Adclients.php | 60 + .../AdSenseHost/Resource/Associationsessions.php | 60 + .../AdSenseHost/Resource/Customchannels.php | 125 + .../Service/AdSenseHost/Resource/Reports.php | 58 + .../Service/AdSenseHost/Resource/Urlchannels.php | 77 + .../src/Google/Service/AdSenseHost/UrlChannel.php | 48 + .../src/Google/Service/AdSenseHost/UrlChannels.php | 59 + .../src/Google/Service/Analytics.php | 2103 + .../src/Google/Service/Analytics/Account.php | 104 + .../Google/Service/Analytics/AccountChildLink.php | 39 + .../Service/Analytics/AccountPermissions.php | 31 + .../src/Google/Service/Analytics/AccountRef.php | 57 + .../Google/Service/Analytics/AccountSummaries.php | 95 + .../Google/Service/Analytics/AccountSummary.php | 68 + .../src/Google/Service/Analytics/AccountTicket.php | 78 + .../src/Google/Service/Analytics/Accounts.php | 95 + .../Google/Service/Analytics/AdWordsAccount.php | 48 + .../AnalyticsDataimportDeleteUploadDataRequest.php | 31 + .../src/Google/Service/Analytics/Column.php | 48 + .../src/Google/Service/Analytics/Columns.php | 68 + .../Google/Service/Analytics/CustomDataSource.php | 159 + .../Analytics/CustomDataSourceChildLink.php | 39 + .../Analytics/CustomDataSourceParentLink.php | 39 + .../Google/Service/Analytics/CustomDataSources.php | 95 + .../Google/Service/Analytics/CustomDimension.php | 130 + .../Analytics/CustomDimensionParentLink.php | 39 + .../Google/Service/Analytics/CustomDimensions.php | 95 + .../src/Google/Service/Analytics/CustomMetric.php | 161 + .../Service/Analytics/CustomMetricParentLink.php | 39 + .../src/Google/Service/Analytics/CustomMetrics.php | 95 + .../Google/Service/Analytics/EntityAdWordsLink.php | 87 + .../Service/Analytics/EntityAdWordsLinkEntity.php | 31 + .../Service/Analytics/EntityAdWordsLinks.php | 86 + .../Google/Service/Analytics/EntityUserLink.php | 78 + .../Service/Analytics/EntityUserLinkEntity.php | 51 + .../Analytics/EntityUserLinkPermissions.php | 40 + .../Google/Service/Analytics/EntityUserLinks.php | 86 + .../src/Google/Service/Analytics/Experiment.php | 276 + .../Service/Analytics/ExperimentParentLink.php | 39 + .../Service/Analytics/ExperimentVariations.php | 66 + .../src/Google/Service/Analytics/Experiments.php | 95 + .../src/Google/Service/Analytics/Filter.php | 163 + .../Service/Analytics/FilterAdvancedDetails.php | 138 + .../Google/Service/Analytics/FilterExpression.php | 75 + .../Service/Analytics/FilterLowercaseDetails.php | 39 + .../Google/Service/Analytics/FilterParentLink.php | 39 + .../src/Google/Service/Analytics/FilterRef.php | 66 + .../Analytics/FilterSearchAndReplaceDetails.php | 66 + .../Service/Analytics/FilterUppercaseDetails.php | 39 + .../src/Google/Service/Analytics/Filters.php | 95 + .../src/Google/Service/Analytics/GaData.php | 179 + .../Service/Analytics/GaDataColumnHeaders.php | 48 + .../Google/Service/Analytics/GaDataDataTable.php | 42 + .../Service/Analytics/GaDataDataTableCols.php | 48 + .../Service/Analytics/GaDataDataTableRows.php | 32 + .../Service/Analytics/GaDataDataTableRowsC.php | 30 + .../Google/Service/Analytics/GaDataProfileInfo.php | 75 + .../src/Google/Service/Analytics/GaDataQuery.php | 127 + .../src/Google/Service/Analytics/Goal.php | 188 + .../Google/Service/Analytics/GoalEventDetails.php | 41 + .../Analytics/GoalEventDetailsEventConditions.php | 66 + .../Google/Service/Analytics/GoalParentLink.php | 39 + .../Analytics/GoalUrlDestinationDetails.php | 68 + .../Analytics/GoalUrlDestinationDetailsSteps.php | 48 + .../Service/Analytics/GoalVisitNumPagesDetails.php | 39 + .../Analytics/GoalVisitTimeOnSiteDetails.php | 39 + .../src/Google/Service/Analytics/Goals.php | 95 + .../Google/Service/Analytics/IncludeConditions.php | 66 + .../Service/Analytics/LinkedForeignAccount.php | 111 + .../src/Google/Service/Analytics/McfData.php | 161 + .../Service/Analytics/McfDataColumnHeaders.php | 48 + .../Service/Analytics/McfDataProfileInfo.php | 75 + .../src/Google/Service/Analytics/McfDataQuery.php | 127 + .../src/Google/Service/Analytics/McfDataRows.php | 41 + .../Analytics/McfDataRowsConversionPathValue.php | 39 + .../src/Google/Service/Analytics/Profile.php | 258 + .../Google/Service/Analytics/ProfileChildLink.php | 39 + .../Google/Service/Analytics/ProfileFilterLink.php | 77 + .../Service/Analytics/ProfileFilterLinks.php | 95 + .../Google/Service/Analytics/ProfileParentLink.php | 39 + .../Service/Analytics/ProfilePermissions.php | 31 + .../src/Google/Service/Analytics/ProfileRef.php | 84 + .../Google/Service/Analytics/ProfileSummary.php | 66 + .../src/Google/Service/Analytics/Profiles.php | 95 + .../src/Google/Service/Analytics/RealtimeData.php | 106 + .../Analytics/RealtimeDataColumnHeaders.php | 48 + .../Service/Analytics/RealtimeDataProfileInfo.php | 75 + .../Google/Service/Analytics/RealtimeDataQuery.php | 79 + .../Service/Analytics/RemarketingAudience.php | 151 + .../RemarketingAudienceAudienceDefinition.php | 31 + ...rketingAudienceStateBasedAudienceDefinition.php | 41 + ...ateBasedAudienceDefinitionExcludeConditions.php | 39 + .../Service/Analytics/RemarketingAudiences.php | 95 + .../src/Google/Service/Analytics/Resource/Data.php | 28 + .../Google/Service/Analytics/Resource/DataGa.php | 67 + .../Google/Service/Analytics/Resource/DataMcf.php | 63 + .../Service/Analytics/Resource/DataRealtime.php | 53 + .../Service/Analytics/Resource/Management.php | 28 + .../Resource/ManagementAccountSummaries.php | 47 + .../Resource/ManagementAccountUserLinks.php | 91 + .../Analytics/Resource/ManagementAccounts.php | 47 + .../Resource/ManagementCustomDataSources.php | 50 + .../Resource/ManagementCustomDimensions.php | 126 + .../Analytics/Resource/ManagementCustomMetrics.php | 124 + .../Analytics/Resource/ManagementExperiments.php | 132 + .../Analytics/Resource/ManagementFilters.php | 119 + .../Service/Analytics/Resource/ManagementGoals.php | 120 + .../Resource/ManagementProfileFilterLinks.php | 140 + .../Resource/ManagementProfileUserLinks.php | 104 + .../Analytics/Resource/ManagementProfiles.php | 135 + .../Resource/ManagementRemarketingAudience.php | 126 + .../Analytics/Resource/ManagementSegments.php | 47 + .../Resource/ManagementUnsampledReports.php | 105 + .../Analytics/Resource/ManagementUploads.php | 100 + .../Resource/ManagementWebPropertyAdWordsLinks.php | 138 + .../Analytics/Resource/ManagementWebproperties.php | 110 + .../Resource/ManagementWebpropertyUserLinks.php | 98 + .../Google/Service/Analytics/Resource/Metadata.php | 28 + .../Service/Analytics/Resource/MetadataColumns.php | 42 + .../Service/Analytics/Resource/Provisioning.php | 41 + .../src/Google/Service/Analytics/Segment.php | 102 + .../src/Google/Service/Analytics/Segments.php | 95 + .../Google/Service/Analytics/UnsampledReport.php | 198 + .../UnsampledReportCloudStorageDownloadDetails.php | 39 + .../UnsampledReportDriveDownloadDetails.php | 30 + .../Google/Service/Analytics/UnsampledReports.php | 95 + .../src/Google/Service/Analytics/Upload.php | 76 + .../src/Google/Service/Analytics/Uploads.php | 86 + .../src/Google/Service/Analytics/UserRef.php | 48 + .../Google/Service/Analytics/WebPropertyRef.php | 75 + .../Service/Analytics/WebPropertySummary.php | 95 + .../src/Google/Service/Analytics/Webproperties.php | 95 + .../src/Google/Service/Analytics/Webproperty.php | 177 + .../Service/Analytics/WebpropertyChildLink.php | 39 + .../Service/Analytics/WebpropertyParentLink.php | 39 + .../Service/Analytics/WebpropertyPermissions.php | 31 + .../src/Google/Service/AnalyticsReporting.php | 70 + .../Google/Service/AnalyticsReporting/Cohort.php | 49 + .../Service/AnalyticsReporting/CohortGroup.php | 41 + .../Service/AnalyticsReporting/ColumnHeader.php | 41 + .../Service/AnalyticsReporting/DateRange.php | 39 + .../Service/AnalyticsReporting/DateRangeValues.php | 41 + .../Service/AnalyticsReporting/Dimension.php | 40 + .../Service/AnalyticsReporting/DimensionFilter.php | 67 + .../AnalyticsReporting/DimensionFilterClause.php | 41 + .../Service/AnalyticsReporting/DynamicSegment.php | 50 + .../AnalyticsReporting/GetReportsRequest.php | 32 + .../AnalyticsReporting/GetReportsResponse.php | 32 + .../Google/Service/AnalyticsReporting/Metric.php | 48 + .../Service/AnalyticsReporting/MetricFilter.php | 57 + .../AnalyticsReporting/MetricFilterClause.php | 41 + .../Service/AnalyticsReporting/MetricHeader.php | 42 + .../AnalyticsReporting/MetricHeaderEntry.php | 39 + .../AnalyticsReporting/OrFiltersForSegment.php | 32 + .../Google/Service/AnalyticsReporting/OrderBy.php | 48 + .../Google/Service/AnalyticsReporting/Pivot.php | 70 + .../Service/AnalyticsReporting/PivotHeader.php | 41 + .../AnalyticsReporting/PivotHeaderEntry.php | 50 + .../AnalyticsReporting/PivotValueRegion.php | 31 + .../Google/Service/AnalyticsReporting/Report.php | 50 + .../Service/AnalyticsReporting/ReportData.php | 107 + .../Service/AnalyticsReporting/ReportRequest.php | 184 + .../Service/AnalyticsReporting/ReportRow.php | 41 + .../AnalyticsReporting/Resource/Reports.php | 41 + .../Google/Service/AnalyticsReporting/Segment.php | 40 + .../AnalyticsReporting/SegmentDefinition.php | 32 + .../AnalyticsReporting/SegmentDimensionFilter.php | 76 + .../Service/AnalyticsReporting/SegmentFilter.php | 50 + .../AnalyticsReporting/SegmentFilterClause.php | 50 + .../AnalyticsReporting/SegmentMetricFilter.php | 66 + .../AnalyticsReporting/SegmentSequenceStep.php | 41 + .../Service/AnalyticsReporting/SequenceSegment.php | 41 + .../Service/AnalyticsReporting/SimpleSegment.php | 32 + .../src/Google/Service/AndroidEnterprise.php | 1454 + .../Service/AndroidEnterprise/Administrator.php | 30 + .../AndroidEnterprise/AdministratorWebToken.php | 39 + .../AdministratorWebTokenSpec.php | 49 + .../AndroidEnterprise/AppRestrictionsSchema.php | 41 + .../AppRestrictionsSchemaChangeEvent.php | 30 + .../AppRestrictionsSchemaRestriction.php | 96 + ...strictionsSchemaRestrictionRestrictionValue.php | 67 + .../Service/AndroidEnterprise/AppUpdateEvent.php | 30 + .../Service/AndroidEnterprise/AppVersion.php | 39 + .../Service/AndroidEnterprise/ApprovalUrlInfo.php | 39 + .../AndroidEnterprise/AuthenticationToken.php | 39 + .../Service/AndroidEnterprise/Collection.php | 67 + .../CollectionViewersListResponse.php | 41 + .../AndroidEnterprise/CollectionsListResponse.php | 41 + .../Google/Service/AndroidEnterprise/Device.php | 48 + .../Service/AndroidEnterprise/DeviceState.php | 39 + .../AndroidEnterprise/DevicesListResponse.php | 41 + .../Service/AndroidEnterprise/Enterprise.php | 68 + .../AndroidEnterprise/EnterpriseAccount.php | 39 + .../AndroidEnterprise/EnterprisesListResponse.php | 41 + ...EnterprisesSendTestPushNotificationResponse.php | 39 + .../Service/AndroidEnterprise/Entitlement.php | 48 + .../AndroidEnterprise/EntitlementsListResponse.php | 41 + .../Service/AndroidEnterprise/GroupLicense.php | 75 + .../GroupLicenseUsersListResponse.php | 41 + .../GroupLicensesListResponse.php | 41 + .../Google/Service/AndroidEnterprise/Install.php | 57 + .../AndroidEnterprise/InstallFailureEvent.php | 66 + .../AndroidEnterprise/InstallsListResponse.php | 41 + .../Service/AndroidEnterprise/LocalizedText.php | 39 + .../AndroidEnterprise/ManagedConfiguration.php | 50 + .../ManagedConfigurationsForDeviceListResponse.php | 41 + .../ManagedConfigurationsForUserListResponse.php | 41 + .../Service/AndroidEnterprise/ManagedProperty.php | 87 + .../AndroidEnterprise/ManagedPropertyBundle.php | 32 + .../Service/AndroidEnterprise/NewDeviceEvent.php | 48 + .../AndroidEnterprise/NewPermissionsEvent.php | 49 + .../Service/AndroidEnterprise/Notification.php | 109 + .../Service/AndroidEnterprise/NotificationSet.php | 50 + .../Google/Service/AndroidEnterprise/PageInfo.php | 48 + .../Service/AndroidEnterprise/Permission.php | 57 + .../Google/Service/AndroidEnterprise/Product.php | 131 + .../AndroidEnterprise/ProductApprovalEvent.php | 39 + .../ProductAvailabilityChangeEvent.php | 39 + .../AndroidEnterprise/ProductPermission.php | 39 + .../AndroidEnterprise/ProductPermissions.php | 50 + .../Service/AndroidEnterprise/ProductSet.php | 49 + .../AndroidEnterprise/ProductsApproveRequest.php | 31 + .../ProductsGenerateApprovalUrlResponse.php | 30 + .../AndroidEnterprise/ProductsListResponse.php | 61 + .../AndroidEnterprise/Resource/Collections.php | 114 + .../Resource/Collectionviewers.php | 115 + .../Service/AndroidEnterprise/Resource/Devices.php | 96 + .../AndroidEnterprise/Resource/Enterprises.php | 317 + .../AndroidEnterprise/Resource/Entitlements.php | 119 + .../AndroidEnterprise/Resource/Grouplicenses.php | 58 + .../Resource/Grouplicenseusers.php | 44 + .../AndroidEnterprise/Resource/Installs.php | 119 + .../Resource/Managedconfigurationsfordevice.php | 119 + .../Resource/Managedconfigurationsforuser.php | 114 + .../AndroidEnterprise/Resource/Permissions.php | 45 + .../AndroidEnterprise/Resource/Products.php | 175 + .../Resource/Serviceaccountkeys.php | 82 + .../Resource/Storelayoutclusters.php | 120 + .../Resource/Storelayoutpages.php | 114 + .../Service/AndroidEnterprise/Resource/Users.php | 215 + .../Service/AndroidEnterprise/ServiceAccount.php | 49 + .../AndroidEnterprise/ServiceAccountKey.php | 66 + .../ServiceAccountKeysListResponse.php | 32 + .../Service/AndroidEnterprise/SignupInfo.php | 48 + .../Service/AndroidEnterprise/StoreCluster.php | 68 + .../Service/AndroidEnterprise/StoreLayout.php | 48 + .../StoreLayoutClustersListResponse.php | 41 + .../StoreLayoutPagesListResponse.php | 41 + .../Google/Service/AndroidEnterprise/StorePage.php | 59 + .../Service/AndroidEnterprise/TokenPagination.php | 39 + .../src/Google/Service/AndroidEnterprise/User.php | 84 + .../Google/Service/AndroidEnterprise/UserToken.php | 48 + .../AndroidEnterprise/UsersListResponse.php | 41 + .../src/Google/Service/AndroidPublisher.php | 1347 + .../src/Google/Service/AndroidPublisher/Apk.php | 40 + .../Google/Service/AndroidPublisher/ApkBinary.php | 30 + .../Google/Service/AndroidPublisher/ApkListing.php | 39 + .../AndroidPublisher/ApkListingsListResponse.php | 41 + .../ApksAddExternallyHostedRequest.php | 31 + .../ApksAddExternallyHostedResponse.php | 31 + .../Service/AndroidPublisher/ApksListResponse.php | 41 + .../Google/Service/AndroidPublisher/AppDetails.php | 57 + .../Google/Service/AndroidPublisher/AppEdit.php | 39 + .../Google/Service/AndroidPublisher/Comment.php | 41 + .../Service/AndroidPublisher/DeobfuscationFile.php | 30 + .../DeobfuscationFilesUploadResponse.php | 31 + .../Service/AndroidPublisher/DeveloperComment.php | 40 + .../Service/AndroidPublisher/DeviceMetadata.php | 120 + .../Service/AndroidPublisher/Entitlement.php | 57 + .../AndroidPublisher/EntitlementsListResponse.php | 52 + .../Service/AndroidPublisher/ExpansionFile.php | 39 + .../ExpansionFilesUploadResponse.php | 31 + .../AndroidPublisher/ExternallyHostedApk.php | 158 + .../ExternallyHostedApkUsesPermission.php | 39 + .../src/Google/Service/AndroidPublisher/Image.php | 48 + .../AndroidPublisher/ImagesDeleteAllResponse.php | 32 + .../AndroidPublisher/ImagesListResponse.php | 32 + .../AndroidPublisher/ImagesUploadResponse.php | 31 + .../Service/AndroidPublisher/InAppProduct.php | 124 + .../AndroidPublisher/InAppProductListing.php | 39 + .../AndroidPublisher/InappproductsBatchRequest.php | 32 + .../InappproductsBatchRequestEntry.php | 59 + .../InappproductsBatchResponse.php | 41 + .../InappproductsBatchResponseEntry.php | 50 + .../InappproductsInsertRequest.php | 31 + .../InappproductsInsertResponse.php | 31 + .../AndroidPublisher/InappproductsListResponse.php | 61 + .../InappproductsUpdateRequest.php | 31 + .../InappproductsUpdateResponse.php | 31 + .../Google/Service/AndroidPublisher/Listing.php | 66 + .../AndroidPublisher/ListingsListResponse.php | 41 + .../Google/Service/AndroidPublisher/MonthDay.php | 39 + .../Google/Service/AndroidPublisher/PageInfo.php | 48 + .../src/Google/Service/AndroidPublisher/Price.php | 39 + .../Service/AndroidPublisher/ProductPurchase.php | 66 + .../Google/Service/AndroidPublisher/Prorate.php | 41 + .../Service/AndroidPublisher/Resource/Edits.php | 107 + .../AndroidPublisher/Resource/EditsApklistings.php | 148 + .../AndroidPublisher/Resource/EditsApks.php | 77 + .../Resource/EditsDeobfuscationfiles.php | 47 + .../AndroidPublisher/Resource/EditsDetails.php | 77 + .../Resource/EditsExpansionfiles.php | 108 + .../AndroidPublisher/Resource/EditsImages.php | 108 + .../AndroidPublisher/Resource/EditsListings.php | 132 + .../AndroidPublisher/Resource/EditsTesters.php | 78 + .../AndroidPublisher/Resource/EditsTracks.php | 99 + .../AndroidPublisher/Resource/Entitlements.php | 49 + .../AndroidPublisher/Resource/Inappproducts.php | 151 + .../AndroidPublisher/Resource/Purchases.php | 28 + .../Resource/PurchasesProducts.php | 46 + .../Resource/PurchasesSubscriptions.php | 123 + .../Resource/PurchasesVoidedpurchases.php | 55 + .../Service/AndroidPublisher/Resource/Reviews.php | 81 + .../src/Google/Service/AndroidPublisher/Review.php | 50 + .../Service/AndroidPublisher/ReviewReplyResult.php | 40 + .../AndroidPublisher/ReviewsListResponse.php | 52 + .../AndroidPublisher/ReviewsReplyRequest.php | 30 + .../AndroidPublisher/ReviewsReplyResponse.php | 31 + .../src/Google/Service/AndroidPublisher/Season.php | 52 + .../AndroidPublisher/SubscriptionDeferralInfo.php | 39 + .../AndroidPublisher/SubscriptionPurchase.php | 120 + .../SubscriptionPurchasesDeferRequest.php | 31 + .../SubscriptionPurchasesDeferResponse.php | 30 + .../Google/Service/AndroidPublisher/Testers.php | 40 + .../Google/Service/AndroidPublisher/Timestamp.php | 39 + .../Service/AndroidPublisher/TokenPagination.php | 39 + .../src/Google/Service/AndroidPublisher/Track.php | 49 + .../AndroidPublisher/TracksListResponse.php | 41 + .../Service/AndroidPublisher/UserComment.php | 131 + .../Service/AndroidPublisher/VoidedPurchase.php | 57 + .../VoidedPurchasesListResponse.php | 52 + .../src/Google/Service/AppState.php | 120 + .../src/Google/Service/AppState/GetResponse.php | 57 + .../src/Google/Service/AppState/ListResponse.php | 50 + .../Google/Service/AppState/Resource/States.php | 113 + .../src/Google/Service/AppState/UpdateRequest.php | 39 + .../src/Google/Service/AppState/WriteResult.php | 48 + .../src/Google/Service/Appengine.php | 520 + .../Google/Service/Appengine/ApiConfigHandler.php | 66 + .../Service/Appengine/ApiEndpointHandler.php | 30 + .../src/Google/Service/Appengine/Application.php | 104 + .../Google/Service/Appengine/AutomaticScaling.php | 133 + .../src/Google/Service/Appengine/BasicScaling.php | 39 + .../src/Google/Service/Appengine/ContainerInfo.php | 30 + .../Google/Service/Appengine/CpuUtilization.php | 39 + .../Service/Appengine/DebugInstanceRequest.php | 30 + .../src/Google/Service/Appengine/Deployment.php | 51 + .../Google/Service/Appengine/DiskUtilization.php | 57 + .../Service/Appengine/EndpointsApiService.php | 39 + .../src/Google/Service/Appengine/ErrorHandler.php | 48 + .../src/Google/Service/Appengine/FileInfo.php | 48 + .../src/Google/Service/Appengine/HealthCheck.php | 84 + .../src/Google/Service/Appengine/Instance.php | 165 + .../src/Google/Service/Appengine/Library.php | 39 + .../Service/Appengine/ListInstancesResponse.php | 41 + .../Service/Appengine/ListLocationsResponse.php | 41 + .../Service/Appengine/ListOperationsResponse.php | 41 + .../Service/Appengine/ListServicesResponse.php | 41 + .../Service/Appengine/ListVersionsResponse.php | 41 + .../src/Google/Service/Appengine/Location.php | 57 + .../Google/Service/Appengine/LocationMetadata.php | 39 + .../src/Google/Service/Appengine/ManualScaling.php | 30 + .../src/Google/Service/Appengine/Network.php | 58 + .../Service/Appengine/NetworkUtilization.php | 57 + .../src/Google/Service/Appengine/Operation.php | 67 + .../Google/Service/Appengine/OperationMetadata.php | 75 + .../Appengine/OperationMetadataExperimental.php | 66 + .../Service/Appengine/OperationMetadataV1.php | 85 + .../Service/Appengine/OperationMetadataV1Beta5.php | 66 + .../Service/Appengine/RepairApplicationRequest.php | 20 + .../Service/Appengine/RequestUtilization.php | 39 + .../src/Google/Service/Appengine/Resource/Apps.php | 101 + .../Service/Appengine/Resource/AppsLocations.php | 61 + .../Service/Appengine/Resource/AppsOperations.php | 65 + .../Service/Appengine/Resource/AppsServices.php | 109 + .../Appengine/Resource/AppsServicesVersions.php | 138 + .../Resource/AppsServicesVersionsInstances.php | 106 + .../Service/Appengine/Resource/Experimental.php | 28 + .../Appengine/Resource/ExperimentalApps.php | 28 + .../Resource/ExperimentalAppsOperations.php | 65 + .../src/Google/Service/Appengine/Resources.php | 59 + .../src/Google/Service/Appengine/ScriptHandler.php | 30 + .../src/Google/Service/Appengine/Service.php | 49 + .../Google/Service/Appengine/SourceReference.php | 39 + .../Service/Appengine/StaticFilesHandler.php | 84 + .../src/Google/Service/Appengine/Status.php | 49 + .../src/Google/Service/Appengine/TrafficSplit.php | 39 + .../Google/Service/Appengine/UrlDispatchRule.php | 48 + .../src/Google/Service/Appengine/UrlMap.php | 96 + .../src/Google/Service/Appengine/Version.php | 295 + .../src/Google/Service/Appengine/Volume.php | 48 + .../src/Google/Service/Appengine/ZipInfo.php | 39 + .../src/Google/Service/Appsactivity.php | 108 + .../src/Google/Service/Appsactivity/Activity.php | 42 + .../Service/Appsactivity/AppsactivityParent.php | 48 + .../src/Google/Service/Appsactivity/Event.php | 108 + .../Appsactivity/ListActivitiesResponse.php | 41 + .../src/Google/Service/Appsactivity/Move.php | 42 + .../src/Google/Service/Appsactivity/Permission.php | 76 + .../Service/Appsactivity/PermissionChange.php | 42 + .../src/Google/Service/Appsactivity/Photo.php | 30 + .../src/Google/Service/Appsactivity/Rename.php | 39 + .../Service/Appsactivity/Resource/Activities.php | 59 + .../src/Google/Service/Appsactivity/Target.php | 48 + .../src/Google/Service/Appsactivity/User.php | 67 + .../src/Google/Service/Autoscaler.php | 299 + .../src/Google/Service/Autoscaler/Autoscaler.php | 94 + .../Service/Autoscaler/AutoscalerListResponse.php | 50 + .../Service/Autoscaler/AutoscalingPolicy.php | 79 + .../Autoscaler/AutoscalingPolicyCpuUtilization.php | 30 + .../AutoscalingPolicyCustomMetricUtilization.php | 48 + .../AutoscalingPolicyLoadBalancingUtilization.php | 30 + .../Service/Autoscaler/DeprecationStatus.php | 66 + .../src/Google/Service/Autoscaler/Operation.php | 231 + .../Google/Service/Autoscaler/OperationError.php | 32 + .../Service/Autoscaler/OperationErrorErrors.php | 48 + .../Google/Service/Autoscaler/OperationList.php | 68 + .../Service/Autoscaler/OperationWarnings.php | 50 + .../Service/Autoscaler/OperationWarningsData.php | 39 + .../Service/Autoscaler/Resource/Autoscalers.php | 124 + .../Service/Autoscaler/Resource/ZoneOperations.php | 78 + .../Google/Service/Autoscaler/Resource/Zones.php | 45 + .../src/Google/Service/Autoscaler/Zone.php | 103 + .../src/Google/Service/Autoscaler/ZoneList.php | 68 + .../src/Google/Service/Bigquery.php | 520 + .../src/Google/Service/Bigquery/BigtableColumn.php | 75 + .../Service/Bigquery/BigtableColumnFamily.php | 68 + .../Google/Service/Bigquery/BigtableOptions.php | 50 + .../src/Google/Service/Bigquery/CsvOptions.php | 75 + .../src/Google/Service/Bigquery/Dataset.php | 141 + .../src/Google/Service/Bigquery/DatasetAccess.php | 76 + .../src/Google/Service/Bigquery/DatasetList.php | 59 + .../Service/Bigquery/DatasetListDatasets.php | 67 + .../Google/Service/Bigquery/DatasetReference.php | 39 + .../src/Google/Service/Bigquery/ErrorProto.php | 57 + .../Google/Service/Bigquery/ExplainQueryStage.php | 149 + .../Google/Service/Bigquery/ExplainQueryStep.php | 40 + .../Service/Bigquery/ExternalDataConfiguration.php | 116 + .../Service/Bigquery/GetQueryResultsResponse.php | 134 + .../Service/Bigquery/GoogleSheetsOptions.php | 30 + .../src/Google/Service/Bigquery/Job.php | 109 + .../Google/Service/Bigquery/JobCancelResponse.php | 40 + .../Google/Service/Bigquery/JobConfiguration.php | 79 + .../Service/Bigquery/JobConfigurationExtract.php | 86 + .../Service/Bigquery/JobConfigurationLoad.php | 204 + .../Service/Bigquery/JobConfigurationQuery.php | 189 + .../Service/Bigquery/JobConfigurationTableCopy.php | 70 + .../src/Google/Service/Bigquery/JobList.php | 59 + .../src/Google/Service/Bigquery/JobListJobs.php | 110 + .../src/Google/Service/Bigquery/JobReference.php | 39 + .../src/Google/Service/Bigquery/JobStatistics.php | 87 + .../src/Google/Service/Bigquery/JobStatistics2.php | 116 + .../src/Google/Service/Bigquery/JobStatistics3.php | 57 + .../src/Google/Service/Bigquery/JobStatistics4.php | 31 + .../src/Google/Service/Bigquery/JobStatus.php | 51 + .../src/Google/Service/Bigquery/ProjectList.php | 68 + .../Service/Bigquery/ProjectListProjects.php | 67 + .../Google/Service/Bigquery/ProjectReference.php | 30 + .../src/Google/Service/Bigquery/QueryParameter.php | 50 + .../Google/Service/Bigquery/QueryParameterType.php | 51 + .../Bigquery/QueryParameterTypeStructTypes.php | 49 + .../Service/Bigquery/QueryParameterValue.php | 51 + .../src/Google/Service/Bigquery/QueryRequest.php | 123 + .../src/Google/Service/Bigquery/QueryResponse.php | 125 + .../Google/Service/Bigquery/Resource/Datasets.php | 134 + .../src/Google/Service/Bigquery/Resource/Jobs.php | 140 + .../Google/Service/Bigquery/Resource/Projects.php | 45 + .../Google/Service/Bigquery/Resource/Tabledata.php | 66 + .../Google/Service/Bigquery/Resource/Tables.php | 131 + .../Google/Service/Bigquery/Streamingbuffer.php | 48 + .../src/Google/Service/Bigquery/Table.php | 216 + .../src/Google/Service/Bigquery/TableCell.php | 30 + .../Service/Bigquery/TableDataInsertAllRequest.php | 68 + .../Bigquery/TableDataInsertAllRequestRows.php | 39 + .../Bigquery/TableDataInsertAllResponse.php | 41 + .../TableDataInsertAllResponseInsertErrors.php | 41 + .../src/Google/Service/Bigquery/TableDataList.php | 68 + .../Google/Service/Bigquery/TableFieldSchema.php | 68 + .../src/Google/Service/Bigquery/TableList.php | 68 + .../Google/Service/Bigquery/TableListTables.php | 86 + .../Service/Bigquery/TableListTablesView.php | 30 + .../src/Google/Service/Bigquery/TableReference.php | 48 + .../src/Google/Service/Bigquery/TableRow.php | 32 + .../src/Google/Service/Bigquery/TableSchema.php | 32 + .../Google/Service/Bigquery/TimePartitioning.php | 39 + .../Bigquery/UserDefinedFunctionResource.php | 39 + .../src/Google/Service/Bigquery/ViewDefinition.php | 50 + .../src/Google/Service/Blogger.php | 930 + .../src/Google/Service/Blogger/Blog.php | 141 + .../src/Google/Service/Blogger/BlogList.php | 51 + .../src/Google/Service/Blogger/BlogLocale.php | 48 + .../src/Google/Service/Blogger/BlogPages.php | 39 + .../src/Google/Service/Blogger/BlogPerUserInfo.php | 75 + .../src/Google/Service/Blogger/BlogPosts.php | 50 + .../src/Google/Service/Blogger/BlogUserInfo.php | 53 + .../src/Google/Service/Blogger/Comment.php | 124 + .../src/Google/Service/Blogger/CommentAuthor.php | 58 + .../Google/Service/Blogger/CommentAuthorImage.php | 30 + .../src/Google/Service/Blogger/CommentBlog.php | 30 + .../Google/Service/Blogger/CommentInReplyTo.php | 30 + .../src/Google/Service/Blogger/CommentList.php | 68 + .../src/Google/Service/Blogger/CommentPost.php | 30 + .../src/Google/Service/Blogger/Page.php | 131 + .../src/Google/Service/Blogger/PageAuthor.php | 58 + .../src/Google/Service/Blogger/PageAuthorImage.php | 30 + .../src/Google/Service/Blogger/PageBlog.php | 30 + .../src/Google/Service/Blogger/PageList.php | 59 + .../src/Google/Service/Blogger/Pageviews.php | 50 + .../src/Google/Service/Blogger/PageviewsCounts.php | 39 + .../src/Google/Service/Blogger/Post.php | 198 + .../src/Google/Service/Blogger/PostAuthor.php | 58 + .../src/Google/Service/Blogger/PostAuthorImage.php | 30 + .../src/Google/Service/Blogger/PostBlog.php | 30 + .../src/Google/Service/Blogger/PostImages.php | 30 + .../src/Google/Service/Blogger/PostList.php | 59 + .../src/Google/Service/Blogger/PostLocation.php | 57 + .../src/Google/Service/Blogger/PostPerUserInfo.php | 66 + .../src/Google/Service/Blogger/PostReplies.php | 50 + .../src/Google/Service/Blogger/PostUserInfo.php | 53 + .../Google/Service/Blogger/PostUserInfosList.php | 50 + .../Service/Blogger/Resource/BlogUserInfos.php | 46 + .../src/Google/Service/Blogger/Resource/Blogs.php | 86 + .../Google/Service/Blogger/Resource/Comments.php | 159 + .../Google/Service/Blogger/Resource/PageViews.php | 43 + .../src/Google/Service/Blogger/Resource/Pages.php | 163 + .../Service/Blogger/Resource/PostUserInfos.php | 83 + .../src/Google/Service/Blogger/Resource/Posts.php | 241 + .../src/Google/Service/Blogger/Resource/Users.php | 41 + .../src/Google/Service/Blogger/User.php | 104 + .../src/Google/Service/Blogger/UserBlogs.php | 30 + .../src/Google/Service/Blogger/UserLocale.php | 48 + .../src/Google/Service/Books.php | 1508 + .../src/Google/Service/Books/Annotation.php | 178 + .../Books/AnnotationClientVersionRanges.php | 70 + .../Books/AnnotationCurrentVersionRanges.php | 70 + .../Service/Books/AnnotationLayerSummary.php | 48 + .../src/Google/Service/Books/Annotationdata.php | 105 + .../src/Google/Service/Books/Annotations.php | 59 + .../Google/Service/Books/AnnotationsSummary.php | 41 + .../Service/Books/AnnotationsSummaryLayers.php | 66 + .../src/Google/Service/Books/Annotationsdata.php | 59 + .../Google/Service/Books/BooksAnnotationsRange.php | 57 + .../Service/Books/BooksCloudloadingResource.php | 57 + .../Books/BooksVolumesRecommendedRateResponse.php | 33 + .../src/Google/Service/Books/Bookshelf.php | 111 + .../src/Google/Service/Books/Bookshelves.php | 41 + .../src/Google/Service/Books/Category.php | 41 + .../src/Google/Service/Books/CategoryItems.php | 48 + .../Service/Books/ConcurrentAccessRestriction.php | 120 + .../src/Google/Service/Books/Dictlayerdata.php | 50 + .../Google/Service/Books/DictlayerdataCommon.php | 30 + .../src/Google/Service/Books/DictlayerdataDict.php | 42 + .../Service/Books/DictlayerdataDictSource.php | 39 + .../Service/Books/DictlayerdataDictWords.php | 62 + .../Books/DictlayerdataDictWordsDerivatives.php | 40 + .../DictlayerdataDictWordsDerivativesSource.php | 39 + .../Books/DictlayerdataDictWordsExamples.php | 40 + .../Books/DictlayerdataDictWordsExamplesSource.php | 39 + .../Service/Books/DictlayerdataDictWordsSenses.php | 98 + .../DictlayerdataDictWordsSensesConjugations.php | 39 + .../DictlayerdataDictWordsSensesDefinitions.php | 41 + ...layerdataDictWordsSensesDefinitionsExamples.php | 40 + ...ataDictWordsSensesDefinitionsExamplesSource.php | 39 + .../Books/DictlayerdataDictWordsSensesSource.php | 39 + .../Books/DictlayerdataDictWordsSensesSynonyms.php | 40 + .../DictlayerdataDictWordsSensesSynonymsSource.php | 39 + .../Service/Books/DictlayerdataDictWordsSource.php | 39 + .../src/Google/Service/Books/Discoveryclusters.php | 50 + .../Service/Books/DiscoveryclustersClusters.php | 81 + ...yclustersClustersBannerWithContentContainer.php | 75 + .../Service/Books/DownloadAccessRestriction.php | 129 + .../src/Google/Service/Books/DownloadAccesses.php | 41 + .../src/Google/Service/Books/Geolayerdata.php | 50 + .../Google/Service/Books/GeolayerdataCommon.php | 66 + .../src/Google/Service/Books/GeolayerdataGeo.php | 96 + .../Service/Books/GeolayerdataGeoBoundary.php | 39 + .../Service/Books/GeolayerdataGeoViewport.php | 41 + .../Service/Books/GeolayerdataGeoViewportHi.php | 39 + .../Service/Books/GeolayerdataGeoViewportLo.php | 39 + .../src/Google/Service/Books/Layersummaries.php | 50 + .../src/Google/Service/Books/Layersummary.php | 139 + .../src/Google/Service/Books/Metadata.php | 41 + .../src/Google/Service/Books/MetadataItems.php | 70 + .../src/Google/Service/Books/Notification.php | 156 + .../src/Google/Service/Books/Offers.php | 41 + .../src/Google/Service/Books/OffersItems.php | 59 + .../src/Google/Service/Books/OffersItemsItems.php | 75 + .../src/Google/Service/Books/ReadingPosition.php | 84 + .../src/Google/Service/Books/RequestAccess.php | 50 + .../Google/Service/Books/Resource/Bookshelves.php | 61 + .../Service/Books/Resource/BookshelvesVolumes.php | 50 + .../Google/Service/Books/Resource/Cloudloading.php | 73 + .../Google/Service/Books/Resource/Dictionary.php | 42 + .../src/Google/Service/Books/Resource/Layers.php | 66 + .../Books/Resource/LayersAnnotationData.php | 90 + .../Books/Resource/LayersVolumeAnnotations.php | 83 + .../src/Google/Service/Books/Resource/Myconfig.php | 126 + .../Google/Service/Books/Resource/Mylibrary.php | 28 + .../Books/Resource/MylibraryAnnotations.php | 119 + .../Books/Resource/MylibraryBookshelves.php | 125 + .../Books/Resource/MylibraryBookshelvesVolumes.php | 53 + .../Books/Resource/MylibraryReadingpositions.php | 71 + .../Google/Service/Books/Resource/Notification.php | 45 + .../Google/Service/Books/Resource/Onboarding.php | 67 + .../Service/Books/Resource/Personalizedstream.php | 47 + .../Google/Service/Books/Resource/Promooffer.php | 86 + .../src/Google/Service/Books/Resource/Series.php | 41 + .../Service/Books/Resource/SeriesMembership.php | 46 + .../src/Google/Service/Books/Resource/Volumes.php | 83 + .../Service/Books/Resource/VolumesAssociated.php | 49 + .../Service/Books/Resource/VolumesMybooks.php | 52 + .../Service/Books/Resource/VolumesRecommended.php | 66 + .../Service/Books/Resource/VolumesUseruploaded.php | 52 + .../src/Google/Service/Books/Review.php | 113 + .../src/Google/Service/Books/ReviewAuthor.php | 30 + .../src/Google/Service/Books/ReviewSource.php | 48 + .../src/Google/Service/Books/Series.php | 41 + .../src/Google/Service/Books/SeriesSeries.php | 66 + .../src/Google/Service/Books/Seriesmembership.php | 50 + .../src/Google/Service/Books/Usersettings.php | 50 + .../Service/Books/UsersettingsNotesExport.php | 39 + .../Service/Books/UsersettingsNotification.php | 41 + .../UsersettingsNotificationMoreFromAuthors.php | 33 + .../UsersettingsNotificationMoreFromSeries.php | 33 + .../src/Google/Service/Books/Volume.php | 127 + .../src/Google/Service/Books/Volume2.php | 50 + .../src/Google/Service/Books/VolumeAccessInfo.php | 150 + .../Google/Service/Books/VolumeAccessInfoEpub.php | 48 + .../Google/Service/Books/VolumeAccessInfoPdf.php | 48 + .../src/Google/Service/Books/VolumeLayerInfo.php | 32 + .../Google/Service/Books/VolumeLayerInfoLayers.php | 39 + .../Google/Service/Books/VolumeRecommendedInfo.php | 30 + .../src/Google/Service/Books/VolumeSaleInfo.php | 97 + .../Service/Books/VolumeSaleInfoListPrice.php | 39 + .../Google/Service/Books/VolumeSaleInfoOffers.php | 69 + .../Books/VolumeSaleInfoOffersListPrice.php | 39 + .../Books/VolumeSaleInfoOffersRentalDuration.php | 39 + .../Books/VolumeSaleInfoOffersRetailPrice.php | 39 + .../Service/Books/VolumeSaleInfoRetailPrice.php | 39 + .../src/Google/Service/Books/VolumeSearchInfo.php | 30 + .../src/Google/Service/Books/VolumeUserInfo.php | 198 + .../Google/Service/Books/VolumeUserInfoCopy.php | 57 + .../Service/Books/VolumeUserInfoFamilySharing.php | 48 + .../Service/Books/VolumeUserInfoRentalPeriod.php | 39 + .../Books/VolumeUserInfoUserUploadedVolumeInfo.php | 30 + .../src/Google/Service/Books/VolumeVolumeInfo.php | 270 + .../Service/Books/VolumeVolumeInfoDimensions.php | 48 + .../Service/Books/VolumeVolumeInfoImageLinks.php | 75 + .../Books/VolumeVolumeInfoIndustryIdentifiers.php | 39 + .../Books/VolumeVolumeInfoPanelizationSummary.php | 57 + .../src/Google/Service/Books/Volumeannotation.php | 149 + .../Books/VolumeannotationContentRanges.php | 60 + .../src/Google/Service/Books/Volumeannotations.php | 68 + .../src/Google/Service/Books/Volumes.php | 50 + .../src/Google/Service/Books/Volumeseriesinfo.php | 59 + .../Service/Books/VolumeseriesinfoVolumeSeries.php | 59 + .../Books/VolumeseriesinfoVolumeSeriesIssue.php | 39 + .../src/Google/Service/Calendar.php | 888 + .../src/Google/Service/Calendar/Acl.php | 68 + .../src/Google/Service/Calendar/AclRule.php | 67 + .../src/Google/Service/Calendar/AclRuleScope.php | 39 + .../src/Google/Service/Calendar/Calendar.php | 84 + .../src/Google/Service/Calendar/CalendarList.php | 68 + .../Google/Service/Calendar/CalendarListEntry.php | 186 + .../CalendarListEntryNotificationSettings.php | 32 + .../Service/Calendar/CalendarNotification.php | 39 + .../src/Google/Service/Calendar/Channel.php | 111 + .../Google/Service/Calendar/ColorDefinition.php | 39 + .../src/Google/Service/Calendar/Colors.php | 59 + .../src/Google/Service/Calendar/Error.php | 39 + .../src/Google/Service/Calendar/Event.php | 366 + .../Google/Service/Calendar/EventAttachment.php | 66 + .../src/Google/Service/Calendar/EventAttendee.php | 111 + .../src/Google/Service/Calendar/EventCreator.php | 57 + .../src/Google/Service/Calendar/EventDateTime.php | 48 + .../Service/Calendar/EventExtendedProperties.php | 39 + .../src/Google/Service/Calendar/EventGadget.php | 93 + .../src/Google/Service/Calendar/EventOrganizer.php | 57 + .../src/Google/Service/Calendar/EventReminder.php | 39 + .../src/Google/Service/Calendar/EventReminders.php | 41 + .../src/Google/Service/Calendar/EventSource.php | 39 + .../src/Google/Service/Calendar/Events.php | 123 + .../Google/Service/Calendar/FreeBusyCalendar.php | 42 + .../src/Google/Service/Calendar/FreeBusyGroup.php | 41 + .../Google/Service/Calendar/FreeBusyRequest.php | 77 + .../Service/Calendar/FreeBusyRequestItem.php | 30 + .../Google/Service/Calendar/FreeBusyResponse.php | 68 + .../src/Google/Service/Calendar/Resource/Acl.php | 177 + .../Service/Calendar/Resource/CalendarList.php | 191 + .../Google/Service/Calendar/Resource/Calendars.php | 119 + .../Google/Service/Calendar/Resource/Channels.php | 40 + .../Google/Service/Calendar/Resource/Colors.php | 40 + .../Google/Service/Calendar/Resource/Events.php | 440 + .../Google/Service/Calendar/Resource/Freebusy.php | 41 + .../Google/Service/Calendar/Resource/Settings.php | 92 + .../src/Google/Service/Calendar/Setting.php | 57 + .../src/Google/Service/Calendar/Settings.php | 68 + .../src/Google/Service/Calendar/TimePeriod.php | 39 + .../src/Google/Service/CivicInfo.php | 166 + .../Service/CivicInfo/AdministrationRegion.php | 73 + .../Service/CivicInfo/AdministrativeBody.php | 154 + .../src/Google/Service/CivicInfo/Candidate.php | 95 + .../src/Google/Service/CivicInfo/Channel.php | 39 + .../src/Google/Service/CivicInfo/Contest.php | 241 + .../src/Google/Service/CivicInfo/ContextParams.php | 30 + .../DivisionRepresentativeInfoRequest.php | 31 + .../Service/CivicInfo/DivisionSearchRequest.php | 31 + .../Service/CivicInfo/DivisionSearchResponse.php | 41 + .../Service/CivicInfo/DivisionSearchResult.php | 49 + .../src/Google/Service/CivicInfo/Election.php | 57 + .../Google/Service/CivicInfo/ElectionOfficial.php | 66 + .../Service/CivicInfo/ElectionsQueryRequest.php | 31 + .../Service/CivicInfo/ElectionsQueryResponse.php | 41 + .../Google/Service/CivicInfo/ElectoralDistrict.php | 57 + .../Service/CivicInfo/GeographicDivision.php | 49 + .../src/Google/Service/CivicInfo/Office.php | 77 + .../src/Google/Service/CivicInfo/Official.php | 96 + .../Google/Service/CivicInfo/PollingLocation.php | 105 + .../src/Google/Service/CivicInfo/PostalAddress.php | 301 + .../Service/CivicInfo/RepresentativeInfoData.php | 52 + .../CivicInfo/RepresentativeInfoRequest.php | 31 + .../CivicInfo/RepresentativeInfoResponse.php | 71 + .../Service/CivicInfo/Resource/Divisions.php | 47 + .../Service/CivicInfo/Resource/Elections.php | 64 + .../Service/CivicInfo/Resource/Representatives.php | 79 + .../Google/Service/CivicInfo/SimpleAddressType.php | 84 + .../src/Google/Service/CivicInfo/Source.php | 39 + .../Google/Service/CivicInfo/VoterInfoRequest.php | 41 + .../Google/Service/CivicInfo/VoterInfoResponse.php | 129 + .../Service/CivicInfo/VoterInfoSegmentResult.php | 60 + .../src/Google/Service/Classroom.php | 869 + .../src/Google/Service/Classroom/Assignment.php | 31 + .../Service/Classroom/AssignmentSubmission.php | 32 + .../src/Google/Service/Classroom/Attachment.php | 61 + .../Google/Service/Classroom/ClassroomEmpty.php | 20 + .../src/Google/Service/Classroom/Course.php | 177 + .../src/Google/Service/Classroom/CourseAlias.php | 30 + .../Google/Service/Classroom/CourseMaterial.php | 61 + .../Google/Service/Classroom/CourseMaterialSet.php | 41 + .../src/Google/Service/Classroom/CourseWork.php | 180 + .../src/Google/Service/Classroom/Date.php | 48 + .../src/Google/Service/Classroom/DriveFile.php | 57 + .../src/Google/Service/Classroom/DriveFolder.php | 48 + .../src/Google/Service/Classroom/Form.php | 57 + .../Google/Service/Classroom/GlobalPermission.php | 30 + .../src/Google/Service/Classroom/Guardian.php | 58 + .../Service/Classroom/GuardianInvitation.php | 66 + .../src/Google/Service/Classroom/Invitation.php | 57 + .../src/Google/Service/Classroom/Link.php | 48 + .../Classroom/ListCourseAliasesResponse.php | 41 + .../Service/Classroom/ListCourseWorkResponse.php | 41 + .../Service/Classroom/ListCoursesResponse.php | 41 + .../Classroom/ListGuardianInvitationsResponse.php | 41 + .../Service/Classroom/ListGuardiansResponse.php | 41 + .../Service/Classroom/ListInvitationsResponse.php | 41 + .../Classroom/ListStudentSubmissionsResponse.php | 41 + .../Service/Classroom/ListStudentsResponse.php | 41 + .../Service/Classroom/ListTeachersResponse.php | 41 + .../src/Google/Service/Classroom/Material.php | 61 + .../Service/Classroom/ModifyAttachmentsRequest.php | 32 + .../Service/Classroom/MultipleChoiceQuestion.php | 31 + .../Service/Classroom/MultipleChoiceSubmission.php | 30 + .../src/Google/Service/Classroom/Name.php | 48 + .../Classroom/ReclaimStudentSubmissionRequest.php | 20 + .../Google/Service/Classroom/Resource/Courses.php | 163 + .../Service/Classroom/Resource/CoursesAliases.php | 91 + .../Classroom/Resource/CoursesCourseWork.php | 170 + .../CoursesCourseWorkStudentSubmissions.php | 240 + .../Service/Classroom/Resource/CoursesStudents.php | 123 + .../Service/Classroom/Resource/CoursesTeachers.php | 119 + .../Service/Classroom/Resource/Invitations.php | 131 + .../Service/Classroom/Resource/UserProfiles.php | 47 + .../Resource/UserProfilesGuardianInvitations.php | 166 + .../Classroom/Resource/UserProfilesGuardians.php | 124 + .../Classroom/ReturnStudentSubmissionRequest.php | 20 + .../Google/Service/Classroom/SharedDriveFile.php | 40 + .../Service/Classroom/ShortAnswerSubmission.php | 30 + .../src/Google/Service/Classroom/Student.php | 59 + .../Google/Service/Classroom/StudentSubmission.php | 168 + .../src/Google/Service/Classroom/Teacher.php | 49 + .../src/Google/Service/Classroom/TimeOfDay.php | 57 + .../Classroom/TurnInStudentSubmissionRequest.php | 20 + .../src/Google/Service/Classroom/UserProfile.php | 69 + .../src/Google/Service/Classroom/YouTubeVideo.php | 57 + .../src/Google/Service/CloudBuild.php | 254 + .../src/Google/Service/CloudBuild/Build.php | 189 + .../Service/CloudBuild/BuildOperationMetadata.php | 31 + .../src/Google/Service/CloudBuild/BuildOptions.php | 40 + .../src/Google/Service/CloudBuild/BuildStep.php | 85 + .../src/Google/Service/CloudBuild/BuildTrigger.php | 95 + .../src/Google/Service/CloudBuild/BuiltImage.php | 39 + .../Service/CloudBuild/CancelBuildRequest.php | 20 + .../Service/CloudBuild/CancelOperationRequest.php | 20 + .../Google/Service/CloudBuild/CloudbuildEmpty.php | 20 + .../src/Google/Service/CloudBuild/FileHashes.php | 32 + .../src/Google/Service/CloudBuild/Hash.php | 39 + .../CloudBuild/ListBuildTriggersResponse.php | 32 + .../Service/CloudBuild/ListBuildsResponse.php | 41 + .../Service/CloudBuild/ListOperationsResponse.php | 41 + .../src/Google/Service/CloudBuild/Operation.php | 67 + .../src/Google/Service/CloudBuild/RepoSource.php | 66 + .../Service/CloudBuild/Resource/Operations.php | 87 + .../Service/CloudBuild/Resource/Projects.php | 28 + .../Service/CloudBuild/Resource/ProjectsBuilds.php | 99 + .../CloudBuild/Resource/ProjectsTriggers.php | 109 + .../src/Google/Service/CloudBuild/Results.php | 41 + .../src/Google/Service/CloudBuild/Source.php | 41 + .../Google/Service/CloudBuild/SourceProvenance.php | 51 + .../src/Google/Service/CloudBuild/Status.php | 49 + .../Google/Service/CloudBuild/StorageSource.php | 48 + .../src/Google/Service/CloudDebugger.php | 240 + .../Google/Service/CloudDebugger/AliasContext.php | 39 + .../Google/Service/CloudDebugger/Breakpoint.php | 171 + .../CloudDebugger/CloudRepoSourceContext.php | 59 + .../Service/CloudDebugger/CloudWorkspaceId.php | 40 + .../CloudDebugger/CloudWorkspaceSourceContext.php | 40 + .../Service/CloudDebugger/ClouddebuggerEmpty.php | 20 + .../src/Google/Service/CloudDebugger/Debuggee.php | 124 + .../CloudDebugger/ExtendedSourceContext.php | 40 + .../Google/Service/CloudDebugger/FormatMessage.php | 40 + .../Service/CloudDebugger/GerritSourceContext.php | 67 + .../CloudDebugger/GetBreakpointResponse.php | 31 + .../Service/CloudDebugger/GitSourceContext.php | 39 + .../ListActiveBreakpointsResponse.php | 50 + .../CloudDebugger/ListBreakpointsResponse.php | 41 + .../CloudDebugger/ListDebuggeesResponse.php | 32 + .../Google/Service/CloudDebugger/ProjectRepoId.php | 39 + .../CloudDebugger/RegisterDebuggeeRequest.php | 31 + .../CloudDebugger/RegisterDebuggeeResponse.php | 31 + .../src/Google/Service/CloudDebugger/RepoId.php | 40 + .../Service/CloudDebugger/Resource/Controller.php | 28 + .../CloudDebugger/Resource/ControllerDebuggees.php | 50 + .../Resource/ControllerDebuggeesBreakpoints.php | 85 + .../Service/CloudDebugger/Resource/Debugger.php | 28 + .../CloudDebugger/Resource/DebuggerDebuggees.php | 48 + .../Resource/DebuggerDebuggeesBreakpoints.php | 113 + .../CloudDebugger/SetBreakpointResponse.php | 31 + .../Google/Service/CloudDebugger/SourceContext.php | 61 + .../Service/CloudDebugger/SourceLocation.php | 39 + .../Google/Service/CloudDebugger/StackFrame.php | 61 + .../Google/Service/CloudDebugger/StatusMessage.php | 49 + .../UpdateActiveBreakpointRequest.php | 31 + .../UpdateActiveBreakpointResponse.php | 20 + .../src/Google/Service/CloudDebugger/Variable.php | 78 + .../src/Google/Service/CloudFunctions.php | 207 + .../Service/CloudFunctions/CallFunctionRequest.php | 30 + .../CloudFunctions/CallFunctionResponse.php | 48 + .../Service/CloudFunctions/CloudFunction.php | 132 + .../Google/Service/CloudFunctions/EventTrigger.php | 39 + .../Google/Service/CloudFunctions/HTTPSTrigger.php | 30 + .../CloudFunctions/ListFunctionsResponse.php | 41 + .../CloudFunctions/ListLocationsResponse.php | 41 + .../CloudFunctions/ListOperationsResponse.php | 41 + .../src/Google/Service/CloudFunctions/Location.php | 57 + .../Google/Service/CloudFunctions/Operation.php | 67 + .../CloudFunctions/OperationMetadataV1Beta2.php | 48 + .../Service/CloudFunctions/Resource/Operations.php | 65 + .../Service/CloudFunctions/Resource/Projects.php | 28 + .../CloudFunctions/Resource/ProjectsLocations.php | 47 + .../Resource/ProjectsLocationsFunctions.php | 126 + .../Service/CloudFunctions/SourceRepository.php | 75 + .../src/Google/Service/CloudFunctions/Status.php | 49 + .../src/Google/Service/CloudKMS.php | 389 + .../src/Google/Service/CloudKMS/AuditConfig.php | 50 + .../src/Google/Service/CloudKMS/AuditLogConfig.php | 40 + .../src/Google/Service/CloudKMS/Binding.php | 40 + .../Google/Service/CloudKMS/CloudAuditOptions.php | 20 + .../src/Google/Service/CloudKMS/Condition.php | 76 + .../src/Google/Service/CloudKMS/CounterOptions.php | 39 + .../src/Google/Service/CloudKMS/CryptoKey.php | 76 + .../Google/Service/CloudKMS/CryptoKeyVersion.php | 66 + .../Google/Service/CloudKMS/DataAccessOptions.php | 20 + .../src/Google/Service/CloudKMS/DecryptRequest.php | 39 + .../Google/Service/CloudKMS/DecryptResponse.php | 30 + .../CloudKMS/DestroyCryptoKeyVersionRequest.php | 20 + .../src/Google/Service/CloudKMS/EncryptRequest.php | 39 + .../Google/Service/CloudKMS/EncryptResponse.php | 39 + .../src/Google/Service/CloudKMS/KeyRing.php | 39 + .../CloudKMS/ListCryptoKeyVersionsResponse.php | 50 + .../Service/CloudKMS/ListCryptoKeysResponse.php | 50 + .../Service/CloudKMS/ListKeyRingsResponse.php | 50 + .../Service/CloudKMS/ListLocationsResponse.php | 41 + .../src/Google/Service/CloudKMS/Location.php | 57 + .../src/Google/Service/CloudKMS/LogConfig.php | 51 + .../src/Google/Service/CloudKMS/Policy.php | 79 + .../Google/Service/CloudKMS/Resource/Projects.php | 28 + .../CloudKMS/Resource/ProjectsLocations.php | 60 + .../Resource/ProjectsLocationsKeyRings.php | 135 + .../ProjectsLocationsKeyRingsCryptoKeys.php | 204 + ...ocationsKeyRingsCryptoKeysCryptoKeyVersions.php | 143 + .../CloudKMS/RestoreCryptoKeyVersionRequest.php | 20 + .../src/Google/Service/CloudKMS/Rule.php | 87 + .../Service/CloudKMS/SetIamPolicyRequest.php | 40 + .../Service/CloudKMS/TestIamPermissionsRequest.php | 31 + .../CloudKMS/TestIamPermissionsResponse.php | 31 + .../UpdateCryptoKeyPrimaryVersionRequest.php | 30 + .../src/Google/Service/CloudMachineLearning.php | 337 + .../CloudMachineLearning/GoogleApiHttpBody.php | 39 + .../GoogleCloudMlV1beta1CancelJobRequest.php | 20 + .../GoogleCloudMlV1beta1GetConfigResponse.php | 39 + .../GoogleCloudMlV1beta1HyperparameterOutput.php | 60 + ...ta1HyperparameterOutputHyperparameterMetric.php | 39 + .../GoogleCloudMlV1beta1HyperparameterSpec.php | 59 + .../GoogleCloudMlV1beta1Job.php | 115 + .../GoogleCloudMlV1beta1ListJobsResponse.php | 41 + .../GoogleCloudMlV1beta1ListModelsResponse.php | 41 + .../GoogleCloudMlV1beta1ListVersionsResponse.php | 41 + .../GoogleCloudMlV1beta1Model.php | 49 + .../GoogleCloudMlV1beta1OperationMetadata.php | 85 + .../GoogleCloudMlV1beta1ParameterSpec.php | 85 + .../GoogleCloudMlV1beta1PredictRequest.php | 31 + .../GoogleCloudMlV1beta1PredictionInput.php | 85 + .../GoogleCloudMlV1beta1PredictionOutput.php | 48 + ...oogleCloudMlV1beta1SetDefaultVersionRequest.php | 20 + .../GoogleCloudMlV1beta1TrainingInput.php | 122 + .../GoogleCloudMlV1beta1TrainingOutput.php | 50 + .../GoogleCloudMlV1beta1Version.php | 75 + .../GoogleLongrunningListOperationsResponse.php | 41 + .../GoogleLongrunningOperation.php | 67 + .../CloudMachineLearning/GoogleProtobufEmpty.php | 20 + .../CloudMachineLearning/GoogleRpcStatus.php | 49 + .../CloudMachineLearning/Resource/Projects.php | 103 + .../CloudMachineLearning/Resource/ProjectsJobs.php | 103 + .../Resource/ProjectsModels.php | 114 + .../Resource/ProjectsModelsVersions.php | 152 + .../Resource/ProjectsOperations.php | 102 + .../Google/Service/CloudMachineLearningEngine.php | 338 + .../GoogleApiHttpBody.php | 39 + .../GoogleCloudMlV1CancelJobRequest.php | 20 + .../GoogleCloudMlV1GetConfigResponse.php | 39 + .../GoogleCloudMlV1HyperparameterOutput.php | 60 + ...lV1HyperparameterOutputHyperparameterMetric.php | 39 + .../GoogleCloudMlV1HyperparameterSpec.php | 68 + .../GoogleCloudMlV1Job.php | 115 + .../GoogleCloudMlV1ListJobsResponse.php | 41 + .../GoogleCloudMlV1ListModelsResponse.php | 41 + .../GoogleCloudMlV1ListVersionsResponse.php | 41 + .../GoogleCloudMlV1ManualScaling.php | 30 + .../GoogleCloudMlV1Model.php | 68 + .../GoogleCloudMlV1OperationMetadata.php | 85 + .../GoogleCloudMlV1ParameterSpec.php | 85 + .../GoogleCloudMlV1PredictRequest.php | 31 + .../GoogleCloudMlV1PredictionInput.php | 103 + .../GoogleCloudMlV1PredictionOutput.php | 57 + .../GoogleCloudMlV1SetDefaultVersionRequest.php | 20 + .../GoogleCloudMlV1TrainingInput.php | 140 + .../GoogleCloudMlV1TrainingOutput.php | 59 + .../GoogleCloudMlV1Version.php | 94 + .../GoogleCloudMlV1beta1ManualScaling.php | 30 + .../GoogleCloudMlV1beta1OperationMetadata.php | 85 + .../GoogleCloudMlV1beta1Version.php | 94 + .../GoogleLongrunningListOperationsResponse.php | 41 + .../GoogleLongrunningOperation.php | 67 + .../GoogleProtobufEmpty.php | 20 + .../CloudMachineLearningEngine/GoogleRpcStatus.php | 49 + .../Resource/Projects.php | 64 + .../Resource/ProjectsJobs.php | 103 + .../Resource/ProjectsModels.php | 114 + .../Resource/ProjectsModelsVersions.php | 152 + .../Resource/ProjectsOperations.php | 102 + .../src/Google/Service/CloudMonitoring.php | 243 + .../DeleteMetricDescriptorResponse.php | 30 + .../ListMetricDescriptorsRequest.php | 30 + .../ListMetricDescriptorsResponse.php | 50 + .../ListTimeseriesDescriptorsRequest.php | 30 + .../ListTimeseriesDescriptorsResponse.php | 68 + .../CloudMonitoring/ListTimeseriesRequest.php | 30 + .../CloudMonitoring/ListTimeseriesResponse.php | 68 + .../Service/CloudMonitoring/MetricDescriptor.php | 69 + .../MetricDescriptorLabelDescriptor.php | 39 + .../MetricDescriptorTypeDescriptor.php | 39 + .../src/Google/Service/CloudMonitoring/Point.php | 85 + .../Service/CloudMonitoring/PointDistribution.php | 52 + .../CloudMonitoring/PointDistributionBucket.php | 48 + .../PointDistributionOverflowBucket.php | 39 + .../PointDistributionUnderflowBucket.php | 39 + .../CloudMonitoring/Resource/MetricDescriptors.php | 86 + .../CloudMonitoring/Resource/Timeseries.php | 104 + .../Resource/TimeseriesDescriptors.php | 83 + .../Google/Service/CloudMonitoring/Timeseries.php | 42 + .../CloudMonitoring/TimeseriesDescriptor.php | 48 + .../CloudMonitoring/TimeseriesDescriptorLabel.php | 39 + .../Service/CloudMonitoring/TimeseriesPoint.php | 41 + .../CloudMonitoring/WriteTimeseriesRequest.php | 41 + .../CloudMonitoring/WriteTimeseriesResponse.php | 30 + .../src/Google/Service/CloudNaturalLanguage.php | 81 + .../AnalyzeEntitiesRequest.php | 40 + .../AnalyzeEntitiesResponse.php | 41 + .../AnalyzeSentimentRequest.php | 40 + .../AnalyzeSentimentResponse.php | 51 + .../CloudNaturalLanguage/AnalyzeSyntaxRequest.php | 40 + .../CloudNaturalLanguage/AnalyzeSyntaxResponse.php | 51 + .../CloudNaturalLanguage/AnnotateTextRequest.php | 50 + .../CloudNaturalLanguage/AnnotateTextResponse.php | 71 + .../CloudNaturalLanguage/DependencyEdge.php | 39 + .../Service/CloudNaturalLanguage/Document.php | 57 + .../Google/Service/CloudNaturalLanguage/Entity.php | 68 + .../Service/CloudNaturalLanguage/EntityMention.php | 40 + .../Service/CloudNaturalLanguage/Features.php | 48 + .../Service/CloudNaturalLanguage/PartOfSpeech.php | 129 + .../CloudNaturalLanguage/Resource/Documents.php | 86 + .../Service/CloudNaturalLanguage/Sentence.php | 41 + .../Service/CloudNaturalLanguage/Sentiment.php | 39 + .../Google/Service/CloudNaturalLanguage/Status.php | 49 + .../Service/CloudNaturalLanguage/TextSpan.php | 39 + .../Google/Service/CloudNaturalLanguage/Token.php | 60 + .../src/Google/Service/CloudNaturalLanguageAPI.php | 78 + .../AnalyzeEntitiesRequest.php | 40 + .../AnalyzeEntitiesResponse.php | 41 + .../AnalyzeSentimentRequest.php | 31 + .../AnalyzeSentimentResponse.php | 40 + .../AnnotateTextRequest.php | 50 + .../AnnotateTextResponse.php | 71 + .../CloudNaturalLanguageAPI/DependencyEdge.php | 39 + .../Service/CloudNaturalLanguageAPI/Document.php | 57 + .../Service/CloudNaturalLanguageAPI/Entity.php | 68 + .../CloudNaturalLanguageAPI/EntityMention.php | 31 + .../Service/CloudNaturalLanguageAPI/Features.php | 48 + .../CloudNaturalLanguageAPI/PartOfSpeech.php | 30 + .../CloudNaturalLanguageAPI/Resource/Documents.php | 71 + .../Service/CloudNaturalLanguageAPI/Sentence.php | 31 + .../Service/CloudNaturalLanguageAPI/Sentiment.php | 39 + .../Service/CloudNaturalLanguageAPI/Status.php | 49 + .../Service/CloudNaturalLanguageAPI/TextSpan.php | 39 + .../Service/CloudNaturalLanguageAPI/Token.php | 60 + .../src/Google/Service/CloudResourceManager.php | 286 + .../Service/CloudResourceManager/Ancestor.php | 31 + .../Service/CloudResourceManager/AuditConfig.php | 41 + .../CloudResourceManager/AuditLogConfig.php | 40 + .../Service/CloudResourceManager/Binding.php | 40 + .../CloudresourcemanagerEmpty.php | 20 + .../CloudResourceManager/FolderOperation.php | 57 + .../CloudResourceManager/FolderOperationError.php | 30 + .../CloudResourceManager/GetAncestryRequest.php | 20 + .../CloudResourceManager/GetAncestryResponse.php | 32 + .../CloudResourceManager/GetIamPolicyRequest.php | 20 + .../Google/Service/CloudResourceManager/Lien.php | 76 + .../CloudResourceManager/ListLiensResponse.php | 41 + .../CloudResourceManager/ListProjectsResponse.php | 41 + .../Service/CloudResourceManager/Operation.php | 67 + .../Service/CloudResourceManager/Organization.php | 67 + .../CloudResourceManager/OrganizationOwner.php | 30 + .../Google/Service/CloudResourceManager/Policy.php | 60 + .../Service/CloudResourceManager/Project.php | 85 + .../CloudResourceManager/ProjectCreationStatus.php | 48 + .../CloudResourceManager/Resource/Liens.php | 88 + .../CloudResourceManager/Resource/Operations.php | 43 + .../Resource/Organizations.php | 114 + .../CloudResourceManager/Resource/Projects.php | 286 + .../Service/CloudResourceManager/ResourceId.php | 39 + .../SearchOrganizationsRequest.php | 48 + .../SearchOrganizationsResponse.php | 41 + .../CloudResourceManager/SetIamPolicyRequest.php | 40 + .../Google/Service/CloudResourceManager/Status.php | 49 + .../TestIamPermissionsRequest.php | 31 + .../TestIamPermissionsResponse.php | 31 + .../UndeleteProjectRequest.php | 20 + .../src/Google/Service/CloudRuntimeConfig.php | 109 + .../CloudRuntimeConfig/CancelOperationRequest.php | 20 + .../Service/CloudRuntimeConfig/Cardinality.php | 39 + .../Service/CloudRuntimeConfig/EndCondition.php | 31 + .../CloudRuntimeConfig/ListConfigsResponse.php | 41 + .../CloudRuntimeConfig/ListOperationsResponse.php | 41 + .../CloudRuntimeConfig/ListVariablesResponse.php | 41 + .../CloudRuntimeConfig/ListWaitersResponse.php | 41 + .../Service/CloudRuntimeConfig/Operation.php | 67 + .../CloudRuntimeConfig/Resource/Operations.php | 88 + .../CloudRuntimeConfig/Resource/Projects.php | 28 + .../Resource/ProjectsConfigs.php | 123 + .../Resource/ProjectsConfigsOperations.php | 43 + .../Resource/ProjectsConfigsVariables.php | 170 + .../Resource/ProjectsConfigsWaiters.php | 111 + .../Service/CloudRuntimeConfig/RuntimeConfig.php | 39 + .../CloudRuntimeConfig/RuntimeconfigEmpty.php | 20 + .../Google/Service/CloudRuntimeConfig/Status.php | 49 + .../Google/Service/CloudRuntimeConfig/Variable.php | 66 + .../Google/Service/CloudRuntimeConfig/Waiter.php | 87 + .../CloudRuntimeConfig/WatchVariableRequest.php | 30 + .../src/Google/Service/CloudSourceRepositories.php | 134 + .../CloudSourceRepositories/AuditConfig.php | 50 + .../CloudSourceRepositories/AuditLogConfig.php | 40 + .../Service/CloudSourceRepositories/Binding.php | 40 + .../CloudSourceRepositories/CloudAuditOptions.php | 20 + .../Service/CloudSourceRepositories/Condition.php | 76 + .../CloudSourceRepositories/CounterOptions.php | 39 + .../CloudSourceRepositories/DataAccessOptions.php | 20 + .../CloudSourceRepositories/ListReposResponse.php | 32 + .../Service/CloudSourceRepositories/LogConfig.php | 51 + .../CloudSourceRepositories/MirrorConfig.php | 48 + .../Service/CloudSourceRepositories/Policy.php | 79 + .../Service/CloudSourceRepositories/Repo.php | 58 + .../CloudSourceRepositories/Resource/Projects.php | 28 + .../Resource/ProjectsRepos.php | 139 + .../Service/CloudSourceRepositories/Rule.php | 87 + .../SetIamPolicyRequest.php | 40 + .../CloudSourceRepositories/SourcerepoEmpty.php | 20 + .../TestIamPermissionsRequest.php | 31 + .../TestIamPermissionsResponse.php | 31 + .../src/Google/Service/CloudSpeechAPI.php | 133 + .../CloudSpeechAPI/AsyncRecognizeRequest.php | 41 + .../CloudSpeechAPI/CancelOperationRequest.php | 20 + .../CloudSpeechAPI/ListOperationsResponse.php | 41 + .../Google/Service/CloudSpeechAPI/Operation.php | 67 + .../Service/CloudSpeechAPI/RecognitionAudio.php | 39 + .../Service/CloudSpeechAPI/RecognitionConfig.php | 76 + .../Service/CloudSpeechAPI/Resource/Operations.php | 100 + .../Service/CloudSpeechAPI/Resource/Speech.php | 58 + .../Service/CloudSpeechAPI/SpeechContext.php | 31 + .../Google/Service/CloudSpeechAPI/SpeechEmpty.php | 20 + .../SpeechRecognitionAlternative.php | 39 + .../CloudSpeechAPI/SpeechRecognitionResult.php | 32 + .../src/Google/Service/CloudSpeechAPI/Status.php | 49 + .../CloudSpeechAPI/SyncRecognizeRequest.php | 41 + .../CloudSpeechAPI/SyncRecognizeResponse.php | 32 + .../src/Google/Service/CloudTrace.php | 146 + .../Google/Service/CloudTrace/CloudtraceEmpty.php | 20 + .../Service/CloudTrace/ListTracesResponse.php | 41 + .../Service/CloudTrace/Resource/Projects.php | 47 + .../Service/CloudTrace/Resource/ProjectsTraces.php | 83 + .../src/Google/Service/CloudTrace/Trace.php | 50 + .../src/Google/Service/CloudTrace/TraceSpan.php | 84 + .../src/Google/Service/CloudTrace/Traces.php | 32 + .../src/Google/Service/CloudUserAccounts.php | 514 + .../Service/CloudUserAccounts/AuditConfig.php | 40 + .../CloudUserAccounts/AuthorizedKeysView.php | 40 + .../Google/Service/CloudUserAccounts/Binding.php | 40 + .../Google/Service/CloudUserAccounts/Condition.php | 76 + .../src/Google/Service/CloudUserAccounts/Group.php | 85 + .../Google/Service/CloudUserAccounts/GroupList.php | 68 + .../CloudUserAccounts/GroupsAddMemberRequest.php | 31 + .../GroupsRemoveMemberRequest.php | 31 + .../CloudUserAccounts/LinuxAccountViews.php | 51 + .../LinuxGetAuthorizedKeysViewResponse.php | 31 + .../LinuxGetLinuxAccountViewsResponse.php | 31 + .../Service/CloudUserAccounts/LinuxGroupView.php | 49 + .../Service/CloudUserAccounts/LinuxUserView.php | 75 + .../Google/Service/CloudUserAccounts/LogConfig.php | 31 + .../CloudUserAccounts/LogConfigCounterOptions.php | 39 + .../Google/Service/CloudUserAccounts/Operation.php | 231 + .../Service/CloudUserAccounts/OperationError.php | 32 + .../CloudUserAccounts/OperationErrorErrors.php | 48 + .../Service/CloudUserAccounts/OperationList.php | 68 + .../CloudUserAccounts/OperationWarnings.php | 50 + .../CloudUserAccounts/OperationWarningsData.php | 39 + .../Google/Service/CloudUserAccounts/Policy.php | 79 + .../Google/Service/CloudUserAccounts/PublicKey.php | 66 + .../Resource/GlobalAccountsOperations.php | 113 + .../Service/CloudUserAccounts/Resource/Groups.php | 206 + .../Service/CloudUserAccounts/Resource/Linux.php | 111 + .../Service/CloudUserAccounts/Resource/Users.php | 209 + .../src/Google/Service/CloudUserAccounts/Rule.php | 87 + .../CloudUserAccounts/TestPermissionsRequest.php | 31 + .../CloudUserAccounts/TestPermissionsResponse.php | 31 + .../src/Google/Service/CloudUserAccounts/User.php | 104 + .../Google/Service/CloudUserAccounts/UserList.php | 68 + .../src/Google/Service/Cloudbilling.php | 147 + .../Google/Service/Cloudbilling/BillingAccount.php | 48 + .../Cloudbilling/ListBillingAccountsResponse.php | 41 + .../ListProjectBillingInfoResponse.php | 41 + .../Service/Cloudbilling/ProjectBillingInfo.php | 57 + .../Cloudbilling/Resource/BillingAccounts.php | 66 + .../Resource/BillingAccountsProjects.php | 53 + .../Service/Cloudbilling/Resource/Projects.php | 89 + .../src/Google/Service/Clouderrorreporting.php | 231 + .../Clouderrorreporting/DeleteEventsResponse.php | 20 + .../Service/Clouderrorreporting/ErrorContext.php | 50 + .../Service/Clouderrorreporting/ErrorEvent.php | 59 + .../Service/Clouderrorreporting/ErrorGroup.php | 50 + .../Clouderrorreporting/ErrorGroupStats.php | 107 + .../Clouderrorreporting/HttpRequestContext.php | 75 + .../Clouderrorreporting/ListEventsResponse.php | 50 + .../Clouderrorreporting/ListGroupStatsResponse.php | 50 + .../ReportErrorEventResponse.php | 20 + .../Clouderrorreporting/ReportedErrorEvent.php | 59 + .../Clouderrorreporting/Resource/Projects.php | 44 + .../Resource/ProjectsEvents.php | 85 + .../Resource/ProjectsGroupStats.php | 71 + .../Resource/ProjectsGroups.php | 62 + .../Service/Clouderrorreporting/ServiceContext.php | 48 + .../Service/Clouderrorreporting/SourceLocation.php | 48 + .../Service/Clouderrorreporting/TimedCount.php | 48 + .../Service/Clouderrorreporting/TrackingIssue.php | 30 + .../src/Google/Service/Cloudlatencytest.php | 71 + .../Service/Cloudlatencytest/AggregatedStats.php | 32 + .../Cloudlatencytest/AggregatedStatsReply.php | 30 + .../Service/Cloudlatencytest/DoubleValue.php | 39 + .../Google/Service/Cloudlatencytest/IntValue.php | 39 + .../src/Google/Service/Cloudlatencytest/Stats.php | 61 + .../Google/Service/Cloudlatencytest/StatsReply.php | 30 + .../Cloudlatencytest/StatscollectionResource.php | 54 + .../Service/Cloudlatencytest/StringValue.php | 39 + .../src/Google/Service/Compute.php | 5692 ++ .../src/Google/Service/Compute/AccessConfig.php | 57 + .../src/Google/Service/Compute/Address.php | 112 + .../Service/Compute/AddressAggregatedList.php | 67 + .../src/Google/Service/Compute/AddressList.php | 68 + .../Google/Service/Compute/AddressesScopedList.php | 42 + .../Service/Compute/AddressesScopedListWarning.php | 50 + .../Compute/AddressesScopedListWarningData.php | 39 + .../src/Google/Service/Compute/AttachedDisk.php | 132 + .../Compute/AttachedDiskInitializeParams.php | 67 + .../src/Google/Service/Compute/Autoscaler.php | 112 + .../Service/Compute/AutoscalerAggregatedList.php | 67 + .../src/Google/Service/Compute/AutoscalerList.php | 68 + .../Service/Compute/AutoscalersScopedList.php | 42 + .../Compute/AutoscalersScopedListWarning.php | 50 + .../Compute/AutoscalersScopedListWarningData.php | 39 + .../Google/Service/Compute/AutoscalingPolicy.php | 79 + .../Compute/AutoscalingPolicyCpuUtilization.php | 30 + .../AutoscalingPolicyCustomMetricUtilization.php | 48 + .../AutoscalingPolicyLoadBalancingUtilization.php | 30 + .../src/Google/Service/Compute/Backend.php | 102 + .../src/Google/Service/Compute/BackendBucket.php | 93 + .../Google/Service/Compute/BackendBucketList.php | 68 + .../src/Google/Service/Compute/BackendService.php | 195 + .../Compute/BackendServiceAggregatedList.php | 67 + .../Service/Compute/BackendServiceGroupHealth.php | 41 + .../Google/Service/Compute/BackendServiceList.php | 68 + .../Service/Compute/BackendServicesScopedList.php | 42 + .../Compute/BackendServicesScopedListWarning.php | 50 + .../BackendServicesScopedListWarningData.php | 39 + .../Service/Compute/CacheInvalidationRule.php | 39 + .../Google/Service/Compute/ConnectionDraining.php | 30 + .../Service/Compute/CustomerEncryptionKey.php | 39 + .../Compute/CustomerEncryptionKeyProtectedDisk.php | 40 + .../Google/Service/Compute/DeprecationStatus.php | 66 + .../src/Google/Service/Compute/Disk.php | 223 + .../Google/Service/Compute/DiskAggregatedList.php | 67 + .../src/Google/Service/Compute/DiskList.php | 68 + .../src/Google/Service/Compute/DiskMoveRequest.php | 39 + .../src/Google/Service/Compute/DiskType.php | 112 + .../Service/Compute/DiskTypeAggregatedList.php | 67 + .../src/Google/Service/Compute/DiskTypeList.php | 68 + .../Google/Service/Compute/DiskTypesScopedList.php | 42 + .../Service/Compute/DiskTypesScopedListWarning.php | 50 + .../Compute/DiskTypesScopedListWarningData.php | 39 + .../Google/Service/Compute/DisksResizeRequest.php | 30 + .../src/Google/Service/Compute/DisksScopedList.php | 42 + .../Service/Compute/DisksScopedListWarning.php | 50 + .../Service/Compute/DisksScopedListWarningData.php | 39 + .../src/Google/Service/Compute/Firewall.php | 122 + .../src/Google/Service/Compute/FirewallAllowed.php | 43 + .../src/Google/Service/Compute/FirewallList.php | 68 + .../src/Google/Service/Compute/ForwardingRule.php | 170 + .../Compute/ForwardingRuleAggregatedList.php | 67 + .../Google/Service/Compute/ForwardingRuleList.php | 68 + .../Service/Compute/ForwardingRulesScopedList.php | 42 + .../Compute/ForwardingRulesScopedListWarning.php | 50 + .../ForwardingRulesScopedListWarningData.php | 39 + .../src/Google/Service/Compute/GuestOsFeature.php | 30 + .../Google/Service/Compute/HTTP2HealthCheck.php | 66 + .../src/Google/Service/Compute/HealthCheck.php | 160 + .../src/Google/Service/Compute/HealthCheckList.php | 68 + .../Service/Compute/HealthCheckReference.php | 30 + .../src/Google/Service/Compute/HealthStatus.php | 57 + .../src/Google/Service/Compute/HostRule.php | 49 + .../src/Google/Service/Compute/HttpHealthCheck.php | 138 + .../Google/Service/Compute/HttpHealthCheckList.php | 68 + .../Google/Service/Compute/HttpsHealthCheck.php | 138 + .../Service/Compute/HttpsHealthCheckList.php | 68 + .../src/Google/Service/Compute/Image.php | 198 + .../src/Google/Service/Compute/ImageList.php | 68 + .../src/Google/Service/Compute/ImageRawDisk.php | 48 + .../src/Google/Service/Compute/Instance.php | 190 + .../Service/Compute/InstanceAggregatedList.php | 67 + .../src/Google/Service/Compute/InstanceGroup.php | 140 + .../Compute/InstanceGroupAggregatedList.php | 67 + .../Google/Service/Compute/InstanceGroupList.php | 68 + .../Service/Compute/InstanceGroupManager.php | 168 + .../Compute/InstanceGroupManagerActionsSummary.php | 93 + .../Compute/InstanceGroupManagerAggregatedList.php | 67 + .../Service/Compute/InstanceGroupManagerList.php | 68 + ...nstanceGroupManagersAbandonInstancesRequest.php | 31 + ...InstanceGroupManagersDeleteInstancesRequest.php | 31 + ...ceGroupManagersListManagedInstancesResponse.php | 32 + ...stanceGroupManagersRecreateInstancesRequest.php | 31 + .../Compute/InstanceGroupManagersScopedList.php | 42 + .../InstanceGroupManagersScopedListWarning.php | 50 + .../InstanceGroupManagersScopedListWarningData.php | 39 + ...anceGroupManagersSetInstanceTemplateRequest.php | 30 + .../InstanceGroupManagersSetTargetPoolsRequest.php | 40 + .../Compute/InstanceGroupsAddInstancesRequest.php | 32 + .../Compute/InstanceGroupsListInstances.php | 68 + .../Compute/InstanceGroupsListInstancesRequest.php | 30 + .../InstanceGroupsRemoveInstancesRequest.php | 32 + .../Service/Compute/InstanceGroupsScopedList.php | 42 + .../Compute/InstanceGroupsScopedListWarning.php | 50 + .../InstanceGroupsScopedListWarningData.php | 39 + .../Compute/InstanceGroupsSetNamedPortsRequest.php | 41 + .../src/Google/Service/Compute/InstanceList.php | 68 + .../Google/Service/Compute/InstanceMoveRequest.php | 39 + .../Google/Service/Compute/InstanceProperties.php | 109 + .../Google/Service/Compute/InstanceReference.php | 30 + .../Google/Service/Compute/InstanceTemplate.php | 85 + .../Service/Compute/InstanceTemplateList.php | 68 + .../Service/Compute/InstanceWithNamedPorts.php | 50 + .../Google/Service/Compute/InstancesScopedList.php | 42 + .../Service/Compute/InstancesScopedListWarning.php | 50 + .../Compute/InstancesScopedListWarningData.php | 39 + .../Compute/InstancesSetMachineTypeRequest.php | 30 + .../Compute/InstancesSetServiceAccountRequest.php | 40 + .../InstancesStartWithEncryptionKeyRequest.php | 32 + .../src/Google/Service/Compute/License.php | 57 + .../src/Google/Service/Compute/MachineType.php | 159 + .../Service/Compute/MachineTypeAggregatedList.php | 67 + .../src/Google/Service/Compute/MachineTypeList.php | 68 + .../Service/Compute/MachineTypeScratchDisks.php | 30 + .../Service/Compute/MachineTypesScopedList.php | 42 + .../Compute/MachineTypesScopedListWarning.php | 50 + .../Compute/MachineTypesScopedListWarningData.php | 39 + .../src/Google/Service/Compute/ManagedInstance.php | 67 + .../Service/Compute/ManagedInstanceLastAttempt.php | 31 + .../Compute/ManagedInstanceLastAttemptErrors.php | 32 + .../ManagedInstanceLastAttemptErrorsErrors.php | 48 + .../src/Google/Service/Compute/Metadata.php | 50 + .../src/Google/Service/Compute/MetadataItems.php | 39 + .../src/Google/Service/Compute/NamedPort.php | 39 + .../src/Google/Service/Compute/Network.php | 115 + .../Google/Service/Compute/NetworkInterface.php | 77 + .../src/Google/Service/Compute/NetworkList.php | 68 + .../src/Google/Service/Compute/Operation.php | 231 + .../Service/Compute/OperationAggregatedList.php | 67 + .../src/Google/Service/Compute/OperationError.php | 32 + .../Service/Compute/OperationErrorErrors.php | 48 + .../src/Google/Service/Compute/OperationList.php | 68 + .../Google/Service/Compute/OperationWarnings.php | 50 + .../Service/Compute/OperationWarningsData.php | 39 + .../Service/Compute/OperationsScopedList.php | 42 + .../Compute/OperationsScopedListWarning.php | 50 + .../Compute/OperationsScopedListWarningData.php | 39 + .../src/Google/Service/Compute/PathMatcher.php | 59 + .../src/Google/Service/Compute/PathRule.php | 40 + .../src/Google/Service/Compute/Project.php | 124 + .../src/Google/Service/Compute/Quota.php | 48 + .../src/Google/Service/Compute/Region.php | 114 + .../Service/Compute/RegionAutoscalerList.php | 68 + .../Service/Compute/RegionInstanceGroupList.php | 68 + .../Compute/RegionInstanceGroupManagerList.php | 68 + ...nstanceGroupManagersAbandonInstancesRequest.php | 31 + ...InstanceGroupManagersDeleteInstancesRequest.php | 31 + ...nInstanceGroupManagersListInstancesResponse.php | 32 + .../RegionInstanceGroupManagersRecreateRequest.php | 31 + ...nInstanceGroupManagersSetTargetPoolsRequest.php | 40 + ...gionInstanceGroupManagersSetTemplateRequest.php | 30 + .../Compute/RegionInstanceGroupsListInstances.php | 68 + .../RegionInstanceGroupsListInstancesRequest.php | 39 + .../RegionInstanceGroupsSetNamedPortsRequest.php | 41 + .../src/Google/Service/Compute/RegionList.php | 68 + .../Google/Service/Compute/Resource/Addresses.php | 188 + .../Service/Compute/Resource/Autoscalers.php | 224 + .../Service/Compute/Resource/BackendBuckets.php | 161 + .../Service/Compute/Resource/BackendServices.php | 241 + .../Google/Service/Compute/Resource/DiskTypes.php | 158 + .../src/Google/Service/Compute/Resource/Disks.php | 231 + .../Google/Service/Compute/Resource/Firewalls.php | 160 + .../Service/Compute/Resource/ForwardingRules.php | 207 + .../Service/Compute/Resource/GlobalAddresses.php | 128 + .../Compute/Resource/GlobalForwardingRules.php | 146 + .../Service/Compute/Resource/GlobalOperations.php | 170 + .../Service/Compute/Resource/HealthChecks.php | 162 + .../Service/Compute/Resource/HttpHealthChecks.php | 166 + .../Service/Compute/Resource/HttpsHealthChecks.php | 166 + .../src/Google/Service/Compute/Resource/Images.php | 166 + .../Compute/Resource/InstanceGroupManagers.php | 369 + .../Service/Compute/Resource/InstanceGroups.php | 309 + .../Service/Compute/Resource/InstanceTemplates.php | 136 + .../Google/Service/Compute/Resource/Instances.php | 455 + .../Google/Service/Compute/Resource/Licenses.php | 43 + .../Service/Compute/Resource/MachineTypes.php | 158 + .../Google/Service/Compute/Resource/Networks.php | 144 + .../Google/Service/Compute/Resource/Projects.php | 101 + .../Service/Compute/Resource/RegionAutoscalers.php | 167 + .../Compute/Resource/RegionBackendServices.php | 194 + .../Resource/RegionInstanceGroupManagers.php | 294 + .../Compute/Resource/RegionInstanceGroups.php | 182 + .../Service/Compute/Resource/RegionOperations.php | 117 + .../Google/Service/Compute/Resource/Regions.php | 100 + .../Google/Service/Compute/Resource/Routers.php | 256 + .../src/Google/Service/Compute/Resource/Routes.php | 129 + .../Google/Service/Compute/Resource/Snapshots.php | 119 + .../Service/Compute/Resource/SslCertificates.php | 129 + .../Service/Compute/Resource/Subnetworks.php | 206 + .../Service/Compute/Resource/TargetHttpProxies.php | 147 + .../Compute/Resource/TargetHttpsProxies.php | 164 + .../Service/Compute/Resource/TargetInstances.php | 190 + .../Service/Compute/Resource/TargetPools.php | 293 + .../Service/Compute/Resource/TargetSslProxies.php | 180 + .../Service/Compute/Resource/TargetVpnGateways.php | 190 + .../Google/Service/Compute/Resource/UrlMaps.php | 194 + .../Google/Service/Compute/Resource/VpnTunnels.php | 189 + .../Service/Compute/Resource/ZoneOperations.php | 117 + .../src/Google/Service/Compute/Resource/Zones.php | 100 + .../Service/Compute/ResourceGroupReference.php | 30 + .../src/Google/Service/Compute/Route.php | 167 + .../src/Google/Service/Compute/RouteList.php | 68 + .../src/Google/Service/Compute/RouteWarnings.php | 50 + .../Google/Service/Compute/RouteWarningsData.php | 39 + .../src/Google/Service/Compute/Router.php | 124 + .../Service/Compute/RouterAggregatedList.php | 67 + .../src/Google/Service/Compute/RouterBgp.php | 30 + .../src/Google/Service/Compute/RouterBgpPeer.php | 75 + .../src/Google/Service/Compute/RouterInterface.php | 48 + .../src/Google/Service/Compute/RouterList.php | 68 + .../src/Google/Service/Compute/RouterStatus.php | 51 + .../Service/Compute/RouterStatusBgpPeerStatus.php | 113 + .../Service/Compute/RouterStatusResponse.php | 40 + .../Service/Compute/RoutersPreviewResponse.php | 31 + .../Google/Service/Compute/RoutersScopedList.php | 42 + .../Service/Compute/RoutersScopedListWarning.php | 50 + .../Compute/RoutersScopedListWarningData.php | 39 + .../src/Google/Service/Compute/SSLHealthCheck.php | 66 + .../src/Google/Service/Compute/Scheduling.php | 48 + .../Google/Service/Compute/SerialPortOutput.php | 66 + .../src/Google/Service/Compute/ServiceAccount.php | 40 + .../src/Google/Service/Compute/Snapshot.php | 159 + .../src/Google/Service/Compute/SnapshotList.php | 68 + .../src/Google/Service/Compute/SslCertificate.php | 93 + .../Google/Service/Compute/SslCertificateList.php | 68 + .../src/Google/Service/Compute/Subnetwork.php | 111 + .../Service/Compute/SubnetworkAggregatedList.php | 67 + .../src/Google/Service/Compute/SubnetworkList.php | 68 + .../SubnetworksExpandIpCidrRangeRequest.php | 30 + .../Service/Compute/SubnetworksScopedList.php | 42 + .../Compute/SubnetworksScopedListWarning.php | 50 + .../Compute/SubnetworksScopedListWarningData.php | 39 + .../src/Google/Service/Compute/TCPHealthCheck.php | 66 + .../src/Google/Service/Compute/Tags.php | 40 + .../src/Google/Service/Compute/TargetHttpProxy.php | 84 + .../Google/Service/Compute/TargetHttpProxyList.php | 68 + ...TargetHttpsProxiesSetSslCertificatesRequest.php | 31 + .../Google/Service/Compute/TargetHttpsProxy.php | 94 + .../Service/Compute/TargetHttpsProxyList.php | 68 + .../src/Google/Service/Compute/TargetInstance.php | 102 + .../Compute/TargetInstanceAggregatedList.php | 67 + .../Google/Service/Compute/TargetInstanceList.php | 68 + .../Service/Compute/TargetInstancesScopedList.php | 42 + .../Compute/TargetInstancesScopedListWarning.php | 50 + .../TargetInstancesScopedListWarningData.php | 39 + .../src/Google/Service/Compute/TargetPool.php | 130 + .../Service/Compute/TargetPoolAggregatedList.php | 67 + .../Service/Compute/TargetPoolInstanceHealth.php | 41 + .../src/Google/Service/Compute/TargetPoolList.php | 68 + .../Compute/TargetPoolsAddHealthCheckRequest.php | 32 + .../Compute/TargetPoolsAddInstanceRequest.php | 32 + .../TargetPoolsRemoveHealthCheckRequest.php | 32 + .../Compute/TargetPoolsRemoveInstanceRequest.php | 32 + .../Service/Compute/TargetPoolsScopedList.php | 42 + .../Compute/TargetPoolsScopedListWarning.php | 50 + .../Compute/TargetPoolsScopedListWarningData.php | 39 + .../src/Google/Service/Compute/TargetReference.php | 30 + .../TargetSslProxiesSetBackendServiceRequest.php | 30 + .../TargetSslProxiesSetProxyHeaderRequest.php | 30 + .../TargetSslProxiesSetSslCertificatesRequest.php | 31 + .../src/Google/Service/Compute/TargetSslProxy.php | 103 + .../Google/Service/Compute/TargetSslProxyList.php | 68 + .../Google/Service/Compute/TargetVpnGateway.php | 121 + .../Compute/TargetVpnGatewayAggregatedList.php | 67 + .../Service/Compute/TargetVpnGatewayList.php | 68 + .../Compute/TargetVpnGatewaysScopedList.php | 42 + .../Compute/TargetVpnGatewaysScopedListWarning.php | 50 + .../TargetVpnGatewaysScopedListWarningData.php | 39 + .../src/Google/Service/Compute/TestFailure.php | 57 + .../src/Google/Service/Compute/UrlMap.php | 124 + .../src/Google/Service/Compute/UrlMapList.php | 68 + .../src/Google/Service/Compute/UrlMapReference.php | 30 + .../src/Google/Service/Compute/UrlMapTest.php | 57 + .../Service/Compute/UrlMapValidationResult.php | 59 + .../Service/Compute/UrlMapsValidateRequest.php | 31 + .../Service/Compute/UrlMapsValidateResponse.php | 31 + .../Google/Service/Compute/UsageExportLocation.php | 39 + .../src/Google/Service/Compute/VpnTunnel.php | 175 + .../Service/Compute/VpnTunnelAggregatedList.php | 67 + .../src/Google/Service/Compute/VpnTunnelList.php | 68 + .../Service/Compute/VpnTunnelsScopedList.php | 42 + .../Compute/VpnTunnelsScopedListWarning.php | 50 + .../Compute/VpnTunnelsScopedListWarningData.php | 39 + .../src/Google/Service/Compute/Zone.php | 103 + .../src/Google/Service/Compute/ZoneList.php | 68 + .../src/Google/Service/ConsumerSurveys.php | 210 + .../Google/Service/ConsumerSurveys/FieldMask.php | 41 + .../Service/ConsumerSurveys/MobileAppPanel.php | 76 + .../MobileAppPanelsListResponse.php | 61 + .../Google/Service/ConsumerSurveys/PageInfo.php | 48 + .../ConsumerSurveys/Resource/Mobileapppanels.php | 74 + .../Service/ConsumerSurveys/Resource/Results.php | 43 + .../Service/ConsumerSurveys/Resource/Surveys.php | 125 + .../Service/ConsumerSurveys/ResultsGetRequest.php | 31 + .../Google/Service/ConsumerSurveys/ResultsMask.php | 41 + .../src/Google/Service/ConsumerSurveys/Survey.php | 125 + .../Service/ConsumerSurveys/SurveyAudience.php | 85 + .../Google/Service/ConsumerSurveys/SurveyCost.php | 57 + .../Service/ConsumerSurveys/SurveyQuestion.php | 185 + .../ConsumerSurveys/SurveyQuestionImage.php | 48 + .../Service/ConsumerSurveys/SurveyRejection.php | 39 + .../Service/ConsumerSurveys/SurveyResults.php | 39 + .../ConsumerSurveys/SurveysDeleteResponse.php | 30 + .../ConsumerSurveys/SurveysListResponse.php | 61 + .../ConsumerSurveys/SurveysStartRequest.php | 30 + .../ConsumerSurveys/SurveysStartResponse.php | 40 + .../ConsumerSurveys/SurveysStopResponse.php | 40 + .../Service/ConsumerSurveys/TokenPagination.php | 39 + .../src/Google/Service/Container.php | 397 + .../src/Google/Service/Container/AddonsConfig.php | 41 + .../Service/Container/AutoUpgradeOptions.php | 39 + .../Service/Container/CancelOperationRequest.php | 20 + .../src/Google/Service/Container/Cluster.php | 278 + .../src/Google/Service/Container/ClusterUpdate.php | 96 + .../Google/Service/Container/ContainerEmpty.php | 20 + .../Service/Container/CreateClusterRequest.php | 31 + .../Service/Container/CreateNodePoolRequest.php | 31 + .../Service/Container/HorizontalPodAutoscaling.php | 30 + .../Google/Service/Container/HttpLoadBalancing.php | 30 + .../Service/Container/ListClustersResponse.php | 41 + .../Service/Container/ListNodePoolsResponse.php | 32 + .../Service/Container/ListOperationsResponse.php | 41 + .../src/Google/Service/Container/MasterAuth.php | 66 + .../src/Google/Service/Container/NodeConfig.php | 112 + .../Google/Service/Container/NodeManagement.php | 40 + .../src/Google/Service/Container/NodePool.php | 115 + .../Service/Container/NodePoolAutoscaling.php | 48 + .../src/Google/Service/Container/Operation.php | 93 + .../Google/Service/Container/Resource/Projects.php | 28 + .../Service/Container/Resource/ProjectsZones.php | 45 + .../Container/Resource/ProjectsZonesClusters.php | 126 + .../Resource/ProjectsZonesClustersNodePools.php | 139 + .../Container/Resource/ProjectsZonesOperations.php | 81 + .../Container/RollbackNodePoolUpgradeRequest.php | 20 + .../src/Google/Service/Container/ServerConfig.php | 67 + .../Container/SetNodePoolManagementRequest.php | 31 + .../Service/Container/UpdateClusterRequest.php | 31 + .../src/Google/Service/Coordinate.php | 467 + .../src/Google/Service/Coordinate/CustomField.php | 48 + .../Google/Service/Coordinate/CustomFieldDef.php | 86 + .../Coordinate/CustomFieldDefListResponse.php | 41 + .../src/Google/Service/Coordinate/CustomFields.php | 41 + .../src/Google/Service/Coordinate/EnumItemDef.php | 48 + .../src/Google/Service/Coordinate/Job.php | 60 + .../src/Google/Service/Coordinate/JobChange.php | 49 + .../Google/Service/Coordinate/JobListResponse.php | 50 + .../src/Google/Service/Coordinate/JobState.php | 105 + .../src/Google/Service/Coordinate/Location.php | 58 + .../Service/Coordinate/LocationListResponse.php | 60 + .../Google/Service/Coordinate/LocationRecord.php | 66 + .../Service/Coordinate/Resource/CustomFieldDef.php | 42 + .../Google/Service/Coordinate/Resource/Jobs.php | 159 + .../Service/Coordinate/Resource/Location.php | 47 + .../Service/Coordinate/Resource/Schedule.php | 85 + .../Google/Service/Coordinate/Resource/Team.php | 47 + .../Google/Service/Coordinate/Resource/Worker.php | 41 + .../src/Google/Service/Coordinate/Schedule.php | 66 + .../src/Google/Service/Coordinate/Team.php | 48 + .../Google/Service/Coordinate/TeamListResponse.php | 41 + .../Google/Service/Coordinate/TokenPagination.php | 48 + .../src/Google/Service/Coordinate/Worker.php | 39 + .../Service/Coordinate/WorkerListResponse.php | 41 + .../src/Google/Service/Customsearch.php | 195 + .../src/Google/Service/Customsearch/Context.php | 41 + .../Google/Service/Customsearch/ContextFacets.php | 51 + .../src/Google/Service/Customsearch/Promotion.php | 78 + .../Service/Customsearch/PromotionBodyLines.php | 57 + .../Google/Service/Customsearch/PromotionImage.php | 48 + .../src/Google/Service/Customsearch/Query.php | 354 + .../Google/Service/Customsearch/Resource/Cse.php | 94 + .../src/Google/Service/Customsearch/Result.php | 159 + .../Google/Service/Customsearch/ResultImage.php | 84 + .../Google/Service/Customsearch/ResultLabels.php | 51 + .../src/Google/Service/Customsearch/Search.php | 101 + .../Customsearch/SearchSearchInformation.php | 57 + .../Google/Service/Customsearch/SearchSpelling.php | 39 + .../src/Google/Service/Customsearch/SearchUrl.php | 39 + .../src/Google/Service/DataTransfer.php | 147 + .../Google/Service/DataTransfer/Application.php | 68 + .../DataTransfer/ApplicationDataTransfer.php | 50 + .../DataTransfer/ApplicationTransferParam.php | 40 + .../DataTransfer/ApplicationsListResponse.php | 59 + .../Google/Service/DataTransfer/DataTransfer.php | 95 + .../DataTransfer/DataTransfersListResponse.php | 59 + .../Service/DataTransfer/Resource/Applications.php | 60 + .../Service/DataTransfer/Resource/Transfers.php | 76 + .../src/Google/Service/Dataflow.php | 628 + .../Service/Dataflow/ApproximateProgress.php | 49 + .../Dataflow/ApproximateReportedProgress.php | 60 + .../Service/Dataflow/ApproximateSplitRequest.php | 40 + .../Service/Dataflow/AutoscalingSettings.php | 39 + .../src/Google/Service/Dataflow/CPUTime.php | 48 + .../Google/Service/Dataflow/ComponentSource.php | 48 + .../Google/Service/Dataflow/ComponentTransform.php | 48 + .../Service/Dataflow/ComputationTopology.php | 89 + .../src/Google/Service/Dataflow/ConcatPosition.php | 40 + .../Google/Service/Dataflow/CounterMetadata.php | 57 + .../Service/Dataflow/CounterStructuredName.php | 93 + .../Dataflow/CounterStructuredNameAndMetadata.php | 41 + .../src/Google/Service/Dataflow/CounterUpdate.php | 156 + .../Dataflow/CreateJobFromTemplateRequest.php | 58 + .../Service/Dataflow/CustomSourceLocation.php | 30 + .../Google/Service/Dataflow/DataDiskAssignment.php | 40 + .../src/Google/Service/Dataflow/DerivedSource.php | 40 + .../src/Google/Service/Dataflow/Disk.php | 48 + .../src/Google/Service/Dataflow/DisplayData.php | 129 + .../Google/Service/Dataflow/DistributionUpdate.php | 70 + .../Google/Service/Dataflow/DynamicSourceSplit.php | 41 + .../src/Google/Service/Dataflow/Environment.php | 113 + .../Service/Dataflow/ExecutionStageSummary.php | 89 + .../src/Google/Service/Dataflow/FailedLocation.php | 30 + .../Google/Service/Dataflow/FlattenInstruction.php | 32 + .../Google/Service/Dataflow/FloatingPointList.php | 31 + .../Google/Service/Dataflow/FloatingPointMean.php | 40 + .../Service/Dataflow/GetDebugConfigRequest.php | 39 + .../Service/Dataflow/GetDebugConfigResponse.php | 30 + .../Service/Dataflow/GetTemplateResponse.php | 41 + .../Google/Service/Dataflow/InstructionInput.php | 39 + .../Google/Service/Dataflow/InstructionOutput.php | 75 + .../src/Google/Service/Dataflow/IntegerList.php | 32 + .../src/Google/Service/Dataflow/IntegerMean.php | 41 + .../src/Google/Service/Dataflow/Job.php | 197 + .../Google/Service/Dataflow/JobExecutionInfo.php | 31 + .../Service/Dataflow/JobExecutionStageInfo.php | 31 + .../src/Google/Service/Dataflow/JobMessage.php | 57 + .../src/Google/Service/Dataflow/JobMetrics.php | 41 + .../Dataflow/KeyRangeDataDiskAssignment.php | 48 + .../Google/Service/Dataflow/KeyRangeLocation.php | 66 + .../Service/Dataflow/LaunchTemplateParameters.php | 49 + .../Service/Dataflow/LaunchTemplateResponse.php | 41 + .../Service/Dataflow/LeaseWorkItemRequest.php | 76 + .../Service/Dataflow/LeaseWorkItemResponse.php | 32 + .../Service/Dataflow/ListJobMessagesResponse.php | 41 + .../Google/Service/Dataflow/ListJobsResponse.php | 51 + .../src/Google/Service/Dataflow/MapTask.php | 50 + .../src/Google/Service/Dataflow/MetricShortId.php | 39 + .../Service/Dataflow/MetricStructuredName.php | 48 + .../src/Google/Service/Dataflow/MetricUpdate.php | 103 + .../Google/Service/Dataflow/MountedDataDisk.php | 30 + .../Google/Service/Dataflow/MultiOutputInfo.php | 30 + .../src/Google/Service/Dataflow/NameAndKind.php | 39 + .../src/Google/Service/Dataflow/Package.php | 39 + .../Google/Service/Dataflow/ParDoInstruction.php | 70 + .../Service/Dataflow/ParallelInstruction.php | 109 + .../Google/Service/Dataflow/ParameterMetadata.php | 67 + .../Dataflow/PartialGroupByKeyInstruction.php | 78 + .../Service/Dataflow/PipelineDescription.php | 52 + .../src/Google/Service/Dataflow/Position.php | 76 + .../src/Google/Service/Dataflow/PubsubLocation.php | 84 + .../Google/Service/Dataflow/ReadInstruction.php | 31 + .../Dataflow/ReportWorkItemStatusRequest.php | 59 + .../Dataflow/ReportWorkItemStatusResponse.php | 32 + .../Service/Dataflow/ReportedParallelism.php | 39 + .../Google/Service/Dataflow/Resource/Projects.php | 42 + .../Service/Dataflow/Resource/ProjectsJobs.php | 127 + .../Dataflow/Resource/ProjectsJobsDebug.php | 59 + .../Dataflow/Resource/ProjectsJobsMessages.php | 58 + .../Dataflow/Resource/ProjectsJobsWorkItems.php | 59 + .../Dataflow/Resource/ProjectsLocations.php | 28 + .../Dataflow/Resource/ProjectsLocationsJobs.php | 126 + .../Resource/ProjectsLocationsJobsMessages.php | 58 + .../Resource/ProjectsLocationsJobsWorkItems.php | 61 + .../Dataflow/Resource/ProjectsTemplates.php | 84 + .../Service/Dataflow/ResourceUtilizationReport.php | 32 + .../Dataflow/ResourceUtilizationReportResponse.php | 20 + .../Google/Service/Dataflow/RuntimeEnvironment.php | 66 + .../Service/Dataflow/SendDebugCaptureRequest.php | 48 + .../Service/Dataflow/SendDebugCaptureResponse.php | 20 + .../Service/Dataflow/SendWorkerMessagesRequest.php | 32 + .../Dataflow/SendWorkerMessagesResponse.php | 32 + .../src/Google/Service/Dataflow/SeqMapTask.php | 78 + .../Service/Dataflow/SeqMapTaskOutputInfo.php | 40 + .../src/Google/Service/Dataflow/ShellTask.php | 39 + .../src/Google/Service/Dataflow/SideInputInfo.php | 50 + .../src/Google/Service/Dataflow/Sink.php | 39 + .../src/Google/Service/Dataflow/Source.php | 68 + .../src/Google/Service/Dataflow/SourceFork.php | 61 + .../Service/Dataflow/SourceGetMetadataRequest.php | 31 + .../Service/Dataflow/SourceGetMetadataResponse.php | 31 + .../src/Google/Service/Dataflow/SourceMetadata.php | 48 + .../Service/Dataflow/SourceOperationRequest.php | 41 + .../Service/Dataflow/SourceOperationResponse.php | 41 + .../Google/Service/Dataflow/SourceSplitOptions.php | 39 + .../Google/Service/Dataflow/SourceSplitRequest.php | 41 + .../Service/Dataflow/SourceSplitResponse.php | 51 + .../Google/Service/Dataflow/SourceSplitShard.php | 40 + .../src/Google/Service/Dataflow/SplitInt64.php | 39 + .../src/Google/Service/Dataflow/StageSource.php | 57 + .../Google/Service/Dataflow/StateFamilyConfig.php | 39 + .../src/Google/Service/Dataflow/Status.php | 49 + .../src/Google/Service/Dataflow/Step.php | 48 + .../src/Google/Service/Dataflow/StreamLocation.php | 61 + .../Dataflow/StreamingComputationConfig.php | 59 + .../Dataflow/StreamingComputationRanges.php | 41 + .../Service/Dataflow/StreamingComputationTask.php | 51 + .../Service/Dataflow/StreamingConfigTask.php | 41 + .../Google/Service/Dataflow/StreamingSetupTask.php | 58 + .../Dataflow/StreamingSideInputLocation.php | 39 + .../Service/Dataflow/StreamingStageLocation.php | 30 + .../src/Google/Service/Dataflow/StringList.php | 31 + .../Google/Service/Dataflow/TaskRunnerSettings.php | 194 + .../Google/Service/Dataflow/TemplateMetadata.php | 59 + .../src/Google/Service/Dataflow/TopologyConfig.php | 69 + .../Google/Service/Dataflow/TransformSummary.php | 77 + .../src/Google/Service/Dataflow/WorkItem.php | 165 + .../Service/Dataflow/WorkItemServiceState.php | 98 + .../src/Google/Service/Dataflow/WorkItemStatus.php | 148 + .../Google/Service/Dataflow/WorkerHealthReport.php | 58 + .../Dataflow/WorkerHealthReportResponse.php | 30 + .../src/Google/Service/Dataflow/WorkerMessage.php | 69 + .../Google/Service/Dataflow/WorkerMessageCode.php | 39 + .../Service/Dataflow/WorkerMessageResponse.php | 41 + .../src/Google/Service/Dataflow/WorkerPool.php | 215 + .../src/Google/Service/Dataflow/WorkerSettings.php | 75 + .../Google/Service/Dataflow/WriteInstruction.php | 41 + .../src/Google/Service/Dataproc.php | 397 + .../Google/Service/Dataproc/AcceleratorConfig.php | 39 + .../Google/Service/Dataproc/CancelJobRequest.php | 20 + .../src/Google/Service/Dataproc/Cluster.php | 98 + .../src/Google/Service/Dataproc/ClusterConfig.php | 91 + .../src/Google/Service/Dataproc/ClusterMetrics.php | 39 + .../Service/Dataproc/ClusterOperationMetadata.php | 96 + .../Service/Dataproc/ClusterOperationStatus.php | 57 + .../src/Google/Service/Dataproc/ClusterStatus.php | 48 + .../src/Google/Service/Dataproc/DataprocEmpty.php | 20 + .../Dataproc/DiagnoseClusterOutputLocation.php | 30 + .../Service/Dataproc/DiagnoseClusterRequest.php | 20 + .../Service/Dataproc/DiagnoseClusterResults.php | 30 + .../src/Google/Service/Dataproc/DiskConfig.php | 39 + .../Google/Service/Dataproc/GceClusterConfig.php | 94 + .../src/Google/Service/Dataproc/HadoopJob.php | 95 + .../src/Google/Service/Dataproc/HiveJob.php | 77 + .../Service/Dataproc/InstanceGroupConfig.php | 97 + .../src/Google/Service/Dataproc/Job.php | 169 + .../src/Google/Service/Dataproc/JobPlacement.php | 39 + .../src/Google/Service/Dataproc/JobReference.php | 39 + .../src/Google/Service/Dataproc/JobScheduling.php | 30 + .../src/Google/Service/Dataproc/JobStatus.php | 48 + .../Service/Dataproc/ListClustersResponse.php | 41 + .../Google/Service/Dataproc/ListJobsResponse.php | 41 + .../Service/Dataproc/ListOperationsResponse.php | 41 + .../src/Google/Service/Dataproc/LoggingConfig.php | 30 + .../Google/Service/Dataproc/ManagedGroupConfig.php | 39 + .../Service/Dataproc/NodeInitializationAction.php | 39 + .../src/Google/Service/Dataproc/Operation.php | 67 + .../Google/Service/Dataproc/OperationMetadata.php | 141 + .../Google/Service/Dataproc/OperationStatus.php | 57 + .../src/Google/Service/Dataproc/PigJob.php | 87 + .../src/Google/Service/Dataproc/PySparkJob.php | 95 + .../src/Google/Service/Dataproc/QueryList.php | 31 + .../Google/Service/Dataproc/Resource/Projects.php | 28 + .../Service/Dataproc/Resource/ProjectsRegions.php | 28 + .../Dataproc/Resource/ProjectsRegionsClusters.php | 162 + .../Dataproc/Resource/ProjectsRegionsJobs.php | 156 + .../Resource/ProjectsRegionsOperations.php | 101 + .../src/Google/Service/Dataproc/SoftwareConfig.php | 39 + .../src/Google/Service/Dataproc/SparkJob.php | 95 + .../src/Google/Service/Dataproc/SparkSqlJob.php | 78 + .../src/Google/Service/Dataproc/Status.php | 49 + .../Google/Service/Dataproc/SubmitJobRequest.php | 31 + .../Google/Service/Dataproc/YarnApplication.php | 57 + .../src/Google/Service/Datastore.php | 127 + .../Service/Datastore/AllocateIdsRequest.php | 32 + .../Service/Datastore/AllocateIdsResponse.php | 32 + .../src/Google/Service/Datastore/ArrayValue.php | 32 + .../Service/Datastore/BeginTransactionRequest.php | 20 + .../Service/Datastore/BeginTransactionResponse.php | 30 + .../src/Google/Service/Datastore/CommitRequest.php | 50 + .../Google/Service/Datastore/CommitResponse.php | 41 + .../Google/Service/Datastore/CompositeFilter.php | 41 + .../src/Google/Service/Datastore/Entity.php | 41 + .../src/Google/Service/Datastore/EntityResult.php | 49 + .../src/Google/Service/Datastore/Filter.php | 41 + .../src/Google/Service/Datastore/GqlQuery.php | 60 + .../Google/Service/Datastore/GqlQueryParameter.php | 40 + .../src/Google/Service/Datastore/Key.php | 42 + .../Google/Service/Datastore/KindExpression.php | 30 + .../src/Google/Service/Datastore/LatLng.php | 39 + .../src/Google/Service/Datastore/LookupRequest.php | 42 + .../Google/Service/Datastore/LookupResponse.php | 52 + .../src/Google/Service/Datastore/Mutation.php | 70 + .../Google/Service/Datastore/MutationResult.php | 49 + .../src/Google/Service/Datastore/PartitionId.php | 39 + .../src/Google/Service/Datastore/PathElement.php | 48 + .../src/Google/Service/Datastore/Projection.php | 31 + .../Google/Service/Datastore/PropertyFilter.php | 50 + .../src/Google/Service/Datastore/PropertyOrder.php | 40 + .../Google/Service/Datastore/PropertyReference.php | 30 + .../src/Google/Service/Datastore/Query.php | 108 + .../Google/Service/Datastore/QueryResultBatch.php | 86 + .../src/Google/Service/Datastore/ReadOptions.php | 39 + .../Google/Service/Datastore/Resource/Projects.php | 120 + .../Google/Service/Datastore/RollbackRequest.php | 30 + .../Google/Service/Datastore/RollbackResponse.php | 20 + .../Google/Service/Datastore/RunQueryRequest.php | 61 + .../Google/Service/Datastore/RunQueryResponse.php | 41 + .../src/Google/Service/Datastore/Value.php | 142 + .../src/Google/Service/DeploymentManager.php | 488 + .../Service/DeploymentManager/AuditConfig.php | 50 + .../Service/DeploymentManager/AuditLogConfig.php | 40 + .../Google/Service/DeploymentManager/Binding.php | 40 + .../Google/Service/DeploymentManager/Condition.php | 76 + .../Service/DeploymentManager/ConfigFile.php | 30 + .../Service/DeploymentManager/Deployment.php | 125 + .../DeploymentManager/DeploymentLabelEntry.php | 39 + .../Service/DeploymentManager/DeploymentUpdate.php | 50 + .../DeploymentUpdateLabelEntry.php | 39 + .../DeploymentmanagerResource.php | 133 + .../DeploymentmanagerResourceWarnings.php | 50 + .../DeploymentmanagerResourceWarningsData.php | 39 + .../DeploymentsCancelPreviewRequest.php | 30 + .../DeploymentManager/DeploymentsListResponse.php | 41 + .../DeploymentManager/DeploymentsStopRequest.php | 30 + .../Service/DeploymentManager/ImportFile.php | 39 + .../Google/Service/DeploymentManager/LogConfig.php | 31 + .../DeploymentManager/LogConfigCounterOptions.php | 39 + .../Google/Service/DeploymentManager/Manifest.php | 96 + .../DeploymentManager/ManifestsListResponse.php | 41 + .../Google/Service/DeploymentManager/Operation.php | 231 + .../Service/DeploymentManager/OperationError.php | 32 + .../DeploymentManager/OperationErrorErrors.php | 48 + .../DeploymentManager/OperationWarnings.php | 50 + .../DeploymentManager/OperationWarningsData.php | 39 + .../DeploymentManager/OperationsListResponse.php | 41 + .../Google/Service/DeploymentManager/Policy.php | 79 + .../DeploymentManager/Resource/Deployments.php | 279 + .../DeploymentManager/Resource/Manifests.php | 100 + .../DeploymentManager/Resource/Operations.php | 98 + .../DeploymentManager/Resource/Resources.php | 100 + .../Service/DeploymentManager/Resource/Types.php | 84 + .../DeploymentManager/ResourceAccessControl.php | 30 + .../Service/DeploymentManager/ResourceUpdate.php | 97 + .../DeploymentManager/ResourceUpdateError.php | 32 + .../ResourceUpdateErrorErrors.php | 48 + .../DeploymentManager/ResourceUpdateWarnings.php | 50 + .../ResourceUpdateWarningsData.php | 39 + .../DeploymentManager/ResourcesListResponse.php | 41 + .../src/Google/Service/DeploymentManager/Rule.php | 87 + .../DeploymentManager/TargetConfiguration.php | 42 + .../DeploymentManager/TestPermissionsRequest.php | 31 + .../DeploymentManager/TestPermissionsResponse.php | 31 + .../src/Google/Service/DeploymentManager/Type.php | 67 + .../DeploymentManager/TypesListResponse.php | 41 + .../src/Google/Service/Dfareporting.php | 4816 ++ .../src/Google/Service/Dfareporting/Account.php | 194 + .../Dfareporting/AccountActiveAdSummary.php | 66 + .../Service/Dfareporting/AccountPermission.php | 76 + .../Dfareporting/AccountPermissionGroup.php | 48 + .../AccountPermissionGroupsListResponse.php | 41 + .../AccountPermissionsListResponse.php | 41 + .../Service/Dfareporting/AccountUserProfile.php | 169 + .../AccountUserProfilesListResponse.php | 50 + .../Service/Dfareporting/AccountsListResponse.php | 50 + .../src/Google/Service/Dfareporting/Activities.php | 50 + .../src/Google/Service/Dfareporting/Ad.php | 393 + .../src/Google/Service/Dfareporting/AdSlot.php | 93 + .../Service/Dfareporting/AdsListResponse.php | 50 + .../src/Google/Service/Dfareporting/Advertiser.php | 158 + .../Service/Dfareporting/AdvertiserGroup.php | 57 + .../Dfareporting/AdvertiserGroupsListResponse.php | 50 + .../Dfareporting/AdvertisersListResponse.php | 50 + .../Service/Dfareporting/AudienceSegment.php | 48 + .../Service/Dfareporting/AudienceSegmentGroup.php | 50 + .../src/Google/Service/Dfareporting/Browser.php | 75 + .../Service/Dfareporting/BrowsersListResponse.php | 41 + .../src/Google/Service/Dfareporting/Campaign.php | 276 + .../Dfareporting/CampaignCreativeAssociation.php | 39 + .../CampaignCreativeAssociationsListResponse.php | 50 + .../Service/Dfareporting/CampaignsListResponse.php | 50 + .../src/Google/Service/Dfareporting/ChangeLog.php | 147 + .../Dfareporting/ChangeLogsListResponse.php | 50 + .../Service/Dfareporting/CitiesListResponse.php | 41 + .../src/Google/Service/Dfareporting/City.php | 102 + .../src/Google/Service/Dfareporting/ClickTag.php | 48 + .../Service/Dfareporting/ClickThroughUrl.php | 57 + .../ClickThroughUrlSuffixProperties.php | 39 + .../Dfareporting/CompanionClickThroughOverride.php | 40 + .../Service/Dfareporting/CompanionSetting.php | 59 + .../Service/Dfareporting/CompatibleFields.php | 80 + .../Google/Service/Dfareporting/ConnectionType.php | 48 + .../Dfareporting/ConnectionTypesListResponse.php | 41 + .../Dfareporting/ContentCategoriesListResponse.php | 50 + .../Service/Dfareporting/ContentCategory.php | 57 + .../src/Google/Service/Dfareporting/Conversion.php | 140 + .../Service/Dfareporting/ConversionError.php | 48 + .../Service/Dfareporting/ConversionStatus.php | 51 + .../Dfareporting/ConversionsBatchInsertRequest.php | 51 + .../ConversionsBatchInsertResponse.php | 50 + .../Service/Dfareporting/CountriesListResponse.php | 41 + .../src/Google/Service/Dfareporting/Country.php | 66 + .../src/Google/Service/Dfareporting/Creative.php | 599 + .../Google/Service/Dfareporting/CreativeAsset.php | 426 + .../Service/Dfareporting/CreativeAssetId.php | 39 + .../Service/Dfareporting/CreativeAssetMetadata.php | 88 + .../Dfareporting/CreativeAssetSelection.php | 41 + .../Service/Dfareporting/CreativeAssignment.php | 144 + .../Service/Dfareporting/CreativeCustomEvent.php | 112 + .../Google/Service/Dfareporting/CreativeField.php | 85 + .../Dfareporting/CreativeFieldAssignment.php | 39 + .../Service/Dfareporting/CreativeFieldValue.php | 48 + .../CreativeFieldValuesListResponse.php | 50 + .../Dfareporting/CreativeFieldsListResponse.php | 50 + .../Google/Service/Dfareporting/CreativeGroup.php | 94 + .../Dfareporting/CreativeGroupAssignment.php | 39 + .../Dfareporting/CreativeGroupsListResponse.php | 50 + .../CreativeOptimizationConfiguration.php | 59 + .../Service/Dfareporting/CreativeRotation.php | 59 + .../Service/Dfareporting/CreativeSettings.php | 39 + .../Service/Dfareporting/CreativesListResponse.php | 50 + .../CrossDimensionReachReportCompatibleFields.php | 71 + .../Dfareporting/CustomFloodlightVariable.php | 48 + .../Service/Dfareporting/CustomRichMediaEvents.php | 41 + .../src/Google/Service/Dfareporting/DateRange.php | 57 + .../Service/Dfareporting/DayPartTargeting.php | 49 + .../DefaultClickThroughEventTagProperties.php | 39 + .../Service/Dfareporting/DeliverySchedule.php | 58 + .../Service/Dfareporting/DfareportingFile.php | 113 + .../Service/Dfareporting/DfareportingFileUrls.php | 39 + .../Google/Service/Dfareporting/DfpSettings.php | 70 + .../src/Google/Service/Dfareporting/Dimension.php | 39 + .../Service/Dfareporting/DimensionFilter.php | 48 + .../Google/Service/Dfareporting/DimensionValue.php | 75 + .../Service/Dfareporting/DimensionValueList.php | 59 + .../Service/Dfareporting/DimensionValueRequest.php | 68 + .../Google/Service/Dfareporting/DirectorySite.php | 151 + .../Service/Dfareporting/DirectorySiteContact.php | 111 + .../DirectorySiteContactAssignment.php | 39 + .../DirectorySiteContactsListResponse.php | 50 + .../Service/Dfareporting/DirectorySiteSettings.php | 89 + .../Dfareporting/DirectorySitesListResponse.php | 50 + .../Service/Dfareporting/DynamicTargetingKey.php | 57 + .../DynamicTargetingKeysListResponse.php | 41 + .../Google/Service/Dfareporting/EncryptionInfo.php | 57 + .../src/Google/Service/Dfareporting/EventTag.php | 186 + .../Service/Dfareporting/EventTagOverride.php | 39 + .../Service/Dfareporting/EventTagsListResponse.php | 41 + .../src/Google/Service/Dfareporting/FileList.php | 59 + .../src/Google/Service/Dfareporting/Flight.php | 57 + .../FloodlightActivitiesGenerateTagResponse.php | 39 + .../FloodlightActivitiesListResponse.php | 50 + .../Service/Dfareporting/FloodlightActivity.php | 279 + .../Dfareporting/FloodlightActivityDynamicTag.php | 48 + .../Dfareporting/FloodlightActivityGroup.php | 132 + .../FloodlightActivityGroupsListResponse.php | 50 + .../FloodlightActivityPublisherDynamicTag.php | 77 + .../Dfareporting/FloodlightConfiguration.php | 191 + .../FloodlightConfigurationsListResponse.php | 41 + .../FloodlightReportCompatibleFields.php | 61 + .../Google/Service/Dfareporting/FrequencyCap.php | 39 + .../src/Google/Service/Dfareporting/FsCommand.php | 66 + .../Google/Service/Dfareporting/GeoTargeting.php | 81 + .../Google/Service/Dfareporting/InventoryItem.php | 205 + .../Dfareporting/InventoryItemsListResponse.php | 50 + .../Dfareporting/KeyValueTargetingExpression.php | 30 + .../Google/Service/Dfareporting/LandingPage.php | 66 + .../Dfareporting/LandingPagesListResponse.php | 41 + .../src/Google/Service/Dfareporting/Language.php | 57 + .../Service/Dfareporting/LanguageTargeting.php | 32 + .../Service/Dfareporting/LanguagesListResponse.php | 41 + .../Service/Dfareporting/LastModifiedInfo.php | 30 + .../Service/Dfareporting/ListPopulationClause.php | 32 + .../Service/Dfareporting/ListPopulationRule.php | 50 + .../Service/Dfareporting/ListPopulationTerm.php | 93 + .../Dfareporting/ListTargetingExpression.php | 30 + .../Service/Dfareporting/LookbackConfiguration.php | 39 + .../src/Google/Service/Dfareporting/Metric.php | 39 + .../src/Google/Service/Dfareporting/Metro.php | 84 + .../Service/Dfareporting/MetrosListResponse.php | 41 + .../Google/Service/Dfareporting/MobileCarrier.php | 66 + .../Dfareporting/MobileCarriersListResponse.php | 41 + .../Google/Service/Dfareporting/ObjectFilter.php | 49 + .../Google/Service/Dfareporting/OffsetPosition.php | 39 + .../Service/Dfareporting/OmnitureSettings.php | 39 + .../Service/Dfareporting/OperatingSystem.php | 66 + .../Dfareporting/OperatingSystemVersion.php | 76 + .../OperatingSystemVersionsListResponse.php | 41 + .../Dfareporting/OperatingSystemsListResponse.php | 41 + .../Service/Dfareporting/OptimizationActivity.php | 49 + .../src/Google/Service/Dfareporting/Order.php | 204 + .../Google/Service/Dfareporting/OrderContact.php | 66 + .../Google/Service/Dfareporting/OrderDocument.php | 176 + .../Dfareporting/OrderDocumentsListResponse.php | 50 + .../Service/Dfareporting/OrdersListResponse.php | 50 + .../PathToConversionReportCompatibleFields.php | 71 + .../src/Google/Service/Dfareporting/Placement.php | 387 + .../Service/Dfareporting/PlacementAssignment.php | 58 + .../Google/Service/Dfareporting/PlacementGroup.php | 265 + .../Dfareporting/PlacementGroupsListResponse.php | 50 + .../PlacementStrategiesListResponse.php | 50 + .../Service/Dfareporting/PlacementStrategy.php | 57 + .../Google/Service/Dfareporting/PlacementTag.php | 41 + .../PlacementsGenerateTagsResponse.php | 41 + .../Dfareporting/PlacementsListResponse.php | 50 + .../Google/Service/Dfareporting/PlatformType.php | 48 + .../Dfareporting/PlatformTypesListResponse.php | 41 + .../Service/Dfareporting/PopupWindowProperties.php | 104 + .../src/Google/Service/Dfareporting/PostalCode.php | 66 + .../Dfareporting/PostalCodesListResponse.php | 41 + .../src/Google/Service/Dfareporting/Pricing.php | 77 + .../Service/Dfareporting/PricingSchedule.php | 104 + .../Dfareporting/PricingSchedulePricingPeriod.php | 66 + .../src/Google/Service/Dfareporting/Project.php | 220 + .../Service/Dfareporting/ProjectsListResponse.php | 50 + .../Dfareporting/ReachReportCompatibleFields.php | 81 + .../src/Google/Service/Dfareporting/Recipient.php | 48 + .../src/Google/Service/Dfareporting/Region.php | 75 + .../Service/Dfareporting/RegionsListResponse.php | 41 + .../Service/Dfareporting/RemarketingList.php | 140 + .../Service/Dfareporting/RemarketingListShare.php | 58 + .../Dfareporting/RemarketingListsListResponse.php | 50 + .../src/Google/Service/Dfareporting/Report.php | 190 + .../Dfareporting/ReportCompatibleFields.php | 71 + .../Google/Service/Dfareporting/ReportCriteria.php | 81 + .../ReportCrossDimensionReachCriteria.php | 88 + .../Google/Service/Dfareporting/ReportDelivery.php | 59 + .../Dfareporting/ReportFloodlightCriteria.php | 91 + .../ReportFloodlightCriteriaReportProperties.php | 48 + .../src/Google/Service/Dfareporting/ReportList.php | 59 + .../ReportPathToConversionCriteria.php | 111 + ...ortPathToConversionCriteriaReportProperties.php | 102 + .../Service/Dfareporting/ReportReachCriteria.php | 99 + .../Google/Service/Dfareporting/ReportSchedule.php | 85 + .../Service/Dfareporting/ReportsConfiguration.php | 49 + .../Resource/AccountActiveAdSummaries.php | 43 + .../Resource/AccountPermissionGroups.php | 56 + .../Dfareporting/Resource/AccountPermissions.php | 56 + .../Dfareporting/Resource/AccountUserProfiles.php | 119 + .../Service/Dfareporting/Resource/Accounts.php | 101 + .../Google/Service/Dfareporting/Resource/Ads.php | 143 + .../Dfareporting/Resource/AdvertiserGroups.php | 127 + .../Service/Dfareporting/Resource/Advertisers.php | 125 + .../Service/Dfareporting/Resource/Browsers.php | 41 + .../Resource/CampaignCreativeAssociations.php | 66 + .../Service/Dfareporting/Resource/Campaigns.php | 131 + .../Service/Dfareporting/Resource/ChangeLogs.php | 81 + .../Service/Dfareporting/Resource/Cities.php | 47 + .../Dfareporting/Resource/ConnectionTypes.php | 55 + .../Dfareporting/Resource/ContentCategories.php | 127 + .../Service/Dfareporting/Resource/Conversions.php | 42 + .../Service/Dfareporting/Resource/Countries.php | 55 + .../Dfareporting/Resource/CreativeAssets.php | 44 + .../Dfareporting/Resource/CreativeFieldValues.php | 134 + .../Dfareporting/Resource/CreativeFields.php | 130 + .../Dfareporting/Resource/CreativeGroups.php | 119 + .../Service/Dfareporting/Resource/Creatives.php | 130 + .../Dfareporting/Resource/DimensionValues.php | 47 + .../Resource/DirectorySiteContacts.php | 73 + .../Dfareporting/Resource/DirectorySites.php | 96 + .../Dfareporting/Resource/DynamicTargetingKeys.php | 88 + .../Service/Dfareporting/Resource/EventTags.php | 146 + .../Google/Service/Dfareporting/Resource/Files.php | 63 + .../Dfareporting/Resource/FloodlightActivities.php | 162 + .../Resource/FloodlightActivityGroups.php | 128 + .../Resource/FloodlightConfigurations.php | 90 + .../Dfareporting/Resource/InventoryItems.php | 71 + .../Service/Dfareporting/Resource/LandingPages.php | 119 + .../Service/Dfareporting/Resource/Languages.php | 41 + .../Service/Dfareporting/Resource/Metros.php | 41 + .../Dfareporting/Resource/MobileCarriers.php | 55 + .../Resource/OperatingSystemVersions.php | 56 + .../Dfareporting/Resource/OperatingSystems.php | 56 + .../Dfareporting/Resource/OrderDocuments.php | 78 + .../Service/Dfareporting/Resource/Orders.php | 73 + .../Dfareporting/Resource/PlacementGroups.php | 148 + .../Dfareporting/Resource/PlacementStrategies.php | 128 + .../Service/Dfareporting/Resource/Placements.php | 172 + .../Dfareporting/Resource/PlatformTypes.php | 55 + .../Service/Dfareporting/Resource/PostalCodes.php | 55 + .../Service/Dfareporting/Resource/Projects.php | 71 + .../Service/Dfareporting/Resource/Regions.php | 41 + .../Resource/RemarketingListShares.php | 73 + .../Dfareporting/Resource/RemarketingLists.php | 118 + .../Service/Dfareporting/Resource/Reports.php | 137 + .../Resource/ReportsCompatibleFields.php | 44 + .../Service/Dfareporting/Resource/ReportsFiles.php | 63 + .../Google/Service/Dfareporting/Resource/Sites.php | 126 + .../Google/Service/Dfareporting/Resource/Sizes.php | 74 + .../Service/Dfareporting/Resource/Subaccounts.php | 114 + .../Resource/TargetableRemarketingLists.php | 74 + .../Dfareporting/Resource/TargetingTemplates.php | 116 + .../Service/Dfareporting/Resource/UserProfiles.php | 53 + .../Resource/UserRolePermissionGroups.php | 56 + .../Dfareporting/Resource/UserRolePermissions.php | 58 + .../Service/Dfareporting/Resource/UserRoles.php | 131 + .../Service/Dfareporting/Resource/VideoFormats.php | 55 + .../Service/Dfareporting/RichMediaExitOverride.php | 49 + .../src/Google/Service/Dfareporting/Rule.php | 48 + .../src/Google/Service/Dfareporting/Site.php | 134 + .../Google/Service/Dfareporting/SiteContact.php | 93 + .../Google/Service/Dfareporting/SiteSettings.php | 96 + .../Service/Dfareporting/SitesListResponse.php | 50 + .../src/Google/Service/Dfareporting/Size.php | 66 + .../Service/Dfareporting/SizesListResponse.php | 41 + .../Service/Dfareporting/SkippableSetting.php | 59 + .../Service/Dfareporting/SortedDimension.php | 48 + .../src/Google/Service/Dfareporting/Subaccount.php | 67 + .../Dfareporting/SubaccountsListResponse.php | 50 + .../src/Google/Service/Dfareporting/TagData.php | 66 + .../src/Google/Service/Dfareporting/TagSetting.php | 57 + .../Google/Service/Dfareporting/TagSettings.php | 39 + .../Google/Service/Dfareporting/TargetWindow.php | 39 + .../Dfareporting/TargetableRemarketingList.php | 130 + .../TargetableRemarketingListsListResponse.php | 50 + .../Service/Dfareporting/TargetingTemplate.php | 145 + .../TargetingTemplatesListResponse.php | 50 + .../Service/Dfareporting/TechnologyTargeting.php | 82 + .../Dfareporting/ThirdPartyAuthenticationToken.php | 39 + .../Service/Dfareporting/ThirdPartyTrackingUrl.php | 39 + .../Service/Dfareporting/TranscodeSetting.php | 40 + .../UserDefinedVariableConfiguration.php | 48 + .../Google/Service/Dfareporting/UserProfile.php | 93 + .../Service/Dfareporting/UserProfileList.php | 50 + .../src/Google/Service/Dfareporting/UserRole.php | 95 + .../Service/Dfareporting/UserRolePermission.php | 66 + .../Dfareporting/UserRolePermissionGroup.php | 48 + .../UserRolePermissionGroupsListResponse.php | 41 + .../UserRolePermissionsListResponse.php | 41 + .../Service/Dfareporting/UserRolesListResponse.php | 50 + .../Google/Service/Dfareporting/VideoFormat.php | 67 + .../Dfareporting/VideoFormatsListResponse.php | 41 + .../Google/Service/Dfareporting/VideoOffset.php | 39 + .../Google/Service/Dfareporting/VideoSettings.php | 60 + .../src/Google/Service/Directory.php | 1788 + .../src/Google/Service/Directory/Alias.php | 66 + .../src/Google/Service/Directory/Aliases.php | 49 + .../src/Google/Service/Directory/Asp.php | 84 + .../src/Google/Service/Directory/Asps.php | 50 + .../Google/Service/Directory/CalendarResource.php | 84 + .../Google/Service/Directory/CalendarResources.php | 59 + .../src/Google/Service/Directory/Channel.php | 111 + .../Google/Service/Directory/ChromeOsDevice.php | 249 + .../Service/Directory/ChromeOsDeviceAction.php | 39 + .../Directory/ChromeOsDeviceActiveTimeRanges.php | 39 + .../Directory/ChromeOsDeviceRecentUsers.php | 39 + .../Google/Service/Directory/ChromeOsDevices.php | 59 + .../src/Google/Service/Directory/Customer.php | 103 + .../Service/Directory/CustomerPostalAddress.php | 102 + .../src/Google/Service/Directory/DomainAlias.php | 75 + .../src/Google/Service/Directory/DomainAliases.php | 50 + .../src/Google/Service/Directory/Domains.php | 86 + .../src/Google/Service/Directory/Domains2.php | 50 + .../src/Google/Service/Directory/Group.php | 112 + .../src/Google/Service/Directory/Groups.php | 59 + .../src/Google/Service/Directory/Member.php | 84 + .../src/Google/Service/Directory/Members.php | 59 + .../src/Google/Service/Directory/MobileDevice.php | 383 + .../Service/Directory/MobileDeviceAction.php | 30 + .../Service/Directory/MobileDeviceApplications.php | 67 + .../src/Google/Service/Directory/MobileDevices.php | 59 + .../src/Google/Service/Directory/Notification.php | 93 + .../src/Google/Service/Directory/Notifications.php | 68 + .../src/Google/Service/Directory/OrgUnit.php | 102 + .../src/Google/Service/Directory/OrgUnits.php | 50 + .../src/Google/Service/Directory/Privilege.php | 86 + .../src/Google/Service/Directory/Privileges.php | 50 + .../src/Google/Service/Directory/Resource/Asps.php | 71 + .../Google/Service/Directory/Resource/Channels.php | 40 + .../Service/Directory/Resource/Chromeosdevices.php | 120 + .../Service/Directory/Resource/Customers.php | 69 + .../Service/Directory/Resource/DomainAliases.php | 85 + .../Google/Service/Directory/Resource/Domains.php | 82 + .../Google/Service/Directory/Resource/Groups.php | 120 + .../Service/Directory/Resource/GroupsAliases.php | 68 + .../Google/Service/Directory/Resource/Members.php | 122 + .../Service/Directory/Resource/Mobiledevices.php | 96 + .../Service/Directory/Resource/Notifications.php | 108 + .../Google/Service/Directory/Resource/Orgunits.php | 118 + .../Service/Directory/Resource/Privileges.php | 42 + .../Service/Directory/Resource/Resources.php | 28 + .../Directory/Resource/ResourcesCalendars.php | 133 + .../Service/Directory/Resource/RoleAssignments.php | 91 + .../Google/Service/Directory/Resource/Roles.php | 115 + .../Google/Service/Directory/Resource/Schemas.php | 112 + .../Google/Service/Directory/Resource/Tokens.php | 74 + .../Google/Service/Directory/Resource/Users.php | 207 + .../Service/Directory/Resource/UsersAliases.php | 88 + .../Service/Directory/Resource/UsersPhotos.php | 82 + .../Directory/Resource/VerificationCodes.php | 69 + .../src/Google/Service/Directory/Role.php | 95 + .../Google/Service/Directory/RoleAssignment.php | 84 + .../Google/Service/Directory/RoleAssignments.php | 59 + .../Service/Directory/RoleRolePrivileges.php | 39 + .../src/Google/Service/Directory/Roles.php | 59 + .../src/Google/Service/Directory/Schema.php | 68 + .../Google/Service/Directory/SchemaFieldSpec.php | 103 + .../SchemaFieldSpecNumericIndexingSpec.php | 39 + .../src/Google/Service/Directory/Schemas.php | 50 + .../src/Google/Service/Directory/Token.php | 94 + .../src/Google/Service/Directory/Tokens.php | 50 + .../src/Google/Service/Directory/User.php | 356 + .../src/Google/Service/Directory/UserAbout.php | 39 + .../src/Google/Service/Directory/UserAddress.php | 138 + .../src/Google/Service/Directory/UserEmail.php | 57 + .../Google/Service/Directory/UserExternalId.php | 48 + .../src/Google/Service/Directory/UserIm.php | 75 + .../src/Google/Service/Directory/UserMakeAdmin.php | 30 + .../src/Google/Service/Directory/UserName.php | 48 + .../Google/Service/Directory/UserOrganization.php | 120 + .../src/Google/Service/Directory/UserPhone.php | 57 + .../src/Google/Service/Directory/UserPhoto.php | 93 + .../src/Google/Service/Directory/UserRelation.php | 48 + .../src/Google/Service/Directory/UserUndelete.php | 30 + .../src/Google/Service/Directory/UserWebsite.php | 57 + .../src/Google/Service/Directory/Users.php | 71 + .../Google/Service/Directory/VerificationCode.php | 57 + .../Google/Service/Directory/VerificationCodes.php | 50 + .../apiclient-services/src/Google/Service/Dns.php | 274 + .../src/Google/Service/Dns/Change.php | 78 + .../src/Google/Service/Dns/ChangesListResponse.php | 50 + .../src/Google/Service/Dns/ManagedZone.php | 94 + .../Service/Dns/ManagedZonesListResponse.php | 50 + .../src/Google/Service/Dns/Project.php | 58 + .../src/Google/Service/Dns/Quota.php | 84 + .../src/Google/Service/Dns/Resource/Changes.php | 86 + .../Google/Service/Dns/Resource/ManagedZones.php | 93 + .../src/Google/Service/Dns/Resource/Projects.php | 41 + .../Service/Dns/Resource/ResourceRecordSets.php | 54 + .../src/Google/Service/Dns/ResourceRecordSet.php | 67 + .../Service/Dns/ResourceRecordSetsListResponse.php | 50 + .../src/Google/Service/DoubleClickBidManager.php | 155 + .../DownloadLineItemsRequest.php | 58 + .../DownloadLineItemsResponse.php | 30 + .../DoubleClickBidManager/DownloadRequest.php | 58 + .../DoubleClickBidManager/DownloadResponse.php | 57 + .../Service/DoubleClickBidManager/FilterPair.php | 39 + .../DoubleClickBidManager/ListQueriesResponse.php | 41 + .../DoubleClickBidManager/ListReportsResponse.php | 41 + .../Google/Service/DoubleClickBidManager/Note.php | 66 + .../NotifyProposalChangeRequest.php | 68 + .../Service/DoubleClickBidManager/Parameters.php | 68 + .../Google/Service/DoubleClickBidManager/Query.php | 96 + .../DoubleClickBidManager/QueryMetadata.php | 121 + .../DoubleClickBidManager/QuerySchedule.php | 57 + .../Service/DoubleClickBidManager/Report.php | 51 + .../DoubleClickBidManager/ReportFailure.php | 30 + .../Service/DoubleClickBidManager/ReportKey.php | 39 + .../DoubleClickBidManager/ReportMetadata.php | 58 + .../Service/DoubleClickBidManager/ReportStatus.php | 58 + .../DoubleClickBidManager/Resource/Lineitems.php | 54 + .../DoubleClickBidManager/Resource/Queries.php | 92 + .../DoubleClickBidManager/Resource/Reports.php | 41 + .../DoubleClickBidManager/Resource/Rubicon.php | 41 + .../Service/DoubleClickBidManager/Resource/Sdf.php | 41 + .../Service/DoubleClickBidManager/RowStatus.php | 76 + .../DoubleClickBidManager/RunQueryRequest.php | 57 + .../UploadLineItemsRequest.php | 48 + .../UploadLineItemsResponse.php | 31 + .../Service/DoubleClickBidManager/UploadStatus.php | 41 + .../src/Google/Service/Doubleclicksearch.php | 242 + .../Service/Doubleclicksearch/Availability.php | 75 + .../Service/Doubleclicksearch/Conversion.php | 321 + .../Service/Doubleclicksearch/ConversionList.php | 41 + .../Service/Doubleclicksearch/CustomDimension.php | 39 + .../Service/Doubleclicksearch/CustomMetric.php | 39 + .../Google/Service/Doubleclicksearch/Report.php | 105 + .../Doubleclicksearch/ReportApiColumnSpec.php | 111 + .../Service/Doubleclicksearch/ReportFiles.php | 39 + .../Service/Doubleclicksearch/ReportRequest.php | 153 + .../Doubleclicksearch/ReportRequestFilters.php | 50 + .../Doubleclicksearch/ReportRequestOrderBy.php | 40 + .../Doubleclicksearch/ReportRequestReportScope.php | 84 + .../Doubleclicksearch/ReportRequestTimeRange.php | 57 + .../Doubleclicksearch/Resource/Conversion.php | 121 + .../Service/Doubleclicksearch/Resource/Reports.php | 80 + .../Doubleclicksearch/Resource/SavedColumns.php | 43 + .../Service/Doubleclicksearch/SavedColumn.php | 48 + .../Service/Doubleclicksearch/SavedColumnList.php | 41 + .../UpdateAvailabilityRequest.php | 32 + .../UpdateAvailabilityResponse.php | 32 + .../src/Google/Service/Drive.php | 914 + .../src/Google/Service/Drive/About.php | 105 + .../src/Google/Service/Drive/AboutStorageQuota.php | 57 + .../src/Google/Service/Drive/Change.php | 95 + .../src/Google/Service/Drive/ChangeList.php | 59 + .../src/Google/Service/Drive/Channel.php | 111 + .../src/Google/Service/Drive/Comment.php | 133 + .../src/Google/Service/Drive/CommentList.php | 50 + .../Service/Drive/CommentQuotedFileContent.php | 39 + .../src/Google/Service/Drive/DriveFile.php | 490 + .../Google/Service/Drive/DriveFileCapabilities.php | 165 + .../Google/Service/Drive/DriveFileContentHints.php | 40 + .../Drive/DriveFileContentHintsThumbnail.php | 39 + .../Service/Drive/DriveFileImageMediaMetadata.php | 211 + .../Drive/DriveFileImageMediaMetadataLocation.php | 48 + .../Service/Drive/DriveFileVideoMediaMetadata.php | 48 + .../src/Google/Service/Drive/FileList.php | 59 + .../src/Google/Service/Drive/GeneratedIds.php | 49 + .../src/Google/Service/Drive/Permission.php | 122 + .../src/Google/Service/Drive/PermissionList.php | 50 + .../Drive/PermissionTeamDrivePermissionDetails.php | 57 + .../src/Google/Service/Drive/Reply.php | 103 + .../src/Google/Service/Drive/ReplyList.php | 50 + .../src/Google/Service/Drive/Resource/About.php | 41 + .../src/Google/Service/Drive/Resource/Changes.php | 121 + .../src/Google/Service/Drive/Resource/Channels.php | 40 + .../src/Google/Service/Drive/Resource/Comments.php | 109 + .../src/Google/Service/Drive/Resource/Files.php | 251 + .../Google/Service/Drive/Resource/Permissions.php | 132 + .../src/Google/Service/Drive/Resource/Replies.php | 112 + .../Google/Service/Drive/Resource/Revisions.php | 93 + .../Google/Service/Drive/Resource/Teamdrives.php | 101 + .../src/Google/Service/Drive/Revision.php | 130 + .../src/Google/Service/Drive/RevisionList.php | 50 + .../src/Google/Service/Drive/StartPageToken.php | 39 + .../src/Google/Service/Drive/TeamDrive.php | 58 + .../Google/Service/Drive/TeamDriveCapabilities.php | 138 + .../src/Google/Service/Drive/TeamDriveList.php | 50 + .../src/Google/Service/Drive/User.php | 75 + .../src/Google/Service/FirebaseDynamicLinks.php | 68 + .../Service/FirebaseDynamicLinks/AnalyticsInfo.php | 41 + .../Service/FirebaseDynamicLinks/AndroidInfo.php | 57 + .../CreateShortDynamicLinkRequest.php | 50 + .../CreateShortDynamicLinkResponse.php | 50 + .../FirebaseDynamicLinks/DynamicLinkInfo.php | 89 + .../FirebaseDynamicLinks/DynamicLinkWarning.php | 39 + .../FirebaseDynamicLinks/GooglePlayAnalytics.php | 75 + .../ITunesConnectAnalytics.php | 57 + .../Service/FirebaseDynamicLinks/IosInfo.php | 75 + .../FirebaseDynamicLinks/NavigationInfo.php | 30 + .../FirebaseDynamicLinks/Resource/ShortLinks.php | 49 + .../FirebaseDynamicLinks/SocialMetaTagInfo.php | 48 + .../Google/Service/FirebaseDynamicLinks/Suffix.php | 30 + .../src/Google/Service/FirebaseDynamicLinksAPI.php | 69 + .../FirebaseDynamicLinksAPI/AnalyticsInfo.php | 41 + .../FirebaseDynamicLinksAPI/AndroidInfo.php | 57 + .../CreateShortDynamicLinkRequest.php | 50 + .../CreateShortDynamicLinkResponse.php | 50 + .../FirebaseDynamicLinksAPI/DynamicLinkInfo.php | 88 + .../FirebaseDynamicLinksAPI/DynamicLinkWarning.php | 39 + .../GooglePlayAnalytics.php | 75 + .../ITunesConnectAnalytics.php | 57 + .../Service/FirebaseDynamicLinksAPI/IosInfo.php | 75 + .../Resource/ShortDynamicLinks.php | 49 + .../FirebaseDynamicLinksAPI/SocialMetaTagInfo.php | 48 + .../Service/FirebaseDynamicLinksAPI/Suffix.php | 30 + .../src/Google/Service/FirebaseRulesAPI.php | 212 + .../FirebaseRulesAPI/FirebaserulesEmpty.php | 20 + .../Service/FirebaseRulesAPI/FirebaserulesFile.php | 48 + .../src/Google/Service/FirebaseRulesAPI/Issue.php | 49 + .../FirebaseRulesAPI/ListReleasesResponse.php | 41 + .../FirebaseRulesAPI/ListRulesetsResponse.php | 41 + .../Google/Service/FirebaseRulesAPI/Release.php | 57 + .../Service/FirebaseRulesAPI/Resource/Projects.php | 62 + .../FirebaseRulesAPI/Resource/ProjectsReleases.php | 186 + .../FirebaseRulesAPI/Resource/ProjectsRulesets.php | 108 + .../Google/Service/FirebaseRulesAPI/Ruleset.php | 49 + .../src/Google/Service/FirebaseRulesAPI/Source.php | 32 + .../Service/FirebaseRulesAPI/SourcePosition.php | 48 + .../FirebaseRulesAPI/TestRulesetRequest.php | 31 + .../FirebaseRulesAPI/TestRulesetResponse.php | 32 + .../src/Google/Service/Fitness.php | 386 + .../src/Google/Service/Fitness/AggregateBucket.php | 78 + .../src/Google/Service/Fitness/AggregateBy.php | 39 + .../Google/Service/Fitness/AggregateRequest.php | 99 + .../Google/Service/Fitness/AggregateResponse.php | 32 + .../src/Google/Service/Fitness/Application.php | 57 + .../Google/Service/Fitness/BucketByActivity.php | 39 + .../src/Google/Service/Fitness/BucketBySession.php | 30 + .../src/Google/Service/Fitness/BucketByTime.php | 40 + .../Google/Service/Fitness/BucketByTimePeriod.php | 48 + .../src/Google/Service/Fitness/DataPoint.php | 95 + .../src/Google/Service/Fitness/DataSource.php | 97 + .../src/Google/Service/Fitness/DataType.php | 41 + .../src/Google/Service/Fitness/DataTypeField.php | 48 + .../src/Google/Service/Fitness/Dataset.php | 68 + .../src/Google/Service/Fitness/Device.php | 66 + .../Service/Fitness/ListDataSourcesResponse.php | 32 + .../Service/Fitness/ListSessionsResponse.php | 60 + .../src/Google/Service/Fitness/MapValue.php | 30 + .../src/Google/Service/Fitness/Resource/Users.php | 28 + .../Service/Fitness/Resource/UsersDataSources.php | 143 + .../Fitness/Resource/UsersDataSourcesDatasets.php | 119 + .../Service/Fitness/Resource/UsersDataset.php | 46 + .../Service/Fitness/Resource/UsersSessions.php | 89 + .../src/Google/Service/Fitness/Session.php | 103 + .../src/Google/Service/Fitness/Value.php | 59 + .../Google/Service/Fitness/ValueMapValEntry.php | 40 + .../src/Google/Service/Freebase.php | 258 + .../Google/Service/Freebase/ReconcileCandidate.php | 67 + .../Service/Freebase/ReconcileCandidateNotable.php | 39 + .../src/Google/Service/Freebase/ReconcileGet.php | 62 + .../Google/Service/Freebase/ReconcileGetCosts.php | 39 + .../Service/Freebase/ReconcileGetWarning.php | 48 + .../src/Google/Service/Fusiontables.php | 630 + .../src/Google/Service/Fusiontables/Bucket.php | 75 + .../src/Google/Service/Fusiontables/Column.php | 131 + .../Service/Fusiontables/ColumnBaseColumn.php | 39 + .../src/Google/Service/Fusiontables/ColumnList.php | 59 + .../src/Google/Service/Fusiontables/Geometry.php | 49 + .../src/Google/Service/Fusiontables/Import.php | 39 + .../src/Google/Service/Fusiontables/Line.php | 40 + .../src/Google/Service/Fusiontables/LineStyle.php | 68 + .../src/Google/Service/Fusiontables/Point.php | 40 + .../src/Google/Service/Fusiontables/PointStyle.php | 40 + .../src/Google/Service/Fusiontables/Polygon.php | 40 + .../Google/Service/Fusiontables/PolygonStyle.php | 96 + .../Service/Fusiontables/Resource/Column.php | 121 + .../Google/Service/Fusiontables/Resource/Query.php | 70 + .../Google/Service/Fusiontables/Resource/Style.php | 118 + .../Google/Service/Fusiontables/Resource/Table.php | 212 + .../Google/Service/Fusiontables/Resource/Task.php | 75 + .../Service/Fusiontables/Resource/Template.php | 119 + .../Google/Service/Fusiontables/Sqlresponse.php | 49 + .../Google/Service/Fusiontables/StyleFunction.php | 60 + .../Service/Fusiontables/StyleFunctionGradient.php | 50 + .../Fusiontables/StyleFunctionGradientColors.php | 39 + .../Google/Service/Fusiontables/StyleSetting.php | 87 + .../Service/Fusiontables/StyleSettingList.php | 59 + .../src/Google/Service/Fusiontables/Table.php | 140 + .../src/Google/Service/Fusiontables/TableList.php | 50 + .../src/Google/Service/Fusiontables/Task.php | 66 + .../src/Google/Service/Fusiontables/TaskList.php | 59 + .../src/Google/Service/Fusiontables/Template.php | 76 + .../Google/Service/Fusiontables/TemplateList.php | 59 + .../src/Google/Service/Games.php | 1278 + .../Google/Service/Games/AchievementDefinition.php | 138 + .../Games/AchievementDefinitionsListResponse.php | 50 + .../Service/Games/AchievementIncrementResponse.php | 48 + .../Service/Games/AchievementRevealResponse.php | 39 + .../Games/AchievementSetStepsAtLeastResponse.php | 48 + .../Service/Games/AchievementUnlockResponse.php | 39 + .../Games/AchievementUpdateMultipleRequest.php | 41 + .../Games/AchievementUpdateMultipleResponse.php | 41 + .../Service/Games/AchievementUpdateRequest.php | 68 + .../Service/Games/AchievementUpdateResponse.php | 75 + .../src/Google/Service/Games/AggregateStats.php | 66 + .../src/Google/Service/Games/AnonymousPlayer.php | 48 + .../src/Google/Service/Games/Application.php | 146 + .../Google/Service/Games/ApplicationCategory.php | 48 + .../Service/Games/ApplicationVerifyResponse.php | 52 + .../src/Google/Service/Games/Category.php | 48 + .../Google/Service/Games/CategoryListResponse.php | 50 + .../Service/Games/EventBatchRecordFailure.php | 49 + .../src/Google/Service/Games/EventChild.php | 39 + .../src/Google/Service/Games/EventDefinition.php | 95 + .../Service/Games/EventDefinitionListResponse.php | 50 + .../src/Google/Service/Games/EventPeriodRange.php | 48 + .../src/Google/Service/Games/EventPeriodUpdate.php | 51 + .../Google/Service/Games/EventRecordFailure.php | 48 + .../Google/Service/Games/EventRecordRequest.php | 59 + .../Google/Service/Games/EventUpdateRequest.php | 48 + .../Google/Service/Games/EventUpdateResponse.php | 61 + .../Service/Games/GamesAchievementIncrement.php | 48 + .../Games/GamesAchievementSetStepsAtLeast.php | 39 + .../src/Google/Service/Games/ImageAsset.php | 66 + .../src/Google/Service/Games/Instance.php | 105 + .../Service/Games/InstanceAndroidDetails.php | 57 + .../Google/Service/Games/InstanceIosDetails.php | 84 + .../Google/Service/Games/InstanceWebDetails.php | 48 + .../src/Google/Service/Games/Leaderboard.php | 75 + .../src/Google/Service/Games/LeaderboardEntry.php | 103 + .../Service/Games/LeaderboardListResponse.php | 50 + .../Google/Service/Games/LeaderboardScoreRank.php | 66 + .../src/Google/Service/Games/LeaderboardScores.php | 78 + .../src/Google/Service/Games/MetagameConfig.php | 50 + .../Google/Service/Games/NetworkDiagnostics.php | 84 + .../src/Google/Service/Games/ParticipantResult.php | 57 + .../Service/Games/PeerChannelDiagnostics.php | 96 + .../Service/Games/PeerSessionDiagnostics.php | 68 + .../src/Google/Service/Games/Played.php | 48 + .../src/Google/Service/Games/Player.php | 133 + .../src/Google/Service/Games/PlayerAchievement.php | 84 + .../Games/PlayerAchievementListResponse.php | 50 + .../src/Google/Service/Games/PlayerEvent.php | 66 + .../Service/Games/PlayerEventListResponse.php | 50 + .../Google/Service/Games/PlayerExperienceInfo.php | 68 + .../Service/Games/PlayerLeaderboardScore.php | 107 + .../Games/PlayerLeaderboardScoreListResponse.php | 60 + .../src/Google/Service/Games/PlayerLevel.php | 57 + .../Google/Service/Games/PlayerListResponse.php | 50 + .../src/Google/Service/Games/PlayerName.php | 39 + .../src/Google/Service/Games/PlayerScore.php | 66 + .../Service/Games/PlayerScoreListResponse.php | 41 + .../Google/Service/Games/PlayerScoreResponse.php | 77 + .../Service/Games/PlayerScoreSubmissionList.php | 41 + .../src/Google/Service/Games/ProfileSettings.php | 39 + .../src/Google/Service/Games/PushToken.php | 58 + .../src/Google/Service/Games/PushTokenId.php | 40 + .../src/Google/Service/Games/PushTokenIdIos.php | 43 + .../src/Google/Service/Games/Quest.php | 167 + .../src/Google/Service/Games/QuestContribution.php | 48 + .../src/Google/Service/Games/QuestCriterion.php | 69 + .../src/Google/Service/Games/QuestListResponse.php | 50 + .../src/Google/Service/Games/QuestMilestone.php | 68 + .../Games/Resource/AchievementDefinitions.php | 49 + .../Google/Service/Games/Resource/Achievements.php | 141 + .../Google/Service/Games/Resource/Applications.php | 82 + .../src/Google/Service/Games/Resource/Events.php | 88 + .../Google/Service/Games/Resource/Leaderboards.php | 67 + .../src/Google/Service/Games/Resource/Metagame.php | 68 + .../src/Google/Service/Games/Resource/Players.php | 69 + .../Google/Service/Games/Resource/Pushtokens.php | 58 + .../Service/Games/Resource/QuestMilestones.php | 48 + .../src/Google/Service/Games/Resource/Quests.php | 70 + .../Google/Service/Games/Resource/Revisions.php | 47 + .../src/Google/Service/Games/Resource/Rooms.php | 174 + .../src/Google/Service/Games/Resource/Scores.php | 158 + .../Google/Service/Games/Resource/Snapshots.php | 68 + .../Service/Games/Resource/TurnBasedMatches.php | 289 + .../Google/Service/Games/RevisionCheckResponse.php | 48 + .../src/Google/Service/Games/Room.php | 144 + .../Google/Service/Games/RoomAutoMatchStatus.php | 39 + .../Service/Games/RoomAutoMatchingCriteria.php | 57 + .../src/Google/Service/Games/RoomClientAddress.php | 39 + .../src/Google/Service/Games/RoomCreateRequest.php | 97 + .../src/Google/Service/Games/RoomJoinRequest.php | 60 + .../Google/Service/Games/RoomLeaveDiagnostics.php | 95 + .../src/Google/Service/Games/RoomLeaveRequest.php | 49 + .../src/Google/Service/Games/RoomList.php | 50 + .../src/Google/Service/Games/RoomModification.php | 48 + .../src/Google/Service/Games/RoomP2PStatus.php | 87 + .../src/Google/Service/Games/RoomP2PStatuses.php | 41 + .../src/Google/Service/Games/RoomParticipant.php | 115 + .../src/Google/Service/Games/RoomStatus.php | 78 + .../src/Google/Service/Games/ScoreSubmission.php | 66 + .../src/Google/Service/Games/Snapshot.php | 121 + .../src/Google/Service/Games/SnapshotImage.php | 69 + .../Google/Service/Games/SnapshotListResponse.php | 50 + .../Games/TurnBasedAutoMatchingCriteria.php | 57 + .../src/Google/Service/Games/TurnBasedMatch.php | 209 + .../Service/Games/TurnBasedMatchCreateRequest.php | 68 + .../Google/Service/Games/TurnBasedMatchData.php | 48 + .../Service/Games/TurnBasedMatchDataRequest.php | 39 + .../Google/Service/Games/TurnBasedMatchList.php | 50 + .../Service/Games/TurnBasedMatchModification.php | 48 + .../Service/Games/TurnBasedMatchParticipant.php | 77 + .../Google/Service/Games/TurnBasedMatchRematch.php | 50 + .../Google/Service/Games/TurnBasedMatchResults.php | 60 + .../Google/Service/Games/TurnBasedMatchSync.php | 59 + .../Google/Service/Games/TurnBasedMatchTurn.php | 69 + .../src/Google/Service/GamesConfiguration.php | 236 + .../AchievementConfiguration.php | 95 + .../AchievementConfigurationDetail.php | 77 + .../AchievementConfigurationListResponse.php | 50 + .../GamesNumberAffixConfiguration.php | 81 + .../GamesNumberFormatConfiguration.php | 58 + .../GamesConfiguration/ImageConfiguration.php | 57 + .../LeaderboardConfiguration.php | 95 + .../LeaderboardConfigurationDetail.php | 68 + .../LeaderboardConfigurationListResponse.php | 50 + .../Service/GamesConfiguration/LocalizedString.php | 48 + .../GamesConfiguration/LocalizedStringBundle.php | 41 + .../Resource/AchievementConfigurations.php | 121 + .../Resource/ImageConfigurations.php | 43 + .../Resource/LeaderboardConfigurations.php | 121 + .../src/Google/Service/GamesManagement.php | 335 + .../AchievementResetAllResponse.php | 41 + .../AchievementResetMultipleForAllRequest.php | 43 + .../GamesManagement/AchievementResetResponse.php | 57 + .../EventsResetMultipleForAllRequest.php | 43 + .../GamesManagement/GamesPlayedResource.php | 39 + .../GamesPlayerExperienceInfoResource.php | 59 + .../GamesManagement/GamesPlayerLevelResource.php | 48 + .../Service/GamesManagement/HiddenPlayer.php | 49 + .../Service/GamesManagement/HiddenPlayerList.php | 50 + .../src/Google/Service/GamesManagement/Player.php | 133 + .../Google/Service/GamesManagement/PlayerName.php | 39 + .../PlayerScoreResetAllResponse.php | 41 + .../GamesManagement/PlayerScoreResetResponse.php | 49 + .../Service/GamesManagement/ProfileSettings.php | 39 + .../QuestsResetMultipleForAllRequest.php | 43 + .../GamesManagement/Resource/Achievements.php | 98 + .../GamesManagement/Resource/Applications.php | 49 + .../Service/GamesManagement/Resource/Events.php | 100 + .../Service/GamesManagement/Resource/Players.php | 62 + .../Service/GamesManagement/Resource/Quests.php | 95 + .../Service/GamesManagement/Resource/Rooms.php | 54 + .../Service/GamesManagement/Resource/Scores.php | 98 + .../GamesManagement/Resource/TurnBasedMatches.php | 54 + .../ScoresResetMultipleForAllRequest.php | 43 + .../src/Google/Service/Genomics.php | 720 + .../src/Google/Service/Genomics/Annotation.php | 131 + .../src/Google/Service/Genomics/AnnotationSet.php | 84 + .../Genomics/BatchCreateAnnotationsRequest.php | 41 + .../Genomics/BatchCreateAnnotationsResponse.php | 32 + .../src/Google/Service/Genomics/Binding.php | 40 + .../src/Google/Service/Genomics/CallSet.php | 76 + .../Service/Genomics/CancelOperationRequest.php | 20 + .../src/Google/Service/Genomics/CigarUnit.php | 48 + .../Google/Service/Genomics/ClinicalCondition.php | 59 + .../src/Google/Service/Genomics/CodingSequence.php | 39 + .../src/Google/Service/Genomics/ComputeEngine.php | 58 + .../src/Google/Service/Genomics/CoverageBucket.php | 40 + .../src/Google/Service/Genomics/Dataset.php | 57 + .../src/Google/Service/Genomics/Entry.php | 41 + .../src/Google/Service/Genomics/Exon.php | 48 + .../src/Google/Service/Genomics/Experiment.php | 57 + .../Service/Genomics/ExportReadGroupSetRequest.php | 49 + .../Service/Genomics/ExportVariantSetRequest.php | 67 + .../src/Google/Service/Genomics/ExternalId.php | 39 + .../src/Google/Service/Genomics/GenomicsEmpty.php | 20 + .../Service/Genomics/GetIamPolicyRequest.php | 20 + .../Genomics/ImportReadGroupSetsRequest.php | 58 + .../Genomics/ImportReadGroupSetsResponse.php | 31 + .../Service/Genomics/ImportVariantsRequest.php | 67 + .../Service/Genomics/ImportVariantsResponse.php | 31 + .../Google/Service/Genomics/LinearAlignment.php | 51 + .../Google/Service/Genomics/ListBasesResponse.php | 48 + .../Genomics/ListCoverageBucketsResponse.php | 50 + .../Service/Genomics/ListDatasetsResponse.php | 41 + .../Service/Genomics/ListOperationsResponse.php | 41 + .../Service/Genomics/MergeVariantsRequest.php | 50 + .../src/Google/Service/Genomics/Operation.php | 67 + .../src/Google/Service/Genomics/OperationEvent.php | 48 + .../Google/Service/Genomics/OperationMetadata.php | 104 + .../src/Google/Service/Genomics/Policy.php | 50 + .../src/Google/Service/Genomics/Position.php | 48 + .../src/Google/Service/Genomics/Program.php | 66 + .../src/Google/Service/Genomics/Range.php | 48 + .../src/Google/Service/Genomics/Read.php | 177 + .../src/Google/Service/Genomics/ReadGroup.php | 114 + .../src/Google/Service/Genomics/ReadGroupSet.php | 86 + .../src/Google/Service/Genomics/Reference.php | 85 + .../src/Google/Service/Genomics/ReferenceBound.php | 39 + .../src/Google/Service/Genomics/ReferenceSet.php | 94 + .../Service/Genomics/Resource/Annotations.php | 149 + .../Service/Genomics/Resource/Annotationsets.php | 116 + .../Google/Service/Genomics/Resource/Callsets.php | 124 + .../Google/Service/Genomics/Resource/Datasets.php | 214 + .../Service/Genomics/Resource/Operations.php | 94 + .../Service/Genomics/Resource/Readgroupsets.php | 166 + .../Resource/ReadgroupsetsCoveragebuckets.php | 75 + .../src/Google/Service/Genomics/Resource/Reads.php | 64 + .../Service/Genomics/Resource/References.php | 70 + .../Service/Genomics/Resource/ReferencesBases.php | 60 + .../Service/Genomics/Resource/Referencesets.php | 70 + .../Google/Service/Genomics/Resource/Variants.php | 213 + .../Service/Genomics/Resource/Variantsets.php | 151 + .../Google/Service/Genomics/RuntimeMetadata.php | 31 + .../Genomics/SearchAnnotationSetsRequest.php | 76 + .../Genomics/SearchAnnotationSetsResponse.php | 41 + .../Service/Genomics/SearchAnnotationsRequest.php | 85 + .../Service/Genomics/SearchAnnotationsResponse.php | 41 + .../Service/Genomics/SearchCallSetsRequest.php | 58 + .../Service/Genomics/SearchCallSetsResponse.php | 41 + .../Genomics/SearchReadGroupSetsRequest.php | 58 + .../Genomics/SearchReadGroupSetsResponse.php | 41 + .../Google/Service/Genomics/SearchReadsRequest.php | 85 + .../Service/Genomics/SearchReadsResponse.php | 41 + .../Genomics/SearchReferenceSetsRequest.php | 67 + .../Genomics/SearchReferenceSetsResponse.php | 41 + .../Service/Genomics/SearchReferencesRequest.php | 67 + .../Service/Genomics/SearchReferencesResponse.php | 41 + .../Service/Genomics/SearchVariantSetsRequest.php | 49 + .../Service/Genomics/SearchVariantSetsResponse.php | 41 + .../Service/Genomics/SearchVariantsRequest.php | 103 + .../Service/Genomics/SearchVariantsResponse.php | 41 + .../Service/Genomics/SetIamPolicyRequest.php | 31 + .../src/Google/Service/Genomics/Status.php | 49 + .../Google/Service/Genomics/StreamReadsRequest.php | 84 + .../Service/Genomics/StreamReadsResponse.php | 32 + .../Service/Genomics/StreamVariantsRequest.php | 76 + .../Service/Genomics/StreamVariantsResponse.php | 32 + .../Service/Genomics/TestIamPermissionsRequest.php | 31 + .../Genomics/TestIamPermissionsResponse.php | 31 + .../src/Google/Service/Genomics/Transcript.php | 51 + .../Service/Genomics/UndeleteDatasetRequest.php | 20 + .../src/Google/Service/Genomics/Variant.php | 140 + .../Google/Service/Genomics/VariantAnnotation.php | 86 + .../src/Google/Service/Genomics/VariantCall.php | 76 + .../src/Google/Service/Genomics/VariantSet.php | 87 + .../Google/Service/Genomics/VariantSetMetadata.php | 84 + .../src/Google/Service/Gmail.php | 1136 + .../src/Google/Service/Gmail/AutoForwarding.php | 48 + .../Service/Gmail/BatchDeleteMessagesRequest.php | 31 + .../Service/Gmail/BatchModifyMessagesRequest.php | 49 + .../src/Google/Service/Gmail/Draft.php | 40 + .../src/Google/Service/Gmail/Filter.php | 50 + .../src/Google/Service/Gmail/FilterAction.php | 49 + .../src/Google/Service/Gmail/FilterCriteria.php | 102 + .../src/Google/Service/Gmail/ForwardingAddress.php | 39 + .../src/Google/Service/Gmail/History.php | 81 + .../src/Google/Service/Gmail/HistoryLabelAdded.php | 41 + .../Google/Service/Gmail/HistoryLabelRemoved.php | 41 + .../Google/Service/Gmail/HistoryMessageAdded.php | 31 + .../Google/Service/Gmail/HistoryMessageDeleted.php | 31 + .../src/Google/Service/Gmail/ImapSettings.php | 57 + .../src/Google/Service/Gmail/Label.php | 102 + .../Google/Service/Gmail/ListDraftsResponse.php | 50 + .../Google/Service/Gmail/ListFiltersResponse.php | 32 + .../Gmail/ListForwardingAddressesResponse.php | 32 + .../Google/Service/Gmail/ListHistoryResponse.php | 50 + .../Google/Service/Gmail/ListLabelsResponse.php | 32 + .../Google/Service/Gmail/ListMessagesResponse.php | 50 + .../Google/Service/Gmail/ListSendAsResponse.php | 32 + .../Google/Service/Gmail/ListSmimeInfoResponse.php | 32 + .../Google/Service/Gmail/ListThreadsResponse.php | 50 + .../src/Google/Service/Gmail/Message.php | 104 + .../src/Google/Service/Gmail/MessagePart.php | 79 + .../src/Google/Service/Gmail/MessagePartBody.php | 48 + .../src/Google/Service/Gmail/MessagePartHeader.php | 39 + .../Google/Service/Gmail/ModifyMessageRequest.php | 40 + .../Google/Service/Gmail/ModifyThreadRequest.php | 40 + .../src/Google/Service/Gmail/PopSettings.php | 39 + .../src/Google/Service/Gmail/Profile.php | 57 + .../src/Google/Service/Gmail/Resource/Users.php | 71 + .../Google/Service/Gmail/Resource/UsersDrafts.php | 130 + .../Google/Service/Gmail/Resource/UsersHistory.php | 61 + .../Google/Service/Gmail/Resource/UsersLabels.php | 120 + .../Service/Gmail/Resource/UsersMessages.php | 229 + .../Gmail/Resource/UsersMessagesAttachments.php | 44 + .../Service/Gmail/Resource/UsersSettings.php | 149 + .../Gmail/Resource/UsersSettingsFilters.php | 86 + .../Resource/UsersSettingsForwardingAddresses.php | 97 + .../Service/Gmail/Resource/UsersSettingsSendAs.php | 162 + .../Resource/UsersSettingsSendAsSmimeInfo.php | 115 + .../Google/Service/Gmail/Resource/UsersThreads.php | 135 + .../src/Google/Service/Gmail/SendAs.php | 103 + .../src/Google/Service/Gmail/SmimeInfo.php | 84 + .../src/Google/Service/Gmail/SmtpMsa.php | 66 + .../src/Google/Service/Gmail/Thread.php | 59 + .../src/Google/Service/Gmail/VacationSettings.php | 93 + .../src/Google/Service/Gmail/WatchRequest.php | 49 + .../src/Google/Service/Gmail/WatchResponse.php | 39 + .../src/Google/Service/GroupsMigration.php | 73 + .../src/Google/Service/GroupsMigration/Groups.php | 39 + .../Service/GroupsMigration/Resource/Archive.php | 41 + .../src/Google/Service/Groupssettings.php | 93 + .../src/Google/Service/Groupssettings/Groups.php | 300 + .../Service/Groupssettings/Resource/Groups.php | 70 + .../apiclient-services/src/Google/Service/Iam.php | 248 + .../src/Google/Service/Iam/AuditData.php | 31 + .../src/Google/Service/Iam/Binding.php | 40 + .../src/Google/Service/Iam/BindingDelta.php | 48 + .../src/Google/Service/Iam/CloudAuditOptions.php | 20 + .../src/Google/Service/Iam/Condition.php | 76 + .../src/Google/Service/Iam/CounterOptions.php | 39 + .../Service/Iam/CreateServiceAccountKeyRequest.php | 39 + .../Service/Iam/CreateServiceAccountRequest.php | 40 + .../src/Google/Service/Iam/DataAccessOptions.php | 20 + .../src/Google/Service/Iam/IamEmpty.php | 20 + .../Service/Iam/ListServiceAccountKeysResponse.php | 32 + .../Service/Iam/ListServiceAccountsResponse.php | 41 + .../src/Google/Service/Iam/LogConfig.php | 51 + .../src/Google/Service/Iam/Policy.php | 50 + .../src/Google/Service/Iam/PolicyDelta.php | 32 + .../Service/Iam/QueryGrantableRolesRequest.php | 30 + .../Service/Iam/QueryGrantableRolesResponse.php | 32 + .../src/Google/Service/Iam/Resource/Projects.php | 28 + .../Iam/Resource/ProjectsServiceAccounts.php | 215 + .../Iam/Resource/ProjectsServiceAccountsKeys.php | 108 + .../src/Google/Service/Iam/Resource/Roles.php | 43 + .../src/Google/Service/Iam/Role.php | 48 + .../src/Google/Service/Iam/Rule.php | 87 + .../src/Google/Service/Iam/ServiceAccount.php | 84 + .../src/Google/Service/Iam/ServiceAccountKey.php | 84 + .../src/Google/Service/Iam/SetIamPolicyRequest.php | 31 + .../src/Google/Service/Iam/SignBlobRequest.php | 30 + .../src/Google/Service/Iam/SignBlobResponse.php | 39 + .../src/Google/Service/Iam/SignJwtRequest.php | 30 + .../src/Google/Service/Iam/SignJwtResponse.php | 39 + .../Service/Iam/TestIamPermissionsRequest.php | 31 + .../Service/Iam/TestIamPermissionsResponse.php | 31 + .../src/Google/Service/IdentityToolkit.php | 143 + .../IdentityToolkit/CreateAuthUriResponse.php | 94 + .../IdentityToolkit/DeleteAccountResponse.php | 30 + .../IdentityToolkit/DownloadAccountResponse.php | 50 + .../Service/IdentityToolkit/EmailTemplate.php | 75 + .../IdentityToolkit/GetAccountInfoResponse.php | 41 + .../GetOobConfirmationCodeResponse.php | 48 + .../IdentityToolkit/GetRecaptchaParamResponse.php | 48 + ...titytoolkitRelyingpartyCreateAuthUriRequest.php | 147 + ...ingpartyCreateAuthUriRequestCustomParameter.php | 39 + ...titytoolkitRelyingpartyDeleteAccountRequest.php | 48 + ...tytoolkitRelyingpartyDownloadAccountRequest.php | 57 + ...itytoolkitRelyingpartyGetAccountInfoRequest.php | 58 + ...toolkitRelyingpartyGetProjectConfigResponse.php | 135 + ...titytoolkitRelyingpartyResetPasswordRequest.php | 57 + ...itytoolkitRelyingpartySetAccountInfoRequest.php | 211 + ...ytoolkitRelyingpartySetProjectConfigRequest.php | 126 + ...toolkitRelyingpartySetProjectConfigResponse.php | 30 + ...entitytoolkitRelyingpartySignOutUserRequest.php | 39 + ...ntitytoolkitRelyingpartySignOutUserResponse.php | 30 + ...titytoolkitRelyingpartySignupNewUserRequest.php | 120 + ...titytoolkitRelyingpartyUploadAccountRequest.php | 113 + ...tytoolkitRelyingpartyVerifyAssertionRequest.php | 111 + ...toolkitRelyingpartyVerifyCustomTokenRequest.php | 57 + ...itytoolkitRelyingpartyVerifyPasswordRequest.php | 102 + .../Google/Service/IdentityToolkit/IdpConfig.php | 76 + .../Service/IdentityToolkit/Relyingparty.php | 93 + .../IdentityToolkit/ResetPasswordResponse.php | 57 + .../IdentityToolkit/Resource/Relyingparty.php | 252 + .../IdentityToolkit/SetAccountInfoResponse.php | 131 + .../SetAccountInfoResponseProviderUserInfo.php | 57 + .../IdentityToolkit/SignupNewUserResponse.php | 84 + .../IdentityToolkit/UploadAccountResponse.php | 41 + .../IdentityToolkit/UploadAccountResponseError.php | 39 + .../Google/Service/IdentityToolkit/UserInfo.php | 176 + .../IdentityToolkit/UserInfoProviderUserInfo.php | 84 + .../IdentityToolkit/VerifyAssertionResponse.php | 373 + .../IdentityToolkit/VerifyCustomTokenResponse.php | 57 + .../IdentityToolkit/VerifyPasswordResponse.php | 129 + .../src/Google/Service/Kgsearch.php | 97 + .../Google/Service/Kgsearch/Resource/Entities.php | 56 + .../src/Google/Service/Kgsearch/SearchResponse.php | 53 + .../src/Google/Service/Licensing.php | 209 + .../Google/Service/Licensing/LicenseAssignment.php | 93 + .../Service/Licensing/LicenseAssignmentInsert.php | 30 + .../Service/Licensing/LicenseAssignmentList.php | 59 + .../Licensing/Resource/LicenseAssignments.php | 149 + .../src/Google/Service/Logging.php | 640 + .../src/Google/Service/Logging/HttpRequest.php | 147 + .../src/Google/Service/Logging/LabelDescriptor.php | 48 + .../Service/Logging/ListLogEntriesRequest.php | 76 + .../Service/Logging/ListLogEntriesResponse.php | 41 + .../Service/Logging/ListLogMetricsResponse.php | 41 + .../Google/Service/Logging/ListLogsResponse.php | 40 + .../ListMonitoredResourceDescriptorsResponse.php | 41 + .../Google/Service/Logging/ListSinksResponse.php | 41 + .../src/Google/Service/Logging/LogEntry.php | 142 + .../Google/Service/Logging/LogEntryOperation.php | 57 + .../Service/Logging/LogEntrySourceLocation.php | 48 + .../src/Google/Service/Logging/LogLine.php | 58 + .../src/Google/Service/Logging/LogMetric.php | 57 + .../src/Google/Service/Logging/LogSink.php | 84 + .../src/Google/Service/Logging/LoggingEmpty.php | 20 + .../Google/Service/Logging/MonitoredResource.php | 39 + .../Logging/MonitoredResourceDescriptor.php | 68 + .../src/Google/Service/Logging/RequestLog.php | 312 + .../Service/Logging/Resource/BillingAccounts.php | 28 + .../Logging/Resource/BillingAccountsLogs.php | 74 + .../Logging/Resource/BillingAccountsSinks.php | 155 + .../Google/Service/Logging/Resource/Entries.php | 56 + .../Google/Service/Logging/Resource/Folders.php | 28 + .../Service/Logging/Resource/FoldersLogs.php | 74 + .../Service/Logging/Resource/FoldersSinks.php | 155 + .../Resource/MonitoredResourceDescriptors.php | 49 + .../Service/Logging/Resource/Organizations.php | 28 + .../Service/Logging/Resource/OrganizationsLogs.php | 74 + .../Logging/Resource/OrganizationsSinks.php | 155 + .../Google/Service/Logging/Resource/Projects.php | 28 + .../Service/Logging/Resource/ProjectsLogs.php | 74 + .../Service/Logging/Resource/ProjectsMetrics.php | 111 + .../Service/Logging/Resource/ProjectsSinks.php | 155 + .../src/Google/Service/Logging/SourceLocation.php | 48 + .../src/Google/Service/Logging/SourceReference.php | 39 + .../src/Google/Service/Logging/Status.php | 49 + .../Service/Logging/WriteLogEntriesRequest.php | 69 + .../Service/Logging/WriteLogEntriesResponse.php | 20 + .../src/Google/Service/Manager.php | 229 + .../src/Google/Service/Manager/AccessConfig.php | 48 + .../src/Google/Service/Manager/Action.php | 40 + .../src/Google/Service/Manager/AllowedRule.php | 43 + .../Google/Service/Manager/AutoscalingModule.php | 84 + .../Service/Manager/AutoscalingModuleStatus.php | 30 + .../src/Google/Service/Manager/DeployState.php | 39 + .../src/Google/Service/Manager/Deployment.php | 88 + .../Service/Manager/DeploymentsListResponse.php | 41 + .../Google/Service/Manager/DeploymentsResource.php | 92 + .../src/Google/Service/Manager/DiskAttachment.php | 39 + .../src/Google/Service/Manager/EnvVariable.php | 39 + .../src/Google/Service/Manager/ExistingDisk.php | 40 + .../src/Google/Service/Manager/FirewallModule.php | 77 + .../Service/Manager/FirewallModuleStatus.php | 30 + .../Google/Service/Manager/HealthCheckModule.php | 93 + .../Service/Manager/HealthCheckModuleStatus.php | 30 + .../src/Google/Service/Manager/LbModule.php | 85 + .../src/Google/Service/Manager/LbModuleStatus.php | 39 + .../src/Google/Service/Manager/Metadata.php | 41 + .../src/Google/Service/Manager/MetadataItem.php | 39 + .../src/Google/Service/Manager/Module.php | 90 + .../src/Google/Service/Manager/ModuleStatus.php | 100 + .../Google/Service/Manager/NetworkInterface.php | 59 + .../src/Google/Service/Manager/NetworkModule.php | 51 + .../Google/Service/Manager/NetworkModuleStatus.php | 30 + .../src/Google/Service/Manager/NewDisk.php | 59 + .../Service/Manager/NewDiskInitializeParams.php | 48 + .../src/Google/Service/Manager/ParamOverride.php | 39 + .../Google/Service/Manager/ReplicaPoolModule.php | 69 + .../Service/Manager/ReplicaPoolModuleStatus.php | 39 + .../Google/Service/Manager/ReplicaPoolParams.php | 31 + .../Service/Manager/ReplicaPoolParamsV1Beta1.php | 154 + .../src/Google/Service/Manager/ServiceAccount.php | 40 + .../src/Google/Service/Manager/Tag.php | 40 + .../src/Google/Service/Manager/Template.php | 59 + .../Service/Manager/TemplatesListResponse.php | 41 + .../Google/Service/Manager/TemplatesResource.php | 88 + .../src/Google/Service/ManufacturerCenter.php | 96 + .../Service/ManufacturerCenter/Attributes.php | 94 + .../Google/Service/ManufacturerCenter/Issue.php | 57 + .../ManufacturerCenter/ListProductsResponse.php | 41 + .../Google/Service/ManufacturerCenter/Product.php | 116 + .../ManufacturerCenter/Resource/Accounts.php | 28 + .../Resource/AccountsProducts.php | 75 + .../src/Google/Service/Mirror.php | 379 + .../src/Google/Service/Mirror/Account.php | 60 + .../src/Google/Service/Mirror/Attachment.php | 57 + .../Service/Mirror/AttachmentsListResponse.php | 41 + .../src/Google/Service/Mirror/AuthToken.php | 39 + .../src/Google/Service/Mirror/Command.php | 30 + .../src/Google/Service/Mirror/Contact.php | 131 + .../Google/Service/Mirror/ContactsListResponse.php | 41 + .../src/Google/Service/Mirror/Location.php | 93 + .../Service/Mirror/LocationsListResponse.php | 41 + .../src/Google/Service/Mirror/MenuItem.php | 80 + .../src/Google/Service/Mirror/MenuValue.php | 48 + .../src/Google/Service/Mirror/Notification.php | 77 + .../Google/Service/Mirror/NotificationConfig.php | 39 + .../Google/Service/Mirror/Resource/Accounts.php | 46 + .../Google/Service/Mirror/Resource/Contacts.php | 108 + .../Google/Service/Mirror/Resource/Locations.php | 54 + .../Google/Service/Mirror/Resource/Settings.php | 45 + .../Service/Mirror/Resource/Subscriptions.php | 80 + .../Google/Service/Mirror/Resource/Timeline.php | 121 + .../Mirror/Resource/TimelineAttachments.php | 84 + .../src/Google/Service/Mirror/Setting.php | 48 + .../src/Google/Service/Mirror/Subscription.php | 104 + .../Service/Mirror/SubscriptionsListResponse.php | 41 + .../src/Google/Service/Mirror/TimelineItem.php | 262 + .../Google/Service/Mirror/TimelineListResponse.php | 50 + .../src/Google/Service/Mirror/UserAction.php | 39 + .../src/Google/Service/Mirror/UserData.php | 39 + .../src/Google/Service/Monitoring.php | 396 + .../Google/Service/Monitoring/BucketOptions.php | 51 + .../Google/Service/Monitoring/CollectdPayload.php | 96 + .../Google/Service/Monitoring/CollectdValue.php | 49 + .../Monitoring/CreateCollectdTimeSeriesRequest.php | 51 + .../Service/Monitoring/CreateTimeSeriesRequest.php | 32 + .../src/Google/Service/Monitoring/Distribution.php | 78 + .../src/Google/Service/Monitoring/Explicit.php | 31 + .../src/Google/Service/Monitoring/Exponential.php | 48 + .../src/Google/Service/Monitoring/Field.php | 113 + .../src/Google/Service/Monitoring/Group.php | 66 + .../Google/Service/Monitoring/LabelDescriptor.php | 48 + .../src/Google/Service/Monitoring/Linear.php | 48 + .../Monitoring/ListGroupMembersResponse.php | 50 + .../Service/Monitoring/ListGroupsResponse.php | 41 + .../Monitoring/ListMetricDescriptorsResponse.php | 41 + .../ListMonitoredResourceDescriptorsResponse.php | 41 + .../Service/Monitoring/ListTimeSeriesResponse.php | 41 + .../src/Google/Service/Monitoring/Metric.php | 39 + .../Google/Service/Monitoring/MetricDescriptor.php | 95 + .../Service/Monitoring/MonitoredResource.php | 39 + .../Monitoring/MonitoredResourceDescriptor.php | 68 + .../Google/Service/Monitoring/MonitoringEmpty.php | 20 + .../src/Google/Service/Monitoring/Option.php | 39 + .../src/Google/Service/Monitoring/Point.php | 41 + .../src/Google/Service/Monitoring/Range.php | 39 + .../Service/Monitoring/Resource/Projects.php | 28 + .../Resource/ProjectsCollectdTimeSeries.php | 45 + .../Service/Monitoring/Resource/ProjectsGroups.php | 130 + .../Monitoring/Resource/ProjectsGroupsMembers.php | 59 + .../Resource/ProjectsMetricDescriptors.php | 106 + .../ProjectsMonitoredResourceDescriptors.php | 72 + .../Monitoring/Resource/ProjectsTimeSeries.php | 119 + .../Google/Service/Monitoring/SourceContext.php | 30 + .../src/Google/Service/Monitoring/TimeInterval.php | 39 + .../src/Google/Service/Monitoring/TimeSeries.php | 70 + .../src/Google/Service/Monitoring/Type.php | 79 + .../src/Google/Service/Monitoring/TypedValue.php | 67 + .../src/Google/Service/Oauth2.php | 150 + .../src/Google/Service/Oauth2/Jwk.php | 32 + .../src/Google/Service/Oauth2/JwkKeys.php | 75 + .../Google/Service/Oauth2/Resource/Userinfo.php | 40 + .../Google/Service/Oauth2/Resource/UserinfoV2.php | 28 + .../Service/Oauth2/Resource/UserinfoV2Me.php | 40 + .../src/Google/Service/Oauth2/Tokeninfo.php | 110 + .../src/Google/Service/Oauth2/Userinfoplus.php | 125 + .../src/Google/Service/Pagespeedonline.php | 93 + .../Pagespeedonline/PagespeedApiFormatStringV2.php | 41 + .../PagespeedApiFormatStringV2Args.php | 72 + .../PagespeedApiFormatStringV2ArgsRects.php | 57 + ...agespeedApiFormatStringV2ArgsSecondaryRects.php | 57 + .../Pagespeedonline/PagespeedApiImageV2.php | 80 + .../PagespeedApiImageV2PageRect.php | 57 + .../Pagespeedonline/Resource/Pagespeedapi.php | 52 + .../src/Google/Service/Pagespeedonline/Result.php | 117 + .../Pagespeedonline/ResultFormattedResults.php | 40 + .../ResultFormattedResultsRuleResultsElement.php | 69 + ...FormattedResultsRuleResultsElementUrlBlocks.php | 42 + ...attedResultsRuleResultsElementUrlBlocksUrls.php | 42 + .../Service/Pagespeedonline/ResultPageStats.php | 138 + .../Pagespeedonline/ResultRuleGroupsElement.php | 30 + .../Service/Pagespeedonline/ResultVersion.php | 39 + .../src/Google/Service/Partners.php | 877 + .../Service/Partners/AdWordsManagerAccountInfo.php | 39 + .../src/Google/Service/Partners/Analytics.php | 61 + .../Google/Service/Partners/AnalyticsDataPoint.php | 41 + .../Google/Service/Partners/AnalyticsSummary.php | 48 + .../src/Google/Service/Partners/AvailableOffer.php | 132 + .../src/Google/Service/Partners/Certification.php | 66 + .../Service/Partners/CertificationExamStatus.php | 39 + .../Service/Partners/CertificationStatus.php | 59 + .../src/Google/Service/Partners/Company.php | 220 + .../Google/Service/Partners/CompanyRelation.php | 158 + .../Google/Service/Partners/CountryOfferInfo.php | 57 + .../Google/Service/Partners/CreateLeadRequest.php | 51 + .../Google/Service/Partners/CreateLeadResponse.php | 50 + .../src/Google/Service/Partners/Date.php | 48 + .../src/Google/Service/Partners/DebugInfo.php | 48 + .../src/Google/Service/Partners/EventData.php | 40 + .../src/Google/Service/Partners/ExamStatus.php | 75 + .../src/Google/Service/Partners/ExamToken.php | 48 + .../Google/Service/Partners/GetCompanyResponse.php | 41 + .../Service/Partners/GetPartnersStatusResponse.php | 31 + .../Google/Service/Partners/HistoricalOffer.php | 129 + .../src/Google/Service/Partners/LatLng.php | 39 + .../src/Google/Service/Partners/Lead.php | 158 + .../Service/Partners/ListAnalyticsResponse.php | 61 + .../Service/Partners/ListCompaniesResponse.php | 51 + .../Google/Service/Partners/ListLeadsResponse.php | 60 + .../Service/Partners/ListOffersHistoryResponse.php | 78 + .../Google/Service/Partners/ListOffersResponse.php | 51 + .../Service/Partners/ListUserStatesResponse.php | 41 + .../Service/Partners/LocalizedCompanyInfo.php | 58 + .../src/Google/Service/Partners/Location.php | 113 + .../Google/Service/Partners/LogMessageRequest.php | 58 + .../Google/Service/Partners/LogMessageResponse.php | 31 + .../Service/Partners/LogUserEventRequest.php | 88 + .../Service/Partners/LogUserEventResponse.php | 31 + .../src/Google/Service/Partners/Money.php | 48 + .../src/Google/Service/Partners/OfferCustomer.php | 102 + .../src/Google/Service/Partners/OptIns.php | 66 + .../src/Google/Service/Partners/PartnersEmpty.php | 20 + .../src/Google/Service/Partners/PublicProfile.php | 66 + .../src/Google/Service/Partners/Rank.php | 39 + .../Google/Service/Partners/RecaptchaChallenge.php | 39 + .../Google/Service/Partners/RequestMetadata.php | 69 + .../Google/Service/Partners/Resource/Analytics.php | 70 + .../Service/Partners/Resource/ClientMessages.php | 43 + .../Google/Service/Partners/Resource/Companies.php | 150 + .../Service/Partners/Resource/CompaniesLeads.php | 42 + .../src/Google/Service/Partners/Resource/Exams.php | 59 + .../src/Google/Service/Partners/Resource/Leads.php | 66 + .../Google/Service/Partners/Resource/Offers.php | 57 + .../Service/Partners/Resource/OffersHistory.php | 66 + .../Service/Partners/Resource/UserEvents.php | 41 + .../Service/Partners/Resource/UserStates.php | 57 + .../src/Google/Service/Partners/Resource/Users.php | 157 + .../src/Google/Service/Partners/Resource/V2.php | 124 + .../Google/Service/Partners/ResponseMetadata.php | 31 + .../Service/Partners/SpecializationStatus.php | 39 + .../src/Google/Service/Partners/TrafficSource.php | 39 + .../src/Google/Service/Partners/User.php | 118 + .../src/Google/Service/Partners/UserOverrides.php | 39 + .../src/Google/Service/Partners/UserProfile.php | 150 + .../src/Google/Service/People.php | 160 + .../src/Google/Service/People/Address.php | 130 + .../src/Google/Service/People/AgeRangeType.php | 40 + .../src/Google/Service/People/Biography.php | 49 + .../src/Google/Service/People/Birthday.php | 50 + .../src/Google/Service/People/BraggingRights.php | 40 + .../Service/People/ContactGroupMembership.php | 30 + .../src/Google/Service/People/CoverPhoto.php | 49 + .../src/Google/Service/People/Date.php | 48 + .../src/Google/Service/People/DomainMembership.php | 30 + .../src/Google/Service/People/EmailAddress.php | 67 + .../src/Google/Service/People/Event.php | 59 + .../src/Google/Service/People/FieldMetadata.php | 49 + .../src/Google/Service/People/Gender.php | 49 + .../Google/Service/People/GetPeopleResponse.php | 32 + .../src/Google/Service/People/ImClient.php | 76 + .../src/Google/Service/People/Interest.php | 40 + .../Service/People/ListConnectionsResponse.php | 50 + .../src/Google/Service/People/Locale.php | 40 + .../src/Google/Service/People/Membership.php | 51 + .../src/Google/Service/People/Name.php | 148 + .../src/Google/Service/People/Nickname.php | 49 + .../src/Google/Service/People/Occupation.php | 40 + .../src/Google/Service/People/Organization.php | 150 + .../src/Google/Service/People/Person.php | 319 + .../src/Google/Service/People/PersonMetadata.php | 68 + .../src/Google/Service/People/PersonResponse.php | 49 + .../src/Google/Service/People/PhoneNumber.php | 67 + .../src/Google/Service/People/Photo.php | 40 + .../src/Google/Service/People/ProfileMetadata.php | 30 + .../src/Google/Service/People/Relation.php | 58 + .../Google/Service/People/RelationshipInterest.php | 49 + .../Google/Service/People/RelationshipStatus.php | 49 + .../src/Google/Service/People/Residence.php | 49 + .../src/Google/Service/People/Resource/People.php | 78 + .../Service/People/Resource/PeopleConnections.php | 59 + .../src/Google/Service/People/Skill.php | 40 + .../src/Google/Service/People/Source.php | 58 + .../src/Google/Service/People/Tagline.php | 40 + .../src/Google/Service/People/Url.php | 58 + .../src/Google/Service/PlayMovies.php | 299 + .../src/Google/Service/PlayMovies/Avail.php | 319 + .../src/Google/Service/PlayMovies/Component.php | 220 + .../Google/Service/PlayMovies/ExperienceLocale.php | 229 + .../Service/PlayMovies/ListAvailsResponse.php | 50 + .../Service/PlayMovies/ListComponentsResponse.php | 50 + .../PlayMovies/ListExperienceLocalesResponse.php | 50 + .../Service/PlayMovies/ListOrdersResponse.php | 50 + .../Service/PlayMovies/ListStoreInfosResponse.php | 50 + .../src/Google/Service/PlayMovies/Order.php | 229 + .../Service/PlayMovies/Resource/Accounts.php | 28 + .../Service/PlayMovies/Resource/AccountsAvails.php | 82 + .../PlayMovies/Resource/AccountsComponents.php | 69 + .../PlayMovies/Resource/AccountsComponentsType.php | 44 + .../Resource/AccountsExperienceLocales.php | 79 + .../Service/PlayMovies/Resource/AccountsOrders.php | 78 + .../PlayMovies/Resource/AccountsStoreInfos.php | 66 + .../Resource/AccountsStoreInfosCountry.php | 47 + .../src/Google/Service/PlayMovies/StoreInfo.php | 247 + .../src/Google/Service/Playmoviespartner.php | 339 + .../Playmoviespartner/AccountsAvailsResource.php | 61 + .../AccountsExperienceLocalesResource.php | 79 + .../Playmoviespartner/AccountsOrdersResource.php | 73 + .../Service/Playmoviespartner/AccountsResource.php | 28 + .../AccountsStoreInfosCountryResource.php | 46 + .../AccountsStoreInfosResource.php | 62 + .../src/Google/Service/Playmoviespartner/Avail.php | 310 + .../Service/Playmoviespartner/ExperienceLocale.php | 229 + .../Playmoviespartner/ListAvailsResponse.php | 41 + .../ListExperienceLocalesResponse.php | 41 + .../Playmoviespartner/ListOrdersResponse.php | 41 + .../Playmoviespartner/ListStoreInfosResponse.php | 41 + .../src/Google/Service/Playmoviespartner/Order.php | 229 + .../Google/Service/Playmoviespartner/StoreInfo.php | 247 + .../apiclient-services/src/Google/Service/Plus.php | 267 + .../src/Google/Service/Plus/Acl.php | 50 + .../src/Google/Service/Plus/Activity.php | 206 + .../src/Google/Service/Plus/ActivityActor.php | 88 + .../Plus/ActivityActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../src/Google/Service/Plus/ActivityActorImage.php | 30 + .../src/Google/Service/Plus/ActivityActorName.php | 39 + .../Service/Plus/ActivityActorVerification.php | 30 + .../src/Google/Service/Plus/ActivityFeed.php | 104 + .../src/Google/Service/Plus/ActivityObject.php | 117 + .../Google/Service/Plus/ActivityObjectActor.php | 78 + .../ActivityObjectActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../Service/Plus/ActivityObjectActorImage.php | 30 + .../Plus/ActivityObjectActorVerification.php | 30 + .../Service/Plus/ActivityObjectAttachments.php | 107 + .../Plus/ActivityObjectAttachmentsEmbed.php | 39 + .../Plus/ActivityObjectAttachmentsFullImage.php | 57 + .../Plus/ActivityObjectAttachmentsImage.php | 57 + .../Plus/ActivityObjectAttachmentsThumbnails.php | 49 + .../ActivityObjectAttachmentsThumbnailsImage.php | 57 + .../Service/Plus/ActivityObjectPlusoners.php | 39 + .../Google/Service/Plus/ActivityObjectReplies.php | 39 + .../Service/Plus/ActivityObjectResharers.php | 39 + .../src/Google/Service/Plus/ActivityProvider.php | 30 + .../src/Google/Service/Plus/Comment.php | 125 + .../src/Google/Service/Plus/CommentActor.php | 78 + .../Plus/CommentActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../src/Google/Service/Plus/CommentActorImage.php | 30 + .../Service/Plus/CommentActorVerification.php | 30 + .../src/Google/Service/Plus/CommentFeed.php | 95 + .../src/Google/Service/Plus/CommentInReplyTo.php | 39 + .../src/Google/Service/Plus/CommentObject.php | 48 + .../src/Google/Service/Plus/CommentPlusoners.php | 30 + .../src/Google/Service/Plus/PeopleFeed.php | 86 + .../src/Google/Service/Plus/Person.php | 300 + .../src/Google/Service/Plus/PersonAgeRange.php | 39 + .../src/Google/Service/Plus/PersonCover.php | 50 + .../Google/Service/Plus/PersonCoverCoverInfo.php | 39 + .../Google/Service/Plus/PersonCoverCoverPhoto.php | 48 + .../src/Google/Service/Plus/PersonEmails.php | 39 + .../src/Google/Service/Plus/PersonImage.php | 39 + .../src/Google/Service/Plus/PersonName.php | 75 + .../Google/Service/Plus/PersonOrganizations.php | 102 + .../src/Google/Service/Plus/PersonPlacesLived.php | 39 + .../src/Google/Service/Plus/PersonUrls.php | 48 + .../src/Google/Service/Plus/Place.php | 68 + .../src/Google/Service/Plus/PlaceAddress.php | 30 + .../src/Google/Service/Plus/PlacePosition.php | 39 + .../Google/Service/Plus/PlusAclentryResource.php | 48 + .../Google/Service/Plus/Resource/Activities.php | 88 + .../src/Google/Service/Plus/Resource/Comments.php | 62 + .../src/Google/Service/Plus/Resource/People.php | 114 + .../src/Google/Service/PlusDomains.php | 453 + .../src/Google/Service/PlusDomains/Acl.php | 59 + .../src/Google/Service/PlusDomains/Activity.php | 206 + .../Google/Service/PlusDomains/ActivityActor.php | 88 + .../ActivityActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../Service/PlusDomains/ActivityActorImage.php | 30 + .../Service/PlusDomains/ActivityActorName.php | 39 + .../PlusDomains/ActivityActorVerification.php | 30 + .../Google/Service/PlusDomains/ActivityFeed.php | 104 + .../Google/Service/PlusDomains/ActivityObject.php | 127 + .../Service/PlusDomains/ActivityObjectActor.php | 78 + .../ActivityObjectActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../PlusDomains/ActivityObjectActorImage.php | 30 + .../ActivityObjectActorVerification.php | 30 + .../PlusDomains/ActivityObjectAttachments.php | 117 + .../PlusDomains/ActivityObjectAttachmentsEmbed.php | 39 + .../ActivityObjectAttachmentsFullImage.php | 57 + .../PlusDomains/ActivityObjectAttachmentsImage.php | 57 + .../ActivityObjectAttachmentsPreviewThumbnails.php | 30 + .../ActivityObjectAttachmentsThumbnails.php | 49 + .../ActivityObjectAttachmentsThumbnailsImage.php | 57 + .../PlusDomains/ActivityObjectPlusoners.php | 39 + .../Service/PlusDomains/ActivityObjectReplies.php | 39 + .../PlusDomains/ActivityObjectResharers.php | 39 + .../PlusDomains/ActivityObjectStatusForViewer.php | 66 + .../Service/PlusDomains/ActivityProvider.php | 30 + .../src/Google/Service/PlusDomains/Audience.php | 67 + .../Google/Service/PlusDomains/AudiencesFeed.php | 68 + .../src/Google/Service/PlusDomains/Circle.php | 85 + .../src/Google/Service/PlusDomains/CircleFeed.php | 95 + .../Google/Service/PlusDomains/CirclePeople.php | 30 + .../src/Google/Service/PlusDomains/Comment.php | 125 + .../Google/Service/PlusDomains/CommentActor.php | 78 + .../CommentActorClientSpecificActorInfo.php | 31 + ...ctorClientSpecificActorInfoYoutubeActorInfo.php | 30 + .../Service/PlusDomains/CommentActorImage.php | 30 + .../PlusDomains/CommentActorVerification.php | 30 + .../src/Google/Service/PlusDomains/CommentFeed.php | 95 + .../Service/PlusDomains/CommentInReplyTo.php | 39 + .../Google/Service/PlusDomains/CommentObject.php | 48 + .../Service/PlusDomains/CommentPlusoners.php | 30 + .../src/Google/Service/PlusDomains/Media.php | 187 + .../src/Google/Service/PlusDomains/MediaAuthor.php | 58 + .../Service/PlusDomains/MediaAuthorImage.php | 30 + .../src/Google/Service/PlusDomains/MediaExif.php | 30 + .../src/Google/Service/PlusDomains/PeopleFeed.php | 86 + .../src/Google/Service/PlusDomains/Person.php | 281 + .../src/Google/Service/PlusDomains/PersonCover.php | 50 + .../Service/PlusDomains/PersonCoverCoverInfo.php | 39 + .../Service/PlusDomains/PersonCoverCoverPhoto.php | 48 + .../Google/Service/PlusDomains/PersonEmails.php | 39 + .../src/Google/Service/PlusDomains/PersonImage.php | 39 + .../src/Google/Service/PlusDomains/PersonName.php | 75 + .../Service/PlusDomains/PersonOrganizations.php | 102 + .../Service/PlusDomains/PersonPlacesLived.php | 39 + .../src/Google/Service/PlusDomains/PersonUrls.php | 48 + .../src/Google/Service/PlusDomains/Place.php | 68 + .../Google/Service/PlusDomains/PlaceAddress.php | 30 + .../Google/Service/PlusDomains/PlacePosition.php | 39 + .../PlusDomains/PlusDomainsAclentryResource.php | 48 + .../Service/PlusDomains/Resource/Activities.php | 83 + .../Service/PlusDomains/Resource/Audiences.php | 50 + .../Service/PlusDomains/Resource/Circles.php | 154 + .../Service/PlusDomains/Resource/Comments.php | 76 + .../Google/Service/PlusDomains/Resource/Media.php | 46 + .../Google/Service/PlusDomains/Resource/People.php | 108 + .../src/Google/Service/PlusDomains/Videostream.php | 57 + .../src/Google/Service/Prediction.php | 205 + .../src/Google/Service/Prediction/Analyze.php | 78 + .../Service/Prediction/AnalyzeDataDescription.php | 42 + .../Prediction/AnalyzeDataDescriptionFeatures.php | 60 + .../AnalyzeDataDescriptionFeaturesCategorical.php | 41 + ...yzeDataDescriptionFeaturesCategoricalValues.php | 39 + .../AnalyzeDataDescriptionFeaturesNumeric.php | 48 + .../AnalyzeDataDescriptionFeaturesText.php | 30 + .../AnalyzeDataDescriptionOutputFeature.php | 42 + .../AnalyzeDataDescriptionOutputFeatureNumeric.php | 48 + .../AnalyzeDataDescriptionOutputFeatureText.php | 39 + .../Service/Prediction/AnalyzeModelDescription.php | 49 + .../src/Google/Service/Prediction/Input.php | 31 + .../src/Google/Service/Prediction/InputInput.php | 31 + .../src/Google/Service/Prediction/Insert.php | 95 + .../src/Google/Service/Prediction/Insert2.php | 121 + .../Google/Service/Prediction/Insert2ModelInfo.php | 75 + .../Service/Prediction/InsertTrainingInstances.php | 40 + .../src/Google/Service/Prediction/Output.php | 77 + .../Service/Prediction/OutputOutputMulti.php | 39 + .../Google/Service/Prediction/PredictionList.php | 59 + .../Service/Prediction/Resource/Hostedmodels.php | 44 + .../Service/Prediction/Resource/Trainedmodels.php | 130 + .../src/Google/Service/Prediction/Update.php | 40 + .../src/Google/Service/Proximitybeacon.php | 353 + .../Service/Proximitybeacon/AdvertisedId.php | 39 + .../Service/Proximitybeacon/AttachmentInfo.php | 39 + .../src/Google/Service/Proximitybeacon/Beacon.php | 124 + .../Service/Proximitybeacon/BeaconAttachment.php | 57 + .../Google/Service/Proximitybeacon/BeaconInfo.php | 51 + .../src/Google/Service/Proximitybeacon/Date.php | 48 + .../Proximitybeacon/DeleteAttachmentsResponse.php | 30 + .../Google/Service/Proximitybeacon/Diagnostics.php | 50 + .../Proximitybeacon/EphemeralIdRegistration.php | 75 + .../EphemeralIdRegistrationParams.php | 48 + .../GetInfoForObservedBeaconsRequest.php | 41 + .../GetInfoForObservedBeaconsResponse.php | 32 + .../Google/Service/Proximitybeacon/IndoorLevel.php | 30 + .../src/Google/Service/Proximitybeacon/LatLng.php | 39 + .../ListBeaconAttachmentsResponse.php | 32 + .../Proximitybeacon/ListBeaconsResponse.php | 50 + .../Proximitybeacon/ListDiagnosticsResponse.php | 41 + .../Proximitybeacon/ListNamespacesResponse.php | 32 + .../Google/Service/Proximitybeacon/Observation.php | 49 + .../Proximitybeacon/ProximitybeaconEmpty.php | 20 + .../Proximitybeacon/ProximitybeaconNamespace.php | 39 + .../Proximitybeacon/Resource/Beaconinfo.php | 44 + .../Service/Proximitybeacon/Resource/Beacons.php | 316 + .../Resource/BeaconsAttachments.php | 170 + .../Resource/BeaconsDiagnostics.php | 59 + .../Proximitybeacon/Resource/Namespaces.php | 70 + .../Service/Proximitybeacon/Resource/V1beta1.php | 46 + .../src/Google/Service/Pubsub.php | 353 + .../Google/Service/Pubsub/AcknowledgeRequest.php | 31 + .../src/Google/Service/Pubsub/Binding.php | 40 + .../Service/Pubsub/ListSubscriptionsResponse.php | 41 + .../Pubsub/ListTopicSubscriptionsResponse.php | 40 + .../Google/Service/Pubsub/ListTopicsResponse.php | 41 + .../Service/Pubsub/ModifyAckDeadlineRequest.php | 40 + .../Service/Pubsub/ModifyPushConfigRequest.php | 31 + .../src/Google/Service/Pubsub/Policy.php | 50 + .../src/Google/Service/Pubsub/PublishRequest.php | 32 + .../src/Google/Service/Pubsub/PublishResponse.php | 31 + .../src/Google/Service/Pubsub/PubsubEmpty.php | 20 + .../src/Google/Service/Pubsub/PubsubMessage.php | 57 + .../src/Google/Service/Pubsub/PullRequest.php | 39 + .../src/Google/Service/Pubsub/PullResponse.php | 32 + .../src/Google/Service/Pubsub/PushConfig.php | 39 + .../src/Google/Service/Pubsub/ReceivedMessage.php | 40 + .../Google/Service/Pubsub/Resource/Projects.php | 28 + .../Service/Pubsub/Resource/ProjectsSnapshots.php | 83 + .../Pubsub/Resource/ProjectsSubscriptions.php | 243 + .../Service/Pubsub/Resource/ProjectsTopics.php | 170 + .../Resource/ProjectsTopicsSubscriptions.php | 49 + .../Google/Service/Pubsub/SetIamPolicyRequest.php | 31 + .../src/Google/Service/Pubsub/Subscription.php | 58 + .../Service/Pubsub/TestIamPermissionsRequest.php | 31 + .../Service/Pubsub/TestIamPermissionsResponse.php | 31 + .../src/Google/Service/Pubsub/Topic.php | 30 + .../src/Google/Service/QPXExpress.php | 65 + .../src/Google/Service/QPXExpress/AircraftData.php | 48 + .../src/Google/Service/QPXExpress/AirportData.php | 57 + .../Google/Service/QPXExpress/BagDescriptor.php | 67 + .../src/Google/Service/QPXExpress/CarrierData.php | 48 + .../src/Google/Service/QPXExpress/CityData.php | 57 + .../src/Google/Service/QPXExpress/Data.php | 81 + .../src/Google/Service/QPXExpress/FareInfo.php | 84 + .../src/Google/Service/QPXExpress/FlightInfo.php | 39 + .../Service/QPXExpress/FreeBaggageAllowance.php | 77 + .../src/Google/Service/QPXExpress/LegInfo.php | 174 + .../Google/Service/QPXExpress/PassengerCounts.php | 75 + .../src/Google/Service/QPXExpress/PricingInfo.php | 143 + .../Google/Service/QPXExpress/Resource/Trips.php | 41 + .../src/Google/Service/QPXExpress/SegmentInfo.php | 123 + .../Google/Service/QPXExpress/SegmentPricing.php | 59 + .../src/Google/Service/QPXExpress/SliceInfo.php | 50 + .../src/Google/Service/QPXExpress/SliceInput.php | 122 + .../src/Google/Service/QPXExpress/TaxData.php | 48 + .../src/Google/Service/QPXExpress/TaxInfo.php | 75 + .../Google/Service/QPXExpress/TimeOfDayRange.php | 48 + .../src/Google/Service/QPXExpress/TripOption.php | 69 + .../Service/QPXExpress/TripOptionsRequest.php | 87 + .../Service/QPXExpress/TripOptionsResponse.php | 60 + .../Service/QPXExpress/TripsSearchRequest.php | 31 + .../Service/QPXExpress/TripsSearchResponse.php | 40 + .../src/Google/Service/Replicapool.php | 343 + .../Service/Replicapool/InstanceGroupManager.php | 149 + .../Replicapool/InstanceGroupManagerList.php | 68 + ...nstanceGroupManagersAbandonInstancesRequest.php | 31 + ...InstanceGroupManagersDeleteInstancesRequest.php | 31 + ...stanceGroupManagersRecreateInstancesRequest.php | 31 + ...anceGroupManagersSetInstanceTemplateRequest.php | 30 + .../InstanceGroupManagersSetTargetPoolsRequest.php | 40 + .../src/Google/Service/Replicapool/Operation.php | 222 + .../Google/Service/Replicapool/OperationError.php | 32 + .../Service/Replicapool/OperationErrorErrors.php | 48 + .../Google/Service/Replicapool/OperationList.php | 68 + .../Service/Replicapool/OperationWarnings.php | 50 + .../Service/Replicapool/OperationWarningsData.php | 39 + .../Replicapool/ReplicaPoolAutoHealingPolicy.php | 39 + .../Replicapool/Resource/InstanceGroupManagers.php | 223 + .../Replicapool/Resource/ZoneOperations.php | 66 + .../src/Google/Service/Replicapoolupdater.php | 306 + .../Service/Replicapoolupdater/InstanceUpdate.php | 49 + .../Replicapoolupdater/InstanceUpdateError.php | 32 + .../InstanceUpdateErrorErrors.php | 48 + .../Replicapoolupdater/InstanceUpdateList.php | 59 + .../Service/Replicapoolupdater/Operation.php | 222 + .../Service/Replicapoolupdater/OperationError.php | 32 + .../Replicapoolupdater/OperationErrorErrors.php | 48 + .../Service/Replicapoolupdater/OperationList.php | 68 + .../Replicapoolupdater/OperationWarnings.php | 50 + .../Replicapoolupdater/OperationWarningsData.php | 39 + .../Replicapoolupdater/Resource/RollingUpdates.php | 177 + .../Replicapoolupdater/Resource/ZoneOperations.php | 66 + .../Service/Replicapoolupdater/RollingUpdate.php | 167 + .../Replicapoolupdater/RollingUpdateError.php | 32 + .../RollingUpdateErrorErrors.php | 48 + .../Replicapoolupdater/RollingUpdateList.php | 59 + .../Replicapoolupdater/RollingUpdatePolicy.php | 66 + .../src/Google/Service/Reports.php | 255 + .../src/Google/Service/Reports/Activities.php | 59 + .../src/Google/Service/Reports/Activity.php | 88 + .../src/Google/Service/Reports/ActivityActor.php | 57 + .../src/Google/Service/Reports/ActivityEvents.php | 50 + .../Service/Reports/ActivityEventsParameters.php | 76 + .../src/Google/Service/Reports/ActivityId.php | 57 + .../src/Google/Service/Reports/Channel.php | 111 + .../Google/Service/Reports/Resource/Activities.php | 94 + .../Google/Service/Reports/Resource/Channels.php | 40 + .../Reports/Resource/CustomerUsageReports.php | 49 + .../Service/Reports/Resource/UserUsageReport.php | 55 + .../src/Google/Service/Reports/UsageReport.php | 69 + .../Google/Service/Reports/UsageReportEntity.php | 57 + .../Service/Reports/UsageReportParameters.php | 76 + .../src/Google/Service/Reports/UsageReports.php | 69 + .../Service/Reports/UsageReportsWarnings.php | 50 + .../Service/Reports/UsageReportsWarningsData.php | 39 + .../src/Google/Service/Reseller.php | 313 + .../src/Google/Service/Reseller/Address.php | 111 + .../Google/Service/Reseller/ChangePlanRequest.php | 67 + .../src/Google/Service/Reseller/Customer.php | 94 + .../Google/Service/Reseller/RenewalSettings.php | 39 + .../ResellernotifyGetwatchdetailsResponse.php | 40 + .../Service/Reseller/ResellernotifyResource.php | 30 + .../Google/Service/Reseller/Resource/Customers.php | 99 + .../Service/Reseller/Resource/Resellernotify.php | 72 + .../Service/Reseller/Resource/Subscriptions.php | 265 + .../src/Google/Service/Reseller/Seats.php | 57 + .../src/Google/Service/Reseller/Subscription.php | 189 + .../Google/Service/Reseller/SubscriptionPlan.php | 49 + .../SubscriptionPlanCommitmentInterval.php | 39 + .../Service/Reseller/SubscriptionTransferInfo.php | 39 + .../Service/Reseller/SubscriptionTrialSettings.php | 39 + .../src/Google/Service/Reseller/Subscriptions.php | 50 + .../src/Google/Service/Resourceviews.php | 339 + .../src/Google/Service/Resourceviews/Label.php | 39 + .../Resourceviews/ListResourceResponseItem.php | 39 + .../src/Google/Service/Resourceviews/Operation.php | 222 + .../Service/Resourceviews/OperationError.php | 32 + .../Service/Resourceviews/OperationErrorErrors.php | 48 + .../Google/Service/Resourceviews/OperationList.php | 68 + .../Service/Resourceviews/OperationWarnings.php | 50 + .../Resourceviews/OperationWarningsData.php | 39 + .../Resourceviews/Resource/ZoneOperations.php | 66 + .../Service/Resourceviews/Resource/ZoneViews.php | 190 + .../Google/Service/Resourceviews/ResourceView.php | 132 + .../Service/Resourceviews/ServiceEndpoint.php | 39 + .../Resourceviews/ZoneViewsAddResourcesRequest.php | 31 + .../Resourceviews/ZoneViewsGetServiceResponse.php | 41 + .../Google/Service/Resourceviews/ZoneViewsList.php | 59 + .../ZoneViewsListResourcesResponse.php | 50 + .../ZoneViewsRemoveResourcesRequest.php | 31 + .../Resourceviews/ZoneViewsSetServiceRequest.php | 50 + .../src/Google/Service/SQLAdmin.php | 811 + .../src/Google/Service/SQLAdmin/AclEntry.php | 57 + .../Service/SQLAdmin/BackupConfiguration.php | 57 + .../src/Google/Service/SQLAdmin/BackupRun.php | 130 + .../Service/SQLAdmin/BackupRunsListResponse.php | 50 + .../Google/Service/SQLAdmin/BinLogCoordinates.php | 48 + .../src/Google/Service/SQLAdmin/CloneContext.php | 49 + .../src/Google/Service/SQLAdmin/Database.php | 93 + .../src/Google/Service/SQLAdmin/DatabaseFlags.php | 39 + .../Google/Service/SQLAdmin/DatabaseInstance.php | 244 + .../SQLAdmin/DatabaseInstanceFailoverReplica.php | 39 + .../Service/SQLAdmin/DatabasesListResponse.php | 41 + .../src/Google/Service/SQLAdmin/ExportContext.php | 78 + .../SQLAdmin/ExportContextCsvExportOptions.php | 30 + .../SQLAdmin/ExportContextSqlExportOptions.php | 40 + .../Google/Service/SQLAdmin/FailoverContext.php | 39 + .../src/Google/Service/SQLAdmin/Flag.php | 94 + .../Google/Service/SQLAdmin/FlagsListResponse.php | 41 + .../src/Google/Service/SQLAdmin/ImportContext.php | 67 + .../SQLAdmin/ImportContextCsvImportOptions.php | 40 + .../Service/SQLAdmin/InstancesCloneRequest.php | 31 + .../Service/SQLAdmin/InstancesExportRequest.php | 31 + .../Service/SQLAdmin/InstancesFailoverRequest.php | 31 + .../Service/SQLAdmin/InstancesImportRequest.php | 31 + .../Service/SQLAdmin/InstancesListResponse.php | 50 + .../SQLAdmin/InstancesRestoreBackupRequest.php | 31 + .../SQLAdmin/InstancesTruncateLogRequest.php | 31 + .../Google/Service/SQLAdmin/IpConfiguration.php | 50 + .../src/Google/Service/SQLAdmin/IpMapping.php | 48 + .../src/Google/Service/SQLAdmin/Labels.php | 39 + .../Google/Service/SQLAdmin/LocationPreference.php | 48 + .../Google/Service/SQLAdmin/MaintenanceWindow.php | 57 + .../Service/SQLAdmin/MySqlReplicaConfiguration.php | 120 + .../Service/SQLAdmin/OnPremisesConfiguration.php | 39 + .../src/Google/Service/SQLAdmin/Operation.php | 159 + .../src/Google/Service/SQLAdmin/OperationError.php | 48 + .../Google/Service/SQLAdmin/OperationErrors.php | 41 + .../Service/SQLAdmin/OperationsListResponse.php | 50 + .../Service/SQLAdmin/ReplicaConfiguration.php | 49 + .../Service/SQLAdmin/Resource/BackupRuns.php | 100 + .../Google/Service/SQLAdmin/Resource/Databases.php | 131 + .../src/Google/Service/SQLAdmin/Resource/Flags.php | 44 + .../Google/Service/SQLAdmin/Resource/Instances.php | 311 + .../Service/SQLAdmin/Resource/Operations.php | 64 + .../Google/Service/SQLAdmin/Resource/SslCerts.php | 119 + .../src/Google/Service/SQLAdmin/Resource/Tiers.php | 42 + .../src/Google/Service/SQLAdmin/Resource/Users.php | 94 + .../Service/SQLAdmin/RestoreBackupContext.php | 48 + .../src/Google/Service/SQLAdmin/Settings.php | 208 + .../src/Google/Service/SQLAdmin/SslCert.php | 102 + .../src/Google/Service/SQLAdmin/SslCertDetail.php | 40 + .../SQLAdmin/SslCertsCreateEphemeralRequest.php | 33 + .../Service/SQLAdmin/SslCertsInsertRequest.php | 30 + .../Service/SQLAdmin/SslCertsInsertResponse.php | 60 + .../Service/SQLAdmin/SslCertsListResponse.php | 41 + .../src/Google/Service/SQLAdmin/Tier.php | 71 + .../Google/Service/SQLAdmin/TiersListResponse.php | 41 + .../Google/Service/SQLAdmin/TruncateLogContext.php | 39 + .../src/Google/Service/SQLAdmin/User.php | 84 + .../Google/Service/SQLAdmin/UsersListResponse.php | 50 + .../src/Google/Service/Safebrowsing.php | 171 + .../src/Google/Service/Safebrowsing/Checksum.php | 30 + .../src/Google/Service/Safebrowsing/ClientInfo.php | 39 + .../Google/Service/Safebrowsing/Constraints.php | 58 + .../Safebrowsing/FetchThreatListUpdatesRequest.php | 42 + .../FetchThreatListUpdatesResponse.php | 41 + .../Service/Safebrowsing/FindFullHashesRequest.php | 61 + .../Safebrowsing/FindFullHashesResponse.php | 50 + .../Safebrowsing/FindThreatMatchesRequest.php | 41 + .../Safebrowsing/FindThreatMatchesResponse.php | 32 + .../Safebrowsing/ListThreatListsResponse.php | 32 + .../Service/Safebrowsing/ListUpdateRequest.php | 67 + .../Service/Safebrowsing/ListUpdateResponse.php | 97 + .../Google/Service/Safebrowsing/MetadataEntry.php | 39 + .../src/Google/Service/Safebrowsing/RawHashes.php | 39 + .../src/Google/Service/Safebrowsing/RawIndices.php | 31 + .../Safebrowsing/Resource/EncodedFullHashes.php | 45 + .../Safebrowsing/Resource/EncodedUpdates.php | 46 + .../Service/Safebrowsing/Resource/FullHashes.php | 42 + .../Safebrowsing/Resource/ThreatListUpdates.php | 42 + .../Service/Safebrowsing/Resource/ThreatLists.php | 41 + .../Safebrowsing/Resource/ThreatMatches.php | 42 + .../Service/Safebrowsing/RiceDeltaEncoding.php | 57 + .../Google/Service/Safebrowsing/ThreatEntry.php | 48 + .../Service/Safebrowsing/ThreatEntryMetadata.php | 32 + .../Google/Service/Safebrowsing/ThreatEntrySet.php | 70 + .../src/Google/Service/Safebrowsing/ThreatInfo.php | 59 + .../Service/Safebrowsing/ThreatListDescriptor.php | 48 + .../Google/Service/Safebrowsing/ThreatMatch.php | 76 + .../src/Google/Service/Script.php | 103 + .../src/Google/Service/Script/ExecutionError.php | 50 + .../src/Google/Service/Script/ExecutionRequest.php | 58 + .../Google/Service/Script/ExecutionResponse.php | 30 + .../src/Google/Service/Script/Operation.php | 67 + .../src/Google/Service/Script/Resource/Scripts.php | 52 + .../Service/Script/ScriptStackTraceElement.php | 39 + .../src/Google/Service/Script/Status.php | 49 + .../src/Google/Service/SearchConsole.php | 65 + .../Service/SearchConsole/BlockedResource.php | 30 + .../src/Google/Service/SearchConsole/Image.php | 39 + .../Service/SearchConsole/MobileFriendlyIssue.php | 30 + .../SearchConsole/Resource/UrlTestingTools.php | 28 + .../Resource/UrlTestingToolsMobileFriendlyTest.php | 41 + .../Google/Service/SearchConsole/ResourceIssue.php | 31 + .../SearchConsole/RunMobileFriendlyTestRequest.php | 39 + .../RunMobileFriendlyTestResponse.php | 71 + .../Google/Service/SearchConsole/TestStatus.php | 39 + .../src/Google/Service/ServiceControl.php | 127 + .../ServiceControl/AllocateQuotaRequest.php | 49 + .../ServiceControl/AllocateQuotaResponse.php | 60 + .../src/Google/Service/ServiceControl/AuditLog.php | 125 + .../Service/ServiceControl/AuthenticationInfo.php | 39 + .../Service/ServiceControl/AuthorizationInfo.php | 48 + .../Google/Service/ServiceControl/CheckError.php | 39 + .../Google/Service/ServiceControl/CheckInfo.php | 31 + .../Google/Service/ServiceControl/CheckRequest.php | 58 + .../Service/ServiceControl/CheckResponse.php | 70 + .../Google/Service/ServiceControl/Distribution.php | 106 + .../ServiceControl/EndReconciliationRequest.php | 40 + .../ServiceControl/EndReconciliationResponse.php | 60 + .../Service/ServiceControl/ExplicitBuckets.php | 31 + .../Service/ServiceControl/ExponentialBuckets.php | 48 + .../Service/ServiceControl/LinearBuckets.php | 48 + .../src/Google/Service/ServiceControl/LogEntry.php | 93 + .../Google/Service/ServiceControl/MetricValue.php | 104 + .../Service/ServiceControl/MetricValueSet.php | 41 + .../src/Google/Service/ServiceControl/Money.php | 48 + .../Google/Service/ServiceControl/Operation.php | 133 + .../Google/Service/ServiceControl/QuotaError.php | 48 + .../Google/Service/ServiceControl/QuotaInfo.php | 50 + .../Service/ServiceControl/QuotaOperation.php | 77 + .../Service/ServiceControl/QuotaProperties.php | 39 + .../Service/ServiceControl/ReleaseQuotaRequest.php | 40 + .../ServiceControl/ReleaseQuotaResponse.php | 60 + .../Google/Service/ServiceControl/ReportError.php | 40 + .../Google/Service/ServiceControl/ReportInfo.php | 40 + .../Service/ServiceControl/ReportRequest.php | 41 + .../Service/ServiceControl/ReportResponse.php | 51 + .../Service/ServiceControl/RequestMetadata.php | 39 + .../Service/ServiceControl/Resource/Services.php | 191 + .../ServiceControl/StartReconciliationRequest.php | 40 + .../ServiceControl/StartReconciliationResponse.php | 60 + .../src/Google/Service/ServiceControl/Status.php | 49 + .../src/Google/Service/ServiceManagement.php | 366 + .../Google/Service/ServiceManagement/Advice.php | 30 + .../Google/Service/ServiceManagement/Analytics.php | 32 + .../ServiceManagement/AnalyticsDestination.php | 40 + .../src/Google/Service/ServiceManagement/Api.php | 89 + .../Service/ServiceManagement/AuditConfig.php | 50 + .../Service/ServiceManagement/AuditLogConfig.php | 40 + .../Service/ServiceManagement/AuthProvider.php | 57 + .../Service/ServiceManagement/AuthRequirement.php | 39 + .../Service/ServiceManagement/Authentication.php | 42 + .../ServiceManagement/AuthenticationRule.php | 60 + .../ServiceManagement/AuthorizationConfig.php | 30 + .../Google/Service/ServiceManagement/Backend.php | 32 + .../Service/ServiceManagement/BackendRule.php | 48 + .../Google/Service/ServiceManagement/Binding.php | 40 + .../Service/ServiceManagement/ChangeReport.php | 32 + .../ServiceManagement/CloudAuditOptions.php | 20 + .../Google/Service/ServiceManagement/Condition.php | 76 + .../Service/ServiceManagement/ConfigChange.php | 68 + .../Service/ServiceManagement/ConfigFile.php | 48 + .../Service/ServiceManagement/ConfigOptions.php | 20 + .../Google/Service/ServiceManagement/ConfigRef.php | 30 + .../Service/ServiceManagement/ConfigSource.php | 41 + .../Google/Service/ServiceManagement/Context.php | 32 + .../Service/ServiceManagement/ContextRule.php | 49 + .../Google/Service/ServiceManagement/Control.php | 30 + .../Service/ServiceManagement/CounterOptions.php | 39 + .../Service/ServiceManagement/CustomError.php | 41 + .../Service/ServiceManagement/CustomErrorRule.php | 39 + .../ServiceManagement/CustomHttpPattern.php | 39 + .../ServiceManagement/DataAccessOptions.php | 20 + .../ServiceManagement/DeleteServiceStrategy.php | 20 + .../Service/ServiceManagement/Diagnostic.php | 48 + .../ServiceManagement/DisableServiceRequest.php | 30 + .../Service/ServiceManagement/Documentation.php | 69 + .../ServiceManagement/DocumentationRule.php | 48 + .../ServiceManagement/EnableServiceRequest.php | 30 + .../Google/Service/ServiceManagement/Endpoint.php | 67 + .../src/Google/Service/ServiceManagement/Enum.php | 70 + .../Google/Service/ServiceManagement/EnumValue.php | 50 + .../Service/ServiceManagement/Experimental.php | 31 + .../src/Google/Service/ServiceManagement/Field.php | 113 + .../GenerateConfigReportRequest.php | 39 + .../GenerateConfigReportResponse.php | 60 + .../ServiceManagement/GetIamPolicyRequest.php | 20 + .../src/Google/Service/ServiceManagement/Http.php | 32 + .../Google/Service/ServiceManagement/HttpRule.php | 134 + .../Service/ServiceManagement/LabelDescriptor.php | 48 + .../ServiceManagement/ListOperationsResponse.php | 41 + .../ListServiceConfigsResponse.php | 41 + .../ListServiceRolloutsResponse.php | 41 + .../ServiceManagement/ListServicesResponse.php | 41 + .../Google/Service/ServiceManagement/LogConfig.php | 51 + .../Service/ServiceManagement/LogDescriptor.php | 59 + .../Google/Service/ServiceManagement/Logging.php | 42 + .../ServiceManagement/LoggingDestination.php | 40 + .../Service/ServiceManagement/ManagedService.php | 39 + .../Service/ServiceManagement/MediaDownload.php | 39 + .../Service/ServiceManagement/MediaUpload.php | 39 + .../Google/Service/ServiceManagement/Method.php | 86 + .../Service/ServiceManagement/MetricDescriptor.php | 95 + .../src/Google/Service/ServiceManagement/Mixin.php | 39 + .../MonitoredResourceDescriptor.php | 68 + .../Service/ServiceManagement/Monitoring.php | 42 + .../ServiceManagement/MonitoringDestination.php | 40 + .../ServiceManagement/OAuthRequirements.php | 30 + .../Google/Service/ServiceManagement/Operation.php | 67 + .../ServiceManagement/OperationMetadata.php | 59 + .../Google/Service/ServiceManagement/Option.php | 39 + .../src/Google/Service/ServiceManagement/Page.php | 50 + .../Google/Service/ServiceManagement/Policy.php | 79 + .../ServiceManagement/Resource/Operations.php | 65 + .../ServiceManagement/Resource/Services.php | 265 + .../ServiceManagement/Resource/ServicesConfigs.php | 108 + .../Resource/ServicesRollouts.php | 89 + .../Google/Service/ServiceManagement/Rollout.php | 86 + .../src/Google/Service/ServiceManagement/Rule.php | 87 + .../Google/Service/ServiceManagement/Service.php | 287 + .../ServiceManagement/SetIamPolicyRequest.php | 40 + .../Service/ServiceManagement/SourceContext.php | 30 + .../Service/ServiceManagement/SourceInfo.php | 31 + .../Google/Service/ServiceManagement/Status.php | 49 + .../src/Google/Service/ServiceManagement/Step.php | 39 + .../SubmitConfigSourceRequest.php | 40 + .../SubmitConfigSourceResponse.php | 31 + .../Service/ServiceManagement/SystemParameter.php | 48 + .../ServiceManagement/SystemParameterRule.php | 41 + .../Service/ServiceManagement/SystemParameters.php | 32 + .../TestIamPermissionsRequest.php | 31 + .../TestIamPermissionsResponse.php | 31 + .../ServiceManagement/TrafficPercentStrategy.php | 30 + .../src/Google/Service/ServiceManagement/Type.php | 79 + .../ServiceManagement/UndeleteServiceResponse.php | 31 + .../src/Google/Service/ServiceManagement/Usage.php | 50 + .../Google/Service/ServiceManagement/UsageRule.php | 39 + .../Service/ServiceManagement/Visibility.php | 32 + .../Service/ServiceManagement/VisibilityRule.php | 39 + .../src/Google/Service/ServiceRegistry.php | 221 + .../Google/Service/ServiceRegistry/Endpoint.php | 112 + .../ServiceRegistry/EndpointEndpointVisibility.php | 40 + .../ServiceRegistry/EndpointsListResponse.php | 41 + .../Google/Service/ServiceRegistry/Operation.php | 231 + .../Service/ServiceRegistry/OperationError.php | 32 + .../ServiceRegistry/OperationErrorErrors.php | 48 + .../Service/ServiceRegistry/OperationWarnings.php | 50 + .../ServiceRegistry/OperationWarningsData.php | 39 + .../ServiceRegistry/OperationsListResponse.php | 41 + .../Service/ServiceRegistry/Resource/Endpoints.php | 157 + .../ServiceRegistry/Resource/Operations.php | 99 + .../src/Google/Service/ServiceUser.php | 133 + .../src/Google/Service/ServiceUser/Api.php | 89 + .../Google/Service/ServiceUser/AuthProvider.php | 57 + .../Google/Service/ServiceUser/AuthRequirement.php | 39 + .../Google/Service/ServiceUser/Authentication.php | 42 + .../Service/ServiceUser/AuthenticationRule.php | 60 + .../Service/ServiceUser/AuthorizationConfig.php | 30 + .../src/Google/Service/ServiceUser/Backend.php | 32 + .../src/Google/Service/ServiceUser/BackendRule.php | 48 + .../src/Google/Service/ServiceUser/Context.php | 32 + .../src/Google/Service/ServiceUser/ContextRule.php | 49 + .../src/Google/Service/ServiceUser/Control.php | 30 + .../src/Google/Service/ServiceUser/CustomError.php | 41 + .../Google/Service/ServiceUser/CustomErrorRule.php | 39 + .../Service/ServiceUser/CustomHttpPattern.php | 39 + .../Service/ServiceUser/DisableServiceRequest.php | 20 + .../Google/Service/ServiceUser/Documentation.php | 69 + .../Service/ServiceUser/DocumentationRule.php | 48 + .../Service/ServiceUser/EnableServiceRequest.php | 20 + .../src/Google/Service/ServiceUser/Endpoint.php | 67 + .../src/Google/Service/ServiceUser/Enum.php | 70 + .../src/Google/Service/ServiceUser/EnumValue.php | 50 + .../Google/Service/ServiceUser/Experimental.php | 31 + .../src/Google/Service/ServiceUser/Field.php | 113 + .../src/Google/Service/ServiceUser/Http.php | 32 + .../src/Google/Service/ServiceUser/HttpRule.php | 134 + .../Google/Service/ServiceUser/LabelDescriptor.php | 48 + .../ServiceUser/ListEnabledServicesResponse.php | 41 + .../Google/Service/ServiceUser/LogDescriptor.php | 59 + .../src/Google/Service/ServiceUser/Logging.php | 42 + .../Service/ServiceUser/LoggingDestination.php | 40 + .../Google/Service/ServiceUser/MediaDownload.php | 39 + .../src/Google/Service/ServiceUser/MediaUpload.php | 39 + .../src/Google/Service/ServiceUser/Method.php | 86 + .../Service/ServiceUser/MetricDescriptor.php | 95 + .../src/Google/Service/ServiceUser/Mixin.php | 39 + .../ServiceUser/MonitoredResourceDescriptor.php | 68 + .../src/Google/Service/ServiceUser/Monitoring.php | 42 + .../Service/ServiceUser/MonitoringDestination.php | 40 + .../Service/ServiceUser/OAuthRequirements.php | 30 + .../src/Google/Service/ServiceUser/Operation.php | 67 + .../Service/ServiceUser/OperationMetadata.php | 59 + .../src/Google/Service/ServiceUser/Option.php | 39 + .../src/Google/Service/ServiceUser/Page.php | 50 + .../Service/ServiceUser/PublishedService.php | 40 + .../Service/ServiceUser/Resource/Projects.php | 28 + .../ServiceUser/Resource/ProjectsServices.php | 93 + .../Service/ServiceUser/Resource/Services.php | 48 + .../Service/ServiceUser/SearchServicesResponse.php | 41 + .../src/Google/Service/ServiceUser/Service.php | 287 + .../Google/Service/ServiceUser/SourceContext.php | 30 + .../src/Google/Service/ServiceUser/SourceInfo.php | 31 + .../src/Google/Service/ServiceUser/Status.php | 49 + .../src/Google/Service/ServiceUser/Step.php | 39 + .../Google/Service/ServiceUser/SystemParameter.php | 48 + .../Service/ServiceUser/SystemParameterRule.php | 41 + .../Service/ServiceUser/SystemParameters.php | 32 + .../src/Google/Service/ServiceUser/Type.php | 79 + .../src/Google/Service/ServiceUser/Usage.php | 50 + .../src/Google/Service/ServiceUser/UsageRule.php | 39 + .../src/Google/Service/ServiceUser/Visibility.php | 32 + .../Google/Service/ServiceUser/VisibilityRule.php | 39 + .../src/Google/Service/Sheets.php | 297 + .../Google/Service/Sheets/AddBandingRequest.php | 31 + .../Google/Service/Sheets/AddBandingResponse.php | 31 + .../src/Google/Service/Sheets/AddChartRequest.php | 31 + .../src/Google/Service/Sheets/AddChartResponse.php | 31 + .../Sheets/AddConditionalFormatRuleRequest.php | 40 + .../Google/Service/Sheets/AddFilterViewRequest.php | 31 + .../Service/Sheets/AddFilterViewResponse.php | 31 + .../Google/Service/Sheets/AddNamedRangeRequest.php | 31 + .../Service/Sheets/AddNamedRangeResponse.php | 31 + .../Service/Sheets/AddProtectedRangeRequest.php | 31 + .../Service/Sheets/AddProtectedRangeResponse.php | 31 + .../src/Google/Service/Sheets/AddSheetRequest.php | 31 + .../src/Google/Service/Sheets/AddSheetResponse.php | 31 + .../Google/Service/Sheets/AppendCellsRequest.php | 50 + .../Service/Sheets/AppendDimensionRequest.php | 48 + .../Google/Service/Sheets/AppendValuesResponse.php | 49 + .../src/Google/Service/Sheets/AutoFillRequest.php | 50 + .../Service/Sheets/AutoResizeDimensionsRequest.php | 31 + .../src/Google/Service/Sheets/BandedRange.php | 60 + .../Google/Service/Sheets/BandingProperties.php | 61 + .../src/Google/Service/Sheets/BasicChartAxis.php | 49 + .../src/Google/Service/Sheets/BasicChartDomain.php | 31 + .../src/Google/Service/Sheets/BasicChartSeries.php | 49 + .../src/Google/Service/Sheets/BasicChartSpec.php | 79 + .../src/Google/Service/Sheets/BasicFilter.php | 52 + .../Service/Sheets/BatchClearValuesRequest.php | 31 + .../Service/Sheets/BatchClearValuesResponse.php | 40 + .../Service/Sheets/BatchGetValuesResponse.php | 41 + .../Sheets/BatchUpdateSpreadsheetRequest.php | 59 + .../Sheets/BatchUpdateSpreadsheetResponse.php | 51 + .../Service/Sheets/BatchUpdateValuesRequest.php | 68 + .../Service/Sheets/BatchUpdateValuesResponse.php | 77 + .../src/Google/Service/Sheets/BooleanCondition.php | 41 + .../src/Google/Service/Sheets/BooleanRule.php | 41 + .../src/Google/Service/Sheets/Border.php | 49 + .../src/Google/Service/Sheets/Borders.php | 61 + .../src/Google/Service/Sheets/CellData.php | 119 + .../src/Google/Service/Sheets/CellFormat.php | 126 + .../src/Google/Service/Sheets/ChartData.php | 31 + .../src/Google/Service/Sheets/ChartSourceRange.php | 32 + .../src/Google/Service/Sheets/ChartSpec.php | 59 + .../Service/Sheets/ClearBasicFilterRequest.php | 30 + .../Google/Service/Sheets/ClearValuesRequest.php | 20 + .../Google/Service/Sheets/ClearValuesResponse.php | 39 + .../src/Google/Service/Sheets/Color.php | 57 + .../src/Google/Service/Sheets/ConditionValue.php | 39 + .../Service/Sheets/ConditionalFormatRule.php | 52 + .../src/Google/Service/Sheets/CopyPasteRequest.php | 59 + .../CopySheetToAnotherSpreadsheetRequest.php | 30 + .../src/Google/Service/Sheets/CutPasteRequest.php | 50 + .../Google/Service/Sheets/DataValidationRule.php | 58 + .../Google/Service/Sheets/DeleteBandingRequest.php | 30 + .../Sheets/DeleteConditionalFormatRuleRequest.php | 39 + .../Sheets/DeleteConditionalFormatRuleResponse.php | 31 + .../Service/Sheets/DeleteDimensionRequest.php | 31 + .../Service/Sheets/DeleteEmbeddedObjectRequest.php | 30 + .../Service/Sheets/DeleteFilterViewRequest.php | 30 + .../Service/Sheets/DeleteNamedRangeRequest.php | 30 + .../Service/Sheets/DeleteProtectedRangeRequest.php | 30 + .../Google/Service/Sheets/DeleteRangeRequest.php | 40 + .../Google/Service/Sheets/DeleteSheetRequest.php | 30 + .../Google/Service/Sheets/DimensionProperties.php | 48 + .../src/Google/Service/Sheets/DimensionRange.php | 57 + .../Service/Sheets/DuplicateFilterViewRequest.php | 30 + .../Service/Sheets/DuplicateFilterViewResponse.php | 31 + .../Service/Sheets/DuplicateSheetRequest.php | 57 + .../Service/Sheets/DuplicateSheetResponse.php | 31 + .../src/Google/Service/Sheets/Editors.php | 49 + .../src/Google/Service/Sheets/EmbeddedChart.php | 50 + .../Service/Sheets/EmbeddedObjectPosition.php | 49 + .../src/Google/Service/Sheets/ErrorValue.php | 39 + .../src/Google/Service/Sheets/ExtendedValue.php | 67 + .../src/Google/Service/Sheets/FilterCriteria.php | 41 + .../src/Google/Service/Sheets/FilterView.php | 79 + .../Google/Service/Sheets/FindReplaceRequest.php | 103 + .../Google/Service/Sheets/FindReplaceResponse.php | 66 + .../src/Google/Service/Sheets/GradientRule.php | 51 + .../src/Google/Service/Sheets/GridCoordinate.php | 48 + .../src/Google/Service/Sheets/GridData.php | 70 + .../src/Google/Service/Sheets/GridProperties.php | 66 + .../src/Google/Service/Sheets/GridRange.php | 66 + .../Service/Sheets/InsertDimensionRequest.php | 40 + .../Google/Service/Sheets/InsertRangeRequest.php | 40 + .../Google/Service/Sheets/InterpolationPoint.php | 49 + .../Sheets/IterativeCalculationSettings.php | 39 + .../Google/Service/Sheets/MergeCellsRequest.php | 40 + .../Google/Service/Sheets/MoveDimensionRequest.php | 40 + .../src/Google/Service/Sheets/NamedRange.php | 49 + .../src/Google/Service/Sheets/NumberFormat.php | 39 + .../src/Google/Service/Sheets/OverlayPosition.php | 67 + .../src/Google/Service/Sheets/Padding.php | 57 + .../src/Google/Service/Sheets/PasteDataRequest.php | 67 + .../src/Google/Service/Sheets/PieChartSpec.php | 68 + .../Google/Service/Sheets/PivotFilterCriteria.php | 31 + .../src/Google/Service/Sheets/PivotGroup.php | 69 + .../Service/Sheets/PivotGroupSortValueBucket.php | 41 + .../Service/Sheets/PivotGroupValueMetadata.php | 40 + .../src/Google/Service/Sheets/PivotTable.php | 81 + .../src/Google/Service/Sheets/PivotValue.php | 57 + .../src/Google/Service/Sheets/ProtectedRange.php | 97 + .../Google/Service/Sheets/RepeatCellRequest.php | 50 + .../src/Google/Service/Sheets/Request.php | 511 + .../Service/Sheets/Resource/Spreadsheets.php | 106 + .../Service/Sheets/Resource/SpreadsheetsSheets.php | 45 + .../Service/Sheets/Resource/SpreadsheetsValues.php | 203 + .../src/Google/Service/Sheets/Response.php | 141 + .../src/Google/Service/Sheets/RowData.php | 32 + .../Service/Sheets/SetBasicFilterRequest.php | 31 + .../Service/Sheets/SetDataValidationRequest.php | 41 + .../src/Google/Service/Sheets/Sheet.php | 112 + .../src/Google/Service/Sheets/SheetProperties.php | 95 + .../src/Google/Service/Sheets/SortRangeRequest.php | 42 + .../src/Google/Service/Sheets/SortSpec.php | 39 + .../Google/Service/Sheets/SourceAndDestination.php | 49 + .../src/Google/Service/Sheets/Spreadsheet.php | 70 + .../Service/Sheets/SpreadsheetProperties.php | 77 + .../src/Google/Service/Sheets/TextFormat.php | 85 + .../src/Google/Service/Sheets/TextFormatRun.php | 40 + .../src/Google/Service/Sheets/TextRotation.php | 39 + .../Google/Service/Sheets/TextToColumnsRequest.php | 49 + .../Google/Service/Sheets/UnmergeCellsRequest.php | 31 + .../Google/Service/Sheets/UpdateBandingRequest.php | 40 + .../Google/Service/Sheets/UpdateBordersRequest.php | 91 + .../Google/Service/Sheets/UpdateCellsRequest.php | 61 + .../Service/Sheets/UpdateChartSpecRequest.php | 40 + .../Sheets/UpdateConditionalFormatRuleRequest.php | 58 + .../Sheets/UpdateConditionalFormatRuleResponse.php | 59 + .../Sheets/UpdateDimensionPropertiesRequest.php | 50 + .../Sheets/UpdateEmbeddedObjectPositionRequest.php | 49 + .../UpdateEmbeddedObjectPositionResponse.php | 31 + .../Service/Sheets/UpdateFilterViewRequest.php | 40 + .../Service/Sheets/UpdateNamedRangeRequest.php | 40 + .../Service/Sheets/UpdateProtectedRangeRequest.php | 40 + .../Sheets/UpdateSheetPropertiesRequest.php | 40 + .../Sheets/UpdateSpreadsheetPropertiesRequest.php | 40 + .../Google/Service/Sheets/UpdateValuesResponse.php | 76 + .../src/Google/Service/Sheets/ValueRange.php | 49 + .../src/Google/Service/ShoppingContent.php | 1114 + .../src/Google/Service/ShoppingContent/Account.php | 105 + .../Service/ShoppingContent/AccountAdwordsLink.php | 39 + .../Service/ShoppingContent/AccountIdentifier.php | 39 + .../Service/ShoppingContent/AccountShipping.php | 80 + .../ShoppingContent/AccountShippingCarrierRate.php | 85 + .../ShoppingContent/AccountShippingCondition.php | 87 + .../AccountShippingLocationGroup.php | 68 + .../AccountShippingPostalCodeRange.php | 39 + .../ShoppingContent/AccountShippingRateTable.php | 50 + .../AccountShippingRateTableCell.php | 41 + .../AccountShippingShippingService.php | 86 + ...untShippingShippingServiceCalculationMethod.php | 67 + .../AccountShippingShippingServiceCostRule.php | 52 + .../Service/ShoppingContent/AccountStatus.php | 50 + .../AccountStatusDataQualityIssue.php | 113 + .../ShoppingContent/AccountStatusExampleItem.php | 66 + .../Google/Service/ShoppingContent/AccountTax.php | 50 + .../Service/ShoppingContent/AccountTaxTaxRule.php | 66 + .../Google/Service/ShoppingContent/AccountUser.php | 39 + .../ShoppingContent/AccountsAuthInfoResponse.php | 41 + .../ShoppingContent/AccountsCustomBatchRequest.php | 32 + .../AccountsCustomBatchRequestEntry.php | 67 + .../AccountsCustomBatchResponse.php | 41 + .../AccountsCustomBatchResponseEntry.php | 59 + .../ShoppingContent/AccountsListResponse.php | 50 + .../AccountshippingCustomBatchRequest.php | 32 + .../AccountshippingCustomBatchRequestEntry.php | 67 + .../AccountshippingCustomBatchResponse.php | 41 + .../AccountshippingCustomBatchResponseEntry.php | 59 + .../AccountshippingListResponse.php | 50 + .../AccountstatusesCustomBatchRequest.php | 32 + .../AccountstatusesCustomBatchRequestEntry.php | 57 + .../AccountstatusesCustomBatchResponse.php | 41 + .../AccountstatusesCustomBatchResponseEntry.php | 50 + .../AccountstatusesListResponse.php | 50 + .../AccounttaxCustomBatchRequest.php | 32 + .../AccounttaxCustomBatchRequestEntry.php | 67 + .../AccounttaxCustomBatchResponse.php | 41 + .../AccounttaxCustomBatchResponseEntry.php | 59 + .../ShoppingContent/AccounttaxListResponse.php | 50 + .../Google/Service/ShoppingContent/CarrierRate.php | 76 + .../Service/ShoppingContent/CarriersCarrier.php | 49 + .../Google/Service/ShoppingContent/Datafeed.php | 123 + .../ShoppingContent/DatafeedFetchSchedule.php | 93 + .../Service/ShoppingContent/DatafeedFormat.php | 48 + .../Service/ShoppingContent/DatafeedStatus.php | 96 + .../ShoppingContent/DatafeedStatusError.php | 59 + .../ShoppingContent/DatafeedStatusExample.php | 48 + .../DatafeedsCustomBatchRequest.php | 32 + .../DatafeedsCustomBatchRequestEntry.php | 67 + .../DatafeedsCustomBatchResponse.php | 41 + .../DatafeedsCustomBatchResponseEntry.php | 50 + .../ShoppingContent/DatafeedsListResponse.php | 50 + .../DatafeedstatusesCustomBatchRequest.php | 32 + .../DatafeedstatusesCustomBatchRequestEntry.php | 57 + .../DatafeedstatusesCustomBatchResponse.php | 41 + .../DatafeedstatusesCustomBatchResponseEntry.php | 50 + .../DatafeedstatusesListResponse.php | 50 + .../Service/ShoppingContent/DeliveryTime.php | 39 + .../src/Google/Service/ShoppingContent/Error.php | 48 + .../src/Google/Service/ShoppingContent/Errors.php | 50 + .../src/Google/Service/ShoppingContent/Headers.php | 70 + .../Google/Service/ShoppingContent/Installment.php | 40 + .../Google/Service/ShoppingContent/Inventory.php | 116 + .../InventoryCustomBatchRequest.php | 32 + .../InventoryCustomBatchRequestEntry.php | 67 + .../InventoryCustomBatchResponse.php | 41 + .../InventoryCustomBatchResponseEntry.php | 49 + .../Service/ShoppingContent/InventoryPickup.php | 39 + .../ShoppingContent/InventorySetRequest.php | 107 + .../ShoppingContent/InventorySetResponse.php | 30 + .../Service/ShoppingContent/LocationIdSet.php | 31 + .../Service/ShoppingContent/LoyaltyPoints.php | 48 + .../src/Google/Service/ShoppingContent/Order.php | 212 + .../Service/ShoppingContent/OrderAddress.php | 94 + .../Service/ShoppingContent/OrderCancellation.php | 66 + .../Service/ShoppingContent/OrderCustomer.php | 48 + .../ShoppingContent/OrderDeliveryDetails.php | 40 + .../Service/ShoppingContent/OrderLineItem.php | 155 + .../ShoppingContent/OrderLineItemProduct.php | 159 + .../OrderLineItemProductVariantAttribute.php | 39 + .../ShoppingContent/OrderLineItemReturnInfo.php | 48 + .../OrderLineItemShippingDetails.php | 49 + .../OrderLineItemShippingDetailsMethod.php | 57 + .../Service/ShoppingContent/OrderPaymentMethod.php | 76 + .../Service/ShoppingContent/OrderPromotion.php | 86 + .../ShoppingContent/OrderPromotionBenefit.php | 69 + .../Google/Service/ShoppingContent/OrderRefund.php | 67 + .../Google/Service/ShoppingContent/OrderReturn.php | 66 + .../Service/ShoppingContent/OrderShipment.php | 86 + .../OrderShipmentLineItemShipment.php | 39 + .../ShoppingContent/OrdersAcknowledgeRequest.php | 30 + .../ShoppingContent/OrdersAcknowledgeResponse.php | 39 + .../OrdersAdvanceTestOrderResponse.php | 30 + .../OrdersCancelLineItemRequest.php | 76 + .../OrdersCancelLineItemResponse.php | 39 + .../ShoppingContent/OrdersCancelRequest.php | 48 + .../ShoppingContent/OrdersCancelResponse.php | 39 + .../OrdersCreateTestOrderRequest.php | 40 + .../OrdersCreateTestOrderResponse.php | 39 + .../ShoppingContent/OrdersCustomBatchRequest.php | 32 + .../OrdersCustomBatchRequestEntry.php | 135 + .../OrdersCustomBatchRequestEntryCancel.php | 39 + ...OrdersCustomBatchRequestEntryCancelLineItem.php | 67 + .../OrdersCustomBatchRequestEntryRefund.php | 49 + ...OrdersCustomBatchRequestEntryReturnLineItem.php | 57 + .../OrdersCustomBatchRequestEntryShipLineItems.php | 59 + ...OrdersCustomBatchRequestEntryUpdateShipment.php | 57 + .../ShoppingContent/OrdersCustomBatchResponse.php | 41 + .../OrdersCustomBatchResponseEntry.php | 68 + .../OrdersGetByMerchantOrderIdResponse.php | 40 + .../OrdersGetTestOrderTemplateResponse.php | 40 + .../Service/ShoppingContent/OrdersListResponse.php | 50 + .../ShoppingContent/OrdersRefundRequest.php | 58 + .../ShoppingContent/OrdersRefundResponse.php | 39 + .../OrdersReturnLineItemRequest.php | 66 + .../OrdersReturnLineItemResponse.php | 39 + .../ShoppingContent/OrdersShipLineItemsRequest.php | 68 + .../OrdersShipLineItemsResponse.php | 39 + .../OrdersUpdateMerchantOrderIdRequest.php | 39 + .../OrdersUpdateMerchantOrderIdResponse.php | 39 + .../OrdersUpdateShipmentRequest.php | 66 + .../OrdersUpdateShipmentResponse.php | 39 + .../Service/ShoppingContent/PostalCodeGroup.php | 50 + .../Service/ShoppingContent/PostalCodeRange.php | 39 + .../src/Google/Service/ShoppingContent/Price.php | 39 + .../src/Google/Service/ShoppingContent/Product.php | 687 + .../Service/ShoppingContent/ProductAspect.php | 48 + .../ShoppingContent/ProductCustomAttribute.php | 57 + .../Service/ShoppingContent/ProductCustomGroup.php | 41 + .../Service/ShoppingContent/ProductDestination.php | 39 + .../Service/ShoppingContent/ProductShipping.php | 85 + .../ShoppingContent/ProductShippingDimension.php | 39 + .../ShoppingContent/ProductShippingWeight.php | 39 + .../Service/ShoppingContent/ProductStatus.php | 105 + .../ProductStatusDataQualityIssue.php | 93 + .../ProductStatusDestinationStatus.php | 48 + .../Google/Service/ShoppingContent/ProductTax.php | 75 + .../ProductUnitPricingBaseMeasure.php | 39 + .../ShoppingContent/ProductUnitPricingMeasure.php | 39 + .../ShoppingContent/ProductsCustomBatchRequest.php | 32 + .../ProductsCustomBatchRequestEntry.php | 67 + .../ProductsCustomBatchResponse.php | 41 + .../ProductsCustomBatchResponseEntry.php | 59 + .../ShoppingContent/ProductsListResponse.php | 50 + .../ProductstatusesCustomBatchRequest.php | 32 + .../ProductstatusesCustomBatchRequestEntry.php | 57 + .../ProductstatusesCustomBatchResponse.php | 41 + .../ProductstatusesCustomBatchResponseEntry.php | 59 + .../ProductstatusesListResponse.php | 50 + .../Google/Service/ShoppingContent/RateGroup.php | 71 + .../Service/ShoppingContent/Resource/Accounts.php | 164 + .../ShoppingContent/Resource/Accountshipping.php | 123 + .../ShoppingContent/Resource/Accountstatuses.php | 77 + .../ShoppingContent/Resource/Accounttax.php | 123 + .../Service/ShoppingContent/Resource/Datafeeds.php | 146 + .../ShoppingContent/Resource/Datafeedstatuses.php | 76 + .../Service/ShoppingContent/Resource/Inventory.php | 69 + .../Service/ShoppingContent/Resource/Orders.php | 287 + .../Service/ShoppingContent/Resource/Products.php | 116 + .../ShoppingContent/Resource/Productstatuses.php | 79 + .../ShoppingContent/Resource/Shippingsettings.php | 138 + .../src/Google/Service/ShoppingContent/Row.php | 32 + .../src/Google/Service/ShoppingContent/Service.php | 78 + .../Service/ShoppingContent/ShippingSettings.php | 51 + .../ShippingsettingsCustomBatchRequest.php | 32 + .../ShippingsettingsCustomBatchRequestEntry.php | 67 + .../ShippingsettingsCustomBatchResponse.php | 41 + .../ShippingsettingsCustomBatchResponseEntry.php | 59 + ...hippingsettingsGetSupportedCarriersResponse.php | 41 + .../ShippingsettingsListResponse.php | 50 + .../src/Google/Service/ShoppingContent/Table.php | 61 + .../Google/Service/ShoppingContent/TestOrder.php | 109 + .../Service/ShoppingContent/TestOrderCustomer.php | 48 + .../Service/ShoppingContent/TestOrderLineItem.php | 70 + .../ShoppingContent/TestOrderLineItemProduct.php | 141 + .../ShoppingContent/TestOrderPaymentMethod.php | 66 + .../src/Google/Service/ShoppingContent/Value.php | 67 + .../src/Google/Service/ShoppingContent/Weight.php | 39 + .../src/Google/Service/SiteVerification.php | 124 + .../SiteVerification/Resource/WebResource.php | 124 + .../SiteVerificationWebResourceGettokenRequest.php | 40 + ...eVerificationWebResourceGettokenRequestSite.php | 39 + ...SiteVerificationWebResourceGettokenResponse.php | 39 + .../SiteVerificationWebResourceListResponse.php | 32 + .../SiteVerificationWebResourceResource.php | 50 + .../SiteVerificationWebResourceResourceSite.php | 39 + .../src/Google/Service/Slides.php | 128 + .../src/Google/Service/Slides/AffineTransform.php | 84 + .../src/Google/Service/Slides/AutoText.php | 49 + .../Slides/BatchUpdatePresentationRequest.php | 42 + .../Slides/BatchUpdatePresentationResponse.php | 41 + .../src/Google/Service/Slides/Bullet.php | 58 + .../src/Google/Service/Slides/ColorScheme.php | 32 + .../src/Google/Service/Slides/ColorStop.php | 49 + .../Google/Service/Slides/CreateImageRequest.php | 49 + .../Google/Service/Slides/CreateImageResponse.php | 30 + .../Google/Service/Slides/CreateLineRequest.php | 49 + .../Google/Service/Slides/CreateLineResponse.php | 30 + .../Slides/CreateParagraphBulletsRequest.php | 59 + .../Google/Service/Slides/CreateShapeRequest.php | 49 + .../Google/Service/Slides/CreateShapeResponse.php | 30 + .../Service/Slides/CreateSheetsChartRequest.php | 67 + .../Service/Slides/CreateSheetsChartResponse.php | 30 + .../Google/Service/Slides/CreateSlideRequest.php | 60 + .../Google/Service/Slides/CreateSlideResponse.php | 30 + .../Google/Service/Slides/CreateTableRequest.php | 58 + .../Google/Service/Slides/CreateTableResponse.php | 30 + .../Google/Service/Slides/CreateVideoRequest.php | 58 + .../Google/Service/Slides/CreateVideoResponse.php | 30 + .../src/Google/Service/Slides/CropProperties.php | 66 + .../Google/Service/Slides/DeleteObjectRequest.php | 30 + .../Slides/DeleteParagraphBulletsRequest.php | 50 + .../Service/Slides/DeleteTableColumnRequest.php | 40 + .../Service/Slides/DeleteTableRowRequest.php | 40 + .../Google/Service/Slides/DeleteTextRequest.php | 50 + .../src/Google/Service/Slides/Dimension.php | 39 + .../Service/Slides/DuplicateObjectRequest.php | 39 + .../Service/Slides/DuplicateObjectResponse.php | 30 + .../src/Google/Service/Slides/Group.php | 32 + .../src/Google/Service/Slides/Image.php | 40 + .../src/Google/Service/Slides/ImageProperties.php | 98 + .../Service/Slides/InsertTableColumnsRequest.php | 58 + .../Service/Slides/InsertTableRowsRequest.php | 58 + .../Google/Service/Slides/InsertTextRequest.php | 58 + .../Service/Slides/LayoutPlaceholderIdMapping.php | 49 + .../src/Google/Service/Slides/LayoutProperties.php | 48 + .../src/Google/Service/Slides/LayoutReference.php | 39 + .../src/Google/Service/Slides/Line.php | 40 + .../src/Google/Service/Slides/LineFill.php | 31 + .../src/Google/Service/Slides/LineProperties.php | 78 + .../src/Google/Service/Slides/Link.php | 57 + .../src/Google/Service/Slides/NestingLevel.php | 31 + .../src/Google/Service/Slides/NotesProperties.php | 30 + .../src/Google/Service/Slides/OpaqueColor.php | 40 + .../src/Google/Service/Slides/OptionalColor.php | 31 + .../src/Google/Service/Slides/Outline.php | 59 + .../src/Google/Service/Slides/OutlineFill.php | 31 + .../src/Google/Service/Slides/Page.php | 99 + .../Google/Service/Slides/PageBackgroundFill.php | 50 + .../src/Google/Service/Slides/PageElement.php | 148 + .../Service/Slides/PageElementProperties.php | 50 + .../src/Google/Service/Slides/PageProperties.php | 41 + .../src/Google/Service/Slides/ParagraphMarker.php | 41 + .../src/Google/Service/Slides/ParagraphStyle.php | 107 + .../src/Google/Service/Slides/Placeholder.php | 48 + .../src/Google/Service/Slides/Presentation.php | 108 + .../src/Google/Service/Slides/Range.php | 48 + .../src/Google/Service/Slides/Recolor.php | 41 + .../Service/Slides/RefreshSheetsChartRequest.php | 30 + .../Slides/ReplaceAllShapesWithImageRequest.php | 49 + .../Slides/ReplaceAllShapesWithImageResponse.php | 30 + .../ReplaceAllShapesWithSheetsChartRequest.php | 58 + .../ReplaceAllShapesWithSheetsChartResponse.php | 30 + .../Service/Slides/ReplaceAllTextRequest.php | 40 + .../Service/Slides/ReplaceAllTextResponse.php | 30 + .../src/Google/Service/Slides/Request.php | 331 + .../Service/Slides/Resource/Presentations.php | 87 + .../Service/Slides/Resource/PresentationsPages.php | 43 + .../src/Google/Service/Slides/Response.php | 131 + .../src/Google/Service/Slides/RgbColor.php | 48 + .../src/Google/Service/Slides/Shadow.php | 96 + .../src/Google/Service/Slides/Shape.php | 60 + .../Google/Service/Slides/ShapeBackgroundFill.php | 40 + .../src/Google/Service/Slides/ShapeProperties.php | 61 + .../src/Google/Service/Slides/SheetsChart.php | 58 + .../Service/Slides/SheetsChartProperties.php | 31 + .../src/Google/Service/Slides/Size.php | 41 + .../src/Google/Service/Slides/SlideProperties.php | 49 + .../src/Google/Service/Slides/SlidesList.php | 40 + .../src/Google/Service/Slides/SolidFill.php | 40 + .../Google/Service/Slides/StretchedPictureFill.php | 40 + .../Service/Slides/SubstringMatchCriteria.php | 39 + .../src/Google/Service/Slides/Table.php | 60 + .../src/Google/Service/Slides/TableCell.php | 69 + .../Service/Slides/TableCellBackgroundFill.php | 40 + .../Google/Service/Slides/TableCellLocation.php | 39 + .../Google/Service/Slides/TableCellProperties.php | 31 + .../Service/Slides/TableColumnProperties.php | 31 + .../src/Google/Service/Slides/TableRange.php | 49 + .../src/Google/Service/Slides/TableRow.php | 42 + .../src/Google/Service/Slides/TextContent.php | 42 + .../src/Google/Service/Slides/TextElement.php | 69 + .../src/Google/Service/Slides/TextRun.php | 40 + .../src/Google/Service/Slides/TextStyle.php | 134 + .../src/Google/Service/Slides/ThemeColorPair.php | 40 + .../Slides/UpdateImagePropertiesRequest.php | 49 + .../Service/Slides/UpdateLinePropertiesRequest.php | 49 + .../Slides/UpdatePageElementTransformRequest.php | 49 + .../Service/Slides/UpdatePagePropertiesRequest.php | 49 + .../Service/Slides/UpdateParagraphStyleRequest.php | 69 + .../Slides/UpdateShapePropertiesRequest.php | 49 + .../Service/Slides/UpdateSlidesPositionRequest.php | 40 + .../Slides/UpdateTableCellPropertiesRequest.php | 59 + .../Service/Slides/UpdateTextStyleRequest.php | 69 + .../Slides/UpdateVideoPropertiesRequest.php | 49 + .../src/Google/Service/Slides/Video.php | 58 + .../src/Google/Service/Slides/VideoProperties.php | 31 + .../Google/Service/Slides/WeightedFontFamily.php | 39 + .../src/Google/Service/Slides/WordArt.php | 30 + .../src/Google/Service/Slides/WriteControl.php | 30 + .../src/Google/Service/Spanner.php | 541 + .../src/Google/Service/Spanner/AuditConfig.php | 50 + .../src/Google/Service/Spanner/AuditLogConfig.php | 40 + .../Service/Spanner/BeginTransactionRequest.php | 31 + .../src/Google/Service/Spanner/Binding.php | 40 + .../src/Google/Service/Spanner/ChildLink.php | 48 + .../Google/Service/Spanner/CloudAuditOptions.php | 20 + .../src/Google/Service/Spanner/CommitRequest.php | 51 + .../src/Google/Service/Spanner/CommitResponse.php | 30 + .../src/Google/Service/Spanner/Condition.php | 76 + .../src/Google/Service/Spanner/CounterOptions.php | 39 + .../Service/Spanner/CreateDatabaseMetadata.php | 30 + .../Service/Spanner/CreateDatabaseRequest.php | 40 + .../Service/Spanner/CreateInstanceMetadata.php | 58 + .../Service/Spanner/CreateInstanceRequest.php | 40 + .../Google/Service/Spanner/DataAccessOptions.php | 20 + .../src/Google/Service/Spanner/Database.php | 39 + .../src/Google/Service/Spanner/Delete.php | 40 + .../Google/Service/Spanner/ExecuteSqlRequest.php | 77 + .../src/Google/Service/Spanner/Field.php | 40 + .../Service/Spanner/GetDatabaseDdlResponse.php | 31 + .../Google/Service/Spanner/GetIamPolicyRequest.php | 20 + .../src/Google/Service/Spanner/Instance.php | 75 + .../src/Google/Service/Spanner/InstanceConfig.php | 39 + .../src/Google/Service/Spanner/KeyRange.php | 58 + .../src/Google/Service/Spanner/KeySet.php | 50 + .../Service/Spanner/ListDatabasesResponse.php | 41 + .../Spanner/ListInstanceConfigsResponse.php | 41 + .../Service/Spanner/ListInstancesResponse.php | 41 + .../Service/Spanner/ListOperationsResponse.php | 41 + .../src/Google/Service/Spanner/LogConfig.php | 51 + .../src/Google/Service/Spanner/Mutation.php | 71 + .../src/Google/Service/Spanner/Operation.php | 67 + .../Google/Service/Spanner/PartialResultSet.php | 69 + .../src/Google/Service/Spanner/PlanNode.php | 87 + .../src/Google/Service/Spanner/Policy.php | 79 + .../src/Google/Service/Spanner/QueryPlan.php | 32 + .../src/Google/Service/Spanner/ReadOnly.php | 75 + .../src/Google/Service/Spanner/ReadRequest.php | 87 + .../src/Google/Service/Spanner/ReadWrite.php | 20 + .../Google/Service/Spanner/Resource/Projects.php | 28 + .../Spanner/Resource/ProjectsInstanceConfigs.php | 65 + .../Service/Spanner/Resource/ProjectsInstances.php | 253 + .../Resource/ProjectsInstancesDatabases.php | 188 + .../ProjectsInstancesDatabasesOperations.php | 102 + .../ProjectsInstancesDatabasesSessions.php | 231 + .../Resource/ProjectsInstancesOperations.php | 102 + .../src/Google/Service/Spanner/ResultSet.php | 51 + .../Google/Service/Spanner/ResultSetMetadata.php | 41 + .../src/Google/Service/Spanner/ResultSetStats.php | 40 + .../src/Google/Service/Spanner/RollbackRequest.php | 30 + .../src/Google/Service/Spanner/Rule.php | 87 + .../src/Google/Service/Spanner/Session.php | 30 + .../Google/Service/Spanner/SetIamPolicyRequest.php | 40 + .../Google/Service/Spanner/ShortRepresentation.php | 39 + .../src/Google/Service/Spanner/SpannerEmpty.php | 20 + .../src/Google/Service/Spanner/Status.php | 49 + .../src/Google/Service/Spanner/StructType.php | 32 + .../Service/Spanner/TestIamPermissionsRequest.php | 31 + .../Service/Spanner/TestIamPermissionsResponse.php | 31 + .../src/Google/Service/Spanner/Transaction.php | 39 + .../Google/Service/Spanner/TransactionOptions.php | 41 + .../Google/Service/Spanner/TransactionSelector.php | 50 + .../src/Google/Service/Spanner/Type.php | 50 + .../Service/Spanner/UpdateDatabaseDdlMetadata.php | 49 + .../Service/Spanner/UpdateDatabaseDdlRequest.php | 40 + .../Service/Spanner/UpdateInstanceMetadata.php | 58 + .../Service/Spanner/UpdateInstanceRequest.php | 40 + .../src/Google/Service/Spanner/Write.php | 49 + .../src/Google/Service/Spectrum.php | 85 + .../Service/Spectrum/AntennaCharacteristics.php | 48 + .../src/Google/Service/Spectrum/DatabaseSpec.php | 39 + .../src/Google/Service/Spectrum/DbUpdateSpec.php | 32 + .../Google/Service/Spectrum/DeviceCapabilities.php | 32 + .../Google/Service/Spectrum/DeviceDescriptor.php | 112 + .../src/Google/Service/Spectrum/DeviceOwner.php | 41 + .../src/Google/Service/Spectrum/DeviceValidity.php | 49 + .../src/Google/Service/Spectrum/EventTime.php | 39 + .../src/Google/Service/Spectrum/FrequencyRange.php | 57 + .../src/Google/Service/Spectrum/GeoLocation.php | 50 + .../Google/Service/Spectrum/GeoLocationEllipse.php | 58 + .../Google/Service/Spectrum/GeoLocationPoint.php | 39 + .../Google/Service/Spectrum/GeoLocationPolygon.php | 32 + .../Service/Spectrum/GeoSpectrumSchedule.php | 42 + .../Spectrum/PawsGetSpectrumBatchRequest.php | 109 + .../Spectrum/PawsGetSpectrumBatchResponse.php | 125 + .../Service/Spectrum/PawsGetSpectrumRequest.php | 108 + .../Service/Spectrum/PawsGetSpectrumResponse.php | 125 + .../Google/Service/Spectrum/PawsInitRequest.php | 59 + .../Google/Service/Spectrum/PawsInitResponse.php | 68 + .../Spectrum/PawsNotifySpectrumUseRequest.php | 70 + .../Spectrum/PawsNotifySpectrumUseResponse.php | 48 + .../Service/Spectrum/PawsRegisterRequest.php | 79 + .../Service/Spectrum/PawsRegisterResponse.php | 58 + .../Service/Spectrum/PawsVerifyDeviceRequest.php | 50 + .../Service/Spectrum/PawsVerifyDeviceResponse.php | 69 + .../src/Google/Service/Spectrum/Resource/Paws.php | 117 + .../src/Google/Service/Spectrum/RulesetInfo.php | 58 + .../Google/Service/Spectrum/SpectrumMessage.php | 41 + .../Google/Service/Spectrum/SpectrumSchedule.php | 42 + .../src/Google/Service/Spectrum/Vcard.php | 70 + .../src/Google/Service/Spectrum/VcardAddress.php | 75 + .../src/Google/Service/Spectrum/VcardTelephone.php | 30 + .../src/Google/Service/Spectrum/VcardTypedText.php | 30 + .../src/Google/Service/Speech.php | 133 + .../Service/Speech/AsyncRecognizeRequest.php | 41 + .../Service/Speech/CancelOperationRequest.php | 20 + .../Service/Speech/ListOperationsResponse.php | 41 + .../src/Google/Service/Speech/Operation.php | 67 + .../src/Google/Service/Speech/RecognitionAudio.php | 39 + .../Google/Service/Speech/RecognitionConfig.php | 76 + .../Google/Service/Speech/Resource/Operations.php | 102 + .../src/Google/Service/Speech/Resource/Speech.php | 59 + .../src/Google/Service/Speech/SpeechContext.php | 31 + .../src/Google/Service/Speech/SpeechEmpty.php | 20 + .../Speech/SpeechRecognitionAlternative.php | 39 + .../Service/Speech/SpeechRecognitionResult.php | 32 + .../src/Google/Service/Speech/Status.php | 49 + .../Google/Service/Speech/SyncRecognizeRequest.php | 41 + .../Service/Speech/SyncRecognizeResponse.php | 32 + .../src/Google/Service/Storage.php | 1126 + .../src/Google/Service/Storage/Bucket.php | 201 + .../Google/Service/Storage/BucketAccessControl.php | 121 + .../Storage/BucketAccessControlProjectTeam.php | 39 + .../Service/Storage/BucketAccessControls.php | 41 + .../src/Google/Service/Storage/BucketCors.php | 58 + .../Google/Service/Storage/BucketEncryption.php | 33 + .../src/Google/Service/Storage/BucketLifecycle.php | 32 + .../Google/Service/Storage/BucketLifecycleRule.php | 41 + .../Service/Storage/BucketLifecycleRuleAction.php | 39 + .../Storage/BucketLifecycleRuleCondition.php | 67 + .../src/Google/Service/Storage/BucketLogging.php | 39 + .../src/Google/Service/Storage/BucketOwner.php | 39 + .../Google/Service/Storage/BucketVersioning.php | 30 + .../src/Google/Service/Storage/BucketWebsite.php | 39 + .../src/Google/Service/Storage/Buckets.php | 50 + .../src/Google/Service/Storage/Channel.php | 111 + .../src/Google/Service/Storage/ComposeRequest.php | 51 + .../Storage/ComposeRequestSourceObjects.php | 49 + ...poseRequestSourceObjectsObjectPreconditions.php | 30 + .../Google/Service/Storage/ObjectAccessControl.php | 139 + .../Storage/ObjectAccessControlProjectTeam.php | 39 + .../Service/Storage/ObjectAccessControls.php | 41 + .../src/Google/Service/Storage/Objects.php | 59 + .../src/Google/Service/Storage/Policy.php | 59 + .../src/Google/Service/Storage/PolicyBindings.php | 40 + .../Storage/Resource/BucketAccessControls.php | 125 + .../Google/Service/Storage/Resource/Buckets.php | 208 + .../Google/Service/Storage/Resource/Channels.php | 40 + .../Resource/DefaultObjectAccessControls.php | 132 + .../Storage/Resource/ObjectAccessControls.php | 155 + .../Google/Service/Storage/Resource/Objects.php | 444 + .../src/Google/Service/Storage/RewriteResponse.php | 76 + .../src/Google/Service/Storage/StorageObject.php | 268 + .../Storage/StorageObjectCustomerEncryption.php | 39 + .../Google/Service/Storage/StorageObjectOwner.php | 39 + .../Service/Storage/TestIamPermissionsResponse.php | 40 + .../src/Google/Service/Storagetransfer.php | 233 + .../Service/Storagetransfer/AwsAccessKey.php | 39 + .../Google/Service/Storagetransfer/AwsS3Data.php | 40 + .../src/Google/Service/Storagetransfer/Date.php | 48 + .../Service/Storagetransfer/ErrorLogEntry.php | 40 + .../Service/Storagetransfer/ErrorSummary.php | 50 + .../src/Google/Service/Storagetransfer/GcsData.php | 30 + .../Storagetransfer/GoogleServiceAccount.php | 30 + .../Google/Service/Storagetransfer/HttpData.php | 30 + .../Storagetransfer/ListOperationsResponse.php | 41 + .../Storagetransfer/ListTransferJobsResponse.php | 41 + .../Service/Storagetransfer/ObjectConditions.php | 58 + .../Google/Service/Storagetransfer/Operation.php | 67 + .../PauseTransferOperationRequest.php | 20 + .../Resource/GoogleServiceAccounts.php | 48 + .../Storagetransfer/Resource/TransferJobs.php | 96 + .../Resource/TransferOperations.php | 121 + .../Google/Service/Storagetransfer/Resource/V1.php | 49 + .../ResumeTransferOperationRequest.php | 20 + .../Google/Service/Storagetransfer/Schedule.php | 51 + .../src/Google/Service/Storagetransfer/Status.php | 49 + .../Storagetransfer/StoragetransferEmpty.php | 20 + .../Google/Service/Storagetransfer/TimeOfDay.php | 57 + .../Service/Storagetransfer/TransferCounters.php | 165 + .../Google/Service/Storagetransfer/TransferJob.php | 104 + .../Service/Storagetransfer/TransferOperation.php | 106 + .../Service/Storagetransfer/TransferOptions.php | 48 + .../Service/Storagetransfer/TransferSpec.php | 81 + .../Storagetransfer/UpdateTransferJobRequest.php | 49 + .../src/Google/Service/Surveys.php | 210 + .../src/Google/Service/Surveys/FieldMask.php | 41 + .../src/Google/Service/Surveys/MobileAppPanel.php | 76 + .../Surveys/MobileAppPanelsListResponse.php | 61 + .../src/Google/Service/Surveys/PageInfo.php | 48 + .../Service/Surveys/Resource/Mobileapppanels.php | 74 + .../Google/Service/Surveys/Resource/Results.php | 43 + .../Google/Service/Surveys/Resource/Surveys.php | 125 + .../Google/Service/Surveys/ResultsGetRequest.php | 31 + .../src/Google/Service/Surveys/ResultsMask.php | 41 + .../src/Google/Service/Surveys/Survey.php | 125 + .../src/Google/Service/Surveys/SurveyAudience.php | 85 + .../src/Google/Service/Surveys/SurveyCost.php | 57 + .../src/Google/Service/Surveys/SurveyQuestion.php | 185 + .../Google/Service/Surveys/SurveyQuestionImage.php | 48 + .../src/Google/Service/Surveys/SurveyRejection.php | 39 + .../src/Google/Service/Surveys/SurveyResults.php | 39 + .../Service/Surveys/SurveysDeleteResponse.php | 30 + .../Google/Service/Surveys/SurveysListResponse.php | 61 + .../Google/Service/Surveys/SurveysStartRequest.php | 30 + .../Service/Surveys/SurveysStartResponse.php | 40 + .../Google/Service/Surveys/SurveysStopResponse.php | 40 + .../src/Google/Service/Surveys/TokenPagination.php | 39 + .../src/Google/Service/TagManager.php | 1099 + .../src/Google/Service/TagManager/Account.php | 57 + .../Google/Service/TagManager/AccountAccess.php | 31 + .../src/Google/Service/TagManager/Condition.php | 41 + .../src/Google/Service/TagManager/Container.php | 121 + .../Google/Service/TagManager/ContainerAccess.php | 40 + .../Google/Service/TagManager/ContainerVersion.php | 155 + .../Service/TagManager/ContainerVersionHeader.php | 111 + ...CreateContainerVersionRequestVersionOptions.php | 48 + .../TagManager/CreateContainerVersionResponse.php | 40 + .../src/Google/Service/TagManager/Environment.php | 129 + .../src/Google/Service/TagManager/Folder.php | 66 + .../Google/Service/TagManager/FolderEntities.php | 52 + .../TagManager/ListAccountUsersResponse.php | 32 + .../Service/TagManager/ListAccountsResponse.php | 32 + .../TagManager/ListContainerVersionsResponse.php | 42 + .../Service/TagManager/ListContainersResponse.php | 32 + .../TagManager/ListEnvironmentsResponse.php | 32 + .../Service/TagManager/ListFoldersResponse.php | 32 + .../Google/Service/TagManager/ListTagsResponse.php | 32 + .../Service/TagManager/ListTriggersResponse.php | 32 + .../Service/TagManager/ListVariablesResponse.php | 32 + .../src/Google/Service/TagManager/Macro.php | 140 + .../src/Google/Service/TagManager/Parameter.php | 69 + .../TagManager/PublishContainerVersionResponse.php | 40 + .../Service/TagManager/Resource/Accounts.php | 70 + .../TagManager/Resource/AccountsContainers.php | 101 + .../Resource/AccountsContainersEnvironments.php | 126 + .../Resource/AccountsContainersFolders.php | 105 + .../Resource/AccountsContainersFoldersEntities.php | 44 + .../Resource/AccountsContainersMoveFolders.php | 47 + .../AccountsContainersReauthorizeEnvironments.php | 45 + .../TagManager/Resource/AccountsContainersTags.php | 105 + .../Resource/AccountsContainersTriggers.php | 106 + .../Resource/AccountsContainersVariables.php | 106 + .../Resource/AccountsContainersVersions.php | 162 + .../TagManager/Resource/AccountsPermissions.php | 101 + .../src/Google/Service/TagManager/Rule.php | 86 + .../src/Google/Service/TagManager/SetupTag.php | 39 + .../src/Google/Service/TagManager/Tag.php | 206 + .../src/Google/Service/TagManager/TeardownTag.php | 39 + .../src/Google/Service/TagManager/Trigger.php | 205 + .../src/Google/Service/TagManager/UserAccess.php | 69 + .../src/Google/Service/TagManager/Variable.php | 140 + .../src/Google/Service/Taskqueue.php | 249 + .../Service/Taskqueue/Resource/Taskqueues.php | 44 + .../Google/Service/Taskqueue/Resource/Tasks.php | 144 + .../src/Google/Service/Taskqueue/Task.php | 96 + .../src/Google/Service/Taskqueue/TaskQueue.php | 68 + .../src/Google/Service/Taskqueue/TaskQueueAcl.php | 49 + .../Google/Service/Taskqueue/TaskQueueStats.php | 57 + .../src/Google/Service/Taskqueue/Tasks.php | 41 + .../src/Google/Service/Taskqueue/Tasks2.php | 41 + .../src/Google/Service/Tasks.php | 295 + .../Google/Service/Tasks/Resource/Tasklists.php | 113 + .../src/Google/Service/Tasks/Resource/Tasks.php | 179 + .../src/Google/Service/Tasks/Task.php | 158 + .../src/Google/Service/Tasks/TaskLinks.php | 48 + .../src/Google/Service/Tasks/TaskList.php | 75 + .../src/Google/Service/Tasks/TaskLists.php | 59 + .../src/Google/Service/Tasks/Tasks.php | 59 + .../src/Google/Service/ToolResults.php | 664 + .../src/Google/Service/ToolResults/Any.php | 39 + .../Service/ToolResults/BasicPerfSampleSeries.php | 48 + .../ToolResults/BatchCreatePerfSamplesRequest.php | 32 + .../ToolResults/BatchCreatePerfSamplesResponse.php | 32 + .../src/Google/Service/ToolResults/CPUInfo.php | 48 + .../src/Google/Service/ToolResults/Duration.php | 39 + .../src/Google/Service/ToolResults/Execution.php | 78 + .../Google/Service/ToolResults/FailureDetail.php | 66 + .../Google/Service/ToolResults/FileReference.php | 30 + .../src/Google/Service/ToolResults/History.php | 48 + .../src/Google/Service/ToolResults/Image.php | 60 + .../Service/ToolResults/InconclusiveDetail.php | 39 + .../Service/ToolResults/ListExecutionsResponse.php | 41 + .../Service/ToolResults/ListHistoriesResponse.php | 41 + .../ToolResults/ListPerfSampleSeriesResponse.php | 32 + .../ToolResults/ListPerfSamplesResponse.php | 41 + .../ToolResults/ListStepThumbnailsResponse.php | 41 + .../Service/ToolResults/ListStepsResponse.php | 41 + .../src/Google/Service/ToolResults/MemoryInfo.php | 39 + .../src/Google/Service/ToolResults/Outcome.php | 70 + .../Google/Service/ToolResults/PerfEnvironment.php | 41 + .../Service/ToolResults/PerfMetricsSummary.php | 77 + .../src/Google/Service/ToolResults/PerfSample.php | 40 + .../Service/ToolResults/PerfSampleSeries.php | 76 + .../Google/Service/ToolResults/ProjectSettings.php | 39 + .../ToolResults/PublishXunitXmlFilesRequest.php | 32 + .../Service/ToolResults/Resource/Projects.php | 86 + .../ToolResults/Resource/ProjectsHistories.php | 121 + .../Resource/ProjectsHistoriesExecutions.php | 155 + .../Resource/ProjectsHistoriesExecutionsSteps.php | 228 + ...sHistoriesExecutionsStepsPerfMetricsSummary.php | 49 + ...ctsHistoriesExecutionsStepsPerfSampleSeries.php | 96 + ...oriesExecutionsStepsPerfSampleSeriesSamples.php | 87 + .../ProjectsHistoriesExecutionsStepsThumbnails.php | 69 + .../Google/Service/ToolResults/SkippedDetail.php | 48 + .../src/Google/Service/ToolResults/StackTrace.php | 30 + .../src/Google/Service/ToolResults/Status.php | 50 + .../src/Google/Service/ToolResults/Step.php | 157 + .../ToolResults/StepDimensionValueEntry.php | 39 + .../Google/Service/ToolResults/StepLabelsEntry.php | 39 + .../Google/Service/ToolResults/SuccessDetail.php | 30 + .../Service/ToolResults/TestCaseReference.php | 48 + .../Service/ToolResults/TestExecutionStep.php | 62 + .../src/Google/Service/ToolResults/TestIssue.php | 40 + .../Service/ToolResults/TestSuiteOverview.php | 76 + .../src/Google/Service/ToolResults/TestTiming.php | 31 + .../src/Google/Service/ToolResults/Thumbnail.php | 57 + .../src/Google/Service/ToolResults/Timestamp.php | 39 + .../Google/Service/ToolResults/ToolExecution.php | 61 + .../Service/ToolResults/ToolExecutionStep.php | 31 + .../Google/Service/ToolResults/ToolExitCode.php | 30 + .../Service/ToolResults/ToolOutputReference.php | 51 + .../src/Google/Service/Tracing.php | 137 + .../src/Google/Service/Tracing/Annotation.php | 40 + .../src/Google/Service/Tracing/AttributeValue.php | 48 + .../Service/Tracing/BatchUpdateSpansRequest.php | 31 + .../src/Google/Service/Tracing/Link.php | 48 + .../Google/Service/Tracing/ListSpansResponse.php | 41 + .../Google/Service/Tracing/ListTracesResponse.php | 41 + .../src/Google/Service/Tracing/Module.php | 39 + .../src/Google/Service/Tracing/NetworkEvent.php | 57 + .../Google/Service/Tracing/Resource/Projects.php | 28 + .../Service/Tracing/Resource/ProjectsTraces.php | 116 + .../src/Google/Service/Tracing/Span.php | 126 + .../src/Google/Service/Tracing/SpanUpdates.php | 32 + .../src/Google/Service/Tracing/StackFrame.php | 85 + .../src/Google/Service/Tracing/StackTrace.php | 41 + .../src/Google/Service/Tracing/Status.php | 49 + .../src/Google/Service/Tracing/TimeEvent.php | 50 + .../src/Google/Service/Tracing/Trace.php | 30 + .../src/Google/Service/Tracing/TracingEmpty.php | 20 + .../src/Google/Service/Translate.php | 132 + .../Service/Translate/DetectionsListResponse.php | 32 + .../Service/Translate/DetectionsResourceItems.php | 48 + .../Service/Translate/LanguagesListResponse.php | 32 + .../Google/Service/Translate/LanguagesResource.php | 39 + .../Service/Translate/Resource/Detections.php | 41 + .../Service/Translate/Resource/Languages.php | 44 + .../Service/Translate/Resource/Translations.php | 48 + .../Service/Translate/TranslationsListResponse.php | 32 + .../Service/Translate/TranslationsResource.php | 39 + .../src/Google/Service/Urlshortener.php | 94 + .../Service/Urlshortener/AnalyticsSnapshot.php | 80 + .../Service/Urlshortener/AnalyticsSummary.php | 71 + .../Google/Service/Urlshortener/Resource/Url.php | 72 + .../Google/Service/Urlshortener/StringCount.php | 39 + .../src/Google/Service/Urlshortener/Url.php | 76 + .../src/Google/Service/Urlshortener/UrlHistory.php | 68 + .../src/Google/Service/Vision.php | 69 + .../Google/Service/Vision/AnnotateImageRequest.php | 52 + .../Service/Vision/AnnotateImageResponse.php | 132 + .../Service/Vision/BatchAnnotateImagesRequest.php | 32 + .../Service/Vision/BatchAnnotateImagesResponse.php | 32 + .../src/Google/Service/Vision/Block.php | 61 + .../src/Google/Service/Vision/BoundingPoly.php | 32 + .../src/Google/Service/Vision/Color.php | 57 + .../src/Google/Service/Vision/ColorInfo.php | 49 + .../src/Google/Service/Vision/CropHint.php | 49 + .../Google/Service/Vision/CropHintsAnnotation.php | 32 + .../src/Google/Service/Vision/CropHintsParams.php | 31 + .../src/Google/Service/Vision/DetectedBreak.php | 39 + .../src/Google/Service/Vision/DetectedLanguage.php | 39 + .../Service/Vision/DominantColorsAnnotation.php | 32 + .../src/Google/Service/Vision/EntityAnnotation.php | 106 + .../src/Google/Service/Vision/FaceAnnotation.php | 160 + .../src/Google/Service/Vision/Feature.php | 39 + .../src/Google/Service/Vision/Image.php | 40 + .../src/Google/Service/Vision/ImageContext.php | 51 + .../src/Google/Service/Vision/ImageProperties.php | 31 + .../src/Google/Service/Vision/ImageSource.php | 39 + .../src/Google/Service/Vision/Landmark.php | 40 + .../src/Google/Service/Vision/LatLng.php | 39 + .../src/Google/Service/Vision/LatLongRect.php | 41 + .../src/Google/Service/Vision/LocationInfo.php | 31 + .../src/Google/Service/Vision/Page.php | 60 + .../src/Google/Service/Vision/Paragraph.php | 52 + .../src/Google/Service/Vision/Position.php | 48 + .../src/Google/Service/Vision/Property.php | 48 + .../src/Google/Service/Vision/Resource/Images.php | 41 + .../Google/Service/Vision/SafeSearchAnnotation.php | 57 + .../src/Google/Service/Vision/Status.php | 49 + .../src/Google/Service/Vision/Symbol.php | 50 + .../src/Google/Service/Vision/TextAnnotation.php | 41 + .../src/Google/Service/Vision/TextProperty.php | 42 + .../src/Google/Service/Vision/Vertex.php | 39 + .../src/Google/Service/Vision/WebDetection.php | 62 + .../src/Google/Service/Vision/WebEntity.php | 48 + .../src/Google/Service/Vision/WebImage.php | 39 + .../src/Google/Service/Vision/WebPage.php | 39 + .../src/Google/Service/Vision/Word.php | 52 + .../src/Google/Service/Webfonts.php | 72 + .../Google/Service/Webfonts/Resource/Webfonts.php | 43 + .../src/Google/Service/Webfonts/Webfont.php | 94 + .../src/Google/Service/Webfonts/WebfontList.php | 41 + .../src/Google/Service/Webmasters.php | 305 + .../src/Google/Service/Webmasters/ApiDataRow.php | 67 + .../Service/Webmasters/ApiDimensionFilter.php | 48 + .../Service/Webmasters/ApiDimensionFilterGroup.php | 41 + .../Webmasters/Resource/Searchanalytics.php | 50 + .../Service/Webmasters/Resource/Sitemaps.php | 93 + .../Google/Service/Webmasters/Resource/Sites.php | 80 + .../Webmasters/Resource/Urlcrawlerrorscounts.php | 51 + .../Webmasters/Resource/Urlcrawlerrorssamples.php | 92 + .../Webmasters/SearchAnalyticsQueryRequest.php | 95 + .../Webmasters/SearchAnalyticsQueryResponse.php | 41 + .../Service/Webmasters/SitemapsListResponse.php | 32 + .../Service/Webmasters/SitesListResponse.php | 32 + .../Service/Webmasters/UrlCrawlErrorCount.php | 39 + .../Webmasters/UrlCrawlErrorCountsPerType.php | 50 + .../UrlCrawlErrorsCountsQueryResponse.php | 32 + .../Service/Webmasters/UrlCrawlErrorsSample.php | 71 + .../UrlCrawlErrorsSamplesListResponse.php | 32 + .../Google/Service/Webmasters/UrlSampleDetails.php | 40 + .../src/Google/Service/Webmasters/WmxSite.php | 39 + .../src/Google/Service/Webmasters/WmxSitemap.php | 104 + .../Service/Webmasters/WmxSitemapContent.php | 48 + .../src/Google/Service/YouTube.php | 1944 + .../src/Google/Service/YouTube/AccessPolicy.php | 40 + .../src/Google/Service/YouTube/Activity.php | 68 + .../Service/YouTube/ActivityContentDetails.php | 131 + .../YouTube/ActivityContentDetailsBulletin.php | 31 + .../YouTube/ActivityContentDetailsChannelItem.php | 31 + .../YouTube/ActivityContentDetailsComment.php | 31 + .../YouTube/ActivityContentDetailsFavorite.php | 31 + .../Service/YouTube/ActivityContentDetailsLike.php | 31 + .../YouTube/ActivityContentDetailsPlaylistItem.php | 49 + .../YouTube/ActivityContentDetailsPromotedItem.php | 112 + .../ActivityContentDetailsRecommendation.php | 50 + .../YouTube/ActivityContentDetailsSocial.php | 67 + .../YouTube/ActivityContentDetailsSubscription.php | 31 + .../YouTube/ActivityContentDetailsUpload.php | 30 + .../Service/YouTube/ActivityListResponse.php | 106 + .../src/Google/Service/YouTube/ActivitySnippet.php | 94 + .../src/Google/Service/YouTube/Caption.php | 58 + .../Google/Service/YouTube/CaptionListResponse.php | 68 + .../src/Google/Service/YouTube/CaptionSnippet.php | 138 + .../src/Google/Service/YouTube/CdnSettings.php | 67 + .../src/Google/Service/YouTube/Channel.php | 158 + .../Google/Service/YouTube/ChannelAuditDetails.php | 57 + .../Service/YouTube/ChannelBannerResource.php | 48 + .../Service/YouTube/ChannelBrandingSettings.php | 62 + .../Service/YouTube/ChannelContentDetails.php | 31 + .../ChannelContentDetailsRelatedPlaylists.php | 66 + .../Service/YouTube/ChannelContentOwnerDetails.php | 39 + .../Service/YouTube/ChannelConversionPing.php | 39 + .../Service/YouTube/ChannelConversionPings.php | 32 + .../Google/Service/YouTube/ChannelListResponse.php | 106 + .../Google/Service/YouTube/ChannelLocalization.php | 39 + .../Service/YouTube/ChannelProfileDetails.php | 57 + .../src/Google/Service/YouTube/ChannelSection.php | 88 + .../YouTube/ChannelSectionContentDetails.php | 40 + .../Service/YouTube/ChannelSectionListResponse.php | 68 + .../Service/YouTube/ChannelSectionLocalization.php | 30 + .../Service/YouTube/ChannelSectionSnippet.php | 85 + .../Service/YouTube/ChannelSectionTargeting.php | 49 + .../src/Google/Service/YouTube/ChannelSettings.php | 148 + .../src/Google/Service/YouTube/ChannelSnippet.php | 95 + .../Google/Service/YouTube/ChannelStatistics.php | 66 + .../src/Google/Service/YouTube/ChannelStatus.php | 48 + .../Google/Service/YouTube/ChannelTopicDetails.php | 40 + .../src/Google/Service/YouTube/Comment.php | 58 + .../Google/Service/YouTube/CommentListResponse.php | 97 + .../src/Google/Service/YouTube/CommentSnippet.php | 156 + .../src/Google/Service/YouTube/CommentThread.php | 68 + .../Service/YouTube/CommentThreadListResponse.php | 97 + .../Service/YouTube/CommentThreadReplies.php | 32 + .../Service/YouTube/CommentThreadSnippet.php | 76 + .../src/Google/Service/YouTube/ContentRating.php | 634 + .../src/Google/Service/YouTube/FanFundingEvent.php | 58 + .../YouTube/FanFundingEventListResponse.php | 97 + .../Service/YouTube/FanFundingEventSnippet.php | 85 + .../src/Google/Service/YouTube/GeoPoint.php | 48 + .../src/Google/Service/YouTube/GuideCategory.php | 58 + .../Service/YouTube/GuideCategoryListResponse.php | 106 + .../Service/YouTube/GuideCategorySnippet.php | 39 + .../src/Google/Service/YouTube/I18nLanguage.php | 58 + .../Service/YouTube/I18nLanguageListResponse.php | 68 + .../Google/Service/YouTube/I18nLanguageSnippet.php | 39 + .../src/Google/Service/YouTube/I18nRegion.php | 58 + .../Service/YouTube/I18nRegionListResponse.php | 68 + .../Google/Service/YouTube/I18nRegionSnippet.php | 39 + .../src/Google/Service/YouTube/ImageSettings.php | 224 + .../src/Google/Service/YouTube/IngestionInfo.php | 48 + .../src/Google/Service/YouTube/InvideoBranding.php | 68 + .../src/Google/Service/YouTube/InvideoPosition.php | 39 + .../Google/Service/YouTube/InvideoPromotion.php | 61 + .../src/Google/Service/YouTube/InvideoTiming.php | 48 + .../src/Google/Service/YouTube/LanguageTag.php | 30 + .../src/Google/Service/YouTube/LiveBroadcast.php | 98 + .../YouTube/LiveBroadcastContentDetails.php | 130 + .../Service/YouTube/LiveBroadcastListResponse.php | 106 + .../Service/YouTube/LiveBroadcastSnippet.php | 121 + .../Service/YouTube/LiveBroadcastStatistics.php | 39 + .../Google/Service/YouTube/LiveBroadcastStatus.php | 57 + .../Google/Service/YouTube/LiveBroadcastTopic.php | 49 + .../Service/YouTube/LiveBroadcastTopicDetails.php | 32 + .../Service/YouTube/LiveBroadcastTopicSnippet.php | 39 + .../src/Google/Service/YouTube/LiveChatBan.php | 58 + .../Google/Service/YouTube/LiveChatBanSnippet.php | 58 + .../YouTube/LiveChatFanFundingEventDetails.php | 57 + .../src/Google/Service/YouTube/LiveChatMessage.php | 68 + .../YouTube/LiveChatMessageAuthorDetails.php | 93 + .../YouTube/LiveChatMessageDeletedDetails.php | 30 + .../YouTube/LiveChatMessageListResponse.php | 115 + .../YouTube/LiveChatMessageRetractedDetails.php | 30 + .../Service/YouTube/LiveChatMessageSnippet.php | 175 + .../Google/Service/YouTube/LiveChatModerator.php | 58 + .../YouTube/LiveChatModeratorListResponse.php | 106 + .../Service/YouTube/LiveChatModeratorSnippet.php | 40 + .../Service/YouTube/LiveChatPollClosedDetails.php | 30 + .../Service/YouTube/LiveChatPollEditedDetails.php | 50 + .../Google/Service/YouTube/LiveChatPollItem.php | 39 + .../Service/YouTube/LiveChatPollOpenedDetails.php | 50 + .../Service/YouTube/LiveChatPollVotedDetails.php | 39 + .../Service/YouTube/LiveChatSuperChatDetails.php | 66 + .../Service/YouTube/LiveChatTextMessageDetails.php | 30 + .../YouTube/LiveChatUserBannedMessageDetails.php | 49 + .../src/Google/Service/YouTube/LiveStream.php | 88 + .../YouTube/LiveStreamConfigurationIssue.php | 57 + .../Service/YouTube/LiveStreamContentDetails.php | 39 + .../Service/YouTube/LiveStreamHealthStatus.php | 50 + .../Service/YouTube/LiveStreamListResponse.php | 106 + .../Google/Service/YouTube/LiveStreamSnippet.php | 66 + .../Google/Service/YouTube/LiveStreamStatus.php | 40 + .../Google/Service/YouTube/LocalizedProperty.php | 51 + .../src/Google/Service/YouTube/LocalizedString.php | 39 + .../Google/Service/YouTube/MonitorStreamInfo.php | 48 + .../src/Google/Service/YouTube/PageInfo.php | 39 + .../src/Google/Service/YouTube/Playlist.php | 98 + .../Service/YouTube/PlaylistContentDetails.php | 30 + .../src/Google/Service/YouTube/PlaylistItem.php | 78 + .../Service/YouTube/PlaylistItemContentDetails.php | 66 + .../Service/YouTube/PlaylistItemListResponse.php | 106 + .../Google/Service/YouTube/PlaylistItemSnippet.php | 104 + .../Google/Service/YouTube/PlaylistItemStatus.php | 30 + .../Service/YouTube/PlaylistListResponse.php | 106 + .../Service/YouTube/PlaylistLocalization.php | 39 + .../src/Google/Service/YouTube/PlaylistPlayer.php | 30 + .../src/Google/Service/YouTube/PlaylistSnippet.php | 105 + .../src/Google/Service/YouTube/PlaylistStatus.php | 30 + .../src/Google/Service/YouTube/PromotedItem.php | 59 + .../src/Google/Service/YouTube/PromotedItemId.php | 57 + .../src/Google/Service/YouTube/PropertyValue.php | 39 + .../Google/Service/YouTube/Resource/Activities.php | 109 + .../Google/Service/YouTube/Resource/Captions.php | 215 + .../Service/YouTube/Resource/ChannelBanners.php | 62 + .../Service/YouTube/Resource/ChannelSections.php | 190 + .../Google/Service/YouTube/Resource/Channels.php | 126 + .../Service/YouTube/Resource/CommentThreads.php | 121 + .../Google/Service/YouTube/Resource/Comments.php | 151 + .../Service/YouTube/Resource/FanFundingEvents.php | 60 + .../Service/YouTube/Resource/GuideCategories.php | 54 + .../Service/YouTube/Resource/I18nLanguages.php | 47 + .../Service/YouTube/Resource/I18nRegions.php | 47 + .../Service/YouTube/Resource/LiveBroadcasts.php | 438 + .../Service/YouTube/Resource/LiveChatBans.php | 57 + .../Service/YouTube/Resource/LiveChatMessages.php | 93 + .../YouTube/Resource/LiveChatModerators.php | 81 + .../Service/YouTube/Resource/LiveStreams.php | 244 + .../Service/YouTube/Resource/PlaylistItems.php | 178 + .../Google/Service/YouTube/Resource/Playlists.php | 211 + .../src/Google/Service/YouTube/Resource/Search.php | 185 + .../Google/Service/YouTube/Resource/Sponsors.php | 51 + .../Service/YouTube/Resource/Subscriptions.php | 136 + .../Service/YouTube/Resource/SuperChatEvents.php | 59 + .../Google/Service/YouTube/Resource/Thumbnails.php | 56 + .../YouTube/Resource/VideoAbuseReportReasons.php | 47 + .../Service/YouTube/Resource/VideoCategories.php | 52 + .../src/Google/Service/YouTube/Resource/Videos.php | 315 + .../Google/Service/YouTube/Resource/Watermarks.php | 82 + .../src/Google/Service/YouTube/ResourceId.php | 57 + .../Google/Service/YouTube/SearchListResponse.php | 115 + .../src/Google/Service/YouTube/SearchResult.php | 59 + .../Google/Service/YouTube/SearchResultSnippet.php | 85 + .../src/Google/Service/YouTube/Sponsor.php | 58 + .../Google/Service/YouTube/SponsorListResponse.php | 97 + .../src/Google/Service/YouTube/SponsorSnippet.php | 49 + .../src/Google/Service/YouTube/Subscription.php | 78 + .../Service/YouTube/SubscriptionContentDetails.php | 48 + .../Service/YouTube/SubscriptionListResponse.php | 106 + .../Google/Service/YouTube/SubscriptionSnippet.php | 86 + .../YouTube/SubscriptionSubscriberSnippet.php | 58 + .../src/Google/Service/YouTube/SuperChatEvent.php | 58 + .../Service/YouTube/SuperChatEventListResponse.php | 97 + .../Service/YouTube/SuperChatEventSnippet.php | 94 + .../src/Google/Service/YouTube/Thumbnail.php | 48 + .../Google/Service/YouTube/ThumbnailDetails.php | 71 + .../Service/YouTube/ThumbnailSetResponse.php | 68 + .../src/Google/Service/YouTube/TokenPagination.php | 20 + .../src/Google/Service/YouTube/Video.php | 198 + .../Google/Service/YouTube/VideoAbuseReport.php | 66 + .../Service/YouTube/VideoAbuseReportReason.php | 58 + .../YouTube/VideoAbuseReportReasonListResponse.php | 68 + .../YouTube/VideoAbuseReportReasonSnippet.php | 41 + .../YouTube/VideoAbuseReportSecondaryReason.php | 39 + .../src/Google/Service/YouTube/VideoAgeGating.php | 48 + .../src/Google/Service/YouTube/VideoCategory.php | 58 + .../Service/YouTube/VideoCategoryListResponse.php | 106 + .../Service/YouTube/VideoCategorySnippet.php | 48 + .../Google/Service/YouTube/VideoContentDetails.php | 114 + .../VideoContentDetailsRegionRestriction.php | 40 + .../Google/Service/YouTube/VideoFileDetails.php | 105 + .../YouTube/VideoFileDetailsAudioStream.php | 57 + .../YouTube/VideoFileDetailsVideoStream.php | 93 + .../Service/YouTube/VideoGetRatingResponse.php | 68 + .../Google/Service/YouTube/VideoListResponse.php | 106 + .../Service/YouTube/VideoLiveStreamingDetails.php | 75 + .../Google/Service/YouTube/VideoLocalization.php | 39 + .../Service/YouTube/VideoMonetizationDetails.php | 31 + .../src/Google/Service/YouTube/VideoPlayer.php | 48 + .../Service/YouTube/VideoProcessingDetails.php | 94 + .../VideoProcessingDetailsProcessingProgress.php | 48 + .../Google/Service/YouTube/VideoProjectDetails.php | 31 + .../src/Google/Service/YouTube/VideoRating.php | 39 + .../Service/YouTube/VideoRecordingDetails.php | 49 + .../src/Google/Service/YouTube/VideoSnippet.php | 132 + .../src/Google/Service/YouTube/VideoStatistics.php | 66 + .../src/Google/Service/YouTube/VideoStatus.php | 93 + .../Google/Service/YouTube/VideoSuggestions.php | 68 + .../YouTube/VideoSuggestionsTagSuggestion.php | 40 + .../Google/Service/YouTube/VideoTopicDetails.php | 49 + .../src/Google/Service/YouTube/WatchSettings.php | 48 + .../src/Google/Service/YouTubeAnalytics.php | 240 + .../Service/YouTubeAnalytics/BatchReport.php | 78 + .../YouTubeAnalytics/BatchReportDefinition.php | 66 + .../YouTubeAnalytics/BatchReportDefinitionList.php | 41 + .../Service/YouTubeAnalytics/BatchReportList.php | 41 + .../YouTubeAnalytics/BatchReportOutputs.php | 48 + .../YouTubeAnalytics/BatchReportTimeSpan.php | 39 + .../src/Google/Service/YouTubeAnalytics/Group.php | 68 + .../YouTubeAnalytics/GroupContentDetails.php | 39 + .../Google/Service/YouTubeAnalytics/GroupItem.php | 67 + .../YouTubeAnalytics/GroupItemListResponse.php | 50 + .../Service/YouTubeAnalytics/GroupItemResource.php | 39 + .../Service/YouTubeAnalytics/GroupListResponse.php | 59 + .../Service/YouTubeAnalytics/GroupSnippet.php | 39 + .../Resource/BatchReportDefinitions.php | 43 + .../YouTubeAnalytics/Resource/BatchReports.php | 45 + .../YouTubeAnalytics/Resource/GroupItems.php | 108 + .../Service/YouTubeAnalytics/Resource/Groups.php | 142 + .../Service/YouTubeAnalytics/Resource/Reports.php | 83 + .../Service/YouTubeAnalytics/ResultTable.php | 50 + .../YouTubeAnalytics/ResultTableColumnHeaders.php | 48 + .../src/Google/Service/YouTubeReporting.php | 242 + .../src/Google/Service/YouTubeReporting/Job.php | 75 + .../Service/YouTubeReporting/ListJobsResponse.php | 41 + .../YouTubeReporting/ListReportTypesResponse.php | 41 + .../YouTubeReporting/ListReportsResponse.php | 41 + .../src/Google/Service/YouTubeReporting/Media.php | 30 + .../src/Google/Service/YouTubeReporting/Report.php | 84 + .../Google/Service/YouTubeReporting/ReportType.php | 57 + .../Service/YouTubeReporting/Resource/Jobs.php | 104 + .../YouTubeReporting/Resource/JobsReports.php | 77 + .../Service/YouTubeReporting/Resource/Media.php | 43 + .../YouTubeReporting/Resource/ReportTypes.php | 54 + .../YouTubeReporting/YoutubereportingEmpty.php | 20 + .../apiclient-services/tests/ServiceTest.php | 61 + .../google/apiclient-services/tests/bootstrap.php | 3 + .../googleapi/google/apiclient/.gitattributes | 9 + .../share/googleapi/google/apiclient/LICENSE | 203 + .../share/googleapi/google/apiclient/README.md | 366 + .../share/googleapi/google/apiclient/composer.json | 41 + .../apiclient/src/Google/AccessToken/Revoke.php | 78 + .../apiclient/src/Google/AccessToken/Verify.php | 269 + .../src/Google/AuthHandler/AuthHandlerFactory.php | 42 + .../src/Google/AuthHandler/Guzzle5AuthHandler.php | 99 + .../src/Google/AuthHandler/Guzzle6AuthHandler.php | 106 + .../google/apiclient/src/Google/Client.php | 1118 + .../google/apiclient/src/Google/Collection.php | 101 + .../google/apiclient/src/Google/Exception.php | 20 + .../google/apiclient/src/Google/Http/Batch.php | 249 + .../apiclient/src/Google/Http/MediaFileUpload.php | 348 + .../google/apiclient/src/Google/Http/REST.php | 182 + .../google/apiclient/src/Google/Model.php | 307 + .../google/apiclient/src/Google/Service.php | 56 + .../apiclient/src/Google/Service/Exception.php | 68 + .../google/apiclient/src/Google/Service/README.md | 5 + .../apiclient/src/Google/Service/Resource.php | 296 + .../google/apiclient/src/Google/Task/Exception.php | 20 + .../google/apiclient/src/Google/Task/Retryable.php | 24 + .../google/apiclient/src/Google/Task/Runner.php | 281 + .../apiclient/src/Google/Utils/UriTemplate.php | 333 + .../google/apiclient/src/Google/autoload.php | 21 + .../share/googleapi/google/auth/.editorconfig | 18 + .../include/share/googleapi/google/auth/.gitignore | 3 + .../include/share/googleapi/google/auth/.php_cs | 54 + .../share/googleapi/google/auth/.travis.yml | 31 + .../share/googleapi/google/auth/CHANGELOG.md | 8 + .../share/googleapi/google/auth/CONTRIBUTING.md | 73 + .../include/share/googleapi/google/auth/COPYING | 202 + .../include/share/googleapi/google/auth/LICENSE | 203 + .../include/share/googleapi/google/auth/README.md | 150 + .../share/googleapi/google/auth/autoload.php | 34 + .../share/googleapi/google/auth/composer.json | 28 + .../share/googleapi/google/auth/phpunit.xml.dist | 16 + .../auth/src/ApplicationDefaultCredentials.php | 173 + .../auth/src/Cache/InvalidArgumentException.php | 24 + .../share/googleapi/google/auth/src/Cache/Item.php | 185 + .../google/auth/src/Cache/MemoryCacheItemPool.php | 155 + .../share/googleapi/google/auth/src/CacheTrait.php | 72 + .../src/Credentials/AppIdentityCredentials.php | 149 + .../google/auth/src/Credentials/GCECredentials.php | 219 + .../google/auth/src/Credentials/IAMCredentials.php | 89 + .../src/Credentials/ServiceAccountCredentials.php | 177 + .../ServiceAccountJwtAccessCredentials.php | 131 + .../src/Credentials/UserRefreshCredentials.php | 110 + .../google/auth/src/CredentialsLoader.php | 163 + .../google/auth/src/FetchAuthTokenCache.php | 108 + .../google/auth/src/FetchAuthTokenInterface.php | 55 + .../auth/src/HttpHandler/Guzzle5HttpHandler.php | 68 + .../auth/src/HttpHandler/Guzzle6HttpHandler.php | 36 + .../auth/src/HttpHandler/HttpHandlerFactory.php | 47 + .../auth/src/Middleware/AuthTokenMiddleware.php | 126 + .../src/Middleware/ScopedAccessTokenMiddleware.php | 175 + .../auth/src/Middleware/SimpleMiddleware.php | 93 + .../share/googleapi/google/auth/src/OAuth2.php | 1306 + .../auth/src/Subscriber/AuthTokenSubscriber.php | 118 + .../src/Subscriber/ScopedAccessTokenSubscriber.php | 177 + .../auth/src/Subscriber/SimpleSubscriber.php | 90 + .../tests/ApplicationDefaultCredentialsTest.php | 299 + .../share/googleapi/google/auth/tests/BaseTest.php | 32 + .../googleapi/google/auth/tests/Cache/ItemTest.php | 125 + .../auth/tests/Cache/MemoryCacheItemPoolTest.php | 189 + .../googleapi/google/auth/tests/CacheTraitTest.php | 151 + .../Credentials/AppIndentityCredentialsTest.php | 104 + .../auth/tests/Credentials/GCECredentialsTest.php | 124 + .../auth/tests/Credentials/IAMCredentialsTest.php | 83 + .../Credentials/ServiceAccountCredentialsTest.php | 508 + .../Credentials/UserRefreshCredentialsTest.php | 228 + .../google/auth/tests/FetchAuthTokenCacheTest.php | 146 + .../google/auth/tests/FetchAuthTokenTest.php | 170 + .../tests/HttpHandler/Guzzle5HttpHandlerTest.php | 59 + .../tests/HttpHandler/Guzzle6HttpHandlerTest.php | 50 + .../tests/HttpHandler/HttpHandlerFactoryTest.php | 39 + .../tests/Middleware/AuthTokenMiddlewareTest.php | 336 + .../Middleware/ScopedAccessTokenMiddlewareTest.php | 245 + .../auth/tests/Middleware/SimpleMiddlewareTest.php | 41 + .../googleapi/google/auth/tests/OAuth2Test.php | 858 + .../tests/Subscriber/AuthTokenSubscriberTest.php | 325 + .../Subscriber/ScopedAccessTokenSubscriberTest.php | 238 + .../auth/tests/Subscriber/SimpleSubscriberTest.php | 69 + .../googleapi/google/auth/tests/bootstrap.php | 55 + .../gcloud/application_default_credentials.json | 7 + .../google/auth/tests/fixtures/private.json | 7 + .../google/auth/tests/fixtures/private.pem | 15 + .../google/auth/tests/fixtures/public.pem | 6 + .../gcloud/application_default_credentials.json | 6 + .../google/auth/tests/fixtures2/private.json | 6 + .../google/auth/tests/mocks/AppIdentityService.php | 19 + .../share/googleapi/guzzlehttp/guzzle/CHANGELOG.md | 1264 + .../share/googleapi/guzzlehttp/guzzle/LICENSE | 19 + .../share/googleapi/guzzlehttp/guzzle/README.md | 89 + .../share/googleapi/guzzlehttp/guzzle/UPGRADING.md | 1203 + .../googleapi/guzzlehttp/guzzle/composer.json | 44 + .../googleapi/guzzlehttp/guzzle/src/Client.php | 414 + .../guzzlehttp/guzzle/src/ClientInterface.php | 84 + .../guzzlehttp/guzzle/src/Cookie/CookieJar.php | 314 + .../guzzle/src/Cookie/CookieJarInterface.php | 84 + .../guzzlehttp/guzzle/src/Cookie/FileCookieJar.php | 90 + .../guzzle/src/Cookie/SessionCookieJar.php | 71 + .../guzzlehttp/guzzle/src/Cookie/SetCookie.php | 404 + .../guzzle/src/Exception/BadResponseException.php | 27 + .../guzzle/src/Exception/ClientException.php | 7 + .../guzzle/src/Exception/ConnectException.php | 37 + .../guzzle/src/Exception/GuzzleException.php | 4 + .../guzzle/src/Exception/RequestException.php | 217 + .../guzzle/src/Exception/SeekException.php | 27 + .../guzzle/src/Exception/ServerException.php | 7 + .../src/Exception/TooManyRedirectsException.php | 4 + .../guzzle/src/Exception/TransferException.php | 4 + .../guzzlehttp/guzzle/src/Handler/CurlFactory.php | 559 + .../guzzle/src/Handler/CurlFactoryInterface.php | 27 + .../guzzlehttp/guzzle/src/Handler/CurlHandler.php | 45 + .../guzzle/src/Handler/CurlMultiHandler.php | 197 + .../guzzlehttp/guzzle/src/Handler/EasyHandle.php | 92 + .../guzzlehttp/guzzle/src/Handler/MockHandler.php | 189 + .../guzzlehttp/guzzle/src/Handler/Proxy.php | 55 + .../guzzle/src/Handler/StreamHandler.php | 533 + .../guzzlehttp/guzzle/src/HandlerStack.php | 273 + .../guzzlehttp/guzzle/src/MessageFormatter.php | 182 + .../googleapi/guzzlehttp/guzzle/src/Middleware.php | 254 + .../share/googleapi/guzzlehttp/guzzle/src/Pool.php | 123 + .../guzzle/src/PrepareBodyMiddleware.php | 106 + .../guzzlehttp/guzzle/src/RedirectMiddleware.php | 237 + .../guzzlehttp/guzzle/src/RequestOptions.php | 255 + .../guzzlehttp/guzzle/src/RetryMiddleware.php | 112 + .../guzzlehttp/guzzle/src/TransferStats.php | 126 + .../guzzlehttp/guzzle/src/UriTemplate.php | 241 + .../googleapi/guzzlehttp/guzzle/src/functions.php | 331 + .../guzzlehttp/guzzle/src/functions_include.php | 6 + .../googleapi/guzzlehttp/promises/CHANGELOG.md | 65 + .../share/googleapi/guzzlehttp/promises/LICENSE | 19 + .../share/googleapi/guzzlehttp/promises/Makefile | 13 + .../share/googleapi/guzzlehttp/promises/README.md | 504 + .../googleapi/guzzlehttp/promises/composer.json | 34 + .../guzzlehttp/promises/src/AggregateException.php | 16 + .../promises/src/CancellationException.php | 9 + .../guzzlehttp/promises/src/Coroutine.php | 151 + .../guzzlehttp/promises/src/EachPromise.php | 229 + .../guzzlehttp/promises/src/FulfilledPromise.php | 82 + .../googleapi/guzzlehttp/promises/src/Promise.php | 280 + .../guzzlehttp/promises/src/PromiseInterface.php | 93 + .../guzzlehttp/promises/src/PromisorInterface.php | 15 + .../guzzlehttp/promises/src/RejectedPromise.php | 87 + .../guzzlehttp/promises/src/RejectionException.php | 47 + .../guzzlehttp/promises/src/TaskQueue.php | 66 + .../guzzlehttp/promises/src/TaskQueueInterface.php | 25 + .../guzzlehttp/promises/src/functions.php | 457 + .../guzzlehttp/promises/src/functions_include.php | 6 + .../share/googleapi/guzzlehttp/psr7/CHANGELOG.md | 110 + .../share/googleapi/guzzlehttp/psr7/LICENSE | 19 + .../share/googleapi/guzzlehttp/psr7/README.md | 739 + .../share/googleapi/guzzlehttp/psr7/composer.json | 39 + .../googleapi/guzzlehttp/psr7/src/AppendStream.php | 233 + .../googleapi/guzzlehttp/psr7/src/BufferStream.php | 137 + .../guzzlehttp/psr7/src/CachingStream.php | 138 + .../guzzlehttp/psr7/src/DroppingStream.php | 42 + .../googleapi/guzzlehttp/psr7/src/FnStream.php | 149 + .../guzzlehttp/psr7/src/InflateStream.php | 52 + .../guzzlehttp/psr7/src/LazyOpenStream.php | 39 + .../googleapi/guzzlehttp/psr7/src/LimitStream.php | 155 + .../googleapi/guzzlehttp/psr7/src/MessageTrait.php | 183 + .../guzzlehttp/psr7/src/MultipartStream.php | 153 + .../googleapi/guzzlehttp/psr7/src/NoSeekStream.php | 22 + .../googleapi/guzzlehttp/psr7/src/PumpStream.php | 165 + .../googleapi/guzzlehttp/psr7/src/Request.php | 142 + .../googleapi/guzzlehttp/psr7/src/Response.php | 132 + .../guzzlehttp/psr7/src/ServerRequest.php | 358 + .../share/googleapi/guzzlehttp/psr7/src/Stream.php | 257 + .../guzzlehttp/psr7/src/StreamDecoratorTrait.php | 149 + .../guzzlehttp/psr7/src/StreamWrapper.php | 121 + .../googleapi/guzzlehttp/psr7/src/UploadedFile.php | 316 + .../share/googleapi/guzzlehttp/psr7/src/Uri.php | 702 + .../guzzlehttp/psr7/src/UriNormalizer.php | 216 + .../googleapi/guzzlehttp/psr7/src/UriResolver.php | 219 + .../googleapi/guzzlehttp/psr7/src/functions.php | 828 + .../guzzlehttp/psr7/src/functions_include.php | 6 + .../share/googleapi/monolog/monolog/.php_cs | 59 + .../share/googleapi/monolog/monolog/CHANGELOG.md | 342 + .../share/googleapi/monolog/monolog/LICENSE | 19 + .../share/googleapi/monolog/monolog/README.md | 95 + .../share/googleapi/monolog/monolog/composer.json | 66 + .../googleapi/monolog/monolog/doc/01-usage.md | 231 + .../doc/02-handlers-formatters-processors.md | 157 + .../googleapi/monolog/monolog/doc/03-utilities.md | 13 + .../googleapi/monolog/monolog/doc/04-extending.md | 76 + .../share/googleapi/monolog/monolog/doc/sockets.md | 39 + .../googleapi/monolog/monolog/phpunit.xml.dist | 19 + .../monolog/monolog/src/Monolog/ErrorHandler.php | 230 + .../src/Monolog/Formatter/ChromePHPFormatter.php | 78 + .../src/Monolog/Formatter/ElasticaFormatter.php | 89 + .../src/Monolog/Formatter/FlowdockFormatter.php | 116 + .../src/Monolog/Formatter/FluentdFormatter.php | 85 + .../src/Monolog/Formatter/FormatterInterface.php | 36 + .../src/Monolog/Formatter/GelfMessageFormatter.php | 138 + .../src/Monolog/Formatter/HtmlFormatter.php | 141 + .../src/Monolog/Formatter/JsonFormatter.php | 208 + .../src/Monolog/Formatter/LineFormatter.php | 179 + .../src/Monolog/Formatter/LogglyFormatter.php | 47 + .../src/Monolog/Formatter/LogstashFormatter.php | 166 + .../src/Monolog/Formatter/MongoDBFormatter.php | 105 + .../src/Monolog/Formatter/NormalizerFormatter.php | 297 + .../src/Monolog/Formatter/ScalarFormatter.php | 48 + .../src/Monolog/Formatter/WildfireFormatter.php | 113 + .../src/Monolog/Handler/AbstractHandler.php | 186 + .../Monolog/Handler/AbstractProcessingHandler.php | 66 + .../src/Monolog/Handler/AbstractSyslogHandler.php | 101 + .../monolog/src/Monolog/Handler/AmqpHandler.php | 148 + .../src/Monolog/Handler/BrowserConsoleHandler.php | 230 + .../monolog/src/Monolog/Handler/BufferHandler.php | 117 + .../src/Monolog/Handler/ChromePHPHandler.php | 211 + .../monolog/src/Monolog/Handler/CouchDBHandler.php | 72 + .../monolog/src/Monolog/Handler/CubeHandler.php | 151 + .../monolog/src/Monolog/Handler/Curl/Util.php | 57 + .../src/Monolog/Handler/DeduplicationHandler.php | 169 + .../src/Monolog/Handler/DoctrineCouchDBHandler.php | 45 + .../src/Monolog/Handler/DynamoDbHandler.php | 107 + .../src/Monolog/Handler/ElasticSearchHandler.php | 128 + .../src/Monolog/Handler/ErrorLogHandler.php | 82 + .../monolog/src/Monolog/Handler/FilterHandler.php | 140 + .../FingersCrossed/ActivationStrategyInterface.php | 28 + .../ChannelLevelActivationStrategy.php | 59 + .../ErrorLevelActivationStrategy.php | 34 + .../src/Monolog/Handler/FingersCrossedHandler.php | 163 + .../monolog/src/Monolog/Handler/FirePHPHandler.php | 195 + .../src/Monolog/Handler/FleepHookHandler.php | 126 + .../src/Monolog/Handler/FlowdockHandler.php | 127 + .../monolog/src/Monolog/Handler/GelfHandler.php | 73 + .../monolog/src/Monolog/Handler/GroupHandler.php | 104 + .../src/Monolog/Handler/HandlerInterface.php | 90 + .../monolog/src/Monolog/Handler/HandlerWrapper.php | 108 + .../monolog/src/Monolog/Handler/HipChatHandler.php | 350 + .../monolog/src/Monolog/Handler/IFTTTHandler.php | 69 + .../src/Monolog/Handler/LogEntriesHandler.php | 55 + .../monolog/src/Monolog/Handler/LogglyHandler.php | 102 + .../monolog/src/Monolog/Handler/MailHandler.php | 67 + .../src/Monolog/Handler/MandrillHandler.php | 68 + .../Monolog/Handler/MissingExtensionException.php | 21 + .../monolog/src/Monolog/Handler/MongoDBHandler.php | 59 + .../src/Monolog/Handler/NativeMailerHandler.php | 185 + .../src/Monolog/Handler/NewRelicHandler.php | 202 + .../monolog/src/Monolog/Handler/NullHandler.php | 45 + .../src/Monolog/Handler/PHPConsoleHandler.php | 242 + .../monolog/src/Monolog/Handler/PsrHandler.php | 56 + .../src/Monolog/Handler/PushoverHandler.php | 185 + .../monolog/src/Monolog/Handler/RavenHandler.php | 232 + .../monolog/src/Monolog/Handler/RedisHandler.php | 97 + .../monolog/src/Monolog/Handler/RollbarHandler.php | 132 + .../src/Monolog/Handler/RotatingFileHandler.php | 178 + .../src/Monolog/Handler/SamplingHandler.php | 82 + .../src/Monolog/Handler/Slack/SlackRecord.php | 294 + .../monolog/src/Monolog/Handler/SlackHandler.php | 215 + .../src/Monolog/Handler/SlackWebhookHandler.php | 115 + .../src/Monolog/Handler/SlackbotHandler.php | 80 + .../monolog/src/Monolog/Handler/SocketHandler.php | 346 + .../monolog/src/Monolog/Handler/StreamHandler.php | 176 + .../src/Monolog/Handler/SwiftMailerHandler.php | 99 + .../monolog/src/Monolog/Handler/SyslogHandler.php | 67 + .../src/Monolog/Handler/SyslogUdp/UdpSocket.php | 56 + .../src/Monolog/Handler/SyslogUdpHandler.php | 103 + .../monolog/src/Monolog/Handler/TestHandler.php | 154 + .../Monolog/Handler/WhatFailureGroupHandler.php | 61 + .../src/Monolog/Handler/ZendMonitorHandler.php | 95 + .../monolog/monolog/src/Monolog/Logger.php | 700 + .../monolog/src/Monolog/Processor/GitProcessor.php | 64 + .../Monolog/Processor/IntrospectionProcessor.php | 112 + .../Monolog/Processor/MemoryPeakUsageProcessor.php | 35 + .../src/Monolog/Processor/MemoryProcessor.php | 63 + .../src/Monolog/Processor/MemoryUsageProcessor.php | 35 + .../src/Monolog/Processor/MercurialProcessor.php | 63 + .../src/Monolog/Processor/ProcessIdProcessor.php | 31 + .../Monolog/Processor/PsrLogMessageProcessor.php | 48 + .../monolog/src/Monolog/Processor/TagProcessor.php | 44 + .../monolog/src/Monolog/Processor/UidProcessor.php | 46 + .../monolog/src/Monolog/Processor/WebProcessor.php | 113 + .../monolog/monolog/src/Monolog/Registry.php | 134 + .../monolog/tests/Monolog/ErrorHandlerTest.php | 31 + .../Monolog/Formatter/ChromePHPFormatterTest.php | 158 + .../Monolog/Formatter/ElasticaFormatterTest.php | 79 + .../Monolog/Formatter/FlowdockFormatterTest.php | 55 + .../Monolog/Formatter/FluentdFormatterTest.php | 62 + .../Monolog/Formatter/GelfMessageFormatterTest.php | 258 + .../tests/Monolog/Formatter/JsonFormatterTest.php | 183 + .../tests/Monolog/Formatter/LineFormatterTest.php | 222 + .../Monolog/Formatter/LogglyFormatterTest.php | 40 + .../Monolog/Formatter/LogstashFormatterTest.php | 333 + .../Monolog/Formatter/MongoDBFormatterTest.php | 262 + .../Monolog/Formatter/NormalizerFormatterTest.php | 423 + .../Monolog/Formatter/ScalarFormatterTest.php | 110 + .../Monolog/Formatter/WildfireFormatterTest.php | 142 + .../tests/Monolog/Handler/AbstractHandlerTest.php | 115 + .../Handler/AbstractProcessingHandlerTest.php | 80 + .../tests/Monolog/Handler/AmqpHandlerTest.php | 136 + .../Monolog/Handler/BrowserConsoleHandlerTest.php | 130 + .../tests/Monolog/Handler/BufferHandlerTest.php | 158 + .../tests/Monolog/Handler/ChromePHPHandlerTest.php | 156 + .../tests/Monolog/Handler/CouchDBHandlerTest.php | 31 + .../Monolog/Handler/DeduplicationHandlerTest.php | 165 + .../Monolog/Handler/DoctrineCouchDBHandlerTest.php | 52 + .../tests/Monolog/Handler/DynamoDbHandlerTest.php | 82 + .../Monolog/Handler/ElasticSearchHandlerTest.php | 239 + .../tests/Monolog/Handler/ErrorLogHandlerTest.php | 66 + .../tests/Monolog/Handler/FilterHandlerTest.php | 170 + .../Monolog/Handler/FingersCrossedHandlerTest.php | 279 + .../tests/Monolog/Handler/FirePHPHandlerTest.php | 96 + .../tests/Monolog/Handler/Fixtures/.gitkeep | 0 .../tests/Monolog/Handler/FleepHookHandlerTest.php | 85 + .../tests/Monolog/Handler/FlowdockHandlerTest.php | 88 + .../Monolog/Handler/GelfHandlerLegacyTest.php | 95 + .../tests/Monolog/Handler/GelfHandlerTest.php | 117 + .../Monolog/Handler/GelfMockMessagePublisher.php | 25 + .../tests/Monolog/Handler/GroupHandlerTest.php | 112 + .../tests/Monolog/Handler/HandlerWrapperTest.php | 130 + .../tests/Monolog/Handler/HipChatHandlerTest.php | 279 + .../Monolog/Handler/LogEntriesHandlerTest.php | 84 + .../tests/Monolog/Handler/MailHandlerTest.php | 75 + .../tests/Monolog/Handler/MockRavenClient.php | 27 + .../tests/Monolog/Handler/MongoDBHandlerTest.php | 65 + .../Monolog/Handler/NativeMailerHandlerTest.php | 111 + .../tests/Monolog/Handler/NewRelicHandlerTest.php | 200 + .../tests/Monolog/Handler/NullHandlerTest.php | 33 + .../Monolog/Handler/PHPConsoleHandlerTest.php | 273 + .../tests/Monolog/Handler/PsrHandlerTest.php | 50 + .../tests/Monolog/Handler/PushoverHandlerTest.php | 141 + .../tests/Monolog/Handler/RavenHandlerTest.php | 255 + .../tests/Monolog/Handler/RedisHandlerTest.php | 127 + .../tests/Monolog/Handler/RollbarHandlerTest.php | 84 + .../Monolog/Handler/RotatingFileHandlerTest.php | 211 + .../tests/Monolog/Handler/SamplingHandlerTest.php | 33 + .../Monolog/Handler/Slack/SlackRecordTest.php | 387 + .../tests/Monolog/Handler/SlackHandlerTest.php | 155 + .../Monolog/Handler/SlackWebhookHandlerTest.php | 107 + .../tests/Monolog/Handler/SlackbotHandlerTest.php | 47 + .../tests/Monolog/Handler/SocketHandlerTest.php | 309 + .../tests/Monolog/Handler/StreamHandlerTest.php | 184 + .../Monolog/Handler/SwiftMailerHandlerTest.php | 113 + .../tests/Monolog/Handler/SyslogHandlerTest.php | 44 + .../tests/Monolog/Handler/SyslogUdpHandlerTest.php | 76 + .../tests/Monolog/Handler/TestHandlerTest.php | 70 + .../tests/Monolog/Handler/UdpSocketTest.php | 64 + .../Handler/WhatFailureGroupHandlerTest.php | 121 + .../Monolog/Handler/ZendMonitorHandlerTest.php | 69 + .../monolog/monolog/tests/Monolog/LoggerTest.php | 548 + .../tests/Monolog/Processor/GitProcessorTest.php | 29 + .../Processor/IntrospectionProcessorTest.php | 123 + .../Processor/MemoryPeakUsageProcessorTest.php | 42 + .../Monolog/Processor/MemoryUsageProcessorTest.php | 42 + .../Monolog/Processor/MercurialProcessorTest.php | 41 + .../Monolog/Processor/ProcessIdProcessorTest.php | 30 + .../Processor/PsrLogMessageProcessorTest.php | 43 + .../tests/Monolog/Processor/TagProcessorTest.php | 49 + .../tests/Monolog/Processor/UidProcessorTest.php | 33 + .../tests/Monolog/Processor/WebProcessorTest.php | 113 + .../monolog/tests/Monolog/PsrLogCompatTest.php | 47 + .../monolog/monolog/tests/Monolog/RegistryTest.php | 153 + .../monolog/monolog/tests/Monolog/TestCase.php | 58 + .../share/googleapi/phpseclib/phpseclib/AUTHORS | 6 + .../share/googleapi/phpseclib/phpseclib/LICENSE | 21 + .../share/googleapi/phpseclib/phpseclib/README.md | 74 + .../googleapi/phpseclib/phpseclib/composer.json | 76 + .../googleapi/phpseclib/phpseclib/composer.lock | 1819 + .../phpseclib/phpseclib/phpseclib/Crypt/AES.php | 126 + .../phpseclib/phpseclib/phpseclib/Crypt/Base.php | 2553 + .../phpseclib/phpseclib/Crypt/Blowfish.php | 577 + .../phpseclib/phpseclib/phpseclib/Crypt/DES.php | 1443 + .../phpseclib/phpseclib/phpseclib/Crypt/Hash.php | 824 + .../phpseclib/phpseclib/phpseclib/Crypt/RC2.php | 688 + .../phpseclib/phpseclib/phpseclib/Crypt/RC4.php | 342 + .../phpseclib/phpseclib/phpseclib/Crypt/RSA.php | 3053 + .../phpseclib/phpseclib/phpseclib/Crypt/Random.php | 270 + .../phpseclib/phpseclib/Crypt/Rijndael.php | 936 + .../phpseclib/phpseclib/Crypt/TripleDES.php | 460 + .../phpseclib/phpseclib/Crypt/Twofish.php | 808 + .../phpseclib/phpseclib/phpseclib/File/ANSI.php | 574 + .../phpseclib/phpseclib/phpseclib/File/ASN1.php | 1323 + .../phpseclib/phpseclib/File/ASN1/Element.php | 47 + .../phpseclib/phpseclib/phpseclib/File/X509.php | 4823 ++ .../phpseclib/phpseclib/Math/BigInteger.php | 3755 ++ .../phpseclib/phpseclib/phpseclib/Net/SCP.php | 337 + .../phpseclib/phpseclib/phpseclib/Net/SFTP.php | 3063 + .../phpseclib/phpseclib/Net/SFTP/Stream.php | 795 + .../phpseclib/phpseclib/phpseclib/Net/SSH1.php | 1642 + .../phpseclib/phpseclib/phpseclib/Net/SSH2.php | 4397 ++ .../phpseclib/phpseclib/System/SSH/Agent.php | 308 + .../phpseclib/System/SSH/Agent/Identity.php | 158 + .../phpseclib/phpseclib/phpseclib/bootstrap.php | 16 + .../phpseclib/phpseclib/phpseclib/openssl.cnf | 6 + .../include/share/googleapi/psr/cache/CHANGELOG.md | 16 + .../include/share/googleapi/psr/cache/LICENSE.txt | 19 + .../include/share/googleapi/psr/cache/README.md | 9 + .../share/googleapi/psr/cache/composer.json | 25 + .../googleapi/psr/cache/src/CacheException.php | 10 + .../googleapi/psr/cache/src/CacheItemInterface.php | 105 + .../psr/cache/src/CacheItemPoolInterface.php | 138 + .../psr/cache/src/InvalidArgumentException.php | 13 + .../share/googleapi/psr/http-message/CHANGELOG.md | 36 + .../share/googleapi/psr/http-message/LICENSE | 19 + .../share/googleapi/psr/http-message/README.md | 13 + .../share/googleapi/psr/http-message/composer.json | 26 + .../psr/http-message/src/MessageInterface.php | 187 + .../psr/http-message/src/RequestInterface.php | 129 + .../psr/http-message/src/ResponseInterface.php | 68 + .../http-message/src/ServerRequestInterface.php | 261 + .../psr/http-message/src/StreamInterface.php | 158 + .../psr/http-message/src/UploadedFileInterface.php | 123 + .../psr/http-message/src/UriInterface.php | 323 + .../www/include/share/googleapi/psr/log/.gitignore | 1 + .../www/include/share/googleapi/psr/log/LICENSE | 19 + .../googleapi/psr/log/Psr/Log/AbstractLogger.php | 128 + .../psr/log/Psr/Log/InvalidArgumentException.php | 7 + .../share/googleapi/psr/log/Psr/Log/LogLevel.php | 18 + .../psr/log/Psr/Log/LoggerAwareInterface.php | 18 + .../googleapi/psr/log/Psr/Log/LoggerAwareTrait.php | 26 + .../googleapi/psr/log/Psr/Log/LoggerInterface.php | 123 + .../googleapi/psr/log/Psr/Log/LoggerTrait.php | 140 + .../share/googleapi/psr/log/Psr/Log/NullLogger.php | 28 + .../psr/log/Psr/Log/Test/LoggerInterfaceTest.php | 140 + .../www/include/share/googleapi/psr/log/README.md | 45 + .../include/share/googleapi/psr/log/composer.json | 26 + mayor-orig/www/include/share/net/class.smtp.php | 1152 + mayor-orig/www/include/share/net/facebook.php | 70 + mayor-orig/www/include/share/net/googleapi.php | 65 + mayor-orig/www/include/share/net/phpmailer.php | 3552 ++ mayor-orig/www/include/share/net/rest.php | 188 + mayor-orig/www/include/share/net/upload.php | 58 + mayor-orig/www/include/share/print/pdf.php | 270 + .../www/include/share/session/accountInfo.php | 39 + mayor-orig/www/include/share/session/attrs.php | 63 + mayor-orig/www/include/share/session/base.php | 171 + mayor-orig/www/include/share/session/close.php | 96 + mayor-orig/www/include/share/ssl/ssl.php | 461 + mayor-orig/www/include/share/str/hyphen.php | 104 + mayor-orig/www/include/share/str/tex.php | 51 + mayor-orig/www/index.php | 33 + mayor-orig/www/lang/de_DE/backend/ldap/attrs.php | 58 + mayor-orig/www/lang/de_DE/module-auth/login.php | 5 + .../de_DE/module-password/changeMyPassword.php | 7 + .../lang/de_DE/module-password/changePassword.php | 7 + .../www/lang/de_DE/module-session/accountInfo.php | 3 + .../lang/de_DE/module-session/createAccount.php | 7 + .../www/lang/de_DE/module-session/createGroup.php | 6 + .../www/lang/de_DE/module-session/download.php | 7 + .../www/lang/de_DE/module-session/groupInfo.php | 4 + .../de_DE/module-session/search/searchAccount.php | 19 + .../de_DE/module-session/search/searchGroup.php | 19 + mayor-orig/www/lang/de_DE/share/session/attrs.php | 17 + mayor-orig/www/lang/en_US/backend/ldap/attrs.php | 58 + mayor-orig/www/lang/en_US/base/base.php | 18 + mayor-orig/www/lang/en_US/date/names.php | 21 + mayor-orig/www/lang/en_US/module-auth/login.php | 5 + .../en_US/module-password/changeMyPassword.php | 7 + .../lang/en_US/module-password/changePassword.php | 7 + .../www/lang/en_US/module-session/accountInfo.php | 3 + .../lang/en_US/module-session/createAccount.php | 7 + .../www/lang/en_US/module-session/createGroup.php | 6 + .../www/lang/en_US/module-session/download.php | 7 + .../www/lang/en_US/module-session/groupInfo.php | 4 + .../en_US/module-session/search/searchAccount.php | 19 + .../en_US/module-session/search/searchGroup.php | 19 + mayor-orig/www/lang/en_US/share/session/attrs.php | 17 + mayor-orig/www/lang/hu_HU/backend/ads/attrs.php | 82 + mayor-orig/www/lang/hu_HU/backend/ldap/attrs.php | 66 + mayor-orig/www/lang/hu_HU/backend/ldapng/attrs.php | 63 + mayor-orig/www/lang/hu_HU/backend/mysql/attrs.php | 22 + mayor-orig/www/lang/hu_HU/base/base.php | 51 + mayor-orig/www/lang/hu_HU/date/names.php | 29 + .../www/lang/hu_HU/module-auth/forgotten.php | 24 + mayor-orig/www/lang/hu_HU/module-auth/login.php | 19 + .../lang/hu_HU/module-naplo/admin/azonositok.php | 11 + .../lang/hu_HU/module-naplo/admin/csoportok.php | 10 + .../lang/hu_HU/module-naplo/admin/fillhaladasi.php | 6 + .../lang/hu_HU/module-naplo/admin/intezmenyek.php | 28 + .../lang/hu_HU/module-naplo/admin/rpcPrivilege.php | 12 + .../lang/hu_HU/module-naplo/admin/szemeszterek.php | 13 + .../hu_HU/module-naplo/admin/szuloiAzonositok.php | 19 + .../www/lang/hu_HU/module-naplo/admin/tanevek.php | 26 + .../www/lang/hu_HU/module-naplo/admin/tankorok.php | 5 + mayor-orig/www/lang/hu_HU/module-naplo/base.php | 60 + .../module-naplo/bejegyzesek/bejegyzesTipus.php | 11 + .../hu_HU/module-naplo/bejegyzesek/bejegyzesek.php | 15 + .../lang/hu_HU/module-naplo/bejegyzesek/info.php | 6 + .../hu_HU/module-naplo/bejegyzesek/ujBejegyzes.php | 18 + .../www/lang/hu_HU/module-naplo/diakValaszto.php | 5 + .../hu_HU/module-naplo/ertekeles/ertekeles.php | 6 + .../module-naplo/ertekeles/kerdoivBetoltes.php | 28 + .../hu_HU/module-naplo/ertekeles/osszesites.php | 5 + .../hu_HU/module-naplo/esemeny/esemenyDiak.php | 21 + .../hu_HU/module-naplo/esemeny/jelentkezes.php | 17 + .../lang/hu_HU/module-naplo/esemeny/ujEsemeny.php | 25 + .../hu_HU/module-naplo/export/bizonyitvany.php | 10 + .../lang/hu_HU/module-naplo/export/diakExport.php | 76 + .../module-naplo/export/kirBizonyitvanyExport.php | 5 + .../www/lang/hu_HU/module-naplo/export/kreta.php | 8 + .../www/lang/hu_HU/module-naplo/export/sulix.php | 7 + .../module-naplo/export/tanarOsztalyOraszam.php | 8 + .../module-naplo/export/tantargyFelosztas.php | 12 + .../lang/hu_HU/module-naplo/haladasi/elmaradas.php | 7 + .../hu_HU/module-naplo/haladasi/elszamolas.php | 19 + .../lang/hu_HU/module-naplo/haladasi/haladasi.php | 38 + .../hu_HU/module-naplo/haladasi/helyettesites.php | 22 + .../www/lang/hu_HU/module-naplo/haladasi/hetes.php | 5 + .../lang/hu_HU/module-naplo/haladasi/minuszora.php | 6 + .../www/lang/hu_HU/module-naplo/haladasi/ora.php | 13 + .../hu_HU/module-naplo/haladasi/oralatogatas.php | 10 + .../hu_HU/module-naplo/haladasi/osszevonas.php | 19 + .../lang/hu_HU/module-naplo/haladasi/pluszora.php | 23 + .../lang/hu_HU/module-naplo/haladasi/specialis.php | 39 + .../www/lang/hu_HU/module-naplo/haladasi/stat.php | 23 + .../hu_HU/module-naplo/haladasi/teremModositas.php | 14 + .../www/lang/hu_HU/module-naplo/hianyzas/diak.php | 13 + .../module-naplo/hianyzas/diakIgazolatlan.php | 10 + .../lang/hu_HU/module-naplo/hianyzas/diakLista.php | 8 + .../www/lang/hu_HU/module-naplo/hianyzas/info.php | 9 + .../www/lang/hu_HU/module-naplo/hianyzas/nap.php | 13 + .../lang/hu_HU/module-naplo/hianyzas/oktstat.php | 5 + .../www/lang/hu_HU/module-naplo/hianyzas/ora.php | 27 + .../lang/hu_HU/module-naplo/hianyzas/osztaly.php | 46 + .../hu_HU/module-naplo/hianyzas/osztalyNap.php | 14 + .../hu_HU/module-naplo/hibabejelento/admin.php | 12 + .../module-naplo/hibabejelento/hibabejelento.php | 8 + .../www/lang/hu_HU/module-naplo/hirnok/hirnok.php | 6 + .../module-naplo/hirnok/hirnokFeliratkozas.php | 6 + .../www/lang/hu_HU/module-naplo/intezmeny/diak.php | 134 + .../hu_HU/module-naplo/intezmeny/diakExport.php | 14 + .../hu_HU/module-naplo/intezmeny/diakFelmentes.php | 60 + .../hu_HU/module-naplo/intezmeny/diakStatusz.php | 20 + .../hu_HU/module-naplo/intezmeny/diakSzulo.php | 53 + .../hu_HU/module-naplo/intezmeny/diakTankor.php | 11 + .../intezmeny/diakTankorJelentkezes.php | 29 + .../hu_HU/module-naplo/intezmeny/felmentes.php | 15 + .../hu_HU/module-naplo/intezmeny/kepesitesek.php | 6 + .../lang/hu_HU/module-naplo/intezmeny/kepzes.php | 22 + .../hu_HU/module-naplo/intezmeny/kepzesOraterv.php | 20 + .../hu_HU/module-naplo/intezmeny/kepzesTankor.php | 38 + .../hu_HU/module-naplo/intezmeny/munkakozosseg.php | 36 + .../lang/hu_HU/module-naplo/intezmeny/osztaly.php | 40 + .../lang/hu_HU/module-naplo/intezmeny/tanar.php | 53 + .../lang/hu_HU/module-naplo/intezmeny/tankor.php | 56 + .../hu_HU/module-naplo/intezmeny/tankorDiak.php | 22 + .../hu_HU/module-naplo/intezmeny/tankorLetszam.php | 10 + .../module-naplo/intezmeny/tankorSzemeszter.php | 6 + .../hu_HU/module-naplo/intezmeny/tankorTanar.php | 12 + .../intezmeny/tankorTanarHozzarendeles.php | 5 + .../lang/hu_HU/module-naplo/intezmeny/terem.php | 14 + .../hu_HU/module-naplo/intezmeny/tovabbkepzes.php | 34 + .../lang/hu_HU/module-naplo/intezmeny/valtas.php | 5 + .../lang/hu_HU/module-naplo/intezmeny/zaradek.php | 9 + .../lang/hu_HU/module-naplo/koszi/esemenyAdmin.php | 23 + .../www/lang/hu_HU/module-naplo/koszi/koszi.php | 13 + .../lang/hu_HU/module-naplo/koszi/kosziAdmin.php | 17 + mayor-orig/www/lang/hu_HU/module-naplo/naplo.php | 8 + .../nyomtatas/diakTankorJelentkezes.php | 8 + .../lang/hu_HU/module-naplo/nyomtatas/ertesito.php | 5 + .../module-naplo/nyomtatas/helyettesitesinaplo.php | 6 + .../module-naplo/nyomtatas/osztalyozonaplo.php | 6 + .../nyomtatas/sniEvVegiJegyzokonyv.php | 4 + .../module-naplo/nyomtatas/sniHaviJegyzokonyv.php | 4 + .../nyomtatas/tankorNaplohozRendeles.php | 20 + .../hu_HU/module-naplo/nyomtatas/zaradekok.php | 5 + .../lang/hu_HU/module-naplo/orarend/ascExport.php | 22 + .../hu_HU/module-naplo/orarend/helyettesites.php | 6 + .../lang/hu_HU/module-naplo/orarend/orarend.php | 10 + .../hu_HU/module-naplo/orarend/orarendBetolto.php | 9 + .../module-naplo/orarend/orarendEllenorzes.php | 11 + .../hu_HU/module-naplo/orarend/orarendModosito.php | 19 + .../hu_HU/module-naplo/orarend/orarendTankor.php | 5 + .../module-naplo/orarend/orarendTeremModositas.php | 10 + .../hu_HU/module-naplo/orarend/szabadTerem.php | 5 + .../hu_HU/module-naplo/orarend/tanarOrarend.php | 5 + .../www/lang/hu_HU/module-naplo/orarend/termez.php | 6 + .../module-naplo/osztalyozo/bizelomenetel.php | 16 + .../hu_HU/module-naplo/osztalyozo/bizonyitvany.php | 42 + .../lang/hu_HU/module-naplo/osztalyozo/diak.php | 18 + .../hu_HU/module-naplo/osztalyozo/dolgozat.php | 34 + .../lang/hu_HU/module-naplo/osztalyozo/jegy.php | 22 + .../lang/hu_HU/module-naplo/osztalyozo/stat.php | 65 + .../module-naplo/osztalyozo/szempontRendszer.php | 13 + .../module-naplo/osztalyozo/szovegesErtekeles.php | 8 + .../lang/hu_HU/module-naplo/osztalyozo/tankor.php | 34 + .../hu_HU/module-naplo/osztalyozo/targySorrend.php | 8 + .../lang/hu_HU/module-naplo/osztalyozo/vizsga.php | 19 + .../module-naplo/osztalyozo/vizsgaJelentkezes.php | 5 + .../www/lang/hu_HU/module-naplo/share/diak.php | 5 + .../lang/hu_HU/module-naplo/share/ertekeles.php | 33 + .../www/lang/hu_HU/module-naplo/share/file.php | 67 + .../www/lang/hu_HU/module-naplo/share/hianyzas.php | 14 + .../lang/hu_HU/module-naplo/share/osztalyzatok.php | 61 + .../www/lang/hu_HU/module-naplo/share/tanar.php | 10 + .../lang/hu_HU/module-naplo/sni/diakAllapot.php | 84 + .../hu_HU/module-naplo/sni/fejlesztesiTerv.php | 21 + .../module-naplo/sni/tantargyiFeljegyzesek.php | 9 + .../www/lang/hu_HU/module-naplo/stat/letszam.php | 6 + .../www/lang/hu_HU/module-naplo/szulinap.php | 5 + .../lang/hu_HU/module-naplo/tanev/checkStatus.php | 11 + .../lang/hu_HU/module-naplo/tanev/diakTanarai.php | 7 + .../lang/hu_HU/module-naplo/tanev/fogadoOra.php | 19 + .../hu_HU/module-naplo/tanev/helyettesites.php | 5 + .../lang/hu_HU/module-naplo/tanev/munkaterv.php | 59 + .../lang/hu_HU/module-naplo/tanev/tankorBlokk.php | 13 + .../hu_HU/module-naplo/tanev/tankorCsoport.php | 13 + .../lang/hu_HU/module-naplo/tanev/targyBontas.php | 8 + .../module-naplo/tanev/vegzosOrarendLezaras.php | 5 + .../module-naplo/tanev/vegzosTankorLezaras.php | 4 + .../hu_HU/module-naplo/tanmenet/tanmenetInfo.php | 15 + .../module-naplo/tanmenet/tanmenetJovahagyas.php | 6 + .../hu_HU/module-naplo/tanmenet/tanmenetLeadas.php | 12 + .../module-naplo/tanmenet/tanmenetModositas.php | 17 + .../hu_HU/module-naplo/tanmenet/tanmenetTankor.php | 18 + .../hu_HU/module-naplo/tanmenet/ujTanmenet.php | 10 + .../www/lang/hu_HU/module-naplo/uzeno/postas.php | 45 + .../www/lang/hu_HU/module-naplo/uzeno/uzeno.php | 42 + .../hu_HU/module-password/changeMyPassword.php | 16 + .../lang/hu_HU/module-password/changePassword.php | 16 + .../lang/hu_HU/module-password/resetPassword.php | 17 + .../www/lang/hu_HU/module-session/accountInfo.php | 10 + .../lang/hu_HU/module-session/admin/knownNodes.php | 16 + .../hu_HU/module-session/admin/registration.php | 38 + .../lang/hu_HU/module-session/createAccount.php | 15 + .../www/lang/hu_HU/module-session/createGroup.php | 13 + .../www/lang/hu_HU/module-session/download.php | 9 + .../www/lang/hu_HU/module-session/groupInfo.php | 10 + .../hu_HU/module-session/search/searchAccount.php | 28 + .../hu_HU/module-session/search/searchGroup.php | 28 + .../www/lang/hu_HU/module-session/sessionAdmin.php | 13 + mayor-orig/www/lang/hu_HU/share/session/attrs.php | 24 + mayor-orig/www/lang/jp_JP/date/names.php | 21 + mayor-orig/www/lang/jp_JP/module-auth/login.php | 5 + .../jp_JP/module-password/changeMyPassword.php | 7 + .../lang/jp_JP/module-password/changePassword.php | 7 + .../www/lang/jp_JP/module-session/accountInfo.php | 3 + mayor-orig/www/lang/jp_JP/share/session/attrs.php | 17 + .../www/policy/parent/naplo/diakValaszto-pre.php | 34 + .../www/policy/parent/naplo/diakValaszto.php | 8 + mayor-orig/www/policy/parent/naplo/hirnok | 1 + mayor-orig/www/policy/parent/naplo/naplo-pre.php | 5 + mayor-orig/www/policy/parent/naplo/naplo.php | 0 .../www/policy/private/naplo/admin/admin-pre.php | 5 + .../www/policy/private/naplo/admin/admin.php | 0 .../policy/private/naplo/admin/azonositok-pre.php | 133 + .../www/policy/private/naplo/admin/azonositok.php | 9 + .../policy/private/naplo/admin/checksql-pre.php | 22 + .../www/policy/private/naplo/admin/checksql.php | 15 + .../policy/private/naplo/admin/csoportok-pre.php | 68 + .../www/policy/private/naplo/admin/csoportok.php | 14 + .../private/naplo/admin/fillhaladasi-pre.php | 30 + .../policy/private/naplo/admin/fillhaladasi.php | 6 + .../www/policy/private/naplo/admin/import-pre.php | 49 + .../www/policy/private/naplo/admin/import.php | 19 + .../www/policy/private/naplo/admin/install-pre.php | 47 + .../www/policy/private/naplo/admin/install.php | 31 + .../policy/private/naplo/admin/intezmenyek-pre.php | 79 + .../www/policy/private/naplo/admin/intezmenyek.php | 13 + .../private/naplo/admin/rpcPrivilege-pre.php | 45 + .../policy/private/naplo/admin/rpcPrivilege.php | 10 + .../private/naplo/admin/szemeszterek-pre.php | 80 + .../policy/private/naplo/admin/szemeszterek.php | 13 + .../private/naplo/admin/szuloiAzonositok-pre.php | 171 + .../private/naplo/admin/szuloiAzonositok.php | 9 + .../www/policy/private/naplo/admin/tanevek-pre.php | 151 + .../www/policy/private/naplo/admin/tanevek.php | 13 + .../policy/private/naplo/admin/tankorok-pre.php | 39 + .../www/policy/private/naplo/admin/tankorok.php | 16 + .../naplo/bejegyzesek/bejegyzesTipus-pre.php | 59 + .../private/naplo/bejegyzesek/bejegyzesTipus.php | 9 + .../private/naplo/bejegyzesek/bejegyzesek-pre.php | 73 + .../private/naplo/bejegyzesek/bejegyzesek.php | 15 + .../policy/private/naplo/bejegyzesek/info-pre.php | 10 + .../www/policy/private/naplo/bejegyzesek/info.php | 5 + .../private/naplo/bejegyzesek/ujBejegyzes-pre.php | 60 + .../private/naplo/bejegyzesek/ujBejegyzes.php | 12 + mayor-orig/www/policy/private/naplo/error-pre.php | 0 mayor-orig/www/policy/private/naplo/error.php | 6 + .../private/naplo/ertekeles/ertekeles-pre.php | 205 + .../policy/private/naplo/ertekeles/ertekeles.php | 9 + .../policy/private/naplo/ertekeles/export-pre.php | 33 + .../www/policy/private/naplo/ertekeles/export.php | 27 + .../naplo/ertekeles/kerdoivBetoltes-pre.php | 149 + .../private/naplo/ertekeles/kerdoivBetoltes.php | 10 + .../private/naplo/ertekeles/osszesites-pre.php | 97 + .../policy/private/naplo/ertekeles/osszesites.php | 5 + .../policy/private/naplo/esemeny/esemeny-pre.php | 7 + .../www/policy/private/naplo/esemeny/esemeny.php | 0 .../private/naplo/esemeny/esemenyDiak-pre.php | 83 + .../policy/private/naplo/esemeny/esemenyDiak.php | 8 + .../private/naplo/esemeny/jelentkezes-pre.php | 45 + .../policy/private/naplo/esemeny/jelentkezes.php | 8 + .../policy/private/naplo/esemeny/ujEsemeny-pre.php | 91 + .../www/policy/private/naplo/esemeny/ujEsemeny.php | 10 + .../private/naplo/export/bizonyitvany-pre.php | 114 + .../policy/private/naplo/export/bizonyitvany.php | 9 + .../policy/private/naplo/export/diakExport-pre.php | 68 + .../www/policy/private/naplo/export/diakExport.php | 12 + .../naplo/export/kirBizonyitvanyExport-pre.php | 132 + .../private/naplo/export/kirBizonyitvanyExport.php | 0 .../www/policy/private/naplo/export/kreta-pre.php | 176 + .../www/policy/private/naplo/export/kreta.php | 11 + .../www/policy/private/naplo/export/sulix-pre.php | 26 + .../www/policy/private/naplo/export/sulix.php | 9 + .../naplo/export/tanarOsztalyOraszam-pre.php | 106 + .../private/naplo/export/tanarOsztalyOraszam.php | 10 + .../private/naplo/export/tantargyFelosztas-pre.php | 61 + .../private/naplo/export/tantargyFelosztas.php | 9 + .../private/naplo/haladasi/elmaradas-pre.php | 17 + .../policy/private/naplo/haladasi/elmaradas.php | 12 + .../private/naplo/haladasi/elszamolas-pre.php | 59 + .../policy/private/naplo/haladasi/elszamolas.php | 9 + .../policy/private/naplo/haladasi/haladasi-pre.php | 387 + .../www/policy/private/naplo/haladasi/haladasi.php | 15 + .../private/naplo/haladasi/helyettesites-pre.php | 194 + .../private/naplo/haladasi/helyettesites.php | 46 + .../policy/private/naplo/haladasi/hetes-pre.php | 260 + .../www/policy/private/naplo/haladasi/hetes.php | 9 + .../private/naplo/haladasi/minuszora-pre.php | 75 + .../policy/private/naplo/haladasi/minuszora.php | 9 + .../www/policy/private/naplo/haladasi/ora-pre.php | 33 + .../www/policy/private/naplo/haladasi/ora.php | 9 + .../private/naplo/haladasi/oralatogatas-pre.php | 102 + .../policy/private/naplo/haladasi/oralatogatas.php | 9 + .../private/naplo/haladasi/osszevonas-pre.php | 109 + .../policy/private/naplo/haladasi/osszevonas.php | 13 + .../policy/private/naplo/haladasi/pluszora-pre.php | 177 + .../www/policy/private/naplo/haladasi/pluszora.php | 15 + .../private/naplo/haladasi/specialis-pre.php | 95 + .../policy/private/naplo/haladasi/specialis.php | 17 + .../www/policy/private/naplo/haladasi/stat-pre.php | 54 + .../www/policy/private/naplo/haladasi/stat.php | 9 + .../policy/private/naplo/haladasi/tankor-pre.php | 29 + .../www/policy/private/naplo/haladasi/tankor.php | 10 + .../private/naplo/haladasi/teremModositas-pre.php | 102 + .../private/naplo/haladasi/teremModositas.php | 9 + .../www/policy/private/naplo/hianyzas/diak-pre.php | 212 + .../www/policy/private/naplo/hianyzas/diak.php | 10 + .../private/naplo/hianyzas/diakIgazolatlan-pre.php | 26 + .../private/naplo/hianyzas/diakIgazolatlan.php | 9 + .../private/naplo/hianyzas/diakLista-pre.php | 101 + .../policy/private/naplo/hianyzas/diakLista.php | 10 + .../policy/private/naplo/hianyzas/hianyzas-pre.php | 7 + .../www/policy/private/naplo/hianyzas/hianyzas.php | 0 .../www/policy/private/naplo/hianyzas/info-pre.php | 32 + .../www/policy/private/naplo/hianyzas/info.php | 5 + .../www/policy/private/naplo/hianyzas/nap-pre.php | 161 + .../www/policy/private/naplo/hianyzas/nap.php | 14 + .../policy/private/naplo/hianyzas/oktstat-pre.php | 33 + .../www/policy/private/naplo/hianyzas/oktstat.php | 12 + .../www/policy/private/naplo/hianyzas/ora-pre.php | 165 + .../www/policy/private/naplo/hianyzas/ora.php | 10 + .../policy/private/naplo/hianyzas/osztaly-pre.php | 124 + .../www/policy/private/naplo/hianyzas/osztaly.php | 13 + .../private/naplo/hianyzas/osztalyNap-pre.php | 53 + .../policy/private/naplo/hianyzas/osztalyNap.php | 10 + .../private/naplo/hibabejelento/admin-pre.php | 80 + .../policy/private/naplo/hibabejelento/admin.php | 16 + .../naplo/hibabejelento/hibabejelento-pre.php | 24 + .../private/naplo/hibabejelento/hibabejelento.php | 10 + .../policy/private/naplo/hirnok/cronFutar-pre.php | 32 + .../www/policy/private/naplo/hirnok/cronFutar.php | 45 + .../www/policy/private/naplo/hirnok/hirnok-pre.php | 53 + .../www/policy/private/naplo/hirnok/hirnok.php | 6 + .../naplo/hirnok/hirnokFeliratkozas-pre.php | 47 + .../private/naplo/hirnok/hirnokFeliratkozas.php | 7 + .../policy/private/naplo/intezmeny/diak-pre.php | 247 + .../www/policy/private/naplo/intezmeny/diak.php | 30 + .../private/naplo/intezmeny/diakExport-pre.php | 56 + .../policy/private/naplo/intezmeny/diakExport.php | 9 + .../private/naplo/intezmeny/diakFelmentes-pre.php | 325 + .../private/naplo/intezmeny/diakFelmentes.php | 13 + .../private/naplo/intezmeny/diakStatusz-pre.php | 117 + .../policy/private/naplo/intezmeny/diakStatusz.php | 10 + .../private/naplo/intezmeny/diakSzulo-pre.php | 98 + .../policy/private/naplo/intezmeny/diakSzulo.php | 13 + .../private/naplo/intezmeny/diakTankor-pre.php | 116 + .../policy/private/naplo/intezmeny/diakTankor.php | 13 + .../naplo/intezmeny/diakTankorJelentkezes-pre.php | 113 + .../naplo/intezmeny/diakTankorJelentkezes.php | 10 + .../private/naplo/intezmeny/felmentes-pre.php | 67 + .../policy/private/naplo/intezmeny/felmentes.php | 11 + .../private/naplo/intezmeny/intezmeny-pre.php | 5 + .../policy/private/naplo/intezmeny/intezmeny.php | 0 .../private/naplo/intezmeny/kepesitesek-pre.php | 92 + .../policy/private/naplo/intezmeny/kepesitesek.php | 10 + .../policy/private/naplo/intezmeny/kepzes-pre.php | 60 + .../www/policy/private/naplo/intezmeny/kepzes.php | 14 + .../private/naplo/intezmeny/kepzesOraterv-pre.php | 114 + .../private/naplo/intezmeny/kepzesOraterv.php | 12 + .../private/naplo/intezmeny/munkakozosseg-pre.php | 110 + .../private/naplo/intezmeny/munkakozosseg.php | 27 + .../policy/private/naplo/intezmeny/osztaly-pre.php | 323 + .../www/policy/private/naplo/intezmeny/osztaly.php | 40 + .../policy/private/naplo/intezmeny/szulo-pre.php | 15 + .../www/policy/private/naplo/intezmeny/szulo.php | 24 + .../policy/private/naplo/intezmeny/tanar-pre.php | 108 + .../www/policy/private/naplo/intezmeny/tanar.php | 27 + .../policy/private/naplo/intezmeny/tankor-pre.php | 219 + .../www/policy/private/naplo/intezmeny/tankor.php | 20 + .../private/naplo/intezmeny/tankorDiak-pre.php | 162 + .../policy/private/naplo/intezmeny/tankorDiak.php | 17 + .../private/naplo/intezmeny/tankorLetszam-pre.php | 101 + .../private/naplo/intezmeny/tankorLetszam.php | 8 + .../naplo/intezmeny/tankorSzemeszter-pre.php | 122 + .../private/naplo/intezmeny/tankorSzemeszter.php | 9 + .../private/naplo/intezmeny/tankorTanar-pre.php | 114 + .../policy/private/naplo/intezmeny/tankorTanar.php | 9 + .../intezmeny/tankorTanarHozzarendeles-pre.php | 64 + .../naplo/intezmeny/tankorTanarHozzarendeles.php | 10 + .../private/naplo/intezmeny/tantargyFelosztas.php | 9 + .../policy/private/naplo/intezmeny/terem-pre.php | 42 + .../www/policy/private/naplo/intezmeny/terem.php | 13 + .../private/naplo/intezmeny/tovabbkepzes-pre.php | 112 + .../private/naplo/intezmeny/tovabbkepzes.php | 12 + .../policy/private/naplo/intezmeny/valtas-pre.php | 58 + .../www/policy/private/naplo/intezmeny/valtas.php | 7 + .../policy/private/naplo/intezmeny/verseny-pre.php | 54 + .../www/policy/private/naplo/intezmeny/verseny.php | 10 + .../policy/private/naplo/intezmeny/zaradek-pre.php | 76 + .../www/policy/private/naplo/intezmeny/zaradek.php | 11 + .../private/naplo/koszi/esemenyAdmin-pre.php | 83 + .../policy/private/naplo/koszi/esemenyAdmin.php | 21 + .../www/policy/private/naplo/koszi/koszi-pre.php | 49 + .../www/policy/private/naplo/koszi/koszi.php | 8 + .../policy/private/naplo/koszi/kosziAdmin-pre.php | 93 + .../www/policy/private/naplo/koszi/kosziAdmin.php | 10 + mayor-orig/www/policy/private/naplo/naplo-pre.php | 22 + mayor-orig/www/policy/private/naplo/naplo.php | 15 + .../naplo/nyomtatas/beiskolazasiTerv-pre.php | 37 + .../private/naplo/nyomtatas/beiskolazasiTerv.php | 6 + .../naplo/nyomtatas/bizonyitvanyNyomtatas-pre.php | 88 + .../naplo/nyomtatas/bizonyitvanyNyomtatas.php | 0 .../private/naplo/nyomtatas/diakAdatlap-pre.php | 135 + .../policy/private/naplo/nyomtatas/diakAdatlap.php | 8 + .../naplo/nyomtatas/diakTankorJelentkezes-pre.php | 71 + .../naplo/nyomtatas/diakTankorJelentkezes.php | 12 + .../private/naplo/nyomtatas/ertesito-pre.php | 101 + .../policy/private/naplo/nyomtatas/ertesito.php | 0 .../private/naplo/nyomtatas/haladasinaplo-pre.php | 212 + .../private/naplo/nyomtatas/haladasinaplo.php | 6 + .../naplo/nyomtatas/helyettesitesinaplo-pre.php | 39 + .../naplo/nyomtatas/helyettesitesinaplo.php | 9 + .../private/naplo/nyomtatas/nyomtatas-pre.php | 6 + .../policy/private/naplo/nyomtatas/nyomtatas.php | 0 .../naplo/nyomtatas/osztalyozonaplo-pre.php | 157 + .../private/naplo/nyomtatas/osztalyozonaplo.php | 9 + .../naplo/nyomtatas/sniEvVegiJegyzokonyv-pre.php | 105 + .../naplo/nyomtatas/sniEvVegiJegyzokonyv.php | 1 + .../naplo/nyomtatas/sniHaviJegyzokonyv-pre.php | 93 + .../private/naplo/nyomtatas/sniHaviJegyzokonyv.php | 1 + .../naplo/nyomtatas/szovegesErtekeles-pre.php | 78 + .../private/naplo/nyomtatas/szovegesErtekeles.php | 5 + .../naplo/nyomtatas/tankorNaplohozRendeles-pre.php | 58 + .../naplo/nyomtatas/tankorNaplohozRendeles.php | 15 + .../private/naplo/nyomtatas/torzslap-pre.php | 165 + .../policy/private/naplo/nyomtatas/torzslap.php | 5 + .../naplo/nyomtatas/tovabbkepzesHatarozat-pre.php | 40 + .../naplo/nyomtatas/tovabbkepzesHatarozat.php | 6 + .../private/naplo/nyomtatas/zaradekok-pre.php | 49 + .../policy/private/naplo/nyomtatas/zaradekok.php | 0 .../policy/private/naplo/orarend/ascExport-pre.php | 110 + .../www/policy/private/naplo/orarend/ascExport.php | 11 + .../private/naplo/orarend/helyettesites-pre.php | 80 + .../policy/private/naplo/orarend/helyettesites.php | 9 + .../policy/private/naplo/orarend/orarend-pre.php | 281 + .../www/policy/private/naplo/orarend/orarend.php | 8 + .../private/naplo/orarend/orarendBetolto-pre.php | 80 + .../private/naplo/orarend/orarendBetolto.php | 14 + .../naplo/orarend/orarendEllenorzes-pre.php | 56 + .../private/naplo/orarend/orarendEllenorzes.php | 9 + .../private/naplo/orarend/orarendModosito-pre.php | 277 + .../private/naplo/orarend/orarendModosito.php | 8 + .../private/naplo/orarend/orarendTankor-pre.php | 56 + .../policy/private/naplo/orarend/orarendTankor.php | 8 + .../naplo/orarend/orarendTeremModositas-pre.php | 86 + .../naplo/orarend/orarendTeremModositas.php | 9 + .../private/naplo/orarend/orarendUtkozes-pre.php | 77 + .../private/naplo/orarend/orarendUtkozes.php | 47 + .../private/naplo/orarend/szabadTerem-pre.php | 31 + .../policy/private/naplo/orarend/szabadTerem.php | 9 + .../private/naplo/orarend/tanarOrarend-pre.php | 49 + .../policy/private/naplo/orarend/tanarOrarend.php | 9 + .../policy/private/naplo/orarend/termez-pre.php | 173 + .../www/policy/private/naplo/orarend/termez.php | 6 + .../private/naplo/osztalyozo/bizelomenetel-pre.php | 111 + .../private/naplo/osztalyozo/bizelomenetel.php | 11 + .../private/naplo/osztalyozo/bizonyitvany-pre.php | 166 + .../private/naplo/osztalyozo/bizonyitvany.php | 16 + .../policy/private/naplo/osztalyozo/diak-pre.php | 100 + .../www/policy/private/naplo/osztalyozo/diak.php | 12 + .../private/naplo/osztalyozo/dolgozat-pre.php | 168 + .../policy/private/naplo/osztalyozo/dolgozat.php | 16 + .../policy/private/naplo/osztalyozo/jegy-pre.php | 120 + .../www/policy/private/naplo/osztalyozo/jegy.php | 12 + .../private/naplo/osztalyozo/osztalyozo-pre.php | 6 + .../policy/private/naplo/osztalyozo/osztalyozo.php | 0 .../policy/private/naplo/osztalyozo/stat-pre.php | 307 + .../www/policy/private/naplo/osztalyozo/stat.php | 15 + .../naplo/osztalyozo/szempontRendszer-pre.php | 51 + .../private/naplo/osztalyozo/szempontRendszer.php | 16 + .../naplo/osztalyozo/szovegesErtekeles-pre.php | 258 + .../private/naplo/osztalyozo/szovegesErtekeles.php | 15 + .../policy/private/naplo/osztalyozo/tankor-pre.php | 332 + .../www/policy/private/naplo/osztalyozo/tankor.php | 17 + .../private/naplo/osztalyozo/targySorrend-pre.php | 47 + .../private/naplo/osztalyozo/targySorrend.php | 8 + .../policy/private/naplo/osztalyozo/vizsga-pre.php | 91 + .../www/policy/private/naplo/osztalyozo/vizsga.php | 11 + .../naplo/osztalyozo/vizsgaJelentkezes-pre.php | 37 + .../private/naplo/osztalyozo/vizsgaJelentkezes.php | 9 + .../private/naplo/osztalyozo/zaroJegyCheck-pre.php | 82 + .../private/naplo/osztalyozo/zaroJegyCheck.php | 4 + .../policy/private/naplo/sni/diakAllapot-pre.php | 127 + .../www/policy/private/naplo/sni/diakAllapot.php | 8 + .../private/naplo/sni/fejlesztesiTerv-pre.php | 110 + .../policy/private/naplo/sni/fejlesztesiTerv.php | 9 + .../www/policy/private/naplo/sni/sni-pre.php | 5 + mayor-orig/www/policy/private/naplo/sni/sni.php | 0 .../naplo/sni/tantargyiFeljegyzesek-pre.php | 113 + .../private/naplo/sni/tantargyiFeljegyzesek.php | 10 + .../private/naplo/stat/lemorzsolodas-pre.php | 38 + .../policy/private/naplo/stat/lemorzsolodas.php | 8 + .../www/policy/private/naplo/stat/letszam-pre.php | 88 + .../www/policy/private/naplo/stat/letszam.php | 8 + .../private/naplo/stat/tantargyFelosztas-pre.php | 127 + .../private/naplo/stat/tantargyFelosztas.php | 10 + .../www/policy/private/naplo/szulinap-pre.php | 15 + mayor-orig/www/policy/private/naplo/szulinap.php | 44 + .../policy/private/naplo/tanev/checkStatus-pre.php | 7 + .../www/policy/private/naplo/tanev/checkStatus.php | 6 + .../policy/private/naplo/tanev/diakTanarai-pre.php | 54 + .../www/policy/private/naplo/tanev/diakTanarai.php | 11 + .../policy/private/naplo/tanev/fogadoOra-pre.php | 142 + .../www/policy/private/naplo/tanev/fogadoOra.php | 26 + .../policy/private/naplo/tanev/munkaterv-pre.php | 102 + .../www/policy/private/naplo/tanev/munkaterv.php | 26 + .../www/policy/private/naplo/tanev/tanev-pre.php | 5 + .../www/policy/private/naplo/tanev/tanev.php | 0 .../policy/private/naplo/tanev/tankorBlokk-pre.php | 114 + .../www/policy/private/naplo/tanev/tankorBlokk.php | 14 + .../private/naplo/tanev/tankorCsoport-pre.php | 132 + .../policy/private/naplo/tanev/tankorCsoport.php | 11 + .../policy/private/naplo/tanev/targyBontas-pre.php | 175 + .../www/policy/private/naplo/tanev/targyBontas.php | 19 + .../private/naplo/tanev/targyOraszam-pre.php | 10 + .../policy/private/naplo/tanev/targyOraszam.php | 7 + .../naplo/tanev/vegzosOrarendLezaras-pre.php | 72 + .../private/naplo/tanev/vegzosOrarendLezaras.php | 9 + .../naplo/tanev/vegzosTankorLezaras-pre.php | 77 + .../private/naplo/tanev/vegzosTankorLezaras.php | 9 + .../policy/private/naplo/tanmenet/tanmenet-pre.php | 5 + .../www/policy/private/naplo/tanmenet/tanmenet.php | 0 .../private/naplo/tanmenet/tanmenetInfo-pre.php | 35 + .../policy/private/naplo/tanmenet/tanmenetInfo.php | 15 + .../naplo/tanmenet/tanmenetJovahagyas-pre.php | 88 + .../private/naplo/tanmenet/tanmenetJovahagyas.php | 9 + .../private/naplo/tanmenet/tanmenetLeadas-pre.php | 51 + .../private/naplo/tanmenet/tanmenetLeadas.php | 9 + .../naplo/tanmenet/tanmenetModositas-pre.php | 83 + .../private/naplo/tanmenet/tanmenetModositas.php | 9 + .../private/naplo/tanmenet/tanmenetTankor-pre.php | 95 + .../private/naplo/tanmenet/tanmenetTankor.php | 11 + .../private/naplo/tanmenet/ujTanmenet-pre.php | 72 + .../policy/private/naplo/tanmenet/ujTanmenet.php | 8 + mayor-orig/www/policy/private/naplo/tools/ajax.php | 7 + .../www/policy/private/naplo/tools/ajaxExample.php | 29 + .../private/naplo/tools/dolgozatAdat-pre.php | 19 + .../policy/private/naplo/tools/getDiakAdat-pre.php | 61 + .../policy/private/naplo/tools/getJegyAdat-pre.php | 36 + .../policy/private/naplo/tools/getOraAdat-pre.php | 79 + .../private/naplo/tools/getOsztalyAdat-pre.php | 39 + .../private/naplo/tools/getSzuloAdat-pre.php | 27 + .../private/naplo/tools/getTanarAdat-pre.php | 56 + .../private/naplo/tools/getTankorAdat-pre.php | 38 + .../private/naplo/tools/getZaroJegyAdat-pre.php | 41 + .../private/naplo/tools/intezmenyNev-pre.php | 10 + .../policy/private/naplo/tools/intezmenyNev.php | 8 + .../policy/private/naplo/tools/jegyzetAdat-pre.php | 165 + .../www/policy/private/naplo/tools/kereso-pre.php | 25 + .../www/policy/private/naplo/tools/napAdat-pre.php | 23 + mayor-orig/www/policy/private/naplo/tools/oid.php | 1 + .../www/policy/private/naplo/tools/oraAdat-pre.php | 2 + .../www/policy/private/naplo/tools/tankor-pre.php | 39 + .../policy/private/naplo/tools/tankorLista-pre.php | 66 + .../policy/private/naplo/tools/tankorMod-pre.php | 40 + .../policy/private/naplo/tools/ujTankor-pre.php | 114 + .../www/policy/private/naplo/uzeno/postas-pre.php | 89 + .../www/policy/private/naplo/uzeno/postas.php | 5 + .../www/policy/private/naplo/uzeno/uzeno-pre.php | 187 + .../www/policy/private/naplo/uzeno/uzeno.php | 12 + .../policy/private/password/changePassword-pre.php | 60 + .../www/policy/private/password/changePassword.php | 9 + mayor-orig/www/policy/private/portal/start.php | 0 .../www/policy/private/session/accountInfo-pre.php | 51 + .../www/policy/private/session/accountInfo.php | 15 + .../private/session/admin/knownNodes-pre.php | 39 + .../policy/private/session/admin/knownNodes.php | 10 + .../private/session/admin/registration-pre.php | 123 + .../policy/private/session/admin/registration.php | 16 + .../policy/private/session/createAccount-pre.php | 110 + .../www/policy/private/session/createAccount.php | 12 + .../www/policy/private/session/createGroup-pre.php | 49 + .../www/policy/private/session/createGroup.php | 12 + .../www/policy/private/session/download-pre.php | 66 + mayor-orig/www/policy/private/session/download.php | 9 + .../policy/private/session/facebookConnect-pre.php | 91 + .../www/policy/private/session/facebookConnect.php | 7 + .../www/policy/private/session/googleapi-pre.php | 100 + .../www/policy/private/session/googleapi.php | 28 + .../www/policy/private/session/groupInfo-pre.php | 43 + .../www/policy/private/session/groupInfo.php | 12 + .../private/session/search/searchAccount-pre.php | 28 + .../private/session/search/searchAccount.php | 16 + .../private/session/search/searchGroup-pre.php | 25 + .../policy/private/session/search/searchGroup.php | 16 + .../www/policy/private/session/session-pre.php | 5 + mayor-orig/www/policy/private/session/session.php | 0 .../policy/private/session/sessionAdmin-pre.php | 24 + .../www/policy/private/session/sessionAdmin.php | 9 + .../www/policy/public/auth/forgotten-pre.php | 92 + mayor-orig/www/policy/public/auth/forgotten.php | 16 + mayor-orig/www/policy/public/auth/login-pre.php | 86 + mayor-orig/www/policy/public/auth/login.php | 17 + mayor-orig/www/policy/public/naplo/rpc/rpc-pre.php | 48 + mayor-orig/www/policy/public/naplo/rpc/rpc.php | 7 + .../public/password/changeMyPassword-pre.php | 69 + .../policy/public/password/changeMyPassword.php | 9 + .../policy/public/password/resetPassword-pre.php | 68 + .../www/policy/public/password/resetPassword.php | 9 + .../www/policy/public/portal/rpc/rpc-pre.php | 104 + mayor-orig/www/policy/public/portal/start.php | 0 mayor-orig/www/policy/public/rpc/naplo/rpc-pre.php | 70 + mayor-orig/www/policy/public/rpc/rpc-pre.php | 43 + .../www/policy/public/session/logout-pre.php | 28 + mayor-orig/www/policy/public/session/set-pre.php | 10 + mayor-orig/www/skin/ajax/base/html/alert.phtml | 25 + mayor-orig/www/skin/ajax/base/html/base.phtml | 101 + .../www/skin/ajax/module-naplo/css/naplo.css | 4 + .../skin/ajax/module-naplo/css/orarend/orarend.css | 68 + .../ajax/module-naplo/html/admin/tanevek.phtml | 9 + .../www/skin/ajax/module-naplo/html/base.phtml | 6 + .../ajax/module-naplo/html/bejegyzesek/info.phtml | 11 + .../ajax/module-naplo/html/haladasi/haladasi.phtml | 162 + .../ajax/module-naplo/html/hianyzas/info.phtml | 18 + .../module-naplo/html/hibabejelento/admin.phtml | 120 + .../ajax/module-naplo/html/orarend/orarend.phtml | 148 + mayor-orig/www/skin/blue/base/color_schemes.php | 93 + mayor-orig/www/skin/blue/base/css/base.css | 209 + mayor-orig/www/skin/blue/base/css/base.php | 212 + mayor-orig/www/skin/blue/base/html/base.phtml | 401 + mayor-orig/www/skin/blue/base/img/favicon.ico | Bin 0 -> 1406 bytes .../www/skin/blue/base/img/mayor_small_ssl.png | Bin 0 -> 6178 bytes .../skin/blue/base/img/mayor_small_ssl.png.orig | Bin 0 -> 8648 bytes mayor-orig/www/skin/blue/module-auth/css/login.css | 46 + mayor-orig/www/skin/classic/base/css/base.css | 752 + mayor-orig/www/skin/classic/base/html/alert.phtml | 85 + mayor-orig/www/skin/classic/base/html/base.phtml | 618 + mayor-orig/www/skin/classic/base/img/ajaxLoad.gif | Bin 0 -> 847 bytes mayor-orig/www/skin/classic/base/img/alert.png | Bin 0 -> 3425 bytes mayor-orig/www/skin/classic/base/img/favicon.ico | Bin 0 -> 318 bytes .../www/skin/classic/base/img/flags/de_DE.gif | Bin 0 -> 124 bytes .../www/skin/classic/base/img/flags/en_US.gif | Bin 0 -> 170 bytes .../www/skin/classic/base/img/flags/hu_HU.gif | Bin 0 -> 106 bytes .../www/skin/classic/base/img/flags/jp_JP.gif | Bin 0 -> 573 bytes mayor-orig/www/skin/classic/base/img/gradient.jpg | Bin 0 -> 1419 bytes mayor-orig/www/skin/classic/base/img/gradient.png | Bin 0 -> 515 bytes .../skin/classic/base/img/mayor_small_ssl-flip.png | Bin 0 -> 4536 bytes .../classic/base/img/mayor_small_ssl-marc15.png | Bin 0 -> 5324 bytes .../classic/base/img/mayor_small_ssl-santa.png | Bin 0 -> 4765 bytes .../www/skin/classic/base/img/mayor_small_ssl.gif | Bin 0 -> 1703 bytes .../www/skin/classic/base/img/mayor_small_ssl.jpg | Bin 0 -> 1084 bytes .../www/skin/classic/base/img/mayor_small_ssl.png | Bin 0 -> 6178 bytes .../www/skin/classic/base/img/policy/parent.gif | Bin 0 -> 977 bytes .../www/skin/classic/base/img/policy/parent100.gif | Bin 0 -> 4235 bytes .../www/skin/classic/base/img/policy/parent100.png | Bin 0 -> 4182 bytes .../www/skin/classic/base/img/policy/private.gif | Bin 0 -> 923 bytes .../skin/classic/base/img/policy/private100.gif | Bin 0 -> 1807 bytes .../skin/classic/base/img/policy/private100.png | Bin 0 -> 13017 bytes .../www/skin/classic/base/img/policy/public.gif | Bin 0 -> 269 bytes .../www/skin/classic/base/img/policy/public100.gif | Bin 0 -> 6321 bytes .../www/skin/classic/base/img/policy/public100.png | Bin 0 -> 6305 bytes .../classic/base/javascript/base.jquery.min.js | 977 + .../classic/base/javascript/jquery-1.8.3.min.js | 2 + .../www/skin/classic/base/javascript/jquery.min.js | 5 + .../www/skin/classic/base/javascript/noiframe.js | 1 + .../www/skin/classic/module-auth/css/forgotten.css | 66 + .../www/skin/classic/module-auth/css/login.css | 108 + .../skin/classic/module-auth/html/forgotten.phtml | 103 + .../www/skin/classic/module-auth/html/login.phtml | 77 + .../www/skin/classic/module-auth/img/login.gif | Bin 0 -> 1807 bytes .../module-auth/javascript/forgotten.jquery.min.js | 19 + .../module-auth/javascript/login.jquery.min.js | 24 + .../classic/module-naplo/css/admin/azonositok.css | 10 + .../classic/module-naplo/css/admin/csoportok.css | 9 + .../skin/classic/module-naplo/css/admin/import.css | 8 + .../classic/module-naplo/css/admin/intezmenyek.css | 26 + .../module-naplo/css/admin/rpcPrivilege.css | 12 + .../module-naplo/css/admin/szemeszterek.css | 6 + .../module-naplo/css/admin/szuloiAzonositok.css | 12 + .../classic/module-naplo/css/admin/tanevek.css | 17 + .../classic/module-naplo/css/admin/tankorok.css | 8 + .../css/bejegyzesek/bejegyzesTipus.css | 19 + .../module-naplo/css/bejegyzesek/bejegyzesek.css | 34 + .../module-naplo/css/bejegyzesek/ujBejegyzes.css | 10 + .../skin/classic/module-naplo/css/diakValaszto.css | 4 + .../module-naplo/css/ertekeles/ertekeles.css | 41 + .../module-naplo/css/ertekeles/kerdoivBetoltes.css | 11 + .../module-naplo/css/esemeny/esemenyDiak.css | 34 + .../module-naplo/css/esemeny/jelentkezes.css | 27 + .../classic/module-naplo/css/esemeny/ujEsemeny.css | 43 + .../module-naplo/css/export/bizonyitvany.css | 19 + .../classic/module-naplo/css/export/diakExport.css | 19 + .../skin/classic/module-naplo/css/export/kreta.css | 23 + .../skin/classic/module-naplo/css/export/sulix.css | 9 + .../module-naplo/css/export/tantargyFelosztas.css | 20 + .../module-naplo/css/haladasi/elmaradas.css | 12 + .../module-naplo/css/haladasi/elszamolas.css | 32 + .../classic/module-naplo/css/haladasi/haladasi.css | 297 + .../module-naplo/css/haladasi/helyettesites.css | 162 + .../classic/module-naplo/css/haladasi/hetes.css | 8 + .../module-naplo/css/haladasi/minuszora.css | 28 + .../module-naplo/css/haladasi/oralatogatas.css | 12 + .../module-naplo/css/haladasi/osszevonas.css | 27 + .../classic/module-naplo/css/haladasi/pluszora.css | 30 + .../module-naplo/css/haladasi/specialis.css | 36 + .../classic/module-naplo/css/haladasi/stat.css | 12 + .../module-naplo/css/haladasi/teremModositas.css | 17 + .../classic/module-naplo/css/hianyzas/diak.css | 128 + .../module-naplo/css/hianyzas/diakIgazolatlan.css | 12 + .../module-naplo/css/hianyzas/diakLista.css | 50 + .../classic/module-naplo/css/hianyzas/info.css | 19 + .../skin/classic/module-naplo/css/hianyzas/nap.css | 125 + .../classic/module-naplo/css/hianyzas/oktstat.css | 22 + .../skin/classic/module-naplo/css/hianyzas/ora.css | 125 + .../classic/module-naplo/css/hianyzas/osztaly.css | 170 + .../module-naplo/css/hianyzas/osztalyNap.css | 43 + .../module-naplo/css/hibabejelento/admin.css | 89 + .../css/hibabejelento/hibabejelento.css | 26 + .../classic/module-naplo/css/hirnok/cronFutar.css | 9 + .../classic/module-naplo/css/hirnok/hirnok.css | 108 + .../classic/module-naplo/css/intezmeny/diak.css | 148 + .../module-naplo/css/intezmeny/diakExport.css | 46 + .../module-naplo/css/intezmeny/diakFelmentes.css | 33 + .../module-naplo/css/intezmeny/diakStatusz.css | 14 + .../module-naplo/css/intezmeny/diakSzulo.css | 49 + .../module-naplo/css/intezmeny/diakTankor.css | 70 + .../css/intezmeny/diakTankorJelentkezes.css | 126 + .../module-naplo/css/intezmeny/felmentes.css | 36 + .../module-naplo/css/intezmeny/kepesitesek.css | 14 + .../classic/module-naplo/css/intezmeny/kepzes.css | 25 + .../module-naplo/css/intezmeny/kepzesOraterv.css | 100 + .../module-naplo/css/intezmeny/kepzesTankor.css | 13 + .../module-naplo/css/intezmeny/munkakozosseg.css | 47 + .../classic/module-naplo/css/intezmeny/osztaly.css | 57 + .../classic/module-naplo/css/intezmeny/tanar.css | 60 + .../classic/module-naplo/css/intezmeny/tankor.css | 83 + .../module-naplo/css/intezmeny/tankorDiak.css | 128 + .../module-naplo/css/intezmeny/tankorLetszam.css | 7 + .../css/intezmeny/tankorSzemeszter.css | 24 + .../module-naplo/css/intezmeny/tankorTanar.css | 39 + .../css/intezmeny/tankorTanarHozzarendeles.css | 94 + .../classic/module-naplo/css/intezmeny/terem.css | 15 + .../module-naplo/css/intezmeny/tovabbkepzes.css | 89 + .../classic/module-naplo/css/intezmeny/valtas.css | 2 + .../classic/module-naplo/css/intezmeny/zaradek.css | 16 + .../module-naplo/css/koszi/esemenyAdmin.css | 39 + .../skin/classic/module-naplo/css/koszi/koszi.css | 39 + .../classic/module-naplo/css/koszi/kosziAdmin.css | 47 + .../www/skin/classic/module-naplo/css/naplo.css | 317 + .../css/nyomtatas/diakTankorJelentkezes.css | 4 + .../css/nyomtatas/helyettesitesinaplo.css | 7 + .../module-naplo/css/nyomtatas/osztalyozonaplo.css | 2 + .../css/nyomtatas/tankorNaplohozRendeles.css | 9 + .../classic/module-naplo/css/orarend/ascExport.css | 18 + .../module-naplo/css/orarend/helyettesites.css | 44 + .../classic/module-naplo/css/orarend/orarend.css | 282 + .../module-naplo/css/orarend/orarendBetolto.css | 6 + .../module-naplo/css/orarend/orarendEllenorzes.css | 3 + .../module-naplo/css/orarend/orarendModosito.css | 156 + .../module-naplo/css/orarend/orarendTankor.css | 29 + .../css/orarend/orarendTeremModositas.css | 8 + .../module-naplo/css/orarend/szabadTerem.css | 103 + .../module-naplo/css/orarend/tanarOrarend.css | 2 + .../classic/module-naplo/css/orarend/termez.css | 13 + .../module-naplo/css/osztalyozo/bizelomenetel.css | 71 + .../module-naplo/css/osztalyozo/bizonyitvany.css | 115 + .../classic/module-naplo/css/osztalyozo/diak.css | 58 + .../module-naplo/css/osztalyozo/dolgozat.css | 172 + .../classic/module-naplo/css/osztalyozo/jegy.css | 39 + .../classic/module-naplo/css/osztalyozo/stat.css | 339 + .../css/osztalyozo/szempontRendszer.css | 10 + .../css/osztalyozo/szovegesErtekeles.css | 10 + .../classic/module-naplo/css/osztalyozo/tankor.css | 152 + .../module-naplo/css/osztalyozo/targySorrend.css | 10 + .../classic/module-naplo/css/osztalyozo/vizsga.css | 30 + .../css/osztalyozo/vizsgaJelentkezes.css | 2 + .../module-naplo/css/osztalyozo/zaroJegyCheck.css | 0 .../classic/module-naplo/css/sni/diakAllapot.css | 27 + .../module-naplo/css/sni/fejlesztesiTerv.css | 21 + .../module-naplo/css/sni/tantargyiFeljegyzesek.css | 15 + .../module-naplo/css/stat/lemorzsolodas.css | 3 + .../skin/classic/module-naplo/css/stat/letszam.css | 11 + .../module-naplo/css/stat/tantargyFelosztas.css | 36 + .../classic/module-naplo/css/tanev/diakTanarai.css | 9 + .../classic/module-naplo/css/tanev/fogadoOra.css | 46 + .../classic/module-naplo/css/tanev/munkaterv.css | 149 + .../classic/module-naplo/css/tanev/tankorBlokk.css | 11 + .../module-naplo/css/tanev/tankorCsoport.css | 16 + .../classic/module-naplo/css/tanev/targyBontas.css | 121 + .../module-naplo/css/tanev/targyOraszam.css | 7 + .../css/tanev/vegzosOrarendLezaras.css | 5 + .../module-naplo/css/tanev/vegzosTankorLezaras.css | 5 + .../module-naplo/css/tanmenet/tanmenetInfo.css | 11 + .../css/tanmenet/tanmenetJovahagyas.css | 23 + .../module-naplo/css/tanmenet/tanmenetLeadas.css | 11 + .../css/tanmenet/tanmenetModositas.css | 54 + .../module-naplo/css/tanmenet/tanmenetTankor.css | 76 + .../module-naplo/css/tanmenet/ujTanmenet.css | 19 + .../skin/classic/module-naplo/css/uzeno/uzeno.css | 139 + .../module-naplo/html/admin/azonositok.phtml | 95 + .../module-naplo/html/admin/csoportok.phtml | 87 + .../module-naplo/html/admin/fillhaladasi.phtml | 12 + .../classic/module-naplo/html/admin/import.phtml | 5 + .../module-naplo/html/admin/intezmenyek.phtml | 142 + .../module-naplo/html/admin/rpcPrivilege.phtml | 72 + .../module-naplo/html/admin/szemeszterek.phtml | 61 + .../module-naplo/html/admin/szuloiAzonositok.phtml | 113 + .../classic/module-naplo/html/admin/tanevek.phtml | 165 + .../classic/module-naplo/html/admin/tankorok.phtml | 5 + .../www/skin/classic/module-naplo/html/base.phtml | 1230 + .../html/bejegyzesek/bejegyzesTipus.phtml | 52 + .../html/bejegyzesek/bejegyzesek.phtml | 97 + .../module-naplo/html/bejegyzesek/info.phtml | 9 + .../html/bejegyzesek/ujBejegyzes.phtml | 47 + .../classic/module-naplo/html/diakValaszto.phtml | 22 + .../module-naplo/html/ertekeles/ertekeles.phtml | 77 + .../html/ertekeles/kerdoivBetoltes.phtml | 90 + .../module-naplo/html/esemeny/esemenyDiak.phtml | 102 + .../module-naplo/html/esemeny/jelentkezes.phtml | 87 + .../module-naplo/html/esemeny/ujEsemeny.phtml | 171 + .../module-naplo/html/export/bizonyitvany.phtml | 47 + .../module-naplo/html/export/diakExport.phtml | 153 + .../classic/module-naplo/html/export/kreta.phtml | 138 + .../classic/module-naplo/html/export/sulix.phtml | 43 + .../html/export/tanarOsztalyOraszam.phtml | 46 + .../html/export/tantargyFelosztas.phtml | 41 + .../module-naplo/html/haladasi/elmaradas.phtml | 63 + .../module-naplo/html/haladasi/elszamolas.phtml | 284 + .../module-naplo/html/haladasi/haladasi.phtml | 697 + .../module-naplo/html/haladasi/helyettesites.phtml | 696 + .../classic/module-naplo/html/haladasi/hetes.phtml | 37 + .../module-naplo/html/haladasi/minuszora.phtml | 55 + .../classic/module-naplo/html/haladasi/ora.phtml | 51 + .../module-naplo/html/haladasi/oralatogatas.phtml | 56 + .../module-naplo/html/haladasi/osszevonas.phtml | 51 + .../module-naplo/html/haladasi/pluszora.phtml | 95 + .../module-naplo/html/haladasi/specialis.phtml | 181 + .../classic/module-naplo/html/haladasi/stat.phtml | 76 + .../module-naplo/html/haladasi/tankor.phtml | 54 + .../html/haladasi/teremModositas.phtml | 49 + .../classic/module-naplo/html/hianyzas/diak.phtml | 226 + .../html/hianyzas/diakIgazolatlan.phtml | 42 + .../module-naplo/html/hianyzas/diakLista.phtml | 50 + .../classic/module-naplo/html/hianyzas/info.phtml | 96 + .../classic/module-naplo/html/hianyzas/nap.phtml | 252 + .../module-naplo/html/hianyzas/oktstat.phtml | 133 + .../classic/module-naplo/html/hianyzas/ora.phtml | 279 + .../module-naplo/html/hianyzas/osztaly.phtml | 613 + .../module-naplo/html/hianyzas/osztalyNap.phtml | 112 + .../module-naplo/html/hibabejelento/admin.phtml | 150 + .../html/hibabejelento/hibabejelento.phtml | 32 + .../module-naplo/html/hirnok/cronFutar.phtml | 265 + .../classic/module-naplo/html/hirnok/hirnok.phtml | 319 + .../html/hirnok/hirnokFeliratkozas.phtml | 68 + .../classic/module-naplo/html/intezmeny/diak.phtml | 942 + .../module-naplo/html/intezmeny/diakExport.phtml | 93 + .../html/intezmeny/diakFelmentes.phtml | 225 + .../module-naplo/html/intezmeny/diakStatusz.phtml | 97 + .../module-naplo/html/intezmeny/diakSzulo.phtml | 300 + .../module-naplo/html/intezmeny/diakTankor.phtml | 84 + .../html/intezmeny/diakTankorJelentkezes.phtml | 167 + .../module-naplo/html/intezmeny/felmentes.phtml | 261 + .../module-naplo/html/intezmeny/kepesitesek.phtml | 121 + .../module-naplo/html/intezmeny/kepzes.phtml | 143 + .../html/intezmeny/kepzesOraterv.phtml | 271 + .../html/intezmeny/munkakozosseg.phtml | 316 + .../module-naplo/html/intezmeny/osztaly.phtml | 424 + .../module-naplo/html/intezmeny/tanar.phtml | 411 + .../module-naplo/html/intezmeny/tankor.phtml | 370 + .../module-naplo/html/intezmeny/tankorDiak.phtml | 310 + .../html/intezmeny/tankorLetszam.phtml | 83 + .../html/intezmeny/tankorSzemeszter.phtml | 101 + .../module-naplo/html/intezmeny/tankorTanar.phtml | 103 + .../html/intezmeny/tankorTanarHozzarendeles.phtml | 147 + .../module-naplo/html/intezmeny/terem.phtml | 93 + .../module-naplo/html/intezmeny/tovabbkepzes.phtml | 479 + .../module-naplo/html/intezmeny/valtas.phtml | 85 + .../module-naplo/html/intezmeny/verseny.phtml | 41 + .../module-naplo/html/intezmeny/zaradek.phtml | 78 + .../module-naplo/html/koszi/esemenyAdmin.phtml | 246 + .../classic/module-naplo/html/koszi/koszi.phtml | 277 + .../module-naplo/html/koszi/kosziAdmin.phtml | 331 + .../www/skin/classic/module-naplo/html/naplo.phtml | 33 + .../html/nyomtatas/diakTankorJelentkezes.phtml | 31 + .../html/nyomtatas/helyettesitesinaplo.phtml | 17 + .../html/nyomtatas/osztalyozonaplo.phtml | 9 + .../html/nyomtatas/tankorNaplohozRendeles.phtml | 127 + .../module-naplo/html/orarend/ascExport.phtml | 142 + .../module-naplo/html/orarend/helyettesites.phtml | 90 + .../module-naplo/html/orarend/orarend.phtml | 411 + .../module-naplo/html/orarend/orarendBetolto.phtml | 60 + .../html/orarend/orarendEllenorzes.phtml | 88 + .../module-naplo/html/orarend/orarendLoad.phtml | 26 + .../html/orarend/orarendModosito.phtml | 309 + .../module-naplo/html/orarend/orarendTankor.phtml | 88 + .../html/orarend/orarendTeremModositas.phtml | 107 + .../module-naplo/html/orarend/szabadTerem.phtml | 63 + .../module-naplo/html/orarend/tanarOrarend.phtml | 38 + .../classic/module-naplo/html/orarend/termez.phtml | 86 + .../html/osztalyozo/bizelomenetel.phtml | 139 + .../html/osztalyozo/bizonyitvany.phtml | 426 + .../module-naplo/html/osztalyozo/diak.phtml | 235 + .../module-naplo/html/osztalyozo/dolgozat.phtml | 304 + .../module-naplo/html/osztalyozo/jegy.phtml | 164 + .../module-naplo/html/osztalyozo/stat.phtml | 659 + .../html/osztalyozo/szempontRendszer.phtml | 75 + .../html/osztalyozo/szovegesErtekeles.phtml | 70 + .../module-naplo/html/osztalyozo/tankor.phtml | 550 + .../html/osztalyozo/targySorrend.phtml | 45 + .../module-naplo/html/osztalyozo/vizsga.phtml | 144 + .../html/osztalyozo/vizsgaJelentkezes.phtml | 16 + .../html/osztalyozo/zaroJegyCheck.phtml | 50 + .../classic/module-naplo/html/share/email.phtml | 42 + .../classic/module-naplo/html/share/face.phtml | 71 + .../classic/module-naplo/html/share/file.phtml | 92 + .../classic/module-naplo/html/share/hianyzas.phtml | 71 + .../classic/module-naplo/html/share/jegy.phtml | 92 + .../classic/module-naplo/html/share/orarend.phtml | 48 + .../module-naplo/html/sni/diakAllapot.phtml | 165 + .../module-naplo/html/sni/fejlesztesiTerv.phtml | 94 + .../html/sni/tantargyiFeljegyzesek.phtml | 110 + .../module-naplo/html/stat/lemorzsolodas.phtml | 59 + .../classic/module-naplo/html/stat/letszam.phtml | 54 + .../module-naplo/html/stat/tantargyFelosztas.phtml | 414 + .../module-naplo/html/tanev/checkStatus.phtml | 34 + .../module-naplo/html/tanev/diakTanarai.phtml | 62 + .../module-naplo/html/tanev/fogadoOra.phtml | 317 + .../module-naplo/html/tanev/munkaterv.phtml | 370 + .../module-naplo/html/tanev/tankorBlokk.phtml | 200 + .../module-naplo/html/tanev/tankorCsoport.phtml | 122 + .../module-naplo/html/tanev/targyBontas.phtml | 296 + .../module-naplo/html/tanev/targyOraszam.phtml | 25 + .../html/tanev/vegzosOrarendLezaras.phtml | 32 + .../html/tanev/vegzosTankorLezaras.phtml | 36 + .../module-naplo/html/tanmenet/tanmenetInfo.phtml | 67 + .../html/tanmenet/tanmenetJovahagyas.phtml | 61 + .../html/tanmenet/tanmenetLeadas.phtml | 38 + .../html/tanmenet/tanmenetModositas.phtml | 136 + .../html/tanmenet/tanmenetTankor.phtml | 65 + .../module-naplo/html/tanmenet/ujTanmenet.phtml | 31 + .../classic/module-naplo/html/uzeno/postas.phtml | 81 + .../classic/module-naplo/html/uzeno/uzeno.phtml | 434 + .../classic/module-naplo/img/anim/garfield.gif | Bin 0 -> 11847 bytes .../skin/classic/module-naplo/img/anim/kutya.gif | Bin 0 -> 9506 bytes .../skin/classic/module-naplo/img/anim/majom.gif | Bin 0 -> 16468 bytes .../skin/classic/module-naplo/img/anim/nyuszi.gif | Bin 0 -> 11799 bytes .../skin/classic/module-naplo/img/anim/pingvin.gif | Bin 0 -> 38954 bytes .../skin/classic/module-naplo/img/anim/smiley.gif | Bin 0 -> 4261 bytes .../classic/module-naplo/img/anim/tux-hard.gif | Bin 0 -> 33427 bytes .../www/skin/classic/module-naplo/img/cr.png | Bin 0 -> 272 bytes .../www/skin/classic/module-naplo/img/fel.gif | Bin 0 -> 294 bytes .../classic/module-naplo/img/flipper/adatok.gif | Bin 0 -> 850 bytes .../classic/module-naplo/img/flipper/nevsor.gif | Bin 0 -> 977 bytes .../module-naplo/img/helyettesites/csere.gif | Bin 0 -> 143 bytes .../classic/module-naplo/img/helyettesites/kez.gif | Bin 0 -> 126 bytes .../module-naplo/img/helyettesites/mozgat.gif | Bin 0 -> 144 bytes .../classic/module-naplo/img/helyettesites/ora.gif | Bin 0 -> 573 bytes .../classic/module-naplo/img/hianyzas/change.png | Bin 0 -> 444 bytes .../classic/module-naplo/img/hianyzas/felkjel.gif | Bin 0 -> 59 bytes .../classic/module-naplo/img/hianyzas/green.gif | Bin 0 -> 308 bytes .../skin/classic/module-naplo/img/hianyzas/h.gif | Bin 0 -> 323 bytes .../skin/classic/module-naplo/img/hianyzas/i.gif | Bin 0 -> 206 bytes .../skin/classic/module-naplo/img/hianyzas/pin.gif | Bin 0 -> 883 bytes .../classic/module-naplo/img/hianyzas/red-pin.gif | Bin 0 -> 202 bytes .../skin/classic/module-naplo/img/hianyzas/red.gif | Bin 0 -> 203 bytes .../skin/classic/module-naplo/img/hianyzas/sum.gif | Bin 0 -> 149 bytes .../classic/module-naplo/img/hianyzas/ter-pin.gif | Bin 0 -> 912 bytes .../module-naplo/img/hianyzas/yellow-pin.gif | Bin 0 -> 998 bytes .../classic/module-naplo/img/hianyzas/yellow.gif | Bin 0 -> 296 bytes .../module-naplo/img/hibabejelento/buggie.gif | Bin 0 -> 718 bytes .../module-naplo/img/hibabejelento/buggie.svg | 51 + .../www/skin/classic/module-naplo/img/io/kreta.svg | 21 + .../www/skin/classic/module-naplo/img/le.gif | Bin 0 -> 296 bytes .../www/skin/classic/module-naplo/img/print.png | Bin 0 -> 423 bytes .../classic/module-naplo/img/tankorok/gold_box.gif | Bin 0 -> 68 bytes .../module-naplo/img/tankorok/gray-pixel.gif | Bin 0 -> 35 bytes .../classic/module-naplo/img/tanmenet/close.png | Bin 0 -> 2189 bytes .../classic/module-naplo/img/tanmenet/updown.png | Bin 0 -> 1551 bytes .../www/skin/classic/module-naplo/img/toggle.png | Bin 0 -> 601 bytes .../skin/classic/module-naplo/img/toolSubmit.gif | Bin 0 -> 127 bytes .../javascript/admin/regisztracio.jquery.min.js | 7 + .../module-naplo/javascript/admin/regisztracio.js | 7 + .../javascript/admin/szemeszterek.jquery.min.js | 43 + .../module-naplo/javascript/ertekeles/ertekeles.js | 56 + .../javascript/esemeny/esemenyDiak.jquery.min.js | 101 + .../javascript/esemeny/jelentkezes.jquery.min.js | 7 + .../javascript/esemeny/ujEsemeny.jquery.min.js | 89 + .../javascript/export/diakExport.jquery.min.js | 177 + .../module-naplo/javascript/export/diakExport.js | 141 + .../javascript/haladasi/elszamolas.jquery.min.js | 42 + .../javascript/haladasi/haladasi.jquery.min.js | 78 + .../haladasi/helyettesites.jquery.min.js | 27 + .../javascript/haladasi/pluszora.jquery.min.js | 42 + .../javascript/hianyzas/info.jquery.min.js | 11 + .../javascript/hianyzas/nap.jquery.min.js | 19 + .../module-naplo/javascript/hianyzas/nap.js | 13 + .../javascript/hianyzas/ora.jquery.min.js | 27 + .../module-naplo/javascript/hianyzas/ora.js | 13 + .../javascript/intezmeny/diak.jquery.min.js | 192 + .../intezmeny/diakFelmentes.jquery.min.js | 9 + .../javascript/intezmeny/diakStatusz.jquery.min.js | 31 + .../javascript/intezmeny/diakSzulo.jquery.min.js | 18 + .../intezmeny/diakTankorJelentkezes.jquery.min.js | 56 + .../javascript/intezmeny/kepesitesek.jquery.min.js | 64 + .../intezmeny/kepzesOraterv.jquery.min.js | 48 + .../javascript/intezmeny/osztaly.jquery.min.js | 57 + .../javascript/intezmeny/tanar.jquery.min.js | 41 + .../javascript/intezmeny/tankor.jquery.min.js | 8 + .../javascript/intezmeny/tankorDiak.jquery.min.js | 23 + .../tankorTanarHozzarendeles.jquery.min.js | 594 + .../intezmeny/tovabbkepzes.jquery.min.js | 210 + .../javascript/intezmeny/zaradek.jquery.min.js | 13 + .../module-naplo/javascript/naplo.jquery.min.js | 1234 + .../javascript/orarend/orarend.jquery.min.js | 81 + .../orarend/orarendModosito.jquery.min.js | 12 + .../javascript/orarend/orarendModosito.js | 80 + .../javascript/orarend/termez.jquery.min.js | 5 + .../javascript/osztalyozo/diak.jquery.min.js | 93 + .../javascript/osztalyozo/stat.jquery.min.js | 49 + .../javascript/osztalyozo/tankor.jquery.min.js | 132 + .../osztalyozo/targySorrend.jquery.min.js | 16 + .../javascript/osztalyozo/vizsga.jquery.min.js | 50 + .../stat/tantargyFelosztas.jquery.min.js | 15 + .../javascript/tanev/targyBontas.jquery.min.js | 823 + .../tanmenet/tanmenetJovahagyas.jquery.min.js | 18 + .../tanmenet/tanmenetModositas.jquery.min.js | 126 + .../tanmenet/tanmenetTankor.jquery.min.js | 93 + .../javascript/uzeno/postas.jquery.min.js | 63 + .../module-naplo/javascript/uzeno/postas.js | 54 + .../javascript/uzeno/uzeno.jquery.min.js | 23 + .../classic/module-naplo/javascript/uzeno/uzeno.js | 33 + .../skin/classic/module-password/css/password.css | 19 + .../module-password/html/changeMyPassword.phtml | 76 + .../module-password/html/changePassword.phtml | 89 + .../module-password/html/resetPassword.phtml | 79 + .../javascript/changeMyPassword.jquery.min.js | 27 + .../classic/module-session/css/accountInfo.css | 100 + .../module-session/css/admin/knownNodes.css | 14 + .../module-session/css/admin/registration.css | 54 + .../classic/module-session/css/createAccount.css | 24 + .../classic/module-session/css/createGroup.css | 13 + .../skin/classic/module-session/css/download.css | 9 + .../classic/module-session/css/facebookConnect.css | 25 + .../skin/classic/module-session/css/googleapi.css | 24 + .../skin/classic/module-session/css/groupInfo.css | 96 + .../module-session/css/search/searchAccount.css | 31 + .../module-session/css/search/searchGroup.css | 44 + .../classic/module-session/css/sessionAdmin.css | 8 + .../classic/module-session/html/accountInfo.phtml | 253 + .../module-session/html/admin/knownNodes.phtml | 70 + .../module-session/html/admin/registration.phtml | 270 + .../module-session/html/createAccount.phtml | 107 + .../classic/module-session/html/createGroup.phtml | 90 + .../classic/module-session/html/download.phtml | 32 + .../module-session/html/facebookConnect.phtml | 53 + .../classic/module-session/html/googleapi.phtml | 45 + .../classic/module-session/html/groupInfo.phtml | 5 + .../module-session/html/search/searchAccount.phtml | 126 + .../module-session/html/search/searchGroup.phtml | 103 + .../classic/module-session/html/sessionAdmin.phtml | 57 + .../skin/classic/module-session/img/download.gif | Bin 0 -> 1516 bytes .../javascript/createAccount.jquery.min.js | 13 + .../javascript/facebookConnect.jquery.min.js | 31 + .../javascript/googleapi.jquery.min.js | 30 + .../www/skin/classic/share/img/filetypes/aac.png | Bin 0 -> 1318 bytes .../www/skin/classic/share/img/filetypes/ai.png | Bin 0 -> 1063 bytes .../www/skin/classic/share/img/filetypes/aiff.png | Bin 0 -> 1221 bytes .../www/skin/classic/share/img/filetypes/avi.png | Bin 0 -> 1184 bytes .../www/skin/classic/share/img/filetypes/bmp.png | Bin 0 -> 1162 bytes .../www/skin/classic/share/img/filetypes/c.png | Bin 0 -> 592 bytes .../www/skin/classic/share/img/filetypes/css.png | Bin 0 -> 1198 bytes .../www/skin/classic/share/img/filetypes/dat.png | Bin 0 -> 782 bytes .../www/skin/classic/share/img/filetypes/dmg.png | Bin 0 -> 1152 bytes .../www/skin/classic/share/img/filetypes/doc.png | Bin 0 -> 1285 bytes .../www/skin/classic/share/img/filetypes/dotx.png | Bin 0 -> 1195 bytes .../www/skin/classic/share/img/filetypes/dwg.png | Bin 0 -> 1466 bytes .../www/skin/classic/share/img/filetypes/dxf.png | Bin 0 -> 1419 bytes .../www/skin/classic/share/img/filetypes/eps.png | Bin 0 -> 1167 bytes .../www/skin/classic/share/img/filetypes/exe.png | Bin 0 -> 1227 bytes .../www/skin/classic/share/img/filetypes/flv.png | Bin 0 -> 1208 bytes .../www/skin/classic/share/img/filetypes/gif.png | Bin 0 -> 1147 bytes .../www/skin/classic/share/img/filetypes/h.png | Bin 0 -> 550 bytes .../www/skin/classic/share/img/filetypes/hpp.png | Bin 0 -> 671 bytes .../www/skin/classic/share/img/filetypes/html.png | Bin 0 -> 1001 bytes .../www/skin/classic/share/img/filetypes/ics.png | Bin 0 -> 1360 bytes .../www/skin/classic/share/img/filetypes/iso.png | Bin 0 -> 1271 bytes .../www/skin/classic/share/img/filetypes/java.png | Bin 0 -> 1173 bytes .../www/skin/classic/share/img/filetypes/jpg.png | Bin 0 -> 1151 bytes .../www/skin/classic/share/img/filetypes/key.png | Bin 0 -> 1048 bytes .../www/skin/classic/share/img/filetypes/mid.png | Bin 0 -> 1214 bytes .../www/skin/classic/share/img/filetypes/mp3.png | Bin 0 -> 1291 bytes .../www/skin/classic/share/img/filetypes/mp4.png | Bin 0 -> 1249 bytes .../www/skin/classic/share/img/filetypes/mpg.png | Bin 0 -> 1254 bytes .../www/skin/classic/share/img/filetypes/odf.png | Bin 0 -> 924 bytes .../www/skin/classic/share/img/filetypes/odt.png | Bin 0 -> 1011 bytes .../www/skin/classic/share/img/filetypes/otp.png | Bin 0 -> 925 bytes .../www/skin/classic/share/img/filetypes/ots.png | Bin 0 -> 1034 bytes .../www/skin/classic/share/img/filetypes/ott.png | Bin 0 -> 1009 bytes .../www/skin/classic/share/img/filetypes/pdf.png | Bin 0 -> 1208 bytes .../www/skin/classic/share/img/filetypes/php.png | Bin 0 -> 1056 bytes .../www/skin/classic/share/img/filetypes/png.png | Bin 0 -> 1263 bytes .../www/skin/classic/share/img/filetypes/ppt.png | Bin 0 -> 942 bytes .../www/skin/classic/share/img/filetypes/psd.png | Bin 0 -> 1236 bytes .../www/skin/classic/share/img/filetypes/py.png | Bin 0 -> 995 bytes .../www/skin/classic/share/img/filetypes/qt.png | Bin 0 -> 1164 bytes .../www/skin/classic/share/img/filetypes/rar.png | Bin 0 -> 1161 bytes .../www/skin/classic/share/img/filetypes/rb.png | Bin 0 -> 1052 bytes .../www/skin/classic/share/img/filetypes/rtf.png | Bin 0 -> 755 bytes .../www/skin/classic/share/img/filetypes/sql.png | Bin 0 -> 1235 bytes .../www/skin/classic/share/img/filetypes/tga.png | Bin 0 -> 1192 bytes .../www/skin/classic/share/img/filetypes/tgz.png | Bin 0 -> 1128 bytes .../www/skin/classic/share/img/filetypes/tiff.png | Bin 0 -> 1107 bytes .../www/skin/classic/share/img/filetypes/txt.png | Bin 0 -> 747 bytes .../www/skin/classic/share/img/filetypes/wav.png | Bin 0 -> 1326 bytes .../www/skin/classic/share/img/filetypes/xls.png | Bin 0 -> 1185 bytes .../www/skin/classic/share/img/filetypes/xlsx.png | Bin 0 -> 1217 bytes .../www/skin/classic/share/img/filetypes/xml.png | Bin 0 -> 1165 bytes .../www/skin/classic/share/img/filetypes/yml.png | Bin 0 -> 758 bytes .../www/skin/classic/share/img/filetypes/zip.png | Bin 0 -> 1077 bytes .../javascript/calendar_date_select/MIT-LICENSE | 20 + .../share/javascript/calendar_date_select/README | 10 + .../calendar_date_select/blank_iframe.html | 2 + .../images/calendar_date_select/calendar.gif | Bin 0 -> 581 bytes .../calendar_date_select/calendar_date_select.js | 430 + .../calendar_date_select/format_american.js | 34 + .../javascripts/calendar_date_select/format_db.js | 27 + .../calendar_date_select/format_euro_24hr.js | 7 + .../calendar_date_select/format_finnish.js | 24 + .../calendar_date_select/format_hyphen_ampm.js | 36 + .../calendar_date_select/format_iso_date.js | 46 + .../calendar_date_select/format_italian.js | 24 + .../calendar_date_select/format_mayor.js | 42 + .../javascripts/calendar_date_select/locale/fi.js | 10 + .../javascripts/calendar_date_select/locale/hu.js | 10 + .../javascripts/calendar_date_select/locale/jp.js | 10 + .../javascripts/calendar_date_select/locale/pl.js | 10 + .../stylesheets/calendar_date_select/blue.css | 130 + .../stylesheets/calendar_date_select/default.css | 135 + .../stylesheets/calendar_date_select/plain.css | 128 + .../stylesheets/calendar_date_select/red.css | 135 + .../stylesheets/calendar_date_select/silver.css | 133 + .../javascript/jquery-dataTables/ColReorder.min.js | 33 + .../jquery-dataTables/css/ColReorder.css | 21 + .../jquery-dataTables/css/jquery.dataTables.css | 221 + .../jquery-dataTables/images/back_disabled.png | Bin 0 -> 1361 bytes .../jquery-dataTables/images/back_enabled.png | Bin 0 -> 1379 bytes .../images/back_enabled_hover.png | Bin 0 -> 1375 bytes .../jquery-dataTables/images/forward_disabled.png | Bin 0 -> 1363 bytes .../jquery-dataTables/images/forward_enabled.png | Bin 0 -> 1380 bytes .../images/forward_enabled_hover.png | Bin 0 -> 1379 bytes .../javascript/jquery-dataTables/images/insert.png | Bin 0 -> 1885 bytes .../jquery-dataTables/images/sort_asc.png | Bin 0 -> 1118 bytes .../jquery-dataTables/images/sort_asc_disabled.png | Bin 0 -> 1050 bytes .../jquery-dataTables/images/sort_both.png | Bin 0 -> 1136 bytes .../jquery-dataTables/images/sort_desc.png | Bin 0 -> 1127 bytes .../images/sort_desc_disabled.png | Bin 0 -> 1045 bytes .../jquery-dataTables/images/unchecked.gif | Bin 0 -> 223 bytes .../jquery.dataTables.columnFilter.js | 365 + .../jquery-dataTables/jquery.dataTables.min.js | 155 + .../jquery-ui/css/base/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../css/base/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../base/images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../base/images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../base/images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../base/images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes .../base/images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../base/images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../css/base/images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../css/base/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../css/base/images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../css/base/images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../css/base/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../css/base/jquery-ui-timepicker-addon.css | 10 + .../jquery-ui/css/base/jquery-ui.min.css | 4 + .../jquery-ui/i18n/jquery-ui-i18n.min.js | 6 + .../jquery-ui/i18n/jquery-ui-timepicker-hu.js | 21 + .../jquery-ui/i18n/jquery.ui.datepicker-hu.min.js | 4 + .../jquery-ui/jquery-ui-timepicker-addon.js | 2128 + .../share/javascript/jquery-ui/jquery-ui.min.js | 12 + .../share/javascript/koschtit/changelog.txt | 81 + .../share/javascript/koschtit/ki_base/custom | 1 + .../share/javascript/koschtit/ki_base/ki_arrow.php | 101 + .../share/javascript/koschtit/ki_base/ki_back.png | Bin 0 -> 827 bytes .../javascript/koschtit/ki_base/ki_cellid.php | 62 + .../javascript/koschtit/ki_base/ki_checkpw.php | 169 + .../javascript/koschtit/ki_base/ki_deleteimage.php | 43 + .../javascript/koschtit/ki_base/ki_download.php | 32 + .../javascript/koschtit/ki_base/ki_explorer.php | 301 + .../share/javascript/koschtit/ki_base/ki_flip.php | 52 + .../javascript/koschtit/ki_base/ki_fullimg.php | 231 + .../koschtit/ki_base/ki_getcustomsettings.php | 25 + .../koschtit/ki_base/ki_getsetsettings.php | 161 + .../koschtit/ki_base/ki_getuploadinfo.php | 76 + .../javascript/koschtit/ki_base/ki_js_basic.php | 635 + .../koschtit/ki_base/ki_js_changeorder.php | 593 + .../javascript/koschtit/ki_base/ki_js_delete.php | 425 + .../javascript/koschtit/ki_base/ki_js_explorer.php | 349 + .../koschtit/ki_base/ki_js_framework.php | 1070 + .../koschtit/ki_base/ki_js_managefolders.php | 266 + .../javascript/koschtit/ki_base/ki_js_settings.php | 530 + .../javascript/koschtit/ki_base/ki_js_upload.php | 611 + .../javascript/koschtit/ki_base/ki_js_view.php | 1789 + .../javascript/koschtit/ki_base/ki_koschtit.php | 404 + .../javascript/koschtit/ki_base/ki_loading.gif | Bin 0 -> 477 bytes .../javascript/koschtit/ki_base/ki_makepic.php | 317 + .../koschtit/ki_base/ki_managefolders.php | 122 + .../javascript/koschtit/ki_base/ki_mouse_help.png | Bin 0 -> 1463 bytes .../javascript/koschtit/ki_base/ki_nav_close.png | Bin 0 -> 478 bytes .../koschtit/ki_base/ki_nav_download.png | Bin 0 -> 499 bytes .../javascript/koschtit/ki_base/ki_nav_full.png | Bin 0 -> 450 bytes .../javascript/koschtit/ki_base/ki_nav_globe.png | Bin 0 -> 593 bytes .../javascript/koschtit/ki_base/ki_nav_info.png | Bin 0 -> 398 bytes .../javascript/koschtit/ki_base/ki_nav_link.png | Bin 0 -> 524 bytes .../javascript/koschtit/ki_base/ki_nav_next.png | Bin 0 -> 328 bytes .../javascript/koschtit/ki_base/ki_nav_play.png | Bin 0 -> 338 bytes .../javascript/koschtit/ki_base/ki_nav_prev.png | Bin 0 -> 328 bytes .../javascript/koschtit/ki_base/ki_nav_stop.png | Bin 0 -> 239 bytes .../javascript/koschtit/ki_base/ki_nav_vcomm.png | Bin 0 -> 377 bytes .../share/javascript/koschtit/ki_base/ki_next.png | Bin 0 -> 861 bytes .../javascript/koschtit/ki_base/ki_noimage.gif | Bin 0 -> 43 bytes .../share/javascript/koschtit/ki_base/ki_nojs.php | 447 + .../koschtit/ki_base/ki_nojsdisplayimage.php | 427 + .../javascript/koschtit/ki_base/ki_online_docu.jpg | Bin 0 -> 21653 bytes .../javascript/koschtit/ki_base/ki_preview.php | 240 + .../javascript/koschtit/ki_base/ki_savecomment.php | 65 + .../koschtit/ki_base/ki_saveneworder.php | 129 + .../koschtit/ki_base/ki_savesquarethumb.php | 101 + .../share/javascript/koschtit/ki_base/ki_shade.php | 41 + .../javascript/koschtit/ki_base/ki_upload.php | 243 + .../share/javascript/koschtit/ki_base/ki_vcomm.php | 221 + .../javascript/koschtit/ki_base/kos-epulet_dir | 2 + .../koschtit/ki_base/kos-epulet_lastmodified | 4 + .../javascript/koschtit/ki_base/mayor logo_dir | 2 + .../koschtit/ki_base/mayor logo_lastmodified | 4 + .../javascript/koschtit/ki_config/ki_setup.php | 96 + .../koschtit/ki_config/kos-epulet_ki_setup.php | 96 + .../share/javascript/koschtit/ki_include.php | 306 + .../classic/share/javascript/koschtit/readme.txt | 61 + .../share/javascript/scriptaculous/MIT-LICENSE | 20 + .../share/javascript/scriptaculous/builder.js | 136 + .../share/javascript/scriptaculous/controls.js | 965 + .../share/javascript/scriptaculous/dragdrop.js | 974 + .../share/javascript/scriptaculous/effects.js | 1123 + .../javascript/scriptaculous/scriptaculous.js | 68 + .../share/javascript/scriptaculous/slider.js | 275 + .../share/javascript/scriptaculous/sound.js | 59 + .../share/javascript/scriptaculous/unittest.js | 568 + .../classic/share/javascript/tiny_mce/langs/de.js | 1 + .../classic/share/javascript/tiny_mce/langs/en.js | 1 + .../classic/share/javascript/tiny_mce/langs/hu.js | 1 + .../classic/share/javascript/tiny_mce/langs/ja.js | 1 + .../classic/share/javascript/tiny_mce/license.txt | 504 + .../tiny_mce/plugins/advhr/css/advhr.css | 5 + .../tiny_mce/plugins/advhr/editor_plugin.js | 1 + .../tiny_mce/plugins/advhr/editor_plugin_src.js | 57 + .../javascript/tiny_mce/plugins/advhr/js/rule.js | 43 + .../tiny_mce/plugins/advhr/langs/de_dlg.js | 1 + .../tiny_mce/plugins/advhr/langs/en_dlg.js | 1 + .../tiny_mce/plugins/advhr/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/advhr/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/plugins/advhr/rule.htm | 58 + .../tiny_mce/plugins/advimage/css/advimage.css | 13 + .../tiny_mce/plugins/advimage/editor_plugin.js | 1 + .../tiny_mce/plugins/advimage/editor_plugin_src.js | 50 + .../javascript/tiny_mce/plugins/advimage/image.htm | 235 + .../tiny_mce/plugins/advimage/img/sample.gif | Bin 0 -> 1624 bytes .../tiny_mce/plugins/advimage/js/image.js | 464 + .../tiny_mce/plugins/advimage/langs/de_dlg.js | 1 + .../tiny_mce/plugins/advimage/langs/en_dlg.js | 1 + .../tiny_mce/plugins/advimage/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/advimage/langs/ja_dlg.js | 1 + .../tiny_mce/plugins/advlink/css/advlink.css | 8 + .../tiny_mce/plugins/advlink/editor_plugin.js | 1 + .../tiny_mce/plugins/advlink/editor_plugin_src.js | 61 + .../tiny_mce/plugins/advlink/js/advlink.js | 543 + .../tiny_mce/plugins/advlink/langs/de_dlg.js | 1 + .../tiny_mce/plugins/advlink/langs/en_dlg.js | 1 + .../tiny_mce/plugins/advlink/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/advlink/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/plugins/advlink/link.htm | 338 + .../tiny_mce/plugins/advlist/editor_plugin.js | 1 + .../tiny_mce/plugins/advlist/editor_plugin_src.js | 176 + .../tiny_mce/plugins/autolink/editor_plugin.js | 1 + .../tiny_mce/plugins/autolink/editor_plugin_src.js | 184 + .../tiny_mce/plugins/autoresize/editor_plugin.js | 1 + .../plugins/autoresize/editor_plugin_src.js | 119 + .../tiny_mce/plugins/autosave/editor_plugin.js | 1 + .../tiny_mce/plugins/autosave/editor_plugin_src.js | 433 + .../tiny_mce/plugins/autosave/langs/en.js | 4 + .../tiny_mce/plugins/bbcode/editor_plugin.js | 1 + .../tiny_mce/plugins/bbcode/editor_plugin_src.js | 120 + .../tiny_mce/plugins/contextmenu/editor_plugin.js | 1 + .../plugins/contextmenu/editor_plugin_src.js | 163 + .../plugins/directionality/editor_plugin.js | 1 + .../plugins/directionality/editor_plugin_src.js | 85 + .../tiny_mce/plugins/emotions/editor_plugin.js | 1 + .../tiny_mce/plugins/emotions/editor_plugin_src.js | 43 + .../tiny_mce/plugins/emotions/emotions.htm | 42 + .../tiny_mce/plugins/emotions/img/smiley-cool.gif | Bin 0 -> 354 bytes .../tiny_mce/plugins/emotions/img/smiley-cry.gif | Bin 0 -> 329 bytes .../plugins/emotions/img/smiley-embarassed.gif | Bin 0 -> 331 bytes .../plugins/emotions/img/smiley-foot-in-mouth.gif | Bin 0 -> 342 bytes .../tiny_mce/plugins/emotions/img/smiley-frown.gif | Bin 0 -> 340 bytes .../plugins/emotions/img/smiley-innocent.gif | Bin 0 -> 336 bytes .../tiny_mce/plugins/emotions/img/smiley-kiss.gif | Bin 0 -> 338 bytes .../plugins/emotions/img/smiley-laughing.gif | Bin 0 -> 343 bytes .../plugins/emotions/img/smiley-money-mouth.gif | Bin 0 -> 321 bytes .../plugins/emotions/img/smiley-sealed.gif | Bin 0 -> 323 bytes .../tiny_mce/plugins/emotions/img/smiley-smile.gif | Bin 0 -> 344 bytes .../plugins/emotions/img/smiley-surprised.gif | Bin 0 -> 338 bytes .../plugins/emotions/img/smiley-tongue-out.gif | Bin 0 -> 328 bytes .../plugins/emotions/img/smiley-undecided.gif | Bin 0 -> 337 bytes .../tiny_mce/plugins/emotions/img/smiley-wink.gif | Bin 0 -> 350 bytes .../tiny_mce/plugins/emotions/img/smiley-yell.gif | Bin 0 -> 336 bytes .../tiny_mce/plugins/emotions/js/emotions.js | 43 + .../tiny_mce/plugins/emotions/langs/de_dlg.js | 1 + .../tiny_mce/plugins/emotions/langs/en_dlg.js | 1 + .../tiny_mce/plugins/emotions/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/emotions/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/plugins/example/dialog.htm | 22 + .../tiny_mce/plugins/example/editor_plugin.js | 1 + .../tiny_mce/plugins/example/editor_plugin_src.js | 84 + .../tiny_mce/plugins/example/img/example.gif | Bin 0 -> 87 bytes .../tiny_mce/plugins/example/js/dialog.js | 19 + .../tiny_mce/plugins/example/langs/en.js | 3 + .../tiny_mce/plugins/example/langs/en_dlg.js | 3 + .../plugins/example_dependency/editor_plugin.js | 1 + .../example_dependency/editor_plugin_src.js | 50 + .../tiny_mce/plugins/fullpage/css/fullpage.css | 143 + .../tiny_mce/plugins/fullpage/editor_plugin.js | 1 + .../tiny_mce/plugins/fullpage/editor_plugin_src.js | 405 + .../tiny_mce/plugins/fullpage/fullpage.htm | 259 + .../tiny_mce/plugins/fullpage/js/fullpage.js | 232 + .../tiny_mce/plugins/fullpage/langs/de_dlg.js | 1 + .../tiny_mce/plugins/fullpage/langs/en_dlg.js | 1 + .../tiny_mce/plugins/fullpage/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/fullpage/langs/ja_dlg.js | 1 + .../tiny_mce/plugins/fullscreen/editor_plugin.js | 1 + .../plugins/fullscreen/editor_plugin_src.js | 159 + .../tiny_mce/plugins/fullscreen/fullscreen.htm | 110 + .../tiny_mce/plugins/iespell/editor_plugin.js | 1 + .../tiny_mce/plugins/iespell/editor_plugin_src.js | 54 + .../tiny_mce/plugins/inlinepopups/editor_plugin.js | 1 + .../plugins/inlinepopups/editor_plugin_src.js | 699 + .../inlinepopups/skins/clearlooks2/img/alert.gif | Bin 0 -> 810 bytes .../inlinepopups/skins/clearlooks2/img/button.gif | Bin 0 -> 272 bytes .../inlinepopups/skins/clearlooks2/img/buttons.gif | Bin 0 -> 1195 bytes .../inlinepopups/skins/clearlooks2/img/confirm.gif | Bin 0 -> 907 bytes .../inlinepopups/skins/clearlooks2/img/corners.gif | Bin 0 -> 909 bytes .../skins/clearlooks2/img/horizontal.gif | Bin 0 -> 769 bytes .../skins/clearlooks2/img/vertical.gif | Bin 0 -> 84 bytes .../inlinepopups/skins/clearlooks2/window.css | 90 + .../tiny_mce/plugins/inlinepopups/template.htm | 387 + .../plugins/insertdatetime/editor_plugin.js | 1 + .../plugins/insertdatetime/editor_plugin_src.js | 83 + .../tiny_mce/plugins/layer/editor_plugin.js | 1 + .../tiny_mce/plugins/layer/editor_plugin_src.js | 262 + .../tiny_mce/plugins/legacyoutput/editor_plugin.js | 1 + .../plugins/legacyoutput/editor_plugin_src.js | 139 + .../tiny_mce/plugins/lists/editor_plugin.js | 1 + .../tiny_mce/plugins/lists/editor_plugin_src.js | 955 + .../tiny_mce/plugins/media/css/media.css | 17 + .../tiny_mce/plugins/media/editor_plugin.js | 1 + .../tiny_mce/plugins/media/editor_plugin_src.js | 898 + .../javascript/tiny_mce/plugins/media/js/embed.js | 73 + .../javascript/tiny_mce/plugins/media/js/media.js | 503 + .../tiny_mce/plugins/media/langs/de_dlg.js | 1 + .../tiny_mce/plugins/media/langs/en_dlg.js | 1 + .../tiny_mce/plugins/media/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/media/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/plugins/media/media.htm | 922 + .../tiny_mce/plugins/media/moxieplayer.swf | Bin 0 -> 19980 bytes .../tiny_mce/plugins/nonbreaking/editor_plugin.js | 1 + .../plugins/nonbreaking/editor_plugin_src.js | 54 + .../tiny_mce/plugins/noneditable/editor_plugin.js | 1 + .../plugins/noneditable/editor_plugin_src.js | 537 + .../tiny_mce/plugins/pagebreak/editor_plugin.js | 1 + .../plugins/pagebreak/editor_plugin_src.js | 74 + .../tiny_mce/plugins/paste/editor_plugin.js | 1 + .../tiny_mce/plugins/paste/editor_plugin_src.js | 885 + .../tiny_mce/plugins/paste/js/pastetext.js | 36 + .../tiny_mce/plugins/paste/js/pasteword.js | 51 + .../tiny_mce/plugins/paste/langs/de_dlg.js | 1 + .../tiny_mce/plugins/paste/langs/en_dlg.js | 1 + .../tiny_mce/plugins/paste/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/paste/langs/ja_dlg.js | 1 + .../tiny_mce/plugins/paste/pastetext.htm | 27 + .../tiny_mce/plugins/paste/pasteword.htm | 21 + .../tiny_mce/plugins/preview/editor_plugin.js | 1 + .../tiny_mce/plugins/preview/editor_plugin_src.js | 53 + .../tiny_mce/plugins/preview/example.html | 28 + .../tiny_mce/plugins/preview/jscripts/embed.js | 73 + .../tiny_mce/plugins/preview/preview.html | 17 + .../tiny_mce/plugins/print/editor_plugin.js | 1 + .../tiny_mce/plugins/print/editor_plugin_src.js | 34 + .../tiny_mce/plugins/save/editor_plugin.js | 1 + .../tiny_mce/plugins/save/editor_plugin_src.js | 101 + .../plugins/searchreplace/css/searchreplace.css | 6 + .../plugins/searchreplace/editor_plugin.js | 1 + .../plugins/searchreplace/editor_plugin_src.js | 61 + .../plugins/searchreplace/js/searchreplace.js | 142 + .../tiny_mce/plugins/searchreplace/langs/de_dlg.js | 1 + .../tiny_mce/plugins/searchreplace/langs/en_dlg.js | 1 + .../tiny_mce/plugins/searchreplace/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/searchreplace/langs/ja_dlg.js | 1 + .../plugins/searchreplace/searchreplace.htm | 100 + .../tiny_mce/plugins/spellchecker/css/content.css | 1 + .../tiny_mce/plugins/spellchecker/editor_plugin.js | 1 + .../plugins/spellchecker/editor_plugin_src.js | 436 + .../tiny_mce/plugins/spellchecker/img/wline.gif | Bin 0 -> 46 bytes .../tiny_mce/plugins/style/css/props.css | 14 + .../tiny_mce/plugins/style/editor_plugin.js | 1 + .../tiny_mce/plugins/style/editor_plugin_src.js | 71 + .../javascript/tiny_mce/plugins/style/js/props.js | 709 + .../tiny_mce/plugins/style/langs/de_dlg.js | 1 + .../tiny_mce/plugins/style/langs/en_dlg.js | 1 + .../tiny_mce/plugins/style/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/style/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/plugins/style/props.htm | 845 + .../javascript/tiny_mce/plugins/style/readme.txt | 19 + .../tiny_mce/plugins/tabfocus/editor_plugin.js | 1 + .../tiny_mce/plugins/tabfocus/editor_plugin_src.js | 122 + .../javascript/tiny_mce/plugins/table/cell.htm | 180 + .../javascript/tiny_mce/plugins/table/css/cell.css | 17 + .../javascript/tiny_mce/plugins/table/css/row.css | 25 + .../tiny_mce/plugins/table/css/table.css | 13 + .../tiny_mce/plugins/table/editor_plugin.js | 1 + .../tiny_mce/plugins/table/editor_plugin_src.js | 1452 + .../javascript/tiny_mce/plugins/table/js/cell.js | 319 + .../tiny_mce/plugins/table/js/merge_cells.js | 27 + .../javascript/tiny_mce/plugins/table/js/row.js | 237 + .../javascript/tiny_mce/plugins/table/js/table.js | 501 + .../tiny_mce/plugins/table/langs/de_dlg.js | 1 + .../tiny_mce/plugins/table/langs/en_dlg.js | 1 + .../tiny_mce/plugins/table/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/table/langs/ja_dlg.js | 1 + .../tiny_mce/plugins/table/merge_cells.htm | 32 + .../javascript/tiny_mce/plugins/table/row.htm | 158 + .../javascript/tiny_mce/plugins/table/table.htm | 188 + .../javascript/tiny_mce/plugins/template/blank.htm | 12 + .../tiny_mce/plugins/template/css/template.css | 23 + .../tiny_mce/plugins/template/editor_plugin.js | 1 + .../tiny_mce/plugins/template/editor_plugin_src.js | 159 + .../tiny_mce/plugins/template/js/template.js | 106 + .../tiny_mce/plugins/template/langs/de_dlg.js | 1 + .../tiny_mce/plugins/template/langs/en_dlg.js | 1 + .../tiny_mce/plugins/template/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/template/langs/ja_dlg.js | 1 + .../tiny_mce/plugins/template/template.htm | 31 + .../plugins/visualblocks/css/visualblocks.css | 21 + .../tiny_mce/plugins/visualblocks/editor_plugin.js | 1 + .../plugins/visualblocks/editor_plugin_src.js | 63 + .../tiny_mce/plugins/visualchars/editor_plugin.js | 1 + .../plugins/visualchars/editor_plugin_src.js | 83 + .../tiny_mce/plugins/wordcount/editor_plugin.js | 1 + .../plugins/wordcount/editor_plugin_src.js | 122 + .../tiny_mce/plugins/xhtmlxtras/abbr.htm | 142 + .../tiny_mce/plugins/xhtmlxtras/acronym.htm | 142 + .../tiny_mce/plugins/xhtmlxtras/attributes.htm | 149 + .../tiny_mce/plugins/xhtmlxtras/cite.htm | 142 + .../tiny_mce/plugins/xhtmlxtras/css/attributes.css | 11 + .../tiny_mce/plugins/xhtmlxtras/css/popup.css | 9 + .../javascript/tiny_mce/plugins/xhtmlxtras/del.htm | 162 + .../tiny_mce/plugins/xhtmlxtras/editor_plugin.js | 1 + .../plugins/xhtmlxtras/editor_plugin_src.js | 132 + .../javascript/tiny_mce/plugins/xhtmlxtras/ins.htm | 162 + .../tiny_mce/plugins/xhtmlxtras/js/abbr.js | 28 + .../tiny_mce/plugins/xhtmlxtras/js/acronym.js | 28 + .../tiny_mce/plugins/xhtmlxtras/js/attributes.js | 111 + .../tiny_mce/plugins/xhtmlxtras/js/cite.js | 28 + .../tiny_mce/plugins/xhtmlxtras/js/del.js | 53 + .../plugins/xhtmlxtras/js/element_common.js | 229 + .../tiny_mce/plugins/xhtmlxtras/js/ins.js | 53 + .../tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js | 1 + .../tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js | 1 + .../tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js | 1 + .../tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/themes/advanced/about.htm | 52 + .../javascript/tiny_mce/themes/advanced/anchor.htm | 26 + .../tiny_mce/themes/advanced/charmap.htm | 55 + .../tiny_mce/themes/advanced/color_picker.htm | 70 + .../tiny_mce/themes/advanced/editor_template.js | 1 + .../themes/advanced/editor_template_src.js | 1490 + .../javascript/tiny_mce/themes/advanced/image.htm | 80 + .../tiny_mce/themes/advanced/img/colorpicker.jpg | Bin 0 -> 2584 bytes .../tiny_mce/themes/advanced/img/flash.gif | Bin 0 -> 239 bytes .../tiny_mce/themes/advanced/img/icons.gif | Bin 0 -> 11982 bytes .../tiny_mce/themes/advanced/img/iframe.gif | Bin 0 -> 600 bytes .../tiny_mce/themes/advanced/img/pagebreak.gif | Bin 0 -> 325 bytes .../tiny_mce/themes/advanced/img/quicktime.gif | Bin 0 -> 301 bytes .../tiny_mce/themes/advanced/img/realmedia.gif | Bin 0 -> 439 bytes .../tiny_mce/themes/advanced/img/shockwave.gif | Bin 0 -> 384 bytes .../tiny_mce/themes/advanced/img/trans.gif | Bin 0 -> 43 bytes .../tiny_mce/themes/advanced/img/video.gif | Bin 0 -> 597 bytes .../tiny_mce/themes/advanced/img/windowsmedia.gif | Bin 0 -> 415 bytes .../tiny_mce/themes/advanced/js/about.js | 73 + .../tiny_mce/themes/advanced/js/anchor.js | 56 + .../tiny_mce/themes/advanced/js/charmap.js | 363 + .../tiny_mce/themes/advanced/js/color_picker.js | 345 + .../tiny_mce/themes/advanced/js/image.js | 253 + .../javascript/tiny_mce/themes/advanced/js/link.js | 159 + .../tiny_mce/themes/advanced/js/source_editor.js | 78 + .../tiny_mce/themes/advanced/langs/de.js | 1 + .../tiny_mce/themes/advanced/langs/de_dlg.js | 1 + .../tiny_mce/themes/advanced/langs/en.js | 1 + .../tiny_mce/themes/advanced/langs/en_dlg.js | 1 + .../tiny_mce/themes/advanced/langs/hu.js | 1 + .../tiny_mce/themes/advanced/langs/hu_dlg.js | 1 + .../tiny_mce/themes/advanced/langs/ja.js | 1 + .../tiny_mce/themes/advanced/langs/ja_dlg.js | 1 + .../javascript/tiny_mce/themes/advanced/link.htm | 57 + .../tiny_mce/themes/advanced/shortcuts.htm | 47 + .../themes/advanced/skins/default/content.css | 50 + .../themes/advanced/skins/default/dialog.css | 118 + .../themes/advanced/skins/default/img/buttons.png | Bin 0 -> 3133 bytes .../themes/advanced/skins/default/img/items.gif | Bin 0 -> 64 bytes .../advanced/skins/default/img/menu_arrow.gif | Bin 0 -> 68 bytes .../advanced/skins/default/img/menu_check.gif | Bin 0 -> 70 bytes .../themes/advanced/skins/default/img/progress.gif | Bin 0 -> 1787 bytes .../themes/advanced/skins/default/img/tabs.gif | Bin 0 -> 1322 bytes .../tiny_mce/themes/advanced/skins/default/ui.css | 219 + .../themes/advanced/skins/highcontrast/content.css | 24 + .../themes/advanced/skins/highcontrast/dialog.css | 106 + .../themes/advanced/skins/highcontrast/ui.css | 106 + .../themes/advanced/skins/o2k7/content.css | 48 + .../tiny_mce/themes/advanced/skins/o2k7/dialog.css | 118 + .../themes/advanced/skins/o2k7/img/button_bg.png | Bin 0 -> 2766 bytes .../advanced/skins/o2k7/img/button_bg_black.png | Bin 0 -> 651 bytes .../advanced/skins/o2k7/img/button_bg_silver.png | Bin 0 -> 2084 bytes .../tiny_mce/themes/advanced/skins/o2k7/ui.css | 222 + .../themes/advanced/skins/o2k7/ui_black.css | 8 + .../themes/advanced/skins/o2k7/ui_silver.css | 5 + .../tiny_mce/themes/advanced/source_editor.htm | 25 + .../tiny_mce/themes/simple/editor_template.js | 1 + .../tiny_mce/themes/simple/editor_template_src.js | 84 + .../tiny_mce/themes/simple/img/icons.gif | Bin 0 -> 806 bytes .../javascript/tiny_mce/themes/simple/langs/de.js | 1 + .../javascript/tiny_mce/themes/simple/langs/en.js | 1 + .../javascript/tiny_mce/themes/simple/langs/hu.js | 1 + .../javascript/tiny_mce/themes/simple/langs/ja.js | 1 + .../themes/simple/skins/default/content.css | 25 + .../tiny_mce/themes/simple/skins/default/ui.css | 32 + .../tiny_mce/themes/simple/skins/o2k7/content.css | 17 + .../themes/simple/skins/o2k7/img/button_bg.png | Bin 0 -> 5102 bytes .../tiny_mce/themes/simple/skins/o2k7/ui.css | 35 + .../classic/share/javascript/tiny_mce/tiny_mce.js | 1 + .../share/javascript/tiny_mce/tiny_mce_popup.js | 5 + .../share/javascript/tiny_mce/tiny_mce_src.js | 18988 ++++++ .../javascript/tiny_mce/utils/editable_selects.js | 70 + .../share/javascript/tiny_mce/utils/form_utils.js | 210 + .../share/javascript/tiny_mce/utils/mctabs.js | 162 + .../share/javascript/tiny_mce/utils/validate.js | 252 + mayor-orig/www/skin/cron/base/html/alert.phtml | 6 + mayor-orig/www/skin/cron/base/html/base.phtml | 56 + .../www/skin/default/base/css/Elusive-Icons.eot | Bin 0 -> 41988 bytes .../www/skin/default/base/css/Elusive-Icons.svg | 298 + .../www/skin/default/base/css/Elusive-Icons.ttf | Bin 0 -> 41804 bytes .../www/skin/default/base/css/Elusive-Icons.woff | Bin 0 -> 76072 bytes .../www/skin/default/base/css/elusive-webfont.css | 891 + mayor-orig/www/skin/default/base/html/base.phtml | 463 + mayor-orig/www/skin/gray/base/css/base.css | 678 + mayor-orig/www/skin/oldschool/base/css/base.css | 86 + mayor-orig/www/skin/oldschool/base/css/head.css | 149 + mayor-orig/www/skin/oldschool/base/html/base.phtml | 337 + .../skin/oldschool/base/img/mayor_small_ssl.png | Bin 0 -> 3779 bytes .../www/skin/oldschool/module-auth/css/login.css | 45 + mayor-orig/www/skin/pda/base/css/base.css | 182 + mayor-orig/www/skin/pda/base/html/alert.phtml | 85 + mayor-orig/www/skin/pda/base/html/base.phtml | 240 + mayor-orig/www/skin/pda/module-auth/css/login.css | 4 + .../www/skin/pda/module-auth/html/login.phtml | 60 + .../pda/module-naplo/css/haladasi/haladasi.css | 167 + .../skin/pda/module-naplo/css/hianyzas/osztaly.css | 135 + mayor-orig/www/skin/pda/module-naplo/css/naplo.css | 59 + .../pda/module-naplo/css/orarend/helyettesites.css | 29 + .../skin/pda/module-naplo/css/orarend/orarend.css | 97 + .../skin/pda/module-naplo/css/osztalyozo/jegy.css | 56 + .../www/skin/pda/module-naplo/html/base.phtml | 900 + .../pda/module-naplo/html/haladasi/haladasi.phtml | 392 + .../skin/pda/module-naplo/html/hianyzas/ora.phtml | 215 + .../pda/module-naplo/html/hianyzas/osztaly.phtml | 465 + .../pda/module-naplo/html/osztalyozo/diak.phtml | 79 + .../module-naplo/html/osztalyozo/dolgozat.phtml | 273 + .../pda/module-naplo/html/osztalyozo/jegy.phtml | 135 + .../pda/module-naplo/html/osztalyozo/tankor.phtml | 307 + mayor-orig/www/skin/rpc/base/html/alert.phtml | 56 + mayor-orig/www/skin/rpc/base/html/base.phtml | 23 + .../www/skin/rpc/module-naplo/html/base.phtml | 6 + mayor-orig/www/skin/sulix/base/css/base.css | 268 + mayor-orig/www/skin/sulix/base/html/base.phtml | 332 + .../sulix/base/img/bejelentkezes_gomb_140x26.png | Bin 0 -> 3447 bytes .../sulix/base/img/bejelentkezes_gomb_66x28.png | Bin 0 -> 3712 bytes mayor-orig/www/skin/sulix/base/img/favicon.ico | Bin 0 -> 1150 bytes mayor-orig/www/skin/sulix/base/img/fur.png | Bin 0 -> 167469 bytes .../www/skin/sulix/base/img/mayor_small_ssl.png | Bin 0 -> 38044 bytes .../www/skin/sulix/base/img/powered_by_mayor.png | Bin 0 -> 3874 bytes .../skin/sulix/base/img/powered_by_mayor_small.png | Bin 0 -> 4361 bytes .../www/skin/sulix/module-auth/css/login.css | 89 + .../www/skin/sulix/module-auth/html/login.phtml | 79 + .../skin/sulix/module-naplo/css/admin/tanevek.css | 17 + .../www/skin/sulix/module-naplo/css/naplo.css | 84 + .../css/orarend/orarendTeremModositas.css | 8 + .../skin/sulix/module-password/css/password.css | 43 + .../skin/sulix/share/css/calendar_date_select.css | 139 + mayor-orig/www/skin/sza2010/base/css/base.css | 85 + mayor-orig/www/skin/sza2010/base/css/head.css | 153 + mayor-orig/www/skin/sza2010/base/html/alert.phtml | 68 + mayor-orig/www/skin/sza2010/base/html/base.phtml | 310 + mayor-orig/www/skin/sza2010/base/img/bg.png | Bin 0 -> 83991 bytes mayor-orig/www/skin/sza2010/base/img/foot.orig.png | Bin 0 -> 104928 bytes mayor-orig/www/skin/sza2010/base/img/foot.png | Bin 0 -> 59467 bytes .../www/skin/sza2010/base/img/mayor_small_ssl.png | Bin 0 -> 4815 bytes mayor-orig/www/skin/sza2010/base/img/meghivo.png | Bin 0 -> 212148 bytes mayor-orig/www/skin/teszt/base/css/base.css | 288 + mayor-orig/www/skin/teszt/base/html/base.phtml | 407 + .../www/skin/teszt/base/img/MaYoR-star_medium.png | Bin 0 -> 1548 bytes .../www/skin/teszt/base/img/MaYoR-star_small.png | Bin 0 -> 832 bytes .../teszt/base/img/MaYoR_elektronikus_naplo.png | Bin 0 -> 6623 bytes .../www/skin/teszt/base/img/MaYoR_rypple.png | Bin 0 -> 1184 bytes mayor-orig/www/skin/teszt/base/img/MaYoR_star.png | Bin 0 -> 907 bytes .../www/skin/teszt/base/img/mayor_small_ssl.png | Bin 0 -> 6178 bytes mayor-orig/www/skin/teszt/base/img/school_logo.php | 91 + mayor-orig/www/skin/teszt/base/img/settings.png | Bin 0 -> 4335 bytes .../www/skin/teszt/module-auth/css/login.css | 46 + mayor-orig/www/skin/vakbarat/base/css/base.css | 175 + mayor-orig/www/skin/vakbarat/base/html/base.phtml | 231 + .../www/skin/vakbarat/module-auth/css/login.css | 9 + .../www/skin/vakbarat/module-auth/html/login.phtml | 55 + .../module-naplo/css/haladasi/haladasi.css | 187 + .../vakbarat/module-naplo/css/hianyzas/ora.css | 106 + .../www/skin/vakbarat/module-naplo/css/naplo.css | 71 + .../vakbarat/module-naplo/css/osztalyozo/diak.css | 24 + .../skin/vakbarat/module-naplo/css/uzeno/uzeno.css | 79 + .../module-naplo/html/haladasi/haladasi.phtml | 457 + .../module-naplo/html/orarend/orarend.phtml | 198 + mayor-orig/www/skin/winter/base/css/base.css | 85 + mayor-orig/www/skin/winter/base/css/head.css | 154 + mayor-orig/www/skin/winter/base/html/base.phtml | 314 + mayor-orig/www/skin/winter/base/img/bg.gif | Bin 0 -> 3195 bytes mayor-orig/www/skin/winter/base/img/bg2.gif | Bin 0 -> 3871 bytes mayor-orig/www/skin/winter/base/img/bg2.jpg | Bin 0 -> 8596 bytes .../www/skin/winter/base/img/mayor_small_ssl.gif | Bin 0 -> 1703 bytes .../skin/winter/base/img/mayor_small_winter.gif | Bin 0 -> 2761 bytes .../www/skin/winter/module-auth/css/login.css | 39 + .../www/skin/winter/module-naplo/css/naplo.css | 76 + mayor-orig/www/static/hu_HU/legal/pp.html | 22 + .../hu_HU/session/admin/registration/readme.html | 47 + mayor-orig/www/update.php | 25 + 7951 files changed, 761945 insertions(+) create mode 100644 mayor-orig/bin/backup.sh create mode 100644 mayor-orig/bin/crypt-backup.sh create mode 100644 mayor-orig/bin/decrypt-backup.sh create mode 100755 mayor-orig/bin/etc/cron.daily/mayor create mode 100644 mayor-orig/bin/help.sh create mode 100644 mayor-orig/bin/mayor create mode 100644 mayor-orig/bin/remote-backup.sh create mode 100644 mayor-orig/bin/restore.sh create mode 100755 mayor-orig/bin/sbin/eNaploBackup.sh create mode 100755 mayor-orig/bin/sbin/eNaploRestore.sh create mode 100644 mayor-orig/bin/sbin/update.sh create mode 100644 mayor-orig/bin/tex2pdf.sh create mode 100644 mayor-orig/bin/update.sh create mode 100644 mayor-orig/bin/xetex2pdf.sh create mode 100644 mayor-orig/config/main-config.php.example create mode 100644 mayor-orig/config/main.conf.example create mode 100644 mayor-orig/config/menu/public/menu-hu_HU.php.example create mode 100644 mayor-orig/config/module-naplo/config-pl.php.example create mode 100644 mayor-orig/config/module-naplo/config-vmg.php.example create mode 100644 mayor-orig/config/module-naplo/config.php.example create mode 100644 mayor-orig/config/parent-conf.php.example create mode 100644 mayor-orig/config/private-conf.php.example create mode 100644 mayor-orig/config/private-conf.php.ldap-ng.example create mode 100644 mayor-orig/config/public-conf.php.example create mode 100644 mayor-orig/config/skin-blue/config.php.example create mode 100644 mayor-orig/config/skin-classic/config.php.example create mode 100644 mayor-orig/config/skin-classic/naplo-config.php.example create mode 100644 mayor-orig/config/skin-sulix/config.php.example create mode 100644 mayor-orig/config/skin-winter/config.php.example create mode 100755 mayor-orig/download/galleries/sample/01.jpg create mode 100644 mayor-orig/download/private/naplo/orarend/orarendBetolto/fromAsc.xml create mode 100644 mayor-orig/export/module-naplo/default/bizonyitvany.php create mode 100644 mayor-orig/export/module-naplo/draft/bizonyitvany.php create mode 100644 mayor-orig/install/base/apache2/mayor.conf create mode 100644 mayor-orig/install/base/ldap/access-control/mayor.acl create mode 100644 mayor-orig/install/base/ldap/ldif/groups.ldif create mode 100644 mayor-orig/install/base/ldap/ldif/o.ldif create mode 100644 mayor-orig/install/base/ldap/ldif/ou.ldif create mode 100644 mayor-orig/install/base/ldap/ldif/user.ldif create mode 100644 mayor-orig/install/base/ldap/mayor-slapd.conf create mode 100644 mayor-orig/install/base/ldap/schema/mayor.schema create mode 100644 mayor-orig/install/base/ldap/schema/mayor.schema.orig create mode 100644 mayor-orig/install/base/ldap/slapd.inc create mode 100644 mayor-orig/install/base/mysql/mayor-auth.sql create mode 100644 mayor-orig/install/base/mysql/mayor-login.sql create mode 100644 mayor-orig/install/base/mysql/private-users.sql create mode 100644 mayor-orig/install/base/mysql/utf8.cnf create mode 100644 mayor-orig/install/module-naplo/mysql/base.sql create mode 100644 mayor-orig/install/module-naplo/mysql/createAccount.txt create mode 100644 mayor-orig/install/module-naplo/mysql/intezmeny.sql create mode 100644 mayor-orig/install/module-naplo/mysql/kirTargyak.sql create mode 100644 mayor-orig/install/module-naplo/mysql/naplo-users.sql create mode 100644 mayor-orig/install/module-naplo/mysql/tanev.sql create mode 100644 mayor-orig/install/module-naplo/mysql/telepulesLista.sql create mode 100644 mayor-orig/log/mayor-base.rev create mode 100644 mayor-orig/log/mayor-naplo.rev create mode 100644 mayor-orig/print/module-naplo/templates/csik/szovegesZaroErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/beiskolazasiTerv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/diakAdatlap.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/ertesito.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/helyettesitesinaplo.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/kirBizonyitvanyExport.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/sniEvVegiJegyzokonyv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/sniHaviJegyzokonyv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/szovegesErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/szovegesZaroErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/torzslap.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/tovabbkepzesHatarozat.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/default/zaradekok.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/diakAdatlap.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/ertesito.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/helyettesitesinaplo.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/kirBizonyitvanyExport.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/sniEvVegiJegyzokonyv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/sniHaviJegyzokonyv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/szovegesErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/szovegesZaroErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/torzslap.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/draft/zaradek.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/diakAdatlap-fenykep_helyett_max_4_jogviszonyvaltassal.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/diakAdatlap-szulostatusz_szoveggel.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A4-ketsorosfejlec-soktantargyhoz.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A4-split.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A4.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A6-19targy.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A6-aprobetus.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-A6-helytakarekos.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-elmelet-gyakorlat.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-keses_percosszeggel.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-ketsoros_fejlec.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-labjegyzet_nelkul.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-targyrovidnevvel.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/ertesito-tordelt_sorok.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/helyettesitesinaplo-landscape.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/kirBizonyitvanyExport.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/example/torzslap-eves_oraszammal.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/fasori/helyettesitesinaplo.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A4.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A5.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/vmg/beiskolazasiTerv.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/vmg/szovegesErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/templates/vmg/szovegesZaroErtekeles.tmpl create mode 100644 mayor-orig/print/module-naplo/tex/mayor.cnf create mode 100644 mayor-orig/print/module-naplo/tex/mayor.fmt-3.141592 create mode 100644 mayor-orig/print/module-naplo/tex/mayor.fmt-3.1415926 create mode 100644 mayor-orig/print/module-naplo/tex/mayor.tex create mode 100644 mayor-orig/print/module-naplo/xetex/mayor-xetex.cnf create mode 100644 mayor-orig/print/module-naplo/xetex/mayor-xetex.fmt create mode 100644 mayor-orig/print/module-naplo/xetex/mayor-xetex.ini create mode 100644 mayor-orig/print/share/huhyphn.tex create mode 100644 mayor-orig/update/linkme.sh create mode 100644 mayor-orig/update/orev001162-1.sh create mode 100644 mayor-orig/update/orev001212-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001214-1.sh create mode 100644 mayor-orig/update/orev001214-2-intezmeny.sql create mode 100644 mayor-orig/update/orev001222-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001226-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001226-2-mayor_naplo.sql create mode 100644 mayor-orig/update/orev001227-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001264-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001270-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001280-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001317-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001324-1-naplo.sql create mode 100644 mayor-orig/update/orev001340-1.sh create mode 100644 mayor-orig/update/orev001346-1-naplo.sql create mode 100644 mayor-orig/update/orev001347-1-naplo.sql create mode 100644 mayor-orig/update/orev001361-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001361-2-mayor_naplo.sql create mode 100644 mayor-orig/update/orev001367-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001367-2-naplo.sql create mode 100644 mayor-orig/update/orev001387-2-mayor_naplo.sql create mode 100644 mayor-orig/update/orev001427-1-naplo.sql create mode 100644 mayor-orig/update/orev001461-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001497-1-naplo.sql create mode 100644 mayor-orig/update/orev001517-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001517-1-mayor_naplo.sql create mode 100644 mayor-orig/update/orev001520-1.sh create mode 100644 mayor-orig/update/orev001530-1-naplo.sql create mode 100644 mayor-orig/update/orev001538-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001579-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001579-1-naplo.sql create mode 100644 mayor-orig/update/orev001582-2-intezmeny.sql create mode 100644 mayor-orig/update/orev001582-2-naplo.sql create mode 100644 mayor-orig/update/orev001587-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001587-2-intezmeny.sql create mode 100644 mayor-orig/update/orev001588-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001589-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001591-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001592-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001592-1-naplo.sql create mode 100644 mayor-orig/update/orev001592-2-intezmeny.sql create mode 100644 mayor-orig/update/orev001594-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001597-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001599-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001599-1-naplo.sql create mode 100644 mayor-orig/update/orev001599-2-intezmeny.sql create mode 100644 mayor-orig/update/orev001600-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001604-1-naplo.sql create mode 100644 mayor-orig/update/orev001606-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001609-1.sh create mode 100644 mayor-orig/update/orev001621-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001630-1.sh create mode 100644 mayor-orig/update/orev001637-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001637-1-naplo.sql create mode 100644 mayor-orig/update/orev001656-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001698-1-naplo.sql create mode 100644 mayor-orig/update/orev001699-1.sh create mode 100644 mayor-orig/update/orev001717-1.sh create mode 100644 mayor-orig/update/orev001723-1-naplo.sql create mode 100644 mayor-orig/update/orev001725-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001725-1-naplo.sql create mode 100644 mayor-orig/update/orev001732-1-naplo.sql create mode 100644 mayor-orig/update/orev001738-1-mayor_naplo.sql create mode 100644 mayor-orig/update/orev001770-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001776-1-naplo.sql create mode 100644 mayor-orig/update/orev001782-1-naplo.sql create mode 100644 mayor-orig/update/orev001784-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001788-1-naplo.sql create mode 100644 mayor-orig/update/orev001836-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001909-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001920-1-naplo.sql create mode 100644 mayor-orig/update/orev001933-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001935-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001951-1-naplo.sql create mode 100644 mayor-orig/update/orev001968-1-intezmeny.sql create mode 100644 mayor-orig/update/orev001972-1-intezmeny.sql create mode 100644 mayor-orig/update/orev002033-1-intezmeny.sql create mode 100644 mayor-orig/update/orev002055-1-intezmeny.sql create mode 100644 mayor-orig/update/orev002062-1-intezmeny.sql create mode 100644 mayor-orig/update/post002037-1.sh create mode 100644 mayor-orig/update/post002038-1.sh create mode 100644 mayor-orig/update/post002041-1.sh create mode 100644 mayor-orig/update/post002089-1.sh create mode 100644 mayor-orig/update/post002093-1.sh create mode 100644 mayor-orig/update/post002543-1.sh create mode 100644 mayor-orig/update/post002698-1.sh create mode 100644 mayor-orig/update/post003057-1.sh create mode 100644 mayor-orig/update/pre002038-1.sh create mode 100644 mayor-orig/update/pre002078-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002086-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002087-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre002087-2-intezmeny.sql create mode 100644 mayor-orig/update/pre002090-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002091-1-naplo.sql create mode 100644 mayor-orig/update/pre002094-1-naplo.sql create mode 100644 mayor-orig/update/pre002095-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002097-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002101-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002112-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002137-1-naplo.sql create mode 100644 mayor-orig/update/pre002138-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre002167-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002173-1-naplo.sql create mode 100644 mayor-orig/update/pre002176-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002186-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002189-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002189-2-intezmeny.sql create mode 100644 mayor-orig/update/pre002189-3-intezmeny.sql create mode 100644 mayor-orig/update/pre002189-4-naplo.sql create mode 100644 mayor-orig/update/pre002189-5-naplo.sql create mode 100644 mayor-orig/update/pre002192-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002203-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002203-1-naplo.sql create mode 100644 mayor-orig/update/pre002223-1-naplo.sql create mode 100644 mayor-orig/update/pre002238-1-naplo.sql create mode 100644 mayor-orig/update/pre002241-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002241-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre002244-1-naplo.sql create mode 100644 mayor-orig/update/pre002247-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002262-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002281-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002312-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002321-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002325-1-naplo.sql create mode 100644 mayor-orig/update/pre002331-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002333-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002343-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002397-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002460-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002468-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002472-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002483-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002483-2-naplo.sql create mode 100644 mayor-orig/update/pre002492-1-naplo.sql create mode 100644 mayor-orig/update/pre002492-2-naplo.sql create mode 100644 mayor-orig/update/pre002493-1-naplo.sql create mode 100644 mayor-orig/update/pre002515-1-naplo.sql create mode 100644 mayor-orig/update/pre002521-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002553-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002559-1.sh create mode 100644 mayor-orig/update/pre002564-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre002564-2-intezmeny.sql create mode 100644 mayor-orig/update/pre002572-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002573-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002616-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002621-1-naplo.sql create mode 100644 mayor-orig/update/pre002621-2-intezmeny.sql create mode 100644 mayor-orig/update/pre002625-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002627-1-naplo.sql create mode 100644 mayor-orig/update/pre002631-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002631-2-naplo.sql create mode 100644 mayor-orig/update/pre002634-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002634-2-naplo.sql create mode 100644 mayor-orig/update/pre002638-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002638-2-naplo.sql create mode 100644 mayor-orig/update/pre002638-3-intezmeny.sql create mode 100644 mayor-orig/update/pre002638-4-naplo.sql create mode 100644 mayor-orig/update/pre002651-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002651-2-naplo.sql create mode 100644 mayor-orig/update/pre002653-1-naplo.sql create mode 100644 mayor-orig/update/pre002658-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002660-1-naplo.sql create mode 100644 mayor-orig/update/pre002670-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002674-1-naplo.sql create mode 100644 mayor-orig/update/pre002706-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002719-1-naplo.sql create mode 100644 mayor-orig/update/pre002725-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002729-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002772-1-naplo.sql create mode 100644 mayor-orig/update/pre002779-1-naplo.sql create mode 100644 mayor-orig/update/pre002801-1-naplo.sql create mode 100644 mayor-orig/update/pre002812-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002840-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002860-1.sh create mode 100644 mayor-orig/update/pre002932-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002944-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002944-1-naplo.sql create mode 100644 mayor-orig/update/pre002968-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002968-1-naplo.sql create mode 100644 mayor-orig/update/pre002970-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002989-0.sh create mode 100644 mayor-orig/update/pre002990-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002998-1-intezmeny.sql create mode 100644 mayor-orig/update/pre002998-1-naplo.sql create mode 100644 mayor-orig/update/pre003000-1-naplo.sql create mode 100644 mayor-orig/update/pre003005-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003005-2-intezmeny.sql create mode 100644 mayor-orig/update/pre003041-1-naplo.sql create mode 100644 mayor-orig/update/pre003041-2-naplo.sql create mode 100644 mayor-orig/update/pre003042-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003070-1.sh create mode 100644 mayor-orig/update/pre003075-1-naplo.sql create mode 100644 mayor-orig/update/pre003075-2-intezmeny.sql create mode 100644 mayor-orig/update/pre003075-3-naplo.sql create mode 100644 mayor-orig/update/pre003079-0.sh create mode 100644 mayor-orig/update/pre003082-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003088-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003112-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003119-1-naplo.sql create mode 100644 mayor-orig/update/pre003123-1-naplo.sql create mode 100644 mayor-orig/update/pre003138-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003155-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003176-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003177-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003253-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003282-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003324-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003334-1-naplo.sql create mode 100644 mayor-orig/update/pre003340-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003355-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003361-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003363-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003371-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003379-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003379-2-naplo.sql create mode 100644 mayor-orig/update/pre003380-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003391-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003392-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003396-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003396-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003396-1-naplo.sql create mode 100644 mayor-orig/update/pre003400-1-naplo.sql create mode 100644 mayor-orig/update/pre003409-1-naplo.sql create mode 100644 mayor-orig/update/pre003411-1-naplo.sql create mode 100644 mayor-orig/update/pre003422-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003427-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003431-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003450-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003456-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003461-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003464-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003517-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003531-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003531-2-intezmeny.sql create mode 100644 mayor-orig/update/pre003531-3-intezmeny.sql create mode 100644 mayor-orig/update/pre003531-4-intezmeny.sql create mode 100644 mayor-orig/update/pre003562-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003566-1-naplo.sql create mode 100644 mayor-orig/update/pre003568-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003581-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003581-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003582-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003592-1-naplo.sql create mode 100644 mayor-orig/update/pre003597-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003599-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003601-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003602-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003604-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003605-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003616-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003644-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003669-1-naplo.sql create mode 100644 mayor-orig/update/pre003680-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003690-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003703-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003707-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003719-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003734-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003738-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003744-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003760-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003761-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003763-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003766-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003784-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003787-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003799-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003812-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003844-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003849-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003856-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003858-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003860-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003877-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003893-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003904-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003924-1-intezmeny.sql create mode 100644 mayor-orig/update/pre003950-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003950-2.sh create mode 100644 mayor-orig/update/pre003956-1.sh create mode 100644 mayor-orig/update/pre003958-1-mayor_login.sql create mode 100644 mayor-orig/update/pre003966-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003980-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre003981-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004002-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre004022-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre004025-1-mayor_naplo.sql create mode 100644 mayor-orig/update/pre004066-1-naplo.sql create mode 100644 mayor-orig/update/pre004078-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004078-2-naplo.sql create mode 100644 mayor-orig/update/pre004125-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004125-2-naplo.sql create mode 100644 mayor-orig/update/pre004133-1-naplo.sql create mode 100644 mayor-orig/update/pre004137-1-naplo.sql create mode 100644 mayor-orig/update/pre004149-1-naplo.sql create mode 100644 mayor-orig/update/pre004166-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004175-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004179-1-mayor_login.sql create mode 100644 mayor-orig/update/pre004215-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004225-1-naplo.sql create mode 100644 mayor-orig/update/pre004244-1-naplo.sql create mode 100644 mayor-orig/update/pre004246-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004247-1-naplo.sql create mode 100644 mayor-orig/update/pre004250-1-intezmeny.sql create mode 100644 mayor-orig/update/pre004250-2-naplo.sql create mode 100644 mayor-orig/update/pre004263-1-naplo.sql create mode 100644 mayor-orig/update/pre004271-1-intezmeny.sql create mode 100644 mayor-orig/update/processUpdateScripts.sh create mode 100644 mayor-orig/update/rev001167-1.sh create mode 100644 mayor-orig/update/rev001174-1.sh create mode 100644 mayor-orig/update/rev001177-1.sh create mode 100644 mayor-orig/update/rev001181-1.sh create mode 100644 mayor-orig/update/rev001341-1-auth.sql create mode 100644 mayor-orig/update/rev001351-1-auth.sql create mode 100644 mayor-orig/update/rev001368-1.sh create mode 100644 mayor-orig/update/rev001387-1-mayor_login.sql create mode 100644 mayor-orig/update/rev001391-1-mayor_login.sql create mode 100644 mayor-orig/update/rev001393-1-mayor_login.sql create mode 100644 mayor-orig/update/rev001582-1.sh create mode 100644 mayor-orig/update/rev001745-1.sh create mode 100644 mayor-orig/update/rev001751-1.sh create mode 100644 mayor-orig/update/rev001986-1-mayor_login.sql create mode 100644 mayor-orig/update/rev002008-1-auth.sql create mode 100644 mayor-orig/update/rev002038-1.sh create mode 100644 mayor-orig/update/rev002400-1-mayor_login.sql create mode 100644 mayor-orig/update/rev002422-1-mayor_login.sql create mode 100644 mayor-orig/wiki/dok.php create mode 100644 mayor-orig/www/LICENSE.txt create mode 100644 mayor-orig/www/include/alert/base.php create mode 100644 mayor-orig/www/include/alert/hu_HU/base.php create mode 100644 mayor-orig/www/include/alert/hu_HU/file.php create mode 100644 mayor-orig/www/include/alert/hu_HU/ldap.php create mode 100644 mayor-orig/www/include/alert/hu_HU/module-auth.php create mode 100644 mayor-orig/www/include/alert/hu_HU/module-naplo.php create mode 100644 mayor-orig/www/include/alert/hu_HU/module-password.php create mode 100644 mayor-orig/www/include/alert/hu_HU/module-session.php create mode 100644 mayor-orig/www/include/backend/ads/auth/login.php create mode 100644 mayor-orig/www/include/backend/ads/base/attrs.php create mode 100644 mayor-orig/www/include/backend/ads/password/changePassword.php create mode 100644 mayor-orig/www/include/backend/ads/session/accountInfo.php create mode 100644 mayor-orig/www/include/backend/ads/session/base.php create mode 100644 mayor-orig/www/include/backend/ads/session/createAccount.php create mode 100644 mayor-orig/www/include/backend/ads/session/createGroup.php create mode 100644 mayor-orig/www/include/backend/ads/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/backend/file/auth/login.php create mode 100644 mayor-orig/www/include/backend/file/session/base.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/auth/login.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/base/attrs.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/password/changePassword.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/session/accountInfo.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/session/base.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/session/createAccount.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/session/createGroup.php create mode 100644 mayor-orig/www/include/backend/ldap-ng/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/backend/ldap/auth/login.php create mode 100644 mayor-orig/www/include/backend/ldap/base/attrs.php create mode 100644 mayor-orig/www/include/backend/ldap/base/attrs.php.orig create mode 100644 mayor-orig/www/include/backend/ldap/base/str.php create mode 100644 mayor-orig/www/include/backend/ldap/password/changePassword.php create mode 100644 mayor-orig/www/include/backend/ldap/session/accountInfo.php create mode 100644 mayor-orig/www/include/backend/ldap/session/base.php create mode 100644 mayor-orig/www/include/backend/ldap/session/createAccount.php create mode 100644 mayor-orig/www/include/backend/ldap/session/createGroup.php create mode 100644 mayor-orig/www/include/backend/ldap/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/backend/ldapng/auth/login.php create mode 100644 mayor-orig/www/include/backend/ldapng/base/attrs.php create mode 100644 mayor-orig/www/include/backend/ldapng/password/changePassword.php create mode 100644 mayor-orig/www/include/backend/ldapng/session/accountInfo.php create mode 100644 mayor-orig/www/include/backend/ldapng/session/base.php create mode 100644 mayor-orig/www/include/backend/ldapng/session/createAccount.php create mode 100644 mayor-orig/www/include/backend/ldapng/session/createGroup.php create mode 100644 mayor-orig/www/include/backend/ldapng/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/backend/mysql/auth/login.php create mode 100644 mayor-orig/www/include/backend/mysql/base/attrs.php create mode 100644 mayor-orig/www/include/backend/mysql/password/changePassword.php create mode 100644 mayor-orig/www/include/backend/mysql/session/accountInfo.php create mode 100644 mayor-orig/www/include/backend/mysql/session/base.php create mode 100644 mayor-orig/www/include/backend/mysql/session/createAccount.php create mode 100644 mayor-orig/www/include/backend/mysql/session/createGroup.php create mode 100644 mayor-orig/www/include/backend/mysql/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/base/base.php create mode 100644 mayor-orig/www/include/base/cache.php create mode 100644 mayor-orig/www/include/base/config.php create mode 100644 mayor-orig/www/include/base/error.php create mode 100644 mayor-orig/www/include/base/log.php create mode 100644 mayor-orig/www/include/base/login.php create mode 100644 mayor-orig/www/include/base/mysql.php create mode 100644 mayor-orig/www/include/base/rights.php create mode 100644 mayor-orig/www/include/base/str.php create mode 100644 mayor-orig/www/include/base/var.php create mode 100644 mayor-orig/www/include/menu/base.php create mode 100644 mayor-orig/www/include/menu/parent/hu_HU/base.php create mode 100644 mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php create mode 100644 mayor-orig/www/include/menu/private/hu_HU/base.php create mode 100644 mayor-orig/www/include/menu/private/hu_HU/module-naplo.php create mode 100644 mayor-orig/www/include/menu/public/hu_HU/base.php create mode 100644 mayor-orig/www/include/menu/public/hu_HU/module-naplo.php create mode 100644 mayor-orig/www/include/modules/auth/base/forgotten.php create mode 100644 mayor-orig/www/include/modules/auth/base/login.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/azonositok.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/checksql.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/intezmenyek.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/szemeszterek.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/szuloiAzonositok.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/tanevek.php create mode 100644 mayor-orig/www/include/modules/naplo/admin/tankorok.php create mode 100644 mayor-orig/www/include/modules/naplo/base/base.php create mode 100644 mayor-orig/www/include/modules/naplo/base/log.php create mode 100644 mayor-orig/www/include/modules/naplo/base/rights.php create mode 100644 mayor-orig/www/include/modules/naplo/base/tool.php create mode 100644 mayor-orig/www/include/modules/naplo/base/update.php create mode 100644 mayor-orig/www/include/modules/naplo/base/zcheck.php create mode 100644 mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesTipus.php create mode 100644 mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesek.php create mode 100644 mayor-orig/www/include/modules/naplo/diakValaszto.php create mode 100644 mayor-orig/www/include/modules/naplo/ertekeles/kerdoivBetoltes.php create mode 100644 mayor-orig/www/include/modules/naplo/ertekeles/osszesites.php create mode 100644 mayor-orig/www/include/modules/naplo/export/bizonyitvany.php create mode 100644 mayor-orig/www/include/modules/naplo/export/diakExport.php create mode 100644 mayor-orig/www/include/modules/naplo/export/kirBizonyitvanyExport.php create mode 100644 mayor-orig/www/include/modules/naplo/export/kreta.php create mode 100644 mayor-orig/www/include/modules/naplo/export/sulix.php create mode 100644 mayor-orig/www/include/modules/naplo/export/tanarOsztalyOraszam.php create mode 100644 mayor-orig/www/include/modules/naplo/export/tantargyFelosztas.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/elmaradas.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/elszamolas.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/haladasi.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/helyettesites.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/oralatogatas.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/osszevonas.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/pluszora.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/specialis.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/stat.php create mode 100644 mayor-orig/www/include/modules/naplo/haladasi/teremModositas.php create mode 100644 mayor-orig/www/include/modules/naplo/hianyzas/diak.php create mode 100644 mayor-orig/www/include/modules/naplo/hianyzas/oktstat.php create mode 100644 mayor-orig/www/include/modules/naplo/hianyzas/ora.php create mode 100644 mayor-orig/www/include/modules/naplo/hianyzas/osztaly.php create mode 100644 mayor-orig/www/include/modules/naplo/hibabejelento/admin.php create mode 100644 mayor-orig/www/include/modules/naplo/hibabejelento/hibabejelento.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/diakExport.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/diakFelmentes.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/diakStatusz.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/diakSzulo.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/kepzes.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/kepzesOraterv.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/munkakozosseg.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/osztaly.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tanar.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tankor.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tankorSzemeszter.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tankorTanar.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tankorTanarHozzarendeles.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/terem.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/tovabbkepzes.php create mode 100644 mayor-orig/www/include/modules/naplo/intezmeny/valtas.php create mode 100644 mayor-orig/www/include/modules/naplo/koszi/esemenyAdmin.php create mode 100644 mayor-orig/www/include/modules/naplo/koszi/koszi.php create mode 100644 mayor-orig/www/include/modules/naplo/koszi/kosziAdmin.php create mode 100644 mayor-orig/www/include/modules/naplo/naplo.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/beiskolazasiTerv.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/bizonyitvanyNyomtatas.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/diakAdatlap.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/ertesito.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/haladasinaplo.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/helyettesitesinaplo.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/nyomtatas.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/osztalyozonaplo.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/sniEvVegiJegyzokonyv.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/sniHaviJegyzokonyv.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/szovegesErtekeles.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/tankorNaplohozRendeles.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/tex.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/torzslap.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/tovabbkepzesHatarozat.php create mode 100644 mayor-orig/www/include/modules/naplo/nyomtatas/zaradekok.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/ascExport.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-Microsoft Excel XML.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-RoPaSoft.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables Ctrl-Shift-E.php create mode 100644 "mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML (tank\303\266r n\303\251lk\303\274l).php" create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML update.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-csv.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/convert-default.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/orarendBetolto.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/orarendEllenorzes.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/orarendModosito.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/orarendTankor.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/orarendTeremModositas.php create mode 100644 mayor-orig/www/include/modules/naplo/orarend/tanarOrarend.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/bizonyitvany.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/diak.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/dolgozat.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/stat.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/szempontRendszer.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/szovegesErtekeles.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/tankor.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/targySorrend.php create mode 100644 mayor-orig/www/include/modules/naplo/osztalyozo/vizsga.php create mode 100644 mayor-orig/www/include/modules/naplo/share/bejegyzes.php create mode 100644 mayor-orig/www/include/modules/naplo/share/bejegyzesModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/bontas.php create mode 100644 mayor-orig/www/include/modules/naplo/share/diak.php create mode 100644 mayor-orig/www/include/modules/naplo/share/diakModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/dolgozat.php create mode 100644 mayor-orig/www/include/modules/naplo/share/ertekeles.php create mode 100644 mayor-orig/www/include/modules/naplo/share/esemeny.php create mode 100644 mayor-orig/www/include/modules/naplo/share/file.php create mode 100644 mayor-orig/www/include/modules/naplo/share/helyettesites.php create mode 100644 mayor-orig/www/include/modules/naplo/share/helyettesitesModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/hetes.php create mode 100644 mayor-orig/www/include/modules/naplo/share/hianyzas.php create mode 100644 mayor-orig/www/include/modules/naplo/share/hianyzasModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/hirnok.php create mode 100644 mayor-orig/www/include/modules/naplo/share/intezmenyek.php create mode 100644 mayor-orig/www/include/modules/naplo/share/jegy.php create mode 100644 mayor-orig/www/include/modules/naplo/share/jegyModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/jegyzet.php create mode 100644 mayor-orig/www/include/modules/naplo/share/kepesites.php create mode 100644 mayor-orig/www/include/modules/naplo/share/kepzes.php create mode 100644 mayor-orig/www/include/modules/naplo/share/kerdoiv.php create mode 100644 mayor-orig/www/include/modules/naplo/share/kerelem.php create mode 100644 mayor-orig/www/include/modules/naplo/share/kereso.php create mode 100644 mayor-orig/www/include/modules/naplo/share/koszi.php create mode 100644 mayor-orig/www/include/modules/naplo/share/munkakozosseg.php create mode 100644 mayor-orig/www/include/modules/naplo/share/mysql.php create mode 100644 mayor-orig/www/include/modules/naplo/share/nap.php create mode 100644 mayor-orig/www/include/modules/naplo/share/ora.php create mode 100644 mayor-orig/www/include/modules/naplo/share/oraModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/orarend.php create mode 100644 mayor-orig/www/include/modules/naplo/share/osztaly.php create mode 100644 mayor-orig/www/include/modules/naplo/share/osztalyModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/osztalyzatok.php create mode 100644 mayor-orig/www/include/modules/naplo/share/rpc.php create mode 100644 mayor-orig/www/include/modules/naplo/share/sni.php create mode 100644 mayor-orig/www/include/modules/naplo/share/szemeszter.php create mode 100644 mayor-orig/www/include/modules/naplo/share/szovegesErtekeles.php create mode 100644 mayor-orig/www/include/modules/naplo/share/szulo.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tanar.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tanarModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tankor.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tankorBlokk.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tankorDiakModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tankorModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/share/tanmenet.php create mode 100644 mayor-orig/www/include/modules/naplo/share/targy.php create mode 100644 mayor-orig/www/include/modules/naplo/share/terem.php create mode 100644 mayor-orig/www/include/modules/naplo/share/verseny.php create mode 100644 mayor-orig/www/include/modules/naplo/share/vizsga.php create mode 100644 mayor-orig/www/include/modules/naplo/share/zaradek.php create mode 100644 mayor-orig/www/include/modules/naplo/share/zaroJegyModifier.php create mode 100644 mayor-orig/www/include/modules/naplo/sni/diakAllapot.php create mode 100644 mayor-orig/www/include/modules/naplo/sni/fejlesztesiTerv.php create mode 100644 mayor-orig/www/include/modules/naplo/sni/tantargyiFeljegyzesek.php create mode 100644 mayor-orig/www/include/modules/naplo/stat/lemorzsolodas.php create mode 100644 mayor-orig/www/include/modules/naplo/stat/tantargyFelosztas.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/checkStatus.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/fogadoOra.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/munkaterv.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/tankorBlokk.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/tankorCsoport.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/targyBontas.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/targyOraszam.php create mode 100644 mayor-orig/www/include/modules/naplo/tanev/vegzosOrarendLezaras.php create mode 100644 mayor-orig/www/include/modules/naplo/uzeno/uzeno.php create mode 100644 mayor-orig/www/include/modules/password/base/changePassword.php create mode 100644 mayor-orig/www/include/modules/session/accountInfo.php create mode 100644 mayor-orig/www/include/modules/session/base/base.php create mode 100644 mayor-orig/www/include/modules/session/createAccount.php create mode 100644 mayor-orig/www/include/modules/session/createGroup.php create mode 100644 mayor-orig/www/include/modules/session/download.php create mode 100644 mayor-orig/www/include/modules/session/groupInfo.php create mode 100644 mayor-orig/www/include/modules/session/search/searchAccount.php create mode 100644 mayor-orig/www/include/modules/session/search/searchGroup.php create mode 100644 mayor-orig/www/include/modules/session/sessionAdmin.php create mode 100644 mayor-orig/www/include/share/auth/base.php create mode 100644 mayor-orig/www/include/share/date/names.php create mode 100644 mayor-orig/www/include/share/facebook/Authentication/AccessToken.php create mode 100644 mayor-orig/www/include/share/facebook/Authentication/AccessTokenMetadata.php create mode 100644 mayor-orig/www/include/share/facebook/Authentication/OAuth2Client.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookAuthorizationException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookClientException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookOtherException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookResponseException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookSDKException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookServerException.php create mode 100644 mayor-orig/www/include/share/facebook/Exceptions/FacebookThrottleException.php create mode 100644 mayor-orig/www/include/share/facebook/Facebook.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookApp.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookBatchRequest.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookBatchResponse.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookClient.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookRequest.php create mode 100644 mayor-orig/www/include/share/facebook/FacebookResponse.php create mode 100644 mayor-orig/www/include/share/facebook/FileUpload/FacebookFile.php create mode 100644 mayor-orig/www/include/share/facebook/FileUpload/FacebookResumableUploader.php create mode 100644 mayor-orig/www/include/share/facebook/FileUpload/FacebookTransferChunk.php create mode 100644 mayor-orig/www/include/share/facebook/FileUpload/FacebookVideo.php create mode 100644 mayor-orig/www/include/share/facebook/FileUpload/Mimetypes.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/Birthday.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/Collection.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphAchievement.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphAlbum.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphApplication.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphEdge.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphEvent.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphGroup.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphList.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphLocation.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphNodeFactory.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphObject.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphObjectFactory.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphPicture.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphSessionInfo.php create mode 100644 mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php create mode 100644 mayor-orig/www/include/share/facebook/Helpers/FacebookCanvasHelper.php create mode 100644 mayor-orig/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php create mode 100644 mayor-orig/www/include/share/facebook/Helpers/FacebookPageTabHelper.php create mode 100644 mayor-orig/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php create mode 100644 mayor-orig/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php create mode 100644 mayor-orig/www/include/share/facebook/Http/GraphRawResponse.php create mode 100644 mayor-orig/www/include/share/facebook/Http/RequestBodyInterface.php create mode 100644 mayor-orig/www/include/share/facebook/Http/RequestBodyMultipart.php create mode 100644 mayor-orig/www/include/share/facebook/Http/RequestBodyUrlEncoded.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookCurl.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookStream.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/HttpClientsFactory.php create mode 100644 mayor-orig/www/include/share/facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem create mode 100644 mayor-orig/www/include/share/facebook/PersistentData/FacebookMemoryPersistentDataHandler.php create mode 100644 mayor-orig/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php create mode 100644 mayor-orig/www/include/share/facebook/PersistentData/PersistentDataFactory.php create mode 100644 mayor-orig/www/include/share/facebook/PersistentData/PersistentDataInterface.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorInterface.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorTrait.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php create mode 100644 mayor-orig/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php create mode 100644 mayor-orig/www/include/share/facebook/SignedRequest.php create mode 100644 mayor-orig/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php create mode 100644 mayor-orig/www/include/share/facebook/Url/FacebookUrlManipulator.php create mode 100644 mayor-orig/www/include/share/facebook/Url/UrlDetectionInterface.php create mode 100644 mayor-orig/www/include/share/facebook/autoload.php create mode 100644 mayor-orig/www/include/share/facebook/polyfills.php create mode 100644 mayor-orig/www/include/share/gd/imagefilter.php create mode 100644 mayor-orig/www/include/share/googleapi/autoload.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/ClassLoader.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_classmap.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_files.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_namespaces.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_psr4.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_real.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/autoload_static.php create mode 100644 mayor-orig/www/include/share/googleapi/composer/installed.json create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/README.md create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.lock create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/package.xml create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/ExpiredException.php create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/JWT.php create mode 100644 mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/.gitignore create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/.travis.yml create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/CONTRIBUTING.md create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/README.md create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/phpunit.xml create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AppContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/VideoContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RequestUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Course.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Courses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/SharedDriveFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/UserProfile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CloudbuildEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/FileHashes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Debuggee.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Variable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1GetConfigResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleRpcStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1GetConfigResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleRpcStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Lien.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Cardinality.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/ListReposResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionAlternative.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/ListTracesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportedErrorEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Cluster.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateClusterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ServerConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/RuntimeEnvironment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Cluster.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterOutputLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CigarUnit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Variant.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/IamEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountKeysResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Option.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PublicProfile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconNamespace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigRef.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DeleteServiceStrategy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Diagnostic.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Http.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Documentation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Endpoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Database.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Instance.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionAlternative.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/GoogleServiceAccounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Video.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/tests/ServiceTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/.gitattributes create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/README.md create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle5AuthHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Client.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Collection.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Exception.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/Batch.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Model.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Retryable.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Runner.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php create mode 100644 mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/autoload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/.editorconfig create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/.gitignore create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/.php_cs create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/.travis.yml create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/CONTRIBUTING.md create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/COPYING create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/README.md create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/autoload.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/phpunit.xml.dist create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Cache/Item.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/CacheTrait.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/CredentialsLoader.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle5HttpHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/AuthTokenMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/OAuth2.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/BaseTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/OAuth2Test.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/bootstrap.php create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.json create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.pem create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/public.pem create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/private.json create mode 100644 mayor-orig/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/README.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJar.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ClientException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ConnectException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/GuzzleException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/RequestException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/TransferException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactory.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/StreamHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RetryMiddleware.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/Makefile create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/README.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/CancellationException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/Coroutine.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/PromisorInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/RejectedPromise.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/functions.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/README.md create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/PumpStream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php create mode 100644 mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/.php_cs create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/README.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/doc/01-usage.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/doc/04-extending.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/doc/sockets.md create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php create mode 100644 mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/README.md create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.lock create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php create mode 100644 mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/openssl.cnf create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/LICENSE.txt create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/README.md create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/src/CacheException.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/src/CacheItemInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/src/CacheItemPoolInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/cache/src/InvalidArgumentException.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/CHANGELOG.md create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/README.md create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/composer.json create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/MessageInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/RequestInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/ResponseInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/ServerRequestInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/StreamInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/UploadedFileInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/http-message/src/UriInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/.gitignore create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/LICENSE create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LogLevel.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerAwareTrait.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerTrait.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/README.md create mode 100644 mayor-orig/www/include/share/googleapi/psr/log/composer.json create mode 100644 mayor-orig/www/include/share/net/class.smtp.php create mode 100644 mayor-orig/www/include/share/net/facebook.php create mode 100644 mayor-orig/www/include/share/net/googleapi.php create mode 100644 mayor-orig/www/include/share/net/phpmailer.php create mode 100644 mayor-orig/www/include/share/net/rest.php create mode 100644 mayor-orig/www/include/share/net/upload.php create mode 100644 mayor-orig/www/include/share/print/pdf.php create mode 100644 mayor-orig/www/include/share/session/accountInfo.php create mode 100644 mayor-orig/www/include/share/session/attrs.php create mode 100644 mayor-orig/www/include/share/session/base.php create mode 100644 mayor-orig/www/include/share/session/close.php create mode 100644 mayor-orig/www/include/share/ssl/ssl.php create mode 100644 mayor-orig/www/include/share/str/hyphen.php create mode 100644 mayor-orig/www/include/share/str/tex.php create mode 100644 mayor-orig/www/index.php create mode 100644 mayor-orig/www/lang/de_DE/backend/ldap/attrs.php create mode 100644 mayor-orig/www/lang/de_DE/module-auth/login.php create mode 100644 mayor-orig/www/lang/de_DE/module-password/changeMyPassword.php create mode 100644 mayor-orig/www/lang/de_DE/module-password/changePassword.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/accountInfo.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/createAccount.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/createGroup.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/download.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/groupInfo.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/search/searchAccount.php create mode 100644 mayor-orig/www/lang/de_DE/module-session/search/searchGroup.php create mode 100644 mayor-orig/www/lang/de_DE/share/session/attrs.php create mode 100644 mayor-orig/www/lang/en_US/backend/ldap/attrs.php create mode 100644 mayor-orig/www/lang/en_US/base/base.php create mode 100644 mayor-orig/www/lang/en_US/date/names.php create mode 100755 mayor-orig/www/lang/en_US/module-auth/login.php create mode 100644 mayor-orig/www/lang/en_US/module-password/changeMyPassword.php create mode 100644 mayor-orig/www/lang/en_US/module-password/changePassword.php create mode 100644 mayor-orig/www/lang/en_US/module-session/accountInfo.php create mode 100644 mayor-orig/www/lang/en_US/module-session/createAccount.php create mode 100644 mayor-orig/www/lang/en_US/module-session/createGroup.php create mode 100644 mayor-orig/www/lang/en_US/module-session/download.php create mode 100644 mayor-orig/www/lang/en_US/module-session/groupInfo.php create mode 100644 mayor-orig/www/lang/en_US/module-session/search/searchAccount.php create mode 100644 mayor-orig/www/lang/en_US/module-session/search/searchGroup.php create mode 100644 mayor-orig/www/lang/en_US/share/session/attrs.php create mode 100644 mayor-orig/www/lang/hu_HU/backend/ads/attrs.php create mode 100644 mayor-orig/www/lang/hu_HU/backend/ldap/attrs.php create mode 100644 mayor-orig/www/lang/hu_HU/backend/ldapng/attrs.php create mode 100644 mayor-orig/www/lang/hu_HU/backend/mysql/attrs.php create mode 100644 mayor-orig/www/lang/hu_HU/base/base.php create mode 100644 mayor-orig/www/lang/hu_HU/date/names.php create mode 100644 mayor-orig/www/lang/hu_HU/module-auth/forgotten.php create mode 100644 mayor-orig/www/lang/hu_HU/module-auth/login.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/azonositok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/csoportok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/fillhaladasi.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/intezmenyek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/rpcPrivilege.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/szemeszterek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/szuloiAzonositok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/tanevek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/admin/tankorok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/base.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesTipus.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/info.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/ujBejegyzes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/diakValaszto.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/ertekeles.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/kerdoivBetoltes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/osszesites.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/esemeny/esemenyDiak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/esemeny/jelentkezes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/esemeny/ujEsemeny.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/bizonyitvany.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/diakExport.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/kirBizonyitvanyExport.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/kreta.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/sulix.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/tanarOsztalyOraszam.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/export/tantargyFelosztas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elmaradas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elszamolas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/haladasi.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/helyettesites.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/hetes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/minuszora.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/ora.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/oralatogatas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/osszevonas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/pluszora.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/specialis.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/stat.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/haladasi/teremModositas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakIgazolatlan.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakLista.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/info.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/nap.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/oktstat.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/ora.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztaly.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztalyNap.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/admin.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/hibabejelento.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnokFeliratkozas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakExport.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakFelmentes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakStatusz.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakSzulo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/felmentes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepesitesek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesOraterv.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesTankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/munkakozosseg.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/osztaly.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tanar.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorDiak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorLetszam.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorSzemeszter.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanar.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanarHozzarendeles.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/terem.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tovabbkepzes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/valtas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/zaradek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/koszi/esemenyAdmin.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/koszi/koszi.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/koszi/kosziAdmin.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/naplo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/ertesito.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/helyettesitesinaplo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/osztalyozonaplo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniEvVegiJegyzokonyv.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniHaviJegyzokonyv.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/tankorNaplohozRendeles.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/zaradekok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/ascExport.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/helyettesites.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarend.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendBetolto.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendEllenorzes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendModosito.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTeremModositas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/szabadTerem.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/tanarOrarend.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/orarend/termez.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizelomenetel.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizonyitvany.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/diak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/dolgozat.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/jegy.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/stat.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szempontRendszer.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szovegesErtekeles.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/tankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/targySorrend.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsga.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsgaJelentkezes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/diak.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/ertekeles.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/file.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/hianyzas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/osztalyzatok.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/share/tanar.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/sni/diakAllapot.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/sni/fejlesztesiTerv.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/sni/tantargyiFeljegyzesek.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/stat/letszam.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/szulinap.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/checkStatus.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/diakTanarai.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/fogadoOra.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/helyettesites.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/munkaterv.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorBlokk.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorCsoport.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/targyBontas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosOrarendLezaras.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosTankorLezaras.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetInfo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetJovahagyas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetLeadas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetModositas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetTankor.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/ujTanmenet.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/uzeno/postas.php create mode 100644 mayor-orig/www/lang/hu_HU/module-naplo/uzeno/uzeno.php create mode 100644 mayor-orig/www/lang/hu_HU/module-password/changeMyPassword.php create mode 100644 mayor-orig/www/lang/hu_HU/module-password/changePassword.php create mode 100644 mayor-orig/www/lang/hu_HU/module-password/resetPassword.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/accountInfo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/admin/knownNodes.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/admin/registration.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/createAccount.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/createGroup.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/download.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/groupInfo.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/search/searchAccount.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/search/searchGroup.php create mode 100644 mayor-orig/www/lang/hu_HU/module-session/sessionAdmin.php create mode 100644 mayor-orig/www/lang/hu_HU/share/session/attrs.php create mode 100644 mayor-orig/www/lang/jp_JP/date/names.php create mode 100644 mayor-orig/www/lang/jp_JP/module-auth/login.php create mode 100644 mayor-orig/www/lang/jp_JP/module-password/changeMyPassword.php create mode 100644 mayor-orig/www/lang/jp_JP/module-password/changePassword.php create mode 100644 mayor-orig/www/lang/jp_JP/module-session/accountInfo.php create mode 100644 mayor-orig/www/lang/jp_JP/share/session/attrs.php create mode 100644 mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php create mode 100644 mayor-orig/www/policy/parent/naplo/diakValaszto.php create mode 120000 mayor-orig/www/policy/parent/naplo/hirnok create mode 100644 mayor-orig/www/policy/parent/naplo/naplo-pre.php create mode 100644 mayor-orig/www/policy/parent/naplo/naplo.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/admin-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/admin.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/azonositok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/azonositok.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/checksql-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/checksql.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/csoportok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/csoportok.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/fillhaladasi-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/fillhaladasi.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/import-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/import.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/install-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/install.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/intezmenyek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/intezmenyek.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/rpcPrivilege-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/rpcPrivilege.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/szemeszterek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/szemeszterek.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/tanevek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/tanevek.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/tankorok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/admin/tankorok.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/info-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/info.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes.php create mode 100644 mayor-orig/www/policy/private/naplo/error-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/error.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/ertekeles-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/ertekeles.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/export-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/export.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/osszesites-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/ertekeles/osszesites.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/esemeny-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/esemeny.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/jelentkezes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/jelentkezes.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny.php create mode 100644 mayor-orig/www/policy/private/naplo/export/bizonyitvany-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/bizonyitvany.php create mode 100644 mayor-orig/www/policy/private/naplo/export/diakExport-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/diakExport.php create mode 100644 mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport.php create mode 100644 mayor-orig/www/policy/private/naplo/export/kreta-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/kreta.php create mode 100644 mayor-orig/www/policy/private/naplo/export/sulix-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/sulix.php create mode 100644 mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam.php create mode 100644 mayor-orig/www/policy/private/naplo/export/tantargyFelosztas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/export/tantargyFelosztas.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/elmaradas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/elmaradas.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/elszamolas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/elszamolas.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/haladasi-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/haladasi.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/helyettesites-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/helyettesites.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/hetes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/hetes.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/minuszora-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/minuszora.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/ora-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/ora.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/oralatogatas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/oralatogatas.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/osszevonas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/osszevonas.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/pluszora-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/pluszora.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/specialis-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/specialis.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/stat.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/tankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/tankor.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/teremModositas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/haladasi/teremModositas.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diak-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diak.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diakLista-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/diakLista.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/hianyzas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/hianyzas.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/info-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/info.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/nap-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/nap.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/oktstat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/oktstat.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/ora-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/ora.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/osztaly-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/osztaly.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap.php create mode 100644 mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hibabejelento/admin.php create mode 100644 mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/cronFutar-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/hirnok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/hirnok.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diak-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diak.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakExport-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakExport.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakTankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakTankor.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/felmentes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/felmentes.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/intezmeny-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/intezmeny.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepzes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepzes.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/osztaly-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/osztaly.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/szulo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/szulo.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tanar-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tanar.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankor.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tantargyFelosztas.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/terem-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/terem.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/valtas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/valtas.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/verseny-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/verseny.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/zaradek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/intezmeny/zaradek.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/koszi-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/koszi.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/kosziAdmin-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/koszi/kosziAdmin.php create mode 100644 mayor-orig/www/policy/private/naplo/naplo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/naplo.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/ertesito-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/ertesito.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/torzslap-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/torzslap.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/ascExport-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/ascExport.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/helyettesites-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/helyettesites.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarend-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarend.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendBetolto-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendBetolto.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendModosito-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendModosito.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendTankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendTankor.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/szabadTerem-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/szabadTerem.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/tanarOrarend-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/tanarOrarend.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/termez-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/orarend/termez.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/diak-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/diak.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/jegy-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/jegy.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/stat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/stat.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/tankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/tankor.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/vizsga-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/vizsga.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/diakAllapot-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/diakAllapot.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/sni-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/sni.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/lemorzsolodas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/lemorzsolodas.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/letszam-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/letszam.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas.php create mode 100644 mayor-orig/www/policy/private/naplo/szulinap-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/szulinap.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/checkStatus-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/checkStatus.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/diakTanarai-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/diakTanarai.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/fogadoOra-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/fogadoOra.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/munkaterv-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/munkaterv.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tanev-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tanev.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tankorBlokk-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tankorBlokk.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tankorCsoport-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/tankorCsoport.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/targyBontas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/targyBontas.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/targyOraszam-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/targyOraszam.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenet-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenet.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/ajax.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/ajaxExample.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/dolgozatAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getDiakAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getJegyAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getOraAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getOsztalyAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getSzuloAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getTanarAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getTankorAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/getZaroJegyAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/intezmenyNev-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/intezmenyNev.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/jegyzetAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/kereso-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/napAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/oid.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/oraAdat-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/tankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/tankorLista-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/tankorMod-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/tools/ujTankor-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/uzeno/postas-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/uzeno/postas.php create mode 100644 mayor-orig/www/policy/private/naplo/uzeno/uzeno-pre.php create mode 100644 mayor-orig/www/policy/private/naplo/uzeno/uzeno.php create mode 100644 mayor-orig/www/policy/private/password/changePassword-pre.php create mode 100644 mayor-orig/www/policy/private/password/changePassword.php create mode 100644 mayor-orig/www/policy/private/portal/start.php create mode 100644 mayor-orig/www/policy/private/session/accountInfo-pre.php create mode 100644 mayor-orig/www/policy/private/session/accountInfo.php create mode 100644 mayor-orig/www/policy/private/session/admin/knownNodes-pre.php create mode 100644 mayor-orig/www/policy/private/session/admin/knownNodes.php create mode 100644 mayor-orig/www/policy/private/session/admin/registration-pre.php create mode 100644 mayor-orig/www/policy/private/session/admin/registration.php create mode 100644 mayor-orig/www/policy/private/session/createAccount-pre.php create mode 100644 mayor-orig/www/policy/private/session/createAccount.php create mode 100644 mayor-orig/www/policy/private/session/createGroup-pre.php create mode 100644 mayor-orig/www/policy/private/session/createGroup.php create mode 100644 mayor-orig/www/policy/private/session/download-pre.php create mode 100644 mayor-orig/www/policy/private/session/download.php create mode 100644 mayor-orig/www/policy/private/session/facebookConnect-pre.php create mode 100644 mayor-orig/www/policy/private/session/facebookConnect.php create mode 100644 mayor-orig/www/policy/private/session/googleapi-pre.php create mode 100644 mayor-orig/www/policy/private/session/googleapi.php create mode 100644 mayor-orig/www/policy/private/session/groupInfo-pre.php create mode 100644 mayor-orig/www/policy/private/session/groupInfo.php create mode 100644 mayor-orig/www/policy/private/session/search/searchAccount-pre.php create mode 100644 mayor-orig/www/policy/private/session/search/searchAccount.php create mode 100644 mayor-orig/www/policy/private/session/search/searchGroup-pre.php create mode 100644 mayor-orig/www/policy/private/session/search/searchGroup.php create mode 100644 mayor-orig/www/policy/private/session/session-pre.php create mode 100644 mayor-orig/www/policy/private/session/session.php create mode 100644 mayor-orig/www/policy/private/session/sessionAdmin-pre.php create mode 100644 mayor-orig/www/policy/private/session/sessionAdmin.php create mode 100644 mayor-orig/www/policy/public/auth/forgotten-pre.php create mode 100644 mayor-orig/www/policy/public/auth/forgotten.php create mode 100644 mayor-orig/www/policy/public/auth/login-pre.php create mode 100644 mayor-orig/www/policy/public/auth/login.php create mode 100644 mayor-orig/www/policy/public/naplo/rpc/rpc-pre.php create mode 100644 mayor-orig/www/policy/public/naplo/rpc/rpc.php create mode 100644 mayor-orig/www/policy/public/password/changeMyPassword-pre.php create mode 100644 mayor-orig/www/policy/public/password/changeMyPassword.php create mode 100644 mayor-orig/www/policy/public/password/resetPassword-pre.php create mode 100644 mayor-orig/www/policy/public/password/resetPassword.php create mode 100644 mayor-orig/www/policy/public/portal/rpc/rpc-pre.php create mode 100644 mayor-orig/www/policy/public/portal/start.php create mode 100644 mayor-orig/www/policy/public/rpc/naplo/rpc-pre.php create mode 100644 mayor-orig/www/policy/public/rpc/rpc-pre.php create mode 100644 mayor-orig/www/policy/public/session/logout-pre.php create mode 100644 mayor-orig/www/policy/public/session/set-pre.php create mode 100644 mayor-orig/www/skin/ajax/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/ajax/base/html/base.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/skin/ajax/module-naplo/css/orarend/orarend.css create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/admin/tanevek.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/base.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/bejegyzesek/info.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/haladasi/haladasi.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/hianyzas/info.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml create mode 100644 mayor-orig/www/skin/ajax/module-naplo/html/orarend/orarend.phtml create mode 100644 mayor-orig/www/skin/blue/base/color_schemes.php create mode 100644 mayor-orig/www/skin/blue/base/css/base.css create mode 100644 mayor-orig/www/skin/blue/base/css/base.php create mode 100644 mayor-orig/www/skin/blue/base/html/base.phtml create mode 100644 mayor-orig/www/skin/blue/base/img/favicon.ico create mode 100644 mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig create mode 100644 mayor-orig/www/skin/blue/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/classic/base/css/base.css create mode 100644 mayor-orig/www/skin/classic/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/classic/base/html/base.phtml create mode 100644 mayor-orig/www/skin/classic/base/img/ajaxLoad.gif create mode 100644 mayor-orig/www/skin/classic/base/img/alert.png create mode 100644 mayor-orig/www/skin/classic/base/img/favicon.ico create mode 100644 mayor-orig/www/skin/classic/base/img/flags/de_DE.gif create mode 100644 mayor-orig/www/skin/classic/base/img/flags/en_US.gif create mode 100644 mayor-orig/www/skin/classic/base/img/flags/hu_HU.gif create mode 100644 mayor-orig/www/skin/classic/base/img/flags/jp_JP.gif create mode 100644 mayor-orig/www/skin/classic/base/img/gradient.jpg create mode 100644 mayor-orig/www/skin/classic/base/img/gradient.png create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl-flip.png create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl-marc15.png create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl-santa.png create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl.gif create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl.jpg create mode 100644 mayor-orig/www/skin/classic/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/classic/base/img/policy/parent.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/parent100.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/parent100.png create mode 100644 mayor-orig/www/skin/classic/base/img/policy/private.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/private100.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/private100.png create mode 100644 mayor-orig/www/skin/classic/base/img/policy/public.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/public100.gif create mode 100644 mayor-orig/www/skin/classic/base/img/policy/public100.png create mode 100644 mayor-orig/www/skin/classic/base/javascript/base.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/base/javascript/jquery-1.8.3.min.js create mode 100644 mayor-orig/www/skin/classic/base/javascript/jquery.min.js create mode 100644 mayor-orig/www/skin/classic/base/javascript/noiframe.js create mode 100644 mayor-orig/www/skin/classic/module-auth/css/forgotten.css create mode 100644 mayor-orig/www/skin/classic/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml create mode 100644 mayor-orig/www/skin/classic/module-auth/html/login.phtml create mode 100644 mayor-orig/www/skin/classic/module-auth/img/login.gif create mode 100644 mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/azonositok.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/csoportok.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/import.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/intezmenyek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/rpcPrivilege.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/szemeszterek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/szuloiAzonositok.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/tanevek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/admin/tankorok.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/bejegyzesek/bejegyzesTipus.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/bejegyzesek/bejegyzesek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/bejegyzesek/ujBejegyzes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/diakValaszto.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/ertekeles/ertekeles.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/ertekeles/kerdoivBetoltes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/esemeny/esemenyDiak.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/esemeny/jelentkezes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/esemeny/ujEsemeny.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/export/bizonyitvany.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/export/diakExport.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/export/kreta.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/export/sulix.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/export/tantargyFelosztas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/elmaradas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/elszamolas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/haladasi.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/helyettesites.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/hetes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/minuszora.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/oralatogatas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/osszevonas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/pluszora.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/specialis.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/stat.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/haladasi/teremModositas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/diak.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/diakIgazolatlan.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/diakLista.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/info.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/nap.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/oktstat.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/ora.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/osztaly.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hianyzas/osztalyNap.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hibabejelento/admin.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hibabejelento/hibabejelento.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hirnok/cronFutar.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/hirnok/hirnok.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diak.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakExport.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakFelmentes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakStatusz.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakSzulo.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakTankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diakTankorJelentkezes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/felmentes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/kepesitesek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/kepzes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/kepzesOraterv.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/kepzesTankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/munkakozosseg.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/osztaly.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tanar.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankorDiak.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankorLetszam.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankorSzemeszter.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankorTanar.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tankorTanarHozzarendeles.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/terem.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/tovabbkepzes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/valtas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/intezmeny/zaradek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/koszi/esemenyAdmin.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/koszi/koszi.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/koszi/kosziAdmin.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/nyomtatas/diakTankorJelentkezes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/nyomtatas/helyettesitesinaplo.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/nyomtatas/osztalyozonaplo.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/nyomtatas/tankorNaplohozRendeles.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/ascExport.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/helyettesites.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarend.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarendBetolto.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarendEllenorzes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarendModosito.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarendTankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/orarendTeremModositas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/szabadTerem.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/tanarOrarend.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/orarend/termez.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/bizelomenetel.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/bizonyitvany.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/diak.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/dolgozat.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/jegy.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/stat.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/szempontRendszer.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/szovegesErtekeles.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/tankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/targySorrend.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/vizsga.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/vizsgaJelentkezes.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/osztalyozo/zaroJegyCheck.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/sni/diakAllapot.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/sni/fejlesztesiTerv.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/sni/tantargyiFeljegyzesek.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/stat/lemorzsolodas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/stat/letszam.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/stat/tantargyFelosztas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/diakTanarai.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/fogadoOra.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/munkaterv.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/tankorBlokk.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/tankorCsoport.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/targyBontas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/targyOraszam.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/vegzosOrarendLezaras.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanev/vegzosTankorLezaras.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/tanmenetInfo.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/tanmenetJovahagyas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/tanmenetLeadas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/tanmenetModositas.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/tanmenetTankor.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/tanmenet/ujTanmenet.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/css/uzeno/uzeno.css create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/azonositok.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/csoportok.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/fillhaladasi.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/import.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/intezmenyek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/rpcPrivilege.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/szemeszterek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/szuloiAzonositok.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/tanevek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/admin/tankorok.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/base.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/bejegyzesek/bejegyzesTipus.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/bejegyzesek/bejegyzesek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/bejegyzesek/info.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/bejegyzesek/ujBejegyzes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/diakValaszto.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/ertekeles/ertekeles.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/ertekeles/kerdoivBetoltes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/esemeny/esemenyDiak.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/esemeny/jelentkezes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/esemeny/ujEsemeny.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/bizonyitvany.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/diakExport.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/kreta.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/sulix.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/tanarOsztalyOraszam.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/export/tantargyFelosztas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/elmaradas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/elszamolas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/helyettesites.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/hetes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/minuszora.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/ora.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/oralatogatas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/osszevonas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/pluszora.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/specialis.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/stat.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/tankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/haladasi/teremModositas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/diak.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/diakIgazolatlan.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/diakLista.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/info.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/nap.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/oktstat.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/ora.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/osztaly.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hianyzas/osztalyNap.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hibabejelento/admin.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hibabejelento/hibabejelento.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hirnok/cronFutar.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnok.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnokFeliratkozas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diak.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakExport.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakFelmentes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakStatusz.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakSzulo.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakTankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diakTankorJelentkezes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/felmentes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/kepesitesek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/kepzes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/kepzesOraterv.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/munkakozosseg.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tanar.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankorDiak.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankorLetszam.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankorSzemeszter.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankorTanar.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankorTanarHozzarendeles.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/terem.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tovabbkepzes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/verseny.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/intezmeny/zaradek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/koszi/esemenyAdmin.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/koszi/koszi.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/koszi/kosziAdmin.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/naplo.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/nyomtatas/diakTankorJelentkezes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/nyomtatas/helyettesitesinaplo.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/nyomtatas/osztalyozonaplo.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/nyomtatas/tankorNaplohozRendeles.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/ascExport.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/helyettesites.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarend.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendBetolto.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendEllenorzes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendLoad.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendTankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendTeremModositas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/szabadTerem.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/tanarOrarend.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/orarend/termez.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/bizelomenetel.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/bizonyitvany.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/diak.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/dolgozat.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/jegy.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/szempontRendszer.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/szovegesErtekeles.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/targySorrend.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/vizsga.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/vizsgaJelentkezes.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/zaroJegyCheck.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/email.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/face.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/file.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/hianyzas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/jegy.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/share/orarend.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/sni/diakAllapot.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/sni/fejlesztesiTerv.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/sni/tantargyiFeljegyzesek.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/stat/lemorzsolodas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/stat/letszam.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/checkStatus.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/diakTanarai.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/fogadoOra.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/munkaterv.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/tankorBlokk.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/tankorCsoport.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/targyBontas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/targyOraszam.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/vegzosOrarendLezaras.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanev/vegzosTankorLezaras.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/tanmenetInfo.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/tanmenetJovahagyas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/tanmenetLeadas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/tanmenetModositas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/tanmenetTankor.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/tanmenet/ujTanmenet.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/uzeno/postas.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/html/uzeno/uzeno.phtml create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/garfield.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/kutya.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/majom.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/nyuszi.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/pingvin.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/smiley.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/anim/tux-hard.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/cr.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/fel.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/flipper/adatok.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/flipper/nevsor.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/helyettesites/csere.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/helyettesites/kez.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/helyettesites/mozgat.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/helyettesites/ora.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/change.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/felkjel.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/green.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/h.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/i.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/pin.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/red-pin.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/red.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/sum.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/ter-pin.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/yellow-pin.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hianyzas/yellow.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hibabejelento/buggie.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/hibabejelento/buggie.svg create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/io/kreta.svg create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/le.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/print.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/tankorok/gold_box.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/tankorok/gray-pixel.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/tanmenet/close.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/tanmenet/updown.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/toggle.png create mode 100644 mayor-orig/www/skin/classic/module-naplo/img/toolSubmit.gif create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/admin/regisztracio.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/admin/regisztracio.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/admin/szemeszterek.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/ertekeles/ertekeles.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/esemeny/esemenyDiak.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/esemeny/jelentkezes.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/esemeny/ujEsemeny.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/export/diakExport.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/export/diakExport.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/haladasi/elszamolas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/haladasi/haladasi.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/haladasi/helyettesites.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/haladasi/pluszora.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/hianyzas/info.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/hianyzas/nap.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/hianyzas/nap.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/hianyzas/ora.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/hianyzas/ora.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/diak.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/diakFelmentes.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/diakStatusz.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/diakSzulo.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/diakTankorJelentkezes.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/kepesitesek.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/kepzesOraterv.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/osztaly.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/tanar.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/tankor.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/tankorDiak.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/tankorTanarHozzarendeles.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/tovabbkepzes.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/intezmeny/zaradek.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarend.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarendModosito.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarendModosito.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/orarend/termez.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/osztalyozo/diak.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/osztalyozo/stat.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/osztalyozo/tankor.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/osztalyozo/targySorrend.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/osztalyozo/vizsga.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/stat/tantargyFelosztas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/tanev/targyBontas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/tanmenet/tanmenetJovahagyas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/tanmenet/tanmenetModositas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/tanmenet/tanmenetTankor.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/uzeno/postas.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/uzeno/postas.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/uzeno/uzeno.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/uzeno/uzeno.js create mode 100644 mayor-orig/www/skin/classic/module-password/css/password.css create mode 100644 mayor-orig/www/skin/classic/module-password/html/changeMyPassword.phtml create mode 100644 mayor-orig/www/skin/classic/module-password/html/changePassword.phtml create mode 100644 mayor-orig/www/skin/classic/module-password/html/resetPassword.phtml create mode 100644 mayor-orig/www/skin/classic/module-password/javascript/changeMyPassword.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-session/css/accountInfo.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/admin/knownNodes.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/admin/registration.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/createAccount.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/createGroup.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/download.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/facebookConnect.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/googleapi.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/groupInfo.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/search/searchAccount.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/search/searchGroup.css create mode 100644 mayor-orig/www/skin/classic/module-session/css/sessionAdmin.css create mode 100644 mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/createAccount.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/createGroup.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/download.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/googleapi.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml create mode 100644 mayor-orig/www/skin/classic/module-session/img/download.gif create mode 100644 mayor-orig/www/skin/classic/module-session/javascript/createAccount.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/module-session/javascript/googleapi.jquery.min.js create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/aac.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/ai.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/aiff.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/avi.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/bmp.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/c.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/css.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/dat.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/dmg.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/doc.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/dotx.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/dwg.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/dxf.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/eps.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/exe.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/flv.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/gif.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/h.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/hpp.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/html.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/ics.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/iso.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/java.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/jpg.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/key.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/mid.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/mp3.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/mp4.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/mpg.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/odf.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/odt.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/otp.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/ots.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/ott.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/pdf.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/php.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/png.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/ppt.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/psd.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/py.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/qt.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/rar.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/rb.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/rtf.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/sql.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/tga.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/tgz.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/tiff.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/txt.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/wav.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/xls.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/xlsx.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/xml.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/yml.png create mode 100644 mayor-orig/www/skin/classic/share/img/filetypes/zip.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/MIT-LICENSE create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/README create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/blank_iframe.html create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/images/calendar_date_select/calendar.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_american.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_db.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_finnish.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_iso_date.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_italian.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/format_mayor.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/fi.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/hu.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/jp.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/javascripts/calendar_date_select/locale/pl.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/blue.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/default.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/plain.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/silver.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/ColReorder.min.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/css/ColReorder.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/css/jquery.dataTables.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/back_disabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/back_enabled_hover.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/forward_disabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/forward_enabled_hover.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/insert.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/sort_asc_disabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/sort_both.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/sort_desc_disabled.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/images/unchecked.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.columnFilter.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-dataTables/jquery.dataTables.min.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/animated-overlay.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_222222_256x240.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_2e83ff_256x240.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_454545_256x240.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_888888_256x240.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/images/ui-icons_cd0a0a_256x240.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-i18n.min.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/jquery-ui/jquery-ui.min.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/changelog.txt create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/custom create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_arrow.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_back.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_cellid.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_checkpw.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_deleteimage.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_download.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_explorer.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_flip.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_fullimg.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_getcustomsettings.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_getsetsettings.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_getuploadinfo.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_basic.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_changeorder.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_delete.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_explorer.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_framework.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_managefolders.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_settings.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_upload.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/ki_include.php create mode 100644 mayor-orig/www/skin/classic/share/javascript/koschtit/readme.txt create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/MIT-LICENSE create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/builder.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/controls.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/dragdrop.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/effects.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/scriptaculous.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/slider.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/sound.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/scriptaculous/unittest.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/langs/de.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/langs/en.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/langs/hu.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/langs/ja.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/license.txt create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/css/advhr.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/js/rule.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advhr/rule.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/css/advimage.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/image.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/media.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/preview.html create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/merge_cells.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/row.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/table.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/template.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/about.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/image.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png create mode 100644 mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce_src.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/utils/editable_selects.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/utils/form_utils.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/utils/mctabs.js create mode 100755 mayor-orig/www/skin/classic/share/javascript/tiny_mce/utils/validate.js create mode 100644 mayor-orig/www/skin/cron/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/cron/base/html/base.phtml create mode 100644 mayor-orig/www/skin/default/base/css/Elusive-Icons.eot create mode 100644 mayor-orig/www/skin/default/base/css/Elusive-Icons.svg create mode 100644 mayor-orig/www/skin/default/base/css/Elusive-Icons.ttf create mode 100644 mayor-orig/www/skin/default/base/css/Elusive-Icons.woff create mode 100644 mayor-orig/www/skin/default/base/css/elusive-webfont.css create mode 100644 mayor-orig/www/skin/default/base/html/base.phtml create mode 100644 mayor-orig/www/skin/gray/base/css/base.css create mode 100644 mayor-orig/www/skin/oldschool/base/css/base.css create mode 100644 mayor-orig/www/skin/oldschool/base/css/head.css create mode 100644 mayor-orig/www/skin/oldschool/base/html/base.phtml create mode 100644 mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/oldschool/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/pda/base/css/base.css create mode 100644 mayor-orig/www/skin/pda/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/pda/base/html/base.phtml create mode 100644 mayor-orig/www/skin/pda/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/pda/module-auth/html/login.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/haladasi/haladasi.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/hianyzas/osztaly.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/orarend/helyettesites.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/orarend/orarend.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/css/osztalyozo/jegy.css create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/base.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/haladasi/haladasi.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/hianyzas/ora.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/hianyzas/osztaly.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/diak.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/dolgozat.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/jegy.phtml create mode 100644 mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/tankor.phtml create mode 100644 mayor-orig/www/skin/rpc/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/rpc/base/html/base.phtml create mode 100644 mayor-orig/www/skin/rpc/module-naplo/html/base.phtml create mode 100644 mayor-orig/www/skin/sulix/base/css/base.css create mode 100644 mayor-orig/www/skin/sulix/base/html/base.phtml create mode 100644 mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png create mode 100644 mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png create mode 100644 mayor-orig/www/skin/sulix/base/img/favicon.ico create mode 100644 mayor-orig/www/skin/sulix/base/img/fur.png create mode 100644 mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png create mode 100644 mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png create mode 100644 mayor-orig/www/skin/sulix/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/sulix/module-auth/html/login.phtml create mode 100644 mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css create mode 100644 mayor-orig/www/skin/sulix/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css create mode 100644 mayor-orig/www/skin/sulix/module-password/css/password.css create mode 100644 mayor-orig/www/skin/sulix/share/css/calendar_date_select.css create mode 100644 mayor-orig/www/skin/sza2010/base/css/base.css create mode 100644 mayor-orig/www/skin/sza2010/base/css/head.css create mode 100644 mayor-orig/www/skin/sza2010/base/html/alert.phtml create mode 100644 mayor-orig/www/skin/sza2010/base/html/base.phtml create mode 100644 mayor-orig/www/skin/sza2010/base/img/bg.png create mode 100644 mayor-orig/www/skin/sza2010/base/img/foot.orig.png create mode 100644 mayor-orig/www/skin/sza2010/base/img/foot.png create mode 100644 mayor-orig/www/skin/sza2010/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/sza2010/base/img/meghivo.png create mode 100644 mayor-orig/www/skin/teszt/base/css/base.css create mode 100644 mayor-orig/www/skin/teszt/base/html/base.phtml create mode 100644 mayor-orig/www/skin/teszt/base/img/MaYoR-star_medium.png create mode 100644 mayor-orig/www/skin/teszt/base/img/MaYoR-star_small.png create mode 100644 mayor-orig/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png create mode 100644 mayor-orig/www/skin/teszt/base/img/MaYoR_rypple.png create mode 100644 mayor-orig/www/skin/teszt/base/img/MaYoR_star.png create mode 100644 mayor-orig/www/skin/teszt/base/img/mayor_small_ssl.png create mode 100644 mayor-orig/www/skin/teszt/base/img/school_logo.php create mode 100644 mayor-orig/www/skin/teszt/base/img/settings.png create mode 100644 mayor-orig/www/skin/teszt/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/vakbarat/base/css/base.css create mode 100644 mayor-orig/www/skin/vakbarat/base/html/base.phtml create mode 100644 mayor-orig/www/skin/vakbarat/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/css/haladasi/haladasi.css create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/css/hianyzas/ora.css create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/css/osztalyozo/diak.css create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/css/uzeno/uzeno.css create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/html/haladasi/haladasi.phtml create mode 100644 mayor-orig/www/skin/vakbarat/module-naplo/html/orarend/orarend.phtml create mode 100644 mayor-orig/www/skin/winter/base/css/base.css create mode 100644 mayor-orig/www/skin/winter/base/css/head.css create mode 100644 mayor-orig/www/skin/winter/base/html/base.phtml create mode 100644 mayor-orig/www/skin/winter/base/img/bg.gif create mode 100644 mayor-orig/www/skin/winter/base/img/bg2.gif create mode 100644 mayor-orig/www/skin/winter/base/img/bg2.jpg create mode 100644 mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif create mode 100644 mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif create mode 100644 mayor-orig/www/skin/winter/module-auth/css/login.css create mode 100644 mayor-orig/www/skin/winter/module-naplo/css/naplo.css create mode 100644 mayor-orig/www/static/hu_HU/legal/pp.html create mode 100644 mayor-orig/www/static/hu_HU/session/admin/registration/readme.html create mode 100644 mayor-orig/www/update.php (limited to 'mayor-orig') diff --git a/mayor-orig/bin/backup.sh b/mayor-orig/bin/backup.sh new file mode 100644 index 00000000..46a11f4b --- /dev/null +++ b/mayor-orig/bin/backup.sh @@ -0,0 +1,192 @@ +#!/bin/bash + +OPT_SPEC="hf:d::" +LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat < /dev/null 2>&1 + if [ $? -ne 0 ]; then + echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!" + echo "MaYoR Backup failure!" + exit 1 + fi +fi +chown $WEB_SERVER_USER $BACKUPDIR +chmod 700 $BACKUPDIR + +if [ -e $BACKUPDIR/$BACKUPFILE.tgz ]; then + echo -e "\n\nERROR: már volt mentés: $BACKUPDIR/$BACKUPFILE.tgz\n" + exit 1 +fi +mkdir $BACKUPDIR/$BACKUPFILE +chown $WEB_SERVER_USER $BACKUPDIR/$BACKUPFILE +chmod 700 $BACKUPDIR/$BACKUPFILE + +## +# mysql adatbázis mentése +## + +if [ "$MYSQL_HOST" == "" ]; then + MYSQL_HOST="localhost" +fi + +if [ -f $MYSQL ]; then + DATABASES='' + for DB in `echo 'SHOW DATABASES' | mysql -h$MYSQL_HOST -p$MYSQL_PW -u$MYSQL_USER`; do + if [[ ! $EXCLUDED_DBS =~ .*$DB.* ]] && { [[ $DB =~ ^mayor.* ]] || [[ $DB =~ ^naplo.* ]] || [[ $DB =~ ^intezmeny.* ]]; } then + DATABASES="$DATABASES $DB" + fi + done + +else + echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n" + exit 2 +fi + +for DATABASE in $DATABASES; do + mysqldump -R -h$MYSQL_HOST -p$MYSQL_PW -u$MYSQL_USER $DATABASE >> $BACKUPDIR/$BACKUPFILE/$DATABASE.sql +done + +## +# A honlap mentése +## + +mkdir $BACKUPDIR/$BACKUPFILE/log +cp -a $BASEDIR/log/revision $BACKUPDIR/$BACKUPFILE/log/revision +cp -a $BASEDIR/www $BACKUPDIR/$BACKUPFILE/www +cp -a $BASEDIR/config $BACKUPDIR/$BACKUPFILE/config + + +if [ "$SAVELDAP" == 1 ]; then + + ## + # Az LDAP adatbázis + ## + + /etc/init.d/slapd stop + sleep 1 + + slapcat -b $BASEDN -l $BACKUPDIR/$BACKUPFILE/ldap.ldif + + cp -a $LDAPDBDIR $BACKUPDIR/$BACKUPFILE/ldap + + /etc/init.d/slapd start + + ## + # LDAP konfig file-ok mentése (schema) + ## + + mkdir $BACKUPDIR/$BACKUPFILE/etc + cp -a $LDAPCONFDIR $BACKUPDIR/$BACKUPFILE/etc/ + +fi + +## +# Becsomagolás +## + +cd $BACKUPDIR +## Ez a korábbi szerintem hibás: +## tar cfz ${BACKUPFILE}.tgz ${DATE} +tar cfz ${BACKUPFILE}.tgz ${BACKUPFILE} +rm -rf $BACKUPFILE +#Debian6 inkompatibilis: tar cfz ${BACKUPFILE}.tgz --remove-files ${BACKUPFILE} + +## +# Mentés átmásolása másik szerverre +# rsync # Losonci János kiegészítése (losy@agymk.sulinet.hu) +## + +if [ "$RSYNC" == 1 ]; then + RSYNCBIN=`which rsync` + if [ "$RSYNCBIN" != "" ]; then + echo $RSYNCBIN -auvE $BACKUPDIR/ $RUSER@$RHOST:$RPATH/ + $RSYNCBIN -auvE $BACKUPDIR/ $RUSER@$RHOST:$RPATH/ + if [ $? -ne 0 ]; then + echo "rsync error!" + fi + fi +fi + +## +# Elavult mentés törlése +## + +declare -i BDAYS=BACKUPDAYS +if [ $BDAYS -gt 0 ]; then + find $BACKUPDIR -mtime +$BDAYS -exec rm {} \; +fi diff --git a/mayor-orig/bin/crypt-backup.sh b/mayor-orig/bin/crypt-backup.sh new file mode 100644 index 00000000..11e10a27 --- /dev/null +++ b/mayor-orig/bin/crypt-backup.sh @@ -0,0 +1,144 @@ +#!/bin/bash +# +# Example: mayor crypt-backup --backup-file=/tmp/wiki.tgz +# Az eredmény a $BACKUPDIR/$DATE-crypt.tgz állományba kerül +# (Vagy jobb lenne, ha a file nevéből venné a nevét?) +# +# TODO: ellenőrizni kell még, hogy van-e openssl és aespipe +# + +OPT_SPEC="hf:d::" +LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat < /dev/null 2>&1 + if [ $? -ne 0 ]; then + echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!" + echo "MaYoR Backup failure!" + exit 3 + fi +fi +CRYPTDIR=$BACKUPDIR/$DATE +if [ ! -e $CRYPTDIR ]; then + mkdir $CRYPTDIR +fi +chown $WEB_SERVER_USER $BACKUPDIR +chmod 700 $BACKUPDIR + +if [ ! -f $BACKUPFILE ]; then + # Próbáljuk meg a mai dátum szerinti backup-ot (alapértelmezés) + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n" + BACKUPFILE=$BACKUPDIR/${BACKUPFILE} + echo "Próbáljuk a mentéi könyvtáron belül: ${BACKUPFILE}" + if [ ! -f $BACKUPFILE ]; then + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n" + BACKUPFILE=$BACKUPDIR/${PREFIX}${DATE}.tgz + echo "Próbáljuk az alapértelmezett állománynevet: ${BACKUPFILE}" + if [ ! -e $BACKUPFILE ]; then + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: (${BACKUPFILE})\n" + exit 3 + fi + fi +fi +BASENAME=`basename $BACKUPFILE` + +# Publikus kulcs lekérdezése +echo 'SELECT publicKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v publicKey | sed -e 's/\\n/\n/g' > $CRYPTDIR/id_rsa.pub + +# Véletlen kulcs generálás a szimmetrikus AES kódoláshoz +pwgen -nc 50 1 > $CRYPTDIR/key.txt + +# AES kódolás +aespipe -P $CRYPTDIR/key.txt -e aes256 < $BACKUPFILE > $CRYPTDIR/$BASENAME.aes + +# A kulcsok RSA kódolása a publikus kulccsal +openssl rsautl -encrypt -inkey $CRYPTDIR/id_rsa.pub -pubin -in $CRYPTDIR/key.txt -out $CRYPTDIR/key.rsa + +# Kulcsok törlése +rm $CRYPTDIR/id_rsa.pub +rm $CRYPTDIR/key.txt + +cd $BACKUPDIR +tar cfz ${DATE}-crypt.tgz ${DATE} +rm -rf $DATE + +echo -e "\nBecsomagolva: $BACKUPDIR/${DATE}-crypt.tgz\n\n" diff --git a/mayor-orig/bin/decrypt-backup.sh b/mayor-orig/bin/decrypt-backup.sh new file mode 100644 index 00000000..9eca4375 --- /dev/null +++ b/mayor-orig/bin/decrypt-backup.sh @@ -0,0 +1,138 @@ +#!/bin/bash +# +# Example: mayor decrypt-backup --crypted-file=/home/backup/20110515-crypt.tgz +# Az eredmény a $BACKUPDIR alá kerül az eredetileg elkódolt állomány nevéből +# származtatott néven: file.kit --> file-decrypt.kit +# +# TODO: ellenőrizni kell még az openssl és az aespipe meglétét +# + +OPT_SPEC="hf:d::" +LONG_OPT_SPEC="help,file:,crypted-file:,dir:,backup-dir::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat < /dev/null 2>&1 + if [ $? -ne 0 ]; then + echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!" + echo "MaYoR Backup failure!" + exit 3 + fi +fi +chown $WEB_SERVER_USER $BACKUPDIR +chmod 700 $BACKUPDIR + +# bejövő paraméterek feldolgozása (crypted-file) +if [ ! -f $FILE ]; then + echo -e " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}\n" + FILE=$BACKUPDIR/${FILE} + echo "Próbáljuk a mentési könyvtárban (${FILE})" + if [ ! -f $FILE ]; then + echo -e " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}\n" + FILE=$BACKUPDIR/${PREFIX}${DATE}-crypt.tgz + echo "Próbáljuk az alapértelmezett állományt (${FILE})" + if [ ! -e $FILE ]; then + echo " HIBA: Hiányzik a dekódolandó mentési állomámny: ${FILE}" + exit 4 + fi + fi +fi +BASENAME=`basename $FILE` + +cd $BACKUPDIR +tar xfz $FILE +TARFILES=`tar tf $FILE` +SUBDIR=`for f in $TARFILES; do echo $f; break; done` +AESFILE=`echo $TARFILES | sed -e 's/ /\n/g' | grep '.aes'` +AESBASE=`basename $AESFILE | sed -e 's/.aes//g'` +DECRYPTFILE=`echo $AESBASE | sed -e 's/\.\([a-z]*\)$/-decrypt\.\1/'` + +# A privát kulcs lekérdezése +echo 'SELECT privateKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v privateKey | sed -e 's/\\n/\n/g' > $BACKUPDIR/$SUBDIR/id_rsa + +# AES kulcs dekódolása +openssl rsautl -decrypt -inkey $BACKUPDIR/$SUBDIR/id_rsa -in $BACKUPDIR/$SUBDIR/key.rsa -out $BACKUPDIR/$SUBDIR/key.txt + +# AES dekódolás (feltételezzük, hogy az eredmény tgz +aespipe -P $BACKUPDIR/$SUBDIR/key.txt -d -e aes256 < $BACKUPDIR/$AESFILE > $BACKUPDIR/$DECRYPTFILE + +# Törlés +rm -rf $BACKUPDIR/$SUBDIR + +echo -e "\nKicsomagolva: $BACKUPDIR/$DECRYPTFILE\n\n" diff --git a/mayor-orig/bin/etc/cron.daily/mayor b/mayor-orig/bin/etc/cron.daily/mayor new file mode 100755 index 00000000..815cc023 --- /dev/null +++ b/mayor-orig/bin/etc/cron.daily/mayor @@ -0,0 +1,13 @@ +#!/bin/bash + +# A helyes környezet beállítása (svn alapú frissítés esetén az ékezetes file-nevekhez) +export LANG=hu_HU.UTF-8 + +# Napló napi mentése +/usr/local/sbin/mayor backup + +# Heti frissítés +if [ `date +'%w'` == 0 ]; then + /usr/local/sbin/mayor update +fi + diff --git a/mayor-orig/bin/help.sh b/mayor-orig/bin/help.sh new file mode 100644 index 00000000..e983ccd3 --- /dev/null +++ b/mayor-orig/bin/help.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +OPT_SPEC="hf::" +LONG_OPT_SPEC="help,file:,f::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { + print_help; + echo -e "\nHELP használata: mayor help [parancs]\n\n" +} + +if [ $OPTIONS_RET -ne 0 ] || [ $# -le 1 ]; then help_usage; exit; fi + +while [ $# -ge 1 ]; do + case $1 in + --help | -h ) help_usage + exit + ;; + + --file | -f ) shift + FILE="$1" + echo "FILE: $FILE" + ;; + + -- ) shift + break + ;; + + * ) echo "HIBA: ismeretlen opció: $1" # ide elvileg sose jutunk, mert a getopts már kiszűrte a hibás paramétereket... + exit + ;; + esac + shift +done + +while [ $# -ge 1 ]; do + echo -e "\n---------- HELP: $1 ----------\n" + if [[ ! "${CMDS[*]}" =~ .*$1.* ]]; then + echo -e "Ismeretlen parancs: $1" + #print_help + else + . ./$1.sh --help + fi + shift +done diff --git a/mayor-orig/bin/mayor b/mayor-orig/bin/mayor new file mode 100644 index 00000000..aa46f58d --- /dev/null +++ b/mayor-orig/bin/mayor @@ -0,0 +1,67 @@ +#!/bin/bash + +VERSION="2.0" +echo -e "\nmayor szkript - verzió: $VERSION (" `date '+%Y-%m-%d'` ")\n" + +CMDS=(backup update crypt-backup decrypt-backup remote-backup restore help) +MODS=(mayor-base mayor-portal mayor-naplo mayor-naplo-sni mayor-wiki mayor-felveteli mayor-installer mayor-installer-sulix mayor-jatek mayor-locales-de_DE mayor-locales-en_US mayor-local-jp_JP) +DESC=('a rendszer mentése' 'a rendszer frissítése' 'a mentés titkosítása (ß)' 'a titkosított mentés visszakódolása (ß)' 'mentés a központi (távoli) szerverre' 'mentés visszatöltése' 'A parancs működésének leírása') +#OPTS=('--skip-lock') +#OPTDESC=('a rendszer zárolásának kihagyása') +DATE=`date "+%Y%m%d"` +DATETIME=`date "+%Y-%m-%d %H:%M:%S"` + +print_help() { + echo -e "\nHasználat: mayor [parancs] [opciók]\n\nParancs" + for ((i=0; i<${#CMDS[@]}; i=i+1)); do + echo " - ${CMDS[$i]}: ${DESC[$i]}" + done +# echo -e "\nOpciók" +# for ((i=0; i<${#OPTS[@]}; i=i+1)); do +# echo " ${OPTS[$i]}: ${OPTDESC[$i]}" +# done + echo "" +} + +# Ellenőrizzük, hogy van-e configurációs állomány +if [ -f /etc/mayor/main.conf ]; then + . /etc/mayor/main.conf +else + echo -e "\nHIBA: hiányzó konfigurációs file: /etc/mayor/main.conf\n" + exit 1 +fi + +# Ha nincs paraméter, akkor írjuk ki a tennivalót +if [ -z $1 ]; then + print_help + exit 1 +fi + +# A paraméter ellenőrzése +for ((i=0; i<${#CMDS[@]}; i=i+1)); do + if [ ${CMDS[$i]} == "$1" ]; then + CMD=${CMDS[$i]} + break + fi +done + +if [ -z $CMD ]; then + echo -e "\nHIBA: ismeretlen parancs: $1\n" + print_help + exit 1 +fi + +# Alapértelmezés +if [ "$MYSQL_HOST" == "" ]; then + MYSQL_HOST="localhost" +fi + +shift +# A parancs végrehajtása +cd $BASEDIR/bin +if [ -z $UPDATELOG ]; then + . ./$CMD.sh +else + . ./$CMD.sh 2>&1 | tee -a $UPDATELOG +fi + diff --git a/mayor-orig/bin/remote-backup.sh b/mayor-orig/bin/remote-backup.sh new file mode 100644 index 00000000..71e241d5 --- /dev/null +++ b/mayor-orig/bin/remote-backup.sh @@ -0,0 +1,170 @@ +#!/bin/bash +# +# Example: mayor remote-backup --backup-file=/tmp/wiki.tgz +# Az eredmény a $BACKUPDIR/$DATE-crypt.tgz állományba kerül +# (Vagy jobb lenne, ha a file nevéből venné a nevét?) +# +# TODO: ellenőrizni kell még, hogy van-e openssl és aespipe +# + +OPT_SPEC="hf:d::" +LONG_OPT_SPEC="help,file:,backup-file:,dir:,backup-dir::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat < /dev/null 2>&1 + if [ $? -ne 0 ]; then + echo "Nem sikerült a ${BACKUPDIR} könyvtárat létrehozni!" + echo "MaYoR Backup failure!" + exit 3 + fi +fi +CRYPTDIR=$BACKUPDIR/$DATE +if [ ! -e $CRYPTDIR ]; then + mkdir $CRYPTDIR +fi +chown $WEB_SERVER_USER $BACKUPDIR +chmod 700 $BACKUPDIR + +if [ ! -f $FILE ]; then + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}" + FILE=$BACKUPDIR/${FILE} + echo "Próbáljuk a mentési könyvtárban! (${FILE})" + if [ ! -f $FILE ]; then + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}" + FILE=$BACKUPDIR/${PREFIX}${DATE}.tgz + echo "Próbáljuk az alapértelmezett állományt! (${FILE})" + if [ ! -e $FILE ]; then + echo -e " HIBA: Hiányzik a kódolandó mentési állomámny: ${FILE}" + exit 3 + fi + fi +fi +BASENAME=`basename $FILE` + +# Publikus kulcs lekérdezése +echo 'SELECT publicKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v publicKey | sed -e 's/\\n/\n/g' > $CRYPTDIR/id_rsa.pub + +# Véletlen kulcs generálás a szimmetrikus AES kódoláshoz +pwgen -nc 50 1 > $CRYPTDIR/key.txt + +# AES kódolás +aespipe -P $CRYPTDIR/key.txt -e aes256 < $FILE > $CRYPTDIR/$BASENAME.aes + +# A kulcsok RSA kódolása a publikus kulccsal +openssl rsautl -encrypt -inkey $CRYPTDIR/id_rsa.pub -pubin -in $CRYPTDIR/key.txt -out $CRYPTDIR/key.rsa + +# Kulcsok törlése +rm $CRYPTDIR/id_rsa.pub +rm $CRYPTDIR/key.txt + +cd $BACKUPDIR +tar cfz ${DATE}-crypt.tgz ${DATE} +rm -rf $DATE + +echo -e "\nBecsomagolva: $BACKUPDIR/${DATE}-crypt.tgz\n\n" + +# A privát kulcs lekérdezése, elhelyezése +if [ ! -d $BASEDIR/ssh ]; then + echo "Létrehozzuk a $BASEDIR/ssh könyvtárat, amibe belerakjuk a privát kulcsot..." + mkdir $BASEDIR/ssh + chmod 700 $BASEDIR/ssh +fi +if [ ! -f $BASEDIR/ssh/id_rsa ]; then + echo 'SELECT privateKey FROM mayorSsl' | $MYSQL -p$PW -u$USER $DB | grep -v privateKey | sed -e 's/\\n/\n/g' > $BASEDIR/ssh/id_rsa + chmod 700 $BASEDIR/ssh/id_rsa +fi + +# Az intézmény OM kódjának lekérdezése + +# A mayor_naplo adatbázis eléréséhez szükséges paraméterek lekérdezése a konfig-ból... +DB=`grep db $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g"` +USER=`grep userRead $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'` +PW=`grep pwRead $BASEDIR/config/module-naplo/config.php | sed -e "s/$.*=\ *['|\"]//g" -e "s/['|\"];//g" | sed 's/^ *//g'` + +OMKOD=`echo 'SELECT SUBSTR(OMKod,-6) FROM intezmeny WHERE alapertelmezett = 1' | $MYSQL -p$PW -u$USER $DB | grep -v OMKod` +SSH_USER="om$OMKOD" +echo $SSH_USER + +# A kódolt adatállomány másolása +scp -i $BASEDIR/ssh/id_rsa -P $SSH_PORT $BACKUPDIR/${DATE}-crypt.tgz $SSH_USER@$SSH_HOST:/home/$SSH_USER/ diff --git a/mayor-orig/bin/restore.sh b/mayor-orig/bin/restore.sh new file mode 100644 index 00000000..8283effa --- /dev/null +++ b/mayor-orig/bin/restore.sh @@ -0,0 +1,257 @@ +#!/bin/bash + +OPT_SPEC="hkprf:d:t::" +LONG_OPT_SPEC="help,keep-old-passwords,restore-parent,restore-private,tmp-dir:,file:,backup-file:,dir:,base-dir::" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat </dev/null; then + echo "ok." + else + echo "hiba." + exit 3 + fi +fi + +if [ ! -d "${RTMPDIR}/restore" ]; then + if ! mkdir "${RTMPDIR}/restore" 2>/dev/null; then + echo "Hiba: Az ideiglenes könyvtár nem írható (${RTMPDIR})!" + exit 4 + fi +fi +chmod 700 "${RTMPDIR}/restore" +cd "${RTMPDIR}/restore" +tar xvfz $RBACKUPFILE +DT=$(ls) +echo "A mentés dátuma: ${DT}" +cd ${DT} + +RREVISIONFILE="${RTMPDIR}/restore/${DT}/log/revision" +declare -i BAK_REV +if [ ! -e "${RREVISIONFILE}" ]; then + echo "Hiba: A mentési állomány nem tartalmaz verzió információt!" + echo -e " A mentési állományon belül, a ${DT}/log/revision állományba írja be a revision számot (pl: 2512)!\n" + cleartmp + exit 5 +fi +BAK_REV=`cat $RREVISIONFILE` +echo "A mentett rendszer revision száma: ${BAK_REV}" + +if [ ${BAK_REV} -gt ${INST_REV} ]; then + echo "Hiba: A mentett rendszer újabb, mint a telepített!" + echo -e " A telepített rendszer revision száma nagyobb vagy egyenlő kell legyen a mentett rendszer revision számánál!\n Telepítsen frissíebb rendszert!\n" + cleartmp + exit 6 +fi + +# A telepített rendszer beállításainsak betöltése +if [ -f "${RBASEDIR}/config/main.conf" ]; then + . "${RBASEDIR}/config/main.conf" +else + echo "Hiba: A telepített rendszer nincs beállítva!" + echo -e " Hiányzik a konfigurációs állomány: ${RBASEDIR}/config/main.conf\n" + cleartmp + exit 7 +fi + +# Az adatbázisok betöltése +NAPLOUSER=`egrep 'userWrite.*=' $BASEDIR/config/module-naplo/config.php | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"` +NAPLOUSERREAD=`egrep 'userRead.*=' $BASEDIR/config/module-naplo/config.php | sed -e "s/^.*=\ *['|\"]//g" -e "s/['|\"];//g"` +DBS=`$MYSQL -h$MYSQL_HOST -u $MYSQL_USER -p$MYSQL_PW -e"SHOW DATABASES"` +if [ "$RESTORE_PARENT" == "1" ]; then + FILES="mayor_naplo.sql mayor_parent.sql intezmeny_*.sql naplo_*.sql" +else + FILES="mayor_naplo.sql intezmeny_*.sql naplo_*.sql" +fi +if [ "$RESTORE_PRIVATE" == "1" ]; then + FILES="$FILES mayor_private.sql" +fi +for SQLFILE in $FILES; do + if [ -e "${SQLFILE}" ]; then + DB=${SQLFILE%.sql} + echo -n "${DB} ... " + if [[ ! ${DBS} =~ .*$DB.* ]]; then + echo -n "... " + (cat < ${iNCDIR}/config.php.backup" + mv "${iNCDIR}/config.php" "${iNCDIR}/config.php.backup" + fi +fi + +cat "${bNCDIR}/config.php" | sed \ + -e "s/db\(.*\)$bDB\(.*\)/db\1$iDB\2/g" \ + -e "s/userWrite\(.*\)$bUSER\(.*\)/userWrite\1$iUSER\2/g" \ + -e "s/userRead\(.*\)$bUSERREAD\(.*\)/userRead\1$iUSERREAD\2/g" \ + -e "s/$bPW/$iPW/g" -e "s/$bPWREAD/$iPWREAD/g" > "${iNCDIR}/config.php" + +for FILE in config-*.php; do + echo -n "$FILE ... " + # mentés + if [ -e "${iNCDIR}/$FILE" ]; then + if [ ! -e "${iNCDIR}/$FILE.backup" ]; then + echo -n "... " + mv "${iNCDIR}/$FILE" "${iNCDIR}/$FILE.backup" + fi + fi + cp $FILE "${iNCDIR}/$FILE" + echo ok +done + +cd ${BASEDIR}/bin +if [ -z $UPDATELOG ]; then + . update.sh -e -r$BAK_REV -b${BASEDIR} +else + . update.sh -e -r$BAK_REV -b${BASEDIR} 2>&1 | tee -a $UPDATELOG +fi + +# Az ideiglenes könyvtár törlése +cleartmp + diff --git a/mayor-orig/bin/sbin/eNaploBackup.sh b/mayor-orig/bin/sbin/eNaploBackup.sh new file mode 100755 index 00000000..5bdba177 --- /dev/null +++ b/mayor-orig/bin/sbin/eNaploBackup.sh @@ -0,0 +1,95 @@ +#!/bin/sh +## +# Az elektronikus mentése (Version 1.0) +## + + DATE=`date +%Y%m%d` + NAPLO_BACKUP_BASE_DIR='/backup/naplo' + NAPLO_BACKUP_DIR="$NAPLO_BACKUP_BASE_DIR/$DATE" + + DATABASES='mayor_parent mayor_private mayor_naplo intezmeny_fasori naplo_fasori_2007' + #MYSQL_DB='%MYSQL_NAPLO_DB%' + MYSQL_USER='%MYSQL_NAPLO_USER%' + MYSQL_PW='%MYSQL_NAPLO_PW%' + + WWW_SSL_DIR='%BASEDIR%' + WEB_SERVER_USER='%WEB_SERVER_USER%' + EXPIRE_DATE=`date -d '30 days ago' +%Y%m%d` + + BASEDN='%BASEDN%' + LDAP_CONF_DIR='%LDAP_CONF_DIR%' + LDAP_DB_DIR='%LDAP_DB_DIR%' + +## +# A könyvtárak létrehozása +## + if [ ! -e $NAPLO_BACKUP_BASE_DIR ]; then + /bin/mkdir $NAPLO_BACKUP_BASE_DIR + fi + /bin/chown $WEB_SERVER_USER $NAPLO_BACKUP_BASE_DIR + /bin/chmod 700 $NAPLO_BACKUP_BASE_DIR + + if [ -e $NAPLO_BACKUP_DIR.tgz ]; then + exit 1 + fi + /bin/mkdir $NAPLO_BACKUP_DIR + /bin/chown $WEB_SERVER_USER $NAPLO_BACKUP_DIR + /bin/chmod 700 $NAPLO_BACKUP_DIR + +## +# mysql adatbázis mentése +## + +for DATABASE in $DATABASES; do + /usr/bin/mysqldump -p$MYSQL_PW -u$MYSQL_USER $DATABASE >> $NAPLO_BACKUP_DIR/$DATABASE.sql +done + +## +# mysql adatbázis mentése +## + +# /usr/bin/mysqldump -p$MYSQL_PW -u$MYSQL_USER $MYSQL_DB >> $NAPLO_BACKUP_DIR/$MYSQL_DB.sql + +## +# A honlap mentése +## + + mkdir $NAPLO_BACKUP_DIR/html + + /bin/cp -a $WWW_SSL_DIR/* $NAPLO_BACKUP_DIR/html/ + +## +# Az LDAP adatbázis +## + + /etc/init.d/slapd stop + /bin/sleep 1 + + /usr/sbin/slapcat -b $BASEDN -l $NAPLO_BACKUP_DIR/ldap.ldif + + /bin/cp -a $LDAP_DB_DIR $NAPLO_BACKUP_DIR/ldap + + /etc/init.d/slapd start + +## +# LDAP konfig file-ok mentése (schema) +## + + /bin/mkdir $NAPLO_BACKUP_DIR/etc + /bin/cp -a $LDAP_CONF_DIR $NAPLO_BACKUP_DIR/etc/ + +## +# Becsomagolás +## + + cd $NAPLO_BACKUP_BASE_DIR + /bin/tar cfz $DATE.tgz $DATE + /bin/rm -rf $NAPLO_BACKUP_DIR + +## +# Elavult mentés tölése +## + + if [ -e $NAPLO_BACKUP_BASE_DIR/$EXPIRE_DATE.tgz ]; then + rm -rf $NAPLO_BACKUP_BASE_DIR/$EXPIRE_DATE.tgz + fi diff --git a/mayor-orig/bin/sbin/eNaploRestore.sh b/mayor-orig/bin/sbin/eNaploRestore.sh new file mode 100755 index 00000000..f383360f --- /dev/null +++ b/mayor-orig/bin/sbin/eNaploRestore.sh @@ -0,0 +1,82 @@ +#!/bin/sh +## +# Az elektronikus visszatöltése (Version 1.0) +## + + NAPLO_BACKUP_BASE_DIR='/backup/naplo' + NAPLO_BACKUP_TMP_DIR="$NAPLO_BACKUP_BASE_DIR/tmp" + + DATABASE='%MYSQL_NAPLO_DB%' + MYSQL_PW='%MYSQL_ROOT_PW%' + MYSQL_USER='root' + + WWW_DIR='%BASEDIR%' + WEB_SERVER_USER='%WEB_SERVER_USER%' + BASEDN='%BASEDN%' + DUMP_FILE="$DATABASE.sql" + LDIF_FILE='ldap.ldif' + LDAP_DB_DIR='%LDAP_DB_DIR%/mayor' + +## +# A paraméter ellenőrzése +## + + if [ -z $1 ]; then + exit 1 + else + if [ -e $NAPLO_BACKUP_BASE_DIR/$1 ]; then + FILE=$1 + DATE=`echo $FILE | cut -d . -f 1` + else + exit 2 + fi + fi + +echo "PARAMÉTER: $1" + +## +# TMP Könyvtár ellenőrzése, létrehozása +## + + if [ ! -e $NAPLO_BACKUP_TMP_DIR ]; then + /bin/mkdir $NAPLO_BACKUP_TMP_DIR + fi + /bin/chown $WEB_SERVER_USER $NAPLO_BACKUP_TMP_DIR + /bin/chmod 700 $NAPLO_BACKUP_TMP_DIR + +## +# Adatfile kicsomagolása +## + + cd $NAPLO_BACKUP_TMP_DIR + /bin/tar xfz $NAPLO_BACKUP_BASE_DIR/$FILE + if [ ! -e $NAPLO_BACKUP_TMP_DIR/$DATE/$DUMP_FILE ]; then + exit 3 + fi + if [ ! -e $NAPLO_BACKUP_TMP_DIR/$DATE/$LDIF_FILE ]; then + exit 4 + fi + +## +# Az LDAP adatbázis visszatöltése/felülírása +## + + /etc/init.d/slapd stop + /bin/sleep 1 + + /bin/rm -rf $LDAP_DB_DIR/* + /usr/sbin/slapadd -c -b $BASEDN -l $NAPLO_BACKUP_TMP_DIR/$DATE/$LDIF_FILE + + /etc/init.d/slapd start + +## +# mysql adatbázis visszatöltése +## + +(cat < $REV + +for f in $PARENT; do + ln -s $DIR/www/policy/private/naplo/$f-pre.php $DIR/www/policy/parent/naplo/$f-pre.php + ln -s $DIR/www/policy/private/naplo/$f.php $DIR/www/policy/parent/naplo/$f.php +done + +for f in $PUBLIC; do + ln -s $DIR/www/policy/private/naplo/$f-pre.php $DIR/www/policy/public/naplo/$f-pre.php + ln -s $DIR/www/policy/private/naplo/$f.php $DIR/www/policy/public/naplo/$f.php +done + +for f in $WRITABLE; do + chmod a+rwx $DIR/$f +done diff --git a/mayor-orig/bin/tex2pdf.sh b/mayor-orig/bin/tex2pdf.sh new file mode 100644 index 00000000..ee177b11 --- /dev/null +++ b/mayor-orig/bin/tex2pdf.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# +# A script segítségével tesztelhetjük, hogy mi történik, mikor a program a haladásinaplót, illetve osztályozónaplót generálja... +# +# Paraméter: a feldolgozandó UTF-8 kódolású TeX állomány "-u8.tex" végződés nélküli neve. +# + +. /etc/mayor/main.conf + +HOME="/tmp" +export HOME + +# Make sure this exists +# cd $BASEDIR/print/module-naplo/tex/ +# fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor + +cat $1-u8.tex | recode u8..T1 > $1.tex + +tex -fmt $BASEDIR/print/module-naplo/tex/mayor $1.tex + +dvips $1.dvi + +ps2pdf -sPAPERSIZE=a4 -dAutoRotatePages=/None $1.ps + diff --git a/mayor-orig/bin/update.sh b/mayor-orig/bin/update.sh new file mode 100644 index 00000000..0be82608 --- /dev/null +++ b/mayor-orig/bin/update.sh @@ -0,0 +1,227 @@ +#!/bin/bash + +OPT_SPEC="hes:lb:r::" +LONG_OPT_SPEC="http-server:,skip-lock,basedir:,backup-dir:,from-revision:,exec-only,help:" +PARSED_OPTIONS=$(getopt -n "$0" -a -o $OPT_SPEC --long $LONG_OPT_SPEC -- "$@") +OPTIONS_RET=$? + +eval set -- "$PARSED_OPTIONS" + +help_usage() { +cat < /dev/null + for MODULE in $MODULES; do + echo -n " $MODULE... " + chmod +x $BASEDIR/bin/mayor + if [ $? != 0 ]; then exit 2; fi + UJ_REV=`$SVN --force export https://svn.mayor.hu/svn/trunk/$MODULE/update "$BASEDIR/update" | grep revision | cut -d ' ' -f 3 | uniq | sed -e 's/\.//g'` + if [ $? != 0 ]; then exit 3; fi + echo "kész." + done + else + echo -e "\n\nERROR: A subversion kliens nem található: $SVN" + exit 4 + fi + else + # Munkakönyvtár létrehozása + if [ ! -d $TMPDIR ]; then + mkdir $TMPDIR + chown -R 0:0 $TMPDIR + chmod -R 700 $TMPDIR + else + rm -rf $TMPDIR/* + fi + cd $TMPDIR + # Az md5sum állomány leszedáse + if [ -z $VERSION ]; then + wget "http://www.mayor.hu/download/md5sum" + else + wget "http://www.mayor.hu/download/$VERSION/md5sum" + if [[ ! $HTTP_SERVER =~ .*$VERSION.* ]]; then HTTP_SERVER="$HTTP_SERVER/$VERSION"; fi + fi + if [ $? != 0 ]; then exit 5; fi + UJ_REV=`grep Revision md5sum | cut -d ' ' -f 2` + if [ "$REV" -lt "$UJ_REV" ]; then + # csomagok leszedése + for MODULE in $MODULES; do + echo -n " $MODULE... " + MOD=`echo $MODULE | sed "s#/#-#"` + FILE=`grep "$MOD-rev" md5sum | cut -d ' ' -f 3` + if [ "$FILE" != '' ]; then + wget "$HTTP_SERVER/$FILE" + if [ $? != 0 ]; then + echo -e "\n\n ERROR: Az frissítés nem tölthető le: $FILE!\n" + exit 6 + fi + grep $FILE md5sum | md5sum -c --status + if [ $? == 0 ]; then + tar xfz $FILE -C $BASEDIR ./update + else + echo -e "\n\n ERROR: Az ellenörző összeg nem egyezik!\n" + exit 7 + fi + else + echo 'Nincs ilyen modul!' + exit 8 # nem szabad hiányzó csomagok mellett frissíteni!! + fi + done + fi + cd $BASEDIR/bin + fi + fi +else # exec-only + if [ -f $REVISION_FILE ]; then + UJ_REV=`cat $REVISION_FILE` + else + UJ_REV=0 # nem frissítünk semmit + fi +fi + +if [ "$REV" -ge "$UJ_REV" ]; then + echo -e "\nNincs újabb változat.\n" + echo -e "\n * A szükséges jogosultságok beállítása:" + chmod +x $BASEDIR/bin/mayor + echo 'kész.' +else + echo 'kész.' + . $BASEDIR/update/processUpdateScripts.sh +fi + +PWDTEX=`pwd` +echo -e "\nMaYoR TeX formátum állomány újragenerálása... " +cd $BASEDIR/print/module-naplo/tex/ && fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor > /dev/null 2>&1 +echo -e "\nMaYoR XeTeX formátum állomány újragenerálása... " +cd $BASEDIR/print/module-naplo/xetex/ && fmtutil-sys --cnffile $BASEDIR/print/module-naplo/xetex/mayor-xetex.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor-xetex > /dev/null 2>&1 +cd $PWDTEX +echo 'kész.' + +echo -e "\nFrissítés vége.\n" +exit 0 diff --git a/mayor-orig/bin/xetex2pdf.sh b/mayor-orig/bin/xetex2pdf.sh new file mode 100644 index 00000000..a4f7bf3f --- /dev/null +++ b/mayor-orig/bin/xetex2pdf.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# +# A script segítségével tesztelhetjük, hogy mi történik, mikor a program a haladásinaplót, illetve osztályozónaplót generálja +# __NYOMTATAS_XETEX===true beállítás mellett +# +# Paraméter: a feldolgozandó UTF-8 kódolású TeX állomány "-u8.tex" végződés nélküli neve. +# + +. /etc/mayor/main.conf + +HOME="/tmp" +export HOME + +# Make sure this exists +# cd $BASEDIR/print/module-naplo/tex/ +# fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor + +cat < $1.tex +%\font\kicsi=ecrm0500 +%\font\nagy=ecbx1200 +%\font\vastag=ecsx0800 +%\font\nagyss=ecsx1200 +%\font\normal=ecss0800 +%\font\dolt=ecsi0800 + +\font\kicsi="Linux Libertine O" at 5pt +\font\nagy="Linux Libertine O/B" at 12pt +\font\nagyss="Arial/B" at 12pt +\font\normal="Linux Biolinum O" at 8pt +\font\dolt="Linux Biolinum O/I" at 8pt +\normal + +EOF +cat $1-u8.tex >> $1.tex +xetex -fmt $BASEDIR/print/module-naplo/xetex/mayor-xetex $1.tex + diff --git a/mayor-orig/config/main-config.php.example b/mayor-orig/config/main-config.php.example new file mode 100644 index 00000000..5a9ad2ec --- /dev/null +++ b/mayor-orig/config/main-config.php.example @@ -0,0 +1,70 @@ + array(), + 'startColumn' => array(), + 'startMain' => array(), + 'startToolBar' => array(), + 'html_head' => array() +); + +// A telepített modulok +$INSTALLED_MODULES = array(); +/* +if ($dh = opendir('include/config/')) { + while (($file = readdir($dh)) !== false) { + if (substr($file,0,6)=='module') require('include/config/'.$file); + } + closedir($dh); +} +*/ + +?> \ No newline at end of file diff --git a/mayor-orig/config/main.conf.example b/mayor-orig/config/main.conf.example new file mode 100644 index 00000000..53fb28a5 --- /dev/null +++ b/mayor-orig/config/main.conf.example @@ -0,0 +1,75 @@ +#======================# +# Main # +#======================# + +BASEDIR="/var/mayor" +WEB_SERVER_USER="www-data" +MYSQL_HOST="localhost" +MYSQL_USER="root" +MYSQL_PW="%SQLPW%" + +MYSQL=/usr/bin/mysql +SHELL=/bin/sh + +#======================# +# Update # +#======================# + +UPDATELOG="$BASEDIR/log/update.log" +SQLLOG="$BASEDIR/log/sql-update.log" +REVISION_FILE="$BASEDIR/log/revision" +UPDATEDIR="$BASEDIR/update" +TMPDIR=/tmp/update +LOCKFILE=/var/run/mayor.lock + +MODULES="mayor-base mayor-naplo" +# A wget megléte szükséges a http/tgz alapú frissítés használatához! +HTTP_SERVER=http://mirror.mayor.hu/download + +# Ha a verzió egyedi nevét írjuk be (bubbly, radyx, rypple...), +# akkor saját hatáskörben dől el, hogy mikor váltunk verziót. +# Ha a "current" értéket adjuk meg, akkor a verzióváltás automatikus +VERSION=current + +# Egyes oldalak letiltása +# publicDeny="naplo/tanev/orarend naplo/tanev/masikoldal" + +# Saját update scritp teljes elérési útja +# A szkript a rendes update folyamat végén fut le. A szkriptnek léteznie kell és futtatási joggal kell rendelkeznie. +# LOCAL_UPDATE_SCRIPT=/usr/local/sbin/mayor-localupdate.sh + + +#======================# +# Backup # +#======================# + +BACKUPDIR=/home/backup + +EXCLUDED_DBS='' + +SAVELDAP=0 +BASEDN='o=mayor,c=hu' +LDAPCONFDIR=/etc/ldap +LDAPDBDIR=/var/lib/ldap + +# Hány napig tartsuk meg a mentéseket? 0 esetén mindet megtartjuk (ajánlott) +BACKUPDAYS=0 + +# Ha a backup file-névben YYYYMMDDHHMM órát és percet is tárolnánk, kommentezzük ki a DATE= változót! +#DATE=`date "+%Y%m%d%H%M"` + + +# Losonci János kiegészítése (losy@agymk.sulinet.hu) +# PREFIX a mentés tgz előtagja + +PREFIX='' + +# RSYNC ha értéke nem 1, nincs rsync +# RHOST rsync távoli gép +# RUSER rsync távoli gép felhasználó +# RPATH rsync távoli gépen levő útvonal a mentéshez + +RSYNC=0 +RUSER='' +RHOST='' +RPATH='' diff --git a/mayor-orig/config/menu/public/menu-hu_HU.php.example b/mayor-orig/config/menu/public/menu-hu_HU.php.example new file mode 100644 index 00000000..877a7758 --- /dev/null +++ b/mayor-orig/config/menu/public/menu-hu_HU.php.example @@ -0,0 +1,16 @@ + 'SuliNet', 'url' => 'http://www.sulinet.hu', 'target' => '_blank'), + ); + + +?> \ No newline at end of file diff --git a/mayor-orig/config/module-naplo/config-pl.php.example b/mayor-orig/config/module-naplo/config-pl.php.example new file mode 100644 index 00000000..97988330 --- /dev/null +++ b/mayor-orig/config/module-naplo/config-pl.php.example @@ -0,0 +1,142 @@ + százalékos) + define('__JEGYTIPUS_VALTHATO',false); + + // Ha az osztályozónaplóban az alapértelmezett havi bontás helyett féléves bontást szeretnénk + // define('__OSZTALYOZONAPLO_JEGYEK_FELEVENTE', true); + + // Félévi és év végi osztályzatok elrejtése a diákok elől a szemeszter végéig + // define('_OSZTALYZATOK_ELREJTESE', true); + + // A haladási és osztályozónaplók nyomtatása A5 méretű füzetként (booklet) + // define('__NYOMTATAS_FUZETKENT',true); + // UTF-8 támogatás - XeTeX használata a nyomtatványok generálásához + // define('__NYOMTATAS_XETEX',true); + + // Legyen-e lehetőség az egyenruha hiány külön regisztrálására + define('__EGYENRUHA_HIANY_REGISZTRALAS',true); + + // Tanév függő beállítások! + if (defined('__TANEV')) { + + if (__TANEV == 2006) { + } elseif (__TANEV == 2007) { + } elseif (__TANEV == 2008) { + // Ha azt akarjuk, hogy a tanárok módosíthassák a tanköreik névsorát... bátor vállalkozás :o) + // define('_TANKOR_MODOSITAS_HATARIDO','2008-09-30'); + } + + // Szülői igazolások száma: félévenként legfeljebb 5 nap + define('__SZULOI_IGAZOLAS_FELEVRE',5); + define('__SZULOI_IGAZOLAS_EVRE',0); + // Szülő által igazolható órák maximális száma: félévenként legfeljebb 14 óra + define('__SZULOI_ORA_IGAZOLAS_FELEVRE',14); + define('__SZULOI_ORA_IGAZOLAS_EVRE',0); + // Osztályfőnöki igazolások száma: évi 3 nap + // Csak ha < 5 igazolatlanja van + define('__OSZTALYFONOKI_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_IGAZOLAS_EVRE',5); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_EVRE',21); + + // Összeadjuk-e a késések perceit, hogy átváltsuk + define('_KESESI_IDOK_OSSZEADODNAK', false); + // Hány késés felel meg egy igazolatlan órának - ha 0 vagy _KERESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk át + define('_HANY_KESES_IGAZOLATLAN', 3); + // Hány felszerelés hiány felel meg egy igazolatlan órának - ha 0 vagy _KERESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk át + define('_HANY_FSZ_IGAZOLATLAN', 3); + + // Hiányzás, késés, felszerelés hiány beírása (szaktanár): következő nap 16:00 + define('_HIANYZAS_HATARIDO',date('Y-m-d 00:00:00',strtotime('16 hours ago'))); + // Hiányzás, késés beírása osztályfőnöknek: 5 tanítási nap + define('_OFO_HIANYZAS_BEIRAS',5); + define('_OFO_HIANYZAS_HATARIDO',getTanitasiNapVissza(_OFO_HIANYZAS_BEIRAS,'curdate()')); + // Igazolás beírásának határideje: 5 tanítási nap + define('_IGAZOLAS_BEIRAS',6); + define('_IGAZOLAS_BEIRAS_HATARIDO',getTanitasiNapVissza(_IGAZOLAS_BEIRAS,'curdate()')); + // Igazolás leadás határideje - ha nincs közben osztályfőnöki óra: 8 tanítási nap + define('_IGAZOLAS_LEADAS',8); + define('_LEGKORABBI_IGAZOLHATO_HIANYZAS',getTanitasiNapVissza(_IGAZOLAS_BEIRAS+_IGAZOLAS_LEADAS,'curdate()')); + + // Hat napos tanítási hét esetén + // define('__TANITASINAP_HETENTE',6); + + } + +/* + + // Legalább hány óra jelenjen meg az órarend-módosító oldalon? (default: 8) + define('__MAXORA_MINIMUMA',8); + // Legalább hány nap jelenjen meg az órarend-módosító oldalon? (default: 5) + define('__HETIMAXNAP_MINIMUMA',5); + + // Súlyozás + global $SULYOZAS; + $SULYOZAS = array('1:2:3:4:5','0.2:1:1:1:1','1:1:2:2:2'); + + global $KOVETELMENY; + // Osztályzatok testreszabása - egyedi felsorolás (RADYX) + $KOVETELMENY['egyedi felsorolás']= array( + 'értékek' => array('1.0','2.0','3.0'), + '1.0' => array('rovid' => 'szorgalmas', 'hivatalos' => 'SZORGALMAS'), + '2.0' => array('rovid' => 'ügyes', 'hivatalos' => 'UGYES', 'megjegyzes' => 'dicseret'), + '3.0' => array('rovid' => 'aranyos', 'hivatalos' => 'ARANYOS'), + ); + // Osztályzatok testreszabása - például: 6 fokú skála (RADYX) + $KOVETELMENY['jegy']= array( + 'értékek' => array('1.0','2.0','3.0','4.0','5.0','6.0'), + '1.0' => array('rovid' => '1', 'hivatalos' => 'ELEGTELEN'), + '2.0' => array('rovid' => '2', 'hivatalos' => 'ELEGSEGES', 'megjegyzes' => 'figyelmeztető'), + '3.0' => array('rovid' => '3', 'hivatalos' => 'KOZEPES'), + '4.0' => array('rovid' => '4', 'hivatalos' => 'JO',), + '5.0' => array('rovid' => '5', 'hivatalos' => 'JELES'), + '6.0' => array('rovid' => '6', 'hivatalos' => 'SZUPER', 'megjegyzes' => 'dicséret'), + ); + + // A kitűnő megállapításához csak az átlagot vesszük figyelembe + define('_KITUNO_ATLAG', 5.0); + // jelesrendű, aki a megadott átlag fölött van és nincs a megadott jegynél gyengébb eredménye egyik tárgyból sem + define('_JELES_ATLAG', 4.75); + define('_JELES_LEGGYENGEBB_JEGY', 3); + +*/ + +?> \ No newline at end of file diff --git a/mayor-orig/config/module-naplo/config-vmg.php.example b/mayor-orig/config/module-naplo/config-vmg.php.example new file mode 100644 index 00000000..1eb19228 --- /dev/null +++ b/mayor-orig/config/module-naplo/config-vmg.php.example @@ -0,0 +1,117 @@ + százalékos) + // define('__JEGYTIPUS_VALTHATO',true); + + // A haladási és osztályozónaplók nyomtatása A5 méretű füzetként (booklet) + // define('__NYOMTATAS_FUZETKENT',true); + // UTF-8 támogatás - XeTeX használata a nyomtatványok generálásához + // define('__NYOMTATAS_XETEX',true); + + // Tanév függő beállítások! + if (defined('__TANEV')) { + + if(__TANEV==2008) { + // Ha azt akarjuk, hogy a tanárok módosíthassák a tanköreik névsorát... bátor vállalkozás :o) + // define('_TANKOR_MODOSITAS_HATARIDO','2008-09-30'); + } elseif (__TANEV==2016) { + define('___TANITASI_HETEK_SZAMA', 36); + define('___VEGZOS_TANITASI_HETEK_SZAMA', 31); + } + + // Szülői igazolások száma: félévenként legfeljebb 5 nap + define('__SZULOI_IGAZOLAS_FELEVRE',5); + define('__SZULOI_IGAZOLAS_EVRE',0); + // Szülő által igazolható órák maximális száma: félévenként legfeljebb 14 óra + define('__SZULOI_ORA_IGAZOLAS_FELEVRE',14); + define('__SZULOI_ORA_IGAZOLAS_EVRE',0); + // Osztályfőnöki igazolások száma: évi 3 nap + // Csak ha < 5 igazolatlanja van + define('__OSZTALYFONOKI_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_IGAZOLAS_EVRE',5); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_EVRE',21); + + // Összeadjuk-e a késések perceit, hogy átváltsuk + define('_KESESI_IDOK_OSSZEADODNAK', false); + // Hány késés felel meg egy igazolatlan órának - ha 0 vagy _KERESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk át + define('_HANY_KESES_IGAZOLATLAN', 3); + // Hány felszerelés hiány felel meg egy igazolatlan órának - ha 0 vagy _KERESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk át + define('_HANY_FSZ_IGAZOLATLAN', 3); + + // Hiányzás, késés, felszerelés hiány beírása (szaktanár): következő nap 16:00 + define('_HIANYZAS_HATARIDO',date('Y-m-d 00:00:00',strtotime('16 hours ago'))); + // Hiányzás, késés beírása osztályfőnöknek: 5 tanítási nap + define('_OFO_HIANYZAS_BEIRAS',5); + define('_OFO_HIANYZAS_HATARIDO',getTanitasiNapVissza(_OFO_HIANYZAS_BEIRAS,'curdate()')); + // Igazolás beírásának határideje: 5 tanítási nap + define('_IGAZOLAS_BEIRAS',6); + define('_IGAZOLAS_BEIRAS_HATARIDO',getTanitasiNapVissza(_IGAZOLAS_BEIRAS,'curdate()')); + // Igazolás leadás határideje - ha nincs közben osztályfőnöki óra: 8 tanítási nap + define('_IGAZOLAS_LEADAS',8); + define('_LEGKORABBI_IGAZOLHATO_HIANYZAS',getTanitasiNapVissza(_IGAZOLAS_BEIRAS+_IGAZOLAS_LEADAS,'curdate()')); + + // Legalább hány óra jelenjen meg az órarend-módosító oldalon? (default: 8) + define('__MAXORA_MINIMUMA',8); + // Legalább hány nap jelenjen meg az órarend-módosító oldalon? (default: 5) + define('__HETIMAXNAP_MINIMUMA',5); + + } + +/* + + global $SULYOZAS; + $SULYOZAS = array('1:2:3:4:5','1:1:1:1:1','1:1:2:2:2'); + + // A kitűnő megállapításához csak az átlagot vesszük figyelembe + define('_KITUNO_ATLAG', 5.0); + // jelesrendű, aki a megadott átlag fölött van és nincs a megadott jegynél gyengébb eredménye egyik tárgyból sem + define('_JELES_ATLAG', 4.75); + define('_JELES_LEGGYENGEBB_JEGY', 3); + +*/ + +?> \ No newline at end of file diff --git a/mayor-orig/config/module-naplo/config.php.example b/mayor-orig/config/module-naplo/config.php.example new file mode 100644 index 00000000..836d828b --- /dev/null +++ b/mayor-orig/config/module-naplo/config.php.example @@ -0,0 +1,65 @@ + 'ALAP', + 'tagozat' => 'TAG', + 'emeltszintű érettségi előkészítő' => 'EÉE', + 'középszintű érettségi előkészítő' => 'KÉE', + 'első nyelv' => 'NY1', + 'második nyelv' => 'NY2', + 'harmadik nyelv' => 'NY3', + 'gyógytestnevelés' => 'GY', + 'fiú' => '(fiú)', + 'lány' => '(lány)', + 'úszás' => 'U', +// 'gyógytestnevelés' => 'II/AB', +// 'könnyített testnevelés' => 'I.', + ); + +?> \ No newline at end of file diff --git a/mayor-orig/config/parent-conf.php.example b/mayor-orig/config/parent-conf.php.example new file mode 100644 index 00000000..75249139 --- /dev/null +++ b/mayor-orig/config/parent-conf.php.example @@ -0,0 +1,22 @@ +'naplo', 'f' => 'diakValaszto'); +//$DEFAULT_PSF['parent'] = array('page'=>'portal', 'f' => 'start'); +$AUTH['parent'] = array( + 'backend' => 'mysql', + 'authentication' => 'required', + 'onExpired' => 'warning', + 'onDisabled' => 'none', + 'enableSelfPasswordChange' => true, + 'enablePasswordReset' => true, +# 'createAccount' => 'byRegistration', + 'createAccount' => 'byAdmin', + 'accountAttrs' => array('mail','telephoneNumber'), + + 'mysql host' => 'localhost', + 'mysql db' => 'mayor_parent', + 'mysql user' => 'mayor_parent', + 'mysql pw' => '%SQLPW%', +); + +?> \ No newline at end of file diff --git a/mayor-orig/config/private-conf.php.example b/mayor-orig/config/private-conf.php.example new file mode 100644 index 00000000..f241e358 --- /dev/null +++ b/mayor-orig/config/private-conf.php.example @@ -0,0 +1,76 @@ +'portal', 'sub'=>'portal', 'f' => 'portal'); +// Illetve nélküle, csak napló modullal: + $DEFAULT_PSF['private'] = array('page'=>'naplo', 'sub'=>'', 'f' => 'naplo'); + +/* + 'onExpired = 'none' | 'warning' | 'force update' + Ha lejár a jelszó érvényessége (de még nincs letiltva), akkor + none - ne történjen semmi, azaz nem vesszük figyelembe, beengedjük + warning - beengedjük figyelmeztető üzenettel + force update - jelszóváltoztatásra kényszerítjük => enableSelfPasswordChange + 'onDisabled = 'none' | 'refuse' + none - nem vesszük figyelembe, azaz beengedjük + refuse - visszautasítjuk + 'enableSelfPasswordChange' = true | false + 'accountCreateMode' => 'registration' | 'create by admin' => admingroup + +*/ + + + $AUTH['private'] = array( +// 'backend' => 'ldap', +// 'backend' => 'ads', + 'backend' => 'mysql', + + 'authentication' => 'required', + 'onExpired' => 'force update', + 'onDisabled' => 'none', + 'enableSelfPasswordChange' => true, + 'createAccount' => 'byAdmin', + 'adminGroup' => 'useradmin', + 'categories' => array('tanár','diák','titkárság','egyéb'), + 'accountAttrs' => array('studyId','mail','telephoneNumber'), + 'unixStyleAccounts' => false, + + 'shadowLastChange' => intval(time()/(60*60*24)), + 'shadowMin' => 2, + 'shadowMax' => 80, + 'shadowWarning' => 10, + 'shadowInactive' => 0, + + 'mysql host' => 'localhost', + 'mysql db' => 'mayor_private', + 'mysql user' => 'mayor_private', + 'mysql pw' => '%SQLPW%', + + //OpenLdap + MaYoR schema + //'ldap hostname' => 'localhost', + //'ldap protocol version' => 3, + //'ldap base dn' => 'o=mayor,c=hu', + //'createAccountScript' => 'accounts.sh' + + #Active Directory Test + #'backend' => 'ads', + #'adsHostname' => 'ldaps://your.domain:636', // Jelszóváltoztatáshoz kötelező az ldaps + #'adsBaseDn' => 'DC=your,DC=domain', + #'adsUser' => 'CN=User,OU=Users,DC=your,DC=domain', // Olvasási jog az AD-ben - Normál user + #'adsPw' => 'jelszó', + #'adsAccountOperatorUser' => 'CN=Op,OU=Users,DC=your,DC=domain', // Account Operators (Fiókfelelősök) csoport tag pl (jelszóváltoztatás) + #'adsAccountOperatorPw' => 'jelszó', + #'adsUserObjectClass' => 'person', // Userek objectum osztálya (volt posixAccount) + #'adsGroupObjectClass' => 'group', // Csoportok objectum osztálya (volt nayorGroup) + #'adsStudyIdAttr' => 'serialnumber', // Az oktatási azonosítót tároló attribútum (studyId) + #'adsContainers' => array( + # 'ou=IT,dc=vmg,dc=local', + # 'ou=diak,dc=vmg,dc=local' + #), + #'adminGroup' => 'Fiókfelelősök', + #'cacheable' => true, + ); + $AUTH['private']['shadowExpire'] = $AUTH['private']['shadowLastChange'] + $AUTH['private']['shadowMax'] + $AUTH['private']['shadowInactive']; + +?> \ No newline at end of file diff --git a/mayor-orig/config/private-conf.php.ldap-ng.example b/mayor-orig/config/private-conf.php.ldap-ng.example new file mode 100644 index 00000000..63643bc2 --- /dev/null +++ b/mayor-orig/config/private-conf.php.ldap-ng.example @@ -0,0 +1,66 @@ +'portal', 'sub'=>'portal', 'f' => 'portal'); +// Illetve nélküle, csak napló modullal: + $DEFAULT_PSF['private'] = array('page'=>'naplo', 'sub'=>'', 'f' => 'naplo'); + +/* + 'onExpired = 'none' | 'warning' | 'force update' + Ha lejár a jelszó érvényessége (de még nincs letiltva), akkor + none - ne történjen semmi, azaz nem vesszük figyelembe, beengedjük + warning - beengedjük figyelmeztető üzenettel + force update - jelszóváltoztatásra kényszerítjük => enableSelfPasswordChange + 'onDisabled = 'none' | 'refuse' + none - nem vesszük figyelembe, azaz beengedjük + refuse - visszautasítjuk + 'enableSelfPasswordChange' = true | false + 'accountCreateMode' => 'registration' | 'create by admin' => admingroup + +*/ + + + $AUTH['private'] = array( + + 'authentication' => 'required', + 'onExpired' => 'force update', + 'onDisabled' => 'none', + 'enableSelfPasswordChange' => true, + 'createAccount' => 'byAdmin', + 'adminGroup' => 'useradmin', + 'categories' => array('tanár','diák','titkárság','egyéb'), + 'accountAttrs' => array('studyId','mail','telephoneNumber'), + 'unixStyleAccounts' => false, + + 'shadowLastChange' => intval(time()/(60*60*24)), + 'shadowMin' => 2, + 'shadowMax' => 80, + 'shadowWarning' => 10, + 'shadowInactive' => 0, + + # LDAP-NG + 'backend' => 'ldap-ng', + 'ldapHostname' => 'ldaps://your.domain:636', // Jelszóváltoztatáshoz kötelező az ldaps + 'ldapBaseDn' => 'DC=your,DC=domain', + 'ldapUser' => 'CN=User,OU=Users,DC=your,DC=domain', // Olvasási jog az AD-ben - Normál user + 'ldapPw' => 'jelszó', + #'ldapAccountOperatorUser' => 'CN=Op,OU=Users,DC=your,DC=domain', // Account Operators (Fiókfelelősök) csoport tag pl (jelszóváltoztatás) + #'ldapAccountOperatorPw' => 'jelszó', + 'ldapUserObjectClass' => 'person', // Userek objectum osztálya (volt posixAccount) + 'ldapStudyIdAttr' => 'serialnumber', // Az oktatási azonosítót tároló attribútum (studyId) + 'ldapUserAccountAttr' => 'uid', // A felhasználói azonosítót tároló attribútum (uid) + 'ldapCnAttr' => 'cn', // A felhasználói teljes neve (cn) + 'ldapGroupObjectClass' => 'group', // Csoportok objectum osztálya (volt nayorGroup) + 'ldapGroupCnAttr' => 'cn', // A csoport teljes neve (cn) + + 'ldapContainers' => array( + 'ou=IT,dc=vmg,dc=local', + 'ou=diak,dc=vmg,dc=local' + ), + #'adminGroup' => 'Fiókfelelősök', + #'cacheable' => true, + ); + $AUTH['private']['shadowExpire'] = $AUTH['private']['shadowLastChange'] + $AUTH['private']['shadowMax'] + $AUTH['private']['shadowInactive']; + +?> \ No newline at end of file diff --git a/mayor-orig/config/public-conf.php.example b/mayor-orig/config/public-conf.php.example new file mode 100644 index 00000000..a366aefa --- /dev/null +++ b/mayor-orig/config/public-conf.php.example @@ -0,0 +1,24 @@ +'portal', 'sub'=>'portal', 'f' => 'portal'); +// Illetve nélküle, csak napló modullal: + $DEFAULT_PSF['public'] = array('page'=>'auth', 'sub'=>'', 'f' => 'login'); + +$AUTH['public'] = array( + 'backend' => 'file', + 'authentication' => 'optional', + 'onExpired' => 'force update', + 'onDisabled' => 'refuse', + 'accountAttrs' => array('mail'), + + 'file account file' => '/tmp/passwd', + 'file group file' => '/tmp/group', +); + +// authentication: +// - optional: nem próbálunk authentikálni [default] +// - try: megpróbálhatunk belépni (globalLogin használja) +// - required: kötelező +?> \ No newline at end of file diff --git a/mayor-orig/config/skin-blue/config.php.example b/mayor-orig/config/skin-blue/config.php.example new file mode 100644 index 00000000..ff576e78 --- /dev/null +++ b/mayor-orig/config/skin-blue/config.php.example @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/mayor-orig/config/skin-classic/config.php.example b/mayor-orig/config/skin-classic/config.php.example new file mode 100644 index 00000000..46422cf8 --- /dev/null +++ b/mayor-orig/config/skin-classic/config.php.example @@ -0,0 +1,7 @@ +'."\n"; + //$SSSHH .= ''."\n"; + //define('_ENABLE_IFRAME_EMBEDDING',true); // IFRAME-be ágyazás engedélyezése - !! Biztonsági kockázat !! +?> \ No newline at end of file diff --git a/mayor-orig/config/skin-classic/naplo-config.php.example b/mayor-orig/config/skin-classic/naplo-config.php.example new file mode 100644 index 00000000..37812679 --- /dev/null +++ b/mayor-orig/config/skin-classic/naplo-config.php.example @@ -0,0 +1,15 @@ +'."\n"; +} + +?> \ No newline at end of file diff --git a/mayor-orig/config/skin-sulix/config.php.example b/mayor-orig/config/skin-sulix/config.php.example new file mode 100644 index 00000000..b2afcacb --- /dev/null +++ b/mayor-orig/config/skin-sulix/config.php.example @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/config/skin-winter/config.php.example b/mayor-orig/config/skin-winter/config.php.example new file mode 100644 index 00000000..d106ade5 --- /dev/null +++ b/mayor-orig/config/skin-winter/config.php.example @@ -0,0 +1,6 @@ +?php + // site skin specific html head + $SSSHH = ''; + //$SSSHH .= ''."\n"; + //$SSSHH .= ''."\n"; +?> \ No newline at end of file diff --git a/mayor-orig/download/galleries/sample/01.jpg b/mayor-orig/download/galleries/sample/01.jpg new file mode 100755 index 00000000..26759caa Binary files /dev/null and b/mayor-orig/download/galleries/sample/01.jpg differ diff --git a/mayor-orig/download/private/naplo/orarend/orarendBetolto/fromAsc.xml b/mayor-orig/download/private/naplo/orarend/orarendBetolto/fromAsc.xml new file mode 100644 index 00000000..4fde4510 --- /dev/null +++ b/mayor-orig/download/private/naplo/orarend/orarendBetolto/fromAsc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mayor-orig/export/module-naplo/default/bizonyitvany.php b/mayor-orig/export/module-naplo/default/bizonyitvany.php new file mode 100644 index 00000000..6a6634d8 --- /dev/null +++ b/mayor-orig/export/module-naplo/default/bizonyitvany.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/export/module-naplo/draft/bizonyitvany.php b/mayor-orig/export/module-naplo/draft/bizonyitvany.php new file mode 100644 index 00000000..c7b4b5ad --- /dev/null +++ b/mayor-orig/export/module-naplo/draft/bizonyitvany.php @@ -0,0 +1,39 @@ + diff --git a/mayor-orig/install/base/apache2/mayor.conf b/mayor-orig/install/base/apache2/mayor.conf new file mode 100644 index 00000000..d50b25a5 --- /dev/null +++ b/mayor-orig/install/base/apache2/mayor.conf @@ -0,0 +1,46 @@ + + ServerName your.mayor.server.hu + + ServerAdmin webmaster@localhost + + SSLEngine On + SSLCertificateFile /etc/apache2/ssl/apache.pem +# # SSLCertificateFile /etc/apache2/ssl/crt/name-cert.pem +# # SSLCertificateKeyFile /etc/apache2/ssl/key/name-key.pem + + DocumentRoot /var/mayor/www/ + + Options FollowSymLinks + AllowOverride None + + + Options -Indexes +FollowSymLinks +MultiViews + AllowOverride None + # Apache 2.2 # Order allow,deny + # Apache 2.2 # allow from all + # Apache 2.4 # Require all granted + = 2.3> + Require all granted + + + order allow,deny + allow from all + + RewriteEngine on + RewriteBase / + RewriteCond %{SERVER_PORT} ^80$ + RewriteCond %{THE_REQUEST} .*(policy=private|page=auth|page=password).* + RewriteRule (.*)$ https://%{SERVER_NAME}/$1 [L] + + + + ErrorLog /var/log/apache2/error.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access.log combined + ServerSignature On + + diff --git a/mayor-orig/install/base/ldap/access-control/mayor.acl b/mayor-orig/install/base/ldap/access-control/mayor.acl new file mode 100644 index 00000000..abc5b4d5 --- /dev/null +++ b/mayor-orig/install/base/ldap/access-control/mayor.acl @@ -0,0 +1,97 @@ +# +# Jelszó változtatás +# + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=userPassword + by anonymous auth + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by * none + +access to attrs=userPassword + by anonymous auth + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by * none + + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=shadowLastChange,shadowExpire + by anonymous read + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by * read + +access to attrs=shadowLastChange,shadowExpire + by anonymous read + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by * read + +# +# Személyes adatok +# + +# A session nyitáshoz szükséges adatoknak publikusan olvashatónak kell lennie (shadow, studyId) + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=mail + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by * read + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=telephonenumber,mobile + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by users read + by * none + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=cn,studyId + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by * read + +access to dn.subtree="ou=diak,%BASEDN%" + attrs=l,street,postaladdress,postalcode + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by group/mayorGroup/member="cn=diakadmin,ou=Groups,%BASEDN%" write + by users read + by * none + +# ******************************************************************* # + +access to attrs=mail + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by * read + +access to attrs=telephonenumber,mobile + by self write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by users read + by * none + +access to attrs=cn,studyId + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by * read + +access to attrs=l,street,postaladdress,postalcode + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by users read + by * none + +# +# Alapértelmezett +# + +access to * + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by anonymous read + by * read diff --git a/mayor-orig/install/base/ldap/ldif/groups.ldif b/mayor-orig/install/base/ldap/ldif/groups.ldif new file mode 100644 index 00000000..8b029ef3 --- /dev/null +++ b/mayor-orig/install/base/ldap/ldif/groups.ldif @@ -0,0 +1,59 @@ +# ------------------------------------------- +# MaYoR keretrendszer - alapvető csoportok +# ------------------------------------------- + +dn: cn=useradmin,ou=Groups,%BASEDN% +cn: useradmin +gidNumber: 6001 +description:: VXNlciBhZG1pbmlzenRyw6FjacOz +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=tanar,ou=Groups,ou=tanar,%BASEDN% +cn: tanar +gidNumber: 6002 +description:: QSB0YW7DoXJvaw== +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=titkarsag,ou=Groups,ou=titkarsag,%BASEDN% +cn: titkarsag +gidNumber: 6003 +description:: VGl0a8OhcnPDoWc= +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=gazdasagi,ou=Groups,ou=gazdasagi,%BASEDN% +cn: gazdasagi +gidNumber: 6004 +description:: R2F6ZGFzw6FnaQ== +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=egyeb,ou=Groups,ou=egyeb,%BASEDN% +cn: egyeb +gidNumber: 6005 +description: Egyeb +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=vezetoseg,ou=Groups,%BASEDN% +cn: vezetoseg +gidNumber: 6006 +description:: VmV6ZXTFkXPDqWc= +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup + +dn: cn=diakadmin,ou=Groups,%BASEDN% +cn: diakadmin +gidNumber: 6007 +description: Diak admin +member: uid=mayoradmin,ou=egyeb,%BASEDN% +memberUid: mayoradmin +objectClass: mayorGroup diff --git a/mayor-orig/install/base/ldap/ldif/o.ldif b/mayor-orig/install/base/ldap/ldif/o.ldif new file mode 100644 index 00000000..c13b12c5 --- /dev/null +++ b/mayor-orig/install/base/ldap/ldif/o.ldif @@ -0,0 +1,9 @@ +# ------------------------------------------ +# MaYoR keretrendszer - organization object +# ------------------------------------------ +dn: %BASEDN% +o: %ORGANIZATION% +objectClass: organization +objectClass: mayorOrganization +nextuid: 3100 +nextgid: 6100 diff --git a/mayor-orig/install/base/ldap/ldif/ou.ldif b/mayor-orig/install/base/ldap/ldif/ou.ldif new file mode 100644 index 00000000..3c4609c3 --- /dev/null +++ b/mayor-orig/install/base/ldap/ldif/ou.ldif @@ -0,0 +1,62 @@ +# ------------------------------------------------ +# MaYoR keretrendszer - organizational unit-ok +# ------------------------------------------------ + +dn: ou=Groups,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description: MaYoR csoportok + +# ------------------------------------------------ + +dn: ou=diak,%BASEDN% +ou: diak +objectClass: organizationalUnit +description:: RGnDoWtvaw== + +dn: ou=egyeb,%BASEDN% +ou: egyeb +objectClass: organizationalUnit +description:: RWd5w6liIGZlbGhhc3puw6Fsw7Nr + +dn: ou=gazdasagi,%BASEDN% +ou: gazdasagi +objectClass: organizationalUnit +description:: R2F6ZGFzw6FnaSBpcm9kYQ== + +dn: ou=tanar,%BASEDN% +ou: tanar +objectClass: organizationalUnit +description:: VGFuw6Fyb2s= + +dn: ou=titkarsag,%BASEDN% +ou: titkarsag +objectClass: organizationalUnit +description:: VGl0a8OhcnPDoWc= + +# ------------------------------------------------ + +dn: ou=Groups,ou=diak,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description:: RGnDoWsgY3NvcG9ydG9r + +dn: ou=Groups,ou=egyeb,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description:: RWd5w6liIGNzb3BvcnRvaw== + +dn: ou=Groups,ou=gazdasagi,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description:: R2F6ZGFzw6FnaSBpcm9kYSBjc29wb3J0amFp + +dn: ou=Groups,ou=tanar,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description:: VGFuw6FyIGNzb3BvcnRvaw== + +dn: ou=Groups,ou=titkarsag,%BASEDN% +ou: Groups +objectClass: organizationalUnit +description:: VGl0a8OhcnPDoWdpIGNzb3BvcnRvaw== diff --git a/mayor-orig/install/base/ldap/ldif/user.ldif b/mayor-orig/install/base/ldap/ldif/user.ldif new file mode 100644 index 00000000..b4c747c7 --- /dev/null +++ b/mayor-orig/install/base/ldap/ldif/user.ldif @@ -0,0 +1,23 @@ +# ---------------------------------------- +# MaYoR keretrendszer - mayoradmin +# ---------------------------------------- + +dn: uid=mayoradmin,ou=egyeb,%BASEDN% +uid: mayoradmin +sn: MaYoR +givenName: Admin +cn: MaYoR Admin +gecos: MaYoR Admin +uidNumber: 3001 +gidNumber: 3001 +homeDirectory: /tmp +userPassword: MayorJelszo +objectClass: mayorPerson +objectClass: person + +dn: cn=mayoradmin,ou=Groups,ou=egyeb,%BASEDN% +cn: mayoradmin +gidNumber: 3001 +memberUid: mayoradmin +description:: QSBmZWxoYXN6bsOhbMOzIHNhasOhdCBjc29wb3J0amE= +objectClass: posixGroup diff --git a/mayor-orig/install/base/ldap/mayor-slapd.conf b/mayor-orig/install/base/ldap/mayor-slapd.conf new file mode 100644 index 00000000..d64f6623 --- /dev/null +++ b/mayor-orig/install/base/ldap/mayor-slapd.conf @@ -0,0 +1,42 @@ +# +# Slapd Config File (example) +# Fontosabb beállítások +# + +# mayor objectum schemák +include "/etc/ldap/mayor/schema/mayor.schema" + +# Backend típusa (alapértelmezett az ldbm) +database bdb + +# Az alap könyvtár (az iskola egyedi azonosítója) +suffix "%BASEDN%" + +# Az adatbázis file-ok fizikai helye +directory "/var/lib/ldap/%ORGANIZATION%" + +# Az eltárolt entry-k száma és az index-file-onkénti tár terület +# Olvasd el: http://k12linux.mesd.k12.or.us/ldap/performance.html +cachesize 10000 + +# dbcachesize +# Specify the size in bytes of the in-memory cache associated with +# each open index file. If not supported by the underlying +# database method, this option is ignored without comment. The +# default is 100000 bytes. +#dbcachesize 1048576 + +# Indexek +index objectClass,uid pres,eq +index cn pres,eq,sub +index uidNumber,gidNumber eq + +# Jogosultságok +include "/etc/ldap/mayor/access-control/mayor.acl" + +# Adminisztrátori jogok +access to * + by dn="uid=admin,%BASEDN%" write + by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write + by * read + \ No newline at end of file diff --git a/mayor-orig/install/base/ldap/schema/mayor.schema b/mayor-orig/install/base/ldap/schema/mayor.schema new file mode 100644 index 00000000..147187fe --- /dev/null +++ b/mayor-orig/install/base/ldap/schema/mayor.schema @@ -0,0 +1,101 @@ +# ------------------------------------------------------------------------- +# +# MaYoR keretrendszer LDAP backend schema definíciói +# +# ------------------------------------------------------------------------- + +objectIdentifier mayorOID 1.3.6.1.4.1.13308 +objectIdentifier mayorAttributeType mayorOID:1 +objectIdentifier mayorObjectClass mayorOID:2 + +# ------------------------------------------------------------------------- +# Attribútumok +# ------------------------------------------------------------------------- + +attributeType ( mayorAttributeType:5 + NAME 'leader' + DESC 'A csoport főnöke - pl. osztályfőnök' + SUP owner ) + +attributeType ( mayorAttributeType:6 + NAME 'nextUid' + DESC 'A következő uidNumber' + SUP uidNumber ) + +attributeType ( mayorAttributeType:7 + NAME 'nextGid' + DESC 'A következő gidNumber' + SUP gidNumber ) + +attributeType ( mayorAttributeType:8 + NAME 'freeUid' + DESC 'Szabad uidNumber' + SUP uidNumber ) + +attributeType ( mayorAttributeType:9 + NAME 'freeGid' + DESC 'Szabad gidNumber' + SUP gidNumber ) + +attributetype ( mayorAttributeType:31 + NAME 'studyId' + DESC 'Oktatási azonosító' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch ) + +# ================================================================ +# Objektum osztályok +# ================================================================ + +objectClass ( mayorObjectClass:1 + NAME 'mayorOrganization' + DESC 'MaYoR Organizational Object' + SUP organization + MUST ( nextUid $ nextGid ) + MAY ( freeUid $ freeGid ) ) + +objectClass ( mayorObjectClass:2 + NAME 'mayorPerson' + DESC 'MaYoR Person' + SUP (posixAccount $ shadowAccount) AUXILIARY + MAY ( sn $ givenName $ l $ street $ mail $ postalAddress $ postalCode $ telephoneNumber $ + mobile $ roomNumber $ studyId ) ) +# SUP ( posixAccount $ shadowAccount ) + +objectClass ( mayorObjectClass:3 + NAME 'mayorGroup' + DESC 'MaYoR Group' + SUP ( posixGroup $ groupOfNames ) + MAY ( leader $ mail ) ) + +# ======================================================================================= +# +# objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' +# DESC 'Abstraction of an account with POSIX attributes' +# SUP top AUXILIARY +# MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory ) +# MAY ( userPassword $ loginShell $ gecos $ description ) ) +# +# objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' +# DESC 'Additional attributes for shadow passwords' +# SUP top AUXILIARY +# MUST uid +# MAY ( userPassword $ shadowLastChange $ shadowMin $ +# shadowMax $ shadowWarning $ shadowInactive $ +# shadowExpire $ shadowFlag $ description ) ) +# +# objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' +# DESC 'Abstraction of a group of accounts' +# SUP top STRUCTURAL +# MUST ( cn $ gidNumber ) +# MAY ( userPassword $ memberUid $ description ) ) +# +# objectclass ( 2.5.6.6 NAME 'person' +# DESC 'RFC2256: a person' +# SUP top STRUCTURAL +# MUST ( sn $ cn ) +# MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) ) +# +# ======================================================================================= + diff --git a/mayor-orig/install/base/ldap/schema/mayor.schema.orig b/mayor-orig/install/base/ldap/schema/mayor.schema.orig new file mode 100644 index 00000000..0d1a6547 --- /dev/null +++ b/mayor-orig/install/base/ldap/schema/mayor.schema.orig @@ -0,0 +1,307 @@ +# $OpenLDAP: pkg/ldap/servers/slapd/schema/openldap.schema,v 1.10.2.6 2000/10/11 02:36:50 kurt Exp $ +# +# OpenLDAP Project's directory schema items +# +# depends upon: +# core.schema +# cosine.schema +# inetorgperson.schema +# +# These are provided for informational purposes only. +# +# Prefix: iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) +# The IANA has assigned the following Private Enterprise Number 13308. +# 13308 Vrosmajori Gimnzium Bence Brnkopf barnkopf@debyl.vmg.sulinet.hu +# +# ------------------------------------------------------------------------- +# +# MaYoR elektronikus napl schema defincii +# 1.3.6.1.4.1.13308.1 - attributumok +# 1.3.6.1.4.1.13308.2 - objectumok +# +# ------------------------------------------------------------------------- + + +attributeType ( 1.3.6.1.4.1.13308.1.1 + NAME 'url' + DESC 'A csoport oldalhoz tartoz URL' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) + +attributeType ( 1.3.6.1.4.1.13308.1.2 + NAME 'homePage' + DESC 'A user vagy csoport honlapja' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) + +attributeType ( 1.3.6.1.4.1.13308.1.3 + NAME 'class' + DESC 'Az osztly betjele (A-D)' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) + +attributeType ( 1.3.6.1.4.1.13308.1.4 + NAME 'year' + DESC 'vfolyam 7-tl 12-ig' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32768} ) + +attributeType ( 1.3.6.1.4.1.13308.1.5 + NAME 'leader' + DESC 'A csoport fnke - pl. osztlyfnk' + SUP owner ) + +attributeType ( 1.3.6.1.4.1.13308.1.6 + NAME 'nextUid' + DESC 'A kvetkez uidNumber' + SUP uidNumber ) + +attributeType ( 1.3.6.1.4.1.13308.1.7 + NAME 'nextGid' + DESC 'A kvetkez gidNumber' + SUP gidNumber ) + +attributeType ( 1.3.6.1.4.1.13308.1.8 + NAME 'freeUid' + DESC 'Szabad uidNumber' + SUP uidNumber ) + +attributeType ( 1.3.6.1.4.1.13308.1.9 + NAME 'freeGid' + DESC 'Szabad gidNumber' + SUP gidNumber ) + +attributeType ( 1.3.6.1.4.1.13308.1.10 + NAME 'subject' + DESC 'Tantrgy neve' + SUP name ) + +attributeType ( 1.3.6.1.4.1.13308.1.11 + NAME 'level' + DESC 'Tantrgy szintje (fakultci,alap,tagozat)' + SUP name ) + +attributetype ( 1.3.6.1.4.1.13308.1.12 + NAME 'registerTimestamp' + EQUALITY generalizedTimeMatch + ORDERING generalizedTimeOrderingMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 + DESC 'Beiratkozs dtuma' ) + +attributetype ( 1.3.6.1.4.1.13308.1.13 + NAME 'classTimestamp' + EQUALITY generalizedTimeMatch + ORDERING generalizedTimeOrderingMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 + DESC 'Osztlyba kerls dtuma' ) + +attributetype ( 1.3.6.1.4.1.13308.1.14 + NAME 'studentCardTimestamp' + EQUALITY generalizedTimeMatch + ORDERING generalizedTimeOrderingMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 + DESC 'Dikigazolvny killtsnak dtuma' ) + +attributetype ( 1.3.6.1.4.1.13308.1.15 + NAME 'birthTimestamp' + EQUALITY generalizedTimeMatch + ORDERING generalizedTimeOrderingMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 + DESC 'Szletsi dtum' ) + +attributetype ( 1.3.6.1.4.1.13308.1.16 + NAME 'localityTimestamp' + EQUALITY generalizedTimeMatch + ORDERING generalizedTimeOrderingMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 + DESC 'Lakcm dtuma' ) + +attributetype ( 1.3.6.1.4.1.13308.1.17 + NAME 'guardianCn' + DESC 'Gondvisel (apa) neve' + SUP cn )' + +attributetype ( 1.3.6.1.4.1.13308.1.18 + NAME 'motherCn' + DESC 'Anya neve' + SUP cn )' + +attributetype ( 1.3.6.1.4.1.13308.1.19 + NAME 'birthLocality' + DESC 'Szletsi hely' + SUP l )' + +## +# OM kd (8 db (?) szm) +## +attributetype ( 1.3.6.1.4.1.13308.1.20 + NAME 'primarySchoolOMCode' + DESC 'ltalnos iskola azonostja' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch ) + +## +# 10 jegy szm +## +attributetype ( 1.3.6.1.4.1.13308.1.21 + NAME 'studentCardNumber' + DESC 'Dikigazolvny szma' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch ) + +## +# 10 jegy szm +## +attributetype ( 1.3.6.1.4.1.13308.1.22 + NAME 'taxId' + DESC 'Adazonost jel' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch ) + + + +## +# Anyaknyvbe vtel ve, osztly betjele s anyaknyvi sorszm +## +attributetype ( 1.3.6.1.4.1.13308.1.23 + NAME 'registerNumber' + DESC 'Trzslapszm' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch ) + +## +# Napl azonost s naplbeli sorszm (lehet osztly betjel benne) +## +attributetype ( 1.3.6.1.4.1.13308.1.24 + NAME 'diaryNumber' + DESC 'Napl sorszm' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch ) + +## +# fi/lny +## +attributeType ( 1.3.6.1.4.1.13308.1.25 + NAME 'sex' + DESC 'Nem (fi/lny)' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) + +## +# 9 jegy szm +## +attributetype ( 1.3.6.1.4.1.13308.1.26 + NAME 'TAJNumber' + DESC 'Napl sorszm' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch ) + +## +# Szl/meghatalmazott jelszava +## +attributetype ( 1.3.6.1.4.1.13308.1.27 + NAME 'parentPassword' + DESC 'Szl/meghatalmazott jelszava' + SUP userPassword ) + +attributeType ( 1.3.6.1.4.1.13308.1.28 + NAME 'studentMember' + DESC 'Tanul - rra jr s jegyet kap' + SUP member ) + +attributeType ( 1.3.6.1.4.1.13308.1.29 + NAME 'exemptMember' + DESC 'Felmentett tanul - rra jr s nem kap jegyet' + SUP member ) + +attributeType ( 1.3.6.1.4.1.13308.1.30 + NAME 'examerMember' + DESC 'Vizsgz tanul - nem jr rra s jegyet kap' + SUP member ) + +attributetype ( 1.3.6.1.4.1.13308.1.31 + NAME 'studyId' + DESC 'Oktatsi azonost' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch ) +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 +# EQUALITY caseIgnoreIA5Match +# SUBSTR caseIgnoreIA5SubstringsMatch ) + +# ================================================================ +# ObjectClass-ok +# ================================================================ + +objectClass ( 1.3.6.1.4.1.13308.2.1 + NAME 'mayorOrganization' + DESC 'MaYoR Organizational Object' + SUP organization + MUST ( nextUid $ nextGid ) + MAY ( freeUid $ freeGid ) ) + +objectClass ( 1.3.6.1.4.1.13308.2.2 + NAME 'mayorPerson' + DESC 'MaYoR Person' + MUST ( uid $ cn $ uidNumber $ gidNumber $ homeDirectory ) + MAY ( sn $ givenName $ class $ year $ l $ street $ mail $ postalAddress $ postalCode $ telephoneNumber $ + mobile $ roomNumber $ homePage $ registerTimestamp $ primarySchoolOMCode $ + classTimestamp $ studentCardNumber $ studentCardTimestamp $ taxId $ birthTimestamp $ TAJNumber $ studyId $ + birthLocality $ registerNumber $ diaryNumber $ sex $ guardianCn $ motherCn $ localityTimestamp $ parentPassword ) ) +# SUP ( inetOrgPerson ) + +objectClass ( 1.3.6.1.4.1.13308.2.3 + NAME 'mayorGroup' + DESC 'MaYorR Group' + SUP ( posixGroup $ groupOfNames ) + MAY ( leader $ mail $ homePage $ url $ roomNumber $ studentMember ) ) + +objectClass ( 1.3.6.1.4.1.13308.2.4 + NAME 'mayorStudyGroup' + DESC 'MaYoR Study Group - Tankr' + SUP ( mayorGroup ) + MAY ( year $ class $ level $ subject $ + studentMember $ exemptMember $ examerMember ) ) + +objectClass ( 1.3.6.1.4.1.13308.2.5 + NAME 'mayorSubjectGroup' + DESC 'MaYoR Subject Group - Szakkr' + SUP ( mayorGroup ) + MAY ( year $ class $ level $ subject $ exemptMember ) ) + +objectClass ( 1.3.6.1.4.1.13308.2.6 + NAME 'mayorPrivateStudentsGroup' + DESC 'MaYoR Private Students Group - Magntanulk' + SUP ( mayorGroup ) + MAY ( year $ class $ level $ subject $ examerMember ) ) + +# ======================================================================================= +# +# rdemes a felhasznlkat/csoportokat az albbi objectClass-okba is besorolni, hogy +# rendes unix felhasznlknt/csoportknt is funkcionljanak +# +# ------------------------------------------------------------------------ +# +# objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY +# DESC 'Abstraction of an account with POSIX attributes' +# MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory ) +# MAY ( userPassword $ loginShell $ gecos $ description ) ) +# +# objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY +# DESC 'Additional attributes for shadow passwords' +# MUST uid +# MAY ( userPassword $ shadowLastChange $ shadowMin $ +# shadowMax $ shadowWarning $ shadowInactive $ +# shadowExpire $ shadowFlag $ description ) ) +# ======================================================================================= + diff --git a/mayor-orig/install/base/ldap/slapd.inc b/mayor-orig/install/base/ldap/slapd.inc new file mode 100644 index 00000000..7ede3e38 --- /dev/null +++ b/mayor-orig/install/base/ldap/slapd.inc @@ -0,0 +1,7 @@ + +# ----------------------------------------------- +# MaYoR elektronikus napló +# ----------------------------------------------- + +include %LDAP_CONF_DIR%/mayor/mayor-slapd.conf + diff --git a/mayor-orig/install/base/mysql/mayor-auth.sql b/mayor-orig/install/base/mysql/mayor-auth.sql new file mode 100644 index 00000000..7e0b1731 --- /dev/null +++ b/mayor-orig/install/base/mysql/mayor-auth.sql @@ -0,0 +1,54 @@ + +DROP DATABASE IF EXISTS %MYSQL_AUTH_DB%; +CREATE DATABASE %MYSQL_AUTH_DB% CHARACTER SET utf8 DEFAULT COLLATE utf8_hungarian_ci; + +GRANT ALL ON %MYSQL_AUTH_DB%.* TO '%MYSQL_AUTH_USER%'@'localhost' IDENTIFIED BY '%MYSQL_AUTH_PW%'; + +USE %MYSQL_AUTH_DB%; + +CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE accounts ( + uid INT UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL, + policy ENUM('private','parent','public') NOT NULL, + userAccount VARCHAR(32) NOT NULL, + userCn VARCHAR(64), + userPassword VARBINARY(40) DEFAULT NULL, + studyId VARCHAR(12), + mail VARCHAR(64), + telephoneNumber VARCHAR(16), + shadowLastChange INT UNSIGNED, + shadowMin TINYINT UNSIGNED, + shadowMax TINYINT UNSIGNED, + shadowWarning TINYINT UNSIGNED, + shadowInactive TINYINT UNSIGNED, + shadowExpire INT UNSIGNED, + UNIQUE KEY (userAccount,policy) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE groups ( + gid INT UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL, + groupCn VARCHAR(32), + groupDesc VARCHAR(64), + policy VARCHAR(10) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE members ( + uid INT UNSIGNED NOT NULL, + gid INT UNSIGNED NOT NULL, + INDEX members_uid(uid), + INDEX members_gid(gid), + FOREIGN KEY(uid) + REFERENCES accounts(uid) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(gid) + REFERENCES groups(gid) + ON DELETE CASCADE + ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + diff --git a/mayor-orig/install/base/mysql/mayor-login.sql b/mayor-orig/install/base/mysql/mayor-login.sql new file mode 100644 index 00000000..556b28cc --- /dev/null +++ b/mayor-orig/install/base/mysql/mayor-login.sql @@ -0,0 +1,173 @@ + +DROP DATABASE IF EXISTS %MYSQL_LOGIN_DB%; +CREATE DATABASE %MYSQL_LOGIN_DB% CHARACTER SET utf8 DEFAULT COLLATE utf8_hungarian_ci; +GRANT ALL ON %MYSQL_LOGIN_DB%.* TO '%MYSQL_LOGIN_USER%'@'localhost' IDENTIFIED BY '%MYSQL_LOGIN_PW%'; +USE %MYSQL_LOGIN_DB%; + +-- +-- Table structure for table 'login_log' +-- + +CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE loginLog ( + logId int(10) unsigned NOT NULL auto_increment, + policy varchar(10) NOT NULL default 'private', + userAccount varchar(50) default NULL, + ip varchar(15) default NULL, + dt datetime default NULL, + flag tinyint(3) unsigned default NULL, + PRIMARY KEY (logId) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +-- +-- Table structure for table 'session' +-- + +CREATE TABLE session ( + sessionID char(40) COLLATE utf8_hungarian_ci NOT NULL, + userPassword varchar(32) character set latin1 default NULL, + userAccount varchar(50) default NULL, + userCn varchar(50) default NULL, + studyId BIGINT UNSIGNED NULL, + dt datetime default NULL, + policy varchar(10) COLLATE utf8_hungarian_ci NOT NULL default 'private', + skin varchar(16) default NULL, + lang varchar(5) default NULL, + jsLevel tinyint(3) unsigned default 2, + activity datetime default NULL, + sessionCookie char(40) NOT NULL, + PRIMARY KEY (sessionID,policy) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +-- +-- Table structure for table 'settings' +-- + +CREATE TABLE settings ( + userAccount varchar(50) NOT NULL, + policy varchar(10) NOT NULL default 'private', + skin varchar(20) default 'default', + lang varchar(5) default 'hu_HU', + jsLevel tinyint(3) unsigned default 2, + lastlogin datetime NOT NULL default '0000-00-00 00:00:00', + PRIMARY KEY (userAccount,policy) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +-- +-- Table structure for table 'start' +-- + +CREATE TABLE start ( + userAccount varchar(50) NOT NULL, + type varchar(10) NOT NULL default 'column', + name varchar(20) default NULL, + idx tinyint unsigned default 0, + PRIMARY KEY (userAccount,type,name), + KEY (userAccount) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +-- +-- Table structure for table 'stat' +-- + +CREATE TABLE stat ( + dt datetime default NULL, + policy varchar(20) default NULL, + page varchar(20) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `cache` ( + `sessionID` char(40), + `policy` varchar(10), + `kulcs` varchar(32) NOT NULL, + `ertek` varchar(100), dt DATETIME, + PRIMARY KEY (sessionID,policy,kulcs) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `mayorSsl` ( + `sslId` tinyint(1) unsigned NOT NULL AUTO_INCREMENT, + `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `privateKey` text COLLATE utf8_hungarian_ci NOT NULL, + `publicKey` text COLLATE utf8_hungarian_ci NOT NULL, + `secret` varchar(40) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`sslId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `mayorKeychain` ( + `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény', + `dt` date DEFAULT NULL, + `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `publicKey` text COLLATE utf8_hungarian_ci NOT NULL, + `valid` tinyint(1) unsigned NOT NULL DEFAULT '1', + `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + `nev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `rovidNev` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimIrsz` varchar(8) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimKozteruletNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimKozteruletJelleg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimHazszam` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL, + `telefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `fax` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `email` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `honlap` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `kapcsolatNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `kapcsolatEmail` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `kapcsolatTelefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`nodeId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT IGNORE INTO mayorKeychain (dt,nodeId,nodeTipus,publicKey,url,valid) +VALUES (CURDATE(), '09862967','controller','-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI +Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN +2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD ++O8uuA7jQwczlSqWJwIDAQAB +-----END PUBLIC KEY-----','https://www.mayor.hu',1); + +CREATE TABLE `accountRecovery` ( + `recoveryId` int(11) unsigned NOT NULL AUTO_INCREMENT, + `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL, + `selector` char(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `token` char(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL, + PRIMARY KEY (`recoveryId`), + KEY `selector` (`selector`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `facebookConnect` ( + `fbUserId` bigint(20) NOT NULL, + `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL, + `fbUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `fbUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `studyId` varchar(11) COLLATE utf8_hungarian_ci DEFAULT NULL, + UNIQUE KEY `fbUserId` (`fbUserId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `googleConnect` ( + `googleSub` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL, + `googleUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `googleUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `studyId` varchar(12) COLLATE utf8_hungarian_ci DEFAULT NULL, + UNIQUE KEY `googleSub` (`googleSub`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE loginLog_a ( + logId int(10) unsigned NOT NULL, + policy varchar(10) NOT NULL default 'private', + userAccount varchar(50) default NULL, + ip varchar(15) default NULL, + dt datetime default NULL, + flag tinyint(3) unsigned default NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + diff --git a/mayor-orig/install/base/mysql/private-users.sql b/mayor-orig/install/base/mysql/private-users.sql new file mode 100644 index 00000000..101188f5 --- /dev/null +++ b/mayor-orig/install/base/mysql/private-users.sql @@ -0,0 +1,12 @@ +USE %MYSQL_PRIVATE_DB%; + +INSERT INTO accounts + (policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire) + VALUES ('private','mayoradmin','MaYoR Adminisztrátor',SHA('jelszo'),(TO_DAYS(now())-TO_DAYS("1970-01-01"))-80,2,80,10,0,NULL); +SET @uid = (SELECT uid FROM accounts WHERE userAccount='mayoradmin'); +INSERT INTO groups (groupCn,groupDesc,policy) VALUES ('useradmin','Adminisztrátor','private'),('tanar','Tanárok','private'), + ('diak','Diákok','private'),('titkarsag','Titkárság','private'),('egyeb','Egyéb','private'); +SET @gid = (SELECT gid FROM groups WHERE groupCn='useradmin'); +INSERT INTO members (uid,gid) VALUES (@uid,@gid); +SET @gid = (SELECT gid FROM groups WHERE groupCn='egyeb'); +INSERT INTO members (uid,gid) VALUES (@uid,@gid); diff --git a/mayor-orig/install/base/mysql/utf8.cnf b/mayor-orig/install/base/mysql/utf8.cnf new file mode 100644 index 00000000..e5927257 --- /dev/null +++ b/mayor-orig/install/base/mysql/utf8.cnf @@ -0,0 +1,5 @@ + +[mysqld] + character-set-server = utf8 + collation-server = utf8_hungarian_ci + skip-character-set-client-handshake diff --git a/mayor-orig/install/module-naplo/mysql/base.sql b/mayor-orig/install/module-naplo/mysql/base.sql new file mode 100644 index 00000000..cb4ba11d --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/base.sql @@ -0,0 +1,186 @@ +DROP DATABASE IF EXISTS %MYSQL_NAPLO_DB%; +CREATE DATABASE %MYSQL_NAPLO_DB% CHARACTER SET utf8 COLLATE utf8_hungarian_ci; +GRANT ALL ON %MYSQL_NAPLO_DB%.* TO '%MYSQL_NAPLO_USER%'@'localhost' IDENTIFIED BY '%MYSQL_NAPLO_PW%'; +GRANT SELECT ON %MYSQL_NAPLO_DB%.* TO '%MYSQL_NAPLO_USER_READ%'@'localhost' IDENTIFIED BY '%MYSQL_NAPLO_PW_READ%'; +USE %MYSQL_NAPLO_DB%; + +CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kerelem` ( + `kerelemId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `userAccount` varchar(32) DEFAULT NULL, + `szoveg` text, + `valasz` text, + `rogzitesDt` datetime DEFAULT NULL, + `jovahagyasDt` datetime DEFAULT NULL, + `jovahagyasAccount` varchar(32) DEFAULT NULL, + `lezarasDt` datetime DEFAULT NULL, + `kategoria` varchar(32) DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL, + `felelosCsoport` enum('naploadmin','vezetoseg','titkarsag') DEFAULT 'naploadmin', + PRIMARY KEY (`kerelemId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + CREATE TABLE `kerelemValasz` ( + `valaszId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kerelemId` int(10) unsigned NOT NULL, + `valasz` text, + `valaszDt` timestamp DEFAULT CURRENT_TIMESTAMP, + `userAccount` varchar(32) DEFAULT NULL, + PRIMARY KEY (`valaszId`), + KEY `kerelemValasz_ibfk_1` (`kerelemId`), + CONSTRAINT `kerelemValasz_ibfk_1` FOREIGN KEY (`kerelemId`) REFERENCES `kerelem` (`kerelemId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `session` ( + `sessionID` char(40) collate utf8_hungarian_ci NOT NULL, + `policy` varchar(10) collate utf8_hungarian_ci NOT NULL DEFAULT 'private', + `intezmeny` varchar(16) DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL, + `tanev` smallint(5) unsigned DEFAULT NULL, + `parentDiakId` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`sessionID`,`policy`), + CONSTRAINT `session_login` FOREIGN KEY (`sessionID`, `policy`) + REFERENCES `mayor_login`.`session` (`sessionID`, `policy`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `intezmeny` ( + `OMKod` mediumint(8) unsigned zerofill NOT NULL, + `rovidNev` varchar(16) COLLATE utf8_hungarian_ci NOT NULL, + `nev` varchar(128) COLLATE utf8_hungarian_ci NOT NULL, + `alapertelmezett` tinyint(3) unsigned NOT NULL DEFAULT '0', + `telefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `fax` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `email` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `honlap` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `fenntarto` enum('állami','egyházi','alapítványi','magán','egyéb') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'állami', + PRIMARY KEY (`OMKod`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `settings` ( + `userAccount` varchar(32) NOT NULL, + `policy` enum('private','parent','public') DEFAULT 'private' NOT NULL, + `intezmeny` varchar(16) DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Table structure for table `telepulesLista` +-- + +DROP TABLE IF EXISTS `telepulesLista`; +CREATE TABLE `telepulesLista` ( + `telepules` varchar(60) CHARACTER SET utf8 NOT NULL, + `megye` varchar(60) CHARACTER SET utf8 NOT NULL, + `irsz` varchar(4) CHARACTER SET utf8 DEFAULT NULL, + KEY `idx_telepulesirsz` (`irsz`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `telepulesLista` VALUES ('Ágasegyháza','Bács-Kiskun','6076'),('Akasztó','Bács-Kiskun','6221'),('Apostag','Bács-Kiskun','6088'),('Bácsalmás','Bács-Kiskun','6430'),('Bácsbokod','Bács-Kiskun','6453'),('Bácsborsód','Bács-Kiskun','6454'),('Bácsszentgyörgy','Bács-Kiskun','6511'),('Bácsszőlős','Bács-Kiskun','6425'),('Baja','Bács-Kiskun','6500'),('Ballószög','Bács-Kiskun','6035'),('Balotaszállás','Bács-Kiskun','6412'),('Bátmonostor','Bács-Kiskun','6528'),('Bátya','Bács-Kiskun','6351'),('Bócsa','Bács-Kiskun','6235'),('Borota','Bács-Kiskun','6445'),('Bugac','Bács-Kiskun','6114'),('Bugacpusztaháza','Bács-Kiskun','6114'),('Császártöltés','Bács-Kiskun','6239'),('Csátalja','Bács-Kiskun','6523'),('Csávoly','Bács-Kiskun','6448'),('Csengőd','Bács-Kiskun','6222'),('Csikéria','Bács-Kiskun','6424'),('Csólyospálos','Bács-Kiskun','6135'),('Dávod','Bács-Kiskun','6524'),('Drágszél','Bács-Kiskun','6342'),('Dunaegyháza','Bács-Kiskun','6323'),('Dunafalva','Bács-Kiskun','6513'),('Dunapataj','Bács-Kiskun','6328'),('Dunaszentbenedek','Bács-Kiskun','6333'),('Dunatetétlen','Bács-Kiskun','6325'),('Dunatetétlen','Bács-Kiskun','6320'),('Dunavecse','Bács-Kiskun','6087'),('Dusnok','Bács-Kiskun','6353'),('Érsekcsanád','Bács-Kiskun','6347'),('Érsekhalma','Bács-Kiskun','6348'),('Fajsz','Bács-Kiskun','6352'),('Felsőlajos','Bács-Kiskun','6050'),('Felsőlajos','Bács-Kiskun','6055'),('Felsőszentiván','Bács-Kiskun','6447'),('Foktő','Bács-Kiskun','6300'),('Foktő','Bács-Kiskun','6331'),('Fülöpháza','Bács-Kiskun','6042'),('Fülöpjakab','Bács-Kiskun','6116'),('Fülöpszállás','Bács-Kiskun','6085'),('Gara','Bács-Kiskun','6522'),('Gátér','Bács-Kiskun','6111'),('Géderlak','Bács-Kiskun','6334'),('Hajós','Bács-Kiskun','6344'),('Harkakötöny','Bács-Kiskun','6136'),('Harta','Bács-Kiskun','6327'),('Harta','Bács-Kiskun','6326'),('Helvécia','Bács-Kiskun','6034'),('Hercegszántó','Bács-Kiskun','6525'),('Homokmégy','Bács-Kiskun','6341'),('Imrehegy','Bács-Kiskun','6238'),('Izsák','Bács-Kiskun','6070'),('Jakabszállás','Bács-Kiskun','6078'),('Jánoshalma','Bács-Kiskun','6440'),('Jászszentlászló','Bács-Kiskun','6133'),('Kalocsa','Bács-Kiskun','6300'),('Kaskantyú','Bács-Kiskun','6211'),('Katymár','Bács-Kiskun','6455'),('Kecel','Bács-Kiskun','6237'),('Kecskemét','Bács-Kiskun','6000'),('Kecskemét','Bács-Kiskun','6044'),('Kecskemét','Bács-Kiskun','6034'),('Kecskemét','Bács-Kiskun','6008'),('Kelebia','Bács-Kiskun','6423'),('Kéleshalom','Bács-Kiskun','6444'),('Kerekegyháza','Bács-Kiskun','6041'),('Kiskőrös','Bács-Kiskun','6200'),('Kiskunfélegyháza','Bács-Kiskun','6100'),('Kiskunhalas','Bács-Kiskun','6400'),('Kiskunmajsa','Bács-Kiskun','6120'),('Kisszállás','Bács-Kiskun','6421'),('Kömpöc','Bács-Kiskun','6134'),('Kunadacs','Bács-Kiskun','6097'),('Kunbaja','Bács-Kiskun','6435'),('Kunbaracs','Bács-Kiskun','6043'),('Kunfehértó','Bács-Kiskun','6413'),('Kunpeszér','Bács-Kiskun','6096'),('Kunszállás','Bács-Kiskun','6115'),('Kunszentmiklós','Bács-Kiskun','6090'),('Ladánybene','Bács-Kiskun','6045'),('Lajosmizse','Bács-Kiskun','6050'),('Lakitelek','Bács-Kiskun','6065'),('Madaras','Bács-Kiskun','6456'),('Mátételke','Bács-Kiskun','6452'),('Mélykút','Bács-Kiskun','6449'),('Miske','Bács-Kiskun','6343'),('Móricgát','Bács-Kiskun','6132'),('Nagybaracska','Bács-Kiskun','6527'),('Nemesnádudvar','Bács-Kiskun','6345'),('Nyárlőrinc','Bács-Kiskun','6032'),('Ordas','Bács-Kiskun','6335'),('Orgovány','Bács-Kiskun','6077'),('Öregcsertő','Bács-Kiskun','6311'),('Páhi','Bács-Kiskun','6075'),('Pálmonostora','Bács-Kiskun','6112'),('Petőfiszállás','Bács-Kiskun','6113'),('Pirtó','Bács-Kiskun','6414'),('Rém','Bács-Kiskun','6446'),('Solt','Bács-Kiskun','6320'),('Soltszentimre','Bács-Kiskun','6223'),('Soltvadkert','Bács-Kiskun','6230'),('Sükösd','Bács-Kiskun','6346'),('Szabadszállás','Bács-Kiskun','6080'),('Szakmár','Bács-Kiskun','6336'),('Szakmár','Bács-Kiskun','6636'),('Szalkszentmárton','Bács-Kiskun','6086'),('Szank','Bács-Kiskun','6131'),('Szentkirály','Bács-Kiskun','6031'),('Szeremle','Bács-Kiskun','6512'),('Tabdi','Bács-Kiskun','6224'),('Tass','Bács-Kiskun','6098'),('Tataháza','Bács-Kiskun','6451'),('Tázlár','Bács-Kiskun','6236'),('Tiszaalpár','Bács-Kiskun','6066'),('Tiszaalpár','Bács-Kiskun','6067'),('Tiszakécske','Bács-Kiskun','6060'),('Tiszakécske','Bács-Kiskun','6062'),('Tiszaug','Bács-Kiskun','6064'),('Tompa','Bács-Kiskun','6422'),('Újsolt','Bács-Kiskun','6321'),('Újtelek','Bács-Kiskun','6337'),('Uszód','Bács-Kiskun','6332'),('Városföld','Bács-Kiskun','6033'),('Vaskút','Bács-Kiskun','6521'),('Zsana','Bács-Kiskun','6411'),('Abaliget','Baranya','7678'),('Adorjás','Baranya','7841'),('Ág','Baranya','7381'),('Almamellék','Baranya','7934'),('Almamellék','Baranya','7936'),('Almamellék','Baranya','7937'),('Almamellék','Baranya','7935'),('Almáskeresztúr','Baranya','7932'),('Alsómocsolád','Baranya','7345'),('Alsószentmárton','Baranya','7800'),('Alsószentmárton','Baranya','7826'),('Apátvarasd','Baranya','7720'),('Aranyosgadány','Baranya','7671'),('Áta','Baranya','7763'),('Babarc','Baranya','7757'),('Babarcszőlős','Baranya','7814'),('Bakóca','Baranya','7393'),('Bakonya','Baranya','7675'),('Bakonya','Baranya','7940'),('Baksa','Baranya','7834'),('Bánfa','Baranya','7914'),('Bár','Baranya','7711'),('Baranyahídvég','Baranya','7841'),('Baranyajenő','Baranya','7384'),('Baranyaszentgyörgy','Baranya','7383'),('Basal','Baranya','7922'),('Belvárdgyula','Baranya','7747'),('Beremend','Baranya','7827'),('Berkesd','Baranya','7664'),('Besence','Baranya','7838'),('Bezedek','Baranya','7782'),('Bicsérd','Baranya','7940'),('Bicsérd','Baranya','7671'),('Bikal','Baranya','7346'),('Birján','Baranya','7747'),('Bisse','Baranya','7811'),('Boda','Baranya','7672'),('Bodolyabér','Baranya','7394'),('Bogád','Baranya','7742'),('Bogádmindszent','Baranya','7836'),('Bogdása','Baranya','7966'),('Boldogasszonyfa','Baranya','7937'),('Bóly','Baranya','7754'),('Borjád','Baranya','7756'),('Bosta','Baranya','7811'),('Botykapeterd','Baranya','7900'),('Bükkösd','Baranya','7682'),('Bükkösd','Baranya','7683'),('Bürüs','Baranya','7915'),('Bürüs','Baranya','7973'),('Cún','Baranya','7843'),('Cún','Baranya','7838'),('Csányoszró','Baranya','7964'),('Csarnóta','Baranya','7811'),('Csebény','Baranya','7935'),('Cserdi','Baranya','7683'),('Cserkút','Baranya','7673'),('Csertő','Baranya','7900'),('Csonkamindszent','Baranya','7940'),('Dencsháza','Baranya','7915'),('Dinnyeberki','Baranya','7683'),('Diósviszló','Baranya','7817'),('Drávacsehi','Baranya','7849'),('Drávacsepely','Baranya','7846'),('Drávafok','Baranya','7967'),('Drávaiványi','Baranya','7960'),('Drávakeresztúr','Baranya','7967'),('Drávapalkonya','Baranya','7850'),('Drávapiski','Baranya','7843'),('Drávaszabolcs','Baranya','7851'),('Drávaszerdahely','Baranya','7847'),('Drávasztára','Baranya','7960'),('Dunaszekcső','Baranya','7712'),('Egerág','Baranya','7763'),('Egyházasharaszti','Baranya','7824'),('Egyházaskozár','Baranya','7347'),('Ellend','Baranya','7744'),('Endrőc','Baranya','7973'),('Erdősmárok','Baranya','7735'),('Erdősmecske','Baranya','7723'),('Erzsébet','Baranya','7661'),('Fazekasboda','Baranya','7732'),('Feked','Baranya','7724'),('Felsőegerszeg','Baranya','7370'),('Felsőszentmárton','Baranya','7968'),('Garé','Baranya','7812'),('Gerde','Baranya','7951'),('Gerényes','Baranya','7362'),('Geresdlak','Baranya','7733'),('Gilvánfa','Baranya','7954'),('Gordisa','Baranya','7853'),('Gödre','Baranya','7385'),('Gödre','Baranya','7386'),('Görcsöny','Baranya','7833'),('Görcsönydoboka','Baranya','7728'),('Gyód','Baranya','7668'),('Gyöngyfa','Baranya','7954'),('Gyöngyösmellék','Baranya','7972'),('Gyöngyösmellék','Baranya','7900'),('Harkány','Baranya','7815'),('Hásságy','Baranya','7745'),('Hegyhátmaróc','Baranya','7348'),('Hegyszentmárton','Baranya','7837'),('Helesfa','Baranya','7683'),('Hetvehely','Baranya','7681'),('Hidas','Baranya','7696'),('Himesháza','Baranya','7735'),('Hirics','Baranya','7838'),('Hobol','Baranya','7971'),('Homorúd','Baranya','7716'),('Homorúd','Baranya','7714'),('Homorúd','Baranya','7715'),('Horváthertelend','Baranya','7935'),('Hosszúhetény','Baranya','7720'),('Hosszúhetény','Baranya','7694'),('Husztót','Baranya','7678'),('Ibafa','Baranya','7683'),('Ibafa','Baranya','7935'),('Illocska','Baranya','7775'),('Ipacsfa','Baranya','7847'),('Ivánbattyán','Baranya','7772'),('Ivándárda','Baranya','7781'),('Kacsóta','Baranya','7940'),('Kákics','Baranya','7958'),('Kárász','Baranya','7333'),('Kásád','Baranya','7827'),('Katádfa','Baranya','7914'),('Kátoly','Baranya','7661'),('Kékesd','Baranya','7661'),('Kémes','Baranya','7843'),('Kemse','Baranya','7839'),('Keszü','Baranya','7668'),('Kétújfalu','Baranya','7975'),('Királyegyháza','Baranya','7953'),('Kisasszonyfa','Baranya','7954'),('Kisbeszterce','Baranya','7391'),('Kisbudmér','Baranya','7756'),('Kisdér','Baranya','7814'),('Kisdobsza','Baranya','7985'),('Kishajmás','Baranya','7391'),('Kisharsány','Baranya','7800'),('Kisherend','Baranya','7763'),('Kisjakabfalva','Baranya','7773'),('Kiskassa','Baranya','7766'),('Kislippó','Baranya','7775'),('Kisnyárád','Baranya','7759'),('Kistamási','Baranya','7981'),('Kistapolca','Baranya','7823'),('Kistótfalu','Baranya','7768'),('Kisvaszar','Baranya','7381'),('Kisszentmárton','Baranya','7841'),('Komló','Baranya','7300'),('Kórós','Baranya','7841'),('Kovácshida','Baranya','7847'),('Kovácsszénája','Baranya','7678'),('Kozármisleny','Baranya','7761'),('Köblény','Baranya','7334'),('Kökény','Baranya','7639'),('Kölked','Baranya','7717'),('Kölked','Baranya','7700'),('Kővágószőlős','Baranya','7673'),('Kővágótöttös','Baranya','7675'),('Kővágótöttös','Baranya','7940'),('Kővágótöttös','Baranya','7600'),('Lánycsók','Baranya','7759'),('Lapáncsa','Baranya','7775'),('Liget','Baranya','7331'),('Lippó','Baranya','7781'),('Liptód','Baranya','7757'),('Lothárd','Baranya','7761'),('Lovászhetény','Baranya','7720'),('Lúzsok','Baranya','7838'),('Mágocs','Baranya','7342'),('Magyarbóly','Baranya','7775'),('Magyaregregy','Baranya','7332'),('Magyarhertelend','Baranya','7394'),('Magyarlukafa','Baranya','7925'),('Magyarmecske','Baranya','7954'),('Magyarsarlós','Baranya','7761'),('Magyarszék','Baranya','7396'),('Magyartelek','Baranya','7954'),('Majs','Baranya','7783'),('Mánfa','Baranya','7304'),('Mánfa','Baranya','7300'),('Mánfa','Baranya','7694'),('Mánfa','Baranya','7600'),('Maráza','Baranya','7733'),('Márfa','Baranya','7817'),('Máriakéménd','Baranya','7663'),('Markóc','Baranya','7967'),('Marócsa','Baranya','7960'),('Márok','Baranya','7774'),('Martonfa','Baranya','7720'),('Matty','Baranya','7854'),('Máza','Baranya','7351'),('Mecseknádasd','Baranya','7695'),('Mecseknádasd','Baranya','7696'),('Mecseknádasd','Baranya','7161'),('Mecsekpölöske','Baranya','7300'),('Mekényes','Baranya','7344'),('Merenye','Baranya','7981'),('Meződ','Baranya','7370'),('Mindszentgodisa','Baranya','7391'),('Mohács','Baranya','7714'),('Mohács','Baranya','7700'),('Mohács','Baranya','7715'),('Molvány','Baranya','7981'),('Monyoród','Baranya','7751'),('Mozsgó','Baranya','7932'),('Nagybudmér','Baranya','7756'),('Nagycsány','Baranya','7838'),('Nagydobsza','Baranya','7985'),('Nagyhajmás','Baranya','7343'),('Nagyharsány','Baranya','7822'),('Nagykozár','Baranya','7741'),('Nagynyárád','Baranya','7784'),('Nagypall','Baranya','7731'),('Nagypeterd','Baranya','7912'),('Nagytótfalu','Baranya','7800'),('Nagyváty','Baranya','7912'),('Nemeske','Baranya','7981'),('Nyugotszenterzsébet','Baranya','7912'),('Óbánya','Baranya','7695'),('Ócsárd','Baranya','7814'),('Ófalu','Baranya','7695'),('Okorág','Baranya','7957'),('Okorvölgy','Baranya','7681'),('Olasz','Baranya','7745'),('Old','Baranya','7824'),('Orfű','Baranya','7677'),('Oroszló','Baranya','7370'),('Ózdfalu','Baranya','7836'),('Palé','Baranya','7370'),('Palkonya','Baranya','7771'),('Palotabozsok','Baranya','7727'),('Páprád','Baranya','7838'),('Patapoklosi','Baranya','7923'),('Pécs','Baranya','7668'),('Pécs','Baranya','7628'),('Pécs','Baranya','7693'),('Pécs','Baranya','7691'),('Pécs','Baranya','7631'),('Pécs','Baranya','9693'),('Pécs','Baranya','7639'),('Pécs','Baranya','7600'),('Pécs','Baranya','7634'),('Pécs','Baranya','7630'),('Pécsbagota','Baranya','7951'),('Pécsdevecser','Baranya','7766'),('Pécsudvard','Baranya','7762'),('Pécsvárad','Baranya','7720'),('Pellérd','Baranya','7831'),('Pereked','Baranya','7664'),('Peterd','Baranya','7766'),('Pettend','Baranya','7980'),('Piskó','Baranya','7838'),('Pócsa','Baranya','7756'),('Pogány','Baranya','7666'),('Rádfalva','Baranya','7817'),('Rádfalva','Baranya','7846'),('Regenye','Baranya','7833'),('Romonya','Baranya','7743'),('Rózsafa','Baranya','7914'),('Sámod','Baranya','7841'),('Sárok','Baranya','7781'),('Sásd','Baranya','7370'),('Sátorhely','Baranya','7785'),('Sellye','Baranya','7960'),('Siklós','Baranya','7800'),('Siklós','Baranya','7818'),('Siklósbodony','Baranya','7814'),('Siklósnagyfalu','Baranya','7823'),('Somberek','Baranya','7728'),('Somogyapáti','Baranya','7922'),('Somogyapáti','Baranya','7900'),('Somogyhárságy','Baranya','7925'),('Somogyhatvan','Baranya','7921'),('Somogyviszló','Baranya','7924'),('Sósvertike','Baranya','7960'),('Sumony','Baranya','7960'),('Szabadszentkirály','Baranya','7951'),('Szágy','Baranya','7383'),('Szajk','Baranya','7753'),('Szalánta','Baranya','7811'),('Szalatnak','Baranya','7334'),('Szaporca','Baranya','7843'),('Szárász','Baranya','7188'),('Szászvár','Baranya','7349'),('Szava','Baranya','7813'),('Szava','Baranya','7814'),('Szebény','Baranya','7725'),('Szederkény','Baranya','7751'),('Székelyszabar','Baranya','7737'),('Székelyszabar','Baranya','7700'),('Szellő','Baranya','7661'),('Szemely','Baranya','7763'),('Szemely','Baranya','7761'),('Szentdénes','Baranya','7913'),('Szentegát','Baranya','7915'),('Szentegát','Baranya','7960'),('Szentkatalin','Baranya','7681'),('Szentlászló','Baranya','7925'),('Szentlászló','Baranya','7936'),('Szentlászló','Baranya','7937'),('Szentlőrinc','Baranya','7940'),('Szigetvár','Baranya','7900'),('Szilágy','Baranya','7664'),('Szilvás','Baranya','7811'),('Szőke','Baranya','7833'),('Szőkéd','Baranya','7763'),('Szörény','Baranya','7976'),('Szulimán','Baranya','7932'),('Szűr','Baranya','7735'),('Tarrós','Baranya','7362'),('Tékes','Baranya','7381'),('Teklafalu','Baranya','7973'),('Tengeri','Baranya','7834'),('Tésenfa','Baranya','7843'),('Téseny','Baranya','7834'),('Tófű','Baranya','7348'),('Tormás','Baranya','7383'),('Tormás','Baranya','7393'),('Tótszentgyörgy','Baranya','7981'),('Töttös','Baranya','7755'),('Túrony','Baranya','7811'),('Udvar','Baranya','7718'),('Újpetre','Baranya','7766'),('Újpetre','Baranya','7768'),('Vajszló','Baranya','7838'),('Várad','Baranya','7973'),('Varga','Baranya','7370'),('Vásárosbéc','Baranya','7926'),('Vásárosdombó','Baranya','7362'),('Vázsnok','Baranya','7370'),('Vejti','Baranya','7838'),('Vékény','Baranya','7333'),('Velény','Baranya','7951'),('Véménd','Baranya','7726'),('Versend','Baranya','7752'),('Villány','Baranya','7773'),('Villánykövesd','Baranya','7772'),('Vokány','Baranya','7768'),('Zádor','Baranya','7976'),('Zaláta','Baranya','7839'),('Zengővárkony','Baranya','7720'),('Zók','Baranya','7671'),('Almáskamarás','Békés','5747'),('Battonya','Békés','5830'),('Békés','Békés','5630'),('Békéscsaba','Békés','5600'),('Békéscsaba','Békés','5623'),('Békéscsaba','Békés','5671'),('Békéssámson','Békés','5946'),('Békésszentandrás','Békés','5561'),('Bélmegyer','Békés','5643'),('Biharugra','Békés','5538'),('Bucsa','Békés','5527'),('Csabacsűd','Békés','5551'),('Csabaszabadi','Békés','5609'),('Csanádapáca','Békés','5662'),('Csárdaszállás','Békés','5621'),('Csorvás','Békés','5920'),('Dévaványa','Békés','5510'),('Doboz','Békés','5624'),('Dombegyház','Békés','5836'),('Dombiratos','Békés','5745'),('Ecsegfalva','Békés','5515'),('Elek','Békés','5742'),('Füzesgyarmat','Békés','5525'),('Gádoros','Békés','5932'),('Gerendás','Békés','5925'),('Geszt','Békés','5732'),('Geszt','Békés','5734'),('Gyomaendrőd','Békés','5502'),('Gyomaendrőd','Békés','5500'),('Gyula','Békés','5700'),('Gyula','Békés','5711'),('Hunya','Békés','5555'),('Kamut','Békés','5673'),('Kardos','Békés','5552'),('Kardoskút','Békés','5945'),('Kaszaper','Békés','5948'),('Kertészsziget','Békés','5526'),('Kétegyháza','Békés','5741'),('Kétsoprony','Békés','5674'),('Kevermes','Békés','5744'),('Kisdombegyház','Békés','5837'),('Kondoros','Békés','5553'),('Körösladány','Békés','5516'),('Körösnagyharsány','Békés','5539'),('Köröstarcsa','Békés','5622'),('Körösújfalu','Békés','5536'),('Kötegyán','Békés','5725'),('Kunágota','Békés','5746'),('Lőkösháza','Békés','5743'),('Magyarbánhegyes','Békés','5667'),('Magyardombegyház','Békés','5838'),('Medgyesbodzás','Békés','5664'),('Medgyesbodzás','Békés','5663'),('Medgyesegyháza','Békés','5752'),('Medgyesegyháza','Békés','5666'),('Méhkerék','Békés','5726'),('Mezőberény','Békés','5650'),('Mezőgyán','Békés','5732'),('Mezőhegyes','Békés','5820'),('Mezőkovácsháza','Békés','5800'),('Murony','Békés','5672'),('Nagybánhegyes','Békés','5668'),('Nagykamarás','Békés','5751'),('Nagyszénás','Békés','5931'),('Okány','Békés','5534'),('Orosháza','Békés','5900'),('Orosháza','Békés','5903'),('Orosháza','Békés','5931'),('Orosháza','Békés','5911'),('Örménykút','Békés','5556'),('Pusztaföldvár','Békés','5919'),('Pusztaottlaka','Békés','5665'),('Sarkad','Békés','5720'),('Sarkadkeresztúr','Békés','5731'),('Szabadkígyós','Békés','5712'),('Szarvas','Békés','5540'),('Szeghalom','Békés','5520'),('Tarhos','Békés','5641'),('Telekgerendás','Békés','5675'),('Tótkomlós','Békés','5940'),('Újkígyós','Békés','5661'),('Újszalonta','Békés','5727'),('Végegyháza','Békés','5811'),('Vésztő','Békés','5530'),('Zsadány','Békés','5537'),('Abaújalpár','Borsod-Abaúj-Zemplén','3882'),('Abaújkér','Borsod-Abaúj-Zemplén','3882'),('Abaújkér','Borsod-Abaúj-Zemplén','3860'),('Abaújlak','Borsod-Abaúj-Zemplén','3815'),('Abaújszántó','Borsod-Abaúj-Zemplén','3881'),('Abaújszolnok','Borsod-Abaúj-Zemplén','3809'),('Abaújvár','Borsod-Abaúj-Zemplén','3898'),('Abod','Borsod-Abaúj-Zemplén','3753'),('Abod','Borsod-Abaúj-Zemplén','3752'),('Aggtelek','Borsod-Abaúj-Zemplén','3759'),('Alacska','Borsod-Abaúj-Zemplén','3779'),('Alsóberecki','Borsod-Abaúj-Zemplén','3985'),('Alsódobsza','Borsod-Abaúj-Zemplén','3717'),('Alsógagy','Borsod-Abaúj-Zemplén','3837'),('Alsóregmec','Borsod-Abaúj-Zemplén','3989'),('Alsószuha','Borsod-Abaúj-Zemplén','3726'),('Alsótelekes','Borsod-Abaúj-Zemplén','3735'),('Alsóvadász','Borsod-Abaúj-Zemplén','3811'),('Alsózsolca','Borsod-Abaúj-Zemplén','3571'),('Arka','Borsod-Abaúj-Zemplén','3885'),('Arló','Borsod-Abaúj-Zemplén','3663'),('Arnót','Borsod-Abaúj-Zemplén','3713'),('Ároktő','Borsod-Abaúj-Zemplén','3467'),('Aszaló','Borsod-Abaúj-Zemplén','3841'),('Baktakék','Borsod-Abaúj-Zemplén','3836'),('Balajt','Borsod-Abaúj-Zemplén','3780'),('Bánhorváti','Borsod-Abaúj-Zemplén','3642'),('Bánréve','Borsod-Abaúj-Zemplén','3654'),('Baskó','Borsod-Abaúj-Zemplén','3881'),('Becskeháza','Borsod-Abaúj-Zemplén','3768'),('Bekecs','Borsod-Abaúj-Zemplén','3903'),('Berente','Borsod-Abaúj-Zemplén','3704'),('Beret','Borsod-Abaúj-Zemplén','3834'),('Berzék','Borsod-Abaúj-Zemplén','3575'),('Bodroghalom','Borsod-Abaúj-Zemplén','3987'),('Bodrogkeresztúr','Borsod-Abaúj-Zemplén','3916'),('Bodrogkisfalud','Borsod-Abaúj-Zemplén','3917'),('Bodrogolaszi','Borsod-Abaúj-Zemplén','3943'),('Bódvalenke','Borsod-Abaúj-Zemplén','3768'),('Bódvarákó','Borsod-Abaúj-Zemplén','3764'),('Bódvaszilas','Borsod-Abaúj-Zemplén','3763'),('Bogács','Borsod-Abaúj-Zemplén','3412'),('Boldogkőújfalu','Borsod-Abaúj-Zemplén','3884'),('Boldogkőváralja','Borsod-Abaúj-Zemplén','3885'),('Boldva','Borsod-Abaúj-Zemplén','3794'),('Borsodbóta','Borsod-Abaúj-Zemplén','3658'),('Borsodgeszt','Borsod-Abaúj-Zemplén','3426'),('Borsodivánka','Borsod-Abaúj-Zemplén','3462'),('Borsodnádasd','Borsod-Abaúj-Zemplén','3672'),('Borsodnádasd','Borsod-Abaúj-Zemplén','3671'),('Borsodszentgyörgy','Borsod-Abaúj-Zemplén','3623'),('Borsodszirák','Borsod-Abaúj-Zemplén','3796'),('Bózsva','Borsod-Abaúj-Zemplén','3994'),('Bőcs','Borsod-Abaúj-Zemplén','3574'),('Bükkábrány','Borsod-Abaúj-Zemplén','3422'),('Bükkaranyos','Borsod-Abaúj-Zemplén','3554'),('Bükkmogyorósd','Borsod-Abaúj-Zemplén','3648'),('Bükkszentkereszt','Borsod-Abaúj-Zemplén','3557'),('Bükkzsérc','Borsod-Abaúj-Zemplén','3414'),('Büttös','Borsod-Abaúj-Zemplén','3821'),('Cigánd','Borsod-Abaúj-Zemplén','3973'),('Csenyéte','Borsod-Abaúj-Zemplén','3837'),('Cserépfalu','Borsod-Abaúj-Zemplén','3413'),('Cserépváralja','Borsod-Abaúj-Zemplén','3417'),('Csernely','Borsod-Abaúj-Zemplén','3648'),('Csincse','Borsod-Abaúj-Zemplén','3442'),('Csobád','Borsod-Abaúj-Zemplén','3848'),('Csobaj','Borsod-Abaúj-Zemplén','3927'),('Csokvaomány','Borsod-Abaúj-Zemplén','3647'),('Damak','Borsod-Abaúj-Zemplén','3780'),('Dámóc','Borsod-Abaúj-Zemplén','3978'),('Debréte','Borsod-Abaúj-Zemplén','3825'),('Dédestapolcsány','Borsod-Abaúj-Zemplén','3643'),('Detek','Borsod-Abaúj-Zemplén','3834'),('Domaháza','Borsod-Abaúj-Zemplén','3627'),('Dövény','Borsod-Abaúj-Zemplén','3721'),('Dubicsány','Borsod-Abaúj-Zemplén','3635'),('Edelény','Borsod-Abaúj-Zemplén','3780'),('Egerlövő','Borsod-Abaúj-Zemplén','3461'),('Égerszög','Borsod-Abaúj-Zemplén','3757'),('Emőd','Borsod-Abaúj-Zemplén','3432'),('Encs','Borsod-Abaúj-Zemplén','3860'),('Erdőbénye','Borsod-Abaúj-Zemplén','3932'),('Erdőhorváti','Borsod-Abaúj-Zemplén','3935'),('Fáj','Borsod-Abaúj-Zemplén','3865'),('Fancsal','Borsod-Abaúj-Zemplén','3855'),('Farkaslyuk','Borsod-Abaúj-Zemplén','3608'),('Felsőberecki','Borsod-Abaúj-Zemplén','3985'),('Felsődobsza','Borsod-Abaúj-Zemplén','3847'),('Felsőgagy','Borsod-Abaúj-Zemplén','3837'),('Felsőkelecsény','Borsod-Abaúj-Zemplén','3722'),('Felsőnyárád','Borsod-Abaúj-Zemplén','3721'),('Felsőregmec','Borsod-Abaúj-Zemplén','3989'),('Felsőtelekes','Borsod-Abaúj-Zemplén','3735'),('Felsővadász','Borsod-Abaúj-Zemplén','3814'),('Felsőzsolca','Borsod-Abaúj-Zemplén','3561'),('Filkeháza','Borsod-Abaúj-Zemplén','3994'),('Fony','Borsod-Abaúj-Zemplén','3893'),('Forró','Borsod-Abaúj-Zemplén','3849'),('Fulókércs','Borsod-Abaúj-Zemplén','3864'),('Füzér','Borsod-Abaúj-Zemplén','3996'),('Füzérkajata','Borsod-Abaúj-Zemplén','3994'),('Füzérkomlós','Borsod-Abaúj-Zemplén','3997'),('Füzérradvány','Borsod-Abaúj-Zemplén','3993'),('Gadna','Borsod-Abaúj-Zemplén','3815'),('Gagyapáti','Borsod-Abaúj-Zemplén','3837'),('Gagybátor','Borsod-Abaúj-Zemplén','3817'),('Gagyvendégi','Borsod-Abaúj-Zemplén','3816'),('Galvács','Borsod-Abaúj-Zemplén','3752'),('Garadna','Borsod-Abaúj-Zemplén','3873'),('Gelej','Borsod-Abaúj-Zemplén','3444'),('Gesztely','Borsod-Abaúj-Zemplén','3715'),('Gesztely','Borsod-Abaúj-Zemplén','3563'),('Gibárt','Borsod-Abaúj-Zemplén','3854'),('Girincs','Borsod-Abaúj-Zemplén','3578'),('Golop','Borsod-Abaúj-Zemplén','3906'),('Gömörszőlős','Borsod-Abaúj-Zemplén','3728'),('Gönc','Borsod-Abaúj-Zemplén','3895'),('Göncruszka','Borsod-Abaúj-Zemplén','3894'),('Györgytarló','Borsod-Abaúj-Zemplén','3954'),('Halmaj','Borsod-Abaúj-Zemplén','3842'),('Hangács','Borsod-Abaúj-Zemplén','3795'),('Hangony','Borsod-Abaúj-Zemplén','3626'),('Háromhuta','Borsod-Abaúj-Zemplén','3936'),('Harsány','Borsod-Abaúj-Zemplén','3555'),('Hegymeg','Borsod-Abaúj-Zemplén','3786'),('Hejce','Borsod-Abaúj-Zemplén','3892'),('Hejőbába','Borsod-Abaúj-Zemplén','3593'),('Hejőkeresztúr','Borsod-Abaúj-Zemplén','3597'),('Hejőkürt','Borsod-Abaúj-Zemplén','3588'),('Hejőpapi','Borsod-Abaúj-Zemplén','3594'),('Hejőszalonta','Borsod-Abaúj-Zemplén','3595'),('Hercegkút','Borsod-Abaúj-Zemplén','3958'),('Hernádbűd','Borsod-Abaúj-Zemplén','3853'),('Hernádcéce','Borsod-Abaúj-Zemplén','3887'),('Hernádkak','Borsod-Abaúj-Zemplén','3563'),('Hernádkércs','Borsod-Abaúj-Zemplén','3846'),('Hernádnémeti','Borsod-Abaúj-Zemplén','3564'),('Hernádpetri','Borsod-Abaúj-Zemplén','3874'),('Hernádszentandrás','Borsod-Abaúj-Zemplén','3852'),('Hernádszurdok','Borsod-Abaúj-Zemplén','3875'),('Hernádvécse','Borsod-Abaúj-Zemplén','3874'),('Hét','Borsod-Abaúj-Zemplén','3655'),('Hidasnémeti','Borsod-Abaúj-Zemplén','3876'),('Hidvégardó','Borsod-Abaúj-Zemplén','3768'),('Hollóháza','Borsod-Abaúj-Zemplén','3999'),('Homrogd','Borsod-Abaúj-Zemplén','3812'),('Igrici','Borsod-Abaúj-Zemplén','3459'),('Imola','Borsod-Abaúj-Zemplén','3724'),('Ináncs','Borsod-Abaúj-Zemplén','3851'),('Irota','Borsod-Abaúj-Zemplén','3786'),('Izsófalva','Borsod-Abaúj-Zemplén','3741'),('Izsófalva','Borsod-Abaúj-Zemplén','3744'),('Jákfalva','Borsod-Abaúj-Zemplén','3721'),('Járdánháza','Borsod-Abaúj-Zemplén','3664'),('Jósvafő','Borsod-Abaúj-Zemplén','3758'),('Kács','Borsod-Abaúj-Zemplén','3424'),('Kánó','Borsod-Abaúj-Zemplén','3735'),('Kány','Borsod-Abaúj-Zemplén','3821'),('Karcsa','Borsod-Abaúj-Zemplén','3963'),('Karos','Borsod-Abaúj-Zemplén','3962'),('Kazincbarcika','Borsod-Abaúj-Zemplén','3700'),('Kázsmárk','Borsod-Abaúj-Zemplén','3831'),('Kéked','Borsod-Abaúj-Zemplén','3899'),('Kelemér','Borsod-Abaúj-Zemplén','3728'),('Kenézlő','Borsod-Abaúj-Zemplén','3955'),('Keresztéte','Borsod-Abaúj-Zemplén','3821'),('Kesznyéten','Borsod-Abaúj-Zemplén','3579'),('Királd','Borsod-Abaúj-Zemplén','3657'),('Kiscsécs','Borsod-Abaúj-Zemplén','3578'),('Kisgyőr','Borsod-Abaúj-Zemplén','3556'),('Kishuta','Borsod-Abaúj-Zemplén','3994'),('Kiskinizs','Borsod-Abaúj-Zemplén','3843'),('Kisrozvágy','Borsod-Abaúj-Zemplén','3965'),('Kissikátor','Borsod-Abaúj-Zemplén','3627'),('Kistokaj','Borsod-Abaúj-Zemplén','3553'),('Komjáti','Borsod-Abaúj-Zemplén','3765'),('Komlóska','Borsod-Abaúj-Zemplén','3937'),('Kondó','Borsod-Abaúj-Zemplén','3775'),('Korlát','Borsod-Abaúj-Zemplén','3886'),('Kovácsvágás','Borsod-Abaúj-Zemplén','3992'),('Köröm','Borsod-Abaúj-Zemplén','3577'),('Krasznokvajda','Borsod-Abaúj-Zemplén','3821'),('Kupa','Borsod-Abaúj-Zemplén','3813'),('Kurityán','Borsod-Abaúj-Zemplén','3732'),('Lácacséke','Borsod-Abaúj-Zemplén','3967'),('Ládbesenyő','Borsod-Abaúj-Zemplén','3780'),('Lak','Borsod-Abaúj-Zemplén','3786'),('Legyesbénye','Borsod-Abaúj-Zemplén','3904'),('Léh','Borsod-Abaúj-Zemplén','3832'),('Lénárddaróc','Borsod-Abaúj-Zemplén','3648'),('Litka','Borsod-Abaúj-Zemplén','3866'),('Mád','Borsod-Abaúj-Zemplén','3909'),('Makkoshotyka','Borsod-Abaúj-Zemplén','3959'),('Mályi','Borsod-Abaúj-Zemplén','3434'),('Mályinka','Borsod-Abaúj-Zemplén','3645'),('Martonyi','Borsod-Abaúj-Zemplén','3755'),('Megyaszó','Borsod-Abaúj-Zemplén','3718'),('Méra','Borsod-Abaúj-Zemplén','3871'),('Meszes','Borsod-Abaúj-Zemplén','3754'),('Mezőcsát','Borsod-Abaúj-Zemplén','3450'),('Mezőkeresztes','Borsod-Abaúj-Zemplén','3441'),('Mezőkövesd','Borsod-Abaúj-Zemplén','3400'),('Mezőnagymihály','Borsod-Abaúj-Zemplén','3443'),('Mezőnyárád','Borsod-Abaúj-Zemplén','3421'),('Mezőzombor','Borsod-Abaúj-Zemplén','3931'),('Mikóháza','Borsod-Abaúj-Zemplén','3989'),('Miskolc','Borsod-Abaúj-Zemplén','3501'),('Miskolc','Borsod-Abaúj-Zemplén','3516'),('Miskolc','Borsod-Abaúj-Zemplén','3532'),('Miskolc','Borsod-Abaúj-Zemplén','3525'),('Miskolc','Borsod-Abaúj-Zemplén','3533'),('Miskolc','Borsod-Abaúj-Zemplén','3558'),('Miskolc','Borsod-Abaúj-Zemplén','3511'),('Miskolc','Borsod-Abaúj-Zemplén','3510'),('Miskolc','Borsod-Abaúj-Zemplén','3508'),('Miskolc','Borsod-Abaúj-Zemplén','3518'),('Miskolc','Borsod-Abaúj-Zemplén','3527'),('Miskolc','Borsod-Abaúj-Zemplén','3531'),('Miskolc','Borsod-Abaúj-Zemplén','3519'),('Miskolc','Borsod-Abaúj-Zemplén','3534'),('Miskolc','Borsod-Abaúj-Zemplén','3529'),('Miskolc','Borsod-Abaúj-Zemplén','3517'),('Miskolc','Borsod-Abaúj-Zemplén','3521'),('Miskolc','Borsod-Abaúj-Zemplén','3500'),('Miskolc','Borsod-Abaúj-Zemplén','3528'),('Miskolc','Borsod-Abaúj-Zemplén','3535'),('Mogyoróska','Borsod-Abaúj-Zemplén','3893'),('Monaj','Borsod-Abaúj-Zemplén','3812'),('Monok','Borsod-Abaúj-Zemplén','3905'),('Múcsony','Borsod-Abaúj-Zemplén','3744'),('Muhi','Borsod-Abaúj-Zemplén','3552'),('Nagybarca','Borsod-Abaúj-Zemplén','3641'),('Nagycsécs','Borsod-Abaúj-Zemplén','3598'),('Nagyhuta','Borsod-Abaúj-Zemplén','3994'),('Nagykinizs','Borsod-Abaúj-Zemplén','3844'),('Nagyrozvágy','Borsod-Abaúj-Zemplén','3965'),('Négyes','Borsod-Abaúj-Zemplén','3463'),('Nekézseny','Borsod-Abaúj-Zemplén','3646'),('Nemesbikk','Borsod-Abaúj-Zemplén','3592'),('Novajidrány','Borsod-Abaúj-Zemplén','3872'),('Nyékládháza','Borsod-Abaúj-Zemplén','3433'),('Nyésta','Borsod-Abaúj-Zemplén','3809'),('Nyíri','Borsod-Abaúj-Zemplén','3997'),('Nyomár','Borsod-Abaúj-Zemplén','3795'),('Olaszliszka','Borsod-Abaúj-Zemplén','3933'),('Onga','Borsod-Abaúj-Zemplén','3562'),('Ónod','Borsod-Abaúj-Zemplén','3551'),('Ormosbánya','Borsod-Abaúj-Zemplén','3743'),('Oszlár','Borsod-Abaúj-Zemplén','3591'),('Ózd','Borsod-Abaúj-Zemplén','3604'),('Ózd','Borsod-Abaúj-Zemplén','3651'),('Ózd','Borsod-Abaúj-Zemplén','3600'),('Ózd','Borsod-Abaúj-Zemplén','3621'),('Ózd','Borsod-Abaúj-Zemplén','3661'),('Pácin','Borsod-Abaúj-Zemplén','3964'),('Pálháza','Borsod-Abaúj-Zemplén','3994'),('Pamlény','Borsod-Abaúj-Zemplén','3821'),('Pányok','Borsod-Abaúj-Zemplén','3898'),('Parasznya','Borsod-Abaúj-Zemplén','3777'),('Pere','Borsod-Abaúj-Zemplén','3853'),('Perecse','Borsod-Abaúj-Zemplén','3821'),('Perkupa','Borsod-Abaúj-Zemplén','3756'),('Prügy','Borsod-Abaúj-Zemplén','3925'),('Pusztafalu','Borsod-Abaúj-Zemplén','3995'),('Pusztaradvány','Borsod-Abaúj-Zemplén','3874'),('Putnok','Borsod-Abaúj-Zemplén','3630'),('Radostyán','Borsod-Abaúj-Zemplén','3776'),('Ragály','Borsod-Abaúj-Zemplén','3724'),('Rakaca','Borsod-Abaúj-Zemplén','3825'),('Rakacaszend','Borsod-Abaúj-Zemplén','3826'),('Rásonysápberencs','Borsod-Abaúj-Zemplén','3833'),('Rátka','Borsod-Abaúj-Zemplén','3908'),('Regéc','Borsod-Abaúj-Zemplén','3893'),('Répáshuta','Borsod-Abaúj-Zemplén','3559'),('Révleányvár','Borsod-Abaúj-Zemplén','3976'),('Ricse','Borsod-Abaúj-Zemplén','3974'),('Rudabánya','Borsod-Abaúj-Zemplén','3733'),('Rudolftelep','Borsod-Abaúj-Zemplén','3742'),('Sajóbábony','Borsod-Abaúj-Zemplén','3792'),('Sajóecseg','Borsod-Abaúj-Zemplén','3793'),('Sajógalgóc','Borsod-Abaúj-Zemplén','3636'),('Sajóhídvég','Borsod-Abaúj-Zemplén','3576'),('Sajóivánka','Borsod-Abaúj-Zemplén','3720'),('Sajókápolna','Borsod-Abaúj-Zemplén','3773'),('Sajókaza','Borsod-Abaúj-Zemplén','3720'),('Sajókeresztúr','Borsod-Abaúj-Zemplén','3791'),('Sajólád','Borsod-Abaúj-Zemplén','3572'),('Sajólászlófalva','Borsod-Abaúj-Zemplén','3773'),('Sajómercse','Borsod-Abaúj-Zemplén','3656'),('Sajónémeti','Borsod-Abaúj-Zemplén','3652'),('Sajóörös','Borsod-Abaúj-Zemplén','3586'),('Sajópálfala','Borsod-Abaúj-Zemplén','3714'),('Sajópetri','Borsod-Abaúj-Zemplén','3573'),('Sajópüspöki','Borsod-Abaúj-Zemplén','3653'),('Sajósenye','Borsod-Abaúj-Zemplén','3712'),('Sajószentpéter','Borsod-Abaúj-Zemplén','3770'),('Sajószöged','Borsod-Abaúj-Zemplén','3599'),('Sajóvámos','Borsod-Abaúj-Zemplén','3712'),('Sajóvelezd','Borsod-Abaúj-Zemplén','3656'),('Sály','Borsod-Abaúj-Zemplén','3425'),('Sárazsadány','Borsod-Abaúj-Zemplén','3942'),('Sárospatak','Borsod-Abaúj-Zemplén','3950'),('Sárospatak','Borsod-Abaúj-Zemplén','3961'),('Sárospatak','Borsod-Abaúj-Zemplén','3980'),('Sáta','Borsod-Abaúj-Zemplén','3659'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3980'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3944'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3945'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3988'),('Selyeb','Borsod-Abaúj-Zemplén','3809'),('Semjén','Borsod-Abaúj-Zemplén','3974'),('Serényfalva','Borsod-Abaúj-Zemplén','3729'),('Sima','Borsod-Abaúj-Zemplén','3881'),('Sóstófalva','Borsod-Abaúj-Zemplén','3716'),('Szakácsi','Borsod-Abaúj-Zemplén','3786'),('Szakáld','Borsod-Abaúj-Zemplén','3596'),('Szalaszend','Borsod-Abaúj-Zemplén','3863'),('Szalonna','Borsod-Abaúj-Zemplén','3754'),('Szászfa','Borsod-Abaúj-Zemplén','3821'),('Szegi','Borsod-Abaúj-Zemplén','3918'),('Szegilong','Borsod-Abaúj-Zemplén','3918'),('Szemere','Borsod-Abaúj-Zemplén','3866'),('Szendrő','Borsod-Abaúj-Zemplén','3752'),('Szendrő','Borsod-Abaúj-Zemplén','3751'),('Szendrőlád','Borsod-Abaúj-Zemplén','3751'),('Szentistván','Borsod-Abaúj-Zemplén','3418'),('Szentistvánbaksa','Borsod-Abaúj-Zemplén','3844'),('Szerencs','Borsod-Abaúj-Zemplén','3900'),('Szikszó','Borsod-Abaúj-Zemplén','3800'),('Szin','Borsod-Abaúj-Zemplén','3761'),('Szinpetri','Borsod-Abaúj-Zemplén','3761'),('Szirmabesenyő','Borsod-Abaúj-Zemplén','3711'),('Szomolya','Borsod-Abaúj-Zemplén','3411'),('Szögliget','Borsod-Abaúj-Zemplén','3762'),('Szőlősardó','Borsod-Abaúj-Zemplén','3757'),('Szuhafő','Borsod-Abaúj-Zemplén','3726'),('Szuhakálló','Borsod-Abaúj-Zemplén','3731'),('Szuhogy','Borsod-Abaúj-Zemplén','3734'),('Taktabáj','Borsod-Abaúj-Zemplén','3926'),('Taktaharkány','Borsod-Abaúj-Zemplén','3922'),('Taktakenéz','Borsod-Abaúj-Zemplén','3924'),('Taktaszada','Borsod-Abaúj-Zemplén','3921'),('Tállya','Borsod-Abaúj-Zemplén','3907'),('Tarcal','Borsod-Abaúj-Zemplén','3915'),('Tard','Borsod-Abaúj-Zemplén','3416'),('Tardona','Borsod-Abaúj-Zemplén','3644'),('Telkibánya','Borsod-Abaúj-Zemplén','3896'),('Teresztenye','Borsod-Abaúj-Zemplén','3757'),('Tibolddaróc','Borsod-Abaúj-Zemplén','3423'),('Tiszabábolna','Borsod-Abaúj-Zemplén','3465'),('Tiszacsermely','Borsod-Abaúj-Zemplén','3972'),('Tiszadorogma','Borsod-Abaúj-Zemplén','3466'),('Tiszakarád','Borsod-Abaúj-Zemplén','3971'),('Tiszakeszi','Borsod-Abaúj-Zemplén','3458'),('Tiszaladány','Borsod-Abaúj-Zemplén','3929'),('Tiszalúc','Borsod-Abaúj-Zemplén','3565'),('Tiszapalkonya','Borsod-Abaúj-Zemplén','3587'),('Tiszatardos','Borsod-Abaúj-Zemplén','3928'),('Tiszatarján','Borsod-Abaúj-Zemplén','3589'),('Tiszaújváros','Borsod-Abaúj-Zemplén','3580'),('Tiszavalk','Borsod-Abaúj-Zemplén','3464'),('Tokaj','Borsod-Abaúj-Zemplén','3910'),('Tolcsva','Borsod-Abaúj-Zemplén','3934'),('Tomor','Borsod-Abaúj-Zemplén','3787'),('Tornabarakony','Borsod-Abaúj-Zemplén','3765'),('Tornakápolna','Borsod-Abaúj-Zemplén','3761'),('Tornanádaska','Borsod-Abaúj-Zemplén','3767'),('Tornaszentandrás','Borsod-Abaúj-Zemplén','3765'),('Tornaszentjakab','Borsod-Abaúj-Zemplén','3769'),('Tornyosnémeti','Borsod-Abaúj-Zemplén','3877'),('Trizs','Borsod-Abaúj-Zemplén','3724'),('Újcsanálos','Borsod-Abaúj-Zemplén','3716'),('Uppony','Borsod-Abaúj-Zemplén','3622'),('Vadna','Borsod-Abaúj-Zemplén','3636'),('Vágáshuta','Borsod-Abaúj-Zemplén','3992'),('Vajdácska','Borsod-Abaúj-Zemplén','3961'),('Vámosújfalu','Borsod-Abaúj-Zemplén','3941'),('Varbó','Borsod-Abaúj-Zemplén','3778'),('Varbóc','Borsod-Abaúj-Zemplén','3756'),('Vatta','Borsod-Abaúj-Zemplén','3431'),('Vatta','Borsod-Abaúj-Zemplén','3442'),('Vilmány','Borsod-Abaúj-Zemplén','3891'),('Vilyvitány','Borsod-Abaúj-Zemplén','3991'),('Viss','Borsod-Abaúj-Zemplén','3956'),('Viszló','Borsod-Abaúj-Zemplén','3825'),('Vizsoly','Borsod-Abaúj-Zemplén','3888'),('Zádorfalva','Borsod-Abaúj-Zemplén','3726'),('Zalkod','Borsod-Abaúj-Zemplén','3957'),('Zemplénagárd','Borsod-Abaúj-Zemplén','3977'),('Ziliz','Borsod-Abaúj-Zemplén','3794'),('Zubogy','Borsod-Abaúj-Zemplén','3723'),('Zsujta','Borsod-Abaúj-Zemplén','3897'),('Algyő','Csongrád','6750'),('Ambrózfalva','Csongrád','6916'),('Apátfalva','Csongrád','6931'),('Árpádhalom','Csongrád','6623'),('Ásotthalom','Csongrád','6783'),('Baks','Csongrád','6768'),('Balástya','Csongrád','6764'),('Bordány','Csongrád','6795'),('Csanádalberti','Csongrád','6915'),('Csanádpalota','Csongrád','6913'),('Csanytelek','Csongrád','6647'),('Csengele','Csongrád','6765'),('Csongrád','Csongrád','6648'),('Csongrád','Csongrád','6640'),('Derekegyház','Csongrád','6621'),('Deszk','Csongrád','6772'),('Dóc','Csongrád','6766'),('Domaszék','Csongrád','6781'),('Eperjes','Csongrád','6624'),('Fábiánsebestyén','Csongrád','6625'),('Felgyő','Csongrád','6645'),('Ferencszállás','Csongrád','6774'),('Forráskút','Csongrád','6793'),('Földeák','Csongrád','6922'),('Hódmezővásárhely','Csongrád','6800'),('Hódmezővásárhely','Csongrád','6636'),('Hódmezővásárhely','Csongrád','6806'),('Királyhegyes','Csongrád','6911'),('Kistelek','Csongrád','6760'),('Kiszombor','Csongrád','6775'),('Klárafalva','Csongrád','6773'),('Kövegy','Csongrád','6912'),('Kübekháza','Csongrád','6755'),('Magyarcsanád','Csongrád','6932'),('Makó','Csongrád','6903'),('Makó','Csongrád','6900'),('Nagymágocs','Csongrád','6622'),('Nagytőke','Csongrád','6612'),('Óföldeák','Csongrád','6923'),('Ópusztaszer','Csongrád','6767'),('Öttömös','Csongrád','6784'),('Pitvaros','Csongrád','6914'),('Pusztamérges','Csongrád','6785'),('Pusztaszer','Csongrád','6769'),('Röszke','Csongrád','6758'),('Ruzsa','Csongrád','6786'),('Sándorfalva','Csongrád','6762'),('Szatymaz','Csongrád','6763'),('Szeged','Csongrád','6726'),('Szeged','Csongrád','6725'),('Szeged','Csongrád','6753'),('Szeged','Csongrád','6750'),('Szeged','Csongrád','6728'),('Szeged','Csongrád','6729'),('Szeged','Csongrád','6710'),('Szeged','Csongrád','6791'),('Szeged','Csongrád','6757'),('Szeged','Csongrád','6700'),('Szeged','Csongrád','6771'),('Szegvár','Csongrád','6635'),('Székkutas','Csongrád','6821'),('Szentes','Csongrád','6600'),('Tiszasziget','Csongrád','6756'),('Tömörkény','Csongrád','6646'),('Újszentiván','Csongrád','6754'),('Üllés','Csongrád','6794'),('Zákányszék','Csongrád','6787'),('Zsombó','Csongrád','6792'),('Aba','Fejér','8127'),('Aba','Fejér','8128'),('Adony','Fejér','2457'),('Alap','Fejér','7011'),('Alcsútdoboz','Fejér','8087'),('Alsószentiván','Fejér','7012'),('Bakonycsernye','Fejér','8056'),('Bakonykúti','Fejér','8045'),('Balinka','Fejér','8054'),('Balinka','Fejér','8055'),('Baracs','Fejér','2426'),('Baracs','Fejér','2427'),('Baracska','Fejér','2471'),('Beloiannisz','Fejér','2455'),('Besnyő','Fejér','2456'),('Bicske','Fejér','2060'),('Bicske','Fejér','2064'),('Bodajk','Fejér','8053'),('Bodmér','Fejér','8085'),('Cece','Fejér','7013'),('Csabdi','Fejér','2064'),('Csákberény','Fejér','8073'),('Csákvár','Fejér','8083'),('Csókakő','Fejér','8074'),('Csór','Fejér','8041'),('Csősz','Fejér','8122'),('Daruszentmiklós','Fejér','2423'),('Dég','Fejér','8135'),('Dunaújváros','Fejér','2400'),('Dunaújváros','Fejér','2407'),('Előszállás','Fejér','2424'),('Enying','Fejér','8130'),('Enying','Fejér','8131'),('Ercsi','Fejér','2451'),('Ercsi','Fejér','2453'),('Etyek','Fejér','2091'),('Fehérvárcsurgó','Fejér','8052'),('Felcsút','Fejér','8086'),('Füle','Fejér','8157'),('Gánt','Fejér','8082'),('Gárdony','Fejér','2484'),('Gárdony','Fejér','2485'),('Gárdony','Fejér','2483'),('Gyúró','Fejér','2464'),('Hantos','Fejér','2434'),('Igar','Fejér','7016'),('Igar','Fejér','7015'),('Iszkaszentgyörgy','Fejér','8043'),('Isztimér','Fejér','8045'),('Iváncsa','Fejér','2454'),('Jenő','Fejér','8146'),('Kajászó','Fejér','2472'),('Káloz','Fejér','8124'),('Kápolnásnyék','Fejér','2475'),('Kincsesbánya','Fejér','8044'),('Kisapostag','Fejér','2428'),('Kisláng','Fejér','8156'),('Kőszárhegy','Fejér','8152'),('Kulcs','Fejér','2458'),('Lajoskomárom','Fejér','8136'),('Lepsény','Fejér','8132'),('Lovasberény','Fejér','8093'),('Magyaralmás','Fejér','8071'),('Mány','Fejér','2065'),('Martonvásár','Fejér','2462'),('Mátyásdomb','Fejér','8134'),('Mezőfalva','Fejér','2422'),('Mezőkomárom','Fejér','8137'),('Mezőszentgyörgy','Fejér','8133'),('Mezőszilas','Fejér','7017'),('Moha','Fejér','8042'),('Mór','Fejér','8060'),('Nadap','Fejér','8097'),('Nádasdladány','Fejér','8145'),('Nagykarácsony','Fejér','2425'),('Nagylók','Fejér','2435'),('Nagyveleg','Fejér','8065'),('Nagyvenyim','Fejér','2421'),('Óbarok','Fejér','2063'),('Pákozd','Fejér','8095'),('Pátka','Fejér','8092'),('Pázmánd','Fejér','2476'),('Perkáta','Fejér','2431'),('Polgárdi','Fejér','8155'),('Polgárdi','Fejér','8154'),('Polgárdi','Fejér','8153'),('Pusztaszabolcs','Fejér','2490'),('Pusztavám','Fejér','8066'),('Rácalmás','Fejér','2459'),('Ráckeresztúr','Fejér','2465'),('Sárbogárd','Fejér','7000'),('Sárbogárd','Fejér','7003'),('Sárbogárd','Fejér','7019'),('Sárbogárd','Fejér','7018'),('Sáregres','Fejér','7014'),('Sárkeresztes','Fejér','8051'),('Sárkeresztúr','Fejér','8125'),('Sárkeszi','Fejér','8144'),('Sárosd','Fejér','2433'),('Sárszentágota','Fejér','8126'),('Sárszentmihály','Fejér','8143'),('Sárszentmihály','Fejér','8141'),('Seregélyes','Fejér','8111'),('Soponya','Fejér','8123'),('Söréd','Fejér','8072'),('Sukoró','Fejér','8096'),('Szabadbattyán','Fejér','8151'),('Szabadegyháza','Fejér','2432'),('Szabadhídvég','Fejér','8138'),('Szabadhídvég','Fejér','8139'),('Szár','Fejér','2066'),('Székesfehérvár','Fejér','8000'),('Székesfehérvár','Fejér','8019'),('Tabajd','Fejér','8088'),('Tác','Fejér','8121'),('Tordas','Fejér','2463'),('Újbarok','Fejér','2066'),('Úrhida','Fejér','8142'),('Vajta','Fejér','7041'),('Vál','Fejér','2473'),('Velence','Fejér','2481'),('Vereb','Fejér','2477'),('Vértesacsa','Fejér','8089'),('Vértesboglár','Fejér','8085'),('Zámoly','Fejér','8081'),('Zichyújfalu','Fejér','8112'),('\"Budapest I. kerület\"','főváros','*'),('\"Budapest II. kerület\"','főváros','*'),('\"Budapest II. kerület\"','főváros','–'),('\"Budapest III. kerület\"','főváros','–'),('\"Budapest III. kerület\"','főváros','*'),('\"Budapest IV. kerület\"','főváros','*'),('\"Budapest IX. kerület\"','főváros','*'),('\"Budapest V. kerület\"','főváros','*'),('\"Budapest VI. kerület\"','főváros','*'),('\"Budapest VII. kerület\"','főváros','*'),('\"Budapest VIII. kerület\"','főváros','*'),('\"Budapest X. kerület\"','főváros','–'),('\"Budapest X. kerület\"','főváros','*'),('\"Budapest XI. kerület\"','főváros','–'),('\"Budapest XI. kerület\"','főváros','*'),('\"Budapest XII. kerület\"','főváros','–'),('\"Budapest XII. kerület\"','főváros','*'),('\"Budapest XIII. kerület\"','főváros','*'),('\"Budapest XIV. kerület\"','főváros','*'),('\"Budapest XIX. kerület\"','főváros','*'),('\"Budapest XV. kerület\"','főváros','*'),('\"Budapest XVI. kerület\"','főváros','–'),('\"Budapest XVI. kerület\"','főváros','*'),('\"Budapest XVII. kerület\"','főváros','–'),('\"Budapest XVII. kerület\"','főváros','*'),('\"Budapest XVIII. kerület\"','főváros','–'),('\"Budapest XVIII. kerület\"','főváros','*'),('\"Budapest XX. kerület\"','főváros','–'),('\"Budapest XX. kerület\"','főváros','*'),('\"Budapest XXI. kerület\"','Főváros','–'),('\"Budapest XXI. kerület\"','Főváros','*'),('\"Budapest XXII. kerület\"','főváros','–'),('\"Budapest XXII. kerület\"','főváros','*'),('\"Budapest XXIII. kerület\"','főváros','*'),('\"Budapest XXIII. kerület\"','főváros','–'),('Abda','Győr-Moson-Sopron','9151'),('Acsalag','Győr-Moson-Sopron','9168'),('Ágfalva','Győr-Moson-Sopron','9423'),('Agyagosszergény','Győr-Moson-Sopron','9441'),('Árpás','Győr-Moson-Sopron','9132'),('Ásványráró','Győr-Moson-Sopron','9177'),('Babót','Győr-Moson-Sopron','9351'),('Bágyogszovát','Győr-Moson-Sopron','9145'),('Bakonygyirót','Győr-Moson-Sopron','8433'),('Bakonypéterd','Győr-Moson-Sopron','9088'),('Bakonyszentlászló','Győr-Moson-Sopron','8431'),('Barbacs','Győr-Moson-Sopron','9169'),('Beled','Győr-Moson-Sopron','9343'),('Bezenye','Győr-Moson-Sopron','9223'),('Bezi','Győr-Moson-Sopron','9162'),('Bodonhely','Győr-Moson-Sopron','9134'),('Bogyoszló','Győr-Moson-Sopron','9324'),('Bőny','Győr-Moson-Sopron','9073'),('Börcs','Győr-Moson-Sopron','9152'),('Bősárkány','Győr-Moson-Sopron','9167'),('Cakóháza','Győr-Moson-Sopron','9165'),('Cirák','Győr-Moson-Sopron','9364'),('Csáfordjánosfa','Győr-Moson-Sopron','9375'),('Csapod','Győr-Moson-Sopron','9372'),('Csér','Győr-Moson-Sopron','9375'),('Csikvánd','Győr-Moson-Sopron','9127'),('Csorna','Győr-Moson-Sopron','9300'),('Csorna','Győr-Moson-Sopron','9147'),('Csorna','Győr-Moson-Sopron','9168'),('Darnózseli','Győr-Moson-Sopron','9232'),('Dénesfa','Győr-Moson-Sopron','9365'),('Dör','Győr-Moson-Sopron','9169'),('Dör','Győr-Moson-Sopron','9147'),('Dunakiliti','Győr-Moson-Sopron','9225'),('Dunaremete','Győr-Moson-Sopron','9235'),('Dunaszeg','Győr-Moson-Sopron','9174'),('Dunaszentpál','Győr-Moson-Sopron','9175'),('Dunasziget','Győr-Moson-Sopron','9226'),('Ebergőc','Győr-Moson-Sopron','9451'),('Écs','Győr-Moson-Sopron','9083'),('Edve','Győr-Moson-Sopron','9343'),('Egyed','Győr-Moson-Sopron','9314'),('Egyházasfalu','Győr-Moson-Sopron','9473'),('Enese','Győr-Moson-Sopron','9143'),('Farád','Győr-Moson-Sopron','9321'),('Fehértó','Győr-Moson-Sopron','9163'),('Feketeerdő','Győr-Moson-Sopron','9211'),('Felpéc','Győr-Moson-Sopron','9122'),('Fenyőfő','Győr-Moson-Sopron','8432'),('Fertőboz','Győr-Moson-Sopron','9493'),('Fertőd','Győr-Moson-Sopron','9431'),('Fertőd','Győr-Moson-Sopron','9433'),('Fertőendréd','Győr-Moson-Sopron','9442'),('Fertőhomok','Győr-Moson-Sopron','9492'),('Fertőrákos','Győr-Moson-Sopron','9421'),('Fertőrákos','Győr-Moson-Sopron','9407'),('Fertőszentmiklós','Győr-Moson-Sopron','9444'),('Fertőszéplak','Győr-Moson-Sopron','9436'),('Gönyű','Győr-Moson-Sopron','9071'),('Gyalóka','Győr-Moson-Sopron','9474'),('Gyarmat','Győr-Moson-Sopron','9126'),('Gyóró','Győr-Moson-Sopron','9363'),('Gyömöre','Győr-Moson-Sopron','9124'),('Győr','Győr-Moson-Sopron','9027'),('Győr','Győr-Moson-Sopron','9028'),('Győr','Győr-Moson-Sopron','9025'),('Győr','Győr-Moson-Sopron','9011'),('Győr','Győr-Moson-Sopron','9026'),('Győr','Győr-Moson-Sopron','9024'),('Győr','Győr-Moson-Sopron','9019'),('Győr','Győr-Moson-Sopron','9000'),('Győr','Győr-Moson-Sopron','9012'),('Győr','Győr-Moson-Sopron','9002'),('Győrasszonyfa','Győr-Moson-Sopron','8436'),('Győrasszonyfa','Győr-Moson-Sopron','9093'),('Győrladamér','Győr-Moson-Sopron','9173'),('Győrság','Győr-Moson-Sopron','9084'),('Győrsövényház','Győr-Moson-Sopron','9161'),('Győrszemere','Győr-Moson-Sopron','9121'),('Győrújbarát','Győr-Moson-Sopron','9081'),('Győrújbarát','Győr-Moson-Sopron','9028'),('Győrújfalu','Győr-Moson-Sopron','9171'),('Győrzámoly','Győr-Moson-Sopron','9172'),('Győrzámoly','Győr-Moson-Sopron','9061'),('Halászi','Győr-Moson-Sopron','9228'),('Harka','Győr-Moson-Sopron','9422'),('Hédervár','Győr-Moson-Sopron','9178'),('Hédervár','Győr-Moson-Sopron','9176'),('Hédervár','Győr-Moson-Sopron','9177'),('Hegyeshalom','Győr-Moson-Sopron','9222'),('Hegykő','Győr-Moson-Sopron','9437'),('Hidegség','Győr-Moson-Sopron','9492'),('Hidegség','Győr-Moson-Sopron','9491'),('Himod','Győr-Moson-Sopron','9362'),('Hövej','Győr-Moson-Sopron','9361'),('Ikrény','Győr-Moson-Sopron','9141'),('Iván','Győr-Moson-Sopron','9374'),('Jánossomorja','Győr-Moson-Sopron','9242'),('Jánossomorja','Győr-Moson-Sopron','9241'),('Jánossomorja','Győr-Moson-Sopron','9167'),('Jánossomorja','Győr-Moson-Sopron','9243'),('Jobaháza','Győr-Moson-Sopron','9323'),('Kajárpéc','Győr-Moson-Sopron','9123'),('Kajárpéc','Győr-Moson-Sopron','8553'),('Kapuvár','Győr-Moson-Sopron','9330'),('Kapuvár','Győr-Moson-Sopron','9339'),('Károlyháza','Győr-Moson-Sopron','9182'),('Kimle','Győr-Moson-Sopron','9181'),('Kisbabot','Győr-Moson-Sopron','9133'),('Kisbajcs','Győr-Moson-Sopron','9062'),('Kisbodak','Győr-Moson-Sopron','9234'),('Kisfalud','Győr-Moson-Sopron','9341'),('Kóny','Győr-Moson-Sopron','9144'),('Kópháza','Győr-Moson-Sopron','9495'),('Koroncó','Győr-Moson-Sopron','9113'),('Kunsziget','Győr-Moson-Sopron','9184'),('Lázi','Győr-Moson-Sopron','9089'),('Lébény','Győr-Moson-Sopron','9183'),('Lébény','Győr-Moson-Sopron','9155'),('Levél','Győr-Moson-Sopron','9221'),('Lipót','Győr-Moson-Sopron','9233'),('Lövő','Győr-Moson-Sopron','9461'),('Maglóca','Győr-Moson-Sopron','9169'),('Magyarkeresztúr','Győr-Moson-Sopron','9346'),('Máriakálnok','Győr-Moson-Sopron','9231'),('Markotabödöge','Győr-Moson-Sopron','9164'),('Mecsér','Győr-Moson-Sopron','9176'),('Mérges','Győr-Moson-Sopron','9136'),('Mezőörs','Győr-Moson-Sopron','9097'),('Mihályi','Győr-Moson-Sopron','9342'),('Mórichida','Győr-Moson-Sopron','9131'),('Mosonmagyaróvár','Győr-Moson-Sopron','9200'),('Mosonszentmiklós','Győr-Moson-Sopron','9183'),('Mosonszentmiklós','Győr-Moson-Sopron','9154'),('Mosonszentmiklós','Győr-Moson-Sopron','9152'),('Mosonszolnok','Győr-Moson-Sopron','9245'),('Nagybajcs','Győr-Moson-Sopron','9063'),('Nagycenk','Győr-Moson-Sopron','9485'),('Nagylózs','Győr-Moson-Sopron','9482'),('Nagyszentjános','Győr-Moson-Sopron','9072'),('Nemeskér','Győr-Moson-Sopron','9471'),('Nyalka','Győr-Moson-Sopron','9096'),('Nyúl','Győr-Moson-Sopron','9082'),('Osli','Győr-Moson-Sopron','9354'),('Öttevény','Győr-Moson-Sopron','9153'),('Öttevény','Győr-Moson-Sopron','9183'),('Páli','Győr-Moson-Sopron','9345'),('Pannonhalma','Győr-Moson-Sopron','9091'),('Pannonhalma','Győr-Moson-Sopron','9090'),('Pásztori','Győr-Moson-Sopron','9311'),('Pázmándfalu','Győr-Moson-Sopron','9085'),('Pér','Győr-Moson-Sopron','9099'),('Pér','Győr-Moson-Sopron','9098'),('Pereszteg','Győr-Moson-Sopron','9484'),('Petőháza','Győr-Moson-Sopron','9443'),('Pinnye','Győr-Moson-Sopron','9481'),('Potyond','Győr-Moson-Sopron','9324'),('Pusztacsalád','Győr-Moson-Sopron','9373'),('Püski','Győr-Moson-Sopron','9235'),('Rábacsanak','Győr-Moson-Sopron','9313'),('Rábacsécsény','Győr-Moson-Sopron','9136'),('Rábakecöl','Győr-Moson-Sopron','9344'),('Rábapatona','Győr-Moson-Sopron','9142'),('Rábapordány','Győr-Moson-Sopron','9146'),('Rábasebes','Győr-Moson-Sopron','9327'),('Rábaszentandrás','Győr-Moson-Sopron','9316'),('Rábaszentmihály','Győr-Moson-Sopron','9136'),('Rábaszentmihály','Győr-Moson-Sopron','9135'),('Rábaszentmiklós','Győr-Moson-Sopron','9133'),('Rábatamási','Győr-Moson-Sopron','9322'),('Rábcakapi','Győr-Moson-Sopron','9165'),('Rajka','Győr-Moson-Sopron','9224'),('Ravazd','Győr-Moson-Sopron','9091'),('Ravazd','Győr-Moson-Sopron','9112'),('Répceszemere','Győr-Moson-Sopron','9375'),('Répcevis','Győr-Moson-Sopron','9475'),('Rétalap','Győr-Moson-Sopron','9074'),('Románd','Győr-Moson-Sopron','8434'),('Röjtökmuzsaj','Győr-Moson-Sopron','9451'),('Sarród','Győr-Moson-Sopron','9434'),('Sarród','Győr-Moson-Sopron','9435'),('Sikátor','Győr-Moson-Sopron','8439'),('Sobor','Győr-Moson-Sopron','9315'),('Sokorópátka','Győr-Moson-Sopron','9112'),('Sopron','Győr-Moson-Sopron','9494'),('Sopron','Győr-Moson-Sopron','9400'),('Sopron','Győr-Moson-Sopron','9408'),('Sopron','Győr-Moson-Sopron','9422'),('Sopron','Győr-Moson-Sopron','9407'),('Sopronhorpács','Győr-Moson-Sopron','9463'),('Sopronkövesd','Győr-Moson-Sopron','9483'),('Sopronnémeti','Győr-Moson-Sopron','9325'),('Szakony','Győr-Moson-Sopron','9474'),('Szany','Győr-Moson-Sopron','9317'),('Szárföld','Győr-Moson-Sopron','9353'),('Szerecseny','Győr-Moson-Sopron','9125'),('Szil','Győr-Moson-Sopron','9326'),('Szilsárkány','Győr-Moson-Sopron','9312'),('Táp','Győr-Moson-Sopron','9095'),('Tápszentmiklós','Győr-Moson-Sopron','9094'),('Tarjánpuszta','Győr-Moson-Sopron','9092'),('Tárnokréti','Győr-Moson-Sopron','9165'),('Tényő','Győr-Moson-Sopron','9111'),('Tét','Győr-Moson-Sopron','9100'),('Tét','Győr-Moson-Sopron','9121'),('Töltéstava','Győr-Moson-Sopron','9086'),('Újkér','Győr-Moson-Sopron','9471'),('Újkér','Győr-Moson-Sopron','9472'),('Újrónafő','Győr-Moson-Sopron','9244'),('Und','Győr-Moson-Sopron','9464'),('Vadosfa','Győr-Moson-Sopron','9346'),('Vág','Győr-Moson-Sopron','9327'),('Vámosszabadi','Győr-Moson-Sopron','9061'),('Várbalog','Győr-Moson-Sopron','9243'),('Vásárosfalu','Győr-Moson-Sopron','9343'),('Vének','Győr-Moson-Sopron','9062'),('Veszkény','Győr-Moson-Sopron','9352'),('Veszprémvarsány','Győr-Moson-Sopron','8438'),('Vitnyéd','Győr-Moson-Sopron','9371'),('Völcsej','Győr-Moson-Sopron','9462'),('Zsebeháza','Győr-Moson-Sopron','9346'),('Zsira','Győr-Moson-Sopron','9476'),('Álmosd','Hajdú-Bihar','4285'),('Ártánd','Hajdú-Bihar','4115'),('Bagamér','Hajdú-Bihar','4286'),('Bagamér','Hajdú-Bihar','4264'),('Bakonszeg','Hajdú-Bihar','4164'),('Balmazújváros','Hajdú-Bihar','4060'),('Balmazújváros','Hajdú-Bihar','4063'),('Báránd','Hajdú-Bihar','4161'),('Bedő','Hajdú-Bihar','4128'),('Berekböszörmény','Hajdú-Bihar','4116'),('Berettyóújfalu','Hajdú-Bihar','4100'),('Bihardancsháza','Hajdú-Bihar','4175'),('Biharkeresztes','Hajdú-Bihar','4110'),('Biharnagybajom','Hajdú-Bihar','4172'),('Bihartorda','Hajdú-Bihar','4174'),('Bocskaikert','Hajdú-Bihar','4241'),('Bojt','Hajdú-Bihar','4114'),('Csökmő','Hajdú-Bihar','4145'),('Darvas','Hajdú-Bihar','4144'),('Debrecen','Hajdú-Bihar','4014'),('Debrecen','Hajdú-Bihar','4079'),('Debrecen','Hajdú-Bihar','4002'),('Debrecen','Hajdú-Bihar','4225'),('Debrecen','Hajdú-Bihar','4078'),('Debrecen','Hajdú-Bihar','4000'),('Debrecen','Hajdú-Bihar','4063'),('Derecske','Hajdú-Bihar','4130'),('Ebes','Hajdú-Bihar','4211'),('Egyek','Hajdú-Bihar','4069'),('Egyek','Hajdú-Bihar','4067'),('Esztár','Hajdú-Bihar','4124'),('Folyás','Hajdú-Bihar','4090'),('Folyás','Hajdú-Bihar','4095'),('Földes','Hajdú-Bihar','4177'),('Furta','Hajdú-Bihar','4141'),('Fülöp','Hajdú-Bihar','4266'),('Gáborján','Hajdú-Bihar','4122'),('Görbeháza','Hajdú-Bihar','4075'),('Hajdúbagos','Hajdú-Bihar','4273'),('Hajdúböszörmény','Hajdú-Bihar','4224'),('Hajdúböszörmény','Hajdú-Bihar','4086'),('Hajdúböszörmény','Hajdú-Bihar','4220'),('Hajdúböszörmény','Hajdú-Bihar','4074'),('Hajdúdorog','Hajdú-Bihar','4087'),('Hajdúhadház','Hajdú-Bihar','4242'),('Hajdúnánás','Hajdú-Bihar','4080'),('Hajdúnánás','Hajdú-Bihar','4085'),('Hajdúsámson','Hajdú-Bihar','4251'),('Hajdúszoboszló','Hajdú-Bihar','4181'),('Hajdúszoboszló','Hajdú-Bihar','4200'),('Hajdúszovát','Hajdú-Bihar','4212'),('Hencida','Hajdú-Bihar','4123'),('Hortobágy','Hajdú-Bihar','4071'),('Hosszúpályi','Hajdú-Bihar','4274'),('Hosszúpályi','Hajdú-Bihar','4133'),('Kaba','Hajdú-Bihar','4183'),('Kismarja','Hajdú-Bihar','4126'),('Kokad','Hajdú-Bihar','4284'),('Komádi','Hajdú-Bihar','4138'),('Konyár','Hajdú-Bihar','4133'),('Körösszakál','Hajdú-Bihar','4136'),('Körösszegapáti','Hajdú-Bihar','4135'),('Körösszegapáti','Hajdú-Bihar','4134'),('Létavértes','Hajdú-Bihar','4281'),('Létavértes','Hajdú-Bihar','4283'),('Magyarhomorog','Hajdú-Bihar','4137'),('Mezőpeterd','Hajdú-Bihar','4118'),('Mezősas','Hajdú-Bihar','4134'),('Mikepércs','Hajdú-Bihar','4271'),('Monostorpályi','Hajdú-Bihar','4275'),('Nádudvar','Hajdú-Bihar','4181'),('Nagyhegyes','Hajdú-Bihar','4064'),('Nagykereki','Hajdú-Bihar','4127'),('Nagyrábé','Hajdú-Bihar','4173'),('Nyírábrány','Hajdú-Bihar','4264'),('Nyíracsád','Hajdú-Bihar','4262'),('Nyíradony','Hajdú-Bihar','4253'),('Nyíradony','Hajdú-Bihar','4252'),('Nyíradony','Hajdú-Bihar','4254'),('Nyírmártonfalva','Hajdú-Bihar','4263'),('Parád','Hajdú-Bihar','3240'),('Pocsaj','Hajdú-Bihar','4125'),('Polgár','Hajdú-Bihar','4090'),('Polgár','Hajdú-Bihar','4080'),('Püspökladány','Hajdú-Bihar','4150'),('Sáp','Hajdú-Bihar','4176'),('Sáránd','Hajdú-Bihar','4272'),('Sárrétudvari','Hajdú-Bihar','4171'),('Szentpéterszeg','Hajdú-Bihar','4121'),('Szerep','Hajdú-Bihar','4162'),('Szerep','Hajdú-Bihar','4163'),('Téglás','Hajdú-Bihar','4243'),('Tépe','Hajdú-Bihar','4132'),('Tetétlen','Hajdú-Bihar','4184'),('Tiszacsege','Hajdú-Bihar','4066'),('Tiszagyulaháza','Hajdú-Bihar','4097'),('Told','Hajdú-Bihar','4117'),('Újiráz','Hajdú-Bihar','4146'),('Újléta','Hajdú-Bihar','4288'),('Újszentmargita','Hajdú-Bihar','4065'),('Újtikos','Hajdú-Bihar','4096'),('Vámospércs','Hajdú-Bihar','4287'),('Váncsod','Hajdú-Bihar','4119'),('Vekerd','Hajdú-Bihar','4143'),('Zsáka','Hajdú-Bihar','4142'),('Zsáka','Hajdú-Bihar','4143'),('Abasár','Heves','3261'),('Adács','Heves','3292'),('Aldebrő','Heves','3353'),('Aldebrő','Heves','3355'),('Andornaktálya','Heves','3399'),('Apc','Heves','3032'),('Átány','Heves','3371'),('Atkár','Heves','3213'),('Balaton','Heves','3347'),('Bátor','Heves','3336'),('Bekölce','Heves','3343'),('Bélapátfalva','Heves','3346'),('Besenyőtelek','Heves','3373'),('Boconád','Heves','3368'),('Bodony','Heves','3243'),('Boldog','Heves','3016'),('Bükkszék','Heves','3335'),('Bükkszenterzsébet','Heves','3258'),('Bükkszenterzsébet','Heves','3257'),('Bükkszentmárton','Heves','3346'),('Csány','Heves','3015'),('Demjén','Heves','3395'),('Detk','Heves','3275'),('Domoszló','Heves','3263'),('Dormánd','Heves','3374'),('Ecséd','Heves','3014'),('Ecséd','Heves','3013'),('Eger','Heves','3300'),('Eger','Heves','3304'),('Egerbakta','Heves','3321'),('Egerbocs','Heves','3337'),('Egercsehi','Heves','3341'),('Egerfarmos','Heves','3379'),('Egerszalók','Heves','3394'),('Egerszólát','Heves','3328'),('Erdőkövesd','Heves','3252'),('Erdőtelek','Heves','3358'),('Erk','Heves','3295'),('Fedémes','Heves','3255'),('Feldebrő','Heves','3352'),('Felsőtárkány','Heves','3324'),('Füzesabony','Heves','3390'),('Gyöngyös','Heves','3200'),('Gyöngyös','Heves','3221'),('Gyöngyös','Heves','3232'),('Gyöngyös','Heves','3233'),('Gyöngyöshalász','Heves','3212'),('Gyöngyösoroszi','Heves','3211'),('Gyöngyöspata','Heves','3035'),('Gyöngyössolymos','Heves','3231'),('Gyöngyöstarján','Heves','3036'),('Halmajugra','Heves','3273'),('Hatvan','Heves','3000'),('Heréd','Heves','3011'),('Heves','Heves','3360'),('Hevesaranyos','Heves','3322'),('Hevesvezekény','Heves','3383'),('Hort','Heves','3014'),('Istenmezeje','Heves','3253'),('Ivád','Heves','3248'),('Kál','Heves','3350'),('Kápolna','Heves','3355'),('Karácsond','Heves','3281'),('Kerecsend','Heves','3396'),('Kerekharaszt','Heves','3009'),('Kisfüzes','Heves','3256'),('Kisköre','Heves','3384'),('Kisnána','Heves','3264'),('Kompolt','Heves','3356'),('Kömlő','Heves','3372'),('Lőrinci','Heves','3021'),('Lőrinci','Heves','3023'),('Ludas','Heves','3274'),('Maklár','Heves','3397'),('Markaz','Heves','3262'),('Mátraballa','Heves','3247'),('Mátraderecske','Heves','3246'),('Mátraszentimre','Heves','3235'),('Mátraszentimre','Heves','3234'),('Mezőszemere','Heves','3378'),('Mezőtárkány','Heves','3375'),('Mikófalva','Heves','3344'),('Mónosbél','Heves','3345'),('Mónosbél','Heves','3323'),('Nagyfüged','Heves','3282'),('Nagykökényes','Heves','3012'),('Nagyréde','Heves','3214'),('Nagytálya','Heves','3398'),('Nagyút','Heves','3357'),('Nagyvisnyó','Heves','3517'),('Nagyvisnyó','Heves','3348'),('Nagyvisnyó','Heves','3349'),('Noszvaj','Heves','3325'),('Novaj','Heves','3327'),('Ostoros','Heves','3326'),('Pálosvörösmart','Heves','3261'),('Parád','Heves','3240'),('Parád','Heves','3244'),('Parádsasvár','Heves','3242'),('Pély','Heves','3381'),('Pétervására','Heves','3250'),('Petőfibánya','Heves','3023'),('Poroszló','Heves','3379'),('Poroszló','Heves','3388'),('Recsk','Heves','3245'),('Rózsaszentmárton','Heves','3033'),('Sarud','Heves','3386'),('Sirok','Heves','3332'),('Szajla','Heves','3334'),('Szarvaskő','Heves','3323'),('Szentdomonkos','Heves','3259'),('Szihalom','Heves','3377'),('Szihalom','Heves','3400'),('Szilvásvárad','Heves','3348'),('Szúcs','Heves','3341'),('Szűcsi','Heves','3034'),('Tarnabod','Heves','3369'),('Tarnalelesz','Heves','3258'),('Tarnaméra','Heves','3284'),('Tarnaörs','Heves','3294'),('Tarnaszentmária','Heves','3331'),('Tarnaszentmiklós','Heves','3382'),('Tarnazsadány','Heves','3283'),('Tenk','Heves','3359'),('Terpes','Heves','3334'),('Tiszanána','Heves','3385'),('Tófalu','Heves','3354'),('Újlőrincfalva','Heves','3387'),('Vámosgyörk','Heves','3291'),('Váraszó','Heves','3254'),('Vécs','Heves','3265'),('Verpelét','Heves','3351'),('Verpelét','Heves','3331'),('Verpelét','Heves','3264'),('Visonta','Heves','3271'),('Visznek','Heves','3293'),('Zagyvaszántó','Heves','3031'),('Zaránk','Heves','3296'),('Abádszalók','Jász-Nagykun-Szolnok','5241'),('Abádszalók','Jász-Nagykun-Szolnok','5340'),('Abádszalók','Jász-Nagykun-Szolnok','5242'),('Alattyán','Jász-Nagykun-Szolnok','5142'),('Berekfürdő','Jász-Nagykun-Szolnok','5309'),('Besenyszög','Jász-Nagykun-Szolnok','5071'),('Besenyszög','Jász-Nagykun-Szolnok','5002'),('Cibakháza','Jász-Nagykun-Szolnok','5462'),('Cibakháza','Jász-Nagykun-Szolnok','5461'),('Csataszög','Jász-Nagykun-Szolnok','5064'),('Csépa','Jász-Nagykun-Szolnok','5475'),('Cserkeszőlő','Jász-Nagykun-Szolnok','5465'),('Fegyvernek','Jász-Nagykun-Szolnok','5231'),('Hunyadfalva','Jász-Nagykun-Szolnok','5063'),('Jánoshida','Jász-Nagykun-Szolnok','5143'),('Jászágó','Jász-Nagykun-Szolnok','5124'),('Jászalsószentgyörgy','Jász-Nagykun-Szolnok','5054'),('Jászapáti','Jász-Nagykun-Szolnok','5130'),('Jászárokszállás','Jász-Nagykun-Szolnok','5123'),('Jászberény','Jász-Nagykun-Szolnok','5100'),('Jászberény','Jász-Nagykun-Szolnok','5152'),('Jászboldogháza','Jász-Nagykun-Szolnok','5144'),('Jászdózsa','Jász-Nagykun-Szolnok','5122'),('Jászfelsőszentgyörgy','Jász-Nagykun-Szolnok','5111'),('Jászfényszaru','Jász-Nagykun-Szolnok','5126'),('Jászivány','Jász-Nagykun-Szolnok','5135'),('Jászjákóhalma','Jász-Nagykun-Szolnok','5121'),('Jászkisér','Jász-Nagykun-Szolnok','5137'),('Jászladány','Jász-Nagykun-Szolnok','5055'),('Jászszentandrás','Jász-Nagykun-Szolnok','5130'),('Jászszentandrás','Jász-Nagykun-Szolnok','5136'),('Jásztelek','Jász-Nagykun-Szolnok','5141'),('Karcag','Jász-Nagykun-Szolnok','5300'),('Kenderes','Jász-Nagykun-Szolnok','5349'),('Kenderes','Jász-Nagykun-Szolnok','5331'),('Kengyel','Jász-Nagykun-Szolnok','5083'),('Kétpó','Jász-Nagykun-Szolnok','5411'),('Kisújszállás','Jász-Nagykun-Szolnok','5310'),('Kőtelek','Jász-Nagykun-Szolnok','5062'),('Kuncsorba','Jász-Nagykun-Szolnok','5412'),('Kunhegyes','Jász-Nagykun-Szolnok','5340'),('Kunmadaras','Jász-Nagykun-Szolnok','5321'),('Kunszentmárton','Jász-Nagykun-Szolnok','5440'),('Kunszentmárton','Jász-Nagykun-Szolnok','5449'),('Martfű','Jász-Nagykun-Szolnok','5435'),('Mesterszállás','Jász-Nagykun-Szolnok','5400'),('Mesterszállás','Jász-Nagykun-Szolnok','5452'),('Mezőhék','Jász-Nagykun-Szolnok','5400'),('Mezőhék','Jász-Nagykun-Szolnok','5453'),('Mezőtúr','Jász-Nagykun-Szolnok','5400'),('Nagyiván','Jász-Nagykun-Szolnok','5363'),('Nagykörű','Jász-Nagykun-Szolnok','5065'),('Nagyrév','Jász-Nagykun-Szolnok','5463'),('Öcsöd','Jász-Nagykun-Szolnok','5451'),('Örményes','Jász-Nagykun-Szolnok','5222'),('Pusztamonostor','Jász-Nagykun-Szolnok','5125'),('Rákóczifalva','Jász-Nagykun-Szolnok','5085'),('Rákócziújfalu','Jász-Nagykun-Szolnok','5084'),('Rákócziújfalu','Jász-Nagykun-Szolnok','5435'),('Szajol','Jász-Nagykun-Szolnok','5081'),('Szászberek','Jász-Nagykun-Szolnok','5053'),('Szelevény','Jász-Nagykun-Szolnok','5476'),('Szolnok','Jász-Nagykun-Szolnok','5000'),('Szolnok','Jász-Nagykun-Szolnok','5008'),('Tiszabő','Jász-Nagykun-Szolnok','5232'),('Tiszabura','Jász-Nagykun-Szolnok','5235'),('Tiszabura','Jász-Nagykun-Szolnok','5242'),('Tiszaderzs','Jász-Nagykun-Szolnok','5243'),('Tiszaföldvár','Jász-Nagykun-Szolnok','5461'),('Tiszaföldvár','Jász-Nagykun-Szolnok','5430'),('Tiszafüred','Jász-Nagykun-Szolnok','5363'),('Tiszafüred','Jász-Nagykun-Szolnok','5350'),('Tiszafüred','Jász-Nagykun-Szolnok','5359'),('Tiszagyenda','Jász-Nagykun-Szolnok','5233'),('Tiszaigar','Jász-Nagykun-Szolnok','5361'),('Tiszainoka','Jász-Nagykun-Szolnok','5464'),('Tiszajenő','Jász-Nagykun-Szolnok','5094'),('Tiszakürt','Jász-Nagykun-Szolnok','5471'),('Tiszakürt','Jász-Nagykun-Szolnok','5472'),('Tiszaörs','Jász-Nagykun-Szolnok','5362'),('Tiszapüspöki','Jász-Nagykun-Szolnok','5211'),('Tiszaroff','Jász-Nagykun-Szolnok','5234'),('Tiszasas','Jász-Nagykun-Szolnok','5474'),('Tiszasüly','Jász-Nagykun-Szolnok','5061'),('Tiszaszentimre','Jász-Nagykun-Szolnok','5322'),('Tiszaszentimre','Jász-Nagykun-Szolnok','5323'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5244'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5245'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5246'),('Tiszatenyő','Jász-Nagykun-Szolnok','5082'),('Tiszavárkony','Jász-Nagykun-Szolnok','5095'),('Tiszavárkony','Jász-Nagykun-Szolnok','5092'),('Tomajmonostora','Jász-Nagykun-Szolnok','5324'),('Tószeg','Jász-Nagykun-Szolnok','5091'),('Törökszentmiklós','Jász-Nagykun-Szolnok','5200'),('Törökszentmiklós','Jász-Nagykun-Szolnok','5212'),('Túrkeve','Jász-Nagykun-Szolnok','5420'),('Újszász','Jász-Nagykun-Szolnok','5052'),('Vezseny','Jász-Nagykun-Szolnok','5093'),('Zagyvarékas','Jász-Nagykun-Szolnok','5051'),('Ács','Komárom-Esztergom','2941'),('Ácsteszér','Komárom-Esztergom','2887'),('Ácsteszér','Komárom-Esztergom','2862'),('Aka','Komárom-Esztergom','2862'),('Almásfüzitő','Komárom-Esztergom','2931'),('Annavölgy','Komárom-Esztergom','2529'),('Ászár','Komárom-Esztergom','2881'),('Bábolna','Komárom-Esztergom','2943'),('Baj','Komárom-Esztergom','2836'),('Bajna','Komárom-Esztergom','2525'),('Bajót','Komárom-Esztergom','2533'),('Bajót','Komárom-Esztergom','2535'),('Bakonybánk','Komárom-Esztergom','2885'),('Bakonysárkány','Komárom-Esztergom','2861'),('Bakonyszombathely','Komárom-Esztergom','2884'),('Bana','Komárom-Esztergom','2944'),('Bársonyos','Komárom-Esztergom','2883'),('Bokod','Komárom-Esztergom','2855'),('Császár','Komárom-Esztergom','2858'),('Csatka','Komárom-Esztergom','2888'),('Csém','Komárom-Esztergom','2949'),('Csép','Komárom-Esztergom','2946'),('Csolnok','Komárom-Esztergom','2521'),('Dad','Komárom-Esztergom','2854'),('Dág','Komárom-Esztergom','2522'),('Dorog','Komárom-Esztergom','2510'),('Dömös','Komárom-Esztergom','2027'),('Dunaalmás','Komárom-Esztergom','2545'),('Dunaszentmiklós','Komárom-Esztergom','2897'),('Epöl','Komárom-Esztergom','2526'),('Esztergom','Komárom-Esztergom','2500'),('Esztergom','Komárom-Esztergom','2509'),('Esztergom','Komárom-Esztergom','2508'),('Ete','Komárom-Esztergom','2947'),('Gyermely','Komárom-Esztergom','2821'),('Héreg','Komárom-Esztergom','2832'),('Kecskéd','Komárom-Esztergom','2852'),('Kerékteleki','Komárom-Esztergom','2882'),('Kesztölc','Komárom-Esztergom','2517'),('Kisbér','Komárom-Esztergom','2870'),('Kisbér','Komárom-Esztergom','2879'),('Kisigmánd','Komárom-Esztergom','2948'),('Kocs','Komárom-Esztergom','2898'),('Komárom','Komárom-Esztergom','2900'),('Komárom','Komárom-Esztergom','2921'),('Komárom','Komárom-Esztergom','2903'),('Kömlőd','Komárom-Esztergom','2853'),('Környe','Komárom-Esztergom','2851'),('Lábatlan','Komárom-Esztergom','2541'),('Leányvár','Komárom-Esztergom','2518'),('Máriahalom','Komárom-Esztergom','2527'),('Mocsa','Komárom-Esztergom','2911'),('Mogyorósbánya','Komárom-Esztergom','2535'),('Nagyigmánd','Komárom-Esztergom','2942'),('Nagysáp','Komárom-Esztergom','2524'),('Naszály','Komárom-Esztergom','2899'),('Neszmély','Komárom-Esztergom','2544'),('Nyergesújfalu','Komárom-Esztergom','2536'),('Oroszlány','Komárom-Esztergom','2840'),('Piliscsév','Komárom-Esztergom','2519'),('Pilismarót','Komárom-Esztergom','2028'),('Réde','Komárom-Esztergom','2886'),('Sárisáp','Komárom-Esztergom','2523'),('Súr','Komárom-Esztergom','2889'),('Süttő','Komárom-Esztergom','2543'),('Szákszend','Komárom-Esztergom','2856'),('Szárliget','Komárom-Esztergom','2067'),('Szomód','Komárom-Esztergom','2896'),('Szomor','Komárom-Esztergom','2822'),('Tardos','Komárom-Esztergom','2834'),('Tarján','Komárom-Esztergom','2831'),('Tárkány','Komárom-Esztergom','2945'),('Tát','Komárom-Esztergom','2534'),('Tata','Komárom-Esztergom','2835'),('Tata','Komárom-Esztergom','2890'),('Tatabánya','Komárom-Esztergom','2800'),('Tokod','Komárom-Esztergom','2531'),('Tokodaltáró','Komárom-Esztergom','2532'),('Úny','Komárom-Esztergom','2528'),('Várgesztes','Komárom-Esztergom','2824'),('Vérteskethely','Komárom-Esztergom','2859'),('Vértessomló','Komárom-Esztergom','2823'),('Vértestolna','Komárom-Esztergom','2833'),('Vértesszőlős','Komárom-Esztergom','2837'),('Alsópetény','Nógrád','2617'),('Alsótold','Nógrád','3069'),('Balassagyarmat','Nógrád','2660'),('Bánk','Nógrád','2653'),('Bárna','Nógrád','3126'),('Bátonyterenye','Nógrád','3078'),('Bátonyterenye','Nógrád','3070'),('Becske','Nógrád','2693'),('Bér','Nógrád','3045'),('Bercel','Nógrád','2687'),('Berkenye','Nógrád','2641'),('Bokor','Nógrád','3066'),('Borsosberény','Nógrád','2644'),('Buják','Nógrád','3047'),('Cered','Nógrád','3124'),('Cered','Nógrád','3123'),('Cered','Nógrád','3125'),('Csécse','Nógrád','3052'),('Cserháthaláp','Nógrád','2694'),('Cserhátsurány','Nógrád','2676'),('Cserhátszentiván','Nógrád','3066'),('Csesztve','Nógrád','2678'),('Csitár','Nógrád','2673'),('Debercsény','Nógrád','2694'),('Dejtár','Nógrád','2649'),('Diósjenő','Nógrád','2643'),('Dorogháza','Nógrád','3153'),('Drégelypalánk','Nógrád','2646'),('Ecseg','Nógrád','3053'),('Egyházasdengeleg','Nógrád','3043'),('Egyházasgerge','Nógrád','3185'),('Endrefalva','Nógrád','3165'),('Erdőkürt','Nógrád','2176'),('Erdőtarcsa','Nógrád','2177'),('Érsekvadkert','Nógrád','2659'),('Etes','Nógrád','3136'),('Felsőpetény','Nógrád','2611'),('Felsőtold','Nógrád','3067'),('Galgaguta','Nógrád','2686'),('Garáb','Nógrád','3067'),('Héhalom','Nógrád','3041'),('Héhalom','Nógrád','3024'),('Herencsény','Nógrád','2677'),('Hollókő','Nógrád','3176'),('Hont','Nógrád','2647'),('Horpács','Nógrád','2658'),('Hugyag','Nógrád','2672'),('Iliny','Nógrád','2675'),('Ipolyszög','Nógrád','2660'),('Ipolytarnóc','Nógrád','3138'),('Ipolyvece','Nógrád','2669'),('Jobbágyi','Nógrád','3063'),('Kálló','Nógrád','2175'),('Karancsalja','Nógrád','3181'),('Karancsberény','Nógrád','3137'),('Karancskeszi','Nógrád','3183'),('Karancslapujtő','Nógrád','3182'),('Karancsság','Nógrád','3163'),('Kazár','Nógrád','3127'),('Kazár','Nógrád','3142'),('Kazár','Nógrád','3147'),('Keszeg','Nógrád','2616'),('Kétbodony','Nógrád','2655'),('Kisbágyon','Nógrád','3046'),('Kisbárkány','Nógrád','3075'),('Kisecset','Nógrád','2655'),('Kishartyán','Nógrád','3161'),('Kozárd','Nógrád','3053'),('Kutasó','Nógrád','3066'),('Legénd','Nógrád','2619'),('Litke','Nógrád','3186'),('Lucfalva','Nógrád','3129'),('Ludányhalászi','Nógrád','3188'),('Magyargéc','Nógrád','3133'),('Magyarnándor','Nógrád','2694'),('Márkháza','Nógrád','3075'),('Mátramindszent','Nógrád','3155'),('Mátranovák','Nógrád','3143'),('Mátraszele','Nógrád','3142'),('Mátraszőlős','Nógrád','3068'),('Mátraterenye','Nógrád','3145'),('Mátraverebély','Nógrád','3078'),('Mátraverebély','Nógrád','3077'),('Mihálygerge','Nógrád','3184'),('Mohora','Nógrád','2698'),('Nagybárkány','Nógrád','3075'),('Nagykeresztúr','Nógrád','3129'),('Nagylóc','Nógrád','3175'),('Nagyoroszi','Nógrád','2645'),('Nemti','Nógrád','3152'),('Nézsa','Nógrád','2618'),('Nógrád','Nógrád','2642'),('Nógrádkövesd','Nógrád','2691'),('Nógrádmarcal','Nógrád','2675'),('Nógrádmegyer','Nógrád','3132'),('Nógrádsáp','Nógrád','2685'),('Nógrádsipek','Nógrád','3179'),('Nógrádszakál','Nógrád','3187'),('Nőtincs','Nógrád','2610'),('Őrhalom','Nógrád','2671'),('Ősagárd','Nógrád','2610'),('Palotás','Nógrád','3042'),('Pásztó','Nógrád','3060'),('Pásztó','Nógrád','3065'),('Pásztó','Nógrád','3082'),('Patak','Nógrád','2648'),('Patvarc','Nógrád','2668'),('Piliny','Nógrád','3134'),('Pusztaberki','Nógrád','2658'),('Rákóczibánya','Nógrád','3151'),('Rétság','Nógrád','2651'),('Rimóc','Nógrád','3177'),('Romhány','Nógrád','2654'),('Ságújfalu','Nógrád','3162'),('Salgótarján','Nógrád','3100'),('Salgótarján','Nógrád','3141'),('Salgótarján','Nógrád','3104'),('Salgótarján','Nógrád','3121'),('Salgótarján','Nógrád','3109'),('Sámsonháza','Nógrád','3074'),('Somoskőújfalu','Nógrád','3121'),('Sóshartyán','Nógrád','3131'),('Szalmatercs','Nógrád','3163'),('Szanda','Nógrád','2697'),('Szanda','Nógrád','2687'),('Szarvasgede','Nógrád','3051'),('Szátok','Nógrád','2656'),('Szécsénke','Nógrád','2692'),('Szécsény','Nógrád','3170'),('Szécsényfelfalu','Nógrád','3135'),('Szendehely','Nógrád','2640'),('Szente','Nógrád','2655'),('Szilaspogony','Nógrád','3125'),('Szirák','Nógrád','3044'),('Szuha','Nógrád','3154'),('Szurdokpüspöki','Nógrád','3064'),('Szügy','Nógrád','2699'),('Tar','Nógrád','3073'),('Terény','Nógrád','2696'),('Tereske','Nógrád','2652'),('Tolmács','Nógrád','2657'),('Vanyarc','Nógrád','2688'),('Varsány','Nógrád','3178'),('Vizslás','Nógrád','3128'),('Vizslás','Nógrád','3078'),('Zabar','Nógrád','3124'),('Abony','Pest','2740'),('Acsa','Pest','2683'),('Albertirsa','Pest','2730'),('Alsónémedi','Pest','2364'),('Alsónémedi','Pest','2351'),('Apaj','Pest','2340'),('Apaj','Pest','2345'),('Áporka','Pest','2338'),('Aszód','Pest','2170'),('Bag','Pest','2191'),('Bénye','Pest','2216'),('Bernecebaráti','Pest','2639'),('Biatorbágy','Pest','2051'),('Budajenő','Pest','2093'),('Budakalász','Pest','2011'),('Budakeszi','Pest','2092'),('Budaörs','Pest','2040'),('Bugyi','Pest','2347'),('Cegléd','Pest','2700'),('Cegléd','Pest','2738'),('Ceglédbercel','Pest','2737'),('Csemő','Pest','2713'),('Csévharaszt','Pest','2212'),('Csobánka','Pest','2014'),('Csomád','Pest','2161'),('Csömör','Pest','2141'),('Csömör','Pest','2143'),('Csörög','Pest','2135'),('Csővár','Pest','2615'),('Dabas','Pest','2370'),('Dabas','Pest','2371'),('Dabas','Pest','2373'),('Dánszentmiklós','Pest','2735'),('Dány','Pest','2118'),('Délegyháza','Pest','2337'),('Diósd','Pest','2049'),('Domony','Pest','2182'),('Dömsöd','Pest','2344'),('Dunabogdány','Pest','2023'),('Dunaharaszti','Pest','2330'),('Dunakeszi','Pest','2120'),('Dunavarsány','Pest','2336'),('Ecser','Pest','2233'),('Érd','Pest','2030'),('Erdőkertes','Pest','2113'),('Farmos','Pest','2765'),('Felsőpakony','Pest','2363'),('Fót','Pest','2151'),('Galgagyörk','Pest','2681'),('Galgahévíz','Pest','2193'),('Galgamácsa','Pest','2183'),('Gomba','Pest','2217'),('Göd','Pest','2131'),('Göd','Pest','2132'),('Gödöllő','Pest','2100'),('Gyál','Pest','2360'),('Gyömrő','Pest','2230'),('Halásztelek','Pest','2314'),('Herceghalom','Pest','2053'),('Hernád','Pest','2376'),('Hévízgyörk','Pest','2192'),('Iklad','Pest','2181'),('Inárcs','Pest','2365'),('Ipolydamásd','Pest','2631'),('Ipolytölgyes','Pest','2633'),('Isaszeg','Pest','2117'),('Jászkarajenő','Pest','2746'),('Kakucs','Pest','2366'),('Kartal','Pest','2173'),('Káva','Pest','2215'),('Kemence','Pest','2638'),('Kerepes','Pest','2144'),('Kiskunlacháza','Pest','2340'),('Kismaros','Pest','2623'),('Kisnémedi','Pest','2165'),('Kisoroszi','Pest','2024'),('Kistarcsa','Pest','2143'),('Kocsér','Pest','2755'),('Kóka','Pest','2243'),('Kosd','Pest','2612'),('Kóspallag','Pest','2625'),('Kőröstetétlen','Pest','2745'),('Leányfalu','Pest','2016'),('Letkés','Pest','2632'),('Lórév','Pest','2309'),('Maglód','Pest','2234'),('Majosháza','Pest','2339'),('Makád','Pest','2322'),('Márianosztra','Pest','2629'),('Mende','Pest','2235'),('Mikebuda','Pest','2736'),('Mogyoród','Pest','2146'),('Monor','Pest','2213'),('Monor','Pest','2200'),('Monorierdő','Pest','2213'),('Nagybörzsöny','Pest','2634'),('Nagykáta','Pest','2760'),('Nagykovácsi','Pest','2094'),('Nagykőrös','Pest','2750'),('Nagymaros','Pest','2626'),('Nagytarcsa','Pest','2142'),('Nyáregyháza','Pest','2723'),('Nyársapát','Pest','2712'),('Ócsa','Pest','2364'),('Őrbottyán','Pest','2162'),('Örkény','Pest','2377'),('Pánd','Pest','2214'),('Páty','Pest','2071'),('Pécel','Pest','2119'),('Penc','Pest','2614'),('Perbál','Pest','2074'),('Perőcsény','Pest','2637'),('Péteri','Pest','2209'),('Pilis','Pest','2721'),('Pilisborosjenő','Pest','2097'),('Piliscsaba','Pest','2081'),('Pilisjászfalu','Pest','2080'),('Pilisvörösvár','Pest','2085'),('Pilisszántó','Pest','2095'),('Pilisszentiván','Pest','2084'),('Pilisszentkereszt','Pest','2099'),('Pilisszentkereszt','Pest','2098'),('Pilisszentlászló','Pest','2009'),('Pócsmegyer','Pest','2017'),('Pomáz','Pest','2013'),('Pusztavacs','Pest','2378'),('Pusztazámor','Pest','2039'),('Püspökhatvan','Pest','2682'),('Püspökszilágy','Pest','2166'),('Ráckeve','Pest','2300'),('Rád','Pest','2613'),('Remeteszőlős','Pest','2090'),('Solymár','Pest','2083'),('Sóskút','Pest','2038'),('Sülysáp','Pest','2241'),('Szada','Pest','2111'),('Százhalombatta','Pest','2440'),('Százhalombatta','Pest','2443'),('Százhalombatta','Pest','2444'),('Szentendre','Pest','2000'),('Szentlőrinckáta','Pest','2255'),('Szentmártonkáta','Pest','2254'),('Szigetbecse','Pest','2321'),('Szigetcsép','Pest','2317'),('Szigethalom','Pest','2315'),('Szigetmonostor','Pest','2015'),('Szigetszentmárton','Pest','2318'),('Szigetszentmiklós','Pest','2310'),('Szigetújfalu','Pest','2319'),('Szob','Pest','2628'),('Szokolya','Pest','2624'),('Sződ','Pest','2134'),('Sződliget','Pest','2133'),('Táborfalva','Pest','2381'),('Tahitótfalu','Pest','2022'),('Tahitótfalu','Pest','2021'),('Taksony','Pest','2335'),('Tápióbicske','Pest','2764'),('Tápiógyörgye','Pest','2767'),('Tápióság','Pest','2253'),('Tápiószecső','Pest','2251'),('Tápiószele','Pest','2766'),('Tápiószentmárton','Pest','2711'),('Tápiószőlős','Pest','2769'),('Tápiószőlős','Pest','2766'),('Tárnok','Pest','2461'),('Tatárszentgyörgy','Pest','2375'),('Telki','Pest','2089'),('Tésa','Pest','2636'),('Tinnye','Pest','2086'),('Tóalmás','Pest','2252'),('Tök','Pest','2073'),('Tököl','Pest','2316'),('Törökbálint','Pest','2045'),('Törtel','Pest','2747'),('Tura','Pest','2194'),('Újhartyán','Pest','2367'),('Újlengyel','Pest','2724'),('Újszilvás','Pest','2768'),('Úri','Pest','2244'),('Üllő','Pest','2225'),('Üröm','Pest','2096'),('Vác','Pest','2600'),('Vácduka','Pest','2167'),('Vácegres','Pest','2184'),('Váchartyán','Pest','2164'),('Váckisújfalu','Pest','2185'),('Vácrátót','Pest','2163'),('Vácszentlászló','Pest','2115'),('Valkó','Pest','2114'),('Vámosmikola','Pest','2635'),('Vasad','Pest','2211'),('Vecsés','Pest','2220'),('Veresegyház','Pest','2112'),('Verőce','Pest','2621'),('Verseg','Pest','2174'),('Visegrád','Pest','2025'),('Visegrád','Pest','2026'),('Zebegény','Pest','2627'),('Zsámbék','Pest','2072'),('Zsámbok','Pest','2116'),('Ádánd','Somogy','8653'),('Alsóbogát','Somogy','7443'),('Andocs','Somogy','8675'),('Babócsa','Somogy','7584'),('Bábonymegyer','Somogy','8658'),('Bakháza','Somogy','7585'),('Balatonberény','Somogy','8649'),('Balatonboglár','Somogy','8691'),('Balatonboglár','Somogy','8630'),('Balatonendréd','Somogy','8613'),('Balatonfenyves','Somogy','8646'),('Balatonföldvár','Somogy','8623'),('Balatonkeresztúr','Somogy','8648'),('Balatonlelle','Somogy','8638'),('Balatonmáriafürdő','Somogy','8647'),('Balatonőszöd','Somogy','8637'),('Balatonszabadi','Somogy','8600'),('Balatonszabadi','Somogy','8651'),('Balatonszárszó','Somogy','8624'),('Balatonszemes','Somogy','8636'),('Balatonszentgyörgy','Somogy','8710'),('Balatonújlak','Somogy','8712'),('Bálványos','Somogy','8614'),('Barcs','Somogy','7557'),('Barcs','Somogy','7570'),('Bárdudvarnok','Somogy','7478'),('Baté','Somogy','7271'),('Baté','Somogy','7258'),('Bedegkér','Somogy','8666'),('Bélavár','Somogy','7589'),('Beleg','Somogy','7543'),('Beleg','Somogy','7541'),('Berzence','Somogy','7516'),('Bodrog','Somogy','7439'),('Bolhás','Somogy','7517'),('Bolhó','Somogy','7586'),('Bonnya','Somogy','7283'),('Bonnya','Somogy','7281'),('Böhönye','Somogy','8719'),('Bőszénfa','Somogy','7475'),('Bőszénfa','Somogy','7477'),('Bőszénfa','Somogy','7937'),('Buzsák','Somogy','8695'),('Büssü','Somogy','7273'),('Csákány','Somogy','8735'),('Cserénfa','Somogy','7472'),('Csokonyavisonta','Somogy','7555'),('Csoma','Somogy','7253'),('Csombárd','Somogy','7432'),('Csököly','Somogy','7526'),('Csömend','Somogy','8700'),('Csurgó','Somogy','8840'),('Csurgónagymarton','Somogy','8840'),('Darány','Somogy','7988'),('Drávagárdony','Somogy','7977'),('Drávatamási','Somogy','7979'),('Ecseny','Somogy','7457'),('Edde','Somogy','7443'),('Felsőmocsolád','Somogy','7456'),('Fiad','Somogy','7282'),('Fonó','Somogy','7271'),('Fonyód','Somogy','8640'),('Főnyed','Somogy','8732'),('Gadács','Somogy','7276'),('Gadány','Somogy','8716'),('Gálosfa','Somogy','7473'),('Gamás','Somogy','8685'),('Gige','Somogy','7527'),('Gölle','Somogy','7272'),('Görgeteg','Somogy','7553'),('Gyékényes','Somogy','8851'),('Gyugy','Somogy','8692'),('Hács','Somogy','8694'),('Hajmás','Somogy','7473'),('Háromfa','Somogy','7585'),('Hedrehely','Somogy','7532'),('Hedrehely','Somogy','7533'),('Hedrehely','Somogy','7535'),('Hencse','Somogy','7532'),('Heresznye','Somogy','7587'),('Hetes','Somogy','7432'),('Hollád','Somogy','8731'),('Homokszentgyörgy','Somogy','7537'),('Hosszúvíz','Somogy','8716'),('Igal','Somogy','7464'),('Igal','Somogy','7275'),('Iharos','Somogy','8726'),('Iharosberény','Somogy','8725'),('Inke','Somogy','8724'),('Istvándi','Somogy','7987'),('Jákó','Somogy','7525'),('Juta','Somogy','7431'),('Kadarkút','Somogy','7530'),('Kálmáncsa','Somogy','7538'),('Kánya','Somogy','8667'),('Kapoly','Somogy','8671'),('Kapoly','Somogy','8660'),('Kaposfő','Somogy','7523'),('Kaposgyarmat','Somogy','7473'),('Kaposhomok','Somogy','7261'),('Kaposkeresztúr','Somogy','7258'),('Kaposmérő','Somogy','7521'),('Kaposújlak','Somogy','7522'),('Kaposvár','Somogy','7400'),('Kaposszerdahely','Somogy','7476'),('Kára','Somogy','7285'),('Karád','Somogy','8676'),('Kastélyosdombó','Somogy','7977'),('Kaszó','Somogy','7564'),('Kazsok','Somogy','7274'),('Kelevíz','Somogy','8716'),('Kelevíz','Somogy','8714'),('Kercseliget','Somogy','7256'),('Kereki','Somogy','8618'),('Kéthely','Somogy','8713'),('Kisasszond','Somogy','7523'),('Kisbajom','Somogy','7542'),('Kisbárapáti','Somogy','7282'),('Kisberény','Somogy','8693'),('Kisgyalán','Somogy','7279'),('Kiskorpád','Somogy','7524'),('Komlósd','Somogy','7582'),('Kőkút','Somogy','7530'),('Kőkút','Somogy','7535'),('Kőröshegy','Somogy','8617'),('Kőröshegy','Somogy','8623'),('Kötcse','Somogy','8627'),('Kutas','Somogy','7541'),('Lábod','Somogy','7551'),('Lad','Somogy','7535'),('Lakócsa','Somogy','7918'),('Látrány','Somogy','8681'),('Lengyeltóti','Somogy','8693'),('Lengyeltóti','Somogy','8692'),('Libickozma','Somogy','8707'),('Lulla','Somogy','8660'),('Magyaratád','Somogy','7463'),('Magyaratád','Somogy','7274'),('Magyaregres','Somogy','7441'),('Marcali','Somogy','8714'),('Marcali','Somogy','8700'),('Marcali','Somogy','8709'),('Mernye','Somogy','7453'),('Mernye','Somogy','7456'),('Mesztegnyő','Somogy','8716'),('Mezőcsokonya','Somogy','7434'),('Mike','Somogy','7512'),('Miklósi','Somogy','8669'),('Mosdós','Somogy','7257'),('Nágocs','Somogy','8674'),('Nagyatád','Somogy','7500'),('Nagybajom','Somogy','7561'),('Nagyberény','Somogy','8656'),('Nagyberki','Somogy','7255'),('Nagycsepely','Somogy','8628'),('Nagykorpád','Somogy','7545'),('Nagyszakácsi','Somogy','8739'),('Nemesdéd','Somogy','8722'),('Nemeskisfalud','Somogy','8717'),('Nemesvid','Somogy','8738'),('Nikla','Somogy','8706'),('Nyim','Somogy','8612'),('Orci','Somogy','7400'),('Ordacsehi','Somogy','8635'),('Osztopán','Somogy','7444'),('Öreglak','Somogy','8698'),('Öreglak','Somogy','8695'),('Öreglak','Somogy','8697'),('Őrtilos','Somogy','8854'),('Ötvöskónyi','Somogy','7511'),('Ötvöskónyi','Somogy','7563'),('Pálmajor','Somogy','7561'),('Pamuk','Somogy','8698'),('Patalom','Somogy','7463'),('Patca','Somogy','7477'),('Patosfa','Somogy','7536'),('Péterhida','Somogy','7582'),('Pogányszentpéter','Somogy','8728'),('Polány','Somogy','7458'),('Porrog','Somogy','8858'),('Porrogszentkirály','Somogy','8858'),('Porrogszentpál','Somogy','8858'),('Potony','Somogy','7977'),('Pusztakovácsi','Somogy','8707'),('Pusztakovácsi','Somogy','8708'),('Pusztaszemes','Somogy','8619'),('Ráksi','Somogy','7464'),('Rinyabesenyő','Somogy','7552'),('Rinyakovácsi','Somogy','7527'),('Rinyaszentkirály','Somogy','7513'),('Rinyaújlak','Somogy','7555'),('Rinyaújlak','Somogy','7556'),('Rinyaújnép','Somogy','7584'),('Ságvár','Somogy','8660'),('Ságvár','Somogy','8654'),('Sántos','Somogy','7479'),('Sávoly','Somogy','8732'),('Segesd','Somogy','7562'),('Sérsekszőlős','Somogy','8660'),('Simonfa','Somogy','7474'),('Siófok','Somogy','8600'),('Siójut','Somogy','8652'),('Som','Somogy','8660'),('Som','Somogy','8655'),('Somodor','Somogy','7454'),('Somogyacsa','Somogy','7283'),('Somogyaracs','Somogy','7584'),('Somogyaszaló','Somogy','7452'),('Somogybabod','Somogy','8684'),('Somogybükkösd','Somogy','8858'),('Somogycsicsó','Somogy','8726'),('Somogydöröcske','Somogy','7284'),('Somogyegres','Somogy','8666'),('Somogyfajsz','Somogy','8708'),('Somogygeszti','Somogy','7455'),('Somogyjád','Somogy','7443'),('Somogymeggyes','Somogy','8673'),('Somogysámson','Somogy','8733'),('Somogysárd','Somogy','7435'),('Somogysárd','Somogy','7436'),('Somogysimonyi','Somogy','8737'),('Somogyszentpál','Somogy','8705'),('Somogyszil','Somogy','7276'),('Somogyszob','Somogy','7563'),('Somogytúr','Somogy','8681'),('Somogytúr','Somogy','8683'),('Somogyudvarhely','Somogy','7515'),('Somogyvámos','Somogy','8699'),('Somogyvár','Somogy','8698'),('Somogyzsitfa','Somogy','8734'),('Szabadi','Somogy','7253'),('Szabás','Somogy','7544'),('Szántód','Somogy','8622'),('Szegerdő','Somogy','8732'),('Szenna','Somogy','7477'),('Szenta','Somogy','8849'),('Szentbalázs','Somogy','7472'),('Szentborbás','Somogy','7918'),('Szentgáloskér','Somogy','7465'),('Szenyér','Somogy','8717'),('Szilvásszentmárton','Somogy','7477'),('Szólád','Somogy','8625'),('Szorosad','Somogy','7285'),('Szőkedencs','Somogy','8736'),('Szőlősgyörök','Somogy','8692'),('Szulok','Somogy','7539'),('Tab','Somogy','8660'),('Tapsony','Somogy','8718'),('Tarany','Somogy','7514'),('Táska','Somogy','8696'),('Taszár','Somogy','7261'),('Teleki','Somogy','8626'),('Tengőd','Somogy','8668'),('Tikos','Somogy','8731'),('Torvaj','Somogy','8660'),('Tótújfalu','Somogy','7918'),('Törökkoppány','Somogy','7285'),('Újvárfalva','Somogy','7436'),('Varászló','Somogy','8723'),('Várda','Somogy','7442'),('Vése','Somogy','8721'),('Visnye','Somogy','7533'),('Visnye','Somogy','7478'),('Visz','Somogy','8681'),('Vízvár','Somogy','7588'),('Vörs','Somogy','8711'),('Zákány','Somogy','8852'),('Zákányfalu','Somogy','8853'),('Zala','Somogy','8660'),('Zamárdi','Somogy','8621'),('Zics','Somogy','8672'),('Zimány','Somogy','7471'),('Zselickisfalud','Somogy','7477'),('Zselickislak','Somogy','7400'),('Zselicszentpál','Somogy','7474'),('Ajak','Szabolcs-Szatmár-Bereg','4524'),('Anarcs','Szabolcs-Szatmár-Bereg','4546'),('Apagy','Szabolcs-Szatmár-Bereg','4553'),('Aranyosapáti','Szabolcs-Szatmár-Bereg','4634'),('Baktalórántháza','Szabolcs-Szatmár-Bereg','4561'),('Balkány','Szabolcs-Szatmár-Bereg','4233'),('Balsa','Szabolcs-Szatmár-Bereg','4468'),('Balsa','Szabolcs-Szatmár-Bereg','3955'),('Barabás','Szabolcs-Szatmár-Bereg','4937'),('Bátorliget','Szabolcs-Szatmár-Bereg','4343'),('Benk','Szabolcs-Szatmár-Bereg','4643'),('Beregdaróc','Szabolcs-Szatmár-Bereg','4934'),('Beregsurány','Szabolcs-Szatmár-Bereg','4933'),('Berkesz','Szabolcs-Szatmár-Bereg','4521'),('Besenyőd','Szabolcs-Szatmár-Bereg','4557'),('Beszterec','Szabolcs-Szatmár-Bereg','4488'),('Biri','Szabolcs-Szatmár-Bereg','4235'),('Botpalád','Szabolcs-Szatmár-Bereg','4955'),('Bököny','Szabolcs-Szatmár-Bereg','4231'),('Buj','Szabolcs-Szatmár-Bereg','4483'),('Cégénydányád','Szabolcs-Szatmár-Bereg','4732'),('Csaholc','Szabolcs-Szatmár-Bereg','4967'),('Csaroda','Szabolcs-Szatmár-Bereg','4844'),('Császló','Szabolcs-Szatmár-Bereg','4973'),('Csegöld','Szabolcs-Szatmár-Bereg','4742'),('Csenger','Szabolcs-Szatmár-Bereg','4765'),('Csengersima','Szabolcs-Szatmár-Bereg','4743'),('Csengerújfalu','Szabolcs-Szatmár-Bereg','4764'),('Darnó','Szabolcs-Szatmár-Bereg','4737'),('Demecser','Szabolcs-Szatmár-Bereg','4516'),('Dombrád','Szabolcs-Szatmár-Bereg','4491'),('Dombrád','Szabolcs-Szatmár-Bereg','4492'),('Döge','Szabolcs-Szatmár-Bereg','4495'),('Encsencs','Szabolcs-Szatmár-Bereg','4374'),('Eperjeske','Szabolcs-Szatmár-Bereg','4646'),('Érpatak','Szabolcs-Szatmár-Bereg','4245'),('Érpatak','Szabolcs-Szatmár-Bereg','4244'),('Fábiánháza','Szabolcs-Szatmár-Bereg','4354'),('Fehérgyarmat','Szabolcs-Szatmár-Bereg','4900'),('Fényeslitke','Szabolcs-Szatmár-Bereg','4621'),('Fülesd','Szabolcs-Szatmár-Bereg','4964'),('Fülpösdaróc','Szabolcs-Szatmár-Bereg','4754'),('Gacsály','Szabolcs-Szatmár-Bereg','4972'),('Garbolc','Szabolcs-Szatmár-Bereg','4976'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4483'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','3955'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4471'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4461'),('Géberjén','Szabolcs-Szatmár-Bereg','4754'),('Gégény','Szabolcs-Szatmár-Bereg','4517'),('Gelénes','Szabolcs-Szatmár-Bereg','4935'),('Gemzse','Szabolcs-Szatmár-Bereg','4567'),('Geszteréd','Szabolcs-Szatmár-Bereg','4232'),('Gulács','Szabolcs-Szatmár-Bereg','4842'),('Győröcske','Szabolcs-Szatmár-Bereg','4625'),('Győrtelek','Szabolcs-Szatmár-Bereg','4752'),('Gyulaháza','Szabolcs-Szatmár-Bereg','4545'),('Gyügye','Szabolcs-Szatmár-Bereg','4733'),('Gyüre','Szabolcs-Szatmár-Bereg','4813'),('Hermánszeg','Szabolcs-Szatmár-Bereg','4735'),('Hetefejércse','Szabolcs-Szatmár-Bereg','4843'),('Hodász','Szabolcs-Szatmár-Bereg','4334'),('Ibrány','Szabolcs-Szatmár-Bereg','4484'),('Ilk','Szabolcs-Szatmár-Bereg','4566'),('Jánd','Szabolcs-Szatmár-Bereg','4841'),('Jánkmajtis','Szabolcs-Szatmár-Bereg','4741'),('Jármi','Szabolcs-Szatmár-Bereg','4337'),('Jéke','Szabolcs-Szatmár-Bereg','4611'),('Kállósemjén','Szabolcs-Szatmár-Bereg','4324'),('Kálmánháza','Szabolcs-Szatmár-Bereg','4434'),('Kántorjánosi','Szabolcs-Szatmár-Bereg','4335'),('Kék','Szabolcs-Szatmár-Bereg','4515'),('Kékcse','Szabolcs-Szatmár-Bereg','4494'),('Kemecse','Szabolcs-Szatmár-Bereg','4501'),('Kérsemjén','Szabolcs-Szatmár-Bereg','4912'),('Kisar','Szabolcs-Szatmár-Bereg','4921'),('Kishódos','Szabolcs-Szatmár-Bereg','4977'),('Kisléta','Szabolcs-Szatmár-Bereg','4325'),('Kisnamény','Szabolcs-Szatmár-Bereg','4737'),('Kispalád','Szabolcs-Szatmár-Bereg','4956'),('Kisvárda','Szabolcs-Szatmár-Bereg','4600'),('Kisvarsány','Szabolcs-Szatmár-Bereg','4811'),('Kisszekeres','Szabolcs-Szatmár-Bereg','4963'),('Kocsord','Szabolcs-Szatmár-Bereg','4751'),('Komlódtótfalu','Szabolcs-Szatmár-Bereg','4765'),('Komoró','Szabolcs-Szatmár-Bereg','4622'),('Kótaj','Szabolcs-Szatmár-Bereg','4482'),('Kölcse','Szabolcs-Szatmár-Bereg','4965'),('Kömörő','Szabolcs-Szatmár-Bereg','4943'),('Laskod','Szabolcs-Szatmár-Bereg','4543'),('Levelek','Szabolcs-Szatmár-Bereg','4555'),('Lónya','Szabolcs-Szatmár-Bereg','4836'),('Lövőpetri','Szabolcs-Szatmár-Bereg','4633'),('Magosliget','Szabolcs-Szatmár-Bereg','4953'),('Magy','Szabolcs-Szatmár-Bereg','4556'),('Mánd','Szabolcs-Szatmár-Bereg','4942'),('Mándok','Szabolcs-Szatmár-Bereg','4644'),('Mándok','Szabolcs-Szatmár-Bereg','4044'),('Máriapócs','Szabolcs-Szatmár-Bereg','4326'),('Márokpapi','Szabolcs-Szatmár-Bereg','4932'),('Mátészalka','Szabolcs-Szatmár-Bereg','4700'),('Mátyus','Szabolcs-Szatmár-Bereg','4835'),('Méhtelek','Szabolcs-Szatmár-Bereg','4975'),('Mérk','Szabolcs-Szatmár-Bereg','4352'),('Mezőladány','Szabolcs-Szatmár-Bereg','4641'),('Milota','Szabolcs-Szatmár-Bereg','4948'),('Nábrád','Szabolcs-Szatmár-Bereg','4911'),('Nagyar','Szabolcs-Szatmár-Bereg','4922'),('Nagycserkesz','Szabolcs-Szatmár-Bereg','4445'),('Nagydobos','Szabolcs-Szatmár-Bereg','4823'),('Nagyecsed','Szabolcs-Szatmár-Bereg','4355'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4501'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4485'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4486'),('Nagyhódos','Szabolcs-Szatmár-Bereg','4977'),('Nagykálló','Szabolcs-Szatmár-Bereg','4320'),('Nagyszekeres','Szabolcs-Szatmár-Bereg','4962'),('Nagyvarsány','Szabolcs-Szatmár-Bereg','4812'),('Napkor','Szabolcs-Szatmár-Bereg','4552'),('Nemesborzova','Szabolcs-Szatmár-Bereg','4942'),('Nyírbátor','Szabolcs-Szatmár-Bereg','4300'),('Nyírbátor','Szabolcs-Szatmár-Bereg','4375'),('Nyírbéltek','Szabolcs-Szatmár-Bereg','4372'),('Nyírbogát','Szabolcs-Szatmár-Bereg','4361'),('Nyírbogdány','Szabolcs-Szatmár-Bereg','4511'),('Nyírbogdány','Szabolcs-Szatmár-Bereg','4512'),('Nyírcsaholy','Szabolcs-Szatmár-Bereg','4356'),('Nyírcsászári','Szabolcs-Szatmár-Bereg','4331'),('Nyírderzs','Szabolcs-Szatmár-Bereg','4332'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4244'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4400'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4461'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4246'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4433'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4481'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4432'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4551'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4431'),('Nyírgelse','Szabolcs-Szatmár-Bereg','4362'),('Nyírgyulaj','Szabolcs-Szatmár-Bereg','4311'),('Nyíribrony','Szabolcs-Szatmár-Bereg','4535'),('Nyírjákó','Szabolcs-Szatmár-Bereg','4541'),('Nyírkarász','Szabolcs-Szatmár-Bereg','4544'),('Nyírkáta','Szabolcs-Szatmár-Bereg','4333'),('Nyírkércs','Szabolcs-Szatmár-Bereg','4537'),('Nyírlövő','Szabolcs-Szatmár-Bereg','4632'),('Nyírlugos','Szabolcs-Szatmár-Bereg','4371'),('Nyírmada','Szabolcs-Szatmár-Bereg','4564'),('Nyírmeggyes','Szabolcs-Szatmár-Bereg','4722'),('Nyírmihálydi','Szabolcs-Szatmár-Bereg','4363'),('Nyírparasznya','Szabolcs-Szatmár-Bereg','4822'),('Nyírpazony','Szabolcs-Szatmár-Bereg','4531'),('Nyírpilis','Szabolcs-Szatmár-Bereg','4376'),('Nyírtass','Szabolcs-Szatmár-Bereg','4522'),('Nyírtelek','Szabolcs-Szatmár-Bereg','4461'),('Nyírtét','Szabolcs-Szatmár-Bereg','4554'),('Nyírtura','Szabolcs-Szatmár-Bereg','4532'),('Nyírtura','Szabolcs-Szatmár-Bereg','4501'),('Nyírvasvári','Szabolcs-Szatmár-Bereg','4341'),('Ófehértó','Szabolcs-Szatmár-Bereg','4558'),('Olcsva','Szabolcs-Szatmár-Bereg','4826'),('Olcsvaapáti','Szabolcs-Szatmár-Bereg','4914'),('Ópályi','Szabolcs-Szatmár-Bereg','4821'),('Ököritófülpös','Szabolcs-Szatmár-Bereg','4755'),('Ömböly','Szabolcs-Szatmár-Bereg','4373'),('Őr','Szabolcs-Szatmár-Bereg','4336'),('Panyola','Szabolcs-Szatmár-Bereg','4913'),('Pap','Szabolcs-Szatmár-Bereg','4631'),('Papos','Szabolcs-Szatmár-Bereg','4338'),('Paszab','Szabolcs-Szatmár-Bereg','4475'),('Pátroha','Szabolcs-Szatmár-Bereg','4523'),('Pátyod','Szabolcs-Szatmár-Bereg','4766'),('Penészlek','Szabolcs-Szatmár-Bereg','4267'),('Penyige','Szabolcs-Szatmár-Bereg','4941'),('Petneháza','Szabolcs-Szatmár-Bereg','4542'),('Piricse','Szabolcs-Szatmár-Bereg','4375'),('Pócspetri','Szabolcs-Szatmár-Bereg','4327'),('Porcsalma','Szabolcs-Szatmár-Bereg','4761'),('Pusztadobos','Szabolcs-Szatmár-Bereg','4565'),('Rakamaz','Szabolcs-Szatmár-Bereg','4465'),('Ramocsaháza','Szabolcs-Szatmár-Bereg','4536'),('Rápolt','Szabolcs-Szatmár-Bereg','4756'),('Rétközberencs','Szabolcs-Szatmár-Bereg','4525'),('Rohod','Szabolcs-Szatmár-Bereg','4563'),('Rozsály','Szabolcs-Szatmár-Bereg','4971'),('Sényő','Szabolcs-Szatmár-Bereg','4533'),('Sonkád','Szabolcs-Szatmár-Bereg','4954'),('Szabolcs','Szabolcs-Szatmár-Bereg','4467'),('Szabolcsbáka','Szabolcs-Szatmár-Bereg','4547'),('Szabolcsveresmart','Szabolcs-Szatmár-Bereg','4496'),('Szakoly','Szabolcs-Szatmár-Bereg','4234'),('Szamosangyalos','Szabolcs-Szatmár-Bereg','4767'),('Szamosbecs','Szabolcs-Szatmár-Bereg','4745'),('Szamoskér','Szabolcs-Szatmár-Bereg','4721'),('Szamossályi','Szabolcs-Szatmár-Bereg','4735'),('Szamostatárfalva','Szabolcs-Szatmár-Bereg','4746'),('Szamosújlak','Szabolcs-Szatmár-Bereg','4734'),('Szamosszeg','Szabolcs-Szatmár-Bereg','4824'),('Szatmárcseke','Szabolcs-Szatmár-Bereg','4945'),('Székely','Szabolcs-Szatmár-Bereg','4534'),('Szorgalmatos','Szabolcs-Szatmár-Bereg','4441'),('Tákos','Szabolcs-Szatmár-Bereg','4845'),('Tarpa','Szabolcs-Szatmár-Bereg','4931'),('Terem','Szabolcs-Szatmár-Bereg','4342'),('Tiborszállás','Szabolcs-Szatmár-Bereg','4353'),('Timár','Szabolcs-Szatmár-Bereg','4466'),('Tiszaadony','Szabolcs-Szatmár-Bereg','4833'),('Tiszabecs','Szabolcs-Szatmár-Bereg','4951'),('Tiszabercel','Szabolcs-Szatmár-Bereg','4474'),('Tiszabezdéd','Szabolcs-Szatmár-Bereg','4624'),('Tiszacsécse','Szabolcs-Szatmár-Bereg','4947'),('Tiszadada','Szabolcs-Szatmár-Bereg','4455'),('Tiszadob','Szabolcs-Szatmár-Bereg','4456'),('Tiszaeszlár','Szabolcs-Szatmár-Bereg','4446'),('Tiszaeszlár','Szabolcs-Szatmár-Bereg','4464'),('Tiszakanyár','Szabolcs-Szatmár-Bereg','4493'),('Tiszakerecseny','Szabolcs-Szatmár-Bereg','4834'),('Tiszakóród','Szabolcs-Szatmár-Bereg','4946'),('Tiszalök','Szabolcs-Szatmár-Bereg','4450'),('Tiszalök','Szabolcs-Szatmár-Bereg','4447'),('Tiszamogyorós','Szabolcs-Szatmár-Bereg','4645'),('Tiszanagyfalu','Szabolcs-Szatmár-Bereg','4463'),('Tiszanagyfalu','Szabolcs-Szatmár-Bereg','4461'),('Tiszarád','Szabolcs-Szatmár-Bereg','4503'),('Tiszaszalka','Szabolcs-Szatmár-Bereg','4831'),('Tiszaszentmárton','Szabolcs-Szatmár-Bereg','4628'),('Tiszatelek','Szabolcs-Szatmár-Bereg','4486'),('Tiszatelek','Szabolcs-Szatmár-Bereg','4487'),('Tiszavasvári','Szabolcs-Szatmár-Bereg','4440'),('Tiszavid','Szabolcs-Szatmár-Bereg','4832'),('Tisztaberek','Szabolcs-Szatmár-Bereg','4969'),('Tivadar','Szabolcs-Szatmár-Bereg','4921'),('Tornyospálca','Szabolcs-Szatmár-Bereg','4642'),('Tornyospálca','Szabolcs-Szatmár-Bereg','4634'),('Tunyogmatolcs','Szabolcs-Szatmár-Bereg','4731'),('Túristvándi','Szabolcs-Szatmár-Bereg','4944'),('Túrricse','Szabolcs-Szatmár-Bereg','4968'),('Tuzsér','Szabolcs-Szatmár-Bereg','4623'),('Tyukod','Szabolcs-Szatmár-Bereg','4762'),('Újdombrád','Szabolcs-Szatmár-Bereg','4491'),('Újfehértó','Szabolcs-Szatmár-Bereg','4244'),('Újfehértó','Szabolcs-Szatmár-Bereg','4087'),('Újkenéz','Szabolcs-Szatmár-Bereg','4635'),('Ura','Szabolcs-Szatmár-Bereg','4763'),('Uszka','Szabolcs-Szatmár-Bereg','4952'),('Vaja','Szabolcs-Szatmár-Bereg','4562'),('Vállaj','Szabolcs-Szatmár-Bereg','4351'),('Vámosatya','Szabolcs-Szatmár-Bereg','4936'),('Vámosoroszi','Szabolcs-Szatmár-Bereg','4966'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4804'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4803'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4800'),('Vasmegyer','Szabolcs-Szatmár-Bereg','4502'),('Záhony','Szabolcs-Szatmár-Bereg','4625'),('Zajta','Szabolcs-Szatmár-Bereg','4974'),('Zsarolyán','Szabolcs-Szatmár-Bereg','4961'),('Zsurk','Szabolcs-Szatmár-Bereg','4627'),('Alsónána','Tolna','7147'),('Alsónyék','Tolna','7140'),('Alsónyék','Tolna','7148'),('Aparhant','Tolna','7186'),('Attala','Tolna','7252'),('Attala','Tolna','7200'),('Báta','Tolna','7149'),('Báta','Tolna','7140'),('Bátaapáti','Tolna','7164'),('Bátaszék','Tolna','7140'),('Belecska','Tolna','7061'),('Bikács','Tolna','7043'),('Bogyiszló','Tolna','7132'),('Bogyiszló','Tolna','7100'),('Bonyhád','Tolna','7150'),('Bonyhád','Tolna','7173'),('Bonyhád','Tolna','7696'),('Bonyhád','Tolna','7187'),('Bonyhád','Tolna','7162'),('Bonyhád','Tolna','7159'),('Bonyhádvarasd','Tolna','7158'),('Bölcske','Tolna','7025'),('Bölcske','Tolna','7030'),('Cikó','Tolna','7161'),('Csibrák','Tolna','7225'),('Csikóstőttős','Tolna','7341'),('Dalmand','Tolna','7200'),('Dalmand','Tolna','7211'),('Decs','Tolna','7144'),('Decs','Tolna','7100'),('Diósberény','Tolna','7072'),('Dombóvár','Tolna','7200'),('Döbrököz','Tolna','7228'),('Döbrököz','Tolna','7200'),('Dunaföldvár','Tolna','7020'),('Dunaszentgyörgy','Tolna','7135'),('Dúzs','Tolna','7224'),('Értény','Tolna','7093'),('Fácánkert','Tolna','7136'),('Fadd','Tolna','7133'),('Fadd','Tolna','7139'),('Felsőnána','Tolna','7175'),('Felsőnyék','Tolna','7099'),('Fürged','Tolna','7087'),('Gerjen','Tolna','7134'),('Grábóc','Tolna','7162'),('Gyönk','Tolna','7064'),('Györe','Tolna','7352'),('Györköny','Tolna','7045'),('Gyulaj','Tolna','7227'),('Harc','Tolna','7172'),('Hőgyész','Tolna','7193'),('Hőgyész','Tolna','7191'),('Hőgyész','Tolna','7195'),('Iregszemcse','Tolna','7095'),('Izmény','Tolna','7353'),('Jágónak','Tolna','7357'),('Kajdacs','Tolna','7051'),('Kakasd','Tolna','7122'),('Kalaznó','Tolna','7194'),('Kapospula','Tolna','7200'),('Kapospula','Tolna','7251'),('Kaposszekcső','Tolna','7200'),('Kaposszekcső','Tolna','7361'),('Keszőhidegkút','Tolna','7062'),('Kéty','Tolna','7174'),('Kisdorog','Tolna','7159'),('Kismányok','Tolna','7356'),('Kistormás','Tolna','7068'),('Kisvejke','Tolna','7183'),('Kisszékely','Tolna','7082'),('Kocsola','Tolna','7212'),('Koppányszántó','Tolna','7094'),('Kölesd','Tolna','7052'),('Kurd','Tolna','7226'),('Lápafő','Tolna','7214'),('Lengyel','Tolna','7184'),('Madocsa','Tolna','7026'),('Magyarkeszi','Tolna','7098'),('Medina','Tolna','7057'),('Miszla','Tolna','7066'),('Miszla','Tolna','7065'),('Mórágy','Tolna','7165'),('Mőcsény','Tolna','7163'),('Mucsfa','Tolna','7185'),('Mucsi','Tolna','7195'),('Murga','Tolna','7176'),('Nagydorog','Tolna','7044'),('Nagykónyi','Tolna','7092'),('Nagymányok','Tolna','7355'),('Nagyszékely','Tolna','7085'),('Nagyszokoly','Tolna','7097'),('Nagyvejke','Tolna','7186'),('Nak','Tolna','7215'),('Nak','Tolna','7200'),('Németkér','Tolna','7039'),('Ozora','Tolna','7086'),('Őcsény','Tolna','7143'),('Őcsény','Tolna','7100'),('Paks','Tolna','7030'),('Paks','Tolna','7027'),('Pálfa','Tolna','7042'),('Pári','Tolna','7091'),('Pincehely','Tolna','7084'),('Pörböly','Tolna','7142'),('Pusztahencse','Tolna','7030'),('Pusztahencse','Tolna','7038'),('Regöly','Tolna','7090'),('Regöly','Tolna','7193'),('Sárpilis','Tolna','7145'),('Sárszentlőrinc','Tolna','7047'),('Simontornya','Tolna','7081'),('Sióagárd','Tolna','7171'),('Szakadát','Tolna','7071'),('Szakály','Tolna','7192'),('Szakcs','Tolna','7213'),('Szálka','Tolna','7121'),('Szárazd','Tolna','7063'),('Szedres','Tolna','7056'),('Szedres','Tolna','7054'),('Szekszárd','Tolna','7100'),('Tamási','Tolna','7090'),('Tengelic','Tolna','7054'),('Tevel','Tolna','7159'),('Tevel','Tolna','7181'),('Tolna','Tolna','7130'),('Tolnanémedi','Tolna','7083'),('Udvari','Tolna','7047'),('Udvari','Tolna','7066'),('Újireg','Tolna','7095'),('Váralja','Tolna','7354'),('Várdomb','Tolna','7146'),('Várdomb','Tolna','7100'),('Várong','Tolna','7214'),('Varsád','Tolna','7067'),('Závod','Tolna','7181'),('Závod','Tolna','7182'),('Zomba','Tolna','7173'),('Zomba','Tolna','7172'),('Acsád','Vas','9746'),('Alsószölnök','Vas','9983'),('Alsóújlak','Vas','9842'),('Alsóújlak','Vas','9841'),('Alsóújlak','Vas','9825'),('Andrásfa','Vas','9811'),('Apátistvánfalva','Vas','9982'),('Bajánsenye','Vas','9944'),('Balogunyom','Vas','9771'),('Bejcgyertyános','Vas','9683'),('Bejcgyertyános','Vas','9672'),('Bérbaltavár','Vas','9831'),('Boba','Vas','9542'),('Borgáta','Vas','9554'),('Bozzai','Vas','9752'),('Bozsok','Vas','9727'),('Bő','Vas','9625'),('Bögöt','Vas','9612'),('Bögöte','Vas','9675'),('Bucsu','Vas','9792'),('Bük','Vas','9740'),('Bük','Vas','9737'),('Cák','Vas','9725'),('Celldömölk','Vas','9500'),('Celldömölk','Vas','9541'),('Chernelházadamonya','Vas','9624'),('Csákánydoroszló','Vas','9919'),('Csánig','Vas','9654'),('Csehi','Vas','9833'),('Csehimindszent','Vas','9676'),('Csehimindszent','Vas','9834'),('Csempeszkopács','Vas','9764'),('Csénye','Vas','9611'),('Csepreg','Vas','9735'),('Csepreg','Vas','9474'),('Csipkerek','Vas','9836'),('Csönge','Vas','9513'),('Csörötnek','Vas','9962'),('Daraboshegy','Vas','9917'),('Dozmat','Vas','9791'),('Döbörhegy','Vas','9914'),('Döröske','Vas','9913'),('Duka','Vas','9556'),('Egervölgy','Vas','9684'),('Egyházashetye','Vas','9554'),('Egyházashollós','Vas','9781'),('Egyházasrádóc','Vas','9783'),('Felsőcsatár','Vas','9794'),('Felsőjánosfa','Vas','9934'),('Felsőmarác','Vas','9918'),('Felsőszölnök','Vas','9985'),('Gasztony','Vas','9952'),('Gencsapáti','Vas','9721'),('Gérce','Vas','9672'),('Gersekarát','Vas','9813'),('Gór','Vas','9625'),('Gyanógeregye','Vas','9774'),('Gyöngyösfalu','Vas','9723'),('Győrvár','Vas','9821'),('Halastó','Vas','9814'),('Halogy','Vas','9917'),('Harasztifalu','Vas','9784'),('Hegyfalu','Vas','9631'),('Hegyháthodász','Vas','9915'),('Hegyhátsál','Vas','9915'),('Hegyhátszentjakab','Vas','9934'),('Hegyhátszentmárton','Vas','9931'),('Hegyhátszentpéter','Vas','9826'),('Horvátlövő','Vas','9796'),('Horvátzsidány','Vas','9733'),('Hosszúpereszteg','Vas','9676'),('Ikervár','Vas','9756'),('Iklanberény','Vas','9634'),('Ispánk','Vas','9941'),('Ivánc','Vas','9931'),('Ják','Vas','9798'),('Jákfa','Vas','9643'),('Jánosháza','Vas','9545'),('Káld','Vas','9673'),('Kám','Vas','9841'),('Karakó','Vas','9547'),('Katafa','Vas','9915'),('Keléd','Vas','9549'),('Kemeneskápolna','Vas','9553'),('Kemenesmagasi','Vas','9522'),('Kemenesmihályfa','Vas','9511'),('Kemenesmihályfa','Vas','9561'),('Kemenespálfa','Vas','9544'),('Kemenessömjén','Vas','9517'),('Kemenesszentmárton','Vas','9521'),('Kemestaródfa','Vas','9923'),('Kenéz','Vas','9752'),('Kenyeri','Vas','9514'),('Kercaszomor','Vas','9945'),('Kerkáskápolna','Vas','9944'),('Kétvölgy','Vas','9982'),('Kisrákos','Vas','9936'),('Kissomlyó','Vas','9555'),('Kisunyom','Vas','9772'),('Kiszsidány','Vas','9733'),('Kondorfa','Vas','9943'),('Köcsk','Vas','9553'),('Körmend','Vas','9900'),('Körmend','Vas','9909'),('Kőszeg','Vas','9730'),('Kőszegdoroszló','Vas','9725'),('Kőszegpaty','Vas','9739'),('Kőszegszerdahely','Vas','9725'),('Lócs','Vas','9634'),('Lukácsháza','Vas','9724'),('Magyarlak','Vas','9962'),('Magyarnádalja','Vas','9909'),('Magyarszecsőd','Vas','9912'),('Magyarszombatfa','Vas','9946'),('Megyehíd','Vas','9754'),('Meggyeskovácsi','Vas','9757'),('Meggyeskovácsi','Vas','9764'),('Mersevát','Vas','9531'),('Mesterháza','Vas','9662'),('Mesteri','Vas','9551'),('Meszlen','Vas','9745'),('Mikosszéplak','Vas','9835'),('Molnaszecsőd','Vas','9912'),('Nádasd','Vas','9915'),('Nagygeresd','Vas','9664'),('Nagykölked','Vas','9784'),('Nagymizdó','Vas','9913'),('Nagyrákos','Vas','9938'),('Nagysimonyi','Vas','9561'),('Nagytilaj','Vas','9832'),('Nárai','Vas','9797'),('Narda','Vas','9793'),('Nemesbőd','Vas','9749'),('Nemescsó','Vas','9739'),('Nemeskeresztúr','Vas','9548'),('Nemeskocs','Vas','9542'),('Nemeskolta','Vas','9775'),('Nemesládony','Vas','9663'),('Nemesmedves','Vas','9953'),('Nemesrempehollós','Vas','9782'),('Nick','Vas','9652'),('Nyőgér','Vas','9682'),('Olaszfa','Vas','9824'),('Ólmod','Vas','9733'),('Orfalu','Vas','9982'),('Ostffyasszonyfa','Vas','9512'),('Oszkó','Vas','9825'),('Ölbő','Vas','9621'),('Őrimagyarósd','Vas','9933'),('Őriszentpéter','Vas','9941'),('Pácsony','Vas','9823'),('Pankasz','Vas','9937'),('Pápoc','Vas','9515'),('Pecöl','Vas','9754'),('Perenye','Vas','9722'),('Peresznye','Vas','9734'),('Petőmihályfa','Vas','9826'),('Pinkamindszent','Vas','9922'),('Pornóapáti','Vas','9796'),('Porpác','Vas','9612'),('Pósfa','Vas','9636'),('Pusztacsó','Vas','9739'),('Püspökmolnári','Vas','9776'),('Rábagyarmat','Vas','9961'),('Rábahídvég','Vas','9777'),('Rábapaty','Vas','9641'),('Rábatöttös','Vas','9766'),('Rádóckölked','Vas','9784'),('Rátót','Vas','9951'),('Répcelak','Vas','9653'),('Répceszentgyörgy','Vas','9623'),('Rönök','Vas','9954'),('Rum','Vas','9766'),('Sajtoskál','Vas','9632'),('Salköveskút','Vas','9742'),('Salköveskút','Vas','9746'),('Sárfimizdó','Vas','9813'),('Sárvár','Vas','9600'),('Sárvár','Vas','9609'),('Sárvár','Vas','9608'),('Sé','Vas','9789'),('Simaság','Vas','9633'),('Sitke','Vas','9671'),('Sorkifalud','Vas','9774'),('Sorkikápolna','Vas','9774'),('Sorokpolány','Vas','9773'),('Sótony','Vas','9681'),('Söpte','Vas','9743'),('Szaknyér','Vas','9934'),('Szakonyfalu','Vas','9983'),('Szalafő','Vas','9942'),('Szarvaskend','Vas','9913'),('Szatta','Vas','9938'),('Szeleste','Vas','9622'),('Szemenye','Vas','9685'),('Szentgotthárd','Vas','9970'),('Szentgotthárd','Vas','9981'),('Szentgotthárd','Vas','9955'),('Szentpéterfa','Vas','9784'),('Szentpéterfa','Vas','9799'),('Szergény','Vas','9523'),('Szombathely','Vas','9700'),('Szőce','Vas','9935'),('Tanakajd','Vas','9762'),('Táplánszentkereszt','Vas','9761'),('Telekes','Vas','9812'),('Tokorcs','Vas','9561'),('Tompaládony','Vas','9662'),('Tormásliget','Vas','9736'),('Torony','Vas','9791'),('Tömörd','Vas','9738'),('Uraiújfalu','Vas','9651'),('Vámoscsalád','Vas','9665'),('Vasalja','Vas','9921'),('Vásárosmiske','Vas','9552'),('Vasasszonyfa','Vas','9744'),('Vasegerszeg','Vas','9661'),('Vashosszúfalu','Vas','9674'),('Vaskeresztes','Vas','9795'),('Vassurány','Vas','9741'),('Vasvár','Vas','9800'),('Vasszécseny','Vas','9763'),('Vasszentmihály','Vas','9953'),('Vasszilvágy','Vas','9747'),('Vát','Vas','9748'),('Velem','Vas','9726'),('Velemér','Vas','9946'),('Vép','Vas','9751'),('Viszák','Vas','9932'),('Vönöck','Vas','9516'),('Zsédeny','Vas','9635'),('Zsennye','Vas','9766'),('Ábrahámhegy','Veszprém','8256'),('Adásztevel','Veszprém','8561'),('Adorjánháza','Veszprém','8497'),('Ajka','Veszprém','8447'),('Ajka','Veszprém','8448'),('Ajka','Veszprém','8400'),('Ajka','Veszprém','8451'),('Alsóörs','Veszprém','8226'),('Apácatorna','Veszprém','8477'),('Aszófő','Veszprém','8241'),('Badacsonytomaj','Veszprém','8261'),('Badacsonytomaj','Veszprém','8257'),('Badacsonytomaj','Veszprém','8258'),('Badacsonytördemic','Veszprém','8263'),('Bakonybél','Veszprém','8427'),('Bakonyjákó','Veszprém','8581'),('Bakonykoppány','Veszprém','8571'),('Bakonynána','Veszprém','8422'),('Bakonyoszlop','Veszprém','8418'),('Bakonypölöske','Veszprém','8457'),('Bakonyság','Veszprém','8557'),('Bakonyszentiván','Veszprém','8557'),('Bakonyszentkirály','Veszprém','8430'),('Bakonyszentkirály','Veszprém','8418'),('Bakonyszücs','Veszprém','8571'),('Bakonyszücs','Veszprém','8572'),('Bakonytamási','Veszprém','8435'),('Bakonytamási','Veszprém','8555'),('Balatonakali','Veszprém','8243'),('Balatonalmádi','Veszprém','8220'),('Balatoncsicsó','Veszprém','8272'),('Balatoncsicsó','Veszprém','8294'),('Balatonederics','Veszprém','8312'),('Balatonfőkajár','Veszprém','8172'),('Balatonfőkajár','Veszprém','8164'),('Balatonfüred','Veszprém','8230'),('Balatonfűzfő','Veszprém','8175'),('Balatonhenye','Veszprém','8275'),('Balatonkenese','Veszprém','8172'),('Balatonkenese','Veszprém','8174'),('Balatonrendes','Veszprém','8255'),('Balatonszepezd','Veszprém','8252'),('Balatonszőlős','Veszprém','8233'),('Balatonudvari','Veszprém','8242'),('Balatonvilágos','Veszprém','8171'),('Bánd','Veszprém','8443'),('Bánd','Veszprém','8441'),('Barnag','Veszprém','8291'),('Bazsi','Veszprém','8352'),('Béb','Veszprém','8565'),('Békás','Veszprém','8515'),('Berhida','Veszprém','8181'),('Berhida','Veszprém','8182'),('Bodorfa','Veszprém','8471'),('Borszörcsök','Veszprém','8479'),('Borzavár','Veszprém','8428'),('Csabrendek','Veszprém','8474'),('Csabrendek','Veszprém','8330'),('Csajág','Veszprém','8163'),('Csehbánya','Veszprém','8445'),('Csesznek','Veszprém','8419'),('Csesznek','Veszprém','8420'),('Csetény','Veszprém','8417'),('Csopak','Veszprém','8229'),('Csót','Veszprém','8558'),('Csögle','Veszprém','8495'),('Dabronc','Veszprém','8345'),('Dabrony','Veszprém','8485'),('Dáka','Veszprém','8592'),('Dáka','Veszprém','8484'),('Devecser','Veszprém','8460'),('Doba','Veszprém','8482'),('Döbrönte','Veszprém','8597'),('Dörgicse','Veszprém','8244'),('Dörgicse','Veszprém','8242'),('Dudar','Veszprém','8416'),('Egeralja','Veszprém','8497'),('Egyházaskesző','Veszprém','8523'),('Egyházaskesző','Veszprém','8532'),('Eplény','Veszprém','8413'),('Farkasgyepű','Veszprém','8445'),('Farkasgyepű','Veszprém','8582'),('Felsőörs','Veszprém','8227'),('Ganna','Veszprém','8597'),('Gecse','Veszprém','8543'),('Gic','Veszprém','8435'),('Gógánfa','Veszprém','8346'),('Gyepükaján','Veszprém','8473'),('Gyulakeszi','Veszprém','8286'),('Hajmáskér','Veszprém','8192'),('Halimba','Veszprém','8452'),('Hárskút','Veszprém','8442'),('Hegyesd','Veszprém','8296'),('Hegymagas','Veszprém','8265'),('Herend','Veszprém','8440'),('Hetyefő','Veszprém','8344'),('Hidegkút','Veszprém','8247'),('Homokbödöge','Veszprém','8563'),('Hosztót','Veszprém','8475'),('Iszkáz','Veszprém','8493'),('Jásd','Veszprém','8424'),('Kamond','Veszprém','9547'),('Kamond','Veszprém','8469'),('Kapolcs','Veszprém','8294'),('Káptalanfa','Veszprém','8471'),('Káptalantóti','Veszprém','8283'),('Karakószörcsök','Veszprém','8491'),('Kékkút','Veszprém','8254'),('Kemeneshőgyész','Veszprém','8516'),('Kemenesszentpéter','Veszprém','8518'),('Kerta','Veszprém','8492'),('Királyszentistván','Veszprém','8195'),('Kisapáti','Veszprém','8284'),('Kisberzseny','Veszprém','8477'),('Kiscsősz','Veszprém','8494'),('Kislőd','Veszprém','8446'),('Kislőd','Veszprém','8445'),('Kispirit','Veszprém','8496'),('Kisszőlős','Veszprém','8483'),('Kolontár','Veszprém','8468'),('Kővágóörs','Veszprém','8254'),('Kővágóörs','Veszprém','8255'),('Köveskál','Veszprém','8274'),('Kup','Veszprém','8595'),('Külsővat','Veszprém','9532'),('Küngös','Veszprém','8162'),('Lesencefalu','Veszprém','8318'),('Lesenceistvánd','Veszprém','8319'),('Lesencetomaj','Veszprém','8318'),('Litér','Veszprém','8196'),('Lókút','Veszprém','8425'),('Lovas','Veszprém','8228'),('Lovászpatona','Veszprém','8553'),('Magyargencs','Veszprém','8517'),('Magyarpolány','Veszprém','8449'),('Malomsok','Veszprém','8533'),('Marcalgergelyi','Veszprém','9534'),('Marcaltő','Veszprém','8532'),('Marcaltő','Veszprém','8531'),('Márkó','Veszprém','8440'),('Márkó','Veszprém','8441'),('Megyer','Veszprém','8348'),('Mencshely','Veszprém','8271'),('Mezőlak','Veszprém','8500'),('Mezőlak','Veszprém','8514'),('Mihályháza','Veszprém','8514'),('Mihályháza','Veszprém','8513'),('Mindszentkálla','Veszprém','8282'),('Monostorapáti','Veszprém','8296'),('Monoszló','Veszprém','8273'),('Nagyacsád','Veszprém','8521'),('Nagyalásony','Veszprém','8484'),('Nagydém','Veszprém','8554'),('Nagyesztergár','Veszprém','8415'),('Nagygyimót','Veszprém','8551'),('Nagypirit','Veszprém','8496'),('Nagytevel','Veszprém','8562'),('Nagyvázsony','Veszprém','8291'),('Nagyvázsony','Veszprém','8200'),('Nemesgörzsöny','Veszprém','8522'),('Nemesgulács','Veszprém','8284'),('Nemeshany','Veszprém','8471'),('Nemesvámos','Veszprém','8248'),('Nemesvita','Veszprém','8311'),('Nemesszalók','Veszprém','9533'),('Németbánya','Veszprém','8581'),('Nóráp','Veszprém','8591'),('Noszlop','Veszprém','8456'),('Nyárád','Veszprém','8512'),('Nyirád','Veszprém','8454'),('Óbudavár','Veszprém','8272'),('Olaszfalu','Veszprém','8414'),('Oroszi','Veszprém','8458'),('Öcs','Veszprém','8292'),('Örvényes','Veszprém','8242'),('Ősi','Veszprém','8161'),('Öskü','Veszprém','8191'),('Öskü','Veszprém','8100'),('Paloznak','Veszprém','8229'),('Pápa','Veszprém','8500'),('Pápa','Veszprém','8511'),('Pápa','Veszprém','8591'),('Pápa','Veszprém','8531'),('Pápa','Veszprém','8598'),('Pápadereske','Veszprém','8593'),('Pápakovácsi','Veszprém','8596'),('Pápasalamon','Veszprém','8594'),('Pápateszér','Veszprém','8556'),('Papkeszi','Veszprém','8182'),('Papkeszi','Veszprém','8183'),('Pécsely','Veszprém','8245'),('Pénzesgyőr','Veszprém','8426'),('Pétfürdő','Veszprém','8105'),('Porva','Veszprém','8429'),('Porva','Veszprém','8420'),('Pula','Veszprém','8291'),('Pusztamiske','Veszprém','8455'),('Raposka','Veszprém','8300'),('Révfülöp','Veszprém','8253'),('Rigács','Veszprém','8348'),('Salföld','Veszprém','8256'),('Sáska','Veszprém','8308'),('Sóly','Veszprém','8193'),('Somlójenő','Veszprém','8478'),('Somlószőlős','Veszprém','8483'),('Somlóvásárhely','Veszprém','8481'),('Somlóvecse','Veszprém','8484'),('Sümeg','Veszprém','8330'),('Sümeg','Veszprém','8351'),('Sümeg','Veszprém','8474'),('Sümegprága','Veszprém','8351'),('Szápár','Veszprém','8423'),('Szentantalfa','Veszprém','8272'),('Szentbékkálla','Veszprém','8281'),('Szentgál','Veszprém','8444'),('Szentimrefalva','Veszprém','8475'),('Szentjakabfa','Veszprém','8272'),('Szentkirályszabadja','Veszprém','8220'),('Szentkirályszabadja','Veszprém','8225'),('Szigliget','Veszprém','8264'),('Szőc','Veszprém','8452'),('Tagyon','Veszprém','8272'),('Takácsi','Veszprém','8541'),('Taliándörögd','Veszprém','8295'),('Tapolca','Veszprém','8297'),('Tapolca','Veszprém','8300'),('Tés','Veszprém','8109'),('Tihany','Veszprém','8237'),('Tótvázsony','Veszprém','8246'),('Tüskevár','Veszprém','8477'),('Ugod','Veszprém','8564'),('Ugod','Veszprém','8571'),('Ukk','Veszprém','8347'),('Úrkút','Veszprém','8409'),('Uzsa','Veszprém','8321'),('Vanyola','Veszprém','8552'),('Várkesző','Veszprém','8523'),('Városlőd','Veszprém','8445'),('Várpalota','Veszprém','8100'),('Vaszar','Veszprém','8542'),('Vászoly','Veszprém','8245'),('Veszprém','Veszprém','8200'),('Veszprém','Veszprém','8413'),('Veszprém','Veszprém','8412'),('Veszprém','Veszprém','8411'),('Veszprémfajsz','Veszprém','8248'),('Veszprémgalsa','Veszprém','8475'),('Vid','Veszprém','8484'),('Vigántpetend','Veszprém','8294'),('Vilonya','Veszprém','8194'),('Vinár','Veszprém','9535'),('Vöröstó','Veszprém','8291'),('Zalaerdőd','Veszprém','8344'),('Zalagyömörő','Veszprém','8349'),('Zalahaláp','Veszprém','8308'),('Zalameggyes','Veszprém','8348'),('Zalaszegvár','Veszprém','8476'),('Zánka','Veszprém','8251'),('Zánka','Veszprém','8252'),('Zirc','Veszprém','8420'),('Alibánfa','Zala','8921'),('Almásháza','Zala','8935'),('Alsónemesapáti','Zala','8924'),('Alsónemesapáti','Zala','8925'),('Alsópáhok','Zala','8394'),('Alsórajk','Zala','8767'),('Alsószenterzsébet','Zala','8973'),('Babosdöbréte','Zala','8983'),('Baglad','Zala','8977'),('Bagod','Zala','8992'),('Bak','Zala','8945'),('Baktüttös','Zala','8946'),('Balatongyörök','Zala','8313'),('Balatonmagyaród','Zala','8753'),('Bánokszentgyörgy','Zala','8891'),('Barlahida','Zala','8948'),('Batyk','Zala','8797'),('Bázakerettye','Zala','8887'),('Becsehely','Zala','8866'),('Becsvölgye','Zala','8985'),('Belezna','Zala','8855'),('Belsősárd','Zala','8978'),('Bezeréd','Zala','8934'),('Bocfölde','Zala','8943'),('Bocska','Zala','8776'),('Bókaháza','Zala','8741'),('Boncodfölde','Zala','8992'),('Borsfa','Zala','8885'),('Böde','Zala','8991'),('Bödeháza','Zala','8969'),('Börzönce','Zala','8772'),('Búcsúszentlászló','Zala','8925'),('Bucsuta','Zala','8893'),('Csapi','Zala','8756'),('Csatár','Zala','8943'),('Cserszegtomaj','Zala','8372'),('Csertalakos','Zala','8951'),('Csesztreg','Zala','8973'),('Csonkahegyhát','Zala','8918'),('Csonkahegyhát','Zala','8991'),('Csöde','Zala','8999'),('Csömödér','Zala','8957'),('Csörnyeföld','Zala','8873'),('Dióskál','Zala','8764'),('Dobri','Zala','8874'),('Dobronhegy','Zala','8989'),('Döbröce','Zala','8357'),('Dötk','Zala','8799'),('Egeraracsa','Zala','8765'),('Egervár','Zala','8913'),('Eszteregnye','Zala','8882'),('Esztergályhorváti','Zala','8742'),('Felsőpáhok','Zala','8380'),('Felsőrajk','Zala','8767'),('Felsőszenterzsébet','Zala','8973'),('Fityeház','Zala','8835'),('Fűzvölgy','Zala','8777'),('Gáborjánháza','Zala','8969'),('Galambok','Zala','8827'),('Galambok','Zala','8754'),('Galambok','Zala','8752'),('Garabonc','Zala','8747'),('Gellénháza','Zala','8981'),('Gelse','Zala','8774'),('Gelsesziget','Zala','8774'),('Gétye','Zala','8762'),('Gombosszeg','Zala','8984'),('Gosztola','Zala','8978'),('Gősfa','Zala','8914'),('Gősfa','Zala','8913'),('Gutorfölde','Zala','8951'),('Gyenesdiás','Zala','8315'),('Gyűrűs','Zala','8932'),('Hagyárosbörönd','Zala','8992'),('Hahót','Zala','8771'),('Hernyék','Zala','8957'),('Hernyék','Zala','8960'),('Hévíz','Zala','8380'),('Homokkomárom','Zala','8777'),('Hosszúvölgy','Zala','8777'),('Hottó','Zala','8991'),('Iborfia','Zala','8984'),('Iklódbördőce','Zala','8958'),('Iklódbördőce','Zala','8879'),('Kacorlak','Zala','8773'),('Kallósd','Zala','8785'),('Kálócfa','Zala','8988'),('Kányavár','Zala','8956'),('Karmacs','Zala','8354'),('Kávás','Zala','8994'),('Kehidakustány','Zala','8784'),('Kemendollár','Zala','8931'),('Keménfa','Zala','8995'),('Kerecseny','Zala','8745'),('Kerkabarabás','Zala','8971'),('Kerkafalva','Zala','8973'),('Kerkakutas','Zala','8973'),('Kerkaszentkirály','Zala','8874'),('Kerkateskánd','Zala','8879'),('Keszthely','Zala','8360'),('Keszthely','Zala','8372'),('Kilimán','Zala','8774'),('Kisbucsa','Zala','8925'),('Kiscsehi','Zala','8888'),('Kisgörbő','Zala','8356'),('Kiskutas','Zala','8911'),('Kispáli','Zala','8912'),('Kisrécse','Zala','8756'),('Kistolmács','Zala','8868'),('Kisvásárhely','Zala','8341'),('Kissziget','Zala','8957'),('Kozmadombja','Zala','8988'),('Kustánszeg','Zala','8919'),('Külsősárd','Zala','8978'),('Lakhegy','Zala','8913'),('Lasztonya','Zala','8887'),('Lendvadedes','Zala','8978'),('Lendvajakabfa','Zala','8977'),('Lenti','Zala','8960'),('Lenti','Zala','8966'),('Letenye','Zala','8868'),('Lickóvadamos','Zala','8981'),('Ligetfalva','Zala','8782'),('Lispeszentadorján','Zala','8888'),('Liszó','Zala','8831'),('Lovászi','Zala','8878'),('Magyarföld','Zala','8973'),('Magyarszentmiklós','Zala','8776'),('Magyarszerdahely','Zala','8776'),('Maróc','Zala','8888'),('Márokföld','Zala','8976'),('Miháld','Zala','8825'),('Mihályfa','Zala','8341'),('Mikekarácsonyfa','Zala','8949'),('Milejszeg','Zala','8917'),('Misefa','Zala','8935'),('Molnári','Zala','8863'),('Murakeresztúr','Zala','8834'),('Murarátka','Zala','8868'),('Muraszemenye','Zala','8872'),('Nagybakónak','Zala','8821'),('Nagygörbő','Zala','8356'),('Nagykanizsa','Zala','8800'),('Nagykanizsa','Zala','8831'),('Nagykanizsa','Zala','8756'),('Nagykanizsa','Zala','8808'),('Nagykapornak','Zala','8935'),('Nagykutas','Zala','8911'),('Nagylengyel','Zala','8983'),('Nagylengyel','Zala','8917'),('Nagypáli','Zala','8912'),('Nagyrada','Zala','8746'),('Nagyrécse','Zala','8756'),('Nemesapáti','Zala','8923'),('Nemesbük','Zala','8371'),('Nemeshetés','Zala','8925'),('Nemesnép','Zala','8976'),('Nemespátró','Zala','8856'),('Nemesrádó','Zala','8915'),('Nemessándorháza','Zala','8925'),('Nemesszentandrás','Zala','8925'),('Németfalu','Zala','8918'),('Nova','Zala','8948'),('Óhíd','Zala','8342'),('Oltárc','Zala','8886'),('Orbányosfa','Zala','8935'),('Ormándlak','Zala','8983'),('Orosztony','Zala','8744'),('Ortaháza','Zala','8954'),('Ozmánbük','Zala','8998'),('Pacsa','Zala','8761'),('Padár','Zala','8935'),('Páka','Zala','8956'),('Pakod','Zala','8799'),('Pálfiszeg','Zala','8990'),('Pat','Zala','8825'),('Pethőhenye','Zala','8921'),('Petrikeresztúr','Zala','8984'),('Petrivente','Zala','8866'),('Pókaszepetk','Zala','8932'),('Pórszombat','Zala','8986'),('Pölöske','Zala','8929'),('Pölöskefő','Zala','8773'),('Pördefölde','Zala','8956'),('Pötréte','Zala','8767'),('Pusztaapáti','Zala','8986'),('Pusztaederics','Zala','8951'),('Pusztaederics','Zala','8946'),('Pusztamagyaród','Zala','8895'),('Pusztaszentlászló','Zala','8896'),('Ramocsa','Zala','8973'),('Rédics','Zala','8978'),('Resznek','Zala','8977'),('Rezi','Zala','8373'),('Rigyác','Zala','8883'),('Salomvár','Zala','8995'),('Sand','Zala','8824'),('Sárhida','Zala','8944'),('Sármellék','Zala','8391'),('Semjénháza','Zala','8862'),('Sénye','Zala','8788'),('Sormás','Zala','8881'),('Söjtör','Zala','8771'),('Söjtör','Zala','8929'),('Söjtör','Zala','8945'),('Söjtör','Zala','8897'),('Surd','Zala','8856'),('Sümegcsehi','Zala','8357'),('Szalapa','Zala','8341'),('Szécsisziget','Zala','8879'),('Szentgyörgyvár','Zala','8393'),('Szentgyörgyvölgy','Zala','8975'),('Szentkozmadombja','Zala','8947'),('Szentliszló','Zala','8893'),('Szentmargitfalva','Zala','8872'),('Szentpéterfölde','Zala','8953'),('Szentpéterúr','Zala','8762'),('Szepetnek','Zala','8861'),('Szijártóháza','Zala','8969'),('Szilvágy','Zala','8986'),('Teskánd','Zala','8991'),('Tilaj','Zala','8782'),('Tilaj','Zala','8935'),('Tófej','Zala','8946'),('Tormafölde','Zala','8876'),('Tormafölde','Zala','8878'),('Tornyiszentmiklós','Zala','8877'),('Tótszentmárton','Zala','8865'),('Tótszerdahely','Zala','8864'),('Türje','Zala','8796'),('Újudvar','Zala','8778'),('Valkonya','Zala','8885'),('Vállus','Zala','8316'),('Várfölde','Zala','8891'),('Várvölgy','Zala','8316'),('Vasboldogasszony','Zala','8914'),('Vaspör','Zala','8998'),('Vindornyafok','Zala','8354'),('Vindornyalak','Zala','8353'),('Vindornyaszőlős','Zala','8355'),('Vonyarcvashegy','Zala','8314'),('Vöckönd','Zala','8931'),('Zajk','Zala','8868'),('Zalaapáti','Zala','8741'),('Zalabaksa','Zala','8971'),('Zalabér','Zala','8798'),('Zalaboldogfa','Zala','8992'),('Zalacsány','Zala','8782'),('Zalacséb','Zala','8996'),('Zalaegerszeg','Zala','8900'),('Zalaháshágy','Zala','8997'),('Zalaigrice','Zala','8761'),('Zalaistvánd','Zala','8932'),('Zalakaros','Zala','8749'),('Zalakomár','Zala','8752'),('Zalakomár','Zala','8753'),('Zalakomár','Zala','8751'),('Zalakomár','Zala','8737'),('Zalaköveskút','Zala','8354'),('Zalalövő','Zala','8999'),('Zalamerenye','Zala','8747'),('Zalamerenye','Zala','8749'),('Zalasárszeg','Zala','8756'),('Zalaszabar','Zala','8743'),('Zalaszántó','Zala','8353'),('Zalaszentbalázs','Zala','8772'),('Zalaszentgrót','Zala','8795'),('Zalaszentgrót','Zala','8785'),('Zalaszentgrót','Zala','8790'),('Zalaszentgrót','Zala','8793'),('Zalaszentgrót','Zala','8789'),('Zalaszentgyörgy','Zala','8994'),('Zalaszentiván','Zala','8921'),('Zalaszentjakab','Zala','8827'),('Zalaszentlászló','Zala','8788'),('Zalaszentlőrinc','Zala','8921'),('Zalaszentmárton','Zala','8764'),('Zalaszentmihály','Zala','8936'),('Zalaszombatfa','Zala','8969'),('Zalatárnok','Zala','8947'),('Zalaújlak','Zala','8822'),('Zalavár','Zala','8392'),('Zalavég','Zala','8792'),('Zebecke','Zala','8957'); + + +CREATE TABLE `kirTargy` ( + `kirTargyId` smallint(5) unsigned NOT NULL, + `kirTargyNev` varchar(255) NULL, + PRIMARY KEY (`kirTargyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `kirTargy` VALUES (3,'Magyar nyelv és irodalom'),(4,'Nemzetiségi nyelv és irodalom'),(5,'Nemzetiségi nyelv'),(6,'Angol nyelv'),(7,'Német nyelv'),(8,'Francia nyelv'),(9,'Olasz nyelv'),(10,'Spanyol nyelv'),(11,'Orosz nyelv'),(12,'Latin nyelv'),(14,'Matematika'),(15,'Társadalmi ismeretek'),(16,'Filozófia'),(17,'Hittan (és erkölcstan)'),(18,'Emberismeret, etika'),(19,'Történelem'),(20,'Állampolgári ismeretek'),(21,'Hon‐ és népismeret'),(22,'Természetismeret'),(23,'Fizika'),(24,'Kémia'),(25,'Biológia'),(26,'Környezetismeret'),(27,'Földrajz'),(28,'Ének‐zene'),(29,'Tánc és dráma'),(30,'Rajz és műalkotások elemzése, vizuális kultúra'),(31,'Művészettörténet'),(32,'Mozgóképkultúra és médiaismeret'),(33,'Számítástechnika'),(34,'Informatika'),(35,'Könyvtárhasználat'),(36,'Technika'),(37,'Háztartástan'),(38,'Életvitel és gyakorlati ismeretek'),(39,'Testnevelés'),(40,'Pályaorientáció, szakmai alapozás'),(41,'Magyar irodalom'),(42,'Magyar nyelv'),(43,'Földünk és környezetünk'),(44,'Gazdasági ismeretek'),(45,'Információkezelés'),(46,'Tanulásmódszertan'),(47,'Postai orientációs ismeretek'),(48,'Etika'),(49,'Sportegészségtan'),(50,'Egészségtan'),(51,'Gazdasági környezetünk'),(52,'Gasztronómiai alapgyakorlat'),(53,'Természettudományok'),(54,'Gépírás'),(55,'Önvédelmi ismeretek'),(56,'Vállalkozási ismeretek'),(57,'Jogi ismeretek'),(58,'Mindennapi ismeretek'),(59,'Személy és vagyonvédelmi ismeretek'),(60,'Lövészet'),(61,'Zenetörténet'),(63,'Tánctörténet'),(64,'Cirkusztörténet'),(65,'Mozgóképkultúra (MOK)'),(66,'Mozgásanatómia'),(67,'Információkezelés és viselkedéskultúra'),(68,'Viselkedéskultúra és kommunikáció'),(69,'Gasztronómiai alapismeretek és viselkedéskultúra'),(70,'Vizuális ismeretek'),(71,'Alkalmazott számítástechnika'),(72,'Élelmiszer alapismeretek'),(73,'Vendéglátó technológia'),(74,'Információkezelés és kommunikáció'),(75,'Művészetek'),(76,'Gasztronómiai alapismeretek és kommunikáció'),(77,'Világörökség'),(78,'Egyházi ének'),(79,'Szabadkézi rajz'),(80,'Építészeti alapismeretek'),(81,'Szakmacsoportos alapozó ismeretek elmélet'),(82,'Szakmacsoportos alapozó ismeretek gyakorlat'),(83,'Szakmacsoportos alapozó oktatás'),(84,'Alapgyakorlatok'),(85,'Egészségnevelés'),(86,'Elektronikai alapismeretek'),(87,'Elektronika'),(88,'Hardver alapismeretek'),(89,'Hardver‐ és szoftverismeretek'),(90,'Informatikai alapismeretek'),(91,'Rajz és vizuális kultúra'),(92,'Informatikai szakmacsoportos alapozó oktatás elmélet'),(93,'Informatikai szakmacsoportos alapozó oktatás gyakorlat'),(94,'Irodalom'),(96,'Magyar nyelv és kommunikáció'),(97,'Anyanyelv és kommunikáció'),(98,'Kommunikáció'),(99,'Anyanyelv kultúra'),(100,'Szövegértés'),(101,'Német nyelvi tréning'),(102,'Német társalgás'),(103,'Német nyelvtan'),(104,'Német szaknyelv'),(105,'Holland nyelv'),(106,'Román nyelv'),(109,'Horvát nyelv'),(113,'Külalak'),(114,'Szakmai alapozás'),(115,'Szakmai alapozó oktatás'),(116,'Szakmai gyakorlat'),(117,'Pályaorientáció'),(118,'Gyakorlati oktatás'),(119,'Szakmai orientáció elmélet'),(120,'Szakmai orientáció gyakorlat'),(121,'Közgazdasági alapismeretek elméleti gazdaságtan'),(122,'Közgazdasági alapismeretek üzleti gazdaságtan'),(123,'Könyvvitel'),(124,'Ügyviteli alapismeretek'),(125,'Szakmai angol nyelv'),(126,'Szakmai német nyelv'),(127,'Tanirodai ismeretek'),(128,'Statisztika'),(129,'Marketing'),(130,'Anyagok'),(131,'Anyag‐ és eszközismeret'),(132,'Alakítások I.'),(133,'Alakítások II.'),(134,'Állványozási alapgyakorlatok'),(135,'Bevezetés az építészeti szakmai számításokba'),(136,'Építőanyagok'),(137,'Építőanyagok vizsgálata'),(138,'Építészeti anyagismeret'),(139,'Építészeti műszaki rajz'),(140,'Építőanyagok megmunkálása'),(141,'Kép‐ és hangfeldolgozás'),(142,'Kitűzési alapgyakorlatok'),(143,'Közlekedési ismeretek'),(144,'Közlekedési informatika és számítástechnikai gyakorlat'),(145,'Környezetvédelem'),(146,'Mechanika'),(147,'Mérések'),(148,'Mérési alapgyakorlat'),(149,'Műszaki ábrázolás'),(150,'Műszaki ábrázolás alapjai'),(151,'Műszaki pályák világa'),(152,'Számítástechnika gyakorlat I.'),(153,'Számítógép‐programozás I.'),(154,'Számítógépes programgyakorlat I.'),(155,'Természetismeret és környezeti tanulmányok'),(156,'Japán nyelv'),(157,'Bibliaismeretek'),(158,'Laboratóriumi gyakorlat'),(159,'Társadalom ismeret és Etika'),(160,'Fizikai kémia'),(161,'Matematika angol nyelven'),(162,'Biológia angol nyelven'),(163,'Műszaki ismeretek'),(164,'Műszaki ábrázolási gyakorlatok'),(165,'Műszaki ábrázolás és anyagismeret'),(166,'Műszaki ábrázolási és megmunkálási gyakorlat'),(167,'Anyagismeret'),(168,'Anyagmegmunkálási gyakorlat'),(169,'Számítógép‐programozás'),(170,'Számítógép‐programozási gyakorlat'),(171,'Elektrotechnika'),(172,'Elektrotechnikai gyakorlatok és mérések'),(173,'Gazdálkodási ismeretek'),(174,'Szakmai informatika'),(175,'Ételkészítési ismeretek'),(176,'Pincér gyakorlat'),(177,'Szakács gyakorlat'),(178,'Cukrász gyakorlat'),(179,'Étel‐italkészítési ismeretek'),(180,'Pincér ismeretek'),(181,'Cukrászati alapismeretek'),(182,'Kereskedelmi ismeretek'),(183,'Élelmiszer és vegyiáruismeret'),(184,'Pénztárelszámolás'),(185,'Fogyasztói érdekvédelem'),(186,'Általános áruismeret'),(187,'Szakmai ismeret'),(188,'Italismeret'),(189,'Cukrászati ismeretek'),(190,'Vendéglátó‐gazdálkodási és vállalkozási alapismeretek'),(191,'Szakmai esztétikai szakrajz'),(192,'Ételkészítési gyakorlat'),(193,'Médiaismeret'),(194,'Médiaismereti gyakorlat'),(195,'Elektrotechnikai gyakorlatok'),(196,'Angol beszédgyakorlat'),(197,'Angol nyelv kommunikáció'),(198,'Német beszédgyakorlat'),(199,'Német nyelv kommunikáció'),(200,'Francia beszédgyakorlat'),(201,'Francia nyelv kommunikáció'),(202,'Beszélő Magyarország: nyilvános beszéd'),(203,'Demokrácia állampolgárságra nevelés'),(204,'Fejlesztés'),(205,'Történelem szaknyelv'),(206,'Fizika szaknyelv'),(207,'Angol célnyelvi civilizáció'),(208,'Német célnyelvi civilizáció'),(209,'Biológia szaknyelv'),(210,'Földrajz szaknyelv'),(211,'Társadalom ismeret és Etika'),(212,'Közgazdaságtan'),(213,'Pszichológia'),(214,'Tudáselmélet'),(215,'Kínai nyelv'),(216,'Ember a természetben'),(217,'Ruházati áruismeret'),(218,'Áruforgalmi ismeretek'),(219,'Magyar népzene alapjai'),(220,'Beszédtechnika'),(221,'Betűrajz'),(222,'Drámai játék'),(223,'Énekkar'),(224,'Főtárgy (hangszer)'),(225,'Hangegészségtan'),(226,'Hangképzés‐ének'),(227,'Kamara'),(228,'Kargyakorlat'),(229,'Karvezetés'),(230,'Kinetográfia'),(231,'Klasszikus balett'),(232,'Kortárs‐,modern tánc'),(233,'Népi ének'),(234,'Népi hangszer'),(235,'Hangszeres népzene'),(236,'Néprajz'),(237,'Néprajzi alapismeretek‐táncfolklorisztika'),(238,'Néptánc'),(239,'Népzene elmélet és történet'),(240,'Rajz'),(241,'Színháztörténet'),(242,'Színpadi mozgás és tánc'),(243,'Szakmai elmélet'),(244,'Szakmai olasz nyelv'),(245,'Szakmai szorgalom'),(246,'Szolfézs'),(247,'Zeneelmélet'),(248,'Zeneirodalom'),(249,'Zenekar'),(250,'Zongorakötelező'); + +CREATE TABLE `kirOsztalyJelleg` ( + `kirOsztalyJellegId` tinyint(3) unsigned NOT NULL, + `kirOsztalyJellegNev` varchar(255) NOT NULL, + PRIMARY KEY (`kirOsztalyJellegId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +INSERT INTO `kirOsztalyJelleg` VALUES (1,'Általános iskola'),(2,'4 évfolyamos gimnázium'),(3,'5 évfolyamos gimnázium ny.ek.'),(4,'6 évfolyamos gimnázium'), +(5,'8 évfolyamos gimnázium'),(6,'Szakiskola'),(7,'Speciális szakiskola'),(8,'Szakközépiskola'),(9,'Szakközépiskola ny.ek.'); + +CREATE TABLE `osztalyJelleg` ( + `osztalyJellegId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + `kirOsztalyJellegId` tinyint(3) unsigned DEFAULT NULL, + `osztalyJellegNev` varchar(255) NOT NULL, + `_erettsegizo` tinyint(3) unsigned NOT NULL DEFAULT '0', + `kovOsztalyJellegId` tinyint(3) unsigned DEFAULT NULL, + `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL, + `_vegzoEvfolyam` tinyint(3) unsigned DEFAULT NULL, + `elokeszitoEvfolyam` enum('','AJTP','AJKP','Kny','N','Ny') DEFAULT NULL, + `osztalyJellegEles` tinyint(3) unsigned DEFAULT '1', + `evfolyamJelek` varchar(255) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT '', + `vegzesKovetelmenye` enum('bizonyítvány','érettségi vizsga','szakmai vizsga') DEFAULT 'bizonyítvány', + PRIMARY KEY (`osztalyJellegId`), + KEY `osztalyJelleg_ibfk_1` (`kirOsztalyJellegId`), + CONSTRAINT `osztalyJelleg_ibfk_1` FOREIGN KEY (`kirOsztalyJellegId`) REFERENCES `kirOsztalyJelleg` (`kirOsztalyJellegId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8; + +INSERT INTO `osztalyJelleg` VALUES (1,1,'Általános iskola',0,NULL,NULL,NULL,NULL,0,'1,2,3,4,5,6,7,8','bizonyítvány'), +(2,2,'4 évfolyamos gimnázium',1,NULL,NULL,NULL,NULL,0,'9,10,11,12','érettségi vizsga'), +(3,3,'1+4 évfolyamos gimnázium ny.ek.',1,NULL,NULL,NULL,NULL,0,'9,10,11,12','érettségi vizsga'), +(4,4,'6 évfolyamos gimnázium',1,NULL,NULL,NULL,NULL,0,'7,8,9,10,11,12','érettségi vizsga'), +(5,5,'8 évfolyamos gimnázium',1,NULL,NULL,NULL,NULL,0,'5,6,7,8,9,10,11,12','érettségi vizsga'), +(6,6,'szakközépiskola',0,NULL,NULL,NULL,NULL,0,'9,10,11,12','bizonyítvány'), +(7,7,'speciális szakközépiskola',0,NULL,NULL,NULL,NULL,0,'9/E,9,10,11,12','bizonyítvány'), +(8,8,'szakgimnázium',1,NULL,NULL,NULL,NULL,0,'9,10,11,12','érettségi vizsga'), +(9,9,'szakgimnázium ny.ek.',1,NULL,NULL,NULL,NULL,0,'9,10,11,12','érettségi vizsga'), +(10,3,'1+4 évfolyamos gimnázium ny.ek. évfolyam végéig',0,3,NULL,NULL,'Ny',0,'9Ny','bizonyítvány'), +(11,NULL,'1+6 évfolyamos gimnázium ny.ek.',1,NULL,NULL,NULL,NULL,0,'7,8,9,10,11,12','érettségi vizsga'), +(12,NULL,'1+6 évfolyamos gimnázium ny.ek. évfolyam végéig',0,11,NULL,NULL,'Ny',0,'7Ny','bizonyítvány'), +(13,NULL,'1+8 évfolyamos gimnázium ny.ek.',1,NULL,NULL,NULL,NULL,0,'5,6,7,8,9,10,11,12','érettségi vizsga'), +(14,NULL,'1+8 évfolyamos gimnázium ny.ek. évfolyam végéig',0,13,NULL,NULL,'Ny',0,'5Ny','bizonyítvány'), +(21,NULL,'általános iskola (1-8)',0,NULL,1,8,'',1,'1,2,3,4,5,6,7,8','bizonyítvány'), +(22,NULL,'általános iskola alsó tagozat (1-4)',0,NULL,1,4,'',1,'1,2,3,4','bizonyítvány'), +(23,NULL,'Általános iskola felső tagozat (5-8)',0,NULL,5,8,'',1,'5,6,7,8','bizonyítvány'), +(31,NULL,'4 évfolyamos gimnázium',1,NULL,9,12,'',1,'9,10,11,12','érettségi vizsga'), +(32,NULL,'4 évfolyamos gimnázium AJTP előkészítő évfolyammal (1+4)',1,NULL,9,12,'AJTP',1,'9/AJTP,9,10,11,12','érettségi vizsga'), +(33,NULL,'4 évfolyamos gimnázium AJKP előkészítő évfolyammal (1+4)',1,NULL,9,12,'AJKP',1,'9/AJKP,9,10,11,12','érettségi vizsga'), +(34,NULL,'4 évfolyamos gimnázium két tanítási nyelvű előkészítő évfolyammal (1+4)',1,NULL,9,12,'Kny',1,'9/Kny,9,10,11,12','érettségi vizsga'), +(35,NULL,'4 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+4)',1,NULL,9,12,'N',1,'9/N,9,10,11,12','érettségi vizsga'), +(36,NULL,'4 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+4)',1,NULL,9,12,'Ny',1,'9/Ny,9,10,11,12','érettségi vizsga'), +(41,NULL,'5 évfolyamos gimnázium',1,NULL,9,13,'',0,'9,10,11,12,13','érettségi vizsga'), +(42,NULL,'5 évfolyamos gimnázium AJTP előkészítő évfolyammal (1+5)',1,NULL,9,13,'AJTP',0,'9/AJTP,9,10,11,12,13','érettségi vizsga'), +(43,NULL,'5 évfolyamos gimnázium AJKP előkészítő évfolyammal (1+5)',1,NULL,9,13,'AJKP',0,'9/AJKP,9,10,11,12,13','érettségi vizsga'), +(44,NULL,'5 évfolyamos gimnázium két tanítási nyelvű előkészítő évfolyammal (1+5)',1,NULL,9,13,'Kny',0,'9/Kny,9,10,11,12,13','érettségi vizsga'), +(45,NULL,'5 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+5)',1,NULL,9,13,'N',0,'9/N,9,10,11,12,13','érettségi vizsga'), +(46,NULL,'5 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+5)',1,NULL,9,13,'Ny',0,'9/N,9,10,11,12,13','érettségi vizsga'), +(51,NULL,'6 évfolyamos gimnázium',1,NULL,7,12,'',1,'7,8,9,10,11,12','érettségi vizsga'), +(52,NULL,'6 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+6)',1,NULL,7,12,'N',1,'7/N,7,8,9,10,11,12','érettségi vizsga'), +(53,NULL,'6 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+6)',1,NULL,7,12,'Ny',1,'7/Ny,7,8,9,10,11,12','érettségi vizsga'), +(54,NULL,'6 évfolyamos gimnázium 11/Ny nyelvi előkészítő évfolyammal (4+1+2)',1,NULL,7,12,'Ny',1,'7,8,9,10,11/Ny,11,12','érettségi vizsga'), +(61,NULL,'8 évfolyamos gimnázium',1,NULL,4,12,'',1,'5,6,7,8,9,10,11,12','érettségi vizsga'), +(62,NULL,'8 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+8)',1,NULL,4,12,'N',1,'5/N,5,6,7,8,9,10,11,12','érettségi vizsga'), +(63,NULL,'8 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+8)',1,NULL,4,12,'Ny',1,'5/Ny,5,6,7,8,9,10,11,12','érettségi vizsga'), +(65,NULL,'12 évfolyamos gimnázium (1-12)',1,NULL,NULL,NULL,NULL,1,'1,2,3,4,5,6,7,8,9,10,11,12','érettségi vizsga'), +(71,NULL,'szakgimnázium (1-4)',1,NULL,9,NULL,'',1,'9,10,11,12','érettségi vizsga'), +(72,NULL,'szakgimnázium AJTP előkészítő évfolyammal (1+4)',1,NULL,9,NULL,'AJTP',1,'9/AJTP,9,10,11,12','érettségi vizsga'), +(73,NULL,'szakgimnázium AJKP előkészítő évfolyammal (1+4)',1,NULL,9,NULL,'AJKP',1,'9/AJKP,9,10,11,12','érettségi vizsga'), +(74,NULL,'szakgimnázium két tanítási nyelvű előkészítő évfolyammal (1+4)',1,NULL,9,NULL,'Kny',1,'9/Kny,9,10,11,12','érettségi vizsga'), +(75,NULL,'szakgimnázium nemzetiségi előkészítő évfolyammal (1+4)',1,NULL,9,NULL,'N',1,'9/N,9,10,11,12','érettségi vizsga'), +(76,NULL,'szakgimnázium nyelvi előkészítő évfolyammal (1+4)',1,NULL,9,NULL,'Ny',1,'9/Ny,9,10,11,12','érettségi vizsga'), +(77,NULL,'szakgimnázium - szakképzés',0,NULL,NULL,NULL,'',0,'13,14','bizonyítvány'), +(78,NULL,'szakközépiskolák szakközépiskolai végzettséggel rendelkező tanulóinak érettségire történő felkészítése (Szé/12/1-2)',1,NULL,NULL,NULL,NULL,1,'Szé/12/1,Szé/12/2','érettségi vizsga'), +(79,NULL,'szakképzés - a szakgimnázium négy évére épülő 1 évfolyamos képzés (5/13)',0,NULL,NULL,NULL,NULL,1,'5/13','bizonyítvány'), +(82,NULL,'szakképzés - iskolai előképzettséghez nem kötött 3 évfolyamos képzés (1/8-3/10)',0,NULL,NULL,NULL,NULL,1,'1/8,2/9,3/10','bizonyítvány'), +(83,NULL,'szakképzés - alapfokú iskolai végzettséghez kötött 3 évfolyamos képzés (1/9-3/11)',1,NULL,NULL,NULL,NULL,1,'1/9,2/10,3/11','szakmai vizsga'), +(84,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 2 évfolyamos képzés (1/11-2/12)',1,NULL,NULL,NULL,NULL,1,'1/11,2/12','szakmai vizsga'), +(85,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 3 évfolyamos képzés (1/11-3/13)',1,NULL,NULL,NULL,NULL,1,'1/11,2/12,3/13','szakmai vizsga'), +(86,NULL,'szakképzés - a középiskola utolsó évfolyamának elvégzéséhez vagy középiskolai végzettséghez kötött 2 évfolyamos képzés (1/13-2/14)',0,NULL,NULL,NULL,NULL,1,'1/13,2/14','bizonyítvány'), +(87,NULL,'szakképzés - középiskolai végzettséghez kötött két éves szakképzésre épülő egy éves szakképesítés-ráépülés (3/15)',0,NULL,NULL,NULL,NULL,1,'3/15','bizonyítvány'), +(89,NULL,'szakképzés (Ksz/11-12) - szakmai elméleti és gyakorlati oktatást folytató szakgimnáziumi (tizedik évf. utáni) - két éves szakképzés',0,NULL,NULL,NULL,NULL,1,'Ksz/11,Ksz/12','bizonyítvány'), +(90,NULL,'szakképzés (Ksz/11) - szakmai elméleti és gyakorlati oktatást folytató szakgimnáziumi (tizedik évf. utáni) - egy éves szakképzés',0,NULL,NULL,NULL,NULL,1,'Ksz/11','bizonyítvány'), +(91,NULL,'Köznevelési Híd (I.) program - 1 évfolyamos, alapfokú végzettséghez kötött, középiskolára felkészítő képzés (KH)',0,NULL,NULL,NULL,NULL,1,'KH','bizonyítvány'), +(92,NULL,'Szakképzési Híd (II.) program - 1 évfolyamos (10 hónapos), alapfokú végzettséget nem adó, szakképzést előkészítő osztály (SZH/1)',0,NULL,NULL,NULL,NULL,1,'SZH/1','bizonyítvány'), +(93,NULL,'Szakképzési Híd (II.) program - 2 évfolyamos (20 hónapos), alapfokú végzettséget adó, szakképzést előkészítő osztály (SZH/1-2)',0,NULL,NULL,NULL,NULL,1,'SZH/1,SZH/2','bizonyítvány'); + +CREATE TABLE `rpcJogosultsag` ( + `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `userAccount` varchar(50) NOT NULL default '', + `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `priv` set('OMKod','Jogosultság','Tantárgyfelosztás') COLLATE utf8_hungarian_ci DEFAULT 'OMKod,Jogosultság', + PRIMARY KEY (`nodeId`, `userAccount`,`OMKod`), + CONSTRAINT `nodeId_login` FOREIGN KEY (`nodeId`) REFERENCES `mayor_login`.`mayorKeychain` (`nodeId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + diff --git a/mayor-orig/install/module-naplo/mysql/createAccount.txt b/mayor-orig/install/module-naplo/mysql/createAccount.txt new file mode 100644 index 00000000..57b17ac5 --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/createAccount.txt @@ -0,0 +1,15 @@ + +select + trim(concat_ws(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) as nev, + substring_index(substring(dn,5),',',1) as userAccount, + '1212' as jelszo, + substring_index(substring_index(dn,',ou=diak',1),'=',-1) as kategoria, + oId as studyId + from diak + where dn like '%ou=7b%' + into outfile '/tmp/7b.dat'; + +select trim(concat_ws(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) as nev, +substring_index(substring(dn,5),',',1) as userAccount, '1212' as jelszo, +'diák' as kategoria, oId as studyId +from diak where dn like '%ou=7b%' into outfile '/tmp/7b.dat'; diff --git a/mayor-orig/install/module-naplo/mysql/intezmeny.sql b/mayor-orig/install/module-naplo/mysql/intezmeny.sql new file mode 100644 index 00000000..05af637d --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/intezmeny.sql @@ -0,0 +1,1083 @@ + +CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szemeszter` ( + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `szemeszterId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `statusz` enum('aktív','lezárt','archivált','tervezett') COLLATE utf8_hungarian_ci DEFAULT 'tervezett', + `kezdesDt` date DEFAULT NULL, + `zarasDt` date DEFAULT NULL, + PRIMARY KEY (`tanev`,`szemeszter`), + UNIQUE KEY `szemeszter_uniq` (`szemeszterId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +LOCK TABLES `szemeszter` WRITE; +INSERT INTO `szemeszter` (`tanev`,`szemeszter`,`szemeszterId`,`statusz`,`kezdesDt`,`zarasDt`) VALUES +(1997,1,1,'tervezett','1997-09-01','1998-01-15'),(1997,2,2,'tervezett','1998-01-16','1998-06-15'), +(1998,1,3,'tervezett','1998-09-01','1999-01-15'),(1998,2,4,'tervezett','1999-01-16','1999-06-15'), +(1999,1,5,'tervezett','1999-09-01','2000-01-15'),(1999,2,6,'tervezett','2000-01-16','2000-06-15'), +(2000,1,7,'tervezett','2000-09-01','2001-01-15'),(2000,2,8,'tervezett','2001-01-16','2001-06-15'), +(2001,1,9,'tervezett','2001-09-01','2002-01-15'),(2001,2,10,'tervezett','2002-01-16','2002-06-15'), +(2002,1,11,'tervezett','2002-09-01','2003-01-15'),(2002,2,12,'tervezett','2003-01-16','2003-06-15'), +(2003,1,13,'tervezett','2003-09-01','2004-01-15'),(2003,2,14,'tervezett','2004-01-16','2004-06-15'), +(2004,1,15,'tervezett','2004-09-01','2005-01-15'),(2004,2,16,'tervezett','2005-01-16','2005-06-15'), +(2005,1,17,'tervezett','2005-09-01','2006-01-15'),(2005,2,18,'tervezett','2006-01-16','2006-06-15'), +(2006,1,19,'tervezett','2006-09-01','2007-01-19'),(2006,2,20,'tervezett','2007-01-20','2007-06-15'), +(2007,1,21,'tervezett','2007-09-03','2008-01-18'),(2007,2,22,'tervezett','2008-01-19','2008-06-13'), +(2008,1,23,'tervezett','2008-09-01','2009-01-16'),(2008,2,24,'tervezett','2009-01-17','2009-06-15'), +(2009,1,25,'tervezett','2009-09-01','2010-01-15'),(2009,2,26,'tervezett','2010-01-16','2010-06-15'), +(2010,1,27,'tervezett','2010-09-01','2011-01-14'),(2010,2,28,'tervezett','2011-01-15','2011-06-15'), +(2011,1,29,'tervezett','2011-09-01','2012-01-13'),(2011,2,30,'tervezett','2012-01-14','2012-06-15'), +(2012,1,31,'tervezett','2012-09-01','2013-01-18'),(2012,2,32,'tervezett','2013-01-19','2013-06-15'), +(2013,1,33,'tervezett','2013-09-01','2014-01-15'),(2013,2,34,'tervezett','2014-01-16','2014-06-15'), +(2014,1,35,'tervezett','2014-09-01','2015-01-15'),(2014,2,36,'tervezett','2015-01-16','2015-06-15'), +(2015,1,37,'tervezett','2015-09-01','2016-01-15'),(2015,2,38,'tervezett','2016-01-16','2016-06-15'), +(2016,1,39,'tervezett','2016-09-01','2017-01-15'),(2016,2,40,'tervezett','2017-01-16','2017-06-15'), +(2017,1,41,'tervezett','2017-09-01','2018-01-15'),(2017,2,42,'tervezett','2018-01-16','2018-06-15'), +(2018,1,43,'tervezett','2018-09-01','2019-01-15'),(2018,2,44,'tervezett','2019-01-16','2019-06-15'), +(2019,1,45,'tervezett','2019-09-01','2020-01-15'),(2019,2,46,'tervezett','2020-01-16','2020-06-15'), +(2020,1,47,'tervezett','2020-09-01','2021-01-15'),(2020,2,48,'tervezett','2021-01-16','2021-06-15'), +(2021,1,49,'tervezett','2021-09-01','2022-01-15'),(2021,2,50,'tervezett','2022-01-16','2022-06-15'), +(2022,1,51,'tervezett','2022-09-01','2023-01-15'),(2022,2,52,'tervezett','2023-01-16','2023-06-15'), +(2023,1,53,'tervezett','2023-09-01','2024-01-15'),(2023,2,54,'tervezett','2024-01-16','2024-06-15'), +(2024,1,55,'tervezett','2024-09-01','2025-01-15'),(2024,2,56,'tervezett','2025-01-16','2025-06-15'), +(2025,1,57,'tervezett','2025-09-01','2026-01-15'),(2025,2,58,'tervezett','2026-01-16','2026-06-15'); +UNLOCK TABLES; + +CREATE TABLE `telephely` ( + `telephelyId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + `telephelyRovidNev` varchar(16) NOT NULL, + `telephelyNev` varchar(128) NOT NULL, + `alapertelmezett` tinyint(3) unsigned NOT NULL DEFAULT '0', + `cimHelyseg` varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimIrsz` varchar(8) DEFAULT NULL, + `cimKozteruletNev` varchar(32) DEFAULT NULL, + `cimKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimHazszam` varchar(20) DEFAULT NULL, + `telefon` varchar(64) DEFAULT NULL, + `fax` varchar(64) DEFAULT NULL, + `email` varchar(96) DEFAULT NULL, + `honlap` varchar(96) DEFAULT NULL, + PRIMARY KEY (`telephelyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `szulo` ( + `szuloId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `nevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `csaladinev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `utonev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriCsaladinev` varchar(32) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriUtonev` varchar(32) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `nem` enum('fiú','lány') COLLATE utf8_hungarian_ci DEFAULT NULL, + `szuletesiEv` year(4) DEFAULT NULL, + `cimOrszag` varchar(16) COLLATE utf8_hungarian_ci DEFAULT 'Magyarország', + `cimHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimIrsz` varchar(8) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimKozteruletNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimHazszam` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimEmelet` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimAjto` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `mobil` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `telefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `email` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `foglalkozas` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `munkahely` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `statusz` enum('elhunyt','házas','egyedülálló','hajadon / nőtlen','elvált','özvegy','élettársi kapcsolatban él') COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szuloId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `diak` ( + `diakId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `oId` bigint(20) unsigned DEFAULT NULL, + `diakigazolvanySzam` bigint(11) unsigned DEFAULT NULL, + `tajSzam` int(9) unsigned zerofill DEFAULT NULL, + `adoazonosito` bigint(10) unsigned zerofill DEFAULT NULL, + `szemelyiIgazolvanySzam` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartozkodasiOkiratSzam` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `viseltNevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `viseltCsaladinev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `viseltUtonev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriCsaladinev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriUtonev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuletesiHely` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szuletesiIdo` date DEFAULT NULL, + `nem` enum('fiú','lány') COLLATE utf8_hungarian_ci DEFAULT NULL, + `apaId` int(10) unsigned DEFAULT NULL, + `gondviseloId` int(10) unsigned DEFAULT NULL, + `neveloId` int(10) unsigned DEFAULT NULL, + `anyaId` int(10) unsigned DEFAULT NULL, + `allampolgarsag` varchar(16) COLLATE utf8_hungarian_ci DEFAULT 'magyar', + `lakhelyOrszag` varchar(16) COLLATE utf8_hungarian_ci DEFAULT 'Magyarország', + `lakhelyHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyIrsz` varchar(8) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyKozteruletNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyHazszam` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyEmelet` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lakhelyAjto` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartOrszag` varchar(16) COLLATE utf8_hungarian_ci DEFAULT 'Magyarország', + `tartHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartIrsz` varchar(8) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartKozteruletNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartHazszam` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartEmelet` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tartAjto` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `jogviszonyKezdete` date DEFAULT NULL, + `kezdoTanev` smallint(5) unsigned NOT NULL, + `kezdoSzemeszter` tinyint(3) unsigned NOT NULL, + `jogviszonyVege` date DEFAULT NULL, + `telefon` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `mobil` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `email` varchar(96) COLLATE utf8_hungarian_ci DEFAULT NULL, + `statusz` enum('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') COLLATE utf8_hungarian_ci NOT NULL, + `penzugyiStatusz` enum('állami finanszírozás','térítési díj','tandíj') COLLATE utf8_hungarian_ci DEFAULT 'állami finanszírozás', + `szocialisHelyzet` set('szülei elváltak','három vagy több gyerekes család','rendszeres gyermekvédelmi támogatást kap','állami gondozott','veszélyeztetett','hátrányos helyzetű','halmozottan hátrányos helyzetű','sajátos nevelési igényű') COLLATE utf8_hungarian_ci DEFAULT NULL, + `fogyatekossag` set('tartósan beteg', +'mozgássérült','beszédfogyatékos','hallássérült','látássérült','autista','enyhén értelmi fogyatékos','középsúlyos értelmi fogyatékos', +'halmozottan fogyatékos', +'diszlexia','diszgráfia','diszkalkulia','iskolai készségek kevert zavarával küzdő','tanulási nehézség','tanulási zavar', +'kevert specifikus fejlődési zavarok','elektív mutista','hiperaktív','magatartászavar') COLLATE utf8_hungarian_ci DEFAULT NULL, + `gondozasiSzam` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `elozoIskolaOMKod` mediumint(8) unsigned zerofill DEFAULT NULL, + `lakohelyiJellemzo` enum('körzetes','kerületi','helybéli','bejáró','kollégista') COLLATE utf8_hungarian_ci DEFAULT NULL, + `torvenyesKepviselo` set('anya','apa','gyám','gondnok') COLLATE utf8_hungarian_ci DEFAULT NULL, + `megjegyzes` varchar(255) collate utf8_hungarian_ci default null, + `NEKAzonosito` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `torzslapszam` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`diakId`), + UNIQUE KEY `diakOid` (`oId`), + KEY `kezdoTanev` (`kezdoTanev`,`kezdoSzemeszter`), + KEY `anyaId` (`anyaId`), + KEY `gondviseloId` (`gondviseloId`), + KEY `apaId` (`apaId`), + CONSTRAINT `diak_ibfk_2` FOREIGN KEY (`kezdoTanev`, `kezdoSzemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE NO ACTION ON UPDATE NO ACTION, + CONSTRAINT `diak_ibfk_3` FOREIGN KEY (`anyaId`) REFERENCES `szulo` (`szuloId`) ON DELETE SET NULL ON UPDATE SET NULL, + CONSTRAINT `diak_ibfk_4` FOREIGN KEY (`gondviseloId`) REFERENCES `szulo` (`szuloId`) ON DELETE SET NULL ON UPDATE SET NULL, + CONSTRAINT `diak_ibfk_5` FOREIGN KEY (`apaId`) REFERENCES `szulo` (`szuloId`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `diakJogviszony` ( + `diakId` int(10) unsigned NOT NULL, + `statusz` enum('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') COLLATE utf8_hungarian_ci NOT NULL, + `dt` date NOT NULL, + PRIMARY KEY (`diakId`,`dt`), + KEY `diakJogviszony_FKIndex1` (`diakId`), + CONSTRAINT `diakJogviszony_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `diakHianyzas` ( + `diakHianyzasId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `dt` date NOT NULL, + `igazolt` tinyint(3) unsigned DEFAULT NULL, + `igazolatlan` tinyint(3) unsigned DEFAULT NULL, + `beszamit` tinyint(1) unsigned DEFAULT NULL, + `megjegyzes` tinytext COLLATE utf8_hungarian_ci, + PRIMARY KEY (`diakHianyzasId`), + KEY `diakHianyzas_FKIndex1` (`diakId`), + CONSTRAINT `diakHianyzas_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `hianyzasOsszesites` ( + `diakId` int(10) unsigned NOT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `igazolt` smallint(5) unsigned DEFAULT NULL, + `igazolatlan` smallint(5) unsigned DEFAULT NULL, + `kesesPercOsszeg` smallint(5) unsigned DEFAULT NULL, + `gyakorlatIgazolt` smallint(5) unsigned DEFAULT NULL, + `gyakorlatIgazolatlan` smallint(5) unsigned DEFAULT NULL, + `gyakorlatKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL, + `elmeletIgazolt` smallint(5) unsigned DEFAULT NULL, + `elmeletIgazolatlan` smallint(5) unsigned DEFAULT NULL, + `elmeletKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL, + PRIMARY KEY (`diakId`,`tanev`,`szemeszter`), + KEY `hianyzasOsszesites_FKIndex1` (`tanev`,`szemeszter`), + KEY `hianyzasOsszesites_FKIndex2` (`diakId`), + CONSTRAINT `hianyzasOsszesites_ibfk_1` FOREIGN KEY (`tanev`, `szemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE NO ACTION ON UPDATE NO ACTION, + CONSTRAINT `hianyzasOsszesites_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `idoszak` ( + `idoszakId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `tipus` enum('zárás','bizonyítvány írás','vizsga','előzetes tárgyválasztás','tárgyválasztás','tankörnévsor módosítás','fogadóóra jelentkezés','tanmenet leadás') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tolDt` datetime NOT NULL, + `igDt` datetime NOT NULL, + PRIMARY KEY (`idoszakId`), + KEY `szemeszterIdoszak_FKIndex1` (`tanev`,`szemeszter`), + CONSTRAINT `idoszak_ibfk_1` FOREIGN KEY (`tanev`, `szemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `munkakozosseg` ( + `mkId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `mkVezId` int(10) unsigned DEFAULT NULL, + `leiras` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`mkId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `targy` ( + `targyId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `targyNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `mkId` smallint(5) unsigned NOT NULL, + `targyJelleg` enum('nyelv','szakmai','magatartás','szorgalom','alsó tagozatos','osztályfőnöki','készség','közösségi szolgálat') COLLATE utf8_hungarian_ci DEFAULT NULL, + `evkoziKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') collate utf8_hungarian_ci DEFAULT 'jegy', + `zaroKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') COLLATE utf8_hungarian_ci DEFAULT 'jegy', + `targyRovidNev` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `kirTargyId` smallint(5) unsigned DEFAULT NULL, + PRIMARY KEY (`targyId`), + KEY `targy_FKIndex1` (`mkId`), + KEY `targy_ibfk_2` (`kirTargyId`), + CONSTRAINT `targy_ibfk_1` FOREIGN KEY (`mkId`) REFERENCES `munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `targy_ibfk_2` FOREIGN KEY (`kirTargyId`) REFERENCES `mayor_naplo`.`kirTargy` (`kirTargyId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `targyTargy` ( + `foTargyId` smallint(5) unsigned NOT NULL, + `alTargyId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`foTargyId`,`alTargyId`), + KEY `targyTargy_K1` (`foTargyId`), + KEY `targyTargy_K2` (`alTargyId`), + CONSTRAINT `targyTargy_ibfk_1` FOREIGN KEY (`foTargyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `targyTargy_ibfk_2` FOREIGN KEY (`alTargyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanar` ( + `tanarId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `oId` bigint(20) unsigned DEFAULT NULL, + `beDt` date DEFAULT NULL, + `kiDt` date DEFAULT NULL, + `viseltNevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `viseltCsaladinev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `viseltUtonev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuletesiHely` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szuletesiIdo` date DEFAULT NULL, + `dn` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szuleteskoriUtonev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriCsaladinev` varchar(64) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `hetiMunkaora` decimal(3,1) DEFAULT '0.0', + `NEKAzonosito` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `statusz` enum('határozatlan idejű','határozott idejű','tartósan távol','jogviszonya lezárva','külső óraadó') COLLATE utf8_hungarian_ci DEFAULT 'határozatlan idejű', + `hetiKotelezoOraszam` decimal(3,1) DEFAULT '0.0', + `megjegyzes` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `besorolas` enum('Gyakornok','Pedagógus I.','Pedagógus II.','Mesterpedagógus','Kutatótanár') COLLATE utf8_hungarian_ci DEFAULT 'Pedagógus I.', + `hetiLekotottMinOraszam` decimal(3,1) DEFAULT '0.0', + `hetiLekotottMaxOraszam` decimal(3,1) DEFAULT '0.0', + `hetiKotottMaxOraszam` decimal(3,1) DEFAULT '0.0', + `tovabbkepzesForduloDt` date DEFAULT NULL, + `titulus` varchar(32) COLLATE utf8_hungarian_ci DEFAULT '', + `titulusRovid` varchar(10) COLLATE utf8_hungarian_ci DEFAULT '', + `email` varchar(64) COLLATE utf8_hungarian_ci DEFAULT '', + PRIMARY KEY (`tanarId`), + UNIQUE KEY `tanarOid` (`oId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +CREATE TABLE `tankor` ( + `tankorId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `targyId` smallint(5) unsigned NOT NULL, + `kovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL, + `_jelenlet` enum('kötelező','nem kötelező') COLLATE utf8_hungarian_ci DEFAULT NULL, + `felveheto` tinyint(3) unsigned DEFAULT NULL, + `cn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `min` tinyint(3) unsigned NOT NULL, + `max` tinyint(3) unsigned NOT NULL, + `_tankorTipus` enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') COLLATE utf8_hungarian_ci DEFAULT 'tanórai', + `tankorTipusId` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`tankorId`), + KEY `tankor_FKIndex1` (`targyId`), + CONSTRAINT `tankor_ibfk_1` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `tankorTipus` ( + `tankorTipusId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `oratervi` enum('óratervi','tanórán kívüli') COLLATE utf8_hungarian_ci DEFAULT 'óratervi', + `rovidNev` varchar(30) COLLATE utf8_hungarian_ci NOT NULL, + `leiras` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + `jelenlet` enum('kötelező','nem kötelező') COLLATE utf8_hungarian_ci NOT NULL, + `regisztralando` enum('igen','nem') COLLATE utf8_hungarian_ci DEFAULT NULL, + `hianyzasBeleszamit` enum('igen','nem') COLLATE utf8_hungarian_ci DEFAULT NULL, + `jelleg` enum('elmélet','gyakorlat') COLLATE utf8_hungarian_ci DEFAULT 'elmélet', + `nevsor` enum('állandó','változtatható') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tankorJel` varchar(3) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tankorTipusId`), + KEY `rovidNev` (`rovidNev`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `tankorTipus` VALUES (1,'óratervi','óratervi','Óratervi (képzési hálóban kötelező) tanóra','kötelező','igen','igen','elmélet','állandó',''), +(2,'óratervi','első nyelv','Óratervi (képzési hálóban kötelező) tanóra - első nyelv','kötelező','igen','igen','elmélet','állandó','I'), +(3,'óratervi','második nyelv','Óratervi (képzési hálóban kötelező) tanóra - második nyelv','kötelező','igen','igen','elmélet','állandó','II'), +(4,'tanórán kívüli','tanórán kívüli','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás','nem kötelező','igen','nem','elmélet','állandó',''), +(5,'tanórán kívüli','szakkör','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - szakkör','nem kötelező','igen','nem','elmélet','állandó',''), +(6,'tanórán kívüli','edzés','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - edzés','nem kötelező','igen','nem','elmélet','állandó',''), +(7,'tanórán kívüli','kórus','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - kórus','nem kötelező','igen','nem','elmélet','állandó',''), +(8,'tanórán kívüli','tanulószoba','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - tanulószoba','nem kötelező','igen','nem','elmélet','változtatható',''), +(9,'tanórán kívüli','napközi','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - napközi','nem kötelező','igen','nem','elmélet','változtatható',''), +(10,'tanórán kívüli','egyéni foglalkozás','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - egyéni foglalkozás','nem kötelező','igen','nem','elmélet','változtatható',''), +(11,'óratervi','gyakorlat','Óratervi (képzési hálóban kötelező) gyakorlat','kötelező','igen','igen','gyakorlat','változtatható',''), +(12,'tanórán kívüli','közösségi szolgálat','Közösségi szolgálat','nem kötelező','igen','nem','gyakorlat','állandó',''), +(13,'óratervi','könyvtár','Könyvtári osztályfüggetlen elfoglaltság (nyitva tartás)', 'nem kötelező','nem','nem','osztályfüggetlen','állandó',''), +(14,'óratervi','gyakorlat állandó tagokkal','Óratervi (képzési hálóban kötelező) gyakorlat állandó tagokkal', 'kötelező','igen','igen','gyakorlat','állandó','') +; + +CREATE TABLE `feladatTipus` ( + `feladatTipusId` tinyint(3) unsigned NOT NULL, + `feladatTipusLeiras` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `beszamithatoMaxOra` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`feladatTipusId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (1,'felkészülés foglalkozásra, tanórára',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (2,'diákok teljesítményének értékelése',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (31,'kulturális és sportélet, valamint szabadidő szervezése',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (32,'versenyeztetés, versenyfelkészítés',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (4,'diákönkormányzat segítése',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (51,'felügyelet (pl. versenyeken, rendezvényeken)',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (6,'balesetmegelőzés',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (7,'gyermek- és ifjúságvédelmi feladat',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (9,'adminisztráció, dokumentumkészítés',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (11,'szülői értekezlet, fogadóóra (kapcsolattartás)',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (12,'osztályfőnöki feladat',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (13,'mentorálás',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (14,'nevelőtestületi, munkaközösségi feladat',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (16,'intézményfejlesztés, -karbantartás',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (17,'környezeti nevelés',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (20,'telephelyközi utazás',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (22,'iskolai rendezvény',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (23,'nem rendszeres foglalkozás (korrepetálás, tehetséggondozás)',10); +INSERT INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (230,'továbbképzés - felkészülés minősítésre, ellenőrzésre',10); + +CREATE TABLE `osztaly` ( + `osztalyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `leiras` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `kezdoTanev` smallint(5) unsigned DEFAULT NULL, + `vegzoTanev` smallint(5) unsigned DEFAULT NULL, + `jel` varchar(20) COLLATE utf8_hungarian_ci DEFAULT NULL, + `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL, + `kezdoEvfolyamSorszam` tinyint(3) unsigned DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL, + `osztalyJellegId` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`osztalyId`), + KEY `osztaly_telephely` (`telephelyId`), + KEY `osztaly_ibfk_1` (`osztalyJellegId`), + CONSTRAINT `osztaly_ibfk_1` FOREIGN KEY (`osztalyJellegId`) REFERENCES `mayor_naplo`.`osztalyJelleg` (`osztalyJellegId`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `osztaly_telephely` FOREIGN KEY (`telephelyId`) REFERENCES `telephely` (`telephelyId`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `osztalyDiak` ( + `osztalyId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + PRIMARY KEY (`osztalyId`,`diakId`,`beDt`), + KEY `osztalyTag_FKIndex1` (`osztalyId`), + KEY `osztalyDiak_FKIndex2` (`diakId`), + CONSTRAINT `osztalyDiak_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `osztalyDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `mkTanar` ( + `mkId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`mkId`,`tanarId`), + KEY `mkTag_FKIndex1` (`mkId`), + KEY `mkTag_FKIndex2` (`tanarId`), + CONSTRAINT `mkTanar_ibfk_1` FOREIGN KEY (`mkId`) REFERENCES `munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `mkTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `osztalyTanar` ( + `osztalyId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + PRIMARY KEY (`osztalyId`,`tanarId`,`beDt`), + KEY `osztalyTanar_FKIndex1` (`osztalyId`), + KEY `osztalyTanar_FKIndex2` (`tanarId`), + CONSTRAINT `osztalyTanar_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `osztalyTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kepzes` ( + `kepzesId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `kepzesNev` varchar(255) NOT NULL, + `tanev` smallint(5) unsigned DEFAULT NULL, + `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL, + `_zaroEvfolyam` tinyint(3) unsigned DEFAULT NULL, + `kepzesEles` tinyint(1) unsigned NOT NULL DEFAULT '1', + `osztalyJellegId` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`kepzesId`), + UNIQUE KEY `kepzesNevTanev` (`kepzesNev`,`tanev`), + KEY `kepzes_ibfk_1` (`osztalyJellegId`), + CONSTRAINT `kepzes_ibfk_1` FOREIGN KEY (`osztalyJellegId`) REFERENCES `mayor_naplo`.`osztalyJelleg` (`osztalyJellegId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `szempontRendszer` ( + `szrId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kepzesId` smallint(5) unsigned DEFAULT NULL, + `_evfolyam` tinyint(5) unsigned NOT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `targyId` smallint(5) unsigned DEFAULT NULL, + `targyTipus` enum('első nyelv','második nyelv','választható','kötelezően választható') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`szrId`), + KEY `szr_FKindex1` (`kepzesId`), + KEY `szr_FKindex2` (`targyId`), + KEY `szr_FKIndex3` (`tanev`,`szemeszter`), + CONSTRAINT `szempontRendszer_ibfk_1` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szempontRendszer_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szempontRendszer_ibfk_3` FOREIGN KEY (`tanev`, `szemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szrSzempont` ( + `szempontId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `szrId` int(10) unsigned NOT NULL, + `szempont` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szempontId`), + KEY `szrsz_FKindex1` (`szrId`), + CONSTRAINT `szrSzempont_ibfk_1` FOREIGN KEY (`szrId`) REFERENCES `szempontRendszer` (`szrId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szrMinosites` ( + `minositesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `szempontId` int(10) unsigned NOT NULL, + `minosites` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`minositesId`), + KEY `szrm_FKindex1` (`szempontId`), + CONSTRAINT `szrMinosites_ibfk_1` FOREIGN KEY (`szempontId`) REFERENCES `szrSzempont` (`szempontId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szovegesErtekeles` ( + `szeId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `szrId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + `dt` date NOT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`szeId`), + UNIQUE KEY `sze_UKindex1` (`diakId`,`targyId`,`tanev`,`szemeszter`), + KEY `sze_FKindex1` (`diakId`), + KEY `sze_FKindex2` (`szrId`), + KEY `sze_FKindex3` (`targyId`), + KEY `sze_FKIndex4` (`tanev`,`szemeszter`), + CONSTRAINT `szovegesErtekeles_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szovegesErtekeles_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szovegesErtekeles_ibfk_3` FOREIGN KEY (`szrId`) REFERENCES `szempontRendszer` (`szrId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szovegesErtekeles_ibfk_4` FOREIGN KEY (`tanev`, `szemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szeEgyediMinosites` ( + `szeId` int(10) unsigned NOT NULL, + `szempontId` int(10) unsigned NOT NULL, + `egyediMinosites` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szeId`,`szempontId`), + KEY `szeem_FKindex1` (`szempontId`), + KEY `szeem_FKindex2` (`szeId`), + CONSTRAINT `szeEgyediMinosites_ibfk_1` FOREIGN KEY (`szempontId`) REFERENCES `szrSzempont` (`szempontId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szeEgyediMinosites_ibfk_2` FOREIGN KEY (`szeId`) REFERENCES `szovegesErtekeles` (`szeId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szeMinosites` ( + `szeId` int(10) unsigned NOT NULL, + `minositesId` int(10) unsigned NOT NULL, + PRIMARY KEY (`szeId`,`minositesId`), + KEY `szem_FKindex1` (`szeId`), + KEY `minositesId` (`minositesId`), + CONSTRAINT `szeMinosites_ibfk_1` FOREIGN KEY (`szeId`) REFERENCES `szovegesErtekeles` (`szeId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szeMinosites_ibfk_2` FOREIGN KEY (`minositesId`) REFERENCES `szrMinosites` (`minositesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorDiak` ( + `tankorId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + `_jelenlet` enum('kötelező','nem kötelező') COLLATE utf8_hungarian_ci DEFAULT 'kötelező', + `_kovetelmeny` enum('aláírás','vizsga','jegy') COLLATE utf8_hungarian_ci DEFAULT 'jegy', + `jovahagyva` tinyint(3) unsigned DEFAULT '1', + PRIMARY KEY (`tankorId`,`diakId`,`beDt`), + KEY `tankorTag_FKIndex1` (`tankorId`), + KEY `diakId` (`diakId`), + CONSTRAINT `tankorDiak_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `tankorDiakFelmentes` ( + `tankorId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + `felmentesTipus` enum('óralátogatás alól','értékelés alól') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'óralátogatás alól', + `nap` tinyint(3) unsigned DEFAULT NULL, + `ora` tinyint(3) unsigned DEFAULT NULL, + `tankorDiakFelmentesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `iktatoszam` varchar(60) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + PRIMARY KEY (`tankorDiakFelmentesId`), + KEY `tankorDiakFM_FKIndex1` (`tankorId`), + KEY `diakId` (`diakId`), + CONSTRAINT `tankorDiakFM_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorDiakFM_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorOsztaly` ( + `tankorId` int(10) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`tankorId`,`osztalyId`), + KEY `tankorOsztaly_FKIndex1` (`tankorId`), + KEY `tankorOsztaly_FKIndex2` (`osztalyId`), + CONSTRAINT `tankorOsztaly_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorOsztaly_ibfk_2` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorSzemeszter` ( + `tankorId` int(10) unsigned NOT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `oraszam` decimal(4,2) DEFAULT NULL, + `tankorNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tankorId`,`tanev`,`szemeszter`), + KEY `tankorTanev_FKIndex1` (`tankorId`), + KEY `tankorTanev_FKIndex2` (`tanev`,`szemeszter`), + CONSTRAINT `tankorSzemeszter_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorSzemeszter_ibfk_2` FOREIGN KEY (`tanev`, `szemeszter`) REFERENCES `szemeszter` (`tanev`, `szemeszter`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorTanar` ( + `tankorId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + PRIMARY KEY (`tankorId`,`tanarId`,`beDt`), + KEY `tankorTanar_FKIndex1` (`tankorId`), + KEY `tankorTanar_FKIndex2` (`tanarId`), + CONSTRAINT `tankorTanar_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `terem` ( + `teremId` smallint(5) unsigned NOT NULL, + `leiras` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `ferohely` tinyint(3) unsigned DEFAULT NULL, + `tipus` set('tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','tornaszoba','fejlesztőszoba','tanműhely','előadó','könyvtár','díszterem','tanári','templom','egyéb','megszűnt') COLLATE utf8_hungarian_ci DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`teremId`), + KEY `terem_telephely` (`telephelyId`), + CONSTRAINT `terem_telephely` FOREIGN KEY (`telephelyId`) REFERENCES `telephely` (`telephelyId`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `teremPreferencia` ( + `teremPreferenciaId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `tanarId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned DEFAULT NULL, + `teremStr` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + PRIMARY KEY (`teremPreferenciaId`), + KEY `teremPref_FKIndex1` (`tanarId`), + KEY `teremPref_FKIndex2` (`targyId`), + CONSTRAINT `teremPref_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `teremPref_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `zaradek` ( + `zaradekId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `dt` date DEFAULT NULL, + `sorszam` varchar(5) COLLATE utf8_hungarian_ci DEFAULT NULL, + `dokumentum` set('beírási napló','osztálynapló','törzslap','bizonyítvány') COLLATE utf8_hungarian_ci DEFAULT NULL, + `szoveg` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `zaradekIndex` tinyint(3) unsigned DEFAULT NULL, + `iktatoszam` varchar(60) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + PRIMARY KEY (`zaradekId`), + KEY `zaradek_FKIndex1` (`diakId`), + CONSTRAINT `zaradek_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `zaroJegy` ( + `zaroJegyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + `evfolyam` tinyint(3) unsigned DEFAULT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `felev` tinyint(3) unsigned DEFAULT NULL, + `jegy` decimal(4,1) NOT NULL, + `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','százalékos','aláírás','háromszintű','egyedi felsorolás','nem értékelhető','teljesített óra') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'jegy', + `megjegyzes` enum('dicséret','figyelmeztető') COLLATE utf8_hungarian_ci DEFAULT NULL, + `modositasDt` datetime NOT NULL, + `hivatalosDt` date NOT NULL, + PRIMARY KEY (`zaroJegyId`), + KEY `zaroJegy_FKIndex2` (`diakId`), + KEY `zaroJegy_FKIndex3` (`targyId`), + CONSTRAINT `zaroJegy_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `zaroJegy_ibfk_3` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `zaroJegyZaradek` ( + `zaroJegyId` int(10) unsigned NOT NULL, + `zaradekId` int(10) unsigned NOT NULL, + PRIMARY KEY (`zaradekId`,`zaroJegyId`), + KEY `zaroJegyId` (`zaroJegyId`), + CONSTRAINT `zaroJegyZaradek_ibfk_1` FOREIGN KEY (`zaradekId`) REFERENCES `zaradek` (`zaradekId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `zaroJegyZaradek_ibfk_2` FOREIGN KEY (`zaroJegyId`) REFERENCES `zaroJegy` (`zaroJegyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `vizsga` ( + `vizsgaId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + `evfolyam` tinyint(3) unsigned NOT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `felev` tinyint(3) unsigned DEFAULT NULL, + `tipus` enum('osztályozó vizsga','beszámoltatóvizsga','különbözetivizsga','javítóvizsga') COLLATE utf8_hungarian_ci DEFAULT NULL, + `jelentkezesDt` date NOT NULL, + `vizsgaDt` date DEFAULT NULL, + `zaradekId` int(10) unsigned DEFAULT NULL, + `zaroJegyId` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`vizsgaId`), + KEY `vizsga_FKIndex1` (`diakId`), + KEY `vizsga_FKIndex2` (`targyId`), + KEY `zaradekId` (`zaradekId`), + KEY `zaroJegyId` (`zaroJegyId`), + CONSTRAINT `vizsga_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `vizsga_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `vizsga_ibfk_3` FOREIGN KEY (`zaradekId`) REFERENCES `zaradek` (`zaradekId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `vizsga_ibfk_4` FOREIGN KEY (`zaroJegyId`) REFERENCES `zaroJegy` (`zaroJegyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kepzesDiak` ( + `kepzesId` smallint(5) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `tolDt` date default NULL, + `igDt` date default NULL, + PRIMARY KEY (`kepzesId`,`diakId`,`tolDt`), + KEY `kepzesDiak_FKIndex1` (`kepzesId`), + KEY `kepzesDiak_FKIndex2` (`diakId`), + CONSTRAINT `kepzesDiak_ibfk_1` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kepzesDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `kepzesOraszam` ( + `kepzesId` smallint(5) unsigned NOT NULL, + `evfolyamJel` varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL, + `kotelezoOraszam` decimal(4,2) unsigned DEFAULT NULL, + `maximalisOraszam` decimal(4,2) unsigned DEFAULT NULL, + `tanitasiHetekSzama` smallint(5) unsigned DEFAULT NULL, + PRIMARY KEY (`kepzesId`,`evfolyamJel`), + KEY `kepzesOraszam_FKIndex1` (`kepzesId`), + CONSTRAINT `kepzesOraszam_ibfk_1` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `kepzesOraterv` ( + `kepzesOratervId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kepzesId` smallint(5) unsigned NOT NULL, + `targyId` smallint(5) unsigned DEFAULT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `hetiOraszam` decimal(4,2) DEFAULT NULL, + `kovetelmeny` enum('jegy','négyszintű (szöveges minősítés)','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tipus` enum('első nyelv','második nyelv','mintatantervi','kötelezően választható 1.','kötelezően választható 2.','szabadon választható 1.','szabadon választható 2.','művészetek') COLLATE utf8_hungarian_ci DEFAULT 'mintatantervi', + PRIMARY KEY (`kepzesOratervId`), + UNIQUE KEY `kot_kulcs2` (`kepzesId`,`targyId`,`evfolyamJel`,`szemeszter`), + KEY `kepzesOraterv_FKIndex1` (`targyId`), + CONSTRAINT `kepzesOraterv_ibfk_1` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kepzesOraterv_ibfk_2` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kepzesOsztaly` ( + `kepzesId` smallint(5) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kepzesId`,`osztalyId`), + KEY `kepzesOsztaly_FKIndex1` (`kepzesId`), + KEY `kepzesOsztaly_FKIndex2` (`osztalyId`), + CONSTRAINT `kepzesOsztaly_ibfk_1` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kepzesOsztaly_ibfk_2` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- DROP in rev. 3562 +-- CREATE TABLE `kepzesTargyOraszam` ( +-- `kepzesId` smallint(5) unsigned NOT NULL, +-- `evfolyam` tinyint(3) unsigned NOT NULL, +-- `targyId` smallint(5) unsigned NOT NULL, +-- `oraszam` decimal(4,2) unsigned DEFAULT NULL, +-- `kovetelmeny` enum('aláírás','vizsga','jegy') DEFAULT NULL, +-- `jelenlet` enum('kötelező','nem kötelező') DEFAULT NULL, +-- PRIMARY KEY (`kepzesId`,`evfolyam`,`targyId`), +-- KEY `kepzesTargyOraszam_FKIndex1` (`kepzesId`), +-- KEY `kepzesTargyOraszam_FKIndex2` (`targyId`), +-- CONSTRAINT `kepzesTargyOraszam_ibfk_1` FOREIGN KEY (`kepzesId`) REFERENCES `kepzes` (`kepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, +-- CONSTRAINT `kepzesTargyOraszam_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE NO ACTION ON UPDATE NO ACTION +-- ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `tanmenet` ( + `tanmenetId` int(10) unsigned NOT NULL auto_increment, + `targyId` smallint(5) unsigned NOT NULL, + `_evfolyam` tinyint(3) unsigned NOT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tanmenetNev` varchar(128), + `oraszam` smallint unsigned, + `dt` DATE NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `statusz` enum('új','kész','jóváhagyott','publikus','elavult') default 'új', + PRIMARY KEY (`tanmenetId`), + CONSTRAINT `tanmenet_ibfk_1` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenet_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanmenetTemakor` ( + `tanmenetId` int(10) unsigned NOT NULL, + `sorszam` tinyint unsigned NOT NULL, + `oraszam` tinyint unsigned NOT NULL, + `temakorMegnevezes` text, + PRIMARY KEY (`tanmenetId`, `sorszam` ), + CONSTRAINT `tanmenetTemakor_ibfk_1` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanmenetTankor` ( + `tankorId` int(10) unsigned NOT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `tanmenetId` int(10) unsigned NOT NULL, + KEY `tanmenetTankor_FKIndex1` (`tankorId`), + CONSTRAINT `tanmenetTankor_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenetTankor_ibfk_2` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenetTankor_ibfk_3` FOREIGN KEY (`tanev`) REFERENCES `szemeszter` (`tanev`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `bejegyzesTipus` ( + `bejegyzesTipusId` tinyint unsigned NOT NULL auto_increment, + `tipus` enum('dicséret','fegyelmi','üzenet') COLLATE utf8_hungarian_ci NOT NULL, + `fokozat` tinyint(3) unsigned NOT NULL, + `bejegyzesTipusNev` varchar(128), + `hianyzasDb` tinyint(3) unsigned DEFAULT NULL, + `jogosult` SET('szaktanár','osztályfőnök','vezetőség','admin') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tolDt` date DEFAULT NULL, + `igDt` date DEFAULT NULL, + PRIMARY KEY (`bejegyzesTipusId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `bejegyzesTipus` VALUES +(1,'fegyelmi',1,'szaktanári figyelmeztetés',NULL,'szaktanár,admin','2003-01-01',NULL), +(2,'fegyelmi',2,'szóbeli osztályfőnöki figyelmeztetés',1,'osztályfőnök,admin','2003-01-01',NULL), +(3,'fegyelmi',3,'osztályfőnöki figyelmeztetés',2,'osztályfőnök,admin','2003-01-01',NULL), +(4,'fegyelmi',4,'osztályfőnöki intő',3,'osztályfőnök,admin','2003-01-01',NULL), +(5,'fegyelmi',5,'osztályfőnöki rovó',4,'osztályfőnök,admin','2003-01-01',NULL), +(6,'fegyelmi',6,'igazgatói figyelmeztető',5,'vezetőség,admin','2003-01-01',NULL), +(7,'fegyelmi',7,'igazgatói intő',7,'vezetőség,admin','2003-01-01',NULL), +(8,'fegyelmi',8,'igazgatói rovó',9,'vezetőség,admin','2003-01-01',NULL), +(9,'fegyelmi',9,'nevelőtestületi figyelmeztetés',11,'vezetőség,admin','2003-01-01',NULL), +(10,'fegyelmi',10,'nevelőtestületi intés',NULL,'vezetőség,admin','2003-01-01',NULL), +(11,'fegyelmi',11,'nevelőtestületi megrovás',NULL,'vezetőség,admin','2003-01-01',NULL), +(12,'dicséret',1,'szaktanári dicséret',0,'szaktanár,admin','2003-01-01',NULL), +(13,'dicséret',2,'osztályfőnöki dicséret',NULL,'osztályfőnök,admin','2003-01-01',NULL), +(14,'dicséret',3,'igazgatói dicséret',NULL,'vezetőség,admin','2003-01-01',NULL), +(15,'dicséret',4,'nevelőtestületi dicséret',NULL,'vezetőség,admin','2003-01-01',NULL), +(16,'üzenet',0,'üzenet',NULL,'szaktanár,osztályfőnök,vezetőség,admin','2003-01-01',NULL); + +CREATE TABLE `csengetesiRend` ( + `nap` tinyint(3) unsigned DEFAULT NULL, + `ora` tinyint(3) unsigned NOT NULL, + `tolTime` time DEFAULT NULL, + `igTime` time DEFAULT NULL, + `telephelyId` tinyint(3) unsigned DEFAULT NULL, + `csengetesiRendTipus` enum('normál','rövidített','speciális','rendhagyó','délutáni','délutáni rövidített','délutáni speciális','délutáni rendhagyó','nincs') COLLATE utf8_hungarian_ci DEFAULT 'normál', + KEY `csengetesiRend_telephely` (`telephelyId`), + CONSTRAINT `csengetesiRend_telephely` FOREIGN KEY (`telephelyId`) REFERENCES `telephely` (`telephelyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kosziEsemeny` ( + `kosziEsemenyId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyNev` varchar(50) NOT NULL, + `kosziEsemenyLeiras` varchar(255) NOT NULL, + `kosziEsemenyTipus` enum('iskolai rendezvény','DÖK rendezvény','tanulmányi verseny','sportverseny','foglalkozás','tevékenység','hiányzás') COLLATE utf8_hungarian_ci NOT NULL, + `kosziEsemenyIntervallum` tinyint(1) UNSIGNED NULL DEFAULT 0, + PRIMARY KEY (`kosziEsemenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziPont` ( + `kosziPontId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `kosziPontTipus` enum('résztvevő','segítő','szervező','fellépő (egyéni)','fellépő (osztály)','fellépő (csoport)','eredmény') NOT NULL DEFAULT 'résztvevő', + `kosziPont` int(10) unsigned NOT NULL DEFAULT 0, + `kosziHelyezes` int(10) unsigned NULL DEFAULT NULL, + UNIQUE KEY (`kosziEsemenyId`,`kosziPontTipus`,`kosziHelyezes`), + PRIMARY KEY (`kosziPontId`), + CONSTRAINT `kosziEsemeny_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `diakAdatkezeles` ( + `diakId` int(10) unsigned NOT NULL, + `kulcs` varchar(30) NOT NULL, + `ertek` varchar(30) NOT NULL, + `lastModified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, + PRIMARY KEY (`diakId`,`kulcs`), + KEY `diakAdatkezeles_FKIndex1` (`diakId`), + CONSTRAINT `diakAdatkezeles_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `diakTorzslapszam` ( + `osztalyId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `torzslapszam` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`osztalyId`,`diakId`), + KEY `diakTorzslapszam_ibfk_2` (`diakId`), + CONSTRAINT `diakTorzslapszam_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `diakTorzslapszam_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kepesites` ( + `kepesitesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `vegzettseg` enum('','alapfokú','középfokú','felsőfokú') COLLATE utf8_hungarian_ci DEFAULT NULL, + `fokozat` enum('','főiskolai','egyetemi','alapfokozat','mesterfokozat','tudományos fokozat') COLLATE utf8_hungarian_ci DEFAULT NULL, + `specializacio` enum('','alapfokú szakképesítés','középfokú szakképesítés','emelt szintű szakképesítés','felsőfokú szakképesítés','szakképzettség') COLLATE utf8_hungarian_ci DEFAULT NULL, + `kepesitesNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`kepesitesId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kepesitesTargy` ( + `kepesitesId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`kepesitesId`,`targyId`), + CONSTRAINT `kepesitesTargy_ibfk_1` FOREIGN KEY (`kepesitesId`) REFERENCES `kepesites` (`kepesitesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kepesitesTargy_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanarKepesites` ( + `tanarId` int(10) unsigned NOT NULL, + `kepesitesId` int(10) unsigned NOT NULL, + PRIMARY KEY (`tanarId`,`kepesitesId`), + KEY `tanarKepesites_FKIndex1` (`tanarId`), + KEY `tanarKepesites_FKIndex2` (`kepesitesId`), + CONSTRAINT `tanarKepesites_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanarKepesites_ibfk_2` FOREIGN KEY (`kepesitesId`) REFERENCES `kepesites` (`kepesitesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `mkVezeto` ( + `mkId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`mkId`,`tanarId`), + KEY `mkTag_FKIndex1` (`mkId`), + KEY `mkTag_FKIndex2` (`tanarId`), + CONSTRAINT `mkVezeto_ibfk_1` FOREIGN KEY (`mkId`) REFERENCES `munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `mkVezeto_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tovabbkepzoIntezmeny` ( + `tovabbkepzoIntezmenyId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `intezmenyRovidNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `intezmenyNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `intezmenyCim` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzoIntezmenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `tovabbkepzes` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `tovabbkepzesNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tovabbkepzoIntezmenyId` smallint(5) unsigned NOT NULL, + `oraszam` smallint(5) unsigned NOT NULL, + `akkreditalt` tinyint unsigned NOT NULL DEFAULT 0, + PRIMARY KEY (`tovabbkepzesId`), + KEY `tovabbkepzes_FK_1` (`tovabbkepzoIntezmenyId`), + CONSTRAINT `tovabbkepzes_FK_1` FOREIGN KEY (`tovabbkepzoIntezmenyId`) REFERENCES `tovabbkepzoIntezmeny` (`tovabbkepzoIntezmenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `tovabbkepzesTanar` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned not null, + `tolDt` date NOT NULL, + `igDt` date DEFAULT NULL, + `tanusitvanyDt` date DEFAULT NULL, + `tanusitvanySzam` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzesId`,`tanarId`), + CONSTRAINT `tovabbkepzesTanar_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTanar_ibfk_2` FOREIGN KEY (`tovabbkepzesId`) REFERENCES `tovabbkepzes` (`tovabbkepzesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `tovabbkepzesTanulmanyiEgyseg` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `tanev` year(4) NOT NULL, + `reszosszeg` int(10) unsigned NOT NULL DEFAULT '0', + `tamogatas` int(10) unsigned NOT NULL DEFAULT '0', + `tovabbkepzesStatusz` enum('terv','jóváhagyott','elutasított','megszűnt','megszakadt','teljesített') COLLATE utf8_hungarian_ci DEFAULT 'terv', + `tavollet` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `helyettesitesRendje` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `prioritas` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + PRIMARY KEY (`tovabbkepzesId`,`tanarId`,`tanev`), + KEY `tovabbkepzesTE_ibfk_1` (`tanarId`), + CONSTRAINT `tovabbkepzesTE_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_2` FOREIGN KEY (`tovabbkepzesId`) REFERENCES `tovabbkepzes` (`tovabbkepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_main` FOREIGN KEY (`tovabbkepzesId`, `tanarId`) REFERENCES `tovabbkepzesTanar` (`tovabbkepzesId`, `tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `tovabbkepzesKeret` ( + `tanev` year(4) NOT NULL, + `keretOsszeg` int(10) unsigned NOT NULL, + PRIMARY KEY (`tanev`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `hirnokFeliratkozas` ( + `hirnokFeliratkozasId` int(11) unsigned NOT NULL AUTO_INCREMENT, + `naploId` int(10) unsigned NOT NULL, + `naploTipus` enum('diak','tanar','szulo') COLLATE utf8_hungarian_ci DEFAULT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci DEFAULT 'private', + `email` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `feliratkozasDt` datetime DEFAULT NULL, + `utolsoEmailDt` datetime DEFAULT NULL, + `megtekintesDt` datetime DEFAULT NULL, + PRIMARY KEY (`hirnokFeliratkozasId`), + UNIQUE KEY `K_hf_mix` (`userAccount`,`policy`,`naploId`,`naploTipus`,`email`), + KEY `K_hf_up` (`userAccount`,`policy`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + DELIMITER // + DROP FUNCTION IF EXISTS diakNaploSorszam // + CREATE function diakNaploSorszam ( thisDiakId INT, thisTanev INT, thisOsztalyId INT ) returns INT + READS SQL DATA + BEGIN + DECLARE inKezdesDt,inZarasDt DATE; + DECLARE a,i INT; -- for loop + DECLARE b DATE; -- for loop + DECLARE c DATE; + DECLARE d INT; + DECLARE e VARCHAR(255); + + DECLARE cur1 + CURSOR FOR +-- Ez volt eredetileg: +-- ------------------ +-- SELECT diakId,IF(beDt=inKezdesDt) +-- -- AND statusz!='felvételt nyert' +-- ORDER BY d, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; +-- +-- Első módosítás: az adottt tanévben nézi a jogviszonyt +-- --------------- +-- -- SELECT diakId,IF(beDt=inKezdesDt) +-- -- HAVING (aktJogviszonyDb>0 or elozoStatusz in ('magántanuló','jogviszonyban van')) +-- -- ORDER BY d, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; +-- +-- Második módosítás: Az adott tanév azon szakaszában nézi a jogviszonyt, amikor az osztálynak tagja... +-- ------------------ + SELECT diakId,IF(beDt=inKezdesDt) + HAVING (aktJogviszonyDb>0 or elozoStatusz in ('magántanuló','jogviszonyban van')) + ORDER BY tolDt, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; + +-- Ha RETURN, akkor az EXIT HANDLER úgy is, nem? + -- DECLARE CONTINUE HANDLER FOR NOT FOUND RETURN NULL; + DECLARE EXIT HANDLER FOR NOT FOUND RETURN NULL; + SELECT kezdesDt FROM szemeszter WHERE tanev=thisTanev AND szemeszter=1 INTO inKezdesDt; + SELECT MAX(zarasDt) FROM szemeszter WHERE tanev=thisTanev INTO inZarasDt; + + SET i := 1; + OPEN cur1; + lo: LOOP +-- FETCH cur1 INTO a,b; + FETCH cur1 INTO a,b,c,d,e; + IF a = thisDiakId THEN + LEAVE lo; + END IF; + SET i := i+1; + END LOOP; + CLOSE cur1; + return i; + END; // + DELIMITER ; // + +-- DELIMITER // +-- DROP FUNCTION IF EXISTS diakTorzslapszam // +-- CREATE function diakTorzslapszam ( thisDiakId INT, thisOsztalyId INT ) returns INT +-- READS SQL DATA +-- BEGIN +-- DECLARE i,d,n01,n02,n03,n04,n05,n06,n07,n08,n09,n10,n11,n12,n13 INT; -- for loop +-- DECLARE error,inKezdoTanev,inVegzoTanev INT; +-- DECLARE cur1 +-- CURSOR FOR +-- SELECT diakId, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev,thisOsztalyId),99) as ns01, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+1,thisOsztalyId),99) as ns02, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+2,thisOsztalyId),99) as ns03, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+3,thisOsztalyId),99) as ns04, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+4,thisOsztalyId),99) as ns05, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+5,thisOsztalyId),99) as ns06, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+6,thisOsztalyId),99) as ns07, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+7,thisOsztalyId),99) as ns08, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+8,thisOsztalyId),99) as ns09, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+9,thisOsztalyId),99) as ns10, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+10,thisOsztalyId),99) as ns11, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+11,thisOsztalyId),99) as ns12, +-- ifnull(diakNaploSorszam(diakId,inKezdoTanev+12,thisOsztalyId),99) as ns13 +-- FROM osztalyDiak +-- WHERE osztalyId=thisOsztalyId +-- ORDER BY ns01, ns02, ns03, ns04, ns05, ns06, ns07, ns08, ns09, ns10, ns11, ns12, ns13; +-- DECLARE CONTINUE HANDLER FOR NOT FOUND SET error := 1; -- Ne csináljon semmit, menjen tovább... +-- SELECT kezdoTanev FROM osztaly WHERE osztalyId=thisOsztalyId INTO inKezdoTanev; +-- SET i := 1; +-- OPEN cur1; +-- lo: LOOP +-- FETCH cur1 INTO d, n01, n02, n03, n04, n05, n06, n07, n08, n09, n10, n11, n12, n13; +-- IF d = thisDiakId THEN +-- LEAVE lo; +-- END IF; +-- SET i := i+1; +-- END LOOP; +-- CLOSE cur1; +-- +-- return i; +-- END; // +-- DELIMITER ; // + +-- -- Egy újabb próbálkozás... +-- DELIMITER // +-- DROP FUNCTION IF EXISTS diakTorzslapszam // +-- CREATE function diakTorzslapszam ( thisDiakId INT, thisOsztalyId INT ) returns INT +-- READS SQL DATA +-- BEGIN +-- +-- DECLARE ret INT; +-- set @oszt=0; +-- set @sz=0; +-- -- set @ret = ( +-- select sorsz from ( +-- select +-- @sz:=if(@osz=osztalyId,@sz:=@sz+1,1) as sorsz, +-- @oszt:=osztalyId as o, +-- osztalyId, diakId, sort, diakNev +-- from ( +-- select +-- osztalyId, diakId, +-- if (month(min(beDt))>8 or month(min(beDt))<6 or (month(min(beDt))=6 and day(min(beDt))<16), min(beDt), date_format(min(beDt),'%Y-09-01')) as sort, +-- concat_ws(' ',viseltNevElotag, viseltCsaladinev, viseltUtonev) as diakNev +-- from osztalyDiak left join diak using (diakId) +-- group by osztalyId, diakId +-- order by osztalyId, sort, diakNev +-- ) as t +-- ) as k +-- where osztalyId=thisOsztalyId and diakId=thisDiakId into ret; +-- +-- return ret; +-- END; // +-- DELIMITER ; // + diff --git a/mayor-orig/install/module-naplo/mysql/kirTargyak.sql b/mayor-orig/install/module-naplo/mysql/kirTargyak.sql new file mode 100644 index 00000000..f3006665 --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/kirTargyak.sql @@ -0,0 +1 @@ +INSERT INTO `kirTargy` VALUES (3,'Magyar nyelv és irodalom '),(4,'Nemzetiségi nyelv és irodalom '),(5,'Nemzetiségi nyelv '),(6,'Angol nyelv '),(7,'Német nyelv '),(8,'Francia nyelv '),(9,'Olasz nyelv '),(10,'Spanyol nyelv '),(11,'Orosz nyelv '),(12,'Latin nyelv '),(14,'Matematika '),(15,'Társadalmi ismeretek'),(16,'Filozófia '),(17,'Hittan (és erkölcstan) '),(18,'Emberismeret, etika '),(19,'Történelem '),(20,'Állampolgári ismeretek '),(21,'Hon‐ és népismeret '),(22,'Természetismeret '),(23,'Fizika '),(24,'Kémia '),(25,'Biológia '),(26,'Környezetismeret '),(27,'Földrajz '),(28,'Ének‐zene '),(29,'Tánc és dráma '),(30,'Rajz és műalkotások elemzése, vizuális kultúra '),(31,'Művészettörténet '),(32,'Mozgóképkultúra és médiaismeret '),(33,'Számítástechnika '),(34,'Informatika '),(35,'Könyvtárhasználat '),(36,'Technika '),(37,'Háztartástan '),(38,'Életvitel és gyakorlati ismeretek '),(39,'Testnevelés '),(40,'Pályaorientáció, szakmai alapozás '),(41,'Magyar irodalom '),(42,'Magyar nyelv '),(43,'Földünk és környezetünk '),(44,'Gazdasági ismeretek '),(45,'Információkezelés '),(46,'Tanulásmódszertan '),(47,'Postai orientációs ismeretek '),(48,'Etika '),(49,'Sportegészségtan '),(50,'Egészségtan '),(51,'Gazdasági környezetünk '),(52,'Gasztronómiai alapgyakorlat '),(53,'Természettudományok '),(54,'Gépírás '),(55,'Önvédelmi ismeretek '),(56,'Vállalkozási ismeretek '),(57,'Jogi ismeretek '),(58,'Mindennapi ismeretek '),(59,'Személy és vagyonvédelmi ismeretek '),(60,'Lövészet '),(61,'Zenetörténet '),(63,'Tánctörténet'),(64,'Cirkusztörténet '),(65,'Mozgóképkultúra (MOK) '),(66,'Mozgásanatómia '),(67,'Információkezelés és viselkedéskultúra '),(68,'Viselkedéskultúra és kommunikáció '),(69,'Gasztronómiai alapismeretek és viselkedéskultúra '),(70,'Vizuális ismeretek '),(71,'Alkalmazott számítástechnika '),(72,'Élelmiszer alapismeretek '),(73,'Vendéglátó technológia '),(74,'Információkezelés és kommunikáció '),(75,'Művészetek '),(76,'Gasztronómiai alapismeretek és kommunikáció'),(77,'Világörökség '),(78,'Egyházi ének '),(79,'Szabadkézi rajz '),(80,'Építészeti alapismeretek '),(81,'Szakmacsoportos alapozó ismeretek elmélet '),(82,'Szakmacsoportos alapozó ismeretek gyakorlat '),(83,'Szakmacsoportos alapozó oktatás '),(84,'Alapgyakorlatok '),(85,'Egészségnevelés '),(86,'Elektronikai alapismeretek '),(87,'Elektronika '),(88,'Hardver alapismeretek '),(89,'Hardver‐ és szoftverismeretek'),(90,'Informatikai alapismeretek '),(91,'Rajz és vizuális kultúra '),(92,'Informatikai szakmacsoportos alapozó oktatás elmélet '),(93,'Informatikai szakmacsoportos alapozó oktatás gyakorlat '),(94,'Irodalom '),(96,'Magyar nyelv és kommunikáció '),(97,'Anyanyelv és kommunikáció '),(98,'Kommunikáció '),(99,'Anyanyelv kultúra '),(100,'Szövegértés '),(101,'Német nyelvi tréning '),(102,'Német társalgás '),(103,'Német nyelvtan '),(104,'Német szaknyelv '),(105,'Holland nyelv '),(106,'Román nyelv '),(109,'Horvát nyelv '),(113,'Külalak '),(114,'Szakmai alapozás '),(115,'Szakmai alapozó oktatás '),(116,'Szakmai gyakorlat'),(117,'Pályaorientáció '),(118,'Gyakorlati oktatás '),(119,'Szakmai orientáció elmélet '),(120,'Szakmai orientáció gyakorlat '),(121,'Közgazdasági alapismeretek elméleti gazdaságtan '),(122,'Közgazdasági alapismeretek üzleti gazdaságtan '),(123,'Könyvvitel '),(124,'Ügyviteli alapismeretek '),(125,'Szakmai angol nyelv '),(126,'Szakmai német nyelv '),(127,'Tanirodai ismeretek '),(128,'Statisztika '),(129,'Marketing '),(130,'Anyagok '),(131,'Anyag‐ és eszközismeret '),(132,'Alakítások I. '),(133,'Alakítások II. '),(134,'Állványozási alapgyakorlatok '),(135,'Bevezetés az építészeti szakmai számításokba '),(136,'Építőanyagok'),(137,'Építőanyagok vizsgálata '),(138,'Építészeti anyagismeret '),(139,'Építészeti műszaki rajz '),(140,'Építőanyagok megmunkálása '),(141,'Kép‐ és hangfeldolgozás'),(142,'Kitűzési alapgyakorlatok '),(143,'Közlekedési ismeretek '),(144,'Közlekedési informatika és számítástechnikai gyakorlat '),(145,'Környezetvédelem '),(146,'Mechanika '),(147,'Mérések '),(148,'Mérési alapgyakorlat '),(149,'Műszaki ábrázolás '),(150,'Műszaki ábrázolás alapjai '),(151,'Műszaki pályák világa '),(152,'Számítástechnika gyakorlat I. '),(153,'Számítógép‐programozás I. '),(154,'Számítógépes programgyakorlat I. '),(155,'Természetismeret és környezeti tanulmányok '),(156,'Japán nyelv '),(157,'Bibliaismeretek '),(158,'Laboratóriumi gyakorlat '),(159,'Társadalom ismeret és Etika '),(160,'Fizikai kémia '),(161,'Matematika angol nyelven '),(162,'Biológia angol nyelven '),(163,'Műszaki ismeretek '),(164,'Műszaki ábrázolási gyakorlatok '),(165,'Műszaki ábrázolás és anyagismeret '),(166,'Műszaki ábrázolási és megmunkálási gyakorlat'),(167,'Anyagismeret '),(168,'Anyagmegmunkálási gyakorlat '),(169,'Számítógép‐programozás'),(170,'Számítógép‐programozási gyakorlat '),(171,'Elektrotechnika '),(172,'Elektrotechnikai gyakorlatok és mérések '),(173,'Gazdálkodási ismeretek '),(174,'Szakmai informatika '),(175,'Ételkészítési ismeretek '),(176,'Pincér gyakorlat '),(177,'Szakács gyakorlat'),(178,'Cukrász gyakorlat '),(179,'Étel‐italkészítési ismeretek'),(180,'Pincér ismeretek'),(181,'Cukrászati alapismeretek '),(182,'Kereskedelmi ismeretek '),(183,'Élelmiszer és vegyiáruismeret'),(184,'Pénztárelszámolás '),(185,'Fogyasztói érdekvédelem'),(186,'Általános áruismeret '),(187,'Szakmai ismeret '),(188,'Italismeret '),(189,'Cukrászati ismeretek '),(190,'Vendéglátó‐gazdálkodási és vállalkozási alapismeretek '),(191,'Szakmai esztétikai szakrajz '),(192,'Ételkészítési gyakorlat '),(193,'Médiaismeret '),(194,'Médiaismereti gyakorlat '),(195,'Elektrotechnikai gyakorlatok '),(196,'Angol beszédgyakorlat '),(197,'Angol nyelv kommunikáció '),(198,'Német beszédgyakorlat '),(199,'Német nyelv kommunikáció'),(200,'Francia beszédgyakorlat '),(201,'Francia nyelv kommunikáció '),(202,'Beszélő Magyarország: nyilvános beszéd '),(203,'Demokrácia állampolgárságra nevelés '),(204,'Fejlesztés '),(205,'Történelem szaknyelv'),(206,'Fizika szaknyelv '),(207,'Angol célnyelvi civilizáció '),(208,'Német célnyelvi civilizáció '),(209,'Biológia szaknyelv '),(210,'Földrajz szaknyelv '),(211,'Társadalom ismeret és Etika '),(212,'Közgazdaságtan '),(213,'Pszichológia '),(214,'Tudáselmélet '),(215,'Kínai nyelv '),(216,'Ember a természetben '),(217,'Ruházati áruismeret '),(218,'Áruforgalmi ismeretek '),(219,'Magyar népzene alapjai '),(220,'Beszédtechnika '),(221,'Betűrajz '),(222,'Drámai játék '),(223,'Énekkar '),(224,'Főtárgy (hangszer) '),(225,'Hangegészségtan '),(226,'Hangképzés‐ének '),(227,'Kamara '),(228,'Kargyakorlat '),(229,'Karvezetés '),(230,'Kinetográfia '),(231,'Klasszikus balett '),(232,'Kortárs‐,modern tánc '),(233,'Népi ének '),(234,'Népi hangszer '),(235,'Hangszeres népzene '),(236,'Néprajz '),(237,'Néprajzi alapismeretek‐táncfolklorisztika '),(238,'Néptánc '),(239,'Népzene elmélet és történet '),(240,'Rajz '),(241,'Színháztörténet '),(242,'Színpadi mozgás és tánc '),(243,'Szakmai elmélet '),(244,'Szakmai olasz nyelv '),(245,'Szakmai szorgalom '),(246,'Szolfézs '),(247,'Zeneelmélet '),(248,'Zeneirodalom '),(249,'Zenekar '),(250,'Zongorakötelező '); diff --git a/mayor-orig/install/module-naplo/mysql/naplo-users.sql b/mayor-orig/install/module-naplo/mysql/naplo-users.sql new file mode 100644 index 00000000..309abb23 --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/naplo-users.sql @@ -0,0 +1,8 @@ +USE %MYSQL_PRIVATE_DB%; + +INSERT INTO groups (groupCn,groupDesc,policy) VALUES +('naploadmin','Napló adminisztrátorok','private'),('vezetoseg','Vezetőség','private'), + ('diakadmin','Diák adminisztrátorok','private'),('uzenoadmin','Üzenő adminisztrátorok','private'); +SET @uid = (SELECT uid FROM accounts WHERE userAccount='mayoradmin'); +SET @gid = (SELECT gid FROM groups WHERE groupCn='naploadmin'); +INSERT INTO members (uid,gid) VALUES (@uid,@gid); diff --git a/mayor-orig/install/module-naplo/mysql/tanev.sql b/mayor-orig/install/module-naplo/mysql/tanev.sql new file mode 100644 index 00000000..c699d2b7 --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/tanev.sql @@ -0,0 +1,730 @@ + +CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `munkaterv` ( + `munkatervId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + `munkatervNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tanitasiNap` smallint(6) DEFAULT NULL, + `vegzosZarasDt` date DEFAULT NULL, + `tanitasNelkuliMunkanap` smallint(6) DEFAULT NULL, + PRIMARY KEY (`munkatervId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `munkatervOsztaly` ( + `munkatervId` tinyint(3) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`munkatervId`,`osztalyId`), + KEY `IBFK_osztalyId` (`osztalyId`), + CONSTRAINT `munkatervOsztaly_ibfk_2` FOREIGN KEY (`munkatervId`) REFERENCES `munkaterv` (`munkatervId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `munkatervOsztaly_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `nap` ( + `dt` date NOT NULL, + `tipus` enum('tanítási nap','speciális tanítási nap','tanítás nélküli munkanap','tanítási szünet','szorgalmi időszakon kívüli munkanap') COLLATE utf8_hungarian_ci DEFAULT 'tanítási nap', + `megjegyzes` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `orarendiHet` tinyint(3) unsigned DEFAULT NULL, + `munkatervId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `csengetesiRendTipus` enum('normál','rövidített','speciális','rendhagyó','délutáni','délutáni rövidített','délutáni speciális','délutáni rendhagyó','nincs') COLLATE utf8_hungarian_ci DEFAULT 'normál', + PRIMARY KEY (`munkatervId`,`dt`), + CONSTRAINT `nap_ibfk_1` FOREIGN KEY (`munkatervId`) REFERENCES `munkaterv` (`munkatervId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `logBejegyzes` ( + `logId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `dt` datetime DEFAULT NULL, + `ip` varchar(15) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tabla` varchar(16) COLLATE utf8_hungarian_ci DEFAULT NULL, + `action` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szoveg` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `actionId` varchar(23) DEFAULT NULL, + PRIMARY KEY (`logId`), + KEY `IDX_a` (`actionId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `dolgozat` ( + `dolgozatId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `bejelentesDt` date DEFAULT NULL, + `tervezettDt` date DEFAULT NULL, + `dolgozatNev` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `modositasDt` datetime NOT NULL, + PRIMARY KEY (`dolgozatId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `csere` ( + `csereId` int(10) unsigned NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`csereId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `osztalyNaplo` ( + `osztalyId` int(10) unsigned NOT NULL, + `osztalyJel` varchar(23) COLLATE utf8_hungarian_ci NOT NULL, + `evfolyam` tinyint(3) unsigned DEFAULT NULL, + `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`osztalyId`), + UNIQUE KEY `OsztalyNaplo_osztalyId` (`osztalyId`), + CONSTRAINT `osztalyNaplo_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `targySorszam` ( + `osztalyId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + `sorrendNev` enum('napló','anyakönyv','ellenőrző','bizonyítvány','egyedi') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'napló', + `sorszam` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`osztalyId`,`targyId`,`sorrendNev`), + KEY `targySorrend_FKIndex1` (`osztalyId`), + CONSTRAINT `targySorszam_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztalyNaplo` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `bejegyzes` ( + `bejegyzesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `tanarId` int(10) unsigned DEFAULT NULL, + `diakId` int(10) unsigned NOT NULL, + `bejegyzesTipusId` tinyint(3) unsigned NOT NULL, + `hianyzasDb` smallint(6) unsigned DEFAULT NULL, + `szoveg` text COLLATE utf8_hungarian_ci, + `beirasDt` date NOT NULL, + `referenciaDt` date DEFAULT NULL, + PRIMARY KEY (`bejegyzesId`), + KEY `diakId` (`diakId`), + KEY `tanarId` (`tanarId`), + CONSTRAINT `bejegyzes_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `bejegyzes_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE SET NULL ON UPDATE SET NULL, + CONSTRAINT `bejegyzes_ibfk_3` FOREIGN KEY (`bejegyzesTipusId`) REFERENCES `%DB%`.`bejegyzesTipus` (`bejegyzesTipusId`) ON DELETE NO ACTION ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `tankorDolgozat` ( + `tankorId` int(10) unsigned NOT NULL, + `dolgozatId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`tankorId`,`dolgozatId`), + KEY `tankorDolgozat_FKIndex1` (`dolgozatId`), + CONSTRAINT `tankorDolgozat_ibfk_1` FOREIGN KEY (`dolgozatId`) REFERENCES `dolgozat` (`dolgozatId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorDolgozat_ibfk_2` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorNaplo` ( + `tankorId` int(10) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`tankorId`,`osztalyId`), + KEY `osztalyId` (`osztalyId`), + CONSTRAINT `tankorNaplo_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztalyNaplo` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorNaplo_ibfk_2` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `ora` ( + `oraId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `dt` date NOT NULL, + `ora` tinyint(3) unsigned NOT NULL, + `ki` int(10) unsigned DEFAULT NULL, + `kit` int(10) unsigned DEFAULT NULL, + `tankorId` int(10) unsigned DEFAULT NULL, + `teremId` smallint(5) unsigned DEFAULT NULL, + `leiras` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tipus` enum('normál','elmarad','helyettesítés','felügyelet','összevonás','normál máskor','elmarad máskor','egyéb') COLLATE utf8_hungarian_ci DEFAULT 'normál', + `eredet` enum('órarend','plusz') COLLATE utf8_hungarian_ci DEFAULT 'órarend', + `feladatTipusId` tinyint(3) unsigned DEFAULT NULL, + `munkaido` enum('lekötött','fennmaradó','kötetlen') COLLATE utf8_hungarian_ci DEFAULT 'lekötött', + `modositasDt` datetime DEFAULT NULL, + PRIMARY KEY (`oraId`), + KEY `ki` (`ki`), + KEY `kit` (`kit`), + KEY `tankorId` (`tankorId`), + KEY `teremId` (`teremId`), + KEY `dt` (`dt`), + CONSTRAINT `ora_ibfk_1` FOREIGN KEY (`ki`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE NO ACTION ON UPDATE NO ACTION, + CONSTRAINT `ora_ibfk_2` FOREIGN KEY (`kit`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE NO ACTION ON UPDATE NO ACTION, + CONSTRAINT `ora_ibfk_3` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `ora_ibfk_4` FOREIGN KEY (`teremId`) REFERENCES `%DB%`.`terem` (`teremId`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `ora_ibfk_5` FOREIGN KEY (`feladatTipusId`) REFERENCES `%DB%`.`feladatTipus` (`feladatTipusId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `orarendiOraTankor` ( + `tanarId` int(10) unsigned NOT NULL, + `osztalyJel` varchar(7) COLLATE utf8_bin NOT NULL, + `targyJel` varchar(32) COLLATE utf8_bin NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + PRIMARY KEY (`tanarId`,`osztalyJel`,`targyJel`), + KEY `orarendiOraTankor_tankorId` (`tankorId`), + CONSTRAINT `orarendiOraTankor_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ; + +CREATE TABLE `hianyzas` ( + `hianyzasId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `oraId` int(10) unsigned NOT NULL, + `dt` date DEFAULT NULL, + `ora` tinyint(3) unsigned DEFAULT NULL, + `perc` tinyint(3) unsigned DEFAULT NULL, + `tipus` enum('hiányzás','késés','felszerelés hiány','felmentés','egyenruha hiány') COLLATE utf8_hungarian_ci DEFAULT NULL, + `statusz` enum('igazolt','igazolatlan') COLLATE utf8_hungarian_ci DEFAULT NULL, + `igazolas` enum('orvosi','szülői','osztályfőnöki','tanulmányi verseny','nyelvvizsga','igazgatói','hatósági','pályaválasztás','') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tankorTipus` enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tankorTipusId` int(10) unsigned DEFAULT NULL, + `rogzitoTanarId` int(10) unsigned DEFAULT NULL, + `rogzitesIdoben` tinyint(1) DEFAULT NULL, + `modositasDt` datetime DEFAULT NULL, + PRIMARY KEY (`hianyzasId`,`diakId`), + UNIQUE KEY (`oraId`,`diakId`,`tipus`), + KEY `hianyzas_FKIndex1` (`oraId`), + KEY `diakId` (`diakId`), + CONSTRAINT `hianyzas_ibfk_1` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `hianyzas_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +CREATE TABLE `cserePluszOra` ( + `csereId` int(10) unsigned NOT NULL, + `oraId` int(10) unsigned NOT NULL, + PRIMARY KEY (`csereId`,`oraId`), + KEY `cserePluszOra_FKIndex1` (`csereId`), + KEY `cserePluszOra_FKIndex2` (`oraId`), + CONSTRAINT `cserePluszOra_ibfk_1` FOREIGN KEY (`csereId`) REFERENCES `csere` (`csereId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `cserePluszOra_ibfk_2` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +CREATE TABLE `csereAlapOra` ( + `csereId` int(10) unsigned NOT NULL, + `oraId` int(10) unsigned NOT NULL, + PRIMARY KEY (`csereId`,`oraId`), + KEY `csereAlapOra_FKIndex1` (`csereId`), + KEY `csereAlapOra_FKIndex2` (`oraId`), + CONSTRAINT `csereAlapOra_ibfk_1` FOREIGN KEY (`csereId`) REFERENCES `csere` (`csereId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `csereAlapOra_ibfk_2` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `orarendiOra` ( + `het` tinyint(3) unsigned NOT NULL, + `nap` tinyint(3) unsigned NOT NULL, + `ora` tinyint(3) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `osztalyJel` varchar(7) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, + `targyJel` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, + `teremId` smallint(5) unsigned DEFAULT NULL, + `tolDt` date NOT NULL DEFAULT '0000-00-00', + `igDt` date DEFAULT NULL, + PRIMARY KEY (`het`,`nap`,`ora`,`tanarId`,`tolDt`), + KEY `orarendiOra_FKIndex1` (`tanarId`,`osztalyJel`,`targyJel`), + KEY `teremId` (`teremId`), + CONSTRAINT `orarendiOra_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE NO ACTION ON UPDATE NO ACTION, + CONSTRAINT `orarendiOra_ibfk_2` FOREIGN KEY (`teremId`) REFERENCES `%DB%`.`terem` (`teremId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `jegy` ( + `jegyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `jegy` decimal(4,1) NOT NULL, + `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') COLLATE utf8_hungarian_ci DEFAULT NULL, + `tipus` tinyint(3) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + `dt` date DEFAULT NULL, + `oraId` int(10) unsigned DEFAULT NULL, + `dolgozatId` smallint(5) unsigned DEFAULT NULL, + `megjegyzes` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `modositasDt` datetime NOT NULL, + PRIMARY KEY (`jegyId`), + KEY `tankorId` (`tankorId`), + KEY `diakId` (`diakId`), + KEY `dolgozatId` (`dolgozatId`), + KEY `oraId` (`oraId`), + CONSTRAINT `jegy_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegy_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegy_ibfk_4` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE SET NULL ON UPDATE SET NULL, + CONSTRAINT `jegy_ibfk_5` FOREIGN KEY (`dolgozatId`) REFERENCES `dolgozat` (`dolgozatId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `csoport` ( + `csoportId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `csoportNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`csoportId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tankorCsoport` ( + `tankorId` int(10) unsigned NOT NULL, + `csoportId` int(10) unsigned NOT NULL, + PRIMARY KEY (`tankorId`,`csoportId`), + KEY `csoportId` (`csoportId`), + CONSTRAINT `tankorCsoport_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorCsoport_ibfk_2` FOREIGN KEY (`csoportId`) REFERENCES `csoport` (`csoportId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `fogadoOra` ( + `tanarId` int(10) unsigned NOT NULL, + `tol` datetime NOT NULL, + `ig` datetime NOT NULL, + `teremId` smallint(5) unsigned DEFAULT NULL, + PRIMARY KEY (`tanarId`,`tol`), + KEY `teremId` (`teremId`), + CONSTRAINT `fogadoOra_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `fogadoOra_ibfk_2` FOREIGN KEY (`teremId`) REFERENCES `%DB%`.`terem` (`teremId`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `fogadoOraJelentkezes` ( + `szuloId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `tol` datetime NOT NULL, + PRIMARY KEY (`tanarId`,`tol`), + UNIQUE KEY `szuloId` (`szuloId`,`tol`), + CONSTRAINT `fogadoOraJelentkezes_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `fogadoOraJelentkezes_ibfk_2` FOREIGN KEY (`szuloId`) REFERENCES `%DB%`.`szulo` (`szuloId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `blokk` ( + `blokkId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `blokkNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, + `exportOraszam` decimal(2,1) unsigned DEFAULT NULL, + PRIMARY KEY (`blokkId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +CREATE TABLE `tankorBlokk` ( + `blokkId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + PRIMARY KEY (`blokkId`,`tankorId`), + KEY `tankorBlokk_FKIndex1` (`tankorId`), + CONSTRAINT `tankorBlokk_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorBlokk_ibfk_2` FOREIGN KEY (`blokkId`) REFERENCES `blokk` (`blokkId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `uzeno` ( + `mId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `dt` datetime NOT NULL, + `txt` text COLLATE utf8_hungarian_ci NOT NULL, + `olvasott` tinyint(1) NOT NULL DEFAULT '0', + `feladoId` int(10) unsigned NOT NULL, + `feladoTipus` enum('diak','szulo','tanar') COLLATE utf8_hungarian_ci DEFAULT NULL, + `cimzettId` int(10) unsigned NOT NULL, + `cimzettTipus` enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo','osztalyTanar') COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`mId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `uzenoFlagek` ( + `mId` int(10) unsigned NOT NULL, + `Id` int(10) unsigned NOT NULL, + `Tipus` enum('diak','szulo','tanar') NOT NULL DEFAULT 'diak', + `flag` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`mId`,`Id`,`Tipus`), + CONSTRAINT `uzenoFlagek_ibfk_1` FOREIGN KEY (`mId`) REFERENCES `uzeno` (`mId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `kerdoiv` ( + `kerdoivId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `cim` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `tolDt` datetime NOT NULL, + `igDt` datetime NOT NULL, + `megjegyzes` text COLLATE utf8_hungarian_ci, + PRIMARY KEY (`kerdoivId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kerdoivCimzett` ( + `kerdoivId` int(10) unsigned NOT NULL, + `cimzettId` int(10) unsigned NOT NULL, + `cimzettTipus` enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'diak', + PRIMARY KEY (`kerdoivId`,`cimzettId`,`cimzettTipus`), + KEY `kerdoivId` (`kerdoivId`), + KEY `cimzettId` (`cimzettId`,`cimzettTipus`), + CONSTRAINT `kerdoivCimzett_ibfk_1` FOREIGN KEY (`kerdoivId`) REFERENCES `kerdoiv` (`kerdoivId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kerdoivKerdes` ( + `kerdesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kerdoivId` int(10) unsigned NOT NULL, + `kerdes` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + PRIMARY KEY (`kerdesId`), + KEY `kerdoivId` (`kerdoivId`), + CONSTRAINT `kerdoivKerdes_ibfk_1` FOREIGN KEY (`kerdoivId`) REFERENCES `kerdoiv` (`kerdoivId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `kerdoivValasz` ( + `valaszId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kerdesId` int(10) unsigned NOT NULL, + `valasz` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + `pont` tinyint DEFAULT 0 NOT NULL, + PRIMARY KEY (`valaszId`), + KEY `kv_FKindex` (`kerdesId`), + CONSTRAINT `kerdoivValasz_ibfk_1` FOREIGN KEY (`kerdesId`) REFERENCES `kerdoivKerdes` (`kerdesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kerdoivValaszSzam` ( + `valaszId` int(10) unsigned NOT NULL, + `cimzettId` int(10) unsigned NOT NULL, + `cimzettTipus` enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'diak', + `szavazat` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`valaszId`,`cimzettId`,`cimzettTipus`), + KEY `kv_FKindex` (`valaszId`), + CONSTRAINT `kerdoivValaszSzam_ibfk_1` FOREIGN KEY (`valaszId`) REFERENCES `kerdoivValasz` (`valaszId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `kerdoivMegvalaszoltKerdes` ( + `feladoId` int(10) unsigned NOT NULL, + `feladoTipus` enum('diak','szulo','tanar') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'diak', + `kerdesId` int(10) unsigned NOT NULL, + `cimzettId` int(10) unsigned NOT NULL, + `cimzettTipus` enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'diak', + PRIMARY KEY (`feladoTipus`,`feladoId`,`kerdesId`,`cimzettId`,`cimzettTipus`), + KEY `kv_FKindex` (`kerdesId`), + CONSTRAINT `kerdoivMegvalaszoltKerdes_ibfk_1` FOREIGN KEY (`kerdesId`) REFERENCES `kerdoivKerdes` (`kerdesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `kerdoivSzabadValasz` ( + `szabadValaszId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kerdesId` int(10) unsigned NOT NULL, + `szoveg` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szabadValaszId`), + FOREIGN KEY `fk1` (`kerdesId`) references `kerdoivKerdes`(`kerdesId`) on update cascade on delete cascade +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szovegesErtekeles` ( + `szeId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `szrId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + `dt` date NOT NULL, + PRIMARY KEY (`szeId`), + UNIQUE KEY `sze_UKindex1` (`diakId`,`targyId`,`dt`), + KEY `sze_FKindex1` (`diakId`), + KEY `sze_FKindex2` (`szrId`), + KEY `sze_FKindex3` (`targyId`), + CONSTRAINT `szovegesErtekeles_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szovegesErtekeles_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `%DB%`.`targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szovegesErtekeles_ibfk_3` FOREIGN KEY (`szrId`) REFERENCES `%DB%`.`szempontRendszer` (`szrId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +CREATE TABLE `szeEgyediMinosites` ( + `szeId` int(10) unsigned NOT NULL, + `szempontId` int(10) unsigned NOT NULL, + `egyediMinosites` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szeId`,`szempontId`), + KEY `szeem_FKindex1` (`szempontId`), + KEY `szeem_FKindex2` (`szeId`), + CONSTRAINT `szeEgyediMinosites_ibfk_1` FOREIGN KEY (`szempontId`) REFERENCES `%DB%`.`szrSzempont` (`szempontId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szeEgyediMinosites_ibfk_2` FOREIGN KEY (`szeId`) REFERENCES `szovegesErtekeles` (`szeId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `szeMinosites` ( + `szeId` int(10) unsigned NOT NULL, + `minositesId` int(10) unsigned NOT NULL, + PRIMARY KEY (`szeId`,`minositesId`), + KEY `szem_FKindex1` (`szeId`), + KEY `minositesId` (`minositesId`), + CONSTRAINT `szeMinosites_ibfk_1` FOREIGN KEY (`szeId`) REFERENCES `szovegesErtekeles` (`szeId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `szeMinosites_ibfk_2` FOREIGN KEY (`minositesId`) REFERENCES `%DB%`.`szrMinosites` (`minositesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `hetes` ( + `osztalyId` int(10) unsigned NOT NULL, + `dt` date NOT NULL DEFAULT '0000-00-00', + `sorszam` smallint(5) unsigned NOT NULL DEFAULT '1', + `diakId` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`osztalyId`,`dt`,`sorszam`), + KEY `het_FKindex1` (`osztalyId`), + KEY `het_FKindex2` (`diakId`), + CONSTRAINT `hetes_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `hetes_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `oraLatogatas` ( + `oraLatogatasId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `megjegyzes` text COLLATE utf8_hungarian_ci NOT NULL, + `oraId` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`oraLatogatasId`), + UNIQUE KEY `oraId` (`oraId`), + CONSTRAINT `oraLatogatas_ibfk_1` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `oraLatogatasTanar` ( + `oraLatogatasId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`oraLatogatasId`,`tanarId`), + KEY `tanarId` (`tanarId`), + CONSTRAINT `oraLatogatasTanar_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `oraLatogatasTanar_ibfk_2` FOREIGN KEY (`oraLatogatasId`) REFERENCES `oraLatogatas` (`oraLatogatasId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `audit` ( + `auditId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `dt` datetime NOT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `psf` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `params` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `fejlec` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `szoveg` text COLLATE utf8_hungarian_ci, + `felelosCsoport` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `felelos` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `lezarasDt` datetime DEFAULT NULL, + PRIMARY KEY (`auditId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +CREATE TABLE `hianyzasHozott` ( + `diakId` int(10) unsigned NOT NULL, + `statusz` enum('igazolt','igazolatlan') COLLATE utf8_hungarian_ci DEFAULT NULL, + `dbHianyzas` smallint(5) unsigned DEFAULT NULL, + `dt` date DEFAULT NULL, + CONSTRAINT `hianyzasHozott_IBFK1` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `koszi` ( + `kosziId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `dt` DATE NULL, + `tanev` smallint(5) unsigned NULL, + `felev` tinyint(3) unsigned NULL, + `igazolo` set('diák','tanár','osztályfőnök','dök') DEFAULT NULL, + `tolDt` DATETIME DEFAULT NULL, + `igDt` DATETIME DEFAULT NULL, + `targyId` smallint(5) unsigned DEFAULT NULL, + PRIMARY KEY (`kosziId`), + KEY `sze_FKindex1` (`targyId`), + CONSTRAINT `koszi_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `%DB%`.`targy` (`targyId`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `koszi_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `%DB%`.`kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + CONSTRAINT `kosziIgazoloDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloTanar` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloTanar_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloOf` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloOf_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloT_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `rogzitesDt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `jovahagyasDt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + `kosziPontId` int(10) unsigned NOT NULL, + `pont` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + KEY `kosziDiak_ibfk_2` (`diakId`), + KEY `kosziDiak_ibfk_3` (`kosziPontId`), + CONSTRAINT `kosziDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_3` FOREIGN KEY (`kosziPontId`) REFERENCES `%DB%`.`kosziPont` (`kosziPontId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `esemeny` ( + `esemenyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `esemenyKategoria` enum('verseny','közösségi szolgálat','iskolai rendezvény'), + `esemenyRovidnev` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `esemenyNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `esemenyLeiras` text COLLATE utf8_hungarian_ci DEFAULT NULL, + `jelentkezesTolDt` datetime NOT NULL, + `jelentkezesIgDt` datetime NOT NULL, + `min` tinyint(3) unsigned NOT NULL, + `max` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`esemenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; +CREATE TABLE `esemenyOsztaly` ( + `esemenyId` int(10) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`esemenyId`,`osztalyId`), + KEY `esemenyOsztaly_FKIndex1` (`esemenyId`), + KEY `esemenyOsztaly_FKIndex2` (`osztalyId`), + CONSTRAINT `esemenyOsztaly_ibfk_1` FOREIGN KEY (`esemenyId`) REFERENCES `esemeny` (`esemenyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `esemenyOsztaly_ibfk_2` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `esemenyDiak` ( + `esemenyId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `jelentkezesDt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `jovahagyasDt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`esemenyId`,`diakId`), + KEY `esemenyDiak_esemenyId` (`esemenyId`), + KEY `esemenyDiak_diakId` (`diakId`), + CONSTRAINT `esemenyDiak_ibfk_1` FOREIGN KEY (`esemenyId`) REFERENCES `esemeny` (`esemenyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `esemenyDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; +CREATE TABLE `esemenyTanar` ( + `esemenyId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`esemenyId`,`tanarId`), + KEY `esemenyTanar_FKIndex1` (`esemenyId`), + KEY `esemenyTanar_FKIndex2` (`tanarId`), + CONSTRAINT `esemenyTanar_ibfk_1` FOREIGN KEY (`esemenyId`) REFERENCES `esemeny` (`esemenyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `esemenyTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `sniDiakAllapot` ( + `diakId` int(10) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `olvasas` enum('betűző','szótagoló','folyamatos') DEFAULT NULL, + `olvasasTempoja` enum('lassú','akadozó','megfelelő','gyors') DEFAULT NULL, + `olvasasHibak` set('betűtévesztés','tipikus betűcsere','betűkihagyás','szótagkihagyás','szótagcsere') DEFAULT NULL, + `iras` enum('csak másol','önállóan ír') DEFAULT NULL, + `iraskepe` enum('kusza/olvashatatlan','rendezett') DEFAULT NULL, + `irasHibak` set('betűtévesztés','tipikus betűcsere','betűkihagyás','szótagkihagyás','j-ly tévesztése','helyesírási hibák') DEFAULT NULL, + `szovegertes` enum('gyenge/nem tudja értelmezni','kérdésekre válaszol','önállóan értelmez') DEFAULT NULL, + `matematika` set('összeadást/kivonást elvégez','szorzási művelet technikáját ismeri','többtagú szorzást tud végezni', +'bennfoglalási művelet technikáját ismeri','többtagú bennfoglalást tud végezni','szöveges feladat matematikai műveleti leírására képes', +'mértani formákat/testeket ismeri','területszámítást tud végezni','felszínszámítást tud végezni','térfogatszámítást tud végezni', +'alapvető formák szerkesztésére képes') DEFAULT NULL, + `szemelyesKompetenciak` varchar(700) DEFAULT NULL, + `tarsasKompetenciak` varchar(700) DEFAULT NULL, + `kognitivKepessegek` varchar(700) DEFAULT NULL, + `vizsgalatDt` date DEFAULT NULL, + `vizsgalatTanarId` int(10) unsigned DEFAULT NULL, + `eljarasEszkozok` varchar(100) DEFAULT NULL, + `vizsgaltTerulet` varchar(100) DEFAULT NULL, + `problemaMegfogalmazasa` varchar(200) DEFAULT NULL, + PRIMARY KEY (`diakId`,`szemeszter`), + CONSTRAINT `sniDiakAllapot_diakId` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniDiakAllapot_tanarId` FOREIGN KEY (`vizsgalatTanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `sniDiakAdat` ( + `diakId` int(10) unsigned NOT NULL, + `mentorTanarId` int(10) unsigned NOT NULL, + `kulsoInfo` text, + PRIMARY KEY (`diakId`), + CONSTRAINT `sniDiakAdat_diakId` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniDiakAdat_tanarId` FOREIGN KEY (`mentorTanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `sniHaviOsszegzes` ( + `haviOsszegzesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `dt` date DEFAULT NULL, + `gyengesegek` varchar(300) DEFAULT NULL, + `erossegek` varchar(300) DEFAULT NULL, + `celok` varchar(200) DEFAULT NULL, + `fejlesztesiFeladatok` varchar(200) DEFAULT NULL, + `eszkozokModszerek` varchar(200) DEFAULT NULL, + `utemezes` varchar(200) DEFAULT NULL, + `ertekeles` varchar(200) DEFAULT NULL, + `eredmeny` varchar(100) DEFAULT NULL, + `valtozas` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`haviOsszegzesId`), + CONSTRAINT `sniHaviOsszegzes_diakId` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `sniHaviOsszegzesFelelos` ( + `haviOsszegzesId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`haviOsszegzesId`,`tanarId`), + CONSTRAINT `sniHaviOsszegzesFelelos_haviOsszegzesId` FOREIGN KEY (`haviOsszegzesId`) REFERENCES `sniHaviOsszegzes` (`haviOsszegzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniHaviOsszegzesFelelos_tanarId` FOREIGN KEY (`tanarId`) REFERENCES `%DB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `sniTantargyiFeljegyzes` ( + `diakId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + `dt` date NOT NULL DEFAULT '0000-00-00', + `megjegyzes` varchar(500) DEFAULT NULL, + PRIMARY KEY (`diakId`,`tankorId`,`dt`), + CONSTRAINT `sniTantargyiFeljegyzes_diakId` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniTantargyiFeljegyzes_tankorId` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE `sniDiakGyengesegErosseg` ( + `diakId` int(10) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `gyengesegErosseg` enum('gyengeség','erősség') NOT NULL, + `leiras` varchar(150) DEFAULT NULL, + `prioritas` tinyint(5) unsigned DEFAULT NULL, + KEY `sniDiakGyE_diakId` (`diakId`), + CONSTRAINT `sniDiakGyE_diakId` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE `kepzesTargyBontas` ( + `bontasId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `osztalyId` int(10) unsigned NOT NULL, + `kepzesOratervId` int(10) unsigned NOT NULL, + `targyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`bontasId`), + CONSTRAINT `ktBontas_osztalyId` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `ktBontas_kepzesOratervId` FOREIGN KEY (`kepzesOratervId`) REFERENCES `%DB%`.`kepzesOraterv` (`kepzesOratervId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `bontasTankor` ( + `bontasId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + `hetiOraszam` decimal(4,2) DEFAULT NULL, + PRIMARY KEY (`bontasId`,`tankorId`), + CONSTRAINT `bontasTankor_bontasId` FOREIGN KEY (`bontasId`) REFERENCES `kepzesTargyBontas` (`bontasId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `bontasTankor_tankorId` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `jegyzet` ( + `jegyzetId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `userId` int(10) unsigned NOT NULL, + `userTipus` enum('diak','tanar','szulo') COLLATE utf8_hungarian_ci DEFAULT NULL, + `dt` date NOT NULL, + `jegyzetLeiras` text COLLATE utf8_hungarian_ci, + `publikus` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`jegyzetId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `jegyzetMunkakozosseg` ( + `jegyzetId` int(10) unsigned NOT NULL, + `mkId` smallint(5) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`jegyzetId`,`mkId`), + KEY `jegyzetMunkakozosseg_jegyzetId` (`jegyzetId`), + KEY `jegyzetMunkakozosseg_mkId` (`mkId`), + CONSTRAINT `jegyzetMunkakozosseg_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetMunkakozosseg_ibfk_2` FOREIGN KEY (`mkId`) REFERENCES `%DB%`.`munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `jegyzetOsztaly` ( + `jegyzetId` int(10) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`jegyzetId`,`osztalyId`), + KEY `jegyzetOsztaly_jegyzetId` (`jegyzetId`), + KEY `jegyzetOsztaly_osztalyId` (`osztalyId`), + CONSTRAINT `jegyzetOsztaly_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetOsztaly_ibfk_2` FOREIGN KEY (`osztalyId`) REFERENCES `%DB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `jegyzetTankor` ( + `jegyzetId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + PRIMARY KEY (`jegyzetId`,`tankorId`), + KEY `jegyzetTankor_jegyzetId` (`jegyzetId`), + KEY `jegyzetTankor_tankorId` (`tankorId`), + CONSTRAINT `jegyzetTankor_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetTankor_ibfk_2` FOREIGN KEY (`tankorId`) REFERENCES `%DB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +DROP FUNCTION IF EXISTS getNev; + +DELIMITER // + CREATE FUNCTION getNev(id int(10) unsigned, tipus varchar(20)) + RETURNS VARCHAR(60) DETERMINISTIC + BEGIN + DECLARE nev varchar(60) character set utf8; + DECLARE tnv int(10); + SELECT SUBSTRING(database(),-4) INTO tnv; + + IF tipus = 'diak' THEN + SELECT TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) FROM %DB%.diak WHERE diakId=id LIMIT 1 INTO nev; + ELSEIF tipus = 'tanar' THEN + SELECT TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) FROM %DB%.tanar WHERE tanarId=id INTO nev; + ELSEIF tipus = 'szulo' THEN + SELECT TRIM(CONCAT_WS(' ',nevElotag,csaladinev,utonev)) FROM %DB%.szulo WHERE szuloId=id INTO nev; + ELSEIF tipus = 'tankor' THEN + SELECT tankorNev FROM %DB%.tankorSzemeszter WHERE tankorId=id AND tanev=tnv LIMIT 1 INTO nev; + ELSEIF tipus = 'munkakozosseg' THEN + SELECT leiras FROM %DB%.munkakozosseg WHERE mkId=id INTO nev; + END IF; + + RETURN (nev); + END + // +DELIMITER ; // diff --git a/mayor-orig/install/module-naplo/mysql/telepulesLista.sql b/mayor-orig/install/module-naplo/mysql/telepulesLista.sql new file mode 100644 index 00000000..05ca5520 --- /dev/null +++ b/mayor-orig/install/module-naplo/mysql/telepulesLista.sql @@ -0,0 +1,10 @@ + +DROP TABLE IF EXISTS `telepulesLista`; +CREATE TABLE `telepulesLista` ( + `telepules` varchar(60) CHARACTER SET utf8 NOT NULL, + `megye` varchar(60) CHARACTER SET utf8 NOT NULL, + `irsz` varchar(4) CHARACTER SET utf8 DEFAULT NULL, + KEY `idx_telepulesirsz` (`irsz`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `telepulesLista` VALUES ('Ágasegyháza','Bács-Kiskun','6076'),('Akasztó','Bács-Kiskun','6221'),('Apostag','Bács-Kiskun','6088'),('Bácsalmás','Bács-Kiskun','6430'),('Bácsbokod','Bács-Kiskun','6453'),('Bácsborsód','Bács-Kiskun','6454'),('Bácsszentgyörgy','Bács-Kiskun','6511'),('Bácsszőlős','Bács-Kiskun','6425'),('Baja','Bács-Kiskun','6500'),('Ballószög','Bács-Kiskun','6035'),('Balotaszállás','Bács-Kiskun','6412'),('Bátmonostor','Bács-Kiskun','6528'),('Bátya','Bács-Kiskun','6351'),('Bócsa','Bács-Kiskun','6235'),('Borota','Bács-Kiskun','6445'),('Bugac','Bács-Kiskun','6114'),('Bugacpusztaháza','Bács-Kiskun','6114'),('Császártöltés','Bács-Kiskun','6239'),('Csátalja','Bács-Kiskun','6523'),('Csávoly','Bács-Kiskun','6448'),('Csengőd','Bács-Kiskun','6222'),('Csikéria','Bács-Kiskun','6424'),('Csólyospálos','Bács-Kiskun','6135'),('Dávod','Bács-Kiskun','6524'),('Drágszél','Bács-Kiskun','6342'),('Dunaegyháza','Bács-Kiskun','6323'),('Dunafalva','Bács-Kiskun','6513'),('Dunapataj','Bács-Kiskun','6328'),('Dunaszentbenedek','Bács-Kiskun','6333'),('Dunatetétlen','Bács-Kiskun','6325'),('Dunatetétlen','Bács-Kiskun','6320'),('Dunavecse','Bács-Kiskun','6087'),('Dusnok','Bács-Kiskun','6353'),('Érsekcsanád','Bács-Kiskun','6347'),('Érsekhalma','Bács-Kiskun','6348'),('Fajsz','Bács-Kiskun','6352'),('Felsőlajos','Bács-Kiskun','6050'),('Felsőlajos','Bács-Kiskun','6055'),('Felsőszentiván','Bács-Kiskun','6447'),('Foktő','Bács-Kiskun','6300'),('Foktő','Bács-Kiskun','6331'),('Fülöpháza','Bács-Kiskun','6042'),('Fülöpjakab','Bács-Kiskun','6116'),('Fülöpszállás','Bács-Kiskun','6085'),('Gara','Bács-Kiskun','6522'),('Gátér','Bács-Kiskun','6111'),('Géderlak','Bács-Kiskun','6334'),('Hajós','Bács-Kiskun','6344'),('Harkakötöny','Bács-Kiskun','6136'),('Harta','Bács-Kiskun','6327'),('Harta','Bács-Kiskun','6326'),('Helvécia','Bács-Kiskun','6034'),('Hercegszántó','Bács-Kiskun','6525'),('Homokmégy','Bács-Kiskun','6341'),('Imrehegy','Bács-Kiskun','6238'),('Izsák','Bács-Kiskun','6070'),('Jakabszállás','Bács-Kiskun','6078'),('Jánoshalma','Bács-Kiskun','6440'),('Jászszentlászló','Bács-Kiskun','6133'),('Kalocsa','Bács-Kiskun','6300'),('Kaskantyú','Bács-Kiskun','6211'),('Katymár','Bács-Kiskun','6455'),('Kecel','Bács-Kiskun','6237'),('Kecskemét','Bács-Kiskun','6000'),('Kecskemét','Bács-Kiskun','6044'),('Kecskemét','Bács-Kiskun','6034'),('Kecskemét','Bács-Kiskun','6008'),('Kelebia','Bács-Kiskun','6423'),('Kéleshalom','Bács-Kiskun','6444'),('Kerekegyháza','Bács-Kiskun','6041'),('Kiskőrös','Bács-Kiskun','6200'),('Kiskunfélegyháza','Bács-Kiskun','6100'),('Kiskunhalas','Bács-Kiskun','6400'),('Kiskunmajsa','Bács-Kiskun','6120'),('Kisszállás','Bács-Kiskun','6421'),('Kömpöc','Bács-Kiskun','6134'),('Kunadacs','Bács-Kiskun','6097'),('Kunbaja','Bács-Kiskun','6435'),('Kunbaracs','Bács-Kiskun','6043'),('Kunfehértó','Bács-Kiskun','6413'),('Kunpeszér','Bács-Kiskun','6096'),('Kunszállás','Bács-Kiskun','6115'),('Kunszentmiklós','Bács-Kiskun','6090'),('Ladánybene','Bács-Kiskun','6045'),('Lajosmizse','Bács-Kiskun','6050'),('Lakitelek','Bács-Kiskun','6065'),('Madaras','Bács-Kiskun','6456'),('Mátételke','Bács-Kiskun','6452'),('Mélykút','Bács-Kiskun','6449'),('Miske','Bács-Kiskun','6343'),('Móricgát','Bács-Kiskun','6132'),('Nagybaracska','Bács-Kiskun','6527'),('Nemesnádudvar','Bács-Kiskun','6345'),('Nyárlőrinc','Bács-Kiskun','6032'),('Ordas','Bács-Kiskun','6335'),('Orgovány','Bács-Kiskun','6077'),('Öregcsertő','Bács-Kiskun','6311'),('Páhi','Bács-Kiskun','6075'),('Pálmonostora','Bács-Kiskun','6112'),('Petőfiszállás','Bács-Kiskun','6113'),('Pirtó','Bács-Kiskun','6414'),('Rém','Bács-Kiskun','6446'),('Solt','Bács-Kiskun','6320'),('Soltszentimre','Bács-Kiskun','6223'),('Soltvadkert','Bács-Kiskun','6230'),('Sükösd','Bács-Kiskun','6346'),('Szabadszállás','Bács-Kiskun','6080'),('Szakmár','Bács-Kiskun','6336'),('Szakmár','Bács-Kiskun','6636'),('Szalkszentmárton','Bács-Kiskun','6086'),('Szank','Bács-Kiskun','6131'),('Szentkirály','Bács-Kiskun','6031'),('Szeremle','Bács-Kiskun','6512'),('Tabdi','Bács-Kiskun','6224'),('Tass','Bács-Kiskun','6098'),('Tataháza','Bács-Kiskun','6451'),('Tázlár','Bács-Kiskun','6236'),('Tiszaalpár','Bács-Kiskun','6066'),('Tiszaalpár','Bács-Kiskun','6067'),('Tiszakécske','Bács-Kiskun','6060'),('Tiszakécske','Bács-Kiskun','6062'),('Tiszaug','Bács-Kiskun','6064'),('Tompa','Bács-Kiskun','6422'),('Újsolt','Bács-Kiskun','6321'),('Újtelek','Bács-Kiskun','6337'),('Uszód','Bács-Kiskun','6332'),('Városföld','Bács-Kiskun','6033'),('Vaskút','Bács-Kiskun','6521'),('Zsana','Bács-Kiskun','6411'),('Abaliget','Baranya','7678'),('Adorjás','Baranya','7841'),('Ág','Baranya','7381'),('Almamellék','Baranya','7934'),('Almamellék','Baranya','7936'),('Almamellék','Baranya','7937'),('Almamellék','Baranya','7935'),('Almáskeresztúr','Baranya','7932'),('Alsómocsolád','Baranya','7345'),('Alsószentmárton','Baranya','7800'),('Alsószentmárton','Baranya','7826'),('Apátvarasd','Baranya','7720'),('Aranyosgadány','Baranya','7671'),('Áta','Baranya','7763'),('Babarc','Baranya','7757'),('Babarcszőlős','Baranya','7814'),('Bakóca','Baranya','7393'),('Bakonya','Baranya','7675'),('Bakonya','Baranya','7940'),('Baksa','Baranya','7834'),('Bánfa','Baranya','7914'),('Bár','Baranya','7711'),('Baranyahídvég','Baranya','7841'),('Baranyajenő','Baranya','7384'),('Baranyaszentgyörgy','Baranya','7383'),('Basal','Baranya','7922'),('Belvárdgyula','Baranya','7747'),('Beremend','Baranya','7827'),('Berkesd','Baranya','7664'),('Besence','Baranya','7838'),('Bezedek','Baranya','7782'),('Bicsérd','Baranya','7940'),('Bicsérd','Baranya','7671'),('Bikal','Baranya','7346'),('Birján','Baranya','7747'),('Bisse','Baranya','7811'),('Boda','Baranya','7672'),('Bodolyabér','Baranya','7394'),('Bogád','Baranya','7742'),('Bogádmindszent','Baranya','7836'),('Bogdása','Baranya','7966'),('Boldogasszonyfa','Baranya','7937'),('Bóly','Baranya','7754'),('Borjád','Baranya','7756'),('Bosta','Baranya','7811'),('Botykapeterd','Baranya','7900'),('Bükkösd','Baranya','7682'),('Bükkösd','Baranya','7683'),('Bürüs','Baranya','7915'),('Bürüs','Baranya','7973'),('Cún','Baranya','7843'),('Cún','Baranya','7838'),('Csányoszró','Baranya','7964'),('Csarnóta','Baranya','7811'),('Csebény','Baranya','7935'),('Cserdi','Baranya','7683'),('Cserkút','Baranya','7673'),('Csertő','Baranya','7900'),('Csonkamindszent','Baranya','7940'),('Dencsháza','Baranya','7915'),('Dinnyeberki','Baranya','7683'),('Diósviszló','Baranya','7817'),('Drávacsehi','Baranya','7849'),('Drávacsepely','Baranya','7846'),('Drávafok','Baranya','7967'),('Drávaiványi','Baranya','7960'),('Drávakeresztúr','Baranya','7967'),('Drávapalkonya','Baranya','7850'),('Drávapiski','Baranya','7843'),('Drávaszabolcs','Baranya','7851'),('Drávaszerdahely','Baranya','7847'),('Drávasztára','Baranya','7960'),('Dunaszekcső','Baranya','7712'),('Egerág','Baranya','7763'),('Egyházasharaszti','Baranya','7824'),('Egyházaskozár','Baranya','7347'),('Ellend','Baranya','7744'),('Endrőc','Baranya','7973'),('Erdősmárok','Baranya','7735'),('Erdősmecske','Baranya','7723'),('Erzsébet','Baranya','7661'),('Fazekasboda','Baranya','7732'),('Feked','Baranya','7724'),('Felsőegerszeg','Baranya','7370'),('Felsőszentmárton','Baranya','7968'),('Garé','Baranya','7812'),('Gerde','Baranya','7951'),('Gerényes','Baranya','7362'),('Geresdlak','Baranya','7733'),('Gilvánfa','Baranya','7954'),('Gordisa','Baranya','7853'),('Gödre','Baranya','7385'),('Gödre','Baranya','7386'),('Görcsöny','Baranya','7833'),('Görcsönydoboka','Baranya','7728'),('Gyód','Baranya','7668'),('Gyöngyfa','Baranya','7954'),('Gyöngyösmellék','Baranya','7972'),('Gyöngyösmellék','Baranya','7900'),('Harkány','Baranya','7815'),('Hásságy','Baranya','7745'),('Hegyhátmaróc','Baranya','7348'),('Hegyszentmárton','Baranya','7837'),('Helesfa','Baranya','7683'),('Hetvehely','Baranya','7681'),('Hidas','Baranya','7696'),('Himesháza','Baranya','7735'),('Hirics','Baranya','7838'),('Hobol','Baranya','7971'),('Homorúd','Baranya','7716'),('Homorúd','Baranya','7714'),('Homorúd','Baranya','7715'),('Horváthertelend','Baranya','7935'),('Hosszúhetény','Baranya','7720'),('Hosszúhetény','Baranya','7694'),('Husztót','Baranya','7678'),('Ibafa','Baranya','7683'),('Ibafa','Baranya','7935'),('Illocska','Baranya','7775'),('Ipacsfa','Baranya','7847'),('Ivánbattyán','Baranya','7772'),('Ivándárda','Baranya','7781'),('Kacsóta','Baranya','7940'),('Kákics','Baranya','7958'),('Kárász','Baranya','7333'),('Kásád','Baranya','7827'),('Katádfa','Baranya','7914'),('Kátoly','Baranya','7661'),('Kékesd','Baranya','7661'),('Kémes','Baranya','7843'),('Kemse','Baranya','7839'),('Keszü','Baranya','7668'),('Kétújfalu','Baranya','7975'),('Királyegyháza','Baranya','7953'),('Kisasszonyfa','Baranya','7954'),('Kisbeszterce','Baranya','7391'),('Kisbudmér','Baranya','7756'),('Kisdér','Baranya','7814'),('Kisdobsza','Baranya','7985'),('Kishajmás','Baranya','7391'),('Kisharsány','Baranya','7800'),('Kisherend','Baranya','7763'),('Kisjakabfalva','Baranya','7773'),('Kiskassa','Baranya','7766'),('Kislippó','Baranya','7775'),('Kisnyárád','Baranya','7759'),('Kistamási','Baranya','7981'),('Kistapolca','Baranya','7823'),('Kistótfalu','Baranya','7768'),('Kisvaszar','Baranya','7381'),('Kisszentmárton','Baranya','7841'),('Komló','Baranya','7300'),('Kórós','Baranya','7841'),('Kovácshida','Baranya','7847'),('Kovácsszénája','Baranya','7678'),('Kozármisleny','Baranya','7761'),('Köblény','Baranya','7334'),('Kökény','Baranya','7639'),('Kölked','Baranya','7717'),('Kölked','Baranya','7700'),('Kővágószőlős','Baranya','7673'),('Kővágótöttös','Baranya','7675'),('Kővágótöttös','Baranya','7940'),('Kővágótöttös','Baranya','7600'),('Lánycsók','Baranya','7759'),('Lapáncsa','Baranya','7775'),('Liget','Baranya','7331'),('Lippó','Baranya','7781'),('Liptód','Baranya','7757'),('Lothárd','Baranya','7761'),('Lovászhetény','Baranya','7720'),('Lúzsok','Baranya','7838'),('Mágocs','Baranya','7342'),('Magyarbóly','Baranya','7775'),('Magyaregregy','Baranya','7332'),('Magyarhertelend','Baranya','7394'),('Magyarlukafa','Baranya','7925'),('Magyarmecske','Baranya','7954'),('Magyarsarlós','Baranya','7761'),('Magyarszék','Baranya','7396'),('Magyartelek','Baranya','7954'),('Majs','Baranya','7783'),('Mánfa','Baranya','7304'),('Mánfa','Baranya','7300'),('Mánfa','Baranya','7694'),('Mánfa','Baranya','7600'),('Maráza','Baranya','7733'),('Márfa','Baranya','7817'),('Máriakéménd','Baranya','7663'),('Markóc','Baranya','7967'),('Marócsa','Baranya','7960'),('Márok','Baranya','7774'),('Martonfa','Baranya','7720'),('Matty','Baranya','7854'),('Máza','Baranya','7351'),('Mecseknádasd','Baranya','7695'),('Mecseknádasd','Baranya','7696'),('Mecseknádasd','Baranya','7161'),('Mecsekpölöske','Baranya','7300'),('Mekényes','Baranya','7344'),('Merenye','Baranya','7981'),('Meződ','Baranya','7370'),('Mindszentgodisa','Baranya','7391'),('Mohács','Baranya','7714'),('Mohács','Baranya','7700'),('Mohács','Baranya','7715'),('Molvány','Baranya','7981'),('Monyoród','Baranya','7751'),('Mozsgó','Baranya','7932'),('Nagybudmér','Baranya','7756'),('Nagycsány','Baranya','7838'),('Nagydobsza','Baranya','7985'),('Nagyhajmás','Baranya','7343'),('Nagyharsány','Baranya','7822'),('Nagykozár','Baranya','7741'),('Nagynyárád','Baranya','7784'),('Nagypall','Baranya','7731'),('Nagypeterd','Baranya','7912'),('Nagytótfalu','Baranya','7800'),('Nagyváty','Baranya','7912'),('Nemeske','Baranya','7981'),('Nyugotszenterzsébet','Baranya','7912'),('Óbánya','Baranya','7695'),('Ócsárd','Baranya','7814'),('Ófalu','Baranya','7695'),('Okorág','Baranya','7957'),('Okorvölgy','Baranya','7681'),('Olasz','Baranya','7745'),('Old','Baranya','7824'),('Orfű','Baranya','7677'),('Oroszló','Baranya','7370'),('Ózdfalu','Baranya','7836'),('Palé','Baranya','7370'),('Palkonya','Baranya','7771'),('Palotabozsok','Baranya','7727'),('Páprád','Baranya','7838'),('Patapoklosi','Baranya','7923'),('Pécs','Baranya','7668'),('Pécs','Baranya','7628'),('Pécs','Baranya','7693'),('Pécs','Baranya','7691'),('Pécs','Baranya','7631'),('Pécs','Baranya','9693'),('Pécs','Baranya','7639'),('Pécs','Baranya','7600'),('Pécs','Baranya','7634'),('Pécs','Baranya','7630'),('Pécsbagota','Baranya','7951'),('Pécsdevecser','Baranya','7766'),('Pécsudvard','Baranya','7762'),('Pécsvárad','Baranya','7720'),('Pellérd','Baranya','7831'),('Pereked','Baranya','7664'),('Peterd','Baranya','7766'),('Pettend','Baranya','7980'),('Piskó','Baranya','7838'),('Pócsa','Baranya','7756'),('Pogány','Baranya','7666'),('Rádfalva','Baranya','7817'),('Rádfalva','Baranya','7846'),('Regenye','Baranya','7833'),('Romonya','Baranya','7743'),('Rózsafa','Baranya','7914'),('Sámod','Baranya','7841'),('Sárok','Baranya','7781'),('Sásd','Baranya','7370'),('Sátorhely','Baranya','7785'),('Sellye','Baranya','7960'),('Siklós','Baranya','7800'),('Siklós','Baranya','7818'),('Siklósbodony','Baranya','7814'),('Siklósnagyfalu','Baranya','7823'),('Somberek','Baranya','7728'),('Somogyapáti','Baranya','7922'),('Somogyapáti','Baranya','7900'),('Somogyhárságy','Baranya','7925'),('Somogyhatvan','Baranya','7921'),('Somogyviszló','Baranya','7924'),('Sósvertike','Baranya','7960'),('Sumony','Baranya','7960'),('Szabadszentkirály','Baranya','7951'),('Szágy','Baranya','7383'),('Szajk','Baranya','7753'),('Szalánta','Baranya','7811'),('Szalatnak','Baranya','7334'),('Szaporca','Baranya','7843'),('Szárász','Baranya','7188'),('Szászvár','Baranya','7349'),('Szava','Baranya','7813'),('Szava','Baranya','7814'),('Szebény','Baranya','7725'),('Szederkény','Baranya','7751'),('Székelyszabar','Baranya','7737'),('Székelyszabar','Baranya','7700'),('Szellő','Baranya','7661'),('Szemely','Baranya','7763'),('Szemely','Baranya','7761'),('Szentdénes','Baranya','7913'),('Szentegát','Baranya','7915'),('Szentegát','Baranya','7960'),('Szentkatalin','Baranya','7681'),('Szentlászló','Baranya','7925'),('Szentlászló','Baranya','7936'),('Szentlászló','Baranya','7937'),('Szentlőrinc','Baranya','7940'),('Szigetvár','Baranya','7900'),('Szilágy','Baranya','7664'),('Szilvás','Baranya','7811'),('Szőke','Baranya','7833'),('Szőkéd','Baranya','7763'),('Szörény','Baranya','7976'),('Szulimán','Baranya','7932'),('Szűr','Baranya','7735'),('Tarrós','Baranya','7362'),('Tékes','Baranya','7381'),('Teklafalu','Baranya','7973'),('Tengeri','Baranya','7834'),('Tésenfa','Baranya','7843'),('Téseny','Baranya','7834'),('Tófű','Baranya','7348'),('Tormás','Baranya','7383'),('Tormás','Baranya','7393'),('Tótszentgyörgy','Baranya','7981'),('Töttös','Baranya','7755'),('Túrony','Baranya','7811'),('Udvar','Baranya','7718'),('Újpetre','Baranya','7766'),('Újpetre','Baranya','7768'),('Vajszló','Baranya','7838'),('Várad','Baranya','7973'),('Varga','Baranya','7370'),('Vásárosbéc','Baranya','7926'),('Vásárosdombó','Baranya','7362'),('Vázsnok','Baranya','7370'),('Vejti','Baranya','7838'),('Vékény','Baranya','7333'),('Velény','Baranya','7951'),('Véménd','Baranya','7726'),('Versend','Baranya','7752'),('Villány','Baranya','7773'),('Villánykövesd','Baranya','7772'),('Vokány','Baranya','7768'),('Zádor','Baranya','7976'),('Zaláta','Baranya','7839'),('Zengővárkony','Baranya','7720'),('Zók','Baranya','7671'),('Almáskamarás','Békés','5747'),('Battonya','Békés','5830'),('Békés','Békés','5630'),('Békéscsaba','Békés','5600'),('Békéscsaba','Békés','5623'),('Békéscsaba','Békés','5671'),('Békéssámson','Békés','5946'),('Békésszentandrás','Békés','5561'),('Bélmegyer','Békés','5643'),('Biharugra','Békés','5538'),('Bucsa','Békés','5527'),('Csabacsűd','Békés','5551'),('Csabaszabadi','Békés','5609'),('Csanádapáca','Békés','5662'),('Csárdaszállás','Békés','5621'),('Csorvás','Békés','5920'),('Dévaványa','Békés','5510'),('Doboz','Békés','5624'),('Dombegyház','Békés','5836'),('Dombiratos','Békés','5745'),('Ecsegfalva','Békés','5515'),('Elek','Békés','5742'),('Füzesgyarmat','Békés','5525'),('Gádoros','Békés','5932'),('Gerendás','Békés','5925'),('Geszt','Békés','5732'),('Geszt','Békés','5734'),('Gyomaendrőd','Békés','5502'),('Gyomaendrőd','Békés','5500'),('Gyula','Békés','5700'),('Gyula','Békés','5711'),('Hunya','Békés','5555'),('Kamut','Békés','5673'),('Kardos','Békés','5552'),('Kardoskút','Békés','5945'),('Kaszaper','Békés','5948'),('Kertészsziget','Békés','5526'),('Kétegyháza','Békés','5741'),('Kétsoprony','Békés','5674'),('Kevermes','Békés','5744'),('Kisdombegyház','Békés','5837'),('Kondoros','Békés','5553'),('Körösladány','Békés','5516'),('Körösnagyharsány','Békés','5539'),('Köröstarcsa','Békés','5622'),('Körösújfalu','Békés','5536'),('Kötegyán','Békés','5725'),('Kunágota','Békés','5746'),('Lőkösháza','Békés','5743'),('Magyarbánhegyes','Békés','5667'),('Magyardombegyház','Békés','5838'),('Medgyesbodzás','Békés','5664'),('Medgyesbodzás','Békés','5663'),('Medgyesegyháza','Békés','5752'),('Medgyesegyháza','Békés','5666'),('Méhkerék','Békés','5726'),('Mezőberény','Békés','5650'),('Mezőgyán','Békés','5732'),('Mezőhegyes','Békés','5820'),('Mezőkovácsháza','Békés','5800'),('Murony','Békés','5672'),('Nagybánhegyes','Békés','5668'),('Nagykamarás','Békés','5751'),('Nagyszénás','Békés','5931'),('Okány','Békés','5534'),('Orosháza','Békés','5900'),('Orosháza','Békés','5903'),('Orosháza','Békés','5931'),('Orosháza','Békés','5911'),('Örménykút','Békés','5556'),('Pusztaföldvár','Békés','5919'),('Pusztaottlaka','Békés','5665'),('Sarkad','Békés','5720'),('Sarkadkeresztúr','Békés','5731'),('Szabadkígyós','Békés','5712'),('Szarvas','Békés','5540'),('Szeghalom','Békés','5520'),('Tarhos','Békés','5641'),('Telekgerendás','Békés','5675'),('Tótkomlós','Békés','5940'),('Újkígyós','Békés','5661'),('Újszalonta','Békés','5727'),('Végegyháza','Békés','5811'),('Vésztő','Békés','5530'),('Zsadány','Békés','5537'),('Abaújalpár','Borsod-Abaúj-Zemplén','3882'),('Abaújkér','Borsod-Abaúj-Zemplén','3882'),('Abaújkér','Borsod-Abaúj-Zemplén','3860'),('Abaújlak','Borsod-Abaúj-Zemplén','3815'),('Abaújszántó','Borsod-Abaúj-Zemplén','3881'),('Abaújszolnok','Borsod-Abaúj-Zemplén','3809'),('Abaújvár','Borsod-Abaúj-Zemplén','3898'),('Abod','Borsod-Abaúj-Zemplén','3753'),('Abod','Borsod-Abaúj-Zemplén','3752'),('Aggtelek','Borsod-Abaúj-Zemplén','3759'),('Alacska','Borsod-Abaúj-Zemplén','3779'),('Alsóberecki','Borsod-Abaúj-Zemplén','3985'),('Alsódobsza','Borsod-Abaúj-Zemplén','3717'),('Alsógagy','Borsod-Abaúj-Zemplén','3837'),('Alsóregmec','Borsod-Abaúj-Zemplén','3989'),('Alsószuha','Borsod-Abaúj-Zemplén','3726'),('Alsótelekes','Borsod-Abaúj-Zemplén','3735'),('Alsóvadász','Borsod-Abaúj-Zemplén','3811'),('Alsózsolca','Borsod-Abaúj-Zemplén','3571'),('Arka','Borsod-Abaúj-Zemplén','3885'),('Arló','Borsod-Abaúj-Zemplén','3663'),('Arnót','Borsod-Abaúj-Zemplén','3713'),('Ároktő','Borsod-Abaúj-Zemplén','3467'),('Aszaló','Borsod-Abaúj-Zemplén','3841'),('Baktakék','Borsod-Abaúj-Zemplén','3836'),('Balajt','Borsod-Abaúj-Zemplén','3780'),('Bánhorváti','Borsod-Abaúj-Zemplén','3642'),('Bánréve','Borsod-Abaúj-Zemplén','3654'),('Baskó','Borsod-Abaúj-Zemplén','3881'),('Becskeháza','Borsod-Abaúj-Zemplén','3768'),('Bekecs','Borsod-Abaúj-Zemplén','3903'),('Berente','Borsod-Abaúj-Zemplén','3704'),('Beret','Borsod-Abaúj-Zemplén','3834'),('Berzék','Borsod-Abaúj-Zemplén','3575'),('Bodroghalom','Borsod-Abaúj-Zemplén','3987'),('Bodrogkeresztúr','Borsod-Abaúj-Zemplén','3916'),('Bodrogkisfalud','Borsod-Abaúj-Zemplén','3917'),('Bodrogolaszi','Borsod-Abaúj-Zemplén','3943'),('Bódvalenke','Borsod-Abaúj-Zemplén','3768'),('Bódvarákó','Borsod-Abaúj-Zemplén','3764'),('Bódvaszilas','Borsod-Abaúj-Zemplén','3763'),('Bogács','Borsod-Abaúj-Zemplén','3412'),('Boldogkőújfalu','Borsod-Abaúj-Zemplén','3884'),('Boldogkőváralja','Borsod-Abaúj-Zemplén','3885'),('Boldva','Borsod-Abaúj-Zemplén','3794'),('Borsodbóta','Borsod-Abaúj-Zemplén','3658'),('Borsodgeszt','Borsod-Abaúj-Zemplén','3426'),('Borsodivánka','Borsod-Abaúj-Zemplén','3462'),('Borsodnádasd','Borsod-Abaúj-Zemplén','3672'),('Borsodnádasd','Borsod-Abaúj-Zemplén','3671'),('Borsodszentgyörgy','Borsod-Abaúj-Zemplén','3623'),('Borsodszirák','Borsod-Abaúj-Zemplén','3796'),('Bózsva','Borsod-Abaúj-Zemplén','3994'),('Bőcs','Borsod-Abaúj-Zemplén','3574'),('Bükkábrány','Borsod-Abaúj-Zemplén','3422'),('Bükkaranyos','Borsod-Abaúj-Zemplén','3554'),('Bükkmogyorósd','Borsod-Abaúj-Zemplén','3648'),('Bükkszentkereszt','Borsod-Abaúj-Zemplén','3557'),('Bükkzsérc','Borsod-Abaúj-Zemplén','3414'),('Büttös','Borsod-Abaúj-Zemplén','3821'),('Cigánd','Borsod-Abaúj-Zemplén','3973'),('Csenyéte','Borsod-Abaúj-Zemplén','3837'),('Cserépfalu','Borsod-Abaúj-Zemplén','3413'),('Cserépváralja','Borsod-Abaúj-Zemplén','3417'),('Csernely','Borsod-Abaúj-Zemplén','3648'),('Csincse','Borsod-Abaúj-Zemplén','3442'),('Csobád','Borsod-Abaúj-Zemplén','3848'),('Csobaj','Borsod-Abaúj-Zemplén','3927'),('Csokvaomány','Borsod-Abaúj-Zemplén','3647'),('Damak','Borsod-Abaúj-Zemplén','3780'),('Dámóc','Borsod-Abaúj-Zemplén','3978'),('Debréte','Borsod-Abaúj-Zemplén','3825'),('Dédestapolcsány','Borsod-Abaúj-Zemplén','3643'),('Detek','Borsod-Abaúj-Zemplén','3834'),('Domaháza','Borsod-Abaúj-Zemplén','3627'),('Dövény','Borsod-Abaúj-Zemplén','3721'),('Dubicsány','Borsod-Abaúj-Zemplén','3635'),('Edelény','Borsod-Abaúj-Zemplén','3780'),('Egerlövő','Borsod-Abaúj-Zemplén','3461'),('Égerszög','Borsod-Abaúj-Zemplén','3757'),('Emőd','Borsod-Abaúj-Zemplén','3432'),('Encs','Borsod-Abaúj-Zemplén','3860'),('Erdőbénye','Borsod-Abaúj-Zemplén','3932'),('Erdőhorváti','Borsod-Abaúj-Zemplén','3935'),('Fáj','Borsod-Abaúj-Zemplén','3865'),('Fancsal','Borsod-Abaúj-Zemplén','3855'),('Farkaslyuk','Borsod-Abaúj-Zemplén','3608'),('Felsőberecki','Borsod-Abaúj-Zemplén','3985'),('Felsődobsza','Borsod-Abaúj-Zemplén','3847'),('Felsőgagy','Borsod-Abaúj-Zemplén','3837'),('Felsőkelecsény','Borsod-Abaúj-Zemplén','3722'),('Felsőnyárád','Borsod-Abaúj-Zemplén','3721'),('Felsőregmec','Borsod-Abaúj-Zemplén','3989'),('Felsőtelekes','Borsod-Abaúj-Zemplén','3735'),('Felsővadász','Borsod-Abaúj-Zemplén','3814'),('Felsőzsolca','Borsod-Abaúj-Zemplén','3561'),('Filkeháza','Borsod-Abaúj-Zemplén','3994'),('Fony','Borsod-Abaúj-Zemplén','3893'),('Forró','Borsod-Abaúj-Zemplén','3849'),('Fulókércs','Borsod-Abaúj-Zemplén','3864'),('Füzér','Borsod-Abaúj-Zemplén','3996'),('Füzérkajata','Borsod-Abaúj-Zemplén','3994'),('Füzérkomlós','Borsod-Abaúj-Zemplén','3997'),('Füzérradvány','Borsod-Abaúj-Zemplén','3993'),('Gadna','Borsod-Abaúj-Zemplén','3815'),('Gagyapáti','Borsod-Abaúj-Zemplén','3837'),('Gagybátor','Borsod-Abaúj-Zemplén','3817'),('Gagyvendégi','Borsod-Abaúj-Zemplén','3816'),('Galvács','Borsod-Abaúj-Zemplén','3752'),('Garadna','Borsod-Abaúj-Zemplén','3873'),('Gelej','Borsod-Abaúj-Zemplén','3444'),('Gesztely','Borsod-Abaúj-Zemplén','3715'),('Gesztely','Borsod-Abaúj-Zemplén','3563'),('Gibárt','Borsod-Abaúj-Zemplén','3854'),('Girincs','Borsod-Abaúj-Zemplén','3578'),('Golop','Borsod-Abaúj-Zemplén','3906'),('Gömörszőlős','Borsod-Abaúj-Zemplén','3728'),('Gönc','Borsod-Abaúj-Zemplén','3895'),('Göncruszka','Borsod-Abaúj-Zemplén','3894'),('Györgytarló','Borsod-Abaúj-Zemplén','3954'),('Halmaj','Borsod-Abaúj-Zemplén','3842'),('Hangács','Borsod-Abaúj-Zemplén','3795'),('Hangony','Borsod-Abaúj-Zemplén','3626'),('Háromhuta','Borsod-Abaúj-Zemplén','3936'),('Harsány','Borsod-Abaúj-Zemplén','3555'),('Hegymeg','Borsod-Abaúj-Zemplén','3786'),('Hejce','Borsod-Abaúj-Zemplén','3892'),('Hejőbába','Borsod-Abaúj-Zemplén','3593'),('Hejőkeresztúr','Borsod-Abaúj-Zemplén','3597'),('Hejőkürt','Borsod-Abaúj-Zemplén','3588'),('Hejőpapi','Borsod-Abaúj-Zemplén','3594'),('Hejőszalonta','Borsod-Abaúj-Zemplén','3595'),('Hercegkút','Borsod-Abaúj-Zemplén','3958'),('Hernádbűd','Borsod-Abaúj-Zemplén','3853'),('Hernádcéce','Borsod-Abaúj-Zemplén','3887'),('Hernádkak','Borsod-Abaúj-Zemplén','3563'),('Hernádkércs','Borsod-Abaúj-Zemplén','3846'),('Hernádnémeti','Borsod-Abaúj-Zemplén','3564'),('Hernádpetri','Borsod-Abaúj-Zemplén','3874'),('Hernádszentandrás','Borsod-Abaúj-Zemplén','3852'),('Hernádszurdok','Borsod-Abaúj-Zemplén','3875'),('Hernádvécse','Borsod-Abaúj-Zemplén','3874'),('Hét','Borsod-Abaúj-Zemplén','3655'),('Hidasnémeti','Borsod-Abaúj-Zemplén','3876'),('Hidvégardó','Borsod-Abaúj-Zemplén','3768'),('Hollóháza','Borsod-Abaúj-Zemplén','3999'),('Homrogd','Borsod-Abaúj-Zemplén','3812'),('Igrici','Borsod-Abaúj-Zemplén','3459'),('Imola','Borsod-Abaúj-Zemplén','3724'),('Ináncs','Borsod-Abaúj-Zemplén','3851'),('Irota','Borsod-Abaúj-Zemplén','3786'),('Izsófalva','Borsod-Abaúj-Zemplén','3741'),('Izsófalva','Borsod-Abaúj-Zemplén','3744'),('Jákfalva','Borsod-Abaúj-Zemplén','3721'),('Járdánháza','Borsod-Abaúj-Zemplén','3664'),('Jósvafő','Borsod-Abaúj-Zemplén','3758'),('Kács','Borsod-Abaúj-Zemplén','3424'),('Kánó','Borsod-Abaúj-Zemplén','3735'),('Kány','Borsod-Abaúj-Zemplén','3821'),('Karcsa','Borsod-Abaúj-Zemplén','3963'),('Karos','Borsod-Abaúj-Zemplén','3962'),('Kazincbarcika','Borsod-Abaúj-Zemplén','3700'),('Kázsmárk','Borsod-Abaúj-Zemplén','3831'),('Kéked','Borsod-Abaúj-Zemplén','3899'),('Kelemér','Borsod-Abaúj-Zemplén','3728'),('Kenézlő','Borsod-Abaúj-Zemplén','3955'),('Keresztéte','Borsod-Abaúj-Zemplén','3821'),('Kesznyéten','Borsod-Abaúj-Zemplén','3579'),('Királd','Borsod-Abaúj-Zemplén','3657'),('Kiscsécs','Borsod-Abaúj-Zemplén','3578'),('Kisgyőr','Borsod-Abaúj-Zemplén','3556'),('Kishuta','Borsod-Abaúj-Zemplén','3994'),('Kiskinizs','Borsod-Abaúj-Zemplén','3843'),('Kisrozvágy','Borsod-Abaúj-Zemplén','3965'),('Kissikátor','Borsod-Abaúj-Zemplén','3627'),('Kistokaj','Borsod-Abaúj-Zemplén','3553'),('Komjáti','Borsod-Abaúj-Zemplén','3765'),('Komlóska','Borsod-Abaúj-Zemplén','3937'),('Kondó','Borsod-Abaúj-Zemplén','3775'),('Korlát','Borsod-Abaúj-Zemplén','3886'),('Kovácsvágás','Borsod-Abaúj-Zemplén','3992'),('Köröm','Borsod-Abaúj-Zemplén','3577'),('Krasznokvajda','Borsod-Abaúj-Zemplén','3821'),('Kupa','Borsod-Abaúj-Zemplén','3813'),('Kurityán','Borsod-Abaúj-Zemplén','3732'),('Lácacséke','Borsod-Abaúj-Zemplén','3967'),('Ládbesenyő','Borsod-Abaúj-Zemplén','3780'),('Lak','Borsod-Abaúj-Zemplén','3786'),('Legyesbénye','Borsod-Abaúj-Zemplén','3904'),('Léh','Borsod-Abaúj-Zemplén','3832'),('Lénárddaróc','Borsod-Abaúj-Zemplén','3648'),('Litka','Borsod-Abaúj-Zemplén','3866'),('Mád','Borsod-Abaúj-Zemplén','3909'),('Makkoshotyka','Borsod-Abaúj-Zemplén','3959'),('Mályi','Borsod-Abaúj-Zemplén','3434'),('Mályinka','Borsod-Abaúj-Zemplén','3645'),('Martonyi','Borsod-Abaúj-Zemplén','3755'),('Megyaszó','Borsod-Abaúj-Zemplén','3718'),('Méra','Borsod-Abaúj-Zemplén','3871'),('Meszes','Borsod-Abaúj-Zemplén','3754'),('Mezőcsát','Borsod-Abaúj-Zemplén','3450'),('Mezőkeresztes','Borsod-Abaúj-Zemplén','3441'),('Mezőkövesd','Borsod-Abaúj-Zemplén','3400'),('Mezőnagymihály','Borsod-Abaúj-Zemplén','3443'),('Mezőnyárád','Borsod-Abaúj-Zemplén','3421'),('Mezőzombor','Borsod-Abaúj-Zemplén','3931'),('Mikóháza','Borsod-Abaúj-Zemplén','3989'),('Miskolc','Borsod-Abaúj-Zemplén','3501'),('Miskolc','Borsod-Abaúj-Zemplén','3516'),('Miskolc','Borsod-Abaúj-Zemplén','3532'),('Miskolc','Borsod-Abaúj-Zemplén','3525'),('Miskolc','Borsod-Abaúj-Zemplén','3533'),('Miskolc','Borsod-Abaúj-Zemplén','3558'),('Miskolc','Borsod-Abaúj-Zemplén','3511'),('Miskolc','Borsod-Abaúj-Zemplén','3510'),('Miskolc','Borsod-Abaúj-Zemplén','3508'),('Miskolc','Borsod-Abaúj-Zemplén','3518'),('Miskolc','Borsod-Abaúj-Zemplén','3527'),('Miskolc','Borsod-Abaúj-Zemplén','3531'),('Miskolc','Borsod-Abaúj-Zemplén','3519'),('Miskolc','Borsod-Abaúj-Zemplén','3534'),('Miskolc','Borsod-Abaúj-Zemplén','3529'),('Miskolc','Borsod-Abaúj-Zemplén','3517'),('Miskolc','Borsod-Abaúj-Zemplén','3521'),('Miskolc','Borsod-Abaúj-Zemplén','3500'),('Miskolc','Borsod-Abaúj-Zemplén','3528'),('Miskolc','Borsod-Abaúj-Zemplén','3535'),('Mogyoróska','Borsod-Abaúj-Zemplén','3893'),('Monaj','Borsod-Abaúj-Zemplén','3812'),('Monok','Borsod-Abaúj-Zemplén','3905'),('Múcsony','Borsod-Abaúj-Zemplén','3744'),('Muhi','Borsod-Abaúj-Zemplén','3552'),('Nagybarca','Borsod-Abaúj-Zemplén','3641'),('Nagycsécs','Borsod-Abaúj-Zemplén','3598'),('Nagyhuta','Borsod-Abaúj-Zemplén','3994'),('Nagykinizs','Borsod-Abaúj-Zemplén','3844'),('Nagyrozvágy','Borsod-Abaúj-Zemplén','3965'),('Négyes','Borsod-Abaúj-Zemplén','3463'),('Nekézseny','Borsod-Abaúj-Zemplén','3646'),('Nemesbikk','Borsod-Abaúj-Zemplén','3592'),('Novajidrány','Borsod-Abaúj-Zemplén','3872'),('Nyékládháza','Borsod-Abaúj-Zemplén','3433'),('Nyésta','Borsod-Abaúj-Zemplén','3809'),('Nyíri','Borsod-Abaúj-Zemplén','3997'),('Nyomár','Borsod-Abaúj-Zemplén','3795'),('Olaszliszka','Borsod-Abaúj-Zemplén','3933'),('Onga','Borsod-Abaúj-Zemplén','3562'),('Ónod','Borsod-Abaúj-Zemplén','3551'),('Ormosbánya','Borsod-Abaúj-Zemplén','3743'),('Oszlár','Borsod-Abaúj-Zemplén','3591'),('Ózd','Borsod-Abaúj-Zemplén','3604'),('Ózd','Borsod-Abaúj-Zemplén','3651'),('Ózd','Borsod-Abaúj-Zemplén','3600'),('Ózd','Borsod-Abaúj-Zemplén','3621'),('Ózd','Borsod-Abaúj-Zemplén','3661'),('Pácin','Borsod-Abaúj-Zemplén','3964'),('Pálháza','Borsod-Abaúj-Zemplén','3994'),('Pamlény','Borsod-Abaúj-Zemplén','3821'),('Pányok','Borsod-Abaúj-Zemplén','3898'),('Parasznya','Borsod-Abaúj-Zemplén','3777'),('Pere','Borsod-Abaúj-Zemplén','3853'),('Perecse','Borsod-Abaúj-Zemplén','3821'),('Perkupa','Borsod-Abaúj-Zemplén','3756'),('Prügy','Borsod-Abaúj-Zemplén','3925'),('Pusztafalu','Borsod-Abaúj-Zemplén','3995'),('Pusztaradvány','Borsod-Abaúj-Zemplén','3874'),('Putnok','Borsod-Abaúj-Zemplén','3630'),('Radostyán','Borsod-Abaúj-Zemplén','3776'),('Ragály','Borsod-Abaúj-Zemplén','3724'),('Rakaca','Borsod-Abaúj-Zemplén','3825'),('Rakacaszend','Borsod-Abaúj-Zemplén','3826'),('Rásonysápberencs','Borsod-Abaúj-Zemplén','3833'),('Rátka','Borsod-Abaúj-Zemplén','3908'),('Regéc','Borsod-Abaúj-Zemplén','3893'),('Répáshuta','Borsod-Abaúj-Zemplén','3559'),('Révleányvár','Borsod-Abaúj-Zemplén','3976'),('Ricse','Borsod-Abaúj-Zemplén','3974'),('Rudabánya','Borsod-Abaúj-Zemplén','3733'),('Rudolftelep','Borsod-Abaúj-Zemplén','3742'),('Sajóbábony','Borsod-Abaúj-Zemplén','3792'),('Sajóecseg','Borsod-Abaúj-Zemplén','3793'),('Sajógalgóc','Borsod-Abaúj-Zemplén','3636'),('Sajóhídvég','Borsod-Abaúj-Zemplén','3576'),('Sajóivánka','Borsod-Abaúj-Zemplén','3720'),('Sajókápolna','Borsod-Abaúj-Zemplén','3773'),('Sajókaza','Borsod-Abaúj-Zemplén','3720'),('Sajókeresztúr','Borsod-Abaúj-Zemplén','3791'),('Sajólád','Borsod-Abaúj-Zemplén','3572'),('Sajólászlófalva','Borsod-Abaúj-Zemplén','3773'),('Sajómercse','Borsod-Abaúj-Zemplén','3656'),('Sajónémeti','Borsod-Abaúj-Zemplén','3652'),('Sajóörös','Borsod-Abaúj-Zemplén','3586'),('Sajópálfala','Borsod-Abaúj-Zemplén','3714'),('Sajópetri','Borsod-Abaúj-Zemplén','3573'),('Sajópüspöki','Borsod-Abaúj-Zemplén','3653'),('Sajósenye','Borsod-Abaúj-Zemplén','3712'),('Sajószentpéter','Borsod-Abaúj-Zemplén','3770'),('Sajószöged','Borsod-Abaúj-Zemplén','3599'),('Sajóvámos','Borsod-Abaúj-Zemplén','3712'),('Sajóvelezd','Borsod-Abaúj-Zemplén','3656'),('Sály','Borsod-Abaúj-Zemplén','3425'),('Sárazsadány','Borsod-Abaúj-Zemplén','3942'),('Sárospatak','Borsod-Abaúj-Zemplén','3950'),('Sárospatak','Borsod-Abaúj-Zemplén','3961'),('Sárospatak','Borsod-Abaúj-Zemplén','3980'),('Sáta','Borsod-Abaúj-Zemplén','3659'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3980'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3944'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3945'),('Sátoraljaújhely','Borsod-Abaúj-Zemplén','3988'),('Selyeb','Borsod-Abaúj-Zemplén','3809'),('Semjén','Borsod-Abaúj-Zemplén','3974'),('Serényfalva','Borsod-Abaúj-Zemplén','3729'),('Sima','Borsod-Abaúj-Zemplén','3881'),('Sóstófalva','Borsod-Abaúj-Zemplén','3716'),('Szakácsi','Borsod-Abaúj-Zemplén','3786'),('Szakáld','Borsod-Abaúj-Zemplén','3596'),('Szalaszend','Borsod-Abaúj-Zemplén','3863'),('Szalonna','Borsod-Abaúj-Zemplén','3754'),('Szászfa','Borsod-Abaúj-Zemplén','3821'),('Szegi','Borsod-Abaúj-Zemplén','3918'),('Szegilong','Borsod-Abaúj-Zemplén','3918'),('Szemere','Borsod-Abaúj-Zemplén','3866'),('Szendrő','Borsod-Abaúj-Zemplén','3752'),('Szendrő','Borsod-Abaúj-Zemplén','3751'),('Szendrőlád','Borsod-Abaúj-Zemplén','3751'),('Szentistván','Borsod-Abaúj-Zemplén','3418'),('Szentistvánbaksa','Borsod-Abaúj-Zemplén','3844'),('Szerencs','Borsod-Abaúj-Zemplén','3900'),('Szikszó','Borsod-Abaúj-Zemplén','3800'),('Szin','Borsod-Abaúj-Zemplén','3761'),('Szinpetri','Borsod-Abaúj-Zemplén','3761'),('Szirmabesenyő','Borsod-Abaúj-Zemplén','3711'),('Szomolya','Borsod-Abaúj-Zemplén','3411'),('Szögliget','Borsod-Abaúj-Zemplén','3762'),('Szőlősardó','Borsod-Abaúj-Zemplén','3757'),('Szuhafő','Borsod-Abaúj-Zemplén','3726'),('Szuhakálló','Borsod-Abaúj-Zemplén','3731'),('Szuhogy','Borsod-Abaúj-Zemplén','3734'),('Taktabáj','Borsod-Abaúj-Zemplén','3926'),('Taktaharkány','Borsod-Abaúj-Zemplén','3922'),('Taktakenéz','Borsod-Abaúj-Zemplén','3924'),('Taktaszada','Borsod-Abaúj-Zemplén','3921'),('Tállya','Borsod-Abaúj-Zemplén','3907'),('Tarcal','Borsod-Abaúj-Zemplén','3915'),('Tard','Borsod-Abaúj-Zemplén','3416'),('Tardona','Borsod-Abaúj-Zemplén','3644'),('Telkibánya','Borsod-Abaúj-Zemplén','3896'),('Teresztenye','Borsod-Abaúj-Zemplén','3757'),('Tibolddaróc','Borsod-Abaúj-Zemplén','3423'),('Tiszabábolna','Borsod-Abaúj-Zemplén','3465'),('Tiszacsermely','Borsod-Abaúj-Zemplén','3972'),('Tiszadorogma','Borsod-Abaúj-Zemplén','3466'),('Tiszakarád','Borsod-Abaúj-Zemplén','3971'),('Tiszakeszi','Borsod-Abaúj-Zemplén','3458'),('Tiszaladány','Borsod-Abaúj-Zemplén','3929'),('Tiszalúc','Borsod-Abaúj-Zemplén','3565'),('Tiszapalkonya','Borsod-Abaúj-Zemplén','3587'),('Tiszatardos','Borsod-Abaúj-Zemplén','3928'),('Tiszatarján','Borsod-Abaúj-Zemplén','3589'),('Tiszaújváros','Borsod-Abaúj-Zemplén','3580'),('Tiszavalk','Borsod-Abaúj-Zemplén','3464'),('Tokaj','Borsod-Abaúj-Zemplén','3910'),('Tolcsva','Borsod-Abaúj-Zemplén','3934'),('Tomor','Borsod-Abaúj-Zemplén','3787'),('Tornabarakony','Borsod-Abaúj-Zemplén','3765'),('Tornakápolna','Borsod-Abaúj-Zemplén','3761'),('Tornanádaska','Borsod-Abaúj-Zemplén','3767'),('Tornaszentandrás','Borsod-Abaúj-Zemplén','3765'),('Tornaszentjakab','Borsod-Abaúj-Zemplén','3769'),('Tornyosnémeti','Borsod-Abaúj-Zemplén','3877'),('Trizs','Borsod-Abaúj-Zemplén','3724'),('Újcsanálos','Borsod-Abaúj-Zemplén','3716'),('Uppony','Borsod-Abaúj-Zemplén','3622'),('Vadna','Borsod-Abaúj-Zemplén','3636'),('Vágáshuta','Borsod-Abaúj-Zemplén','3992'),('Vajdácska','Borsod-Abaúj-Zemplén','3961'),('Vámosújfalu','Borsod-Abaúj-Zemplén','3941'),('Varbó','Borsod-Abaúj-Zemplén','3778'),('Varbóc','Borsod-Abaúj-Zemplén','3756'),('Vatta','Borsod-Abaúj-Zemplén','3431'),('Vatta','Borsod-Abaúj-Zemplén','3442'),('Vilmány','Borsod-Abaúj-Zemplén','3891'),('Vilyvitány','Borsod-Abaúj-Zemplén','3991'),('Viss','Borsod-Abaúj-Zemplén','3956'),('Viszló','Borsod-Abaúj-Zemplén','3825'),('Vizsoly','Borsod-Abaúj-Zemplén','3888'),('Zádorfalva','Borsod-Abaúj-Zemplén','3726'),('Zalkod','Borsod-Abaúj-Zemplén','3957'),('Zemplénagárd','Borsod-Abaúj-Zemplén','3977'),('Ziliz','Borsod-Abaúj-Zemplén','3794'),('Zubogy','Borsod-Abaúj-Zemplén','3723'),('Zsujta','Borsod-Abaúj-Zemplén','3897'),('Algyő','Csongrád','6750'),('Ambrózfalva','Csongrád','6916'),('Apátfalva','Csongrád','6931'),('Árpádhalom','Csongrád','6623'),('Ásotthalom','Csongrád','6783'),('Baks','Csongrád','6768'),('Balástya','Csongrád','6764'),('Bordány','Csongrád','6795'),('Csanádalberti','Csongrád','6915'),('Csanádpalota','Csongrád','6913'),('Csanytelek','Csongrád','6647'),('Csengele','Csongrád','6765'),('Csongrád','Csongrád','6648'),('Csongrád','Csongrád','6640'),('Derekegyház','Csongrád','6621'),('Deszk','Csongrád','6772'),('Dóc','Csongrád','6766'),('Domaszék','Csongrád','6781'),('Eperjes','Csongrád','6624'),('Fábiánsebestyén','Csongrád','6625'),('Felgyő','Csongrád','6645'),('Ferencszállás','Csongrád','6774'),('Forráskút','Csongrád','6793'),('Földeák','Csongrád','6922'),('Hódmezővásárhely','Csongrád','6800'),('Hódmezővásárhely','Csongrád','6636'),('Hódmezővásárhely','Csongrád','6806'),('Királyhegyes','Csongrád','6911'),('Kistelek','Csongrád','6760'),('Kiszombor','Csongrád','6775'),('Klárafalva','Csongrád','6773'),('Kövegy','Csongrád','6912'),('Kübekháza','Csongrád','6755'),('Magyarcsanád','Csongrád','6932'),('Makó','Csongrád','6903'),('Makó','Csongrád','6900'),('Nagymágocs','Csongrád','6622'),('Nagytőke','Csongrád','6612'),('Óföldeák','Csongrád','6923'),('Ópusztaszer','Csongrád','6767'),('Öttömös','Csongrád','6784'),('Pitvaros','Csongrád','6914'),('Pusztamérges','Csongrád','6785'),('Pusztaszer','Csongrád','6769'),('Röszke','Csongrád','6758'),('Ruzsa','Csongrád','6786'),('Sándorfalva','Csongrád','6762'),('Szatymaz','Csongrád','6763'),('Szeged','Csongrád','6726'),('Szeged','Csongrád','6725'),('Szeged','Csongrád','6753'),('Szeged','Csongrád','6750'),('Szeged','Csongrád','6728'),('Szeged','Csongrád','6729'),('Szeged','Csongrád','6710'),('Szeged','Csongrád','6791'),('Szeged','Csongrád','6757'),('Szeged','Csongrád','6700'),('Szeged','Csongrád','6771'),('Szegvár','Csongrád','6635'),('Székkutas','Csongrád','6821'),('Szentes','Csongrád','6600'),('Tiszasziget','Csongrád','6756'),('Tömörkény','Csongrád','6646'),('Újszentiván','Csongrád','6754'),('Üllés','Csongrád','6794'),('Zákányszék','Csongrád','6787'),('Zsombó','Csongrád','6792'),('Aba','Fejér','8127'),('Aba','Fejér','8128'),('Adony','Fejér','2457'),('Alap','Fejér','7011'),('Alcsútdoboz','Fejér','8087'),('Alsószentiván','Fejér','7012'),('Bakonycsernye','Fejér','8056'),('Bakonykúti','Fejér','8045'),('Balinka','Fejér','8054'),('Balinka','Fejér','8055'),('Baracs','Fejér','2426'),('Baracs','Fejér','2427'),('Baracska','Fejér','2471'),('Beloiannisz','Fejér','2455'),('Besnyő','Fejér','2456'),('Bicske','Fejér','2060'),('Bicske','Fejér','2064'),('Bodajk','Fejér','8053'),('Bodmér','Fejér','8085'),('Cece','Fejér','7013'),('Csabdi','Fejér','2064'),('Csákberény','Fejér','8073'),('Csákvár','Fejér','8083'),('Csókakő','Fejér','8074'),('Csór','Fejér','8041'),('Csősz','Fejér','8122'),('Daruszentmiklós','Fejér','2423'),('Dég','Fejér','8135'),('Dunaújváros','Fejér','2400'),('Dunaújváros','Fejér','2407'),('Előszállás','Fejér','2424'),('Enying','Fejér','8130'),('Enying','Fejér','8131'),('Ercsi','Fejér','2451'),('Ercsi','Fejér','2453'),('Etyek','Fejér','2091'),('Fehérvárcsurgó','Fejér','8052'),('Felcsút','Fejér','8086'),('Füle','Fejér','8157'),('Gánt','Fejér','8082'),('Gárdony','Fejér','2484'),('Gárdony','Fejér','2485'),('Gárdony','Fejér','2483'),('Gyúró','Fejér','2464'),('Hantos','Fejér','2434'),('Igar','Fejér','7016'),('Igar','Fejér','7015'),('Iszkaszentgyörgy','Fejér','8043'),('Isztimér','Fejér','8045'),('Iváncsa','Fejér','2454'),('Jenő','Fejér','8146'),('Kajászó','Fejér','2472'),('Káloz','Fejér','8124'),('Kápolnásnyék','Fejér','2475'),('Kincsesbánya','Fejér','8044'),('Kisapostag','Fejér','2428'),('Kisláng','Fejér','8156'),('Kőszárhegy','Fejér','8152'),('Kulcs','Fejér','2458'),('Lajoskomárom','Fejér','8136'),('Lepsény','Fejér','8132'),('Lovasberény','Fejér','8093'),('Magyaralmás','Fejér','8071'),('Mány','Fejér','2065'),('Martonvásár','Fejér','2462'),('Mátyásdomb','Fejér','8134'),('Mezőfalva','Fejér','2422'),('Mezőkomárom','Fejér','8137'),('Mezőszentgyörgy','Fejér','8133'),('Mezőszilas','Fejér','7017'),('Moha','Fejér','8042'),('Mór','Fejér','8060'),('Nadap','Fejér','8097'),('Nádasdladány','Fejér','8145'),('Nagykarácsony','Fejér','2425'),('Nagylók','Fejér','2435'),('Nagyveleg','Fejér','8065'),('Nagyvenyim','Fejér','2421'),('Óbarok','Fejér','2063'),('Pákozd','Fejér','8095'),('Pátka','Fejér','8092'),('Pázmánd','Fejér','2476'),('Perkáta','Fejér','2431'),('Polgárdi','Fejér','8155'),('Polgárdi','Fejér','8154'),('Polgárdi','Fejér','8153'),('Pusztaszabolcs','Fejér','2490'),('Pusztavám','Fejér','8066'),('Rácalmás','Fejér','2459'),('Ráckeresztúr','Fejér','2465'),('Sárbogárd','Fejér','7000'),('Sárbogárd','Fejér','7003'),('Sárbogárd','Fejér','7019'),('Sárbogárd','Fejér','7018'),('Sáregres','Fejér','7014'),('Sárkeresztes','Fejér','8051'),('Sárkeresztúr','Fejér','8125'),('Sárkeszi','Fejér','8144'),('Sárosd','Fejér','2433'),('Sárszentágota','Fejér','8126'),('Sárszentmihály','Fejér','8143'),('Sárszentmihály','Fejér','8141'),('Seregélyes','Fejér','8111'),('Soponya','Fejér','8123'),('Söréd','Fejér','8072'),('Sukoró','Fejér','8096'),('Szabadbattyán','Fejér','8151'),('Szabadegyháza','Fejér','2432'),('Szabadhídvég','Fejér','8138'),('Szabadhídvég','Fejér','8139'),('Szár','Fejér','2066'),('Székesfehérvár','Fejér','8000'),('Székesfehérvár','Fejér','8019'),('Tabajd','Fejér','8088'),('Tác','Fejér','8121'),('Tordas','Fejér','2463'),('Újbarok','Fejér','2066'),('Úrhida','Fejér','8142'),('Vajta','Fejér','7041'),('Vál','Fejér','2473'),('Velence','Fejér','2481'),('Vereb','Fejér','2477'),('Vértesacsa','Fejér','8089'),('Vértesboglár','Fejér','8085'),('Zámoly','Fejér','8081'),('Zichyújfalu','Fejér','8112'),('\"Budapest I. kerület\"','főváros','*'),('\"Budapest II. kerület\"','főváros','*'),('\"Budapest II. kerület\"','főváros','–'),('\"Budapest III. kerület\"','főváros','–'),('\"Budapest III. kerület\"','főváros','*'),('\"Budapest IV. kerület\"','főváros','*'),('\"Budapest IX. kerület\"','főváros','*'),('\"Budapest V. kerület\"','főváros','*'),('\"Budapest VI. kerület\"','főváros','*'),('\"Budapest VII. kerület\"','főváros','*'),('\"Budapest VIII. kerület\"','főváros','*'),('\"Budapest X. kerület\"','főváros','–'),('\"Budapest X. kerület\"','főváros','*'),('\"Budapest XI. kerület\"','főváros','–'),('\"Budapest XI. kerület\"','főváros','*'),('\"Budapest XII. kerület\"','főváros','–'),('\"Budapest XII. kerület\"','főváros','*'),('\"Budapest XIII. kerület\"','főváros','*'),('\"Budapest XIV. kerület\"','főváros','*'),('\"Budapest XIX. kerület\"','főváros','*'),('\"Budapest XV. kerület\"','főváros','*'),('\"Budapest XVI. kerület\"','főváros','–'),('\"Budapest XVI. kerület\"','főváros','*'),('\"Budapest XVII. kerület\"','főváros','–'),('\"Budapest XVII. kerület\"','főváros','*'),('\"Budapest XVIII. kerület\"','főváros','–'),('\"Budapest XVIII. kerület\"','főváros','*'),('\"Budapest XX. kerület\"','főváros','–'),('\"Budapest XX. kerület\"','főváros','*'),('\"Budapest XXI. kerület\"','Főváros','–'),('\"Budapest XXI. kerület\"','Főváros','*'),('\"Budapest XXII. kerület\"','főváros','–'),('\"Budapest XXII. kerület\"','főváros','*'),('\"Budapest XXIII. kerület\"','főváros','*'),('\"Budapest XXIII. kerület\"','főváros','–'),('Abda','Győr-Moson-Sopron','9151'),('Acsalag','Győr-Moson-Sopron','9168'),('Ágfalva','Győr-Moson-Sopron','9423'),('Agyagosszergény','Győr-Moson-Sopron','9441'),('Árpás','Győr-Moson-Sopron','9132'),('Ásványráró','Győr-Moson-Sopron','9177'),('Babót','Győr-Moson-Sopron','9351'),('Bágyogszovát','Győr-Moson-Sopron','9145'),('Bakonygyirót','Győr-Moson-Sopron','8433'),('Bakonypéterd','Győr-Moson-Sopron','9088'),('Bakonyszentlászló','Győr-Moson-Sopron','8431'),('Barbacs','Győr-Moson-Sopron','9169'),('Beled','Győr-Moson-Sopron','9343'),('Bezenye','Győr-Moson-Sopron','9223'),('Bezi','Győr-Moson-Sopron','9162'),('Bodonhely','Győr-Moson-Sopron','9134'),('Bogyoszló','Győr-Moson-Sopron','9324'),('Bőny','Győr-Moson-Sopron','9073'),('Börcs','Győr-Moson-Sopron','9152'),('Bősárkány','Győr-Moson-Sopron','9167'),('Cakóháza','Győr-Moson-Sopron','9165'),('Cirák','Győr-Moson-Sopron','9364'),('Csáfordjánosfa','Győr-Moson-Sopron','9375'),('Csapod','Győr-Moson-Sopron','9372'),('Csér','Győr-Moson-Sopron','9375'),('Csikvánd','Győr-Moson-Sopron','9127'),('Csorna','Győr-Moson-Sopron','9300'),('Csorna','Győr-Moson-Sopron','9147'),('Csorna','Győr-Moson-Sopron','9168'),('Darnózseli','Győr-Moson-Sopron','9232'),('Dénesfa','Győr-Moson-Sopron','9365'),('Dör','Győr-Moson-Sopron','9169'),('Dör','Győr-Moson-Sopron','9147'),('Dunakiliti','Győr-Moson-Sopron','9225'),('Dunaremete','Győr-Moson-Sopron','9235'),('Dunaszeg','Győr-Moson-Sopron','9174'),('Dunaszentpál','Győr-Moson-Sopron','9175'),('Dunasziget','Győr-Moson-Sopron','9226'),('Ebergőc','Győr-Moson-Sopron','9451'),('Écs','Győr-Moson-Sopron','9083'),('Edve','Győr-Moson-Sopron','9343'),('Egyed','Győr-Moson-Sopron','9314'),('Egyházasfalu','Győr-Moson-Sopron','9473'),('Enese','Győr-Moson-Sopron','9143'),('Farád','Győr-Moson-Sopron','9321'),('Fehértó','Győr-Moson-Sopron','9163'),('Feketeerdő','Győr-Moson-Sopron','9211'),('Felpéc','Győr-Moson-Sopron','9122'),('Fenyőfő','Győr-Moson-Sopron','8432'),('Fertőboz','Győr-Moson-Sopron','9493'),('Fertőd','Győr-Moson-Sopron','9431'),('Fertőd','Győr-Moson-Sopron','9433'),('Fertőendréd','Győr-Moson-Sopron','9442'),('Fertőhomok','Győr-Moson-Sopron','9492'),('Fertőrákos','Győr-Moson-Sopron','9421'),('Fertőrákos','Győr-Moson-Sopron','9407'),('Fertőszentmiklós','Győr-Moson-Sopron','9444'),('Fertőszéplak','Győr-Moson-Sopron','9436'),('Gönyű','Győr-Moson-Sopron','9071'),('Gyalóka','Győr-Moson-Sopron','9474'),('Gyarmat','Győr-Moson-Sopron','9126'),('Gyóró','Győr-Moson-Sopron','9363'),('Gyömöre','Győr-Moson-Sopron','9124'),('Győr','Győr-Moson-Sopron','9027'),('Győr','Győr-Moson-Sopron','9028'),('Győr','Győr-Moson-Sopron','9025'),('Győr','Győr-Moson-Sopron','9011'),('Győr','Győr-Moson-Sopron','9026'),('Győr','Győr-Moson-Sopron','9024'),('Győr','Győr-Moson-Sopron','9019'),('Győr','Győr-Moson-Sopron','9000'),('Győr','Győr-Moson-Sopron','9012'),('Győr','Győr-Moson-Sopron','9002'),('Győrasszonyfa','Győr-Moson-Sopron','8436'),('Győrasszonyfa','Győr-Moson-Sopron','9093'),('Győrladamér','Győr-Moson-Sopron','9173'),('Győrság','Győr-Moson-Sopron','9084'),('Győrsövényház','Győr-Moson-Sopron','9161'),('Győrszemere','Győr-Moson-Sopron','9121'),('Győrújbarát','Győr-Moson-Sopron','9081'),('Győrújbarát','Győr-Moson-Sopron','9028'),('Győrújfalu','Győr-Moson-Sopron','9171'),('Győrzámoly','Győr-Moson-Sopron','9172'),('Győrzámoly','Győr-Moson-Sopron','9061'),('Halászi','Győr-Moson-Sopron','9228'),('Harka','Győr-Moson-Sopron','9422'),('Hédervár','Győr-Moson-Sopron','9178'),('Hédervár','Győr-Moson-Sopron','9176'),('Hédervár','Győr-Moson-Sopron','9177'),('Hegyeshalom','Győr-Moson-Sopron','9222'),('Hegykő','Győr-Moson-Sopron','9437'),('Hidegség','Győr-Moson-Sopron','9492'),('Hidegség','Győr-Moson-Sopron','9491'),('Himod','Győr-Moson-Sopron','9362'),('Hövej','Győr-Moson-Sopron','9361'),('Ikrény','Győr-Moson-Sopron','9141'),('Iván','Győr-Moson-Sopron','9374'),('Jánossomorja','Győr-Moson-Sopron','9242'),('Jánossomorja','Győr-Moson-Sopron','9241'),('Jánossomorja','Győr-Moson-Sopron','9167'),('Jánossomorja','Győr-Moson-Sopron','9243'),('Jobaháza','Győr-Moson-Sopron','9323'),('Kajárpéc','Győr-Moson-Sopron','9123'),('Kajárpéc','Győr-Moson-Sopron','8553'),('Kapuvár','Győr-Moson-Sopron','9330'),('Kapuvár','Győr-Moson-Sopron','9339'),('Károlyháza','Győr-Moson-Sopron','9182'),('Kimle','Győr-Moson-Sopron','9181'),('Kisbabot','Győr-Moson-Sopron','9133'),('Kisbajcs','Győr-Moson-Sopron','9062'),('Kisbodak','Győr-Moson-Sopron','9234'),('Kisfalud','Győr-Moson-Sopron','9341'),('Kóny','Győr-Moson-Sopron','9144'),('Kópháza','Győr-Moson-Sopron','9495'),('Koroncó','Győr-Moson-Sopron','9113'),('Kunsziget','Győr-Moson-Sopron','9184'),('Lázi','Győr-Moson-Sopron','9089'),('Lébény','Győr-Moson-Sopron','9183'),('Lébény','Győr-Moson-Sopron','9155'),('Levél','Győr-Moson-Sopron','9221'),('Lipót','Győr-Moson-Sopron','9233'),('Lövő','Győr-Moson-Sopron','9461'),('Maglóca','Győr-Moson-Sopron','9169'),('Magyarkeresztúr','Győr-Moson-Sopron','9346'),('Máriakálnok','Győr-Moson-Sopron','9231'),('Markotabödöge','Győr-Moson-Sopron','9164'),('Mecsér','Győr-Moson-Sopron','9176'),('Mérges','Győr-Moson-Sopron','9136'),('Mezőörs','Győr-Moson-Sopron','9097'),('Mihályi','Győr-Moson-Sopron','9342'),('Mórichida','Győr-Moson-Sopron','9131'),('Mosonmagyaróvár','Győr-Moson-Sopron','9200'),('Mosonszentmiklós','Győr-Moson-Sopron','9183'),('Mosonszentmiklós','Győr-Moson-Sopron','9154'),('Mosonszentmiklós','Győr-Moson-Sopron','9152'),('Mosonszolnok','Győr-Moson-Sopron','9245'),('Nagybajcs','Győr-Moson-Sopron','9063'),('Nagycenk','Győr-Moson-Sopron','9485'),('Nagylózs','Győr-Moson-Sopron','9482'),('Nagyszentjános','Győr-Moson-Sopron','9072'),('Nemeskér','Győr-Moson-Sopron','9471'),('Nyalka','Győr-Moson-Sopron','9096'),('Nyúl','Győr-Moson-Sopron','9082'),('Osli','Győr-Moson-Sopron','9354'),('Öttevény','Győr-Moson-Sopron','9153'),('Öttevény','Győr-Moson-Sopron','9183'),('Páli','Győr-Moson-Sopron','9345'),('Pannonhalma','Győr-Moson-Sopron','9091'),('Pannonhalma','Győr-Moson-Sopron','9090'),('Pásztori','Győr-Moson-Sopron','9311'),('Pázmándfalu','Győr-Moson-Sopron','9085'),('Pér','Győr-Moson-Sopron','9099'),('Pér','Győr-Moson-Sopron','9098'),('Pereszteg','Győr-Moson-Sopron','9484'),('Petőháza','Győr-Moson-Sopron','9443'),('Pinnye','Győr-Moson-Sopron','9481'),('Potyond','Győr-Moson-Sopron','9324'),('Pusztacsalád','Győr-Moson-Sopron','9373'),('Püski','Győr-Moson-Sopron','9235'),('Rábacsanak','Győr-Moson-Sopron','9313'),('Rábacsécsény','Győr-Moson-Sopron','9136'),('Rábakecöl','Győr-Moson-Sopron','9344'),('Rábapatona','Győr-Moson-Sopron','9142'),('Rábapordány','Győr-Moson-Sopron','9146'),('Rábasebes','Győr-Moson-Sopron','9327'),('Rábaszentandrás','Győr-Moson-Sopron','9316'),('Rábaszentmihály','Győr-Moson-Sopron','9136'),('Rábaszentmihály','Győr-Moson-Sopron','9135'),('Rábaszentmiklós','Győr-Moson-Sopron','9133'),('Rábatamási','Győr-Moson-Sopron','9322'),('Rábcakapi','Győr-Moson-Sopron','9165'),('Rajka','Győr-Moson-Sopron','9224'),('Ravazd','Győr-Moson-Sopron','9091'),('Ravazd','Győr-Moson-Sopron','9112'),('Répceszemere','Győr-Moson-Sopron','9375'),('Répcevis','Győr-Moson-Sopron','9475'),('Rétalap','Győr-Moson-Sopron','9074'),('Románd','Győr-Moson-Sopron','8434'),('Röjtökmuzsaj','Győr-Moson-Sopron','9451'),('Sarród','Győr-Moson-Sopron','9434'),('Sarród','Győr-Moson-Sopron','9435'),('Sikátor','Győr-Moson-Sopron','8439'),('Sobor','Győr-Moson-Sopron','9315'),('Sokorópátka','Győr-Moson-Sopron','9112'),('Sopron','Győr-Moson-Sopron','9494'),('Sopron','Győr-Moson-Sopron','9400'),('Sopron','Győr-Moson-Sopron','9408'),('Sopron','Győr-Moson-Sopron','9422'),('Sopron','Győr-Moson-Sopron','9407'),('Sopronhorpács','Győr-Moson-Sopron','9463'),('Sopronkövesd','Győr-Moson-Sopron','9483'),('Sopronnémeti','Győr-Moson-Sopron','9325'),('Szakony','Győr-Moson-Sopron','9474'),('Szany','Győr-Moson-Sopron','9317'),('Szárföld','Győr-Moson-Sopron','9353'),('Szerecseny','Győr-Moson-Sopron','9125'),('Szil','Győr-Moson-Sopron','9326'),('Szilsárkány','Győr-Moson-Sopron','9312'),('Táp','Győr-Moson-Sopron','9095'),('Tápszentmiklós','Győr-Moson-Sopron','9094'),('Tarjánpuszta','Győr-Moson-Sopron','9092'),('Tárnokréti','Győr-Moson-Sopron','9165'),('Tényő','Győr-Moson-Sopron','9111'),('Tét','Győr-Moson-Sopron','9100'),('Tét','Győr-Moson-Sopron','9121'),('Töltéstava','Győr-Moson-Sopron','9086'),('Újkér','Győr-Moson-Sopron','9471'),('Újkér','Győr-Moson-Sopron','9472'),('Újrónafő','Győr-Moson-Sopron','9244'),('Und','Győr-Moson-Sopron','9464'),('Vadosfa','Győr-Moson-Sopron','9346'),('Vág','Győr-Moson-Sopron','9327'),('Vámosszabadi','Győr-Moson-Sopron','9061'),('Várbalog','Győr-Moson-Sopron','9243'),('Vásárosfalu','Győr-Moson-Sopron','9343'),('Vének','Győr-Moson-Sopron','9062'),('Veszkény','Győr-Moson-Sopron','9352'),('Veszprémvarsány','Győr-Moson-Sopron','8438'),('Vitnyéd','Győr-Moson-Sopron','9371'),('Völcsej','Győr-Moson-Sopron','9462'),('Zsebeháza','Győr-Moson-Sopron','9346'),('Zsira','Győr-Moson-Sopron','9476'),('Álmosd','Hajdú-Bihar','4285'),('Ártánd','Hajdú-Bihar','4115'),('Bagamér','Hajdú-Bihar','4286'),('Bagamér','Hajdú-Bihar','4264'),('Bakonszeg','Hajdú-Bihar','4164'),('Balmazújváros','Hajdú-Bihar','4060'),('Balmazújváros','Hajdú-Bihar','4063'),('Báránd','Hajdú-Bihar','4161'),('Bedő','Hajdú-Bihar','4128'),('Berekböszörmény','Hajdú-Bihar','4116'),('Berettyóújfalu','Hajdú-Bihar','4100'),('Bihardancsháza','Hajdú-Bihar','4175'),('Biharkeresztes','Hajdú-Bihar','4110'),('Biharnagybajom','Hajdú-Bihar','4172'),('Bihartorda','Hajdú-Bihar','4174'),('Bocskaikert','Hajdú-Bihar','4241'),('Bojt','Hajdú-Bihar','4114'),('Csökmő','Hajdú-Bihar','4145'),('Darvas','Hajdú-Bihar','4144'),('Debrecen','Hajdú-Bihar','4014'),('Debrecen','Hajdú-Bihar','4079'),('Debrecen','Hajdú-Bihar','4002'),('Debrecen','Hajdú-Bihar','4225'),('Debrecen','Hajdú-Bihar','4078'),('Debrecen','Hajdú-Bihar','4000'),('Debrecen','Hajdú-Bihar','4063'),('Derecske','Hajdú-Bihar','4130'),('Ebes','Hajdú-Bihar','4211'),('Egyek','Hajdú-Bihar','4069'),('Egyek','Hajdú-Bihar','4067'),('Esztár','Hajdú-Bihar','4124'),('Folyás','Hajdú-Bihar','4090'),('Folyás','Hajdú-Bihar','4095'),('Földes','Hajdú-Bihar','4177'),('Furta','Hajdú-Bihar','4141'),('Fülöp','Hajdú-Bihar','4266'),('Gáborján','Hajdú-Bihar','4122'),('Görbeháza','Hajdú-Bihar','4075'),('Hajdúbagos','Hajdú-Bihar','4273'),('Hajdúböszörmény','Hajdú-Bihar','4224'),('Hajdúböszörmény','Hajdú-Bihar','4086'),('Hajdúböszörmény','Hajdú-Bihar','4220'),('Hajdúböszörmény','Hajdú-Bihar','4074'),('Hajdúdorog','Hajdú-Bihar','4087'),('Hajdúhadház','Hajdú-Bihar','4242'),('Hajdúnánás','Hajdú-Bihar','4080'),('Hajdúnánás','Hajdú-Bihar','4085'),('Hajdúsámson','Hajdú-Bihar','4251'),('Hajdúszoboszló','Hajdú-Bihar','4181'),('Hajdúszoboszló','Hajdú-Bihar','4200'),('Hajdúszovát','Hajdú-Bihar','4212'),('Hencida','Hajdú-Bihar','4123'),('Hortobágy','Hajdú-Bihar','4071'),('Hosszúpályi','Hajdú-Bihar','4274'),('Hosszúpályi','Hajdú-Bihar','4133'),('Kaba','Hajdú-Bihar','4183'),('Kismarja','Hajdú-Bihar','4126'),('Kokad','Hajdú-Bihar','4284'),('Komádi','Hajdú-Bihar','4138'),('Konyár','Hajdú-Bihar','4133'),('Körösszakál','Hajdú-Bihar','4136'),('Körösszegapáti','Hajdú-Bihar','4135'),('Körösszegapáti','Hajdú-Bihar','4134'),('Létavértes','Hajdú-Bihar','4281'),('Létavértes','Hajdú-Bihar','4283'),('Magyarhomorog','Hajdú-Bihar','4137'),('Mezőpeterd','Hajdú-Bihar','4118'),('Mezősas','Hajdú-Bihar','4134'),('Mikepércs','Hajdú-Bihar','4271'),('Monostorpályi','Hajdú-Bihar','4275'),('Nádudvar','Hajdú-Bihar','4181'),('Nagyhegyes','Hajdú-Bihar','4064'),('Nagykereki','Hajdú-Bihar','4127'),('Nagyrábé','Hajdú-Bihar','4173'),('Nyírábrány','Hajdú-Bihar','4264'),('Nyíracsád','Hajdú-Bihar','4262'),('Nyíradony','Hajdú-Bihar','4253'),('Nyíradony','Hajdú-Bihar','4252'),('Nyíradony','Hajdú-Bihar','4254'),('Nyírmártonfalva','Hajdú-Bihar','4263'),('Parád','Hajdú-Bihar','3240'),('Pocsaj','Hajdú-Bihar','4125'),('Polgár','Hajdú-Bihar','4090'),('Polgár','Hajdú-Bihar','4080'),('Püspökladány','Hajdú-Bihar','4150'),('Sáp','Hajdú-Bihar','4176'),('Sáránd','Hajdú-Bihar','4272'),('Sárrétudvari','Hajdú-Bihar','4171'),('Szentpéterszeg','Hajdú-Bihar','4121'),('Szerep','Hajdú-Bihar','4162'),('Szerep','Hajdú-Bihar','4163'),('Téglás','Hajdú-Bihar','4243'),('Tépe','Hajdú-Bihar','4132'),('Tetétlen','Hajdú-Bihar','4184'),('Tiszacsege','Hajdú-Bihar','4066'),('Tiszagyulaháza','Hajdú-Bihar','4097'),('Told','Hajdú-Bihar','4117'),('Újiráz','Hajdú-Bihar','4146'),('Újléta','Hajdú-Bihar','4288'),('Újszentmargita','Hajdú-Bihar','4065'),('Újtikos','Hajdú-Bihar','4096'),('Vámospércs','Hajdú-Bihar','4287'),('Váncsod','Hajdú-Bihar','4119'),('Vekerd','Hajdú-Bihar','4143'),('Zsáka','Hajdú-Bihar','4142'),('Zsáka','Hajdú-Bihar','4143'),('Abasár','Heves','3261'),('Adács','Heves','3292'),('Aldebrő','Heves','3353'),('Aldebrő','Heves','3355'),('Andornaktálya','Heves','3399'),('Apc','Heves','3032'),('Átány','Heves','3371'),('Atkár','Heves','3213'),('Balaton','Heves','3347'),('Bátor','Heves','3336'),('Bekölce','Heves','3343'),('Bélapátfalva','Heves','3346'),('Besenyőtelek','Heves','3373'),('Boconád','Heves','3368'),('Bodony','Heves','3243'),('Boldog','Heves','3016'),('Bükkszék','Heves','3335'),('Bükkszenterzsébet','Heves','3258'),('Bükkszenterzsébet','Heves','3257'),('Bükkszentmárton','Heves','3346'),('Csány','Heves','3015'),('Demjén','Heves','3395'),('Detk','Heves','3275'),('Domoszló','Heves','3263'),('Dormánd','Heves','3374'),('Ecséd','Heves','3014'),('Ecséd','Heves','3013'),('Eger','Heves','3300'),('Eger','Heves','3304'),('Egerbakta','Heves','3321'),('Egerbocs','Heves','3337'),('Egercsehi','Heves','3341'),('Egerfarmos','Heves','3379'),('Egerszalók','Heves','3394'),('Egerszólát','Heves','3328'),('Erdőkövesd','Heves','3252'),('Erdőtelek','Heves','3358'),('Erk','Heves','3295'),('Fedémes','Heves','3255'),('Feldebrő','Heves','3352'),('Felsőtárkány','Heves','3324'),('Füzesabony','Heves','3390'),('Gyöngyös','Heves','3200'),('Gyöngyös','Heves','3221'),('Gyöngyös','Heves','3232'),('Gyöngyös','Heves','3233'),('Gyöngyöshalász','Heves','3212'),('Gyöngyösoroszi','Heves','3211'),('Gyöngyöspata','Heves','3035'),('Gyöngyössolymos','Heves','3231'),('Gyöngyöstarján','Heves','3036'),('Halmajugra','Heves','3273'),('Hatvan','Heves','3000'),('Heréd','Heves','3011'),('Heves','Heves','3360'),('Hevesaranyos','Heves','3322'),('Hevesvezekény','Heves','3383'),('Hort','Heves','3014'),('Istenmezeje','Heves','3253'),('Ivád','Heves','3248'),('Kál','Heves','3350'),('Kápolna','Heves','3355'),('Karácsond','Heves','3281'),('Kerecsend','Heves','3396'),('Kerekharaszt','Heves','3009'),('Kisfüzes','Heves','3256'),('Kisköre','Heves','3384'),('Kisnána','Heves','3264'),('Kompolt','Heves','3356'),('Kömlő','Heves','3372'),('Lőrinci','Heves','3021'),('Lőrinci','Heves','3023'),('Ludas','Heves','3274'),('Maklár','Heves','3397'),('Markaz','Heves','3262'),('Mátraballa','Heves','3247'),('Mátraderecske','Heves','3246'),('Mátraszentimre','Heves','3235'),('Mátraszentimre','Heves','3234'),('Mezőszemere','Heves','3378'),('Mezőtárkány','Heves','3375'),('Mikófalva','Heves','3344'),('Mónosbél','Heves','3345'),('Mónosbél','Heves','3323'),('Nagyfüged','Heves','3282'),('Nagykökényes','Heves','3012'),('Nagyréde','Heves','3214'),('Nagytálya','Heves','3398'),('Nagyút','Heves','3357'),('Nagyvisnyó','Heves','3517'),('Nagyvisnyó','Heves','3348'),('Nagyvisnyó','Heves','3349'),('Noszvaj','Heves','3325'),('Novaj','Heves','3327'),('Ostoros','Heves','3326'),('Pálosvörösmart','Heves','3261'),('Parád','Heves','3240'),('Parád','Heves','3244'),('Parádsasvár','Heves','3242'),('Pély','Heves','3381'),('Pétervására','Heves','3250'),('Petőfibánya','Heves','3023'),('Poroszló','Heves','3379'),('Poroszló','Heves','3388'),('Recsk','Heves','3245'),('Rózsaszentmárton','Heves','3033'),('Sarud','Heves','3386'),('Sirok','Heves','3332'),('Szajla','Heves','3334'),('Szarvaskő','Heves','3323'),('Szentdomonkos','Heves','3259'),('Szihalom','Heves','3377'),('Szihalom','Heves','3400'),('Szilvásvárad','Heves','3348'),('Szúcs','Heves','3341'),('Szűcsi','Heves','3034'),('Tarnabod','Heves','3369'),('Tarnalelesz','Heves','3258'),('Tarnaméra','Heves','3284'),('Tarnaörs','Heves','3294'),('Tarnaszentmária','Heves','3331'),('Tarnaszentmiklós','Heves','3382'),('Tarnazsadány','Heves','3283'),('Tenk','Heves','3359'),('Terpes','Heves','3334'),('Tiszanána','Heves','3385'),('Tófalu','Heves','3354'),('Újlőrincfalva','Heves','3387'),('Vámosgyörk','Heves','3291'),('Váraszó','Heves','3254'),('Vécs','Heves','3265'),('Verpelét','Heves','3351'),('Verpelét','Heves','3331'),('Verpelét','Heves','3264'),('Visonta','Heves','3271'),('Visznek','Heves','3293'),('Zagyvaszántó','Heves','3031'),('Zaránk','Heves','3296'),('Abádszalók','Jász-Nagykun-Szolnok','5241'),('Abádszalók','Jász-Nagykun-Szolnok','5340'),('Abádszalók','Jász-Nagykun-Szolnok','5242'),('Alattyán','Jász-Nagykun-Szolnok','5142'),('Berekfürdő','Jász-Nagykun-Szolnok','5309'),('Besenyszög','Jász-Nagykun-Szolnok','5071'),('Besenyszög','Jász-Nagykun-Szolnok','5002'),('Cibakháza','Jász-Nagykun-Szolnok','5462'),('Cibakháza','Jász-Nagykun-Szolnok','5461'),('Csataszög','Jász-Nagykun-Szolnok','5064'),('Csépa','Jász-Nagykun-Szolnok','5475'),('Cserkeszőlő','Jász-Nagykun-Szolnok','5465'),('Fegyvernek','Jász-Nagykun-Szolnok','5231'),('Hunyadfalva','Jász-Nagykun-Szolnok','5063'),('Jánoshida','Jász-Nagykun-Szolnok','5143'),('Jászágó','Jász-Nagykun-Szolnok','5124'),('Jászalsószentgyörgy','Jász-Nagykun-Szolnok','5054'),('Jászapáti','Jász-Nagykun-Szolnok','5130'),('Jászárokszállás','Jász-Nagykun-Szolnok','5123'),('Jászberény','Jász-Nagykun-Szolnok','5100'),('Jászberény','Jász-Nagykun-Szolnok','5152'),('Jászboldogháza','Jász-Nagykun-Szolnok','5144'),('Jászdózsa','Jász-Nagykun-Szolnok','5122'),('Jászfelsőszentgyörgy','Jász-Nagykun-Szolnok','5111'),('Jászfényszaru','Jász-Nagykun-Szolnok','5126'),('Jászivány','Jász-Nagykun-Szolnok','5135'),('Jászjákóhalma','Jász-Nagykun-Szolnok','5121'),('Jászkisér','Jász-Nagykun-Szolnok','5137'),('Jászladány','Jász-Nagykun-Szolnok','5055'),('Jászszentandrás','Jász-Nagykun-Szolnok','5130'),('Jászszentandrás','Jász-Nagykun-Szolnok','5136'),('Jásztelek','Jász-Nagykun-Szolnok','5141'),('Karcag','Jász-Nagykun-Szolnok','5300'),('Kenderes','Jász-Nagykun-Szolnok','5349'),('Kenderes','Jász-Nagykun-Szolnok','5331'),('Kengyel','Jász-Nagykun-Szolnok','5083'),('Kétpó','Jász-Nagykun-Szolnok','5411'),('Kisújszállás','Jász-Nagykun-Szolnok','5310'),('Kőtelek','Jász-Nagykun-Szolnok','5062'),('Kuncsorba','Jász-Nagykun-Szolnok','5412'),('Kunhegyes','Jász-Nagykun-Szolnok','5340'),('Kunmadaras','Jász-Nagykun-Szolnok','5321'),('Kunszentmárton','Jász-Nagykun-Szolnok','5440'),('Kunszentmárton','Jász-Nagykun-Szolnok','5449'),('Martfű','Jász-Nagykun-Szolnok','5435'),('Mesterszállás','Jász-Nagykun-Szolnok','5400'),('Mesterszállás','Jász-Nagykun-Szolnok','5452'),('Mezőhék','Jász-Nagykun-Szolnok','5400'),('Mezőhék','Jász-Nagykun-Szolnok','5453'),('Mezőtúr','Jász-Nagykun-Szolnok','5400'),('Nagyiván','Jász-Nagykun-Szolnok','5363'),('Nagykörű','Jász-Nagykun-Szolnok','5065'),('Nagyrév','Jász-Nagykun-Szolnok','5463'),('Öcsöd','Jász-Nagykun-Szolnok','5451'),('Örményes','Jász-Nagykun-Szolnok','5222'),('Pusztamonostor','Jász-Nagykun-Szolnok','5125'),('Rákóczifalva','Jász-Nagykun-Szolnok','5085'),('Rákócziújfalu','Jász-Nagykun-Szolnok','5084'),('Rákócziújfalu','Jász-Nagykun-Szolnok','5435'),('Szajol','Jász-Nagykun-Szolnok','5081'),('Szászberek','Jász-Nagykun-Szolnok','5053'),('Szelevény','Jász-Nagykun-Szolnok','5476'),('Szolnok','Jász-Nagykun-Szolnok','5000'),('Szolnok','Jász-Nagykun-Szolnok','5008'),('Tiszabő','Jász-Nagykun-Szolnok','5232'),('Tiszabura','Jász-Nagykun-Szolnok','5235'),('Tiszabura','Jász-Nagykun-Szolnok','5242'),('Tiszaderzs','Jász-Nagykun-Szolnok','5243'),('Tiszaföldvár','Jász-Nagykun-Szolnok','5461'),('Tiszaföldvár','Jász-Nagykun-Szolnok','5430'),('Tiszafüred','Jász-Nagykun-Szolnok','5363'),('Tiszafüred','Jász-Nagykun-Szolnok','5350'),('Tiszafüred','Jász-Nagykun-Szolnok','5359'),('Tiszagyenda','Jász-Nagykun-Szolnok','5233'),('Tiszaigar','Jász-Nagykun-Szolnok','5361'),('Tiszainoka','Jász-Nagykun-Szolnok','5464'),('Tiszajenő','Jász-Nagykun-Szolnok','5094'),('Tiszakürt','Jász-Nagykun-Szolnok','5471'),('Tiszakürt','Jász-Nagykun-Szolnok','5472'),('Tiszaörs','Jász-Nagykun-Szolnok','5362'),('Tiszapüspöki','Jász-Nagykun-Szolnok','5211'),('Tiszaroff','Jász-Nagykun-Szolnok','5234'),('Tiszasas','Jász-Nagykun-Szolnok','5474'),('Tiszasüly','Jász-Nagykun-Szolnok','5061'),('Tiszaszentimre','Jász-Nagykun-Szolnok','5322'),('Tiszaszentimre','Jász-Nagykun-Szolnok','5323'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5244'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5245'),('Tiszaszőlős','Jász-Nagykun-Szolnok','5246'),('Tiszatenyő','Jász-Nagykun-Szolnok','5082'),('Tiszavárkony','Jász-Nagykun-Szolnok','5095'),('Tiszavárkony','Jász-Nagykun-Szolnok','5092'),('Tomajmonostora','Jász-Nagykun-Szolnok','5324'),('Tószeg','Jász-Nagykun-Szolnok','5091'),('Törökszentmiklós','Jász-Nagykun-Szolnok','5200'),('Törökszentmiklós','Jász-Nagykun-Szolnok','5212'),('Túrkeve','Jász-Nagykun-Szolnok','5420'),('Újszász','Jász-Nagykun-Szolnok','5052'),('Vezseny','Jász-Nagykun-Szolnok','5093'),('Zagyvarékas','Jász-Nagykun-Szolnok','5051'),('Ács','Komárom-Esztergom','2941'),('Ácsteszér','Komárom-Esztergom','2887'),('Ácsteszér','Komárom-Esztergom','2862'),('Aka','Komárom-Esztergom','2862'),('Almásfüzitő','Komárom-Esztergom','2931'),('Annavölgy','Komárom-Esztergom','2529'),('Ászár','Komárom-Esztergom','2881'),('Bábolna','Komárom-Esztergom','2943'),('Baj','Komárom-Esztergom','2836'),('Bajna','Komárom-Esztergom','2525'),('Bajót','Komárom-Esztergom','2533'),('Bajót','Komárom-Esztergom','2535'),('Bakonybánk','Komárom-Esztergom','2885'),('Bakonysárkány','Komárom-Esztergom','2861'),('Bakonyszombathely','Komárom-Esztergom','2884'),('Bana','Komárom-Esztergom','2944'),('Bársonyos','Komárom-Esztergom','2883'),('Bokod','Komárom-Esztergom','2855'),('Császár','Komárom-Esztergom','2858'),('Csatka','Komárom-Esztergom','2888'),('Csém','Komárom-Esztergom','2949'),('Csép','Komárom-Esztergom','2946'),('Csolnok','Komárom-Esztergom','2521'),('Dad','Komárom-Esztergom','2854'),('Dág','Komárom-Esztergom','2522'),('Dorog','Komárom-Esztergom','2510'),('Dömös','Komárom-Esztergom','2027'),('Dunaalmás','Komárom-Esztergom','2545'),('Dunaszentmiklós','Komárom-Esztergom','2897'),('Epöl','Komárom-Esztergom','2526'),('Esztergom','Komárom-Esztergom','2500'),('Esztergom','Komárom-Esztergom','2509'),('Esztergom','Komárom-Esztergom','2508'),('Ete','Komárom-Esztergom','2947'),('Gyermely','Komárom-Esztergom','2821'),('Héreg','Komárom-Esztergom','2832'),('Kecskéd','Komárom-Esztergom','2852'),('Kerékteleki','Komárom-Esztergom','2882'),('Kesztölc','Komárom-Esztergom','2517'),('Kisbér','Komárom-Esztergom','2870'),('Kisbér','Komárom-Esztergom','2879'),('Kisigmánd','Komárom-Esztergom','2948'),('Kocs','Komárom-Esztergom','2898'),('Komárom','Komárom-Esztergom','2900'),('Komárom','Komárom-Esztergom','2921'),('Komárom','Komárom-Esztergom','2903'),('Kömlőd','Komárom-Esztergom','2853'),('Környe','Komárom-Esztergom','2851'),('Lábatlan','Komárom-Esztergom','2541'),('Leányvár','Komárom-Esztergom','2518'),('Máriahalom','Komárom-Esztergom','2527'),('Mocsa','Komárom-Esztergom','2911'),('Mogyorósbánya','Komárom-Esztergom','2535'),('Nagyigmánd','Komárom-Esztergom','2942'),('Nagysáp','Komárom-Esztergom','2524'),('Naszály','Komárom-Esztergom','2899'),('Neszmély','Komárom-Esztergom','2544'),('Nyergesújfalu','Komárom-Esztergom','2536'),('Oroszlány','Komárom-Esztergom','2840'),('Piliscsév','Komárom-Esztergom','2519'),('Pilismarót','Komárom-Esztergom','2028'),('Réde','Komárom-Esztergom','2886'),('Sárisáp','Komárom-Esztergom','2523'),('Súr','Komárom-Esztergom','2889'),('Süttő','Komárom-Esztergom','2543'),('Szákszend','Komárom-Esztergom','2856'),('Szárliget','Komárom-Esztergom','2067'),('Szomód','Komárom-Esztergom','2896'),('Szomor','Komárom-Esztergom','2822'),('Tardos','Komárom-Esztergom','2834'),('Tarján','Komárom-Esztergom','2831'),('Tárkány','Komárom-Esztergom','2945'),('Tát','Komárom-Esztergom','2534'),('Tata','Komárom-Esztergom','2835'),('Tata','Komárom-Esztergom','2890'),('Tatabánya','Komárom-Esztergom','2800'),('Tokod','Komárom-Esztergom','2531'),('Tokodaltáró','Komárom-Esztergom','2532'),('Úny','Komárom-Esztergom','2528'),('Várgesztes','Komárom-Esztergom','2824'),('Vérteskethely','Komárom-Esztergom','2859'),('Vértessomló','Komárom-Esztergom','2823'),('Vértestolna','Komárom-Esztergom','2833'),('Vértesszőlős','Komárom-Esztergom','2837'),('Alsópetény','Nógrád','2617'),('Alsótold','Nógrád','3069'),('Balassagyarmat','Nógrád','2660'),('Bánk','Nógrád','2653'),('Bárna','Nógrád','3126'),('Bátonyterenye','Nógrád','3078'),('Bátonyterenye','Nógrád','3070'),('Becske','Nógrád','2693'),('Bér','Nógrád','3045'),('Bercel','Nógrád','2687'),('Berkenye','Nógrád','2641'),('Bokor','Nógrád','3066'),('Borsosberény','Nógrád','2644'),('Buják','Nógrád','3047'),('Cered','Nógrád','3124'),('Cered','Nógrád','3123'),('Cered','Nógrád','3125'),('Csécse','Nógrád','3052'),('Cserháthaláp','Nógrád','2694'),('Cserhátsurány','Nógrád','2676'),('Cserhátszentiván','Nógrád','3066'),('Csesztve','Nógrád','2678'),('Csitár','Nógrád','2673'),('Debercsény','Nógrád','2694'),('Dejtár','Nógrád','2649'),('Diósjenő','Nógrád','2643'),('Dorogháza','Nógrád','3153'),('Drégelypalánk','Nógrád','2646'),('Ecseg','Nógrád','3053'),('Egyházasdengeleg','Nógrád','3043'),('Egyházasgerge','Nógrád','3185'),('Endrefalva','Nógrád','3165'),('Erdőkürt','Nógrád','2176'),('Erdőtarcsa','Nógrád','2177'),('Érsekvadkert','Nógrád','2659'),('Etes','Nógrád','3136'),('Felsőpetény','Nógrád','2611'),('Felsőtold','Nógrád','3067'),('Galgaguta','Nógrád','2686'),('Garáb','Nógrád','3067'),('Héhalom','Nógrád','3041'),('Héhalom','Nógrád','3024'),('Herencsény','Nógrád','2677'),('Hollókő','Nógrád','3176'),('Hont','Nógrád','2647'),('Horpács','Nógrád','2658'),('Hugyag','Nógrád','2672'),('Iliny','Nógrád','2675'),('Ipolyszög','Nógrád','2660'),('Ipolytarnóc','Nógrád','3138'),('Ipolyvece','Nógrád','2669'),('Jobbágyi','Nógrád','3063'),('Kálló','Nógrád','2175'),('Karancsalja','Nógrád','3181'),('Karancsberény','Nógrád','3137'),('Karancskeszi','Nógrád','3183'),('Karancslapujtő','Nógrád','3182'),('Karancsság','Nógrád','3163'),('Kazár','Nógrád','3127'),('Kazár','Nógrád','3142'),('Kazár','Nógrád','3147'),('Keszeg','Nógrád','2616'),('Kétbodony','Nógrád','2655'),('Kisbágyon','Nógrád','3046'),('Kisbárkány','Nógrád','3075'),('Kisecset','Nógrád','2655'),('Kishartyán','Nógrád','3161'),('Kozárd','Nógrád','3053'),('Kutasó','Nógrád','3066'),('Legénd','Nógrád','2619'),('Litke','Nógrád','3186'),('Lucfalva','Nógrád','3129'),('Ludányhalászi','Nógrád','3188'),('Magyargéc','Nógrád','3133'),('Magyarnándor','Nógrád','2694'),('Márkháza','Nógrád','3075'),('Mátramindszent','Nógrád','3155'),('Mátranovák','Nógrád','3143'),('Mátraszele','Nógrád','3142'),('Mátraszőlős','Nógrád','3068'),('Mátraterenye','Nógrád','3145'),('Mátraverebély','Nógrád','3078'),('Mátraverebély','Nógrád','3077'),('Mihálygerge','Nógrád','3184'),('Mohora','Nógrád','2698'),('Nagybárkány','Nógrád','3075'),('Nagykeresztúr','Nógrád','3129'),('Nagylóc','Nógrád','3175'),('Nagyoroszi','Nógrád','2645'),('Nemti','Nógrád','3152'),('Nézsa','Nógrád','2618'),('Nógrád','Nógrád','2642'),('Nógrádkövesd','Nógrád','2691'),('Nógrádmarcal','Nógrád','2675'),('Nógrádmegyer','Nógrád','3132'),('Nógrádsáp','Nógrád','2685'),('Nógrádsipek','Nógrád','3179'),('Nógrádszakál','Nógrád','3187'),('Nőtincs','Nógrád','2610'),('Őrhalom','Nógrád','2671'),('Ősagárd','Nógrád','2610'),('Palotás','Nógrád','3042'),('Pásztó','Nógrád','3060'),('Pásztó','Nógrád','3065'),('Pásztó','Nógrád','3082'),('Patak','Nógrád','2648'),('Patvarc','Nógrád','2668'),('Piliny','Nógrád','3134'),('Pusztaberki','Nógrád','2658'),('Rákóczibánya','Nógrád','3151'),('Rétság','Nógrád','2651'),('Rimóc','Nógrád','3177'),('Romhány','Nógrád','2654'),('Ságújfalu','Nógrád','3162'),('Salgótarján','Nógrád','3100'),('Salgótarján','Nógrád','3141'),('Salgótarján','Nógrád','3104'),('Salgótarján','Nógrád','3121'),('Salgótarján','Nógrád','3109'),('Sámsonháza','Nógrád','3074'),('Somoskőújfalu','Nógrád','3121'),('Sóshartyán','Nógrád','3131'),('Szalmatercs','Nógrád','3163'),('Szanda','Nógrád','2697'),('Szanda','Nógrád','2687'),('Szarvasgede','Nógrád','3051'),('Szátok','Nógrád','2656'),('Szécsénke','Nógrád','2692'),('Szécsény','Nógrád','3170'),('Szécsényfelfalu','Nógrád','3135'),('Szendehely','Nógrád','2640'),('Szente','Nógrád','2655'),('Szilaspogony','Nógrád','3125'),('Szirák','Nógrád','3044'),('Szuha','Nógrád','3154'),('Szurdokpüspöki','Nógrád','3064'),('Szügy','Nógrád','2699'),('Tar','Nógrád','3073'),('Terény','Nógrád','2696'),('Tereske','Nógrád','2652'),('Tolmács','Nógrád','2657'),('Vanyarc','Nógrád','2688'),('Varsány','Nógrád','3178'),('Vizslás','Nógrád','3128'),('Vizslás','Nógrád','3078'),('Zabar','Nógrád','3124'),('Abony','Pest','2740'),('Acsa','Pest','2683'),('Albertirsa','Pest','2730'),('Alsónémedi','Pest','2364'),('Alsónémedi','Pest','2351'),('Apaj','Pest','2340'),('Apaj','Pest','2345'),('Áporka','Pest','2338'),('Aszód','Pest','2170'),('Bag','Pest','2191'),('Bénye','Pest','2216'),('Bernecebaráti','Pest','2639'),('Biatorbágy','Pest','2051'),('Budajenő','Pest','2093'),('Budakalász','Pest','2011'),('Budakeszi','Pest','2092'),('Budaörs','Pest','2040'),('Bugyi','Pest','2347'),('Cegléd','Pest','2700'),('Cegléd','Pest','2738'),('Ceglédbercel','Pest','2737'),('Csemő','Pest','2713'),('Csévharaszt','Pest','2212'),('Csobánka','Pest','2014'),('Csomád','Pest','2161'),('Csömör','Pest','2141'),('Csömör','Pest','2143'),('Csörög','Pest','2135'),('Csővár','Pest','2615'),('Dabas','Pest','2370'),('Dabas','Pest','2371'),('Dabas','Pest','2373'),('Dánszentmiklós','Pest','2735'),('Dány','Pest','2118'),('Délegyháza','Pest','2337'),('Diósd','Pest','2049'),('Domony','Pest','2182'),('Dömsöd','Pest','2344'),('Dunabogdány','Pest','2023'),('Dunaharaszti','Pest','2330'),('Dunakeszi','Pest','2120'),('Dunavarsány','Pest','2336'),('Ecser','Pest','2233'),('Érd','Pest','2030'),('Erdőkertes','Pest','2113'),('Farmos','Pest','2765'),('Felsőpakony','Pest','2363'),('Fót','Pest','2151'),('Galgagyörk','Pest','2681'),('Galgahévíz','Pest','2193'),('Galgamácsa','Pest','2183'),('Gomba','Pest','2217'),('Göd','Pest','2131'),('Göd','Pest','2132'),('Gödöllő','Pest','2100'),('Gyál','Pest','2360'),('Gyömrő','Pest','2230'),('Halásztelek','Pest','2314'),('Herceghalom','Pest','2053'),('Hernád','Pest','2376'),('Hévízgyörk','Pest','2192'),('Iklad','Pest','2181'),('Inárcs','Pest','2365'),('Ipolydamásd','Pest','2631'),('Ipolytölgyes','Pest','2633'),('Isaszeg','Pest','2117'),('Jászkarajenő','Pest','2746'),('Kakucs','Pest','2366'),('Kartal','Pest','2173'),('Káva','Pest','2215'),('Kemence','Pest','2638'),('Kerepes','Pest','2144'),('Kiskunlacháza','Pest','2340'),('Kismaros','Pest','2623'),('Kisnémedi','Pest','2165'),('Kisoroszi','Pest','2024'),('Kistarcsa','Pest','2143'),('Kocsér','Pest','2755'),('Kóka','Pest','2243'),('Kosd','Pest','2612'),('Kóspallag','Pest','2625'),('Kőröstetétlen','Pest','2745'),('Leányfalu','Pest','2016'),('Letkés','Pest','2632'),('Lórév','Pest','2309'),('Maglód','Pest','2234'),('Majosháza','Pest','2339'),('Makád','Pest','2322'),('Márianosztra','Pest','2629'),('Mende','Pest','2235'),('Mikebuda','Pest','2736'),('Mogyoród','Pest','2146'),('Monor','Pest','2213'),('Monor','Pest','2200'),('Monorierdő','Pest','2213'),('Nagybörzsöny','Pest','2634'),('Nagykáta','Pest','2760'),('Nagykovácsi','Pest','2094'),('Nagykőrös','Pest','2750'),('Nagymaros','Pest','2626'),('Nagytarcsa','Pest','2142'),('Nyáregyháza','Pest','2723'),('Nyársapát','Pest','2712'),('Ócsa','Pest','2364'),('Őrbottyán','Pest','2162'),('Örkény','Pest','2377'),('Pánd','Pest','2214'),('Páty','Pest','2071'),('Pécel','Pest','2119'),('Penc','Pest','2614'),('Perbál','Pest','2074'),('Perőcsény','Pest','2637'),('Péteri','Pest','2209'),('Pilis','Pest','2721'),('Pilisborosjenő','Pest','2097'),('Piliscsaba','Pest','2081'),('Pilisjászfalu','Pest','2080'),('Pilisvörösvár','Pest','2085'),('Pilisszántó','Pest','2095'),('Pilisszentiván','Pest','2084'),('Pilisszentkereszt','Pest','2099'),('Pilisszentkereszt','Pest','2098'),('Pilisszentlászló','Pest','2009'),('Pócsmegyer','Pest','2017'),('Pomáz','Pest','2013'),('Pusztavacs','Pest','2378'),('Pusztazámor','Pest','2039'),('Püspökhatvan','Pest','2682'),('Püspökszilágy','Pest','2166'),('Ráckeve','Pest','2300'),('Rád','Pest','2613'),('Remeteszőlős','Pest','2090'),('Solymár','Pest','2083'),('Sóskút','Pest','2038'),('Sülysáp','Pest','2241'),('Szada','Pest','2111'),('Százhalombatta','Pest','2440'),('Százhalombatta','Pest','2443'),('Százhalombatta','Pest','2444'),('Szentendre','Pest','2000'),('Szentlőrinckáta','Pest','2255'),('Szentmártonkáta','Pest','2254'),('Szigetbecse','Pest','2321'),('Szigetcsép','Pest','2317'),('Szigethalom','Pest','2315'),('Szigetmonostor','Pest','2015'),('Szigetszentmárton','Pest','2318'),('Szigetszentmiklós','Pest','2310'),('Szigetújfalu','Pest','2319'),('Szob','Pest','2628'),('Szokolya','Pest','2624'),('Sződ','Pest','2134'),('Sződliget','Pest','2133'),('Táborfalva','Pest','2381'),('Tahitótfalu','Pest','2022'),('Tahitótfalu','Pest','2021'),('Taksony','Pest','2335'),('Tápióbicske','Pest','2764'),('Tápiógyörgye','Pest','2767'),('Tápióság','Pest','2253'),('Tápiószecső','Pest','2251'),('Tápiószele','Pest','2766'),('Tápiószentmárton','Pest','2711'),('Tápiószőlős','Pest','2769'),('Tápiószőlős','Pest','2766'),('Tárnok','Pest','2461'),('Tatárszentgyörgy','Pest','2375'),('Telki','Pest','2089'),('Tésa','Pest','2636'),('Tinnye','Pest','2086'),('Tóalmás','Pest','2252'),('Tök','Pest','2073'),('Tököl','Pest','2316'),('Törökbálint','Pest','2045'),('Törtel','Pest','2747'),('Tura','Pest','2194'),('Újhartyán','Pest','2367'),('Újlengyel','Pest','2724'),('Újszilvás','Pest','2768'),('Úri','Pest','2244'),('Üllő','Pest','2225'),('Üröm','Pest','2096'),('Vác','Pest','2600'),('Vácduka','Pest','2167'),('Vácegres','Pest','2184'),('Váchartyán','Pest','2164'),('Váckisújfalu','Pest','2185'),('Vácrátót','Pest','2163'),('Vácszentlászló','Pest','2115'),('Valkó','Pest','2114'),('Vámosmikola','Pest','2635'),('Vasad','Pest','2211'),('Vecsés','Pest','2220'),('Veresegyház','Pest','2112'),('Verőce','Pest','2621'),('Verseg','Pest','2174'),('Visegrád','Pest','2025'),('Visegrád','Pest','2026'),('Zebegény','Pest','2627'),('Zsámbék','Pest','2072'),('Zsámbok','Pest','2116'),('Ádánd','Somogy','8653'),('Alsóbogát','Somogy','7443'),('Andocs','Somogy','8675'),('Babócsa','Somogy','7584'),('Bábonymegyer','Somogy','8658'),('Bakháza','Somogy','7585'),('Balatonberény','Somogy','8649'),('Balatonboglár','Somogy','8691'),('Balatonboglár','Somogy','8630'),('Balatonendréd','Somogy','8613'),('Balatonfenyves','Somogy','8646'),('Balatonföldvár','Somogy','8623'),('Balatonkeresztúr','Somogy','8648'),('Balatonlelle','Somogy','8638'),('Balatonmáriafürdő','Somogy','8647'),('Balatonőszöd','Somogy','8637'),('Balatonszabadi','Somogy','8600'),('Balatonszabadi','Somogy','8651'),('Balatonszárszó','Somogy','8624'),('Balatonszemes','Somogy','8636'),('Balatonszentgyörgy','Somogy','8710'),('Balatonújlak','Somogy','8712'),('Bálványos','Somogy','8614'),('Barcs','Somogy','7557'),('Barcs','Somogy','7570'),('Bárdudvarnok','Somogy','7478'),('Baté','Somogy','7271'),('Baté','Somogy','7258'),('Bedegkér','Somogy','8666'),('Bélavár','Somogy','7589'),('Beleg','Somogy','7543'),('Beleg','Somogy','7541'),('Berzence','Somogy','7516'),('Bodrog','Somogy','7439'),('Bolhás','Somogy','7517'),('Bolhó','Somogy','7586'),('Bonnya','Somogy','7283'),('Bonnya','Somogy','7281'),('Böhönye','Somogy','8719'),('Bőszénfa','Somogy','7475'),('Bőszénfa','Somogy','7477'),('Bőszénfa','Somogy','7937'),('Buzsák','Somogy','8695'),('Büssü','Somogy','7273'),('Csákány','Somogy','8735'),('Cserénfa','Somogy','7472'),('Csokonyavisonta','Somogy','7555'),('Csoma','Somogy','7253'),('Csombárd','Somogy','7432'),('Csököly','Somogy','7526'),('Csömend','Somogy','8700'),('Csurgó','Somogy','8840'),('Csurgónagymarton','Somogy','8840'),('Darány','Somogy','7988'),('Drávagárdony','Somogy','7977'),('Drávatamási','Somogy','7979'),('Ecseny','Somogy','7457'),('Edde','Somogy','7443'),('Felsőmocsolád','Somogy','7456'),('Fiad','Somogy','7282'),('Fonó','Somogy','7271'),('Fonyód','Somogy','8640'),('Főnyed','Somogy','8732'),('Gadács','Somogy','7276'),('Gadány','Somogy','8716'),('Gálosfa','Somogy','7473'),('Gamás','Somogy','8685'),('Gige','Somogy','7527'),('Gölle','Somogy','7272'),('Görgeteg','Somogy','7553'),('Gyékényes','Somogy','8851'),('Gyugy','Somogy','8692'),('Hács','Somogy','8694'),('Hajmás','Somogy','7473'),('Háromfa','Somogy','7585'),('Hedrehely','Somogy','7532'),('Hedrehely','Somogy','7533'),('Hedrehely','Somogy','7535'),('Hencse','Somogy','7532'),('Heresznye','Somogy','7587'),('Hetes','Somogy','7432'),('Hollád','Somogy','8731'),('Homokszentgyörgy','Somogy','7537'),('Hosszúvíz','Somogy','8716'),('Igal','Somogy','7464'),('Igal','Somogy','7275'),('Iharos','Somogy','8726'),('Iharosberény','Somogy','8725'),('Inke','Somogy','8724'),('Istvándi','Somogy','7987'),('Jákó','Somogy','7525'),('Juta','Somogy','7431'),('Kadarkút','Somogy','7530'),('Kálmáncsa','Somogy','7538'),('Kánya','Somogy','8667'),('Kapoly','Somogy','8671'),('Kapoly','Somogy','8660'),('Kaposfő','Somogy','7523'),('Kaposgyarmat','Somogy','7473'),('Kaposhomok','Somogy','7261'),('Kaposkeresztúr','Somogy','7258'),('Kaposmérő','Somogy','7521'),('Kaposújlak','Somogy','7522'),('Kaposvár','Somogy','7400'),('Kaposszerdahely','Somogy','7476'),('Kára','Somogy','7285'),('Karád','Somogy','8676'),('Kastélyosdombó','Somogy','7977'),('Kaszó','Somogy','7564'),('Kazsok','Somogy','7274'),('Kelevíz','Somogy','8716'),('Kelevíz','Somogy','8714'),('Kercseliget','Somogy','7256'),('Kereki','Somogy','8618'),('Kéthely','Somogy','8713'),('Kisasszond','Somogy','7523'),('Kisbajom','Somogy','7542'),('Kisbárapáti','Somogy','7282'),('Kisberény','Somogy','8693'),('Kisgyalán','Somogy','7279'),('Kiskorpád','Somogy','7524'),('Komlósd','Somogy','7582'),('Kőkút','Somogy','7530'),('Kőkút','Somogy','7535'),('Kőröshegy','Somogy','8617'),('Kőröshegy','Somogy','8623'),('Kötcse','Somogy','8627'),('Kutas','Somogy','7541'),('Lábod','Somogy','7551'),('Lad','Somogy','7535'),('Lakócsa','Somogy','7918'),('Látrány','Somogy','8681'),('Lengyeltóti','Somogy','8693'),('Lengyeltóti','Somogy','8692'),('Libickozma','Somogy','8707'),('Lulla','Somogy','8660'),('Magyaratád','Somogy','7463'),('Magyaratád','Somogy','7274'),('Magyaregres','Somogy','7441'),('Marcali','Somogy','8714'),('Marcali','Somogy','8700'),('Marcali','Somogy','8709'),('Mernye','Somogy','7453'),('Mernye','Somogy','7456'),('Mesztegnyő','Somogy','8716'),('Mezőcsokonya','Somogy','7434'),('Mike','Somogy','7512'),('Miklósi','Somogy','8669'),('Mosdós','Somogy','7257'),('Nágocs','Somogy','8674'),('Nagyatád','Somogy','7500'),('Nagybajom','Somogy','7561'),('Nagyberény','Somogy','8656'),('Nagyberki','Somogy','7255'),('Nagycsepely','Somogy','8628'),('Nagykorpád','Somogy','7545'),('Nagyszakácsi','Somogy','8739'),('Nemesdéd','Somogy','8722'),('Nemeskisfalud','Somogy','8717'),('Nemesvid','Somogy','8738'),('Nikla','Somogy','8706'),('Nyim','Somogy','8612'),('Orci','Somogy','7400'),('Ordacsehi','Somogy','8635'),('Osztopán','Somogy','7444'),('Öreglak','Somogy','8698'),('Öreglak','Somogy','8695'),('Öreglak','Somogy','8697'),('Őrtilos','Somogy','8854'),('Ötvöskónyi','Somogy','7511'),('Ötvöskónyi','Somogy','7563'),('Pálmajor','Somogy','7561'),('Pamuk','Somogy','8698'),('Patalom','Somogy','7463'),('Patca','Somogy','7477'),('Patosfa','Somogy','7536'),('Péterhida','Somogy','7582'),('Pogányszentpéter','Somogy','8728'),('Polány','Somogy','7458'),('Porrog','Somogy','8858'),('Porrogszentkirály','Somogy','8858'),('Porrogszentpál','Somogy','8858'),('Potony','Somogy','7977'),('Pusztakovácsi','Somogy','8707'),('Pusztakovácsi','Somogy','8708'),('Pusztaszemes','Somogy','8619'),('Ráksi','Somogy','7464'),('Rinyabesenyő','Somogy','7552'),('Rinyakovácsi','Somogy','7527'),('Rinyaszentkirály','Somogy','7513'),('Rinyaújlak','Somogy','7555'),('Rinyaújlak','Somogy','7556'),('Rinyaújnép','Somogy','7584'),('Ságvár','Somogy','8660'),('Ságvár','Somogy','8654'),('Sántos','Somogy','7479'),('Sávoly','Somogy','8732'),('Segesd','Somogy','7562'),('Sérsekszőlős','Somogy','8660'),('Simonfa','Somogy','7474'),('Siófok','Somogy','8600'),('Siójut','Somogy','8652'),('Som','Somogy','8660'),('Som','Somogy','8655'),('Somodor','Somogy','7454'),('Somogyacsa','Somogy','7283'),('Somogyaracs','Somogy','7584'),('Somogyaszaló','Somogy','7452'),('Somogybabod','Somogy','8684'),('Somogybükkösd','Somogy','8858'),('Somogycsicsó','Somogy','8726'),('Somogydöröcske','Somogy','7284'),('Somogyegres','Somogy','8666'),('Somogyfajsz','Somogy','8708'),('Somogygeszti','Somogy','7455'),('Somogyjád','Somogy','7443'),('Somogymeggyes','Somogy','8673'),('Somogysámson','Somogy','8733'),('Somogysárd','Somogy','7435'),('Somogysárd','Somogy','7436'),('Somogysimonyi','Somogy','8737'),('Somogyszentpál','Somogy','8705'),('Somogyszil','Somogy','7276'),('Somogyszob','Somogy','7563'),('Somogytúr','Somogy','8681'),('Somogytúr','Somogy','8683'),('Somogyudvarhely','Somogy','7515'),('Somogyvámos','Somogy','8699'),('Somogyvár','Somogy','8698'),('Somogyzsitfa','Somogy','8734'),('Szabadi','Somogy','7253'),('Szabás','Somogy','7544'),('Szántód','Somogy','8622'),('Szegerdő','Somogy','8732'),('Szenna','Somogy','7477'),('Szenta','Somogy','8849'),('Szentbalázs','Somogy','7472'),('Szentborbás','Somogy','7918'),('Szentgáloskér','Somogy','7465'),('Szenyér','Somogy','8717'),('Szilvásszentmárton','Somogy','7477'),('Szólád','Somogy','8625'),('Szorosad','Somogy','7285'),('Szőkedencs','Somogy','8736'),('Szőlősgyörök','Somogy','8692'),('Szulok','Somogy','7539'),('Tab','Somogy','8660'),('Tapsony','Somogy','8718'),('Tarany','Somogy','7514'),('Táska','Somogy','8696'),('Taszár','Somogy','7261'),('Teleki','Somogy','8626'),('Tengőd','Somogy','8668'),('Tikos','Somogy','8731'),('Torvaj','Somogy','8660'),('Tótújfalu','Somogy','7918'),('Törökkoppány','Somogy','7285'),('Újvárfalva','Somogy','7436'),('Varászló','Somogy','8723'),('Várda','Somogy','7442'),('Vése','Somogy','8721'),('Visnye','Somogy','7533'),('Visnye','Somogy','7478'),('Visz','Somogy','8681'),('Vízvár','Somogy','7588'),('Vörs','Somogy','8711'),('Zákány','Somogy','8852'),('Zákányfalu','Somogy','8853'),('Zala','Somogy','8660'),('Zamárdi','Somogy','8621'),('Zics','Somogy','8672'),('Zimány','Somogy','7471'),('Zselickisfalud','Somogy','7477'),('Zselickislak','Somogy','7400'),('Zselicszentpál','Somogy','7474'),('Ajak','Szabolcs-Szatmár-Bereg','4524'),('Anarcs','Szabolcs-Szatmár-Bereg','4546'),('Apagy','Szabolcs-Szatmár-Bereg','4553'),('Aranyosapáti','Szabolcs-Szatmár-Bereg','4634'),('Baktalórántháza','Szabolcs-Szatmár-Bereg','4561'),('Balkány','Szabolcs-Szatmár-Bereg','4233'),('Balsa','Szabolcs-Szatmár-Bereg','4468'),('Balsa','Szabolcs-Szatmár-Bereg','3955'),('Barabás','Szabolcs-Szatmár-Bereg','4937'),('Bátorliget','Szabolcs-Szatmár-Bereg','4343'),('Benk','Szabolcs-Szatmár-Bereg','4643'),('Beregdaróc','Szabolcs-Szatmár-Bereg','4934'),('Beregsurány','Szabolcs-Szatmár-Bereg','4933'),('Berkesz','Szabolcs-Szatmár-Bereg','4521'),('Besenyőd','Szabolcs-Szatmár-Bereg','4557'),('Beszterec','Szabolcs-Szatmár-Bereg','4488'),('Biri','Szabolcs-Szatmár-Bereg','4235'),('Botpalád','Szabolcs-Szatmár-Bereg','4955'),('Bököny','Szabolcs-Szatmár-Bereg','4231'),('Buj','Szabolcs-Szatmár-Bereg','4483'),('Cégénydányád','Szabolcs-Szatmár-Bereg','4732'),('Csaholc','Szabolcs-Szatmár-Bereg','4967'),('Csaroda','Szabolcs-Szatmár-Bereg','4844'),('Császló','Szabolcs-Szatmár-Bereg','4973'),('Csegöld','Szabolcs-Szatmár-Bereg','4742'),('Csenger','Szabolcs-Szatmár-Bereg','4765'),('Csengersima','Szabolcs-Szatmár-Bereg','4743'),('Csengerújfalu','Szabolcs-Szatmár-Bereg','4764'),('Darnó','Szabolcs-Szatmár-Bereg','4737'),('Demecser','Szabolcs-Szatmár-Bereg','4516'),('Dombrád','Szabolcs-Szatmár-Bereg','4491'),('Dombrád','Szabolcs-Szatmár-Bereg','4492'),('Döge','Szabolcs-Szatmár-Bereg','4495'),('Encsencs','Szabolcs-Szatmár-Bereg','4374'),('Eperjeske','Szabolcs-Szatmár-Bereg','4646'),('Érpatak','Szabolcs-Szatmár-Bereg','4245'),('Érpatak','Szabolcs-Szatmár-Bereg','4244'),('Fábiánháza','Szabolcs-Szatmár-Bereg','4354'),('Fehérgyarmat','Szabolcs-Szatmár-Bereg','4900'),('Fényeslitke','Szabolcs-Szatmár-Bereg','4621'),('Fülesd','Szabolcs-Szatmár-Bereg','4964'),('Fülpösdaróc','Szabolcs-Szatmár-Bereg','4754'),('Gacsály','Szabolcs-Szatmár-Bereg','4972'),('Garbolc','Szabolcs-Szatmár-Bereg','4976'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4483'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','3955'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4471'),('Gávavencsellő','Szabolcs-Szatmár-Bereg','4461'),('Géberjén','Szabolcs-Szatmár-Bereg','4754'),('Gégény','Szabolcs-Szatmár-Bereg','4517'),('Gelénes','Szabolcs-Szatmár-Bereg','4935'),('Gemzse','Szabolcs-Szatmár-Bereg','4567'),('Geszteréd','Szabolcs-Szatmár-Bereg','4232'),('Gulács','Szabolcs-Szatmár-Bereg','4842'),('Győröcske','Szabolcs-Szatmár-Bereg','4625'),('Győrtelek','Szabolcs-Szatmár-Bereg','4752'),('Gyulaháza','Szabolcs-Szatmár-Bereg','4545'),('Gyügye','Szabolcs-Szatmár-Bereg','4733'),('Gyüre','Szabolcs-Szatmár-Bereg','4813'),('Hermánszeg','Szabolcs-Szatmár-Bereg','4735'),('Hetefejércse','Szabolcs-Szatmár-Bereg','4843'),('Hodász','Szabolcs-Szatmár-Bereg','4334'),('Ibrány','Szabolcs-Szatmár-Bereg','4484'),('Ilk','Szabolcs-Szatmár-Bereg','4566'),('Jánd','Szabolcs-Szatmár-Bereg','4841'),('Jánkmajtis','Szabolcs-Szatmár-Bereg','4741'),('Jármi','Szabolcs-Szatmár-Bereg','4337'),('Jéke','Szabolcs-Szatmár-Bereg','4611'),('Kállósemjén','Szabolcs-Szatmár-Bereg','4324'),('Kálmánháza','Szabolcs-Szatmár-Bereg','4434'),('Kántorjánosi','Szabolcs-Szatmár-Bereg','4335'),('Kék','Szabolcs-Szatmár-Bereg','4515'),('Kékcse','Szabolcs-Szatmár-Bereg','4494'),('Kemecse','Szabolcs-Szatmár-Bereg','4501'),('Kérsemjén','Szabolcs-Szatmár-Bereg','4912'),('Kisar','Szabolcs-Szatmár-Bereg','4921'),('Kishódos','Szabolcs-Szatmár-Bereg','4977'),('Kisléta','Szabolcs-Szatmár-Bereg','4325'),('Kisnamény','Szabolcs-Szatmár-Bereg','4737'),('Kispalád','Szabolcs-Szatmár-Bereg','4956'),('Kisvárda','Szabolcs-Szatmár-Bereg','4600'),('Kisvarsány','Szabolcs-Szatmár-Bereg','4811'),('Kisszekeres','Szabolcs-Szatmár-Bereg','4963'),('Kocsord','Szabolcs-Szatmár-Bereg','4751'),('Komlódtótfalu','Szabolcs-Szatmár-Bereg','4765'),('Komoró','Szabolcs-Szatmár-Bereg','4622'),('Kótaj','Szabolcs-Szatmár-Bereg','4482'),('Kölcse','Szabolcs-Szatmár-Bereg','4965'),('Kömörő','Szabolcs-Szatmár-Bereg','4943'),('Laskod','Szabolcs-Szatmár-Bereg','4543'),('Levelek','Szabolcs-Szatmár-Bereg','4555'),('Lónya','Szabolcs-Szatmár-Bereg','4836'),('Lövőpetri','Szabolcs-Szatmár-Bereg','4633'),('Magosliget','Szabolcs-Szatmár-Bereg','4953'),('Magy','Szabolcs-Szatmár-Bereg','4556'),('Mánd','Szabolcs-Szatmár-Bereg','4942'),('Mándok','Szabolcs-Szatmár-Bereg','4644'),('Mándok','Szabolcs-Szatmár-Bereg','4044'),('Máriapócs','Szabolcs-Szatmár-Bereg','4326'),('Márokpapi','Szabolcs-Szatmár-Bereg','4932'),('Mátészalka','Szabolcs-Szatmár-Bereg','4700'),('Mátyus','Szabolcs-Szatmár-Bereg','4835'),('Méhtelek','Szabolcs-Szatmár-Bereg','4975'),('Mérk','Szabolcs-Szatmár-Bereg','4352'),('Mezőladány','Szabolcs-Szatmár-Bereg','4641'),('Milota','Szabolcs-Szatmár-Bereg','4948'),('Nábrád','Szabolcs-Szatmár-Bereg','4911'),('Nagyar','Szabolcs-Szatmár-Bereg','4922'),('Nagycserkesz','Szabolcs-Szatmár-Bereg','4445'),('Nagydobos','Szabolcs-Szatmár-Bereg','4823'),('Nagyecsed','Szabolcs-Szatmár-Bereg','4355'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4501'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4485'),('Nagyhalász','Szabolcs-Szatmár-Bereg','4486'),('Nagyhódos','Szabolcs-Szatmár-Bereg','4977'),('Nagykálló','Szabolcs-Szatmár-Bereg','4320'),('Nagyszekeres','Szabolcs-Szatmár-Bereg','4962'),('Nagyvarsány','Szabolcs-Szatmár-Bereg','4812'),('Napkor','Szabolcs-Szatmár-Bereg','4552'),('Nemesborzova','Szabolcs-Szatmár-Bereg','4942'),('Nyírbátor','Szabolcs-Szatmár-Bereg','4300'),('Nyírbátor','Szabolcs-Szatmár-Bereg','4375'),('Nyírbéltek','Szabolcs-Szatmár-Bereg','4372'),('Nyírbogát','Szabolcs-Szatmár-Bereg','4361'),('Nyírbogdány','Szabolcs-Szatmár-Bereg','4511'),('Nyírbogdány','Szabolcs-Szatmár-Bereg','4512'),('Nyírcsaholy','Szabolcs-Szatmár-Bereg','4356'),('Nyírcsászári','Szabolcs-Szatmár-Bereg','4331'),('Nyírderzs','Szabolcs-Szatmár-Bereg','4332'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4244'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4400'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4461'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4246'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4433'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4481'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4432'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4551'),('Nyíregyháza','Szabolcs-Szatmár-Bereg','4431'),('Nyírgelse','Szabolcs-Szatmár-Bereg','4362'),('Nyírgyulaj','Szabolcs-Szatmár-Bereg','4311'),('Nyíribrony','Szabolcs-Szatmár-Bereg','4535'),('Nyírjákó','Szabolcs-Szatmár-Bereg','4541'),('Nyírkarász','Szabolcs-Szatmár-Bereg','4544'),('Nyírkáta','Szabolcs-Szatmár-Bereg','4333'),('Nyírkércs','Szabolcs-Szatmár-Bereg','4537'),('Nyírlövő','Szabolcs-Szatmár-Bereg','4632'),('Nyírlugos','Szabolcs-Szatmár-Bereg','4371'),('Nyírmada','Szabolcs-Szatmár-Bereg','4564'),('Nyírmeggyes','Szabolcs-Szatmár-Bereg','4722'),('Nyírmihálydi','Szabolcs-Szatmár-Bereg','4363'),('Nyírparasznya','Szabolcs-Szatmár-Bereg','4822'),('Nyírpazony','Szabolcs-Szatmár-Bereg','4531'),('Nyírpilis','Szabolcs-Szatmár-Bereg','4376'),('Nyírtass','Szabolcs-Szatmár-Bereg','4522'),('Nyírtelek','Szabolcs-Szatmár-Bereg','4461'),('Nyírtét','Szabolcs-Szatmár-Bereg','4554'),('Nyírtura','Szabolcs-Szatmár-Bereg','4532'),('Nyírtura','Szabolcs-Szatmár-Bereg','4501'),('Nyírvasvári','Szabolcs-Szatmár-Bereg','4341'),('Ófehértó','Szabolcs-Szatmár-Bereg','4558'),('Olcsva','Szabolcs-Szatmár-Bereg','4826'),('Olcsvaapáti','Szabolcs-Szatmár-Bereg','4914'),('Ópályi','Szabolcs-Szatmár-Bereg','4821'),('Ököritófülpös','Szabolcs-Szatmár-Bereg','4755'),('Ömböly','Szabolcs-Szatmár-Bereg','4373'),('Őr','Szabolcs-Szatmár-Bereg','4336'),('Panyola','Szabolcs-Szatmár-Bereg','4913'),('Pap','Szabolcs-Szatmár-Bereg','4631'),('Papos','Szabolcs-Szatmár-Bereg','4338'),('Paszab','Szabolcs-Szatmár-Bereg','4475'),('Pátroha','Szabolcs-Szatmár-Bereg','4523'),('Pátyod','Szabolcs-Szatmár-Bereg','4766'),('Penészlek','Szabolcs-Szatmár-Bereg','4267'),('Penyige','Szabolcs-Szatmár-Bereg','4941'),('Petneháza','Szabolcs-Szatmár-Bereg','4542'),('Piricse','Szabolcs-Szatmár-Bereg','4375'),('Pócspetri','Szabolcs-Szatmár-Bereg','4327'),('Porcsalma','Szabolcs-Szatmár-Bereg','4761'),('Pusztadobos','Szabolcs-Szatmár-Bereg','4565'),('Rakamaz','Szabolcs-Szatmár-Bereg','4465'),('Ramocsaháza','Szabolcs-Szatmár-Bereg','4536'),('Rápolt','Szabolcs-Szatmár-Bereg','4756'),('Rétközberencs','Szabolcs-Szatmár-Bereg','4525'),('Rohod','Szabolcs-Szatmár-Bereg','4563'),('Rozsály','Szabolcs-Szatmár-Bereg','4971'),('Sényő','Szabolcs-Szatmár-Bereg','4533'),('Sonkád','Szabolcs-Szatmár-Bereg','4954'),('Szabolcs','Szabolcs-Szatmár-Bereg','4467'),('Szabolcsbáka','Szabolcs-Szatmár-Bereg','4547'),('Szabolcsveresmart','Szabolcs-Szatmár-Bereg','4496'),('Szakoly','Szabolcs-Szatmár-Bereg','4234'),('Szamosangyalos','Szabolcs-Szatmár-Bereg','4767'),('Szamosbecs','Szabolcs-Szatmár-Bereg','4745'),('Szamoskér','Szabolcs-Szatmár-Bereg','4721'),('Szamossályi','Szabolcs-Szatmár-Bereg','4735'),('Szamostatárfalva','Szabolcs-Szatmár-Bereg','4746'),('Szamosújlak','Szabolcs-Szatmár-Bereg','4734'),('Szamosszeg','Szabolcs-Szatmár-Bereg','4824'),('Szatmárcseke','Szabolcs-Szatmár-Bereg','4945'),('Székely','Szabolcs-Szatmár-Bereg','4534'),('Szorgalmatos','Szabolcs-Szatmár-Bereg','4441'),('Tákos','Szabolcs-Szatmár-Bereg','4845'),('Tarpa','Szabolcs-Szatmár-Bereg','4931'),('Terem','Szabolcs-Szatmár-Bereg','4342'),('Tiborszállás','Szabolcs-Szatmár-Bereg','4353'),('Timár','Szabolcs-Szatmár-Bereg','4466'),('Tiszaadony','Szabolcs-Szatmár-Bereg','4833'),('Tiszabecs','Szabolcs-Szatmár-Bereg','4951'),('Tiszabercel','Szabolcs-Szatmár-Bereg','4474'),('Tiszabezdéd','Szabolcs-Szatmár-Bereg','4624'),('Tiszacsécse','Szabolcs-Szatmár-Bereg','4947'),('Tiszadada','Szabolcs-Szatmár-Bereg','4455'),('Tiszadob','Szabolcs-Szatmár-Bereg','4456'),('Tiszaeszlár','Szabolcs-Szatmár-Bereg','4446'),('Tiszaeszlár','Szabolcs-Szatmár-Bereg','4464'),('Tiszakanyár','Szabolcs-Szatmár-Bereg','4493'),('Tiszakerecseny','Szabolcs-Szatmár-Bereg','4834'),('Tiszakóród','Szabolcs-Szatmár-Bereg','4946'),('Tiszalök','Szabolcs-Szatmár-Bereg','4450'),('Tiszalök','Szabolcs-Szatmár-Bereg','4447'),('Tiszamogyorós','Szabolcs-Szatmár-Bereg','4645'),('Tiszanagyfalu','Szabolcs-Szatmár-Bereg','4463'),('Tiszanagyfalu','Szabolcs-Szatmár-Bereg','4461'),('Tiszarád','Szabolcs-Szatmár-Bereg','4503'),('Tiszaszalka','Szabolcs-Szatmár-Bereg','4831'),('Tiszaszentmárton','Szabolcs-Szatmár-Bereg','4628'),('Tiszatelek','Szabolcs-Szatmár-Bereg','4486'),('Tiszatelek','Szabolcs-Szatmár-Bereg','4487'),('Tiszavasvári','Szabolcs-Szatmár-Bereg','4440'),('Tiszavid','Szabolcs-Szatmár-Bereg','4832'),('Tisztaberek','Szabolcs-Szatmár-Bereg','4969'),('Tivadar','Szabolcs-Szatmár-Bereg','4921'),('Tornyospálca','Szabolcs-Szatmár-Bereg','4642'),('Tornyospálca','Szabolcs-Szatmár-Bereg','4634'),('Tunyogmatolcs','Szabolcs-Szatmár-Bereg','4731'),('Túristvándi','Szabolcs-Szatmár-Bereg','4944'),('Túrricse','Szabolcs-Szatmár-Bereg','4968'),('Tuzsér','Szabolcs-Szatmár-Bereg','4623'),('Tyukod','Szabolcs-Szatmár-Bereg','4762'),('Újdombrád','Szabolcs-Szatmár-Bereg','4491'),('Újfehértó','Szabolcs-Szatmár-Bereg','4244'),('Újfehértó','Szabolcs-Szatmár-Bereg','4087'),('Újkenéz','Szabolcs-Szatmár-Bereg','4635'),('Ura','Szabolcs-Szatmár-Bereg','4763'),('Uszka','Szabolcs-Szatmár-Bereg','4952'),('Vaja','Szabolcs-Szatmár-Bereg','4562'),('Vállaj','Szabolcs-Szatmár-Bereg','4351'),('Vámosatya','Szabolcs-Szatmár-Bereg','4936'),('Vámosoroszi','Szabolcs-Szatmár-Bereg','4966'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4804'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4803'),('Vásárosnamény','Szabolcs-Szatmár-Bereg','4800'),('Vasmegyer','Szabolcs-Szatmár-Bereg','4502'),('Záhony','Szabolcs-Szatmár-Bereg','4625'),('Zajta','Szabolcs-Szatmár-Bereg','4974'),('Zsarolyán','Szabolcs-Szatmár-Bereg','4961'),('Zsurk','Szabolcs-Szatmár-Bereg','4627'),('Alsónána','Tolna','7147'),('Alsónyék','Tolna','7140'),('Alsónyék','Tolna','7148'),('Aparhant','Tolna','7186'),('Attala','Tolna','7252'),('Attala','Tolna','7200'),('Báta','Tolna','7149'),('Báta','Tolna','7140'),('Bátaapáti','Tolna','7164'),('Bátaszék','Tolna','7140'),('Belecska','Tolna','7061'),('Bikács','Tolna','7043'),('Bogyiszló','Tolna','7132'),('Bogyiszló','Tolna','7100'),('Bonyhád','Tolna','7150'),('Bonyhád','Tolna','7173'),('Bonyhád','Tolna','7696'),('Bonyhád','Tolna','7187'),('Bonyhád','Tolna','7162'),('Bonyhád','Tolna','7159'),('Bonyhádvarasd','Tolna','7158'),('Bölcske','Tolna','7025'),('Bölcske','Tolna','7030'),('Cikó','Tolna','7161'),('Csibrák','Tolna','7225'),('Csikóstőttős','Tolna','7341'),('Dalmand','Tolna','7200'),('Dalmand','Tolna','7211'),('Decs','Tolna','7144'),('Decs','Tolna','7100'),('Diósberény','Tolna','7072'),('Dombóvár','Tolna','7200'),('Döbrököz','Tolna','7228'),('Döbrököz','Tolna','7200'),('Dunaföldvár','Tolna','7020'),('Dunaszentgyörgy','Tolna','7135'),('Dúzs','Tolna','7224'),('Értény','Tolna','7093'),('Fácánkert','Tolna','7136'),('Fadd','Tolna','7133'),('Fadd','Tolna','7139'),('Felsőnána','Tolna','7175'),('Felsőnyék','Tolna','7099'),('Fürged','Tolna','7087'),('Gerjen','Tolna','7134'),('Grábóc','Tolna','7162'),('Gyönk','Tolna','7064'),('Györe','Tolna','7352'),('Györköny','Tolna','7045'),('Gyulaj','Tolna','7227'),('Harc','Tolna','7172'),('Hőgyész','Tolna','7193'),('Hőgyész','Tolna','7191'),('Hőgyész','Tolna','7195'),('Iregszemcse','Tolna','7095'),('Izmény','Tolna','7353'),('Jágónak','Tolna','7357'),('Kajdacs','Tolna','7051'),('Kakasd','Tolna','7122'),('Kalaznó','Tolna','7194'),('Kapospula','Tolna','7200'),('Kapospula','Tolna','7251'),('Kaposszekcső','Tolna','7200'),('Kaposszekcső','Tolna','7361'),('Keszőhidegkút','Tolna','7062'),('Kéty','Tolna','7174'),('Kisdorog','Tolna','7159'),('Kismányok','Tolna','7356'),('Kistormás','Tolna','7068'),('Kisvejke','Tolna','7183'),('Kisszékely','Tolna','7082'),('Kocsola','Tolna','7212'),('Koppányszántó','Tolna','7094'),('Kölesd','Tolna','7052'),('Kurd','Tolna','7226'),('Lápafő','Tolna','7214'),('Lengyel','Tolna','7184'),('Madocsa','Tolna','7026'),('Magyarkeszi','Tolna','7098'),('Medina','Tolna','7057'),('Miszla','Tolna','7066'),('Miszla','Tolna','7065'),('Mórágy','Tolna','7165'),('Mőcsény','Tolna','7163'),('Mucsfa','Tolna','7185'),('Mucsi','Tolna','7195'),('Murga','Tolna','7176'),('Nagydorog','Tolna','7044'),('Nagykónyi','Tolna','7092'),('Nagymányok','Tolna','7355'),('Nagyszékely','Tolna','7085'),('Nagyszokoly','Tolna','7097'),('Nagyvejke','Tolna','7186'),('Nak','Tolna','7215'),('Nak','Tolna','7200'),('Németkér','Tolna','7039'),('Ozora','Tolna','7086'),('Őcsény','Tolna','7143'),('Őcsény','Tolna','7100'),('Paks','Tolna','7030'),('Paks','Tolna','7027'),('Pálfa','Tolna','7042'),('Pári','Tolna','7091'),('Pincehely','Tolna','7084'),('Pörböly','Tolna','7142'),('Pusztahencse','Tolna','7030'),('Pusztahencse','Tolna','7038'),('Regöly','Tolna','7090'),('Regöly','Tolna','7193'),('Sárpilis','Tolna','7145'),('Sárszentlőrinc','Tolna','7047'),('Simontornya','Tolna','7081'),('Sióagárd','Tolna','7171'),('Szakadát','Tolna','7071'),('Szakály','Tolna','7192'),('Szakcs','Tolna','7213'),('Szálka','Tolna','7121'),('Szárazd','Tolna','7063'),('Szedres','Tolna','7056'),('Szedres','Tolna','7054'),('Szekszárd','Tolna','7100'),('Tamási','Tolna','7090'),('Tengelic','Tolna','7054'),('Tevel','Tolna','7159'),('Tevel','Tolna','7181'),('Tolna','Tolna','7130'),('Tolnanémedi','Tolna','7083'),('Udvari','Tolna','7047'),('Udvari','Tolna','7066'),('Újireg','Tolna','7095'),('Váralja','Tolna','7354'),('Várdomb','Tolna','7146'),('Várdomb','Tolna','7100'),('Várong','Tolna','7214'),('Varsád','Tolna','7067'),('Závod','Tolna','7181'),('Závod','Tolna','7182'),('Zomba','Tolna','7173'),('Zomba','Tolna','7172'),('Acsád','Vas','9746'),('Alsószölnök','Vas','9983'),('Alsóújlak','Vas','9842'),('Alsóújlak','Vas','9841'),('Alsóújlak','Vas','9825'),('Andrásfa','Vas','9811'),('Apátistvánfalva','Vas','9982'),('Bajánsenye','Vas','9944'),('Balogunyom','Vas','9771'),('Bejcgyertyános','Vas','9683'),('Bejcgyertyános','Vas','9672'),('Bérbaltavár','Vas','9831'),('Boba','Vas','9542'),('Borgáta','Vas','9554'),('Bozzai','Vas','9752'),('Bozsok','Vas','9727'),('Bő','Vas','9625'),('Bögöt','Vas','9612'),('Bögöte','Vas','9675'),('Bucsu','Vas','9792'),('Bük','Vas','9740'),('Bük','Vas','9737'),('Cák','Vas','9725'),('Celldömölk','Vas','9500'),('Celldömölk','Vas','9541'),('Chernelházadamonya','Vas','9624'),('Csákánydoroszló','Vas','9919'),('Csánig','Vas','9654'),('Csehi','Vas','9833'),('Csehimindszent','Vas','9676'),('Csehimindszent','Vas','9834'),('Csempeszkopács','Vas','9764'),('Csénye','Vas','9611'),('Csepreg','Vas','9735'),('Csepreg','Vas','9474'),('Csipkerek','Vas','9836'),('Csönge','Vas','9513'),('Csörötnek','Vas','9962'),('Daraboshegy','Vas','9917'),('Dozmat','Vas','9791'),('Döbörhegy','Vas','9914'),('Döröske','Vas','9913'),('Duka','Vas','9556'),('Egervölgy','Vas','9684'),('Egyházashetye','Vas','9554'),('Egyházashollós','Vas','9781'),('Egyházasrádóc','Vas','9783'),('Felsőcsatár','Vas','9794'),('Felsőjánosfa','Vas','9934'),('Felsőmarác','Vas','9918'),('Felsőszölnök','Vas','9985'),('Gasztony','Vas','9952'),('Gencsapáti','Vas','9721'),('Gérce','Vas','9672'),('Gersekarát','Vas','9813'),('Gór','Vas','9625'),('Gyanógeregye','Vas','9774'),('Gyöngyösfalu','Vas','9723'),('Győrvár','Vas','9821'),('Halastó','Vas','9814'),('Halogy','Vas','9917'),('Harasztifalu','Vas','9784'),('Hegyfalu','Vas','9631'),('Hegyháthodász','Vas','9915'),('Hegyhátsál','Vas','9915'),('Hegyhátszentjakab','Vas','9934'),('Hegyhátszentmárton','Vas','9931'),('Hegyhátszentpéter','Vas','9826'),('Horvátlövő','Vas','9796'),('Horvátzsidány','Vas','9733'),('Hosszúpereszteg','Vas','9676'),('Ikervár','Vas','9756'),('Iklanberény','Vas','9634'),('Ispánk','Vas','9941'),('Ivánc','Vas','9931'),('Ják','Vas','9798'),('Jákfa','Vas','9643'),('Jánosháza','Vas','9545'),('Káld','Vas','9673'),('Kám','Vas','9841'),('Karakó','Vas','9547'),('Katafa','Vas','9915'),('Keléd','Vas','9549'),('Kemeneskápolna','Vas','9553'),('Kemenesmagasi','Vas','9522'),('Kemenesmihályfa','Vas','9511'),('Kemenesmihályfa','Vas','9561'),('Kemenespálfa','Vas','9544'),('Kemenessömjén','Vas','9517'),('Kemenesszentmárton','Vas','9521'),('Kemestaródfa','Vas','9923'),('Kenéz','Vas','9752'),('Kenyeri','Vas','9514'),('Kercaszomor','Vas','9945'),('Kerkáskápolna','Vas','9944'),('Kétvölgy','Vas','9982'),('Kisrákos','Vas','9936'),('Kissomlyó','Vas','9555'),('Kisunyom','Vas','9772'),('Kiszsidány','Vas','9733'),('Kondorfa','Vas','9943'),('Köcsk','Vas','9553'),('Körmend','Vas','9900'),('Körmend','Vas','9909'),('Kőszeg','Vas','9730'),('Kőszegdoroszló','Vas','9725'),('Kőszegpaty','Vas','9739'),('Kőszegszerdahely','Vas','9725'),('Lócs','Vas','9634'),('Lukácsháza','Vas','9724'),('Magyarlak','Vas','9962'),('Magyarnádalja','Vas','9909'),('Magyarszecsőd','Vas','9912'),('Magyarszombatfa','Vas','9946'),('Megyehíd','Vas','9754'),('Meggyeskovácsi','Vas','9757'),('Meggyeskovácsi','Vas','9764'),('Mersevát','Vas','9531'),('Mesterháza','Vas','9662'),('Mesteri','Vas','9551'),('Meszlen','Vas','9745'),('Mikosszéplak','Vas','9835'),('Molnaszecsőd','Vas','9912'),('Nádasd','Vas','9915'),('Nagygeresd','Vas','9664'),('Nagykölked','Vas','9784'),('Nagymizdó','Vas','9913'),('Nagyrákos','Vas','9938'),('Nagysimonyi','Vas','9561'),('Nagytilaj','Vas','9832'),('Nárai','Vas','9797'),('Narda','Vas','9793'),('Nemesbőd','Vas','9749'),('Nemescsó','Vas','9739'),('Nemeskeresztúr','Vas','9548'),('Nemeskocs','Vas','9542'),('Nemeskolta','Vas','9775'),('Nemesládony','Vas','9663'),('Nemesmedves','Vas','9953'),('Nemesrempehollós','Vas','9782'),('Nick','Vas','9652'),('Nyőgér','Vas','9682'),('Olaszfa','Vas','9824'),('Ólmod','Vas','9733'),('Orfalu','Vas','9982'),('Ostffyasszonyfa','Vas','9512'),('Oszkó','Vas','9825'),('Ölbő','Vas','9621'),('Őrimagyarósd','Vas','9933'),('Őriszentpéter','Vas','9941'),('Pácsony','Vas','9823'),('Pankasz','Vas','9937'),('Pápoc','Vas','9515'),('Pecöl','Vas','9754'),('Perenye','Vas','9722'),('Peresznye','Vas','9734'),('Petőmihályfa','Vas','9826'),('Pinkamindszent','Vas','9922'),('Pornóapáti','Vas','9796'),('Porpác','Vas','9612'),('Pósfa','Vas','9636'),('Pusztacsó','Vas','9739'),('Püspökmolnári','Vas','9776'),('Rábagyarmat','Vas','9961'),('Rábahídvég','Vas','9777'),('Rábapaty','Vas','9641'),('Rábatöttös','Vas','9766'),('Rádóckölked','Vas','9784'),('Rátót','Vas','9951'),('Répcelak','Vas','9653'),('Répceszentgyörgy','Vas','9623'),('Rönök','Vas','9954'),('Rum','Vas','9766'),('Sajtoskál','Vas','9632'),('Salköveskút','Vas','9742'),('Salköveskút','Vas','9746'),('Sárfimizdó','Vas','9813'),('Sárvár','Vas','9600'),('Sárvár','Vas','9609'),('Sárvár','Vas','9608'),('Sé','Vas','9789'),('Simaság','Vas','9633'),('Sitke','Vas','9671'),('Sorkifalud','Vas','9774'),('Sorkikápolna','Vas','9774'),('Sorokpolány','Vas','9773'),('Sótony','Vas','9681'),('Söpte','Vas','9743'),('Szaknyér','Vas','9934'),('Szakonyfalu','Vas','9983'),('Szalafő','Vas','9942'),('Szarvaskend','Vas','9913'),('Szatta','Vas','9938'),('Szeleste','Vas','9622'),('Szemenye','Vas','9685'),('Szentgotthárd','Vas','9970'),('Szentgotthárd','Vas','9981'),('Szentgotthárd','Vas','9955'),('Szentpéterfa','Vas','9784'),('Szentpéterfa','Vas','9799'),('Szergény','Vas','9523'),('Szombathely','Vas','9700'),('Szőce','Vas','9935'),('Tanakajd','Vas','9762'),('Táplánszentkereszt','Vas','9761'),('Telekes','Vas','9812'),('Tokorcs','Vas','9561'),('Tompaládony','Vas','9662'),('Tormásliget','Vas','9736'),('Torony','Vas','9791'),('Tömörd','Vas','9738'),('Uraiújfalu','Vas','9651'),('Vámoscsalád','Vas','9665'),('Vasalja','Vas','9921'),('Vásárosmiske','Vas','9552'),('Vasasszonyfa','Vas','9744'),('Vasegerszeg','Vas','9661'),('Vashosszúfalu','Vas','9674'),('Vaskeresztes','Vas','9795'),('Vassurány','Vas','9741'),('Vasvár','Vas','9800'),('Vasszécseny','Vas','9763'),('Vasszentmihály','Vas','9953'),('Vasszilvágy','Vas','9747'),('Vát','Vas','9748'),('Velem','Vas','9726'),('Velemér','Vas','9946'),('Vép','Vas','9751'),('Viszák','Vas','9932'),('Vönöck','Vas','9516'),('Zsédeny','Vas','9635'),('Zsennye','Vas','9766'),('Ábrahámhegy','Veszprém','8256'),('Adásztevel','Veszprém','8561'),('Adorjánháza','Veszprém','8497'),('Ajka','Veszprém','8447'),('Ajka','Veszprém','8448'),('Ajka','Veszprém','8400'),('Ajka','Veszprém','8451'),('Alsóörs','Veszprém','8226'),('Apácatorna','Veszprém','8477'),('Aszófő','Veszprém','8241'),('Badacsonytomaj','Veszprém','8261'),('Badacsonytomaj','Veszprém','8257'),('Badacsonytomaj','Veszprém','8258'),('Badacsonytördemic','Veszprém','8263'),('Bakonybél','Veszprém','8427'),('Bakonyjákó','Veszprém','8581'),('Bakonykoppány','Veszprém','8571'),('Bakonynána','Veszprém','8422'),('Bakonyoszlop','Veszprém','8418'),('Bakonypölöske','Veszprém','8457'),('Bakonyság','Veszprém','8557'),('Bakonyszentiván','Veszprém','8557'),('Bakonyszentkirály','Veszprém','8430'),('Bakonyszentkirály','Veszprém','8418'),('Bakonyszücs','Veszprém','8571'),('Bakonyszücs','Veszprém','8572'),('Bakonytamási','Veszprém','8435'),('Bakonytamási','Veszprém','8555'),('Balatonakali','Veszprém','8243'),('Balatonalmádi','Veszprém','8220'),('Balatoncsicsó','Veszprém','8272'),('Balatoncsicsó','Veszprém','8294'),('Balatonederics','Veszprém','8312'),('Balatonfőkajár','Veszprém','8172'),('Balatonfőkajár','Veszprém','8164'),('Balatonfüred','Veszprém','8230'),('Balatonfűzfő','Veszprém','8175'),('Balatonhenye','Veszprém','8275'),('Balatonkenese','Veszprém','8172'),('Balatonkenese','Veszprém','8174'),('Balatonrendes','Veszprém','8255'),('Balatonszepezd','Veszprém','8252'),('Balatonszőlős','Veszprém','8233'),('Balatonudvari','Veszprém','8242'),('Balatonvilágos','Veszprém','8171'),('Bánd','Veszprém','8443'),('Bánd','Veszprém','8441'),('Barnag','Veszprém','8291'),('Bazsi','Veszprém','8352'),('Béb','Veszprém','8565'),('Békás','Veszprém','8515'),('Berhida','Veszprém','8181'),('Berhida','Veszprém','8182'),('Bodorfa','Veszprém','8471'),('Borszörcsök','Veszprém','8479'),('Borzavár','Veszprém','8428'),('Csabrendek','Veszprém','8474'),('Csabrendek','Veszprém','8330'),('Csajág','Veszprém','8163'),('Csehbánya','Veszprém','8445'),('Csesznek','Veszprém','8419'),('Csesznek','Veszprém','8420'),('Csetény','Veszprém','8417'),('Csopak','Veszprém','8229'),('Csót','Veszprém','8558'),('Csögle','Veszprém','8495'),('Dabronc','Veszprém','8345'),('Dabrony','Veszprém','8485'),('Dáka','Veszprém','8592'),('Dáka','Veszprém','8484'),('Devecser','Veszprém','8460'),('Doba','Veszprém','8482'),('Döbrönte','Veszprém','8597'),('Dörgicse','Veszprém','8244'),('Dörgicse','Veszprém','8242'),('Dudar','Veszprém','8416'),('Egeralja','Veszprém','8497'),('Egyházaskesző','Veszprém','8523'),('Egyházaskesző','Veszprém','8532'),('Eplény','Veszprém','8413'),('Farkasgyepű','Veszprém','8445'),('Farkasgyepű','Veszprém','8582'),('Felsőörs','Veszprém','8227'),('Ganna','Veszprém','8597'),('Gecse','Veszprém','8543'),('Gic','Veszprém','8435'),('Gógánfa','Veszprém','8346'),('Gyepükaján','Veszprém','8473'),('Gyulakeszi','Veszprém','8286'),('Hajmáskér','Veszprém','8192'),('Halimba','Veszprém','8452'),('Hárskút','Veszprém','8442'),('Hegyesd','Veszprém','8296'),('Hegymagas','Veszprém','8265'),('Herend','Veszprém','8440'),('Hetyefő','Veszprém','8344'),('Hidegkút','Veszprém','8247'),('Homokbödöge','Veszprém','8563'),('Hosztót','Veszprém','8475'),('Iszkáz','Veszprém','8493'),('Jásd','Veszprém','8424'),('Kamond','Veszprém','9547'),('Kamond','Veszprém','8469'),('Kapolcs','Veszprém','8294'),('Káptalanfa','Veszprém','8471'),('Káptalantóti','Veszprém','8283'),('Karakószörcsök','Veszprém','8491'),('Kékkút','Veszprém','8254'),('Kemeneshőgyész','Veszprém','8516'),('Kemenesszentpéter','Veszprém','8518'),('Kerta','Veszprém','8492'),('Királyszentistván','Veszprém','8195'),('Kisapáti','Veszprém','8284'),('Kisberzseny','Veszprém','8477'),('Kiscsősz','Veszprém','8494'),('Kislőd','Veszprém','8446'),('Kislőd','Veszprém','8445'),('Kispirit','Veszprém','8496'),('Kisszőlős','Veszprém','8483'),('Kolontár','Veszprém','8468'),('Kővágóörs','Veszprém','8254'),('Kővágóörs','Veszprém','8255'),('Köveskál','Veszprém','8274'),('Kup','Veszprém','8595'),('Külsővat','Veszprém','9532'),('Küngös','Veszprém','8162'),('Lesencefalu','Veszprém','8318'),('Lesenceistvánd','Veszprém','8319'),('Lesencetomaj','Veszprém','8318'),('Litér','Veszprém','8196'),('Lókút','Veszprém','8425'),('Lovas','Veszprém','8228'),('Lovászpatona','Veszprém','8553'),('Magyargencs','Veszprém','8517'),('Magyarpolány','Veszprém','8449'),('Malomsok','Veszprém','8533'),('Marcalgergelyi','Veszprém','9534'),('Marcaltő','Veszprém','8532'),('Marcaltő','Veszprém','8531'),('Márkó','Veszprém','8440'),('Márkó','Veszprém','8441'),('Megyer','Veszprém','8348'),('Mencshely','Veszprém','8271'),('Mezőlak','Veszprém','8500'),('Mezőlak','Veszprém','8514'),('Mihályháza','Veszprém','8514'),('Mihályháza','Veszprém','8513'),('Mindszentkálla','Veszprém','8282'),('Monostorapáti','Veszprém','8296'),('Monoszló','Veszprém','8273'),('Nagyacsád','Veszprém','8521'),('Nagyalásony','Veszprém','8484'),('Nagydém','Veszprém','8554'),('Nagyesztergár','Veszprém','8415'),('Nagygyimót','Veszprém','8551'),('Nagypirit','Veszprém','8496'),('Nagytevel','Veszprém','8562'),('Nagyvázsony','Veszprém','8291'),('Nagyvázsony','Veszprém','8200'),('Nemesgörzsöny','Veszprém','8522'),('Nemesgulács','Veszprém','8284'),('Nemeshany','Veszprém','8471'),('Nemesvámos','Veszprém','8248'),('Nemesvita','Veszprém','8311'),('Nemesszalók','Veszprém','9533'),('Németbánya','Veszprém','8581'),('Nóráp','Veszprém','8591'),('Noszlop','Veszprém','8456'),('Nyárád','Veszprém','8512'),('Nyirád','Veszprém','8454'),('Óbudavár','Veszprém','8272'),('Olaszfalu','Veszprém','8414'),('Oroszi','Veszprém','8458'),('Öcs','Veszprém','8292'),('Örvényes','Veszprém','8242'),('Ősi','Veszprém','8161'),('Öskü','Veszprém','8191'),('Öskü','Veszprém','8100'),('Paloznak','Veszprém','8229'),('Pápa','Veszprém','8500'),('Pápa','Veszprém','8511'),('Pápa','Veszprém','8591'),('Pápa','Veszprém','8531'),('Pápa','Veszprém','8598'),('Pápadereske','Veszprém','8593'),('Pápakovácsi','Veszprém','8596'),('Pápasalamon','Veszprém','8594'),('Pápateszér','Veszprém','8556'),('Papkeszi','Veszprém','8182'),('Papkeszi','Veszprém','8183'),('Pécsely','Veszprém','8245'),('Pénzesgyőr','Veszprém','8426'),('Pétfürdő','Veszprém','8105'),('Porva','Veszprém','8429'),('Porva','Veszprém','8420'),('Pula','Veszprém','8291'),('Pusztamiske','Veszprém','8455'),('Raposka','Veszprém','8300'),('Révfülöp','Veszprém','8253'),('Rigács','Veszprém','8348'),('Salföld','Veszprém','8256'),('Sáska','Veszprém','8308'),('Sóly','Veszprém','8193'),('Somlójenő','Veszprém','8478'),('Somlószőlős','Veszprém','8483'),('Somlóvásárhely','Veszprém','8481'),('Somlóvecse','Veszprém','8484'),('Sümeg','Veszprém','8330'),('Sümeg','Veszprém','8351'),('Sümeg','Veszprém','8474'),('Sümegprága','Veszprém','8351'),('Szápár','Veszprém','8423'),('Szentantalfa','Veszprém','8272'),('Szentbékkálla','Veszprém','8281'),('Szentgál','Veszprém','8444'),('Szentimrefalva','Veszprém','8475'),('Szentjakabfa','Veszprém','8272'),('Szentkirályszabadja','Veszprém','8220'),('Szentkirályszabadja','Veszprém','8225'),('Szigliget','Veszprém','8264'),('Szőc','Veszprém','8452'),('Tagyon','Veszprém','8272'),('Takácsi','Veszprém','8541'),('Taliándörögd','Veszprém','8295'),('Tapolca','Veszprém','8297'),('Tapolca','Veszprém','8300'),('Tés','Veszprém','8109'),('Tihany','Veszprém','8237'),('Tótvázsony','Veszprém','8246'),('Tüskevár','Veszprém','8477'),('Ugod','Veszprém','8564'),('Ugod','Veszprém','8571'),('Ukk','Veszprém','8347'),('Úrkút','Veszprém','8409'),('Uzsa','Veszprém','8321'),('Vanyola','Veszprém','8552'),('Várkesző','Veszprém','8523'),('Városlőd','Veszprém','8445'),('Várpalota','Veszprém','8100'),('Vaszar','Veszprém','8542'),('Vászoly','Veszprém','8245'),('Veszprém','Veszprém','8200'),('Veszprém','Veszprém','8413'),('Veszprém','Veszprém','8412'),('Veszprém','Veszprém','8411'),('Veszprémfajsz','Veszprém','8248'),('Veszprémgalsa','Veszprém','8475'),('Vid','Veszprém','8484'),('Vigántpetend','Veszprém','8294'),('Vilonya','Veszprém','8194'),('Vinár','Veszprém','9535'),('Vöröstó','Veszprém','8291'),('Zalaerdőd','Veszprém','8344'),('Zalagyömörő','Veszprém','8349'),('Zalahaláp','Veszprém','8308'),('Zalameggyes','Veszprém','8348'),('Zalaszegvár','Veszprém','8476'),('Zánka','Veszprém','8251'),('Zánka','Veszprém','8252'),('Zirc','Veszprém','8420'),('Alibánfa','Zala','8921'),('Almásháza','Zala','8935'),('Alsónemesapáti','Zala','8924'),('Alsónemesapáti','Zala','8925'),('Alsópáhok','Zala','8394'),('Alsórajk','Zala','8767'),('Alsószenterzsébet','Zala','8973'),('Babosdöbréte','Zala','8983'),('Baglad','Zala','8977'),('Bagod','Zala','8992'),('Bak','Zala','8945'),('Baktüttös','Zala','8946'),('Balatongyörök','Zala','8313'),('Balatonmagyaród','Zala','8753'),('Bánokszentgyörgy','Zala','8891'),('Barlahida','Zala','8948'),('Batyk','Zala','8797'),('Bázakerettye','Zala','8887'),('Becsehely','Zala','8866'),('Becsvölgye','Zala','8985'),('Belezna','Zala','8855'),('Belsősárd','Zala','8978'),('Bezeréd','Zala','8934'),('Bocfölde','Zala','8943'),('Bocska','Zala','8776'),('Bókaháza','Zala','8741'),('Boncodfölde','Zala','8992'),('Borsfa','Zala','8885'),('Böde','Zala','8991'),('Bödeháza','Zala','8969'),('Börzönce','Zala','8772'),('Búcsúszentlászló','Zala','8925'),('Bucsuta','Zala','8893'),('Csapi','Zala','8756'),('Csatár','Zala','8943'),('Cserszegtomaj','Zala','8372'),('Csertalakos','Zala','8951'),('Csesztreg','Zala','8973'),('Csonkahegyhát','Zala','8918'),('Csonkahegyhát','Zala','8991'),('Csöde','Zala','8999'),('Csömödér','Zala','8957'),('Csörnyeföld','Zala','8873'),('Dióskál','Zala','8764'),('Dobri','Zala','8874'),('Dobronhegy','Zala','8989'),('Döbröce','Zala','8357'),('Dötk','Zala','8799'),('Egeraracsa','Zala','8765'),('Egervár','Zala','8913'),('Eszteregnye','Zala','8882'),('Esztergályhorváti','Zala','8742'),('Felsőpáhok','Zala','8380'),('Felsőrajk','Zala','8767'),('Felsőszenterzsébet','Zala','8973'),('Fityeház','Zala','8835'),('Fűzvölgy','Zala','8777'),('Gáborjánháza','Zala','8969'),('Galambok','Zala','8827'),('Galambok','Zala','8754'),('Galambok','Zala','8752'),('Garabonc','Zala','8747'),('Gellénháza','Zala','8981'),('Gelse','Zala','8774'),('Gelsesziget','Zala','8774'),('Gétye','Zala','8762'),('Gombosszeg','Zala','8984'),('Gosztola','Zala','8978'),('Gősfa','Zala','8914'),('Gősfa','Zala','8913'),('Gutorfölde','Zala','8951'),('Gyenesdiás','Zala','8315'),('Gyűrűs','Zala','8932'),('Hagyárosbörönd','Zala','8992'),('Hahót','Zala','8771'),('Hernyék','Zala','8957'),('Hernyék','Zala','8960'),('Hévíz','Zala','8380'),('Homokkomárom','Zala','8777'),('Hosszúvölgy','Zala','8777'),('Hottó','Zala','8991'),('Iborfia','Zala','8984'),('Iklódbördőce','Zala','8958'),('Iklódbördőce','Zala','8879'),('Kacorlak','Zala','8773'),('Kallósd','Zala','8785'),('Kálócfa','Zala','8988'),('Kányavár','Zala','8956'),('Karmacs','Zala','8354'),('Kávás','Zala','8994'),('Kehidakustány','Zala','8784'),('Kemendollár','Zala','8931'),('Keménfa','Zala','8995'),('Kerecseny','Zala','8745'),('Kerkabarabás','Zala','8971'),('Kerkafalva','Zala','8973'),('Kerkakutas','Zala','8973'),('Kerkaszentkirály','Zala','8874'),('Kerkateskánd','Zala','8879'),('Keszthely','Zala','8360'),('Keszthely','Zala','8372'),('Kilimán','Zala','8774'),('Kisbucsa','Zala','8925'),('Kiscsehi','Zala','8888'),('Kisgörbő','Zala','8356'),('Kiskutas','Zala','8911'),('Kispáli','Zala','8912'),('Kisrécse','Zala','8756'),('Kistolmács','Zala','8868'),('Kisvásárhely','Zala','8341'),('Kissziget','Zala','8957'),('Kozmadombja','Zala','8988'),('Kustánszeg','Zala','8919'),('Külsősárd','Zala','8978'),('Lakhegy','Zala','8913'),('Lasztonya','Zala','8887'),('Lendvadedes','Zala','8978'),('Lendvajakabfa','Zala','8977'),('Lenti','Zala','8960'),('Lenti','Zala','8966'),('Letenye','Zala','8868'),('Lickóvadamos','Zala','8981'),('Ligetfalva','Zala','8782'),('Lispeszentadorján','Zala','8888'),('Liszó','Zala','8831'),('Lovászi','Zala','8878'),('Magyarföld','Zala','8973'),('Magyarszentmiklós','Zala','8776'),('Magyarszerdahely','Zala','8776'),('Maróc','Zala','8888'),('Márokföld','Zala','8976'),('Miháld','Zala','8825'),('Mihályfa','Zala','8341'),('Mikekarácsonyfa','Zala','8949'),('Milejszeg','Zala','8917'),('Misefa','Zala','8935'),('Molnári','Zala','8863'),('Murakeresztúr','Zala','8834'),('Murarátka','Zala','8868'),('Muraszemenye','Zala','8872'),('Nagybakónak','Zala','8821'),('Nagygörbő','Zala','8356'),('Nagykanizsa','Zala','8800'),('Nagykanizsa','Zala','8831'),('Nagykanizsa','Zala','8756'),('Nagykanizsa','Zala','8808'),('Nagykapornak','Zala','8935'),('Nagykutas','Zala','8911'),('Nagylengyel','Zala','8983'),('Nagylengyel','Zala','8917'),('Nagypáli','Zala','8912'),('Nagyrada','Zala','8746'),('Nagyrécse','Zala','8756'),('Nemesapáti','Zala','8923'),('Nemesbük','Zala','8371'),('Nemeshetés','Zala','8925'),('Nemesnép','Zala','8976'),('Nemespátró','Zala','8856'),('Nemesrádó','Zala','8915'),('Nemessándorháza','Zala','8925'),('Nemesszentandrás','Zala','8925'),('Németfalu','Zala','8918'),('Nova','Zala','8948'),('Óhíd','Zala','8342'),('Oltárc','Zala','8886'),('Orbányosfa','Zala','8935'),('Ormándlak','Zala','8983'),('Orosztony','Zala','8744'),('Ortaháza','Zala','8954'),('Ozmánbük','Zala','8998'),('Pacsa','Zala','8761'),('Padár','Zala','8935'),('Páka','Zala','8956'),('Pakod','Zala','8799'),('Pálfiszeg','Zala','8990'),('Pat','Zala','8825'),('Pethőhenye','Zala','8921'),('Petrikeresztúr','Zala','8984'),('Petrivente','Zala','8866'),('Pókaszepetk','Zala','8932'),('Pórszombat','Zala','8986'),('Pölöske','Zala','8929'),('Pölöskefő','Zala','8773'),('Pördefölde','Zala','8956'),('Pötréte','Zala','8767'),('Pusztaapáti','Zala','8986'),('Pusztaederics','Zala','8951'),('Pusztaederics','Zala','8946'),('Pusztamagyaród','Zala','8895'),('Pusztaszentlászló','Zala','8896'),('Ramocsa','Zala','8973'),('Rédics','Zala','8978'),('Resznek','Zala','8977'),('Rezi','Zala','8373'),('Rigyác','Zala','8883'),('Salomvár','Zala','8995'),('Sand','Zala','8824'),('Sárhida','Zala','8944'),('Sármellék','Zala','8391'),('Semjénháza','Zala','8862'),('Sénye','Zala','8788'),('Sormás','Zala','8881'),('Söjtör','Zala','8771'),('Söjtör','Zala','8929'),('Söjtör','Zala','8945'),('Söjtör','Zala','8897'),('Surd','Zala','8856'),('Sümegcsehi','Zala','8357'),('Szalapa','Zala','8341'),('Szécsisziget','Zala','8879'),('Szentgyörgyvár','Zala','8393'),('Szentgyörgyvölgy','Zala','8975'),('Szentkozmadombja','Zala','8947'),('Szentliszló','Zala','8893'),('Szentmargitfalva','Zala','8872'),('Szentpéterfölde','Zala','8953'),('Szentpéterúr','Zala','8762'),('Szepetnek','Zala','8861'),('Szijártóháza','Zala','8969'),('Szilvágy','Zala','8986'),('Teskánd','Zala','8991'),('Tilaj','Zala','8782'),('Tilaj','Zala','8935'),('Tófej','Zala','8946'),('Tormafölde','Zala','8876'),('Tormafölde','Zala','8878'),('Tornyiszentmiklós','Zala','8877'),('Tótszentmárton','Zala','8865'),('Tótszerdahely','Zala','8864'),('Türje','Zala','8796'),('Újudvar','Zala','8778'),('Valkonya','Zala','8885'),('Vállus','Zala','8316'),('Várfölde','Zala','8891'),('Várvölgy','Zala','8316'),('Vasboldogasszony','Zala','8914'),('Vaspör','Zala','8998'),('Vindornyafok','Zala','8354'),('Vindornyalak','Zala','8353'),('Vindornyaszőlős','Zala','8355'),('Vonyarcvashegy','Zala','8314'),('Vöckönd','Zala','8931'),('Zajk','Zala','8868'),('Zalaapáti','Zala','8741'),('Zalabaksa','Zala','8971'),('Zalabér','Zala','8798'),('Zalaboldogfa','Zala','8992'),('Zalacsány','Zala','8782'),('Zalacséb','Zala','8996'),('Zalaegerszeg','Zala','8900'),('Zalaháshágy','Zala','8997'),('Zalaigrice','Zala','8761'),('Zalaistvánd','Zala','8932'),('Zalakaros','Zala','8749'),('Zalakomár','Zala','8752'),('Zalakomár','Zala','8753'),('Zalakomár','Zala','8751'),('Zalakomár','Zala','8737'),('Zalaköveskút','Zala','8354'),('Zalalövő','Zala','8999'),('Zalamerenye','Zala','8747'),('Zalamerenye','Zala','8749'),('Zalasárszeg','Zala','8756'),('Zalaszabar','Zala','8743'),('Zalaszántó','Zala','8353'),('Zalaszentbalázs','Zala','8772'),('Zalaszentgrót','Zala','8795'),('Zalaszentgrót','Zala','8785'),('Zalaszentgrót','Zala','8790'),('Zalaszentgrót','Zala','8793'),('Zalaszentgrót','Zala','8789'),('Zalaszentgyörgy','Zala','8994'),('Zalaszentiván','Zala','8921'),('Zalaszentjakab','Zala','8827'),('Zalaszentlászló','Zala','8788'),('Zalaszentlőrinc','Zala','8921'),('Zalaszentmárton','Zala','8764'),('Zalaszentmihály','Zala','8936'),('Zalaszombatfa','Zala','8969'),('Zalatárnok','Zala','8947'),('Zalaújlak','Zala','8822'),('Zalavár','Zala','8392'),('Zalavég','Zala','8792'),('Zebecke','Zala','8957'); diff --git a/mayor-orig/log/mayor-base.rev b/mayor-orig/log/mayor-base.rev new file mode 100644 index 00000000..87ca4f07 --- /dev/null +++ b/mayor-orig/log/mayor-base.rev @@ -0,0 +1 @@ +4284 diff --git a/mayor-orig/log/mayor-naplo.rev b/mayor-orig/log/mayor-naplo.rev new file mode 100644 index 00000000..87ca4f07 --- /dev/null +++ b/mayor-orig/log/mayor-naplo.rev @@ -0,0 +1 @@ +4284 diff --git a/mayor-orig/print/module-naplo/templates/csik/szovegesZaroErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/csik/szovegesZaroErtekeles.tmpl new file mode 100644 index 00000000..add8a685 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/csik/szovegesZaroErtekeles.tmpl @@ -0,0 +1,105 @@ +%!pdfLaTeXA4 pdf +% +% Félévi szöveges értékelés +% Szerző: Fűrész Edit +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\usepackage{soul} % ul - aláhúzás tördeléssel +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\oddsidemargin}{-0.6in} +\addtolength{\topmargin}{-0.5in} +\setlength{\textwidth}{7in} +\setlength{\textheight}{9.5in} +\setlength{\footskip}{30pt} +\setlength{\headsep}{30pt} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\small +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam +} +%%%\chead{ +%%%\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +%%%\tiny\scshape timor Domini principium scientiæ +%%%} + +\begin{document} +\vspace*{-18pt} + +%{diak +\begin{center} +\vspace{18pt}{\Large\underline{\scshape Félévi Szöveges Értékelés}} +%%%\\ \vspace{10pt}Értesítjük a Tisztelt Szülőket, hogy %$negyedev negyedév tanulmányi eredményeinek felmérése szerint + +\vspace{12pt} + +\vspace{6pt}{\large\bfseries %$diakNev} + +\vspace{6pt}%$osztaly osztályos tanuló minősítése + +\end{center} + +\vspace{0pt}\small +%{targy +\begin{center} +{\bfseries %$targyNev tantárgyból} +\end{center} + +\vspace{-5pt} +%{szempont + +{\noindent\bfseries %$szempont} +\vspace{-15pt} +\begin{center} +\noindent +%{minosites +\parbox[t]{3.5cm}{ +\begin{itemize} +\item %?valasztott|[\textbullet]|[$\circ$]%? %$minosites +\end{itemize} +}\hfil +\vspace{0pt}\small +%}minosites +\vspace{-5pt}\small +%?egyediMinosites|\parbox[t]{3.5cm}{\begin{itemize}\item[\textbullet]\slshape{}%$egyediMinosites\end{itemize}}\hfil|%? +\end{center} +%}szempont +\vspace{0pt}\small +%}targy + + +\vspace{12pt} + +\vspace{12pt}\noindent +Kérjük, hogy ezt az értesítőt mindkét szülő aláírásával ellátva az osztályfőnököknek juttassák vissza!\\ + +\vspace{12pt} +\noindent +Budapest, %$ev. %$hoNev %$nap.\hspace{11.5em} P.H.\\ + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +apa/gondviselő&&anya/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/beiskolazasiTerv.tmpl b/mayor-orig/print/module-naplo/templates/default/beiskolazasiTerv.tmpl new file mode 100644 index 00000000..b8918767 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/beiskolazasiTerv.tmpl @@ -0,0 +1,90 @@ +%!pdfLaTeXTwice pdf +\documentclass[8pt]{article} +\usepackage[a4paper,landscape,left=15mm,right=15mm,bottom=25mm,top=25mm]{geometry} % A4-es méret +%%%\geometry{left=10mm,right=10mm} +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\usepackage{multirow} % table rowspan +%%\setlength\LTleft{-50pt} +%%\setlength\LTright{-50pt} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small Beiskolázási terv %$tanevJele} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\small +\newcounter{sorsz} +\begin{center} +{\large\bfseries Beiskolázási terv - %$tanevJele}\\ + +\vspace{12pt} + +\begin{longtable}{r|l|l|l|l|l|r} +\toprule +\multicolumn{1}{c|}{} & \multicolumn{1}{c|}{Név,} & \multicolumn{1}{c|}{Alkalmazott} & \multicolumn{1}{c|}{Továbbképzés neve,} & \multicolumn{1}{c|}{Várható távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás módja} \\ +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{munkakör} & \multicolumn{1}{c|}{prioritás} & \multicolumn{1}{c|}{ideje és időtartama} & \multicolumn{1}{c|}{ideje} & \multicolumn{1}{c|}{rendje, módja} & \multicolumn{1}{c}{részösszeg / támogatás} \\ +\bottomrule +\endfirsthead +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\toprule +\endhead +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\bottomrule +\endfoot +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\bottomrule +\endlastfoot +%%%\hline +%{tanulmanyiEgyseg +%%%\addtocounter{sorsz}{1}\arabic{sorsz}. & \vbox to 1.2em {}%$tanarNev & %$prioritas & %$tovabbkepzesNev & \multirow{2}{*}{%$tavollet} & \multirow{2}[4]{2cm}{%$helyettesitesRendje} & \vbox{{%$helyettesitesRendje %$reszosszeg Ft/ %$tamogatas Ft}} \\ +%%% & \vbox to 1.2em {}tanár & & %$tolDt--%$igDt (%$oraszam óra) & & & \\ +\addtocounter{sorsz}{1}\arabic{sorsz}.\vbox to 1.2em {} & +\parbox[t]{3cm}{ %$tanarNev\\ tanár} & +%$prioritas & +\parbox[t]{5cm}{%$tovabbkepzesNev\\ %$tolDt--%$igDt (%$oraszam óra)} & +\parbox[t]{4cm}{%$tavollet} & +\parbox[t]{4cm}{%$helyettesitesRendje} & +%$reszosszeg Ft/ %$tamogatas Ft \\ +\midrule +%%\hline +%}tanulmanyiEgyseg + +\end{longtable} + +\end{center} + +Szakvizsgára felkészítő továbbképzés kötelező további adatait (lakcím, végzettség, szakképzettség, szakmai gyakorlat ideje és helye) külön mellékletként kell csatolni. + +\begin{center} + +\vspace{20pt} +\begin{tabular}{lcc}%%\hspace{3.5cm}% +{%$intezmenyCimHelyseg, %$nyomtatasDatumStr}&\hspace{5cm}\ &\\ +\vbox to 5.2em {}&\hspace{5cm}\ &\rule{4.5cm}{0.1pt}\\ +&&\slshape igazgató\\ +{A beiskolázási tervet a fenntartó ellenjegyezte.}&\hspace{5cm}\ &\\ +\vbox to 5.2em {}&\hspace{5cm}\ &\rule{4.5cm}{0.1pt}\\ +&&\slshape aláírás\\ +\end{tabular} + +\end{center} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/default/diakAdatlap.tmpl b/mayor-orig/print/module-naplo/templates/default/diakAdatlap.tmpl new file mode 100644 index 00000000..1460d117 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/diakAdatlap.tmpl @@ -0,0 +1,163 @@ +%!pdfLaTeXA4 pdf +\documentclass[a4paper,10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{array} +\usepackage{tabularx} +\usepackage{fancyhdr} +\pagestyle{fancy} +\textheight 23cm +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$ev. %$hoNev %$nap.}\lhead{\small %$intezmenynev} +\rhead{\small Tanulói adatlap} + +\begin{document} +\setlength{\parindent}{0em} +\setlength{\tabcolsep}{3pt} % cellpadding +\renewcommand{\arraystretch}{1.2} + +%{diak +\begin{tabularx}{312pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Családinév / Utónév}\\ +\multicolumn{2}{|c|}{\large\bfseries %$viseltCsaladinev \qquad %$viseltUtonev}\\ +\hline +\multicolumn{2}{l}{\sffamily\bfseries\slshape Tanuló adatai\vbox to 16pt{}}\\ +\hline +Születési idő: & %$szuletesiEv. %$szuletesiHoNev %$szuletesiNap.\\ +Születési hely: & %$szuletesiHely\\ +Anyja neve: & %$anyaNev\\ +Állampolgársága / Neme: & %$allampolgarsag / %$nem\\ +Jogviszony: & %$jogviszonyKEv. %$jogviszonyKHoNev %$jogviszonyKNap%?jogviszonyVEv|--%$jogviszonyVEv. %$jogviszonyVHoNev %$jogviszonyVNap.|.%? \\ +TAJ: & %$tajSzam\\ +Diákigazolványszám: & %$diakigazolvanySzam\\ +Személyi igazolvány szám: & %$szemelyiIgazolvanySzam\\ +Tartózkodási okirat szám: & %$tartozkodasiOkiratSzam\\ +Adóazonosító: & %$adoazonosito\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{104pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Oktatási azonosító:}\\ +\multicolumn{2}{|c|}{\large\bfseries %$oId}\\ +\hline +\multicolumn{1}{r}{\sffamily Osztály:\vbox to 16pt{}}&\multicolumn{1}{l}{\slshape %$osztalyJel}\\ +\hline +&\\ +&\\ +&\\ +&\\ +\multicolumn{2}{|c|}{\slshape fénykép}\\ +&\\ +&\\ +&\\ +&\\ +&\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Tanuló elérhetősége} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Lakhely: &\multicolumn{3}{l|}{\slshape %?lakhelyHelyseg|%$lakhelyIrsz %$lakhelyHelyseg, %$lakhelyKozteruletNev %$lakhelyKozteruletJelleg %$lakhelyHazszam %$lakhelyEmelet %$lakhelyAjto|%? }\\ +Tartózkodási hely: & \multicolumn{3}{l|}{\slshape %?tartHelyseg|%$tartIrsz %$tartHelyseg, %$tartKozteruletNev %$tartKozteruletJelleg %$tartHazszam %$tartEmelet %$tartAjto|%? }\\ +\hline +Telefonszám: & \makebox[114pt]{%$telefon} & Mobil: & %$mobil \\ +\hline +E-mail: &\multicolumn{3}{l|}{\slshape %$email}\\ +\hline +\end{tabularx} + +\vspace*{10pt} +\renewcommand{\arraystretch}{1.1} +\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Anya adatai}\hfill %$anyaStat}\\ +\hline +Név: & %$anyanevElotag %$anyacsaladinev %$anyautonev\\ +\hline +\sffamily Lakcím: & %$anyacimIrsz %$anyacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$anyacimKozteruletNev %$anyacimKozteruletJelleg %$anyacimHazszam %$anyacimEmelet %$anyacimAjto}\\ +\hline +Telefon: & %$anyatelefon\\ +Mobil: & %$anyamobil\\ +E-mail: & %$anyaemail\\ +\hline +Születési év: & %$anyaszuletesiEv\\ +Foglalkozás: & %$anyafoglalkozas\\ +Munkahely: & %$anyamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Gondviselő adatai}\hfill %$gondviseloStat}\\ +\hline +Név: & %$gondviselonevElotag %$gondviselocsaladinev %$gondviseloutonev\\ +\hline +\sffamily Lakcím: & %$gondviselocimIrsz %$gondviselocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$gondviselocimKozteruletNev %$gondviselocimKozteruletJelleg %$gondviselocimHazszam %$gondviselocimEmelet %$gondviselocimAjto}\\ +\hline +Telefon: & %$gondviselotelefon\\ +Mobil: & %$gondviselomobil\\ +E-mail: & %$gondviseloemail\\ +\hline +Születési év: & %$gondviseloszuletesiEv\\ +Foglalkozás: & %$gondviselofoglalkozas\\ +Munkahely: & %$gondviselomunkahely\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Apa adatai}\hfill %$apaStat}\\ +\hline +Név: & %$apanevElotag %$apacsaladinev %$apautonev\\ +\hline +\sffamily Lakcím: & %$apacimIrsz %$apacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$apacimKozteruletNev %$apacimKozteruletJelleg %$apacimHazszam %$apacimEmelet %$apacimAjto}\\ +\hline +Telefon: & %$apatelefon\\ +Mobil: & %$apamobil\\ +E-mail: & %$apaemail\\ +\hline +Születési év: & %$apaszuletesiEv\\ +Foglalkozás: & %$apafoglalkozas\\ +Munkahely: & %$apamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Nevelő adatai}\hfill %$neveloStat}\\ +\hline +Név: & %$nevelonevElotag %$nevelocsaladinev %$neveloutonev\\ +\hline +\sffamily Lakcím: & %$nevelocimIrsz %$nevelocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$nevelocimKozteruletNev %$nevelocimKozteruletJelleg %$nevelocimHazszam %$nevelocimEmelet %$nevelocimAjto}\\ +\hline +Telefon: & %$nevelotelefon\\ +Mobil: & %$nevelomobil\\ +E-mail: & %$neveloemail\\ +\hline +Születési év: & %$neveloszuletesiEv\\ +Foglalkozás: & %$nevelofoglalkozas\\ +Munkahely: & %$nevelomunkahely\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Egyéb adatok} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Törvényes képviselő:&\multicolumn{3}{l|}{\slshape %$torvenyesKepviselo}\\ +\hline +Szociális helyzet: &\multicolumn{3}{l|}{\slshape %$szocialisHelyzet}\\ +Fogyatékosság: &\multicolumn{3}{l|}{\slshape %$fogyatekossag}\\ +\hline +Finanszírozás: & \makebox[114pt]{%$penzugyiStatusz\hfill} & Gondozási szám: & %$gondozasiSzam \\ +\hline +\end{tabularx} + +\newpage + +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/ertesito.tmpl b/mayor-orig/print/module-naplo/templates/default/ertesito.tmpl new file mode 100644 index 00000000..57e4c2d7 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/ertesito.tmpl @@ -0,0 +1,70 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$osszesIgazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/helyettesitesinaplo.tmpl b/mayor-orig/print/module-naplo/templates/default/helyettesitesinaplo.tmpl new file mode 100644 index 00000000..32c978bd --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/helyettesitesinaplo.tmpl @@ -0,0 +1,78 @@ +%!pdfLaTeXTwice pdf +\documentclass[8pt]{article} +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\setlength\LTleft{-65pt} +\setlength\LTright{-65pt} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small Helyettesítési-napló %$tanev} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyDt} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\begin{center} +{\large\bfseries H E L Y E T T E S Í T É S E K}\\ + +\vspace{12pt} + +{\bfseries\normalsize %$tolDt – %$igDt}\\ + +\vspace{12pt} + +\scriptsize +\begin{longtable}{@{\extracolsep{\fill}}c|c|l|l|l|c} +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endfirsthead +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endhead +\bottomrule +\endfoot +\bottomrule +\endlastfoot +\hline +%{hDt +%{helyettesites +\vbox to 1.2em {}%$dt&%$ora&%$kiCn&%$kitCn&%$tankorNev&%$tipus\\ +%}helyettesites +\midrule +%}hDt + +\end{longtable} + +\vspace{16pt} + +\begin{flushleft} +{\scriptsize %$intezmenyHelyseg, %$nyDatumStr} +\end{flushleft} +\vspace{20pt}\slshape\scriptsize +\begin{tabular}{ccc} +%\rule{3.5cm}{0.1pt} +\hspace{3.5cm}% +&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +%tanuló +&&igazgató\\ +\end{tabular} + +\end{center} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/default/kirBizonyitvanyExport.tmpl b/mayor-orig/print/module-naplo/templates/default/kirBizonyitvanyExport.tmpl new file mode 100644 index 00000000..591b7a51 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/kirBizonyitvanyExport.tmpl @@ -0,0 +1,15 @@ +%!nemvalosfuggveny xml + + + +%{diak + +%{targy + +%}targy + +%}diak + + + \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/default/sniEvVegiJegyzokonyv.tmpl b/mayor-orig/print/module-naplo/templates/default/sniEvVegiJegyzokonyv.tmpl new file mode 100644 index 00000000..dec83d49 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/sniEvVegiJegyzokonyv.tmpl @@ -0,0 +1,111 @@ +%!pdfLaTeXA4 pdf +% +% SNI - Ev végi jegyzőkönyv +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\usepackage{soul} % ul - aláhúzás tördeléssel +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\small +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon +} +\rhead{\small Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax} + +\begin{document} + +\title{Év végi jegyzőkönyv} +\date{%$tanev} +\author{%$intezmenyNev} +\maketitle + +%{diak + +\begin{center} + +\vspace{6pt} +\section*{%$diakNev} +(gondozási szám: %$gondozasiSzam) + +\end{center} + +%?felelos|\vspace{6pt}{\noindent\bfseries Felelős:}|%? + +%{felelos + %$tanarNev +%}felelos + +%%%%\begin{center} +%%%% +%%%%A(z) %$osztaly osztályban tanítók megbeszélése +%%%%\end{center} +%%%%\vspace{20pt} + +%{honap + +\vspace{6pt} +\section*{\centering %$hoNev} + +%?gyengesegek|\vspace{6pt}{\noindent\bfseries Gyengeségek:}\par{}%$gyengesegek|%? + +%?erossegek|\vspace{6pt}{\noindent\bfseries Erősségek:}\par{}%$erossegek|%? + +%?erossegek|\vspace{6pt}{\noindent\bfseries Célok:}\par{}%$celok|%? + +%?fejlesztesiFeladatok|\vspace{6pt}{\noindent\bfseries Fejlesztési feladatok:}\par{}%$fejlesztesiFeladatok|%? + +%?eszkozokModszerek|\vspace{6pt}{\noindent\bfseries Eszközök/módszerek:}\par{}%$eszkozokModszerek|%? + +%?utemezes|\vspace{6pt}{\noindent\bfseries Ütemezés:}\par{}%$utemezes|%? + +%?ertekeles|\vspace{6pt}{\noindent\bfseries Értékelés:}\par{}%$ertekeles|%? + +%?eredmeny|\vspace{6pt}{\noindent\bfseries Eredmény:}\par{}%$eredmeny|%? + +%?valtozas|\vspace{6pt}{\noindent\bfseries Változás:}\par{}%$valtozas|%? + +%}honap + +\newpage + +%}diak + +%%% \begin{center} +%%% \section*{A megbeszélésen résztvevő tanárok} +%%% \slshape +%%% \begin{tabular}{ccc} + +%%% %{osztalyTanar + +%%% %?paros|%$tanarNev\\ | &&\\ &&\\ \rule{4.5cm}{0.1pt}& \hspace{3cm}\ &\rule{4.5cm}{0.1pt}\\%$tanarNev&&%? + + +%%% %}osztalyTanar + +%%% \end{tabular} +\end{center} + + + + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/sniHaviJegyzokonyv.tmpl b/mayor-orig/print/module-naplo/templates/default/sniHaviJegyzokonyv.tmpl new file mode 100644 index 00000000..22b1a183 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/sniHaviJegyzokonyv.tmpl @@ -0,0 +1,104 @@ +%!pdfLaTeXA4 pdf +% +% SNI - Havi jegyzőkönyv +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\usepackage{soul} % ul - aláhúzás tördeléssel +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\small +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon +} +\rhead{\small Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax} + +\begin{document} + + +\title{Havi jegyzőkönyv} +\date{%$ev. %$hoNev} +\author{%$intezmenyNev} +\maketitle + +\begin{center} + +A(z) %$osztaly osztályban tanítók megbeszélése +\end{center} +\vspace{20pt} + +%{diak + +\begin{center} + +\vspace{6pt} +\section*{%$diakNev} +(gondozási szám: %$gondozasiSzam) + +\end{center} + +%?gyengesegek|\vspace{6pt}{\noindent\bfseries Gyengeségek:}\par{}%$gyengesegek|%? + +%?erossegek|\vspace{6pt}{\noindent\bfseries Erősségek:}\par{}%$erossegek|%? + +%?erossegek|\vspace{6pt}{\noindent\bfseries Célok:}\par{}%$celok|%? + +%?fejlesztesiFeladatok|\vspace{6pt}{\noindent\bfseries Fejlesztési feladatok:}\par{}%$fejlesztesiFeladatok|%? + +%?eszkozokModszerek|\vspace{6pt}{\noindent\bfseries Eszközök/módszerek:}\par{}%$eszkozokModszerek|%? + +%?utemezes|\vspace{6pt}{\noindent\bfseries Ütemezés:}\par{}%$utemezes|%? + +%?ertekeles|\vspace{6pt}{\noindent\bfseries Értekelés:}\par{}%$ertekeles|%? + +%?eredmeny|\vspace{6pt}{\noindent\bfseries Eredmény:}\par{}%$eredmeny|%? + +%?valtozas|\vspace{6pt}{\noindent\bfseries Változás:}\par{}%$valtozas|%? + +\vspace{6pt}{\noindent\bfseries Felelős:} + +%{felelos + %$tanarNev +%}felelos + + +%}diak + +\begin{center} +\section*{A megbeszélésen résztvevő tanárok} +\slshape +\begin{tabular}{ccc} + +%{osztalyTanar + +%?paros|%$tanarNev\\ | &&\\ &&\\ \rule{4.5cm}{0.1pt}& \hspace{3cm}\ &\rule{4.5cm}{0.1pt}\\%$tanarNev&&%? + + +%}osztalyTanar + +\end{tabular} +\end{center} + + + + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/szovegesErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/default/szovegesErtekeles.tmpl new file mode 100644 index 00000000..432f37c2 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/szovegesErtekeles.tmpl @@ -0,0 +1,99 @@ +%!pdfLaTeXA4 pdf +% +% Évközi szöveges értékelés +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\usepackage{soul} % ul - aláhúzás tördeléssel +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\small +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon +} +%%%\chead{ +%%%\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +%%%\tiny\scshape timor Domini principium scientiæ +%%%} +\rhead{\small Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax} + +\begin{document} +\vspace*{-18pt} + +%{diak +\begin{center} +\vspace{18pt}{\Large\underline{\scshape Évközi Szöveges Értékelés}} +%%%\\ \vspace{10pt}Értesítjük a Tisztelt Szülőket, hogy %$negyedev negyedév tanulmányi eredményeinek felmérése szerint + +\vspace{12pt} + +\vspace{6pt}{\large %$diakNev} + +\vspace{6pt}%$osztaly osztályos tanuló minősítése + +\end{center} + +\vspace{14pt}\small +%{targy +\begin{center} +{\bfseries %$targyNev tantárgyból} +\end{center} +\vspace{10pt} +%{szempont + +{\noindent\bfseries %$szempont} + +\begin{center} +\noindent +%{minosites +\parbox[t]{4.5cm}{ +\begin{itemize} +\item %?valasztott|[\textbullet]|[$\circ$]%? %$minosites +\end{itemize} +}\hfil +%}minosites +%?egyediMinosites|\parbox[t]{4.5cm}{\begin{itemize}\item[\textbullet]\slshape{}%$egyediMinosites\end{itemize}}\hfil|%? +\end{center} +%}szempont +%}targy + + +\vspace{12pt} + +\vspace{12pt}\noindent +Kérjük, hogy ezt az értesítőt mindkét szülő aláírásával ellátva az osztályfőnököknek juttassák vissza!\\ + +\vspace{12pt} +\noindent +Budapest, %$ev. %$hoNev %$nap.\hspace{11.5em} P.H.\\ + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +apa/gondviselő&&anya/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/szovegesZaroErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/default/szovegesZaroErtekeles.tmpl new file mode 100644 index 00000000..c4676b4f --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/szovegesZaroErtekeles.tmpl @@ -0,0 +1,99 @@ +%!pdfLaTeXA4 pdf +% +% Év végi szöveges értékelés +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\usepackage{soul} % ul - aláhúzás tördeléssel +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\small +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon +} +%%%\chead{ +%%%\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +%%%\tiny\scshape timor Domini principium scientiæ +%%%} +\rhead{\small Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax} + +\begin{document} +\vspace*{-18pt} + +%{diak +\begin{center} +\vspace{18pt}{\Large\underline{\scshape Év Végi Szöveges Értékelés}} +%%%\\ \vspace{10pt}Értesítjük a Tisztelt Szülőket, hogy %$negyedev negyedév tanulmányi eredményeinek felmérése szerint + +\vspace{12pt} + +\vspace{6pt}{\large %$diakNev} + +\vspace{6pt}%$osztaly osztályos tanuló minősítése + +\end{center} + +\vspace{14pt}\small +%{targy +\begin{center} +{\bfseries %$targyNev tantárgyból} +\end{center} +\vspace{10pt} +%{szempont + +{\noindent\bfseries %$szempont} + +\begin{center} +\noindent +%{minosites +\parbox[t]{4.5cm}{ +\begin{itemize} +\item %?valasztott|[\textbullet]|[$\circ$]%? %$minosites +\end{itemize} +}\hfil +%}minosites +%?egyediMinosites|\parbox[t]{4.5cm}{\begin{itemize}\item[\textbullet]\slshape{}%$egyediMinosites\end{itemize}}\hfil|%? +\end{center} +%}szempont +%}targy + + +\vspace{12pt} + +\vspace{12pt}\noindent +Kérjük, hogy ezt az értesítőt mindkét szülő aláírásával ellátva az osztályfőnököknek juttassák vissza!\\ + +\vspace{12pt} +\noindent +Budapest, %$ev. %$hoNev %$nap.\hspace{11.5em} P.H.\\ + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +apa/gondviselő&&anya/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/torzslap.tmpl b/mayor-orig/print/module-naplo/templates/default/torzslap.tmpl new file mode 100644 index 00000000..3260467b --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/torzslap.tmpl @@ -0,0 +1,218 @@ +%!pdfLaTeXA4 pdf +% +% Törzslap - Év végi szöveges értékelés +% +\documentclass[10pt]{article} + +%%%\usepackage[a4paper, top=10mm, bottom=20mm, left=25mm, right=25mm]{geometry} % A4-os méret +\usepackage[paperwidth=210mm, paperheight=297mm, top=10mm, bottom=20mm, left=10mm, right=10mm]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\usepackage{tabularx} +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{enumitem} % formázható felsorolások, pl bal margó.... +\usepackage{multirow} +\usepackage{ifthen} +\newcolumntype{N}{@{}m{0pt}@{}} % Lezáró oszlop típus +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{fancyhdr} % Ritkítás +\pagestyle{empty} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\lhead{}\chead{}\rhead{} +\lfoot{}\cfoot{}\rfoot{} +\lfoot{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ elektronikus napló (2014.10.26)} +%% Az osztási maradék meghatározása +\newcounter{modulus} +\makeatletter +\newcommand\modulo[2]{\@tempcnta=#1 + \divide\@tempcnta by #2 + \multiply\@tempcnta by #2 + \multiply\@tempcnta by -1 + \advance\@tempcnta by #1\relax + \setcounter{modulus}{\@tempcnta} + %%%\the\@tempcnta %% nem kell kiírni - eltároltuk a modulus nevű counterbe inkább... +} +\makeatother + +\begin{document} + +%{diak + +\modulo{\value{page}}{2}\ifthenelse{\equal{\value{modulus}}{1}}{}{\hbox{}\newpage} +\thispagestyle{empty} + +%% +%% Személyi adatok táblázata %% +%% +%%% A méretek: \noindent\rule{32mm}{1mm}\rule{28mm}{0.1mm}\rule{28mm}{1mm}\rule{32mm}{0.1mm}\rule{70mm}{1mm} +%%% A méretek: 32|28|28|32|70 + +\begin{table}[ht] +\begin{tabular}{|m{27.6mm} @{\hspace{2.2mm}\vline} p{56mm}@{\vline}p{29.8mm}|p{67mm} N |} + +\hline +\centering\multirow{3}{*}{A tanuló} +&\multirow{2}{56mm}{ +\begin{tabular}{ @{} p{26mm} @{\vline\hspace{1.6mm}} p{26mm} @{} } +Törzslapszáma:&Osztálynapló \newline sorszáma:\\ +\centering\sffamily %$torzslapszam&\centering\sffamily %$diakNaploSorszam +\end{tabular} +}&\hspace{2.2mm}Tanév, évfolyam:&Állampolgársága:\newline &\\ +&&\hspace{2.2mm}\centering\sffamily %$tanevJele, %$evfolyamJel. évf.&\centering\sffamily %$allampolgarsag&\\ + +\hline +családi és&\centering\multirow{2}{*}{\sffamily\large %$diakNev}&\multicolumn{2}{l}{Anyja születési neve:}&\\ +utóneve&&\multicolumn{2}{@{}p{101mm}@{}}{\centering\sffamily %$anyaNev}&\\ + +\hline +\multirow{2}{*}{azonosító száma} +&\centering\multirow{2}{*}{\sffamily\large %$oktatasiAzonosito} +&\multicolumn{2}{|l}{Feljegyzések személyi adatok változásához:} +&\\ + +& +&\multicolumn{2}{l}{ +\multirow{2}{90mm}{\newline +\sffamily +%$feljegyzesek +}} +&\\ + +\cline{1-2} + +\multirow{4}{*}{születési helye} +&\multirow{2}{*}{\hspace{2mm}\sffamily %$szuletesiHely}\hfill város\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +&\hfill község\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +\cline{2-2} + +&\multirow{2}{*}{\hspace{2mm}\sffamily %$szuletesiOrszag}\hfill \multirow{2}{*}{ország}\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +& +&\multicolumn{2}{l}{} +&\\ + +\cline{1-2} + +\multirow{2}{*}{születési ideje} +&\centering\multirow{2}{*}{\sffamily %$szuletesiIdo} +&\multicolumn{2}{l}{} +& +\\ + + +& +&\multicolumn{2}{l}{ +} +&\\ + +\hline + +\end{tabular} + +\end{table} + + +%% +%% Jegyek +%% +%%\small +\centering +\begin{tabular}{|@{\ \ }m{6cm}|>{\raggedleft\arraybackslash}m{4cm}@{\ \ }|@{}m{0pt}@{}} +%?magatartas|\hline |%? +%?magatartas|magatartás & \emph{%$magatartas}&\\[16pt]|%? +%?magatartas|\hline |%? +%?szorgalom|szorgalom & \emph{%$szorgalom}&\\[16pt]|%? +%?szorgalom|\hline\hline |%? + +%{osztalyzatTargy +%$targyNev & \emph{%$hivatalos}& \\[10pt]%% %$mJel kivéve +\hline +%}osztalyzatTargy +\end{tabular} + + +\begin{tabular}{|@{\ \ }m{3cm}|>{\raggedleft\arraybackslash}m{7cm}@{\ \ }|@{}m{0pt}@{}} +\multicolumn{2}{c}{\bfseries mulasztott órák száma} &\\[10pt] +\hline +igazolt&{\sl %$igazolt}& \\[10pt] +\hline +igazolatlan&{\sl\ %$osszesIgazolatlan}& \\[10pt] +\hline +\multicolumn{2}{r}{\sl %$igazolatlan igazolatlan tanóra + %$kesesPercOsszeg perc késés} &\\[10pt] +\end{tabular} +%%%\centering + + +%% +%% Szöveges értékelés +%% +%\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%\thispagestyle{fancy}%%%%\vspace*{8pt} +%\rfoot{\footnotesize \rule{0cm}{0.1pt} \\ %$osztaly - %$diakNev} + + +%?szovegesErtekeles|{\vspace*{12pt}\small\noindent A tanuló teljesítményének, magatartásának, szorgalmának szöveges minősítése:}| %? + +{\vspace{6pt}\scriptsize\raggedright +%{targy +{\vspace{5pt}\noindent\bfseries %$targyNev} +\nopagebreak[4]%% +\begin{description}[font=\mdseries\itshape, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=4.5cm, style=nextline, itemsep=0pt, labelindent=\parindent] +\nopagebreak[4]%% +%{szempont +\item[%$szempont] +%{minosites +%?elsoValasztott|%$minosites|%?%?tobbedikValasztott|, %$minosites|%?%% +%}minosites +%?egyediMinosites|\par{%$egyediMinosites}|%?%% +\nopagebreak[4]%% +%}szempont +\end{description} +%}targy + +%% +%% Hiányzások - kell ez? +%% +%%%%{\vspace{6pt}\noindent\bfseries Hiányzások:} +%%%% +%%%%Igazolt/igazolatlan: %$igazolt/%$osszesIgazolatlan (%$igazolatlan tanóra + %$kesesPercOsszeg perc késés) +%%%% +} +%%scriptsize vége + +{\raggedright +{\vspace{6pt}\noindent\bfseries Bejegyzések:} + +%$bejegyzesek + +}%%raggedright vége + +{\raggedright +{\vspace{6pt}\noindent\bfseries Záradékok:} + +%$zaradekok + +%$zaroZaradek +}%%raggedright vége + + +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/default/tovabbkepzesHatarozat.tmpl b/mayor-orig/print/module-naplo/templates/default/tovabbkepzesHatarozat.tmpl new file mode 100644 index 00000000..5ba7e32b --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/tovabbkepzesHatarozat.tmpl @@ -0,0 +1,128 @@ +%!pdfLaTeXA4 pdf +% +% +\documentclass[8pt]{article} +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{enumitem} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small %$tanev} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\rfoot{}%\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\vspace{16pt}\noindent +Tisztelt Igazgató Úr! + +\vspace{16pt}\noindent +A mai napon hivatalosan bejelentem, hogy következő tanévben a 277/1997.(XII.22.) Kormányrendelet alapján részt kívánok venni +a pedagógusok továbbképzési rendszerében. Egyben kérem felvételemet a következő tanév beiskolázási tervébe az alábbiak szerint. + +\vspace{16pt}\noindent +1. A pedagógus-továbbképzés választott formája (X jelölés): + +\begin{itemize} +\item[$\circ$] legalább 120 órás továbbképzésen való részvétel az előírt tanulmányi követelmények teljesítésével, +\item[$\circ$] további egyetemi vagy főiskolai képzésben szerzett második vagy további oklevél megszerzésével (pl. szakvizsgával), +\item[$\circ$] az első pedagógus oklevél megszerzésével (szakmai elméleti, szakmai előkészítő tárgyat oktató pedagógus esetén), +\item[$\circ$] a nevelő és oktató munkát segítő, az Országos Képzési Jegyzékben szereplő felsőfokú szakképzettség megszerzésével. +\end{itemize} + +\vspace{16pt}\noindent +2. A tervezett továbbképzés + +\vspace{10pt} +\begin{description}[font=\mdseries, labelindent=\parindent, itemsep=2pt, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=2cm, style=nextline] +\nopagebreak[4]%% +\item[megnevezése:]\itshape %$tovabbkepzesNev +\item[képző intézménye:] %$tovIntNev +\item[várható befejezése:] %$igDt +\item[óraszáma:] %$oraszam óra +\end{description} + +\vspace{16pt} +Tudomásul veszem, hogy a felvételről vagy elutasításról az igazgató írásban fog értesíteni. A beiskolázási tervbe való felvétellel +kapcsolatban munkaügyi jogvitának van helye. A továbbképzési program az éves beiskolázási tervekre való lebontás során valósul meg, +amelyet minden évben az igazgató készít el. + +\vspace{30pt}\noindent +%$intezmenyCimHelyseg, %$nyomtatasDatumStr + +\vspace{45pt} +\begin{tabular}{cc} +\hspace{8cm}\ &\rule{4.5cm}{0.1pt}\\ +&%$tanarNev\\ +&\slshape\scriptsize tanár\\ +\end{tabular} + +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +\noindent %$tanarNev + +\vspace{6pt}\noindent +%$intezmenyNev + +\vspace{6pt}\noindent +Született: %$szuletesiHely, %$szuletesiIdo + +\vspace{6pt}\noindent +Anyja neve: + +\vspace{6pt}\noindent +Lakhelye: + +\vspace{6pt}\noindent +Ügyintéző: + +\vspace{6pt}\noindent +Iktatószám: + +\vspace{16pt} +\begin{center} +{\large\bfseries Határozat} +\end{center} +\vspace{16pt} + + +\noindent \rule{4.5cm}{0.1pt} dátummal Ön bejelentette, hogy a következő tanévben részt kíván venni a pedagógusok kötelező továbbképzési rendszerében, és kérte felvételét a következő tanév beiskolázási tervébe. + +Hivatalosan értesítem, hogy a %$tanev tanévi beiskolázási tervbe való jelentkezését elfogadom. Az Ön által választott, a következő tanév beiskolázási tervében jóváhagyott továbbképzés: + +\vspace{16pt} +\begin{description}[font=\mdseries, labelindent=\parindent, itemsep=2pt, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=2cm, style=nextline] +\nopagebreak[4]%% +\item[A továbbképzés megnevezése:]\itshape %$tovabbkepzesNev +\item[A továbbképző intézmény neve:] %$tovIntNev +\item[A továbbképzés várható befejezése:] %$igDt +\item[A továbbképzés óraszáma:] %$oraszam óra +\end{description} + +\vspace{30pt} +Továbbképzésének finanszírozását az intézmény nevelőtestülete által 2013-ban elfogadott továbbképzési programunkban leírtak szerint biztosítom. +Kérem, hogy továbbképzésével kapcsolatos lényeges eseményeket, esetleges változásokat mielőbb szíveskedjék bejelenteni! + +\vspace{45pt}\noindent +%$intezmenyCimHelyseg, %$nyomtatasDatumStr + +\vspace{30pt}\slshape\scriptsize +\begin{tabular}{cc} +\hspace{8cm}\ &\rule{4.5cm}{0.1pt}\\ +&igazgató\\ +\end{tabular} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/default/zaradekok.tmpl b/mayor-orig/print/module-naplo/templates/default/zaradekok.tmpl new file mode 100644 index 00000000..52247f33 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/default/zaradekok.tmpl @@ -0,0 +1,37 @@ +%!pdfLaTeXA4 pdf +% +% Záradékok, bejegyzések +% +\documentclass[a4paper,10pt,twoside]{article} +\usepackage[utf8x]{inputenc} +\usepackage{t1enc} +\usepackage[magyar]{babel} +\frenchspacing +\usepackage{fancyhdr} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} + +\lhead{\small %$tanevJele - %$osztalyJele} +\rhead{\small Bejegyzések, záradékok} +\cfoot{\small %$intezmenyNev \\ \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} + +\begin{document} + +%{diak +\begin{center}{\bfseries\large %$diakNev}\end{center}\nopagebreak +%?zaradek|\begin{description}|%? +%{zaradek + \item [záradék %$sorszam] \hfill{\slshape %$dt}\linebreak %$szoveg +%}zaradek +%?zaradek|\end{description}|%? +%?bejegyzes|\begin{description}|%? +%{bejegyzes + \item [%?szovFokozat|%$szovFokozat|%$tipus%?] \hfill{\slshape %$beirasDt}\linebreak %$szoveg %?tanarNev|(%$tanarNev)|%? +%}bejegyzes +%?bejegyzes|\end{description}|%? +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/draft/diakAdatlap.tmpl b/mayor-orig/print/module-naplo/templates/draft/diakAdatlap.tmpl new file mode 100644 index 00000000..32f742c1 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/diakAdatlap.tmpl @@ -0,0 +1,90 @@ +Nyomtatva: %$ev. %$hoNev %$nap. +Intézmény: %$intezmenynev + +%{diak + + Név: %$viseltCsaladinev %$viseltUtonev + Születési idő: %$szuletesiEv. %$szuletesiHoNev %$szuletesiNap. + Születési hely: %$szuletesiHely + Anyja neve: %$anyaNev + Állampolgársága / Neme: %$allampolgarsag / %$nem + Jogviszony: %$jogviszonyKEv. %$jogviszonyKHoNev %$jogviszonyKNap. - %$jogviszonyVEv. %$jogviszonyVHoNev %$jogviszonyVNap. + TAJ: %$tajSzam + Diákigazolványszám: %$diakigazolvanySzam + Személyi igazolvány szám: %$szemelyiIgazolvanySzam + Tartózkodási okirat szám: %$tartozkodasiOkiratSzam + Adóazonosító: %$adoazonosito + Oktatási azonosító: %$oId + Osztály: %$osztalyJel} + Lakhely: %?lakhelyHelyseg|%$lakhelyIrsz %$lakhelyHelyseg, %$lakhelyKozteruletNev %$lakhelyKozteruletJelleg %$lakhelyHazszam %$lakhelyEmelet %$lakhelyAjto|%? + Tartózkodási hely: %?tartHelyseg|%$tartIrsz %$tartHelyseg, %$tartKozteruletNev %$tartKozteruletJelleg %$tartHazszam %$tartEmelet %$tartAjto|%? + Telefonszám: %$telefon + Mobil: %$mobil + E-mail: %$email + Törvényes képviselő: %$torvenyesKepviselo + + Anya + Név: %$anyanevElotag %$anyacsaladinev %$anyautonev + Családi állapot: %$anyaStat + Lakcím: %$anyacimIrsz %$anyacimHelyseg + %$anyacimKozteruletNev %$anyacimKozteruletJelleg %$anyacimHazszam %$anyacimEmelet %$anyacimAjto + Telefon: %$anyatelefon + Mobil: %$anyamobil + E-mail: %$anyaemail + Születési év: %$anyaszuletesiEv + Foglalkozás: %$anyafoglalkozas + Munkahely: %$anyamunkahely + Jogviszony változás (max. 5 db): + jvDt0: %jvDt0 + jvStat0: %jvStat0 + jvDt1: %jvDt1 + jvStat1: %jvStat1 + jvDt2: %jvDt2 + jvStat2: %jvStat2 + jvDt3: %jvDt3 + jvStat3: %jvStat3 + jvDt4: %jvDt4 + jvStat4: %jvStat4 + Jogviszony változás (összes): +%{jogviszony + Dátum: %$dt + Státusz: %$statusz +%}jogviszony + + Gondviselő + Név: %$gondviselonevElotag %$gondviselocsaladinev %$gondviseloutonev + Családi állapot: %$gondviseloStat + Lakcím: %$gondviselocimIrsz %$gondviselocimHelyseg + %$gondviselocimKozteruletNev %$gondviselocimKozteruletJelleg %$gondviselocimHazszam %$gondviselocimEmelet %$gondviselocimAjto} + Telefon: %$gondviselotelefon + Mobil: %$gondviselomobil + E-mail: %$gondviseloemail + Születési év: %$gondviseloszuletesiEv + Foglalkozás: %$gondviselofoglalkozas + Munkahely: %$gondviselomunkahely + + Apa + Név: %$apanevElotag %$apacsaladinev %$apautonev + Családi állapot: %$apaStat + Lakcím: %$apacimIrsz %$apacimHelyseg + %$apacimKozteruletNev %$apacimKozteruletJelleg %$apacimHazszam %$apacimEmelet %$apacimAjto + Telefon: %$apatelefon + Mobil: %$apamobil + E-mail: %$apaemail + Születési év: %$apaszuletesiEv + Foglalkozás: %$apafoglalkozas + Munkahely: %$apamunkahely + + Nevelő + Név: %$nevelonevElotag %$nevelocsaladinev %$neveloutonev + Családi állapot: %$neveloStat + Lakcím: %$nevelocimIrsz %$nevelocimHelyseg + %$nevelocimKozteruletNev %$nevelocimKozteruletJelleg %$nevelocimHazszam %$nevelocimEmelet %$nevelocimAjto} + Telefon: %$nevelotelefon + Mobil: %$nevelomobil + E-mail: %$neveloemail + Születési év: %$neveloszuletesiEv + Foglalkozás: %$nevelofoglalkozas + Munkahely: %$nevelomunkahely + +%}diak diff --git a/mayor-orig/print/module-naplo/templates/draft/ertesito.tmpl b/mayor-orig/print/module-naplo/templates/draft/ertesito.tmpl new file mode 100644 index 00000000..fe57e496 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/ertesito.tmpl @@ -0,0 +1,49 @@ + +Nyomtatás dátuma: %$nyomtatasDt +Dátum: %$ev. %$hoNev. %$nap (%$ev-%$honap-%$nap) +Szemeszter: %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter +Intézmény: %$intezmenyNev + Irsz: %$intezmenyCimIrsz + Helység: %$intezmenyCimHelyseg + Közterület-név: %$intezmenyCimKozteruletNev + Közterület-jelleg: %$intezmenyCimKozteruletJelleg + Házszám: %$intezmenyCimHazszam + Telefon: %$intezmenyTelefon + Honlap: %$intezmenyHonlap + Email: %$intezmenyEmail + Fax: %$intezmenyFax +Osztaly: %$osztaly + +%{diak + Diák neve: %$diakNev + Magatartás: %$magatartas + Magatartás megjegyzés: %$magMegjJel + Szorgalom: %$szorgalom + Szorgalom megjegyzés: %$szorgMegjJel + Igazolt: %$igazolt + Igazolatlan: %$igazolatlan + Késés perc összeg: %$kesesPercOsszeg + Késésekből adódó igazolatlanok: %$kesesIgazolatlan + Összes igazolatlan: %$osszesIgazolatlan + + Gyakorlati igazolt: %$gyakIgazolt + Gyakorlati igazolatlan: %$hyakIgazolatlan + Gyakorlati késés perc összeg: %$gyakKesesPercOsszeg + Gyakorlati késésekből adódó igazolatlanok: %$gyakKesesIgazolatlan + + Elmélet igazolt: %$elmIgazolt + Elmélet igazolatlan: %$elmIgazolatlan + Elmélet késés perc összeg: %$elmKesesPercOsszeg + Elmélet késésekből adódó igazolatlanok: %$elmKesesIgazolatlan + +%{targy + Tárgy: %$targyNev + tárgyRövidNév: %$targyRovidNev + jegyTipus: %$jTipus + Jegy: %$jegy + Megjegyzés: %$megjegyzes + Megjegyzés jele: %$mJel + Hivatalos: %$hivatalos + Rövid: %$rovid +%}targy +%}diak \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/draft/helyettesitesinaplo.tmpl b/mayor-orig/print/module-naplo/templates/draft/helyettesitesinaplo.tmpl new file mode 100644 index 00000000..badff739 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/helyettesitesinaplo.tmpl @@ -0,0 +1,16 @@ +Intézmény neve: %$intezmenyNev +Tanév: %$tanev +Nyomtatás dátuma: %$nyDt +Dátum intervallum: %$tolDt – %$igDt +%{hDt +%{helyettesites + Hdt: %$dt + Hóra: %$ora + HkiCn: %$kiCn + HkitCn: %$kitCn + HTankor: %$tankorNev + HTipus: %$tipus +%}helyettesites +%}hDt +Intézmény helység: %$intezmenyHelyseg +Nyomtatás dátuma: %$nyDatumStr diff --git a/mayor-orig/print/module-naplo/templates/draft/kirBizonyitvanyExport.tmpl b/mayor-orig/print/module-naplo/templates/draft/kirBizonyitvanyExport.tmpl new file mode 100644 index 00000000..ae3d4b40 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/kirBizonyitvanyExport.tmpl @@ -0,0 +1,13 @@ +Intézmény OM: %$omkod +TelephelyId: %$telephelyId +Tanév jele: %$tanevJel +Évfolyam: %$evfolyam +Félévi-e: %$feleviE +Osztaly jelleg: %$kirOsztalyJelleg +%{diak + oktatási azonosító: %$oId +%{targy + KIR tárgykód: %$kirTargyKod + Érdemjegy: %$jegy +%}targy +%}diak diff --git a/mayor-orig/print/module-naplo/templates/draft/sniEvVegiJegyzokonyv.tmpl b/mayor-orig/print/module-naplo/templates/draft/sniEvVegiJegyzokonyv.tmpl new file mode 100644 index 00000000..d1293be3 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/sniEvVegiJegyzokonyv.tmpl @@ -0,0 +1,73 @@ + +Nyomtatás dátuma: %$nyomtatasDt +Dátzm: %$ev-%$honap-%$nap (%$hoNev) + +Intézmény neve: %$intezmenyNev +Intézmény címe: %$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam +Intézmény telefon/fax: %$intezmenyTelefon / %$intezmenyFax +Intézmény honlap/email: %$intezmenyHonlap / %$intezmenyEmail + +Osztály: %$osztaly + +%{diak + diakId: %$diakId + oktatási azonosító: %$oId + diákigazolvány szám: %$diakigazolvanySzam + TAJ: %$tajSzam + adoazóazonosító: %$adoazonosito + szemelyiIgazolvanySzam: %$szemelyiIgazolvanySzam + tartozkodasiOkiratSzam: %$tartozkodasiOkiratSzam + viseltNevElotag: %$viseltNevElotag + viseltCsaladinev: %$viseltCsaladinev + viseltUtonev: %$viseltUtonev + Diák teljes neve: %$diakNev + szuleteskoriNevElotag: + szuleteskoriCsaladinev + szuleteskoriUtonev + szuletesiHely + szuletesiIdo + nem + allampolgarsag + lakhelyOrszag + lakhelyHelyseg + lakhelyIrsz + lakhelyKozteruletNev + lakhelyKozteruletJelleg + lakhelyHazszam + lakhelyEmelet + lakhelyAjto + jogviszonyKezdete + jogviszonyVege + telefon + mobil + email + statusz + penzugyiStatusz + szocialisHelyzet + fogyatekossag + gondozasiSzam + elozoIskolaOMKod + kollegista + külső info: %$kulsoInfo + dátum: %$dt + gyengeségek: %$gyengesegek + erősségek: %$erossegek + célok: %$celok + fejlesztési feladatok: %$fejlesztesiFeladatok + eszközök / módszerek: %$eszkozokModszerek + ütemezés: %$utemezes + értekelés: %$ertekeles + eredmény: %$eredmeny + valtozás: %$valtozas + felelős: +%{felelos + Név: %$tanarNev +%}felelos + + ========================== +%}diak + +Az osztály tanárai: +%{osztalyTanar + %?paros|+ %$tanarNev|- %$tanarNev&&%? +%}osztalyTanar diff --git a/mayor-orig/print/module-naplo/templates/draft/sniHaviJegyzokonyv.tmpl b/mayor-orig/print/module-naplo/templates/draft/sniHaviJegyzokonyv.tmpl new file mode 100644 index 00000000..d1293be3 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/sniHaviJegyzokonyv.tmpl @@ -0,0 +1,73 @@ + +Nyomtatás dátuma: %$nyomtatasDt +Dátzm: %$ev-%$honap-%$nap (%$hoNev) + +Intézmény neve: %$intezmenyNev +Intézmény címe: %$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam +Intézmény telefon/fax: %$intezmenyTelefon / %$intezmenyFax +Intézmény honlap/email: %$intezmenyHonlap / %$intezmenyEmail + +Osztály: %$osztaly + +%{diak + diakId: %$diakId + oktatási azonosító: %$oId + diákigazolvány szám: %$diakigazolvanySzam + TAJ: %$tajSzam + adoazóazonosító: %$adoazonosito + szemelyiIgazolvanySzam: %$szemelyiIgazolvanySzam + tartozkodasiOkiratSzam: %$tartozkodasiOkiratSzam + viseltNevElotag: %$viseltNevElotag + viseltCsaladinev: %$viseltCsaladinev + viseltUtonev: %$viseltUtonev + Diák teljes neve: %$diakNev + szuleteskoriNevElotag: + szuleteskoriCsaladinev + szuleteskoriUtonev + szuletesiHely + szuletesiIdo + nem + allampolgarsag + lakhelyOrszag + lakhelyHelyseg + lakhelyIrsz + lakhelyKozteruletNev + lakhelyKozteruletJelleg + lakhelyHazszam + lakhelyEmelet + lakhelyAjto + jogviszonyKezdete + jogviszonyVege + telefon + mobil + email + statusz + penzugyiStatusz + szocialisHelyzet + fogyatekossag + gondozasiSzam + elozoIskolaOMKod + kollegista + külső info: %$kulsoInfo + dátum: %$dt + gyengeségek: %$gyengesegek + erősségek: %$erossegek + célok: %$celok + fejlesztési feladatok: %$fejlesztesiFeladatok + eszközök / módszerek: %$eszkozokModszerek + ütemezés: %$utemezes + értekelés: %$ertekeles + eredmény: %$eredmeny + valtozás: %$valtozas + felelős: +%{felelos + Név: %$tanarNev +%}felelos + + ========================== +%}diak + +Az osztály tanárai: +%{osztalyTanar + %?paros|+ %$tanarNev|- %$tanarNev&&%? +%}osztalyTanar diff --git a/mayor-orig/print/module-naplo/templates/draft/szovegesErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/draft/szovegesErtekeles.tmpl new file mode 100644 index 00000000..1aed9562 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/szovegesErtekeles.tmpl @@ -0,0 +1,37 @@ +%!függvény kiterjesztés +Dt: %$nyomtatasDt +Intézmény: %$intezmenyNev +OM: %$intezmenyOMKod +Irsz: %$intezmenyCimIrsz +Helység: %$intezmenyCimHelyseg +Közterület-név: %$intezmenyCimKozteruletNev +Közterület-jelleg: %$intezmenyCimKozteruletJelleg +Házszám: %$intezmenyCimHazszam +Telefon: %$intezmenyTelefon +Honlap: %$intezmenyHonlap +Email: %$intezmenyEmail +Fax: %$intezmenyFax +Negyedév: %$negyedev +Év: %$ev +Hó: %$honap +Hó név: %$hoNev +Nap: %$nap + +%{diak + Diák neve: %$diakNev Osztály: %$osztaly + Oktatási azonosító: %$oktatasiAzonosito + Törzslapszám: %$torzslapSzam +%{targy + Tárgy neve: %$targyNev +%{szempont + %$szempont +%{minosites + %?elsoValasztott|Első választott|Nem első%? + %?tobbedikValasztott|Többedik választott|Nem többedik%? + %?valasztott|X|O%? %$minosites +%}minosites + %$egyediMinosites +%}szempont + Tárgy minősítés: %$targyMinosites +%}targy +%}diak diff --git a/mayor-orig/print/module-naplo/templates/draft/szovegesZaroErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/draft/szovegesZaroErtekeles.tmpl new file mode 100644 index 00000000..561b0bc8 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/szovegesZaroErtekeles.tmpl @@ -0,0 +1,50 @@ +%!függvény kiterjesztés +Dt: %$nyomtatasDt +Intézmény: %$intezmenyNev +Irsz: %$intezmenyCimIrsz +Helység: %$intezmenyCimHelyseg +Közterület-név: %$intezmenyCimKozteruletNev +Közterület-jelleg: %$intezmenyCimKozteruletJelleg +Házszám: %$intezmenyCimHazszam +Telefon: %$intezmenyTelefon +Honlap: %$intezmenyHonlap +Email: %$intezmenyEmail +Fax: %$intezmenyFax +Negyedév: %$negyedev +Év: %$ev +Hó: %$honap +Hó név: %$hoNev +Nap: %$nap +Félévi-e: %?felevi|félévi|nem félévi%? + +%{diak + Diák neve: %$diakNev Osztály: %$osztaly +%{targy + Tárgy neve: %$targyNev +%{szempont + %$szempont +%{minosites + %?valasztott|X|O%? %$minosites %?%?elsoValasztott|(első)|(nem első)%? %?tobbedikValasztott|(többedik)|(nem többedik)%? +%}minosites + %$egyediMinosites +%}szempont + Tárgy minősítés: %$targyMinosites +%}targy + + Igazolt: %$igazolt + Igazolatlan: %$igazolatlan + Késés perc összeg: %$kesesPercOsszeg + Késésekből adódó igazolatlanok: %$kesesIgazolatlan + Összes igazolatlan: %$osszesIgazolatlan + + Gyakorlati igazolt: %$gyakIgazolt + Gyakorlati igazolatlan: %$hyakIgazolatlan + Gyakorlati késés perc összeg: %$gyakKesesPercOsszeg + Gyakorlati késésekből adódó igazolatlanok: %$gyakKesesIgazolatlan + + Elmélet igazolt: %$elmIgazolt + Elmélet igazolatlan: %$elmIgazolatlan + Elmélet késés perc összeg: %$elmKesesPercOsszeg + Elmélet késésekből adódó igazolatlanok: %$elmKesesIgazolatlan + +%}diak diff --git a/mayor-orig/print/module-naplo/templates/draft/torzslap.tmpl b/mayor-orig/print/module-naplo/templates/draft/torzslap.tmpl new file mode 100644 index 00000000..7632031d --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/torzslap.tmpl @@ -0,0 +1,48 @@ +%!függvény kiterjesztés +Dt: %$nyomtatasDt +Intézmény: %$intezmenyNev +OM: %$intezmenyOMKod +Irsz: %$intezmenyCimIrsz +Helység: %$intezmenyCimHelyseg +Közterület-név: %$intezmenyCimKozteruletNev +Közterület-jelleg: %$intezmenyCimKozteruletJelleg +Házszám: %$intezmenyCimHazszam +Telefon: %$intezmenyTelefon +Honlap: %$intezmenyHonlap +Email: %$intezmenyEmail +Fax: %$intezmenyFax +Negyedév: %$negyedev +Év: %$ev +Hó: %$honap +Hó név: %$hoNev +Nap: %$nap + +%{diak +Személyes adatai + Diák neve: %$diakNev Osztály: %$osztaly + Oktatási azonosító: %$oktatasiAzonosito + Törzslapszám: %$torzslapSzam + Generált törzslapszám: %$torzslapszam + Napló sorszáma: %$naploSorszam + Évfolyama: %$evfolyam + Állampolgársága: %$allampolgarsag + Anyja: %$anyanevElotag %$anyacsaladinev %$anyautonev + Születési helye: %$szuletesiHely, %$szuletesiOrszag + Születési idő: %$szuletesiIdo + Feljegyzések: %$feljegyzesek + +Szöveges Minősítése: +%{targy + Tárgy neve: %$targyNev +%{szempont + %$szempont +%{minosites + %?elsoValasztott|Első választott|Nem első%? + %?tobbedikValasztott|Többedik választott|Nem többedik%? + %?valasztott|X|O%? %$minosites +%}minosites + %$egyediMinosites +%}szempont + Tárgy minősítés: %$targyMinosites +%}targy +%}diak diff --git a/mayor-orig/print/module-naplo/templates/draft/zaradek.tmpl b/mayor-orig/print/module-naplo/templates/draft/zaradek.tmpl new file mode 100644 index 00000000..83aaf314 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/draft/zaradek.tmpl @@ -0,0 +1,33 @@ + +Nyomtatás dátuma: %$nyomtatasDt +Tanév: %$tanevJele +Intézmény: %$intezmenyNev + Irsz: %$intezmenyCimIrsz + Helység: %$intezmenyCimHelyseg + Közterület-név: %$intezmenyCimKozteruletNev + Közterület-jelleg: %$intezmenyCimKozteruletJelleg + Házszám: %$intezmenyCimHazszam + Telefon: %$intezmenyTelefon + Honlap: %$intezmenyHonlap + Email: %$intezmenyEmail + Fax: %$intezmenyFax +Osztaly: %$osztalyJele + +%{diak + Diák neve: %$diakNev +%{zaradek + Záradék dátuma: %$dt + Szövege: %$szoveg + Sorszáma: %$sorszam +%}zaradek +%{bejegyzes + Beírás dátuma: %$beirasDt + Típus: %$tipus + Fokozat: %$fokozat + Fokozat szöveggel: %$szovFokozat + Szöveg: %$szoveg + Tanár: %$tanarNev + Bejegyzés azonosító: %$bejegyzesId + Referencia dátum: %$referenciaDt +%}bejegyzes +%}diak diff --git a/mayor-orig/print/module-naplo/templates/example/diakAdatlap-fenykep_helyett_max_4_jogviszonyvaltassal.tmpl b/mayor-orig/print/module-naplo/templates/example/diakAdatlap-fenykep_helyett_max_4_jogviszonyvaltassal.tmpl new file mode 100644 index 00000000..30556662 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/diakAdatlap-fenykep_helyett_max_4_jogviszonyvaltassal.tmpl @@ -0,0 +1,165 @@ +%!pdfLaTeXA4 pdf +\documentclass[a4paper,10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{array} +\usepackage{tabularx} +\usepackage{fancyhdr} +\pagestyle{fancy} +\textheight 23cm +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$ev. %$hoNev %$nap.}\lhead{\small %$intezmenynev} +\rhead{\small Tanulói adatlap} + +\begin{document} +\setlength{\parindent}{0em} +\setlength{\tabcolsep}{3pt} % cellpadding +\renewcommand{\arraystretch}{1.2} + +%{diak +\begin{tabularx}{312pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Családinév / Utónév}\\ +\multicolumn{2}{|c|}{\large\bfseries %$viseltCsaladinev \qquad %$viseltUtonev}\\ +\hline +\multicolumn{2}{l}{\sffamily\bfseries\slshape Tanuló adatai\vbox to 16pt{}}\\ +\hline +Születési idő: & %$szuletesiEv. %$szuletesiHoNev %$szuletesiNap.\\ +Születési hely: & %$szuletesiHely\\ +Anyja neve: & %$anyaNev\\ +Állampolgársága / Neme: & %$allampolgarsag / %$nem\\ +Jogviszony: & %$jogviszonyKEv. %$jogviszonyKHoNev %$jogviszonyKNap%?jogviszonyVEv|--%$jogviszonyVEv. %$jogviszonyVHoNev %$jogviszonyVNap.|.%? \\ +TAJ: & %$tajSzam\\ +Diákigazolványszám: & %$diakigazolvanySzam\\ +Személyi igazolvány szám: & %$szemelyiIgazolvanySzam\\ +Tartózkodási okirat szám: & %$tartozkodasiOkiratSzam\\ +Adóazonosító: & %$adoazonosito\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{104pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Oktatási azonosító:}\\ +\multicolumn{2}{|c|}{\large\bfseries %$oId}\\ +\hline +\multicolumn{1}{r}{\sffamily Osztály:\vbox to 16pt{}}&\multicolumn{1}{l}{\slshape %$osztalyJel}\\ +\hline +\multicolumn{2}{|c|}{\sffamily Jogviszony:}\\ +&\\ +\multicolumn{2}{|l|}{\sffamily %$jvDt0}\\ +\multicolumn{2}{|r|}{\slshape %$jvStat0}\\ +\multicolumn{2}{|l|}{\sffamily %$jvDt1}\\ +\multicolumn{2}{|r|}{\slshape %$jvStat1}\\ +\multicolumn{2}{|l|}{\sffamily %$jvDt2}\\ +\multicolumn{2}{|r|}{\slshape %$jvStat2}\\ +\multicolumn{2}{|l|}{\sffamily %$jvDt3}\\ +\multicolumn{2}{|r|}{\slshape %$jvStat3}\\ +%%%\multicolumn{2}{|l|}{\sffamily %$jvDt4}\\ +%%%\multicolumn{2}{|r|}{\slshape %$jvStat4}\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Tanuló elérhetősége} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Lakhely: &\multicolumn{3}{l|}{\slshape %?lakhelyHelyseg|%$lakhelyIrsz %$lakhelyHelyseg, %$lakhelyKozteruletNev %$lakhelyKozteruletJelleg %$lakhelyHazszam %$lakhelyEmelet %$lakhelyAjto|%? }\\ +Tartózkodási hely: & \multicolumn{3}{l|}{\slshape %?tartHelyseg|%$tartIrsz %$tartHelyseg, %$tartKozteruletNev %$tartKozteruletJelleg %$tartHazszam %$tartEmelet %$tartAjto|%? }\\ +\hline +Telefonszám: & \makebox[114pt]{%$telefon} & Mobil: & %$mobil \\ +\hline +E-mail: &\multicolumn{3}{l|}{\slshape %$email}\\ +\hline +\end{tabularx} + +\vspace*{10pt} +\renewcommand{\arraystretch}{1.1} +\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Anya adatai}\hfill %$anyaStat}\\ +\hline +Név: & %$anyanevElotag %$anyacsaladinev %$anyautonev\\ +\hline +\sffamily Lakcím: & %$anyacimIrsz %$anyacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$anyacimKozteruletNev %$anyacimKozteruletJelleg %$anyacimHazszam %$anyacimEmelet %$anyacimAjto}\\ +\hline +Telefon: & %$anyatelefon\\ +Mobil: & %$anyamobil\\ +E-mail: & %$anyaemail\\ +\hline +Születési év: & %$anyaszuletesiEv\\ +Foglalkozás: & %$anyafoglalkozas\\ +Munkahely: & %$anyamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Gondviselő adatai}\hfill %$gondviseloStat}\\ +\hline +Név: & %$gondviselonevElotag %$gondviselocsaladinev %$gondviseloutonev\\ +\hline +\sffamily Lakcím: & %$gondviselocimIrsz %$gondviselocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$gondviselocimKozteruletNev %$gondviselocimKozteruletJelleg %$gondviselocimHazszam %$gondviselocimEmelet %$gondviselocimAjto}\\ +\hline +Telefon: & %$gondviselotelefon\\ +Mobil: & %$gondviselomobil\\ +E-mail: & %$gondviseloemail\\ +\hline +Születési év: & %$gondviseloszuletesiEv\\ +Foglalkozás: & %$gondviselofoglalkozas\\ +Munkahely: & %$gondviselomunkahely\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Apa adatai}\hfill %$apaStat}\\ +\hline +Név: & %$apanevElotag %$apacsaladinev %$apautonev\\ +\hline +\sffamily Lakcím: & %$apacimIrsz %$apacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$apacimKozteruletNev %$apacimKozteruletJelleg %$apacimHazszam %$apacimEmelet %$apacimAjto}\\ +\hline +Telefon: & %$apatelefon\\ +Mobil: & %$apamobil\\ +E-mail: & %$apaemail\\ +\hline +Születési év: & %$apaszuletesiEv\\ +Foglalkozás: & %$apafoglalkozas\\ +Munkahely: & %$apamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Nevelő adatai}\hfill %$neveloStat}\\ +\hline +Név: & %$nevelonevElotag %$nevelocsaladinev %$neveloutonev\\ +\hline +\sffamily Lakcím: & %$nevelocimIrsz %$nevelocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$nevelocimKozteruletNev %$nevelocimKozteruletJelleg %$nevelocimHazszam %$nevelocimEmelet %$nevelocimAjto}\\ +\hline +Telefon: & %$nevelotelefon\\ +Mobil: & %$nevelomobil\\ +E-mail: & %$neveloemail\\ +\hline +Születési év: & %$neveloszuletesiEv\\ +Foglalkozás: & %$nevelofoglalkozas\\ +Munkahely: & %$nevelomunkahely\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Egyéb adatok} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Törvényes képviselő:&\multicolumn{3}{l|}{\slshape %$torvenyesKepviselo}\\ +\hline +Szociális helyzet: &\multicolumn{3}{l|}{\slshape %$szocialisHelyzet}\\ +Fogyatékosság: &\multicolumn{3}{l|}{\slshape %$fogyatekossag}\\ +\hline +Finanszírozás: & \makebox[114pt]{%$penzugyiStatusz\hfill} & Gondozási szám: & %$gondozasiSzam \\ +\hline +\end{tabularx} + +\newpage + +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/diakAdatlap-szulostatusz_szoveggel.tmpl b/mayor-orig/print/module-naplo/templates/example/diakAdatlap-szulostatusz_szoveggel.tmpl new file mode 100644 index 00000000..587ffd38 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/diakAdatlap-szulostatusz_szoveggel.tmpl @@ -0,0 +1,163 @@ +%!pdfLaTeXA4 pdf +\documentclass[a4paper,10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{array} +\usepackage{tabularx} +\usepackage{fancyhdr} +\pagestyle{fancy} +\textheight 23cm +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$ev. %$hoNev %$nap.}\lhead{\small %$intezmenynev} +\rhead{\small Tanulói adatlap} + +\begin{document} +\setlength{\parindent}{0em} +\setlength{\tabcolsep}{3pt} % cellpadding +\renewcommand{\arraystretch}{1.2} + +%{diak +\begin{tabularx}{312pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Családinév / Utónév}\\ +\multicolumn{2}{|c|}{\large\bfseries %$viseltCsaladinev \qquad %$viseltUtonev}\\ +\hline +\multicolumn{2}{l}{\sffamily\bfseries\slshape Tanuló adatai\vbox to 16pt{}}\\ +\hline +Születési idő: & %$szuletesiEv. %$szuletesiHoNev %$szuletesiNap.\\ +Születési hely: & %$szuletesiHely\\ +Anyja neve: & %$anyaNev\\ +Állampolgársága / Neme: & %$allampolgarsag / %$nem\\ +Jogviszony: & %$jogviszonyKEv. %$jogviszonyKHoNev %$jogviszonyKNap%?jogviszonyVEv|--%$jogviszonyVEv. %$jogviszonyVHoNev %$jogviszonyVNap.|.%? \\ +TAJ: & %$tajSzam\\ +Diákigazolványszám: & %$diakigazolvanySzam\\ +Személyi igazolvány szám: & %$szemelyiIgazolvanySzam\\ +Tartózkodási okirat szám: & %$tartozkodasiOkiratSzam\\ +Adóazonosító: & %$adoazonosito\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{104pt}{| >{\sffamily}r >{\slshape}X |} +\hline +\multicolumn{2}{|c|}{\sffamily Oktatási azonosító:}\\ +\multicolumn{2}{|c|}{\large\bfseries %$oId}\\ +\hline +\multicolumn{1}{r}{\sffamily Osztály:\vbox to 16pt{}}&\multicolumn{1}{l}{\slshape %$osztalyJel}\\ +\hline +&\\ +&\\ +&\\ +&\\ +\multicolumn{2}{|c|}{\slshape fénykép}\\ +&\\ +&\\ +&\\ +&\\ +&\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Tanuló elérhetősége} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Lakhely: &\multicolumn{3}{l|}{\slshape %?lakhelyHelyseg|%$lakhelyIrsz %$lakhelyHelyseg, %$lakhelyKozteruletNev %$lakhelyKozteruletJelleg %$lakhelyHazszam %$lakhelyEmelet %$lakhelyAjto|%? }\\ +Tartózkodási hely: & \multicolumn{3}{l|}{\slshape %?tartHelyseg|%$tartIrsz %$tartHelyseg, %$tartKozteruletNev %$tartKozteruletJelleg %$tartHazszam %$tartEmelet %$tartAjto|%? }\\ +\hline +Telefonszám: & \makebox[114pt]{%$telefon} & Mobil: & %$mobil \\ +\hline +E-mail: &\multicolumn{3}{l|}{\slshape %$email}\\ +\hline +\end{tabularx} + +\vspace*{10pt} +\renewcommand{\arraystretch}{1.1} +\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Anya adatai}\hfill %$anyastatusz}\\ +\hline +Név: & %$anyanevElotag %$anyacsaladinev %$anyautonev\\ +\hline +\sffamily Lakcím: & %$anyacimIrsz %$anyacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$anyacimKozteruletNev %$anyacimKozteruletJelleg %$anyacimHazszam %$anyacimEmelet %$anyacimAjto}\\ +\hline +Telefon: & %$anyatelefon\\ +Mobil: & %$anyamobil\\ +E-mail: & %$anyaemail\\ +\hline +Születési év: & %$anyaszuletesiEv\\ +Foglalkozás: & %$anyafoglalkozas\\ +Munkahely: & %$anyamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Gondviselő adatai}\hfill %$gondviselostatusz}\\ +\hline +Név: & %$gondviselonevElotag %$gondviselocsaladinev %$gondviseloutonev\\ +\hline +\sffamily Lakcím: & %$gondviselocimIrsz %$gondviselocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$gondviselocimKozteruletNev %$gondviselocimKozteruletJelleg %$gondviselocimHazszam %$gondviselocimEmelet %$gondviselocimAjto}\\ +\hline +Telefon: & %$gondviselotelefon\\ +Mobil: & %$gondviselomobil\\ +E-mail: & %$gondviseloemail\\ +\hline +Születési év: & %$gondviseloszuletesiEv\\ +Foglalkozás: & %$gondviselofoglalkozas\\ +Munkahely: & %$gondviselomunkahely\\ +\hline +\end{tabularx}\hspace*{2pt}\begin{tabularx}{208pt}{| >{\sffamily}r >{\slshape}X |} +\multicolumn{2}{l}{{\sffamily\slshape\bfseries Apa adatai}\hfill %$apastatusz}\\ +\hline +Név: & %$apanevElotag %$apacsaladinev %$apautonev\\ +\hline +\sffamily Lakcím: & %$apacimIrsz %$apacimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$apacimKozteruletNev %$apacimKozteruletJelleg %$apacimHazszam %$apacimEmelet %$apacimAjto}\\ +\hline +Telefon: & %$apatelefon\\ +Mobil: & %$apamobil\\ +E-mail: & %$apaemail\\ +\hline +Születési év: & %$apaszuletesiEv\\ +Foglalkozás: & %$apafoglalkozas\\ +Munkahely: & %$apamunkahely\\ +\hline +\multicolumn{2}{l}{\vbox to 16pt{}{\sffamily\bfseries\slshape Nevelő adatai}\hfill %$nevelostatusz}\\ +\hline +Név: & %$nevelonevElotag %$nevelocsaladinev %$neveloutonev\\ +\hline +\sffamily Lakcím: & %$nevelocimIrsz %$nevelocimHelyseg\\ +\multicolumn{2}{|r|}{\slshape %$nevelocimKozteruletNev %$nevelocimKozteruletJelleg %$nevelocimHazszam %$nevelocimEmelet %$nevelocimAjto}\\ +\hline +Telefon: & %$nevelotelefon\\ +Mobil: & %$nevelomobil\\ +E-mail: & %$neveloemail\\ +\hline +Születési év: & %$neveloszuletesiEv\\ +Foglalkozás: & %$nevelofoglalkozas\\ +Munkahely: & %$nevelomunkahely\\ +\hline +\end{tabularx} + +\vspace*{10pt} +{\sffamily\bfseries\slshape Egyéb adatok} + +\begin{tabularx}{418pt}{| >{\sffamily}r >{\slshape}l<{\hspace*{4pt}} | >{\sffamily}r >{\slshape}X |} +\hline +Törvényes képviselő:&\multicolumn{3}{l|}{\slshape %$torvenyesKepviselo}\\ +\hline +Szociális helyzet: &\multicolumn{3}{l|}{\slshape %$szocialisHelyzet}\\ +Fogyatékosság: &\multicolumn{3}{l|}{\slshape %$fogyatekossag}\\ +\hline +Finanszírozás: & \makebox[114pt]{%$penzugyiStatusz\hfill} & Gondozási szám: & %$gondozasiSzam \\ +\hline +\end{tabularx} + +\newpage + +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A4-ketsorosfejlec-soktantargyhoz.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A4-ketsorosfejlec-soktantargyhoz.tmpl new file mode 100644 index 00000000..f1acb141 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A4-ketsorosfejlec-soktantargyhoz.tmpl @@ -0,0 +1,74 @@ +%!pdfLaTeXA4 pdf +% +% Félévi értesítő +% A4-es méretű, kétsoros fejlécű értesítő +% +% Szerző: Vass Gergely (Szentpáli István Kereskedelmi és Vendéglátó Szakközépiskola és Szakiskola) +% +% +\documentclass[8pt]{article} + +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\normalsize \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\chead{\large %$intezmenyNev\\ Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +%\lhead{\large %$intezmenyNev} +\begin{document} + +%{diak +\begin{center} +{\Huge %$diakNev}\\ +{\Large %$osztaly osztály} + +\vspace{4pt} + +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{8pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{8pt}\begin{flushleft} +{\Large %$intezmenyCimHelyseg, %$ev. %$hoNev 20.} +\end{flushleft} +\vspace{12pt}\slshape\Large +\begin{tabular}{ccc} +\rule{5cm}{0.1pt}&&\rule{5cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A4-split.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A4-split.tmpl new file mode 100644 index 00000000..dece5130 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A4-split.tmpl @@ -0,0 +1,70 @@ +%!pdfLaTeXA4Split zip +% +% Félévi értesítő +% A4-es méretű, kétsoros fejlécű értesítő, laponként külön pdf zip-be csomagolva +% +% +\documentclass[8pt]{article} + +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\normalsize \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\chead{\large %$intezmenyNev\\ Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +%\lhead{\large %$intezmenyNev} +\begin{document} + +%{diak +\begin{center} + +\ \Large +\vspace{32pt} + +{\Huge %$diakNev} + +\vspace{6pt} +{\Large %$osztaly osztály} + +\vspace{4pt} + +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{32pt}\begin{flushleft} +{\Large %$intezmenyCimHelyseg, %$ev. %$hoNev 20.} +\end{flushleft} +\vspace{24pt}\slshape\Large +\begin{tabular}{ccc} +\rule{5cm}{0.1pt}&&\rule{5cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A4.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A4.tmpl new file mode 100644 index 00000000..d7cb95c3 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A4.tmpl @@ -0,0 +1,74 @@ +%!pdfLaTeXA4 pdf +% +% Félévi értesítő +% A4-es méretű, megnövelt betűméretű (kivéve a lábjegyzet) sablon +% +% Szerző: Hóbor Miklós (Toldy Gimnázium) +% +% +\documentclass[8pt]{article} + +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\normalsize \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\large %$intezmenyNev} +\rhead{\large Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\Huge %$diakNev}\\ +{\Large %$osztaly osztály} + +\vspace{4pt} + +\LARGE +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{8pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{8pt}\begin{flushleft} +{\Large %$intezmenyCimHelyseg, %$ev. %$hoNev 20.} +\end{flushleft} +\vspace{12pt}\slshape\Large +\begin{tabular}{ccc} +\rule{5cm}{0.1pt}&&\rule{5cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A6-19targy.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-19targy.tmpl new file mode 100644 index 00000000..acf45510 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-19targy.tmpl @@ -0,0 +1,74 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +% Szerző: Vass Gergely (info@ker-misk.sulinet.hu) +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\addtolength{\textheight}{1.2 truecm} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{8mm} +\setlength{\footskip}{12pt} +\setlength{\headsep}{10pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +\mbox{}\\[-8.5mm] +\textbf{\small \bfseries %$diakNev}\\ [-1.5mm] +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A6-aprobetus.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-aprobetus.tmpl new file mode 100644 index 00000000..cf606409 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-aprobetus.tmpl @@ -0,0 +1,74 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +% Szerző: Vass Gergely (info@ker-misk.sulinet.hu) +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\addtolength{\textheight}{1.2 truecm} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{2mm} +\setlength{\footskip}{12pt} +\setlength{\headsep}{10pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +\mbox{}\\[-8.5mm] +\textbf{\small \bfseries %$diakNev}\\ [-1.5mm] +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\footnotesize +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-A6-helytakarekos.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-helytakarekos.tmpl new file mode 100644 index 00000000..fc524fe5 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-A6-helytakarekos.tmpl @@ -0,0 +1,80 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +% Szerző: Szirmai Ottó (szirmai_otto@bethlenszki.hu) +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +% ----------------------------- Az alábbi sor a láblécet tolja lejjebb, ettől több hasznos hely marad a lap alján. +\addtolength{\textheight}{1 truecm} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\chead{\tiny %$intezmenyNev\\ Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +%\lhead{\tiny %$intezmenyNev} +%\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +% ----------------------------------- Az alábbi két sorban a []-közötti számok a név elötti és utáni helyet állítják +% ----------------------------------- A Diák nevének szövegét méretezhetjük: large, small, tiny +\mbox{}\\[-7.5mm] +{\large %$diakNev}\\[-0.5mm] +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +% ------------------------------------- Az alábbi sorokban volt benne az a változó ami berakta, hogy mennyit hiányzott a gyerek. Ez most üres, így kézzel kell kitölteni, viszont ennek köszönhetően igazodni lehet a helyi elvárásokhoz. +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl }&igazolatlan\footnotemark[1]&{\sl }\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-elmelet-gyakorlat.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-elmelet-gyakorlat.tmpl new file mode 100644 index 00000000..6631c467 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-elmelet-gyakorlat.tmpl @@ -0,0 +1,78 @@ +%!pdfLaTeXA6 pdf +% +% texlive-latex-extra csomagot igényel (ragged2e) +% - fejlécben több sorba tördeli az intézménynevet, ha kell +% - tördeli a hosszú tárgyneveket is +% - kés osrban külön jelennek meg az elméleti és gyakorlati hiányzás adatok +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage{ragged2e} +\usepackage{array} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\tiny \parbox[b]{4cm}{\RaggedRight %$intezmenyNev}} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{>{\RaggedRight}m{3.8cm}@{\ \ }|>{\RaggedLeft}m{3cm}@{\ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +elméleti igazolt&{\sl %$elmIgazolt}&igazolatlan\footnotemark[1]&{\sl %$elmOsszesIgazolatlan}\\ +gyakorlati igazolt&{\sl %$gyakIgazolt}&igazolatlan\footnotemark[1]&{\sl %$gyakOsszesIgazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-keses_percosszeggel.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-keses_percosszeggel.tmpl new file mode 100644 index 00000000..b7789abd --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-keses_percosszeggel.tmpl @@ -0,0 +1,70 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan+%$kesesIgazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{igazolatlan (esetleg még igazolható) hiányzás+%$kesesPercOsszeg perc késés} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-ketsoros_fejlec.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-ketsoros_fejlec.tmpl new file mode 100644 index 00000000..69faed29 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-ketsoros_fejlec.tmpl @@ -0,0 +1,72 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\chead{\tiny %$intezmenyNev\\ Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +%\lhead{\tiny %$intezmenyNev} +%\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-labjegyzet_nelkul.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-labjegyzet_nelkul.tmpl new file mode 100644 index 00000000..8626e79e --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-labjegyzet_nelkul.tmpl @@ -0,0 +1,73 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +%\chead{\tiny %$intezmenyNev\\ Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +%igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +igazolt&{\sl %$igazolt}&igazolatlan&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +%\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-targyrovidnevvel.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-targyrovidnevvel.tmpl new file mode 100644 index 00000000..308a232e --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-targyrovidnevvel.tmpl @@ -0,0 +1,70 @@ +%!pdfLaTeXA6 pdf +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt}\lhead{\tiny %$intezmenyNev} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{@{\ \ }l|r@{\ \ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%?targyRovidNev|%$targyRovidNev|%$targyNev%? & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/ertesito-tordelt_sorok.tmpl b/mayor-orig/print/module-naplo/templates/example/ertesito-tordelt_sorok.tmpl new file mode 100644 index 00000000..4336aeee --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/ertesito-tordelt_sorok.tmpl @@ -0,0 +1,77 @@ +%!pdfLaTeXA6 pdf +% +% texlive-latex-extra csomagot igényel (ragged2e) +% - fejlécben több sorba tördeli az intézménynevet, ha kell +% - tördeli a hosszú tárgyneveket is +% +% Félévi értesítő +% +\documentclass[8pt]{article} + +\usepackage[a6paper]{geometry} % A6-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage{ragged2e} +\usepackage{array} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{10mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{14pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\tiny \parbox[b]{4cm}{\RaggedRight %$intezmenyNev}} +\rhead{\tiny Értesítő %$tanevKezdesEv-%$tanevZarasEv/%$szemeszter} +\begin{document} + +%{diak +\begin{center} +{\large %$diakNev}\\ +{\scriptsize %$osztaly osztály} + +\vspace{2pt} + +\small +\begin{tabular}{>{\RaggedRight}m{3.8cm}@{\ \ }|>{\RaggedLeft}m{3cm}@{\ }} +\toprule\hline magatartás & \emph{%$magatartas}\\ +\hline szorgalom & \emph{%$szorgalom}\\ +\hline\hline + +%{targy +%$targyNev & \emph{%$hivatalos %$mJel} \\ +\hline +%}targy + +\bottomrule +\end{tabular} + +\vspace{4pt} +\begin{tabular}{@{\ \ }l|r|l|r@{\ \ }} +\multicolumn{4}{c}{mulasztott órák száma} \\ +\midrule +igazolt&{\sl %$igazolt}&igazolatlan\footnotemark[1]&{\sl %$igazolatlan}\\ +\bottomrule +\end{tabular} +\footnotetext[1]{Tartalmazhat még igazolható hiányzásokat is!} +\vspace{4pt}\begin{flushleft} +{\scriptsize %$intezmenyCimHelyseg, %$ev. %$hoNev %$nap.} +\end{flushleft} +\vspace{6pt}\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3cm}{0.1pt}&&\rule{3cm}{0.1pt}\\ +osztályfőnök&&szülő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/example/helyettesitesinaplo-landscape.tmpl b/mayor-orig/print/module-naplo/templates/example/helyettesitesinaplo-landscape.tmpl new file mode 100644 index 00000000..343899d9 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/helyettesitesinaplo-landscape.tmpl @@ -0,0 +1,81 @@ +%!pdfLaTeXTwice pdf +% +% A helyettesítési napló fekvő tájolással +% +\documentclass[8pt]{article} +\usepackage[landscape, a4paper]{geometry} % A4-es méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\setlength\LTleft{-65pt} +\setlength\LTright{-65pt} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small Helyettesítési-napló %$tanev} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyDt} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\begin{center} +{\large\bfseries H E L Y E T T E S Í T É S E K}\\ + +\vspace{12pt} + +{\bfseries\normalsize %$tolDt – %$igDt}\\ + +\vspace{12pt} + +\scriptsize +\begin{longtable}{@{\extracolsep{\fill}}c|c|l|l|l|c} +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endfirsthead +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endhead +\bottomrule +\endfoot +\bottomrule +\endlastfoot +\hline +%{hDt +%{helyettesites +\vbox to 1.2em {}%$dt&%$ora&%$kiCn&%$kitCn&%$tankorNev&%$tipus\\ +%}helyettesites +\midrule +%}hDt + +\end{longtable} + +\vspace{16pt} + +\begin{flushleft} +{\scriptsize %$intezmenyHelyseg, %$nyDatumStr} +\end{flushleft} +\vspace{20pt}\slshape\scriptsize +\begin{tabular}{ccc} +%\rule{3.5cm}{0.1pt} +\hspace{3.5cm}% +&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +%tanuló +&&igazgató\\ +\end{tabular} + +\end{center} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/example/kirBizonyitvanyExport.tmpl b/mayor-orig/print/module-naplo/templates/example/kirBizonyitvanyExport.tmpl new file mode 100644 index 00000000..a1eef9f3 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/kirBizonyitvanyExport.tmpl @@ -0,0 +1,11 @@ + + +%{diak + +%{targy + + +%>targy +%}diak + \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/example/torzslap-eves_oraszammal.tmpl b/mayor-orig/print/module-naplo/templates/example/torzslap-eves_oraszammal.tmpl new file mode 100644 index 00000000..2259ae8a --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/example/torzslap-eves_oraszammal.tmpl @@ -0,0 +1,218 @@ +%!pdfLaTeXA4 pdf +% +% Törzslap - Év végi szöveges értékelés +% +\documentclass[10pt]{article} + +%%%\usepackage[a4paper, top=10mm, bottom=20mm, left=25mm, right=25mm]{geometry} % A4-os méret +\usepackage[paperwidth=210mm, paperheight=297mm, top=10mm, bottom=20mm, left=10mm, right=10mm]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\usepackage{tabularx} +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{enumitem} % formázható felsorolások, pl bal margó.... +\usepackage{multirow} +\usepackage{ifthen} +\newcolumntype{N}{@{}m{0pt}@{}} % Lezáró oszlop típus +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{fancyhdr} % Ritkítás +\pagestyle{empty} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\lhead{}\chead{}\rhead{} +\lfoot{}\cfoot{}\rfoot{} +\lfoot{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ elektronikus napló (2014.10.26)} +%% Az osztási maradék meghatározása +\newcounter{modulus} +\makeatletter +\newcommand\modulo[2]{\@tempcnta=#1 + \divide\@tempcnta by #2 + \multiply\@tempcnta by #2 + \multiply\@tempcnta by -1 + \advance\@tempcnta by #1\relax + \setcounter{modulus}{\@tempcnta} + %%%\the\@tempcnta %% nem kell kiírni - eltároltuk a modulus nevű counterbe inkább... +} +\makeatother + +\begin{document} + +%{diak + +\modulo{\value{page}}{2}\ifthenelse{\equal{\value{modulus}}{1}}{}{\hbox{}\newpage} +\thispagestyle{empty} + +%% +%% Személyi adatok táblázata %% +%% +%%% A méretek: \noindent\rule{32mm}{1mm}\rule{28mm}{0.1mm}\rule{28mm}{1mm}\rule{32mm}{0.1mm}\rule{70mm}{1mm} +%%% A méretek: 32|28|28|32|70 + +\begin{table}[ht] +\begin{tabular}{|m{27.6mm} @{\hspace{2.2mm}\vline} p{56mm}@{\vline}p{29.8mm}|p{67mm} N |} + +\hline +\centering\multirow{3}{*}{A tanuló} +&\multirow{2}{56mm}{ +\begin{tabular}{ @{} p{26mm} @{\vline\hspace{1.6mm}} p{26mm} @{} } +Törzslapszáma:&Osztálynapló \newline sorszáma:\\ +\centering\sffamily %$torzslapszam&\centering\sffamily %$diakNaploSorszam +\end{tabular} +}&\hspace{2.2mm}Tanév, évfolyam:&Állampolgársága:\newline &\\ +&&\hspace{2.2mm}\centering\sffamily %$tanevJele, %$evfolyamJel. évf.&\centering\sffamily %$allampolgarsag&\\ + +\hline +családi és&\centering\multirow{2}{*}{\sffamily\large %$diakNev}&\multicolumn{2}{l}{Anyja születési neve:}&\\ +utóneve&&\multicolumn{2}{@{}p{101mm}@{}}{\centering\sffamily %$anyaNev}&\\ + +\hline +\multirow{2}{*}{azonosító száma} +&\centering\multirow{2}{*}{\sffamily\large %$oktatasiAzonosito} +&\multicolumn{2}{|l}{Feljegyzések személyi adatok változásához:} +&\\ + +& +&\multicolumn{2}{l}{ +\multirow{2}{90mm}{\newline +\sffamily +%$feljegyzesek +}} +&\\ + +\cline{1-2} + +\multirow{4}{*}{születési helye} +&\multirow{2}{*}{\hspace{2mm}\sffamily %$szuletesiHely}\hfill város\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +&\hfill község\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +\cline{2-2} + +&\multirow{2}{*}{\hspace{2mm}\sffamily %$szuletesiOrszag}\hfill \multirow{2}{*}{ország}\ \hspace{0mm} +&\multicolumn{2}{l}{} +&\\ + +& +&\multicolumn{2}{l}{} +&\\ + +\cline{1-2} + +\multirow{2}{*}{születési ideje} +&\centering\multirow{2}{*}{\sffamily %$szuletesiIdo} +&\multicolumn{2}{l}{} +& +\\ + + +& +&\multicolumn{2}{l}{ +} +&\\ + +\hline + +\end{tabular} + +\end{table} + + +%% +%% Jegyek +%% +%%\small +\centering +\begin{tabular}{|@{\ \ }m{6cm}|>{\raggedleft\arraybackslash}m{4cm}@{\ \ }|@{}m{0pt}@{}} +%?magatartas|\hline |%? +%?magatartas|magatartás & \emph{%$magatartas}&\\[16pt]|%? +%?magatartas|\hline |%? +%?szorgalom|szorgalom & \emph{%$szorgalom}&\\[16pt]|%? +%?szorgalom|\hline\hline |%? + +%{osztalyzatTargy +%$targyNev & \emph{%$hivatalos} (%$evesOraszam óra) & \\[10pt]%% %$mJel kivéve +\hline +%}osztalyzatTargy +\end{tabular} + + +\begin{tabular}{|@{\ \ }m{3cm}|>{\raggedleft\arraybackslash}m{7cm}@{\ \ }|@{}m{0pt}@{}} +\multicolumn{2}{c}{\bfseries mulasztott órák száma} &\\[10pt] +\hline +igazolt&{\sl %$igazolt}& \\[10pt] +\hline +igazolatlan&{\sl\ %$osszesIgazolatlan}& \\[10pt] +\hline +\multicolumn{2}{r}{\sl %$igazolatlan igazolatlan tanóra + %$kesesPercOsszeg perc késés} &\\[10pt] +\end{tabular} +%%%\centering + + +%% +%% Szöveges értékelés +%% +%\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%\thispagestyle{fancy}%%%%\vspace*{8pt} +%\rfoot{\footnotesize \rule{0cm}{0.1pt} \\ %$osztaly - %$diakNev} + + +%?szovegesErtekeles|{\vspace*{12pt}\small\noindent A tanuló teljesítményének, magatartásának, szorgalmának szöveges minősítése:}| %? + +{\vspace{6pt}\scriptsize\raggedright +%{targy +{\vspace{5pt}\noindent\bfseries %$targyNev} +\nopagebreak[4]%% +\begin{description}[font=\mdseries\itshape, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=4.5cm, style=nextline, itemsep=0pt, labelindent=\parindent] +\nopagebreak[4]%% +%{szempont +\item[%$szempont] +%{minosites +%?elsoValasztott|%$minosites|%?%?tobbedikValasztott|, %$minosites|%?%% +%}minosites +%?egyediMinosites|\par{%$egyediMinosites}|%?%% +\nopagebreak[4]%% +%}szempont +\end{description} +%}targy + +%% +%% Hiányzások - kell ez? +%% +%%%%{\vspace{6pt}\noindent\bfseries Hiányzások:} +%%%% +%%%%Igazolt/igazolatlan: %$igazolt/%$osszesIgazolatlan (%$igazolatlan tanóra + %$kesesPercOsszeg perc késés) +%%%% +} +%%scriptsize vége + +{\raggedright +{\vspace{6pt}\noindent\bfseries Bejegyzések:} + +%$bejegyzesek + +}%%raggedright vége + +{\raggedright +{\vspace{6pt}\noindent\bfseries Záradékok:} + +%$zaradekok + +%$zaroZaradek +}%%raggedright vége + + +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +%}diak + +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/fasori/helyettesitesinaplo.tmpl b/mayor-orig/print/module-naplo/templates/fasori/helyettesitesinaplo.tmpl new file mode 100644 index 00000000..f8a12a05 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/fasori/helyettesitesinaplo.tmpl @@ -0,0 +1,81 @@ +%!pdfLaTeXTwice pdf +% +% Helyettesítési napló nyomtatás - fekvő formátum - hosszú sorok esetére... +% +\documentclass[8pt,landscape]{article} +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\setlength\LTleft{-65pt} +\setlength\LTright{-65pt} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small Helyettesítési-napló %$tanev} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyDt} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\begin{center} +{\large\bfseries H E L Y E T T E S Í T É S E K}\\ + +\vspace{12pt} + +{\bfseries\normalsize %$tolDt – %$igDt}\\ + +\vspace{12pt} + +\scriptsize +\begin{longtable}{@{\extracolsep{\fill}}c|c|l|l|l|r} +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endfirsthead +Dátum & Óra & Ki & Kit & Tankör & Típus \\ +\toprule +\endhead +\bottomrule +\endfoot +\bottomrule +\endlastfoot +\hline +%{hDt +%{helyettesites +\vbox to 1.2em {}%$dt&%$ora&%$kiCn&%$kitCn&%$tankorNev&%$tipus\\ +%}helyettesites +\midrule +%}hDt + +\end{longtable} + +\vspace{16pt} + +\begin{flushleft} +{\scriptsize %$intezmenyHelyseg, %$nyDatumStr} +\end{flushleft} +\vspace{20pt}\slshape\scriptsize +\begin{tabular}{ccc} +%\rule{3.5cm}{0.1pt} +\hspace{3.5cm}% +&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +%tanuló +&&igazgató\\ +\end{tabular} + +\end{center} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A4.tmpl b/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A4.tmpl new file mode 100644 index 00000000..e094aa2b --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A4.tmpl @@ -0,0 +1,87 @@ +%!pdfLaTeXA4 pdf +% +% Fasori Gimnázium - Negyedéves értékelés +% +\documentclass[10pt]{article} + +\usepackage[a4paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\tiny +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon\\ +\vspace{8pt}} +\chead{ +\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +\tiny\scshape timor Domini principium scientiæ +} +\rhead{\tiny Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax\\ \vspace{8pt}} + +\begin{document} +\vspace*{-18pt} + +%{diak +\begin{center} +\vspace{18pt}{\Large Értesítő}\\ \vspace{10pt}Értesítjük a Tisztelt Szülőket, hogy %$negyedev negyedév tanulmányi eredményeinek felmérése szerint + +\vspace{12pt} + +\vspace{6pt}{\large %$diakNev} + +\vspace{6pt}%$osztaly osztályos gyermekük minősítése: + + +\vspace{14pt}\small\begin{tabular}{@{\ \ }l|r@{\ \ }} +%{targy +\hline\vbox to 1.2em {}%$targyNev tantárgyból & \emph{%$targyMinosites}\\ +%}targy +\hline\end{tabular}\end{center} + +\vspace{12pt} + +{\noindent\scriptsize\bfseries\slshape Megjegyzés:} +\begin{description} +\scriptsize +\setlength{\parskip}{-4pt} +\item[Dicséret:] a tanuló kiemelkedően teljesít. +\item[Figyelmezetés:] a tanuló nem teljesít olyan szinten, ahogyan azt képességeitől elvárhatnánk. +\item[Intés:] a tanuló elégségesre áll. +\item[Megrovás:] a tanuló bukásra áll. +\end{description} + +\vspace{12pt}\noindent +Kérjük, hogy ezt az értesítőt mindkét szülő aláírásával ellátva az osztályfőnököknek juttassák vissza!\\ + +\vspace{12pt} +\noindent +Budapest, %$ev. %$hoNev %$nap.\hspace{11.5em} P.H.\\ + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +apa/gondviselő&&anya/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A5.tmpl b/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A5.tmpl new file mode 100644 index 00000000..057a7149 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/fasori/szovegesErtekeles-A5.tmpl @@ -0,0 +1,87 @@ +%!pdfLaTeXA5 pdf +% +% Fasori Gimnázium - Negyedéves értékelés +% +\documentclass[10pt]{article} + +\usepackage[a5paper]{geometry} % A5-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\usepackage{graphicx} % Kép beillesztés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{16pt} +\setlength{\headsep}{24pt} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\lhead{\tiny +%$intezmenyNev\\ +%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +Tel: %$intezmenyTelefon\\ +\vspace{8pt}} +\chead{ +\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +\tiny\scshape timor Domini principium scientiæ +} +\rhead{\tiny Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax\\ \vspace{8pt}} + +\begin{document} +\vspace*{-18pt} + +%{diak +\begin{center} +\vspace{18pt}{\Large Értesítő}\\ \vspace{10pt}Értesítjük a Tisztelt Szülőket, hogy %$negyedev negyedév tanulmányi eredményeinek felmérése szerint + +\vspace{12pt} + +\vspace{6pt}{\large %$diakNev} + +\vspace{6pt}%$osztaly osztályos gyermekük minősítése: + + +\vspace{14pt}\small\begin{tabular}{@{\ \ }l|r@{\ \ }} +%{targy +\hline\vbox to 1.2em {}%$targyNev tantárgyból & \emph{%$targyMinosites}\\ +%}targy +\hline\end{tabular}\end{center} + +\vspace{12pt} + +{\noindent\scriptsize\bfseries\slshape Megjegyzés:} +\begin{description} +\scriptsize +\setlength{\parskip}{-4pt} +\item[Dicséret:] a tanuló kiemelkedően teljesít. +\item[Figyelmezetés:] a tanuló nem teljesít olyan szinten, ahogyan azt képességeitől elvárhatnánk. +\item[Intés:] a tanuló elégségesre áll. +\item[Megrovás:] a tanuló bukásra áll. +\end{description} + +\vspace{12pt}\noindent +Kérjük, hogy ezt az értesítőt mindkét szülő aláírásával ellátva az osztályfőnököknek juttassák vissza!\\ + +\vspace{12pt} +\noindent +Budapest, %$ev. %$hoNev %$nap.\hspace{11.5em} P.H.\\ + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\ +apa/gondviselő&&anya/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/vmg/beiskolazasiTerv.tmpl b/mayor-orig/print/module-naplo/templates/vmg/beiskolazasiTerv.tmpl new file mode 100644 index 00000000..b8918767 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/vmg/beiskolazasiTerv.tmpl @@ -0,0 +1,90 @@ +%!pdfLaTeXTwice pdf +\documentclass[8pt]{article} +\usepackage[a4paper,landscape,left=15mm,right=15mm,bottom=25mm,top=25mm]{geometry} % A4-es méret +%%%\geometry{left=10mm,right=10mm} +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\usepackage{multirow} % table rowspan +%%\setlength\LTleft{-50pt} +%%\setlength\LTright{-50pt} +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small %$intezmenyNev} +\rhead{\small Beiskolázási terv %$tanevJele} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} + +\small +\newcounter{sorsz} +\begin{center} +{\large\bfseries Beiskolázási terv - %$tanevJele}\\ + +\vspace{12pt} + +\begin{longtable}{r|l|l|l|l|l|r} +\toprule +\multicolumn{1}{c|}{} & \multicolumn{1}{c|}{Név,} & \multicolumn{1}{c|}{Alkalmazott} & \multicolumn{1}{c|}{Továbbképzés neve,} & \multicolumn{1}{c|}{Várható távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás módja} \\ +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{munkakör} & \multicolumn{1}{c|}{prioritás} & \multicolumn{1}{c|}{ideje és időtartama} & \multicolumn{1}{c|}{ideje} & \multicolumn{1}{c|}{rendje, módja} & \multicolumn{1}{c}{részösszeg / támogatás} \\ +\bottomrule +\endfirsthead +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\toprule +\endhead +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\bottomrule +\endfoot +\multicolumn{1}{c|}{Sorsz.} & \multicolumn{1}{c|}{Név} & \multicolumn{1}{c|}{Prioritás} & \multicolumn{1}{c|}{Továbbképzés} & \multicolumn{1}{c|}{Távollét} & \multicolumn{1}{c|}{Helyettesítés} & \multicolumn{1}{c}{Finanszírozás} \\ +\bottomrule +\endlastfoot +%%%\hline +%{tanulmanyiEgyseg +%%%\addtocounter{sorsz}{1}\arabic{sorsz}. & \vbox to 1.2em {}%$tanarNev & %$prioritas & %$tovabbkepzesNev & \multirow{2}{*}{%$tavollet} & \multirow{2}[4]{2cm}{%$helyettesitesRendje} & \vbox{{%$helyettesitesRendje %$reszosszeg Ft/ %$tamogatas Ft}} \\ +%%% & \vbox to 1.2em {}tanár & & %$tolDt--%$igDt (%$oraszam óra) & & & \\ +\addtocounter{sorsz}{1}\arabic{sorsz}.\vbox to 1.2em {} & +\parbox[t]{3cm}{ %$tanarNev\\ tanár} & +%$prioritas & +\parbox[t]{5cm}{%$tovabbkepzesNev\\ %$tolDt--%$igDt (%$oraszam óra)} & +\parbox[t]{4cm}{%$tavollet} & +\parbox[t]{4cm}{%$helyettesitesRendje} & +%$reszosszeg Ft/ %$tamogatas Ft \\ +\midrule +%%\hline +%}tanulmanyiEgyseg + +\end{longtable} + +\end{center} + +Szakvizsgára felkészítő továbbképzés kötelező további adatait (lakcím, végzettség, szakképzettség, szakmai gyakorlat ideje és helye) külön mellékletként kell csatolni. + +\begin{center} + +\vspace{20pt} +\begin{tabular}{lcc}%%\hspace{3.5cm}% +{%$intezmenyCimHelyseg, %$nyomtatasDatumStr}&\hspace{5cm}\ &\\ +\vbox to 5.2em {}&\hspace{5cm}\ &\rule{4.5cm}{0.1pt}\\ +&&\slshape igazgató\\ +{A beiskolázási tervet a fenntartó ellenjegyezte.}&\hspace{5cm}\ &\\ +\vbox to 5.2em {}&\hspace{5cm}\ &\rule{4.5cm}{0.1pt}\\ +&&\slshape aláírás\\ +\end{tabular} + +\end{center} + +\end{document} \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/templates/vmg/szovegesErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/vmg/szovegesErtekeles.tmpl new file mode 100644 index 00000000..bd479343 --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/vmg/szovegesErtekeles.tmpl @@ -0,0 +1,102 @@ +%!pdfLaTeXA5 pdf +% +% Évközi szöveges értékelés +% +\documentclass[10pt]{article} + +\usepackage[a5paper]{geometry} % A4-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\usepackage{enumitem} +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{fancyhdr} % Ritkítás +\pagestyle{empty} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\lhead{}\chead{}\rhead{} +\lfoot{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ elektronikus napló\\Nyomtatva: %$nyomtatasDt}\cfoot{}\rfoot{} +%%%\addtolength{\skip\footins}{2mm} +%%%\addtolength{\textheight}{16mm} +%%%\setlength{\footskip}{16pt} +%%%\setlength{\headsep}{24pt} +%%%\cfoot{\small \copyright\mayor\ elektronikus napló - Nyomtatva: %$nyomtatasDt} +%%%\lhead{\small +%%%%$intezmenyNev\\ +%%%%$intezmenyCimIrsz %$intezmenyCimHelyseg, %$intezmenyCimKozteruletNev %$intezmenyCimKozteruletJelleg %$intezmenyCimHazszam\\ +%%%Tel: %$intezmenyTelefon +%%%} +%%%\chead{ +%%%\includegraphics[width=24pt,height=24pt,type=eps,viewport=14 14 219 217]{/var/mayor/print/logo/logo.eps}\\ +%%%\tiny\scshape timor Domini principium scientiæ +%%%} +%%%\rhead{\small Web: %$intezmenyHonlap\\ E-mail: %$intezmenyEmail\\ Fax: %$intezmenyFax} +%%%\usepackage{booktabs} % táblázatok magasabb szintű formázása +%%%\usepackage{graphicx} % Kép beillesztés +%%%\usepackage{soul} % ul - aláhúzás tördeléssel +%%%\renewcommand*{\descriptionlabel}[1]{\hspace{\labelsep}\normalfont\itshape#1} + +\begin{document} +%%%\vspace*{-18pt} + +%{diak +\thispagestyle{fancy}\vspace*{8pt} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +\begin{center} +\vspace*{36pt}{\huge{FÉLÉVI ÉRTESÍTŐ}} + +\vspace{24pt}{\large %$diakNev} + +\vspace{24pt}azonosító száma: %$oktatasiAzonosito + +\vspace{12pt}törzslapszáma: %$torzslapSzam + +\vspace{60pt}(OM azonosító: %$intezmenyOMKod ) %$osztaly osztályában + +\vspace{12pt}a %$tanevJele tanévben elért eredményeiről. + +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +{\small\noindent A tanuló teljesítményének, magatartásának, szorgalmának szöveges minősítése:} + +\vspace{14pt}\scriptsize%%%\small +%{targy +{\vspace{6pt}\noindent\bfseries %$targyNev} +\nopagebreak[4]%% +\begin{description}[font=\mdseries\itshape, labelindent=\parindent, itemsep=2pt, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=2cm, style=nextline] +\nopagebreak[4]%% +%{szempont +\item[%$szempont] +%{minosites +%?elsoValasztott|%$minosites|%?%?tobbedikValasztott|, %$minosites|%?%% +%}minosites +%?egyediMinosites|\par{%$egyediMinosites}|%?%% +\nopagebreak[4]%% +%}szempont +\end{description} +%}targy + +\vspace{24pt} +\noindent +Budapest, %$ev. %$hoNev %$nap. + +\vspace{20pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{4.5cm}{0.1pt}&\hspace{1cm}\ &\rule{4.5cm}{0.1pt}\\ +igazgató&{\mdseries P.H.} &osztályfőnök\\ +\\[20pt]\hspace{4.5cm} &\hspace{1cm}\ &\rule{4.5cm}{0.1pt}\\ +&&szülő/gondviselő\\ +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/templates/vmg/szovegesZaroErtekeles.tmpl b/mayor-orig/print/module-naplo/templates/vmg/szovegesZaroErtekeles.tmpl new file mode 100644 index 00000000..7355e45b --- /dev/null +++ b/mayor-orig/print/module-naplo/templates/vmg/szovegesZaroErtekeles.tmpl @@ -0,0 +1,125 @@ +%!pdfLaTeXA5Booklet pdf +% +% Év végi szöveges értékelés +% +\documentclass[10pt]{article} + +\usepackage[a5paper]{geometry} % A5-os méret +\usepackage[utf8x]{inputenc} % UTF-8 kódolású forrás (ucs) +\usepackage{ucs} % Jobb UTF-8 támogatás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\usepackage{enumitem} +\usepackage{ifthen} +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{fancyhdr} % Ritkítás +\pagestyle{empty} +%%\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +\lhead{}\chead{}\rhead{} +\lfoot{}\cfoot{}\rfoot{} +%%\lfoot{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ elektronikus napló\\Nyomtatva: %$nyomtatasDt} +%%\fancyfoot[LO]{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ Elektronikus napló} +%%\fancyfoot[RO]{\rule{2cm}{0.1pt}\\ \footnotesize Nyomtatva: %$nyomtatasDt} +\lfoot{\rule{2cm}{0.1pt}\\ \footnotesize\copyright\mayor\ elektronikus napló (%$nyomtatasDt)} +%%\cfoot{\rule{0cm}{0.1pt}\\ \footnotesize %$nyomtatasDt} +\makeatletter +%% Az osztási maradék meghatározása +\newcounter{modulus} +\newcommand\modulo[2]{\@tempcnta=#1 + \divide\@tempcnta by #2 + \multiply\@tempcnta by #2 + \multiply\@tempcnta by -1 + \advance\@tempcnta by #1\relax + \setcounter{modulus}{\@tempcnta} + %%%\the\@tempcnta %% nem kell kiírni - eltároltuk a modulus nevű counterbe inkább... +} +\makeatother + +\begin{document} + +%{diak +%%%\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +%% legrosszabb esetben három üres lapot kell beszúrni, hogy jó helyre kerüljön a kezdőlap +\modulo{\value{page}}{4}\ifthenelse{\equal{\value{modulus}}{1}}{}{\hbox{}\newpage} +\modulo{\value{page}}{4}\ifthenelse{\equal{\value{modulus}}{1}}{}{\hbox{}\newpage} +\modulo{\value{page}}{4}\ifthenelse{\equal{\value{modulus}}{1}}{}{\hbox{}\newpage} +\thispagestyle{empty} +\begin{center} +\vspace*{36pt}{\huge{ %?felevi|FÉLÉVI ÉRTESÍTŐ|BIZONYÍTVÁNY PÓTLAP%?}} + +\vspace{24pt}{\large %$diakNev} + +\vspace{24pt}azonosító száma: %$oktatasiAzonosito + +\vspace{12pt}törzslapszáma: %$torzslapSzam + +\vspace{60pt}(OM azonosító: %$intezmenyOMKod) %$osztaly osztályában + +\vspace{12pt}a %$tanevJele tanévben elért eredményeiről. + +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% +\thispagestyle{fancy}\vspace*{8pt} +%\rfoot{\footnotesize \rule{2cm}{0.1pt} \\ %$diakNev \\ %$osztaly osztály} +%%\fancyfoot[LE]{\footnotesize \rule{2cm}{0.1pt} \\ %$osztaly osztály} +%%\fancyfoot[RE]{\footnotesize \rule{2cm}{0.1pt} \\ %$diakNev} +\rfoot{\footnotesize \rule{0cm}{0.1pt} \\ %$osztaly - %$diakNev} + +{\vspace*{-12pt}\small\noindent A tanuló teljesítményének, magatartásának, szorgalmának minősítése:} + +\vspace{6pt}\scriptsize%%%\small +%{targy +{\vspace{6pt}\noindent\bfseries %$targyNev} +\nopagebreak[4]%% +\begin{description}[font=\mdseries\itshape, labelindent=\parindent, itemsep=2pt, parsep=0pt, partopsep=0pt, topsep=0pt, leftmargin=2cm, style=nextline] +\nopagebreak[4]%% +%{szempont +\item[%$szempont] +%{minosites +%?elsoValasztott|%$minosites|%?%?tobbedikValasztott|, %$minosites|%?%% +%}minosites +%?egyediMinosites|\par{%$egyediMinosites}|%?%% +\nopagebreak[4]%% +%}szempont +\end{description} +%}targy + +{\vspace{6pt}\noindent\bfseries Hiányzások:} + +Igazolt: %$igazolt + +Igazolatlan: %$osszesIgazolatlan (%$igazolatlan+%$kesesPercOsszeg perc késés) + +% \begin{itemize} +% \item Igazolt: %$igazolt +% \item Igazolatlan: %$osszesIgazolatlan (%$igazolatlan+%$kesesPercOsszeg perc késés) +% % \item Késés perc összeg: %$kesesPercOsszeg +% % \item Késésekből adódó igazolatlanok: %$kesesIgazolatlan +% % \item Összes igazolatlan: %$osszesIgazolatlan +% \end{itemize} + +\vspace{20pt} +\noindent +Budapest, %$ev. %$hoNev %$nap. + +\vspace{16pt} +\begin{center} +\slshape\scriptsize +\begin{tabular}{ccc} +\rule{4.5cm}{0.1pt}&\hspace{1cm}\ &\rule{4.5cm}{0.1pt}\\ +%?felevi|osztályfőnök&{\mdseries P.H.} &szülő\\|igazgató&{\mdseries P.H.} &osztályfőnök\\%? +%?felevi||\\[20pt]\hspace{4.5cm} &\hspace{1cm}\ &\rule{4.5cm}{0.1pt}\\%? +%?felevi||&&szülő/gondviselő\\%? +\end{tabular} +\end{center} +\newpage %%%%%%%%%%%%%%%%% új oldal %%%%%%%%%%%%%%%%%%%% + +%}diak +\end{document} diff --git a/mayor-orig/print/module-naplo/tex/mayor.cnf b/mayor-orig/print/module-naplo/tex/mayor.cnf new file mode 100644 index 00000000..f5fed6fa --- /dev/null +++ b/mayor-orig/print/module-naplo/tex/mayor.cnf @@ -0,0 +1,38 @@ +# mayor.cnf: header of the configuration file for fmtutil. +# +# In Debian, fmtutil.cnf is a file that is generated from +# configuration files in /etc/texmf/fmt.d/. This file, 00tex.cnf, +# contains only some comments on how to edit these files. +# +# The text of the comments is Copyright 1998, 1999 by Thomas Esser, it +# is in the Public domain. + +# You Customize these file to your needs, e.g. +# - remove or uncomment formats that you don't need +# - add your own formats +# - change default engine / flags for standard formats + +# Some notes: +# 1) tex and amstex just load hyphen.tex. No customization. +# You can have you own customized (via babel's hyphen.cfg) +# formats on top of plain by using "bplain.tex" instead of +# plain.tex (see e.g. bplain.ini file for bplain format). +# +# 2) etex loads language.def, not language.dat. +# +# 3) The symbolic link to the right engines (e.g. bplain -> tex) +# will be generated by the "texlinks" script. So, if you call +# fmtutil "by hand" and not via texconfig, please also call +# texlinks afterwards. +# +# 4) usual comments start with "# ", whereas disabled configurations +# start with "#! " in this file. + +# The format of the table is: + +# format engine pattern-file arguments + +# The last part of "arguments" must be the name of the file to run +# initex (or another "ini"-engine) on. + +mayor tex language.dat mayor.tex diff --git a/mayor-orig/print/module-naplo/tex/mayor.fmt-3.141592 b/mayor-orig/print/module-naplo/tex/mayor.fmt-3.141592 new file mode 100644 index 00000000..37872336 Binary files /dev/null and b/mayor-orig/print/module-naplo/tex/mayor.fmt-3.141592 differ diff --git a/mayor-orig/print/module-naplo/tex/mayor.fmt-3.1415926 b/mayor-orig/print/module-naplo/tex/mayor.fmt-3.1415926 new file mode 100644 index 00000000..f24a44ad Binary files /dev/null and b/mayor-orig/print/module-naplo/tex/mayor.fmt-3.1415926 differ diff --git a/mayor-orig/print/module-naplo/tex/mayor.tex b/mayor-orig/print/module-naplo/tex/mayor.tex new file mode 100644 index 00000000..dc46a1bb --- /dev/null +++ b/mayor-orig/print/module-naplo/tex/mayor.tex @@ -0,0 +1,1443 @@ +% This is the plain TeX format that's described in The TeXbook. +% N.B.: A version number is defined at the very end of this file; +% please change that number whenever the file is modified! +% And don't modify the file under any circumstances. +% +% Modified to load ec fonts and Hungarian hyphenation patterns. +% Accent defs modified. \h added for Polish hook. +% Modified lines commented out by `%*', new lines marked `%%SzP'. +% P\'eter Szigetv\'ari + +%%%%%\input pdftexconfig.tex + +\catcode`\{=1 % left brace is begin-group character +\catcode`\}=2 % right brace is end-group character +\catcode`\$=3 % dollar sign is math shift +\catcode`\&=4 % ampersand is alignment tab +\catcode`\#=6 % hash mark is macro parameter character +\catcode`\^=7 \catcode`\^^K=7 % circumflex and uparrow are for superscripts +\catcode`\_=8 \catcode`\^^A=8 % underline and downarrow are for subscripts +\catcode`\^^I=10 % ascii tab is a blank space +\chardef\active=13 \catcode`\~=\active % tilde is active +\catcode`\^^L=\active \outer\def^^L{\par} % ascii form-feed is "\outer\par" + +\everyjob{ %%SzP +\immediate\write16{Format: mayor (v0.1) with ec fonts, %%SzP + Hungarian hyphenation patterns,} %%SzP +\immediate\write16{most accents redefined, %%SzP + \string\h{} added for Polish hook.} %%SzP +\immediate\write16{Amendment of plain.tex version 3.1415926}} %%SzP + +\message{Preloading the plain format: codes,} + +% We had to define the \catcodes right away, before the message line, +% since \message uses the { and } characters. +% When INITEX (the TeX initializer) starts up, +% it has defined the following \catcode values: +% \catcode`\^^@=9 % ascii null is ignored +% \catcode`\^^M=5 % ascii return is end-line +% \catcode`\\=0 % backslash is TeX escape character +% \catcode`\%=14 % percent sign is comment character +% \catcode`\ =10 % ascii space is blank space +% \catcode`\^^?=15 % ascii delete is invalid +% \catcode`\A=11 ... \catcode`\Z=11 % uppercase letters +% \catcode`\a=11 ... \catcode`\z=11 % lowercase letters +% all others are type 12 (other) + +% Here is a list of the characters that have been specially catcoded: +\def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&% + \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~} +% (not counting ascii null, tab, linefeed, formfeed, return, delete) +% Each symbol in the list is preceded by \do, which can be defined +% if you want to do something to every item in the list. + +% We make @ signs act like letters, temporarily, to avoid conflict +% between user names and internal control sequences of plain format. +\catcode`@=11 + +% INITEX sets up \mathcode x=x, for x=0..255, except that +% \mathcode x=x+"7100, for x = `A to `Z and `a to `z; +% \mathcode x=x+"7000, for x = `0 to `9. +% The following changes define internal codes as recommended +% in Appendix C of The TeXbook: +\mathcode`\^^@="2201 % \cdot +\mathcode`\^^A="3223 % \downarrow +\mathcode`\^^B="010B % \alpha +\mathcode`\^^C="010C % \beta +\mathcode`\^^D="225E % \land +\mathcode`\^^E="023A % \lnot +\mathcode`\^^F="3232 % \in +\mathcode`\^^G="0119 % \pi +\mathcode`\^^H="0115 % \lambda +\mathcode`\^^I="010D % \gamma +\mathcode`\^^J="010E % \delta +\mathcode`\^^K="3222 % \uparrow +\mathcode`\^^L="2206 % \pm +\mathcode`\^^M="2208 % \oplus +\mathcode`\^^N="0231 % \infty +\mathcode`\^^O="0140 % \partial +\mathcode`\^^P="321A % \subset +\mathcode`\^^Q="321B % \supset +\mathcode`\^^R="225C % \cap +\mathcode`\^^S="225B % \cup +\mathcode`\^^T="0238 % \forall +\mathcode`\^^U="0239 % \exists +\mathcode`\^^V="220A % \otimes +\mathcode`\^^W="3224 % \leftrightarrow +\mathcode`\^^X="3220 % \leftarrow +\mathcode`\^^Y="3221 % \rightarrow +\mathcode`\^^Z="8000 % \ne +\mathcode`\^^[="2205 % \diamond +\mathcode`\^^\="3214 % \le +\mathcode`\^^]="3215 % \ge +\mathcode`\^^^="3211 % \equiv +\mathcode`\^^_="225F % \lor +\mathcode`\ ="8000 % \space +\mathcode`\!="5021 +\mathcode`\'="8000 % ^\prime +\mathcode`\(="4028 +\mathcode`\)="5029 +\mathcode`\*="2203 % \ast +\mathcode`\+="202B +\mathcode`\,="613B +\mathcode`\-="2200 +\mathcode`\.="013A +\mathcode`\/="013D +\mathcode`\:="303A +\mathcode`\;="603B +\mathcode`\<="313C +\mathcode`\=="303D +\mathcode`\>="313E +\mathcode`\?="503F +\mathcode`\[="405B +\mathcode`\\="026E % \backslash +\mathcode`\]="505D +\mathcode`\_="8000 % \_ +\mathcode`\{="4266 +\mathcode`\|="026A +\mathcode`\}="5267 +\mathcode`\^^?="1273 % \smallint + +% INITEX sets \uccode`x=`X and \uccode `X=`X for all letters x, +% and \lccode`x=`x, \lccode`X=`x; all other values are zero. +% No changes to those tables are needed in plain TeX format. + +% INITEX sets \sfcode x=1000 for all x, except that \sfcode`X=999 +% for uppercase letters. The following changes are needed: +\sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0 +% The \nonfrenchspacing macro will make further changes to \sfcode values. + +% Finally, INITEX sets all \delcode values to -1, except \delcode`.=0 +\delcode`\(="028300 +\delcode`\)="029301 +\delcode`\[="05B302 +\delcode`\]="05D303 +\delcode`\<="26830A +\delcode`\>="26930B +\delcode`\/="02F30E +\delcode`\|="26A30C +\delcode`\\="26E30F +% N.B. { and } should NOT get delcodes; otherwise parameter grouping fails! + +% To make the plain macros more efficient in time and space, +% several constant values are declared here as control sequences. +% If they were changed, anything could happen; so they are private symbols. +\chardef\@ne=1 +\chardef\tw@=2 +\chardef\thr@@=3 +\chardef\sixt@@n=16 +\chardef\@cclv=255 +\mathchardef\@cclvi=256 +\mathchardef\@m=1000 +\mathchardef\@M=10000 +\mathchardef\@MM=20000 + +% Allocation of registers + +% Here are macros for the automatic allocation of \count, \box, \dimen, +% \skip, \muskip, and \toks registers, as well as \read and \write +% stream numbers, \fam codes, \language codes, and \insert numbers. + +\message{registers,} + +% When a register is used only temporarily, it need not be allocated; +% grouping can be used, making the value previously in the register return +% after the close of the group. The main use of these macros is for +% registers that are defined by one macro and used by others, possibly at +% different nesting levels. All such registers should be defined through +% these macros; otherwise conflicts may occur, especially when two or more +% macro packages are being used at once. + +% The following counters are reserved: +% 0 to 9 page numbering +% 10 count allocation +% 11 dimen allocation +% 12 skip allocation +% 13 muskip allocation +% 14 box allocation +% 15 toks allocation +% 16 read file allocation +% 17 write file allocation +% 18 math family allocation +% 19 language allocation +% 20 insert allocation +% 21 the most recently allocated number +% 22 constant -1 +% New counters are allocated starting with 23, 24, etc. Other registers are +% allocated starting with 10. This leaves 0 through 9 for the user to play +% with safely, except that counts 0 to 9 are considered to be the page and +% subpage numbers (since they are displayed during output). In this scheme, +% \count 10 always contains the number of the highest-numbered counter that +% has been allocated, \count 14 the highest-numbered box, etc. +% Inserts are given numbers 254, 253, etc., since they require a \count, +% \dimen, \skip, and \box all with the same number; \count 20 contains the +% lowest-numbered insert that has been allocated. Of course, \box255 is +% reserved for \output; \count255, \dimen255, and \skip255 can be used freely. + +% It is recommended that macro designers always use +% \global assignments with respect to registers numbered 1, 3, 5, 7, 9, and +% always non-\global assignments with respect to registers 0, 2, 4, 6, 8, 255. +% This will prevent ``save stack buildup'' that might otherwise occur. + +\count10=22 % allocates \count registers 23, 24, ... +\count11=9 % allocates \dimen registers 10, 11, ... +\count12=9 % allocates \skip registers 10, 11, ... +\count13=9 % allocates \muskip registers 10, 11, ... +\count14=9 % allocates \box registers 10, 11, ... +\count15=9 % allocates \toks registers 10, 11, ... +\count16=-1 % allocates input streams 0, 1, ... +\count17=-1 % allocates output streams 0, 1, ... +\count18=3 % allocates math families 4, 5, ... +\count19=0 % allocates \language codes 1, 2, ... +\count20=255 % allocates insertions 254, 253, ... +\countdef\insc@unt=20 % the insertion counter +\countdef\allocationnumber=21 % the most recent allocation +\countdef\m@ne=22 \m@ne=-1 % a handy constant +\def\wlog{\immediate\write\m@ne} % write on log file (only) + +% Here are abbreviations for the names of scratch registers +% that don't need to be allocated. + +\countdef\count@=255 +\dimendef\dimen@=0 +\dimendef\dimen@i=1 % global only +\dimendef\dimen@ii=2 +\skipdef\skip@=0 +\toksdef\toks@=0 + +% Now, we define \newcount, \newbox, etc. so that you can say \newcount\foo +% and \foo will be defined (with \countdef) to be the next counter. +% To find out which counter \foo is, you can look at \allocationnumber. +% Since there's no \boxdef command, \chardef is used to define a \newbox, +% \newinsert, \newfam, and so on. + +\outer\def\newcount{\alloc@0\count\countdef\insc@unt} +\outer\def\newdimen{\alloc@1\dimen\dimendef\insc@unt} +\outer\def\newskip{\alloc@2\skip\skipdef\insc@unt} +\outer\def\newmuskip{\alloc@3\muskip\muskipdef\@cclvi} +\outer\def\newbox{\alloc@4\box\chardef\insc@unt} +\let\newtoks=\relax % we do this to allow plain.tex to be read in twice +\outer\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}} +\outer\def\newtoks{\alloc@5\toks\toksdef\@cclvi} +\outer\def\newread{\alloc@6\read\chardef\sixt@@n} +\outer\def\newwrite{\alloc@7\write\chardef\sixt@@n} +\outer\def\newfam{\alloc@8\fam\chardef\sixt@@n} +\outer\def\newlanguage{\alloc@9\language\chardef\@cclvi} +\def\alloc@#1#2#3#4#5{\global\advance\count1#1by\@ne + \ch@ck#1#4#2% make sure there's still room + \allocationnumber=\count1#1% + \global#3#5=\allocationnumber + \wlog{\string#5=\string#2\the\allocationnumber}} +\outer\def\newinsert#1{\global\advance\insc@unt by\m@ne + \ch@ck0\insc@unt\count + \ch@ck1\insc@unt\dimen + \ch@ck2\insc@unt\skip + \ch@ck4\insc@unt\box + \allocationnumber=\insc@unt + \global\chardef#1=\allocationnumber + \wlog{\string#1=\string\insert\the\allocationnumber}} +\def\ch@ck#1#2#3{\ifnum\count1#1<#2% + \else\errmessage{No room for a new #3}\fi} + +% Here are some examples of allocation. +\newdimen\maxdimen \maxdimen=16383.99999pt % the largest legal +\newskip\hideskip \hideskip=-1000pt plus 1fill % negative but can grow +\newskip\centering \centering=0pt plus 1000pt minus 1000pt +\newdimen\p@ \p@=1pt % this saves macro space and time +\newdimen\z@ \z@=0pt % can be used both for 0pt and 0 +\newskip\z@skip \z@skip=0pt plus0pt minus0pt +\newbox\voidb@x % permanently void box register + +% And here's a different sort of allocation: +% For example, \newif\iffoo creates \footrue, \foofalse to go with \iffoo. +\outer\def\newif#1{\count@\escapechar \escapechar\m@ne + \expandafter\expandafter\expandafter + \def\@if#1{true}{\let#1=\iftrue}% + \expandafter\expandafter\expandafter + \def\@if#1{false}{\let#1=\iffalse}% + \@if#1{false}\escapechar\count@} % the condition starts out false +\def\@if#1#2{\csname\expandafter\if@\string#1#2\endcsname} +{\uccode`1=`i \uccode`2=`f \uppercase{\gdef\if@12{}}} % `if' is required + +% Assign initial values to TeX's parameters + +\message{parameters,} + +% All of TeX's numeric parameters are listed here, +% but the code is commented out if no special value needs to be set. +% INITEX makes all parameters zero except where noted. + +\pretolerance=100 +\tolerance=200 % INITEX sets this to 10000 +\hbadness=1000 +\vbadness=1000 +\linepenalty=10 +\hyphenpenalty=50 +\exhyphenpenalty=50 +\binoppenalty=700 +\relpenalty=500 +\clubpenalty=150 +\widowpenalty=150 +\displaywidowpenalty=50 +\brokenpenalty=100 +\predisplaypenalty=10000 +% \postdisplaypenalty=0 +% \interlinepenalty=0 +% \floatingpenalty=0, set during \insert +% \outputpenalty=0, set before TeX enters \output +\doublehyphendemerits=10000 +\finalhyphendemerits=5000 +\adjdemerits=10000 +% \looseness=0, cleared by TeX after each paragraph +% \pausing=0 +% \holdinginserts=0 +% \tracingonline=0 +% \tracingmacros=0 +% \tracingstats=0 +% \tracingparagraphs=0 +% \tracingpages=0 +% \tracingoutput=0 +\tracinglostchars=1 +% \tracingcommands=0 +% \tracingrestores=0 +% \language=0 +\uchyph=1 +% \lefthyphenmin=2 \righthyphenmin=3 set below +% \globaldefs=0 +% \maxdeadcycles=25 % INITEX does this +% \hangafter=1 % INITEX does this, also TeX after each paragraph +% \fam=0 +% \mag=1000 % INITEX does this +% \escapechar=`\\ % INITEX does this +\defaulthyphenchar=`\- +\defaultskewchar=-1 +% \endlinechar=`\^^M % INITEX does this +\newlinechar=-1 +\delimiterfactor=901 +% \time=now % TeX does this at beginning of job +% \day=now % TeX does this at beginning of job +% \month=now % TeX does this at beginning of job +% \year=now % TeX does this at beginning of job +\showboxbreadth=5 +\showboxdepth=3 +\errorcontextlines=5 + +\hfuzz=0.1pt +\vfuzz=0.1pt +\overfullrule=5pt +\hsize=6.5in +\vsize=8.9in +\maxdepth=4pt +\splitmaxdepth=\maxdimen +\boxmaxdepth=\maxdimen +% \lineskiplimit=0pt, changed by \normalbaselines +\delimitershortfall=5pt +\nulldelimiterspace=1.2pt +\scriptspace=0.5pt +% \mathsurround=0pt +% \predisplaysize=0pt, set before TeX enters $$ +% \displaywidth=0pt, set before TeX enters $$ +% \displayindent=0pt, set before TeX enters $$ +\parindent=20pt +% \hangindent=0pt, zeroed by TeX after each paragraph +% \hoffset=0pt +% \voffset=0pt + +% \baselineskip=0pt, changed by \normalbaselines +% \lineskip=0pt, changed by \normalbaselines +\parskip=0pt plus 1pt +\abovedisplayskip=12pt plus 3pt minus 9pt +\abovedisplayshortskip=0pt plus 3pt +\belowdisplayskip=12pt plus 3pt minus 9pt +\belowdisplayshortskip=7pt plus 3pt minus 4pt +% \leftskip=0pt +% \rightskip=0pt +\topskip=10pt +\splittopskip=10pt +% \tabskip=0pt +% \spaceskip=0pt +% \xspaceskip=0pt +\parfillskip=0pt plus 1fil + +\thinmuskip=3mu +\medmuskip=4mu plus 2mu minus 4mu +\thickmuskip=5mu plus 5mu + +% We also define special registers that function like parameters: +\newskip\smallskipamount \smallskipamount=3pt plus 1pt minus 1pt +\newskip\medskipamount \medskipamount=6pt plus 2pt minus 2pt +\newskip\bigskipamount \bigskipamount=12pt plus 4pt minus 4pt +\newskip\normalbaselineskip \normalbaselineskip=12pt +\newskip\normallineskip \normallineskip=1pt +\newdimen\normallineskiplimit \normallineskiplimit=0pt +\newdimen\jot \jot=3pt +\newcount\interdisplaylinepenalty \interdisplaylinepenalty=100 +\newcount\interfootnotelinepenalty \interfootnotelinepenalty=100 + +% Definitions for preloaded fonts + +\def\magstephalf{1095 } +\def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax} + +% Fonts assigned to \preloaded are not part of "plain TeX", +% but they are preloaded so that other format packages can use them. +% For example, if another set of macros says "\font\ninerm=cmr9", +% TeX will not have to reload the font metric information for cmr9. + +\message{fonts,} + +%*\font\tenrm=cmr10 % roman text +\font\tenrm=ecrm1000 %%SzP +%*\font\preloaded=cmr9 +\font\preloaded=ecrm0900 %%SzP +%*\font\preloaded=cmr8 +\font\preloaded=ecrm0800 %%SzP +%*\font\sevenrm=cmr7 +\font\sevenrm=ecrm0700 %%SzP +%*\font\preloaded=cmr6 +\font\preloaded=ecrm0600 %%SzP +%*\font\fiverm=cmr5 +\font\fiverm=ecrm0500 %%SzP + +\font\teni=cmmi10 % math italic +\font\preloaded=cmmi9 +\font\preloaded=cmmi8 +\font\seveni=cmmi7 +\font\preloaded=cmmi6 +\font\fivei=cmmi5 + +\font\tensy=cmsy10 % math symbols +\font\preloaded=cmsy9 +\font\preloaded=cmsy8 +\font\sevensy=cmsy7 +\font\preloaded=cmsy6 +\font\fivesy=cmsy5 + +\font\tenex=cmex10 % math extension + +%*\font\preloaded=cmss10 % sans serif +\font\preloaded=ecss1000 %%SzP +%*\font\preloaded=cmssq8 +\font\preloaded=ecsq8 %%SzP + +%*\font\preloaded=cmssi10 % sans serif italic +\font\preloaded=ecsi1000 %%SzP +%*\font\preloaded=cmssqi8 +\font\preloaded=ecqi8 %%SzP + +%*\font\tenbf=cmbx10 % boldface extended +\font\tenbf= ecbx1000 %%SzP +%*\font\preloaded=cmbx9 +\font\preloaded=ecbx0900 %%SzP +%*\font\preloaded=cmbx8 +\font\preloaded=ecbx0800 %%SzP +%*\font\sevenbf=cmbx7 +\font\sevenbf= ecbx0700 %%SzP +%*\font\preloaded=cmbx6 +\font\preloaded=ecbx0600 %%SzP +%*\font\fivebf=cmbx5 +\font\fivebf= ecbx0500 %%SzP + +%*\font\tentt=cmtt10 % typewriter +\font\tentt= ectt1000 %%SzP +%*\font\preloaded=cmtt9 +\font\preloaded=ectt0900 %%SzP +%*\font\preloaded=cmtt8 +\font\preloaded=ectt0800 %%SzP + +%*\font\preloaded=cmsltt10 % slanted typewriter +\font\preloaded=ecst1000 %%SzP + +%*\font\tensl=cmsl10 % slanted roman +\font\tensl= ecsl1000 %%SzP +%*\font\preloaded=cmsl9 +\font\preloaded=ecsl0900 %%SzP +%*\font\preloaded=cmsl8 +\font\preloaded=ecsl0800 %%SzP + +%*\font\tenit=cmti10 % text italic +\font\tenit= ecti1000 %%SzP +%*\font\preloaded=cmti9 +\font\preloaded=ecti0900 %%SzP +%*\font\preloaded=cmti8 +\font\preloaded=ecti0800 %%SzP +%*\font\preloaded=cmti7 +\font\preloaded=ecti0700 %%SzP + +\message{more fonts,} +%*\font\preloaded=cmu10 % unslanted text italic +\font\preloaded=ecui1000 %%SzP + +\font\preloaded=cmmib10 % bold math italic + +\font\preloaded=cmbsy10 % bold math symbols + +%*\font\preloaded=cmcsc10 % caps and small caps +\font\preloaded=eccc1000 %%SzP + +%*\font\preloaded=cmssbx10 % sans serif bold extended +\font\preloaded=ecsx1000 %%SzP + +%*\font\preloaded=cmdunh10 % Dunhill style +\font\preloaded=ecdh1000 %%SzP + +%*\font\preloaded=cmr7 scaled \magstep4 % for titles +\font\preloaded=ecrm0700 scaled 2074 %%SzP +%*\font\preloaded=cmtt10 scaled \magstep2 +\font\preloaded=ectt1000 scaled 1440 %%SzP +%*\font\preloaded=cmssbx10 scaled \magstep2 +\font\preloaded=ecsx1000 scaled 1440 + +\font\preloaded=manfnt % METAFONT logo and dragon curve and special symbols + +% Additional \preloaded fonts can be specified here. +% (And those that were \preloaded above can be eliminated.) + +\let\preloaded=\undefined % preloaded fonts must be declared anew later. + +\skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177 +\skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60 + +\textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm +\def\rm{\fam\z@\tenrm} +\textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei +\def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\teni} +\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy +\def\cal{\fam\tw@} +\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex +\newfam\itfam \def\it{\fam\itfam\tenit} % \it is family 4 +\textfont\itfam=\tenit +\newfam\slfam \def\sl{\fam\slfam\tensl} % \sl is family 5 +\textfont\slfam=\tensl +\newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6 +\textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf +\scriptscriptfont\bffam=\fivebf +\newfam\ttfam \def\tt{\fam\ttfam\tentt} % \tt is family 7 +\textfont\ttfam=\tentt + +% Macros for setting ordinary text +\message{macros,} + +\def\frenchspacing{\sfcode`\.\@m \sfcode`\?\@m \sfcode`\!\@m + \sfcode`\:\@m \sfcode`\;\@m \sfcode`\,\@m} +\def\nonfrenchspacing{\sfcode`\.3000\sfcode`\?3000\sfcode`\!3000% + \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 } + +\def\normalbaselines{\lineskip\normallineskip + \baselineskip\normalbaselineskip \lineskiplimit\normallineskiplimit} + +\def\^^M{\ } % control = control +\def\^^I{\ } % same for + +\def\lq{`} \def\rq{'} +\def\lbrack{[} \def\rbrack{]} + +\let\endgraf=\par \let\endline=\cr + +\def\space{ } +\def\empty{} +\def\null{\hbox{}} + +\let\bgroup={ \let\egroup=} + +% In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}' +% since this allows, for example, `\let\par=\cr \obeylines \halign{...' +{\catcode`\^^M=\active % these lines must end with % + \gdef\obeylines{\catcode`\^^M\active \let^^M\par}% + \global\let^^M\par} % this is in case ^^M appears in a \write +\def\obeyspaces{\catcode`\ \active} +{\obeyspaces\global\let =\space} + +\def\loop#1\repeat{\def\body{#1}\iterate} +\def\iterate{\body \let\next\iterate \else\let\next\relax\fi \next} +\let\repeat=\fi % this makes \loop...\if...\repeat skippable + +\def\thinspace{\kern .16667em } +\def\negthinspace{\kern-.16667em } +\def\enspace{\kern.5em } + +\def\enskip{\hskip.5em\relax} +\def\quad{\hskip1em\relax} +\def\qquad{\hskip2em\relax} + +\def\smallskip{\vskip\smallskipamount} +\def\medskip{\vskip\medskipamount} +\def\bigskip{\vskip\bigskipamount} + +\def\nointerlineskip{\prevdepth-1000\p@} +\def\offinterlineskip{\baselineskip-1000\p@ + \lineskip\z@ \lineskiplimit\maxdimen} + +\def\topglue{\nointerlineskip\vglue-\topskip\vglue} % for top of page +\def\vglue{\afterassignment\vgl@\skip@=} +\def\vgl@{\par \dimen@\prevdepth \hrule height\z@ + \nobreak\vskip\skip@ \prevdepth\dimen@} +\def\hglue{\afterassignment\hgl@\skip@=} +\def\hgl@{\leavevmode \count@\spacefactor \vrule width\z@ + \nobreak\hskip\skip@ \spacefactor\count@} + +\def~{\penalty\@M \ } % tie +\def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-' + +\def\break{\penalty-\@M} +\def\nobreak{\penalty \@M} +\def\allowbreak{\penalty \z@} + +\def\filbreak{\par\vfil\penalty-200\vfilneg} +\def\goodbreak{\par\penalty-500 } +\def\eject{\par\break} +\def\supereject{\par\penalty-\@MM} + +\def\removelastskip{\ifdim\lastskip=\z@\else\vskip-\lastskip\fi} +\def\smallbreak{\par\ifdim\lastskip<\smallskipamount + \removelastskip\penalty-50\smallskip\fi} +\def\medbreak{\par\ifdim\lastskip<\medskipamount + \removelastskip\penalty-100\medskip\fi} +\def\bigbreak{\par\ifdim\lastskip<\bigskipamount + \removelastskip\penalty-200\bigskip\fi} + +\def\line{\hbox to\hsize} +\def\leftline#1{\line{#1\hss}} +\def\rightline#1{\line{\hss#1}} +\def\centerline#1{\line{\hss#1\hss}} + +\def\rlap#1{\hbox to\z@{#1\hss}} +\def\llap#1{\hbox to\z@{\hss#1}} + +\def\m@th{\mathsurround\z@} +\def\underbar#1{$\setbox\z@\hbox{#1}\dp\z@\z@ + \m@th \underline{\box\z@}$} + +\newbox\strutbox +\setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@} +\def\strut{\relax\ifmmode\copy\strutbox\else\unhcopy\strutbox\fi} + +\def\hidewidth{\hskip\hideskip} % for alignment entries that can stick out +\def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign +\newcount\mscount +\def\multispan#1{\omit \mscount#1\relax + \loop\ifnum\mscount>\@ne \sp@n\repeat} +\def\sp@n{\span\omit\advance\mscount\m@ne} + +\newif\ifus@ \newif\if@cr +\newbox\tabs \newbox\tabsyet \newbox\tabsdone + +\def\cleartabs{\global\setbox\tabsyet\null \setbox\tabs\null} +\def\settabs{\setbox\tabs\null \futurelet\next\sett@b} +\let\+=\relax % in case this file is being read in twice +\def\sett@b{\ifx\next\+\def\nxt{\afterassignment\s@tt@b\let\nxt}% + \else\let\nxt\s@tcols\fi \let\next\relax \nxt} +\def\s@tt@b{\let\nxt\relax \us@false\m@ketabbox} +\def\tabalign{\us@true\m@ketabbox} % non-\outer version of \+ +\outer\def\+{\tabalign} +\def\s@tcols#1\columns{\count@#1\dimen@\hsize + \loop\ifnum\count@>\z@ \@nother \repeat} +\def\@nother{\dimen@ii\dimen@ \divide\dimen@ii\count@ + \setbox\tabs\hbox{\hbox to\dimen@ii{}\unhbox\tabs}% + \advance\dimen@-\dimen@ii \advance\count@\m@ne} + +\def\m@ketabbox{\begingroup + \global\setbox\tabsyet\copy\tabs + \global\setbox\tabsdone\null + \def\cr{\@crtrue\crcr\egroup\egroup + \ifus@\unvbox\z@\lastbox\fi\endgroup + \setbox\tabs\hbox{\unhbox\tabsyet\unhbox\tabsdone}}% + \setbox\z@\vbox\bgroup\@crfalse + \ialign\bgroup&\t@bbox##\t@bb@x\crcr} + +\def\t@bbox{\setbox\z@\hbox\bgroup} +\def\t@bb@x{\if@cr\egroup % now \box\z@ holds the column + \else\hss\egroup \global\setbox\tabsyet\hbox{\unhbox\tabsyet + \global\setbox\@ne\lastbox}% now \box\@ne holds its size + \ifvoid\@ne\global\setbox\@ne\hbox to\wd\z@{}% + \else\setbox\z@\hbox to\wd\@ne{\unhbox\z@}\fi + \global\setbox\tabsdone\hbox{\box\@ne\unhbox\tabsdone}\fi + \box\z@} + +\def\hang{\hangindent\parindent} +\def\textindent#1{\indent\llap{#1\enspace}\ignorespaces} +\def\item{\par\hang\textindent} +\def\itemitem{\par\indent \hangindent2\parindent \textindent} +\def\narrower{\advance\leftskip\parindent + \advance\rightskip\parindent} + +\outer\def\beginsection#1\par{\vskip\z@ plus.3\vsize\penalty-250 + \vskip\z@ plus-.3\vsize\bigskip\vskip\parskip + \message{#1}\leftline{\bf#1}\nobreak\smallskip\noindent} +\outer\def\proclaim #1. #2\par{\medbreak + \noindent{\bf#1.\enspace}{\sl#2\par}% + \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi} + +\def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em\relax} +\def\ttraggedright{\tt\rightskip\z@ plus2em\relax} % for use with \tt only + +\chardef\%=`\% +\chardef\&=`\& +\chardef\#=`\# +\chardef\$=`\$ +%*\chardef\ss="19 +\chardef\ss="FF %%SzP +%*\chardef\ae="1A +\chardef\ae="E6 %%SzP +%*\chardef\oe="1B +\chardef\oe="F7 %%SzP +%*\chardef\o="1C +\chardef\o="F8 %%SzP +%*\chardef\AE="1D +\chardef\AE="C6 %%SzP +%*\chardef\OE="1E +\chardef\OE="D7 %%SzP +%*\chardef\O="1F +\chardef\O="D8 %%SzP +%*\chardef\i="10 \chardef\j="11 % dotless letters +\chardef\i="19 \chardef\j="1A %%SzP +%*\def\aa{\accent23a} +\chardef\aa="E5 %%SzP +%*\def\l{\char32l} +\chardef\l="AA %%SzP +%*\def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}} +\chardef\L="8A + +\def\leavevmode{\unhbox\voidb@x} % begins a paragraph, if necessary +%*\def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}} +\chardef\_="5F %%SzP +%*\def\AA{\leavevmode\setbox0\hbox{!}\dimen@\ht0\advance\dimen@-1ex% +%* \rlap{\raise.67\dimen@\hbox{\char'27}}A} +\chardef\AA="C5 %%SzP + +\def\mathhexbox#1#2#3{\leavevmode + \hbox{$\m@th \mathchar"#1#2#3$}} +\def\dag{\mathhexbox279} +\def\ddag{\mathhexbox27A} +\def\S{\mathhexbox278} +\def\P{\mathhexbox27B} +\def\Orb{\mathhexbox20D} +%% These should be changed to the tc equivalents %%SzP + +\def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex% + \ialign{##\crcr#1\crcr}}} \def\o@lign{\lineskiplimit\z@ \oalign} +\def\ooalign{\lineskiplimit-\maxdimen \oalign} % chars over each other +{\catcode`p=12 \catcode`t=12 \gdef\\#1pt{#1}} \let\getf@ctor=\\ +\def\sh@ft#1{\dimen@#1\kern\expandafter\getf@ctor\the\fontdimen1\font + \dimen@} % kern by #1 times the current slant +\def\d#1{{\o@lign{\relax#1\crcr\hidewidth\sh@ft{-1ex}.\hidewidth}}} +\def\b#1{{\o@lign{\relax#1\crcr\hidewidth\sh@ft{-3ex}% + \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}} +%*\def\c#1{{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1% +%* \else\ooalign{\unhbox\z@\crcr\hidewidth\char24\hidewidth}\fi}} +\def\c#1{{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% %%SzP + \else\ooalign{\unhbox\z@\crcr\hidewidth\char11\hidewidth}\fi}} %%SzP +\def\copyright{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\Orb}}} +%% This should be changed to the tc equivalent %%SzP + +\def\dots{\relax\ifmmode\ldots\else$\m@th\ldots\,$\fi} +\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX} + +%*\def\`#1{{\accent18 #1}} +\def\`#1{{\accent0 #1}} %%SzP +%*\def\'#1{{\accent19 #1}} +\def\'#1{{\accent1 #1}} %%SzP +%*\def\v#1{{\accent20 #1}} \let\^^_=\v +\def\v#1{{\accent7 #1}} \let\^^_=\v %%SzP +%*\def\u#1{{\accent21 #1}} \let\^^S=\u +\def\u#1{{\accent8 #1}} \let\^^S=\u %%SzP +%*\def\=#1{{\accent22 #1}} +\def\=#1{{\accent9 #1}} %%SzP +%*\def\^#1{{\accent94 #1}} \let\^^D=\^ +\def\^#1{{\accent2 #1}} \let\^^D=\^ %%SzP +%*\def\.#1{{\accent95 #1}} +\def\.#1{{\accent10 #1}} %%SzP +%*\def\H#1{{\accent"7D #1}} +\def\H#1{{\accent5 #1}} %%SzP +%*\def\~#1{{\accent"7E #1}} +\def\~#1{{\accent3 #1}} %%SzP +%*\def\"#1{{\accent"7F #1}} +\def\"#1{{\accent4 #1}} %%SzP +\def\t#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}} +%% New accent for Polish hook +\def\h#1{\oalign{#1\crcr\hidewidth\accent12\hidewidth}} %%SzP + +\def\hrulefill{\leaders\hrule\hfill} +\def\dotfill{\cleaders\hbox{$\m@th \mkern1.5mu.\mkern1.5mu$}\hfill} +\def\rightarrowfill{$\m@th\smash-\mkern-7mu% + \cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill + \mkern-7mu\mathord\rightarrow$} +\def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-7mu% + \cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill + \mkern-7mu\smash-$} +\mathchardef\braceld="37A \mathchardef\bracerd="37B +\mathchardef\bracelu="37C \mathchardef\braceru="37D +\def\downbracefill{$\m@th \setbox\z@\hbox{$\braceld$}% + \braceld\leaders\vrule height\ht\z@ depth\z@\hfill\braceru + \bracelu\leaders\vrule height\ht\z@ depth\z@\hfill\bracerd$} +\def\upbracefill{$\m@th \setbox\z@\hbox{$\braceld$}% + \bracelu\leaders\vrule height\ht\z@ depth\z@\hfill\bracerd + \braceld\leaders\vrule height\ht\z@ depth\z@\hfill\braceru$} + +\outer\def\bye{\par\vfill\supereject\end} + +% Macros for math setting +\message{math definitions,} + +\let\sp=^ \let\sb=_ +\def\,{\mskip\thinmuskip} +\def\>{\mskip\medmuskip} +\def\;{\mskip\thickmuskip} +\def\!{\mskip-\thinmuskip} +\def\*{\discretionary{\thinspace\the\textfont2\char2}{}{}} +{\catcode`\'=\active \gdef'{^\bgroup\prim@s}} +\def\prim@s{\prime\futurelet\next\pr@m@s} +\def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t + \else\let\nxt\egroup\fi\fi \nxt} +\def\pr@@@s#1{\prim@s} \def\pr@@@t#1#2{#2\egroup} +{\catcode`\^^Z=\active \gdef^^Z{\not=}} % ^^Z is like \ne in math + +{\catcode`\_=\active \global\let_=\_} % _ in math is either subscript or \_ + +\mathchardef\alpha="010B +\mathchardef\beta="010C +\mathchardef\gamma="010D +\mathchardef\delta="010E +\mathchardef\epsilon="010F +\mathchardef\zeta="0110 +\mathchardef\eta="0111 +\mathchardef\theta="0112 +\mathchardef\iota="0113 +\mathchardef\kappa="0114 +\mathchardef\lambda="0115 +\mathchardef\mu="0116 +\mathchardef\nu="0117 +\mathchardef\xi="0118 +\mathchardef\pi="0119 +\mathchardef\rho="011A +\mathchardef\sigma="011B +\mathchardef\tau="011C +\mathchardef\upsilon="011D +\mathchardef\phi="011E +\mathchardef\chi="011F +\mathchardef\psi="0120 +\mathchardef\omega="0121 +\mathchardef\varepsilon="0122 +\mathchardef\vartheta="0123 +\mathchardef\varpi="0124 +\mathchardef\varrho="0125 +\mathchardef\varsigma="0126 +\mathchardef\varphi="0127 +\mathchardef\Gamma="7000 +\mathchardef\Delta="7001 +\mathchardef\Theta="7002 +\mathchardef\Lambda="7003 +\mathchardef\Xi="7004 +\mathchardef\Pi="7005 +\mathchardef\Sigma="7006 +\mathchardef\Upsilon="7007 +\mathchardef\Phi="7008 +\mathchardef\Psi="7009 +\mathchardef\Omega="700A + +\mathchardef\aleph="0240 +\def\hbar{{\mathchar'26\mkern-9muh}} +\mathchardef\imath="017B +\mathchardef\jmath="017C +\mathchardef\ell="0160 +\mathchardef\wp="017D +\mathchardef\Re="023C +\mathchardef\Im="023D +\mathchardef\partial="0140 +\mathchardef\infty="0231 +\mathchardef\prime="0230 +\mathchardef\emptyset="023B +\mathchardef\nabla="0272 +\def\surd{{\mathchar"1270}} +\mathchardef\top="023E +\mathchardef\bot="023F +\def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr + \not\mathrel{\mkern14mu}\crcr + \noalign{\nointerlineskip} + \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}} +\mathchardef\triangle="0234 +\mathchardef\forall="0238 +\mathchardef\exists="0239 +\mathchardef\neg="023A \let\lnot=\neg +\mathchardef\flat="015B +\mathchardef\natural="015C +\mathchardef\sharp="015D +\mathchardef\clubsuit="027C +\mathchardef\diamondsuit="027D +\mathchardef\heartsuit="027E +\mathchardef\spadesuit="027F + +\mathchardef\coprod="1360 +\mathchardef\bigvee="1357 +\mathchardef\bigwedge="1356 +\mathchardef\biguplus="1355 +\mathchardef\bigcap="1354 +\mathchardef\bigcup="1353 +\mathchardef\intop="1352 \def\int{\intop\nolimits} +\mathchardef\prod="1351 +\mathchardef\sum="1350 +\mathchardef\bigotimes="134E +\mathchardef\bigoplus="134C +\mathchardef\bigodot="134A +\mathchardef\ointop="1348 \def\oint{\ointop\nolimits} +\mathchardef\bigsqcup="1346 +\mathchardef\smallint="1273 + +\mathchardef\triangleleft="212F +\mathchardef\triangleright="212E +\mathchardef\bigtriangleup="2234 +\mathchardef\bigtriangledown="2235 +\mathchardef\wedge="225E \let\land=\wedge +\mathchardef\vee="225F \let\lor=\vee +\mathchardef\cap="225C +\mathchardef\cup="225B +\mathchardef\ddagger="227A +\mathchardef\dagger="2279 +\mathchardef\sqcap="2275 +\mathchardef\sqcup="2274 +\mathchardef\uplus="225D +\mathchardef\amalg="2271 +\mathchardef\diamond="2205 +\mathchardef\bullet="220F +\mathchardef\wr="226F +\mathchardef\div="2204 +\mathchardef\odot="220C +\mathchardef\oslash="220B +\mathchardef\otimes="220A +\mathchardef\ominus="2209 +\mathchardef\oplus="2208 +\mathchardef\mp="2207 +\mathchardef\pm="2206 +\mathchardef\circ="220E +\mathchardef\bigcirc="220D +\mathchardef\setminus="226E % for set difference A\setminus B +\mathchardef\cdot="2201 +\mathchardef\ast="2203 +\mathchardef\times="2202 +\mathchardef\star="213F + +\mathchardef\propto="322F +\mathchardef\sqsubseteq="3276 +\mathchardef\sqsupseteq="3277 +\mathchardef\parallel="326B +\mathchardef\mid="326A +\mathchardef\dashv="3261 +\mathchardef\vdash="3260 +\mathchardef\nearrow="3225 +\mathchardef\searrow="3226 +\mathchardef\nwarrow="322D +\mathchardef\swarrow="322E +\mathchardef\Leftrightarrow="322C +\mathchardef\Leftarrow="3228 +\mathchardef\Rightarrow="3229 +\def\neq{\not=} \let\ne=\neq +\mathchardef\leq="3214 \let\le=\leq +\mathchardef\geq="3215 \let\ge=\geq +\mathchardef\succ="321F +\mathchardef\prec="321E +\mathchardef\approx="3219 +\mathchardef\succeq="3217 +\mathchardef\preceq="3216 +\mathchardef\supset="321B +\mathchardef\subset="321A +\mathchardef\supseteq="3213 +\mathchardef\subseteq="3212 +\mathchardef\in="3232 +\mathchardef\ni="3233 \let\owns=\ni +\mathchardef\gg="321D +\mathchardef\ll="321C +\mathchardef\not="3236 +\mathchardef\leftrightarrow="3224 +\mathchardef\leftarrow="3220 \let\gets=\leftarrow +\mathchardef\rightarrow="3221 \let\to=\rightarrow +\mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow} +\mathchardef\sim="3218 +\mathchardef\simeq="3227 +\mathchardef\perp="323F +\mathchardef\equiv="3211 +\mathchardef\asymp="3210 +\mathchardef\smile="315E +\mathchardef\frown="315F +\mathchardef\leftharpoonup="3128 +\mathchardef\leftharpoondown="3129 +\mathchardef\rightharpoonup="312A +\mathchardef\rightharpoondown="312B + +\def\joinrel{\mathrel{\mkern-3mu}} +\def\relbar{\mathrel{\smash-}} % \smash, because - has the same height as + +\def\Relbar{\mathrel=} +\mathchardef\lhook="312C \def\hookrightarrow{\lhook\joinrel\rightarrow} +\mathchardef\rhook="312D \def\hookleftarrow{\leftarrow\joinrel\rhook} +\def\bowtie{\mathrel\triangleright\joinrel\mathrel\triangleleft} +\def\models{\mathrel|\joinrel=} +\def\Longrightarrow{\Relbar\joinrel\Rightarrow} +\def\longrightarrow{\relbar\joinrel\rightarrow} +\def\longleftarrow{\leftarrow\joinrel\relbar} +\def\Longleftarrow{\Leftarrow\joinrel\Relbar} +\def\longmapsto{\mapstochar\longrightarrow} +\def\longleftrightarrow{\leftarrow\joinrel\rightarrow} +\def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow} +\def\iff{\;\Longleftrightarrow\;} + +\mathchardef\ldotp="613A % ldot as a punctuation mark +\mathchardef\cdotp="6201 % cdot as a punctuation mark +\mathchardef\colon="603A % colon as a punctuation mark +\def\ldots{\mathinner{\ldotp\ldotp\ldotp}} +\def\cdots{\mathinner{\cdotp\cdotp\cdotp}} +\def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@ + \kern6\p@\hbox{.}\hbox{.}\hbox{.}}} +\def\ddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu + \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}} + +\def\acute{\mathaccent"7013 } +\def\grave{\mathaccent"7012 } +\def\ddot{\mathaccent"707F } +\def\tilde{\mathaccent"707E } +\def\bar{\mathaccent"7016 } +\def\breve{\mathaccent"7015 } +\def\check{\mathaccent"7014 } +\def\hat{\mathaccent"705E } +\def\vec{\mathaccent"017E } +\def\dot{\mathaccent"705F } +\def\widetilde{\mathaccent"0365 } +\def\widehat{\mathaccent"0362 } +\def\overrightarrow#1{\vbox{\m@th\ialign{##\crcr + \rightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip} + $\hfil\displaystyle{#1}\hfil$\crcr}}} +\def\overleftarrow#1{\vbox{\m@th\ialign{##\crcr + \leftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip} + $\hfil\displaystyle{#1}\hfil$\crcr}}} +\def\overbrace#1{\mathop{\vbox{\m@th\ialign{##\crcr\noalign{\kern3\p@} + \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip} + $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits} +\def\underbrace#1{\mathop{\vtop{\m@th\ialign{##\crcr + $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern3\p@\nointerlineskip} + \upbracefill\crcr\noalign{\kern3\p@}}}}\limits} +\def\skew#1#2#3{{\muskip\z@#1mu\divide\muskip\z@\tw@ \mkern\muskip\z@ + #2{\mkern-\muskip\z@{#3}\mkern\muskip\z@}\mkern-\muskip\z@}{}} + +\def\lmoustache{\delimiter"437A340 } % top from (, bottom from ) +\def\rmoustache{\delimiter"537B341 } % top from ), bottom from ( +\def\lgroup{\delimiter"462833A } % extensible ( with sharper tips +\def\rgroup{\delimiter"562933B } % extensible ) with sharper tips +\def\arrowvert{\delimiter"26A33C } % arrow without arrowheads +\def\Arrowvert{\delimiter"26B33D } % double arrow without arrowheads +\def\bracevert{\delimiter"77C33E } % the vertical bar that extends braces +\def\Vert{\delimiter"26B30D } \let\|=\Vert +\def\vert{\delimiter"26A30C } +\def\uparrow{\delimiter"3222378 } +\def\downarrow{\delimiter"3223379 } +\def\updownarrow{\delimiter"326C33F } +\def\Uparrow{\delimiter"322A37E } +\def\Downarrow{\delimiter"322B37F } +\def\Updownarrow{\delimiter"326D377 } +\def\backslash{\delimiter"26E30F } % for double coset G\backslash H +\def\rangle{\delimiter"526930B } +\def\langle{\delimiter"426830A } +\def\rbrace{\delimiter"5267309 } \let\}=\rbrace +\def\lbrace{\delimiter"4266308 } \let\{=\lbrace +\def\rceil{\delimiter"5265307 } +\def\lceil{\delimiter"4264306 } +\def\rfloor{\delimiter"5263305 } +\def\lfloor{\delimiter"4262304 } + +\def\bigl{\mathopen\big} +\def\bigm{\mathrel\big} +\def\bigr{\mathclose\big} +\def\Bigl{\mathopen\Big} +\def\Bigm{\mathrel\Big} +\def\Bigr{\mathclose\Big} +\def\biggl{\mathopen\bigg} +\def\biggm{\mathrel\bigg} +\def\biggr{\mathclose\bigg} +\def\Biggl{\mathopen\Bigg} +\def\Biggm{\mathrel\Bigg} +\def\Biggr{\mathclose\Bigg} +\def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +\def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +\def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +\def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +\def\n@space{\nulldelimiterspace\z@ \m@th} + +\def\choose{\atopwithdelims()} +\def\brack{\atopwithdelims[]} +\def\brace{\atopwithdelims\{\}} + +\def\sqrt{\radical"270370 } + +\def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}% + {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}} +\newbox\rootbox +\def\root#1\of{\setbox\rootbox + \hbox{$\m@th\scriptscriptstyle{#1}$}\mathpalette\r@@t} +\def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\sqrt{#2}$}\dimen@\ht\z@ + \advance\dimen@-\dp\z@ + \mkern5mu\raise.6\dimen@\copy\rootbox \mkern-10mu\box\z@} +\newif\ifv@ \newif\ifh@ +\def\vphantom{\v@true\h@false\ph@nt} +\def\hphantom{\v@false\h@true\ph@nt} +\def\phantom{\v@true\h@true\ph@nt} +\def\ph@nt{\ifmmode\def\next{\mathpalette\mathph@nt}% + \else\let\next\makeph@nt\fi\next} +\def\makeph@nt#1{\setbox\z@\hbox{#1}\finph@nt} +\def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt} +\def\finph@nt{\setbox\tw@\null + \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi + \ifh@ \wd\tw@\wd\z@\fi \box\tw@} +\def\mathstrut{\vphantom(} +\def\smash{\relax % \relax, in case this comes first in \halign + \ifmmode\def\next{\mathpalette\mathsm@sh}\else\let\next\makesm@sh + \fi\next} +\def\makesm@sh#1{\setbox\z@\hbox{#1}\finsm@sh} +\def\mathsm@sh#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh} +\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@} + +\def\cong{\mathrel{\mathpalette\@vereq\sim}} % congruence sign +\def\@vereq#1#2{\lower.5\p@\vbox{\lineskiplimit\maxdimen\lineskip-.5\p@ + \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}} +\def\notin{\mathrel{\mathpalette\c@ncel\in}} +\def\c@ncel#1#2{\m@th\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}} +\def\rightleftharpoons{\mathrel{\mathpalette\rlh@{}}} +\def\rlh@#1{\vcenter{\m@th\hbox{\ooalign{\raise2pt + \hbox{$#1\rightharpoonup$}\crcr + $#1\leftharpoondown$}}}} +\def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}} +\def\doteq{\buildrel\textstyle.\over=} + +\def\log{\mathop{\rm log}\nolimits} +\def\lg{\mathop{\rm lg}\nolimits} +\def\ln{\mathop{\rm ln}\nolimits} +\def\lim{\mathop{\rm lim}} +\def\limsup{\mathop{\rm lim\,sup}} +\def\liminf{\mathop{\rm lim\,inf}} +\def\sin{\mathop{\rm sin}\nolimits} +\def\arcsin{\mathop{\rm arcsin}\nolimits} +\def\sinh{\mathop{\rm sinh}\nolimits} +\def\cos{\mathop{\rm cos}\nolimits} +\def\arccos{\mathop{\rm arccos}\nolimits} +\def\cosh{\mathop{\rm cosh}\nolimits} +\def\tan{\mathop{\rm tan}\nolimits} +\def\arctan{\mathop{\rm arctan}\nolimits} +\def\tanh{\mathop{\rm tanh}\nolimits} +\def\cot{\mathop{\rm cot}\nolimits} +\def\coth{\mathop{\rm coth}\nolimits} +\def\sec{\mathop{\rm sec}\nolimits} +\def\csc{\mathop{\rm csc}\nolimits} +\def\max{\mathop{\rm max}} +\def\min{\mathop{\rm min}} +\def\sup{\mathop{\rm sup}} +\def\inf{\mathop{\rm inf}} +\def\arg{\mathop{\rm arg}\nolimits} +\def\ker{\mathop{\rm ker}\nolimits} +\def\dim{\mathop{\rm dim}\nolimits} +\def\hom{\mathop{\rm hom}\nolimits} +\def\det{\mathop{\rm det}} +\def\exp{\mathop{\rm exp}\nolimits} +\def\Pr{\mathop{\rm Pr}} +\def\gcd{\mathop{\rm gcd}} +\def\deg{\mathop{\rm deg}\nolimits} + +\def\bmod{\nonscript\mskip-\medmuskip\mkern5mu + \mathbin{\rm mod}\penalty900\mkern5mu\nonscript\mskip-\medmuskip} +\def\pmod#1{\allowbreak\mkern18mu({\rm mod}\,\,#1)} + +\def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th + \ialign{$##\hfil$&\quad##\hfil\crcr#1\crcr}}\right.} +\def\matrix#1{\null\,\vcenter{\normalbaselines\m@th + \ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr + \mathstrut\crcr\noalign{\kern-\baselineskip} + #1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,} +\def\pmatrix#1{\left(\matrix{#1}\right)} +\newdimen\p@renwd +\setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left ( +\def\bordermatrix#1{\begingroup \m@th + \setbox\z@\vbox{\def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}% + \ialign{$##$\hfil\kern2\p@\kern\p@renwd&\thinspace\hfil$##$\hfil + &&\quad\hfil$##$\hfil\crcr + \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}% + #1\crcr\omit\strut\cr}}% + \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}% + \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}% + \setbox\tw@\hbox{$\kern\wd\@ne\kern-\p@renwd\left(\kern-\wd\@ne + \global\setbox\@ne\vbox{\box\@ne\kern2\p@}% + \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right)$}% + \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup} + +\def\openup{\afterassignment\@penup\dimen@=} +\def\@penup{\advance\lineskip\dimen@ + \advance\baselineskip\dimen@ + \advance\lineskiplimit\dimen@} +\def\eqalign#1{\null\,\vcenter{\openup\jot\m@th + \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil + \crcr#1\crcr}}\,} +\newif\ifdt@p +\def\displ@y{\global\dt@ptrue\openup\jot\m@th + \everycr{\noalign{\ifdt@p \global\dt@pfalse \ifdim\prevdepth>-1000\p@ + \vskip-\lineskiplimit \vskip\normallineskiplimit \fi + \else \penalty\interdisplaylinepenalty \fi}}} +\def\@lign{\tabskip\z@skip\everycr{}} % restore inside \displ@y +\def\displaylines#1{\displ@y \tabskip\z@skip + \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr + #1\crcr}} +\def\eqalignno#1{\displ@y \tabskip\centering + \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip + &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering + &\llap{$\@lign##$}\tabskip\z@skip\crcr + #1\crcr}} +\def\leqalignno#1{\displ@y \tabskip\centering + \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip + &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering + &\kern-\displaywidth\rlap{$\@lign##$}\tabskip\displaywidth\crcr + #1\crcr}} + +% Definitions related to output + +\message{output routines,} + +\countdef\pageno=0 \pageno=1 % first page is number 1 +\newtoks\headline \headline={\hfil} % headline is normally blank +\newtoks\footline \footline={\hss\tenrm\folio\hss} + % footline is normally a centered page number in font \tenrm +\newif\ifr@ggedbottom +\def\raggedbottom{\topskip 10\p@ plus60\p@ \r@ggedbottomtrue} +\def\normalbottom{\topskip 10\p@ \r@ggedbottomfalse} % undoes \raggedbottom +\def\folio{\ifnum\pageno<\z@ \romannumeral-\pageno \else\number\pageno \fi} +\def\nopagenumbers{\footline{\hfil}} % blank out the footline +\def\advancepageno{\ifnum\pageno<\z@ \global\advance\pageno\m@ne + \else\global\advance\pageno\@ne \fi} % increase |pageno| + +\newinsert\footins +\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi + #1\@sf\vfootnote{#1}} +\def\vfootnote#1{\insert\footins\bgroup + \interlinepenalty\interfootnotelinepenalty + \splittopskip\ht\strutbox % top baseline for broken footnotes + \splitmaxdepth\dp\strutbox \floatingpenalty\@MM + \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip + \textindent{#1}\footstrut\futurelet\next\fo@t} +\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t + \else\let\next\f@t\fi \next} +\def\f@@t{\bgroup\aftergroup\@foot\let\next} +\def\f@t#1{#1\@foot} +\def\@foot{\strut\egroup} +\def\footstrut{\vbox to\splittopskip{}} +\skip\footins=\bigskipamount % space added when footnote is present +\count\footins=1000 % footnote magnification factor (1 to 1) +\dimen\footins=8in % maximum footnotes per page + +\newinsert\topins +\newif\ifp@ge \newif\if@mid +\def\topinsert{\@midfalse\p@gefalse\@ins} +\def\midinsert{\@midtrue\@ins} +\def\pageinsert{\@midfalse\p@getrue\@ins} +\skip\topins=\z@skip % no space added when a topinsert is present +\count\topins=1000 % magnification factor (1 to 1) +\dimen\topins=\maxdimen % no limit per page +\def\@ins{\par\begingroup\setbox\z@\vbox\bgroup} % start a \vbox +\def\endinsert{\egroup % finish the \vbox + \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@ \advance\dimen@12\p@ + \advance\dimen@\pagetotal \advance\dimen@-\pageshrink + \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi + \if@mid \bigskip\box\z@\bigbreak + \else\insert\topins{\penalty100 % floating insertion + \splittopskip\z@skip + \splitmaxdepth\maxdimen \floatingpenalty\z@ + \ifp@ge \dimen@\dp\z@ + \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero + \else \box\z@\nobreak\bigskip\fi}\fi\endgroup} + +\output{\plainoutput} +\def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}% + \advancepageno + \ifnum\outputpenalty>-\@MM \else\dosupereject\fi} +\def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}} +\def\makeheadline{\vbox to\z@{\vskip-22.5\p@ + \line{\vbox to8.5\p@{}\the\headline}\vss}\nointerlineskip} +\def\makefootline{\baselineskip24\p@\lineskiplimit\z@\line{\the\footline}} +\def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over + \line{}\kern-\topskip\nobreak\vfill\supereject\fi} + +\def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi + \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255 + \ifvoid\footins\else % footnote info is present + \vskip\skip\footins + \footnoterule + \unvbox\footins\fi + \ifr@ggedbottom \kern-\dimen@ \vfil \fi} +\def\footnoterule{\kern-3\p@ + \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high + +% Hyphenation, miscellaneous macros, and initial values for standard layout +\message{hyphenation} + +\lefthyphenmin=2 \righthyphenmin=3 % disallow x- or -xx breaks +%*\input hyphen +%*\input xu-huhyphn.tex %%BB +\input hyphen + +\def\magnification{\afterassignment\m@g\count@} +\def\m@g{\mag\count@ + \hsize6.5truein\vsize8.9truein\dimen\footins8truein} + +\def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@ + \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne + \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne + \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode} + +\def\showhyphens#1{\setbox0\vbox{\parfillskip\z@skip\hsize\maxdimen\tenrm + \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ #1}} + +\normalbaselines\rm % select roman font +\nonfrenchspacing % punctuation affects the spacing +\catcode`@=12 % at signs are no longer letters + +%*\def\fmtname{plain}\def\fmtversion{3.1415926} % identifies the current format +\def\fmtname{ecplain}\def\fmtversion{3.1415926} %%SzP + +% ============================================================= % +% %%%%%%%%%%%%% MaYoR %%%%%%%%%%%%%% % +% ============================================================= % +\message{MaYoR} + +\input rotate +\newbox\rotbox +\newbox\rotboxA +\newbox\rotboxB +\newbox\mezonev +\newbox\doboz +\nopagenumbers + +\font\kicsi=ecrm0500 +\font\nagy=ecbx1200 +\font\vastag=ecsx0800 +\font\nagyss=ecsx1200 +\font\normal=ecss0800 +\font\dolt=ecsi0800 + +% osztályozóban volt +\parindent=0pt + +% ======================================================================= % +% Makrók +% ======================================================================= % +\def\doboz#1#2#3{\vbox to #2{\hsize=#1{\vfill\noindent #3 \vfill}}} +% ============================================================= % +\def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\hfil #3\hfil\vfill}} +% ============================================================= % +\def\tetejen#1#2#3{\vbox to #2{\hsize=#1\noindent\hfil #3\hfil\vfill}} +% ============================================================= % +\def\dupla#1{\vbox to 68pt{% +\hbox to 68.8pt{\vbox to 30pt{\hsize=68.8pt\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% +}}} +% ============================================================= % +\def\tripla#1{\vbox to 68pt{% +\hbox to 103.6pt{\vbox to 30pt{\hsize=103.6pt\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil3\hfil\vfil}% +}}} +% ============================================================= % +\newdimen\vonalszelesseg\vonalszelesseg=0.8pt% +\newdimen\szelesseg\szelesseg=34pt% +\newcount\szam% +\newcount\vonalszam% +\def\ennes#1#2{\szam=1% +\vonalszam=#2% +\advance\vonalszam by -1% +\multiply\vonalszelesseg by \vonalszam% +\multiply\szelesseg by #2% +\advance\szelesseg by \vonalszelesseg% +\vbox to 68pt{% +\hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\loop +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% +\advance\szam by 1% +\vrule width0.8pt depth3pt height39.2pt% +\ifnum\szam<#2\break% +\repeat +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil#2\hfil\vfil}% +}}} +% ============================================================= % +\def\emmes#1#2#3{\szam=#3% +\vonalszam=#2% +\advance\vonalszam by -1% +\multiply\vonalszelesseg by \vonalszam% +\advance\vonalszam by #3% +\multiply\szelesseg by #2% +\advance\szelesseg by \vonalszelesseg% +\vbox to 68pt{% +\hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\loop +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% +\advance\szam by 1% +\vrule width0.8pt depth3pt height39.2pt% +\ifnum\szam<\vonalszam\break% +\repeat +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\vonalszam\hfil\vfil}% +}}} +% ============================================================= % +\def\oraszam#1{% +\hbox to 34pt{\hfill{% +\vbox{\halign{% +\vrule width0.8pt height21.2pt##&\vbox to 21.2pt{\vfil\hbox to 21.2pt{\hfil##\hfil}\vfil}\cr% +\noalign{\hrule height0.8pt}% +\cr% +}}}}} +% ============================================================= % +\def\tanitasi{\setbox\mezonev=\kozepen{75pt}{20pt}{\doboz{69pt}{19pt}{\hfil A tan\'\i t\'asi nap\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% +% ============================================================= % +\def\megjegyzes#1#2{\setbox\mezonev=\kozepen{90pt}{20pt}{\doboz{89pt}{19pt}{\hfil \centerline{#1} \centerline{#2}\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% +% ============================================================= % +\def\datum#1#2#3{% +\setbox\mezonev=\hbox{\vbox to 22pt{\hrule height2pt\hsize=105pt\vfil\noindent\hfil#3\hfil\vfil}\vrule width2pt}% +\lower3pt\vbox to 166pt{% +\vss\hbox{\vbox to 168pt{\vfil% +\hbox to 22pt{\hss\vrule height63pt width2pt\vbox to 63.2pt{\hsize=31pt% +\hrule width31.5pt height2pt\vfil\noindent\centerline{#1}\vfil% +\hrule width31.5pt height0.8pt\noindent\vfil\centerline{#2}\vfil% +\hrule width31.5pt height2pt}}% +\hbox{\vbox to 104pt{\vss\rotl\mezonev}}% +}}}} +% ============================================================= % +%5.1cm=145pt 343=1.4 136.6 = 4.8 1.3 = 37pt 41.25 = 1.45 6 = 170.7 +% ============================================================= % +\def\tananyag#1#2{\setbox\mezonev=\kozepen{140pt}{34pt}{\doboz{133pt}{33pt}{\raggedright#1}}\lower3pt\vbox{\rotl\mezonev\oraszam{#2}}} +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +% ============================================================= % +% \def\kozepenK#1#2#3{\vrule\vbox to #2{\hsize=#1\hrule\vfill\noindent\hfil #3\hfil\vfill\hrule}\vrule} +% \def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\centerline{#3}\vfill}} +\normal +\dump \ No newline at end of file diff --git a/mayor-orig/print/module-naplo/xetex/mayor-xetex.cnf b/mayor-orig/print/module-naplo/xetex/mayor-xetex.cnf new file mode 100644 index 00000000..70d0a410 --- /dev/null +++ b/mayor-orig/print/module-naplo/xetex/mayor-xetex.cnf @@ -0,0 +1,9 @@ +# 10texlive-xetex.cnf +# You can change/add entries to this file and changes will be preserved +# over upgrades, even if you have removed the main package prior +# (not if you purged it). You should leave the following pseudo comment +# present in the file! +# -_- DebPkgProvidedMaps -_- +# + +mayor-xetex xetex language.def -etex mayor-xetex.ini diff --git a/mayor-orig/print/module-naplo/xetex/mayor-xetex.fmt b/mayor-orig/print/module-naplo/xetex/mayor-xetex.fmt new file mode 100644 index 00000000..77bdaf40 Binary files /dev/null and b/mayor-orig/print/module-naplo/xetex/mayor-xetex.fmt differ diff --git a/mayor-orig/print/module-naplo/xetex/mayor-xetex.ini b/mayor-orig/print/module-naplo/xetex/mayor-xetex.ini new file mode 100644 index 00000000..f5a72f32 --- /dev/null +++ b/mayor-orig/print/module-naplo/xetex/mayor-xetex.ini @@ -0,0 +1,189 @@ +% $Id: xetex.ini 26376 2012-05-14 18:25:55Z karl $ +% Public domain. Originally by Jonathan Kew. + +%% Disable the \font\preloaded=... entries from plain.tex +%% as xetex is primarily intended for use with other fonts +\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 \catcode`\@=11 + +\scrollmode + +\input unicode-letters + +\let\s@vef@nt=\font +\let\preloaded=2 +\def\font{\futurelet\next\d@ntpreload} +\def\d@ntpreload{\ifx\next\preloaded + \let\next\sk@pf@nt + \begingroup \catcode`\%=12 \catcode13=12 + \else + \let\next\s@vef@nt + \fi \next} +\lccode1=13 +\lowercase{\def\sk@pf@nt\preloaded=#1^^A{\endgroup}} + +\input etex.src + +% restore the \font command and undefine other stuff +\catcode`\@=11 +\let\font=\s@vef@nt +\let\d@ntpreload=\und@fined +\let\sk@pf@nt=\und@fined +\let\s@vef@nt=\und@fined + +% +% Allocator for \XeTeXintercharclass values, from Enrico Gregorio +% +\newcount\xe@alloc@intercharclass % allocates intercharclass +\xe@alloc@intercharclass=\thr@@ % from 4 (1,2 and 3 are used by CJK, AFAIK) +\def\xe@alloc@#1#2#3#4#5{\global\advance#1\@ne + \xe@ch@ck#1#4#2% make sure there's still room + \allocationnumber#1% + \global#3#5\allocationnumber + \wlog{\string#5=\string#2\the\allocationnumber}} +\def\xe@ch@ck#1#2#3{% + \ifnum#1<#2\else + \errmessage{No room for a new #3}% + \fi} +\def\newXeTeXintercharclass{% + \xe@alloc@\xe@alloc@intercharclass\XeTeXintercharclass\chardef\@cclv} %at most 254 + +\catcode`\@=12 + +\XeTeXuseglyphmetrics=1 +\XeTeXdashbreakstate=1 + +\errorstopmode + +% START MaYoR +% ============================================================= % +% %%%%%%%%%%%%% MaYoR %%%%%%%%%%%%%% % +% ============================================================= % + +\message{MaYoR} + +\input rotate +\newbox\rotbox +\newbox\rotboxA +\newbox\rotboxB +\newbox\mezonev +\newbox\doboz +\nopagenumbers + +% átkerültek a font definíciók a generatePDF függvénybe!! +%\font\kicsi=ecrm0500 +%\font\nagy=ecbx1200 +%\font\vastag=ecsx0800 +%\font\nagyss=ecsx1200 +%\font\normal=ecss0800 +%\font\dolt=ecsi0800 + +% osztályozóban volt +\parindent=0pt + +% ======================================================================= % +% Makrók +% ======================================================================= % +\def\doboz#1#2#3{\vbox to #2{\hsize=#1{\vfill\noindent #3 \vfill}}} +% ============================================================= % +\def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\hfil #3\hfil\vfill}} +% ============================================================= % +\def\tetejen#1#2#3{\vbox to #2{\hsize=#1\noindent\hfil #3\hfil\vfill}} +% ============================================================= % +\def\dupla#1{\vbox to 68pt{% +\hbox to 68.8pt{\vbox to 30pt{\hsize=68.8pt\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% +}}} +% ============================================================= % +\def\tripla#1{\vbox to 68pt{% +\hbox to 103.6pt{\vbox to 30pt{\hsize=103.6pt\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% +\vrule width0.8pt depth3pt height39.2pt% +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil3\hfil\vfil}% +}}} +% ============================================================= % +\newdimen\vonalszelesseg\vonalszelesseg=0.8pt% +\newdimen\szelesseg\szelesseg=34pt% +\newcount\szam% +\newcount\vonalszam% +\def\ennes#1#2{\szam=1% +\vonalszam=#2% +\advance\vonalszam by -1% +\multiply\vonalszelesseg by \vonalszam% +\multiply\szelesseg by #2% +\advance\szelesseg by \vonalszelesseg% +\vbox to 68pt{% +\hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\loop +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% +\advance\szam by 1% +\vrule width0.8pt depth3pt height39.2pt% +\ifnum\szam<#2\break% +\repeat +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil#2\hfil\vfil}% +}}} +% ============================================================= % +\def\emmes#1#2#3{\szam=#3% +\vonalszam=#2% +\advance\vonalszam by -1% +\multiply\vonalszelesseg by \vonalszam% +\advance\vonalszam by #3% +\multiply\szelesseg by #2% +\advance\szelesseg by \vonalszelesseg% +\vbox to 68pt{% +\hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% +\hrule\hbox{% +\loop +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% +\advance\szam by 1% +\vrule width0.8pt depth3pt height39.2pt% +\ifnum\szam<\vonalszam\break% +\repeat +\vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\vonalszam\hfil\vfil}% +}}} +% ============================================================= % +\def\oraszam#1{% +\hbox to 34pt{\hfill{% +\vbox{\halign{% +\vrule width0.8pt height21.2pt##&\vbox to 21.2pt{\vfil\hbox to 21.2pt{\hfil##\hfil}\vfil}\cr% +\noalign{\hrule height0.8pt}% +\cr% +}}}}} +% ============================================================= % +\def\tanitasi{\setbox\mezonev=\kozepen{75pt}{20pt}{\doboz{69pt}{19pt}{\hfil A tanítási nap\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% +% ============================================================= % +\def\megjegyzes#1#2{\setbox\mezonev=\kozepen{90pt}{20pt}{\doboz{89pt}{19pt}{\hfil \centerline{#1} \centerline{#2}\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% +% ============================================================= % +\def\datum#1#2#3{% +\setbox\mezonev=\hbox{\vbox to 22pt{\hrule height2pt\hsize=105pt\vfil\noindent\hfil#3\hfil\vfil}\vrule width2pt}% +\lower3pt\vbox to 166pt{% +\vss\hbox{\vbox to 168pt{\vfil% +\hbox to 22pt{\hss\vrule height63pt width2pt\vbox to 63.2pt{\hsize=31pt% +\hrule width31.5pt height2pt\vfil\noindent\centerline{#1}\vfil% +\hrule width31.5pt height0.8pt\noindent\vfil\centerline{#2}\vfil% +\hrule width31.5pt height2pt}}% +\hbox{\vbox to 104pt{\vss\rotl\mezonev}}% +}}}} +% ============================================================= % +%5.1cm=145pt 343=1.4 136.6 = 4.8 1.3 = 37pt 41.25 = 1.45 6 = 170.7 +% ============================================================= % +\def\tananyag#1#2{\setbox\mezonev=\kozepen{140pt}{34pt}{\doboz{133pt}{33pt}{\raggedright#1}}\lower3pt\vbox{\rotl\mezonev\oraszam{#2}}} +\def\mayor{% +\font\mayorfnt=cmsl8% +\font\Mayorfnt=cmsl12 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +% ============================================================= % +% \def\kozepenK#1#2#3{\vrule\vbox to #2{\hsize=#1\hrule\vfill\noindent\hfil #3\hfil\vfill\hrule}\vrule} +% \def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\centerline{#3}\vfill}} +%%%%\normal + +% END MaYoR + +\dump +\endinput diff --git a/mayor-orig/print/share/huhyphn.tex b/mayor-orig/print/share/huhyphn.tex new file mode 100644 index 00000000..4a5fd1b1 --- /dev/null +++ b/mayor-orig/print/share/huhyphn.tex @@ -0,0 +1,62784 @@ +% Huhyphn - hungarian hyphenation patterns v20070907 +% +% Copyright (C) 2003-2004, NAGY Bence +% This file can be distributed under the terms of the +% GNU General Public License version 2. +% +% Encoding: Cork/T1/EC +% +\message{Huhyphn - hungarian hyphenation patterns v20070907} +\begingroup +\catcode`\^^e1=11\uccode`\^^e1=`\^^c1\lccode`\^^e1=`\^^e1 +\catcode`\^^c1=11\uccode`\^^c1=`\^^c1\lccode`\^^c1=`\^^e1 +\catcode`\^^e9=11\uccode`\^^e9=`\^^c9\lccode`\^^e9=`\^^e9 +\catcode`\^^c9=11\uccode`\^^c9=`\^^c9\lccode`\^^c9=`\^^e9 +\catcode`\^^f3=11\uccode`\^^f3=`\^^d3\lccode`\^^f3=`\^^f3 +\catcode`\^^d3=11\uccode`\^^d3=`\^^d3\lccode`\^^d3=`\^^f3 +\catcode`\^^f6=11\uccode`\^^f6=`\^^d6\lccode`\^^f6=`\^^f6 +\catcode`\^^d6=11\uccode`\^^d6=`\^^d6\lccode`\^^d6=`\^^f6 +\catcode`\^^ae=11\uccode`\^^ae=`\^^8e\lccode`\^^ae=`\^^ae +\catcode`\^^8e=11\uccode`\^^8e=`\^^8e\lccode`\^^8e=`\^^ae +\catcode`\^^fc=11\uccode`\^^fc=`\^^dc\lccode`\^^fc=`\^^fc +\catcode`\^^dc=11\uccode`\^^dc=`\^^dc\lccode`\^^dc=`\^^fc +\catcode`\^^fa=11\uccode`\^^fa=`\^^da\lccode`\^^fa=`\^^fa +\catcode`\^^da=11\uccode`\^^da=`\^^da\lccode`\^^da=`\^^fa +\catcode`\^^b6=11\uccode`\^^b6=`\^^96\lccode`\^^b6=`\^^b6 +\catcode`\^^96=11\uccode`\^^96=`\^^96\lccode`\^^96=`\^^b6 +\catcode`\^^ed=11\uccode`\^^ed=`\^^cd\lccode`\^^ed=`\^^ed +\catcode`\^^cd=11\uccode`\^^cd=`\^^cd\lccode`\^^cd=`\^^ed +\catcode`\^^e4=11\uccode`\^^e4=`\^^c4\lccode`\^^e4=`\^^e4 +\catcode`\^^c4=11\uccode`\^^c4=`\^^c4\lccode`\^^c4=`\^^e4 +\patterns{% +.a2 +.adatt1a2 +.ada2t1e2 +.ads1s +.ad2s3z +.ad1y +.ad1yi +.ag1os +.ag2ra +.agyag1g +.agy12ram +.agy1rt +.agy1e2 +.agyo2 +.agyon1 +.agy12 +.agy12 +.akc1c +.ak2cs +.ak2h +.ako2 +.ak2t1r. +.ak2t1orr +.ak2t12 +.aku1p2 +.ala2g1 +.alak1a2 +.ala2k12 +.ala2k12 +.ala2pa +.ala2p1 +.al1eg +.al1is +.al2jrn +.alje2 +.al2j1el +.aljel12 +.alo2m1 +.al1os +.al2t1a2k +.al2t1erj +.al2tn +.al2trn +.al2trt +.al2tin +.am1ak +.ango2l12 +.anti1s +.apa1p2 +.ap2ly12z +.ara2ny1e2 +.ara2sze +.ar12c +.ar2cal +.arc3c +.ar2c1e2 +.ar2cl +.ar2c3h +.ar2c3hoz +.ar2cin +.ar2cio +.ar2col +.ar2c +.ar2c3s +.ar1kh +.at2h +.az1a2 +.az1m +.aze2 +.az12 +.2 +.cs1k +.g1rn +.g1rt +.g12 +.gy1ala +.gy1asz +.gy1rt +.gy12z +.l1a2 +.l1 +.l1i2 +.ligaz1 +.l2l1alj +.l2l1alt +.l2lin +.l1o2k +.l1 +.r1aj +.r1akt +.r1a2l +.ra2m1e +.r1a2p +.ra2sz +.r1asz +.r1c +.r1l +.r12z +.r1d2 +.re2 +.r1em +.r2 +.r1ir +.r2nyel +.r1ol +.r1om +.r1os +.rrs1s +.r1s2 +.r1t2r +.sz1l +.sz1rb +.sz12r +.sz12ri +.sz12ro +.t1a2d +.t1a2k +.t1alt +.t1a2n +.t1ar +.t1a2s +.t1av +.t12 +.t1e2 +.t12 +.t1i2 +.t1ol +.t1o2r +.t1o2s +.t2 +.t1h +.t1v +.t12 +.t1u +.t12 +.t1 +.b2 +.ba2b1a2r +.ba2bl +.ba2b1e2 +.ba2bol +.ba2j12rat +.ba2j1e +.bak1aszt +.ba2kl +.ba2k12ro +.bak2 +.ba2k12 +.ba2kur +.ba2l1e2g +.ba1ts +.ba2u +.b2l12 +.br1a +.b1th +.be2at. +.be1d2 +.bei2 +.be1kr +.be1str +.be1szk +.bet2t1e2l +.be1tr +.br2c3s +.b2r1o +.bi2ke +.bi2os +.bi2ot +.bita2 +.bi2tag +.bi2t12 +.bi2tel +.bi2t1er +.bi2t1orr +.bi2tur +.bo2g12 +.bol2ta +.bo2ly12 +.bo2nav +.bo2raj +.bo2ran +.bo2ras +.bo2rat +.bo2rc +.bo2rl +.bo2r1odv +.bor2st +.bort2 +.bo2t +.bra2i +.bu2sz1e +.c2 +.cen2t1 +.cen2t12 +.ce2t1e2l +.ce2t1 +.c2l1e2 +.ci2n12 +.cito1 +.cs2 +.csa2k1 +.csa2p12g +.csa2t12 +.cse2l12r +.d2 +.dac1c +.da2c3s +.da2i +.dal1an +.da2ls +.da2l1e2 +.da2l1k +.da2ln +.da2l12 +.da3lol +.da2l12 +.dan1n +.da2u +.den2g1 +.d2la +.dre2 +.d2res +.d2sa +.di2afo +.di2aka +.di2al +.di2cs +.di2m +.d2mor +.d2ra +.e2 +.eb1eg +.eb1ir +.eb1 +.eb1u2 +.eg2 +.egres1s +.egy1a2 +.egy12 +.egy1e2lr +.egy1ev +.egy1in +.egy12 +.egy12l +.el1a2k +.el1an +.el1ap +.ela2s +.el1ass +.el1aszn +.el1aszo +.el1aszv +.el12 +.el1e2c +.el1eger +.ele2gy +.el1e2h +.el1ejt +.el1e2l +.ele2ma +.ele2m +.ele2meg +.ele2mel +.el1emele +.el1emels +.el1emelt +.el1e2ms +.el1e2n +.el1e2p +.el1e2r +.el1e2se +.el1e2ss +.el1esh +.el1e2si +.el1esn +.el1e2s +.el1ess +.el1este +.el1estl +.el1est +.el1e2s +.el1esv +.el1e2sz +.el1e2t +.el1e2vet +.el1e2vez +.el1evi +.el2d +.el1de +.el12gek +.el1h +.el1kez +.el12le +.el2n +.el1ne +.el12p +.el12r +.el12tet. +.el12v +.el1id +.el1ig +.el1i2h +.el1ik +.el1i2mit +.el1in +.el1ir +.el1i2s +.eli2t1o +.el1itta. +.el1ittk +.el1izz +.el1 +.ellege2 +.elo2 +.el1okk +.el1oko +.el1or +.el12 +.el2 +.el1k +.el1le +.el1l +.el1lh +.el1li +.el1lj. +.el1lje +.el1lj +.el1lj +.el1lne +.el1ln. +.el1lnm +.el1lni +.el1l +.el1lt. +.el1lte +.el1lt +.el1ltn +.el1lt +.el1ln +.el1lv +.el1v +.el2 +.el1s2 +.el1t2 +.el1u +.el2 +.el1l. +.el1lh +.el1li +.el1lj +.el1ln +.el1lte +.el1lv +.el2v1el +.el2v1g. +.es1er +.ese2tel +.es2t1a +.es2t1 +.es2t12ke. +.es2t12kek +.et2h +.etiln1g2 +.evs1s +.ex1el +.ez1 +.ez1e2l +.2 +.des3s +.g1a2 +.g1eg +.g1e2rei +.ge2s +.g1esz +.g1r. +.g12r +.g1rn +.gs3s +.g2sz +.g1szb +.g1sze +.g1sz +.g1szn +.g1szr +.g12 +.g1u2 +.h1v +.j1a2 +.j12 +.j1el +.j1u +.k1a2 +.k1 +.kes1s +.k1ir +.k1o +.l1a2 +.l2c1i +.li2k +.l1ike +.l2v12 +.p1es +.p2pa +.p2p1el +.p2p +.p2po +.r1a2n +.r2c1e2l +.r2c12j +.r2ck +.r2c3s +.r1e2l +.r1e2s +.r2sz +.r1sz +.r12t +.r2 +.r1l +.r2vad +.r2val +.r2v1g. +.sz1a2l +.sz1 +.sze2 +.sz1el +.sz1em +.sz1es +.sz12k +.szigaz1 +.sz1o +.sz12 +.sz2t1rv +.sz2 +.sz1l +.v12g +.v1essz +.v12g +.v12k +.f2 +.fa2it. +.fa2leg +.fa2n1v +.fa2r1ont +.fas2 +.fa1st +.fat2 +.fa1tr +.fe2leme +.fe2l1essz +.fe2lev +.f2k1e2l +.f2m1a2 +.f2m12 +.fil2mr +.fin2ge +.fog2s3z +.fol2t1a2 +.f2l +.f2ll. +.fll1e2 +.g2 +.ga2zan +.gt1al +.g2te +.g2z12 +.gzs2 +.g2zsu +.gz1z +.gene2a +.ge2od +.ge2os +.gesz2t1 +.g2d1 +.g2na +.g2n +.gn3n +.g2pe2lem +.g2p1i2p +.giga1s +.gonor1 +.gonorr2 +.g2ce +.g2la +.g2l +.g2lel +.g2l1e2s +.gli2g +.g2l1iga +.g2lis +.g2z12 +.g2zen +.g2z1 +.g2zs +.gu2i +.h2 +.ha2b1e2 +.ha2b1ol +.ha2bor +.ha2b1 +.ha2b1u +.ha2dal +.ha2d1e2 +.ha2dz +.ha2ik +.ha2j1e2 +.ha2jom +.ha2lc +.hal2l12 +.ha2lrv +.ha2leg +.ha2l1el +.ha2lep +.ha2let +.ha2l1e2v +.ha2lis +.han2gad +.han2g1e +.ha2sor +.has3sz +.ha2tag +.ha2t1at +.ha2t1e2 +.ha2told +.h2m1a +.h2ny1in +.hro2m1e +.h2t1alj +.h2tus +.h2zol +.h2z +.he2i +.h2t1ez +.h2t1o +.hit1a +.hi2tis +.hods1 +.hol1l +.hol2t1e +.ho2ne +.h2s +.i2 +.ike2r1i +.iker2 +.ike2r1l +.ikon1s +.ima1s +.im1p2la +.in1akt +.in2gin +.inte2r1a +.io2n1a2 +.io2n1 +.io2ne +.ion3n +.ipa2re +.izo2m1rt +.2 +.j2t +.j1to +.n1e +.r2s1g +.r2s3z +.v1a2 +.v12r +.v1ell +.z1a +.z1in +.j2 +.jak2 +.ja2kr +.ja2kov +.jrmk2 +.j2sz +.j2sz +.je2gy1a2 +.je2gy12 +.je2l1a +.je2leg +.je2lev +.job2b1ol +.j2dal +.j2s1e2 +.j2t1 +.k2 +.kale2i +.ka2nar +.ka2n1e +.kapolc1 +.ka2rala +.ka2ras +.ka2r12s +.kar2c3se +.kare2 +.ka2rem +.ka2rk +.ka2ring +.ka2r +.ka2r2ra +.ka2r12rk +.ka2r1 +.ka1th +.ka1tz +.kr1a2d +.ks2 +.ksa3l +.ke2cs +.ke2l12 +.ke2l1e2g +.ke2l1e2ve +.kel1 +.ker2ta +.k2nt +.k2p1s +.kta2 +.k2tab +.k2tad +.k2t1ag +.k2taka +.k2tal +.k2tan +.k2tap +.k2tas +.k2tat +.k2tau +.k2t12 +.k2t1ele +.k2t1ez +.k2t1o2 +.kze2 +.k2z1el +.k2zem +.k2zs +.kz1z +.ki2 +.ki1g2 +.ki1kr +.ki2 +.ki2sg +.ki2 +.kla2uz +.kl2re +.ko2rc +.ko2r +.ko2sis +.k2d1a2 +.k2r1e +.k2r12s +.k2b1l +.k2d1 +.k2zis +.k2z1 +.kz1z +.kr2 +.kun1a +.kvar3k. +.l2 +.lak1a2d +.la2kal +.la2k1an +.la2kp +.la2kor +.la2k +.lan2t1e +.lan2t12 +.la2pal +.la2p1c +.la2p12r +.la2p1e2 +.la2p1or +.la2p1osz +.la2p +.l2b1e2 +.l2bil +.l2bor +.ln2c3s +.l2nyan +.l2ny1e2 +.l2p1e +.l2p1il +.l2z12 +.l2z3s +.le3d +.le2g1 +.le3g2ali +.le3g2els +.le3g2esle2g1 +.le3g2esle3g2esle2g1 +.lege2t +.le4gne +.leg3g +.le3gy +.lei2d +.le2ro +.le2rd +.le2ru +.le1kl +.le1k2r +.lemez1z +.le1p2r +.le1s2m +.le1t2r +.le2 +.l2c3s +.l2g1a2 +.l2g1 +.lge2 +.l2g1el +.l2gr +.l2go +.l2gy12 +.l2p1a2 +.lp2 +.lp1l +.l2t1a2 +.l2t12 +.l2t1e2l +.l2t1rd +.l2tr +.lisz2ta +.lisz2t12 +.lisz2ter +.lito1s +.lob1e +.lobi2 +.lo2bin +.lo2mag +.lo2mal +.lo2m1 +.lom2b1e2 +.lo2me +.lo2m12t +.lon2csi +.lfo2g1a2d +.l2cs12v +.lrs3s +.ly1o +.m2 +.ma2e +.ma2gal +.ma2gar +.ma2gl +.ma2g1e2 +.mag1g +.mag2 +.ma2gr +.ma2in. +.ma2r1c +.ma2r1ing +.masz2k1or +.masz2k1 +.ma1th +.ma2uz +.m2r1is +.me2g1e2 +.me2g12 +.meg1if +.mego2 +.me2g12 +.me2i +.mel2l +.me2ny1u2 +.me2z +.mdi2af +.m2n +.m2no +.m2sza +.m2szet +.m2szi +.m2szo +.m2zis +.mi3r +.mo2lyan +.mi2 +.m1kr +.m1s +.n2 +.na2gya +.na2gy +.na2gye +.na2gy +.na2pap +.na2p1ar +.na2pl +.na2p1e +.na2ps +.na2p1o2r +.na2p +.ne2ma +.ne2meg +.ne2m1el +.ne2min +.ne2ol +.ne2sz +.net2t1a2 +.ne2um +.n2gy +.n2pa +.n2v1l +.n2vel +.no2r1 +.nya2k12ro +.nya2k1e2 +.nya2k12 +.o2 +.oda1 +.ok1a2d +.ok1a2l +.okka2 +.ola2j1e2 +.ola2sz12 +.olda2l1t +.or2r1aj +.or2r1alt +.or2ran +.or2r1e2 +.orr2 +.or2r1s +.or2v1a2 +.or2v +.or2v1 +.orvi2 +.or2vis +.ot1tr +.2 +.lo2m1a +.me3g2 +.n1a2 +.n12 +.n1e2 +.n1v +.v2s1rt +.2 +.n1d2 +.n1e2 +.ni2 +.n1 +.n1k2 +.n3n +.n1o +.n1 +.n1s +.n1 +.ssz1a +.ssz1 +.te2 +.t1eg +.t1el +.t1t2 +.v1e2g +.v1e2l +.v12 +.2 +.a3l +.i3r +.r1ab +.r1an +.r1e2g +.r12g +.r12s +.r1ist +.r1o +.r1u2 +.r1g +.s1a2 +.s12 +.s1eg +.s1e2l +.s1e2r +.s1e2s +.s12g +.s1rt +.s12 +.s1o +.s12 +.s1p +.s1tr +.s1u2 +.s1 +.sz1a2 +.sz1 +.sz1e2g +.sz1el +.sz1em +.s3zene +.s3zen +.z1a2 +.z1eg +.z1e2l +.ze2t +.z1ete +.z1k +.z1re +.z1 +.z3s +.z1u +.p2 +.pa2da +.pa2d12 +.pa2din +.pa2d12 +.pa2i +.pa2par +.pa2pl +.pa2pe +.para1f2r +.parke2 +.par2ker +.par2ta +.par2tel +.par2ter +.p2c3s +.pn2ta +.pr2t1 +.pen3ny +.pe2r1a2 +.pe2r1 +.pe2r1enc +.pe2rok +.pe2rl +.pe2s +.pia2c3s +.pina1 +.pin2t1 +.ple2i +.ponta2 +.pon2te +.po2rad +.po2ral +.po2ran +.po2rc +.po2rl +.po2re +.po2r1us +.p2kis +.p2k1 +.p2rs +.p2t1e +.p2t1 +.pre1k2 +.prs3s +.proto1p2 +.q2 +.r2 +.ra2b1as +.ra2b1 +.ra2be +.rabic1 +.ra2b1il +.ra2b1i2z +.ra2b +.ra2bor +.ra2b +.ra2b12 +.ra2b +.ra2gal +.ra2j12 +.rajt2 +.raj2t1r +.r2cs12z +.r1dr +.r1fr +.r1gr +.ri2 +.rn2c1e +.rny2 +.r1spr +.r1s2t +.rt2 +.r1tk +.r1tr +.re1k2re +.ren2d1a2 +.ren2d12 +.re1p2ri +.rep2ro +.re1prod +.rete2k1 +.r2m1emb +.r2mu +.r3p2a +.r2sa +.rs3szer +.r2sza +.r2sz2 +.r2sz1e2le +.r2szell +.r2szer +.r2sz +.r2szo +.r2sz +.r2t1a2 +.r2t12 +.r2v1 +.r2z +.r2zel +.r2zet +.r2zis +.r2z1o +.rz1z +.ri2zso +.rizs3z +.r2m +.ro1c2kos +.rom2 +.ro2m1t +.ro2min +.ro2mis +.ros2t1e2 +.rug1g +.ru2m1a +.ru2mil +.r2de +.s2 +.sa2h1a +.saj2te +.sa2s1or +.sa2vad +.sa2v1ara +.sa2v1l +.sa2vri +.sa2v1e2 +.sa2v12 +.s2r1 +.s2r +.ss1s +.s2s3z +.s2v1a +.s2v +.s2v +.sc2 +.se2bal +.se2b1 +.se2bel +.se2besz +.se2b1o +.s2fi +.s3gr +.si2em +.si2k +.sn3n +.s2p12 +.s2r1a2 +.s2rt +.sk2 +.so2kl +.so2kil +.so2kis +.so2kol +.so2m1ag +.so2mat +.so1ny2 +.so2ral +.so2rl +.sr1e2g +.sp2 +.spor2t12 +.st2 +.star2t1a2 +.sz2 +.szaba2d1e +.sza2k1at +.sza2k1s +.sza2k1e +.sza2k +.sza2k1 +.sz2l12 +.szz1z +.szeg1r. +.sze2g +.sze2i +.sze2m1 +.sze2m1r. +.sze2m12ri +.sze2r1g +.szer2v1a2d +.szer2v1e2v +.sze2sz +.sze2szeg +.sze2sz12 +.sz2fa +.szn1n +.sz2t1 +.szte2 +.szn3n +.szk2 +.szo2l1 +.szksz1 +.sz2szak +.szsz2 +.sz2sz1v +.szt2 +.t2 +.ta2gal +.ta2g1a2r +.ta2g1 +.ta2g1e +.ta2gp +.tag1g +.ta2g1i2n +.ta2g +.ta2nag +.ta2n1as +.ta2nl +.tan1d2 +.ta2n1e2 +.ta2n1v +.tan2ve +.ta2nis +.tan1n +.ta2n12 +.tant2 +.ta2n1u2s +.ta3r +.ta2t1l +.ta2t1rai +.ta2t1e2 +.ta2t1 +.ta2tor +.ta2tur +.t2l12 +.tn2cse +.t2p1ol +.tr2sor +.tr2s12 +.tr2t1es +.tr2t1lt +.t2v1a +.tvi2 +.t2v1ir +.tbc1 +.te2aka +.te2ar +.te2j12 +.te2j1eg +.terape2 +.ter2v1a2 +.ter2v12 +.tes2tk +.tes2t1l +.tetra2 +.teza2 +.t3k +.t2nyem +.t2ny +.t2ra +.t2r +.t2ret +.tr1int +.t2z12 +.t2zs +.tz2 +.to2kro +.tol2le +.topa3u2 +.to2r12l +.to2r1odv +.tor2z3se +.t1st +.t2t1r. +.tn2k1a +.ta2 +.te2 +.t2gya +.t2r1ss +.t2r12sz +.tra2u +.turnus1s +.tus3s +.tu2sz +.tus3z +.t2r1att +.t2z1rt +.t2z12r +.t2zse +.ty2ka +.u2 +.ugrs1s +.un1in +.uni2o +.utas1s +.uts4 +.uto2 +.ut2d1 +.2 +.j1as +.j1e +.r1a2 +.r12 +.r1e +.szs2 +.sz1sp +.t1a2 +.t12 +.t1e2 +.t1ol +.t1 +.t12 +.2 +.gy1r. +.k1a2 +.st2l +.s2t1l +.tksz1 +.ve2g1e2l +.2 +.r1a2 +.r12 +.r1e2 +.r12s +.r1te +.ri2 +.r1ita +.r1ss +.r1s +.rt2 +.v2 +.va2d1al +.va2dr +.va2dt +.va2d1o2r +.va2dv +.va2d1 +.va2d3z +.va2gy1i +.va2j1e +.va2k1ak +.va2kal +.va2k1an +.va2kap +.va2k1r +.va2k1e2 +.va2k1 +.va2rak +.va2r12s +.va2r1e2 +.va2r1ing +.va2sab +.va2sar +.va2s1a2tom +.va2s12g +.va2srk +.va2ss +.va2s1e +.va2sk +.va2s1i2r +.va2sol +.va2s1or +.va2s +.vas3s +.vas1tr +.va2s1 +.va2s3z +.vcs1 +.v2d +.v2d1e +.v2ma +.vr1a2d +.v2r1i2s +.v2r1ol +.vers1s +.ver2s1g +.ver2s1o +.ver2sz +.v2g12k +.v2g1o +.v2nyel +.v2r1a2 +.v2r +.v2r1eb +.v2r1eg +.v2rik +.v2r1o +.v2r +.vr2t1k +.v2ru +.v2sza +.v2sz +.v2szer +.v2sz +.v2szo +.v2sz12 +.vi1g2n +.v2zed +.v2zem +.vona2t1t +.von2z1e2 +.w2 +.x2 +.y2 +.z2 +.za2be +.za2b1i2n +.zai2 +.za2j1e2 +.za2j1 +.za2jut +.z2r1a2d +.z2r1e +.z2r12ra +.zrta2n +.zr2t1any +.zr2t1 +.zr2t12v +.ze2i +.z2t1 +.zs2 +.z2r1 +2a. +a1a +aa2be +aa2c +aa2ch +aa2da +aads1s +aa2dssz +aa2d +aa2du +aa2fo +aa2ga +aa2gi +aa2g +aa2gy +aa2j +aa2ka +aa2k +aa2ko +aa2ku +a2al. +aa2la +aala2g1 +aa2l +aal1eg +aa2l +aalmana2 +aalmanac3 +aa2lo +aal1os +aa2lu +aa2ma +aa2na +aa2ne +aa2ni +aa2no +a2ans +aa2ny +aa2pa +aa2p +aa2po +aa2pu +aa2ra +aa2r +aa2r +aa2ri +a2arl +aa2ro +aa2sz +aa2to +aa2ty +aa2ur +aa2ut +aa2va +a2avo +aa2zo +a1 +a2b +a2cs +a2f +a2ga +a2g +a2g +a2gi +a2go +a2gu +a2gy +a2h +a2ju +a2l. +a2la +a2lo +a2po +a2ra +a2r +a2r1e2 +a2r +a2ri +a2ro +a2ru +a2r +a2sa +a2s +a2so +a2s +a2ta +a2t12 +a2t1e2 +a2t +a2t1i2 +a2t +a2to +a2t1 +a2tu +a2t +a2t +a2z +a2z +2abab +ab1ad +aba2dz +1a2bajg +ab1akk +2abal +2aban +aba2nal +aba1pr +2abar +aba2rat +a2b1a2rb +a2b1au +2abb +ab2b1u2r +2abd +2abn +a2b1p +ab2rak +ab12ron +ab12r +2abz +abb2a +1abbah +2abea +abe2 +a2b1e2b +2abec +ab1ed +2abe +2abef +2abeh +2abei +2abej +ab1ejt +ab1ela +ab1e2l +2abele +abe2lem +2abels +ab1elsz +a2b1elt +ab1elv +2abem +ab1emb +a2b1erd +2abet +2abete +2abet +2abeto +2abet +2abev +a2b1ex +2abk +2abl +2abn +a2b12ne +a2b1p +2abr +a2b1rz +2abt +a2b1ve +ab1fl +ab1fr +2abic +ab1i2do +2abie +ab1i2ke +ab1iks +a2b1i2nai +abi2nb +a2b1ing +2abir +ab1irki +ab1ism +2abit +a2b1i2ta +2abiz +a2b1j +ab1rn +ab1kr +1ablak +1ablakh +1ablakk +1ablakos +1ablakr +2ablo +a1b2l +2abog +2aboh +2abok +2abolt +ab1olt +2abom +abo2rak +abo2r1as +abo2rin +2abot +a2b1b +ab2l +ab1l +ab1lt +a2b1s +a2b1t +a2b12z +ab1rl +ab1pr +ab2rek +2abri +a1b2rike +ab2rin +a1b2rit +2abr +ab2rk +ab1st +a2b1urd +ab1r. +ab1rt +ab2s1 +ab1sz +ab12l +ab1s +ab1v +a2b1z +aca2la +aca2l +aca2l1e2 +aca2lt +a2c1a2n +aca2t +a2c1g +a2c1l +acci2 +ac2c +ac3cse +ac3cs +ac3cs +acc3sz +a2ce. +ac1eb +a2c1eg +ace2l +a2c1ele +a2c1el +a2c1elh +ac1elle +a2c1elm +a2c1elo +a2c1elv +ac1emb +2acen +ace2ta +a2c1e2v +a2c1ex +a2cl +acl1e2 +a2cl +a2c1p +a2c12re +a2c1rte +ac1fr +a2ch +ac3hj +ac3h +a2c3hoz +ac3h +a2c3h +a2c3h +ac1ide +a2c1i2g +a2c1i2g +a2c1ike +2acin. +a2c1ind +ac1inf +a2c1ist +a2c1r +ac1v +ack1aro +ac2kl +ac2k1e2v +ack2r +ac2k1re +ack1te +ac2kil +ac2k1osz +ac2ks +ac2k +ac2lu +a2c1op +ac1s +ac1r +ac1pl +ac1pr +2acsal +acs1alj. +acsa2p12g +a2cs1atk +acs1ll +a2csru +acse2c +acs1egy +ac3seml +1a2csb +a2cs1k +2acsi +2acs +2acson +acs1orm +a2cs1c +acs1s +ac3str +a2csl +a2cs1r +acs2l +a2cst +ac3sz +ac3sze +ac3sz +ac1tr +a2c1ud +2acula +a2c1ut +ac1j +ac1g +ac1r +ac1z +ac3za +ac3z +ac3ze +ac3zs +ac3zu +a2d1a2da +a2d1a2d +1a2dag. +ada2g +1a2dagb +a2dagg +1a2dagh +1adagi +1a2dagj +1a2dagn +1a2dago +1a2dagr +1a2dagt +1adagu +1a2dag +a2d1akt +ada2lap +ada2l1es +1adal +ada2ln +ada2l1osz +ada2l12 +ada2l1t +a2d1ana +a2d1ann +1adapt +2adar +ada2ral +ada2re +ada2r1s +ada2r1in +ada2rut +ada2tab +ada2tal +ada2t1a2n +ada2t1r. +ada2t12rak +ada2t12ram +ada2t12rat +ada2t12r +ada2t1rb +ada2t1rr +ada2t12ru +1a2datu +ada2t1e2g +ada2tel +ada2t1es +adat2r +ada2t1rd +ada2t1r +1a2datin +ada2tint +ada2tis +ada2tv +a2datm +ada2t1old +ada2t1l +ada2t1 +a2datv +ad1azo +a2d1g +adra2 +ad2rak +ad2ris +ad2del +ade2g +ad1ege +ad1eg +ad1egy +ade2i +a2d1ej +adel1ej +ad1elh +ad1elm +ad1eln +a2d1e2l +ad1elr +ad1elt +a2d1emb +ad1e2m +a2d1eml +a2d1emu +ad1eng +ad1e2pe +ad1epr +a2derd +ad1er +ade2ti +a2deu +a2d1e2v +a2d1ex +ad2kat +ad2k1e2 +ad2ks +ad2kis +ad2k +ad2k +ad1le +2admont +a2d1p +a2d1rz +ad2s +ad2te +a2d12ve +ad1fl +adfo2k1t +ad1gr +1adh +2adia +adia2n +ad1i2bo +2adid +adi2kut +2adin +ad1i2na. +ad1i2nai +ad1ind +a2d1ing +adi2o1g2ra +2adip +2adis +2adiv +a2d12z +ad2ji +adka2na +ad1kr +2adob +2adoc +a2d1okke +2adol +ad1ola +1a2dom +2adomb +2adomi +1a2dop +a2d1orc +a2d1org +2adorh +2adorian +2adorig +ad1orv +a2d1orz +a2d1osz +a2dgu +1a2dku +a2dm +a2dr +1a2dsat +2adsi. +ad12vs +1a2dz +a2d12k +a2d12l +ad1rd +a2d1s +adr1a +ad2rel +ad12s +ad1pl +ad1pr +a1d2rac +ad2ram +ad2raz +2adr +ad2rm +2adro +ad2rog +a1d2rt +ad2ruk +ad1sp +ad1st +2adug +2adum +2adup +ad1u2r +ad1sz +ad2t +a2d1to +a2d1g +ad12l +a2d1t +ad1z +a2d1r +ad1z +ad1yh +ad1yr +ad1yt +ad3zab +ad3zav +ad3zr +ad3zel +ad3zn +a2d3z +ad3zs +a1e +ae2b +ae2ce +ae2cs +ae2d +ae2dz +ae2ge +ae2g +ae2gy +ae2he +ae2ke +ae2k +ae2la +ae2l12 +ae2le +ael1ej +ae3len +ael1rh +ae2l12 +ae2lo +ae2l12 +ae2l +ae2lu +ae2me +ae2m +ae2mi +ae2mu +ae2ne +ae2pe +ae2p +ae2pi +ae2po +ae2red +ae2r +aero1s +ae2r +ae2r +ae2se +aes1er +ae2s +ae2si +ae2s +ae2s +ae2sz +ae2ta +ae2t +ae2te +ae2ti +ae2t +ae2va +ae2ve +ae2v +ae2vi +ae2vo +ae2v +ae2xe +ae2z +a1 +a2derv +a2ge +a2g +a2g +a2he +a2je +a2ke +a2k +a2le +a2l +a2li +a2l +a2l +a2l +a2ne +a2p +a2p +arde2m1 +a2ri +a2te +a2va +a2ve +a2v +a2vi +a2v +2afa. +2afaj. +2afaja +2afaj +2afajb +2afa2j1e2 +2afajj +2afajn +2afajo +2afajt. +2afaju +2afajz +2afak +2afal +2afam +2afao +2afar +2afas +afe2l1e2m +2afk +2afli +2afl +2aflt +2afn +2afr +2afs +1aff +afi2ap +afi2asz +afi2ke +afi2t1a2 +afi2t1e2 +af2le +a1f2lo +a1f2l +a1f2l +a1f2lu +2afoc +2afog +2afok +2afol +2afon +2aford +2aforg +2aformc +2aforml +2aformtu +2aformz +2aformu +2aforr +2afos +2afot +af2rak +2a1f2re +af2riz +af2r +2afro +af2ron +2a1f2r +af3t +afus3s +a2g1abl +ag1abr +ag1a2c +ag1aga +a2g1a2ka +a2g1akk +a2g1akt +2agal +a2g1a2lak +a2g1a2lap +a2g1a2l +a2g1alj +a2g1alm +aga2lom +a2g1alt +ag1ang +ag1a2no +ag1ant +a2gany +a2gap +ag1apa +ag1ap +a2g1arc +a2g1ar +a2g1a2ro +a2g1art +aga2tom +ag1a2t +a2g1a2ur +ag1aut +a2g1ava +2agaz +ag1a2zon +ag2c +a2g1cs. +a2g1csi +ag12ga +1a2gk +a3gla +a2g1lm +ag2lyan +a2g1p +a2gr. +a2g1rad +a2g12rai +a2g12rak +a2g1ras +a2g1rat +a2g2r +a2grb +a2g1rc +a2gre +a2gr +ag2rv +a2grf +a2grh +a2g2ri +a2grj +a2grk +a2grm +a2grn +ag1rn +a2gro +a2grr +a2grs +a2grt +a2g12ru +a2g12r +ag1sv +a2g1t +a2g12t1e2 +ag1tfe +a2g1th +a2g1tk +a2g1tm +ag2tol +a2g1ts +ag1t +a2g1tv +ag1bl +ag2del +agd2j1a2da +a2ge. +ag1e2cs +a2g1e2d +a2g1e2g +age2l +a2g1ela +ag1elb +ag1eld +ag1ele +ag1el +ag1elf +ag1elh +ag1eli +ag1elm +ag1eln +a2g1elo +a2g1el +ag1elr +ag1els +ag1elt +ag1el +ag1elv +ag1elz +a2g1e2m +ag1eng +a2g1eny +a2g1e2p +a2g1erd +age2red +a2g1erk +a2g1er +age2s +a2g1e2v +a2g1ex +a2g1ez +a2g12j +a2g1k. +a2g1kn +a2g12l +ag2n +ag2p1i2p +a2g12pl +a2g1r. +a2g12re +a2g12r +a2g1rh +a2g12ri +a2g1rk +ag1rl +ag1rm +ag1rte +ag1rt +ag1rth +a2g1rt +ag1sz +a2g1te +a2g1ve +ag1fl +ag1fr +1agg. +ag2g1a2ty +ag2g1em +ag2git +1aggl +1aggod +1aggok +ag3gyar +ag3gye +ag3gyi +ag3gyo +ag3gy +agi3a +ag1ide +a2g1i2ga +a2g1ige +a2g1ig +ag1ike +a2gill +ag1inf +a2g1ing +a2g1int +a2g1i2oni +agi2 +a2g1ip +ag1iro +a2g1ist +agi2sz +a2gita +ag1iz +ag1izm +a2g1j +ag1n +a2g1r +ag1v +a2g1z +agk2rok +ag1kl +ag1kr +ag2ne. +a1g2non +a2g1ob +ag1olt +ago2ly1a2 +2agom +2agona +agon3n +ago2n1osz +a2g1op +a2g1org +ag1orj +a2g1orn +a2g1orr +a2g1ors +a2g1orv +a2g1otth +ag2ri +a2g12l +ag1nk +ag1nt +a2g1r +ag1rv +a2g1s +a2g1t +a2g12v +a2g12z +a2g1r +a2g12s +ag1pl +ag1pr +2agrammj +a1g2rav +2agr +a1g2rf +ag1sk +ag1sp +ag1sr +ag1st +agsz2 +ag1szt +ag1tr +a2g1und +a2guram +agu2rat +ag1u2r +ag1urn +ag1u2t +a2g1j +ag1ta +a2g1ti +ag1tt +a2g12l +a2g1r +a2g1s +a2g1t +a2g1v +a2g1z +ag1r +ag1z +a2gy1a2c +a2gyad +agy1a2d +agy1a2gya +a2gyaj +1a2gyak. +a2gyakb +agya2la +agy1alap +agy1alg +a2gyalj +agy1alko +agy1alm +1a2gyam +agy1ana +a2gy1any +a2gy1apa +agy1apja +agy1apj +a2gy1a2p +a2gy1apr +agya2sz +a2gy1asz +a2gyl +agy1rv +a2gy1e2c +agy1e2g +a2gy1el +agy1em +agy1est +agy1esz +a2gyev +a2gy1ez +agy1k. +agy1ke +agy1kk +agy1r. +a2gy12re +agy1rn +agy1rr +agy1rs +a2gyima +agy2ny +agyo2r +a2gy1oro +a2gyorr +a2gy12l +a2gy12r +agyu2r +agy1ur +1a2gy. +1a2gya +a2gyn +agy1r. +agy12sz +a2gyt +2agy +aha2l1e +aha2sbr +ahely2k +ahert2 +aher1tze +ah2j1t +ahitkz1 +ah1o2vi +ah2sr +ahs3s +a1i +ai2bo +2ai2de +ai2dom +2ai2d +a2ik +ai2ga +ai2g +ai2ge +ai2g +ai2gy +ai2ia +ai2ib +ai2ih +ai2ij +ai2in +ai2ir +ai2it +ai2je +aika2 +ai2kab +ai2k1ad +ai2k1al +ai2k1ar +ai2k1as +ai2k1 +ai2ke2 +aik1el +aiki2 +ai2kik +ai2kis +ai2k1ol +ai2k1osz +ai2k +ai2k +a2ilb +a2ile +2aill +ail2le. +ail2lo +ai2ma. +2ai2m +2aimi +ai2mit +2aimp +ai2na. +ai2na2l +ain1ala +2ai2nas +ain2 +ai2n1lo +ai2nr +2aind +ai2ne +ai2nl +2ainf +2aing +ai2n1in +ai2nol +2ainp +2ains +2aint +ai2n +ai2onb +ai2onn +ai2ono +ai2onr +ai2ont +ai2pa +a2ir. +ai2ram +2ai2rat +2ai2r +ai2re. +ai2r +ai2ri +2airo +ai2rod +a2i2se +ai2si +2aisk +2aism +2aist +2aisz +ai2sza +ai2szo +2ai2ta +ai2vad +ai2var +ai2vs +2ai2v +ai2z +ai2zom +a1 +a2g +a2ja +a2j +a2ju +a2ra +a2r +a2ro +a2r +a2ru +a2t +a2v +a2ve +a2v +a2vi +a2v +a2v +a2v +a2ze +a2z +a2z +a2z +a2j1a2d +a2j1adu +aj1aga +aj1agr +aja2kol +a2j1ak +aja2k +a2j1ana +a2j1ant +a2j1any +aj1apr +a2j1a +aj2c +aj12go +1a2jnd +1ajnl +a2j1p +2ajr +a2j1rb +a2j1rc +a2j1re +a2j1r +a2j1rr +aj1s +aj1sv +a2j12t1e2 +aj2z +aj1z +aj1bl +aj1br +aj2d1alm +aj2d1a2lom. +aj2d1a2lomm +aj2d1a2lomn +aj2d1a2lomr +aj2d1a2lomt +a2j1e2c +a2j1ef +a2j1eg +a2j1ela +aje2leme +a2j1elf +aj1ell +a2j1elo +aj1el +aj1elv +aj1elvo +a2j1e2m +aj1ene +aj1enz +a2j1e2r +aj1e2se +a2j1ex +a2j1ez +a2j1ge +a2j1g +aj1g +a2j12k +a2j1l +a2j1p +aj2r +a2j1re +a2j1te +aj1fl +aj1fr +aj1g2r +a2j1i2d +a2j1ij +a2j1ik +a2j1im +a2j1int +a2j1io +a2j1ip +a2j1iz +aj1r +aj1z +aj1kl +1ajk. +ajobb1o +ajo2g12sza +a2j1ola +aj1old +a2j1o2v +a2j1csks +aj2sr +aj1b +a2j1k +a2j1r +a2j1z +aj1r +aj12s +aj1pl +aj1pr +aj1sh +aj1sk +aj1sp +aj2tg +aj2teg +aj2t12t +ajt1org +aju2hi +a2j1j +aj1sz +a2j1to +a2j1tr +aj1g +aj1l +aj1s +aj1z +aj1z +ajz1aka +ajz1atl +aj2zer +aj2z +aj2z +2akab +aka2cse +a2kadag +a2k1a2data +a2k1a2datb +a2k1a2datn +a2k1a2dato +a2k1a2datr +a2k1a2datt +1akadl +1a2kadm +a2k1adm +a2k1aga +2akal +ak1a2lag +a2k1a2lak +aka2lap +a2k1aleg +ak1alko +2akam +2akan +2akao +2akap +aka2pd +ak1app +ak1a2rai +ak1arasz +a2k1a2rb +a2k1a2rk +2akarc +a2karch +2akard +ak1a2rn +2akari +2akarr +2akas +2akast +aka2szaj +ak1a2szat +aka2szel +aka2sz +a2k1asztr +2akata +aka2tab +2akate +aka2tel +aka2ter +akati2 +aka2tik +aka2tim +aka2tin +2akau +a2k1aut +2akav +2akaz +1akc. +a2k1f +a2k1g +ak2l1a +ak2lis +a2k1ll +ak1rad +a2k1rb +a2k1rj +a2krk +ak2rokn +a2k1rt +a2k12ru +ak2sad +ak2saj +ak2sal +ak2sar +ak2sav +ak2sst +aks3s +ak12szn +ak2szu +a2k1szun +akt1a +a2k1tla +ak1bl +akci2s12 +a2ke. +ake2cs +a2k1e2dz +ak1e2ge +ak1e2g +a2k1ela +a2k1el +ake2lem +ak1elh +a2k1elj +a2k1elo +ake2lk +a2k1elr +a2k1elv +a2k1emb +ak1e2mel +a2kerd +ak1e2rei +a2k1e2r +a2k1e2r +a2kesp +a2k1est +ak1eszk +ak1eszm +a2k1e2te +ak1e2ti +a2k1e2vez +ak12kem +ak12kes +a2k12k +a2k1kh +ak1kr +2akm +2akny +2akp. +2akpb +2akpe +2akp +2akph +2akpk +2akpl +2akpn +2akppel +2akpp +2akpr +2akpt +2akp +2akpz +a2k1rc +2akrd +a2krdek +2akre +2akr +a2k1rm +2akr +a2k12ri +a2k12rj +a2k1rr +a2krteke +a2k1rtel +a2k1rtet +a2k1rt +2akrv +a2k1rz +2aks +a2k1sza +a2k12te +2akts +a2k1tt +2akz +ak1fl +ak1fr +akgerinc1 +ak1gr +2akia +2akib +2akic +2akid +a2k1i2d +ak1idi +2akie2 +2aki +2akif +ak1iga +a2k1ig +2akigy +2akih +2aki +2akij +2akil +a2k1ill +ak1ily +2akim +a2k1i2m +a2k1imi +2akin +ak1ind +a2k1ing +a2k1ins +a2k1ion +2akir +aki2rom +2akis +a2k1isi +a2k1isk +ak1ism +a2k1ist +2akit +2akiv +2akiz +a2k1izm +a2kt +a2k12z +ak2k1a2d +ak2kaj +ak2k1a2la +akk1alk +ak2k1arc +ak2kl +ak2k12p +ak2k1ed +akk1ell +ak2kelm +akk1elt +ak2kem +ak2k1er +akke2s +akk1ese +ak2ket +ak2kola +1akkord +akk1lt +ak2k1s +ak2kr +1akku. +1akkum +ak2lau +ak2lav +ak2lor +ak2ln +ak2lr +1aknai +1aknb +1aknh +1akni +1aknka +1aknko +1akns +1aknt. +1aknv +1aknz +2akoa +ak1obj +2akoc +2akof +2akokt +akols3s +a2k1olda +a2k1o2ly +2akom +2akonc +2akond +2akonf +2akong +2akonk +2akons +2akont +2akonv +2akony +2akonz +2akoo +2akop +a2k1o2pe +ak1o2rat +2akorb +2akord +a2k1org +2akori +a2k1orj +2akorl +2akorm +2akoro +2akorp +2akorr +2akors +2akort +2akoru +2akor +a2k1orv +2akos +2akni +2ak1p2 +a2k12r +ak12rd +1a2kz +ak1ssz +ak2z12l +akzrea3 +ak1r. +ak1s. +ak1pl +ak1pr +ak1ps +akrdi2 +ak2rt +2akre +ak2rea +2akr +a1k2rme +ak2rta +ak2rt +2akri +a1k2rit +2akr +ak2rz +1akrob +2akrnik +ak1sp +ak1sz2t +ak2t1au +aktr2s1a2d +1akti. +ak2tim +1aktvb +akt2ve +ak2t1ve. +1aktvk +1aktvo +1aktvs +1aktvt +akto2r1l +akt1osz +ak1tr +1aktua +1akt. +a2k1udv +a2k1ujj +2akun +1akupu +a2k1g +a2k1j +a2k1rr +a2k1g +a2k12le +a2k12l +a2k1ln +a2k12t +a2k12v +ak1ya +a2l1abl +alac1c +alace2 +alaci2 +ala2cit +ala2cor +a2lacs +ala2c3s +ala2cs +a2ladag +a2l1a2dat +ala2gl +ala2g1e +ala2gp +ala2gol +ala2gya +ala2j1a2d +ala2jas +ala2j1e2 +a2lakad +ala2k1an +a2l1a2kas +ala2kl +ala2k1p +ala2kes +1a2lak +a2l1akna. +a2laknk +a2laknt +ala2kol +a2l1a2kd +ala2k1l +a2l1aktu +1alaku +a2lakul. +a2lakult +al1alg +a2l1alj +a2l1alk +al1all +al1alm +al1a2lo +al1alt +ala2n1e +1a2lanny +a2lany +ala2nyal +ala2ny1e2 +ala2p1a2d +ala2pak +ala2pal +a2lapan +ala2p12r +ala2p1e2 +ala2pill +ala2pin +ala2pir +1a2laptv +ala2p1ol +ala2por +ala2p1osz +alap12 +alap1p +al1a2ra +al1a2r +al1arg +ala1s2p +a2l1aszp +alaszta2l +alat1any +alatt1a2 +ala2t1e2v +ala2t1inf +ala2tv +ala2t1ol +alat2 +ala2tr +a2l1attak +1a2latti +ala2t12 +al1ava +ala2zr +1a2la +1a2l +alba2d +al2b1ada +al1br +1a2lbj +al2dal +al2d1ap +1a2lf +a2l1g. +a2lga +al12g +al1gb +a2l1gg +al1gh +al12gi +al1gk +al1gn +al12go +a2l1gr +al1gt +al12g +al1gya +1a2l +1a2lmo +a2l1rad +a2lrak +a2lr +al2rr +a2l1rk +alste2 +als2tel +als2t1r. +a2l1td +a2lte +a2lt +al1tp +a2l1tf +al2ti +a2l1tl +a2l1tm +a2lt +a2ltr +a2lt +al1bl +al1br +1album +al1d2r +a2le. +2alea +2aleb +al1eb +2alec +al1ece +ale2g1e2l +al1egs +alegsz1 +al1egys +a2legy +2aleh +2ale2 +2alej +ale2k1a +a2l1ela +a2l1elg +a2l1eld +al1e2led +ale2lem. +ale2lemb +ale2leme +ale2lemk +ale2lemm +ale2lemt +a2l1elg +a2l1elh +al1elm +a2l1eln +ale2lk +ale2lt +a2l1elr +a2l1els +al1elt +a2l1elv +2alem +a2l1emb +a2l1e2mel +al1e2m +a2l1eml +2alen +a2l1ene +2alep +ale2pe. +a2lerd +a2l1e2re +a2l1erk +a2l1ern +2ales +al1esem +a2lesi +ale2sik +ale2tet +alet2t1est +ale2 +2alev +ale2vol +ale2vi +2alex +a2l1exp +2alc +2alg +al1g +al2kal +al2k1an +al2kat +al2k1em +al2ker +al2kes +al2kor +a2ll. +al12len +a2l12let +a2l1l +a2l1ll +al12l +a2l1l +2aln +a2lneke +a2l1rd +al1rs +a2l1rte +a2l1rt +a2l1rt +a2l1rz +2alt +al2tek +a2l12tel +al1tl +a2l1vi +1alfs +1algsat +1algor +al1gr +2alic +al1ide +a2lid +al1i2do +al1ifj +a2l1ig +2alik +al1ill +2alim +a2l1i2m +a2linas +ali2nin +ali2ra +al1i2pa +a2l1ir +a2l1iro +a2l1i2si +a2lism +ali1s2po +al1iste +2alite +al1izma +al1j +a2l12v +alja2ik +1aljaka +1aljakb +1aljak +1aljakk +1aljako +1aljas +1alji +alj1rna +al2j12ro +1aljb +1aljc +1aljd +1aljer +1aljf +1aljg +1aljh +1aljia +al2j +1aljj +1aljk +1aljl +1aljm +1aljn +1aljr +1aljs +1aljt +1alj +1al2j +1aljv +1aljz +al2k1a2p +alkele2 +1alkm +1alkoh +1alkot +1alkotm +1alkot +al1kre +al1kro +1alku. +1alkud +1alkun +al2l1aj +al2l1akt +al2l1akv +alla2l +al2l1ala +al2lalk +al2lau +all1ll +all1zs +al2led +all1egy +all1emb +1allerg +all1ese +all1est +all1e2v +all12j +al2l1id +al2lim +all1int +al2lip +al2l1isk +al2l +all1ri +al2ls +al2l12 +al2l +1all +1almd +2alob +al1obe +alogos1s +alo2g12 +a2l1okta +al2old. +aloma2 +alo2mad +alo2mak +alo2m1al +alo2m1an +alo2map +alo2mar +alo2mas +alo2mc +alo2mr +alo2m1t +alo2mer +alo2min +alo2mis +alo2mit +alom1p2 +alo2m1 +alo2n1 +alon1d2 +alon3n +2alop +al1opc +a2l1ope +al1o2ra +al1orc +al1orn +al1o2ro +a2l1orr +alos3s +a2l1ost +a2l1oszl +2alov +al2c3se +3alguses +aligaz1 +ali2ko +al12lo +al1nn +al2 +al2rj +al2rk +al2zan +al2zis +a2l1b +a2l12l +a2l1n +a2l1r +a2l1s +a2l12z +alpe2l +alp1ele +al2piz +al1sh +al1sk +al1sl +al1sm +al1sp +alsz2 +al1szt +al2tada +al2t1alap +alt1anya +alt1elv +alt1emb +al2t1e2p +al2t1e2v +al2t12k +alt2n +alt1ne +alt1rne +al2t12r +al2t1rr +alt1rt +al2t1i2m +alti2n +alt1ina +alti2p +alt1ipa +al2t1ir +al2t1old +1altonk +al2t1osz +al2tc +al2tn +al1trak +al1tran +al1trav +al2tur +al2t1t +al2tr +1altv +al1ty +alu1p +1a2luss +alu1str +a2l1j +al1r. +al1rb +al1rh +al1ri +al1rk +al1rn +al1rr +a2l1t +a2l1th +a2l1tj +a2l1tn +a2l1tt +al1g +al1l +al1n +al1r +al1s +al1t +al1v +a2l1z +al1r +al1z +1alveo +1alv +a2ly1ap +a2lyar +a2lyl +a2ly1e2 +a2lyv +a2ly1id +a2lyim +a2lyis +a2ly +a2lyug +a2ly12 +am1abb +am1abl +2amad +a2m1a2dat +ama2ds +am1adm +a2m1a2d +a2m1a2du +2amag +ama2gt +2amaj +am1ajt +ama2kar +a2m1akt +am1akv +a2m1a2lak +am1a2lap +a2m1a2l1e +ama2nya +ama2 +2amap +2amas +ama2sz1a2k +ama2szeg +ama2sz1em +ama2szl +ama2sz +ama2tad +amata2n +ama2tr +ama2tel +am2ati +ama2told +ama2t1osz +ama2t12 +a2m1a2u +a2m1lm +a2m12rai +a2m12rak +am2r +amt1a2d. +a2m1tk +a2m1tl +a2m1tt +am2b1ag +am2bal +am2b1at +am2b1sz +am2b1e2g +am2b1e2le +am2bep +am2b1e2te +am2b1r. +1ambula +am1dr +a2me. +am1e2ce +2ameg +am1el +am1e2lem +a2m1e2l1i +am1elj +am1elk +a2m1eln +a2m1elo +a2m1e2l +a2m1els +a2m1elt +a2m1elv +a2m1e2me +a2m1eng +2amenn +amens1s +amen2t12ro +a2m1erd +a2m1e2r +a2mesk +2amest +a2m1e2v +a2m1ex +am1ezr +am2hes +am2k +am1k +am2let +a2m1p +a2m1rd +a2m1rtek +a2mrtel +a2m1tk +a2m1v +1amfor +am1fr +am1gr +amid1i2 +ami2g +a2m1iga +a2m1ig +a2m1ig +a2mim +am1imi +am1imp +ami2na. +ami2nan +ami2nin +a2m1int +ami2 +a2m1ir +a2m1iro +amise2 +ami2sel +ami2sep +ami2sz +1amitbo +1a2mitha +1a2mitm +1a2mit +1amitro +1amitr +1a2mits +1a2mitt +1a2mitt +a2mg +am1kl +am1kr +amme2g +am2m1egy +am2meta +am2m12t +2amod +a2m1oke +a2m1okm +a2m1o2koz +am1ola +a2m1old +a2m1olt +a2m1op +a2m1ors +1a2mort +a2m1orv +2amos +amos3s +2amot +2amoz +am12ri +am12r +am1s +am1t +am12z +am12r +am1s +am1pla +am1p2r +1amput +am1sk +am1sp +am1sr +am1st +am1t2r +2amun +a2muni +amu2riz +amu1sl +a2m1u2tas +a2m1j +am1g +am12l +am1t +am1z +2anad +a2n1a2dat +a2n1adu +a2n1aga +a2n1ag +an1a2gya +a2n1ah +2anai +1a2nakr +ana2lap +1anal +an1alk +an1alm +1a2nal +an1a2mo +a2n1ana +1a2nan +an1ann +an1a2ny +2anap +ana2pa2 +an1apa. +a2n1ap +a2n1a2p +an1appo +an1a2rab +an1a2r +a2narc +an1arr +ana2sz1e2 +ana2szn +ana2szin +ana2sz12 +ana2sz +ana2sz +ana2t1e +ana2t +2anav +a2n1a2va +a2n1az +a2n1g +a2n1lmi +a2n12lom +a2n12p +a2nsat +2ant +a2n1ta +a2n1tk +a2n1tr +an1br +anca3u +an2c1l +ance2 +an2ce. +an2c1r. +an2c3hit +an2cho +anci2al +an2c12 +an2csaj +an2csar +ancs1ell +ancs1emb +an2cs1en +ancs1e2p +ancs1et +an2csr +an2cs1ill +an2csiz +an2cs12z +an2cs1or +an2cs +ancs2 +ancs1t +an2csut +an2cs1 +an2d1alk +anda1s +and1atl +and1e2le +and1elk +an2d1el +and1els +an2derd +an2d1es +1andez +an2dl +an2dil +an2d1 +an2d12 +an2ds +an2dn +an2d +an1dy +an2dz +a2n1eb +an1edd +an1e2g +1a2nekd +ane2la +ane2l1 +ane2l1e2l +ane2l1emb +ane2ll +ane2l +2anem +an1emu +an1e2re +an1ern +an1err +2aneu +2anev +a2n1ex +ane2z +an1ez. +a2n1eze +an1ez +an1ezt +an1ezz +a2n12k +a2n1le +an1p +a2n1ri +a2n1rv +a2n1tk +a2n1tt +a2n1vc +an1vem +an1ves +an1vet +an2vb +an2vn +an2vt +an2vv +an1vha +an2vig +an1vke +an1vk +a2n1v +a2nvz +anf2l12v +an1fl +an1f2r +anga2d +an2g1ada +an2g1ado +an2g1ala +an2g1a2ra +an2g1ass +ang1azo +an2g1c +an2g1ll +angr1a2d +ang1ta +an2g1tj +an2g1tt +an2g1ed +an2g1eg +an2g1elf +an2g1elh +an2g1elj +an2g1ell +an2g1eln +an2g1el +an2g1elt +an2g1elv +an2gem +ang1emb +ang1eng +an2g1e2r +ang1ese +ang1le +ang1lv +an2g12ne +an2g1r. +ang1r +an2g1s +an2gim +an2giz +an2g +an2g1osz +an2g1ri +an2g1l +an2g1s +an2g12 +ang1sz +an2g +an2g +angye2 +angy1el +an2gyk +an1ide +ani2g +a2n1iga +a2n1ig +a2n1i2ko +an1ind +a2n1inf +an1i2on +2anip +a2n1i2pa +an1i2r +a2n1iro +a2n1isi +a2n1isk +a2n1ism +a2nita +an1itt +a2n1g +a2n1j +2anv +a2n1z +ank1abl +an2kaj +an2k1a2k +ank1ale +an2k1a2n +ank1arc +ank1ari +an2k1atl +an2k1au +an2kaz +an2k1l +an2k1e2g +an2k1ek +an2k1e2l +an2k1e2m +an2k1e2reit +an2k1erj +an2k1es +ank1rde +ank1rem +an2krte +an2k1rt +an2k1i2d +an2k1i2p +an1klu +an2k1old +ank1oszt +an2k12rmb +an2ks +an2k12v +an2kr +ank1t2 +an2k1 +an2ne. +an3ny. +an3nye +an3nyo +a2n1oj +a2n1okta +a2n1old +1a2nom +2anor +a2n1o2ro +a2n1orr +a2n1ors +2anos +a2n1ott +a2ndd +a2ndo +an1g2 +a2n1ni +a2n1no +a2n12r +an1ri +a2n1l +a2n1n +a2n1r +a2n1s +a2n12t +an1pl +an1pr +an2s1e2l +an1ska +an2s +an1s2p +ans3sze +an1sta +an2szal +an2sz12b +an2sz12h +an2szr +ansz1es +an2szl +an2sz1n +an2sz12p +an2szil +an2szin +an2sz +ansz1t2 +ansz12l +an2t1abl +ant1aga +an2t1eg +1anten +an2t1e2se +ant1esz +anti1llt +an2t1ing +an1t2re +a2n1ud +a2n1ug +a2n1uj +2anuk +a2n1u2r +anu2szi +a2n1u2t +a2n1g +an12g +an12l +an12z +an1r +an1z +any1a2d +anyag1r. +anyag1rr +1anyagb +1a2nyag +anyag1g +1anyagh +1anyagk +1anyagm +1anyagr +1anyagt +1anyag +a2nyakad +a2ny1a2kas +a2ny1alk +a2ny1all +a2ny1ass +any1aszt +a2ny1a2tom +a2nyaz +1anydt +1anyk +any1lo +a2ny1r +a2ny1rb +a2ny1rf +any1rk +a2ny1rn +a2ny12ro +a2ny1rr +any12sz +any1d +2anye +a2ny1e2c +a2ny1ed +a2nyeg +any1eg +any1egy +a2ny1e2k +a2nyela +anye2leme +any1elev +a2ny1ell +a2ny1elo +a2ny1em +a2ny1en +any1e2re. +any1e2rei +any1e2ret +any1e2rn +any1e2rr +any1e2rt +any1e2rv +any1e2rm +any1e2rr +any1e2rt +a2ny1g +a2nyhe +a2ny12j +a2ny1k +any1lv +a2ny1r. +a2ny1rb +a2ny1rc +a2ny1rd +a2ny1re +a2ny1rg +a2ny1rh +a2ny12ri +a2ny1rk +a2ny1rm +a2ny1rn +a2nyr +a2ny1rp +a2ny1rr +a2ny1rs +a2ny1rte +a2nyrt +a2ny1rt +a2ny1rv +a2nyve +a2nyv +anyha2j1n +anyha2j12r +2anyi +anyigaz1 +any1ing +a2ny1io +2any +2anyo +any1old +a2ny1o2r +any1r +any1k +any12r +any1z +a2ny12 +any1s +anyt2 +any1tr +a2nyur +2any +2any +any1l +a1o +ao2z +ao2be +ao2cs +ao2da +ao2d +ao2ka +ao2k +ao2la +aolaja2d +aola2j1ada +ao2mo +ao2p +ao2pe +ao2ra +ao2ro +ao2so +ao2ut +ao2ve +ao2vi +ao2xi +a1 +a2r +a2bar +a2b +a2bi +a2bo +a2ce +a2d +a2di +a2f +a2fe +a2fo +a2f +a2f +a2h +a2hi +a2h +a2il +a2is +a2i2v +a2k +a2ke +a1kr +a2ku +a2la +a2le +a2l +a2li +a2lo +a2lu +a2mag +a2mar +a2mas +a2me +a2mi +a2mo +a2n +a2n +a2n +a2r +a2r +a2ri +a2s +a2s +a2ta +a2te +a2t +a2vo +a2v +a1 +a2b +a2cs +a2d +a2ko +a2k +a2le +a2l +a2l +a2n +a2r +a2ve +a2vi +a2v +a2z +a1 +a2re +a2r +a2ri +a2r +a2r +a2se +a2s +a2sz +apa2cs1a2v +apa2cs1i +a2p1a2da +a2p1aga +a2p1aj +a2p1akc +2apal +apa2lag +apa2lak +a2p1alb +a2p1alj +a2p1alt +apa2mas +a2p1ant +2apap +apa2pn +ap1a2rn +1apas +a2p1asp +apa2tad +apa2t1ala +apata2n +apa2t1as +apa2tl +apa2t1 +ap1aut +2apav +a2pava +ap1a2zo +a2pj +ap1llap +a2p1ll +a2p1llo +apn1n +a2p12rad +ap12rai +a2p12rak +ap12ram +ap12ras +ap12rat +ap2r +ap2rh +ap2rn +ap2rr +ap2rv +aprba2 +a2p1re +a2p12r +a2p1rf +ap1rka +ap1rko +a2p1rny +ap1rt +a2p1ru +a2p12r +apsk2 +ap2tr +1a2pu +ap1bl +ap1dr +a2pe. +ap1e2d +a2p1e2g +ap1e2l1a +ap1elb +ap1e2l +a2p1elf +ap1elg +a2p1elh +ap1elj +ap1elk +a2pell +ap1elm +ap1eln +ap1elo +ap1e2l +ap1elr +a2p1elt +a2p1elv +ape2m +ap1emb +ap1eme +ap1ene +ap1eni +ap1e2ny +ap1e2r +ape2s +ap1ese +ap1es +ap1es +a2p1e2v +a2p1ex +a2p12he +a2p1je +a2p12le +a2p1ll +ap1lm +a2p12ne +ap1p +a2p1r. +ap1szl +a2p1te +a2p1ve +ap1fl +ap1f2r +ap1gr +a2p1ide +a2pid +apigaz1 +ap1i2ko +ap1ikr +a2p1i2nr +ap1ind +ap1inj +a2p1ins +ap1i2rat +a2p1i2r +a2p1irk +a2p1ism +a2p1g +a2p1n +a2pt +ap1v +a2p1z +ap1kl +ap1kr +ap1kv +ap2laz +ap2ld +apmeg1 +apm1 +apmt2 +a2p1ob +ap1o2laj +ap1oltr +ap1opc +ap1ope +ap1opt +apo2rad +ap1orc +ap1ors +apor2t12 +apo2t1l +a2p1ov +1a2pk +ap1lo +ap1ri +a2p1b +ap1l +ap1n +ap1rv +a2p1s +ap1v +a2p12z +ap12r +1appar +ap2p1rn +ap1ph +app1ing +ap1pla +ap1pri +ap1pr +ap1p2s +ap1py +ap2res +ap2rd +a1p2rm +ap2rs. +a1p2rm +2apro +ap2roc +a1p2rod +1aprd +1aprz +ap2s1i2kon +ap2sz +aps1ork +apsz1ert +ap1szf +apsz2t +aptra2d +apt2r1ada +ap1t2r +apu2 +a2p1udv +apu1p2 +apus3s +a2p1u2tas +a2p1utn +a2putc +a2p1j +a2p1d +a2p1g +a2p12l +a2p1n +a2p1t +a2p1v +a2p1z +ap1r +ap1wh +ara2b1r +ara2b12 +ar1abla +2arad +ar1a2data +ar1a2dato +ar1a2datr +2arag +ara2g1e +2araj +ar1ajkr +2arak +a2r1a2kol +ara2kh +ara2ki +ara2ks +ara2kt +a2r1akt. +ar1alk +a2r1alm +a2r1ana +1a2rann +arany1a2g +ara2nyal +1aranyb +1aranyh +ara2ny +1aranyk +1aranyn +1aranyr +1aranys +ara2pa. +ar1arc +1arasz. +arasz2t1e +ar1asz +ara2tal +ara2tel +ara2tin +ara2t12 +arat2 +ara2tr +ar1aul +aravasz1 +1a2raw +ara2zon +2arc +a2r1c. +a2r12csi +a2rcsom +a2r1g. +a2r12ga. +a2r12gai +a2r12gak +a2rgan +a2r12gat +ar2gb +ar2gh +ar2gn +ar2gr +ar2gt +ar2gv +a2r1gb +a2r1ge +a2r12g +a2r1gf +a2r1gg +a2r1gh +a2r12gi +a2r1gk +a2r1gl +ar2gon +a2r1gr +a2r1gs +a2r1gt +a2r12guk +a2r12gun +a2r12g +a2r12gy +ar1lc +a2r1ll +a2r1llo +2arm +ar2m1e2 +ar2nye +a2r12rak +a2r12r +a2r1rk +a2r1rr +ar12ru +ar1r +ar1rv +ar2sze +a2r12szoki +ar2tal +ar2t1 +ar2zsl +arzsi2 +arzs3z +ar2c1a2d +arc1agy +arc1ala +arca2n +arc1any +ar2car +ar2cat +ar2ceg +ar2c1es +ar2cev +ar2c12h +arc1l. +arc1lb +arc1ll +arc1lt +ar2c12n +ar2cs +1arch +arc1ing +ar2c1int +ar2ciz +arcols1s +ar2c +ar2c +arcs1ala +ar2csl +arc3sere +ar2csip +ar2c3sor +ar2c +ar2c +ard1ac +ar2d1alj +ar2d1ll +arde2l +ard1ele +ard1el +ard1elt +ar2d1e2m +ar2d12l +ar2d1ina +ar2d1ing +ar2dor +ar2d +ar2d1ur +ar2d +a2r1e2dz +ar1egs +a2r1e2gy +are2i +areil2 +a2r1e2le +ar1elh +ar1elm +ar1eln +ar1elr +ar1elt +ar1el +ar1el +ar1elv +a2r1emb +ar1emel +ar1e2ms +a2remu +a2r1e2r +ar1e2se +ar1e2s +a2r1eszek +a2r1esz +a2r1esz +ar1et +ar1e2ve +ar1e2v +a2rew +ar2 +ar1g. +ar12ge +ar2k1a2l +ar2kek +ar1l. +ar1lt +2arm +ar2nek +ar1p +a2r1p +a2r12ri +a2r1r +ar1szj +ar1sz2t +ar1tra +ar1f2r +ar1gha +2ari. +2aria +ar1i2de +a2rid +a2r1i2ga +a2rimd +ar1i2mi +a2r1i2na. +a2r1i2nak +a2r1i2nas +a2r1i2nat +a2r1i2nb +a2r1i2nh +a2r1i2nn +a2r1i2nr +a2r1i2nt +a2r1i2nv +a2r1ing +ari2nit +arink2 +a2r1int +ari2n +ar1i2ono +a2r1i2n +2arip +a2r1isp +a2r1iste +ari1szf +2ariz +ari2zom +ar12t +ar2j1z +ar2j1er +arkas3s +ark2p +ark2s +ar2k1eg +ark1el +ar2kj +ar2kp +ar2k1rd +ar2k1in. +ar2k1i2ont +ar2kiz +ar2k1orm +ar2k1ovi +ar2kud +ar2k1u2s +ar2les +ar2m1a2gy +arma2te +arm1ll +ar2me. +ar2meo +arme2s +arm1ing +ar2m1is +ar2m1osz +ar2m1 +ar2m +arnis3s +aro2k12 +aro2k1e +aro2kin +a2r1olda +1a2romt +aro2mis +a2r1opt +ar1org +ar1o2ro +ar1ors +a2r1ovi +ar1p +a2r12rak +a2r12rj +a2r12rm +ar2s3zr +ar2vr +ar1zd +a2r12b +a2r1k +a2r12l +ar1ng +a2r1r +a2r1s +a2r12z +ar1r +ar1s +ar1pl +ar1pr +ar1ry +ar1ska +ar1sr +ar1sta +ar1sto +ar1str +2art. +art1abl +ar2t1a2lap +arta2n12s +art1aszt +ar2t1a2u +ar2t1lla +ar2t1e2g +art1e2l +art1emb +art1e2rei +ar2tg +ar2t12l +ar2t1rp +ar2t1i2na. +ar2t1i2nt +ar2t1i2nv +art1orz +ar2t12v +ar2t1ut +artvis1s +ar1ty2 +a2r1uml +a2runi +aru2tas +a2r1j +a2r1sz +ar1tj +ar1tr +a2r1t +ar1z +ar12z +ar2vala +arvas1s +arv1gy +ar2v1rh +ar2v12ri +2asabl +as1abr +a2sadag +asag2 +as1aga +as1agg +as1a2gy +2asaj +a2s1a2kar +2asal +as1alab +a2s1a2lap +as1alf +a2s1aljn +a2s1alji +a2s1alk +as1alm +a2s1an +a2s1ant +a2s1a2ny +2asap +as1apr +2asar +as1aran +a2s1a2r +asa2t12 +as1a2ty +2asav +asa2vo +a2s12c +as2g1ikr +as1ll +2asm +a2s1rnak +a2s12ro +a2s1rr +a2s1rt +a2s12ru +ass1s +as1sv +as1th +2asto +2asv +as1bl +as1d2r +a2s1e2d +as1ege +a2s1e2gy +ase2k +as1eke +as1ek +as1ell +a2s1emb +a2s1e2n +a2serd +as1e2r +as1er +a2s1es +ase2t +as1eti +a2s1ez +a2s1he +a2s1ke +a2s12l +2asm +a2s1p +2asr +a2s1r. +as1rb +as1rc +a2s1rd +as1s2 +as1tv +as12ve +as1fr +as1gl +as1gr +as1ide +as1ido +as1i2ga +as1i2g +as1inj +a2s1i2o +2asiv +as1iz +as1i2zo +a2s1j +2ask +2asn +2asr +asrta2 +asr2tal +a2s12v +as1z +2ask +as1kl +asko2s1a2r +asko2s1 +as2koz +as1k2r +as2luk +as2mr +2asodr +a2s1of +as1okke +as1okl +as1okos +2asoks +as1okta +aso2n +2asor +a2s1ord +a2s1orm +as1osz +a2s1ox +as1p2 +as12r +a2s12k +a2s12l +as1rd +as1rv +a2s1s +as12ve +as1r +as1p2l +as2pot +asp2r +a1s2pu +as1s2p +as3szab +assz2ve +assz1ve. +assz1vek +assz1vne +1asszoc +1asszony +as3sz +as3sz +2asta +a1stand +2ast +a1s2td +2asti +astil2 +as2tim +2ast +2asto +as2top +2astr +as1trag +as1trav +a1st2ru +2ast +a2s1ud +2asug +a2s1uj +2asuly +asu2r +as1ura +as1urn +a2s1u2sz +as1u2tak +a2s1u2tas +a2s1u2t +as1u2tu +a2s12s +a2s12t +ast1a2 +a2s1d +a2s12l +as1st +a2s1z +as1z +2aszab +a2sz1a2d +2aszak +a2sz1akc +asza2k1e +a2sz1akt +asza2k1 +a2sz1alk +1aszal +asz1asp +asz1ass +asza2t1a2 +asza2t1e +a2szath +a2szati +2aszav +a2sz1g. +asz12ga +asz12g +asz1gb +asz1gg +asz12gi +asz1gk +asz12go +asz1gr +asz1gt +a2szlc +a2szlm +2aszm +asz2rada +a2szram +asz1rny +a2szrp +a2szta +a2szth +asz1tl +a2sz12to +asz1ts +2aszed +2aszeg +aszegsz1 +asz1eh +2aszek +2aszel +asz1e2lem +asz1elj +2aszemc +2aszeme +2aszem +2aszemp +a2szemu +2aszem +2aszem +2aszen +a2sz1eng +asz1e2pi +2aszer. +2aszere +a2sz1erej +2aszer +2aszerk +2aszern +a2sz1ero +a2szer +2aszerr +2aszers +2aszert +2aszerv +2aszerz +asze2s +a2sz1ese +asz1est +2aszez +2aszk +asz2k1el +asz12let +asz1ls +asz2n1g +aszn1n +a2sz12re +asz1r +2aszt +asz2fr +a2sz1ill +2aszin +a2sz1inf +asz1ing +2aszir +a2sz1ism +asz1ist +2asziv +a2sz1iz +2asz +a2sz1r +asz12vi +asz2karc +asz2k1p +asz2kell +asz2kes +2aszob +2aszoc +2aszof +aszon1n +aszo2n1o +a2sz1orr +asz1ors +a2sz1osz +1asza +asz12d +2aszt +2aszk +asz1lt +a2sz1n +2aszr +asz1ss +a2szt +2aszv +2asz +aszl2 +asz3su +asz2tab +asz2t1apo +asz2tc +asz2tll +asz2t1emb +asz2tne +asz2t1s +asz2t1ing +asz2t1olt +asz2t1oro +asz2t1orr +asz2tors +asz2t1osz +asz2tv +asz2ts +asz2t1l +asztvz1 +2aszur +1aszs +asz1tr +2asz +asz2g +asz1gg +a2sz12z +2asz +asz2vit +asz1z +2atab +at1abla +a2t1a2c +ata2dat +at1a2d +2atag +a2t1agya +a2tajn +2atak +a2t1akara +ata2kr +ata2kel +ata2k12pes +ata2k12v +a2t1aktu +at1a2lag +ata2lap. +ata2lapb +ata2lapj +ata2lapo +ata2lapp +ata2lapr +ata2lap +ata2lat +a2t1aleg +ata2lik +a2t1alle +a2t1alms +2atan +a2t1anal +ata2n +at1a2nyag +at1a2nys +2atap +at1app +ata2puk +ata2pun +2atar +a2t1a2rab +ata2ran +a2t1a2rn +ata1st +atau2r +a2t1a2ut +a2t1azo +2atb +at1br +2atg +at1g. +a2t12ga +at1gr +2atj +2atl +a2t1ll +a2t1ll +a2t1lm +2atm +at2nal +a2t12pol +2atr +at2rada +at2rado +at2ramh +a2tramk +at2ramn +at2r1az +at2rt +at2ris +at1rkr +atrs2g +atr2s1g +at1rts +2ats +at2s12g +at2sz +at2tal +att2 +at2tr +a2t1tb +a2t1tf +a2t1th +a2t1ti +a2t1tj +a2t1tk +a2t1tl +a2t1tr +a2t1ts +a2t1tt +a2t1tu +a2t1tv +2atv +at1bl +at1br +at1cl +at1dr +at1e2g +ate2jel +atek2r +ate2kre +ate2k +a2t1e2l1a +a2t1elb +at1elc +a2t1eld +at1e2led +at1eleg +at1e2lem +at1e2l1en +a2t1elf +a2t1elh +at1elj +at1elk +at1elk +a2t1elm +at1eln +a2t1e2lo +at1e2ln +ate2lt +a2t1elr +a2t1els +at1elta +at1elt +at1elt +at1elt +a2t1elu +a2t1el +a2t1elv +a2t1elz +a2t1emb +at1e2mel +a2t1em +a2t1eml +a2t1em +a2t1enc +a2t1ene +at1epi +at1epo +a2t1erd +at1e2rec +ate2r1k +a2t1er +a2t1e2se +a2t1es +a2tesk +ates2t1 +ates2t +at1eszm +at1esz +ate2tol +a2t1e2z +2atg +at2get +a2t1he +at2k1a2l +at2ke2 +a2t1ke. +atk1el +2atl +a2t12le +a2t12l +a2t1lm +a2t1lv +2atm +at2ne +a2t1ps +2atr +at2r +a2t1rdek +a2t1rin +a2t1rl +a2t1rm +a2t1rtel +at1rvek +a2t1rz +at1sza +at1szl +2att +at2tt +a2t1tv +at1fj +at1fl +at1fr +at1gl +at1gr +a1t2hus +2ati. +a2t1iat +a2t1i2de +a2t1ido +ati2g +a2t1ige +a2t1ig +a2t1igy +a2till +at1ille +at1i2m +at2i3md +at1i2mi +a2t1imp +2atin +a2t1ing. +a2t1inga +a2t1ingb +a2t1inge +atin2 +ati2n1r +at1int +at1into +2atip +a2t1i2pa +2atir +a2t1ir +a2t1iro +2atis +a2t1isk +a2t1ism +ati2sz +a2t1iszo +2atit +a2t1i2ta +a2t1iz +a2t1izg +a2tizmo +a2t1i2zo +a2t1g +a2t1j +2atp +2atr +a2t12t +at12vek +atv1e2l +at12vet +at2vt +a2t1z +2atki +2at1kl +2atko +2atk +2atku +at1kv +at1ojt +atoka2 +a2t1o2k1al +ato2koss +a2t1o2koz +a2t1okta +a2t1o2ku +at1old +a2t1old +ato2m1 +1atombe +ato2mer +1a2tomj +a2toml +1a2tomok +1a2tomos +1a2toms +1atom +at1opc +at1ope +a2t1opt +2ator +ato2rl +a2t1ord +a2t1org +ato2r +a2t1orv +a2t1orz +atos3s +ato1sz2f +a2t1oszl +at1p2 +a2t12rk +at2rn +at2ri +at1st +at1sz +at2s3zr +at2s3zen +at1tr +at1ko +at2l +a2t1le +a2t1l +a2t1l +at1n +atn2k1a +at12rm +a2t1s +a2t1t +at2vi. +a2t12z +at2ra +at1rl +a2t12s +atpen1 +at1pl +at1pr +at1ps +atrac1c +a1t2rad +2atraj +2atrak +at2ramb +a1trap +a1trau +a1t2rav +2atr +a1t2rf +at2rn +atr2szel +a1t2ril +at2roj +a1t2rg +2atrn +a1t2r +at2sn +at1sh +at1sk +at1sl +at1sp +at1st +at1s2v +atsz2m1 +atszraz1 +att1ad +1attakok +1attas +at2t1e2g +at2tez +att1ing +att2 +at2t1r +at1t2re +2atud +a2t1udv +a2t1ug +2atul +a2t1und +a2tuni +2atur +at1ut +at1ut +a2t1j +2atl +at12sz +a2t1g +2atk +at12l +at1lt +2atn +at1st +a2t12v +2atz +at1zem +at1ri. +at1rl +2atz +a1u +au2b1in +au2bor +a2ud +au2de +au2ga +a2ug2h +au2go +1a2ukc +aul2l +aul2t1a +aul2ti +a2umae +a2umaf +a2umak +a2umam +a2umar +a2umav +a2umb +a2umd +a2um +a2umh +a2umi +a2umm +a2umn +a2umr +a2umv +au1ph +au2rad +au2r1ikr +au2r +au2sz1e +a2ut. +au2tad +au2tal +au2tam +au2tas +au2tat +2aut +au2tl +a2uti +1a2uton +a2ut +1autb +1aut +1auth +1auti +1autm +1autn +1autr +1auts +1autt +1autv +a2utr +a2utt +au2tu +au2z +au2zs +a2uz +au2z1 +a1 +a2j +a2jo +a2r +a2r1i +a2sz +a2ti +a2to +a1 +a2d +a2d +a2ge +a2gy +a2le +a2l +a2li +a2l +a2l +a2l +a2n +a2re +a2r +a2r +a2r +a2sz +a2te +a2t +a2ti +a2ve +a2v +a2zem. +a2zemb +a2zemen +a2zemet +a2zem +a2zemh +a2zemm +a2zemn +a2zemr +a2zen +a2z +a1 +a2ri +a2r +a2ze +a2z +a2zi +a2z +a2z +2avad +2avak +av1akti +a2v1anh +1a2vant +a2v1a2nya +a2vanz +ava2rac +ava2r1ag +ava2r1e2 +ava2rk +ava2sze +ava2sz +1a2vat +1a2vat +2avd +av2nan +2avr +av2r1al +av2ria. +av2riai +a2v12ri +a2v1ta +a2v1tt +av2zal +av1bl +av1e2le +av1elv +2aves +av1est +2avet +2avez +avi2cse +av1ing +av1kr +a2v1old +av1olt +avo1s +a2v1ox +a2v1m +a2v1s +av1s +av1z +av1pr +av1sp +av1st +a2v1ut +av12l +av1r +av12z +a2wag +aw2hi +awhisky2 +awhiskyk2 +a2x1ab +a2x1ad +a2x1ak +a2x1al +a2x1an +a2x1av +ax1bl +ax1eg +ax1el +ax1inf +ax1ing +ax1int +axi2r +axi2se +ax1r +ax1s +ax1z +ax1pr +a2x1ut +ax1j +ax1z +ax1r +a1ye. +a1yed +a1yei +a1yek +ay1e2l +a1yen +a1yes +ayet2 +ay1fl +a1yi. +ay1il +ay1ing +a1yit +ayma2 +aza2ch +aza2cik +azai2ko +azal2t1a +aza1p2 +aza1s2 +az1ll +az1lt +az2n +az2r12ra +az2s1e +azsi2k +az2siko +azs3s +az2du +a2z1e2g +az1e2le +az1elj +az1elm +az1el +a2z1em +a2z1ex +a2z1g +az2k1e2 +az2kol +a2z1rt +a2z1ing +a2z1i2o +az1ir +az1irt +azma1g +a2z1ob +2azol +azo2nal +azo2n1 +azont2 +a2z1op +a2z1or +a2z1osz +azt2 +az1tr +a1z2r +az4s +a2z3sike +az3sor +az3sp +a2z3s +az3sz +az1ut +a2z1j +az2r1 +az1z +2. +1a +a2da +a2d +ads1s +a2do +a2d +a2du +a2j +a2ka +a2la +a2lu +a2ra +a2sz +a2ut +a2va +1 +2cs +2ga +2gy +2ju +2mu +2ra +2ru +2s +2s +2so +2s +2su +2zo +2zu +2b1adu +b1akc +2b1a2la +2b1alk +2b1ambu +2b1a2ny +ba1p +b1art +ba3se +2b12g +b1ll +b1lm +2b1p +2b1r +2b1rn +2b12ru +2b1tj +2b1tl +2b1tm +2b1tv +2b1z +b2b1a2d +bba2l +b2b1ala +b2b1and +b2b1r +b2ben +b2b1e2r +b2b12l +b2bid +b2bim +b2b1i2s +b2b1ita +bb1o2so +bb1oss +b2br +b2b1l +b2b +b1dr +2b1ed +2b1e2g +be2l1a +be2l1 +be2l1eg +be2l1el +be2l1e2r +be2lg +be2l1in +2beln +2b1e2m +2b1e2n +b1e2ro +b1er +12bc +2b12g +b12ke +2b1ks +2b12les +2b1lt +2b1p +2b1r. +2b12ri +2b1rs +2b1rte +2b1rt +b1fr +2b1i2d +bi2g +b1iga +b1ig +2b1ikr +b1illa +2b1im +bi2nai +2binas +2b1ind +2b1ing +2b1int +2b1is +b1izm +b1izz +2b1v +b1kl +b1kr +bla1kr +bla1p +2b1olda +2b1op +bo2raj +bo2ran +bo2rl +bo2ris +2b1osz +2b1o2v +b1b +b12d +b1l +b1n +b12r +b1s +b1v +b1r +b1pr +1bri +b2rek +b1sp +b1st +b1sz2 +b1tr +2b1ujjal +bu1sz2 +b1r. +b1g +b12l +b1s +b1t +b1v +2c1a2g +c1ajt +ca1k2l +c1akn +2c1a2la +c1alm +2c1a2ny +2c1g +2c1l +c3cse +c3cso +c1e2l1 +cele2 +c1en +c1er +2c1p +2c1re +2c3ha +2c3h +c3he +2c3h +c3hon +2c3hu +ci2as +2c1il +c1inc +c1ing +cin2til +ci2s +2c1i2s +c1v +2c1or +2c1osz +c1r +c12l +cs1abl +2cs1a2g +2cs1ajt +2csaka +2cs1akn +cs1alap +cs1alj +cs1alom +cs1app +cs1atk +2csatom +2cs12c +2cs1l +c3srg +2cs1rk +2cs1rn +2csru +2cs12ta +csboz1 +2csef +2cs1e2g +2cs1e2l +2csene +2csent +2cser +cse2t +2cs1ev +cs12g +cs2k +cs1ki +cs1kk +cs1kn +2csl +2csp +cs12te +csi2g +2cs1iga +2cs1ille +2csimi +cs1int +csi2p +2cs1ipa +cs1isk +cs2 +cs1r +2csokta +12csolat +12csomk +cs1orr +2csosz +2cs1ov +c3s. +cs12r +c3st +c3sv +cs12k +2cs12l +2cs1s +2cst +cs12s +cs1s +2csuj +2csut +2cs1r +cs12l +2cs12t +1csy +cs3zen +2c1ut +c1r +c1l +c1r +d1abl +2d1a2do +2d1akc +d1a2lap +2d1alb +2d1alj +2d1alk +d1a2nya +d1a2ny +da1p +2d1a2p +d1arc +2d1aty +2d1g +2d1l +d12sz +d1tl +d1dr +d3dz +d1e2c +2d1e2g +2d1ej +2d1e2l +dele2 +del1ej +del1eme +2d1e2m +2d1ep +de2r1 +d1er +d1e2ti +dd2 +d1dr +d1g2 +2d12ge +d1kr +d1ne +2d1rte +2d1rz +d1st +di2cse +2d1i2d +2d1i2ga +d1i2ko +d1ill +d1imi +d1ind +2d1int +di2dar +di2r +di2ra +di2i2v +di2ko +di21k2ra +2d1i2p +d1ist +d1v +d1kl +d1kr +do2ga +do2g +do2ge +do2rak +2d1osz +ds2 +d2b +2d1s +d1v +d12z +d12r +d1pr +d1ps +1d2rt +d1st +d1tr +d1udv +2d12s +2d1g +d12l +2d1z +d3za +2d3z +2d3ze +d3z +1e +e2cs +e2dz +e2ge +e2g +e2gy +e2le +e2l +e2me +e2re +e2r +e2se +e2s +e2si +e2s +e2s +e2te +e2ve +e2v +e2v +1 +2de +2ge +2g +2g +2he +2ke +2le +2ne +2p +2p +2re +2r +2ri +2r +2r +2te +2f1a2gya +2f1alg +2fb +2f1g +12fk +2f1p +12fs +2ft +f1dr +f1elm +2f1e2m +2f1e2t +f12ne +fi2ad +fi2am +2f1i2d +2f1im +2f1ing. +2f1ord +2f1osz +f2rec +1f2r +fus3s +2f1n +2g1abl +g1abr +ga2c +g1ac +1gacska +2gad +g1a2d +1gadd +g1a2d +2g1a2j +2gaka +g1a2kar +g1a2kas +12gakb +12gakh +12gaki +12gakk +12gakn +12gakr +2gakt +2g1a2la +2g1alj +2g1all +g1alt +12gam +ga2n +g1ana +2g1ang +12gank +g1ant +2g1any +2g1a2p +2g1a2r +g1asp +2g1asz +ga2tol +2g1au +12gaza +ga2zon +2g12g +2g1ld +g1lm +g12mu +g2nyal +2g1p +2g1rad +2g1rb +2g12r +2g1rh +2g12ria +g2rokb +2g1rv +2g1s +gs3s +g2sz +2g1t1a2 +2g1t +2g1t +2g1tf +2g1th +2g1ti +2g1tl +2g1tm +2g1tn +g2tokk +2g1tr +2g1ts +2g1tt +g1t +2g1tv +g1bl +g1br +g1d2r +2g1e2c +2g1e2d +g1ef +2g1e2g +2g1e2l +2g1e2m +2ge2n +g1enc +g1ene +2g1e2p +ge2ra +ge2r +ge2r1el +2g1e2s +2g1e2t +2g1e2v +2g1ex +2g12g +2g12he +2g1j +2g12k +2g12l +2g12ne +2g1p +g12p +2g1r. +2g1r +2g12r +2g1ri +g1rm +2g12r +g1rte +g1rt +2g1rv +2g1s +2g1te +2g1ve +2g1v +g1fl +g1fr +g1g2l +g1gr +g3gyar +g3gye +g3gy +gh2nyi +gi2al +gi2asz +gi2d +2g1ide +2g1if +gi2g +2g1iga +2g1ign +2gill +g1ima +2g1i2mi +2g1i2na. +g1inf +2g1ing +g1ins +2g1int +2g1iri +g1iro +2g1ist +2g1isz +2g1i2ta +2g1iz +2g1g +2g1n +2g1r +2gt +2g1z +gk2rok +g1kl +g1kr +g1kv +2g1o +2g1okl +2g1o2li +g1olt +2g1op +2g1or +2g1osko +gos3s +2g1oszl +g1dr +2g12r +2g12k +2g12l +g1nt +g2r +g1r +g1rv +2g1s +2g1t +2g1v +2g12z +g12r +g12s +g1pl +gport2 +gpor1tr +g1pr +g1ps +g1sh +g1sk +g1sl +g1sp +g1st +gsz2 +g1tr +2g1ud +2g1uj +gu2n +2g1una +2g1und +2g1u2ra +2g1u2r +2g1u2t +2g1j +2g1s +g1tt +g1d +g12g +g12l +g1n +g1v +g1z +g12r +g1z +gya1g +gy1alj +gy1alk +gy1alm +12gyasn +2gyassa +2gy12l +2gy12ram +gys1s +2gy1e2 +2gyl +gy1r. +1gygy +2gyid +2gyil +2gyivad +2gyob +2gyosz +gy1otth +2gy12s +gy12l +gy1s +2gyur +2gyh +2gyt +2gy12 +h1ajk +h1ass +12ht +2h1ors +1i +i2dom +i2d +i2ga +i2g +i2gy +i2ha +i2je +i2m +i2ram +i2r +i2sz +i2ta +i2v +i2vo +i2z +1 +2g +2r +2ve +2vo +2j1ad +2j1akc +2j1akv +2j1a2la +j1ambu +2j1ana +j1ant +2j1any +2j1ar +2j1atl +2j1ax +j1azo +2j1g +2j1l +2j1p +js3s +2j1t1a +2j1t +2j1tt +j1bl +j1br +j2ch +2j1e2c +j1eg +j1elm +j1eln +j1el +j1elv +2j1em +2j1e2n +2j1es +j1e2t +2j1e2v +j1ex +2j12g +2j1l +2j1p +j2r +2j1re +2j1te +j1fl +j1fr +2j1i2d +2j1il +2j1im +2j1iz +j1j +j1r +j1v +j1z +jk1ell +j2k12 +j2k +j2lad +jl1akt +j2l1an +j2l1as +j2l1at +j2lik +j2lob +j2nr +j2nin +j2n +2j1ob +2j1op +2j1or +2j1b +j1k +j1l +2j1r +j1r +j1s +j1pl +j1pr +j1sn +j1sp +j1st2 +j1t2r +2j1ud +j1sz +j1g +j1l +j1r +j12t +j1v +j1z +j1r +j2zab +j2zaj +j2z3sa +k1abr +2k1a2d +2k1aj +k1aka +2k1a2lap +k1ale +k1alj +k1ant +k1ara +2k1a2r +k1arm +k1arz +2k1ass +2k1atl +2k1a2u +2k12c +2k12l +k1ta +k1tk +k1bl +k1eb +2k1e2g +k1e2le +2k1elk +2kellene +2k1elm +2k1e2l +k1emb +k1e2r +2k1e2v +2k1e2vo +2k12l +2k12ne +2k1rm +2k1rte +2k1rt +2k1rv +2k1rz +k1ss +2k12te +2k1tk +2k1tt +2k12ve +k1fl +k1fr +2k1i2d +2k1if +ki2g +k1iga +2k1ig +k1ill +2k1i2m +k1ing +2k1int +k1iro +2k1i2s +ki2t +k1ita +2k1i2v +k1r +k1k2l +k1k2r +k2lar +2k1oks +2k1o2la +2k1old +2k1o2li +2k1oll +2k1o2pe +2k1orv +kos3s +2k1ott +k1ni +k2l +2k1l +k12r +k12r +k1pr +k2rk +1k2re +1k2ris +k1sp +k1sr +k1st +k1sz2 +k1t2r +2k1uj +2kuni +ku2r +k1ura +k1ut +k1j +k2t +2k1to +k1d +2k1g +k2l +k1n +k1r +k12t +k1r +1k2vat +2la. +l1abl +l1ac +2l1adag +2l1a2d +l1a2j +l1ajt +la2kar +2l1akna. +2lal +l1alak +2l1alt +l1alg +2l1alk +2l1alm +2l1ane +2l1ang +2l1ant +2l1a2nya +l1a2nyi +l1a2nyn +2l1a2nyt +l1a2nyv +2l1a2pos +l1ap +l1a2ra +la2szek +la2szel +la2sz1k +la2sz +la2sz +la2tat +la2tet +la2t1r. +la2tikr +la2tint +l1atl +la2told +la2t12 +2l1atti +2l1a2ty +l1aut +2l1br +l1g. +l12gi +2l12g +l1ll +2l12rak +l1rf +l1rk +2l1rn +2l12ro +l2s3z +2l1tc +2l1tk +2l1tm +2l1t +2l1tv +l1bl +l1br +lcai2 +1lds +1ldoz +l1d2r +l1dy +2l1e2c +2l1e2d +2l1ef +l1elk +l1elm +l1elo +l1e2l +l1elr +l1emu +2l1e2r +l1esem +2l1e2s +2l1esz +2l1e2t +l1ez +2l1g +2l12he +l2kal +l2k1an +l2k1e2l +l2k +l12le +l12l +2l12ne +2l1r. +2l1rb +2l1rd +2l1rf +2l1rg +2l1rh +2l12ri +2l1rm +2l1rr +2l1rs +2l1rt +2l1rte +2l1rt +2l1rz +2l1v. +2l12v +l1fl +l1fr +l1gr +1lhaja +li2as +l1i2bo +li2d +l1ide +l1id +li2g +2l1iga +2l1ige +2l1ig +l1ill +l1imp +2l1ind +l1inf +2l1i2onb +2l1i2ont +2l1i2p +l1ir +2l1iro +li2s1e +li2s1k +li2sis +lis3s +l1iste +2l1iz +l1n +l12r +l1t +l12v +lk2rok +l1k2l +l1k2r +l2l1a2d +1llag +l2laj +l2l1a2lak +1llam +lla2m1e +1llamot +l2l1a2p +l2l1a2r +1llata +lla2tas +lla2t1e2 +lla2t1or +lla2t12 +1llatu +l2l12g +l2l12l +l2l1rr +lls1s +l2l1th +l2l1tm +l2led +l2l1e2h +l2l1ej +ll1k +l2l1iz +1llom +l2l +1lmaim +1lmok. +1lmom +1lmot. +1lmuk +1lmunkb +l1obj +2l1o2ka. +2l1o2kai +1lokaih +1lokain +1lokair +2l1o2k +1lokn +1lokt +1loku +lo2kok +1lokonk +lo2kos +2l1okta +12l1o2ku +2l1ol +loma2 +lo2mad +lo2m1al +lo2m1an +lo2mar +lo2mas +lo2m1 +lo2m1e +lo2m1it +lo2mot +2loms +lo2m1 +2l1ont +l1opc +2l1ope +2l1or +2l1osz +2l1ox +la2 +l2 +l2 +l2rj +l2s12 +lt2 +l1b +2l1d +2l12l +2l1s +l1z +2l1r +l1p2l +l1p2r +l1p2s +l1sk +l1sl +l1st +l1trad +l1t2rak +l1t2ran +l1t2re +l1tr +2l1ug +lu2n +2l1una +2l1u2r +2l1u2t +2l1uz +2l1j +2l1r +l2t +l1tj +l1tk +l1tn +2l1to +2l1tr +2l1tt +l1g +l1n +l1r +l1t +l1v +l1z +l1r +l1z +ly1ada +lya1g2 +ly1ant +ly1anya +lya1p +ly1ass +2lyl +2ly1e2 +2lyj +2lyl +2ly12ne +2lyre +2lyve +2lyide +2ly +ly1k2 +ly1odv +2lyol +2ly12 +2ly1 +2ly +ly1s +2lyug +2ly12 +2ly12 +2m1abl +2m1abr +m1a2c +m1adm +m1agg +2m1ajt +2m1akt +m1a2lap +m1all +m1alt +ma2 +2m1app +2m1arc +ma2sz1l +ma2szel +ma2szv +ma2sz1odv +ma2sz12 +m1atl +2m1att +2m1aty +m1aud +m1a2zo +m2c +m1f +2m1g +m1lla +m1llo +mn1n +mn1tr +2m12rak +m12ram +2m1ras +2m12r +2m1rb +2m12ri +2m1rn +2m12ro +2m1rr +2m12ru +m1sv +2m1tb +m12t1e +2m1ti +2m1tm +m12z +m1bl +m1dr +2m1e2b +2m1ej +2m1ela +m1el +m1e2lem +m1el +2m1elh +m1el +2m1elj +m1elk +2m1elm +m1elo +2m1e2l +m1els +m1elt +m1el +m1elv +2m1e2m +2m1erd +m1e2rek +2m1erk +2m1e2ro +me2rk +me2rt +me2rv +m1e2se +m1ess +m1esz +me2t +2m1eti +2m1et +2m1ev +2m1ex +2m1ez +m1ke +2m12le +2m1p +2m1rc +2m1rd +2m1rtel +2m1tk +m1fr +m1gr +mi2ab +mi2al +mi2am +2mide +2m1id +m1i2d +2m1iga +2m1ig +2m1ig +2m1ill +2mim +2mimm +2m1imp +2m1ind +2m1inf +2m1ing +2m1inte +2m1int +2m1inv +2m1i2pa +2m1ir +2m1iro +2m1irt +2m1isk +2m1ism +m1i2sz +2m1i2z +m1g +2m1j +2m1r +2m12v +m1z +m1kl +m1kr +m1kv +mla3t2 +2m1ob +2m1of +2m1ok +2m1okl +2m1okm +2m1okta +mo2lyas +2m1op +mo2r12l +mo2ris +mo2r1odv +mo2sas +mos3s +m1osto +2m1osz +2m1ov +2m1ox +m12r +m12k +m1l +m1n +m1r +m1s +m1t +m1v +m12z +m12r +m12s +m1z +mpa1p2 +m1p2l +m1p2r +m1p2s +m1sk +m1sm +m1sn +m1sp +m1st +m1sz2 +m1t2r +2m1ud +2m1ug +2m1uj +2m1und +2muni +2m1u2r +2m1ut +2m1j +m1d +m1g +m12l +m1r +m1t +m1v +m1z +3mt +m12z +mva2s1u2 +2n1abl +2n1a2c +n1ach +n1ada +nae2 +n1afr +n1agya +n1ajt +2n1ak +2n1akc +2n1akr +2n1a2la +n1alk +2n1all +2n1an +n1anya +2n1a2o +na2p +n1apa +nap1i +n1ara +2n1arc +n1assz +na2t1r. +na2tol +na2tor +na2t1 +2n1a2u +n1ava +n1br +2n1g +2n1ll +n1r. +n1rad +n12ri +n1rm +n1rn +n1ro +n1ru +n1sv +n2t1a +n2t1 +2n12z +n1bl +n1br +n2cac +n2c1ad +n2caj +n2cal +n2c1a2n +n2car +n2c1as +n2cat +n2c1au +n2c1l +n2c12ro +n2cs +n2c1ed +n2c1e2g +nce2l +nc1ele +n2c1elt +n2c1er +n2c1e2s +n2c1et +n2cez +nc1he +nc12ne +n2c1r. +n2c3h +n2c1ill +n2cim +n2c1ir +n2c1i2s +n2c12 +n2c12 +n2c +ncs1an +nc3ss +n2c3seb +ncs1es +nc3spo +nc3sza +n2c +n2cz +ne2d +n1ed +2n1ef +2n1e2g +2n1e2l +n1emb +n1e2mi +n1eml +n1e2mu +2n1en +2n1e2p +n1es +2n1e2t +n1e2u +2n1ex +n1ez +2n12d +2n12g +2n1k. +2n1kn +n1ks +2n12l +2n12ne +n1p +n1p +2n1r. +2n1rc +2nrd +2n1r +2n1rl +n1te +2nvad +2n1ve +2n12v +n1f2r +n2gab +n2g1a2r +n2g1ra +ngs1s +n2g1t +n2ged +n2g1el +nge2s +n2g1r. +n2g12s +ng3g +n2g1it +n2g1iv +n2g +n2g1osz +n2gr +n2g1us +n2g +1ngy. +n2gyas +2n1i2d +2n1if +2n1i2ga +n1ig +ni2k1a +ni2k1 +ni2ke +n1ill +2n1im +n1ind +n1inn +2n1i2p +2nirr +n1irt +n1isk +n1ism +2n1i2sz +ni2t +ni2t1e2 +ni2t1 +ni2tol +ni2t1or +n1izo +n1g +n1v +n1z +n2kaj +nk1aro +n2kern +n1k2li +n1k2lo +n1klu +n1k2r +n3nye +n3ny +n3nyo +n3nyu +2n1o2b +2n1okir +2n1okta +2n1o2ku +n1old +n1oli +3nom +no2n1i2m +2n1o2r +n1oszl +n1ott +2n1ox +n1ri +n1k +2n1l +n1m +2n1n +2n1r +2n1s +2n1t +n1v +2n1r +n12s +2n12z +n1pl +n1pr +n2ses +n2s1r +n2sis +n2siz +n1s2pe +n1s2pi +nst2 +n1str +ns1ld +n1szl +nt1ac +nt1a2ny +n2taz +n2t12g +nt2p +n2t1rb +n2t1ri +n2t1ed +nt1ek +nt1elh +n2tez +nt1ke +n2trte +n2tid +n2t1ipa +nt1ist +n2t1iz +n2t1v +n2tk +n2t1s +n1t2rak +n1tran +n2t12l +2n1ud +2n1ug +2n1uj +2n1u2r +2n1u2t +n1r +n2t +n1tj +2n1to +n1tt +n12g +n12l +n12t +n12v +n12z +n1z +ny1ads +ny1a2d +ny1agg +ny1akc +ny1alap +ny1alk +ny1all +ny1anya +ny1any +ny1ap +ny1ara +ny1ar +ny1art +ny1assz +ny1aszt +2ny12l +ny12ras +2ny12r +2ny1rb +ny1rc +2ny1rf +ny1rh +ny1rk +2ny1rn +2ny12ro +2ny1rr +2ny1rs +2ny1rt +ny1ru +ny1r +2ny1tl +2ny12z +ny1ed +2ny1e2g +nyegyez1 +ny1el +nye2le +2ny1e2m +ny1en +2ny1ep +ny1es +ny1et +ny1e2v +2ny1d +2ny1g +2nyhe +2ny12j +2ny12k +2ny1l +2ny12ne +ny1rc. +ny1rre +2ny1rte +2ny1rt +ny2r1 +ny1rv +2ny1s +2nyte +2nytk +2ny1tt +2nyve +nyf2l12v +2ny1id +2nyig +2nyike +2ny1ikr +2nyirat +2nyiro +2nyisk +2ny1isz +2nyita +ny12r +2ny1oml +2ny1ont +2ny1o2r +2nyosz +ny1k +ny12r +2ny1s +ny1z +2ny12 +ny1tr +2nyug +2ny1ur +ny1ut +2nyto +2ny12 +2ny12 +n2zl +1o +o2cs +o2k +o2ko +o2mo +o2pe +o2so +o2szan +o2sz1e +o2szis +o2sziv +o2sz +1 +2ha +2va +1 +2le +2m +2re +2r +1 +2sz +2p1a2dot +pa1tr +pa3u2 +2p1g +p1ll +p1ta +p1dr +p1eg +p1e2l +p1e2m +pe2n +2p1e2s +p1e2t +2p1g +p12te +pi2ac +pi2av +2p1im +p1inj +p1int +pi2t +2p1ita +2p1n +2poll +po2r1e +p1r +p2ro +p1t2r +2p1ug +2p1u2t +2p1r +p1g +p1z +2r1abl +2r1abr +2r1abs +r1adag +2radata +2radat +2radatb +1radat +2radatn +2radato +12radatr +2radatt +r1a2g +2r1ajk +2r1a2kad +2r1a2kas +2r1akc +2r1akna. +2raknt +2r1akt. +r1akti +r1akt +r1al +2r1alj. +2r1alja. +2raljak +2r1alj +r1alk +r1all +2r1alm +r1alt +2r1alv +12rama. +1ramai +12ram +ra2ml +ra2m1el +ra2m1rt +12rami +ra2m1in +12ramk +12ramok +12ramol +12ramot +12rams +12ramu +12ram +r1ana +r1ang +r1a2no +2r1ant +r1a2p +r1a2p +r1aps +2r1a2r +2r1arc +r1a2ri +2r1asp +ra2taj +ra2tal +ra2tav +ra2tl +ra2t1inf +r1atl +ra2t12 +r1aty +2r1br +r2c +r2g +r1ga +r1gr +r1gy +r12lo +2r12p +r1r. +2r12rak +2r12r +2r1rb +2r1rf +2r12ri +2r1rk +2r12ro +2r1rr +2r1rt +r12ru +r1r +r1rv +2r1ss +r2sz +2r12ta +rt1a2d +2r1t +r1tb +2r1tc +2r1td +r12t1e2 +2r1t +2r1tf +2r1th +2r12ti +2r1tj +2r1tk +2r1tm +2r12t +2r1tr +2r1ts +2r1tt +2r1t +2r1tv +r1bl +1rboc +r1br +r2d1l +rd1ell +rd1eme +r2d12n +r2d1r +r1dr +r2dud +re2 +r1e2d +2r1e2g +r1ej +2r1e2l +reli3r +re2ma +re2ml +re2n +r1ene +r1eng +2r1e2r +r1e2s +r1e2s +r1ev +2r1ex +r1br +r1de +2r12g +r1j. +r12je +r1js +2r12ke +2r12k +2r1ks +2r12l +2r12ne +2r1p +2r1r +2r12ri +r1ss +r1sz +2rtk +2r1tr +2r1tt +2r1tv +2r1v. +r2vek +2r1vk +2r1vr +r1fl +r1f2r +rgs1s +r1gl +r1g2r +r2gyrv +r2gyir +r2gyol +r2gy +2r1i2de +2r1i2d +3r2i3dtl +r1ifj +ri2g +2r1iga +2r1ig +2r1ige +2r1ill +2r1i2m +r1imb +2r1i2mi +2rinas +2r1inc +2r1ind +2r1inf +2r1ing +r1inn +2r1int +2r1inv +2rio +2r1i2paro +ri2s1e +r1isko +r1iste +r1i2sza +2r1i2ta +r1i2zo +2r1r +r1v +2r12z +rka1k2 +1rkdo +r1k2l +1rkok +r1kr +r1k2v +rns3s +rnya2n +r2ny1any +rnye2l +r2ny1ele +r2nyel +r2nyem +r2nyes +r2nyok +r2ny1ol +r2nyos +r2ny +r2ny +r1odv +2ro2k +ro2k1e +2rokha +2rokm +ro2kol +2r1o2koz +2rokre +12roks +2rokta +2r1olda +roma2 +ro2maj +ro2mak +ro2m1al +ro2m1as +ro2mr +ro2m1ok +ro2m1os +r1opt +2r1o2r +ro2sas +ro2sl +ros3s +2r1ostr +2r1osty +r1otth +2r1o2v +r2r +r12nt +r12nv +r1p2 +2r12rak +r2rk +2r1ri +r1sk +r1s2p +r12b +r1c +r1k +2r12l +2r1n +r1r +2r1s +r1v +2r12z +r12r +r12s +1rpa. +r1pl +r1p2r +r1p2s +r2s1ala +rs1asz +r2s1l +r2sed +r2s1e2l +r2sem +r2s1en +r2ses +r2s12g +r2sip +r2sir +rs1okt +r2s1ol +r2sv +r2s1n +rs3s +r1s2tab +r2sut +rsza2k +r2s3zene +r2tado +r2t1aj +1rtalo +rta2n12s +rt1ar +rt1a2ris +rta3u2 +rt1ll +r2t1rn +r2t12ru +r2t1e2g +rt1elh +rt1eli +rt1ell +rt1eln +r2t1el +rt1emb +r2t1erk +rte2s +rt1ese +rt1esth +rt1eti +rt1le +r2t1rd +r2t1rte +r2tid +r2tif +r2t1ins +r2t1int +rt1izg +r2tt +r2t1okta +r2top +rt1otth +r2t1n +r2t1s +r2t1ura +rt1u2sz +r2t1ut +12ru. +12rua +ru2 +12ru1b2 +12ruc +2rud +1ruda +1rud +12rue +12ru +12ruf +1rugy +12rui +2ruj +1ruj +12rum +12run. +12runa +12run +2r1und +2runi +12ruo +12ru1p2 +2rur +1rura. +r1ur +12rus +rus3s +2rut +1rut. +ru2tal +ru2tas +1rute +ru1tr +ru2tun +12ru +12ruv +r1u2z +12r +12rk +r1r +r1rf +r1sz +2r1ta +2r1tb +2r1t +2r1th +2r12ti +2r1tj +r1tl +2r1tn +2r12to +2r1tr +r1ts +2r1tt +r12g +r12l +r1n +r1r +r12s +r1t +r12v +r1z +r1r +r12z +1rvc +sa2b +2s1abl +s1abo +s1a2dat +2s1a2d +s1a2do +2s1a2d +2s1a2j +s1ajt +2s1a2kar +2s1akc +2s1akv +s1a2la +s1alg +s1a2li +s1alj +s1alk +s1all +s1alm +2s1alt +2s1amb +sa2n +2s1ana +2s1an +2s1ant +2s1any +s1a2p +s1app +s1apu +s1a2ra +s1a2rn +2s1arc +2s1ar +2s1a2ri +s1art +s1arz +s1asp +2sass +12sat +2s1atl +2sato +s1aty +2s1a2u +2s1azo +2sb +2s1br +s2gai +2s1gb +2s12gig +2s1gk +s1gn +2s12g +2s1l +2s12p +s1ras +s2rt +sr2 +s2rn +12ssb +12ssi +1ssk +s1sv +s12ta +2s1t +s1t +s1th +s1ti +s1tj +s1tk +2s1tl +2s1tr +s1ts +s1tt +s1tv +2s12z +s1bl +s1br +scsa2p12 +s1d2r +s1e2b +2s1e2d +2s1ef +s1e2gy +2s1e2l +2s1e2m +2s1e2n +s1epi +s1erk +s1er +2s1e2s +2s1e2t +s1e2v +s1ex +s1ez +2s12g +2s1he +2s1j +2s12k +2s12l +2s12ne +2s1p +2s1r. +2s1rd +2s12re +2s12r +2s12ri +2s1rl +2s1rs +2s1rte +2s1rt +2s1rt +2s1rv +2s12s +2s12te +s1tk +s1tt +2s12ve +s1fl +s1fr +s1gl +s1gr +2s1i2d +2s1if +si2g +s1iga +s1ige +si2k1e +2s1ill +2s1im +s1imp +s1ind +s1inf +2s1ing +2s1ini +2s1int +s1inv +2s1i2p +2s1i2rat +2s1i2r +s1iro +s1irt +2s1isk +2s1ism +s1ist +s1i2sz +s1ita +2s1iz +s1g +2s1j +s1ns +s2r +s1r +s1r +2s12v +2s12z +s1kl +s1k2r +s1kv +1snu +2s1ob +soda2 +so2d1al +so2d1an +so2d1as +so2dau +so2d1l +s1okl +s1okm +s1okta +s1old +s1oli +2s1ont +2s1op +s1o2r +2s1org +2sori +2s1ork +s1orr +2s1ors +2s1orv +s1osz +2s1o2v +12sb +12s +12sg +12si +12sj +12sk +12sn +s1p2 +2sr +s12r +s1ri +1sr +2ss +s12s +12st +2sv +2s12k +s12l +s1n +2s12r +2s1s +s12v +2s12z +s12r +s12s +1spic +s1p2l +1s2pr +sp2r +s1ps +s1s2k +s1s2p +s1sr +s1s2t +ssz2 +s3szab +s3szag +s3szaka +s3szak +s3szj +s3szm +s3szz +s3sze +s3szl +s3szf +s3szi +s3sz +s3szk +s3szoc +s3szok +s3szol +s3szor +s3sz +s3sz +s3szt +s3sz +s3sz +s2teg +st1elem +s2tir +s2t1s +s1t2re +s1tri +s1trf +2s1ud +2s1uj +2s1u2r +2s1u2s +su2t +s1uta +2s1ut +s1ut +2s1u2z +s1r. +s1rn +s12sz +s1ti +s1to +s1d +2s1g +s1ld +s1le +2s1n +2s1r +s12ve +2s1z +s1r +s12z +2s3zac +2sz1a2d +sz1aga +sz1ag +2sz1agy +2szaj +2sz1akc +sz1a2kol +2sz1akt +sz1ale +2sz1alk +sza2n +2szana +2sz1ant +2sz1any +2sz1ap +sza2s +sz1asz +sza2t1e +2sz1au +s3zavar +sz1gg +sz1gy +sz12lo +s3zp +sz2r1as +sz12rih +2sz12r +szs1s +2szta +2sz1z +sz1e2b +szeb2 +szeb1de +sz1e2g +sz1e2gy +sz1eln +sz1elv +sz1emb +s3zene +s3zen +sz1eng +sz1e2p +2sz1erd +2sz1e2r +2sz1e2s +sz1e2t +sz1e2v +sz1ex +2sz1j +2sz1kb +2sz12l +2sz12ne +2sz1p +sz1r +2sz1te +2sz1tt +2sz1ve +2szid +2szif +2sz1ill +2szind +sz1ing +szi2p +2sz1ipa +2sziro +2sz1isk +2sz1ism +sz1ist +sz1ita +2sziz +2szr +sz1k2 +1szki +2szokl +2sz1okm +sz1ors +2sz1osz +sz1s2p +2sz12b +sz2l +sz1lt +2sz12r +2sz1s +sz1v +sz1r +sz12s +sz3sa +s3zsu +szt2 +sz1tr +2szuni +2szur +2szut +sz12s +2sz12g +2sz1n +2sz12z +sz1z +t1abr +t1a2j +t1ajk +t1ajt +ta1kr +2t1akt. +2t1akto +t1alh +2t1alja +2t1alm +t1als +t1a2lu +t1alv +2t1a2ra +2t1ar +2t1arc +t1arz +ta2s +t1aut +t1azo +t2c +t1g. +t1l +t2p +t1po +2t12rad +2t12rai +t1ram +2t12r +2t1rb +2t1rn +2t12ro +2t1rt +2t12ru +12t1ss +t2s3z +2t1tf +2t1tu +t1tv +t1bl +t1br +1tbu +t1dr +t1e2c +t1ej +t1ell +t1eln +t1elv +2t1emb +t1eml +t1eng +te2r +teri2 +te2rik +t1er +t1ex +t12d +te2 +t2g +t1ge +t1g +t2kaj +t2k1a2l +t2kas +t2ke +tk1em +tk1es +t2kol +t2k1 +t12l +t2p +2t1rb +2t12ri +2t1rr +2t1rz +t2t12 +1tfs +t1fr +t1gr +t2hi. +t2hia +1thid +ti2ag +ti2al +ti2d +ti2g +2t1ig +t1ill +2t1ing +t1i2pa +2t1ir +t1isk +t1ist +2t1i2ta +2t1iz +2t1izm +2t1i2zo +t1g +2t12r +t12v +1tkel +t1kl +t1k2r +tle2g1 +tlege2 +tmt2r +t1oj +to2kol +t1okol. +t1o2koz +t1okta +2tolj +2tolt +t1oml +t1ont +t1op +to2ran +to2ras +to2rc +to2rl +to2re +to2ris +to2r1ol +t1orz +2t1o2x +ti2ko +t1p2 +t1ri +t1b +t2l +t1l +t1ml +t1n +t1t +2t12v +t12z +t12r +t1pl +t1pr +t1ps +t2ril +t1sk +t1sl +t1sm +t1sp +t1sr +t1st +1tsz +1tteki +t3t2 +t1t2r +2t1udv +2t1ug +2t1uh +2t1uj +tu2min +tu2n +2t1u2r +tu2sze +2t1u2t +t1j +2t1r. +2t1rb +2t1rh +t1ri +2t1rn +2t12ro +2t1rr +2t12s +2t1g +t1l +2t1t +2t12v +t1r +1tvr +1tvev +1u +u2ga +u2go +u2n +u2no +u2n +u2nu +u2sz +u2ta +u2t +1 +2sz +1 +2ge +2gy +2le +2l +2l +2l +2l +2r +2t +2ti +2t +2t +2t +2v +1 +v1adm +2v1ajk +v1akt +v1alk +v1alt +v1asp +va1st +va1sz2 +va1t2 +2v1au +v1azo +v1ls +v1te +v1tf +2v1th +2v1tj +2v1tk +2v1tu +vegsz1 +2v1e2l +vel1 +v12de +v1dr +2v12ri +2v1rte +2v1rt +v1fr +2v1iga +2v1ig +v1ind +2v1inf +2v1ing +2v1int +2v1i2r +2v1iro +2v1i2si +v1isk +v1ism +v1izm +v1izo +v1r +2v1ob +2v1olv +2v1op +2v1osz +v1r +v1r +v1s +v1v +v1r +v1pr +v1sk +v1sp +v1st +v1tr +2v1ug +2v1ur +2v12sz +v2t +2v1ti +2v1to +v1g +v12z +2z1abl +z1abs +za2dal +za2d1e2 +za2dott +za2d +z1ajt +z1akc +2z1a2k +2z1akt. +2z1akta +z1akt +2z1aktu +z1a2lap +2z1a2le +2z1alk +za2n +2z1ana +2z1ano +2z1any +2z1a2p +z1a2r +z1arc +z1arm +2z1assz +2z1aszt +za2t1a2l +za2tan +zate2 +za2t1el +za2t1r. +za2t1rv +za2ts +za2tik +za2t +z1aty +2z1a2u +2z12g +2z12l +2z12rai +2z12rak +2z12ram +2z12ras +2z12rat +z2rr +z2rt +2z1rb +2z1rc +2z1rd +2z12r +z1rf +2z12ri +2z1rjb +2z1rjv +2z1rka +2z12rokk +2z12rokr +2z1rp +2z1rr +z12runkn +z12runkr +z3rus. +zs3s +2z12ta +2z12t1 +z1tb +2z12t1e2 +2z1t +z1th +2z1tr +z1ts +2z1t +2z1z +z1bl +z1d2r +z1ef +z1e2g +z1e2m +z1ep +z1e2r +z1e2s +z1e2t +z1ex +z1e2z +2z1g +2z12l +2z12p +2z1r. +2z1r +2z1rte +2z1rt +2z1rt +2z1rz +2z12te +2z1ve +z1vi +z1fl +z1fr +z1g2r +2z1i2d +2z1ig +2z1i2kon +2z1ill +2z1im +2z1imi +z1imp +2z1inf +2z1ing +2z1inj +2z1int +2z1i2par +z1ir +z1iro +zi2s1e +zi2sir +zi2s12 +zis3s +zi2s1 +zi2sz +zi2z +z1izm +z1izo +z1j +z12v +z1k2l +z1k2r +2z1olda +2zoltal +2z1olt +z1oml +2z1ont +2z1o2r +2z1osz +zi2ko +z1l. +z12r +2z1ri +z1s2p +z1sz +z1b +z1d +z12l +z1m +z1n +z1s +z12t +z12v +z1z +z12r +z1pl +z1p2r +2zsab +2zs1a2d +2zs1a2g +zs1ajt +2zs1akn +zs1ala +zs1alk +zs1all +2zs1amu +zs1any +2zsar +zs1ar +2zsat +2zs1au +2zs1ll +2z3sr. +2zse +z3seb +zs1e2c +zs1ef +zs1eg +zs1e2l +zs1e2m +zs1es +2zsj +2zs12k +zs1ne +2zs1re +2zs1ri +zs2t +zs1te +2zsia +2zsi +2zside +zsi2g +2zs1iga +zs1ig +2zsige +2zsimm +2zs1ing +2zs1int +2zsinv +2zsi +2zsip +zs1isk +2zs1ita +2zsiz +2zs12 +z3sor +z3sh +zs12r +2zs +2zs12 +zs1s +2zs1uj +2zs1ut +2zsto +2zs +zs12v +2z3s +z3sz +z1t2r +2z1ud +2z1ug +2z1uj +2z1u2r +2z1ut +2z1j +2z1r +2z12g +z2l +z1r +z12z +zy1i +z3zse +2b. +1ba +baa2d +ba2b1a2dat +ba2b1ajk +baba1k2 +ba2b1ara +ba2b1arc +ba2b1aszt +ba2b1br +bab2c +ba2b1csi +ba2b1g +bab1ll +ba2b12ro +ba2btv +ba2b1rc +bab2t +bab1te +ba2bv +ba2bik +ba2b1i2na. +ba2bola +bab1old +ba2b12r +ba2b1ult +ba2b +ba2c3hu +ba2csor +2b1a2dag +ba2das +2b1a2dato +ba2d1r +ba2deg +ba2d1e2s +ba2dog +2badom +ba2dd +ba2di +ba2dj +ba2dk +ba2dt +ba2duj +ba2ds +baegsz1 +bae2r +ba2r +ba1fl +ba1f2r +ba2gai +ba1g2n +ba1g2r +2b1agy. +bai2z +ba2jag +ba2j12ru +ba2j12to +2bajk +ba2j12r +ba2j +ba2j +ba2k1a2p +2bakas +ba2kaszt +2ba2kc +bak12cs +bak1ll +2bakc +ba2keg +ba2k1r. +ba2k1ri +bak1k +ba1k2li +ba1klu +ba2k1o2v +ba1k2ri +bak1t2 +2b1aktu +baku2r +bak1ura +bak1ur +ba2ky +2b1alany +2b1a2ll +ba2l1e2s +ba2l1 +bal2lak +bal2lan +bal2ll +bal2l1s +bal2lz +balle2 +bal2leg +bal2l1el +bal2lem +bal2les +bal2l12l +bal2lin +bal2lr +bal2t +bal2tiz +ba2lud +2b1amp +2banal +2b1a2nat +bans3s +ban2c1e +banc3s +2b1angy +ban2kab +ban2k1a2d +ban2k1a2l +ban2kar +banke2 +ban2ker +ban2kp +ban2krd +ban2kir +ban2kol +banku2 +ban2kut +ba2ny +bao2k +bao2l +ba2r +ba1p2l +ba1pro +2b1arc. +2b1arc +2b1arcn +2b1arco +2b1arcr +bar2csad +bar2csal +bar2csan +bar2cs +2b1arc +2b1argu +baro2ma +2b1art +basg1g +ba2seb +ba1sl +ba1s2m +ba1sni +2b1aspe +ba1s2p +bas3sze +ba1s2ta +ba1s2t +ba2t1esti +ba1t2r +ba1tre +ba1tr +ba2ud +2b1a2ul +bau2r +2b1a2vat +ba1yi +1b +b2bal +b2b1ass +b2bl +b2b1es +b2bik +b2b +b2b1 +b2csor +b2cs +2b12ga +b12g +b2gyal +b2gyar +b2gyott +b2gy +b2gy +b2j1e2 +bj2n1 +b2j12 +b2j12 +bj2t1a2k +b2j +bkos1 +b2laj +b2l1ap +b2l1e2 +bl2 +b2l1j +b2lid +b2l1ing +b2l1i2o +bl2is +2b1ll +2b1llo +2b1llv +2blm +b2l +b2l +b2lyad +b2ly1al +b2ly1a2n +b2ly12z +bni2as +bn2r +bnya2i +b2po +2b12rad +2b12rai +b2r1aj +2b12ram +b2rap +b2ras +2b2ra2t +2b12rb +b2rg +b2rr +b2r1s +2b12rt +br2das +br2d1 +br2de +b2r1e +b2rn +2b12ri +br1i2o +b2r1i2p +b2r +2b1rny +b2r12n. +2bru. +2bruf +2b12rug +2b12ruh +2b1ruj +2b12ruk +2b1rur +br1u2ra. +2brus +2b1rut +2bruv +2br +b2rr +b2r +b2s12r +b2se +b2sis +b2sz1ak +b2szan +b2szas +b2sz1l +b2sz12ru +b2sze +b2szil +b2szip +b2sz +b2sz +b2sz +b2t1a2k +b2t1al +b2t12 +2b12t1e2 +b2t +b2t +bb1a2da +bb1add +bb1a2kas +b2b1alk +b2b1als +b2b1alu +b2b1alv +b2b1a2ny +b2b1ap +b2b1a2ra +bba2t +b2b1au +bb2gyas +b2b1ll +bb1lm +b2b1p +bb1rn +bb12ru +b2b12s +b2b1t +bb1dr +bbe2g +b2b1e2kn +b2b1elv +b2b1emb +bb1eng +bb1erj +bb1ern +bb1er +bb1e2r +bb1est +b2b1etn +b2b1ex +b2b1g +bb1l. +bb1le +bb1lh +bb1lj +bb1ln +bb1lt +bb12l +bb1lv +b2b1p +bb1rl +b2b1rm +b2b1rte +b2b1rt +bb1rv +b2b1vi +bb1fr +bb1i2de +b2b1iga +bbigaz1 +bb1illa +b2b1ind +b2b1int +b2b1inv +bbi2tat +b2b1itt +b2b12r +b2b1v +bb1kl +bb1kr +b2b1okt +bb1olt +b2b1olv +b2b1op +bb1ott +b2b1b +bb12r +b2b12m +bb2r +bb1r +b2b1s +bb1ri +bb1rz +b2b12s +bb1pl +bb1pr +bb1sk +bb1sp +bb1st2 +bb1t2r +b2b1ud +b2b1u2g +b2b1uj +bbu2r +bb1ura +b2b1u2t +bbgs1 +b2b1j +b2b12s +b2b1g +b2b1r +b2b1z +bb12z +bb2v +bc3sz +bda2cs1a2p +bda1d2 +bda1p2 +bda1s2 +bdasz2 +bda1t2 +bd2n +bd2r +bd2ro +bd2r +1be +be2ac +bea2d +bea2j +bea2k +bea2l +bea2n +bea2r +bea2s +bea2t1e +be2ati +bea2tin +be2atk +be2atl +bea2v +be2j +be2s +be2z +be1bl +be1b2r +be2csar +be2csr +be2csrt +be2cs12te +be2dn +be2dz +bee2l +bee2s +be2r +be1fl +be1fr +begs3s +begsz1 +be1g2r +be2gyel +b1egyl +bei2g +bei2s +be2r +be2j1elt +2bejt +2b1e2ke. +beke2csa +2b1e2kt +be1k2r +be1kri +be1kr +be1k2v +be2ll +bele2 +bel1els +be2lemz +bele1p2r +belet2 +bele1tr +be2l12k +be2l1r. +be2l12ren +be2l1rr +be2l +be2lof +be2ll +2b1e2la +be2lr +bel1p2 +2bemel +2b1eml +b1e2mus +be2n1l +be2n1k +ben2n1a2 +ben2n +ben2n1e2r +ben2ng +be2ny1e2g +beo2k +beo2l +beo2m +be2v +be2r +be2pe. +be2ped +2b1e2p +be1p2l +be1p2r +be2r1ad +ber1al +ber1all +bera2n +ber1any +be2r1a2p +be2r1a2r +ber1ass +be2r1a2t +be2r1av +be2raz +be3rg +ber1ll +b1erdei +2berd +ber1eg +ber1egy +be2r1e2ke. +bere2k1eg +be2r1ekk +be2r1ell +be2r1elm +be2reld +be2r1eln +be2r1e2m +be2r1eml +be2r1e2p +be2r1e2r +ber1e2sz +be2r1e2tet +be2rg +be2r1kk +ber1ss +ber1ing +be2rism +be2r1ist +ber1iszo +ber1old +be2ror +ber1osz +be2rl +be2r12r +be2r +2b1erd +ber1s. +ber12se +ber12si +ber12s +ber3s2 +berta2n12s +be2r1ub +be2r1un +be2rur +be2r1ut +be2r12g +ber2l +be2r1ld +be2r1l +be2r1lt +be2sem +2b1esl +2b1e2ss +be1ska +be1sk +be1s2l +be1s2m +2b1e2s +be1s2p2 +bessz1a +bessz1 +be1s2ta +2beste +2best +be1s2til +be1sto +2b1e2szet +2b1e2szt +b1eszm +besz2t1a2 +besz2t1 +beteg1r. +bet2t1elb +bet2telk +be1t2hi +be1t2ra +be1tr +be1t2r +be1t2ro +beu2g +beu2t +be2t +be2vez +2b1e2vol +2b1e2v +2b1ezr +1b +2b1br +b2cs +b2d1as +b2d1 +2bd +2bdh +2bdj +2bdl +b2d1o +b2d +2bdr +2bd +2bdv +b2g +bk1alk +2b1ksz +b2l1akt +b2l1a2n +b2l1a2p +b2l1a2r +b2ll +b2l1to +b2l12z +b2l1ed +b2l1e2g +b2lek +b2l1e2r +2b12let +b2l12j +b2liz +b2l +2blj +b2l1o +b2l +b2l +2b12l +blt2 +bl1tr +b2lul +b2l +b2ly1ec +b2l3yen +b2lyin +b2ly +b2p +b2p +2b12rai +b2r1aj +b2ral +b2r1a2n +b2rap +b2rar +b2r +2b1rb +2b1rh +2b1rv +2b1rde +b2reb +b2r1eleme +b2r1e2lem +b2r1e2lemh +b2r1e2lemk +b2r1e2lemn +b2r1e2lemr +b2r1ell +b2relm +b2r1eli +b2r1eng +br1essz +b2r1esz +b2r1id +b2rir +b2r +b1rni +b2r +br1s +brt2 +2brtel +2b1rts +br1tr +b2rut +b2r +b2sz1a2 +b2sz +b2sz1o +bta1s +2btel +b1t2h +2b1tk +2b1tt +2b1v. +b2vek +2b12ven +2b12ves +b2vet +b2vi. +2b1vn +b2zs +bfej1els +bfe2len +bf2n +bf2la +bf2r +bf2re +bf2ri +bf2ro +bg2ra +bg2r +bgyk2 +bgy2k1l +1bi +bia2d +bi2ae +bi2ag +bia2la +bia2v +bi1br +bi1by +bic3sz +bida2 +bi2d1ad +bi2d1al +bi2deg +bi2del +2b1i2d +bi2ed +bie2l +bi1fr +bi2gaz +2b1i2gj +2bign +2b1i2hat +bik1ala +bi2k1l +bi2k1em +bi2kik +bi1klu +bi2k12 +bi1k2ro +bik1s +bil1ima +bil1int +bilis3s +2bill +2b1ill +2billu +bi2l +bi2ma. +2b1i2mi +2b1imp +bi2nab +2b1i2nad +bi2naj +2b1i2nat. +bi2n1rb +2b1ind +bi2n1te +2b1ink +bin3n +bi2n +bi1ny +bi2oa +bi2o +bi2ob +bi2oc +bi2od +bi2oe +bi2o +bi2of +bi2oge +bi2ok +bi2ol +bi2om +2b1i2on +bi2or +bi2r +bi2par +bi1p2l +bi1pr +2b1i2ram +2b1i2rat +2b1i2rn +2birki +2birod +2b1irr +2b1irt +2b1irt +bis2hi +2b1i2si +2bism +bi2s +bi1s2p +bis3s +bi1s2to +bit1ar +bi2t1e2g +bit1elh +bit1elr +bit1elt +bite2r1a +bi2t1ing +bi2t1int +bi2t1i2o +bi2t1on +bit1t2 +bit1ura +bi2t1ut +bi2s +bi2var +2b1i2vs +1b +b2ja +br2r +b2ve +b2v +b2v +2b12z +bks3s +bk2li +bk2lu +bk2ra +bk2r +bk2re +bk2r +bk2ri +bk2r +bk2ro +bk2r +1b2labl +blai2k +blak1a2d +bla2kal +bla2k1an +bla2k1tm +bla2k1tt +bla2kem +bla2kik +bla2k1ol +bla2k +blap1e +bla1p2l +bla1s2t +bls1s +bl2be +ble2r1i +bles2 +ble2t1ak +ble2t1a2n +ble2t12 +ble2t1e2l +ble2ter +ble2tesz +ble2tl +ble2t1rd +ble2t1tk +bletigaz1 +ble2t1o +ble2t12 +ble2tu +ble2tz +ble2 +bleves1s +bl2he +bli2af +bli2as +bli2of +b1ljana +bl2ne +1b2lok +blok2k12 +blo2n1 +blon3n +b2l1z +bl2re +bl2r +bl2t +blu2esz +1bo +bo2a +bo2ab +bo2ad +bo2ae +bo2af +bo2ah +bo2aj +bo2am +bo2ar +bo2at +bo2av +bo2c1ak +bo2ce +bo2c +bo2c3h +bo2cs +bo1dy +bo2ei +bo1fl +bo2g1a2k +bo2g1a2t +bo2g12c +bogs1s +bo2g1e +bo2g1osz +bog2sz +bo2gyo +boka1p +2b1o2k +b1o2koz +bok2szak +bok2szal +bok2sz1l +bok2szel +boksz2 +bok2szl +bok2sz1in +bok2sz +bok2sz1 +2b1okta +2bolaj. +bols1s +2b1old +2b1o2lim +bolo1g2 +bol2t1e +bol2t12 +bol2t12 +2bolvas +bona1 +bon1ava +bon2can +bon2c1e +bon2ch +2bond +bo2n1e2 +bo2n1r. +bo2n1or +bon2t1i +bo2n +bo2og +bo2ok +bo2om +bo2ot +bo2pe +bo2r1a2d +bo2r1aka +bor1akk +bo2r1akv +bo2r1a2l +bora2n +bor1any +bo2rar +bor1asz +bor1atr +bo2r1au +bo2r1av +bo2raz +bor1cs +bo2r1ll +bo2r1z +bor1d2 +bo2re +bor1e2c +bor1el +bor1e2r +bor1es +bor1f2 +borfi2k +bo2r1i2ko +bo2r1il +bo2r1ing +bo2r1int +bo2r1isk +bo2r1iss +bo2r1ist +bo2r1itt +bo2r1iz +bor1k2 +2b1ornam +bo2r1ond +bo2r12r +bo2r +bo2r +2b1orr. +2b1orr +bor2s1epr +bor2sors +bor1str +bor2sl +bor2st +bor1tre +bor1tr +bo2r +borvz1 +bor2z12rak +bor2zsa +bor2z3se +2b1oszt +bo2t1a2g +bo2t1al +bo2tar +bo2tas +bo2t1a2u +bo2t1c +bo2tr +bo2t1e2 +bo2t1il +bot1inf +bot1int +bo2t1i2p +bo2t +bo2t12 +bo2t +bo2tur +bot2 +bo2tr +bo2t +bo2t +bo2ui +bo2ul +bo2ur +bo1ya +bo1y +bo1y +bo1yi +bo1yo +bo1yu +bo2zar +bo2zl +bo2z1e2 +bo2zid +bo2z1i2p +bo2z1ir +bo2z +bo2z1old +bo2z3s +bo2z +bo2z +1b +ba2d +b2g +b2r +b2b +b2cal +b2ch +b2c +b1fl +b1kr +bli2a +b1lm +b1p2l +b1p2r +b2r1ad +b2r1an +b2rat +2br +b2rs +br1sv +b2reg +b2rel +b2r1in +b2riz +b2r1ol +br2 +b2rs +b2r +brt2 +b2r +b1s2p +b1sz +1b +b2ch +b2l +2blb +bl2cs +2b12lr +2blh +2blig +2blk +b1lk +2blr +2b1lt +2blt +b2l +b2lyk +b1ml +b2n +2b1nt +b2ra +b2r1e +b2ro +2b1ssz +2b1tl +2b1ts +b2ve +1b +b2r1a2 +b2r12 +b2r1e2g +b2r1e2l +b2r1em +b2r1en +b2r1e2r +b2r12g +b2rk +b2r1s +b2ril +b2r1ing +b2rip +b2r1i2s +b2riz +br1izg +2brl +b2r1o2 +br1l +b2r +brren2 +br1s2 +b2r1u +b2r +b2r12g +b2r12l +2bsi +bp2la +bp2l +bp2le +bp2re +bp2r +bp2r +bp2ro +b1proj +bp2r +bra2k12 +bra2ks +bra1p2 +1braty +br2nag +br2nas +br2n1t +brnt2 +br2sz1l +br2sze +b2ric +bri2da +bri2d +bri2der +1b2rig +bri2no +bri2d +bri2f +bri2m +bri2tel +b2ros +br2m1a +br2me +1b2rum +bs2g1el +b1s2k +bs2l +bs2pe +bs2pi +bs2po +bs2ta +bs2t +bs2ti +bs2t +bs2t +bsz2r1a2da +bsz2f +b1sz2k +bsz2t +btermo1 +btermosz2 +bt2r +b1t2re +bt2r +b1t2ri +b1t2ro +b1t2r +1bu +bu2ch +2b1udv +bu2r +bu2g1i2 +bu2il +2b1ujj. +2bujja. +2bujjad +buj2j1a2da +2bujjai +2bujjak +2bujjam +2bujjas +2bujjat +2b1ujj +2bujjb +2bujjc +2bujjd +2bujje +2bujj +2bujjf +2bujjg +2bujjh +2bujji +2bujjk +2bujjl +2bujjm +2bujjn +2b1ujjo +2bujjp +2bujjr +2bujjs +2bujjt +2bujju +2bujj +2bujjv +buk2j1e +bu2maj +bu2mel +bu2m1i2k +bu2m1ina +bu2mis +bu2mol +2b1ural +b1urb +2burn +2b1u2r +bu2se +bu2sin +bu2sol +bu1s2p +bus3sze +bu2szab +busz1aj +bu2szal +bu2szas +bu2sz1l +bu2sz12rak +bu2sz1rn +busz1en +bu2sz1l +bu2sz12p +bu2szid +bu2sz1il +bu2szim +bu2szin +bu2szip +bu2sziz +busz2 +busz1j +busz3s +bu2sz +1b +b2j +2br. +2b12ri +2brt +2bsz +b2sz +b12ti +b1tm +1b +b2d +b2ge +b2gy +b2ku +2b1ld +b2l12n +b2ne +2br +2b12te +2b12t +b12t +2b12ve +b2ze +1b +b2na +b2n +b2nel +b2nem +b2nes +b2n1e2t +bn1n +b2no +b2n +b2n12 +b2nu +b2n +b2ri +b2v1e2 +b2z1a2 +b2z1 +b2zo +b2z1 +b2z3s +bv2nyad +bv2ny +by2te +2c. +1ca +2c1abl +ca1b2r +ca2cl +ca2ch +ca2ds +2c1a2d +ca2es +cane2 +ca1fro +2c1agg +ca2gya +cagy1a2d +ca2gyu +2c1ajk +2c1a2kad +ca2kc +ca2k1z +2c1akc +cak2kol +cak2k1 +ca1kri +cala2g1 +ca2lan +ca2l1a2s +2c1albu +ca2l1este +ca2l12l +cal2t +cal1te +ca2lim +ca2l1ip +cal1osz +cal1p +cal1s +ca2l +ca1ly +ca2nal +ca2nar +2c1a2ni +can2ne +ca2r +ca2p +ca1p2r +ca1p2s +ca2ran +ca2rn +2c1arc +ca2ris +ca1s2p +2c1assz +cast2 +ca1sto +ca1str +2c1aszt +ca2tau +ca2tem +2c1atl +c1a2uk +cau2n +ca2vat +2c1a2zo +1c +2c1br +c2ga +c2g +c2gy +c2la +c1ll +2c1lm +c2ne +c2nt +c2nir +c3p2a3 +2c12po +2c12rad +2c12rak +c2r1as +c2ria +c2ri +c2r1i2n +2crk +2c1rp +2cru. +2c12ruh +2crus +c2ss +2c12s +2c1sv +2c12szai +2c12szo +2c12t1a2 +c1th +2c12t1i2 +2c1tm +2c1tr +2c1tt +2c12t +2c1tv +cb2lo +cb2ra +c2c1a2j +c2c1ak +cc1alb +cc1a2ny +c2c1a2r +c2c1au +c2c1g +c2c1l +cc1bl +cc1ef +c2c1elm +c2c1ember +c2c1p +c2c1r. +c2c1rte +cc3he +cc3h +c2c3ho +cc3h +cc3h +c2c1i2m +cci2na. +cc1ing +cci2v +cc1i2pa +cc1iro +c2c1i2z +cc1r +cc1kl +cc1k2r +cc1o +c2c1ov +cc1n +cc1s +cc1z +cc1pl +cc1pr +c2cs +c3csap +c3csar +ccs1as +c3csat +ccs1l +c3csp +ccs1s +ccs1tl +ccs1eg +ccs1elem +ccs1ell +ccs1elv +ccs1embe +ccs1eml +c3csep +ccs1l +ccs1rt +ccs1iv +c3csop +ccs1ork +cc3soro +ccs12l +ccs1nt +ccs1s +ccs1ut +c3cs +c3cs +cc3sza +cc3sz +ccs3zen +cc3sz +cc1j +c2c1g +cc1r +cc3z +cc3ze +cc3zs +cda2l12 +cda2l1i +cde2m1e2k +cde2m1el +cd2ra +cd2r +1ce +cea2l +ce2at +ce2au +ce2r +ce2bd +ce1bl +ce2ch +cec3he +2c1e2dz +ce2gas +ce2g12k +cegs3s +ce2gina +ce2gor +ce1g2r +ce2gu +ce2g +c1egy. +c1egyb +ce2gyen +c1e2gyi +c1egym +c1egyr +2c1egys +2c1e2ke. +ce1kl +2c1elad +2c1e2lg +cel1r +2c1elf +2c1elha +2c1elj +2c1e2los +c1e2la +2celdt. +2c1e2lf +2c1e2l +c1e2l +2c1els +2c1elt +c1elto +2c1elv +2c1e2mel +2c1eml +cenc1c +cen2c1eg +cen2c3s +2c1eng +cen2s1g +cen2tau +ceo2l +ceo2r +2c1e2pe. +2c1e2pi +ce1p2r +cep2sz1a2 +cep2sz12p +cep2szi +cep2t1a2 +cep2t1r. +cep2tim +cep2t1ol +2c1e2rej +ce2rz +2c1e2r +cer2t1a2 +cert2 +cer2tr +cer2teg +cer2t1e2l +cer2t1emb +cer2t1est +cer2tl +cer2t1n +cer2t1ol +cer2t1 +cer2tu +cert2 +cer2t1z +ce2sem +2c1e2ss +2c1e2s +ces2t12j +ces2t1k +ce1stra +ce2t1e2g +ce2t1essz +ce2t1esz +ce2t12t +2ceth +cet1ill +ce2t1i2n +ce2tiz +2cetn +2ceton +ce1t2ra +ce2t1us +ce2td +cet2z +ce2t +ce2vs +ce2v +2c1e2zer +2cezrede +1c +2c1br +c2dl +c2g1a2 +c2g12 +c2g1eg +c2g1e2l +c2ge2r +cg1ere +cg1er +c2g1esem +c2get +c2get +c2g1k +c2gp +2c12gs +cg1g +c2g1i2d +cg1iga +c2gig +c2gim +c2gir +c2g1iz +cgo2 +c2g1ok +c2gol +c2g +c2g +c2g1u2 +c2g +cha2 +c2hal +c2han +c2har +c2hed +c2h1e2g +c2hir +c2hu +c2h +2c1ks +c2la +cl1a2n +c3lap +cl1a2r +c2lb +c2ll +c2l12r +c2l12t +c2le. +c2led +c2leg +c2lei +c2lek +c2l1e2l +c2lem +cl1emb +c2len +c2l1er +c2l1e2s +2c12let +2c12lez +c2lb +c2l12k +c2lnk +c2lp +c2lre +c2ls +c2lim +c2lin +c2lir +c2l1is +c2liz +c2l +c2l +c2l12 +c2l12 +clt2 +cl1tr +clu2 +c2l1ut +c2l +2c12l +c2p +c2p +c2rag +2c1rd +2c12rs +c2rin +2c1rint +c2ris +cr1s +2c1rt +2c1rt. +c2r +2c1rz +cs3s +2c1szh +2c1tk +2c1tt +2c1v. +2c1vad +2c12ve. +2cvei +2c12vek +2c12ven +2c12ves +2c12vet +2c12vt +c2vi. +2c1vn +2c12v +cf2l +cf2ra +cf2ri +cf2ro +cg2ra +cg2ri +c2h +1cha +c3had +2c3haj +2cham +2chang +2c3harc +2charm +2chat +2c3hav +1ch +2c3hm +c3hny +c3hz +ch1bl +1che +2c3heg +2chev +2c3hez +1ch +1chi +2c3hib +2c3hi +2chitel +2chitet +c3hi +1ch +1cho +cho1d2 +2c3hor +2c3hoss +1ch +1ch +1ch +ch1pr +ch1sc +ch1sp +1chu +chu2r +2c3huz +1ch +1ch +1ch +1ci +ci2aa +ci2a +cia1b2 +ci2aba +ci2abo +ci2abr +ci2ac +ci2a1d2 +ci2ae +ci2a +cia1f +cia2fag +ci2afr +ci2a1g2 +ci2ah +ci2aik +ci2a +ci2aj +ci2akar +ci2akas +ci2akn. +ci2ak +ci2ala +ci2al +ci2ale +ci2al +ci2alo +ci2am +ci2any +ci2ao +ci2a +ci2a +ci2a +ci2a1p2 +ci2ar +ci2asza +ci2asz +ci2asz +ci2aszo +ci2asz +cia1t2 +ci2ata +ci2at +ci2at +ci2ato +ci2at +ci2au2 +ci2a +ci2a +ci2a +ci2av +ci2az +ci2lan +ci2nr +ci2 +2c1i2deg +ci2deo +2c1i2d +2c1i2dom +2c1i2d +cie2r +2c1ifj +2c1i2ga. +2c1i2gaz +ci2ge. +ci1g2r +ci2ker +cikka2 +cik2kaj +cik2kan +cik2k1o +ci1k2la +2c1ikr +ci2l12t +2cillu +ci2mit +2cimpu +ci2n1al +ci2n1rt +cin1d2 +ci2n1e2re +2cinf +2c1inge +2c1ingr +ci2nim +cin2kac +cin2k1a2l +cin2krt +cin2kol +cin2kors +cin2k +ci2n +cin2tar +cin2t1es +cinus1s +ci2n +2c1inv +ci2od +ci2of +ci2og +cio1gra +ci2oi +ci2ol +ci3olo +2c1i2onn +ci2op +cio2v +ci2a +ci2 +ci2c +ci2dar +ci2e +ci2g +ci2 +ci2kal +ci2kam +ci2k +ci2ke +ci21kl +ci2kom +ci2kos +ci2ku +ci2l +ci2mag +ci2m +ci2n +ci2o +ci2 +ci2 +ci2 +ci21p +ci2s +ci2se +ci2s1r +ci21s2k +ci2szo +ci2t +ci2 +ci2 +ci2zn +ci2r +ci2rat +2c1i2rn +2c1i2rod +2c1irt +ci2si. +2c1isko +2c1ism +2c1isp +ci1stad +ci2sz1i +ci2t1aj +cit2r +cit1r. +cit1ra +cit1r +cit1ro +cit1rr +ci2tik +ci2t1ol +ci1ty +ciumi2 +ciu2min +ciu2m1io +ciumkz1 +ciu2t +2c1i2vad +2c1i2vs +1c +c2ja +c2j +c2m1a2 +c2m1 +c2m1e2l +c2m12l +c2m +c2mo +c2m +c2m +c2mu +c2r +c2r +c2v +c2ve +c2v +c2zs +c2z +ckaka2 +c2k1alj +c2k1arc +cka2rom +c2k1g +ck1ll +c2k1rn +c2k1e2g +cke1p +1cker. +1ckerk +1ckern +ck2p1e2l +c2k12r +c2k1rl +c2k1rt +ck1fl +ck1fr +ck1ill +c2k1z +ck1kl +ck1k2r +ck2lu +c2k1o2la +ck1o2pe +c2k1orro +c2korru +c2korr +1c2kosak +c2k1ou +c2k1b +ck1ss +ck2re +c1k2ri +c1k2r +ck1sp +c2k1g +ck1lt +c2k1t +c2k12v +ck1r +ck2va +cli2s +clu2b1a +cmelo1 +cnya2k +1co +co2at +co2z +co2be +co2eu +co2kar +co2k +co2ke +co2kl +co2kp +2c1o2k +2c1o2laj +co2l1ro +2c1olda +2c1old +2c1old +co2le +co2l1ibr +co2li2m +col1ima +co2l1i2na. +co2l1ind +co2l1ing +co2l1inu +co2l1o2r +2colvad +2colvas +comba2 +com2bal +com2b1e2 +com2biz +com2bol +com2br +com2b +2c1oml +co2ol +2c1o2pe +cop2f1 +co1py +2c1orc +2c1o2ri +2c1orm +c1o2rom +2c1orro +2c1orr +2corv +2c1oskol +co2s1o2ku +cos3s +cos3zs +2c1oszt +co2ul +co2un +co2uv +co2vi +1c +c12ni +2c12r +c12ri +c2v +1c +c1lt +c1sv +c1sz +c1tb +c12t1e +c12t +c1tf +c1th +c12ti +c1tk +c1tm +c1tn +c1tr +c1ts +c1tt +c12t +c1v. +c2z +1c +c2r +cp2la +cp2ra +cp2re +cp2r +cp2ri +cp2ro +cp2r +c2s +1csa +2csabl +2cs1a2dat +2cs1a2d +2cs1a2d +2cs1akc +csa2lakj +csa2lap +2csal +2csalt +2csalb +2cs1alg +2cs1alk +cs1alle +2cs1alm +csa2lomb +cs1amb +2csant +csa2pl +2csapka +2csapk +csa2por +2csapk +2csapkr +2csapsab +2cs1arc +2csarg +2csark +2cs1arz +2cs1ass +csa2t12r +csavar1a2 +cs1azo +1cs +cs2be +2csf +2csg +cs12gak +cs12gu +2cs1rad +2cs12rak +2csram +2csrat +cs2rt +2cs1rny +cs12ruk +2cs1s +2c3ssi +2cs1s +2cstss +2cstf +2cstm +2cstr +2csv. +2c3svo +cs1bl +cs1br +cs1d2r +1cse +2cseb +cs1e2ce +cse2csa +2cs1e2d +2cs1edz +cs1eff +cs1e2ges +2cseg +2cs1e2ke. +2cself +2csell +2csel +2cselta +2cselt +2cselv. +2c3sely +2cs1ember +2cs1e2mel +2cseml +2csemu +csen2d12 +cse2nis +cse2n3yen +2csenz +cse1p2r +cse2rl +cse2r1e2ped +2cser +2cser +2cses +2cseszm +cse2tz +2csev +2cs1ex +1cs +2csg +c3sg. +c3sgb +c3sgg +c3sgh +c3sgi +c3sgn +c3sgr +2cshes +2cshs +2cs12ka +2csks +2cs1le +cs2m1a +2csnekb +2csneke +2csnek +2csnekk +2csnekr +2csneks +2csnekt +2csnek +2csp +2csp +2csrde +cs2rsk +2c3srv. +2csrvb +2csrvh +2csrvr +2csrvv +2csrz +cs2sza +cs2tab +2csv. +2csvek +2csvn +2csvr +2csvv +cs1fr +cs1gl +cs1gr +1csi +csi2 +2csid +2csig +2csim +2csimog +2csimpo +2cs1i2na. +2csinas +2cs1ind +2cs1inp +2cs1inv +2csiono +2csip +2csiv +2csiv +1cs +2cski +2c3srb +2c3srj +cs12r +2cs12v +2csze +2cszl +cs1zn +2cszt +cs1z +cska1s +cskasz2 +cs1kl +cs1kv +c3slg +1cso +2cs1o2 +2csobj +cso2k1 +2csokk. +2csokoz +2csolaj +2csolda +2csold +2csold. +2csoldk +2csoldm +2csoldn +2csoldr +2csoldt +2csoldv +2cs1oli +2csoll +2csolvas +cson2t1a2 +2csopc +2cs1orc +2csori +2csork +2c3sorv +2csoszl +2csoszt +1cs +cs1d +cs2kes +cs2k12 +2cs1n +1cs +2cskr +cs1ml +csn3n +2csr. +c3sre +2csssz +2csv. +2cszn +1cs +3cs. +3csb +cs2h +2csrz +cs2sz12ra +cs2szk +cs2sz +3csv +c3s2pek +cs1p2l +csp2r +cs1ps +cs1sl +cs1s2p +cs1s2t +cs3sz2 +cssza2k +c3s2tab +cs2top +cst2r +c3stru +1csu +2csudv +2csug +2c3suho +cs1ujj +2cs1una +2csuni +2cs1ura +2cs1u2r +cs1u2tas +2cs1ut +cs1ut +1cs +cs1p2 +2cstn +1cs +2csd +2csg +2csgy +2cs1nn +cs12te +2c3sv +2cs1z +1cs +c4s3zac +cs3zaj +csza2k +cs3zam +c3szl +c3szm +cs3zp +cs3zt +c3szz +c3sz2c +c3szer +c3sz +c3sz2f +c3szi +c3sz +c3sz2l +c3szob +cs3zokn +c3szol +cs3zon +c3szor +cs3zn +c3sz +cs3zs +csz2t +cs3zug +cs3z +c3sz +c3sz +c3sz2v +ct2ra +ct2re +ct2r +ct2ri +ct2ro +ct2r +1cu +cucci2 +cuc2cin +cuko2r1a +cula2te +cu2l +2c1und +2c1u2no +2c1u2ra +2c1u2t +1c +c2j +c1r. +c1rr +c12ti +c2to +1c +c2ge +c2gy +2c12l +c2l +c1nn +c2re +c2r +c2r +c2te +c2t +c2t +c2ve +c2ze +1c +c2z +cva2nem +cva2nv +cve2nv +cven3n +c2z +1cza +cza2ib +cza2i +cza2ih +cza2ik +cza2in +cza2ir +cza2it +cza2iv +1cz +1cze +2c3zen +1cz +c3zh +1czi +1cz +1czo +1cz +1cz +1cz +1czu +1cz +1cz +1cz +1czy +2d. +1da +daa2d +dat1 +2d1abla +da2c1ir +da2cz +da2dag +dad1ala +2dadato +2d1a2d +da1dr +da1dro +dae2r +da2d +da2r +da1f2l +da1f2r +da2g1el +dag3g +2d1ahh +da2ire +2d1a2jn +2d1ajt +2d1a2kad +dak2r +2d1akkora +d1akku +da1kl +da1k2r +da1k2ri +2d1aktu +dal1a2ga +dal1ajt +da2lakj +da2l1akta +da2l1akt +da2laku +da2lak +2d1alakz +da2l1a2l +da2lapc +da2lapk +da2lapn +da2lapr +da2l1aps +da2lapt +2d1a2lap +da2lar +da2l1asz +da2latt +da2l12g +da2l1l +dal12rak +dal1r +da2l1rb +da2l1rn +da2l1rr +dal12sz +da2l1ti +dale2l +dal1el +dal1ele +dal1ell +dal1e2s +dal2ke2 +dal1l. +da2l12ne +da2l1r. +dal1f2 +da2lid +da2l1i2ko +da2l1ikr +da2l1i2m +da2l1i2nt +da2lind +da2l1inf +da2l1ing +da2l1inj +da2l1int +da2l1i2nu +da2l1itt +dali2z +dal1izo +2d1alji +dal3l +2d1allo +dalo2m1e +dalomo2 +da2l1or +da2lr +dal1p2 +dal1ud +da2l1ur +da2l1u2s +da2l1u2t +dal2t +da2l1to +dal1tr +da2l +2d1amc +2d1amf +2d1a2nal +2d1ang +d1a2nyag +2d1a2ny +dao2k +da2r +da2v +2d1a2pa. +2d1a2pai +da2pak +da2pb +da2pd +da2p +da2ph +da2pi +da2pk +da2pm +da2pt +da2pv +2d1apj +da1p2l +da2p. +2d1app +da1pro +da1p2s +2dapt +dara2be +da2r1a2d +dar1ala +da2rant +da2r1azo +da2r1ta +da2r1tf +dar2c1e2 +dar2c3h +dar2cso +2d1arc +dar2d1a2l +dar2d1 +dar2del +dar2d1es +dar2d12 +da2r1el +da2r1il +darus3s +dar1uta +da2r1 +da2sl +da1s2l +da1spe +2d1assz +da1s2ta +da1szl +daszt2 +dasz2t +2dasz +da2t1akt +da2t1akv +da2t1a2la +da2t1alk +dat1apu +dat1ar +dat1ass +da2t1att +da2taz +da2t1ll +da2t1rad +dat2ramm +dat2ramr +da2t1ta +da2t1t +da2telem +dat1e2l1 +dat1el +da2t1elk +dat1ell +da2t1el +dat1elt +da2t12g +da2trte +da2t1rt +da2t1rth +da2t1rv +da2tid +dati2k +da2t1iko +da2tim +da2t1inf +dat1inte +dat1ist +da2tiz +da2t1r +dat1ve +dat1k2 +2d1atlas +da2t1osz +da2tc +2datm +da2t12r +dat2s +dat1s +dat1t2 +da2t1u2t +da2tt +da2tr +da2tya +da2ty +2d1a2uk +da2up +2d1a2ur +dau2s +dau2ta +da3u2tp +da2t +da2z +2d1a2vat +2d1avv +da1ye +da1y +2d1az. +da2zl +2d1a2z +da2zok +da2zon +1d +2d12b +2d1br +d2c3ho +d2f +d2ga +d2g +d2g +2d12gy +d2ll +d2lr +d2l1e +2d1ll +d2l +d2ly1a2n +dly2 +d2ly1s +dmu2 +d2m1ut +d2m1 +d2ny1a2d +d2ny1al +d2ny1a2n +d2nyaz +d2ny +d2po +2d12rad +d2r1ag +2d12rai +d2r1a2j +d2ral +2d12ram +d2r1a2n +d2r1a2p +d2rar +d2ras +dr1ass +d2rat +dr1atk +d2r +dr1l +d2r1e2 +d2rb +2d12ria. +d2rij +d2ril +d2r1i2p +dr1isk +dr1ism +d2r +d2rod +d2r1ond +d2r1ot +d2r +d2r +dr1s2 +drt2 +dr1tr +2dru. +d2ruk +dru2s1g. +dru2s12ga +d2r2 +2d1r. +d2r +d2r +d2s1a2d +d2sal +d2sar +d2s12g +d2s1rad +d2s1rh +d2s12ru +d12ss +dst1a2 +d2s1e2 +dsf2l12v +d2sim +d2sis +d2sol +d2sor +d2s2 +ds1r +d2s +d2s +dst2 +ds1tr +d2sut +d2s12 +d2szag +d2szaka +d2szal +d2szar +d2szav +d2sz1l +d2szrk +d2sz12ro +d2sze +dsz1el +dsz1em +dsz1er +d2szb +d2szip +d2szir +d2szis +d2sz12 +2dszki +d2sz1 +d2sz +dsz3s +d2sz1us +d2sz1 +d2sz12 +d2sz1 +2d12ta +dt1al +2d12t +2d1td +d2t1e2 +2d12t +2d1tf +2d12t +2d1tj +2d1tk +2d1tm +2d1tr +3dtu +2d12t +2d1tv +dba2l1 +db2lo +db2l +db2ro +db2r +dc2lu +dcsa2p12g +dd1elh +d2d1i2d +dd2s +d2d1o2d +dd2r +dd2r +d2dz +d3dzs +1de +de2aa +de2a +de2ac +dea2d +de2ae +de2a +de2agy +de2ah +de2a +de2ala +de2al +de2alo +de2am +dea2n +de2ao +de2ap +dea1sz2 +de2aszf +de2at +2d1e2b +ded1ell +2d1e2dn +de2d12v +de1dra +de2d12 +2d1e2dz +de2ep +dee2s +de2r +2d1eff +de1fr +de2g1a2l +de2g1a2n +de2g1l +de2g1e2l +degen3n +de2ger +de2g1k +deg1ri +de2gs +deg1ss +degsz1 +deg3g +de2giz +2dego +de2gor +deg2 +de2g1l +de2gr +de2g1s +2de2g +2d1e2gye +degyez1 +2degz +2d1ehh +deho2g +de2if +dei2g +de2r +de2k1a2k +de2kaz +de2k1e2g +de2kellen +de2kep +dek1e2r +de2k1esz +dek1kb +dek12ke +de2k1l +de2k1ri +de2krte +de2k1rt +de2k1rv +de2k1rz +de1klu +dek1old +dek1s +deksz2 +2d1elad +de2lef +2d1e2legy +dele2m1a +dele2m +dele2meg +de2lemek +dele2mel +delem1ele +dele2mu +2d1e2lem +2d1e2lemz +dele2t1a2 +2d1eletet +2d1e2l12k +2d1e2ll +dels3s +2d1elha +2d1elho +2delkezd +2delkezd +del2lal +del2l1an +del2l1e2g +delle2l +del2l1ele +del2lelk +2dellen +2d1ellene +del2l1ent +del2ler +del2l12j +del2l12k +del2l1in +del2l1is +del2los +del2lr +del2lr +2d1elma +2d1eln +de2los +2del +de2ll +de2lad +2d1e2lka +2delrej +2d1elsa +2d1eltett. +2d1eltr +2d1elv. +2d1elv +2d1elves +2d1elvo +2d1elv. +2d1elve +2d1elvk +2d1elvn +2d1elvr +2d1elvs +2d1elvt +2d1elvv +de2mad +de2m1a2l +de2maz +de2m1l +de2mez +de2m12rem +de2m1rm +de2mim +dem1ing +2demoi +dem1p +de2mus +dem2l +de2nal +2d1e2ner +denki2ne +de2nol +de2n12 +dens1s +de2od +de2of +de2o1g2 +de2oj +de2olo +de2om +de2ot +de2pe. +2d1e2p +de1p2re +de1pro +de1p2s +de2rad +der1aka +de2rala +de2r1a2n +de2r1ar +de2r12g +de2r12r +de2rs +der1zt +2derd +dere2c +2deredm +2d1e2reje +2derejn +2derejr +2d1e2rejt +de2r1e2kei +der1e2le +der1ell +der1e2l +der1elt +de2rer +de2r1e2s +de2r1l +de2rid +de2r1il +de2r1i2m +de2r1in +de2r1i2p +de2r1i2s +der2nk +de2r1osz +de2r12r +de2r +d1er. +der1s. +d1ert +d1erv +der1sp +deru2 +de2rut +de2r12g +de2r1ld +der1le +der1ltet +dervis1s +2de2s1a2 +2desg +de2sip +2desk +2destes +de1sto +de2sur +des2 +de2s1r +2d1eszm +de1sz2ta +de2sz. +de2t1k +de2tika +de2tik +2d1e2v +2d1evv +de2xa +dexi2 +de2xin +de2xiz +de2x +de2x1o +de2x +2deza +de2zak +de2zr +de2zil +de2zin +de2z1or +deze2 +dezksz1 +2d1ezr +1d +2d1br +d2dap +d2d1 +d2du +d1fl +d2g1a2 +d2g12 +d2g1e2b +d2g1eg +d2gp +d2g1rk +d2gs +dg1sz +dg3g +dg1iga +d2gig +d2gin +d2g +d2g1ok +d2got +d2g +dg1s +d2g1u2 +d2g +d2g +2d12hes +2d1hs +2d1j. +2d1jb +d2k1ab +d2kac +d2k1a2d +d2k1a2l +d2k1a2n +d2k1ap +d2k1as +d2k1au +d2kaz +d2k1g +d2k1rt +d2ks +dkt1a2 +d2k1e2g +dke2l +d2k1ele +dk1ell +dk1el +d2k1elt +d2k1er +d2k1esz +d2k1eti +d2kez +d2k12j +d2k12k +d2k12l +d2k1r. +d2k1te +dk1isz +d2kiv +d2k +dkkulcs1 +d2k1old +d2kop +d2k1or +d2k1osz +dk2 +d2kr +d2k12v +d2kz +d2k +dk2rm +d2k1ut +d2lad +d2lam +d2l12 +d2leg +d2le2l +dl1el +d2les +dl1est +2d12let +d2lim +d2lio +dlk2z1n +d2lo +d2l12 +2d12l +d2l1u2 +d2lk +d2ly +d2m1e2l +d2m1e2m +dna2 +dn1ac +dnr1a2 +2d12neke +d2ny1el +d2nyid +d2nyo +d2ny +dp2i +2d12p +2d12p +d2rag +d2ral +d2r1an +d2rar +d2ras +d2r +dr1d2 +d2reg +dr1eml +dr1es +d2r1est +d2rez +d2rs +d2rif +d2r1ik +d2r +d2rot +dr2 +d2rr +d2r +2d1rt +2d1rth +d2r1t +d1ry +2d1rz +dsa2 +d2s1aj +d2sal +d2sap +d2sar +d2s1az +ds2 +d2s1r +d2seg +d2s1e2l +d2s1eti +d2s1g +d2s +d2s +d2s12t +dsz1ak +d2s3z +d2sz1k +d2szv +d2sz1o +d2sz +d2t1as +d2t1e2g +d2t1is +2d1tke +d2tr +2d1v. +2d1vb +2d12ve. +2dvei +2d12vek +2d12vem +2d12ven +2d12ves. +2dvesb +2d12vesek +2d12vesen +2d12vesh +2dvesi +2dvesk +2d12vesn +2dvesr +2d12vess +2d12vet +2d1vez +2d12vb +2d12vi +2dvn +2dvr +2d12vt +2d12vv +2d1vf +2d1vh +2d12vi +2d1vk +2d1vn +2d1vr +2d1vs +2d1vt +2d12vu +2d12v +2d1vv +2d1vz +df2nyem +df2lo +df2l +df2r +df2re +df2ri +df2ro +df2r +dg2zr +dgzt1 +dg2zi +dg2z +d2ge. +dg2le +dg2li +dg2l +dg2ra +dg2r +dg2r +d2gyu +d2hali +dhan2g1e +dh2t1 +d2hi. +d2hi +d2hih +d2hii +d2hij +d2hik +d2hir +dh2s12 +1di +di2aa +di2a +dia1b +di2ab +di2abi +di2abr +di2ac +dia1d2 +dia3da +di2adi +di2ado +di2ae +di2a +di2afa +di2agy +di2ah +di2ai2k +di2a +di2aj +di2akp +di2akol +di2ala +di2al +di2ali +di2am +di2ana +di2an +di2ani +di2an +di2ao +di2a +di2a +di2a +di2a1p2 +di2ara +di2asza +di2aszk +di2asz +di2a1t2 +di2au2 +di2a +di2a +di2a +di2av +di2az +di2k1e +di2kol +din3n +di1c2k +di2cs1aj +di2cs1e2r +2d1i2deg +2didej +di2deo +2d1i2dn +di2d1i2o +2d1i2d +di2eu +di1fl +di2ga. +2d1i2gn +di2ge. +di2g1e2l +2d1i2gn +di2gt +2dijes +di2kp +di1k2l +2d1i2konh +di1k2ro +dik1u2ta +di1k2v +di2lan +dile2m +dilig2 +di2l +di2l1 +di2l +di1ly +di2ma. +2d1i2m +di2mit +2d1imp +2d1i2naka +2dind +2d1inf +dinga2 +din2gal +2d1ing +2d1inger +2d1i2nic +di2n1ing +2d1inj +di2nd +di2n1m +di2n12n +di2n12r +2d1inp +2d1int +2d1inv +di2oa +di2oi +di2ok +di2ol +di2ome +di2ov +di2a +di2 +di2e +di2g +di2 +di2kam +di2k +di21kl +di2kok +di2ku +di2m +di2o +di2 +di2 +di2 +di21p2 +di2r +di2ri +di2si2 +dis1ik +di3sor. +di2spe +di2sz +di2u +di2 +di2 +2dipar. +2d1i2par +2diparb +2d1i2pari +2d1i2paro +2d1i2rat +2d1i2r +2d1i2rod +2d1irt +di2saj +2d1i2si. +2d1isko +2d1ism +2d1iste +di2tal +dit1a2la +dit1ar +di2t1e2g +dit1t2 +di2t +dium2 +diu2m1n +diu2mil +di2t +di2vad +2d1i2var +diva2t1a +2d1i2z +1d +d2g +d2j1to +d2je +d2j +d2j +d2j +2d12r +dri2 +d2rik +2d12r +d2sz1a +d2szer +d2sz +dts3s +2d1v. +2d12ve +2dvn +2d12v +2d12v +d2zi +d2zs +d2z +d2z +dj2eg +dje2gya +dj1is +djo2n1 +dka2n12 +dkia2 +dkie2 +dk2la +dk2li +dk2lo +dk2lu +dk2r +dk2r +dk2ri +dk2ro +dk2r +dk2va +dk2vi +dls3s +dl2s3z +dle2 +dl1g2 +dlt2 +dl1kr +dme2g1r +dna2pe +dn2v1 +dn2k12l +1do +do2z +do2b1ag +do2b1a2l +doba2n +do2b1any +do2b1r +do2bt +dobe2 +do2b1el +do2b1ill +do2b +2dobje +do2bo +do2b1old +do2b1or +do2b +do2b +do2b +2d1o2d +do2gar +do2gr +dogs1s +do2g1ol +do2gor +dogos3s +do1g2r +do2g +do2kal +do2kas +do2kj +do2k1l +do2k1e +do2k12l +do2kp +dokk2 +dok2k1b +dok2k +do2k1ott +2d1o2koz +do2k +dok2t +dok1to +do2k +2d1o2laj +dola2tar +dola2t1e +dola2t1r +2d1olda +2d1old +2d1oldo +2d1old +2d1oltr +2d1olts +2dolvas +dom1a2c +do2m1rb +do2m1r +do2m1rh +do2m1rj +do2m1rk +do2m1rl +do2m1rn +do2m12ron +do2m1rr +do2m1rt +dom2ba2l +dom2bel +dom2bol +dom2bn +do2mel +2dom +2doml +do2m1ond +do2m +2dom +do2m +do2n1ad +dona2l +don1ala +do2n1a2r +do2n1as +do2n1l +do2n1ta +do2n1tj +do2n1ts +do2n1tv +don1d2 +do2n1e +donos1s +do2n1osz +do2n +don1s +dont2 +don1tr +do2n +do2nyal +do2nyar +do2nye +do2ny +2d1o2pe +do1p2l +dor1akn +do2r1a2l1 +do2r1a2p +do2r1as +do2rat +dor1ll +do2r12lo +dord2 +dor1dr +do2r1e2 +do2rid +do2r1il +do2r1is +do2r1ita +dor1k2 +do2r1okl +dor1oszt +do2r +do2r +2d1orr +dors2 +dor1sp +dor1tr +dor2t +do2r +2dorvos +do2ug +do2ut +do2vi +do1ye +1d +da2d +d2g +d2r +d1bl +2dez +d1fl +d1f2r +2dg +d1g2r +di2g +d2v +d1k2l +d1kr +d1k2v +d2mab +d2mak +dm1org +d2m +d2r +d1p2l +d1p2r +d2rd +d12rk +d2ri +d2sam +d2sas +d2sel +3dsi. +d2sip +d2sis +d2sr +d1s2k +d1spe +d1spi +d1s2r +ds3s +d1stb +d1str +d2s12 +dsz2 +d1szf +d1szp +d1t2r +2d12v +1d +d1bl +d2ga +d2g +d2g1el +d2gev +dg3g +dgna2 +d2go +d2g +dg12l +d2g1 +d2gu +d2ka +d2k +d2k1el +d2k1e2r +d2kk +d2k1r. +d2k +2dntz +d2ra +d2r +d2ro +2d12rks +2d1sz +d1tl +dt2trt +d2ve +d2vi +1d +da2n +d2g +d1bl +d1cl +d1dra +de2l +de2r +d2l +d2te +d1fl +d1f2r +dg2p1e2k +d1gr +dir2 +di2ta +d1kl +d1kv +d2ny1a +d2nyele +d1pl +d1pr +2drb +2d1rl +2d12reb +dr1egy +dr1ele +dr1el +2d12rem +2d12r. +2d12rh +2drk +2d1rl +2drn +2d1rh +2d1rif +2d12ril +2d12r1in +2d12rip +d2r1is +2drok +2d1ror +2dros +d2rd +d2r1z +2drr +2drun +2drur +2d12rut +2d12r2 +dr1g +dr1l +2d1rz +d2s1rv +d1sk +d1s2m +d1sni +dso2d +ds1odo +d1spe +d1s2pi +d1sp +d1s2ta +d1st +d1str +d1sv +d1sz2 +dt1ll +d1t2r +dp2la +dp2le +dp2l +dp2ra +dp2re +dp2r +dp2ri +dp2r +dp2ro +dp2r +dp2sz +dra1ps +dravasz1 +drg1g +dr2sz1l +dr2sze +drta2 +dr2tal +dr2t1e2 +dr2t1r +dren2d12 +1d2ressz. +1d2resszb +1d2ressze +1d2resszh +1d2resszk +1d2resszr +1d2ressz +dr2sz +dro2g1a +dro2g +dro2gen +drog2n1i2 +drog3g +dro2g12 +dro2n1a2 +dro2nyi +drosz2 +dro1szf +dro1t2r +dr2baj +dr2t1a2 +dr2t12 +dr2tis +dr2t12 +d2rui +dru2se +dru2si +dsg1g +ds2g1el +ds2gl +ds2k +ds2li +ds2pe +ds2pi +ds2po +ds2r +ds2ta +ds2t +ds2t +dst2r +dsza2k +dsz2las +dszraz1 +dsz2e +dsze2ra +dsze2r1 +dsze2r1elv +dsze2r1o +dszert2 +d1sz2l +d1szn +d1sz2p +d1sz2t2 +d1sz2v +dta2g1a2 +dtalpa2d +dtal2p1ada +dtal2p1al +dta2n12s +d2t1kn +d1t2r +d1t2r +d1t2ri +d1t2ro +d1t2rf +d2t1l +1du +du2cem +du2c3h +du2c +du2c +due2l +du2gal +du2g1r +2d1ugr +2duit +2d1ujj +dula1k2 +dula2t1 +du2l1e +du2lp +duli2 +du2l1im +du2l1in +du2lis +du2l +du2l +du2l +2d1u2ni +2d1u2no +2d1unt +du2a +du2 +du2d +du2f +du2l +du2p +du2rai +du2rak +du2ral +2d1u2rat +du2rb +du2rh +du2rt +du2ruk +du2sal +du2san +du2sar +du2s1as +du2sl +du2seg +du2s1rt +du2sin +du2s1iv +du2sol +du2s +du2s1 +2duszo +dus3zs +du2t1i +2d1u2to +du2t. +du2tr +du2tu +1d +d2ce +d2ch +d2cse +d2c3so +dc3sz +d1dr +d2j12 +d2j +d2r1a2c +d2ral +d2r1e2 +d2rn +2d12ron +d2r +d2sz +d2sz +d2t1a2 +d2t +2d1tj +d1tl +2d1tn +d2ton +2d1tr +1d +d2d +d2gy +dgy1rn +d2ha +d2h +d2hel +d2ho +d2h +d2kt +d2l +2d1ld +d2lep +dls2 +2d1nne +d2r +d2te +d2t +d2t +d2ve +d2ze +d2z +1d +d1pr +d1rl +d1sz +d1tr +d2z +d2z +dva2raj +dva2r1e +dva2r12 +dv2nyan +dv2ny +dv1ta +dv1te +dv1ece +dv1e2leg +dv1elk +dven2t1 +dve2ral +dve2rr +dve2rip +dver1s +d2v1e2ss +d2v1e2tet +dv1lm +d2v1p +d2v1rd +d2v12ri +d2v1rt +d2v1rz +dv1fr +dvi2csa +dvi2cs +d2v1iga +dvigaz1 +dvitz1 +dv1or +dv2l +dv1l +dv1s +dv1z +dv1pr +dv1un +dv12t +d2v1g +d2v12z +d2v1z +dwa1yi +dy1as +d1yb +d1yn +dy1t +d1yv +dy2j +dy2ke +dyk2k +dyk2n +dyk2t +dy2v +d2z +1dza +dza2 +2d3zaj +dzak2 +dza1kr +1dz +dz2r12ra +dzs1s +d3zsz +1dze +1dz +dz2sa +1dzi +2d3zil +1dz +1dzo +1dz +1dz +1dz +dza2 +2dzb +2dzd +2dzj +2dzn +2dzr +1dzsa +1dzs +1dzse +2dzs1e2g +2dzs1esz +1dzs +1dzsi +2dzsir +2dzs1is +d3zsiv +1dzs +2dzso2 +dzs1ok +1dzs +1dzs +1dzs +dzs1s +1dzsu +1dzs +2dzsj +1dzs +1dzs +1dzu +1dz +1dz +1dz +2e. +e1a +ea2bl +e2abo +e2ab +ea2da +ea2d +eads1s +ea2d +ea1d2r +ea2du +ea2d +e2af +e2afe +e2afi +e2afo +e2af +e2af +e2af +e2af +ea2gi +e2ag +e2aid +e2ail +e2aim +e2aip +e2ais +ea2ja +e2ak. +ea2kas +e2akat +e2ak +e2akb +e2ake +e2akp +e2akh +e2aki +e2ak +e2a1kl +e2ako +e2ak +e2ak +e2a1k2r +e2ak +e2ak +e2aln +eal1eg +ea2lu +e2am. +e2ama +e2am +e2amel +e2amer +e2am +e2amin +ea2mo +e2amu +e2am +e2am +e2ane +e2an +e2an +e2ans +ea2nya +e2api +e2apo +e2ap +ea1p2ro +e2ar. +ea2ran +ea2ras +ea2rat +ea2r +e2arb +e2are +e2arh +e2arj +e2arn +e2ar +e2arr +e2aru +e2ar +e2aso +e2a1st2 +e2as +e2as +e2aszem +e2asz +e2ata +e2at +e2atc +e2ate +ea2t1eg +e2at2 +ea2tl +ea2t1ne +e2atf +e2atg +e2ath +ea2tid +eat1ing +ea2tip +ea2tir +e2atm +eatmo1s +eatmosz2 +e2atn +e2ato +ea2t1or +e2at +e2at +ea1t2rak +eat2rn +e2ats +e2atu +e2a2t +e2at +e2atz +e2au. +ea2ut +e2a2ux +e2avi +ea1vy +ea2zo +e1 +e2b +e2cs +e2ga +e2g +e2gi +e2go +e2gu +e2gy +e2h +e2k1e +e2k1osk +ela2 +e2lad +e2l1ak +e2ll +e2l12r +e2l1e2 +el2 +e2ll +elfe2 +e2lid +e2l1in +e2lir +e2lism +e2lop +e2l1r +e2l +e2mu +e2nac +e2nal +e2n1at +en2 +e2nr +e2n1t +e2n1e2 +e2ny1a2l +e2ny1a2n +e2nyap +e2nyar +e2ny1as +e2nyav +e2ny1e2 +e2nyn +e2ny1r. +e2nyif +e2ny1ing +e2nyis +e2ny1o2ku +e2ny +e2po +e2rad +e2ram +e2ras +e2raz +e2ru +e2r +e2sa +e2s +e2s +e2s +e2su +e2sz +eta2 +e2t1e2 +e2t +e2t +e2tu +e2t +e2ba2d +eb1ad +eb1adta +eb1aga +e2b1ajk +e2b1a2la +e2b1alk +eb1ant +eb1a2ny +eb1atl +e2b1au +eb1a2zo +eb1gg +e2b1p +eb1ra +ebe2 +e2b1e2he +eb1ejt +ebe2l1 +e2b1e2lef +ebe2l1eme +e2b1elhel +e2b1enc +eb1este +eb1est +ebe2szek +e2b1ex +e2b1g +eb1p +e2b1rd +e2b1rt +e2b1rz +eb1gr +e2b1id +e2b1i2na +e2b1inf +e2b1ing +e2b1ir +e2b1i2s +e2b1izz +eb1kl +eb1kr +eb2lat +e1b2l +eb1okt +eb1o2la +eb1orv +eb1b +eb1s +eb2rus +eb1st2 +eb1tr +e2b1g +eb2l +eb1l +e2b1r +eb1z +ec1ajt +ec1alk +e2c1a2n +e2c1az +ec1g +e2c1l +ec1r +ec1bl +ec2c1a2 +ec2c1r +ec2c3h +ec2c1i +eccs1t +ec3cso +ec2c +e2c1eg +e2c1elo +e2c1elv +2ecento +e2cetb +ece2t1o +1e2cets +1e2cett +e2cet +ece2tz +e2c1ev +ec3har +ec3hen +ec3hi. +ech1in +1e2ch +ech1u +ec2le +ec2lu +e2csad +e2cs1a2la +e2cs1a2n +ecsa2p12g +e2cs1a2pk +ecs1ar +ecs2r +ecs1r +ecs1rb +ecs1ro +e2cs12t +e2cs12l +e2cs1r. +ecs1rt +e2cs1ol +e2cs1l +ecs1s +ecsszs1 +e2c3skb +e2c3st +ec3sze +e2c1ud +ec3z +ec3ze +e2d1ab +e2d1a2d +ed1a2ny +e2d1a2z +e2d12c +e2d1g +e2d1p +ed1egy +edeleme2 +e2d1elo +e2d1eml +ede2rak +ede2r1l +ede2rel +ede2r1k +ede2r1o +ede2r12l +ede2s1o +ede2t +ede2tel +ede2t1r. +e2d12j +ed2k +ed2kis +ed2k1o +ed2ly +ed2lyo +1e2dnn +1e2dny +e2d1p +e2d1rd +ed2sa +ed2so +eds3s +ed2s3z +ed12vn +ed12vr +ed1gr +2edic +e2dide +e2d1i2ga +edigaz1 +ed1ill +e2d1int +e2d1ira +ed1iro +e2d1r +ed1vn +e2d1z +ed1old +ed1orv +e2d1os +e2d1s +e2d1rs +ed2s1 +ed1pl +ed1pr +ed2ram +e1d2rog +e1d2r +e2d1g +e2d1t +e2d1z +ed2v1a2 +edv2 +ed2v1r +ed2vt +edv1r. +ed2v1z +edy1i +e2d3z +1e2dzi +1edzj +1edzr +1e2dzv +1edzv +e1e +ee2b +ee2cs +ee2dz +ee2ge +ee2g +eegsz1 +ee2gy +ee2he +ee2ke +e2el. +ee2la +ee2le +e2elb +ee2ld +e2elg +ee2lo +ee2l +ee2me +ee3men +ee2m +ee2mu +e2en. +e2enb +e2enj +e2ent +e2enw +ee2ny +ee2pe +ee2p +ee2po +ee2re +ee2ro +ee2r +ee2r +ee2s +ee2s +ee2sz +ee2te +e2e1t2h +ee2to +ee2ve +ee2v +ee2vi +ee2vo +ee2v +ee2z +e1 +e2de +e2ge +e2g +e2g +e2g +e2he +e2je +e2j +e2ke +e2k +e2le +e2l +e2li +e2l +elksz1 +e2l +e2l +e2me +e2ne +e2p +epts1s +e2p +e2r +e2ri +e2r +e2r +e2sz +e2te +e2ve +e2v +e2vi +e2v +efa2x1i +efek2t +efek2t12 +efeny2 +ef2f1in +ef2f1o +e1f2la +efle2x1i2k +ef2lu +efo2n1alk +efo2nik +eforma2 +efor2m1al +ef1pl +e1f2r +ef2r +e2g1a2b +ega2be +eg1abl +eg1abr +e2g1a2c +ega2cs +e2g1a2d +e2g1a2g +ega2i +e2g1a2j +e2g1a2k +e3gak +ega2lac +ega2lak +ega2lan +eg1a2lap +e2g1a2l +e2g1alh +e2g1alj +e2g1alm +e2g1als +e2g1alt +e2g1a2m +eg1ang +eg1ann +eg1ant +eg1a2ny +e2g1a2pa +eg1ap +ega2po +eg1a2p +e2g1apr +eg1arc +ega2ri +eg1a2ro +eg1art +e2g1ass +e2g1a2sza +e2g1a2szo +e2gasz +eg1atk +ega1t2r +e3g2aty +e2g1a2u +eg1a2va +e3gazol +ega2zon +e3gba +e3gb +eg12cs +e2g1f +e2g12g +eg1h +e3g2i +e3gja +e3gj +eg2ju +eg2m +e3g2n +e2g1p +e2g12r +e2g1rb +e3g2rg +e2g1rn +eg2ro +eg1rt +eg2ru +eg2r +eg2sa +e3gt. +e3g2tu +e3gva +eg2z +eg2zi +eg2zu +eg1bl +eg1br +eg1d2r +e2g1e2b +ege2cs12 +eg1edz +eg1e2ge +eg1ehe +e2g1e2ks +e2gela +e3geled +ege2leg +ege2lej +e2gelekt +eg1e2lemb +e2g1e2leme +e2g1e2lemn +e2g1e2lemr +e2g1e2lemt +ege2l1e2s +eg1elg +eg1e2lr +e2g1elf +e3g2elg +e2g1elha +e3g2elit +e2g1elj +e2g1elm +e3g2elne +e2g1elo +e3g2el +ege2lbbe +e3g2eld +e3g2elf +e3g2eli +e3g2elm +e3gelnye +e2g1elt +e3g2eltet +e3g2elt +e2g1elv +e2g1elz +e2gemel +e3gend +e3genye +eg1epe +eg1epr +e3ger +e2gerd +1egere. +e2gered +1e2gerek +e2ger +ege2rny +eg1erk +e3gerl +e2g1er +e2g1er +eg2esek +e2g1esete +e2g1eszk +e2getal +eg1e2ve +e2g1ex +e2g12g +e3gmb +e2g12neke +e2g12nekk +eg2ny1e2l +e2g1p +eg1ps +e2gr. +e2grb +eg2r1es +eg2re2t +egr1ete +eg2rez +e2gr +eg2rs +e2grg +e2gri +eg2ri. +e2grk +e2grn +eg12r. +e2grr +e2grs +eg1rt +eg1rth +e2grt +e2grv +e2gsz +eg1szl +1egszs +eg1te +eg1fl +eg2gim +eg3gyal +eg3gyan +eg3gys +eg3gy +e3gi. +eg1ibr +eg1idd +eg1i2de +e3gie +egi2g +e3gig. +e2g1iga +e2g1ig +eg1ij +e2g1i2ko +eg1ikr +e2gill +eg1imb +e2gimm +eg1inf +e2g1ing +eg1ino +eg1ins +e3g2io +eg1ira +eg1i2ro +eg1iss +eg1ist +egi2sz +e2g1i2ta +e3git +e2g1iva +e2g1iv +e3give +eg1iz +eg1izg +eg1izm +eg1izz +e2g1g +e2g1n +e2g12r +e2g1v +e2g1z +eg1kl +eg1kr +eg1kv +e2g1ob +e2goc +e2g1o2d +e2goi +e2g1o2k +eg1o2la +e2g1old +eg1olv +e3goly +2egom +ego2mi +e2gont +e2g1op +eg1org +e3g2orom +ego2ros +e2g1orr +e2g1orv +e2g1o2s +e2g1ot +e3g. +e3g2b +eg2do +eg12ra +eg1r +eg1v +e2g1b +eg1k +eg1nt +eg1r +e3grg +eg2rm +eg1t +eg1v +e2g12z +egksz1 +e3gre +eg1ri +eg1r +eg2szi +e3g2z +eg1pl +eg1pr +eg1ps +e1g2rat +e1g2rf +eg1sk +eg1sl +eg1sm +eg1sp +eg1s2t +egsz2 +eg1szt +eg1tr +e3g2ub +eg1ud +e3g2um +eg1u2n +e2g1u2ra. +e2g1u2rai +e2g1u2rak +e2g1u2ras +e2g1u2rat +e2g1u2r +e3guru +e2g1u2s +e2g1u2t +eg1u2z +eg1j +e3g2n +eg1r +eg1s +eg1t +e2g1d +eg2gye +e2g12le +eg12li +e2g1s +e2g1t +e2g1v +e2g1z +e2g1z +egvrosi2 +e2gy1a2d +egy1a2g +e2gy1aj +egy1akt +egy1a2la +e2gy1ar +e2gy1as +egy1a2t +e2gy1au +egy1az +e2gy1l +egy12r +egy1rf +e2gyt +egy1eleg +egy1elf +egy1ell +egy1elo +egy1e2lj +egy1e2lv +egy1elz +e2gyeni +1e2gyenl +1e2gyens +egy1eszt +1egyezm +egy1ks +1egyni +egy1r. +e2gyip +e2gyis +e2gy1iz +egy1ok +e2gy1ol +egyo2r +e2gy1os +egy1ot +e2gy12r +egy12l +e2gy1s +e2gy1z +egy12r +egyu2 +egy1ur +egy1ut +1egyt +1egzis +eha2de +eh2zal +eh1ell +ehe2lyes +ehe2rl +ehe2rt +ehere2 +ehe2r1el +ehe2r1em +ehe2ren +ehe2res +ehe2rin +ehe2rol +e2h12je +eh2n +eh2nv +eh2z +eh2zo +e2h1ors +eh1sz +e1i +ei2b +ei2h +ei2j +ei2n +ei2r +ei2t +ei2v +e2ibn +ei2de +ei2dei +ei2deo +ei2dn +ei2dom +ei2d +e2idp +e2ier +ei2g +ei2g +e2i1g2n +ei2gy +ei2ha +eil2le. +ei2ma +ei2m +ei2mit +e2imk +e2ims +e2imz +ei2na2 +ein1ad +ei2n12 +ei2neg +e2inr +e2int +ei2n1ita +ei2nol +ei2n +ein1t2r +ei2n +ei2on +ei2pa +ei2ram +ei2rat +ei2ri +ei2rod +e2ir +ei2ta +e2itb +e2itj +e2itn +e2itr +ei2va +ei2v +ei2vo +ei2v +ei2z +e2izmi +ei2zo +e1 +e2g +e2j +e2j +e2ra +e2r +e3rsbe +e3rsil +e3rsoc +e3rsonk +e2r. +e2ra +e2r +e2rb +e2rdn +e2rf +e2rg +e2rh +e2ri. +e2rik +e2rin +e2rit +er2 +e2rja +e2rj +e2rje +e2rju +e2rk +e2rm +e2rn. +e2rna +e2rn +e2rny +e2rr +e2rt +e2rv +e2t +e2v +e2ve +e2v +e2vi +e2vo +e2v +e2ze +e2z +e2z +ej1ab +e2j1a2d +ej1a2g +e2jak +ej1akk +ej1a2l +ej1a2n +ej1ar +ej1au +ej1a2z +ej1b +e2j12g +ej1l +e2j1rt +ej12t1e2 +ej1tv +ej1bl +ej1br +ejcsa2p1 +ej1dr +eje2c +e2j1ecse +e2j1ef +ej1e2ged +e2j1e2g +e2jekc +e2j1ela +e2j1elc +e2jelede +e2j1e2lemb +e2j1e2leme +ej1e2lem +e2j1e2lemn +e2j1elf +e2j1elha +e2j1elhel +e2j1elo +ej1elsz +ej1eltr +e2j1elu +e2j1eng +e2j1enz +e2j1essz +eje2sz +e2j1ex +e2j12j +e2j12k +e2j1l +e2j1p +e2j1te +ej1fr +ej1g2r +e2j1i2d +e2j1im +ej1ina +e2j1int +e2j1ip +e2j1iz +ej1g +ej1v +ej1kl +ej1kv +ej2mok +ej1ol +ej1op +ej1c +ej1n +ej2s +ej1t +ej1v +e2j1b +e2j1l +ej12ve. +e2j1z +ej1pl +ej1pr +ej1sp +ej1st2 +ej2tad +ej2tau +ej2tl +ej2tt +ej2t1elk +ej2t1este +ej2tev +ejt2r +ejt1r +ej2tin +ej2tiz +ej2tos +ej2t12r +ej2td +ej2t12l +ej2tn +ej2ts +ej1tra +ej1tr +ej2tr +ej1j +ej1r +ej12t +e2j1g +e2j1r +e2j12t +e2j1v +e2j1z +e2k1abl +ek1a2c +ek1a2d +e2k1a2d +eka2gy +ek1a2ja +e2k1ajt. +e2k1ajti +e2k1ajtk +e2k1ajtn +e2k1ajtr +e2k1ajtt +ek1a2kar +e2k1alj +e2k1a2lo +ek1alt +ek1ang +e2k1ani +ek1a2ny +ek1arc. +ek1arca +ek1arcr +ek1arc +eka2sip +e2k1au +ek1azo +e2k1g +ek1llo +ek1lm +ek1rad +ek2rai +ek12rak +ek1ras +e2k12r +e2k1rd +e2k1rf +e2k1rh +e2k1rk +e2k1rm +e2k1rn +e2k12ron +e2k1rr +e2k12ru +e2k12r +e2k1rv +ek1s +ek1ta +ek1td +e2k1th +ek1tj +e2k1tm +ek12to +e2k1tt +ek1bl +ek1br +1ekcm +ekci2f +ek1cl +ek1dr +e2k1eb +e2k1e2dz +e2k1egg +e2k1e2gye +e2k1e2kb +e2k1e2ks +e2kela +e2k1e2leg +eke2leme +ek1elha +e2k1elk +e2kell +e2k1elm +e2k1elo +e2k1eln +e2k1elr +ek1elta +ekel2t12r +e2k1e2ma +e2k1e2mel +ek1e2ms +ek1e2pi +e2k1estr +eke2szele +eke2szo +e2k1e2v +e2k1evi +1e2kh +e2k1g +1e2kik +ek1kek +e2k1kt +ek12le +ek1ln +ek1l +e2k1p +e2k1rin +ek1rtkb +ek2rl +e2k1sz. +e2k1szh +e2k1szn +ek2tel +e2k1tk +e2k1tl +e2k1tt +e2k12ve. +e2k12vek +ek12vet +e2k1vi +ek1fr +ek1gn +ek1gr +eki2 +ek1i2ga +ekigaz1 +ek1i2ge +e2k1ig +ekii2 +ek1ill +e2k1ima +eki2mr +e2k1in +ek1ind +e2k1isk +ek1ism +e2k1isp +ek1i2zo +e2k1j +ek1r +ek1z +ekka2r2 +ek2k1ele +ek2k1elf +ekk1osz +ek1kri +ek2k +ekls3s +ek2lim +ek3n +e2k1o +ek1obj +e2k1odv +e2k1o2la +ek1oll +e2k1olv +e2k1o2pe +ekor2da +ekor2d12 +ek1o2rom +ek1orra +e2k1orv +ek1otth +e2k12h +ek12ra +ek12r +ek2k +e2k1k +e2k12l +ek12l +e2k1m +e2k1nk +e2k1nt +ek2ri +e2k1rv +ek1pl +ek1pr +ek1ps +e1k2ram +e1krt +ek2ris +e1k2r +ek2rm +ek1sl +ek1sm +ek1sp +ek1st +eksz1al +ek2szip +ek2tau +ek2taz +ekt1elk +ek2t1esz +ek2t1rd +ek2til +ek2tim +ek2t1i2o +ek2t1ok +ektus1s +e2k1ud +e2k1u2ra +ek1uro +e2k1ut +e2k1ut +e2k1uz +e2k1j +e2k1r. +ek2t +ek1to +ek1tv +e2k1nn +ek2t +ek1t +ek1zl +e1k2v +el1a2ba +el1abl +el1a2bort +e2l1a2c +e2l1a2d +el1agg +el1a2gy +el1a2j +e2l1akad +e2l1a2kas +el1akc +e2l1a2l +el1a2m +el1ana +elan2di +el1a2ne +el1a2ni +el1ann +ela2ny +el1a2pa +ela2r +el1ara +el1ar +el1ar +el1asza +el1aszi +el1asz +el1aszu +e2l1a2u +el1a2va +el1a2ve +el1azo +el2b +el1g. +e2l12ga +el1gg +el12gi +el1gn +el12go +el12j +el1ld +el1ll +el12lo +el2m +el1m +el2n +el2n +el2ne +el2n +el12p +el1r. +el12r +el1rb +el1rc +el12re +el12r +el1rf +el1rh +el1rk +el1rn +el12ro +el1r +el1rr +el1rt +el12ru +el12r +el2s +elta2 +el1t1e2 +el1tf +el1tk +el1tl +el1tm +el1tr +el1zi +el1zo +el1zt +el1bl +el1br +2eld. +el1d2r +ele1bre +2eled. +1e2ledel +el1eff +ele2g1e2l +el1e2gyene +e2legy +el1egz +ele3ran +ele1k2l +ele2k1os +ele1kr +1elektr +e2l1elb +e2l1e2lemb +e2l1elm +e2lelz +el1elr +ele2mad +e2l1ember +1eleme. +1e2lemei +1elemek +ele2mell +1e2lemem. +1e2lememm +1e2lemes. +1e2lemesn +ele2mesz +ele2mlt +ele2mrd +1e2lemk +1e2lemnk +1e2lemz +1e2lemz +2elend +e2lener +ele2nl +ele2 +ele2pal +ele2pap +ele2pele +ele2pell +ele2p12r +e2lerd +el1e2red +el1e2rei +el1erj +e2l1ern +ele2rz +ele2sege +ele2ssb +ele2sse +ele2ss +ele2ssh +ele2ssi +ele2ssk +ele2ssn +ele2ssr +ele2sss +ele2sst +ele2ss +ele2sik. +e2l1esnn +ele2sb +ele2ss +e2l1essl +ele1sta +ele2szek +ele2t1e2kt +ele2teti +ele2tetn +ele2tet +ele2t1k +ele2tl +e2l1ettk +ele2 +1e2l1e2vk +el1e2xi +e2lbb +el2du +el12ges +el12get +el1gj +el1gtek +el1gv +el12het +elka2 +el2kak +el2k1an +el2k1 +el2k1e2le +el2kev +el2keze +el2kezi +el2kezt +el1k +el2k +el2ku +el1l. +el1ld +el2led +el12let +el12l +el1lh +el12li +el1lj +el1ln +el1ls +e2l1lt +el12l +e2l1lv +e2l12neke +e2l12nekh +e2l12red +e2l12rem +el2rend +e2l12rez +el2rt. +el2ri. +e2l1rp +e2l1rr +e2lrtel +e2l1rt +el1rth +e2l1rt +e2l12r +e2l1rz +2elst +el2so +2elsz. +2elszel +2elszem +2elszne +2elszn +2elsz +2elsz +2elszv +el2tel +e2l12tes +el2tete +e2l1tk +e2l1tt +e2l1v. +el1fl +el1f2r +el1gl +1elhap +el2ib +el1ideg +el1id +el1i2do +el1iga +e2l1ig +el1ill +e2l1i2ma +e2lim +e2l1imp +e2l1i2na +e2l1into +el1i2on +eli2 +e2l1i2p +e2l1ira +e2l1i2ro +e2l1i2si +e2lism +el1iss +el1iste +eli2tin +eli2tol +elitu2 +el1i2v +e2l2ix +el1i2zo +e2l1g +el12r +el12v +elka2r1 +1elkezd +1elkezd +el3ki +el1k2l +el1k2r +el1kv +el2l1a2d +el2l1a2d +ell1alk +el2l1amb +el2lamp +ella1t +el2lau +el2l1br +el2l1ll +1elltso +1ellts +1elltm +el2lef +elle2g12 +ell1elk +el2lelm +1ellen +1ellenes +1ellenf +1ellen +1ellens +1ellenz +el2lid +ell1inf +ell1ing. +ell1int +el2l1or +ell1osz +ell1r +el2ln +el2ls +el2l1r +1elmh +1elml +1elmte +1elnp +1elnk +el1obj +el1off +el1oj +e2l1o2k +el1okm +e2l1o2l +el1oml +el1omo +el1ont +el1opc +e2l1ope +el1oro +el1orr +el1os +e2losz +e2l1ox +el2ig +el2in +e2l12ri +el1b +el12m +e2l1n +e2l1r +e2l1s +e2l12z +2elp +2elr +2elb +2elbi +2elbo +1eldei +el2d12 +1eldje. +2eldo +1eldt. +ele2r +1e2lf +2elf +2elf +1e2lhv +1elh +2elib +2elik +2elim +2eliv +2elja +2elk. +2elkrt +1elkse +1e2lkst +2elkl +2elk +2elkt +2elku +2elk +2elm +2elm +2elna +1elnn +2eln +1elny. +1elnyb +2elnyer +1elnyh +2elnyi +1elnyk +1elnyn +1elny +1elnyr +1elnyt +1elny +2el +el1r. +1e2lreg +1elreh +1elrej +el1riz +el1rl +2elro +e2l1r +2els +2elso +2els +el1s2p +2elsze +2elsz +2elszi +2elsz +2elt +2el +2elvis +2elviz +1e2lz. +e2lze +2e3lzene +1elzm +el1p2l +el1pr +el1sk +el1sl +el1sm +el1sz2t +el2t1aj +eltra2d +eltr1ada +2elte. +el2t1e2rei +2eltes +2eltet. +2eltete +2eltet +2elteth +2elteti +2eltetj +2eltetn +2eltets +1eltettk +2eltet +2eltetv +2eltb +2eltl +2eltt +el1t2ra +el1tr +el1tr +2eltk +e2l1ud +el1u2g +elu2n +el1und +el1u2r +e2l1u2t +e2l1uz +el1j +el1s +el12t +el1c +e2l1d +e2l1g +elgy1r. +elgy1rn +el2kn +e2l1ltet +e2l1r +e2l1s +e2l1t +e2l1v +e2l1z +el1rt +e2l1z +elv1ada +elv1a2d +el2v1at +el2v1rai +el2v1ras +el2v1rr +elv1sz +el2vt +el2v1enc +el2v1g +elv1le +el2v1r. +el2v1ri +el2vik +elv1olt +el2v12 +el2vd +el2v +el2v +e2ly1a2 +e2ly12 +e2ly1e2kn. +e2ly1el +e2lyer +ely1eszt +ely12j +ely12k +e2ly1l +e2lys +e2ly1i2ko +e2ly1ira +ely2kj +e2ly1o +e2ly1 +e2lym +e2lyn +e2lys +e2ly +ely1ul +ely2l +e2ly1l +e2m1ab +em1a2dat +em1a2ds +e2m1a2do +e2m1a2d +e2m1adt +e2m1a2gi +em1a2ja +e2m1aj +em1ajk +e2m1ajt +em1a2ka +em1ak +e2m1aku +em1a2lap +e2m1all +em1alm +em1alv +e2m1ana +1eman +e2m1a2ny +ema2p +em1ap +em1apr +em1a2rn +em1asszo +e2m1atl +e2m1a2u +e2m1a2v +e2m1a2zo +e2m1b +em2l +em1la +em1ld +em1li +e2m1p +em2r +e2m1ra +e2m1rn +e2m1ro +e2m1ru +em1rv +e2m1s +emt1a2 +e2m1te +e2m1tl +em1tm +e2m1tt +e2m1tu +1embarg +1embered +1emberf +ember12 +1embers +emb2len +1embl +em1bre +1embri +em1bro +em1dr +e2m1ef +eme3ger +eme3gi +em1egyet +em1egy +e2m1egz +e2m1e2ks +e2m1ela +em1elb +1emelet +1emelke +e2m1ell +e2m1elm +2e2m1elo +1emelb +1emele +em1elny +1emels +1emelv +1emelty +e2m1ember +e2m1e2mel +e2m1emu +e2mener +e2m1e2p +e2m1e2rny +e2m1e2r +eme2sa +em1e2set +e2m1e2ss +em1e2szem +e2m1e2szet +e2m1eszk +e2m1eszm +e2m1eu +e2m1e2v +eme2z1a +eme2z12 +eme2z1o +eme2z3s +e2m1g +e2m12he. +e2m12hen +e2m12hes +e2mhs +e2m12j +em2k +e2m1ke +em1kr +em12let +e2mneke +e2m1p +e2mrtel +e2m1rtke +e2m1rtk +e2m1rtkn +em1szl +em2t1a2 +em2tr +e2m12tek +em2tel +e2m1tel. +emt1elh +emt1els +em1fl +emfoga2d +emfo2gada +em1f2r +em1gr +e2mid +em1i2d +emi2g +e2m1iga +e2m1ige +e2m1ig +em1iks +emi2m +em1ima +e2mim +e2m1inf +e2m1ins +e2m1inte +e2m1i2p +e2m1ira +e2mir +e2m1iro +e2m1irt +e2m1isk +e2m1ism +e2m1iste +emi2sza +emi2sz +emi2szo +em1iz +em1izg +e2m1i2zo +e2mg +e2m1j +e2mr +e2m12v +em1kl +em1kr +1emlkm +1emlkv +emo2k +e2m1okl +em1oko +e2m1okt +em1ola +e2m1old +em1oll +e2m1olt +e2m1o2p +e2m1ork +e2m1ors +e2m1orv +emo1t2 +em2ra +em12r +e2m1b +em2k +e2m1k +em2l +e2m1ld +em1l +e2m1n +e2m12r +e2m1s +em1v +e2m12z +em1r. +em1rk +em1rn +em12r +em1rr +em1rt +1empt +em1pc +em1p2re +em1pr +em1pro +em1pr +em1p2s +em1sk +em1sm +em1sp +em1s2t +em1t2r +1e2mu. +e2mud +e2mug +e2muj +1e2muk +1emulz +1e2mum +em1uno +e2mur +e2musz +em1utal +e2m1u2t +e2mutc +e2m1ut +e2m1j +em1r +e2m1t +e2m1d +e2m1g +e2m12l +e2m1nn +e2m1r +e2m1t +e2m1v +e2m1z +e2m1z +em1zr +e2n1ab +en1a2do +en1agi +e2n1a2j +e2n1a2k +en1a2la +en1alk +en1all +en1alm +e2n1a2n +en1a2p +ena2p1e +en1a2r +en1arc +en1asz +en1atk +en1aut +en1br +en1g +en1ld +en1lm +e2n1ra +en1rn +en12ro +e2n1ru +en1tk +en1tm +en1tv +e2n1z +en1bl +en2c1a2 +en2c1r +en2c3h +en2cip +en2c +en2c1ol +en2c1os +en2c12 +enc3sg +en2c3sor +enc3s2p +enc3sz +en2cu +en2d1ad +en2d1alk +en2dano +en2d1ll +en2d1rn +en2d1tl +end12j +en2d1r. +en2d1rr +en2d1rt +en2d1rz +en2d1or +en2d1n +en2d12r +en2ds +en1d2r +en2d +en2dza +ene2 +e2n1egr +e2n1egg +en1e2lek +en1elj +en1elk +e2n1ell +en1elm +en1elny +en1el +en1elv +e2n1eml +ene2 +ene1p2 +2ener +1e2nerg +e2n1ern +e2nerv +2enes +ene1szt +ene2tal +ene2tos +e2n1ex +en2k1a +en2kel +enki2 +en2kis +en1p +en1p +e2n1r. +e2nrd +e2n1r +e2n1ri +e2n1rte +e2n1rv +en2sza +en2szer +en2sz1in +e2n1tk +e2n1ves +en2vig +en1f2l +enfluo2 +enga2 +en2gan +1enged +enger12 +engs3s +eng1g +e2nid +enidi2o +e2n1i2ga +e2n1ige +e2n1ig +en1ill +e2nim +e2n1ina +en1ind +e2n1inf +e2n1inte +e2n1inv +e2n1ira +en1i2r +en1isk +e2n1ism +eni2sza +eni2szer +eni2szo +eni2sz12 +e2n1v +en1k2j +en2n1eme +en2nes +enn1ge +enn2k +en2n1ke +en2nr +en2nir +en2n1ol +en2n +en2n1l +enny1a2d +enny1as +enny1 +en3nyer +enny12 +en3nyu +e2n1ob +e2n1of +e2n1oi +en1old +e2n1olv +eno2ni +en1opt +eno2r12 +e2n1ost +en1oszt +e2n1ox +enta2 +en2tal +en2t1e2 +e2n1b +e2n1l +en1n +e2n1s +e2n12t +e3nv +en2r +en1pr +en1ry +en2s1ab +en2s1a2l +en2s1a2n +en2sas +en2s1el +en2s1rt +ens3sz +en2s3zon +en2t1a2c +en2tada +ent1agy +enta1k2 +en2t1a2la +ent1alj +en2t1alk +ent1a2lo +ent1and +en2t1a2ny +ent1ass +en2t12rak +en2t12rat +en2t1r +en2t12r +en2t1elm +ente2r1a +en2t1este +en2t1est +en2t1esti +ente1t2r +en2t12g +en2tp +en2trm +en2t12ve. +en2tig +en2t1i2o +enti2p +ent1ipa +enti2sz +en2t1okt +en2tn +en1trad +ent2ran +en2tun +en2t1u2r +en2t12z +en1uta +en1r +en1t +e2n1z +e2nyab +e2ny1a2d +e2ny1ae +enya2g +eny1aga +eny1ag +e2ny1aj +eny1alk +e2ny1a2n +eny1ar +e2ny1as +e2ny1at +e2ny1au +eny1d2 +eny1e2dz +e2nyelm +eny1eln +eny1elvo +eny1elv +e2ny1e2r +eny1eve +e2nyva +1enyhi. +eny2h1s +e2ny1id +e2nying +e2ny1ira +e2nyiz +eny12r +e2nyok +e2ny1o2l +e2ny1or +e2ny1os +e2ny12 +eny2k +e2ny1k +e2nyt +eny1s +enyt2 +eny1tr +eny1t +enyva2 +eny2van +1enyve. +eny2v1e2l +enyves1s +en2zal +1enzim +e1o +eo2z +e2obo +e2ode +eo2d +eog2rafi +e2oka +eo2kd +e2okr +e2ok +e2o1k2l +e2okon +eo2kos +eo2k +eo2laj +e2ol +eo2ly +e2ome +e2om +e2omi +eo2n1al +eo2nan +eon1any +eo2natom +eo2n1au +eo2n1l +eo2nr +eon1d2 +eo2ner +eon1f2 +eo2niz +eo2n +eon1t2r +eo2n1 +eo2n +e2opa +eo2pe +e2o1p2l +eo1pro +eo2r1a2 +eo2r12 +eo2res +eo2r1s +eorgi2a +e2orgi2b +eori2t +eor1k2 +eo2r +eor1s2 +eo2so +e2ost +e2osza +eo1sz2f +e2ot +e2oto +eo1t2r +eo2vi +e1 +ea2d +e2b +e2ce +e2d +e2fa +e2he +e2je +e2kap +e2kp +e2kor +e2mi +e2m +e2n +e2no +e1pr +e2r +e2re +e2su +e2szo +e2ta +e2t +e2te +e2t +e2ti +e2t +e1tr +e2vak +e2ve +e2v +e2v +e2vo +e2v +e1 +e2b +e2d +e2k +e2le +e2l +e2li +e2l +e2l +e2l +e2m +e2n +e2r +e2r +e2s. +e2ve +e2vi +e2v +e2z +e1 +e2re +e2r +e2r +e2sz +e2p1ab +e2p1a2da +e2p1a2d +e2p1a2d +ep1a2gy +e2p1aka +e2p1akk +e2p1akn +ep1a2lak +ep1a2lap +e2p1alj +e2p1alk +epa2lom +e2p1a2ny +epa2rn +ep1atr +ep1aut +ep1a2zo +e2p1b +e2p12g +ep1ll +e2p12ra +ep2s +e2p1sa +ep1ta +ep1tc +e2p12t1 +ep1tf +e2p1tm +ep12t1o +ep1tt +ep1t +e2p1tv +ep1bl +ep1br +ep1dr +e2p1e2dz +ep1e2lemr +e2p1e2let +e2p1ell +e2p1elo +e2p1ene +epe2ral +epe2r1e2c +epe2rev +epe2rin +epe2rl +e2p1esti +epe2sz +e2peszm +e2p1ex +1e2pd +1epb +1epi +1epn +e2p1g +1e2pit +e2pj +ep1kh +ep1le +ep1lm +1e2pnk +e2p1r. +ep1fl +ep1ido +e2p1i2ko +ep1ind +e2p1inga +e2p1i2r +e2p1irt +e2p1ism +e2piz +e2p1g +e2p1j +e2p1n +e2p1v +ep1kl +ep1kr +ep2lag +e1p2lak +e1p2lan +e1p2ln +e2p1ob +e2poch +ep1okt +e2p1olv +ep1ope +e2p1orn +ep1ors +1eposz. +1eposza +1eposz +1eposzt. +ep1oszt +e2p12l +ep1nt +e2p1s +e2p1v +e2p1ri +ep2pan +ep2pt +ep2p1e2le +ep2p1elh +epp1er +epp2 +ep2pr +ep2p +ep1pro +ep1pr +ep3ret +e1p2rd +e1p2rin +e1proj +e1p2rot +ep1s2k +ep1sp +ep1st +ep2tad +ep2t1aj +ep2t12v +ep2t1op +e2p1ug +e2p1u2ta +e2p1ut +ep1j +ep1t +e2p1g +e2p1t +e2p1z +e2p1z +er1abla +er1a2bor +e2r1abr +er1abs +era2dat +e2r1a2d +er1adm +er1a2do +e2r1a2d +era1dr +er1a2ge +er1agr +e2r1a2ja +e2r1ajk +er1ajt +e2r1a2kad +e2r1a2kas +e2r1akc +e2r1akti +er1a2la +e2r1alg +e2r1alj +er1alk +e2r1a2lo +er1als +e2r1alt +er1alv +er1amb +er1amp +er1angy +er1ann +er1a2nya +er1a2pa. +er1app +er1aps +e2r1a2ro +e2r1asp +era2sz1a2l +era2szav +era2szrn +era2szel +era2sz12p +e2r1atk +e2r1atl +era1t2r +er1att +er1aut +e2r1a2zo +e2r1br +er2f +er1ge +er12g +e2r12gy +er1ll +er1ll +er1llo +er1ll +er1llv +er1po +e2r1r. +er12rak +er12r +e2r1rb +er1re +er1r +er1rf +er1rk +e2r12ro +e2r1rr +er1rs +er12ru +er1r +er1rv +er1s +e2r12sz +er12t1e2 +e2r1th +er12ti +e2r1t +e2r1tj +e2r1tk +er1tl +e2r1tm +e2r1tn +e2r1tr +e2r1tt +e2r1tv +erb1i2na +er2c1a2l +er2car +er2c1r +er2c1t +erc1ell +er2c3ho +er2cid +er2c1ina +er2c1in +er2c1i2p +er2cis +erc1k2 +erco2 +er2c +er2csad +er2cs1an +ercs1l +er2c +er2cz +1erdej +1erd +ere2 +1eredet +e2redn +1e2redm +eree2 +er1eff +ere2gl +ere2gel +e2r1e2ger +erei2g +1e2rejn +1e2rejr +ere2k1el +erek1e2sz +erek12j +ere2kot +erek1t +ere2k12s +e2r1e2leg +er1elr +e2r1ellen +er1elli +e2r1el +e2r1elr +erem1egy +ere2m1emb +erem1rt +ere2m1ut +e2r1enz +ereo1gra +ere2pan +ere2pas +erep2 +ere2p1l +ere2p1e2s +ere2pin +ere2pos +er1erk +er1ern +er1er +e2r1esti +e2r1estj +e2r1estr +e2resze. +ere2sz +e2resz +ere2tl +ere2tt +ere2t1eg +ere2t1erj +ere2t12r. +ere2t12ve. +eret2 +er1e2vs +e2r1ex +1e2rezet. +1e2rezete +1erezkh +erbe2 +er2bes +er1g. +er12ge +er1g +e2r1j. +e2r1jb +er1jf +e2r1jn +e2r1js +er2k1a2 +er2k +er2kol +er2k1 +e2rneke +e2r12nek +er2p1a +er2p +e2r12ren +e2r12r +e2r12ri +er2sa +er2s1elv +er2sza +er2sz +er2szo +er2sz +er12ter +e2r1tk +e2r1v. +er12ve. +e2r12vek +e2rven +e2r12ves +e2r12vet +e2r12vn +er12vt +er1vf +er1vh +e2r12vi +e2r1vn +e2r1vr +er1vt +er1vv +erf2l12v +er1fl +er1f2r +er1gl +e2r1i2deg +e2rid +e2r1ido +er1idu +eri2ga +e2r1i2g +eri2kon +e2r1i2mi +eri2no +erint2 +e2rinteg +erin1tr +e2r1i2on +eri2os +e2r1i2par +e2r1ira +er1ir +e2r1isk +er1ism +eri2szo +e2r1ita +e2r1i2z +e2r1izg +er1g +er1j. +er1j +e2r1r +e2r12z +er1k2r +er1k2v +erme2k1a2 +erme2k +erme2kesz +erme2ko +erme2kl +erme2sz1 +er2mind +erm1isi +ern1ala +ern1kn +ern3n +er2n12d +1erny +er1okl +e2r1okm +er1olda +e2r1o2li +ero2nal +er1ope +e2r1opt +er1orc +er1ord +er1orm +er1orn +er1o2ro +er1ors +e2r1orv +erosz2f +e2r1o2ve +e2r1ovi +e2r1c +er12d +er1lo +er12r +er1ri +e2r12c +er2k +er1kl +er1ko +e2r1k +e2r12l +e2r1r +e2r1s +e2r1t +e2r12z +e2rdd +er2n +1erlt +1e2rm +1ermh +1e2rn +1e2r +e2r1ri +er1r +er1p2l +er1p2s +er2rv +er1ry +er2s1a2d +ers1alk +er2s1an +er2sat +er2s12gi +ers1ra +ers1eml +er2srte +er2s1rt +er2s1rt +er2sid +er2s1im +er2s1i2n +er1sk +er2s1od +er2s1ol +er2s1n +er1spor +er1sr +er1stra +er2sut +ersz2to +er2t1ai +ert2p +ert1po +ertra2d +ertr1ada +er2t1elk +ert1estj +ert1esze +er2t12j +er2t1kn +er2t1vn +er2t12vv +er2tid +er2t1i2m +er2t1z +er2tos +ert1r +er2t1s +er2t1z +er1t2ran +er1trn +ert1s +er2t1t +erubi2 +1e2rup +e2r1u2ra +er1ur +er1uru +er1u2sz +er1u2t +e2r1j +e2r1r +e2r12s +er1tj +er1tl +er12to +er1tr +e2r1d +e2r1gg +er1gyb +er1gyn +er1gyr +e2r1led +e2r1r +e2r1s +e2r1t +e2r12v +e2r1z +e2r12z +er2v1ala +er2v1alt +erva2n +erv1any +er2v12ru +er2vsa +er2v1tk +erv1e2lk +er2vereze +er2v1e2sze +er2vk +er2vrte +er2v1rz +er2vos +er2vs +er2v +er1ya +2esa. +e2s1a2b +e2s1a2d +2esait +e2s1alja +es1alm +esa2n +es1any +esa2p +es1ap +es1arc +es1ass +es1asz +es1a2ty +e2s1au +2esb +e2s12g +2esn +es1ra +es12ru +2est +es1bl +es1br +es2ch +1esd +es1dr +1esedez +ese1fr +ese2gye +e2s1elm +e2seng +es1epri +e2s1erd +eseren2 +1e2sett +2es. +es2g1el +1esll +1esly +e2s1p +es1rc +ess3s +e2s1i2d +esike2t1 +e2s1ina +es1i2pa +e2s1isk +1estst +es12z +e1s2kat +e1s2kl +es2kic +1esk +es2lat +eslege2l +esle2t1o +es2lin +e1s2lu +e1s2mac +esn2 +2esok. +2esoka +2esokb +2esokk +2esokr +2eson +e2s1op +2esos. +2esosa +es1osz +es1ott +e2s12r +esk2 +e2sz +es2pan +es2pec +es1p2l +e1s2p +e1s2r +es1st +es3szab +essz1aga +essz1a2r +1esszenc +es3szer +essz1let +essz1lt +essz1int +essz1ok +es3sz +e1s2tab +es2taf +es2t1a2l +es2tana +es2t1a2ny +estapolc1 +es2t1a2ra +est1ar +e1s2tat +es2taz +es2t12p +est1ram +es2t1ri +es2t1rn +es2t1t +1esteko +es2tenz +este2r1a +es2t1este +es2t1esti +1estih +1estj +1estm +1estnk +es2t1r. +es2t1ri +es2t1rr +es2trte +es2t12r +es2t1ill +es2t1ina +es2t1int +es2tip +es2t1isz +es2tiz +es2t1ol +e1s2top +esto2r +es2t1os +es2t12r +est2 +es2t1s +es2t1r. +es2t1rk +es2t1r +es2t1rr +es2t1rt +es2tun +es2t +es2tr +es2t12z +e2s1ud +esu2r +es1ura +es1ur +e2s1ut +es1r. +es1rb +es1r +es1rh +es1ri +es1rk +es1rn +es1rp +es1rr +es1rt +e2s12t +e2s1z +e2sza2c +esz1ac +e2szad +e2sz1a2e +esz1ajt +esza2k1 +esz1akn +esz1alj +esz1any +e2sz1ara +e2sz1au +e2szru +e2sz1s +esz2t +esz1ts +e2szece +eszeg1r +e2sz1egy +esz1eks +e2sz1ela +e2sz1e2mel +1eszenc +e2sz1erd +e2szev +e2sz1ex +esz2do +esz12p +e2sz12ri +esz1g2 +esz1i2pa +esz1isk +esz1ist +e2sz1ita +e2sz1iz +eszke2l +1eszme. +1eszmb +1eszmi +1eszmj +1eszmk +1eszmn +1eszmt +1eszmv +e2sz1old +esz2l +esz1l +e2sz1n +es3zs +esz3se +esz2tab +esz2tad +esz2t1a2g +esz2taj +esz2t1ala +esz2t1alj +esz2t1ap +eszt1rf +esz2t1rn +esz2t1e2v +esz2t1r. +eszts3s +1esztti +esz2tid +esz2t1ol +esz2t12r +eszt2 +esz2t1l +esz2t1r. +esz2tut +esz2t1t +esz2tz +e2sz12g +e2sz12z +1e2szs +1e2szt +esz1z +et1abr +eta2c +et1ac +e2t1a2d +e2t1a2g +e2t1a2gy +e2t1a2j +et1a2kas +e2t1akc +et1ak +e2t1aku +eta2lag +eta2lak +et1a2ls +e2t1alb +et1ald +et1alf +e2t1alg +et1alj +e2t1alk +1e2talo +eta2n1 +eta2nyag +e2tapr +et1a2ra +e2t1ar +e2t1arc +e2t1arz +et1asp +e2t1ass +et1a2sz +e2t1atk +e2t1a2to +e2t1aty +e2t1a2u +e2t1a2z +et1br +e2t12cs +e2t1f +et1g. +e2t12ga +et1gb +et1gg +et1gn +et1gr +e2t1h +et1ju +et1ll +e2t1lm +e2t12rad +et1re +et1rny +et2ron +et12r +e2t12ta +ett1a2d +e2t1th +et1tl +et1ts +et1tu +e2t1tv +et1bl +et1br +et2ch +et1dr +etea2 +eteg1 +ete2g1e2l +ete2g +e2t1e2ke. +e2t1e2kei +e2t1e2kek +ete2k1k +e2t1e2knk +e2t1e2ks +e2t1elc +et1eldo +ete2lege +ete2legy +et1e2lej +e2telemz +e2t1e2les +e2t1elr +etels1s +e2t1elha +e2t1elh +et1elhel +e2t1eliga +e2t1elj +e2t1ell +e2tellen +e2t1elme +e2t1elmn. +e2t1elmne +e2t1elmt +e2t1elnev +e2teln +e2t1elny +e2t1e2lo +ete2lad +et1elsz +e2t1elt +e2t1elter +et1eltr +e2t1elv +e2t1elvez +e2t1elvo +e2t1elz +ete2mal +e2t1ember +ete2mel +e2t1enz +ete1p2 +e2t1erd +ete2rn +etero1 +e2t1er +ete2s1a +e2t1este. +e2t1eszt +ete2tet +ete2t1r. +1e2tetsen +1e2tetsn +ete2tos +ete2t1 +ete1tra +e2t1ezr +et2 +et1g. +et1gb +et12g +et1gg +e2t12gi +et1gn +et2k1a2 +et2k12 +et2k1e2l +et1k +et2kos +e2t1lm +e2t1rc +e2t12r. +e2t12rn +e2t12rr +e2t12rt +et2rie +e2t1rke +e2t1rm +e2t12rs +e2t1rtel +e2t1rz +et2sa +et2s1g +et2so +ets3s +et2sza +et1szl +et1szr +et2t1a2 +et2ter. +et2tere +et1tra +e2t12ven +et2ves. +e2t12vet +e2t12vh +et2vig +e2t12vne +et2vt +et1vh +et1vt +et1fr +et1gl +et1gr +et2hei +eti2d +et1ide +et1ido +eti2g +e2t1ige +e2t1ig +e2t1igy +e2till +et1i2ma +e2t1im +e2t1i2mi +1e2timo +e2t1imp +etina1 +e2t1ind +e2t1inf +e2t1ins +e2t1inte +e2t1inv +e2tinz +e2t1i2pa +e2t1i2ra +e2t1iri +e2t1iro +e2t1ir +e2t1ism +e2t1iste +e2t1i2sza +e2t1i2szon +e2t1i2ta +et1iz +e2t1izg +e2t1izo +e2t1izz +e2t1g +e2t1j +e2t1n +e2t12r +e2t12v +e2t1z +et1kl +et1k2r +et1kv +1etnol +et1oda +e2t1okm +e2t1okt +e2t1oml +eto2n1a2 +eto2nl +eto2n1is +eton1n +et1opc +et1ope +e2t1opt +2etor +et1ord +e2t1org +e2t1orm +et1orom +e2t1ors +e2t1orv +et1ost +etosz2f +et1oszl +et1oszt +e2t1ou +e2t12c +et12ra +et12r +e2t12v +et1ko +et2l +e2t1l. +et1l +e2t1l +e2t1n +e2t1s +e2t1t +et12v +e2t12z +eta2 +ete2l +et2b +etf2l12v +e2t1r. +e2t1rb +et1rc +et12rh +et2ri. +et1rk +et1rl +e2t1rn +et2rk +et1rp +e2t1rr +e2t1rs +et12r +et1s2p +et1pl +et1pr +et1ps +e1trap +e1trau +e1t2rg +e1trf +e1t2ril +et1sk +et1sn +et1sp +et1st +et3tad +ettai2 +etta2n12 +et2telem +et2t1ing +et2tr +et1t2r +et1tri +etty12 +e2t1ug +et1una +et1und +et1u2ra +etu2sz +et1ut +et1ut +et1utu +e2t1j +e2t12ri +e2t1t +e2t1d +e2t1g +e2t1ld +e2t1t +e2t12v +et12zem +et3ya +e1u +eu2bo +eu2ga +eu2mal +eu2m1e +eu2mim +eu2m1i2p +eu2mis +eu2m1iz +eu2m +eu2mr +eu2m +eum1p2 +eu2m +eu2na +eu2n +eu2ni +eu2no +eu2n +e2ur. +eu2r +eur1z +eu2ri. +eu2rig +e2urt +eu2sz +e2utai +eu2tal +e2utan +eu2taz +e2uti +e2utj +e2utka +e2utkk +e2utkn +e2utkr +e2utnk +e2utr +eu2t +e2uts +eu2zs +e1 +e2j +e2sz +e2ti +e2to +e1 +e2d +e2ge +e2gy +e2le +e2l +e2li +e2l +e2l +e2l +e2re +e2r +e2r +e2sz +e2te +e2t +e2t +e2ve +e2v +e2ze +e1 +e2ri +e2ze +e2z +e2zi +e2z +e2z +ev2r1al +eve2sz +ev2l +ev2l1e2l +ev2nyel +ev2r1emb +ev2r +ev2so +ev2sza +ev2sz +evzi2t +ex1ab +ex1al +ex1ap +ex1b +ex12r +e2x1t +ex1bl +ex1br +ex1dr +e2xeg +e2x1elm +e2x1elv +e2x1er +e2x1k +e2x1l +e2x1p +ex1id +e2x1ig +ex1inf +e2x1ing +e2x1int +ex1izz +e2x1j +e2x1r +e2x1ob +ex1op +ex1n +ex1r +ex1s +1expan +ex1sk +ex1sp +ex1st +ex1j +e2x1g +e2x1v +e2x1z +eza2c +ez1ac +e2z1a2d +e2z1af +ez1ajt +e2z1a2l +e2z1a2n +ez1arz +e2z1as +ez1aut +ez1ll +ez2ma +ez1rb +ez1rr +ez12r +e2z1t +ez1bl +ez2dl +ez1e2gy +ez1e2kk +e2z1ela +e2z1e2leme +e2z1elr +e2z1elm +e2z1el1 +e2z1e2mel +ezen2t1e2 +eze2r1a +eze2r +eze2red +eze2r1el +eze2r1em +eze2r1es +eze2r1o +ez1er +ez1este +e2z1e2sz +eze2t1a2 +eze2t1 +eze2t1eg +eze2t1e2l +eze2t1esz +eze2t1r. +eze2t12r. +eze2t12ve. +eze2t1o +eze2tu +e2z1g +e2z12j +ez2k +ez2k1o +e2z1l +ezr1emb +ez2rett +ez2ru +ez2sa +ezsksz1 +e2z12te +ez1fr +ez1gr +ez1i2do +ezi2g +e2z1ig +e2z1i2ko +e2z1ill +ez1imp +ez1in +ez1ind +ez1inf +ez1int +ezi2o +ez1ion +e2z1i2p +ez1i2r +ezis2g +ezi2s1g +e2z1ism +ezi2ta +e2z12v +ez1k2r +ezkupac1 +ez1kv +e2z1ob +ez1old +ezo2nr +ezon3n +ez1opt +e2z1ox +e2z12l +e2z12r +ez12t +ez12b +ez1s +ez12v +eze2l +e2z12ri +ez1rl +e2z1rs +ez12r +ez1rz +ezs1orra +ez1pl +ez1p2r +1ezrede +1ezreds +1ezrel +1ezrem +1ezresn +1ezr +ez3saj +ez3sap +ez3st +ez3sv +e2z3s +ezsi2 +ez3sl +ez3sor +ez3s2p +ez3s2ta +ez3str +e2z3s +ez3sz +ez1t2r +ez1u2r +ez1ut +ez1j +ez12t +e2z1g +1e2zs +e2z1t +e2z12z +2. +1a +a2da +a2d +a2do +a2d +a2ga +a2gi +a2j +a2ka +a2la +a2l1e +a2na +a2ny +a2r +a2ri +a2ro +a2uk +1 +2f +2gy +2ju +2ra +2ro +2ru +2r +2b1ag +2b1a2j +2b1a2k +2b1a2l +ba2n +2b1any +2b1a2v +b1l +b2r +b2b1 +b1esz +2b12k +2b1l +2b1p +bi2 +b1isk +b1i2va +b1z +b1kr +b1pl +b1pr +1bres +2b1ug +b1g +c1a2d +c1aj +c1a2k +c1a2l +c1a2n +c1l +c1r +2c1e2lem +2c1elv +2c1ember +2c1e2mel +c1gr +c3ha +c3h +c3h +c3ho +2c1i2d +2c1il +c1ima +c1ob +c1os +c1r +c1pr +c3sab +cs1ol +c3sz +2c1u2t +2c1l +c3zs +2d1ab +2d1a2c +2d1a2d +2d1a2g +2d1a2j +d1akc +d1akt +d1a2ku +d1alk +2d1a2n +d1apa +d1a2p +2d1arc +d1asp +d1ass +d1a2ti +d1att +2d1g +d1p +d1dr +2d1e2g +2d1ej +2d1e2ke. +de2kt +2d1e2l1a +2d1elk +2d1ell +2d1elo +d1ember +2d1eml +2d1enz +2d1ep +d1erd +2derei +2derem +2derg +2derl +2dern +2d1er +2derr +2derr +2ders +2dert +1desa +2desem +1desg +12des +2d1g +2d12j +2d1kb +2d12k +2d1kk +d2l +2d1le +2d1lm +2d1p +2d1r. +2d12ri +2d1rs +2d1rte +2d1rt +2d1rv +2d1rz +d1fr +di2ad +di2aka +di2al +di2ar +di2a1s +diasz2 +2d1i2d +di2g +2d1iga +2d1ige +2d1ig +d1i2ko +d1ill +2d1i2m +d1i2na +d1ind +2d1ini +d1ins +2d1int +2d1i2p +2d1iro +2d1i2z +2d1n +2d1r +d1v +d1kl +d1okta +2d1op +2d1or +2d1osz +d1ott +d12r +d1l +d1n +2d12r +d1t +d1v +d1z +2d1rm +2d1rn +ds2 +d1sp +d1pl +d1pr +1d2ram +d2raz +1d2rm +d1sk +d1sp +d1sr +d1st +d1t2r +2d1ud +d1uj +d1ura +2d1u2t +2d1j +d1r +d12t +2d1d +2d1g +2d1t +2d1z +d3za +d3z +d3ze +d3z +d3z +1e +e2b +e2la +e2le +e2l +e2me +e2pi +e2r +e2se +e2s +e2si +e2s +e2sz1a2 +e2sz1 +e2szel +e2szp +e2szir +e2szis +eszt2 +esz1tr +e2uf +e2v +e2v +1 +2ge +2le +2p +2ra +2te +f1ai +f1ajt +f1ing +2f1is +f1kl +2f1os +g1abl +g1abr +g1a2d +g1aka +g1akk +g1akn +g1alj +g1am +g1a2ny +g1a2p +2g1a2r +g1aut +g1a2v +ga2z +2g12g +2g1l +g1p +g1rt +gt1a2d +g1t +g12t1e2 +g1tf +g1tj +g1tm +g1ts +g1tt +g1tv +g1bl +g1br +g1d2r +g1ece +2gedn +2g1edz +g1e2ge +2g1ej +2g1e2ks +2g1ela +2g1elb +ge2leg +g2elek +ge2lemb +2ge2leme +ge2lemn +ge2lemt +2g1elr +2g1elf +2g1elha +g1elh +ge2lin +2g1elis +2g1elj +2g1elk +2g1ell +2g1ellen +2g1elm +2geln +g1elny +2g1el +2g1e2la +ge2lm +2g1e2ln +g1e2lt +2g1elp +2g1elr +2g1elsa +2g1elsz +g1elta +2g1elt +2g1elv +2g1elz +2g1enc +2g1e2ne +2g1eng +ge1p +g1epi +ge2rl +2g1erede +ge2r1el +geri2 +ge2rim +ge2rin +2g1er +g1er +ge2rl +12gesd +2g1essz +ge2sze +2g1eszk +2g1eszt +12getj +12geth +12getn +12gett +g1eva +g1e2ve +g1e2v +g1evo +2g1ex +2g12g +2g12l +2g12neke +2g12nek +2gnekk +2g12nekn +g1p +2g1p +g12ret +2g12rez +g2r. +2g1rh +2g12ri +g1rl +g1rm +g12r. +g12rk +grt2 +g1rte +g1rt +12gs +12gsn +2gst +2g1va +g1fl +g1fr +g1g2l +g1g2r +g3gyo +1ghes +1gh +gi2as +g1i2den +gi2g +2g1iga. +gig1ap +gig1as +g1igaz +gig1 +2gill +2g1im +g1ina +g1inf +2g1ing +2g1inj +g1ins +2g1int +2g1ira +g1iro +2g1i2ta +2g1iva +2g1i2zsn +2g1izg +g1g +g1j +g1n +g1r +g1v +g1z +1gj. +gkia2 +g1kl +g1kr +g1kv +1gne. +1gnk +1gnn +1gnt +1gni +2g1ob +g1oki +g1ola +g1old +g1oli +g1oll +g1olt +2g1op +2g1o2r +2g1os +g1ott +2g1o2v +2g1ox +2g1c +g12r +g1b +2g12d +2g12l +g1n +g2r +g1r +2g1s +2g1t +2gv +2g12z +1g. +1gk +2gr +g1ri +g1r +g1si +1gt +1gv +g1pl +g1pr +g1ps +g1sk +g1sp +g1s2t +gsz2 +1gsz. +gszraz1 +g1tr +2g1ud +g1un +2g1u2t +g1g +g1j +g1r +g1s +g12t +2g1d +2g12g +2g1r +2g1s +2g1t +2g1v +2g1z +2g1z +gvez2 +2gy1a2 +2gyl +2gyed +2gy1eg +2gyelek +2gyeleme +gye2m +2gy1emb +2gy1eme +gye2sek +2gy1esz +2gy1e2v +2gyeze +2gy1k +2gyl +gy12ne +gyi2 +2gyin +2gyir +2gy1is +2gy1iv +2gy +gyo2 +gy1ok +gy1os +gy1ot +2gy12 +gy12l +2gy1u2 +2gy1 +2gy12l +2gyr +ha2l +h1ala +h1any +2h1arc +h1art +2h1au +2h1a2v +h1ed +2heg +h1e2g +h1e2le +h1el +h1elf +h1elh +h1ell +h1e2l +h1elt +h1elv +2h1enz +2h1e2r +2h1esem +2h1e2to +h1ev +2h1ex +2heze +12hez +1hez +12hezt +2hez +2hezv +h1g +h12k +2h12l +2h1p +h1rb +h1fl +2h1ic +2h1if +2h1i2n +2h1ip +hi2r +h1ira +h1irt +2hit +h1ita +2h1iz +h1n +h1kr +2h1od +h1old +h1b +h12d +h1s +h1pl +h1pr +1hs +h1sk +h1sp +h1ud +h1j +2h1g +2h1r +2h1t +2h1r +1i +i2d +i2ga +i2g +i2m +i2pa +i2r +i2ro +i2ta +i2vs +i2v +1 +2r +2ro +2r +2v +2ze +2j1ab +2j1a2da +2j1a2l +2j1any +2j1a2r +2j12l +2j1p +2j1rn +j1eb +2j1e2lem +2j1elh +j1elm +2j1elv +j1emb +2j1esz +2j1e2v +2j12g +j2j +2j12k +2j1l +2j1p +2j12te +12ji. +2j1il +2j1im +j1i2n +2j1ip +2j1iz +2j1o2l +j12r +j1d +j1n +j1r +j1pl +j1pr +j1sp +j1sz +j1ud +j1u2r +ju2t +j1uta +2j1r +2jl +2j1z +k1abl +k1a2c +ka2dat +k1a2d +k1a2d +k1ajt +ka2kad +2k1ak +2k1akk +2k1akn +ka2lag +k1a2lak +2k1alg +2k1alj +k1alko +2k1all +2k1alt +k1alu +k1amb +k1ang +k1app +2k1a2r +k1arc +k1a2r +k1arz +2k1asp +2k1ass +k1aszt +k1a2tom +k1a2ve +k1azo +2k1l +2k12p +k1rad +2k12rak +2k12r +k1rb +2k12r +k1rh +2k1rk +2k1rn +2k12ro +k1rr +2k12ru +k12r +k1s +k1sv +2k1ta +2k1t +2k1tc +2k1td +2k1te +k1t +2k1tf +2k1th +2k1ti +2k1t +2k1tk +2k1tl +2k1tm +2k1t +2k1tr +2k1ts +k1tt +2k1tu +2k1tv +2k1z +k1bl +k1br +k1dr +k1eg +2k1e2ks +2k1elb +2k1e2leg +k1e2leme +k1e2lem +ke2lemm +k1e2lr +2k1elf +2k1elk +2kell +2k1ellen +2k1elm +2k1elo +k1elp +2k1elta +k1elt +2k1eltr +k1ell +k1elvi +2k1e2mel +k1eng +ke1p2 +2k1erd +2k1e2rec +2kered +2k1e2rei +2k1e2rez +2k1erg +2k1e2r +2k1e2r +2k1e2sete +k1eszk +ke1szl +2k1e2tet +ke2tik +ke2vs +2k1e2vo +2k1ex +2k1g +k1js +2k1p +2k1p +2k1rc +2k12rem +2k12ren +2k12r +2k12ri +2k1rk +2k1rl +2k1rm +2k12r. +2k12ri +2k12rk +2k1rp +2k1rr +2k1rte +2k1rt +2k1rt +2k12r +2k1rv +2k1rz +2ks +ks3s +k1szl +2k1tk +k1tv +2k12ve. +2k12vek +k12vet +2k12vb +2k12vn +2k12vt +2k12vv +2k1vi +k1fj +k1fl +k1fr +k1g2r +kia2 +ki2d +2k1ide +k1id +k1ido +2k1id +ki2g +k1iga +k1ige +2k1ig +k1i2ko +k1ikr +2k1ill +2k1ima +2k1im +k1imi +k1ind +2k1ing +2k1inh +2k1inn +2k1int +2k1inv +2k1i2o +2k1i2p +2kirn +2k1iro +2k1isk +k1ism +2k1ist +ki2sza +2k1i2ta +2k1i2z +k1j +2k1r +2k12v +2k12z +k2kl +k1k2l +k1k2r +k1kv +1k2lu +2k1ob +k1of +2k1ok +2k1o2laj +2k1olda +k1olts +2k1oml +k1opc +k1o2pe +2k1org +2k1orm +2k1orr +2k1orz +2k1osto +2k1ott +2k1ou +2k1ox +2k1c +k12l +2k1n +k12ra +k12r +2k12v +2k12z +2k12b +k2l +2k1m +k1nt +k12r +2k1s +2k1tl +k12v +k12z +k12r +k1s +k1pl +k1pr +k1ps +1k2re +k2rim +k1sh +k1sk +k1sl +k1sp +k1s2r +k1st +k1sz2 +k1t2r +2k1ud +2k1ug +2k1uj +2k1und +2kuni +2k1u2tac +2k1u2tak +k1u2tal +2k1u2tas +2k1ut +2k1j +k1r. +k1rn +k2t +2k1th +2k1ti +2k1tj +2k1tn +2k1to +2k1tr +2k1tt +2ktv +2k1d +2k1g +k12le +2k1nn +2k1r +2k12s +2k12t +2k12v +2k1z +k1r. +k1rb +k12r +2k1z +l1abl +l1abr +l1a2c +l1a2da +l1a2do +l1a2d +l1a2g +2l1a2j +l1a2ka +l1akc +l1akn +l1ako +2l1a2l +l1amc +l1a2me +l1and +l1ap +l1arm +l1asp +l1ass +l1asz +l1a2to +l1a2u +2l1a2va +l1azo +l1br +2l12g +l2l +2l1ll +2l1lm +2llmot +2l1lo +2l12p +l1r. +l12r +l1rb +l1rf +l12ri +l1rk +2l1rn +l12ro +l1rr +l12ru +l12r +l1rv +l1t1a2 +l1tc +lt1e2 +2l1tf +l1th +l12ti +l1tj +2l1tm +l2tok +l1tr +l1ts +l1tt +l1t +l1tv +l1bl +l1br +lc3sz +l1d2r +le2b +2l1eb +2l1e2dz +l1eff +l1e2g +legsz1 +l1e2gy +le2k1a2 +le2k1 +le2k1e2l +le2kem +le2ker +le2k1es +2l1e2ks +le2kis +le2kol +le2k1on +le2kot +le2k +le2k12 +le2ku +le2k1 +l1e2l1a +2l1e2leg +l1elf +2l1elo +2l1ele +le2lj +2l1e2lk +le2lt +2lemb +2l1e2mi +2l1emp +le2n +2l1ene +2l1eng +2lenj +2l1enn +2l1eny +2l1enz +l1e2r +2l1e2ss +le2sz +le2sz +le2t1a2 +le2t12 +le2t1eg +le2t1e2l +le2t1e2r +le2tesz +le2t1k +le2tl +le2t1r. +le2t1rd +le2t12r. +le2tr +le2ts +le2tte +le2tt +le2t1tn +le2t12ve. +le2t12ved +le2t12vn +le2tik +le2tisz +le2t1o +let2 +le2t1l +le2t1r +le2t1u2 +le2tz +le2t12z +2l1e2v +2l1ex +l2d +2l1de +2l12g +l12hes +l1kek +l1k +2l12l +l1p +2l1r. +2l1rb +2l1rd +l12rem +2l12ret +2l12r +2l1rm +2l1rn +2l1rte +2l1rt +2l12r +2l1rz +l2sa +ls3s +2l12te +2l1tk +2l1v. +2l12v1 +2l12ves +2l12vet +2l1vez +l12vn +2l12vr +2l12vi +l1v +l1f2l +l1f2r +l1g2r +2l1i2d +2l1iga +li2g +2l1i2ge +2l1ig +2l1i2ko +l1ill +li2m +l1ima +l1imi +l1imp +2l1ind +2l1inf +2l1ing +l1int +l1inv +l1inz +l1i2on +2l1i2p +2l1ir +l1iro +2lism +li1s2p +2l1i2sz +l1i2va +2l1i2v +l1izg +2l1izm +2l1i2zo +l1j +l12r +l12v +l1z +l1k2l +l1k2r +l3lyu +l2mat +1lmn +2l1ob +2l1okm +2l1oks +2l1ol +2l1o2r +los3s +2l1osz +2l1c +l12n +2l12r +l1b +l1c1 +l2k +l12l +l1n +l1r +l1s +2l12z +le2 +l1r +12lsk +l1p2l +l1p2r +lrdi2 +lre1pr +l1sk +l1sp +l1st +l2sz1rnn +l1szt +ltal2p1al +l1tr +l1tr +l1tri +l1tr +2l1ud +2l1ug +2l1uj +l1ult +l1u2r +2l1u2tas +l1ut +2l1j +l1r +2l1g +l1ll +l1lt +2l1r +2l1s +2l1t +2l1v +2l1z +l1z +1lvez +2ly1ab +2ly1a2d +2lyaj +2ly1a2l +ly1a2n +2ly1ap +ly1a2r +2ly1as +ly1au +2ly1av +ly1az +2ly12l +lye2c +2lyef +ly1egy +2lyeks +2ly1el +2lyeml +2lyene +2ly1ent +2lyer +2lyeti +2ly12j +2ly1k +2lyl +2lys +ly1f2 +2ly1ira +ly1k2 +2lyol +2ly1 +2lys +2ly1z +2ly +ly1s +ly2 +2lyltet +2lyt +m1abr +ma1d2 +m1a2da +m1a2d +mae2 +mai2k +m1ajt +m1akk +m1all +m1alm +m1app +m1arc +m1arm +mas2 +ma1sp +mat2 +ma1tr +m1aut +m1a2zo +m2c +m2l +m1lm +m1lo +2m1p +m1rn +2m1ru +mt1a +2m1tt +m1b2l +m1b2r +m1dr +me2c +me2g +2m1e2ke. +2m1e2ks +m1ela +me2led +2m1elh +2m1ell +m1e2l +m1els +2m1elv +m1e2re +m1ern +m1e2r +me2s1 +2m1esem +2m1esz +me2ta +me2tel +me2t1k +me2to +2m1e2v +2m1ex +m1ks +2m12l +2m1p +2m1rc +m1rd +2m1ri +2m1rm +2m1rt +2m1s +2m12te +m1fl +m1fr +m1gr +mi2al +2m1i2d +mi2g +2m1ig +m1iks +m1ill +m1ind +m1inf +2m1inv +2m1i2o +2m1i2p +m1ir +m1irh +2m1iro +m1isk +m1ism +mi2sz +m1i2ta +m1izo +2m1r +m12v +m1z +m1kl +m1kr +mo2nac +mo2ne +mon1n +mont2 +m1o2p +m1ost +m1ox +m12l +m12r +m1b +m12l +m1n +m1s +m1t +m1v +m12r +m1p2l +m1p2r +m1sk +m1sl +m1sp +m1s2r +m1s2t +m1sz2 +m1t2r +m1uj +mu2n +m1una +2m1u2r +2m1r +2m1g +2m1r +2m1t +2m1v +2m1z +m1wh +n1abb +2n1abl +2na2dal +n1ad +n1a2do +n1ag +n1agr +n1akc +2n1akn +n1akt +n1alk +n1ana +n1ano +n1ant +na1pr +n1arc +nas2 +na1sp +2n1ass +n1atm +2n1a2tom +na1t2r +2n1au +2n1g +n2l +n1la +n1lc +n1ld +2n1ll +2n12p +2n12rak +ns1s +n1sv +n1ta +n1tb +n1te +n1tk +n1t +2n1tr +n1tt +n1t +2n1tv +nba2 +n1bl +n1br +n1d2r +2n1ef +n1e2gy +12ne2k1a2 +12nekd +2neke. +12nekei +12nekek +12nekem +ne2ker +12nekes +ne2k12j +12nekf +12nekg +ne2kiz +12nek +1nekj +1nekka +12nekl +ne2k +ne2k1 +12neks +n1ela +n1elg +n1elh +n1elj +n1ell +n1eln +n1e2l +n1elp +n1els +n1elt +n1elv +n1eml +ne2n +2n1ene +ne2r1a +ne2r12 +ne2reme +n1er +2n1e2sz +ne2t1a2 +ne2t12 +ne2t1e2l +ne2test +ne2to +2n1e2v +2n1ex +n1jb +n1kb +n12k +n12ki +n12k +n2l +2n1le +2n1l +n2m1a +n1neke +2n1r. +2n1rc +2n1r +n2ter +2nz +n1f2r +nfst2 +nfs2t1l +n1g2r +n1ido +ni2g +2n1ig +n1iko +n1ill +n1imi +n1ina +n1ind +n1inf +n1inh +n1int +2n1i2p +n1ism +2n1ita +2n1iva +2n1i2z +n1j +n1n +2n1v +n1k2l +n1k2r +n1k2r +n1kri +nm1 +n3nyo +2n1ol +n1oml +n1ond +2n1or +2n1osz +n1ot +2n1ox +n1c +2n12r +n1k +n1l +n1n +n1r +n1t +2nv +2n12z +n12s +npe2 +n1pl +n1pr +n2sas +n1s2p +n1s2t2 +n2s +n1tra +n1tr +n1t2ri +n1tr +2n1u2t +n1t +2n12g +2n1le +2n1r +2n1s +2n12v +2n12z +2ny1a2 +2ny12 +nye2c +2ny1ece +2nyecse +2ny1e2dz +2nyef +2ny1egy +2nyeks +2nyela +2nyel +2ny1ell +2ny1elo +2ny1elv +ny1elv +ny1elvv +2nyema +ny1enc +2ny1ep +2nyerd +ny1ered +2ny1e2r +2ny1e2sett +2ny1e2ss +2ny1e2s +2ny1essz +2ny1est +2ny1e2sz +2nyeta +2nyeti +2nyet +2ny1ev +2ny1g +2ny12j +ny2k +ny1ke +ny1kh +ny1kn +ny1kt +2ny12l +2ny1r. +2ny1rd +2nyr +2ny12ri +2ny1rn +2nyrte +2ny1rt +2ny12r +2ny1rv +2ny1rz +2ny1s +2ny12te +2ny1tt +2nyva +2ny1if +nyi2g +2ny1ig +2ny1i2ko +2ny1ing +2ny1ira +2nyiro +2nyisk +2nyita +2nyiz +ny2r +ny1r +ny1r +2ny1ok +2ny1o2l +2ny1o2r +2ny1os +2ny12 +ny2 +2nyn +ny1r +2ny1s +ny1z +2ny12 +ny1s +nyt2 +ny1tr +2nyu +ny1u2r +ny1us +2nyj +ny1t +2ny12l +2ny1s +2ny1v +2nyz +nza2 +n2z1ad +n2zag +n2zak +n2z1al +n2zar +n2zau +n2z1l +n2z1s +n2z1t +n2z1e2r +n2z1im +n2z1in +n2zis +n2z +nzo2 +n2z1ol +n2zor +n2zos +n2zr +n2z1 +n2zsa +n2zse +n2zur +n2z +nz1z +1o +o2la +o2pe +o2sz +1 +2ra +2ri +1 +1 +p1ado +2p1a2j +p1alk +pa2ny +p1apo +pa1pr +p1arc +p1ar +p1ass +p1atl +pau2s +p1aut +p1a2va +2p12g +2p1lla +2p1llo +p1p +p1r. +p1rb +p1rf +p1ri +p12ro +p12ru +p12r +p1tb +p1tj +p1tl +p1tm +p1ts +p1t +p1tv +p1bl +p1br +p1dr +2peb +p1e2g +p1e2gy +2p1e2ks +2pel +2p1ela +2p1el +2p1elb +2p1elc +p1e2lemb +2p1e2leme +p1e2lemr +2p1elr +2p1elf +2p1e2lin +p1elj +2p1elk +p1ell +2p1ellen +2p1elm +2p1elo +2p1e2lke +2p1elr +2p1eltr +p1elu +pe2n +2p1ene +2p1e2p +2p1er +pe2r +2p1esem +2p1e2ser +2p1e2sett +2p1e2ss +2p1e2s +2p1este +2p1est +2p1esti +2p1estj +pe2sz +2p1esze +2p1eszk +2p1eta +p1e2tete +pe2tet +2p1et +p1eva +2p1ex +2p1g +2p12k +2p12l +2p12neke +2p1r. +2p1ri +p2sa +2p1te +p1fl +p1gr +2p1i2d +2p1i2ko +2p1imp +p1ind +p1ing +2p1ins +2p1int +p1i2pai +2p1i2ra +2p1i2r +2p1i2ro +2p1irt +p1isk +2p1ism +2p1ist +2p1i2ta +2p1iz +p1n +2p12r +1ptm +2p1v +pk2r +p1kl +p1kr +p1kv +ple2t1 +p1ob +2p1ok +p1old +p1olv +p1on +p1op +p1orm +p1ors +p1osz +2p1c +2p12h +p12r +p1l +p1m +p1n +p2r +p1s +p12z +p2p1ek +p2p +p1p2l +p2p1od +p1p2r +1prog +p2rz +p1sh +p1sk +p1s2n +p1sp +p1s2t +psz2 +p1t2r +p1udv +p1ug +2p1uj +pu2n +p1uno +2p1u2r +pu2s +2p1u2t +p1j +p1s +p1t +2p1d +2p1g +2p1ld +1ple +2p1r +p1s +2p1v +2p1z +r1abl +r1abs +2r1a2d +r1a2g +r1agg +r1agy +r1a2ja +r1ajt +2r1a2ka +2r1akc +2r1a2la +r1al +r1alg +r1alk +r1alm +r1alv +r1amb +r1amp +r1ane +r1ani +r1a2no +r1ant +r1a2p +r1a2p +r1app +r1apr +r1a2ra +r1a2r +r1arc +r1asp +r1ass +r1a2ti +r1atk +r1atl +r1a2to +ra1t2r +r1att +r1aty +2r1a2u +r1a2va +2r1a2x +r1a2zo +2r1br +r1g. +2r12ga +r1gb +r1gg +r1gy +2r12l +r12p +r1r +r1rk +r12ro +r1rp +r1rr +r12ru +r12t1a2 +r12t12 +r1tc +r12t1e2 +r1t +r1tf +r1th +r1tj +r1tl +r1tm +r12t +r1tr +r1t +r1t +r1tv +2r1z +1rbn +r1bl +r1br +r2caj +r2c1a2l +r2c1a2n +r2c1as +rc3c +1rcd +r2ced +r2c1emb +r2c1esz +r2c3h +r2cil +r2c1im +r2ciz +r2c1o +r2c +r2c1 +r2c +r2c3seb +r2c3sis +r2c +r2cz +r2d1am +r2d12 +1rdekb +1rdeke. +1rdekei +1rdekel +1rdekl +1rdekt +1rdek +1rdek +1rdem +r2d1er +rd1este +rds3s +r2d1i2n +r2d1iz +r1dra +rd2l +r2d1l +r2d1l +r2d3z +re2b +r1eba +2r1ebe +2r1eb +2r1ebr +r1eff +re2g1a2 +re2g1 +re2ged +re2gel +re2g1em +re2gen +re2g1e2r +re2gev +re2g1l +reg1g +re2gin +re2go +re2g12 +2r1e2gy +regyez1 +2r1ej +2r1e2kn. +2r1el +2r1e2leg +2relemz +r1e2lg +2r1elis +2r1elk +2r1elo +2r1e2la +re2lir +2r1e2ll +2r1e2lme +2r1e2ln +r1elr +r1elt +re2m1a +re2m +2rember +re2m1eg +2r1emel +re2mes +2r1e2ms +r1e2mis +2reml +re2m1o +re2m1 +2re2mu +re2n +2r1ene +2r1e2r +re2s +2r1es. +2r1esb +2r1esj +2r1esn +res12r +2r1est +2r1est +re2t1a +re2t +re2t1eg +re2t1el +re2t1r. +re2t12ve. +r1e2ve +2r1e2v +2r12d +2r12g +2r1j. +2r12jt +2r12k +2r12l +2r12neke +2r1p +2r12ri +r2s1el +r2sza +r2sz +r2ter +2r1tk +r12ve. +2r1vn +r1vv +rfi2 +r1fl +rfo2g1n. +rfo2g1s +rfoto1 +r1f2r +r1g2r +ri2al +ri2csi +2r1ido +ri2n +r1ifj +ri2g +2r1iga +2r1ige +2r1i2ko +2r1ill +2r1i2ma +2r1i2m +2r1i2mi +2r1i2na +2r1ind +2r1inf +2r1ing +2r1inj +2r1ins +2rint +r1inv +2rinz +2r1i2o +2r1i2pa +r1ira +2r1isk +r1ism +2r1ist +2r1i2sz +2r1i2ta +2r1iva +2r1iv +2r1i2z +r1g +r1j +2r1n +2r1r +2r12v +2r12z +r2jan +r1k2l +rk2z1e2p +r1k2r +r1k2v +rle2t1l +1rm +1rmj +1rmk +1rmi. +2r1o2l +r1ont +ro2p +r1ope +2r1o2r +r1ott +r1ovi +2r1o2x +r2l +r1lo +r1ri +2r12b +2r12c +r1ko +2r12l +2r1m +2r1n +2r1r +2r1s +r1t +r1v +2r12z +r1f2 +r1pl +r1p2r +1rsek +r1s2k +r1sl +r1s2p +r1s2r +r1s2t +rsz2 +r1szk +r2tat +1rtekez +r2t1ela +1rtelm +1rtes +1rtkil +1rtkm +rts3s +rt12ve +1rtc +1rtg +1rt +r1t2ran +r1tr +r1t2ren +r1t2r +1r1t2ro +r1tr +r1uga +2r1uj +ru2m1e +ru2n +r1una +2r1u2r +ru2s1r +r1u2sz +r1uta +r1ut +r1u2to +2r1u2z +2r1j +r12r +r12s +r2t +2r12g +r2k. +2r1r +2r1s +2r1t +2r12v +2r1z +2r12z +rv1a2d +rv1ala +r2v1a2n +r2v12gy +1rvel +r2v1elem +r2v1gb +r2v1gh +r2vk +r2vl +r2vu +2rz +1rzk. +1rzkb +1rzk +1rzkh +1rzkk +1rzkn +1rzkr +1rzkt +1rzk +1rzk +1rzsil +s1abl +2s1a2d +s1agy +s1ajt +s1a2ka +s1akl +s1akn +s1ako +s1akt +s1a2la +s1alg +s1alk +s1all +s1alt +s1alv +2s1am +s1ana +s1ant +s1a2ny +s1apa +s1apr +s1ara +s1a2r +s1arc +s1ar +s1arm +s1arz +s1asp +s1ass +2s1a2u +s2c +2s1l +s1rt +s2s +s1ta +s1th +s1tl +s1bl +s1d2r +se2b +2s1eb +2s1ef +s1e2ge +s1e2gy +2s1e2ke. +2s1e2kei +2s1e2ks +2s1eks +2s1ekv +s1ela +s1el +s1elb +s1elk +2s1elm +s1elo +s1elr +2s1elv +s1elz +s1ember +2s1e2mel +2s1eml +se2n +2s1ene +2s1eng +2s1eny +2s1e2p +s1er +2s1esz +2s1eto +2s1ev +2s1ex +s1gb +2s12gb +2s12g +s12gh +s12gn +2s12gv +2s1gh +2s12gi +2s1gn +2s1gv +2s12hen +2s12j +2s12k +2s12l +2s1p +2s1r. +s1rb +s1rc +2s1rd +2s12rem +2s12ren +2s12r +2s1rh +2s1rl +2s1rn +2s12r. +2s12rk +2s12rv +s1rr +2s1rte +2s1rt +2s1rt +2s12r +2s1rv +s1sz +2s12te +s12ve. +s12vet +s12vb +s12vt +s12vv +s1fl +s1fr +s1gr +2s1ic +2s1id +3sidet +si2 +si2g +s1iga +s1ige +2s1ikt +2s1ill +2s1imi +s1imp +s1ind +s1inf +2s1ing +2s1int +s1inv +2s1i2p +2s1ira +2s1i2r +s1iro +2s1i2s +2s1i2ta +2s1i2v +2s12r +2s1v +s2katu +s1kl +s1k2r +s1kv +1slg +2s1ob +s1oko +s1okt +2s1o2l +2s1om +2s1op +2sor +s1org +s1orn +s1orv +2s1os +2s1ot +s1o2v +s1c +s12l +s1n +s12r +2s12l +2s1n +2s1s +2s1t +2s12v +2s12z +s1p2l +s1p2r +s2pri +s1ps +s1s2k +s1s2p +s1s2t +ssz2 +s3szab +s3szag +s3szak +s3szap +s3sz +s4szel. +s3szere +s3szle +s3szf +s3szi +s3sz +s3szo +s3sz +s3sz +s3sz +s3szt +s3sz +s3szl +s3sz +st2r +s1tra +s1tr +s1tr +1stru +s1ud +s1u2r +2s1u2t +2s12t +2s1g +2s1nn +2s1r +s12t +2s1z +sz1abl +2sz1a2d +sz1agy +2szaj +szak2 +sza2k1z +2szakc +sza2k1 +sz1ale +sz1alg +sz1all +sza2n +sz1ant +sz1any +sza2p +sz1apo +2sz1a2r +2sz1as +sz1a2to +2sz1au +2szaz +2sz +2szb +2sz12g +sz2l +sz1ll +s3zp +sz1ram +2szr +sz1rn +sz1rf +sz1rk +2sz1rn +sz12ru +2szs +2sz12t +sz12z +2sz1e2ge. +2sz1e2gei +2sz1e2gy +2sz1ej +sze2k1a2 +sze2k +sz1eks +szek2 +sze2kv +2sz1ela +2sz1e2leg +sz1e2lemb +sz1e2leme +sz1e2lem +sz1e2lemm +sz1e2lemn +2sz1elk +sz1eld +2sz1elr +2szelz +sz1ember +2sz1emi +2s3zen +2sz1eng +2sz1ep +sz1e2rez +sz1e2rn +sz1erk +2szer +sz1e2sete +sz1eszt +szeta2 +sze2t1ak +sze2t1e2l +sze2t1r. +sze2t1o +sze2t1r +sz1e2ve +2sz1ex +2szg +2sz1kt +2sz12l +2sz12p +sz1r +2szr +2szsz +2sz12te +2sz1tk +2sz1i2d +2szif +sz1i2ko +2sz1ikt +2sz1ill +2sz1im +2szina +2sz1ind +2sz1inf +sz1ing +2sz1int +sz1io +2sz1i2p +2szira +2sziro +2szirt +2sz1i2s +2sz1ita +2sz1iz +sz12j +2szr +sz12v +sz12v +sz12v +sz1k2 +sz1okt +szo2l +sz1old +sz1olt +2szop +sz1ors +2sz1os +2sz1ot +2s3zn +2sz +s3zld +sz1lt +2sz1n +2sz1s +2szt +sz1rs +sz1p2 +sz3su +sz3s +szts1s +sz2tors +sztorz1 +sz1tra +s3zul +sz1ut +sz1rn +2sz1t +2sz12g +2sznn +2szt +2sz12z +2szz +sz1z +t1abla +t1a2do +t1a2d +t1adt +t1agg +ta1gr +tai2k +2t1ajk +2t1ajt +t1akc +ta1kr +t1akt +2t1alj +2t1alk +t1als +2t1alt +2t1ani +2t1ann +2t1ant +t1anya +t1any +2t1aps +2t1arc +2t1arg +t1aszt +tat2 +t1atom +ta2 +t1azo +t1br +2t12g +2t1ll +t12rad +t12ram +t12r +2t12ri +2t12r +t1rv +t1ti +2t1tr +2t1tv +t1bl +t1dr +tea2 +2tedn +te2g1a2 +te2gele +te2g1elv +te2ger +te2go +2t1e2ke. +2t1e2kei +te2la +te2l1 +te2l1e2l +te2l1er +te2l1k +te2l1r. +te2l12ren +te2lr +2telfog +2tellen +te2lo +2t1e2ll +te2l12r +2t1e2mel +tera2 +te2rad +te2r1ag +te2r12 +te2reg +te2rel +termo1 +2t1er +te2sik +2t1estn +2t1esv +2t1eszm +t1e2vi +t2g +t1g. +t1ge +t1g +t1gn +t1gt +2t12j +2t12l +2t12ren +2t12r +2t12ri +2t12rt +2t1rte +2t1rt +2t12r +2t1rv +2t1rz +t1szl +2t1tb +2t12t +2t1tn +2t1tr +2t12ves +t1fl +t1fr +t1gr +2t1i2d +ti2g +2t1ige +2t1ig +2t1i2ko +2t1i2m +2t1ind +2t1inf +2t1int +ti2p +2t1ipa +2t1ir +t1iro +tis3s +ti2sz +2t1i2v +t1iz +2t12r +2t12v +t1kl +t1kr +1tk +t1kv +tmeg1g +t1o2k +t1o2ki +t1okm +t1o2l +2tola +2tolv +t1oml +2t1op +t1ord +t1org +to2ris +t1orm +t1ors +2t1c +t12ha +t1n. +t1r +t2k +t2l +2t1m +2t1n +t2rl +2t1s +t12t +t12v +2t12z +t1r. +t1rb +t1ri +t1rm +t1r +t1r +2t12s +2t12z +tpen1 +t1pf +t1pl +t1pr +1t2raf +t2rf +tro2m12 +t1sl +t1sm +t1sp +t1st +t1t2r +t1udv +2t1ug +2t1uj +tu2n +t1una +t1und +2t1u2r +2t1u2t +t12s +2t1g +2t1r +t1s +2t1t +2t12v +2t12z +t2z +2t3ye +1u +u2ni +u2ta +u2t +u2zs +1 +1 +2gy +2le +2l +2l +2l +2r +2t +2t +2t +2ze +1 +2vad +1vad. +v1ad +1vadr +v1agy +v1aj +2v1a2la +2val +2v1alk +2v1am +2v1a2n +v1arc +v1au +v1ava +2v1a2z +2v1llo +2v1ta +v1th +v1tk +2v1tr +v2z +v1z +1vbeo +2v1e2g +12vei +12vekt +v1ela +1velf +12v1eli +2v1ell +v1eln +2v1elo +2vel +2v1els +2v1elt +2v1elv +2v1eng +12venk +12vent +v1e2ri +2v1e2r +12vesb +1ves +v1e2ss +1vesf +12vesi +12vesk +12vesr +v1est +v1eve +v12ge +v12g +v1gr +v1gt +v1r. +v12r +v2ri. +v1rr +2v1rte +2v1rt +v1ska +v1s2p +v1st +v1gr +vi2g +v1iga +2v1ig +12vih +12vik +12vim +2vin +v1ind +1vine +1vin +v1ing +v1int +v1ism +12vit +12viv +2v1r +1vks +v1kr +1vny +v1ok +v1os +v12r +v12r +v1s +v1t +12vd +v1pr +v1sk +v1st +v1sz +vsza2k1as +vt2r1a2d +1vt. +v1ur +v1j +v12t +2v1g +2vk. +2vkb +2vke +2vkh +2vki +2vkn +2vkt +2vlj +2v1t +2v1z +1vz +z1a2d +za2gal +za2ge +z1a2j +z1akr +2z1a2l +za2n +z1any +z1a2r +z1as +2z1a2t +z1az +2z12g +2z12l +z1sv +z1z +z1bl +z1d2r +ze2c +z1ece +2z1e2d +z1e2g +z1e2gy +2z1ela +2z1eld +2z1e2le +zel1en +2z1elf +2z1elh +2z1ell +z1elb +z1el +z1elg +z1eli +z1elj +2z1e2lk +z1eln +z1elp +z1els +z1elt +z1elv +2z1els +2z1elv +2z1emb +z2en. +ze2n1 +z1enz +2z1e2p +ze2r1a +ze2r1 +ze2r1in +ze2rip +ze2ro +z1er +z1e2r +z1esz +ze2ta +ze2t1 +ze2t1eg +ze2t1e2kh +ze2t1el +2z1e2v +2z1ex +2z12d +2z1g +2z1k +2z12l +2z1r. +2z1rc +2z12ri +2z1rm +2z1rp +2z1rt +2z1rz +z1fr +zg2 +z1g2r +zi2d +z1ido +2z1ig +2z1ill +z1imp +z1ind +z1ing +2z1int +zi2o +z1ion +2z1i2pa +2z1ip +2z1i2r +3zire +3zir +zis3s +zi2s1 +zi2sza +zi2s3z +z1i2ta +2z1i2v +z1izm +z1izo +2z1izz +z12j +z1r +z12v +z1z +zkar2c3h +z1k2l +z1k2r +z1ola +z1old +z1op +2z1or +z1osz +2z1ox +z1b +z12k +z1n +z1r +z1s +z1t +z12v +za2 +z1r. +z1pl +z1p2r +z3saj +z3sar +z3seb +z3ser +z3sik +z3sn +z3sod +zs2 +2z3sk +zs1r +z3s +z3spi +zs1s +z3sug +zs12r +2z3s +z3sz +z1t2r +z1ug +z1uj +2z1u2r +z1ut +2z12g +2z1r +2z1s +2z1t +2z12z +z1r +z3zsa +2f. +1fa +fat1 +fa1b2ro +fa2chi +fac3hi. +fa2c3ho +fa1d2r +faegyez1 +fae3lek +fae2r +fa2d +fa1f2r +fa1g2r +fagy2 +fa2gyk +fa2gyol +fa2gy +fa2gyr +fai2d +fai2s +fa2j1a2l +fa2j1az +fa2j1g +fa2j12ru +fa2j1egys +fa2jelem +fa2j1elk +fa2jelm +fa2j1eln +fa2j1elv +fa2j1es +fa2j1 +fa2j +fajt2 +faj1tr +faju2r +faj1ura +fa2j +fa1k2l +fa1k2r +fa1k2v +fa2l1a2d +fa2l1a2d +fa2laj +fa2l1a2k +fa2l1a2l +fala2n +fal1any +fa2lav +fa2l1az +fa2l1br +fa2l1l +fa2l12ro +fa2l1th +fa2l1tv +fal1e2gy +fa2l1elem +fa2l1el +fal1ese +fa2l1ri +fal1f2 +fa2lid +fa2l1inj +fa2l1iz +fa2l12 +fa2l1ol +fa2l1oml +fa2lor +fa2l1os +fal1r +fal2 +fa2lk +fa2l1v +fa2l1r +fal1p2 +fal2s1n. +falta2n +fal2tem +fal2tip +fal2tz +fa2l +fa2n1e2vet +fan1vb +fan1vr +2f1a2nya. +fa2r +fa1p2l +fa1p2r +fa2r1a2d +fa2ragy +fa2r1a2k +fa2r1a2l +fa2r1at +fa2r1a2v +fa2r1cc +fa2r1l +fa2r12z +fa2r1em +fa2r1e2pe +fa2r1id +fa2r1in +fa2r1ing +fa2r1izm +fa2r1izo +far2k1al +far2kol +far2ml +far2min +far2m1unk +fa2r1okke +fa2r1osz +fa2r1ut +fa1s2k +fa1s2p +fa1sta +fa1st +fa2sz1v. +fa1tri +fau2r +fau2s +fau2t +fa2t +fa2z +fa2xe +faxi2 +fa2x1ik +fa2xin +fa2x +fa2x +fa2x +fa2x +fa2x +fa1ya +fa1ye +1f +f1br +f2c3h +f2gp +fj2lak +fj2l +fj2l1e2 +fj2l12 +f2n +fnka2 +fn2kar +fn2k +fn2tad +fn2t1a2g +fn2tan +fn2t12 +fn2t1e2 +fn2tis +fn2tor +fn2t +f2po +f2ram +f12r +fs3s +f2t1a2 +f2t1 +f2te +f2t1rd +f2t1i2s +ftm1 +f2t1ol +f2t12 +fzi2s1g +fzi2s3z +fba2l1 +fc2lu +fd2r +1fe +fe2aa +fe2a +fe2ab +fe2ac +fe2ad +fe2ae +fe2a +fe2af +fe2ag +fe2ah +fe2ai +fe2aj +fe2am +fe2an +fe2a1p2 +fe2ar +fe2as +fe2at +fe2a +fe2av +2f1e2dz +fe2ed +fe2el +fe1f2r +fe2gy1i +fe2gy +fei2n1i +fe2ja +fe2j12 +fe2j1egy +fe2j1elm +fe2j1e2r +fe2j1esz +fe2j1e2v +fe2j1o +fe2j1s +fej1tr +fe2j1u +fe2j +fek2t1emb +fe2l1a2 +fe2l12 +fele2c +fe2l1e2dz +fe2l1e2g +fe2l1e2h +fe2l1elev +fe2l1e2mel +fe3lemen +fe3lemet +fe2l1e2ms +fe2l1eml +fe2l1eng +fe2l1enn +fe2l1e2re +fe2l1esd +fe2lesed +fel1eseg +fe2l1e2sett +fe2l1ess +fe2l1esik +fe2l1esk +fe2l1esni +fe2l1e2s +fe2l1essen +fe2l1este +fe2l1est +fe2l1e2sz +fe2l1e2tes +fe2l1e2tet +fe2l1ettek +fe2l1ettl +fel1e2ve +fel1e2v +fel1evi +fel2d +fe2l1de +fe2l12g +fe2l12k +fe2l12l +fe2l12p +fe2l1r. +fe2l12rek +fe2l1ren +fe2l1rh +fe2l1ri +fe2l1rj +fe2l1rk +fe2l1rn +fe2l1rs +fe2l1rt +fe2l1rv +fe2l1tet +fe2l1i2 +fe3lib +fe2l12 +fel3l +fe2l1o2 +fe2l12 +fe2l12 +fe2l1g +fe2l1r +fel1p2 +felt2 +fe2l1u2 +fe2l +2f1e2ner +fen2n1a2 +fen2n +fenne2 +fen2nev +fen1sc +fer1abl +fe2rak +fe2r1ll +fe2r12r +fere2g +fer1egy +fe2r1old +fe2r1olj +fe2r1oln +fe2r1olt +fe2sem +fe2s1er +2f1e2s +feu2m12 +fe2v +fe2z1r. +fe2z +fe2zs +1f +fka2 +f2k1ad +f2k1ag +f2k1al +f2kas +f2k1au +f2k12 +f2k1e2g +fk1ell +f2k1er +f2k1k +f2k12l +f2k1r. +f2k1o2l +f2k1or +f2kn +f2k1u2 +f2k1 +f2l1a2 +f2l12j +f2l12r +f2leg +f2l1ekk +fl1el +f2l1ell +f2l1el +fle2m +fl1emb +f2l1eme +f2l1e2r +f2l1ese +f2l1esz +2f12let +f2l1ez +f2l1va +fligaz1 +f2lin +f2lir +f2l1is +f2liv +f2l +f2l1ok +f2los +f2l +f2l1 +f2lr +flpen1 +fl1t2r +f2l12 +f2mab +f2mad +f2m1a2g +f2m1a2j +f2m1a2n +f2m1ap +f2mau +f2maz +f2m1c +f2m1l +f2m1ec +f2med +f2me2kt. +f2m1e2l +f2m1emb +f2mer +f2mez +f2m12k +fm2r +f2m1r +f2m1i2n +f2m1ir +f2m1is +f2mit +f2m1iz +f2m +f2m1o +f2m +f2m +f2m1u +fm2 +f2m1l +f2ny1e2g +f2ny1e2l +f2ny1e2r +f2ny1is +f2ny1 +f2nyo +f2ny +f2ny +f2p +f2p +2fra +2fraf +2frai +2fral +2frar +2frd +2fr +2frm +fr2cem +fre2g1e2 +f2s1orr +fsz1al +fsz2 +fsz1r +f2szeg +f2sz1el +fta3u2 +2f1vk +f2zs +fzs1e2 +fzs1o +ffe3li +ffi2ac +ffi2ag +ffi2aka +ffi2am +ffi2at +ffli2 +ff1sh +1f2fy +fg2l +1fi +fi2aa +fi2a +fi2ae +fi2a +fi2af +fi2ah +fi2a +fia2la +fi2ao +fi2a +fi2a +fia1p +fi2apa +fia2ra +fia2r +fi2ar +fi2asz +fi2aszo +fi2au +fi2a +fi2av +fi2ave +fi2l +fi2c3h +fici2t1 +fi2dan +fi2d1 +fi1dr +fie2l +fie2n +fie2r +fie2s +fies1e +fie2t +fi1fl +fi1fr +2f1i2gaz +fi1k2l +fi1kr +fi1kr +fi1kri +fi1k2v +fi2lac +fil1ada +fil1akn +fil1akt +fi2lal +fi2lam +fi2l1l +fi2lr +fil1elt +fi2l1en +fi2les +fil1esz +fil1rt +fi2l1i2d +fi2l1i2m +fi2l1in +fil2mad +fil2mak +fil2man +fil2m1as +fil2mat +fil2m12 +fil2mos +fil2mu +fi2l +fi2l +2f1i2m +fimeg1 +2f1i2nas +2find +fin1osz +fi2n1 +fint2 +fin1tr +fi2n1u2 +fi2n +2finx +fio2v +fi3k +fi2k1a2l +fi2kar +fi2k1e2 +fi2kp +fi2kol +fi2k +fi2r +fi2r +fi1p2l +fi1p2r +fi2rod +fis1arc +fi1s2p +fist2 +fi1str +fi2t1ad +fit1a2la +fit1alj +fi2tg +fit1rak +fit2t +fi2t1ta +fi2t1h +fi2t1rd +fi2tik +fi2t1in +fi2tir +fi2t1i2z +fito1p2 +fi2t1osz +fi2tn +fi2t1r +fi2t1ur +fiu2min +fiu2t +fi2a +fi2 +fi2e +fi2f +fi2g +fi2 +fi2l +fi2o +fi2 +fi2 +fi2p +fi2sz +fi2ti +fi2u +fi2 +fi2 +fi2x1r +fi2x1el +fi2x +1f +f2r +frcsa2 +f2r1in +f12r +fr1tr +f2r +fj1sz +fki2s1 +fk2li +fk2lu +fk2r +f2lak +f2lan +f2lep +f2lip +fli2s1 +flo2n1 +flo2n +f2lot +f2luk +1fo +fo2am +fo2g1a2r +fo2g12c +fo2gl +fo2g1rk +fo2g1ro +fo2g1e +fog3g +fo2g +fo2g1or +fo2g1os +fo2g +fo2gur +fo2g +foh2szat +fo2kal +fok1ll +fo2k1rr +fo2k1e2 +fok1ing +fo2k +fok1k2 +fo2kola +fo2k1or +folta2n +fol2t1e +fol2t1 +fo2n1ada +fo2nado +fo2nak +fon1alap +fona2l1e2 +fon1alja +fon1aljo +fona2n +fon1any +fo2n1asz +fo2n1au +fo2n12r +fons1s +fo2n1t +fond2 +fon1dr +fo2neg +fo2n1el1 +fo2ner +fo2n1es +fo2nk +fon1f2 +fon1i2ko +fo2n1i2m +fo2nin +fo2n1is +fo2niz +fo2n +fon1k +fo2n1or +fo2n1osz +fo2n +fo2n2 +fons2 +fon1st +fon2t1i2n +font2 +fon2tn +fo2n +fonya1 +fo2r1ad +foraksz1 +fo2r1ala +fo2r1a2n +for1ato +fo2reg +fo2r1el +fo2r1er +forgs1s +fo2r1il +fo2r1i2o +for2m1e2l +for2m1em +for2mer +for2mes +for2m1rt +for2mil +for2m1in +fo2r1ol +fo2r +2f1orr +fors2 +for1sp +for2t1l +for2t1e2l +for2t1rd +for2t +fo2r +foto1s +fo2vi +1f +f2r +fsza2 +1f +f2la +f2l +fl2dk +f2l1e2 +f3le. +2f12lsbel +f2liv +f2l +fl1k2 +f2lo +f2l +f2ln +flt2 +fl1tr +f2lu +f2l +fn2n1 +fnne2 +f2s +1f +fa2n +f2g +f1bl +f1br +f1dra +fe2l +fe2r +fe2s +f2h +f2te +f1fl +f1f2r +f1gl +f1gn +f1gr +fi2d +figaz1 +fi2ta +f2t +f1kl +f1kv +f2n1ag +f2n1apj +f1pl +f1pr +f2r1aj +f2rem +fre2s +f2r1k +fri2 +f2r1is +f2rl +fr1l +f1sl +2fs +f1sta +f1str +fsz2 +f1szl +f1szp +f1szt +f1t2r +f2l +fz2 +fp2la +fp2ro +fra1s +fr2ma +fr2m +fr2m1e2 +fr2nye +f2rs +f2resk +fr2n +fr2nn +1f2ric +f3rich +f2rig +f3rip +1f2ris +fron2t1a2 +fron2t1e2 +f2rc +f2rus +fs2ho +fs2po +fs2t +fst2r +ft1aj +fta1kr +ft1alj +ft1bl +f2t1ef +fte2m +f2t1eme +f2t1r. +fti2g +f2t1ige +f2t1ing +ft1s +ft1t +f2t1g +ft1t +f2t12z +1fu +fuga1 +fura2t1e +fu2s1as +fu2seg +fu2sis +fu2sz12 +fu2sz1ol +fu2sz +futksz1 +fut1s2p +1f +fj2tal +2f12r +2f1rr +f2zs +1f +2f12gy +f2la +f2l +fle2c +f2l1eml +f2l1e2p +f2l1e2v +f2l12j +f2l12k +f2l +fl3l +f2lo +2fl +f2lt +fl3t2 +f2ma +f2m +f2m1e +f2mo +f2m +f2m +2f1nn +fr2t1 +fst2 +fs2t1l +2f12t +2f12t +2f1zl +1f +f1dr +f1fr +f1pr +f1sr +fsze2r1el +f1t2r +f2z +f2zis +f2zo +f2z1lt +fvros2 +1fy +2g. +1ga +2g1abc +2gabr +2g1abs +ga1by +2g1a2dag +g1adap +2g1a2data +2g1a2datb +gads1s +2g1adm +ga2dog +2gadom +gadi2ko +2gadsat +2g1a2du. +2g1a2duk +gae2r +2g1aff +ga1fl +ga2ga. +2g1agg +ga1g2r +g1agy. +ga2gyu +g1a2gy +2g1ajn +2g1ajk +2g1ajt +2g1a2kad +ga2kc +2g1akc +g2a3k +2gakv +ga1kl +2gaknai +g1aktu +g1akv +gala2g1 +ga2lat +2galf +2gal +ga2lv +2g1alb +2g1alc +gale2g1e2 +2g1alk +galo2m1e +3galop +g1a2los +2g1a2lud +ga2lul +ga2lusz +2galv +ga2m1a2g +2g1amc +2g1amp +ga2nab +2g1a2nal +2gancs +gan2csal +gancs1g +gan2cse +gan1d2 +3g2an +gan2ga +g1a2nim +ga2nyag +ga2ny1at +ganye2l +ga2nyr +g1a2ny +ga2ny +ga2r +ga2pa. +ga2pa +ga2pac +ga2pas +ga2pn +ga2pt +ga1p2l +ga2pok +ga2p. +ga2pb +ga2pk +ga2pn +ga2pv +2g1app +ga1p2r +ga1pro +gara2t1 +2g1a2rk +2g1a2rny +ga2rn +gar1k2 +ga2r +ga2seg +ga2s1is +ga2s1n +ga1s2pi +ga1spr +gas3sze +gas3sz +gast2 +ga1s2ta +ga1sto +ga1str +gasz1agg +ga2sz1an +ga2szg +ga2szs +ga2sz1es +gasz2tr +ga2t1a2d +gat1ar +ga2tav +ga2t1l +ga2t12ram +ga2t1eg +ga2tep +gat2s +ga1thi +ga2tim +gat1old +ga2tomi +g1a2uk +ga2ul +ga2us +ga2van +ga2var +ga2vat +2g1a2vu +gaza2n +gaz1any +gaza2te +ga2zl +3g2azd +3g2aze +ga2zer +2gazg +2gazt +gazmus1s +2gazod +2gazon +ga2z +1g +g2ba +2g12b +g2b +2g1br +3g2ci +gcs1a2va +g2cse +g2cs1il +g2cs +gda2 +g2d1al +g2d +g2d1l +g2d1ia +g2dis +g2d +g2d1 +g2fo +2g1g. +g2gak +g2gat +g2gaz +2g1gg +2g12gi +2g12g +2g12gy +ggy1asz +2g12h +g2ja +g2j +g2j1e2 +g2j +gla1p +2g1lc +2g1ldo +g2l1es +g2li +3glis +2g1ll. +2g1ll +2g1llu +2g1lmo +3g2ly +g2m. +g2mal +g2m1e2 +2g12m +g2m +gna2 +g2nac +g2nal +g2nap +g2n1at +g2ns +gn2cse +gn2csi +gn2cs12 +gn1d2 +g2n1e +2gngy. +g2nig +g2n1io +g2nis +2g12niz +g2nol +g2n12 +gn1sz2 +gnt2 +gn1tr +g2n1 +g2n +g2ny1a2n +g2nyar +g2ny1as +g2ny1e2 +g2nyrd +g2nyrz +g2nyij +gnyk2 +g2ny +g2po +g2rad +g2r1ag +g2r1aj +2g12ram +g2r1a2n +g2rar +g2ras +g2ra2t +gr1ato +gr1att +g2r1av +2g12raz +g2rg +g2r1l +g2r12z +g2re2 +gr1em +gr1es +gr1et +gr1te +g2rif +g2r1i2p +g2r1isk +g2r1ism +g2r1iz +g2r +2g1rny +g2r1ol +g2rop +gr1ost +g2r1osz +gr2 +g2r1r +g2r +g2r +gr1s2 +gr1tr +2gru. +2g1rud +g2rug +2g12ruh +2g12rul +2g12rul +2g1rur +2grus +gr1uta +gr1utu +g2rr +g2rt +g2r +g2r +g2s. +g2s1a2d +g2sal +2gsat +g2s12g +g2s1rad +g2s1rn +2g12ss +g2s12to +g2s1e2 +g2s1im +g2sis +g2s +g2sor +g2s +gs12r +g2s +g2s +gs3sz +gs3sz +gst2 +gs1tr +g2sut +g2s12 +g2s +g2szal +g2szas +g2szatl +g2s3zav +g2sz1l +g2sz1e2 +g2szis +g2szit +g2sz +2g1szk +gszksz1 +g2sz1okta +g2sz1l +g2s3zn +g2szv +g2sz +g2t. +2gtad +g2taj +2g2tal +gt1a2la +gt1alj +gt2 +g2tl +g2t1r +g2tt +2g1tbo +g2t1eg +g2t1e2l +g2t1e2m +g2ten +g2tl +gt2r +g2t1r. +g2t1re +2gtfe +2g1tg +2g1tha +g2til +g2tis +g2tiz +2g12t +g1tm +g2t1olda +gt2 +g2tr +2g12t1 +g2t +2g1tt +2g2t2 +g1tvi +g2va +g12v +g2z1a2d +gz1akn +gz1akt +g2z1a2l +g2zar +g2z1a2t +g2z1av +g2z1r. +g2z1r +gz1re +g2z1rh +g2z1rk +g2z1rn +g2z12ro +g2z1rr +g2z1rt +g2zru +2g12zsos +g2z1e2 +gzi2g +g2z1iga +g2zim +g2z1i2p +g2z1i2s +g2z1iz +g2z +g2z +g2z +gz3sp +gz3sta +gz3ste +gz3sug +g2zs +gz3s +gz3sz +g2z +gbe2 +gb2l +gb2rem +gb2la +gb2le +gb2lo +gb2l +gb2ra +gb2ri +gb2ro +gb2ru +gcsap2 +gcsa2p1g +gda2u +gd1ell +gde1p2 +g2d12k +g2d1r. +gd1ina. +gd1inb +gd1inh +gd1inr +gd1int +gd1inv +g1d2r +gd2re +gd2ro +gd1t2r +g2d3z +1ge +gea2c +gea2g +gea2l +ge2r +g2ebe +g1e2cet +3g2eci +g1eddz +2gednn +2gedny +ge2dze +ge2dz +ge2dzi +ge2dz +2g1eff +2gege +2g1e2g +3gegom +ge2gye +ge2gy +ge2gyo +2g1e2gy +ge2hes +ge2het +2g1e2h +2g1ejt +2g1e2ke. +2g1e2kei +2g1e2kek +2g1e2k +ge2kj +ge2kk +2g1e2ks. +ge1k2li +2g1eks +3g2el. +g1elad +ge2lag +3g2elap +ge2las +ge2ll +ge2l1r +2g1elcs +3geld. +2g1eldo +2g1eld +ge2lef +ge2legi +g1elegy +3g2elek. +2ge2lem +ge2lemi +2ge2lemk +2g1e2lemm +2g1e2lemz +gele2n +3gelend +ge2l1eng +ge2l1eny +gel1este +ge2lev +ge2lg +3g2elsb +3g2elsek +3g2elsen +3g2elsn +3g2elsr +3g2elsh +3g2elsi. +3g2elsk +3g2elsr +3g2elss +3g2elst +3g2els +2g1elsz +3gelsz. +3gelsz +3gelsz +3gelszv +2g1elhel +3g2elhes +3g2elhet +3g2eli. +3g2elik +gel1int +3g2elj. +3g2elje +3g2elj +3g2elj +2g1elk +2gellen +2g1elm +2g1elnev +3g2elnn +3g2elni +2g1e2los +ge2l +3g2el. +ge2lbbr +3g2elbe +3gelb +3gelbi +3gelbo +3g2elb +3g2elc +3g2ele +3g2el +3g2elg +3g2elh +3gelja +3g2elj +3g2eljo +3g2elj +3g2elj +3g2elk. +3g2elka +3g2elkb +ge2lkel +3g2elker +3g2elket +3g2elkez +3gelk. +3g2elkn +2g1elks +3g2elkh +3g2elki +3g2elkk +3gelkl +3g2elkn +3g2elk +3gelk +3g2elkr +3gelkt +3gelku +3gelk +2g1e2ll +2g1elm +3g2eln. +3gelna +3g2elne +3g2eln +3g2elnk +3geln +3gelnyi +3g2elo +3gel +3g2el +3g2elp +g2elre. +3g2elrs +3gelro +3g2elr +3g2els. +3gels +3gelso +3gels +3g2elsza +3gelsze +3gelsz +3gelszi +3gelsz +ge2lsz +3g2elt. +3g2elt +2g1elt +3g2elt +3gelt +3gel +3g2elv +3g2elve +3g2elv +3gelvis +3gelviz +2g1e2lz +g1els +3g2elsz. +2g1elsz +2g1elszo +3g2elt. +3gelte. +3g2eltek +3g2eltem +3geltes +2g1eltett. +2g1eltettn +3geltb +3g2eltk +3geltl +2g1eltr +3geltt +2g1elto +2g1elt +ge2ll +3g2eln +2g1elv. +2g1elvb +2g1elven +2g1elvt +2g1elvh +2g1elvn +2g1elvo +2g1elvr +2g1elv +2g1elvv +ge2ly1e2g +ge2lyid +ge2man +2g1ember +2g1embl +g1e2mel +2gemel +2gemelk +ge3mell +2gemel +2g1e2ms +2g1eml +ge2moc +2g1emp +gena2 +ge2n1ad +ge2nar +ge2n1as +ge2nau +ge2n1l +ge2nr +ge2nt +g2end +ge2n1eg +3gener +ge2nere +2generg +ge2n1esz +ge2n1e2vet +ge2n1e2vez +gen2k +ge2n1k +ge2n1kn +ge2n1kt +geni2d1 +ge2n1in +ge2n1is +gen1k2 +g1enni +g1enn +gen3nya +ge2nop +ge2n1or +ge2n1os +gen2srt +gens3s +gent2 +gen1tr +ge2n1ur +g2enye +2g1enyh +g1enyv +2g1enz +ge2ob +ge2oc +ge2of +ge2ok +ge2om +ge2orgia +ge2ot +ge2r +ge2ped +ge2per +ge2ps +2gepi +ge2pos +ge2rab +ge2r1ad +ge2r1aj +ge2ral +ge2r1a2n +ge2r1a2p +ge2r1as +ge2rau +ge2rb +ge2r12g +ger1ll +ger2r +ge2r1ra +ge2rt +g1erde +3g2ereb +2geredm +ge2reg +g1erege +ger1egy +2g1e2rej +ge2r1e2lk +ge2r1eml +ge2r1eny +ge2r1er +ge2resz +ge2r1e2v +ge2rj +ge2r1k +ge2rl +ger1le +ger12l +ge2r1p +ge2r1tt +ge2r1i2na +ge2r1ing +ge2r1i2p +ger2is +ge2r1iz +ge2rog +ge2ror +ger1osz +ge2rot +ge2r +ge2rk +ge2r1n +ge2r +g1er. +g1erk +g1erv +ger1z +geru2 +ge2rur +ge2r12g +ger1ld +ge2r12l +g2es. +ge2s1 +ge1sc +gesd2 +g2eseb +3g2esei +ge2s1e2l +ge2s1emb +g2esen. +ge2send +2g1e2s1er +2g1e2setb +2g1e2setet +2g1e2set +ge2setl +2g1e2setr +2g1e2sett +2g1esl +2g1e2ss +g1e2sik +2gesk +gesleg1 +g1esni +2g1e2s +g2esr +gess2 +3g2ess. +3g2essg +g2est. +2g1este +2g1est +2g1esti +2g1estj +g1esv +2g1e2szek +ge2szes +ge2szet +g1eszl +2g1eszm +ge2t1ak +ge2tal +ge2t1a2ny +get1ap +ge2t1as +get1e2gy +2g1e2tetn +ge2t12k +get2l +get1le +ge2t1r. +ge2t12r +ge2t12ve. +get2 +ge2t1r +getksz1 +get1rt +ge1t2r +get2t1ebb +ge2tut +ge2t12z +ge2ur +geu2s +ge2vic +2gevo +ge2vol +2g1e2v +ge1y +ge2zo +geza2 +2g1ezr +1g +g2ber +2g1br +gc3c +g2d1a2 +g2d12 +g2d1e2l +g2d1e2r +g2d1esz +g2dik +g2din +g2dir +g2d +g2d1o +g2d +g2d12 +g2d1u2 +g2d12 +gd2 +g2d1l +g2d +g2d3z +g2gi +g2g +g2g +2g12he. +2g12hek +2g12hen +2g12hes +2g12het +2g1hh +2g1hs +2g1j. +g2jrt +2g1jh +2g1jj +2g1js +g2kei +g12kel +g12kes +gkes1s +g12kez +2g1ks +g2ll +g2lel +2gles +2g12let +2g12lez +g2ln +2g1lm +glvv2 +g2lya +g2ly +g2lyeg +g2lyo +g2ly +g2m1a2 +g2m1 +g2mb +g2m1eg +g2mel +g2mer +g2mr +g2m1o +gna2 +g2nab +g2n1ad +g2nag +g2n1al +g2n1an +g2n1ar +g2n1at +gn2 +g2n1r +g2nt +3g2nd +g2neg +2gnekes +2gnekl +g2n1e2l +g2n1e2r +g2n1e2t +g2n12g +g2n1in +g2n +g2nn +g2n +g2n1 +gnt2 +g2n +gn2 +g2ny +g2ny1e2g +g2nyid +g2nyis +g2nyr +g2nyo +g2ny +g2ny +3gp. +g2p1a2 +g2p12 +g2p1e2g +3gpel +g2p1ell +g2p1es +g2p1esz +g2pik +g2p +2g1pt +g2p1o2 +g2p +g2p +g2p +3g2pp +gpt2v +g2p1u +g2p +g2pl +gra2 +g2rag +g2rak +g2ral +g2r1an +g2rap +g2rar +g2ras +g2r +2g1rc. +2g1rd +g2r1el +gr1eml +2gret +2gr. +g2rie +2g12rin +g2ris +grk2 +2grl +2grm +g2ro +g2r +2gr. +2grk +2grte +2grt +2grth +g1rti +g1rtj +g1rtl +g1rt. +g1rte +g1rtk +g1rtv +g1rts +g1rtv +g2r1u2 +g2r1 +2g1rv. +2grv +2g1rz +3grz +g2sar +g2seg +g2s1e2l +g2s12g +g2sim +g2s1o +g2s +gs3sza +g2sza +gs3zav +g2sz +3gszt +g2sz1o +g2sz +2g12tel +g2ter +g2tet +2g1tk +2g12to +2g1tr +2g1tt +2g1v. +2g1vb +2g12ve. +2g12ved +2gvei +2g12vek +2g12ven +2g12vet +g2vb +2g12vn +2g12vt +2g12vv +2g1vf +2g12vi +2g1vj +2g1vk +2g1vn +2g1vr +2g1vs +2g1vt +2g1vv +g2zan +g2zr +gz3s2 +gfala2d +gfa2l1ada +gfa2le +gfi2k +gf2la +gf2lo +gf2l +gf2lu +gf2l1le +g1f2ra +gf2r +g1f2re +gf2r +g1f2ro +g1f2r +gf2ru +g2g1a2p +gg1arc +gga2s +g2g1asz +g2g1asz +gge2lest +ggs3s +gg1i2ta +g2g1iz +gg1orv +gg2n +g2g1ni +ggs2 +g1g2raf +g1g2ran +g2gre +gg2ro +gg1sp +g2g12g +g2gy +g3gyak +g3gyal +g3gyap +g3gyara +ggy1aro +g3gyat +g3gyr +g3gyv +ggy12z +ggy1e2l +g3gyeng +g3gyep +g3gyer +g3gyr +g3gyil +ggy1ol +g3gyom +g3gyor +g3gy +g3gy +g3gy +g3gyu +g4gyt +ggy1lt +g3gyr +g3gy +gha2d1e2 +ghaji2ko +g2ham. +g2hamb +g2hame +g2hamh +g2hamm +g2hamn +g2hamr +g2hamt +gha2sbr +g2hia +1ghy +1gi +gi2aa +gi2a +gia1b2 +gi2aba +gi2ab +gi2abi +gi2abo +gi2ac +gi2a1d2 +gi2ae +gi2a +gia1f +gi2afr +gi2a1g2 +gi2ah +gi2aim +gi2a +gi2aj +gi2akar +gi2akas +gi2ala +gi2al +gi2al +gi2am +gi2an +gi2any +gi2ao +gi2a +gi2a +gi2a +gi2a1p2 +gi2ar +gia1sz2 +gi2asza +gi2asz +gi2aszem +gi2asz +gi2aszf +gi2aszi +gi2aszo +gi2asz +gi2at +gia1t2r +gi2au2 +gi2a +gi2a +gi2a +gi2av +gi2az +2gibr +2g1i2dea +2g1i2de +2g1i2deg +gi2dei +2gidej +2g1i2deo +2g1i2d +gi2di +2g1i2do +2g1i2d +gi1fl +gig1ad +gig1ara +gig1ass +gig1au +2gigaz +gig1l +2g1i2ge. +gig1e2c +gig1eg +gig1eh +gig1eng +gig1enn +gige2r +gig1ere +gig1e2s +gig1et +gig1e2v +gi2g +gig1h +gig12l +gig1m +gig12ne +gig12r +2g1igz +gig3g +gi2g1i2 +gi2g +gi2g1o2 +gi2g12 +gi2g1 +gi2g1u +gi2g +gi2g1 +gi2g +g1i2gy +2g1i2ha +2g1ihl +2gijes +gi2ker +gi2kes +3gile +g1ill +gi2ma. +gi2man +gi2mb +2gimd +gi2mr +2g1i2mz +gi2me. +2g1imp +gina1p2 +gi2nas +gi2n12z +2g1ind +3gin +2ginf +2g1inkv +g1inn +g1inni +g1inno +g1innu +2g1inp +2gins +2g1inta +3gintc +2g1inte +2g1int +g1inth +g1inti +g1intj +g1int. +g1ints +g1intu +g1intv +2g1inv +2g1inz +gi2one +2g1ion +gi2ono +gi2ot +gi2a +gi2 +gi2c +gi2e +gi2f +gi2g +gi2k +gi2kom +gi2l +gi21p +gi2r +gi21sp +gi2ta +gi2t +gi2 +gi2 +gi2z +2g1i2pa +3g2ips +gip2sza +gip2sz +gip2szo +gi2ram +2g1i2rat +2g1i2r +gi2rig +2giro +gi2rod +2g1i2rn +2g1irt +g1isc +2g1i2si +2g1isk +2g1isl +2g1ism +2g1isp +2g1istl +2g1iste +2g1i2sz +2g1i2szo +gi2szu +gi2tas +g2it +2gitc +3g2iti +3gitte +g1ittu +2g1i2vad +2g1i2vs +g1i2vo +2g1i2v +2g1i2z. +gi2zv +2g1i2zo +1g +g2g +g2ja +g2j +g2m1a2 +g2m +g2n +g2ny +g2ra +g2r +g2re +g2ri +g2ro +g2r +g12tsz +g2v +g2ve +g2v +g2vo +g2v +g2v +g2ze +g2z +g2z +gka2r2r +gk2p1e2l +gkia3dn +gki2 +gkis1s +gk2la +gk2li +gk2l +gk2lo +gk2l +gk2lu +gk2zn +gk2z1r +gkv2 +gk2ra +gk2r +gk2re +gk2r +gk2ri +gk2r +gk2ro +gk2r +gk2va +gk2v +gla1p2l +gla1s2t +gla3t +gl2sza +gle2g1a2 +glege2l +gle2g1el +gle2 +gle2t1a2 +gle2t +gle2t1el +gle2t12rt +gle2t1tn +gle2tos +gle2 +gl2nyel +g2lor +1g2los +gl2 +gls2 +glre2 +gl2reg +gl2rel +gl2ro +gme2g1a2 +gme2g1e +gme2g1 +gmens1s +gmen2sz +gmus3s +gna2d +gn1ada +g2n1a2j +g2n1alk +gna2pe +g2n1a2r +1g2nb +1g2nh +1g2ni +g2nn. +g2nn +g2nra +gn2s3z +g2nt. +g2nt +1g2nv +gn1br +gne2i +g2n1e2l +gne2m1e2l +gne2sir +gnes3s +gne2sz +gneto1 +gn2l +g2n1le +gnv1a +gn2v1 +gni2g +g2n1iga +g2n1ing +g2n1i2p +g2n1i2r +g2n1is +gnit1a2 +gni2tel +g2n1okt +g2nol +gn1olt +1g2nora +1g2nore +1g2nor +gn1k +gn1s +gn1pr +gn1s2k +gn1st +gn1t2r +g2nj +gn1g +gn1z +1go +go2z +go2be +2g1obj +2g1o2d +go2et +g1o2ka. +gok1a2d +g1o2kai +2g1o2k1a2l +2g1o2k +goki2 +gok1ir +gokl2 +2g1okm +g1o2kok +2g1o2kos +g1o2kot +2g1o2koz +2g1okta +2g1o2laj +go2l1a2l +2g1olda +2g1old +2g1old +gol2f1a +gol2f1e +gol2fin +go2lim +go2l12r +2goltalo +2g1oltr +2g1olts +2g1olt. +2g1oltv +2golvad +2golvas +go2m1as +3g2omb +gom2b1rn +gom2b1rt +gom2b1e2 +3g2ome +2g1oml +go2n1a2to +go2n1ll +gonc3c +gon2d12 +gon2d1r. +gondi2 +gon2dik +gon2doks +gon2d1or +gon2d +go2n1e2 +gon2g1a +gon2gl +g2ono +go2nol +2g1onto +go2n +go2nye +go2od +go2p +2g1o2pe +gor1ass +gorasz2 +gora1t2 +gor1ll +2g1orc +go2r1el +2gorie +2g1orm +go2roz +go2r +2gorz +go2se +go2s +2gosto +2g1ostr +g1osty +go2s +go2s3za +go2s3z +go2sz +go2ua +go2ub +go2ud +go2ur +go2ut +go2vc +2g1o2ve +go2xi +go1ya +go1y +1g +ga2d +g2g +g2r +g1bl +g2c3h +g2c1ol +gcsap2 +gcsa2p1g +g2c +2g12dn +g2div +g1dru +g1f2r +g2v +g1kl +g1kr +g2lar +gle2l +gl1el +g2l12h +g2l +g2l +2g12nu +g2r +g1p2l +g1p2r +g12rad +g12ras +g2rka +g2rr +3g2ro +3g2sa +g2s1aj +g1s2k +g1s2p +g1s2r +gs3s +g1s2ta +g1st +g1str +g1sz2 +g2s3zm +g2s3zras +g2s3zr +gs3zr +g2tau +g2t1is +g1tr +g1tri +3g2val +2gvod +2g12v +g2vu +3g2z +3g2zi +3g2zo +3g2zu +1g +2g1bl +2g12ko +g2ku +2g12l +2g1lb +g12le +2g1lr +3g2mb +gm2b1a +gmbe2 +gm2bel +gm2b1er +2g1ml +2g12na +g12n +g2ne +g2n +2gnt +g2ra +3g2rb +3g2rc +gr2csa +gr2cs +gr2csel +gr2cs +3grd +3grd +2g12re +3g2rg +3g2rn +g2rk +g12r +2grv +gs2 +g2s1n +2g1ssz +2g1sz +2g1tl +g1v. +g1vb +g12ve +g12v +g1vh +g1vn +g12v +g1vr +g1vt +g12v +g12v +g1vv +1g +ga2n +g2g +g1br +ge2l +ge2r +g2b +g1fr +g1gl +g2g12 +gi2ta +g1kl +g1kv +gny2 +g1pl +g1pr +2g1r. +g1rb +g1rh +g2rit +g2riz +2g1rj +g1rk +2g1rl +g1rn +g2rk +2g1rr +g1rs +g1rt +2g12r +2g1rz +3grzs +g2s1ep +g2sib +g1spi +g1sta +g2s12v +g1tr +gu2t +g2l +g2zt +g2zeg +g2z1e2k +g2z1e2l +g2z1o +gz2s +g2zs +g2z3su +g2z3s +g2z +gpe2c3h +gp1e2lu +gpia2c1i2o +gp2la +gp2l +gp2le +gp2lu +gpon2ga +gpo2re +gp2ra +gp2r +gp2re +gp2r +gp2ri +gp2r +gp2ro +gp2r +gp2r +gp2sz +1graff +grafo1 +gra2m1a +grama2r +grama2z +gra2m12 +gra2m1e2 +gra2m1rt +gra2mik +gra2m1in +gra2m1is +1grammj +gramu2 +gra2mut +1g2ra1p +1g2rav +gr2cs1i +grfa2 +1g2r2f1an +1g2rfb +gr2f1e2 +1g2rffe +1grfid +1g2rfl +1g2rft +gr2lt +gr2l1e2 +g2rn +grn1d +g2rni +gr2r +gr2r1i2p +gr2s3za +gre2e +gren2d12 +g2ril +gril2l1a +gri2s1 +gris3s +gris2 +gri2st +g2rz +gra2 +gr2 +gr2f1a +gr2f +gr1p +1g2rup +gsg1g +gs2gel +gs2ho +gs2ka +gs2k +gs2ko +gsk2r +gs2la +gs2l +gs2li +gs2m +gs2mi +gs2mu +gs2n +gso2k1o +gsors3s +gs2pa +gs2p +gs2pe +gs2p +gs2pi +gs2po +gs2p +gsp2r +gs2r +g1s2ta +gs2t +gs2te +gs2t +g1s2ti +g1s2t +gsto2 +gst2r +g1stra +g1stru +gs2tu +g1s2t +gsug2 +gs2v +gsza2k +gsza2k1 +gszla2d +gsz2l1ada +gsz2li +gsz2r1a2da +g1sz2c +gsz2t +g1sz2f +g1sz2k +g1sz2l +gsz2m +g1sz2p +gszt2 +g1sz2t +gta2g1ar +gtag1g +gta2n12 +gtra2d +gt2r1ada +gtermo1 +gtermosz2 +gt2r +gti2m +gt2ra +gt2r +gt2re +gt2r +gt2ri +gt2ro +gt2r +gt2r +gt2ru +gt2r +gt2z12r +1gu +gu2at +gu2ay +2g1u2bo +gu2el +gu2er2 +g1u2ga +3g2ugg +g1u2go +2g1ugr +gu2id +gu2in +gu2ir +2g1ujj +gula2te +gula2t1 +gu2n +2g1u2ni +gu2n +gu2nu +3g2ur +gus1abl +gu2sad +gu2s1a2n +gu2sas +gu2sat +gu2s1av +gu2sl +gu2s1e2 +gu2s1rt +gu2sil +gu2sis +gu2s1 +gu2sol +gu2sor +gu2s12 +gu2s +gu2s +gus3s2 +gussz2 +gust2 +gu2s +gu2sz +gus3zs +gu2tac +gu2tak +gu2tal +gu2tam +gu2tan +gu2tas +gu2tat +gu2taz +2g1utc +2g1u2t +gut2d1o2ku +2g1u2tu +gu1ya +1g +g2ja +g2j +g2ju +g2ny1e +g2ny12 +2g1r. +g2r +g2ri +2g1rn +g2ro +2g12sz +2g2t1a2 +2g12t12 +2g1tb +2g1tc +2g1td +2g12t1e2 +2g12t +2g1tf +2g1tg +2g1th +2g12ti. +2g12tia +2g12tig +2g12tih +2gtij +2gtiko +2g12tina +2gtin +2gtir +g2tis +2g12tit +2g12tiv +2gtiz +2g1tj +2g1tk +2g1tl +2g1tm +2g1tn +2g12to +2g1tp +2g1tr +2g1ts +2gtt +2g1tv +2g1tz +g2zi +1g +g2cs +g2d +g2d +g2d +g2ge +ggy1r. +2g12gyi +2g1gyl +2g1gyv +2g1ld +g2len +g2lep +g2lik +g2lm +2g1nn +3g2rc +2g12re +3g2ri +2g12r +2g12r +g2te +g2t +g2ti +g2t +g2t +g2t +g2ve +g2v +g2ze +g2z +1g +2g1r. +2g1rb +gre2 +g1rh +g2ri +2g1rj +2g1rl +2g1rm +2g1rn +2g12r +2g1rt +g2ru +g2r +g2ze +g2z +g2zi +g2z +g2z +gva2s1u2 +gv2gy1a2da +gv2nyan +gvs1s +gvers3s +gvez2rel +gv2nyel +gvi2na +gv1s2 +g2y +1gya +gy1abl +2gy1a2c +2gyadag +gya2dal +2gyadatb +gy1a2dt +2gyag. +2gyagb +gya2ge +gya2gp +2gyagg +2gyagh +gya2gis +2gyagk +2gyagn +gya2g1ol +2gyagt +2gyagya +gy1a2gyu +2gy1aja +2gy1akc +2gyaknk +2gyakt. +2gyaktu +gya2laj +gyal1akt +gya2lapo +gya2lapp +gy1alat +2gyal +gya2lel +gya2lik +gyan1ab +gya2n1e +2gy1a2nya +gy1a2ny +gya2pak +gy1a2ph +2gyapi +2gyapk +2gyapm +2gy1a2pn +gy1a2ps +2gyapt +2gyapj +gya2pn +gya2pr +2gyapp +gy1aps +gy1aran +2gyaraw +gyard2 +2gyardom +gya2rel +gy1arg +3gyari +gya2r1n +gya2r12r +gya2rv +2gyar +2gyasak +2gyasat +2gyasra +2gyaty +2gyaz +1gy +2gybr +2gy1g +gy1lc +gy1ll +gy1lm +3gym +2gy1p +2gyre +2gyrf +2gy12rok +2gyrus +2gy1r +gy2sz +2gyta +2gytk +gy1tl +2gytv +gy1bl +gy1br +gy1dr +1gye +gye2d1s +2gy1e2dz +gy1e2ge +gy1e2g +gy1e2gye +2gyeke. +2gy1e2ks +2gyeleg +gye2legy +2gyelem +2gyeln +2gyeltr +2gy1elv +gy1elv +2gyembl +2gy1e2mel +gy1eml +2gyenget +2gy1e2ny +2gyenz +gye2pal +2gy1erd +gy1e2red +2gyerej +gy1e2res +gye2rn +2gy1ern +2gyero +2gy1e2r +2gy1ers +gye2seg +2gyesl +2gyesg +gy1e2s +2gy1este +2gyests +2gy1esti +2gyest +gye2sz +2gyetem +2gyetet +2gyezm +2gyezrede +2gyezrel +2gyezs +1gy +2gybr +2gy1g +2gyhes +2gyhs +2gyji +gy12ke. +gy12kes +2gy12le +2gy1lt +gy1lv +3gym +2gyneke +2gyni +2gy1p +2gyr. +2gy1rd +2gy1rem +2gyrez +gy2rt +gy1rg +2gy1rh +2gy12ri +3gyr +gy1rke +2gy1rm +2gyrn +2gyrr +2gy1rte +2gy1rt +gy1rt +2gy1rv +2gy1rz +2gy1t +2gytk +2gyv. +2gyvad +2gyvb +2gyve. +2gyvei +2gyvek +2gyven +2gyves +2gyvet +2gyvh +2gyvi +2gyvn +2gyvr +2gyvt +2gyv +2gyvv +gy1fl +gy1f2r +gy1gl +gy1gr +1gyi +2gy1ide +2gyid +2gyid +2gyiga +2gyig +2gy1ige +2gy1i2g +2gyigm +gy1iha +2gyiker +2gy1ill +2gyim +2gyind +2gyinf +2gy1ing +2gy1ipa +2gy1i2rat +2gyir +2gy1iro +2gyirt +2gyish +gy1isk +2gyism +2gy1isn +2gy1ita +2gyiv +2gyizg +2gy1i2zo +1gy +2gy1g +2gy12r +2gy1v +gy1z +gy1kl +gy1k2r +gy1kv +gyms1s +1gyo +2gyokos +2gy1old +2gyolvas +gyo2m1as +gyo2mi +2gyope +2gy1orc +gy1orm +2gyors +2gy1orv +gy1ou +1gy +2gydr +2gydsak +gy12r +2gyri +1gy +2gy1b +gy1d +2gy1kl +2gytd. +2gytdd +2gytde +2gytd +2gytdne +2gytdt +2gytdr +2gytd +2gytt +2gytv +2gyv +2gyzn +1gy +gy1re +gy1r +2gy12s +3gyz +gyprba2 +gypen1 +gy1pl +gy1pr +gy1ps +gyrvid1 +gy1sc +gy1sk +gy1sl +gy1sm +gy1sn +gy1sp +gy1sr +gy1s2t +gy2sur +gy1t2r +1gyu +2gy1ud +2gy1ug +2gy1uj +2gyund +2gyuni +2gy1u2ra +2gyur +2gyuru +1gy +2gyd +2gy +2gyi +2gyj +2gyjr +2gyjs +2gym +2gyrb +2gyr +2gyri +2gyrk +2gyrr +gy1ti +2gy +1gy +2gy1d +2gyg +3gyle +3gym +2gynn +2gyre +2gyr +2gys +gy1st +2gyt +2gyv +gy1ve +2gy1z +1gy +3gyl +2gyr. +2gy12z +gy1zr +gza2tp +gza2t1e +gza2t +gza2t12 +gz2r12r +gz2se +gzs3s +gze2t1a2 +gze2t12 +gze2t1el +gze2tin +gze2t1o +gze2t12 +gza2 +2h. +1ha +haa2d +3hab. +ha2bak +ha2b1a2l +ha2b1a2n +ha2b1g +ha2b1rb +ha2bed +ha2b1r. +ha2bid +hab1ill +ha2b1im +ha2b1i2na. +ha2b1int +3habo +hab1old +hab1o2ra +hab1orr +ha2b1ost +hab1sz +habu2r +ha2b +ha2d1ag +had1alk +ha2d1ap +hada2s +ha2d1asz +ha2d12c +ha2d1l +hads1s +ha2d1sv +ha2d12szo +ha2deg +ha2d1el +ha2dem +ha2dl +hadia2 +hadi2 +hadi2n +ha2d1ina +ha2dor +ha2dos +ha2d1u2r +ha2d1r. +ha2d12r +ha2d1rh +ha2d12ri +ha2d1rk +ha2d1rn +ha2d1rr +ha2d1rt +ha2ds +ha2d +ha2dza +ha2d3z +hae2r +ha1fl +ha1f2r +2hagore +ha2if +ha2j12s +ha2j12to +ha2jz +ha2j1in +haj1k2 +haj1oml +ha2j +ha2j +haj1s +haj1t2r +ha2j +ha2k1l +ha1k2li +ha1k2r +h1akt +ha1k2v +ha2l1ach +ha2l1a2g +ha2l1aj +ha2l1a2l +hala2n +hal1any +ha2l1a2r +hala2sz +ha2l1asza +ha2l1asz +ha2l1asz +ha2l1atk +ha2l1a2tom +ha2l1att +3hal +hal12cs +ha2l12g +hal2l1e2 +hal12rak +hal12r +ha2l1rb +ha2l12ro +ha2l1rr +hal1rve +hal1te +ha2leb +ha2lec +hal1e2gy +hale2l +hal1ele +hal1el +ha2lem +ha2l1en +hal1epe +ha2l1ese +ha2l1e2s +hal1ete +hal1e2to +hal1evo +hal1e2v +ha2lez +ha2l12l +ha2l1r. +ha2l1te +ha2l1tk +ha2l1tt +ha2lid +ha2l1ik +ha2l1i2m +ha2l1ing +ha2l1inv +ha2l1i2ono +ha2l1i2ont +ha2lip +hali2s +hal1isz +ha2l1iv +ha2l1i2z +ha2l +hal2k1a2pu +halke2l1 +hal2k1ele +hal2l1aszt +halls1s +hal2l12t +hal2lj +hal3ly +3halm +halma2z12 +ha2l1ol +ha2l12ri +ha2l1 +ha2l12 +hal1p2 +ha2l1ug +ha2l1u2s +ha2l1u2t +ha2l +ha2l +ha2l3ya +ha2m1l +ha2m1rb +hamb2 +hame2l +ham1ele +ham1esz +ha2mez +ham1ism +hamksz1 +ha2m1osz +3hamu +ha2m +hans1s +han2ch +2hansz +3hang +han2gal +hange2 +han2gen +han2g1es +han2gl +hang3g +han2g12 +han2g +han2gut +han2t12 +ha2nyl +ha2r +ha1p2r +hara2g12 +harang1g +ha2r1l +har2c1al +har2can +harc3c +har2c1e2 +har2c3h +ha2rel +ha2ret +3harm +ha2r1ol +ha2r1osz +ha2r1r +ha2r +3hasa +hasg1g +ha2s1iz +ha2s1ol +has1ors +ha1s2pe +ha1s2po +ha3s2t +ha2sr +ha2s12 +ha1szp +ha2t1ab +hat1agy +ha2t1aj +3hat +hatra2d +hatr1ada +ha2t1e2v +ha2t1n +ha2t12v +ha2t12v +hat1olda +ha2t1osz +ha2t1r +ha2t12v +ha1t2r +hatt2 +hat1tr +ha2tl +ha2ue +hau2n +hau2s +ha2ut +ha2z +1h +3hbo +h2gy +h2js +hma2 +h2m1al +h2m1 +h2m1e2 +hmi2 +h2m1is +h2m1ol +h2m +hn2cs1e +hn2csi +h2ny1a2l +hnya2n +h2ny1ar +hnys1s +h2ny1e2 +h2ny +hra2 +h2r1ad +h2r1al +h2r1au +hri2 +h2r1iv +3hr +hr1k2 +hrmas1s +hro2m1a +hro2mo +hr2s1al +hr2se +3hrt +h2r +h1ry +h2s +hsz1a2tom +h2sz1e +h2sziv +2h1szka. +h2sz +ht1a2d +h2t1a2la +h2t1a2n +h2tar +h2tp +h2t1e2 +ht2 +h2tl +h2t1r. +h2t1re +h2t1rn +h2t1i2s +h2t +h2t1ol +h2t1o2r +ht2 +h2t1s +h2t +h2t +ht1u2sz +h2t1 +h2t +htv2d1el +h2z1a2d +h2zaj +h2z1ala +h2z1asz +h2z1av +h2z12p +h2z1rn +h2z12ru +h2z1e2 +h2z1isk +h2z1ism +h2z1ist +h2z1 +hz1okt +hz1old +h2zos +hz1otth +h2z +h2z +hzs2 +h2z3sa +hz3se +h2z3s +h2z3si +hz3sp +hz3st +hz3s +hz3sz +h2z1 +h1zy +hb2le +1he +he2ad +he2av +hec2c1emb +hecc3s +2hecu +he2dn +he2e2s +he2f1i +he2f1u2 +he2g1a2 +hegsz1 +he2gy1a +he2gy +he2gyeg +hegyes1s +he2gy1o +he2gy +he2gy +he2gy +2heidp +2h1e2kk +3hekt +he2lg +hels1s +2helf +hel2fr +2hell +2hellen +he2lyeg +he2lyeml +he2lyesz +he2ly12j +2hema +2h1embl +2h1eml +hens1s +3heng +he2ny1e2ge. +he2nyo +he2ol +he2rab +he2r1a2d +he2r1aj +he2r1a2r +he2rau +her1ll +her1t1a2 +her1t +her1eng +here1p +her1ese +herevz1 +her1int +he2r +her1s2 +he2rut +he2r +he2s1a +he2s1 +h1e2ss +hes2t1o +3hety +2heusz +2hev +he2vs +3hev +he2z1 +2hezh +2hezi +2hezn +2hez +2hezz +1h +h2h +3hi. +3hit +hje2 +h2j1eg +h2j1el +h2j +3hkn +h2nal +h2nan +h2nar +h2nt +hne2 +h2n1el +h2nem +h2n1et +hn1v. +h2nid +h2nil +h2n1is +hn3n +h2n +hnt2 +h2nu +h2n +h1ph +h2p +hra2 +h2rar +h2r1as +h2rat +h2rin +2h1rz +h2sz +h2szeg +h2szesz +h2sz1 +hta2 +h2t1ab +h2t1aj +h2tal +h2tar +h2tl +h2t1e2l +h2t1e2m +h2t1es +h2t1ezres +h2t12v +h2t +h2tol +h2tor +h2t1os +ht2 +h2t1r +h2t1 +h2tu +h2t12 +h2v1 +h2ve. +h2vg +h2v1rz +hze2 +h2z1ek +h2zio +h2zip +hzo2 +h2z3s +hf2l +1hi +2hia. +hi2aa +hi2a +hi2abelie +hi2ac +hi2ad +hi2ae +hi2a +hi2ag +hi2ah +hi2aj +hi2al +hi2am +hi2ant +hi2ap +hi2ar +hi2at +3hida +hidro1s +2hiv +higa2nye +3higi +2hila +2him. +2hime +2him +2h1i2nn +3hins +2hing +h1ing. +2hink +h1insp +hi2om +hi2pa +2h1ips +2hise +hi2se. +2hisn +2hiso +hi2ta +hit1ak +hita2l +hit1a2n +hi2t12 +hi2t1e2gy +3hitel +hite2l1e2l +hi2t1eles +hi2t1el +hi2t1elve. +hi2t1eng +hi2t1er +hi2t1esz +3hitet +hi2tl +hi2t1r. +hi2t1rte +hi2t1rv +hi2t12te +hi2t12ve. +hi2t1im +hi2t1int +hitksz1 +hi2t1o +hit2 +hi2t1n +hi2t1r +hit2 +hi2t1r +hi2t1r +hi2t1u2 +hi2t +hi2tl +hi2zo +1h +h2da +h2d +h2de +h2d +h2d +h2d +h2d +h2d +h2dz +h2g1e +h2j +h2m1a2 +h2m +h2m1el +h2m1emb +h2mer +h2mo +h2m +h2mu +h2r1a2 +h2r12 +h2r1ing +h2r +h2r1o +h2r12 +h2r +hr1s +h2r1u +h2r +hkas3s +hk2r +hk2ri +hle2g1e2l +hle2t1el +hle2t +1ho +ho2d +2ho2e +ho2ef +ho2ii +ho2it +2hokl +hola2 +ho2l1ad +ho2l1al +ho2lam +ho2l1at +ho2l1au +ho2l1l +ho2l12r +hol2d +hol2dem +hol2d12r +ho2l1e2 +ho2lig +ho2l1in +ho2lip +ho2l1i2v +hol1k2 +hol2mes +hol2nik +ho2lor +ho2l1osz +ho2lot +ho2l12r +ho2l +holta2n +holt1any +holte2 +hol2t1el +ho2l +ho2ly1al +3homb +3homo +homo1s +ho2n1a2g +ho2n1a2l +ho2n1a2n +ho2n1a2p +ho2n1au +ho2n1a2v +ho2n1l +ho2n1t1a2 +ho2n12to +hone2 +ho2neg +ho2n1el +ho2n1ik +ho2n1i2m +ho2n +ho2n1orj +ho2n1o2ro +ho2n1orr +ho2n12 +ho2n +ho2n +ho2n +hor2d1e2 +ho2re +2ho1ry +hossz1e2 +hossz2 +hossz1k +hossz12 +2hosz +ho1th +ho2us +ho2we +ho2zl +ho2z1e +hozi2 +ho2z +1h +ha2k +h2g +h1bl +h2cal +h2cat +hc3c +h2cel +h2c12g +h2c3h +h2cim +h2c +h2c1 +h2cs +h2cz +h2d1a2ra. +h2d1a2r +h2d12 +h2dem +h2d1 +h2d12 +h2d +h2d +h2d3z +h2l1ej +h2l1e2ped +h2l1e2vet +h2nal +hn1apa +2hr +h2rr +h1sh +hv2 +hza2t1e +1h +hk1 +hl2gya +hl2gy1 +hl2gyel +1h +ha2n +h1br +he2l +he2m +he2r +h2n +h1fl +h1gl +h1gr +h1kv +h1pr +hsa2 +h2s1al +h2sas +h2s1av +h2s1el +h2sep +h2ses +h2sim +h2sis +h1s2pi +hs3s +h1s2tab +hs1tr +h2sut +h2s1 +h2s1lt +h2s12v +hs2 +h2s1r +h1tr +h2l +hp2la +hp2ra +hp2r +hp2ri +hp2ro +hp2r +hru1s2 +hs2ch +hs2gel +hs2ka +hs2pi +hs2po +hs1s2t +hsza2k +hsz2j1a2da +hsz2l +ht1cl +ht1kl +h2t1ol +ht2r +h1tref +h2t1u2t +1hu +hu1hy +2hur +hur2t1e +hur2tit +2husi +huszon1 +1h +h2gy1a2 +h2gye +h2gyi +h2gy +h2r1a2 +h2r1 +h2re +hrt2 +hr1tr +h2s1ak +h2sal +h2san +h2sap +h2sar +h2s12g +h2s1l +h2s1e2 +h2sim +h2s +h2sor +h2s +h2s +hs3szak +hs3sz +hs3sz +h2s +h2s3zab +h2sz1l +h2sz1e2 +h2sz12 +h2szol +h2szos +h2sz12 +h2sz12 +1h +h2gy +2h1nn +h2re +h2r +h2t +h12v +1h +h2r +h2ri +h2r +hy1r +hy1v +hy1ig +2i. +i1a +iaa2d +iat1 +iata2 +i2abaj +i2aber +i2abes +i2ab +i2abon +i2abor +i2ab +i2ab +i2abu +i2ab +i2ab +i2ab +ia2c1al +iac3c +i2acet +iac1l +ia2c1r. +ia2c3h +ia2cid +iac1i2ko +ia2c1im +ia2c1int +i2ac +ia2c1or +ia2c +ia2c +ia2c +ia2c3s +iac3sp +iac3st +iac3sz +ia2c +ia2cz +iads1s +i2ade +i2ad +ia2dot +ia2de +iad1st +i2ad +i2ad +i2ad +iae2l +iae2r +iae2t +ia2r +i2af +i2afe +i2afi +i2a1fl +i2af +i2af +i2af +i2afri +ia1fro +i2afu +i2af +i2af +i2af +i2ag +i2age +i2ag +i2agi +i2ag +i2ag +i2agu +ia2gyu +i2aig +i2aip +i2ai2z +ia2jn +i2aje +i2ajo +ia2kad +i2ak +i2ake +i2ak +i2a1k2l +i2akd +i2akr +i2ak +i2ak +ia1k2re +ia1k2r +ia1k2ri +ia1kr +i2aku +i2ak +i2ak +i2a1kv +ia3lan +ia2lat +i2aleg +i2alib +i2al +ia2lom +i2al +ia2lud +ia2lus +i2aly +i2am +i2ame +i2am +ia2m1ur +i2am +i2am +ia2nek +i2an +i2an +i2an +iao2k +ia2r +ia2pt +i2ape +i2ap +ia1p2l +i2apo +ia1p2s +iardi2 +i2are +ia2rn +i2aro +i2ar +i2ar +i2aru +i2ar +i2ase +i2a1sh +i2asi +ia1s2k +i2a1s2l +i2a1s2m +i2as +i2as +i2a1s2p +iast2 +ia1s2ta +ia1s2t +ia1sti +ia1sto +ia1str +i2as +i2as +i2as +ia2sz1an +i3aszer +ia2szes +ia2szp +iasz2k1e2r +ia2szop +i2asz +i2ate +i2at +i2at +i2at +ia1tr +ia2ty +i2aud +i2au2r +iau2s +ia2z +ia2vat +i2av +i2avi +i2av +i2avo +i2az +i2aze +ia2zo +i2azs +i2az +i1 +i2cs +i2ga +i2g +i2ge +i2gi +i2go +i2gy +i2h +ika2 +i2kab +i2kak +i2k1al +i2k1an +i2k1ap +i2k1ar +i2k1as +i2k12 +i2keb +i2k1el +i2kem +i2k1en +i2k1e2s +i2k1r. +i2k1rd +i2ks +iki2 +i2kin +i2kir +i2kit +i2k +i2kop +i2k1or +i2k1osz +i2k12 +i2k1 +i2k +i2kur +i2k1ut +i2k12 +i2k1 +i2k +ila2 +il1ana +i2ll +i2l1r +i2l1e2 +i2lim +i2l1in +i2lop +i2nar +i2n1as +i2nem +i2nir +i2nis +i2n +int2 +in1tr +i2n +i2ny1ad +i2ny1a2l +i2nyan +i2nyar +i2ny1e2 +i2nyrz +i2ny +i2i +i2po +i2rad +i2rak +i2ram +ir2das +ir2d1e +ir2d3z +i2re +i2rim +ir1s2 +i2ru +i3run +i2r +i2sal +i2sar +i2s1as +i2s12g +i2s1m +i2ss +i2s1e2 +i2sikr +i2s +i2sor +i2s +i2s +i2s +is3szo +ist2 +is1tr +i2s12 +i2s +isv2 +i2szs +i2s3ze +is3zs +i2ta +i2t1e2l +iti2 +i2t1ir +iba1d2 +ibas2 +ibat2 +ibau2 +iba2 +ib2l1a +ibe2lr +ibe2r1in +ibe1s +ibi2o +ib2lo +ib2r +ib2ru +ica1f2 +ica1g2 +ica1kl +ica1k2r +ica2los +ica1pr +ica1t2 +icca2l +ic2can +ic2c12 +ic2c3h +ic2cin +ic2cir +ic2c +ic2c1o +ic2c1 +iccse2l +iccs1ol +iccs12 +ic2c +ic2cz +ic3ha. +ic3hek +i2chin +ic3hoz +i2c3h +ici2t1a2 +ici2tr +ici2tel +ici2ter +i1c2lu +i2c1ol +i2cs1a2d +ics1a2la +icsa2p12g +i2cs1au +ics1g +ics1ll +i2cs1eb +i2cs1e2g +icse2t +i2cs1ete +i2cs1ev +ics12g +i2cs12r. +ics1ipa +ics1s +ics1t +i2cs1l +i2cs12t +ic3sze +ic1z +i2d1a2j +id1ana +id1a2ny +i2d1au +id1ll +id1ru +i2d1sv +id1br +1iddo +id3dz +ide2av +ide2g1 +ide2g1l +ideg1r. +1i2dej +ide1k2v +2idel +id1elj +id1elm +id1elo +id1elt +i2d1emb +ide1p2 +ide2red +i2dero +ide3sa +ideu2 +i2d12g +id2kel +i2dny +idr2c3s +2idsz +1i2dz +id2ge +idi2as +1i2dil +id1ionj +id1ionn +i2d1i2ono +i2d1i2ont +idi2os +idi2d +i2d1ita +idja2d +id2j1ada +id1kr +id1old +i2d1olv +ido2mac +ido2m1an +1i2dom +1i2domo +1idom +id1s +1i2d. +1i2db +1i2dd +1i2d +1i2dh +1i2di +1i2dk +1i2dm +i2dne +i2dn +i2dnk +1i2dp +1i2dr +1i2ds +id2sod +id1s2p +1i2dt +id2tl +1i2dv +i2dz +id1pr +id2rt +i1d2ru +id1st +id1t2r +id1u2t +id1g +i2d1z +i2d3z +i2d3ze +i2d3z +i2dzs1a +i2dzs1 +i2dzsen +i2dzsl +i2dzs12 +i1e +ie2be +ie2cs +ie2dz +ie2f1a2 +ie2f +ie2f1i +ie2f12 +ie2g +ie2gy +ie2he +i2eld +ie2lo +ie2la +ie2ma +ien2s +ien2s1o +iens3s +ie2ny +ie2pe +ie2r1a2d +ie2rag +ie2r1aj +ie2r1a2k +ie2ral +ie2ram +ie2r1an +ie2ras +ie2r1 +ier1d2 +ie2reg +ier1egy +ie2r1el +ie2r1ember +ie2r1est +ie2r1iga +ie2r1in +ie2r1iste +ie2r +ie2r1ol +ie2ror +ie2r +ie2r +iersz2 +iert2 +ier1tr +ie2r1u2 +ie2r1 +ie2r12g +ie2sel +ie2sem +ie2sett +ie2ss +ie2sik +ie2s +ie2sz +iet1sz2 +ietz1 +ie2ur +ie2ve +ie2v +ie2vi +ie2v +i1 +i2do +i2fe +i2ge +i2g +i2g +i2g +i2ha +i2hes +i2hi +i2il +i2le +i2l +i2li +i2l +i2me +i2m +i2mo +i2neke +i2nekh +i2nekk +i2nek +i2p +i2p +i2rek +i2ren +i2rez +i2r +i2ri +i2r. +i2rk +i2rt +i2r +i2szi +ita1s +i2tel +i2t +i2ve. +i2vek +ifa1st +ifa1t2 +i2fe. +ifeny2h +ifio2 +if1r +1ifj +1ifju +1ifj. +1ifjb +1ifj +1ifji +1ifjk +1ifjn +1ifjr +1ifjs +1ifjt +1ifjv +i1f2la +if2le +if2lo +if2l +if2lu +ifogo2 +ifon1n +i1f2ri +i1f2ro +i1f2r +if2ru +if2t1a +if2t12 +if2t1e2l +if2tin +if2t +if2t +ig1a2git +ig1a2ka +ig1als +ig1alv +ig1and +iga2nyal +iganye2 +iga2ny1es +iga2ras +1i2garz +iga1sl +iga2szag +igasz1al +igau2r +1i2gaz. +1igaz +ig12cs +ig1lm +ig1sh +i3gsz +ig12t1e2 +ig1br +ig1d2r +ig1edz +i2geg +igek2 +ige1kl +ig1e2le +ig1ell +ig1elm +1i2genl +ige2r +ig1er +ig1e2se +ig1esi +ige2tl +ige2teg +ige2tl +ige2t1o +ige2tr +ig1evi +i2g1ex +1i2gd +ig12g +ig12li +ig12l +ig12l +ig1lv +i2gm +ig2na +ig2n +1i2gny +i3gpe +ig1p +ig1r. +ig1rj +ig1rl +ig1rn +ig12r +ig1rv +ig1sz +1i2g +ig1fl +ig1g2r +ig1v +ig1z +ig1kl +ig1kr +ig2lac +ig2nad +ig2n1e2g +igne2r +ig2n1osz +ig2n +ig2n +igo2rl +ig1o2s +ig2 +ig1b +ig12k +ig1l +ig12z +ig1pr +i1g2raf +ig1sk +ig1sl +ig1sm +ig1sp +ig1st +ig1sz +ig1tr +ig1ug +igu2n +igu2t +ig1s +ig1c +ig1d +ig12g +ig2l +ig1t +ig1v +ig1z +i2gya. +i2gyam +i2gyk +i2gyl +i2gy1eg +i2gy1e2kh +i2gy1kt +igy1r. +i2gy1rt +iha2re +i1i +ii2de +ii2d +ii2d +ii2ga +ii2g +ii2g +ii2gy +ii2ha +ii2je +ii2m +ii2mi +ii2pa +ii2ram +ii2rat +ii2r +ii2ro +ii2sz +ii2ta +ii2v +ii2vo +ii2v +ii2z +ii2zo +i1 +i2g +i2ra +i2r +i2ro +i2r +i2ru +i2t +i2ve +i2ze +1i2jed +ije2gy12 +1i2jes +ikabe2j1 +ikabej2 +i2k1abl +ik1ajt +ika2lak +ik1ang +ika2 +ika1p2l +ika1p2r +ika2r2r +ikas2 +ika1sp +ika1t2r +i2k1rk +i2k1ru +iks1s +ik2tol +ik1dr +ik1eb +i2k1eg +ik1elo +ik1eng +ike2r1a2 +ike2r12 +ike2r1e2dz +ike2r1e2l +ike2r1ev +ike2ris +ike2r1o +ik1e2r +iker1s +ike2ru +ike2t1lt +ik1evo +ik2kekk +i2k1p +i2k1p +i2k1rz +ik1fl +ik1fr +i2k1id +ik1i2ko +ik1ikr +ik1ind +ik1ins +i2k1int +i2k1i2o +ik1isk +ikka2l +ik2k1ala +ikk1any +ik2k1a2r +ikk1ra +ik2kz +ik2kev +ikk1rde +ik2kin +ik2k1i2p +ik2k1ol +ik2k1 +ik2k1s +ik2kt +ik2k12z +ik2k1u2 +ik2kz +ikla1tr +ik2ler +ik2lor +i1klub +ik2lum +i1knd +ikoma2 +iko2m1ar +1ikonb +1ikonn +1i2konl +1i2konta +1ikont +1i2kont +1ikonzs +ik1p +ik12r +ik2s3z +ik2res +ik1pl +ik1pr +1ikrei +1ikrek +ik2rm +i1k2rm +i1k2ru +ik1st +ikszind2 +iksz2t +iktus1s +iktu2sz +2iku. +2ikub +ik1udv +2ikuf +2ikuh +2ikui +2iku +2ikuj +2ikuk +2ikur +iku2sav +2ikut +2ikuv +ik12v +il1abr +il1a2ce +il1a2c +il1a2d +il1a2la +il1ald +i2l1alk +il1amb +ila2n +i2l1ana +i2l1any +ila2pin +ila2pol +i2l1a2r +il2g1e2 +ilg3g +il2g +il12gyo +ilnyf2 +i2l12p +i2l1rn +il12ro +il1ru +il12r +il2sz +i2l1szo +il1tf +il1tm +il1tr +il1bl +il2c1a2 +ilc3c +il2ch +il2c3sap +il2c3sik +ilc3sz +il2cz +il1e2lem +i2l1emb +i2l1eml +il1exp +il2n1 +i2l12nekh +i2l12nekn +il1sp +il1f2l +il1fr +il1g2r +i2l1icc +il1ide +i2l1igh +i2l1igj +i2l1igs +i2l1igt +ili1gra +i2l1i2kon. +i2l1i2konb +i2likon +i2l1i2konh +i2l1i2konj +i2l1i2konn +i2l1i2kono +i2l1i2konr +i2l1i2kont +i2likonz +il1ill +ili2ma. +il1i2mi +il1imp +ilin1n +ili2p1 +il1ir +il1k2l +il1k2r +illa2g12 +1illatb +1illatr +1illatt +il2l1este +il2l1est +1ills +ill2t +ill1te +ill1tt +il2l1id +illig2 +illi1gr +il2l1 +1illu +1ill +ilm1ada +il2m1agy +il2m1aj +ilm1aka +il2m1a2l +ilm1ank +ilm1any +il2m1ap +il2m1arc +ilm1atl +il2m1a2z +il2m1l +ilme2g +il2m1eg +il2m1egy +il2m1e2l +il2m1ep +il2m1e2r +il2m1esz +il2m12j +il2m1k +ilm2l +il2m1le +il2m1r. +il2m1rd +ilm12rst +il2mrte +il2m1rt +il2m1s +il2mid +il2m1i2k +il2mim +il2mir +il2m1is +il2miz +il2m12 +il2m1ok +il2mol +il2m1or +ilm1osz +il2m12r +il2m +il2m +ilmu2 +il2m1ut +ilo1g2 +i2l1or +ilt2 +il1tr +il1b +il1s +il1p2l +il1p2r +il1sh +il1sp +il1s2t +2ilte +ilumi2 +ilumin1 +ilus3s +i2l1g +il1r +il1v +i2l1z +ilva1k2 +ima1gl +im1akk +ima2 +ima1p +1i2md +i2mkt +im1dr +imeg1g +im1elem +ime2m +i2m1eme +ime2ra +ime2rin +i2m1rd +im1inh +im1int +imi2t1a2 +imi2t12r +imi2tin +1immu +i2m1old +i2m1om +im12r +imt2 +im1s +1imp +1impu +1imrei +i2m1r +imt2r +i2n1abl +i2n1a2c +i2n1ad +in1ade +i2nado +in1a2j +in1ajt +inaka2r +1i2nakat. +i2n1akc +i2nakk +i2nakn +i2nakt +i2n1akv +in1ald +i2n1alk +in1all +1i2nam. +i2n1a2mit. +in1ana +ina1pla +ina2rn +1i2nas. +ina2sis +1i2nasn +ina2tell +i2n1g +in2lad +in12rak +in1rh +i2nru +i2n1sv +in1bl +in1br +in2c1a2g +in2cal +inca2n +inc1elt +in2c1l +in2chi +in2c3ho +in2c1is +in2c1os +in2c +in2c1 +in2c +incs1an +in2cs1e2r +in2cs12j +in2cs1r. +inc3srv +in2csor +inc3sor. +in2cs +inc3st +inc3sza +in2c +in2d1ab +1indai +in2d1az +in2deb +in2d1ed +in2d1e2g +ind1ek +in2d1e2m +in2d1ett +1index +in2d1e2z +in2d1g +in2d1n +in2ds +ind1ink +1indiv +1indt +ind2 +in2d1r +in2ds +in1dra +1indul +2ine. +i2n1e2d +i2n1ef +ineg1g +in1e2gy +ine2ku +i2n1e2l +in1emu +i2n1eny +2iner +i2n1erd +i2n1erj +ine2t1a +ine2t1r +ine2tl +i2n1ex +2inb +in12ge +in1kr +in2l +i2n1le +i2n1lt +i2n1lv +in1p +i2n1r. +i2nrd +i2n1r +in1rte +in2t +in2te +2inv +1infek +1infl +in2gad +in2g1ala +ing1ll +ing1r +ing1r +ing12ro +ing1rt +ing1ru +ings3s +1ingec +in2g1eg +1ingei +ing1elj +ing1elk +in2g1ell +ing1els +in2g1enc +1ingerb +1ingerc +1inger +inge2r1s +1ingerg +1ingerh +1ingeri +1ingerk +1ingerm +1ingern +1ingerp +1ingerr +1ingers +1ingert +1inger +in2g1e2v +in2g12j +in2g1k +in2g1l +ings3s +ing3g +ing1i2na +in2g +in1glo +in2gor +in2g1l +in2g1s +ing2rd. +ing2rdb +ing2rdd +ing2rdn +ing2rdo +ing2rdt +1inguj +in2g1u2t +in2g +ing1lt +2inie +2ini +i2nigar +i2n1ige +in1ikra +ini1kro +i2n1ill +i2n1i2ma. +in1i2mi +in1ind +2ining +i2n1inh +i2n1i2o +2inir +ini2s1g +i2n1isk +i2n1ism +i2n1ital +2iniu +i2n1z +1injekc +ink1ac +in2k1a2d +in2k1ato +in2k1rn +in2k1esz +ink1rt +in2kio +ink1old +ink1ors +in2ks +1inkub +1inna. +in2nor +i2n1ob +i2n1okl +i2n1old +i2n1olt +i2n1olv +in1org +i2n1ox +in1da +in12d +in2r +i2n1l +in1n +in1z +in1pl +in1pr +in1s2k +in1s2m +1inspi +in1spr +1insta +in1s2to +in2t1aktu +int1ann +int1rai +int1rak +int1rat +in2t12r +in2t1rf +in2t1ri +int1ron +in2t1rr +int1rsz +in2t1ru +int12ta +1intege +1integr +in2t1e2gy +int1elt +int1elt +in2t1enn +in2t1e2ny +1intenz +in2t1e2rez +1interf +int1essz +inte2t1s +in2t12j +in2t1sz +1intz +1intzk +1intzm +1intz +2intzc +in1t2hos +in2tid +in2tig +int1illa +in2t1ing +in2t1ip +in2t1iv +in2t1i2z +int1oml +in2t1osz +in2t1s +intksz1 +int1r. +int1ura +intus1s +in2t1ut +in2ts +in2t1t +i2n1ug +i2n1uj +in1j +in12s +i2n12t +i2n12g +in1lt +in1nn +in1r +in1s +i2n12t +i2n12v +i2n12z +in1r +1inven +in2xa +1inzu +i1o +io2r +io1b2r +io2cs +io1d2r +io2d +i2og +iog2raf +io1g2rf. +io1g2rff +i2ogy +io2ik +io2k +io2k +io2ko +io2ku +i3old +io2l1i2v +iol1k2 +iol1okk +i2ol +i3olv +io2mar +io2m1rt +io2mil +io2m +io2nad +io2n1a2g +io2nak +io2n1a2n +io2n1a2r +io2n1as +io2n1a2t +io2n1av +io2n1t +io2neg +io2n1el +io2nen +ionim1 +io2nin +ion1k2 +io2nop +io2n1oszt +io2n +ions2 +ion1st +ion1t2r +io2pe +io1p2r +io2r1a +io2r1i2ko +io2so +io1sz2f +i2ote +io2xidj +io2xidt +i1 +ia2d +i2ap +i2g +i2r +it1a2 +i2b +i2bes +i2b +i2b +i21bl +i2bo +i2b +i2b +i21b2r +i2bu +i2b +i2b +i2b +i2ce +i2c +i2ci +i3csk +i2cu +i2de +i2d +i2di +i2d +i2d +i2d +i1dr +i2d +i2d +i2dz +i2g +i2k +i2l +i2p +i2s +i2v. +i2f +i2fe +i2fi +i21fl +i2f +i2f +i2f +i21f2r +i2fu +i2f +i2f +i1g2r +i2ha +i2h +i2he +i2h +i2hi +i2h +i2h +i2h +i2h +i2hu +i2h +i2h +ii2g +i2ip +i2is +i2iz +i2v +i2je +i2jo +i2j +i2kad +i2kaj +ik1arc +i2k1aszt +i2kl +i2k1e2g +i2k1i2d +i2k +ikkz1 +ik1old +i2kort +i2k +i2k +i2kz +i2la +i2l +i2le +i2l +i2li +i2lo +i2me +i2m +i2mu +i2m +i2m +i2ne +i2n +i2n +io2k +i2r +i1p2s +i2rab +i2rag +i2rak +i2ran +i2rap +i2ras +i2rd +i2re +i2r +i2ria +i2ro +i2r +i2ru +i2s1aj +i2sel +i2si. +i1sl +i2s +is3s +i1s2t +i1str +i2s +i1sz2 +i2te +i2t +i2ti +i2t +i2t +i2t +i21t2r +i2tu +i2t +i2t +i2t +i2ug +i2un +i2ur +i2ut +i2vr +i2vs +i2ve +i2v +i2vi +i2v +i2v +i2zr +i2ze +i2zs +i1 +i2k +i2le +i2l +i2li +i2l +i2l +i2m +i2re +i2r +i2r +i2t +i2ve +i2z +i1 +i1dr +i2ha +i2k +i2ku +i2ra +i2ri2 +i21s2p +i21st +i2te +i2t +i2va +i2v +ipa2cse +1i2par. +1ipara. +ipa2ral +ipa2rl +1i2parn +1i2part +1iparb +ipa2r1en +ipa2r1es +1i2par +1i2parh +1iparil +1i2parin +ipa2ris +1i2parm +1i2parn +i2parok +i2paron +1iparr +1i2pars +i2parta +1i2part +1i2parte +1i2part +1i2paru +ipau2 +ipnk2 +ipn1n +ip1tm +i2p1ef +ip1e2gy +ip1e2lu +i2p1es +i2p1ev +ip1fl +ip2fu +ip1kl +ip1kr +ipo1kl +ipor2tel +ipor2t1 +ip12l +ip1s +ip2p1a2d +ip2paj +ip2par +ip2pr +ipp1ing +ip2p +i1prof +i1prog +i1proj +ip2rop +i1p2rot +ipsz1a2l +ipsz1l +ip2sz1emb +ip2szip +ip2sz12 +ipsz1or +i2p1ug +iralo2 +1i2rama +1i2ram +iramis1s +ira2tal +irata2n +ira2t1any +ira2t1as +ira2t1at +ira2tl +1i2ratb +1i2ratc +1i2ratd +ira2tel +1i2rat +1i2ratf +1i2rati +2i3ratill +1i2ratm +ira2t1ol +1iratoz. +ira2t12 +1i2ratp +1i2ratr +1i2rat +irdi2k +irdi2t +ir2f1a2 +ir2g1al +ir2g1l +ir2g12rak +ir2g12ro +ir2g1to +ir2gz +ir2g1e +irg1g +ir2g1ol +ir2g12r +ir2g +ir2l1a +ir2l1e2 +1i2rnn +1i2rny +ir2nyal +ir2nye2 +ir2ch +i2rei +1irga +irin2c +iri2zo +irka1s +irkasz2 +irke1 +2iro. +2irob +1i2roda. +1i2rod +iro1g2r +iro2ka +iro2k +iro2k1e +iro2kr +iro2l1a +iro2m1a +iros3s +ir2ke +i2rno +1irri +ir2s1a2 +ir2s12 +ir2sil +irs3s +ir2s1 +ir2sz +irt2 +ir2t1l +ir2tiz +ir2t1o2r +ir2t12 +ir2tr +iru2sze +i2s1abl +is1a2da +is1a2d +is1a2do +i2s1a2g +is1aja +is1ajk +isa2k1e +isa2kol +is1a2la +is1alf +i2s1alj +is1alk +is1alm +is1amb +isa2n +i2s1ana +i2s1ano +i2s1ant +i2s1any +isa2p +is1ap +is1apo +is1a2r +is1ass +is1aut +i2s1a2z +i2s1br +is1ggy +isgy1t +is1ll +is12po +i2s12rak +i2s12r +i2s1rb +i2s1rf +i2s1rh +i2s1rk +i2s1rn +is2ron +i2s1rr +i2s1rt +i2s12ru +isrus1 +is12t1a2 +is1tk +i2s1tl +is1tv +is1bl +is1br +is1dr +is1edz +is1eff +i2s1ege +is1e2gr +i2s1e2ke. +is1elf +is1elm +i2s1elo +i2s1eml +i2s1enc +i2s1ene +is1eng +i2s1e2pi +is1epri +is1er +is1e2set +is1es +is2ge2l +is2gs +is2gid +isgksz1 +is1lv +i2s1r. +i2s12ri +i2s1rt +is12ve. +is12vet +is12vn +is12vt +is1vh +is2vi. +isfl2 +is1fr +is2hin +is2his +is1ido +isi2g +is1iga +is1ind +is1inf +is1int +is1inv +isi2 +i2sipa +isi2par +is1iro +i2s1isten +is1ita +is1i2zo +i1s2katu +is1kl +is1k2r +is1kv +is2lag +i1s2lat +1isme. +1ismek +1ismere +1ismrv +2ismo +2ism +i2s1ob +i2s1o2l +i2s1orc +i2s1ord +iso2rosz +i2s1orra +i2s1orr +is1orv +i2s1osko +is1osz +i2s1ott +is12r +i2s1b +i2s12c +is1l +is1n +is2r +is1rd +is1re +is1s +is12v +is12r +i1s2pan +i1s2pek +isp2r +i1s2pur +is1s2p +is1sta +is1st +issz1e2rei +issz1e2rek +issz1erem +issz1e2res +is3szig +is3szil +is3sz +is3sz +is3sz +is3sz +is3sz +is3sz +ista1s +istasz2 +1istp +1istenh +iste2n1o +i1s2til +is1trez +is1tr +is1tri +is1tro +1istv +i2s1ud +is1ujj +isu2t +is1uta +is1ut +i2s1j +i2s1g +is1st +i2s12tt +i2s1z +isva2d1ss +i1svin +isvz1 +isza2k1o +isza2p12 +isza2p1e +is3zr +isz1rk +is3zrl +is3zr +isz1e2gy +i2sz1elv +is3zene +isz1esem +i2szj +isz2fr +i2szimi +isz1ing +isz1isk +isz1ist +isz1kl +isz2k12v +isz2k1 +isz1l +isz1s +isz3s +isz2tati +iszt1ras +isz2t1rb +isz2trt +isz2t1kn +isz2t1r. +isz2t1ill +iszt1i2nai +isz2t1l +isz2t1r. +isz2tz +i2sz12g +i2szt +is3zrdn +it1a2c +ita1d2 +it1a2d +ita1g2r +it1agya +i2t1akk +i2t1akn +1i2tal. +ita2lad +ita2l12r +i2talb +ita2l1el +ital2 +i2talh +itali2n +ita2lina +i2talj +i2talk +it1allo +1i2talm +1i2taln +i2talo +ita2l12 +1i2talr +i2talt2 +i2talu +it1an +it1ant +i2t1ara +i2t1au +it1cs. +it1g. +it12ga +itna2 +it2n1at +it2rak +i2t12ram +it12ras +it12rat +it2rr +it2rt +i2t12ria +it2rig +it2ris +itr2 +it2r1r +it2ruk +it2r +itsksz1 +it2s3z +it2tal +it1tf +it1bl +it1br +it1dr +ite2l1a +ite2l1 +ite2leg +i2telemz +ite2leng +ite2les +ite2lex +ite2ll +ite2l1r. +ite2linj +it1elj +i2t1ellen +it2elmly +ite2lo +ite2lz +i2t1e2mel +i2t1eml +i2t1e2p +2iter +i2t1e2rez +i2t1er +i2t1e2sete +it1ezr +it2g +i2t1ge +it12le +it1lm +i2t12ret +i2t1rz +it2tek +i2t1tt +it1fl +it1fr +it1gl +it1gn +it1gr +i2t1id +iti2g +itigaz1 +i2t1ig +it1i2ko +it1ikr +itikus1s +it1ill +it1imp +i2t1ind +i2t1inf +it1i2pa +i2t1ir +i2t1iro +it1ir +it1isk +i2t1ism +it1isza +it1i2szo +i2t1g +i2t1z +it1kl +itkos1s +it1kr +ito2b +it1obe +ito2k1aj +ito2kak +ito2k1ol +ito2n12 +itop2la +ito2r1as +ito2rl +ito2ril +2itosz +ito1sz2f +i2t1ov +ita2 +it1f2 +1i2tkn +i2t12n +i2t1nn +i2t1nt +it1p2 +it1r +its2 +it1sp +it1st +it1nt +i2t1s +it1rl +it1pl +it1pr +it1sp +1ittad +1ittam +itta2n12s +itta2n1 +itta2n12 +2itte +it2t1eg +it2t1i2na +it2t1ing +it1tra +it1tr +1ittuk +1ittun +itty1i +i2t1ug +i2t1und +itu2n1i +itu2ral +it1u2rn +it1j +i2t1g +it1ld +it1st +i2t1t +i1t2z +i1t2zi +i1u +iu2ga +iu2go +iu2mab +iu2mac +iu2m1ad +iu2maf +iu2m1ag +iu2mal +iu2m1am +iu2m1a2n +iu2m1a2r +iu2m1as +iu2m1a2t +iu2m1av +iu2maz +iu2m12l +iu2meg +iu2m1el +iu2m1en +iu2mer +iu2m1es +iu2mez +iu2ml +iu2m1r +iu2m1i2d +ium1ill +iu2m1im +ium1inj +iu2m1i2p +iu2m1is +iu2m1iz +iu2m +iu2mol +iu2m1or +iu2m12 +iu2m +iu2m +ium1p2 +iu2m +iu2na +iu2no +iu2ra +iu2r +iu2ru +ius3sze +iu2ta +iu2t +iu2tu +iu2zs +i1 +i2b +i2be +i2b +i2bi +i2bo +i2b +i21br +i2ci +i2c +i2d +i2de +i2do +i2dz +i2l +i1fr +i2ha +i2h +i2he +i2hi +i2h +i2h +i2hu +i2h +i2if +i2je +i2j +i2j +i2ke +i2k +i21kl +i2k +i2k +i2ku +i2me +i2m +i2mu +i2m +i2ne +i2n +i2n +i2re +i2ri +i2ro +i2ru +i2se +i2so +i21sp +i2ta +i2t +i2te +i2t +i2t +i2t +i2t +i2ve +i2v +i2vi +i2vo +i2ze +i1 +i2cs +i2ge +i2gy +i2le +i2l +i2li +i2l +i2l +i2l +i2re +i2r +i2r +i2te +i2t +i2ti +i2t +i2t +i2t +i2ve +i2v +i2ze +i1 +i2ze +i2z +i2z +iva2csal +iva2cs1e +1i2vad +iva2r1ai +iva2raj +iva2re +iva2rin +iva2rol +iva2r +ivar1s +iva2t1a2n +iva2t1e2 +iva2tin +iva2tol +iva2t12 +iva2t1 +1i2vs. +1i2vsb +1i2vs +1i2vsn +1i2vsr +1i2vss +i2ve. +1ivot +ivksz1 +ivs2 +iv2 +iv2r +i2x1ab +i2x1ad +i2x1an +i2x1ar +ix1as +i2x1g +ix1bl +i2x1ef +i2x1eg +i2x1ex +i2x1p +ix1fr +i2x1im +i2x1in +i2x1io +i2x1ir +i2x1is +ixi2t +i2x1ob +i2x1op +ix1d +ix1s +ix1r +ix1s +ix1pl +ix1pr +i2x1j +i2x1l +iz1akn +izala2g1 +iz1alk +izas2 +iza1sp +iz1rny +iz1bl +ize2d12 +ize2d1k +iz1egy +i2z1e2lem +izele2tel +i2z1e2lr +i2z1e2l +iz1ember +izene2g +izen3n +ize2s12 +i2z1esem +i2z1ev +i2zd +i2z1g +1i2zj +1i2zk +i2zl +i2z12p +1i2zs +iz1fl +1izgal +1izgatot +i2z1iga +i2z1ig +iz1inf +iz1int +iz1iro +i2z1isk +i2z1ism +izi1s2p +1izmok +1izmuk +izmus1s +1izm +iz1okt +1i2zol +izo2m1a +izo2ml +1i2zomb +1izom +1izomf +1i2zomm +1i2zomn +1i2zomr +1izoms +1i2zomt +1izomz +izo1p2 +i2zos +izo1szta +1izot +iz2d1a2 +iz1r +iz1pl +iz1pr +i2zs1ad +izsa2ik +i2zsakn +i2zs1all +izs1ara +izsa3u2tk +iz4s1g +i2zs1l +i2zsec +i2zs1embe +i2zsev +izs2t +izs1te +i2zsil +i2zs1imp +izs1ist +i2zsita +i2zsiz +iz3sor +i2zs1 +izs1s +iz3str +i2zs1l +iz3sze +iztos1s +iz1udv +izura1 +iz12t +i2z12g +i2z1t +i2z12z +1izzi +1izz +1izzot +2. +1a +1 +ba2l1 +2bis +bo2r1as +cius1s +d1a2c +d1a2d +d1a2l +dala2g1 +d1a2n +d1a2v +d1a2z +d1g +d1l +d12r +d1t +d1bl +d1e2g +d1e2l +d1e2m +2d12g +2d1l +2d1p +2d1r. +2d1rz +di2g +2d1iga +2d1ig +2d1in +2d1i2r +d1v +2d1ol +2d1om +2d1os +d1s +d12r +d1pr +d1st +2d1ud +2d1ug +d1j +d1g +d1n +d1z +d3z +d3zs +1e +1 +2le +2g1a2g +g1e2p +ge2s +2g2r +2g1op +g1tr +gy2 +1i +i2ro +1 +2j1a2d +2j1a2d +2j1a2j +2j1akc +2j1a2l +j1any +2j1a2r +2j1a2u +2j12c +2j12g +2j1r +2j1re +2j1rt +2j1ru +12js +j2sze +j1szka +2j1ta +2j12te +2j1th +2j1tl +j2tos +2j1tt +2j1tu +2j1tv +2j12z +j1e2g +j1e2l +jel2i +j1e2m +j1en +j1e2r +j1e2s +j1p +j2r +2j1re +j1fr +2j1i2d +2j1im +2j1int +2j1ir +jir2 +j1g +j1n +j1kr +2j1o2d +2j1ok +2j1ol +2j1os +2j1ot +j1n +j1s +j12v +j1z +j1pl +j1pr +j1sk +j1sp +j1st2 +2j1ug +2j1u2t +2j1t +j1g +j12t +2k1abl +2k1a2c +2k1a2g +2k1a2l +2k1an +k1ar +ka2s +k1asz +k1a2v +2k1b +2k1g +k1l +2k12r +2k1eg +2k1e2l +k1em +2k1es +k1ev +2k12k +2k1r. +2k1rb +2k12r +k1fr +2k1i2d +2k1ing +2k1i2r +k1n +k1r +k1k2r +1k2lu +k1oll +2k1op +2k1orn +2k1orr +2k1ors +k2l +2k12v +k1pl +k1pr +k1sp +k1sz2 +2k1ug +2kuni +2k1u2r +2k1u2t +2k12t +k12v +l1aj +l1a2k +l1a2l +2l12g +lsi2 +l2s1ik +ls3s +l2s3z +2l1t +l1bl +l1br +l1e2g +2l1rz +li2as +2l1i2m +2l1i2r +2l1is +l12r +l12v +l1kr +l1s +l12z +l1st +lt2 +l2t1rk +l2t1ro +l2t1rt +l2t1e +l2t12 +2l1u2r +lu2sab +lu2se +lus3s +lu2s3z +ma2n +ma1p +2m12l +m2ris +ms1s +m1bl +m1b2r +m1dr +2m1e2g +m1el +2m1elm +me2r1a2 +me2r1 +me2reg +m1e2r +2m1esem +2m1e2v +2m12het +2m12k +2m1p +2m1r. +2m12r +2m12r. +2m12ri +2m1rr +2m1rte +2m1rt +2m1i2d +mi2g +2m1iga +2m1ig +2m1ill +2m1ind +2m1inf +2m1ira +2m1is +2m1i2v +m1r +m1kr +m1o2k1 +m1ol +m1on +m1o2p +m1os +m1k +m12l +m1s +m1t +m12r +m1p2r +m1sp +m1st +m1u2r +m1u2t +2m1g +2m1nn +2m1t +2n1ab +n1a2c +na2d +n1ada +n1ad +n1ado +2n1a2g +2n1a2j +2n1aka +2n1akk +n1a2la +n1alj +n1alk +n1ana +n1a2ny +2n1a2p +2n1a2r +2n1arc +n1ass +n1atl +n1att +2n1au +2n1az +n1br +2n12c +2n1g +2nlhaj +2n1lm +2n12p +n12t1a2 +n1tc +n1te +n1tf +n1th +n1tl +n1tm +n1tt +n1tv +2n12z +n1bl +n1br +n1d2r +2n1ef +2n1e2g +2n1e2ke. +2n1elc +2n1e2le +2n1elh +2n1elj +2n1elk +2n1ell +2n1elm +2n1elny +2n1e2lo +2n1el +2n1e2lh +2n1elr +2n1elt +2n1elto +2n1elv +2n1e2mel +2n1eml +2n1e2mu +ne2n +2n1ene +2nesd +2n1e2sz +2n1e2v +n1g +n2l +2n1le +n1l +n1l +n1lt +2n12p +2n1r. +2nrd +2n1ri +2n1rl +2n1rm +2n1r +n2sza +n2szer +n2szint +n2szo +2n1te +2n12ven +n1f2r +n1g2r +ni2g +2n1iga +2n1ig +2n1i2ko +2n1ill +n1ind +2n1inf +2n1ing +2n1int +12nio +n1i2r +2n1iro +2n1ism +2n1i2z +n1z +n1k2l +n1k2r +n1k2v +n3ny +2n1ob +2n1ol +2n1op +2n1or +2n1osz +n12l +n1n +n1r +n1s +n1t +n12v +n12z +n1pl +n1pr +n1ps +n1s2k +nso2k1 +n1s2p +n1s2t2 +n1sz2 +n1t2r +n1ug +n1j +2n1d +2n12g +2n1lt +2n12t +2n12v +ny1e2c +ny1e2g +ny1el +ny1e2r +ny1ing +1o +1 +2vo +1 +1 +2p1a2g +2p1a2n +2p1lc +2p1l +ps3s +2p1i2z +p3ro +2p1uj +pu2san +pus3s +pus3z +r1a2d +r1akc +r1akn +r1akt +r1a2la +r1alj +r1alk +ra1pl +ra1pr +r1arc +2r1a2u +2r1br +2r12g +2r12p +r1r. +r1rak +2r12ro +r12ru +2r1ss +r2se +rsksz1 +rs3s +2rsz +r12t1a +r12t1e2 +2r1th +r1ts +r1tv +r1za +r1bl +r1br +r1d2r +r1e2d +2r1e2g +2r1e2ks +2r1e2l +rel1a +2r1ember +r1eml +r1emu +re2n +r1ene +2r1e2r +2r1esem +2r1e2s +2r1eszk +2r1ev +2r12g +2r1j +2r12k +2r12l +2r1p +2r12ri +2r1s +2r12te +r1vh +r1f2r +r1gl +r1g2r +ri2g +2r1iga +r1iko +2r1ill +2r1im +r1ind +2r1inf +2r1inj +r1ins +2r1int +2r1i2p +r1ira +2ris +ri2sz1 +2r1i2z +r1n +r1r +r1v +r12z +r1k2l +r1k2r +r1kv +1rnok +2r1o2b +1rog +2r1okl +2r1okm +ro2l +2r1ola +2r1old +2r1olv +2r1o2r +2r1osz +2r1o2v +2r1o2x +r2 +2rdj +2rdo +2rd +2rdt +2r +r1p2 +r1s2p +r1sz +rt2 +r1tr +r1n +r1r +2r1s +2r12z +2r12r +r12s +r1p2l +r1p2r +r1sh +r1s2k +r1s2p +r1s2r +r1s2t +rsz2 +rszt2 +r2t1ag +rt1alap +rt12te +rtha2 +r1tran +r1tro +r2t1u2r +ru2n +2r1und +2r1uni +2r1u2r +ru2s1e2 +rus3s +2r1u2t +2r1j +2r1r +2r12s +2r1tj +2r1tn +2r12to +2r1tr +2r1tt +2r12g +r2l +r1r +r12v +2r1z +r12z +s2po +s2t +sz1aj +sza2k +szak1o +sz1a2l +sz1as +sz1at +sz1au +2sz12 +2sz1eb +2szed +2sz1e2g +2sz1e2lem +2sz1ell +2szeln +2sz1e2l +2sz1elv +2sz1emb +2sz1e2mel +2sz1eml +2sz1erk +2szg +2sz12l +2sz12p +sz1rem +2sz1rt +2sz1tk +sz1g2 +szi2 +2sz1id +2sz1in +2szr +2sz1v +sz1k2 +2sz1o2 +2sz12 +sz1l +sz1n +2sz12 +sz1p2 +sz3s +sz1tr +2sz1u +2sz1 +sz2l +2sz1l +2sznn +2szt +sz1z +ta3u2 +t2s12g +t2k1a2l +t2k1e2l +12tl +t2sa +t2s1g. +t2s12g +t2s1gr +t2sza +t2sz +t2szo +tsz3s +ta2 +t1f +tg2p12s +t1p2 +t1sp +t1sta +tt2 +t1tr +t2r +tus3s +1u +1 +1 +2d +1 +2v1a2d +v1a2j +v1ajk +v1ajt +2v1a2la +2v1alj +2v1a2na +v1ang +2v1an +2v1a2ny +v1arc +v1a2ri +2v1aszt +v1br +2v12g +2v1l +v12rad +2v12ram +2v1rk +2v1rn +2v1rt +2vru +vs3s +v2s3z +v1ta +v1bl +v1dr +ve2c +2v1e2dz +2v1e2g +2v1ej +2velek +v1e2lemb +v1e2leme +v1e2lem +v1e2lemr +2velg +v1e2ll +2v1ember +ve2n +2v1end +2v1ene +ve2r +v1ere +v1er +v1er +2v1esem +2v1esz +2v1e2tet +2v12g +2v12k +2v12le +2v1lm +2v12l +v1lt +2v1p +2v1r. +2v1rd +2v12ri +2v1rr +v1rt +2v1rv +2v1rz +2v12te +v1fr +2v1i2d +vi2g +2v1iga +vi2k +v1ike +2v1ill +2v1im +2v1in +2v1i2p +v1iro +vi2s1el +vi2ses +vis1s +v1iva +2v1i2z +v1kl +v1kr +2v1ol +2v1op +2v1or +2v1osz +2v1ox +v1s2p +2v1b +2v12r +2v1s +v1v +2v12z +v1pl +v1pr +vren2de +v1sk +v1sp +v1st +vsz2 +v1szk +v1tr +2v1ug +v1ult +2v1ur +2v1u2t +v1j +v1t +2v1g +2v1r +2v1t +2v12v +2v1z +z1ab +z1a2d +z1a2g +z1aj +z1a2k +z1a2l +za2n +z1ar +z1a2u +z12g +z1l +z12p +z12r +zr12 +zs1s +z12t +zt1a2d +zt1 +zt1e2 +z1bl +z1d2r +2z1ef +2z1e2g +2z1ej +3zel +ze2l1el +ze2l +ze2l +2z1emel +2zem +ze2n +2z1ene +2z1e2r +12zes +2z1e2sz +2z1e2ti +2z1eu +2z1e2v +2z1ex +2z1e2z +2z1g +z1kk +2z12l +2z12p +2z1r. +2z1rb +2z1rd +2z1rel +2z12ren +2z1rh +2z12r1i +2z1rk +2z1rm +2z1rn +2z1rr +2z1rs +2z1rte +2z1rt +2z1rt +2z1rv +2z1rz +z2sa +z1sz +z1vi +z1fr +z1gl +z1icc +zi2g +2z1ig +z1iko +2z1ill +2zim +2z1imi +2z1imp +2z1ind +2z1inf +2z1int +zi2r +zi2ra +zi2to +2z1i2pa +2z1ira +z1ir +zi2so +zi2sza +zi2szo +zi2sz +2z1i2ta +2z1i2v +z12v +z1z +z1kl +z1k2r +zo2k +z1on +z1or +z1os +z12r +z1b +z1d +z1k +z12l +z1m +z1n +z1r +z1s +z12v +z1z +zpen1 +z1pf +z1pl +z1p2r +2zsa2 +zs1al +zs1as +zs1au +z4s1g +zs2r +zs1ro +z3sv +z3seb +2zs1e2l +zse2s +zs1ese +2zs1in +2zs1it +z3s +2zso +zs1ok +z3sor +2zs12 +2zs +zs1s +z3str +2z3su +2zs +z3sz +z1t2r +2z1ug +2z1uj +zu2me +zu2m1i +z1und +2z1u2r +2z1ut +z1r +z12t +2z12g +2zle +2z1r +2z1s +2z1t +2z1v +2z12z +2ze +2zn +12zr +2zv +2j. +1ja +j1a2c +2j1a2dag +2j1a2dal +ja2dat +2j1a2dato +2j1adm +2j1a2dom +2j1a2dot +ja2dh +ja2ds +ja2dt +ja2dv +ja2dz +ja2dus +ja1f2r +ja2ga. +2j1agg +2j1a2gi +2jakad +ja2kad +ja2k1l +ja2k12p +ja2k1rn +2j1akci +ja2k1ec +ja2k1el +ja2k1e2m +ja2kes +jak1re +ja2k1ri +2jakf +ja2k1im. +ja2k1iz +ja2k12r +jak1k2 +2j1akku +jako2v +jak1ovi +ja2kk +ja2k1lts +ja2k1s +2j1akro +jakt2 +2j1akt. +2j1akti +2j1aktu +2j1alg +2j1alk +2j1all +2j1alm +jam2be +2jambu +ja2mes +2jana. +2jana2i +ja2nal +ja2nat +2j1a2no +jan2sze +jan2sz +ja2nya +ja2ran +2j1a2r +2j1arc +ja2rom +2j1a2szs +2j1atk +2j1atr +ja2ur +ja2uto +2javat +ja2xi +ja2zon +1j +j2ar +2j12b +2j1br +2j1g. +2j12ga. +2j1g1a2d +2j12gai +2j12gak +2j12gas +2j12gat +2j12gaz +2j12g +2j1gb +2j1gf +2j1gg +2j12gi +2j1gk +2j1gr +2j12gy +j2r +2j1ll +j2n1e +j2nk +2jnl +j2po +2j12rada +2j12rai +2j12rak +2j12ram +j2rar +j2r1av +2j12rn +jrs3s +jr2s3z +2j12rt +2j12rv +jre2 +j2r1em +j2res +j2rr +2j12rig +j2r1is +2j1rki +2j1rko +2j1rny +2j12ron +j2r1ot +j3r +j2r +2j1rtal +2j1rts +2j12ruk +2jrus +j1rut +2j1rvl +2j1rz +j2s1ad +j2sal +j2san +j2s1g +j2s12rai +j2s1rak +j2ss +j2s1e2 +j2sit +j2s1 +j2s1ol +2j12s +j2s +jst2 +j2s12 +j2sz1al +jsze2 +j2szis +j2sz1okta +jsz1i +jsz1n +jsz12r +jt1a2d. +jt1a2dk. +jt1a2dn. +jt1a2dt +2j12tal +j2t12 +2j1tz +jtk1e2 +2j1tfe +2j1th +2j12ti +2j1tr +2j1tl +2j1tm +jt1osz +2j12t1 +2jtsz +2j12t +2j1tv +2j1tvi +j3zs +jba2l1 +jb2lo +jb2ri +jb2r +jb2n12 +jc3ho +jcsap2 +jcs1s +jdo2nal +j1d2r +j1d2ro +j1d2ru +jdkz1 +1je +jea2l +jea2n +je2b +2j1e2dn +2j1e2dz +jee2n +je1f2r +2jeged +je2gs +jegsz1 +je2gyeg +je2gyel +jegy1els +jegy1elv +2j1e2gyes +je2gy12k +je2gy1in +je2gy1o +je2gy +je2gyu +je2gy1 +je2gy12r +j1ekc +je1kri +jek2t1a2 +jek2t12r +jek2t1e2l +jek2ter +je2laj +je2l1an +je2l1ap +je2lar +je2lav +je2laz +jel2 +je2l1b +je2lg +je2ll +je2l1r +je2l1t1 +je2lz +jel1e2gy +je2l1e2l1e2v +je2l1elk +je2l1ell +je2l1e2l +je2l1e2lb +je2l1els +je2l1emel +2jelem +je2l1eml +2j1e2lemz +je2l1eng +je2l1e2r +jel1ess +jel1esik +je2l1esni +je2l1e2s +jel1este +je2l1esz +je2l1etet +jel1evo +je2lg +je2l1j +je2ll +je2l1p +je2lrte +je2l1ige +je2lim +je2l1inf +je2l1ing +je2l1int +je2l12 +2j1ellen +je2l1o2 +je2l1v +je2la +2j1e2lfe +je2l +2j1e2ltu +jel1p2 +2jelsz +2jelszo +2j1eltett. +2jeltr +je2lu +je2l +2j1emba +2j1ember +2j1e2mel +je2mu +je2n1 +jen1d2 +je2n1e2ke. +je2n1el +je2ner +jene2s +je2n1esz +je2n1in +je2n1o +je2n12re +je2n1s +je2n1 +je1p2r +2j1erd +je2red +je2r +2j1e2r +je2s1a +je2s1emb +2j1e2setb +2j1e2sett +je2s1r +je2s +jest2 +je1sta +je1str +je2su +je2s12v +jes3zac +je2t1am +je2tl +jet1ell +je2t1em +je2t1k +je2t1o +je1tra +je2tun +je2tut +jeu2r +2j1e2v +jezksz1 +1j +2j1br +j2g1a2 +j2g12 +jgr1a2d +j2gec +j2ged +j2g1e2k +j2g1el +j2g1em +j2g1erk +j2g1es +j2get +j2gp +j2g1r. +j2gs +jg3g +jgi2 +j2g1id +j2gig +j2gim +j2g1is +j2g1o +j2g +j2g +2j2g +j2g1u2 +j2g +2j12hen +2j12hes +2j1hs +j2k1os +j2k +2j12le +j2l +2j1lt +j2nad +j2n1ess +j2n12g +j2nil +j2no +j2n +j2p +j2p +2j1r. +2j1rb +2j1rd +j2reg +2j12ren +2j12r +2j1rh +2j12ri +2j1rk +2j1rl +2j1rm +2j1rn +2j1rr +2j1rte +2j1rt +2j1rt +2j12r +2j1rv +2j1rz +j2tel +2j1tk +2j1tt +2j1v. +2j1vb +j2ve. +2j12vek +2j12vet +j2vn +j2vr +j2vt +j1vh +j12vi +j1vk +2j1vn +2j1vr +j1vt +2j12v +j1vv +jfeles1s +jf2le +jf2lo +jf2l +jfls1s +jf2ra +jf2re +jf2ri +jf2r +jf2ro +jf2r +jfu2na +j1g2le +j1g2l +jg2ru +jh2r1e +1ji +ji2do +j1i2d +2j1i2ga +2j1i2g +ji2je +2j1ikr +2j1ill +ji2ma +ji2m +ji2mi +2j1i2na. +ji2nb +2j1ind +2j1inf +2j1ing +2j1inj +2j1ins +2j1inte +2j1int +ji2on +ji2pa +2j1i2rat +2j1i2r +2j1i2ro +2j1irr +2j1irt +2j1isk +2j1ism +2j1ist +2j1i2ta +2j1i2v +2j1i2v +ji2z +ji2zo +1j +j2g +j2r +j2r +jtksz1 +j2ve +j2v +j2v +j2ze +j2z +j2z +j2z +j2j1alj +j2j1a2z +jj1s +jje2les +jje2lesi +jje2lest +jje2l1l +jj1e2r +j2j1im +j2j1iz +jj1v +jj1z +j2j1ol +j2j1os +jj1pr +jj1g +jka1pr +jk1ard +jkau2 +j2k1e2g +j2k1e2l +j2k1e2s +jk2p1e2k +jkia2 +jki2 +j2k1id +jkie2 +jk2la +jk2l +j1k2li +j1k2lo +jkme2 +j2k1old +jko2r12s +jko2r1in +jk1r +jk1pl +jk1pr +j1k2r +j1k2ri +j1k2r +jk1st +j2k1u2s +jk1g +jk2va +j1k2v +j2l1abl +jl1a2da +j2l1a2lap +j2l1all +j2l1ar +jla2t1e2 +j2l1azo +jls3s +jl12t1a +jl1tn +jl1bl +jl1e2gy +jle2 +jl1el +jl1ell +jl1eln +jle2t12te +jl2cel +jl2c3s +j2l1v. +jli2k +jl1iko +j2l1ind +j2l1inf +j2l1int +jl1obj +j2l1ol +jlo2n1 +jlo2ni +j2l1s +jl1pr +jl1sp +jl1st +jl1t2r +jme2g +jm1ok +j2m1old +jna2l1e +jna2lg +jna2lis +jn12r +jn12ru +jnv1a +jn1ing +jn1st +jn12g +1jo +jo2g1a2d +jo2g1aka +jo2gal +jo2g1an +jo2g1a2z +jo2g12c +jo2g12l +jo2g1e2 +jog3g +jo2g1 +jo2g1ol +jo2g1or +jo2g1osz +jog2 +jo2g1v +jo2g +jo2g +jo2gur +jo2g +2j1o2koz +2j1oks +2j1okta +jo2laj +jo2lim +joma2 +jo2m1ag +jo2m1an +jo2mar +jo2m1as +jo2m1 +jo2m1e2 +jo2m12t +jo2mv +jom1f2 +jo2mij +jo2m1ik +jo2m1is +jo2m1iv +jo2m1ol +jo2m1or +jo2m +jo2m +jom1p2 +jo2m +jo2m +jonc1c +jon2ch +jon2cil +jon2c3s +2j1ond +jo2b +jo2p +jo2pe +jo2r1ing +2j1orr. +jo2r +2j1osto +2j1osz +jo2ui +jo2uk +jo2ul +jo2ur +jo2ut +jo2va +1j +ja2k +j2g +j2r +j1bl +j1b2r +j2ce +j2dad +j2dak +jd1all +j2d1a2n +jda2t +j2d1ato +jde2 +j2del +j2dig +j2diz +j2d1ol +jd2 +j2dr +j2d +j2d3z +j1fl +j1kl +j1kro +j2l1e2s +2j1nn +j1p2r +j2rk +2j12ri +j2sal +j2sas +j2sl +js1rk +j2seg +j2sem +j2sn +j2sip +j2sis +j2s1o2do +j2s +js3s +js1ld +j2s1n +j2s3zr +j1t2r +1j +j2d +j2ko +j2l +2j1nt +j2re +j2r +j1sv +j1tv +2j1v. +2jve. +j12vez +2j12vn +j2z +1j +j1rl +j2r +2j1rt +j2r +j2ze +jprba2 +jp2la +jp2le +jp2re +jp2r +jp2ri +jp2ro +jp2r +jra3d2 +jra1f +jrai2 +jra1p2 +jra1s2 +jrau2 +jr2sz1e2l +jr2sz +jsa2v1e +jsa2v1 +jsa2vo +jsa2v1n. +jsa2v12r +jsg1g +js2ho +js2k +js2ki +js2ni +js2pe +js2pi +js2po +js2p +jsp2r +j1s2ta +js2ti +j1s2t +j1s2to +j1st2ra +j1st2ru +j1s2t +jszabs1s +jsz2l1a2da +jszraz1 +jszn3n +jsz2k +jszt2 +j2t1a2da +jt1a2do +jt1a2d +jt1akn +jt1a2lap +jt1alk +j2t1all +j2t1alv +jt1a2nyag +jta1p2 +j2t1a2p +jt1a2rom +j2t1arz +jta1sp +j2t1atk +j2t1a2ut +j2t1c +jt1ga +j2t1ll +jt2rai +j2t12rak +j2t1rka +jt2s3z +jt12t1a +j2t1e2gy +j2t1e2ke. +j2t1e2leg +j2t1e2leme +j2telemz +j2t1elf +j2t1elh +jt1elj +j2t1ell +j2telml +j2t1e2lo +j2t1e2l +j2t1elp +j2t1elr +j2t1els +j2t1elv +j2t1eml +j2tener +j2t1enz +jt1e2red +jt1e2rez +j2t1er +j2t1e2tete +jt1e2vs +jt1evo +j2t1e2v +j2t12le +jt1lm +j2t1rl +j2t1rm +jts3s +jt1fl +jt1fr +j2t1i2d +jti2m +j2tim +j2t1imi +j2t1imp +jt1inf +j2t1ing +jt1int +j2t1i2pa +j2t1ir +jti2s +jt1isi +j2t1izg +jt1i2zo +j2t12v +j2t12z +jt1kl +jt1kr +j2t1olda +j2t1orjb +j2t1ors +jt1osz +j2t1o2x +jta2 +jt2ra +jt1p2 +jt1s2po +jt1sta +jt1str +jt1sz +jt1tr +jt1d +jt1ng +jt1ss +jta2 +jte2 +jt2 +jt1s2p +jt1pl +jt1pr +j1t2ran +jtrdi2 +j1t2rg +jt2ri +j1t2roj +jt2rf +jt1sp +jt1st +jt1t2r +j2t1udv +j2t1und +jt1ut +j2t1j +j2t1g +j2t12l +j2t1t +1ju +ju2ga +jugo1 +ju2had +ju2h1a2k +ju2hal +ju2h1a2n +juha2ra +ju2hat +ju2hl +ju2h1e2 +ju2h1j +ju2h1is +ju2hor +ju2h +ju2h +2jula +2juls +2jural +ju2ru +ju2sz1a2v +ju2szim +ju2sz12 +ju2tak +2j1u2tl +1j +j1fr +j2j +jjj3 +j1pl +j1p2r +j1s2p +j1s2t +j2sz +j1szv +2j1tb +j2ton +2j1tv +1j +j2ge +j2gy +j2le +j2l +j12l +j1lt +j2re +j2r +j2r +j2ta +j12t +j2ve +j2ze +1j +j2ri +j2z +j2z1abl +j2z1a2d +jza2j +j2z1aj +jz1ajt +jza2kad +jz1akc +j2z1a2l +j2z1a2ny +j2z1ar +j2z1as +jza2tan +j2z1l +j2z12rad +j2z12rn +j2z1e2l +j2z1em +jze2r +jz1er +j2z1es +j2z1l +j2z1rt +jz1fr +jzi2g +j2z1ig +j2zill +j2z1int +j2z1i2r +j2z1isk +j2z1ism +jz1k2l +jz1k2r +j2z1ob +jz1okta +j2z1olda +j2zolvas +j2z1osz +j2z12d +j2z12r +jz1s2 +j2z1s +j2z1t +jz1pl +jz1p2r +jz3sab +j2zs1a2l +j2zs1l +jzscsa2p1 +j2zs1eg +j2zsen +j2zs1er +j2zs1in +jz3sn +jz3sor +j2zs12 +j2zs1 +jzs1s +j2zs1u2t +jz3sza +jz3sz +jz3sze +j2z1ut +jz12g +2k. +1ka +kaa2d +kat1 +kata2 +kab2a +2kabbah +2k1abh +kabi2n +2k1ablak. +2k1ablaka +2kablak +2k1ablakb +2kablakh +2kablakk +2k1ablakok +2k1ablakon +2kablakos +2k1ablakot +2kablakr +ka1b2le +ka1bre +2k1abs +ka2cl. +ka2c3h +kacs12g +ka2cs1s +ka2c +ka2cz +k1adap +2kadl +kads1s +2k1a2dot +ka2di +ka2dj +2k1a2dso +ka2du +ka2dz +ka1d2r +kaegsz1 +kae2l +kae2r +ka2r +ka1f2r +ka2gan +2k1agg +ka1g2r +2k1agy. +ka2gyu +kai2z +2kajnl +2k1ajk +2k1ajth +ka2kad +ka2kad +kakas3s +ka2kc +2k1akc +ka1k2l +ka2k. +ka1k2r +ka1kri +2k1akt. +2k1akti +ka1k2va +ka2lapa +2kalaptv +2k1alb +kal1egy +2k1alf +2k1alj. +2k1alji +2k1alka +2kalko +2k1alle +2k1alti +kama2te +2k1ambu +kana2g +ka2nal +2k1a2nam +k1a2nat +ka2n1e2g +ka2n1el +2kang +ka2nim +ka2nio +ka2n1iv +ka2nol +ka2nd +2kante +ka2n +ka2n +2k1a2nya. +2k1a2nyag +2k1a2nyai +ka2nyb +ka2ny +ka2a +ka2 +ka2c +ka2e +ka2g +ka2ha +ka2 +ka2ko +ka2kr +ka2p +ka2 +ka2z +2kapd +ka2pto +2kapp +ka1p2re +ka1p2r +2k1apr +ka1prof +ka2r1a2d +ka2rakk +ka2r1a2k +kar1a2lap +2k1arank +ka2r1a2r +kara2s +2ka2rasz +2karat. +2karatn +2karato +ka2rau +ka2r1csh +ka2r1csn +ka2r1cst +ka2r1l +2k1a2rny +kar2c1el +kar2dac +kar2dl +kar2dz +ka2rel +ka2rev +kar1ke +kar2kor +ka2rl +ka2r1ne +karfe2l1 +ka2rid +ka2r1i2ko +ka2r1ikr +ka2rind +ka2r1ing. +kar1ingb +kar1inge +kar1ingg +kar1ingr +ka2r1isk +ka2r1ism +kari2z +ka2r1izo +2k1a2roma. +2karom +ka2ror +kars2 +2k1arti +ka2sag +kasg1g +ka2sl +ka2sid +kasi2p +kas1ipa +ka2siz +ka2s1ol +ka2s12r +ka1s2po +kas3sze +kas3sz +2k1asszi +2kasszony +kas3sz +kast2 +ka1str +ka2sr +kasz1ajt +2kaszat +ka2szg +kat1ar +ka2tl +kat1iko +kat1int +ka2t1i2o +2k1atk +ka2tolda +katrdi2 +ka1t2ri +ka2ty +ka2ud +2k1a2ul +kau2n +kau2r +kau2s +kau2ta +2k1a2uto +2k1aut. +2kautb +ka3utc +2kaut +2kauth +2kauti +2k1autj +2k1autk +2kautm +2kautn +2kauts +2kautt +2kautv +ka2t +ka2z +2k1a2vat +2k1a2zon +1k +2kb +2k1br +k2cak +k2ce +2k2c3h +k2c +k2c3sar +k2csat +k2cse +k2cs1k +k2csip +k2csis +k2c3sor +k2cs +k2cs +k2c +k2dab +k2dar +k2d1c +k2dt +k2dil +k2d +k2d1 +k2d12 +k2d3z +k2f +2k1g. +k2ga +2k1ga. +2kgacska +k3gacsk +2k1gai +2k1gak +2k1gat +2k1gaz +2k12g +2k1gb +2k12ge +k12g +2k1gg +2k1gh +2k12gi +2k1gk +2k1gn +2k12go +2k1gr +2k1gs +2k1gt +2k12gu +2k12g +2k12gy +2k12h +k2j +k2j +k2lg +2kli +2klk +2kln +2klv +2klz +2k1lc +k1ldo +k2l1e2 +k2ln +2k1llap +2k1lls +kl2l1e2 +kll2 +kl2lk +2k1ll +2k1llom +k2l +k2lyod +2k12m +2k12mu +k2n1ag +k2n1a2n +k2n1as +k2nem +k2n1is +k2n12 +k2ny1ag +k2ny1a2l +k2ny1a2n +k2nyap +k2nyar +k2ny12to +k2ny1e2 +k2nyis +k2nyiv +k2ny +2k12pol +k2pol +2k2rad +k2r1a2g +2k12rakr +k2rakt +kr1akta +kr1akt +k2r1a2l +2k12ram +k2r1a2p +k2rar +k2ras +kr1ass +2k12rat +k2raz +kr1azo +kr1ll +k2r12z +kr1d2 +k2r1e2 +kr1te +2k12ri +k1rk +krki2h +k2r1old +k2r1osz +k2r +k2r +krpszi2 +krpszic3 +kr1s2 +krt2 +kr1tr +k2ruh +k2r +ks1ajt +ks1ass +k2s12go +k2s12rai +k2s1rak +k2s12r +k2s1rb +k2s12ro +k2s1rr +k2s1rv +k2s1rz +2k12ss +2ksst +k2s1e2 +k2s1i2k +k2sim +k2sis +k2sr +ksk2r +k2s1ol +k2s1ott +k2s +k2s +k2s +ks1p +kst2 +ks1tr +k2sut +k2s12 +2k12szb +k2szr +ks3zr. +2k12szt +k2sze +k2sz +k2szis +k2sziv +2k12szom +k2s3z +k2tab +2k1tad +k2taj +k2tal +kt1a2la +k2t1a2n +k2tar +k2tau +k2t12 +2k1tbe +k2t1e2 +k2tg +k1tfo +k2tip +k2t1ir +k2tis +k2t +k1tl +2k1tme +k2t1osz +kt2 +k2tr +k2t1 +k2t +k1tv +kba2l1 +kb2rel +kb2la +kb2le +kb2lo +kb2r +kb2ri +kb2ro +kb2r +kci2fa +kci2si +kci2spe +kc2lu +kcsa2p12g +kdi2al +kd2ra +kd2r +kd2re +kd2ro +kd2r +kd2ru +1ke +kea2j +kea2k +kea2l +kea2n +kea2r +kea2s +ke2l +ke2r +ke2t1 +2k1eb. +ke2bei +ke2bek +ke2bd +kecs1alj +kecs1n +kecs12r +ke1d2ra +keegyez1 +kee2n +ke2ep +kee2s +2k1eff +ke1fl +ke1f2r +2k1e2gr +kegsz1 +2kegyb +ke2gyk +ke2gy1in +2k1egyl +2kegyn +ke2gy +2kegyr +2kegys +ke2gyu +ke2gy1 +2kegy +2k1e2ke. +2k1e2kei +2k1e2kek +2k1e2k +2k1e2kk +ke1k2l +ke1k2r +kek2sza +2k1ekv +2k1elad +ke2l1an +ke2l1a2t +2k1elav +ke2l12g +2k1e2lef +ke2lekc +2k1e2lekt +ke2l1e2l +k1e2lemb +2keleme +2kelem +k1e2lemh +2kelemm +2k1e2lemn +k1e2lemr +2k1e2lemz +ke2l1e2pe. +ke2l1e2pei +kele2p12 +ke2l1e2s +ke2l1esze +kele2t1el +kele2t1o +2keley +ke2l12k +2k1e2ll +kel1rh +kels3s +kel2s3z +2k1elhel +2k1elho +kel1id +kel2ig +2k1e2lim +ke2lio +2k1elism +2k1e2l12 +2k1elj +k1ell +2kellt +2kellen +2kellen +2k1ellent +2k1elnev +2k1elny +2k1e2los +2ke2l2l +2k1e2la +kel2 +2kelf +ke2lh +2k1e2l +2k1e2lkpz +2k1e2lks +2k1e2ll +ke2lny +2k1e2lo +ke2lt +2k1e2ltt +k1e2lz +k1elra +2k1elsa +2k1els +2k1elsz +kel2t12r. +2k1elto +2kelt +2kell +ke2lr +2k1elv. +2k1elv +2k1elvei +2k1elvek +2k1elven +2kelvi +k1elvk +2k1elvo +2k1elvt +2k1elv +ke2lyemb +ke2ly1kn +kelykz1 +2k1elz +2k1ember +2k1embl +2k1embr +2k1eml +2k1emul +ke2nal +2k1enci +kende2rl +ken2d1k +2k1endo +2k1e2ner +2k1enge +ke2n1ip +ke2nis +ke2n1o +kens3s +kensz2 +2k1enyv +keo2l +keo2r +ke2d +ke2h +ke2l +ke2r +ke2pik +ke2ral +ke2rap +ke2r1a2r +ke2r1as +ke2rau +ke2r1l +ke2r1r +ke2rs +ker2cs +ker2csell +kercs2 +ker2csr +2kerde +2kerd +2k1e2rege +2k1e2rej +kere2k1eg +kerekes3s +ker1ell +ker1elv +ke2r1ember +ke2r1er +kere2ta +kere2t1e2l +kere2t1 +ke2rg +ke2r12l +ke2r1p +ker1te +ke2r1id +ker1iga +ke2r1ill +ke2rim +ke2r1ind +ke2r1int +ke2r1inv +ke2rio +ker1ist +ke2r1iz +ker1k2 +2kernel. +ke2r1ol +ke2ror +ke2rd +ke2r12r +ke2rde +ke2re +ke2rk +ke2ro +ke2rs +ke2rte +kers2 +ker1sp +ker1st +kersz2 +ker2taj +ker2tp +ker2ts +ker2t1ebb +ker2teg +ker2t1este +ker2t1esz +ker2tlv +ker2t12vt +ker2tn +ker2tv +ker2t1r +ker2t1s +ker1tr +ke2rt +ker2g +2k1esem +ke2set +2k1e2sett +2k1esl +2k1e2ss +ke2sis +2kestst +2kesk +2k1e2s +ke1s2po +kes3szke +kes3sz +ke1sta +2k1este +2k1est +2k1esti +2k1estj +2k1estk +2k1estn +ke1stra +2k1estre +2k1estt +2k1estn +ke2szaj +ke2szp +2keszmn +ke2tl +ke1tc +ke2t1e2kh +2k1e2tet +ke2tid +ke1t2ra +ke1t2r +ke1t2ri +kettes1s +ke2td +keu2r +keu2s +kevs3s +ke2vid +2k1e2v +keze2ts +keza2 +keze2 +kezksz1 +2k1ezr +1k +2k12ber +2k1br +k2ge +k2g +k2g +2k12hem +2k12hen +2k12hes +2khez +2khezt +2k1hs +k2j1ak +k2j1el +k2j +k2jut +2k12ke. +2k12kei +2kkekk +2kkem +k2k1e2r +kkes3s +kke2s3z +k2kn +k2k1o2 +2k12kk +2k12k +k2lel +2kles +2k12letek +2k12letet +2k1lm +k2ld +2k12ll +2k1lr +2k12l +k2lya +k2ly1esz +k2lyid +k2ly12l +kma2 +k2mad +k2m1al +k2m1an +k2map +k2m1as +k2m1 +kmi2as +k2min +k2mis +k2m +k2mo +k2m +k2m +k2m1u2 +kna2 +k2n1al +k2nan +k2n1ar +k2n1at +kndio2 +2k12neke +2k12nekh +2k12neki +2k12nekk +2knekl +k2n1e2l +k2n1em +k2n1er +kn1te +k2nig +k2nil +k2n1ing +k2no +k2ny1e2g +k2ny1elv +k2ny +k2p1a2 +k2p1 +kp2r +k2peg +k2p1e2l +k2p1elt +k2p1elv +kpe2r +k2p1ill +k2pim +k2p1i2p +k2p +2k1pt +k2p1o +k2p +k2p1 +k2p +kp1s +k2pu +k2p +k2p12l +k2p12l +kra2 +k2rab +k2ral +k2ram +k2r1an +k2rar +k2r1as +k2rat +k2r12 +2k1rdeke +kr1dr +2k12retts +k2ro +k2r +2krtelm +2krtkb +2k1rtke +2k1rtkh +2k1rtkn +2k1rtkr +2k1rts +krt2ik +k2r1u2 +k2r1 +kr2 +kr1l +2k1rvek +2k1rz +ksa2 +k2san +k2s12 +k2s12g +k2s1o +k2s +ks3sza +ks3szer +ks3szl +k2su +k2st +k2sza2 +ksz1al +k2sz12 +k2szeg +ksze2l +k2szeml +k2szesz +k2szd +k2sz1kn +k2szin +k2szir +k2szo +k2sz12 +k2sz +k2szr +kszt2 +k2szu +k2sz1 +kt1akar +k2takn +k2t1ak +kt1ala +kt1asp +k2tl +k2t1ed +k2t1eg +k2tel. +k2teln +k2t1e2m +k2t1ep +2k2te2r +kt1ere +kt1erk +kt1er +k2tes +k2t1est +k2t1esz +k2t1e2v +k2t12 +k2t1i2 +k2t +k2tol +k2t1or +kt2 +k2t1r +k2t1 +k2tud +k2t12 +2ktv +2k1v. +2k1vad +2k1vb +2kvei +2k12vem +2k12ven +2kvet +2k1vf +2k1vh +2k12vi. +k2vig +2k1vin +2k1vk +2k1vn +2k1vr +2k1vs +2k1vt +2k12v +2k1vv +k2z1a +k2z12 +k2zeg +kz1elt +kze2m +kz1eme +k2z1e2r +k2z1ism +k2z +k2z1o +k2z +kzs2 +k2z3s +kz3st +k2zsu +k2z1u2 +kfe2l1em +kfil2mr +kfi2sar +kf2jo +kf2la +kf2le +kf2li +kf2lo +kf2l +kfolyi2k +kfo2n12 +kf2ra +kf2r +kf2re +kf2ri +kf2r +kf2ro +kf2r +kf2ru +kg2la +kg2n +kg2ra +k1g2rf. +kg2ri +kg2r +kg2ru +kh2t1al +khelykz1 +1k2hia +khi2b +k2hil +kh2me +1ki +kia2d +ki2a +ki2af +kia2g +kia2j +kia2kar +kia2kas +kia2lap +kia2l +kia2n +kia2p +kia2ra +kia2sz +ki2a +kia2v +ki2z +ki1b2l +ki1b2r +2k1i2de +2k1i2deg +2kidej +2k1i2dt +2kidz +2kidi +ki2dio +2kidb +2kidk +2kidm +2k1i2dn +2kidt +ki1dr +kie2l +kie2m +kie2r +ki2eset. +kie2t +ki2ew +ki2d +ki2k +2k1ifj +ki1f2r +2kiga +ki2ga. +2kig +ki2gt +2kige +ki2gn +ki2gz +ki1g2r +ki1k2l +ki2konn +ki2kono +ki1k2r +ki1k2ri +ki1k2v +2k1ille +2kily +ki2lye +2k1i2ma. +2k1i2mai +ki2mak +ki2mb +2kimd +ki2mi +ki2mj +ki2mk +2k1i2mm +ki2mn +2kimr +ki2mt +ki2mv +ki2mit +2k1imp +2k1i2na. +2k1i2nai +2k1i2nb +2k1i2nr +kin2csa +kin2cs +kin2csel +kin2cso +2kind +2k1inf +kin2gas +2k1inj +2k1integ +kio2l +kio2m +2k1i2onn +2k1i2ono +2kiont. +ki3h +2k1i2n. +2kipar +ki1pf +ki1p2la +ki1ple +ki1p2r +2k1ips +2k1i2rat +2kirnn +2kirny +2kirg +2k1irh +2k1irk +2k1i2rod +2kirom +2k1irr +2k1irt +ki2sad +ki2s1ajt +ki2s1akn +ki2sal +ki2sap +ki2sas +ki2sl +ki2s1e2c +ki2s1el +ki2s1emb +ki2s1es +ki2s12k +ki2si. +ki2s1in +kis1ipa +ki2s1i2ra +ki2s1isk +ki1skl +2kism +ki1smr +ki1s2min +kis2ny +kis1oko +ki2s1oros +ki2sr +ki2s +kisp2 +kis1pl +ki1s2por +ki1s2p +kis3sz +kist2 +ki1s2tar +ki1steri +ki1st +ki1stop +ki1str +ki1stu +ki1t2r +kit2t1er +kit2t1 +kiu2s +kiu2t +ki2s +ki2t +kivz1 +2k1i2v +1k +2k12g +k1gy. +k2ja +k2nal +k2n1rb +k2n1e +k2nl +k2n12 +k2r +2k12re +2k12r +2ktm +kta2 +kte2 +2k1v. +2k1vb +2k12ve +2k12v +2k12v +k2z +k2z +k2z +kk1abl +k2k1a2da +kk1ajt +k2k1a2kad +k2k1akk +k2kal +k2k1alj +k2k1alm +kka2r2ra +k2k1a2u +k2k1azo +k2k1ll +kk1rf +kk2rok +k2k12ru +kk2s +k2k1s +k2k1th +k2k1tl +kk1tu +k2k1tv +kk12z +kk1br +kke2c +kk1ecse +kk1e2dz +kk1e2g +kke2l1e2g +k2k1e2lem +k2k1ell +kke2l +kk1emu +kke2ra +kk1erd +kke2r +k2k1e2r +kk1e2ti +kk1e2v +k2k1g +k2k12l +k2k1p +k2k1rt +k2k1rz +kk1fr +kk1gr +kki2 +kk1i2do +kkie2 +kk1i2ga +k2k1ig +k2kill +kk1ind +k2k1ing +k2k1ink +k2k1int +kk1i2par +k2k1i2ro +kk1isko +kk1ism +k2k12r +k2k1z +k1k2l +kk2l. +k1k2lu +kko2laj +kk1oll +k2k1o2pe +kkor2d +k2k1org +kko2r1os +kko2r1t +k2k1orz +k2k1oszl +kk1p2 +kk12r +kk2l +kk1l +k2k1nt +kk1tl +kk12ri +kk12r +kk1rs +kk1r +kk1pr +kk2ris +kk2rit +kk2r +kk1sm +kk1sp +kk1st +kk1t2r +kk1udv +kk1urt +k2k1ut +k2k1j +k2k1g +kk12l +k2k12t +k2k12v +kk1zl +kk1r +kk2v +kla1g +kla3ko +kla1kri +kla2p1ta +kla1pla +kla1s2k +kla2uz +klma2 +kl2mal +kl2m1an +kl2mas +kl2m12 +klmr1a2d +kl2m1e2g +kl2m1eh +kl2mel +kl2mer +kl2m1r. +kl2m1rt +kl2m1i2k +kl2min +kl2mis +kl2mol +kle2 +kle2t1a2n +kle2tl +kle2t1elv +kle2t1e2r +kle2t1e2v +kle2t1r. +kle2t1tbe +kle2t12t +kle2t12ve. +kle2tin +k2lini +kli2 +kli2pel +k2lis +kli2s +1k2lm +k2lo +k2lopf +k2loty +kl2rad +kl2raj +kl2ran +kl2rat +kl2ris +kl2rol +k2lub +klu2b1a +klu2b +klu2b1e +klu2bir +klu2bol +klu2se +klus3s +klu2s3z +kma1b +kmai2ko +kmas2 +km2nyan +knag2 +knak2 +kna1kr +kni2a2 +knika2 +kni2k1al +kni2k1as +kni1sz2 +knc1c +kn23r +1ko +ko2z +ko2be +2k1obs +ko2cho +2k1o2dav +2k1o2d +kogs1s +ko1g2ra +ko2kd +2koke2 +ko2k1er +2k1o2k1ir +2k1o2k +2k1okl +2k1okm +2k1o2kol +2k1o2koz +kok2sze +2k1okta +kol1ajt +kol1ro +2k1oldal +2k1old +2k1old +ko2lid +ko2l1ig +ko2limp +ko2l1i2na. +ko2lita +kol2l1ad +kol2ll +kol2lel +kol2les +kol2l1t +ko2l +2k1oltr +2kolvas +2k1ombu +ko2mil +kom2p1r. +kom2p1ol +ko2n1a2d +ko2naj +ko2n1a2l +ko2n1a2n +ko2n1ar +ko2n1as +ko2n1au +ko2n1l +2konb +2konbet +konc1c +konc2 +kon2ch +kon2cs +kon2c3sor. +kon2c3soro +ko2n1e +2konn +ko2n1r. +2kongu +2konhab +ko2nir +2konog +ko2n1ol +2konola +ko2nor +2konosn +2konosr +2konost +2konpa +2konpr +2konrt +2kont +ko2n +ko2nyag +ko2nyal +ko2nye +ko2ny +konz2 +2konzs +ko2n +kop2s +2kopc +ko1pro +2kopti +ko2r1a2d +ko2rag +ko2r1aj +ko2r1a2n +kor1ass +ko2r1aszt +ko2r1tl +2k1orch +kor2csal +kor2dad +kor2d1ag +kor2d1a2s +kor2dc +kord1d +kor2d1e2l +kor2dem +kor2des +k1ordt +kor2d1 +kor2d3z +ko2r1e2c +ko2reg +ko2r1el +ko2r1er +ko2r1es +kor1f2 +korgs1s +2korie +kor1ill +ko2r1ing +ko2r1inte +kor1isk +ko2r1i2zom +ko2rosz +ko2r1o2v +ko2r1i +ko2rn +ko2r +ko2r +2k1orr. +2korrk +2k1orrt +kor1s2 +kor1t2r +ko2r1to +ko2r +ko2s1as +ko2sl +ko2se +kos3sze +kos3szo +kos3sz +2k1ostr +ko2s +ko2szal +ko2szer +ko2szir +ko2sz +k2oszo +ko2sz +2koszt +kotksz1 +kot1st +ko2ut +ko2vi +ko2xi +koza2tal +kozksz1 +kozkz1 +2koz +1k +ka2d +k1bl +kc3c +k2cem +k2ch +k2d1ab +k2dak +k2d1a2l +k2d1a2n +k2daz +kd1d +k2d1e2l +k2dem +k2d1e2r +k2d1es +k2d1s +k2din +k2d +k2d +k2dz +k2r +k1f2r +ki2g +k2v +k1kr +k1kv +2k12n. +k2nt +2k12ni. +2k12no +k2pan +k2p1as +k2p1e2l +k2pir +kp2 +k2p1r +k2p +2k12raa +k2r1a2c +2k12rai +k2r1a2n +k2ras +k2rb +k2rd +k2rg +k2ri +k12rj +k2rm +k2rn +k2rr +k2rt +k2rv +k2rel +kre2s +k2rj +k2r1ve +k2r1ir +k2r1ok +kro2ka +kro2ko +kr1osto +2krd +k2r1d +k2r +2k12sg +k1sl +k2s1os +k1s2pe +k1spi +k1s2po +k1str +k2s12 +k2s3zra +2k12v +k2z1a2m +1k +k2ba +kb1ll +kb1ln +kb1lr +kb1lt +k2da +k2d +k2del +k2der +k2dev +k2do +k2d +k2du +k2d +k2dz +2k12ko +2k1kr +kl2csal +kl2cs +kl2csel +kl2cs12 +2k1lel +kles3s +2k12lssz +k2l +k2le +klta2 +kl2tal +kl2t1e2v +2k1ng +k1nt +k1nt +k1ntv +kny2v1a +kny2v +k2ra +k2r +k1rd +k2red +k2r1e2g +k2rk +k2r1tt +kr1f2 +k2rik +k2r1iz +k2ro +k2r +k2r12l +k2r12 +kr1p2 +kr1s2 +krt2 +kr1tr +k2ru +k2r +kr2l1et +kr2l +k2r1ls +kr2l +k2r1l. +2krv. +2krvb +2krvh +2krvn +2k1rv +2krvr +2krvt +2krv +2krv +2krvv +k1szt +2ktl +k1tv +2k1v. +2k1vb +2k1vh +2k12vig +2k1vr +2k1vv +k2za +k2z +k2zen +k2z12k +k2z1 +k2zo +k2z +kze2 +k2z3s +k2zu +k2z +k2z12l +k2z12l +1k +ka2n +k1bl +k2ch +k1dra +ke2k +ke2l +ke2r +k2l +k2ne +k1f2r +k1gn +k1gr +ki2t +k1kr +k1pl +k1pr +kr1an +k12rei +kre2s +kr1esz +k12ri. +k2ril +k2rip +k2riv +k1rl +kr1s2 +k2rl +2k1rz +k1s2k +k2s +k1s2t +k1tr +ku2t +kpra2 +kp2rad +kp2r1at +kp2r1l +kp2r1t +kp2la +kp2le +kp2l +kp2lu +kp2t +kp2ra +kp2re +kp2r +kp2ri +kp2r +kp2ro +kp2r +kp2sz +k2rach +kra2chi +1k2rajc +k2rakk +kra1p +kr2sz1e +kren2d12 +k2reo +k2rep +1k2rmh +1k2rml +1k2rmr +kr3p2 +1k2rist +1k2riti +kro1g2 +1krokett. +1krokod +kro2n1a2 +kro2n +kron1d2 +kro2n1e +kro1p2 +kro1str +kro1sz2f +kr2mar +kr2m1e +kr2mis +k2rmo +1k2rnik +k2rup +k2s1a2r +ks1elo +ks2gele +ks2gis +ksg2l +ks2g1l +k1s2k +ks2ko +k1s2la +ks2l +ks2lu +ks2mi +k1s2ni +ks2pa +ks2pe +ks2pi +ks2po +ks2p +ksp2r +ks2r +k1s2ta +k1s2t +ks2ti +k1s2t +ks2to +k1st2r +k1s2tu +k1s2t +k2sz1a2d +kszae2 +k2szagy +k2sz1aj +ksza2ke +ksza2k +ksza2k1 +k2sz1am +ksz1any +ksz1ar +k2sz1g +kszraz1 +k2sz1e2gy +k2sz1ela +k2szemu +k2sz1eng +k2szev +ksz1let +ksz2t1 +k2sz1id +kszil2 +kszi2p +ksz1ipa +ksz1isk +k2szr +k2sz1old +k2szolt +k2sz1osz +ksz2g1ell +ksz2g1elv +kszt2 +k2szuni +k2szut +k2sz1g +k2szt +k2sz12z +ksz1z +kt1a2da +kt1aj +kt1a2lap +k2t1alb +k2t1all +kta2n12s +kta2n12 +kta1p2 +k2t1arm +kt1a2ud +kt1azo +kt1br +kt2lal +kt1ll +k2t1lm +ktra2d +kt2r1ada +ktr1ad +kt2raj +kt2r1az +k2t1tf +k2t1tv +k2t1e2g +k2t1elg +k2t1elh +kt1elj +k2t1ell +k2t1els +k2t1elv +k2t1enz +kte2rad +kte2ral +kte2rr +kte2rt +kte2reg +kte2r1e2l +kte2r1in +kte2rosz +k2t1esem +kt2l +k2t1rl +k2trmi +k2t1rte +k2t1ss +k2t12vet +kt1fr +kt1gr +k2t1id +kti2g +k2t1ig +kt1ill +kti2m +kt1ima +k2t1ind +k2t1inf +k2t1i2r +k2t1isk +k2t1ism +k2t1i2vs +k2t1g +k2t12r +ktv1e2l +kto1g2ra +kto2n1 +kt1ope +kto2ras +kto2r1e +kto2rol +k2t1s +k2t1t +kt1pr +k1t2ran +k1trau +k1trf +k1t2rn +k1t2ri +ktro2n +k1t2rn +kt1sp +kt1st +kt1sz +kt1t2r +ktu2m1e +ktu2min +ktu2sab +ktu2s1an +ktu2szr +ktu2sze +ktu2sz +kt2l +k2t1l +k2t1t +k2t12v +1ku +ku2r +2k1ucc +kue2l +kue2r +kue2s +ku1f2r +2k1u2go +2k1ugr +ku2gya +2k1ujj. +2kujja. +2kujjad +kuj2j1a2da +2kujjai +2kujjak +2k1ujjal +2kujjam +2kujjas +2kujjat +2k1ujj +2kujjb +2kujjg +2kujjh +2kujji +2kujjk +2kujjn +2k1ujjo +2kujjp +2kujjr +2kujjs +2kujjt +2kujju +2kujj +kuk2k12 +kula1k +kul2csal +kul2cse +kulus1s +ku2m1a2d +ku2mal +ku2m +ku2nad +ku2nal +ku2n1s +ku2ne +ku2n1in +kun3n +ku2nor +ku2n12 +ku2n +2k1up. +2kupr +2kupu +ku2rad +2k1u2rai +ku2rak +2kural +ku2ram +ku2ru +2k1urn +ku2rol +kuru2c3s +ku2sal +ku2sas +ku2sl +ku2s1e2 +ku2sis +ku2s1i2z +ku2s12 +ku2s +kus3sze +ku2s1 +ku2s +ku2szal +ku2szar +kusz1es +ku2sz12l +ku2sz12p +ku2szt +ku2sz1il +ku2szis +ku2sz +2kutal +2k1u2tas +2k1u2taz +ku2tl +2k1u2tn +2k1utc +2k1u2tol +2k1u2td +ku2tp +ku2zs +1k +k2j +2k1js +k2p1a2 +k2p1 +k2p1e +k2t1a2 +k2t12 +k2t1e +ktf2 +ktfl1 +k2tos +k2t1 +2k2tu +k2t12 +1k +k2ge +k2gy +2k12lep +k2lo +kl2t1 +2kreg +2k12r +k2r +2k1st +k2sz +k2sz +2k1tk +kvs3s +2k12v +2k12ze +1k +2k1rh +2k1rm +k2ro +k2r1s +k2z +k2z +1k2van +k2varc +1k2vark +kv2nyol +kvrosi2 +kv2sel +kv2so +kvs3s +1k2vin +1k2vitt +k2vc +k2vta +k2vt +kvcsa2 +1ky +kyd2n +ky2fajtn +ky2fajtr +ky2fajtt +ky1i2s +ky1i2v +kyk2k +kyk2ne +ky2se +ky2s12 +ky1z +kza2tal +kza2t1e2 +kza2t12 +2l. +1la +laa2d +lat1 +lata2 +2labr +3labd +2labr +2l1abs +la2c1ag +la2c1aj +la2c1al +la2cem +la2c1ete +la2c3ha +la2ch +lac1ita +lac2k1orr +lac1orr +la2c12 +la2c +la2csalj +lac3sg +la2c3sor +lac3sl +lac3st +lac3sz +la2c +la2c +2l1a2data +2l1a2datb +2l1a2datk +2l1a2datn +2l1a2dato +2l1a2datr +2l1a2datt +2l1a2datu +lads1s +2l1adl +2l1a2dog +2ladom +3l2a3don +ladi2ko +2l1a2duk +la1dy2 +lae2d +lae2l +lae2r +la2d +la2r +2laff +la1fl +la2gac +lag1a2d +la2g1a2n +lag1ass +la2g1a2t +la2gau +la2gav +la2gg +lag1ll +lag1r. +lag1r +lag1rb +lag1re +lag12r +lag1rf +lag1rh +lag1rk +lag1rm +lag1rn +lag12ro +lag1rr +lag1rs +lag1rt +la2g1ere +la2gs +la2gid +la2g1i2k +la2gim +la2gis +la2g +la2g1ont +la2g1osz +la2gc +la2g12r +la2gv +la2gn +la2g1ud +la2g1ur +la2g1ut +la2g1 +la2g +la2gy +la2ire +la2jag +la2j1a2l +la2jap +la2j1ar +laj1ass +laj1a2sz +la2j1az +la2j1l +2lajnl +la2j1r. +la2j1rh +la2j1rn +la2j1rs +la2j1rt +la2js +la2j1th +la2j1ts +la2j1elt +la2jen +la2j1es +laji2 +la2jin +la2j1is +la2j +la2j1ol +la2j1oml +la2j1or +2lajoz +la2j1r +la2j1s +la2j +l2ajs +laj1sz +la2j1u2t +la2j12 +la2kad +lak1alj +la2k1alm +la2k1a2lo +laka2t1a2n +la2k1c +la2k1lk +lak1ll +la2k1rn +lak1ss +2lakci +la2k1eg +la2k1e2l +la2k1r. +la2krte +la2k1iko +la2k1r +lak2k1as +lak2kec +lak2kel +lak2kol +2l1akkor +lak2kl +la1klu +2laknb +2laknh +2lakns +la2kob +la2k1op +la2k1orm +la2k1osz +la2k1ov +2lakz +la2k1s +la1k2rm +lak2rip +la1k2ru +lakt2 +2l1akt. +2l1aktiv +la2kuj +2lakul +2lakulg +2lakulh +2lakulj +2lakuln +2lakulo +2lakul +2lakuls +2lakulu +2lakulv +2laks +la2k12to +2lakv +2lakza +la2la2g1 +la2laku +2lal +lals1s +2l1alb +2l1alc +2l1alf +2laljn +2l1alka +2l1alkot +2l1alku +2l1alle +lal2tr +lal2te +2l1alti. +2laltonk +lal2t12 +lal2t12 +2laltv +2l1alvi +lam1ada +la2m1aka +la2m1any +la2m1a2p +la2m1ar +la2m1a2z +lame2g +la2m1egy +la2m1ele +lam1emb +la2m1esz +la2mk +lam1le +la2mne +la2m1rv +la2minv +la2m1ism +la2m1ist +la2m12 +2l1amm +la2m1ol +lam1org +la2m1osz +la2m12r +la2m +la2m1ur +la2m1 +la2n1a2d +lana2g +la2n1aj +la2nal +lan1ala +la2nam +la2nar +la2n1ll +la2n1r. +la2n12rai +la2n12rak +la2n12r +la2n1rr +la2n1rv +lans1s +lan2csel +lan2csem +lan2csi +lan2csol +lan2d1l +lan2d1el +lan2d1r. +lan2diz +la2ner +la2nes +la2n1p +lan2g1as +lan2gen +lang3g +2l1angin +la2nil +la2nip +la2nis +2l1ankt +lan1kr +la2n1osz +lans2 +lan2tag +2lantc +la2n +la2nyag +lany1a2la +la2nyau +2lanyi +la2ny1l +2lanyn +la2nys +2lanyv +la2ny1e2lem +lany1e2r +la2ny12r +la2ny1ol +la2ny +la2ny +la2r +2l1a2pa. +lap1akk +lap1akt +lap1a2la +lap1alk +la2p1atm +la2p1att +la2p1a2u +la2paz +la2pb +la2p12g +la2pk +la2pn +lap12r +lap1rh +la2p1rr +la2pe2l +lap1ele +la2pem +la2p1en +la2p1es +la2pik +lap1illa +lap1ille +la2p1im +la2p1i2na. +la2p1ing +la2p1int +la2p1i2p +la2p1i2s +la2p1ita +la2p1iz +lap2lat +la2p1o2ku +lap1org +lap1orn +lap1orz +lapos1s +la2p. +la2pb +la2pn +la2pr +la2p +la2p +2lappar +2lapr +lap1s2 +2lapn +2lapv +la2p +la2ra. +la2ran +2l1arc +larc3c +2l1a2rn +lar2m1e +lar2min +2l1art +2l1arz +la1s2pa +la1s2pi +la1stra +la2sz1abl +lasz1alt. +la2szas +2l1a2szat +la2szs +la2sz1n +la2szd +lasz3s +lasz2t1alj +l1asztam +la2sz1t +la2t1a2d +la2t1aj +lat1alak +la2t1alk +la2t1alt +lat1ar +la2t1a2ro +lat1arti +lat1aszt +lat1att +la2tau +la2taz +la2t1j +lat1ll +la2t1rad +la2t12rai +la2t12rak +la2t12ram +la2t12rat +la2t12rb +la2t12rh +la2t12rn +la2t12r +la2t1rh +la2t1rn +la2t12rok +la2t1rr +lat1rt +la2t1rt +la2t12r +la2t1rv +lat1sz +la2t1ta +latdi2al +la2t1e2g +la2telem +la2t1ell +la2tep +la2t1erk +late2s +la2t1ess +la2tesze +la2t1eti +la2t1eto +la2t1e2v +la2t1ke +lat12k +lat1kk +la2t12r +la2t12r +la2trte +la2t1rv +lat1ss +la2t1i2ko +lat1ikra +lat1inte +la2t1inv +la2t1ist +la2t1iz +la2t1r +lat1v +lat1k2 +la2toj +la2t1okm +lat1olda +la2toll +lat1oml +la2t1osz +la2t1otth +la2t1r +la2t1ri +la2t1vi +la2t12v +la2t1r +2l1attako +latta2n12 +2lattv +la2tut +la2tl +lat1ze +lat2z +la2t1z +la2ty +la2ub +la2uk +la2us +la2uto +la2z +la2vat +2l1a2vu +la1y +la1yig +2layr +lazac1c +laza2c3s +lazma1 +2lazm +2l1a2zon +1l +l2bar +lbas1s +l2bl +l2b1e2l +l2b1ina +l2b1i2z +lb1org +lb1orr +l2b +l2b +2lbr +l2b1u2s +l2b +lcs2 +l2cst +l2cs1il +l2csip +l2cs +lda1s +l2d1az +l2d1e2r +l2det +l2dim +l2d1or +l2d1ott +l2d1 +l2dl +l2dz +l2gab +l2gac +lg1a2da +l2g1a2g +l2g1al +l2gan +l2gas +lg1ass +lga2t +l2g1atl +l2g1ato +l2g1att +l2gl +lg1ll +l2gm +l2g12rak +l2g12ro +l2g12to +l2gp +l2gid +l2gig +l2gim +l2g1ott +l2g12 +l2g +lg1s +l2g +l2g +2lgy +2lgyo +l2has +2lhe +l2r +l2lad +l2l1aka +l2l1al +lla2n +l2l1any +l2l1ar +l2lau +l2l1g +l2l12l +lls1s +l2l1tj +2llds +2lldoz +l2lel +l2l1est +l2l1e2v +l2ll +l2lim +l2l1is +l2l +2l1llam +2l1llat +2l1lls +2l1llk +2l1llom +2l1llv +2llmaim +2llmok. +2llmom +2l1lmos +2llmuk +2llmunkb +2llokaih +2llokain +2llokair +2llokn +2llokt +2lloku +l2l1o2ko +2llokonk +2lloku +ll1r +ll2 +l2l1v +2l1lut +l2l1t +l2l +l2l +l2m1a2d +l2m1aj +lm1ass +l2m1au +l2m1l +l2m12z +lm1b2 +lm1ell +lm1er +l2mes +l2mk +l2m1rv +l2m1int +lm1ist +l2m +l2m1or +l2m +l2m +l2m +l2m1t. +l2m +l2m +lna2 +l2n1ag +l2nal +l2n1an +l2nar +l2n1as +ln2 +l2nr +lnc3c +ln2cel +ln2c1g +ln2cs +l2nem +l2n1er +l2np +ln2g1at +ln2gl +ln2g1e +l2nil +l2n1is +ln2k1e2l +ln2k12ra +ln2k12v +l3nok +l2nol +ln1sp +ln1sz +lnt2 +ln1tr +l2n +l2nyaj +l2nyala +l2nyam +lnya2n +l2nyar +l2ny1as +l2nyav +l2nyel +l2ny1r. +l2ny +l2ny +l2pt +lpi2 +2l12pol +l2rad +2l12rai +l2raka +l12rakb +l12rakk +l12rakr +l2r1a2l +2l12ram +2l12rat +l2r1av +l12raz +2lren +l2res +l1rkot +2l1rnya +lr1s2 +lrt2 +lr1tr +2lru. +l2rug +2l12ruh +2l12ruk +2l12rul +2lrus +2l1rut +2lruv +l2ra +l2r +l2s1a2d +l2s1aj +l2sal +l2s1a2r +l2saz +l2s12g +l2s12rai +l2s1rak +l2s12r +l2s1rb +l2s12r +l2s1rh +l2s1rr +l2s1rt +2l12ss +l2s12to +l2se +lsegyez1 +l2sr +l2sott +ls1otth +ls2 +2l12s. +ls1r +l2s +ls3sz +l2sut +l2s +l2szas +ls3zav +2lszed +l2szeg +l2sz1e2m +l2szen +l2szip +lszksz1 +lsz2 +l2szl +l2szv +lsz3s +l2sz +l2taj +l2t1e2re +lt2tel +2l1the +l2t1i2o +2l12t +2ltk +l2t1osz +l1t2r +l1tri +2l1tte +2l1tt +2l1tt +l1ts +2l1tv +l1tvi +2lvi +l2viz +2l12v +2lvu +l2z1adot +l2z1al +l2z1rh +lz2rus +3lzb +l2z1el +l2z1i2s +lzo2 +l2z1olt +l2zsal +l2zsan +l2zs +lz3sz +l2b1is +lb2li +lb2lo +lb2l +lb2ra +lb2re +lb2ri +lb2ro +lb2r +lb2ru +lc1ajt +lc1alk +lc1an. +l2c1a2to +l2c1g +l2c1l +lc3csi +lc3cso +lc3cs +l2c1e2le +lc1elr +l2c1emb +lc1emel +lc1esz +l2c1e2v +lce2z +l2c1eze +l2c1p +lc1vi +lc1fr +lc3ha +lc3h +lc3ho +lc3hu +lc3h +lc3h +l2c1i2d +lci2tr +lc1v +lc1k2r +l1c2lu +l2c1ost +l2c1osz +lc12r +lc1k +lc1s +lc1pr +l2cs1a2d +l2csakt +lcs1alap +l2cs1a2n +lcsa2p12g +lcs1apr +lcsa2r +lcs1ara +lcs1aro +l2cs1a2s +l2csaz +lcs1g +l2cs1l +l2cs12t1a2 +l2cst +l2cs1th +l2cs1tj +l2cstv +l2csec +l2cs1e2g +l2c3sej +lcs1elf +l2cs1elt +l2cs1elv +lcs1emb +lcs1eml +l2cserd +lcse2r1e2l +lcs1er +lcs1ese +lcse2t +l2cs1ete +l2csl +l2cs12rs +l2csrle +l2csrte +l2cs1rt +lcs1rve +l2cs1rv +lcs2sz1k +l2cs12te +l2cs1tk +l2cs12vt +l2csid +l2csimi +l2cs1inf +l2cs1ing +l2cs1int +l2cs1i2pa +l2cs1irt +l2cs1isk +l2cs1ism +l2csita +l2cs12z +lcs1k2 +l2cs1okm +lcs1ors +l2cs12l +lcs12s +lcs1s +lc3str +lc3sug +lcs1lt +lc3szo +lc3sz +lc1tr +l2c1uj +lc1l +lc1t +lc3z +lc3zo +ld1abl +ld1abr +l2d1a2c +ld1a2dato +l2d1a2d +ldai2 +lda2lag +lda2laj +lda2l1e2g +lda2lel +lda2les +lda2l12l +lda2liz +lda2l12 +lda2los +ldalt2 +l2d1ant +lda2nya +lda2ny +ld1ap +l2d1aran +l2d1arc +l2d1ark +lda2t1as +lda2t1eg +lda2t1in +lda2ts +ld1g +ld1ll +ld1lm +ld1rn +lds3s +ld1br +ld1egy +l2d1e2kk +l2d1e2kn +l2d1e2kt +l2d1e2l1a +l2d1e2leme +l2d1e2lemi +l2d1e2lemn +l2d1elr +l2d1elk +l2d1ell +l2d1elo +l2d1e2lh +l2d1e2lvez +l2d1els +l2d1elt +l2d1elv +l2d1ember +l2d1e2mel +l2d1eml +lde1p2 +ld1epe +l2d1er +ld1e2v +l2d1ex +l2d12g +l2d12jr +ld1lm +l2d1p +l2d1rc +l2d1r +l2d12ri +l2d1rte +l2d1rz +l2d1sz +ld2ves +ld1fl +ld1fr +ld1gl +ld1gr +l2d1i2ga +l2d1ig +l2d1ill +l2d1imi +ld1ind +l2d1int +ldi2p +ld1ipa +l2d1isza +l2d1n +l2d1r +l2d1z +ld1kr +ld1kv +ldo2g1as +l2d1ola +l2d1old +l2d1olt +ld1oml +ld1orc +ld1org +l2d1osz +l2d12r +l2d1ri +l2d1b +ld1kle +l2d1rk +l2d1v +ld1ri +ld1sk +ld1pl +ld1pr +ld2rt +ld1sp +ld1st +ld1udv +ldu2r +ld1ura +ldus3s +l2d1u2t +l2d1j +l2d1r +l2d12t +l2d1g +l2d1le +l2d1r +l2d1z +l2d1r +ld3z +ld3z +ld3zu +1le +lea2b +lea2d +lea2g +lea2k +lea2l +lea2n +lea2p +le2ar +lea2sz +lea2v +le2j +le2s +le2z +2l1e2bd +le2bin +le1bla +le1bra +leb2rek +leb2s +2lecc +2l1e2cet +2l1ecset +l1eddi +le1d2res +le1dro +lee2s +le2r +lefona2 +lefo2nal +le1fr +2l1eft +le2gala +lega2r +le2g1a2s +le2g1ll +le3g2to +le3g2z +le3geb +le2g1e2g +le3g2elem. +leg1ell +le3g2ela +le3g2elj +le3g2elk +le3g2elt +le3gelze +le3g2elve. +le3g2elv +le2gene +le3g2erj +le3ges. +le3geseb +le3gesek +le3gesen. +le3g2esn +le3gesr +le3gest +le2g1e2sz +leg2d +leg2l +le3gn +legg2 +le2gid +le2g1is +legmeg1 +le3g2on +le2gv +le3gng +le2g1s +legpec1 +legvz1 +legy2 +2legyb +2legyed +l1e2gyel +legy1e2lr +l1e2gyenge +l1e2gyk +le3gyi +2legy +2l1egyl +le3gyo +2legys +l1egys +le3gy +le3gy +2l1egyv +le2ic +lei2g +lei2r +lei2s +lej2ta +lej2t1 +le2kad +le2k1a2pu. +le2k1l +lek2p +le2k1r. +le2k1ra +le2k1rb +2l1e2ke. +le2k1eg +lek1els +lek1emb +lek1eme +lek1erj +lek1e2r +le2k1rt +2l1e2ks. +le2k1id +le2kij +le2k1ik +lek1ist +le2kiz +lekksz1 +le1kli +lek1olt +le2k1orz +le2k12r +le2k12 +2lektro +2lektr +le2k1t +le2kd +2l1elad +l1eldo +2l1e2lekt +lele2ma +2lelemei +2le2lemek +2l1e2lemes +2lelemz +lele2t1a2 +lele2tel +lele2to +2lelg +2l1e2l1r +lels1s +lel2s3z +2l1elgo +2l1elha +2l1elh +2l1elhel +l1elho +le2lim +lel1ing +le2l1iz +2l1elj +2l1ell +2l1ell +2l1ell +2l1elmj +2l1elms +2l1elnev +2l1eln +2l1elny +2l1e2los +2l1e2l12l +2l1e2ll +2l1e2lfo +le2l +le2lsz +l1elso +l1els +2l1elsz +2l1elta +l1eltv +2l1eltr +2l1elto +l1elt +2l1elv. +2l1elv +2l1elvt +2l1elvh +l1elvn +2l1elvs +2l1elz +2l1e2mel. +2l1e2meld +l1emeled +l1emelek +2le2mel +l1emels +2l1e2melg +le2melh +l1emelhe +2l1e2meli +2l1e2melj +l1emellek +2l1e2meln +le2mel +2l1emel. +2lemels +le2mels +le2melt +l1emelt. +l1emelt +l1emelt +2l1e2mel +le2melv +l1emelve +lem1erk +le2m1essz +lem1eszt +le2m1e2ti +le2m1k +le2m1le +lem1lte +le2m1lv +lem1rde +2l1e2mss +le2m1ill +le2mind +le2m1ing +le2m1isz +le2mita +le2m1itt +l1emlege +le2mok +le2mol +le2m1org +le2m1osz +le2m12r +le2ml +le2m12 +lem1p2 +lem1u2r +le2n1a2d +le2nal +le2n1l +le2nt +lenc1c +len2cel +len2ceme +l2end +le2n1e2g +le2n1e2l +le2ner +lene2tel +len2k +le2n1ke +le2n1kk +le2n1kt +len2l +len1l +lens3s +le2n1sz +le2n1v. +len2g1e2l +le2nid +le2n1ip +le2n1o2k +le2nol +le2n1or +le2n1v +len1r +len1s2p +len1sta +len1tra +len1t2ren +lenu2 +le2n1ur +le2n1ut +le2n1g +le2n1t +2l1enyv +le2oa +le2oc +leo2k +le2oli +leo2m +le2oz +le2c +le2r +le2p1aj +lepa2p +lep1apa +lep1lla +le2p1eg +lepe2le +le2pk +le2pl +lep1ill +lep1iz +le1p2lo +le2p1osz +le2p12d +lep2p1elv +le1p2rse +le1p2ri +le1pro +le1pr +le2p12lh +2lerd +2leredm +le2rej +le2r1k +ler1te +le2r1il +le2rir +2lerz +2l1e2r +le2s1al +le2s1l +l1esd +2lesege +le2s1e2kh +2l1esem +l1e2setb +2l1e2setei +lese2tel +2l1e2set +l1e2seth +l1e2seti +l1e2setk +l1e2setn +lese2t1o2 +l1e2setr +le2ss +le1s2ka +le1ski +2lesk +le1sla +le1s2li +le1sma +le1s2mi +le1s2p2 +les3sza +les3sz +le1s2tar +le1stemp +2l1esten +l1estbe +2lesti. +le1s2til +2l1estj +les2t1or +2lestr +l1estt +2l1eszk +le1szto +le2t1ab +le2tac +let1a2la +let1all +le2t1am +le2t1ana +let1apr +le2t1e2kb +le2t1e2la +le2t1elb +let1eleg +le2t1elf +let1elk +let1ela +le2t1e2lk +let1elr +let1emel +le2t1eml +le2tene +le2t1ent +let1ered +le2t1er +le2t1erk +le2test +let1eszk +2l1e2tet +2l1e2teth +2l1e2tetj +2l1e2tetv +le2t1d +le2t12j +let2l +let1le +let1l +let1lv +le2t12nekn +le2t1rb +le2t12ren +le2t12ri +le2t1rr +le2t1rt +let12rl +let2sz +let1ter +let12t. +let2vede +let1ves +le2t12vb +le2t1vi +le2t12vr +le2t12vt +le2t12vv +le2tid +let1ikr +let1ill +le2tim +le2t1ing +le2t1ist +leti2sz +let1iszo +le2tiv +le2tod +le2t1o2k +le2t1on +let1ora +le2t1ox +le2t12r +le2t12v +lete3d +le2t1ri +le1traf +let2teg +let2l +le2t1l +let1z +2lety +leu2g +le2uk +leu2r +leu2t +2levene +2leven +2leven +l1e2vez. +l1e2vezg +l1e2vezh +l1e2vezn +l1e2vezt +le2vez +l1e2vezv +levl1l +le2vol +le2x +le2x1el +le2x1e2p +lexksz1 +le2x +le1y +le2zer +leza2 +leze2r +lez2n +lez1s2p +2l1ezr +1l +2l1br +l2ca +l2c +lc3c +l2c1k +l2c3h +lci2 +l2cim +l2co +lcs2 +lc3sk +l2d1as +l2d1el +l2d1emb +l2dl +l2d1s +l2dil +l2dos +l2dot +l2d +l2d12 +le2r +l2r +l1f2r +l2gal +l2g1e2c +2lged +l2g1eg +lg1ell +lg1els +l2g1em +l2g1e2r +lg1r. +2l12gs +l1ghet +l2gil +2lg +l2g1 +2l2g +l1g2rf +l1gtem +l1gtet +l1gtl +l2g +2lg +l12gn +l2gyel +l2gyes +l2gyi +l2gyo +l2gy +3lgz +lh1asz +2l12he. +l2hed +l2h1em +2lhes +2lhet +2lhez +l2h1 +l2hol +2lhs +2l1j. +2l12ji +2l1jj +2l1js +l2kab +l2k1a2d +l2k1a2g +l2k1aj +lk1aka +l2k1a2la +lka2p +l2k1apo +l2k1as +lka2t +lk1ato +l2k1au +l2k1av +l2kaz +l2k1e2g +l2k1ep +l2kes +l2k1e2sz +lk1ev +l2k12k +lk2l +l2k1le +l2k1lv +l2k12te +l2kid +l2kt +lkkz1 +lk1ors +l2k1osz +l2k1l +l2kr +l2kz +l2k +l2k1u2r +lk2l +l2k1l +l2k1lt +lkve2g +l1lc +2l12le. +2l12lei +2l12les +l2lb +l2ln +l2lr +2l1lm +llksz1 +2l1lr +l2lk +2l12l +2l12mel +l2nag +ln2 +l2neg +l2nekb +2lnekl +l2nel +2lnk +l2no +l2ny +l2p1a2l +l2p1el +lps3s +2l12p +l2p +2lpl +l2pl +l3rad +l2ral +l2rap +l2ras +l2rat +l2rav +l2r1 +2l1rc. +2l1rcb +2l1rde +l2reg +l2r1e2l +l2r1es +2l12rez. +2l12rezv +l2r12j +2l12rs +2l12rik +l2ris +l2rit +l2r +2l1rni +2l1rn +l2r1osz +l2r +2l12r. +l2rd +2l12re +l2ri +2l12rj +2l12rk +l2rn +2l12rt +2l12rv +2lrtelm +2l1rtk +2l1rtj +2l1rt. +l2rut +2lrvel +2l1rvn +2l1rze +2l1rz +lsa2 +l2s1aj +l2sak +l2sal +l2sar +l2s1az +l2s12 +l2seg +l2s1e2l +l2s1eti +l2s12g +l2ss +l2s1ikr +l2s +l2s1 +ls3sza +ls3szer +ls2l +l2s1l +l2s1l +l2s1t +lsz1k +2lszst +2l1szl +ls3zse +l2tag +l2taz +l2t1eg +l2tel. +lt1elo +lt1el +lt1elv +l2tene +l2tes +2l12teth +l2teti +2l12tetn +l2tev +l2t1r. +l2t12te +l2t1is +l2tt +2ltl +l2t1o2k +3l2t +l2th +l3tl +l2t12r +lt2 +lt1r +lt2rg +l2tun +2l1vad +2l1vb +2l12ve. +2l12ved +2lvei +2l12vek +2lvelf +2lveli +2l12vem +2l12ven +2l12vet. +2l12vb +2l12vh +2l12vi +2lvn +lv1rt +2l12vt +2l12vv +2l1vf +2l1vh +2l12vi. +2l12vig +l2vir +l2vis +2l1vk +2l1vl +2l1vm +2l1vn +2l12v +2l1vr +2l1vs +2l1vt +2lv +l2vk +l2vn +2l12v +2l1vv +2l1vz +lfa2l1e2 +lfat2 +lfa1tr +lf1aut +lf2t1i2 +lf1cl +lf1ese +lfe2t +lf1eti +lf2l12v +l2f1lm +lf2m1e2k +lfi2d1 +lfin3n +lfi2nos +lf1iro +lf1isk +lf1kl +lf2lo +lf2l +lf2l +lf2lu +l2f1okta +l2f12r +lf1pr +lf2ri +l1f2r +l1f2ro +lf2r +lf2r +lf1sp +lf1sz2 +lf1l +lga1p2 +lgati2ko +lgau2 +lgr1as +lgs3s +lgi2as +lg2la +lg2lo +lg2l +lgr2cso +l1g2ra +lg2ru +l2gy1ad +l2gy1ag +l2gyaj +lgy1ala +lgy1alj +lgy1any +l2gy1a2s +l2gy1au +l2gyb +l2gyl +l2gyt +l2gy1e2g +l2gyel +l2gy1e2le +l2gy1elz +l2gyembe +lgy1er +l2gy1esem +l2gy1e2v +l2gyl +lgy1r. +l2gy1s +l2gyid +l2gyikr +l2gyip +l2gyis +l2gy1ok +l2gy1ol +l2gyop +l2gy1os +l2gy12r +l2gy12r +l2gy1s +l2gy1u2t +l2gy1t +lhai2 +lhn1al +1li +li2aa +li2a +li2abi +li2abo +lia2c +li2aci +li2acs +li2acu +li2a1d2 +li2ae +li2a +li2ag +li2ah +li2aid +li2a +li2aj +li2akp +li2ala +li2ale +li2ali +li2am +li2amo +li2ao +li2a +li2a +li2ap +li2ara +li2ar +li2as +li2aso +lia1sz +li2asza +li2asz +li2asz +li2aszf +li2aszi +li2a1t2 +li2a +li2av +li2az +li3be +lic3sz +li2c +li1cy +li2de +2li2deg +li2dn +li2dt +2l1i2di +2l1i2d +li2ec +lie2d +2lien +li2d +li2k +li2n +li2v +lif2l12v +li2f +li1fl +li1f2r +l2ig. +2l1i2gaz +lign1n +li2ge. +2l1i2geb +2l1i2gek +2l1i2gep +li2gb +li2gh +li2gi +li2gj +li2gk +li2gn +li2gr +li2gs +li2gt +li2gv +li2gz +li2hat +2l1ihl +2l1i2ker. +2l1i2kerb +lik2k1ell +lik2k1elv +lik2k1e2r +lik2krd +li1k2l +2l1i2konc +2l1i2konf +2l1i2kong +2l1i2konig +2l1i2konk +2likonl +2l1i2konm +2l1i2konp +2l1i2kons +li1kr +2lill +2lima. +2limd +li2mk +li2mv +l1imbo +li2me. +lime2r +lim1p2 +2limpo +lim1 +li2nakr +li2nal +lin1any +lin1ar +2linas. +lin2cs12 +2l1indu +li2ne. +li2neg +link2 +2l1inger +lin1gr +ling2rdi +2l1ingr +lin1ing +lin1inj +lin1kl +lin3ny +li2nor +2l1integ +2l1intz +li2n1u2s +li2n1ut +2l1i2n +li2oc +lio2l +li2oni +li2ke +li2raj +li2 +li2d +li2e +li2f +li2g +li2m +li2p +li2pa. +li2pai +li2p1aj +li2p12r +li2pt +li2peg +lip1ele +li2p1elv +li2p1esz +li2p +li2p12 +li1pro +2l1i2ram +2l1i2rat +2l1i2rn +2l1irh +li2rig +li2rod +2l1irr +2l1irt +li2sl +li2s1el +lise2s +li2sid +lis1isk +2l1iskol +l1ism +lis1p2 +2l1isp +2l1isten +2l1istr +li2s12t +lis12v +2l1iszl +lisz2t12z +li1sztir +li2t1a2g +2lital. +li2tala +lit1alk +li2t1ta +li2t1e2g +li2t1e2l +li2t1emb +li2tez +li2t1rd +li2trte +li2til +lit1int +li2t1i2o +li2t1is +li2t1okt +li2t1old +li2tn +lit2 +li2t1r +l1ittak +l1ittas +l1ittat +li2t1ura +li2t +2l1i2vad +li2vot +l1i2v +3lix. +l1izl +2l1i2zn +2lizs +l1izgu +2l1izmo +2lizz +2l1izz +1l +l2g +l2ja +l2ju +lma1 +2l1ns +l12ny +lnyenc1 +l1rd +l1rh +l1rj +l1rl +l2rod +l2rog +l2rok +l2rom +2l12r +l1rs +l12ru +lts3s +lta2 +lt2p3r +2lv. +lva1 +lvak2 +2l1z. +2l12ze +l2zi +lzis3s +2l1zl +2l12z +l12z +l2j1a2da +l2j1e2l +l2j1er +ljes1s +ljharc1 +l2j1ip +l2j1ir +l2j1iz +lj1r +l2j1or +l2j1os +lj1pr +lj1sp +lj1z +lka1sl +lka2tel +lka2t1 +lka2tin +lka2t12 +lk2p1ell +lk2szel +lkia2k +lki2 +l1k2lin +lk2l +l1k2lu +lk2z1n. +l1k2r +lk2re +l1k2rmb +l1k2ri +l1k2r +lk2rom +l1k2r +lk1sh +lkuksz1 +lk2va +lk2v +lk2v +lla2dj +lla1f2 +lla2g1ad +lla2gal +lla2g1a2s +lla2gl +lla2gen +lla2gp +llag3g +lla2gol +ll1a2ja +ll1akad +l2l1akc +ll1a2kz +l2l1akti +l2l1a2lap +l2l1alm +lla2mad +lla2mal +lla2mem +lla2ml +lla2mor +l2l1anal +lla2nyer +llany12 +lla2pal +ll1aszf +llata2l +lla2tala +llat1any +lla2t1l +lla2t1r. +llatr1a2d +lla2t1rb +lla2ts +lla2tint +lla2t1olt +l2latomo +lla2tors +lla2t1 +l2l1aty +l2l1aut +l2l12ga +l2l1gb +l2l1gg +ll1gy. +ll1gy +l2l1llo +l2l1lm +ll2mag +ll2m1al +ll2m1e2 +ll2m1rt +ll2mik +ll2mis +ll2m1ut +lln2k1e2 +l2l12p +llra2 +llr1ad +ll2rak +ll2r12 +ll2s1ikr +ll2s +ll2sza +l2l1td +l2l1tf +l2l12ti +l2l1tk +ll1bl +ll1br +ll1cl +ll1d2r +l2l1e2dz +ll1eff +lle2ger +lleg1g +lle2gy +lle2 +l2l1e2ks +lle2l1a +lle2lin +l2l1ell +l2l1e2la +l2l1e2ld +lle2m1a2 +lle2m1 +lle2m1e2g +lle2mel +ll1emel +llem1ell +lle2mer +lle2m1l +lle2m1r. +lle2m1rt +lle2m1o2 +lle2mu +lle2na +llen3n +lle2n12r +llens2 +lle2r1in +l2l1e2r +l2l1e2st +ll1estr +lle2tos +l2l1e2vet +l2l1ex +ll12het +l2l12jek +ll2k1aps +llk2 +ll2kr +ll2k1ol +ll2kos +ll2k +ll2k1t +l2l12let. +l2l12letb +l2l12lete +l2l12letn +l2l12lett +l2l12letk +l2l1lt +l2l1lv +ll3nya +ll1sp +l2l12ter +llt2o +l2l1v. +ll12vn +ll1f2l +ll1fr +ll1g2r +ll1ide +l2l1i2ga +l2l1ig +ll1ill +l2l1i2ma +l2l1imp +ll1ina. +l2l1ind +ll1inga +l2l1ingf +l2l1ingm +l2l1ings +lli2nin +l2l1inv +lli2p +l2l1ipa2 +l2l1ir +l2l1iro +l2l1isi +ll1isko +l2lism +l2l1iste +lli2ta +l2l1ita. +l2lital +l2l1iz +ll1izma +ll1izm +l2l1i2zo +l2l1g +l2l1j +l2l12v +ll1k2l +ll1k2r +ll1kv +l2l1o +ll1obj +l2l1off +l2l1o2l +ll1ope +llos3s +ll2 +ll1gr +ll2 +ll2rk +ll2rt +ll2ri +l2lvo +l2l1b +l2l1l +ll1nt +l2l1r +ll1ss +ll1sz +l2l12z +l2l1r. +ll12rei +l2l12r +l2l1rt +l2l12si +l2l12ze. +ll1p2l +ll1p2r +ll2si. +ll1sk +ll1sp +lls3s +llsz2 +ll1szt +ll1tr +ll1tri +ll1tr +ll1u2bo +l2l1ug +ll1ult +llus1s +l2l1u2t +l2l1s +l2l12to +l2l1d +l2l1g +l2l1r +l2l1t +l2l1z +l2l1z +llv2d1e2l +l2ly +lly1 +l3lyw +lma2kad +lma1kr +l2m1ant +lma1tr +l2m1att +lm2l +lm1lm +lm1lo +lm2nyan +lm2ny1t +lm2ris +lm1tk +lm1tt +lm1bl +lm1b2r +lm1cl +lm1dr +lme3gon +lme1kl +lm1elb +lm1e2li +lm1elm +lm1e2l +l2m1ember +l2m1enc +l2m1eng +lme2 +lm1epi +lm1e2set +l2m1essz +l2m1etn +l2m1et +l2m1ex +l2m1g +l2m1lv +l2m12neke +l2m1p +l2m1rt +l2m1va +lm1gl +lm1gr +lm1i2d +lmi2g +l2m1iga +lmigaz1 +l2m1ind +l2m1inf +l2m1ing +l2m1ins +l2m1inte +l2m1int +l2m1inv +l2m1i2p +lm1ir +lm1iro +lm1isk +lm1izz +lm1g +lm1r +lm1z +lm1kl +lm1kr +lm1old +lm1olv +l2m1o2p +lm1ors +l2m1ov +l2m1d +lm12r +lm12k +lm1n +lm12r +lm1s +lm1t +lm12z +lm12r +lm1p2l +lm1p2r +lm1sk +lm1sl +lm1sn +lm1sp +lm1st +lm1sz2 +lm1t2r +l2m1u2g +l2m1u2r +lm1ut +l2m1j +l2m1g +l2m1nn +l2m1z +lnak2 +lna2p1e +ln2ris +ln2v1 +lni2ker +lni2s1 +1lo +lo2z +lo2b1a2r +2lob +lo2b12c +2lo2be +lo2b1iv +lo2b12 +2lobu +lo1by +lo2ch +lo1cy +lo2c +lo2o +lo2p +lo2z +lo2g1a2d +lo2gal +lo2g1l +logs1s +lo2ger +lo2g +lo2g1or +lo2g +lo1g2rf. +lo1g2rff +lo2g1 +lo2g +lo2ir +lo2kab +lo2k1a2d +lo2k1aj +2l1o2kak +lo2krb +lo2k12ro +lo2k1rr +lo2k1ru +lo2k1tj +lo2ku +lo2k1e2 +lo2kk +lo2kid +lok1is +lo2k1i2z +lo2k +lokka2l +lok2k1ala +lok2k1el +lok2k12 +lok2ks +lok2k1ut +lo2k1ol +lo2konk +lo2kor +2l1o2koz +lo2k +lo2laj +2l1old +2l1o2li +2l1oll +2l1oltr +lom1ad +lom1aga +lo2m1ajt +lom1aka +lom1a2lap +lom1a2lo +lom1ar +lom1ass +lo2m1att +lo2maz +lom1cs +lo2mg +lo2m1l +lo2m1r +lom1ri +lom1rk +lo2m1rn +lo2m12ro +lomba2l +lom2bala +lom2bav +lo2med +lo2meg +lo2men +lom1erk +lom1er +lo2m1es +lo2md +lo2mk +lo2ml +lom12ne +lo2m1ri +lo2m1i2d +lo2m1i2k +lo2m1im +lo2mink +lom1int +lomi2s +lom1isz +lo2miz +lo2m12 +l1oml +lo2m1okoz +lo2mol +lo2m1o2r +lo2m1osz +lom1ott +lo2m12 +lo2m +lo2m +lom1p2l +lo2m +lo2m +lo2nab +lo2n1a2d +lo2n1a2g +lo2naj +lo2nak +lo2n1a2l +lo2n1ar +lo2n1as +lo2n1au +lo2n1av +lo2n12z +lon2ch +lon2cil +lon2d12 +lo2n1e +lo2n1ir +lon1k2 +lo2nol +lo2n12 +lo2n +lon1s2 +lon1tr +lo2n +lo2oi +lo2oj +lo2or +lo2s +lo2pap +lop1l +lo2pe +lop1e2l +lo2piz +lo2p +lo2p1o2r +lo2p1osz +lo2p +lop2p1in +lop1t2 +2l1opti +lo2p +lor2din +lore2t +2l1org +2l1orm +2lorn +2l1ors +2l1orv +2l1orz +l2os. +l2osa +l2osb +lo2se +lo2s +2lottl +lo2x +lo2xi +1l +la2d +l2r +l1bl +l1br +lc3c +l2cem +l2ch +lcsa2p12g +2l12dt +l1dro +lf2l12v +lfi2k +l1fl +lg1g +l2g +l1gr +l2v +l1k2l +l1kr +l2nar +2l12ni. +2lnn +2lno +2lnr +2lnt +lprba2 +l1p2l +l1p2r +l2rac +lr1ada +lr1a2la +lra2n +lr1any +l2rar +2lri +2lrj +l2rmr +2lrr +2lrt +l2rem +l2r1e2s +l2r1r +l2r1ing +lr1ism +l2r +lr1old +l2r +l2s1aj +lsa2n +ls1any +l1ski +l1sla +l1spe +l1s2po +l1s2r +ls3s +l1s2ta +l1str +l1sz +l1t2r +l1tre +l1tr +l1tri +l1tro +2lvod +l12v +l2zad +l2z1a2k +l2zal +lza2n +lz1any +lza2t1e +l2zl +l2z1es +l2zim +l2z1ir +lz1isk +lz1ism +l2zolv +l2z +l2z +l2z1 +1l +l2b +l2ca +lc3c +l2ch +l2c +2l12d +l2ka +l2k +l2ko +l1ld +ll2t1a +ll2t +2l1lts +l1lthe +ll2to +l1ltt +l1ltz +l1lt +2l1ml +l2ml +l2na +l2n +ln2b1kt +l2ne +l2n +l2n1o +l2n +l2nu +l2n +l2pa +l2p +l2pe +l2pl +lp2 +l2p1l +l2p1l +l2re +l2r +ls3sz +2lssze +l2s +l2sze +l2szis +2l1tl +lt2ter +2l1tv +2l1v. +2l1vb +l12ve. +l12vez +2l1vh +2l1vn +l12vn +2l1vr +l12vk +2l1vv +1l +la2c +la2n +l2g +l1bl +l1br +l2dad +l2d +2lde. +2ldei +l2del +l2d1k +l2din +l2d1iv +2ldje. +2ldjt +ldkz1 +2ldke +2ldkn +2ldkr +2ldt. +l2d3ze +le2l +le2s +2les +l1fl +l1f2r +lgpi2 +lg2p1ip +l1gyel +2lh +li2ta +2lt +2lkse +l1kl +lko2r1t +l1kv +2llege +2lnn +2lny. +l2nyal +l2nyr +2lnyb +2lnye. +2lnyei +l2ny1elvi +2lnyb +2lnyn +2lnyr +2lnyt +2lnyv +2lnyh +2lnyk +2lnyn +2lny +2lnyr +2lnyt +2lny +lr2s12g +2lpn +l1pl +l1pr +l1ps +2lreh +2lrej +lre3m +2lret +2lrb +l2r1is +l2rl +2l1rz +l2sl +l2sin +l1s2ka +l1sk +l1sla +ls2 +l2sr +l2s1t +l2s +l1s2pi +l1spr +l1sr +ls3s +ls2tar +l1str +l1sy +lsz2 +ls3zra +ls3zrr +l1szf +l12szt +l1szt +2ltt. +2ltol +l1tre +lu2t +l2l +2lvig +2l12zt +2lzi +2lzl +2lzm +2l12zk +lp1a2lag +l2p1a2lap +l2p1alt +l2p1a2lv +l2p1alk +lpanto1 +l2p1any +l2p1ll +l2p1tm +l2p1ts +lpcsa2p1 +l2p1eg +lp1e2lu +l2p1e2m +lpen1n +l2p1e2r +l2p1g +lp2l +l2p1le +lp2r +l2p1ri +l2p1i2d +l2p1i2na +lp1izm +lp1i2zo +l2p1v +l1p2l +l2p1old +lpo2n +lpon1 +lp1p2r +l1prd +l1p2ri +l1p2ro +l1p2rb +lpu2s +lp1uszo +lr2k1e +lrei2 +lre1p2r +lre1sz +lre2 +lsa2v1a2m +lsg3g +ls1eprik +ls2ho +ls2ka +ls2k +ls2ki +ls2la +ls2l +ls2li +ls2ma +ls2mi +lsors1s +ls2r +ls1sz2 +l1s2pa +l1s2pe +l1s2p +l1s2pi +l1s2po +l1s2p +l1sp2r +l1s2r +l1s2r +l1s2ta +ls2t +lste2i +l1s2ti +l1s2t +l1s2to +l1st2r +l1s2tu +l1s2t +lsza2k +lsza2k1 +lsz2r +l2sz1e2g +l1sz2f +l1sz2l +l1sz2p +lszt2 +lsz2t +l1sztr +l1sz2v +lta2gy +lt1aj +lta2lapb +lta2l12s +lta2l12z +lta2len +lta2l1ev +lta2l12 +lta2liz +ltal1l +lta2l +l2t1amp +l2t1apr +lt1ar +l2t1arc +lta2ri +lt1assz +lt1aszt +l2t1a2u +lt1azo +lt1g. +lt12ga +lt1gb +lt1gg +lt1gn +lt1gr +l2t1ll +ltna2 +lt2nan +lt2rada +ltr2s1g +lt1rur +lt2s12g +lt2tal +l2t1tr +lt1bl +lt1br +l2t1ell +l2t1el +l2t1emu +lte2rad +l2t1e2reik +l2t1er +l2teru +lte2t1a2 +lte2tk +l2t1kn +lt2l +lt1le +lt1lm +lt1rc +l2t1rz +lt2sa +lt2s12g +lts3s +lt2t12 +lt2ves. +lt1fl +lt1gl +lt1gr +lt1ide +ltig2 +l2t1i2g +lti1kl +l2t1ill +lt1imp +l2t1ind +l2t1ing +l2t1i2o +l2t1isi +lt1ism +l2t1ist +l2t1i2ta +l2t1n +l2t12r +lt1t +l2t12v +ltv1e2l +l2t12z +lt1kr +l2t1oml +l2t1ord +l2t1org +l2t1orj +l2t1orr +lt1ors +ltos3s +l2t1o2x +lt1p +lt1s2p +lt1sz +ltt2 +lt2l +l2t1l +lt1nt +lt1ss +lta2 +lte2l +lt12r +lt1pl +lt1pr +ltra1s +lt2rg +lt2rn +lt2rik +lt2ril +lt2rf +l1t2rn +lt2rp +lts2g1el +lt1sl +lt1sp +lt1st +lt1t2r +l2t1udv +l2t1una +ltu2n1i +lt1ura +ltu2sze +l2t1u2t +lt2ri +l2t1g +lt12l +lt1st +l2t12v +lt12zem +1lu +lua2g +lu2r +lu2b1a2d +lu2bal +luba2n +lu2b1as +lu2br +lu2b1e2g +lube2r +lu2bes +lu2bl +lu2b1in +lub2 +lu2br +lu2b +lub1t2 +lu2b +2ludj +2ludv +lu1dy +lue2l +lu2es +lugas1s +lu2gat +lu1g2l +2l1u2gor +2l1ugr +lui2r +2l1ujj +lu1kl +lu2k1os +lu2k1o2v +lu2l1inf +lu2l +2lulr +lu2mad +lu2maz +lu2ml +lumen1n +lu2mer +lu2mes +lu2m1i2k +lu2m1ip +2lum +lum2pel +2lund +l1unh +2l1u2ni +l1unj +l1unl +l1unn +l1u2no +l1u2n +l1unv +lu2rak +lu2ram +lu2rat +2l1u2ru +2l1u2r +lu2sad +lu2s1aka +lu2sakr +lu2sal +lu2s1a2n +lu2s1g +lu2sl +lu2s1e2r +lu2s1rt +lu2sim +lu2sis +lu2sr +lusksz1 +lu2s12 +lus2 +lu2sr +lu2s +lus3sze +lus3szi +lust2 +2lutnz +2l1utc +lu1t2h +lu2td +lu1tra +lu2zs +1l +l2d1a +l2d +l2de +l2dt +l2d3z +l2ga +l2g1 +l2ge +lg3g +l2gi +l2gol +2l1jd +2l12j +l2ju +l2ri +l2ru +l2r +2l12sz +l2t. +2l1tv +l2z1a2n +1l +l2cs +l2d +l2d +l2ge +l2gy +l2l +l1ld +l2lel +l2l1e2m +l1lep +l2l +ll1r +2l1ls +2l1lhet. +2l1lhetne +2l1lhets +l2l +2l1ljek +2l1lnek +2l1lnk +2l1lni +2l12l +2l12l +2l1lsz. +2l1lt. +l1lte. +2l1ltek +2l1ltem +2l1ltes +2l1ltet. +2l1ltete +2l1lteti +2l1ltetj +2lltetl +2l1ltetn +2lltets +2l1ltett +2l1ltet +2l1ltetv +2llt +l1lti +l1ltk +l1ltl +l1ltn +l1ltr +l1ltt +l1ltn +2l1lt +l2l +l2l +2l1ln +2l1lve. +2l1nn +l2re +l2r +l2r +l2sz +l2te +l2t +l2ti +l2t +l2t +l2t +l2ve +l2v +l2ze +l2z +1l +l2r +2l1rb +2l12ri +l1rl +l2ze +l2z +l2zi +l2z +l2z +l2z +lva2dat +l2v1adm +lvaj1ak +lva2j1e +lv1akad +l2v1akc +l2v1a2la +l2v1alg +l2v1alk +l2v1ant +l2v1a2ny +l2v1a2rs +l2v1a2z +lv2gy1n +l2v1llat +l2v1llt +l2v1p +lv2rain +l2v12rak. +lv2ras +lv2rr +l2v1rny +lv2rol +l2v12rul +lvs3s +lv2szi +lv1ta +lv1th +lv1tk +lv1br +l2v1e2dz +lv1egys +lv1egyv +lv1e2kb +l2ve2leme +l2v1elk +l2v1ell +l2v1er +l2v1ex +l2v12gs +lv2gl +l2v1lm +l2v12neke +l2v1p +lv2ri. +l2vrtel +l2v1rt +l2v12r +l2vrzsi +lv2sza +lv1fr +l2v1i2de +l2v1i2do +l2v1iga +lv1iko +l2v1i2m +lv1int +lv1i2pa +l2v1iro +l2v1irt +l2v1isko +l2v1ism +l2v1izm +l2v1izo +l2v12ve +lvze2 +lvz1es +lv1kl +lv1kr +l2v1ok +l2v1old +l2v1olv +l2v1onto +l2v1op +l2v1or +l2v1os +lv1d +lv2l +l2v1l +l2v1lt +l2v1n +l2v1s +l2v1v +l2v12z +lv12r +lv1s +lv1pr +lv1ps +lv1sp +lv1st +l2v1ut +lv1j +l2v1g +l2v1t +l2y +1lya +lya2dat +2ly1adm +2ly1a2d +2lyagy. +2lyagyr +2lyajt +2ly1a2kas +ly1akc +2ly1akn +2lyaks +2lyakt +ly1a2lat +2ly1alb +2ly1alk +2ly1alm +ly1a2lom +ly1alt +lya2maj +lya2mar +lya2m1el +lya2mem +lya2m1rt +2lyang +2lyani +lya2nyag +ly1a2ny +ly1a2pn +lya1p2r +2ly1arc +lya2sal +ly1aspe +ly1assz +2ly1atl +lya1t2r +2lyaty +2lyazo +1ly +2lyb +2lybr +2ly1g +ly1ld +ly1ll +2ly1p +2ly12rad +2ly12rak +2ly12ram +2ly12rat +ly1rk +2ly1rn +2ly1rr +2ly12ru +lys3s +ly2sz +2lyta +2lytf +2lyth +2lytl +2lytl +2lytm +2lyts +2lytt +2lytv +ly1bl +ly1br +ly1dr +1lye +lye2ga +ly1e2gye +lyegyez1 +ly1ej +2lyeke. +2lyekek +2ly1e2kb +2ly1e2kr +ly1e2le +ly1elf +ly1elh +ly1ell +ly1elm +ly1e2l +ly1elr +ly1els +ly1elt +ly1el +ly1elv +ly1elz +lye2m1a +2lyember +2ly1e2mel +lye2min +2lyeml +2ly1eng +ly1erk +ly1e2r +2ly1esd +2ly1esem +2ly1e2sete +2lyeset +2ly1e2sett +2lyesl +2ly1e2ss +2ly1este +2lyeszk +2lyeszm +2lyesz +2lyetet +2lyev +2ly1ex +1ly +2ly1g +2lyhe. +2lyhen +2lyhet +ly2l +ly1le +ly1lm +2lyneke +2ly1p +2ly1r. +2ly1rc +2ly1rd +2ly12r +2ly1rm +2lyr. +2lyri +2lyrk +2ly1rr +2ly1rte +2ly1rt +2ly12r +2ly1rv +2ly1rz +ly1sz +2ly1tt +2lyv. +2lyve. +2lyvei +2lyvek +2lyven +2lyvet +2lyvv +2lyvi +2lyvr +2lyvv +ly1fl +lyf1lt +ly1gl +ly1gr +1lyi +2lyibo +2lyide +2lyideg +2lyiden +2lyidi +2ly1ido +2lyid +lyi2h +lyi2g +2lyiga +2lyig +2ly1ige +2ly1ig +2ly1iha +2ly1ill +ly1ima +2lyim +2lyimp +2lyind +2lyinf +2ly1ing +2ly1ini +2ly1int +2lyinv +2ly1i2p +ly1i2rat +2lyir +2lyiri +2ly1iro +2lyirr +2lyirt +2ly1isk +2lyism +2lyisp +2lyist +2ly1ita +2lyivad +2ly1i2z +1ly +2ly1g +2ly1n +2ly12r +ly1v +ly2kiz +ly1kl +ly1kr +1lyn. +1lyo +2ly1ob +2lyod +2ly1of +2lyokal +2ly1okl +2lyokm +2lyokoz +2lyokta +lyo2l +ly1ola +ly1old +ly1oll +ly1olt +ly1olv +lyo2m1as +2ly1op +2ly1o2r +2ly1osz +2ly1ott +1ly +ly1d +ly2s1 +1ly +2ly1b +2ly12l +2ly12r +ly1ss +2ly1v +1ly +ly12r +ly1pl +ly1pr +lyrdi2 +lyre1p +1lys. +ly1sk +ly1sp +lys2t +lysz2m1 +ly2tac +ly1t2r +1lyu +2ly1ud +2lyugr +2ly1uh +2ly1uj +lyu2ks +2lyuni +2ly1u2r +2ly1u2t +1ly +2lyjs +2ly1r. +2lyth +2lytr +2lytt +2lytv +1ly +2ly1d +2ly1g +2lynn +2ly1r +2ly12v +2ly1z +1ly +2ly1r. +2ly1rh +2ly1rl +1lywo +lyze2t1el +lzs1s +lze2ta +lze2t1e2l +lze2t1r. +lz2sa +lza2 +lze2 +lz2s1orr +lzus3s +lzu2s3z +2m. +1ma +maa2d +ma1bra +2m1abs +ma2cl. +ma2clb +ma2clt +2madag +2m1adap +ma2datb +ma2dato +ma2datt +mads1s +ma2d12v +madksz1 +ma2dz +3m2a3dz +mae2r +ma2r +ma1f2ra +ma1fri +ma2gac +ma2g1a2dato +ma2g1a2d +ma2g1a2d +ma2g1a2du +maga2l +mag1ala +ma2ga2n +mag1any +maga2r +mag1ara +ma2g1asza +mag1azo +ma2gg +mag1ll +mag12r +mag1rn +mag1rr +mag1rt +mag1ta +ma2g1to +ma2geb +ma2g1el +2m1aggr +ma2gid +ma2g1i2k +ma2g1 +magkia3d +ma2g1or +ma2g1osz +mag1ra +ma2g1v +ma2g1u2r +ma2g12 +2m1agy. +2m1agyb +2m1a2gyu +m1ahh +ma2il. +ma2ilt +mai2z +2m1ajta +maj2ti +ma2kar +ma2kc +2m1akc +mak2k1e2 +2m1akku +ma1klu +2m1a2kol. +ma1k2rm +ma1k2ri +2makro +m1akti +ma2kus +malac3h +mala2c3s +2malag +mala2g1 +ma2laku +2m1alakz +2m1a2lan +2m1a2lap +malasz2t1a +2m1alb +2m1alc +2m1ald +2malg +m1algo +2m1alj +2m1alk +malo2m1e +mal1os +m1alr +m1alt. +mal1th +2m1a2lu +2malv +2m1amp +2m1a2nal +ma2nat +2man +ma2n1eg +2m1angi +2m1anto +2m1antr +2m1a2nya. +ma2nyag +2m1a2ny +2m1a2ny +mao2k +ma2pa. +ma2pas +2m1a2pt +ma1p2l +ma1p2re +ma1p2r +ma1p2ri +ma1p2ro +2m1aps +2m1a2rny +2m1arb +2m1arc. +2m1arcc +2m1arch +mar1cko +2m1arcu +2m1arc +2m1a2rn +ma2r1i2si +mar2k1al +mar2k1in +mar2k1n +mar2k12r +2marm +maro2k1 +ma2rom +maros1s +mark2 +mar1kh +mar1kk +mar1kn +mar1kr +ma1ry +2m1arz +ma1s2k +ma1s2pe +ma1spr +ma1s2r +mast2 +ma1s2ta +ma1ste +ma1str +masz1egy +masz1e2me +ma2sz1t +ma2szv +ma2szis +masz2v +masz1ve +masz1s +mat1ada +mat1alap +mat1anya +ma2taz +ma2tg +mat2raka +ma2t12ras +mat12rr +ma2t1rn +ma2t12r +ma2t1z +ma2t1e2g +mat1eli +ma2t1ell +mat1el +mat1elt +ma2t1eme +mate2s +ma2tl +ma2t1rte +matf2 +matfl1 +matfl2 +ma2tid +ma2t1ind +ma2t1inf +ma2t1ing +ma2t1int +ma2t1r +ma1t2ran +mat2rg +mat2tin +ma2t1ut +2m1a2tya +ma2ty +2m1a2uk +mau2ra +ma2uri +ma2us +mau2ta +2m1a2uto +2m1a2vat +ma2z1a2l +ma2zl +ma2z1tl +ma2zel +mazksz1 +ma2z3s +1m +2m12b +2m1br +m2cs1as +m2cs1e2 +m2csin +m2csir +m2csis +m2cs +m2cs +m2f +2m1g. +2m12ga +2m12g +2m1gb +2m12g +2m1gg +m2gi. +2m12gig +2m1gk +m1gna +2mgo +2mg +2m1gr +m2guk +m2gun +2m12g +2m12gy +mgya2d +mgy1ada +m2h +m2jan +m2j1rt +m2j1e2 +mjo2 +m2j1ol +mjren2 +m2j1ul +m2j +mka2 +m2k1al +m2kar +m2k1e2 +m2k1r. +m2kil +m2k1 +m2k +m2k1 +m2l1a2l +2m1lar +m2ll +2m1lc +m2l1e2 +ml1rt +2m1llam +m1llap +m1llat +2m1ll +m1llom +2m1lma +2m1lmo +m2los +m2m1as +2m12m +mna2 +m2n1as +m2nav +m2nr +mnc1c +mn2ce +mn2c1g +mn2cs +m2n1e +m2n1in +m2nis +m2n1it +m2n12 +m2n +mns3s +mn2tac +mn2tag +mn2t1al +mn2t1as +mnt2 +mn2t1k +mn2t1l +m2n +m2n +m2ny1a2d +m2ny1a2g +m2nyaj +m2ny1aka +m2ny1a2l +mnya2n +m2nyany +m2nyap +m2nyar +m2nyau +m2nyav +m2nyaz +m2ny1e2 +m2ny1r. +m2nyrd +m2nyrz +m2ny12 +m2ny12 +m2ny +m2po +2m12rad +m2r1a2g +2mram +m2r1a2n +m2ras +mr1ass +2m12rat +m2r1au +m2r1l +m2re2 +mr1em +m2rs +m2r1id +m2r1ik +m2r1i2p +m2r1i2si +mr1isk +mr1ist +m2r +2mrkok +2mrol +m2r +m2r +m2rug +m12ruh +m2ruk +m1rur +m2r +m2s1a2d +m2sal +m2sap +m2s1a2r +m2s1av +m2saz +m2s12r +m2s1rn +m2ss +2m1ss +2m1ssn +2m1ssr +msbe2j1 +msbej2 +m2s1e2 +m2sr +m2sor +2m12s +m2s +m2s +mst2 +ms1tr +m2s12 +ms3zav +2m12ta +mt1a2k +2m12t +2m1tc +2m1td +mte2 +m2ten +2mt +2m1tf +2m1tg +2m1th +2m12tir +2m12t +m1tj +2m1tl +2m1tn +m2t1ol +2m12t1 +2m1tp +2m1tre +2m1ts +2m1tte +2m12t +2m12t +2m1tv +m2zal +m2ze +mzi2a +mzi2 +m2z1i2s +m2z +m2zsal +mzs1e +mz3sz +mb1akc +m2b1akk +mba1k2r +mb1akv +m2b1a2lag +m2b1alj +m2b1alk +m2b1a2na +m2b1a2nya +mba1p +mb1a2var +mb1a2zo +mb12gy +m2b1ll +m2b12ron +m2b1rr +mb2szv +m2b1szn +m2b12szoka +m2b12szokk +m2b12szoko +m2b12szokr +m2b1ta +m2b1th +mbe2 +mb1e2ce +mbe1k2 +mbe2led +mb1e2leg +m2b1ell +mb1elr +mb1elsz +mb1epe +mbe2r1a2g +mbe2ral +mbe2ran +mbe2ras +mbe2r +mbe2reg +mbere2sz +mber1esz +mbe2rev +mbe2r1l +mbe2r12s +mbe2rim +mbe2ring +mbe2risz +mbe2rol +mbe2ros +mbert2 +mbe2r1 +m2b12g +mb12ke +m2b1k +m2b1p +mb2ress +m2b1rt +m2b1rz +mb1gr +m2b1ide +mbi2k1al +mbi2ke +m2b1illa +m2b1i2na. +m2b1i2nai +m2binam +mb1ind +m2b1inf +m2b1ing. +mb1inv +m2b1ipa +m2b1izm +mb1i2zom +m2b1izz +m2b1v +mb1z +mb1kl +m1b2l +mb1ly +m2b1ob +mb1olda +mbo2lyak +mb1ond +m2b1op +m2b1orm +m2b1orm +m2b1o2roz +m2b1oszl +mb1le +m2b1v +mb12si +m2b12sz +mb1pl +mb1pr +mbrdi2 +mb2rev +mb2rok +mb2ron +mb1sp +mb1st2 +mb1sz +mb1tr +mbu2sze +mbu2sz +m2b1u2t +mb1j +m2b1g +m2b1l +m2b1s +m2b1t +m2b1z +mbvez2 +mc2lu +mcsa2p12g +mda1b2 +mda1g2 +mda1p2 +mdi2ale +mdi3ap +md2ra +md2r +md2ro +md2r +1me +mea2l +mea2n +me2av +me2bd +mede2r1e2 +2medny +me1d2r +2m1e2dz +mee2s +me2et +2m1eff +me2gaba +me2g1ala +me2g1alu +me2g1alv +me2g1an +me2g1a2r +mega1sz2 +me2gav +me2g1 +me3gm +meg2s +meg2t +meg2z +me2g1eg +me2g1el +mege2le +mege2l +me2ger +me2g1esem +meg1eszt +me2geta +me2g1e2te +me2gez +me2g12l +megs3s +megsz1 +meg1f +megg2 +meg1gr +me2gi +meg1ig +meg1inn +meg1ir +meg1is +meg1itt +me2g1 +me2g1o +me2g12 +me2g12 +me2gr +me2g1u2 +me2g +me2g12g +me2g12l +2megyez +2m1egyh +2m1egyl +2m1egys +2megyt +me2het +mei2r +me2k1ad +me2k1ag +mek1alk +me2k1am +mek1arc +me2k1a2s +me2k1att +me2k12l +me2k12p +me2k1r. +me2k1ra +me2kt +mek1egy +mek1ell +me2kep +me2k1ers +meke2sz +me2k1esze +me2keszm +mek1eszte +me2kev +me2k1k +me2kl +me2k1r. +mek1rde +me2k1rk +me2k1rte +me2k1rt +me2k1ss +me2k1te +me2kido +me2kij +mek1im +me2k1ing +me2k1int +me2k1i2p +me2k1ist +me2k1ita +me2kr +me2kt +mek1k2 +mek3lu +me2kob +me2k1ok +me2k1old +me2k1olt +me2k1onk +me2kop +meko2r +mek1ora +mek1oro +mek1ort +me2k1os +mek1ott +me2k12v +mek1lt +me2kn +mek1rm +me2k1t +me2k1 +mek1s +meksz2 +mek1t2 +me2kuj +me2kun +me2kur +me2k12 +me2kd +me2k1g +me2k1ld +me2k12l +me2k12l +me2kz +m1elad +mel1ak +me2lg +me2ll +2melb +2m1e2lef +me2lekt +mel1e2l +2m1e2leme +2m1e2lemz +2m1e2les +2melet +mele2t1r. +2m1e2lg +2m1e2l12l +2m1e2l1r +mels3s +2m1elf +2m1elgo +m1elha +2m1elh +2m1elhel +me2lit. +2me2l12 +2m1elj +2melk +m1elk +m1elk +m1elk +mel2ll +m1ellene +mel2ler +mel2l1r. +mel2ling +mel2l1iz +mel2lo +mel2l +mel2l1u2 +2m1elm +2m1eln +me2los +m1elde +2m1e2l +m1e2lle +m1e2ltt +2melz +me2lz +2m1elr +2m1elsz +2m1elta +2m1elt +m1elter +2m1eltett. +2m1eltettn +2m1eltr +2m1elti +2melty +2m1elv. +2m1elv +2m1elves +2m1elvn +2m1elvo +me2ly1k +2m1elz +2m1eml +2m1e2mul +me2n1a2d +me2nal +me2nar +me2nau +me2nt +me2n1e2g +me2n1el +me2ner +mene2t12 +mene2t +mens3s +2m1enges +me2nil +me2n1ip +me2n +me2n +men2s12g +men2t1ell +men2tip +men2t1is +me2n1u +me2n +me2nya +menye2ma +me2om +me2e +me1p2h +me2pik +me2pos +me1p2r +mera1p2 +mer1ass +2merd +2m1e2rec +2meredm +mer1egy +2m1e2rej +me2r1e2l +me2r1eml +mere2t1a +mere2t1e2l +mere2t1r. +2merezkh +me2r1p +me2r1il +me2rim +mer1inf +mer1ing +me2r1ip +2merny +me2r1ol +me2ror +me2r1os +me2rov +2merl +2mers +mers2 +mer1st +mer1tr +me2r12g +me2sas +me2s1emb +2m1esemn +mese1s +2meset +2m1e2sett +2mesly +2m1e2ss +2m1e2ssh +2messk +2messr +2messs +2messt +2m1e2s +me1s2po +2m1estb +2m1este. +2m1estek +2m1est +2m1estf +me1s2t +2m1estr +2m1estn +me2szan +2meszem +me1sz2t +met1anya +meta1s +metasz2 +me2t1e2gy +met1ell +2m1e2tet +met1ing +me2tr +me2t +me2td +2m1e2ug +me2uk +meus3s +meu2t +me2v +me2zac +me2z1aj +meza2k +me2zau +me2zl +me2zed +me2zeg +me2z1elj +me2z1ell +me2zelh +me2zer +mez1ere +me2z1k +me2z1r. +me2z1rd +mez1ret +me2z12ri +me2z1id +me2zim +me2zin +me2zio +me2zr +me2z1ol +me2z1or +me2z1 +meze2 +me2z12r +me2z1ss +2mezrem +m1ezrese +m1ezresr +m1ezrest +me2z3sa +me2zs +me2zs +me2zu +me2z +1m +m2ber +2m1br +m2cs1a2 +m2cso +m2g1a +m2ge +mg1eg +m2g +m2gi +mg1is +m2g1o2 +m2g +m2g +m2h1a2 +m2h1 +m2heg +m2hel +m2hir +m2h1is +m2h1or +m2h +mhren2 +2mhs +2m1j. +2m1jb +m2jes +2m1js +mka2 +m2k1ad +m2k1aj +m2k1ak +m2k1al +m2k1an +m2kar +m2kaz +m2k12 +m2k1e2g +mk1elh +mk1ell +mk1e2l +m2k1ese +m2kev +m2kez +m2k12k +m2k12l +m2kid +m2kir +m2k +m2k1o +m2k1 +m2k +m2k1u2 +m2k1 +m2le. +2m12lel +m2les +m2lez +2m12ln +2m1lm +m2lya +m2ly +m2lyeg +m2ly1 +m2n1a2r +m2n1a2t +2mnekb +2mnekh +2mnekl +m2n1el +m2n12k +m2n1s +m2nid +m2nin +m2n1is +m2niv +mnt2 +m2ny1e2g +m2ny1e2l +m2nyer +m2nyk +m2nyim +m2nyr +m2ny1o +m2ny +m2ny +mny2l +m2ny1l +m2p +m2p +2m1rc. +2m12retts +2m12rn +m2rr +mrs1s +2m12rv +2m12rie +2m12rin +2m1rk +2m1rlel +m2r1n +2mrteke +2m1rtes +2m1rtr +2m1rts +2m12rl +mr2v1a2 +2m1rz +m2s1a2 +m2s12 +m2s1e2l +m2s1er +m2sez +m2sin +m2s +ms3sza +msza2 +msz1al +m2sz1l +m2sz12ra +m2szed +m2sz1el +2mszl +m2sz1 +msz3s +2mszt +2mszth +2mszti +2msztj +2msztl +2mszt +2msztv +m2sz12 +m2t1ad +m2t1ak +m2t1a2n +mt1rt +mt1elho +mt1elta +m2t1e2v +m2tg +2m1tje +2m1tjr +2m1tjv +2m1tj +2m1tke. +m2t1o +m2t +mt2 +m2tr +m2t1u +m2t1 +2m1v. +2m1vb +2m12ve. +2mvei +2m12vek +m2ven +m2ves +2m12vet +2m12vb +m2vn +2m1vf +2m1vh +2m12vi +2m1vk +2m1vn +2m1vr +2m1vs +2m1vt +2m1vv +m2z1a +m2z12 +m2zeg +m2zil +m2zim +m2zin +mz1ism +m2zit +m2z +m2z1o +m2z3s +m2zu +m2z +mfa2l1e2 +mfa2lom +mfa1s2 +mf2m1a2 +mfit2 +mfi1tr +mf2la +m1f2lo +mf2l +mf2lu +mfog1adat +m1f2rak +m1f2ran +mf2r +m1f2re +m1f2ri +m1f2r +m1f2ro +m1f2r +mg2p1e2l +mgpi2 +mg2p1ip +mg2li +mg2l +mgr2cso +mg2ra +mg2r +mha2sbr +mhossz1t +1mi +mi2aa +mi2a +mi2abo +mi2ac +mi2ae +mi2a +mia1f2 +mi2afr +mi2ag +mi2ah +mi2a +mi2ale +mi2am +mi2ao +mi2a +mi2a +mi2a +mi2a1p +mi2ar +mias2 +mi2asz +mi2asz +mi2aszi +mi2asz +mi2at +mi2ati +mi2ato +mi2a +mi2av +2m1i2z +mi1bl +micsa2p1 +2m1i2de +2m1i2deg +2m1i2dei +2midej +2miden +mi2dent +2m1i2deo +mi2dn +mi2dio +mi2di +mi2dol +2mid +m1idz +mie2l +mi2f +mi1fl +mi1fr +2m1i2gaz +2m1i2gn +mi1gri +2m1ihl +mii2d +mi1k2li +mi1klu +mi2kono +mi2kont +2miks +mi2lal +2mille +2millu +2mill +mi2ma. +mi2mh +mi2mit +mi2mr +mi2naj +2m1i2nam +mina2n +min1any +2m1i2nas +mi2n1ra +min2c1e2 +min2ch +min2d1a2 +2m1ind +min2dek +min2d1er +min2din +2m1ind +2mindu +mi2neg +mine2s +2minfl +2m1inf +min2g1 +2m1ing +min1g2h +min1inj +min2k1a2l +min2k1an +min2k1as +min2kec +min2k +min2k +2m1insp +2m1i2nuk +mi2n +2m1inz +mio2n1a +mio2n1 +mio2r +mi2r +mi1p2l +mi1p2r +mi2ram +2m1i2rat +2mi2rn +2mirg +2mirh +miri2gyel +2m1irk +2m1i2rod +2m1i2rom +mi2rn +2m1irr +mi2sal +mis1elv +mis1epe +mis1ing +2misit +mi2s12r +mi1s2pi +mis3szab +mis3szer +mi2s12t +mi2s12v +mi2s1 +mi2szr +mis3zr. +mi1sz2f +mi2tac +mita2n +mit1any +2m1i2tat +2mitc +mit1r. +mit1r +mit1rh +mit1ri +mit1rk +mit1rn +mit1rr +mit1rt +mit1r +2mitbo +mit1ing +miti2s +2mitl +mi2tk +mi1tri +2mitro +2mitr +mi2tr +mium2 +miu2min +miu2s +2m1i2vad +2m1i2v +mi2x1i +mi2x +mi2x +mi2z. +mi2zt +1m +m12g +m2ja +m2j +m1ns +2m12r +2m12r +m1v. +m2v +m1vb +m2v +m1vh +m1vr +m1vv +m2z +m2z +mj2n +mjobb1o +mjo2g12s +m2j1ol +mj1s +mj1s +mkar2 +mka2r1r +mke1p +mkia2 +mki2 +mkie2 +mk2la +mk2li +mk2l +mk2lo +mk2lu +mk2rost +mk2ra +mk2r +mk2re +mk2r +mk2ri +mk2r +mk2ro +mk2r +mk2va +mk2v +mla1f +mlap2r +mla2p1ro +mla2p1e2 +mla2pin +mla1s2t +mls3s +ml2s3z +mle1g2 +mle2 +mle1kn +mle1pla +ml2k1a2 +ml2k1 +ml2k1el +ml2k1est. +ml2k1r. +ml2k1ol +ml2kos +ml2k +ml2k12 +ml2sz +mlo2k1l +mlo2k +ml2s1a2 +ml2s12 +mmag1g +mma1gl +mmai2 +mmas2 +m2m1atk +m2me. +mme2g1 +mmif2l12v +1mo +mo2be +2m1obj +moci1 +2m1off +mo1g2rf. +mo1g2rff +mo1g2rfk +mo1g2rfn +mo2gy1a2 +mohu2 +mo2is +mo2kab +mo2k1ad +mo2k1a2k +mo2k1a2l +mo2k1a2n +mo2kar +mo2kd +mo2k1l +mo2k12s +mo2k1e2 +mo2k1il +mok1k2 +mo2k1ol +mo2k1or +mo2k12 +mo2k +mok1t +2m1oktat +moku2 +mo2kur +mok2 +mo2ks +mo2k1to +mo2k +2m1o2laj +2m1olda +m1old +2m1o2lim +molli2 +mol2l1in +2m1oll +moli2ko +2m1oltr +2m1olts +2molvad +2molvas +2m1oml +mon1ac +mo2n1a2d +mo2n1a2l +mo2n1an +mo2n1a2p +mona2r +mo2n1as +mo2n1ll +mo2neg +mo2n1er +mo2n1is +mon2or +mo2n +mons2 +mon1sp +mon1tr +mo2n +mo2n +mony2 +mo2nyz +mo2or +2m1opc +2mope +mo2per +mo1p2l +2m1opt +mo2r1ad +mora2n +mor1any +mor2la +2m1ord +mo2r1el +mo2ren +mo2r1e2r +mo2r1est +mo2rid +2morie +mori2s +mo2r1isk +mo2r1iszo +mor1izg +mo2r1ol +mo2r1ont +mo2r1n +mo2r12r +mo2rs +mo2r +2m1orr. +mor1s2 +mort2 +mor3t +mor1tr +mo2r +mo2r +mo2sl +mo2s1e +2mosto +2m1ostr +2m1osty +mo2s +mo2szal +mo2szis +2m1oszlo +mo1t2h +2m1ottha +mot2to +mo2un +mo2us2 +mo2vi +mo2xi +mo3zso +1m +m2g +m1bl +m2ch +mcsa2p1 +mcsap2 +m2d1a2l +m2dau +m2dk +m2dr +m2d1e2 +m2dip +m2d1o2r +md2 +m2d1r +mdu2 +mdus1 +m1fl +mi2ko +m1k2l +mkus1s +m2lar +m1p2r +m2rak +m2rar +m2rg +m2ri +m2rj +m2rm +mri2as +mr2 +m2r1n +m2r +m1s2k +m1the +1m +m2b +m2ko +ml2cs1a +ml2cs +ml2csel +ml2cs1es +ml2cs1r. +ml2cs1il +ml2cs1o +ml2cs1 +m2le +m2nu +m2r1 +m1tl +m2ve +m2v +m2v +m2v +1m +ma2n +m2g +me2l +me2r +m2l +m2te +m1kl +m1ps +m2r12r +2m1rh +2m12ri +m2si +m2s +ms3zr +m2l +m2zi +mpa1dr +m2p1akc +m2p1akt +m2p1ll +m2p1rko +m2p1tj +m2p1tk +mp2ci +mp1elt +mp1fr +mp1ind +mpi2re +mp2lak +mplo2mal +m1p2lu +mpon1d2 +m2p1ord +mporta2 +mpor2t1al +mpor2t12r +mpor2t1e2 +m2p1oszts +m2p1s +m1p2ref +m1p2rep +m1p2rs +m1prib +m1p2ric +mp2rio +m1p2rod +m1prof +m1prog +m1proj +m1p2ro1p +m1p2rot +m1p2rb +m1p2ru +m1p2szi +m2p1u2ta +m2p1ut +m2p1z +mra1p +mren2d12 +mr2m1 +msa2vo +ms2ka +ms2k +ms2ki +ms2ko +ms2l +ms2mi +ms2ni +ms1ond +ms2pa +ms2pe +ms2pi +ms2po +ms2p +ms2r +ms2ta +ms2t +ms2te +ms2ti +ms2t +ms2to +mst2r +ms2t +msza2k +msza2k1 +mszraz1 +msz2c +msz2dem +m1sz2f +mszn3n +msz2l +msz2m +m1sz2p +msz2t +m1sz2v +mta2n12 +mtra2d +mt2r1ada +mts3s +mtksz1 +mtran2s +mtransz1 +mt2r +mt2re +mt2r +mt2ri +m1t2r +mt2r +mt2r +1mu +2m1udv +2m1ugr +m1ujj +2mulet +2mulz +mu2m1ad +mu2m1el +mu2ml +mu2m1s +mu2min +mu2m1ir +mu2mis +mu2m1iv +mumksz1 +mu2m12 +mu2m +mu2m +mumus1s +mun1g +mu2nok +2mur. +mu2ral +mu2ram +mu2rat +mu2rl +mur1izm +mu2r1u2 +mu2sal +mu2san +mu2sar +mu2sas +mu2sat +mu2s12g +mu2sl +mu2s1e +mu2s1rt +mu2sir +mu2sor +mu2s12 +mu2s +muss2 +mus3sze +mus2tr +mus2t1erj +mu2szal +mus3zav +mu2szl +mu2szs +mu2t1a2g +mu2tal +mut1a2la +2m1utal +2mutalv +muta2n +mu2t1any +mu2tas +m1u2taz +mu2t12ra +mu2t1rb +mu2t12ru +2m1u2ts +2mutca +mu2t1el +mu2til +mu2t1in +2m1u2tol +2m1u2td +2m1u2tp +mu2t1 +mu2t +1m +m2j +ml2t1e2 +ml2tol +2m1r. +m2ri +2m1rn +2m12sz +2m1tb +m1th +2m12ti +2m1tj +2m1tk +2m1tm +2m1tn +2m12to +2m1tr +2m1tt +2m1tv +1m +m2d +m2d +m2gy +m2n +m2re +m2r +m2r +m2te +m2t +m2t +m1tz +m2ve +m2v +m2ze +1m +m1bl +m1br +m1fl +m1fr +m1gr +m1kl +m1pl +m1pn +m1pr +2m1rl +m1sp +ms2 +m1sz +mtksz1 +mves3s +m2z +m2zi +m2z +m2z +m2z +m2v1a2dot +mvgya2d +mv2gy1ada +mvers3s +mw2hi +mza2t1e +mzs3s +mze2r1o +mze2t1a2 +mze2t12 +mze2t1e2g +mze2t1el +mze2ter +mze2tesz +mze2t12k +mze2t1rd +mze2to +mze2t12 +mze2t12 +mz2s1a +mz2so +mzksz1 +mze2r +mz2r +2n. +1na +naa2d +n1abb +2n1abr +2n1abs +na1cl +2n1a2dag +2n1a2ds +2n1add +na2dek +2n1adm +2n1a2d +na1d2re +2n1adt +na2du. +na2dus +na2ei +na2r +2n1aff +na2ga. +na2gr +na2git +na2gn +na1gr +nagy1agg +na2gy1a2l +na2gyapj +na2gy1as +na2gyav +na2gy12k +nagy2 +nagy1r +nagy1t +na2ire +na2ji +2n1ajk +2n1a2kad +nakar2 +nak12sz +na2k1t +n1akko +na1kli +na1klu +nako2l +nak1ola +2n1a2k. +na1k2r +n1akti +2n1a2kus +na2k1tn +na2l1a2d +2n1a2la2g1 +na2l1aj +na2l1a2l +na2lana +2n1a2lapa +2n1a2lapd +na2lapr +na2lapt +na2lar +na2lav +na2l1br +na2lg +na2l12l +na2l12ro +nal12t1 +na2l1ts +na2l1el +na2l1ell +nal1eng +nal1ent +nal1g. +na2l1k +na2l1ri +na2lid +na2l1ing +na2l1i2o +na2l12r +2nalzisb +2nalzise +2nalzis +2nalzish +2nalzisi +2nalzisk +2nalzisn +2nalzisr +2nalzist +2nalzis +2nalj. +n1alja. +3naljac +n1aljad +n1aljai +2naljak +n1aljam +n1aljat +n1alji +2naljon +2nalju +2naljz +2n1alkat +na2l1ob +na2l1ol +na2lop +nal1osz +na2l12r +na2l1 +nalt2 +nal1tr +na2lulj +na2l1ut +na2l +na2mer +2namitbo +2n1a2mite +2n1a2mitg +2namitha +2n1a2mitk +2n1amitl +2namitm +2namit +2n1a2mitp +2namitro +2namitr +2namits +2namitt +2namitt +2n1am +2n1amp +2n1a2nal +2n1ang +2n1anh +nano1 +nanog2 +na2nd +2n1a2nyag +nao2l +na2r +2napa. +nap1ad +na2p1a2g +na2p1ala +na2p1alk +nap1a2pa +nap1ap +nap1ar +na2p1as +na2pd +na2p12g +na2pk +nap1ll +na2pm +na2p1rb +na2p1tm +nape2l +nap1ell +na2pem +nap1est +na2p1ill +na2p1ing +na2p1int +nap1isk +na2p +nap2lat +na2p1ola +nap1orm +napos1s +na2p1ost +na2p1ott +na2p. +na2p12r +napp2 +2nappo +nap1pr +n1apr +2naprz +na2p1u2t +na2p1r +2n1a2rai +2narann +2n1arany. +2n1a2ranya. +2n1a2rany +2naranyb +2naranyh +2naranyk +2naranyn +2naranyr +2naranys +2n1aranyt +2n1arc. +2n1arc +narchi2ab +2n1arco +2n1arcu +2n1arc +2narr +2n1arz +na2sv +nas1isk +2nask +na1s2ka +na1s2r +nast2 +na1s2ta +na1s2t +na1str +na2sz1an +na2sz1rad +naszksz1 +nasz1g +na2t1ab +na2t1aj +na2t1alk +na2t1alt +nat1ar +nat1ll +na2t12r +na2t1rn +na2t1eg +nate3le +na2t1el +nat1elle +na2tl +nat1rke +na2t1rv +na2t1i2m +na2t1ing +na2t1old +nat1ors +na2t1osz +na2t1u2t +na2tl +nat2z +2n1a2ty +na2uc +na2ul +nau2ra +na2ur +nau2s +na2uto +na2z +na2vart +na2vat +2n1avv +na1wh +2n1azb +na2z +2n1a2zo +1n +2n12b +2nbr +n2caj +n2c3h +n2c +n2csal +n2csap +n2cs1as +n2cse +nc3sik +n2csis +2ncsolat +nc3sor +n2cs +n2cs +nc3sz +n2d1ala +n2dap +n2d1a2r +n2d1asz +n2d1a2v +n2d +nd1d +n2d1e2 +n2d1 +n2dud +n2d12 +n2d3z +n2ga +n2g +n2gi +n2gu +n2g +n2gy +2n12h +n2k1r. +n2kol +n2k +n2lab +n2l1a2l +n2lana +n1lar +nla2te +n2l1az +n2l1t +nle2 +n2l1eg +n2l1el +n2lem +n2les +n2l +n2l1p +n2l1in +n2lir +nl2is +n2l +2n1ll. +2n1lla. +2n1llap +2n1llat +2n1ll +2n1llom +nllkz1 +n2l +n2m +n2mu +n2nad +n2n1al +n2nar +n2n12r +nn2c1e +n2n1e2 +nn2 +n2nt +n2nin +n2n +nn2se +n2n +n2rad +2n12raka +2n12rakb +2n12rakh +2n12rakk +2n12rakn +2n12rako +2n12rakr +2n12rakt +2n12ram +n2r1a2n +n2rap +n2ras +nr1ass +2n12rat. +n2r1att +n2r1av +n2r1c +n2r1l +n2r1e2 +n2r1ve +2n12riai +2n12ri +n2r1i2p +n2r +nr2 +n2r1r +n2r +nr1s2 +nrt2 +nr1tr +2n1rud +n2rug +2nrun. +nr1ur +2nrus +nru2t +nr1ut +n2rt +n2r +n2s1as +ns1r +n2s12ru +2n12ss +n2s1e2 +n2s1i2k +nst2 +ns1tr +n2szan +n2szas +n2szg +n2szl +n2sze +n2szn +n2szil +n2szin +n2szis +2n1szka. +2n1szoks +n2sz1 +n2sz1 +n2sz1 +n2tala +n2t1a2n +n2tl +nt1sv +n2t1e2 +2n1thi +n2t1i2o +2n12t1ir +2n12t +2n1tl +n2t1 +2n1tru +2n1tug +2n1tut +2n12t +n2t +2n1tvi +nba2k +nba2k1e2 +n2b12kb +n2b12kn +n2b12kr +n2b12kv +nb2la +nb2lo +nb2l +nbo2n1a2 +nb2ra +n1b2ri +nb2ro +nb2r +nburg2hi +nc1ac +n2c1aj +nc1ajt +n2c1akn +n2c1akt +nc1a2la +nc1alj +n2c1alk +nc1alt +nc1alv +nc1ana +nc1ant +nc1a2nya +nc1ari +nc1att +nca2u +n2c1ava +n2c1g +nc1rb +nc1rk +n2c1rn +nc1rt +nc12sa +nc1s +nc1bl +nc1br +nc3csi +nc3cso +nc3cs +nc3csu +nc1dr +ncea2 +nc1egg +n2c1eld +nc1e2lek +nc1e2lem +nc1elm +n2c1elv +nc1e2red +nc1er +n2c1eszt +nc1etn +n2c1ex +nc2g1r +nc2hes +n2c1p +n2c1vi +nc1fl +nc1fr +nc1gr +n2c3ha +n2c3h +n2che. +nc3hel +nc3het +n2c3h +nc3hi +nc3h +nc3hol +nc3hon +n2c3hoz +n2c3h +nc3h +n2c3hu +n2c3h +nci2alis +nci2aso +n2c1ige +n2c1i2g +n2c1i2ko +nc1i2m +n2c1i2na. +n2c1ind +nc1inf +n2c1ing +n2c1int +n2c1i2pa +n2c1ir +nc1iro +n2c1ist +n2c1i2ta +n2c1i2z +nc1j +n2c1r +n2c1v +n2c1z +nc1kl +nc1kre +n2c1ob +n2c1okta +n2c1o2li +nc1orv +n2c1ott +n2c1lt. +nc1ss +nc2t +nc1r +nc1pl +nc1pr +n2cs1ab +n2csac +n2csad +n2cs1ag +n2cs1ajt +n2csakt +ncs1alap +n2cs1alj +n2csam +n2csan +ncsa2p12g +ncsa2r +ncs1ara +ncs1arg +ncs1aro +n2cs1au +n2csaz +ncs1gr +n2cs1l +n2c3sr. +n2cs12r +ncs1rb +n2cs1rn +ncs1rr +n2csru +n2csta +n2cst +n2cstv +ncs1elf +ncs12rs +n2csrte +n2cs1rt +n2c3sr +n2c3sta +ncs1i2kon +ncs1int +n2cs1io +n2csipa +n2csir +ncs1irt +n2cs1ism +n2csita +ncs1izz +nc3ski +n2cs12r +ncs1zt +n2csob +n2cs1oks +n2csokta +n2csosz +n2cs12l +n2cs1s +n2cs1z +n2cs1r. +ncs1r +ncs1s +n2csur +ncsu2t +ncs1uta +n2cst +n2csg +n2cst +ncs3zr +nc3sze +nc3sz +nc3sz +nc1tr +n2c1ud +n2c1ug +nc1uj +n2c1ur +n2c1j +nc1t +n2c1g +n2c1t +nc1v +n2c1z +n2c1r +nc1ya +n2c3z +nc3ze +n2c3z +nc3z +nc3zs +nc3z +nczy1i +nd1abl +nda1br +nd1a2dat +nda2ds +nd1add +n2d1aj +n2d1akc +n2d1akk +nd1akt +n2d1alj +n2d1alr +nd1ann +nd1ap +nd1a2rn +nd1arr +ndat1any +nda2tap +nda2t1eg +nda2tin +nda2tir +nd1azo +nd1azt +nd1azz +nd12rak +nds1s +nd1bl +nd1cl +nd1dr +nd1ebb +n2d1e2kb +n2d1e2kin +nde2kz +n2d1elf +n2d1ellen +n2d1elm +nd1el +nde2mer +nde2mu +nde2m1 +nde2n +n2dennek +nde1p2 +nde2r1a +nde2rl +nde2rz +nde2rel +nde2ro +n2d1er +n2d1e2sett +n2d1e2ss +n2d1e2s +nde2sza +n2d1e2sz +nd1eza +nd2go +nd2kel +nd1kez +nd2k +n2d1le +nd1lm +n2d1p +nd2raj +n2d1ssz +n2d1szh +n2d1szl +n2d1szr +n2d12te +n2d1tt +nd1fr +nd1gr +n2d1iga +n2d1ige +n2d1ill +n2d1i2na. +n2d1ing +n2d1ins +n2d1i2onj +ndi22 +ndi2f +ndi2m +n2d1isza +nd2j1a2da +nd1kl +n2d1o +ndo2k1t +ndo2rl +n2d1orni +ndo2r1 +n2d1ou +n2d1ov +nd2r +nd12ni +n2d12r +nd2b +nd1ss +n2d12z +n2d1r. +n2d12r1a2 +n2d1rb +n2d1rc +n2d1rd +nd12reg +nd12rei +nd12rek +nd12rel +nd12rk +nd12rn +nd12rr +nd12rt +nd12rv +n2d1rf +n2d1rg +nd12rig +nd1ris +nd12rit +n2d1rj +n2d1rk +n2d1rl +n2d1rm +n2d1rn +nd1rok +nd1ros +n2d12r +nd1rs +n2d1rp +n2d1rr +n2d1rs +n2d1rt +n2d1r +n2d1rv +nd1pr +nd2raz +n1d2ruk +nd1sl +nd1sp +nd1st +ndsz2m1t +ndsze2r1e2l +ndtr2s1a2d +nd1u2szo +ndu2t +n2d1uta +nd1j +nd2r +nd1sz +n2d1g +nd1nn +n2d1z +n2d1r. +n2d1rr +n2d1rt +n2d1z +ndy2b +ndy2h +ndy2n +ndy2r +ndy2t +ndy2v +nd3zav +nd3zr +n2d3ze +n2d3z +n2d3zu +1ne +nea2j +nea2k +nea2la +ne2alo +nea2n +nea2r +ne2b +ne1bl +ne1dra +ne1d2r +ned2v1el +ne1dy +2n1e2dz +2neff +2n1e2ger +2n1egr. +ne2g1 +n1egy. +n1egyb +ne2gyek +ne2gyen +ne2gyes +ne2gyet +ne2gyez +2n1e2gy +n1egyf +n1egyh +ne2gyig +n1egyk +n1egym +n1egyn +n1egyr +2n1egys +n1egyt +ne2gyn +nehz1 +2n1ehh +nei2g +ne2r +ne2k1aj +ne2k1a2n +ne2kt +ne2k1e2g +nek1er +nek12j +ne2kk +nek1kn +nekie2 +2nekj +nek1k2 +2nekka +2nekki +ne1klu +ne2k1ok +nek2r +ne1kre +nek1t2 +ne2k1g +nek1ld +ne2lag +ne2laj +ne2l1an +ne2ll +nel2r +ne2lef +ne2leg +n1elegy. +nel1e2le +nele2ma +nelem1el +nel1e2ms +nel1eng +ne2ler +ne2l1p +nelf2 +nel1g2 +2n1elha +ne2l1id +ne2lim +ne2l1in +n1ell +2n1elnev +ne2l1ot +ne2l12 +ne2l12 +2n1e2la +2n1e2l +ne2ld +ne2lf +ne2lh +2n1e2l +2n1e2lk +ne2ll +2n1elny +2nelrej +2n1e2lt +2n1eltr +ne2l1l +2n1elz +ne2mak +2nemba +2n1ember +neme2g +nem1egy +2nemele +2n1emelk +ne2m1esz +ne2m1r. +ne2m1id +nem1isz +2nems +2nemul +2n1eng +2n1enn +nen2sa +nense2s +nen2s1ese +nens3s +nen2s3z +2n1enyv +2n1enz +ne2ob +ne2od +ne2of +ne2og +ne2oh +ne2oko +ne2ola +ne2oli +ne2oro +ne2pad +ne2pelm +ne2p1est +ne2pid +ne2p12r +ne2p1ut +ne2r1a2d +ne2r1a2k +ne2r1a2n +ne2r1a2r +ne2r1as +ne2raz +ne2rb +ner2co +ne2r1e2g +n1e2rej +ne2r1e2ke. +ne2r1e2l +ner1emel +ne2r1er +ne2rez +ne2rg +ne2r1l +ne2r1p +ne2r1tt +ne2r1id +ne2r1iga +ne2r1il +ne2r1i2m +ne2r1inf +ne2r1ing +ne2r1int +ne2ris +ner1k2 +ne2r1ol +ne2ror +ne2r1os +ne2r +ne2r1n +2n1e2r +3n2e3rk +ner1s +ner1tr +ne2r1u2 +ne2r1g +ne2s1alj +ne2sas +ne2s1l +ne2sr +2n1e2setb +2n1e2setr +2n1e2ss +2n1e2s +nes3sza +nes3sz +2n1est +2n1esti +ne2s12v +nesz1l +ne2s3zr +ne2sz1l +ne2sz12 +ne2t1ab +net1a2la +ne2t1a2ny +ne2tl +ne2t1t1 +ne2t1e2g +net1el +net1elm +ne2t1ela +ne2t1eml +net1este +ne2t1esz +ne2t1etet +ne2t1eti +ne2t12k +ne2t12l +ne2t1r. +ne2t1rd +ne2t1r +ne2t12r. +ne2t12rk +ne2t1rr +ne2trte +ne2t1rt +ne2t12r +ne2t1sz +ne2t12ve. +ne2tid +ne2t1i2ko +ne2t1int +ne2tip +netk2sz1 +ne2t1o2k +ne2tol +net1old +ne2t12 +net2tv +ne2tun +ne2t1ut +net2l +net1l +ne2t12z +2n1e2v +2n1evv +nexpor2t12 +ne1y +2n1e2zer +2n1ezred +2nezs +1n +2n1br +2ndl +n1f2r +2n1g. +2n12gek +2n12get +2n12get. +2ngeth +2n12getk +2ngetn +2ngett +2n12g +2n1gj +2n1gn +2n12g +2n1gs +2n1gt +2n12g +n2gyer +n2gyn +n2gy1o +n2gyk +2n12hes +2n1hs +n2kaj +n2kak +n2k1a2n +n2kar +n2k1 +nke2l +nk1ele +n2ker +n2kv +n2kid +nk1isz +2n12k +n2k +nk2 +n2kl +n12les +2n12let +2n1lm +n2li +n2ln +2nneke +2n12nek +npa2 +n2pad +n2p1ak +n2p1al +n2p1an +n2pap +n2p1as +n2pau +np2 +n2p1l +n2p1r +n2pt +n2p1z +n2peg +n2p1e2l +npe2r +np1etet +n2p1etn +n2pev +n2p1s +np1f2 +2n2p +n2p1o +n2p1 +n2p +np1s +n2p1us +n2p +2npl +nra2 +n2raj +n2r1an +n1rd +2nrde +2n12rem +n2r. +n2rs +n2ri. +n2rin +n2rip +n2r +2n12r. +2n1rt +n2r +2n1rz +n2s1e2l +n2s1g +ns3szer +nsz1ak +nsz1al +n2sz1 +n2szeg +n2sz1e2l +n2sz1emb +n2sz1e2sz +n2sz1k +n2szik +n2sz1 +nszksz1 +n2sz +n2sz12 +n2szu +n2sz1 +n2szl +n2t1eg +2n12tel +n2t1es +2n12tet +nti2 +n2tir +n2t +n1t2r +nva2 +nv1ada +nv1ad +n2vaj +n2var +n2vav +n2v1g +2n1vb +2n12ve. +2nvei +2n12vek +nve2l +n2v1ele +nv1el +2n2vem +2nvenk +2nvent +n2v1e2r +n2ves +nv1esz +2n2vet +2nvb +n2v12l +n2v1ri +n2vr +n2v1rz +n2vis +2nvny +n2v1o +n2v +n2v +n2v1u2 +n2v +n2vn +n2za +nziu2m1i2 +nfe2lem +n1f2la +n1f2lo +nfluor1e +nfol2ta +n1f2rak +n1f2r +n1f2rek +n1f2ri +n1f2r +n1f2r +n1f2ru +nfs2t1l +n2g1abl +n2g1a2dat +n2g1a2d +ng1a2d +n2gad. +n2gada +n2gadb +n2gadi +n2gadj +n2gadk +n2gadr +n2gads +n2gadt +n2gadv +ng1akn +n2g1akr +n2g1akt +nga2lag +nga2lak +nga2lap +ng1alt +ng1alel +n2g1alg +n2g1alj +n2g1a2ny +nga1p2 +n2g1a2rn +n2g1arc +n2g1art +n2g1arz +n2g1asp +ng1assz +n2g1aszt +nga1tr +n2g1a2u +n2g1ava +nga2zon +ng2c +n2g12g +ng1ll +ng1llo +ng1ll +n2g1p +ng12rak +ng1ras +ng1rat +ng2rt +ng2rv +ng2r +n2g1rnya +n2g1rta +ng2ruk +n2g12r +n2g12szaib +n2g12szair +n2g12szait +n2g12szv +n2g12sz +n2g12szi. +n2g12szig +n2g12szok +n2g12szos +n2g1t +ng1tc +n2g12t1e2 +n2g12ti +n2g1tk +n2g1tl +n2g1tm +n2g1ts +n2g1tv +n2g12zj +n2g12zs +n2g1ztato +ng1bl +ng1br +ng1d2r +ng1edz +ngegsz1 +n2g1ela +nge2lis +nge2r1a +nge2rl +nger1e2sz +nger2im +nge2ro +n2g1esem +n2g1eszk +nge2tika +n2g1ex +n2g12g +ng2les +n2g1p +n2g1rc +ng1rl +ng12r. +ng1rt +ng2sa +n2g1te +ng1fr +ng1g2r +ng3gyi +ng3gyo +n2g1i2d +ngi2g +n2g1iga +n2g1ige +n2g1ig +ng1i2ko +n2g1ikr +n2gill +ngi2m +ng1imi +ng1inf +n2g1ing +ng1ins +ng1iro +n2g1izg +ng1g +ng1r +ng1v +ng1z +ng1kl +ng1kr +ng1kv +n1glec +ngmeg1 +n1g2n +n2g1of +n2g1op +ngora1 +n2g1ord +n2g1org +n2g1ork +ng1osto +ng1oszt +n2g1otth +ng2ri +n2g1b +ng1nt +ng2r +ng1r +ng1rv +n2g1v +n2g12z +ng1r +ng2z1s +ng1pr +ng1ps +n1g2ram +ng2rdih +ng2rdj +n1g2rf +ng2run +ng1sh +ng1sk +ng1sp +ng1tr +n2g1ud +n2g1ug +n2g1uj +n2g1und +ng1u2ra +n2g1uta +n2g1j +ng1tt +n2g1d +n2g12g +ng1r +ng1t +n2g1z +ng1r +ngy1a2gya +ngya2l12 +ngy1ass +n2gy12l +n2gy1em +n2gy1es +n2gyez +n2gy12d +ngy1ks +ngy1kt +ngy1r. +n2gyid +n2gyim +n2gy1ut +n2gy12l +nha2b1i +nhal1k2 +nha2sbr +nh2z1alt +nh2zip +nh2zol +nh2z +nh2z3s +nhe2d3z +nhe2i +nh2s +nhs3s +1ni +ni2aa +ni2a +ni2abo +ni2ac +ni2ad +ni2ae +ni2a +ni2afo +nia1g2 +ni2agy +ni2ah +ni2a +ni2aj +ni2ala +ni2al +ni2am +ni2ao +ni2a +ni2a +ni2a +ni2a1p +ni2ar +ni2asza +ni2asz +nia1t2 +ni2ato +ni2atr +nia3u +ni2a +ni2av +ni2az +nit1a2 +2n1i2bo +ni1br +ni2c1e2l +ni2cha +ni2c3he +ni2c3h +ni2c3ho +ni2de. +2n1i2deg +2n1i2d +ni2d +ni2et +2n1ifj +2n1i2gal +2nigaz. +2n1i2g +ni2ge. +ni2gj +2n1i2gn +ni2gz +2nigm +2n1ihl +ni2keb +ni2k1el +ni2k1em +ni2k1rt +nikk2 +ni1klu +ni2konr +2n1ikrit. +ni2kud +n1ille +2nillu +2n1i2ly +2nimd +n1i2m +2n1imp +2n1i2na. +ni2nas +ni2n1ll +2nind +2n1info +2n1inf +nin2gas +nin2g +2n1inge. +2ningei +nin2g1e2l +nin2g12 +nin1g2r +nin2gu +2n1ingk +ni2n1i2p +ni2nol +2n1int +2n1i2onb +ni2onc +ni2onh +ni2onj +ni2onk +2n1i2onn +2n1i2ono +2n1i2onr +2n1i2ont +ni2a +ni2d +ni2e +ni2p +ni2ta +ni2t +ni2 +niv2 +nip2p1i +ni1pr +ni2rat +2nir +nirsz1 +2n1irg +2n1irh +2n1irk +2n1i2rod +ni2rn +ni2si. +ni2s1in +nis2v +nisz1ak +ni2szeg +ni2szeml +ni2szese +ni2sz12l +ni2szip +ni2szis +nisz1okt +nisz1ol +2n1iszon +ni2sz +ni2sz1 +ni2szu +ni2t1a2d +ni2t1ag +ni2t1aj +ni2tal +nit1a2la +ni2t1as +2n1i2tat +nit1ell +ni2t1p +ni2t1r +ni2tim +ni2t1in +ni2tir +ni2tob +nit1old +nit1olt +ni2t1osz +ni2tr +niu2m1i2o +2n1i2vad +2n1i2var +2n1i2v +ni2xa +ni2x +ni2zn +2n1izg +2n1izm +n1izom +ni2zsol +1n +n2g +n2ja +n2ju +nli2a +n2ra2 +2n12r +n2r12 +n2r1ot +2n12r +n2r1 +2ntl +nta2 +n2ve +2n12vi +n2ze +n2z +nk1a2ds +nkai2k +nk1ajt +n2k1akk +n2k1alv +n2k1an +nka2ny +nka2 +nka1p2l +nk1app +nka2ris +nka1s2k +nka1sp +nka2tom +nka1t2r +nk1azo +n2k1g +nk1rad +nk2rl +nk2rol +nk2ruk +nk2sad +nk2sal +nk2sav +nks3s +nk2s3z +nkta2 +n2k1tj +n2k1tm +n2k1ts +n2k1tu +nk1br +nkci2s +nk1dr +nk1e2cse +nk1e2dz +nk1ela +n2kell +n2k1elt +nke2r1a +nk1ered +n2k1e2r +n2k1e2ti +n2k1e2v +n2k12l +nk2p1el +nk2p1s +n2k1p +n2k1rc +nk12sz +nk1g2r +nkia2 +nki2 +nk1i2ga +n2k1ig +n2k1imi +nk1ind +n2k1ing +n2k1int +n2kinz +nk1i2on +nki2s1i2 +nk1ism +nkk2 +nk1k2r +nk2lar +n1k2l +n2k1ob +nk1oke +nkos3s +n2k1oszl +n2k1ox +n2k1n +n2k1ni +nk1p2 +n2k12ri +n2k12l +n2k12l +nk1ss +nk1tl +nk1rs +nk1pl +nk1pr +nk2rac +n1k2ris +n1k2r +nk2roma +nkron1n +nk1sp +nk1st +nk1sz2 +n2k1ud +n2k1u2ra +n2k1u2s +nk1utal +n2k1ut +n2k1uz +n2k1j +n2k1s +n2k1g +nlac1 +nla2pa +nlap1e +nla2p1osz +nla2tal +nla2t1a2n +nla2t1e2 +nla2t12te +nls3s +nle2g1 +nle2 +nle2t1o +nlet2 +nle2tz +nl2ts +nl2t12ve. +nme2g1a2 +nme2g1 +nm2n +nmt2 +nna2i +nnak2 +nna1kr +nn1alv +nna1p2r +nna1s2 +nn1ll +n2n1eml +nne2p1a2 +nne2se +nn1ess +nn1esz +n2n1e2tet +n2n1ett +nn1evez +nn2get +nn1ri +n2n1id +nn1irt +nn1ors +nn2h +nn2n +nn1sy +n2n1ug +nn12s +n2n12c +nn2l +nn1l +nn1lt +nn1lv +n2ny +n3nyak +n3nyal +nny1a2n +n3nyar +nny2r +nny1z +n3nydr +nny1ell +n3nyel +nny1elt +nny1elv +nny1elvez +nny1e2sett +nny1e2ss +nny1e2s +nny1g +nny12k +nny12ki +nnyi2h +nnyi2ne +nnyi2g +nny1ig +n3nyj +nny1old +nny1on +nny1z +n3nyst +1no +no1d2r +2n1o2d +2nog. +2nogh +2nogj +2nogn +2nogo +2nogs +2nogt +2nogv +no2ir +2nokal +nok1ala +no2k1a2r +no2kau +no2k1l +no2k12l +no2kp +no2k1ing +nok1ist +nok1k2 +2n1okke +2n1o2koz +no2k +no2k +no1k2ro +nok1s +noksz2 +no2kur +no2kr +no2k +2n1o2la +nol1f2 +2n1o2lim +2n1oll +2n1o2ly +no2m1a2c +nom1p +nona2 +no2n1al +nonc3c +non2ch +nonc3sz +no2n1e +non1k2 +no2n +no2n +non1s2 +no1ny +no2ok +2n1o2pe +no1p2la +no2r1al +no2r1a2t +no2raz +no2r1el +no2r1iv +no2r +2n1ormo +2n1orr +nor1s2 +no2r +2n1orvo +no2sl +no2se +nossz2 +nos3sze +nos3szf +nos3szi +no1s2tab +nosza2u +no1sz2f +2noszl +no1t2r +2n1otth +no1ty +no2ui +2n1o2vi. +no2xi +1n +na2k +n2r +n2ce +n2ch +n2da. +n2d1a2n +n2dk +n2d1e2s +n2d1is +n1fl +n1fr +n1k2l +n2mac +n2m1em +n2mik +n2m1u2t +n2m +n2nib +n2non +n1p2r +n12rac +n2r1ad +n12raf +2n12rai +n2r1a2l +n12rar +n12ras +n12rat +nrdi2 +n2rs +n2ri +n2r +ns1akk +n2seg +n1sl +n1s2p +n1s2r +ns3s +n1s2ta +n1sz2 +ns3zene +ns3zen +nt1ala +n2til +n1tr +n2v +1n +n2ka +n2k +n2k1el +nke2t +nk1eti +n2k12j +n2k1k +n2k12l +n2k1r. +n2k1ri +n2k1rt +n2ko +n2k +n2ku +n2k +n12le +n12l +n2l +n1ml +2n12n +2n1nz +n2r +2n1ssz +2n12sz +n2te +n2t +n2ti +n1tl +nt1t2 +n2t +2n1v. +n1vb +n12ve. +n2vn +2n1vr +2n12zn +1n +na2l +na2n +n2g +n1br +n2ca +n2ch +n2csr +n2css +n2cs +ne2r +n2l +nf2l12 +n1kl +n1pl +n1pr +2n1r. +2n12r1an +2n1ras +2n1rb +2n1rc +2n12rei +2n12rh +2n12rn +n2rt. +n2rt +2n12rv +2n1rg +2n1rh +2n12ri +2n1rk +2n1rl +2n1rn +2n12r +2n1rr +n1rs +2n1rt +2n1r +n2rl +n2rn +2n1rv +2n1rz +n2s1a2l +n2s1e2l +n2ses +n2s12r +n2sok +n1spe +ns3s +n1sz2t +n1t2r +nt2tin +nu2t +n2l +npa2dal +npe2s +npesz1 +np2la +np2l +np2le +np2l +np2lo +np2l +npon2t1a2 +npo2r1a +np2ra +np2re +np2r +np2ri +np2ro +np2r +np2sz +npu2t1a +npu2t12 +npu2t1e2 +npu2t1i +nrefle2x12 +nren2da +n2s1a2d +n2s1akc +ns1alk +ns1a2r +ns1ass +n2s1au +nsa2vr +nsa2v1e2 +nsa2vil +nsa2vol +n2s1a2z +nsg1g +ns1ll +n2s12rak +ns1ta +ns1tv +ns2ch +nsc3he. +nsc3hei +nsc3h +ns1dr +ns1e2l +ns1elm +ns1eln +ns1elo +ns1els +ns1elv +n2s1ene +n2s1esz +ns2gel +ns2g1j +nsg2kt +n2s1k +n2s12l +n2s1p +ns12ve. +ns1fr +n2s1i2d +ns1imp +ns1inf +n2s1ing +n2s1ir +ns1isk +nsi2z +ns1izo +n2s12r +n2s12v +n1s2kl +ns1kl +n2s1ob +n2s1ol +n2s1op +ns1osz +n2s1ott +n2s12r +n2s1s +ns2pec +ns1p2l +ns2por +n1s2r +ns1st +ns1sy +ns3szer +ns3szi +ns3szo +ns3sz +n1s2tab +n1s2tc +nste2i +n1s2tim +ns2top +nsu2r +ns1ura +n2s1u2t +ns1r +n2sz1a2d +nsza2k1 +nsz1alk +n2sz1a2n +ns3zar +n2sz12ba. +ns3zr +nsz12ru +n2sz1it +n2sziz +n2sz1omm +nsz1p2 +n2szut +n2sz12z +nsz1z +nt1abla +n2t1abr +nta2cl +ntad2 +nt1a2d +nt1a2ga. +n2t1agg +nta2gyu +nta2gy +ntai2k +n2t1ajk +n2t1ajt +n2t1akc +n2t1akt +nt1alt +nt1alel +n2t1alf +nt1anta +nt1a2ra. +nta2ran +n2t1a2r +n2t1arc +n2t1ark +nta1s2p +nt1assz +n2t1aty +nt1a2ura +nta2 +n2t1azo +nt1br +nt2cs +nt1csi +nt1cso +nt2r1a2d +n2tram +nt2rv +nt1rny +nt2ruk +n2t1s +n2t1sv +n2t1ti +n2t1tl +n2t1tr +n2t1ts +n2t1tv +nt2zsi +nt1bl +nt1br +nt1dr +nt1ebe +n2tedn +nt1edi +nte3g +n2t1ela +n2t1elb +ntele2m +nt1elf +n2t1elj +n2t1elk +n2t1ellen +n2telml +n2teln +n2t1e2lo +nte2l +n2t1elr +n2t1elto +n2t1elv +n2t1elz +n2t1ember +n2t1e2mel +n2t1eml +n2t1emu +n2t1endr +n2t1ent +nte2rl +nte2rele +nte2r1in +nter2v1e2l +n2t1erz +n2t1esth +n2t1eszk +n2t1eva +nt1e2vet +nt1e2vez +nt1g. +nt12g +n2t12kek +nt2kes +nt2k +n2t1ks +n2t12le +n2t12ls +n2t1lm +n2t1lt +nt1l +n2t12neke +n2t1p +n2t1rin +n2t1rm +n2t1rt +n2t1rz +nts3s +nt2ter +n2t12ven +n2t12vet +n2t12vb +n2t12vn +n2t12vr +n2t12vt +nt1vh +nt1vk +nt1vt +nt1fl +nt1fr +nt1gr +ntia2n +ntia2t +nt1ido +n2t1ige +nti1k2l +ntil2lt. +n2t1ille +n2t1imp +n2t1info +n2t1ing. +n2t1inga +nti1nk. +n2t1int +nti1 +nti2par +n2t1ir +n2t1iro +n2t1isk +n2t1ism +n2t1iste +nti2vs +nt1izo +n2t1g +n2t1j +nt1r +n2t1vb +n2t12z +nt1kl +nt1kr +n2t1of +ntoka2 +n2t1o2k1al +n2t1okl +n2t1olda +n2t1old +n2t1o2ly +nto2m1e2 +nt1opc +nto2ras +nto2rk +nto2rin +nt1orm +nt1orro +n2t1oszl +n2t1oszt +n2t1otth +nt1p +n2t12r +n2t12ri +ntt2 +nt1tr +nt1kl +nt12k +nt12l +nt1nt +n2t1rd +nta2 +nt2n +nt1rb +nt1rl +nt1rn +n2t1z +nt1pl +nt1pr +nt2rans +ntransz1 +ntranszk2 +n1t2rf +n1t2rf +nt1ry +nt1sh +nt1sk +nt1sp +nt1st +ntsz2 +ntsz2m1 +nt1szv +nt1t2r +n2t1udv +n2t1ug +n2t1uj +ntu2mor +ntu2n +n2t1una +nt1und +ntun1i +nt1u2r +ntu2sza +nt1ut +n2t1g +n2t1j +nt2ral +nt2ran +nt12sz +n2t1g +n2t12l +nt1lt +n2t1t +n2t12v +n2ty1a2l +n2ty1a2n +n2tyl +n2ty1e2l +n2ty1l +n2ty1ik +n2ty1int +n2ty1iv +n2ty +n2ty12r +n2tyut +1nu +n1ucc +nu2ga +nu2go +2n1ujj +nu1k2la +nu1klu +nu2m +2n1und +2n1u2ni +2n1u2no +2n1unt +nu2ram +nu2r +nu2sal +nu2sas +nu2s1av +nu2s1e +nu2s1rt +nu2sik +nu2sol +nu1s2po +nuss2 +nus3szi +nu2szab +nu2s3zav +nu2szir +nu2sz +nu2sz1ol +nu2tal +nu2tat +nu2taz +nu2tl +nu2te +1n +n1jd +n2j +2n1js +nksz1 +n1pr +2n1r. +2n1rb +2n1rh +2n1rn +2n1rr +2n1rt +2n12sz +2ntb +2nth +2ntj +2n1tk +2n1tn +2ntr +2n1ts +2ntt +2n1tv +1n +n1bl +2n12d +2n1dv +n1fr +2n1gg +n1gr +2n1gy. +2n1gyb +2n1gyc +2n12gye. +2n12gyei +2n12gyek +2n12gyes +2n12gyet +2n12gy +ngy1s +2n1gyh +2n12gyi +2n1gyk +2n1gyl +2n1gyn +2n1gyr +2n1ld +n1pr +n2r +nst2 +n1str +2n12tem +n2ts +n2ti +n2t. +n2tk +n2ts +n2t +n2v +n2z +2n1zl +1n +n2z +n2z +nva2su +nvgya2d +nv2gy1ada +nv2gy1n +nv2r1al +n2v1t +nven2ta +nv2d1a +nv2d12r +nv1ind +nvona2l1t +n2v1os +nv1sk +nx1ar +n2y +1nya +2ny1abl +2ny1abr +nya2cl +2ny1adag +2nyads +2nyad +nya2dz +2nyaff +nya2gar +2nyagh +2nyagr +2nyagv +2nyagc +nya2gen +2nyagi +2nyagj +2nyagm +2nyagos +2nyagta +2nyaguk +2nyag +2nyajn +2nyajk +2nyajt +3nyak. +nya2k1ala +nya2kara +2nyakc +nya2kel +nya2k12k +nya2kiz +2nyakt. +2nyakt +2nyaktb +2nyakti +2nyaktj +2nyakto +2nyaktu +2ny1a2lag +2ny1a2lak. +2nyalakj +2nyalakk +2ny1a2lakr +2nyalany +nya2lapb +nya2laph +nya2lapo +nya2lapp +nya2laps +2ny1alsz +2ny1alb +ny1alp +2ny1alm +ny1alte +2nyalt +2nyamal +2nyanal +2nyang +2ny1ant +2nyaot +ny1a2pad +nya2pt +2nyapp +nya2rn +2ny1arma +2ny1arz +nya1sp +2nyassz +2nyaszt +2nyatk +nya1tr +2nyaty +2nyauk +2nyavat +1ny +2nybr +2nydn +2nydt +2nyk +2ny1g +2nyld +2nyll +ny2lom +2nymk +2nymn +2nyp +2ny12rad +2ny12rai +2ny12rak +2ny12ram +2nyras +2ny12rat +ny2rb +ny2rn +ny2rt +ny2rv +2nyrc +2nyre +2nyrh +2ny1rj +2nyrk +2nyrp +3nyrt. +2ny2ru +2nyr +2nyrv +2nys +ny2szak +ny2szr +2nyta +2nyt +2nyt +2nytf +2nyth +2nytk +2nytm +2nytn +2nyt +2nytr +2nyts +2nytt +2nyt +2nytv +ny1bl +ny1br +ny1cv +1nydre. +1nye +2nyedn +2nyedz +2nyeff +2nyegyl +2nyegys +2nyeke. +2nyekei +2nyek +2ny1elb +2nyelc +2nyelef +2nyelemz +2ny1elf +ny1elha +2nyelj +ny1elk +2ny1ell +ny1elma +2nyeln +2nyel +2ny1e2l +2nyelz +2ny1elr +2nyels +2ny1elt +2nyeltr +2nyelto +2ny1ell +nyel2vesz +2nyelvev +2nyember +2nyembl +2nyembr +2nyemel +2ny1emit +2ny1eml +2nyenc +2nyene +2ny1eng +nye1p +2nyerd +2nyerej +nye2rekl +2ny1erk +2nyerny +2nyerm +2ny1esem +ny1eser +2nyeset +2nyesl +2nyestj +2nyeszk +2nyetik +2nyeve +nye2vez +2nyev +2nyevo +2nyev +2ny1ex +2nyezr +2nyezs +1ny +2ny1br +2nyhen +2nyhes +2nyhs +ny12jek +2nylet +2nylm +2nyneke +2ny12nek +2ny12nekn +2ny1p +2nyrc. +2nyrem. +ny2r1e2s +2nyrin +2nyr. +2nyri +2nyrt +2nyrtk +nyr2 +2nyrv. +2nyrz +2nytel +2nytke +2nytl +2nyv. +2nyvb +2nyve. +2nyvei +2nyvek +2nyvem +2nyven +2nyves +2nyvet +2nyvez +2nyvb +2nyvr +2nyvt +2nyvv +2nyvf +2nyvi +2nyvk +2nyvm +2nyvn +2nyvr +2nyvs +2nyvt +2nyv +2nyv +2nyvv +ny1fl +ny1f2r +ny1gl +ny1gr +1nyi +2nyibo +2nyideg +2nyidej +2nyid +nyi2b +2nyifj. +2nyifjb +2nyifj +2nyifji +2nyifjk +2nyifjn +2nyifjr +2nyifjs +2nyifjt +2nyifjv +2nyiga +2nyiha +2nyihl +2ny1ill +2ny1ima +2nyim +2ny1imb +2nyimp +2nyinas +2nyinc +2nyind +2nyinf +ny1ing. +2nyinj +2nyins +2ny1int +2nyinv +2ny1i2p +2nyir +2nyiri +2nyirod +2nyirt +2nyisko +2nyism +2nyisp +2nyist +2nyivad +2nyivs +2nyiv +2ny1izn +2ny1izt +1ny +2ny1g +2ny1j +3nyl +2ny1n +2ny1v +2ny1z +1nyjb +3nyk. +nykar1ra +1nyket. +1nykk +ny1kl +1nykn +ny1k2r +ny1k2v +1nym. +1nymet. +1nymt +1nyn. +1nyo +2ny1ob +2nyod +2ny1of +2ny1okke +2ny1okl +2nyokos +2nyokoz +2nyokta +2ny1o2laj +nyolc1c +2ny1olda +2nyold +2nyold +ny1oll +2ny1oltr +2nyolts +2nyolvas +3nyom. +3nyomat. +3nyomatk +3nyomatom +3nyomo +3nyomt +2ny1op +ny1orc +ny1orm +ny1ors +ny1orv +2ny1osko +2nyosto +2nyoszl +2nyoszt +2ny1ott +2ny1ov +2ny1ox +1ny +ny12ni +ny2rc +ny2rn +2nyri +ny2s1 +1ny +2ny1b +2ny1c +2ny12l +ny1nt +2ny1v +1ny +2nyrs +ny1pl +ny1pr +ny1ps +3nys. +ny1sc +3nysek +ny1sh +ny1sk +ny1sl +ny1sp +nys2t +1nyst. +ny1sta +ny1st +1nyu +2nyud +2nyuj +2nyuk +2ny1ukr +3nyul +2nyuni +2nyuno +ny1ur +2nyut +ny1u2ta +ny1u2t +1ny +2nyjd +2nyj +2nyj +2nyjs +3nyl +ny2l +2ny1r. +2nyrb +2ny1rh +2nyri +2nyrk +2ny1rn +2ny12ro +2nyrr +2ny12sz +2nytb +2ny1t +2nyth +2ny1ti +2nytj +2nytk +ny1tl +2nytm +2nytn +2nytp +2nytr +2nytt +2nytv +1ny +2ny1d +2ny12g +2ny1ld +ny1le +2nynn +2ny1r +2ny1t +2nyze +1ny +2ny1r. +2nyrb +2ny1r +2ny1rh +2ny12ri +2ny1rj +2ny1rl +2ny1rn +2ny12r +2nyrr +2ny1rt +2ny12z +2ny12z. +2nyzb +2nyzen +2nyz +2nyzh +2nyzk +2nyzn +2nyzr +2nyzt +2nyzv +ny2vk +ny2v1isk +ny2v +ny2vs +ny2v +ny2v +nyz2ke +nza2c +n2z1ac +nz1ad +nz1ado +nz1ad +nz1a2ga +nz1agg +nz1ajta +nz1akc +nz1akk +nzak2o +n2z1akt +nz1ald +n2z1alk +nz1ang +n2z1a2ny +nz1app +nz1ara +nz1ar +nz1arc +nz1ari +nz1aut +nz12gy +nz1ll +n2z12rad +nz1rny +nz2r12ra +n2z12ru +nz2s1e2 +nz1s +nzs3s +nz1t1a2 +nz1d2r +n2z1e2g +n2z1elb +n2ze2leme +n2z1e2lr +n2z1elf +n2z1elha +n2z1elis +n2z1elk +n2z1ell +nz1ellen +n2z1elm +n2z1elny +n2z1elo +n2z1e2l +n2z1e2ll +n2z1e2lt +n2zelz +n2z1els +n2z1elta +n2z1elt +n2z1elver +n2z1elv +n2z1elvo +nz1ember +n2z1e2mel +nz1e2ms +n2z1emi +nz1eml +n2zener +nz1er +nzer2t1a2 +nzer2v1a2d +nzerv2t +nzer2v1te +nzer2vi +nze2su +nz1eszk +n2z1ez +n2z1g +nz2k1el +n2z12l +n2z1r. +n2z1rd +n2z12rem +n2z1rk +n2z1rm +n2z1rt +n2z1rv +n2z1rz +nz1tv +nz1gr +nzi2a +n2z1i2ga +n2z1ig +n2z1ill +nzi2m1a2 +nzi2m +nzi2mi +nzi2n12 +nzi2n1o +nzi2n12 +n2z1i2p +nz1ir +nz1ism +n2z1ist +nzi2tr +nzite2 +nzi2t1el +nzi2ten +nzi2t12ve. +n2z1b +nz1g +nz1n +nz1kl +nz1kr +n2z1okl +nzo2lin +nzo2l +nzo2n1a +nzo2n +nzo2rin +n2z1osz +nzksz1 +n2z1n +nz2r +nz1r +n2z1s +n2z12v +n2z1z +nz1pl +nz1pr +nz3saj +n2z3sr +n2z3st +n2zsv +nz3seg +n2z3ser +nz3sik +n2z3sis +n2z3sod +nz3sor +n2z3s +nz3s2p +nz3s2t +nz3sz +nzt2r1a2d +nz1t2r +n2z1uj +nzu2l1a +nzu2m +nz1u2ra +nzu2san +nzus3s +n2z1u2t +nz1j +nz12t +n2z1d +n2z12g +nz1s +nz1v +n2z12z +nz3zs +2o. +o1a +oa2c +oa1fr +o2aki +o2a1k2v +o2ami +oa2nali +o2asi +o2asz +o1 +o2ga +o2r1a2n +o2ril +o2r +o2r1ol +o2zs +oba1b2 +oba1d2 +o2b1alj +obal2t1a2 +oba1p +ob1a2ra +obau2 +obs3s +ob1tm +ob2b1eg +ob2b +o2b1eg +ob1ele +o2b1e2m +o2b1er +o2b1ez +o2b12g +o2b1rz +obi2ki +obi2k12 +obi2lin +obi2lip +obina2 +ob1ina. +obi2n1al +o2b1ing +o2b1i2s +ob1v +1objek +ob1kl +1o2boa +o2b1oll +obo2r1a +obo2rin +obo2r1os +obo2t12 +obo2tin +obksz1 +o2b12n +ob12r +ob1t +ob1pr +1obst +o2b1ut +o2b12s +ob1g +ob1r +ob1t +ob1r +oca2k +o2c1g +o2c1l +oc1er +oc12k +o2c3hi. +oc3hok +oc3hot +oci3a +ocie2 +oci1k2r +oci2 +oci1p +oci1sz2 +o1c2kef +oc2k12l +ock2n +ock1ne +o1c2kr +o1c2kt +o1c2ki. +oc2kia +o1c2kig +o1c2kin +o1c2kit +o1c2kiv +oc2kop +o1c2kosn +o1c2koso +o1c2kosr +o1c2koss +oc1pr +o2c3sap +o2cs1l +ocs2s +o2cs1sz +o2cs12z +o2cs1e2 +oc3sr +ocsi2ra +o2cs1ing +ocs1izm +o2cs2 +oc3sn +o2csop +ocs1s +ocs1t +o2csuj +o2cs12 +oc3sza +ocs3z +oc3sze +oc3zs +o2daad +oda1b2 +o2d1adj +oda1dr +o2d1akk +o2d1alj +oda1p2 +odas2 +o2d1ass +od1aszt +odat2 +oda1tr +od1aut +odb2 +od1ll +o2dru +odsksz1 +ods3s +od2s3z +1o2dz +od1ed +ode2l +odel2l1a +ode2min +od1e2v +o2d12g +od12ne +o2d1p +o2d1rd +o2d12te +o2d12ve +od12v +2odz +od1ide +odi2g +o2d1iga +o2d1ikre +odi2l1e +odi2lid +odi2lik +odi2l1is +o2d1int +o2d1iro +od1isp +od12z +od1kl +od1obo +o2d1okt +o2d1op +odo2rak +odo2rosz +od12l +od12r +od12r +od1pr +o1d2ram +o1d2rma +od1st +odu2l1a2l +o2d1u2r +1odn +od1g +od1n +od1z +1odvb +od3ze +od3zo +o1e +oe2ir +oe2le +oe2mu +oe2ne +oe1t2he +oe2ur +oe2uv +o1 +o2fa +o2f +o2fo +o2ke +o2ki +ona2 +o2n1al +o2n1an +o2n1ar +on2 +o2n1r +o2nis +o2sz +o2vi +ofi2lad +ofi2lak +ofi2l1 +ofi2lel +ofi2lr +ofili2 +ofi2l1iga +ofi2l1ig +ofi2lis +ofi2l1osz +ofi2tal +ofi2t1e2 +of2la +of2l +ofona2 +ofo2n1al +ofo2nan +ofo2n1 +ofo2n1r. +ofon3n +ofo2n12 +ofor2m12 +of2r1e +ofr2 +of2r +og1abr +o2g1a2g +oga2kar +o2g1ak +o2g1a2la +o2g1a2l +o2g1alj +og1all +og1alt +og1alu +o2g1a2ny +o2g1ap +og1arc +o2g1a2sz +oga2t1a2g +oga2t1e2 +oga2t1i2n +og1a2ty +2ogaz +o2g12g +og1ll +og1lm +o2g1p +o2g12rak +o2g1re +o2g1rja +o2g1rjt +o2g12rok +og2ros +o2g12ru +ogsksz1 +o2gs +o2g1ta +o2g1te +o2g1tj +o2g1tk +o2g1tl +o2g1tn +o2g12to +o2g1tr +o2g1ts +o2g1tt +og1t +o2g1tv +og1bl +ogd2j1a2d +og1dr +o2g1e2d +o2g1e2g +ogegsz1 +o2g1e2l +o2g1em +o2g1e2p +oge2r +og1ere +og1ern +og1er +oge2s +o2g1ese +o2g1e2v +o2g1ez +o2g12g +o2g12l +ogn1n +o2g12p +o2g1r. +og1rte +og1rt +o2g1rt +o2g1rv +o2g1s +og1fl +og1fr +og1g2l +o2g1ic +o2g1i2d +o2g1if +ogi2g +o2g1iga +o2g1ig +o2gill +og1inf +o2g1ing +og1ins +o2g1int +o2g1ip +og1i2ro +og1ita +o2g1j +og1n +og1r +og1v +og1kl +og1kr +o1g2lic +o1g2nai +o2g1odv +og1org +og1orr +og1orz +o2g1oszl +o2g1oszt +o2g1o2v +og12b +og12l +og12r +og1s +og12r +og1pl +og1pr +2ografi +2ograp +2ogrf. +2ogrff +o1g2rffa +o1g2rfh +o1g2rfj +o1g2rfr +o1g2rl +og1sk +og1sp +og1s2t +og1tr +og1u2ra +og1u2ru +o2g1u2s +o2g1u2t +o2g1j +og12g +og1l +og1r +og1t +og1z +og1z +ogy1a2c +ogy1a2p +ogy1is. +ogy1os +ogy2 +oha2mal +oha2mel +oha2mes +oha2mis +ohas2 +oha1sp +o2h1g +o2h1l +oh2nyad +oh2nyan +oh2r1e +oh2szi +oh2sz1odv +o2h12z +oh1e2c +oh1ing +oh2ni +o2h1orr +oh2csi +oh1r +oh12v +oh1ur +o1i +oi2ae +oi2af +oi2an +oi2av +oi2ba +oida1 +oi2d1ad +oi2dan +oi2dl +oi2d1e2 +oi2dol +oi2d3z +oilet2 +oina2 +oi2n1ad +oi2ne +oi2re +oisel2 +oi2zo +o1 +oj2r1as +ojs3s +ojs3z +ojek2t12 +ojek2t12 +ojek2t1o2 +oj1in +oj2t1ra +oj2t1orjk +ojt2 +ok1abl +ok1a2c +o2k1a2dat +o2k1a2d +o2k1a2d +o2k1a2kar +ok1akv +o2k1alj +o2k1alk +ok1alm +ok1alt +ok1ang +ok1ani +ok1ant +oka1p2l +ok1app +ok1a2ra +ok1arc +oka2ris +o2k1asp +o2k1ass +ok1aszf +ok1aszt +o2k1att +o2k1aty +oka2u +ok1aut +o2k1ava +o2k1g +ok1jt +ok1rad +o2k12rak +ok2rul +o2k1rv +ok2sal +ok1s +oks3s +ok1sz +o2k1te +ok1bl +ok1br +ok1dr +o2ke. +ok1e2b +o2k1e2c +oke2d +ok1ed +o2k1e2g +o2k1e2l +o2k1e2m +ok1er +ok1erk +ok1ernel. +ok1e2r +o2ke2s +ok1es +o2k1e2v +ok1e2z +o2k1g +ok12ke +ok12k +o2k1l. +ok12les +ok12let +ok12l +ok1ln +ok1lt +o2k12ne +ok2p +ok3p +ok1p +o2k1p +o2k1r. +o2k1rb +o2k1rc +o2k1rd +o2k1rg +o2k1rh +o2k12ri +o2k1rm +o2k1rr +ok1rt +o2k1rte +o2k1rt +ok1rt +o2k1rz +ok1s2 +oksz2 +o2k1tk +o2k1tt +o2k12ve +ok1fl +ok1fr +ok1gr +o2k1i2de +o2k1i2do +ok1i2ga +okigaz1 +ok1ig +o2k1ig +ok1ind +o2k1int +o2k1i2r +o2k1i2ro +o2k1isk +ok1ism +o2k1isp +ok1iste +o2k1i2ta +o2k1izm +ok1j +ok1r +ok1v +ok1z +ok2kab +ok2k1a2d +ok2k1aj +ok2k1ale +okk1alk +ok2k1as +ok2kaz +okk1elh +okk1el +okk1el +okk1elr +1okker +ok2k1es +ok2kp +ok2kid +ok1kl +ok2kob +okk1ss +okk12v +ok1kri +ok2kud +ok2k1ur +o1k2l +ok2lor +o2k1ob +okola2 +oko2lr +o2k1olts +okon1n +oko2n1oks +oko2ra +oko2r1 +oko2ril +oko2ris +o2k1orm +ok1o2ro +o2k1osz +o2k1o2v +o2k1b +o2k12d +ok12k +o2k1l +o2k1n +ok2r +o2k1s +o2k12v +ok12z +ok12r +ok1pl +ok1pr +o1k2ris +o1k2rm +ok2sel +ok1sp +oksz1alm +ok2szan +ok2sz1es +ok2sz1is +1oktn +o2k1ud +o2k1ug +o2k1uj +ok1u2ra +o2k1u2t +ok1r. +ok1rb +ok1rh +ok1rr +ok1sz +o2k1tb +o2k1th +o2k12ti +o2k1tj +o2k1tk +o2k1tn +o2k1tr +o2k1tt +ok1tu +o2ktv +ok1g +ok12l +ok1n +ok1r +ok12t +ok12v +ok1z +ok1z +o3la. +ol1abl +ola1d2 +ola1f2 +1o2laj. +1o2lajb +1o2lajf +1o2lajg +1o2lajh +1o2laji +1o2lajj +1o2lajk +1o2lajm +1o2lajn +1o2lajp +1o2lajr +1o2lajs +o2lajt +o2laju +1o2laj +o2lajv +ola1k2r +o2l1alg +ol1alk +ol1amn +ol1anya +ola1p2 +ola1s2p +ola1s2t +ola2t1ala +olat1any +ola2tl +ola2tp +ola2tk +ola2t1inf +ola2t12v +ola2t1ol +ola2t1orn +ola2t1l +ola2tz +olau2r +ol1br +o2l12g +ol2ha +ol1ll +o2l1rb +o2l1rh +o2l12ria +ol2ri +o2l1rk +o2l1rn +ol2rok +ol2ron +o2l1rr +o2l1rt +o2l12ru +ol2sza +o2l12ti +o2l1tv +ol2caj +ol2cal +ol2c1a2n +ol2c1e2k +ol2cel +ol2ces +ol2c1v +ol2c3h +olc1iko +ol2c +ol2c +ol2c +ol2c3sor +ol2cs +olc3sz +ol2c +ol2cz +ol2dab +1oldal. +1oldal +1oldalb +olda2le +1oldalh +1oldalk +1oldall +1oldaln +1oldalo +1oldalr +1oldalt +1oldalu +1oldal +ol2d1any +ol2dap +olda2tel +ol2d1au +ol2dl +ol2deg +ol2d1el +ol2d1ell +ol2d1elv +old1emb +ol2d1e2r +ol2d1e2s +ol2dev +ol2dez +ol2ds +ol2d1ve +ol2dip +ol2d1is +ol2dor +1olds +ol2d12 +ol2dud +ol2d1u2g +ol2d1 +ol2d +ol1e2g +o2l1e2l +o2l12d +o2l12g +o2l1l +ol1r. +ol1rd +ol12re +ol1r +ol1rh +ol12ri +ol1rj +ol1rl +ol1rn +ol1r +ol1rs +o2l1rt +ol12r +ol1rv +o2l1rz +olfa2k +ol2fau +ol2f1r +ol2fes +ol2fet +olf1ing +ol2fir +ol2fis +olfu2 +ol2f1ut +ol2fj +ol1gl +ol1g2r +2olib +o2l1i2du +1o2liga +oli2gz +o2l1ig +ol1ill +ol1i2ma. +o2l1i2m +1olimp +oli2nu +o2l1i2pa +olipe2 +oli2p1et +o2l1isk +oli2szl +ol1v. +oll1a2gy +ol2l1aj +olla2l +ol2l1ala +ol2l1alj +ollan2d12 +oll1any +ol2l1atk +oll1att +ol2l12g +ol2l1e2c +oll1ege +oll1eg +ol2l1e2gy +ol2l1e2h +olle2l +oll1ele +ol2l1emb +oll1ese +ol2l12k +ol2l1ri +ol2l1inf +oll1inge +oll1ing +oll1ingi +oll1ingj +oll1ingn +oll1ingr +oll1inj +ol2lins +ol2l1int +oll1isk +ol2lob +ol2lor +ol2l1osz +ol2l1 +ol2l12 +oll1s +ol2lub +ol2lul +ol2l1u2s +ol2l +ol3lyu +oln1ike +o2l1o2l +o2l1op +olo2r1e +ol1ott +o2l1ox +ole3dnn +ol1f2 +o2l12n +ol1nn +ol12no +ol1nr +ol1nt +ol2ri +ol2rj +ol2rk +ol2rn +ol2rr +ol2rt +ol12ri +olt2 +ol1tr +ol12l +ol1r +ol1s +ol1p2l +ol1p2r +ol1sk +ol2t1aj +1oltalm +1oltalo +ol2t1ari +ol2t1g +ol2t1ta +ol2t1eg +ol2t1em +olte2r +ol2t1ere +olte2s +ol2t1e2v +ol2t1p +ol2t1r. +ol2t1rr +ol2t1s +ol2tid +ol2tim +ol2tis +ol2tiz +ol2t1old +1olt +1olth +1oltk +1oltlo +1oltm +1oltn +olt2r +ol2t1r +ol2tr +o2l1ug +o2l1ur +o2l1u2t +ol1s +ol1g +ol1l +ol1v +ol1z +1olvad +1olvas +o2lyabr +oly1ada +oly1aggy +olyame2 +olya2mes +oly1aszt +o2lyl +o2ly1e2 +1o2lyb +1o2lyh +1o2lyi +o2lyl +1o2lyn. +1o2lyir +o2lyim +2oly +o2ly1 +o2ly +o2lyug +o2ly12 +o2ly12 +o2m1abl +om1a2dat +o2m1adm +o2m1a2d +o2m1adt +oma1f +omaga2 +oma2ga. +oma2g1ad +oma2gal +oma2g12 +oma2ge +omagi2 +oma2g1in +o2m1a2gya +om1agy +o2m1aj +o2m1ajk +oma1kr +o2m1akt +om1a2lag +oma2lapo +oma2lapr +o2m1alm +om1alt +om1alv +o2m1amb +om1ang +o2m1ann +om1apad +o2m1app +oma1pr +o2m1a2ra +o2m1arc +o2m1arg +oma2t1rak +o2m1atk +o2m1aty +o2m1au +om1a2zo +om2cs +om2g +om1gi +om1go +om2nyan +omnyk2 +o2m1p +o2m12rai +om12rak +om12ram +om1ras +o2m12r +o2m1rd +o2m1re +om2r. +om2rt +o2m1rg +om2ria +om2ri +o2m1rm +o2m12ru +om2s +oms3s +om2sz +oms3z +o2m12t1e +om12t1 +o2m1tk +o2m1tm +om1tol +o2m1tr +om2b1a2lo +om2bg +om2b1eg +omb1elh +om2b1elt +omb1ne +om2b1ri +omb1n. +omb2r +omb1ra +om1bro +om2buj +omdio2 +om1dr +o2m1e2b +o2m1e2ce +o2m1e2d +om1ef +ome2g +ome3g +om1ege +om1eg +o2m1egy +ome2l +o2m1ela +om1el +om1elb +o2m1ele +o2m1el +om1elk +om1ell +o2m1elm +o2m1eln +o2m1elo +o2m1el +o2m1els +om1elte +o2m1elu +o2m1elv +o2m1e2m +om1ene +om1eng +om1eny +om1enz +ome2o +o2mep +om1erd +o2m1e2red +o2m1e2rei +o2m1erny +om1e2ro +ome2r +o2m1er. +o2m1erb +o2m1erh +o2m1ern +o2m1err +om1ers +omer1ss +o2m1ert +o2m1erv +om1e2r +ome2s +om1ese +om1es +om1ess +om1est +o2m1e2ti +o2m1etn +o2m1et +o2m1e2v +o2m1ex +ome2z +o2m1eze +o2m1ezred +o2m1be +om12de +o2m1g +o2m12he +o2mhs +om1je +o2m12ke +o2m12le +om1l +om12l +o2m1p +o2m1r. +o2m1rb +o2m1rc +o2m12re +o2m12r +om2ri. +o2m1rm +o2m12r +o2m1rr +o2m1rte +o2m1rt +o2m1rt +o2m1rv +o2m12s +om2tel +o2m1tt +o2m1ve +om1v +om1f2l +om1gl +om1gr +om1ide +omid1i2 +om1i2d +omi2g +o2m1iga +o2m1ig +om1iks +o2m1ill +om1im +omime2 +omi2mel +omi2m1 +om1i2na. +omi2nb +omi2nv +o2m1ind +om1inf +o2m1ing +om1inv +o2m1i2ono +o2m1i2p +o2m1ir +o2m1i2ri +o2m1iro +o2m1irt +o2m1isk +o2m1ism +o2m1iste +omi2sz1 +om1i2tal +omi2tan +omi2t1s +omi2t1e +omi2tis +om1iz +om1izo +om1izz +om1j +o2m1r +om12v +om12z +omj2 +om2j +omk2rok. +om1kl +om1kr +oml2b1t +omo2dor +omo2kas +2omoly +o2m1ont +om1ope +omo2ras +omo2re +omo2riz +o2m1orj +om1osto +omosz2f +o2m1oszt +o2m1ox +om1k +om12l +om1n +om12r +om1s +om12t +om1v +om12z +om12r +om12s +om2pel +om1pla +om2p1ors +om2p +om2p1u2t +om1sk +om1sl +om1sp +om1st +om2te. +omtes2s +om1t2r +o2m1ud +o2m1ug +o2m1uj +omu2n +o2m1uno +o2m1ur +o2m1u2t +o2m1u2z +o2m1j +om1d +om1g +om12l +om1r +om1s +om1t +om1v +om1z +om1r +om1z +om1ya +o2n1abl +ona2cl +ona2dat +ona1dr +on1ads +onae2 +on1agg +on1agi +on1ag +on1agyh +on1ajn +o2n1ajt +2onak +on1akc +o2n1akk +on1akn +o2n1akt +ona2len +ona2l1e2s +ona2lint +on1alj. +on1alju +ona2lok +ona2los +1onani +o2n1a2no +o2n1ant +on1app +ona1pr +ona1ps +ona2rc +onardi2 +ona1s2p +ona2tl +onat2 +ona2tz +on1br +2onc +o2n1g +o2n1llo +o2n1llv +o2n12p +on1rad +o2n12rak +on12rat +on1rb +o2n1rk +o2n1rn +o2n12ro +o2n1rt +o2n12ru +o2n12r +on1rv +o2n12sza +o2n12szokr +o2n1tl +on2ts +o2n1tc +o2n1te +on2t1r +o2n1tf +o2n1the +o2n1tm +o2n1tre +on1bl +on1br +on2cal +on2c1l +on2c1e2g +once2s +on2c1ez +on2c1k +on2c1r. +on2c1r +on2che +on2cid +on2c1ikr +onc1ill +on2cs +onc3sg +on2cseg +oncs1emb +oncs1g +on2cs1r. +onc3sikk +on2cs1im +on2c +on2c +on2de. +ond1iko +on2d1o2kos +ond1oks +on2d1osz +2ondoz +on2d1l +on1e2b +o2n1e2d +on1e2ge +on1egg +o2n1e2gy +on1e2h +one2l +o2n1ela +o2n1ele +on1el1 +o2n1elh +on1elj +o2n1elm +o2n1eln +o2n1elo +on1el +o2n1elr +on1els +on1elt +o2n1elv +o2n1e2m +one2n +on1ene +on1erj +on1erk +on1ers +one2s +o2n1ese +ones2s +on1est +o2n1e2v +o2n1ex +2onb +on2d +on1de +o2n12g +o2n12he +on12ke +on1ks +o2n12l +on12ne +o2n12p +o2n1rbe +o2n1rc +o2nrd +o2n1ri +o2n1rl +o2n1rm +o2n1rp +o2n1rs +o2n1rte +o2n1rv +o2n1v. +o2nvad +o2n1vb +o2n12ve +on12vi +o2n1vk +o2n1vn +on1vr +on2g1ll +ongs1s +on2g1e2c +on2ged +on2g1eg +on2g1e2l +on2gik +on1g2l +on2g +on2gyad +on2gy +onhro2 +onhrom1 +o2n1i2d +oni2g +o2n1iga +o2n1ige +o2n1ig +o2n1ij +on1i2ke +o2n1ill +o2n1inb +on1ind +o2n1inf +o2n1ing +o2n1inj +o2n1inn +o2n1inr +o2n1ins +o2n1int +o2n1i2p +on1i2r +o2n1iro +o2n1irt +o2n1isk +o2n1ism +on1iste +onita2 +o2n1i2z +on1izo +o2n1izz +on1g +o2n1n +o2n1v +on1z +onk1ll +onk2rok. +onk2t1 +on2ne. +on3nyr +on3nye +on3nyo +on3ny +on3ny +o2n1ob +ono1g2rf. +ono1g2rfn +onoka2 +on1o2kal +on1o2kos +o2n1okta +o2n1old +on1oll +on1opt +on1oszl +ono1sztr +o2n1o2v +o2n1ox +o2n1ri +on2sak +on2si +on2szen +on1b +on1l +on1n +on1r +on1s +on12t +on12v +on12z +on12s +on1pl +on1pr +on1ps +2ons. +onsa2v1a2m +on1s2k +on1sl +on1s2m +on1spe +on1spo +on1spr +on1sr +on1sto +onsz2 +on1szf +on1szt +ont1agy +on2t1aj +on2t1alk +on2t1ara +on2t1atr +on2taz +on2t1ll +ont1rv +on2teb +on2t1ed +on2t1e2g +ont1el +ont1eld +ont1elh +ont1ell +ont1elm +on2teln +on2t1el +ont1elt +ont1elv +ont1emb +onte2s +on2t1ese +ont1k +on2tl +on2tig +on2t1i2ko +ont1ikr +on2t1i2m +on2t1inf +on2t1int +onti2sz +ont1iszo +on2t1iz +on2t12v +on2t1oml +on2t1ors +ont1ni +1ontst +on2t1s +on2t1z +on2tl +on2tr +on2t1z +on2tye +o2n1ud +o2n1ug +o2n1uj +onu2n +o2n1una +o2n1u2r +o2n1u2t +o2n1j +o2n12s +on2t +on1tb +on1t +on1th +on1ti +on1tj +on1to +on1tr +on1tt +on12c +o2n12g +on12l +o2n1n +o2n1r +o2n12t +on12v +o2n12z +on1r +on1z +o2ny1ac +ony1a2d +ony1akc +ony1alj +o2ny1alk +ony1alt +ony1anya +onya1p2 +o2ny1ap +o2ny1l +ony1rk +o2ny1rn +ony1z +ony1e2c +ony1e2g +o2ny1e2l +o2ny1e2m +o2nyen +o2ny1e2r +ony1e2s +o2ny1g +o2ny12j +o2ny12k +o2ny1l +o2ny12ne +o2ny1r. +o2nyr +onygc1 +o2nyig +ony1iko +ony1ing +o2nyita +o2nyitk +o2ny12r +ony1old +ony1oml +o2ny1o2r +o2nyosz +ony12r +o2ny1 +o2ny12 +o2nyug +o2ny1ur +o2ny12 +onz1abl +on2zag +onz1ajt +on2zar +on2zg +on2z12l +on2z1ed +on2z1e2l +on2z1e2m +on2z1es +on2z1k +on2z1re +on2z1im +onz1ing +onz3sel +on2z +o1o +oo2ib +oo2in +oo2pe +oo2re +oo2xi +o1 +o1 +o1 +o2p1a2b +o2p1a2d +o2pal +op1a2la +o2p1any +op1a2po +op1a2r +opa2u +o2p1a2z +o2pl +o2p1m +o2p12rat +opsksz1 +o2p1th +o2p1tl +o2p1tm +op1bl +op1e2d +op1e2g +op1ejt +op1el +op1em +opera1s +operasz2 +op1erd +op1erk +op1er +op1es +op1e2t +o2p12l +o2p12n +op1gr +op1i2ko +op1ikr +o2p1im +op1ind +o2p1ing +o2p1i2p +o2piram +o2p1i2r +op1isi +op1ist +o2p1i2ta +opi2z +op1izo +op1izz +op1v +op1kl +op1kr +o2p1ob +2opol +o2p1orj +o2p1orr +opor2t1a2 +opor2t12 +opor2t1e2 +opor2t1rd +opor2t +o2p1orz +oposz2f +o2p1ov +op1s +op2p +op2p1is +op1py +2opro +op2roc +op2rod +op1sl +op1sp +op1sr +op1s2t +o2p1ud +o2p1u2r +o2p1u2t +op1j +o2p1s +op1d +op1g +op1t +op1z +o2r1abl +o2r1abr +ora2dat +o2r1a2d +or1adm +o2r1a2d +or1aff +or1agg +or1a2g +ora2kad +ora2kas +o2r1akc +ora1kl +ora2kol +o2r1akt +or1alg +o2r1alj +or1alk +o2r1alm +o2r1alt +o2r1alv +or1amp +o2r1ana +o2r1ane +o2r1ank +o2r1a2no +o2r1ant +or1a2nya +ora2 +or1app +o2r1a2r +o2r1arc +or1a2ri +or1aszk +o2r1atk +o2r1atl +or1att +or1aty +o2r1a2zo +o2r1br +or2cs +or1cs. +or1csa +or1cso +o2r12g +or2le +or1ll +o2r1llv +or2l +o2r12p +o2r1r. +o2r12rak +o2r1r +o2r1rb +o2r1rk +o2r12ro +o2r1rp +o2r1rr +o2r1rt +or12ru +or1r +o2r1rv +o2r1sv +or2sze +o2r1ta +o2r12t1e2 +o2r1tf +o2r1th +o2r1tj +o2r1tk +o2r1tm +o2r1tr +o2r1ts +o2r1tt +o2r1tv +or1bl +or1br +or2c1a2l +or2car +1orcd +or2ch +or2c3h +or2c3ho +orc3sg +or2c3seb +or2c3s +or2c +or2cz +or2d1au +ord1eme +ord1e2s +or2dex +or2d1ing +2orea +o3re +o2r1e2b +or1ecs +o2r1e2d +o2r1ef +or1e2ge +or1e2g +o2r1e2gy +2ore2k +or1eke +or1ek +ore2l +or1ela +or1ele +or1elh +or1elj +or1elm +or1eln +or1elo +or1el +or1elr +or1els +or1elt +or1elv +o2r1e2m +ore2n +or1ene +o2r1eng +or1eny +o2r1ep +or1er +ore2s +or1ese +or1es +or1es +o2r1ess +o2r1esze +o2r1e2v +or1ez +o2r12d +o2r12g +o2r12j +or2ks +or2k1e2 +or1kn +o2r12l +o2r12m +o2r12ne +o2r1p +o2r1r +o2r12te +o2r1tk +o2r1v. +o2r12ve +o2r12v +o2r12vi +o2r1vn +o2r1vr +orf2l12v +orfi2r +2orgiai +or1gl +o2r1ibo +o2r1i2de +o2r1i2d +oridi2 +ori2d1io +1o2rie +o2r1ifj +o2r1i2ga +o2r1i2g +o2r1i2gy +or1iha +o2r1i2ma. +o2r1i2m +o2r1i2na. +o2rinas +o2r1i2nn +o2r1i2nt +or1i2nv +o2r1ind +o2r1inf +o2r1ing. +o2r1ingc +o2r1ing +o2r1ingi +o2r1ingn +o2r1ingr +o2r1ings +or1inh +o2r1inj +o2r1ins +orin2t1a2 +orin2tel +orin2t1 +ori2og +o2r1i2p +o2r1i2si +o2r1ism +or1isp +o2r1iste +o2r1i2sz +ori2tan +o2r1i2z +o2r1g +o2r12j +o2r12n +o2r1r +o2r12v +o2r12z +or3j +or1k2l +ork2z1e2p +or1k2v +or2m1app +orma1t2re +or2m1att +or2m1azo +or2m1eb +orme2g +or2m1egy +orm1eli +orm1elv +orm1erk +orm1esz +orm2t +or2m1te +or2m1osz +or2mv +or2m1 +or2m1 +or2m +or2ne. +ornis1s +o2r1o2 +orogksz1 +oro2k12 +oro2kor +o2r1olda +o2r1o2li +o2roltl +o2r1ont. +o2r1ontb +or1ont +or1ontig +o2r1ontj +o2r1ontn +o2r1ontr +o2r1ontt +o2r1ontv +oro2nya +oro2nyo +or1ope +or1opt +o2r1o2r +o2r1osko +o2r1osto +1o2roszi +1o2roszr +o2roszt +o2r1o2x +or12ia +or12ni +or12r +or1ri +or12s +orso2r +or2soro +or12b +or12c +or12l +or1n +or1r +or1s +or1t +or1v +or12z +or12r +or12s +or1ph +or1pl +or1p2n +or1p2r +orr1abl +or2r1a2r +or2r1ta +1orrb +1orri. +or2rin +or2riz +1orrk +1orruk +1orr. +1orrc +or2s1a2d +or2s1ajtk +ors1alk +ors1ass +or2s1l +or2sed +or2s1e2s +or2s12ne +or2srte +ors12tt +or2s12r +or2sn +or2s +or1sr +or1s2tab +ors1lt +ors12t +1orszg +orszi2l1 +ors3zn +or1sz2t +or2t1agg +or2t1alm +or2tana +orta2n12c +or2t1ar +or2tg +ort1rad +ort12ram +ort12rn +ort12rr +ort1rbe +ort1rn +ort12ruk +or2t12r +or2t1e2g +ort1ejt +or2t1ela +ort1e2lem +or2t1el +or2t1ell +or2t1elm +or2t1eln +or2t1elo +or2t1el +or2t1elt +ort1elv +ort1emb +or2tene +orte2r1a +or2t1ess +ort1eti +ort1le +ort1l +ort1lt +ort1lv +or2t1rm +or2tid +ort1i2ku +or2t1int +or2t1ist +or2t1ita +or2tt +or2t1okm +or2t1o2kol +or2t1okta +or2t1old +or2t1orm +or2t1ott +or2t12r +or2t1n +or2t1s +or2t12v +ort1ura +or2t1u2t +ort1r. +or2t12zr +o2r1ud +o2r1u2g +o2r1u2r +o2r1u2t +o2r1tb +o2r1th +o2r12ti +o2r1tj +o2r1tn +o2r12ton +o2r1tr +or1ts +o2r1tt +or1d +or12g +or12l +or1n +or1r +or12s +or1t +or12v +or1z +or1r +1orv. +or2v1a2n +2orv +orv1isi +1orvos +or2v +1orvv +or2z1a2var. +or2z1e2c +or2zes +or2zsan +orz1z +o2s1abl +o2s1a2da +o2s1a2d +o2s1akc +o2s1a2l +osa2n +o2s1ang +o2s1ant +o2s1any +o2s1a2p +os1arc +os1assz +os1a2ty +o2s1au +o2s1br +o2s12g +os1ld +o2s1ll +os12lom +osra2 +os2rak +osri2 +os2rik +os2rok +o2s1ru +oss1s +os12t1a +os1t +os1tj +os1tk +o2s1tr +os1e2d +o2s1e2g +o2s1e2l +os1emb +os1e2n +o2s1er +o2s1es +os1e2t +os1ex +os1ez +o2s12g +o2s12l +o2s1p +o2s1rd +o2s1rte +o2s1rt +osg2 +o2s1ide +o2s1if +osi2g +os1iga +os1ikr +os1inf +o2s1int +o2s1i2p +o2s1i2r +os1iro +os1irt +o2s1ism +os1isp +os1iste +o2s1i2sz +o2s1j +o2s12r +o2s12z +os1kl +os1kr +2osok +o2sonh +o2sonn +o2sono +1o2sont +o2sonu +1osonv +o2s1o2r +os1osz +os1p +os1k +os12l +os1n +os12v +os12r +os1p2l +os1p2r +os1ps +os1sta +ossu2 +os2s1ur +ossz1ll +ossz12ro +ossz1es +ossz1j +ossz2 +os3sz +ost1e2te +os2tip +os2tir +os2tiz +1ostob +ost1old +os2t1s +2ostu +os2t12 +1ostya +o2s1ud +o2s1uj +o2s1u2r +o2s1u2t +os1r. +o2s12s +o2s1g +o2s1n +o2s12v +o2s1z +os3zab +o2szaj +osz1al +osz1alk +osz1alt +osza2n +osz1any +o2szar +osz1ar +osza2t1e2 +o2sz1l +o2sz1ed +o2sz1e2g +o2sz1e2l +o2s3zen +osz1ep +osz1es +o2szg +o2szj +o2sz12l +o2sz12p +o2sz1s +o2szige +osz1ing +osz1ism +osz1ist +osz2 +osz1v +o1szkl +o2sz1o2ro +osz1ors +o2sz1orz +os3zn +osz12r +o2sz +os3zl +osz2t1alm +oszt1any +osz2t1apo +osz2tr. +osz2t1rn +osz2ted +osz2tell +osz2t1em +oszt2r +osz2t1r +osz2t1v +osz2t1osz +o2szur +osz1r +o2sz +osz1g +os3zl +ot1abl +ot1a2da +otag2 +ota1gr +ota1k +ot1ana +o2t1ant +ot1a2ny +ota1p2 +ot1arc +ot1arz +ot1ass +o2t1a2z +ot1br +o2t12g +ot12rak +o2t12r +o2t1rb +o2t12r +ot1rn +ot1bl +o2teb +o2t1e2g +otel1a +ote2l1 +ote2lel +ote2l +ote2m1 +ote2m1o +ot1e2v +o2t12l +o2t1p +o2t1r. +o2t1rt +o2t1rz +ot1fr +ot1gr +oth2r +o2t1id +o2t1im +otina2 +ot1i2na. +oti2nar +oti2nr +o2t1ind +otink2 +2otipa +2otipi +2otipn +2otipt +o2t1ir +o2t1is +o2t1iz +ot1j +ot1n +ot1kl +ot1k2r +o2t1ob +oto1gram +ot1ola +otona2 +oto2n1 +oto2n1in. +oto2nis +oton3n +oto2rak +oto2rl +oto2rr +oto2re +oto2rim +oto2rin +oto2rol +otosz2f +ot1f2 +2otp +ot2pan +ot2pas +ot2pin +ot2p1osz +ot2st +ots3s +ot1sta +ot1sz +ot2s3zr +ott2 +ot1tr +ot12l +ot1s +ot1pl +ot1pr +ot1ps +o1t2rag +ot1sp +ot1sr +ot1st +otta1g2 +ot2t12g +1ottl +ot1ura +ot1u2sz +o2t1j +ot1ri +ot12l +ot1t +ot12z +ot1r +otva1k2 +otya1 +o1u +ou2ag +ou2il +ou2le +o1 +o1 +o1 +ova2ga +ova2g1i2n +ova2r1an +ova2rt +ova2r1el +ova2rk +ova2rs +ova2ris +ovas3s +ovau2 +ovb2b1o +ov2s12r +ov2sik +ovio2 +ow1el +1oxidb +1oxidr +o2xig +1oxilc +oy2ce +oza2g +ozag1a +oz1agi +o2z1a2l +oza2mal +oza2m1e2 +oza2m1rt +oza2min +oza2n +o2z1any +oza2r +oz1ara +oza2tat +oza2tl +oza2t1e2 +oza2ts +oza2t12te +ozat1ill +oza2t12 +oza2t1ol +o2z1au +o2z12g +oz2ke +oz1ll +o2z12ro +o2z1ru +oz2s1e +ozs3s +oz2s3z +o2z1tl +oz1e2g +oz1e2m +oz1en +oz2k1e2 +o2z12l +o2z12p +o2z12r +oz1i2do +o2z1i2par +oz1iro +ozi2s1aj +ozi1sl +ozi1st +ozi1sz2 +ozi2t1a2 +oz12n +o2zor +oz1ors +o2z1osz +ozegyez1 +2ozfia +2ozfib +2ozfih +2ozfija +2ozfin. +2ozfina +2ozfir +2ozfit. +2ozfit +2ozfiva +oz2tan +oz1p2r +o2zs1a2l +ozsa2n +ozs1any +o2zs1 +ozs1s +o2zs +oz1n +oz12z +oz1r +ozz1s2 +2. +1a +a2c +a2dag +a2d +a2do +a2d +a2ga +a2gi +a2gy +a2j +ajti2 +a2kad +a2kar +a2k +a2ku +a2la +ala2g1 +a2l +a2l1e +almana2 +almanac3 +a2lo +al1os +a2lu +a2ma +a2na +a2n +a2ny +a2p +a2po +a2p +a2pu +a2ra +a2r +a2r +a2ri +a2ro +a2to2 +atom1 +a2ty +a2uk +a2ur +a2ut +a2va +a2xi +a2zo +1 +2b +2cs +2ga +2gi +2go +2gy +2h +2la +2lo +2po +2r +2ru +2r +2sa +2s +2sz +2ta +t1a2d. +2t +2t1e2 +2t +2t1i2 +2t +2to +2t1 +2tu +2t +2t +2bab +2baj +2bak +2bal +2band +2bank +ba1p2 +2bar +2bark +2barna +bas2 +ba1t2r +bau2 +2bec +2bef +2beg +2beh +2bej +2bek +2bele +2bel +2bels +2bem +2beo +2ber +2bet +2bev +2bez +2bg +2bil +2bio +2bir +2bit +2biz +1b2le +1b2lo +2bj +2bl +b2r +1b2ro +b2rk +1b2ru +buda2ik +buszt2 +bu2sz1 +2c1aj +2c1akr +c1a2la +c1alk +2c1ar +2c1ass +c1att +2c1l +12ce +2c1e2g +ce2l +c1ele +c1elm +c1el +c1emb +2c1e2v +2c1p +2c1t +c3h +c3he +c3ho +ci2m +c1imi +c1ing +2c1i2pa +2c1is +c2lu +2c1or +2c1osz +c12r +c1pr +2csa +c3sg +2cs1ru +2cse +2cs +2csi +2csit +2cs +2cso +2cs +2cs +cs1p +c3s2p +c3sz +c1tr +2c1ud +c1n +c1z +c3za +c3ze +c3zu +d1ada +d1a2d +da2j +d1aj +d1akt +2dal. +2dala +d1alg +2d1am +d1ana +2darabk +2dar +d1aut +d1azo +2d1f +2d1g +2d1l +2d1p +2d1rn +d12ru +ds3s +d1bl +d1br +2d1e2d +2d1e2g +d1e2lem +2d1elh +d1elj +2d1ell +2d1elm +2d1elo +d1el +d1elr +2d1elv +d1emb +d1eme +d1ep +de2ra +d1er +de2ss +2d1e2v +2d1ez +2d12g +2d1p +2d1rte +2d1rz +d1fr +d1gl +2d1i2d +2d1ig +2d1int +di2p +2d1ipa +2d1iro +di2sz +d1izo +2d1r +d1kl +d1kr +d1kv +2dob +2dok +2dol +2dom +2d1op +2d1osz +2d1o2x +dksz1 +d1r +2d12l +d1s +2d1t +2d1v +d1r +d1pr +21d2ram +2dr +d2rm +1d2rog +1d2rt +d2ruk +d1sp +d1st +2dug +du2r +2d1ura +dus3s +du2s3z +2d1u2t +2d1j +d1r. +d1g +2d1r +d1v +d1z +d3zr +2d3ze +d3zso +1e +e2b +e2ch +e2cs +e2d +e2dz +e2ge +e2g +egsz1 +e2gy +e2ke +e2k +e2l1a2 +e2l12 +e2le +el1en +e2l +el1r +e2l2i +e2l12 +e2lo +e2l +e2l +embe2r1k +e2me +e2m +e2mu +e2ne +e2p +e2pi +e2po +e2re +e2r +e2r +e2r +e2se +e2s +e2s +e2sz +e2te +e2ti +e2t +e2ve +e2v +e2v +e2z +1 +2be +2ge +2g +2g +22he +2hs +2ke +2k +2k +2le +2l +2l +22ne +2p +2p +2r. +2rd +22re +22r +2ri +2r +2rte +2rt +2rz +2te +2tk +2ve +2v +2vi +2v +2fa. +2faa +2fa +2fab +2fac +2fad +2fae +2faf +2fag +2fah +2fak +2fal +2fao +2fap +2far +2fas +fa1st +2fa1t2 +2fa +2fav +2faz +fe2l1em +fe2len +2f1ev +2fk +2fl +2flt +2fn +2f1r. +fi2ab +fi2ad +fi2ag +1f2la +1f2lo +f2l +f2l +f2lu +2foc +2fog +2fok +2fol +2ford +2forg +2formc +2formj +2forml +2forr +2fos +2fot +2f1ov +1f2rak +1f2ri +1f2r +1f2ro +1f2r +2f1ud +fu2r +f1ura +f1r. +f1rn +ga1p +g1dr +ge2o +g2p1i2p +g3gy +gi2al +g1r +g2la +g2le +go2ras +1g2raf +g2rn +gu2sab +gu2s3z +2gy1el +2gy1es +3gyi. +gy1int +gy2k1rb +gyta2n12 +gyte2a +gy1s +ha2de +2hal +2han +2has +2hat +hza2d +h2z1ada +2hon +2hor +2hos +hs1s +1i +2i2de +2id +i2dn +i2di +2i2dom +2i2d +2i2ga +2i2ge +2ig +i2gb +i2gi +i2gj +i2gk +i2gn +i2gr +i2gt +i2gv +i2konb +2i2konj +2i2konn +2i2kono +i2konr +i2kont +ile2 +2ill +i2ma. +2i2m +i2mi +2imp +2i2na. +i2nai +i2naka +i2nas +i2nat +i2nn +i2nr +i2nt +2ind +2inf +2ing +2i2ni +2inj +2inp +2int +2inv +i2pa +2i2rat +2i2r +2i2ro +i2sz +2i2ta +i2tk +i2vad +i2z +i2zo +1 +2r +2ri +2ro +2r +2t +2v +2v +2v +2ze +2z +2zi +2z +2z +ja1g2 +2jakn. +jak2r +2jam +ja1p2 +2jav +2jr +2jrm +2jr. +2jru +2jrv +2jt +2jts +je2gy12 +2jut +2kab +k1a2da +k1ajt +2k1ak +2k1alj +k1alko +2kal +2kamp +2kamr +2kapa +2kapc +2kaps +2kar. +2kara +2karr +2kart +2kata +2kate +ka1t2r +k1aut +2kav +2kaz +2k1ll +k1rad +2k12ri +2k1rn +2k1ru +2ke2d +2k1edz +k1eg +2kem +2k1emb +2ker +ker1este +ke2r1kn +ke2rig +2k1e2r +ke2r1g +ke2sz +k1esze +ke2t +k1ete +2kev +2kez +2k12l +2km +2kny +2kp. +2kpb +2kpe +k2p1e2l +2kp +2kpl +2kpn +2kppel +2kpr +2kpt +2kpz +2k1r. +2krd +2kre +2kr +2kr +2ks +2k1tt +k1tv +k1gr +k2hi +2kia +2ki +2kic +2kie2 +2ki +2kif +ki2g +k1iga +2k1ig +2ki +2kij +k1ill +2kim +k1imi +2kinc +2kine +2k1int +2kiny +2kio +2k1isk +2k1ist +2kisz +2kit +2kiv +k1i2va +k1k2r +k2lim +1k2l +21k2l +21k2lu +2kock +2koco +2koe +2koh +2koll +2kom +2komf +2komp +2konc +2konf +2konj +2kons +2kont +2kony +2konz +2koo +2kop +2kor +ko2r12s +2korb +2kore +2k1org +2kori +2korl +2korm +2korn +2koro +2korr +2kors +2koru +2k1oszl +2kd +k12l +2kr +2k1v +2kl +k12l +k12l +k1rd +k1tl +k1pl +k1pr +1k2r +k2re +21k2rm +k2rt +21k2ri +1k2r +k2ron +k2ros +21k2rn +k1sk +k1st +2k1ug +2kum +2kup +2kur +ku2sz1l +ku2sze +2kut +2kr +2k1g +2kl +2ks +k1zl +21k2v +l1ajt +la2man +la2pa +2l1a2pl +la2pol +la2p1osz +l1a2r +l1azo +l2b1t +12ll +ls3s +l2s +l1tl +le2 +l1e2se +l1e2s +l1esh +l1esn +l1ess +l1est +le2ta +lete2 +le2t1ev +2l1rz +l2tel +l2ts +li2ako +li2am +li2s +l1iszo +l1n +loma2 +lo2m1al +lo2m1 +lo2m1e +lo2mis +12lomr +2l1osz +l2 +l1sl +l1sp +lt2 +2l1l +2l1r +2l1s +2l12z +l1p2r +lu2m1e +lus3s +lu2sz +l1t +l1v +lya2ga +lyag1g +ly2 +m1abl +2m1a2c +2magn +m1akn +m1all +2man +2mara +2marc +maren2 +2marh +2mark +mas2 +ma1sp +2mass +2mate +m1a2to +2m1au +2max +2mg +m1ll +2mrk +2mrt +2mz +m1b2r +m1e2gy +2men. +2md +2ml +m1le +2m1p +2mre +2mr +2mrg +2mrk +2mrn +2mr +2mrs +2mrt +miac1 +mi2as +2m1i2b +mi2g +2m1ig +2mi2k +m1iko +2min +2m1i2ono +2m1i2ont +2m1i2p +2mis +2m1isk +2m1ist +mi2sz +2m1i2z +2mod +2mog +2moh +2m1ola +2m1old +2mond +2moni +2mono +2mont +2mor +2mos +2m1osz +2mot +2m1ox +2moz +m1t +m1r +m1pr +m1t +m1z +mt2 +2nad +2nag +na2ks +na2k1e2 +na2kol +n1alj. +n1aljak +n1alj +n1aljo +n1alju +2nap +na2pa. +na2p +2n1apba +na2pe +n1arc +2n1asp +n1aszt +na1t2 +2nav +n2l +2n1ll +2n1lo +ns1s +n1br +ne2d +n1ez +12n +2nm +n1p +12nra +n1rc +2nrd +12nr +n2v1 +2nz +ni2g +2n1ig +2n1ist +n1odv +12nokul +2nor +n1ox +n1n +2n1r +n1t +n2h +n1pr +2n1u2t +n1r +2nya +2nye +2nyil +2nyit +2nyit. +2ny +2nyo +2nyu +2ny +1o +o2d +o2ka +o2k +o2k1i2 +o2ku +o2la +o2li +o2pe +o2ra +o2ri +o2ro +o2vi +o2xi +1 +2la +2l +2li +2lo +2ra +2ri +2s +2v +2vo +2v +1 +2b +2ko +2k +2l +2l +2r +2ve +2z +1 +2re +2r +2ri +2r +2r +2s +2s +2p1a2da +2p1alk +p1anal +2p1a2no +p1ant +2p1any +p1a2rn +p1ll +pcsa2p1 +2p1ef +2p1e2g +p1elo +2p1id +p1ind +2p1i2o +p1i2r +1p2lak +1p2las +1p2lu +2p1ob +2p1o2la +po2rad +p1ra +1p2ri +p2rod +p2rop +1prb +p1t2r +pus3s +2p1j +p1v +2rab +r1ace +2rada +ra2dat +2raib +2rai +ra2ir +2raih +2raii +2raij +2raik +ra2ik +ra2iko +2raim +2rain +2raip +2rais +2rait +2raiv +12raje +2rajo +2rajz +ra1kv +2rala +r1alk +2ramo +2r1ani +r1ant +ra1p2l +r1arc +1rare +ra1s2p +2r1a2tom +12ra +1rn +r1gg +r12gy +1rkh +12rki +2r1l +12rm +12rmo +1rmr +2r12p +r2se +2rta +r1tv +r1br +r1ege +2r1e2gy +2r1e2le +r1ell +r1elm +2r1elo +2r1e2l +r1elv +r1emb +r1eml +2r1e2r +2r1e2set +2r1e2t +2r1e2t +2rez +r12je +2r12l +r12ri +r2vek +r1fl +rh2zot +ri2aka +ri2al +2risi +ris3s +ri2ch +2r1id +2r1int +r1i2onn +r1i2ono +2rip +2r1i2pa +2r1i2si +2r1isme +2rit +ri2z +r1izo +r12j +2r1r +r12z +r1kl +rm2s +r1o2k +3rok +r1o2ki +ro2kok +ro2koz +r1o2ku +r1ok +2r1osz +2r1o2x +2r1da +r2dj +ri2ko +r1p +r1s +2rz +2r12l +2r1ml +2r1s +2r1t +r1r +r1p2r +r1tr +ru2mag +ru2me +2r1u2r +ru2sab +ru2san +ru2se +rus3s +ru2s +ru2s3z +2r1uta +2r12s +2r1t +r1n +r12v +r1z +2sabl +2s1a2d +2s1a2g +2s1alj +s1alt +s1amn +2s1apr +2sar +2s1arcot +2s1asp +s1ass +2s1atl +2s1au +sa2vo +2s1br +2s1f +sg1g +2s1ll +s12lo +2s12ro +s1ti +2sto +s1bl +s1br +scsap12 +2seb +s1e2gy +2sej +s1elj +s1elm +s1e2l +s1els +s1elv +se2m +s1emb +s1emi +2s1en +se2p +s1epo +s1er +2s1es +2s1e2t +2s1ez +2s12l +2sm +s12ne +2s1p +2s1r. +2s1rte +2st +s2tka +2s12te +s1tk +s1tt +s1fr +2s1i2d +si2g +s1ige +si2kerb +2sikl +s1ind +s1inf +si2p +s1ipa +s1iro +2s1isk +s1ist +2sk +2s1nh +s12r +s12r +1s2kat +s2kic +ski2s +s1kl +s1kv +s2lag +2sl +1s2ni +2sokas +2sokko +2soks +s1oli +2sor +2s1org +2s1orj +2s1orm +2s1ott +2s1ov +2s12r +2s12l +2s1s +2s1t +s1r +1s2pec +21s2pek +21s2pir +s1pl +1s2pu +s1s2k +s1s2p +s3sze +s3sz +21s2tab +1s2tad +1s2taf +21stand +21s2tat +2st +s2tbb +1s2td +1s2tt +1s2tg +2st +s2topo +2st2r +s1tr +s1tri +1stru +2st +2sug +2s1u2r +2s1u2t +s1r. +s12ri +s1rn +2sl +2sr +2s1s +2s1z +2sr +2sza +2s3zac +sza2k1 +2sz1a2lap +2sz +sz2gol +2szed +2szeg +2sz1e2g +2szek +2szel +2szem +2szen +2szer. +2szere +sze2r1e2p +2szerk +2szerv +2szerz +2szez +2sz +sz2n12 +2szi +2szima +2sz +2szk +sz2l +2szob +2szoc +2szof +2szol +2szon +2sz +2sz +2sz1s +2sz +2szp +s3zs +2szt +1sz2t +szt2r +2sz +2sz +2sz1g +2szk +2szr +2szr +2s3zrt +sz2v +t1ad +2tag. +2taga +ta2gal +2tagb +2tag1g +2tagi +2tagj +2tagk +2tagn +2tago +2tags +2tagu +t1ajk +2talap +2tal +t1alk +2t1alm +2tan +t1anti +2tap +2tar +tas2 +2t1ass +2tat +t1a2ur +2tax +2tg +t12ga +t1gg +2tp +tra2d +t2r1ada +2tro +2trs +2tvc +2tvi2 +t2v1ir +2tv +2tvk +2t1e2g +2t1elh +2t1e2l +2t1emb +2terd +t1g +2t12k +t2t12 +t1fr +2t1i2d +ti2g +2t1ig +t1ill +2t1im +2t1ing +t1i2pa +ti2sz +2t12r +2t12v +2t1z +t1kr +tl2ke +2toj +2tol +tol2l1a2d +t1oml +2ton +2tor +2t1ors +2tov +2t. +2tn +t1ko +te2 +t2rad +t2raf +t2rak +t2ran +t2rn +t2rik +t2ril +t2ri +t2rom +t1sl +t1sp +tsze2r1ep +tu2sze +t1l +t12l +t1st +2t12v +t2z3s +1u +u2bo +u2ga +ugrs1s +uj2j1a2da +u2ni +u2no +u2ra +u2sz +u2ta +u2t +u2to +u2t +u2tu +1 +2j +2r +2sz +2ti +2to +1 +2gy +2le +2l +2l +2n +2re +2r +2r +2sz +2te +2t +2t +2ve +2ze +1 +2z +2vad +2vag +2vaj +2vak. +2vaks +2vaku +2val +2var +2vas +2vat +2vg +2vk +2vl +2vn +v2r1al +vrosi2h +2vsa +12vsi +2vso +12vsr +12vss +12vst +2vz +ve2r1a +veri2 +ve2rip +v1in +12vod +2vom +2von +za1d2 +z1a2d +z1a2d +2zaj +z1akc +za1kr +z1akt +z1a2la +z1arc +za1s +za2t1a2l +za2tan +za2tl +za2ts +za2told +za2t12 +2zav +2z12g +z1ll +2z12ru +2z12r +z1bl +1zdi +2z1e2g +2z1el +z1em +z1er +2z1ex +z1ez +2z12l +2z12te +z1fl +z1fr +zhaji2 +z1imp +z1ing +2z1i2p +zi2s1e2 +zi2sir +zis3s +zi2s3z +2z1old +zo2n1a2 +zo2n1 +zo2ni +zs2 +z1sp +z1r +z1pr +zsa1k2 +2z3ser +z3sor +z3sz +z1t2r +2zuh +2z1u2r +2z1u2t +z12s +2z1t +z12g +z1l +z12z +2. +1a +1 +b1a2n +b1l +b12r +b1t +b2b1a2 +b2b12 +b2b1eg +bbe2l +b2b1ele +bbe2m +bb1eme +b2b1e2r +b2b1esz +bb1eve +b2bl +b2bid +b2b1is +b2b +b2b1ol +b2b1os +b2bot +b2b +b2b +bb2 +b2b1l +2b1ef +2b1eg +2b1e2l +2b1e2m +2b1e2n +2b1er +2b1l +2b1r. +2b1rt +2b1rz +b1fr +2b1i2d +2b1ing +2b1int +1bli +1bl +b1or +b1n +2bll +1blt +c1aj +ccs1a2 +ccs1i +2c1p +2c1ve +c3he +c3h +ci2 +c1r +2cs1a +cs1j +cs1k +2cs12te +2csiz +cs1izz +cs1 +2cs12l +cs12r +c3sz +d1a2l +d1a2n +d1ar +d12l +d1r +2d1ef +d1ell +2d1em +d1e2v +d2m1o +d2sa +ds3s +d2s3z +2d12ves +d12vn +d12vr +d1gr +d1z +d1os +d1c +d12r +d1sp +d1u2s +d1j +d12s +2d1v +2d1z +d3z +dzr2 +d3zu +1e +1 +fs3s +g1ab +g1a2c +g1a2d +g1ag +g1a2k +g1a2l +g1a2n +g1ap +g1ar +g1as +g1a2t +g1b +g1g +g12l +g12r +g1t +g1dr +2g1e2g +2g1e2ki +g1elb +2ge2leme +2g1elf +2g1elha +2g1elm +2g1elo +2gemel +2g1er +2g1esz +g1e2v +2g12g +g1kt +2g12p +2g1r. +2g1rs +g1rt +gs3s +g1fr +2g1id +2g1i2m +g1inf +2g1ist +2g1iva +2g1i2z +g1n +g1r +g1v +g1kr +g1o2l +g1op +g1o2r +g1os +g12r +g1li +g1l +2g1v +g1pr +gre1p2 +g1sk +g1sp +g1tr +g1ud +g1u2n +g1u2t +2g1g +2g1s +2g1t +2g1v +2g1z +2g1z +g3ya +1i +1 +j2tl +j2t1o +k1ab +k1a2g +k1a2k +k1a2l +k1a2n +k1a2p +k1ar +k1as +k1a2t +k1au +k1a2v +k1g +k1l +k12p +k12r +k1t +k1z +k1dr +2k1e2d +2k1e2g +2k1eke +ke2l +k1ela +k1ele +k1elh +k1elm +k1eln +k1el +k1elv +2k1e2m +ke2n +ken1s +k1erd +2k1e2resz +2k1e2r +2k1es +ke2vs +2k1ez +2k1g +2k1kn +k1ks +k12les +2k1p +k2r1e2l +k2r1em +2k12rez +2k12rs +ks3s +2k12te +2k12ve. +2k12vek +k12vet +k1fr +k1gl +ki2d +k1ide +k1ido +ki2g +k1iga +2k1ig +2k1ikt +2k1i2na +k1ind +2k1ing +2k1int +2k1i2o +2k1i2p +2k1iro +2k1is +2k1iz +k1j +2k1r +k1v +k1z +k1kl +k1k2r +1kl +k1ok +k1old +1kol +1kon +k1o2p +k1o2ro +k1orr +k1ors +k1o2v +k12r +k1v +1kr. +k2r +kr1a2d +k2 +k1pr +1krs +1kr +1kr +k1sp +k1sr +kszi2l1 +k1t2r +k1u2n +k1u2r +k1us +k1u2t +k1j +k1r +k1t +2k1g +k2l +2k1l +2k1lt +2k12t +2k12v +2k1z +l1a2d +l1ag +l1a2j +l1a2k +l1al +l1ap +l1a2r +l1au +l1a2v +l12g +l1l +l12m +l12p +l12r +l12s +l1t +l12z +l1br +lcsa2l +lcs12p +lcs12r +lcs1ell +l2csev +l2csid +l2csiz +l2cs1ok +lcs1ol +l2csos +l2csg +l2csl +l2dab +l2d1a2d +l2d1a2k +l2d1a2la +l2d1alj +l2d1alk +l2d1a2n +l2dap +l2d1as +l2d12 +l2deg +l2dep +l2dev +l2d1d +l2dl +l2d1ing +l2dip +l2d1o2r +l2dos +l2d12 +ld2 +l2dr +l2ds +l1dr +l2dur +l2d3z +12l1e2b +le2gel +leg1g +2lel +2l1e2r +3l2e3s +le2t12 +le2t1el +le2to +le2t1u +2l1e2v +l2d +2l1de +12l +2l12g +2l12kes +2l1k +2l1l. +2l12le +2l12l +2l1lh +2l12li +2l1lj +2l1ln +2l1ls +2l1lt +2l1lv +2l1me +2l12neke +2l12p +2l1r. +2l12red +2l12rek +2l12rezn +2l1r +2l1rh +2l12ri +2l1rj +2l1rk +2l1rl +2l1rn +2l1rs +2l1rte +2l1rt +2l1rt +2l12r +2l1rv +2l1rz +ls3s +2l12tet +l1fr +lgy2 +l2gyer +2l1i2d +li2g +2l1iga +2l1ig +2l1igy +2l1ij +2l1il +2l1im +2l1i2n +2l1i2p +2l1i2r +2l1i2s +2l1i2ta +2l1itt +2l1iz +l12r +l12v +l1o2c +l1o2k +l1ol +l1or +l1o2s +l12v +l2ki +2l1kl +2l1l +l1nt +2l1r +2l12v +l1rl +l1r +lprba2 +l1p2r +l1sk +l1sr +l1st +l2t1ad +l2taj +lt1ala +lt1alj +lta2n +l2tid +l2til +l2t +l1tro +l2tur +l1u2g +l1uj +l1u2s +l1u2t +l1j +l1s +2l1d +2l1g +l2le +l1lt +2l1lt +2l1lve +2l1s +2l1t +2l1v +2l1z +2l1z +2ly1a2 +2ly1 +ly1e2g +2lyel +ly2fl +m1a2d +m1a2g +m1al +m1a2n +m1a2p +m1ar +m1au +m1b +m1g +m1h +m1l +m1p +m12r +m12t +m1z +m2b1a2c +m2b1ak +mba2l +m2b1a2n +m2baz +m2b1 +m2bec +mb1ele +m2b1e2m +m2b1es +m2bk +m2b1i2d +m2bin +m2b +m2b1os +m2b12 +m2b +m2br +2m1e2b +me2g1a2 +meg1e2r +me2gesz +me2g1k +me2gp +meg3g +m1egy +2m1e2l +2m1ember +2m1emel +2m1e2r +me2s +2m1ese +2m1este +2m1g +2mhs +2m12l +m12nekb +2m12neke +2m12nek +m12nekh +2m12nekk +2m12nekr +m2ny1 +2m1p +2m1r. +2m1rte +2m1rt +ms3s +m1gr +mi2g +2m1ig +2m1in +2m1i2p +2m1i2ta +2m1itt +2m1izm +2m1i2zo +m12z +mksz1 +m1kl +m1kr +mls3s +1mlt +m1o2k +m1o2l +m1or +m1os +m12d +m12r +2m1nt +m1p2r +m1sp +m1st +m1tr +m1u2g +m1uj +m1u2t +2m1g +2m1nn +2m1v +2m1z +2m1z +n1ab +n1a2d +n1a2g +n1a2j +n1a2k +n1a2l +n1am +n1a2n +n1a2p +n1ar +n1as +n1at +n1au +n1a2v +n1az +n1b +n1g +n1l +n1m +n12p +n12r +n12t +nt1a2d. +nt1 +n1z +nb2kt. +n1bl +n2c1l +n2ch +n2c +nc3sg +nc3sz +n2cz +n2dab +n2dap +nde2m +n2d1r. +n2d1rn +n2d1rr +n2d1rt +n2d1or +n2d1 +n2dz +2n1eb +2n1e2d +2n1ef +2n1e2g +2n1e2l +2n1e2m +ne2n +n1ene +2n1e2r +2n1es +n1e2v +n1ex +n12g +2n1j +2n12k +2n12l +2n12p +2nrd +n1ri +n1rl +n1rte +n1rv +ns3s +n1sz +2n1te +2n1tt +2n1v. +2n1ves +n1vet +2n12vr +2n12vt +2n1vv +nfe2lem +n1f2r +n1g2l +n1g2r +ngy1as +n2gyk +ngy12r +2ngy +n2gy +2n1i2d +n1if +ni2g +2n1iga +n1ige +2n1ig +n1ill +2n1im +2n1in +2n1i2p +2n1i2r +2n1is +n1ita +2n1i2z +n1j +2n1r +2n1z +n2k1ag +n2k1any +nk1ru +n2kt +nk1olt +n2k1 +nk2 +nmeg1g +nna2k +n2n1 +nny1a2d +nny1 +nny1e2dz +n3ny +n1o2d +n1o2k +n1op +n1or +n1os +n1ox +n12c +n12r +n1v +n1b +2n1r +2n12v +n1r +n2re +n1z +n1pl +n1pr +n1ps +nsg2k +n1s2p +n1s2t2 +nsz2 +n2t1ell +ntgen1n +nts3s +1ntz +n1t2ra +n1t2r +n1t2r +n1ud +n1un +n1u2r +n1u2s +n1u2t +n1j +n12s +n1t +n1d +2n12g +2n1r +2n12t +2n1z +2ny1a2 +2ny1 +ny1d +2ny1el +2ny1id +2ny1in +2ny +2ny1o +2nyz +ny2vaj +ny2v1a2l +ny2van +ny2v12r +ny2v1e2g +ny2v1er +ny2v1esz +ny2vev +ny2v1g +ny2vl +ny2v1r. +ny2v1ill +ny2v1 +ny2v1o +1o +1 +1 +1 +p1aj +p1a2l +p1l +p1e2l +pe2ny +p1e2r +2p1p +p12l +r1ab +r1a2c +r1a2d +r1a2g +r1aj +r1a2k +r1a2l +r1a2n +r1a2r +r1as +r1a2t +r1a2u +r1a2x +r1a2z +r1b +r12c +r12g +r12l +r12r +r12s +r12t +r1br +rcs1l +rcs1ell +rcsksz1 +r2csos +2rd +r1d2r +2rd +2r1e2c +r1e2dz +2r1ef +re2ga +re2g1k +r1e2gy +re2j1 +re2k1e2sz +rek2 +2r1e2l +2r1em +r1enc +2r1e2p +2r1e2r +r1e2se +2r1e2tet +2r1e2v +2r1ex +2r1ez +2r12de +2r12g +2r1j. +r1ks +2r12l +2r1neke +2r1p +2r1r +2r12ri +r2sel +r2t1e2g +2r1tv +r12ve. +2r1vk +r2f +r2f1v +r2f1i2p +r2fis +r2f1os +r2fr +r1g2r +2r1i2d +ri2g +2r1iga +2r1ig +ri2k +r1iko +2r1ill +2r1im +2r1ind +2r1ing +2r1inj +2r1ink +2r1int +2r1inv +2r1i2p +2r1ira +2r1i2s +2r1i2ta +r1itt +2r1iv +r1i2zo +2r1r +2r12v +2r12z +r1k2l +r2k1lt +r1k2r +rle2ta +r2l1in +rny1a2l +rny1a2n +rny1as +rnye2l +rny1ele +r2ny1er +r2nyj +r2nys +rny12r +r2ny +r1ob +r1o2k +r1o2l +r1op +r1o2r +r1os +r12r +2rg +r3g2e +1rm +2r1nt +2r1r +2rssze +2r1sz +rpe1t2 +r1s2p +r1s2v +rta2r +rt2v1 +r2t1ks +rt2l +r2t1l +r2t1l +rt1rne +rt2sz +r2tv +r2t1ok +r2top +r1ud +r1uj +r1u2n +r1u2r +r1u2s +r1u2t +r1j +r1r +r12t +2r1d +2r12g +r2l1k +2r1r +2r1s +2r1t +2r12v +2r1z +1rv. +rva2s +1rvb +1rvek +1rvem +1rvet +1rvb +1rvh +1rvv +1rvh +1rvn +1rvr +1rvt +1rv +1rv +1rvv +rz4s +r2zs12 +r2zs1e2l +r2zsid +r2zsin +r2zsir +r2zs12 +r2zs1o +r2zs +r2zsu +r2zs +s1a2g +s1al +s1r +2s1el +ses3s +2s1ez +si2 +2s1i2p +s1k2r +s1o2l +s1o2r +ssz2r +1sszeg +ssz1emb +1sszes +s3sz +st1arc +2s12v +2sz1a2 +sz1e2r +szi2s +sz1isz +2sz1o2 +2sz1 +sz2t1ell +t1ab +t1aj +t1a2k +t1a2l +t1am +t1as +t1a2t +t1b +t1g +t1l +t1r +t12s +t1ek +t1e2m +t1ep +t1es +te2t1a2 +te2tel +te2u +t1e2v +t1e2z +tl2 +t2lk +t2l1o +t1rt +t1rz +ts3s +t12ves +t1fl +t1fr +t1gr +t1i2r +t12v +t1kr +1tlet +tle2t1 +1tl +t1ok +t1ol +t1or +t1os +t12r +2tdb +12tdd +12tdne +1tdt +12tdr +1td +2ts +ta2 +te2 +t2 +t1pr +t1sc +t1st +t2t1a2c +t2tar +t2t1as +t2t1l +tt2r +tt1erk +tt1rte +t2t1ut +t1uj +t1un +t1u2t +t12l +tve2n1ez +1u +1 +1 +1 +v1ab +v1ak +v12r +v1e2dz +ve2g1a2 +veg1s +veg1g +ve2go +v1e2r +ve2t1a2 +ve2teg +ve2t12l +ve2to +ve2t1 +vet2l +ve2t1l +2v. +v1g +v12j +v2nyel +v2nyer +v2ny +v2sza +v2sz +v2szer +v2szo +v2sz +v2szl +vi2d +2vih +vis3s +2viv +v1or +v12d +v1lt +vrs3s +v1ut +z1ab +z1a2c +z1a2d +z1a2j +z1a2k +z1a2l +z1a2m +z1a2n +z1a2p +z1a2r +z1at +z1au +z1az +z12g +z1l +z12m +z12p +z12r +z12t +zt1 +z1d2r +2z1e2b +2z1e2d +ze2gel +2z1egs +zegsz1 +2z1e2gy +2z1ela +ze2leme +2z1e2m +z1eng +z1ent +z1epr +2z1er +2z1es +ze2t12k +zet2 +ze2t1r +2z1e2v +2z1g +2z12je +z2k1e2l +z1lel +z12let. +z12l +z1lm +z1lt +z2m +z1me +z2p1a +z2p1el +z2p1em +z2p +z1pt +z2p1o +2z1r. +2z1rb +2z1rd +2z1rh +2z12ri +zr2t1e2h +2z1rtele +2z1rt +2z1rt +2z1rv +2z1rz +z1tk +z1fr +zi2g +2z1iga +zigaz1 +2z1ig +2z1ig +2z1igy +2z1i2ko +2z1ikt +2z1ill +2z1i2m +2z1inf +2z1ing +2z1inp +2z1int +2z1in +2z1inv +2z1ira +z1ir +2z1i2ri +z1iro +2z1ir +z1isko +2z1ism +2z1isp +2z1i2sz +2z1iz +z1r +z1z +zmeg1g +z1ob +z1o2k +z1ol +z1op +z1os +z1ov +z12h +z1n +1znt +2z12r +z1ssz +2z1v +za2 +ze2r +z1r. +z1rk +z12r +z1pl +z1p2r +z3sa +z3s +z3se +z3s +z3s2k +z3so +z3s2p +z3s +z3sz +z1t2r +z1ug +z1u2n +z1ur +z1ut +z12r +z1t +2z1d +2z12g +z1nn +2z1t +2z1v +2z12z +z3zs +2. +1a +a2da +a2d +ads1s +ad2sz +a2do +a2d +a2du +a2ga +a2g +a2gi +a2gy +agyag1 +a2ja +a2j +a2ka +a2k +a2k +a2la +ala2g1 +a2l1e +a2lo +a2m +a2na +a2no +a2n +a2ny +a2pa +2apar +a2p +a2po +a2p +a2pu +a2ra +a2r +a2ri +a2ro +a2sz +a2to +a2ty +a2ul +a2ur +a2ut +auti2k +a2va +a2xi +a2zo +1 +2cs +2gai +2gak +2gas +2gat +2g +2g +2gi +2go +2g +2gy +2h +2la +2lo +2m +2po +2ra +2r +2re2 +r1em +2ri +2ro +2ru +2r +2sa +2s +2so +2s +2su +2sz +2ta +2t12 +2t1e2 +2t +2t +2t +2v +ba1p +b2le +b2lo +b2ri +b2ro +b2r +b2ru +c1ap +c3cso +c1gr +c3h +c3h +c3h +c2lu +2cs1ala +csa2p12g +2cs12j +2cs12r +cs1st +cs1s +c3sz +d1a2da +d1a2d +2d1a2lap +2d1au +d1l +d12z +dea2 +2d1e2g +d1eld +d1elj +d1elk +d1e2l +d1els +2d1p +2d1rte +2d1rz +d2sa +d2so +ds3s +d2s3z +2d1id +di2g +2d1iga +d1ind +d1int +2d1isk +2d1op +d1ost +2d12l +2d1v +d1r. +d12r +d1rn +d1rr +d1rt +2d1st +d1pr +d2ram +d2rap +1d2r +1d2res +1d2rog +1d2r +1d2ru +d1st +d1t2r +2d1g +2d1z +2d3z +1e +e2ce +e2cs +e2d +e2dz +e2ge +e2g +e2gy +e2ke. +e2kk +e2la +e2l12 +e2lek +e2lem +e2lemg +e2lemh +e2lemm +e2lemn +e2lemr +e2lem +e2li +e2lo +e2l +e2ld +e2l +e2ma +e2me +e2m +e2mu +e2ne +e2pi +e2po +e2re +e2r +e2rd +e2r +e2rh +e2ri. +e2rk +e2rm +e2rr +e2r +e2s +e2si +e2s +e2ta +e2te +e2ti +e2un +e2v +e2vi +e2vo +e2v +e2ze +1 +2de +2et +2ge +2g +2gi +2g +2hem +2hes +2ji +2ke +2k +2k +2l +2l +2l +2nekb +2neke +ne2kest +2nek +2nekk +2nekr +2p +2p +2rem +2ren +2rez +2r +2ri +2tek +2va +2ve. +2vek +2ves +2vet +2vb +2vn +2vr +2vt +2vi +fa2l1a2d +f2la +f2le +f2lo +f2l +f2l +f2lu +fo2kl +fo2kr +fo2kin +f2ra +f2r +f2ri +1f2ro +f2r +g2p1e2l +gp2l +gp1l +gs3s +g2le +g2l +g2n +2g12l +g2ra +g2r +g2ri +g2r +guba2 +gy1a2la +gy1art +2gyeg +2gyel +gy1e2l +gy1elv +gy1elz +2gyin +2gy1r +hang2 +han2g1ra +1i +i2dea +i2de +i2deg +i2deo +i2dn +i2do +i2d +i2ga +i2ge +i2g +i2gy +i2ko +i2ma +i2m +i2mi +im1p2l +i2nas +i2on +i2pa +i2ra +i2r +i2ri +i2ro +2iru +i2si +i2sz +i2tala +i2tal +i2tal +i2tali +i2tall +i2va +i2v +i2v +i2z +i2zo +1 +2g +2ja +2ra +2r +2ro +2r +2ru +2v +2ve +2v +2vi +2vkb +2vke +2vn +2v +2ze +2z +2z +je2gy12 +job2b1ol +job2b1 +jog2szi +ke1k2 +ke1p2 +kes2 +ke1sp +ke1st +k2p1el +k2s1el +ki2 +kie2 +k2la +k2le +k2li +k2l +k2l +k2lu +kro2 +1k2ra +1k2r +1k2re +k2red +1k2r +1k2ri +1k2r +1k2ro +1k2r +k2va +le2 +ls3s +l2r +lt2 +l1tr +ma2gr +mag1g +ma2g12 +m2h +m2n +mt2 +2n1e2ke +n1ems +nve2 +nv1es +2ny1a2d +nya2g +2ny1aga +ny1a2la +ny1ra +ny12ro +2nyt +2nyef +nye2lem +2ny1elh +2ny1ell +2ny1elo +2ny1em +2ny1lv +2ny1 +2nyz +1o +o2z +o2be +o2d +o2k +o2k1i2 +o2k +o2ko +o2la +ola2j12r +ola2je +o2pe +o2r +o2ri +o2ro +o2so +o2ve +o2xi +1 +2ce +2ha +2no +2nu +2ra +2r +2ri +2va +2v +1 +2b +2d +2ko +2k +2l +2l +2na +2re +2r +2ve +2v +2vi +2v +2z +1 +2re +2r +2ri +2r +r2s1gb +r2s1gn +2se +2si +prba2jo +p2la +p2le +p2l +p2ne +ponc1 +po2ral +p2re +p2r +prs1s +p2ri +p2ro +p2r +p2sz +r1a2d +r1a2g +r1agg +r1ajk +raj2t1l +r1akc +2r1a2l +ral1e +ra2n +r1any +r1ap +2r1a2r +2r1a2s +2r1at +2r1au +2r1a2z +12r1b +rdi2k +r1gy +r2k1e +2r12l +2r12p +r12ru +1rb +1r1bl +1r1br +2rea +re2li +ree2 +re2get +r1e2gye +rei2g +2r1ekc +2r1ekh +re2lem +r1elh +2r1ell +r1e2la +r1els +r1elt +2r1elv +2r1emb +r1eml +ren2d12 +r1enz +reo2 +re1prog +2r1e2s +reu2 +re2 +2r1ex +1rezr +12r1g. +1rgn +1r1gt +12r1kh +r1kn +r1ks +2r12l +r1p +2r12ri +r2sa +r2sza +12r +r12ve. +r12vek +r1fl +1rf +r1fr +r1g2r +2r1i2d +2r1if +2r1i2ga +2r1i2g +r1iha +r1ill +2rim +r1imi +r1i2na +r1ind +2r1inf +2r1int +r1i2pa +ri2s1 +r1iv +r1i2z. +2rizg +r1izm +r1i2zo +r1r +1rj +r1k2l +r1k2r +1rl +2r1okt +r1old +12r1o2li +r1oll +2r1or +2r1osz +2r12r +3rg +12rk +2rl +1rm +r1ng +2r1r +2r1ssze +12r1r +2r12s +1rsr +2r12z +r1pl +r1p2r +1r1p2s +1rs. +r2s1g +r2s1l +1rs +1rs +r1s2pe +r1spi +r1sr +rs3s +r1sz2 +r2s3zm +1r1t2r +12r1un +12r1u2r +r1ut +2r1j +r1r +2r1t +2r1d +r1ld +12rle +2r1s +2r1t +2r1z +2rzs +2s1ad +2s1a2g +s1ajtb +2s1ajtk +sa2n +s1ana +sa2p +s1arc +s1ass +s1au +2s1b +2s12g +s2l +s1ll +s1ra +s1rv +s1dr +s1e2d +2s1e2ge +2s1e2gy +s1elm +s1e2l +s1elv +2s1e2m +se2n +s1ene +se2p +s1epi +s1epo +s1e2rej +s1er +s1ess +s1esz +s1etn +2s1e2v +2s1ez +s2g1e2l +2s1ger +s2gs +2s1k +2s12l +s1p +s1fl +s1fr +s1gn +s1gr +2s1i2d +2s1if +si2g +s1iga +s1i2ma +s1i2m +s1imi +s1inf +s1ing +s1int +2s1i2pa +s1i2ra +s1ist +s1i2sz +2s1i2z +s2ka +s12r +s12z +s2kl +s1kl +s1k2r +s1kv +s2lat +s2nit +s1ob +so2k +s1oko +2s1o2l +2s1op +2s1org +2s1os +s1c +s1ri +2s12l +s1nz +s2r +s1rd +s1re +s1r +s1rv +2s12z +s1r +s12s +s2pec +s2pek +s1p2l +s2pr +sp2r +s2rc +s1sk +s1s2p +s1s2t +ssz2 +s3sza +s3sz +s3szeg +s3szek +s3szell +s3szem +s3szen +s3szer +s3szes +s3szk +s3szn +s3szf +s3szi +s3sz +s3szl +s3szo +s3sz +s3sz +s3sz +s3szu +s3sz +s2tad +s2tat +1s2tt +1s2teri +s2tg +s2til +st2r +s1tre +s1un +su2t +s1uta +s1r. +s12s +sza2k1e +sza2k1 +sz1e2l +2szerk +2szer +sz1est +szi2l1i2 +sz1ill +sz1ist +sz2l +sz1l +sz1l +sz1lt +s3zse +sz3sir +szt2 +2s3zr +termo1 +termosz2 +tes2t1 +tol2l1a2d +1t2ra +1t2r +1t2ri +t2ro +1t2r +ttes3s +t2ts +tt1int +t2t1o2 +t2t1u2 +tf2 +tfl1 +1u +u2go +u2ni +u2ra +u2r +u2ru +u2ta +u2t +u2tu +1 +2jo +2r +2ri +2ro +2sz +2t +2ti +2to +1 +2d +2ge +2gy +2le +2re +2r +2sz +2te +2t +2ti +2t +2t +2ve +2v +2ze +2z +1 +2r +2ri +2r +2z +2z +vasf2 +vasfl1 +vr1al +ve2r1a +2vet +v2res +v2ret +z1abs +2z1a2d +z1a2g +2z1ak +2z1a2l +2z1a2t +2z1au +2z1l +z12t1e2 +z1bl +zeg1g +ze2g1i +z1e2gy +12zekn +z1elo +z1els +z1elv +2zem +z1emb +z1e2mel +2z1e2r +ze2t1a2 +ze2t1eg +ze2t1el +ze2ter +ze2t1o +2z1r. +z2rem +2z12ri +2z1rl +z1rt +12zi +2zi2g +z1ig +2z1in +2z1iz +z1k2r +z1o2k +z1ol +z1os +z1ssz +za2 +ze2l +ze2r +z1p2r +z3saj +z3sap +z3st +z3sik +z3sis +z3s2t +2z3s +z3sz +z1t2r +z1t +z1g +2z1s +2z12z +z12z +2p. +1pa +2p1abl +pa2cem +pa2ch +pa1cl +pa2cs +p1a2dag +pad1ala +pa2d1as +pa2d12l +pade2 +pa2d1el +pa2d1em +pa2d1id +pa2d1iga +p1a2dott +pa2du. +pa2dut +pa2dl +pae2r +pa2r +pa1fl +pa1f2r +pa2ga. +pai2d +2p1ajt +pa2kad +paka2r1 +pa2k1e2m +pa2k1r. +2pakku +pa1klu +pa2k12 +pa1k2r +2p1akta. +pak2tal +pak2t1e2l +pak2t1es +pak2t1e2v +2p1akti +pak2t1or. +pak2t1orr +pak2tos +2palag +pala2g1 +pa2lap +palza2d +pal2z1ad +pa2l12l +2p1alf +2p1alg +2p1alle +2p1alm +pal1ud +pam1ass +pa2m1ur +pamu2ta +pana2d +pa2n1ag +pa2nal +pan1ala +pa2n12r +pans1s +pan1d2 +pang1g +pa2n1il +pan1kro +p1anny +pa2nol +pans2 +pansz2 +pan1szt +pa2n +2p1a2nya +p1a2nyu +pa2p1ad +pa2p1a2pa +papa2r +pap1ara +pa2p1aszt +pap1ll +pa2p1il +pa2p1i2na. +pa2p1i2p +pa2p1o2ku +pa2p +pap1p2 +pa2p1ur +pa2p1u2t +pa2p +2para. +para2je +par1a2la +2parann +2p1a2rany +2pa2r1a2r +pa2r1g +pa2r1gn +pa2r1go +pa2r1gv +2parh +2p1a2rj +par1ll +2parr +2parv +2parb +2p1arc. +2p1arca +2p1arcc +2p1arch +2parci +2p1arco +2p1arct +2p1arcu +2p1arc +pa2r1el +pa2r12l +2parig +2paril +pa2r1ill +par1isk +par2k1a2l +par2k1 +par2kel +par2k1ing +par2kov +par2k +par2kn +par2k12v +par2k12 +par2k1 +2paros. +2parosi +2paroso +pa2r +pa2r +2parr +pars2 +par2tem +par2t1ol +par2t12 +pa2r12 +pa2r +past2 +pasz1alj +pasz1alt +pa2szas +pat1ada +patak2 +pa2t1alk +pat1anya +pa2t1ara +pat1lc +pa2t1rk +pa2t1e2g +pa2t1ell +pate2s +pa2tl +pa2t1r. +pa2t1rd +pa2t1re +pa2t1rte +pa2tid +pa2t1int +pa2tir +2p1atka. +2p1atknk +pa2t1old +pa2t1olt +2patombe +pa2t1osz +pa2t1otth +pa2t1ut +pa2ts +pat2 +pa2t1z +2p1a2tya +2p1a2ty +2paur +pau2ra +p1a2vat +pa1wh +2p1a2xi +1p +2p12b +2p1br +2pca +2pc +p2c1e +pc2 +p2c3h +p2c3s +p2cs +p2cs +2p1g. +2p12ga +2p1gg +2p1gy. +2p12gya. +2p12gyac +2p12gyad +p2gyaib +p2gyaid +p2gyaih +p2gyaik +p2gyaim +2p12gyain +p2gyair +p12gyakb +p2gyak +p2gyaki +p12gyako +2p12gyakr +p2gyakt +2p12gyal +2p12gyam +2p12gyan +p2gyast +2p1gyaz +2p12gyb +2p1gyl +2p12gyn +p2gyt +2p12gyv +2p1gyb +2p1gyc +2p1gye +2p12gy +2p1gyf +2p1gyga +2p1gygo +2p1gyh +2p12gyi +2p1gyj +2p1gyk +2p1gyl +2p1gym +2p1gyn +2p12gyos +2p12gy +2p1gyp +2p1gyr +2p1gys +2p1gyt +2p12gyu +p2gy +2p1gy +2p1gyv +2p1gyz +2p1jt +pla2 +p2lab +p2lac +2p1lar +2p1ldo +p2le +p1lla. +2pllap +2p1ll +2p1llom +2p1llv +2plmo +p2l +p2ly +plya1s +2pmi +2p12m +p2mu +pna2 +p2naf +p2n1am +p2n1an +p2nar +p2n1as +p2nr +p2n1e2 +p2nk +p2nil +p2nir +p2nis +p2n +pn1kr +2pnkt +p2n12 +p2n +p2n +pn1sz +pnte2 +pn2tek +pn2t1el +p2n +p2ny1ad +p2ny1a2l +p2ny1a2n +p2nyar +p2nyat +p2nyau +p2nyaz +p2ny1e2 +p2nyrd +p2nyim +p2ny +2p12po +pr1ad +2pras +2pr +pr2d1a2 +pr2del +p2r1e2 +p2r1i2p +p2r +pr1s2 +pr2t1ag +2prtal +prt1any +pr2tari +pr2tl +prte2 +pr2t1el +pr2tem +pr2tes +pr2tet +pr2tl +pr2t1r. +pr2t12te +pr2tiz +pr2tott +prt2 +pr2tk +pr2t1 +pr2tus +prt2 +pr2t1z +p2ruh +p2ruk +pru2t +pr1utu +p2rn +p2r +2p12ss +p2s1e +p2sir +p2s +ps3s +p2s12 +2p1svn +p2t1a2 +p2t +p2tel +p2t1e2m +p2tis +2p1tka. +2p1tkt +2p1tkv +p1tlag +2p1tl +p2t1or +2p1trak +2p1tt +p2t1uk +pt1rt +p2t +2p1tvt +pba2l1 +pb2r1e2l +pb2lo +pb2ra +pb2ri +pb2ro +pci2fo +pcsa2p12g +pcs2s1orr +pda2l1ad +pdal1an +pda2leg +pda2lel +pda2l1es +pda2ln +pda2l12 +pd2ra +pd2r +pd2ro +pd2r +1pe +pea2p +pea2r +peca1 +pec3c +pe2cz +pe2ed +2p1eff +pe1fl +2p1e2gese +pegsz1 +pe1g2r +2p1egz +2p1e2ke. +2p1e2kei +pe1k2r +2pektr +pe2ll +pe2lr +pe2lekt +2pelemb +2pe2lemek +pe2lemet +2p1e2lem +2p1e2lemg +2p1e2lemh +2p1e2lemi +2p1e2lemk +2p1e2lemm +2p1e2lemn +2pelemr +2p1e2lemz +pel1er +pele2t +pel1ete +2p1elgo +2p1elha +2p1elhel +2pelj +2p1elleb +2p1elnev +2p1elny +pe2los +2p1e2l +2p1e2la +2p1e2l +2p1e2le +pe2lg +2p1e2lh +pe2l +2p1e2lj +2p1e2ljeg +2p1e2ll +2p1e2lz +2p1elren +2p1els +2p1elt +2p1elto +2pelu +2p1elv. +2p1elv +pel2v1el +2p1elven +2p1elvh +2p1elvi +2p1elvo +2p1elv +3pely +2p1elz +2p1ember +2p1e2mel +2p1e2ms +2p1eml +2p1ems +2p1e2mu +2p1e2ner +2penged +pen3ny. +pen3nyb +penny1r +pen3nyh +2p1ennyi. +pen3nyj +pen3nyk +pen3nym +pen3nyn +pen3nyr +pen3nyt +pen3nyv +pe2nya +peny2 +pe2ny1e2l +pe2ny1e2r +peo2l +peo2p +pe2r +pe2pe. +2p1e2p +pe1p2r +pe2r1akt +per1all +pera1p2 +perc1c +per2c1el +per2c1in +2perd +perec1c +peregyez1 +p1e2rej +pe2r1elk +pe2r1e2lf +pe2r1e2lk +pere2mrt +per1ev +2perfa +pe2rid +pe2r1iko +pe2r1il +pe2r1i2na +pe2r1i2n +pe2r1ind +pe2r1ing +pe2r +per1k2 +p2erl +per1okt +pe2r1os +pe2r1o2x +pe2r12r +pe2rd +pe2rf +pe2ri +pe2rm +pe2rn +pe2rr +2p1e2rs +pe2rt +pe2rv +per1st +persz2 +pe2r +pe2r12g +per2l +per1l +per1lt +p2erz +pe2s1ebbel +pe2s1ebb +pe2ssig +2p1e2ss +pe2si +pe1s2p +2p1esszv +pes2t1a2 +pes2t1er +pe2szak +pe2sz1l +pesz1ell +pe2sz1elv +pesze2m +pe2szeme +pe2szu +pe2sz12l +pe2tal +pe2t1a2n +pet2 +petet2 +2petete +2petet +2p1e2tet +2p1e2tika +2petim +2p1e2to +pet2t1i +pe2td +pe2ug +pe2v +2p1ezr +1p +p2csu +pd2 +p2d1l +2pb +2pi +2pn +2p12ge +2p12g +pgs3s +2p12hen +2p12hes +2p12het +2p1hs +2p1j. +pje2 +p2j1eg +2p12ji +2p1jj +p2k1as +p2k1au +p2k12 +p2k1er +p2k1k +p2k12l +pk2t +p2k1te +p2k1i2n +p2kis +2p1l. +2p1lb +p2le. +p2lei +p2lek +ple2l +pl1ele +pl1elmei +p2len +p2let +2p12l +2plm +2p1ln +2p12l +2p1lt +2p12l +2p1lv +2pneka +2p12nekb +2pnekd +2p12nek +2pnekf +2pnekg +2p12neki +2pnek +2pnekj +2p12nekk +2p12nekn +2p12nekr +2p12nekt +2p12nek +p2ny1el +pn2z1a +pn2z12 +pn2zs +p2p1i2p +2p12p +2pp +2p1rc +2p1rd +2p12r +2p1rh +p2rig +2p12rin +2p1rm +2p1rn +2p12r. +2p1rr +2p1rte +2p1rt +2p1rt +2p1rv +2p1rz +p2s1aj +p2sal +p2s1e2l +p2ss +psksz1 +p2so +ps3sza +p2s12t +p2sza +ps3zaj +psz1ak +ps3zav +p2sz12 +p2sz1emb +2p12szn +p2szin +p2sz1o +p2sz1 +psz3s +p2szu +p2sz +p2sz1 +pta1 +p2tel +2p1tk +2ptl +p1tla +2p1tr +2p1tv +2p1v. +2p1vb +2p12ve. +2pvei +2p12vek +p2ven +p2ves +2p12vet +2p1vf +2p1vh +p1vk +2p1vn +2p1vr +2p1vs +2p1vt +2p1vv +p2zak +p2z1r +p2zel +p2z1e2m +pzi2 +p2zid +p2zin +p2ziz +p2zol +p2zsa +p2zu +p2f1p +pfi2 +pfi2kr +pf2lo +pf2l +pf2lu +pf2r +p1f2re +p1f2ri +p1f2r +p1f2ro +pf2ru +pf1st +pg2ra +pg2ru +pg2r +pha2de +p2ha2i +1phansz +1p2hed +phely2k +1p2hia2 +p2hic +1phila +1p2hoi +ph2i +1pi +pi2aa +pi2a +pi2aba +pia2cel +pia2cl +pia2cik +pia2c3se +pi2ad +pi2ae +pi2a +pi2ag +pi2ah +pi2aj +pi2akn. +pi2al +pi2am +pi2ao +pi2a +pi2ap +pi2ar +pi2asza +pi2at +pi2a +pi2a +pi2ave +pi2az +2picc +pi2ce. +2picl +pida2 +pi2dan +pi2dea +pi2de +pi2dei +pi2den +pi2deo +2p1i2dom +2p1i2d +2p1i2du +pi2eg +pi2er +pi2g +pi1fr +2p1i2ga +2p1i2ge +2p1i2g +2pigo +2p1ihl +pi2k1 +pil2i +pilis3s +2pilles +2p1illet +2pills +2pillu +2p1i2ly +2p1i2m +2p1i2mi +2p1imm +pinak2 +pina1p +2pind +2p1inf +pin2gas +pin2g12r +pin2gelj +pin2gp +pin2gos +2p1ing +2pinj +2p1inp +pin2tc +pin2t1or +pin2tr +pintu2 +pin2tur +pi2n +2p1inv +2p1inz +pion1n +pi2a +pi2 +pi2e +pi2f +pi2g +pi2ki +pi2l +pi2ma +pi2m +pi2o +pi2p +2pipai +2pipar. +2p1i2par +2piparb +2piparh +2piparn +2piparr +2p1irh +2p1i2rod +pisau2 +2pisko +pi2s1op +2p1iste +2p1isza +piszkos1s +pi2t1aj +pi2tala +pi2tall +pi2t1a2n +pi2t12p +pi1t +pi1the +pitos1s +pi2t12 +pi2vs +2p1i2z +1p +p2g +p2j +p2n +p2r1a2 +p2r +pr1l +pr12r +2p1rs +p2r1e2 +p2r1in +pr1i2s +p2r +p2rol +2p12r +p2r12 +pr1s +prt2 +pr1tr +p2r +p2r +2ptl +2ptm +pta2 +pte2l +p2ve +p2ze +p2z +p2z +p2z +pke1p2 +pke1s2 +pks1s +pkia2 +pki2 +pkie2 +pk2la +pk2li +pk2l +pk2lu +pk2r +pk2re +pk2r +pk2ri +pk2ro +pk2r +pk2va +pk2v +p2lacc +pla1k2l +pla2pal +plap1ll +pla2p1osz +p2latf +1plazm +ple2 +ple2t1a2n +ple2t1e2l +pl2 +pl2has +pli2s3z +plo2m1e +plo2mn +plom1ol +plt2 +pl1tr +pl2sa +pl1st +pl2szr +plu2m1e +p2lur +pms1s +pmeg1g +1po +po2be +pocsi2 +po2cs1iz +po2da. +po2dz +pogs1s +po2in +poki2 +2p1o2k1ir +po2k +2p1okle +po1k2l +2p1okm +poko2la +pokol1l +2p1okta +2p1okt +pols1s +polc3c +pol2c3s +2p1olda +pol2 +2poltr +2p1olts +2p1olti +2p1olt +2polvas +po2n1a +pon2c3so +po2nel +pon2g1e +poni2 +po2niz +pon3n +po2n1osz +pon2t1a2d +pon2tag +pon2t1a2l +pont1any +pon2tl +pon2tr +ponte2 +pon2t1el +pon2tem +pon2ten +pon2tes +pon2tk +pon2t1r. +pon2t1te +pon2tisz +pon2t +pon2t12 +2ponz +po2ol +po2p1a2 +po2p12 +2popc +2po2pe +pop1el +popi2 +po2pik +po2p1in +po2p1ir +po2pis +po2p1o2l +pop1p2 +pop1s +popsz2 +2pop1t2 +po2p +po2p +po2r1a2c +po2r1ag +po2rakk +por1ala +por1all +po2ram +pora2n +por1any +po2r1a2r +po2rat +por1cs +por1ll +por2can +por2c3h +por2c3s +pore2 +po2rec +po2res +por1f2 +por1g2 +po2rid +2porie +po2rih +po2r1il +po2r1i2m +po2r1in +por1k2 +po2r +po2r +por2tamb +por2t1au +por2t12r +por2trb +por2trn +por2tej +por2t1em +por2tet +por2tl +por2t1r. +por2t1rk +por2t1i2k +por2tiz +por2t1v +por2tur +por2t1usz +por2tr +por2t +po2r +2p1orvo +pos3szo +pos3sz +2postol +2p1osty +po2s +po2sze +po2sz +2p1oszl +posz2t +po2tab +po2tad +po2t1a2l +po2tan +po2t1a2u +po2t1e2l +po2t1inf +po2t1ip +po2t12 +po2tol +po2t +po2tus +po2t +po2vi +1p +p2ce +p1fr +pi2g +p2k1ass +p2kau +p2k1e2l +p2kem +p2ket +p2k1id +p2kim +pki2s +pk1isz +p2kiv +p2k1s +p2k1 +p2l1an +p2l1 +p2lom +2p12n. +p1p2r +p12rad +pr12sz +pre2 +p2reg +p2rem +p12ri +p2r +p2s1or +ps3s +p2s12v +pta2 +p2t1ad +p2tal +p2t1an +pt2r +p2til +pt2 +p2tl +2pn +2p12v +p2ze +p2z3s +1p +p2ka +p2k +p2kel +p2ker +p2kid +p12ko +p2ku +p2k +p2lye +2pnt +p2ra +p1rd +p2res +3prg +p2ro +p2r1 +p2r +2p1ss +p1tl +ptty1in +2p1tv +p2ve +1p +pa2n +p2g +p1bl +p1dro +pe2r +p2h +p2l +p1kl +p1pl +p1pr +2p1r. +p2ri. +p1rj +p1rl +2p1rn +p1rs +2p1rt +p12r +2p1rz +p1sz +pp1ada +ppai2 +ppa2j +pp1aj +pp1akk +ppa2nad +ppa2n1ell +ppan1k2 +pp1any +pp1arc +ppa1s +pp1ll +p2p1rj +p2p12rok +pp1tm +p2p12to +pp1tv +p2p1e2gy +p2p1e2kh +p2p1elo +p2p1elr +ppe2r1a +ppe2r +p2p1g +p2p1ks +pp2h +ppin2g1e2 +pp1g +pp1kl +pp2las +pp2lat +pp1o2ly +p2p1o2rom +ppor2t12r +ppor2t1e2 +ppor2t12 +p2p12l +pp1r +pp1n +pp1v +pp12z +p1p2ref +p1p2rem +p1p2rez +p1p2rm +pp2rin +pp2rio +p1p2roc +p1p2rod +p1prof +p1prog +p1proj +p1p2ros +p1p2rot +pp2rb +pp1sp +p2p1g +p2p1r. +ppv2 +ppvz1 +1p2rax +p2remi +1p2repa +pressz2b +2pret +pret2 +1p2rdi +p2rp +pr2sa +pr2s3z +p2riccs +p2rius +p2rizm +pr2m1e2l +pr2mem +1probl +1p2roce +p2rof +1profe +p2rog +p2roj +1proje +pro2mo +p2ropa +1p2rote +1prot +1p2roto +1p2rovo +1prb +pr2d1e +pr2dz +1p2rza +pru2s1g +pru2se +1p2rs +p2s1a2d +ps2gel +ps1i2ha +ps12ze +p1s2k +p1s2mi +p2s1n +p2s12z +p1s2pe +ps2pi +p1s2po +ps1pr +ps2r +ps3sz +p1s2t +ps2ti +p1s2t +ps2to +p1st2r +ps2tu +p1s2t +psza2k1 +psz1any +p2sz1as +psz1atl +p2sz1g +ps3zp +p2szg +psz2f +1p2szic +p2sz1ill +pszis3s +psz1k2 +psz1old +psz1orn +p2sz1n +p2sz1s +psz3s +pta2d +pt1ada +pta2n12s +pta2ne +pt2raj +ptr2 +pt2rr +p2t1eg +p2t1e2ke. +p2t1e2l +p2t1els +pte2rl +pt2k +pt2k1el +p2t1rd +pt1i2ma. +p2t1i2n +p2t1i2o +p2t1i2r +p2t12r +pt1kl +p2t1t +p1t2rag +p1t2ran +p1t2r +pt2r +ptu2sze +ptu2szi +p2t1rr +p2t1t +1pu +pua2d +pu2csor +pue2l +2p1ugr +2puk +pul2tas +2p1u2ni +2puno +2p1u2n +puo2r +pu1pr +pu2rak +pu2ral +pu2sad +pu2sal +pusa2n +pus1any +pu2sap +pu2sl +pu2s1tl +pu2s1e2 +pu2s1rt +pu2sik +pu2sis +pu2s +pu2sol +pu2s +pu2s +puss2 +pussz2 +pust2 +pu2s +pu2szag +pu2szal +pu2s3zr. +pusz12p +pu2sz +pu2tab +pu2t1a2d +pu2tak +puta2n +2p1u2taz +put1ing +pu2tol +pu2td +2p1u2tp +pu1tr +1p +2p1rf +p2sz +2p1tb +p2t +2p12ti +2p1tj +2p1tk +2p1tn +2p12to +2p1tp +2p1tr +2p1tt +2p1tv +1p +p2ge +p2gy +p2k +2ple +ple2t1o +2p1nn +p2re +2p12r +2p1st +2p12te +p2t +2p1tk +2p12t +p2ve +p2ze +1p +p2z +pv2r1al +pw2hi +pwhisky2 +py2ba +py2b +py2do +py2ho +py2ja +py2j +py2ka +py2k +py2ki +py2ko +py2ma +py2na +py2n +py2ra +py2r +py1t2h +py2t +py2va +py2v +pze2t1a2 +pze2t12 +pze2t1e2r +pza2 +pze2 +pz2 +2q. +1qa +1q +1qe +1q +1qi +1q +1qo +1q +1q +1q +1qu +qu2ae +qu2at +qu2er +qu2ez +que2zi +qu2b +qu2ie +qu2ij +qu2il +qu2in +qu2is +qu2od +1q +1q +1q +2r. +1ra +raa2d +rata2d +ra2bad +rab1asz +rab12ra +rab1rb +rab1rr +ra2b1t +ra2b1ele +ra2b1ell +ra2bid +rabi2g +ra2b1iga +ra2b1ig +ra2b1im +ra2b1i2na. +ra2b1i2n +ra2bind +ra2b1int +2rabla +ra1bri +ra2buj +ra2c1aj +rac3csa +ra2cet +ra2cha +rac3hig +ra2c3hok +ra2c3hos +ra2c3hot +2r1a2cid +rac2kar +rac2kit +rac2k12 +rac2k +ra2dag +ra2dal +rada2rad +2radat +rads1s +ra2de. +r2a3d +2radc +2radm +3radsi. +2r1a2dz +ra1dr +ra1dru +2r1a2du. +ra2dus +rae2r +ra2derb +ra2dere +ra2derh +ra2dern +ra2derr +ra2dert +ra2r +rafikus1s +ra1fl +2r1a2ga. +ra2gak +rag1alo +ra2g1c +ra2g +2r1a2gn +rag2de +ragdi2 +rag2din +ra2gel +ra2g1i2na. +2r1agy. +ra2gyat +2r1agyn +ra2gyon +2r1agyr +rai2o +2raiz +2raizi +2raizn +2raiz +2raizu +ra2j1a2d +ra2j1au +ra2j12ru +ra2j1es +ra2jin +2rajkr +2r1ajk +rajob2 +raj2t1e2l +raj2t1en +raj2zat +raj2z1e +raj2z1n +raj2z3s +2r1a2kara +rak2kp +rak2kis +ra1k2li +ra1klo +ra1kl +ra1klu +2raknb +2rakni +r1a2kz +rak2re +ra1k2r +ra1k2ri +rak2rom +raktus1s +2r1a2kus +r2alab +2r1a2la2g1 +2ra2laku +ra2lapa +r1a2lap +ra2lz +ra2lz +2r1alb +2r1aljai. +2r1alji +2ralk +ralla2k +ral2l1ak +ral2l1at +rall2 +ral2lg +ral2ll +ral2lev +ralo2m1e +ra2mab +2ramai +rama2l +ra3mat +ram1ll +ra2m1r +ra2m1rb +ra2m1re +ra2m1rh +ra2m1rn +ra2m1rr +ram1b +ra2m1he +ram1ide +ram1i2ko +ram1ill +ra2m1im +ram1ina +ram1inf +ram1ing +ram1inj +ra2m1i2p +2rammb +2rammet +2rammi +2rammj +2rammn +2rammr +2rammt +ra2m1osz +ra2m12r +ra2m +ra2m +ra2m +2r1a2nal +2r1a2nat +rans1s +ran2csal +rancs1g +ran2cse +ran2csik +ran2cs +rancs3z +2rand. +ran2dat +ran2d1au +2randj +ran2dz +ra2nek +ran2g1a2 +ran2g1 +ran2ge +rang1e2l +ran2g12 +ran2gye +ra2nil +ra2nim +2ranka +ran2szl +ran2sze +ransz1omb +2rany. +ra2nyag +rany1a2la +ra2ny1a2n +ra2nyap +ra2ny1ar +r1a2nyit +r1a2nyka +r1a2nykh +r1a2nykk +ra2ny1l +ra2nys +r1anys. +2ranyb +ra2ny1e2s +2rany +ra2nyl +2ranyh +ra2nyid +ra2nyin +ra2nyir +rany12r +2ranyk +2ranyn +ra2ny1ol +2ra2ny +rany12r +ra2ny +2ranyr +2ranys +2ranyt +ra2ny1 +2ranza +ra2a +ra2 +ra2f +ra2l +ra2m +ra2p +ra2sz +2rapa. +ra2pk +2rapp +rap2pin +ra1p2re +ra1pr +ra1p2ri +ra1p2ro +2rarann +2r1arany. +2r1a2ranya. +2r1a2rany +2raranyb +2raranyn +2raranyr +2r1aranyt +ra2rat +2r1arco +ra2rn +2r1art +2r1arz +ra1s2k +ra1s2l +ra1s2pe +ra1s2po +rassz1e +2rasszoc +rast2 +ra1s2ta +ra1st +ra1str +ra2sz1abl +ra2sz1aj +ra2szas +ra2szat +ra2szg +ra2sz1rr +rasz1emb +ra2sz1tt +ra2szb +ra2szi +ra2szn +ra2szs +rasz2t1a2ny +rasz2t1el +rasz2t12te +rasz2t +rasz2t +ra2t1a2d +rat1ajt +rat1a2la +rat1alt +rat1ar +2r1a2td +rat1ll +ra2t1rad +ra2t12rai +ra2t12rak +ra2t1rb +ra2t1rv +ratt1a2 +rat2vi +ra2t1e2g +ra2t1elk +ra2t1ell +2ratg +rat1ge +ra2t1rd +rat1rke +ra2trte +ra2t1rv +rat1ing +ra2t1r +ra2t1ve +2r1atk +2ratl +2ratoz. +ra1t2ran +2r1attr +ra2tr +2raty +ra2tya +ra2ty +ra2tyu +ra2udi +2r1a2uk +ra2ul +2raum +rau2n +rau2ta +rau2t +ra2uto +2r1aut +raut2 +ra2t +ra2z +2ravat +2rav +ra2x +ra1ye +ra1y +raz1ajt +raza2n +ra2z1any +ra2zel +ra2z1olt +ra2zono +1r +r1bre +r2cal +r2c1e +r2c3h +r2c1i2n +rci2f +r2c +r2csala +rc3sg +r2cst +r2csir +r2cs1is +r2c +r2c +r2d1any +2rdh +2rdd +2rdju +2rfha +2rfhe +2rfhi +2rfid +2rfre +rg1ad +2rgam +2r12gaz +rg12z +r2gia +r2gil +r2gim +r2gis +2rg +r2g1osz +rgus4 +r2g +2rgya +2rgyb +2rgy +2rgyh +2rgyi +2rgyj +2rgyk +2rgyn +2rgyr +2rgys +2rgyt +2rgyv +r2gyu +r2r +rj2k1a2 +rj2kel +rj2k12 +r2j +r2kt +r2k1ered +r2k1e2s +r1kla +2rkog +r2k1osz +r2k1n +r2k12r +r1kr +r1krt +r2l1ak +r2l1a2l +r2lana +2r1lar +rla2t1e +r2ll +rl1tl +r1lc +2r1ld +r2lid +r2lim +r2l +2r1llam +2r1llap +2r1llat +2r1ll +2r1llom +2r1lma +r2l +r2lyal +r2ly1a2n +r2lyap +r2ly1as +r2lyav +r2lys +r2lyt +r2m +r2nal +r2n1a2n +r2n1a2t +r2n1r +r2ns +rnc1c +r2nk +rn2gl +r2niz +r2n +rn1kl +r2nol +r2not +r2n12 +rn2sav +rns3s +rn2t1ak +r2n +r2ny1a2d +r2nyag +r2nyako +rny1alt +r2ny1a2n +r2ny1ap +r2nyar +r2nyaz +r2ny1r. +r2nyrm +r2nyrz +r2ny12r +r2nyol +r2ny +r1p2l +2rpo +r2pol +r1p2r +2r12rad +rr1a2d +2r12rai +2r12ram +2r12ras +2r12rat +r2raz +r2rb +r2rh +r2r1l +r2rr +r2rt +r2rv +r2r1em +r2rr +2r1rh +r2riai +2r12ri +r2rin +2r1rj +2r1rl +2r1rn +r2r1ol +r1rt +2rru +r2rul +r2run +2rr +r2r. +r2rt +r2rv +r2s1a2d +r2s1akn +r2sal +rsa2r +rs1ar +r2s1as +2rsat +rs1a2to +r2saz +rs12ga +r2s1rad +r2s1rak +r2s12r +r2s12r +r2ss +r2ser +r2sis +r2s1ol +2r12s. +2rsb +2rs +2rsg +2r12sh +2rsi +2rsj +2rsk +2rsn +rs12ra +2rsr +2r1ss +2rst +2r1sv +r2s +rst2 +rs1tr +r2sut +r2szan +r2szas +r2sz12ru +r2sziv +rs3zn +r2tad +rt1a2da +rt1ala +r12tl +r2tg +r2tl +2rtp +r2t1i2o +r2t +2r1tl +r1tri +r1tro +rtus1s +rt2 +r2tr +2r12tl +r2zal +2rzisb +2rzis +2rzish +2rzisk +2rzisn +2rzisr +2rziss +2rzist +rzi2sz +r2zsal +rz4s +rzs1e2 +rzs2 +r2zsn +rzsi2a +r2zsis +r2zs +rzs12 +rba2j1e +rba2jokt +rba2n1 +rbty2t +rb2ty1to +r2b1ell +r1b2la +r1b2lo +rb2l +rboc1c +r2b1olda +rbo2n1a2 +r1b2ra +r1b2r +rb2ri +rb2ro +r1b2r +rb2ru +rbu2t1e +rc1ad +rc1ajt +rca2lak +r2c1alk +r2c1ana +rc1anya +rca1p +rc1ara +rc1ar +rc1ass +rc1a2to +r2c1g +r2c12l +rc1r. +r2c1ri +r2c1rn +r2c12ro +r2c1rr +r2c1rt +r2c12ru +rc3csi +rc3cs +rc3cso +rc3cs +rc3cs +rce2g1a2 +rceg1g +rc1egy +rc1e2leg +rc1elk +rc1e2ld +r2c1els +r2c1ember +r2c1epe +rc1e2ve +r2c1ex +r2c1ez +rc12kt +r2c1le +r2c12l +r2c12li +r2c1lm +r2c1l +r2c1p +r2c1r. +r2c1rb +r2c12ri +r2c1rr +rc1sz +rc1fr +rc1gr +r2c3has +rc3hel +r2chen +r2chig +r2chom +rc3hu +r2c3h +r2c3h +rci2d +r2c1ide +r2c1i2ko +r2c1ikr +rc1ill +r2cim +r2c1imi +rc1i2na. +rci2nb +rci2n +rc1i2nr +r2c1i2nt +r2c1ind +rc1i2oni +r2c1i2pa +r2c1isi +r2c1isk +r2c1ist +rc1izm +rc1i2zo +r2c1j +r2c1v +r1c2k. +r1c2kh +r1c2ki +r1c2kt +r1c2ki. +r1c2kia +r1c2kig +r1c2kok +rc1k2r +rc1kv +r1c2lu +r2c1op +r2c1o2r +r2c1osz +rc1n +rc12r +rc1v +r2c1b +r2c1n +r2c1r +r2c1s +rc1r +rc1pl +rc1pr +rcs1abl +rcs1alak +rcsa2p12g +r2c3sara +r2csarl +r2c3sp +r2c3sr. +rcs1ru +r2c3sej +r2cseleme +r2cs1elr +r2cs1rb +r2csikr +rcs1rs +rc3s2k +r2c3sora +r2c3soro +rcsna2k12 +rcs1s. +rcs1p +rc3s2pi +rcs1s +rc3sto +rc3sz +rc1tr +r2c1ud +r2c1ur +r2c1ut +r2c1j +rc1g +r2c1r +r2c1s +r2c1t +rc1v +rc1z +rc1z +r2c3z +rc3z +rc3zs +rc3zu +rc3z +rda2cl +rd1a2dat +r2d1akc +rda2l12 +rd1alka +rd1alko +r2d1a2nya +rda1p +rd1a2rn +r2d1arc +rd1aszt +r2d1azo +rd1cs. +rd12rak +rd1rat +rd12ron +r2d1rv +rds1s +rd1bl +rd3dz +r2d1e2g +rde2k1a2 +rde2ker +rde2kk +rde2kol +rde2k12 +r2d1ela +rde2st +rd1exp +rdez2p3 +r2d12g +rd12l +rd1lr +rd1lt +rd12l +r2d1p +r2d1r. +r2d1rd +r2d12ri +rd2sa +rd2sza +r2d12v +rd1fr +r2d1i2d +r2d1i2ga +r2d1ig +r2d1ima +r2d1i2na. +r2d1i2nai +r2d1i2nt. +rdio2x +rd1izo +r2d1g +r2d1z +rd1kl +r2d1okta +r2d1old +rd1orr +r2d1osz +r2d1ou +rda2 +rd12r +rd2g1l +r2d1l +r2d1s +rd1v +rd2s1orr +rd1pr +r1d2ram +rd2rap +r1d2raz +rd2rog +r1d2rt +rd1sk +rd1sp +rd1st +rdsza2k1 +rd1t2r +rd1udv +r2d1ur +rd1g +r2d1t +r2d3za +r2d3z +rd3zo +rd3z +r2d3z +rd3zs +r2d3z +1re +rea2d +rea2j +rea2ka +rea2la +rea2r +2rel +2rel +2r1eb. +2r1ebb +reb1egy +2r1e2bd +2r1ebh +2r1ebk +2r1ebm +2r1ebn +2r1ebs +2r1ebv +re2caj +re2cal +re2c +2recets +re2ch +rec3sar +2r1e2cset +rec3sor +re2cz +re2dan +red1elv +2redend +re2d1e2r +2redeti +2redet +2redny +re2d12ves +re2dir +re2dor +2r1edzb +2redzj +2r1e2dzk +2redzr +2r1e2dzt +2redzv +re2et +re2ew +2reff +re2gap +re2gas +reg1ll +re2gr +reg1e2le +reg1elh +reg1ell +re2g1elr +reg1elv +reg1eng +reg1e2tet +reg1e2v +regsz1 +re2gid +reg1inj +re2giz +re2gc +reg2v +re2g +reg2l +re2g1l +2r1egy. +2r1egyb +re2gye. +re2gyed +re2gyen +2r1e2gyes +re2gyet +2r1e2gyez +2r1e2gy +2r1egyh +2r1egyk +2r1egyl +2r1egyn +2r1egyr +2r1egys +2r1egyt +re2gyn +r1egyv +rei2r +re2ja +2rej +2reje +2rejn +2rejr +2rejt +re2k1ag +re2k1ar +re2k1asz +re2k12l +re2k12p +re2k1r. +re2ks +rek1elh +rek1elt +rek1el +rek1erd +re2k1e2r +reke2sz1 +2rekh +re2kj +re2kk +2r1ekk. +rek1kh +re2kl +2r1e2knk +re2k1r. +re2k1rd +re2k1rte +2r1e2ks. +re2k1ss +re2k1id +re2kij +re2kil +re2k1ing +re2k1int +re2k1ip +re2kr +rek1k2 +re1klu +re2k1ok +re2k1old +rek1opt +re2k1os +rek1ott +re2kr +re2kk +re2ktl +re2k +rek1s +reksz2 +re2k1u2s +re2kd +re2k1g +rek2l +re2k1l +re2k1l +re2kt +2r1elad +2r1e2lg +2r1elb +2r1elbo +2r1elc +2r1eldo +2r1e2lef +2relektr +rele2ma +2re2leme. +2r1e2lemed +rele2meg +2relemei +2re2lemek +2relemem. +2r1e2lememe +2relememm +2r1e2lemen +rele2m1er +2relemes. +2r1e2lemese +2relemesn +2r1e2lemet +re2lemez +rele2m1r. +2r1e2lemtel +2relemk +2relemnk +2relemz +2relemz +2r1e2l1eng +2relr +2r1elf +2r1elha +2r1elh +2r1elhel +2r1elh +2r1elj +2r1elk +rella2 +rel2l1an +2r1ell +2r1ell +2r1elma +2r1elm +2relmh +2r1elmi. +2relml +2relmte +2r1elnev +2r1eln +2r1elny +2r1e2los +2r1e2lad +2reldei +2r1e2ldk +2relnn +2r1elnye +2relzm +2r1elso +2r1elsz +2r1elta +rel2tr +2r1eltv +2r1eltett. +2reltettk +2r1eltr +2r1eltv +2rel +2r1e2l1l +2rel +2r1elv. +2r1elv +2r1elvb +2relved +2r1elvei +2r1elvek +2r1elvem +2r1elven +2r1elves +2r1elv. +2r1elvne +2r1elvr +2r1elv +2r1elvv +2r1elvh +2r1elvi +2r1elvk +2r1elvn +2r1elvo +2r1elvr +2r1elvs +2r1elvt +2r1elv +2r1elv +2r1elvv +2r1elz +re2m1a2d +re2m1asz +re2maz +re2m1l +re2mt +2rembar +2r1ember. +2r1emberb +2r1embere. +2rembered +2r1emberei +2r1emberek +2r1emberes +2r1ember +2r1emberh +2r1emberi +2r1emberk +2r1embern +2r1emberr +2rembers +2r1embert +2r1ember +rem1ble +r1emb +2rembr +re2mel +rem1e2lem +2r1emel +2r1emelg +r1emelk +rem1eld +rem1els +re2m1eng +re2m1esz +re2m1r. +re2m1rm +re2m12te +re2migr +re2m1r +re2m +re2m12r +rem1p2 +2remuk +2r1e2mul +rem1ur +2r1e2mus +2r1encik +ren2d1e2r +ren2d1g +ren2dj +ren2dk +ren2d1o +ren2d1 +ren2d12s +2r1e2ner +rens3s +2r1enged +2ren +ren2s1g +rens3s +re2of +re2a +re2c +re2e +re2 +re2f +re2ka +re2l +re2o +re2p +re2s +re2sz +re2p1aj +rep1ana +rep1asz +re2pau +re2paz +rep1ll +rep1lm +re2ps +re2pt +re2p1e2g +re2p1elf +re2p1elk +re2p1ell +re2pelm +re2p1eng +re2p1ep +2r1e2per. +re2p1erk +2repd +rep12j +2repnk +2r1e2ps +re2p1i2d +rep1ille +rep1int +re2pok +2reposz. +2reposzt. +rep1oszt +rep2 +re2p1r +rep1pl +rep1pr +re2p +2r1erd +re2rei +re2rej +re2res +re2rez +2r1erg +re2rz +2r1e2r +2r1ers +re2sas +re1s2c +2r1esem +res1epr +rese2t1e2l +2r1esl +2resk +r1essi +re2szaj +2r1e2szet +resz1v +2reszk +2reszm +reszta2 +resz2t1an +resz2tl +resz2t1r +resz2t12v +resz2t1o2r +resz2t1os +2resz. +2r1e2sze +re2t1ab +re2t1akt +re2tal +ret1a2la +re2tant +re2t1a2ny +re2tg +re2t1ra +re2t1ro +ret1tf +re2t1elb +re2t1ell +re2telm +ret1emel +re2t1erk +rete2sz1 +2r1e2tets. +2r1e2tets +2retetsn +re2t12k +re2t1l +re2t1rb +re2t1rd +re2tid +2r1e2tika +re2tik +ret1ill +r1e2tilt +re2t1ing +re2t1int +re2tis +r1etnik +re2t1ok +re2t1old +re2t1os +re2tr +re2t1r +re2t12v +ret2t1est +ret2tne +ret2t1in +re2t1ut +re2t1lt +re2td +re2ud +re2ute +re2vez +2r1e2v +2r1exp +2rezetn +2rezet +2rezor +2rezkh +2r1ezr +2rezs +1r +r2b +r2bis +r2biv +r2b +2rbres +r2b +2r12des +2rf +2r1gb +r2gt +2r1gn +r2g12 +r2g +2rgt +2r1h. +2r12hen +2r12hes +2r12het +2r1hs +2r1ht +r2jen +2r12jet +2r12jn +r2k1ab +r2kac +r2k1a2g +r2k1a2n +r2k1au +rk12s +r2k1e2b +r2k1eg +r2kel +rk1ele +rk1el +rk1elr +rk1els +r2k1esz +r2k1te +r2kik +r2kin +r2kit +rk1ola +rk1old +r2kr +r2k12v +r2kz +r2k +rku2 +r2k1ut +r2k1 +r2let. +r2letb +2r12lete +r2let +r2leth +r2letn +r2letr +r2lett +r2let +2r1lf +2r1lm +2rly +r2mad +r2m1a2l +r2m1an +r2mar +r2mau +r2m1l +r2mr +r2mel +rm1e2le +r2mer +r2m12r +r2mil +r2m1ist +r2mos +r2m +r2m +2rmtu +rna1p2 +2r12nekh +2r12neki +2rnekl +2r12nek +r2nel +2rner +r2n12j +r2n +r2ny1e2l +r2p1ed +r2peg +r2pes +rpi2 +r2p1ip +2r12p +r2pol +r2p +r2p +2r1pl +2r1r. +2r1rb +2r1rc +2r1rd +2r12ret +2r12rez +r2r. +r2rb +r2rn +r2rr +r2rs. +r2rse +r2rs +r2rsh +r2rsi +r2rsk +r2rsn +r2rsr +r2rss +r2rst +r2rs +r2rt +2r1rf +2r1rh +r2rie +r2rig +2r1rk +2r1rl +2r1rm +2r1rn +2r12r. +r2rk +2r1rr +2r1rt +2r1rte +2r1rt +2r1rt +2r1rt +2r12r +2r1rv +2r1rz +rsa2 +r2sal +r2sar +r2s1r +r2st +r2seg +rs1ell +r2s1er +r2ss +r2s12 +rs3sza +r2s +r2s12t +r2s12v +rsz1a2l +r2szan +rs3zav +rsz1l +r2sz1eml +r2sz1e2sz +r2sz12k +r2szinte +rsz12v +r2szok +r2szol +r2sz +rsz12r +r2szr +rsz3s +rsz1t2r +r2szu +r2sz +rsz2l +r2sz1l +2rtz +r2t1egy +2r2tel +rt1elm +2rter +r2t1e2sz +2r12tet +r2t12k +r2tiz +r2tol +r2t1os +r1tr +r2tud +rv2 +r2vt +2rve. +2rvei +rv1ek +r2v12l +r2v1ri +2rv2t +r2v1te +2r12vv +2rvf +2rvh +2rvt +r2v +2rvv +r2z1a2 +rz2 +r2z1r +r2z1e2g +rze2l +rz1el +r2zer +r2zes +rze2t +rz1ete +r2zid +r2zin +r2zio +r2zip +rz1isz +r2zos +rz2 +r2z1r +r2z +r2zsa +r2z3s +r2z3se +r2z3si +r2zs +r2zso +r2zsu +rf1l +r2f1p +rf2sza +rf2sz +rf1fl +rfia2n +rfi1b2 +rfid2 +rfii2 +rfik2 +rfi1kr +rf1ind +rf1isk +rfi1sz2 +rfit2 +rfi1tr +rf1kl +rf1kr +rf2la +rf2lo +rf2l +rf2lu +rf1okt +rf1r +rf1pr +r1f2r +rf2r +r1f2r +rf1sp +rf1st +r2f1t +rga1k2 +rg2csal +rg2csan +rg2csav +rg2z1 +rge2o +rge2r1a +rgs3s +rg2ha. +rgi2aia +rgi2ako +rgi2al +rgi2aso +rg2il +rg2la +rg2le +rg2lo +rg2l +r1g2n +rg2l +rg3le +rgcsa2 +rg2z1lt +rg2z1s +r1g2r +r1g2ru +r2gyado +r2gy1aj +r2gyalak +r2gy1alap +r2gy1alg +r2gy1alk +r2gy1any +r2gyap +r2gyarc +r2gy1asz +r2gyau +r2gy1az +r2gyl +r2gy12z +r2gy1eg +r2gy1e2l +r2gy1enc +r2gy1e2s +r2gy1s +r2gyv +r2gyim +r2gy1int +r2gyip +rgy1ira +r2gy1ok +r2gy1z +r2gyr +rhaj2r +rhat2s1t +rhza2d +rh2z1ada +rh2zal +rh2zip +rh2z3s +rhitkz1 +1rhoe +1ri +ri2aa +ri2a +ria1b +ri2aba +ri2ab +ri2abo +ri2ac +ri2ae +ri2a +ria1f +ri2afag +ri2afr +ri2a1g2 +ri2ah +ri2ai2k +ri2a +ri2aj +ri2akn. +ri2ak +ri2ala +ri2al +ri2alu +ri2am +ri2ana +ri2ao +ri2a +ri2a +ri2a +ri2a1p2 +ri2ar +ri2ar +ri2asza +ri2asz +ri2aszi +ri2aszo +ri2at +ri2ato +ri2a1t2r +ri2au +ri2a +ri2a +ri2av +ri2az +2risz +r1i2zs +2rib +ri2bol +2r1ibr +2rib +ri2c1e2l +rics1il +ri2d1a2l +ri2dl +rid1d +ri2de. +2r1i2de +ri2dei +2ridej +ri2del +ri2deo +rid1ere +ri2d1esz +2ridil +2r1i2dom +2r1i2d +ri2du +ri2ed +3rie2l +3rier +ri1fl +ri1f2r +2r1i2ge. +2r1i2g +2rigi +ri1gla +2r1igr +ri2har +2r1ihl +rih2 +rihn1 +2rijes +ri1klo +ri1k2l +ri1k2ri +ri2lal +ril2l1e2h +ril2lt +ril2l1in +ril2l1 +2rillu +2rill +2ril +2rimda +2rimd +2r1imp +ri2n1a2d +2r1i2nai +ri2naj +ri2n1a2l +ri2n1a2n +ri2n1a2r +2rinas. +2r1i2nas +2rinasn +2r1i2naso +ri2nass +2r1i2nast +rina1sz2 +ri2nat. +rin2c1a +rin2c +rinc3c +rin2c1eg +rin2cel +rin2cer +rin2co +rin2csr +rin2csi +2r1inde +2r1indu +ri2neg +2rinfl +rin2gl +rin2gel +2r1ingt +rin2gl +2r1inha +2r1i2nic +ri2nil +ri2n1ip +2r1injek +rin1kr +rin3n +2r1insp +2r1inst +rin2t1ad +rint2r +rin2tra +rin2tro +rin2trs +2rinten +2rinterf +rint2r +rin2t1r. +rin2t1r +rin2t1ri +2rint. +2rintk +ri2nl +ri2o1k2 +rio2lok +ri2om +2rionn +2riono +2riox +ri2a +ri2 +ri2c +ri2dar +ri2e +ri2g +ri2ke +ri2l +ri2m +ri2m +ri2o +ri21p +ri2 +2r1i2pai +2ripar. +2r1ipara +2r1i2par +2riparb +2ripar +2riparh +2riparil +2riparin +2riparn +2riparr +2ripars +2riparte +2ripart +2riparu +2ripl +ripor2ta +2r1i2ram +2r1i2rat +2r1i2r +2r1irh +2r1i2ri +2r1i2ro +2r1i2rn +2r1irr +2r1irt +ri2s1ar +ri2s1as +ri2s1l +ri2sp +ri2s1e2l +ri2s1emb +ri2s1e2r +ri2sid +ri2sii +ri2sil +ri2s1is +2rismrv +ri2s1or. +ri2s1ort +2r1isp +2ristl +ri2sut +ris1t +ri2s12t. +ri2s12v +2r1i2szk +ri2t1a2d +ri2tal +2rital. +2r1italb +rit1alk +2r1itall +2ritaln +2r1italo +2ritalr +2r1italt +rit1a2ny +ri2tg +rit1ell +ri2t1i2o +ri2t1 +riu2mne +riumhid2 +riumhidr1 +riu2m1i2o +2r1i2vad +ri2var +2r1i2vs +2rivo +2r1i2v +rixe2 +ri2x1el +ri2x +ri2x +2riza +r1i2zt +2r1izmi +2r1izmo +2rizmuk +2rizm +ri2zsar +ri2zseb +ri2zsel +2r1izza +2r1izz +1r +r2g +2rj. +r2jai +r2jak +r2jam +r2jas +2rj +r2jn +r2jt +r2jv +2r1jh +2r1jj +2r1jl +2r1jr +2r1jv +r2m1a2l +2rm +rm1emb +r2mo +r2m +r2n +2r1ns +r2ra +r12r +r12r +2rtl +rts3s +rta2 +rte2 +rtksz1 +2r1v. +rva2 +2r1vb +2r12ve +2r12v +2r1vh +r2vi +r12v +r2v +2r1vv +r2za +r2z1el +rzis3s +r2zo +r2j1ado +rj1any +r2j1g +r2j1p +rjet2 +r2j1id +r2j1s +r2j1u2r +rka1b +rk1ang +rka1pr +rkaros3 +rka2r2r +rka2s12v +rka1t2r +r2k1cs. +rk2cs +rk2ne +r2k12ri +rkr1om +r2k12ru +r2k1e2dz +rk1e2lem +rk2elm +r2k1elt +rke1p +r2k1erd +rk1ered +r2k1e2rei +r2k1e2rez +r2k1e2r +rke2sz +r2k1ex +rk2p1e2l +rk2p1ss +r2k1r. +r2k1rt +r2k1tt +r1k2h +rk2hn +rkia2 +rkie2 +rki2g +rk1iga +rkigaz1 +rkilenc1 +r2k1imi +rk1inga +rki2ont. +rki2sem +rki2z1a +rk1izo +rk1kl +r1klie +r1k2l +r1k2lo +r1k2l +rk1o2laj +rko2nya +rko2vi. +rko2vit +r2k1n +rk12r +rk12ri +r2k1ltsi +r2k1tl +rk2z +rk1r. +rk12r +rk1rk +rk1rn +rk12r +rk1rr +rk1rs +rk1rt +rk2rm +r1k2ri +r1k2r +r1k2rom +rktus1s +rk1udv +r2k1ug +rku2sze +r2k12sz +r2k1d +r2k1g +rk2v +rlag1g +rla2g1ol +rla2p1a +rla2pl +rlap1e +rla2pol +rla2p1osz +rla1pro +rla1s2t +rla2t1a2n +rla2t12 +rl2pe +rls3s +rl2s1t +rl2t1e2 +rl2t1 +rl2tor +rle2g1a2 +rle2g1 +rle2ger +rleg1g +rlegigaz1 +rle2 +rle2t12 +rle2t1eg +rle2tell +rle2t1el +rle2t1k +rle2tl +rle2t1r. +rle2t1rv +rle2 +rlst1 +rlsta2 +rls3s +rl1gr +rl1g2 +rl2 +rlt2 +rle2 +rl1sta +r2m1akad +rmak2sz1 +r2m1a2k +rma1kr +r2m1alt +r2m1a2nya +rma2 +rma2t12ru +rma2t1ur +rma2zon +rm2lr +rm2nyan +rm12ram +r2m12ro +r2mru +rm1cl +rmege2 +rmeg1er +rme2g1es +rme2g1 +rme3g2 +rme2k1an +rme2kar +rmek2 +rme2k1eg +rme2k1e2l +rme2krd +rme2kor +rme2kot +rme2k12 +rmek2r +rme2kr +rm1elk +r2m1elm +rme2ran +rme2ras +rme2rin +r2m1e2ri +rme2rk. +rme2rke +rme2rkn +r2m1e2rm +rmert2 +rmer1tr +rm1esem +rme2t1l +rme2tin +rm2k1e2l +rm2ker +r2m12le +r2m1p +r2m1r. +r2m1rte +r2m1tk +r2m1tr +r2m1tt +rmi2g +r2m1iga +r2m1ig +rm1illa +rminc3s +rm1inte +r2m1ir +rmi2si +r2m1isko +r2m1ism +rmite2 +rmi2t1el +r2m1g +rmjob2 +rm1kl +rmo2n1a +rmo2nr +rmo2n1e +rmon1n +rm1ope +r2m1ors +rmo1sz2fr +rm2sz +rm1p2l +rm1p2r +rm1sk +rm1st +rm1sz2 +rm1tr +rm1g +rm1z +rm1s +rm1ya +rna1b +rna1f2 +rna2gy +rnai2k +rna1k2r +rna2pes +rna1pro +rnas2 +rna1sp +rna1sz2 +rna1t2 +rn2cs +r2n1el. +r2n1elb +r2n1elf +r2n1elh +r2n1elj +r2n1ell +r2n1eln +r2n1elr +r2n1elt +rne2m1is +r2n1est +rne2t1a2 +rne2t1e2l1 +rnet1o +rns2 +rn1st +r2n1i2d +rni2g +r2n1iga +rno2kis +rn1d2 +rn2ket +rnus3sze +rny1a2d +r2nyakad +r2nyalako +r2ny1alk +r2nyarc +rny1lm +r2ny1ell +r2nyelm +r2ny1eln +r2ny1elo +rny1elvo +rny1emb +r2nyerd +r2ny1e2rez +rny1e2s +rny1kn +rny1sz +r2ny1id +r2nyiz +rnyolc1 +rny1old +r2ny1or +rny1k +r2nyt +rny1s +r2ny1ur +1ro +ro2ad +roa2n +2r1obj +2robl +r1obs +roc2ke +ro1cker +roc2kn +ro1c2kok +ro1c2kon +roc2kos. +2r1o2d +rofi2tr +ro1fl +ro1fr +ro2g1ad +ro2g1ak +ro2gal +ro2g1am +ro2gar +ro2g12r +ro2g1z +rog1enc +ro2ger +ro1g2l +ro2g1o2l +ro2gor +ro2g1osz +ro2g +3rogr +ro1g2rf. +ro1g2rff +rogu2 +ro2gur +ro2g +3rogy +ro2he +ro2h +ro2is +3rojt +ro2ka. +ro2kab +ro2kac +ro2k1a2d +ro2kait +ro2k1aj +ro2kak +ro2k1al +ro2k1a2n +ro2k1a2s +ro2kb +r1o2kd +ro2k1l +ro2kn +ro2k12s +roke2 +ro2ked +ro2k1en +2rokett. +r2ok +ro2kk +ro2k12l +ro2kp +ro2kid +ro2k1ing +ro2k1 +2rokod +rok1old +ro2k +2r1oksg +rok1t2 +2r1oktat +2roktn +ro2k1u2s +rok2 +ro2k. +ro2ks +ro2k +2r1o2laj +rola2n +rols1s +2r1old +2r1old +ro2l1i2d +roligar2 +roligarc3 +rol2l1a2d +rol2lag +rol2l1akn +rol2lan +rol2lat +rol2leg +rol2lel +rol2lis +2r1oll +2r1olts +2r1olt. +2r1oltb +2rolt +2rolth +2r1olti +2roltk +2roltm +2roltn +2r1oltt +2r1oltv +2r1oltv +ro2l +2rolvad +2rolvas +2r1o2lyai +2r1o2lyh +2r1o2lyn +2r1o2lyr +2rolyb +2rolyh +2rolyi +2rolyn. +2rolyir +2r1o2lyuk +rom1ajt +rom1akk +rom1ak +ro2m1a2ro +ro2m1l +2romm +ro2m12ri +ro2m1rk +ro2m1rn +ro2m12ro +romb2 +rom2bn +ro2meg +ro2m1el +ro2m1e2r +ro2m1es +ro2mj +ro2m12ne +rom2f1os +ro2mim +rom1in +rom1ist +ro2mita +ro2miz +ro2m +romkz1 +2r1omni +ro2m1o2r +ro2m12r +ro2m +ro2m +rom1pr +ro2m +ron1alj +ron1alt +ron1alu +ron1any +rona1t2 +rona2ut +ro2n1ta +ro2n1tr +ron2csel +ron2csem +ro2nen +ron1esz +ro2n1r. +ron2gal +ro2n1i2ko +ro2n1i2m +ro2n +ro2nop +ro2nc +ro2n12r +ro2n +ro2n +ron1s2 +ron2tab +ron2tem +ron2tev +ron2t1n +ron2tin +ron2t +2ront +2r1onth +2rontig +2ronts +ro2n +ro2nyac +rony1a2l +ro2nyid +ro2nyik +ro2nyir +ro2ny +ron2zab +ron2z1al +ron2zer +ron2zin +ron2z1ol +ron2z1or +ron2z12 +ronz1z +ro2om +ro2os +2r1opc +2rope +ro2per +ro1p2l +ropo1s +rop2s +ro2rak +ro2r1a2l +ro2rat +ror1ll +rore2 +ro2reg +ro2r1el +ro2r1es +ro2r1in +ro2rosz +rort2 +ror1tr +ro2r +ro2sar +ros1ass +ro2s1atl +ro2s1av +ro2s1rk +ro2s1ro +ro2sem +ro2s1ist +ro2s1ol +ro2s12 +ro2s +ro2s +ros3sze +ros3szk +ros2tet +2rostob +ros2tol +2rostya +ro2s1t +ro2szal +ro2szan +ro2szs +2r1oszlo +ro2sz +r1oszt +2rot +ro1t2he +roto2na +ro1t2r +2rotth +ro2un +ro2us +rova2re +rovs1s +2r1o2vi. +2r1o2vib +2r1o2vik +ro2vis +2ro2xidb +2ro2xidr +2roxilc +ro1xy +ro1ya +roza2tal +ro2zsan +1r +ra2d +rb1ajt +2rb +rc3c +r2c3h +r2cin +r2c1 +r2c3s +r2cz +r2dai +r2dep +rdi2ad +r2d +r2d +2r1v. +2rve +2r1v +r2f1ag +2rfea +2rfe +r2f1iv +2rfs +r2fur +r1g2r +ri2g +rke2rest +rke2r1in +r1k2l +r1kr +2r1lm +r12lom +r2m1a2l +rma2r +rm1ara +r2ml +rme2l +r2ml +rm1isz +r2m +2rmk +r2m +r2m +rne2m +2r12nb +2rn +2r12nh +2r12nn +2rnr +2rnt +2rnv +2rnj +2rnn +2rnr +rnus3s +2rn +r2n +ro2k +r2r +r1p2l +r1pro +2r12raa +2r12rac +2r12rad +2r12rae +2r12raf +2r12rag +2rraje +2r12ram +2r12ran +2r12rap +2r12rar +2r12ras +2r12rat +2rra +2r12rav +2r12rb +2r12rd +2r12r. +2r2rn +2r12rv +2r12rh +2r12ri +r2rja +2r12rka +2r12rkb +2r12rk +2r2rkh +2rrki +2r12rkk +2r12rkn +2r12rko +2r12rkr +2r12rkt +2r12rn. +2r12rna +2r12rn +2r12rnk +2r12rny +2r12rr +2r12rs +2r12rt +2r12rv +2r12ri +rs1orom +r1spi +2rtb +2rth +r2tip +rt1ist +2rtj +2rtk +2rtm +2rtn +r2t12v +r1tri +r2tl +2r12v +rza1t2 +r2z1e +r2z1in +r2z +r2z +1r +2r1bl +2r12bl. +2r1blb +2r1blh +2r1bli +2r1bll +2r12bln +2r1blr +2rblt +r2ga +r2go +r2g +r2k12l +r2k1rv +2rk +2rkl +r2ko +2r12kr +2rks +2rks +2r1kr +r2ls +r2ly +r2ma +r2m +2rme. +2rmed +r2meg +2rmei +2rmn +2rmt +2rmv +r2m +2rmm +r2mo +r2m +2rmd +2rmk +2rmt +r2mu +2rm +2rm +rn2d1e +rn2k1a2 +rn2k1e2 +rn2kp +rn2kol +rn2kos +rn2k1l +rn2k1 +r2p1i2 +r2re +r2r +r2sa +r2s +r2so +rs3sza +2r1v. +2r1vb +2r12ve +r12v +2r1vh +2r1vn +2r12v +2r1vr +r12v +2r1vv +1r +ra2n +rt1 +rta2 +r1bl +r1br +r2d +r2d1e2l +r2dos +r2d12r +re2l +re2r +re2s +r2h +r2l +r2r +r2te +r2f1as +r1fl +r2f1 +rg2p1s +ri2ta +r1kl +r1kv +2rlt +r1pl +r1pr +2r1r. +rr1ak +rr1eg +r12rei +r1rh +rr1in +r2riz +rrkz1 +2r1rl +2r1rm +2r1rn +r2r +2r1rp +2r1rr +2r1rs +2r1rt +2r12r +2r1rz +rs2 +r2sr +r2sr +r1sk +r2s +r1spe +r1s2pi +r1sta +r1str +rs2l +r2s1l +r2s1lt +r2s12t +r2s12 +rsza2kl +ru2t +r2l +rva2s1 +r2zi. +r2zn +rpei2 +rpe2szel +rp2he +r2p1ig +rpis12 +rpi2t1a +rpi2t1e2 +r2p1iv +r1p2la +rp2le +rp2l +rp2lu +rp2l +rprecz1 +r1p2r +r1p2ri +r1p2r +r1p2ro +r1p2r +rpu2sz +r2p1z +r2r1a2lap +rra2sza +rra2szi +rrata2n +rrat1any +rra2t12r +rra2t1e +r2r1br +rrdik2 +rrdi1kb +r2r12ga +r2r12gy +r2r1rb +rr2saj +rr2sar +rr2sg +rr2se +rrs3s +rr2s +rr2s3z +rr2tal +r2r1ts +rre2l1i +rr1emb +rren2d12 +r2r1k +rr2r +r2r1ri +rr2sem +rr1fl +rr1fr +r2r1i2de +rr1in. +rr1ing +r2r1ir +rri2ta +rr1i2z +rr1izg +rr1izm +rr1k2r +rr1ope +rro2rl +rror1osz +rr1dr +rr1p +r2r1b +r2r1s +rr1pl +rr1pr +rr1sp +rr1t2r +r2r1u2r +r2r1r +r2r1t +rry2n +r2s1a2d +r2s1a2g +rsa2il2 +rs1akku +rs1alan +rsa2lap +r2s1ale +rs1alm +r2s1a2lomb +r2s1ana +rs1a2ny +r2s1a2p +r2s1a2po +rs1a2ra. +r2s1arc +rs1arom +rs1arz +rs1att +rsa2v1ar +rsa2v12 +rsa2v1i +r2s1ax +r2s1a2z +r2s1br +rsg1g +rs1ld +r2s12r +r2s1rn +r2s1rr +r2s12ru +rs1t +rs1ti +rs1bl +rs1br +rs2ch2 +r1sche +rsc3h +rs1d2r +rs1edz +r2s1ef +rs1e2gt +r2s1e2gy +rse2il +rse2k1a2 +rse2keg +r2s1e2leme +rs1elf +r2s1elk +r2s1e2la +r2s1e2ll +rs1e2mi +r2s1e2mu +rse2ny1a2 +rse2nyeg +rse2ny1e2l +rse2nyer +rse2ny +rse2ny +r2s1erd +r2s1erk +rs1er +r2s1ess +r2s1esz +rs2g1el +r2s1l +r2s1p +r2s1r. +r2s1rd +r2s1rl +r2s1rtk +r2s1s +rs12te +rs1tk +rs1tt +rs1fr +rs1gl +rs1gr +rsi2d +rs1ide +rs1ido +rsi2g +rs1iga +r2s1ikr +r2s1ill +r2simm +rs1ind +r2s1ing +r2s1int +r2s1i2o +rs1i2pa +rs1iro +r2s1i2si +r2s1isk +r2s1ism +r2s1ist +rs1rn +r2s12r +r2s1rt +r1s2kl +r1skj +rs1kl +rs1k2r +r1s2lu +rs2mink +rs2ni +rs1ond +rsonya2 +rso2nyal +rso2nyan +rso2nyat +rso2ny +r2s1op +r2s1ord +r2s1org +rs1osz +rscsa2 +rscsap1 +r2s1d +r2s1n +rs2s3zrr +r2s1b +rs1nt +rs1rv +r2s1s +r2s12z +rs1r +rs1pl +rsp2r +r1s2rc +rs1s2t +rs3szag +rs3szak +rs3sz +rs3szem. +rs3szemet +rs3szer. +rs3szer. +rs3szerb +rs3szere +rs3szern +rs3szers +rs3szert +rs3szerv +rs3szi +rs3sz +rs3sz +rs3sz +r1stand +r1s2tat +r1s2tc +r1s2tt +rs2top +rst2r +r1strat +rs1tre +rs1tr +r1str +r1stru +r1s2t +rsu2r +rs1ura +rsu2t +r2s1uta +rs1ut +rs1r. +rs12ri +r2s12s +rs1to +r2s1d +rs1ld +r2s1z +rsza2k1a2l +rsza2k1e +rsza2k +rsza2k1 +r2szal +r2s3zam +rszg1g +rszraz1 +rs3zrl +rszem1e2r +r2s3zen +r1sz2f +rsz2lo +rsz2m +rszom2j1a2d +rs3zse +rs3zsi +rsz2ta +rszt1al +rszt1rv +rszt2r +r2s3zr. +r1sz2v +r2t1abla +r2t1abr +r2t1a2dat +rt1a2d +r2t1a2ga. +rt1agit +r2t1aj +rt1ajt +r2t1a2kara +r2t1akc +rta1kre +rta1k2r +rt1alapj +rt1a2lb +r2t1alr +r2t1alb +r2t1alel +r2t1alg +r2t1alj +r2t1alk +r2t1alt +r2t1alv +rta2m1r +rt1anim +rta2n12r +r2t1anto +r2t1antr +rt1a2nyag +rt1app +rt1arn +r2t1arc +rta2rn +rt1a2ty +rt1a2uto +r2t1azo +rt1br +r2t1f +rt1g. +rt12ga +rt1gb +rt1gg +rt1gj +rt1gn +rt1gr +rt1gs +rt2lad +rt2lala +rt2rada +rt2raj +rt2ramr +rt1ria +rt1ri +r2t1rin +rt1rszi +rt1rsz +r2t1rta +rt2ruk +rt2rukk +rt2rukn +rt2rukr +rt2rukt +r2t1rur +r2t1rut +rt2s1g +r2t1ss +rt2s3z +r2t12t1a +r2t1tl +r2t1ts +r2t1tv +rt2v1 +rtvi2 +rt1bl +rt1br +rt1cl +rt1cr +rt1dr +rtea2 +rt1e2g +rt1e2gye +rtei2 +r2t1eks +r2t1elad +r2t1elb +r2t1elf +rt1elj +rt1elker +rt1elk +rt1elk +rtel2la +rtel2l12 +rt1elma +rt1e2la +rte2ll +r2t1elr +r2t1ember +r2t1eml +r2t1enc +r2t1ent +rte1p +rte2rac +rte2rl +rte2r1in +rtermo1 +rtermosz2 +rte2r1os +r2t1e2r +r2t1er +rte1sp +rt1estk +rt1estn +r2t1estn +rte2sze. +rte2szei +rte2szek +rte2szem +rte2szet +r2t1eszk +r2t1eszm +r2t1e2sz +r2t12d +rt12gi +rt2kaj +rt2k1a2l +rtkt1a2 +rtk1 +rt2kos +rt2ku +r2t12let +rt2ln +rt12li +r2t1lm +r2t12neke +r2t12nekk +r2t12nekr +r2t1p +r2t1rdem +r2t1rem +r2t12r +r2t1rin +r2t12rit +r2t1rtek +r2t1rt +r2t1rv +r2t1rz +rt2s1g +rtsksz1 +rts3sza +rt2sl +rt2sz +rt2szo +rt2sz +rts3zs +r2t1tk +r2t1tl +r2t1tt +r2t1tv +r2t12ve. +r2t12vet +rt2vn +r2t12vr +rt1vk +rt1fl +rt1fr +rt1gr +r1t2hg +r2t1i2de +rt1id +rt1idi +rt1ifj +r2t1i2g +r2t1ill +r2tim +r2t1i2mi +r2t1imp +r2t1i2nb +r2t1i2n +r2t1i2nh +r2t1i2nn +r2t1ind +r2t1inf +r2t1ing +rti2nik +r2t1i2pa +r2t1ir +r2t1iro +r2t1isi +r2t1isk +r2t1ism +r2t1isza +rt1i2tal +r2t1iz +rt1izm +r2t1izz +r2t1g +r2t1j +r2t1n +rt2ra +rt2r +rt12ve +rt12v +rt2z +rt1zl +rt1kl +rt1kr +rt1kv +rtm1 +rtmt2 +r2t1of +rto2kad +rto2k1a2l +rto2k1ar +r2t1o2li +r2t1oml +rto2n1a2 +rto2n12 +rt1op +rt1ope +rt1opt +r2t1org +r2t1o2rom +r2t1orr +r2t1ors +r2t1orv +r2t1osz +rte3rej +rt1p +rt2rk +rt2s1n. +rt1sp +rt2s3zr +r2t1kl +rt1kl +r2t12lse +rtn3n +rt12rk +rt1rm +r2t1ssz +rt12vez +rt2h +rtksz1 +r2t1rkd +rt1rl +r2trl +rt1pl +rt1pr +rt1ps +rt2rad +r1t2raf +r1t2ranz +r1t2rg +r1t2ri +r1t2rik +r1t2ril +r1t2ri +r1t2rn +r1t2r +rt1sk +rt1sl +rt1sp +rt1st +rtsz2 +rt1t2r +r2t1udv +rtu2k +rt1uk +r2tunik +rtu2rai +rtu2ral +rt1u2r +rtu2sze +rt1ut +r2t1j +r2t12s +r2t1g +r2t1ld +r2t12l +rt1l +r2t1t +r2t12v +rt12z +r2tying +rty2j +rty2s +r1t2z +r1t2zi +rt2z +1ru +ru2ac +ru2b1i2k +ru2c3h +ru2cz +2r1udv +rue2l +rue2r +ru1fr +2rugar +2r1u2gat +rug3gy +2r1ugr +ruhs1s +2r1ujj +ru1k2l +2ruktu +2rukt +rum1agr +ru2maj +ru2mal +ru2maz +ru2m1eng +ru2mer +ru2mes +ru2ml +ru2m1i2k +rum1ill +ru2m1i2p +ru2mis +ru2m1iv +ru2miz +ru2m +ru2mol +ru2m1o2r +ru2m +ru2m +ru2m +2r1unc +run2da +ru2nit +r1u2nok +ru2pad +ru2pe +ru2p1il +ru2p +ru2rad +ru2rai +r1u2ral +ru2ras +ru2rat +r1u2raz +ru2rn +ru2rt +2r1urb +ru2ruk +rus1abl +ru2sad +ru2sal +rusa2n +rus1any +rusa2r +rus1aro +ru2sas +ru2sl +ru2s1iz +ru2sr +ru2s1ol +ru2s12 +ru2s +russ2 +russz2 +rust2 +rus1tra +ru2s12 +ru2sz12p +ru2szip +r1u2tac +r1u2tak +r1u2tat +r1u2taz +2r1utc +r1u2t. +r1u2tb +r1u2td +r1u2ti +r1u2tj +r1u2tk +r1u2tn +ru2tp +r1u2tr +r1u2ts +r1u2tt +r1u2tv +1r +rda2 +r2dad +r2d1al +r2d1ar +r2d1 +r2del +r2din +r2du +r2d +r1dy +r2d3z +r1gr +2r1jd +r2j +2r1jk +2r1js +2r1r. +2r1rb +2r1rh +2r12ri +2r1rk +2r1rn +r2ro +2r1rr +2r1rt +r2sz +r2t1a2l +2r12t1e2 +2r12t. +r2tr +r2tit +2r1tk +2r1tle +2r1tm +rto2 +2rts +2r12t +2r1tv +r2zsad +r2zse +1r +r2d +r2d +r2gyel +2rgyn +r2ha +r2la +r2l +r2led +r2les +r2lp +r2lr +r2l +r2l1o +r2l +rl2 +r2l1n +r2l1z +r2l1g +r2lu +r2l +r2l1l +2r1nn +2r12n +r2r +r2r +r2te +r2t +r2t +r2t +r2v +r2ze +r2z +1r +r1gr +r1kl +r1pr +2r1r. +2r1rh +2r1rm +r2r +2r1rt +r2s1orr +rs1ors +r1sp +r1str +r2v1ag +r2v1akc +rva2lap +r2v1alj +r2v1alk +r2v1a2rn +rva2sb +rva2sk +rvasu2 +r2v1a2sz +rva1t2r +rvav2 +r2v1ga +rv2gyi +r2vllam +r2v1llo +rv1llv +rv2nyad +rv2nyan +rv2ny +r2v1p +rv2r1al +r2v12ram +rvro2s1os +rv12r +r2v12ss +r2v1ta +rv2tors +r2v1e2b +r2v1e2dz +r2v1e2gye +rv1ela +rv1e2led +rve2lemb +r2ve2leme +rv1e2les +r2v1elk +r2v1ell +r2v1elo +r2v1e2la +rv1e2l +r2v1e2lkp +r2v1elr +r2velz +r2v1eng +r2v1ep +rve2r1a +rve2r12 +r2v1e2retn +rvers3s +rve2rip +rve2r1o +r2v1e2ri +r2v1e2sete +r2v1e2ss +r2v1ex +rv1ke +rv1kk +rv1kn +rv1k +rv12lel +r2v12l +rv2ny1el +r2v1p +r2v12rem +r2v12r. +r2v1rs +r2v1rp +r2v1rt +r2v1rv +r2v12vet +r2v1vi +rv1fr +r2v1ido +r2v1iga +rvigaz1 +r2v1ig +r2v1ik +r2v1inf +rv1inte +rv1int +r2v1i2p +r2virn +r2v1isme +rvis3sze +rv1ital +rvi2z1a2 +rvi2z12 +rvi2z1elv +rviz1o +rvi2z +rvze2 +rvz1es +rv1kl +rv1kr +r2v1ob +r2v1olv +r2v1op +r2v1or +rv1osz +r2v1ov +r2v12h +r2v1r +rv1ss +rv1s +rv1pr +rv1sk +rv1sp +rv1st +rv1tr +r2v1ub +r2v1u2t +r2v1g +rv2l +r2v1l +r2v1l +r2v1lt +r2v1t +r2v12v +r2v12z +ry2be +ry2b +ry2b +ry12n +ry2ho +ry2na +ry2ne +ry2ra +ry2re +rys2n +ry2t +ry2t +ry2va +ry2ve +r2z1a2dot +r2z1a2la +r2z1alj +r2z1alk +rz1alms +rza2sz +r2z1asz +rza2tal +rza2t1e2 +rza2tol +r2z1ll +rz2r12r +rz2se +rzs1s +rz1e2be +rze1p2 +rz1est +rze2tal +rze2t1eg +rze2t1e2l +rzetes3s +rze2t1o +rzet2kt +rzna2 +rz2n1al +rz2nat +rz2n +r2z1rm +rz2so +rzi2ab +rzis3s +r2z1n +rzo2r1l +rz2s3zr +rza2 +rze2 +rz1p2r +rzs1ala +rzs1any +rzs1apa +r2zsaz +r2z3sr. +rz3seben +r2zs1e2g +r2zs1e2r +r2zsg +r2zs1k +r2zs1r. +r2zsva +r2zs1iga +rzs1inj +rzs1int +r2zsip +r2zsita +rzs1or +r2zs12r +r2zs12 +rzs1s +rzs1u2t +rzs1r +rzs1lt +rzu2sak +rzu2san +rzus3s +rzu2s3z +r2z1ut +2s. +1sa +2sabo +2sabr +2s1abs +2s1a2c +sa2dal +2s1adap +2s1a2data +2s1a2dato +2s1adat +sads1s +2s1adm +sa2dog +sa2dc +sa2dd +sa2d +sa2dh +sa2di +sa2dj +sa2dm +sa2dn +sa2dr +sa2du +sa2dz +sae2r +sa1f2r +2saga +sa2gan +sa2g1l +2sagg +sa1gne +2s1a2g +sa2g +sa1gr +s1agy. +s1agyb +s1a2gyo +sa2gy +3sah. +saha2r +sa2hov +sa2ig +2saja +sa2jak +sa2jg +2sajn +sa2j1 +saj2tal +saj2t1a2n +saj2tar +sajt2r +saj2t1r +saj2tor +saj2t1 +saj2t12 +sa2k1ab +2s1a2kad +sa2k1an +sa2kas +2s1akci +sak2k1a2r +sak2k1as +sakke2 +sak2k1eg +sak2ker +sak2kes +sak2kis +sak2kol +sak2k1orr +sak2k12 +2sakku +sa1klu +2s1akna. +2saknb +2sakni +2s1aknk +sak1ola +sa2k1orm +sa2k1s +sa1k2ru +2s1akt. +2s1akti +2s1aktu +sa2k1ug +2s1a2kus +sa1k2va +2salab +sala2g1 +sala2ka +sa2laku +2s1a2lapa +sa2lap +sa2lapl +sa2lapoz +s1a2lapr +sa2lapt +sal2da +2sal +saln1n +sals1s +2s1alt +2s1alb +s1a2lel +s1alp +sal2t +sa2l1te +2salf +2s1algh +2s1algi +2s1algn +2salgsat +2s1aljai +2s1aljh +2s1aljr +2s1aljt. +2s1alka +2s1alkot +s1alku +2salm +2s1a2lomn +2s1a2lomr +sal2tag +2s1alte +2s1alth +2s1altit +sa2l1 +sa2m1any +sa2mec +sa2m1il +sa2m1 +sa2mol +sa2m1osz +2s1a2m +sa2nal +sa2nat +s2and +2sane +sa2nek +2s1angy +sa2nd +sa3n +s1ante +sa2nya. +s1a2nyag +sa3nyar +2sany +sa2r +sa2p1a2d +sa2p1a2g +sapa2te +sa2pc +sap12cs +sap1ll +sa2p1tm +sa2pto +sa2p1el +sa2p1k +3sapka +3sapkb +3sapkn +3sapks +3sapkt +3sapkv +sa2p1osz +s1a2pkr +s1a2psab +2sapp +s1apr +sa1pro +2sapu +sa2rat +sa2rat +sa2rny +sar2c3ho +sar2cin +sa2rn +sa2rit +sar2j1e +sar2k1e2 +3sarki +sar2kin +sar2kir +sar2k12 +3sark +3sarl +2sarm +2sarom +2sarz +sase2 +sa2s1eb +sa1s2m +sa1s2po +sas3sza +sas3sz +sas3sze +2s1asszo +3sast +sa2s1u2t +sa2s +s1aszf +2saszt +sata2ks +sa2t1alj +sa2t1alt +sa2t1a2ny +sat1apu +sa2t12rak. +sa2t1rka +sa2t1rk +sa2t1rr +sa2t1i2k +sa2t1ing +s1atl +satmo1 +satmosz2 +2s1a2tomb +2s1a2tomo +sa2t1orm +sa2t12d +sa2t12n +sa1t2r +2saty +sa2ty +sa2ul +sa2ur +2saut +sa2uto +s1aut. +saut2r +sauti2ko +sa2uv +3sav. +3sava. +sa2v1a2da +sa2v1a2l +3savn +sav1ra +sav1ria +sa2v1rt +sa2v1el +sa2v1r +sav1ill +sa2v1i2n +sa2v +sa2v +sa2xi +sa2zon +1s +s2b1ak +s2b1e2l +s2b1e2r +s2big +s2b1il +s2b +s2buj +s2b1ut +s2b +s2cs +s2gab +sga2d +sg1ada +2sgadd +s2gal +s2gan +s2gas +2s1gas. +sg1ass +s2gat +2s12gaz +s2g1l +s2g12rak +s2g1rn +s2g12ru +s2g1e2 +s2gp +s2g1i2ko +s2g +s2g1osz +s2g12 +s2g1 +s2g +sg1s +s2g +s2g +4s12gy +sgy1a2d +ska2 +s2kal +s2k1an +s2kar +s2kt +s2k1e2 +skkz1 +s2k1 +s2k +s1lc +s2l1in +2s1lm +s12lomb +3sm +sn2c1 +sn2c3so +sn1k2r +s2n +s2p1ost +s2rad +sr1ad +sr1a2d +s2r1ag +s2raj +2s12rak. +s2raka +2s12rakb +2s12rakh +2s12rakk +2s12rakn +2s12rako +2s12rakr +s2rakt +s2r1a2l +2s12ram +s2r1a2n +2s2ras +sr1ass +sr1asz +2s12rat +s2rg +s2r1l +sr1d2 +s2r1e2 +2srt +s2r1v +s2ria. +2s12ri +sr1iko +s2r1i2p +s2r1i2s +s2r +sr1k2 +s2r1osz +sr1ott +sr1ni +s2r +s2r +2srro +sr1s2 +srt2 +sr1tr +s2rug +2s12ruh +2s12rul +2srus +sr2 +2s12r. +s2r +s2s1ad +s2sar +s2ss +s2s1e2 +s2sis +ssksz1 +s2s +2s1s. +ss12r +2s1sv +s2s +s2s +ss3sz +s2s3za +ssz2r1a2d +2s12szo +2sta +s1tad +s2t1alj +s12tl +s12t12z +2s1tb +2s1tc +2s1td +2s12t1e2 +2st +s2tl +2s1tf +2sth +2sti +s2t1ir +2s12t +2stj +2stk +2s1tm +s12tokt +3stor +stksz1 +2s12t1 +3stra +3str +s1tre +2sts +2stt +s1tt +2stu +2s12t +2stv +s1tve +s1tv +s1tvi +3sv. +s2v1a2d +sva2l +s2v1a2r +s2v1l +s2v12r +3svb +s2v1e2 +s2v1rz +s2vis +s2viz +3svj +s2v1or +s2v +3svr +3sv +3svv +sba2l1 +sbe2 +sbr2cs +sb2lo +sb2l +sb2ra +sb2ri +sb2ro +sb2r +scar2 +1scheie +sc3hek +sc3hen +sc3het +sc3h. +1schbe. +sc3hd +1schre +1schre +sc3hs +sc3hi. +sc3hig +1schil +sc2ri +sda2dal +sdai2 +sde2 +sde1b2 +sde2del +sde1kr +sdes2 +sde1sp +sde1st +sdesz2t +sdi2ale +sd2ra +sd2r +sd2ro +sd2ru +1se +sea2d +sea2l +sea2n +se2l +se2r +se2bag +se2b1ak +seb1alt +seb2 +se2b1g +se2br +se2b1e2g +seb1ell +seb1elz +se2b1esh +seb1esze +s1e2bd +3sebs +se2b12 +se2b +se2b12 +seb1p +seb1s +se2b1u +se2b +se2bl +3sebz +secs1a2p +se2csev +se2cs1k +2sedez +sedl1 +2sedny +se1dra +se1d2r +se2dz +se2dz +see2l +see2n +2seff +se1f2ra +2s1e2ger +3segd +2segr +segs3s +s1egsz1 +2segt +3segg +seg2ga +seg2go +3seg +se2gyed +segy1e2l +s1e2gy +2s1egyh +2s1egy +seh2 +se2h1v +se2r +sej2t1a2 +sej2t1e2ny +sej2ter +sej2tr +sej2t1o +sej2t +seka2r +se2k1l +2s1e2ks. +sek2k1 +sek2kos +sek2k1 +se1klu +se1k2ra +se1k2r +se2kur +se2kr +sel1ak +se2ll +2selb +s1eld +2s1e2lef +s1e2legy +se2l1e2h +se2l1ek +se2lemek +2s1e2lem +se2lemk +se2lemm +2s1e2lemz +se2l1ere +s1e2les +sele2sz +se2l1esz +sele2t1a2 +sele2t1e2l +se2l1e2v +se2l1e2v +sels3s +2self +2s1elha +2s1elhel +s1elho +sel1id +se2lis +2s1elj +s1ell +2selml +seln2k1l +2s1elny +s1e2los +2s1e2l +se2lad +s1e2l +2s1e2lz +2selr +s1elta +s1elt +2s1elt +2s1elv. +2s1elvek +s1elv +2s1elvv +2selz +2sember +s1ember. +s1emberb +s1embern +2s1embr +2semn +2seml +se2nat +se2n1l +sen2d1a +sen2d1 +s1e2ner +sens3s +2s1enged +sen1ist +se2n1or +s1enta +seny1ag +seny1ak +se2ny12 +seny1ell +seny1ere +se2ny1l +se2ny1r. +se2nyrd +se2nyrte +2senyhi. +se2nyig +se2nys +se2nyu +se2ny +se2ny12l +2senyve. +s1enz +se2r +se2pid +s1epiz +sep2pa +sep2p12 +sep2per +2sepri +se1p2ro +se1p2r +se2r1agy +se2ral +se2ram +se2r1a2n +se2r1a2r +se2r1as +se2rau +se2r12g +ser1ll +se2rr +s1erde +2serd +sereg1g +3seregs +2serej +se2r1e2lem. +se2r1e2l +se2r1elt +se2r1elv +sere1p +sere2ped +ser1e2sze. +ser1eszk +sere1t +se2r1szb +se2r1iga +se2r1il +seri2n +se2r1ina +ser1inf +ser1ing +ser1int +se2ris +se2riz +ser1k +se2r1ol +se2r +s1erz +2se2r +s1er. +s1erb +s1erd +s1er +s1erf +s1erk +s1erm +s1ern +ser1s. +s1ert +s1erv +ser1s +sert2 +ser1tr +se2r12g +serv2 +2s1esem +2s1e2set +2s1esl +2s1e2ss +2sesk +2s1e2s +se1s2p +sessz1a2 +sessz2l +sessz1o +2s1este +se1sti +s1eszen +2seszk +s1eszk +2s1eszm +se2sz +se2t1a2la +se2tana +se2t1a2ny +se2tt +se2t1e2g +set1eleg +se2t1elk +se2t1elm +2setenk +2setes. +2setese +2s1e2tet +2s1e2tet +set2k +se2t1kb +se2t1k +se2t12l +se2t1nk +se2t1r. +se2t12ri +se2t1rt +se2tika +se2tik +se2tike +se2t1ing +se2tol +set1old +se1tran +se1tri +se1t2ro +2settk +se2t +2s1e2vs +2s1e2v +se1ye +se1y +se1yi +s1ezr +1s +2s1br +s2f1a +s2f1 +s2g1a2 +s2g12 +3sge. +s2g1eg +3sgei +3sgek +sg1ele +sge2lem +s2g1ell +3sgem +s2g1ent +s2ger +sg1erk +s2g1esz +s2get +s2g1e2ti +s2gev +sg12je +s2g12k +s2gp +s2g1r. +s2g12r +s2g1rn +s2g1rr +s2g1rt +s2g12r +s2g1rv +sg1sz +sg3g +sg1iga +s2g1ig +sg1ist +s2g +3sgk +sgo2 +s2g1ok +s2gol +s2g12 +s2gr +s2g2 +sg1r +sg1s +sg1s +s2gu +s2g +3sg +s2g12l +sg1lt +2s1h. +2s12he. +2s12hek +2s12hes +2s12het +2s12h +2s1hh +2s1hr +2s1hs +s2jem +s12ji +s1js +s2kek +s1kho +2s1km +2s1ks +s2k1 +s2lel +s12let +2sll +2s1lm +slksz1 +s2l +2sly +s2lya +s2lyeg +3sm +s2mu +s12nekb +2s12neke +s12nek +2s12nekh +2s12neki +s12nekk +2snekl +2s12nekn +s12nekr +s12nekt +s12nek +2s12p +2s12p +s2ral +s2ran +s2rt +2srb +2src +s1rde +s2r +s2rie +s2rig +s1rlel +2srm +s3r +2srr +s1rtke +3srvb +s1rvei +3srvem +3srves +3srvh +3srvr +3srvv +4s1ry +2s1rz +2ssdi +2sseki +s2s1el +2sssz +2sst +ssz1ak +s2sz1 +s2sz1emb +s2szir +s2sz1o +ssz3s +st1abl +s2t1a2d +2stk +s2t1o +st2 +s2t1r +2str +2stt +2stv +2s1v. +2s1vad +2s1vb +2sve. +2s12ved +2svei +2s12vek +2s12ven +2svet +2svb +2s12vi +2svn +2svt +2svv +2s1vf +2svh +2svi. +2s1vk +2s1vn +2s1vr +2s1vt +2s12v +2s1vv +sfa3gac +sfa2gy1al +sfeny2 +sf2m +sf2m1e2kh +sf2m1 +sf2mi +sfi2 +sfi2ra +sfi2t +sf2le +sf2lo +sf2l +sf2lu +sfo2k1t +sf2ra +sf2r +sf2re +sf2ri +sf2r +sf2ro +sf2r +sga1b +sga1d2 +sga1p +sga1tr +sge2o +sg2le +sg2l +sg2n +s1g2ra +sg2r +sg2ri +sg2r +shely2k +1s2hi. +1s2hih +1s2hij +1s2hik +shitkz1 +s2horr +3s2how +sh2sr +shs1s +1si +si2ac +sia2d +si2a +si3ak +sia2l +sia2ny +si2ro +si2b12 +sibilis1 +sids1s +si2dea +si2de +si2deg +si2dei +si2den +si2deo +s2idet +2sid +s1i2dn +si2dom +2s1i2d +si2du +si2eg +sie2l +si2en +si2eu +2s1ifj +2siga +s1i2gazo +2sig +2sige +s1i2ge. +s1i2gek +s1i2ges +2s1i2g +sig2n1e +sig2n12 +2siha +3sihed +2s1ihl +si2k1a2n +sike2r1esz +sike2s +si2k1in +si2k1ir +si2k1old +s1i2konh +s1i2konj +2s1i2konk +s1i2konn +2s1i2kono +s1i2konr +2s1i2kont +s1i2konu +sik1orr +si1kr +sikus1s +2simd +si2m1el +s1i2mit +3sim +3simog +2simp +s1impor +si2m1u2t +2s1i2nas +2sind +s1indu +si2ner +2sinf +2singa +s1ing +s1inget +s1ing +s1ingk +si2nic +2sinj +2s1inku +2s1ins +s1inte +2sinv +s1inv +2s1inz +si2onn +s1i2ono +si2a +si2 +si2c +si2da +si2e +si2g +si2i2k +si2o +si2p +si2 +2sipar. +2sipara +2sipar +2siparb +2s1iparc +2siparh +2siparm +2siparn +2s1i2paro +2siparr +2sipart +2sipart +2siparu +3sip +3sipka +3sipk +3sipol +2s1i2ram +s1irg +2s1irh +2siro +s1i2rod +2s1i2rn +2sirt +s1irt +si2sad +si2sl +si2s1is +si2s12 +sis3s +sist2 +si2s12 +si2s3zab +s1i2tal +sita2li +si2te. +si2t1i +si2t1 +sit2tin +3sity +si2t +2s1i2vad +2s1i2var +2sivs +3siv +2s1i2v +2siz +si2z. +si2zb +s1izmo +1s +s2g +s2ja +s2ju +s2kas +ske2 +s2k1er +s2k +s2k +sna2 +s2nac +s2nal +s2nan +s2n12 +s2nel +s2n +2sns +s2n1 +s2r1ad +s2r1l +sr2s3z +sr12to +s2red +s2r1e2m +s2ren +s2res +s2r1e2t +s2r1n +s2rir +s2r +s12ra +s2rf +s2rl +s2rp +s2r +sr2t1e2v +s2r1 +s1sp +s1st +st2kol +2stl +sts3s +sta2 +ste2 +s1tr +2s1v. +s2v +2s1vb +s12vek +s12ven +s12vet +s2v +s2v +s2za +s2ze. +2s1zl +s1zr +2sz +s2zl +sje2gy12 +skao2 +skapocs1 +ska2r1i2m +skaros3 +ska2r2r +ska1sm +skat2 +ska1tr +skau2 +1sklk +1sklr +ske1p2 +ske1s2p +sk2p1el +ski2 +1s2kicc +skie2 +sk2j +sk2la +sk2li +sk2l +sk2lo +sk2l +sk2lu +skols1s +s2korpi +sko2s1a2rai +sk1p +s1k2r +s1k2r +s1k2rit +sk2r +sk2rn +sk2ru +sk2va +sk2vi +sk2v +sky1r +sky1i +sla1d2 +sla2g1e2 +sla1s2p +sla2t1a2l +sla2t1a2n +sla2tel +sla2tev +sla2ts +sla2t12t +s2lg +1slgerei +sl2nyal +sls3s +slega2 +sleg1g +sle2 +sle2tal +sle2t1el +sle2t1em +sle2tl +sleves1s +sli2 +slke2 +sl2kev +sl2k1ol +sls3s +slic2c1elv +sli2d +sli2k +1s2liss +sls2 +s2lus +sma2 +smarc2 +smas2 +sma1sp +3s2mr. +3s2mru +sme2g1a2 +sme2g1 +smen2tel +1smirg +sna2pal +sna2p1e +sna2p1or +snap2sz1e2 +sne1yi +snit2t1elv +sn2h +1so +s1obj +so1c2k +sodane2 +soda1g2 +so2d1e +so2dn +so2dv +so2did +so2dis +so2d +so2dob +so2d1org +so2d1os +so2d +so2d +sodrs1s +so2d +sod1t +so2d +so2d3z +so2kab +so2kai +so2k1aj +so2k1a2la +so2k1ap +so2kar +soka2t +so2k1ato +so2k1l +so2k1rn +so2k1e2 +sok1ill +so2k +3sokk. +sokka2l +sok2k1ala +sok2k1a2p +2sokke +sok2k1el +sok2kir +sok2k12v +sok2k1 +2sokl +2sokm +so2kok +sok1old +2so2kos +2s1o2koz +so2k12 +2sokta +s1oktat +so2k12 +so2k +2s1o2laj +sola2j12r +sola2je +sola2tel +sols1s +2s1olda +2s1old +2sold +s1old. +s1oldk +s1oldm +s1oldn +s1oldr +s1oldt +s1oldv +so2lim +2s1oll +sol2 +s1olts +2solvas +so2lyan +so2ly +so2m1ad +somag1g +so2m1a2l +soma2t +som1ato +so2m1e2 +so2ml +so2m1te +so2mil +so2m1ita +so2m +so2m1odo +so2m1or +so2m1osz +som1p +so2m +so2m +son2ch +2sond +so2n1e +son2kl +son2k1e2 +2son +son2tab +son2t1a2l +son2t1a2n +son2tar +son2t12r +son2t1e2 +sont2r +son2t1r +son2tik +son2tip +son2t +son2t +2sonv +so2nye +so2nyis +so2s +s1opc +s1o2pe +sor1ada +sor1ala +sor1ll +so2r1tl +3so2r1e2 +sor1f2 +s1orgi +so2rid +2sorie +so2rif +so2rim +so2r1ing +so2ris +3sork +sorm1 +sormt2 +sor1oszt +3soroza +so2r12 +so2r +so2r +2s1orr. +s1orrt +2sorrb +2s1orrn +2s1orro +2s1orr +3sors. +sor2sal +sor2sar +sor2sas +sor2s1e2 +sor2sir +2sors +sor2s +sor1sz +sor2szn +sor1tre +sor2t +so2r1to +so2r +so2r +2s1osto +2s1ostr +s1osty +2sosz +s1oszl +s1oszt +so2ul +so2ur +so2ve +so2vis +so2xi +1s +s2g +s2r +scsap2 +s2di +s2dk +s2dv +sg2p1e2k +s1g2r +si2g +s2v +s2k1a2d +s2kil +s2kim +s2k +s1kr +sm1 +s2n. +s2ni +s2r +s2rai +s2rb +s2ri +s2rj +s2rm +s2rn +s2rr +s2rt +s2ri +s2s12 +s1sz +st2ny1r +s1t2r +2s1tv +2s12v +1s +s2b +s2ga +s2g +s2g1e2l +s2g1em +s2g1k +sg3g +s2go +s2g12l +s2g1lt +s2g +s2ka +s2k1el +s2kid +2s12ko +s12kr +s2k +s2lj +s12lz +s1ly +s2na +s2n +sn2d1a2 +s2no +s2n1l +s2n1 +s1ntv +s2n +3sr. +s2ra +s2r +3srb +2srd +s2r1ed +s2reg +s2ren +sr1f2 +s2r1iz +3srk +s2ro +s2r +s2r12l +s2r1 +sr1s +s2ru +2srv +s1ssz +s1sv +s1sz +2s1tl +2s1tv +2s1v. +2sve +s1vv +s12zn +1s +sa2c +sa2l +sa2n +2s2g +s1bl +2sbok +s2dad +s2dalk +s2d +s2del +s2din +s2d12r +s1dro +se2l +se2r +se2s +s1gr +s1kl +s1pl +s1pn +s1pr +s2r1aj +s2r12csot +s2riz +s2rol +sr12l +s1rti +s1rz +s2s1av +s2sim +ss1orra. +s2s1orr +s2s1orr +s1s2p +s1sta +s1str +ss2 +s2s1l +s2s1t +s2szap +s2sz1ll +ssz2k +ssz1k +s2sz1 +spa2d1a2 +s2patu +s2pj +sp2n1a +1s2prg +3s2peci +1spektr +1s2peku +1s2pk +s2p1r +1spirl +spis3s +sp2le2 +s1p2l +sp2lu +sp2ne +1s2pong +sporta2 +spor2t1al +1s2portg +spor2tr +3s2portb +spor2t1e2 +1s2port +spor2t1rd +1s2porth +spor2t1i2n +1s2portj +1s2portn +1s2portoka +1s2portol +1s2porton +1s2portos +3s2portot +spor2t1 +spor2t +1s2portra +1s2portr +1s2portt +1s2portu +spor2t12 +1sprk. +1sprol +sp2ra +s1prak +3spray +s1p2re +s1p2r +1spric +s1p2ro +s1p2r +sp2sz +1s2raf +srau2 +1s2rco +sren2d12 +3s2rf +sr2de +ssab2b1i +ssa2vo +ssg3g +ss2g1e2l +ss2g12j +ss2gid +s2s1kt +s2s1i2z +ss2kl +ss2ko +ss1k2r +ss2l +ss2p +s1s2r +ss3sz +ss2tad +ss2tar +ss2tat +s1s2t +ss2to +s1st2r +ss2t +ss1ura +ssy1r +ssy1t +s2sz +sszae2 +ssza1p2r +sszat2 +ssza1tr +ssz12g +ssz12ram +ssz12ruk +ssz12sz +s3szza +s3szed +sszeg1r. +sszeg2l +ssze2g1l +ssz1egye +s3szekv +ssz1e2la +s3szeml +s3szemm +ssze1p2 +ssze2reib +ssze2reid +ssze2rein +ssze2rek +ssze2rekt +ssze2rem. +ssze2remm +ssze2rese +sszer2t12r +ssze1t2r +s3szki +ssz12l +sszr1in +s3szto +s3szige +ssz1ing +sszis1s +ssz2vel +ssz1k2 +sszksz1 +s3szob +ssz1osz +ssz1s +s3szc +s3szr +ssz1s +s3szv +ssz1p2 +ss3zsi +sszt2 +ssz1tro +s3szur +sszus1s +ssz1r. +1stabil +1stadio +st1a2d +1staf +s2t1alj +s2t1alk +s2tand +1standa +sta2n12r +stan2s1 +st1a2nyag +s2tarc +1s2tart. +star2tas +1startos +1s2tartot +1startt +sta1sl +sta1s2t +sta1t2r +sta3u +stau2t +s2t1a2x +st1azo +3stb. +1stbj +1stbk +1stbn +1stbot +st1g. +st1ld +stn2c1ol +stn2s12 +st2ri +s2t1rka +s2t1rk +st12t1a2 +st1ts +1s2ttu +st1tv +st1br +st1dr +ste2a +1s2teak +s2t1eb +s2tedn +s2t1e2gy +s2t1e2ke. +s2t1elf +s2t1elh +s2t1ellen +s2t1elm +s2t1e2lo +s2t1el +s2t1e2l +s2t1elr +s2t1elt +s2t1elv +s2t1ember +s2t1e2mel +s2t1eml +ste2n1a +ste2n1 +ste2neg +ste2n1s +sten3n +ste2nos +ste2n12 +1stepp +ste2rad +ste2raj +ste2ral +ste2rav +ste2rc +ste2rl +ste2r1e2le +1sterili +ste2r1int +ste2ris +ste2r1o +s2t1er +ste2sz +s2t1eszm +ste2u +1stgek +1stget +1stgg +1stgr +st2k1a2 +st2k +stkt1 +stkta2 +st2k1el +st12kes +st1k +st2k1o +st2ku +s2t12le +st12l +s2t1lm +s2t1lt +st1lv +s2t1rc +s2t1rem +s2t12r +s2t12rt +s2t1rt +s2t1rz +sts3s +s2t1szl +s2t1tk +s2t12ve. +st1fl +st1fr +st1gr +s2t1i2d +sti2g +s2t1ige +s2t1ig +s2t1i2ma +s2t1i2m +1s2timm +s2t1imp +sti2na. +s2t1ind +s2tinf +s2t1ing +s2t1inv +s2t1i2o +st1i2pa +st1ir +st1ir +stis3s +sti2sz +s2t1isza +s2t1i2v +st1i2zo +s2t1j +3s2tl +s2tr +st1r +st12v +st12z +stk2ro +st1kr +st1kv +stola2t +sto2lato +sto2p1a +1s2topb +1s2toph +1s2topr +1s2topt +sto2rl +sto2rs +sto2re +sto2ris +st1o2x +3s2tla +3s2tl +st12r +1s2ts +st2k1lt +s2t1nt +s2t1r +s2t1ssz +sta2 +ste2 +stksz1 +s2t1ra +s2t1rb +s2t1rc +s2t1reg +s2t1rei +s2t1r. +s2t1rn +s2t1rr +s2t1rv +s2t1rf +s2t1rg +s2t1rh +s2t12ri +st1rl +s2t1rm +s2t1rn +st1rp +s2t1rs +s2t12r +s2t1rv +st1pf +st1pl +st1pr +1strando +1st2rap +1strat +s1trg +1st2rb +s1t2rn +st2ri +st2rf +1strf +1st2ruc +1strukt +st1sc +st1st +st1sz +st1t2r +s2t1udv +1stukk +st1uni +st1u2ral +3s2td +st1r. +st1t +s2t1g +s2t12l +st1st +s2t1t +s2t12v +s2t1r. +s2t12ri +s2t1rn +s2t1rt +1su +su2r +subi1 +s1udm +2s1udv +3sugr. +3sugrr +2s1ugr +3suhi +2sujj +suj2j1a2da +su2k1ar +su2ke +su2k1 +su2k1 +3summ +su2nal +2s1und +2s1u2ni +su2no +supe2 +2sura +s1u2rad +su2rai +su2rak +su2ral +su2rat +su2rt +2surn +2s1u2ru +su2szo +2s1u2tac +2s1u2tad +2sutak +s1u2tal +2s1u2tam +2s1u2tan +sutas1s +2s1u2tat +2su2tazi +s1u2taz +2s1utc +2sut +su2td +2sutu +1s +s2csal +s2csat +s2csem +s2cser +s2csip +scsk2 +s2cs1 +s2cs12 +scs3z +sdi2 +si2m +s1jh +2s12j +2s1js +3sly +2sr. +2srb +2sr +2srh +2sri +2srk +3srl +2srn +2srp +2srr +2srt +s2sn +s2s +2ssz +ssz2s3z +2s1tb +st1en +2st +s1th +2sti +s2tig +2s1tj +2s1tk +s1tn +2sto +s12ton +s2t1 +2s1tr +2s1tt +st2 +st1z +2s1tv +1s +s2d1e +s2d +s2d +3s3g +s1ggy +2s12gy +3s2k1a +s2k +2sld +s2led +3sltr +slye2 +s2lyes +s2n +sne2 +s2nev +s2n1 +2s12n +s2r +2s12r +2sst +2s12sz +2stk +3stb +s2ze +s2z +1s +s1pr +s2r1a +3sr +s12ru +s2z +sva2s1u2 +sv2gy1n. +sv2nyan +sv2r1al +svrosi2 +sven1 +svezet2 +sv2nyel +sv2tes +svze2 +svz1es +s2vun +sw2hi +swhisky2 +sy2b +sy1ig +s2z +1sza +szaa2 +3szabz +3szabd +sz1a2ds +2sz1a2d +sza2 +3szaft +3szag. +3szagb +3szag +2szagy. +2szagya +2szaj. +2szaj +2szajj +2szaj +2szakci +3szakm +sza2k12r +sza2kz +2szals +2sz1alb +2sz1alf +2szalg +2szalj +sz1alj. +sz1aljak +sz1aljo +2szall +2szaln +2sz1alp +2sz1als +2szalt. +2sz1alte +2szalto +2szaltu +2szane +sz1antr +2szanya +2szany +2szap. +2szap +2szapb +sza2pel +2szap +2szaph +2szapi +2szapj +2szapn +2szapr +2szapt +2szarn +3szarb +2szarc +2szar +3szart +3szarv +2szasp +sz1assz +sz1aszt +sza2tala +3szaty +2szaut +szau2ta +3szax +2szazo +1sz +2szbr +2szg +2szgy +sz2gy +sz2gyo +sz2j1e +sz2ke +2szldo +sz2lin +3szl +sz2man +sz2mar +3szm +sz2ml +3szmc +sz2m1e2 +3szm +sz2m1rt +3szm +3szmk +3szml +3szmm +3szmn +sz2mor +3szmt +3szm +3sznd +3sznt +2szp +2szradd +2szrs +sz2r1e +2szri +3szr +3szrm +sz2r12ra +szrt2 +2szru. +2szruh +2szrus +2szs. +2sztd +2sz12t1 +2szti +2sztl +2sztm +2sz2t1 +2szts +2sz1tu +2sz12t +2sztv +sz1bl +sz1br +1szcna +sz1cl +sz1d2r +1sze +2szeb. +2szeb +2szech +2szecse +2szedz +2szeger +3szegf +2szegz +2szeh +sze2keg +2szekit +2szeks +sze2ks. +3szekrn +3szekto +3szele. +2szelef +2szelemb +2szelemek +2szelem +2sz1e2lemk +2szelemm +2sz1e2lemr +2szelem +2szelemz +2szelere +3szelet +3szeln +2sz1elf +2sz1elgo +2sz1elha +2szelh +2sz1elj +2szelk +2sz1ell +3szell +2sz1elm +2szelnev +2szeln +2szelo +2szel +2sz1e2l +sze2ld +2sz1e2lf +sze2lr +2szels +2sz1elsz +2sz1elta +2szelt +2szelt +2szelu +2sz1ell +2szelv. +2sz1elv +2szelvek +2szelves +2szelvez +sz1elvi +2szelvn +2szelvt +2sz1elz +2szember +3szemek +3szeml +3szem1p2 +3szem. +2szenc +2szener +3szenny +3szenz +szeo2 +2szepi +sze2r12l +2szeredm +szer1e2ge +sze2rej +3szerel +szer1eszt +3szerke +3szers +3szerta +szer2tlo +3szerv +szervz1 +3szerz +2sz1esd +2sz1esem +2szesetb +2szesete +2szeset +2szeseti +2szesetr +2sz1e2ss +2szesk +2szes +sze1sp +2szeste +2szest +2szesti +2szestj +2szestr +sze2t1e2l +sze2t12k +2szetika +sze2ton +sze2tr +2szeve +2szev +2szexp +3szezo +2szezr +1sz +2szber +2szbr +2szg. +2szge +2szg +2szgr +2szhe. +2szhen +2szhet +2szhs +2szji +3szke. +3szked +3szkei +3szkek +3szkem +3szkes +2szkez +3szkb +3szkv +sz2k1ol +sz2kos +3szks +3szk +3szlek +2szneke +2sznekn +sz1pr +3szps +2sz1r. +2sz1rb +2sz1rc +2sz1rd +sz12rel +2szrem +sz2rem. +sz2remm +2sz12ren +2szr +sz2r. +sz2rn +sz2rr +sz2rt +sz2rv +sz1rf +sz1rg +sz1rh +2sz1rin +sz1rj +2sz1rk +2sz1rl +2sz1rm +sz1rn +2szr. +2szri +2szrk +2szrt +sz1rp +2sz1rr +sz1rs +sz1rt +2sz1rte +2sz1rt +sz1rt +2sz1rt +3szru +2sz12r +2sz1rv +2sz1rz +sz2tel +szte2s +2szv. +2szvad +2szvb +2szve. +2szvei +2szvek +2sz12vet +2szvn +2szvt +2szvv +2szvf +2szvi +2szvk +2szvn +2szvr +2szvs +2szvt +2szv +1szfrai +1szfr +1szfrso +sz1fl +sz1fr +sz1gl +1szi +szi2ab +2szide +2sz1id +2szid +2szifj +2sz1i2ga +2sz1ig +3szign +szi2k1a2s +szi2k1e2r +szi2k12 +sz1imak +2sz1i2m +3szimb +sz1impr +2szimpu +2szinas +2szinde +2szind +2szindu +sz1info +2szing +sz1inko +2szinteg +2szio +2szirat +2szir +2sz1i2ri +2szirod +szi2s +2sz1i2sza +szi2sz +3szitu +2szivad +2szivs +2sziv +sz1izg +2sz1izz +1sz +2sz1g +3szne +2sznna +sz2vr +2szvi +3szv +2sz1z +szka1pr +1szkarab +szk1arch +1szkenn +1szlvh +1szlvok +1szleng. +1szlengn +1szlengr +szle2t1e2l +szle2t1o +1szloge +1sz2mok +1sznob +1szo +2szobj +2szoda. +2szodai +2szodak +2szod +3szof +3szok +2szokke +2szokoz +2szoks +2szolaj +szo2l1l +2szolda +sz1old +2szold +2szo2lim +2szoll +2sz1oltr +2szolts +2szolvad +2szolvas +2szombor. +3szoms +szo2nas +szo2nr +3szond +2szora +szo2r1l +2szorm +2szorn +2szors +2szorv +2szost +2szosto +2sz1otth +3szov +2sz1ox +1sz +2szlm +3szl +2sznd +2szni +2szni +2sznod +2sz12rn +2szrt +2szri +sz2sk +3szsz. +szsza2k +sz2szll +sz2szn +sz2szl +sz1tr +1sz +2szbli +3szge +2szldes +2sz1le +2szre +2szv. +2szvei +2sz1z +1sz +sza2 +sze2r +sz2 +3szl +sz2ra +sz1si +2szz +sz1ze +1sz2p +sz1pl +1szponz +szrdi2 +sz3saj +sz3sap +sz3sas +sz3sav +s3zsk +sz3sn +sz3sr +sz3ss +sz3st +sz3sv +sz3seg +s3zsem +s3zsen +sz3sep +sz3ser +sz3s +sz3sh +sz3sik +s3zsin +sz3sis +sz3siv +sz3sn +sz3s2k +sz3sl +sz3sod +sz3sok +s3zsol +sz3sor +sz3s +sz3sr +sz3sv +sz3s2p +sz3s2r +sz3s2t +s3zsll +sz3s +sz3sz +sz2t1lla +szt2r1a2d +szt12ram +sz2t2ras +szt2rat +sz2tre +sz2trf +sz2trh +1sz2trj +sz2trny +sztr2 +sz2tru +szt12ruk +sz2trv +szte2r1el +1sztereo +szt2g +szt1ge +sz2trte +sz2t1rv +sz2t1t +szt1rk +sz2t1rn +1sztrd +1sztrjk +sz2tr +1sztye +1szu +szu2b +szub1o +szuc1 +2szud +sz1udv +2szugo +2sz1ugr +2szuh +2sz1uj +3szuk +sz1u2ra +2sz1u2r +2szuta +sz1ut +2szutu +2s3zuz +1sz +2szg +2szj +sz1ron +2sz1rr +sz1rt +2szs +2szt +2szth +2szti +2sztj +2sztn +2szto +2sztr +2sztt +2sztv +2szz +1sz +2sz1d +2szgg +3szks +2szld +2sz12led +2szlse +3szne +3szrke +3szrks +2sz1s +2sz1v +1sz +3szk +2szrdn +1szvit. +1szvitet +1szvitj +1szvitn +1szvitt +sz3zs +2t. +1ta +taa2d +taa2l +tat1 +tata2 +taboz1 +ta1bra +2t1abro +ta1br +2t1abs +ta1cl +ta2dal +2t1adap +ta2das +t1a2data +2t1a2datb +2t1a2dato +ta2datu +2t1a2d +2tadio +t1adj +t1adl +2t1adm +ta2dod +2t1a2dog +2t1a2dot +2tad +t1a2da +ta2d +ta2db +ta2dd +ta2df +ta2dg +t1a2dh +t1a2dig +t1a2dik +t1a2din +t1a2dit +ta2d +t1a2dj +t1a2dka +t1a2dk +t1a2dko +t1a2dkra +ta2dl +t1a2dna +t1a2dn +ta2dp +t1a2dr +t1a2dt +ta2d +t1a2dv +ta1dr +ta1d2re +ta1dro +t1ads +ta2dun +t1adv +tae2l +tae2r +ta2ero +ta2r +2taf +ta1f2r +taf2ta +ta2g1aj +ta2gav +taga2z +tag1azo +ta2gg +ta2g1l +ta2gec +ta2g1el +ta2g1e2r +ta2g12g +2taggo +2t1aggr +ta2gid +ta2giz +ta2g1osz +ta2g1ott +ta2gc +2t1a2gn +ta2g12r +ta2gv +ta1g2raf +ta1g2ram +tagrdi2 +ta2g1u2s +ta2gut +ta2g12 +2t1agy. +ta2gya. +ta2gyb +ta2gyh +2t1agyb +2t1agyn +2t1agyr +2t1agyv +ta2ire +tai2rn +tai2z +ta2j +ta2j1u2s +ta2js +2t1a2kad +ta2k1l +tak2r +tak1ro +ta2ks +ta2ktk +2t1akce +2t1akci +take2l +tak1ele +ta2k1r. +tak12sze +2t1akkora +2takkord +2t1akku +ta1k2la +ta1klu +t1akna. +ta2k. +ta2k1b +ta2k1rm +ta2k1s +ta1kr +tak2re +ta1kr +2t1akro +ta1k2rn +2t1akta. +2takti. +2t1aktiv +2t1akt +2t1aktj +taktus1s +ta2kus +ta1k2va +ta2l1a2da +ta2l1a2d +ta2l1adh +ta2l1adj +ta2l1adn +ta2l1a2do +ta2l1a2d +ta2l1adt +ta2l1a2du +ta2l1adv +2tala2g1 +t1a2lagu +ta2lag +2t1a2lakb +tal1akc +2talak +2t1a2lakj +2ta2laku +2t1alakz +ta2l1a2l +2t1alany +2t1a2lapa +2t1a2lap +ta2lapk +t1a2lapl +2t1a2lapsz +ta2l1a2r +ta2l1as +tala2te +2talatti +ta2l1au +2tal +ta2l12g +2tal +ta2l1llo +tal12rak +tals1s +ta2l1ta +tal1tr +tal1ell +ta2l1el +ta2l1eng +tal1esi +tal2g +tal2k1e2 +ta2l1r. +2t1alge +ta2l1i2ko +tal1ikr +tal1imp +tal1ina. +ta2lip +ta2l1isk +ta2l12r +2taljas +2t1alji +2taljz +2t1alkal +2talkm +2talkoh +2talkot +2taller +tal3ly +ta2l1ol +talo2m1e +ta2l1osz +ta2l1r +tal2p12ro +tal2pel +tal2p1il +tal2pus +tal1t2re +ta2lud +2t1a2lulj +ta2l1u2r +ta2l1u2t +ta2lr +ta2l1t. +ta2l +ta2l +2talveo +ta2mal +tam1alm +ta2maz +ta2m1i2d +2t1a2m +t1ampa +2t1ampu +2t1amur +ta2m +ta2n1aj +ta2nal +ta2nan +ta2n1ar +2t1a2nat +tan1ll +tan1lo +tans1s +tan2del +2tandr +ta2n1el +ta2ner +2ta2n1es +ta2n1ez +ta2n1j +ta2n1r. +ta2n1rk +tan1vb +tan12v +tan12vi +tan1vm +ta2nid +2ta2nim +tan1ist +tank2r +tan2kre +tan2ks +tank2 +tan2k1ra +2tanny +ta2n1osz +ta2nd +tan2te. +tan2t1el +tan2tors +tan1tr +ta2n +ta2n +2tanyag +2tanyd +2t1a2ny +tao2l +ta2r +2t1a2pa. +2t1a2pai +ta2pak +ta2pas +2t1a2pb +2t1a2pd +2t1a2p +2t1a2ph +2t1a2pi +2t1a2pj +2t1a2pk +2t1a2pm +ta2pra +ta2pr +2tapu +2t1a2pv +ta1p2la +ta1pl +t1a2p. +2tapp +ta1p2r +2t1apr +ta1p2ro +tap2sor +taps3s +tap2s12 +2tapun +ta2rabe +ta2rai +2t1a2ras +2t1a2rat +2t1a2rb +tardi2 +2t1a2rh +2ta2rn +2t1a2rt +2t1a2rv +2t1arbi +2t1arc. +2t1arch +2t1arco +t1arcu +2t1arc +ta2r1i2k +ta2rom +tar1s2 +tar2tab +tar2t1e2l +tar2t1em +tar2t1en +tar2t1r. +tar2tit +tar2told +2tartos +2tartr +2tartt +2tasc +ta2sem +2tasf +ta1s2k +ta1slu +ta1s2m +2tasn +ta2s1ol +2t1aspi +ta1spr +2tasru +2tassz +tas3sz +tas3szt +tast2 +ta1s2ta +2taste +ta1str +2tasv +ta1sy +2t1aszk +ta1szl +ta2t1alj +ta2t1alm +ta2t1aszt +tat2rai. +2t1a2tei +tate2s +2tatika +2tatik +ta2t1i2na. +ta2t1i2n +ta2t1ing +t1atlas +t1a2tomo +tat1orj +ta2t1r +ta1t2ri +2t1atti +tat1u2ra +ta2tya +ta2ty +2t1a2uk +tau2ta +tau2t +2tauto +ta2z +2tavan +2tavat +2tavat +ta1wh +ta2zon +1t +2tb. +t2b1 +tbe2sz12l +2tb +t2big +t2bin +2tbj +2tbk +2tbn +2tbok +2tbon +2tbot +t2b +2tbr +t1br +t2b +2tciu +t2fa +t2f +2tg. +t2ga. +tga2d +tg1ada +2t12gai +t2gaz +2t12g +2tgb +2t1gc +2t12ge +2t12g +2t1gf +2tgg +2t1gh +2t12gi +2tgj +2t1gk +2t1gm +2tgn +2t12go +2tgr +2t1gt +2t12guk +2t12gun +2t12g +2t1gv +2t12gy +t2h +t2jal +t2jaz +t2j1e2g +t2j1e2l +t2j +t2j1ok +t2j12 +t2j +t12jul +t2lab +tla2d +tl1ada +t2laj +tl1a2lap +t2lap +2t1lar +t2l1l +t2l1th +2t1ld +2t1ldo +t2l1e2 +t2ll +2t1ll. +2t1llam +2t1llan +2t1llat +2t1lls +2t1llh +2t1ll +2t1llj +2t1lln +2t1llo +2t1lls +2t1llt +2t1llu +t1ll +2t1llv +2t1lma +2t1lmi +2t1lmok +2t12lomr +t2lomt +t2l +2t1lru +t2l +t2lyab +t2ly1a2c +t2lyad +t2ly1a2g +t2ly1a2l +t2ly1a2n +t2lyap +t2ly1at +t2lyau +t2lytl +t2ly12z +t2lyid +t2lyir +t2lyis +tma2sze +t2m +t2mos +2t12mu +tn1alm +t2nr +tnc3c +tn2c1e +tn2ch +tn2cl +tn2cn +tncksz1 +tncs2 +tn2cs +tn2csor +tn1d2 +t2n1e2 +t2n +t2n12 +t2n +2tnp +tn2s1e +t2n +t2n +t2nyal +t2ny1as +t2nye +2tnz +t2p1a2 +tp2 +t2pl +t2p1r +t2pt +t2p1e2 +t2p1il +t2p1in +tp1oll +t2p1osz +t2p +t2p +2t12rad +tr1a2dot +t2rad +t2r1a2g +tr1ajt +t2r1a2l +2trama. +2tram +2trami +2t12raml +2tramok +2tramol +2tramot +2t12ramt +2tramu +2tram +tra2n +t2r1any +t2rap +t2r1asz +t2r1att +t2r1au +t2r1av +t2rg +t2r1l +t2r12sz +t2r1tl +2trboc +t2r1e2 +t2rd +t2rs +tr2gy +t2r1i2k +t2r1i2p +tr1isk +t2r1ism +t2r +tr1k2 +2t1rkd +2t1rkna +2trkr +2t1rny +tr1okm +t2r1osz +t2rc +tr1r +t2r +t2r +tr2s1alt +2trts +trt1lt +tr1tro +2tru. +2trua +2trub +2truc +2t12rug +2t12ruh +2trui +2t1ruj +2truna +2trus +2trut. +tr1uta +2tru +2truv +2tr +t2rj +2trk +t2rs +t2r +t2r +t2s1a2d +t2s1aj +t2sal +t2s1a2r +t2saz +ts12ga +t2s12rai +t2s12r +t2s12r +t2s1rh +t2s1rn +t2s12ro +t2s1rr +t2s1rt +t2ss +2t1sso +t2s12to +t2s1e2 +t2sis +t2sodv +t2s1ol +t2sor +t2s +2tsk +ts12r +t2s +t2s +ts3s +tst2 +ts1tr +t2sut +t2s12 +t2s +t1svn +t2sz1ak +t2szal +ts3zav +t2s3z +t2sze +ts3zen +2tszi +2tszo +t2szos +t2s3z +2tszt +2t1tad +2t12tl +2t1tc +2t1td +2t12t1e2 +2t12t1 +2t1tfo +2t1tg +2t1the +2t1thi +t2t1ir +2t12t +2t1tje +2t1tk +2t1tlag +2t1tm +2t12t1ol +2t12t1 +2t12t +2t1tp +2t1tre +2t1tru +2t1tsz +2t1tte +2t1tt +2t1tt +2t1tt +2t1tut +2t12t +2t1tvi +2t1tvo +t2v1a2d +t2vak +tva2l +t2v1a2n +t2vas +t2vaz +t2v1l +t2v1e2 +t2vd +t2v1rz +t2v1s +t2vin +t2vis +t2v +t2v1or +2t12v +t2v +t2v +t2v +t2zsal +t2zsl +t2zs +tzs1p +tbal2le +tbe2 +tb2la +tb2le +tb2li +tb2lo +tb2l +tb2ra +tb2re +t1b2ri +tb2ro +tb2r +tb2ru +tca1k +tca1s +tca1t2 +tc2lu +tc2re +tcsap12g +tdja2d +td2j1ada +td2ra +td2r +td2re +td2ro +td2r +td2ru +1te +te2aa +te2a +te2ab +te2ac +te2a3d +te2ae +te2a +te2ag +te2ah +teai2 +te2aiv +te2a +te2aj +te2aku +te2alap +te2alz +te2ali +te2ana +te2ao +te2a +te2a +te2apa +te2ap +teas2 +te2a1sp +te2asza +te2asz +te2aszo +tea1tr +te2a +te2a +te2av +te2az +te2ber +te2bd +2tech +te2cs +te2dit +te2d +2t1e2dz +2t1eff +te1f2r +te2gan +te2g1a2r +tega2z +teg1azo +te2g +teg1l +teg1r +te2g1eg +teg1e2lem +te2g1ell +te2g1elr +te2gene +2tegere. +teg1ered +te2g1l +te2g12p +tegsz1 +teg3g +te2gid +te2gis +te2giz +te2g1on +te2g1 +te2g +te2g12g +teg2l +te2g1l +te2g1l +2t1egy. +2t1e2gyes +t1e2gyez +t1egyn +2t1egyh +2t1egyl +2t1egys +2tegyt +tei2g +tein1s +te2j1a +teje2g +te2j1ell +te2j1elv +te2j1er +te2jin +te2j +te2jo +te2j1 +te2j1s +te2j +te2j1u2 +te2j +te2k1ag +te2k1l +te2k1el +tek1ret +te2k1i2p +te2k +te1klu +te2k1ok +te2k1s +te2k1und +te2k1t +te2lab +te2lag +te2laj +te2l1an +te2lap +te2lar +te2las +te2lav +te2l12g +te2ll +tel2r +te2l1t +2telb +tele3r +2telej +tel1ejt +2telektr +tel1e2len +te2l1elk +te2l1ell +te2lemba +te2leme. +2telemei +2te2lemek +te2lemes +te2lemn +2t1e2lem +tel1ess +te2l1e2s +te2l1este +tel1esti +tele2t1r. +t1e2lg +tel1rt +te2l1te +t1elfoga +teli2h +te2l1imi +te2lind +te2l1inf +te2l1ing +2t1elix +te2lr +tel2l1eg +2tellenf +2tellen +2tellenz +2t1ellniv +2telmle +te2l12 +te2l1l +2telad +2t1e2l +2telnn +2t1e2lny +te2ltt +2t1e2ltu +te2lvt +tel1zi. +tel1p2 +2t1elsa +2t1els +2t1eltel +2t1eltett. +2t1eltr +te2l +tel2k. +2t1elv. +2t1elvb +2t1elvei +2t1elvek +2t1elvet +2t1elvv +2t1elvh +2t1elvi. +2t1elvil +2t1elvk +2t1elvn +2t1elvr +2t1elvt +2t1elv +2t1elv +2t1elvv +te2map +te2m1as +2t1embl +2t1embr +te2m1e2g +tem1e2leg +2t1emel +2t1emelk +2te2mel +te2melv +te2m1l +te2m1r. +te2m12r. +tem1rt +2t1e2ms +te2m1te +te2m1tk +te2mid +te2migr +tem1ill +te2mim +tem1ing +te2m1int +te2mc +te2m12r +te2m12 +2temp +2templi +2t1e2mul +te2mus +te2mut +tem2l +te2m1l +te2nad +te2n1a2g +te2nal +te2n1a2r +te2n1as +te2nat +te2nau +te2n12t +ten1d2h +tene2g +ten1egy +te2n1el +te2ner +2tenerg +te2n1esz +te2n1kt +te2n1v. +te2n1vi +2t1enged +te2n1i2p +te2n1ol +te2n12 +te2n +ten2tin +ten2t12v +ten1tri +te2n1u2 +te2n +te2n1g +te2nnn +2t1enyh +t1enyv +te2oc +te2of +teo2s +2t1epiz +2t1e2pos +2tepp +tep2p12k +ter1abl +ter1a2c +te2r1ada +ter1aka +te2r1a2n +te2r1a2r +te2rau +ter12cs +te2rf +te2r1ll +ter1lm +te2r12ri +ter1ta +ter2ch +ter1d2 +2terd +2teredm +te2r1e2dz +ter1eg +ter1egy +2t1e2rej +te2r1e2ke. +2t1e2rekl +te2r1elm +tereme2 +te2r1ent +2tereo +tere2pa +tere2p1e2l +tere2p12l +te2r1er +te2r1e2s +te2r1este +te2r1est +te2reta +te2r1eti +te2retn +te2rg +te2r12j +ter1ka +te2r2l +ter1le +ter1lv +ter1g2 +ter1iko +2terili +ter1illa +teri2na +te2r1i2p +te2rism +ter1ist +ter1izm +ter1k2 +t1erklc +terms1s +te2r1old +te2ror +te2r1ox +te2r12r +te2rk +te2r1n +te2r +2t1er. +2t1erb +2t1erf +2t1ers +t1ert +t1erv +ter1s2 +tersz2 +tert2 +ter1tr +te2rur +te2r1ut +te2r1t +te2r1g +te2r1ld +ter2vaj +ter2van +te2sar +te2sr +te2sel +tes1ell +2t1esem +2t1e2setb +2t1e2sete. +2t1e2setei +2t1e2seten +2t1e2setet +2t1e2set +2t1e2seth +2t1e2seti +2t1e2setn +2t1e2setr +2t1e2sett +te2sl +2tesll +2tesly +2t1e2ss +te2s1int +tes2r +te2srn +te2s1r +te2sz +2tesk +t1esni +te2sot +2t1e2s +tesp2 +2t1esszen +tes2tak +tes2t1ll +test2r +tes2tra +tes2t1elk +tes2t1ell +tes2t1er +2testj +2testk +tes2t1kn +tes2t1ks +2testm +tes2tism +tes2t1o +test2 +tes2t1re +tes2t1r +tes2tur +te2s1 +te2s12v +2teszet +2t1eszm +tesz2t1a2 +teszte2r +tesz2t1ere +tesz2t12te +tesz2tor +te2t1a2k +te2t1a2l +te2tana +te2t1a2p +te2tg +te2t1l +tet2r +te2t1ra +te2tt +te2t1e2g +te2t1ell +tet1e2l +tet1elr +te2t1elv +te2tene +tete2r +te2t1er +te2t1esz +te2t1j +tet1kk +te2t12l +te2t1ri +te2t1rv +te2tid +2t1e2tika +2t1e2tik +te2tim +te2t1int +tetksz1 +te2t1olt +te2t1ot +te2tr +te2tur +te2t1z +2t1e2td +te2t12z +tevs3s +te2vol +te2w1a +2t1exp +2t1e2zer +teza2 +t1ezred +1t +2t1br +t2c +t2des +2tg. +2tgb +2tget +2tg +t2gp +t2gs +2tgg +2tgj +2t1gk +tgla1 +2tgn +2t12g +2t12g +2tgr +2tgt +tg2 +t2g1l +2t1h. +2t12hek +2t12hen +2t12hes +2t12het +2t12h +2t1hs +2t12jen +t2jes +2t1jr +2t1js +2t1jt +t2kab +t2kad +tk1ada +t2k1aka +tk1alk +t2kam +t2k1a2n +t2k1ar +tka2t +t2k1att +t2kaz +t2k1g +t2k1e2c +t2ked +t2k1e2g +t2k1e2kh +t2k1e2l +t2k1elr +t2k1er +t2k1esz +t2k1eti +t2k12k +t2k12l +t2kp +t2k1r. +t2k1s +tkfl2 +tkf2l1v +t2kid +t2kik +t2kim +t2kir +t2k1i2s +t2k2 +t2k1o2r +t2k1osz +tk2 +t2kr +t2k12 +t2k +t2k1u2t +tk2l +tla2 +t2lak +t2l1an +t2lap +t2las +t2l +t2lb +t2ll +t2lr +t2l12t +t2lei +t2le2l +tl1ele +tl1ell +tl1el +tl1elv +t2l1e2r +t2les +tl1est +t2lez +tl1kb +tl1k +t2l +t2l +t2l12 +tlksz1 +tlu2 +t2lut +2t2l +t2lyeg +tlyigaz1 +tma1p +t2m +t2mil +tna2 +t2n1an +2t12nekb +2t1neke. +2tnekek +2t12nek +2tnekl +t2n1in +t2n12 +t2ny1e2g +t2ny1e2l +t2nyk +tnyigaz1 +t2nyim +t2nyo +t2ny +tps3s +2t12p +t1p2la +2t12pl +t2rab +t2raj +tr1akt +t2r1a2n +t2rar +t2ras +t2rav +t2r12r +2trdekb +2trdekl +2trdekn +2trdek +2trdek +tr2d1e2mel +tr2d12j +t2reg +t2r1e2l +t2rem +tr1eml +t2r1eng +t2r1es +t2r1essz +t2r1esz +2t12rett +trs1s +t2r1sz +tr1te +tri2d +t2r1ide +t2ril +t2rip +t2ris +2trkez +2t1rm +t2r1os +t2r +2t1rtes +2t1rtk +2trt. +2t1rtk +tr1t2r +2t1rtv +t2r1u2 +2t1rv. +2t1rvei +2trvek +2t1rvny +tsa2 +t2sab +t2sag +t2s1aj +t2sak +t2s1al +t2san +t2sap +t2s1as +t2s1az +t2s12 +tst1a2 +t2s1eg +t2s1e2l +t2s1e2r +t2ss +ts1iko +t2s1or +t2s +t2s12 +t2su +ts2l +t2s1l +ts1l +t2s1t +ts3zav +tsz1l +ts3zr +t2szeg +t2sz1emb +ts3zene +t2szesz +t2sz1k +ts3zsi +t2t1a2l +ttcsa2 +t2t1e2g +tt1e2lemt +tt1elks +t2t1elve +2t1teri +t2t1ers +t2t1e2v +t2t12te +t2tok +t2tol +t2t1os +tt2 +t2tn +t2t1r +2t1v. +2t1vad +2t1vb +2t1vc +2t12vedb +2tvei +2t12vek +2t12vem +2tves. +tv1sz2 +2t1vf +2tvh +2t12vi +2tvk +2t1vn +2t1vr +2t1vs +2tvt +t2v +2t1v +t2vk +t2vn +2t12v +2t1vv +t2zs +tfa2l1aj +tfa2lan +tfa2le +tfa2lom +tf2jo +tf2la +tf2le +tf2li +tf2lo +tf2l +tf2ra +tf2r +tf2re +tf2ri +tf2r +tf2ro +tf2r +tf2ru +tg2zak +tg2zr +tg2z +tge2n1el +tge2n +tgen1s +tg2lo +tg2l +tg2ne +tg2ra +tg2r +tg2ri +tg2r +tg2ru +tg2r +tha2de +1thagore +t2har. +1t2hau +1t2he. +the2i2d1 +1theidp +1theusz +t2holi +thon1n +1thosz +th1sc +1thy +1ti +ti2aa +ti2ae +ti2a +ti2af +ti2ah +ti2aj +tiaksz1 +ti2ala +ti2am +ti2a1p +ti2ata +ti2atl +ti2a +ti2av +ti2chi +ti2dea +2t1i2de +2t1i2deg +ti2dei +2tidej +2t1i2deo +ti2dn +2tidz +ti2dio +2t1i2dom +2t1i2d +tie2le +tie2n +ti2b +ti1fl +2t1i2ga +2t1i2g +2t1i2ge. +2t1i2gk +ti1g2lo +ti1g2ra +2t1ihl +ti3ki +ti1kle +ti1klu +ti2konb +ti2kono +ti2konr +tiko1sz2 +ti1k2ri +ti2lac +ti2lad +ti2lan +ti2l1g +tile2g +til1egy +ti2lex +ti2lim +til1ing +ti2l1i2p +ti2lir +til1isk +2t1illato +2till +ti2l12 +2t1i2ly +ti2mak +ti2mb +2timd +ti2mj +ti2mr +ti2mz +2timmu +2timrei +2tinakat. +2t1inakk +tin1akt +ti2n1a2n +tin1ar +tina1t2 +ti2n1au +ti2n1ll +tin1rt +2t1ind +2t1inde +2t1ind +2t1indu +ti2ne. +ti2neg +ti2n1ek +ti2nem +2t1infar +2tinfl +2t1infr +tin2gal +tin2gas +tin2g1r +tin2g1e2l +2t1ingeni +tin2g1eti +tin2gos +tin2g12 +2t1i2nic +tini2g +tin1iga +ti2n1i2m +tini1sz2 +2t1inku +2t1inkv +tin3n +tin1r +ti2n +2t1insp +2t1integ +2t1intz +ti2n1ut +ti2n +ti2ol +ti2onb +ti2onh +ti2oni +ti2onj +2t1i2onn +2t1i2ono +2t1i2onr +2t1i2ont +tio2x +ti2pad +ti1p2la +tip2pin +tip2po +2t1i2rat +2t1i2rn +2t1irg +ti2rig +2t1irk +2t1i2rod +2tirol +ti2rom +ti2rn +2t1irr +2t1irt +tis2as +ti2s1a2u +ti2s1el +2t1i2si. +ti2sim +ti2sin +ti2s1i2r +2t1i2sis +2t1isko +ti2sor +2tistv +tisz2tina +ti2t1i2o +ti1t2ri +ti1t2ro +tiu2m +tiu2m1i2 +2tivad +2t1i2var +2t1i2vn +2t1i2v +ti2xa +tize2n1 +ti2z. +2tizj +2tizk +ti2zr +ti2zt +ti2zv +tizo2m +1t +t2g +t2ja +t2j +t2j +t2la +t2l12 +2tnio +2t12no +2t1nr +2t1ns +2t12ny +t2ra2n +t2rar +t2r1l +2t12rs +t2r1e +2t12r +t2r +t2r +tts3s +tta2 +tte2 +t2v1ec +2t12vei +t2vel +t2ver +2t12vi +tvi2 +t2vik +t2vir +t2viv +t2v12 +t2v +t2v +tv1s +t2za +t2z +t2zel +tz1ele +t2z1emb +tzi2 +t2zik +t2z1is +t2z +2tzl +t2z1o +t2z +t2zs +t2zu +t2zl +tz1l +2t12z +tje2gy12 +tj2t1 +tka1pr +tka2r2r +tkende2 +tk2p1e2kh +tkia2l +tki2 +tkie2 +tki2 +tk2la +tk2li +tk2l +tk2l +tk2lu +tk2z1l +tk2h +tk2ra +tk2r +t1k2rec +t1k2r +t1k2ri +tk2r +t1k2ro +t1k2r +tk2ru +tk2va +tk2vi +tk2v +tla2c3 +tla2g1a2d +tla2g1ar +tla2gas +tla2gl +tla2g1e +tlag3g +tla2g1 +tla2n1e2 +tlank2 +tla2n +tla2pr +tle2 +tlen3n +tle2t1a2n +tle2tas +tle2tele +tle2t1elv +tle2t1r. +tle2tos +tle2t +tle2 +tl2kal +tl2kem +tl3pe +tls3s +tl1tr +tl1dr +tma2gl +tma1k +tm2nyir +tme2g1e2 +tme2g1 +tme3gif +tmu2s +tmus3s +tmu2sz +tna2gya +tn2d1 +tne2k1el +tne2kld +tne2m1e2r +tne2r1a +tne2r1 +tne2sz1a +tne2szi +tne2sz12 +tnv1a +tnmen1 +tnmenk2 +tn2k1l +tn2n +1to +2t1obj +2t1obl +2t1obs +to1cki +to2daa +to2das +to2d +2t1o2d +2t1odv +2t1off +togs1s +to1g2rf. +to1g2rff +to2il +to2k1aka +to2k1a2n +to2k1ap +tok1ari +to2k1l +tok12rok +to2k1tl +to2k1tm +to2k1tr +to2k1ts +to2k1tt +to2k1tv +to2ker +to2k12l +to2kp +to2kid +to2k1im +to2k1in +to2k1ip +to2k1iv +to2k +t1o2koz +to2k1 +to2k +to1k2ro +tok1s +toksz2 +to2k1ur +to2kr +to2k +to2k +to2l1a2d +2t1o2laj +to2l1akt +tola2n +to2l1any +to2l1a2r +tol1atom +tol1br +2toldalo +2toldalt +2t1o2lim +tol1k2 +tol2l1rb +tol2l12r +tol2l1rh +tol2l1rr +tol2leg +tol2l1in +tol2l12 +to2l1o2r +2t1olts +to2l1ut +2tolvas +to2m1ag +to2m1ak +to2m1a2l +to2m1a2n +to2m1ap +to2m1l +to2m12r +tom1b +2tombe +to2m1el +to2men +tom1er +to2m1es +to2m +to2m1osz +to2m12 +to2m +tom1p2 +tom1s +2tomt +2tom +to2m +to2m +to2nalm +tona1t2 +tonau2 +ton1ll +ton1lm +to2n12z +to2n1el +to2n1en +to2ner +ton1gr +to2nil +ton1k2 +to2nol +to2n1or +to2n1osz +to2nc +to2nr +to2n +to2n +ton1s2 +tont2 +ton1tr +to2n1t +to2n +to2n +to2nyal +to2nye +to2p1at +2topc +2to2pe +to2pik +to2piz +2topp. +2toppo +2toppr +top1t2 +to2p +to2r1a2d +to2r1ag +to2r1aj +to2r1aka +to2r1akn +to2r1ako +to2r1a2l +tora2n +to2r1any +to2r1a2p +to2r1ar +tor1ass +to2rat +to2r1au +to2r1av +tor1cs +to2r1ll +to2r1lm +tor1t +to2r1tl +to2r12z +2t1orc +tord2 +tor1dr +tore2 +to2rec +to2rek +to2r1el +to2ren +to2r1er +tor1f2 +tor1g2 +2t1organ +2torie +to2r1ill +to2r1int +to2r1isk +tor1k2 +2torn +to2rop +to2rosz +tor1oszt +to2r1ov +tor2 +to2rn +to2r1r +to2r +to2r +2t1orr. +2t1orrv +2t1orri +tors2 +tor1sc +tor1sk +2t1ors +tor1sp +tor1st +tort2 +tor1tr +to2r +3torv +2torvos +2torvv +to1ry +to2s1as +to2s1e +to2sik +to2s1in +to2sis +tos3sze +t1osto +2t1osty +to2s +to2szal +to2szan +to2sz1e +tosz1k +2t1oszlop. +tosz1tr +3t2ot. +2t1otthon +to2ut +tova1 +2t1o2ve +2t1o2vi +2t1o2vu +2t1oxid +2t1o2xig +to1yo +toza2t1al +1t +t2gy +t2r +tt1 +tta2 +t1bl +t1bra +t1br +t1cl +tcsa2p12g +t2daj +t2d1a2n +t2d1es +t1dro +t2dr +t1fl +t1gl +t1g2r +ti2g +t2v +tk2rok +t1k2l +t1kre +t1kr +t1kro +tnus3s +to2k +t2r +tp1ass +t2p1e2l +tp1int +t1pro +t2ras +t2rb +t2rh +2t12ri +t2rr +2t12rs +t2rt +t12rv +t2sep +ts1tk +ts12tt +t2sr +t1s2kan +t1skl +t2s1ol +t1s2porto +t1s2portt +t1s2rc +t2s12l +t2s3zene +t1sz2f +t1szk +t2taj +t2tg +t2tom +t1t2r +t1t2re +t1tro +2tvod +2t12v +1t +tb2bev +tb2b1o +2t1bl +2td +t2dm +t2d +2tdn +t2do +2tdt +2td +t2ka +t2k +t2k1e2v +t2k1r. +t2k1rd +t2kid +t2k +2t2ko +2t12kr +tks3s +t2k1 +2tkrs +t2ku +2t1lb +2t1lci +tl2gya +tl2t12 +t1ltn +2t1ltz +tm2b1a +tmbe2 +tm2bel +tm2b1o +t1mle +2t1ml +t1mli +t2ml +t2na +t2n +tn1d2 +t2nen +t2n1 +tn2kr +tnksz1 +t2no +t2n1 +tn1s +t2nu +t2n +2t12reg +trs3s +2trks +tr2t1a2 +tr2teg +tr2t1e2lem +tr2ter +tr2trn +tr2t1s +tr2t1o2 +tr2t1l +tr2ts +tr2zsa +tr2zs12l +2t1sv +2t1sz +2t1tl +tt2t1 +2t1tv +2t1v. +2t1vb +2t1vh +2t12vie +2tvig +2t1vj +2t1vk +2t1vn +2t1vr +2t1vv +2t12zn +tze2 +1t +ta2c +ta2l +t2g +t1bl +t1br +te2k +te2r +t2l +t1fl +t1gr +t2t +t2v +t1kl +t1kv +t1pl +t1pr +t1ps +t2rag +t1ral +2t12r1an +tr1egy +2t1rez +2t12rk +2tr +t2rin +t2r1is +2t12r +2t1rj +2t1rjel +2trj +2trka +2trl +2tr1l +2trp +2t1rti +2trtr +2t1rz +t2s1a2l +2t1sny +t1spe +t1s2pi +t1spr +t1sr +t1sta +t1s2t +t1st +t1str +2ts +t2s. +tsz2 +t1szt +t1tr +t2l +tz2 +tzr1 +tpen3n +tp2fe +tp2la +tp2l +tp2l +tp2lu +tp2ra +tp2re +tp2r +tp2ri +tp2ro +tp2r +tp2ru +tp2sz +tpu2tin +t2raf +1t2rag +1tragi +tra1k2l +tra1kro +tran2d1a2 +tran2d +trans1s +tran2sz1ai +tran2sz1o2m +tra1s2p +trat2 +t2rati +tra1tr +1trgya +1trgyb +1trgy +1trgyh +1trgyi +1trgyj +1trgyk +1trgyn +1trgyr +1trgys +1trgyt +1trgyv +t2rjk +trn2sz +tr2nyal +tr2t1r +tre2csa +tre2cso +t2rego +tren2da +tren2d12 +1tren +tr2 +1t2rni +tr1p2 +tr2sz12 +tri1g2 +trii2 +t2rik +t2rill +1t2ri. +t2rij +t2rik +trol2l1in +tro2mad +tro2maj +trona2 +tro2n1ag +tro2nal +tro2nan +tro2nes +tron3n +tron1tr +tr2os +tro1sz2f +tro1sz2ta +t2r1o2x +tr2de +tr2nas +tr2n1e +1trnj +1t2rno +t2rnt +tr1sz +tr2zsi +t3rm +1t2rs +1t2rub +tru2mad +1t2rup +tsa2vo +ts2ch +1tsche +ts2g1j +ts2k +ts2ko +ts2la +ts2l +ts2le +ts2li +ts2m +ts2mi +ts2ni +tsi2 +ts2pa +ts2pe +ts2pi +ts2po +ts2p +tsp2r +ts2r +t1s2ta +t1s2t +ts2te +ts2t +ts2ti +ts2t +ts2to +tst2r +ts2tu +ts2t +1t2sub +tsza2k +tsza2k1 +tsza2t1e2 +tsza2t +tsz2t +t1sz2f +t1sz2k +t1sz2l +tsz2g1e2le +t1sz2p +t1sz2t2 +ttad2 +tta2d. +ttag1g +tta2g1o2ku +tta2n1r +t2t1ar +t2t1aszt +tta1t2r +tta2 +t2t1a2z +ttn2s12g +tt2v1i2 +tte2leme +t2t1e2la +tte2r1in +t2t1er +tte2s1a2 +tt1g. +t2t12le +tt2rak +ttr1em +tt2r1es +tt2r12ne +tt2rid +ttr1in +tt1ss +tt12vr +t2t1i2o +t2t1iro +t2t1isk +t2tizz +ttr1a +tt1r +tt1kr +ttornc1 +t2t1ors +tt1dr +tt1p2 +t2t12r +tt1s2r +tt2l +tt1l +tt1pr +t1t2raf +t1t2rag +t1t2ran +ttransz1 +ttranszk2 +t1t2rav +t1t2rf +tt2rn +tts2gel +tt2si +t2t1ug +t2t1d +t2t1t +t2t12v +ttwe2 +t2ty +tty1or +tty12l +tty2 +tty1l +ttyls1 +1tu +tu2r +tubus1s +tu1ck +tuda2te +tuda2t1 +2tud +tu2ga +tu2go +2t1ugr +tu2hu +tu2in +2t1ujj +2tuk +tulo2 +2t1ulti +2t1ultr +tu2l +tu2mab +tu2m1a2d +tu2maj +tu2mal +tu2man +tu2mar +tu2maz +tu2ml +tu2meg +tu2m1el +tu2mer +tu2mes +tu2m1i2k +tu2mim +tu2m1inf +tu2m1int +tu2m1ir +tu2mis +tu2miz +tu2m +tu2mol +tu2m +tu2m +tum1p2 +tu2m +tu2nal +2t1unc +2tuni +tu2nit +2t1u2no +2t1u2n +2t1unt +tu1p2r +tu2rac +2turai +2t1u2rak +tu2ralo +tu2ram +2t1u2ras +tu2rh +2turn +tu2rr +tur2g1a +tu2run +tus1abl +tu2sar +tu2sg +tu2se +tu2s1rt +tu2sis +tu2s1 +tu2sor +tu2s12 +tu2s1 +tu2s +tuss2 +tus3sze +tus3szi +tus3szo +tu2s +tu2szab +tu2sz1a2d +tu2szag +tu2szal +tu2szap +tu2szar +tus3zav +tu2szl +tusz1em +tu2sz12l +tu2sz12p +tuszi2 +tu2sz1il +tu2szin +tu2sz1ip +tu2szir +tu2szis +tu2sz1it +tu2sz +tusz1k2 +tu2szol +tu2s3z +tu2sz +tu2sz +tusz3sa +tus3zse +tuszt2 +tusz1tr +tu2sz +2t1u2tad +2t1u2tak +2t1u2tal +2t1u2tam +2t1u2tas +2t1u2taz +2tut +tu2tn +2t1utc +2t1u2to +tu2td +tu2tp +tu2tt +tu2tun +tu2um +2t1uzso +1t +t2ja +t2j +t2jo +t2ju +t2l1a2 +t2l12 +t2l1e2 +t2l12 +t2list +t2l +t2lok +t2lop +t2l12 +t2l +t2l1 +tl1s +tlt2 +t2l +t2l +t2l +tra1sz +t2rl +t2r1e2 +t2r1r +t2r1s +t2r1ol +t2rot +t2r +t2r +t2sze +t2sz +t2sz +t2t +2t1tb +t2t1e2 +2t12t +2t1th +2t12ti +2t1tj +2t1tl +2t1tn +2t12to +2t1tr +2t1tt +2t1tv +1t +2t12d +2t12d +2t1dv +t2ge +t2gy +t2l1a +t2l +2t12led +t2l1e2m +t2len +t2lep +t2l1e2s +t2l1e2v +t2l1r +t2lir +t2l +t2l1o2 +t2l1kl +t2lm +t2l1n +t2l1z +t2lk +t2lr +t2lu +t2l +t2ma +t2mk +t2m1 +tne2tel +2t1nn +2treg +2tres +2t12r +2t12r +2tst +2t12te +2t12t +t2ti +2t1tk +t2t +2t12t +t2v +2t12zen +2t1zl +1t +tcsa2p1 +t2d1al +t2d +te2kt +t2h +tfl2 +t1gr +t1kv +tle2 +t1pl +t1pr +trs1s +t1sp +t2z1a2 +tz2r +t2z1ra +t2zt +t2zene +t2zis +t2z +t2zo +t2z1s +tz3seb +t2z +tva2n1e +tva2nv +tva2raj +tv2nyad +tv2ny +tv2z1al +tv2zip +tve2n1e2v +tven3n +tven3t +tven2 +tve2nl +tve2n3y +tve2raj +tve2ral +tve2r12 +tve2reg +tve2r12sz +tve2rint +tve2rip +tve2r1o +tvers2 +tver1st +tve3se +tv2nyel +tvr1int +tv2r1o +tvisel2 +tvis3sz +t2vve +t2y +1tya +tyai2ko +tya1kl +tya1p2 +tya1sz2 +tyat2 +tya1tr +tyau2 +1ty +2ty1g +ty1ld +ty1ll +ty2ran +tyr1s +tys3s +1tye +ty1e2gy +ty1ela +ty1ell +ty1emb +ty1e2r +2ty1ex +1ty +2ty1te +1tyi +1ty +ty12r +ty1v +tynk2 +1tyo +tyo2lan +tyo2r1os +1ty +1ty +1ty +ty1s +ty2pe +ty1pr +ty2sa +ty1sp +1tyu +2ty1ug +ty1u2t +1ty +ty2k +1ty +1ty +1t2zekn +1tzekr +1t2zen. +t2zenj +1t2zer +1t2zes +tz12r +tz3sc +2u. +u1a +ua2ch +ua2da +ua2d +u2ador. +u2adorb +u2ador +u2adorn +u2adoro +u2adorr +u2adort +ua2d +ua2es +ua2g +ua2ja +ua2j +ua2la +ua2l +ua2ny +ua2sz +ua2ty +ua2ut +ua1y +ua1y +ua1yi +ua1yo +ua2zo +u1 +u2ga +u2gy +u2po +u2r1 +u2r1e +u2rj +u2r1is +u2sz +u2t1a2 +u2t1e +ub1a2la +ub1alk +u2b1ang +ub1arc +ub1a2ri +ub1r. +ub12ro +ub1dr +u2b1e2b +u2b1ed +ube2l +ube2lel +ub1el +ub1e2se +ub1est +u2b1j +ub1le +u2b12n +u2b1p +u2b1rd +u2b12re +u2b1rm +u2b1rte +u2b1ve +ubi2g +u2b1iga +u2b1ige +ubi2ke +u2b1ina. +ub1ism +ub1kr +ub1olda +u2bork +u2b1orv +u2b1osz +ub1ri +ub1l +ub1s +ub1v +ub1pl +ub1pr +ub1sl +ub1sp +u2b1ud +ubu2sz +u2b1j +ub1d +ub1g +ub12l +ub1z +uca2t12 +uc2c1e +uc2c3h +uc2c1ina +uc2cip +uc2c +ucc3sz +uc2c +uc2c +uc2cz +uc1emb +uc3h +u2c3h +u2c3ho +uci2r +uci1p +u1c2kig +u1c2kon +u1c2kot +uc2ky +uc12l +uc1pr +ucsa2p12 +uc3sg +u2cs1l +u2csru +u2cs1e2l +u2cs1id +ucs1s +u2c3s +uc3sz +u2c1ug +uc1g +uc3z +uc3ze +uda2tal +uda2tl +uda2t12ram +uda2t1eg +uda2ter +udsksz1 +uds3s +udi2o +u2d1isk +udo1kr +ud2se +ud2sor +u1d2r +u1d2ro +u1e +ue2b +ue2dz +ue2g +uegsz1 +ue2gy +uel1r +ue2l +ue2me +ue2r +uervz1 +u2es. +u2esb +ue2s1e +u2esh +u2esi +u2esk +u2esn +ue2s +u2esr +u2est +u2esu +ue2s3zen +ue2te +ue2ve +u1 +u2ge +u2g +u2k +u2le +u2p +u2p +u2te +uf2nye +u1f2le +uf2ri +uf2ru +uf2t +ug1agy +ug1alj +uga1p +ug1apa +1u2garo +uga2t1el +uga2ts +uga2tol +uga2t12r +ug1g +ugra2 +ugr1ad +ug2r +ug2ros +ug2ru +ugr1 +ugs3s +ug12sz +ug1el +ug1e2v +ug12l +ugg2l +ugi2e +ug1ing +ug1int +ug1iro +ugi2t +ug1ita +ug1iv +ug1r +ug1kl +ugo2r12 +ug1sv +ug2s3z +ug1s +ug1pr +ug1sk +2ugui +u2g1ut +u2g1j +ug1g +ug1z +ug1r +ugya2n +uh1a2d +uh1alk +uha2r1as +uha1t2r +uh1att +u2h12g +uh1ll +u2h1r. +u2h1rb +u2h1rf +u2h1rh +u2h1rn +u2h1rr +u2h1rv +uh2szak +uh1em +uh1ex +uh1ind +uh1ing +uh1orz +uh1r +uh1pr +uh1tr +u2hu. +u2huj +uh1ujj +uh1z +u1i +ui2de +ui2d +ui2eu +ui2ga +ui2g +u2i1gn +ui2pa +ui2r +ui2z +u1 +u2ja +u2ju +u2ve +u2v +u2j1an +1ujja. +1ujjad +1ujjai +1ujjak +1ujjam +1ujjas +1ujjat +uj2j12ru +1ujjb +1ujjc +1ujjd +1uj2j1e2 +1ujj +1ujjf +1ujjg +1ujjh +1ujji +uj2j +1ujjk +1ujjl +1ujjm +1ujjn +1ujjp +1ujjr +1ujjs +1ujjt +1ujju +1ujj +uj2j +1ujjv +u2j1op +uk1abl +uka2c3se +u2k1a2lap +uka1pl +uka2rn +u2k1arc +uka2szs +uka1t2r +uk1ll +uk2sar +u2k1s +uks3s +u2k1tm +uk1bl +uke2l +uk1e2m +uk1ex +u2k1g +u2k1rz +u2k1i2p +uk2k1alt +uk2k1eg +uk2k1em +uk2k1ola +uk2kl +ukls1s +ukl2s3z +u2k1old +ukora2 +uko2ras +uko2r12 +uko2ril +uko2rin +uko2r1o +uks2 +uk1b +uk1pr +u1k2rn +uk12t +uk1r +ula2cs12 +ula1g2 +ula2jas +ul1aleg +u2l1alj +ula1s2p +ulata2l +ula2t1ala +ula2t1a2n +ula2tl +ula2tem +ula2tik +ula2tol +u2l1br +ul2k1e +ul2k1 +u2l12ria +ul2s1i2k +ulsksz1 +uls3s +ul2sza +ul2sze +ul1bl +ulcs1e2l +ulcs1es +ul2cs1r. +ul2csrv +ul2cs12v +ul2csiga +ul2csip +ul2cs12 +ul2csor +ul2cs12 +ul2cs1 +ul2csut +ul2cs +ulcs3z +ule2i +ule2 +ule2l +ul1el +ulet2ta +u2l1ex +ul2kal +ul2k1e2 +ul2k1ol +ul2kut +ul1p +u2l1rt +uli2nar +uli2nin +ul12r +ul1k2r +ul2lef +ul2l1e2l +ul2l1em +ul2l1en +ul2l1r +ulot2 +ul1f2 +uli2kon +ulksz1 +ul2 +ult2 +ul2zan +ul2z12ra +ul2z3s +ul1t +ul1pr +ul1st +ul2t1aj +ulta2r +ult1asz +ul2taz +ul2tl +ul1r +ul1t +ul1r +u2lyi +u2m1abl +um1abr +um1a2c +um1ach +um1a2dat +u2m1adm +um1a2do +um1a2d +2uma +um1aj +u2m1a2ka +umaksz1 +u2m1akk +u2m1akt +u2m1a2la +um1alg +um1all +um1alt +u2m1ana +u2m1ank +u2m1a2no +u2m1a2ny +2umao +2uma1p2 +u2m1a2r +um1arc +um1arg +u2m1a2ri +um1a2ro +um1asp +u2m1atl +u2m1au +um1a2zo +u2m1g +u2m1ll +um1lm +u2m12rak +um12ram +u2m1ras +u2m12r +u2m1rf +u2m1rk +u2m1rn +u2m12ro +u2m1rr +u2m1rt +u2m12ru +u2m1rv +umt1a +u2m12t1e +u2m1tm +u2m1tu +um1bl +um1b2r +um1dr +u2m1e2d +u2m1ef +ume2g +um1egy +um1ela +um1elb +u2m1e2le +um1el +um1elh +um1el +um1elj +um1elm +u2m1eln +um1elo +um1e2l +u2m1elt +um1elv +u2m1e2m +ume2n1 +ume2n12 +um1e2re +um1erk +um1e2r +um1e2se +um1ess +um1e2sz +u2m1e2t +u2m1e2v +u2m1ex +um1ezr +u2m1g +u2mhs +um12le +um1lv +u2m1p +u2m1r. +u2m1rc +u2m1rm +u2m1rte +u2m1rt +u2m1rv +u2m12te +um1fl +um1f2r +um1gl +um1gr +umia2 +um1i2d +umig2 +umi1gr +um1imp +umi2na. +u2m1ind +u2m1ing +u2m1inv +um1i2onb +um1i2on +um1i2onh +u2m1i2onj +um1i2onk +u2m1i2onn +u2m1i2ono +um1i2onr +um1i2ont +u2m1irt +um1isk +umi1sl +um1ism +umi1sp +umi2sz +umit2 +umi1tr +um1iz +um1v +um1z +umksz1e +um1kl +um1kr +um1kv +umna2 +u2m1o2koz +um1ola +um1old +um1oll +um1olt +um1olv +u2m1o2p +umo2ran +um1o2rat +umo2rl +umo2rin +um1osto +u2m1osz +u2m1ox +um12r +um12l +um1m +um1n +um12r +um1s +um1t +um1v +um12z +um12r +um1s +umpe2l +ump1ele +um2p1ing +um1p2r +um1sk +um1sp +um1st +um1sz +um1t2r +u2m1ud +u2m1ug +u2muni +umu2r +um1ura +u2m1u2t +um1g +um12l +um1r +um1s +um1t +um1v +um1z +umva2s +una1b +un1adu +un1akt +u2n1arc +u2n12g +un2cs1e +un2csiv +un2dz +un1e2r +un1e2t +un1g +un2g1a2g +un2g1eg +un2g1er +ung3g +un2g1ol +u2n1i2d +1u2nif +1u2niku +u2n1il +u2n1ingo +1u2ni +1u2niv +unka1p2 +unka1s +un2k1eg +u2nod +u2n1orr +un1ors +u2not +un1pr +un1s2t2 +unta2i +u2nun +un1tj +un12l +u1o +uo2la +uo2li +uo2r1a2 +uore2 +uo2r1et +uo2r1i2o +uo2xi +u1 +u2bu +u2ne +u1p2r +u2r +u2ri +u2so +u2sz +u2ve +u1 +u2ko +u2k +u2r +u2z +u1 +u2re +u2r +u2ri +u2r +u2r +upa1b2 +up1ada +upa1pr +upas2 +upa1sp +upa1t2r +upda2 +upe2r1a +upe2rel +upe2r1in +uper1s +up1e2s +up1p2 +up2hi +upli2n +up1z +1u2raim +1u2rak. +1u2rakh +1u2rakk +1u2rakn +1u2rakr +u2ralh +1uralk +1u2ralm +1u2ram. +ura2m1is +1u2rasa +ura1s2p +ur1ll +urt1a +ur2dar +ur2d1e +u2r1ef +ur2f +ur2f1 +1urn +ur2ne +urn2 +uro1b2 +uro2k1 +uro2ke +uro2ne +uro1p +uro1t2 +ur1l +urpi2 +ur2t1ag +ur2t1e2t +ur2t1e2v +urti2t +urt1ita +ur2t1okta +uru2c1e +2urul +uru1p2 +uru2szl +u2r. +us1abla +us1a2da +us1a2d +u2s1a2d +u2s1a2g +u2s1a2j +usa2kar +u2s1akc +u2s1a2la +us1alg +us1alj +us1alk +u2s1alt +us1alv +u2s1ana +us1ane +us1ant +us1ap +u2s1a2ra +u2s1a2r +u2s1arc +us1arz +u2s1ass +u2s1att +us1a2ty +u2s1au +u2s1a2z +u2s1br +u2s12g +us1gb +u2s1gg +us1gh +u2s1gr +us1ld +us1ll +u2s12p +u2s1rad +u2s12rai +u2s12rak +u2s12r +u2s1rb +u2s1rh +u2s12ri +u2s1rk +u2s1rn +u2s12ro +u2s1rr +u2s1rt +u2s12ru +us1ta +us1th +us1ti +us1tk +us1tt +us1tu +us1tv +us1bl +us1br +us1dr +us1e2c +us1e2d +u2s1ef +us1e2gy +u2s1e2l +u2s1e2m +u2s1e2n +us1erd +u2s1e2s +use1t +u2s1e2v +u2s1ex +us1ez +u2s1g +u2s1he +u2s12k +u2s12l +u2s12ne +u2s1p +u2s1rd +u2s1rte +u2s1rv +u2s1s +u2s12te +us1tk +us1tt +u2s1ve +us1fr +us1gr +u2s1i2d +usi2g +us1iga +u2s1i2ko +u2s1ill +u2s1i2ma +u2s1i2m +us1imi +u2simm +us1imp +u2s1inc +us1ind +us1inf +u2s1ing +u2s1ink +u2s1int +us1inv +u2s1i2p +u2s1i2rat +u2s1i2r +us1iro +us1irt +u2s1isk +u2s1ism +us1ita +us1iz +us1g +u2s1j +us2r +us1r +us1r +u2s12v +u1s2kl +us1kl +uski2k +us1k2r +us1kv +u2sod +u2s1of +us1okl +us1okm +us1okta +us1ola +u2s1old +us1oli +u2s1oml +us1ond +u2s1op +u2s1org +u2sori +u2s1orr +u2s1ors +us1osz +u2s1ott +us1c +us12s +u2s12l +u2s1n +us1rd +us12r +u2s1s +u2s1t +us12v +u2s12z +us12r +u1s2pec +us1pl +us1pn +us1pr +us1ps +2uss. +us2se. +us1sk +us1spe +us1spi +us1sta +us1sy +us3szab +us3szag +us3szak +us3szl +us3szm +us3szen +us3sz +us3szig +us3sz +us3sz +us3sz +us3sz +ussz2 +ussz1l +us3sz +ust12rr +us2teg +us2t1il +us1trad +us1tre +us1tr +us1tro +u1stru +us2t1l +u2s1uj +usu2s +us1usz +u2s1u2t +u2s1j +us1t +us1d +u2s1g +us2l +us1l +u2s1n +u2s1r +us1z +usz1abl +u2szaj +usz1a2la +usz1alk +usz1alv +u2sz1a2n +usz1app +usza2r +usz1ar +usz1ar +usz1aro +usz1asz +u2sz1au +u2sz12g +usz1ll +usz12p +u2sz12rad +u2s3zrako +u2sz12ram +usz1rje +usz1sv +u2szth +usz1t +u2sz1e2c +u2szef +usz1e2ge +usz1e2gy +usze2k +usz1eke +u2sz1e2l +usz1emb +usz1eml +us3zene +usz1eng +u2sz1erd +usz1e2r +usze2s +u2sz1e2v +u2sz1ex +u2szne +usz1te +usz1to +usz1imp +usz1ind +usz1inj +usz1isk +usz1ism +u2sz1isz +usz2j1a2d +u2sz1r +1u2szod +u2szola +u2sz1old +u2szony +u2szop +u2szosz +u2sz12b +usz1l +usz1n +u2sz1s +usz1p2 +uszte2r1a +usz1t2ran +u2sz1u2s +u2szut +usz1tr +usz2 +usz1g +u2sz1l +u2sz1z +usz1z +ut1abl +uta2csel +ut1a2d +2utakp +1u2tal +1u2talv +utame2 +uta2mel +uta2mer +uta1p +ut1ar +1utasc +uta2se +1utasf +1u2tasl +1utasv +uta2 +2utav +1utazi +2utb +2ut +2utib +2utin +2utju +2utkb +2utkt +2utm +2utn +utn1n +1utnz +2utr +ut2r +ut1bl +1utca +1utc +u2t1e2g +ute2r1a +ute2r +ute2reg +ute2rim +ute2ru +utn3n +ut1fr +uti2k12r +uti2ke +ut1ill +uti2m +uti2n1e2 +uti2nr +utini2 +uti2nig +uti2n1ik +uti2n1 +utin1s +u2t1i2pa +u2t1isk +ut1kl +ut1okke +u2t1old +uto2l1 +u2tols +2utomata +uto2rim +2utos +2utot +ut2dal +u2td +ut2del +ut1p2 +ut2s1aj +uts3s +ut1s2to +ut1sz +ut1tr +uttz1 +ut1pr +ut2rak +ut2ran +ut2rk +ut1sp +ut1st +ut1t2r +ut1g +ut12z +utya1s2 +u1u +uu2m1ag +uu2mal +uu2m1as +uu2ml +uu2m1e2 +uu2m12r +uu2mim +uu2min +uu2m +uum1p2 +uu2m +uu2ta +uu2t +uu2zs +u1 +u1 +u2gy +u2r +u2t +u2ve +u2ze +u1 +uva2r1a +uva2r12 +uva2r1e +uva2rin +uva2szl +uvata2 +uva2t1ag +uvi1g2 +uv2re +uxi2t1a +uxi2t1 +uxi2t1e +uzala2 +uza2lac +uza2lad +uza2lan +uza2lg +uza2l1t +uza2lel +uza2l1k +uza1p2 +uza1s2 +2uzl. +2uzlb +2uzll +2uzlr +u2z1id +uz1i2gye +uz1r +uzki2 +uzi2 +uz3sap +uz3sz +uz1t2r +uz12g +uz2l +2. +1a +a2da +a2d +a2d +a2gy +a2j +a2kar +a2kas +a2la +a2l +a2ny +a2sz +a2ud +a2va +1 +2ga +2g +2gi +2go +2gy +2h +2lo +2po +2ra +2ri +2ru +2bab +2band +2bar +b2lo +2bd +b2ri +b2ro +2c1aj +2c1a2l +2c1a2n +2c1a2v +c1e2t +c3he +c3ho +2c1i2d +ci2kp +c1pr +2csa +2csab +2csad +2cs1ag +2cs1aj +2csakt +cs1ala +2cs1a2n +csa2p12 +2cs1a2s +2cs1au +2csaz +cs12g +2cs1l +2cs1r +2cs1rf +2cs1ri +2cs1rv +2cstv +2cse +2cs1eb +2cs1e2g +c3sej +2cs1e2l +cs1emb +2cs1en +cs1er +2cs1e2s +2cs1l +2cs1r. +2csrd +2cs1rte +2cs1rt +2cs12v +2cs1id +2csigaz +2cs1il +2csim +2cs1inf +2cs1int +cs1i2pa +2csir +2cs1is +2cs1iz +2cso +2csokta +2csosz +2cs +2cs12r +cs1l +cs1s +cs1p +cs1s +cs1t +css1s +cs12t +cs3za +2d1a2c +da2d +d1ada +2d1a2k +2d1a2n +d1g +d1l +d12r +2d1e2g +2d1ej +de2l +d1ele +d1elh +d1el +2d1e2m +de2ra +de2r1ec +d1er +d1e2v +2d1k +2d1r. +2d1rc +d2t +d1te +2d1i2d +di2g +2d1ig +d1ing +di2dar +di2z +2d1os +d1pr +d2r +d2ro +d1v +dy1h +dy1t +dy1i +dy2s +d3z +1e +e2b +e2g +egsz1 +e2gy +e2la +e2le +e2lo +e2l +e2l +e2me +e2pi +e2re +e2r +e2r +e2r +e2sz +e2ta +e2te +e2ve +e2v +1 +2he +2le +2l +22ne +2p +2r. +2r1 +2re +2ri +2rz +2te +2ve +fl2 +f2l1v +f2l +f2r +f2ri +f2r +f2ro +g1a2d +gs1s +g1el +g1i2v +g1old +gs2 +g2r +gy1ag +gy1el +gy1r. +gyi2 +gy1is +gy1iv +2gy1u2 +gy1t +1i +2i2de +i2d +i2ga +i2g +2i2ke +2ikre +2ill +2i2m +i2mi +2ing +2int +i2pa +i2rat +i2r +2isk +2ism +2ist +i2ta +2i2vad +i2vs +1 +2r +2ve +2vi +2v +2jt +j1es +j1ez +j1ve +j1v +j1k2r +12jon +j1or +j1pl +jra1 +1js +j1ud +2jul +2kab +2k1a2g +2k1a2j +k1a2lak +2kalan +2k1alk +2k1any +2kap +2k1a2p +2kar +2kate +2k1atk +2k1l +2kru +ke2l +k1ele +k1ell +2k1em +ke2s +ke2t +k1ete +k1e2v +2krd +2kr +2ks +2k1ss +2k1szr +2k12te +2kz +kia2 +2k1i2d +2kin +2k1is +2k1i2t +1k2li +k2lu +2kol +2k1olt +2kom +2konf +2kong +2kor +2koro +2kos +k12l +k2l +k1l +k1pr +1k2re +k1t2r +2k1ud +2k1r +k2l +k1l +k1lt +2k1r +2k12t +2k1z +l1a2d +l1a2ja +l1a2l +l1a2m +la2n +2l1any +l1a2ro +2l12g +2l1l +l1rn +2l12sz +l1tv +l1br +l1d2r +l1e2d +le2l +l1ele +l1ell +2l1emb +l1en +2l1e2re +l1e2s +2l1e2v +l1ex +3l. +l12d +l2g +3l23va +l1fr +l1gl +2l1i2d +2l1ig +2l1ij +2l1il +2lim +2l1ind +2l1inf +2l1ing +2l1inj +2l1int +2l1inv +2l1i2p +2l1ir +2l1isk +2l1i2sz +2l1i2ta +2l1itt +2livs +2livo +2lizgato +2l1izz +l1g +l12v +l1k2l +l1kv +lo2k +l1oko +2l1ol +l1ope +2l1or +2l1os +2l1ox +l1b +l1l +l12m +l12n +l1r +2l1s +lvs1s +l1r +l1p2l +l1p2r +l1p2s +l1sk +l1sm +l1sp +l1s2t +lsz2 +lszt2 +lt1agg +lt1agy +l2t1aj +l2t1al +l2t1rn +l2tl +l2trte +l2t1s +lt1ves +lti2 +l2tid +l2t1im +l2t1in +l2t1ip +l2tis +l2t +lt1old +l2ts +l2t12r +l1tr +2l1ud +2l1u2g +2l1ur +2l1u2t +2l1r +l1s +l1g +l1l +l1n +l1r +l1t +l1v +l1z +l1z +2ly1a2d +2ly1a2l +2ly1an +2ly1a2r +2ly1au +2lyl +2ly1tl +2ly1e2 +2lyl +2lys +2lyol +2ly1 +2ly +ly1s +2lyug +2mac +2mad +2mag +2maj +2mar +2matr +mi2al +2moz +2nac +2nap +nau2 +2ny1a2n +2ny1i2r +ny1tr +1o +o2ko +o2ve +1 +2ra +2r +2s +2vo +1 +2le +2l +2l +2r +2ve +1 +2r +p1eg +pe2l +p1es +2p1in +p2la +p2l +2p1or +p1p2l +p2r +p2ro +rat1 +2rab +2raj +r1akk +r1alu +2r1ant +r1a2nya +ra1p2 +ra1szp +2rattas +rau2r +2r1br +r1ll +2r12ri +rs1s +2r1tm +r1br +r1d2r +r1e2c +r1e2l +r1ez +2rk +r1kk +2r12l +r12ne +2rs +rf2l12v +ri2al +2r1i2d +2rie +r1ifj +ri2g +2r1iga +ri3gny +r1i2m +2r1inf +r1ing +2r1int +2ris +r1ist +r1k2r +1rnr +r1ott +r1p2 +r1sp +r12c +r12l +r1n +r1t +r1s +r1pr +r1s2k +r1sn +r1s2r +r1s2t +r1szn +r1u2t +r12l +r12v +2sabl +s1abr +2s1a2d +2s1a2j +s1a2la +sa2n +s1any +s1apr +sa2r +s1ar +2s1arc +2sarj +s2gol +s1ld +2s12p +2s12rai +2s12rak +2s1rb +2s1re +2s12ro +2s12ru +2s12r +2s1rv +2st +s1tl +2s12z +s1dr +s1e2c +s1e2l +s1e2v +s1ex +2s12g +2s12l +s12ne +2s12r +s1rm +2s1rt +2s12t +2s12te +s1tr +s1fr +si2g +s1iga +2s1il +s1imp +2s1in +2s1i2p +2s1i2r +2s1is +s12z +s1kl +s1kv +2s1ola +2s1old +s1org +2s1orr +s1osz +s12h +s1s +s1r +s2pe +s1pr +s1s2p +s3szag +ssza2k1 +s3szav +s3sze +s3szi +s3sz +s3sz +s3sz +s3sz +s3sz +s2tat +s1t2r +2s1u2ga +2s1u2t +s1g +s1n +s12t +s1z +sv2t1e +2sz1a2d +2sz1akc +2sz12g +szs1s +2sze +sz1ej +sz1e2s +sz1e2v +2sz +2sz1v +2szig +2sz +sz1k2 +sz1old +sz1osz +2sze +2sz +sz1s +sz1p +s3zse +2s3z +2sz +sz12g +sz2ve +t1a2d +t1a2i +2t1a2j +t1a2v +2t1l +t12ro +t12s +2t12t1 +t2v1i2 +t1bl +t1ef +2t1e2g +t1el +t1ell +t1elz +2th +t12l +2tn +2t1p +t1rd +2t12ri +t1rz +tfl2 +t1gr +2tiakh +2tiakn +t1id +tie2 +2ti +ti2g +t1ig +12tij +12t1i2ko +t1ill +12tin +t1ind +t1inf +t1ing +t1int +t1i2pa +12tir +t1ir +t1ism +t1ist +12t1i2z +t1g +t1j +t1v +t1okm +2t1ola +t1old +t1oml +to2n1 +t1ont +t1op +2tor +to2ran +to2r1as +to2rl +to2re +t1ost +t1osz +t1s +t2r +t1pl +t1pr +1t2rag +21t2ri +ts2gi +t1st +tu2m1 +tu2r +t1ur +2t1t +2t1g +1tvo +1u +u2no +u2ra +1 +1 +2gy +2l +2re +2te +2ve +2v +2ze +1 +2z +2vl +v2r +v2rad +v2ral +v2ris +v2rosz +v2r12 +vru2 +zae2 +za2 +zak2 +za1p2 +z1arc +za1t2r +2z1l +2zru +zs1s +z1i2d +zido2 +zt2 +z1tr +z1p2r +2zs1a2l +2zsl +2zse +zs1e2c +2zsi +z3sz +z1t2r +2. +1a +a2j +a2la +1 +2ga +2go +2gu +2ra +2sz +b2lo +cs2k1 +2des +12dt +d1z +2d1r +ds3s +d2 +12dl +d2v1a2 +d2v1el +d2v1e2s +d2vl +d2vid +d2v1 +d2vo +1dv +d2vl +d2v +d2vu +d2v +1e +e2b +e2ge +e2g +e2le +e2l12 +e2me +1 +2ke +2p +f2f12 +f3le +f2ro +ge1k2 +ge3l +g2ra +2gy1a2 +2gy1 +2gyef +gy1e2lemb +gy1e2lemm +gy1elf +2gy1ell +gy1elm +gy1elo +gy1j +gy1kb +gy1r +gy1rr +2gys +2gyil +12gyin +gy1int +gy1ira +3gy +1gyn +gy1os +2gy12 +h1af +h1at +h1s +2h1e2le +h1elf +h1ellen +2h1e2l +h1elv +2h1h +2h1r. +2h1in +2h1it +h1or +h1s +1i +i2g +i2ko +1 +2r +k1a2n +ka2p +k2kal +k2k +kke2 +kkel1 +k2ker +kko2 +k2kop +k1u2n +l1ab +l1a2d +l1ag +l1aj +l1a2k +2l1a2l +l1a2r +l1at +l1au +l12c +l12g +l1l +l12p +l12r +l12s +l1br +l1d2r +2l1ecse +l1e2dz +2l1e2g +2lek +l1ell +2l1e2lte +l1eng +l1enn +2l1e2r +l1e2s +leta2 +le2tal +le2t1an +le2t1as +le2tav +le2t12 +le2t1eg +le2t1e2l +le2t1k +le2t1r. +le2t1rn +le2t12r. +le2tr +le2t12ve. +leto2 +le2t1or +le2tos +le2t12 +let1t2 +l1ette. +l1etted +le2t1u +le2tz +2l1ex +2l12g +l2k1a2 +l2k12 +l2k1e2l +l2kev +l2kir +l2k1o +l2ku +2l1l +l12p +2l1r. +2l12r +l1ri +l1rj +l1rn +l1rs +2l12r +l1rv +2l1rz +l2sa +l2so +ls3s +l2s3z +l1fr +2l1i2d +li2g +2l1iga +l1ill +2l1im +2l1int +l1ira +2l1itt +2l1iz +l1g +l12r +l12v +l2l1a2n +l2l1in +l2l12v +l2l1u2 +l3lyu +ln2k1l +l1o2d +l1o2l +l1om +l1op +l1or +l12v +2l1b +2l12l +2l1m +2l1r +2l12v +le2 +l2l +l1sl +l1s2p +l1sta +lt2 +l1p2l +l1p2r +l1sl +l1sp +l1st +l2t1ad +lt2r +1ltetl +1ltets +l2t1e2v +l1tra +l1ud +l1u2g +l1u2t +l1s +2l1g +l2l +l1l +l1lh +l1li +l1lj +l1ln +l1lt +l1lv +2l1r +2l1t +2l1v +2lyel +ly1ess +ly1esz +m1a2l +m1a2n +m1a2r +m12r +me3gi +m1ks +2m1p +2m1rd +m1fl +m1fr +mi2g +2m1iga +2m1il +2m1im +2m1i2p +2m1is +2m1iz +m1kl +m1kr +m1o2l +m1or +m1os +2m1ss +m1r +m1p2r +m1tr +m1j +2m12l +2m1v +2m1z +n1l +n12r +n1e2l +ne2t1elet +ne2ts +n1ev +2n12p +n1id +2n1ing +2n1irt +1nnep +1o +o2k1i2 +1 +2r +1 +1 +2re +p2ri +p2ro +rds1s +12reg +re2g1a +re2g +reg1g +12res +re2t +2rm +r2t1a +r2t1 +r2t1e2 +r2tis +r2t1o2 +rtok1 +rt2 +r2tl +12rl +s2s1a2 +s2s1 +s2s1eg +s2s1o2 +ss1s +ss2 +s2s1l +s2t1a2 +s2t2 +st1g +st1l +st1r +s2t1e2 +st1g +s2t1k +s2tl +s2t1r. +s2t1re +s2t1rm +s2t1il +s2tim +s2tir +s2t1is +s2t +s2t1o2 +s2t12 +s2t1r +s2t12v +s2t1r +s2t1s +s2t1u2 +s2t +st2 +s2t1z +sz1l +szi2 +2sz1iv +sz12v +2sz1nt +2szr +t1ab +t1aj +12teg +12tem. +te2m1a2 +2temb +12teme +te2m1el +2temb +te2mrt +te2min +tsi2 +t2sik +ts3s +t2s3z +1tk +t1s2p +t2t1 +t2t12 +tty1e2g +t2zi +1u +u2ta +1 +1 +1 +ve2g1a2 +veg3g +vez2r +1ze2m1a2 +ze2m1 +ze2meg +ze2m1rt +ze2m1tk +12zemi +ze2m1o +2zemt +ze2m1u2 +2zem +ze2t1a +ze2t1o +z2ra +z2r1e2l +1zlet. +1zletn +2. +1a +a2da +a2d +a2gy +a2ka +a2la +ala2g1 +a2lo +a2na +a2ny +a3nyagoc +a2or +a2pa +a2p +a2ra +a2r +a2to +a2ut +a2va +a2xi +a2zo +1 +2b +2ga +2g +2gy +2h +2je +2lo +2po +2ra +2ri +2ro +2ru +2s +2t +2t +ba2l1 +b2rel +b2lo +b2r +csap2 +csa2p1g +cs1as +2cs1k +cs1i2pa +d1l +2d1e2l +1d2r +d2ro +1d2r +d1sk +1e +e2cs +e2ge +e2g +e2gy +e2kre +e2la +e2le +e2l +e2l12 +e2l +e2l +e2me +e2pi +e2po +e2re +e2r +e2se +e2s +e2s +e2te +e2ti +e2v +e2v +1 +2le +2l +2nekb +2neke +ne2kest +2nek +2nekr +2p +2te +fa2j1e2 +f2lo +fo2g1a2l +f2ra +f2ri +f2ro +2g12l +2g12l. +g1s +g2z +g2ra +g2r +holda2d +hol2d1ada +1i +i2do +i2ga +i2g +i2m +i2mi +i2pa +i2r +i2ro +i2sz +i2ta +i2z +i2zo +1 +2r +2ri +2r +2t +2ve +2z +2z +kia2 +k2la +k2li +k2l +k2lo +k2rep +1k2r +1k2ri +1k2ro +1k2r +k2va +me2g1 +n1al +n1ar +n1l +n12r +n1e2le +n1elh +n1e2li +n1elk +n1e2l +n1elr +n1elt +n1eml +n1e2se +n1est +ne1t2 +2n1r. +2n1rte +ni2g +2n1iga +2n1in +2n1i2p +2n1i2r +2n1is +nme2 +n3ny +n1o2k +n1ol +n1os +n12r +n1pr +n1s2k +n1s2t +n1u2n +n1u2t +2n1s +2n1z +n1z +1o +o2d +o2k +o2ko +o2la +o2r +o2ro +1 +2ce +2ra +2r +2ri +1 +2l +2r +2ve +2z +1 +2r +p2la +p2l +p2ne +p2r +p2ri +p2r +p2ro +p2r +r1ad +r1a2l +r1a2m +r1a2n +r1au +r1a2v +r1b +r1l +r1s +r1z +r1egy +r1e2l +re2n +2r1e2r +r1ex +2r12j +r12l +r1p +rs3szer +r2sza +r2sz +r2sz +r2szo +r1fl +r1id +ri2g +r1iga +2r1i2m +r1int +r1i2p +r1ist +2r1r +r1o2d +2r1ol +r1o2p +r1or +ros2t1a2 +r1ot +r1n +2r12l +r1r +r1f2 +r1pl +r1pr +r1p2s +r1s2p +r1s2t +rszt2 +r1tra +r1uj +r1un +r1u2t +r1t +r1g +r1z +2s1ajt +s1l +s2g1el +2s1n. +2s12r +1s2ka +1s2k +so2rad +so2raj +so2ral +so2ran +so2rl +so2rosz +sor1s +sort2 +s2pe +s2pi +s2po +sp2r +s2r +s3sz +1s2ta +1s2t +1s2to +st2r +s1tro +2s1uj +2s12t +sze2r1 +sze2r1e2le +szere2p +sze2r1ep +sze2r1lt +sz2k +sz2t +ts3s +ta2 +te2 +1t2ra +1t2rg +1t2re +t2ri +1t2ro +1u +u2ga +u2ra +u2sz +u2ta +u2t +u2tu +1 +2ri +2sz +2ti +2to +1 +2gy +2l +2r +2te +2t +2t +2ve +2v +2ze +1 +2z +v2sz1a +v2sz1 +v2sz1e2l +v2szer +v2szint +v2szo +v2sz12 +v2sz +v2sz +v2z1 +vze2 +2z1a2b +z1a2d +z1a2g +z1ak +z1a2l +zal1e +z1a2p +z1a2r +z1a2s +z1a2t +z1a2u +z12g +2z1l +2z1rb +2z1rj +z1tl +z1tu +2z1ed +2z1ef +2z1e2l +2z1em +2z1e2r +ze2s +2z1ese +2z1es +2z1est +2z1esz +ze2teg +ze2tel +2z1e2v +2z1g +2z12l +2z1rm +2z1rt +2z1rz +2z1sz +z1fr +z1gl +z1g2r +zi2g +2z1iga +zigaz1 +2z1ig +2z1i2m +2z1i2r +z1isk +z1ism +z1ist +z1i2sz +2z1iz +z1n +z1r +z12v +z1kl +z1kr +z1o2k +z1o2l +3zom +z1on +z1op +z1or +z1os +2z1c +2z12r +2z12k +zl2d1el +2z12v +2z1z +za2 +ze2 +2z1r. +z12rei +2z12ri +z1rk +z1rm +2z1rn +2z12r +2z1rr +2z1rs +2z1rt +z1rz +z1p2r +z3sa +2zsm +2z3sr +2z3sv +2z3ser +2z3s +2z3s +2z3s +z3s2p +2z3suga +z3s +2z3s +z3sz +z1t2r +2z1ug +z1r +z1t +2z12g +2z1l +z1nn +2z1t +z3zs +2v. +1va +vaa2d +vat1 +vata2 +2v1abl +va1bra +v1abs +vacs1ala +va2cs1an +va2csap +va2csl +va2cs12 +vacs3z +2v1a2dag +va2d1aj +va2dal +2v1adap +va2d1asz +v1a2data +v1a2datb +v1a2datk +v1a2dato +v1a2datr +va2daz +va2d1l +va2deg +va2d1e2l +va2den +va2dep +va2d1e2r +va2d1e2t +va2dl +vad1te +va2dib +va2d1id +va2d1ir +va2d1i2t +va2d1r +va2d1ol +2vadom +va2dh +va2di +v1a2dj +va2dr +v1a2du +va2d1r +va2d12 +va2d1 +va2d +va2dza +va2dz +va2dze +va2r +va2g1as +va2gav +va2gs +va2g1e2 +va2g12n +vag1g +va2gid +va1gle +va2g1o2ku +va2goli +vag1ost +va2g1osz +va2g1ura +va2g +2v1a2gy +va2j1ar +va2j1c +va2j12ro +va2j1e2g +va2j +va2j1ol +va2j12s +va2j +va2j +2va2kad +vak1a2d +va2k1aj +vak1akn +vak1ap +vak1rn +va2k1s +va2k1t +va2keg +va2kem +va2k1rt +va2kis +va2k1r +va2k12s +va1kr +vak1t2 +2vakti +2v1aktu +2vakup +va2k1t +va2lac +va2laku +va2lap. +va2lap +va2lap +valls1s +2v1amp +2v1a2nal +va2n1e2g +vane2m +van1eme +va2n1es +van2v +van1ve +van1vi +2vang +van3n +va2nol +va2n +2v1a2ny +2v1a2ny +va1p2l +va2pos +va1p2r +2v1a2pu +va2r1ab +vara2c +var1ac +va2r1a2d +var1ajt +var1akt +va2r1al +va2rany +var1a2nya +va2r1a2p +va2r1a2r +va2r1assz +va2r1at +va2r1av +va2rg +va2r1l +2v1a2rny +va2r1szn +var1ta +va2r1tf +va2r1tm +va2r12to +va2r12z +varca2 +var2cag +var2cal +var2can +varc1c +var2c3ho +va2r1es +va2r1e2t +va2rev +va2rg +var1k. +var1ks +va2r12l +va2rp +va2r1r +va2rid +va2r1i2ko +va2r1ikr +va2r1ill +va2rim +var1inf +var1ink +va2r1inv +va2r1i2p +var1isk +var1ism +va2r +var2k1an +var1k2b +var1k2j +var1k2k +var1kl +va2r1okm +var1old +va2rop +va2ror +va2rn +va2r +vars2 +varsz2 +var2t1i2n +var2tor +vart2 +var2t1r +va2r1ut +va2r1t +va2r12 +va2r +vas1abl +va2sag +va2s1aj +vas1arc +vas1asz +va2s1br +va2s1l +va2s1rl +va2sek +va2s1e2l +va2sem +va2s1e2r +va2set +va2s1k. +vas1kk +va2s1kn +vas1kt +vas2r +va2s1re +va2s1rt +va2s1rv +vasfl2v +va2sid +va2s1i2na. +va2s1ing +va2s1i2s +va2s1iz +va2s1n +va2s +vas3sze +vas3szi +vas3sz +vast2 +vas1tr +va2sus +va2s12t +va2s +vasz1e2l +va2szis +va2t1a2d +va2t1aj +va2tau +va2t1l +va2t12ru +va2t1e2v +va2t1k +va2tl +va2t1rte +va2t12te +va2t1id +va2tim +vat1inf +vat1ing +va2t1is +va2t1r +vatmo1 +vatmosz2 +va2t1okm +va2t1old +va2t12v +vat2 +va2t1r +vatt2 +2vattako +va2t1ur +2v1a2uk +vau2n +vaza2t1e +2v1a2zon +1v +vb2baj +vb2b1as +vb2b1e2 +vb2b1 +vb2bil +vb2bol +vb2bos +vb2b +vb2bu +2vbr +v2c3h +v2cs1a2p +v2cse +v2cs1k +v2csip +v2cs1is +v2cs +v2cs +v2cs +vcs3z +v2d1al +v2d1a2n +vde2 +v2des +vd2 +v2dn +v2dik +v2d1ir +v2d1or +v2d +v2d +2v12gaz +2v1gr +v2g +v2gyal +v2gyan +v2gy +v2gy +v2k1e +v2k1 +v2laj +v2l1a2l +vla2n +v2l1any +v2l1ap +v2lar +vla2szin +v2l12r +v2l1t +v2l1e2 +v2ll +v2lid +v2lin +v2lir +v2lism +2v1lls +vl2l1e2 +2v1llom +2v1ll +vl2l12 +v2l +v2l +vma2 +v2m1ad +v2m1aj +v2m1ak +v2m1al +v2m1as +v2mau +v2m12 +vm1b2 +v2m1e2 +v2m1r. +v2m1rt +v2mil +v2m1in +v2m1ir +v2mis +v2m +v2m1or +v2m +v2m +vmu2 +v2m1ut +v2m +v2naj +vna2n +vn1any +v2n1e +v2nis +vns3s +v2n1 +v2n +vnya2d +v2nyaj +v2ny1a2l +vnya2n +v2nyany +v2ny1ap +v2nyar +v2ny1as +v2nyau +v2nyaz +v2ny1e2 +v2ny1r. +v2nyrd +v2nyrr +v2nyrv +v2nyrz +v2ny1ing +v2nyis +vny12r +v2ny12 +v2ny +v2po +vr1a2dato +v2rad +v2r1a2d +v2r1a2du +vra2l +v2r1ala +vr1ale +v2raml +vra2n +v2r1any +v2r1ar +v2r1assz +v2r1a2sz +v2rg +v2r1l +vrd2 +v2r1e2 +vr1isk +vr1ism +vr1ist +v2r +vr1old +v2r1oml +v2r1ont +vro2sz +vr1oszt +v2r12n +v2r +v2r +vrs2 +vr1sp +vr1sr +vr2t1es +vr2t1r. +2vru. +v2ruh +vr1u2r +vr1usz +vr1ut +vr2 +v2rs +v2r +v2s1a2d +v2sam +v2saz +vsr1a2d +v2s1e +vsi2k +vs1iko +v2sis +v2sr +vsksz1 +vs2 +vst2 +vs1tr +v2s1 +v2s +v2szan +v2s3zav +v2sz1e +v2szin +vta2 +v2t1al +2v1td +2v12t1e2r +2v1tfe +v2t1ir +2v12t +v1tl +2v1tm +2v12t1 +2v1tp +2v12t +2v1tv +v2z1alj +v2z1alt +v2z1a2tom +v2z1a2v +v2z1e2 +vzi1s2 +v2ziz +v2z +v2zos +v2z +v2z +v2z3sa +v2z3s +vz3se +v2z3s +vz3s +v2z3su +vz3sz +v2z +vb2lo +vb2ra +vcs2ne +vd2r +1ve +vea2g +vea2l +vea2n +vea2r +ve2l +2vece +ve2cet +ve1cl +ve2cseg +2vedny +ve2gab +ve2gac +ve2gar +ve2g1as +vega2z +ve2g12 +ve2g1eg +ve2g1e2kh +ve2g1ell +vege2lk +ve2g1elr +ve2g1e2r +ve2g1esem +ve2g1esz +ve2g1e2tet +ve2g1k +ve2g1l +ve2g1p +veg1r +veg1rte +veg1rv +vegs3s +veg2sz +vegg2 +veg1gr +ve2gid +ve2gik +ve2gim +ve2g +ve2gol +ve2gor +ve2g12 +ve2g12 +ve2g1u +ve2g +ve2gyelem +ve2gyemb +ve2gyez +2v1egyl +2vegyv +ve2k1ak +2v1e2ke. +2v1e2kei +2vekb +ve2kb +2v1e2kk +2v1e2ks +ve1klu +2vela +2v1e2lef +2v1e2lemz +vele2t1e2l +2v1e2lg +vels3s +2v1elf +v1elgy +2v1elha +2v1elhel +ve2lis +2v1e2l12 +v1elj +2v1elm +ve2los +2v1e2lir +2v1e2l +2velks +2v1elleg +2v1elr +2v1elsa +2v1elsz +2v1elszo +2v1elt +2v1elter +2v1eltr +2v1elto +2v1elv. +2v1elv +2v1elvek +ve2ly +ve2lyu +2v1elz +2v1emb +2v1e2mel +2v1eml +2v1e2mu +ve2n1ad +ve2nau +ve2n1 +ve2n1e2g +ve2n1e2l +ve2n1esz +ve2n12vi +ven1f2 +ven1g2 +ven3k2 +ve2n1o +ve2n12 +ve2n +vent2 +ven2t1l +ven1l +ve2ny +2v1enz +ve2r +ve2r +ve2pe +ve1p2r +ve2rab +ve2r1a2c +ve2r1a2d +ve2r1a2g +ve2raj +vera2l +vera2n +ve2r1a2r +ve2r1au +ve2raz +ve2r1g +ve2r1l +2verd +ver1egy +ve2r1e2h +ve2r1e2ke. +ve2rekl +ve2r1e2l +ve2r1eng +ve2r1er +ve2r1e2s +ve2r1esz +ve2r12l +ver1g2 +ve2r1iga +ve2r1ill +ve2rim +ve2r1inc +ve2rind +ve2r1inf +ve2r1ing +ver1inte +ver1ipa +ve2ris +ve2r1ol +ve2ror +ve2r +ver12r +ve2r +ver1p2 +ver2s1al +ver2sr +vers2g +ver2s1g +ver2s1gg +ver2s1gn +ver2s1gt +ver2sir +ver2s12 +ver2s +vers3s +ver2s1t +vers3zr +vers3zen +ver1tra +ve2rur +ve2r1ut +ve2rt +ve2r12g +ve2san +ve2sas +ve2s1l +ve2s1e2kt +veset2 +2v1e2sett +ve2sip +ve2sis +ve2s1z +ve1sk +2v1e2s +ve1s2pe +ves3sza +ves3szer +vest2 +ve2s1u2 +2v1e2sze. +2v1e2szekn +2v1eszm +2v1e2sz +veta2l +ve2tas +ve2tl +ve2t12r +vet1egy +ve2t1e2ll +ve2tg +ve2t12k +ve2tid +2v1e2tika +v1e2tim +ve2t1ing +ve2t1ol +ve2t1l +ve2tv +vet2 +ve2tur +ve2t1ut +ve2t12z +ve2vet +2v1e2vo +veze2r +vezksz1 +vez2sorr +vezs1s +2v1ezr +1v +v2g +2v1br +v2dak +vda2l +v2d1as +v2d +v2d1emb +v2dos +v2dv +v2d +v2d +v2dz +v1f2r +vga2 +v2gab +v2gak +v2gal +v2g12 +v2g1eg +v2g1e2le +v2g1elg +v2g1elh +v2g1eli +v2g1ell +v2g1els +v2g1elv +vg2em +vge2n +v2g1eny +v2g1ep +v2g1er +v2g1esem +v2g1e2sete +v2get +v2get +v2g1r. +v2g12ren +v2g12r +v2g1rr +vg1rv +vg3g +2vgh +v2g1id +vgigaz1 +v2gim +v2giz +v2g1 +vgkts1 +v2gol +v2g12 +v2g +v2g +2v1h. +2v12he. +2v12hen +2v12hes +2v1hs +v2kei +v2kt +v1k2l +v1k2r +v1k2ri +2v1ks +v2kk +v2l1a2 +v2lb +v2ll +v2l1r +v2leg +vl1ell +vl1els +vl1elt +vl1emb +v2l1eme +v2l1e2r +v2les +vl1ess +vl1est +v2lev +v2lez +v2l12k +v2lin +v2lir +v2l +v2los +v2li +v2ls +vlt2v +v2l1u +v2l +v2l +vna1p +2vnekl +v2n1emb +v2ny1eg +vnye2l +vny1ele +vny1els +v2nyid +v2nyis +v2ny1 +v2ny +vny2l +v2ny1l +v2ny1lt +2v12p +v1p2l +v1p2r +2v12p +v2ral +v2r1a2n +v2rap +v2rar +v2raz +v2r1r +v2rt +vr1d2 +v2r1e2l +vr1eml +vres3s +vr1eti +v2rs +vr1sz +vr1te +vr1ikr +v2rir +v2r1o2k +v2rot +v2rv +vr1s +vrtes1s +vr2t1n. +vr2tv +vru2 +v2rug +v2rut +v2r1 +vr2k +2v1rzet. +v2sak +v2sal +v2seg +vse2l +vs1ele +vs1elt +v2s1er +v2s +v1s2pe +vs3szer +vs2tb +v2s12v +vs3zav +vsz12r +v2szeg +vsz1ell +v2sz1kn +v2sz12 +vsz3s +v2szu +vsz2 +vsz1r +vsz2l +vsz1l +vt1est +2v1v. +v3va +2v1vb +2vvei +2v12vek +2v12ven +2v12v +2v12vr +v2vi. +2v1vr +2v1vt +2v12v +vfe2l1em +vf2ra +vf2re +vf2ri +vf2ro +vge2o +vg2ra +vg2r +vhang2a3 +vhez1 +1vi +vi2aa +vi2ab +vi2ac +vi2a +vi2ag +via2p +via2szal +via2sz1l +via2sz1rn +via2sz1em +viasz2 +via2szl +via2sz +vira2 +vir1ad +vic2c1a +2vick +vi2csag +vi2csal +vi2cs1an +vi2cs1as +vi2csl +vi2cs1e2l +vi2cs1r. +vi2csrt +vicsi2 +vi2csim +vi2csip +vi2cs12 +vi2cs +vics3z +vi2deg +vi2d1esz +2vidz +2v1i2d +vi2dz +vi2ew +2v1i2gaz +2v1i2gn +vika2 +vi2k1ag +vi2k1el +vi2kon +vi2l1k +villa1s +villasz2 +2villu +vi2m +2v1imm +vina1t2 +2vind +vi2n1emb +vi2n1 +vin2tess +vin2tesz +2vint +vin2tos +2v1i2on +2vipa +vi1p2s +2v1i2rat. +2v1i2ratot +2viratoz. +2v1i2rod +visa2 +vi2sal +vi2s1au +vi2s12g +vi2ser +vi2s1k +vi2sim +vi2s1is +vi2siz +vi2s +vi2szr +vi2szok +vit2a +vi3tad +vitaksz1 +2vital +vitel2 +2vitn +vi2t1 +vi2zeg +vi2z1ell +viz12l +vi2zin +vi2zok +vi2zol +vi2zom +viz1os +vi2zs +viz3sz +vi2zud +vi2z +1v +vdi2 +v2ge +v2ny +vnyenc1 +2v12ra +2v12r +2v12r +2vtlet. +v23tletb +2vtlete +2v1vb +vvksz1 +v2z1a2 +v2z +v2zel +vz1e2le +vz1elf +vz1elh +vz1ell +vz1eln +vz1el +vz1elp +vz1els +vz1elt +vz1elv +vze2m +vz1emb +vz1eme +vz1em +v2zk +v2zs +v2z1ing +vzi1sk +v2z1ist +v2z1isz +v2z +v2z1o +v2z12 +v2z +v2z12 +v2z3s2 +v2z +vz2 +2v12z +vz3z +vjra2t1t +vje2gya +vje2tel +vje2tu +vkia2l +vki2 +vk2li +vk2l +vk2lu +vk2ri +vk2r +vk2r +vla2te +vle2 +vle2 +vme2g1 +vna2p1in +1vo +vo2il +vo2ji +vo2k +2v1okm +voks3s +2v1okta +vola1t +2v1old +2v1old. +vol2t1a2d +vome2 +vomec3 +vona2l1e2 +vona2t1e +vons1s +von2s3z +vo2od +vo2pe +vo2r1a2 +vo2r1in +2v1orm +vo2s1as +vo2s1av +vo2s1e +vos3s2 +vo2s1 +vo2s +vo2uc +vo2v +vo2xi +1v +va2k +v2g +v2r +vcsa2p12 +v1d2re +v1f2r +v1k2l +2v1nn +v2r +v1p2l +v1p2r +v2ran +v2rk +v2rn +v2rt +v2s1akk +v2s1a2l +v2seg +v2s1iv +v2sol +v2s1orr +v2s +v2s +v2s +v1spi +vs3s +vs1tr +v1sz2 +vsza2k1 +v2s3zr +v2s3zen +vta1t2 +v1t2r +vvros1u +1v +v2b +v2dm +2v12ko +vl2gya +2v12rk +2v1tl +v2ve +v2v +2v1zn +vze3 +v2zs +1v +va2n +v2g +ve2l +ve2r +v2j +v2n +v1fl +v1f2r +vi3dej +v1kl +vo2l +v1pl +v1pr +v1rm +v12r +v1s2p +v1sta +v1str +v1t2r +v2l +v2zi +vp2la +vp2ra +vp2re +vp2r +vp2ri +vp2ro +vp2r +vp2sz +vs2k +vs2ki +vs2ko +vs2l +vs2pe +vs2ta +vs2ti +vs2t +vs2to +vst2r +vs2t +vsz2p +v1sz2t +vta2n12s +vta2n12to +vta2n12 +vt2raj +vt2r1ass +vt2ris +vtr2 +vt2r1r +vtels1s +vt2ra +vt2r +vt2ri +vt2ro +1vu +vu2bo +vu2mal +vu2man +vu2m1e2 +vu2mis +vu2m +2v1u2ni +vu2ra +vu2ru +2v1u2tak +2v1u2tas +2v1u2tat +vu2t +v1utc +v1u2t +1v +v1fr +v1jd +v12j +v1js +v2r1ad +v2re +vr2 +v2rn +v2r +v2sz +v1tn +1v +v2gy +v2k +v2l +2v1ld +2v1nn +v1pr +v2r +v1st +v1sz2 +v2te +v2t +v2z +1v +2v1rl +v2z +vvgy1b +vvers3s +vz2r12ra +2w. +1wa +wa2ii +wa2le +war2d1i +wa2re +wa1s2h +wa1ye +wa1y +1w +1we +we2b1a2 +we2b12 +we2b1ele +we2b1 +we2bir +we2b1o +we2b1 +we2b +we2ed +we2ek +we2ig +we2is +we2le +we2r +1w +whi2t +1wi +wi2ch +wi2cz +1w +1wo +wo2od +1w +1w +1w +wri2t +wsto2 +1wu +1w +1w +1w +wyo2m1 +2x. +1xa +x1a2da +xa2d +xa2d +xa1fl +xa1k2l +2x1akt +2x1a2la +2x1alg +2x1alj +2x1alk +xa2na +x1a2ny +x1a2r +xa2ri +xa2vi +1x +2x1br +x2gy +2x1ll +x2rak +2x12ram +x2ras +2x12ro +2x1rr +2x12ru +2x1tj +2x1tr +2x1tv +xba2l1 +xb2la +xb2lo +xb2ra +xd2r +1xe +x1e2gy +2x1e2ke. +xe2l1a +xe2l1 +2x1e2lekt +xe2lel +xe2l1emb +2x1e2lemr +xe2l1esz +xe2l1in +xe2l1o +2x1emel +2x1eml +2x1e2r +2x1e2s +2x1e2z +1x +2x1hs +x2p +2x1r. +2x1rte +2x1rt +2x1rt +2x1rz +2xvei +xf2re +xha2u +1xi +xia2n +xi2av +xi2d1a2l +2xid +xi2ds +2xi2de +2xid +2xidg +xi2d1i2 +2xidj +2xidj +2xidl +2xidm +xi2dol +xi2d +2xi2d +xid1z +xi1d2ro +2xidr +2xids +2xidu +2xidv +2xi2dz +xi2el +2x1i2ga +xign1n +2xilc +2x1ill +xina2 +xi2n1an +2x1ind +xine2 +xi2n1et +xi2n1i2 +xi2n +xi2on +xi2c +xi2e +xi2g +xi2m +xi2o +xi2 +xi2p +xi2r +2x1i2r +2x1i2ro +xi2sad +xi2sal +xise2 +xi2s1el +xi2s1es +xi1s2k +xis1p +xis3s +xi2s1 +xi2t1e2g +xi2t1e2r +xi2t1 +xi2t1i2 +xi2t12 +1x +x2ja +x2j +x2jo +x2ju +x12r +x2r +2x1vn +2x12v +2x1vv +1xo +2x1old +xo2n1ai +xo2n1al +xo2n1e +xo2pe +xo1p2l +2x1osz +1x +1x +x2d +x2r +x2z +1x +x2s +xp2la +xpor2t1a2 +xpor2t12r +xpor2t1e2 +xpor2t1rd +xpor2t12 +xp2ri +x1p2ro +x1p2r +xs2k +xs2pe +xs2ta +xst2r +x2t1e2d +xti2la +xti2l +xti2leg +xti2lin +xti2lis +xti2l1o +xt1rt +1xu +xu2sad +xu2sal +xu2s1a2n +xu2s1e +xu2s1rt +xusi2 +xu2sil +xu2sim +xu2sin +xu2sit +xu2s1ol +xu2s12 +xu2s12 +xus3s +xust2 +xus1tr +xu2sus +xus2 +xu2s1t +xu2s +xu2s1 +xu2s3z +xu2ta +1x +1x +x2l +x2ve +x2ze +1x +2y. +yaa2d +y1abla +y1a2bon +y1abra +ya1bri +y1abs +ya2cl. +ya2dako +ya2dal +y1adap +y1a2data +y1a2datb +ya2dati +y1a2dato +ya2datu +yad2ki +ya2d1s +ya2dv +y1admi +ya2dan +ya2db +ya2d +y1a2di +y1a2dj +ya2dk +ya2dkt +y1a2dm +ya2dn +y1a2dr +y1a2ds +y1a2du +yae2r +ya2ero +yae2t +ya2r +y1aff +ya1f2r +ya2g1a2d +ya2g1ag +ya2g1am +ya2gan +y1aganc +ya2g1a2s +ya2g1atl +ya2g1ato +ya2gau +yaga2z +yag1azo +ya2g1ll +yag1r +yag1rb +yag12r +yag1rh +yag1ri +yag1rj +yag1rk +yag12ro +yag1rra. +yag1rs +yag1rt +ya2gs +yag1t1a2 +ya2g1tf +ya2g1tl +ya2g1tr +yag1d2 +ya2gec +ya2g1el +ya2g1es +ya2g12g +ya2gk +y1aggr +yag3gy +ya2gid +ya2gim +ya2g1io +yag1isz +ya2giz +ya2g +ya2g1osz +ya2g12r +ya2g +yag1s +ya2gur +ya2g1ut +y1agy. +y1a2gyat +y1agyb +y1agyf +y1agyk +y1a2gyon +y1agyr +y1a2jak +y1a2jn +y1ajk +y1ajt +y1akad +ya2k1ll +ya2k1tk +ya2k1tm +yak1elm +yak1elt +yak1kn +ya2k1r. +ya2k1ri +yak1i2zo +ya1klu +y1akna. +y1aknk +ya1kn +y1a2kol. +ya2k1ola +ya2k1old +ya2k1n +y1a2ks +ya2k1rv +ya1k2rm +ya1kri +ya1kr +y1akt. +y1aktk +y1aktb +y1aktiv +y1aktj +y1aktot +y1aktu +yala2g1 +ya2l1agy +yal1ajk +ya2lakb +y1a2lakj +y1a2lakk +y1a2lakok +y1a2lakom +y1a2lakot +ya2lakt +ya2laku +y1alakz +ya2l1a2l +y1alany +ya2lapa +y1a2lap +ya2lapj +y1a2lap +yala2te +yal1ga +ya2l1l +yals1s +y1alt +ya2l12ne +ya2lif +yal1i2ko +ya2l1inv +y1aljai +y1alji +ya2lor +yalksz1 +ya2l1r +ya2l12 +y2alta +yal1t2r +y1alt +ya2l +ya2l +y1amalg +ya2m1any +yam1a2rr +yama2tal +ya2m1rb +ya2m1rn +yamszs1 +ya2m12to +yam1b2 +yam1emb +yam1ess +yami2k +ya2m1iko +ya2mind +ya2m1i2o +ya2m1is +ya2m1osz +ya2m12r +ya2m +ya2m +ya2m +y1a2nal +ya2nan +ya2nat +yan1att +ya2n3e. +ya2n1e2g +ya2nek +ya2ner +ya2n1et +ya2nez +y1a2nm +y1ang +ya2nid +ya2n1in +ya2n1is +ya2nit +y1a2niz +y1anny +yano2d +yan1oda +yan1onn +ya2n. +ya2nyas +y1anyj +y1a2ny +y1a2nyuk +ya2r +y1a2pa. +y1a2pai +y1a2pas +y1a2pb +y1a2pd +y1a2p +y1a2pi +y1a2pk +y1a2pm +y1a2pra +y1a2pr +y1a2pt. +y1a2pto +y1a2pt +y1a2pv +y1a2pi. +y1apjh +y1apji +y1apju +ya1p2l +ya2post +yapo2t +y1a2p. +y1a2p +y1a2ph +y1a2pi +y1a2pj +ya2pk +ya2pna +y1a2ps +ya2pt. +ya2pt +y1a2pv +y1app +ya1pre +ya1p2ri +y1apr +ya1pro +ya2r1a2d +ya2r1a2d +ya2r1a2du +ya2rasz +ya2rnn +y1a2rny +ya2r1tv +y1arc. +y1arca +y1arc +y1arcb +y1arcc +y1arch +y1arck +y1arcn +y1arco +y1arcr +y1arcu +y1arc +1yard. +1yardn +3yardom +1yardos +yar1dr +yar1ell +ya2roma +ya2ror +yar12r +yar1v +ya2rz +yar1s2 +yas1alj +ya2sap +ya2s1as +yasg1g +ya1sl +ya1sne +ya1s2pi +ya1s2po +ya1s2r +yast2 +ya1s2ta +ya1sto +ya1str +ya1svi +yasz2tr +y1a2td +yatkt1a2 +y1atka. +y1atk +ya2tomh +y1a2tomm +y1a2tomo +yat2rg +ya1tr +ya1trf +y1attr +y1a2ty +y1a2uk +y1a2ul +yau2t +y1a2uto +y1aut +yauti2ko +ya2t +ya2z +y1a2vat +y1a2zon +y1a2zr +y12b +y1br +y2ga +y2g +y2g +y2gi +y2go +y2gu +y2g +y2gy +y2jal +y2j1e +y2j1 +y2j +yka2 +y2k1an +y2k1 +y2k1e +y2k +ylas3s +y2ll +y1ldo +y2l1e +y1llam +y1llat +y1lls +y1ll +y1llo +y1ll +y1llv +y2l +yma2 +y2m1al +y2m1an +y2m1ap +y2m1as +ymi2 +y2m1in +y2m +y2n1e +y2nk +yn3n +y2n +ynt2 +yn1tr +y2n +y1ny2 +y12po +y2r1a2l +y12raml +y12ramo +yra2n +yr1any +y2rap +y2rar +y2r1ass +y2r1av +y2raz +y1raz +yr1azo +y2r1l +y1rbev +yr1d2 +y2r1e2 +y1rem +y2rj +y12ri +y2rim +y2r1is +y1rnya +yr2 +y2rr +y2r +y2r +y1rp +yr2s +y2rt. +y1rtm +yr1tr +y12ruh +y1rur +y2r2 +y1r. +y2r +y1rva +y1rver +y2sal +y2sas +y2s12g +y2s12r +y2s1rt +y12ss +y2se +ysk2 +y12s +y2s +y2szab +y2szag +y2szal +y2szas +y2sz1l +y2sze +ysz1el +ysz1em +ys3zen +y2szt +y2szv +y2szim +y2szin +y2szis +y2szit +ysz12d +ysz12r +y2sz12 +y2sz +y2sz12 +y12ta +yt1a2l +y12t +y1tb +y12t1e2 +y12t +y1tf +y1th +y12t1i2 +y1tk +y1tlag +y1tl +y1tl +y1tm +y1tn +y12t1 +y1tp +y1tr +y1ts +y1tt +y12t +y1tv +ybe2 +yb2la +yb2le +yb2l +yb2li +yb2lo +yb2l +yb2ra +yb2ri +yb2ro +yb2r +ycsa2p12g +ycs2 +yc2vi +yd2be +y2desd +yd2ni +y1d2ra +y1d2r +yd2ro +yd2r +y1d2ru +yea2v +ye2r +ye1bl +y1ecset +ye2d1 +ye2deg +ye2d1esz +ye2dol +ye2d12 +ye2d1u2 +ye2d1 +ye2d12l +yed2vr +yee2s +y1eff +yega2 +ye2g1ala +ye2gan +ye2g1az +ye2g12 +ye2g1el +yeg1e2red +ye2g1l +yeg1rbe +y1egrr +yegsz1 +yeg1szn +yeg3g2 +ye2gid +ye2g +ye2g +ye2g1g +ye2gyed +y1e2gyen +y1e2gyes +ye2gyet +ye2gyez +y1e2gy +y1egyh +y1egyl +y1egys +y1egy +y1egyv +yei2g +y1ejt +y1e2ke. +y1e2kei +y1e2kek +y1e2k +ye2kj +y1e2ks. +y1e2kse +ye1k2r +y1elad +y1e2lg +ye2ll +y1elc +y1e2lef +ye2lege +ye2l1e2h +ye2lemek +y1e2lemez +y1e2lem +y1e2l1e2re +ye2lgt +ye2l12k +ye2l1r. +yels3s +yel2s3z +y1elhal +y1elhel +y1elh +y1e2l1in +ye2liv +y1e2l12 +y1elj +y1elka +y1elnev +y1eln +y1elny +ye2los +y1e2l +y1e2lad +y1e2l +ye2ltt +y1e2lz +y1elsa +y1els +y1eltr +y1elto +y1elt +yel2vad +yel2v1ll +yel2vs +yel2v1eg +yel2v1e2r +yel2vessz +yelve2sz +yelv1esze +y1elvev +yel2vd +yel2v1g +yel2vl +yel2v1rz +yel2v1 +yel2vol +ye2mak +ye2m1a2l +ye2map +yema2r +ye2m1at +ye2ml +y1ember +y1e2mel +y1emelk +ye2m1er +y1e2ms +yemi2 +yem1ing +ye2m1is +ye2mit +yem1ita +ye2miz +y1emlk +y1eml +y1eml +yem1ost +ye2m1 +yem1p2 +yemu2s +yem1usz +ye2n12 +yen2csa +yen2c3ser +ye2n1elj +ye2n1eln +ye2n1elv +y1e2ner +yenes3s +ye2n12l +yenf2l12v +ye2nid +ye2n1i2p +yen1k2 +ye2n1o +ye2n1g +yeny2 +y1enz +ye2pag +yep1alo +ye2p1ar +ye2p1ll +ye2pt +ye2p1e2l +ye2p12k +y1e2pik +y1epiz +ye2pos +yep2p1e2r +ye1pro +yep1t2 +y1erde +yere2ga +yere2gete +yereg1g +y1e2rej +yere2k1a +yere2k +yere2k1e2sz +yere2ko +yere2k12 +y1e2rny +y1erk +y1erk +y1erny +y1e2ro +ye2rr +ye2rig +ye2rn +ye2rr +ye2rs +ye2rss +ye2rv +yer2s1a +y1ersz +ye2s +yes1eg +yes1egy +ye2s1ej +yes1e2kt +y1esemn +ye2s1er +y1e2setb +y1e2set +y1e2seti +y1e2setk +y1e2setr +y1e2set +y1esl +ye2sip +ye2s12r +y1es +ye2sbe +y1e2sh +ye2sje +ye2sk. +ye2skh +ye2skr +y1e2sn +y1e2sr +y1e2ss +ye2sv +ye1s2pe +yes2t1a2 +y1ests +y1estv +y1estj +yes2tr +y1est +y1eszk +y1eszm +y1esztt +y1e2sz +y1e2tal +yeteg1r. +y1e2tet +ye2t1rt +y1e2tik +y1etn +y1e2td +ye2vet +ye2vez +y1e2v +y1e2vol +y1e2v +y1e2zer +yeze2t1k +yeza2 +y2b1 +y2b1r. +y2b1i2 +y2b +y2des +y1gb +y12ge +y12g +y12gi +y12g +y1gt +y12he. +y12hen +y12hes +y12het +y1hs +y1j. +y1jb +y2jei +y2jen +y2jrt +y12ji +y1jj +y1js +y1jt +y2kab +y2kad +y2k1aka +y2k1a2l +y12kat +y2k1el +y2ker +y2k12k +y2k12l +y2k1r. +y2kik +y2k12 +y2k1 +y2k +y2kr +y2l1 +y2le. +y2les +y12let +y12ln +y2lt +y2lim +yl3l +y2ls +y1lsp +y12l +yn2 +y2n1r +yn1e2ke. +y2nel +y2n1ikr +y2no +y2p +y2p +yra2 +y2r1aj +y2r1ak +y2ral +y2r1an +y2rar +y2r12 +y1rch +yr1d2 +y1rdek +y2reg +y2r1e2l +y2rem +y1rem. +yr1eme +y2r1enc +yr1es +y12ret +y2rev +y12rez +y12rs +y2ril +y12rin +y1rm +y2r1osz +yr2 +y2r1r +y12r. +y12ri +y12rk +y12rt +y1rpa +y1rtk +yru2 +y2rut +y1rv. +y1rvn +y1rvv +y1rzet +y1rz +y1rz +y2sz1 +y2sz1emb +y2sz1o +y2sz1 +y2t1a +y12tel +y12ter +y2tn +y1tke +y1tl +y1v. +y1vad +y1vb +y12ve. +y12vek +y12vem +y12ven +y12ves +y12vet +y1vez +y12vb +y12vn +y12vr +y12vt +y12vv +y1vf +y1vh +y12vi +y1vk +y1vm +y1vn +y1vr +y1vs +y1vt +y12v +y12v +y1vv +yfas2 +yf2l +yf1gl +yf2la +yf2le +yf2li +yf2lo +yf2l +y2fl. +yf12s +y1f2ra +yf2ri +yf2r +y1f2ro +yf2r +yg2le +yg2l +yg1g2 +ygt2 +yg2ra +yg2r +yg2ri +yg2r +yg2ru +yg2r +y2h1a2d +yha1p2 +yha1t2r +yh2zal +y2h1elv +y1i2bo +y1i2de +y1i2deg +y1i2den +y1i2deo +y1i2d +y1i2dom +y1i2d +y1i2ga +y1i2g +y1i2gz +y1igm +y1i2har +yi2hat +y1ihl +y1i2ker +yi2k1rn +yi2kont +yi1k2ri +y1i2ma. +y1i2m +y1i2mit +y1imp +y1i2nas +y1inc +y1ind +y1inf +y1inga +yi2nic +y1inj +y1ins +y1inv +yi2ono +yi2par +y1i2ram +y1i2rat. +y1i2rata +yira2t1 +y1i2ratn +y1i2rato +yi2ratt +y1i2r +y1i2ri +y1i2rod +y1irr +y1irt +y1ish +y1isko +y1ism +y1isp +y1ist +y1i2sza +yi2szel +yi2szon +y1i2tal +y1i2tat +y1i2var +y1i2vs +y1i2v +y1i2z +y1izg +y1izm +yi2zom +y2g +y2ja +y2j +y2ju +y2ka +y2k +y2ke +y2k +y2kol +y2k1 +y2la +y2l1e2 +y2l +y2l +y2ral +y2rb +yr12sz +y2rog +y2r +yta2 +y2v +y2ve +y2v +y2v +y2v +y2v +y2z +y2z +yje2gy12 +y2jv +yjob2b1o +ykai2 +yka1k2 +yka2r2ra +yk2b +y2k1e2lem +yk12jv +yk2p1el +yk2ho +yki2 +ykie2 +yk1izm +yk2ka +yk2la +yk2le +yk2li +yk2l +yk2l +yk2lu +yk2n +ykro2 +yk2ra +y1k2r +y1k2ri +yk2r +yk2ro +yk2r +yk2v +ylal2ta +yla2t1a2n +yla2t12t +ylei2 +yle2 +yle2tal +yle2t +yl2 +ylt2 +yma1d2 +y2mat. +ym2s1ik +yme2g1 +ym2ma +yn2vr +yn2ka +ynk2r +yn2n +yn2i +yo2be +y1obj +y1o2d +yo2gal +yo2gl +yo2g1r +yo2ge +yog3g +yogi2 +yo2git +yo2g1iv +yo2g +yo2g1osz +yo2g +yo2g +yo2g +yoka2 +y1o2k1al +y1o2k +y1o2k1ir +y1okm +y1o2kol +y1o2kos +y1o2koz +y1okta +yo2l1a2l +yola2n +yol1any +yo2l1ri +yol2cem +yolci2 +yol2cik +y1old +y1old +y1o2lim +y1olts +yol2ter +yo2l +yo2l +yolv2 +yo2m1a2l +yoma2n +yo2m1any +yoma2s +yo2m1asz +yo2maz +yo2m1l +yo2m1rk +yo2m12to +yo2m12z +yo2m1e +yo2m1ik +yo2mil +yo2m1is +yo2m +yo2m1ol +yo2m +yo2m +yom1p2 +yo2n1a2d +yo2nag +yo2naj +yon1a2ka +yo2n1a2l +yo2n1am +yo2n1a2n +yo2nap +yo2n1a2r +yo2n1a2s +yo2n1a2t +yo2n1au +yo2n1l +yo2n1t1a2 +yo2n1t +yo2n1tj +yon1tk +yo2n1tr +yo2n1ts +yo2n1tv +yo2n12z +yon1d2 +yo2n1e2 +yo2nd +yo2nh +yo2nk +yo2nn +yon1f2 +yo2nim +yo2n1is +yon1itt +yo2niz +yo2n +yon1k2 +yon3n +yo2n1ol +yo2nop +yo2n1osz +yo2n +yo2n12 +yon1s2 +yont2 +yon1tr +yo2n1 +y1o2pe +y1opt +yo2rad +yo2r1a2k +yo2r1a2p +y1ord +y1orgi +y1orr +yor2sol +y1ors +yors3s +yo2se +yos3s +y1osto +y1oszl +yos3zs +y1oszt +yo2ut +yo2ve +yo2xi +y2g +y2r +ycsa2p12 +y2dk +y12dr +y12dsak +y1f2l +y1g2r +y2gyr +y2gyi +y2gy +y2v +yo2k +y2r +y1p2r +y12rac +y12rad +y2rag +y2rai +y12ras +y12rb +y12rd +y12r +y12rh +y12ri +y12rj +y12rk +y12rm +y12rr +y12rs +y12rt +y12rv +y12ri +y2s1aj +yscsa2 +y2sr +y2s1ol +y2s1orr +ys1ors +ys3s +ys2l +y2s12 +y2b +y2b +y2cs +y2dm +y2ka +y2k +y2kel +y2k1k +y2kid +y2k +y2ko +yk1os +y2k +y2kr +y2k1ss +y2ku +y2lk +y1lts +y1ml +y12n +yn2gya +yn2gy +yn2gy +yn2gy1l +y1nk +y1nt +y1nz +y2ra +y1rd +y2rit +y2ro +y2ru +y2so +y1ssz +y1sv +y1szt +y1tl +y12td. +y12tde +y12td +y1tp +y1tt +y1tv +y2ve +y2v +y2vi +y12v +y12zn +ya2n +y1bl +ye2l +ye2r +y1fr +y1pr +y2ra +y12rei +y1rg +y1rl +y1rp +y1rs +yrsze2 +y12rl +y1rz +y2seg +y1str +ysz2 +y2s3zr. +ys3zs +y1szt +yzksz1 +ypen1n +ype2te +yp2la +yp2le +yp2l +yp2lu +ypont2 +yp2ra +yp2re +yp2r +yp2ri +yp2r +yp2ro +yp2r +y2pr +yp2ru +yp2sz +yrdi2n +yrgs1 +yrea2 +yren2d12 +yreu2 +ysa2van +ysg1g +ys2ch +ys2g1e2l +ys2gs +ys2ho +ys2ka +ys2k +ys2ki +ys2la +ys2l +ys2le +ys2lu +ys2mi +ys2na +ys2ni +ys2pe +ys2pi +ys2po +ys2p +ysp2r +ys2ra +ys2r +ys2r +ys2sa +ys2s +ys2se +y1s2t +y1s2to +y1s2t +y1st2r +y1s2tu +y1s2t +ys2t +ysza2k1 +y2szal +y2szld +yszraz1 +ysze2ra +yszer2v12 +y1sz2f +y1sz2k +y1sz2l +y1sz2m +ysz2g1el +y1sz2p +y1sz2t +y1sz2v +yta2c +yt1ac +yta2n1 +yta2n12 +yt2l12 +y2t1ll +y2t1ll +yt2raf +yt2ran +yt2rap +y1t2r +y1t2re +y1t2r +y1t2ri +y1t2ro +yt2rn +yt2r +y1udv +yu2g1 +yu2ge +y1ugr +yu2gy +yu2hu +y1ujj +yuj2j1a2da +yu2kab +yu2kar +yu2k1asz +yu2k1c +yu2kl +yuk2s +yuk1s +yu2k1e +yu2k1 +yu2k +yuk1t2 +yu2k +y1und +y1u2ni +y1u2no +yu2rad +yu2rai +yu2rak +yu2ral +yu2ram +yu2ras +yu2rat +y1u2rn +y1u2rv +y1urn +y1u2ru +yu2sl +yus3s +yu2sz +y1u2szo +yu2tak +yu2tal +yu2tam +yu2tat +yu2taz +yu2tl +y1utc +yu2td +y1u2tu +y1u2t +y1bl +y1br +y1gr +y1jd +y12j +y12j +y1jr +y1js +y2kel +y2k1es +y2ket +y2kev +y2k +y2kl +y2l1ag +y2laj +y2lar +y2l12r +y2lt +y2l1eg +y2l1el +y2l1e2t +y2lin +y2l1is +yl2tag +y2l +y2l +y1pl +y1p2r +y1rb +y12r. +y1rl +y12rv +y1rho +y12ri +y1rk +y1rn +y1rr +y1rt +y1sta +y2s +y1szt +y1tb +y2t. +y1th +yti2 +y2ti. +y2tig +y1tj +y1tk +y1tm +y1tn +y12ton +y1tp +y1tr +y1ts +y1tt +y1tv +y2d +y12gy +y2kt +y2l +y2led +y1ltet +y1nn +y2r +y12r +y12te +y12t +y1tk +y12t +y12veg +y2vl +y12ze +y12z +y1zl +y1bl +y2n +y2g1 +y1kl +y1pl +y1rb +y12r. +y2rb +y2rn +y2rn +y1rr +y2s +y2s1orra. +ys1s +y12zb +y12zen +y12z +y12zh +y12zk +y12zn +y12zr +y12zt +y12zv +y2v1abr +y2v1a2d +yva2d3z +yvai2 +y2v1akc +y2v1alb +y2v1alk +y2v1ank +y2v1ant +yv1a2nya +y2v1apo +y2v1arz +yva2s1u2 +y2v1atk +y2v1au +y2v1azo +yv1br +yv1llo +yv1llv +yv12rai +yv12rn +y2v1re +y2v1rj +y2v1rl +yvrosi2b +yv1rre +y2v12ru +y2v1rv +y2v1ta +y2v1ti +y2v1tt +yv1br +yv1dr +yv1e2gye +yv1egys +yv1e2kb +yv1ela +y2v1e2l +y2v1ell +y2v1elo +y2v1elti +y2v1ember +yven3n +y2v1e2p +yve2r1a +yve2r12 +yve2reg +yve2r1sz +yve2rip +yve2r1o +yvert2 +y2v1essz +y2v1eva +y2v1e2v +yv1e2v. +y2v1ex +yvez2rel +yv2du +yv1k +yv12let +y2v1lm +y2v1lt +y2v1p +y2v1rd +y2v12ri +y2v1rr +y2v1rt +y2v12r +y2v1rze +y2v12ve. +yv1fr +yv1gr +yvigaz1 +y2v1ig +y2v1i2k +y2v1ille +y2v1im +yv1ind +y2vint +y2v1i2p +y2v1ism +y2v1ist +y2v1g +y2v1n +yv2zis +yv2z +yv1kl +yv1kr +y2v1old +y2v1olv +y2v1or +y2v1os +yv12r +yv1ss +y2v12z +yv1r +yv1pr +yv1sk +yv1sl +yv1st +yv1sz2 +yv1tr +y2v1ub +y2v1ud +y2v1ur +y2v1u2t +yv1j +yv1t +y2v1g +y2v12z +yza2t1a2l +yza2t1e +yza2t1rd +yz2r12ra +yzs3s +yze2t1a2 +yze2t1 +yze2t1r. +yze2t12r. +yze2ts +yze2tte +yze2t1o +yze2t1l +yz2k1e2l +yza2 +yz2r +2z. +1za +3zaba. +zab2b1i2ko +za2b1i2ga +za1bre +za1bri +z1abro +2zabs +za2ce +za2c1g +za2cho +zac1ikr +za2c1im +za2cipa +za2c1iv +za2c +zac1k2 +zac3st +za2dad +2zadag +zad1alj +za2dan +za2data +2z1a2dato +z1a2datr +zads1s +zadi2a +za2d1r +za2dme +za2dz +za1d2r +za2d1ut +za2dz +za1fl +za1f2r +za2g1a2d +za2gak +za2ga2n +zag1any +za2gara +za2g1a2t +za2gau +za2gg +za2g1l +zag1rn +zag1rt +za2g1z +za2gel +za2gs +z1aggy +2zagi +za2gin +z1a2git +za2g1osz +zagren2 +za2g1 +z1agy. +z1a2gyak +z1a2gyar +z1agyb +za2ij +zai2z +3zaj. +3zaja. +za2j1a2d +za2jan +za2j1tv +3zajv +za2jes +3zajf +za2jin +3zajj +zajk2rok +3zajol +za2j1or +2zajta +2zajt. +z1ajtk +2zajtt +zaj1tr +3zaj +za2j12 +2zakad +za2k1a2dat. +zakai2ko +za2k1aka +zak1alk +za2k1alv +za2kana +za2k1ant +za2kara +z1akarat +z1a2kars +z1a2kar +z1akarv +za2k1atl +za2k12p +za2k1ta +za2k1tl +2zakc +z1akci +za2k1e2g +za2k1ele +za2kelm +za2k1eln +za2k1el +za2ket +za2k12l +za2k1int +za2k1i2p +zak1iro +za2k1r +zak1k2 +za1klu +2z1aknk +zak1oszt +za2k1o2v +za2ks +za1kr +2zakt +2zakti +z1aktv +2zakt +zaku1p2 +zaku2r +zak1ura +za2k1ur +zak2 +za1kv +zal1ac +zala2g +zalag1g +2zalak +za2lakj +za2laku +zala2n +zal1any +z1a2lapb +za2lapj +zal1tk +zale2l +zal1ele +zal1ell +zal1el +za2l1e2m +z1alg +z1alge +za2lid +z1alkal +z1alkat +z1alkot +2zalms +za2ll +zalta2n +zal2tel +zal2tem +z1alti +za2m1a2d +za2m1aj +zam1ala +za2m1a2p +zama2t12 +za2maz +2z1ambu +za2mem +zam1ing +za2m1is +za2m +za2m1osz +za2m +z1a2nal +z1a2nek +2zang +z1angy +2z1ankt +zan2tes +z1antil +za2nya. +z1a2nyag +z1a2ny +zao2k +zao2s +za2h +za2v +z1a2pa. +za2pad +za2p1a2g +z1a2pai +za2p1g +z1a2pn +za2p1ra +z1a2pt +z1a2pv +zape2l +zap1ele +za2pem +za2pes +za2p +za1p2ln +z1a2p. +z1a2p +z1a2pk +2zap1p2 +zappa2ne +zap3rof +zap1s2 +za2r1a2d +za2ran +zar1a2nya +zar1apa +za2rar +z1a2ri +za2r1l +z1a2rny +z1a2rr +2zarc +z1arc. +z1arca +z1arc +z1arch +z1arci +z1arck +z1arco +z1arc +zare2t +za2r1ete +za2rev +za2rna +za2rn +2zarm +za2r1n +za2r1 +zar2vg +2zarz +za2sem +za1s2k +za1s2ko +za1s2li +za1s2p +za1spr +za2t1ab +za2t1a2d +za2t1aj +zat1alap +zat1alj +zat1ana +za2t1a2ny +zat1ar +zat1att +za2tau +za2taz +za2t1ll +zat1lo +zat2p +zat1po +za2t1rad +za2t1r +za2t12ru +za2t1el +zat1elk +za2t1e2r +za2t1erk +za2t12g +za2tl +zat1i2ko +za2tim +za2t1ind +za2t1ing +za2tins +za2t1int +za2t1ist +za2tiz +zat1k2 +2z1atka. +z1atlas +zatmo1s +zatmosz2 +za2t1okos +zat1olda +2zatomj +zat1oml +za2t1osz +za2tk +za2t1n +zat2rok +za1trom +zatt2 +zat1tr +za2tura +za2tl +za2tr +2zaty +za2tya +za2ty +za2ula +za2ul +za2ur +zau2tak +z1a2uto +z1aut +za2t +za2z +za3var +3zavarb +2zavat +z1az. +z1azh +z1a2zo +1z +2z1br +z2de +zg1a2d +z2gak. +z2gako +z2g1al +z12gas +z12gat +z2gaz +zg1azo +z2g1l +z2g12rak +z2g1ru +z2g1e +z2gp +z2golta +z12gi +z2g1t. +z2g +z1gy. +z12gya +zgy1a2da +z1gyb +z1gyh +z1gyn +z1gyr +z12gyu +z2r +z2j1k +z2j +z2j1ol +z2j1s +z2j +z2j +z2j +z2kin +z2k12v +zla2n +z2l1any +zl1apr +z1lar +zl1assz +z1lca +z1lc +z1ld +z2l1e2g +z2l1e2l +z2l1em +z2lib +z2lid +zl1ing +z2lir +z1llam +z1llap +z1lma +z1lm +z1lmo +z2lob +zlo2d +z2l1oda +z2los +z2l +z2ly1a2l +z2mac +z2m1a2d +z2m1aj +z2m1a2l +zm1any +z2m1a2p +zma2r +zm1ar +z2maz +z2m1tl +z2m12to +z2ml +z2m12r +z2m1ik +z2mip +z2mir +zm1orm +zm1ors +z2m +z2m +z2m +z2m1ut +z2m +z2m +z2naj +z2n1as +z2n1at +z2n1t +z2nem +z2nis +z2n1it +zn3n +z2n1osz +zn1sp +z2n +zny2 +z2p1ad +z2p1ag +z2p1orz +z1p2r +z12radd +z2r1a2dot +z2r1a2l +z12ramk +z12raml +zra2n +z2r1any +z2r1ap +z2rar +z2r1ati +z2r1a2to +z2r1att +z2r1av +z2r1l +3zrs. +3zrsa +3zrsb +3zrsi +zrs1s +z2r12sz +z1rbev +3zrd +zr2dem +zr2d3z +2z2r1em +z2rb +2zrf +2z12ri +z2rid +z2r1i2k +z2rim +z2r1is +z2r1iz +zr1k2 +3zrkk +2zrk +3zrlat +2zrn +2zrny +zr2nyl +z2r1osz +3zr. +3zra +z2r1bo +3zrd +zr1v +z2r12r +z2r +2zrr +zrs2 +zr1sk +zrt1any +zr2t1es +zrt2r +zr1tro +z2rug +z12ruh +z1ruj +2zrunkn +2zrunkr +z2r +z1rvah +z2s1a2d +z2saj +z2sal +z2s1a2r +z2s1at +z2saz +z2s12g +z2s1rad +z2s12r +z2s12r +z2s1rh +z2s1rn +z2s1rt +z12ss +z2sep +zs1ikon +z2sis +z2s1 +z2s1ol +z12s. +zs12r +z1sv +z2sut +z2s +z2s3zav +3zszl +zsz3se +z1tad +zt1a2d. +zt1a2dk +zt2r +2ztb +2z1tc +z1td +zt1e2m +z2tl +2z1tf +2zth +z1tha +z1the +z1t2hi +z12t1i2 +2z1tj +2z1tm +z1tra +z1tro +2zts +2z1tv +z2z1ala +zza2t +z2z1ato +z2z1e2 +z2zv +z2z1ol +z2zos +zz2 +z2zr +z2z +z2zsaj +z2zsas +zz4s +z2zsl +z2zsol +zba2ki +zbe2 +zb2le +zb2lo +zb2l +zb2ri +zb2r +zb2r +zc2lu +zcsa2p12g +zda1p2 +zdas2 +z2d1ass +zd1ll +zds1s +zd1s2p +zd2ri +zd1u2r +1ze +zea2d +zea2g +zea2k +zea2l +zea2s +zen2sze +ze2r +ze2z +2z1eb. +2zebe +ze2be. +ze2bei +ze2bek +z1e2bd +z1ebf +z1ebh +z1ebk +2z1ebn +ze1bru +2zece +z1e2cet +z1e2ch +z1e2cset +ze2d1l. +ze2d1lj +ze2d1ln +ze2d1lt +ze2d1lv +zede2r1e +ze2dil +ze2d12 +2z1e2dz +zee2s +z1eff +ze1fr +ze2g1a2l +ze2gap +ze2gar +ze2g1l +ze2g1r +ze2g1eg +zeg1ell +ze2gep +zeget2t1eb +zeg1rr +zeg2sz +zeg1szb +zeg1sz +ze2gid +ze2gil +ze2gol +ze2g +ze2gyed +ze2gy1e2l +ze2gyene +ze2gyez +z1egyl +z1egys +ze2het +ze2ia +zei2g +zei2s +ze2r +zekci2sz +zek1e2gy +ze2k1ell +z1e2kit +2zekk +ze2kil +ze1k2lap +ze2k1ott +zek1vek +ze2k +ze1k2re +zek1t2 +ze2k12l +z1ekviv +ze2lag +ze2lar +ze2ll +z1elbo +2zeledel +z1e2lef +ze2leji +2zelekt +ze2leme. +ze2lemek +zelem1el +zele2m1r. +ze2lem +zele2p +zele2p1el +zele2po +zele2p12l +z1e2l1e2re +ze2l1esz +zele2t +zele2ter +2z1e2lg +2z1elr +zel1rh +zels1s +z1elh +2z1elhel +2z1elher +ze2litet +z1elk +2z1ellto +2zellen +z1ellene +2z1elnev +z1eln +ze2lof +z1e2los +z1e2l2l +z1eln +2z1e2lha +zel2saj +z1e2lz +z1els +z1elt +2z1eltr +2z1elto +2z1elt +z1e2lu +2z1e2l +z1elv. +z1elvek +z1elves +2z1elvev +z1elvez +z1elvn +z1elvt +2z1elv +z1elz +2zema +ze2mak +ze2m1g +ze2m1r +ze2mt +2zember +z1ember. +z1emberb +z1ember +z1emberh +z1emberk +z1embern +z1emberr +z1embert +z1embl +2zeme. +ze2m1eg +2zemei +2zemek +ze2m1ell +ze2m1eng +2zemb +2zemh +ze2m1k +ze2m1le +ze2m12l +ze2m12l +ze2m1lt +ze2m1lv +ze2m12rt +2zems +zem2te +ze2m1ten +ze2m1tet +ze2m1tj +2zemv +ze2migr +ze2m1ing +ze2m1int +ze2mis +ze2m1iz +ze2m1 +2zemk +2zeml +2zemm +ze2mol +ze2m1osz +ze2m12 +ze2m1 +2zems +z1emul +zem1ur +ze2m +2zem +2zemv +zemvz1 +3zeneir +3zeneka +zenesz2 +3zen +3zeni +3zenj +ze2np +zenk2 +zenkt1 +ze2n1o +zen2tag +zen2tal +zen2t1an +zen2t1as +zente2g +zen2t1egy +zen2telm +zen2t1ere +zen2tev +zen2t12j +zen2t1imr +zen2tip +zen2tis +zen2t +zen2tol +zen2t12 +zen2t1 +zent2s +zen2t1se +2zenz +zeo2k +zeo2m +ze2r +2zepb +2zepi +2zepn +2zepit +2z1epj +2z1e2pm +2z1e2ps +z1epiz +ze1pla +ze1ple +2zepr +ze1p2ri +ze1pr +ze2r1a2d +ze2raj +ze2r1ajt +ze2rakr +ze2r1al +ze2ram +ze2r1a2n +ze2r1a2r +ze2r1as +ze2r1a2t +ze2r1au +ze2raz +ze2r1ga +ze2r12r +ze2rs +ze2r12t +zer2bin +zer1d2 +z1erd +ze2r1eb +ze2r1e2ce +ze2red +ze2rege +zer1e2ge. +ze2r1e2g +ze2r1egg +ze2r1egy +z1e2reje +zer1ejt +z1e2rej +z1e2rej +ze2r1e2ke. +z1e2rekl +ze2reldj +ze2r1ember +ze2r1emi +ze2r1eng +zere2p1a +ze2r1e2r +ze2r1e2ss +ze2r1essz +ze2r1este +zer1e2sze. +zer1eszk +ze2reszt +ze2r1eu +ze2r1e2v +ze2rg +ze2r12j +ze2r1k +ze2r12l +ze2r1p +zer1g2 +ze2r1i2d +ze2r1iga +ze2r1iko +ze2r1ill +ze2r1i2m +ze2r1ina +ze2rind +ze2r1inf +ze2r1ing +ze2r1inj +ze2r1ink +ze2r1intel +ze2r1int +zer1int +ze2rio +ze2rism +ze2riz +ze2r12j +zer1k2 +zer2nal +ze2r1okt +ze2r1old +ze2rolv +ze2ror +ze2r1ost +ze2r1osz +ze2roti +ze2r12r +ze2rk +2ze2r +z1er. +z1erf +z1eri +z1erk +z1erl +z1ern +z1ers +z1ert +z1erv +zer1z +zer1p2 +zer1s +zers2k +zers2p +zers2t +zert12lom +zer2tit +zer2tr +zer1tra +zer1tren +ze2r1un +ze2rur +ze2rus +ze2r1u2t +ze2r1t +ze2r12g +2zer +zer2v1a2d +zer2van +zer2vel +zer2vl +2z1e2sedk +ze2s1e2kh +z1e2setb +z1e2sete. +z1esetes +z1e2setet +z1e2set +z1e2seti +z1e2setr +2z1e2ss. +2z1e2ssb +2z1essd +2z1e2sse. +2z1e2ssei +2z1e2ssek +2z1e2ssem +2z1e2ssen +2z1e2sses +2z1e2ss +2z1e2ssh +2z1e2ssi +2z1e2ssk +2z1e2ssn +2z1e2ssr +2z1e2sss +2z1e2sst +ze2s1it +ze1s2mi +2z1e2s +zesp2 +ze1s2pe +ze1spr +2zeste +z1estek +z1estem +2z1est +z1esti. +ze1s2til +2z1estj +ze1sto +z1estre +z1estt +ze2s12v +ze2szg +zesz1e2get +ze2szelle +ze2szeng +ze2szh +ze2sz12le +ze2sz1im +ze2szip +2zeszk +z1eszk +ze2szol +zeszt2 +zesz1tr +ze2t1ab +ze2tac +ze2t1ala +ze2t1a2ny +ze2tj +ze2t12l +ze2t12p +ze2t1t +zet1eg +zet1el +ze2t1ell +ze2telm +ze2t1e2l +ze2t1e2ld +ze2t1elr +zet1emel +ze2t1eml +ze2tene +zet1erk +zet1e2r +zete2s1g +zetest2 +zetes1tr +z1e2tet +ze2t1eti +ze2tetn +ze2t1d +ze2t12j +ze2t12l +ze2trte +ze2t1rt +zet1rt +ze2t12r +zet2sz +zet1sze +zet1ter +ze2tid +z1e2tika +ze2t1i2ko +zet1ill +ze2t1ing +ze2tt +zetksz1e +ze2tom +zet1ont +ze2top +ze2t12r +ze2t12v +zet1ri +zet1r +zet1rt +ze2tut +ze2tr +ze2t12z +ze2ty +zeu2g +z1e2ur +ze2t +z1e2v +ze2x1id +ze2xim +ze2x1i2p +z1expe +zex2t1 +ze2x +z1e2zer +z1ezr +1z +z12ber +2z1br +z2dak +z2d1a2l +z2d1a2r +z2d1as +z2dat +z2d12 +z2d1ekt +z2d1e2lem +z2delm +zde2r1 +zd1esem +z2d1esz +z2d1eti +z2d1s +z2dik +z2d +z2d1 +zdren2 +zdu2 +z2dur +z2d +z2d3z +z2f +z1g. +z1gb +z12ge +z2g +z12gi +z1gn +z12g +z1gr +z1gt +z12he. +z12hen +2z12hes +z12het +2z1hs +2zid +z1j. +z2jen +z12ji +zjje2l1e2 +z1js +2z1jl +2z12jn +z2k1a2d +z2k1a2l +z2k1a2n +z2k1ap +z2k1as +z2ks +z2k1eg +z2k1e2kt +z2k1elr +z2ker +z12kez +z2k1k +z2k12l +z2k1s +zk1old +zk1osz +z2k12 +z2kr +z2kr +zk2l +z2k1l +z2k1l +zla2 +z2lab +z2lad +z2lak +z2l1an +z2las +z2l12 +2z2le2l +zl1ele +zl1ell +zl1el +zl1elt +z2l1e2r +2zlet. +2z12letb +2z12lete. +2z12leten +2z12let +z2letf +2z12leth +2z12leti +2z12letn +2z12letp +2z12letr +2z12lets +2z12lett +2z12let +2z12let +2zl +z2l1kh +z2lim +z2l1ist +z2l +2zlm +z2l1o +z2l12 +2zls +2zlt +z2l1u2 +z2l +z2lya +z2ly +z2ly1esh +z2lyo +2zme +z2n1rn +zndio2 +z2neg +2z12nekb +2z12neke +z12nek +z2nekk +2znekl +z12nekn +z2nekr +z2nek +z2n1e2l +z2n1e2r +zni2 +z2nik +z2nil +z2nim +z2n1io +z2n1is +z2n +z2nom +z2n +z2n +znt2 +z2n12l +z2p1a2g +z2p1a2l +z2p1any +z2p1a2p +z2p1a2r +z2pas +z2pat +z2pau +z2pav +z2p12r +z2pt +z2peg +zp1ell +z2pez +zp1f2 +z2pin +z2p1i2p +z2pir +z2p1i2s +2zpt +zpo2 +z2pol +z2pos +z2p +z2p +zp1s +z2pud +z2p1us +z2p +2zpl +z2rab +z2rag +z2r1a2l +z12ram +z2r1a2n +z2rap +z2rar +z2r1as +z2rat +z2rav +z2r12 +zr1d2 +z2r1e2lem +z2r1e2lemk +z2r1e2lemn +z2remb +zr1eml +z2r1esz +2zrett +z2rev +z2rs. +z2rsb +z2rse +z2rsi +z2rsk +z2rsn +z2r1id +z2rim +z2ris +z2r1o2k +z2r1os +3zrs +z2r +2z12r. +z12ri +z12rk +z2rs +z12rt +zr1s +zr2taj +2zrtekez +2zrtelm +2z1rtetl +2z1rtet +2z1rtk +2z1rthet +z1rto +z2r +z2sab +z2san +z2sar +z2s1az +z2s12 +z2seg +z2s1e2l +z2s1e2r +z2s1eti +z2s1g +z2ss +z2s1i2k +z2sok +z2s +zs3s +z2s12t +z2s3za +z1szb +z12sz +z1szl +z2sz +zs3zs +z2t1a2b +z2t1ad +z2tag +z2t1aj +z2t1a2k +z2t1a2l +z2t1ap +z2t1a2s +z2t1au +z2t12 +zte2n +zte2se +zte2s +z2tg +z2t12n +z2t1i2 +2ztk +z2tol +z2t1o2m +z2tor +z2t1o2s +z2tun +z2t +z2t12 +z2t1 +2ztv +2z1v. +2z1vad +z1vb +2z12ve. +2z12vek +2z12ven +2z12ves +z12vn +z12vt +z12vv +z1vf +2zvi +z12vi. +z1vk +2z1vn +z1vr +z1vs +z1vt +z12v +2z1vv +zfa2l1a2da +zfa2l1aj +zfa2l1e2l +zfa2les +zfe2l1em +zfe2len +zfe2reg +zf2la +zf2le +zf2li +zf2lo +zf2l +zfora2 +zfo2rat +zfo2riz +zfldi2 +zf2ra +zf2r +zf2re +zf2ri +zf2r +zf2ro +zf2r +zgs3s +zg2s3z +zg2z +zg2p1e2kt +zg2sa +zg2s +zg2sem +zgs3s +zg2la +zg2l +zg1g2 +zg2ny +zg2z12 +zg2zr +zg2z1 +z1g2ra +z1g2rf. +z1g2rff +z1g2rfh +z1g2rfj +z1g2rfk +z1g2rfn +z1g2rfr +zg2r +z1g2ru +zhn2 +zh2t1a2d +zhzkz1 +1zi +zi2aa +zi2a +zi2abo +zi2ac +zi2ad +zi2ae +zi2a +zi2ag +zi2ah +zi2a +zi2aj +zi2akp +zi2ak +zi2al +zi2am +zi2ao +zi2a +zi2a1p2 +zi2ar +zi2asza +zi2aszo +zi2asz +zi2at +zi2au2 +zi2a +zi2a +zi2av +2z1ibr +2zicc +zi1ch +z1i2de +z1i2deg +z1i2deo +zi2dn +2z1i2d +zie2l +zie2m +zi2a +zi2 +zi2ke +zi2p +zi2ta +zi2t +zi2 +z1ifj +z2ig. +zi2ga. +2z1igazg +2z1i2gazo +z1i2gs +zi2gj +2z1i2gn +zi1g2r +2zigye +zi2k1a2n +zik1kek +zi2kik +zi2kim +zi2k1ing +zi1klu +zi2k1u2r +zikus1s +zi2ler +zi2l12j +zi2l1k +zi2l1ing +zi2l1 +z1i2ma. +zi2mak +zi2mb +zi2mj +zi2mk +zim1ll +zi2mr +zi2mt +zi2mz +zim1b +zi2m1e2g +zi2m1e2l +zi2m12r +zi2m1rt +zim1ind +zi2m1ip +z1i2mit +zi2m +zi2n1a2d +zi2n1a2l +zi2n1a2n +zi2n1a2r +2z1i2nas +zi2n1au +zi2ni +zi2n1ll +z1indu +zin1emb +zi2ng +zin2gas +zin2gl +zi2n1i2m +zi2n1in +zi2n +zin3n +zi2nol +zin1s2 +zin2t1a2d +zin2t1a2l +zin2t1a2s +zin2tt +zin2t12z +zinte2l +zin2t1ele +zin2tel +zin2telt +z1interj +z1interp +z1interv +zin2tom +zin2t1n +zi2n1u2t +zi2n +zi2ol +2z1i2ono +2z1i2ons +zi2ot +zi2a +zi2 +zi2c +zi2e +zi2g +zi2 +zi2kam +zi2kap +zi2k +zi2ke +zi21kl +zi2l +zi2m +zi2m +zi2n +zi2ny +zi2o +zi21p2 +zi2r +zi2s +zi2s +zi21s2k +zi21sp +zi2sz +zi2ta +zi2t +zi2 +zi2 +zi2 +zi2pai +zi2pari +zi2pj +zi1p2l +zi1p2r +z1i2rat +2zir +z1i2rn +z2i3re +2ziro +z1i2rod +zi2rn +z2i3r +2zirt +zir2t1a2 +z1irt +zir2to +z1irt +zi2sad +zi2sal +zi2sam +zi2sar +zi2s1a2s +zi2sl +zi2s1ro +zi2s1e2g +zi2s1e2l +zi2s1er +zise2s +zi2s1ese +zi2s1esz +zi2s1k +zi2srte +zis1vi +zi2s1il +zi2sin +zi2s1is +zi2sit +zi2s1o2v +zi2s12 +zi2s +zi2s +ziss2 +zis3sza +zis3sz +zis3szo +zist2 +zis1tra +zis1tre +zi2sut +zi2s12v +zi2s3zaj +zis3zav +zis3zn +zi2t1ll +zit1ru +zi2t1e2g +zi2t1elr +zit1eng +zi2tt +zi2til +zi2tin +zi2tip +zi2tir +zi2t1or +zit2 +zi2tr +zi2t1t +zi2r +z1i2vad +2z1i2v +2z1i2z +2zizm +z1izmo +z1i2zom +1z +z2g +z2jan +z2je +z2j +z2j +z2nac +z2nad +z2naku +z2nal +z2nan +z2nas +z2nat +z2n1ll +z2n1r +z2nt +z2n1e2r +z2nl +z2n +z1nna +zn3nye +zno2 +z2n1od +z2n1ok +z2nos +z2n12 +z2n +z2nu +z2n +z12ny +znyenc1 +z2r1a +2z12r +z2rog +2z12r +zta2 +zte2 +ztksz1 +z2vaj +zv1akt +z2val +z2var +z2ver +z2v1 +z2vul +z2v +z2ze +z2z +z2z +zje2gy12 +z2k1abl +z2k1alak +z2k1alj +z2k1alt +zka1p2l +z2k1a2rd +z2k1a2rj +z2k1a2rn +zkar2 +zka2rr +zka1s2k +z2k1llv +zk1bl +zk1dr +zk1egys +z2kenn +zk1eszk +z2k1et +z2k1r. +z2k1rt +z1k2h +zkia2 +zki2 +zkie2 +zki2g +z2k1ig +zki2s +zk2la +z1k2l +zk2ler +z1k2l +zk2l +z1k2lu +z2k1olda +zkon2t1r +z2k1ont +zko2r1os +z2k1oszl +z3koszt +z2kkor +zk1kort +zk2p +zk2z3s +zk2zele +zkz1ell +zk2z12l +zk2h +zk1pr +z1k2rak +zk2r +z1k2re +z1k2rm +z1k2rta +z1k2rt +zk2r +z1k2ro +z1k2rn +zkult3 +zkultr2 +z2k1u2rn +z2k1u2rt. +z2k1ut +z1k2val +zk2v +zky2b +zky2h +zky2j +zky2k +zky2n +zky2r +zky2t +zky2v +zla2tal +zlata2n +zlat1any +zl2m1e +zl2mis +zls3s +z2lv. +z2lve +z2lv +z2lvk +z2lvn +z2lvo +z2lvv +zleg1g +zlei2 +zle2 +z2leng. +zle2tak +zle2tal +zle2t1a2n +zle2tl +zle2t12r +zle2t1eg +zle2t1ell +zle2tesz +zle2tl +zle2t1r. +zlet1rv +zle2ts +zle2t12t +zle2t12ve. +zletigaz1 +zle2t1u +zle2tz +zl2s +zl2so +zls3s +zlina2 +zli2nan +zli2nin +z2loge +zlo2p1as +zlo2p +zl2 +zl2s1orr +zma1pr +zmas2 +zma1sp +zme2 +zme2ge +zme3gom +zmi2n1a2 +zmi2n1e +zmusksz1 +zmu2s +zmu2s3z +zmu2tok +zna2pes +znie2 +zni2 +z2nob +zn1str +znt2 +zn1tr +1zo +z1obj +z1o2d +zo2es +z1o2ka. +z1o2k1a2d +z1o2kai +zo2k1l +zoki2 +zo2k1ip +z1o2k1ir +z1okke +z1okle +2z1o2koz +2zokta +zo2lab +2z1o2laj +zolaj2 +zola2j1r +zola2je +zo2l1a2l +zo2l1as +zol1br +zo2l1ro +z1oldal +2z1oldh +2z1old +zo2l1e +zol1f2 +zol1inf +zo2l1is +zo2l1 +z1oll +zo2l +z1olts +z1olt. +zol1t2re +zo2l +2zolvad +zo2m1a2g +zo2mak +zo2m1a2l +zo2m1a2n +zo2map +zo2m1a2s +zom1ll +zo2m12r +zom1b2 +3zombor. +2zome +zo2meg +zo2m1el +zo2men +2zom +zo2ml +zom2t +zo2m1te +2zomf +2zomg +zomi2 +zo2min +zo2miz +zom2j +2zoml +zo2m1ors +zo2m1os +2zo2m +2zom1p2 +2zom1s +2zomz +zo2n1aj +zo2n1ak +zo2n1a2la +zo2n1al +zo2n1alk +zona2n +zo2n1any +zo2n1a2r +zon1asz +zo2n1au +zo2nld +zo2n1ll +zo2n1tl +zone2 +zo2neg +zo2nel +zo2n1er +zo2nes +zo2nv +zo2nin +zo2n1i2o +zo2n1or +zono2s +zo2n12 +zo2n +zon1s2 +zon2t1es +zon2tin +zon1tre +zo2n +zo2ny1ad +zo2ny1a2l +zo2ny1a2n +zo2nyar +zo2nyav +zo2nye +zo2nyid +zo2nyij +zo2ny +zo2ol +zo2om +z1opl +z1o2pe +zo1pho +zo2r1a2d +zo2raf +zo2r1ag +zo2r1aj +zo2r1a2l +zo2ran +zo2r1as +z1o2rat +zo2r1au +zo2r1e2 +zor1f2 +zo2rid +zo2r1il +zor1ing +z1orm +zo2r1ol +zo2rop +zo2rosz +zo2r12 +zo2r +z1orr. +z1orr +z1ors +zor1t2re +zo2r +2z1osko +z1ost +z1osto +zo1sz2f +z1oszl +zosz2tat +2zote +2zot +zot2pa +zo2vi +zo2xi +1z +za2d +z2g +z2r +z1bl +z1b2r +z1cl +z2d1e2l +z1fl +z1f2r +z1gl +zgy2k1r +zi2g +z2v +zja1 +z1k2l +z1kr +zkupac1 +2zl. +z1lm +z2lomb +3znd +3zni +z12ni +2z1nj +2z1nn +z12nod +2z1nt +z2r +z1p2l +z1p2r +z12rad +z12rar +z2rasz +z2ri +z12rj +z12rk +z12rr +zrs1s +z12rt +z12rv +z12ri +zs1k. +z2s1n. +z1s2k +z1sl +z1s2ta +z1st +zsz1akad +zsz1ll +z2szene +z2sz12le +z2sz1j +zsz12l. +zta2g1a2 +zt2g +zt1ge +z1tr +z12v +1z +z2b +z2bo +z2b +z1cc +z2d +z2d +z2ga +z2g +zg3g +z2gil +z2g +z2go +zg2 +z2g1l +z2gu +z2gy +2z1kl +2z12ko +2zkr +3zldes +3zlds +2zleb +z2les +2z1lniv +z1lyv +2z1ml +z12na +z12n +2znb +2zne +2zn +2zni +2znl +2znne +2zn +2znr +2znt +3zrej +zr2f1e +zr2f1o +zr2nya +zr2ny +zr2nyel +zr2nyesz +zr2nyk +zr2ny +z2rk +zr2p1a2 +zr2p +2z1rv +2zssz +z1sv +z1szt +z2te +2z1tl +2z1tv +z1v. +z12vei +z12vek +zve2t1e2l +z12vez +z2z +1z +za2c +za2l +z2g +z1bl +z1br +z2l +z1fl +z1f2r +zgpi2 +zg2p1ip +z1gr +z1kl +zm1 +zny2 +z2ny1er +z2ny12k +z2nyrt +z1pl +z1pr +z2ran +z2r1e2c +z2r1ege +z2rel +z2r1er +2zrk +2zrl +z1rl +2zrm +z2rol +2zr +z2r12g +2zrz +z1rz +z1rz +z2sis +z1sk +z1spe +z1s2pi +z1sta +z1sti +z1str +zsz2 +z1szf +z1szt +z1tr +z2l +zpen1n +zp2fe +zp2la +zp2l +zp2lo +zpor2t1e2 +zpor2t12 +zpor2t1 +z1p2ra +z1p2ri +z1p2ro +z1p2ru +zrae3le +zrdii2t +zre2d12 +zre2del +zre2d12k +zre2d3z +zren2d12 +3z2r. +z2s +1zsa +zs1abla +2zs1a2dat +2zs1a2d +zsag2 +2zsah. +2zsajt +2zs1akc +2zs1alj +2zs1alm +2zs1alt +zsa2ny +zsa2pa. +2z3sapk +zsa2rn +z3sarj +2z3sark +2z3sarl +2zs1arz +2zs1aszt +zs1atl +zsa1tr +2zs1a2ty +2zsaut. +2zsautn +zs1azo +1zs +2zs1br +2z3sf +2z3sg +zs1ggy +zs2k +2zs1la +2zslc +2zslm +2zs12p +2zs12rak +2zsrat +2z3sri +2zsru +2zste +2zs1tk +2zsto +2zst +2zs1ts +2zs12zs +zs1bl +zs1br +z3s2ch +zscsap2 +zsde1s +zs1dr +1zse +zse2ba +zse2biro +zse2b1o2 +2zsebz +zs1e2ce +zs1e2d +z3sej +2zsell +zs1elm +2zsel +zs1e2lf +zs1e2lr +2zsember +2zs1e2mel +zs1enc +zs1ene +zse2raj +zse2r12 +zse2rel +zsere2s +zse2r1esz +zse2r1k +zse2rin +zse2r1o +2zsese +zse2sz +zs1ev +2zs1ex +2zsez +1zs +z3sg +zs2ge2l +2zshs +2zsl +zs1le +2zsp +2zs1rd +2zs1rte +2zs1rt +3zsry +2zsrz +2zste +2zs1tk +2zs1tr +2zs1tt +2zs12ve. +zs1fl +zs1fr +zs1gr +1zsi +2zsid +2zsig +2zsig +zsi2kor +2zs1ill +2zs1i2m +zsi2min +zsi2m1u +2zsinas +zs1i2pa +z3sipk +2zsirat +zs1irato +2zs1iro +2zs1irt +2zs1ism +2zsist +zsi2tat +2zsiv +zs1iz +2zs1izm +2zs1i2zo +zs1izz +1zs +2z3sb +zs1j +2z3sk +2z3sp +zs2r1a2 +zs2r2 +3zsrb +3zsr +3zsros +3zsrr +3zsrt2 +2zs12v +2zs12z +zs1kl +zs1k2r +1zso +2z3sof +2zs1okm +2zs1okta +2zsolaj +zs1oli +3zsom +2zs1op +2zsor +z3soro +2zsosty +2zs1osz +1zs +zs1n +zs1r +1zs +2zskr +2zslz +2zs1s +zs12ve +1zs +zs2pir +zs1p2l +zsp2r +zs1s2k +zs1s2p +zs1st +zs3sz +zssze2r1e2l +z3s2tad +z3s2tat +z3s2top +zst2r +zs1tro +z3s2t +1zsu +2zs1ud +2zsugr. +2zsugrr +2zsugr +3zsul +2zsum +zsu1s +zsusz2 +1zs +2zs1j +2zsl +zs2r1a +1zs +2zsg +2zslt +2zsnn +zs1s +2zst +2zs1z +1zs +zs1wh +zs3zac +z3szag +zsza2k +zsza2k1 +z3szav +zs3zp +zs3zs +z3szem +zs3zen +z3szer +z3sz +zsz2f +z3szi +zszind2 +z3sz +z3sz2k +zsz2l +z3szo +z4s3zon +z3sz +z3sz +zsz2p +zs3zs +zsz2t2 +z3sz +z3sz +zt1abla +z2t1a2bor +z2t1a2c +z2ta2dal +zt1a2dat +zt1a2d +z2t1agre +z2t1a2k +z2t1akc +z2t1akk +zt1akn +ztakz1 +z2t1akv +zt1a2lap +ztale2l +zta2lele +z2t1anal +ztan2e +zt1anes +zt1ank +zta2n12 +zt1a2nyag +zt1anyak +zt1anyas +zt1anyd +zt1anym +zt1anyu +z2t1anyu +zt1a2pn +zt1a2ps +zt1a2pt +z2t1ap +zt1app +z2t1aps +zt1a2puk +z2t1a2ra. +zt1arn +z2t1arc +zta1sp +zt1assz +z2taszt +zt1aszta +z2tatig +z2t1atk +z2t1aty +z2t1a2ut +zt1br +zt2cs +zt1cso +zt1g. +z2t12ga +z2tli +z2t1lm +zt2raj +zt2r1ass +zt1rem +zt2ris +z2t1rn +zt1rnya +z2troc +z2trokk +zt2r1olt +zt2r1ra +ztr1sm +ztr1s2p +ztrt2 +zt1rv +zt2sz +zt1szo +zt1szt +z2t1tha +z2t1ts +z2t1tv +ztvi2 +zt2v1ir +zt1bl +zt1dr +z2t1e2b +z2t1ef +z2t1e2g +z2t1egy +z2t1e2ke. +z2t1e2ks +z2t1ela +z2t1el +z2t1elb +z2t1e2legy +z2t1e2leme +z2t1e2lemm +z2telemz +z2t1elf +z2t1elj +z2t1ellt +z2t1elm +z2teln +z2t1e2lo +zt1e2lad +z2t1e2lc +z2t1elr +z2t1elt +z2t1elto +z2t1ember +z2t1e2mel +z2t1eml +z2tent +zt1ente +zte2raj +zte2rak +zte2rl +zte2rr +z2terde +ztere2ot +zte2repo +zte2rill +zte2ris +zte2riz +zte2rosz +z2t1e2rot +z2t1e2r +z2t1er +zte2r12l +zte2sz +z2t1esze +z2t1esz +z2t1eszk +z2t1ezr +zt1g. +zt1gb +zt12g +zt1gr +z2t12j +zt2k1e2l +z2t1kn +z2t12le +z2tl +zt12ls +z2t1lm +z2t12l +z2t1lt +zt1l +z2t1p +zt2r +z2t1rd +z2t1rl +z2t1rt +z2t1rz +zt2sz +z2t1szh +z2t1szn +zt2tt +z2t1tk +zt12ves. +zt1vt +zt1fl +zt1fr +zt1gr +z1t2hen +ztia2g +zt1i2den +z2t1id +z2tidi +z2t1ifj +z2t1i2g +z2t1i2kon +z2t1ille +z2tim +z2t1imp +z2t1ind +z2tinfe +z2t1info +z2t1ing. +z2t1ing +z2t1ingb +z2t1inge +z2t1ing +z2t1ingg +z2tingu +z2t1inte +z2t1int +z2t1inv +zti2p +z2t1ipa +z2t1ir +z2t1isk +z2t1ism +z2t1ist +z2t1iste +z2tital +z2t1i2tat +z2t1j +z2t12r +zt12veke +zt1kl +zt1kr +zt1kv +z2toi +z2t1o2koz +z2t1olt +zto2lyag +zt1ope +zto2ras +zto2r1e +z2t1orgi +ztorksz1 +zt1ornam +z2torr +z2torvo +z2t1oszl +zt1oszt +zt2 +ztigaz1 +z2t12ni +zt1p2 +zt1sp +zt1tr +zt1ko +zt2l +z2t1le +ztn3n +zt2rks +z2t1ss +zt12vez +zt1vig +z2t1z +zta2 +zte2l +zt2b +z2t1rh +zt1rl +z2t1rs +zt12sei +z2t12s +zt1s +zt1pl +zt1pr +zt1ps +z1tranz +zt2rd +z1t2rg +z1trf +z1t2rn +z1t2rik +z1tril +z1t2ri +z1t2r +zt1sl +zt1sn +zt1sp +zt1st +zt1sz +zt1t2r +z2t1udv +z2t1ug +z2t1ura +z2t1uru +ztus3s +zt1u2tat +z2t1utu +z2t1j +z2t1r. +z2t1rb +z2t12r +z2t1rh +z2t12ri +z2t1rk +z2t1rn +z2t12ro +z2t1rr +z2t1rt +z2t1g +zt2l +z2t1ls +ztl1l +z2t1t +z2t12v +zt12zem +z2t1r. +z2t12ri +z2tye +1zu +zu2b1a +3zubb +zu2b1i +zu2bu +zu2c3s +3zug. +zu2gag +zu2gap +zu2gru +zu2g1s +3zugb +zu2g1e2 +zu2g +zu2gin +zu2git +zu2giv +zu2g +3zugo +zu2g1or +zu2g +zu2g +zu2g +3zuha +zule2 +zu2lel +zu2l1enc +zu2l1es +zuli2n +zu2l +zulya2 +zu2ly1ag +zu2mab +zu2m1a2d +zu2maj +zu2mal +zu2mar +zu2m1as +zume2 +zumegyez1 +zu2mel +zu2m1en +zu2ml +zu2m12n +zu2m1id +zu2m1in +zu2m1i2p +zu2m +zumksz1 +zu2mol +zu2m +zu2mur +zu2m +2zund +z1undo +zu2ne +zu2n1 +2zuni +zu2n12 +zu2ral +zu2ram +zurat2 +2z1urn +zu2r +zu2sad +zus1aka +zu2sal +zusa2n +zus1any +zu2sas +zu2s1g +zu2s1e2 +zu2s1rt +zu2sis +zu2s1 +zusksz1 +zu2s1ol +zu2s12 +zu2s +zuss2 +zussz2 +zus3sze +zus3szi +zust2 +zus1tr +zu2s12 +zu2sz1i2k +zu2szon +zu2s3z +2z1u2ta +z1u2t +2z1utc +zu2tol +zu2t. +zu2tb +zu2ti +zu2tj +zu2tn +z1u2tu +1z +z1dr +z1fl +3zg +z1jd +z12j +z12j +z1js +z2r1e2 +zr2t +z12szs +z2t. +z12tr +z1th +z1ti +z2ti. +z2tiak. +3z2tiaka +z2tiakr +z2tib +z2tig +z2tih +z2tin +z2tiv +z12t +z1tj +z1tn +z12ton +z1tr +z1tt +z2t +z1tv +3zz +3zzd +3zz +1z +z2d +zgy1s +z1gyk +z1ld +z12lep +z12lseb +z12lset +z2ni +2znn +z2r +z12r +z12te +z12t +z1tk +z12t +z2ve +z2v +z2zen +z1zl +1z +z2csa +z2cs +z2csip +z2cs1o +z2ra +z2r +zrs3s +z2r1i2z +z1rla +z2r +z2ru +z2z1a2 +z2z1 +z2ze +zz2r +z2z1re +z2zo +z12z +z2zs +z2z +zva2su +zvros2 +zvro2s1om +zve2gya +zv2nyel +z2vit. +zvi2tc +z2vitj +zy1ak +z1yar +zy2be +zy2je +zy2ne +zy2n +zy2re +zy2r +zy2sa +zy2so +zy2t +zy2ve +z2z1ll +zz2r12r +zzt2 +zz1tr +zzi2n12 +zz2le +zz1ly +z2zs +z3zsk +z3zsm +z3zsi +z3zs +z3zso +} +\endgroup diff --git a/mayor-orig/update/linkme.sh b/mayor-orig/update/linkme.sh new file mode 100644 index 00000000..60a70424 --- /dev/null +++ b/mayor-orig/update/linkme.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +parentLink="naplo/hibabejelento/hibabejelento naplo//szulinap naplo/haladasi/haladasi naplo/haladasi/stat naplo/osztalyozo/diak +naplo/osztalyozo/jegy naplo/osztalyozo/dolgozat naplo/osztalyozo/bizonyitvany naplo/osztalyozo/stat +naplo/bejegyzesek/bejegyzesek naplo/bejegyzesek/info naplo/tanev/fogadoOra naplo/orarend/helyettesites naplo/tanev/munkaterv naplo/orarend/orarend +naplo/intezmeny/valtas naplo/intezmeny/diak naplo/intezmeny/diakSzulo naplo/hianyzas/diak naplo/hianyzas/diakLista naplo/hianyzas/nap naplo/uzeno/uzeno naplo/ertekeles/ertekeles +naplo/uzeno/postas naplo//error +portal/hirek/egyhir +session/download" +publicLink="naplo/orarend/orarend naplo/orarend/szabadTerem naplo/orarend/helyettesites naplo//error" diff --git a/mayor-orig/update/orev001162-1.sh b/mayor-orig/update/orev001162-1.sh new file mode 100644 index 00000000..b3510d14 --- /dev/null +++ b/mayor-orig/update/orev001162-1.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +DIRS="script testdata tex vmg2006-data vmg2007" + +echo -e "\n Elavult könyvtárak törlése:\n" +for DIR in $DIRS; do + echo -n " $BASEDIR/install/module-naplo/$DIR ... " + if [ -d $BASEDIR/install/module-naplo/$DIR ]; then + rm -rf $BASEDIR/install/module-naplo/$DIR + echo "törölve." + else + echo "nincs." + fi +done + +echo -ne "\n A download könyvtár tulajdonosának beállítása ... " +chown -R www-data.www-data $BASEDIR/download +echo "kész." + +echo -ne "\n A /usr/local/sbin/update.sh ... " +(cat < /usr/local/sbin/update.sh +echo "kész." + diff --git a/mayor-orig/update/orev001212-1-intezmeny.sql b/mayor-orig/update/orev001212-1-intezmeny.sql new file mode 100644 index 00000000..53133d50 --- /dev/null +++ b/mayor-orig/update/orev001212-1-intezmeny.sql @@ -0,0 +1,3 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE tankorSzemeszter MODIFY tankorNev VARCHAR(128); diff --git a/mayor-orig/update/orev001214-1.sh b/mayor-orig/update/orev001214-1.sh new file mode 100644 index 00000000..71e23d18 --- /dev/null +++ b/mayor-orig/update/orev001214-1.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +FILES="www/policy/private/naplo/intezmeny/diakAdmin.php +www/policy/private/naplo/intezmeny/diakAdmin-pre.php +www/lang/hu_HU/module-naplo/intezmeny/diakAdmin.php +www/include/modules/naplo/intezmeny/diakAdmin.php +www/skin/classic/module-naplo/html/intezmeny/diakAdmin.phtml +www/skin/classic/module-naplo/css/intezmeny/diakAdmin.css" + +echo -e "\n Elavult állományok törlése:\n" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done + diff --git a/mayor-orig/update/orev001214-2-intezmeny.sql b/mayor-orig/update/orev001214-2-intezmeny.sql new file mode 100644 index 00000000..4977f931 --- /dev/null +++ b/mayor-orig/update/orev001214-2-intezmeny.sql @@ -0,0 +1,5 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE diak MODIFY vegzoTanev SMALLINT(5) UNSIGNED DEFAULT NULL; +ALTER TABLE diak MODIFY vegzoSzemeszter TINYINT(3) UNSIGNED DEFAULT NULL; + diff --git a/mayor-orig/update/orev001222-1-intezmeny.sql b/mayor-orig/update/orev001222-1-intezmeny.sql new file mode 100644 index 00000000..36a3289b --- /dev/null +++ b/mayor-orig/update/orev001222-1-intezmeny.sql @@ -0,0 +1,7 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE terem MODIFY tipus SET( + 'tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','tornaszoba','fejlesztőszoba', + 'tanműhely','előadó','könyvtár','díszterem','tanári','templom','egyéb') NULL; +ALTER TABLE terem MODIFY teremId SMALLINT(5) UNSIGNED NOT NULL; + diff --git a/mayor-orig/update/orev001226-1-intezmeny.sql b/mayor-orig/update/orev001226-1-intezmeny.sql new file mode 100644 index 00000000..50b0de50 --- /dev/null +++ b/mayor-orig/update/orev001226-1-intezmeny.sql @@ -0,0 +1,6 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE szulo MODIFY cimHazszam VARCHAR(16) NULL; +ALTER TABLE diak MODIFY lakhelyHazszam VARCHAR(16) NULL; +ALTER TABLE diak MODIFY tartHazszam VARCHAR(16) NULL; + diff --git a/mayor-orig/update/orev001226-2-mayor_naplo.sql b/mayor-orig/update/orev001226-2-mayor_naplo.sql new file mode 100644 index 00000000..7583e14d --- /dev/null +++ b/mayor-orig/update/orev001226-2-mayor_naplo.sql @@ -0,0 +1,3 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE intezmeny MODIFY cimHazszam VARCHAR(16) NULL; diff --git a/mayor-orig/update/orev001227-1-intezmeny.sql b/mayor-orig/update/orev001227-1-intezmeny.sql new file mode 100644 index 00000000..832097c3 --- /dev/null +++ b/mayor-orig/update/orev001227-1-intezmeny.sql @@ -0,0 +1,82 @@ +-- SQL utasítások a intezmeny adatbázisban -- + +ALTER TABLE osztaly CHANGE kepzes leiras VARCHAR(64); + +CREATE TABLE kepzes ( + kepzesId SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, + kepzesNev VARCHAR(255) NOT NULL, + tanev SMALLINT UNSIGNED NULL, + UNIQUE INDEX kepzesNevTanev (kepzesNev, tanev), + PRIMARY KEY (kepzesId) +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE kepzesDiak ( + kepzesId SMALLINT UNSIGNED NOT NULL, + diakId INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(kepzesId, diakId), + INDEX kepzesDiak_FKIndex1(kepzesId), + INDEX kepzesDiak_FKIndex2(diakId), + FOREIGN KEY(kepzesId) + REFERENCES kepzes(kepzesId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(diakId) + REFERENCES diak(diakId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE kepzesOsztaly ( + kepzesId SMALLINT UNSIGNED NOT NULL, + osztalyId INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(kepzesId, osztalyId), + INDEX kepzesOsztaly_FKIndex1(kepzesId), + INDEX kepzesOsztaly_FKIndex2(osztalyId), + FOREIGN KEY(kepzesId) + REFERENCES kepzes(kepzesId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(osztalyId) + REFERENCES osztaly(osztalyId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE kepzesTargyOraszam ( + kepzesId SMALLINT UNSIGNED NOT NULL, + evfolyam TINYINT UNSIGNED NOT NULL, + targyId SMALLINT UNSIGNED NOT NULL, + oraszam DECIMAL(4,2) UNSIGNED NULL, + kovetelmeny ENUM('aláírás','vizsga','jegy') NULL, + jelenlet ENUM('kötelező','nem kötelező') NULL, + PRIMARY KEY(kepzesId, evfolyam, targyId), + INDEX kepzesTargyOraszam_FKIndex1(kepzesId), + INDEX kepzesTargyOraszam_FKIndex2(targyId), + FOREIGN KEY(kepzesId) + REFERENCES kepzes(kepzesId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(targyId) + REFERENCES targy(targyId) + ON DELETE NO ACTION + ON UPDATE NO ACTION +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE kepzesOraszam ( + kepzesId SMALLINT UNSIGNED NOT NULL, + evfolyam TINYINT UNSIGNED NOT NULL, + kotelezoOraszam DECIMAL(4,2) UNSIGNED NULL, + maximalisOraszam DECIMAL(4,2) UNSIGNED NULL, + PRIMARY KEY(kepzesId, evfolyam), + INDEX kepzesOraszam_FKIndex1(kepzesId), + FOREIGN KEY(kepzesId) + REFERENCES kepzes(kepzesId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + diff --git a/mayor-orig/update/orev001264-1-intezmeny.sql b/mayor-orig/update/orev001264-1-intezmeny.sql new file mode 100644 index 00000000..85db9ef6 --- /dev/null +++ b/mayor-orig/update/orev001264-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE tankor ADD tankorTipus enum('','első nyelv','második nyelv') NOT NULL DEFAULT ''; diff --git a/mayor-orig/update/orev001270-1-intezmeny.sql b/mayor-orig/update/orev001270-1-intezmeny.sql new file mode 100644 index 00000000..c952540f --- /dev/null +++ b/mayor-orig/update/orev001270-1-intezmeny.sql @@ -0,0 +1,2 @@ +alter table osztalyTanar drop primary key; +alter table osztalyTanar add primary key(osztalyId, tanarId, beDt); diff --git a/mayor-orig/update/orev001280-1-intezmeny.sql b/mayor-orig/update/orev001280-1-intezmeny.sql new file mode 100644 index 00000000..65be1013 --- /dev/null +++ b/mayor-orig/update/orev001280-1-intezmeny.sql @@ -0,0 +1,4 @@ +UPDATE tankorDiak SET jelenlet='kötezelő',kovetelmeny='jegy' WHERE kiDt is NULL AND (jelenlet='' OR kovetelmeny=''); +UPDATE tankorDiak SET jelenlet='nem kötezelő',kovetelmeny='aláírás' WHERE kiDt is NOT NULL AND (jelenlet='' OR kovetelmeny=''); +alter table tankorDiak modify jelenlet enum('kötelező','nem kötelező') NOT NULL DEFAULT 'kötelező'; +alter table tankorDiak modify kovetelmeny enum('aláírás','vizsga','jegy') NOT NULL DEFAULT 'jegy'; diff --git a/mayor-orig/update/orev001317-1-intezmeny.sql b/mayor-orig/update/orev001317-1-intezmeny.sql new file mode 100644 index 00000000..3c00494d --- /dev/null +++ b/mayor-orig/update/orev001317-1-intezmeny.sql @@ -0,0 +1,2 @@ +-- SQL utasítások a intezmeny adatbázisban -- +alter table tankor modify tankorTipus enum('','első nyelv','második nyelv','délutáni') not null default ''; diff --git a/mayor-orig/update/orev001324-1-naplo.sql b/mayor-orig/update/orev001324-1-naplo.sql new file mode 100644 index 00000000..2ccb1995 --- /dev/null +++ b/mayor-orig/update/orev001324-1-naplo.sql @@ -0,0 +1,13 @@ +-- SQL utasítások a tanév adatbázisban -- +alter table ora drop foreign key ora_ibfk_4; +alter table ora add constraint ora_ibfk_4 foreign key (teremId) + references %INTEZMENYDB%.terem(teremId) on delete set null on update cascade; + +alter table orarendiOra drop foreign key orarendiOra_ibfk_2; +alter table orarendiOra add constraint orarendiOra_ibfk_2 foreign key (teremId) + references %INTEZMENYDB%.terem(teremId) on delete set null on update cascade; + +alter table fogadoOra drop foreign key fogadoOra_ibfk_2; +alter table fogadoOra add constraint fogadoOra_ibfk_2 foreign key (teremId) + references %INTEZMENYDB%.terem(teremId) on delete set null on update cascade; + diff --git a/mayor-orig/update/orev001340-1.sh b/mayor-orig/update/orev001340-1.sh new file mode 100644 index 00000000..c829f1c7 --- /dev/null +++ b/mayor-orig/update/orev001340-1.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +FILES="www/include/modules/naplo/ertekeles/ertekeles.php" + +echo -e "\n Elavult állományok törlése:\n" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/orev001346-1-naplo.sql b/mayor-orig/update/orev001346-1-naplo.sql new file mode 100644 index 00000000..dac81d7c --- /dev/null +++ b/mayor-orig/update/orev001346-1-naplo.sql @@ -0,0 +1,100 @@ +-- A tanév adatbázis módosítása + +CREATE TABLE IF NOT EXISTS `szempontRendszer` ( + `szrId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `kepzesId` SMALLINT UNSIGNED, + `evfolyam` SMALLINT UNSIGNED NOT NULL, + `targyId` SMALLINT UNSIGNED, + `targyTipus` ENUM('első nyelv','második nyelv','választható','kötelezően választható'), + PRIMARY KEY(`szrId`), + INDEX szr_FKindex1(`kepzesId`), + INDEX szr_FKindex2(`targyId`), + FOREIGN KEY(`kepzesId`) + REFERENCES %INTEZMENYDB%.`kepzes`(`kepzesId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`targyId`) + REFERENCES %INTEZMENYDB%.`targy`(`targyId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szrSzempont` ( + `szempontId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `szrId` INTEGER UNSIGNED NOT NULL, + `szempont` VARCHAR(128), + PRIMARY KEY(`szempontId`), + INDEX szrsz_FKindex1(`szrId`), + FOREIGN KEY(`szrId`) + REFERENCES `szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szrMinosites` ( + `minositesId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `szempontId` INTEGER UNSIGNED NOT NULL, + `minosites` VARCHAR(128), + PRIMARY KEY(`minositesId`), + INDEX szrm_FKindex1(`szempontId`), + FOREIGN KEY(`szempontId`) + REFERENCES `szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szovegesErtekeles` ( + `szeId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `diakId` INTEGER UNSIGNED NOT NULL, + `szrId` INTEGER UNSIGNED NOT NULL, + `dt` DATE NOT NULL, + PRIMARY KEY(`szeId`), + INDEX sze_FKindex1(`diakId`), + INDEX sze_FKindex2(`szrId`), + FOREIGN KEY(diakId) + REFERENCES %INTEZMENYDB%.diak(diakId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szrId`) + REFERENCES `szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szeEgyediMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `szempontId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `egyediMinosites` VARCHAR(255), + PRIMARY KEY(`szeId`,`szempontId`), + INDEX szeem_FKindex1(`szempontId`), + INDEX szeem_FKindex2(`szeId`), + FOREIGN KEY(`szempontId`) + REFERENCES `szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szeMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `minositesId` INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(`szeId`,`minositesId`), + INDEX szem_FKindex1(`szeId`), + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`minositesId`) + REFERENCES `szrMinosites`(`minositesId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/mayor-orig/update/orev001347-1-naplo.sql b/mayor-orig/update/orev001347-1-naplo.sql new file mode 100644 index 00000000..d1f60f55 --- /dev/null +++ b/mayor-orig/update/orev001347-1-naplo.sql @@ -0,0 +1,65 @@ +-- A tanév adatbázis módosítása + +DROP TABLE IF EXISTS `szeEgyediMinosites`; +DROP TABLE IF EXISTS `szeMinosites`; +DROP TABLE IF EXISTS `szovegesErtekeles`; + +CREATE TABLE IF NOT EXISTS `szovegesErtekeles` ( + `szeId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `diakId` INTEGER UNSIGNED NOT NULL, + `szrId` INTEGER UNSIGNED NOT NULL, + `targyId` SMALLINT UNSIGNED NOT NULL, + `dt` DATE NOT NULL, + PRIMARY KEY(`szeId`), + INDEX sze_FKindex1(`diakId`), + INDEX sze_FKindex2(`szrId`), + INDEX sze_FKindex3(`targyId`), + UNIQUE KEY sze_UKindex1(`diakId`,`targyId`,`dt`), + FOREIGN KEY(diakId) + REFERENCES %INTEZMENYDB%.`diak`(`diakId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`targyId`) + REFERENCES %INTEZMENYDB%.`targy`(`targyId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szrId`) + REFERENCES `szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szeEgyediMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `szempontId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `egyediMinosites` VARCHAR(255), + PRIMARY KEY(`szeId`,`szempontId`), + INDEX szeem_FKindex1(`szempontId`), + INDEX szeem_FKindex2(`szeId`), + FOREIGN KEY(`szempontId`) + REFERENCES `szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `szeMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `minositesId` INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(`szeId`,`minositesId`), + INDEX szem_FKindex1(`szeId`), + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`minositesId`) + REFERENCES `szrMinosites`(`minositesId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/mayor-orig/update/orev001361-1-intezmeny.sql b/mayor-orig/update/orev001361-1-intezmeny.sql new file mode 100644 index 00000000..77b3e974 --- /dev/null +++ b/mayor-orig/update/orev001361-1-intezmeny.sql @@ -0,0 +1,10 @@ +-- Cím attribútumok módosítása + +alter table szulo modify cimEmelet VARCHAR(5) NULL; +alter table szulo modify cimAjto SMALLINT UNSIGNED NULL; + +alter table diak modify lakhelyEmelet VARCHAR(5) NULL; +alter table diak modify lakhelyAjto SMALLINT UNSIGNED NULL; + +alter table diak modify tartEmelet VARCHAR(5) NULL; +alter table diak modify tartAjto SMALLINT UNSIGNED NULL; diff --git a/mayor-orig/update/orev001361-2-mayor_naplo.sql b/mayor-orig/update/orev001361-2-mayor_naplo.sql new file mode 100644 index 00000000..25a56fc7 --- /dev/null +++ b/mayor-orig/update/orev001361-2-mayor_naplo.sql @@ -0,0 +1,6 @@ +-- Újabb intézményi adatok felvétele + +alter table intezmeny add column telefon VARCHAR(64) NULL; +alter table intezmeny add column fax VARCHAR(64) NULL; +alter table intezmeny add column email VARCHAR(96) NULL; +alter table intezmeny add column honlap VARCHAR(96) NULL; diff --git a/mayor-orig/update/orev001367-1-intezmeny.sql b/mayor-orig/update/orev001367-1-intezmeny.sql new file mode 100644 index 00000000..af8f4a06 --- /dev/null +++ b/mayor-orig/update/orev001367-1-intezmeny.sql @@ -0,0 +1,71 @@ +alter database collate utf8_hungarian_ci; + +ALTER TABLE munkakozosseg CONVERT TO character set utf8 collate utf8_hungarian_ci; +ALTER TABLE osztaly CONVERT TO character set utf8 COLLATE utf8_hungarian_ci; +ALTER TABLE tanar CONVERT TO character set utf8 COLLATE utf8_hungarian_ci; +ALTER TABLE terem CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE szemeszter CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE idoszak +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE targy +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE szulo +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE diak +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE mkTanar +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE osztalyDiak +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE osztalyTanar +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE zaroJegy +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE hianyzasOsszesites +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankor +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorDiak +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorSzemeszter +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorOsztaly +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorTanar +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE uzenet +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE uzen +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE kepzes +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE kepzesDiak +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE kepzesOsztaly +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE kepzesTargyOraszam +CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE kepzesOraszam CONVERT TO CHARSET utf8 COLLATE utf8_hungarian_ci; + diff --git a/mayor-orig/update/orev001367-2-naplo.sql b/mayor-orig/update/orev001367-2-naplo.sql new file mode 100644 index 00000000..d137b8df --- /dev/null +++ b/mayor-orig/update/orev001367-2-naplo.sql @@ -0,0 +1,43 @@ +alter database collate utf8_hungarian_ci; + +ALTER TABLE nap +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE dolgozat +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE csere +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE osztalyNaplo +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE targySorszam +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE bejegyzes +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorDolgozat +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorNaplo +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE ora +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE orarendiOraTankor +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE hianyzas +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE orarendiOra +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE csoport +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE `uzeno` DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +ALTER TABLE `uzeno` ENGINE = InnoDB; diff --git a/mayor-orig/update/orev001387-2-mayor_naplo.sql b/mayor-orig/update/orev001387-2-mayor_naplo.sql new file mode 100644 index 00000000..4262c83f --- /dev/null +++ b/mayor-orig/update/orev001387-2-mayor_naplo.sql @@ -0,0 +1 @@ +alter table session modify sessionID char(40) NOT NULL; diff --git a/mayor-orig/update/orev001427-1-naplo.sql b/mayor-orig/update/orev001427-1-naplo.sql new file mode 100644 index 00000000..d2c8e362 --- /dev/null +++ b/mayor-orig/update/orev001427-1-naplo.sql @@ -0,0 +1,3 @@ +-- A tanév adatbázis módosítása + +ALTER TABLE hianyzas MODIFY igazolas ENUM('orvosi','szülői','osztályfőnöki','tanulmányi verseny','nyelvvizsga','igazgatói','hatósági','') NULL; \ No newline at end of file diff --git a/mayor-orig/update/orev001461-1-intezmeny.sql b/mayor-orig/update/orev001461-1-intezmeny.sql new file mode 100644 index 00000000..c1ca9164 --- /dev/null +++ b/mayor-orig/update/orev001461-1-intezmeny.sql @@ -0,0 +1,26 @@ + +alter table diak drop foreign key `diak_ibfk_1`; +alter table diak drop column vegzoTanev; +alter table diak drop column vegzoSzemeszter; +alter table diak add column penzugyiStatusz enum('állami finanszírozás','térítési díj','tandíj') default 'állami finanszírozás'; +alter table diak add column szocialisHelyzet set( + 'szülei elváltak','három vagy több gyerekes család','rendszeres gyermekvédelmi támogatást kap','állami gondozott', + 'veszélyeztetett','hátrányos helyzetű','halmozottan hátrányos helyzetű','sajátos nevelési igényű' +) null; +alter table diak add column fogyatekossag set( + 'tartósan beteg','mozgássérült','beszédfogyatékos','hallássérült','látássérült','diszlexia','diszkalkulia','diszgráfia', + 'tanulásban akadályozott','értelmileg akadályozott','autista','tanulási képességek kevert zavarával küzdő' +) null; +alter table diak add column gondozasiSzam varchar(128); + +alter table diak add column adoazonosito bigint(10) zerofill unsigned null after tajSzam; +alter table diak add column szemelyiIgazolvanySzam varchar(16) null after adoazonosito; +-- tartozkodasiOkiratSzam +alter table diak add column elozoIskolaOMKod mediumint unsigned zerofill not null; +alter table diak add column kollegista tinyint unsigned not null default 0; +alter table diak add column neveloId integer unsigned null after gondviseloId; + +alter table szulo add column foglalkozas varchar(128) after email; +alter table szulo add column szuletesiEv year after nem; + +alter table zaroJegy add column javitoJegy tinyint unsigned not null after jegy; diff --git a/mayor-orig/update/orev001497-1-naplo.sql b/mayor-orig/update/orev001497-1-naplo.sql new file mode 100644 index 00000000..7bd60ad0 --- /dev/null +++ b/mayor-orig/update/orev001497-1-naplo.sql @@ -0,0 +1,2 @@ +--UZENO update, felesleges br-ek newline-ra cseréje +update uzeno set txt=replace(txt,'
','\n'); diff --git a/mayor-orig/update/orev001517-1-intezmeny.sql b/mayor-orig/update/orev001517-1-intezmeny.sql new file mode 100644 index 00000000..35ecc1a8 --- /dev/null +++ b/mayor-orig/update/orev001517-1-intezmeny.sql @@ -0,0 +1,28 @@ +-- Házszám: 8 --> 20 karakter +alter table szulo modify cimHazszam varchar(20); +alter table diak modify lakhelyHazszam varchar(20); +alter table diak modify tartHazszam varchar(20); +-- Ajtó: smallint --> varchar(5) +alter table szulo modify cimAjto varchar(5); +alter table diak modify lakhelyAjto varchar(5); +alter table diak modify tartAjto varchar(5); +-- közterületJelleg: új tíőusok +alter table szulo modify cimKozteruletJelleg ENUM('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány', +'dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor', +'határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','lakónegyed','lépcső','liget', +'major','mélykút','ösvény','park','parkja','part','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya', +'telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') NULL; +alter table diak modify lakhelyKozteruletJelleg ENUM('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány', +'dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor', +'határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','lakónegyed','lépcső','liget', +'major','mélykút','ösvény','park','parkja','part','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya', +'telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') NULL; +alter table diak modify tartKozteruletJelleg ENUM('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány', +'dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor', +'határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','lakónegyed','lépcső','liget', +'major','mélykút','ösvény','park','parkja','part','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya', +'telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') NULL; +-- Új mezők +alter table diak add column mobil VARCHAR(64) NULL after telefon; +alter table diak add column tartozkodasiOkiratSzam VARCHAR(16) NULL after szemelyiIgazolvanySzam; +alter table szulo add column munkahely VARCHAR(128) NULL after foglalkozas; diff --git a/mayor-orig/update/orev001517-1-mayor_naplo.sql b/mayor-orig/update/orev001517-1-mayor_naplo.sql new file mode 100644 index 00000000..0a41a33f --- /dev/null +++ b/mayor-orig/update/orev001517-1-mayor_naplo.sql @@ -0,0 +1,8 @@ +-- Házszám: 8 --> 20 karakter +alter table intezmeny modify cimHazszam varchar(20); +-- KözterületJelleg: új típusok +alter table intezmeny modify cimKozteruletJelleg ENUM('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány', +'dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor', +'határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','lakónegyed','lépcső','liget', +'major','mélykút','ösvény','park','parkja','part','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya', +'telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') NULL; diff --git a/mayor-orig/update/orev001520-1.sh b/mayor-orig/update/orev001520-1.sh new file mode 100644 index 00000000..a4914922 --- /dev/null +++ b/mayor-orig/update/orev001520-1.sh @@ -0,0 +1,15 @@ +#!/bin/bash + + +FILES="update/rev1517-1-intezmeny.sql update/rev1517-1-mayor_naplo.sql" + +echo -e "\n Hibás update szkriptek törlése:\n" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/orev001530-1-naplo.sql b/mayor-orig/update/orev001530-1-naplo.sql new file mode 100644 index 00000000..a0e9e024 --- /dev/null +++ b/mayor-orig/update/orev001530-1-naplo.sql @@ -0,0 +1,12 @@ +alter table uzeno engine=InnoDB; +CREATE TABLE `uzenoFlagek` ( + `mId` int(10) unsigned NOT NULL, + `Id` int(10) unsigned NOT NULL, + `Tipus` enum('diak','szulo','tanar') default NULL, + `flag` tinyint(1) NOT NULL default '0', + PRIMARY KEY (`mId`,`Id`,`Tipus`), + FOREIGN KEY(mId) + REFERENCES uzeno(mId) + ON DELETE CASCADE + ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/mayor-orig/update/orev001538-1-intezmeny.sql b/mayor-orig/update/orev001538-1-intezmeny.sql new file mode 100644 index 00000000..1de5390f --- /dev/null +++ b/mayor-orig/update/orev001538-1-intezmeny.sql @@ -0,0 +1,4 @@ +-- Hiányzó diak státuszok 'jogviszonyban van'-ra állítása +update diak set statusz='jogviszonyban van' where statusz is null; +-- A státusz mező alapértelmezett értékének megadása +alter table diak modify statusz ENUM('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') NOT NULL DEFAULT 'jogviszonyban van'; diff --git a/mayor-orig/update/orev001579-1-intezmeny.sql b/mayor-orig/update/orev001579-1-intezmeny.sql new file mode 100644 index 00000000..8e470080 --- /dev/null +++ b/mayor-orig/update/orev001579-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE szulo ADD statusz SET('elhunyt','törvényes képviselő') NULL; +ALTER TABLE szulo MODIFY nevElotag varchar(8) NULL default ''; diff --git a/mayor-orig/update/orev001579-1-naplo.sql b/mayor-orig/update/orev001579-1-naplo.sql new file mode 100644 index 00000000..884bb559 --- /dev/null +++ b/mayor-orig/update/orev001579-1-naplo.sql @@ -0,0 +1,2 @@ + +alter table kerdoiv add column megjegyzes text; diff --git a/mayor-orig/update/orev001582-2-intezmeny.sql b/mayor-orig/update/orev001582-2-intezmeny.sql new file mode 100644 index 00000000..2358061e --- /dev/null +++ b/mayor-orig/update/orev001582-2-intezmeny.sql @@ -0,0 +1,59 @@ +ALTER TABLE zaroJegy ADD evfolyam tinyint unsigned AFTER targyId; +ALTER TABLE zaroJegy ADD jegyTipus ENUM('jegy','aláírás','százalékos','három szintű','egyedi felsorolás','felmentett') NOT NULL DEFAULT 'jegy' AFTER jegy; +ALTER TABLE zaroJegy ADD dt DATE ; +ALTER TABLE zaroJegy DROP PRIMARY KEY; +ALTER TABLE zaroJegy ADD zaroJegyId int unsigned NOT NULL auto_increment PRIMARY KEY FIRST; + +CREATE TABLE zaradek ( + zaradekId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + diakId INTEGER UNSIGNED NOT NULL, + dt DATE NULL, + sorszam varchar(5) NULL, + dokumentum SET('beírási napló','osztálynapló','törzslap','bizonyítvány') NULL, + szoveg VARCHAR(255), + PRIMARY KEY(zaradekId), + INDEX zaradek_FKIndex1(diakId), + FOREIGN KEY(diakId) + REFERENCES diak(diakId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +DROP TABLE IF EXISTS zaroJegyZaradek; +CREATE TABLE zaroJegyZaradek ( + zaroJegyId INTEGER UNSIGNED NOT NULL, + zaradekId INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(zaradekId, zaroJegyId), + FOREIGN KEY(zaradekId) + REFERENCES zaradek(zaradekId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(zaroJegyId) + REFERENCES zaroJegy(zaroJegyId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB; + +-- KÉPZÉS +DROP TABLE IF EXISTS kepzesOraterv; +CREATE TABLE kepzesOraterv ( + kepzesOratervId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + targyId SMALLINT UNSIGNED NOT NULL, + evfolyam TINYINT UNSIGNED NOT NULL, + szemeszter TINYINT UNSIGNED NOT NULL, + hetiOraszam DECIMAL(2,2) NULL, + kovetelmeny ENUM('jegy','aláírás','százalékos','három szintű','egyedi felsorolás','szöveges'), + tipus ENUM('első nyelv','második nyelv','kötelezően választható','szabadon választható','mintatantervi') DEFAULT 'mintatantervi', + PRIMARY KEY(kepzesOratervId), + INDEX kepzesOraterv_FKIndex1(targyId), + FOREIGN KEY(targyId) + REFERENCES targy(targyId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB; + +-- targy +ALTER TABLE targy ADD targyJelleg ENUM ('nyelv','szakmai','magatartás','szorgalom') DEFAULT NULL; diff --git a/mayor-orig/update/orev001582-2-naplo.sql b/mayor-orig/update/orev001582-2-naplo.sql new file mode 100644 index 00000000..2ec4f659 --- /dev/null +++ b/mayor-orig/update/orev001582-2-naplo.sql @@ -0,0 +1,15 @@ +ALTER TABLE jegy ADD jegyTipus ENUM('jegy','aláírás','százalékos','három szintű','egyedi felsorolás') NOT NULL DEFAULT 'jegy' AFTER jegy; +ALTER TABLE jegy MODIFY jegy DECIMAL(4,1); + +DROP TABLE IF EXISTS oraLatogatas; +CREATE TABLE oraLatogatas ( + oraLatogatasId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + megjegyzes TEXT NOT NULL, + tanarId INT UNSIGNED NULL, + PRIMARY KEY(oraLatogatasId), + FOREIGN KEY(tanarId) + REFERENCES %INTEZMENYDB%.tanar(tanarId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB; diff --git a/mayor-orig/update/orev001587-1-intezmeny.sql b/mayor-orig/update/orev001587-1-intezmeny.sql new file mode 100644 index 00000000..35a4256e --- /dev/null +++ b/mayor-orig/update/orev001587-1-intezmeny.sql @@ -0,0 +1,34 @@ + +-- vizsga tábla + +CREATE TABLE vizsga ( + vizsgaId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + diakId INTEGER UNSIGNED NOT NULL, + targyId SMALLINT UNSIGNED NOT NULL, + evfolyam TINYINT UNSIGNED NOT NULL, + tipus ENUM('osztalyozó vizsga','javítóvizsga') NOT NULL, + jelentkezesDt DATE NOT NULL, + vizsgaDt DATE NULL, + zaradekId INTEGER UNSIGNED NULL, + zaroJegyId INTEGER UNSIGNED NULL, + PRIMARY KEY(vizsgaId), + INDEX vizsga_FKIndex1(diakId), + INDEX vizsga_FKIndex2(targyId), + FOREIGN KEY(diakId) + REFERENCES diak(diakId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(targyId) + REFERENCES targy(targyId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(zaradekId) + REFERENCES zaradek(zaradekId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(zaroJegyId) + REFERENCES zaroJegy(zaroJegyId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; \ No newline at end of file diff --git a/mayor-orig/update/orev001587-2-intezmeny.sql b/mayor-orig/update/orev001587-2-intezmeny.sql new file mode 100644 index 00000000..aa4dabba --- /dev/null +++ b/mayor-orig/update/orev001587-2-intezmeny.sql @@ -0,0 +1,4 @@ +ALTER TABLE kepzesOraterv ADD kepzesId smallint unsigned not null AFTER kepzesOratervId; +ALTER TABLE kepzesOraterv ADD FOREIGN KEY(kepzesId) REFERENCES kepzes(kepzesId) ON DELETE CASCADE ON UPDATE CASCADE; +alter table kepzes ADD kezdoEvfolyam tinyint unsigned null; +alter table kepzes ADD zaroEvfolyam tinyint unsigned null; diff --git a/mayor-orig/update/orev001588-1-intezmeny.sql b/mayor-orig/update/orev001588-1-intezmeny.sql new file mode 100644 index 00000000..0eb8eb5c --- /dev/null +++ b/mayor-orig/update/orev001588-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE kepzesOraterv ADD UNIQUE INDEX kot_kulcs(kepzesId,targyId,evfolyam,szemeszter); diff --git a/mayor-orig/update/orev001589-1-intezmeny.sql b/mayor-orig/update/orev001589-1-intezmeny.sql new file mode 100644 index 00000000..f0578e7e --- /dev/null +++ b/mayor-orig/update/orev001589-1-intezmeny.sql @@ -0,0 +1,2 @@ +alter table kepzesOraterv modify targyId smallint(5) unsigned null; +alter table kepzesOraterv modify hetiOraszam decimal(4,2); diff --git a/mayor-orig/update/orev001591-1-intezmeny.sql b/mayor-orig/update/orev001591-1-intezmeny.sql new file mode 100644 index 00000000..99e2a5d2 --- /dev/null +++ b/mayor-orig/update/orev001591-1-intezmeny.sql @@ -0,0 +1,28 @@ + +CREATE TABLE diakJogviszony ( + diakId INTEGER UNSIGNED NOT NULL, + statusz ENUM('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') NOT NULL, + dt DATE NOT NULL, + PRIMARY KEY(diakId, statusz, dt), + INDEX diakJogviszony_FKIndex1(diakId), + FOREIGN KEY(diakId) + REFERENCES diak(diakId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +insert into diakJogviszony select diakId, 'jogviszonyban van' as statusz, jogviszonyKezdete as dt from diak; +insert into diakJogviszony select diakId, 'jogviszonya lezárva' as statusz, jogviszonyVege as dt from diak where jogviszonyVege is not null and jogviszonyVege<>'0000-00-00'; + +-- A magántanulókat és felfüggesztett jogviszonűakat mai dátummal vesszük fel, de ez teljesen önkényes - kézzel javítandó! + +insert into diakJogviszony select diakId, statusz, curdate() from diak where statusz not in ('jogviszonyban van','jogviszonya lezárva'); + +alter table diak add column torvenyesKepviselo SET('anya','apa','gyám','gondnok'); +update diak left join szulo on apaId=szuloId set torvenyesKepviselo='apa' where szulo.statusz='törvényes képviselő'; +update diak left join szulo on anyaId=szuloId set torvenyesKepviselo=concat_ws(',',torvenyesKepviselo,'anya') where szulo.statusz='törvényes képviselő'; +update diak left join szulo on gondviseloId=szuloId set torvenyesKepviselo=concat_ws(',',torvenyesKepviselo,'gyám') where szulo.statusz='törvényes képviselő'; + +-- A diak.statusz újraértelmezésre szorul... +alter table szulo modify statusz enum('elhunyt','házas','egyedülálló','hajadon / nőtlen','elvált','özvegy','élettársi kapcsolatban él') NULL; \ No newline at end of file diff --git a/mayor-orig/update/orev001592-1-intezmeny.sql b/mayor-orig/update/orev001592-1-intezmeny.sql new file mode 100644 index 00000000..c6eeff84 --- /dev/null +++ b/mayor-orig/update/orev001592-1-intezmeny.sql @@ -0,0 +1,12 @@ +ALTER TABLE terem ADD telephely varchar(64) null; + +UPDATE tankor SET kovetelmeny='jegy' WHERE kovetelmeny IS NULL; +ALTER TABLE tankor MODIFY kovetelmeny ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom'); +ALTER TABLE targy ADD evkoziKovetelmeny ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom') DEFAULT 'féljegy'; +ALTER TABLE targy ADD zaroKovetelmeny ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom') DEFAULT 'jegy'; +UPDATE targy SET evkoziKovetelmeny='féljegy'; +UPDATE targy SET zaroKovetelmeny='jegy'; +UPDATE targy SET targyJelleg='nyelv' WHERE targyJelleg IS NULL AND targyNev like '%nyelv%' AND targyNev NOT LIKE '%magyar%'; \ No newline at end of file diff --git a/mayor-orig/update/orev001592-1-naplo.sql b/mayor-orig/update/orev001592-1-naplo.sql new file mode 100644 index 00000000..6d8c7fd3 --- /dev/null +++ b/mayor-orig/update/orev001592-1-naplo.sql @@ -0,0 +1,3 @@ +ALTER TABLE jegy MODIFY jegyTipus ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom'); +UPDATE jegy SET jegyTipus='féljegy' WHERE jegy IN ('1.5','2.5','3.5','4.5'); \ No newline at end of file diff --git a/mayor-orig/update/orev001592-2-intezmeny.sql b/mayor-orig/update/orev001592-2-intezmeny.sql new file mode 100644 index 00000000..f20b7a7c --- /dev/null +++ b/mayor-orig/update/orev001592-2-intezmeny.sql @@ -0,0 +1 @@ +alter table szulo modify statusz enum('elhunyt','házas','egyedülálló','hajadon / nőtlen','elvált','özvegy','élettársi kapcsolatban él') NULL; diff --git a/mayor-orig/update/orev001594-1-intezmeny.sql b/mayor-orig/update/orev001594-1-intezmeny.sql new file mode 100644 index 00000000..1fbfff3d --- /dev/null +++ b/mayor-orig/update/orev001594-1-intezmeny.sql @@ -0,0 +1,3 @@ +alter table zaroJegy MODIFY jegy decimal(4,1) NOT NULL; +update targy SET evkoziKovetelmeny='magatartás',zaroKovetelmeny='magatartás',targyJelleg='magatartás' WHERE targyNev='magatartás'; +update targy SET evkoziKovetelmeny='szorgalom',zaroKovetelmeny='szorgalom',targyJelleg='szorgalom' WHERE targyNev='szorgalom'; \ No newline at end of file diff --git a/mayor-orig/update/orev001597-1-intezmeny.sql b/mayor-orig/update/orev001597-1-intezmeny.sql new file mode 100644 index 00000000..6a605e92 --- /dev/null +++ b/mayor-orig/update/orev001597-1-intezmeny.sql @@ -0,0 +1,26 @@ +alter table zaroJegy MODIFY +jegyTipus enum('jegy','aláírás','százalékos','három szintű','egyedi felsorolás','felmentett','magatartás','szorgalom') NOT NULL DEFAULT 'jegy'; + +update targy SET evkoziKovetelmeny='magatartás',zaroKovetelmeny='magatartás',targyJelleg='magatartás' WHERE targyNev='magatartás'; +update targy SET evkoziKovetelmeny='szorgalom',zaroKovetelmeny='szorgalom',targyJelleg='szorgalom' WHERE targyNev='szorgalom'; +update zaroJegy SET jegyTipus='magatartás' WHERE targyId=(select targyId from targy where targy.targyJelleg LIKE 'magatart%s' LIMIT 1); +update zaroJegy SET jegyTipus='szorgalom' WHERE targyId=(select targyId from targy where targy.targyJelleg LIKE 'szorgalom' LIMIT 1); +-- ha véletlenül lenne ilyen tankör +update tankor SET kovetelmeny='magatartás' WHERE targyId IN (select targyId FROM targy WHERE targyJelleg LIKE 'magatart%s'); +update tankor SET kovetelmeny='szorgalom' WHERE targyId IN (select targyId FROM targy WHERE targyJelleg LIKE 'szorgalom'); + +DROP TABLE IF EXISTS x; +CREATE TEMPORARY TABLE x ( + SELECT zaroJegyId,osztalyDiak.osztalyId,zaroJegy.diakId,zaroJegy.tanev,szemeszter,szemeszter.zarasDt AS dt,tanev-kezdoTanev+kezdoEvfolyam AS evfolyam + FROM zaroJegy + LEFT JOIN szemeszter USING (tanev,szemeszter) + LEFT JOIN osztalyDiak ON (zaroJegy.diakId=osztalyDiak.diakId AND szemeszter.zarasDt>=osztalyDiak.beDt + AND (szemeszter.zarasDt<=osztalyDiak.kiDt OR osztalyDiak.kiDt IS NULL)) + LEFT JOIN osztaly USING (osztalyId) +); +DROP TABLE IF EXISTS dx; +CREATE TABLE dx (select DISTINCT zaroJegyId from x group by zaroJegyId HAVING count(*)>1); +DELETE FROM x WHERE zaroJegyId IN (SELECT zaroJegyId FROM dx); +ALTER TABLE x ADD INDEX zj (zaroJegyId,evfolyam); +UPDATE zaroJegy SET evfolyam=(select evfolyam from x WHERE x.zaroJegyId=zaroJegy.zaroJegyId); +DROP TABLE x; diff --git a/mayor-orig/update/orev001599-1-intezmeny.sql b/mayor-orig/update/orev001599-1-intezmeny.sql new file mode 100644 index 00000000..08e82ecf --- /dev/null +++ b/mayor-orig/update/orev001599-1-intezmeny.sql @@ -0,0 +1,7 @@ + +alter table kepzesOraszam add column tanitasiHetekSzama smallint unsigned; +update kepzesOraszam set tanitasiHetekSzama=37 where evfolyam <> 12; +update kepzesOraszam set tanitasiHetekSzama=31 where evfolyam = 12; +-- A "felvételt nyert" státusz bevezetése +alter table diakJogviszony modify statusz enum('felvételt nyert','jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') NOT NULL; +alter table diak modify statusz enum('felvételt nyert','jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') NOT NULL; diff --git a/mayor-orig/update/orev001599-1-naplo.sql b/mayor-orig/update/orev001599-1-naplo.sql new file mode 100644 index 00000000..eafbb23a --- /dev/null +++ b/mayor-orig/update/orev001599-1-naplo.sql @@ -0,0 +1,50 @@ +-- 1367-es ismétlése, mert korábban hibás néven szerepelt + +alter database collate utf8_hungarian_ci; + +alter table orarendiOra MODIFY osztalyJel varchar(7) binary; +alter table orarendiOraTankor MODIFY osztalyJel varchar(7) binary; +alter table orarendiOra MODIFY targyJel varchar(32) binary; +alter table orarendiOraTankor MODIFY targyJel varchar(32) binary; + +ALTER TABLE nap +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE dolgozat +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE csere +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE osztalyNaplo +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE targySorszam +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE bejegyzes +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorDolgozat +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE tankorNaplo +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE ora +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE orarendiOraTankor +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE hianyzas +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE orarendiOra +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE csoport +CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE `uzeno` DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +ALTER TABLE `uzeno` ENGINE = InnoDB; diff --git a/mayor-orig/update/orev001599-2-intezmeny.sql b/mayor-orig/update/orev001599-2-intezmeny.sql new file mode 100644 index 00000000..209ace8b --- /dev/null +++ b/mayor-orig/update/orev001599-2-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table vizsga modify tipus enum('osztályozó vizsga','beszámoltatóvizsga','különbözetivizsga','javítóvizsga'); diff --git a/mayor-orig/update/orev001600-1-intezmeny.sql b/mayor-orig/update/orev001600-1-intezmeny.sql new file mode 100644 index 00000000..0b7f73f1 --- /dev/null +++ b/mayor-orig/update/orev001600-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table zaroJegy modify `javitoJegy` tinyint(3) unsigned NOT NULL DEFAULT 0; diff --git a/mayor-orig/update/orev001604-1-naplo.sql b/mayor-orig/update/orev001604-1-naplo.sql new file mode 100644 index 00000000..8e316836 --- /dev/null +++ b/mayor-orig/update/orev001604-1-naplo.sql @@ -0,0 +1,2 @@ + +alter table dolgozat change nev dolgozatNev varchar(64) collate utf8_hungarian_ci default NULL; diff --git a/mayor-orig/update/orev001606-1-intezmeny.sql b/mayor-orig/update/orev001606-1-intezmeny.sql new file mode 100644 index 00000000..8e1aedca --- /dev/null +++ b/mayor-orig/update/orev001606-1-intezmeny.sql @@ -0,0 +1,7 @@ +-- Evkozi kovetelmeny +ALTER TABLE tankor MODIFY kovetelmeny ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom','nincs'); +ALTER TABLE targy MODIFY evkoziKovetelmeny ENUM('jegy','féljegy','aláírás','százalékos', +'három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom','nincs') DEFAULT 'féljegy'; +update targy SET evkoziKovetelmeny='nincs' WHERE targyJelleg='magatartás'; +update targy SET evkoziKovetelmeny='nincs' WHERE targyJelleg='szorgalom'; diff --git a/mayor-orig/update/orev001609-1.sh b/mayor-orig/update/orev001609-1.sh new file mode 100644 index 00000000..117dde24 --- /dev/null +++ b/mayor-orig/update/orev001609-1.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +FILES="www/include/modules/naplo/share/haladasi.php www/include/modules/naplo/intezmeny/diak.php www/include/modules/naplo/hianyzas/hianyzas.php" + +echo -e "\n Felesleges állományok törlése:\n" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/orev001621-1-intezmeny.sql b/mayor-orig/update/orev001621-1-intezmeny.sql new file mode 100644 index 00000000..1fee90bf --- /dev/null +++ b/mayor-orig/update/orev001621-1-intezmeny.sql @@ -0,0 +1 @@ +alter table targy modify targyJelleg enum('nyelv','szakmai','magatartás','szorgalom','alsó tagozatos'); \ No newline at end of file diff --git a/mayor-orig/update/orev001630-1.sh b/mayor-orig/update/orev001630-1.sh new file mode 100644 index 00000000..3ae80523 --- /dev/null +++ b/mayor-orig/update/orev001630-1.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +FILES="www/include/modules/naplo/intezmeny/diak.php www/include/modules/naplo/base/query.php www/include/modules/naplo/admin/csoportok.php +www/policy/private/naplo/tanev/orarendLoad-pre.php www/policy/private/naplo/tanev/orarendLoad.php" + +echo -e "\n Felesleges állományok törlése:\n" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/orev001637-1-intezmeny.sql b/mayor-orig/update/orev001637-1-intezmeny.sql new file mode 100644 index 00000000..053cc0b8 --- /dev/null +++ b/mayor-orig/update/orev001637-1-intezmeny.sql @@ -0,0 +1,120 @@ +CREATE TABLE IF NOT EXISTS `szempontRendszer` ( + `szrId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `kepzesId` SMALLINT UNSIGNED, + `evfolyam` SMALLINT UNSIGNED NOT NULL, + `targyId` SMALLINT UNSIGNED, + `targyTipus` ENUM('első nyelv','második nyelv','választható','kötelezően választható'), + `tanev` SMALLINT UNSIGNED NOT NULL, + `szemeszter` TINYINT UNSIGNED NOT NULL, + PRIMARY KEY(`szrId`), + INDEX szr_FKindex1(`kepzesId`), + INDEX szr_FKindex2(`targyId`), + INDEX szr_FKIndex3(tanev,szemeszter), + FOREIGN KEY(`kepzesId`) + REFERENCES `kepzes`(`kepzesId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`targyId`) + REFERENCES `targy`(`targyId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`tanev`,`szemeszter`) + REFERENCES `szemeszter`(`tanev`,`szemeszter`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `szrSzempont` ( + `szempontId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `szrId` INTEGER UNSIGNED NOT NULL, + `szempont` VARCHAR(128), + PRIMARY KEY(`szempontId`), + INDEX szrsz_FKindex1(`szrId`), + FOREIGN KEY(`szrId`) + REFERENCES `szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `szrMinosites` ( + `minositesId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `szempontId` INTEGER UNSIGNED NOT NULL, + `minosites` VARCHAR(128), + PRIMARY KEY(`minositesId`), + INDEX szrm_FKindex1(`szempontId`), + FOREIGN KEY(`szempontId`) + REFERENCES `szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `szovegesErtekeles` ( + `szeId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `diakId` INTEGER UNSIGNED NOT NULL, + `szrId` INTEGER UNSIGNED NOT NULL, + `targyId` SMALLINT UNSIGNED NOT NULL, + `dt` DATE NOT NULL, + `tanev` SMALLINT UNSIGNED NOT NULL, + `szemeszter` TINYINT UNSIGNED NOT NULL, + PRIMARY KEY(`szeId`), + INDEX sze_FKindex1(`diakId`), + INDEX sze_FKindex2(`szrId`), + INDEX sze_FKindex3(`targyId`), + INDEX sze_FKIndex4(`tanev`,`szemeszter`), + UNIQUE KEY sze_UKindex1(`diakId`,`targyId`,`dt`), + FOREIGN KEY(diakId) + REFERENCES `diak`(`diakId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`targyId`) + REFERENCES `targy`(`targyId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szrId`) + REFERENCES `szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`tanev`,`szemeszter`) + REFERENCES `szemeszter`(`tanev`,`szemeszter`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `szeEgyediMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `szempontId` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + `egyediMinosites` VARCHAR(255), + PRIMARY KEY(`szeId`,`szempontId`), + INDEX szeem_FKindex1(`szempontId`), + INDEX szeem_FKindex2(`szeId`), + FOREIGN KEY(`szempontId`) + REFERENCES `szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `szeMinosites` ( + `szeId` INTEGER UNSIGNED NOT NULL, + `minositesId` INTEGER UNSIGNED NOT NULL, + PRIMARY KEY(`szeId`,`minositesId`), + INDEX szem_FKindex1(`szeId`), + FOREIGN KEY(`szeId`) + REFERENCES `szovegesErtekeles`(`szeId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`minositesId`) + REFERENCES `szrMinosites`(`minositesId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + diff --git a/mayor-orig/update/orev001637-1-naplo.sql b/mayor-orig/update/orev001637-1-naplo.sql new file mode 100644 index 00000000..1ceeba01 --- /dev/null +++ b/mayor-orig/update/orev001637-1-naplo.sql @@ -0,0 +1,27 @@ +-- A korábbi (2008-as) szempontrendszerek átmentése + +insert into %INTEZMENYDB%.szempontRendszer select *,2008,1 from szempontRendszer; +insert into %INTEZMENYDB%.szrSzempont select * from szrSzempont; +insert into %INTEZMENYDB%.szrMinosites select * from szrMinosites; + +alter table szovegesErtekeles drop foreign key szovegesErtekeles_ibfk_3; +alter table szovegesErtekeles add foreign key szovegesErtekeles_ibfk_3 (`szrId`) + REFERENCES %INTEZMENYDB%.`szempontRendszer`(`szrId`) + ON DELETE CASCADE + ON UPDATE CASCADE; + +alter table szeEgyediMinosites drop foreign key szeEgyediMinosites_ibfk_1; +alter table szeEgyediMinosites add FOREIGN KEY szeEgyediMinosites_ibfk_1 (`szempontId`) + REFERENCES %INTEZMENYDB%.`szrSzempont`(`szempontId`) + ON DELETE CASCADE + ON UPDATE CASCADE; + +alter table szeMinosites drop foreign key szeMinosites_ibfk_2; +alter table szeMinosites add FOREIGN KEY szeMinosites_ibfk_2 (`minositesId`) + REFERENCES %INTEZMENYDB%.`szrMinosites`(`minositesId`) + ON DELETE CASCADE + ON UPDATE CASCADE; + +drop table szrMinosites; +drop table szrSzempont; +drop table szempontRendszer; \ No newline at end of file diff --git a/mayor-orig/update/orev001656-1-intezmeny.sql b/mayor-orig/update/orev001656-1-intezmeny.sql new file mode 100644 index 00000000..4586d0f2 --- /dev/null +++ b/mayor-orig/update/orev001656-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table idoszak modify tipus enum('zárás','bizonyítvány írás','vizsga','előzetes tárgyválasztás','tárgyválasztás','tankörnévsor módosítás'); diff --git a/mayor-orig/update/orev001698-1-naplo.sql b/mayor-orig/update/orev001698-1-naplo.sql new file mode 100644 index 00000000..f9f4fc15 --- /dev/null +++ b/mayor-orig/update/orev001698-1-naplo.sql @@ -0,0 +1,4 @@ +alter table orarendiOra MODIFY osztalyJel varchar(7) binary; +alter table orarendiOraTankor MODIFY osztalyJel varchar(7) binary; +alter table orarendiOra MODIFY targyJel varchar(32) binary; +alter table orarendiOraTankor MODIFY targyJel varchar(32) binary; diff --git a/mayor-orig/update/orev001699-1.sh b/mayor-orig/update/orev001699-1.sh new file mode 100644 index 00000000..59200b22 --- /dev/null +++ b/mayor-orig/update/orev001699-1.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +FILE="www/include/modules/naplo/tanev/convert-aSc Timetables XML (tankor_nelkul).php" + +echo -e "\n Felesleges állományok törlése:\n" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi diff --git a/mayor-orig/update/orev001717-1.sh b/mayor-orig/update/orev001717-1.sh new file mode 100644 index 00000000..588e7bfb --- /dev/null +++ b/mayor-orig/update/orev001717-1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE="www/skin/ajax/module-naplo/html/osztalyozo/jegy.phtml" + +echo " Felesleges állományok törlése:" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/orev001723-1-naplo.sql b/mayor-orig/update/orev001723-1-naplo.sql new file mode 100644 index 00000000..4f378068 --- /dev/null +++ b/mayor-orig/update/orev001723-1-naplo.sql @@ -0,0 +1,19 @@ + +CREATE TABLE IF NOT EXISTS `hetes` ( + `osztalyId` INT(10) UNSIGNED NOT NULL, + `dt` DATE, + `sorszam` SMALLINT UNSIGNED NOT NULL DEFAULT 1, + `diakId` INT(10) UNSIGNED NOT NULL, + PRIMARY KEY(`osztalyId`,`dt`,`sorszam`), + INDEX het_FKindex1(`osztalyId`), + INDEX het_FKindex2(`diakId`), + FOREIGN KEY(`osztalyId`) + REFERENCES %INTEZMENYDB%.`osztaly`(`osztalyId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`diakId`) + REFERENCES %INTEZMENYDB%.`diak`(`diakId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; diff --git a/mayor-orig/update/orev001725-1-intezmeny.sql b/mayor-orig/update/orev001725-1-intezmeny.sql new file mode 100644 index 00000000..827dbe3a --- /dev/null +++ b/mayor-orig/update/orev001725-1-intezmeny.sql @@ -0,0 +1,7 @@ + +alter table mkTanar modify `mkId` smallint(5) unsigned NOT NULL; +alter table tankorSzemeszter modify tankorId int(10) unsigned NOT NULL; +alter table tankorTanar modify tankorId int(10) unsigned NOT NULL; +alter table szeEgyediMinosites modify `szempontId` int(10) unsigned NOT NULL; +alter table tankorDiak modify tankorId int(10) unsigned NOT NULL; +alter table tankorOsztaly modify tankorId int(10) unsigned NOT NULL; diff --git a/mayor-orig/update/orev001725-1-naplo.sql b/mayor-orig/update/orev001725-1-naplo.sql new file mode 100644 index 00000000..8b3dd488 --- /dev/null +++ b/mayor-orig/update/orev001725-1-naplo.sql @@ -0,0 +1,3 @@ + +alter table kerdoivValaszSzam modify `valaszId` INTEGER UNSIGNED NOT NULL; +alter table szeEgyediMinosites modify `szempontId` int(10) unsigned NOT NULL; diff --git a/mayor-orig/update/orev001732-1-naplo.sql b/mayor-orig/update/orev001732-1-naplo.sql new file mode 100644 index 00000000..a2e04faa --- /dev/null +++ b/mayor-orig/update/orev001732-1-naplo.sql @@ -0,0 +1 @@ +alter table uzeno MODIFY cimzettTipus enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo','osztalyTanar'); diff --git a/mayor-orig/update/orev001738-1-mayor_naplo.sql b/mayor-orig/update/orev001738-1-mayor_naplo.sql new file mode 100644 index 00000000..47dfb449 --- /dev/null +++ b/mayor-orig/update/orev001738-1-mayor_naplo.sql @@ -0,0 +1,6 @@ +DROP TABLE IF EXISTS `settings`; +CREATE TABLE `settings` ( + `userAccount` varchar(32) NOT NULL, + `policy` enum('private','parent','public') DEFAULT 'private' NOT NULL, + `intezmeny` varchar(16) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file diff --git a/mayor-orig/update/orev001770-1-intezmeny.sql b/mayor-orig/update/orev001770-1-intezmeny.sql new file mode 100644 index 00000000..1fde963e --- /dev/null +++ b/mayor-orig/update/orev001770-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE diak MODIFY `viseltNevElotag` varchar(8) COLLATE utf8_hungarian_ci NULL DEFAULT ''; +ALTER TABLE diak MODIFY `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci NULL DEFAULT ''; \ No newline at end of file diff --git a/mayor-orig/update/orev001776-1-naplo.sql b/mayor-orig/update/orev001776-1-naplo.sql new file mode 100644 index 00000000..5fe85c72 --- /dev/null +++ b/mayor-orig/update/orev001776-1-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE bejegyzes MODIFY szoveg TEXT NULL; diff --git a/mayor-orig/update/orev001782-1-naplo.sql b/mayor-orig/update/orev001782-1-naplo.sql new file mode 100644 index 00000000..c74d4de0 --- /dev/null +++ b/mayor-orig/update/orev001782-1-naplo.sql @@ -0,0 +1,28 @@ + +DROP TABLE IF EXISTS oraLatogatas; +CREATE TABLE oraLatogatas ( + oraLatogatasId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, + megjegyzes TEXT NOT NULL, + oraId INT UNSIGNED NULL, + PRIMARY KEY(oraLatogatasId), + FOREIGN KEY(oraId) + REFERENCES ora(oraId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB; + +CREATE TABLE oraLatogatasTanar ( + oraLatogatasId INTEGER UNSIGNED NOT NULL, + tanarId INT UNSIGNED NULL, + PRIMARY KEY(oraLatogatasId, tanarId), + FOREIGN KEY(tanarId) + REFERENCES %INTEZMENYDB%.tanar(tanarId) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(oraLatogatasId) + REFERENCES oraLatogatas(oraLatogatasId) + ON DELETE CASCADE + ON UPDATE CASCADE +) +ENGINE=InnoDB; diff --git a/mayor-orig/update/orev001784-1-intezmeny.sql b/mayor-orig/update/orev001784-1-intezmeny.sql new file mode 100644 index 00000000..cc476b3b --- /dev/null +++ b/mayor-orig/update/orev001784-1-intezmeny.sql @@ -0,0 +1,2 @@ + +delete from diakJogviszony where dt='0000-00-00'; \ No newline at end of file diff --git a/mayor-orig/update/orev001788-1-naplo.sql b/mayor-orig/update/orev001788-1-naplo.sql new file mode 100644 index 00000000..10c36e69 --- /dev/null +++ b/mayor-orig/update/orev001788-1-naplo.sql @@ -0,0 +1,26 @@ + +DROP TABLE IF EXISTS oraLatogatasTanar; +DROP TABLE IF EXISTS oraLatogatas; + +CREATE TABLE `oraLatogatas` ( + `oraLatogatasId` int(10) unsigned NOT NULL auto_increment, + `megjegyzes` text collate utf8_hungarian_ci NOT NULL, + `oraId` int(10) unsigned default NULL, + PRIMARY KEY (`oraLatogatasId`), + UNIQUE KEY `oraId` (`oraId`), + CONSTRAINT `oraLatogatas_ibfk_1` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `oraLatogatasTanar` ( + `oraLatogatasId` INTEGER UNSIGNED NOT NULL, + `tanarId` INT UNSIGNED NULL, + PRIMARY KEY(`oraLatogatasId`, `tanarId`), + FOREIGN KEY(`tanarId`) + REFERENCES %INTEZMENYDB%.tanar(`tanarId`) + ON DELETE CASCADE + ON UPDATE CASCADE, + FOREIGN KEY(`oraLatogatasId`) + REFERENCES `oraLatogatas` (`oraLatogatasId`) + ON DELETE CASCADE + ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/orev001836-1-intezmeny.sql b/mayor-orig/update/orev001836-1-intezmeny.sql new file mode 100644 index 00000000..4c15bb3b --- /dev/null +++ b/mayor-orig/update/orev001836-1-intezmeny.sql @@ -0,0 +1,8 @@ + +CREATE TEMPORARY TABLE _tmpDj SELECT CONCAT_WS(':', `diakId`, `dt`, MIN(0+`statusz`)) AS kulcs FROM diakJogviszony GROUP BY diakId, dt HAVING COUNT(*) > 1; + +UPDATE diakJogviszony SET dt=dt-INTERVAL 1 DAY WHERE CONCAT_WS(':', `diakId`, `dt`, (0+`statusz`)) IN (SELECT kulcs FROM _tmpDj); + +ALTER TABLE diakJogviszony DROP PRIMARY KEY; +ALTER TABLE diakJogviszony ADD PRIMARY KEY (`diakId`, `dt`); + diff --git a/mayor-orig/update/orev001909-1-intezmeny.sql b/mayor-orig/update/orev001909-1-intezmeny.sql new file mode 100644 index 00000000..a6835bd0 --- /dev/null +++ b/mayor-orig/update/orev001909-1-intezmeny.sql @@ -0,0 +1,4 @@ +drop table if exists _hibasZarojegyek; +create table _hibasZarojegyek (select distinct a.zaroJegyId from vizsga AS a LEFT JOIN zaroJegy AS b USING (zaroJegyId) WHERE szemeszter=1); +update zaroJegy SET szemeszter=2 WHERE zaroJegyId IN (SELECT * FROM _hibasZarojegyek); +drop table if exists _hibasZarojegyek; diff --git a/mayor-orig/update/orev001920-1-naplo.sql b/mayor-orig/update/orev001920-1-naplo.sql new file mode 100644 index 00000000..0c6b59f2 --- /dev/null +++ b/mayor-orig/update/orev001920-1-naplo.sql @@ -0,0 +1,4 @@ +drop table if exists _hibasHianyzasok; +create table _hibasHianyzasok (select hianyzasId from hianyzas left join ora using (oraId) WHERE ora.tipus IN ('elmarad','elmarad máskor')); +DELETE FROM `hianyzas` WHERE `hianyzasId` IN (SELECT * FROM _hibasHianyzasok); +drop table if exists _hibasHianyzasok; diff --git a/mayor-orig/update/orev001933-1-intezmeny.sql b/mayor-orig/update/orev001933-1-intezmeny.sql new file mode 100644 index 00000000..f241395a --- /dev/null +++ b/mayor-orig/update/orev001933-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE `targy` MODIFY `evkoziKovetelmeny` enum('jegy','féljegy','aláírás','százalékos','három szintű','egyedi felsorolás','szöveges','magatartás','szorgalom','nincs') COLLATE utf8_hungarian_ci DEFAULT 'féljegy'; diff --git a/mayor-orig/update/orev001935-1-intezmeny.sql b/mayor-orig/update/orev001935-1-intezmeny.sql new file mode 100644 index 00000000..45449f10 --- /dev/null +++ b/mayor-orig/update/orev001935-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE `kepzesOraterv` MODIFY `kovetelmeny` enum('jegy','aláírás','százalékos','három szintű','egyedi felsorolás','szöveges','nincs') DEFAULT null; diff --git a/mayor-orig/update/orev001951-1-naplo.sql b/mayor-orig/update/orev001951-1-naplo.sql new file mode 100644 index 00000000..612db796 --- /dev/null +++ b/mayor-orig/update/orev001951-1-naplo.sql @@ -0,0 +1,2 @@ +ALTER TABLE uzeno MODIFY feladoTipus enum('diak','szulo','tanar','admin'); +ALTER TABLE uzenoFlagek MODIFY Tipus enum('diak','szulo','tanar','admin'); \ No newline at end of file diff --git a/mayor-orig/update/orev001968-1-intezmeny.sql b/mayor-orig/update/orev001968-1-intezmeny.sql new file mode 100644 index 00000000..2cf8de9d --- /dev/null +++ b/mayor-orig/update/orev001968-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE `diak` MODIFY `statusz` enum('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') COLLATE utf8_hungarian_ci NOT NULL; +ALTER TABLE `diakJogviszony` MODIFY `statusz` enum('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') COLLATE utf8_hungarian_ci NOT NULL; diff --git a/mayor-orig/update/orev001972-1-intezmeny.sql b/mayor-orig/update/orev001972-1-intezmeny.sql new file mode 100644 index 00000000..911a0cd6 --- /dev/null +++ b/mayor-orig/update/orev001972-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE `tankor` MODIFY `tankorTipus` enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'tanórai'; +UPDATE `tankor` SET `tankorTipus`='tanórai' WHERE `tankorTipus` IS NULL OR `tankorTipus`=''; diff --git a/mayor-orig/update/orev002033-1-intezmeny.sql b/mayor-orig/update/orev002033-1-intezmeny.sql new file mode 100644 index 00000000..f8e2cfd4 --- /dev/null +++ b/mayor-orig/update/orev002033-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table targy add column targyRovidNev varchar(64); diff --git a/mayor-orig/update/orev002055-1-intezmeny.sql b/mayor-orig/update/orev002055-1-intezmeny.sql new file mode 100644 index 00000000..5e3f6c63 --- /dev/null +++ b/mayor-orig/update/orev002055-1-intezmeny.sql @@ -0,0 +1,3 @@ +CREATE TABLE `zaroJegyr2055` SELECT * FROM `zaroJegy`; +ALTER TABLE `zaroJegy` ADD `jegySzemeszter` tinyint(3) unsigned DEFAULT NULL AFTER `evfolyam`; +UPDATE `zaroJegy` SET jegySzemeszter=szemeszter; diff --git a/mayor-orig/update/orev002062-1-intezmeny.sql b/mayor-orig/update/orev002062-1-intezmeny.sql new file mode 100644 index 00000000..a5c3a228 --- /dev/null +++ b/mayor-orig/update/orev002062-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE `zaroJegy` MODIFY `szemeszter` tinyint(3) unsigned DEFAULT NULL; +-- UPDATE `zaroJegy` SET szemeszter = NULL WHERE zaroJegyId IN (SELECT DISTINCT zaroJegyId FROM vizsga); diff --git a/mayor-orig/update/post002037-1.sh b/mayor-orig/update/post002037-1.sh new file mode 100644 index 00000000..b0a850c0 --- /dev/null +++ b/mayor-orig/update/post002037-1.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +FILES="print/module-naplo/mayor.fmt print/module-naplo/mayor.tex" + +echo -e "\n * Felesleges állományok törlése:" + for FILE in $FILES + do + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi + done +echo -e "\n * Új formátum file generálása" + cd $BASEDIR/print/module-naplo/tex/ + fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor + # Ha az fmtutil nem a tex alkönyvtárba hozná létre a mayor.fmt-t, akkor áthelyezzük: + if [ -e "$BASEDIR/print/module-naplo/mayor.fmt" ]; then + mv $BASEDIR/print/module-naplo/mayor.fmt $BASEDIR/print/module-naplo/tex/mayor.fmt + fi +echo " Kész." diff --git a/mayor-orig/update/post002038-1.sh b/mayor-orig/update/post002038-1.sh new file mode 100644 index 00000000..cc91d170 --- /dev/null +++ b/mayor-orig/update/post002038-1.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +echo 'A post update szkriptek tesztelése' +echo 'A post fut!!' >> /tmp/mayor-update-test.log + diff --git a/mayor-orig/update/post002041-1.sh b/mayor-orig/update/post002041-1.sh new file mode 100644 index 00000000..0529fd1d --- /dev/null +++ b/mayor-orig/update/post002041-1.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo -e "\n * Új formátum file generálása (system-wide, az /usr - nek írhatónak kell lennie)" + cd $BASEDIR/print/module-naplo/tex/ + fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor + # Ha az fmtutil nem a tex alkönyvtárba hozná létre a mayor.fmt-t, akkor áthelyezzük: + if [ -e "$BASEDIR/print/module-naplo/mayor.fmt" ]; then + mv $BASEDIR/print/module-naplo/mayor.fmt $BASEDIR/print/module-naplo/tex/mayor.fmt + fi +echo " Kész." diff --git a/mayor-orig/update/post002089-1.sh b/mayor-orig/update/post002089-1.sh new file mode 100644 index 00000000..a5660431 --- /dev/null +++ b/mayor-orig/update/post002089-1.sh @@ -0,0 +1,93 @@ +#!/bin/bash + + +FILES="www/policy/parent/naplo/tanev/helyettesites-pre.php +www/policy/parent/naplo/tanev/helyettesites.php +www/policy/parent/naplo/tanev/orarend-pre.php +www/policy/parent/naplo/tanev/orarend.php +www/policy/public/naplo/tanev/orarend-pre.php +www/policy/public/naplo/tanev/orarend.php +www/policy/public/naplo/tanev/szabadTerem-pre.php +www/policy/public/naplo/tanev/szabadTerem.php +www/policy/public/naplo/tanev/helyettesites-pre.php +www/policy/public/naplo/tanev/helyettesites.php +www/include/modules/naplo/tanev/ascExport.php +www/include/modules/naplo/tanev/convert-Microsoft%Excel%XML.php +www/include/modules/naplo/tanev/convert-RoPaSoft.php +www/include/modules/naplo/tanev/convert-aSc%Timetables%XML%(tankör%nélkül).php +www/include/modules/naplo/tanev/convert-aSc%Timetables%XML%update.php +www/include/modules/naplo/tanev/convert-aSc%Timetables%XML.php +www/include/modules/naplo/tanev/convert-csv.php +www/include/modules/naplo/tanev/convert-default.php +www/include/modules/naplo/tanev/orarendBetolto.php +www/include/modules/naplo/tanev/orarendEllenorzes.php +www/include/modules/naplo/tanev/orarendModosito.php +www/include/modules/naplo/tanev/orarendTankor.php +www/include/modules/naplo/tanev/orarendTeremModositas.php +www/include/modules/naplo/tanev/tanarOrarend.php +www/lang/hu_HU/module-naplo/tanev/ascExport.php +www/lang/hu_HU/module-naplo/tanev/orarend.php +www/lang/hu_HU/module-naplo/tanev/orarendBetolto.php +www/lang/hu_HU/module-naplo/tanev/orarendEllenorzes.php +www/lang/hu_HU/module-naplo/tanev/orarendModosito.php +www/lang/hu_HU/module-naplo/tanev/orarendTankor.php +www/lang/hu_HU/module-naplo/tanev/orarendTeremModositas.php +www/lang/hu_HU/module-naplo/tanev/szabadTerem.php +www/lang/hu_HU/module-naplo/tanev/tanarOrarend.php +www/policy/private/naplo/tanev/ascExport-pre.php +www/policy/private/naplo/tanev/ascExport.php +www/policy/private/naplo/tanev/helyettesites-pre.php +www/policy/private/naplo/tanev/helyettesites.php +www/policy/private/naplo/tanev/orarend-pre.php +www/policy/private/naplo/tanev/orarend.php +www/policy/private/naplo/tanev/orarendBetolto-pre.php +www/policy/private/naplo/tanev/orarendBetolto.php +www/policy/private/naplo/tanev/orarendEllenorzes-pre.php +www/policy/private/naplo/tanev/orarendEllenorzes.php +www/policy/private/naplo/tanev/orarendModosito-pre.php +www/policy/private/naplo/tanev/orarendModosito.php +www/policy/private/naplo/tanev/orarendTankor-pre.php +www/policy/private/naplo/tanev/orarendTankor.php +www/policy/private/naplo/tanev/orarendTeremModositas-pre.php +www/policy/private/naplo/tanev/orarendTeremModositas.php +www/policy/private/naplo/tanev/orarendUtkozes-pre.php +www/policy/private/naplo/tanev/orarendUtkozes.php +www/policy/private/naplo/tanev/szabadTerem-pre.php +www/policy/private/naplo/tanev/szabadTerem.php +www/policy/private/naplo/tanev/tanarOrarend-pre.php +www/policy/private/naplo/tanev/tanarOrarend.php +www/skin/ajax/module-naplo/html/tanev/orarend.phtml +www/skin/ajax/module-naplo/css/tanev/orarend.css +www/skin/classic/module-naplo/css/tanev/ascExport.css +www/skin/classic/module-naplo/css/tanev/helyettesites.css +www/skin/classic/module-naplo/css/tanev/orarend.css +www/skin/classic/module-naplo/css/tanev/orarendBetolto.css +www/skin/classic/module-naplo/css/tanev/orarendEllenorzes.css +www/skin/classic/module-naplo/css/tanev/orarendModosito.css +www/skin/classic/module-naplo/css/tanev/orarendTankor.css +www/skin/classic/module-naplo/css/tanev/orarendTeremModositas.css +www/skin/classic/module-naplo/css/tanev/szabadTerem.css +www/skin/classic/module-naplo/css/tanev/tanarOrarend.css +www/skin/classic/module-naplo/html/tanev/ascExport.phtml +www/skin/classic/module-naplo/html/tanev/helyettesites.phtml +www/skin/classic/module-naplo/html/tanev/orarend.phtml +www/skin/classic/module-naplo/html/tanev/orarendBetolto.phtml +www/skin/classic/module-naplo/html/tanev/orarendEllenorzes.phtml +www/skin/classic/module-naplo/html/tanev/orarendLoad.phtml +www/skin/classic/module-naplo/html/tanev/orarendModosito.phtml +www/skin/classic/module-naplo/html/tanev/orarendTankor.phtml +www/skin/classic/module-naplo/html/tanev/orarendTeremModositas.phtml +www/skin/classic/module-naplo/html/tanev/szabadTerem.phtml +www/skin/classic/module-naplo/html/tanev/tanarOrarend.phtml" + +echo -e "\n Elavult állományok törlése:\n" +for FILE in $FILES; do + FILE=`echo $FILE | sed -e "s/%/ /g"` + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/post002093-1.sh b/mayor-orig/update/post002093-1.sh new file mode 100644 index 00000000..abc0e2bc --- /dev/null +++ b/mayor-orig/update/post002093-1.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +echo 'A post update szkriptek tesztelése' +echo 'A post fut ($BASEDIR)!!' >> /tmp/mayor-update-test.log + +FILE="www/policy/private/naplo/tanev/helyettesites.php" + + echo "$BASEDIR/$FILE" + if [ -e "$BASEDIR/$FILE" ]; then + echo "törölve." + else + echo "nincs." + fi + diff --git a/mayor-orig/update/post002543-1.sh b/mayor-orig/update/post002543-1.sh new file mode 100644 index 00000000..6561517b --- /dev/null +++ b/mayor-orig/update/post002543-1.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +echo 'Településlista hozzáadása a mayor_naplo adatbázishoz' + +FILE="www/policy/private/naplo/tanev/helyettesites.php" + +FILENAME="${BASEDIR}/install/module-naplo/mysql/telepulesLista.sql" + if [ -e "$FILENAME" ]; then + cat $FILENAME | mysql -p$MYSQL_PW -u$MYSQL_USER mayor_naplo + else + echo 'nincs meg a file!' + fi diff --git a/mayor-orig/update/post002698-1.sh b/mayor-orig/update/post002698-1.sh new file mode 100644 index 00000000..0529fd1d --- /dev/null +++ b/mayor-orig/update/post002698-1.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo -e "\n * Új formátum file generálása (system-wide, az /usr - nek írhatónak kell lennie)" + cd $BASEDIR/print/module-naplo/tex/ + fmtutil-sys --cnffile $BASEDIR/print/module-naplo/tex/mayor.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor + # Ha az fmtutil nem a tex alkönyvtárba hozná létre a mayor.fmt-t, akkor áthelyezzük: + if [ -e "$BASEDIR/print/module-naplo/mayor.fmt" ]; then + mv $BASEDIR/print/module-naplo/mayor.fmt $BASEDIR/print/module-naplo/tex/mayor.fmt + fi +echo " Kész." diff --git a/mayor-orig/update/post003057-1.sh b/mayor-orig/update/post003057-1.sh new file mode 100644 index 00000000..847deb78 --- /dev/null +++ b/mayor-orig/update/post003057-1.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Ha telepítve van a XeTeX csomag, akkor ahhoz is generálunk *.fmt-t +if [ -e /usr/bin/xetex ]; then + echo -e "\n * Új XeTeX formátum file generálása (szükséges a texlive-xetex csomag, telepítsük!)" + apt-get --yes --force-yes install texlive-xetex + echo -e "\n * Új XeTeX formátum file generálása (system-wide, az /usr - nek írhatónak kell lennie)" + cd $BASEDIR/print/module-naplo/xetex/ + fmtutil-sys --cnffile $BASEDIR/print/module-naplo/xetex/mayor-xetex.cnf --fmtdir $BASEDIR/print/module-naplo/ --byfmt mayor-xetex +else + echo 'Nincs telepítve a TeXLive XeTeX csomagja (texlive-xetex és ttf-mscorefonts-installer). A __NYOMTATAS_XETEX=true opció, csak a csomag telepítése után használható. +Az opció használatával lehetővé válik speciális karakterek, pl. cirill betűk használata a haladási és osztályozónapló nyomtatványokban.' +fi diff --git a/mayor-orig/update/pre002038-1.sh b/mayor-orig/update/pre002038-1.sh new file mode 100644 index 00000000..c798ce9e --- /dev/null +++ b/mayor-orig/update/pre002038-1.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +echo 'A pre update szkriptek tesztelése' +echo 'A pre fut!!' >> /tmp/mayor-update-test.log + diff --git a/mayor-orig/update/pre002078-1-intezmeny.sql b/mayor-orig/update/pre002078-1-intezmeny.sql new file mode 100644 index 00000000..8a925a2a --- /dev/null +++ b/mayor-orig/update/pre002078-1-intezmeny.sql @@ -0,0 +1,5 @@ + +alter table diak modify fogyatekossag set('tartósan beteg', +'mozgássérült','beszédfogyatékos','hallássérült','látássérült','autista','enyhén értelmi fogyatékos','középsúlyos értelmi fogyatékos','halmozottan fogyatékos', +'diszlexia','diszgráfia','diszkalkulia','iskolai készségek kevert zavarával küzdő','tanulási nehézség','tanulási zavar','kevert specifikus fejlődési zavarok','elektív mutista','hiperaktív','magatartászavar') COLLATE utf8_hungarian_ci DEFAULT NULL; + diff --git a/mayor-orig/update/pre002086-1-intezmeny.sql b/mayor-orig/update/pre002086-1-intezmeny.sql new file mode 100644 index 00000000..33571949 --- /dev/null +++ b/mayor-orig/update/pre002086-1-intezmeny.sql @@ -0,0 +1,27 @@ + +-- intezmeny.telephely létrehozása + +CREATE TABLE telephely ( + telephelyId TINYINT UNSIGNED NOT NULL AUTO_INCREMENT, + rovidNev VARCHAR(16) COLLATE utf8_hungarian_ci NOT NULL, + nev VARCHAR(128) COLLATE utf8_hungarian_ci NOT NULL, + alapertelmezett TINYINT UNSIGNED NOT NULL DEFAULT '0', + cimHelyseg VARCHAR(16) NULL, + cimIrsz VARCHAR(8) NULL, + cimKozteruletNev VARCHAR(32) NULL, + cimKozteruletJelleg ENUM('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő', + 'átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor', + 'határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','lakónegyed','lépcső', + 'liget','major','mélykút','ösvény','park','parkja','part','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor', + 'sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') NULL, + cimHazszam VARCHAR(20) NULL, + telefon VARCHAR(64) NULL, + fax VARCHAR(64) NULL, + email VARCHAR(96) NULL, + honlap VARCHAR(96) NULL, + PRIMARY KEY(telephelyId) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; + +insert into telephely (rovidNev,nev,alapertelmezett,cimHelyseg,cimIrsz,cimKozteruletNev,cimKozteruletJelleg,cimHazszam,telefon,fax,email,honlap) + select rovidNev,nev,alapertelmezett,cimHelyseg,cimIrsz,cimKozteruletNev,cimKozteruletJelleg,cimHazszam,telefon,fax,email,honlap from mayor_naplo.intezmeny + where rovidNev='%INTEZMENY%'; diff --git a/mayor-orig/update/pre002087-1-mayor_naplo.sql b/mayor-orig/update/pre002087-1-mayor_naplo.sql new file mode 100644 index 00000000..c35b88ee --- /dev/null +++ b/mayor-orig/update/pre002087-1-mayor_naplo.sql @@ -0,0 +1,5 @@ + +-- intezmeny.telephely létrehozása +alter table settings add column telephelyId tinyint unsigned; +alter table session add column telephelyId tinyint(3) unsigned default null after intezmeny; + diff --git a/mayor-orig/update/pre002087-2-intezmeny.sql b/mayor-orig/update/pre002087-2-intezmeny.sql new file mode 100644 index 00000000..61a7b8ef --- /dev/null +++ b/mayor-orig/update/pre002087-2-intezmeny.sql @@ -0,0 +1,3 @@ + +alter table osztaly add column telephelyId tinyint(3) unsigned DEFAULT NULL; +alter table osztaly add CONSTRAINT `osztaly_telephely` FOREIGN KEY (`telephelyId`) REFERENCES `telephely` (`telephelyId`) ON DELETE SET NULL ON UPDATE SET NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre002090-1-intezmeny.sql b/mayor-orig/update/pre002090-1-intezmeny.sql new file mode 100644 index 00000000..35831563 --- /dev/null +++ b/mayor-orig/update/pre002090-1-intezmeny.sql @@ -0,0 +1,4 @@ + +alter table terem drop column `telephely`; +alter table terem add column `telephelyId` tinyint(3) unsigned DEFAULT NULL; +alter table terem add constraint `terem_telephely` FOREIGN KEY (`telephelyId`) REFERENCES `telephely` (`telephelyId`) ON DELETE SET NULL ON UPDATE SET NULL; diff --git a/mayor-orig/update/pre002091-1-naplo.sql b/mayor-orig/update/pre002091-1-naplo.sql new file mode 100644 index 00000000..242ab46a --- /dev/null +++ b/mayor-orig/update/pre002091-1-naplo.sql @@ -0,0 +1,2 @@ + +alter table blokk modify exportOraszam decimal(4,2) default 0; \ No newline at end of file diff --git a/mayor-orig/update/pre002094-1-naplo.sql b/mayor-orig/update/pre002094-1-naplo.sql new file mode 100644 index 00000000..615ae0cd --- /dev/null +++ b/mayor-orig/update/pre002094-1-naplo.sql @@ -0,0 +1 @@ +alter table blokk modify exportOraszam decimal(2,1) unsigned; \ No newline at end of file diff --git a/mayor-orig/update/pre002095-1-intezmeny.sql b/mayor-orig/update/pre002095-1-intezmeny.sql new file mode 100644 index 00000000..4631addb --- /dev/null +++ b/mayor-orig/update/pre002095-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table szemeszter modify `statusz` enum('aktív','lezárt','archivált','tervezett') COLLATE utf8_hungarian_ci DEFAULT 'tervezett'; diff --git a/mayor-orig/update/pre002097-1-intezmeny.sql b/mayor-orig/update/pre002097-1-intezmeny.sql new file mode 100644 index 00000000..605c58e9 --- /dev/null +++ b/mayor-orig/update/pre002097-1-intezmeny.sql @@ -0,0 +1,87 @@ + +alter table zaradek add column zaradekIndex tinyint unsigned; + +create temporary table _zaradekIndex (sorszam varchar(5) collate utf8_hungarian_ci,minta varchar(64) collate utf8_hungarian_ci,zaradekIndex tinyint unsigned); + +insert into _zaradekIndex values +('1.','Felvéve%',1), +('1.','Átvéve%',2), +('1.','%áthelyezve%',3), +('1/A.','%',4), +('2.','%',5), +('3.','%',6), +('4.','%',7), +('4/A.','%',8), +('4/B.','%',9), +('4/C.','%',10), +('5.','%miatt.',11), +('5.','%osztályozó%',12), +('6.','%',13), +('7.','%',14), +('8.','%',15), +('9.','%',16), +('10.','%ig.',17), +('10.','%Osztályozó%',18), +('11.','%',19), +('12.','%léphet%',20), +('12.','%befejezte%',21), +('13.','%',22), +('14.','%tehet.',23), +('14.','%léphet.',24), +('15.','%',25), +('15/A.','%',26), +('16.','%',27), +('17.','%',28), +('18.','%',29), +('19.','%',30), +('20.','%',31), +('21.','%osztályozó%',32), +('21.','%beszámoltató%',33), +('21.','%különbözeti%',34), +('21.','%javító%',35), +('22.','%osztályozó%',36), +('22.','%javító%',37), +('23.','%',38), +('24.','%',39), +('25.','%kimaradás%',40), +('25.','%igazolatlan%',41), +('25.','%egészség%',42), +('25.','%térítés%',43), +('25.','%tandíj%',44), +('25.','%átvétel%',45), +('26.','%',46), +('27.','%',47), +('28.','%felszólít%',48), +('28.','%eljárás%',49), +('29.','%',50), +('30.','%szót%',51), +('30.','%szavakat%',52), +('30.','%osztályzatot%',53), +('30.','%osztályzatokat%',54), +('31.','%',55), +('32.','%',56), +('33.','%',57), +('33/A.','%',58), +('34.','%',59), +('35.','%',60), +('36.','%',61), +('37.','%',62), +('38.','%',63), +('39.','%nappal%',64), +('39.','%órával%',65), +('40.','%',66), + +('1/B.','%',67), +('17/A.','%',68), +('17/B.','%',69), +('12/A.','%',70), + +('35/A.','%',100), +('35/B.','%',101), +('35/C.','%',102) + +; + +update zaradek left join _zaradekIndex on zaradek.sorszam=_zaradekIndex.sorszam and szoveg like minta set zaradek.zaradekIndex=_zaradekIndex.zaradekIndex; + +drop table _zaradekIndex; \ No newline at end of file diff --git a/mayor-orig/update/pre002101-1-intezmeny.sql b/mayor-orig/update/pre002101-1-intezmeny.sql new file mode 100644 index 00000000..f51b3bdd --- /dev/null +++ b/mayor-orig/update/pre002101-1-intezmeny.sql @@ -0,0 +1,15 @@ +-- ha a 2086-os nem vette volna fel a telephelyet... + +-- insert into telephely (rovidNev,nev,alapertelmezett,cimHelyseg,cimIrsz,cimKozteruletNev,cimKozteruletJelleg,cimHazszam,telefon,fax,email,honlap) +-- select intezmeny.rovidNev,intezmeny.nev,intezmeny.alapertelmezett,intezmeny.cimHelyseg,intezmeny.cimIrsz,intezmeny.cimKozteruletNev, +-- intezmeny.cimKozteruletJelleg,intezmeny.cimHazszam,intezmeny.telefon,intezmeny.fax,intezmeny.email,intezmeny.honlap +-- from mayor_naplo.intezmeny left join telephely using (nev) +-- where intezmeny.rovidNev='%INTEZMENY%' and telephely.nev is null; + +-- insert into telephely (rovidNev,nev,alapertelmezett,cimHelyseg,cimIrsz,cimKozteruletNev,cimKozteruletJelleg,cimHazszam,telefon,fax,email,honlap) +-- select intezmeny.rovidNev,intezmeny.nev,intezmeny.alapertelmezett,intezmeny.cimHelyseg,intezmeny.cimIrsz,intezmeny.cimKozteruletNev, +-- intezmeny.cimKozteruletJelleg,intezmeny.cimHazszam,intezmeny.telefon,intezmeny.fax,intezmeny.email,intezmeny.honlap +-- from mayor_naplo.intezmeny left join telephely ON (mayor_naplo.intezmeny.nev COLLATE utf8_hungarian_ci = telephely.nev) +-- where intezmeny.rovidNev='%INTEZMENY%' collate utf8_hungarian_ci and telephely.nev collate utf8_hungarian_ci is null; + +-- ezt később javítjuk \ No newline at end of file diff --git a/mayor-orig/update/pre002112-1-intezmeny.sql b/mayor-orig/update/pre002112-1-intezmeny.sql new file mode 100644 index 00000000..998edfca --- /dev/null +++ b/mayor-orig/update/pre002112-1-intezmeny.sql @@ -0,0 +1,14 @@ +-- telephely collate bug javítása + +alter table mayor_naplo.intezmeny CONVERT TO CHARACTER SET 'utf8' COLLATE 'utf8_hungarian_ci'; +alter table mayor_naplo.intezmeny MODIFY `rovidNev` varchar(16) character set 'utf8' collate 'utf8_hungarian_ci' NOT NULL; +alter table mayor_naplo.intezmeny MODIFY `nev` varchar(128) character set 'utf8' collate 'utf8_hungarian_ci' NOT NULL; +alter table mayor_naplo.intezmeny MODIFY `cimHelyseg` varchar(16) character set 'utf8' collate 'utf8_hungarian_ci' default NULL; +alter table mayor_naplo.intezmeny MODIFY `cimIrsz` varchar(8) character set 'utf8' collate 'utf8_hungarian_ci' default NULL; +alter table mayor_naplo.intezmeny MODIFY `cimKozteruletNev` varchar(32) character set 'utf8' collate 'utf8_hungarian_ci' default NULL; + +insert into telephely (rovidNev,nev,alapertelmezett,cimHelyseg,cimIrsz,cimKozteruletNev,cimKozteruletJelleg,cimHazszam,telefon,fax,email,honlap) +select intezmeny.rovidNev,intezmeny.nev,intezmeny.alapertelmezett,intezmeny.cimHelyseg,intezmeny.cimIrsz,intezmeny.cimKozteruletNev, +intezmeny.cimKozteruletJelleg,intezmeny.cimHazszam,intezmeny.telefon,intezmeny.fax,intezmeny.email,intezmeny.honlap +from mayor_naplo.intezmeny left join telephely ON (mayor_naplo.intezmeny.nev COLLATE utf8_hungarian_ci = telephely.nev) +where intezmeny.rovidNev='%INTEZMENY%' collate utf8_hungarian_ci and telephely.nev collate utf8_hungarian_ci is null; diff --git a/mayor-orig/update/pre002137-1-naplo.sql b/mayor-orig/update/pre002137-1-naplo.sql new file mode 100644 index 00000000..0cefe561 --- /dev/null +++ b/mayor-orig/update/pre002137-1-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE hianyzas ADD tankorTipus enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') DEFAULT NULL ; diff --git a/mayor-orig/update/pre002138-1-mayor_naplo.sql b/mayor-orig/update/pre002138-1-mayor_naplo.sql new file mode 100644 index 00000000..80304896 --- /dev/null +++ b/mayor-orig/update/pre002138-1-mayor_naplo.sql @@ -0,0 +1,2 @@ +ALTER TABLE kerelem ADD telephelyId tinyint unsigned default null; +ALTER TABLE kerelem ADD jovahagyasAccount varchar(32) default null AFTER jovahagyasDt; \ No newline at end of file diff --git a/mayor-orig/update/pre002167-1-intezmeny.sql b/mayor-orig/update/pre002167-1-intezmeny.sql new file mode 100644 index 00000000..96c8b26e --- /dev/null +++ b/mayor-orig/update/pre002167-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE diak MODIFY szuletesiHely varchar(32) NOT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre002173-1-naplo.sql b/mayor-orig/update/pre002173-1-naplo.sql new file mode 100644 index 00000000..5e8e1b42 --- /dev/null +++ b/mayor-orig/update/pre002173-1-naplo.sql @@ -0,0 +1,21 @@ +drop procedure if exists update2173; +DELIMITER // +create procedure update2173() +BEGIN + DECLARE done INT DEFAULT 0; + SELECT count(`table_schema`) AS darab from `information_schema`.`columns` where `table_name`='uzeno' and `column_name`='cimzettTipus' + and `table_schema` = (SELECT database()) + and `column_type`!="enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo','osztalyTanar')" + INTO done; + IF done = 0 THEN + SELECT "nothing to do here",database(); + ELSE + ALTER TABLE `uzeno` MODIFY `cimzettTipus` enum('diak','szulo','tanar','tankor','tankorSzulo','munkakozosseg','osztaly','osztalySzulo','osztalyTanar') NULL; + UPDATE `uzeno` SET `cimzettTipus` = "osztalyTanar" WHERE `cimzettTipus`=''; + END IF; + SELECT done; +END; // +DELIMITER ; // +CALL update2173(); +-- A script egyébként felesleges bonyolult, későbbi felhasználás tesztje +drop procedure if exists update2173; diff --git a/mayor-orig/update/pre002176-1-intezmeny.sql b/mayor-orig/update/pre002176-1-intezmeny.sql new file mode 100644 index 00000000..3065fdd1 --- /dev/null +++ b/mayor-orig/update/pre002176-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE `hianyzasOsszesites` ADD tankorTipus enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') DEFAULT NULL; diff --git a/mayor-orig/update/pre002186-1-intezmeny.sql b/mayor-orig/update/pre002186-1-intezmeny.sql new file mode 100644 index 00000000..dcb5e54a --- /dev/null +++ b/mayor-orig/update/pre002186-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE `hianyzasOsszesites` DROP COLUMN tankorTipus; diff --git a/mayor-orig/update/pre002189-1-intezmeny.sql b/mayor-orig/update/pre002189-1-intezmeny.sql new file mode 100644 index 00000000..60a638f7 --- /dev/null +++ b/mayor-orig/update/pre002189-1-intezmeny.sql @@ -0,0 +1,32 @@ +CREATE TABLE `tankorTipus` ( + `tankorTipusId` int(10) unsigned NOT NULL auto_increment, + `oratervi` enum('óratervi','tanórán kívüli') DEFAULT 'óratervi', + `rovidNev` varchar(30) NOT NULL, + `leiras` varchar(255) NOT NULL, + `jelenlet` enum('kötelező','nem kötelező') NOT NULL, + `regisztralando` enum('igen','nem') DEFAULT NULL, + `hianyzasBeleszamit` enum('igen','nem') DEFAULT NULL, + PRIMARY KEY (`tankorTipusId`), + KEY (`rovidNev`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; + +INSERT INTO tankorTipus VALUES (1,'óratervi','óratervi','Óratervi (képzési hálóban kötelező) tanóra','kötelező','igen','igen'); +INSERT INTO tankorTipus VALUES (2,'óratervi','első nyelv','Óratervi (képzési hálóban kötelező) tanóra - első nyelv','kötelező','igen','igen'); +INSERT INTO tankorTipus VALUES (3,'óratervi','második nyelv','Óratervi (képzési hálóban kötelező) tanóra - második nyelv','kötelező','igen','igen'); +INSERT INTO tankorTipus VALUES (4,'tanórán kívüli','tanórán kívüli','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (5,'tanórán kívüli','szakkör','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - szakkör','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (6,'tanórán kívüli','edzés','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - edzés','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (7,'tanórán kívüli','kórus','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - kórus','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (8,'tanórán kívüli','tanulószoba','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - tanulószoba','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (9,'tanórán kívüli','napközi','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - napközi','nem kötelező','igen','nem'); +INSERT INTO tankorTipus VALUES (10,'tanórán kívüli','egyéni foglalkozás','Nem óratervi (képzési hálóban nem szerepló) óra jellegű foglalkozás - egyéni foglalkozás','nem kötelező','igen','nem'); + +ALTER TABLE tankor ADD tankorTipusId int(10) unsigned NULL DEFAULT NULL; + +UPDATE tankor SET tankorTipusId=1 WHERE tankorTipus='tanórai'; +UPDATE tankor SET tankorTipusId=4 WHERE tankorTipus='tanórán kívüli'; +UPDATE tankor SET tankorTipusId=2 WHERE tankorTipus='első nyelv'; +UPDATE tankor SET tankorTipusId=3 WHERE tankorTipus='második nyelv'; +UPDATE tankor SET tankorTipusId=10 WHERE tankorTipus='egyéni foglalkozás'; +UPDATE tankor SET tankorTipusId=4 WHERE tankorTipus='délutáni'; + diff --git a/mayor-orig/update/pre002189-2-intezmeny.sql b/mayor-orig/update/pre002189-2-intezmeny.sql new file mode 100644 index 00000000..65e660ba --- /dev/null +++ b/mayor-orig/update/pre002189-2-intezmeny.sql @@ -0,0 +1,3 @@ +-- érdemjegyet kap +ALTER TABLE `tankorDiak` ADD erdemjegyet enum('kap','nem kap') DEFAULT 'kap'; +UPDATE `tankorDiak` SET `erdemjegyet`='kap'; diff --git a/mayor-orig/update/pre002189-3-intezmeny.sql b/mayor-orig/update/pre002189-3-intezmeny.sql new file mode 100644 index 00000000..8894f44b --- /dev/null +++ b/mayor-orig/update/pre002189-3-intezmeny.sql @@ -0,0 +1,32 @@ +drop function if exists diakNaploSorszam; + + DELIMITER // + CREATE function diakNaploSorszam ( thisDiakId INT, thisTanev INT, thisOsztalyId INT ) returns INT + READS SQL DATA + BEGIN + DECLARE inKezdesDt,inZarasDt DATE; + DECLARE a,i INT; -- for loop + DECLARE b DATE; -- for loop + DECLARE cur1 + CURSOR FOR + SELECT diakId,IF(beDtinKezdesDt) ORDER BY d, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; + DECLARE CONTINUE HANDLER FOR NOT FOUND RETURN NULL; + + SELECT kezdesDt FROM szemeszter WHERE tanev=thisTanev AND szemeszter=1 INTO inKezdesDt; + SELECT MAX(zarasDt) FROM szemeszter WHERE tanev=thisTanev INTO inZarasDt; + SET i := 1; + OPEN cur1; + lo: LOOP + FETCH cur1 INTO a,b; + IF a = thisDiakId THEN + LEAVE lo; + END IF; + SET i := i+1; + END LOOP; + CLOSE cur1; + return i; + END; // + DELIMITER ; // + +-- Minta : select (70, 2010, 4); +-- Minta: select osztalyNaploSorszamByDiak(diakId,2010,4) AS ns, diakId FROM osztalyDiak WHERE osztalyId=4 ORDER BY ns; diff --git a/mayor-orig/update/pre002189-4-naplo.sql b/mayor-orig/update/pre002189-4-naplo.sql new file mode 100644 index 00000000..43597f47 --- /dev/null +++ b/mayor-orig/update/pre002189-4-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE bejegyzes MODIFY szoveg TEXT; diff --git a/mayor-orig/update/pre002189-5-naplo.sql b/mayor-orig/update/pre002189-5-naplo.sql new file mode 100644 index 00000000..82f239d9 --- /dev/null +++ b/mayor-orig/update/pre002189-5-naplo.sql @@ -0,0 +1,7 @@ +ALTER TABLE hianyzas ADD tankorTipusId int unsigned NULL DEFAULT NULL; +UPDATE hianyzas SET tankorTipusId=1 WHERE tankorTipus='tanórai'; +UPDATE hianyzas SET tankorTipusId=4 WHERE tankorTipus='tanórán kívüli'; +UPDATE hianyzas SET tankorTipusId=2 WHERE tankorTipus='első nyelv'; +UPDATE hianyzas SET tankorTipusId=3 WHERE tankorTipus='második nyelv'; +UPDATE hianyzas SET tankorTipusId=10 WHERE tankorTipus='egyéni foglalkozás'; +UPDATE hianyzas SET tankorTipusId=4 WHERE tankorTipus='délutáni'; diff --git a/mayor-orig/update/pre002192-1-intezmeny.sql b/mayor-orig/update/pre002192-1-intezmeny.sql new file mode 100644 index 00000000..00ecf2af --- /dev/null +++ b/mayor-orig/update/pre002192-1-intezmeny.sql @@ -0,0 +1,4 @@ + +alter table osztalyDiak drop primary key; +alter table osztalyDiak add primary key (`osztalyId`,`diakId`,`beDt`); + diff --git a/mayor-orig/update/pre002203-1-intezmeny.sql b/mayor-orig/update/pre002203-1-intezmeny.sql new file mode 100644 index 00000000..a272d4bb --- /dev/null +++ b/mayor-orig/update/pre002203-1-intezmeny.sql @@ -0,0 +1,22 @@ +ALTER TABLE tankor CHANGE tankorTipus _tankorTipus enum('tanórai','tanórán kívüli','első nyelv','második nyelv','egyéni foglalkozás','délutáni') DEFAULT 'tanórai'; +ALTER TABLE tankor CHANGE jelenlet _jelenlet enum('kötelező','nem kötelező'); +ALTER TABLE tankorDiak CHANGE jelenlet _jelenlet enum('kötelező','nem kötelező') DEFAULT 'kötelező'; +ALTER TABLE tankorDiak CHANGE kovetelmeny _kovetelmeny enum('aláírás','vizsga','jegy') DEFAULT 'jegy'; +ALTER TABLE tankorDiak ADD oralatogatasAlol enum('felmentve','nincs felmentve') DEFAULT 'nincs felmentve'; +UPDATE tankorDiak SET oralatogatasAlol='nincs felmentve' WHERE _jelenlet='kötelező'; +UPDATE tankorDiak SET oralatogatasAlol='felmentve' WHERE _jelenlet='nem kötelező'; +ALTER TABLE tankorDiak DROP oralatogatasAlol; +ALTER TABLE tankorDiak DROP erdemjegyet ; +CREATE TABLE `tankorDiakFelmentes` ( + `tankorId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `beDt` date NOT NULL DEFAULT '0000-00-00', + `kiDt` date DEFAULT NULL, + `felmentesTipus` enum('óralátogatás alól','értékelés alól') COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tankorId`,`diakId`,`beDt`), + KEY `tankorDiakFM_FKIndex1` (`tankorId`), + KEY `diakId` (`diakId`), + CONSTRAINT `tankorDiakFM_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tankorDiakFM_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; +INSERT INTO tankorDiakFelmentes SELECT tankorId,diakId,beDt,kiDt,'óralátogatás alól' AS felmentesTipus FROM tankorDiak WHERE _jelenlet='nem kötelező'; diff --git a/mayor-orig/update/pre002203-1-naplo.sql b/mayor-orig/update/pre002203-1-naplo.sql new file mode 100644 index 00000000..5759106b --- /dev/null +++ b/mayor-orig/update/pre002203-1-naplo.sql @@ -0,0 +1 @@ +GRANT EXECUTE ON %INTEZMENYDB%.* TO 'mayor_naplo_read'@'localhost'; diff --git a/mayor-orig/update/pre002223-1-naplo.sql b/mayor-orig/update/pre002223-1-naplo.sql new file mode 100644 index 00000000..190c8eab --- /dev/null +++ b/mayor-orig/update/pre002223-1-naplo.sql @@ -0,0 +1,3 @@ +create temporary table _hianyzasr2223 select hianyzasId,oraId,tankorId,%INTEZMENYDB%.tankor.tankorTipusId from hianyzas LEFT JOIN ora USING (oraId) LEFT JOIN %INTEZMENYDB%.tankor USING (tankorId) where hianyzas.tankorTipusId is null; +create index hh on _hianyzasr2223 (hianyzasId); +update hianyzas SET tankorTipusId = (SELECT tankorTipusId FROM _hianyzasr2223 WHERE hianyzasId=hianyzas.hianyzasId) WHERE hianyzas.tankorTipusId IS NULL; diff --git a/mayor-orig/update/pre002238-1-naplo.sql b/mayor-orig/update/pre002238-1-naplo.sql new file mode 100644 index 00000000..9246b2fe --- /dev/null +++ b/mayor-orig/update/pre002238-1-naplo.sql @@ -0,0 +1,13 @@ +CREATE TABLE `audit` ( + `auditId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, + `dt` DATETIME NOT NULL, + `userAccount` VARCHAR(32) NULL, + `psf` VARCHAR(255) NULL, + `params` VARCHAR(255) NULL, + `fejlec` VARCHAR(255) NULL, + `szoveg` TEXT NULL, + `felelosCsoport` VARCHAR(64) NULL, + `felelos` VARCHAR(64) NULL, + `lezarasDt` DATETIME NULL, + PRIMARY KEY (`auditId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; \ No newline at end of file diff --git a/mayor-orig/update/pre002241-1-intezmeny.sql b/mayor-orig/update/pre002241-1-intezmeny.sql new file mode 100644 index 00000000..abedfbd7 --- /dev/null +++ b/mayor-orig/update/pre002241-1-intezmeny.sql @@ -0,0 +1,5 @@ +-- A *Helyseg mezők megnövelése +ALTER TABLE `telephely` MODIFY `cimHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE `szulo` MODIFY `cimHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE `diak` MODIFY `lakhelyHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE `diak` MODIFY `tartHelyseg` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002241-1-mayor_naplo.sql b/mayor-orig/update/pre002241-1-mayor_naplo.sql new file mode 100644 index 00000000..0487ad90 --- /dev/null +++ b/mayor-orig/update/pre002241-1-mayor_naplo.sql @@ -0,0 +1,6 @@ +-- A cim* mezők törlése az inzezmeny táblából (átkerült a telephelybe) +-- ALTER TABLE `mayor_naplo`.`intezmeny` DROP COLUMN `cimHelyseg`; +-- ALTER TABLE `mayor_naplo`.`intezmeny` DROP COLUMN `cimIrsz`; +-- ALTER TABLE `mayor_naplo`.`intezmeny` DROP COLUMN `cimKozteruletNev`; +-- ALTER TABLE `mayor_naplo`.`intezmeny` DROP COLUMN `cimKozteruletJelleg`; +-- ALTER TABLE `mayor_naplo`.`intezmeny` DROP COLUMN `cimHazszam`; diff --git a/mayor-orig/update/pre002244-1-naplo.sql b/mayor-orig/update/pre002244-1-naplo.sql new file mode 100644 index 00000000..3c642225 --- /dev/null +++ b/mayor-orig/update/pre002244-1-naplo.sql @@ -0,0 +1,3 @@ +alter table jegy DROP FOREIGN KEY `jegy_ibfk_3`; +alter table jegy ADD CONSTRAINT FOREIGN KEY `jegy_ibfk_3` (`dolgozatId`) REFERENCES `dolgozat` (`dolgozatId`) ON DELETE SET NULL ON UPDATE CASCADE; + diff --git a/mayor-orig/update/pre002247-1-intezmeny.sql b/mayor-orig/update/pre002247-1-intezmeny.sql new file mode 100644 index 00000000..53869c05 --- /dev/null +++ b/mayor-orig/update/pre002247-1-intezmeny.sql @@ -0,0 +1,15 @@ + +update zaroJegy left join szemeszter using (tanev,szemeszter) set dt=zarasDt where dt is null; +alter table zaroJegy drop FOREIGN KEY `zaroJegy_ibfk_1`; +alter table zaroJegy drop javitoJegy; + +alter table zaroJegy change tanev _tanev smallint(5) unsigned NOT NULL; +alter table zaroJegy change szemeszter _szemeszter tinyint(3) unsigned DEFAULT NULL; + +alter table zaroJegy change dt modositasDt date NOT NULL; +alter table zaroJegy change jegySzemeszter felev tinyint(3) unsigned DEFAULT NULL; +alter table zaroJegy add hivatalosDt date NOT NULL; + +update zaroJegy left join vizsga using (zaroJegyId) set hivatalosDt=vizsgaDt where vizsgaId is not null; +update zaroJegy left join szemeszter on tanev=_tanev AND szemeszter=_szemeszter set hivatalosDt=zarasDt where hivatalosDt='0000-00-00'; + diff --git a/mayor-orig/update/pre002262-1-intezmeny.sql b/mayor-orig/update/pre002262-1-intezmeny.sql new file mode 100644 index 00000000..e5662811 --- /dev/null +++ b/mayor-orig/update/pre002262-1-intezmeny.sql @@ -0,0 +1,3 @@ +ALTER TABLE vizsga ADD felev tinyint unsigned null AFTER `evfolyam`; +-- default a második félév +UPDATE vizsga SET felev=(SELECT felev FROM zaroJegy where zaroJegyId=vizsga.zaroJegyId); \ No newline at end of file diff --git a/mayor-orig/update/pre002281-1-intezmeny.sql b/mayor-orig/update/pre002281-1-intezmeny.sql new file mode 100644 index 00000000..cb7f0763 --- /dev/null +++ b/mayor-orig/update/pre002281-1-intezmeny.sql @@ -0,0 +1,3 @@ + +alter table telephely change nev telephelyNev varchar(128) NOT NULL; +alter table telephely change rovidNev telephelyRovidNev varchar(16) NOT NULL; diff --git a/mayor-orig/update/pre002312-1-intezmeny.sql b/mayor-orig/update/pre002312-1-intezmeny.sql new file mode 100644 index 00000000..fb0e62c8 --- /dev/null +++ b/mayor-orig/update/pre002312-1-intezmeny.sql @@ -0,0 +1,4 @@ +ALTER TABLE tankorDiakFelmentes DROP PRIMARY KEY; +ALTER TABLE tankorDiakFelmentes ADD PRIMARY KEY (tankorId,diakId,beDt,felmentesTipus); +ALTER TABLE tankorDiakFelmentes ADD nap tinyint unsigned NULL; +ALTER TABLE tankorDiakFelmentes ADD ora tinyint unsigned NULL; diff --git a/mayor-orig/update/pre002321-1-intezmeny.sql b/mayor-orig/update/pre002321-1-intezmeny.sql new file mode 100644 index 00000000..98786d45 --- /dev/null +++ b/mayor-orig/update/pre002321-1-intezmeny.sql @@ -0,0 +1,3 @@ +alter table tankorDiakFelmentes drop primary key; +alter table tankorDiakFelmentes add tankorDiakFelmentesId int unsigned not null primary key auto_increment; +alter table tankorDiakFelmentes add KEY (`tankorId`,`diakId`,`beDt`,`felmentesTipus`); diff --git a/mayor-orig/update/pre002325-1-naplo.sql b/mayor-orig/update/pre002325-1-naplo.sql new file mode 100644 index 00000000..38661ef0 --- /dev/null +++ b/mayor-orig/update/pre002325-1-naplo.sql @@ -0,0 +1 @@ +alter table hianyzas add rogzitoTanarId int unsigned null; diff --git a/mayor-orig/update/pre002331-1-intezmeny.sql b/mayor-orig/update/pre002331-1-intezmeny.sql new file mode 100644 index 00000000..5bce6785 --- /dev/null +++ b/mayor-orig/update/pre002331-1-intezmeny.sql @@ -0,0 +1,2 @@ +alter table tankorTipus add jelleg ENUM('elmélet','gyakorlat') DEFAULT 'elmélet'; +INSERT INTO tankorTipus (oratervi,rovidNev,leiras,jelenlet,regisztralando,hianyzasBeleszamit,jelleg) VALUES ('óratervi','gyakorlat','Óratervi (képzési hálóban kötelező) gyakorlat','kötelező','igen','igen','gyakorlat'); diff --git a/mayor-orig/update/pre002333-1-intezmeny.sql b/mayor-orig/update/pre002333-1-intezmeny.sql new file mode 100644 index 00000000..779a103f --- /dev/null +++ b/mayor-orig/update/pre002333-1-intezmeny.sql @@ -0,0 +1,13 @@ +CREATE TABLE `diakHianyzas` ( + `diakHianyzasId` int(10) unsigned NOT NULL auto_increment, + `diakId` int(10) unsigned NOT NULL, + `dt` date NOT NULL, + `igazolt` tinyint(3) unsigned null, + `igazolatlan` tinyint(3) unsigned null, + `beszamit` tinyint(1) unsigned null, + `megjegyzes` tinytext null, + PRIMARY KEY (`diakHianyzasId`), + KEY `diakHianyzas_FKIndex1` (`diakId`), + CONSTRAINT `diakHianyzas_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + \ No newline at end of file diff --git a/mayor-orig/update/pre002343-1-intezmeny.sql b/mayor-orig/update/pre002343-1-intezmeny.sql new file mode 100644 index 00000000..2fa1b7b9 --- /dev/null +++ b/mayor-orig/update/pre002343-1-intezmeny.sql @@ -0,0 +1,11 @@ +DROP TABLE IF EXISTS tanarKepesites; +CREATE TABLE `tanarKepesites` ( + `tanarId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`tanarId`,`targyId`), + KEY `tanarKepesites_FKIndex1` (`tanarId`), + KEY `tanarKepesites_FKIndex2` (`targyId`), + CONSTRAINT `tanarKepesites_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanarKepesites_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + \ No newline at end of file diff --git a/mayor-orig/update/pre002397-1-intezmeny.sql b/mayor-orig/update/pre002397-1-intezmeny.sql new file mode 100644 index 00000000..61817515 --- /dev/null +++ b/mayor-orig/update/pre002397-1-intezmeny.sql @@ -0,0 +1,4 @@ + +alter table idoszak modify +`tipus` enum('zárás','bizonyítvány írás','vizsga','előzetes tárgyválasztás','tárgyválasztás','tankörnévsor módosítás','fogadóóra jelentkezés') +COLLATE utf8_hungarian_ci DEFAULT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre002460-1-intezmeny.sql b/mayor-orig/update/pre002460-1-intezmeny.sql new file mode 100644 index 00000000..3a2ed79c --- /dev/null +++ b/mayor-orig/update/pre002460-1-intezmeny.sql @@ -0,0 +1,3 @@ + +alter table szovegesErtekeles drop key `sze_UKindex1`; +alter table szovegesErtekeles add unique key `sze_UKindex1` (`diakId`,`targyId`,`tanev`,`szemeszter`); diff --git a/mayor-orig/update/pre002468-1-intezmeny.sql b/mayor-orig/update/pre002468-1-intezmeny.sql new file mode 100644 index 00000000..48077c91 --- /dev/null +++ b/mayor-orig/update/pre002468-1-intezmeny.sql @@ -0,0 +1,31 @@ + +drop function if exists diakNaploSorszam; + + DELIMITER // + CREATE function diakNaploSorszam ( thisDiakId INT, thisTanev INT, thisOsztalyId INT ) returns INT + READS SQL DATA + BEGIN + DECLARE inKezdesDt,inZarasDt DATE; + DECLARE a,i INT; -- for loop + DECLARE b DATE; -- for loop + DECLARE cur1 + CURSOR FOR + SELECT diakId,IF(beDt=inKezdesDt) ORDER BY d, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; + DECLARE CONTINUE HANDLER FOR NOT FOUND RETURN NULL; + + SELECT kezdesDt FROM szemeszter WHERE tanev=thisTanev AND szemeszter=1 INTO inKezdesDt; + SELECT MAX(zarasDt) FROM szemeszter WHERE tanev=thisTanev INTO inZarasDt; + SET i := 1; + OPEN cur1; + lo: LOOP + FETCH cur1 INTO a,b; + IF a = thisDiakId THEN + LEAVE lo; + END IF; + SET i := i+1; + END LOOP; + CLOSE cur1; + return i; + END; // + DELIMITER ; // + diff --git a/mayor-orig/update/pre002472-1-intezmeny.sql b/mayor-orig/update/pre002472-1-intezmeny.sql new file mode 100644 index 00000000..6c1b41fd --- /dev/null +++ b/mayor-orig/update/pre002472-1-intezmeny.sql @@ -0,0 +1,37 @@ +-- jelenleg 2472 +CREATE TABLE `tanmenet` ( + `tanmenetId` int(10) unsigned NOT NULL auto_increment, + `targyId` smallint(5) unsigned NOT NULL, + `evfolyam` tinyint(3) unsigned NOT NULL, + `tanmenetNev` varchar(128), + `oraszam` smallint unsigned, + `dt` DATE NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + `jovahagyva` tinyint(3) unsigned DEFAULT '0', + PRIMARY KEY (`tanmenetId`), + CONSTRAINT `tanmenet_ibfk_1` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenet_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanmenetTemakor` ( + `tanmenetId` int(10) unsigned NOT NULL, + `sorszam` tinyint unsigned NOT NULL, + `oraszam` tinyint unsigned NOT NULL, + `temakorMegnevezes` varchar(255), + PRIMARY KEY (`tanmenetId`, `sorszam` ), + CONSTRAINT `tanmenetTemakor_ibfk_1` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanmenetTankor` ( + `tankorId` int(10) unsigned NOT NULL, + `tanev` smallint(5) unsigned NOT NULL, + `tanmenetId` int(10) unsigned NOT NULL, + KEY `tanmenetTankor_FKIndex1` (`tankorId`), + CONSTRAINT `tanmenetTankor_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenetTankor_ibfk_2` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanmenetTankor_ibfk_3` FOREIGN KEY (`tanev`) REFERENCES `szemeszter` (`tanev`) ON DELETE NO ACTION ON UPDATE NO ACTION +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +alter table idoszak modify + `tipus` enum('zárás','bizonyítvány írás','vizsga','előzetes tárgyválasztás','tárgyválasztás','tankörnévsor módosítás','fogadóóra jelentkezés','tanmenet leadás') + COLLATE utf8_hungarian_ci DEFAULT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre002483-1-intezmeny.sql b/mayor-orig/update/pre002483-1-intezmeny.sql new file mode 100644 index 00000000..3bf73443 --- /dev/null +++ b/mayor-orig/update/pre002483-1-intezmeny.sql @@ -0,0 +1,26 @@ + +-- create bejegyzesTipusId + +DROP TABLE IF EXISTS `bejegyzesTipus`; +CREATE TABLE `bejegyzesTipus` ( + `bejegyzesTipusId` tinyint unsigned NOT NULL auto_increment, + `tipus` enum('dicséret','fegyelmi','üzenet') COLLATE utf8_hungarian_ci NOT NULL, + `fokozat` tinyint(3) unsigned NOT NULL, + `bejegyzesTipusNev` varchar(128), + `hianyzasDb` tinyint(3) unsigned DEFAULT NULL, + `jogosult` SET('szaktanár','osztályfőnök','vezetőség','admin') COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`bejegyzesTipusId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `bejegyzesTipus` (`bejegyzesTipusId`,`tipus`,`fokozat`,`bejegyzesTipusNev`,`hianyzasDb`) VALUES +(1,'fegyelmi',1,NULL,NULL),(2,'fegyelmi',2,NULL,NULL),(3,'fegyelmi',3,NULL,NULL),(4,'fegyelmi',4,NULL,NULL),(5,'fegyelmi',5,NULL,NULL), +(6,'fegyelmi',6,NULL,NULL),(7,'fegyelmi',7,NULL,NULL),(8,'fegyelmi',8,NULL,NULL),(9,'fegyelmi',9,NULL,NULL),(10,'fegyelmi',10,NULL,NULL), +(11,'fegyelmi',11,NULL,NULL),(12,'fegyelmi',12,NULL,NULL),(13,'fegyelmi',13,NULL,NULL),(14,'fegyelmi',14,NULL,NULL),(15,'fegyelmi',15,NULL,NULL), +(16,'fegyelmi',16,NULL,NULL),(17,'fegyelmi',17,NULL,NULL),(18,'fegyelmi',18,NULL,NULL),(19,'fegyelmi',19,NULL,NULL),(20,'fegyelmi',20,NULL,NULL), +(21,'dicséret',1,NULL,NULL),(22,'dicséret',2,NULL,NULL),(23,'dicséret',3,NULL,NULL),(24,'dicséret',4,NULL,NULL),(25,'dicséret',5,NULL,NULL), +(26,'dicséret',6,NULL,NULL),(27,'dicséret',7,NULL,NULL),(28,'dicséret',8,NULL,NULL),(29,'dicséret',9,NULL,NULL),(30,'dicséret',10,NULL,NULL), +(31,'dicséret',11,NULL,NULL),(32,'dicséret',12,NULL,NULL),(33,'dicséret',13,NULL,NULL),(34,'dicséret',14,NULL,NULL),(35,'dicséret',15,NULL,NULL), +(36,'dicséret',16,NULL,NULL),(37,'dicséret',17,NULL,NULL),(38,'dicséret',18,NULL,NULL),(39,'dicséret',19,NULL,NULL),(40,'dicséret',20,NULL,NULL), +(50,'üzenet',0,'üzenet',NULL); + +UPDATE `bejegyzesTipus` SET `jogosult`='szaktanár,osztályfőnök,vezetőség,admin' WHERE `fokozat`=0; \ No newline at end of file diff --git a/mayor-orig/update/pre002483-2-naplo.sql b/mayor-orig/update/pre002483-2-naplo.sql new file mode 100644 index 00000000..dfb24919 --- /dev/null +++ b/mayor-orig/update/pre002483-2-naplo.sql @@ -0,0 +1,41 @@ +-- drop existing key and columns +drop procedure if exists drop_column; +delimiter ';;' +create procedure drop_column() +begin + if exists (select * from information_schema.table_constraints where table_schema=database() and table_name = 'bejegyzes' and constraint_name='bejegyzes_ibfk_3') then + alter table `bejegyzes` drop foreign key `bejegyzes_ibfk_3`; + end if; + if exists (select * from information_schema.columns where table_schema = database() and table_name = 'bejegyzes' and column_name = 'bejegyzesTipusId') then + alter table `bejegyzes` drop column `bejegyzesTipusId`; + end if; + if exists (select * from information_schema.columns where table_schema = database() and table_name = 'bejegyzes' and column_name = 'hianyzasDb') then + alter table `bejegyzes` drop column `hianyzasDb`; + end if; +end;; +delimiter ';' +call drop_column(); + +-- alter table bejegyzes (add column) +alter table `bejegyzes` add column `bejegyzesTipusId` tinyint(3) unsigned; +alter table `bejegyzes` add column `hianyzasDb` tinyint(3) unsigned DEFAULT NULL; + +-- update bejegyzes +update `bejegyzes` left join `%INTEZMENYDB%`.`bejegyzesTipus` +on `bejegyzes`.`tipus`=`bejegyzesTipus`.`tipus` and (`bejegyzes`.`fokozat`=`bejegyzesTipus`.`fokozat` or `bejegyzes`.`tipus`='üzenet') +set `bejegyzes`.`bejegyzesTipusId`=`bejegyzesTipus`.`bejegyzesTipusId`; + +-- Még nincsenek a bejegyzesTipus táblában beállítva a hianyzasDb értékek +-- -- update `bejegyzes` left join `%INTEZMENYDB%`.`bejegyzesTipus` using (`bejegyzesTipusId`) +-- -- set `bejegyzes`.`hianyzasDb`=`bejegyzesTipus`.`hianyzasDb` where `szoveg`='Igazolatlan hiányzás'; +-- Ezért fix 1-re állítjuk (hogy pozitív legyen - látszik, hogy hiányzásért kapta) +update `bejegyzes` left join `%INTEZMENYDB%`.`bejegyzesTipus` using (`bejegyzesTipusId`) + set `bejegyzes`.`hianyzasDb`=1 where `szoveg`='Igazolatlan hiányzás' and `bejegyzes`.`tipus`='fegyelmi'; + +-- alter table bejegyzes (drop column) +alter table `bejegyzes` drop column `fokozat`; +alter table `bejegyzes` drop column `tipus`; +alter table `bejegyzes` modify `bejegyzesTipusId` tinyint(3) unsigned NOT NULL; +alter table `bejegyzes` ADD FOREIGN KEY `bejegyzes_ibfk_3` (`bejegyzesTipusId`) + REFERENCES `%INTEZMENYDB%`.`bejegyzesTipus` (`bejegyzesTipusId`) ON DELETE NO ACTION ON UPDATE CASCADE; + diff --git a/mayor-orig/update/pre002492-1-naplo.sql b/mayor-orig/update/pre002492-1-naplo.sql new file mode 100644 index 00000000..ebb8d121 --- /dev/null +++ b/mayor-orig/update/pre002492-1-naplo.sql @@ -0,0 +1,13 @@ +alter table `nap` add munkatervId tinyint unsigned default null; +CREATE TABLE `munkaterv` ( + `munkatervId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + `munkatervNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tanitasiNap` smallint(6) DEFAULT NULL, + `vegzosZarasDt` date DEFAULT NULL, + `tanitasNelkuliMunkanap` smallint(6) DEFAULT NULL, + PRIMARY KEY (`munkatervId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +alter table nap add foreign key IBFK_munkatervId (munkatervId) REFERENCES munkaterv (munkatervId) ON DELETE CASCADE ON UPDATE CASCADE ; +create table munkatervOsztaly (munkatervId tinyint not null, osztalyId int(10) unsigned not null, PRIMARY KEY (munkatervId,osztalyId)) ENGINE=InnoDB default CHARSET=utf8 COLLATE=utf8_hungarian_ci; +alter table munkatervOsztaly add foreign key IBFK_osztalyId (osztalyId) REFERENCES %INTEZMENYDB%.osztaly (osztalyId) ON DELETE CASCADE ON UPDATE CASCADE ; +-- alter table munkatervOsztaly add foreign key IBFK_munkatervId (munkatervId) REFERENCES munkaterv (munkatervId) ON DELETE CASCADE ON UPDATE CASCADE ; diff --git a/mayor-orig/update/pre002492-2-naplo.sql b/mayor-orig/update/pre002492-2-naplo.sql new file mode 100644 index 00000000..24cb43c8 --- /dev/null +++ b/mayor-orig/update/pre002492-2-naplo.sql @@ -0,0 +1,4 @@ +INSERT INTO munkaterv (munkatervId,munkatervNev) VALUES (1,'alapértelmezett'); +UPDATE nap SET munkatervId=1 WHERE munkatervId IS NULL; + alter table ora drop foreign key `ora_ibfk_5`; + alter table nap drop primary key, add primary key (`munkatervId`,`dt`); \ No newline at end of file diff --git a/mayor-orig/update/pre002493-1-naplo.sql b/mayor-orig/update/pre002493-1-naplo.sql new file mode 100644 index 00000000..dda44b89 --- /dev/null +++ b/mayor-orig/update/pre002493-1-naplo.sql @@ -0,0 +1,2 @@ +alter table munkatervOsztaly modify munkatervId tinyint(3) unsigned not null; +alter table munkatervOsztaly add foreign key IBFK_munkatervId (munkatervId) REFERENCES munkaterv (munkatervId) ON DELETE CASCADE ON UPDATE CASCADE ; \ No newline at end of file diff --git a/mayor-orig/update/pre002515-1-naplo.sql b/mayor-orig/update/pre002515-1-naplo.sql new file mode 100644 index 00000000..aec99905 --- /dev/null +++ b/mayor-orig/update/pre002515-1-naplo.sql @@ -0,0 +1,8 @@ +DROP TABLE IF EXISTS `hianyzasHozott`; +CREATE TABLE `hianyzasHozott` ( + `diakId` int(10) unsigned NOT NULL, + `statusz` enum('igazolt','igazolatlan') COLLATE utf8_hungarian_ci DEFAULT NULL, + `dbHianyzas` tinyint(3) unsigned DEFAULT NULL, + `dt` date DEFAULT NULL, + CONSTRAINT `hianyzasHozott_IBFK1` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002521-1-intezmeny.sql b/mayor-orig/update/pre002521-1-intezmeny.sql new file mode 100644 index 00000000..26f7190f --- /dev/null +++ b/mayor-orig/update/pre002521-1-intezmeny.sql @@ -0,0 +1 @@ +alter table tanmenetTemakor modify temakorMegnevezes text; diff --git a/mayor-orig/update/pre002553-1-intezmeny.sql b/mayor-orig/update/pre002553-1-intezmeny.sql new file mode 100644 index 00000000..d0ffd6ef --- /dev/null +++ b/mayor-orig/update/pre002553-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE tanar ADD hetiMunkaora decimal(3,1) DEFAULT 0; diff --git a/mayor-orig/update/pre002559-1.sh b/mayor-orig/update/pre002559-1.sh new file mode 100644 index 00000000..8f347203 --- /dev/null +++ b/mayor-orig/update/pre002559-1.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +FILES="update/pre003553-1-intezmeny.sql" +echo -e "\n Elavult állományok törlése:\n" + +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e $BASEDIR/$FILE ]; then + rm -f $BASEDIR/$FILE + echo "törölve." + else + echo "nincs." + fi +done diff --git a/mayor-orig/update/pre002564-1-mayor_naplo.sql b/mayor-orig/update/pre002564-1-mayor_naplo.sql new file mode 100644 index 00000000..c9538d8a --- /dev/null +++ b/mayor-orig/update/pre002564-1-mayor_naplo.sql @@ -0,0 +1,15 @@ +CREATE TABLE IF NOT EXISTS `kirTargy` ( + `kirTargyId` smallint(5) unsigned NOT NULL, + `kirTargyNev` varchar(255) NULL, + PRIMARY KEY (`kirTargyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; +INSERT INTO `kirTargy` VALUES (3,'Magyar nyelv és irodalom'),(4,'Nemzetiségi nyelv és irodalom'),(5,'Nemzetiségi nyelv'),(6,'Angol nyelv'),(7,'Német nyelv'),(8,'Francia nyelv'),(9,'Olasz nyelv'),(10,'Spanyol nyelv'),(11,'Orosz nyelv'),(12,'Latin nyelv'),(14,'Matematika'),(15,'Társadalmi ismeretek'),(16,'Filozófia'),(17,'Hittan (és erkölcstan)'),(18,'Emberismeret, etika'),(19,'Történelem'),(20,'Állampolgári ismeretek'),(21,'Hon‐ és népismeret'),(22,'Természetismeret'),(23,'Fizika'),(24,'Kémia'),(25,'Biológia'),(26,'Környezetismeret'),(27,'Földrajz'),(28,'Ének‐zene'),(29,'Tánc és dráma'),(30,'Rajz és műalkotások elemzése, vizuális kultúra'),(31,'Művészettörténet'),(32,'Mozgóképkultúra és médiaismeret'),(33,'Számítástechnika'),(34,'Informatika'),(35,'Könyvtárhasználat'),(36,'Technika'),(37,'Háztartástan'),(38,'Életvitel és gyakorlati ismeretek'),(39,'Testnevelés'),(40,'Pályaorientáció, szakmai alapozás'),(41,'Magyar irodalom'),(42,'Magyar nyelv'),(43,'Földünk és környezetünk'),(44,'Gazdasági ismeretek'),(45,'Információkezelés'),(46,'Tanulásmódszertan'),(47,'Postai orientációs ismeretek'),(48,'Etika'),(49,'Sportegészségtan'),(50,'Egészségtan'),(51,'Gazdasági környezetünk'),(52,'Gasztronómiai alapgyakorlat'),(53,'Természettudományok'),(54,'Gépírás'),(55,'Önvédelmi ismeretek'),(56,'Vállalkozási ismeretek'),(57,'Jogi ismeretek'),(58,'Mindennapi ismeretek'),(59,'Személy és vagyonvédelmi ismeretek'),(60,'Lövészet'),(61,'Zenetörténet'),(63,'Tánctörténet'),(64,'Cirkusztörténet'),(65,'Mozgóképkultúra (MOK)'),(66,'Mozgásanatómia'),(67,'Információkezelés és viselkedéskultúra'),(68,'Viselkedéskultúra és kommunikáció'),(69,'Gasztronómiai alapismeretek és viselkedéskultúra'),(70,'Vizuális ismeretek'),(71,'Alkalmazott számítástechnika'),(72,'Élelmiszer alapismeretek'),(73,'Vendéglátó technológia'),(74,'Információkezelés és kommunikáció'),(75,'Művészetek'),(76,'Gasztronómiai alapismeretek és kommunikáció'),(77,'Világörökség'),(78,'Egyházi ének'),(79,'Szabadkézi rajz'),(80,'Építészeti alapismeretek'),(81,'Szakmacsoportos alapozó ismeretek elmélet'),(82,'Szakmacsoportos alapozó ismeretek gyakorlat'),(83,'Szakmacsoportos alapozó oktatás'),(84,'Alapgyakorlatok'),(85,'Egészségnevelés'),(86,'Elektronikai alapismeretek'),(87,'Elektronika'),(88,'Hardver alapismeretek'),(89,'Hardver‐ és szoftverismeretek'),(90,'Informatikai alapismeretek'),(91,'Rajz és vizuális kultúra'),(92,'Informatikai szakmacsoportos alapozó oktatás elmélet'),(93,'Informatikai szakmacsoportos alapozó oktatás gyakorlat'),(94,'Irodalom'),(96,'Magyar nyelv és kommunikáció'),(97,'Anyanyelv és kommunikáció'),(98,'Kommunikáció'),(99,'Anyanyelv kultúra'),(100,'Szövegértés'),(101,'Német nyelvi tréning'),(102,'Német társalgás'),(103,'Német nyelvtan'),(104,'Német szaknyelv'),(105,'Holland nyelv'),(106,'Román nyelv'),(109,'Horvát nyelv'),(113,'Külalak'),(114,'Szakmai alapozás'),(115,'Szakmai alapozó oktatás'),(116,'Szakmai gyakorlat'),(117,'Pályaorientáció'),(118,'Gyakorlati oktatás'),(119,'Szakmai orientáció elmélet'),(120,'Szakmai orientáció gyakorlat'),(121,'Közgazdasági alapismeretek elméleti gazdaságtan'),(122,'Közgazdasági alapismeretek üzleti gazdaságtan'),(123,'Könyvvitel'),(124,'Ügyviteli alapismeretek'),(125,'Szakmai angol nyelv'),(126,'Szakmai német nyelv'),(127,'Tanirodai ismeretek'),(128,'Statisztika'),(129,'Marketing'),(130,'Anyagok'),(131,'Anyag‐ és eszközismeret'),(132,'Alakítások I.'),(133,'Alakítások II.'),(134,'Állványozási alapgyakorlatok'),(135,'Bevezetés az építészeti szakmai számításokba'),(136,'Építőanyagok'),(137,'Építőanyagok vizsgálata'),(138,'Építészeti anyagismeret'),(139,'Építészeti műszaki rajz'),(140,'Építőanyagok megmunkálása'),(141,'Kép‐ és hangfeldolgozás'),(142,'Kitűzési alapgyakorlatok'),(143,'Közlekedési ismeretek'),(144,'Közlekedési informatika és számítástechnikai gyakorlat'),(145,'Környezetvédelem'),(146,'Mechanika'),(147,'Mérések'),(148,'Mérési alapgyakorlat'),(149,'Műszaki ábrázolás'),(150,'Műszaki ábrázolás alapjai'),(151,'Műszaki pályák világa'),(152,'Számítástechnika gyakorlat I.'),(153,'Számítógép‐programozás I.'),(154,'Számítógépes programgyakorlat I.'),(155,'Természetismeret és környezeti tanulmányok'),(156,'Japán nyelv'),(157,'Bibliaismeretek'),(158,'Laboratóriumi gyakorlat'),(159,'Társadalom ismeret és Etika'),(160,'Fizikai kémia'),(161,'Matematika angol nyelven'),(162,'Biológia angol nyelven'),(163,'Műszaki ismeretek'),(164,'Műszaki ábrázolási gyakorlatok'),(165,'Műszaki ábrázolás és anyagismeret'),(166,'Műszaki ábrázolási és megmunkálási gyakorlat'),(167,'Anyagismeret'),(168,'Anyagmegmunkálási gyakorlat'),(169,'Számítógép‐programozás'),(170,'Számítógép‐programozási gyakorlat'),(171,'Elektrotechnika'),(172,'Elektrotechnikai gyakorlatok és mérések'),(173,'Gazdálkodási ismeretek'),(174,'Szakmai informatika'),(175,'Ételkészítési ismeretek'),(176,'Pincér gyakorlat'),(177,'Szakács gyakorlat'),(178,'Cukrász gyakorlat'),(179,'Étel‐italkészítési ismeretek'),(180,'Pincér ismeretek'),(181,'Cukrászati alapismeretek'),(182,'Kereskedelmi ismeretek'),(183,'Élelmiszer és vegyiáruismeret'),(184,'Pénztárelszámolás'),(185,'Fogyasztói érdekvédelem'),(186,'Általános áruismeret'),(187,'Szakmai ismeret'),(188,'Italismeret'),(189,'Cukrászati ismeretek'),(190,'Vendéglátó‐gazdálkodási és vállalkozási alapismeretek'),(191,'Szakmai esztétikai szakrajz'),(192,'Ételkészítési gyakorlat'),(193,'Médiaismeret'),(194,'Médiaismereti gyakorlat'),(195,'Elektrotechnikai gyakorlatok'),(196,'Angol beszédgyakorlat'),(197,'Angol nyelv kommunikáció'),(198,'Német beszédgyakorlat'),(199,'Német nyelv kommunikáció'),(200,'Francia beszédgyakorlat'),(201,'Francia nyelv kommunikáció'),(202,'Beszélő Magyarország: nyilvános beszéd'),(203,'Demokrácia állampolgárságra nevelés'),(204,'Fejlesztés'),(205,'Történelem szaknyelv'),(206,'Fizika szaknyelv'),(207,'Angol célnyelvi civilizáció'),(208,'Német célnyelvi civilizáció'),(209,'Biológia szaknyelv'),(210,'Földrajz szaknyelv'),(211,'Társadalom ismeret és Etika'),(212,'Közgazdaságtan'),(213,'Pszichológia'),(214,'Tudáselmélet'),(215,'Kínai nyelv'),(216,'Ember a természetben'),(217,'Ruházati áruismeret'),(218,'Áruforgalmi ismeretek'),(219,'Magyar népzene alapjai'),(220,'Beszédtechnika'),(221,'Betűrajz'),(222,'Drámai játék'),(223,'Énekkar'),(224,'Főtárgy (hangszer)'),(225,'Hangegészségtan'),(226,'Hangképzés‐ének'),(227,'Kamara'),(228,'Kargyakorlat'),(229,'Karvezetés'),(230,'Kinetográfia'),(231,'Klasszikus balett'),(232,'Kortárs‐,modern tánc'),(233,'Népi ének'),(234,'Népi hangszer'),(235,'Hangszeres népzene'),(236,'Néprajz'),(237,'Néprajzi alapismeretek‐táncfolklorisztika'),(238,'Néptánc'),(239,'Népzene elmélet és történet'),(240,'Rajz'),(241,'Színháztörténet'),(242,'Színpadi mozgás és tánc'),(243,'Szakmai elmélet'),(244,'Szakmai olasz nyelv'),(245,'Szakmai szorgalom'),(246,'Szolfézs'),(247,'Zeneelmélet'),(248,'Zeneirodalom'),(249,'Zenekar'),(250,'Zongorakötelező'); + +CREATE TABLE `kirOsztalyJelleg` ( + `kirOsztalyJellegId` tinyint(3) unsigned NOT NULL, + `kirOsztalyJellegNev` varchar(255) NOT NULL, + PRIMARY KEY (`kirOsztalyJellegId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +INSERT INTO `kirOsztalyJelleg` VALUES (1,'Általános iskola'),(2,'4 évfolyamos gimnázium'),(3,'5 évfolyamos gimnázium ny.ek.'),(4,'6 évfolyamos gimnázium'),(5,'8 évfolyamos gimnázium'), +(6,'Szakiskola'),(7,'Speciális szakiskola'),(8,'Szakközépiskola'),(9,'Szakközépiskola ny.ek.'); \ No newline at end of file diff --git a/mayor-orig/update/pre002564-2-intezmeny.sql b/mayor-orig/update/pre002564-2-intezmeny.sql new file mode 100644 index 00000000..6a932e79 --- /dev/null +++ b/mayor-orig/update/pre002564-2-intezmeny.sql @@ -0,0 +1,4 @@ +ALTER TABLE `targy` ADD kirTargyId smallint(5) unsigned DEFAULT NULL; +ALTER TABLE `targy` ADD CONSTRAINT FOREIGN KEY `targy_ibfk_2` (`kirTargyId`) REFERENCES `mayor_naplo`.`kirTargy` (`kirTargyId`) ON DELETE SET NULL ON UPDATE CASCADE; +ALTER TABLE `osztaly` ADD kirOsztalyJellegId tinyint(3) UNSIGNED DEFAULT NULL; +ALTER TABLE `osztaly` ADD CONSTRAINT FOREIGN KEY `osztaly_ibfk_1` (`kirOsztalyJellegId`) REFERENCES `mayor_naplo`.`kirOsztalyJelleg` (`kirOsztalyJellegId`) ON DELETE SET NULL ON UPDATE CASCADE; diff --git a/mayor-orig/update/pre002572-1-intezmeny.sql b/mayor-orig/update/pre002572-1-intezmeny.sql new file mode 100644 index 00000000..b5cabb88 --- /dev/null +++ b/mayor-orig/update/pre002572-1-intezmeny.sql @@ -0,0 +1,12 @@ + +alter table diak add column `lakohelyiJellemzo` enum('körzetes','kerületi','helybéli','bejáró','kollégista') COLLATE utf8_hungarian_ci DEFAULT NULL after kollegista; +alter table diak add column megjegyzes varchar(255) collate utf8_hungarian_ci default null; + +set @helyseg=(select cimHelyseg from telephely where telephelyId = 1); +set @kerIrsz=(select floor(cimIrsz/10)*10 from telephely where telephelyId = 1); + +update diak set lakohelyiJellemzo='kollégista' where kollegista=1; +update diak set lakohelyiJellemzo='helybéli' where lakhelyHelyseg=@helyseg and kollegista<>1; +update diak set lakohelyiJellemzo='kerületi' where @helyseg='Budapest' and @kerIrsz=(floor(lakhelyIrsz/10)*10) and kollegista<>1; + +alter table diak drop column kollegista; diff --git a/mayor-orig/update/pre002573-1-intezmeny.sql b/mayor-orig/update/pre002573-1-intezmeny.sql new file mode 100644 index 00000000..3ff7880f --- /dev/null +++ b/mayor-orig/update/pre002573-1-intezmeny.sql @@ -0,0 +1,7 @@ + +alter table tanmenet add column `statusz` enum('új','kész','jóváhagyott','publikus','elavult') default 'új'; + +update tanmenet set statusz='jóváhagyott' where jovahagyva > 0; +update tanmenet set statusz='kész' where statusz='új' and oraszam=(select sum(oraszam) from tanmenetTankor where tanmenetTankor.tanmenetId=tanmenet.tanmenetId); + +alter table tanmenet drop column jovahagyva; \ No newline at end of file diff --git a/mayor-orig/update/pre002616-1-intezmeny.sql b/mayor-orig/update/pre002616-1-intezmeny.sql new file mode 100644 index 00000000..b92ab40f --- /dev/null +++ b/mayor-orig/update/pre002616-1-intezmeny.sql @@ -0,0 +1,4 @@ + +-- A zárójegy tábla felesleges mezőinek törlése +alter table zaroJegy drop column _tanev; +alter table zaroJegy drop column _szemeszter; \ No newline at end of file diff --git a/mayor-orig/update/pre002621-1-naplo.sql b/mayor-orig/update/pre002621-1-naplo.sql new file mode 100644 index 00000000..280c2c26 --- /dev/null +++ b/mayor-orig/update/pre002621-1-naplo.sql @@ -0,0 +1,5 @@ + +-- hibás (elmaradt órákhoz rendelt) hiányzások törlése +create temporary table _torlendo select hianyzasId from hianyzas left join ora using (oraId) where ora.tipus like 'elmarad%'; +delete from hianyzas where hianyzasId in (select hianyzasId from _torlendo); + diff --git a/mayor-orig/update/pre002621-2-intezmeny.sql b/mayor-orig/update/pre002621-2-intezmeny.sql new file mode 100644 index 00000000..55c47eb5 --- /dev/null +++ b/mayor-orig/update/pre002621-2-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table szrMinosites modify `minosites` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002625-1-intezmeny.sql b/mayor-orig/update/pre002625-1-intezmeny.sql new file mode 100644 index 00000000..9f97b1cb --- /dev/null +++ b/mayor-orig/update/pre002625-1-intezmeny.sql @@ -0,0 +1,10 @@ +DROP TABLE IF EXISTS `diakAdatkezeles`; +CREATE TABLE `diakAdatkezeles` ( + `diakId` int(10) unsigned NOT NULL, + `kulcs` varchar(30) NOT NULL, + `ertek` varchar(30) NOT NULL, + `lastModified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, + PRIMARY KEY (`diakId`,`kulcs`), + KEY `diakAdatkezeles_FKIndex1` (`diakId`), + CONSTRAINT `diakAdatkezeles_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002627-1-naplo.sql b/mayor-orig/update/pre002627-1-naplo.sql new file mode 100644 index 00000000..48d551e6 --- /dev/null +++ b/mayor-orig/update/pre002627-1-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE `hianyzasHozott` MODIFY `dbHianyzas` smallint(6) unsigned DEFAULT NULL; diff --git a/mayor-orig/update/pre002631-1-intezmeny.sql b/mayor-orig/update/pre002631-1-intezmeny.sql new file mode 100644 index 00000000..9668dd6f --- /dev/null +++ b/mayor-orig/update/pre002631-1-intezmeny.sql @@ -0,0 +1,16 @@ +CREATE TABLE `kosziEsemeny` ( + `kosziEsemenyId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyNev` varchar(50) NOT NULL, + `kosziEsemenyLeiras` varchar(255) NOT NULL, + `kosziEsemenyTipus` enum('iskolai rendezvény','DÖK rendezvény','tanulmányi verseny','sportverseny','foglalkozás','tevékenység','hiányzás') COLLATE utf8_hungarian_ci NOT NULL, + `kosziEsemenyIntervallum` tinyint(1) UNSIGNED NULL DEFAULT 0, + PRIMARY KEY (`kosziEsemenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziPont` ( + `kosziEsemenyId` int(10) unsigned NOT NULL, + `kosziPontTipus` enum('résztvevő','segítő','szervező','fellépő (egyéni)','fellépő (osztály)','fellépő (csoport)','eredmény') NOT NULL DEFAULT 'résztvevő', + `kosziPont` int(10) unsigned NOT NULL DEFAULT 0, + `kosziHelyezes` int(10) unsigned NULL DEFAULT NULL, + PRIMARY KEY (`kosziEsemenyId`,`kosziPontTipus`), + CONSTRAINT `kosziEsemeny_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002631-2-naplo.sql b/mayor-orig/update/pre002631-2-naplo.sql new file mode 100644 index 00000000..79b9ea1b --- /dev/null +++ b/mayor-orig/update/pre002631-2-naplo.sql @@ -0,0 +1,31 @@ +CREATE TABLE `koszi` ( + `kosziId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `dt` DATE NULL, + `tanev` smallint(5) unsigned NULL, + `felev` tinyint(3) unsigned NULL, + `igazolo` set('diák','tanár','osztályfőnök') DEFAULT NULL, + PRIMARY KEY (`kosziId`), + CONSTRAINT `koszi_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `%INTEZMENYDB%`.`kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + CONSTRAINT `kosziIgazoloDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloTanar` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloTanar_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloOf` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloOf_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloT_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002634-1-intezmeny.sql b/mayor-orig/update/pre002634-1-intezmeny.sql new file mode 100644 index 00000000..ce4a3b0f --- /dev/null +++ b/mayor-orig/update/pre002634-1-intezmeny.sql @@ -0,0 +1,3 @@ +ALTER TABLE kosziPont ADD kosziPontId int(10) unsigned not null FIRST; +ALTER TABLE kosziPont ADD KEY (kosziPontId); +ALTER TABLE kosziPont MODIFY kosziPontId int(10) unsigned not null auto_increment; \ No newline at end of file diff --git a/mayor-orig/update/pre002634-2-naplo.sql b/mayor-orig/update/pre002634-2-naplo.sql new file mode 100644 index 00000000..f1999c74 --- /dev/null +++ b/mayor-orig/update/pre002634-2-naplo.sql @@ -0,0 +1,12 @@ +CREATE TABLE `kosziDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `rogzitesDt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + `jovahagyasDt` TIMESTAMP, + `kosziPontId` int(10) unsigned not null, + `pont` int(10) unsigned not null, + PRIMARY KEY (`kosziId`,`diakId`), + CONSTRAINT `kosziDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_3` FOREIGN KEY (`kosziPontId`) REFERENCES `%INTEZMENYDB%`.`kosziPont` (`kosziPontId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002638-1-intezmeny.sql b/mayor-orig/update/pre002638-1-intezmeny.sql new file mode 100644 index 00000000..f1cd6e21 --- /dev/null +++ b/mayor-orig/update/pre002638-1-intezmeny.sql @@ -0,0 +1 @@ +-- PLACEHOLDER for KOSZI UPDATE \ No newline at end of file diff --git a/mayor-orig/update/pre002638-2-naplo.sql b/mayor-orig/update/pre002638-2-naplo.sql new file mode 100644 index 00000000..ce7b9ef7 --- /dev/null +++ b/mayor-orig/update/pre002638-2-naplo.sql @@ -0,0 +1,5 @@ +drop table IF EXISTS kosziIgazoloTanar; +drop table IF EXISTS kosziIgazoloOf; +drop table IF EXISTS kosziIgazoloDiak; +drop table IF EXISTS kosziDiak; +drop table IF EXISTS koszi; \ No newline at end of file diff --git a/mayor-orig/update/pre002638-3-intezmeny.sql b/mayor-orig/update/pre002638-3-intezmeny.sql new file mode 100644 index 00000000..73416f5b --- /dev/null +++ b/mayor-orig/update/pre002638-3-intezmeny.sql @@ -0,0 +1,11 @@ +drop table IF EXISTS kosziPont; +CREATE TABLE `kosziPont` ( + `kosziPontId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `kosziPontTipus` enum('résztvevő','segítő','szervező','fellépő (egyéni)','fellépő (osztály)','fellépő (csoport)','eredmény') NOT NULL DEFAULT 'résztvevő', + `kosziPont` int(10) unsigned NOT NULL DEFAULT 0, + `kosziHelyezes` int(10) unsigned NULL DEFAULT NULL, + UNIQUE KEY (`kosziEsemenyId`,`kosziPontTipus`,`kosziHelyezes`), + PRIMARY KEY (`kosziPontId`), + CONSTRAINT `kosziEsemeny_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002638-4-naplo.sql b/mayor-orig/update/pre002638-4-naplo.sql new file mode 100644 index 00000000..a6b90a7f --- /dev/null +++ b/mayor-orig/update/pre002638-4-naplo.sql @@ -0,0 +1,45 @@ +CREATE TABLE `koszi` ( + `kosziId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `dt` DATE NULL, + `tanev` smallint(5) unsigned NULL, + `felev` tinyint(3) unsigned NULL, + `igazolo` set('diák','tanár','osztályfőnök') DEFAULT NULL, + PRIMARY KEY (`kosziId`), + CONSTRAINT `koszi_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `%INTEZMENYDB%`.`kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + CONSTRAINT `kosziIgazoloDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloTanar` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloTanar_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziIgazoloOf` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloOf_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloT_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `kosziDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `rogzitesDt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `jovahagyasDt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + `kosziPontId` int(10) unsigned NOT NULL, + `pont` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + KEY `kosziDiak_ibfk_2` (`diakId`), + KEY `kosziDiak_ibfk_3` (`kosziPontId`), + CONSTRAINT `kosziDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_3` FOREIGN KEY (`kosziPontId`) REFERENCES `%INTEZMENYDB%`.`kosziPont` (`kosziPontId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002651-1-intezmeny.sql b/mayor-orig/update/pre002651-1-intezmeny.sql new file mode 100644 index 00000000..8494ad5c --- /dev/null +++ b/mayor-orig/update/pre002651-1-intezmeny.sql @@ -0,0 +1,20 @@ + +CREATE TABLE IF NOT EXISTS `kosziEsemeny` ( + `kosziEsemenyId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyNev` varchar(50) NOT NULL, + `kosziEsemenyLeiras` varchar(255) NOT NULL, + `kosziEsemenyTipus` enum('iskolai rendezvény','DÖK rendezvény','tanulmányi verseny','sportverseny','foglalkozás','tevékenység','hiányzás') COLLATE utf8_hungarian_ci NOT NULL, + `kosziEsemenyIntervallum` tinyint(1) UNSIGNED NULL DEFAULT 0, + PRIMARY KEY (`kosziEsemenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `kosziPont` ( + `kosziPontId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `kosziPontTipus` enum('résztvevő','segítő','szervező','fellépő (egyéni)','fellépő (osztály)','fellépő (csoport)','eredmény') NOT NULL DEFAULT 'résztvevő', + `kosziPont` int(10) unsigned NOT NULL DEFAULT 0, + `kosziHelyezes` int(10) unsigned NULL DEFAULT NULL, + UNIQUE KEY (`kosziEsemenyId`,`kosziPontTipus`,`kosziHelyezes`), + PRIMARY KEY (`kosziPontId`), + CONSTRAINT `kosziEsemeny_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002651-2-naplo.sql b/mayor-orig/update/pre002651-2-naplo.sql new file mode 100644 index 00000000..75f1fed0 --- /dev/null +++ b/mayor-orig/update/pre002651-2-naplo.sql @@ -0,0 +1,45 @@ +CREATE TABLE IF NOT EXISTS `koszi` ( + `kosziId` int(10) unsigned NOT NULL auto_increment, + `kosziEsemenyId` int(10) unsigned NOT NULL, + `dt` DATE NULL, + `tanev` smallint(5) unsigned NULL, + `felev` tinyint(3) unsigned NULL, + `igazolo` set('diák','tanár','osztályfőnök') DEFAULT NULL, + PRIMARY KEY (`kosziId`), + CONSTRAINT `koszi_ibfk_1` FOREIGN KEY (`kosziEsemenyId`) REFERENCES `%INTEZMENYDB%`.`kosziEsemeny` (`kosziEsemenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE IF NOT EXISTS `kosziIgazoloDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + CONSTRAINT `kosziIgazoloDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE IF NOT EXISTS `kosziIgazoloTanar` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloTanar_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloTanar_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE IF NOT EXISTS `kosziIgazoloOf` ( + `kosziId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`tanarId`), + CONSTRAINT `kosziIgazoloOf_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziIgazoloT_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE IF NOT EXISTS `kosziDiak` ( + `kosziId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `rogzitesDt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `jovahagyasDt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + `kosziPontId` int(10) unsigned NOT NULL, + `pont` int(10) unsigned NOT NULL, + PRIMARY KEY (`kosziId`,`diakId`), + KEY `kosziDiak_ibfk_2` (`diakId`), + KEY `kosziDiak_ibfk_3` (`kosziPontId`), + CONSTRAINT `kosziDiak_ibfk_1` FOREIGN KEY (`kosziId`) REFERENCES `koszi` (`kosziId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kosziDiak_ibfk_3` FOREIGN KEY (`kosziPontId`) REFERENCES `%INTEZMENYDB%`.`kosziPont` (`kosziPontId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002653-1-naplo.sql b/mayor-orig/update/pre002653-1-naplo.sql new file mode 100644 index 00000000..a394aec2 --- /dev/null +++ b/mayor-orig/update/pre002653-1-naplo.sql @@ -0,0 +1,4 @@ +create temporary table _duplaHianyzas select diakId , oraId , tipus , min(hianyzasId) as hianyzasId, count(*) as db from hianyzas group by diakId , oraId , tipus having db>1; +create temporary table _torlendoHianyzas select hianyzas.hianyzasId from hianyzas left join _duplaHianyzas using (diakId, oraId, tipus) where _duplaHianyzas.hianyzasId is not null and _duplaHianyzas.hianyzasId<>hianyzas.hianyzasId; +delete from hianyzas where hianyzasId in (select hianyzasId from _torlendoHianyzas); +alter table hianyzas add UNIQUE KEY (`oraId`,`diakId`,`tipus`); diff --git a/mayor-orig/update/pre002658-1-intezmeny.sql b/mayor-orig/update/pre002658-1-intezmeny.sql new file mode 100644 index 00000000..4c4c88e4 --- /dev/null +++ b/mayor-orig/update/pre002658-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table szulo add column `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT '' after `utonev`; diff --git a/mayor-orig/update/pre002660-1-naplo.sql b/mayor-orig/update/pre002660-1-naplo.sql new file mode 100644 index 00000000..fca0afa0 --- /dev/null +++ b/mayor-orig/update/pre002660-1-naplo.sql @@ -0,0 +1,9 @@ + +CREATE TABLE `kerdoivSzabadValasz` ( + `szabadValaszId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `kerdesId` int(10) unsigned NOT NULL, + `szoveg` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`szabadValaszId`), + FOREIGN KEY `fk1` (`kerdesId`) references `kerdoivKerdes`(`kerdesId`) on update cascade on delete cascade +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + diff --git a/mayor-orig/update/pre002670-1-intezmeny.sql b/mayor-orig/update/pre002670-1-intezmeny.sql new file mode 100644 index 00000000..c562e87c --- /dev/null +++ b/mayor-orig/update/pre002670-1-intezmeny.sql @@ -0,0 +1,2 @@ +ALTER TABLE `diak` ADD `NEKAzonosito` varchar(16) NULL DEFAULT NULL; +ALTER TABLE `tanar` ADD `NEKAzonosito` varchar(16) NULL DEFAULT NULL; diff --git a/mayor-orig/update/pre002674-1-naplo.sql b/mayor-orig/update/pre002674-1-naplo.sql new file mode 100644 index 00000000..f1fb307f --- /dev/null +++ b/mayor-orig/update/pre002674-1-naplo.sql @@ -0,0 +1,2 @@ + +alter table kerdoivValasz add column `pont` tinyint NOT NULL DEFAULT 0; diff --git a/mayor-orig/update/pre002706-1-intezmeny.sql b/mayor-orig/update/pre002706-1-intezmeny.sql new file mode 100644 index 00000000..3ab9c99d --- /dev/null +++ b/mayor-orig/update/pre002706-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table targy modify targyJelleg enum('nyelv','szakmai','magatartás','szorgalom','alsó tagozatos','osztályfőnöki','készség'); diff --git a/mayor-orig/update/pre002719-1-naplo.sql b/mayor-orig/update/pre002719-1-naplo.sql new file mode 100644 index 00000000..81b9943b --- /dev/null +++ b/mayor-orig/update/pre002719-1-naplo.sql @@ -0,0 +1,3 @@ + +insert into `munkatervOsztaly` (`munkatervId`, `osztalyId`) select 1 as `munkatervId`, `osztalyId` from `osztalyNaplo` + where `osztalyId` not in (select `osztalyId` from `munkatervOsztaly`); diff --git a/mayor-orig/update/pre002725-1-intezmeny.sql b/mayor-orig/update/pre002725-1-intezmeny.sql new file mode 100644 index 00000000..cd87973c --- /dev/null +++ b/mayor-orig/update/pre002725-1-intezmeny.sql @@ -0,0 +1,5 @@ + + +alter table bejegyzesTipus add column tolDt date default null; +alter table bejegyzesTipus add column igDt date default null; +update bejegyzesTipus set tolDt='2003-01-01' where tolDt is null; \ No newline at end of file diff --git a/mayor-orig/update/pre002729-1-intezmeny.sql b/mayor-orig/update/pre002729-1-intezmeny.sql new file mode 100644 index 00000000..3984cdf4 --- /dev/null +++ b/mayor-orig/update/pre002729-1-intezmeny.sql @@ -0,0 +1,8 @@ + +alter table kepzesDiak add column tolDt date default null; +alter table kepzesDiak add column igDt date default null; +update kepzesDiak left join diak using (diakId) set tolDt=jogviszonyKezdete, igDt=jogviszonyVege; +alter table kepzesDiak drop primary key; +alter table kepzesDiak add primary key (`kepzesId`,`diakId`,`tolDt`); + + diff --git a/mayor-orig/update/pre002772-1-naplo.sql b/mayor-orig/update/pre002772-1-naplo.sql new file mode 100644 index 00000000..e64fbf7f --- /dev/null +++ b/mayor-orig/update/pre002772-1-naplo.sql @@ -0,0 +1,2 @@ +ALTER TABLE koszi ADD tolDt DATETIME DEFAULT NULL; +ALTER TABLE koszi ADD igDt DATETIME DEFAULT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre002779-1-naplo.sql b/mayor-orig/update/pre002779-1-naplo.sql new file mode 100644 index 00000000..5dfd68d9 --- /dev/null +++ b/mayor-orig/update/pre002779-1-naplo.sql @@ -0,0 +1,3 @@ +alter table koszi modify igazolo set('diák','tanár','osztályfőnök','dök'); +alter table koszi add targyId smallint(5) unsigned default null; +alter table koszi add constraint koszi_ibfk_2 foreign key (targyId) references %INTEZMENYDB%.targy (targyId) ON DELETE set null on update cascade; diff --git a/mayor-orig/update/pre002801-1-naplo.sql b/mayor-orig/update/pre002801-1-naplo.sql new file mode 100644 index 00000000..a4875c2a --- /dev/null +++ b/mayor-orig/update/pre002801-1-naplo.sql @@ -0,0 +1,3 @@ + +alter table jegy modify `jegy` decimal(4,1) NOT NULL; + diff --git a/mayor-orig/update/pre002812-1-intezmeny.sql b/mayor-orig/update/pre002812-1-intezmeny.sql new file mode 100644 index 00000000..98f80c4f --- /dev/null +++ b/mayor-orig/update/pre002812-1-intezmeny.sql @@ -0,0 +1,9 @@ +CREATE TABLE IF NOT EXISTS `diakAdatkezeles` ( + `diakId` int(10) unsigned NOT NULL, + `kulcs` varchar(30) NOT NULL, + `ertek` varchar(30) NOT NULL, + `lastModified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, + PRIMARY KEY (`diakId`,`kulcs`), + KEY `diakAdatkezeles_FKIndex1` (`diakId`), + CONSTRAINT `diakAdatkezeles_ibfk_1` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002840-1-intezmeny.sql b/mayor-orig/update/pre002840-1-intezmeny.sql new file mode 100644 index 00000000..45e79f5f --- /dev/null +++ b/mayor-orig/update/pre002840-1-intezmeny.sql @@ -0,0 +1,3 @@ +ALTER TABLE tankorTipus ADD tankorJel varchar(3) DEFAULT NULL; +UPDATE tankorTipus SET tankorJel='I' WHERE tankorTipus.rovidNev='első nyelv'; +UPDATE tankorTipus SET tankorJel='II' WHERE tankorTipus.rovidNev='második nyelv'; diff --git a/mayor-orig/update/pre002860-1.sh b/mayor-orig/update/pre002860-1.sh new file mode 100644 index 00000000..271a8737 --- /dev/null +++ b/mayor-orig/update/pre002860-1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE="www/skin/vakbarat/base/javascript/base.js" + +echo " Felesleges állományok törlése:" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/pre002932-1-intezmeny.sql b/mayor-orig/update/pre002932-1-intezmeny.sql new file mode 100644 index 00000000..3179fd61 --- /dev/null +++ b/mayor-orig/update/pre002932-1-intezmeny.sql @@ -0,0 +1,3 @@ + +alter table `terem` modify `tipus` set('tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','tornaszoba','fejlesztőszoba', +'tanműhely','előadó','könyvtár','díszterem','tanári','templom','egyéb','megszűnt') COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002944-1-intezmeny.sql b/mayor-orig/update/pre002944-1-intezmeny.sql new file mode 100644 index 00000000..dd42b16a --- /dev/null +++ b/mayor-orig/update/pre002944-1-intezmeny.sql @@ -0,0 +1,51 @@ +-- targy +-- három szintű --> háromszintű +-- szöveges --> szöveges szempontrendszer +-- + négyszintű (szöveges minősítés) +alter table `targy` modify `evkoziKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','szöveges','szöveges szempontrendszer') collate utf8_hungarian_ci DEFAULT 'jegy'; +alter table `targy` modify `zaroKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','szöveges','szöveges szempontrendszer') COLLATE utf8_hungarian_ci DEFAULT 'jegy'; +update `targy` set `evkoziKovetelmeny` = 'szöveges szempontrendszer' where `evkoziKovetelmeny` = 'szöveges'; +update `targy` set `evkoziKovetelmeny` = 'háromszintű' where `evkoziKovetelmeny` = 'három szintű'; +update `targy` set `zaroKovetelmeny` = 'szöveges szempontrendszer' where `zaroKovetelmeny` = 'szöveges'; +update `targy` set `zaroKovetelmeny` = 'háromszintű' where `zaroKovetelmeny` = 'három szintű'; +alter table `targy` modify `evkoziKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer') collate utf8_hungarian_ci DEFAULT 'jegy'; +alter table `targy` modify `zaroKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer') COLLATE utf8_hungarian_ci DEFAULT 'jegy'; + +-- zaroJegy +-- három szintű --> háromszintű +-- felmentett --> nem értékelhető +-- + négyszintű (szöveges minősítés) +alter table `zaroJegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','felmentett','nem értékelhető') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'jegy'; +update `zaroJegy` set `jegyTipus` = 'háromszintű' where `jegyTipus` = 'három szintű'; +update `zaroJegy` set `jegyTipus` = 'nem értékelhető' where `jegyTipus` = 'felmentett'; +alter table `zaroJegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'százalékos','aláírás','háromszintű','egyedi felsorolás','nem értékelhető') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'jegy'; + +-- tankor +-- három szintű --> háromszintű +-- szöveges --> szöveges szempontrendszer +-- + négyszintű (szöveges minősítés) +alter table `tankor` modify `kovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','szöveges','szöveges szempontrendszer', +'nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; +update `tankor` set `kovetelmeny` = 'szöveges szempontrendszer' where `kovetelmeny` = 'szöveges'; +update `tankor` set `kovetelmeny` = 'háromszintű' where `kovetelmeny` = 'három szintű'; +alter table `tankor` modify `kovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; + + +-- kepzesOraterv +-- három szintű --> háromszintű +-- szöveges --> szöveges szempontrendszer +-- + négyszintű (szöveges minősítés) +alter table `kepzesOraterv` modify `kovetelmeny` enum('jegy','négyszintű (szöveges minősítés)', +'százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','szöveges','szöveges szempontrendszer','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; +update `kepzesOraterv` set `kovetelmeny` = 'szöveges szempontrendszer' where `kovetelmeny` = 'szöveges'; +update `kepzesOraterv` set `kovetelmeny` = 'háromszintű' where `kovetelmeny` = 'három szintű'; +alter table `kepzesOraterv` modify `kovetelmeny` enum('jegy','négyszintű (szöveges minősítés)', +'százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002944-1-naplo.sql b/mayor-orig/update/pre002944-1-naplo.sql new file mode 100644 index 00000000..dd3ab557 --- /dev/null +++ b/mayor-orig/update/pre002944-1-naplo.sql @@ -0,0 +1,8 @@ +-- jegy +alter table `jegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','három szintű','háromszintű','egyedi felsorolás','szöveges','szöveges szempontrendszer') +COLLATE utf8_hungarian_ci DEFAULT NULL; +update `jegy` set `jegyTipus` = 'szöveges szempontrendszer' where `jegyTipus` = 'szöveges'; +update `jegy` set `jegyTipus` = 'háromszintű' where `jegyTipus` = 'három szintű'; +alter table `jegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer') COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002968-1-intezmeny.sql b/mayor-orig/update/pre002968-1-intezmeny.sql new file mode 100644 index 00000000..d9d51db0 --- /dev/null +++ b/mayor-orig/update/pre002968-1-intezmeny.sql @@ -0,0 +1,13 @@ +alter table `targy` modify `evkoziKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') collate utf8_hungarian_ci DEFAULT 'jegy'; +alter table `targy` modify `zaroKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') COLLATE utf8_hungarian_ci DEFAULT 'jegy'; +alter table `zaroJegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'százalékos','aláírás','háromszintű','egyedi felsorolás','nem értékelhető','teljesített óra') COLLATE utf8_hungarian_ci NOT NULL DEFAULT 'jegy'; +alter table `tankor` modify `kovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; +alter table `kepzesOraterv` modify `kovetelmeny` enum('jegy','négyszintű (szöveges minősítés)', +'százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra','nincs') COLLATE utf8_hungarian_ci DEFAULT NULL; +alter table `targy` MODIFY `targyJelleg` enum('nyelv','szakmai','magatartás','szorgalom','alsó tagozatos','osztályfőnöki','készség','közösségi szolgálat') COLLATE utf8_hungarian_ci DEFAULT NULL; +INSERT INTO tankorTipus (oratervi,rovidNev,leiras,jelenlet,regisztralando, hianyzasBeleszamit,jelleg) VALUES ('tanórán kívüli','közösségi szolgálat','Közösségi szolgálat', +'nem kötelező','igen','nem','gyakorlat'); diff --git a/mayor-orig/update/pre002968-1-naplo.sql b/mayor-orig/update/pre002968-1-naplo.sql new file mode 100644 index 00000000..001b59ce --- /dev/null +++ b/mayor-orig/update/pre002968-1-naplo.sql @@ -0,0 +1,2 @@ +alter table `jegy` modify `jegyTipus` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)', +'féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002970-1-intezmeny.sql b/mayor-orig/update/pre002970-1-intezmeny.sql new file mode 100644 index 00000000..af07bb34 --- /dev/null +++ b/mayor-orig/update/pre002970-1-intezmeny.sql @@ -0,0 +1,2 @@ + +alter table diak add column `torzslapszam` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre002989-0.sh b/mayor-orig/update/pre002989-0.sh new file mode 100644 index 00000000..7ecb21ee --- /dev/null +++ b/mayor-orig/update/pre002989-0.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE="update/pre002989-1-intemzeny.sql" + +echo " Felesleges állományok törlése:" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/pre002990-1-intezmeny.sql b/mayor-orig/update/pre002990-1-intezmeny.sql new file mode 100644 index 00000000..f1549421 --- /dev/null +++ b/mayor-orig/update/pre002990-1-intezmeny.sql @@ -0,0 +1,8 @@ + +alter table hianyzasOsszesites +add column `gyakorlatIgazolt` smallint(5) unsigned DEFAULT NULL, +add column `gyakorlatIgazolatlan` smallint(5) unsigned DEFAULT NULL, +add column `gyakorlatKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL, +add column `elmeletIgazolt` smallint(5) unsigned DEFAULT NULL, +add column `elmeletIgazolatlan` smallint(5) unsigned DEFAULT NULL, +add column `elmeletKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL; diff --git a/mayor-orig/update/pre002998-1-intezmeny.sql b/mayor-orig/update/pre002998-1-intezmeny.sql new file mode 100644 index 00000000..5912314c --- /dev/null +++ b/mayor-orig/update/pre002998-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE osztaly MODIFY jel varchar(20) COLLATE utf8_hungarian_ci; diff --git a/mayor-orig/update/pre002998-1-naplo.sql b/mayor-orig/update/pre002998-1-naplo.sql new file mode 100644 index 00000000..e42a36b9 --- /dev/null +++ b/mayor-orig/update/pre002998-1-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE osztalyNaplo MODIFY osztalyJel varchar(23) COLLATE utf8_hungarian_ci NOT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre003000-1-naplo.sql b/mayor-orig/update/pre003000-1-naplo.sql new file mode 100644 index 00000000..c40650f9 --- /dev/null +++ b/mayor-orig/update/pre003000-1-naplo.sql @@ -0,0 +1 @@ +ALTER TABLE hianyzas ADD rogzitesIdoben boolean NULL; diff --git a/mayor-orig/update/pre003005-1-mayor_naplo.sql b/mayor-orig/update/pre003005-1-mayor_naplo.sql new file mode 100644 index 00000000..ab75bbdd --- /dev/null +++ b/mayor-orig/update/pre003005-1-mayor_naplo.sql @@ -0,0 +1,15 @@ + +CREATE TABLE `osztalyJelleg` ( + `osztalyJellegId` tinyint(3) unsigned NOT NULL auto_increment, + `kirOsztalyJellegId` tinyint(3) unsigned NOT NULL, + `osztalyJellegNev` varchar(255) NOT NULL, + `erettsegizo` tinyint(3) unsigned NOT NULL DEFAULT 0, + PRIMARY KEY (`osztalyJellegId`), + CONSTRAINT `osztalyJelleg_ibfk_1` FOREIGN KEY (`kirOsztalyJellegId`) REFERENCES `kirOsztalyJelleg` (`kirOsztalyJellegId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +insert into osztalyJelleg + select null as osztalyJellegId, kirOsztalyJellegId, kirOsztalyJellegNev as osztalyJellegNev, + if(kirOsztalyJellegId<>1 and kirOsztalyJellegId<>6 and kirOsztalyJellegId<>7,1,0) as erettsegizo from kirOsztalyJelleg; + +insert into osztalyJelleg values (10, 3, '5 évfolyamos gimnázium ny.ek. évfolyam',0); diff --git a/mayor-orig/update/pre003005-2-intezmeny.sql b/mayor-orig/update/pre003005-2-intezmeny.sql new file mode 100644 index 00000000..42f235ff --- /dev/null +++ b/mayor-orig/update/pre003005-2-intezmeny.sql @@ -0,0 +1,6 @@ + +alter table `osztaly` drop foreign key `osztaly_ibfk_1`; +alter table `osztaly` change `kirOsztalyJellegId` `osztalyJellegId` tinyint(3) unsigned DEFAULT NULL; +alter table `osztaly` add +CONSTRAINT `osztaly_ibfk_1` FOREIGN KEY (`osztalyJellegId`) REFERENCES `mayor_naplo`.`osztalyJelleg` (`osztalyJellegId`) ON DELETE SET NULL ON UPDATE CASCADE; +ALTER TABLE osztaly MODIFY vegzoTanev smallint(5) unsigned DEFAULT NULL; \ No newline at end of file diff --git a/mayor-orig/update/pre003041-1-naplo.sql b/mayor-orig/update/pre003041-1-naplo.sql new file mode 100644 index 00000000..1ff9f44c --- /dev/null +++ b/mayor-orig/update/pre003041-1-naplo.sql @@ -0,0 +1 @@ +alter table orarendiOra ADD INDEX IDX_dt (tolDt,igDt); diff --git a/mayor-orig/update/pre003041-2-naplo.sql b/mayor-orig/update/pre003041-2-naplo.sql new file mode 100644 index 00000000..3ad39cdf --- /dev/null +++ b/mayor-orig/update/pre003041-2-naplo.sql @@ -0,0 +1,2 @@ +alter table logBejegyzes ADD actionId varchar(23) NULL; +alter table logBejegyzes ADD INDEX IDX_a (actionId); diff --git a/mayor-orig/update/pre003042-1-mayor_login.sql b/mayor-orig/update/pre003042-1-mayor_login.sql new file mode 100644 index 00000000..471b654f --- /dev/null +++ b/mayor-orig/update/pre003042-1-mayor_login.sql @@ -0,0 +1,12 @@ +CREATE TABLE `loginLog_a` ( + `logId` int(10) unsigned NOT NULL, + `policy` varchar(10) NOT NULL DEFAULT 'private', + `userAccount` varchar(50) DEFAULT NULL, + `ip` varchar(15) DEFAULT NULL, + `dt` datetime DEFAULT NULL, + `flag` tinyint(3) unsigned DEFAULT NULL +) ENGINE=ARCHIVE DEFAULT CHARSET=utf8; +INSERT INTO loginLog_a SELECT * FROM loginLog WHERE dt evfolyamJel +-- vizsga.evfolyam --> evfolyamJel (zaroJegy) +-- kepzes.kezdoEvfolyam - ok (kell ez? - kell.) (~osztaly) +-- kepzes.zaroEvfolyam - ok (kell ez? - kell.) (~osztaly) +-- szempontRendszer.evfolyam --> evfolyamJel (kepzes) +-- kepzesOraszam.evfolyam --> evfolyamJel (osztalyJelleg) +-- kepzesOraterv.evfolyam --> evfolyamJel (osztalyJelleg) +-- kepzesTargyOraszam.evfolyam --> használjuk ezt egyáltalán???g +-- tanmenet.evfolyam --> evfolyamJel (kepzes) + +-- általános iskola +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (21,NULL,'általános iskola (1-8)',0,NULL,1,8,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (22,NULL,'általános iskola alsó tagozat (1-4)',0,NULL,1,4,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (23,NULL,'általlános iskola felső tagozat (5-8)',0,NULL,5,8,''); +-- 4 évfolyamos gimnázium +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (31,NULL,'4 évfolyamos gimnázium',1,NULL,9,12,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (32,NULL,'4 évfolyamos gimnázium AJTP előkészítő évfolyammal (1+4)',1,NULL,9,12,'AJTP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (33,NULL,'4 évfolyamos gimnázium AJKP előkészítő évfolyammal (1+4)',1,NULL,9,12,'AJKP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (34,NULL,'4 évfolyamos gimnázium két tanítási nyelvű előkészítő évfolyammal (1+4)',1,NULL,9,12,'Kny'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (35,NULL,'4 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+4)',1,NULL,9,12,'N'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (36,NULL,'4 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+4)',1,NULL,9,12,'Ny'); +-- 5 évfolyamos gimnázium +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (41,NULL,'5 évfolyamos gimnázium',1,NULL,9,13,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (42,NULL,'5 évfolyamos gimnázium AJTP előkészítő évfolyammal (1+5)',1,NULL,9,13,'AJTP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (43,NULL,'5 évfolyamos gimnázium AJKP előkészítő évfolyammal (1+5)',1,NULL,9,13,'AJKP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (44,NULL,'5 évfolyamos gimnázium két tanítási nyelvű előkészítő évfolyammal (1+5)',1,NULL,9,13,'Kny'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (45,NULL,'5 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+5)',1,NULL,9,13,'N'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (46,NULL,'5 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+5)',1,NULL,9,13,'Ny'); +-- 6 évfolyamos gimnázium +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (51,NULL,'6 évfolyamos gimnázium',1,NULL,7,12,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (52,NULL,'6 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+6)',1,NULL,7,12,'N'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (53,NULL,'6 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+6)',1,NULL,7,12,'Ny'); +-- 8 évfolyamos gimnázium +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (61,NULL,'8 évfolyamos gimnázium',1,NULL,4,12,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (62,NULL,'8 évfolyamos gimnázium nemzetiségi előkészítő évfolyammal (1+8)',1,NULL,4,12,'N'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (63,NULL,'8 évfolyamos gimnázium nyelvi előkészítő évfolyammal (1+8)',1,NULL,4,12,'Ny'); +-- szakközépiskola - közismereti képzés (4-5 évfolyam) +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (71,NULL,'szakközépiskola',1,NULL,9,NULL,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (72,NULL,'szakközépiskola AJTP előkészítő évfolyammal',1,NULL,9,NULL,'AJTP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (73,NULL,'szakközépiskola AJKP előkészítő évfolyammal',1,NULL,9,NULL,'AJKP'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (74,NULL,'szakközépiskola két tanítási nyelvű előkészítő évfolyammal',1,NULL,9,NULL,'Kny'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (75,NULL,'szakközépiskola nemzetiségi előkészítő évfolyammal',1,NULL,9,NULL,'N'); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (76,NULL,'szakközépiskola nyelvi előkészítő évfolyammal',1,NULL,9,NULL,'Ny'); +-- szakközépiskola - szakképzés +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (77,NULL,'szakközépiskola - szakképzés',0,NULL,NULL,NULL,''); +-- szakiskola +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (81,NULL,'szakiskola',0,NULL,NULL,NULL,''); +-- egyéb +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (91,NULL,'Híd I. program',0,NULL,9,9,''); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,kezdoEvfolyam,vegzoEvfolyam,elokeszitoEvfolyam) + values (92,NULL,'Híd II. program',0,NULL,8,8,''); diff --git a/mayor-orig/update/pre003379-2-naplo.sql b/mayor-orig/update/pre003379-2-naplo.sql new file mode 100644 index 00000000..dbc97a22 --- /dev/null +++ b/mayor-orig/update/pre003379-2-naplo.sql @@ -0,0 +1,55 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3379b $$ +CREATE PROCEDURE upgrade_database_3379b() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyam' +) THEN + alter table osztalyNaplo add column evfolyam tinyint unsigned; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table osztalyNaplo add column evfolyamJel varchar(32) collate utf8_hungarian_ci; +END IF; +END $$ +CALL upgrade_database_3379b(); +-- update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +-- set evfolyam=if ( +-- (osztaly.vegzoTanev>=%TANEV% AND osztaly.kezdoTanev<=%TANEV%), +-- if( +-- ((elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>'') OR osztaly.osztalyJellegId=92) AND osztaly.kezdoTanev <> %TANEV%, +-- (%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1), +-- (%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) +-- ), +-- NULL +-- ); +-- update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +-- set evfolyamJel=if ( +-- (osztaly.vegzoTanev>=%TANEV% AND osztaly.kezdoTanev<=%TANEV%), +-- if( +-- (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), +-- if ( +-- osztaly.kezdoTanev = %TANEV%, +-- CONCAT((%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam), +-- (%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1) +-- ), +-- (%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) +-- ), +-- NULL +-- ); +-- update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +-- set osztalyJel=if ( +-- (osztaly.vegzoTanev>=%TANEV% AND osztaly.kezdoTanev<=%TANEV%), +-- if( +-- (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), +-- if ( +-- osztaly.kezdoTanev = %TANEV%, +-- CONCAT((%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam,'.',osztaly.jel), +-- CONCAT((%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1),'.',osztaly.jel) +-- ), +-- CONCAT((%TANEV%+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),'.',osztaly.jel) +-- ), +-- CONCAT(osztaly.kezdoTanev,'/',osztaly.vegzoTanev,'.',osztaly.jel) +-- ); + \ No newline at end of file diff --git a/mayor-orig/update/pre003380-1-intezmeny.sql b/mayor-orig/update/pre003380-1-intezmeny.sql new file mode 100644 index 00000000..155f525e --- /dev/null +++ b/mayor-orig/update/pre003380-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE osztaly DROP KEY tanev_jel; diff --git a/mayor-orig/update/pre003391-1-intezmeny.sql b/mayor-orig/update/pre003391-1-intezmeny.sql new file mode 100644 index 00000000..80092794 --- /dev/null +++ b/mayor-orig/update/pre003391-1-intezmeny.sql @@ -0,0 +1,11 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3391 $$ +CREATE PROCEDURE upgrade_database_3391() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tankorDiakFelmentes' AND COLUMN_NAME='iktatoszam' +) THEN + ALTER TABLE tankorDiakFelmentes ADD iktatoszam VARCHAR(60) not null default ''; +END IF; +END $$ +CALL upgrade_database_3391(); diff --git a/mayor-orig/update/pre003392-1-intezmeny.sql b/mayor-orig/update/pre003392-1-intezmeny.sql new file mode 100644 index 00000000..6b05754c --- /dev/null +++ b/mayor-orig/update/pre003392-1-intezmeny.sql @@ -0,0 +1,11 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3392 $$ +CREATE PROCEDURE upgrade_database_3392() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='zaradek' AND COLUMN_NAME='iktatoszam' +) THEN + ALTER TABLE zaradek ADD iktatoszam VARCHAR(60) not null default ''; +END IF; +END $$ +CALL upgrade_database_3392(); diff --git a/mayor-orig/update/pre003396-1-intezmeny.sql b/mayor-orig/update/pre003396-1-intezmeny.sql new file mode 100644 index 00000000..215501b0 --- /dev/null +++ b/mayor-orig/update/pre003396-1-intezmeny.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3396a $$ +CREATE PROCEDURE upgrade_database_3396a() +BEGIN + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='mayorUpdateLog' +) THEN + CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +CALL upgrade_database_3396a(); diff --git a/mayor-orig/update/pre003396-1-mayor_login.sql b/mayor-orig/update/pre003396-1-mayor_login.sql new file mode 100644 index 00000000..3d1899f2 --- /dev/null +++ b/mayor-orig/update/pre003396-1-mayor_login.sql @@ -0,0 +1,41 @@ + +DELIMITER $$ + DROP PROCEDURE IF EXISTS upgrade_database_3396c $$ + CREATE PROCEDURE upgrade_database_3396c() + -- READS SQL DATA + BEGIN + DECLARE done INT DEFAULT FALSE; + DECLARE DB VARCHAR(255); + DECLARE statement TEXT; + DECLARE cur1 + CURSOR FOR + SELECT DISTINCT TABLE_SCHEMA FROM information_schema.TABLES WHERE TABLE_SCHEMA LIKE 'mayor\_%'; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + OPEN cur1; + lo: LOOP + IF done = TRUE THEN + LEAVE lo; + END IF; + + FETCH cur1 INTO DB; + + IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DB COLLATE utf8_general_ci AND TABLE_NAME='mayorUpdateLog' + ) THEN + SET @statement = CONCAT('CREATE TABLE ',DB,'.`mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT \'\', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;'); + PREPARE command FROM @statement; + EXECUTE command; + DEALLOCATE PREPARE command; + END IF; + + END LOOP; + CLOSE cur1; + END; $$ +DELIMITER ; $$ + +CALL upgrade_database_3396c(); diff --git a/mayor-orig/update/pre003396-1-naplo.sql b/mayor-orig/update/pre003396-1-naplo.sql new file mode 100644 index 00000000..d50e9434 --- /dev/null +++ b/mayor-orig/update/pre003396-1-naplo.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3396b $$ +CREATE PROCEDURE upgrade_database_3396b() +BEGIN + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='mayorUpdateLog' +) THEN + CREATE TABLE `mayorUpdateLog` ( + `scriptFile` varchar(255) COLLATE utf8_hungarian_ci NOT NULL DEFAULT '', + `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`scriptFile`,`dt`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +CALL upgrade_database_3396b(); diff --git a/mayor-orig/update/pre003400-1-naplo.sql b/mayor-orig/update/pre003400-1-naplo.sql new file mode 100644 index 00000000..696dbcbc --- /dev/null +++ b/mayor-orig/update/pre003400-1-naplo.sql @@ -0,0 +1,55 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3400 $$ +CREATE PROCEDURE upgrade_database_3400() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyam' +) THEN + alter table osztalyNaplo add column evfolyam tinyint unsigned; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table osztalyNaplo add column evfolyamJel varchar(32) collate utf8_hungarian_ci; +END IF; +END $$ +CALL upgrade_database_3400(); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set evfolyam=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + ((elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>'') OR osztaly.osztalyJellegId=92) AND osztaly.kezdoTanev <> convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) + ), + NULL + ); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set evfolyamJel=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), + if ( + osztaly.kezdoTanev = convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1) + ), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) + ), + NULL + ); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set osztalyJel=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), + if ( + osztaly.kezdoTanev = convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam,'.',osztaly.jel), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1),'.',osztaly.jel) + ), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),'.',osztaly.jel) + ), + CONCAT(osztaly.kezdoTanev,'/',osztaly.vegzoTanev,'.',osztaly.jel) + ); + \ No newline at end of file diff --git a/mayor-orig/update/pre003409-1-naplo.sql b/mayor-orig/update/pre003409-1-naplo.sql new file mode 100644 index 00000000..eb17d2d3 --- /dev/null +++ b/mayor-orig/update/pre003409-1-naplo.sql @@ -0,0 +1,105 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3409 $$ +CREATE PROCEDURE upgrade_database_3409() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniDiakAllapot' +) THEN +CREATE TABLE `sniDiakAllapot` ( + `diakId` int(10) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `olvasas` enum('betűző','szótagoló','folyamatos') DEFAULT NULL, + `olvasasTempoja` enum('lassú','akadozó','megfelelő','gyors') DEFAULT NULL, + `olvasasHibak` set('betűtévesztés','tipikus betűcsere','betűkihagyás','szótagkihagyás','szótagcsere') DEFAULT NULL, + `iras` enum('csak másol','önállóan ír') DEFAULT NULL, + `iraskepe` enum('kusza/olvashatatlan','rendezett') DEFAULT NULL, + `irasHibak` set('betűtévesztés','tipikus betűcsere','betűkihagyás','szótagkihagyás','j-ly tévesztése','helyesírási hibák') DEFAULT NULL, + `szovegertes` enum('gyenge/nem tudja értelmezni','kérdésekre válaszol','önállóan értelmez') DEFAULT NULL, + `matematika` set('összeadást/kivonást elvégez','szorzási művelet technikáját ismeri','többtagú szorzást tud végezni', +'bennfoglalási művelet technikáját ismeri','többtagú bennfoglalást tud végezni','szöveges feladat matematikai műveleti leírására képes', +'mértani formákat/testeket ismeri','területszámítást tud végezni','felszínszámítást tud végezni','térfogatszámítást tud végezni', +'alapvető formák szerkesztésére képes') DEFAULT NULL, + `szemelyesKompetenciak` varchar(700) DEFAULT NULL, + `tarsasKompetenciak` varchar(700) DEFAULT NULL, + `kognitivKepessegek` varchar(700) DEFAULT NULL, + `vizsgalatDt` date DEFAULT NULL, + `vizsgalatTanarId` int(10) unsigned DEFAULT NULL, + `eljarasEszkozok` varchar(100) DEFAULT NULL, + `vizsgaltTerulet` varchar(100) DEFAULT NULL, + `problemaMegfogalmazasa` varchar(200) DEFAULT NULL, + PRIMARY KEY (`diakId`,`szemeszter`), + CONSTRAINT `sniDiakAllapot_diakId` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniDiakAllapot_tanarId` FOREIGN KEY (`vizsgalatTanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniDiakAdat' +) THEN +CREATE TABLE `sniDiakAdat` ( + `diakId` int(10) unsigned NOT NULL, + `mentorTanarId` int(10) unsigned NOT NULL, + `kulsoInfo` text, + PRIMARY KEY (`diakId`), + CONSTRAINT `sniDiakAdat_diakId` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniDiakAdat_tanarId` FOREIGN KEY (`mentorTanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniHaviOsszegzes' +) THEN +CREATE TABLE `sniHaviOsszegzes` ( + `haviOsszegzesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `diakId` int(10) unsigned NOT NULL, + `dt` date DEFAULT NULL, + `gyengesegek` varchar(300) DEFAULT NULL, + `erossegek` varchar(300) DEFAULT NULL, + `celok` varchar(200) DEFAULT NULL, + `fejlesztesiFeladatok` varchar(200) DEFAULT NULL, + `eszkozokModszerek` varchar(200) DEFAULT NULL, + `utemezes` varchar(200) DEFAULT NULL, + `ertekeles` varchar(200) DEFAULT NULL, + `eredmeny` varchar(100) DEFAULT NULL, + `valtozas` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`haviOsszegzesId`), + CONSTRAINT `sniHaviOsszegzes_diakId` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniHaviOsszegzesFelelos' +) THEN +CREATE TABLE `sniHaviOsszegzesFelelos` ( + `haviOsszegzesId` int(10) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`haviOsszegzesId`,`tanarId`), + CONSTRAINT `sniHaviOsszegzesFelelos_haviOsszegzesId` FOREIGN KEY (`haviOsszegzesId`) REFERENCES `sniHaviOsszegzes` (`haviOsszegzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniHaviOsszegzesFelelos_tanarId` FOREIGN KEY (`tanarId`) REFERENCES `%INTEZMENYDB%`.`tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniTantargyiFeljegyzes' +) THEN +CREATE TABLE `sniTantargyiFeljegyzes` ( + `diakId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + `dt` date NOT NULL DEFAULT '0000-00-00', + `megjegyzes` varchar(500) DEFAULT NULL, + PRIMARY KEY (`diakId`,`tankorId`,`dt`), + CONSTRAINT `sniTantargyiFeljegyzes_diakId` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `sniTantargyiFeljegyzes_tankorId` FOREIGN KEY (`tankorId`) REFERENCES `%INTEZMENYDB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='sniDiakGyengesegErosseg' +) THEN +CREATE TABLE `sniDiakGyengesegErosseg` ( + `diakId` int(10) unsigned NOT NULL, + `szemeszter` tinyint(3) unsigned NOT NULL, + `gyengesegErosseg` enum('gyengeség','erősség') NOT NULL, + `leiras` varchar(150) DEFAULT NULL, + `prioritas` tinyint(5) unsigned DEFAULT NULL, + KEY `sniDiakGyE_diakId` (`diakId`), + CONSTRAINT `sniDiakGyE_diakId` FOREIGN KEY (`diakId`) REFERENCES `%INTEZMENYDB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +END IF; +END $$ +CALL upgrade_database_3409(); diff --git a/mayor-orig/update/pre003411-1-naplo.sql b/mayor-orig/update/pre003411-1-naplo.sql new file mode 100644 index 00000000..8b2f57f3 --- /dev/null +++ b/mayor-orig/update/pre003411-1-naplo.sql @@ -0,0 +1,55 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3411 $$ +CREATE PROCEDURE upgrade_database_3411() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyam' +) THEN + alter table osztalyNaplo add column evfolyam tinyint unsigned; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztalyNaplo' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table osztalyNaplo add column evfolyamJel varchar(32) collate utf8_hungarian_ci; +END IF; +END $$ +CALL upgrade_database_3411(); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set evfolyam=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + ((elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>'') OR osztaly.osztalyJellegId=92) AND osztaly.kezdoTanev <> convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) + ), + NULL + ); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set evfolyamJel=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), + if ( + osztaly.kezdoTanev = convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1) + ), + (convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev) + ), + NULL + ); +update osztalyNaplo left join %INTEZMENYDB%.osztaly using (osztalyId) left join mayor_naplo.osztalyJelleg using (osztalyJellegId) +set osztalyJel=if ( + (osztaly.vegzoTanev>=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned) AND osztaly.kezdoTanev<=convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)), + if( + (elokeszitoEvfolyam IS NOT NULL AND elokeszitoEvfolyam<>''), + if ( + osztaly.kezdoTanev = convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),elokeszitoEvfolyam,'.',osztaly.jel), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev-1),'.',osztaly.jel) + ), + CONCAT((convert(SUBSTRING_INDEX(DATABASE(),'_',-1),unsigned)+osztaly.kezdoEvfolyam-osztaly.kezdoTanev),'.',osztaly.jel) + ), + CONCAT(osztaly.kezdoTanev,'/',osztaly.vegzoTanev,'.',osztaly.jel) + ); + \ No newline at end of file diff --git a/mayor-orig/update/pre003422-1-mayor_naplo.sql b/mayor-orig/update/pre003422-1-mayor_naplo.sql new file mode 100644 index 00000000..9af5fa6a --- /dev/null +++ b/mayor-orig/update/pre003422-1-mayor_naplo.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3422 $$ +CREATE PROCEDURE upgrade_database_3422() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='osztalyJellegEles' +) THEN + alter table osztalyJelleg add column osztalyJellegEles tinyint unsigned default 1; +END IF; +END $$ +CALL upgrade_database_3422(); +UPDATE osztalyJelleg SET osztalyJellegEles=1 WHERE osztalyJellegId>=21; +UPDATE osztalyJelleg SET osztalyJellegEles=0 WHERE osztalyJellegId<21; diff --git a/mayor-orig/update/pre003427-1-intezmeny.sql b/mayor-orig/update/pre003427-1-intezmeny.sql new file mode 100644 index 00000000..c1298e99 --- /dev/null +++ b/mayor-orig/update/pre003427-1-intezmeny.sql @@ -0,0 +1 @@ +UPDATE tankorDiakFelmentes SET ora=NULL WHERE nap IS NULL and ora=0 AND beDt>="2014-10-15"; diff --git a/mayor-orig/update/pre003431-1-intezmeny.sql b/mayor-orig/update/pre003431-1-intezmeny.sql new file mode 100644 index 00000000..b8b97a17 --- /dev/null +++ b/mayor-orig/update/pre003431-1-intezmeny.sql @@ -0,0 +1,90 @@ + +DELIMITER // + DROP FUNCTION IF EXISTS diakNaploSorszam // + CREATE function diakNaploSorszam ( thisDiakId INT, thisTanev INT, thisOsztalyId INT ) returns INT + READS SQL DATA + BEGIN + DECLARE inKezdesDt,inZarasDt DATE; + DECLARE a,i INT; -- for loop + DECLARE b DATE; -- for loop + DECLARE c DATE; + DECLARE d INT; + DECLARE e VARCHAR(255); + + DECLARE cur1 + CURSOR FOR + SELECT diakId,IF(beDt=inKezdesDt) + HAVING (aktJogviszonyDb>0 or elozoStatusz in ('magántanuló','jogviszonyban van')) + ORDER BY tolDt, CONCAT_WS(' ',viseltCsaladinev,viseltUtonev) COLLATE utf8_hungarian_ci; + + DECLARE EXIT HANDLER FOR NOT FOUND RETURN NULL; + SELECT kezdesDt FROM szemeszter WHERE tanev=thisTanev AND szemeszter=1 INTO inKezdesDt; + SELECT MAX(zarasDt) FROM szemeszter WHERE tanev=thisTanev INTO inZarasDt; + + SET i := 1; + OPEN cur1; + lo: LOOP +-- FETCH cur1 INTO a,b; + FETCH cur1 INTO a,b,c,d,e; + IF a = thisDiakId THEN + LEAVE lo; + END IF; + SET i := i+1; + END LOOP; + CLOSE cur1; + return i; + END; // + DELIMITER ; // + + DELIMITER // + DROP FUNCTION IF EXISTS diakTorzslapszam // + CREATE function diakTorzslapszam ( thisDiakId INT, thisOsztalyId INT ) returns INT + READS SQL DATA + BEGIN + DECLARE i,d,n01,n02,n03,n04,n05,n06,n07,n08,n09,n10,n11,n12,n13 INT; -- for loop + DECLARE error,inKezdoTanev,inVegzoTanev INT; + DECLARE cur1 + CURSOR FOR + SELECT diakId, + ifnull(diakNaploSorszam(diakId,inKezdoTanev,thisOsztalyId),99) as ns01, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+1,thisOsztalyId),99) as ns02, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+2,thisOsztalyId),99) as ns03, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+3,thisOsztalyId),99) as ns04, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+4,thisOsztalyId),99) as ns05, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+5,thisOsztalyId),99) as ns06, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+6,thisOsztalyId),99) as ns07, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+7,thisOsztalyId),99) as ns08, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+8,thisOsztalyId),99) as ns09, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+9,thisOsztalyId),99) as ns10, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+10,thisOsztalyId),99) as ns11, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+11,thisOsztalyId),99) as ns12, + ifnull(diakNaploSorszam(diakId,inKezdoTanev+12,thisOsztalyId),99) as ns13 + FROM osztalyDiak + WHERE osztalyId=thisOsztalyId + ORDER BY ns01, ns02, ns03, ns04, ns05, ns06, ns07, ns08, ns09, ns10, ns11, ns12, ns13; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET error := 1; -- Ne csináljon semmit, menjen tovább... + SELECT kezdoTanev FROM osztaly WHERE osztalyId=thisOsztalyId INTO inKezdoTanev; + SET i := 1; + OPEN cur1; + lo: LOOP + FETCH cur1 INTO d, n01, n02, n03, n04, n05, n06, n07, n08, n09, n10, n11, n12, n13; + IF d = thisDiakId THEN + LEAVE lo; + END IF; + SET i := i+1; + END LOOP; + CLOSE cur1; + + return i; + END; // + DELIMITER ; // + + diff --git a/mayor-orig/update/pre003450-1-intezmeny.sql b/mayor-orig/update/pre003450-1-intezmeny.sql new file mode 100644 index 00000000..7726d414 --- /dev/null +++ b/mayor-orig/update/pre003450-1-intezmeny.sql @@ -0,0 +1,18 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3450 $$ +CREATE PROCEDURE upgrade_database_3450() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='diak' AND COLUMN_NAME='elozoIskolaOMKod' +) THEN + alter table diak add column `elozoIskolaOMKod` mediumint(8) unsigned zerofill DEFAULT NULL; +ELSE + alter table diak modify `elozoIskolaOMKod` mediumint(8) unsigned zerofill DEFAULT NULL; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3450(); + + + diff --git a/mayor-orig/update/pre003456-1-intezmeny.sql b/mayor-orig/update/pre003456-1-intezmeny.sql new file mode 100644 index 00000000..dc6c078e --- /dev/null +++ b/mayor-orig/update/pre003456-1-intezmeny.sql @@ -0,0 +1,28 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3456 $$ +CREATE PROCEDURE upgrade_database_3456() +BEGIN + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='zaroJegy' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table zaroJegy add column `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL AFTER `evfolyam`; +ELSE + alter table zaroJegy modify `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='vizsga' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table vizsga add column `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL AFTER `evfolyam`; +ELSE + alter table vizsga modify `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3456(); + + + diff --git a/mayor-orig/update/pre003461-1-mayor_naplo.sql b/mayor-orig/update/pre003461-1-mayor_naplo.sql new file mode 100644 index 00000000..408771e6 --- /dev/null +++ b/mayor-orig/update/pre003461-1-mayor_naplo.sql @@ -0,0 +1 @@ +UPDATE osztalyJelleg SET elokeszitoEvfolyam='Ny' WHERE osztalyJellegId IN (10,12,14); diff --git a/mayor-orig/update/pre003464-1-intezmeny.sql b/mayor-orig/update/pre003464-1-intezmeny.sql new file mode 100644 index 00000000..2de741c9 --- /dev/null +++ b/mayor-orig/update/pre003464-1-intezmeny.sql @@ -0,0 +1,18 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3464 $$ +CREATE PROCEDURE upgrade_database_3464() +BEGIN +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='zaroJegy' AND COLUMN_NAME='_tanev' +) THEN + alter table zaroJegy DROP `_tanev`; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='zaroJegy' AND COLUMN_NAME='_szemeszter' +) THEN + alter table zaroJegy DROP `_szemeszter`; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3464(); diff --git a/mayor-orig/update/pre003517-1-intezmeny.sql b/mayor-orig/update/pre003517-1-intezmeny.sql new file mode 100644 index 00000000..9e205e43 --- /dev/null +++ b/mayor-orig/update/pre003517-1-intezmeny.sql @@ -0,0 +1,43 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3517 $$ +CREATE PROCEDURE upgrade_database_3517() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='diakTorzslapszam' +) THEN + CREATE TABLE `diakTorzslapszam` ( + `osztalyId` int(10) unsigned NOT NULL, + `diakId` int(10) unsigned NOT NULL, + `torzslapszam` tinyint unsigned NOT NULL, + PRIMARY KEY (`osztalyId`,`diakId`), + KEY `diakTorzslapszam_ibfk_2` (`diakId`), + CONSTRAINT `diakTorzslapszam_ibfk_1` FOREIGN KEY (`osztalyId`) REFERENCES `osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `diakTorzslapszam_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + -- A névsor miatt az üres mező NULL kell legyen! + update diak set viseltNevElotag = NULL where viseltNevElotag = ''; + + -- A törzslapszámok feltöltése + set @oszt=0; + set @sz=0; + insert ignore into diakTorzslapszam + select osztalyId, diakId, sorsz from ( + select + @sz:=if(@oszt=osztalyId,@sz:=@sz+1,1) as sorsz, + @oszt:=osztalyId as o, + osztalyId, diakId, sort, diakNev + from ( + select + osztalyId, diakId, + if (month(min(beDt))>8 or month(min(beDt))<6 or (month(min(beDt))=6 and day(min(beDt))<16), min(beDt), date_format(min(beDt),'%Y-09-01')) as sort, + concat_ws(' ',viseltNevElotag, viseltCsaladinev, viseltUtonev) as diakNev + from osztalyDiak left join diak using (diakId) WHERE diak.diakId IS NOT NULL + group by osztalyId, diakId + order by osztalyId, sort, diakNev + ) as t + ) as k; + -- where diakId=... and osztalyId=...; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3517(); diff --git a/mayor-orig/update/pre003531-1-intezmeny.sql b/mayor-orig/update/pre003531-1-intezmeny.sql new file mode 100644 index 00000000..28505221 --- /dev/null +++ b/mayor-orig/update/pre003531-1-intezmeny.sql @@ -0,0 +1,14 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3531 $$ +CREATE PROCEDURE upgrade_database_3531() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kepzesOraterv' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table `kepzesOraterv` ADD `evfolyamJel` varchar(32) DEFAULT NULL AFTER evfolyam; + update kepzesOraterv SET evfolyamJel=evfolyam; + alter table `kepzesOraterv` ADD UNIQUE KEY `kot_kulcs2` (`kepzesId`,`targyId`,`evfolyamJel`,`szemeszter`); +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3531(); diff --git a/mayor-orig/update/pre003531-2-intezmeny.sql b/mayor-orig/update/pre003531-2-intezmeny.sql new file mode 100644 index 00000000..9bf03988 --- /dev/null +++ b/mayor-orig/update/pre003531-2-intezmeny.sql @@ -0,0 +1,15 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3531b $$ +CREATE PROCEDURE upgrade_database_3531b() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kepzes' AND COLUMN_NAME='osztalyJellegId' +) THEN + alter table `kepzes` ADD `osztalyJellegId` tinyint(3) unsigned DEFAULT NULL; + alter table `kepzes` ADD KEY `kepzes_ibfk_1` (`osztalyJellegId`); + alter table `kepzes` ADD CONSTRAINT `kepzes_ibfk_1` FOREIGN KEY (`osztalyJellegId`) REFERENCES `mayor_naplo`.`osztalyJelleg` (`osztalyJellegId`) + ON DELETE SET NULL ON UPDATE CASCADE; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3531b(); diff --git a/mayor-orig/update/pre003531-3-intezmeny.sql b/mayor-orig/update/pre003531-3-intezmeny.sql new file mode 100644 index 00000000..208b1379 --- /dev/null +++ b/mayor-orig/update/pre003531-3-intezmeny.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3531c $$ +CREATE PROCEDURE upgrade_database_3531c() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kepzesOraszam' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table `kepzesOraszam` ADD `evfolyamJel` varchar(32) COLLATE utf8_hungarian_ci NOT NULL AFTER evfolyam; + alter table `kepzesOraszam` MODIFY `evfolyam` tinyint(3) unsigned NULL; + UPDATE kepzesOraszam SET evfolyamJel=evfolyam; + alter table `kepzesOraszam` DROP PRIMARY KEY; + alter table `kepzesOraszam` ADD PRIMARY KEY (`kepzesId`,`evfolyamJel`); +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3531c(); diff --git a/mayor-orig/update/pre003531-4-intezmeny.sql b/mayor-orig/update/pre003531-4-intezmeny.sql new file mode 100644 index 00000000..7a37cd83 --- /dev/null +++ b/mayor-orig/update/pre003531-4-intezmeny.sql @@ -0,0 +1,18 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3531d $$ +CREATE PROCEDURE upgrade_database_3531d() +BEGIN +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kepzesOraszam' AND COLUMN_NAME='evfolyam' +) THEN + alter table `kepzesOraszam` DROP `evfolyam`; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kepzesOraterv' AND COLUMN_NAME='evfolyam' +) THEN + alter table `kepzesOraterv` drop key `kot_kulcs`; + alter table `kepzesOraterv` DROP `evfolyam`; +END IF; +END $$ +DELIMITER ; +CALL upgrade_database_3531d(); diff --git a/mayor-orig/update/pre003562-1-intezmeny.sql b/mayor-orig/update/pre003562-1-intezmeny.sql new file mode 100644 index 00000000..1b039aee --- /dev/null +++ b/mayor-orig/update/pre003562-1-intezmeny.sql @@ -0,0 +1,10 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3562 $$ +CREATE PROCEDURE upgrade_database_3562() +BEGIN + DROP TABLE IF EXISTS kepzesTargyOraszam; +END $$ +DELIMITER ; + +CALL upgrade_database_3562(); diff --git a/mayor-orig/update/pre003566-1-naplo.sql b/mayor-orig/update/pre003566-1-naplo.sql new file mode 100644 index 00000000..3b5a6b6f --- /dev/null +++ b/mayor-orig/update/pre003566-1-naplo.sql @@ -0,0 +1,34 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3566 $$ +CREATE PROCEDURE upgrade_database_3566() +BEGIN + + DROP TABLE IF EXISTS `bontasTankor`; + + DROP TABLE IF EXISTS `kepzesTargyBontas`; + + CREATE TABLE `kepzesTargyBontas` ( + `bontasId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `osztalyId` int(10) unsigned NOT NULL, + `kepzesOratervId` int(10) unsigned NOT NULL, + `targyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`bontasId`), + CONSTRAINT `ktBontas_osztalyId` FOREIGN KEY (`osztalyId`) REFERENCES `%INTEZMENYDB%`.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `ktBontas_kepzesOratervId` FOREIGN KEY (`kepzesOratervId`) REFERENCES `%INTEZMENYDB%`.`kepzesOraterv` (`kepzesOratervId`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + CREATE TABLE `bontasTankor` ( + `bontasId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + `hetiOraszam` decimal(4,2) DEFAULT NULL, + PRIMARY KEY (`bontasId`,`tankorId`), + CONSTRAINT `bontasTankor_bontasId` FOREIGN KEY (`bontasId`) REFERENCES `kepzesTargyBontas` (`bontasId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `bontasTankor_tankorId` FOREIGN KEY (`tankorId`) REFERENCES `%INTEZMENYDB%`.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +END $$ +DELIMITER ; +CALL upgrade_database_3566(); + + diff --git a/mayor-orig/update/pre003568-1-intezmeny.sql b/mayor-orig/update/pre003568-1-intezmeny.sql new file mode 100644 index 00000000..e415c635 --- /dev/null +++ b/mayor-orig/update/pre003568-1-intezmeny.sql @@ -0,0 +1,38 @@ +-- javított szkript +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3568 $$ +CREATE PROCEDURE upgrade_database_3568() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tanar' AND COLUMN_NAME='statusz' +) THEN + ALTER TABLE `tanar` ADD `statusz` ENUM('határozatlan idejű','határozott idejű', 'tartósan távol') CHARACTER SET utf8 COLLATE utf8_hungarian_ci; +ELSE + ALTER TABLE `tanar` MODIFY `statusz` ENUM('határozatlan idejű','határozott idejű', 'tartósan távol') CHARACTER SET utf8 COLLATE utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tanar' AND COLUMN_NAME='hetiKotelezoOraszam' +) THEN + ALTER TABLE `tanar` ADD `hetiKotelezoOraszam` decimal(3,1) DEFAULT 0.0; +ELSE + ALTER TABLE `tanar` MODIFY `hetiKotelezoOraszam` decimal(3,1) DEFAULT 0.0; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tanar' AND COLUMN_NAME='megjegyzes' +) THEN + ALTER TABLE `tanar` ADD `megjegyzes` varchar(255) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; +ELSE + ALTER TABLE `tanar` MODIFY `megjegyzes` varchar(255) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3568(); + + + diff --git a/mayor-orig/update/pre003581-1-intezmeny.sql b/mayor-orig/update/pre003581-1-intezmeny.sql new file mode 100644 index 00000000..f8bf5e27 --- /dev/null +++ b/mayor-orig/update/pre003581-1-intezmeny.sql @@ -0,0 +1,51 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3580 $$ +CREATE PROCEDURE upgrade_database_3580() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztaly' AND COLUMN_NAME='kezdoEvfolyam' +) THEN + alter table osztaly change `kezdoEvfolyam` `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='szempontRendszer' AND COLUMN_NAME='evfolyam' +) THEN + alter table szempontRendszer change `evfolyam` `_evfolyam` tinyint(5) unsigned NOT NULL; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanmenet' AND COLUMN_NAME='evfolyam' +) THEN + alter table tanmenet change `evfolyam` `_evfolyam` tinyint(5) unsigned NOT NULL; +END IF; + + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='osztaly' AND COLUMN_NAME='kezdoEvfolyamSorszam' +) THEN + alter table osztaly add column kezdoEvfolyamSorszam tinyint unsigned default 1; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='szempontRendszer' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table szempontRendszer add column evfolyamJel varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; + update szempontRendszer set evfolyamJel = _evfolyam; +ELSE + alter table szempontRendszer modify evfolyamJel varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; + update szempontRendszer set evfolyamJel = _evfolyam where evfolyamJel is null; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanmenet' AND COLUMN_NAME='evfolyamJel' +) THEN + alter table tanmenet add column evfolyamJel varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; + update tanmenet set evfolyamJel = _evfolyam; +ELSE + alter table tanmenet modify evfolyamJel varchar(32) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL; + update tanmenet set evfolyamJel = _evfolyam where evfolyamJel is null; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3580(); diff --git a/mayor-orig/update/pre003581-1-mayor_naplo.sql b/mayor-orig/update/pre003581-1-mayor_naplo.sql new file mode 100644 index 00000000..f8f52978 --- /dev/null +++ b/mayor-orig/update/pre003581-1-mayor_naplo.sql @@ -0,0 +1,175 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3580 $$ +CREATE PROCEDURE upgrade_database_3580() +BEGIN +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='kezdoEvfolyam' +) THEN + alter table osztalyJelleg change `kezdoEvfolyam` `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='vegzoEvfolyam' +) THEN + alter table osztalyJelleg change `vegzoEvfolyam` `_vegzoEvfolyam` tinyint(3) unsigned DEFAULT NULL; +END IF; +-- IF EXISTS ( +-- SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='elokeszitoEvfolyam' +-- ) THEN +-- alter table osztalyJelleg drop column elokeszitoEvfolyam; +-- END IF; +-- IF EXISTS ( +-- SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='kovOsztalyJellegId' +-- ) THEN +-- alter table osztalyJelleg drop column kovOsztalyJellegId; +-- END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='evfolyamJelek' +) THEN + alter table osztalyJelleg add column evfolyamJelek varchar(255) character set utf8 collate utf8_hungarian_ci default ''; +ELSE + alter table osztalyJelleg modify evfolyamJelek varchar(255) character set utf8 collate utf8_hungarian_ci default ''; +END IF; +END $$ +DELIMITER ; +CALL upgrade_database_3580(); + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +-- Arany János Tehetséggondozó Program (AJTP) - 9 +-- Arany János Kollégiumi Program (AJKP) - 9 +-- két tanítási nyelvű előkészítő (Kny) - 9 +-- nemzetiségi előkészítő (N) - 9 +-- nyelvi előkészítő (Ny) - 9 +-- Híd I. program (H/I) - 9 (H/I) +-- Híd II. program (H/II) - 8 (H/II/1, H/II/2) + +-- kizárólag szakmai oktatást folytató képzések - Ksz/11, Ksz/12 - 11 +-- szakközépiskolák szakiskolai végzettséggel rendelkező tanulóinak érettségire történő felkészítése - Szé/12/1, Szé/12/2 - 13, 14 + +-- szakképzés: +-- 5/13 - szakközépiskola 4 évére épülő 1 évfolyamos szakképzés - 13 +-- 1/13, 2/14 - középiskolai képzésre nem épülő két évfolyamos képzés - 13, 14 +-- 1/8, 2/9... - iskolai előképzettséghez nem kötött kifutó képzés - 8, 9, ... +-- 1/9, 2/10... - alapfokú iskolai végzettséghez kötött kifutó képzés - 9, 10, ... +-- 1/11, 2/12... - 10. évfolyam elvégzéséhez kötött kifutó képzés - 11, 12, ... +-- 1/13, 2/14... - középiskolai végzettséghez kötött kifutó képzés - 13, 14, ... + +-- 1. az évfolyamot meghatározó függvényt bonyolítani kellene +-- 2. ennek felhasználásával kellene az osztály jelet generáló függvényt is módosítani +-- 3. ezt kellene használni a tanév megnyitáskor - rögzíteni az évfolyamot is +-- 4. megnézni a share/osztaly-ban, hogy hol van még évfolyam lekérdezés, azt javítani +-- a korábbi osztályok kezelése valóban problémás - esetleg egy speciális típust lehet nekik adni, ami folyamatos évfolyamszámozást jelent - kezelhetőnek tűnik +-- 5. az eddigi "evfolyam" (szám) mellett jelenjen meg az "evfolyamJel" (szöveg) +-- 6. a képzések létrehozásakor meg kell adni, hogy milyen osztályJelleg-re alkalmazandó. Innen tudhatók az évfolyamai! +-- 7. az érintett táblákat és funkciókat át kell alakítani +-- evfolyam mezők: +-- osztaly.kezdoEvfolyam - ok + + +-- zaroJegy.evfolyam --> evfolyamJel +-- vizsga.evfolyam --> evfolyamJel (zaroJegy) +-- kepzes.kezdoEvfolyam - ok (kell ez? - kell.) (~osztaly) +-- kepzes.zaroEvfolyam - ok (kell ez? - kell.) (~osztaly) +-- szempontRendszer.evfolyam --> evfolyamJel (kepzes) +-- kepzesOraszam.evfolyam --> evfolyamJel (osztalyJelleg) +-- kepzesOraterv.evfolyam --> evfolyamJel (osztalyJelleg) +-- kepzesTargyOraszam.evfolyam --> használjuk ezt egyáltalán???g +-- tanmenet.evfolyam --> evfolyamJel (kepzes) + +-- kovOsztalyJellegId -- csak az intezmeny/osztaly (NyEK osztály-léptetés) és az osztalyozo/zaroJegyCheck oldalakat érinti +-- elokeszitoEvfolyam -- talán ez is felesleges... + +-- már elavult osztály-jellegek +update osztalyJelleg set evfolyamJelek='1,2,3,4,5,6,7,8' where osztalyJellegId=1; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=2; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=3; +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=4; +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=5; +-- -- -- szakiskola?? +update osztalyJelleg set evfolyamJelek='' where osztalyJellegId=6; +-- -- -- speciális szakiskola?? +update osztalyJelleg set evfolyamJelek='' where osztalyJellegId=7; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=8; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=9; +update osztalyJelleg set evfolyamJelek='9Ny' where osztalyJellegId=10; + +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=11; +update osztalyJelleg set evfolyamJelek='7Ny' where osztalyJellegId=12; +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=13; +update osztalyJelleg set evfolyamJelek='5Ny' where osztalyJellegId=14; + +-- általános iskola +update osztalyJelleg set evfolyamJelek='1,2,3,4,5,6,7,8' where osztalyJellegId=21; +update osztalyJelleg set evfolyamJelek='1,2,3,4' where osztalyJellegId=22; +update osztalyJelleg set evfolyamJelek='5,6,7,8' where osztalyJellegId=23; +-- 4 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=31; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12' where osztalyJellegId=32; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12' where osztalyJellegId=33; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12' where osztalyJellegId=34; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12' where osztalyJellegId=35; +update osztalyJelleg set evfolyamJelek='9/Ny,9,10,11,12' where osztalyJellegId=36; +-- 5 évfolyamos gimnázium (NKT. szerint ilyen nincs.) +update osztalyJelleg set evfolyamJelek='9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=41; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=42; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=43; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=44; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=45; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=46; +-- 6 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=51; +update osztalyJelleg set evfolyamJelek='7/N,7,8,9,10,11,12' where osztalyJellegId=52; +update osztalyJelleg set evfolyamJelek='7/Ny,7,8,9,10,11,12' where osztalyJellegId=53; +-- 8 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=61; +update osztalyJelleg set evfolyamJelek='5/N,5,6,7,8,9,10,11,12' where osztalyJellegId=62; +update osztalyJelleg set evfolyamJelek='5/Ny,5,6,7,8,9,10,11,12' where osztalyJellegId=63; +-- szakközépiskola - közismereti képzés (NKT. 12. § (1) - 4 évfolyam) +update osztalyJelleg set evfolyamJelek='9,10,11,12',osztalyJellegNev='szakközépiskola (1-4)' where osztalyJellegId=71; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12',osztalyJellegNev=concat_ws(' ',osztalyJellegNev,'(1+4)') where osztalyJellegId=72; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12',osztalyJellegNev=concat_ws(' ',osztalyJellegNev,'(1+4)') where osztalyJellegId=73; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12',osztalyJellegNev=concat_ws(' ',osztalyJellegNev,'(1+4)') where osztalyJellegId=74; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12',osztalyJellegNev=concat_ws(' ',osztalyJellegNev,'(1+4)') where osztalyJellegId=75; +update osztalyJelleg set evfolyamJelek='9/Ny,9,10,11,12',osztalyJellegNev=concat_ws(' ',osztalyJellegNev,'(1+4)') where osztalyJellegId=76; + + +-- szakközépiskola - szakképzés +update osztalyJelleg set evfolyamJelek='13,14',osztalyJellegEles=0 where osztalyJellegId=77; +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (78,NULL,'szakközépiskolák szakiskolai végzettséggel rendelkező tanulóinak érettségire történő felkészítése (Szé/12/1-2)',1,'Szé/12/1,Szé/12/2') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (79,NULL,'szakképzés - a szakközépiskola négy évére épülő 1 évfolyamos képzés (5/13)',0,'5/13') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); + +-- szakiskola - szakképzés (NKT. 13. § (1) - 3 évfolyam) +-- insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) +-- values (81,NULL,'szakiskola',0,'HIÁNYZIK'); +update osztalyJelleg set evfolyamJelek='9,10,11',osztalyJellegEles=0 where osztalyJellegId=81; +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (82,NULL,'szakképzés - iskolai előképzettséghez nem kötött 3 évfolyamos képzés (1/8-3/10)',0,'1/8,2/9,3/10') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (83,NULL,'szakképzés - alapfokú iskolai végzettséghez kötött 3 évfolyamos képzés (1/9-3/11)',0,'1/9,2/10,3/11') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (84,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 2 évfolyamos képzés (1/11-2/12)',0,'1/11,2/12') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (85,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 3 évfolyamos képzés (1/11-3/13)',0,'1/11,2/12,3/13') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (86,NULL,'szakképzés - a középiskola utolsó évfolyamának elvégzéséhez vagy középiskolai végzettséghez kötött 2 évfolyamos képzés (1/13-2/14)',0,'1/13,2/14') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); + +-- egyéb +delete from osztalyJelleg where osztalyJellegId in (91,92); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (91,NULL,'Híd I. program - 1 évfolyamos, alapfokú végzettséghez kötött, középiskolára felkészítő képzés (H/I)',0,'H/I') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (92,NULL,'Híd II. program - 1 évfolyamos (10 hónapos), alapfokú végzettséget nem adó, szakképzést előkészítő osztály (H/II)',0,'H/II/1') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (93,NULL,'Híd II. program - 2 évfolyamos (20 hónapos), alapfokú végzettséget adó, szakképzést előkészítő osztály (H/II/1-2)',0,'H/II/1,H/II/2') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); diff --git a/mayor-orig/update/pre003582-1-intezmeny.sql b/mayor-orig/update/pre003582-1-intezmeny.sql new file mode 100644 index 00000000..af1557fe --- /dev/null +++ b/mayor-orig/update/pre003582-1-intezmeny.sql @@ -0,0 +1,22 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3582 $$ +CREATE PROCEDURE upgrade_database_3582() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='kepzes' AND COLUMN_NAME='kezdoEvfolyam' +) THEN + alter table kepzes change `kezdoEvfolyam` `_kezdoEvfolyam` tinyint(3) unsigned DEFAULT NULL; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='kepzes' AND COLUMN_NAME='zaroEvfolyam' +) THEN + alter table kepzes change `zaroEvfolyam` `_zaroEvfolyam` tinyint(3) unsigned DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3582(); + diff --git a/mayor-orig/update/pre003592-1-naplo.sql b/mayor-orig/update/pre003592-1-naplo.sql new file mode 100644 index 00000000..f281c0ad --- /dev/null +++ b/mayor-orig/update/pre003592-1-naplo.sql @@ -0,0 +1,22 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3591 $$ +DROP PROCEDURE IF EXISTS upgrade_database_3592 $$ + +CREATE PROCEDURE upgrade_database_3592() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='nap' AND COLUMN_NAME='tipus' +) THEN + alter table nap modify tipus enum('tanítási nap','speciális tanítási nap','tanítás nélküli munkanap','tanítási szünet','szorgalmi időszakon kívüli munkanap') + CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'tanítási nap'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3592(); + + diff --git a/mayor-orig/update/pre003597-1-intezmeny.sql b/mayor-orig/update/pre003597-1-intezmeny.sql new file mode 100644 index 00000000..12530b94 --- /dev/null +++ b/mayor-orig/update/pre003597-1-intezmeny.sql @@ -0,0 +1,19 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3597 $$ +CREATE PROCEDURE upgrade_database_3597() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='besorolas' +) THEN + alter table tanar add column besorolas enum('Gyakornok','Pedagógus I.','Pedagógus II.','Mesterpedagógus','Kutatótanár') CHARACTER SET utf8 COLLATE utf8_hungarian_ci; +ELSE + alter table tanar modify column besorolas enum('Gyakornok','Pedagógus I.','Pedagógus II.','Mesterpedagógus','Kutatótanár') CHARACTER SET utf8 COLLATE utf8_hungarian_ci; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3597(); + diff --git a/mayor-orig/update/pre003599-1-intezmeny.sql b/mayor-orig/update/pre003599-1-intezmeny.sql new file mode 100644 index 00000000..c7fe6f7a --- /dev/null +++ b/mayor-orig/update/pre003599-1-intezmeny.sql @@ -0,0 +1,45 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3599 $$ +CREATE PROCEDURE upgrade_database_3599() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +DROP TABLE IF EXISTS `tanarKepesites`; +DROP TABLE IF EXISTS `kepesitesTargy`; +DROP TABLE IF EXISTS `kepesites`; + +CREATE TABLE `kepesites` ( + `kepesitesId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `vegzettseg` enum('','alapfokú','középfokú','felsőfokú') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL, + `fokozat` enum('','főiskolai','egyetemi','alapfokozat','mesterfokozat','tudományos fokozat') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL, + `specializacio` enum('','alapfokú szakképesítés','középfokú szakképesítés','emelt szintű szakképesítés','felsőfokú szakképesítés','szakképzettség') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL, + `kepesitesNev` varchar(255) CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`kepesitesId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +INSERT INTO `kepesites` (`vegzettseg`, `fokozat`, `specializacio`, `kepesitesNev`) VALUES +('alapfokú','','','általános iskola'), +('középfokú','','','érettségi'); + +CREATE TABLE `kepesitesTargy` ( + `kepesitesId` int(10) unsigned NOT NULL, + `targyId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`kepesitesId`,`targyId`), + CONSTRAINT `kepesitesTargy_ibfk_1` FOREIGN KEY (`kepesitesId`) REFERENCES `kepesites` (`kepesitesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `kepesitesTargy_ibfk_2` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE `tanarKepesites` ( + `tanarId` int(10) unsigned NOT NULL, + `kepesitesId` int(10) unsigned NOT NULL, + PRIMARY KEY (`tanarId`,`kepesitesId`), + CONSTRAINT `tanarKepesites_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tanarKepesites_ibfk_2` FOREIGN KEY (`kepesitesId`) REFERENCES `kepesites` (`kepesitesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +END $$ +DELIMITER ; +CALL upgrade_database_3599(); + diff --git a/mayor-orig/update/pre003601-1-intezmeny.sql b/mayor-orig/update/pre003601-1-intezmeny.sql new file mode 100644 index 00000000..c2347b74 --- /dev/null +++ b/mayor-orig/update/pre003601-1-intezmeny.sql @@ -0,0 +1,26 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3601 $$ +CREATE PROCEDURE upgrade_database_3601() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='besorolas' +) THEN + alter table tanar modify besorolas enum('Gyakornok','Pedagógus I.','Pedagógus II.','Mesterpedagógus','Kutatótanár') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'Pedagógus I.'; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='statusz' +) THEN + alter table tanar modify `statusz` enum('határozatlan idejű','határozott idejű','tartósan távol','jogviszonya lezárva') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'határozatlan idejű'; +END IF; + +UPDATE tanar SET besorolas='Pedagógus I.' WHERE besorolas IS NULL; +UPDATE tanar SET statusz='határozatlan idejű' WHERE kiDt IS NULL AND statusz IS NULL; +UPDATE tanar SET statusz='jogviszonya lezárva' WHERE kiDt IS NOT NULL AND statusz IS NULL; + +END $$ +DELIMITER ; +CALL upgrade_database_3601(); + diff --git a/mayor-orig/update/pre003602-1-mayor_naplo.sql b/mayor-orig/update/pre003602-1-mayor_naplo.sql new file mode 100644 index 00000000..ebf994d5 --- /dev/null +++ b/mayor-orig/update/pre003602-1-mayor_naplo.sql @@ -0,0 +1,14 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3602 $$ +CREATE PROCEDURE upgrade_database_3602() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +update osztalyJelleg set osztalyJellegNev='általános iskola felső tagozat (5-8)' where osztalyJellegId = 23; + +END $$ +DELIMITER ; +CALL upgrade_database_3602(); + + diff --git a/mayor-orig/update/pre003604-1-mayor_naplo.sql b/mayor-orig/update/pre003604-1-mayor_naplo.sql new file mode 100644 index 00000000..89fa81db --- /dev/null +++ b/mayor-orig/update/pre003604-1-mayor_naplo.sql @@ -0,0 +1,20 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3604 $$ +CREATE PROCEDURE upgrade_database_3604() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='intezmeny' AND COLUMN_NAME='fenntarto' +) THEN + alter table `intezmeny` add column `fenntarto` enum('állami','egyházi','alapítványi','magán','egyéb') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'állami'; +ELSE + alter table `intezmeny` modify `fenntarto` enum('állami','egyházi','alapítványi','magán','egyéb') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'állami'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3604(); + + diff --git a/mayor-orig/update/pre003605-1-intezmeny.sql b/mayor-orig/update/pre003605-1-intezmeny.sql new file mode 100644 index 00000000..9a78c60b --- /dev/null +++ b/mayor-orig/update/pre003605-1-intezmeny.sql @@ -0,0 +1,21 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3605 $$ +CREATE PROCEDURE upgrade_database_3605() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='statusz' +) THEN + alter table tanar modify `statusz` enum('határozatlan idejű','határozott idejű','tartósan távol','jogviszonya lezárva','külső óraadó') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'határozatlan idejű'; +END IF; + +UPDATE tanar SET besorolas='Pedagógus I.' WHERE besorolas IS NULL OR besorolas=''; +UPDATE tanar SET statusz='határozatlan idejű' WHERE kiDt IS NULL AND (statusz IS NULL OR statusz=''); +UPDATE tanar SET statusz='jogviszonya lezárva' WHERE kiDt IS NOT NULL AND (statusz IS NULL OR statusz=''); + +END $$ +DELIMITER ; +CALL upgrade_database_3605(); + diff --git a/mayor-orig/update/pre003616-1-mayor_naplo.sql b/mayor-orig/update/pre003616-1-mayor_naplo.sql new file mode 100644 index 00000000..78aa5ad5 --- /dev/null +++ b/mayor-orig/update/pre003616-1-mayor_naplo.sql @@ -0,0 +1,110 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3616 $$ +CREATE PROCEDURE upgrade_database_3616() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='mayor_naplo' and TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='evfolyamJelek' +) THEN + alter table osztalyJelleg add column evfolyamJelek varchar(255) character set utf8 collate utf8_hungarian_ci default ''; +ELSE + alter table osztalyJelleg modify evfolyamJelek varchar(255) character set utf8 collate utf8_hungarian_ci default ''; +END IF; + + +-- már elavult osztály-jellegek +update osztalyJelleg set evfolyamJelek='1,2,3,4,5,6,7,8' where osztalyJellegId=1; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=2; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=3; +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=4; +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=5; +-- -- -- szakiskola?? +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=6; +-- -- -- speciális szakiskola?? +update osztalyJelleg set evfolyamJelek='9/E,9,10,11,12' where osztalyJellegId=7; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=8; +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=9; +update osztalyJelleg set evfolyamJelek='9Ny' where osztalyJellegId=10; +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=11; +update osztalyJelleg set evfolyamJelek='7Ny' where osztalyJellegId=12; +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=13; +update osztalyJelleg set evfolyamJelek='5Ny' where osztalyJellegId=14; +-- általános iskola +update osztalyJelleg set evfolyamJelek='1,2,3,4,5,6,7,8' where osztalyJellegId=21; +update osztalyJelleg set evfolyamJelek='1,2,3,4' where osztalyJellegId=22; +update osztalyJelleg set evfolyamJelek='5,6,7,8',osztalyJellegNev='általános iskola felső tagozat (5-8)' where osztalyJellegId=23; +-- 4 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='9,10,11,12' where osztalyJellegId=31; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12' where osztalyJellegId=32; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12' where osztalyJellegId=33; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12' where osztalyJellegId=34; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12' where osztalyJellegId=35; +update osztalyJelleg set evfolyamJelek='9/Ny,9,10,11,12' where osztalyJellegId=36; +-- 5 évfolyamos gimnázium (NKT. szerint ilyen nincs.) +update osztalyJelleg set evfolyamJelek='9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=41; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=42; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=43; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=44; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=45; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12,13', osztalyJellegEles=0 where osztalyJellegId=46; +-- 6 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='7,8,9,10,11,12' where osztalyJellegId=51; +update osztalyJelleg set evfolyamJelek='7/N,7,8,9,10,11,12' where osztalyJellegId=52; +update osztalyJelleg set evfolyamJelek='7/Ny,7,8,9,10,11,12' where osztalyJellegId=53; +-- 8 évfolyamos gimnázium +update osztalyJelleg set evfolyamJelek='5,6,7,8,9,10,11,12' where osztalyJellegId=61; +update osztalyJelleg set evfolyamJelek='5/N,5,6,7,8,9,10,11,12' where osztalyJellegId=62; +update osztalyJelleg set evfolyamJelek='5/Ny,5,6,7,8,9,10,11,12' where osztalyJellegId=63; +-- szakközépiskola - közismereti képzés (NKT. 12. § (1) - 4 évfolyam) +update osztalyJelleg set evfolyamJelek='9,10,11,12',osztalyJellegNev='szakközépiskola (1-4)' where osztalyJellegId=71; +update osztalyJelleg set evfolyamJelek='9/AJTP,9,10,11,12',osztalyJellegNev='szakközépiskola AJTP előkészítő évfolyammal (1+4)' where osztalyJellegId=72; +update osztalyJelleg set evfolyamJelek='9/AJKP,9,10,11,12',osztalyJellegNev='szakközépiskola AJKP előkészítő évfolyammal (1+4)' where osztalyJellegId=73; +update osztalyJelleg set evfolyamJelek='9/Kny,9,10,11,12',osztalyJellegNev='szakközépiskola két tanítási nyelvű előkészítő évfolyammal (1+4)' where osztalyJellegId=74; +update osztalyJelleg set evfolyamJelek='9/N,9,10,11,12',osztalyJellegNev='szakközépiskola nemzetiségi előkészítő évfolyammal (1+4)' where osztalyJellegId=75; +update osztalyJelleg set evfolyamJelek='9/Ny,9,10,11,12',osztalyJellegNev='szakközépiskola nyelvi előkészítő évfolyammal (1+4)' where osztalyJellegId=76; +-- szakközépiskola - szakképzés +update osztalyJelleg set evfolyamJelek='13,14',osztalyJellegEles=0 where osztalyJellegId=77; +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (78,NULL,'szakközépiskolák szakiskolai végzettséggel rendelkező tanulóinak érettségire történő felkészítése (Szé/12/1-2)',1,'Szé/12/1,Szé/12/2') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (79,NULL,'szakképzés - a szakközépiskola négy évére épülő 1 évfolyamos képzés (5/13)',0,'5/13') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +-- szakiskola - szakképzés (NKT. 13. § (1) - 3 évfolyam) +update osztalyJelleg set evfolyamJelek='9,10,11',osztalyJellegEles=0 where osztalyJellegId=81; +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (82,NULL,'szakképzés - iskolai előképzettséghez nem kötött 3 évfolyamos képzés (1/8-3/10)',0,'1/8,2/9,3/10') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (83,NULL,'szakképzés - alapfokú iskolai végzettséghez kötött 3 évfolyamos képzés (1/9-3/11)',0,'1/9,2/10,3/11') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (84,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 2 évfolyamos képzés (1/11-2/12)',0,'1/11,2/12') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (85,NULL,'szakképzés - a tizedik évfolyam elvégzéséhez kötött 3 évfolyamos képzés (1/11-3/13)',0,'1/11,2/12,3/13') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (86,NULL,'szakképzés - a középiskola utolsó évfolyamának elvégzéséhez vagy középiskolai végzettséghez kötött 2 évfolyamos képzés (1/13-2/14)',0,'1/13,2/14') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +-- egyéb +delete from osztalyJelleg where osztalyJellegId in (91,92); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (91,NULL,'Híd I. program - 1 évfolyamos, alapfokú végzettséghez kötött, középiskolára felkészítő képzés (H/I)',0,'H/I') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (92,NULL,'Híd II. program - 1 évfolyamos (10 hónapos), alapfokú végzettséget nem adó, szakképzést előkészítő osztály (H/II)',0,'H/II/1') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (93,NULL,'Híd II. program - 2 évfolyamos (20 hónapos), alapfokú végzettséget adó, szakképzést előkészítő osztály (H/II/1-2)',0,'H/II/1,H/II/2') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); + + +END $$ +DELIMITER ; +CALL upgrade_database_3616(); + + diff --git a/mayor-orig/update/pre003644-1-intezmeny.sql b/mayor-orig/update/pre003644-1-intezmeny.sql new file mode 100644 index 00000000..3f67a0cb --- /dev/null +++ b/mayor-orig/update/pre003644-1-intezmeny.sql @@ -0,0 +1,28 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3644 $$ +CREATE PROCEDURE upgrade_database_3644() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='kepzesOraterv' AND COLUMN_NAME='tipus' +) THEN + + alter table `kepzesOraterv` modify `tipus` + enum('első nyelv','második nyelv','kötelezően választható','szabadon választható','mintatantervi', + 'kötelezően választható 1.','kötelezően választható 2.','szabadon választható 1.','szabadon választható 2.','művészetek') + CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'mintatantervi'; + + update `kepzesOraterv` set tipus=concat(tipus,' 1.') where tipus in ('kötelezően választható','szabadon választható'); + + alter table `kepzesOraterv` modify `tipus` + enum('első nyelv','második nyelv','mintatantervi','kötelezően választható 1.','kötelezően választható 2.', + 'szabadon választható 1.','szabadon választható 2.','művészetek') CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'mintatantervi'; + +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3644(); + diff --git a/mayor-orig/update/pre003669-1-naplo.sql b/mayor-orig/update/pre003669-1-naplo.sql new file mode 100644 index 00000000..edb98486 --- /dev/null +++ b/mayor-orig/update/pre003669-1-naplo.sql @@ -0,0 +1,18 @@ + +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3669 $$ + +CREATE PROCEDURE upgrade_database_3669() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='nap' AND COLUMN_NAME='tipus' +) THEN + alter table nap modify tipus enum('tanítási nap','speciális tanítási nap','tanítás nélküli munkanap','tanítási szünet','szorgalmi időszakon kívüli munkanap') + CHARACTER SET utf8 COLLATE utf8_hungarian_ci DEFAULT 'tanítási nap'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3669(); diff --git a/mayor-orig/update/pre003680-1-mayor_naplo.sql b/mayor-orig/update/pre003680-1-mayor_naplo.sql new file mode 100644 index 00000000..f1f9c10b --- /dev/null +++ b/mayor-orig/update/pre003680-1-mayor_naplo.sql @@ -0,0 +1,19 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3680 $$ +CREATE PROCEDURE upgrade_database_3680() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (65,NULL,'12 évfolyamos gimnázium (1-12)',1,'1,2,3,4,5,6,7,8,9,10,11,12') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,evfolyamJelek) + values (87,NULL,'szakképzés - középiskolai végzettséghez kötött két éves szakképzésre épülő egy éves szakképesítés-ráépülés (3/15)',0,'3/15') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); + +END $$ +DELIMITER ; +CALL upgrade_database_3680(); + + diff --git a/mayor-orig/update/pre003690-1-intezmeny.sql b/mayor-orig/update/pre003690-1-intezmeny.sql new file mode 100644 index 00000000..c348a484 --- /dev/null +++ b/mayor-orig/update/pre003690-1-intezmeny.sql @@ -0,0 +1,22 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3690 $$ +CREATE PROCEDURE upgrade_database_3690() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `mkVezeto` ( + `mkId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned NOT NULL, + PRIMARY KEY (`mkId`,`tanarId`), + KEY `mkTag_FKIndex1` (`mkId`), + KEY `mkTag_FKIndex2` (`tanarId`), + CONSTRAINT `mkVezeto_ibfk_1` FOREIGN KEY (`mkId`) REFERENCES `munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `mkVezeto_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + + +END $$ +DELIMITER ; +CALL upgrade_database_3690(); + diff --git a/mayor-orig/update/pre003703-1-intezmeny.sql b/mayor-orig/update/pre003703-1-intezmeny.sql new file mode 100644 index 00000000..6b6a89d5 --- /dev/null +++ b/mayor-orig/update/pre003703-1-intezmeny.sql @@ -0,0 +1,51 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3703 $$ +CREATE PROCEDURE upgrade_database_3703() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='viseltNevElotag' +) THEN + update tanar set viseltNevElotag='' where viseltNevElotag is null; + alter table tanar modify `viseltNevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='szuleteskoriNevElotag' +) THEN + update tanar set szuleteskoriNevElotag='' where szuleteskoriNevElotag is null; + alter table tanar modify `szuleteskoriNevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='diak' AND COLUMN_NAME='viseltNevElotag' +) THEN + update diak set viseltNevElotag='' where viseltNevElotag is null; + alter table diak modify `viseltNevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='diak' AND COLUMN_NAME='szuleteskoriNevElotag' +) THEN + update diak set szuleteskoriNevElotag='' where szuleteskoriNevElotag is null; + alter table diak modify `szuleteskoriNevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='szulo' AND COLUMN_NAME='nevElotag' +) THEN + update szulo set nevElotag='' where nevElotag is null; + alter table szulo modify `nevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='szulo' AND COLUMN_NAME='szuleteskoriNevElotag' +) THEN + update szulo set szuleteskoriNevElotag='' where szuleteskoriNevElotag is null; + alter table szulo modify `szuleteskoriNevElotag` varchar(8) CHARACTER SET utf8 COLLATE utf8_hungarian_ci NOT NULL DEFAULT ''; +END IF; + + +END $$ +DELIMITER ; +CALL upgrade_database_3703(); + diff --git a/mayor-orig/update/pre003707-1-intezmeny.sql b/mayor-orig/update/pre003707-1-intezmeny.sql new file mode 100644 index 00000000..172beb0b --- /dev/null +++ b/mayor-orig/update/pre003707-1-intezmeny.sql @@ -0,0 +1,4 @@ +ALTER TABLE diak MODIFY `tartKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE diak MODIFY `lakhelyKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE szulo MODIFY `cimKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL; +ALTER TABLE telephely MODIFY `cimKozteruletJelleg` enum('út','utca','útja','körút','tér','tere','körtér','köz','fasor','árok','lejtő','lakótelep','sétány','dűlő','átjáró','bástya','bástyája','domb','dűlőút','egyéb','elágazás','erdősor','fasora','forduló','főút','gát','hajóállomás','határsor','határút','hegy','helyrajzi szám','hídfő','játszótér','kapu','kert','kikötő','kilátó','körönd','körvasútsor','külterület','lakónegyed','lakópark','lépcső','liget','major','mélykút','ösvény','park','parkja','part','pavilon','piac','pihenő','puszta','rakpart','repülőtér','rét','sétaút','sor','sugárút','sziget','tanya','telep','udvar','üdülőpart','várkerület','vasútállomás','völgy','zug') COLLATE utf8_hungarian_ci DEFAULT NULL; diff --git a/mayor-orig/update/pre003719-1-intezmeny.sql b/mayor-orig/update/pre003719-1-intezmeny.sql new file mode 100644 index 00000000..e5431037 --- /dev/null +++ b/mayor-orig/update/pre003719-1-intezmeny.sql @@ -0,0 +1,18 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3719 $$ +CREATE PROCEDURE upgrade_database_3719() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tankorTipus' AND COLUMN_NAME='nevsor' +) THEN + alter table tankorTipus ADD `nevsor` ENUM('állandó','változtatható') DEFAULT NULL AFTER `jelleg`; + update tankorTipus SET nevsor='változtatható' WHERE tankorTipusId IN (8,9,10,11); + update tankorTipus SET nevsor='állandó' WHERE nevsor is null; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3719(); +insert ignore into tankorTipus (tankorTipusId,oratervi,rovidNev,leiras,jelenlet,regisztralando,hianyzasBeleszamit,jelleg,nevsor,tankorJel) +VALUES (13,'óratervi','könyvtár','Könyvtári osztályfüggetlen elfoglaltság (nyitva tartás)', 'nem kötelező','nem','nem','osztályfüggetlen','állandó',''); +insert ignore into tankorTipus (tankorTipusId,oratervi,rovidNev,leiras,jelenlet,regisztralando,hianyzasBeleszamit,jelleg,nevsor,tankorJel) +VALUES (14,'óratervi','gyakorlat állandó tagokkal','Óratervi (képzési hálóban kötelező) gyakorlat állandó tagokkal', 'kötelező','igen','igen','gyakorlat','állandó',''); diff --git a/mayor-orig/update/pre003734-1-mayor_naplo.sql b/mayor-orig/update/pre003734-1-mayor_naplo.sql new file mode 100644 index 00000000..b04e4a6b --- /dev/null +++ b/mayor-orig/update/pre003734-1-mayor_naplo.sql @@ -0,0 +1,23 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3734 $$ +CREATE PROCEDURE upgrade_database_3734() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='intezmeny' AND BINARY(COLUMN_NAME)='fenntartó' +) THEN + alter table intezmeny drop column `fenntartó`; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='intezmeny' AND BINARY(COLUMN_NAME)='fenntarto' +) THEN + alter table intezmeny add column `fenntarto` enum('állami','egyházi','alapítványi','magán','egyéb') COLLATE utf8_hungarian_ci DEFAULT 'állami'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3734(); + + diff --git a/mayor-orig/update/pre003738-1-mayor_login.sql b/mayor-orig/update/pre003738-1-mayor_login.sql new file mode 100644 index 00000000..7b44f6e2 --- /dev/null +++ b/mayor-orig/update/pre003738-1-mayor_login.sql @@ -0,0 +1,25 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3738 $$ +CREATE PROCEDURE upgrade_database_3738() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS accountRecovery ( + `recoveryId` INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT, + `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci NOT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL, + `selector` CHAR(16), + `token` CHAR(64), + `expires` DATETIME, + PRIMARY KEY(`recoveryId`), + KEY(`selector`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +END $$ +DELIMITER ; +CALL upgrade_database_3738(); + + + + diff --git a/mayor-orig/update/pre003744-1-intezmeny.sql b/mayor-orig/update/pre003744-1-intezmeny.sql new file mode 100644 index 00000000..5c5887c9 --- /dev/null +++ b/mayor-orig/update/pre003744-1-intezmeny.sql @@ -0,0 +1,67 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3744 $$ +CREATE PROCEDURE upgrade_database_3744() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzoIntezmeny' +) THEN +CREATE TABLE `tovabbkepzoIntezmeny` ( + `tovabbkepzoIntezmenyId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `intezmenyRovidNev` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `intezmenyNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `intezmenyCim` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzoIntezmenyId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzes' +) THEN +CREATE TABLE `tovabbkepzes` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL AUTO_INCREMENT, + `tovabbkepzesNev` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + `tovabbkepzoIntezmenyId` smallint(5) unsigned NOT NULL, + `oraszam` smallint(5) unsigned NOT NULL, + `akkreditalt` tinyint unsigned NOT NULL DEFAULT 0, + PRIMARY KEY (`tovabbkepzesId`), + KEY `tovabbkepzes_FK_1` (`tovabbkepzoIntezmenyId`), + CONSTRAINT `tovabbkepzes_FK_1` FOREIGN KEY (`tovabbkepzoIntezmenyId`) REFERENCES `tovabbkepzoIntezmeny` (`tovabbkepzoIntezmenyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanar' +) THEN +CREATE TABLE `tovabbkepzesTanar` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned not null, + `tolDt` date NOT NULL, + `igDt` date DEFAULT NULL, + `tanusitvanyDt` date DEFAULT NULL, + `tanusitvanySzam` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzesId`,`tanarId`), + CONSTRAINT `tovabbkepzesTanar_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTanar_ibfk_2` FOREIGN KEY (`tovabbkepzesId`) REFERENCES `tovabbkepzes` (`tovabbkepzesId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' +) THEN +CREATE TABLE `tovabbkepzesTanulmanyiEgyseg` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned not null, + `naptariEv` YEAR NOT NULL, + `reszosszeg` int unsigned not null default 0, + `tamogatas` int unsigned not null default 0, + `tovabbkepzesStatusz` ENUM('terv','jóváhagyott','elutasított','megszűnt','teljesített') COLLATE utf8_hungarian_ci DEFAULT 'terv', + `megjegyzes` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzesId`,`tanarId`,`naptariEv`), + CONSTRAINT `tovabbkepzesTE_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_2` FOREIGN KEY (`tovabbkepzesId`) REFERENCES `tovabbkepzes` (`tovabbkepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_main` FOREIGN KEY (`tovabbkepzesId`, `tanarId`) REFERENCES `tovabbkepzesTanar` (`tovabbkepzesId`, `tanarId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3744(); diff --git a/mayor-orig/update/pre003760-1-mayor_login.sql b/mayor-orig/update/pre003760-1-mayor_login.sql new file mode 100644 index 00000000..e2fa02fc --- /dev/null +++ b/mayor-orig/update/pre003760-1-mayor_login.sql @@ -0,0 +1,34 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3760 $$ +CREATE PROCEDURE upgrade_database_3760() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='mayorKeychain' +) THEN + CREATE TABLE `mayorKeychain` ( + `dt` date DEFAULT NULL, + `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `publicKey` text COLLATE utf8_hungarian_ci NOT NULL, + `valid` tinyint(1) unsigned NOT NULL DEFAULT '1', + `naploUrl` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + PRIMARY KEY (`OMKod`,`valid`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +ELSE + IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND COLUMN_NAME='naploUrl' + ) THEN + ALTER TABLE mayorKeychain ADD `naploUrl` varchar(255) NOT NULL; + END IF; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3760(); + +INSERT IGNORE INTO mayorKeychain (dt,OMKod,publicKey,valid,naploUrl) +VALUES (CURDATE(), '09862967','-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI +Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN +2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD ++O8uuA7jQwczlSqWJwIDAQAB +-----END PUBLIC KEY-----',1,'https://www.mayor.hu'); diff --git a/mayor-orig/update/pre003761-1-intezmeny.sql b/mayor-orig/update/pre003761-1-intezmeny.sql new file mode 100644 index 00000000..8cfc7f95 --- /dev/null +++ b/mayor-orig/update/pre003761-1-intezmeny.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3761 $$ +CREATE PROCEDURE upgrade_database_3761() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesKeret' +) THEN + CREATE TABLE `tovabbkepzesKeret` (naptariEv YEAR NOT NULL PRIMARY KEY, keretOsszeg int unsigned not null); +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3761(); diff --git a/mayor-orig/update/pre003763-1-mayor_login.sql b/mayor-orig/update/pre003763-1-mayor_login.sql new file mode 100644 index 00000000..7c363519 --- /dev/null +++ b/mayor-orig/update/pre003763-1-mayor_login.sql @@ -0,0 +1,36 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3763 $$ +CREATE PROCEDURE upgrade_database_3763() +BEGIN + IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND COLUMN_NAME='nev' + ) THEN + ALTER TABLE mayorKeychain + ADD `nev` varchar(128) default NULL, + ADD `rovidNev` varchar(16) default NULL, + ADD `cimHelyseg` varchar(32) default NULL, + ADD `cimIrsz` varchar(8) default NULL, + ADD `cimKozteruletNev` varchar(32) default NULL, + ADD `cimKozteruletJelleg` varchar(32) default NULL, + ADD `cimHazszam` varchar(20) default NULL, + ADD `telefon` varchar(64) default NULL, + ADD `fax` varchar(64) default NULL, + ADD `email` varchar(96) default NULL, + ADD `honlap` varchar(96) default NULL, + ADD `kapcsolatNev` varchar(128) default NULL, + ADD `kapcsolatEmail` varchar(96) default NULL, + ADD `kapcsolatTelefon` varchar(64) default NULL, + ADD `mayorTipus` ENUM('intézmény','fenntartó','backup','fejlesztői','boss') DEFAULT 'intézmény'; + END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3763(); + +DELETE FROM mayorKeychain WHERE OMKod=9862967; +INSERT IGNORE INTO mayorKeychain (dt,OMKod,publicKey,valid,naploUrl,mayorTipus) +VALUES (CURDATE(), '09862967','-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI +Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN +2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD ++O8uuA7jQwczlSqWJwIDAQAB +-----END PUBLIC KEY-----',1,'https://www.mayor.hu','boss'); diff --git a/mayor-orig/update/pre003766-1-intezmeny.sql b/mayor-orig/update/pre003766-1-intezmeny.sql new file mode 100644 index 00000000..05e81a01 --- /dev/null +++ b/mayor-orig/update/pre003766-1-intezmeny.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3766 $$ +CREATE PROCEDURE upgrade_database_3766() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND COLUMN_NAME='hetiLekotottMaxOraszam' +) THEN + alter table tanar + ADD hetiLekotottMinOraszam decimal(3,1) DEFAULT 0 , + ADD hetiLekotottMaxOraszam decimal(3,1) DEFAULT 0, + ADD hetiKotottMaxOraszam decimal(3,1) DEFAULT 0; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3766(); diff --git a/mayor-orig/update/pre003784-1-intezmeny.sql b/mayor-orig/update/pre003784-1-intezmeny.sql new file mode 100644 index 00000000..6e753a18 --- /dev/null +++ b/mayor-orig/update/pre003784-1-intezmeny.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3783 $$ +CREATE PROCEDURE upgrade_database_3783() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tanar' AND COLUMN_NAME='tovabbkepzesForduloDt' +) THEN + alter table tanar ADD tovabbkepzesForduloDt DATE; +END IF; +ALTER TABLE tovabbkepzesTanulmanyiEgyseg MODIFY `tovabbkepzesStatusz` enum('terv','jóváhagyott','elutasított','megszűnt','megszakadt','teljesített') COLLATE utf8_hungarian_ci DEFAULT 'terv'; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3783(); diff --git a/mayor-orig/update/pre003787-1-intezmeny.sql b/mayor-orig/update/pre003787-1-intezmeny.sql new file mode 100644 index 00000000..fbcc21e3 --- /dev/null +++ b/mayor-orig/update/pre003787-1-intezmeny.sql @@ -0,0 +1,14 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3787 $$ +CREATE PROCEDURE upgrade_database_3787() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzes' AND COLUMN_NAME='kategoria' +) THEN + alter table tovabbkepzes ADD kategoria ENUM('diploma', 'szakvizsga', 'akkreditált', 'egyéb') DEFAULT 'egyéb'; + update tovabbkepzes set kategoria='akkreditált' WHERE akkreditalt=1; + update tovabbkepzes set kategoria='egyéb' WHERE akkreditalt=0; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3787(); diff --git a/mayor-orig/update/pre003799-1-intezmeny.sql b/mayor-orig/update/pre003799-1-intezmeny.sql new file mode 100644 index 00000000..0c8ff5a8 --- /dev/null +++ b/mayor-orig/update/pre003799-1-intezmeny.sql @@ -0,0 +1,37 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3799 $$ +CREATE PROCEDURE upgrade_database_3799() +BEGIN +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesKeret' AND COLUMN_NAME='naptariEv' +) THEN + DROP TABLE tovabbkepzesKeret; + CREATE TABLE `tovabbkepzesKeret` ( + `tanev` year(4) NOT NULL, + `keretOsszeg` int(10) unsigned NOT NULL, + PRIMARY KEY (`tanev`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='naptariEv' +) THEN + DROP TABLE tovabbkepzesTanulmanyiEgyseg; + CREATE TABLE `tovabbkepzesTanulmanyiEgyseg` ( + `tovabbkepzesId` smallint(5) unsigned NOT NULL, + `tanarId` int(10) unsigned not null, + `tanev` year NOT NULL, + `reszosszeg` int unsigned not null default 0, + `tamogatas` int unsigned not null default 0, + `tovabbkepzesStatusz` enum('terv','jóváhagyott','elutasított','megszűnt','megszakadt','teljesített') COLLATE utf8_hungarian_ci DEFAULT 'terv', + `megjegyzes` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`tovabbkepzesId`,`tanarId`,`tanev`), + CONSTRAINT `tovabbkepzesTE_ibfk_1` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_2` FOREIGN KEY (`tovabbkepzesId`) REFERENCES `tovabbkepzes` (`tovabbkepzesId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `tovabbkepzesTE_ibfk_main` FOREIGN KEY (`tovabbkepzesId`, `tanarId`) REFERENCES `tovabbkepzesTanar` (`tovabbkepzesId`, `tanarId`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +DELIMITER ; $$ +CALL upgrade_database_3799(); + diff --git a/mayor-orig/update/pre003812-1-intezmeny.sql b/mayor-orig/update/pre003812-1-intezmeny.sql new file mode 100644 index 00000000..d51c27d7 --- /dev/null +++ b/mayor-orig/update/pre003812-1-intezmeny.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3812 $$ +CREATE PROCEDURE upgrade_database_3812() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='statusz' +) THEN + alter table tanar modify `statusz` enum('határozatlan idejű','határozott idejű','tartósan távol','jogviszonya lezárva','külső óraadó') COLLATE utf8_hungarian_ci DEFAULT 'határozatlan idejű'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3812(); diff --git a/mayor-orig/update/pre003844-1-intezmeny.sql b/mayor-orig/update/pre003844-1-intezmeny.sql new file mode 100644 index 00000000..2447c394 --- /dev/null +++ b/mayor-orig/update/pre003844-1-intezmeny.sql @@ -0,0 +1 @@ +ALTER TABLE `diak` MODIFY `diakigazolvanySzam` bigint(11) unsigned DEFAULT NULL; diff --git a/mayor-orig/update/pre003849-1-intezmeny.sql b/mayor-orig/update/pre003849-1-intezmeny.sql new file mode 100644 index 00000000..a461fecc --- /dev/null +++ b/mayor-orig/update/pre003849-1-intezmeny.sql @@ -0,0 +1,23 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3849 $$ +CREATE PROCEDURE upgrade_database_3849() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='targyTargy' +) THEN +CREATE TABLE `targyTargy` ( + `foTargyId` smallint(5) unsigned NOT NULL, + `alTargyId` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`foTargyId`,`alTargyId`), + KEY `targyTargy_K1` (`foTargyId`), + KEY `targyTargy_K2` (`alTargyId`), + CONSTRAINT `targyTargy_ibfk_1` FOREIGN KEY (`foTargyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `targyTargy_ibfk_2` FOREIGN KEY (`alTargyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; +END $$ +DELIMITER ; +CALL upgrade_database_3849(); diff --git a/mayor-orig/update/pre003856-1-mayor_login.sql b/mayor-orig/update/pre003856-1-mayor_login.sql new file mode 100644 index 00000000..3c7a8c25 --- /dev/null +++ b/mayor-orig/update/pre003856-1-mayor_login.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3856 $$ +CREATE PROCEDURE upgrade_database_3856() +BEGIN + IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect' + ) THEN + CREATE TABLE `facebookConnect` ( + `fbUserId` bigint(20) NOT NULL, + `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL + ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3856(); diff --git a/mayor-orig/update/pre003858-1-mayor_login.sql b/mayor-orig/update/pre003858-1-mayor_login.sql new file mode 100644 index 00000000..804ceb46 --- /dev/null +++ b/mayor-orig/update/pre003858-1-mayor_login.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3858 $$ +CREATE PROCEDURE upgrade_database_3858() +BEGIN + IF EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect' + ) THEN + ALTER TABLE facebookConnect ADD UNIQUE INDEX (fbUserId); +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3858(); diff --git a/mayor-orig/update/pre003860-1-mayor_login.sql b/mayor-orig/update/pre003860-1-mayor_login.sql new file mode 100644 index 00000000..239c81ff --- /dev/null +++ b/mayor-orig/update/pre003860-1-mayor_login.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3860 $$ +CREATE PROCEDURE upgrade_database_3860() +BEGIN + IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='facebookConnect' AND COLUMN_NAME='fbUserCn' + ) THEN + ALTER TABLE facebookConnect ADD fbUserCn varchar(64), ADD fbUserEmail varchar(64), ADD studyId varchar(12); +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3860(); diff --git a/mayor-orig/update/pre003877-1-mayor_naplo.sql b/mayor-orig/update/pre003877-1-mayor_naplo.sql new file mode 100644 index 00000000..34a3701e --- /dev/null +++ b/mayor-orig/update/pre003877-1-mayor_naplo.sql @@ -0,0 +1,18 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3877 $$ +CREATE PROCEDURE upgrade_database_3877() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + + +-- 6 évfolyamos gimnázium 11/Ny nyelvi előkészítő évfolyammal (AKG) +insert ignore into osztalyJelleg (osztalyJellegId,kirOsztalyJellegId,osztalyJellegNev,erettsegizo,kovOsztalyJellegId,_kezdoEvfolyam,_vegzoEvfolyam,elokeszitoEvfolyam,osztalyJellegEles,evfolyamJelek) + values (54,NULL,'6 évfolyamos gimnázium 11/Ny nyelvi előkészítő évfolyammal (4+1+2)',1,NULL,7,12,'Ny',1,'7,8,9,10,11/Ny,11,12') + on duplicate key update kirOsztalyJellegId=values(kirOsztalyJellegId), osztalyJellegNev=values(osztalyJellegNev), erettsegizo=values(erettsegizo), evfolyamJelek=values(evfolyamJelek); + +END $$ +DELIMITER ; +CALL upgrade_database_3877(); + + diff --git a/mayor-orig/update/pre003893-1-intezmeny.sql b/mayor-orig/update/pre003893-1-intezmeny.sql new file mode 100644 index 00000000..74867a94 --- /dev/null +++ b/mayor-orig/update/pre003893-1-intezmeny.sql @@ -0,0 +1,33 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3893 $$ +CREATE PROCEDURE upgrade_database_3893() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='tavollet' +) THEN +ALTER TABLE tovabbkepzesTanulmanyiEgyseg ADD tavollet varchar(255) NOT NULL DEFAULT ''; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='helyettesitesRendje' +) THEN +ALTER TABLE tovabbkepzesTanulmanyiEgyseg ADD helyettesitesRendje varchar(255) NOT NULL DEFAULT ''; +END IF; +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='prioritas' +) THEN +ALTER TABLE tovabbkepzesTanulmanyiEgyseg ADD prioritas varchar(255) NOT NULL DEFAULT ''; +END IF; +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='megjegyzes' +) THEN +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tovabbkepzesTanulmanyiEgyseg' AND COLUMN_NAME='tavollet' +) THEN + UPDATE tovabbkepzesTanulmanyiEgyseg SET tavollet=megjegyzes; + ALTER TABLE tovabbkepzesTanulmanyiEgyseg DROP megjegyzes; +END IF; +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3893(); + diff --git a/mayor-orig/update/pre003904-1-mayor_naplo.sql b/mayor-orig/update/pre003904-1-mayor_naplo.sql new file mode 100644 index 00000000..24ee28a0 --- /dev/null +++ b/mayor-orig/update/pre003904-1-mayor_naplo.sql @@ -0,0 +1,29 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3904 $$ +CREATE PROCEDURE upgrade_database_3904() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='vegzesKovetelmenye' +) THEN +alter table osztalyJelleg add column vegzesKovetelmenye enum('bizonyítvány','érettségi vizsga','szakmai vizsga') default 'bizonyítvány'; +update osztalyJelleg set `vegzesKovetelmenye` = 'szakmai vizsga' where `osztalyJellegId` in (83, 84, 85); +END IF; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='erettsegizo' +) THEN +-- A szakközépiskolák végzőseinek is vizsgaidőszaka van! +update osztalyJelleg set `erettsegizo` = 1 where `osztalyJellegId` in (83, 84, 85); +update osztalyJelleg set `vegzesKovetelmenye` = 'érettségi vizsga' where `erettsegizo` = 1; +update osztalyJelleg set `vegzesKovetelmenye` = 'szakmai vizsga' where `osztalyJellegId` in (83, 84, 85); +alter table osztalyJelleg change `erettsegizo` `_erettsegizo` tinyint(3) unsigned NOT NULL DEFAULT '0'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_3904(); + + diff --git a/mayor-orig/update/pre003924-1-intezmeny.sql b/mayor-orig/update/pre003924-1-intezmeny.sql new file mode 100644 index 00000000..6fbc87eb --- /dev/null +++ b/mayor-orig/update/pre003924-1-intezmeny.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3924 $$ +CREATE PROCEDURE upgrade_database_3924() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='tanar' AND COLUMN_NAME='tovabbkepzesForduloDt' +) THEN + alter table tanar ADD tovabbkepzesForduloDt DATE; +END IF; +-- ALTER TABLE tovabbkepzesTanulmanyiEgyseg MODIFY `tovabbkepzesStatusz` enum('terv','jóváhagyott','elutasított','megszűnt','megszakadt','teljesített') COLLATE utf8_hungarian_ci DEFAULT 'terv'; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3924(); diff --git a/mayor-orig/update/pre003950-1-mayor_login.sql b/mayor-orig/update/pre003950-1-mayor_login.sql new file mode 100644 index 00000000..66918fb2 --- /dev/null +++ b/mayor-orig/update/pre003950-1-mayor_login.sql @@ -0,0 +1,33 @@ + +alter table mayorKeychain change `naploUrl` `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL; +alter table mayorKeychain add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' first; +alter table mayorKeychain change column `mayorTipus` `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller','boss') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`; +update mayorKeychain set nodeTipus='controller',url='https://www.mayor.hu' where OMKod='09862967'; +alter table mayorKeychain modify column `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`; + +update mayorKeychain set `nodeId`=`OMKod` where `OMKod`<>'00000000' and `nodeId`='00000000'; +-- duplikátumok kiszűrése, módosítása... hogyan? +alter table mayorKeychain drop primary key; +alter table mayorKeychain add primary key (`nodeId`); + +alter table mayorSsl add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' after `sslId`; +-- valahogy be kell állítani a saját nodeId-t... Esetleg publicKey segítségével a reg. szervertől... + + + +-- -- portal-mayor.regisztracio -- + +-- alter table regisztracio add column `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000' after `regId`; +-- alter table regisztracio add column `nodeTipus` enum('intézmény','fenntartó','backup','fejlesztői','controller') COLLATE utf8_hungarian_ci DEFAULT 'intézmény' after `nodeId`; +-- alter table regisztracio change `naploUrl` `url` varchar(255) COLLATE utf8_hungarian_ci NOT NULL; + +-- update regisztracio set nodeTipus='controller',url='https://www.mayor.hu' where OMKod='09862967'; +-- -- a valid mező nem tudom mire kell... +-- update regisztracio set `nodeId`=`OMKod` where `OMKod`<>'00000000' and `nodeId`='00000000'; +-- alter table regisztracio add unique key (`nodeId`); +-- -- publicKey tördelése -- +-- update regisztracio set publicKey = concat_ws('\n','-----BEGIN PUBLIC KEY-----',mid(publicKey,27,64),mid(publicKey,91,64),mid(publicKey,155,64), +-- mid(replace(publicKey,'-----END PUBLIC KEY-----',''),219,64),nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),283,64),''), +-- nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),347,64),''),nullif(mid(replace(publicKey,'-----END PUBLIC KEY-----',''),411,64),''), +-- '-----END PUBLIC KEY-----') where publicKey not like '%\n%'; + diff --git a/mayor-orig/update/pre003950-2.sh b/mayor-orig/update/pre003950-2.sh new file mode 100644 index 00000000..e913c1d4 --- /dev/null +++ b/mayor-orig/update/pre003950-2.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +FILES="mayor-base/www/policy/public/portal/rpc/rpc.php +mayor-portal-mayor/www/policy/public/portal/regisztracio/regisztracio.php +mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio +mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio/regisztracio.css +mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio +mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio/regisztracio.phtml" + +echo " Felesleges állományok törlése:" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +done +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/pre003956-1.sh b/mayor-orig/update/pre003956-1.sh new file mode 100644 index 00000000..33af5905 --- /dev/null +++ b/mayor-orig/update/pre003956-1.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +FILES="lang/hu_HU/module-naplo/admin/regisztracio.php +policy/private/naplo/admin/regisztracio-pre.php +policy/private/naplo/admin/regisztracio.php +skin/classic/module-naplo/css/admin/regisztracio.css +skin/classic/module-naplo/html/admin/regisztracio.phtml +static/hu_HU/naplo/regisztracio/readme.html" + +echo " Felesleges állományok törlése:" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +done +echo " Kész." + + diff --git a/mayor-orig/update/pre003958-1-mayor_login.sql b/mayor-orig/update/pre003958-1-mayor_login.sql new file mode 100644 index 00000000..9a1c17b5 --- /dev/null +++ b/mayor-orig/update/pre003958-1-mayor_login.sql @@ -0,0 +1,3 @@ + +update mayorKeychain set nev='MaYoR HU',cimHelyseg='Budapest' where OMKod='09862967'; + diff --git a/mayor-orig/update/pre003966-1-mayor_naplo.sql b/mayor-orig/update/pre003966-1-mayor_naplo.sql new file mode 100644 index 00000000..a33b9387 --- /dev/null +++ b/mayor-orig/update/pre003966-1-mayor_naplo.sql @@ -0,0 +1,27 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3966 $$ +CREATE PROCEDURE upgrade_database_3966() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +-- IF EXISTS ( +-- SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='erettsegizo' +-- ) THEN +-- END IF; + +DROP TABLE IF EXISTS rpcJogosultsag; +CREATE TABLE `rpcJogosultsag` ( + `nodeId` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `userAccount` varchar(50) NOT NULL default '', + `OMKod` mediumint(8) unsigned zerofill NOT NULL DEFAULT '00000000', + `priv` set('OMKod','Jogosultság','Tantárgyfelosztás') COLLATE utf8_hungarian_ci DEFAULT 'OMKod,Jogosultság', + PRIMARY KEY (`nodeId`, `userAccount`,`OMKod`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +END $$ +DELIMITER ; +CALL upgrade_database_3966(); + + diff --git a/mayor-orig/update/pre003980-1-mayor_naplo.sql b/mayor-orig/update/pre003980-1-mayor_naplo.sql new file mode 100644 index 00000000..7e0a8d2f --- /dev/null +++ b/mayor-orig/update/pre003980-1-mayor_naplo.sql @@ -0,0 +1,20 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3980 $$ +CREATE PROCEDURE upgrade_database_3980() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +-- IF EXISTS ( +-- SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='osztalyJelleg' AND COLUMN_NAME='erettsegizo' +-- ) THEN +-- END IF; + +ALTER TABLE rpcJogosultsag ADD CONSTRAINT `nodeId_login` FOREIGN KEY (`nodeId`) REFERENCES `mayor_login`.`mayorKeychain` (`nodeId`) ON DELETE CASCADE ON UPDATE CASCADE; + + +END $$ +DELIMITER ; +CALL upgrade_database_3980(); + + diff --git a/mayor-orig/update/pre003981-1-intezmeny.sql b/mayor-orig/update/pre003981-1-intezmeny.sql new file mode 100644 index 00000000..ddffb227 --- /dev/null +++ b/mayor-orig/update/pre003981-1-intezmeny.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_3981 $$ +CREATE PROCEDURE upgrade_database_3981() +BEGIN +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='feladatTipus' AND COLUMN_NAME='feladatTipusId' +) THEN + REPLACE INTO feladatTipus (feladatTipusId,feladatTipusLeiras,beszamithatoMaxOra) VALUES (230,'továbbképzés - felkészülés minősítésre, ellenőrzésre',10); +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_3981(); diff --git a/mayor-orig/update/pre004002-1-mayor_naplo.sql b/mayor-orig/update/pre004002-1-mayor_naplo.sql new file mode 100644 index 00000000..43af42a2 --- /dev/null +++ b/mayor-orig/update/pre004002-1-mayor_naplo.sql @@ -0,0 +1,36 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4002 $$ +CREATE PROCEDURE upgrade_database_4002() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kerelem' AND COLUMN_NAME='felelosCsoport' +) THEN +alter table kerelem add column felelosCsoport enum('naploadmin','vezetoseg','titkarsag') default 'naploadmin'; +update kerelem set felelosCsoport='naploadmin' WHERE felelosCsoport IS NULL OR felelosCsoport=''; +END IF; + +alter table kerelem modify kategoria varchar(32); + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='kerelemValasz' +) THEN +CREATE TABLE kerelemValasz ( +valaszId int unsigned not null PRIMARY KEY auto_increment, +kerelemId int unsigned not null, +valasz text, +valaszDt timestamp DEFAULT CURRENT_TIMESTAMP, +userAccount varchar(32), +CONSTRAINT `kerelemValasz_ibfk_1` FOREIGN KEY (`kerelemId`) REFERENCES `kerelem` (`kerelemId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +END IF; + + +END $$ +DELIMITER ; +CALL upgrade_database_4002(); + + diff --git a/mayor-orig/update/pre004022-1-mayor_naplo.sql b/mayor-orig/update/pre004022-1-mayor_naplo.sql new file mode 100644 index 00000000..dd52c1a8 --- /dev/null +++ b/mayor-orig/update/pre004022-1-mayor_naplo.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4022 $$ +CREATE PROCEDURE upgrade_database_4022() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +INSERT IGNORE INTO osztalyJelleg VALUES (89,NULL,'szakképzés (Ksz/11-12) - szakmai elméleti és gyakorlati oktatást folytató szakközépiskolai (tizedik évf. utáni) - két éves szakképzés',0,NULL,NULL,NULL,NULL,1,'Ksz/11,Ksz/12','bizonyítvány'), +(90,NULL,'szakképzés (Ksz/11) - szakmai elméleti és gyakorlati oktatást folytató szakközépiskolai (tizedik évf. utáni) - egy éves szakképzés',0,NULL,NULL,NULL,NULL,1,'Ksz/11','bizonyítvány'); + +UPDATE osztalyJelleg SET osztalyJellegNev='Köznevelési Híd (I.) program - 1 évfolyamos, alapfokú végzettséghez kötött, középiskolára felkészítő képzés (KH)', evfolyamJelek='KH' WHERE osztalyJellegId=91; +UPDATE osztalyJelleg SET osztalyJellegNev='Szakképzési Híd (II.) program - 1 évfolyamos (10 hónapos), alapfokú végzettséget nem adó, szakképzést előkészítő osztály (SZH/1)', evfolyamJelek='SZH/1' WHERE osztalyJellegId=92; +UPDATE osztalyJelleg SET osztalyJellegNev='Szakképzési Híd (II.) program - 2 évfolyamos (20 hónapos), alapfokú végzettséget adó, szakképzést előkészítő osztály (SZH/1-2)', evfolyamJelek='SZH/1,SZH/2' WHERE osztalyJellegId=93; + +END $$ +DELIMITER ; +CALL upgrade_database_4022(); diff --git a/mayor-orig/update/pre004025-1-mayor_naplo.sql b/mayor-orig/update/pre004025-1-mayor_naplo.sql new file mode 100644 index 00000000..849dc2c2 --- /dev/null +++ b/mayor-orig/update/pre004025-1-mayor_naplo.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4025 $$ +CREATE PROCEDURE upgrade_database_4025() +BEGIN + +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +update osztalyJelleg SET osztalyJellegNev=REPLACE(osztalyJellegNev,'szakközépiskola','szakgimnázium') where osztalyJellegNev LIKE '%szakkozepiskola%' AND osztalyJellegEles=1; +update osztalyJelleg SET osztalyJellegNev=REPLACE(osztalyJellegNev,'szakiskola','szakközépiskola') where osztalyJellegNev LIKE '%szakiskola%' AND osztalyJellegEles=1; + +END $$ +DELIMITER ; +CALL upgrade_database_4025(); diff --git a/mayor-orig/update/pre004066-1-naplo.sql b/mayor-orig/update/pre004066-1-naplo.sql new file mode 100644 index 00000000..c7b97462 --- /dev/null +++ b/mayor-orig/update/pre004066-1-naplo.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4066 $$ + +CREATE PROCEDURE upgrade_database_4066() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='jegy' AND COLUMN_NAME='modositasDt' +) THEN + ALTER TABLE jegy ADD modositasDt DATETIME NOT NULL; + UPDATE jegy set modositasDt = dt WHERE modositasDt = ''; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4066(); diff --git a/mayor-orig/update/pre004078-1-intezmeny.sql b/mayor-orig/update/pre004078-1-intezmeny.sql new file mode 100644 index 00000000..42dc3f3d --- /dev/null +++ b/mayor-orig/update/pre004078-1-intezmeny.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4078 $$ + +CREATE PROCEDURE upgrade_database_4078() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='csengetesiRend' AND COLUMN_NAME='csengetesiRendTipus' +) THEN + ALTER TABLE csengetesiRend ADD csengetesiRendTipus ENUM ('normál','rövidített','speciális','rendhagyó','nincs') DEFAULT 'normál'; +END IF; +UPDATE csengetesiRend SET csengetesiRendTipus = 'normál' WHERE csengetesiRendTipus='' OR csengetesiRendTipus IS NULL; + +END $$ +DELIMITER ; +CALL upgrade_database_4078(); diff --git a/mayor-orig/update/pre004078-2-naplo.sql b/mayor-orig/update/pre004078-2-naplo.sql new file mode 100644 index 00000000..69d1296a --- /dev/null +++ b/mayor-orig/update/pre004078-2-naplo.sql @@ -0,0 +1,18 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4078_2 $$ + +CREATE PROCEDURE upgrade_database_4078_2() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='nap' AND COLUMN_NAME='csengetesiRendTipus' +) THEN + ALTER TABLE nap ADD csengetesiRendTipus ENUM ('normál','rövidített','speciális','rendhagyó','nincs') DEFAULT NULL; +END IF; +UPDATE nap SET csengetesiRendTipus = 'normál' WHERE (csengetesiRendTipus='' OR csengetesiRendTipus IS NULL) AND tipus = 'tanítási nap'; +UPDATE nap SET csengetesiRendTipus = 'nincs' WHERE (csengetesiRendTipus='' OR csengetesiRendTipus IS NULL); + +END $$ +DELIMITER ; +CALL upgrade_database_4078_2(); diff --git a/mayor-orig/update/pre004125-1-intezmeny.sql b/mayor-orig/update/pre004125-1-intezmeny.sql new file mode 100644 index 00000000..644232b1 --- /dev/null +++ b/mayor-orig/update/pre004125-1-intezmeny.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4125 $$ + +CREATE PROCEDURE upgrade_database_4125() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='csengetesiRend' AND COLUMN_NAME='csengetesiRendTipus' +) THEN + ALTER TABLE csengetesiRend MODIFY csengetesiRendTipus ENUM ('normál','rövidített','speciális','rendhagyó','délutáni','délutáni rövidített','délutáni speciális','délutáni rendhagyó','nincs') DEFAULT 'normál'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4125(); diff --git a/mayor-orig/update/pre004125-2-naplo.sql b/mayor-orig/update/pre004125-2-naplo.sql new file mode 100644 index 00000000..d03dcea0 --- /dev/null +++ b/mayor-orig/update/pre004125-2-naplo.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4125_2 $$ + +CREATE PROCEDURE upgrade_database_4125_2() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='nap' AND COLUMN_NAME='csengetesiRendTipus' +) THEN + ALTER TABLE nap MODIFY csengetesiRendTipus ENUM ('normál','rövidített','speciális','rendhagyó','délutáni','délutáni rövidített','délutáni speciális','délutáni rendhagyó','nincs') DEFAULT 'normál'; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4125_2(); diff --git a/mayor-orig/update/pre004133-1-naplo.sql b/mayor-orig/update/pre004133-1-naplo.sql new file mode 100644 index 00000000..1e45cd55 --- /dev/null +++ b/mayor-orig/update/pre004133-1-naplo.sql @@ -0,0 +1,66 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4133 $$ + +CREATE PROCEDURE upgrade_database_4133() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='jegyzet' +) THEN + CREATE TABLE `jegyzet` ( + `jegyzetId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `userId` int(10) unsigned NOT NULL, + `userTipus` enum('diak','tanar','szulo') COLLATE utf8_hungarian_ci DEFAULT NULL, + `dt` DATE not null, + `jegyzetLeiras` text COLLATE utf8_hungarian_ci, + `publikus` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`jegyzetId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='jegyzetTankor' +) THEN + CREATE TABLE `jegyzetTankor` ( + `jegyzetId` int(10) unsigned NOT NULL, + `tankorId` int(10) unsigned NOT NULL, + PRIMARY KEY (`jegyzetId`,`tankorId`), + KEY `jegyzetTankor_jegyzetId` (`jegyzetId`), + KEY `jegyzetTankor_tankorId` (`tankorId`), + CONSTRAINT `jegyzetTankor_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetTankor_ibfk_2` FOREIGN KEY (`tankorId`) REFERENCES %INTEZMENYDB%.`tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='jegyzetOsztaly' +) THEN + CREATE TABLE `jegyzetOsztaly` ( + `jegyzetId` int(10) unsigned NOT NULL, + `osztalyId` int(10) unsigned NOT NULL, + PRIMARY KEY (`jegyzetId`,`osztalyId`), + KEY `jegyzetOsztaly_jegyzetId` (`jegyzetId`), + KEY `jegyzetOsztaly_osztalyId` (`osztalyId`), + CONSTRAINT `jegyzetOsztaly_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetOsztaly_ibfk_2` FOREIGN KEY (`osztalyId`) REFERENCES %INTEZMENYDB%.`osztaly` (`osztalyId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='jegyzetMunkakozosseg' +) THEN + CREATE TABLE `jegyzetMunkakozosseg` ( + `jegyzetId` int(10) unsigned NOT NULL, + `mkId` smallint(5) unsigned, + PRIMARY KEY (`jegyzetId`,`mkId`), + KEY `jegyzetMunkakozosseg_jegyzetId` (`jegyzetId`), + KEY `jegyzetMunkakozosseg_mkId` (`mkId`), + CONSTRAINT `jegyzetMunkakozosseg_ibfk_1` FOREIGN KEY (`jegyzetId`) REFERENCES `jegyzet` (`jegyzetId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `jegyzetMunkakozosseg_ibfk_2` FOREIGN KEY (`mkId`) REFERENCES %INTEZMENYDB%.`munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4133(); diff --git a/mayor-orig/update/pre004137-1-naplo.sql b/mayor-orig/update/pre004137-1-naplo.sql new file mode 100644 index 00000000..5a7bc407 --- /dev/null +++ b/mayor-orig/update/pre004137-1-naplo.sql @@ -0,0 +1,26 @@ +DROP FUNCTION IF EXISTS getNev; + +delimiter // +CREATE FUNCTION getNev(id int(10) unsigned, tipus varchar(20)) +RETURNS VARCHAR(60) DETERMINISTIC +BEGIN + DECLARE nev varchar(60) character set utf8; + DECLARE tnv int(10); + SELECT SUBSTRING(database(),-4) INTO tnv; + + IF tipus = 'diak' THEN + SELECT TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) FROM %INTEZMENYDB%.diak WHERE diakId=id LIMIT 1 INTO nev; + ELSEIF tipus = 'tanar' THEN + SELECT TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) FROM %INTEZMENYDB%.tanar WHERE tanarId=id INTO nev; + ELSEIF tipus = 'szulo' THEN + SELECT TRIM(CONCAT_WS(' ',nevElotag,csaladinev,utonev)) FROM %INTEZMENYDB%.szulo WHERE szuloId=id INTO nev; + ELSEIF tipus = 'tankor' THEN + SELECT tankorNev FROM %INTEZMENYDB%.tankorSzemeszter WHERE tankorId=id AND tanev=tnv LIMIT 1 INTO nev; + ELSEIF tipus = 'munkakozosseg' THEN + SELECT leiras FROM %INTEZMENYDB%.munkakozosseg WHERE mkId=id INTO nev; + END IF; + + RETURN (nev); +END +// +delimiter ; // diff --git a/mayor-orig/update/pre004149-1-naplo.sql b/mayor-orig/update/pre004149-1-naplo.sql new file mode 100644 index 00000000..4597f5b3 --- /dev/null +++ b/mayor-orig/update/pre004149-1-naplo.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4149 $$ + +CREATE PROCEDURE upgrade_database_4149() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasHozott' AND COLUMN_NAME='dbHianyzas' +) THEN + ALTER TABLE hianyzasHozott MODIFY dbHianyzas smallint unsigned DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4149(); diff --git a/mayor-orig/update/pre004166-1-intezmeny.sql b/mayor-orig/update/pre004166-1-intezmeny.sql new file mode 100644 index 00000000..841cf54e --- /dev/null +++ b/mayor-orig/update/pre004166-1-intezmeny.sql @@ -0,0 +1,29 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4166 $$ + +CREATE PROCEDURE upgrade_database_4166() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='gyakorlatIgazolt') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `gyakorlatIgazolt` smallint(5) unsigned DEFAULT NULL; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='gyakorlatIgazolatlan') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `gyakorlatIgazolatlan` smallint(5) unsigned DEFAULT NULL; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='gyakorlatKesesPercOsszeg') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `gyakorlatKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='elmeletIgazolt') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `elmeletIgazolt` smallint(5) unsigned DEFAULT NULL; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='elmeletIgazolatlan') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `elmeletIgazolatlan` smallint(5) unsigned DEFAULT NULL; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzasOsszesites' AND COLUMN_NAME='elmeletKesesPercOsszeg') THEN + ALTER TABLE hianyzasOsszesites ADD COLUMN `elmeletKesesPercOsszeg` smallint(5) unsigned DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4166(); diff --git a/mayor-orig/update/pre004175-1-intezmeny.sql b/mayor-orig/update/pre004175-1-intezmeny.sql new file mode 100644 index 00000000..1e312799 --- /dev/null +++ b/mayor-orig/update/pre004175-1-intezmeny.sql @@ -0,0 +1,20 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4175 $$ + +CREATE PROCEDURE upgrade_database_4175() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='titulus') THEN + ALTER TABLE tanar ADD COLUMN `titulus` varchar(32) DEFAULT ''; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='titulusRovid') THEN + ALTER TABLE tanar ADD COLUMN `titulusRovid` varchar(10) DEFAULT ''; +END IF; +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='tanar' AND COLUMN_NAME='email') THEN + ALTER TABLE tanar ADD COLUMN `email` varchar(64) DEFAULT ''; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4175(); diff --git a/mayor-orig/update/pre004179-1-mayor_login.sql b/mayor-orig/update/pre004179-1-mayor_login.sql new file mode 100644 index 00000000..66d18869 --- /dev/null +++ b/mayor-orig/update/pre004179-1-mayor_login.sql @@ -0,0 +1,22 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4179 $$ +CREATE PROCEDURE upgrade_database_4179() +BEGIN + IF NOT EXISTS ( + SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() AND TABLE_NAME='googleConnect' + ) THEN + +CREATE TABLE `googleConnect` ( + `googleSub` varchar(32) COLLATE utf8_hungarian_ci DEFAULT NULL, + `userAccount` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('public','parent','private') COLLATE utf8_hungarian_ci DEFAULT NULL, + `googleUserCn` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `googleUserEmail` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, + `studyId` varchar(12) COLLATE utf8_hungarian_ci DEFAULT NULL, + UNIQUE KEY `googleSub` (`googleSub`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +END IF; +END $$ +DELIMITER ; $$ +CALL upgrade_database_4179(); diff --git a/mayor-orig/update/pre004215-1-intezmeny.sql b/mayor-orig/update/pre004215-1-intezmeny.sql new file mode 100644 index 00000000..4e579ede --- /dev/null +++ b/mayor-orig/update/pre004215-1-intezmeny.sql @@ -0,0 +1,23 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4215 $$ + +CREATE PROCEDURE upgrade_database_4215() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS (SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hirnokFeliratkozas') THEN +CREATE TABLE `hirnokFeliratkozas` ( + `naploId` int(10) unsigned NOT NULL, + `naploTipus` enum('diak','tanar','szulo') COLLATE utf8_hungarian_ci DEFAULT NULL, + `userAccount` varchar(32) COLLATE utf8_hungarian_ci NOT NULL, + `policy` enum('private','parent','public') COLLATE utf8_hungarian_ci DEFAULT 'private', + `email` varchar(64) COLLATE utf8_hungarian_ci NOT NULL, + `feliratkozasDt` datetime DEFAULT NULL, + `utolsoEmailDt` datetime DEFAULT NULL, + `megtekintesDt` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4215(); diff --git a/mayor-orig/update/pre004225-1-naplo.sql b/mayor-orig/update/pre004225-1-naplo.sql new file mode 100644 index 00000000..6338730b --- /dev/null +++ b/mayor-orig/update/pre004225-1-naplo.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4225 $$ + +CREATE PROCEDURE upgrade_database_4225() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzas' AND COLUMN_NAME='igazolas' +) THEN + ALTER TABLE `hianyzas` MODIFY `igazolas` enum('orvosi','szülői','osztályfőnöki','tanulmányi verseny','nyelvvizsga','igazgatói','hatósági','pályaválasztás','') COLLATE utf8_hungarian_ci DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4225(); diff --git a/mayor-orig/update/pre004244-1-naplo.sql b/mayor-orig/update/pre004244-1-naplo.sql new file mode 100644 index 00000000..fe70c579 --- /dev/null +++ b/mayor-orig/update/pre004244-1-naplo.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4244 $$ + +CREATE PROCEDURE upgrade_database_4244() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzas' AND COLUMN_NAME='tipus' +) THEN + ALTER TABLE `hianyzas` MODIFY `tipus` enum('hiányzás','késés','felszerelés hiány','felmentés','egyenruha hiány') COLLATE utf8_hungarian_ci DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4244(); diff --git a/mayor-orig/update/pre004246-1-intezmeny.sql b/mayor-orig/update/pre004246-1-intezmeny.sql new file mode 100644 index 00000000..ce7396c7 --- /dev/null +++ b/mayor-orig/update/pre004246-1-intezmeny.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4246 $$ + +CREATE PROCEDURE upgrade_database_4246() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE `zaroJegy` MODIFY `modositasDt` datetime NOT NULL; + +END $$ +DELIMITER ; +CALL upgrade_database_4246(); diff --git a/mayor-orig/update/pre004247-1-naplo.sql b/mayor-orig/update/pre004247-1-naplo.sql new file mode 100644 index 00000000..dcec5905 --- /dev/null +++ b/mayor-orig/update/pre004247-1-naplo.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4247 $$ + +CREATE PROCEDURE upgrade_database_4247() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='dolgozat' AND COLUMN_NAME='modositasDt' +) THEN + ALTER TABLE `dolgozat` ADD `modositasDt` datetime NOT NULL; + UPDATE `dolgozat` SET `modositasDt` = `bejelentesDt` + INTERVAL 12 HOUR; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4247(); diff --git a/mayor-orig/update/pre004250-1-intezmeny.sql b/mayor-orig/update/pre004250-1-intezmeny.sql new file mode 100644 index 00000000..704b4782 --- /dev/null +++ b/mayor-orig/update/pre004250-1-intezmeny.sql @@ -0,0 +1,13 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4250 $$ + +CREATE PROCEDURE upgrade_database_4250() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hirnokFeliratkozas' AND COLUMN_NAME='hirnokFeliratkozasId') THEN + ALTER TABLE hirnokFeliratkozas ADD COLUMN `hirnokFeliratkozasId` int(11) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST; +END IF; +END $$ +DELIMITER ; +CALL upgrade_database_4250(); diff --git a/mayor-orig/update/pre004250-2-naplo.sql b/mayor-orig/update/pre004250-2-naplo.sql new file mode 100644 index 00000000..88539647 --- /dev/null +++ b/mayor-orig/update/pre004250-2-naplo.sql @@ -0,0 +1,16 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4250c $$ + +CREATE PROCEDURE upgrade_database_4250c() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='ora' AND COLUMN_NAME='modositasDt' +) THEN + ALTER TABLE `ora` ADD `modositasDt` datetime DEFAULT NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4250c(); diff --git a/mayor-orig/update/pre004263-1-naplo.sql b/mayor-orig/update/pre004263-1-naplo.sql new file mode 100644 index 00000000..50ce69c5 --- /dev/null +++ b/mayor-orig/update/pre004263-1-naplo.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4263 $$ + +CREATE PROCEDURE upgrade_database_4263() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF NOT EXISTS ( + SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hianyzas' AND COLUMN_NAME='modositasDt' +) THEN + ALTER TABLE `hianyzas` ADD `modositasDt` datetime DEFAULT NULL; + UPDATE `hianyzas` SET `modositasDt` = `dt` WHERE `modositasDt` is NULL; +END IF; + +END $$ +DELIMITER ; +CALL upgrade_database_4263(); diff --git a/mayor-orig/update/pre004271-1-intezmeny.sql b/mayor-orig/update/pre004271-1-intezmeny.sql new file mode 100644 index 00000000..7f02e792 --- /dev/null +++ b/mayor-orig/update/pre004271-1-intezmeny.sql @@ -0,0 +1,19 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4271 $$ + +CREATE PROCEDURE upgrade_database_4271() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +IF EXISTS (SELECT * FROM information_schema.statistics WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hirnokFeliratkozas' AND INDEX_NAME='K_hf_mix') THEN + ALTER TABLE hirnokFeliratkozas DROP KEY `K_hf_mix`; +END IF; +ALTER TABLE hirnokFeliratkozas ADD UNIQUE KEY `K_hf_mix` (`userAccount`,`policy`,`naploId`,`naploTipus`,`email`); +IF EXISTS (SELECT * FROM information_schema.statistics WHERE TABLE_SCHEMA=DATABASE() and TABLE_NAME='hirnokFeliratkozas' AND INDEX_NAME='K_hf_up') THEN + ALTER TABLE hirnokFeliratkozas DROP KEY `K_hf_up`; +END IF; +ALTER TABLE hirnokFeliratkozas ADD KEY `K_hf_up` (`userAccount`,`policy`); + +END $$ +DELIMITER ; +CALL upgrade_database_4271(); diff --git a/mayor-orig/update/processUpdateScripts.sh b/mayor-orig/update/processUpdateScripts.sh new file mode 100644 index 00000000..47fbb23e --- /dev/null +++ b/mayor-orig/update/processUpdateScripts.sh @@ -0,0 +1,259 @@ +#!/bin/bash + +source $BASEDIR/update/linkme.sh + +# Setting Mysql Connection Parameters +echo -e "[mysqld] +character-set-server = utf8 +collation-server = utf8_hungarian_ci +skip-character-set-client-handshake +[client] +host=$MYSQL_HOST +user=$MYSQL_USER +password=$MYSQL_PW +" > $BASEDIR/config/my.cnf +MYSQL_CONFIG="--defaults-extra-file=$BASEDIR/config/my.cnf" +MYSQL_PARAMETERS="" +TEST=`$MYSQL -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PW -e exit 2>&1 >/dev/null` +if [ $? == "0" ]; then + echo "SQL-connect test #2 OK" + MYSQL_PARAMETERS="-h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PW" +else + echo "Hibás SQL csatlakozás(2)" +fi +TEST=`$MYSQL $MYSQL_CONFIG -e exit 2>&1 >/dev/null` +if [ $? == "0" ]; then + echo "SQL-connect test #1 OK" + MYSQL_PARAMETERS=$MYSQL_CONFIG +else + echo "Hibás SQL csatlakozás(1)" +fi +echo "Karakterkódolás ellenőrzése" +echo "SHOW VARIABLES LIKE 'character%';" | $MYSQL $MYSQL_PARAMETERS +# patch by Acsai Gabor - FreeBSD +TEST=`echo "SHOW VARIABLES LIKE 'character_set_client'" | $MYSQL $MYSQL_PARAMETERS | grep utf8 | wc -l | tr -d " "` +if [ "x${TEST}" == "x1" ]; then + echo "SQL-UTF8 test OK" +else + echo -e "\n\nERROR: Hibás - nem utf8 - MySQL kliens karakterkódolás!\n" + echo -e "Ellenőrizd a beállításokat és kérj segítséget a support@mayor.hu -n!\n" + exit 12 +fi +# -- + +run_script() { + FILEELEJE=`echo $FILE | cut -f 1 -d '-'` + FILEREV=${FILEELEJE: -6} + LOGSQL="" + if [ "$FILEREV" != "" ]; then + if [ "$FILEREV" -gt 3399 ]; then + LOGSQL="INSERT IGNORE mayorUpdateLog (scriptFile) VALUES ('${FILE}')" + fi + fi + if [ ! "${FILEREV}" \< "${REVSTR}" ]; then + FILEEXT=`echo $FILE | cut -f 2 -d '.'` + if [ "$FILEEXT" == "sh" ]; then + echo " - Szkript futtatása ($FILE)..." + . $FILE + if [ $? != 0 ]; then exit 13; fi + elif [ "$FILEEXT" == "sql" ]; then + echo " - SQL utasítások végrehajtása ($FILE)..." + FILEDB=`echo $FILE | cut -f 1 -d '.' | cut -f 3 -d '-'` + case "$FILEDB" in + naplo) + DBS=$DB_NAPLO + ;; + intezmeny) + DBS=$DB_INTEZMENY + ;; + auth) + DBS=$DB_AUTH + ;; + *) + DBS=$FILEDB + ;; + esac + for DB in $DBS; do + echo -e "\n $DB..." + + if [ "$FILEREV" != "" ]; then + if [ "$FILEREV" -gt 3399 ]; then + TEST=`echo "SELECT count(*) as db FROM information_schema.TABLES WHERE TABLE_SCHEMA='${DB}' and TABLE_NAME='mayorUpdateLog'" | $MYSQL $MYSQL_PARAMETERS $DB | grep -v "db"` + if [ "$TEST" == "0" ]; then + echo " Hiányzik a mayorUpdateLog tábla... tovább..." + continue + fi + fi + fi + + case "$FILEDB" in + naplo) + INTEZMENYDB=`echo $DB | sed -e 's/\(naplo_\)\(.*\)\(_.*\)/intezmeny_\2/'` + INTEZMENYROVIDNEV=`echo $DB | cut -f 2 -d '_'` + TANEV=`echo $DB | cut -f 3 -d '_'` + (cat $FILE && echo "${LOGSQL}") | sed -e "s/%INTEZMENYDB%/$INTEZMENYDB/g" | sed -e "s/%INTEZMENY%/$INTEZMENYROVIDNEV/g" | \ + sed -e "s/%TANEV%/$TANEV/g" | $MYSQL $MYSQL_PARAMETERS $DB + ;; + auth) + (cat $FILE && echo "${LOGSQL}") | sed -e "s/%MYSQL_ENCODE_STR%/$MYSQL_ENCODE_STR/g" | $MYSQL $MYSQL_PARAMETERS $DB + ;; + intezmeny) + INTEZMENYROVIDNEV=`echo $DB | cut -f 2 -d '_'` + (cat $FILE && echo "${LOGSQL}") | sed -e "s/%INTEZMENY%/$INTEZMENYROVIDNEV/g" | $MYSQL $MYSQL_PARAMETERS $DB + ;; + *) + (cat $FILE && echo "${LOGSQL}") | $MYSQL $MYSQL_PARAMETERS $DB + ;; + esac + if [ $? != 0 ]; then + exit 13; + fi + done + [ ! -z $SQLLOG ] && echo $FILE >> $SQLLOG; + fi + fi +} + +echo " Az új változat verziószáma: $UJ_REV" + +REVSTR=`printf "%06d" $REV` +MYSQL_ENCODE_STR=`grep _MYSQL_ENCODE_STR $BASEDIR/config/main-config.php | sed -e "s/define('_MYSQL_ENCODE_STR','\(.*\)');/\\1/"` + +# mysql host beállítása +if [ "$MYSQL_HOST" == "" ]; then + MYSQL_HOST="localhost" +fi +echo " A MySQL backend a következő lesz: $MYSQL_HOST" +echo " Figyelem! MySQL Master-Slave architekturát az upgrade script jelenleg nem támogat!!!" + +echo -e "\n * Adatbázisok lekérdezése..." +if [ -f $MYSQL ] +then + DB_MAYOR=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'mayor\_%'" | grep -e '^mayor\_[^_]*$'` + DB_NAPLO=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'naplo\_%\_%'" | grep -e '^naplo\_[^\_]*\_20[0-9][0-9]$'` + DB_INTEZMENY=`$MYSQL $MYSQL_PARAMETERS -e"SELECT CONCAT('intezmeny_',rovidNev) FROM mayor_naplo.intezmeny" | grep -e '^intezmeny\_[^\_]*$'` +# DB_INTEZMENY=`$MYSQL $MYSQL_PARAMETERS -e"SHOW DATABASES LIKE 'intezmeny\_%'" | grep -e '^intezmeny\_[^\_]*$'` + if [ $? != 0 ]; then exit 12; fi + DB_AUTH="" + for DB in $DB_MAYOR; do + if [ "$DB" == "mayor_parent" -o "$DB" == "mayor_private" -o "$DB" == "mayor_public" ]; then + DB_AUTH="$DB_AUTH $DB" + fi + done +else + echo -e "\n\nERROR: A mysql kliens nem található: $MYSQL\n" + exit 12 +fi + +if [ "$SKIPLOCK" != "1" ]; then + if [ ! -z $LOCKFILE ]; then + echo -e "\n * A web-es elérés letiltása:" + echo -n " - Lock-file létrehozása... " + echo "$DATE: Update process runing... " > $LOCKFILE + echo "kész." + + echo -n " - Aktív munkamenetek törlése... " + $MYSQL $MYSQL_PARAMETERS -e"DELETE FROM mayor_login.session" + echo "kész." + fi +else + echo -e "\n * A lock-olást a kérésedre kihagyjuk..." +fi + +echo -e "\n * Az előzetes frissítő állományok feldolgozása (pre*, rev*):\n" +for FILE in `ls $UPDATEDIR/rev* $UPDATEDIR/pre* | sort`; do + run_script +done + +if [ "$EXECONLY" != "1" ]; then + echo -e "\n * A modulok állományainak frissítése:\n" + for MODULE in $MODULES; do + echo -e "\n $MODULE... \n" + if [ "$HTTP_SERVER" == '' ]; then + $SVN --force --quiet export https://svn.mayor.hu/svn/trunk/$MODULE "$BASEDIR" + if [ $? != 0 ]; then exit 13; fi + else + # Ha rpm csomag futtatja, akkor már ki van csomagolva minden és nincs md5sum + if [ -f $TMPDIR/md5sum ]; then + MOD=`echo $MODULE | sed "s#/#-#"` + FILE=`grep "$MOD-rev" $TMPDIR/md5sum | cut -d ' ' -f 3` + if [ -f $TMPDIR/$FILE ]; then + tar xfz $TMPDIR/$FILE -C $BASEDIR + if [ $? != 0 ]; then exit 13; fi + fi + fi + fi + done + if [ -d $TMPDIR ]; then rm -rf $TMPDIR; fi + echo -e "\nkész.\n" +fi + +echo -e "\n * Az utólagos frissítő állományok feldolgozása (post*):\n" +for FILE in `ls $UPDATEDIR/post* | sort`; do + run_script +done + + +if [ -e $LOCKFILE ]; then + if [ ! -z $LOCKFILE ]; then + echo -e "\n * A web-es hozzáférés engedélyezése:" + rm $LOCKFILE + fi +fi + +if [ "$EXECONLY" != "1" ]; then + echo -e "\n * A szükséges jogosultságok beállítása:" + chmod +x $BASEDIR/bin/mayor + echo -n " ... " + chown -R $WEB_SERVER_USER $BASEDIR/download + chown -R $WEB_SERVER_USER $BASEDIR/cache + if [ -d $BASEDIR/www/wiki/conf ]; then + chown -R $WEB_SERVER_USER $BASEDIR/www/wiki/conf $BASEDIR/www/wiki/data + fi + chown $WEB_SERVER_USER $BASEDIR/config + chmod 700 $BASEDIR/config + echo -e "... kész.\n" + + echo -e "\n * Szimbolikus linkek ellenőrzése/létrehozása" + POLICIES="parent public" + for POLICY in $POLICIES; do + eval "LIST=\$${POLICY}Link" + for f in $LIST; do + DIR=`echo $f | cut -d / -f 1-2` + if [ ! -d $BASEDIR/www/policy/$POLICY/$DIR ]; then + echo " Könyvtár: $BASEDIR/www/policy/$POLICY/$DIR" + mkdir -p $BASEDIR/www/policy/$POLICY/$DIR + fi + FILES="$f-pre.php $f.php" + for file in $FILES; do + if [ ! -e $BASEDIR/www/policy/$POLICY/$file ]; then + if [ -f $BASEDIR/www/policy/private/$file ]; then + echo " $BASEDIR/www/policy/private/$file --> $BASEDIR/www/policy/$POLICY/$file" + ln -s $BASEDIR/www/policy/private/$file $BASEDIR/www/policy/$POLICY/$file + else + echo " Hiányzó file: $BASEDIR/www/policy/private/$file" + fi + fi + done + done + eval "DLIST=\$${POLICY}Deny" + for f in $DLIST; do + FILES="$f-pre.php $f.php" + for file in $FILES; do + if [ -e $BASEDIR/www/policy/$POLICY/$file ]; then + echo " $BASEDIR/www/policy/$POLICY/$file link(file) törlése" + rm "$BASEDIR/www/policy/$POLICY/$file" + fi + done + done + done +fi # execonly + +echo -e "\n * Az frissített verziószám rögzítése ($UJ_REV)" +if [ "$UJ_REV" -gt 0 ]; then + echo $UJ_REV > $REVISION_FILE +else + echo " Hibás (nulla) verziószám! Nem rögzítjük." +fi + +[ -x "$LOCAL_UPDATE_SCRIPT" ] && echo -e "\n * Helyi szkript futtatása: $LOCAL_UPDATE_SCRIPT...\n " && . "$LOCAL_UPDATE_SCRIPT" diff --git a/mayor-orig/update/rev001167-1.sh b/mayor-orig/update/rev001167-1.sh new file mode 100644 index 00000000..0057aadf --- /dev/null +++ b/mayor-orig/update/rev001167-1.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +echo -ne "\n Az update.conf file jogosultságainak beállítása ... " +# nem kell ellenőrizni, mert ilyen állomány biztosan van - ha eljutottunk idáig +chmod 0600 $BASEDIR/config/update.conf +chown root.root $BASEDIR/config/update.conf +echo "kész." + diff --git a/mayor-orig/update/rev001174-1.sh b/mayor-orig/update/rev001174-1.sh new file mode 100644 index 00000000..6cab9e63 --- /dev/null +++ b/mayor-orig/update/rev001174-1.sh @@ -0,0 +1,167 @@ +#!/bin/bash + +echo " - A main-config.php áthelyezése" +if [ -f $BASEDIR/www/include/config/main-config.php ]; then + echo -n " $BASEDIR/www/include/config/main-config.php --> " + mv $BASEDIR/www/include/config/main-config.php $BASEDIR/config/main-config.php + echo "$BASEDIR/config/main-config.php" +else + echo " $BASEDIR/www/include/config/main-config.php -- nincs!!" +fi + +echo " - Az esetleg létező main-config.php.example törlése" +if [ -f $BASEDIR/www/include/config/main-config.php.example ]; then + echo -n " $BASEDIR/www/include/config/main-config.php.example -- " + rm $BASEDIR/www/include/config/main-config.php.example + echo "törölve" +else + echo " $BASEDIR/www/include/config/main-config.php.example -- nincs" +fi + +echo " - A config/base könyvtár létrehozása" +if [ ! -d $BASEDIR/config/base ]; then + echo -n " A könyvtár létrehozása: " + mkdir $BASEDIR/config/base + echo "$BASEDIR/config/base" +fi + +echo " - A modulok konfig álloményainak áthelyezése - ha volnának" +if [ `ls -l $BASEDIR/www/include/config/module* 2>/dev/null | wc -l` \> 0 ]; then + echo -n " A modulok konfigurációs állományainak áthelyezése ... " + cp $BASEDIR/www/include/config/module* $BASEDIR/config/base/ + rm $BASEDIR/www/include/config/module* + echo "kész." +fi + +echo " - A _MAYOR_DIR és _CONFIGDIR konstansok bevezetése a main-config.php-ben" +if [ -f $BASEDIR/config/main-config.php ]; then + sed -r -i.rev1174 \ + -e "s#_BASEDIR','(.*)/www.*#_MAYOR_DIR','\1');\ndefine('_BASEDIR',_MAYOR_DIR.'/www');\ndefine('_CONFIGDIR',_MAYOR_DIR.'/config');#" \ + -e "s#_DATADIR','.*'#_DATADIR',_MAYOR_DIR.'/data'#" \ + -e "s#_DOWNLOAD_DIR','.*'#_DOWNLOADDIR',_MAYOR_DIR.'/download'#" \ + -e "s#'include/config/'#_CONFIGDIR.'/base/'#" $BASEDIR/config/main-config.php + echo " kész." +else + echo -e "\n\nERROR: Hiányzó konfigurációs file: $BASEDIR/config/main-config.php\n" + exit 1 +fi + +echo " - A policy-k konfigurációs állományainak áthelyezése" +for policy in private parent public; do + if [ -f $BASEDIR/www/include/config/$policy-conf.php ]; then + echo -n " $BASEDIR/www/include/config/$policy-conf.php --> " + mv $BASEDIR/www/include/config/$policy-conf.php $BASEDIR/config/$policy-conf.php + echo "$BASEDIR/config/$policy-conf.php" + else + echo " $BASEDIR/www/include/config/$policy-conf.php -- nincs" + fi +done + +echo " - A policy-k konfigurációs állományainak minta állományait töröljük (.example)" +for policy in private parent public; do + if [ -f $BASEDIR/www/include/config/$policy-conf.php.example ]; then + echo -n " $BASEDIR/www/include/config/$policy-conf.php.example -- " + rm $BASEDIR/www/include/config/$policy-conf.php.example + echo "törölve" + else + echo " $BASEDIR/www/include/config/$policy-conf.php.example -- nincs" + fi +done + +echo " - A modulok base/config.php-inek áthelyezése" +for module in naplo portal forum felveteli honosito; do + if [ -f $BASEDIR/www/include/modules/$module/base/config.php ]; then + if [ ! -d $BASEDIR/config/module-$module ]; then + echo -n " A könyvtár létrehozása: " + mkdir $BASEDIR/config/module-$module + echo "$BASEDIR/config/module-$module" + fi + echo -n " $BASEDIR/www/include/modules/$module/base/config.php --> " + mv $BASEDIR/www/include/modules/$module/base/config.php $BASEDIR/config/module-$module/config.php + echo "$BASEDIR/config/module-$module/config.php" + else + echo " $BASEDIR/www/include/modules/$module/base/config.php -- nincs" + fi +done + +echo " - A modulok base/config.php.example-inek törlése" +for module in naplo portal forum felveteli honosito; do + if [ -f $BASEDIR/www/include/modules/$module/base/config.php.example ]; then + echo -n " $BASEDIR/www/include/modules/$module/base/config.php.example -- " + rm $BASEDIR/www/include/modules/$module/base/config.php.example + echo "törölve" + else + echo " $BASEDIR/www/include/modules/$module/base/config.php.example -- nincs" + fi +done + +echo " - A napló intézményi config file-jainak (és mintáinak) áthelyezése" +if [ `ls -l $BASEDIR/www/include/modules/naplo/config-* 2>/dev/null | wc -l` \> 0 ]; then + echo -n " Az intézményi konfigurációs állományok áthelyezése ... " + cp $BASEDIR/www/include/modules/naplo/config-* $BASEDIR/config/module-naplo + rm $BASEDIR/www/include/modules/naplo/config-* + echo "kész." +fi + +echo " - A classic skin configurációs könyvtárának létrehozása" +if [ ! -d $BASEDIR/config/skin-classic ]; then + echo -n " A könyvtár létrehozása: " + mkdir $BASEDIR/config/skin-classic + echo "$BASEDIR/config/skin-classic" +fi + +echo "A pda skin configurációs könyvtárának létrehozása" +if [ ! -d $BASEDIR/config/skin-pda ]; then + echo -n " A könyvtár létrehozása: " + mkdir $BASEDIR/config/skin-pda + echo "$BASEDIR/config/skin-pda" +fi + +echo " - A skin config áthelyezése. Csak a classic skinhez!" +if [ -f $BASEDIR/www/skin/classic/config.php ]; then + echo -n " $BASEDIR/www/skin/classic/config.php --> " + mv $BASEDIR/www/skin/classic/config.php $BASEDIR/config/skin-classic/config.php + echo "$BASEDIR/config/skin-classic/config.php" +else + echo " $BASEDIR/www/skin/classic/config.php -- nincs" +fi + +echo " - A skin config mintafile törlése" +if [ -f $BASEDIR/www/skin/classic/config.php.example ]; then + echo -n " $BASEDIR/www/skin/classic/config.php.example -- " + rm $BASEDIR/www/skin/classic/config.php.example + echo "törölve" +else + echo " $BASEDIR/www/skin/classic/config.php.example -- nincs" +fi + +echo " - A modulok skin beállításai - csak classic skin-re!!" +for module in naplo portal forum; do + if [ -f $BASEDIR/www/skin/classic/module-$module/config.php ]; then + echo -n " $BASEDIR/www/skin/classic/module-$module/config.php --> " + mv $BASEDIR/www/skin/classic/module-$module/config.php $BASEDIR/config/skin-classic/$module-config.php + echo "$BASEDIR/config/skin-classic/$module-config.php" + else + echo " $BASEDIR/www/skin/classic/module-$module/config.php -- nincs" + fi +done + +echo " - A modul skin beállítás minta állományok törlése" +for module in naplo portal forum; do + if [ -f $BASEDIR/www/skin/classic/module-$module/config.php.example ]; then + echo -n " $BASEDIR/www/skin/classic/module-$module/config.php.example -- " + rm $BASEDIR/www/skin/classic/module-$module/config.php.example + echo "törölve" + else + echo " $BASEDIR/www/skin/classic/module-$module/config.php.example -- nincs" + fi +done + +echo " - /var/mayor/data/base/huhyphn.tex törlése" +if [ -f $BASEDIR/data/base/huhyphn.tex ]; then + echo -n " $BASEDIR/data/base/huhyphn.tex -- " + rm $BASEDIR/data/base/huhyphn.tex + echo "törölve" +else + echo " $BASEDIR/data/base/huhyphn.tex -- nincs" +fi diff --git a/mayor-orig/update/rev001177-1.sh b/mayor-orig/update/rev001177-1.sh new file mode 100644 index 00000000..f99fab0e --- /dev/null +++ b/mayor-orig/update/rev001177-1.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +if [ -f $BASEDIR/config/backup.conf ]; then + . $BASEDIR/config/backup.conf +else + echo -e "\n\nERROR: hiányzó konfigurációs file: $BASEDIR/config/backup.conf\n" + exit 1 +fi + +if [ ! -d $BACKUPDIR ]; then + echo -e "\n\nERROR: hibás mentési könyvtár: $BACKUPDIR\n" + exit 1 +fi + +if [ ! -d $BACKUPDIR/rev-$REV ]; then + echo -n " - $REV. változat mentési könyvtára: " + mkdir $BACKUPDIR/rev-$REV + echo $BACKUPDIR/rev-$REV +fi + +FILES='eNaploBackup.sh eNaploRestore.sh update.sh' +echo ' - Az elavult /usr/local/sbin elavult scriptjeinek törlése...' +for FILE in $FILES; do + echo -n " /usr/local/sbin/$FILE " + if [ -f /usr/local/sbin/$FILE ]; then + mv /usr/local/sbin/$FILE $BACKUPDIR/rev-$REV/$FILE + echo "--> $BACKUPDIR/rev-$REV/$FILE" + else + echo "-- nincs" + fi +done + +echo -n " - Az új mayor szkript telepítése... " +if [ ! -f $BASEDIR/bin/mayor ]; then + echo -e "\n !! WARNING !!: Az új script még nincs letöltve\n" + echo -n " Letöltés ... " + $SVN --force export https://svn.mayor.hu/svn/trunk/mayor-base/bin "$BASEDIR/bin" > /dev/null + echo -n "mayor-base/bin ... " + $SVN --force export https://svn.mayor.hu/svn/trunk/mayor-naplo/bin "$BASEDIR/bin" > /dev/null + echo -e "mayor-naplo/bin\n" +fi +chmod +x $BASEDIR/bin/mayor +ln -s $BASEDIR/bin/mayor /usr/local/sbin +echo "kész." + +if [ -f /etc/cron.daily/eNaplo ]; then + echo " - Az elavult cron script törlése" + echo -n " /etc/cron.daily/eNaplo --" + mv /etc/cron.daily/eNaplo $BACKUPDIR/rev-$REV/eNaplo + echo "> $BACKUP/rev-$REV/eNaplo" +fi + +if [ -f $BASEDIR/bin/etc/cron.daily/mayor ]; then + echo -n " - Az új cron script telepítése ... " + cp $BASEDIR/bin/etc/cron.daily/mayor /etc/cron.daily/mayor + echo "kész." +fi + diff --git a/mayor-orig/update/rev001181-1.sh b/mayor-orig/update/rev001181-1.sh new file mode 100644 index 00000000..791ed988 --- /dev/null +++ b/mayor-orig/update/rev001181-1.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +echo -ne " - A WEB_SERVER_USER környezeti változó felvétele az update.conf állományba ... " +echo -e "WEB_SERVER_USER=www-data\n" >> $BASEDIR/config/update.conf +echo -e "kész.\n" diff --git a/mayor-orig/update/rev001341-1-auth.sql b/mayor-orig/update/rev001341-1-auth.sql new file mode 100644 index 00000000..0affd9ce --- /dev/null +++ b/mayor-orig/update/rev001341-1-auth.sql @@ -0,0 +1,4 @@ +-- Auth adatbázis módosítása -- + +alter table accounts modify userPassword varbinary(40); +update accounts set userPassword=sha(decode(userPassword,'%MYSQL_ENCODE_STR%')); diff --git a/mayor-orig/update/rev001351-1-auth.sql b/mayor-orig/update/rev001351-1-auth.sql new file mode 100644 index 00000000..42665a1f --- /dev/null +++ b/mayor-orig/update/rev001351-1-auth.sql @@ -0,0 +1,3 @@ + +alter table accounts modify policy ENUM('private','parent','public') NOT NULL; +alter table accounts modify userAccount VARCHAR(32) NOT NULL; diff --git a/mayor-orig/update/rev001368-1.sh b/mayor-orig/update/rev001368-1.sh new file mode 100644 index 00000000..9965624a --- /dev/null +++ b/mayor-orig/update/rev001368-1.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo " - Az esetleg létező skin/classic/config* átmozgatása" +if [ `ls $BASEDIR/www/skin/classic/config* | wc -l` -gt 2 ]; then + echo -n " $BASEDIR/www/skin/classic/config* --> " + mv "$BASEDIR/www/skin/classic/config*" "$BASEDIR/config/skin-classic/" + echo "$BASEDIR/config/skin-classic/" +else + echo " nincs ilyen file" +fi diff --git a/mayor-orig/update/rev001387-1-mayor_login.sql b/mayor-orig/update/rev001387-1-mayor_login.sql new file mode 100644 index 00000000..4262c83f --- /dev/null +++ b/mayor-orig/update/rev001387-1-mayor_login.sql @@ -0,0 +1 @@ +alter table session modify sessionID char(40) NOT NULL; diff --git a/mayor-orig/update/rev001391-1-mayor_login.sql b/mayor-orig/update/rev001391-1-mayor_login.sql new file mode 100644 index 00000000..9a25fe8f --- /dev/null +++ b/mayor-orig/update/rev001391-1-mayor_login.sql @@ -0,0 +1 @@ +--rev1393--alter table session add sessionCookie char(40) not null; \ No newline at end of file diff --git a/mayor-orig/update/rev001393-1-mayor_login.sql b/mayor-orig/update/rev001393-1-mayor_login.sql new file mode 100644 index 00000000..fa38c4e8 --- /dev/null +++ b/mayor-orig/update/rev001393-1-mayor_login.sql @@ -0,0 +1 @@ +alter table session add sessionCookie char(40) not null; \ No newline at end of file diff --git a/mayor-orig/update/rev001582-1.sh b/mayor-orig/update/rev001582-1.sh new file mode 100644 index 00000000..a9d79404 --- /dev/null +++ b/mayor-orig/update/rev001582-1.sh @@ -0,0 +1,66 @@ +#!/bin/bash + +if [ -e "/etc/mayor/main.conf" ]; then + echo 'OK' +else + echo " - Konfigurációs állományok és naplózási beállítások átszervezése..." + + echo " * Új konfigurációs állomány létrehozása" + echo -e "\n#====================#\n# Main paraméterek #\n#====================#\n\n" > $BASEDIR/config/main.conf + grep -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'SVN' -e 'SHELL' $BASEDIR/config/update.conf >> $BASEDIR/config/main.conf + echo -e "\n\n#====================#\n# Update paraméterek #\n#====================#\n\n" >> $BASEDIR/config/main.conf + echo -e "UPDATELOG=\"\$BASEDIR/log/update.log\"\nSQLLOG=\"\$BASEDIR/log/sql-update.log\"\nREVISION_FILE=\"\$BASEDIR/log/revision\"\nLOCKFILE=\"/var/run/mayor.lock\"\nVERSION=\"radyx\"" >> $BASEDIR/config/main.conf + grep -v -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'SVN' -e 'SHELL' -e 'REVISION_FILE' $BASEDIR/config/update.conf >> $BASEDIR/config/main.conf + echo -e "\n\n#====================#\n# Backup paraméterek #\n#====================#\n\n" >> $BASEDIR/config/main.conf + grep -v -e '^BASEDIR' -e 'WEB_SERVER_USER' -e '^MYSQL=' -e 'MYSQL_USER' -e 'MYSQL_PW' -e 'WWWDIR' -e 'DATE' $BASEDIR/config/backup.conf >> $BASEDIR/config/main.conf + + echo " * Korábbi konfigurációs állományok mentése: " + mv $BASEDIR/config/update.conf $BASEDIR/config/update.conf.old + echo " update.conf --> update.conf.old" + mv $BASEDIR/config/backup.conf $BASEDIR/config/backup.conf.old + echo " backup.conf --> backup.conf.old" + + echo " * Naplózás előkészítése" + if [ ! -e $BASEDIR/log ]; then mkdir $BASEDIR/log; fi + if [ ! -e /var/log/mayor ]; then ln -s $BASEDIR/log /var/log/mayor; fi + + echo " * update.rev áthelyezése" + mv $BASEDIR/config/update.rev $BASEDIR/log/revision + mv $BASEDIR/config/main-config.php $BASEDIR/config/main-config.php.old + cat $BASEDIR/config/main-config.php.old | \ + sed -e "s/define('_CONFIGDIR',\(.*\));/define('_CONFIGDIR',\\1);\\ndefine('_LOGDIR',_MAYOR_DIR\.'\/log');\\ndefine('_LOCKFILE','\/var\/run\/mayor.lock');/g" \ + > $BASEDIR/config/main-config.php + + if [ "$HTTP_SERVER" != '' ]; then + cd $TMPDIR + FILE=`grep mayor-base md5sum | cut -d ' ' -f 3` + tar xfz $FILE -C $BASEDIR ./bin + cd $BASEDIR/bin + fi + + echo " * Konfigurációs könyvtár linkelése a /etc-be" + ln -s $BASEDIR/config /etc/mayor + + echo " * Jogosultságok állítása" + chmod +x $BASEDIR/bin/mayor + + echo " +#*****************************************************************# +# # +# A konfigurációs beállítások átalakítása befejeződött. # +# # +# Ellenőrizze a /etc/mayor/main.conf állomány tartalmát, vala- # +# mint a /var/log/mayor/revision állományban található számot, # +# aminek 1582-nél kisebbnek kell még lennie. # +# # +# Ha mindent rendben talál futtassa újra a mayor update paran- # +# csot! Kövesse nyomon az üzeneteket, melyek mostantól a képer- # +# nyő mellett a /var/log/mayor/update.log állományban is megje- # +# lennek. # +# # +#*****************************************************************# +" + +exit 1 + +fi \ No newline at end of file diff --git a/mayor-orig/update/rev001745-1.sh b/mayor-orig/update/rev001745-1.sh new file mode 100644 index 00000000..18eaf7e9 --- /dev/null +++ b/mayor-orig/update/rev001745-1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE="install/base/sh/*" + +echo " Felesleges állományok törlése:" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/rev001751-1.sh b/mayor-orig/update/rev001751-1.sh new file mode 100644 index 00000000..18eaf7e9 --- /dev/null +++ b/mayor-orig/update/rev001751-1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE="install/base/sh/*" + +echo " Felesleges állományok törlése:" + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +echo " Kész." \ No newline at end of file diff --git a/mayor-orig/update/rev001986-1-mayor_login.sql b/mayor-orig/update/rev001986-1-mayor_login.sql new file mode 100644 index 00000000..75268f72 --- /dev/null +++ b/mayor-orig/update/rev001986-1-mayor_login.sql @@ -0,0 +1,4 @@ +DROP TABLE IF EXISTS `cache`; +CREATE TABLE `cache` (`sessionID` char(40), `policy` varchar(10), `kulcs` varchar(32) NOT NULL, `ertek` varchar(100), dt DATETIME) +ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci; +ALTER TABLE `cache` add primary key PK (sessionID,policy,kulcs); diff --git a/mayor-orig/update/rev002008-1-auth.sql b/mayor-orig/update/rev002008-1-auth.sql new file mode 100644 index 00000000..2dd51671 --- /dev/null +++ b/mayor-orig/update/rev002008-1-auth.sql @@ -0,0 +1,3 @@ +ALTER TABLE `groups` CHANGE groupId groupCn varchar(32); +ALTER TABLE `groups` CHANGE groupName groupDesc varchar(32); +ALTER TABLE `members` DROP `type`; diff --git a/mayor-orig/update/rev002038-1.sh b/mayor-orig/update/rev002038-1.sh new file mode 100644 index 00000000..aa8c2ba4 --- /dev/null +++ b/mayor-orig/update/rev002038-1.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +echo 'A standard update szkriptek tesztelése' +echo 'A rev fut!!' >> /tmp/mayor-update-test.log + diff --git a/mayor-orig/update/rev002400-1-mayor_login.sql b/mayor-orig/update/rev002400-1-mayor_login.sql new file mode 100644 index 00000000..bcc04e0c --- /dev/null +++ b/mayor-orig/update/rev002400-1-mayor_login.sql @@ -0,0 +1,19 @@ +CREATE TABLE IF NOT EXISTS `mayorSsl` ( + `sslId` tinyint(1) unsigned NOT NULL auto_increment, + `privateKey` text COLLATE utf8_hungarian_ci NOT NULL, + `publicKey` text COLLATE utf8_hungarian_ci NOT NULL, + `secret` varchar(40) COLLATE utf8_hungarian_ci DEFAULT NULL, + PRIMARY KEY (`sslId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +CREATE TABLE IF NOT EXISTS `mayorKeychain` ( + `dt` date null, + `OMKod` mediumint(8) unsigned zerofill, + `publicKey` text COLLATE utf8_hungarian_ci NOT NULL, + `valid` tinyint(1) unsigned NULL DEFAULT '1', + PRIMARY KEY (`OMKod`,`valid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + +ALTER TABLE `mayorSsl` modify `sslId` tinyint(1) unsigned NOT NULL auto_increment; + +INSERT IGNORE INTO `mayorKeychain` (dt,OMKod,publicKey,valid) VALUES ('2011-04-07',0,'-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMIVw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD+O8uuA7jQwczlSqWJwIDAQAB-----END PUBLIC KEY-----',1); diff --git a/mayor-orig/update/rev002422-1-mayor_login.sql b/mayor-orig/update/rev002422-1-mayor_login.sql new file mode 100644 index 00000000..94af5e78 --- /dev/null +++ b/mayor-orig/update/rev002422-1-mayor_login.sql @@ -0,0 +1,41 @@ +TRUNCATE TABLE `mayorKeychain`; +INSERT INTO `mayorKeychain` VALUES +('2011-04-13',00029299,'-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXSTkz71IEVd3rGg497nBZJNVs +xTbMUxsXMGupq9jGRmlqUhjIddayOMw2CFW/OR5BB0WD0pxKjEm7IZz6MzfnL27P +mbPYuSwn3/Oq/gCGLTKiq48I+u0SZCGdLEzOU5rGjXoEqlzXPNvNc8q/sb4KsQZm +tFr9+VLr+nUkk/v4JQIDAQAB +-----END PUBLIC KEY-----',1), +('2011-04-13',00035242,'-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDP6P945Egfn30JQrdSXzFaCiON +m74vDqpn+7sdnrQwmyxn/RJwGb7kp6ICx6EIu494IichesZ8S4jx3acd+JLfEzP7 +UvHYz4CTvFRxSp0NXAK88ss0L6d7EXS5yCwyAhIHogM1JBBO+S4xLjIB9Iv0qQEb +xrYta2qgqZxyMfCdZQIDAQAB +-----END PUBLIC KEY-----',1), +('2011-04-13',00035432,'-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwNglEZC06khfqipxCzz14gvfS +QB5FBJfuiYOpU1HDLJ1tYfXrIIokv+6EhrSNx5It/TUpZ6Sz7sjW39ZJnYRWhYlS +dcLqRRSNZRaZV/m0LCQAv1HjM8XAZZaiIMpkgGu8DaTE4mbn6cynj9z433hr7h03 +N3kIPMV4scnOHOQ8AQIDAQAB +-----END PUBLIC KEY-----',1), +('2011-04-13',00037181,'-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6jcvWxmH7y2p9FukRsZx0mcYz +127e/Pckvwd/gXdbH3eaH6fMaNrPoku6wrK9TWy2nkH+UB/RFOvIzNGExXJK8QBC +ygW9uc3G32N0IweSKw7mEwCzbhSLJPepo5lG57NobgOLgiFRIV8k6tSE+AL0csTT +v+cUpcsDU6x2pKHJDQIDAQAB +-----END PUBLIC KEY-----',1), +('2011-04-07',09000000,'-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbMFUWy0Juy/7uHROaLOMPSHMI +Vw/jSmEAKW6lCeIOH2oUVsAQkgsZCFiKqQhH3WbtLrAzSmOA7+rEU3RtgXtPZpHN +2UUPQqoHWoMOkumfIS5oM0sQgSQ738TC0X9yxZlNqZtdpdCa0zjVnGLxqVVhS3KD ++O8uuA7jQwczlSqWJwIDAQAB +-----END PUBLIC KEY-----',1), +('2011-04-13',09000001,' +-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxxGQdt76++8nZ88RHbSTFt2jQ +rU3d3wArUwQrVqQEkpkSQmXMgzB4ltFRGfA4gdteVHlj7GOAJX9nYgSg5iBpeUUX +UTrq1MprV77er35ZIGmDA7OLUCdLX23UhM8JGxW8+v/0DT0xHYQHAtgnBc9Qdgcn +8sWu7LXvX1j3wIHKHQIDAQAB +-----END PUBLIC KEY-----',1); + + diff --git a/mayor-orig/wiki/dok.php b/mayor-orig/wiki/dok.php new file mode 100644 index 00000000..7cbb8ff9 --- /dev/null +++ b/mayor-orig/wiki/dok.php @@ -0,0 +1,28 @@ + + + + + + Átirányítás + + '; + + echo '

Átirányítás

'; + echo '

Nincs helyi Help modul telepítve, ezért másodperceken belül átirányítjuk a http://wiki.mayor.hu központi help oldalra...

'; + + echo ''; +} + +?> diff --git a/mayor-orig/www/LICENSE.txt b/mayor-orig/www/LICENSE.txt new file mode 100644 index 00000000..94a9ed02 --- /dev/null +++ b/mayor-orig/www/LICENSE.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/mayor-orig/www/include/alert/base.php b/mayor-orig/www/include/alert/base.php new file mode 100644 index 00000000..3c886dcf --- /dev/null +++ b/mayor-orig/www/include/alert/base.php @@ -0,0 +1,38 @@ +getMessage(); +} + +?> diff --git a/mayor-orig/www/include/alert/hu_HU/base.php b/mayor-orig/www/include/alert/hu_HU/base.php new file mode 100644 index 00000000..744f40d5 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/base.php @@ -0,0 +1,52 @@ + '', + 'change_success' => 'Az adatmódosítás sikeresen megtörtént!', + 'page_missing' => 'A keresett oldal nem található a szerveren.', + 'sql_failure' => 'SQL adatbázis hiba!', + 'sql_warning' => 'SQL figyelmeztetés!', + 'sql_connect_failure'=> 'SQL adatbázis csatlakozási hiba!', + 'sql_query_failure' => 'SQL lekérdezési hiba!', + 'sql_select_db_failure' => 'A %0% modul %1% SQL adatbázisának kiválasztása nem sikerült!', + 'auth_failure' => 'Azonosítatlan felhasználó! Az adott hozzáférési szinten nem hitelesítetted magad!', + 'bad_pw' => 'Hibás jelszó!', + 'account_expired' => 'A jelszó érvényessége %0% napja lejárt!', + 'account_warning' => 'A jelszó %0% nap múlva lejár!', + 'warn_account_disable' => 'A felhasználói fiók %0% nap múlva letiltásra kerül!', + 'empty_field' => 'Üres adatbeviteli mező! Egy kötelező paraméter nincs megadva!', // login + 'session_alter_needed' => 'Nem egyező hash-hossz az adatbázisban! (%0% → %1%)', + 'insufficient_access' => 'Jogosulatlan hozzáférés!', + 'wrong_data' => 'Hibás/rossz adat!', + 'wrong_page' => 'Hibás oldalhivatkozás!', + 'deadline_expired' => 'A módosítási határidő lejárt!', + 'pw_change_success' => 'A jelszóváltoztatás sikeresen megtörtént', + 'file_not_found' => 'A file nem található!', + 'success' => 'A művelet sikeresen befejeződött!', + 'not_changed' => 'Nem történt adatváltozás.', + 'unknown_type' => 'Ismeretlen tipus', + 'config_error' => 'Konfigurációs hiba', + 'not_valid_form' => 'Érvénytelen űrlapadatok! A feldolgozás megszakadt.', + 'raw' => 'Részletek:', +); + +// + auth + +$ALERT_MSG['no_account'] = 'Rossz azonosítót adtál meg!'; +$ALERT_MSG['account_disabled'] = 'A felhasználói fiók letilrásra került, ezzel az azonosítóval nem lehet belépni! További információkért fordulj a rendszergazdához!'; +$ALERT_MSG['force_pw_update'] = 'A jelszó megváltoztatása kötelező!'; +$ALERT_MSG['cookie'] = 'Lejárt a munkamenet vagy nem engedélyezett a sütik használata.'; + +?> diff --git a/mayor-orig/www/include/alert/hu_HU/file.php b/mayor-orig/www/include/alert/hu_HU/file.php new file mode 100644 index 00000000..2696c9f3 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/file.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/include/alert/hu_HU/ldap.php b/mayor-orig/www/include/alert/hu_HU/ldap.php new file mode 100644 index 00000000..1a089128 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/ldap.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/include/alert/hu_HU/module-auth.php b/mayor-orig/www/include/alert/hu_HU/module-auth.php new file mode 100644 index 00000000..b7ad2333 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/module-auth.php @@ -0,0 +1,11 @@ +További információkért fordulj a rendszergazdához!'; +$ALERT_MSG['force_pw_update'] = 'A jelszó megváltoztatása kötelező!'; +$ALERT_MSG['cookie'] = 'Lejárt a munkamenet vagy nem engedélyezett a sütik használata.'; +$ALERT_MSG['pw_reset_disabled'] = 'Jelszóemlékeztető kérés ezen a hitelesítési szinten nem engedélyezett.'; +?> diff --git a/mayor-orig/www/include/alert/hu_HU/module-naplo.php b/mayor-orig/www/include/alert/hu_HU/module-naplo.php new file mode 100644 index 00000000..64bd3f22 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/module-naplo.php @@ -0,0 +1,70 @@ + diff --git a/mayor-orig/www/include/alert/hu_HU/module-password.php b/mayor-orig/www/include/alert/hu_HU/module-password.php new file mode 100644 index 00000000..f56a8c85 --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/module-password.php @@ -0,0 +1,18 @@ + diff --git a/mayor-orig/www/include/alert/hu_HU/module-session.php b/mayor-orig/www/include/alert/hu_HU/module-session.php new file mode 100644 index 00000000..75f0b0bc --- /dev/null +++ b/mayor-orig/www/include/alert/hu_HU/module-session.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/include/backend/ads/auth/login.php b/mayor-orig/www/include/backend/ads/auth/login.php new file mode 100644 index 00000000..59cbf3e5 --- /dev/null +++ b/mayor-orig/www/include/backend/ads/auth/login.php @@ -0,0 +1,358 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid"; + if ($closeLDAP) ldap_close($ds); + return false; + } + } + $pwdlastset = $userinfo[0]['pwdlastset'][0]; + $userAccountControl = $userinfo[0]['useraccountcontrol'][0]; + + $status = array(); + + $status['pwdLastSet'] = $pwdlastset; + $status['pwdLastSetDt'] = date('Y-m-d H:i:s',msFileTime2unixTimestamp($pwdlastset)); + $status['accountExpires'] = $userinfo[0]['accountexpires'][0]; + $status['accountNeverExpires'] = (ADS_ACCOUNTEXPIRES_NEVER==$userinfo[0]['accountexpires'][0]) || ($userinfo[0]['accountexpires'][0] == 0); + if (!$status['accountNeverExpires']) { + $status['accountExpiresDt'] = date('Y-m-d H:i:s',msFileTime2unixTimestamp($userinfo[0]['accountexpires'][0])); + $status['accountExpiresTimestamp'] = msFileTime2unixTimestamp($userinfo[0]['accountexpires'][0]); + } + $status['accountDisabled'] = (bool)($userAccountControl & ADS_UF_ACCOUNTDISABLE); + $status['noPasswordRequired'] = (bool)($userAccountControl & ADS_UF_PASSWD_NOTREQD); + $status['cannotChangePassword'] = (bool)($userAccountControl & ADS_UF_PASSWD_CANT_CHANGE); + $status['normalAccount'] = (bool)($userAccountControl & ADS_UF_NORMAL_ACCOUNT); + $status['passwordNeverExpire'] = (bool)($userAccountControl & ADS_UF_DONT_EXPIRE_PASSWD); + $status['passwordExpired'] = (bool)($userAccountControl & ADS_UF_PASSWORD_EXPIRED); // Ez mintha nem működne... + $status['mustChangePassword'] = ($pwdlastset === '0' && $status['passwordNeverExpire']); + + // A jelszó lejárati dátum az AD-ben két értékből számítható ki: + // - A felhasználó saját pwdLastSet atribútuma: ez tárolja a jelszó utolsó módosításának időpontját + // - A tartomány maxPwdAge atribútuma: milyen hosszú ideig lehet érvényes a jelszó a tartományban + // + // A Microsoft persze saját kiindulási időpontot és lépési egységet használ az idő tárolására. + // Ez a függvény konvertálja ezt az értéket Unix időbélyeggé + + // Kérdezzük le a tartomány maxPwdAge attribútumát! + $sr = ldap_read($ds, $AUTH[$toPolicy]['adsBaseDn'], 'objectclass=domain', array('maxPwdAge')); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:getAccountStatus (ads backend)"; + if ($closeLDAP) ldap_close($ds); + return false; + } + $info = ldap_get_entries($ds, $sr); + $maxpwdage = $info[0]['maxpwdage'][0]; + + // Lásd MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx + // + // pwdLastSet tartalmazza az 1601 (UTC) január 1 óta eltelt 100 nanoszekundumos időintervallumok számát + // 64 bit-es integer típusú értékként + // + // Ettől az időponttól a Unix időszámítás kezdetéig eltelt másodpercek száma 11644473600. + // + // maxPwdAge szintén large integer, ami a jelszóváltoztatás és a jelszó lejárat közötti 100 nanoszekundumos időintervallumok számát tárolja + + $status['maxPwdAgeInDays'] = bcdiv(bcsub(0,$maxpwdage),'36000000000')/24; + + // Ezt az étéket át kell váltanunk másodpercekre, de ez egy negatív mennyiség! + // + // Ha a maxPwdAge alsó 32 bites része 0, akkor a jelszavak nem járnak le + // + // Sajnos ezek a számok túl nagyok a PHP integer típusához, ezért kell a BCMath függvényeit használnunk + + $status['passwordsDoNotExpireInDomain'] = (bcmod($maxpwdage, 4294967296) === '0'); + + // Adjuk össze a pwdlastset és maxpwdage értékeket (pontosabban az utóbbi negatív értéket + // vonjuk ki az előbbiből), így megkapjuk a jelszó lejáratának időpontját a Microsoft féle + // egységekben. + $pwdexpire = bcsub($pwdlastset, $maxpwdage); + + // Konvertáljuk az MS féle időt unix időre + $status['expiryTimestamp'] = bcsub(bcdiv($pwdexpire, '10000000'), '11644473600'); + $status['expiryDate'] = date('Y-m-d H:i:s', bcsub(bcdiv($pwdexpire, '10000000'), '11644473600')); + + if ($closeLDAP) ldap_close($ds); + + $status['userAccount'] = $userAccount; + $status['usetAccountControl'] = $userAccountControl; + $status['shadowLastChange'] = $userinfo[0]['shadowlastchange'][0]; + $status['shadowWarning'] = $userinfo[0]['shadowwarning'][0]; + $status['shadowInactive'] = $userinfo[0]['shadowinactive'][0]; + return array_merge($status); + + + } + + function adsUserAuthentication($userAccount, $userPassword, &$accountInformation, $toPolicy) { + + global $AUTH; + + if ($toPolicy == '') { + if ($accountInformation['policy'] != '') $toPolicy = $accountInformation['policy']; +// elseif ($_REQUEST['toPolicy'] != '') $toPolicy = $_REQUEST['toPolicy']; + else $toPolicy = _POLICY; + } + + // Kapcsolódás a szerverhez + $ds = ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return _AUTH_FAILURE; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return _AUTH_FAILURE; + } + + // Van-e adott azonosítójú felhasználó? + $filter="(&(sAMAccountName=$userAccount)(objectClass=".$AUTH[$toPolicy]['adsUserObjectClass']."))"; + $justthese = array("sn","cn",$AUTH[$toPolicy]['adsStudyIdAttr'],"shadowexpire","shadowwarning","shadowinactive","shadowlastchange","shadowmax","pwdlastset","accountexpires","useraccountcontrol"); + $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure"; + ldap_close($ds); + return _AUTH_FAILURE; + } + $info = ldap_get_entries($ds,$sr); + if ( $info['count'] === 0 || is_null($info)) { // http://bugs.php.net/50185 ha nincs megfelelő elem, akkor - hibásan - null-al tér vissza! (~ PHP 5.2.10) + // Nincs ilyen userAccount (uid) + $_SESSION['alert'][] = "message:no_account:$userAccount"; + ldap_close($ds); + return _AUTH_FAILURE_1; + } + + if ( $info['count'] > 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid"; + ldap_close($ds); + return _AUTH_FAILURE_2; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + + $status = getAccountStatus($userAccount, $toPolicy, $info, $ds); + // Lejárt-e + // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik + // Esetünkben + if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk + $info[0]['shadowlastchange'][0] = msFileTime2unixDays($info[0]['pwdlastset'][0]); + } + + // A globális beállítással kikényszeríthető a nagyobb warning időszak + $shadowWarning = ($status['shadowWarning']<$AUTH[$toPolicy]['shadowWarning']) ? $AUTH[$toPolicy]['shadowWarning'] : $status['shadowWarning']; + + + $disabled = ( // Ha az jelszavak lejárhatnak a domain-ben és a user jellszava is lejárhat és le is járt... + !$status['passwordNeverExpire'] + && !$status['passwordsDoNotExpireInDomain'] + && $status['expiryTimestamp'] < time() + ) || ( // vagy az account lejárhat és le is járt + !$status['accountNeverExpires'] + && $status['accountExpiresTimestamp'] diff --git a/mayor-orig/www/include/backend/ads/base/attrs.php b/mayor-orig/www/include/backend/ads/base/attrs.php new file mode 100644 index 00000000..e01aa00c --- /dev/null +++ b/mayor-orig/www/include/backend/ads/base/attrs.php @@ -0,0 +1,160 @@ + 'sAMAccountName', + 'userCn' => 'displayName', + 'mail' => 'mail', + 'studyId' => 'serialNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns + 'shadowLastChange' => 'shadowLastChange', + 'shadowWarning' => 'shadowWarning', + 'shadowMin' => 'shadowMin', + 'shadowMax' => 'shadowMax', + 'shadowExpire' => 'shadowExpire', + 'shadowInactive' => 'shadowInactive', + ); + + global $groupAttrToADS; + $groupAttrToADS = array( + 'groupCn' => 'cn', + 'groupDesc' => 'description', + 'member' => 'member', + ); + + global $adsAccountAttrDef; + $adsAccountAttrDef = array( + 'dn' => array('desc' => _ADSDN, 'type' => 'text', 'rights' => 'rrr'), + 'cn' => array('desc' => _ADSCN, 'type' => 'text', 'rights' => 'rrr'), + 'sn' => array('desc' => _ADSSN, 'type' => 'text', 'rights' => 'wrr'), + 'givenname' => array('desc' => _ADSGIVENNAME, 'type' => 'text'), + 'serialnumber' => array('desc' => _ADSSERIALNUMBER, 'type' => 'int', 'rights' => 'wrr'), + 'displayname' => array('desc' => _ADSCN, 'type' => 'text', 'rights' => 'wrr'), + 'name' => array('desc' => _ADSNAME, 'type' => 'text', 'rights' => 'r--'), + 'padpwdcount' => array('desc' => _ADSBADPWDCOUNT, 'type' => 'int', 'rights' => 'wrr'), + 'badpasswordtime' => array('desc' => _ADSBADPASSWORDTIME, 'type' => 'int', 'rights' => 'r--'), + 'lastlogon' => array('desc' => _ADSLASTLOGON, 'type' => 'int', 'rights' => 'r--'), + 'pwdlastset' => array('desc' => _ADSPWDLASTSET, 'type' => 'int', 'rights' => 'r--'), + 'accountexpires' => array('desc' => _ADSACCOUNTEXPIRES, 'type' => 'int', 'rights' => 'wrr'), + 'samaccountname' => array('desc' => _ADSSAMACCOUNTNAME, 'type' => 'text', 'rights' => 'wrr'), + 'useraccountcontrol' => array('desc' => _USERACCOUNTCONTROL, 'type' => 'text', 'rights' => 'wrr'), + 'userprincipalname' => array('desc' => _ADSUSERPRINCIPALNAME, 'type' => 'text', 'rights' => 'wrr'), + 'objectcategory' => array('desc' => _ADSOBJECTCATEGORY, 'type' => 'text', 'rights' => 'r--'), + 'uid' => array('desc' => _ADSUID, 'type' => 'text', 'rights' => 'rrr'), + 'uidnumber' => array('desc' => _ADSUIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'gidnumber' => array('desc' => _ADSGIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'mssfu30name' => array('desc' => _ADSUID, 'type' => 'text', 'rights' => 'r--'), + 'unixhomedirectory' => array('desc' => _ADSUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'), + 'loginshell' => array('desc' => _ADSLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'), + 'shadowlastchange' => array('desc' => _ADSSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowexpire' => array('desc' => _ADSSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowwarning' => array('desc' => _ADSSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmin' => array('desc' => _ADSSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmax' => array('desc' => _ADSSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'), + 'shadowinactive' => array('desc' => _ADSSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'), +/* + 'gecos' => array('desc' => _ADSGECOS, 'type' => 'text', 'rights' => 'w--'), + 'mail' => array('desc' => _ADSMAIL, 'type' => 'text', 'rights' => 'wwr'), + 'telephonenumber' => array('desc' => _ADSTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'), + 'mobile' => array('desc' => _ADSMOBILE, 'type' => 'text', 'rights' => 'ww-'), + 'l' => array('desc' => _ADSL, 'type' => 'text'), + 'street' => array('desc' => _ADSSTREET, 'type' => 'text'), + 'postaladdress' => array('desc' => _ADSPOSTALADDRESS, 'type' => 'text'), + 'postalcode' => array('desc' => _ADSPOSTALCODE, 'type' => 'text'), +*/ + ); + + global $adsGroupAttrDef; + $adsGroupAttrDef = array( + 'cn' => array('desc' => _ADSCN, 'type' => 'text','rights' => 'rrr'), + 'name' => array('desc' => _ADSNAME, 'type' => 'text','rights' => 'rrr'), + 'samaccountname' => array('desc' => _ADSSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'), + 'description' => array('desc' => _ADSDESCRIPTION, 'type' => 'text'), + 'gidnumber' => array('desc' => _ADSGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'member' => array('desc' => _ADSMEMBER, 'type' => 'select'), + 'objectcategory' => array('desc' => _ADSOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'), + + 'memberuid' => array('desc' => _ADSMEMBERUID, 'type' => 'select'), + ); + +?> diff --git a/mayor-orig/www/include/backend/ads/password/changePassword.php b/mayor-orig/www/include/backend/ads/password/changePassword.php new file mode 100644 index 00000000..6d686b34 --- /dev/null +++ b/mayor-orig/www/include/backend/ads/password/changePassword.php @@ -0,0 +1,165 @@ + diff --git a/mayor-orig/www/include/backend/ads/session/accountInfo.php b/mayor-orig/www/include/backend/ads/session/accountInfo.php new file mode 100644 index 00000000..eef90fd4 --- /dev/null +++ b/mayor-orig/www/include/backend/ads/session/accountInfo.php @@ -0,0 +1,416 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + } + return $return[0]; + + } + + } + +############################################################# +# adsGetUserInfo - felhasználói információk (keretrendszer) +############################################################# + + function adsGetUserInfo($userAccount, $toPolicy = _POLICY) { + + global $accountAttrToADS, $adsAttrDef; + $userDn = ADSuserAccountToDn($userAccount, $toPolicy); + + $result = getADSInfo($userDn, array_values($accountAttrToADS), $toPolicy); + if ($result === false) { + return false; + } else { + + $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']); + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + ADS --> MaYoR schema + foreach ($accountAttrToADS as $attr => $adsAttr) { + $adsAttr = kisbetus($adsAttr); + if (isset($result[0][$adsAttr])) $return[$attr] = $result[0][$adsAttr]; + else $return[$attr] = array('count' => 0); + } + return $return; + + } + + } + +############################################################### +# adsChangeAccountInfo - felhasználói információk módosítása +############################################################### + + function adsChangeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + $userDn = ADSuserAccountToDn($userAccount, $toPolicy); + + // Kapcsolódás az ADS szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_ADS_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr]; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$userDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$userDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i]; + + } + +########################################################### +# adsGetGroupInfo - csoport információk (backend) +########################################################### + + function adsGetGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array()) { + + global $backendAttrs, $backendAttrDef; + + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy); + + $groupDn = ADSgroupCnToDn($groupCn, $toPolicy); + + $result = getADSInfo($groupDn, $backendAttrs, $toPolicy); + if ($result === false) { + return false; + } else { + + // Accountok lekérdezése + $info = getADSaccounts($toPolicy); + for ($i = 0; $i < $info['count']; $i++) { + $accountUid[] = array( + 'value' => $info[$i]['uid'][0], + 'txt' => $info[$i]['displayname'][0] + ); + $accountDn[] = array( + 'value' => $info[$i]['dn'], + 'txt' => $info[$i]['displayname'][0] + ); + $DN2CN[$info[$i]['dn']] = $info[$i]['displayname'][0]; + } + + // ADS schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif($attr == 'member') { + $_TMP = array(); + for ($j=0; $j<$result[$i][$attr]['count']; $j++) { + $_dn = $result[$i][$attr][$j]; + $_TMP[] = array( + 'type'=>'member', + 'value'=>$_dn, + 'txt'=>($DN2CN[$_dn]==''?str_replace(',',' ',$_dn):$DN2CN[$_dn]) + ); + } + $return[$i][$attr] = $_TMP; + } + + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + + if ($SET['withNewAccounts']===true) { + $return[$i]['member']['new'] = $accountDn; + $return[$i]['memberuid']['new'] = $accountUid; + } + } + + return $return[0]; + + } + + } + +############################################################### +# adsChangeGroupInfo - csoport információk módosítása +############################################################### + + function adsChangeGroupInfo($groupCn, $toPolicy = _POLICY) { + +// !!!! A memberuid / member szinkronjára nem figyel!! + + global $AUTH, $backendAttrs, $backendAttrDef; + $groupDn = ADSgroupCnToDn($groupCn, $toPolicy); + + // Kapcsolódás az ADS szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_ADS_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '') + if (isset($_POST[$attr])) $values[0] = $_POST[$attr]; + else $values[0] = ''; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$groupDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$groupDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i=0;$i diff --git a/mayor-orig/www/include/backend/ads/session/base.php b/mayor-orig/www/include/backend/ads/session/base.php new file mode 100644 index 00000000..3a727c3b --- /dev/null +++ b/mayor-orig/www/include/backend/ads/session/base.php @@ -0,0 +1,188 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid:$userAccount"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + return $info[0]['dn']; + } + + } + + +###################################################### +# A groupCn(cn)-hez tartozó dn lekérdezése +###################################################### + + function ADSgroupCnToDn($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // Kapcsolódás a szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return false; + } + + // Van-e ilyen csoport? + $filter="(&(cn=$groupCn)(objectClass=".$AUTH[$toPolicy]['adsGroupObjectClass']."))"; + $justthese=array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure"; + ldap_close($ds); + return false; + } + $info=ldap_get_entries($ds,$sr); + ldap_close($ds); + + if ( $info['count'] === 0 ) { + // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó... + if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn"; + return false; + } elseif ( $info['count'] > 1 ) { + // Több ilyen cn is van + $_SESSION['alert'][] = "message:multi_gid:$groupCn"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen csoport + return $info[0]['dn']; + } + + } + +###################################################### +# memberOf - csoport tag-e +###################################################### + + function adsMemberOf($userAccount, $group, $toPolicy = _POLICY) { + + global $AUTH; + //global $ADS2Mayor; + + $userDn = ADSuserAccountToDn($userAccount, $toPolicy); + if (in_array($group, $AUTH[$toPolicy]['categories'])) { + if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true; +# Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába... +# else return false; + } + + if (substr($group,0,3) != 'cn=') { + $groupDn = ADSgroupCnToDn(ekezettelen($group)); + if (!$groupDn) return false; // Ha nincs ilyen csoport az ADS fában + } else { + $groupDn = $group; + } + + // Kapcsolódás az ADS szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['adsUser'],$AUTH[$toPolicy]['adsPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $justthese = array('cn'); // valamit le kell kérdezni... + $filter = "(&(objectClass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(member=$userDn))"; + $sr = @ldap_search($ds, $groupDn, $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$filter; + ldap_close($ds); + return false; + } + + $info = ldap_get_entries($ds, $sr); + ldap_close($ds); + + if ($info['count'] > 0) { + return true; + } else { + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/backend/ads/session/createAccount.php b/mayor-orig/www/include/backend/ads/session/createAccount.php new file mode 100644 index 00000000..02809f07 --- /dev/null +++ b/mayor-orig/www/include/backend/ads/session/createAccount.php @@ -0,0 +1,157 @@ + a konténer elem - ha nincs, akkor CN=Users alá rakja + category => tanár, diák... egy kiemelt fontosságú csoport tagság + groups => egyéb csoportok + policyAttrs => policy függő attribútumok + ) + */ + function adsCreateAccount( + $userCn, $userAccount, $userPassword, $toPolicy, $SET + ) { + + global $AUTH; + + $shadowLastChange = floor(time() / (60*60*24)); + + // $toPolicy --> ads backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ads') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // uid ütközés ellenőrzése + $filter = "(sAMAccountName=$userAccount)"; + $justthese = array('sAMAccountName'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + $uinfo = ldap_get_entries($ds, $sr); + $uidCount = $uinfo['count']; + ldap_free_result($sr); + if ($uidCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount; + return false; + } + + // Az következő uidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsUserObjectClass'].")(uidNumber=*))"; + $justthese = array('uidNumber', 'msSFU30UidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'uidNumber'); + $uinfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1); + else $info['uidNumber'] = array(1001); + + // shadow attributumok... + // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') + $info['shadowLastChange'] = array($shadowLastChange); + if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']); + if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']); + if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']); + if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']); + if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']); + + // A szokásos attribútumok + $Name = explode(' ',$userCn); + $Dn = ldap_explode_dn($AUTH[$toPolicy]['adsBaseDn'], 1); unset($Dn['count']); + $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn)); + $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount); + $info['displayName'] = array($userCn); + $info['sn'] = array($Name[0]); + $info['givenName'] = array($Name[ count($Name)-1 ]); + $info['unixUserPassword'] = array('ABCD!efgh12345$67890'); + $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount")); + $info['loginShell'] = array('/bin/bash'); + $info['objectClass'] = array($AUTH[$toPolicy]['adsUserObjectClass'], 'user'); + + $policyAccountAttrs = $SET['policyAttrs']; + if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['adsStudyIdAttr'] ] = array($policyAccountAttrs['studyId']); + foreach ($policyAccountAttrs as $attr => $value) + if ($attr != 'studyId' && isset($accountAttrToADS[$attr])) + $info[ $accountAttrToADS[$attr] ] = array($value); + + if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container']; + else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['adsBaseDn']; + + // user felvétel + $_r1 = @ldap_add($ds,$dn,$info); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Jelszó beállítás + if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount; + + // Engedélyezés + $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */ + $_r1 = @ldap_mod_replace($ds,$dn,$einfo); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Kategória csoportba és egyéb csoportokba rakás + if (isset($SET['category'])) { + if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']); + else $SET['groups'] = array($SET['category']); + + $ginfo['member'] = $dn; + + for ($i = 0; $i < count($SET['groups']); $i++) { + $groupDn = ADSgroupCnToDn($SET['groups'][$i], $toPolicy); + if ($groupDn !== false) { + $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo); + if (!$_r3) { + $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds); + //echo $SET['groups'][$i].'
'; var_dump($ginfo); echo '
'; + } + } + } + } + + ldap_close($ds); + + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['createAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n"); + fclose($sfp); + } + } + $_SESSION['alert'][] = 'info:create_uid_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ads/session/createGroup.php b/mayor-orig/www/include/backend/ads/session/createGroup.php new file mode 100644 index 00000000..0a0a8c1d --- /dev/null +++ b/mayor-orig/www/include/backend/ads/session/createGroup.php @@ -0,0 +1,82 @@ + ads backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ads') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // cn ütközés ellenőrzése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(cn=$groupCn))"; + $justthese = array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + $ginfo = ldap_get_entries($ds, $sr); + $gCount = $ginfo['count']; + ldap_free_result($sr); + if ($gCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; + return false; + } + + // Az következő gidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsGroupObjectClass'].")(gidNumber=*))"; + $justthese = array('gidNumber', 'msSFU30GidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['adsBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'gidNumber'); + $ginfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1); + else $info['gidNumber'] = array(1001); + + // A szokásos attribútumok + $info['sAMAccountName'] = $info['cn'] = array($groupCn); + $info['description'] = array($groupDesc); + + // A kategória függő attribútumok + if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container']; + else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['adsBaseDn']; + + // objectum osztályok + $info['objectClass'] = array($AUTH[$toPolicy]['adsGroupObjectClass']); + + // csoport felvétel + $_r1 = ldap_add($ds,$dn,$info); + if (!$_r1) { + printf("ADS-Error: %s
\n", ldap_error($ds)); + var_dump($info); + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:create_group_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ads/session/search/searchAccount.php b/mayor-orig/www/include/backend/ads/session/search/searchAccount.php new file mode 100644 index 00000000..01298382 --- /dev/null +++ b/mayor-orig/www/include/backend/ads/session/search/searchAccount.php @@ -0,0 +1,277 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (isset($result[$i][ kisbetus($accountAttrToADS[$a]) ])) { + if ($accountAttrToADS[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToADS[$a]) ]; + else $return[$i][$a] = $result[$i][$a]; + } else { + $return[$i][$a] = array('count' => 0) ; + } + } + $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy); + $return[$i]['category']['count'] = count($return[$i]['category']); + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# adsSearchGroup - csoport kereső függvény +###################################################### + + function adsSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) { + + global $groupAttrToADS; + + // A keresendő attribútum konvertálása ADS attribútummá + if ($groupAttrToADS[ $attr ] != '') $attrADS = $groupAttrToADS[ $attr ]; + else $attrADS = $attr; + if ($attrADS == 'dn') $attrADS = 'cn'; // dn-re nem megy a keresés!! + + // A lekérendő adtibútumok konvertálása ADS attribútummá + for ($i = 0; $i < count($searchAttrs); $i++) { + if ($groupAttrToADS[ $searchAttrs[$i] ] != '') $searchAttrsADS[$i] = $groupAttrToADS[ $searchAttrs[$i] ]; + else $searchAttrsADS[$i] = $searchAttrs[$i]; + } + + $result = ADSSearch($attrADS, $pattern, $searchAttrsADS, '(objectclass=group)', $toPolicy); + if ($result === false) { + return false; + } else { + + // ADS schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (!isset($groupAttrToADS[$a]) || $groupAttrToADS[$a] != '') { + if (isset($result[$i][ $groupAttrToADS[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToADS[$a] ]; + else $return[$i][$a] = ''; + } else { + $return[$i][$a] = $result[$i][$a]; + } + } + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# adsDeleteAccount - account törlése +###################################################### + + function adsDeleteAccount($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ads backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ads') { + $_SESSION['alert'][] = 'page:wrong_backend:ads!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $userDn = ADSuserAccountToDn($userAccount, $toPolicy); + if ($userDn === false) return false; + + // Kapcsolódás az ADS szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + // Az uidNumber, a unixHomeDirectory lekerdezése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['adsUserObjectClass'].")(!(objectclass=computer)))"; + $justthese = array('uidNumber','unixHomedirectory'); + $sr = @ldap_search($ds,$userDn,$filter,$justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn; + ldap_close($ds); + return false; + } ; + + $info = @ldap_get_entries($ds,$sr); + $uidNumber = $info[0]['uidnumber'][0]; + $homeDirectory = $info[0]['unixhomedirectory'][0]; + $uid=$userAccount; + + // user törlése + if (!@ldap_delete($ds,$userDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount; + } + + ldap_close($ds); + + /* + Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait. + A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter + lista: userAccount, uidNumber, homeDirectory + */ + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['deleteAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n"); + fclose($sfp); + } + } + + $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + return true; + + } + +###################################################### +# adsDeleteGroup - account törlése +###################################################### + + function adsDeleteGroup($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ads backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ads') { + $_SESSION['alert'][] = 'page:wrong_backend:ads!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $groupDn = ADSgroupCnToDn($groupCn, $toPolicy); + if ($groupDn === false) return false; + + // Kapcsolódás az ADS szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['adsHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, BACKEND_CONNECT_DN,BACKEND_CONNECT_PASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + if (!@ldap_delete($ds, $groupDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn; + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn; + return true; + + } + + +?> diff --git a/mayor-orig/www/include/backend/file/auth/login.php b/mayor-orig/www/include/backend/file/auth/login.php new file mode 100644 index 00000000..bc77f9f7 --- /dev/null +++ b/mayor-orig/www/include/backend/file/auth/login.php @@ -0,0 +1,121 @@ + diff --git a/mayor-orig/www/include/backend/file/session/base.php b/mayor-orig/www/include/backend/file/session/base.php new file mode 100644 index 00000000..4902e9c8 --- /dev/null +++ b/mayor-orig/www/include/backend/file/session/base.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/include/backend/ldap-ng/auth/login.php b/mayor-orig/www/include/backend/ldap-ng/auth/login.php new file mode 100644 index 00000000..3eb9854e --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/auth/login.php @@ -0,0 +1,163 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid"; + ldap_close($ds); + return _AUTH_FAILURE_2; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + + + $accountInformation['cn'] = $info[0][ $AUTH[$toPolicy]['ldapCnAttr'] ][0]; + $accountInformation['studyId'] = $info[0][ $AUTH[$toPolicy]['ldapStudyIdAttr'] ][0]; + + $accountInformation['dn'] = $info[0]['dn']; + $accountInformation['account'] = $userAccount; + // Lejárt-e + // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik + if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk +// if ($info[0]['shadowlastchange'][0] != '') +// $info[0]['shadowlastchange'][0] = min(pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]), $info[0]['shadowlastchange'][0]); +// else + $info[0]['shadowlastchange'][0] = pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]); + } + if ($info[0]['accountexpires'][0] != '') { // Az accountExpires és a shadowExpire közül a kisebbiket használjuk +// if ($info[0]['shadowexpire'][0] != '') +// $info[0]['shadowexpire'][0] = min(pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]), $info[0]['shadowexpire'][0]); +// else + $info[0]['shadowexpire'][0] = pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]); + } + if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0]; + if ( + $info[0]['shadowmax'][0] != '' && + ( + !isset($expireTimestamp) || + $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0] + ) + ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]; + // lejárt, ha lejárat ideje már elmúlt + $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24)))); + + // Le van-e tiltva + // Ha több mint shadowInactive napja lejárt + if ( // onDisabled: none | refuse + $AUTH[$toPolicy]['onDisabled'] == 'refuse' && + isset($expireTimestamp) && + $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24)) + ) { + // Le van tiltva + $_SESSION['alert'][] = 'message:account_disabled'; + ldap_close($ds); + return _AUTH_FAILURE_4; + } // onDisabled + + // Jelszó ellenőrzés - lehet-e csatlakozni + if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) { + $_SESSION['alert'][] = 'message:bad_pw'; + return _AUTH_FAILURE_3; + } + + ldap_close($ds); + // Lejárt-e az azonosító + if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update + // Lejárt-e + $pwLejar = $expireTimestamp - floor(time()/(60*60*24)); + if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) { + $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar; + return _AUTH_SUCCESS; + } elseif ($pwLejar <= 0) { + $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar); + if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar); + if ($AUTH[$toPolicy]['onExpired'] == 'warning') { + return _AUTH_SUCCESS; + } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') { + return _AUTH_EXPIRED; + } else { + return _AUTH_FAILURE; + } + } + } // onExpired + // Ha idáig eljut, akkor minden rendben. + return _AUTH_SUCCESS; + + } // count == 1 + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap-ng/base/attrs.php b/mayor-orig/www/include/backend/ldap-ng/base/attrs.php new file mode 100644 index 00000000..2a2f327a --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/base/attrs.php @@ -0,0 +1,146 @@ + 'sAMAccountName', + 'userCn' => 'displayName', + 'mail' => 'mail', + 'studyId' => 'serialNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns + 'shadowLastChange' => 'shadowLastChange', + 'shadowWarning' => 'shadowWarning', + 'shadowMin' => 'shadowMin', + 'shadowMax' => 'shadowMax', + 'shadowExpire' => 'shadowExpire', + 'shadowInactive' => 'shadowInactive', + ); + + global $groupAttrToLDAP; + $groupAttrToLDAP = array( + 'groupCn' => 'cn', + 'groupDesc' => 'description', + 'member' => 'member', + ); + + global $ldapAccountAttrDef; + $ldapAccountAttrDef = array( + 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'), + 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'rrr'), + 'sn' => array('desc' => _LDAPSN, 'type' => 'text', 'rights' => 'wrr'), + 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'), + 'serialnumber' => array('desc' => _LDAPSERIALNUMBER, 'type' => 'int', 'rights' => 'wrr'), + 'displayname' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'), + 'name' => array('desc' => _LDAPNAME, 'type' => 'text', 'rights' => 'r--'), + 'padpwdcount' => array('desc' => _LDAPBADPWDCOUNT, 'type' => 'int', 'rights' => 'wrr'), + 'badpasswordtime' => array('desc' => _LDAPBADPASSWORDTIME, 'type' => 'int', 'rights' => 'r--'), + 'lastlogon' => array('desc' => _LDAPLASTLOGON, 'type' => 'int', 'rights' => 'r--'), + 'pwdlastset' => array('desc' => _LDAPPWDLASTSET, 'type' => 'int', 'rights' => 'r--'), + 'accountexpires' => array('desc' => _LDAPACCOUNTEXPIRES, 'type' => 'int', 'rights' => 'wrr'), + 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text', 'rights' => 'wrr'), + 'useraccountcontrol' => array('desc' => _USERACCOUNTCONTROL, 'type' => 'text', 'rights' => 'wrr'), + 'userprincipalname' => array('desc' => _LDAPUSERPRINCIPALNAME, 'type' => 'text', 'rights' => 'wrr'), + 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text', 'rights' => 'r--'), + 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'), + 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'mssfu30name' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'r--'), + 'unixhomedirectory' => array('desc' => _LDAPUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'), + 'loginshell' => array('desc' => _LDAPLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'), + 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'), + 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'), +/* + 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'), + 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'), + 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'), + 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'), + 'l' => array('desc' => _LDAPL, 'type' => 'text'), + 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'), + 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'), + 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'), +*/ + ); + + global $ldapGroupAttrDef; + $ldapGroupAttrDef = array( + 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'rrr'), + 'name' => array('desc' => _LDAPNAME, 'type' => 'text','rights' => 'rrr'), + 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'), + 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'), + 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'), + + 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'), + ); + +?> diff --git a/mayor-orig/www/include/backend/ldap-ng/password/changePassword.php b/mayor-orig/www/include/backend/ldap-ng/password/changePassword.php new file mode 100644 index 00000000..aa4cd91d --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/password/changePassword.php @@ -0,0 +1,161 @@ + diff --git a/mayor-orig/www/include/backend/ldap-ng/session/accountInfo.php b/mayor-orig/www/include/backend/ldap-ng/session/accountInfo.php new file mode 100644 index 00000000..d3733ba2 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/session/accountInfo.php @@ -0,0 +1,401 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + } + return $return[0]; + + } + + } + +############################################################# +# ldapGetUserInfo - felhasználói információk (keretrendszer) +############################################################# + + function ldapGetUserInfo($userAccount, $toPolicy = _POLICY) { + + global $accountAttrToLDAP, $ldapAttrDef; + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy); + if ($result === false) { + return false; + } else { + + $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']); + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + LDAP --> MaYoR schema + foreach ($accountAttrToLDAP as $attr => $ldapAttr) { + $ldapAttr = kisbetus($ldapAttr); + if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr]; + else $return[$attr] = array('count' => 0); + } + return $return; + + } + + } + +############################################################### +# ldapChangeAccountInfo - felhasználói információk módosítása +############################################################### + + function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr]; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$userDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$userDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i]; + + } + +########################################################### +# ldapGetGroupInfo - csoport információk (backend) +########################################################### + + function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY) { + + global $backendAttrs, $backendAttrDef; + + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy); + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy); + if ($result === false) { + return false; + } else { + + // Accountok lekérdezése + $info = getLDAPaccounts($toPolicy); + for ($i = 0; $i < $info['count']; $i++) { + $accountUid[] = array( + 'value' => $info[$i]['uid'][0], + 'txt' => $info[$i]['displayname'][0] + ); + $accountDn[] = array( + 'value' => $info[$i]['dn'], + 'txt' => $info[$i]['displayname'][0] + ); + } + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + $return[$i]['member']['new'] = $accountDn; + $return[$i]['memberuid']['new'] = $accountUid; + } + + return $return[0]; + + } + + } + +############################################################### +# ldapChangeGroupInfo - csoport információk módosítása +############################################################### + + function ldapChangeGroupInfo($groupCn, $toPolicy = _POLICY) { + +// !!!! A memberuid / member szinkronjára nem figyel!! + + global $AUTH, $backendAttrs, $backendAttrDef; + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '') + if (isset($_POST[$attr])) $values[0] = $_POST[$attr]; + else $values[0] = ''; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$groupDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$groupDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i=0;$i diff --git a/mayor-orig/www/include/backend/ldap-ng/session/base.php b/mayor-orig/www/include/backend/ldap-ng/session/base.php new file mode 100644 index 00000000..196e431c --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/session/base.php @@ -0,0 +1,184 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid:$userAccount"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + return $info[0]['dn']; + } + + } + + +###################################################### +# A groupCn(cn)-hez tartozó dn lekérdezése +###################################################### + + function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // Kapcsolódás a szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return false; + } + + // Van-e ilyen csoport? + $filter="(&(".$AUTH[$toPolicy]['ldapGroupCnAttr']."=$groupCn)(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass']."))"; + $justthese=array($AUTH[$toPolicy]['ldapGroupCnAttr']); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure"; + ldap_close($ds); + return false; + } + $info=ldap_get_entries($ds,$sr); + ldap_close($ds); + + if ( $info['count'] === 0 ) { + // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó... + if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn"; + return false; + } elseif ( $info['count'] > 1 ) { + // Több ilyen cn is van + $_SESSION['alert'][] = "message:multi_gid:$groupCn"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen csoport + return $info[0]['dn']; + } + + } + +###################################################### +# memberOf - csoport tag-e +###################################################### + + function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY) { + + global $AUTH; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + /* Kis hack: csoport-tagság helyett vizsgáljuk előbb a megfelelő szervezeti egységet... de ezt nem biztos, hogy érdemes... */ + if (in_array($group, $AUTH[$toPolicy]['categories'])) { + if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true; + } + + if (substr($group,0,3) != 'cn=') { + $groupDn = LDAPgroupCnToDn(ekezettelen($group)); + if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában + } else { + $groupDn = $group; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $justthese = array('cn'); // valamit le kell kérdezni... + $filter = "(&(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(member=$userDn))"; + $sr = @ldap_search($ds, $groupDn, $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$filter; + ldap_close($ds); + return false; + } + + $info = ldap_get_entries($ds, $sr); + ldap_close($ds); + + if ($info['count'] > 0) { + return true; + } else { + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap-ng/session/createAccount.php b/mayor-orig/www/include/backend/ldap-ng/session/createAccount.php new file mode 100644 index 00000000..db62a348 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/session/createAccount.php @@ -0,0 +1,157 @@ + a konténer elem - ha nincs, akkor CN=Users alá rakja + category => tanár, diák... egy kiemelt fontosságú csoport tagság + groups => egyéb csoportok + policyAttrs => policy függő attribútumok + ) + */ + function ldapCreateAccount( + $userCn, $userAccount, $userPassword, $toPolicy, $SET + ) { + + global $AUTH; + + $shadowLastChange = floor(time() / (60*60*24)); + + // $toPolicy --> ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // uid ütközés ellenőrzése + $filter = "(sAMAccountName=$userAccount)"; + $justthese = array('sAMAccountName'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + $uinfo = ldap_get_entries($ds, $sr); + $uidCount = $uinfo['count']; + ldap_free_result($sr); + if ($uidCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount; + return false; + } + + // Az következő uidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(uidNumber=*))"; + $justthese = array('uidNumber', 'msSFU30UidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'uidNumber'); + $uinfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1); + else $info['uidNumber'] = array(1001); + + // shadow attributumok... + // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') + $info['shadowLastChange'] = array($shadowLastChange); + if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']); + if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']); + if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']); + if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']); + if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']); + + // A szokásos attribútumok + $Name = explode(' ',$userCn); + $Dn = ldap_explode_dn($AUTH[$toPolicy]['ldapBaseDn'], 1); unset($Dn['count']); + $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn)); + $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount); + $info['displayName'] = array($userCn); + $info['sn'] = array($Name[0]); + $info['givenName'] = array($Name[ count($Name)-1 ]); + $info['unixUserPassword'] = array('ABCD!efgh12345$67890'); + $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount")); + $info['loginShell'] = array('/bin/bash'); + $info['objectClass'] = array($AUTH[$toPolicy]['ldapUserObjectClass'], 'user'); + + $policyAccountAttrs = $SET['policyAttrs']; + if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['ldapStudyIdAttr'] ] = array($policyAccountAttrs['studyId']); + foreach ($policyAccountAttrs as $attr => $value) + if ($attr != 'studyId' && isset($accountAttrToLDAP[$attr])) + $info[ $accountAttrToLDAP[$attr] ] = array($value); + + if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container']; + else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['ldapBaseDn']; + + // user felvétel + $_r1 = @ldap_add($ds,$dn,$info); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Jelszó beállítás + if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount; + + // Engedélyezés + $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */ + $_r1 = @ldap_mod_replace($ds,$dn,$einfo); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Kategória csoportba és egyéb csoportokba rakás + if (isset($SET['category'])) { + if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']); + else $SET['groups'] = array($SET['category']); + + $ginfo['member'] = $dn; + + for ($i = 0; $i < count($SET['groups']); $i++) { + $groupDn = LDAPgroupCnToDn($SET['groups'][$i], $toPolicy); + if ($groupDn !== false) { + $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo); + if (!$_r3) { + $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds); + //echo $SET['groups'][$i].'
'; var_dump($ginfo); echo '
'; + } + } + } + } + + ldap_close($ds); + + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['createAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n"); + fclose($sfp); + } + } + $_SESSION['alert'][] = 'info:create_uid_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap-ng/session/createGroup.php b/mayor-orig/www/include/backend/ldap-ng/session/createGroup.php new file mode 100644 index 00000000..59c77c92 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/session/createGroup.php @@ -0,0 +1,82 @@ + ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // cn ütközés ellenőrzése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(cn=$groupCn))"; + $justthese = array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + $ginfo = ldap_get_entries($ds, $sr); + $gCount = $ginfo['count']; + ldap_free_result($sr); + if ($gCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; + return false; + } + + // Az következő gidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(gidNumber=*))"; + $justthese = array('gidNumber', 'msSFU30GidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'gidNumber'); + $ginfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1); + else $info['gidNumber'] = array(1001); + + // A szokásos attribútumok + $info['sAMAccountName'] = $info['cn'] = array($groupCn); + $info['description'] = array($groupDesc); + + // A kategória függő attribútumok + if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container']; + else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['ldapBaseDn']; + + // objectum osztályok + $info['objectClass'] = array($AUTH[$toPolicy]['ldapGroupObjectClass']); + + // csoport felvétel + $_r1 = ldap_add($ds,$dn,$info); + if (!$_r1) { + printf("LDAP-Error: %s
\n", ldap_error($ds)); + var_dump($info); + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:create_group_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap-ng/session/search/searchAccount.php b/mayor-orig/www/include/backend/ldap-ng/session/search/searchAccount.php new file mode 100644 index 00000000..70be6ed5 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap-ng/session/search/searchAccount.php @@ -0,0 +1,271 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (isset($result[$i][ kisbetus($accountAttrToLDAP[$a]) ])) { + if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToLDAP[$a]) ]; + else $return[$i][$a] = $result[$i][$a]; + } else { + $return[$i][$a] = array('count' => 0) ; + } + } + $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy); + $return[$i]['category']['count'] = count($return[$i]['category']); + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapSearchGroup - csoport kereső függvény +###################################################### + + function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) { + + global $groupAttrToLDAP; + + // A keresendő attribútum konvertálása LDAP attribútummá + if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ]; + else $attrLDAP = $attr; + if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!! + + // A lekérendő adtibútumok konvertálása LDAP attribútummá + for ($i = 0; $i < count($searchAttrs); $i++) { + if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ]; + else $searchAttrsLDAP[$i] = $searchAttrs[$i]; + } + + $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass=group)', $toPolicy); + if ($result === false) { + return false; + } else { + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') { + if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ]; + else $return[$i][$a] = ''; + } else { + $return[$i][$a] = $result[$i][$a]; + } + } + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapDeleteAccount - account törlése +###################################################### + + function ldapDeleteAccount($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ldap-ng backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') { + $_SESSION['alert'][] = 'page:wrong_backend:ldap-ng!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + if ($userDn === false) return false; + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + // Az uidNumber, a unixHomeDirectory lekerdezése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(!(objectclass=computer)))"; + $justthese = array('uidNumber','unixHomedirectory'); + $sr = @ldap_search($ds,$userDn,$filter,$justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn; + ldap_close($ds); + return false; + } ; + + $info = @ldap_get_entries($ds,$sr); + $uidNumber = $info[0]['uidnumber'][0]; + $homeDirectory = $info[0]['unixhomedirectory'][0]; + $uid=$userAccount; + + // user törlése + if (!@ldap_delete($ds,$userDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount; + } + + ldap_close($ds); + + /* + Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait. + A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter + lista: userAccount, uidNumber, homeDirectory + */ + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['deleteAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n"); + fclose($sfp); + } + } + + $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + return true; + + } + +###################################################### +# ldapDeleteGroup - account törlése +###################################################### + + function ldapDeleteGroup($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ldap-ng backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldap-ng') { + $_SESSION['alert'][] = 'page:wrong_backend:ldap-ng!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + if ($groupDn === false) return false; + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + if (!@ldap_delete($ds, $groupDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn; + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn; + return true; + + } + + +?> diff --git a/mayor-orig/www/include/backend/ldap/auth/login.php b/mayor-orig/www/include/backend/ldap/auth/login.php new file mode 100644 index 00000000..2165371d --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/auth/login.php @@ -0,0 +1,144 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid"; + ldap_close($ds); + return _AUTH_FAILURE_2; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + + $accountInformation['cn'] = $info[0]['cn'][0]; + $accountInformation['studyId'] = $info[0]['studyid'][0]; + $accountInformation['dn'] = $info[0]['dn']; + $accountInformation['account'] = $userAccount; + // Lejárt-e + // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik + if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0]; + if ( + $info[0]['shadowmax'][0] != '' && + ( + !isset($expireTimestamp) || + $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0] + ) + ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]; + // lejárt, ha lejárat ideje már elmúlt + $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24)))); + + // Le van-e tiltva + // Ha több mint shadowInactive napja lejárt + if ( // onDisabled: none | refuse + $AUTH[$toPolicy]['onDisabled'] == 'refuse' && + isset($expireTimestamp) && + $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24)) + ) { + // Le van tiltva + $_SESSION['alert'][] = 'message:account_disabled'; + ldap_close($ds); + return _AUTH_FAILURE_4; + } // onDisabled + + // Jelszó ellenőrzés - lehet-e csatlakozni + if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) { + $_SESSION['alert'][] = 'message:bad_pw'; + return _AUTH_FAILURE_3; + } + + ldap_close($ds); + // Lejárt-e az azonosító + if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update + // Lejárt-e + $pwLejar = $expireTimestamp - floor(time()/(60*60*24)); + if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) { + $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar; + return _AUTH_SUCCESS; + } elseif ($pwLejar <= 0) { + $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar); + if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') + $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar); + if ($AUTH[$toPolicy]['onExpired'] == 'warning') { + return _AUTH_SUCCESS; + } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') { + return _AUTH_EXPIRED; + } + } + } // onExpired + + // Ha idáig eljut, akkor minden rendben. + return _AUTH_SUCCESS; + + } // count == 1 + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap/base/attrs.php b/mayor-orig/www/include/backend/ldap/base/attrs.php new file mode 100644 index 00000000..bf86d0d2 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/base/attrs.php @@ -0,0 +1,120 @@ + 'uid', + 'userCn' => 'cn', + 'mail' => 'mail', + 'studyId' => 'studyId', + 'shadowLastChange' => 'shadowLastChange', + 'shadowWarning' => 'shadowWarning', + 'shadowMin' => 'shadowMin', + 'shadowMax' => 'shadowMax', + 'shadowExpire' => 'shadowExpire', + 'shadowInactive' => 'shadowInactive', + ); + + global $groupAttrToLDAP; + $groupAttrToLDAP = array( + 'groupCn' => 'cn', + 'groupDesc' => 'description', + 'member' => 'member' + ); + + global $ldapAccountAttrDef; + $ldapAccountAttrDef = array( + 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'), + 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'), + 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'), + 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'), + 'studyid' => array('desc' => _LDAPSTUDYID, 'type' => 'int', 'rights' => 'wrr'), + 'sn' => array('desc' => _LDAPSN, 'type' => 'text'), + 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'), + 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'), + 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'), + 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'), + 'l' => array('desc' => _LDAPL, 'type' => 'text'), + 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'), + 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'), + 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'), + 'homedirectory' => array('desc' => _LDAPHOMEDIRECTORY, 'type' => 'text'), + 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text'), + 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text'), + 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text'), + 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text'), + 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text'), + 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text'), + ); + + global $ldapGroupAttrDef; + $ldapGroupAttrDef = array( + 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'), + 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'), + 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'), + ); + +?> diff --git a/mayor-orig/www/include/backend/ldap/base/attrs.php.orig b/mayor-orig/www/include/backend/ldap/base/attrs.php.orig new file mode 100644 index 00000000..658dfa1c --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/base/attrs.php.orig @@ -0,0 +1,175 @@ + 'uid', + 'userCn' => 'cn', + 'mail' => 'mail', + 'studyId' => 'studyId', + 'shadowLastChange' => 'shadowLastChange', + 'shadowWarning' => 'shadowWarning', + 'shadowMin' => 'shadowMin', + 'shadowMax' => 'shadowMax', + 'shadowExpire' => 'shadowExpire', + 'shadowInactive' => 'shadowInactive', + ); + + global $groupAttrToLDAP; + $groupAttrToLDAP = array( + 'groupId' => 'cn', + 'groupName' => 'description', +// 'leader' => 'leader', + 'owner' => 'owner', + 'member' => 'member' + ); + + global $ldapAccountAttrDef; + $ldapAccountAttrDef = array( + 'dn' => array('desc' => _LDAPDN, 'type' => 'text','rights' => 'rrr'), + 'uid' => array('desc' => _LDAPUID, 'type' => 'text','rights' => 'rrr'), + 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text','rights' => 'w--'), + 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'), + 'sn' => array('desc' => _LDAPSN, 'type' => 'text'), + 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'), + 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text','rights' => 'wwr'), + 'homepage' => array('desc' => _LDAPHOMEPAGE, 'type' => 'text','rights' => 'wwr'), + 'url' => array('desc' => _LDAPURL, 'type' => 'text'), + 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text','rights' => 'ww-'), + 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text','rights' => 'ww-'), + 'year' => array('desc' => _LDAPYEAR, 'type' => 'int'), + 'class' => array('desc' => _LDAPCLASS, 'type' => 'text'), + 'l' => array('desc' => _LDAPL, 'type' => 'text'), + 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'), + 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'), + 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'), + 'homedirectory' => array('desc' => _LDAPHOMEDIRECTORY, 'type' => 'text'), + 'roomnumber' => array('desc' => _LDAPROOMNUMBER, 'type' => 'int'), + 'registertimestamp' => array('desc' => _LDAPREGISTERTIMESTAMP, 'type' => 'timestamp'), + 'primaryschoolomcode' => array('desc' => _LDAPPRIMARYSCHOOLOMCODE, 'type' => 'text'), + 'classtimestamp' => array('desc' => _LDAPCLASSTIMESTAMP, 'type' => 'timestamp'), + 'studentcardnumber' => array('desc' => _LDAPSTUDENTCARDNUMBER, 'type' => 'text'), + 'studentcardtimestamp' => array('desc' => _LDAPSTUDENTCARDTIMESTAMP, 'type' => 'timestamp'), + 'taxid' => array('desc' => _LDAPTAXID, 'type' => 'text'), + 'birthtimestamp' => array('desc' => _LDAPBIRTHTIMESTAMP, 'type' => 'timestamp'), + 'birthlocality' => array('desc' => _LDAPBIRTHLOCALITY, 'type' => 'text'), + 'registernumber' => array('desc' => _LDAPREGISTERNUMBER, 'type' => 'text'), + 'diarynumber' => array('desc' => _LDAPDIARYNUMBER, 'type' => 'text'), + 'sex' => array('desc' => _LDAPSEX, 'type' => 'radio', 'options' => array(_FIU, _LANY)), + 'guardiancn' => array('desc' => _LDAPGUARDIANCN, 'type' => 'text'), + 'mothercn' => array('desc' => _LDAPMOTHERCN, 'type' => 'text'), + 'localitytimestamp' => array('desc' => _LDAPLOCALITYTIMESTAMP, 'type' => 'timestamp'), + 'tajnumber' => array('desc' => _LDAPTAJNUMBER, 'type' => 'text'), + 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text'), + 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text'), + 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text'), + 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text'), + 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text'), + 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text'), + ); + + global $ldapGroupAttrDef; + $ldapGroupAttrDef = array( + 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'wrr'), + 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'), + 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'), + 'owner' => array('desc' => _LDAPOWNER, 'type' => 'select'), +// 'studentmember' => array('desc' => _LDAPSTUDENTMEMBER, 'type' => 'text'), +// 'exemptmember' => array('desc' => _LDAPEXEMPTMEMBER, 'type' => 'text'), +// 'examermember' => array('desc' => _LDAPEXAMERMEMBER, 'type' => 'text'), +// 'leader' => array('desc' => _LDAPLEADER, 'type' => 'text'), + ); + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/backend/ldap/base/str.php b/mayor-orig/www/include/backend/ldap/base/str.php new file mode 100644 index 00000000..2ef3ad1c --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/base/str.php @@ -0,0 +1,53 @@ + diff --git a/mayor-orig/www/include/backend/ldap/password/changePassword.php b/mayor-orig/www/include/backend/ldap/password/changePassword.php new file mode 100644 index 00000000..22ace5ca --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/password/changePassword.php @@ -0,0 +1,102 @@ + diff --git a/mayor-orig/www/include/backend/ldap/session/accountInfo.php b/mayor-orig/www/include/backend/ldap/session/accountInfo.php new file mode 100644 index 00000000..24f5234b --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/session/accountInfo.php @@ -0,0 +1,401 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + } + + return $return[0]; + + } + + } + +############################################################# +# ldapGetUserInfo - felhasználói információk (keretrendszer) +############################################################# + + function ldapGetUserInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $accountAttrToLDAP, $ldapAttrDef; + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy); + if ($result === false) { + return false; + } else { + + $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']); + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($accountAttrToLDAP as $attr => $ldapAttr) { + if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr]; + else $return[$attr] = array('count' => 0); + } + + return $return; + + } + + } + +############################################################### +# ldapChangeAccountInfo - felhasználói információk módosítása +############################################################### + + function ldapChangeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr]; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + } + + $_alert = array(); + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$userDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@ldap_mod_replace($ds,$userDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$userDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i]; + + } + +########################################################### +# ldapGetGroupInfo - csoport információk (backend) +########################################################### + + function ldapGetGroupInfo($groupCn, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy); + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy); + if ($result === false) { + return false; + } else { + + // Accountok lekérdezése + $info = getLDAPaccounts($toPolicy); + for ($i = 0; $i < $info['count']; $i++) { + $accountUid[] = array( + 'value' => $info[$i]['uid'][0], + 'txt' => $info[$i]['cn'][0] + ); + $accountDn[] = array( + 'value' => $info[$i]['dn'], + 'txt' => $info[$i]['cn'][0] + ); + } + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + $return[$i]['member']['new'] = $accountDn; + $return[$i]['memberuid']['new'] = $accountUid; + } + + return $return[0]; + + } + + } + +############################################################### +# ldapChangeGroupInfo - csoport információk módosítása +############################################################### + + function ldapChangeGroupInfo($groupCn, $toPolicy = _POLICY) { + +// !!!! A memberuid / member szinkronjára nem figyel!! + + global $AUTH, $backendAttrs, $backendAttrDef; + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '') + if (isset($_POST[$attr])) $values[0] = $_POST[$attr]; + else $values[0] = ''; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + } + + $_alert = array(); + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$groupDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$groupDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i=0;$i diff --git a/mayor-orig/www/include/backend/ldap/session/base.php b/mayor-orig/www/include/backend/ldap/session/base.php new file mode 100644 index 00000000..b8529cc2 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/session/base.php @@ -0,0 +1,255 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid:$userAccount"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + return $info[0]['dn']; + } + + } + + +###################################################### +# A groupCn(cn)-hez tartozó dn lekérdezése +###################################################### + + function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // Kapcsolódás a szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return false; + } + + // Van-e adott azonosítójú felhasználó? + $filter="(&(cn=$groupCn)(objectClass=posixGroup))"; + $justthese=array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure"; + ldap_close($ds); + return false; + } + $info=ldap_get_entries($ds,$sr); + ldap_close($ds); + + if ( $info['count'] === 0 ) { + // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó... + if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn"; + return false; + } elseif ( $info['count'] > 1 ) { + // Több ilyen cn is van + $_SESSION['alert'][] = "message:multi_gid:$groupCn"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen csoport + return $info[0]['dn']; + } + + } + + + +###################################################### +# memberOf - csoport tag-e +###################################################### + + function ldapMemberOf($userAccount, $group, $toPolicy = _POLICY) { + + global $AUTH, $LDAP2Mayor; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + if (in_array($group, $AUTH[$toPolicy]['categories'])) { + if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true; +# Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába... +# else return false; + } + + if (substr($group,0,3) != 'cn=') { + $groupDn = LDAPgroupCnToDn(ekezettelen($group)); + if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában + } else { + $groupDn = $group; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $justthese = array('cn'); // valamit le kell kérdezni... +/* $filter = "(& (objectClass=mayorGroup) + (member=$userDn) + )"; +*/ + $filter = "(& (objectClass=posixGroup) + (memberUid=$userAccount) + )"; + $sr = @ldap_search($ds, $groupDn, $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$filter; + ldap_close($ds); + return false; + } + + $info = ldap_get_entries($ds, $sr); + ldap_close($ds); + + if ($info['count'] > 0) { + return true; + } else { + return false; + } + + } + +###################################################### +# LDAPcreateContainer - tároló létrehozása +###################################################### + + function LDAPcreateContainer($containerDn, $toPolicy) { + + global $AUTH; + + $pos = strpos($containerDn, ',ou='); + $container = substr($containerDn, 3, $pos-3); + $rdn = substr($containerDn, $pos+1); + $cat = substr($containerDn, 3, strlen($containerDn)-4-strlen($AUTH[$toPolicy]['ldap base dn'])); + + error_reporting(1); + + // Kapcsolódás a szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return false; + } + + // OU létrehozása + $info['ou'][0] = $container; + $info['objectclass'][0] = 'organizationalUnit'; + $info['description'][0] = $container; + + $_r1 = ldap_add($ds, $containerDn, $info); + if (!$_r1) { +// $_SESSION['alert'][] = 'message:ldap_add_failure:'.$containerDn; + return false; +// printf("LDAP-Error: %s
\n", ldap_error($ds)); +// echo '
'; var_dump($info); echo '
'; + } + + // az OU-hoz tartozó csoportok OU-ja + $info['ou'][0] = 'Groups'; + $info['objectclass'][0] = 'organizationalUnit'; + $info['description'][0] = "$container csoportjai"; + + $containerDn = "ou=Groups,$containerDn"; + $_r1 = ldap_add($ds, $containerDn, $info); + if (!$_r1) { + printf("LDAP-Error: %s
\n", ldap_error($ds)); + echo '
'; var_dump($info); echo '
'; + } + + // Az osztály csoport létrehozása + require_once('include/modules/session/createGroup.php'); + createGroup($container, "$container csoport", "$cat", $toPolicy); + + ldap_close($ds); + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap/session/createAccount.php b/mayor-orig/www/include/backend/ldap/session/createAccount.php new file mode 100644 index 00000000..79f40530 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/session/createAccount.php @@ -0,0 +1,204 @@ + ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldap') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $groupinfo = $oinfo = Array(); + + // uid ütközés ellenőrzése + $filter = "(uid=$userAccount)"; + $justthese = array('uid'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + $uinfo = ldap_get_entries($ds, $sr); + $uidCount = $uinfo['count']; + ldap_free_result($sr); + if ($uidCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount; + return false; + } + + // Az következő uidNumber megállapítása + $filter = '(objectClass=mayorOrganization)'; + $justthese = array('nextuid', 'freeuid'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + $uidinfo = ldap_get_entries($ds,$sr); + ldap_free_result($sr); + if (isset($uidinfo[0]['freeuid']['count'])) $freeUidCount = $uidinfo[0]['freeuid']['count']; + else $freeUidCount = 0; + if ($freeUidCount == 0) { + $info['uidnumber'] = array($uidinfo[0]['nextuid'][0]); + $info['gidnumber'] = $info['uidnumber']; + $oinfo['nextuid'] = $info['uidnumber'][0]+1; + } else { + $info['uidnumber'] = array($uidinfo[0]['freeuid'][$freeUidCount-1]); + $info['gidnumber'] = $info['uidnumber']; + $oinfo['freeuid'] = $uidinfo[0]['freeuid'][$freeUidCount-1]; + } + + // shadow attributumok... + // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') + $info['shadowlastchange'] = $shadowLastChange; + if (isset($AUTH[$toPolicy]['shadowmin']) && $AUTH[$toPolicy]['shadowmin'] != '') $info['shadowmin'] = $AUTH[$toPolicy]['shadowmin']; + if (isset($AUTH[$toPolicy]['shadowmax']) && $AUTH[$toPolicy]['shadowmax'] != '') $info['shadowmax'] = $AUTH[$toPolicy]['shadowmax']; + if (isset($AUTH[$toPolicy]['shadowwarning']) && $AUTH[$toPolicy]['shadowwarning'] != '') $info['shadowwarning'] = $AUTH[$toPolicy]['shadowwarning']; + if (isset($AUTH[$toPolicy]['shadowinactive']) && $AUTH[$toPolicy]['shadowinactive'] != '') $info['shadowinactive'] = $AUTH[$toPolicy]['shadowinactive']; + if (isset($AUTH[$toPolicy]['shadowexpire']) && $AUTH[$toPolicy]['shadowexpire'] != '') $info['shadowexpire'] = $AUTH[$toPolicy]['shadowexpire']; + + // A szokásos attribútumok + $info['uid'] = array($userAccount); + $info['cn'] = array($userCn); + $info['sn'] = array('-'); + $info['userpassword'] = array('{crypt}' . crypt($userPassword)); + if (is_array($SET['policyAttrs'])) foreach ($SET['policyAttrs'] as $attr => $value) $info[kisbetus($attr)] = $value; + if (($pos = strpos($category,',')) !== false) + $info['homedirectory'] = "/home/diak/".substr($category,0,$pos)."/$userAccount"; + else + $info['homedirectory'] = "/home/$category/$userAccount"; + + // A kategória függő attribútumok + if (isset($SET['container']) && $SET['container'] != '') { + $dn = "uid=$userAccount,".$SET['container']; + $group = "cn=$userAccount,ou=Groups,".$SET['container']; + $ouDn = $SET['container']; + } else { + $dn = "uid=$userAccount,ou=".$category.','.$AUTH[$toPolicy]['ldap base dn']; + $group = "cn=$userAccount,ou=Groups,ou=".$category.','.$AUTH[$toPolicy]['ldap base dn']; + $ouDn = "ou=".$category.",".$AUTH[$toPolicy]['ldap base dn']; + } + + if ($SET['createContainer']) { // Létrehozza a tároló elemet, benne az OU=Groups tárolót, benne a megfelelő csoportot + LDAPcreateContainer($ouDn, $toPolicy); + } + // objectum osztályok + // a mayorPerson a posixAccount és shadowAccount leszármazottja, + // de kell egy structural object is - ez a person - aminek kötelező paramétere az sn! + $info['objectclass'] = array('person', 'mayorPerson'); + + // user felvétel + $info['homedirectory'] = ekezettelen($info['homedirectory']); // Nem lehet ékezetes :o( + + $_r1 = ldap_add($ds,$dn,$info); + if (!$_r1) { + printf("LDAP-Error: %s
\n", ldap_error($ds)); + echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // user csoportja + $groupinfo['cn'] = $userAccount; + $groupinfo['gidnumber'] = $info['uidnumber']; + $groupinfo['memberuid'] = ekezettelen($userAccount); // Nem lehet ékezetes :o( + $groupinfo['description'] = 'A felhasználó saját csoportja'; + $groupinfo['objectclass'] = 'posixGroup'; + $_r2 = ldap_add($ds, $group, $groupinfo); + if (!$_r2) { + printf("LDAP-Error (userGroup): %s
\n", ldap_error($ds)); + echo $group.'
'; var_dump($groupinfo); echo '
'; + return false; + } + + // Kategória csoportba rakás vagy tanár csoportba rakás ugye... + // És nincs diák csoport! + $ginfo['memberuid'] = ekezettelen($userAccount); // Nem lehet ékezetes :o( + $ginfo['member'] = $dn; + + // Kategória csoportba és egyéb csoportokba rakás + if (isset($SET['category'])) { + if (is_array($SET['groups'])) array_unshift($SET['groups'], $category); + else $SET['groups'] = array($category); + + for ($i = 0; $i < count($SET['groups']); $i++) { + + $filter = "(&(objectClass=mayorGroup)(cn=".$SET['groups'][$i]."))"; + $justthese = array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + if (ldap_count_entries($ds, $sr)) { + $grpInfo = ldap_get_entries($ds, $sr); + $groupDn = $grpInfo[0]['dn']; + $_r3 = ldap_mod_add($ds, $groupDn, $ginfo); + if (!$_r3) { + printf("LDAP-Error (category): %s
\n", ldap_error($ds)); + echo $groupDn.'
'; var_dump($ginfo); echo '
'; + } + } + + } + + } + + + // nextuid növelés + if ($freeUidCount == 0) { + $_r4 = ldap_mod_replace($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo); + } else { + $_r4 = ldap_mod_del($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo); + } + if (!$_r4) { + printf("LDAP-Error (freeUid): %s
\n", ldap_error($ds)); + return false; + } + + ldap_close($ds); + + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['createAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount l.trehoz.sa\n"); + fwrite($sfp,'/bin/mkdir -p '.$info['homedirectory']."\n"); + fwrite($sfp,'/bin/chmod 2755 '.$info['homedirectory']."\n"); + fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."\n"); + + fwrite($sfp,'/bin/mkdir '.$info['homedirectory']."/private\n"); + fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."/private\n"); + fwrite($sfp,'/bin/chmod 0770 '.$info['homedirectory']."/private\n"); + + fwrite($sfp,'/bin/mkdir '.$info['homedirectory']."/public_html\n"); + fwrite($sfp,"/bin/chown $userAccount.$userAccount ".$info['homedirectory']."/public_html\n"); + fwrite($sfp,'/bin/chmod 0755 '.$info['homedirectory']."/public_html\n"); + + fwrite($sfp,'/bin/ln -s '.$info['homedirectory']." /home\n"); +// chmod($scriptFile,0770); + fclose($sfp); + } + } + $_SESSION['alert'][] = 'info:create_uid_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap/session/createGroup.php b/mayor-orig/www/include/backend/ldap/session/createGroup.php new file mode 100644 index 00000000..df2de812 --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/session/createGroup.php @@ -0,0 +1,103 @@ + ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldap') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $groupinfo = $oinfo = Array(); + + // cn ütközés ellenőrzése + $filter = "(&(objectclass=posixgroup)(cn=$groupCn))"; + $justthese = array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + $ginfo = ldap_get_entries($ds, $sr); + $gCount = $ginfo['count']; + ldap_free_result($sr); + if ($gCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; + return false; + } + + // Az következő gidNumber megállapítása + $filter = '(objectClass=mayorOrganization)'; + $justthese = array('nextgid', 'freegid'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'], $filter, $justthese); + $ginfo = ldap_get_entries($ds,$sr); + ldap_free_result($sr); + if (isset($ginfo[0]['freegid']['count'])) $freeGidCount = $ginfo[0]['freegid']['count']; + else $freeGidCount = 0; + if ($freeGidCount == 0) { + $info['gidnumber'] = array($ginfo[0]['nextgid'][0]); + $oinfo['nextgid'] = $info['gidnumber'][0]+1; + } else { + $info['gidnumber'] = array($ginfo[0]['freegid'][$freeGidCount-1]); + $oinfo['freegid'] = $ginfo[0]['freegid'][$freeGidCount-1]; + } + + // A szokásos attribútumok + $info['cn'] = array($groupCn); + $info['description'] = array($groupDesc); + + // A kategória függő attribútumok + if (isset($SET['container'])) $dn = "cn=$groupCn,".$SET['container']; + else $dn = "cn=$groupCn,ou=Groups,ou=$category,".$AUTH[$toPolicy]['ldap base dn']; + + // objectum osztályok + $info['objectclass'] = array('posixGroup', 'mayorGroup'); + + // Policy függő attribútumok - LDAP esetén pl a member kötelező + if (is_array($SET['policyAttrs'])) foreach ($SET['policyAttrs'] as $attr => $value) $info[kisbetus($attr)] = $value; + + // csoport felvétel + $_r1 = ldap_add($ds,$dn,$info); + if (!$_r1) { + printf("LDAP-Error: %s
\n", ldap_error($ds)); + echo $dn.'
'; + var_dump($info); + echo '
'; + var_dump($SET); + } + + // nextuid növelés + if ($freeGidCount == 0) { + $_r4 = ldap_mod_replace($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo); + } else { + $_r4 = ldap_mod_del($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo); + } +// if (!$_r4) { +// printf("LDAP-Error: %s
\n", ldap_error($_r4)); +// } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:create_group_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldap/session/search/searchAccount.php b/mayor-orig/www/include/backend/ldap/session/search/searchAccount.php new file mode 100644 index 00000000..62e19c5f --- /dev/null +++ b/mayor-orig/www/include/backend/ldap/session/search/searchAccount.php @@ -0,0 +1,311 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (isset($result[$i][ $accountAttrToLDAP[$a] ])) { + if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ $accountAttrToLDAP[$a] ]; + else $return[$i][$a] = $result[$i][$a]; + } else { + $return[$i][$a] = array('count' => 0) ; + } + } + $return[$i]['category'] = getAccountCategories($result[$i]['uid'][0], $toPolicy); + $return[$i]['category']['count'] = count($return[$i]['category']); + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapSearchGroup - csoport kereső függvény +###################################################### + + function ldapSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) { + + global $groupAttrToLDAP; + + // A keresendő attribútum konvertálása LDAP attribútummá + if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ]; + else $attrLDAP = $attr; + if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!! + + // A lekérendő adtibútumok konvertálása LDAP attribútummá + for ($i = 0; $i < count($searchAttrs); $i++) { + if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ]; + else $searchAttrsLDAP[$i] = $searchAttrs[$i]; + } + + $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass=posixgroup)', $toPolicy); + if ($result === false) { + return false; + } else { + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') { + if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ]; + else $return[$i][$a] = ''; + } else { + $return[$i][$a] = $result[$i][$a]; + } + } + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapDeleteAccount - account törlése +###################################################### + + function ldapDeleteAccount($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + // $toPolicy --> ldap backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldap') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + // Az uidNumber, a homeDirectory lekerdezése + $filter = "(objectclass=posixAccount)"; + $justthese = array('uidNumber','homedirectory'); + $sr = @ldap_search($ds,$userDn,$filter,$justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn; + ldap_close($ds); + return false; + } ; + + $uidinfo = @ldap_get_entries($ds,$sr); + $uidNumber = $uidinfo[0]['uidnumber'][0]; + if (isset($uidinfo[0]['homedirectory'][0])) $homeDirectory = $uidinfo[0]['homedirectory'][0]; + else $homeDirectory = ''; + $uid=$userAccount; + + // GroupDn, freeuid + $groupDn = "cn=$uid,ou=Groups".strstr($userDn,','); + $oinfo['freeuid'] = $uidNumber; + + // user törlése + if (!@ldap_delete($ds,$userDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount; + } + + // freeuid felvétele + if (!@ldap_mod_add($ds,$AUTH[$toPolicy]['ldap base dn'],$oinfo)) { + $_SESSION['alert'][] = 'message:ldap_modify_failure:freeuid:'.$oinfo['freeuid']; + } + + // csoport törlése + if (!@ldap_delete($ds,$groupDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupDn; + } + + // törlés a csoportból + $filter = "(memberuid=$uid)"; + $justthese = array('cn','objectclass','member'); + $sr = @ldap_search($ds,$AUTH[$toPolicy]['ldap base dn'],$filter,$justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:groups:".$userAccount; + ldap_close($ds); + return false; + } ; + + $groupinfo = ldap_get_entries($ds,$sr); + + for ($i = 0; $i < $groupinfo['count']; $i++) { + $grpinfo = array('memberuid' => $uid); + if (@in_array($userDn,$groupinfo[$i]['member'])) { + $grpinfo['member']=$userDn; + } + if (!@ldap_mod_del($ds,$groupinfo[$i]['dn'],$grpinfo)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:member:'.$groupinfo[$i]['dn']; + } + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + return true; + + } + +###################################################### +# ldapDeleteGroup - account törlése +###################################################### + + function ldapDeleteGroup($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + // $toPolicy --> ldap backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldap') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldap hostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + // Az uidNumber, a homeDirectory lekerdezése + $filter = '(objectclass=posixGroup)'; + $justthese = array('gidNumber'); + $sr = @ldap_search($ds, $groupDn, $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = 'message:ldap_search_failure:'.$userDn; + ldap_close($ds); + return false; + } ; + + $gidinfo = ldap_get_entries($ds, $sr); + $gidNumber = $gidinfo[0]['gidnumber'][0]; + + // freeGid + $oinfo['freegid'] = $gidNumber; + + if (!@ldap_delete($ds, $groupDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn; + } + + // freeuid felvétele + if (!@ldap_mod_add($ds, $AUTH[$toPolicy]['ldap base dn'], $oinfo)) { + $_SESSION['alert'][] = 'message:ldap_modify_failure:freeGid:'.$oinfo['freegid']; + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn; + return true; + + } + + + +?> diff --git a/mayor-orig/www/include/backend/ldapng/auth/login.php b/mayor-orig/www/include/backend/ldapng/auth/login.php new file mode 100644 index 00000000..b24b4b96 --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/auth/login.php @@ -0,0 +1,163 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid"; + ldap_close($ds); + return _AUTH_FAILURE_2; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + + + $accountInformation['cn'] = $info[0][ $AUTH[$toPolicy]['ldapCnAttr'] ][0]; + $accountInformation['studyId'] = $info[0][ $AUTH[$toPolicy]['ldapStudyIdAttr'] ][0]; + + $accountInformation['dn'] = $info[0]['dn']; + $accountInformation['account'] = $userAccount; + // Lejárt-e + // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik + if ($info[0]['pwdlastset'][0] != '') { // A pwdLastSet és shadowLastChange közül a kisebbiket használjuk +// if ($info[0]['shadowlastchange'][0] != '') +// $info[0]['shadowlastchange'][0] = min(pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]), $info[0]['shadowlastchange'][0]); +// else + $info[0]['shadowlastchange'][0] = pwdLastSet2shadowLastChange($info[0]['pwdlastset'][0]); + } + if ($info[0]['accountexpires'][0] != '') { // Az accountExpires és a shadowExpire közül a kisebbiket használjuk +// if ($info[0]['shadowexpire'][0] != '') +// $info[0]['shadowexpire'][0] = min(pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]), $info[0]['shadowexpire'][0]); +// else + $info[0]['shadowexpire'][0] = pwdLastSet2shadowLastChange($info[0]['accountexpires'][0]); + } + if ($info[0]['shadowexpire'][0] != '') $expireTimestamp = $info[0]['shadowexpire'][0]; + if ( + $info[0]['shadowmax'][0] != '' && + ( + !isset($expireTimestamp) || + $expireTimestamp > $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0] + ) + ) $expireTimestamp = $info[0]['shadowlastchange'][0] + $info[0]['shadowmax'][0]; + // lejárt, ha lejárat ideje már elmúlt + $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24)))); + + // Le van-e tiltva + // Ha több mint shadowInactive napja lejárt + if ( // onDisabled: none | refuse + $AUTH[$toPolicy]['onDisabled'] == 'refuse' && + isset($expireTimestamp) && + $expireTimestamp + $info[0]['shadowinactive'][0] <= floor(time()/(60*60*24)) + ) { + // Le van tiltva + $_SESSION['alert'][] = 'message:account_disabled'; + ldap_close($ds); + return _AUTH_FAILURE_4; + } // onDisabled + + // Jelszó ellenőrzés - lehet-e csatlakozni + if (!@ldap_bind($ds, $accountInformation['dn'], $userPassword)) { + $_SESSION['alert'][] = 'message:bad_pw'; + return _AUTH_FAILURE_3; + } + + ldap_close($ds); + // Lejárt-e az azonosító + if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update + // Lejárt-e + $pwLejar = $expireTimestamp - floor(time()/(60*60*24)); + if (0 < $pwLejar && $pwLejar < $info[0]['shadowwarning'][0]) { + $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar; + return _AUTH_SUCCESS; + } elseif ($pwLejar <= 0) { + $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar); + if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') $_SESSION['alert'][] = 'info:warn_account_disable:'.($info[0]['shadowinactive'][0]+$pwLejar); + if ($AUTH[$toPolicy]['onExpired'] == 'warning') { + return _AUTH_SUCCESS; + } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') { + return _AUTH_EXPIRED; + } else { + return _AUTH_FAILURE; + } + } + } // onExpired + // Ha idáig eljut, akkor minden rendben. + return _AUTH_SUCCESS; + + } // count == 1 + + } + +?> diff --git a/mayor-orig/www/include/backend/ldapng/base/attrs.php b/mayor-orig/www/include/backend/ldapng/base/attrs.php new file mode 100644 index 00000000..2ea07778 --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/base/attrs.php @@ -0,0 +1,137 @@ + 'uid', + 'userCn' => 'displayName', + 'mail' => 'mail', + 'studyId' => 'employeeNumber', // Ez konfig-ban külön van állítva, az itteni érték irreleváns + 'shadowLastChange' => 'shadowLastChange', + 'shadowWarning' => 'shadowWarning', + 'shadowMin' => 'shadowMin', + 'shadowMax' => 'shadowMax', + 'shadowExpire' => 'shadowExpire', + 'shadowInactive' => 'shadowInactive', + ); + + global $groupAttrToLDAP; + $groupAttrToLDAP = array( + 'groupCn' => 'cn', + 'groupDesc' => 'description', + 'member' => 'member', + ); + + global $ldapngAccountAttrDef; + $ldapngAccountAttrDef = array( + 'dn' => array('desc' => _LDAPDN, 'type' => 'text', 'rights' => 'rrr'), + 'cn' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'rrr'), + 'sn' => array('desc' => _LDAPSN, 'type' => 'text', 'rights' => 'wrr'), + 'givenname' => array('desc' => _LDAPGIVENNAME, 'type' => 'text'), + 'employeenumber' => array('desc' => _LDAPEMPLOYEENUMBER, 'type' => 'int', 'rights' => 'wrr'), + 'displayname' => array('desc' => _LDAPCN, 'type' => 'text', 'rights' => 'wrr'), + 'name' => array('desc' => _LDAPNAME, 'type' => 'text', 'rights' => 'r--'), + 'uid' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'rrr'), + 'uidnumber' => array('desc' => _LDAPUIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int', 'rights' => 'w--'), + 'mssfu30name' => array('desc' => _LDAPUID, 'type' => 'text', 'rights' => 'r--'), + 'unixhomedirectory' => array('desc' => _LDAPUNIXHOMEDIRECTORY, 'type' => 'text', 'rights' => 'wrr'), + 'loginshell' => array('desc' => _LDAPLOGINSHELL, 'type' => 'text', 'rights' => 'wrr'), + 'shadowlastchange' => array('desc' => _LDAPSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowexpire' => array('desc' => _LDAPSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowwarning' => array('desc' => _LDAPSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmin' => array('desc' => _LDAPSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'), + 'shadowmax' => array('desc' => _LDAPSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'), + 'shadowinactive' => array('desc' => _LDAPSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'), +/* + 'gecos' => array('desc' => _LDAPGECOS, 'type' => 'text', 'rights' => 'w--'), + 'mail' => array('desc' => _LDAPMAIL, 'type' => 'text', 'rights' => 'wwr'), + 'telephonenumber' => array('desc' => _LDAPTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'), + 'mobile' => array('desc' => _LDAPMOBILE, 'type' => 'text', 'rights' => 'ww-'), + 'l' => array('desc' => _LDAPL, 'type' => 'text'), + 'street' => array('desc' => _LDAPSTREET, 'type' => 'text'), + 'postaladdress' => array('desc' => _LDAPPOSTALADDRESS, 'type' => 'text'), + 'postalcode' => array('desc' => _LDAPPOSTALCODE, 'type' => 'text'), +*/ + ); + + global $ldapngGroupAttrDef; + $ldapngGroupAttrDef = array( + 'cn' => array('desc' => _LDAPCN, 'type' => 'text','rights' => 'rrr'), + 'name' => array('desc' => _LDAPNAME, 'type' => 'text','rights' => 'rrr'), + 'samaccountname' => array('desc' => _LDAPSAMACCOUNTNAME, 'type' => 'text','rights' => 'wrr'), + 'description' => array('desc' => _LDAPDESCRIPTION, 'type' => 'text'), + 'gidnumber' => array('desc' => _LDAPGIDNUMBER, 'type' => 'int','rights' => 'w--'), + 'member' => array('desc' => _LDAPMEMBER, 'type' => 'select'), + 'objectcategory' => array('desc' => _LDAPOBJECTCATEGORY, 'type' => 'text','rights' => 'rrr'), + + 'memberuid' => array('desc' => _LDAPMEMBERUID, 'type' => 'select'), + ); + +?> diff --git a/mayor-orig/www/include/backend/ldapng/password/changePassword.php b/mayor-orig/www/include/backend/ldapng/password/changePassword.php new file mode 100644 index 00000000..039dda5d --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/password/changePassword.php @@ -0,0 +1,160 @@ + diff --git a/mayor-orig/www/include/backend/ldapng/session/accountInfo.php b/mayor-orig/www/include/backend/ldapng/session/accountInfo.php new file mode 100644 index 00000000..03761dca --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/session/accountInfo.php @@ -0,0 +1,399 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + } + return $return[0]; + + } + + } + +############################################################# +# ldapGetUserInfo - felhasználói információk (keretrendszer) +############################################################# + + function ldapngGetUserInfo($userAccount, $toPolicy = _POLICY) { + + global $accountAttrToLDAP, $ldapAttrDef; + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + $result = getLDAPInfo($userDn, array_values($accountAttrToLDAP), $toPolicy); + if ($result === false) { + return false; + } else { + + $result[0]['dn'] = array('count' => 1, 0 => $result[0]['dn']); + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + LDAP --> MaYoR schema + foreach ($accountAttrToLDAP as $attr => $ldapAttr) { + $ldapAttr = kisbetus($ldapAttr); + if (isset($result[0][$ldapAttr])) $return[$attr] = $result[0][$ldapAttr]; + else $return[$attr] = array('count' => 0); + } + return $return; + + } + + } + +############################################################### +# ldapChangeAccountInfo - felhasználói információk módosítása +############################################################### + + function ldapngChangeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '' ) $values[0] = $_POST[$attr]; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if ($_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if ($_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$userDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@$r = ldap_mod_replace($ds,$userDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$userDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i = 0;$i < count($_alert);$i++) $_SESSION['alert'][] = $_alert[$i]; + + } + +########################################################### +# ldapGetGroupInfo - csoport információk (backend) +########################################################### + + function ldapngGetGroupInfo($groupCn, $toPolicy = _POLICY) { + + global $backendAttrs, $backendAttrDef; + + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy); + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + $result = getLDAPInfo($groupDn, $backendAttrs, $toPolicy); + if ($result === false) { + return false; + } else { + + // Accountok lekérdezése + $info = getLDAPaccounts($toPolicy); + for ($i = 0; $i < $info['count']; $i++) { + $accountUid[] = array( + 'value' => $info[$i]['uid'][0], + 'txt' => $info[$i]['displayname'][0] + ); + $accountDn[] = array( + 'value' => $info[$i]['dn'], + 'txt' => $info[$i]['displayname'][0] + ); + } + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + foreach ($backendAttrDef as $attr => $def) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + if ($attr == 'dn') $return[$i]['dn'] = array('count' => 1, 0 => $result[$i]['dn']); + elseif (isset($result[$i][$attr])) $return[$i][$attr] = $result[$i][$attr]; + else $return[$i][$attr] = array('count' => 0); + } + $return[$i]['member']['new'] = $accountDn; + $return[$i]['memberuid']['new'] = $accountUid; + } + + return $return[0]; + + } + + } + +############################################################### +# ldapChangeGroupInfo - csoport információk módosítása +############################################################### + + function ldapngChangeGroupInfo($groupCn, $toPolicy = _POLICY) { + +// !!!! A memberuid / member szinkronjára nem figyel!! + + global $AUTH, $backendAttrs, $backendAttrDef; + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + $_alert = array(); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $mod_info = $add_info = $del_info = Array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] == 'image') { + $file = $_FILES[$attr]['tmp_name']; + if (file_exists($file)) { + $fd = fopen($file,'r'); + $values[0]=fread($fd,filesize($file)); + fclose($fd); + } else { + // Sose töröljük! + $emptyAttrs[] = $attr; + } + } elseif ($backendAttrDef[$attr]['type'] == 'timestamp') { + if ($_POST[$attr][0] != '' and $_POST[$attr][1] != '' and $_POST[$attr][2] != '') { + $values[0] = $_POST[$attr][0].$_POST[$attr][1].$_POST[$attr][2].'010101Z'; + } + } else { + if ($backendAttrDef[$attr]['type'] != '') + if (isset($_POST[$attr])) $values[0] = $_POST[$attr]; + else $values[0] = ''; + } + + if ($backendAttrDef[$attr]['type'] == 'select') { + if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') $add_info[$attr] = $_POST['new-'.$attr]; + if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') $del_info[$attr] = $_POST['del-'.$attr]; + } elseif (in_array($attr,$emptyAttrs)) { + if ($values[0] != '') $add_info[$attr] = $values; + } else { + if ($values[0] != '') { + $mod_info[$attr] = $values; + } else { + $del_info[$attr] = Array(); + } + + } + + if (count($add_info)!=0) { + if (!@ldap_mod_add($ds,$groupDn,$add_info)) { + $_alert[] = 'message:insufficient_access:add:'.$attr; + } + } + if (count($mod_info)!=0) { + if (!@ldap_mod_replace($ds,$groupDn,$mod_info)) { + $_alert[] = 'message:insufficient_access:mod:'.$attr; + } + } + if (count($del_info)!=0) { + if (!@ldap_mod_del($ds,$groupDn,$del_info)) { + $_alert[] = 'message:insufficient_access:del:'.$attr; + } + } + + } else { +// $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + ldap_close($ds); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i=0;$i diff --git a/mayor-orig/www/include/backend/ldapng/session/base.php b/mayor-orig/www/include/backend/ldapng/session/base.php new file mode 100644 index 00000000..a4eff43d --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/session/base.php @@ -0,0 +1,190 @@ + 1 ) { + // Több ilyen uid is van + $_SESSION['alert'][] = "message:multi_uid:$userAccount"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen felhasználó + return $info[0]['dn']; + } + + } + + +###################################################### +# A groupCn(cn)-hez tartozó dn lekérdezése +###################################################### + + function LDAPgroupCnToDn($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // Nézzük, hogy van-e át"map"-elt csoport! + if (isset($AUTH[$toPolicy]['categoryMap'][ekezettelen($groupCn)])) { + return $AUTH[$toPolicy]['categoryMap'][ekezettelen($groupCn)]; + } + + // Kapcsolódás a szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + return false; + } + + // Van-e ilyen csoport? + $filter="(&(".$AUTH[$toPolicy]['ldapGroupCnAttr']."=$groupCn)(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass']."))"; + $justthese=array($AUTH[$toPolicy]['ldapGroupCnAttr']); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure"; + ldap_close($ds); + return false; + } + $info=ldap_get_entries($ds,$sr); + ldap_close($ds); + + if ( $info['count'] === 0 ) { + // Nincs ilyen groupCn (cn) - hibaüzenet csak akkor, ha nem kategóriáról van szó... + if (!in_array($groupCn, array_map('ekezettelen', $AUTH[$toPolicy]['categories']))) $_SESSION['alert'][] = "message:no_group:$groupCn"; + return false; + } elseif ( $info['count'] > 1 ) { + // Több ilyen cn is van + $_SESSION['alert'][] = "message:multi_gid:$groupCn"; + return false; + } + + if ($info['count']==1) { // Van - egy - ilyen csoport + return $info[0]['dn']; + } + + } + +###################################################### +# memberOf - csoport tag-e +###################################################### + + function ldapngMemberOf($userAccount, $group, $toPolicy = _POLICY) { + + global $AUTH; + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + /* Kis hack: csoport-tagság helyett vizsgáljuk előbb a megfelelő szervezeti egységet... de ezt nem biztos, hogy érdemes... */ + if (in_array($group, $AUTH[$toPolicy]['categories'])) { + if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true; + } + + if (substr($group,0,3) != 'cn=') { + $groupDn = LDAPgroupCnToDn(ekezettelen($group)); + if (!$groupDn) return false; // Ha nincs ilyen csoport az LDAP fában + } else { + $groupDn = $group; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds,$AUTH[$toPolicy]['ldapUser'],$AUTH[$toPolicy]['ldapPw']); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $justthese = array('cn'); // valamit le kell kérdezni... + // OpenLDAP a tagok azonosítóját tárolja el (memberUid), más rendszerek a dn-t (member) + $filter = "(&(objectClass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(|(member=$userDn)(memberUid=$userAccount)))"; + $sr = @ldap_search($ds, $groupDn, $filter, $justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:group=$group; filter=".$filter; + ldap_close($ds); + return false; + } + + $info = ldap_get_entries($ds, $sr); + ldap_close($ds); + + if ($info['count'] > 0) { + return true; + } else { + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/backend/ldapng/session/createAccount.php b/mayor-orig/www/include/backend/ldapng/session/createAccount.php new file mode 100644 index 00000000..96a5b557 --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/session/createAccount.php @@ -0,0 +1,157 @@ + a konténer elem - ha nincs, akkor CN=Users alá rakja + category => tanár, diák... egy kiemelt fontosságú csoport tagság + groups => egyéb csoportok + policyAttrs => policy függő attribútumok + ) + */ + function ldapngCreateAccount( + $userCn, $userAccount, $userPassword, $toPolicy, $SET + ) { + + global $AUTH; + + $shadowLastChange = floor(time() / (60*60*24)); + + // $toPolicy --> ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldapng') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // uid ütközés ellenőrzése + $filter = "(sAMAccountName=$userAccount)"; + $justthese = array('sAMAccountName'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + $uinfo = ldap_get_entries($ds, $sr); + $uidCount = $uinfo['count']; + ldap_free_result($sr); + if ($uidCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$userAccount; + return false; + } + + // Az következő uidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(uidNumber=*))"; + $justthese = array('uidNumber', 'msSFU30UidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'uidNumber'); + $uinfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($uinfo['count']) && $uinfo['count'] > 0) $info['uidNumber'] = array($uinfo[ $uinfo['count']-1 ]['uidnumber'][0]+1); + else $info['uidNumber'] = array(1001); + + // shadow attributumok... + // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') + $info['shadowLastChange'] = array($shadowLastChange); + if (isset($AUTH[$toPolicy]['shadowMin']) && $AUTH[$toPolicy]['shadowMin'] != '') $info['shadowMin'] = array($AUTH[$toPolicy]['shadowMin']); + if (isset($AUTH[$toPolicy]['shadowMax']) && $AUTH[$toPolicy]['shadowMax'] != '') $info['shadowMax'] = array($AUTH[$toPolicy]['shadowMax']); + if (isset($AUTH[$toPolicy]['shadowWarning']) && $AUTH[$toPolicy]['shadowWarning'] != '') $info['shadowWarning'] = array($AUTH[$toPolicy]['shadowWarning']); + if (isset($AUTH[$toPolicy]['shadowInactive']) && $AUTH[$toPolicy]['shadowInactive'] != '') $info['shadowInactive'] = array($AUTH[$toPolicy]['shadowInactive']); + if (isset($AUTH[$toPolicy]['shadowExpire']) && $AUTH[$toPolicy]['shadowWxpire'] != '') $info['shadowExpire'] = array($AUTH[$toPolicy]['shadowExpire']); + + // A szokásos attribútumok + $Name = explode(' ',$userCn); + $Dn = ldap_explode_dn($AUTH[$toPolicy]['ldapBaseDn'], 1); unset($Dn['count']); + $info['userPrincipalName'] = array( $userAccount.'@'.implode('.', $Dn)); + $info['msSFU30Name'] = $info['sAMAccountName'] = $info['cn'] = array($userAccount); + $info['displayName'] = array($userCn); + $info['sn'] = array($Name[0]); + $info['givenName'] = array($Name[ count($Name)-1 ]); + $info['unixUserPassword'] = array('ABCD!efgh12345$67890'); + $info['unixHomeDirectory'] = array(ekezettelen("/home/$userAccount")); + $info['loginShell'] = array('/bin/bash'); + $info['objectClass'] = array($AUTH[$toPolicy]['ldapUserObjectClass'], 'user'); + + $policyAccountAttrs = $SET['policyAttrs']; + if (isset($policyAccountAttrs['studyId'])) $info[ $AUTH[$toPolicy]['ldapStudyIdAttr'] ] = array($policyAccountAttrs['studyId']); + foreach ($policyAccountAttrs as $attr => $value) + if ($attr != 'studyId' && isset($accountAttrToLDAP[$attr])) + $info[ $accountAttrToLDAP[$attr] ] = array($value); + + if (isset($SET['container'])) $dn = "CN=$userAccount,".$SET['container']; + else $dn = "CN=$userAccount,CN=Users,".$AUTH[$toPolicy]['ldapBaseDn']; + + // user felvétel + $_r1 = @ldap_add($ds,$dn,$info); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Add user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Jelszó beállítás + if (!changePassword($userAccount, $userPassword, $toPolicy)) $_SESSION['alert'][] = 'message:ldap_error:changePassword failed:'.$userAccount; + + // Engedélyezés + $einfo = array('userAccountControl' => array(512)); /* Normal account = 512 */ + $_r1 = @ldap_mod_replace($ds,$dn,$einfo); + if (!$_r1) { + $_SESSION['alert'][] = 'message:ldap_error:Enable user:'.ldap_error($ds); + //echo $dn.'
'; var_dump($info); echo '
'; + return false; + } + + // Kategória csoportba és egyéb csoportokba rakás + if (isset($SET['category'])) { + if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']); + else $SET['groups'] = array($SET['category']); + + $ginfo['member'] = $dn; + + for ($i = 0; $i < count($SET['groups']); $i++) { + $groupDn = LDAPgroupCnToDn($SET['groups'][$i], $toPolicy); + if ($groupDn !== false) { + $_r3 = @ldap_mod_add($ds, $groupDn, $ginfo); + if (!$_r3) { + $_SESSION['alert'][] = 'message:ldap_error:Add to group '.$SET['groups'][$i].':'.ldap_error($ds); + //echo $SET['groups'][$i].'
'; var_dump($ginfo); echo '
'; + } + } + } + } + + ldap_close($ds); + + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['createAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['createAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount létrehozása: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"createAccount.sh '$userAccount' '".$info['uidNumber'][0]."' '".$info['unixHomeDirectory'][0]."'\n"); + fclose($sfp); + } + } + $_SESSION['alert'][] = 'info:create_uid_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldapng/session/createGroup.php b/mayor-orig/www/include/backend/ldapng/session/createGroup.php new file mode 100644 index 00000000..78def54d --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/session/createGroup.php @@ -0,0 +1,82 @@ + ldap backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'ldapng') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + $info = $ginfo = Array(); + + // cn ütközés ellenőrzése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(cn=$groupCn))"; + $justthese = array('cn'); + $sr = ldap_search($ds, $AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + $ginfo = ldap_get_entries($ds, $sr); + $gCount = $ginfo['count']; + ldap_free_result($sr); + if ($gCount > 0) { + $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; + return false; + } + + // Az következő gidNumber megállapítása + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapGroupObjectClass'].")(gidNumber=*))"; + $justthese = array('gidNumber', 'msSFU30GidNumber'); + $sr = ldap_search($ds,$AUTH[$toPolicy]['ldapBaseDn'], $filter, $justthese); + ldap_sort($ds, $sr, 'gidNumber'); + $ginfo = ldap_get_entries($ds, $sr); + ldap_free_result($sr); + if (isset($ginfo['count']) && $ginfo['count'] > 0) $info['gidNumber'] = array($ginfo[ $ginfo['count']-1 ]['gidnumber'][0]+1); + else $info['gidNumber'] = array(1001); + + // A szokásos attribútumok + $info['sAMAccountName'] = $info['cn'] = array($groupCn); + $info['description'] = array($groupDesc); + + // A kategória függő attribútumok + if (isset($SET['container'])) $dn = "CN=$groupCn,".$SET['container']; + else $dn = "CN=$groupCn,OU=$category,".$AUTH[$toPolicy]['ldapBaseDn']; + + // objectum osztályok + $info['objectClass'] = array($AUTH[$toPolicy]['ldapGroupObjectClass']); + + // csoport felvétel + $_r1 = ldap_add($ds,$dn,$info); + if (!$_r1) { + printf("LDAP-Error: %s
\n", ldap_error($ds)); + var_dump($info); + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:create_group_success:'.$dn; + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/ldapng/session/search/searchAccount.php b/mayor-orig/www/include/backend/ldapng/session/search/searchAccount.php new file mode 100644 index 00000000..74d285e6 --- /dev/null +++ b/mayor-orig/www/include/backend/ldapng/session/search/searchAccount.php @@ -0,0 +1,271 @@ + mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['userAccount'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (isset($result[$i][ kisbetus($accountAttrToLDAP[$a]) ])) { + if ($accountAttrToLDAP[$a] != '') $return[$i][$a] = $result[$i][ kisbetus($accountAttrToLDAP[$a]) ]; + else $return[$i][$a] = $result[$i][$a]; + } else { + $return[$i][$a] = array('count' => 0) ; + } + } + $return[$i]['category'] = getAccountCategories($return[$i]['userAccount'][0], $toPolicy); + $return[$i]['category']['count'] = count($return[$i]['category']); + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapSearchGroup - csoport kereső függvény +###################################################### + + function ldapngSearchGroup($attr, $pattern, $searchAttrs = array('groupCn, groupDesc'), $toPolicy = _POLICY) { + + global $groupAttrToLDAP, $AUTH; + + // A keresendő attribútum konvertálása LDAP attribútummá + if ($groupAttrToLDAP[ $attr ] != '') $attrLDAP = $groupAttrToLDAP[ $attr ]; + else $attrLDAP = $attr; + if ($attrLDAP == 'dn') $attrLDAP = 'cn'; // dn-re nem megy a keresés!! + + // A lekérendő adtibútumok konvertálása LDAP attribútummá + for ($i = 0; $i < count($searchAttrs); $i++) { + if ($groupAttrToLDAP[ $searchAttrs[$i] ] != '') $searchAttrsLDAP[$i] = $groupAttrToLDAP[ $searchAttrs[$i] ]; + else $searchAttrsLDAP[$i] = $searchAttrs[$i]; + } + + $result = LDAPSearch($attrLDAP, $pattern, $searchAttrsLDAP, '(objectclass='.$AUTH[$toPolicy]['ldapGroupObjectClass'].')', $toPolicy); + if ($result === false) { + return false; + } else { + + // LDAP schema --> mayor schema konverzió + for ($i = 0; $i < $result['count']; $i++) { + // Egységes szerkezetre alakítjuk, azaz a dn is indexelt + $result[$i]['dn'] = $return[$i]['groupCn'] = array('count' => 1, 0 => $result[$i]['dn']); + for ($j = 0; $j < count($searchAttrs); $j++) { + $a = $searchAttrs[$j]; + if (!isset($groupAttrToLDAP[$a]) || $groupAttrToLDAP[$a] != '') { + if (isset($result[$i][ $groupAttrToLDAP[$a] ])) $return[$i][$a] = $result[$i][ $groupAttrToLDAP[$a] ]; + else $return[$i][$a] = ''; + } else { + $return[$i][$a] = $result[$i][$a]; + } + } + } + $return['count'] = $result['count']; + + return $return; + + } + + } + +###################################################### +# ldapDeleteAccount - account törlése +###################################################### + + function ldapngDeleteAccount($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ldapng backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldapng') { + $_SESSION['alert'][] = 'page:wrong_backend:ldapng!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $userDn = LDAPuserAccountToDn($userAccount, $toPolicy); + if ($userDn === false) return false; + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + // Az uidNumber, a unixHomeDirectory lekerdezése + $filter = "(&(objectclass=".$AUTH[$toPolicy]['ldapUserObjectClass'].")(!(objectclass=computer)))"; + $justthese = array('uidNumber','unixHomedirectory'); + $sr = @ldap_search($ds,$userDn,$filter,$justthese); + if (!$sr) { + $_SESSION['alert'][] = "message:ldap_search_failure:".$userDn; + ldap_close($ds); + return false; + } ; + + $info = @ldap_get_entries($ds,$sr); + $uidNumber = $info[0]['uidnumber'][0]; + $homeDirectory = $info[0]['unixhomedirectory'][0]; + $uid=$userAccount; + + // user törlése + if (!@ldap_delete($ds,$userDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:user:'.$userAccount; + } + + ldap_close($ds); + + /* + Ha van megadva deleteAccountScript paraméter, akkor abba bejegyzi a törölt felhasználó adatait. + A meghívott deleteAccount.sh nincs definiálva, testreszabható, megkötés egyedül a paraméter + lista: userAccount, uidNumber, homeDirectory + */ + if (defined('_DATADIR') + && isset($AUTH[$toPolicy]['deleteAccountScript']) + && file_exists(_DATADIR) + ) { + $sfp = fopen(_DATADIR.'/'.$AUTH[$toPolicy]['deleteAccountScript'],'a+'); + if ($sfp) { + fwrite($sfp,"\n# $userAccount törlése: userAccount uidNumber homeDirectory\n"); + fwrite($sfp,"deleteAccount.sh '$userAccount' '$uidNumber' '$homeDirectory'\n"); + fclose($sfp); + } + } + + $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + return true; + + } + +###################################################### +# ldapDeleteGroup - account törlése +###################################################### + + function ldapngDeleteGroup($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> ldapng backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'ldapng') { + $_SESSION['alert'][] = 'page:wrong_backend:ldapng!='.$AUTH[$toPolicy]['backend']; + return false; + } + + $groupDn = LDAPgroupCnToDn($groupCn, $toPolicy); + if ($groupDn === false) return false; + + // Kapcsolódás az LDAP szerverhez + $ds = @ldap_connect($AUTH[$toPolicy]['ldapHostname']); + if (!$ds) { + $_SESSION['alert'][] = 'alert:ldap_connect_failure'; + return false; + } + + // Csatlakozás a szerverhez + $r = @ldap_bind($ds, _USERDN, _USERPASSWORD); + if (!$r) { + $_SESSION['alert'][] = 'message:ldap_bind_failure'; + ldap_close($ds); + return false; + } + + if (!@ldap_delete($ds, $groupDn)) { + $_SESSION['alert'][] = 'message:ldap_delete_failure:group:'.$groupCn; + } + + ldap_close($ds); + + $_SESSION['alert'][] = 'info:delete_group_success:'.$groupCn; + return true; + + } + + +?> diff --git a/mayor-orig/www/include/backend/mysql/auth/login.php b/mayor-orig/www/include/backend/mysql/auth/login.php new file mode 100644 index 00000000..caa7929d --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/auth/login.php @@ -0,0 +1,144 @@ + 'userAuthentication/sql')); + if (!$lr) return _AUTH_FAILURE; + + // Van-e ilyen azonosító + $q = "SELECT COUNT(*) FROM accounts WHERE userAccount='%s' AND policy='%s'"; + $num = db_query($q, array('fv' => 'userAuthentication', 'modul' => $modul, 'result' => 'value', 'values' => array($userAccount, $toPolicy)), $lr); + if ($num == 0) { + // Nincs ilyen azonosító + $_SESSION['alert'][] = 'message:no_account:'."$userAccount:$toPolicy"; + db_close($lr); + return _AUTH_FAILURE_1; + } elseif ($num > 1) { + // Több ilyen azonosító is va + $_SESSION['alert'][] = 'message:multy_uid'; + db_close($lr); + return _AUTH_FAILURE_2; + } + + // Ha csak egy van, akkor jó-e a jelszava + $q = "SELECT userCn, studyId, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire + FROM accounts WHERE userAccount='%s' AND userPassword=sha('%s') AND policy='%s'"; + $ret = db_query($q, array('fv' => 'userAuthentication', 'modul' => 'login', 'result' => 'record', 'values' => array($userAccount, $userPassword, $toPolicy)), $lr); + db_close($lr); + if (!is_array($ret) || count($ret) == 0) { + // Nincs ilyen rekord => rossz a jelszó + $_SESSION['alert'][] = 'message:bad_pw'; + return _AUTH_FAILURE_3; + } else { + // Ha van, akkor csak egy ilyen sor lehet + $accountInformation['cn'] = $ret['userCn']; + $accountInformation['studyId'] = $ret['studyId']; + $shadowLastChange = $ret['shadowLastChange']; + $shadowMin = $ret['shadowMin']; + $shadowMax = $ret['shadowMax']; + $shadowWarning = $ret['shadowWarning']; + $shadowInactive = $ret['shadowInactive']; + $shadowExpire = $ret['shadowExpire']; + + // A lejárat ideje a shadowExpire és shadowLastChange+shadowMax kötül a kisebbik + if (intval($shadowExpire) != 0) $expireTimestamp = $shadowExpire; + if ( + intval($shadowMax) != 0 && + ( + !isset($expireTimestamp) || + $expireTimestamp > $shadowLastChange + $shadowMax + ) + ) $expireTimestamp = $shadowLastChange + $shadowMax; + // lejárt, ha lejárat ideje már elmúlt + $accountExpired = (isset($expireTimestamp) && ($expireTimestamp <= floor(time()/(60*60*24)))); + + // Le van-e tiltva + if ( // onDisabled: none | refuse + $AUTH[$toPolicy]['onDisabled'] == 'refuse' && + isset($expireTimestamp) && + $expireTimestamp + $shadowInactive <= floor(time()/(60*60*24)) + ) { + // Le van tiltva + $_SESSION['alert'][] = 'message:account_disabled:'.strval(floor(time()/(60*60*24))); + return _AUTH_FAILURE_4; + } // onDisabled + + // Lejárt-e az azonosító + if ($AUTH[$toPolicy]['onExpired'] != 'none' && isset($expireTimestamp)) { // onExpired: none | warning | force update + // Lejárt-e + $pwLejar = $expireTimestamp - floor(time()/(60*60*24)); + if (0 < $pwLejar && $pwLejar < $shadowWarning) { + $_SESSION['alert'][] = 'info:account_warning:'.$pwLejar; + return _AUTH_SUCCESS; + } elseif ($pwLejar <= 0) { + $_SESSION['alert'][] = 'info:account_expired:'.abs($pwLejar); + if ($AUTH[$toPolicy]['onDisabled'] == 'refuse') + $_SESSION['alert'][] = 'info:warn_account_disable:'.($shadowInactive+$pwLejar); + if ($AUTH[$toPolicy]['onExpired'] == 'warning') { + return _AUTH_SUCCESS; + } elseif ($AUTH[$toPolicy]['onExpired'] == 'force update') { + return _AUTH_EXPIRED; + } + } + } // onExpired + return _AUTH_SUCCESS; + + } +} + +?> diff --git a/mayor-orig/www/include/backend/mysql/base/attrs.php b/mayor-orig/www/include/backend/mysql/base/attrs.php new file mode 100644 index 00000000..b945d764 --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/base/attrs.php @@ -0,0 +1,48 @@ + array('desc' => _MYSQLUID, 'type' => 'text', 'rights' => 'rrr'), + 'policy' => array('desc' => _MYSQLPOLICY, 'type' => 'text', 'rights' => 'r--'), + 'useraccount' => array('desc' => _MYSQLUIDNUMBER, 'type' => 'text','rights' => 'r--'), + 'userCn' => array('desc' => _MYSQLCN, 'type' => 'text', 'rights' => 'wrr'), + 'studyId' => array('desc' => _MYSQLSTUDYID, 'type' => 'int', 'rights' => 'wrr'), + 'mail' => array('desc' => _MYSQLMAIL, 'type' => 'text', 'rights' => 'wwr'), + 'telephoneNumber' => array('desc' => _MYSQLTELEPHONENUMBER, 'type' => 'text', 'rights' => 'ww-'), +// 'userPassword' => array('desc' => _MYSQLUSERPASSWORD, 'type' => 'text', 'rights' => 'r--'), + 'shadowLastChange' => array('desc' => _MYSQLSHADOWLASTCHANGE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowExpire' => array('desc' => _MYSQLSHADOWEXPIRE, 'type' => 'text', 'rights' => 'wrr'), + 'shadowWarning' => array('desc' => _MYSQLSHADOWWARNING, 'type' => 'text', 'rights' => 'wrr'), + 'shadowMin' => array('desc' => _MYSQLSHADOWMIN, 'type' => 'text', 'rights' => 'wrr'), + 'shadowMax' => array('desc' => _MYSQLSHADOWMAX, 'type' => 'text', 'rights' => 'wrr'), + 'shadowInactive' => array('desc' => _MYSQLSHADOWINACTICE, 'type' => 'text', 'rights' => 'wrr'), + ); + + global $mysqlGroupAttrDef; + $mysqlGroupAttrDef = array( + 'gid' => array('desc' => _MYSQLGID, 'type' => 'text', 'rights' => 'rrr'), + 'groupDesc' => array('desc' => _MYSQLGROUPDESC, 'type' => 'text', 'rights' => 'wrr'), + 'policy' => array('desc' => _MYSQLPOLICY, 'type' => 'int', 'rights' => 'r--'), + 'member' => array('desc' => _MYSQLMEMBER, 'type' => 'select', 'rights' => 'w--'), + ); + + +?> diff --git a/mayor-orig/www/include/backend/mysql/password/changePassword.php b/mayor-orig/www/include/backend/mysql/password/changePassword.php new file mode 100644 index 00000000..2875bace --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/password/changePassword.php @@ -0,0 +1,75 @@ + 'changeMyPassword')); + + if (!$lr) return false; + + // Stimmel-e az azonosító/jelszó/policy hármas + $q = "SELECT COUNT(*) FROM accounts WHERE userAccount='%s' AND userPassword=sha('%s') AND policy='%s'"; + $num = db_query($q, array('fv' => 'changeMyPassword', 'modul' => $modul, 'result' => 'value', 'values' => array($userAccount, $userPassword, $toPolicy)), $lr); + if ($num != 1) { + $_SESSION['alert'][] = 'message:bad_pw:changeMyPassword'; + db_close($lr); + return false; + } + + if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') { + $shadowExpire = $AUTH[$toPolicy]['shadowExpire']; + } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') { + $shadowExpire = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']); + } + $q = "UPDATE accounts SET userPassword=sha('%s'), shadowLastChange=%u, shadowExpire=%u + WHERE userAccount='%s' and policy='%s'"; + $v = array($newPassword, $shadowLastChange, $shadowExpire, $userAccount, $toPolicy); + $r = db_query($q, array('fv' => 'changeMyPassword', 'modul' => $modul, 'values' => $v), $lr); + db_close($lr); + if ($r) $_SESSION['alert'][] = 'info:pw_change_success'; + return $r; + +} + +############################################################################ +# Adminisztrátori jelszó változtatás +############################################################################ + +function changePassword($userAccount, $newPassword, $toPolicy = '') { + + global $AUTH; + + if ($toPolicy == '') $toPolicy = _POLICY; + $shadowLastChange = floor(time()/(60*60*24)); + if (isset($AUTH[$toPolicy]['shadowExpire']) and $AUTH[$toPolicy]['shadowExpire'] != '') { + $shadowExpire = $AUTH[$toPolicy]['shadowExpire']; + } elseif (isset($AUTH[$toPolicy]['shadowMax']) and $AUTH[$toPolicy]['shadowMax'] != '') { + $shadowExpire = $shadowLastChange + intval($AUTH[$toPolicy]['shadowMax']); + } + $shadowExpire = intval($shadowExpire); + $q = "UPDATE accounts SET userPassword=sha('%s'), shadowLastChange=%u, shadowExpire=%u + WHERE userAccount='%s' and policy='%s'"; + $v = array($newPassword, $shadowLastChange, $shadowExpire, $userAccount, $toPolicy); + $r = db_query($q, array('fv' => 'changePassword', 'modul' => "$toPolicy auth", 'values' => $v)); + if ($r) $_SESSION['alert'][] = 'info:pw_change_success'; + return $r; + +} + +?> diff --git a/mayor-orig/www/include/backend/mysql/session/accountInfo.php b/mayor-orig/www/include/backend/mysql/session/accountInfo.php new file mode 100644 index 00000000..113e380b --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/session/accountInfo.php @@ -0,0 +1,258 @@ + 0) { + $_THESE = '`'.implode('`,`', array_fill(0, count($SET['justThese']), '%s')).'`'; + $v = $SET['justThese']; + } else { + $_THESE = '*'; + $v = array(); + } + $q = "SELECT $_THESE FROM accounts WHERE userAccount='%s' AND policy='%s'"; + array_push($v, $userAccount, $toPolicy); + $A = db_query($q, array('fv' => 'mysqlGetAccountInfo', 'modul' => "$toPolicy auth", 'result' => 'record', 'values' => $v), $lr); + if (!is_array($A) || count($A) == 0) return false; + + $data = array(); + foreach ($A as $attr => $value) $data[$attr][] = $value; + foreach ($data as $attr => $array) $data[$attr]['count'] = count($array); + + return $data; + + } + +############################################################# +# mysqlGetUserInfo - felhasználói információk (keretrendszer) +############################################################# + + function mysqlGetUserInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Account', $toPolicy); + + // Keresés + $q = "SELECT userAccount,userCn FROM accounts WHERE userAccount='%s' AND policy='%s'"; + $A = db_query($q, array('fv' => 'mysqlGetUserInfo', 'modul' => "$toPolicy auth", 'result' => 'record', 'values' => array($userAccount, $toPolicy))); + if (!is_array($A) || count($A) == 0) return false; + $ret = array(); + foreach ($A as $attr => $value) $ret[$attr][] = $value; + return $ret; + + } + +############################################################### +# mysqlChangeAccountInfo - felhasználói információk módosítása +############################################################### + + function mysqlChangeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = db_connect($modul, array('fv' => 'mysqlChangeAccountInfo')); + if (!$lr) return false; + + $emptyAttrs = explode(':',$_POST['emptyAttrs']); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_MYSQL_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $value = ''; + + if ($backendAttrDef[$attr]['type'] == 'int') { + if ($backendAttrDef[$attr]['type'] != '' ) $value = readVariable($_POST[$attr], 'number'); + } else { + if ($backendAttrDef[$attr]['type'] != '' ) $value = readVariable($_POST[$attr], 'string'); // html túl erős: pl email címben a @ fent akad... + } + + if (in_array($attr,$emptyAttrs)) { + if ($value != '') { + $q = "UPDATE accounts SET `%s`='%s' WHERE userAccount='%s' AND policy='%s'"; + $v = array($attr, $value, $userAccount, $toPolicy); + } + } else { + if ($value != '') { + $q = "UPDATE accounts SET `%s`='%s' WHERE userAccount='%s' AND policy='%s'"; + $v = array($attr, $value, $userAccount, $toPolicy); + } else { + $q = "UPDATE accounts SET `%s`=NULL WHERE userAccount='%s' AND policy='%s'"; + $v = array($attr, $userAccount, $toPolicy); + } + } + db_query($q, array('fv' => 'mysqlChangeAccountInfo', 'modul' => $modul, 'values' => $v), $lr); + + } else { + // $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + db_close($lr); + if (count($_alert) == 0) $_SESSION['alert'][] = 'info:change_success'; + else for ($i = 0; $i < count($_alert); $i++) $_SESSION['alert'][] = $_alert[$i]; + + } + +########################################################### +# mysqlGetGroupInfo - csoport információk (backend) +########################################################### + + function mysqlGetGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array()) { + + global $AUTH, $backendAttrs, $backendAttrDef; + + if (!isset($backendAttrs)) list($backendAttrs, $backendAttrDef) = getBackendAttrs('Group', $toPolicy); + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = db_connect($modul, array('fv' => 'mysqlGetGroupInfo')); + if (!$lr) return false; + + // Keresés + if (is_array($SET['justThese']) && count($SET['justThese']) > 0) { + $_THESE = '`'.implode('`,`', array_fill(0, count($SET['justThese']), '%s')).'`'; + $v = $SET['justThese']; + } else { + $_THESE = '*'; + $v = array(); + } + $q = "SELECT $_THESE FROM groups WHERE groupCn='%s' AND policy='%s'"; + + array_push($v, $groupCn, $toPolicy); + $A = db_query($q, array('fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'record', 'values' => $v), $lr); + if (!is_array($A) || count($A) == 0) { db_close($lr); return false; } + // Megfelelő formátum kialakítása + foreach ($A as $attr => $value) $data[$attr][] = $value; + foreach ($data as $attr => $array) $data[$attr]['count'] = count($array); + + // tagok lekérdezése + $q = "SELECT 'member' AS type, uid AS value, userCn AS txt FROM members LEFT JOIN accounts USING (uid) WHERE gid = '%s'"; + $v = array($A['gid']); + $data2 = db_query($q, array('fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'multiassoc', 'keyfield' => 'type', 'values' => $v), $lr); + if ($data2 === false) { db_close($lr); return false; } + $data = array_merge($data, $data2); + + // Lehetséges tagok + if ($SET['withNewAccounts']===true) { + $q = "SELECT userCn AS txt, uid AS value FROM accounts WHERE policy='%s' ORDER BY userCn"; + $data['member']['new'] = db_query($q, array( + 'fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'indexed', 'values' => array($toPolicy) + ), $lr); + } + + db_close($lr); + return $data; + + } + + +############################################################### +# mysqlChangeGroupInfo - csoport információk módosítása +############################################################### + + function mysqlChangeGroupInfo($groupCn, $toPolicy = _POLICY) { + +// !!!! A memberuid / member szinkronjára nem figyel!! + + global $AUTH, $backendAttrs, $backendAttrDef; + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = db_connect($modul, array('fv' => 'mysqlChangeGroupInfo')); + if (!$lr) return false; + + $q = "SELECT gid FROM groups WHERE groupCn='%s' AND policy='%s'"; + $v = array($groupCn, $toPolicy); + $gid = db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + if ($gid === false) { db_close($lr); return false; } + + $emptyAttrs = explode(':', $_POST['emptyAttrs']); + + // Attribútumonként módosítunk + foreach ($backendAttrs as $attr) { + + if ($backendAttrDef[$attr]['rights'] == '') $rigths = _DEFAULT_LDAP_RIGHTS; + else $rights = $backendAttrDef[$attr]['rights']; + + if ($rights[_ACCESS_AS] == 'w') { + + $Mod = $Add = $Del = $V = $v = array(); + $values = array(); + + if ($backendAttrDef[$attr]['type'] != '') + if (isset($_POST[$attr])) $values[0] = readVariable($_POST[$attr],'html'); + else $values[0] = ''; + + if ($backendAttrDef[$attr]['type'] == 'select') { + if ($attr == 'member') { + if (isset($_POST['new-'.$attr][0]) && $_POST['new-'.$attr][0] != '') { + for ($i = 0; $i < count($_POST['new-'.$attr]); $i++) { + $V[] = "(%u, %u)"; + array_push($v, $_POST['new-'.$attr][$i], $gid); + } + $q = "INSERT INTO members (uid, gid) VALUES ".implode(',', $V); + db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr); + } + if (isset($_POST['del-'.$attr][0]) && $_POST['del-'.$attr][0] != '') { + $q = "DELETE FROM members WHERE gid=%u + AND uid IN (".implode(',', array_fill(0, count($_POST['del-'.$attr]), '%u')).")"; + $v = array_merge(array($gid), $_POST['del-'.$attr]); + $r = db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr); + } + } else { + $_SESSION['alert'][] = 'message:invalid_type:select:'.$attr; + } + } else { + if (in_array($attr, $emptyAttrs)) { + if ($values[0] != '') { + $W = "`%s`='%s'"; + $v = array($attr, $values[0]); + } + } else { + if ($values[0] != '') { + $W = "`%s`='%s'"; + $v = array($attr, $values[0]); + } else { + $W = "`%s`=NULL"; + $v = array($attr); + } + } + $q = "UPDATE groups SET $W WHERE groupCn='%s' AND policy='%s'"; + array_push($v, $groupCn, $toPolicy); + db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr); + } + } else { + $_alert[] = 'message:insufficient_access:'.$attr; + } + } // foreach + + db_close($lr); + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/mysql/session/base.php b/mayor-orig/www/include/backend/mysql/session/base.php new file mode 100644 index 00000000..35272ff8 --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/session/base.php @@ -0,0 +1,52 @@ + 'mysqlMemberOf')); + if (!$lr) return _AUTH_FAILURE; + + // Az uid lekérdezése + if (!defined(('__'.$toPolicy.'_UID')) || _USERACCOUNT != $userAccount) { // egy policy-hez csak egy uid tartozik + $q = "SELECT uid FROM accounts WHERE userAccount = '%s' AND policy = '%s'"; + $v = array($userAccount, $toPolicy); + $uid = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + if ($uid === false) { + $_SESSION['alert'][] = 'message:no_account:'."$userAccount:$toPolicy"; + db_close($lr); return false; + } + if (!defined('__'.$toPolicy.'_UID')) define('__'.$toPolicy.'_UID',$uid); + } else { + $uid=constant('__'.$toPolicy.'_UID'); + } + + // Az gid lekérdezése + $q = "SELECT gid FROM groups WHERE groupCn = '%s' AND policy = '%s'"; + $v = array($groupCn, $toPolicy); + $gid = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + if ($gid === false) { + $_SESSION['alert'][] = 'message:no_group:'."$groupCn:$toPolicy"; + db_close($lr); return false; + } + + // Benne van-e a csoportban + $q = "SELECT COUNT(*) FROM members WHERE uid = %u AND gid = %u"; + $v = array($uid, $gid); + $num = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + db_close($lr); + return ($num > 0); + + } + +?> diff --git a/mayor-orig/www/include/backend/mysql/session/createAccount.php b/mayor-orig/www/include/backend/mysql/session/createAccount.php new file mode 100644 index 00000000..25ff9132 --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/session/createAccount.php @@ -0,0 +1,106 @@ + a konténer elem - MySQL backend esetén nincs értelme + category => tanár, diák... egy kiemelt fontosságú csoport tagság + groups => egyéb csoportok + policyAttrs => policy függő attribútumok + createGroup => létrehozza az adott nevű csoportokat, ha nincsenek + ) + + */ + function mysqlCreateAccount( + $userCn, $userAccount, $userPassword, $toPolicy, $SET + ) { + + global $AUTH; + + $shadowlastchange = floor(time() / (60*60*24)); + $modul = "$toPolicy auth"; + $lr = db_connect($modul, array('fv' => 'mysqlCreateAccount')); + if (!$lr) return _AUTH_FAILURE; + + // ütközés ellenőrzése + $q = "SELECT COUNT(userCn) FROM accounts WHERE userAccount = '%s' AND policy = '%s'"; + $v = array($userAccount, $toPolicy); + $num = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + if ($num > 0) { + db_close($lr); + $_SESSION['alert'][] = 'message:multi_uid'.":$userAccount:$toPolicy"; + return false; + } + + // A shadowLastChange a mai nap // if (isset($AUTH[$toPolicy]['shadowlastchange']) && $AUTH[$toPolicy]['shadowlastchange'] != '') $shadowlastchange = $AUTH[$toPolicy]['shadowlastchange']; + $shadowmin = readVariable($AUTH[$toPolicy]['shadowmin'], 'numeric unsigned', 'null'); // null szöveg + $shadowmax = readVariable($AUTH[$toPolicy]['shadowmax'], 'numeric unsigned', 'null'); // null szöveg + $shadowwarning = readVariable($AUTH[$toPolicy]['shadowwarning'], 'numeric unsigned', 'null'); // null szöveg + $shadowinactive = readVariable($AUTH[$toPolicy]['shadowinactive'], 'numeric unsigned', 'null'); // null szöveg + $shadowexpire = readVariable($AUTH[$toPolicy]['shadowexpire'], 'numeric unsigned', 'null'); // null szöveg + + // A $SET['policyAttrs'] feldolgozása + $attrList = array_keys($SET['policyAttrs']); + $valueList = array_values($SET['policyAttrs']); + + // user felvétele + if (count($attrList) > 0) { + $q = "INSERT INTO accounts ( + policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire, + `".implode('`, `', array_fill(0, count($attrList), '%s'))."` + ) VALUES ( + '%s', '%s', '%s', sha('%s'), %u, %u, %u, %u, %u, %u, '".implode("', '", array_fill(0, count($valueList), '%s'))."' + )"; + } else{ + $q = "INSERT INTO accounts ( + policy, userAccount, userCn, userPassword, shadowLastChange, shadowMin, shadowMax, shadowWarning, shadowInactive, shadowExpire + ) VALUES ('%s', '%s', '%s', sha('%s'), %u, %u, %u, %u, %u, %u)"; + } + $v = array_merge( + $attrList, + array($toPolicy, $userAccount, $userCn, $userPassword, $shadowlastchange, $shadowmin, $shadowmax, $shadowwarning, $shadowinactive, $shadowexpire), + $valueList + ); + $uid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'insert', 'values' => $v), $lr); + if ($uid === false) { db_close($lr); return false; } + // user berakása a kategóriájának megfelelő csoportokba + + if (isset($SET['category'])) { + if (is_array($SET['groups'])) array_unshift($SET['groups'], $SET['category']); + else $SET['groups'] = array($SET['category']); + + for ($i = 0; $i < count($SET['groups']); $i++) { + $category = $SET['groups'][$i]; + $groupCn = kisbetus(ekezettelen($category)); + if ($category == '') continue; + $q = "SELECT gid FROM groups WHERE groupCn='%s'"; + $gid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => array($groupCn)), $lr); + if ($gid === false || is_null($gid)) { // --FIXME -- ez jó így BENCE radyx + if ($SET['createGroup']) { + require_once('include/modules/session/createGroup.php'); + //createGroup($groupCn, "$category csoport", $category, $toPolicy = _POLICY); + createGroup($groupCn, "$category csoport", $toPolicy = _POLICY, array('category'=>$category)); + $gid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => array($groupCn)), $lr); + } else { + $_SESSION['alert'][] = 'message:wrong_data:mysqlCreateAccount - nincsmegadva/hibás kategória:'.$category.':'.$groupCn; + db_close($lr); return false; + } + } + $q = "INSERT INTO members (uid,gid) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'values' => array($uid, $gid)), $lr); + if (!$r) { db_close($lr); return false; } + } + } + $_SESSION['alert'][] = 'info:create_account_success:'.$userAccount; + db_close($lr); + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/mysql/session/createGroup.php b/mayor-orig/www/include/backend/mysql/session/createGroup.php new file mode 100644 index 00000000..d1bc4f7b --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/session/createGroup.php @@ -0,0 +1,37 @@ + backend - ellenőrzés! + if ($AUTH[$toPolicy]['backend'] != 'mysql') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = @db_connect($modul, array('fv' => 'mysqlCreateGroup')); + if (!$lr) return false; + + // cn ütközés ellenőrzése + $q = "SELECT COUNT(*) FROM groups WHERE policy='%s' AND groupCn='%s'"; + $v = array($toPolicy, $groupCn); + $num = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr); + if ($num === false) { db_close($lr); return false; } + if ($num > 0) { $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; db_close($lr); return false; } + + // csoport felvétel + $q = "INSERT INTO groups (groupCn, groupDesc, policy) VALUES ('%s', '%s','%s')"; + $v = array($groupCn, $groupDesc, $toPolicy); + $gid = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'insert', 'values' => $v), $lr); + if ($gid === false) { db_close($lr); return false; } + + $_SESSION['alert'][] = 'info:create_group_success:'.$dn; + db_close($lr); + return true; + + } + +?> diff --git a/mayor-orig/www/include/backend/mysql/session/search/searchAccount.php b/mayor-orig/www/include/backend/mysql/session/search/searchAccount.php new file mode 100644 index 00000000..fa4584b0 --- /dev/null +++ b/mayor-orig/www/include/backend/mysql/session/search/searchAccount.php @@ -0,0 +1,169 @@ + 'mysqlSearchAccount')); + if (!$lr) return false; + + // Keresés + $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM accounts WHERE `%s` LIKE '%%%s%%' AND policy='%s'"; + $v = array_merge($searchAttrs, array($attr, $pattern, $toPolicy)); + $r = db_query($q, array('fv' => 'mysqlSearchAccount', 'modul' => $modul, 'result' => 'indexed', 'values' => $v), $lr); + db_close($lr); + if ($r === false) return false; + $ret = array('count' => count($r)); + foreach ($r as $key => $A) { + $data = array(); + foreach ($A as $attr => $value) { + $data[$attr] = array($value); + $data[$attr]['count']++; + } + $data['category'] = getAccountCategories($data['userAccount'][0], $toPolicy); + $data['category']['count'] = count($data['category']); + $ret[] = $data; + } + + return $ret; + + } + +###################################################### +# MySQL group kereső függvény +###################################################### + + function mysqlSearchGroup($attr, $pattern, $searchAttrs = array('userCn'), $toPolicy = _POLICY) { + + global $AUTH; + + if ($pattern == '') { + $_SESSION['alert'][] = 'message:empty_field:mysqlSearchGroup, pattern'; + return false; + } + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = db_connect($modul, array('fv' => 'mysqlSearchGroup')); + if (!$lr) return false; + // Keresés + if ($attr == 'member') { + $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members + ON members.gid=groups.gid + LEFT JOIN accounts USING (uid) + WHERE gid IN + (SELECT DISTINCT gid FROM accounts LEFT JOIN members USING(uid) WHERE userAccount LIKE '%%%s%%' AND policy='%s') + AND groups.policy='%s'"; + $v = array_merge($searchAttrs, array($pattern, $toPolicy, $toPolicy)); + } else { + $q = "SELECT DISTINCT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members + ON members.gid=groups.gid + LEFT JOIN accounts USING (uid) + WHERE `%s` LIKE '%%%s%%' AND groups.policy='%s'"; + $v = array_merge($searchAttrs, array($attr, $pattern, $toPolicy)); + } + $r = db_query($q, array('fv' => 'mysqlSearchGroup', 'modul' => $modul, 'result' => 'indexed', 'values' => $v), $lr); + db_close($lr); + if ($r === false) return false; + $ret = array('count' => count($r)); + foreach ($r as $key => $A) { + $data = array(); + foreach ($A as $attr => $value) { + $data[$attr] = array($value); + } + $ret[] = $data; + } + + return $ret; + + } + +###################################################### +# mysqlDeleteAccount - account törlése +###################################################### + + function mysqlDeleteAccount($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> mysql backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'mysql') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // Kapcsolódás az MySQL szerverhez + $modul = "$toPolicy auth"; + $lr = @db_connect($modul, array('fv' => 'mysqlDeleteAccount')); + if (!$lr) return false; + + // Az uidNumber, a homeDirectory lekerdezése - és mire használjuk, ha szabad kérdeznem??? + if ($AUTH[$toPolicy]['createHomeDir']) { + $q = "SELECT homeDirectory, uid FROM accounts WHERE policy='%s' AND userAccount='%s'"; + $v = array($toPolicy, $userAccount); + $ret = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'result' => 'record', 'values' => $v), $lr); + if ($ret === false) { db_close($lr); return false; } + + $homeDirectory = $ret['homeDirectory']; // de nem használjuk semmire... + // A user csoport törlése + $q = "DELETE FROM groups WHERE gid=%u"; + $v = array($ret['uid']); + $r = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'values' => $v), $lr); + if (!$r) { db_close($lr); return false; } + } + + // user törlése + $q = "DELETE FROM accounts WHERE policy='%s' AND userAccount='%s'"; + $v = array($toPolicy, $userAccount); + $r = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'values' => $v), $lr); + db_close($lr); + // törlés a csoportból - Ha innoDb - akkor nincs ezzel tennivaló!! + if ($r) $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + + return $r; + + } + +###################################################### +# mysqlDeleteGroup - group törlése +###################################################### + + function mysqlDeleteGroup($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + // $toPolicy --> mysql backend - ellenőrzés + if ($AUTH[$toPolicy]['backend'] != 'mysql') { + $_SESSION['alert'][] = 'page:wrong_backend:'.$AUTH[$toPolicy]['backend']; + return false; + } + + // csoport törlése + $q = "DELETE FROM groups WHERE policy='%s' AND groupCn='%s'"; + $v = array($toPolicy, $groupCn); + $r = db_query($q, array('fv' => 'mysqlDeleteGroup', 'modul' => "$toPolicy auth", 'values' => $v)); + + if ($r) $_SESSION['alert'][] = 'info:delete_uid_success:'.$userDn; + + // tagok törlése a csoportból - Ha innoDb - akkor nincs ezzel tennivaló!! + return $r; + + } + +?> diff --git a/mayor-orig/www/include/base/base.php b/mayor-orig/www/include/base/base.php new file mode 100644 index 00000000..dd620a41 --- /dev/null +++ b/mayor-orig/www/include/base/base.php @@ -0,0 +1,227 @@ +0) or (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0)) or ((((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE']) or isset($_SERVER['X-OperaMini-Features']) or isset($_SERVER['UA-pixels'])))))) + $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4)); + $mobile_agents = array('acs-','alav','alca','amoi','audi','aste','avan','benq' ,'bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno','ipaq','java' ,'jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','opwv','palm','pana','pant','pdxg' ,'phil','play','pluc','port','prox','qtek','qwap', 'sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw' ,'xda','xda-'); + if(in_array($mobile_ua,$mobile_agents)) { + return true; + } +} + +// ------------------------------------------ +// PHP session +// ------------------------------------------ + + session_start(); + +// ------------------------------------------ +// Böngésző azonosítás +// ------------------------------------------ + + if (defined('_ALLOWPDAIDENTIFICATION') && isMobile()) define('_USER_AGENT','ppc'); // inkább ketté kéne bontani [wap,ppc] tartalomra + else + if (strpos($_SERVER['HTTP_USER_AGENT'],'Opera') !== false) define('_USER_AGENT','opera'); + elseif (strpos($_SERVER['HTTP_USER_AGENT'],'Gecko') !== false) define('_USER_AGENT','gecko'); + elseif (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') !== false) define('_USER_AGENT','msie'); + else define('_USER_AGENT',''); + + if (strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')!=false) define('_USER_AGENT_PLUS','iPhone'); + else define('_USER_AGENT_PLUS',''); + + if (($_SESSION['isMobile']=isMobile())===true) $_SESSION['pageLayout']=1; // patch + +// MaYoR revision konstans definiálása + + if (@file_exists(_LOGDIR.'/revision')) { + $_rf = @fopen(_LOGDIR.'/revision', "r"); + if ($_rf) $rev = @fgets($_rf, 64); + @fclose($_rf); + } else { + //rev missing... + } + define('_MAYORREV',chop($rev)); + unset($rev); + +// ------------------------------------------ +// Default értékek +// ------------------------------------------ + /* + $policy - hozzáférési mód - kötelező + $page - megjelenítendő oldal - kötelező + $sub - aloldal - opcionális + $f - file - kötelező + $lang - az oldal nyelve - kötelező + skin - az oldal témája, "bőre" - kötelező + $action - elvégzendő feladat megjelölésére - opcionális + $_SESSION['alert'] - figyelmeztető üzenet (tömb) - opcionális + */ + + if (($__key = array_search('blue', $SKINS)) !== false) unset($SKINS[$__key]); + if (($__key = array_search('pda', $SKINS)) !== false) unset($SKINS[$__key]); + if ($AUTH['public']['skin'] == 'blue') $AUTH['public']['skin'] = 'classic'; + if ($AUTH['private']['skin'] == 'blue') $AUTH['private']['skin'] = 'classic'; + if ($AUTH['parent']['skin'] == 'blue') $AUTH['parent']['skin'] = 'classic'; + // itt beolvassuk, később még egy szigorítás is van + + if (_RUNLEVEL=='cron') { + $policy = 'private'; + @$page = readVariable($_SERVER['argv'][1],'strictstring'); + @$sub = readVariable($_SERVER['argv'][2],'strictstring'); + @$f = readVariable($_SERVER['argv'][3],'strictstring'); + @$sessionID = "cron"; + } else { + @$policy = readVariable($_REQUEST['policy'],'strictstring',null,$POLICIES); + @$page = readVariable($_REQUEST['page'],'strictstring'); + @$sub = readVariable($_REQUEST['sub'],'strictstring'); + @$f = readVariable($_REQUEST['f'],'strictstring'); + @$sessionID = readVariable($_GET['sessionID'],'hexa'); + } + if ($f == '') { + if ($sub != '') $f = $sub; + elseif ($page != '') $f = $page; + } + @$lang = readVariable($_GET['lang'],'strictstring',null,$LANGUAGES); + if (_RUNLEVEL === 'cron') $skin = 'cron'; + else @$skin = readVariable($_POST['skin'],'strictstring',readVariable($_GET['skin'],'strictstring',null,$SKINS),$SKINS); + @$action = readVariable($_REQUEST['action'],'strictstring',null); + // ++ ha még mindig üres a skin, és pocketpc-ről/pda jövünk (de megengedjük a felülírást) + // if (_USER_AGENT==='ppc' && $skin=='') $skin='pda'; + // ++ + //-- + if (is_array($POLICIES) && !in_array($policy, $POLICIES)) $policy = _DEFAULT_POLICY; + + define('_POLICY', $policy); + + // Miert ne csatolnánk be az összes policy beállítsait? --> config.php + + if ($f=='' && is_array($DEFAULT_PSF[$policy])) extract($DEFAULT_PSF[$policy], EXTR_OVERWRITE); + if (!in_array($lang, $LANGUAGES)) $lang=_DEFAULT_LANG; + // ha a skin még mindig üres, akkor az ellenőrzésnél a default-ot állítjuk be... + if (!@in_array($skin, $SKINS)) $skin = (isset($AUTH[$policy]['skin'])) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN; + + if (file_exists("lang/$lang/base/base.php")) { + require("lang/$lang/base/base.php"); + } elseif (file_exists('lang/'._DEFAULT_LANG.'/base/base.php')) { + require('lang/'._DEFAULT_LANG.'/base/base.php'); + } + + // A skin-hez tartozó beállátosok.. ha vannak... - ide való? De még a *-pre elé! + if (file_exists(_CONFIGDIR."/skin-$skin/config.php")) { + require(_CONFIGDIR."/skin-$skin/config.php"); + } elseif (file_exists(_CONFIGDIR.'/skin-'._DEFAULT_SKIN.'/config.php')) { + require(_CONFIGDIR.'/skin-'._DEFAULT_SKIN.'/config.php'); + } + +// ----------------------------------------------------------------- +// page() +// ----------------------------------------------------------------- + +function page($page, $sub, $f, $lang, $skin, $policy = _DEFAULT_POLICY) { + + global $_JSON; + if (html_alert($_SESSION['alert'])) { // A figyelmeztető üzenet letilthatja az oldal további megjelenítését. + + if ($sub != '') { + $load = "$sub/$f"; + } else { + $load = $f; + } + + if (file_exists("policy/$policy/$page/$load.php")) { + if (file_exists("lang/$lang/module-$page/base.php")) { + require_once("lang/$lang/module-$page/base.php"); + } elseif (file_exists("lang/"._DEFAULT_LANG."/module-$page/base.php")) { + require_once("lang/"._DEFAULT_LANG."/module-$page/base.php"); + } + if (file_exists("lang/$lang/module-$page/$load.php")) { + require_once("lang/$lang/module-$page/$load.php"); + } elseif (file_exists("lang/"._DEFAULT_LANG."/module-$page/$load.php")) { + require_once("lang/"._DEFAULT_LANG."/module-$page/$load.php"); + } + if (file_exists("skin/$skin/module-$page/html/base.phtml")) { + require_once("skin/$skin/module-$page/html/base.phtml"); + } elseif (file_exists("skin/"._DEFAULT_SKIN."/module-$page/html/base.phtml")) { + require_once("skin/"._DEFAULT_SKIN."/module-$page/html/base.phtml"); + } + if (file_exists("skin/$skin/module-$page/html/$load.phtml")) { + require_once("skin/$skin/module-$page/html/$load.phtml"); + } elseif (file_exists("skin/"._DEFAULT_SKIN."/module-$page/html/$load.phtml")) { + require_once("skin/"._DEFAULT_SKIN."/module-$page/html/$load.phtml"); + } + + include("policy/$policy/$page/$load.php"); + //szamlal($policy,$page); + } elseif (file_exists("static/$lang/$page/$load.html")) { + include("static/$lang/$page/$load.html"); + //szamlal($policy,$page); + } else { + //??? ha már kiírtuk a hibaüzeneteket, újabbat nem írhatunk ki sajnos :( html_alert(array('page:page_missing:'."[$page]:[$sub]:[$f]")); --> rights.php + } + } +} + +function href($href,$get = array('sessionID','lang','skin','policy')) { + + global $sessionID,$lang,$skin,$policy,$page,$sub,$f,$action; + global $SKINS; + if ($href!='') { + if (strpos($href,'?') === false) { + $href .= '?'; + } else { + $href.='&'; + } + for ($i=0;$i diff --git a/mayor-orig/www/include/base/cache.php b/mayor-orig/www/include/base/cache.php new file mode 100644 index 00000000..3c630581 --- /dev/null +++ b/mayor-orig/www/include/base/cache.php @@ -0,0 +1,33 @@ +DATA[$key])); + } + public function get($key) { + return $this->DATA[$key]; + } + public function set($key,$data, $dataType=null) { + $this->DATA[$key] = $data; + if ($dataType!='') $this->REGISTRY[$dataType][] = $key; + } + public function del($key) { + unset($this->DATA[$key]); + unset($this->REGISTRY[array_search($key,$this->REGISTRY)]); + } + public function flushdb() { + $this->DATA = array(); + $this->REGISTRY = array(); + } + public function delType($dataType) { + $c = count($this->REGISTRY[$dataType]); + for ($i=0; $i<$c; $i++ ) { + $this->del($this->REGISTRY[$dataType][$i]); + } + unset($this->REGISTRY[$dataType]); + } +} +$mayorCache = new mayorCache(); +?> \ No newline at end of file diff --git a/mayor-orig/www/include/base/config.php b/mayor-orig/www/include/base/config.php new file mode 100644 index 00000000..4a234fcf --- /dev/null +++ b/mayor-orig/www/include/base/config.php @@ -0,0 +1,62 @@ + $_policy) { + if (file_exists(_CONFIGDIR."/$_policy-conf.php")) { + @require(_CONFIGDIR."/$_policy-conf.php"); + if (file_exists(_BASEDIR.'/policy/'.$_policy.'/'.$DEFAULT_PSF[$_policy]['page'].'/'.$DEFAULT_PSF[$_policy]['sub'].'/'.$DEFAULT_PSF[$_policy]['f'].'.php') + === false) { + //nincs meg ez a file + $_SESSION['alert'][] = 'info:file_not_found:default page:'.$_policy.':'.implode(' ',$DEFAULT_PSF[$_policy]); + } + } else { + $DEFAULT_PSF[$_policy] = array(); + $_SESSION['alert'][] = 'page:file_not_found:'._CONFIGDIR."/$_policy-conf.php"; + } + } +} else { + $_SESSION['alert'][] = 'page:config_error:nincs POLICIES tömb vagy _CONFIGDIR konstans!'; +} + +if (!defined('__FBCONNECT_ENABLED')) define('__FBCONNECT_ENABLED',false); +if (!defined('__SHOW_FACES_TYPE')) define('__SHOW_FACES_TYPE','circle'); // circle, square, classic + +$VALID_MODULES =array('portal','naplo','auth','jatek','password','session','fenntarto'); +if(is_array($EXTRA_MODULES)) $VALID_MODULES = array_unique(array_merge($VALID_MODULES,$EXTRA_MODULES)); + + +?> diff --git a/mayor-orig/www/include/base/error.php b/mayor-orig/www/include/base/error.php new file mode 100644 index 00000000..e790d65a --- /dev/null +++ b/mayor-orig/www/include/base/error.php @@ -0,0 +1,44 @@ + 'Error', //1 + E_WARNING => 'Warning', //2 + E_PARSE => 'Parsing Error', //4 + E_NOTICE => 'Notice', //8 + E_CORE_ERROR => 'Core Error', //16 + E_CORE_WARNING => 'Core Warning', //32 + E_COMPILE_ERROR => 'Compile Error', //64 + E_COMPILE_WARNING => 'Compile Warning', //128 + E_USER_ERROR => 'User Error', + E_USER_WARNING => 'User Warning', + E_USER_NOTICE => 'User Notice', // 1024 + E_STRICT => 'Runtime Notice', // 2048 + E_RECOVERABLE_ERROR => 'Catchable Fatal Error', // 4096 + E_ALL => 'ALL', //binary 1111111111111 + ); + $userError = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); + $trackOnly = array(E_USER_ERROR, E_ERROR, E_USER_WARNING, E_USER_NOTICE, E_WARNING); + if (defined('__TESTERRORREPORTERWARN')) $trackOnly[] = E_NOTICE; + if (in_array($errno,$userError)) { + $err = "$dt $errno ".$errtype[$errno]." $errmsg"; + } elseif (in_array($errno,$trackOnly)) { + $err = "$dt $errno ".$errtype[$errno]." $errmsg $filename $linenum"; + /* if (in_array($errno, $user_errors)) { $err .= " vartrace(" . wddx_serialize_value($vars, "Variables") . ") ";} */ + // if (defined('_LOGDIR')) error_log($err, 0, _LOGDIR.'/phperror.log'); + } + if ($err!='') $_SESSION['alert'][] = 'alert:raw:'._MAYORREV.':'._USERACCOUNT.':'.':'.$err; + return false; + } + + /* Írjuk felül a gyárit */ + $old_error_handler = set_error_handler("mayorErrorHandler"); + //restore_error_handler(); + +?> diff --git a/mayor-orig/www/include/base/log.php b/mayor-orig/www/include/base/log.php new file mode 100644 index 00000000..45c669e4 --- /dev/null +++ b/mayor-orig/www/include/base/log.php @@ -0,0 +1,33 @@ + 'logLogin', 'modul' => 'login', 'values' => array(_clientIp(), $userAccount, $policy, $flag))); + } + + function szamlal($policy, $page) { + $q = "INSERT INTO stat (dt, policy, page) VALUES (NOW(),'%s','%s')"; + db_query($q, array('fv' => 'szamlal', 'modul' => 'login', 'values' => array($policy, $page))); + } + + function mayorLogger($loglevel, $modul, $message, $userAccount='') { + if ($loglevel>_LOGLEVEL) { + $fp = fopen(_LOGDIR.'/'.$modul.'.log','a+'); + if ($fp!=false) { + $msg = date('Y-m-d H:i:s').' '.$userAccount.': '.$message."\n"; + fputs($fp,$msg); + fclose($fp); + } + } + } +?> diff --git a/mayor-orig/www/include/base/login.php b/mayor-orig/www/include/base/login.php new file mode 100644 index 00000000..f244b90a --- /dev/null +++ b/mayor-orig/www/include/base/login.php @@ -0,0 +1,120 @@ + $userAccount, 'password' => $userPassword, 'policy' => $toPolicy, 'skin'=>$toSkin); + if ($fbAuth===true) { + if ($FBDATA['toPolicy']==$toPolicy) { + $result = _AUTH_SUCCESS; // az authentikációt a mayorFacebookAuth() csinálta + $accountInformation['cn'] = $FBDATA['fbUserCn']; + $accountInformation['mail'] = $FBDATA['fbUserEmail']; + $accountInformation['studyId'] = $FBDATA['studyId']; + } else { + $_SESSION['alert'][] = 'info:A facebook azonosító nincs még összekötve! Először lépj be a MaYoR-ba, és kezdeményezd a facebook connectet!'; + continue;; + } + } elseif ($googleapiAuth===true) { + if ($GOOGLEAPIDATA['toPolicy']==$toPolicy) { + $result = _AUTH_SUCCESS; // az authentikációt a mayorGoogleapiAuth() csinálta + $accountInformation['cn'] = $GOOGLEAPIDATA['googleUserCn']; + $accountInformation['mail'] = $GOOGLEAPIDATA['googleUserEmail']; + $accountInformation['studyId'] = $GOOGLEAPIDATA['studyId']; + } else { + $_SESSION['alert'][] = 'info:A google azonosító nincs még összekötve! Először lépj be a MaYoR-ba, és kezdeményezd!'; + continue;; + } + } else { + $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy); // ??? toPolicy benne van az AccountInformation-ben!!! Ldap backend only? + logLogin($toPolicy, $userAccount, $result); + } + + define('_MAYORAUTHRESULT',$result); + if ($result === _AUTH_SUCCESS) { + $_SESSION['alert'] = array(); + $sessionID = newSession($accountInformation, $toPolicy); + if ($toSkin == '') $toSkin = $skin; + header('Location: '.location("index.php?page=$toPage&sub=$toSub&f=$toF&sessionID=$sessionID&policy=$toPolicy&lang=$lang&skin=$toSkin", array('alertOLD'))); + break; + } elseif ($result === _AUTH_EXPIRED) { + $_SESSION['alert'][] = 'message:force_pw_update'; + header('Location: '.location("index.php?policy=public&page=password&f=changeMyPassword&userAccount=".$userAccount."&toPolicy=$toPolicy&skin=$toSkin", array('alertOLD'))); + break; + } elseif ($result === _AUTH_FAILURE_1) { + // nincs ilyen user, megpróbáljuk beauthentikálni parent-tel is. + } elseif ($result >= _AUTH_FAILURE) { + // sikertelen azonosítás - a hibaüzenetet a függvény generálja + // megpróbáljuk beauthentikálni parent-tel is. + break; + } else { + // Ilyen csak hibás függvényműködés esetén lehet: + $_SESSION['alert'][] = "message:default:hibás visszatérési érték:userAuthentication:(".serialize($result).")"; + break; + } + } + } else { + $_SESSION['alert'][] = 'message:empty_field'; + } + } + +?> diff --git a/mayor-orig/www/include/base/mysql.php b/mayor-orig/www/include/base/mysql.php new file mode 100644 index 00000000..b2e22f82 --- /dev/null +++ b/mayor-orig/www/include/base/mysql.php @@ -0,0 +1,396 @@ + $config) { + if ($config['backend'] == 'mysql') { + $MYSQL_DATA[$_policy . ' auth'] = array( + 'user' => $config['mysql user'], + 'host' => $config['mysql host'], + 'pw' => $config['mysql pw'], + 'db' => $config['mysql db'], + ); + if ($MYSQL_DATA[$_policy . ' auth']['host']=='') + if ($MYSQL_DATA['host']=='') + $MYSQL_DATA[$_policy . ' auth']['host'] = 'localhost'; + else + $MYSQL_DATA[$_policy . ' auth']['host'] = $MYSQL_DATA['host']; + } + } +//-----------------------------------------------------------------------// + + function db_selectDb($db,$lr) { + if (MYSQLI_ENABLED===true) + return mysqli_select_db($lr,$db); + else + return mysql_select_db($db,$lr); + } + + function db_connect($modul, $SET = array('priv' => null, 'force' => true, 'host'=> null, 'username' => null, 'password' => null, 'db' => null, 'fv' => null)) { + + global $MYSQL_DATA; + + $lr = false; + extract($SET); + if (!isset($force)) $force = true; + if (!isset($priv)) $priv = ''; + + //if ($MYSQL_DATA['persistent']===true) $mysql_connect = 'mysql_pconnect'; else $mysql_connect = 'mysql_connect'; + $mysql_connect = 'mysql_connect'; + /* setting host */ + if (!isset($host)) { + if ($MYSQL_DATA[$modul]['host'.$priv]=='') { + if ($MYSQL_DATA[$modul]['host']=='') { + if ($MYSQL_DATA['host']=='') { + $host = 'localhost'; + } else { + $host = $MYSQL_DATA['host']; + } + } else { + $host = $MYSQL_DATA[$modul]['host']; + } + } else { + $host = $MYSQL_DATA[$modul]['host'.$priv]; + } + } + /* --- */ + if ($priv == 'root') { + if (MYSQLI_ENABLED===true) + $lr = @mysqli_connect($host, $username, $password); // force new ??? + else + $lr = @$mysql_connect($host, $username, $password, $force); + } else { + /* --- */ + if (is_array($MYSQL_DATA[$modul])) { + if (isset($priv) && $priv != '' && isset($MYSQL_DATA[$modul]['user'.$priv])) { // Először megpróbálunk $priv szerinti privilégiummal csatlakozni + if (MYSQLI_ENABLED===true) + $lr = @mysqli_connect($host, $MYSQL_DATA[$modul]['user'.$priv], $MYSQL_DATA[$modul]['pw'.$priv], $MYSQL_DATA[$modul]['db']); + else + $lr = @$mysql_connect($host, $MYSQL_DATA[$modul]['user'.$priv], $MYSQL_DATA[$modul]['pw'.$priv], $force); + } + if ($lr === false) {// Ha nem sikerült, vagy nem volt megadva privilégium, akkor próbáljunk anélkül csatlakozni + if (MYSQLI_ENABLED===true) + $lr = @mysqli_connect($host, $MYSQL_DATA[$modul]['user'], $MYSQL_DATA[$modul]['pw'], $MYSQL_DATA[$modul]['db']); + else + $lr = @$mysql_connect($host, $MYSQL_DATA[$modul]['user'], $MYSQL_DATA[$modul]['pw'], $force); + } + } else { + $_SESSION['alert'][] = "message:sql_failure/${SET['fv']}:db_connect:modul $modul has no config"; + } + } + if ($lr) { + // mysql_set_charset('utf8', $lr); + if ($priv != 'root') $db = $MYSQL_DATA[$modul]['db']; + if ($db != '') { + $result = db_selectDb($db , $lr); + if ($result === true) { + if (MYSQLI_ENABLED===true) { + mysqli_set_charset($lr, "utf8"); + mysqli_query($lr, "SET NAMES utf8"); + mysqli_query($lr, "SET collation_connection='utf8_hungarian_ci'"); + } else { + mysql_query("SET NAMES utf8", $lr); + mysql_query("SET collation_connection='utf8_hungarian_ci'", $lr); + } + } else { + $_SESSION['alert'][] = "message:sql_select_db_failure:db_connect/${SET['fv']}:$modul:".$MYSQL_DATA[$modul]['db']; + mysql_close($lr); + return false; + } + } elseif (!isset($MYSQL_DATA[$modul]['db'])) { + $_SESSION['alert'][] = "message:sql_warning:db_connect/${SET['fv']}:modul $modul has empty database config value"; + } + } else { + if (__DEBUG || (defined('__DETAILED') && __DETAILED)) $_SESSION['alert'][] = "message:sql_connect_failure:db_connect/${SET['fv']}:modul - $modul, priv - $priv, username - $username, db - $db"; + else $_SESSION['alert'][] = "message:sql_connect_failure:db_connect/${SET['fv']}:$modul modul"; + } + return $lr; + + } + + function db_close($lr) { + if ($MYSQL_DATA['persistent']!==true) { + if (MYSQLI_ENABLED===true) + return mysqli_close($lr); + else + return mysql_close($lr); + } else + return true; // not closing; + } + +//-----------------------------------------------------------------------// + + function db_query($q, $SET, $olr = null) { + /* + $SET = array( + 'modul' => '...' + 'fv' => '...' + 'result' => 'indexed'|'assoc'|'multiassoc'|'idonly'|'value'|'record'|'keyvaluepair'|'insert'|'affected rows' + 'keyfield' => '...' (if result in (assoc,multiassoc)) + 'detailed' => true | false (default) (echo the query in error messages) + 'debug' => true | false (default) (echo the query before quering it) + 'rollback' => true | false (default) + 'values' => array(...) (if $q is an sprintf format string) + ); + */ + global $_JSON; + + if (!isset($q) || $q == '') { + $_SESSION['alert'][] = 'message:sql_query_failure:db_query/'.$SET['fv'].':query is empty'; + return false; + } + + if (!isset($SET['result'])) $SET['result'] = ''; + + // Adatbázis csatlakozás (ha szükséges) + if (isset($olr) && $olr != '') { + if (MYSQLI_ENABLED===true) + $mysql_get_server_info = mysqli_get_server_info($olr); + else + $mysql_get_server_info = @mysql_get_server_info($olr); + } + if (isset($olr) && $olr != '' && $mysql_get_server_info !== false) { + $lr = $olr; + } else { + unset($olr); + if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','set ','use '))) $lr = @db_connect($SET['modul'], array('priv' => 'Read', 'fv' => $SET['fv'])); + else $lr = @db_connect($SET['modul'], array('priv' => 'Write', 'fv' => $SET['fv'])); + } + if ($lr === false) { + if ($SET['detailed'] === true || __DETAILED) $_SESSION['alert'][] = 'message:sql_connect_failure:db_query/'.$SET['fv'].':'.$SET['modul'].':'.$q; + else $_SESSION['alert'][] = 'message:sql_connect_failure:db_query/'.$SET['fv']; + return false; + } + + // Ha behelyettesítendő paraméterek vannak + if (isset($SET['values']) && is_array($SET['values']) && count($SET['values']) > 0) { + $SET['values'] = array_map('db_escape_string', $SET['values'], array_fill(0 , count($SET['values']), $lr)); + array_unshift($SET['values'], $q); + $q_pattern = $q; + $q = @call_user_func_array('sprintf', $SET['values']); + if ($q === false) { + $_SESSION['alert'][] = 'message:wrong_data:db_query:behelyettesítés:'.$SET['fv']; + return false; + } + } + if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') && __DEBUG === true)) { + $_q = str_replace(" ",'',$q); + echo '
info:debug:'.htmlspecialchars($SET['modul'].':'.$SET['fv'].':'.date('Y-m-d H:i:s').': '." \n".$_q)."
"; + if ($_GET['skin'] == 'ajax') $_JSON['sql log'][] = $SET['modul'].':'.$SET['fv'].':'.date('Y-m-d H:i:s').': '." \n".$_q; + if ($_GET['skin'] == 'rpc') { + openlog("MaYoR", LOG_PID | LOG_PERROR, LOG_LOCAL0); + syslog(LOG_WARNING, '[RPC]MySQL: '.(json_encode($SET)).", query: $_q {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})"); + closelog(); + } + } + if ( + ($SET['detailed'] === true || __DETAILED) + && strpos($q_pattern, '%s') !== false + && (strpos($q_pattern, '`%s`') === false && strpos($q_pattern, "'%s'") === false) + ) $_SESSION['alert'][] = 'message:lehet hiba?:db_query/'.$SET['fv'].':'.$SET['modul'].':'.$q_pattern; + + if ($SET['log']===true) mayorLogger(10,'mysql',$q,_USERACCOUNT); + if (MYSQLI_ENABLED===true) + $r = mysqli_query($lr,$q); + else + $r = @mysql_query($q, $lr); + define(MYSQL_LOGGER,false); + if (MYSQL_LOGGER === true) { + $filename = '/tmp/mysql.log'; + $fp = fopen($filename, "a+"); + fputs ($fp, $q."\n"); + fclose ($fp); + } + /* WARNING HANDLER */ +// if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') &&__DEBUG === true) || (defined('__DETAILED') && __DETAILED===true)) { + if ((isset($SET['debug']) && $SET['debug']===true) || (defined('__DEBUG') &&__DEBUG === true)) { + if (MYSQLI_ENABLED===true) + $warningCountResult = mysqli_query($lr,"SELECT @@warning_count"); + else + $warningCountResult = mysql_query("SELECT @@warning_count",$lr); + if ($warningCountResult) { + if (MYSQLI_ENABLED===true) + $warningCount = mysqli_fetch_row($lr,$warningCountResult); + else + $warningCount = mysql_fetch_row($warningCountResult); + if ($warningCount[0] > 0) { + //Have warnings + if (MYSQLI_ENABLED===true) + $warningDetailResult = mysqli_query($lr, "SHOW WARNINGS"); + else + $warningDetailResult = mysql_query("SHOW WARNINGS",$lr); + if ($warningDetailResult ) { + if (MYSQLI_ENABLED===true) + while ($warning = mysqli_fetch_assoc($lr, $warningDetailResult)) {dump($warning); mayorLogger(2,'mysql',$q.' '.$warning,_USERACCOUNT);} + else + while ($warning = mysql_fetch_assoc($warningDetailResult)) {dump($warning); mayorLogger(2,'mysql',$q.' '.$warning,_USERACCOUNT);} + } + }//Else no warnings + } + } + /* WARNING HANDLER */ + if (!$r) { + // if ($SET['detailed'] === true || __DETAILED) $_SESSION['alert'][] = 'message:sql_query_failure:'.$SET['fv'].':'.':'.$q; + if ($SET['detailed'] === true || __DETAILED) { + if (MYSQLI_ENABLED===true) { + $_SESSION['alert'][] = 'message:sql_query_failure:mysqli:'.$SET['fv'].':'.mysqli_error($lr).':'.$q; + } else { + $_SESSION['alert'][] = 'message:sql_query_failure:mysql:'.$SET['fv'].':'.mysql_error($lr).':'.$q; + } + } else { + $_SESSION['alert'][] = 'message:sql_query_failure:'.$SET['fv']; + } + if ($SET['rollback'] === true) db_rollback($lr, $SET['fv']); + if (!isset($olr)) db_close($lr); + return false; + } + + if (MYSQLI_ENABLED === true) { + + if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','(sel'))) { + $RESULT = array(); + switch($SET['result']) { + case 'indexed': + while ($A = mysqli_fetch_assoc($r)) $RESULT[] = $A; + break; + case 'assoc': + while ($A = mysqli_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]] = $A; + break; + case 'multiassoc': + while ($A = mysqli_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]][] = $A; + break; + case 'idonly': + while ($A = mysqli_fetch_row($r)) $RESULT[] = $A[0]; + break; + case 'value': + if (mysqli_num_rows($r) > 0) { + $A = mysqli_fetch_row($r); $RESULT = $A[0]; + } else { $RESULT = null; } + break; + case 'record': + if (mysqli_num_rows($r) > 0) { + $A = mysqli_fetch_assoc($r); $RESULT = $A; + } else { $RESULT = null; } + break; + case 'keyvaluepair': + while ($A = mysqli_fetch_row($r)) $RESULT[$A[0]] = $A[1]; + break; + case 'keyvalues': + while ($A = mysqli_fetch_row($r)) $RESULT[$A[0]][] = $A[1]; + break; + } + } elseif ($SET['result'] == 'insert' && (substr(strtolower($q),0,6) == 'insert' || substr(strtolower($q),0,7) == 'replace')) { + $RESULT = mysqli_insert_id($lr); + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } elseif ($SET['result'] == 'affected rows') { + $RESULT = mysqli_affected_rows($lr); + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } else { // create, insert, de nem olyan resulttal... + $RESULT = $r; + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } + } else { // OLD DRIVER + + if (in_array(substr(strtolower($q),0,4), array('sele','show','expl','(sel'))) { + $RESULT = array(); + switch($SET['result']) { + case 'indexed': + while ($A = mysql_fetch_assoc($r)) $RESULT[] = $A; + break; + case 'assoc': + while ($A = mysql_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]] = $A; + break; + case 'multiassoc': + while ($A = mysql_fetch_assoc($r)) $RESULT[$A[$SET['keyfield']]][] = $A; + break; + case 'idonly': + while ($A = mysql_fetch_row($r)) $RESULT[] = $A[0]; + break; + case 'value': + if (mysql_num_rows($r) > 0) { + $A = mysql_fetch_row($r); $RESULT = $A[0]; + } else { $RESULT = null; } + break; + case 'record': + if (mysql_num_rows($r) > 0) { + $A = mysql_fetch_assoc($r); $RESULT = $A; + } else { $RESULT = null; } + break; + case 'keyvaluepair': + while ($A = mysql_fetch_row($r)) $RESULT[$A[0]] = $A[1]; + break; + case 'keyvalues': + while ($A = mysql_fetch_row($r)) $RESULT[$A[0]][] = $A[1]; + break; + } + } elseif ($SET['result'] == 'insert' && (substr(strtolower($q),0,6) == 'insert' || substr(strtolower($q),0,7) == 'replace')) { + $RESULT = mysql_insert_id($lr); + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } elseif ($SET['result'] == 'affected rows') { + $RESULT = mysql_affected_rows($lr); + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } else { // create, insert, de nem olyan resulttal... + $RESULT = $r; + mayorLogger(1,'mysql',$q,_USERACCOUNT); + } + } // DRIVER + + if (!isset($olr)) db_close($lr); + return $RESULT; + + } + +//-----------------------------------------------------------------------// + + function db_start_trans($lr) { + if ($lr != '') + if (MYSQLI_ENABLED === true) + mysqli_query($lr, "START TRANSACTION"); + else + mysql_query("START TRANSACTION", $lr); + } + + function db_commit($lr) { + if ($lr != '') + if (MYSQLI_ENABLED === true) + mysqli_query($lr, "COMMIT"); + else + mysql_query("COMMIT", $lr); + } + + function db_rollback($lr, $msg = '') { + if ($lr != '') { + $_SESSION['alert'][] = 'message:rollback:'.$msg; + if (MYSQLI_ENABLED === true) + mysqli_query($lr, "ROLLBACK"); + else + mysql_query("ROLLBACK", $lr); + } + } + +//---------------------------------------------------------------------// + + function db_escape_string($str, $olr = null) { + + if (isset($olr)) $lr = $olr; + else $lr = db_connect('login'); + + if (!$lr) return false; + + if(get_magic_quotes_gpc()) { + $return = mysql_real_escape_string(stripslashes($str), $lr); + } else { + if (MYSQLI_ENABLED===true) + $return = mysqli_real_escape_string($lr, $str); + else + $return = mysql_real_escape_string($str, $lr); + } + if (!isset($olr)) db_close($lr); + + return $return; + } + +?> diff --git a/mayor-orig/www/include/base/rights.php b/mayor-orig/www/include/base/rights.php new file mode 100644 index 00000000..1f3eed0f --- /dev/null +++ b/mayor-orig/www/include/base/rights.php @@ -0,0 +1,376 @@ += 0; $i--) $ret |= ord($res[$i]); + return !$ret; + } + } +} + + +function sessionCookieEncode($sessionID,$now,$extra='') +{ + if ($extra=='') $extra = uniqid(rand(), true); + $extraHash=sessionHash('ripemd160',$extra); +// pwHash added +// $value = base64_encode(strtotime($now).'g'.$extraHash); + $pwHash = sessionHash('ripemd160',uniqid(rand(), true)); + $value = base64_encode(strtotime($now).'g'.$extraHash.'g'.$pwHash); + return array('name'=>md5($sessionID), 'value'=>$value, 'store'=> $extraHash, 'pwHash'=>$pwHash); +} + +function sessionCookieDecode($sessionID) +{ + return explode('g',base64_decode($_COOKIE[md5($sessionID)])); +} + +function pseudoTokenGenerator() { + + if (function_exists('openssl_random_pseudo_bytes')) + $token = bin2hex(openssl_random_pseudo_bytes(32)); + else + $token = bin2hex(sessionHash()); + return $token; +} + +###################################################################### +# Azonosított user ellenőrzése a session tábla alapján +###################################################################### + + + +function validUser($sessionID,$policy,$skin='',$lang='') { + + if (_RUNLEVEL === 'cron') { + define('_USERPASSWORD','MaYoR-cron'); + define('_USERACCOUNT','MaYoR-cron'); + define('_USERCN','MaYoR-cron User'); + define('_STUDYID',''); + define('_LANG',$lang); + define('_SESSIONID','cron'); + return true; + } + + if ($sessionID == '') { + + if ($policy == _POLICY) { + define('_USERPASSWORD',''); + define('_USERACCOUNT',''); + define('_USERCN',''); + define('_STUDYID',''); +// define('_SKIN',$skin); + define('_LANG',$lang); + define('_SESSIONID',''); + } + return false; + + } else { + + $lr = db_connect('login', array('fv' => 'validUser')); + + if ($lr === false) die('A keretrendeszer adatbázisa nem érhető el! (validUser)'); + // ha nem tudta beállítani a sütit, akkor az $_sc üres lesz így a dt feltétel 1970-01-01, ami nem gond. +// pwHash +// list($_sessionDt,$_sessionCookie) = sessionCookieDecode($sessionID); + list($_sessionDt,$_sessionCookie,$_sessionPwHash) = sessionCookieDecode($sessionID); +// pwHash +// $query = "SELECT userAccount, userCn, studyId, decode(userPassword, '"._MYSQL_ENCODE_STR."'), skin, lang, activity, dt +// FROM session WHERE sessionID='%s' AND policy='%s'"; + $query = "SELECT userAccount, userCn, studyId, aes_decrypt(userPassword, '%s'), skin, lang, activity, dt + FROM session WHERE sessionID='%s' AND policy='%s'"; // [SECURITY-002] quickfix from marton.drotos@sztaki.hu + + if (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME != 0) $query .= " AND activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR > NOW()"; + + $query .= " AND dt='".date('Y-m-d H:i:s', (($_sessionDt=="")?null:$_sessionDt) )."'"; + $query .= " AND sessionCookie='%s'"; + + $ret = db_query($query, array('fv' => 'validUser', 'modul' => 'login', 'result' => 'indexed', 'values' => array($_sessionPwHash, $sessionID, $policy, $_sessionCookie)), $lr); + + $num = count($ret); + if ($num == 1) { + + list($userAccount, $userCn, $studyId, $userPassword, $savedSkin, $lang, $activity, $dt) = array_values($ret[0]); + /* PDA */ + global $SKINS; + if (_USER_AGENT!=='ppc' && @in_array($savedSkin,$SKINS) ) $skin=$savedSkin; + if ($policy == _POLICY) { + define('_USERACCOUNT',$userAccount); + define('_USERCN',$userCn); + define('_STUDYID',$studyId); + define('_USERPASSWORD',$userPassword); +// define('_SKIN',$skin); + define('_LANG',$lang); + define('_SESSIONID',$sessionID); + } + // Aktivitás figyelése! + $query = "UPDATE session SET activity = NOW() WHERE sessionID = '%s'"; + db_query($query, array('fv' => 'validUser', 'modul' => 'login', 'values' => array($sessionID)), $lr); + db_close($lr); + return true; + + } else { + + if ($policy == _POLICY) { + define('_USERPASSWORD',''); + define('_USERACCOUNT',''); + define('_USERCN',''); + define('_STUDYID',''); +// define('_SKIN',$skin); + define('_LANG',$lang); + define('_SESSIONID',''); + } + db_close($lr); + if ($num > 1) $_SESSION['alert'][] = 'message:multi_session'; + if ($_sessionDt==="") define('_NOCOOKIE',true); // beállítjuk, hogy üzenni tudjunk + + return false; + + } + + } + +} + +//=================================================================================================================================== +// ------------------------------------------ +// debug üzenetek tárolása - a $_DEBUG változóba kerül midnen +// ------------------------------------------ + if (_RUNLEVEL!=='cron') ob_start(); + +// ------------------------------------------ +// a $page, $sub és $f csak a-z betűvel kezdődhet, utána pedig csak (a-z, /_-). $page és $f nem lehet üres +// ------------------------------------------ + + if ( + (preg_match('#^([a-z]|[A-Z])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $page) == false) OR + ($sub != '' AND preg_match('#^([a-z]|[A-Z])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $sub) == false) OR + (preg_match('#^([0-9]|[a-z]|[A-Z]|_|-)*$#', $f) == false) + ) { + $_SESSION['alert'][] = 'page:wrong_page:'; + $RIGHTS_OK = false; + } else { + $RIGHTS_OK = true; + } + +// ------------------------------------------ +// Security Check: $policy szerinti ellenőrzés +// ------------------------------------------ + + // A validUser (session.php) beállítja az alapvető session konstansokat is + if ( !validUser($sessionID,$policy,$skin,$lang) ) { + if ($AUTH[$policy]['authentication'] == 'required') { + if (defined('_NOCOOKIE')) $_SESSION['alert'][] = 'message:cookie';//$extendAlert='alert[]=message:cookie&'; + $_SESSION['alert'][]='message:auth_failure:'._CONTROL_FLAG_REQUIRED; + header('Location: index.php?policy=public&page=auth&f=login&toPolicy='.$policy."&toPSF=$page:$sub:$f&sessionID=$sessionID"); + die(); + } else { + // Hibás, vagy nem létező sessionID esetének kezelése - ha nem kötelező a sessionID --> nem csinálunk semmit (lehet egy másik policy-ben valid + } + + } + if (file_exists('include/share/session/base.php')) { + // A session kezeléshez szükséges backend függő függvények pl. memberOf + require('include/share/session/base.php'); + + } + // Remote Protocol Call (MaYoR) + if ($skin=='rpc') { + define('_RPC',true); + require_once('include/share/ssl/ssl.php'); + try + { + $_RPC['senderNodeId'] = $senderNodeId = readVariable($_POST['senderNodeId'],'strictstring',0); + $RPC = new Interconnect(); + $RPC->setRequestTarget('controller'); // A remoteHost lekérdezéshez kellhet + $RPC->setRemoteHostByNodeId($_RPC['senderNodeId']); + $RPC->processRequest(); // vélhetően van request + $_RPC['request'] = $RPC->getIncomingRequest(); + } + catch (Exception $e) + { + //$func=''; + //$DATA = array('error'=>$e->getMessage()); + } + } else { define('_RPC',false); } + // Interconnect end + + define('_RIGHTS_OK',$RIGHTS_OK); + + /* XSRF2 */ + define('__SALTNAME','MS_'.sha1($page.'_'.$sub.'_'.$f)); + define('__SALTVALUE',sessionHash()); + // mtoken + if (empty($_SESSION['mayorToken'])) { + $_SESSION['mayorToken'] = pseudoTokenGenerator(); + } + if (count($_POST)>0) { + if (!empty($_POST['mayorToken'])) { + if (hash_equals($_SESSION['mayorToken'], $_POST['mayorToken'])) { + // OK, token regenerálás + visszakuldjuk az ETAG-ben + $_SESSION['mayorToken'] = pseudoTokenGenerator(); + } else { + if ($_POST['action']!='') { /* Ha nincs action formváltozó, nincs szükség hibaüzenetre, a form nem módosít, de most... */ + $_SESSION['alert'][] = 'message:not_valid_form:pnu2'; + $_JSON['result'] = false; + } + unset($_POST['action']); + unset($action); + } + } else { // klasszikus ellenőrzés, fallback // TODO BEGIN DEPRECATED BLOCK + // $_JSON['result'] = false; // ITT gátolhatjuk a működést + if ($_COOKIE[__SALTNAME]=='') { // a session átállásig - ez semmitől nem véd, adott nevű sütit generálni bárki tud + $_SESSION['alert'][] = 'message:not_valid_form:no cookie'.$_SESSION[__SALTNAME]; + $_JSON['result'] = false; + unset($_POST['action']); + unset($action); + } elseif (!is_null($_COOKIE[__SALTNAME]) && ($_COOKIE[__SALTNAME] == $_POST[__SALTNAME])) { + // rendben + } else { + if ($_POST['action']!='') { // Ha nincs action formváltozó, nincs szükség hibaüzenetre, a form nem módosít + $_SESSION['alert'][] = 'message:not_valid_form'; + $_JSON['result'] = false; + } + unset($_POST['action']); + unset($action); + } + } // END DEPRECATED BLOCK + } + // eredeti post kezelés + ETAG prevent cache + if (($_SERVER['HTTPS']!=='on') || (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']!='' && substr($_SERVER['HTTP_REFERER'],4,1)!=='s')) $_ssl = false; else $_ssl=true; + if (@setcookie(__SALTNAME,__SALTVALUE,time()+60*60*_SESSION_MAX_IDLE_TIME,'/','',$_ssl, true) == false) { + $_SESSION['alert'][] = 'message:no_cookie:unabletoset'; + } + /* /XSRF2 previous revision: r4138 */ + + // betöltjük az össes config-ot... (lásd még widgets) + try { + $_dirlist = scandir(_CONFIGDIR); + for ($i=0; $igetMessage(); + } + // ha betöltenénk az ÖSSZES modul include-jait, akkor be kéne mindent tölteni kb. ugyhogy ezt hagyjuk + if ($dh_all = @opendir("include/widgets/")) { + $includes = array(); + while (($_file = readdir($dh_all)) !== false) { + if (substr($_file,-4) == '.php') $includes[] = $_file; + } + closedir($dh_all); + sort($includes); + for ($i = 0; $i < count($includes); $i++) { + require_once("include/widgets/".$includes[$i]); + } + } + unset($file); + /* ---- */ + if (!in_array($page,$_loadModule)) $_loadModule[] = $page; + for ($i=0; $i10) array_shift($_SESSION['breadcrumb']); + $_SESSION['breadcrumb'][] = array('page'=>"$page",'sub'=>"$sub",'f'=>"$f"); + // --------- + if (file_exists($includeFile)) require($includeFile); + if (file_exists($skinFile)) require($skinFile); + if (file_exists($preFile)) include($preFile); + +// --------------------------------------- +// debug üzenetek tárolásának vége +// --------------------------------------- + $_DEBUG = ob_get_contents(); + ob_end_clean(); + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/base/str.php b/mayor-orig/www/include/base/str.php new file mode 100644 index 00000000..5c5a7c07 --- /dev/null +++ b/mayor-orig/www/include/base/str.php @@ -0,0 +1,230 @@ + Lat2 --> ékezettelen) +// ------------------------------------------------------------------- + +function ekezettelen($str) { + return strtr(mb_convert_encoding($str, 'ISO-8859-2', 'UTF-8'), '', 'aaeiooouuuAAEIOOOUUU'); +} + +/* +// --------------------------------------------------------------------------- +// +// UTF8 <--> ISO88592 váltás +// +// --------------------------------------------------------------------------- + +function UTF8_to_ISO88592($str) { + + return mb_convert_encoding($str,'ISO-8859-2','UTF-8'); + +} + +function ISO88592_to_UTF8($str) { + + return mb_convert_encoding($str,'UTF-8','ISO-8859-2'); + +} +*/ + +// --------------------------------------------------------------------------- +// +// Két string összehasonlítása a magyar ABC szerint ($a < $b => -1) +// +// --------------------------------------------------------------------------- + +function str_cmp($a,$b) { + + $ABC = Array('a'=>1, + ''=>1, + ''=>1, + 'b'=>3, + 'c'=>4, + 'd'=>5, + 'e'=>6, + ''=>7, + 'f'=>8, + 'g'=>9, + 'h'=>10, + 'i'=>11, + ''=>12, + 'j'=>13, + 'k'=>14, + 'l'=>15, + 'm'=>16, + 'n'=>17, + 'o'=>18, + ''=>18, + ''=>20, + ''=>20, + 'p'=>22, + 'q'=>23, + 'q'=>24, + 'r'=>25, + 's'=>26, + 't'=>27, + 'u'=>28, + ''=>28, + ''=>30, + ''=>30, + 'v'=>32, + 'x'=>33, + 'w'=>34, + 'y'=>35, + 'z'=>36 + ); + + $a = kisbetus(mb_convert_encoding($a,'ISO-8859-2','UTF-8')); + $b = kisbetus(mb_convert_encoding($b,'ISO-8859-2','UTF-8')); + + if ($a==$b) return 0; + + $i=0; + while( $i= 1000) { $roman .= "M"; $number = $number -1000; } + while ($number >= 900) { $roman .= "CM"; $number = $number -900; } + while ($number >= 500) { $roman .= "D"; $number = $number -500; } + while ($number >= 400) { $roman .= "CD"; $number = $number -400; } + while ($number >= 100) { $roman .= "C"; $number = $number -100; } + while ($number >= 90) { $roman .= "XC"; $number = $number -90; } + while ($number >= 50) { $roman .= "L"; $number = $number -50; } + while ($number >= 40) { $roman .= "XL"; $number = $number -40; } + while ($number >= 10) { $roman .= "X"; $number = $number -10; } + while ($number >= 9) { $roman .= "IX"; $number = $number -9; } + while ($number >= 5) { $roman .= "V"; $number = $number -5; } + while ($number >= 4) { $roman .= "IV"; $number = $number -4; } + while ($number >= 1) { $roman .= "I"; $number = $number -1; } + return $roman; + } + + function visszafele($e) {$b='';for($i=0; $i= 0; $i--) $ret |= ord($res[$i]); + return !$ret; + } + } + } + + if ( !function_exists( 'hex2bin' ) ) { + function hex2bin( $str ) { + $sbin = ""; + $len = strlen( $str ); + for ( $i = 0; $i < $len; $i += 2 ) { + $sbin .= pack( "H*", substr( $str, $i, 2 ) ); + } + return $sbin; + } + } + + function makeLinksClickable($text){ + $pattern[] = '/(\S+@\S+\.\S+)/'; + $replace[] = '$1'; + $pattern[] = '!(((f|ht)tp(s)?://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i'; +// $replace[] = '$1 '; + $replace[] = '[LINK]'; + return preg_replace($pattern, $replace, $text); + } + function supertext($txt) { + $r = $txt; + $r = htmlspecialchars($r); + $pattern[]='/@diakId:(\d+)/'; + $pattern[]='/@tanarId:(\d+)/'; + $pattern[]='/@tankorId:(\d+)/'; + //$pattern[]='/@osztalyId:(\d+)/'; + $replacement[]=''; + $replacement[]=''; + $replacement[]='[tankör adatok]'; + //$replacement[]='[osztály adatok]'; + $r = preg_replace($pattern,$replacement,$r); + return $r; + } + + + require_once('include/share/date/names.php'); + function superdate($datetime) { + global $aHetNapjai; + $stamp = strtotime($datetime); + $date = date('Y-m-d',$stamp); + $dow = date('N',$stamp); + $Hi = date('H:i',$stamp); + if ($Hi == '00:00') $Hi = ''; + if ($stamp<=strtotime('-6 day')) { + return date('Y.m.d.', $stamp).' '.$Hi; + } elseif ($date==date('Y-m-d')) { + return 'Ma '.$Hi; + } elseif ($dow>date('N')) { + return 'Múlt hét '.kisbetus($aHetNapjai[$dow-1]).' '.$Hi; + } else { + return $aHetNapjai[$dow-1].' '.$Hi; + } + } + +?> diff --git a/mayor-orig/www/include/base/var.php b/mayor-orig/www/include/base/var.php new file mode 100644 index 00000000..3068fbc6 --- /dev/null +++ b/mayor-orig/www/include/base/var.php @@ -0,0 +1,134 @@ += 0) ? intval($IN) : $default; + break; + case 'float': + $return = (isset($IN) && is_numeric($IN)) ? floatval($IN) : $default; + break; + case 'float unsigned': + $return = (isset($IN) && is_numeric($IN) && $IN >= 0) ? floatval($IN) : $default; + break; + case 'datetime': + $return = (isset($IN) && $IN != '' && strtotime($IN) !== false && strtotime($IN) > 0) ? $IN : $default; + break; + case 'date': + $return = (isset($IN) && $IN != '' && strtotime($IN) !== false && strtotime($IN) > 0) ? date('Y-m-d',strtotime($IN)) : $default; + break; + case 'enum': + case 'emptystringnull': + case 'string': + if(get_magic_quotes_gpc()) $IN = stripslashes($IN); // -- DEPRECATED (mindig false) + $return = (isset($IN) && $IN != '') ? $IN : $default; + break; + case 'notempty': + $return = (isset($IN) && $IN != '') ? true : false; + break; + case 'bool': + // Ha nincs beállítva, akkor mindenképp true lenne így: + // $return = (isset($IN) && ($IN === 'false' || !$IN)) ? false : true; + $return = (isset($IN)) ? (($IN === 'false' || !$IN)? false : true) : $default; + break; + case 'strictstring': + $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9_\-]/i",'',$IN) : $default; + break; + case 'html': + $return = (isset($IN)) ? preg_replace("/[^a-zA-Z0-9\ \.\,?_|:;űáéúőóüöíŰÁÉÚŐÓÜÖÍ\-]/i",'',$IN) : $default; + break; + case 'hexa': + $return = preg_replace("/[^0-9a-fA-F]/i",'',$IN); + break; + case 'number': + $return = preg_replace("/[^0-9]/",'',$IN); + break; + case 'sql': + $return = db_escape_string($IN); + if ($return === false) $return = $default; + break; + case 'path': + $return = ( preg_match('#^([a-z]|[A-Z]|[0-9])([0-9]|[a-z]|[A-Z]|/|_|-)*$#', $IN ) != false ) ? $IN : $default; + break; + case 'regexp': + $return = ( preg_match( "#$allowOnly[0]#", $IN ) == 1 ) ? $IN : $default; + break; + case 'regreplace': + $return = preg_replace( '#'.$allowOnly[0].'#i', '', $IN ); + break; + case 'mail': + case 'email': + $return = filter_var($IN, FILTER_VALIDATE_EMAIL); + break; + case 'userAccount': + $return = (preg_match("#([a-z]|[A-Z]|[0-9]| |\.|,|_|[űáéúőóüöíŰÁÉÚŐÓÜÖÍäÄ]|-|@)*$#", $IN) != false) ? $IN : $default; + break; + default: + $return = $IN; + $_SESSION['alert'][] = 'message:unknown_type:'.$type.':readVariable'; + break; + } + if ($return !== $default && !in_array($type,array('regexp','regreplace')) && count($allowOnly) > 0) $return = (in_array($return, $allowOnly)) ? $return : $default; + if (isset($condition) && $return != $default) $return = (eval("return $condition;")) ? $return : $default; + } + + return $return; + } + + function in_date_interval($dt,$tolDt,$igDt) { + $accept = false; + if ($dt == date('Y-m-d', strtotime($tolDt))) // ha a kezdőnapra esik + $accept = true; + if ($dt == date('Y-m-d', strtotime($igDt))) // ha a végnapra esik + $accept = true; + return ( + $accept + || ( + (is_null($tolDt) || strtotime($tolDt)<=strtotime($dt)) + && (is_null($igDt) || strtotime($dt)<=strtotime($igDt)) + ) + ); + } + + // FIGYELEM! Csak megbízható belső kódban használjuk + function reindex($THIS, $HOW) { + // ha nincs megadva, hogy hogy, adjuk vissza az eredeti tömböt + if (!is_array($HOW) || count($HOW)==0) return $THIS; + + $RET = array(); + for ($i=0; $i'; + call_user_func_array('var_dump', $ARGS); + echo '
'; + + } + +?> diff --git a/mayor-orig/www/include/menu/base.php b/mayor-orig/www/include/menu/base.php new file mode 100644 index 00000000..c5a7d773 --- /dev/null +++ b/mayor-orig/www/include/menu/base.php @@ -0,0 +1,107 @@ + array( // Az első szinten a modulok menüpontjai + array('txt1'[,'url1']), + [array('txt2'[,'url2']), ...] + ), + [$page2 => array( ... ), ...] + $item1 => array( // Az elsp szinten nem modulhoz tartozó tételek + array('txt1'[,'url1']), + [array('txt2'[,'url2']), ...] + ), + [$item2 => array( ... ), ...] + 'modules' => array( // 'modules'-en belul csak page-ek vannak + $page1 => array( + 'sub' => array( // 'sub'-on belül csak sub-ok vannak + $sub1 => array( + $f1 => array( + array('txt1'[,'url1']), + [array('txt2'[,'url2']), ...] + ), + [$f2 => array( + array('txt1'[,'url1']), + [array('txt2'[,'url2']), ...] + ), ...] + ), + [$sub2 => arrray( ... ), ...] + ), + [$f1 => array( + array('txt1'[,'url1']), + [array('txt2'[,'url2']), ...] + ), ...] + ), + [$page2 => array( ... ), ...] + ) + ) + +Kirajzolva: + +$M[$page1][0] | $M[$page1][1] ... | $M[$page2][0] | ... | $M[$item1][0] | $M[$item1][1] ... +$M['modules'][$page][$f1][0] | $M['modules'][$page][$f1][1] ... | $M['modules'][$page][$f2][0] | $M['modules'][$page][$f1][0] ... +$M['modules'][$page]['sub'][$sub][$f1][0] ... $M['modules'][$page]['sub'][$sub][$f2][0] + +Például: + + $MENU['modules']['login'] = array( + 'sub' => array( + + 'sub1' => array( + 'f11' => array( + array('txt' => 'Kakukk'), + array('txt' => 'Tojás', 'url'=>'http://') + ) + ), + 'sub2' => array( + 'f21' => array( + array('txt' => 'Cica'), + ) + ) + + ), + 'login' => array( + array('txt' => 'Szülői bejelentkezés','url' => '&toPolicy=parent'), + array('txt' => 'Bejelentkezés','url' => '&toPolicy=private'), + ) + ); +*/ + +?> diff --git a/mayor-orig/www/include/menu/parent/hu_HU/base.php b/mayor-orig/www/include/menu/parent/hu_HU/base.php new file mode 100644 index 00000000..9bb5a5db --- /dev/null +++ b/mayor-orig/www/include/menu/parent/hu_HU/base.php @@ -0,0 +1,44 @@ + 'Kilépés', + 'url' => 'index.php?policy=public&page=session&f=logout', + 'get' => array('sessionID','skin','lang') + ) + ); + $MENU['session'] = array( + array( + 'txt' => 'Jelszóváltoztatás', + 'url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent', + 'get' => array('skin','lang','sessionID'), + ) + ); + } + $MENU['modules']['session'] = array( + // 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')), +// 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')), + 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=parent','get' => array('skin','lang','sessionID'))), +// 'sub' => array( +// 'search' => array( +// 'searchAccount' => array(array('txt' => 'Felhasználó keresése')), +// 'searchGroup' => array(array('txt' => 'Csoport keresése')), +// ) +// ) + ); +// $MENU['home'] = array( +// array('txt' => 'Kezdőlap', 'url' => 'index.php') +// ); + + global $NAV; + if ($page=='session') { + if (is_array($MENU['modules']['session'])) foreach ($MENU['modules']['session'] as $_sub => $M) { + $NAV[2][] = array('page' => 'session', 'f' => $_sub); + } + } + $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword'); + $NAV[1][] = array('page'=>'logout'); + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php b/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php new file mode 100644 index 00000000..7ccfde13 --- /dev/null +++ b/mayor-orig/www/include/menu/parent/hu_HU/module-naplo.php @@ -0,0 +1,76 @@ + 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok', 'icon' => 'icon-bullhorn'); + $NAVI[] = array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend', 'icon' => 'icon-th'); + $NAVI[] = array('txt' => 'Jegyek', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=diak', 'icon' => 'icon-pencil'); + + + $MENU['naplo'] = array( + array('txt' => 'Napló'), +// array('txt' => 'Jelentkezés fogadóórára', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra'), + array('txt' => 'Kezdőlap (diák választás)', 'url' => 'index.php?page=naplo&sub=&f=diakValaszto') + ); + + // A menüpontok sorrendjének beállítása - ettől még nem jelenik meg semmi :) + $MENU['modules']['naplo'] = array( + 'haladasi' => array(), + 'osztalyozo' => array(), + 'hianyzas' => array(), + 'bejegyzesek' => array(), + 'tanev' => array(), + 'intezmeny' => array(), + 'admin' => array(), + ); + +if ($page=='naplo') { + + if (__DIAK) { + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi&f=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=diak')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas&f=diak')); + $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek&f=bejegyzesek')); + $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles&f=ertekeles')); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'dolgozat' => array(array('txt' => 'Dolgozatok')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + ); + $MENU['modules']['naplo']['sub']['tanev'] = array( + 'munkaterv' => array(array('txt' => 'Éves munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv')), + 'fogadoOra' => array(array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra')) + ); + $MENU['modules']['naplo']['fogad'] = array(array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra')); + $MENU['modules']['naplo']['munkaterv'] = array(array('txt' => 'Éves munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv')); + $MENU['modules']['naplo']['orarend'] = array(array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend')); + $MENU['modules']['naplo']['intezmeny'] = array( + array('txt' => 'Diák adatlapja', 'url' => 'index.php?page=naplo&sub=intezmeny&f=diak'), + array('txt' => 'Tanévváltás', 'url' => 'index.php?page=naplo&sub=intezmeny&f=valtas') + ); + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'stat' => array(array('txt' => 'Haladási statisztika')), + ); + if (__UZENO_INSTALLED===true) + $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); + $MENU['modules']['naplo']['hirnok'] = array(array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok')); + $MENU['modules']['naplo']['valasztas'] = array(array('txt' => 'Kezdőlap (diák választás)', 'url' => 'index.php?page=naplo&sub=&f=diakValaszto')); + + } + + // Navigáció - alapértelmezés + array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'orarend')); + array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'hianyzas')); + array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'osztalyozo')); + array_unshift($NAV[1], array('page' => 'naplo', 'sub' => 'haladasi')); + + if (is_array($MENU['modules']['naplo']['sub'][$sub])) foreach ($MENU['modules']['naplo']['sub'][$sub] as $_f => $M) { + $NAV[2][] = array('page' => 'naplo', 'sub' => $sub, 'f' => $_f); + } elseif (is_array($MENU['modules']['naplo'])) foreach ($MENU['modules']['naplo'] as $_f => $M) { + if ($_f != 'sub') $NAV[2][] = array('page' => 'naplo', 'sub' => $_f); + } +} + + +?> diff --git a/mayor-orig/www/include/menu/private/hu_HU/base.php b/mayor-orig/www/include/menu/private/hu_HU/base.php new file mode 100644 index 00000000..c872a4ca --- /dev/null +++ b/mayor-orig/www/include/menu/private/hu_HU/base.php @@ -0,0 +1,67 @@ + 'Kilépés', + 'url' => 'index.php?policy=public&page=session&f=logout', + 'get' => array('sessionID','skin','lang') + ) + ); + $MENU['session'] = array( + array( + 'txt' => 'Felhasználók', + 'url' => 'index.php?page=session' +// 'url' => 'index.php?page=session&sub=search&f=searchAccount' + ) + ); + } + + if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) { +/* $MENU['admin'] = array( + array( + 'txt' => 'Admin', + 'url' => 'index.php?page=session&sub=admin&f=registration', + ) + ); +*/ + $MENU['modules']['session'] = array( + 'createAccount' => array(array('txt' => 'Új felhasználó')), + 'createGroup' => array(array('txt' => 'Új csoport')), + 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')), + 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')), + 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=private','get' => array('skin','lang','sessionID'))), + 'sessionAdmin' => array(array('txt' => 'Munkamenetek')), + 'facebookConnect' => array(array('txt' => 'Facebook azonosítás')), + 'googleapi' => array(array('txt' => 'Google azonosítás')), + 'admin' => array(array('txt' => 'Szerver regisztráció','url'=>'index.php?page=session&sub=admin&f=registration')), + ); + $MENU['modules']['session']['sub']['admin'] = array( + 'registration' => array(array('txt' => 'Végpont regisztráció a felhőbe','url'=>'index.php?page=session&sub=admin&f=registration')), + 'knownNodes' => array(array('txt' => 'Ismert végpontok','url'=>'index.php?page=session&sub=admin&f=knownNodes')), + ); + + } else { + $MENU['modules']['session'] = array( + 'searchAccount' => array(array('txt' => 'Felhasználó keresése','url' => 'index.php?page=session&sub=search&f=searchAccount')), + 'searchGroup' => array(array('txt' => 'Csoport keresése','url' => 'index.php?page=session&sub=search&f=searchGroup')), + 'changeMyPassword' => array(array('txt' => 'Jelszóváltoztatás','url' => 'index.php?page=password&sub=&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public&toPolicy=private','get' => array('skin','lang','sessionID'))), + 'facebookConnect' => array(array('txt' => 'Facebook belépés')), + 'googleapi' => array(array('txt' => 'Google belépés')), + ); + } + + global $NAV; + if ($page=='session') { + if (is_array($MENU['modules']['session'])) foreach ($MENU['modules']['session'] as $_sub => $M) { + $NAV['2'][] = array('page' => 'session', 'f' => $_sub); + } + } else { +/* if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) { + $NAV[1][] = array('page'=>'session'); + } else { + $NAV[1][] = array('page'=>'session','f'=>'changeMyPassword'); + } +*/ + } +?> \ No newline at end of file diff --git a/mayor-orig/www/include/menu/private/hu_HU/module-naplo.php b/mayor-orig/www/include/menu/private/hu_HU/module-naplo.php new file mode 100644 index 00000000..422e5058 --- /dev/null +++ b/mayor-orig/www/include/menu/private/hu_HU/module-naplo.php @@ -0,0 +1,613 @@ + 'Napló', 'url' => 'index.php?page=naplo')); + + if (__DIAK === true) { + $NAVI[] = array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok', 'icon' => 'icon-bullhorn'); + $NAVI[] = array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend', 'icon' => 'icon-th'); + $NAVI[] = array('txt' => 'Jegyek', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=diak', 'icon' => 'icon-pencil'); + } elseif (__TANAR === true) { + $NAVI[] = array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok', 'icon' => 'icon-bullhorn'); + $NAVI[] = array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend', 'icon' => 'icon-th'); + $NAVI[] = array('txt' => 'Osztályozó', 'url' => 'index.php?page=naplo&sub=osztalyozo&f=tankor', 'icon' => 'icon-pencil'); + } else { + $NAVI[] = array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok', 'icon' => 'icon-bullhorn'); + $NAVI[] = array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend', 'icon' => 'icon-th'); + } + + + // A menüpontok sorrendjének beállítása - ettől még nem jelenik meg semmi :) + $MENU['modules']['naplo'] = array( + 'haladasi' => array(), + 'osztalyozo' => array(), + 'hianyzas' => array(), + 'bejegyzesek' => array(), + 'orarend' => array(), + 'tanev' => array(), + 'intezmeny' => array(), + 'stat' => array(), + 'ertekeles' => array(), + 'admin' => array(), + ); + + /* Kiegészítő beállítások egy oldalhoz */ + /* Contrib */ + // $MENU['set']['private']['naplo']['tanev']['helyettesites']['refresh'] = 60; + /* -- */ + + if (__DIAK) { + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas')); + $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek')); + $MENU['modules']['naplo']['diakTankorJelentkezes'] = array(array('txt'=> 'Tankörjelentkezés', 'url'=> 'index.php?page=naplo&sub=intezmeny&f=diakTankorJelentkezes')); + $MENU['modules']['naplo']['esemeny'] = array(array('txt' => 'Esemény jelentkezés', 'url' => 'index.php?page=naplo&sub=esemeny')); + $MENU['modules']['naplo']['diakFelmentes'] = array(array('txt' => 'Felmentés', 'url' => 'index.php?page=naplo&sub=intezmeny&f=diakFelmentes')); + $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles')); + $MENU['modules']['naplo']['hibabejelento'] = array(array('txt' => 'Kérelmek', 'url' => 'index.php?page=naplo&sub=hibabejelento&f=admin')); + $MENU['modules']['naplo']['koszi'] = array(array('txt' => 'Köszi', 'url' => 'index.php?page=naplo&sub=koszi')); + $MENU['modules']['naplo']['hirnok'] = array(array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok')); + + $MENU['modules']['naplo']['sub']['hirnok'] = array( + 'hirnok' =>array(array('txt' => 'Hírnök', 'icon'=>'icon-bullhorn')), + 'hirnokFeliratkozas' => array(array('txt' => 'Hírnök beállítás', 'icon'=>'icon-cog')) + ); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'dolgozat' => array(array('txt' => 'Dolgozatok')), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + ); + $MENU['modules']['naplo']['orarend'] = array( + array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend'), + array('txt' => 'Szabad termek', 'url' => 'index.php?page=naplo&sub=orarend&f=szabadTerem'), + ); + $MENU['modules']['naplo']['tanev'] = array( + array('txt' => 'Munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv') + ); + $MENU['modules']['naplo']['sub']['hibabejelento'] = array( + 'hibabejelento' => array(array('txt' => 'Új kérelem')), + ); + $MENU['modules']['naplo']['intezmeny'] = array(array('txt' => 'Tanévváltás', 'url' => 'index.php?page=naplo&sub=intezmeny')); + + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'hetes' => array(array('txt' => 'Hetesek')), + 'stat' => array(array('txt' => 'Haladási statisztika')), + ); + if(__UZENO_INSTALLED===true) + $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); + $MENU['modules']['naplo']['sub']['koszi'] = array( + 'koszi'=> array(array('txt' => 'Jelentkezés', 'url' => 'index.php?page=naplo&sub=koszi&f=koszi')), + 'kosziAdmin'=>array(array('txt' => 'Pont jóváhagyás', 'url' => 'index.php?page=naplo&sub=koszi&f=kosziAdmin')), + 'esemenyAdmin'=>array(array('txt' => 'Esemény adminisztráció', 'url' => 'index.php?page=naplo&sub=koszi&f=esemenyAdmin')), + ); + + } elseif (__TANAR) { + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas')); + $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek')); + $MENU['modules']['naplo']['tanmenet'] = array(array('txt' => 'Tanmenetek', 'url' => 'index.php?page=naplo&sub=tanmenet')); + $MENU['modules']['naplo']['intezmeny'][] = array('txt' => 'Intézményi adatok', 'url' => 'index.php?page=naplo&sub=intezmeny'); + $MENU['modules']['naplo']['hibabejelento'] = array(array('txt' => 'Kérelmek', 'url' => 'index.php?page=naplo&sub=hibabejelento&f=admin')); + $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles')); + $MENU['modules']['naplo']['orarend'] = array(array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend')); + $MENU['modules']['naplo']['esemeny'] = array(array('txt' => 'Események', 'url' => 'index.php?page=naplo&sub=esemeny')); + $MENU['modules']['naplo']['nyomtatas'][] = array('txt' => 'Nyomtatás', 'url' => 'index.php?page=naplo&sub=nyomtatas'); + $MENU['modules']['naplo']['tanev'] = array( + array('txt' => 'Munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv'), + array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra'), + ); + $MENU['modules']['naplo']['sub']['ertekeles'] = array( + 'osszesites' => array(array('txt' => 'Összesítés')), + ); + $MENU['modules']['naplo']['sub']['intezmeny'] = array( + 'tankorDiak' => array(array('txt' => 'Tankörnévsor', 'url' => 'index.php?page=naplo&sub=intezmeny&f=tankorDiak')), + 'diakTankor' => array(array('txt' => 'Diák tankörei', 'url'=> 'index.php?page=naplo&sub=intezmeny&f=diakTankor')), + 'diakTankorJelentkezes' => array(array('txt' => 'Diák választott tankörei', 'url'=> 'index.php?page=naplo&sub=intezmeny&f=diakTankorJelentkezes')), + 'diak' => array(array('txt' => 'Diákok', 'url' => 'index.php?page=naplo&sub=intezmeny&f=diak')), + 'diakFelmentes' => array(array('txt' => 'Felmentés', 'url' => 'index.php?page=naplo&sub=intezmeny&f=diakFelmentes')), + 'valtas'=> array(array('txt' => 'Tanévváltás', 'url' => 'index.php?page=naplo&sub=intezmeny&f=valtas')), + 'tovabbkepzes' => array(array('txt' => 'Továbbképzés')), + ); + $MENU['modules']['naplo']['sub']['orarend'] = array( + 'helyettesites' => array(array('txt'=> 'Helyettesítések')), + 'szabadTerem' => array(array('txt' => 'Szabad termek' /*, 'url' => 'index.php?page=naplo&sub=tanev&f=szabadTerem' */)), + 'tanarOrarend' => array(array('txt' => 'Speciális összesített tanári órarend (xls)')), + ); + $MENU['modules']['naplo']['sub']['tanev'] = array( + 'diakTanarai' => array(array('txt' => 'Diák tanára')), + ); + $MENU['modules']['naplo']['sub']['hibabejelento'] = array( + 'hibabejelento' => array(array('txt' => 'Új kérelem')), + ); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'tankor' => array(array('txt' => 'Tankör osztályzatai')), + 'diak' => array(array('txt' => 'Diák osztályzatai')), + 'dolgozat' => array(array('txt' => 'Dolgozatok')), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + ); + if (__OSZTALYFONOK === true) $MENU['modules']['naplo']['sub']['osztalyozo']['targySorrend'] = array(array('txt' => 'Tárgysorrend')); + $MENU['modules']['naplo']['sub']['bejegyzesek'] = array( + 'bejegyzesek' => array(array('txt' => 'Bejegyzések listája')), + 'ujBejegyzes' => array(array('txt' => 'Új bejegyzések')), + ); + $MENU['modules']['naplo']['sub']['esemeny'] = array( + 'ujEsemeny' => array(array('txt' => 'Esemény felvétel/módosítás')), + 'esemenyDiak' => array(array('txt' => 'Jelentkezők kezelése')), + ); + $MENU['modules']['naplo']['sub']['tanmenet'] = array( + 'tanmenetTankor' => array(array('txt' => 'Tanmenetek tankörhöz rendelése')), + 'tanmenetJovahagyas' => array(array('txt' => 'Tanmenet jóváhagyás')), + 'tanmenetInfo' => array(array('txt' => 'Tanmenet részletei')), + 'tanmenetModositas' => array(array('txt' => 'Tanmenet módosítása')), + 'ujTanmenet' => array(array('txt' => 'Új tanmenet létrehozása')), + ); + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'hetes' => array(array('txt' => 'Hetesek')), + 'stat' => array(array('txt' => 'Haladási statisztika')), + 'elszamolas' => array(array('txt' => 'Munkaidő')), + ); + $MENU['modules']['naplo']['sub']['hianyzas'] = array( + 'osztaly' => array(array('txt' => 'Osztály hiányzásösszesítő')), + 'osztalyNap' => array(array('txt' => 'Osztály napi hiányzásösszesítő')), + 'diak' => array(array('txt' => 'Diák hiányzásai (naptár nézet)')), + 'diakLista' => array(array('txt' => 'Diák hiányzásai (lista)')), + 'diakIgazolatlan' => array(array('txt' => 'Diák igazolatlanjai (lista)')), + 'info' => array(array('txt' => 'Statisztika')), + ); + $MENU['modules']['naplo']['sub']['nyomtatas'] = array( + 'osztalyozonaplo' => array(array('txt' => 'Osztályozónapló nyomtatása')), + 'torzslap' => array(array('txt'=>'Törzslap')), + 'helyettesitesinaplo' => array(array('txt' => 'Helyettesítési-napló nyomtatása')), + 'ertesito' => array(array('txt' => 'Értesítő')) + ); + if(__UZENO_INSTALLED===true) + $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); + + $MENU['modules']['naplo']['hirnok'] = array(array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok')); + + $MENU['modules']['naplo']['koszi'] = array(array('txt' => 'Köszi', 'url' => 'index.php?page=naplo&sub=koszi&f=kosziAdmin')); + $MENU['modules']['naplo']['sub']['hirnok'] = array( + 'hirnok' =>array(array('txt' => 'Hírnök', 'icon'=>'icon-bullhorn')), + 'hirnokFeliratkozas' => array(array('txt' => 'Hírnök beállítás', 'icon'=>'icon-cog')) + ); + + + } elseif (__TITKARSAG === true) { + +/* Titkárság */ + + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas')); + $MENU['modules']['naplo']['orarend'] = array(array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend')); + $MENU['modules']['naplo']['hibabejelento'] = array(array('txt' => 'Kérelmek', 'url' => 'index.php?page=naplo&sub=hibabejelento&f=admin')); + $MENU['modules']['naplo']['nyomtatas'][] = array('txt' => 'Nyomtatás', 'url' => 'index.php?page=naplo&sub=nyomtatas'); + $MENU['modules']['naplo']['export'][] = array('txt' => 'Export', 'url' => 'index.php?page=naplo&sub=export&f=diakExport'); + $MENU['modules']['naplo']['stat'][] = array('txt' => 'Statisztika', 'url' => 'index.php?page=naplo&sub=export&f=letszam'); + $MENU['modules']['naplo']['tanev'] = array( + array('txt' => 'Munkaterv', 'url' => 'index.php?page=naplo&sub=tanev&f=munkaterv'), + array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra'), + ); + $MENU['modules']['naplo']['intezmeny'] = array(array('txt' => 'Intézményi adatok', 'url' => 'index.php?page=naplo&sub=intezmeny')); + $MENU['modules']['naplo']['sub']['orarend'] = array( + 'helyettesites' => array(array('txt' => 'Helyettesítés')), + 'szabadTerem' => array(array('txt' => 'Szabad termek' )), + ); + $MENU['modules']['naplo']['sub']['tanev'] = array( + 'diakTanarai' => array(array('txt' => 'Diák tanára')), + ); + $MENU['modules']['naplo']['sub']['hibabejelento'] = array( + 'hibabejelento' => array(array('txt' => 'Új kérelem')), + ); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'tankor' => array(array('txt' => 'Tankör osztályzatai')), + 'diak' => array(array('txt' => 'Diák osztályzatai')), + 'dolgozat' => array(array('txt' => 'Dolgozatok')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + 'targySorrend' => array(array('txt' => 'Tárgysorrend')), + ); + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'stat' => array(array('txt' => 'Haladási statisztika')), +// 'elszamolas' => array(array('txt' => 'Elszámolás')), + ); + $MENU['modules']['naplo']['sub']['intezmeny'] = array( + 'valtas' => array(array('txt' => 'Intézményváltás')), + 'diak' => array(array('txt' => 'Diákok')), + 'zaradek' => array(array('txt' => 'Záradék')), + ); + $MENU['modules']['naplo']['sub']['export'] = array( + 'diakExport' => array(array('txt' => 'Diak adatok')), + 'tantargyFelosztas' => array(array('txt' => 'Tantárgyfelosztás export')), + ); + $MENU['modules']['naplo']['sub']['hianyzas'] = array( + 'info' => array(array('txt' => 'Statisztika')), + 'oktstat' => array(array('txt' => 'Októberi statisztika')), + 'osztaly' => array(array('txt' => 'Osztály hiányzásösszesítő')), + ); + $MENU['modules']['naplo']['sub']['nyomtatas'] = array( + 'tankorNaplohozRendeles' => array(array('txt' => 'Tankör naplóhozrendelése')), + 'osztalyozonaplo' => array(array('txt' => 'Osztályozónapló nyomtatása')), + 'haladasinaplo' => array(array('txt' => 'Haladásinapló nyomtatása')), + 'torzslap' => array(array('txt'=>'Törzslap')), + 'zaradekok' => array(array('txt' => 'Záradékok, bejegyzések nyomtatása')), + 'diakTankorJelentkezes' => array(array('txt' => 'Tankörjelentkezés')), + 'ertesito' => array(array('txt' => 'Értesítő', 'rejtett' => true)), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés', 'rejtett' => true)), + ); + + $MENU['modules']['naplo']['sub']['stat'] = array( + 'letszam' => array(array('txt'=>'Létszám statisztika')), + 'lemorzsolodas' => array(array('txt'=>'Lemorzsolódás')), + ); + + + } + if (__VEZETOSEG===true) { + +/* Vezetőség */ + + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas')); + $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek')); + $MENU['modules']['naplo']['tanmenet'] = array(array('txt' => 'Tanmenetek', 'url' => 'index.php?page=naplo&sub=tanmenet')); + $MENU['modules']['naplo']['nyomtatas'][] = array('txt' => 'Nyomtatás', 'url' => 'index.php?page=naplo&sub=nyomtatas'); + $MENU['modules']['naplo']['esemeny'] = array(array('txt' => 'Események', 'url' => 'index.php?page=naplo&sub=esemeny')); + $MENU['modules']['naplo']['tanev'][] = array('txt' => 'Tanév adatok', 'url' => 'index.php?page=naplo&sub=tanev'); + $MENU['modules']['naplo']['export'][] = array('txt' => 'Export', 'url' => 'index.php?page=naplo&sub=export&f=diakExport'); + $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles')); + $MENU['modules']['naplo']['hibabejelento'] = array(array('txt' => 'Kérelmek', 'url' => 'index.php?page=naplo&sub=hibabejelento&f=admin')); + + $MENU['modules']['naplo']['intezmeny'] = array(array('txt' => 'Intézményi adatok', 'url' => 'index.php?page=naplo&sub=intezmeny')); + + $MENU['modules']['naplo']['stat'] = array(array('txt' => 'Statisztika', 'url' => 'index.php?page=naplo&sub=stat&f=letszam')); + + $MENU['modules']['naplo']['sub']['intezmeny'] = array ( + 'tankorDiak' => array(array('txt' => 'Tankörnévsor', 'url' => 'index.php?page=naplo&sub=intezmeny&f=tankorDiak')), + 'tankorTanar' => array(array('txt' => 'Tankör tanárok', 'url' => 'index.php?page=naplo&sub=intezmeny&f=tankorTanar')), + 'tankorTanarHozzarendeles' => array(array('txt' => 'Tantárgyfelosztás, tankör-tanár')), + 'diak' => array(array('txt' => 'Diákok')), + 'diakTankor' => array(array('txt' => 'Diák tankörei', 'url'=> 'index.php?page=naplo&sub=intezmeny&f=diakTankor')), + 'diakTankorJelentkezes' => array(array('txt'=> 'Tankörjelentkezés', 'url'=> 'index.php?page=naplo&sub=intezmeny&f=diakTankorJelentkezes')), + 'valtas' => array(array('txt' => 'Tanévváltás', 'url' => 'index.php?page=naplo&sub=intezmeny&f=valtas')), + 'tankorCsoport' => array(array('txt' => 'Tankörcsoportok*', 'url' => 'index.php?page=naplo&sub=tanev&f=tankorCsoport')), + 'tankorBlokk' => array(array('txt' => 'Tankörblokkok*', 'url' => 'index.php?page=naplo&sub=tanev&f=tankorBlokk')), + 'diakFelmentes' => array(array('txt' => 'Diák felmentése', 'rejtett' => true)), + 'zaradek' => array(array('txt' => 'Záradék')), + 'tankorLetszam' => array(array('txt' => 'Tankörlétszámok', 'rejtett' => true)), + 'kepesitesek' => array(array('txt' => 'Képesítések')), + 'tovabbkepzes' => array(array('txt' => 'Továbbképzés')), + ); + + + $MENU['modules']['naplo']['sub']['hibabejelento'] = array( + 'hibabejelento' => array(array('txt' => 'Új kérelem')), + ); + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'helyettesites' => array(array('txt' => 'Helyettesítés')), + 'pluszora' => array(array('txt' => 'Plusz óra')), + 'minuszora' => array(array('txt' => 'Óra elmaradás')), + 'osszevonas' => array(array('txt' => 'Összevonás')), + 'teremModositas' => array(array('txt' => 'Haladási teremmódosító')), + 'specialis' => array(array('txt' => 'Speciális nap')), + 'elmaradas' => array(array('txt' => 'Haladási elmaradások')), + 'stat' => array(array('txt' => 'Haladási statisztika')), + 'elszamolas' => array(array('txt' => 'Elszámolás')), + 'oralatogatas' => array(array('txt' => 'Óralátogatás')), + 'hetes' => array(array('txt' => 'Hetesek')), + ); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'tankor' => array(array('txt' => 'Tankör osztályzatai')), + 'diak' => array(array('txt' => 'Diák osztályzatai')), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés')), + 'dolgozat' => array(array('txt' => 'Dolgozatok')), + 'vizsga' => array(array('txt' => 'Vizsga')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + 'targySorrend' => array(array('txt' => 'Tárgysorrend')), + ); + $MENU['modules']['naplo']['sub']['bejegyzesek'] = array( + 'bejegyzesek' => array(array('txt' => 'Bejegyzések listája')), + 'ujBejegyzes' => array(array('txt' => 'Új bejegyzések')), + ); + $MENU['modules']['naplo']['sub']['esemeny'] = array( + 'ujEsemeny' => array(array('txt' => 'Esemény felvétel/módosítás')), + 'esemenyDiak' => array(array('txt' => 'Jelentkezők kezelése')), + ); + $MENU['modules']['naplo']['sub']['tanmenet'] = array( + 'tanmenetLeadas' => array(array('txt' => 'Tanmenet leadás')), + 'tanmenetJovahagyas' => array(array('txt' => 'Tanmenet jóváhagyás')), + 'tanmenetTankor' => array(array('txt' => 'Tanmenetek tankörhöz rendelése')), + 'tanmenetInfo' => array(array('txt' => 'Tanmenet részletei')), + 'tanmenetModositas' => array(array('txt' => 'Tanmenet módosítása')), + 'ujTanmenet' => array(array('txt' => 'Új tanmenet létrehozása')), + ); + $MENU['modules']['naplo']['sub']['nyomtatas'] = array( + 'tankorNaplohozRendeles' => array(array('txt' => 'Tankör naplóhozrendelése')), + 'osztalyozonaplo' => array(array('txt' => 'Osztályozónapló nyomtatása')), + 'haladasinaplo' => array(array('txt' => 'Haladásinapló nyomtatása')), + 'torzslap' => array(array('txt'=>'Törzslap')), + 'zaradekok' => array(array('txt' => 'Záradékok, bejegyzések nyomtatása')), + 'helyettesitesinaplo' => array(array('txt' => 'Helyettesítési-napló nyomtatása')), + 'diakTankorJelentkezes' => array(array('txt' => 'Tankörjelentkezés nyomtatvány')), + 'ertesito' => array(array('txt' => 'Értesítő')) + ); + $MENU['modules']['naplo']['sub']['export'] = array( + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány export')), + 'kirBizonyitvanyExport' => array(array('txt' => 'Bizonyítvány export (KIR)')), + 'diakExport' => array(array('txt' => 'Diak adatok')), + 'tantargyFelosztas' => array(array('txt' => 'Tantárgyfelosztás export')), + 'kreta' => array(array('txt' => 'KRÉTA export')), + ); + + + $MENU['modules']['naplo']['sub']['orarend'] = array( + 'orarend' => array(array('txt' => 'Órarend')), + 'helyettesites' => array(array('txt'=> 'Helyettesítések')), + 'orarendEllenorzes' => array(array('txt' => 'Órarend ellenőrzés')), + 'orarendTeremModositas' => array(array('txt' => 'Teremmódosítás')), + 'termez' => array(array('txt' => 'Órarend termező')), + 'szabadTerem' => array(array('txt' => 'Szabad termek')), + 'tanarOrarend' => array(array('txt' => 'Összesített tanári órarend')), + 'ascExport' => array(array('txt' => 'ascExport')), + ); + $MENU['modules']['naplo']['sub']['tanev'] = array( + 'munkaterv' => array(array('txt' => 'Éves munkaterv, tanév rendje')), + 'tankorCsoport' => array(array('txt' => 'Tankörcsoportok')), + 'tankorBlokk' => array(array('txt' => 'Tankörblokkok')), + 'fogadoOra' => array(array('txt' => 'Fogadóóra')), + 'targyOraszam' => array(array('txt' => 'Tárgy óraszámok')), + 'diakTanarai' => array(array('txt' => 'Diák tanára')), + 'targyBontas' => array(array('txt' => 'Tantárgyfelosztás, bontás-tankör')), + ); + $MENU['modules']['naplo']['sub']['ertekeles'] = array( + 'kerdoivBetoltes' => array(array('txt' => 'Kérdőív betöltése')), + 'osszesites' => array(array('txt' => 'Összesítés')), + ); + $MENU['modules']['naplo']['sub']['hianyzas'] = array( + 'osztaly' => array(array('txt' => 'Osztály hiányzásösszesítő')), + 'osztalyNap' => array(array('txt' => 'Osztály napi hiányzásösszesítő')), + 'diak' => array(array('txt' => 'Diák hiányzásai (naptár nézet)')), + 'diakLista' => array(array('txt' => 'Diák hiányzásai (lista)')), + 'oktstat' => array(array('txt' => 'Októberi statisztika')), + 'info' => array(array('txt' => 'Statisztika')), + + ); + + $MENU['modules']['naplo']['sub']['stat'] = array( + 'tantargyFelosztas' => array(array('txt' => 'Tantárgyfelosztás statisztika')), + 'letszam' => array(array('txt'=>'Létszám statisztika')), + 'lemorzsolodas' => array(array('txt'=>'Lemorzsolódás')), + ); + + } + if (__NAPLOADMIN === true) { + $MENU['modules']['naplo']['haladasi'] = array(array('txt' => 'Haladási napló', 'url' => 'index.php?page=naplo&sub=haladasi')); + $MENU['modules']['naplo']['osztalyozo'] = array(array('txt' => 'Osztályozó napló', 'url' => 'index.php?page=naplo&sub=osztalyozo')); + $MENU['modules']['naplo']['hianyzas'] = array(array('txt' => 'Hiányzások', 'url' => 'index.php?page=naplo&sub=hianyzas')); + $MENU['modules']['naplo']['bejegyzesek'] = array(array('txt' => 'Bejegyzések', 'url' => 'index.php?page=naplo&sub=bejegyzesek')); + $MENU['modules']['naplo']['orarend'] = array(array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend')); + $MENU['modules']['naplo']['tanmenet'] = array(array('txt' => 'Tanmenetek', 'url' => 'index.php?page=naplo&sub=tanmenet')); + $MENU['modules']['naplo']['esemeny'] = array(array('txt' => 'Események', 'url' => 'index.php?page=naplo&sub=esemeny')); + $MENU['modules']['naplo']['tanev'] = array( + array('txt' => 'Tanév adatok', 'url' => 'index.php?page=naplo&sub=tanev'), + array('txt' => 'Fogadóóra', 'url' => 'index.php?page=naplo&sub=tanev&f=fogadoOra'), + ); + $MENU['modules']['naplo']['nyomtatas'][] = array('txt' => 'Nyomtatás', 'url' => 'index.php?page=naplo&sub=nyomtatas', 'rejtett' => true); + $MENU['modules']['naplo']['export'][] = array('txt' => 'Export', 'url' => 'index.php?page=naplo&sub=export&f=diakExport'); + $MENU['modules']['naplo']['intezmeny'] = array(array('txt' => 'Intézményi adatok', 'url' => 'index.php?page=naplo&sub=intezmeny')); + + $MENU['modules']['naplo']['stat'] = array(array('txt' => 'Statisztika', 'url' => 'index.php?page=naplo&sub=stat&f=letszam')); + $MENU['modules']['naplo']['ertekeles'] = array(array('txt' => 'Értékelés', 'url' => 'index.php?page=naplo&sub=ertekeles', 'rejtett' => true)); + $MENU['modules']['naplo']['admin'] = array(array('txt' => 'Admin', 'url' => 'index.php?page=naplo&sub=admin')); + $MENU['modules']['naplo']['koszi'] = array(array('txt' => 'Köszi', 'url' => 'index.php?page=naplo&sub=koszi&f=kosziAdmin')); + $MENU['modules']['naplo']['hibabejelento'] = array(array('txt' => 'Kérelmek', 'url' => 'index.php?page=naplo&sub=hibabejelento&f=admin', 'rejtett' => true)); + $MENU['modules']['naplo']['hirnok'] = array(array('txt' => 'Hírnök', 'url' => 'index.php?page=naplo&sub=hirnok&f=hirnok')); + if(__UZENO_INSTALLED===true) + $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); + + $MENU['modules']['naplo']['sub']['stat'] = array( + 'tantargyFelosztas' => array(array('txt' => 'Tantárgyfelosztás statisztika')), + 'letszam' => array(array('txt'=>'Létszám statisztika')), + 'lemorzsolodas' => array(array('txt'=>'Lemorzsolódás')), + ); + + $MENU['modules']['naplo']['sub']['haladasi'] = array( + 'helyettesites' => array(array('txt' => 'Helyettesítés')), + 'pluszora' => array(array('txt' => 'Plusz óra')), + 'minuszora' => array(array('txt' => 'Óra elmaradás')), + 'osszevonas' => array(array('txt' => 'Összevonás', 'rejtett' => true)), + 'teremModositas' => array(array('txt' => 'Haladási teremmódosító')), + 'specialis' => array(array('txt' => 'Speciális nap', 'rejtett' => true)), + 'elmaradas' => array(array('txt' => 'Haladási elmaradások', 'rejtett' => true)), + 'stat' => array(array('txt' => 'Haladási statisztika', 'rejtett' => true)), + 'elszamolas' => array(array('txt' => 'Elszámolás', 'rejtett' => true)), + 'oralatogatas' => array(array('txt' => 'Óralátogatás', 'rejtett' => true)), + 'hetes' => array(array('txt' => 'Hetesek')), + ); + $MENU['modules']['naplo']['sub']['hibabejelento'] = array( + 'hibabejelento' => array(array('txt' => 'Új kérelem')), + ); + $MENU['modules']['naplo']['sub']['koszi'] = array( + // ez csak diákoknak van, nem? // 'koszi' => array(array('txt' => 'Köszi')), + 'esemenyAdmin' => array(array('txt' => 'Esemény adminisztráció')), + 'kosziAdmin' => array(array('txt' => 'Pont adminisztráció')), + ); + $MENU['modules']['naplo']['sub']['hianyzas'] = array( + 'osztaly' => array(array('txt' => 'Osztály hiányzásösszesítő')), + 'osztalyNap' => array(array('txt' => 'Osztály napi hiányzásösszesítő')), + 'diak' => array(array('txt' => 'Diák hiányzásai (naptár nézet)')), + 'diakLista' => array(array('txt' => 'Diák hiányzásai (lista)')), + 'diakIgazolatlan' => array(array('txt' => 'Diák igazolatlanjai (lista)')), + 'oktstat' => array(array('txt' => 'Októberi statisztika')), + 'info' => array(array('txt' => 'Statisztika')), + + ); + $MENU['modules']['naplo']['sub']['osztalyozo'] = array( + 'tankor' => array(array('txt' => 'Tankör osztályzatai')), + 'diak' => array(array('txt' => 'Diák osztályzatai', 'rejtett' => true)), + 'dolgozat' => array(array('txt' => 'Dolgozatok', 'rejtett' => true)), + 'vizsga' => array(array('txt' => 'Vizsga')), + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány', 'rejtett' => true)), +// 'bizelomenetel' => array(array('txt' => 'Előmenetel', 'rejtett' => true)), + 'zaroJegyCheck' => array(array('txt' => 'Zárójegy évfolyam ellenőrző')), + 'stat' => array(array('txt' => 'Zárási statisztika')), + 'targySorrend' => array(array('txt' => 'Tárgysorrend', 'rejtett' => true)), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés', 'rejtett' => true)), + 'szempontRendszer' => array(array('txt' => 'Szempont rendszer', 'rejtett' => true)), + ); + $MENU['modules']['naplo']['sub']['bejegyzesek'] = array( + 'bejegyzesek' => array(array('txt' => 'Bejegyzések listája')), + 'ujBejegyzes' => array(array('txt' => 'Új bejegyzések')), + 'bejegyzesTipus' => array(array('txt' => 'Bejegyzés-típusok')), + ); + $MENU['modules']['naplo']['sub']['tanmenet'] = array( + 'tanmenetLeadas' => array(array('txt' => 'Tanmenet leadás')), + 'tanmenetJovahagyas' => array(array('txt' => 'Tanmenet jóváhagyás')), + 'tanmenetTankor' => array(array('txt' => 'Tanmenetek tankörhöz rendelése')), + 'tanmenetInfo' => array(array('txt' => 'Tanmenet részletei')), + 'tanmenetModositas' => array(array('txt' => 'Tanmenet módosítása')), + 'ujTanmenet' => array(array('txt' => 'Új tanmenet létrehozása')), + ); + $MENU['modules']['naplo']['sub']['esemeny'] = array( + 'ujEsemeny' => array(array('txt' => 'Esemény felvétel/módosítás')), + 'esemenyDiak' => array(array('txt' => 'Névsor kezelése')), + ); + $MENU['modules']['naplo']['sub']['orarend'] = array( + 'orarend' => array(array('txt' => 'Órarend')), + 'szabadTerem' => array(array('txt' => 'Szabad termek', 'rejtett' => true)), + 'helyettesites' => array(array('txt' => 'Helyettesítés', 'rejtett' => true)), + 'orarendTankor' => array(array('txt' => 'Órarend-tankör összerendező', 'rejtett' => true)), + 'orarendUtkozes' => array(array('txt' => 'Órarend ütközés', 'rejtett' => true)), + 'orarendBetolto' => array(array('txt' => 'Órarend betöltő', 'rejtett' => true)), + 'orarendEllenorzes' => array(array('txt' => 'Órarend ellenőrzés', 'rejtett' => true)), + 'orarendTeremModositas' => array(array('txt' => 'Teremmódosítás', 'rejtett' => true)), + 'orarendModosito' => array(array('txt' => 'Órarend módosítás', 'rejtett' => true)), + 'termez' => array(array('txt' => 'Órarend termező', 'rejtett' => true)), + 'tanarOrarend' => array(array('txt' => 'Összesített tanári órarend', 'rejtett' => true)), + 'ascExport' => array(array('txt' => 'ascExport', 'rejtett' => true)), + ); + $MENU['modules']['naplo']['sub']['tanev'] = array( + 'munkaterv' => array(array('txt' => 'Éves munkaterv, tanév rendje', 'rejtett' => true)), + 'checkStatus' => array(array('txt' => 'Ellenőr', 'rejtett' => true)), + 'tankorCsoport' => array(array('txt' => 'Tankörcsoportok')), + 'tankorBlokk' => array(array('txt' => 'Tankörblokkok')), + // 'vegzosTankorLezaras' => array(array('txt' => 'Végzős tankör kiléptetés', 'rejtett' => true)), + 'vegzosOrarendLezaras' => array(array('txt' => 'Végzős órarend lezárása', 'rejtett' => true)), + 'fogadoOra' => array(array('txt' => 'Fogadóóra', 'rejtett' => true)), + // 'intezmeny' => array(array('txt' => 'Intézményváltó', 'url' => 'index.php?page=naplo&sub=intezmeny&f=valtas')), + 'targyOraszam' => array(array('txt' => 'Tárgy óraszámok', 'rejtett' => true)), + 'diakTanarai' => array(array('txt' => 'Diák tanára', 'rejtett' => true)), + 'targyBontas' => array(array('txt' => 'Tantárgyfelosztás, bontás-tankör')), + ); + $MENU['modules']['naplo']['sub']['nyomtatas'] = array( + 'tankorNaplohozRendeles' => array(array('txt' => 'Tankör naplóhozrendelése')), + 'osztalyozonaplo' => array(array('txt' => 'Osztályozónapló nyomtatása')), + 'haladasinaplo' => array(array('txt' => 'Haladásinapló nyomtatása')), + 'torzslap' => array(array('txt'=>'Törzslap')), + 'zaradekok' => array(array('txt' => 'Záradékok, bejegyzések nyomtatása')), + 'helyettesitesinaplo' => array(array('txt' => 'Helyettesítési-napló nyomtatása')), + 'diakTankorJelentkezes' => array(array('txt' => 'Tankörjelentkezés')), + 'ertesito' => array(array('txt' => 'Értesítő', 'rejtett' => true)), + 'szovegesErtekeles' => array(array('txt' => 'Szöveges értékelés', 'rejtett' => true)), + ); + + $MENU['modules']['naplo']['sub']['export'] = array( + 'bizonyitvany' => array(array('txt' => 'Bizonyítvány export')), + 'kirBizonyitvanyExport' => array(array('txt' => 'Bizonyítvány export (KIR)')), + 'diakExport' => array(array('txt' => 'Diak adatok')), + 'tantargyFelosztas' => array(array('txt' => 'Tantárgyfelosztás export')), + 'sulix' => array(array('txt' => 'Együttműködés SuliXerverrel')), + 'kreta' => array(array('txt' => 'KRÉTA export')), + 'tanarOsztalyOraszam' => array(array('txt' => 'Tanár-Osztály óraszámok')), + ); + $MENU['modules']['naplo']['sub']['intezmeny'] = array( + 'valtas' => array(array('txt' => 'Intézményváltás', 'rejtett' => true)), + 'osztaly' => array(array('txt' => 'Osztályok')), + 'diak' => array(array('txt' => 'Diákok')), + 'diakSzulo' => array(array('txt' => 'Szülő/Nevelő', 'rejtett' => true)), + 'tanar' => array(array('txt' => 'Tanárok')), + 'kepesitesek' => array(array('txt' => 'Képesítések')), + 'tovabbkepzes' => array(array('txt' => 'Továbbképzés')), + 'munkakozosseg' => array(array('txt' => 'Munkaközösségek, tárgyak', 'rejtett' => true)), + 'tankor' => array(array('txt' => 'Tankörök')), + 'tankorTanar' => array(array('txt' => 'Tankör tanárok')), + 'tankorTanarHozzarendeles' => array(array('txt' => 'Tantárgyfelosztás, tankör-tanár')), + 'tankorDiak' => array(array('txt' => 'Tankör diákok')), + 'diakTankor' => array(array('txt' => 'Diák tankörei')), + 'diakFelmentes' => array(array('txt' => 'Diák felmentése', 'rejtett' => true)), + 'diakTankorJelentkezes' => array(array('txt' => 'Tankörjelentkezés', 'rejtett' => true)), + 'tankorSzemeszter' => array(array('txt' => 'Tankör óraterve', 'rejtett' => true)), + 'tankorLetszam' => array(array('txt' => 'Tankörlétszámok', 'rejtett' => true)), + 'kepzes' => array(array('txt' => 'Képzések', 'rejtett' => true)), + 'kepzesOraterv' => array(array('txt' => 'Képzés óraterv', 'rejtett' => true)), + 'zaradek' => array(array('txt' => 'Záradék')), + 'terem' => array(array('txt' => 'Terem')), + 'verseny' => array(array('txt' => 'Verseny')), + ); + $MENU['modules']['naplo']['sub']['ertekeles'] = array( + 'kerdoivBetoltes' => array(array('txt' => 'Kérdőív betöltése')), + 'osszesites' => array(array('txt' => 'Összesítés')), + ); + $MENU['modules']['naplo']['sub']['admin'] = array( + 'intezmenyek' => array(array('txt' => 'Intézmények')), + 'tanevek' => array(array('txt' => 'Tanévek')), + 'szemeszterek' => array(array('txt' => 'Szemeszterek')), + 'fillhaladasi' => array(array('txt' => 'Haladási napló feltöltése')), + 'import' => array(array('txt' => 'Import')), + 'azonositok' => array(array('txt' => 'Azonosító generálás')), + 'szuloiAzonositok' => array(array('txt' => 'Szülői azonosítók generálása')), + 'rpcPrivilege' => array(array('txt' => 'RPC jogosultságok')), + ); + $MENU['modules']['naplo']['sub']['hirnok'] = array( + 'hirnok' =>array(array('txt' => 'Hírnök', 'icon'=>'icon-bullhorn')), + 'hirnokFeliratkozas' => array(array('txt' => 'Hírnök beállítás', 'icon'=>'icon-cog')) + ); + + } + if (__UZENO_INSTALLED===true && __UZENOADMIN===true) + $MENU['modules']['naplo']['uzeno'] = array(array('txt' => 'Üzenő', 'url' => 'index.php?page=naplo&sub=uzeno&f=uzeno')); + + // SNI + if (__NAPLOADMIN || __VEZETOSEG || __TANAR) { + $MENU['modules']['naplo']['sni'] = array(array('txt' => 'Egyéni fejlesztés', 'url' => 'index.php?page=naplo&sub=sni')); + $MENU['modules']['naplo']['sub']['sni'] = array( + 'diakAllapot' => array(array('txt' => 'Belépő/kilépő állapot')), + 'fejlesztesiTerv' => array(array('txt' => 'Havi összegzés')), + 'tantargyiFeljegyzesek' => array(array('txt' => 'Tantárgyi feljegyzések')), + ); + $MENU['modules']['naplo']['sub']['nyomtatas']['sniHaviJegyzokonyv'] = array(array('txt' => 'Havi jegyzőkönyv')); + $MENU['modules']['naplo']['sub']['nyomtatas']['sniEvVegiJegyzokonyv'] = array(array('txt' => 'Év végi jegyzőkönyv')); + } + // SNI VEGE + +if ($page==='naplo') { + + // Navigáció - alapértelmezés + $NAV[1] = array( + array('page' => 'naplo', 'sub' => 'haladasi'), + array('page' => 'naplo', 'sub' => 'osztalyozo'), + array('page' => 'naplo', 'sub' => 'hianyzas'), + array('page' => 'naplo', 'sub' => 'orarend'), + ); + if (__NAPLOADMIN) { + $NAV[1][] = array('page' => 'naplo', 'sub' => 'intezmeny'); + $NAV[1][] = array('page' => 'naplo', 'sub' => 'admin'); + $NAV[1][] = array('page' => 'naplo', 'sub' => 'hibabejelento'); + } + + if (is_array($MENU['modules']['naplo']['sub'][$sub])) foreach ($MENU['modules']['naplo']['sub'][$sub] as $_f => $M) { + $NAV[2][] = array('page' => 'naplo', 'sub' => $sub, 'f' => $_f); + } elseif (is_array($MENU['modules']['naplo'])) foreach ($MENU['modules']['naplo'] as $_f => $M) { + if ($_f != 'sub') $NAV[2][] = array('page' => 'naplo', 'sub' => $_f); + } + +} +?> \ No newline at end of file diff --git a/mayor-orig/www/include/menu/public/hu_HU/base.php b/mayor-orig/www/include/menu/public/hu_HU/base.php new file mode 100644 index 00000000..66a36701 --- /dev/null +++ b/mayor-orig/www/include/menu/public/hu_HU/base.php @@ -0,0 +1,34 @@ +array(), + 'session'=>array(), + 'naplo'=>array(), + 'portal'=>array(), + 'felveteli'=>array(), +// 'forum'=>array(), +// 'auth'=>array(), + ); + + if (defined('_SESSIONID') and _SESSIONID != '') { + $MENU['session'] = array( + array('txt' => 'Kilépés', 'url' => 'index.php?page=session&f=logout') + ); + } + $MENU['home'] = array( + array('txt' => 'Kezdőlap', 'url' => 'index.php') + ); + + // $NAVI[] = array('txt' => 'Kezdőlap', 'url' => 'index.php', 'icon' => 'icon-home-alt'); + +// $MENU['modules']['session']['createAccount'] = array( +// array('txt' => 'Szülői regisztráció', 'url' => 'index.php?page=session&f=createAccount&toPolicy=parent'), +// array('txt' => 'Fórum regisztráció', 'url' => 'index.php?page=session&f=createAccount&toPolicy=public'), +// ); + if ($f == 'changeMyPassword') { + $MENU['back'] = array(array('txt'=>'Vissza','url'=>'index.php?policy='.$toPolicy,'get'=>array('sessionID','skin','lang'))); + $MENU['password'] = array(array('txt'=>'Jelszóváltoztatás','url'=>'index.php?page=password&sub=&f=changeMyPassword')); +// $NAV[1][] = array('page'=>'back'); + } + +?> diff --git a/mayor-orig/www/include/menu/public/hu_HU/module-naplo.php b/mayor-orig/www/include/menu/public/hu_HU/module-naplo.php new file mode 100644 index 00000000..090c7db2 --- /dev/null +++ b/mayor-orig/www/include/menu/public/hu_HU/module-naplo.php @@ -0,0 +1,13 @@ + 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend')); + $MENU['modules']['naplo']['orarend'] = array( + array('txt' => 'Órarend', 'url' => 'index.php?page=naplo&sub=orarend&f=orarend'), + array('txt' => 'Helyettesítés', 'url'=>'index.php?page=naplo&sub=orarend&f=helyettesites', 'refresh'=>60), + array('txt' => 'Szabad termek', 'url' => 'index.php?page=naplo&sub=orarend&f=szabadTerem'), + ); + +?> diff --git a/mayor-orig/www/include/modules/auth/base/forgotten.php b/mayor-orig/www/include/modules/auth/base/forgotten.php new file mode 100644 index 00000000..16571855 --- /dev/null +++ b/mayor-orig/www/include/modules/auth/base/forgotten.php @@ -0,0 +1,53 @@ +=0) { + $selector = bin2hex(openssl_random_pseudo_bytes(8)); + $token = openssl_random_pseudo_bytes(32); + } elseif (version_compare(PHP_VERSION,'7.0.0')>=0) { + $selector = bin2hex(random_bytes(8)); + $token = random_bytes(32); + } else { + return false; // nem támogatjuk + } + $urlToEmail = href($URL.http_build_query(array( + 'selector' => $selector, + 'validator' => bin2hex($token) + ),'','&')); + + $expires = new DateTime('NOW'); + $expires->add(new DateInterval('PT01H')); // 1 hour + + // rate limiting és karbantartás + $lr = db_connect('login'); + db_start_trans($lr); + + $q = "DELETE FROM accountRecovery WHERE expires <= NOW() - INTERVAL 10 DAY"; + db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'delete'),$lr); + + $q = "SELECT count(*) as db FROM accountRecovery WHERE policy='%s' AND userAccount='%s'"; + $v = array($accountData['policy'], $accountData['userAccount']); + $recoveryRequestDb = db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'value', 'values'=>$v),$lr); + + if ($recoveryRequestDb<5) { + $q = "INSERT INTO accountRecovery (policy, userAccount, selector, token, expires) VALUES ('%s', '%s', '%s', '%s', '%s');"; + $v = array($accountData['policy'], $accountData['userAccount'], + $selector, + hash('sha256', $token), + $expires->format('Y-m-d\TH:i:s')); + $recoveryId = db_query($q, array('debug'=>false,'fv' => 'generatePasswordRecoveryRequest', 'modul'=>'login', 'result'=>'insert', 'values'=>$v),$lr); + } else { + return false; + } + db_commit($lr); + db_close($lr); + + if ($recoveryId !== false) return $urlToEmail; + else return false; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/auth/base/login.php b/mayor-orig/www/include/modules/auth/base/login.php new file mode 100644 index 00000000..f9cb3a2d --- /dev/null +++ b/mayor-orig/www/include/modules/auth/base/login.php @@ -0,0 +1,37 @@ + \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/admin/azonositok.php b/mayor-orig/www/include/modules/naplo/admin/azonositok.php new file mode 100644 index 00000000..9d85b3e5 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/azonositok.php @@ -0,0 +1,14 @@ += CURDATE() OR kiDt IS NULL) + AND (statusz != 'jogviszonya lezárva' OR jogviszonyVege < CURDATE()) ORDER BY diakNev, oId"; + return db_query($q, array('fv' => 'getOsztalyAzonositok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($osztalyId)), $lr); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/admin/checksql.php b/mayor-orig/www/include/modules/naplo/admin/checksql.php new file mode 100644 index 00000000..cb751521 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/checksql.php @@ -0,0 +1,98 @@ + intezmenyDbNev(__INTEZMENY)); + + $fp = fopen($queryFile, 'r'); + $query = fread($fp, filesize($queryFile)); + fclose($fp); + + // A tárolt eljárásoknak, függvényeknek "DELIMITER //" és "DELIMITER ; //" között kell lenniük - egy blokkban a file végén! + list($query, $delimiter) = explode('DELIMITER //', $query); + + // Tábladefiníciók - normál query-k + $QUERIES = explode(';', str_replace("\n", '', $query)); + for ($i = 0; $i < count($QUERIES); $i++) { + $q = $QUERIES[$i]; + if (trim($q) != '' and substr($q, 0, 2) != '--' and substr($q, 0, 3) != '/*!') { + if (is_array($convert)) foreach ( $convert as $mit=>$mire ) $q = str_replace($mit,$mire,$q); + } + if (substr($q,0,6) == 'CREATE') { + $_q = str_replace(' ','',$q); + $first = $second = 0; + for ($c = 0; $c$db,'result'=>'record')); + $q1 = str_replace("\n",'',str_replace(' ','',$r['Create Table'])); + $q2 = str_replace(' ','',$_q); + $q1_tmp = substr($q1,0,strrpos($q1,")")); + $q2_tmp = substr($q2,0,strrpos($q2,")")); + if ($q1_tmp!=$q2_tmp) { + $Q_ERR[]=array('inDb'=>$r['Create Table'],'inFile'=>$q); + } + } + } + } + + + +/* +Paul's Simple Diff Algorithm v 0.1 +(C) Paul Butler 2007 +May be used and distributed under the zlib/libpng license. +This code is intended for learning purposes; it was written with short +code taking priority over performance. It could be used in a practical +application, but there are a few ways it could be optimized. +Given two arrays, the function diff will return an array of the changes. +I won't describe the format of the array, but it will be obvious +if you use print_r() on the result of a diff on some test data. +htmlDiff is a wrapper for the diff command, it takes two strings and +returns the differences in HTML. The tags used are and , +which can easily be styled with CSS. +*/ + +function diff($old, $new){ +foreach($old as $oindex => $ovalue){ +$nkeys = array_keys($new, $ovalue); +foreach($nkeys as $nindex){ +$matrix[$oindex][$nindex] = isset($matrix[$oindex - 1][$nindex - 1]) ? +$matrix[$oindex - 1][$nindex - 1] + 1 : 1; +if($matrix[$oindex][$nindex] > $maxlen){ +$maxlen = $matrix[$oindex][$nindex]; +$omax = $oindex + 1 - $maxlen; +$nmax = $nindex + 1 - $maxlen; +} +} +} +if($maxlen == 0) return array(array('d'=>$old, 'i'=>$new)); +return array_merge( +diff(array_slice($old, 0, $omax), array_slice($new, 0, $nmax)), +array_slice($new, $nmax, $maxlen), +diff(array_slice($old, $omax + $maxlen), array_slice($new, $nmax + $maxlen))); +} + +function htmlDiff($old, $new){ +$diff = diff(explode(' ', $old), explode(' ', $new)); +foreach($diff as $k){ +if(is_array($k)) +$ret .= (!empty($k['d'])?"".implode(' ',$k['d'])." ":''). +(!empty($k['i'])?"".implode(' ',$k['i'])." ":''); +else $ret .= $k . ' '; +} +return $ret; +} + + + +?> diff --git a/mayor-orig/www/include/modules/naplo/admin/intezmenyek.php b/mayor-orig/www/include/modules/naplo/admin/intezmenyek.php new file mode 100644 index 00000000..654a4c56 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/intezmenyek.php @@ -0,0 +1,117 @@ + 'updateNaploSession', 'modul' => 'naplo_base', 'values' => $v)); + } + + function intezmenyBejegyzese($OMKod, $nev, $rovidnev) { + + $lr = db_connect('naplo_base', array('fv' => 'intezmenyBejegyzese')); + + $q = "SELECT COUNT(*) FROM intezmeny WHERE alapertelmezett=1"; + $num = db_query($q, array('fv' => 'intezmenyBejegyzese', 'modul' => 'naplo_base', 'result' => 'value'), $lr); + + if ($num > 0) $alapertelmezett = 0; + else $alapertelmezett = 1; + + $q = "INSERT INTO intezmeny (OMKod, nev, rovidnev, alapertelmezett) + VALUES ('%s', '%s', '%s', %u)"; + $v = array($OMKod, $nev, $rovidnev, $alapertelmezett); + $r = db_query($q, array('fv' => 'intezmenyBejegyzese', 'modul' => 'naplo_base', 'values' => $v), $lr); + + db_close($lr); + } + + function intezmenyModositas($ADAT) { + + $q = "UPDATE intezmeny SET nev='%s', OMKod='%s', alapertelmezett=%u, fenntarto='%s' WHERE rovidNev='".__INTEZMENY."' "; + $v = array($ADAT['nev'], $ADAT['OMKod'], $ADAT['alapertelmezett'], $ADAT['fenntarto']); + return db_query($q, array('fv' => 'intezmenyModositas', 'modul' => 'naplo_base', 'values' => $v)); + + } + + function intezmenyTorles($intezmeny) { + + $q = "DELETE FROM intezmeny WHERE rovidNev='%s'"; + return db_query($q, array('fv' => 'intezmenyTorles', 'modul' => 'naplo_base', 'values' => array($intezmeny))); + + } + + function getIntezmeny($intezmeny) { + + $q = "SELECT * FROM `intezmeny` WHERE `rovidNev`='%s'"; + $ret = db_query($q, array('fv' => 'getIntezmeny', 'modul' => 'naplo_base', 'result' => 'record', 'values' => array($intezmeny))); + + $q = "SELECT * FROM `%s`.`telephely`"; + $ret['telephely'] = db_query($q, array('fv' => 'getIntezmeny', 'modul' => 'naplo_base', 'result' => 'indexed', 'values' => array(intezmenyDbNev($intezmeny)))); + + return $ret; + + } + + function telephelyModositas($ADAT) { + + $v = array( + __INTEZMENYDBNEV, + // Telephely adatai + readVariable($ADAT['telephelyNev'], 'sql', null), + readVariable($ADAT['telephelyRovidNev'], 'sql', null), + readVariable($ADAT['alapertelmezett'], 'numeric unsigned', 0, array(0,1)), + readVariable($ADAT['cimHelyseg'], 'sql', null), + readVariable($ADAT['cimIrsz'], 'numeric', 'NULL'), + readVariable($ADAT['cimKozteruletNev'], 'sql', null), + readVariable($ADAT['cimKozteruletJelleg'], 'sql', null), + readVariable($ADAT['cimHazszam'], 'sql', null), + readVariable($_POST['telefon'], 'string'), + readVariable($_POST['fax'], 'string'), + readVariable($_POST['email'], 'string'), + readVariable($_POST['honlap'], 'string'), + readVariable($_POST['telephelyId'], 'id') + ); + + $q = "UPDATE `%s`.`telephely` + SET `telephelyNev`='%s', `telephelyRovidNev`='%s', `alapertelmezett`=%u, + `cimHelyseg`='%s', `cimIrsz`=%u, `cimKozteruletNev`='%s',`cimKozteruletJelleg`='%s', `cimHazszam`='%s', + `telefon`='%s',`fax`='%s',`email`='%s',`honlap`='%s' + WHERE `telephelyId`='%s' "; + + return db_query($q, array('fv' => 'telephelyModositas', 'modul' => 'naplo_base', 'values' => $v)); + + } + + function ujTelephely($ADAT) { + + $v = array( + __INTEZMENYDBNEV, + // Telephely adatai + readVariable($ADAT['telephelyNev'], 'sql', null), + readVariable($ADAT['telephelyRovidNev'], 'sql', null), + readVariable($ADAT['alapertelmezett'], 'numeric unsigned', 0, array(0,1)), + readVariable($ADAT['cimHelyseg'], 'sql', null), + readVariable($ADAT['cimIrsz'], 'numeric', 'NULL'), + readVariable($ADAT['cimKozteruletNev'], 'sql', null), + readVariable($ADAT['cimKozteruletJelleg'], 'sql', null), + readVariable($ADAT['cimHazszam'], 'sql', null), + readVariable($_POST['telefon'], 'string'), + readVariable($_POST['fax'], 'string'), + readVariable($_POST['email'], 'string'), + readVariable($_POST['honlap'], 'string'), + ); + + $q = "INSERT INTO `%s`.`telephely` + (`telephelyNev`,`telephelyRovidNev`,`alapertelmezett`,`cimHelyseg`,`cimIrsz`,`cimKozteruletNev`,`cimKozteruletJelleg`,`cimHazszam`, + `telefon`,`fax`,`email`,`honlap`) + VALUES ('%s', '%s', %u,'%s', %u, '%s','%s', '%s','%s','%s','%s','%s')"; + + return db_query($q, array('fv' => 'ujTelephely', 'modul' => 'naplo_base', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/admin/szemeszterek.php b/mayor-orig/www/include/modules/naplo/admin/szemeszterek.php new file mode 100644 index 00000000..6e4c2149 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/szemeszterek.php @@ -0,0 +1,48 @@ + 'idoszakTorles', 'modul' => 'naplo_intezmeny', 'values' => array($idoszakId))); + } + + function idoszakModositas($idoszakId, $tolDt, $igDt) { + $q = "UPDATE idoszak SET tolDt='%s', igDt='%s' WHERE idoszakId=%u"; + $v = array($tolDt, $igDt, $idoszakId); + return db_query($q, array('fv' => 'idoszakModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + function ujIdoszak($tolDt, $igDt, $tipus, $tanev = '', $szemeszter = '', $idoszakTipusok = '') { + // dátum ellenőrzés + if (strtotime($tolDt) > strtotime($igDt)) { + $_SESSION['alert'][] = 'message:wrong_data:dt:'.str_replace(':', '.', $tolDt.' - '.$igDt); + return false; + } + // típus ellenőrzés + if (!is_array($idoszakTipusok)) $idoszakTipusok = getIdoszakTipusok(); + if (!in_array($tipus, $idoszakTipusok)) { + $_SESSION['alert'][] = 'message:wrong_data:idoszak.tipus:'.$tipus; + return false; + } + // tanev/szemeszter beállítás + if ($tanev == '' || $szemeszter == '') { + $q = "SELECT tanev, szemeszter FROM szemeszter WHERE kezdesDt <= '%s' AND '%s' <= zarasDt"; + $v = array($igDt, $tolDt); + $ret = db_query($q, array('fv' => 'ujIdoszak', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (is_array($ret) && count($ret) == 1) { + $tanev = $ret[0]['tanev']; + $szemeszter = $ret[0]['szemeszter']; + } else { + return false; + } + } + // idoszak felvétele + $q = "INSERT INTO idoszak (tolDt, igDt, tipus, tanev, szemeszter) VALUES ('%s', '%s', '%s', %u, %u)"; + $v = array($tolDt, $igDt, $tipus, $tanev, $szemeszter); + return db_query($q, array('fv' => 'ujIdoszak', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + function getIdoszakTipusok() { + return getEnumField('naplo_intezmeny', 'idoszak', 'tipus'); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/admin/szuloiAzonositok.php b/mayor-orig/www/include/modules/naplo/admin/szuloiAzonositok.php new file mode 100644 index 00000000..585292bf --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/szuloiAzonositok.php @@ -0,0 +1,14 @@ += CURDATE() OR kiDt IS NULL) + AND (statusz != 'jogviszonya lezárva' OR jogviszonyVege < CURDATE()) ORDER BY diakNev, oId"; + return db_query($q, array('fv' => 'getOsztalyAzonositok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($osztalyId))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/admin/tanevek.php b/mayor-orig/www/include/modules/naplo/admin/tanevek.php new file mode 100644 index 00000000..cf2b32db --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/tanevek.php @@ -0,0 +1,390 @@ + 'updateNaploSession', 'modul' => 'naplo_base', 'values' => $v)); + } + + function szemeszterBejegyzes($szemeszterObj) { + + global $mayorCache; + $mayorCache->delType('szemeszter'); + + $tanev = $szemeszterObj['tanev']; + $szemeszter = $szemeszterObj['szemeszter']; + $statusz = $szemeszterObj['statusz']; + $kDt = $szemeszterObj['kezdesDt']; + $zDt = $szemeszterObj['zarasDt']; + + if ($tanev != '' && $szemeszter != '') { + $lr = db_connect('naplo_intezmeny', array('fv' => 'szemeszterBejegyzes')); + + $q = "SELECT COUNT(*) FROM szemeszter WHERE szemeszter=%u AND tanev=%u"; + $v = array($szemeszter, $tanev); + $num = db_query($q, array('fv' => 'szemeszterBejegyzes', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v), $lr); + if ($num == 0) { + + $q = "INSERT INTO szemeszter (tanev,szemeszter, statusz, kezdesDt, zarasDt) + VALUES (%u, %u, '%s', '%s', '%s')"; + $v = array($tanev, $szemeszter, $statusz, $kDt, $zDt); + $r = db_query($q, array('fv' => 'szemeszterBejegyzes', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + } else { + $_SESSION['alert'][] = 'message:letezo_szemeszter:'."$tanev:$szemeszter"; + } + db_close($lr); + } + } + + function szemeszterTorles($szemeszterId) { + + global $mayorCache; + $mayorCache->delType('szemeszter'); + + $lr = db_connect('naplo_intezmeny', array('fv' => 'szemeszterTorles')); + if (!$lr) return false; + + $q = 'DELETE FROM szemeszter WHERE szemeszterId IN ('.implode(',', array_fill(0, count($szemeszterId), '%u')).')'; + $r = db_query($q, array('fv' => 'szemeszterTorles', 'modul' => 'naplo_intezmeny', 'values' => $szemeszterId), $lr); + + db_close($lr); + return $r; + + } + + + function activateTanev($tanev) { + setTanevStatus($tanev,'aktív'); + } + + function closeTanev($ADAT) { + + global $ZaradekIndex; + global $mayorCache; + $mayorCache->delType('szemeszter'); + + $tanev = $ADAT['tanev']; + + if (strtotime($ADAT['tanevAdat']['zarasDt']) >= time()) { + $_SESSION['alert'][] = "message:wrong_data:A tanév még nem ért véget!:$tanev tanév vége ".$ADAT['tanevAdat']['zarasDt']; + return false; + } + if (strtotime($ADAT['tanevAdat']['zarasDt']) >= strtotime($ADAT['dt'])) { + $_SESSION['alert'][] = "message:wrong_data:A tanév csak az utolsó tanítási nap utáni hatállyal zárható le!:$tanev tanév vége ".$ADAT['tanevAdat']['zarasDt'].': zárás dátuma '.$ADAT['dt']; + return false; + } + $Szemeszter = $ADAT['tanevAdat']['szemeszter']; + $vDiakok = getVegzoDiakok(array('tanev' => $tanev)); + // A függvénynek nincs statusz paramétere // $vDiakok = getVegzoDiakok(array('tanev' => $tanev, 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve'))); + //vegzoOsztalyok, vjlOsztalyok, vatOsztalyok + + if (in_array('vegzosJogviszonyLezaras', $ADAT['step'])) { + + // Azoknak a jogviszonyát kell csak lezárni, akik csak végzős osztálynak tagjai - és az osztályaik meg vannak jelölve (diak tábla) + $oDiakok = getDiakokByOsztalyId($ADAT['vjlOsztaly'], array('tanev' => $tanev, 'result' => '', 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve'))); + $vjlDiakIds = array(); + for ($i = 0; $i < count($oDiakok); $i++) { + $diakId = $oDiakok[$i]['diakId']; + if (!in_array($diakId, $vjlDiakIds)) { // Ha még nem választottuk ki (jöhet többször, mert lehet egy diák több osztályban) + if (in_array($diakId, $vDiakok)) { + $vjlDiakIds[] = $diakId; + // A jogviszony lezárás egyúttal: + // - tankörökből való kiléptetés + // - osztályokból való kiléptetés + $D = array( + 'diakId' => $diakId, 'jogviszonyValtasDt' => $ADAT['dt'], 'ujStatusz' => 'jogviszonya lezárva', 'tanev' => $tanev, + 'lezarasZaradekIndex' => $ZaradekIndex['jogviszony']['lezárás']['tanulmányait befejezte'] + ); + diakJogviszonyValtas($D); + } else { + $_SESSION['alert'][] = "info:wrong_data:Nem végzős:$diakId (jogviszonyát nem zárjuk le)"; + } + } + } +// if (count($vjlDiakIds) > 0) diakJogviszonyLezaras($vjlDiakIds, $ADAT['dt'], $olr = ''); + + } + + if (in_array('vegzosOsztalyokLezarasa', $ADAT['step'])) { + // A megjelölt végzős osztályokból kiléptetjük a diákokat (osztaly-Diak tábla) + $osztalyIds = array(); + for ($i = 0; $i < count($ADAT['vegzoOsztalyok']); $i++) $osztalyIds[] = $ADAT['vegzoOsztalyok'][$i]['osztalyId']; + osztalyLezaras($osztalyIds, $ADAT['dt']); + } + if (in_array('vegzosAzonositokTorlese', $ADAT['step'])) { + + require_once('include/modules/session/search/searchAccount.php'); + // Végzősök azonosítóinak törlése (mayor_private.accounts - lezárt jogviszonyúak) + + $q = "SELECT oId FROM diak WHERE statusz='jogviszonya lezárva' AND oId IS NOT NULL"; + $oIds = db_query($q, array('fv' => 'closeTanev/azonosítók lekérdezése', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + foreach ($oIds as $index => $oId) { + $ret = searchAccount('studyId', $oId, array('userAccount'), 'private'); + if ($ret['count'] == 1) deleteAccount($ret[0]['userAccount'][0], 'private'); + else $_SESSION['alert'][] = "info:wrong_data:nincs diák account:oId=$oId"; + } + } + + if (in_array('vegzosSzuloAzonositokTorlese', $ADAT['step'])) { + + require_once('include/modules/session/search/searchAccount.php'); + // Végzősök szülői azonosítóinak törlése (mayor_parent.accounts - pontosabban: lezárt jogviszonyúak userAccount=NULL) + $q = "SELECT szulo.userAccount + FROM diak LEFT JOIN szulo ON szuloId IN (apaId,anyaId,gondviseloId) + WHERE szulo.userAccount IS NOT NULL GROUP BY szulo.userAccount + HAVING SUM(IF(diak.statusz IN ('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve'), 1, 0)) = 0 + AND SUM(IF(diak.statusz IN ('jogviszonya lezárva','felvételt nyert'),1,0)) > 0"; + + $userAccounts = db_query($q, array('fv' => 'closeTanev/azonosítók lekérdezése', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + foreach ($userAccounts as $index => $userAccount) { + $ret = searchAccount('userAccount', $userAccount, array('userAccount'), 'parent'); + if ($ret['count'] == 1) + deleteAccount($ret[0]['userAccount'][0], 'parent'); + else + $_SESSION['alert'][] = "message:wrong_data:nincs szülő account:userAccount=$userAccount"; + + $q = "UPDATE szulo SET userAccount=NULL WHERE userAccount IN ('".implode("','", array_fill(0, count($userAccounts), '%s'))."')"; + + db_query($q, array('fv' => 'closeTanev', 'modul' => 'naplo_intezmeny', 'values' => $userAccounts)); + } + + } + + if (in_array('tanevLezaras', $ADAT['step'])) { + + // A tanév lezárása + setTanevStatus($tanev,'lezárt'); + + $Wnemszamit = defWnemszamit(); + // A tanévhez tartozó hiányzási adatok lekérdezése és rögzítése + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + foreach ($Szemeszter as $i => $szAdat) { + if ($szAdat['statusz'] == 'aktív') { // tervezett és lezárt szemeszter nem zárható le... + // replace - ha megnyitunk és újra lezárunk egy tanévet... + $q = "REPLACE INTO ".__INTEZMENYDBNEV.".hianyzasOsszesites + SELECT diakId, %u AS tanev, %u AS szemeszter, + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',perc,NULL)) AS gyakorlatKesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',perc,NULL)) AS elmeletKesesPercOsszeg + + FROM `%s`.hianyzas ".$Wnemszamit['join']." + WHERE ( + tipus = 'hiányzás' + OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL) + ) AND dt<='%s' + ".$Wnemszamit['nemszamit']." + GROUP BY diakId"; + $v = array($tanev, $szAdat['szemeszter'], $tanevDb, $szAdat['zarasDt']); + $r = db_query($q, array('fv' => 'closeTanev/hianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'values' => $v)); + // A hozott hiányzások hozzáadása + $q = "UPDATE ".__INTEZMENYDBNEV.".hianyzasOsszesites SET + igazolt = igazolt + ( + SELECT IFNULL(SUM(dbHianyzas),0) FROM `%s`.hianyzasHozott AS `hh` + WHERE hh.diakId = hianyzasOsszesites.diakId AND hh.statusz='igazolt' AND hh.dt<='%s' + ), + igazolatlan = igazolatlan + ( + SELECT IFNULL(SUM(dbHianyzas),0) FROM `%s`.hianyzasHozott AS `hh` + WHERE hh.diakId = hianyzasOsszesites.diakId AND hh.statusz='igazolatlan' AND hh.dt<='%s' + ) + WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanevDb, $szAdat['zarasDt'], $tanevDb, $szAdat['zarasDt'], $tanev, $szAdat['szemeszter']); + $r = db_query($q, array('fv' => 'closeTanev/hianyzasOsszesites/hozott', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + } + } + + return true; + + } + + function setTanevStatus($tanev,$statusz) { + global $mayorCache; + $mayorCache->delType('szemeszter'); + + $q = "UPDATE szemeszter SET statusz='%s' WHERE tanev=%u"; + $v = array($statusz, $tanev); + return db_query($q, array('fv' => 'setTanevStatus', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + + function refreshOsztalyNaplo($dbNev, $tanev) { + + global $mayorCache; + $mayorCache->flushdb(); + + $lr = db_connect('naplo_intezmeny', array('priv' => 'Write', 'fv' => 'refreshOsztalyNaplo')); + if (!$lr) return false; + + $q = "SELECT `osztalyId`,"._osztalyJel($tanev)." AS `osztalyJel`,"._evfolyam($tanev)." AS evfolyam,"._evfolyamJel($tanev)." AS evfolyamJel + FROM `osztaly` LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + WHERE kezdoTanev<=%u AND vegzoTanev>=%u + ORDER BY evfolyam, evfolyamJel, kezdoTanev, jel"; + + $v = array($tanev, $tanev); + $ret = db_query($q, array('fv' => 'refreshOsztalyNaplo', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + if (!is_array($ret)) return false; + foreach ($ret as $key => $sor) { + $q = "REPLACE INTO `%s`.osztalyNaplo (osztalyId,osztalyJel,evfolyam,evfolyamJel) VALUES (%u,'%s',%u,'%s')"; + $v = array($dbNev, $sor['osztalyId'], $sor['osztalyJel'], $sor['evfolyam'], $sor['evfolyamJel']); + db_query($q, array('fv' => 'refreshOsztalyNaplo', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } + + db_close($lr); + return true; + + + } + + function szemeszterModositasOrig($ADAT) { + + + for ($i = 0; $i < count($ADAT); $i++) { + + $kezdesDt = $ADAT[$i]['kezdesDt']; $zarasDt = $ADAT[$i]['zarasDt']; + $tanev = $ADAT[$i]['tanev']; $szemeszter = $ADAT[$i]['szemeszter']; + + $q = "SELECT zarasDt FROM szemeszter WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanev, $szemeszter); + $zDt = db_query($q, array('fv' => 'szemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'value')); + + $q = "SELECT count(*) FROM zaroJegy WHERE hivatalosDt='%s'"; + $v = array($zDt); + $db = db_query($q, array('fv' => 'szemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'value')); + + if ($db==0) { + + $q = "UPDATE szemeszter SET kezdesDt='%s',zarasDt='%s' WHERE tanev=%u AND szemeszter=%u"; + $v = array($kezdesDt, $zarasDt, $tanev, $szemeszter); + db_query($q, array('fv' => 'szemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } else { + $_SESSION['alert'][] = 'error:wrong_data:van már a '.$zDt.'-hez rögzített zárójegy!'; + return false; + } + } + + } + + /* + * A szemeszter dátumhatárainak módosítása több dolgot is érint. + * 1. A zárójegyek hivatalos dátuma a szemszter záró dátuma - kivéve a vizsgajegyket. + * - megoldás: módosítsuk a zárójegy dátumát + * 2. A tanév nap táblája a tanév kezdetétől a végéig tartalmaz napokat. + * - vegyük fel, illetve töröljük a hiányzó napokat (??) + * 3. Elképzelhető, hogy a már beírt órákat, és ezen keresztül hiányzásokat és jegyeket is érinti a módosítás (ora tábla) + * - Ha órák törlésével járna, akkor egyszerűbb nem megengedni a módosítást. Ha kell, akkor előre törölje az órákat külön! + */ + function szemeszterModositas($ADAT) { + + global $mayorCache; + $mayorCache->flushdb(); + + $success = true; + for ($i = 0; $i < count($ADAT); $i++) { + + unset($tolDt); unset($igDt); + $kezdesDt = $ADAT[$i]['kezdesDt']; $zarasDt = $ADAT[$i]['zarasDt']; + $tanev = $ADAT[$i]['tanev']; $szemeszter = $ADAT[$i]['szemeszter']; + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + $lr = db_connect('naplo_intezmeny', array('fv' => 'szemeszterModositas')); + db_start_trans($lr); + + // a korábbi szemeszter zárás dátumának és státuszának lekérdezése + $q = "SELECT statusz, kezdesDt, zarasDt FROM szemeszter WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanev, $szemeszter); + $ret = db_query($q, array('fv' => 'szemeszterModositas/select', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'record')); + $kDt = $ret['kezdesDt']; $zDt = $ret['zarasDt']; + if ($ret['statusz'] == 'lezárt') { + // lezárt szemeszter adatait ne változtassuk + $_SESSION['alert'][] = 'message:wrong_data:lezárt szemeszter! (szemeszter='.$tanev.'/'.$szemeszter.')'; + db_rollback($lr); db_close($lr); $success = false; continue; + } + if (($szemeszter == 1 && $kezdesDt != $kDt) || ($szemeszter == 2 && $zarasDt != $zDt)) { + // tanév kezdő vagy záró dátumának módosítása + if ($ret['statusz'] == 'aktív') { + // A tanév adatbázisát is érintik a változások + if ($szemeszter == 1 && $kezdesDt > $kDt) { + // Ha az év elejéből el kellene venni napokat, akkor ellenőrizzük, hogy vannak-e órák ezekre a napokra már beírva + $q = "SELECT COUNT(*) FROM `$tanevDb`.`ora` WHERE `dt` < '%s'"; + $v = array($kezdesDt); + $db = db_query($q, array('fv' => 'szemeszterModositas/ora - kezdés', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value'), $lr); + if ($db === "0") { + // Ha nincs betöltött óra, akkor módosíthatók a nap tábla megfelelő rekordjai; munkanapok --> szorgalmi időszakon kívüli munkanap + $q = "UPDATE `$tanevDb`.`nap` SET tipus='szorgalmi időszakon kívüli munkanap', orarendiHet=0 + WHERE `dt` < '%s' AND tipus IN ('tanítási nap','speciális tanítási nap','tanítás nélküli munkanap')"; + $v = array($kezdesDt); + $db = db_query($q, array('fv' => 'szemeszterModositas/delete nap', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value'), $lr); + } else { + // Ha van, akkor hibát üzenünk és nem hajtjuk végre a módosítást + $_SESSION['alert'][] = 'message:insufficient_access:szemeszterMododitas/tanév később kezdés:A dátumváltoztatás már betöltött órákat érintene!'; + db_rollback($lr, 'szemeszterModositas/van betöltött óra!'); db_close($lr); $success = false; continue; + } + } elseif ($szemeszter == 2 && $zarasDt < $zDt) { + // Ha az év végéből kell elvenni napokat, akkor ellenőrizzük, hogy vannak-e _lekötött_ órák ezekre a napokra már beírva + $q = "SELECT COUNT(*) FROM `$tanevDb`.`ora` WHERE `dt` > '%s' AND munkaido='lekötött'"; + $v = array($zarasDt); + $db = db_query($q, array('fv' => 'szemeszterModositas/ora - zárás', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value'), $lr); + if ($db === "0") { + // Ha nincs betöltött óra, akkor módosíthatók a nap tábla megfelelő rekordjai; munkanapok --> szorgalmi időszakon kívüli munkanap + $q = "UPDATE `$tanevDb`.`nap` SET tipus='szorgalmi időszakon kívüli munkanap', orarendiHet=0 + WHERE `dt` > '%s' AND tipus IN ('tanítási nap','speciális tanítási nap','tanítás nélküli munkanap')"; + $v = array($zarasDt); + $db = db_query($q, array('fv' => 'szemeszterModositas/delete nap', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value'), $lr); + } else { + // Ha van, akkor hibát üzenünk és nem hajtjuk végre a módosítást + $_SESSION['alert'][] = 'message:insufficient_access:szemeszterMododitas/tanév rövidítés:A dátumváltoztatás már betöltött órákat érintene!'; + db_rollback($lr, 'szemeszterModositas/van betöltött óra!'); db_close($lr); $success = false; continue; + } + } elseif ($szemeszter == 1 && $kezdesDt < $kDt) { + // éves munkaterv (nap tábla) bővítése + $tolDt = $kezdesDt; $igDt = date('Y-m-d', strtotime('-1 day', strtotime($kDt))); + } elseif ($szemeszter == 2 && $zarasDt > $zDt) { + // éves munkaterv (nap tábla) bővítése + $tolDt = date('Y-m-d', strtotime('+1 day', strtotime($zDt))); $igDt = $zarasDt; + } + if (isset($tolDt) && isset($igDt)) { + $Hetek = array(1); + $r = napokHozzaadasa($tanev, $tolDt, $igDt, $ADAT[$i], $lr); + unset($tolDt); unset($igDt); + if (!$r) { db_rollback($lr, 'szemeszterModositas/nap felvétel'); db_close($lr); $success = false; continue; } + /*orarendiHetekHozzarendelese($tolDt, $igDt, $Hetek, $lr);*/ + } + } // aktív tanév + } // tanév hossza változik + // Az érintett, vizsgához nem kapcsolódó zárójegyek hivatalos dátumának módosítása + $q = "UPDATE zaroJegy LEFT JOIN vizsga USING (zaroJegyId) SET hivatalosDt='%s' WHERE hivatalosDt='%s' AND vizsgaId IS NULL"; + $v = array($zarasDt, $zDt); + $r = db_query($q, array('fv' => 'szemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'value')); + if ($r === false) { db_rollback($lr, 'szemeszterModositas/zarójegyek'); db_close($lr); $success = false; continue; } + // A szemeszter kezdés és zárás dátumának módosítása + $q = "UPDATE szemeszter SET kezdesDt='%s',zarasDt='%s' WHERE tanev=%u AND szemeszter=%u"; + $v = array($kezdesDt, $zarasDt, $tanev, $szemeszter); + $r = db_query($q, array('fv' => 'szemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + if ($r === false) { db_rollback($lr, 'szemeszterModositas/dátum módosítás'); db_close($lr); $success = false; continue; } + + db_commit($lr); + db_close($lr); + + $_SESSION['alert'][] = 'info:success:tanev='.$tanev.', szemeszter='.$szemeszter; + + } + return $success; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/admin/tankorok.php b/mayor-orig/www/include/modules/naplo/admin/tankorok.php new file mode 100644 index 00000000..23887dbd --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/admin/tankorok.php @@ -0,0 +1,133 @@ + 'updateTankor')); + if (!$lr) { + fclose($fp); + return false; + } + + // Az első sor kihagyása + if ($rovatfej) $sor = fgets($fp,1024); + + // TárgyId-k átváltása + $keyNev = array_search('targyNev',$MEZO_LISTA); + if (!$keyNev && $keyNev !== 0) $keyNev = false; + if ($keyNev) { + $keyId = array_search('targyId',$MEZO_LISTA); + if (!$keyId && $keyId !== 0) { // Ha nincs targyId, akkor felvezzük a mező listába + $keyId = count($MEZO_LISTA); + $MEZO_LISTA[] = 'targyId'; + } + $MEZO_LISTA[$keyNev] = ''; // A targyNev nem játszik szerepet többet, csak a targyId + $targyak = array(); // $targyNev --> $targyId átalakítás tárolása + $attrList = array_values(array_filter($MEZO_LISTA)); // az attrList újragenerálása (targyNev helyett targyId) + if (in_array($keyNev,$KULCS_MEZOK)) { // Ha a targyNev kulcs lenne, akkor legyen helyette a tagyId a kulcs (ha már eleve benne volt a targyId, akkor most kétszer lesz benne - nem baj!) + $k = array_search($keyNev,$KULCS_MEZOK); + $KULCS_MEZOK[$k] = $keyId; + } + } + + while ($sor = fgets($fp,1024)) { + + $adatSor = explode($mezo_elvalaszto,chop($sor)); + $update = $hianyzoTargyId = false; + + // targyId megállapítása a targyNev alapján + if ( + $keyNev !== false // Ha van targyNev mező + && $adatSor[$keyNev] != '' // és nem üres + && $adatSor[$keyId] == '' // de nincs megadva targyId + + ) { + if (!isset($targyak[$adatSor[$keyNev]])) { // Ha még nem kérdeztük le a targyId-t + $q = "SELECT targyId FROM targy WHERE targyNev='%s'"; + $v = array($adatSor[$keyNev]); + $targyak[$adatSor[$keyNev]] = db_query($q, array( + 'fv' => 'updateTankor', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v + ), $lr); + if (!$targyak[$adatSor[$keyNev]]) { + $_SESSION['alert'][] = 'message:wrong_data:tárgyNév:'.$adatSor[$keyNev].':'.$num.':'.$sor; + $hianyzoTargyId = true; + } + } + $adatSor[$keyId] = $targyak[$adatSor[$keyNev]]; + } + // Innentől ha lehetett, akkor a targyNev le lett cserélve targyId-re - minden megy a sima frissítés szerint + + // keresési feltétel összerakása + $where = ''; + for ($i=0; $i 'updateTankor', 'modul' => 'naplo_intezmeny', 'result' => 'value'), $lr); + $update = ($num > 0); + } + if ($update) { + $UPDATE = array(); + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ( + $MEZO_LISTA[$i] != '' + and $adatSor[$i] != '' + and !in_array($i,$KULCS_MEZOK) + ) { + $UPDATE[] = $MEZO_LISTA[$i]."='".$adatSor[$i]."'"; + } + } + if (count($UPDATE) > 0) { + $q = 'UPDATE tankor SET '.implode(',',$UPDATE).' WHERE '.$where; + $r = db_query($q, array('fv' => 'updateTankor', 'modul' => 'naplo_intezmeny'), $lr); + } + } elseif (!$hianyzoTargyId) { + $value = array(); + for ($i=0; $i 0) { + $q = 'INSERT INTO tankor ('.implode(",",$attrList).') VALUES '.implode(",\n",$VALUES); + $r = db_query($q, array('fv' => 'updateTankor', 'modul' => 'naplo_intezmeny'), $lr); + } + + db_close($lr); + + fclose($fp); + + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/base/base.php b/mayor-orig/www/include/modules/naplo/base/base.php new file mode 100644 index 00000000..d3c32ad6 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/base.php @@ -0,0 +1,298 @@ + strtotime($tolDt)) $igDt = $dt; else $igDt = $tolDt; + elseif (!$override && strtotime($igDt) > strtotime($TA['zarasDt'])) $igDt = $TA['zarasDt']; + } else { + if ($tolDt == '' or (!$override && strtotime($tolDt) < strtotime($TA['kezdesDt']))) $tolDt = $TA['kezdesDt']; + elseif ($tolDt != '' && strtotime($TA['zarasDt']) < strtotime($tolDt)) $tolDt = $TA['zarasDt']; + if ($igDt == '' or (!$override && strtotime($igDt) > strtotime($TA['zarasDt']))) $igDt = $TA['zarasDt']; + elseif ($igDt != '' && strtotime($igDt) < strtotime($TA['kezdesDt'])) $igDt = $TA['kezdesDt']; + } + } + } + + // -------------------------------------------------- // + + function getTanitasiNapVissza($napszam, $from = 'curdate()', $olr = '') { + return getTanitasiNap(array('direction'=>'vissza','napszam'=>$napszam,'fromDt'=>$from), $olr); + } + + function getTanitasiNap($ADAT = array('direction'=>'', 'napszam'=>0, 'fromDt'=>'curdate()'), $olr = null) { + + global $_TANEV; + + if ($ADAT['fromDt']!='') $fromDt = $ADAT['fromDt']; else $fromDt = 'curdate()'; + if ($ADAT['direction']!='') $direction = $ADAT['direction']; + if ($ADAT['napszam']!='') $napszam = $ADAT['napszam']; + if ($napszam < 0 || !defined('__TANEV') || is_null(__TANEV) ||!is_array($_TANEV) || $_TANEV['kezdesDt']=='' || $_TANEV['statusz']=='tervezett') { + return false; + } + if ($direction == 'vissza') { $relacio='<'; $DESC = 'DESC'; } + else { $relacio = '>'; $DESC = 'ASC'; } + + if ($napszam==0) { // extra eset + $v = array($fromDt,1); + $from="CAST('%s' AS DATE)"; + if ($direction == 'vissza') $relacio = '<='; + else $relacio = '>='; + $limit = "1"; + } elseif ($fromDt != 'curdate()') { + $v = array($fromDt, ($napszam-1)); + $from="CAST('%s' AS DATE)"; + $limit = "%u,1"; + } else { + $v = array(($napszam-1)); + $from='curdate()'; + $limit = "%u,1"; + } + + $q = "SELECT DISTINCT(dt) FROM nap + WHERE dt $relacio $from + AND tipus LIKE '%%tanítási nap' + ORDER BY dt $DESC + LIMIT ".$limit; + $nap = db_query($q, array('fv' => 'getTanitasiNap', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $olr); + // Ha nincs elég tanítási nap, akkor iránytól függően adjuk vissza a szélső értékeket + if ($nap == '') { + if ($direction == 'vissza') $nap = date('Y-m-d',strtotime($_TANEV['kezdesDt'])); // ez ugye lehet nem tanítási nap is! + else $nap = date('Y-m-d',strtotime($_TANEV['zarasDt'])); // ez ugye lehet nem tanítási nap is! + } + + return $nap; + + } + + function getTanitasiHetHetfo($ADAT = array('direction'=>'', 'napszam'=>0, 'fromDt'=> ''), $olr = null) { + + global $_TANEV; + + if ($ADAT['fromDt']!='') $fromDt = $ADAT['fromDt']; else $fromDt = date('Y-m-d'); + if ($ADAT['direction']!='') $direction = $ADAT['direction']; + if ($ADAT['napszam']!='') $napszam = $ADAT['napszam']; + if ($napszam < 0 || !defined('__TANEV') || is_null(__TANEV) ||!is_array($_TANEV) || $_TANEV['kezdesDt']=='') { + return false; + } + if ($napszam == 0) { + // Az előző/következő napot követő/megelőző nap utáni 1 tanítási nap + if ($direction == 'vissza') { $muv = '+'; } + else { $muv = '-'; } + $v = array($napszam); + $from = "'$fromDt' $muv INTERVAL 1 DAY"; + } elseif ($fromDt != 'curdate()') { + $v = array($fromDt, ($napszam-1)); + $from="CAST('%s' AS DATE)"; + } else { + $v = array(($napszam-1)); + $from = $fromDt; + } + if ($direction == 'vissza') { $relacio='<'; $DESC = 'DESC'; } + else { $relacio = '>'; $DESC = 'ASC'; } + + $q = "SELECT DISTINCT( DATE(dt-INTERVAL (DAYOFWEEK(dt)-2) DAY) ) AS dt FROM nap + WHERE dt $relacio $from + AND tipus LIKE '%%tanítási nap' + ORDER BY dt $DESC + LIMIT %u,1"; + $nap = db_query($q, array('fv' => 'getTanitasiNap', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $olr); + + if ($nap == '') $nap = date('Y-m-d',strtotime($_TANEV['kezdesDt'])); // ez ugye lehet nem tanítási nap is! + + return $nap; + + } + + + // -------------------------------------------------- // + + function checkNaplo($dt = '') { + + global $_TANEV; + + $time = strtotime($dt); + + if ($time < strtotime($_TANEV['kezdesDt']) || $time > strtotime($_TANEV['zarasDt'])) return false; + if ($time === false // $dt == '0000-00-00' || $dt == '' || !isset($dt) + || __TANKOROK_OK !== true + || ( + !__NAPLOADMIN + && ($time < strtotime($_TANEV['kezdesDt']) || $time > strtotime($_TANEV['zarasDt'])) + ) + ) { + $_SESSION['alert'][] = 'message:wrong_data:checkNaplo:'.$dt.'('.(__TANKOROK_OK?1:2).')'; + return false; + } else { + + $napszam = date('w', strtotime($dt)); + if ($napszam == 0) $napszam = 7; + + // Muszáj újrakapcsolódnunk a lock miatt - nem adható át $olr... + $lr = db_connect('naplo', array('force' => true, 'fv' => 'checkNaplo')); + + // E helyett: Van-e olyan munkaterv, amiben van tanítási nap - sőt, lekérdezzük rögtön a hozzá tartozó órarendi hét-osztalyId párokat is! + $query = "SELECT distinct orarendiHet, osztalyId FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) WHERE dt=CAST('%s' AS DATE) + AND tipus='tanítási nap' AND osztalyId IS NOT NULL"; // ha egy munkatervhez nincs osztály rendelve, akkor se zavarjon be... + $v = array($dt); + // keyvalues = első mező a kulcs, azon belül a második mező indexelve jelenik meg + $RESULT = db_query($query, array('fv' => 'checkNaplo', 'modul' => 'naplo', 'result' => 'keyvalues', 'values' => $v), $lr); + if ($RESULT===false) { + db_close($lr); + return false; + } + if (is_array($RESULT) && count($RESULT) > 0) { + + $query = "SELECT oraId FROM ora WHERE dt=CAST('%s' AS DATE) LIMIT 1"; + $_oraId = db_query($query, array('fv' => 'checkNaplo/testIfCheck', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + if ($_oraId === false) { + db_close($lr); + return false; + } + + if ($_oraId === null) { + + // lock + $lock_q = 'LOCK TABLE ora write, orarendiOra read, orarendiOraTankor read, osztalyNaplo READ, '.__INTEZMENYDBNEV.'.osztaly READ,'.__INTEZMENYDBNEV.'.tankorOsztaly READ,'.__INTEZMENYDBNEV.'.tankorSzemeszter READ'; + db_query($lock_q, array('fv' => 'checkNaplo/lock ora', 'modul' => 'naplo'), $lr); + // recheck + $query = "SELECT oraId FROM ora WHERE dt=CAST('%s' AS DATE) LIMIT 1"; + $_oraId = db_query($query, array('fv' => 'checkNaplo/testIfCheck', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + if ($_oraId === false || $_oraId !== null) { + db_query('unlock tables', array('fv' => 'checkNaplo/lock ora', 'modul' => 'naplo'), $lr); + db_close($lr); + return false; + } + // -- + + // órarendi hetenként töltjük be... bár jelenleg egy nap csak egy órarendi hét lehet! + foreach ($RESULT as $orarendiHet => $osztalyIds) { + if (!is_array($osztalyIds) || count($osztalyIds)==0) continue; + // INSERT-be pedig csak azon tankorId-k, amik szerepelnek a tankorOsztaly táblában + $q = "SELECT DISTINCT tankorId FROM ".__INTEZMENYDBNEV.".tankorOsztaly WHERE osztalyId IN (".implode(',',$osztalyIds).")"; + $tankorIds = db_query($q, array('fv'=>'checkNaplo/tankorIds', 'modul'=>'naplo', 'result'=>'idonly')); + // Elvileg nem lehet tankor NULL - _TANKOROK_OK + // De sajnos minden lehet: + if (!is_array($tankorIds) || count($tankorIds)==0) continue; + $query = "INSERT INTO ora (dt,ora,ki,tankorId,teremId,tipus,eredet) + SELECT '%s',ora,orarendiOra.tanarId AS tanarId, orarendiOraTankor.tankorId AS tankorId, + teremId, 'normál','órarend' + FROM orarendiOra LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE orarendiOraTankor.tankorId IS NOT NULL + AND tankorId IN (".implode(',', $tankorIds).") + AND het=%u + AND nap=%u + AND tolDt<='%s' AND igDt>='%s' "; // !!!! + $v = array($dt, $orarendiHet, $napszam, $dt, $dt); + $er = db_query($query, array('fv' => 'checkNaplo/finally', 'modul' => 'naplo', 'values' => $v), $lr); + } + + db_query('unlock tables', array('fv' => 'checkNaplo/unlock', 'modul' => 'naplo'), $lr); + if ($er === false) { + db_close($lr); + return false; + } + } + //} + } + db_close($lr); + return true; + } + } + + // -------------------------------------------------- // + + function checkNaploStatus($olr = '') { + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + // A munkaterv meglétének ellenőrzése + $q = "SELECT COUNT(*) FROM nap"; + $count = db_query($q, array('fv' => 'checkNaploStatus/darab', 'modul' => 'naplo', 'result' => 'value'), $lr); + define('__MUNKATERV_OK', ($count != 0)); + + $q = "SELECT COUNT(*) FROM orarendiOra WHERE tolDt <= curdate() AND igDt >= curdate()"; + $count = db_query($q, array('fv' => 'checkNaploStatus/darab', 'modul' => 'naplo', 'result' => 'value'), $lr); + define('__ORAREND_OK', ($count != 0)); + + $q = "SELECT COUNT(DISTINCT orarendiOra.tanarId, orarendiOra.targyJel, orarendiOra.osztalyJel) + FROM orarendiOra LEFT JOIN orarendiOraTankor USING(tanarId, targyJel, osztalyJel) + WHERE tankorId IS NULL"; + $count = db_query($q, array('fv' => 'checkNaploStatus/darab', 'modul' => 'naplo', 'result' => 'value'),$lr); + if ($count != 0) { + define('__TANKOROK_OK', false); + define('__HIANYZO_TANKOROK_SZAMA', $count); + } else { + define('__TANKOROK_OK', true); + define('__HIANYZO_TANKOROK_SZAMA', 0); + } + + if ($olr == '') db_close($lr); + + } + + function checkDiakStatusz() { + + /* Konzisztencia ellenőrzés */ + + $lr = db_connect('naplo_intezmeny', array('fv' => 'checkDiakStatusz')); + db_start_trans($lr); + + // Ha státusz!='felvételt nyert' akkor kell lennie jogviszonyKezdete dátumnak + $q = "SELECT COUNT(*) AS db FROM diak WHERE statusz!='felvételt nyert' AND (jogviszonyKezdete IS NULL OR jogviszonyKezdete = '0000-00-00')"; + $db = db_query($q, array('fv' => 'checkDiakStatusz/pre#1', 'modul' => 'naplo_intezmeny', 'result' => 'value'), $lr); + if (__NAPLOADMIN && $db > 0) $_SESSION['alert'][] = 'message:wrong_data:jogviszonyKezdete hiányzik '.$db.' darab rekordban'; + + // Ha van olyan jogviszonyKezdete bejegyzés, melyhez nem tartozik diakJogviszony rekord, akkor azt pótoljuk + $q = "SELECT COUNT(*) AS db FROM diak LEFT JOIN diakJogviszony + ON diak.diakId = diakJogviszony.diakId AND diakJogviszony.statusz IN ('jogviszonyban van','vendégtanuló') AND diak.jogviszonyKezdete=diakJogviszony.dt + WHERE diakJogviszony.dt IS NULL AND jogviszonyKezdete IS NOT NULL AND jogviszonyKezdete != '0000-00-00'"; + $db = db_query($q, array('fv' => 'checkDiakStatusz/pre#1', 'modul' => 'naplo_intezmeny', 'result' => 'value'), $lr); + + $insDb = 0; + if ($db!==false && $db>0) { + $q = "INSERT INTO ".__INTEZMENYDBNEV.".diakJogviszony + SELECT diak.diakId as diakId, IF(diak.statusz='vendégtanuló','vendégtanuló','jogviszonyban van') AS statusz, jogviszonyKezdete AS dt FROM diak LEFT JOIN diakJogviszony + ON diak.diakId = diakJogviszony.diakId AND diakJogviszony.statusz IN ('jogviszonyban van','vendégtanuló') AND diak.jogviszonyKezdete=diakJogviszony.dt + WHERE diakJogviszony.dt IS NULL AND jogviszonyKezdete IS NOT NULL AND jogviszonyKezdete != '0000-00-00'"; + $insDb = db_query($q, array('fv' => 'checkDiakStatusz/#1', 'modul' => 'naplo_intezmeny', 'result' => 'affected rows'), $lr); + } + // A diakJogviszony tábla alapján állítjuk az aktuális státuszt + /* $q = "UPDATE ".__INTEZMENYDBNEV.".diak LEFT JOIN ".__INTEZMENYDBNEV.".diakJogviszony AS dj ON diak.diakId=dj.diakId + AND dj.dt=(SELECT MAX(dt) FROM ".__INTEZMENYDBNEV.".diakJogviszony WHERE dt<=CURDATE() AND diakId=dj.diakId) + SET diak.statusz = dj.statusz + WHERE diak.statusz<>'felvételt nyert' AND dj.statusz IS NOT NULL AND diak.statusz<>dj.statusz"; + */ + $q = "SELECT ".__INTEZMENYDBNEV.".diak.diakId,dj.statusz,dt + FROM ".__INTEZMENYDBNEV.".diak LEFT JOIN ".__INTEZMENYDBNEV.".diakJogviszony AS dj + ON ( + diak.diakId=dj.diakId + AND dj.dt=(SELECT MAX(dt) FROM ".__INTEZMENYDBNEV.".diakJogviszony WHERE dt<=CURDATE() AND diakId=dj.diakId) + ) WHERE diak.statusz<>'felvételt nyert' AND dj.statusz IS NOT NULL AND diak.statusz<>dj.statusz ORDER BY diakId,dt"; + $r = db_query($q, array('fv' => 'checkDiakStatusz/#2', 'modul' => 'naplo_intezmeny', 'result' => 'indexed'), $lr); + $updDb = 0; + for ($i=0; $i 'checkDiakStatusz/#2', 'modul' => 'naplo_intezmeny', 'values'=>$v, 'result' => 'affected rows'), $lr); + } + + db_commit($lr); + db_close($lr); + + return intval($insDb)+intval($updDb); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/base/log.php b/mayor-orig/www/include/modules/naplo/base/log.php new file mode 100644 index 00000000..e244c9a3 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/log.php @@ -0,0 +1,40 @@ + null, 'szoveg' => '', 'tabla' => '', 'values' => array()), $olr = null) + Logbejegyzést készít, belerakja a datetime-ot, az action-t és a _USERACCOUNT-ot, ... + checkReloadAction($actionId, $action = '', $tabla = '', $olr = '') +*/ + + function logAction($SET = array('actionId' => null, 'szoveg' => '', 'tabla' => '', 'values' => array()), $olr = null) { + + global $action; + + $ip = $_SERVER['REMOTE_ADDR']; + $v = mayor_array_join(array($ip, $SET['tabla'], $action), $SET['values'], array($SET['actionId'])); + $q = "INSERT INTO ".__TANEVDBNEV.".logBejegyzes (userAccount, dt, ip, tabla, action, szoveg, actionId) VALUES + ('"._USERACCOUNT."', now(), '%s', '%s', '%s', '".$SET['szoveg']."','%s')"; + return db_query($q, array('fv' => 'logAction', 'modul' => 'naplo', 'values' => $v), $olr); + + } + + function checkReloadAction($actionId, $action = '', $tabla = '', $olr = null) { + + + $q = "SELECT logId FROM ".__TANEVDBNEV.".logBejegyzes WHERE actionId = '%s'"; + $v = array($actionId); + if ($action != '') { $q .= " AND action='%s'"; $v[] = $action; } + if ($tabla != '') { $q .= " AND tabla='%s'"; $v[] = $tabla; } + + $r = db_query($q, array('fv' => 'checkReloadAction', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $olr); + + if ($r===false) { + $_SESSION['alert'][] = 'message:sql_query_failure:checkReloadAction:'.$q.':'.$error; + return false; + } + return ($r === null); + + } +?> diff --git a/mayor-orig/www/include/modules/naplo/base/rights.php b/mayor-orig/www/include/modules/naplo/base/rights.php new file mode 100644 index 00000000..61a3f2a6 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/rights.php @@ -0,0 +1,469 @@ + 'getTanevAdat', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'szemeszter', 'values' => array($tanev) + ), $olr); + + if (!is_array($ret['szemeszter'])) return false; + + // A legkorábbi kezdés és legkésőbbi zárás keresése... + $kezdesDt = '2030-01-01'; $zarasDt = '1980-01-01'; + $kezdes = strtotime($kezdesDt); $zaras = strtotime($zarasDt); + foreach ($ret['szemeszter'] as $szemeszter => $A) { + + if ($kezdes > strtotime($A['kezdesDt'])) { + $kezdesDt = $A['kezdesDt']; + $kezdes = strtotime($kezdesDt); + } + if ($zaras < strtotime($A['zarasDt'])) { + $zarasDt = $A['zarasDt']; + $zaras = strtotime($zarasDt); + } + $ret['statusz'] = $A['statusz']; + } + $ret['kezdesDt'] = $kezdesDt; $ret['zarasDt'] = $zarasDt; $ret['tanev'] = $tanev; + $q = "SELECT MAX(zarasDt) FROM szemeszter WHERE zarasDt<'%s'"; + $ret['elozoZarasDt'] = db_query($q, array('fv'=>'getTanevAdat/elozo','modul'=>'naplo_intezmeny','result'=>'value','values'=>array($ret['kezdesDt']))); + $q = "SELECT MIN(kezdesDt) FROM szemeszter WHERE kezdesDt>'%s'"; + $ret['kovetkezoKezdesDt'] = db_query($q, array('fv'=>'getTanevAdat/kovetkezo','modul'=>'naplo_intezmeny','result'=>'value','values'=>array($ret['zarasDt']))); + + return $ret; + + } + + function initIntezmeny($DATA) { + + global $MYSQL_DATA; + + $intezmeny = $DATA['intezmeny']; + $MYSQL_DATA['naplo_intezmeny'] = $MYSQL_DATA['naplo_base']; + $MYSQL_DATA['naplo_intezmeny']['db']= intezmenyDbNev($intezmeny); + + define('__INTEZMENY', $intezmeny); + define('__INTEZMENYDBNEV', intezmenyDbNev(__INTEZMENY)); + + if (isset($DATA['telephelyId'])) { + define('__TELEPHELYID',$DATA['telephelyId']); + } + + $num = checkDiakStatusz(); + if ($num != 0) $_SESSION['alert'][] = 'info:success:checkDiakStatusz:helyreállított rekordok száma='.$num; + + $q = "SELECT OMKod FROM intezmeny WHERE rovidNev='%s'"; + define('__OMKOD',db_query($q, array('fv' => 'initIntezmeny', 'modul' => 'naplo_base', 'result' => 'value','values'=>array($intezmeny)))); + + } + + function initTanev($intezmeny, $tanev) { + + global $MYSQL_DATA, $_TANEV; + + $MYSQL_DATA['naplo'] = $MYSQL_DATA['naplo_base']; + $MYSQL_DATA['naplo']['db']= tanevDbNev($intezmeny, $tanev); + + define('__TANEV', $tanev); + define('__TANEVDBNEV', tanevDbNev(__INTEZMENY, __TANEV)); + $_TANEV = getTanevAdat(); + // A kezdes- és zarasDt a szemeszter táblában DATE típusú, így az összehasonlítás korrekt + $date = date('Y-m-d'); + define('__FOLYO_TANEV',( + $_TANEV['kezdesDt'] <= $date + && $date <= $_TANEV['zarasDt'] + )); + + if (file_exists($file = _CONFIGDIR."/module-naplo/config-$intezmeny.php")) require_once($file); + initDefaults(); + + if ($_TANEV['statusz'] == 'aktív') { + checkNaploStatus(); + if (__FOLYO_TANEV) + if (__MUNKATERV_OK && __ORAREND_OK && __TANKOROK_OK) checkNaplo(date('Y-m-d')); + else $_SESSION['alert'][]= 'info:checkNaploFailed:orarend-'.((__ORAREND_OK)?'ok':'!').':tankorok-'.((__TANKOROK_OK)?'ok':'!'); + } + } + + function initDefaults() { + + if (!defined('_ZARAS_HATARIDO')) define('_ZARAS_HATARIDO',date('Y-m-01 00:00:00',strtotime('10 days ago'))); + // Helyttesített óra beírása (szaktanár): következő nap 8:00 + if (!defined('_HELYETTESITES_HATARIDO')) define('_HELYETTESITES_HATARIDO',date('Y-m-d',strtotime('8 hours ago'))); // Csak dárum lehet, mert az órák időpontját nem tudjuk + // Jegyek beírása, módosítása, törlése (szaktanár): zárásig (zárt időintervallum!) + if (!defined('_OSZTALYOZO_HATARIDO')) define('_OSZTALYOZO_HATARIDO',_ZARAS_HATARIDO); + + // Saját óra beírása (szaktanár) + // A mai nap+8 óra előtti tanatási nap utáni napot megelőző hétfő + // Azaz egy óra a következő hétfői tanítási nap 16:00-ig írható be. + if (!defined('_HALADASI_HATARIDO')) + define('_HALADASI_HATARIDO', + date('Y-m-d H:i:s', + strtotime('last Monday', + strtotime('next day', + strtotime( + getTanitasiNapVissza(1,date('Y-m-d H:i:s',strtotime('+8hours'))) + ) + ) + ) + ) + ); + + // A nevek rendezése a helyettesítés kiíráskor: súly szerint (súly) vagy névsorban (ABC) + if (!defined('__HELYETTESITES_RENDEZES')) define('__HELYETTESITES_RENDEZES','súly'); + // Fogadóórán egy vizit tervezett hossza + if (!defined('_VIZITHOSSZ')) define('_VIZITHOSSZ',10); + // Jegyek default súlyozása + if (!defined('__DEFAULT_SULYOZAS')) define('__DEFAULT_SULYOZAS','1:1:1:1:1'); + // Jegymódosításkor a jegy típus modosítható-e (pl: féljegy --> százalékos) + if (!defined('__JEGYTIPUS_VALTHATO')) define('__JEGYTIPUS_VALTHATO',false); + + // TANEV + // Szülői igazolások száma: félévenként legfeljebb 5 nap + define('__SZULOI_IGAZOLAS_FELEVRE',5); + define('__SZULOI_IGAZOLAS_EVRE',0); + // Szülő által igazolható órák maximális száma: félévenként legfeljebb 14 óra + define('__SZULOI_ORA_IGAZOLAS_FELEVRE',14); + define('__SZULOI_ORA_IGAZOLAS_EVRE',0); + // Osztályfőnöki igazolások száma: évi 3 nap + // Csak ha < 5 igazolatlanja van + define('__OSZTALYFONOKI_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_IGAZOLAS_EVRE',5); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_FELEVRE',0); + define('__OSZTALYFONOKI_ORA_IGAZOLAS_EVRE',21); + + // Összeadjuk-e a késések perceit, hogy átváltsuk + if (!defined('_KESESI_IDOK_OSSZEADODNAK')) define('_KESESI_IDOK_OSSZEADODNAK', false); + // Hány késés felel meg egy igazolatlan órának - ha 0 vagy _KESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk át + if (!defined('_HANY_KESES_IGAZOLATLAN')) define('_HANY_KESES_IGAZOLATLAN', 3); + // Hány felszerelés hiány felel meg egy igazolatlan órának - ha 0 vagy _KESESI_IDOK_OSSZEADODNAK, akkor nem váltjuk + if (!defined('_HANY_FSZ_IGAZOLATLAN')) define('_HANY_FSZ_IGAZOLATLAN', 3); + // Hány egyenruha hiány felel meg egy igazolatlan órának - ha 0, akkor nem váltjuk + if (!defined('_HANY_EH_IGAZOLATLAN')) define('_HANY_EH_IGAZOLATLAN', 0); + + // Hiányzás, késés, felszerelés hiány, egyenruha hiány beírása (szaktanár): következő nap 16:00 + if (!defined('_HIANYZAS_HATARIDO')) define('_HIANYZAS_HATARIDO',date('Y-m-d 00:00:00',strtotime('16 hours ago'))); + // Hiányzás, késés beírása osztályfőnöknek: 5 tanítási nap + if (!defined('_OFO_HIANYZAS_BEIRAS')) define('_OFO_HIANYZAS_BEIRAS',5); + if (!defined('_OFO_HIANYZAS_HATARIDO')) define('_OFO_HIANYZAS_HATARIDO',getTanitasiNapVissza(_OFO_HIANYZAS_BEIRAS,'curdate()')); + // Igazolás beírásának határideje: 5 tanítási nap + if (!defined('_IGAZOLAS_BEIRAS')) define('_IGAZOLAS_BEIRAS',6); + if (!defined('_IGAZOLAS_BEIRAS_HATARIDO')) define('_IGAZOLAS_BEIRAS_HATARIDO',getTanitasiNapVissza(_IGAZOLAS_BEIRAS,'curdate()')); + // Igazolás leadás határideje - ha nincs közben osztályfőnöki óra: 8 tanítási nap + if (!defined('_IGAZOLAS_LEADAS')) define('_IGAZOLAS_LEADAS',8); + if (!defined('_LEGKORABBI_IGAZOLHATO_HIANYZAS')) define('_LEGKORABBI_IGAZOLHATO_HIANYZAS',getTanitasiNapVissza(_IGAZOLAS_BEIRAS+_IGAZOLAS_LEADAS,'curdate()')); + + } + + //--- + + function getIdByOid($oId, $td = 'diak') { + + + if (intval($oId) == 0) { + $_SESSION['alert'][] = 'page:insufficient_access:Hiányzó oktatási azonosító!:'.$td; + return false; + } + $td = readVariable($td, 'enum', 'diak', array('tanar', 'diak')); + + $q = "SELECT ${td}Id FROM $td WHERE oId = '%s'"; + $id = db_query($q, array('fv' => 'getIdByOid', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($oId))); + + if (!$id) { + $_SESSION['alert'][] = 'message:id_not_found:(oid:'.$oId.')'; + return false; + } + + return $id; + + } + + function getSzuloIdByUserAccount($szuloCheck=true) { + $q = "SELECT szuloId FROM ".__INTEZMENYDBNEV.".szulo WHERE userAccount='"._USERACCOUNT."'"; + $szuloId = db_query($q, array('fv' => 'getSzuloIdByUserAccount', 'modul' => 'naplo_intezmeny', 'result' => 'value')); + if ($szuloCheck===true && __CHECK_SZULO_TORVENYES === true) { + $q = "SELECT count(*) FROM `".__INTEZMENYDBNEV."`.`diak` WHERE diakId='".__PARENTDIAKID."' AND + ( + (anyaId=%u AND FIND_IN_SET('anya',torvenyesKepviselo)=1) OR + (apaId=%u AND FIND_IN_SET('apa',torvenyesKepviselo)=2) OR + (gondviseloId=%u)OR + (neveloId=%u) ) + "; + $torvenyesE = db_query($q, array('fv' => 'getSzuloIdByUserAccount', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values'=>array($szuloId,$szuloId,$szuloId,$szuloId))); + if ($torvenyesE==0) { + $_SESSION['alert'][] = 'page:nem_torvenyes_kepviselo'; + } + } + return $szuloId; + } + + + function isTanar($tanarId) { + $q = "SELECT COUNT(*) AS db FROM ".__INTEZMENYDBNEV.".tanar + WHERE tanarId=%u AND beDt<=CURDATE() AND (kiDt IS NULL OR kiDt>=CURDATE())"; + $v = db_query($q, array('fv' => 'isTanar', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tanarId))); + return ($v==1); + } + + // Én hajlanék arra is, hogy az egész $Param tömböt kivegyük... + function getOsztalyIdsByTanarId($tanarId, $Param = array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'csakId'=>true)) { + + global $_TANEV; + + if (is_null($Param['tanev']) || $Param['tanev']=='') $Param['tanev']=__TANEV; + if ($Param['tanev'] != __TANEV && $Param['tanev']!='') $TA = getTanevAdat($Param['tanev']); + else $TA = $_TANEV; + + if (isset($Param['tolDt']) && $Param['tolDt']!='') $tolDt = $Param['tolDt']; else unset($tolDt); + if (isset($Param['igDt']) && $Param['igDt']!='') $igDt = $Param['igDt']; else unset($igDt); + initTolIgDt($Param['tanev'], $tolDt, $igDt); + + $q = "SELECT DISTINCT osztalyId FROM ".__INTEZMENYDBNEV.".osztalyTanar WHERE tanarId=%u AND beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s')"; + $v = array($tanarId, $igDt, $tolDt); + return db_query($q, array('fv' => 'getOsztalyIdsByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + + } + + + function naploBeallitasok() { + + global $_RPC; + + $lr = db_connect('naplo_base', array('fv' => 'naploBeallitasok')); + if ($lr == false) return false; + + // session lekérdezése + $q = "SELECT intezmeny, telephelyId, tanev, parentDiakId FROM session WHERE sessionID='"._SESSIONID."' AND policy='"._POLICY."'"; + $RESULT = db_query($q, array('fv' => 'naploBeallitasok', 'modul' => 'naplo_base', 'result' => 'record'), $lr); + + if ($vanSession = (is_array($RESULT) && (count($RESULT) > 0))) { // Létező session - egyszerű eset + + if ($RESULT['intezmeny'] != '') + initIntezmeny($RESULT); + if (defined('__INTEZMENY') && $RESULT['tanev'] != '') + initTanev($RESULT['intezmeny'], $RESULT['tanev']); + if (_POLICY == 'parent' && $RESULT['parentDiakId'] != '') + define('__PARENTDIAKID', $RESULT['parentDiakId']); +//var_dump($RESULT); +//die(); + + } + // Az (alapértelmezett) intézmény lekérdezése - ha még nincs meg + if (!defined('__INTEZMENY')) { + + if (_RPC) { + /* Ha az RPC hívás tartalmazza az OMKod-ot */ + $OMKod = readVariable($_RPC['request']['OMKod'],'numeric unsigned'); + $q = "SELECT rovidNev AS intezmeny FROM intezmeny WHERE OMKod=%u"; + $RESULT = db_query($q, array('fv' => 'naploBeallitasok/settings', 'modul' => 'naplo_base', 'values'=> array($OMKod),'result' => 'record')); + if ($RESULT['intezmeny'] == '' && $page=='naplo') { // ismeretlen OMKod esetén elutasítjuk a további feldolgozást + $DATA = array('alert'=>'page:wrong_data:OMKod','OMKod'=>$OMKod,'result'=>'failure'); + global $RPC; + $RPC->setResponse($DATA); $RPC->sendResponse(); die(); + } + } else { + /* egyedi intezmeny és telephely lekérdezése a settings-ből */ + $q = "SELECT intezmeny, telephelyId FROM settings WHERE userAccount='%s' AND policy='%s'"; + $RESULT = db_query($q, array('fv' => 'naploBeallitasok/settings', 'modul' => 'naplo_base', 'values'=> array(_USERACCOUNT,_POLICY),'result' => 'record')); + + /* ellenőrizzük, hogy érvényes-e */ + if ($RESULT['intezmeny'] != '') { + $q = "SELECT rovidnev FROM intezmeny WHERE rovidnev='%s'"; + $RESULT['intezmeny'] = db_query($q, array('fv' => 'naploBeallitasok/settings intézmény', 'modul' => 'naplo_base', 'result' => 'value', 'values'=>array($RESULT['intezmeny'])), $lr); + + /* telephely ellenőrzése */ + if ($RESULT['intezmeny'] != '' && $RESULT['telephelyId'] != '') { + $q = "SELECT telephelyId FROM `%s`.`telephely` WHERE `telephelyId`='%s'"; + $RESULT['telephelyId'] = db_query($q, array( + 'fv' => 'naploBeallitasok/settings telephely', 'modul' => 'naplo_base', 'result' => 'value', + 'values' => array(intezmenyDbNev($RESULT['intezmeny']), $RESULT['telephelyId']) + ), $lr); + } else { unset($RESULT['telephelyId']); /* Ha az intézmény hibás, akkor a telephely sem lehet jó... */ } + } + } + + /* ha nem érvényes vagy nincs elmentve */ + if ($RESULT['intezmeny']=='') { + $q = "SELECT rovidnev FROM intezmeny ORDER BY alapertelmezett DESC LIMIT 1"; + $RESULT['intezmeny'] = db_query($q, array('fv' => 'naploBeallitasok/default intézmény', 'modul' => 'naplo_base', 'result' => 'value'), $lr); + } + + /* Ha a settings-ben nem kapott a telephelyId értéket, akkor lássuk, van-e alapértelmezett! */ + if ($RESULT['telephelyId'] == '') { + // Csak ha van alapértelmezett telephely, akkor kérdezzük le! + $q = "SELECT telephelyId FROM `%s`.`telephely` WHERE alapertelmezett=1 LIMIT 1"; + $RESULT['telephelyId'] = db_query($q, array( + 'fv' => 'naploBeallitasok/default telephely', 'modul' => 'naplo_base', 'result' => 'value', + 'values' => array(intezmenyDbNev($RESULT['intezmeny'])) + ), $lr); + } + + /* */ + + if ($RESULT['intezmeny']) initIntezmeny($RESULT); + } + + if (defined('__INTEZMENY') && !defined('__TANEV')) { + + $lr2 = db_connect('naplo_intezmeny', array('fv' => 'naploBeallitasok')); + if ($lr2 === false) return false; + + if (_RPC) { + // Ha az RPC hívás tartalmazza a tanévet + $tanev = readVariable($_RPC['request']['tanev'], 'numeric unsigned'); + // ellenőrzés + $q = "SELECT tanev FROM szemeszter WHERE tanev=%u ORDER BY szemeszter LIMIT 1"; + $v = array($tanev); + $ret = db_query($q, array('fv' => 'naploBeallitasok/default tanév', 'modul' => 'naplo_intezmeny', 'result' => 'record','values'=>$v)); + } + if (!is_array($ret) || count($ret) == 0) { + // A mai dátumhoz leközelebb eső kezdesDt, vagy zarasDt határozza meg, hogy melyik az aktív szemeszter + $q = "SELECT tanev, szemeszter, + IF(ABS(DATEDIFF(zarasDt,CURDATE())) 'naploBeallitasok/default tanév', 'modul' => 'naplo_intezmeny', 'result' => 'record')); + } + if (is_array($ret) && count($ret) > 0) { + $RESULT['tanev'] = $ret['tanev']; $RESULT['szemeszter'] = $ret['szemeszter']; + initTanev(__INTEZMENY, $RESULT['tanev']); + } + + } + + // session létrehozása - ha kell + $intezmeny = ''; $tanev = $telephelyId = 'NULL'; + if (defined('__INTEZMENY')) { + $intezmeny = __INTEZMENY; + if (defined('__TELEPHELYID')) $telephelyId = __TELEPHELYID; + if (!defined('__TANEV')) $_SESSION['alert'][] = 'message:nincs_tanev'; + } else { + $_SESSION['alert'][] = 'message:nincs_intezmeny'; + } + if (defined('__TANEV') && __TANEV!='') $tanev = __TANEV; + + if (defined('_SESSIONID') && _SESSIONID!='' && !$vanSession) { + $q = "REPLACE INTO session (sessionID, policy, intezmeny, telephelyId, tanev) VALUES + ('"._SESSIONID."','"._POLICY."' , '".$intezmeny."',".$telephelyId.", ".$tanev.")"; + db_query($q, array('fv' => 'naploBeallitasok/session', 'modul' => 'naplo_base'), $lr); + } + + db_close($lr); + return defined('__TANEV') && defined('__INTEZMENY'); + + } // function + + function nagykoruE($diakId) { + if (is_numeric($diakId)) { + $q = "select IF(diak.szuletesiIdo + interval 18 year < CURDATE(),1,0) FROM `diak` WHERE diakId=%u"; + return db_query($q, array('fv' => 'nagykoruE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($diakId))); + } else { + return false; + } + } + + + +/* ====================================================================================================================================== */ + + + +// Kategóriák + if (_POLICY=='private' && memberOf(_USERACCOUNT, 'naploadmin') || _RUNLEVEL==='cron') { + $AUTH['my']['categories'][] = 'naploadmin'; + define('__NAPLOADMIN',true); + } else { + define('__NAPLOADMIN',false); + } + if (_POLICY=='private' && memberOf(_USERACCOUNT, 'vezetoseg')) { + $AUTH['my']['categories'][] = 'vezetoseg'; + define('__VEZETOSEG',true); + } else { + define('__VEZETOSEG',false); + } + + if (_POLICY=='parent') + define('__DIAK',true); + else + define('__DIAK',in_array('diák',$AUTH['my']['categories'])); + + define('__TITKARSAG',in_array('titkárság',$AUTH['my']['categories'])); + + // a TANAR tagság lejjebb dől el!!! + $TANARE = in_array('tanár',$AUTH['my']['categories']); + + + +if (__NAPLO_INSTALLED === true) { + + if (__UZENO_INSTALLED === true && _POLICY=='private') { + if (memberOf(_USERACCOUNT,'uzenoadmin')===true) define('__UZENOADMIN',true); + else define('__UZENOADMIN',false); + } else define('__UZENOADMIN',false); + + if (!naploBeallitasok()) { // Ha nincs intézmény, vagy tanév + if (__NAPLOADMIN === true) { + // naploadmin vegyen fel intézményt, tanévet + if (!defined('__INTEZMENY') and "$page:$sub:$f" != 'naplo:admin:intezmenyek') { + $href = 'index.php?page=naplo&sub=admin&f=intezmenyek'; + header('Location: '.location($href)); + } elseif ( + defined('__INTEZMENY') and !defined('__TANEV') + and "$page:$sub" != 'naplo:admin' + and "$page:$sub" != 'naplo:intezmeny' + ) { + $href = 'index.php?page=naplo&sub=admin&f=tanevek'; + header('Location: '.location($href)); + } + } elseif (!defined('__INTEZMENY') or (!defined('__TANEV') and "$page:$sub" != 'naplo:intezmeny')) { + // ures oldal, ez túl szigorú! + //$sub = ''; + //$f = 'error'; + } + } + + if (defined('__INTEZMENY')) { + if (__DIAK) { + if (_POLICY=='private') { + define('__USERDIAKID',getIdByOid(_STUDYID,'diak')); + } elseif (defined('__PARENTDIAKID')) { + define('__USERDIAKID',__PARENTDIAKID); + define('__USERSZULOID', getSzuloIdByUserAccount(("$page/$sub/$f" != 'naplo//diakValaszto'))); + } elseif ("$page/$sub/$f" != 'naplo//diakValaszto') { + header('Location: '.location('index.php?page=naplo&f=diakValaszto')); + } else { + define('__USERDIAKID',false); + } + } + // A diák milyen jogokkal és kötelezettségekkel rendelkezik + define('__NAGYKORU',(__DIAK===true && nagykoruE(__USERDIAKID))); + if ($TANARE && ($TANARE=isTanar(getIdByOid(_STUDYID,'tanar')))) { // itt már ellenőrizhetjük, hogy a keretrendszer szerint tanár, a napló szerint is tanár-e még a megfelelő intézmény időszakában + define('__USERTANARID',getIdByOid(_STUDYID,'tanar')); + if (__USERTANARID !== false) { + $_OSZTALYA = getOsztalyIdsByTanarId(__USERTANARID, array('tanev'=>__TANEV,'csakId'=>true)); + define('__OSZTALYFONOK',(is_array($_OSZTALYA) && count($_OSZTALYA) > 0)); + } + } + } + +} elseif (__NAPLOADMIN===true || memberOf(_USERACCOUNT,'useradmin')===true) { + $sub = 'admin'; + $f = 'install'; +} elseif ($page == 'naplo') { + global $sub,$f; + $sub = ''; + $f = 'error'; + $_SESSION['alert'][] = 'page:page_missing'; +} else { + // másik modult nézünk, csak becsatoljuk a base alatt lévő dolgokat..... + // jó ez vajon??? dump($page,$sub,$f); +} + + define('__TANAR',$TANARE); + +?> diff --git a/mayor-orig/www/include/modules/naplo/base/tool.php b/mayor-orig/www/include/modules/naplo/base/tool.php new file mode 100644 index 00000000..39923b9f --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/tool.php @@ -0,0 +1,589 @@ + array('type'=>'id'), + 'tanarId'=> array('type'=>'id'), + 'szuloId'=> array('type'=>'id'), + 'teremId'=> array('type'=>'id'), + 'osztalyId'=> array('type'=>'id'), + 'targyId'=> array('type'=>'id'), + 'mkId'=> array('type'=>'id'), + 'tankorId'=> array('type'=>'id'), + 'telephelyId' => array('type'=>'id'), + + 'tolDt' => array('type'=>'datetime'), + 'igDt' => array('type'=>'datetime'), + 'refDt' => array('type'=>'datetime'), + 'dt' => array('type'=>'datetime'), + + 'tanev' => array('type'=>'numeric unsigned'), + 'het' => array('type'=>'numeric unsigned'), + + 'fileName' => array('type'=>'strictstring'), + 'conv' => array('type'=>'strictstring'), + 'sorrendNev' => array('type'=>'enum','allowOnly' => array('napló','anyakönyv','ellenőrző','bizonyítvány','egyedi')), + 'targySorrend' => array('type'=>'strictstring'), + 'vizsgaTipus' => array('type'=>'enum','allowOnly' => array('osztályozó vizsga','javítóvizsga','különbözetivizsga','beszámoltatóvizsga')), + + + // ellenőrizendő még: + 'ho' => array('type'=>'strictstring'), + 'ora' => array('type'=>'strictstring'), + 'tipus' => array('type'=>'strictstring'), +// 'telephely' => array('type'=>'strictstring'), + // ... + ); + + + foreach ( $TOOL as $tool => $params ) if (is_array($params)) { + + for ($i = 0; $i < count($params['post']); $i++) { + $_var = $params['post'][$i]; + //if ($TOOLVARS[$_var]=='') $_SESSION['alert'][] = '::toolvars:'.$_var; // nem üzenünk hibát + if ( $_POST[$_var]!='' && ($TOOLVARS[$_var]['type']!='') ) { // ellenőrizzük a fenti tömb szerinti változókat. + // itt típuskonverzió is történik + $_POST[$_var] = readVariable($_POST[$_var],$TOOLVARS[$_var]['type'],null,$TOOLVARS[$_var]['allowOnly']); + } + } + + if ( function_exists( $func = "get$tool" ) ) { + $func(); + } + + } + +} + + +/* AUDIT */ + +/* +getAuditInfo(); +function getAuditInfo() { + +global $page,$sub,$f; + +$_SESSION['alert'][] = '::'.$page.$sub.$f; + +$WORK = $_POST; + +for ($i +reset($WORK); +ksort($WORK); +$X = unserialize(serialize($WORK)); + +var_dump($X); + +} + */ + + +/* ------------------------- */ + + +function getSzamSelect() { + + global $TOOL; + + if (!is_array($TOOL['szamSelect']['szamok'])) { + $minValue = (isset($TOOL['szamSelect']['minValue']))?$TOOL['szamSelect']['minValue']:1; + $maxValue = (isset($TOOL['szamSelect']['maxValue']))?$TOOL['szamSelect']['maxValue']:100; + $TOOL['szamSelect']['szamok'] = range($minValue, $maxValue); + } + + if ( !isset($TOOL['szamSelect']['paramName']) || $TOOL['szamSelect']['paramName']=='' ) + $TOOL['szamSelect']['paramName'] = 'szam'; + +} + +function getIntezmenySelect() { + + global $TOOL; + + if (!is_array($TOOL['intezmenySelect']['intezmenyek'])) { + require_once('include/modules/naplo/share/intezmenyek.php'); + $TOOL['intezmenySelect']['intezmenyek'] = getIntezmenyek(); + } + if ( !isset($TOOL['intezmenySelect']['paramName']) || $TOOL['intezmenySelect']['paramName'] == '' ) + $TOOL['intezmenySelect']['paramName'] = 'intezmeny'; + +} + +function getTelephelySelect() { + + global $TOOL; + + if (!is_array($TOOL['telephelySelect']['telephelyek'])) { + require_once('include/modules/naplo/share/intezmenyek.php'); + $TOOL['telephelySelect']['telephelyek'] = getTelephelyek(); + } + if ( !isset($TOOL['telephelySelect']['paramName']) || $TOOL['telephelySelect']['paramName'] == '' ) + $TOOL['telephelySelect']['paramName'] = 'telephelyId'; + if (count($TOOL['telephelySelect']['telephelyek']) < 2) unset($TOOL['telephelySelect']); + +} + +function getTanevSelect() { + + global $TOOL; + + require_once('include/modules/naplo/share/intezmenyek.php'); + if (!is_array($TOOL['tanevSelect']['tanevek'])) $TOOL['tanevSelect']['tanevek'] = getTanevek($TOOL['tanevSelect']['tervezett']); + + if ( !isset($TOOL['tanevSelect']['paramName']) || $TOOL['tanevSelect']['paramName']=='' ) + $TOOL['tanevSelect']['paramName'] = 'tanev'; + +} + +function getSzemeszterSelect() { + + global $TOOL; + + require_once('include/modules/naplo/share/szemeszter.php'); + $TOOL['szemeszterSelect']['szemeszterek'] = getSzemeszterek($TOOL['szemeszterSelect']); + + if ( !isset($TOOL['szemeszterSelect']['paramName']) || $TOOL['szemeszterSelect']['paramName'] == '' ) + $TOOL['szemeszterSelect']['paramName'] = 'szemeszterId'; + +} + +function getTargySorrendSelect() { + + global $TOOL; + + require_once('include/modules/naplo/share/targy.php'); + if (!isset($TOOL['targySorrendSelect']['tanev'])) $TOOL['targySorrendSelect']['tanev'] = __TANEV; + $TOOL['targySorrendSelect']['sorrendNevek'] = getTargySorrendNevek($TOOL['targySorrendSelect']['tanev']); + + if ( !isset($TOOL['targySorrendSelect']['paramName']) || $TOOL['targySorrendSelect']['paramName'] == '' ) + $TOOL['targySorrendSelect']['paramName'] = 'sorrendNev'; + +} + +function getMunkakozossegSelect() { + + global $TOOL; + + if (!is_array($TOOL['munkakozossegSelect']['munkakozossegek'])) + $TOOL['munkakozossegSelect']['munkakozossegek'] = getMunkakozossegek(); + if ( !isset($TOOL['munkakozossegSelect']['paramName']) || $TOOL['munkakozossegSelect']['paramName']=='' ) + $TOOL['munkakozossegSelect']['paramName'] = 'mkId'; + +} + +function getTargySelect() { + + global $TOOL; + + if (!is_array($TOOL['targySelect']['targyak'])) + $TOOL['targySelect']['targyak'] = getTargyak(array('mkId' => $TOOL['targySelect']['mkId'])); + if ( !isset($TOOL['targySelect']['paramName']) || $TOOL['targySelect']['paramName']=='' ) + $TOOL['targySelect']['paramName'] = 'targyId'; + +} + +function getMunkatervSelect() { + + global $TOOL; + + if (!is_array($TOOL['munkatervSelect']['munkatervek'])) + $TOOL['munkatervSelect']['munkatervek'] = getMunkatervek(); + if ( !isset($TOOL['munkatervSelect']['paramName']) || $TOOL['munkatervSelect']['paramName']=='' ) + $TOOL['munkatervSelect']['paramName'] = 'munkatervId'; + +} + +function getTanarSelect() { + + global $TOOL; + + if (!is_array($TOOL['tanarSelect']['tanarok'])) { + if (!isset($TOOL['tanarSelect']['tanev']) && defined('__TANEV')) $TOOL['tanarSelect']['tanev'] = __TANEV; + if (is_array($TOOL['tanarSelect']['Param'])) $Param = $TOOL['tanarSelect']['Param']; + else $Param = array( + 'mkId' => $TOOL['tanarSelect']['mkId'], + 'tanev' => $TOOL['tanarSelect']['tanev'], + 'beDt' => $TOOL['tanarSelect']['beDt'], + 'kiDt' => $TOOL['tanarSelect']['kiDt'], + 'összes' => $TOOL['tanarSelect']['összes'], + 'override' => $TOOL['tanarSelect']['override'], + ); + $TOOL['tanarSelect']['tanarok'] = getTanarok($Param); + } + if (!isset($TOOL['tanarSelect']['paramName']) || $TOOL['tanarSelect']['paramName']=='' ) + $TOOL['tanarSelect']['paramName'] = 'tanarId'; + +} + +function getDiakSelect() { + + global $TOOL, $osztalyId; + + if (!isset($TOOL['diakSelect']['osztalyId']) && isset($osztalyId)) + $TOOL['diakSelect']['osztalyId'] = $osztalyId; + if (!is_array($TOOL['diakSelect']['diakok'])) + $TOOL['diakSelect']['diakok'] = getDiakok(array( + 'osztalyId' => $TOOL['diakSelect']['osztalyId'], + 'tanev' => $TOOL['diakSelect']['tanev'], + 'statusz' => $TOOL['diakSelect']['statusz'], + 'tolDt' => $TOOL['diakSelect']['tolDt'], + 'igDt' => $TOOL['diakSelect']['igDt'], + )); + if (!is_array($TOOL['diakSelect']['statusz'])) + $TOOL['diakSelect']['statusz'] = array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva','felvételt nyert'); + if ( !isset($TOOL['diakSelect']['paramName']) || $TOOL['diakSelect']['paramName']=='' ) + $TOOL['diakSelect']['paramName'] = 'diakId'; +} + +function getDiakLapozo() { + + global $TOOL, $osztalyId; + + if (!isset($TOOL['diakLapozo']['osztalyId']) && isset($osztalyId)) + $TOOL['diakLapozo']['osztalyId'] = $osztalyId; + if (!is_array($TOOL['diakLapozo']['diakok'])) + $TOOL['diakLapozo']['diakok'] = getDiakok(array( + 'osztalyId' => $TOOL['diakLapozo']['osztalyId'], + 'tanev' => $TOOL['diakLapozo']['tanev'], + 'statusz' => $TOOL['diakLapozo']['statusz'], + 'tolDt' => $TOOL['diakLapozo']['tolDt'], + 'igDt' => $TOOL['diakLapozo']['igDt'], + )); + if (!is_array($TOOL['diakLapozo']['statusz'])) + $TOOL['diakLapozo']['statusz'] = array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva','felvételt nyert'); + if ( !isset($TOOL['diakLapozo']['paramName']) || $TOOL['diakLapozo']['paramName']=='' ) + $TOOL['diakLapozo']['paramName'] = 'diakId'; + +} + + +function getTableSelect () { + + global $TOOL; + + $TOOL['tableSelect']['naplo'] =$TOOL['tableSelect']['naplo_intezmeny'] = array(); + if (defined('__INTEZMENY')) { + $TOOL['tableSelect']['naplo_intezmeny'] = db_query('SHOW TABLES', array('fv' => 'getTableSelect', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + } + if (defined('__TANEV')) { + $TOOL['tableSelect']['naplo'] = + db_query('SHOW TABLES', array('fv' => 'getTableSelect', 'modul' => 'naplo', 'result' => 'idonly')); + } + if ( !isset($TOOL['tableSelect']['paramName']) || $TOOL['tableSelect']['paramName']=='' ) + $TOOL['tableSelect']['paramName'] = 'dbtable'; + +} + +function getOsztalySelect() { + + global $TOOL, $tanev; + + if (!isset($TOOL['osztalySelect']['tanev'])) { + if (isset($tanev)) $TOOL['osztalySelect']['tanev'] = $tanev; + elseif (defined('__TANEV')) $TOOL['osztalySelect']['tanev'] = __TANEV; + } + global $telephelyId; + if (!isset($TOOL['osztalySelect']['osztalyok'])) + if (isset($TOOL['osztalySelect']['tanev'])) + $TOOL['osztalySelect']['osztalyok'] = getOsztalyok($TOOL['osztalySelect']['tanev'],array('mindenOsztalyfonok'=>true, 'result'=>'indexed','telephelyId' => $telephelyId)); + else + $TOOL['osztalySelect']['osztalyok'] = array(); + + if ( !isset($TOOL['osztalySelect']['paramName']) || $TOOL['osztalySelect']['paramName']=='' ) + $TOOL['osztalySelect']['paramName'] = 'osztalyId'; + +} + +function getTanmenetSelect() { + + global $TOOL, $tanev, $tanarId, $targyId; + + if (!isset($TOOL['tanmenetSelect']['tanev'])) { + if (isset($tanev)) $TOOL['tanmenetSelect']['tanev'] = $tanev; + elseif (defined('__TANEV')) $TOOL['tanmenetSelect']['tanev'] = __TANEV; + } + + if (!isset($TOOL['tanmenetSelect']['tanmenetek'])) + if (isset($TOOL['tanmenetSelect']['tanev'])) { + if (isset($tanarId)) $TOOL['tanmenetSelect']['tanmenetek'] = getTanmenetByTanarId($tanarId, array('tanev' => $TOOL['tanmenetSelect']['tanev'])); + elseif (isset($targyId)) $TOOL['tanmenetSelect']['tanmenetek'] = getTanmenetByTargyId($targyId, array('tanev' => $TOOL['tanmenetSelect']['tanev'])); +// } else { +// $TOOL['tanmenetSelect']['tanmenetek'] = array(); + } + + if ( !isset($TOOL['tanmenetSelect']['paramName']) || $TOOL['tanmenetSelect']['paramName']=='' ) + $TOOL['tanmenetSelect']['paramName'] = 'tanmenetId'; + +} + +function getTankorSelect() { + + global $TOOL, $tanev, $mkId, $targyId, $osztalyId, $tanarId, $diakId; + + // Tanév beállítás: paraméter, globális változó, konstans + if (!isset($TOOL['tankorSelect']['tanev'])) { + if (isset($tanev)) $TOOL['tankorSelect']['tanev'] = $tanev; + elseif (defined('__TANEV')) $TOOL['tankorSelect']['tanev'] = __TANEV; + } + $tolDt=$TOOL['tankorSelect']['tolDt']; + $igDt=$TOOL['tankorSelect']['igDt']; + + // Paraméter neve + if ( !isset($TOOL['tankorSelect']['paramName']) || $TOOL['tankorSelect']['paramName']=='' ) + $TOOL['tankorSelect']['paramName'] = 'tankorId'; + + // tankörök lekérdezése - ha még nem történt meg + if (!is_array($TOOL['tankorSelect']['tankorok'])) { + if (isset($diakId) && $diakId!='') { // diák tankörei + $TOOL['tankorSelect']['tankorok'] = getTankorByDiakId($diakId, $TOOL['tankorSelect']['tanev'], array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } elseif (isset($osztalyId) && $osztalyId!='') { // osztály tankörei + $TOOL['tankorSelect']['tankorok'] = getTankorByOsztalyId($osztalyId, $TOOL['tankorSelect']['tanev'], array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } elseif (isset($tanarId) && $tanarId!='') { // tanár tankörei + $TOOL['tankorSelect']['tankorok'] = getTankorByTanarId($tanarId, $TOOL['tankorSelect']['tanev'], array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } else { // általános tankörlekérdző + $WHERE = array(); + if (isset($targyId) && $targyId != '') { // leszűkítés adott tárgyra + $WHERE[] = 'targyId='.$targyId; + } elseif (isset($mkId) && $mkId != '') { // leszűkítés adott munkaközösségre + $TARGYAK = getTargyakByMkId($mkId); + for ($i = 0; $i < count($TARGYAK); $i++) $T[] = $TARGYAK[$i]['targyId']; + if (count($T) > 0) $WHERE[] = 'targyId IN ('.implode(',', $T).')'; + } + + if (isset($TOOL['tankorSelect']['tanev'])) // szűkítés adott tanévre + $WHERE[] = 'tankorSzemeszter.tanev='.$TOOL['tankorSelect']['tanev']; + + $TOOL['tankorSelect']['tankorok'] = getTankorok($WHERE); + } + } else { + // A megadott tankörök csoportosításához + if (!is_array($TOOL['tankorSelect']['tankorIds'])) { + if (isset($diakId) && $diakId != '') { // diák tankörei + $TOOL['tankorSelect']['tankorIds'] = getTankorByDiakId($diakId, $TOOL['tankorSelect']['tanev'],array('csakId' => true, 'tolDt'=>$tolDt, 'igDt'=>$igDt )); + } elseif (isset($osztalyId) && $osztalyId != '') { // osztály tankörei + $TOOL['tankorSelect']['tankorIds'] = getTankorByOsztalyId($osztalyId, $TOOL['tankorSelect']['tanev'], array('csakId' => true, 'tolDt'=>$tolDt, 'igDt'=>$igDt)); + } elseif (isset($tanarId) && $tanarId != '') { // tanár tankörei + $TOOL['tankorSelect']['tankorIds'] = getTankorByTanarId($tanarId, $TOOL['tankorSelect']['tanev'], array('csakId' => true,'tolDt'=>$tolDt, 'igDt'=>$igDt)); + } + } + } + if ($tolDt!='' || $igDt!='') + $TOOL['tankorSelect']['tankorIdsDt'] = $tolDt.'-'.$igDt; + +} + +function getDatumSelect() { + + global $TOOL, $tanev; + + if (isset($tanev)) $TOOL['datumSelect']['tanev'] = $tanev; + elseif (defined('__TANEV')) $TOOL['datumSelect']['tanev'] = __TANEV; + + if ( + (is_array($TOOL['datumSelect']['napTipusok']) || isset($TOOL['datumSelect']['napokSzama'])) + && !is_array($TOOL['datumSelect']['napok']) + ) { + $TOOL['datumSelect']['napok'] = getNapok( + array( + 'tanev' => $TOOL['datumSelect']['tanev'], + 'tolDt' => $TOOL['datumSelect']['tolDt'], + 'igDt' => $TOOL['datumSelect']['igDt'], + 'tipus' => $TOOL['datumSelect']['napTipusok'], + 'napokSzama' => $TOOL['datumSelect']['napokSzama'], + ) + ); + } else { + + $tolDt = $TOOL['datumSelect']['tolDt']; $igDt = $TOOL['datumSelect']['igDt']; + initTolIgDt($TOOL['datumSelect']['tanev'], $tolDt, $igDt, $TOOL['datumSelect']['override']); + $TOOL['datumSelect']['tolDt'] = $tolDt; $TOOL['datumSelect']['igDt'] = $igDt; + + if (!isset($TOOL['datumSelect']['hanyNaponta']) || $TOOL['datumSelect']['hanyNaponta']=='' ) + $TOOL['datumSelect']['hanyNaponta'] = 1; + + }; + + if (!isset($TOOL['datumSelect']['paramName']) || $TOOL['datumSelect']['paramName']=='' ) + $TOOL['datumSelect']['paramName'] = 'dt'; +} + +function getDatumTolIgSelect() { + + global $TOOL, $tanev; + + if (isset($tanev)) $TOOL['datumTolIgSelect']['tanev'] = $tanev; + elseif (defined('__TANEV')) $TOOL['datumTolIgSelect']['tanev'] = __TANEV; + + if ( + (is_array($TOOL['datumTolIgSelect']['napTipusok']) || isset($TOOL['datumTolIgSelect']['napokSzama'])) + && !is_array($TOOL['datumTolIgSelect']['napok']) + ) { + $TOOL['datumTolIgSelect']['napok'] = getNapok( + array( + 'tanev' => $TOOL['datumTolIgSelect']['tanev'], + 'tolDt' => $TOOL['datumTolIgSelect']['tolDt'], + 'igDt' => $TOOL['datumTolIgSelect']['igDt'], + 'tipus' => $TOOL['datumTolIgSelect']['napTipusok'], + 'napokSzama' => $TOOL['datumTolIgSelect']['napokSzama'], + ) + ); + } else { + $tolDt = $TOOL['datumTolIgSelect']['tolDt']; $igDt = $TOOL['datumTolIgSelect']['igDt']; + initTolIgDt($TOOL['datumTolIgSelect']['tanev'], $tolDt, $igDt, $TOOL['datumTolIgSelect']['override']); + $TOOL['datumTolIgSelect']['tolDt'] = $tolDt; $TOOL['datumTolIgSelect']['igDt'] = $igDt; + + if (!isset($TOOL['datumTolIgSelect']['hanyNaponta']) || $TOOL['datumTolIgSelect']['hanyNaponta']=='' ) + $TOOL['datumTolIgSelect']['hanyNaponta'] = 1; + + }; + + if (!isset($TOOL['datumTolIgSelect']['tolParamName']) || $TOOL['datumTolIgSelect']['tolParamName']=='' ) + $TOOL['datumTolIgSelect']['tolParamName'] = 'tolDt'; + if (!isset($TOOL['datumTolIgSelect']['igParamName']) || $TOOL['datumTolIgSelect']['igParamName']=='' ) + $TOOL['datumTolIgSelect']['igParamName'] = 'igDt'; + +} + +function getOraSelect() { + + global $TOOL, $tanev; + + if (!isset($TOOL['oraSelect']['tol']) || $TOOL['oraSelect']['tol'] == '' ) + $TOOL['oraSelect']['tol'] = getMinOra(); + if (!isset($TOOL['oraSelect']['ig']) || $TOOL['oraSelect']['ig'] == '' ) + $TOOL['oraSelect']['ig'] = getMaxOra(); + + if (!isset($TOOL['oraSelect']['paramName']) || $TOOL['oraSelect']['paramName']=='' ) + $TOOL['oraSelect']['paramName'] = 'ora'; + +} + +function getTeremSelect() { + + global $TOOL; + + $telephelyId = $TOOL['teremSelect']['telephelyId']; + if (!is_array($TOOL['teremSelect']['termek'])) $TOOL['teremSelect']['termek'] = getTermek(array('telephelyId' => $telephelyId)); + if (!isset($TOOL['teremSelect']['paramName']) || $TOOL['teremSelect']['paramName']=='' ) + $TOOL['teremSelect']['paramName'] = 'teremId'; + +} + +function getKepzesSelect() { + + global $TOOL; + + $TOOL['kepzesSelect']['kepzes'] = getKepzesek(); + if (!is_array($TOOL['kepzesSelect']['kepzes']) || count($TOOL['kepzesSelect']['kepzes']) == 0) { + unset($TOOL['kepzesSelect']); + } else { + if ( !isset($TOOL['kepzesSelect']['paramName']) || $TOOL['kepzesSelect']['paramName'] == '' ) + $TOOL['kepzesSelect']['paramName'] = 'kepzesId'; + } +} + +function getKerdoivSelect() { + + global $TOOL; + + if (!is_array($TOOL['kerdoivSelect']['kerdoiv'])) $TOOL['kerdoivSelect']['kerdoiv'] = getKerdoiv(); + if ( !isset($TOOL['kerdoivSelect']['paramName']) || $TOOL['kerdoivSelect']['paramName'] == '' ) + $TOOL['kerdoivSelect']['paramName'] = 'kerdoivId'; + +} + +function getSzuloSelect() { + + global $TOOL; + + $TOOL['szuloSelect']['szulo'] = getSzulok(array('result' => 'indexed')); + if (!is_array($TOOL['szuloSelect']['szulo']) || count($TOOL['szuloSelect']['szulo']) == 0) { + unset($TOOL['szuloSelect']); + } else { + if ( !isset($TOOL['szuloSelect']['paramName']) || $TOOL['szuloSelect']['paramName'] == '' ) + $TOOL['szuloSelect']['paramName'] = 'szuloId'; + } +} + + +/* TANEV FÜGGŐK */ + +function getOrarendiHetSelect() { + + global $TOOL; + $TOOL['orarendiHetSelect']['hetek'] = getOrarendiHetek($TOOL['orarendiHetSelect']); // tolDt, igDt, tanev + if ( !isset($TOOL['orarendiHetSelect']['paramName']) || $TOOL['orarendiHetSelect']['paramName']=='' ) + $TOOL['orarendiHetSelect']['paramName'] = 'het'; + +} + +function getTanarOraLapozo() { + + global $TOOL; + global $tanarId,$tolDt,$igDt,$oraId; + $_X = $TOOL['tanarOraLapozo']['orak'] = getTanarOrak( + $tanarId,array('tolDt' => $tolDt, 'igDt' => $igDt, 'tipus' => array('normál','normál máskor','helyettesítés','felügyelet','összevonás')) + ); + for ($i = 0; $i < count($_X); $i++) { + if ($_X[$i]['oraId'] == $oraId) { + $TOOL['tanarOraLapozo']['oraAdat'] = $_X[$i]; + if (is_array($_X[($i-1)])) $TOOL['tanarOraLapozo']['elozo'] = $_X[$i-1]; + if (is_array($_X[($i+1)])) $TOOL['tanarOraLapozo']['kovetkezo'] = $_X[$i+1]; + break; + } + } + if ( !isset($TOOL['tanarOraLapozo']['paramName']) || $TOOL['tanarOraLapozo']['paramName']=='' ) + $TOOL['tanarOraLapozo']['paramName'] = 'oraId'; + +} + +function getIgazolasOsszegzo() { + + global $TOOL; + global $diakId; + global $_TANEV; + if ($diakId!='') { + $TOOL['igazolasOsszegzo']['igazolasok'] = getIgazolasSzam($diakId); + $_T = getDiakHianyzasOsszesites(array($diakId),$_TANEV); + $TOOL['igazolasOsszegzo']['hianyzasok'] = $_T[$diakId]; + } + +} + +function getZaradekSelect() { + + global $TOOL; + + if (!is_array($TOOL['zaradekSelect']['zaradekok'])) $TOOL['zaradekSelect']['zaradekok'] = getZaradekok(); + + if (!isset($TOOL['zaradekSelect']['paramName']) || $TOOL['zaradekSelect']['paramName']=='' ) + $TOOL['zaradekSelect']['paramName'] = 'zaradekIndex'; + +} + +function getKerelemStat() { + global $TOOL; + //$TOOL['kerelemStat']['stat'] = getKerelemOsszesito(); +} + +//function getTelephelySelect() { +// global $TOOL; +// if (!is_array($TOOL['telephelySelect']['telephelyek'])) { +// $TOOL['telephelySelect']['telephelyek'] = getTelephely(); +// } +// +//} + +function getVissza() { + global $TOOL; + if ($TOOL['vissza']['icon']=='') { $TOOL['vissza']['icon'] = 'arrow-left'; } // default, egyelőre csak a 'vissza' típusnál használjuk +} + +?> diff --git a/mayor-orig/www/include/modules/naplo/base/update.php b/mayor-orig/www/include/modules/naplo/base/update.php new file mode 100644 index 00000000..02bcf0e8 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/update.php @@ -0,0 +1,86 @@ + $bejegyzesTipusNev) { + if ($fokozat > 0) { + // Ki jogosult beírni + $jogosult = array('admin'); + if (in_array(mb_substr($bejegyzesTipusNev, 0, 9, 'UTF-8'), array('igazgatói', 'nevelőtes'))) $jogosult[] = 'vezetőség'; + if (mb_substr($bejegyzesTipusNev, 0, 13, 'UTF-8') == 'osztályfőnöki') $jogosult[] = 'osztályfőnök'; + if (mb_substr($bejegyzesTipusNev, 0, 10, 'UTF-8') == 'szaktanári') $jogosult[] = 'szaktanár'; + // frissítés + $q = "UPDATE `bejegyzesTipus` SET `bejegyzesTipusNev`='%s', `jogosult`='".implode(',', $jogosult)."' WHERE `tipus`='fegyelmi' AND `fokozat`='%s'"; + $v = array($bejegyzesTipusNev, $fokozat); + $r = db_query($q, array('fv' => 'update002483/fegyelmi','modul' => 'naplo_intezmeny','values' => $v, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + return false; + } + } + } + // A dicséret fokozatok neveinek beállítása + foreach ($DICSERET_FOKOZATOK as $fokozat => $bejegyzesTipusNev) { + if ($fokozat > 0) { + // Ki jogosult beírni + $jogosult = array('admin'); + if (in_array(mb_substr($bejegyzesTipusNev, 0, 9, 'UTF-8'), array('igazgatói', 'nevelőtes'))) $jogosult[] = 'vezetőség'; + if (mb_substr($bejegyzesTipusNev, 0, 13, 'UTF-8') == 'osztályfőnöki') $jogosult[] = 'osztályfőnök'; + if (mb_substr($bejegyzesTipusNev, 0, 10, 'UTF-8') == 'szaktanári') $jogosult[] = 'szaktanár'; + // frissítés + $q = "UPDATE `bejegyzesTipus` SET `bejegyzesTipusNev`='%s', `jogosult`='".implode(',', $jogosult)."' WHERE `tipus`='dicseret' AND `fokozat`='%s'"; + $v = array($bejegyzesTipusNev, $fokozat); + $r = db_query($q, array('fv' => 'update002483/dicseret','modul' => 'naplo_intezmeny','values' => $v, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + return false; + } + } + } + // Az adott számú igazolatlan hiűnyzáshoz rendelt fegyelmi fokozatok eltárolása + foreach ($HIANYZASI_FOKOZATOK as $hianyzasDb => $fokozat) { + if ($fokozat > 0) { + $q = "UPDATE `bejegyzesTipus` SET `hianyzasDb`=%u WHERE `tipus`='fegyelmi' AND `fokozat`='%s'"; + $v = array($hianyzasDb, $fokozat); + $r = db_query($q, array('fv' => 'update002483/hianyzas','modul' => 'naplo_intezmeny','values' => $v, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + return false; + } + } + } + // A felesleges fegyelmi és dicséret fokozatok törlése (20-20 fokozat volt felvéve) + $q = "DELETE FROM `bejegyzesTipus` WHERE `bejegyzesTipusNev` IS NULL"; + $r = db_query($q, array('fv' => 'update002483/delete','modul' => 'naplo_intezmeny', 'rollback' => true), $lr); + + if ($r) db_commit($lr); + db_close($lr); + + $fp = fopen($lock,'w'); + fwrite($fp, 'PHP update 002483 done.'); + fclose($fp); + } + } +*/ + + +// update002483(); + +?> diff --git a/mayor-orig/www/include/modules/naplo/base/zcheck.php b/mayor-orig/www/include/modules/naplo/base/zcheck.php new file mode 100644 index 00000000..38c03a11 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/base/zcheck.php @@ -0,0 +1,100 @@ +0) define('__UZENOSZEREP','szulo'); + elseif (__DIAK===true && defined('__USERDIAKID') && intval(__USERDIAKID)>0) define('__UZENOSZEREP','diak'); + elseif (__UZENOADMIN===true) define('__UZENOSZEREP','admin'); + else define('__UZENOSZEREP',''); + + if (count($KERELEM_TAG) ==0) $KERELEM_TAG = array('névsor','jogviszony','órarend, haladási','hiányzás, igazolás','jegy, zárójegy'); + +?> diff --git a/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesTipus.php b/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesTipus.php new file mode 100644 index 00000000..cf2fd2fd --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesTipus.php @@ -0,0 +1,87 @@ +'getBejegyzesek','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'multiassoc','keyfield'=>'tipus')); + + } + + function jogosultValtoztatas($btId, $jogosult) { + + $q = "UPDATE bejegyzesTipus SET jogosult='%s' WHERE bejegyzesTipusId=%u"; + $v = array(implode(',',$jogosult), $btId); + return db_query($q, array('fv' => 'jogosultValtoztatas', 'modul'=>'naplo_intezmeny', 'values'=>$v)); + + } + + + function bejegyzesTipusModositas($btId, $btAdat, $dt) { + $B = getBejegyzesTipusById($btId); + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + if ($B['tolDt'] != $dt) { + // A korábbi bejegyzesTipus lemásolása + foreach ($btAdat as $key => $value) { $B[$key] = $value; } + $q = "INSERT INTO bejegyzesTipus (tipus, fokozat, bejegyzesTipusNev, hianyzasDb, jogosult, tolDt, igDt) VALUES "; + if ($igDt == NULL) { + $q .= "('%s',%u,'%s',%u,'%s','%s',NULL)"; + $v = array($B['tipus'], $B['fokozat'], $B['bejegyzesTipusNev'], $B['hianyzasDb'], implode(',',$B['jogosult']), $dt); + } else { + $q .= "('%s',%u,'%s',%u,'%s','%s','%s')"; + $v = array($B['tipus'], $B['fokozat'], $B['bejegyzesTipusNev'], $B['hianyzasDb'], implode(',',$B['jogosult']), $dt, $B['igDt']); + } + $bejegyzesTipusId = db_query($q, array('fv'=>'bejegyzesTipusModositas/insert','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'insert'),$lr); + if (!$bejegyzesTipusId) { db_rollback($lr); db_close($lr); return false; } + // A korábbi bejegyzesTipus lezárása a megelőző nap dátumával + $q = "UPDATE bejegyzesTipus SET igDt = '%s' - INTERVAL 1 DAY WHERE bejegyzesTipusId=%u"; + $v = array($dt, $btId); + $r = db_query($q, array('fv'=>'bejegyzesTipusModositas/lezar','modul'=>'naplo_intezmeny','values'=>$v),$lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } else { + // A meglévő bejegyzesTipus módosítása + $q = "UPDATE bejegyzesTipus SET bejegyzesTipusNev='%s', hianyzasDb=%u, jogosult='%s' WHERE bejegyzesTipusId=%u"; + $v = array($btAdat['bejegyzesTipusNev'], $btAdat['hianyzasDb'], implode(',', $btAdat['jogosult']), $btId); + $r = db_query($q, array('fv'=>'bejegyzesTipusModositas/lezar','modul'=>'naplo_intezmeny','values'=>$v),$lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + db_commit($lr); + db_close($lr); + return true; + } + + function fokozatTorles($tipus, $dt) { + $q ="SELECT bejegyzesTipusId FROM bejegyzesTipus WHERE tipus='%s' AND tolDt<='%s' AND (igDt IS NULL OR '%s'<=igDt) ORDER BY fokozat DESC LIMIT 1"; + $v = array($tipus, $dt, $dt); + $id = db_query($q, array('fv'=>'fokozatTorles/id','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'value')); + + $q = "UPDATE bejegyzesTipus SET igDt = '%s' - INTERVAL 1 DAY WHERE bejegyzesTipusId=%u"; + $v = array($dt, $id); + return db_query($q, array('fv'=>'fokozatTorles/update','modul'=>'naplo_intezmeny','values'=>$v)); + } + + function ujFokozat($tipus, $dt) { + $q ="SELECT max(fokozat) FROM bejegyzesTipus WHERE tipus='%s' AND tolDt<='%s' AND (igDt IS NULL OR '%s'<=igDt)"; + $v = array($tipus, $dt, $dt); + $fokozat = db_query($q, array('fv'=>'ujFokozat/fokozat','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'value')); + $fokozat++; + + // van-e ilyen fokozat későbbi dátummal? + $q = "SELECT tolDt FROM bejegyzesTipus WHERE tipus='%s' AND fokozat=%u AND tolDt>'%s' ORDER BY tolDt LIMIT 1"; + $v = array($tipus, $fokozat, $dt); + $tolDt = db_query($q, array('fv'=>'ujFokozat/tolDt','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'value')); + + if ($tolDt == NULL) { + $q = "INSERT INTO bejegyzesTipus (tipus, fokozat, bejegyzesTipusNev, hianyzasDb, jogosult, tolDt, igDt) VALUES ('%s', %u,'%s',NULL, 'admin','%s',NULL)"; + $v = array($tipus, $fokozat, $tipus.' fokozat', $dt); + } else { + $q = "INSERT INTO bejegyzesTipus (tipus, fokozat, bejegyzesTipusNev, hianyzasDb, jogosult, tolDt, igDt) VALUES ('%s', %u,'%s',NULL, 'admin','%s', '%s' - INTERVAL 1 DAY)"; + $v = array($tipus, $fokozat, $tipus.' fokozat', $dt, $tolDt); + } + return db_query($q, array('fv'=>'ujFokozat/insert','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'insert')); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesek.php b/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesek.php new file mode 100644 index 00000000..97ab45de --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/bejegyzesek/bejegyzesek.php @@ -0,0 +1,74 @@ + 'getBejegyzesLista', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($tanarId))); + for ($i = 0; $i < count($BEJEGYZESEK); $i++) + if ($BEJEGYZESEK[$i]['tanarId'] != '') $BEJEGYZESEK[$i]['tanarNev'] = getTanarNevById($BEJEGYZESEK[$i]['tanarId']); + + return $BEJEGYZESEK; + + } + // ok + function getBejegyzesLista($diakId) { + + $q = "SELECT * FROM bejegyzes LEFT JOIN `".__INTEZMENYDBNEV."`.`bejegyzesTipus` USING (bejegyzesTipusId) WHERE diakId=%u ORDER BY tipus,beirasDt"; + + $BEJEGYZESEK = db_query($q, array('fv' => 'getBejegyzesLista', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($diakId))); + for ($i = 0; $i < count($BEJEGYZESEK); $i++) + if ($BEJEGYZESEK[$i]['tanarId'] != '') $BEJEGYZESEK[$i]['tanarNev'] = getTanarNevById($BEJEGYZESEK[$i]['tanarId']); + + return $BEJEGYZESEK; + + } + // ok + function getBejegyzesekByDiakIds($diakIds, $orderBy = 'diakId,tipus,beirasDt') { + + $q = "SELECT * FROM bejegyzes LEFT JOIN `".__INTEZMENYDBNEV."`.`bejegyzesTipus` USING (bejegyzesTipusId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") ORDER BY $orderBy"; + + $BEJEGYZESEK = db_query($q, array( + 'fv' => 'getBejegyzesekByDiakIds', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'diakId', 'values' => $diakIds + )); + foreach ($BEJEGYZESEK as $diakId => $BADAT) + for ($i = 0; $i < count($BADAT); $i++) + if ($BADAT[$i]['tanarId'] != '') + $BEJEGYZESEK[$diakId][$i]['tanarNev'] = getTanarNevById($BADAT[$diakId][$i]['tanarId']); + + return $BEJEGYZESEK; + + } + // ok + function delBejegyzes($bejegyzesId) { + + + $torolheto = false; + if (__NAPLOADMIN) { + $torolheto = true; + } elseif (__TANAR) { + $q = "SELECT tanarId FROM bejegyzes WHERE bejegyzesId=%u"; + $tanarId = db_query($q, array('fv' => 'delBejegyzes/check tanar', 'modul' => 'naplo', 'result' => 'value', 'values' => array($bejegyzesId))); + if (__USERTANARID == $tanarId) $torolheto = true; + } + if ($torolheto) { + $q = "DELETE FROM bejegyzes WHERE bejegyzesId=%u"; + db_query($q, array('fv' => 'delBejegyzes', 'modul' => 'naplo', 'values' => array($bejegyzesId))); + } else { + $_SESSION['alert'][] = 'message:insufficient_access:delBejegyzes'; + } + } + + function getBejegyzesAdatById($bejegyzesId) { + + $q = "SELECT * FROM bejegyzes LEFT JOIN `".__INTEZMENYDBNEV."`.`bejegyzesTipus` USING (bejegyzesTipusId) WHERE bejegyzesId=%u"; + return db_query($q, array('fv' => 'getBejegyzesAdatById', 'modul' => 'naplo', 'result' => 'record', 'values' => array($bejegyzesId))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/diakValaszto.php b/mayor-orig/www/include/modules/naplo/diakValaszto.php new file mode 100644 index 00000000..e3a2f6b4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/diakValaszto.php @@ -0,0 +1,10 @@ + 'updateSessionOid', 'modul' => 'naplo_base', 'values' => array($parentDiakId))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/ertekeles/kerdoivBetoltes.php b/mayor-orig/www/include/modules/naplo/ertekeles/kerdoivBetoltes.php new file mode 100644 index 00000000..811f27fe --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/ertekeles/kerdoivBetoltes.php @@ -0,0 +1,81 @@ + 'ujKerdoiv', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v), $lr); + + } + + function kerdesValaszFelvetel($ADAT) { + $kerdoivId = $ADAT['kerdoivId']; + $kerdes = ''; + for ($i = 0; $i < count($ADAT['txt']); $i++) { + if (trim($ADAT['txt'][$i]) != '') { + if ($kerdes == '') { + $kerdes = chop(readVariable($ADAT['txt'][$i], 'string')); + $q = "INSERT INTO kerdoivKerdes (kerdoivId, kerdes) VALUES (%u, '%s')"; + $v = array($kerdoivId, $kerdes); + $kerdesId = db_query($q, array('fv' => 'kerdesValaszFelvetel/kerdes', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v), $lr); + } else { + $mezok = explode('|', chop(readVariable($ADAT['txt'][$i],'string'))); + if (count($mezok) == 1) { + $valasz = $mezok[0]; + $pont = 0; + } else { + $valasz = $mezok[1]; + $pont = $mezok[0]; + } + $q = "INSERT INTO kerdoivValasz (kerdesId, valasz, pont) VALUES (%u, '%s', %d)"; + $v = array($kerdesId, $valasz, $pont); + db_query($q, array('fv' => 'kerdesValaszFeltoltes/valasz', 'modul' => 'naplo', 'values' => $v), $lr); + } + } else { + $kerdes = ''; + } + } + } + + function kerdoivCimzettFelvetel($kerdoivId, $cimzettId, $cimzettTipus) { + // kerdoivCimzett + $q = "INSERT INTO kerdoivCimzett (kerdoivId,cimzettId,cimzettTipus) VALUES (%u, %u, '%s')"; + $v = array($kerdoivId, $cimzettId, $cimzettTipus); + db_query($q, array('fv' => 'kerdoivCimzett - cimzett', 'modul' => 'naplo', 'values' => $v)); + // kerdoivValaszSzam + $q = "INSERT INTO kerdoivValaszSzam (valaszId,cimzettId,cimzettTipus,szavazat) + SELECT valaszId, %u, '%s', 0 FROM kerdoivValasz LEFT JOIN kerdoivKerdes USING (kerdesId) WHERE kerdoivId=%u"; + $v = array($cimzettId, $cimzettTipus, $kerdoivId); + return db_query($q, array('fv' => 'kerdoivCimzett - valaszSzam', 'modul' => 'naplo', 'values' => $v)); + + } + + function kerdoivCimzettTorles($kerdoivId, $cimzettId, $cimzettTipus) { + $return = true; + $lr = db_connect('naplo'); + db_start_trans($lr); + // kerdoivCimzett + $q = "DELETE FROM kerdoivCimzett WHERE kerdoivId=%u AND cimzettId=%u AND cimzettTipus='%s'"; + $v = array($kerdoivId, $cimzettId, $cimzettTipus); + $return = $return && db_query($q, array('fv' => 'kerdoivCimzettTorles - cimzett', 'modul' => 'naplo', 'values' => $v), $lr); + // kerdoivMegvalaszoltKerdes + $q = "DELETE FROM kerdoivMegvalaszoltKerdes WHERE cimzettId=%u AND cimzettTipus='%s' AND kerdesId IN + (SELECT kerdesId FROM kerdoivKerdes WHERE kerdoivId=%u)"; + $v = array($cimzettId, $cimzettTipus, $kerdoivId); + $return = $return && db_query($q, array('fv' => 'kerdoivCimzettTorles - cimzett', 'modul' => 'naplo', 'values' => $v), $lr); + // kerdoivValaszSzam + $q = "DELETE FROM kerdoivValaszSzam WHERE cimzettId=%u AND cimzettTipus='%s' AND valaszId IN + (SELECT valaszId FROM kerdoivValasz LEFT JOIN kerdoivKerdes USING (kerdesId) WHERE kerdoivId=%u)"; + $v = array($cimzettId, $cimzettTipus, $kerdoivId); + $return = $return && db_query($q, array('fv' => 'kerdoivCimzettTorles - valaszSzam', 'modul' => 'naplo', 'values' => $v), $lr); + + if ($return) db_commit($lr); + else db_rollback($lr); + + db_close($lr); + return $return; + + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/ertekeles/osszesites.php b/mayor-orig/www/include/modules/naplo/ertekeles/osszesites.php new file mode 100644 index 00000000..a57dc671 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/ertekeles/osszesites.php @@ -0,0 +1,57 @@ + 'getKerdoivStat', 'db' => 'naplo')); + + // A kérdőív kérdései + $q = "SELECT * FROM kerdoivKerdes WHERE kerdoivId=$kerdoivId ORDER BY kerdesId"; + $ret['kerdes'] = _m_y_query($q, array('fv' => 'getKerdoivStat/kerdes', 'db' => 'naplo')); + + // A kérdőív válaszai + $ret['valaszIds'] = array(); + for ($i = 0; $i < count($ret['kerdes']); $i++) { + $q = "SELECT * FROM kerdoivValasz WHERE kerdesId=".$ret['kerdes'][$i]['kerdesId']." ORDER BY valaszId"; + $ret['kerdes'][$i]['valasz'] = _m_y_query($q, array('fv' => 'getKerdoivStat/valasz', 'db' => 'naplo')); + for ($j = 0; $j < count($ret['kerdes'][$i]['valasz']); $j++) $ret['valaszIds'][] = $ret['kerdes'][$i]['valasz'][$j]['valaszId']; + } + + // A kérdőív címzettjei + $q = "SELECT * FROM kerdoivCimzett WHERE kerdoivId=$kerdoivId"; + $ret['cimzett'] = _m_y_multiassoc_query($q, 'cimzettTipus', array('fv' => 'getKerdoivStat/cimzett', 'db' => 'naplo')); + // A tankör típusú címzettek tanára(i) + $ret['tanarNev'] = array(); + if (is_array($ret['cimzett']['tankor']) && count($ret['cimzett']['tankor']) > 0) { + for ($i = 0; $i < count($ret['cimzett']['tankor']); $i++) { + $tankorId = $ret['cimzett']['tankor'][$i]['cimzettId']; + $tanarIds = getTankorTanaraiByInterval( + $tankorId, array('tanev' => __TANEV, 'tolDt' => $ret['kerdes']['tolDt'], 'igDt' => $ret['kerdes']['igDt'], 'result' => 'csakId') + ); + for ($j = 0; $j < count($tanarIds); $j++) { + $ret['tanarTankorei'][$tanarIds[$j]][] = $tankorId; + if (!isset($ret['tanarNev'][ $tanarIds[$j] ])) $ret['tanarNev'][ $tanarIds[$j] ] = getTanarNevById($tanarIds[$j]); + } + } + } + + $q = "SELECT * FROM kerdoivValaszSzam WHERE valaszId IN (".implode(',', $ret['valaszIds']).") ORDER BY cimzettTipus,cimzettId,valaszId"; + $tmp = _m_y_query($q, array('fv' => 'getKerdoivStat/szavazat', 'db' => 'naplo')); + for ($i = 0; $i < count($tmp); $i++) + $ret['szavazat'][ $tmp[$i]['cimzettTipus'] ][ $tmp[$i]['cimzettId'] ][ $tmp[$i]['valaszId'] ] = $tmp[$i]['szavazat']; + + $tmp = getTankorok(array("tanev=".__TANEV)); + for ($i = 0; $i < count($tmp); $i++) { + $ret['tankorAdat'][ $tmp[$i]['tankorId'] ] = $tmp[$i]; + $ret['tankorAdat'][ $tmp[$i]['tankorId'] ]['letszam'] = getTankorLetszam($tmp[$i]['tankorId'], array('refDt' => $_TANEV['zarasDt'])); + } + return $ret; + + } +*/ + +?> diff --git a/mayor-orig/www/include/modules/naplo/export/bizonyitvany.php b/mayor-orig/www/include/modules/naplo/export/bizonyitvany.php new file mode 100644 index 00000000..2f7c27a1 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/bizonyitvany.php @@ -0,0 +1,88 @@ + $targyAdat) { + $EXPORT[0][] = 'targy'.($i+1).'_nev'; + $EXPORT[0][] = 'targy'.($i+1).'_oraszam'; + $EXPORT[0][] = 'targy'.($i+1).'_jegy'; + } + + // adatok + foreach ($ADAT['diakIds'] as $diakId) { + $ADAT['evesOraszam'][$diakId] = getTargyOraszamByDiakId($diakId, $ADAT); + $SOR = array(); + // -- diák adatok + foreach ($ADAT['diakAttrs'] as $attr) $SOR[] = $ADAT['diakAdat'][$diakId][$attr]; + if (true) { + $SOR[] = $ADAT['hianyzas'][$diakId]["igazolt"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["igazolatlan"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["kesesPercOsszeg"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["gyakorlatIgazolt"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["gyakorlatIgazolatlan"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["gyakorlatKesesPercOsszeg"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["elmeletIgazolt"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["elmeletIgazolatlan"]; + $SOR[] = $ADAT['hianyzas'][$diakId]["elmeletKesesPercOsszeg"]; + } + // -- jegyek + foreach ($ADAT['targyak'] as $i => $targyAdat) { + $jegy = $ADAT['jegyek'][$diakId][ $targyAdat['targyId'] ][0]; + $SOR[] = $targyAdat['targyNev']; + $SOR[] = $ADAT['evesOraszam'][$diakId][ $targyAdat['targyId'] ]; + $SOR[] = $KOVETELMENY[ $jegy['jegyTipus'] ][ $jegy['jegy'] ]['hivatalos']; + } + + $EXPORT[] = $SOR; + } + + if ($ADAT['formatum'] == 'xml') return generateXLS("$file.${ADAT['formatum']}", $EXPORT, 'bizonyítvány'); + elseif ($ADAT['formatum'] == 'csv') return generateCSV("$file.${ADAT['formatum']}", $EXPORT, 'bizonyítvány'); + elseif ($ADAT['formatum'] == 'ods') return generateODS("$file.${ADAT['formatum']}", $EXPORT, 'bizonyítvány'); + else return false; + + } + + function getTargyOraszamByDiakId($diakId, $ADAT) { + + $q = "SELECT targyId,oraszam FROM tankorDiak LEFT JOIN tankorSzemeszter USING (tankorId) LEFT JOIN tankor USING (tankorId) + WHERE diakId=%u AND tanev=%u AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)"; + $v = array($diakId, $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['zarasDt'], $ADAT['szemeszterAdat']['zarasDt']); + $jres = db_query($q, array( + 'fv' => 'getTargyOraszamByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'targyId', 'values' => $v + )); + $szDb = $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']; // Feltételezzük, hogy a szemeszterek számozása 1-től indul és folyamatos + + foreach ($jres as $targyId => $tAdat) { + $oraszam = 0; + for ($i = 0; $i < count($tAdat); $i++) { + $oraszam += $tAdat[$i]['oraszam']; + } + //$ret['targyOraszam'][$targyId]['hetiOraszam'] = $oraszam / $szDb; + // itt mindenképp van osztalyId - ha nem adunk meg 'vegzos' paramétert, úgy az osztály alapján veszi... + $ret[$targyId] = $oraszam / $szDb * getTanitasiHetekSzama(array('osztalyId'=>$ADAT['osztalyId']/* ,'vegzos'=>diakVegzosE($diakId) */)); + } + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/export/diakExport.php b/mayor-orig/www/include/modules/naplo/export/diakExport.php new file mode 100644 index 00000000..3114d7a9 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/diakExport.php @@ -0,0 +1,144 @@ + array( + 'oId','viseltCsaladinev','viseltUtonev','szuletesiIdo','szuletesiHely','nem', + 'lakhelyIrsz','lakhelyHelyseg','lakhelyKozteruletNev','lakhelyKozteruletJelleg','lakhelyHazszam','lakhelyEmelet','lakhelyAjto','telefon'), + 'egyszerű' => array('viseltCsaladinev','viseltUtonev','diakigazolvanySzam','diakNaploSorszam'), + 'osztályfőnöki' => array('diakigazolvanySzam','viseltCsaladinev','viseltUtonev','oId','diakNaploSorszam','telefon','mobil','email'), + 'taninformTanuló' => array('oId','diakigazolvanySzam','viseltNevElotag','viseltCsaladinev','viseltUtonev','szuleteskoriNevElotag', + 'szuleteskoriCsaladinev','szuleteskoriUtonev','szuletesiHely','szuletesiIdo','anyaSzuleteskoriNevElotag','anyaSzuleteskoriCsaladinev', + 'anyaSzuleteskoriUtonev','allampolgarsag','lakhelyOrszag','lakhelyHelyseg', + 'lakhelyIrsz','lakhelyKozteruletNev','lakhelyKozteruletJelleg','lakhelyHazszam','lakhelyEmelet','lakhelyAjto','tartOrszag','tartHelyseg', + 'tartIrsz','tartKozteruletNev','tartKozteruletJelleg','tartHazszam','tartEmelet','tartAjto','jogviszonyKezdete','diakNaploSorszam' + ), + ); + + function diakExport($ADAT) { + + $tanevDbNev = tanevDbNev(__INTEZMENY, $ADAT['tanev']); + $W = array(); + $q = "SELECT diak.*, osztalyId, osztalyJel, diakNaploSorszam(osztalyDiak.diakId,".$ADAT['tanev'].",osztalyDiak.osztalyId) AS diakNaploSorszam FROM diak LEFT JOIN osztalyDiak USING (diakId) + LEFT JOIN `%s`.osztalyNaplo USING (osztalyId)"; + $v = array($tanevDbNev); + if (isset($ADAT['osztalyId'])) { $W[] = "osztalyId=%u"; $v[] = $ADAT['osztalyId']; } + if (isset($ADAT['dt'])) { $W[] = "beDt<='%s' AND ('%s'<=kiDt OR kiDt IS NULL)"; array_push($v, $ADAT['dt'], $ADAT['dt']); } + + $q .= " WHERE ".implode(' AND ', $W); + + $ret = db_query($q, array('fv' => 'diakExport', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + if (!$ret) return false; + + $osztalyAdat = getOsztalyok($ADAT['tanev'], array('result' => 'assoc')); + + $Szulok = getSzulok(); + for ($i = 0; $i < count($ret); $i++) { + $ret[$i]['telephelyId'] = $osztalyAdat[ $ret[$i]['osztalyId'] ]['telephelyId']; + foreach (array('anya','apa','gondviselo','nevelo') as $tipus) { + $szuloId = $ret[$i][ $tipus.'Id' ]; + if (is_array($Szulok[$szuloId])) foreach ($Szulok[$szuloId] as $attr => $value) { + $ret[$i][ $tipus . ucfirst($attr) ] = $value; + } elseif ($i == 0 && is_array($Szulok[1])) foreach ($Szulok[1] as $attr => $value) { + $ret[$i][ $tipus . ucfirst($attr) ] = ''; + } + } + } + + return $ret; + + } + + function createFile($ADAT) { + if ($ADAT['formatum'] == 'xls' || $ADAT['formatum'] == 'xml') return generateXLSExport($ADAT['export'], $ADAT['mezok']); + elseif ($ADAT['formatum'] == 'pdf') return generatePDFExport($ADAT['export'], $ADAT['mezok']); + else return generateCSVExport($ADAT['export'], $ADAT['mezok']); + } + + function generateCSVExport($ret, $Mezok = array()) { + + + $fp = fopen(__DIAK_EXPORT_FILE . '.csv', 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:file_open:'.__DIAK_EXPORT_FILE . '.csv'; + return false; + } + + fputs($fp, implode(' ',$Mezok)."\n"); + for ($i = 0; $i < count($ret); $i++) { + $A = array(); + foreach ($Mezok as $attr => $attrNev) $A[] = $ret[$i][$attr]; + $sor = implode(' ', $A)."\n"; + fputs($fp, $sor); + } + + fclose($fp); + return true; + + } + + function generateXLSExport($ret, $Mezok = array()) { + + $fp = fopen(__DIAK_EXPORT_FILE . '.xml', 'w'); + if (!$fp) return false; + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + + fputs($fp, ' '."\r\n" + .' '."\r\n" + .' '."\r\n" + ."\r\n".' '."\r\n"); + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + + // fejléc + fputs($fp, ''."\r\n"); + foreach ($Mezok as $index => $attr) { + fputs($fp, " ".$attr."\r\n"); + } + fputs($fp, ''."\r\n"); + + + for ($i = 0; $i < count($ret); $i++) { + fputs($fp, ''."\r\n"); + foreach ($Mezok as $attr => $attrNev) { + $value = $ret[$i][$attr]; + $time = strtotime($value); + if (is_numeric($value)) + fputs($fp, " ".$value."\r\n"); + elseif (is_numeric($time) && $value == date('Y-m-d H:i:s', $time)) + fputs($fp, " ".str_replace(' ','T',$value).'.000'."\r\n"); + elseif (is_numeric($time) && $value == date('Y-m-d', $time)) + fputs($fp, " ".$value.'T08:40:00.000'."\r\n"); + else + fputs($fp, " ".$value."\r\n"); + } + fputs($fp, ''."\r\n"); + } + + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + + fclose($fp); + return true; + + } + + function generatePDFExport($ret, $mezok = array()) { + + + $_SESSION['alert'][] = 'message:not implemented'; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/export/kirBizonyitvanyExport.php b/mayor-orig/www/include/modules/naplo/export/kirBizonyitvanyExport.php new file mode 100644 index 00000000..d5182042 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/kirBizonyitvanyExport.php @@ -0,0 +1,24 @@ + diff --git a/mayor-orig/www/include/modules/naplo/export/kreta.php b/mayor-orig/www/include/modules/naplo/export/kreta.php new file mode 100644 index 00000000..77c89539 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/kreta.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/export/sulix.php b/mayor-orig/www/include/modules/naplo/export/sulix.php new file mode 100644 index 00000000..1658bb58 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/sulix.php @@ -0,0 +1,129 @@ +/dev/null"); + + unlink(TMP.'/diak.csv'); + unlink(TMP.'/tanar.csv'); + unlink(TMP.'/schoolserver'); + rmdir(TMP); + + return true; + } + + function getDiakAccounts() { + + $D = getDiakok(array('extraAttrs'=>'oId, viseltCsaladinev, viseltUtonev, szuletesiIdo')); + for ($i = 0; $i < count($D); $i++) { + $oId = $D[$i]['oId']; + if (isset($oId)) { + $U = searchAccount('studyId', $oId, array('userAccount','studyId'), 'private'); + for ($j = 0; $j < $U['count']; $j++) { + // Ha az oId nem valódi, akkor lehet egy valódi oId része. Az egyenlőséget vizsgálni kell! + if ($oId == $U[$j]['studyId'][0]) { + $O = getDiakOsztalya($D[$i]['diakId']); + $D[$i]['userAccount'] = ekezettelen($U[$j]['userAccount'][0]); + $D[$i]['osztalyJel'] = str_replace('.','',$O[0]['osztalyJel']); + $ret[] = $D[$i]; + } + } + } + } + + return $ret; + + } + + function getTanarAccounts() { + + $D = getTanarok(array('tanev'=>__TANEV,'result'=>'indexed','extraAttrs'=>'oId, viseltCsaladinev, viseltUtonev, szuletesiIdo')); + + for ($i = 0; $i < count($D); $i++) { + $oId = $D[$i]['oId']; + if (isset($oId)) { + $U = searchAccount('studyId', $oId, array('userAccount','studyId'), 'private'); + for ($j = 0; $j < $U['count']; $j++) { + // Ha az oId nem valódi, akkor lehet egy valódi oId része. Az egyenlőséget vizsgálni kell! + if ($oId == $U[$j]['studyId'][0]) { + $D[$i]['userAccount'] = ekezettelen($U[$j]['userAccount'][0]); + $Osztalya = getOsztalyByTanarId($D[$i]['tanarId'], array('csakId'=>false)); + $D[$i]['osztalyJel'] = str_replace('.','',$Osztalya[0]['osztalyJel']); + if ($D[$i]['szuletesiIdo'] == '') $D[$i]['szuletesiIdo'] = '0000-00-00'; + $ret[] = $D[$i]; + } + } + } + } + + return $ret; + + } + + function getEgyebAccounts() { + + } + + function getAlapadatok($fileName) { + + $D = getIntezmenyByRovidnev(__INTEZMENY); +//var_dump($D); + $fp = fopen(_DOWNLOADDIR.'/private/naplo/export/sulix/'.$fileName,'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:file_open_failure:'.$fileName; + return false; + } + + fputs($fp, "SCHOOLOM=\"${D['OMKod']}\"\n"); + fputs($fp, "SCHOOLNAME=\"${D['nev']}\"\n"); + fputs($fp, "SCHOOLSHORTNAME=\"${D['rovidNev']}\"\n"); + + fclose($fp); + return true; + } + + function myImplode($v) { return implode(':', $v); } // az alábbi array_map-hez + + function createCSV($csoport, $ADAT) { + + if (!is_array($ADAT[$csoport]) || count($ADAT[$csoport])==0) return false; + + $fileName = $csoport.'.csv'; + $title = ':'; + $mayor2sulix = array( + 'userAccount' => 'AZONOSITO', 'viseltCsaladinev' => 'CSALADI_NEV', 'viseltUtonev' => 'KERESZTNEV', + 'szuletesiIdo' => 'SZULETESNAP', 'osztalyJel' => 'OSZTALY', 'oId' => 'OKTATASI_AZONOSITO' // ':UTF-8 + ); + $Attrs = array(); + foreach ($ADAT[$csoport][0] as $attr => $value) { + if (isset($mayor2sulix[$attr])) { + $title .= $mayor2sulix[$attr].':'; + $Attrs[] = $attr; + } + } + $title .= 'UTF-8'; + $Table = array(); + for ($i = 0; $i < count($ADAT[$csoport]); $i++) { + $Table[$i] = array(0=>''); + for ($j = 0; $j < count($Attrs); $j++) { + $Table[$i][$j+1] = $ADAT[$csoport][$i][ $Attrs[$j] ]; + } + $Table[$i][] = ''; // $Table[$i][] = ''; + } + return $title."\n".implode("\n",array_map('myImplode', $Table)); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/export/tanarOsztalyOraszam.php b/mayor-orig/www/include/modules/naplo/export/tanarOsztalyOraszam.php new file mode 100644 index 00000000..c858e674 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/tanarOsztalyOraszam.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/export/tantargyFelosztas.php b/mayor-orig/www/include/modules/naplo/export/tantargyFelosztas.php new file mode 100644 index 00000000..823fb92b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/export/tantargyFelosztas.php @@ -0,0 +1,68 @@ +'getTankorOraszamok','modul'=>'naplo_intezmeny','result'=>'indexed')); + for ($i=0; $i __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'idonly', 'datumKenyszeritessel' => false)); + $return[$i]['osztalyIds'] = getTankorOsztalyai($return[$i]['tankorId']); + } + return $return; + + } + + function exportTantargyFelosztas($file, $ADAT) { + + $T = array(); + + $T[0] = array('név','képesítés/tantárgy','tényleges óraszám','kötelező óraszám','besorolás'); +/* + $T[0] = array('név','képesítés/tantárgy','óraszám'); + foreach ($ADAT['osztalyok'] as $oAdat) { + $T[0][] = $oAdat['osztalyJel']; + } +*/ + foreach ($ADAT['tanarAdat'] as $tanarId => $tAdat) { + // tanár neve, képesítései, összes óraszáma, kötelező óraszáma, besorolas + $elsoSor = count($T); + $sor = array($tAdat['tanarNev'], null, null, $tAdat['hetiKotelezoOraszam'], $tAdat['besorolas']); + if (is_array($ADAT['tanarKepesitesIds'])) { + $_kepesites = array(); + foreach ($ADAT['tanarKepesitesIds'][$tanarId] as $kepesitesId) $_kepesites[] = $ADAT['kepesitesAdat'][$kepesitesId]['kepesitesNev']; + $sor[1] = implode(', ', $_kepesites); + } + $T[] = $sor; + // tanár tárgyai és óraszámai + $sum = 0; + $utolsoTargyId = end((array_keys($ADAT['export'][$tanarId]))); + foreach ($ADAT['export'][$tanarId] as $targyId => $targyAdat) { + + $sor = array('', $ADAT['targyAdat'][$targyId]['targyNev'],0); + $resz = 0; + foreach ($ADAT['osztalyok'] as $oAdat) { +/* + if (($targyAdat[$oAdat['osztalyId']][1]+$targyAdat[$oAdat['osztalyId']][2])/2 != 0) + $sor[] = ($targyAdat[$oAdat['osztalyId']][1]+$targyAdat[$oAdat['osztalyId']][2])/2; + else $sor[] = null; +*/ + $resz += ($targyAdat[$oAdat['osztalyId']][1]+$targyAdat[$oAdat['osztalyId']][2])/2; + } + $sor[2] = $resz; + $sum += $resz; + $T[] = $sor; + + } + $T[$elsoSor][2] = $sum; + } +//dump($T); + if ($ADAT['formatum'] == 'xml') return generateXLS("$file.${ADAT['formatum']}", $T, 'tantárgyFelosztás'); + elseif ($ADAT['formatum'] == 'csv') return generateCSV("$file.${ADAT['formatum']}", $T, 'tantárgyFelosztás'); + elseif ($ADAT['formatum'] == 'ods') return generateODS("$file.${ADAT['formatum']}", $T, 'tantárgyFelosztás'); + else return false; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/haladasi/elmaradas.php b/mayor-orig/www/include/modules/naplo/haladasi/elmaradas.php new file mode 100644 index 00000000..e6db4268 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/elmaradas.php @@ -0,0 +1,27 @@ += CAST('"._HALADASI_HATARIDO."' AS DATE) + AND dt <= CAST('%s' AS DATE) GROUP BY ki"; + $ret['beirando'] = db_query($q, array( + 'fv' => 'getHaladasiElmaradas/#1', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'ki', 'values' => array($elozoTanitasiNapDt) + )); + // Lezárt hiányzások száma + $q = "SELECT ki, COUNT(*) AS db FROM ".__TANEVDBNEV.".ora WHERE tipus NOT LIKE 'elmarad%' + AND (leiras = '' OR leiras IS NULL) + AND dt < CAST('"._HALADASI_HATARIDO."' AS DATE) + GROUP BY ki + ORDER BY db DESC"; + $ret['lezart'] = db_query($q, array('fv' => 'getHaladasiElmaradas/#2', 'modul' => 'naplo', 'result' => 'indexed')); + + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/elszamolas.php b/mayor-orig/www/include/modules/naplo/haladasi/elszamolas.php new file mode 100644 index 00000000..5490624a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/elszamolas.php @@ -0,0 +1,44 @@ + 'getElszamolas', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($ret); $i++) { + $A[ $ret[$i]['ki'] ][ $ret[$i]['tipus'] ] += intval($ret[$i]['db']); + $A['detailed'][ $ret[$i]['ki'] ][ $ret[$i]['tipus'] ][ $ret[$i]['munkaido'] ] = intval($ret[$i]['db']); + $A['detailed_ki_tipus_munkaido_eredet'][ $ret[$i]['ki'] ][ $ret[$i]['tipus'] ][ $ret[$i]['munkaido'] ][ $ret[$i]['eredet'] ] = intval($ret[$i]['db']); + } + // Tanárok heti óraszáma + $q = "SELECT tanarId, + COUNT(*)/( + SELECT COUNT(DISTINCT het) AS db FROM orarendiOra WHERE tolDt<=CURDATE() AND CURDATE()<=igDt + ) AS db + FROM orarendiOra WHERE tolDt <= CURDATE() AND CURDATE() <= igDt + GROUP BY tanarId"; + $ret = db_query($q, array('fv' => 'getElszamolas', 'modul' => 'naplo', 'result'=> 'indexed')); + for ($i = 0; $i < count($ret); $i++) $A[ $ret[$i]['tanarId'] ]['oraszam'] = $ret[$i]['db']; + + // Napok száma az adott időszak alatt - típusonként + $q = "SELECT munkatervId,tipus,COUNT(*) AS db FROM nap WHERE '%s'<=dt AND dt<='%s' GROUP BY munkatervId,tipus"; + $ret = db_query($q, array( + 'fv' => 'getElszamolas', 'modul' => 'naplo', 'result' => 'indexed', 'keyfield' => 'tipus', 'values' => mayor_array_join(array($tolDt, $igDt),$v) + )); + foreach ($ret as $tmp) { $A['napok'][ $tmp['munkatervId'] ][ $tmp['tipus'] ] = $tmp['db']; } + $A['munkaterv'] = getMunkatervek(array('result'=>'assoc', 'keyfield'=>'munkatervId')); + + return $A; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/haladasi.php b/mayor-orig/www/include/modules/naplo/haladasi/haladasi.php new file mode 100644 index 00000000..d3b9378c --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/haladasi.php @@ -0,0 +1,274 @@ + 'updateHaladasiNaploOra')):$olr; + // A módosítás előtti állapot lekérdezése + $oraAdat = getOraAdatById($oraId, __TANEV, $lr); + $dt = $oraAdat['dt']; + // Melyik tankör lesz a módosítás után + if ($csoportAdat != '') list($csoportId, $tankorId) = explode(':', $csoportAdat); + else $tankorId = $oraAdat['tankorId']; + + // force to be numeric (CHECK) + $csoportId = intval($csoportId); + $tankorId = intval($tankorId); + +// $oraAdat['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => __TANEV, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO, 'result' => 'nevsor'), $lr); + $oraAdat['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => __TANEV, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'nevsor'), $lr); + // Melyik ki id lesz módosítás után + if ($ki != '') $tanarId = $ki; else $tanarId = $oraAdat['ki']; + if (modosithatoOra($oraAdat)) { + + // Tananyag beírása + $q = "UPDATE ora SET leiras='%s'"; + $v = array($leiras); + if ($ki != '') { // Ha több tanára van a tankörnek, akkor az átváltható + $i = 0; + while ($i < ($db = count($oraAdat['tanar'])) && $ki != $oraAdat['tanar'][$i]['tanarId']) $i++; + if ($i < $db) { + $q .= ",ki=%u"; + $v[] = $ki; + } + } + //!!! A csoportok tankörei válthatóak - ha ugyanaz a tanár tartja + if ($csoportAdat != '' && $oraAdat['tankorId'] != $tankorId) { + $q2 = "SELECT COUNT(tankorId) FROM tankorCsoport LEFT JOIN ".__INTEZMENYDBNEV.".tankorTanar USING (tankorId) + WHERE csoportId = %u AND tanarId = %u + AND tankorId IN (%u,%u) + AND (kiDt IS NULL OR kiDt>='%s') AND beDt<='%s'"; + $v2 = array($csoportId, $tanarId, $tankorId, $oraAdat['tankorId'], $dt, $dt); + $num = db_query($q2, array('fv' => 'updateHaladasiNaploOra', 'modul' => 'naplo', 'result' => 'value', 'values' => $v2), $lr); + if (!$num) { + $_SESSION['alert'][] = 'message:wrong_data:updateHaladasiNaploOra:'.$num.':'.$csoportId; + $RESULT = false; + } elseif ($num == 2) { + $q .= ",tankorId=%u"; + $v[] = $tankorId; + } else { + $_SESSION['alert'][] = 'message:wrong_data:updateHaladasiNaploOra:'.$num.':'.$csoportId; + $RESULT = false; + } + } + if ($RESULT!==false) { + $q .= " WHERE oraId=%u"; + $v[] = $oraId; + $RESULT = db_query($q, array('fv' => 'updateHaladasiNaploOra', 'modul' => 'naplo', 'values' => $v), $lr); + //$_SESSION['alert'][] = $q; + } + } else { +// $RESULT = false; // igaziból nincs hiba, hisz nem csináltunk semmit + $_SESSION['alert'][] = 'message:wrong_data:nem modosithato ora!!!'; + } + if ($olr == '') db_close($lr); + + return $RESULT; + + } +*/ +/* elköltözött a share/oraModifier.php - be + function modosithatoOra($haladasiOraAdat) { + + global $_TANEV; + if (!defined('_HALADASI_HATARIDO')) $_SESSION['alert'][] = 'info::modosithatoOra.not defined._HALADASI_HATARIDO'; + // feladat típusokra vonatkozó beállítások + $Feladat = is_numeric($haladasiOraAdat['feladatTipusId']) && $haladasiOraAdat['tipus']=='egyéb'; // 22-26 óra feletti kötött munkaidőbe tartó feladat + $tanarFeladat = $Feladat && defined('__USERTANARID') && __USERTANARID==$haladasiOraAdat['ki']; // ... amit az épp bejelentkezett tanár tart + $sajatTanarFeladat = $tanarFeladat && $haladasiOraAdat['eredet']=='plusz'; // ... és ő is vett fel + $eloirtTanarFeladat = $tanarFeladat && $haladasiOraAdat['eredet']=='órarend'; // ... illetve, amit számára a vezetőség előírt (nem törölhető) + $time = strtotime($haladasiOraAdat['dt']); + $ki = $haladasiOraAdat['ki']; + $normalOra = (in_array($haladasiOraAdat['tipus'],array('normál','normál máskor'))); + for ($i = 0; + ( + ($i < ($count = count($haladasiOraAdat['tanar']))) + && ($haladasiOraAdat['tanar'][$i]['tanarId'] != __USERTANARID) + ); + $i++ + ); + $tanara = ($i < $count); + + return ($_TANEV['szemeszter'][1]['statusz'] == 'aktív') // Csak aktív szemeszterbe írhatunk + && ( + ((__VEZETOSEG || __NAPLOADMIN) && $Feladat && $haladasiOraAdat['eredet']=='órarend') + || $time <= time() + ) // A jövőbeli órák nem írhatók be, kivéve, ha az előírt tanári feladat (pl versenyfelügyelet)! + && ( + // Az admin bármikor módosíthat - de csak vezetői utasításra teszi! + __NAPLOADMIN + // Az igazgató naplózárásig pótolhat, javíthat - utána elvileg nyomtatható a napló! + || (__VEZETOSEG and strtotime(_ZARAS_HATARIDO) <= $time) + || ( + __TANAR + && ( + // a számára felvett óra nem módosítható + !$eloirtTanarFeladat + && ( + // tanár a saját tanköreinek óráit a _HALADASI_HATARIDO-ig módosíthatja + ($normalOra && $tanara && (strtotime(_HALADASI_HATARIDO) <= $time)) + // tanár az általa helyettesített/felügyelt/összevont órát _visszamenőleg_ a _HELYETTESITES_HATARIDO-ig módosíthatja + || (!$normalOra && (__USERTANARID == $ki) && (strtotime(_HELYETTESITES_HATARIDO) <= $time) && $Feladat===false) + // a kötött munkaidőben végzett feladatok _HALADASI_HATARIDŐIG módosíthatók + || ($tanarFeladat && (strtotime(_HALADASI_HATARIDO) <= $time)) + ) + ) + ) + ); + } +*/ + + function getOraszamByOraId($oraId, $olr='') { + + + $lr = ($olr=='') ? db_connect('naplo', array('fv' => 'getOraszamByOraId')) : $olr; + + $q = "SELECT tankorId, dt, ora FROM ora WHERE oraId=%u"; + $r = db_query($q, array('fv' => 'getOraszamByOraId', 'modul' => 'naplo', 'result' => 'record', 'values' => array($oraId)), $lr); + + $tankorId = $r['tankorId']; + $dt = $r['dt']; + $ora = $r['ora']; + + if (defined('__ORASZAMOT_NOVELO_TIPUSOK')) { + $oraszamNoveloTipus = explode(',', __ORASZAMOT_NOVELO_TIPUSOK); + } else { + if (!in_array('info:missing_constant:__ORASZAMOT_NOVELO_TIPUSOK',$_SESSION['alert'])) $_SESSION['alert'][] = 'info:missing_constant:__ORASZAMOT_NOVELO_TIPUSOK'; + $oraszamNoveloTipus = array('normál', 'normál máskor', 'helyettesítés', 'összevonás'); + } + $q = "SELECT count(oraId) FROM ora + WHERE tankorId=%u + AND tipus IN ('".implode("','", array_fill(0, count($oraszamNoveloTipus), '%s'))."') + AND (dt<'%s' OR (dt='%s' AND ora<=%u))"; + $v = mayor_array_join(array($tankorId), $oraszamNoveloTipus, array($dt, $dt, $ora)); + $oraszam = db_query($q, array('fv' => 'getOraszamByOraId', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + + if ($olr == '') db_close($lr); + return $oraszam; + } + + function getHaladasi($Tankorok, $munkatervIds, $orderBy, $tanarId = '', $csakUres=false, $teremId=false) { + + $ret = array(); + + // Munkatervidk + if (!is_array($munkatervIds) || count($munkatervIds)==0) $munkatervIds = array(1); // a default + + // Az érintett tankörök id-inek listája + $tankorIds = $tankorAdat = array(); + if (is_array($Tankorok) && ($count = count($Tankorok)) > 0) { + $tankorFeltetel = 'tankorId IN (' . $Tankorok[0]['tankorId']; + $tankorIds[] = $Tankorok[0]['tankorId']; + $Tankorok[0]['tanar'] = getTankorTanaraiByInterval($Tankorok[0]['tankorId'], array('tanev' => __TANEV, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO, 'result' => 'nevsor')); + $tankorAdat[$Tankorok[0]['tankorId']] = $Tankorok[0]; + for ($i = 1; $i < $count; $i++) { + $tankorFeltetel .= ', '.$Tankorok[$i]['tankorId']; + $tankorIds[] = $Tankorok[$i]['tankorId']; + $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval($Tankorok[$i]['tankorId'], array('tanev' => __TANEV, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO, 'result' => 'nevsor')); + $tankorAdat[$Tankorok[$i]['tankorId']] = $Tankorok[$i]; + } + $tankorFeltetel .= ')'; + } + elseif ($tanarId=='') return false; + // else return false; // Ha egy kollégának nincs rendszeres órája, tanköre, de helyettesít, akkor meg kell jelenjenek ezek az órái... (Bug #53) + + if ($teremId!==false && is_numeric($teremId)) { + $teremFeltetel = ' and teremId = '.$teremId; + } else + $teremFeltetel = ''; + + // Ha tanarId is van, akkor az általa helyettesített órák is kellenek + if ($tanarId != '') { + if (isset($tankorFeltetel)) $kiFeltetel = 'OR ki = '.$tanarId; + else $kiFeltetel = 'ki = '.$tanarId; + } + if (isset($tankorFeltetel) || isset($kiFeltetel)) $feltetel = "AND ($tankorFeltetel $kiFeltetel)"; + if (isset($csakUres) && $csakUres==true) $feltetel .= " AND (leiras='' OR leiras IS NULL) "; + + // Csatlakozás az adatbázishoz + $lr = db_connect('naplo', array('fv' => 'getHaladasi')); + $q = "SELECT oraId, dt, ora, ki, kit, tankorId, teremId, ora.leiras, tipus, eredet, csoportId, feladatTipusId + FROM ora + LEFT JOIN tankorCsoport USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".feladatTipus USING (feladatTipusId) + WHERE dt>='%s' AND dt<='%s' AND tipus NOT LIKE 'elmarad%%' + $feltetel $teremFeltetel + ORDER BY ".implode(',',$orderBy); + $v = array(_SHOW_DAYS_FROM, _SHOW_DAYS_TO); + $r = db_query($q, array('fv' => 'getHaladasi', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if ($r===false) { + db_close($lr); + return false; + } + foreach ($r as $i => $sor) { + // ha nincs a tankorok kozott a tankorId, akkor le kell kérdezni az adatait + if (!in_array($sor['tankorId'],$tankorIds)) { + $T = getTankorById($sor['tankorId'], __TANEV); + $tankorIds[] = $sor['tankorId']; + $tankorAdat[$sor['tankorId']] = $T[0]; + $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval($sor['tankorId'], array('tanev' => __TANEV, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO, 'result' => 'nevsor')); + } + $sor['kiCn'] = getTanarNevById($sor['ki'], $lr); + $sor['tankorNev'] = $tankorAdat[$sor['tankorId']]['tankorNev']; + $sor['tankorTipusId'] = $tankorAdat[$sor['tankorId']]['tankorTipusId']; + $sor['oraszam'] = getOraszamByOraId($sor['oraId'], $lr); + $sor['tanar'] = $tankorAdat[$sor['tankorId']]['tanar']; + // Az óracsoportokat is!!! + if (isset($sor['csoportId']) && $tanarId != '') { // Csak tanár nézet esetén lehet váltani!!! + if (!is_array($tankorAdat[$sor['tankorId']]['csoport'])) { + // Csoport adatok lekérdezése + // Ha minden oldalon le akarjuk kérdezi a csoportokat, akkor valahogy így... + // if ($sor['kit'] == '') $tanarId = $sor['ki']; + // else $tanarId = $sor['kit']; + $q = "SELECT DISTINCT tankorCsoport.tankorId AS tankorId, tankorNev + FROM tankorCsoport + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTanar USING (tankorId) + WHERE tanarId=%u AND csoportId=%u + AND beDt<='"._SHOW_DAYS_TO."' AND (kiDt IS NULL OR '"._SHOW_DAYS_FROM."'<=kiDt) + AND tanev=" . __TANEV; + $v = array($tanarId, $sor['csoportId']); + $r_cs = db_query($q, array('fv' => 'getHaladasi/csoport', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if ($r_cs===false) { //!!!! nem jó simán a tagadás! + db_close($lr); + return false; + } + foreach ($r_cs as $key => $val) { + $tankorAdat[$sor['tankorId']]['csoport'][] = $val; + } + } + $sor['csoport'] = $tankorAdat[$sor['tankorId']]['csoport']; + } + $ret[$sor['dt']][] = $sor; + } + // Nap információk lekérdezése + $q = "SELECT dt,tipus,megjegyzes,orarendiHet FROM nap + WHERE dt>='%s' AND dt<='%s' AND munkatervId IN (".implode(',', $munkatervIds).")"; + $v = array(_SHOW_DAYS_FROM, _SHOW_DAYS_TO); + $ret['napok'] = db_query($q, array('fv' => 'getHaladasi', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'dt', 'values' => $v), $lr); + if (!$ret['napok']) { + db_close($lr); + return false; + } + + // dolgozatok lekérdezése; + $ret['dolgozatok'] = getTankorDolgozatok($tankorIds,true,_SHOW_DAYS_FROM,_SHOW_DAYS_TO, $lr); + db_close($lr); + return $ret; + } + + function haladasiTeremModositas($oraId,$teremId,$lr) { + if (!is_numeric($oraId) || !is_numeric($teremId)) return false; + $lr = $olr=='' ? db_connect('naplo', array('fv' => 'haladasiTeremModositas')):$olr; + $q = "UPDATE ora SET teremId=%u WHERE oraId=%u"; + $v = array($teremId,$oraId); + $RESULT = db_query($q, array( 'fv' => 'haladasiTeremModositas','modul' => 'naplo', 'values' => $v), $lr); + if ($olr == '') db_close($lr); + return $RESULT; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/helyettesites.php b/mayor-orig/www/include/modules/naplo/haladasi/helyettesites.php new file mode 100644 index 00000000..2fbbc4ac --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/helyettesites.php @@ -0,0 +1,945 @@ + 'getHianyzok', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($dt)), $olr); + + foreach ($result as $key => $sor) { + // Ha a kit nem üres, akkor az az eredeti tanár, különben a ki (plusz óránál lehet) + if ($sor['kit'] != '') { + if (!in_array($sor['kit'], $hianyzok)) $hianyzok[] = $sor['kit']; + } elseif ($sor['ki'] != '' && !in_array($sor['ki'], $hianyzok)) { + $hianyzok[] = $sor['ki']; + } + } + + return $hianyzok; + + } + + + function getHianyzoOrak($dt = '', $olr = '') { + + + if($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + // Kik érintettek az aktuális helyettesítésekben + $ORAK['helyettesites']['tanarIds'] = getHianyzok($dt, $lr); + + // Az érintettek óráinak adatai, kivéve a kötött munkaidő plusz óráit, hiszen azok nem számítanak. Nem számítanak? + if (count($ORAK['helyettesites']['tanarIds']) > 0) { + $q = "SELECT DISTINCT + oraId, dt, ora, ki, kit, tankorId, teremId, leiras, tipus, eredet, tankorNev, targyId,feladatTipusId,munkaido + FROM ora + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".feladatTipus USING (feladatTipusId) + WHERE ( + ki IN (".implode(',', array_fill(0, count($ORAK['helyettesites']['tanarIds']),'%u')).") OR + kit IN (".implode(',', array_fill(0, count($ORAK['helyettesites']['tanarIds']), '%u')).") + ) + AND dt='%s' + AND (tanev=".__TANEV." OR feladatTipusId IS NOT NULL) + ORDER BY ora"; + $v = mayor_array_join($ORAK['helyettesites']['tanarIds'], $ORAK['helyettesites']['tanarIds'], array($dt)); + $result = db_query($q, array('fv' => 'getHianyzoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (!$result) { + if($olr == '') $lr = db_close($lr); + return false; + } + foreach ($result as $key => $sor) { + if ($sor['kit'] != '') { + $ORAK['helyettesites'][$sor['kit']]['orak'][] = $sor; + } + if (in_array($sor['ki'], $ORAK['helyettesites']['tanarIds'])) { + $ORAK['helyettesites'][$sor['ki']]['orak'][] = $sor; + } + } + } + + // Tanárnevek lekérése + $TANAR_NEVSOR = getTanarok(array('tanev' => __TANEV,'beDt'=>$dt,'kiDt'=>$dt), $lr); + for ($i = 0; $i < count($TANAR_NEVSOR); $i++) { + $ORAK['tanarok']['tanarIds'][] = $TANAR_NEVSOR[$i]['tanarId']; + $ORAK['tanarok'][$TANAR_NEVSOR[$i]['tanarId']] = array('tanarNev' => $TANAR_NEVSOR[$i]['tanarNev']); + } + // Az adott napon ki melyik órákban tanít, első, utolsó, db + $q = "SELECT ki, ora FROM ora + WHERE dt = '%s' AND ki != '' + ORDER BY ki, ora"; + $r = db_query($q, array('fv' => 'getHianyzoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($dt)), $lr); + foreach ($r as $key => $val) { + $ki = $val['ki']; $ora = $val['ora']; + if (!is_array($ORAK['tanarok']['foglaltak'][$ora]) // gyűjtjük, hogy kik tanítanak az adott órában + || !in_array($ki, $ORAK['tanarok']['foglaltak'][$ora]) + ) $ORAK['tanarok']['foglaltak'][$ora][] = $ki; + $ORAK['tanarok'][$ki]['orak'][$ora] = true; + $ORAK['tanarok'][$ki]['db']++; + if ( + !isset($ORAK['tanarok'][$ki]['elso ora']) or + $ORAK['tanarok'][$ki]['elso ora'] > $ora + ) $ORAK['tanarok'][$ki]['elso ora'] = $ora; + if ($ORAK['tanarok'][$ki]['utolso ora'] < $ora) $ORAK['tanarok'][$ki]['utolso ora'] = $ora; + } + + // Milyen tárgyat és mely osztályokban tanít az adott tanévben! (TANAR_NEVSOR tömbből válogassuk hozzá a tanáridket) + $q = "SELECT tanarId,targyId FROM ".__INTEZMENYDBNEV.".mkTanar + LEFT JOIN ".__INTEZMENYDBNEV.".targy USING (mkId) + WHERE mkTanar.tanarId IN (".implode(',', array_fill(0, count($ORAK['tanarok']['tanarIds']), '%u')).")"; + $r = db_query($q, array('fv' => 'getHianyzoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $ORAK['tanarok']['tanarIds']), $lr); + if (count($r)>0) foreach ($r as $key => $val) { + $tanarId = $val['tanarId']; $targyId = $val['targyId']; + $ORAK['tanarok'][$tanarId]['targyak'][$targyId] = true; + } + // Egészítsük ki a képesítése szerint is! (2011, 2015) + $q = "SELECT tanarId,targyId FROM ".__INTEZMENYDBNEV.".tanarKepesites LEFT JOIN ".__INTEZMENYDBNEV.".kepesitesTargy USING (kepesitesId) ". + "WHERE tanarId IN (".implode(',', array_fill(0, count($ORAK['tanarok']['tanarIds']), '%u')).")"; + $r = db_query($q, array('fv' => 'getHianyzoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $ORAK['tanarok']['tanarIds']), $lr); + if (count($r)>0) foreach ($r as $key => $val) { + $tanarId = $val['tanarId']; + $targyId = $val['targyId']; + $ORAK['tanarok'][$tanarId]['targyak'][$targyId] = true; + } + + // Az összevonó/foglalt tanárok + for ($i = 0; $i < count($ORAK['helyettesites']['tanarIds']);$i++) { + + $tanarId = $ORAK['helyettesites']['tanarIds'][$i]; + $tanarOrak = $ORAK['helyettesites'][$tanarId]['orak']; + + for ($j = 0; $j < count($tanarOrak); $j++) { + + $ora = $tanarOrak[$j]['ora']; + $Foglaltak = $ORAK['tanarok']['foglaltak'][$ora]; + // Ha a tanár szakos, akkor összevonhat. + // Itt most egyelőre annyit kérdezünk le, hogy ugyanabban az időben ki tanít + for ($f = 0; $f < count($Foglaltak); $f++) { + if ($Foglaltak[$f] != $tanarId) { + if ($ORAK['tanarok'][$Foglaltak[$f]]['targyak'][$tanarOrak[$j]['targyId']]) + $ORAK['helyettesites'][$tanarId]['orak'][$j]['osszevono'][] = $Foglaltak[$f]; + else + $ORAK['helyettesites'][$tanarId]['orak'][$j]['foglalt'][] = $Foglaltak[$f]; + } + } // Adott óra öszzevonói/foglaltjai + } // Adott tanár órái + } // A helyettesítésben érintett tanárok + $q = "SELECT ki, ora FROM ora + WHERE dt = '%s' AND ki != '' AND feladatTipusId IS NOT NULL + ORDER BY ki, ora"; + $r = db_query($q, array('fv' => 'getHianyzoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($dt)), $lr); + for ($i=0; $i'assoc')); + + if($olr=='') $lr = db_close($lr); + return $ORAK; + } + + function ujHianyzokFelvetele($ujHianyzok, $dt, $olr = '') { + + + if (count($ujHianyzok) > 0) { + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + $where = "ki IN (".implode(',', array_fill(0, count($ujHianyzok), '%u')).")"; + $v = $ujHianyzok; + + // Ha visszamenőleg állítunk elmaradtra egy órát, akkor kezelni kell a hozzá tartozó bejegyzéseket + if (strtotime($dt) < time()) { + // Az elmaradó órák id-inek lekérdezése + $q = "SELECT oraId FROM ora + WHERE dt='%s' + AND ki IN (".implode(',', array_fill(0, count($ujHianyzok), '%u')).") + AND ( + tipus='normál' OR + tipus='helyettesítés' OR + tipus='felügyelet' OR + tipus='összevonás' + )"; + $v = mayor_array_join(array($dt), $ujHianyzok); + $oraIds = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + + if (is_array($oraIds) && count($oraIds) > 0) { // Ha van elmaradt óra + $where_id = "oraId IN (".implode(',', array_fill(0, count($oraIds), '%u')).")"; + + // Az elmaradt órákhoz tartozó hiányztások, késések, felszerelés hiányok, egyenruha hiányok törlése! + $q = "SELECT hianyzasId FROM hianyzas WHERE oraId IN (".implode(',', array_fill(0, count($oraIds), '%u')).")"; + $hIds = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $oraIds), $lr); + if (count($hIds) > 0) { + logAction( + array( + 'tabla' => 'hianyzas', + 'szoveg'=> "hiányzó tanár - óraelmaradás: $where_id, hianyzasId IN (".implode(',', array_fill(0, count($hIds), '%u')).")", + 'values' => mayor_array_join($oraIds, $hIds) + ), + $lr + ); + $q = "DELETE FROM hianyzas WHERE oraId IN (".implode(',', array_fill(0, count($oraIds), '%u')).")"; + $r = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'values' => $oraIds), $lr); + } + // Az elmaradt órákhoz rendelt jegyek hozzárendelésének törlése + $q = "UPDATE jegy SET oraId=NULL WHERE oraId IN (".implode(',', array_fill(0, count($oraIds), '%u')).")"; + $r = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'values' => $oraIds), $lr); + } + } + + $v = mayor_array_join(array($dt), $ujHianyzok); + // Normál órái elmaradnak + $q = "UPDATE ora + SET kit=ki, ki=NULL, tipus='elmarad', modositasDt=NOW() + WHERE dt='%s' + AND tipus='normál' + AND ki IN (".implode(',', array_fill(0, count($ujHianyzok), '%u')).")"; + $r = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'values' => $v), $lr); + + // Helyettesített, felügyelt, összevont órái elmaradnak + $q = "UPDATE ora SET ki=NULL,tipus='elmarad', modositasDt=NOW() + WHERE dt='%s' + AND ( + tipus='helyettesítés' OR + tipus='felügyelet' OR + tipus='összevonás' + ) + AND ki IN (".implode(',', array_fill(0, count($ujHianyzok), '%u')).")"; + $r = db_query($q, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'values' => $v), $lr); + + // Elmaradnak-e a rögzített feladatai? ?????????????? + + if ($olr == '') db_close($lr); + } + } + + function toroltHianyzokVisszaallitasa($toroltHianyzok, $dt, $olr='') { + + + if (count($toroltHianyzok) > 0) { + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + // Cserék visszaállítása + $q_cs = "SELECT oraId FROM ora WHERE tipus like '%%máskor' + AND ( + ki IN (".implode(',', array_fill(0, count($toroltHianyzok), '%u')).") + OR kit IN (".implode(',', array_fill(0, count($toroltHianyzok), '%u')).") + ) AND dt = '%s'"; + $v_cs = mayor_array_join($toroltHianyzok, $toroltHianyzok, array($dt)); + $r_cs = db_query($q_cs, array('fv' => 'ujHianyzokFelvetele', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v_cs), $lr); + foreach ($r_cs as $key => $vissza_id) { + csereVisszaallitas($vissza_id, $lr); + } + + // A nem hiáynzók helyettesített, összevont, elmaradt, felügyelt óráinak visszaállítása + // 2013. Itt vissza kell állítanunk munkaido-t 'lekötött'-re. Mi történik ugyanakkor, ha + // a visszaállított óra már nem fér bele... Ugye... Sajnos + $q_v = "UPDATE ora SET ki=kit, kit=NULL, tipus='normál', munkaido='lekötött', modositasDt=NOW() + WHERE tipus IN ('helyettesítés','felügyelet','összevonás','elmarad') + AND dt='%s' AND kit IN (".implode(',', array_fill(0, count($toroltHianyzok), '%u')).")"; + $v_v = mayor_array_join(array($dt), $toroltHianyzok); + $r_v = db_query($q_v, array('fv' => 'toroltHianyzokVisszaallitasa', 'modul' => 'naplo', 'values' => $v_v), $lr); + + if ($olr == '') db_close($lr); + } + } + + function csereVisszaallitas($oraId, $olr = '') { + + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + // A csere csereId-jének lekérdezése + $q = "SELECT DISTINCT csereId + FROM csereAlapOra LEFT JOIN cserePluszOra USING (csereId) + WHERE csereAlapOra.oraId=%u OR cserePluszOra.oraId=%u"; + $v = array($oraId, $oraId); + $r = db_query($q, array('fv' => 'csereVisszaallitas', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + if (($num = count($r)) != 1) { + $_SESSION['alert'][] = 'message:wrong_data:csereVisszaallitas:Nincs csere?:'.$num; + if ($olr == '') db_close($lr); + return false; // Lehet ilyen? + } + $csereId = $r[0]; + + // A cserében résztvevő órák id-jének lekérdezése + $q = "SELECT csereAlapOra.oraId AS alap, cserePluszOra.oraId AS plusz + FROM cserePluszOra LEFT JOIN csereAlapOra USING (csereId) + WHERE csereId=%u"; + $r = db_query($q, array('fv' => 'csereVisszaallitas', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($csereId)), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + $Alap = $Plusz = array(); + for ($i = 0; $i < count($r); $i++) { + $alap = $r[$i]['alap']; $plusz = $r[$i]['plusz']; + if (!in_array($alap, $Alap)) $Alap[] = $alap; + if (!in_array($plusz, $Plusz)) $Plusz[] = $plusz; + } + + // az eredeti órák 'elmarad máskor'-ról 'elmarad'-ra állítása + $q = "UPDATE ora SET tipus='elmarad',modositasDt=NOW() WHERE oraId IN (".implode(',', array_fill(0, count($Alap), '%u')).")"; + $r = db_query($q, array('fv' => 'csereVisszaallitas', 'modul' => 'naplo', 'values' => $Alap), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + + // a csere-bejegyzés törlése + $q = "DELETE FROM csere WHERE csereId=%u"; + $r = db_query($q, array('fv' => 'csereVisszaallitas', 'modul' => 'naplo', 'values' => array($csereId)), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + + // Az órákhoz rendelt hiányzások és jegyhozzárendelések törlése (csak plusz lehet érintett!) + hianyzasEsJegyHozzarendelesTorles($Plusz, $lr); + + // a plusz órák törlése + $q = "DELETE FROM ora WHERE oraId IN (".implode(',', array_fill(0, count($Plusz), '%u')).")"; + $r = db_query($q, array('fv' => 'csereVisszaallitas', 'modul' => 'naplo', 'values' => $Plusz), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + + if ($olr == '') db_close($lr); + return true; + + } + + + function cmp($a,$b) { + if ($a['súly'] == $b['súly']) return 0; + return ($a['súly'] > $b['súly']) ? -1 : 1; + } + + + function ujOra($ORA, $olr = null) { + // alapértelmezésben munkaido='lekötött' + if ($ORA['ki'] == '') $ORA['ki'] = 'NULL'; + if ($ORA['kit'] == '') $ORA['kit'] = 'NULL'; + if ($ORA['teremId'] == '') $ORA['teremId'] = 'NULL'; + $q = "INSERT INTO ora (ki,kit,dt,ora,tankorId,teremId,leiras,tipus,eredet,modositasDt) VALUES (%s, %s, '%s', %u, %u, %s, '%s', '%s', '%s',NOW())"; + $v = array($ORA['ki'], $ORA['kit'], $ORA['dt'], $ORA['ora'], $ORA['tankorId'], $ORA['teremId'], $ORA['leiras'], $ORA['tipus'], $ORA['eredet']); + return db_query($q, array('fv' => 'ujOra', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v), $olr); + } + + function oraMozgatas($oraId, $dt, $ora, $olr = '') { + + + if ($olr == '') $lr = db_connect('naplo', array('fv' => 'oraMozgatas')); + else $lr = $olr; + + $oraAdat = getOraAdatById($oraId, __TANEV, $lr); + + if ($oraAdat['tipus'] == 'elmarad máskor') { + $_SESSION['alert'][] = 'message:wrong_data:oraMozgatas:már mozgatott óra:'.$oraId; + if ($olr == '') db_close($lr); + return false; + } + + if (isset($oraAdat['kit']) && $oraAdat['kit'] != '') $tanarId = $oraAdat['kit']; + else $tanarId = $oraAdat['ki']; + $tankorId = $oraAdat['tankorId']; + $teremId = $oraAdat['teremId']; + + checkNaplo($dt); + + // A tanár nem foglalt-e az adott időpontban + if (!tanarLukasOrajaE($tanarId, $dt, $ora, $lr)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:'."mozgat/tanár ütközés/$dt:$ora"; + if ($olr == '') db_close($lr); + return false; + } + + // diák ütközés + if (!tankorTagokLukasOrajaE($tankorId, $dt, $ora)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:'."mozgat/diák ütközés/$dt:$ora"; + if ($olr == '') db_close($lr); + return false; + } + + // terem ellenőrzés + $Termek = getSzabadTermek(array('dt' => $dt, 'ora' => $ora), $lr); + for ($i = 0;($i < count($Termek) && $Termek[$i]['teremId'] != $teremId); $i++); + if ($i >= count($Termek)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:Foglalt terem:'.$teremId; + $teremUtkozes = true; + } + + // érintett hiányzások, késések, felszerelés hiányok, egyenruha hiányok, jegyHozzárendelések törlése! + if (strtotime($dt) < time()) hianyzasEsJegyHozzarendelesTorles($oraId, $lr); + + if ($oraAdat['eredet'] == 'órarend') { + + // ha órarendi óra, akkor elmarad máskor - plusz óra felvétel + if (isset($oraAdat['kit']) && $oraAdat['kit'] != '') { + // kit nem üres, ki törölhető + $q = "UPDATE ora SET tipus='elmarad máskor',ki=NULL,modositasDt=NOW() WHERE oraId=%u"; + $oraAdat['ki'] = $tanarId; + $oraAdat['kit'] = ''; + } else { + // normál óra, akkor a ki --> kit... + $q = "UPDATE ora SET tipus='elmarad máskor',kit=ki,ki=NULL,modositasDt=NOW() WHERE oraId=%u"; + } + $r = db_query($q, array('fv' => 'oraMozgatas', 'modul' => 'naplo', 'values' => array($oraAdat['oraId'])), $lr); + if (!$r) { + if ($olr == '') db_close($lr); + return false; + } + + // A felveendő plusz óra + $oraAdat['tipus']='normál máskor'; + $oraAdat['eredet']='plusz'; + $oraAdat['dt'] = $dt; + $oraAdat['ora'] = $ora; + if ($teremUtkozes) $oraAdat['teremId'] = 'NULL'; + + if ($pluszId = ujOra($oraAdat, $lr)) { + + // órarendi óra mozgatásánál a csere táblába is fel kell venni... + $error = ''; + db_start_trans($lr); + + $q = "INSERT INTO csere VALUES ('')"; + $csereId = db_query($q, array('fv' => 'oraMozgatas', 'modul' => 'naplo', 'result' => 'insert', 'rollback' => true), $lr); + if (!$csereId) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO csereAlapOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraMozgatas', 'modul' => 'naplo', 'values' => array($csereId, $oraId), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO cserePluszOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraMozgatas', 'modul' => 'naplo', 'values' => array($csereId, $pluszId), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + db_commit($lr); + + } + } else { + + // plusz óra egyszerűen módosítandó... + if ($teremUtkozes) $q = "UPDATE ora SET tipus='normál máskor',ki=%u, kit=NULL, dt='%s', ora='%u', teremId=NULL, modositasDt=NOW() WHERE oraId=%u"; + else $q = "UPDATE ora SET tipus='normál máskor',ki=%u, kit=NULL, dt='%s', ora='%u', modositasDt=NOW() WHERE oraId=%u"; + $v = array($tanarId, $dt, $ora, $oraId); + $r = db_query($q, array('fv' => 'oraMozgatas', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + } // órarendi vagy plusz óra + + if ($olr == '') db_close($lr); + return true; + + } + + function getCsereOraiByOraId($oraId) { + + + $lr = db_connect('naplo', array('fv' => 'getCsereOraiByOraId')); + + $q = "SELECT DISTINCT csereId FROM csereAlapOra LEFT JOIN cserePluszOra USING (csereId) + WHERE csereAlapOra.oraId=%u OR cserePluszOra.oraId=%u"; + $v = array($oraId, $oraId); + $arrayCsereId = db_query($q , array('fv' => 'getCsereOraiByOraId', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + if (!is_array($arrayCsereId) || ($num = count($arrayCsereId)) != 1) { + $_SESSION['alert'][] = 'message:wrong_data:getCsereOraiByOraId:Nincs csere?:'.$num.'/'.$oraId; + db_close($lr); return false; + } + $csereId = $arrayCsereId[0]; + + $q = "SELECT DISTINCT oraId, dt, ora, ki, kit, tankorId, tipus, eredet, tankorNev + FROM csereAlapOra LEFT JOIN ora USING (oraId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE csereId=%u AND tanev=".__TANEV." ORDER BY dt, ora"; + $ret['alap'] = db_query($q, array( + 'fv' => 'getCsereOraiByOraId', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => array($csereId) + ), $lr); + + $q = "SELECT DISTINCT oraId, dt, ora, ki, kit, tankorId, tipus, eredet, tankorNev + FROM cserePluszOra LEFT JOIN ora USING (oraId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE csereId=%u AND tanev=".__TANEV." ORDER BY dt, ora"; + $ret['plusz'] = db_query($q, array( + 'fv' => 'getCsereOraiByOraId', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => array($csereId) + ), $lr); + + db_close($lr); + return $ret; + + } + + function oraCsere($oraId1, $oraId2, $olr = '') { + + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + $csereOraAdat1 = $oraAdat1 = getOraAdatById($oraId1, __TANEV, $lr); + $csereOraAdat2 = $oraAdat2 = getOraAdatById($oraId2, __TANEV, $lr); + + if ($oraAdat1['tipus'] == 'elmarad máskor' || $oraAdat2['tipus'] == 'elmarad máskor') { + $_SESSION['alert'][] = 'message:wrong_data:oraCsere:már mozgatott óra:'.$oraId1.'/'.$oraId2; + if ($olr == '') db_close($lr); + return false; + } + + if (isset($oraAdat1['kit']) && $oraAdat1['kit'] != '') $tanarId1 = $oraAdat1['kit']; + else $tanarId1 = $oraAdat1['ki']; + + if (isset($oraAdat2['kit']) && $oraAdat2['kit'] != '') $tanarId2 = $oraAdat2['kit']; + else $tanarId2 = $oraAdat2['ki']; + + if ($tanarId1 != $tanarId2) { + // Ha nem saját magával cserél, akkor a tanár nem foglalt-e az adott időpontban + if (!tanarLukasOrajaE($tanarId1, $oraAdat2['dt'], $oraAdat2['ora'], $lr)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:'."oraCsere/tanár ütközés #1 (".$oraId1.'):'.$oraAdat2['dt'].':'.$oraAdat2['ora']; + if ($olr == '') db_close($lr); + return false; + } + if (!tanarLukasOrajaE($tanarId2, $oraAdat1['dt'], $oraAdat1['ora'], $lr)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:'."oraCsere/tanár ütközés #2 (".$oraId2.'):'.$oraAdat1['dt'].':'.$oraAdat1['ora']; + if ($olr == '') db_close($lr); + return false; + } + } + + // diák ütközés + if (!tankorTagokLukasOrajaE($oraAdat1['tankorId'], $oraAdat2['dt'], $oraAdat2['ora'], $oraAdat2['tankorId'])) { + if ($olr == '') db_close($lr); + return false; + } + if (!tankorTagokLukasOrajaE($oraAdat2['tankorId'], $oraAdat1['dt'], $oraAdat1['ora'], $oraAdat1['tankorId'])) { + if ($olr == '') db_close($lr); + return false; + } + + // terem ellenőrzés nincs: Termeket nem cserélünk!! + + // érintett hiányzások, késések, felszerelés hiányok, egyenruha hiányok, jegyHozzárendelések törlése! + if (strtotime($oraAdat1['dt']) < time()) hianyzasEsJegyHozzarendelesTorles($oraId1, $lr); + if (strtotime($oraAdat2['dt']) < time()) hianyzasEsJegyHozzarendelesTorles($oraId2, $lr); + + // 1. óra mozgatása + if ($oraAdat1['eredet'] == 'órarend') { + + $q = "UPDATE ora SET tipus='elmarad máskor', kit=%u, ki=NULL, modositasDt=NOW() WHERE oraId=%u"; + if (!db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($tanarId1, $oraAdat1['oraId'])), $lr)) { + if ($olr == '') db_close($lr); + return false; + } + + // A felveendő plusz óra + $csereOraAdat1['ki'] = $tanarId1; + $csereOraAdat1['kit'] = 'NULL'; + $csereOraAdat1['tipus']='normál máskor'; + $csereOraAdat1['eredet']='plusz'; + $csereOraAdat1['dt'] = $oraAdat2['dt']; + $csereOraAdat1['ora'] = $oraAdat2['ora']; + $csereOraAdat1['teremId'] = $oraAdat2['teremId']; + + $pluszId1 = ujOra($csereOraAdat1, $lr); + + // A csere táblába bejegyezzük a mozgatást + if ($pluszId1) { + + db_start_trans($lr); + + $q = "INSERT INTO csere VALUES ('')"; + $csereId1 = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'result' => 'insert', 'rollback' => true), $lr); + if (!$csereId1) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO csereAlapOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId1, $oraId1), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO cserePluszOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId1, $pluszId1), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + db_commit($lr); + } + + } else { + + // plusz óra egyszerűen módosítandó... + $q = "UPDATE ora SET tipus='normál máskor', ki=%u, kit=NULL, dt='%s', ora=%u, teremId=%u, modositasDt=NOW() WHERE oraId=%u"; + $r = db_query($q, array( + 'fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($tanarId1, $oraAdat2['dt'], $oraAdat2['ora'], $oraAdat2['teremId'], $oraId1) + ), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + // A plusz óra beletartozik-e valamelyik cserébe (elvileg csak egybe tartozhat) + $q = "SELECT csereId FROM cserePluszOra WHERE oraId=%u"; + $csereId1 = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'result' => 'value', 'values' => array($oraId1)), $lr); + + } // 1. óra: órarendi vagy plusz óra + + // 2. óra mozgatsa + if ($oraAdat2['eredet'] == 'órarend') { + + // ha órarendi óra, akkor elmarad máskor - plusz óra felvétel + $q = "UPDATE ora SET tipus='elmarad máskor', kit=%u, ki=NULL, modositasDt=NOW() WHERE oraId=%u"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($tanarId2, $oraAdat2['oraId'])), $lr); + if (!r) { if ($olr == '') db_close($lr); return false; } + + // A felveendő plusz óra + $csereOraAdat2['ki'] = $tanarId2; + $csereOraAdat2['kit'] = 'NULL'; + $csereOraAdat2['tipus']='normál máskor'; + $csereOraAdat2['eredet']='plusz'; + $csereOraAdat2['dt'] = $oraAdat1['dt']; + $csereOraAdat2['ora'] = $oraAdat1['ora']; + $csereOraAdat2['teremId'] = $oraAdat1['teremId']; + + $pluszId2 = ujOra($csereOraAdat2, $lr); + // A csere táblába bejegyezzük a mozgatást + if ($pluszId2) { + + db_start_trans($lr); + + $q = "INSERT INTO csere VALUES ('')"; + $csereId2 = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'result' => 'insert', 'rollback' => true), $lr); + if (!$csereId2) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO csereAlapOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId2, $oraId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $q = "INSERT INTO cserePluszOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId2, $pluszId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + db_commit($lr); + } + + } else { + + // plusz óra egyszerűen módosítandó... + $q = "UPDATE ora SET tipus='normál máskor', ki=%u , kit=NULL, dt='%s', ora=%u, teremId=%u, modositasDt=NOW() WHERE oraId=%u"; + $r = db_query($q, array( + 'fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($tanarId2, $oraAdat1['dt'], $oraAdat1['ora'], $oraAdat1['teremId'], $oraId2) + ), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + // A plusz óra beletartozik-e valamelyik cserébe + $q = "SELECT csereId FROM cserePluszOra WHERE oraId=%u"; + $csereId2 = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'result' => 'value', 'values' => array($oraId2)), $lr); + + } // 2. óra: órarendi vagy plusz óra + + // Egy cserévé tesszük... + + if (isset($csereId1) && isset($csereId2) && $csereId1 != $csereId2) { + + db_start_trans($lr); + + // A cserélt órák két különböző cserébe tartoznak --> egyesítjük a két cserét + $q = "UPDATE csereAlapOra SET csereId=%u WHERE csereId=%u"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId1, $csereId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $q = "UPDATE cserePluszOra SET csereId=%u WHERE csereId=%u"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId1, $csereId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $q = "DELETE FROM csere WHERE csereId=%u"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + db_commit($lr); + + } elseif (isset($csereId1) && !isset($csereId2)) { + + // Csak az első óra van cserében --> a másodikat is (ami plusz óra) bele kell rakni + $q = "INSERT INTO cserePluszOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId1, $oraId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + } elseif (!isset($csereId1) && isset($csereId2)) { + // Csak a második óra van cserében --> az elsőt is (ami plusz óra) bele kell rakni + $q = "INSERT INTO cserePluszOra (csereId, oraId) VALUES (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($csereId2, $oraId1), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + } elseif (!isset($csereId1) && !isset($csereId2)) { + // Egyik sincs cserében --> Azaz két plusz óra --> nem vesszük fel őket cserének + // Ezért ez nem is csere --> a típusok nem normál máskor, hanem normál + $q = "UPDATE ora SET tipus='normál', modositasDt=NOW() WHERE oraId IN (%u, %u)"; + $r = db_query($q, array('fv' => 'oraCsere', 'modul' => 'naplo', 'values' => array($oraId1, $oraId2), 'rollback' => true), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + } + + if ($olr == '') db_close($lr); + return true; + + } + + function tanarTankortTanithatE($tanarId, $tankorId, $olr = '') { + + + if ($olr != '') $lr = $olr; + else $lr = db_connect('naplo'); + + // Beletartozik-e a megadott tanár a tankör munkaközösségébe? + $q = "SELECT COUNT(tanarId) + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".targy USING (targyId) + LEFT JOIN ".__INTEZMENYDBNEV.".mkTanar USING (mkId) + WHERE tankorId=%u AND tanarId=%u"; + $num = db_query($q, array( + 'fv' => 'tanarTankortTanithatE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tankorId, $tanarId) + )); + if ($num != 1) $_SESSION['alert'][] = 'message:wrong_data:keziBeallitas/tanarTankortTanithatE:Nem szakos:(tanarId/tankorId) - '.$tanarId.'/'.$tankorId; + + if ($olr == '') db_close($lr); + return ($num == 1); + + } + + + function keziBeallitas($oraId, $ki, $tipus, $teremId) { + + global $dt; + + $lr = db_connect('naplo', array('fv' => 'keziBeallitas')); + + $oraAdat = getOraAdatById($oraId, __TANEV, $lr); + $dt = $oraAdat['dt']; + if ($ki != $oraAdat['ki'] || $tipus != $oraAdat['tipus'] || $teremId != $oraAdat['teremId']) { + $ok = true; + // új tanár, vagy típus - ütközés ellenőrzése + if ($ki != $oraAdat['ki'] || $tipus != $oraAdat['tipus']) { + $q = "SELECT COUNT(*) FROM ora + WHERE dt='%s' AND ora=%u AND oraId!=%u AND ki=%u AND tipus NOT LIKE 'elmarad%%'"; + $_db = db_query($q, array( + 'fv' => 'keziBeallitas', 'modul' => 'naplo', 'result' => 'value', 'values' => array($oraAdat['dt'], $oraAdat['ora'], $oraId, $ki) + ), $lr); + if ($_db == 0) { + if ($tipus == 'összevonás') { + $_SESSION['alert'][] = 'message:wrong_data:keziBeallitas:Egy órát nem lehet összevonni'; + $ok = false; + } elseif ($tipus == 'helyettesítés') { + // Beletartozik-e a megadott tanár a tankör munkaközösségébe? + $ok = tanarTankortTanithatE($ki, $oraAdat['tankorId'], $lr); + } + } else { + if ($tipus != 'összevonás') { + $_SESSION['alert'][] = "message:haladasi_utkozes:keziBeallitas:Már van órája!:$ki"; + $ok = false; + } else { + // Beletartozik-e a megadott tanár a tankör munkaközösségébe? + $ok = tanarTankortTanithatE($ki, $oraAdat['tankorId'], $lr); + } + } + } + // Terem változtatás - szabad-e a terem? vagy nincs megadva + if ($teremId != $oraAdat['teremId'] && $teremId!='NULL') { + // Szabad-e a terem? - a saját maga által használt terem nem foglalt! (összevonáshoz így kell) + $Termek = getSzabadTermek(array('dt' => $OraAdat['dt'], 'ora' => $oraAdat['ora'], 'ki' => $ki), $lr); + for ($i = 0;($i < count($Termek) && $Termek[$i]['teremId'] != $teremId); $i++); + if ($i >= count($Termek)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:keziBeallitas:Foglalt terem:'.$teremId; + $ok = false; + } + } + // Módosítás + if ($ok && $tipus != 'elmarad') { + if (substr($oraAdat['tipus'], 0, 7) == 'normál') { + if ($tipus == $oraAdat['tipus'] || $ki == $oraAdat['ki']) { + // Vagy mindkettő változik, vagy egyik se + $q = "UPDATE ora SET teremId=%u, modositasDt=NOW() WHERE oraId=%u"; + $v = array($teremId, $oraId); + } else { // ki --> kit (csak helyettesítés, felügyelet, vagy összevonás lehet az új típus!! + $q = "UPDATE ora SET kit=ki, ki=%u, tipus='%s', teremId=%u, modositasDt=NOW() WHERE oraId=%u"; + $v = array($ki, $tipus, $teremId, $oraId); + } + } else { // kit nem változik + $q = "UPDATE ora SET ki=%u, tipus='%s', teremId=%u, modositasDt=NOW() WHERE oraId=%u"; + $v = array($ki, $tipus, $teremId, $oraId); + } + $r = db_query($q, array('fv' => 'keziBeallitas', 'modul' => 'naplo', 'values' => $v), $lr); + if ($r) $_SESSION['alert'][] = 'info:change_success:keziBeallitas'; + } else { + $_SESSION['alert'][] = 'info:do_nothing:keziBeallitas:Nem történt módosítás'; + } + } + + db_close($lr); + + } + + function ujHelyettes2($oraAdat, $ki, $tipus, $olr = null) { + $oraId = $oraAdat['oraId']; + $dt = $oraAdat['dt']; + if (is_null($ki) || $ki!=0) { + + // a helyettesített óra milyen munkaidőbe számolódik vajon? + // 1. összevonás = ??? (ezt nem vesszük figyelembe, ezért tökmindegy) + // 2. felügyelet = ez bizony egyértelműen a fennmaradó + // 3. helyettesítés = lekötött HA (26-on belül van az elmúlt 5 napos lekötött VAGY még a 28-on belül van, de érvényesek a feltételek 2-6-30) + // fennmaradó EGYÉBKÉNT. + + // ez már le van kérdezve, de a tranzakció miatt sajnos újra kell: + $TERHELES = getOraTerhelesStatByTanarId(array('tanarId'=>array($ki),'dt'=>$dt), $olr); + + if ($tipus=='összevonás') $_munkaido = 'lekötött'; + elseif ($tipus=='felügyelet') $_munkaido = 'fennmaradó'; + elseif ($tipus=='helyettesítés') { + if ($TERHELES[$ki]['munkaido']['lekotott']>$TERHELES[$ki]['lekotott']['heti']) { + $_lekotheto = true; + } elseif ($TERHELES[$ki]['over']['napi']<2 && $TERHELES[$ki]['over']['heti']<6) { + $_lekotheto =false; + } else { + $_lekotheto=false; + $_SESSION['alert'][] = 'info:OVERTIME'; // időközben túllépte valahogy + } + if ($_lekotheto===true) $_munkaido = 'lekötött'; else $_munkaido='fennmaradó'; + } else { + $_munkaido='lekötött'; //tipus??? + } + + if ($_munkaido=='') + $q = "UPDATE ora SET ki=%u,tipus='%s', modositasDt=NOW() WHERE oraId=%u"; + else + $q = "UPDATE ora SET ki=%u,tipus='%s',munkaido='".$_munkaido."', modositasDt=NOW() WHERE oraId=%u"; + + return db_query($q, array('fv' => 'ujHelyettes', 'modul' => 'naplo', 'values' => array($ki, $tipus, $oraId)), $olr); + } else { + $_SESSION['alert'][] = '::Nem sikerült beállítani az új helyettest!:oraId-'.$oraId.':ki-'.$ki.':tipus-'.$tipus; + return false; + } + + } + + function eredetiOraVissza($oraId, $eredet, $olr = null) { + + + if ($olr == '') $lr = db_connect('naplo', array('fv' => 'eredetiOraVissza')); + else $lr = $olr; + + if ($eredet == 'plusz') { + $q_csere = "SELECT COUNT(csereId) FROM cserePluszOra WHERE oraId=%u"; + $num = db_query($q_csere, array('fv' => 'eredetiOraVissza', 'modul' => 'naplo', 'result' => 'value', 'values' => array($oraId)), $lr); + } + if (($eredet == 'órarend') || ($num == 0)) + $q = "UPDATE ora SET ki=kit,kit=NULL,tipus='normál',munkaido='lekötött',modositasDt=NOW() WHERE oraId=%u"; + else + $q = "UPDATE ora SET ki=kit,kit=NULL,tipus='normál máskor',munkaido='lekötött',modositasDt=NOW() WHERE oraId=%u"; + $r = db_query($q, array('fv' => 'eredetiOraVissza', 'modul' => 'naplo', 'values' => array($oraId)), $lr); + + if ($olr == '') db_close($lr); + } + + function helyettesitesRogzites($T) { + + + $lr = db_connect('naplo'); + + for ($i = 0; $i < count($T); $i++) { + + if ($T[$i] == '') continue; // ha eredeti maradt, ne módosítson! + $teremUtkozes = false; + list($ki, $oraId, $tipus) = explode('/',$T[$i]); + $oraAdat = getOraAdatById($oraId); + if ($tipus == 'normál') { + if ($oraAdat['kit'] != '') $ki = $oraAdat['kit']; + else $ki = $oraAdat['ki']; + } + $regi_tipus = $oraAdat['tipus']; + + // A csere miatt elmaradt óra változásakor, illetve + // a csere miatt felvett óra visszaállításakor a cserét meg kell szüntetni + if (($regi_tipus == 'normál máskor' && $tipus == '') || ($regi_tipus == 'elmarad máskor')) { + csereVisszaallitas($oraId, $lr); + if ( + $tipus == '' // csere/mozgatás visszaállítás + || ($regi_tipus == 'elmarad máskor' && $tipus == 'elmarad') // mozgatott óra elmarad + ) continue; + } + + // Elmaradó óra esetén a hiányzások, késések, felszerelés hiányok, egyenruha hiányok, jegy hozzárendelések törlendők! + // Ezek bekerült az oraElmarad függvénybe + if ($tipus=='töröl' && $oraAdat['tipus']=='egyéb') { // az egyéb típusú óra gond nélkül törölhető, nincs hozzá semmi + oraElmarad($oraId, $lr); // használjuk ugyanazt a függvényt + } elseif (substr($tipus,0,7) == 'elmarad') { + oraElmarad($oraId, $lr); + } else { + // Ha egy órát "mégis" megtartunk, akkor ellenőrizni kell, hogy nem ütközik-e valamivel!! (esetleg felvett plusz órával, mozgatott órával) + // Tanár ellenőrzése + if (tanarLukasOrajaE($ki, $oraAdat['dt'], $oraAdat['ora'], $lr)) { + if ($tipus == 'összevonás') { + $_SESSION['alert'][] = 'message:wrong_data:helyettesitesRogzites:nincs mivel összevonni:'.$oraId; + continue; + } + } else { + if ($tipus != 'összevonás') { + $_SESSION['alert'][] = 'message:haladasi_utkozes:helyettesitesRogzites:'.$oraId; + continue; + } + } + if (substr($regi_tipus,0,7) == 'elmarad') { + // Tankör tagok ellenőrzése + if (getTankorJelenletKotelezoE($oraAdat['tankorId']) && !tankorTagokLukasOrajaE($oraAdat['tankorId'], $oraAdat['dt'], $oraAdat['ora'])) { + $_SESSION['alert'][] = 'message:wrong_data:A mégis megtartott óra ütközne!:oraId='.$oraId.', dt='.$oraAdat['dt'].', ora='.$oraAdat['ora']; + continue; + } + } + + // A helyettesítés rögzítése + if (mb_substr($tipus,0,6,'UTF-8') == 'normál') { + if (mb_substr($regi_tipus,0,6,'UTF-8') != 'normál') eredetiOraVissza($oraId, $oraAdat['eredet'], $lr); + } else { + if (mb_substr($regi_tipus,0,6,'UTF-8') == 'normál') { + // óraelmaradás itt már nem lehet! + masTartja($oraId, $ki, $tipus, $lr); + } else { + // Ebbe NEM értjük bele a helyettesítés --> elmarad váltást + // de beleértjük az elmarad --> helyettesítés váltást + //ujHelyettes($oraId, $ki, $tipus, $lr); + ujHelyettes2($oraAdat, $ki, $tipus, $lr); + } + } + + } // elmarad / nem marad el + + + // Ha összevonásról nem összevonásra állítunk, akkor kialakulhatott terem ütközés! + if ( + $oraAdat['teremId'] != '' + && substr($tipus,0,7) != 'elmarad' + && ($regi_tipus == 'összevonás' || substr($regi_tipus,0,7) == 'elmarad') + ) { + $Termek = getSzabadTermek(array('dt' => $oraAdat['dt'], 'ora' => $oraAdat['ora'], 'ki' => $ki), $lr); + for ($j = 0; ($j < count($Termek) && $Termek[$j]['teremId'] != $oraAdat['teremId']); $j++); + if ($j >= count($Termek)) { + $_SESSION['alert'][] = 'message:haladasi_utkozes:hianyzasRogzites:a terem foglalt:'.$oraAdat['teremId']; + $q = "UPDATE ".__TANEVDBNEV.".ora SET teremId=NULL WHERE oraId=%u"; + db_query($q, array('fv' => 'hianyzasRogzites', 'modul' => 'naplo', 'values' => array($oraId)), $lr); + } + } + } // for + + db_close($lr); + + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/oralatogatas.php b/mayor-orig/www/include/modules/naplo/haladasi/oralatogatas.php new file mode 100644 index 00000000..4364fc36 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/oralatogatas.php @@ -0,0 +1,30 @@ + 'oralatogatasBeiras', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v)); + + if ($oralatogatasId === false) return false; + + // régi tanárhozzárendelések törlése + $q = "DELETE FROM oraLatogatasTanar WHERE oraLatogatasId=%u"; + db_query($q, array('fv' => 'oralatogatasBeiras', 'modul' => 'naplo', 'values' => array($oralatogatasId))); + + // új tanárhozzárendelések felvétele - ha van tanárhozzárendelés + if (is_array($ADAT['tanarIds']) && count($ADAT['tanarIds']) > 0) { + $q = "INSERT INTO oraLatogatasTanar (oraLatogatasId,tanarId) VALUES ".implode(',', array_fill(0, count($ADAT['tanarIds']), "($oralatogatasId, %u)")); + return db_query($q, array('fv' => 'oralatogatasBeiras', 'modul' => 'naplo', 'values' => $ADAT['tanarIds'])); + } + return true; + } + + function oralatogatasTorles($oraId) { + $q = "DELETE FROM oraLatogatas WHERE oraId=%u"; + $v = array($oraId); + return db_query($q, array('fv' => 'oralatogatasTorles', 'modul' => 'naplo', 'result' => '', 'values' => $v)); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/osszevonas.php b/mayor-orig/www/include/modules/naplo/haladasi/osszevonas.php new file mode 100644 index 00000000..af80ce98 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/osszevonas.php @@ -0,0 +1,38 @@ + null, 'ora' => null)) { + + if (!is_array($DIAKIDK) || count($DIAKIDK) == 0) return false; + + $dt = readVariable($SET['dt'], 'datetime', date('Y-m-d')); + $ora = readVariable($SET['ora'], 'numeric unsigned', 1); + + $q = "SELECT DISTINCT a.tankorId, a.oraId FROM ora AS a LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiak AS b + ON (a.tankorId = b.tankorId AND b.beDt<='%s' AND ('%s'<=b.kiDt OR b.kiDt IS NULL)) + WHERE b.diakId IN (".implode(',', array_fill(0, count($DIAKIDK), '%u')).") AND a.dt='%s' AND a.ora=%u + GROUP BY b.diakId HAVING COUNT(a.oraId)>0"; + $v = mayor_array_join(array($dt, $dt), $DIAKIDK, array($dt, $ora)); + return db_query($q, array('fv' => 'getOrakByDiakIdk', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + + } + + function oraFelvetele($dt, $ora, $tanarId, $tankorId, $teremId = 'NULL', $tipus = 'normál', $eredet = 'plusz') { + + // ------------------------------------ + // ITT NEM ellenőrizzük a tanár terhelését! + // ------------------------------------ + + if (!isset($teremId) || $teremId == '' || intval($teremId) == 0) { + $q = "INSERT INTO ora (dt,ora,ki,tankorId,teremId,tipus,eredet) + VALUES ('%s', %u, %u, %u, NULL, '%s', '%s')"; + $v = array($dt, $ora, $tanarId, $tankorId, $tipus, $eredet); + } else { + $q = "INSERT INTO ora (dt,ora,ki,tankorId,teremId,tipus,eredet) + VALUES ('%s', %u, %u, %u, %u, '%s', '%s')"; + $v = array($dt, $ora, $tanarId, $tankorId, $teremId, $tipus, $eredet); + } + return db_query($q, array('fv' => 'oraFelvetele', 'modul' => 'naplo', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/pluszora.php b/mayor-orig/www/include/modules/naplo/haladasi/pluszora.php new file mode 100644 index 00000000..0112181a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/pluszora.php @@ -0,0 +1,55 @@ + 'oraFelvetele', 'modul' => 'naplo', 'values' => $v), $lr); + + } + + function getSzabadTankorok($dt, $ora) { + + // Összes tankör + $ret = $osszesTankorIds = getTankorByTanev($tanev = __TANEV, array('result' => 'idonly')); + // Az adott időpontban foglalt tankörök + $q = "SELECT tankorId FROM ora WHERE dt='%s' AND ora=%u AND tipus IN ('normál','normál máskor','helyettesítés','felügyelet','összevonás')"; + $v = array($dt, $ora); + $tankorIds = db_query($q, array('fv' => 'getSzabadTankorok', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v)); + if (is_array($tankorIds) && count($tankorIds) > 0) { + // A tankörök tagjai + $q = "SELECT DISTINCT diakId FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND (kiDt>='%s' OR kiDt is null) AND beDt<='%s' ORDER BY diakId"; + $v = mayor_array_join($tankorIds, array($dt, $dt)); + $diakIds = db_query($q, array('fv' => 'getSzabadTankorok', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v)); + // A foglalt diákok tankörei + $foglaltTankorIds = getTankorIdsByDiakIds($diakIds, array('tanev'=>__TANEV,'tolDt'=>$dt,'igDt'=>$dt, 'felmentettekkel'=>false)); + if (!is_array($foglaltTankorIds)) $foglaltTankorIds = $tankorIds; + $ret = array_diff($osszesTankorIds, $foglaltTankorIds); + } + + /* és vegyük hozzá a szabadon felvehető tanköröket, hm? */ + $pluszNemKotelezoTankorok = getTankorByTanev($tanev, array('result'=>'idonly','jelenlet'=>'nem kötelező' )); + $ret = mayor_array_join($ret,$pluszNemKotelezoTankorok); + if (is_array($ret) && count($ret)>0) { + $q = "SELECT DISTINCT tankor.tankorId,tankorNev + FROM ".__INTEZMENYDBNEV.".tankor LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE tanev=".__TANEV." AND tankorId IN (".implode(',', array_fill(0, count($ret), '%u')).") ORDER BY tankorNev"; + return db_query($q, array('fv' => 'getSzabadTankorok', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $ret)); + } else { + return $ret; + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/specialis.php b/mayor-orig/www/include/modules/naplo/haladasi/specialis.php new file mode 100644 index 00000000..8c78d49d --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/specialis.php @@ -0,0 +1,167 @@ + 'napiOrakTorlese')); + + $q = "DELETE FROM ora WHERE dt='%s'"; + $r = db_query($q, array('fv' => 'napiOrakTorlese', 'modul' => 'naplo', 'values' => array($dt)), $lr); + if (!$r) { + db_close($lr); + return false; + } + + if ($tipus !== '') { + $q = "UPDATE nap SET tipus='%s' WHERE dt='%s'"; + $r = db_query($q, array('fv' => 'napiOrakTorlese', 'modul' => 'naplo', 'values' => array($tipus, $dt)), $lr); + // ?? Mi van, ha szünetről tanítási nap-ra állítjuk? Marad a 0. órarendi hét? ?? + } + db_close($lr); + return $r; + + } + + function orakBetoltese($dt, $orarendiHet) { + + + $lr = db_connect('naplo', array('fv' => 'orakBetoltese')); + + // Ellenőrizzük, hogy van-e már betöltve óra az adott napra + $q = "SELECT COUNT(oraId) FROM ora WHERE dt='%s'"; + $num = db_query($q, array('fv' => 'orakBetoltese', 'modul' => 'naplo', 'values' => array($dt), 'result'=>'value'), $lr); + if ($num === false) { + db_close($lr); + return false; + } + if ($num > 0) { + $_SESSION['alert'][] = 'message:wrong_data:orakBetoltese:van már betöltve óra az adott napon:'.$dt; + db_close($lr); + return false; + } + + // Ha az órarendi órákat töltjük be, akkor a nap csak tanítási nap típusú lehet + $q = "UPDATE nap SET tipus='tanítási nap',orarendiHet=%u WHERE dt='%s'"; + $r = db_query($q, array('fv' => 'orakBetoltese', 'modul' => 'naplo', 'values' => array($orarendiHet, $dt)), $lr); + if (!$r) { + db_close($lr); + return false; + } + + // Órák betöltése + checkNaplo($dt, $lr); + db_close($lr); + return true; + + } + + function specialisNap($dt, $celOra, $het, $nap, $ora, $olr = null) { + + if ($olr == '') $lr = db_connect('naplo', array('fv' => 'specialisNap')); + else $lr = $olr; + db_start_trans($lr); + + // A (speciális) tanítási napokhoz rendelt osztályok + $q = "SELECT osztalyId FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) WHERE dt='%s' + AND tipus IN ('tanítási nap','speciális tanítási nap') AND osztalyId IS NOT NULL"; // null akkor lehet, ha nincs hozzárendelve egyetlen osztály sem egy munkatervhez... + $v = array($dt); + $osztalyIds = db_query($q, array('fv' => 'specialisNap/osztalyIds', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + if (!is_array($osztalyIds) || count($osztalyIds) == 0) { + db_rollback($lr, 'specialisNap/#1'); + if ($olr == '') db_close($lr); + return false; + } + + // Érintett tankörök + $q = "SELECT DISTINCT tankorId FROM ".__INTEZMENYDBNEV.".tankorOsztaly WHERE osztalyId IN (".implode(',',$osztalyIds).")"; + $tankorIds = db_query($q, array('fv'=>'specialisNap/tankorIds', 'modul'=>'naplo', 'result'=>'idonly'), $lr); + if (!is_array($tankorIds) || count($tankorIds) == 0) { + db_rollback($lr, 'specialisNap/#2'); + if ($olr == '') db_close($lr); + return false; + } + + // Órák betöltése sávonként + $ok = true; + for ($i = 0; $i < count($celOra); $i++) { + if ($het[$i] != '' and $nap[$i] != '' and $ora[$i] != '') { + + $napszam = date('w',strtotime($nap[$i])); + if ($napszam == 0) $napszam = 7; + + $q = "INSERT INTO ora (dt,ora,ki,tankorId,teremId,tipus,eredet) + SELECT '%s', %u, orarendiOra.tanarId,orarendiOraTankor.tankorId,teremId,'normál','órarend' + FROM orarendiOra LEFT JOIN orarendiOraTankor USING (tanarId, osztalyJel, targyJel) + WHERE orarendiOraTankor.tankorId IS NOT NULL + AND tankorId IN (".implode(',', $tankorIds).") + AND het=%u + AND nap=%u + AND ora=%u + AND tolDt<='%s' + AND (igDt IS NULL OR igDt>='%s')"; + $v = array($dt, $celOra[$i], $het[$i], $nap[$i], $ora[$i], $dt, $dt); + $r = db_query($q, array('fv' => 'specialisNap', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r) $ok = false; + + } // minden adat megvan + } // end for + if (!$ok) { + db_rollback($lr, 'specialisNap/#3'); + if ($olr == '') db_close($lr); + return false; + } + + // speciális tanítási nap-ra állítjuk a tanítási napokat + $q = "UPDATE nap SET tipus='speciális tanítási nap',orarendiHet=0 WHERE dt='%s' AND tipus='tanítási nap'"; + $r = db_query($q, array('fv' => 'specialisNap', 'modul' => 'naplo', 'values' => array($dt)), $lr); + if (!$r) { + db_rollback($lr, 'specialisNap/#4'); + if ($olr == '') db_close($lr); + return false; + } + + db_commit($lr); + if ($olr == '') db_close($lr); + return true; + } + + function getSzabadOrak($dt) { + + $q = "SELECT DISTINCT ora FROM ora + WHERE dt='%s' AND tipus NOT LIKE 'elmarad%%'"; + $foglaltOrak = db_query($q, array('fv' => 'getSzabadOrak', 'modul' => 'naplo', 'result' => 'idonly', 'values' => array($dt))); + if (is_array($foglaltOrak)) { + $szabadOrak = array(); + for ($i = getMinOra(); $i <= getMaxOra(); $i++) { + if (!in_array($i, $foglaltOrak)) $szabadOrak[] = $i; + } + } + + return $szabadOrak; + + } + + function orakTorlese($dt, $Orak) { + + + $lr = db_connect('naplo', array('fv' => 'orakTorlese')); + + $q = "DELETE FROM ora WHERE dt='%s' AND ora IN (".implode(',', array_fill(0, count($Orak), '%u')).")"; + array_unshift($Orak, $dt); + $r = db_query($q, array('fv' => 'orakTorlese', 'modul' => 'naplo', 'values' => $Orak), $lr); + if (!$r) { + db_close($lr); + return false; + } + + $q = "UPDATE nap SET tipus='speciális tanítási nap', orarendiHet=0 WHERE dt='%s'"; + $r = db_query($q, array('fv' => 'orakTorlese', 'modul' => 'naplo', 'values' => array($dt)), $lr); + db_close($lr); + return $r; + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/stat.php b/mayor-orig/www/include/modules/naplo/haladasi/stat.php new file mode 100644 index 00000000..45d1d9de --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/stat.php @@ -0,0 +1,103 @@ + 'munkatervTankor', 'modul'=>'naplo', 'result'=>'keyvalues','values'=>$tankorIds)); + } + + function tankorMunkaterv($tankorIds) { + + $q = "SELECT DISTINCT tankorId, munkatervId FROM munkatervOsztaly LEFT JOIN ".__INTEZMENYDBNEV.".tankorOsztaly USING (osztalyId) + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") ORDER BY tankorId, munkatervId"; + return db_query($q, array('fv' => 'tankorMunkaterv', 'modul'=>'naplo', 'result'=>'keyvalues','values'=>$tankorIds)); + } +*/ + function getTankorStat($tankorIds, $dt = '') { + + global $_TANEV; + + if ($dt == '') $dt = date('Y-m-d'); + $szDb = count($_TANEV['szemeszter']); + $ret = array(); + + // Van-e nem végzős tanuló az adott tankörökben --> a tankör végzős-e + $ret['vegzos'] = tankorokVegzosekE($tankorIds, __TANEV, array('tagokAlapjan' => true, 'tolDt' => null, 'igDt' => null)); + + // tervezett óraszámok lekérdezése + $q = "SELECT szemeszter, tankorId, tankorNev, oraszam FROM ".__INTEZMENYDBNEV.".tankorSzemeszter + WHERE tanev=".__TANEV." AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + ORDER BY tankorId, szemeszter"; + $ret['tervezett'] = db_query($q, array( + 'fv' => 'getTankorStat', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + )); + foreach ($ret['tervezett'] as $tankorId => $tankorAdat) { + $ret['tanitasiHetekSzama'][$tankorId] = getTanitasiHetekSzama(array('tankorId'=>$tankorId,'vegzos'=>$ret['vegzos'][$tankorId])); + $oraszam = 0; + for ($i = 0; $i < count($tankorAdat); $i++) { + $oraszam += $tankorAdat[$i]['oraszam']; + } + $ret['tervezett'][$tankorId]['hetiOraszam'] = $oraszam / $szDb; + $ret['tervezett'][$tankorId]['evesOraszam'] = $oraszam / $szDb * $ret['tanitasiHetekSzama'][$tankorId]; + } + + // megtartott órák száma + if (defined('__ORASZAMOT_NOVELO_TIPUSOK')) { + $oraszamNoveloTipus = explode(',', __ORASZAMOT_NOVELO_TIPUSOK); + } else { + $_SESSION['alert'][] = 'info:missing_constant:__ORASZAMOT_NOVELO_TIPUSOK'; + $oraszamNoveloTipus = array('normál', 'normál máskor', 'helyettesítés', 'összevonás'); + } + $q = "SELECT tankorId, COUNT(oraId) AS oraSzam FROM ora + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND tipus IN ('".implode("','", array_fill(0, count($oraszamNoveloTipus), '%s'))."') + AND dt <= '%s' GROUP BY tankorId"; + $v = mayor_array_join($tankorIds, $oraszamNoveloTipus, array($dt)); + $ret['megtartott'] = db_query($q, array( + 'fv' => 'getTankorStat', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v + )); + + if (is_array($tankorIds) && count($tankorIds)>0) { + + $q = "SELECT tankorId,COUNT(DISTINCT dt, ora) AS oraSzam + FROM (nap LEFT JOIN munkatervOsztaly USING (munkatervId)) + LEFT JOIN ( + orarendiOra + LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorOsztaly USING (tankorId) + ) + ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) + AND orarendiOra.het=nap.orarendiHet + AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt + AND munkatervOsztaly.osztalyId = tankorOsztaly.osztalyId + WHERE tanarId IS NOT NULL + AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND dt > '%s' + GROUP BY tankorId"; + $v = mayor_array_join($tankorIds, array($dt)); + $ret['becsult'] = db_query($q, array( + 'fv' => 'getTankorStat/becsült', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v + )); + + // beírt érdemjegyek száma + $q = "SELECT tankorId, COUNT(jegy) AS jegyDb FROM jegy WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND dt <= '%s' GROUP BY tankorId"; + $v = $tankorIds; array_push($v, $dt); + $ret['jegyekSzama'] = db_query($q, array( + 'fv' => 'getTankorStat/jegyekSzama', 'modul' => 'naplo', 'result' => 'keyvaluepair', 'values' => $v + )); + // tankörlétszámok... + array_push($v, $dt); + $q = "SELECT tankorId, COUNT(*) AS db FROM tankorDiak WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) GROUP BY tankorId"; + $ret['letszam'] = db_query($q, array( + 'fv' => 'getTankorStat/letszam', 'modul' => 'naplo_intezmeny', 'result' => 'keyvaluepair', 'values' => $v + )); + } + + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/haladasi/teremModositas.php b/mayor-orig/www/include/modules/naplo/haladasi/teremModositas.php new file mode 100644 index 00000000..1f104649 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/haladasi/teremModositas.php @@ -0,0 +1,30 @@ + 'getOraIdByPattern', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'debug'=>false )); + if (count($r)!==1) + return false; + else + return $r[0]['oraId']; + return false; + } + + function checkHaladasiSzabadTerem($dt,$ora,$teremId,$lr) { + $v = array($dt,$ora,$teremId); + $q = "SELECT count(*) as db FROM `ora` WHERE `dt`='%s' AND `ora`=%u AND `teremId`=%u AND tipus!='elmarad' AND tipus!='elmarad máskor'"; + return (db_query($q, array( 'fv' => 'checkHaladasiSzabadTerem', 'modul' => 'naplo', 'result'=>'value','values' => $v), $lr) === "0"); + } + + function haladasiTeremModositas($oraId,$teremId,$lr) { + if (!is_numeric($oraId) || !is_numeric($teremId)) return false; + $v = array($teremId,$oraId); + $q = "UPDATE ora SET teremId=%u WHERE oraId=%u"; + return db_query($q, array( 'fv' => 'haladasiTeremModositas', + 'modul' => 'naplo', 'values' => $v), $lr); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/hianyzas/diak.php b/mayor-orig/www/include/modules/naplo/hianyzas/diak.php new file mode 100644 index 00000000..a98a0ef0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hianyzas/diak.php @@ -0,0 +1,119 @@ +'hiányzás','statusz'=>'igazolatlan', 'igazolas'=>'')) { + global $napiMinOra, $napiMaxOra; + + $q = "SELECT * FROM hianyzas WHERE diakId=%u AND dt='%s'"; + $RES = db_query($q, array('fv' => 'napiHianyzasBeiras', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($diakId, $dt))); + + $T = $diakTANKOROK = getTankorByDiakId($diakId, __TANEV, array('csakId' => true, 'tolDt' => $dt, 'igDt' => $dt, 'result'=>'csakid')); + + $tmpOrak = getOrak($T,array('tolDt'=>$dt,'igDt'=>$dt,'csakId'=>false)); + $diakORAK = $tmpOrak['orak']; + + if (!is_array($diakORAK)) { + $_SESSION['alert'][] = ':nincs_oraja:'; + return false; + } + foreach ($diakORAK[$dt] as $_ora=>$ORA) { + $_diakFmTankorIdk = getTankorDiakFelmentes($diakId, __TANEV, array('csakId' => true, 'tolDt' => $dt, 'igDt' => $dt, 'nap'=>date('w',strtotime($dt)), 'ora'=>$_ora, 'result'=>'csakid')); + foreach($ORA as $_tankorId => $_OA) { + if ( in_array($_tankorId,$_diakFmTankorIdk) === true ) { + continue; + } + $diakORAIDK[] = $_OA['oraId']; + $ORAK[$_OA['oraId']] = $_OA; + } + } + + $MODOSITANDO = $eddigORAIDK = array(); + $error = false; + for ($i=0; $i$_oraId,'id'=>$_hid,'statusz'=>$SET['statusz'],'igazolas'=>$SET['igazolas'],'tipus'=>$SET['tipus']); + } + $eddigORAIDK[] = $_oraId; + } + + if (!$error) { + $BEIRANDO = array_diff($diakORAIDK,$eddigORAIDK); +// for ($i=0; $i $_oraId) { + if (!in_array($ORAK[$_oraId]['tipus'],array('elmarad','elmarad máskor'))) + hianyzasRegisztralas( + array('oraId'=>$_oraId,'dt'=>$ORAK[$_oraId]['dt'],'ora'=>$ORAK[$_oraId]['ora']), + array(array('diakId'=>$diakId, 'id'=>'','statusz'=>$SET['statusz'],'igazolas'=>$SET['igazolas'],'tipus'=>$SET['tipus'])) + ); + } + + if (is_array($MODOSITANDO) && count($MODOSITANDO)>0) + hianyzasIgazolas($MODOSITANDO,$diakId); + + } + } + + + function oraHianyzasBeiras($dt, $ora, $diakId, $SET=array()) { + + if ($dt=='' || $ora=='') { + $_SESSION['alert'][] = 'message:empty_fields:kötelező paraméter üres (oraHianyzasBeiras:dt,ora)'; + return false; + } + $q = "SELECT * FROM hianyzas WHERE diakId=%u AND dt='%s' AND ora=%u"; + $RES = db_query($q, array('fv' => 'oraHianyzasBeiras', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($diakId, $dt, $ora))); + if ($RES!==false && count($RES)>0) { + + $_SESSION['alert'][] = 'message:wrong_data:már van bejegyzése. Eldöntési kérdés.'; + + } else { + + // Aznapi tankörei és felmentései + $diakTANKOROK = getTankorByDiakId($diakId, __TANEV, array('csakId' => true, 'tolDt' => $dt, 'igDt' => $dt, 'result'=>'csakid')); + $diakFMTANKOROK = getTankorDiakFelmentes($diakId, __TANEV, array('csakId' => true, 'tolDt' => $dt, 'igDt' => $dt, 'nap'=>date('w',strtotime($dt)),'ora'=>$ora,'result'=>'csakid')); + + $T = array_diff($diakTANKOROK,$diakFMTANKOROK); + reset($T); + sort($T); + + $q = "SELECT * FROM ora WHERE ora=%u AND dt='%s' and tankorId IN (".implode(',', array_fill(0, count($T), '%u')).")"; + $v = mayor_array_join(array($ora, $dt), $T); + $oraAdat = db_query($q, array('fv' => 'oraHianyzasBeiras', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + + // EDDIG: csak akkor regisztráltuk, ha egy találatot adott az ora tábla. + // if ( ($db=count($oraAdat)) ==1 && !in_array($oraAdat[0]['tipus'],array('elmarad','elmarad máskor')) ) { + // MOST : azonban lehetséges olyan eset, hogy az adott órára többször is regisztrálandó. Mit tegyünk? + // a napi beírás beírja! Ez a függvény hibaüzen. + + if ( ($db=count($oraAdat)) >=1 ) { + for ($i=0; $i$oraAdat[$i]['oraId'],'dt'=>$oraAdat[$i]['dt'],'ora'=>$oraAdat[$i]['ora']), + array(array('diakId'=>$diakId, 'id'=>'','statusz'=>$SET['statusz'],'igazolas'=>$SET['igazolas'],'tipus'=>$SET['tipus'])) + ); + } + } + } elseif ($db==0) { + $_SESSION['alert'][] = '::nincs órája.'; + } elseif (in_array($oraAdat[0]['tipus'],array('elmarad','elmarad máskor'))) { + // ekkor nem kell csinálni semmit. Hibaüzenetet sem. + } else { + // ide nem juthatunk MÁR! + $_SESSION['alert'][] = ':%0%:%1% órája is van ebben az időpontban:'.$db; + } + } + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/hianyzas/oktstat.php b/mayor-orig/www/include/modules/naplo/hianyzas/oktstat.php new file mode 100644 index 00000000..c3cc7a24 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hianyzas/oktstat.php @@ -0,0 +1,155 @@ + 'hianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'value'), $lr); + + if ( $overrideLezart === true || $dbAdat==0 ) { + + $Wnemszamit = defWnemszamit(); + // A tanévhez tartozó hiányzási adatok lekérdezése és rögzítése + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $j = 0; + foreach ($TA['szemeszter'] as $i => $szAdat) { + if ($j==0) $q = "CREATE TEMPORARY TABLE ".__INTEZMENYDBNEV.".__hianyzasOsszesites "; + else $q = "INSERT INTO ".__INTEZMENYDBNEV.".__hianyzasOsszesites "; + $q .= " SELECT diakId, %u AS tanev, %u AS szemeszter, + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg + FROM `%s`.hianyzas ".$Wnemszamit['join']." + WHERE ( + tipus = 'hiányzás' + OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL) + ) AND dt<='%s' + ".$Wnemszamit['nemszamit']." + GROUP BY diakId"; + $v = array($tanev, $szAdat['szemeszter'], $tanevDb, $szAdat['zarasDt']); + db_query($q, array('fv' => 'hianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + // A hozott hiányzások hozzáadása + $q = "UPDATE ".__INTEZMENYDBNEV.".__hianyzasOsszesites SET + igazolt = igazolt + ( + SELECT IFNULL(SUM(dbHianyzas),0) FROM `%s`.hianyzasHozott AS `hh` + WHERE hh.diakId = __hianyzasOsszesites.diakId AND hh.statusz='igazolt' AND hh.dt<='%s' + ), + igazolatlan = igazolatlan + ( + SELECT IFNULL(SUM(dbHianyzas),0) FROM `%s`.hianyzasHozott AS `hh` + WHERE hh.diakId = __hianyzasOsszesites.diakId AND hh.statusz='igazolatlan' AND hh.dt<='%s' + ) + WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanevDb, $szAdat['zarasDt'], $tanevDb, $szAdat['zarasDt'], $tanev, $szAdat['szemeszter']); + db_query($q, array('fv' => 'hianyzasOsszesites/hozott', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + $j++; + } + } + +// ----------------------------- + + $SQL_hianyzasOsszesites = ( ($overrideLezart === true) ? '__hianyzasOsszesites' : 'hianyzasOsszesites'); + + $q = "select IFNULL(telephelyId,0) AS telephelyId, osztalyJel as 'osztály', +count(if(igazolatlan>0,1,null)) as `van igazolatlanja`, +count(if(igazolatlan=1,1,null)) as `1 igazolatlan`, +count(if(10,1,null)) as igazolt, +count(if(249'oktstat','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'indexed'), $lr); + + $q = "select IFNULL(telephelyId,0) AS telephelyId, osztalyJel as `osztály`, +count(if(igazolatlan>0,1,null)) as `van igazolatlanja`, +count(if(igazolatlan=1,1,null)) as `1 igazolatlan`, +count(if(10,1,null)) as igazolt, +count(if(249='%s' +and tanev=%u and szemeszter=%u +and beDt<='%s' and (kiDt is null or '%s'<=kiDt) +group by csop order by telephelyId,lpad(osztalyJel,4,' ') +"; + + $v = array($tanev,date('Y-m-d',strtotime('-16 years', strtotime($TA['kezdesDt']))),$tanev,count($TA['szemeszter']),$TA['zarasDt'],$TA['zarasDt']); + $r['tankoteles'] = db_query($q, array('fv'=>'oktstat','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'indexed'), $lr); + + db_query('DROP TABLE IF EXISTS __hianyzasOsszesites', array('fv' => 'hianyzasOsszesites/hozott', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + db_close($lr); + + $r['a04t17'] = getStat_a04t17($tanev); + + return $r; + } + + function getStat_a04t17($tanev) { + + $stat = 'a04t17'; + + $LJ = "LEFT JOIN osztalyDiak USING (diakId) LEFT JOIN osztaly USING (osztalyId)"; + + // az iskolába lépőnek tekintjük az 1 évfolyamosokat, vagyis azokat, akik annak az osztálynak a tagjai szept 1-jén + // amelyik kezdoEvfolyamSorszam=1, kezdoTanev=$tanev és osztalyJellegId IN (1,21,22,65) az adott tanévben + $W = " AND osztaly.kezdoTanev=$tanev AND kezdoEvfolyamSorszam=1 AND osztalyJellegId IN (1,21,22,65)"; // kezdoEvfolyam=1 volt eredetileg + + $q = "SELECT nem,count(DISTINCT diakId) AS db FROM diak $LJ WHERE szuletesiIdo+INTERVAL 6 YEAR>'$tanev-09-01' $W GROUP BY nem"; // nincs egyenlő!!! + $R[$stat.'_4'] = db_query($q, array('fv'=>'oktstat','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'nem')); + $q = "SELECT nem,count(DISTINCT diakId) AS db FROM diak $LJ WHERE szuletesiIdo+INTERVAL 6 YEAR<='$tanev-08-31' and szuletesiIdo+INTERVAL 6 YEAR>='$tanev-06-01' $W GROUP BY nem"; + $R[$stat.'_3'] = db_query($q, array('fv'=>'oktstat','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'nem')); + $q = "SELECT nem,count(DISTINCT diakId) AS db FROM diak $LJ WHERE szuletesiIdo+INTERVAL 6 YEAR<='$tanev-05-31' $W GROUP BY nem"; // nincs egyenlő!!! + $R[$stat.'_2'] = db_query($q, array('fv'=>'oktstat','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'nem')); + + return $R; + } + +// var_dump(getStat_a04t17(2014)); + +?> diff --git a/mayor-orig/www/include/modules/naplo/hianyzas/ora.php b/mayor-orig/www/include/modules/naplo/hianyzas/ora.php new file mode 100644 index 00000000..56648a8c --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hianyzas/ora.php @@ -0,0 +1,8 @@ +share hianyzasModifier + function hianyzasPercUpdate($ORAADAT,$PERCEK) +*/ + +?> diff --git a/mayor-orig/www/include/modules/naplo/hianyzas/osztaly.php b/mayor-orig/www/include/modules/naplo/hianyzas/osztaly.php new file mode 100644 index 00000000..07efde7d --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hianyzas/osztaly.php @@ -0,0 +1,232 @@ + 'getHianyzok')); + $H = array(); + if ($SET['dt']!='') { + $Diakok = getDiakokByOsztaly($ADAT['osztalyId'],array('tolDt'=>$SET['dt'],'igDt'=>$SET['dt'])); + } else { + $Diakok = getDiakokByOsztaly($ADAT['osztalyId']); + } + $munkatervIds = getMunkatervByOsztalyId($ADAT['osztalyId'], array('result'=>'idonly')); + $H['névsor'] = array(); + foreach (array('jogviszonyban van','magántanuló','vendégtanuló') as $statusz) { + foreach ($Diakok[$statusz] as $diakId) { + if (!is_array($H['névsdor'][$diakId])) { + $H['névsor'][$diakId] = $Diakok[$diakId]; + // Az aktuális státusz megállapítása + $i = 0; + // A státuszbejegyzések sora időben visszafele rendezett!! + while ($i < count($Diakok[$diakId]['statusz']) && strtotime($Diakok[$diakId]['statusz'][$i]['dt']) > time()) $i++; + $H['névsor'][$diakId]['aktualisStatusz'] = $Diakok[$diakId]['statusz'][$i]['statusz']; + } + } + } + + + foreach ($H['névsor'] as $diakId => $dAdat) { + $H['diakIds'][] = $diakId; + $H[$diakId] = array(); + } + + if (count($H['névsor']) == 0) return $H; + + // A legmagasabb fegyelmi fokozat lekérdezése tanulónként + $q = "SELECT `diakId`, MAX(`referenciaDt`) AS `referenciaDt`, MAX(`fokozat`) AS `fokozat`, MAX(`bejegyzes`.`hianyzasDb`) AS `hianyzasDb` + FROM `".__TANEVDBNEV."`.`bejegyzes` LEFT JOIN `".__INTEZMENYDBNEV."`.`bejegyzesTipus` USING (`bejegyzesTipusId`) + WHERE `diakId` IN (".implode(',', array_fill(0, count($H['diakIds']), '%u')).") + AND `tipus` = 'fegyelmi' AND `bejegyzes`.`hianyzasDb` > 0 + GROUP BY `diakId`"; + $ret = db_query($q, array('fv' => 'getHianyzok/fegyelmi', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $H['diakIds']), $lr); + if (!is_array($ret)) { if ($olr == '') db_close($lr); return false; } + foreach ($ret as $key => $val) { + $H[ $val['diakId'] ]['fegyelmi'] = array( + 'fokozat' => $val['fokozat'], + 'referenciaDt' => $val['referenciaDt'], + 'hianyzasDb' => $val['hianyzasDb'] + ); + } + $q = "SELECT `diakId`, MAX(`referenciaDt`) AS `referenciaDt`, MAX(`fokozat`) AS `fokozat`, MAX(`bejegyzes`.`hianyzasDb`) AS `hianyzasDb` + FROM `".__TANEVDBNEV."`.`bejegyzes` LEFT JOIN `".__INTEZMENYDBNEV."`.`bejegyzesTipus` USING (`bejegyzesTipusId`) + WHERE `diakId` IN (".implode(',', array_fill(0, count($H['diakIds']), '%u')).") + AND `tipus` = 'fegyelmi' + GROUP BY `diakId`"; + $ret = db_query($q, array('fv' => 'getHianyzok/fegyelmi', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $H['diakIds']), $lr); + if (!is_array($ret)) { if ($olr == '') db_close($lr); return false; } + foreach ($ret as $key => $val) { + $H[ $val['diakId'] ]['fegyelmi']['maxFokozat'] = $val['fokozat']; + } + + $f_where = $where = $v_fw = $v_w = array(); + $v_w = array($ADAT['tolDt'], $ADAT['igDt']); + // A _LEGKORABBI_IGAZOLHATO_HIANYZAS és a legutóbbi osztályfőnöki óra függvénye + $dt = legkorabbiIgazolhatoHianyzasVeg($ADAT['osztalyId'], $lr); + foreach ($H['névsor'] as $diakId => $dAdat) { + // Az utolsó lezártnak tekinthető dátum - a beírt hiányzások függvénye! + $H[$diakId]['igDt'] = $tDt = getNemIgazolhatoDt($diakId, $munkatervIds, $dt, $lr); + // Ha megadott a felhasználó új viszonyítási pontott, akkor úgy vesszük, hogy addig a dátumig már le vannak zárva a hiányzások - legalábbis a fegyelmi szempontjából + if ($ADAT['referenciaDt'] != '' && strtotime($ADAT['referenciaDt']) > strtotime($tDt)) $tDt = $ADAT['referenciaDt']; + $where[] = "(diakId=%u AND dt<='%s')"; array_push($v_w, $diakId, $tDt); + if ($H[$diakId]['fegyelmi']['referenciaDt'] != '') { + $f_where[] = "(diakId=%u AND '%s'
0) $where = "AND '%s' <= dt AND dt <= '%s' AND (".implode(' OR ', $where).")"; + if ($f_where != '') $f_where = 'AND ('.implode(' OR ',$f_where).')'; + // Összes hiányzás lekérdezése + $q = "SELECT diakId,tipus,statusz,count(*) AS db,SUM(perc) AS ido + FROM ".__TANEVDBNEV.".hianyzas".$Wnemszamit['join']." + WHERE statusz != 'törölt' + AND diakId IN (".implode(',', array_fill(0, count($H['diakIds']), '%u')).") + AND '%s' <= dt AND dt <= '%s' + ".$Wnemszamit['nemszamit']." + GROUP BY diakId, tipus, statusz"; + $v = $H['diakIds']; $v[] = $ADAT['tolDt']; $v[] = $ADAT['igDt']; + $ret = db_query($q, array('fv' => 'getHianyzok/összes', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (!is_array($ret)) { if ($olr == '') db_close($lr); } + foreach ($ret as $key => $val) { + if ($val['tipus'] == 'késés') + $H[ $val['diakId'] ]['összes'][ $val['tipus'] ][ $val['statusz'] ] = array('db' => $val['db'], 'ido' => $val['ido']); + else + $H[ $val['diakId'] ]['összes'][ $val['tipus'] ][ $val['statusz'] ] = $val['db']; + } + + // Lezárt hiányzások lekérdezése + $q = "SELECT diakId,tipus,statusz,COUNT(*) AS db,SUM(perc) AS ido + FROM hianyzas + ".$Wnemszamit['join']." + WHERE statusz != 'törölt' + $where + ".$Wnemszamit['nemszamit']." + GROUP BY diakId, tipus, statusz"; + $ret = db_query($q, array('fv' => 'getHianyzok/lezárt', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v_w), $lr); + if (!is_array($ret)) { if ($olr == '') db_close($lr); } + foreach ($ret as $key => $val) { + if ($val['tipus'] == 'késés') + $H[ $val['diakId'] ]['lezárt'][ $val['tipus'] ][ $val['statusz'] ] = array('db' => $val['db'], 'ido' => $val['ido']); + else + $H[ $val['diakId'] ]['lezárt'][ $val['tipus'] ][ $val['statusz'] ] = $val['db']; + } + + // Lezárt, még nem szankcionált hiányzások lekérdezése + $q = "SELECT diakId, tipus, statusz, COUNT(*) AS db, SUM(perc) AS ido + FROM hianyzas + ".$Wnemszamit['join']." + WHERE statusz != 'törölt' + $f_where + ".$Wnemszamit['nemszamit']." + GROUP BY diakId, tipus, statusz"; + + $ret = db_query($q, array('fv' => 'getHianyzok/lezárt, nem szankcionált', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v_fw), $lr); + if (!is_array($ret)) { if ($olr == '') db_close($lr); } + foreach ($ret as $key => $val) { + if ($val['tipus'] == 'késés') + $H[ $val['diakId'] ]['fegyelmi'][ $val['tipus'] ][ $val['statusz'] ] = array('db' => $val['db'], 'ido' => $val['ido']); + else + $H[ $val['diakId'] ]['fegyelmi'][ $val['tipus'] ][ $val['statusz'] ] = $val['db']; + } + + // Tanulónként + foreach ($H['névsor'] as $diakId => $dAdat) { + + $_HOZOTT = getDiakHozottHianyzas($diakId); //hozott hiányzások lekérdezése az alapértelmezett tanévre + //$H[$diakId]['összes']['hozott'] = $_HOZOTT['igazolatlan']['db'] + $_HOZOTT['igazolt']['db']; + + $H[$diakId]['hozott'] = $_HOZOTT; //??? + +// $H[$diakId]['összes']['hiányzás']['igazolt'] += $_HOZOTT['igazolt']['db']; +// $H[$diakId]['összes']['hiányzás']['igazolatlan'] += $_HOZOTT['igazolatlan']['db']; + + /* Egy diák */ + $H[$diakId]['összes igazolatlan'] = $H[$diakId]['összes']['hiányzás']['igazolatlan']; + + // 20/2012 EMMI 51. § (10) - igazolt késések is átváltandók + $H[$diakId]['összes igazolt'] += + floor($H[$diakId]['összes']['késés']['igazolt']['ido'] / 45); + // Az igazolatlanok esetén azt a számítási módot használjuk, amelyik szigorúbb + // Előbb a hivatalos, 45 percenkénti átváltás szerint + $igazolatlanKesesbol = floor($H[$diakId]['összes']['késés']['igazolatlan']['ido'] / 45); + // majd a késések, felszereléshiányok darabszáma szerinti + if (intval(_HANY_KESES_IGAZOLATLAN) != 0) + $igazolatlanFegyelmi = floor($H[$diakId]['összes']['késés']['igazolatlan']['db'] / intval(_HANY_KESES_IGAZOLATLAN)); + else + $igazolatlanFegyelmi = 0; + if (intval(_HANY_FSZ_IGAZOLATLAN) != 0) + $igazolatlanFegyelmi += floor($H[$diakId]['összes']['felszerelés hiány']['igazolatlan'] / intval(_HANY_FSZ_IGAZOLATLAN)); + if (intval(_HANY_EH_IGAZOLATLAN) != 0) // egyenruha hiány + $igazolatlanFegyelmi += floor($H[$diakId]['összes']['egyenruha hiány']['igazolatlan'] / intval(_HANY_EH_IGAZOLATLAN)); + // végül a kettő közül a nagyobbikkal növeljük az összes igazolatlanok számát ??? ezt miért? + if ($igazolatlanKesesbol > $igazolatlanFegyelmi) + $H[$diakId]['összes igazolatlan'] += $igazolatlanKesesbol; + else + $H[$diakId]['összes igazolatlan'] += $igazolatlanFegyelmi; +/* + //if (_KESESI_IDOK_OSSZEADODNAK === true) { // 20/2012 EMMI - mindenképp összeadódnak a késési idők + $H[$diakId]['összes igazolatlan'] += + floor($H[$diakId]['összes']['késés']['igazolatlan']['ido'] / 45); + //} else { + if (intval(_HANY_KESES_IGAZOLATLAN) != 0) + $H[$diakId]['összes igazolatlan'] += + floor($H[$diakId]['összes']['késés']['igazolatlan']['db'] / intval(_HANY_KESES_IGAZOLATLAN)); + if (intval(_HANY_FSZ_IGAZOLATLAN) != 0) + $H[$diakId]['összes igazolatlan'] += + floor($H[$diakId]['összes']['felszerelés hiány']['igazolatlan'] / intval(_HANY_FSZ_IGAZOLATLAN)); + //} +*/ +# Itt ne adjuk ezt hozzá, mert alább a $H[$diakId]['összes igazolatlan']-okat összegezzük - abban meg már benne lesz a hozott! (Issu 59) +# $H['összes']['összes igazolatlan'] += floor($_HOZOTT['igazolatlan']['db']); +# $H['összes']['összes igazolt'] += floor($_HOZOTT['igazolt']['db']); + $H[$diakId]['összes igazolatlan'] += floor($_HOZOTT['igazolatlan']['db']); + $H[$diakId]['összes igazolt'] += floor($_HOZOTT['igazolt']['db']); + + + if (_KESESI_IDOK_OSSZEADODNAK === true) { + $H[$diakId]['összes fegyelmi igazolatlan'] += + floor(((($H[$diakId]['összes']['késés']['igazolatlan']['ido'] + - $H[$diakId]['fegyelmi']['késés']['igazolatlan']['ido']) % 45 ) + + $H[$diakId]['fegyelmi']['késés']['igazolatlan']['ido']) / 45); + } + + + /* Összes Diákra, összesítés */ + $H['összes']['hiányzás']['igazolt'] += $H[$diakId]['összes']['hiányzás']['igazolt']; + $H['összes']['hiányzás']['igazolatlan'] += $H[$diakId]['összes']['hiányzás']['igazolatlan']; + + $H['összes']['hiányzás']['igazolatlan'] += floor($_HOZOTT['igazolatlan']['db']); + $H['összes']['hiányzás']['igazolt'] += floor($_HOZOTT['igazolt']['db']); + + $H['összes']['késés']['igazolt'] += $H[$diakId]['összes']['késés']['igazolt']['db']; + $H['összes']['késés']['igazolatlan'] += $H[$diakId]['összes']['késés']['igazolatlan']['db']; + $H['összes']['felszerelés hiány']['igazolatlan'] += $H[$diakId]['összes']['felszerelés hiány']['igazolatlan']; + $H['összes']['felmentés']['igazolatlan'] += $H[$diakId]['összes']['felmentés']['igazolatlan']; + $H['összes']['egyenruha hiány']['igazolatlan'] += $H[$diakId]['összes']['egyenruha hiány']['igazolatlan']; + + $H['összes']['összes igazolatlan'] += $H[$diakId]['összes igazolatlan']; + + $H['összes']['fegyelmi']['hiányzás']['igazolatlan'] += $H[$diakId]['fegyelmi']['hiányzás']['igazolatlan']; + $H['összes']['fegyelmi']['késés']['igazolatlan'] += $H[$diakId]['fegyelmi']['késés']['igazolatlan']['db']; + $H['összes']['fegyelmi']['felszerelés hiány']['igazolatlan'] += $H[$diakId]['fegyelmi']['felszerelés hiány']['igazolatlan']; + $H['összes']['fegyelmi']['egyenruha hiány']['igazolatlan'] += $H[$diakId]['fegyelmi']['egyenruha hiány']['igazolatlan']; + + } + + db_close($lr); + + return $H; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/hibabejelento/admin.php b/mayor-orig/www/include/modules/naplo/hibabejelento/admin.php new file mode 100644 index 00000000..a32c1283 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hibabejelento/admin.php @@ -0,0 +1,28 @@ + 'hibabejeletes', 'result'=>'insert','modul' => 'naplo_base', 'values' => array($ADAT['txt'],$ADAT['kategoria'],$telephelyId))); + } else { + return false; + } + + } + + function kerelemValasz($ADAT) { + if ($ADAT['txt'] != '' && $ADAT['kerelemId']>0) { + //if ($ADAT['telephelyId']=='') $telephelyId = 'NULL'; else $telephelyId = $ADAT['telephelyId']; + $q = "INSERT INTO kerelemValasz (kerelemId,userAccount,valasz) VALUES ('%u','"._USERACCOUNT."','%s')"; + return db_query($q, array('fv' => 'hibabejeletes', 'modul' => 'naplo_base', 'values' => array($ADAT['kerelemId'],$ADAT['txt']))); + } else { + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/hibabejelento/hibabejelento.php b/mayor-orig/www/include/modules/naplo/hibabejelento/hibabejelento.php new file mode 100644 index 00000000..bedda878 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/hibabejelento/hibabejelento.php @@ -0,0 +1,27 @@ + 'hibabejeletes', 'result'=>'insert','modul' => 'naplo_base', 'values' => array($ADAT['txt'],$ADAT['kategoria'],$telephelyId))); + } else { + return false; + } + + } + + function kerelemValasz($ADAT) { + if ($ADAT['txt'] != '' && $ADAT['kerelemId']>0) { + //if ($ADAT['telephelyId']=='') $telephelyId = 'NULL'; else $telephelyId = $ADAT['telephelyId']; + $q = "INSERT INTO kerelemValasz (kerelemId,userAccount,valasz) VALUES ('%u','"._USERACCOUNT."','%s')"; + return db_query($q, array('fv' => 'hibabejeletes', 'modul' => 'naplo_base', 'values' => array($ADAT['kerelemId'],$ADAT['txt']))); + } else { + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/diakExport.php b/mayor-orig/www/include/modules/naplo/intezmeny/diakExport.php new file mode 100644 index 00000000..7752c577 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/diakExport.php @@ -0,0 +1,137 @@ + array('oId','viseltNevElotag','viseltCsaladinev','viseltUtonev','diakNaploSorszam'), + 'egyszerű' => array('diakigazolvanySzam','viseltNevElotag','viseltCsaladinev','viseltUtonev','diakNaploSorszam'), + 'osztályfőnöki' => array('diakigazolvanySzam','viseltNevElotag','viseltCsaladinev','viseltUtonev','oId','diakNaploSorszam'), + 'taninformTanuló' => array('oId','diakigazolvanySzam','viseltNevElotag','viseltCsaladinev','viseltUtonev','szuleteskoriNevElotag', + 'szuleteskoriCsaladinev','szuleteskoriUtonev','szuletesiHely','szuletesiIdo','anyaSzuleteskoriNevElotag','anyaSzuleteskoriCsaladinev', + 'anyaSzuleteskoriUtonev','allampolgarsag','lakhelyOrszag','lakhelyHelyseg', + 'lakhelyIrsz','lakhelyKozteruletNev','lakhelyKozteruletJelleg','lakhelyHazszam','lakhelyEmelet','lakhelyAjto','tartOrszag','tartHelyseg', + 'tartIrsz','tartKozteruletNev','tartKozteruletJelleg','tartHazszam','tartEmelet','tartAjto','jogviszonyKezdete','diakNaploSorszam' + ), + ); + + function diakExport($ADAT) { + + $tanevDbNev = tanevDbNev(__INTEZMENY, $ADAT['tanev']); + $W = array(); + $q = "SELECT diak.*, osztalyId, osztalyJel, diakNaploSorszam(osztalyDiak.diakId,".$ADAT['tanev'].",osztalyDiak.osztalyId) AS diakNaploSorszam FROM diak LEFT JOIN osztalyDiak USING (diakId) + LEFT JOIN `%s`.osztalyNaplo USING (osztalyId)"; + $v = array($tanevDbNev); + if (isset($ADAT['osztalyId'])) { $W[] = "osztalyId=%u"; $v[] = $ADAT['osztalyId']; } + if (isset($ADAT['dt'])) { $W[] = "beDt<='%s' AND ('%s'<=kiDt OR kiDt IS NULL)"; array_push($v, $ADAT['dt'], $ADAT['dt']); } + + $q .= " WHERE ".implode(' AND ', $W); + + $ret = db_query($q, array('fv' => 'diakExport', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + if (!$ret) return false; + + $osztalyAdat = getOsztalyok($ADAT['tanev'], array('result' => 'assoc')); + + $Szulok = getSzulok(); + for ($i = 0; $i < count($ret); $i++) { + $ret[$i]['telephelyId'] = $osztalyAdat[ $ret[$i]['osztalyId'] ]['telephelyId']; + foreach (array('anya','apa','gondviselo') as $tipus) { + $szuloId = $ret[$i][ $tipus.'Id' ]; + if (is_array($Szulok[$szuloId])) foreach ($Szulok[$szuloId] as $attr => $value) { + $ret[$i][ $tipus . ucfirst($attr) ] = $value; + } elseif ($i == 0 && is_array($Szulok[1])) foreach ($Szulok[1] as $attr => $value) { + $ret[$i][ $tipus . ucfirst($attr) ] = ''; + } + } + } + + return $ret; + + } + + function createFile($ADAT) { + if ($ADAT['formatum'] == 'xls' || $ADAT['formatum'] == 'xml') return generateXLSExport($ADAT['export'], $ADAT['mezok']); + elseif ($ADAT['formatum'] == 'pdf') return generatePDFExport($ADAT['export'], $ADAT['mezok']); + else return generateCSVExport($ADAT['export'], $ADAT['mezok']); + } + + function generateCSVExport($ret, $Mezok = array()) { + + $fp = fopen(__DIAK_EXPORT_FILE . '.csv', 'w'); + if (!$fp) return false; + + fputs($fp, implode(' ',$Mezok)."\n"); + for ($i = 0; $i < count($ret); $i++) { + $A = array(); + foreach ($Mezok as $attr => $attrNev) $A[] = $ret[$i][$attr]; + $sor = implode(' ', $A)."\n"; + fputs($fp, $sor); + } + + fclose($fp); + return true; + + } + + function generateXLSExport($ret, $Mezok = array()) { + + $fp = fopen(__DIAK_EXPORT_FILE . '.xml', 'w'); + if (!$fp) return false; + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + + fputs($fp, ' '."\r\n" + .' '."\r\n" + .' '."\r\n" + ."\r\n".' '."\r\n"); + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + + // fejléc + fputs($fp, ''."\r\n"); + foreach ($Mezok as $index => $attr) { + fputs($fp, " ".$attr."\r\n"); + } + fputs($fp, ''."\r\n"); + + + for ($i = 0; $i < count($ret); $i++) { + fputs($fp, ''."\r\n"); + foreach ($Mezok as $attr => $attrNev) { + $value = $ret[$i][$attr]; + $time = strtotime($value); + if (is_numeric($value)) + fputs($fp, " ".$value."\r\n"); + elseif (is_numeric($time) && $value == date('Y-m-d H:i:s', $time)) + fputs($fp, " ".str_replace(' ','T',$value).'.000'."\r\n"); + elseif (is_numeric($time) && $value == date('Y-m-d', $time)) + fputs($fp, " ".$value.'T08:40:00.000'."\r\n"); + else + fputs($fp, " ".$value."\r\n"); + } + fputs($fp, ''."\r\n"); + } + + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + + fclose($fp); + return true; + + } + + function generatePDFExport($ret, $mezok = array()) { + + + $_SESSION['alert'][] = 'message:not implemented'; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/diakFelmentes.php b/mayor-orig/www/include/modules/naplo/intezmeny/diakFelmentes.php new file mode 100644 index 00000000..383281de --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/diakFelmentes.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/diakStatusz.php b/mayor-orig/www/include/modules/naplo/intezmeny/diakStatusz.php new file mode 100644 index 00000000..94944ba1 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/diakStatusz.php @@ -0,0 +1,12 @@ + 'getHibasJogviszony', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/diakSzulo.php b/mayor-orig/www/include/modules/naplo/intezmeny/diakSzulo.php new file mode 100644 index 00000000..a6f1bd2b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/diakSzulo.php @@ -0,0 +1,98 @@ + $value) { + if (array_key_exists(($attr), $FIELDS) && !in_array($attr, array('szuloId'))) { + if ($value == '') { + $T[] = "`%s`=NULL"; + array_push($v, $attr); + } else { + array_push($v, $attr, $value); + $T[] = "`%s`='%s'"; + } + } + } + $q = "UPDATE szulo SET ".implode(',',$T)." WHERE szuloId=%u"; + array_push($v, $ADAT['szuloId']); + + return db_query($q, array('fv' => 'szuloAdatModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function szuloHozzarendeles($diakId, $tipus, $ujSzuloId) { + + + if ($tipus == 'anya' || $tipus == 'apa') { + // Nem ellenőrzés + if ($tipus == 'anya') $tiltott = 'fiú'; + else $tiltott = 'lány'; + $q = "SELECT nem FROM szulo WHERE szuloId=%u"; + $nem = db_query($q, array('fv' => 'szuloHozzarendeles', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($ujSzuloId))); + if ($nem == $tiltott) { + $_SESSION['alert'][] = 'message:tiltott_nem_'.$tiltott; + return false; + } + } + + $q = "UPDATE diak SET `%sId` = %u WHERE diakId = %u"; + $v = array($tipus, $ujSzuloId, $diakId); + $ret = db_query($q, array('fv' => 'szuloHozzarendeles', 'modul' => 'naplo_intezmeny', 'values' => $v)); + if ($ret) return $ujSzuloId; + else return false; + + } + + function szuloHozzarendelesTorlese($diakId, $tipus) { + + $q = "UPDATE diak SET `%sId` = NULL WHERE diakId = %u"; + $v = array($tipus, $diakId); + return db_query($q, array('fv' => 'szuloHozzarendelesTorles', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function ujSzulo($ADAT, $FIELDS) { + + + $diakId = $ADAT['diakId']; + $tipus = $ADAT['tipus']; + + // Kötelező paraméterek ellenőrzése + if ($ADAT['csaladinev'] == '' + || $ADAT['utonev'] == '' + || !in_array($tipus, array('anya','apa','gondviselo','nevelo')) + ) { + $_SESSION['alert'][] = 'message:wrong_data:ujSzulo:csaladinev - '.$_POST['csaladinev'].', utonev - '.$_POST['utonev'].', tipus - '.$tipus; + return false; + } + + $lr = db_connect('naplo_intezmeny', array('fv' => 'ujSzulo')); + + foreach($ADAT as $attr => $value) { + if (array_key_exists(($attr), $FIELDS)) { + if ($value != '') { + $V[] = $value; + $A[] = $attr; + } + } + } + + $q = "INSERT INTO szulo (`".implode('`,`', array_fill(0, count($A), '%s'))."`) VALUES ('".implode("', '", array_fill(0, count($V), '%s'))."')"; + $v = mayor_array_join($A, $V); + $szuloId = db_query($q, array('fv' => 'ujSzulo', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + if ($szuloId) { + $q = "UPDATE diak SET `%sId` = %u WHERE diakId = %u"; + $v = array($tipus, $szuloId, $diakId); + $r = db_query($q, array('fv' => 'ujSzulo', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + db_close($lr); + if ($r) return $szuloId; + else return false; + } else { + db_close($lr); + return false; + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/diakTankorJelentkezes.php b/mayor-orig/www/include/modules/naplo/intezmeny/diakTankorJelentkezes.php new file mode 100644 index 00000000..e7ab1aad --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/diakTankorJelentkezes.php @@ -0,0 +1,97 @@ + $TB) { + for ($j=0; $j0) { + $W = " AND osztalyId IN (".implode(',', array_fill(0, count($OSZTALYIDK), '%u')).")"; + $v = mayor_array_join(array($tanev, $szemeszter), $OSZTALYIDK, $OSZTALYIDK, array($tanev,$tanev,$szemeszter)); + } else { + $v = array($tanev, $szemeszter, $tanev, $tanev, $szemeszter); + } + $q = "SELECT DISTINCT tankorId, targyId, kovetelmeny, min, max, tanev, szemeszter, oraszam, tankorNev + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) JOIN tankorOsztaly USING (tankorId) + WHERE tanev=%u and szemeszter=%u and tankor.felveheto =1".$W." + AND tankorId NOT IN ( + SELECT distinct tankorId FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) JOIN tankorOsztaly USING (tankorId) + WHERE tankor.felveheto =1".$W." AND (tanev<%u OR (tanev=%u AND szemeszter<%u)) + ) + ORDER BY tankorNev,tankor.tankorId"; + $felvehetoTankorok = db_query($q, array('fv' => 'getValaszthatoTankorok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + for ($i=0; $i $DT['tolDt'], 'igDt' => $DT['igDt'], 'result' => 'nevsor')); + } + return $felvehetoTankorok; + } + + + + function getValaszthatoTankorokOrig($tanev, $szemeszter, $OSZTALYIDK) { + + if ($tanev=='') { + $tanevAdat = $_TANEV; + } else { + $tanevAdat = getTanevAdat($tanev); + } + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + + $DT['tolDt'] = $tanevAdat['kezdesDt']; + $DT['igDt'] = $tanevAdat['zarasDt'] ; + + $tankorBlokkok = getTankorBlokkok($tanev); + if (is_array($tankorBlokkok) && is_array($tankorBlokkok['idk'])) + foreach ($tankorBlokkok['idk'] as $blokkId => $TB) { + for ($j=0; $j0) { + $W = " AND osztalyId IN (".implode(',', array_fill(0, count($OSZTALYIDK), '%u')).")"; + $v = mayor_array_join(array($tanev, $szemeszter), $OSZTALYIDK, $OSZTALYIDK, array($tanev)); + } else { + $v = array($tanev, $szemeszter, $tanev); + } + $q = "SELECT DISTINCT tankorId, targyId, kovetelmeny, min, max, tanev, szemeszter, oraszam, tankorNev + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) JOIN tankorOsztaly USING (tankorId) + WHERE tanev=%u and szemeszter=%u and tankor.felveheto =1".$W." + AND tankorId NOT IN ( + SELECT distinct tankorId FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) JOIN tankorOsztaly USING (tankorId) + WHERE tankor.felveheto =1".$W." AND tanev<%u + ) + ORDER BY tankorNev,tankor.tankorId"; + $felvehetoTankorok = db_query($q, array('fv' => 'getValaszthatoTankorok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + for ($i=0; $i $DT['tolDt'], 'igDt' => $DT['igDt'], 'result' => 'nevsor')); + } + return $felvehetoTankorok; + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/kepzes.php b/mayor-orig/www/include/modules/naplo/intezmeny/kepzes.php new file mode 100644 index 00000000..e08e6856 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/kepzes.php @@ -0,0 +1,64 @@ + 'ujKepzes', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + + } + + function kepzesEles($kepzesId, $kepzesEles) { + + $q = "UPDATE kepzes SET kepzesEles=%u WHERE kepzesId =%u"; + $v = array($kepzesEles,$kepzesId); + return db_query($q, array('fv' => 'kepzesEles', 'modul' => 'naplo_intezmeny', 'result' => 'update', 'values' => $v)); + + } + + function kepzesModositas($ADAT) { + + //$ADAT eredeti paraméterezése: $kepzesId, $kepzesNev, $tanev, $osztalyJellegId, $osztalyIds, $delOsztalyIds + extract($ADAT); + + // Van-e ilyen képzés + $q = "SELECT COUNT(*) AS db FROM kepzes WHERE kepzesId = %u"; + $v = array($kepzesId); + $db = db_query($q, array('modul'=> 'naplo_intezmeny','fv'=>'kepzesModositas','values'=>$v, 'result'=>'value')); + + if ($db != 1) { + $_SESSION['alert'][] = 'message:wrong_data:hibás képzés azonosító:'.$kepzesId; + return false; + } + + if (isset($osztalyJellegId) && $osztalyJellegId>0) { + $q = "UPDATE kepzes SET kepzesNev='%s',tanev=%u,osztalyJellegId=%u WHERE kepzesId=%u"; + $v = array($kepzesNev,$tolTanev,$osztalyJellegId,$kepzesId); + } + db_query($q, array('modul'=> 'naplo_intezmeny','fv'=>'kepzesModositas','values'=>$v)); + + // TOROLNI NEM LEHET csak, ha egyetlen osztály-tag sincs hozzárendelve az adott képzéshez AZ ADOTT TANÉVBEN... + if (count($delOsztalyIds) > 0) { + foreach ($delOsztalyIds as $osztalyId) { + $q = "SELECT COUNT(*) FROM kepzesDiak LEFT JOIN osztalyDiak USING (diakId) WHERE kepzesId=%u AND osztalyId=%u + AND tolDt<='".$_TANEV['zarasDt']."' AND (igDt IS NULL OR igDt>='".$_TANEV['kezdesDt']."') + AND beDt<='".$_TANEV['zarasDt']."' AND (kiDt IS NULL OR kiDt>='".$_TANEV['kezdesDt']."')"; + $db = db_query($q, array('fv'=>'kepzesModositas/del-osztaly#1','modul'=>'naplo_intezmeny','result'=>'value','values'=>array($kepzesId, $osztalyId))); + if ($db == 0) { + $q = "DELETE FROM kepzesOsztaly WHERE kepzesId=%u AND osztalyId=%u"; + db_query($q, array('fv' => 'kepzesModositas/osztályhozzárendelés törlése', 'modul' => 'naplo_intezmeny', 'values' => array($kepzesId,$osztalyId))); + } else { + $_SESSION['alert'][] = 'message:wrong_data:Az osztály hozzárendelés nem törölhető! '.$db.' db tanuló az osztályból hozzá van rendelve ehhez a képzéshez.'; + } + } + } + if (count($osztalyIds)>0) { + $q = "REPLACE INTO kepzesOsztaly (kepzesId,osztalyId) VALUES (".implode("),(", array_fill(0, count($osztalyIds), '%u, %u')).")"; + $v = array(); + for ($i = 0; $i < count($osztalyIds); $i++) array_push($v, $kepzesId, $osztalyIds[$i]); + db_query($q, array('fv' => 'kepzesModositas/osztályhozzárendelés', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/kepzesOraterv.php b/mayor-orig/www/include/modules/naplo/intezmeny/kepzesOraterv.php new file mode 100644 index 00000000..d689aa40 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/kepzesOraterv.php @@ -0,0 +1,92 @@ + $D) { + $q = "REPLACE INTO kepzesOraszam (kepzesId,evfolyamJel,kotelezoOraszam,maximalisOraszam) VALUES (%u,'%s',%f,%f)"; + $v = array($kepzesId,$evfolyamJel,$D['kotelezo'],$D['max']); + db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'modifyKepzesOraterv', 'values'=>$v), $lr); + } + + //blabla if + if (is_array($ADAT['adatok'])) { + foreach ($ADAT['adatok'] as $targyTipus => $X) { + foreach ($X as $targyId => $EGYTARGY) { + // [$evfolyamJel][$szemeszter]['oraszam'|'kovetelmeny'] + if (is_array($EGYTARGY)) + foreach ($EGYTARGY as $evfolyamJel => $DS) { + if (is_array($DS)) foreach($DS as $szemeszter => $D) { + if ($D['kovetelmeny']!='' && isset($D['oraszam'])) { + if ($targyTipus!='mintatantervi') { + $q = "SELECT kepzesOratervId FROM kepzesOraterv WHERE kepzesId=%u AND evfolyamJel='%s' AND szemeszter=%u AND tipus='%s'"; + $v = array($kepzesId,$evfolyamJel,$szemeszter,$targyTipus); + $_oratervId = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'value','fv'=>'modifyKepzesOraterv', 'debug'=>false, 'values'=>$v), $lr); + if ($_oratervId>0) { + $q = "UPDATE kepzesOraterv SET hetiOraszam=%f,kovetelmeny='%s' WHERE kepzesOratervId=%u"; + $v = array($D['oraszam'],$D['kovetelmeny'],$_oratervId); + } else { + $q = "INSERT INTO kepzesOraterv (kepzesId,targyId,evfolyamJel,szemeszter,hetiOraszam,kovetelmeny,tipus) + VALUES (%u,null,'%s',%u,%f,'%s','%s')"; + $v = array($kepzesId,$evfolyamJel,$szemeszter,$D['oraszam'],$D['kovetelmeny'],$targyTipus); + } + } else { + $q = "SELECT kepzesOratervId FROM kepzesOraterv WHERE kepzesId=%u AND evfolyamJel='%s' AND szemeszter=%u AND tipus='%s' AND targyId=%u"; + $v = array($kepzesId,$evfolyamJel,$szemeszter,$targyTipus,$targyId); + $_oratervId = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'value','fv'=>'modifyKepzesOraterv', 'debug'=>false, 'values'=>$v), $lr); + if ($_oratervId>0) { + $q = "UPDATE kepzesOraterv SET hetiOraszam=%f,kovetelmeny='%s' WHERE kepzesOratervId=%u"; + $v = array($D['oraszam'],$D['kovetelmeny'],$_oratervId); + } else { + $q = "INSERT INTO kepzesOraterv (kepzesId,targyId,evfolyamJel,szemeszter,hetiOraszam,kovetelmeny,tipus) VALUES (%u,%u,'%s',%u,%f,'%s','%s')"; + $v = array($kepzesId,$targyId,$evfolyamJel,$szemeszter,$D['oraszam'],$D['kovetelmeny'],$targyTipus); + } + } + } else { // ha nincs megadva követelmény, akkor töröljük + if ($targyTipus!='mintatantervi') { + $q = "DELETE FROM kepzesOraterv WHERE kepzesId=%u AND evfolyamJel='%s' AND szemeszter=%u AND tipus='%s'"; + $v = array($kepzesId,$evfolyamJel,$szemeszter,$targyTipus); + } else { + $q = "DELETE FROM kepzesOraterv WHERE kepzesId=%u AND targyId=%u AND evfolyamJel='%s' AND szemeszter=%u"; + $v = array($kepzesId,$targyId,$evfolyamJel,$szemeszter); + } + } + db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'modifyKepzesOraterv', 'debug'=>false, 'values'=>$v), $lr); + } /* if */ + } /* if-foreach */ + } /* foreach */ + } /* foreach */ + } /* if */ + db_close($lr); + } + + function dropKepzesOratervRekord($kepzesId,$tipus,$targyId) { + if ($tipus=='mintatantervi') { + $q = "DELETE FROM kepzesOraterv WHERE kepzesId=%u AND targyId=%u"; + $v = array($kepzesId,$targyId); + } else { + $q = "DELETE FROM kepzesOraterv WHERE kepzesId=%u AND tipus='%s'"; + $v = array($kepzesId,$tipus); + } + db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'dropKepzesOratervRekord', 'debug'=>false, 'values'=>$v)); + } + + function getKepzesOraszam($kepzesId) { + $q = "SELECT * FROM kepzesOraszam WHERE kepzesId=$kepzesId ORDER BY evfolyamJel ASC"; // order error! + return db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'getKepzesOraszam', 'result'=>'assoc', 'keyfield'=>'evfolyamJel')); + } + + function kepzesOratervMasolas($masolandoKepzesId, $kepzesId) { + + $q ="INSERT INTO kepzesOraterv (kepzesId, targyId, evfolyamJel, szemeszter, hetiOraszam, kovetelmeny, tipus) + SELECT %u AS kepzesId, targyId, evfolyamJel, szemeszter, hetiOraszam, kovetelmeny, tipus + FROM kepzesOraterv WHERE kepzesId=%u"; + return db_query($q, array('debug'=>false,'fv'=>'kepzesOratervMasolas','modul'=>'naplo_intezmeny','values'=>array($kepzesId, $masolandoKepzesId))); + + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/munkakozosseg.php b/mayor-orig/www/include/modules/naplo/intezmeny/munkakozosseg.php new file mode 100644 index 00000000..d9c01d61 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/munkakozosseg.php @@ -0,0 +1,288 @@ + 'ujMunkakozosseg')); + if (!$lr) return false; + + $result = false; // sikerült-e? + + // Van-e már ilyen munkaközösség? + $q = "SELECT COUNT(mkId) FROM munkakozosseg WHERE leiras='%s'"; + $num = db_query($q, array('fv' => 'ujMunkakozosseg', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($leiras)), $lr); + + if ($num == 0) { + $v = array($leiras); + if ($mkVezId == '') { + $MKVEZID = 'NULL'; + } else { + $MKVEZID = '%u'; + $v[] = $mkVezId; + } + $q = "INSERT INTO munkakozosseg (leiras,mkVezId) VALUES ('%s',$MKVEZID)"; + $result = db_query($q, array('fv' => 'ujMunkakozosseg', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + + } else { + // már van ilyen munkaközösség... + $_SESSION['alert'][] = 'massege:wrong_data:duplikált munkaközösség leírás (név)'; + } + db_close($lr); + + return $result; + + } + + function modMunkakozosseg($mkId,$leiras,$mkVezId,$MKUJTAGOK,$MKTORLENDOTAGOK) { + + + $lr = db_connect('naplo_intezmeny', array('fv' => 'modMunkakozosseg')); + + if (!$lr) return false; + if ($mkId=='') { $_SESSION['alert'][] = 'message::no mkId'; return false; } + + $result = false; // sikerült-e? + + // Van-e már ilyen munkaközösség? + $q = "SELECT COUNT(mkId) FROM munkakozosseg WHERE mkId=%u"; + $num = db_query($q, array('fv' => 'modMunkakozosseg', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => array($mkId)), $lr); + + if ($num != 0) { + if ($mkVezId == '') { + $q = "UPDATE munkakozosseg SET leiras='%s',mkVezId=NULL WHERE mkId=%u"; + $v = array($leiras, $mkId); + } else { + $q = "UPDATE munkakozosseg SET leiras='%s',mkVezId=%u WHERE mkId=%u"; + $v = array($leiras, $mkVezId, $mkId); + } + $result = db_query($q, array('fv' => 'modMunkakozosseg', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } else { + // már van ilyen munkaközösség... + $_SESSION['alert'][] = 'massege:wrong_data:mkId='.$mkId; + } + + if ($result) { + if (is_array($MKUJTAGOK) && count($MKUJTAGOK)>0) { + //mkTanar[mkId,tanarId] + for($i=0; $i 'modMunkakozosseg', 'modul' => 'naplo_intezmeny', 'values' => array($mkId,$_tanarId)), $lr); + } + } + if (is_array($MKTORLENDOTAGOK) && count($MKTORLENDOTAGOK)>0) { + $q = "DELETE FROM mkTanar WHERE mkId=%u AND tanarId IN (".implode(',', array_fill(0, count($MKTORLENDOTAGOK), '%u')).")"; + db_query($q, array('fv' => 'modMunkakozosseg', 'modul' => 'naplo_intezmeny', 'values' => mayor_array_join(array($mkId),$MKTORLENDOTAGOK)), $lr); + } + } + + + db_close($lr); + + return $result; + + } + + + + + function ujTargy($ADAT) { + + + $leiras=$ADAT['leiras']; + $mkId=$ADAT['mkId']; + $targyJelleg=$ADAT['targyJelleg']; + $kirTargyId=$ADAT['kirTargyId']; + + if ($leiras=='') { + $_SESSION['alert'][] = 'message:UI:empty field'; + return false; + } + + if (is_numeric($kirTargyId)) { + $q = "INSERT INTO targy (targyNev,mkId,targyJelleg,kirTargyId) VALUES ('%s',%u,'%s',%u)"; + $v = array($leiras,$mkId,$targyJelleg,$kirTargyId); + } else { + $q = "INSERT INTO targy (targyNev,mkId,targyJelleg) VALUES ('%s',%u,'%s')"; + $v = array($leiras,$mkId,$targyJelleg); + } + $result = db_query($q,array('modul'=>'naplo_intezmeny', 'fv'=>'ujTargy','result'=>'insert', 'detailed'=>false, 'debug'=>false, 'values'=>$v)); + + return $result; + + } + + function targyModosit($ADAT) { + if (is_numeric($ADAT['kirTargyId'])) { + $q = "UPDATE targy SET targyJelleg='%s',zaroKovetelmeny='%s',evkoziKovetelmeny='%s',targyRovidNev='%s',kirTargyId=%u WHERE targyId=%u"; + $v = array($ADAT['targyJelleg'],$ADAT['zaroKovetelmeny'],$ADAT['evkoziKovetelmeny'],$ADAT['targyRovidNev'], $ADAT['kirTargyId'], $ADAT['targyId']); + } else { + $q = "UPDATE targy SET targyJelleg='%s',zaroKovetelmeny='%s',evkoziKovetelmeny='%s',targyRovidNev='%s' WHERE targyId=%u"; + $v = array($ADAT['targyJelleg'],$ADAT['zaroKovetelmeny'],$ADAT['evkoziKovetelmeny'],$ADAT['targyRovidNev'],$ADAT['targyId']); + } + return db_query($q,array('modul'=>'naplo_intezmeny', 'fv'=>'targyModosit', 'detailed'=>false, 'debug'=>false, 'values'=>$v)); + } + + function targyTorol($targyId,$mkId) { + + $q = "DELETE FROM targy WHERE targyId=%u AND mkId=%u"; + return db_query($q, array('fv' => 'targyTorol', 'modul' => 'naplo_intezmeny', 'values' => array($targyId, $mkId)), $lr); + + } + + + function munkakozossegTorol($mkId) { + + $q = "DELETE FROM munkakozosseg WHERE mkId=%u"; + return db_query($q, array('fv' => 'munkakozossegTorol', 'modul' => 'naplo_intezmeny', 'values' => array($mkId)), $lr); + + } + + function targyBeolvasztas($ADAT) { + /** + * Elvárt paraméterek: $ADAt['targyId'], $ADAT['befogadoTargyId'], $ADAT['tankorJeloles'] (lehet üres) + **/ + + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + // A befogadó tárgy adatai + $befogadoTargy = getTargyById($ADAT['befogadoTargyId']); + $targyAdat = getTargyById($ADAT['targyId']); + // A tárgyhoz tartozó tankörök lekérdezése + $q = "SELECT tankorId FROM tankor WHERE targyId=%u"; + $tankorIds = db_query($q, array('fv'=>'targyBeolvasztas/tankorok','result'=>'idonly','values'=>array($ADAT['targyId'])), $lr); + if (is_array($tankorIds) && count($tankorIds)>0) /*foreach ($tankorIds as $tankorId)*/ { + /* tárgyhoz tartozó tankörök átnevezése */ + if (isset($ADAT['tankorJeloles'])) { + $q = "UPDATE tankorSzemeszter SET tankorNev=CONCAT(LEFT(tankorNev,LOCATE('%s',tankorNev)-1),'%s',' ','%s') + WHERE tankorId IN (".implode(',', array_fill(0,count($tankorIds),'%u')).")"; + $v = mayor_array_join(array($targyAdat['targyNev'], $befogadoTargy['targyNev'], $ADAT['tankorJeloles']), $tankorIds); + } else { + $q = "UPDATE tankorSzemeszter SET tankorNev=REPLACE(tankorNev,'%s','%s') + WHERE tankorId IN (".implode(',', array_fill(0,count($tankorIds),'%u')).")"; + $v = mayor_array_join(array($targyAdat['targyNev'], $befogadoTargy['targyNev']), $tankorIds); + } + $r = db_query($q, array('fv'=>'targyBeolvasztas/tankör-átnevezés','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + /* tárgyhoz tartozó tannkörök áthelyezése */ + $q = "UPDATE tankor SET targyId=%u WHERE targyId=%u"; + $r = db_query($q, array('fv'=>'targyBeolvasztas/tankör-tárgy','values'=>array($ADAT['befogadoTargyId'], $ADAT['targyId'])), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + + /* tanév adatbázisok lekérdezése */ + $q = "SHOW DATABASES LIKE 'naplo_".__INTEZMENY."%'"; + $dbs = db_query($q, array('fv'=>'targyBeolvasztas/dbs','result'=>'idonly'), $lr); + if (!$dbs) { db_rollback($lr); db_close($lr); return false; } + if (is_array($dbs) && count($dbs) > 0) foreach ($dbs as $db) { + /* tanév adatbázis tábláinak lekérdezése */ + $q = "SHOW TABLES FROM $db"; + $tables = db_query($q, array('fv'=>'targyBeolvasztas/tables','result'=>'idonly'), $lr); + if (is_array($tables) && count($tables)>0) foreach ($tables as $table) { + if ($table == 'targySorszam') { + /* törlendő: targySorszam, */ + $q = "DELETE FROM `$db`.`targySorszam` WHERE targyId=%u"; + $r = db_query($q, array('fv'=>'targyBeolvasztas/targySorszam','values'=>array($ADAT['targyId'])), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } else { + /* Tábla tartalmaz-e targyId mezőt... */ + $q = "SHOW FIELDS FROM `$db`.`$table` LIKE 'targyId'"; + $ret = db_query($q, array('fv'=>'targyBeolvasztas/table-targyId','result'=>'idonly'), $lr); + if (is_array($ret) && count($ret)>0) { + /* ... ha igen: targyId módosítás */ + $q = "UPDATE `$db`.`$table` SET targyId=%u WHERE targyId=%u"; + $v = array($ADAT['befogadoTargyId'], $ADAT['targyId']); + $r = db_query($q, array('fv'=>'targyBeolvasztas/table','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + } + } + } + /* intézményi adattáblák lekérdezése */ + $q = "SHOW TABLES"; + $tables = db_query($q, array('fv'=>'targyBeolvasztas/i-tables','result'=>'idonly'), $lr); + if (is_array($tables) && count($tables)>0) foreach ($tables as $table) { + if ($table != 'targy') { + /* Tábla tartalmaz-e targyId mezőt... */ + $q = "SHOW FIELDS FROM `$table` LIKE 'targyId'"; + $ret = db_query($q, array('fv'=>'targyBeolvasztas/i-table-targyId','result'=>'idonly'), $lr); + if (is_array($ret) && count($ret)>0) { + /* ... ha igen: targyId módosítás */ + $q = "UPDATE IGNORE `$table` SET targyId=%u WHERE targyId=%u"; + $v = array($ADAT['befogadoTargyId'], $ADAT['targyId']); + $r = db_query($q, array('fv'=>'targyBeolvasztas/i-table','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + } // != tárgy + } + + /* targy törlése */ + $q = "DELETE FROM targy WHERE targyId=%u"; + $r = db_query($q, array('fv'=>'targyBeolvasztas/delete','values'=>array($ADAT['targyId'])), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + + db_commit($lr); + db_close($lr); + return true; + + } + + function targyMkValtas($ADAT) { + /** + * Elvárt paraméterek: $ADAt['targyId'], $ADAT['befogadoMkId'] + **/ + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + // Az adott tárgy tanköreinek jelenlegi tanárai között van-e az új munkaközösségben nem szereplő + $q = "SELECT DISTINCT tanarId FROM tankor LEFT JOIN tankorTanar USING (tankorId) + WHERE targyId=%u AND beDt<=CURDATE() AND (kiDt IS NULL OR kiDt>=CURDATE()) + AND tanarId NOT IN (SELECT tanarId FROM mkTanar WHERE mkId=%u)"; + $tanarIds = db_query($q, array('fv'=>'targyMkValtas/tanarIds','result'=>'idonly','values'=>array($ADAT['targyId'], $ADAT['befogadoMkId'])), $lr); + if (is_array($tanarIds) && count($tanarIds)>0) { + db_rollback($lr); + db_close($lr); + $_SESSION['alert'][] = 'message:wrong_data:targyMkValtas:Van az új munkaközösségbe nem tartozó érintett tanár!:'.implode(',',$tanarIds); + return false; + } + // munkaközösség váltás + $q = "UPDATE targy SET mkId=%u WHERE targyId=%u"; + $r = db_query($q, array('fv'=>'targyMkValtas/mkId','values'=>array($ADAT['befogadoMkId'], $ADAT['targyId'])), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + + db_commit($lr); + db_close($lr); + return true; + + } + + function targyAtnevezes($ADAT) { + /** + * Elvárt paraméterek: $ADAt['targyId'], $ADAT['ujTargyNev'] + **/ + + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + $targyAdat = getTargyById($ADAT['targyId']); + // tankörnév módosítás + $q = "UPDATE tankorSzemeszter SET tankorNev=REPLACE(tankorNev,'%s','%s') + WHERE tankorId IN (SELECT tankorId FROM tankor WHERE targyId=%u)"; + $v = array($targyAdat['targyNev'], $ADAT['ujTargyNev'], $ADAT['targyId']); + $r = db_query($q, array('fv'=>'targyAtnevezes/tankor','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + // tárgy átnevezés + $q = "UPDATE targy SET targyNev='%s' WHERE targyId=%u"; + $v = array($ADAT['ujTargyNev'], $ADAT['targyId']); + $r = db_query($q, array('fv'=>'targyAtnevezes/targy','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + + db_commit($lr); + db_close($lr); + return true; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/osztaly.php b/mayor-orig/www/include/modules/naplo/intezmeny/osztaly.php new file mode 100644 index 00000000..a23daa2e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/osztaly.php @@ -0,0 +1,474 @@ +delType('osztaly'); + + $leiras = $ADAT['leiras']; $kTanev = $ADAT['kezdoTanev']; $vTanev = $ADAT['vegzoTanev']; + $kEvfolyamSorszam = $ADAT['kezdoEvfolyamSorszam']; $jel = $ADAT['jel']; + $telephelyId = $ADAT['telephelyId']; + // Felhasználva, hogy le vannak kérdzve a definiált tanévek + // Ellenőrizzük, hogy a megadott tanév helyes-e... + if (!in_array($kTanev,$ADAT['tanevek']) || !in_array($vTanev,$ADAT['tanevek'])) { + $_SESSION['alert'][] = 'message:wrong_data:ujOsztaly:'."$kTanev/$vTanev"; + return false; + } + + // Csatlakozás az adatbázishoz + $lr = db_connect('naplo_intezmeny', array('fv' => 'ujOsztaly')); + if (!$lr) return false; + + // Osztály felvétele + if (isset($telephelyId)) { + $q = "INSERT INTO osztaly (leiras, kezdoTanev, vegzoTanev, kezdoEvfolyamSorszam, jel, telephelyId, osztalyJellegId) + VALUES ('%s', %u, %u, %u, '%s', %u, %u)"; + $v = array($leiras, $kTanev, $vTanev, $kEvfolyamSorszam, $jel, $telephelyId, $ADAT['osztalyJellegId']); + } else { + $q = "INSERT INTO osztaly (leiras, kezdoTanev, vegzoTanev, kezdoEvfolyamSorszam, jel, osztalyJellegId) + VALUES ('%s', %u, %u, %u, '%s', %u)"; + $v = array($leiras, $kTanev, $vTanev, $kEvfolyamSorszam, $jel, $ADAT['osztalyJellegId']); + } + $osztalyId = db_query($q, array('fv' => 'ujOsztaly', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + if (!$osztalyId) { db_close($lr); return false; } + + // Az aktív tanévek osztalyNaplo táblájába vegyük fel az osztályt! És ha inicializálva van a munkaterv, akkor a default-hoz rendeljük is hozzá! + // Aktív tanévek lekérdezése + $ok = updateOsztalyNev($osztalyId, $lr); + + db_close($lr); + return $osztalyId; +} + +function updateOsztalyNev($osztalyId, $lr = null) { + /* + Az aktív tanévek osztalyNaplo táblájába vegyük fel/módosítsuk az osztályt! És ha inicializálva van a munkaterv, és nincs még hozzárendelve, + akkor a default-hoz rendeljük is hozzá! + Hopp! És a tankör-nevek? + */ + + global $mayorCache; + $mayorCache->delType('osztaly'); + + // Aktív tanévek lekérdezése + $q ="SELECT DISTINCT tanev FROM szemeszter WHERE statusz = 'aktív'"; + $ret = db_query($q, array('fv' => 'updateOsztalyNev', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array()), $lr); + if (!is_array($ret)) { return false; } + $ok = true; + foreach ($ret as $key => $te) { + $tanevDb = tanevDbNev(__INTEZMENY,$te); + $osztalyAdat = getOsztalyAdat($osztalyId, $te, $lr); + if ($te < $osztalyAdat['kezdoTanev'] || $te > $osztalyAdat['vegzoTanev']) { // ebben a tanévben nem érintett az osztály + // törlés az osztalyNaplo táblából + $q = "DELETE FROM `%s`.osztalyNaplo WHERE osztalyId=%u"; + $v = array($tanevDb, $osztalyId); + $ok = $ok && db_query($q, array('fv' => 'updateOsztalyNev/osztalyNaplo - delete', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + // törlés a munkatervOsztaly táblából + $q = "DELETE FROM `%s`.munkatervOsztaly WHERE osztalyId=%u"; + $v = array($tanevDb, $osztalyId); + $ok = $ok && db_query($q, array('fv' => 'updateOsztalyNev/munkatervOsztaly - delete', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } else { // ebben a tanévben érintett az osztály + $osztalyJel = getOsztalyJel($osztalyId, $te, $osztalyAdat, $lr); + $evfolyamJel = getEvfolyamJel($osztalyId, $te, $osztalyAdat, $osztalyJellel=false, $lr); + $evfolyam = getEvfolyam($osztalyId, $te, $osztalyAdat, $lr); + // Osztálynapló felvétele + $q = "REPLACE INTO `%s`.osztalyNaplo (osztalyId, osztalyJel, evfolyam, evfolyamJel) VALUES (%u, '%s', %u, '%s')"; + $v = array($tanevDb, $osztalyId, $osztalyJel, $evfolyam, $evfolyamJel); + $ok = $ok && db_query($q, array('fv' => 'updateOsztalyNev/osztalyNaplo - replace', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + if (!$ok) continue; + // Van-e inicializált munkaterv? + $q = "SELECT COUNT(*) FROM `%s`.munkaterv WHERE munkatervId=1"; + $v = array($tanevDb); + $db = db_query($q, array('fv' => 'updateOsztalyNev/munkaterv', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value'), $lr); + if ($db == 1) { // Ha van, akkor van-e már osztaly-munkaterv hozzárendelés + $q = "SELECT COUNT(*) FROM `%s`.munkatervOsztaly WHERE osztalyId=%u"; + $v = array($tanevDb, $osztalyId); + $db = db_query($q, array('fv' => 'updateOsztalyNev/munkatervOsztaly - select', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result'=>'value'), $lr); + if ($db == 0) { // Ha nincs, akkor rendeljük az 1-es munkatervhez az osztályt + $q = "INSERT INTO `%s`.munkatervOsztaly (munkatervId, osztalyId) VALUES (1, %u)"; + $v = array($tanevDb, $osztalyId); + $ok = $ok && db_query($q, array('fv' => 'updateOsztaly/munkatervOsztaly - insert', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } + } + } + } // foreach... + // tankör-nevek módosítása + $q = "SELECT tankorId FROM tankorOsztaly WHERE osztalyId = %u"; + $v = array($osztalyId); + $tankorIds = db_query($q, array('fv' => 'updateOsztalyNev', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $lr); + if (is_array($tankorIds) && count($tankorIds)>0) { + for ($i=0; $i 'updateOsztaly')); + if (!$lr) { + $_SESSION['alert'][] = 'message:db_connect_failure:updateOsztaly'; + fclose($fp); + return false; + } + db_start_trans($lr); + + // Az első sor kihagyása + if ($rovatfej) $sor = fgets($fp,1024); + $TAG = $TAGV = array(); + while ($sor = fgets($fp, 1024)) { + + $adatSor = explode($mezo_elvalaszto, chop($sor)); + $beDt = $kiDt = ''; + if ($keyBeDt !== false) $beDt = $adatSor[$keyBeDt]; + if ($keyKiDt !== false) $kiDt = $adatSor[$keyKiDt]; + // keresési feltétel összerakása + $where = $wherev = array(); + for ($i = 0; $i < count($KULCS_MEZOK); $i++) { + if ($adatSor[$KULCS_MEZOK[$i]] != '') { + if ($adatSor[$KULCS_MEZOK[$i]] == '\N') { + $where[] = "`%s`=NULL"; + array_push($wherev, $MEZO_LISTA[$KULCS_MEZOK[$i]]); + } else { + $where[] = "`%s`='%s'"; + array_push($wherev, $MEZO_LISTA[$KULCS_MEZOK[$i]], $adatSor[$KULCS_MEZOK[$i]]); + } + } + } + if (count($where) > 0) { + $q = "SELECT diakId FROM diak WHERE ".implode(' AND ', $where); + $diakIds = db_query($q, array('fv' => 'updateOsztaly', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $wherev), $lr); + $num = count($diakIds); + } else { $num = 0; } + if ($num == 1 && _SKIP_ON_DUP === true) { $_SESSION['alert'][] = 'info:_SKIP_ON_DUP:'.serialize($sor); continue; } + if ($num == 1) { // update + // tag felvételhez adatsor + $diakId = $diakIds[0]; + if (!isset($kiDt) || $kiDt=='') { + $TAG[] = "(%u, %u, '%s', NULL)"; + array_push($TAGV, $diakId, $osztalyId, $beDt); + } else { + $TAG[] = "(%u, %u, '%s', '%s')"; + array_push($TAGV, $diakId, $osztalyId, $beDt, $kiDt); + } + // diak adatok frissítése + $UPDATE = $UPDATEV = array(); + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ( + $MEZO_LISTA[$i] != '' + and $adatSor[$i] != '' + and !in_array($i, $KULCS_MEZOK) + ) { + $UPDATE[] = "`%s`='%s'"; + array_push($UPDATEV, $MEZO_LISTA[$i], $adatSor[$i]); + } + } + if (count($UPDATE) > 0) { + $q = "UPDATE diak SET ".implode(',', $UPDATE)." WHERE ".implode(' AND ', $where); + $v = mayor_array_join($UPDATEV, $wherev); + $r = db_query($q, array('fv' => 'updateOsztaly/update', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + fclose($fp); + return false; + } + } + } elseif ($num == 0) { // insert + $insertValues = $insertPatterns = array(); + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ($MEZO_LISTA[$i] != '') { + if ($adatSor[$i] == '\N') { + $insertValues[] = 'NULL'; + $insertPatterns[] = '%s'; + } else { + $insertValues[] = $adatSor[$i]; + $insertPatterns[] = "'%s'"; + } + } + } + $q = 'INSERT INTO `diak` ('.implode(',', array_fill(0, count($attrList), '%s')).') + VALUES ('.implode(',', $insertPatterns).')'; + $v = mayor_array_join($attrList, $insertValues); + /* + + + + $value = array(); + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ($MEZO_LISTA[$i] != '') $value[] = $adatSor[$i]; + } + // beszúrás egyesével, hogy meglegyen a diakId (insert_id) + $q = "INSERT INTO diak (`".implode("`,`", array_fill(0, count($attrList), '%s'))."`) + VALUES ('".implode("','", array_fill(0, count($value), '%s'))."')"; + $v = array_merge($attrList, $value); + + */ + $diakId = db_query($q, array('fv' => 'updateOsztaly/insert', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v, 'rollback' => true), $lr); + if (!$diakId) { + db_close($lr); + fclose($fp); + return false; + } + + if ($diakId) { + // tagok adatai + if (!isset($kiDt) || $kiDt=='') { + $TAG[] = "(%u, %u,'%s', NULL)"; + array_push($TAGV, $diakId, $osztalyId, $beDt); + } else { + $TAG[] = "(%u, %u, '%s', '%s')"; + array_push($TAGV, $diakId, $osztalyId, $beDt, $kiDt); + } + } + } else { + $_SESSION['alert'][] = 'message:wrong_data:'.$where; + } + } // while + if (count($TAG) > 0) { // tagok felvétele az osztályba + $q = "REPLACE INTO osztalyDiak (diakId,osztalyId,beDt,kiDt) VALUES ".implode(",\n",$TAG); + $r = db_query($q, array('fv' => 'updateOsztaly/osztályba', 'modul' => 'naplo_intezmeny', 'values' => $TAGV, 'rollback'=>true), $lr); + if (!$r) { + db_close($lr); + fclose($fp); + return false; + } + } + db_commit($lr); + db_close($lr); + + fclose($fp); + return true; +} + +/* áthelyezve: share/osztalyModifier.php +// osztalyId, tanarId, beDt --> kiDt +function osztalyfonokKileptetes($osztalyId, $tanarId, $beDt, $kiDt, $olr = '') { +... +} +*/ + +function osztalyfonokKinevezes($osztalyId, $tanarId, $beDt, $lr = null) { + + global $mayorCache; + $mayorCache->delType('osztaly'); + + // Ellenőrizzük, hogy az adott időszakban nincs-e már kinevezve ofőnek + $q = "SELECT COUNT(*) AS db FROM osztalyTanar WHERE osztalyId=%u AND tanarId=%u + AND (beDt<'%s' AND '%s' 'osztalyfonokKinevezes', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v), $lr); + + if ($db > 0) { + $_SESSION['alert'][] = 'message:wrong_data:már ki van nevezve:'."$beDt - $kiDt:$num"; + return false; + } + + $q = "INSERT INTO osztalyTanar (osztalyId, tanarId, beDt, kiDt) VALUES (%u, %u, '%s', NULL)"; + $v = array($osztalyId, $tanarId, $beDt); + return db_query($q, array('fv' => 'osztalyfonokKinevezes', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + +} + +/* + TODO: az osztalyJellegId módosítása nem megengedett, vagy végig kell gondolni, + hogy mi mindent érint (osztalyJel, evfolyam, evfolyamJel - minden érintett tanév osztalyNaplo táblájában+tankör nevek+vegzoTanev...) +*/ +function osztalyLeirasTelephelyModositas($osztalyId, $leiras, $telephelyId, $osztalyJellegId, $kezdoEvfolyamSorszam, $osztalyAdat, $lr = null) { + + global $mayorCache; + $mayorCache->delType('osztaly'); + + if (isset($telephelyId) && $telephelyId != '') { + $q = "UPDATE osztaly SET leiras='%s',telephelyId=%u, kezdoEvfolyamSorszam=%u WHERE osztalyId=%u"; + $v = array($leiras, $telephelyId, $kezdoEvfolyamSorszam, $osztalyId); + } else { + $q = "UPDATE osztaly SET leiras='%s',telephelyId=NULL, kezdoEvfolyamSorszam=%u WHERE osztalyId=%u"; + $v = array($leiras, $kezdoEvfolyamSorszam, $osztalyId); + } + $ret = db_query($q, array('fv' => 'osztalyLeirasTelephelyModositas', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + return osztalyJellegModositas($osztalyId, $osztalyJellegId, $osztalyAdat, $lr); + +} + +function osztalyJellegModositas($osztalyId, $osztalyJellegId, $osztalyAdat, $lr = null) { + + global $mayorCache; + $mayorCache->delType('osztaly'); + + // Az osztalyJelleg lekérdezése + $ojAdat = getOsztalyJellegAdat($osztalyJellegId); + $ojEvfolyamJelek = explode(',', $ojAdat['evfolyamJelek']); + // csak akkor módosítunk, ha az oszály évfolyamainak száma <= az osztály-jelleg évfolyamainak száma + if (count($ojEvfolyamJelek) < ($osztalyAdat['vegzoTanev']-$osztalyAdat['kezdoTanev']+$osztalyAdat['kezdoEvfolyamSorszam'])) { + $_SESSION[] = 'message:wrong_data:Az osztály évfolyamainak száma nem engedi meg az adott osztály-jellegre váltást'; + return false; + } + // osztalyJelleg módosítása + $q = "UPDATE osztaly SET osztalyJellegId=%u WHERE osztalyId=%u"; + $v = array($osztalyJellegId, $osztalyId); + $ret = db_query($q, array('fv' => 'osztalyJellegModositas', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + // tanév adatbázisok frissítése (osztalyNaplo, munkatervOsztaly) + return updateOsztalyNev($osztalyId, $lr); +} + +function osztalyTorles($osztalyId) { + + global $mayorCache; + $mayorCache->delType('osztaly'); + + $q = "DELETE FROM osztaly WHERE osztalyId=%u"; + return db_query($q, array('fv' => 'osztalyTorles', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId))); + +} + +function ujTag($osztalyId, $diakId, $beDt, $kiDt) { +/* + * Az osztályba sorolás MOSTANTÓL többszakaszos, mint pl. a tankörbesorolás, azaz a diakId:osztalyId:beDt a + * kulcs a kapcsolótáblában. + */ + + // Csatlakozás az adatbázishoz + $lr = db_connect('naplo_intezmeny', array('fv' => 'ujTag')); + if (!$lr) return false; + db_start_trans($lr); + + // Van-e már beDt-t tartalmazó osztálytagsága + $q = "SELECT beDt FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND beDt<'%s' AND (kiDt IS NULL OR kiDt >= '%s')"; + $ret = db_query($q, array('fv' => 'ujTag', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($osztalyId, $diakId, $beDt, $beDt))); + if (!is_null($ret)) $beDt = $ret; + + if ($kiDt != '') { + // Ha kiDt nem üres, akkor: van-e kiDt-t tartalmazó osztálytagsága + $q = "SELECT kiDt FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND beDt<'%s' AND (kiDt IS NULL OR kiDt >= '%s')"; + $ret = db_query($q, array('fv' => 'ujTag', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($osztalyId, $diakId, $kiDt, $kiDt))); + if (!is_null($ret)) $kiDt = $ret['kiDt']; + } + + if ($kiDt == '') { + // Ha $kiDt üres, akkor töröljük az eddigi bejegyzéseket a lefedett tartományból és felvesszük az újat + $q = "DELETE FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND beDt>='%s'"; + db_query($q, array('fv' => 'ujTag/töröl', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $beDt))); + $q = "INSERT INTO osztalyDiak (osztalyId, diakId, beDt, kiDt) VALUES (%u, %u, '%s', NULL)"; + db_query($q, array('fv' => 'ujTag/felvesz', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $beDt))); + } else { + // Ha $kiDt nem üres, akkor töröljük az eddigi bejegyzéseket a lefedett tartományból és felvesszük az újat + $q = "DELETE FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND '%s'<=beDt AND kiDt<='%s'"; + db_query($q, array('fv' => 'ujTag/töröl', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $beDt, $kiDt))); + $q = "INSERT INTO osztalyDiak (osztalyId, diakId, beDt, kiDt) VALUES (%u, %u, '%s', '%s')"; + db_query($q, array('fv' => 'ujTag/felvesz', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $beDt, $kiDt))); + } + + db_commit($lr); + db_close($lr); + return $r; +} + +function diakKepzesModositas($diakIds, $kepzesMod, $dt) { + + $modKepzesIds = array_keys($kepzesMod); + + if (!is_array($diakIds) || !is_array($modKepzesIds) || count($diakIds) == 0) return false; + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + // A megadott diákok adott dátum szerinti képzései + $q = "SELECT kepzesId, diakId FROM kepzesDiak WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tolDt<='%s' AND (igDt IS NULL OR '%s'<=igDt)"; + $v = mayor_array_join($diakIds, array($dt,$dt)); + $kepzesOld = db_query($q, array('fv' => 'diakKepzesModositas/dKepzes','modul'=>'naplo_intezmeny','values'=>$v,'result'=>'keyvalues'), $lr); + if (!is_array($kepzesOld)) { db_rollback($lr); db_close($lr); return false; } + + $oldKepzesIds = array_keys($kepzesOld); + $kepzesIds = array_unique(array_merge($modKepzesIds, $oldKepzesIds)); + foreach ($kepzesIds as $kepzesId) { + + if (!is_array($kepzesMod[$kepzesId])) $kepzesMod[$kepzesId] = array(); + if (!is_array($kepzesOld[$kepzesId])) $kepzesOld[$kepzesId] = array(); + + $add = array_unique(array_diff($kepzesMod[$kepzesId], $kepzesOld[$kepzesId])); + $del = array_unique(array_diff($kepzesOld[$kepzesId], $kepzesMod[$kepzesId])); + $diff = array_unique(array_merge($add, $del)); + // Aki $dt után került be a képzésbe és most kiveendő vagy felveendő, azt töröljük + if (count($diff) > 0) { + $q = "DELETE FROM kepzesDiak WHERE kepzesId=%u AND tolDt>'%s' + AND diakId IN (".implode(',',array_fill(0,count($diff),'%u')).")"; + $v = mayor_array_join(array($kepzesId, $dt), $diff); + $r = db_query($q, array('fv'=>'diakKepzesModositas/delete','modul'=>'naplo_intezmeny','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + if (count($del) > 0) { + // a tolDt=$dt esetén csak a lezárandókat kell törölni + $q = "DELETE FROM kepzesDiak WHERE kepzesId=%u AND tolDt='%s' + AND diakId IN (".implode(',',array_fill(0,count($del),'%u')).")"; + $v = mayor_array_join(array($kepzesId, $dt), $del); + $r = db_query($q, array('fv'=>'diakKepzesModositas/delete','modul'=>'naplo_intezmeny','values'=>$v), $lr); + // Aki korábban benne volt a képzésben, de most nincs, azt le kell zárni + $q = "UPDATE kepzesDiak SET igDt='%s' - INTERVAL 1 DAY WHERE kepzesId=%u AND tolDt<'%s' AND (igDt IS NULL OR '%s'<=igDt) + AND diakId IN (".implode(',',array_fill(0,count($del),'%u')).")"; + $v = mayor_array_join(array($dt, $kepzesId, $dt, $dt), $del); + $r = db_query($q, array('fv'=>'diakKepzesModositas/update','modul'=>'naplo_intezmeny','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + if (count($add) > 0) { + // Aki eddig nem volt, azt fel kell venni + $v = $INS = array(); + foreach ($add as $diakId) { + $INS[] = "(%u, %u, '%s', NULL)"; + array_push($v, $kepzesId, $diakId, $dt); + } + if (count($INS)>0) { + $q = "INSERT INTO kepzesDiak (kepzesId, diakId, tolDt, igDt) VALUES ".implode(',',$INS); + db_query($q, array('fv'=>'diakKepzesModositas/inster','modul'=>'naplo_intezmeny','values'=>$v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return false; } + } + } + } + db_commit($lr); + db_close($lr); + +} + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tanar.php b/mayor-orig/www/include/modules/naplo/intezmeny/tanar.php new file mode 100644 index 00000000..68a203a8 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tanar.php @@ -0,0 +1,54 @@ + $value) { + if (array_key_exists($attr, $FIELDS) && !in_array($attr, array('action','tanarId'))) { + if ($value == '') { + $T[] = "$attr=NULL"; + } else { + $v[] = $value; + $T[] = "$attr='%s'"; + } + } + } + $q = "UPDATE tanar SET ".implode(',',$T)." WHERE tanarId=%u"; + $v[] = $ADAT['tanarId']; + return db_query($q, array('fv' => 'tanarAdatModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function ujTanar($ADAT) { + + + $FIELDS = getTableFields('tanar'); + $A = $V = $v = array(); + // Ellenőrizzük, hogy az oktatási azonosító szerepel-e már.... + if ($ADAT['oId'] != '') { + $q = "SELECT COUNT(*) FROM tanar WHERE oId=%u"; + $db = db_query($q, array('fv' => 'ujTanar/ütközés ellenőrzés','modul' => 'naplo_intezmeny', 'values' => array($ADAT['oId']), 'result' => 'value')); + if ($db > 0) { + $_SESSION['alert'][] = 'message:wrong_data:ujTanar/ütközés ellenőrzés:ütköző oktatási azonosító ('.$ADAT['oId'].')'; + return false; + } + } + foreach($ADAT as $attr => $value) { + if (array_key_exists($attr,$FIELDS) && !in_array($attr, array('action','tanarId'))) { + if ($value == '' && !in_array($attr, array('viseltNevElotag'))) { + $V[] = "NULL"; + } else { + $V[] = "'%s'"; + $v[] = $value; + } + $A[] = "$attr"; + } + } + $q = "INSERT INTO tanar (".implode(',', $A).") VALUES (".implode(',',$V).')'; + + return db_query($q, array('fv' => 'ujTanar', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php b/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php new file mode 100644 index 00000000..8db17e7a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php @@ -0,0 +1,201 @@ + 'ujTankor')); + if (!$lr) return false; + + /* pre-check variables */ + //... + /* pre-check */ + if (isset($ADAT['tankorId']) && $ADAT['tankorId']!='') { + $return = $tankorId = $ADAT['tankorId']; + $q = "UPDATE tankor SET felveheto=%u, min=%u, max=%u, kovetelmeny='%s' WHERE tankorId=%u"; + $v = array($ADAT['felveheto'], $ADAT['min'], $ADAT['max'], $ADAT['kovetelmeny'],$tankorId); + db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v)); + $tanarFelvesz = false; + } else { + $q = "INSERT INTO tankor (targyId,felveheto,min,max,kovetelmeny) VALUES (%u, '%s', %u, %u,'%s')"; + $v = array($ADAT['targyId'], $ADAT['felveheto'], $ADAT['min'], $ADAT['max'], $ADAT['kovetelmeny']); + $return = $tankorId = db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + $tanarFelvesz = true; + } + /* tankorTipus rev 1261++ -- 1294 */ + if (isset($ADAT['tankorTipus']) && !is_null($ADAT['tankorTipus'])) { + $q = "UPDATE tankor SET tankorTipus='%s' WHERE tankorId=%u"; + $v = array($ADAT['tankorTipus'], $tankorId); + db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + /* tankorTipus rev 1294++ */ + if (isset($ADAT['tankorTipusId']) && !is_null($ADAT['tankorTipusId'])) { + $q = "UPDATE tankor SET tankorTipusId='%s' WHERE tankorId=%u"; + $v = array($ADAT['tankorTipusId'], $tankorId); + db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v)); + $q = "SELECT jelleg FROM tankorTipus WHERE tankorTipusId=%u"; + $v = array($ADAT['tankorTipusId']); + $tankorTipusJelleg = db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'result'=>'value','values' => $v)); + } + + /* TankörCsoport min/max - a tankörcsoport minden tankörében átállítjuk ezeket */ + $q = "UPDATE ".__INTEZMENYDBNEV.".tankor SET min=%u, max=%u WHERE tankorId IN ( + SELECT DISTINCT tankorId FROM tankorCsoport WHERE csoportId IN ( + SELECT csoportId FROM tankorCsoport WHERE tankorId=%u + ) + )"; + $v = array($ADAT['min'], $ADAT['max'], $tankorId); + db_query($q, array('fv' => 'ujTankor/minMax', 'modul' => 'naplo', 'values' => $v)); + + //-- + $IOSZTALY = getTankorOsztalyai($tankorId, array('result' => 'id'), $lr); //TAGOK ALAPJÁN??? + for ($i = 0; $i < count($ADAT['osztalyok']); $i++) { + $q = "REPLACE INTO tankorOsztaly (tankorId, osztalyId) VALUES (%u, %u)"; + $v = array($tankorId, $ADAT['osztalyok'][$i]); + db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } + + /* */ + $TOSZTALY = getTankorOsztalyaiByTanev($tankorId, $ADAT['tanev'], array('result' => 'id', 'tagokAlapjan' => true), $lr); + + /* FIGYELEM! EZ veszélyes művelet! */ + if (is_array($IOSZTALY) && is_array($ADAT['osztalyok'])) $DEL_OSZTALY = array_diff($IOSZTALY,$ADAT['osztalyok']); + if (($_ERR = array_intersect($DEL_OSZTALY,$TOSZTALY))) { + $_SESSION['alert'][] = 'info:tankorOsztalyNemTorolheto:'.implode('-',$_ERR); + for ($k=0; $k0) { + $q = "DELETE FROM tankorOsztaly WHERE osztalyId IN (".implode(',', array_fill(0, count($DEL_OSZTALY), '%u')).") AND tankorId=%u"; + $v = mayor_array_join($DEL_OSZTALY, array($tankorId)); + db_query($q, array('fv' => 'ujTankor/del-oszt', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + } + + /* create name */ + // osztalyId alapján évfolyam, osztály jelek lekérdezése + // abból összeállítás + // getOsztalyAdat helyett + + $TARGYADAT = getTargyById($ADAT['targyId'],$lr); + $kdt = '3000-01-01'; + $vdt = '1970-01-01'; + if (is_array($ADAT['szemeszterek'])) + for ($j = 0; $j < count($ADAT['szemeszterek']); $j++) { + $nev = ''; + $szid = $ADAT['szemeszterek'][$j]; + $_SZ = getSzemeszterek(array('filter' => array("szemeszterId=$szid"))); + if ($_SZ[0]['kezdesDt'] < $kdt) $kdt = $_SZ[0]['kezdesDt']; + if ($_SZ[0]['zarasDt'] > $vdt) $vdt = $_SZ[0]['zarasDt']; + $_tanev = $_SZ[0]['tanev']; + $_szemeszter = $_SZ[0]['szemeszter']; + $_oraszam = $ADAT['SZ'.$szid]; + if ($tankorTipusJelleg=='osztályfüggetlen') { + $nev = "Isk."; + } else { + $OSZTALYOK = getOsztalyok($_tanev); + if ($OSZTALYOK !== false && is_array($OSZTALYOK) && is_array($ADAT['osztalyok'])) { + $nev = ''; + $TMP = array(); + for($i = 0; $i < count($OSZTALYOK); $i++) { + // Ha évenként változik az osztály jele, akkor jobb, ha nem generáljuk, hanem a lekérdezett adatokat használjuk! + // $_oj = genOsztalyJel($_tanev, $OSZTALYOK[$i]); + $_oj = $OSZTALYOK[$i]['osztalyJel']; + if ($_oj!==false && !is_null($_oj)) { + list($e,$o) = explode('.',$_oj); + if (in_array($OSZTALYOK[$i]['osztalyId'], $ADAT['osztalyok'])) $TMP[$e][]= $o; + } + } + if (count(array_keys($TMP)) == 1) { // évfolyamon belüli osztályok: + $nev = implode('||',array_keys($TMP)); + $nev .= '.'.implode('',$TMP[$nev]); + } elseif (count((array_keys($TMP)))>1) { // multi évfolyam: + $K = (array_keys($TMP)); + sort($K); + $nev = $K[0].'-'.$K[count($K)-1].'.'; + } else { // ekkorra már elballagott minden osztaly... + $nev = false; + $_SESSION['alert'][] = '::Minden osztály elballagott'; + } + } else { + $nev = false; // adott szemeszterbe nem jár osztály + $_SESSION['alert'][] = '::Az adott szemeszterbe nem jár osztály'; + } + } + if ($nev !== false) { + $nev .= ' '.$TARGYADAT['targyNev']; + $nev .= ' '; + + $q = "SELECT tankorJel FROM tankor LEFT JOIN tankorTipus USING (tankorTipusId) WHERE tankorId=%u"; + $tankorJel = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'value', 'values' => array($tankorId), 'debug'=>false), $lr); + if ($tankorJel!='') $nev .= $tankorJel.' '.$ADAT['tipus']; + else $nev .= $ADAT['tipus']; + $q = "REPLACE INTO tankorSzemeszter (tankorId,tanev,szemeszter,oraszam,tankorNev) VALUES (%u, %u, %u, %f, '%s')"; + if ($ADAT['tanev'] < __TANEV || $ADAT['tankorNevMegorzes']===true) { // a neve már ne változzon, és az óraszáma? + $q1 = "SELECT tankorNev FROM tankorSzemeszter WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + // OVERWRITE!!!! + $orignev = db_query($q1, array('fv' => 'ujTankor', 'result'=>'value', 'modul' => 'naplo_intezmeny', 'values' => array($tankorId,$_tanev,$_szemeszter), 'debug'=>false), $lr); + if ($orignev!='' && $orignev!='Array') $nev = $orignev; // csúnya bugfix + } + $v = array($tankorId, $_tanev, $_szemeszter, $_oraszam, $nev); + if ($nev!='') db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v, 'debug'=>false), $lr); + // delete!!!!???? + } + + } + if ($tanarFelvesz && $ADAT['tanarId']!='') { + + $q = "INSERT INTO tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s', '%s')"; + $v = array($tankorId, $ADAT['tanarId'], $kdt, $vdt); + $r = db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + } + + // ======================================================= + + db_close($lr); + + return $return; + } + + function tankorTorol($tankorId) { + + $q = "DELETE FROM tankor WHERE tankorId=%u"; + return db_query($q, array('fv' => 'tankorTorol', 'modul' => 'naplo_intezmeny', 'values' => array($tankorId))); + + } + + function tankorTargyModositas($ADAT) { + /** + * Elvárt paraméterek: $ADAT['tankorId'], $ADAT['ujTargyId'], $ADAT['targyId'] // az eredeti + **/ + $lr = db_connect('naplo_intezmeny'); + if (!$lr) return false; + db_start_trans($lr); + + // A régi és új tárgynév lekérdezése + $q = "SELECT targyId, targyNev FROM targy WHERE targyId IN (%u, %u)"; + $v = array($ADAT['ujTargyId'], $ADAT['targyId']); + $ret = db_query($q, array('fv'=>'tankorTargyModositas/targyNev','values'=>$v, 'result'=>'keyvaluepair'), $lr); + // a tárgynév cserje a tankorSzemeszter táblában + $q = "UPDATE tankorSzemeszter SET tankorNev=REPLACE(tankorNev,'%s','%s') WHERE tankorId=%u"; + $v = array($ret[$ADAT['targyId']], $ret[$ADAT['ujTargyId']], $ADAT['tankorId']); + $r = db_query($q, array('fv'=>'tankorTargyModositas/updateTargyNev','values'=>$v), $lr); + if (!$r) { db_rollback($lr, 'tankorTargyModositas'); db_close($lr); return false; } + // A targyId módosítása + $q = "UPDATE tankor SET targyId=%u WHERE tankorId=%u"; + $v = array($ADAT['ujTargyId'], $ADAT['tankorId']); + $r = db_query($q, array('fv'=>'tankorTargyModositas/updateTargyId','values'=>$v), $lr); + if (!$r) { db_rollback($lr, 'tankorTargyModositas'); db_close($lr); return false; } + $nev = setTankorNev($ADAT['tankorId'], $tankorNevExtra=null, $lr); + if (!$nev) { db_rollback($lr, 'tankorTargyModositas'); db_close($lr); return false; } + + db_commit($lr); + db_close($lr); + return true; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tankorSzemeszter.php b/mayor-orig/www/include/modules/naplo/intezmeny/tankorSzemeszter.php new file mode 100644 index 00000000..fcd411c4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tankorSzemeszter.php @@ -0,0 +1,200 @@ + [multiassoc][tankorId] + function getSzemeszterek_spec($tolTanev = '', $igTanev = '') + | `szemeszter` tábla bejegyzései + --> [indexed] + function tankorSzemeszterModositas($Modositas, $tankorSzemeszter, $tankorNevek, $Szemeszterek, $tanevZarasDt) { + | A módosító + * function _createName($ADAT,$SZ,$extra) +*/ + + function getTankorSzemeszterek($tankorIds) { + + if (count($tankorIds) > 0) { + $q = "SELECT * FROM tankorSzemeszter WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + return db_query($q, array( + 'fv' => 'getTankorSzemeszterek', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + )); + } else { + return array(); + } + + } + + function getSzemeszterek_spec($tolTanev = '', $igTanev = '') { + + $v = array(); + if ($tolTanev != '') { + $where = "WHERE tanev >= %u"; + $v[] = $tolTanev; + } + if ($igTanev != '') { + if ($tolTanev != '') $where .= " AND tanev <= %u"; + else $where = "WHERE tanev <= %u"; + $v[] = $igTanev; + } + + $q = "SELECT * FROM szemeszter $where ORDER BY tanev,szemeszter"; + return db_query($q, array('fv' => 'getSzemeszterek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + } + + function tankorSzemeszterModositas($Modositas, $tankorSzemeszter, $tankorNevek, $Szemeszterek, $tanevZarasDt) { + + // $tankorTanarAdatok inicializásása - $Szemeszterek alapján + $tankorIds = $tankorTanarAdatok = array(); + for ($i = 0; $i < count($Szemeszterek); $i++) { + $tankorTanarAdatok[$Szemeszterek[$i]['tanev']][$Szemeszterek[$i]['szemeszter']] = array( + 'tankorIds' => array(), + 'tanev' => $Szemeszterek[$i]['tanev'], + 'statusz' => $Szemeszterek[$i]['statusz'], + 'kezdesDt' => $Szemeszterek[$i]['kezdesDt'], + 'zarasDt' => $Szemeszterek[$i]['zarasDt'] + ); + } + + $lr = db_connect('naplo_intezmeny'); + + $Values = array(); + $Values = $v = array(); + for ($i = 0; $i < count($Modositas); $i++) { + + $M = $Modositas[$i]; + if ($tankorTanarAdatok[$M['tanev']][$M['szemeszter']]['statusz'] != 'lezárt') { + + if (is_array($tankorSzemeszter[$M['tankorId']][$M['tanev']][$M['szemeszter']])) { + // update - vagy semmi + $regiOraszam = $tankorSzemeszter[$M['tankorId']][$M['tanev']][$M['szemeszter']]['oraszam']; + if (floatval($M['oraszam']) >= 0 && $regiOraszam != $M['oraszam']) { // állíthatjuk nullára + // update - most már tényleg - itt csak az óraszám változik: + $q = "UPDATE tankorSzemeszter SET oraszam=%f WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + db_query($q, array( + 'fv' => 'tankorSzemeszterModositas', 'modul' => 'naplo_intezmeny', + 'values' => array($M['oraszam'], $M['tankorId'], $M['tanev'], $M['szemeszter']) + ,'debug'=>false + )); + } elseif ( + floatval($M['oraszam']) == 0 + && $tankorTanarAdatok[$M['tanev']][$M['szemeszter']]['statusz'] == 'tervezett' + && $regiOraszam != $M['oraszam'] + ) { // Ekkor törölhetjük... nemde? + $q = "DELETE FROM tankorSzemeszter + WHERE tankorId=%u AND tanev=%u + AND szemeszter=%u"; + db_query($q, array( + 'fv' => 'tankorSzemeszterModositas', 'modul' => 'naplo_intezmeny', + 'values' => array($M['tankorId'], $M['tanev'], $M['szemeszter']) + ,'debug'=>false + )); + } + } else { + // insert + $tankorNev = _createName($M, array($M['tanev'].'/'.$M['szemeszter']), $tankorNevek[$M['tankorId']]); + if ($tankorNev != '') { + array_push($v, $M['tankorId'], $M['tanev'], $M['szemeszter'], $M['oraszam'], $tankorNev); + $Values[] = "(%u, %u, %u, %f, '%s')"; + // A tanár felvételéhez kell a tol-ig dt (Szemeszterek) + // tankorIds + $tankorTanarAdatok[$M['tanev']][$M['szemeszter']]['tankorIds'][] = $M['tankorId']; + if (!in_array($M['tankorId'], $tankorIds)) $tankorIds[] = $M['tankorId']; + // tankorTanarIds - a tanevZarasDt pillanatában lévő tanárait kérdezzük le + + } + } // insert vagy update + } // nem lezárt szemeszter + } // for + if (count($Values) > 0) { + $q = "INSERT INTO tankorSzemeszter (tankorId, tanev, szemeszter, oraszam, tankorNev) + VALUES ".implode(',', $Values); + db_query($q, array('fv' => 'tankorSzemeszterModositas', 'modul' => 'naplo_intezmeny', 'values' => $v,'debug'=>false)); + // Az $tanev évi tanárt is rendeljük hozzá! + // kik voltak tanárok a zárás napján + $q = "SELECT DISTINCT tankorId, tanarId FROM tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND '%s' >= beDt AND '%s' <= kiDt"; + $v = mayor_array_join($tankorIds, array($tanevZarasDt, $tanevZarasDt)); + $ret = db_query($q, array('fv' => 'tankorSzemeszterModositas', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v, 'debug'=>false), $lr); + for ($i = 0; $i < count($ret); $i++) $tankorTanarIds[$ret[$i]['tankorId']][] = $ret[$i]['tanarId']; + foreach ($tankorTanarAdatok as $szTanev => $tanevAdat) + foreach ($tanevAdat as $szSzemeszter => $szemeszterAdat) + if (count($szemeszterAdat['tankorIds']) > 0) { + tankorTanarFelvesz( + $szemeszterAdat['tankorIds'], $tankorTanarIds, $szemeszterAdat, + $szemeszterAdat['kezdesDt'], $szemeszterAdat['zarasDt'] + ); + } + } + + db_close($lr); + return true; + + } + + function _createName($ADAT,$SZ,$extra) { + + global $TANKOR_TIPUS; + + $tankorId = $ADAT['tankorId']; + if ($tankorId=='') return false; + $tanev = $ADAT['tanev']; + $szemeszter = $ADAT['szemeszter']; + + $targyId = getTankorTargyId($tankorId); + $TANKOROSZTALYOK = getTankorOsztalyai($tankorId, array('result' => 'id')); + + if ($targyId=='') return false; + $TARGYADAT = getTargyById($targyId); + $kdt='3000-01-01'; + $vdt='1970-01-01'; + if (is_array($SZ)) + for ($j=0; $j1) { // multi évfolyam: + $K = (array_keys($TMP)); + sort($K); + $nev = $K[0].'-'.$K[count($K)-1].'.'; + } else { // ekkorra már elballagott minden osztaly... + $nev = false; + + } + + } else { + $nev = false; // adott szemeszterbe nem jár osztály + } + + if ($nev!== false) { + $nev .= ' '.$TARGYADAT['targyNev']; + foreach($TANKOR_TIPUS as $_tt=>$_tipus) { + if (strstr($extra,$_tipus)) { + $_extra = $_tipus; + } + } + $nev .= ' '.$_extra; + } + } + return $nev; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanar.php b/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanar.php new file mode 100644 index 00000000..af6840e9 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanar.php @@ -0,0 +1,292 @@ + 'tankorTanarTorol', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + if ($r == 0) { + $q = "DELETE FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId=%u AND bedt='%s' AND tanarId=%u"; + $v = array($tankorId, $beDt, $tanarId); + db_query($q, array('fv' => 'tankorTanarTorol', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true)); + } else { + $_SESSION['alert'][] = 'info:lezart_tanev'; + } + } + + function tankorTanarJavit($tankorId,$tanarId,$beDt,$kiDt) { + + $q = "SELECT COUNT(*) AS db FROM szemeszter WHERE statusz='lezárt' AND + (('%s' BETWEEN szemeszter.kezdesDt AND szemeszter.zarasDt) + OR + ('%s' BETWEEN szemeszter.kezdesDt AND szemeszter.zarasDt)) + LIMIT 1"; + $v = array($beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarTorol', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + if ($r == 0) { + $q = "UPDATE ".__INTEZMENYDBNEV.".tankorTanar SET kiDt='%s' WHERE tankorId=%u AND bedt='%s' AND tanarId=%u"; + $v = array($kiDt,$tankorId, $beDt, $tanarId); + db_query($q, array('fv' => 'tankorTanarTorol', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true)); + } else { + $_SESSION['alert'][] = 'info:lezart_tanev'; + } + } + + //--- + + + function tankorTanarFelvesz($tankorIds, $tankorTanarIds, $tanevAdat, $tolDt, $igDt) { + + + if (!is_array($tankorIds) || count($tankorIds) == 0) return false; + $D = array(); + + $lr = db_connect('naplo_intezmeny', array('fv' => 'tankorTanarFelvesz')); + db_start_trans($lr); + + // Az intervallumban érintett tankör-tanár tagságok lekérdezése... + $v = mayor_array_join($tankorIds, array($igDt, $tolDt)); + $q = "SELECT tanarId, tankorId, min(bedt) AS mbe ,max(kidt) AS mki + FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND bedt<='%s' AND kidt>='%s' GROUP BY tankorid,tanarid"; + $ret = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + for ($i = 0; $i < count($ret); $i++) { + if ($tolDt < $ret[$i]['mbe']) $ret[$i]['mbe'] = $tolDt; + if ($igDt > $ret[$i]['mki']) $ret[$i]['mki'] = $igDt; + $D[ $ret[$i]['tankorId'] ][ $ret[$i]['tanarId'] ] = array('mbe' => $ret[$i]['mbe'], 'mki' => $ret[$i]['mki'], 'torlendo' => true); + } + + // Az érintett intervallumba eső tankör-tanár tagságok törlése + $q = "DELETE FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND bedt<='%s' AND kidt>='%s'"; + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + // beszúrandó + for ($i = 0; $i < count($tankorIds); $i++) { + $tankorId = $tankorIds[$i]; + $tanarIds = $tankorTanarIds[$tankorId]; + for ($j = 0; $j < count($tanarIds); $j++) { + $tanarId = $tanarIds[$j]; + if ($tanarId != '') { + $D[$tankorId][$tanarId]['torlendo'] = false; + if (($beDt = $D[$tankorId][$tanarId]['mbe']) == '') $beDt = $tolDt; + if (($kiDt = $D[$tankorId][$tanarId]['mki']) == '') $kiDt = $igDt; + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s', '%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + } + } + + // törlendők felvétele + for ($i = 0; $i < count($tankorIds); $i++) { + $tankorId = $tankorIds[$i]; + if (is_array($D[$tankorId])) + foreach($D[$tankorId] as $tanarId => $T) { + if ($T['torlendo']) { + if ($T['mbe'] < $tolDt) { + $beDt = $T['mbe']; + $kiDt = date('Y-m-d', strtotime('-1 days',strtotime($tolDt))); + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s', '%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + if ($T['mki'] > $igDt) { + $kiDt = $T['mki']; + $beDt = date('Y-m-d', strtotime('+1 days',strtotime($igDt))); + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s','%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + } + } + } + + // tankörblokkok ellenőrzése - csak nem tervezett tanévben + // Érintett blokkok lekérdezése + if ($tanevAdat['statusz'] != 'tervezett') { + $blokkIds = getTankorBlokkByTankorId($tankorIds, $tanevAdat['tanev']); + if (is_array($blokkIds)) foreach ($blokkIds as $index => $blokkId) { + // A blokk tankörei + $bTankorIds = getTankorokByBlokkId($blokkId, $tanevAdat['tanev']); + + // Ellenőrizzük a tankör tanárokat - azonosak-e tankörönként + $q = "SELECT tanarId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($bTankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) + GROUP BY tanarId HAVING c>1 + ORDER BY tankorId,tanarId"; + $v = mayor_array_join($bTankorIds, array($igDt, $tolDt)); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz/BlokkEllenőrzés', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + if (is_array($r) && count($r) > 0) { + db_rollback($lr, 'Ütköző tanárt találtam egy blokkban ('.$blokkId.')! Visszaállítjuk az eredeti állapotot!'); + db_close($lr); + return false; + } + } + } + /* ======================================================== + Órarend módosítása + ======================================================== */ + + + if ($tanevAdat['statusz'] == 'aktív') { + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanevAdat['tanev']); + + // ÓrarendiOraTankor bejegyzés ellenőrzés/készítés + $V = $v2 = array(); + foreach ($tankorIds as $i => $tankorId) { + if ($tankorTanarIds[$tankorId][0] != '') { // Ha akarunk egyáltalán tanárt hozzárendelni + // van-e már az igényeinknek megfelelő bejegyzés + $q = "SELECT * FROM `%s`.orarendiOraTankor WHERE tankorId=%u + AND tanarId IN (".implode(',', array_fill(0, count($tankorTanarIds[$tankorId]), '%u')).") LIMIT 1"; + $v = mayor_array_join(array($tanevDbNev, $tankorId), $tankorTanarIds[$tankorId]); + $ret = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + + if (count($ret) != 0) { // ha van, akkor az elsőt használjuk + $OOT[$tankorId] = $ret[0]; + } else { // ha nincs, akkor generálunk egy jót + $OOT[$tankorId] = array( + 'tanarId' => $tankorTanarIds[$tankorId][0], + 'osztalyJel' => 'NaN', + 'targyJel' => $tankorId.'-'.$tankorTanarIds[$tankorId][0], + 'tankorId' => $tankorId + ); + $V[] = "(%u, 'NaN', '%s', %u)"; + array_push($v2, $tankorTanarIds[$tankorId][0], $tankorId.'-'.$tankorTanarIds[$tankorId][0], $tankorId); + } + } + } + if (count($V) > 0) { // Az új bejegyzéseket felvesszük + $q = "INSERT INTO `%s`.orarendiOraTankor (tanarId,osztalyJel,targyJel,tankorId) VALUES ".implode(',', $V); + array_unshift($v2, $tanevDbNev); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v2, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + } + + // Az érintett órarendi bejegyzések lekérdezése beDt szerint rendezve + $q = "SELECT tolDt,igDt,het,nap,ora,tankorId,tanarId,osztalyJel,targyJel,teremId + FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE tolDt <= '%s' AND (igDt >= '%s' OR igDt IS NULL) + AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + ORDER BY tankorId,tolDt"; + $v = mayor_array_join(array($tanevDbNev, $tanevDbNev, $igDt, $tolDt), $tankorIds); + $ret = db_query($q, array( + 'fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $v, 'rollback' => true + ), $lr); + if ($ret === false) { db_close($lr); return false; } + + foreach ($ret as $tankorId => $tankorOrarendiBejegyzesek) { + + // Ha van orarendiOra bejegyzés és nem akarunk tanárt hozzárendelni - az hiba!! + if (!is_array($OOT[$tankorId])) { + db_rollback($lr, 'Létező órarendi óra esetén a tanár nem törölhető:'.$tankorId); db_close($lr); return false; + }; + + $tanarId = $OOT[$tankorId]['tanarId']; + $osztalyJel = $OOT[$tankorId]['osztalyJel']; + $targyJel = $OOT[$tankorId]['targyJel']; + + foreach ($tankorOrarendiBejegyzesek as $i => $TOB) { + if ($TOB['teremId'] == '') { + $TOB['teremId'] = 'NULL'; + $valueStr = "(%u, %u, %u, %u, '%s', '%s', %s, '%s', '%s')"; + } else { + $valueStr = "(%u, %u, %u, %u, '%s', '%s', %u, '%s', '%s')"; + } + if ($TOB['tolDt'] < $tolDt) { // balról túlnyúlik - kettévágjuk + $q = "UPDATE `%s`.orarendiOra SET igDt='%s' - INTERVAL 1 DAY + WHERE tolDt='%s' AND tanarId=%u + AND het=%u AND nap=%u AND ora=%u"; + $v = array($tanevDbNev, $tolDt, $TOB['tolDt'], $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora']); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES $valueStr"; + $v = array( + $tanevDbNev, $TOB['het'], $TOB['nap'], $TOB['ora'], $TOB['tanarId'], $TOB['osztalyJel'], + $TOB['targyJel'], $TOB['teremId'], $tolDt, $TOB['igDt'] + ); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $TOB['tolDt'] = $tolDt; // Az intervallumot lefedő bejegyzések miatt - három fele fogjuk vágni + } + if ($igDt < $TOB['igDt']) { // jobbról túlnyúlik - kettévágjuk !! igDt nem lehet NULL !! + $q = "UPDATE `%s`.orarendiOra SET tolDt='%s' + INTERVAL 1 DAY + WHERE igDt='%s' AND tanarId=%u AND het=%u AND nap=%u AND ora=%u"; + $v = array($tanevDbNev, $igDt, $TOB['igDt'], $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora']); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES $valueStr"; + $v = array( + $tanevDbNev, $TOB['het'], $TOB['nap'], $TOB['ora'], $TOB['tanarId'], $TOB['osztalyJel'], + $TOB['targyJel'], $TOB['teremId'], $TOB['tolDt'], $igDt + ); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + } + // A közbensőkben tanárt váltunk + if ($tanarId != $TOB['tanarId']) { + $q = "UPDATE `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + SET tanarId=%u, osztalyJel='%s', targyJel='%s' + WHERE '%s'<=tolDt AND igDt<='%s' AND tanarId=%u AND het=%u AND nap=%u AND ora=%u AND tankorId=%u"; + $v = array($tanevDbNev, $tanevDbNev, $tanarId, $osztalyJel, $targyJel, $tolDt, $igDt, $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora'], $tankorId); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + + } + + } // foreach + + // A módosított órarend ütközésellenőrzése - [k] munkatervenként külön. Itt most megengedjük, hogy ha több munkaterv is van, de egyszerre van órája a tanárnak... :/ +// $q = "SELECT tanarId, dt, ora, COUNT(*) AS db +// FROM `%s`.nap LEFT JOIN `%s`.orarendiOra +// ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) +// AND orarendiOra.het=nap.orarendiHet +// AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt +// WHERE '%s' <= dt AND dt <= '%s' +// GROUP BY munkatervId,tanarId, dt, ora +// HAVING db > 1"; + // [bb] szerintem ez a jó: a hét-nap-óra-tanár-tolDt kulcs az orarendiOra táblában, így ha két sorban ezek megegyeznek, akkor nem kell külön számolni... + $q = "SELECT tanarId, dt, ora, COUNT(DISTINCT het, nap, ora, tanarId, tolDt) AS db + FROM `%s`.nap LEFT JOIN `%s`.orarendiOra + ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) + AND orarendiOra.het=nap.orarendiHet + AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt + WHERE '%s' <= dt AND dt <= '%s' + GROUP BY tanarId, dt, ora + HAVING db > 1"; + $v = array($tanevDbNev, $tanevDbNev, $tolDt, $igDt); + $ret = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + + if (count($ret)) { // Van ütközés! + db_rollback($lr, 'Az összes ütközést ellenőriztem, és a megadott '.$tolDt.'-'.$igDt.' intervallumban egy (esetleg másik) tanárnak több órája van egy időben (tanarId='.$ret[0]['tanarId'].', dt='.$ret[0]['dt'].', ora='.$ret[0]['ora'].') - így visszaállítjuk az eredeti állapotot...'); + db_close($lr); + return false; + } + + } // aktív tanév + + db_commit($lr); + db_close($lr); + return true; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanarHozzarendeles.php b/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanarHozzarendeles.php new file mode 100644 index 00000000..600ee897 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tankorTanarHozzarendeles.php @@ -0,0 +1,224 @@ +='".$_TANEV['zarasDt']."') + ) as db + from tankorSzemeszter left join tankorTanar using (tankorId) + where tanev=".__TANEV." and tanarId=%u and beDt<='".$_TANEV['kezdesDt']."' + and (kiDt is NULL or kiDt>='".$_TANEV['zarasDt']."') group by tankorId + ) as tankorOraszamPerTanar"; + + return db_query($q, array('fv'=>'getTanarLekotottOraszam','modul'=>'naplo_intezmeny','result'=>'value','values'=>array($tanarId))); + + } + + function getTankorokBySzuro($Szuro) { + /* + osztaly U tanar U tanarNelkul || targy U mk U tanar U tanarNelkul || (osztaly M targy) U (osztaly M mk) U tanar U tanarNelkul + */ + global $_TANEV; + + $vanOsztaly = (is_array($Szuro['osztalyIds']) && count($Szuro['osztalyIds'])>0); + $vanMk = (is_array($Szuro['mkIds']) && count($Szuro['mkIds'])>0); + $vanTargy = (is_array($Szuro['targyIds']) && count($Szuro['targyIds'])>0); + $vanTanar = (is_array($Szuro['tanarIds']) && count($Szuro['tanarIds'])>0); + $vanTanarNelkuliek = (bool)$Szuro['tanarNelkuliTankorok']; + + $v = $q = array(); + if ($vanOsztaly && !$vanMk && !$vanTargy) { + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN tankorOsztaly USING (tankorId) + WHERE osztalyId IN (".implode(',', array_fill(0, count($Szuro['osztalyIds']), '%u')).") + AND tanev=".__TANEV." + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['osztalyIds']); + } + if ($vanMk) { + if ($vanOsztaly) { + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN targy USING (targyId) + WHERE mkId IN (".implode(',', array_fill(0, count($Szuro['mkIds']), '%u')).") + AND tanev=".__TANEV." + AND tankorId IN ( + SELECT tankorId FROM tankorOsztaly WHERE osztalyId IN (".implode(',', array_fill(0, count($Szuro['osztalyIds']), '%u')).") + ) + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['mkIds'], $Szuro['osztalyIds']); + } else { + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN targy USING (targyId) + WHERE mkId IN (".implode(',', array_fill(0, count($Szuro['mkIds']), '%u')).") + AND tanev=".__TANEV." + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['mkIds']); + } + } + if ($vanTargy) { + if ($vanOsztaly) { + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE targyId IN (".implode(',', array_fill(0, count($Szuro['targyIds']), '%u')).") + AND tanev=".__TANEV." + AND tankorId IN ( + SELECT tankorId FROM tankorOsztaly WHERE osztalyId IN (".implode(',', array_fill(0, count($Szuro['osztalyIds']), '%u')).") + ) + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['targyIds'], $Szuro['osztalyIds']); + } else { + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE targyId IN (".implode(',', array_fill(0, count($Szuro['targyIds']), '%u')).") + AND tanev=".__TANEV." + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['targyIds']); + } + } + if ($vanTanar) { + + $q[] = "SELECT tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN tankorTanar USING (tankorId) + WHERE tanarId IN (".implode(',', array_fill(0, count($Szuro['tanarIds']), '%u')).") + AND tanev=".__TANEV." + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + $v = array_merge($v, $Szuro['tanarIds']); + + } + if ($vanTanarNelkuliek) { + $q[] = "SELECT tankor.tankorId AS tankorId, tankorNev, targyId, tankorTipusId, avg(oraszam) AS hetiOraszam + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN tankorTanar ON tankor.tankorId=tankorTanar.tankorId AND beDt<='".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt>='".$_TANEV['zarasDt']."') + WHERE tanarId IS NULL + AND tanev=".__TANEV." + GROUP BY tankorId, tankorNev, targyId, tankorTipusId + ORDER BY tankorNev, tankorId"; + + } + + if (count($q) > 0) { + $query = '('.implode(') UNION DISTINCT (', $q).')'; + $return = db_query($query, array('debug'=>false,'fv'=>'getTankorokBySzuro','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + + for ($i=0; $i __TANEV, 'result' => 'idonly')); + // A tankör lekötött óraszáma + $tmp = getTankorTervezettOraszamok((array)$return[$i]['tankorId']); + foreach (array(1, 2) as $szemeszter) { + $osz = 0; + foreach ($tmp[ $return[$i]['tankorId'] ]['bontasOraszam'][$szemeszter-1] as $oAdat) $osz += floatval($oAdat['hetiOraszam']); + $return[$i]['tervezettOraszamok'][$szemeszter] = array('btOraszam'=> $osz, 'tszOraszam' => floatval($tmp[ $return[$i]['tankorId'] ]['oraszam'][$szemeszter-1])); + }; + $return[$i]['bontasOk'] = ( + $return[$i]['tervezettOraszamok'][1]['btOraszam']==$return[$i]['tervezettOraszamok'][1]['tszOraszam'] + && $return[$i]['tervezettOraszamok'][2]['btOraszam']==$return[$i]['tervezettOraszamok'][2]['tszOraszam'] + ); + } + + return $return; + } else { return array(); } + } + + function getTanarokBySzuro($Szuro) { + + global $_TANEV; + + // Ha nincs kiválasztott tankör, akkor nincs értelme tanárokat lekérdezni + if (!is_array($Szuro['tankorTargyIds']) || count($Szuro['tankorTargyIds']) == 0) return array(); + + // Az osztály nem játszik szerepet a lehetséges tanárok szűrésében + $vanMk = (is_array($Szuro['mkIds']) && count($Szuro['mkIds'])>0); + $vanTanar = (is_array($Szuro['tanarIds']) && count($Szuro['tanarIds'])>0); + // Tárgy mindig lesz - ha más nem a tankörökből + if (is_array($Szuro['targyIds'])) $targyIds = array_merge($Szuro['targyIds'], $Szuro['tankorTargyIds']); + else $targyIds = $Szuro['tankorTargyIds']; + + $v = $q = array(); + + { + // Itt lehet tárgy és munkaközösség, valamint a megadott tanarId-k alapján szűrni + if ($vanTanar) { + $q[] = "SELECT tanarId, concat_ws(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev) as tanarNev, + hetiMunkaora,hetiKotelezoOraszam, + hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam + FROM tanar WHERE statusz IN ('határozatlan idejű','határozott idejű','külső óraadó') + AND beDt<'".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt<'".$_TANEV['zarasDt']."') + AND tanarId IN (".implode(',', array_fill(0, count($Szuro['tanarIds']), '%u')).")"; + $v = array_merge($v, $Szuro['tanarIds']); + } + if ($vanMk) { + $q[] = "SELECT tanarId, concat_ws(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev) as tanarNev, + hetiMunkaora,hetiKotelezoOraszam, + hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam + FROM tanar LEFT JOIN mkTanar USING (tanarId) + WHERE statusz IN ('határozatlan idejű','határozott idejű','külső óraadó') + AND beDt<'".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt<'".$_TANEV['zarasDt']."') + AND mkId IN (".implode(',', array_fill(0, count($Szuro['mkIds']), '%u')).")"; + $v = array_merge($v, $Szuro['mkIds']); + } + // targyIds mindig van + $q[] = "SELECT tanarId, concat_ws(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev) as tanarNev, + hetiMunkaora,hetiKotelezoOraszam, + hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam + FROM tanar LEFT JOIN tanarKepesites USING (tanarId) + LEFT JOIN kepesitesTargy USING (kepesitesId) + WHERE statusz IN ('határozatlan idejű','határozott idejű','külső óraadó') + AND beDt<'".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt<'".$_TANEV['zarasDt']."') + AND targyId IN (".implode(',', array_fill(0, count($targyIds), '%u')).")"; + $v = array_merge($v, $targyIds); + $q[] = "SELECT tanarId, concat_ws(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev) as tanarNev, + hetiMunkaora,hetiKotelezoOraszam, + hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam + FROM tanar LEFT JOIN mkTanar USING (tanarId) + LEFT JOIN targy USING (mkId) + WHERE statusz IN ('határozatlan idejű','határozott idejű','külső óraadó') + AND beDt<'".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt<'".$_TANEV['zarasDt']."') + AND targyId IN (".implode(',', array_fill(0, count($targyIds), '%u')).")"; + $v = array_merge($v, $targyIds); + + $query = '('.implode(') UNION DISTINCT (', $q).') ORDER BY tanarNev, tanarId'; + $return = db_query($query, array('fv'=>'getTanarokBySzuro #1','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + + } + // Le kell kérdezni a tárgyait és az eddigi lekötött óraszámát a tanárnak + for ($i = 0; $i < count($return); $i++) { + $return[$i]['targyIds'] = getTargyIdsByTanarId($return[$i]['tanarId']); + $return[$i]['lekotottOraszam'] = getTanarLekotottOraszam($return[$i]['tanarId']); + } + + return $return; + + } + + function getTankorStat() { + + global $_TANEV; + + $q = "select count(distinct tankorId) from tankorSzemeszter left join tankorTanar using (tankorId) + where tanev=".__TANEV." and tankorTanar.tanarId is not null + and beDt<='".$_TANEV['kezdesDt']."' AND (kiDt IS NULL OR kiDt >= '".$_TANEV['zarasDt']."')"; + $ret['kesz'] = db_query($q, array('fv'=>'getTankorStat/1','modul'=>'naplo_intezmeny','result'=>'value')); + + $q = "select count(distinct tankorId) from tankorSzemeszter where tanev=".__TANEV; + $ret['osszes'] = db_query($q, array('fv'=>'getTankorStat/1','modul'=>'naplo_intezmeny','result'=>'value')); + + return $ret; + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/terem.php b/mayor-orig/www/include/modules/naplo/intezmeny/terem.php new file mode 100644 index 00000000..ee640a54 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/terem.php @@ -0,0 +1,25 @@ + 'teremAdatModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tovabbkepzes.php b/mayor-orig/www/include/modules/naplo/intezmeny/tovabbkepzes.php new file mode 100644 index 00000000..a7f56083 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/tovabbkepzes.php @@ -0,0 +1,159 @@ +false,'fv'=>'getTovabbkepzesek','modul'=>'naplo_intezmeny','result'=>'indexed')); + return reindex($r,array('tanarId','tovabbkepzesStatusz')); + } + + function getTanarTovabbkepzesFolyamat($dt="NOW()") { + $q = "select tanarId,tolDt,igDt,tanusitvanyDt,tanusitvanySzam from tovabbkepzesTanar WHERE NOW() BETWEEN tolDt AND igDt"; + $r = db_query($q, array('debug'=>false,'fv'=>'getTovabbkepzesek','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'tanarId')); + return $r; + } + + function getTovabbkepzesTerv($tanev) { + $q = "SELECT * FROM tovabbkepzesTanulmanyiEgyseg WHERE tanev=%u"; + $values = array($tanev); + $r = db_query($q, array('debug'=>false,'fv'=>'getTovabbkepzesek','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$values)); + return $r; + } + + function getTanarTovabbkepzesByEv($tanev,$tanarId=null) { + if ($tanarId>0) { + $values = array($tanev,$tanev,$tanarId); + $W = ' tanarId=%u AND '; + } else { + $values = array($tanev,$tanev); + $W = ''; + } + $q = "SELECT * FROM tovabbkepzesTanar + WHERE $W tolDt<=DATE(CONCAT(%u+1,'-08-31')) AND (igDt>=DATE(CONCAT(%u,'-09-01')) OR igDt IS NULL) AND (tanusitvanySzam='' or tanusitvanySzam IS NULL)"; + $r = db_query($q, array('debug'=>false,'fv'=>'getTanarTovabbkepzesByEv','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$values)); + return $r; + } + + // TODO ? + function getTanarTeljesitettTanulmanyiEgyseg() { + $q = "SELECT * FROM tovabbkepzesTanulmanyiEgyseg LEFT JOIN tovabbkepzesTanar USING (tovabbkepzesId,tanarId) WHERE tovabbkepzesStatusz='teljesített'"; + $values = array($tanarId); + $r = db_query($q, array('debug'=>false,'fv'=>'getTanarTovabbkepzesByEv','modul'=>'naplo_intezmeny','result'=>'multiassoc','keyfield'=>'tanarId','values'=>$values)); + return $r; + } + + function getTanarTovabbkepzesek($SET = array()) { + $W = ''; + $values=array(); + if (is_array($SET) && count($SET)>0) { + foreach ($SET as $k => $v) { + $M[] = "$k='%s'"; + $values[] = $v; + } + $W = 'WHERE '.implode(' AND ',$M); + } + $q = "SELECT * FROM tovabbkepzesTanar ".$W; + $r = db_query($q, array('debug'=>false,'fv'=>'getTovabbkepzesek','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$values)); + return $r; + } + function getTovabbkepzesek() { + $q = "SELECT * FROM tovabbkepzes LEFT JOIN tovabbkepzoIntezmeny USING (tovabbkepzointezmenyId) ORDER BY tovabbkepzesNev"; + $r = db_query($q, array('fv'=>'getTovabbkepzesek','modul'=>'naplo_intezmeny','result'=>'indexed')); + return $r; + } + function getTovabbkepzoIntezmenyek() { + $q = "SELECT * FROM tovabbkepzoIntezmeny ORDER BY intezmenyRovidnev,intezmenyNev"; + $r = db_query($q, array('fv'=>'getTovabbkepzoIntezmenyek','modul'=>'naplo_intezmeny','result'=>'indexed')); + return $r; + } + function getKeretosszeg($tanev) { + $q = "SELECT keretOsszeg FROM tovabbkepzesKeret WHERE tanev=%u"; + $v = array($tanev); + $r = db_query($q, array('fv'=>'getKeretosszeg','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + return $r; + } + + function ujTovabbkepzoIntezmeny($ADAT) { + $q = "INSERT INTO tovabbkepzoIntezmeny (intezmenyRovidnev,intezmenyNev) VALUES ('%s','%s')"; + $v = array($ADAT['intezmenyRovidNev'],$ADAT['intezmenyNev']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzoIntezmeny','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v)); + return $r; + } + + + function modKeretosszeg($tanev,$keretOsszeg) { + $q = "REPLACE INTO tovabbkepzesKeret (tanev,keretOsszeg) VALUES (%u,%u)"; + $v = array($tanev,$keretOsszeg); + db_query($q, array('debug'=>false,'fv'=>'modKeretOsszeg','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v)); + } + + function ujTovabbkepzes($ADAT) { + if ($ADAT['tovabbkepzesNev']=='') return false; + $q = "INSERT INTO tovabbkepzes (tovabbkepzesNev,tovabbkepzoIntezmenyId, oraszam, kategoria, akkreditalt) VALUES ('%s',%u,%u,'%s',%u)"; + $v = array($ADAT['tovabbkepzesNev'],$ADAT['tovabbkepzoIntezmenyId'],$ADAT['oraszam'],$ADAT['kategoria'],$ADAT['akkreditalt']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzes','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v)); + return $r; + } + function modTovabbkepzes($ADAT) { + if ($ADAT['tovabbkepzesId']=='') return false; + $q = "UPDATE tovabbkepzes SET tovabbkepzesNev='%s',oraszam=%u,kategoria='%s' WHERE tovabbkepzesId=%u"; + $v = array($ADAT['tovabbkepzesNev'],$ADAT['oraszam'],$ADAT['kategoria'],$ADAT['tovabbkepzesId']); + $r = db_query($q, array('debug'=>false,'fv'=>'modTovabbkepzes','modul'=>'naplo_intezmeny','result'=>'update','values'=>$v)); + return $r; + } + function ujTovabbkepzesTanar($ADAT) { + if ($ADAT['tovabbkepzesId']=='') return false; + $q = "INSERT INTO tovabbkepzesTanar (tovabbkepzesId,tanarId, tolDt, igDt) VALUES (%u,%u,'%s','%s')"; + $v = array($ADAT['tovabbkepzesId'],$ADAT['tanarId'],$ADAT['tolDt'],$ADAT['igDt']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v)); + return $r; + } + function modTovabbkepzesTanar($ADAT) { + //if ($ADAT['tovabbkepzesId']=='') return false; + $q = "UPDATE tovabbkepzesTanar SET tolDt='%s', igDt='%s', tanusitvanyDt='%s', tanusitvanySzam='%s' WHERE tovabbkepzesId=%u AND tanarId=%u"; + $v = array($ADAT['tolDt'],$ADAT['igDt'],$ADAT['tanusitvanyDt'],$ADAT['tanusitvanySzam'],$ADAT['tovabbkepzesId'],$ADAT['tanarId']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'update','values'=>$v)); + return $r; + } + function delTovabbkepzesTanar($ADAT) { + //if ($ADAT['tovabbkepzesId']=='') return false; + $q = "DELETE FROM tovabbkepzesTanar WHERE tovabbkepzesId=%u AND tanarId=%u"; + $v = array($ADAT['tovabbkepzesId'],$ADAT['tanarId']); + $r = db_query($q, array('debug'=>false,'fv'=>'delTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'delete','values'=>$v)); + return $r; + } + function ujTovabbkepzesTE($ADAT,$lr) { + $q = "INSERT INTO tovabbkepzesTanulmanyiEgyseg (tovabbkepzesId, tanarId, tanev, reszosszeg, tamogatas, tovabbkepzesStatusz, tavollet,helyettesitesRendje,prioritas) VALUES (%u,%u,%u,%u,%u,'%s','%s','%s','%s')"; + $v = array($ADAT['tovabbkepzesId'],$ADAT['tanarId'],$ADAT['tanev'],intval($ADAT['reszosszeg']),intval($ADAT['tamogatas']),$ADAT['tovabbkepzesStatusz'],$ADAT['tavollet'],$ADAT['helyettesitesRendje'],$ADAT['prioritas']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v),$lr); + } + function modTovabbkepzesTE($ADAT) { + $lr = db_connect('naplo_intezmeny'); + $q = "SELECT count(*) AS db FROM tovabbkepzesTanulmanyiEgyseg WHERE tovabbkepzesId=%u AND tanarId=%u AND tanev=%u"; + $v = array($ADAT['tovabbkepzesId'],$ADAT['tanarId'],$ADAT['tanev']); + $db = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v),$lr); + if ($db==0) { + ujTovabbkepzesTE($ADAT,$lr); + $q = "UPDATE tovabbkepzesTanulmanyiEgyseg SET reszosszeg=%u,tamogatas=%u,tovabbkepzesStatusz='%s',tavollet='%s',helyettesitesRendje='%s',prioritas='%s' WHERE tovabbkepzesId=%u AND tanarId=%u AND tanev=%u"; + $v = array(intval($ADAT['reszosszeg']),intval($ADAT['tamogatas']),$ADAT['tovabbkepzesStatusz'],$ADAT['tavollet'],$ADAT['helyettesitesRendje'],$ADAT['prioritas'],$ADAT['tovabbkepzesId'],$ADAT['tanarId'],$ADAT['tanev']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v),$lr); + + } else { + $q = "UPDATE tovabbkepzesTanulmanyiEgyseg SET reszosszeg=%u,tamogatas=%u,tovabbkepzesStatusz='%s',tavollet='%s',helyettesitesRendje='%s',prioritas='%s' WHERE tovabbkepzesId=%u AND tanarId=%u AND tanev=%u"; + $v = array(intval($ADAT['reszosszeg']),intval($ADAT['tamogatas']),$ADAT['tovabbkepzesStatusz'],$ADAT['tavollet'],$ADAT['helyettesitesRendje'],$ADAT['prioritas'],$ADAT['tovabbkepzesId'],$ADAT['tanarId'],$ADAT['tanev']); + $r = db_query($q, array('debug'=>false,'fv'=>'ujTovabbkepzesTanar','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v),$lr); + } + db_commit($lr); + db_close($lr); + } + function delTovabbkepzesTE($ADAT) { + // echo 'EZT TÖRÖLNÉM'; + // dump($ADAT); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/valtas.php b/mayor-orig/www/include/modules/naplo/intezmeny/valtas.php new file mode 100644 index 00000000..702766bb --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/intezmeny/valtas.php @@ -0,0 +1,9 @@ +false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array(_USERACCOUNT,_POLICY))); + $q = "INSERT INTO settings (userAccount,policy,intezmeny) VALUES ('%s','%s','%s')"; + return db_query($q, array('debug'=>false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array(_USERACCOUNT,_POLICY,$intezmeny))); + } +?> diff --git a/mayor-orig/www/include/modules/naplo/koszi/esemenyAdmin.php b/mayor-orig/www/include/modules/naplo/koszi/esemenyAdmin.php new file mode 100644 index 00000000..4243cf79 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/koszi/esemenyAdmin.php @@ -0,0 +1,86 @@ +'naplo_intezmeny','fv'=>'koszi_ujEsemeny','values'=>$v, 'result'=>'insert')); + + } + + function ujKosziPont($ADAT) { + + // kosziHelyezes NULL / 0 ?? + + if ($ADAT['kosziPontTipus']=='') return false; + + $q = "INSERT INTO kosziPont (kosziEsemenyId,kosziPontTipus,kosziPont,kosziHelyezes) VALUES (%u,'%s',%u,%u)"; + $v = array($ADAT['kosziEsemenyId'],$ADAT['kosziPontTipus'],$ADAT['kosziPont'],intval($ADAT['kosziHelyezes'])); + + return db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'koszi_ujPont','values'=>$v, 'result'=>'insert')); + + } + + function ujKoszi($ADAT) { +/* ++----------------+-----------------------------------------+------+-----+---------+----------------+ +| kosziId | int(10) unsigned | NO | PRI | NULL | auto_increment | +| kosziEsemenyId | int(10) unsigned | NO | MUL | NULL | | +| dt | date | YES | | NULL | | +| tanev | smallint(5) unsigned | YES | | NULL | | +| felev | tinyint(3) unsigned | YES | | NULL | | +| igazolo | set('diák','tanár','osztályfőnök') | YES | | NULL | | ++----------------+-----------------------------------------+------+-----+---------+----------------+ +*/ + + $keys = array('kosziEsemenyId','dt','igazolo'); + $pattern = array("%u","'%s'","'%s'"); + $v = array($ADAT['kosziEsemenyId'],$ADAT['dt'],$ADAT['igazolo']); + + if (!is_null($ADAT['targyId'])) { $keys[] = 'targyId'; $pattern[] = "%u"; $v[]=$ADAT['targyId'];} + if (!is_null($ADAT['felev'])) { $keys[] = 'felev'; $pattern[] = "%u"; $v[]=$ADAT['felev'];} + if (!is_null($ADAT['tolDt'])) { $keys[] = 'tolDt'; $pattern[] = "'%s'"; $v[]=$ADAT['tolDt'];} + if (!is_null($ADAT['igDt'])) { $keys[] = 'igDt'; $pattern[] = "'%s'"; $v[]=$ADAT['igDt'];} + + $q = "INSERT INTO koszi (".implode(',',$keys).") VALUES (".implode(',',$pattern).")"; + return db_query($q, array('modul'=>'naplo','fv'=>'koszi_ujKoszi','values'=>$v, 'result'=>'insert')); + + } + + function delKoszi($kosziIds) { + for ($i=0; $i'naplo','fv'=>'koszi_del','values'=>$v, 'result'=>'delete')); + } + } + + function kosziIgazolo($kosziId, $IDK,$tipus) { + +/* +| kosziId | int(10) unsigned | NO | PRI | NULL | | +| diakId | int(10) unsigned | NO | PRI | NULL | | +*/ + + if ($tipus=='Diak') $t = 'diak'; else $t='tanar'; + + for ($i=0; $i'naplo','fv'=>'koszi_ujKapcsolat','values'=>$v, 'result'=>'insert')); + } + + return; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/koszi/koszi.php b/mayor-orig/www/include/modules/naplo/koszi/koszi.php new file mode 100644 index 00000000..0e6e9572 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/koszi/koszi.php @@ -0,0 +1,40 @@ +'naplo','fv'=>'koszi_ujKosziDiak','values'=>$v, 'result'=>'value')); + + if ($db>0) { + $_SESSION['alert'][] = 'info:koszi_dup'; + return false; + } + + + $q = "SELECT kosziPont FROM kosziPont WHERE kosziPontId=%u"; + $v = array($ADAT['kosziPontId']); + $pont = db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'koszi_ujKosziDiak','values'=>$v, 'result'=>'value')); + + + if (is_numeric($pont) && is_numeric($ADAT['kosziId']) && is_numeric($ADAT['diakId'])) { + $q = "INSERT INTO kosziDiak (kosziId,diakId,kosziPontId,pont) VALUES (%u,%u,%u,%u)"; + $v = array($ADAT['kosziId'],$ADAT['diakId'],$ADAT['kosziPontId'],$pont); + return db_query($q, array('modul'=>'naplo','fv'=>'koszi_ujKosziDiak','values'=>$v, 'result'=>'insert')); + } else { + return false; + } + + } +?> diff --git a/mayor-orig/www/include/modules/naplo/koszi/kosziAdmin.php b/mayor-orig/www/include/modules/naplo/koszi/kosziAdmin.php new file mode 100644 index 00000000..50ba9981 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/koszi/kosziAdmin.php @@ -0,0 +1,82 @@ +'naplo','fv'=>'koszi_jovahagyhato','values'=>$v, 'result'=>'value')); + return ($r==1); + + } + + function kosziJovahagyhatoByTanarId($kosziId,$tanarId) { + + + $q = "SELECT count(*) AS c FROM kosziIgazoloTanar WHERE kosziId=%u AND tanarId=%u"; + $v = array($kosziId,$tanarId); + $r1 = db_query($q, array('modul'=>'naplo','fv'=>'koszi_jovahagyhato','values'=>$v, 'result'=>'value')); + + $q = "SELECT count(*) AS c FROM kosziIgazoloOf WHERE kosziId=%u AND tanarId=%u"; + $v = array($kosziId,$tanarId); + $r2 = db_query($q, array('modul'=>'naplo','fv'=>'koszi_jovahagyhato','values'=>$v, 'result'=>'value')); + + /* Ez sajnos jóval bonyolultabb lett v2.0: ilyen: szinkronizáld a share/koszi.php - ben levő függvénnyel, ami HASONLÓ */ + + $q = "SELECT count(*) AS c FROM kosziDiak + LEFT JOIN kosziIgazoloTanar USING (kosziId) + LEFT JOIN kosziIgazoloOf USING (kosziId) + LEFT JOIN koszi USING (kosziId) + LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + WHERE kosziDiak.kosziId=%u AND jovahagyasDt='0000-00-00 00:00:00' AND + ( + ( + (kosziIgazoloTanar.tanarId=%u AND kosziIgazoloOf.tanarId IS NULL) Or + (kosziIgazoloTanar.tanarId IS NULL AND kosziIgazoloOf.tanarId=%u) + ) OR ( + koszi.igazolo LIKE '%%osztályfőnök%%' AND + diakId IN ( + SELECT diakId FROM ".__INTEZMENYDBNEV.".osztalyTanar + LEFT JOIN ".__INTEZMENYDBNEV.".osztalyDiak USING (osztalyId) + WHERE tanarId=%u AND osztalyTanar.beDt<=NOW() AND (osztalyTanar.kiDt IS NULL OR osztalyTanar.kiDt>=NOW()) + ) + ) OR ( + koszi.igazolo LIKE '%%tanár%%' AND + diakId IN ( + SELECT diakId FROM ".__INTEZMENYDBNEV.".tankorTanar + LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiak USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + WHERE tanarId=%u AND ".__INTEZMENYDBNEV.".tankor.targyId = koszi.targyId + ) + ) + ) + "; + $v = array($kosziId, $tanarId, $tanarId,$tanarId,$tanarId,$tanarId); + $r3 = db_query($q, array('debug'=>false,'modul'=>'naplo','result'=>'value', 'values'=>$v)); + return ($r1==1 || $r2==1 || $r3==1); + + } + + + function kosziElutasit($kosziId,$diakId) { + + // delete helyett update elutasítva flag állítása? + + $q = "DELETE FROM kosziDiak WHERE kosziId=%u AND diakId=%u"; + $v = array($kosziId,$diakId); + db_query($q, array('modul'=>'naplo','fv'=>'koszi_torol','values'=>$v, 'result'=>'delete')); + + } + + function kosziJovahagy($kosziId,$diakId) { + $q = "UPDATE kosziDiak SET jovahagyasDt=NOW() WHERE kosziId=%u AND diakId=%u"; + $v = array($kosziId,$diakId); + db_query($q, array('modul'=>'naplo','fv'=>'koszi_jovahagy','values'=>$v, 'result'=>'update')); + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/naplo.php b/mayor-orig/www/include/modules/naplo/naplo.php new file mode 100644 index 00000000..e7923a72 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/naplo.php @@ -0,0 +1,12 @@ + 'getBeirasiAdatok', 'modul' => 'naplo', 'result' => 'value')); + } else return 0; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/beiskolazasiTerv.php b/mayor-orig/www/include/modules/naplo/nyomtatas/beiskolazasiTerv.php new file mode 100644 index 00000000..1fd6402e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/beiskolazasiTerv.php @@ -0,0 +1,64 @@ +'getBeiskolazasiTerv','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($tanev))); + + } + + function beiskolazasNyomtatvanyKeszites($ADAT) { + + global $Honapok; + + // A sablonfile meghatározása + define('__TEMPLATE_DIR', _MAYOR_DIR.'/print/module-naplo/templates'); + $tmplFile = 'beiskolazasiTerv'; + + if (file_exists(__TEMPLATE_DIR.'/'.__INTEZMENY.'/'.$tmplFile.'.tmpl')) { + $templateFile = __TEMPLATE_DIR.'/'.__INTEZMENY.'/'.$tmplFile.'.tmpl'; + } elseif (file_exists(__TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl')) { + $templateFile = __TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl'; + } else { + $_SESSION['alert'][] = 'message:file_not_found:'.__TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl'; + return false; + } + + $Intezmeny = getIntezmenyByRovidnev(__INTEZMENY); + list($ev, $ho, $nap) = explode('-', $ADAT['tanulmanyiEgyseg']['igDt']); + $DATA = array( + 'file' => $ADAT['file'], + 'base' => array('nyomtatasDt' => date('Y.m.d'), 'nyomtatasDatumStr' => date('Y. m. d.'), + 'datumEv' => $ev, 'datumHonap' => $ho, 'datumNap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]), + 'intezmenyNev' => $Intezmeny['nev'], 'intezmenyOMKod' => $Intezmeny['OMKod'], 'intezmenyCimIrsz' => $Intezmeny['cimIrsz'], + 'intezmenyCimHelyseg' => $Intezmeny['cimHelyseg'], 'intezmenyCimKozteruletNev' => $Intezmeny['cimKozteruletNev'], + 'intezmenyCimKozteruletJelleg' => $Intezmeny['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $Intezmeny['cimHazszam'], + 'intezmenyTelefon' => $Intezmeny['telefon'], 'intezmenyHonlap' => $Intezmeny['honlap'], + 'intezmenyFax' => $Intezmeny['fax'], 'intezmenyEmail' => $Intezmeny['email'], + + 'tanevJele'=>$ADAT['tanev'].'/'.($ADAT['tanev']+1), 'tanev'=>$ADAT['tanev'], + + 'tanulmanyiEgyseg' => range(0, count($ADAT['tanulmanyiEgyseg'])-1), + + ), + 'tanulmanyiEgyseg' => $ADAT['tanulmanyiEgyseg'] + + ); + for ($i = 0; $i < count($ADAT['tanulmanyiEgyseg']); $i++) { + $TE = $ADAT['tanulmanyiEgyseg'][$i]; + $DATA['tanulmanyiEgyseg'][$i]['tanarNev'] = $ADAT['tanarok'][ $TE['tanarId'] ]['tanarNev']; + $DATA['tanulmanyiEgyseg'][$i]['tolDt'] = str_replace('-','. ',$TE['tolDt']).'.'; + $DATA['tanulmanyiEgyseg'][$i]['igDt'] = str_replace('-','. ',$TE['igDt']).'.'; + //$DATA['tanulmanyiEgyseg'][$i]['tanarBesorolas'] = $ADAT['tanarok'][ $TE['tanarId'] ]['besorolas']; + } + +//dump($ADAT); +//dump($DATA); +//return false; +//die(); + return template2file($templateFile, $DATA); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/bizonyitvanyNyomtatas.php b/mayor-orig/www/include/modules/naplo/nyomtatas/bizonyitvanyNyomtatas.php new file mode 100644 index 00000000..b4d254d2 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/bizonyitvanyNyomtatas.php @@ -0,0 +1,164 @@ + diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/diakAdatlap.php b/mayor-orig/www/include/modules/naplo/nyomtatas/diakAdatlap.php new file mode 100644 index 00000000..46adec96 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/diakAdatlap.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/diakTankorJelentkezes.php b/mayor-orig/www/include/modules/naplo/nyomtatas/diakTankorJelentkezes.php new file mode 100644 index 00000000..7eb0807e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/diakTankorJelentkezes.php @@ -0,0 +1,336 @@ + $TB) { + for ($j = 0; $j < count($TB); $j++) { + $TID2B[$TB[$j]][] = $blokkId; + $TID2BN[$TB[$j]][] = $tankorBlokkok['blokkNevek'][$blokkId]; + } + } + $v = array(); + if (is_array($OSZTALYIDK) && count($OSZTALYIDK) > 0) { + $W = " AND osztalyId IN (".implode(',', array_fill(0, count($OSZTALYIDK), '%u')).")"; + $v = $OSZTALYIDK; + } + $q = "SELECT DISTINCT tankorId, targyId, kovetelmeny, min, max, tanev, szemeszter, oraszam, tankorNev + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) JOIN tankorOsztaly USING (tankorId) + WHERE tanev=%u and szemeszter=%u and tankor.felveheto =1".$W." ORDER BY tankorNev,tankor.tankorId"; + array_unshift($v, $tanev, $szemeszter); + $felvehetoTankorok = db_query($q,array('debug'=>false,'fv' => 'getValasztottTankorok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($felvehetoTankorok); $i++) { + $_tankorId = $felvehetoTankorok[$i]['tankorId']; + if ($_tankorId != null) { + $fTankorok[$_tankorId] = $felvehetoTankorok[$i]; + $fTankorok[$_tankorId]['blokkIdk'] = $TID2B[$_tankorId]; + $fTankorok[$_tankorId]['blokkNevek'] = $TID2BN[$_tankorId]; + //$felvehetoTankorok[$_tankorid]['letszam'] = getTankorLetszam($felvehetoTankorok[$i]['tankorId'],$DT); + $fTankorok[$_tankorId]['tanarok'] = getTankorTanaraiByInterval($_tankorId, array('tolDt' => $DT['tolDt'], 'igDt' => $DT['igDt'], 'result' => 'nevsor')); + $FT[] = $_tankorId; + } + } + + if (is_array($FT) && count($FT) > 0) { + if (is_array($OSZTALYIDK) && count($OSZTALYIDK)>0) { + $W .= " AND osztalyDiak.beDt<='".$DT['tolDt']."' AND (osztalyDiak.kiDt IS NULL OR '".$DT['tolDt']."'<=osztalyDiak.kiDt)"; + $v = mayor_array_join($FT, $OSZTALYIDK); + } else { $v = $FT; } + $q = "SELECT tankorId,diakId FROM tankorDiak LEFT JOIN diak USING (diakId) LEFT JOIN osztalyDiak USING (diakId) + WHERE tankorId IN (".implode(',', array_fill(0, count($FT), '%u')).") $W + ORDER BY CONCAT_WS(' ',viseltCsaladinev,viseltUtonev)"; + $r = db_query($q,array('debug'=>false,'fv' => 'getValasztottTankorok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($r); $i++) { + $felvett[$r[$i]['diakId']][] = $r[$i]['tankorId']; + } + } + + $ADAT['felveheto'] = $fTankorok; + $ADAT['felvett'] = $felvett; + return $ADAT; + } + + function texLevelGeneralasMasodikNyelvValasztas($ADAT) { + + $return = ''; + $return .= ' +\documentclass[8pt]{article} + +\usepackage[a5paper]{geometry} % A5-os méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{fancyhdr} % Ritkítás +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +\addtolength{\textheight}{16mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\tiny '.$ADAT['intezmeny']['nev'].'} +\rhead{\tiny 2. nyelv jelentkezés '.$ADAT['tanev'].'} +\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: '.date('Y.m.d.').'} +\begin{document} +'; + $Tankorok = $tankorNev = $ADAT['valasztott']['felveheto']; + if (is_array($ADAT['valasztott']['felvett'])) foreach ($ADAT['valasztott']['felvett'] as $diakId => $tankorIds) { + $diakNev = $ADAT['diakAdat'][$diakId]['diakNev']; + $diakOsztaly = $ADAT['osztalyok'][ $ADAT['diakOsztaly'][$diakId][0] ]['osztalyJel']; + + $return .= ' +\begin{center} +{\large\bfseries J E L E N T K E Z É S}\\\\ +\small + +\vspace{12pt} + +A '.$ADAT['tanev'].'. szeptemberében induló\\\\ +második idegen nyelv képzésre + +\vspace{12pt} + +{\bfseries\normalsize '.$diakNev.'}\\\\ +'.$diakOsztaly.' osztály\\\\ +\end{center} + +\vspace{10pt} + +\footnotesize +A Városmajori Gimnázium Pedagógiai Programja szerint az iskola tanulói a 9-12. évfolyamon +(kötelező módon) két különböző idegen nyelvet tanulnak. Az első idegen nyelv az adott osztálynak, +ill. a nyelvi előkészítő osztály adott csoportjának már előzetesen meghatározott, azonban a második +nyelvet mindenki – az iskola lehetőségeinek figyelembevétele mellett – szabadon választhatja meg. +Amennyiben a választott idegen nyelvet elegendő számú diák jelölte meg, úgy lehetőség van a +nyelvi csoport indítására. (A csoportok évfolyamszintű bontásban kerülnek kialakításra.) A nyelvi +csoportok várható létszáma 12-18 fő közötti lesz. A 9. évfolyamtól a 12. évfolyam végéig ez a +tantárgy is ugyanolyan kötelező lesz, mint a többi tárgy. +nem lehet hiányozni róla és jegyet kell szerezni belőle.) + +A fentiek tudomásul vételével, az internetes jelentkezési felületen a '.$ADAT['tanev'].'/'.($ADAT['tanev']+1).' tanév +9. évfolyamos diákjai számára meghirdetett képzések közül általam választott 2. idegen nyelv: + +\vspace{16pt} + +\begin{tabular}{l|l|c|l} +Tankör neve & Blokk & Óraszám & Tanár \\\\ +\toprule +%%\hline +'; + + + + for ($i = 0; $i < count($tankorIds); $i++) { + $tankorId = $tankorIds[$i]; + $tankorNev = $Tankorok[$tankorId]['tankorNev']; + $oraszam = intval($Tankorok[$tankorId]['oraszam']); + if (is_array($Tankorok[$tankorId]['tanarok']) && count($Tankorok[$tankorId]['tanarok']) > 0) + $tanarNev = $Tankorok[$tankorId]['tanarok'][0]['tanarNev']; + else $tanarNev = '{\slshape n.a.}'; + if (is_array($Tankorok[$tankorId]['blokkNevek'])) $blokkNev = implode(', ', $Tankorok[$tankorId]['blokkNevek']); + else $blokkNev = ''; + $return .= '\vbox to 1.2em {}'.$tankorNev.' & '.$blokkNev.' & '.$oraszam.' & '.$tanarNev.' \\\\ +\hline'; + +//echo $tankorId.' '.$tankorNev.' '.$oraszam.':'.$blokkNev.'
'; +//echo $diakId.' '.$diakNev.' '.$diakOsztaly.'
'; +//echo '
';
+//var_dump($ADAT); die();
+            }
+
+            $return .= '
+%%\bottomrule
+\end{tabular}
+
+\vspace{16pt}
+
+
+Amennyiben a választott nyelv az angol vagy a német, úgy a megfelelő szó aláhúzásával kérjük 
+megadni, hogy az adott nyelvet kezdő vagy haladó szintről szeretné elkezdeni tanulni:
+
+\begin{center}
+\vspace{10pt}
+
+{
+\bfseries
+\begin{tabular}{ccc}
+kezdő szintet választom&\hspace{1cm}\ &haladó szintről szeretném kezdeni\\\\
+\end{tabular}
+}
+
+\vspace{10pt}
+
+(A haladó szintet választóknak egy szintfelmérő vizsgán kell részt venniük, ami alapján a nyelvi 
+csoportbesorolást elvégezzük.)
+
+\vspace{12pt}
+
+{\slshape Az aláírt jelentkezési lap osztályfőnöknél történő leadásának határideje:} {\bfseries '.$ADAT['leadasiHatarido'].'}
+
+\vspace{20pt}
+\begin{flushleft}
+{\scriptsize Budapest, '.$ADAT['tanev'].'. április}
+\end{flushleft}
+\vspace{20pt}\slshape\scriptsize
+\begin{tabular}{ccc}
+\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\\\
+tanuló&&szülő/gondviselő\\\\
+\end{tabular}
+
+\end{center}
+\newpage %%%%% új oldal %%%%%';
+
+
+        }
+
+	$return .= '
+\end{document}';
+
+
+	return $return;
+    }
+
+/* ---- eredeti ---- */
+
+    function texLevelGeneralas($ADAT) {
+
+	$return = '';
+	$return .= '
+\documentclass[8pt]{article}
+
+\usepackage[a5paper]{geometry} % A5-os méret
+\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás
+\usepackage{t1enc}
+\usepackage[magyar]{babel} % magyar elválasztási szabályok
+\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után
+\usepackage{booktabs} % táblázatok magasabb szintű formázása
+\usepackage{fancyhdr} % Ritkítás
+\pagestyle{fancy}
+\def\mayor{%
+\font\mayorfnt=cmsl4%
+\font\Mayorfnt=cmsl6
+{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}}
+\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont}
+%\addtolength{\skip\footins}{2mm}
+\addtolength{\textheight}{16mm}
+\setlength{\footskip}{26pt}
+\setlength{\headsep}{24pt}
+\lhead{\tiny '.$ADAT['intezmeny']['nev'].'}
+\rhead{\tiny Fakultációs jelentkezés '.$ADAT['tanev'].'}
+\cfoot{\tiny \copyright\mayor\ elektronikus napló - Nyomtatva: '.date('Y.m.d.').'}
+\begin{document}
+';
+        $Tankorok = $tankorNev = $ADAT['valasztott']['felveheto'];
+        if (is_array($ADAT['valasztott']['felvett'])) foreach ($ADAT['valasztott']['felvett'] as $diakId => $tankorIds) {
+            $diakNev = $ADAT['diakAdat'][$diakId]['diakNev'];
+            $diakOsztaly = $ADAT['osztalyok'][ $ADAT['diakOsztaly'][$diakId][0] ]['osztalyJel'];
+
+	    $return .= '
+\begin{center}
+{\large\bfseries J E L E N T K E Z É S}\\\\
+\small
+
+\vspace{12pt}
+
+A '.$ADAT['tanev'].'. szeptemberében induló\\\\
+közép- és emeltszintű érettségire előkészítő képzésekre
+
+\vspace{12pt}
+
+{\bfseries\normalsize '.$diakNev.'}\\\\
+'.$diakOsztaly.' osztály\\\\
+
+\vspace{12pt}
+
+A '.$ADAT['tanev'].'/'.($ADAT['tanev']+1).' tanév 11. évfolyamos diákjai számára meghirdetett képzések közül
+–~az internetes jelentkezés adatai alapján~– 
+%–~az elektronikus adminisztrációs rendszer adatai alapján~–
+az alábbi képzéseket választottam: 
+
+\vspace{16pt}
+
+\begin{tabular}{l|l|c|l}
+Tankör neve & Blokk & Óraszám & Tanár \\\\ 
+\toprule
+\hline
+';
+
+
+
+            for ($i = 0; $i < count($tankorIds); $i++) {
+                $tankorId = $tankorIds[$i];
+                $tankorNev = $Tankorok[$tankorId]['tankorNev'];
+                $oraszam = intval($Tankorok[$tankorId]['oraszam']);
+		if (is_array($Tankorok[$tankorId]['tanarok']) && count($Tankorok[$tankorId]['tanarok']) > 0) 
+		    $tanarNev = $Tankorok[$tankorId]['tanarok'][0]['tanarNev'];
+		else $tanarNev = '{\slshape n.a.}';
+                if (is_array($Tankorok[$tankorId]['blokkNevek'])) $blokkNev = implode(', ', $Tankorok[$tankorId]['blokkNevek']);
+                else $blokkNev = '';
+		$return .= '\vbox to 1.2em {}'.$tankorNev.' & '.$blokkNev.' & '.$oraszam.' & '.$tanarNev.' \\\\ 
+\hline';
+
+//echo $tankorId.' '.$tankorNev.' '.$oraszam.':'.$blokkNev.'
'; +//echo $diakId.' '.$diakNev.' '.$diakOsztaly.'
'; +//echo '
';
+//var_dump($ADAT); die();
+            }
+
+            $return .= '
+\bottomrule
+\end{tabular}
+
+\vspace{16pt}
+
+Tudomásul veszem, hogy az általam választott, két tanévre meghirdetett tantárgyak a következő tanévben számomra kötelezőek lesznek, leadásukra csak a 
+11. osztályos követelmények teljesítése után lesz lehetőségem.\footnotemark[1]
+\footnotetext[1]{Az iskola belső szabályai szerint a 12. évfolyamban is meg kell maradjon legalább heti 4 óra választott képzés, továbbá más tankör 
+utólagos felvétele létszámkeretekhez, illetve a sikeres különbözeti vizsga letételéhez köthető.}
+
+\vspace{12pt}
+
+{\slshape Az aláírt jelentkezési lap osztályfőnöknél történő leadásának határideje:} {\bfseries '.$ADAT['leadasiHatarido'].'}
+
+\vspace{20pt}
+\begin{flushleft}
+{\scriptsize Budapest, '.$ADAT['tanev'].'. június}
+\end{flushleft}
+\vspace{20pt}\slshape\scriptsize
+\begin{tabular}{ccc}
+\rule{3.5cm}{0.1pt}&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\\\
+tanuló&&szülő/gondviselő\\\\
+\end{tabular}
+
+\end{center}
+\newpage %%%%% új oldal %%%%%';
+
+
+        }
+
+	$return .= '
+\end{document}';
+
+
+	return $return;
+    }
+
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/ertesito.php b/mayor-orig/www/include/modules/naplo/nyomtatas/ertesito.php
new file mode 100644
index 00000000..5c1a5c97
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/ertesito.php
@@ -0,0 +1,101 @@
+ $ADAT['file'],
+            'base' => array('nyomtatasDt' => date('Y.m.d'), 'ev' => $ev, 'honap' => $ho, 'nap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]),
+		'tanevKezdesEv' => $ADAT['szemeszterAdat']['tanev'], 'tanevZarasEv' => ($ADAT['szemeszterAdat']['tanev']+1), 
+		'szemeszter' => $ADAT['szemeszterAdat']['szemeszter'],
+                'intezmenyNev' => $ADAT['intezmeny']['nev'], 'intezmenyCimIrsz' => $ADAT['intezmeny']['cimIrsz'],
+                'intezmenyCimHelyseg' => $ADAT['intezmeny']['cimHelyseg'], 'intezmenyCimKozteruletNev' => $ADAT['intezmeny']['cimKozteruletNev'],
+                'intezmenyCimKozteruletJelleg' => $ADAT['intezmeny']['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $ADAT['intezmeny']['cimHazszam'],
+                'intezmenyTelefon' => $ADAT['intezmeny']['telefon'], 'intezmenyHonlap' => $ADAT['intezmeny']['honlap'],
+                'intezmenyFax' => $ADAT['intezmeny']['fax'], 'intezmenyEmail' => $ADAT['intezmeny']['email'],
+                'diak' => array(), 'osztaly' => $ADAT['osztaly']['osztalyJel'],
+		'magatartas' => '', 'szorgalom' => '', 
+		'igazolt' => 0, 'igazolatlan' => 0, 'kesesIgazolatlan' => 0, 'kesesPercOsszeg' => 0, 
+		'gyakIgazolt' => 0, 'gyakIgazolatlan' => 0, 'gyakKesesIgazolatlan' => 0, 'gyakKesesPercOsszeg' => 0, 
+		'elmIgazolt' => 0, 'elmIgazolatlan' => 0, 'elmKesesIgazolatlan' => 0, 'elmKesesPercOsszeg' => 0, 
+		'mJel' => '', 'megjegyzes' => '',
+            ),
+            'diak' => $ADAT['diakok'],
+        );
+	for ($i = 0; $i < count($ADAT['diakIds']); $i++) if (isset($ADAT['jegyek'][ $ADAT['diakIds'][$i] ])) $DATA['base']['diak'][] = $ADAT['diakIds'][$i];
+	for ($i = 0; $i < count ($ADAT['targyak']); $i++) {
+	    $DATA['targy'][ $ADAT['targyak'][$i]['targyId'] ] = $ADAT['targyak'][$i];
+	}
+	if (is_array($ADAT['jegyek']) && count($ADAT['jegyek']) > 0) foreach ($ADAT['jegyek'] as $diakId => $dJegyek) {
+	    if (is_array($dJegyek) && count($dJegyek) > 0) { // Ha vanak egyáltalán jegyei...
+		foreach ($DATA['targy'] as $targyId => $tAdat) { // A helyes sorrend miatt kell ezen végigmenni
+		    if (is_array($dJegyek[$targyId])) { // van az adott tárgyból jegye
+			$tJegyek = $dJegyek[$targyId];
+			// Az utolsó jegyet írjuk csak ki
+			$jegy = $tJegyek[ count($tJegyek)-1 ];
+			if (in_array($targyId, $ADAT['szorgalomIds'])) {
+			    $DATA['diak'][$diakId]['szorgalom'] = $KOVETELMENY['szorgalom'][ $jegy['jegy'] ]['hivatalos'];
+			    $DATA['diak'][$diakId]['szorgMegjJel'] = nagybetus($jegy['megjegyzes'][0]);
+			} elseif (in_array($targyId, $ADAT['magatartasIds'])) {
+			    $DATA['diak'][$diakId]['magatartas'] = $KOVETELMENY['magatartás'][ $jegy['jegy'] ]['hivatalos'];
+			    $DATA['diak'][$diakId]['magMegjJel'] = nagybetus($jegy['megjegyzes'][0]);
+			} else {
+			    $DATA['diak'][$diakId]['targy'][$targyId] = $jegy;
+			    $DATA['diak'][$diakId]['targy'][$targyId]['jTipus'] = $jegy['jegyTipus'];
+			    $DATA['diak'][$diakId]['targy'][$targyId]['mJel'] = nagybetus($jegy['megjegyzes'][0]);
+			    $DATA['diak'][$diakId]['targy'][$targyId]['hivatalos'] = $KOVETELMENY[ $jegy['jegyTipus'] ][ $jegy['jegy'] ]['hivatalos'];
+			    $DATA['diak'][$diakId]['targy'][$targyId]['rovid'] = $KOVETELMENY[ $jegy['jegyTipus'] ][ $jegy['jegy'] ]['rovid'];
+			}
+		    }
+		}
+	    }
+	}
+//	foreach ($ADAT['hianyzas'] as $diakId => $dHianyzas) { - A kimaradó diákok bajt okoznak => az összes diákon végig kell menni!
+	foreach ($ADAT['diakIds'] as $key => $diakId) {
+		$dHianyzas = $ADAT['hianyzas'][$diakId];
+
+		$DATA['diak'][$diakId]['igazolt'] = $dHianyzas['igazolt'];
+		$DATA['diak'][$diakId]['kesesPercOsszeg'] = intval($dHianyzas['kesesPercOsszeg']);
+		$DATA['diak'][$diakId]['kesesIgazolatlan'] = floor($dHianyzas['kesesPercOsszeg']/45);
+		$DATA['diak'][$diakId]['osszesIgazolatlan'] = $dHianyzas['igazolatlan']; // Tartalmazza az összes hivatalos hiányzást! A késések percösszegéből adódóakat is!!
+		$DATA['diak'][$diakId]['igazolatlan'] = $dHianyzas['igazolatlan']-$DATA['diak'][$diakId]['kesesIgazolatlan']; 
+
+		$DATA['diak'][$diakId]['gyakIgazolt'] = intval($dHianyzas['gyakorlatIgazolt']);
+		$DATA['diak'][$diakId]['gyakIgazolatlan'] = intval($dHianyzas['gyakorlatIgazolatlan']);
+		$DATA['diak'][$diakId]['gyakKesesPercOsszeg'] = intval($dHianyzas['gyakorlatKesesPercOsszeg']);
+		$DATA['diak'][$diakId]['gyakKesesIgazolatlan'] = floor($dHianyzas['gyakorlatKesesPercOsszeg']/45);
+		$DATA['diak'][$diakId]['gyakOsszesIgazolatlan'] = $DATA['diak'][$diakId]['gyakIgazolatlan']+$DATA['diak'][$diakId]['gyakKesesIgazolatlan'];
+
+		$DATA['diak'][$diakId]['elmIgazolt'] = intval($dHianyzas['elmeletIgazolt']);
+		$DATA['diak'][$diakId]['elmIgazolatlan'] = intval($dHianyzas['elmeletIgazolatlan']);
+		$DATA['diak'][$diakId]['elmKesesPercOsszeg'] = intval($dHianyzas['elmeletKesesPercOsszeg']);
+		$DATA['diak'][$diakId]['elmKesesIgazolatlan'] = floor($dHianyzas['elmeletKesesPercOsszeg']/45);
+		$DATA['diak'][$diakId]['elmOsszesIgazolatlan'] = $DATA['diak'][$diakId]['elmIgazolatlan']+$DATA['diak'][$diakId]['elmKesesIgazolatlan'];
+
+	}
+//echo '
';
+//var_dump($DATA['base']['diak'], $ADAT['jegyek']);
+//echo '
'; +//die(); + + return template2file($templateFile, $DATA); + + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/haladasinaplo.php b/mayor-orig/www/include/modules/naplo/nyomtatas/haladasinaplo.php new file mode 100644 index 00000000..1577a367 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/haladasinaplo.php @@ -0,0 +1,139 @@ + 'tankorokNaploja', 'modul' => 'naplo', 'result' => 'keyvaluepair')); + + } + + function getNaploTankorei($osztalyId) { + + $q = "SELECT tankorId FROM tankorNaplo WHERE osztalyId=%u"; + return db_query($q, array('fv' => 'getNaploTankorei', 'modul' => 'naplo', 'result' => 'idonly', 'values' => array($osztalyId))); + + } + + function getNaploOrak(&$ADAT) { + + + $q = "SELECT * FROM ora WHERE tankorId IN (".implode(',', array_fill(0, count($ADAT['naploTankor']), '%u')).") + AND '%s'<=dt AND dt<='%s' ORDER BY dt,ora,tankorId"; + $v = mayor_array_join($ADAT['naploTankor'], array($ADAT['tanevAdat']['kezdesDt'], $ADAT['tanevAdat']['zarasDt'])); + $A = db_query($q, array('fv' => 'getNaploOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + $Oraszam = $oraIds = array(); + for ($i = 0; $i < count($A); $i++) { + + $ADAT['orak'][ $A[$i]['dt'] ][ $A[$i]['ora'] ][] = $A[$i]; + $oraIds[] = $A[$i]['oraId']; $oraId2dt[ $A[$i]['oraId'] ] = array('dt' => $A[$i]['dt'], 'ora' => $A[$i]['ora']); + if ( + !in_array($A[$i]['tipus'], array('elmarad','elmarad máskor')) // Lehet olyan elmaradó óra, amihez van beírva tananyag... + && ( + !is_array($ADAT['tananyag'][ $A[$i]['dt'] ][ $A[$i]['tankorId'] ]) + || !in_array($A[$i]['leiras'], $ADAT['tananyag'][ $A[$i]['dt'] ][ $A[$i]['tankorId'] ]) + ) + ) $ADAT['tananyag'][ $A[$i]['dt'] ][ $A[$i]['tankorId'] ][] = $A[$i]['leiras']; + + if (defined('__ORASZAMOT_NOVELO_TIPUSOK')) { + $oraszamNoveloTipus = explode(',', __ORASZAMOT_NOVELO_TIPUSOK); + } else { + $_SESSION['alert'][] = 'info:missing_constant:__ORASZAMOT_NOVELO_TIPUSOK'; + $oraszamNoveloTipus = array('normál', 'normál máskor', 'helyettesítés', 'összevonás'); + } + if (in_array($A[$i]['tipus'], $oraszamNoveloTipus)) { + $ADAT['oraszam'][ $A[$i]['dt'] ][ $A[$i]['tankorId'] ][] = (++$Oraszam[ $A[$i]['tankorId'] ]); + } else { + $ADAT['oraszam'][ $A[$i]['dt'] ][ $A[$i]['tankorId'] ][] = '---'; + } + if (in_array($A[$i]['tipus'], array('helyettesítés', 'összevonás', 'felügyelet'))) { + $ADAT['helyettesites'][ $A[$i]['dt'] ][] = $A[$i]; + } + + } + $tmp = getOralatogatasByOraIds($oraIds, $SET = array('result' => 'assoc'));; + if (is_array($tmp)) foreach ($tmp as $oraId => $olAdat) { + $olAdat['ora'] = $oraId2dt[$oraId]['ora']; + $ADAT['oralatogatas'][ $oraId2dt[$oraId]['dt'] ][] = $olAdat; + } + } + + function getNaploHianyzasok(&$ADAT) { + + global $HianyzasJeloles; + + $q = "SELECT * FROM hianyzas WHERE '%s'
'getNaploHianyzas', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($A); $i++) { + $diakId = $A[$i]['diakId']; + $dt = $A[$i]['dt']; + $ora = $A[$i]['ora']; + if (!is_array($ADAT['hianyzas'][$dt][$diakId])) { + $nev = $ADAT['diakAdat'][$diakId]['diakNev']; + if (mb_strlen($nev, 'UTF-8') > 20) { + if (mb_substr($nev,20,1) == ' ') { + $nev = mb_substr($nev, 0, 20, 'UTF-8'); + } else { + $nev = mb_substr($nev, 0, 20, 'UTF-8'); + $pos = mb_strrpos($nev, ' ', 0, 'UTF-8'); + if ($pos !== false) $nev = mb_substr($nev, 0, $pos, 'UTF-8'); + else $nev .= '.'; + } + } + $ADAT['hianyzas'][$dt][$diakId] = array('ora' => array(), 'diakNev' => $nev); + } + $ADAT['hianyzas'][$dt][$diakId]['ora'][$ora] = $HianyzasJeloles[$A[$i]['tipus']]; + if ($A[$i]['tipus'] == 'hiányzás') { + $ADAT['hianyzas'][$dt][$diakId]['összesen']++; + $ADAT['hianyzas'][$dt][$diakId][ $A[$i]['statusz'] ]++; + } + } + + } + + function tordel($szavak) { + + $sorok = array(); // A tárgyNev sorokra bontása + $maxHossz = 8; // egy sorba írható karakterek maximális száma + + for ($j = 0; $j < count($szavak); $j++) { + $szo = str_replace('--', '~-', $szavak[$j]); + $tagok = explode('-', $szo); + $sor = str_replace('~', '-', $tagok[0]); + for ($k = 1; $k < count($tagok); $k++) { + $tag = str_replace('~', '-', $tagok[$k]); + $tl = mb_strlen($tag, 'UTF-8'); + $sl = mb_strlen($sor,'UTF-8'); + $ct = count($tagok); + if ( + ( + $sl+$tl < $maxHossz // általában max $maxHossz karaktert engedünk meg + && !( + $k == ($ct - 2) // az utolsó előtti tag + && ($sl > 3) // a sor már elég hosszú + && ($tl + mb_strlen($targok[$k+1], 'UTF-8')) <= $maxHossz // és befér az utolsó sorba --> akkor hagyjuk a következő sorba + ) + ) + || ( + $sl+$tl == $maxHossz + && ($k == ($ct-1) || substr($tag,-1) == '-')) // szóvégén, vagy kötőjeles szó kötőjelénél nincs újabb kötőjel + ) { + $sor .= $tag; + } else { + if ($k < $ct && substr($sor, -1) != '-') $sorok[] = $sor.'-'; // ha nem az utolsó és nincs még kötőjel (kötőjeles szavak) + else $sorok[] = $sor; + $sor = $tag; + } + } + $sorok[] = $sor; + } + return $sorok; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/helyettesitesinaplo.php b/mayor-orig/www/include/modules/naplo/nyomtatas/helyettesitesinaplo.php new file mode 100644 index 00000000..88949802 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/helyettesitesinaplo.php @@ -0,0 +1,148 @@ + $filename, + 'base' => array( + 'intezmenyNev' => $Intezmeny['nev'], 'tanev' => __TANEV, 'nyDt' => date('Y.m.d'), + 'tolDt' => dateToString($tolDt), 'igDt' => dateToString($igDt), 'intezmenyHelyseg' => $Intezmeny['cimHelyseg'], + 'nyDatumStr' => dateToString(date('Y-m-d')) + ) + ); + for ($i = 0; $i < count($Helyettesitesek); $i++) { + $oraAdat = $Helyettesitesek[$i]; + if ($oraAdat['eredet'] == 'plusz') $oraAdat['tipus'] = $oraAdat['tipus'].' '.$oraAdat['eredet']; + unset($oraAdat['ki']); + unset($oraAdat['kit']); + $oraAdat['tankorNev'] = LaTeXSpecialChars($oraAdat['tankorNev']); + $DATA['hDt'][ $oraAdat['dt'] ]['helyettesites'][ $oraAdat['oraId'] ] = $oraAdat; + } + if (is_array($DATA['hDt']) && count($DATA['hDt'])>0) { + $DATA['base']['hDt'] = array_keys($DATA['hDt']); + return template2file($templateFile, $DATA); + } else { + $_SESSION['alert'][] = 'info:no_data'; + return false; + } + + + } + +/* + function naploGeneralasOld($filename, $tolDt, $igDt) { + + // Helyettesítések lekérdezése + $Helyettesitesek = getHelyettesitettOra($tolDt, $igDt); + $Intezmeny = getIntezmenyByRovidnev(__INTEZMENY); + + $TeX = '\documentclass[8pt]{article} +\usepackage[a4paper]{geometry} % A4-es méret +\usepackage[utf8]{inputenc} % UTF-8 kódolású forrás +\usepackage{t1enc} +\usepackage[magyar]{babel} % magyar elválasztási szabályok +\frenchspacing % a magyar tipográfiai szabályoknak megfelelő szóközök írásjelek után +\usepackage{booktabs} % táblázatok magasabb szintű formázása +\usepackage{longtable} % többoldalas táblázatok +\setlength\LTleft{-65pt} +\setlength\LTright{-65pt} +\usepackage{fancyhdr} % Fejléc és lábléc kezelés +\pagestyle{fancy} +\def\mayor{% +\font\mayorfnt=cmsl4% +\font\Mayorfnt=cmsl6 +{\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} +\renewcommand{\footnotesize}{\fontsize{6pt}{8pt}\selectfont} +%\addtolength{\skip\footins}{2mm} +%\addtolength{\textheight}{16mm} +%\addtolength{\textwidth}{30mm} +\setlength{\footskip}{26pt} +\setlength{\headsep}{24pt} +\lhead{\small '.$Intezmeny['nev'].'} +\rhead{\small Helyettesítési-napló '.__TANEV.'} +\lfoot{\scriptsize\copyright\mayor\ elektronikus napló - Nyomtatva: '.date('Y.m.d.').'} +\rfoot{\scriptsize\thepage . oldal} +\cfoot{} +\begin{document} +'; + + $TeX .= ' +\begin{center} +{\large\bfseries H E L Y E T T E S Í T É S E K}\\\\ + +\vspace{12pt} + +{\bfseries\normalsize '.dateToString($tolDt).' – '.dateToString($igDt).'}\\\\ + +\vspace{12pt} + +\scriptsize +\begin{longtable}{@{\extracolsep{\fill}}c|c|l|l|l|c} +Dátum & Óra & Ki & Kit & Tankör & Típus \\\\ +\toprule +\endfirsthead +Dátum & Óra & Ki & Kit & Tankör & Típus \\\\ +\toprule +\endhead +\bottomrule +\endfoot +\bottomrule +\endlastfoot +\hline +'; + + for ($i = 0; $i < count($Helyettesitesek); $i++) { + $oraAdat = $Helyettesitesek[$i]; + if ($oraAdat['eredet'] == 'plusz') $oraAdat['tipus'] = $oraAdat['tipus'].' '.$oraAdat['eredet']; + $TeX .= '\vbox to 1.2em {}'.$oraAdat['dt'].'&'.$oraAdat['ora'].'&'.$oraAdat['kiCn'].'&'.$oraAdat['kitCn'] + .'&'.$oraAdat['tankorNev'].'&'.$oraAdat['tipus'].'\\\\ '; + if ($Helyettesitesek[$i+1]['dt'] != $oraAdat['dt']) $TeX .= '\midrule'."\n"; + //else $TeX .= '\hline'; + + } + + $TeX .= ' +\end{longtable} + +\vspace{16pt} + +\begin{flushleft} +{\scriptsize '.$Intezmeny['cimHelyseg'].', '.dateToString(date('Y-m-d')).'} +\end{flushleft} +\vspace{20pt}\slshape\scriptsize +\begin{tabular}{ccc} +%\rule{3.5cm}{0.1pt} +\hspace{3.5cm}% +&\hspace{3cm}\ &\rule{3.5cm}{0.1pt}\\\\ +%tanuló +&&igazgató\\\\ +\end{tabular} + +\end{center} +'; + + + $TeX .= ' +\end{document}'; + + pdfLaTeX($TeX, $filename); // A longtable miatt többször kell fordítani + return pdfLaTeX($TeX, $filename); + + } +*/ + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/nyomtatas.php b/mayor-orig/www/include/modules/naplo/nyomtatas/nyomtatas.php new file mode 100644 index 00000000..b91c18e8 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/nyomtatas.php @@ -0,0 +1,89 @@ +'H', + 'késés'=>'k', + 'felszerelés hiány'=>'f', + 'egyenruha hiány'=>'e' + ); + + $targyCsoportTXT = array( + 'tanóra' => '', + 'fakultáció' => 'fakt.', + 'előfakultáció' => 'előfakt.', + 'szakkör' => 'szakk.' + ); + + $targyTXT = array( + 'angol nyelv' => 'Angol% nyelv', + 'biológia' => 'Bio-%lógia', + 'dráma' => 'Dráma', + 'ének-zene' => 'Ének%-zene', + 'fizika' => 'Fizika', + 'filozófia' => 'Filo-%zófia', + 'földrajz' => 'Föld-%rajz', + 'francia nyelv' => 'Francia% nyelv', + 'idegenvezetés' => 'Idegen-%vezetés', + 'japán nyelv' => 'Japán% nyelv', + 'kémia' => 'Kémia', + 'latin nyelv' => 'Latin% nyelv', + 'magyar' => 'Magyar', + 'magyar irodalom' => 'Magyar% irodalom', + 'magyar nyelv' => 'Magyar% nyelv', + 'matematika' => 'Mate-%matika', + 'művészettörténet' => 'Művészet-%történet', + 'német nyelv' => 'Német% nyelv', + 'olasz nyelv' => 'Olasz% nyelv', + 'rajz' => 'Rajz', + 'spanyol nyelv' => 'Spanyol% nyelv', + 'számítástechnika' => 'Számítás-%technika', + 'szociálpszichológia' => 'Szociál-%pszich.', + 'testnevelés' => 'Testne-%velés', + 'történelem' => 'Törté-%nelem', + 'zenetörténet' => 'Zene-%történet' + ); + + // Ezt az órarendnél, és az első lapon fogjuk használni :) + $targyTXT2 = array( + 'angol nyelv' => 'Angol', + 'biológia' => 'Biológia', + 'dráma' => 'Dráma', + 'ének-zene' => 'Ének', + 'fizika' => 'Fizika', + 'filozófia' => 'Filozófia', + 'földrajz' => 'Földrajz', + 'francia nyelv' => 'Francia', + 'idegenvezetés' => 'Idegenvezetés', + 'japán nyelv' => 'Japán', + 'kémia' => 'Kémia', + 'latin nyelv' => 'Latin', + 'magyar' => 'Magyar', + 'magyar irodalom' => 'Magyar irodalom', + 'magyar nyelv' => 'Magyar nyelv', + 'matematika' => 'Matematika', + 'művészettörténet' => 'Művészettörténet', + 'német nyelv' => 'Német', + 'olasz nyelv' => 'Olasz', + 'osztályfőnöki' => 'Osztályfőnöki', + 'rajz' => 'Rajz', + 'spanyol nyelv' => 'Spanyol', + 'számítástechnika' => 'Szám. tech.', + 'szociálpszichológia' => 'Szoc.pszich.', + 'testnevelés' => 'Testnevelés', + 'történelem' => 'Történelem', + 'zenetörténet' => 'Zenetörténet' + ); + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/osztalyozonaplo.php b/mayor-orig/www/include/modules/naplo/nyomtatas/osztalyozonaplo.php new file mode 100644 index 00000000..bdc16662 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/osztalyozonaplo.php @@ -0,0 +1,24 @@ + 'getDiakJegyek', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $ADAT['diakIds'])); + $RET = array(); + for ($i = 0; $i < count($r); $i++) { + /* Melyik félév is lehetett? */ + $_felev = (in_date_interval($r[$i]['dt'],$_TANEV['szemeszter'][1]['kezdesDt'],$_TANEV['szemeszter'][1]['zarasDt'])) ? 1:2; + + if ( + $ADAT['diakAdat'][ $r[$i]['diakId'] ]['osztalyDiak'][0]['kiDt'] == '' + || strtotime($r[$i]['dt']) <= strtotime($ADAT['diakAdat'][ $r[$i]['diakId'] ]['osztalyDiak'][0]['kiDt']) + ) + $RET[ $r[$i]['diakId'] ][ $r[$i]['targyId'] ][ $r[$i]['ho'] ][] = $r[$i]; + $RET[ $r[$i]['diakId'] ][ 'felevenkent' ][ $r[$i]['targyId'] ][ $_felev ][] = $r[$i]; + } + return $RET; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/sniEvVegiJegyzokonyv.php b/mayor-orig/www/include/modules/naplo/nyomtatas/sniEvVegiJegyzokonyv.php new file mode 100644 index 00000000..3ed53ae3 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/sniEvVegiJegyzokonyv.php @@ -0,0 +1,48 @@ + $ADAT['file'], + 'base' => array('nyomtatasDt' => date('Y.m.d'), + 'tanev' => "$kEv-$zEv", +// 'ev' => $ev, 'honap' => $ho, 'nap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]), + 'intezmenyNev' => $ADAT['intezmeny']['nev'], 'intezmenyCimIrsz' => $ADAT['intezmeny']['cimIrsz'], + 'intezmenyCimHelyseg' => $ADAT['intezmeny']['cimHelyseg'], 'intezmenyCimKozteruletNev' => $ADAT['intezmeny']['cimKozteruletNev'], + 'intezmenyCimKozteruletJelleg' => $ADAT['intezmeny']['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $ADAT['intezmeny']['cimHazszam'], + 'intezmenyTelefon' => $ADAT['intezmeny']['telefon'], 'intezmenyHonlap' => $ADAT['intezmeny']['honlap'], + 'intezmenyFax' => $ADAT['intezmeny']['fax'], 'intezmenyEmail' => $ADAT['intezmeny']['email'], + 'diak' => $ADAT['sniDiakIds'], 'osztaly' => $ADAT['osztaly']['osztalyJel'], + 'tanarNev' => '', 'osztalyTanar' => array_keys($ADAT['osztalyTanar']), + ), + 'diak' => $ADAT['diakAdat'], + 'felelos' => $ADAT['tanarok'], + 'osztalyTanar' => $ADAT['osztalyTanar'], + ); + +//echo '
';
+//var_dump($ADAT['diakAdat']);
+//echo '
'; + + return template2file($templateFile, $DATA); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/sniHaviJegyzokonyv.php b/mayor-orig/www/include/modules/naplo/nyomtatas/sniHaviJegyzokonyv.php new file mode 100644 index 00000000..f9f182d0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/sniHaviJegyzokonyv.php @@ -0,0 +1,41 @@ + $ADAT['file'], + 'base' => array('nyomtatasDt' => date('Y.m.d'), + 'ev' => $ev, 'honap' => $ho, 'nap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]), + 'intezmenyNev' => $ADAT['intezmeny']['nev'], 'intezmenyCimIrsz' => $ADAT['intezmeny']['cimIrsz'], + 'intezmenyCimHelyseg' => $ADAT['intezmeny']['cimHelyseg'], 'intezmenyCimKozteruletNev' => $ADAT['intezmeny']['cimKozteruletNev'], + 'intezmenyCimKozteruletJelleg' => $ADAT['intezmeny']['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $ADAT['intezmeny']['cimHazszam'], + 'intezmenyTelefon' => $ADAT['intezmeny']['telefon'], 'intezmenyHonlap' => $ADAT['intezmeny']['honlap'], + 'intezmenyFax' => $ADAT['intezmeny']['fax'], 'intezmenyEmail' => $ADAT['intezmeny']['email'], + 'diak' => $ADAT['sniDiakIds'], 'osztaly' => $ADAT['osztaly']['osztalyJel'], + 'tanarNev' => '', 'osztalyTanar' => array_keys($ADAT['osztalyTanar']), + ), + 'diak' => $ADAT['diakAdat'], + 'felelos' => $ADAT['tanarok'], + 'osztalyTanar' => $ADAT['osztalyTanar'], + ); + + return template2file($templateFile, $DATA); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/szovegesErtekeles.php b/mayor-orig/www/include/modules/naplo/nyomtatas/szovegesErtekeles.php new file mode 100644 index 00000000..1b095a4e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/nyomtatas/szovegesErtekeles.php @@ -0,0 +1,131 @@ + $ADAT['targySorrendNev'],'osztalyId' => $ADAT['osztalyId'])); $Targyak = array(); + for ($i = 0; $i < count($_Targyak); $i++) { + $Targyak[ $_Targyak[$i]['targyId'] ] = $_Targyak[$i]; + $Targyak[ $_Targyak[$i]['targyId'] ]['targyNev'] = nagybetus(mb_substr($_Targyak[$i]['targyNev'],0,1)).mb_substr($_Targyak[$i]['targyNev'],1); + } + unset($_Targyak); + + list($ev,$ho,$nap) = explode('-', $ADAT['dt']); + list($evf,$oszt) = explode('.', $ADAT['osztalyAdat']['osztalyJel']); + + $DATA = array( + 'file' => $ADAT['file'], + 'base' => array('nyomtatasDt' => date('Y.m.d'), 'ev' => $ev, 'honap' => $ho, 'nap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]), + 'intezmenyNev' => $Intezmeny['nev'], 'intezmenyOMKod' => $Intezmeny['OMKod'], 'intezmenyCimIrsz' => $Intezmeny['cimIrsz'], + 'intezmenyCimHelyseg' => $Intezmeny['cimHelyseg'], 'intezmenyCimKozteruletNev' => $Intezmeny['cimKozteruletNev'], + 'intezmenyCimKozteruletJelleg' => $Intezmeny['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $Intezmeny['cimHazszam'], + 'intezmenyTelefon' => $Intezmeny['telefon'], 'intezmenyHonlap' => $Intezmeny['honlap'], + 'intezmenyFax' => $Intezmeny['fax'], 'intezmenyEmail' => $Intezmeny['email'], + 'tanevJele' => substr($ADAT['tanevAdat']['kezdesDt'],0,4).'/'.substr($ADAT['tanevAdat']['zarasDt'],0,4), + 'felevi' => ($ADAT['szemeszter']['szemeszter'] == 1), + 'diak' => $ADAT['diakIds'], 'osztaly' => "$evf. ".nagybetus($oszt), + ), + 'diak' => $ADAT['diakAdat'], + 'targy' => $Targyak, + 'szempont' => array(), + 'minosites' => array(), + ); + unset($Intezmeny); + + foreach ($ADAT['hianyzas'] as $diakId => $dHianyzas) { + $DATA['diak'][$diakId]['igazolt'] = $dHianyzas['igazolt']; + $DATA['diak'][$diakId]['igazolatlan'] = $dHianyzas['igazolatlan']; + $DATA['diak'][$diakId]['kesesPercOsszeg'] = intval($dHianyzas['kesesPercOsszeg']); + $DATA['diak'][$diakId]['kesesIgazolatlan'] = floor($dHianyzas['kesesPercOsszeg']/45); + $DATA['diak'][$diakId]['osszesIgazolatlan'] = $DATA['diak'][$diakId]['igazolatlan']+$DATA['diak'][$diakId]['kesesIgazolatlan']; + + $DATA['diak'][$diakId]['gyakIgazolt'] = intval($dHianyzas['gyakorlatIgazolt']); + $DATA['diak'][$diakId]['gyakIgazolatlan'] = intval($dHianyzas['gyakorlatIgazolatlan']); + $DATA['diak'][$diakId]['gyakKesesPercOsszeg'] = intval($dHianyzas['gyakorlatKesesPercOsszeg']); + $DATA['diak'][$diakId]['gyakKesesIgazolatlan'] = floor($dHianyzas['gyakorlatKesesPercOsszeg']/45); + $DATA['diak'][$diakId]['gyakOsszesIgazolatlan'] = $DATA['diak'][$diakId]['gyakIgazolatlan']+$DATA['diak'][$diakId]['gyakKesesIgazolatlan']; + + $DATA['diak'][$diakId]['elmIgazolt'] = intval($dHianyzas['elmeletIgazolt']); + $DATA['diak'][$diakId]['elmIgazolatlan'] = intval($dHianyzas['elmeletIgazolatlan']); + $DATA['diak'][$diakId]['elmKesesPercOsszeg'] = intval($dHianyzas['elmeletKesesPercOsszeg']); + $DATA['diak'][$diakId]['elmKesesIgazolatlan'] = floor($dHianyzas['elmeletKesesPercOsszeg']/45); + $DATA['diak'][$diakId]['elmOsszesIgazolatlan'] = $DATA['diak'][$diakId]['elmIgazolatlan']+$DATA['diak'][$diakId]['elmKesesIgazolatlan']; + } + + + + if (strtotime($ADAT['dt']) < strtotime($ADAT['tanevAdat']['szemeszter'][1]['zarasDt'])) $DATA['base']['negyedev'] = 'az első'; + else $DATA['base']['negyedev'] = 'a harmadik'; + foreach ($Ertekeles as $diakId => $E) { + $DATA['diak'][$diakId]['targy'] = array(); + + // !!! Tesztelendő !!! // +# foreach ($E as $targyId => $eAdat) { + foreach ($Targyak as $targyId => $tAdat) { + if (is_array($E[$targyId])) { + $eAdat = $E[$targyId]; + } else { + continue; + } + // !!! Tesztelendő !!! // + if ( + ( + (is_array($eAdat['szovegesErtekeles']['minosites']) && count($eAdat['szovegesErtekeles']['minosites']) > 0) + || (is_array($eAdat['szovegesErtekeles']['egyediMinosites']) && count($eAdat['szovegesErtekeles']['egyediMinosites']) > 0) + ) + && $ADAT['tolDt'] <= $eAdat['szovegesErtekeles']['dt'] + ) { + + $DATA['diak'][$diakId]['targy'][$targyId] = $eAdat; // Ezt lehetne finomítani +//if ($targyId == 2) { +//echo '
';var_dump($ADAT['tolDt']);
+//var_dump($eAdat['szovegesErtekeles']['dt']);
+//}
+
+		    $DATA['diak'][$diakId]['targy'][$targyId]['szempont'] = $eAdat['szempontRendszer']['szempont'];
+                    $targyMinositesId = $eAdat['szovegesErtekeles']['minosites'][0]; // Ha egy tárgy egy minősítés kell (az első)
+		    foreach ($eAdat['szempontRendszer']['szempont'] as $szempontId => $szAdat) {
+			$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['egyediMinosites'] = 
+				$eAdat['szovegesErtekeles']['egyediMinosites'][$szempontId]['egyediMinosites'];
+			$M = $eAdat['szempontRendszer']['minosites'][$szempontId];
+			$elsoValasztottKovetkezik = true;
+                	for ($i = 0; $i < count($M); $i++) {
+			    $DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][ $M[$i]['minositesId'] ] 
+				= array('minosites' => $M[$i]['minosites']);
+			    if (in_array($M[$i]['minositesId'], $eAdat['szovegesErtekeles']['minosites'])) {
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['valasztott'] = true;
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['elsoValasztott'] = $elsoValasztottKovetkezik;
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['tobbedikValasztott'] = (!$elsoValasztottKovetkezik);
+				$elsoValasztottKovetkezik = false;
+                    		if ($M[$i]['minositesId'] == $targyMinositesId) {
+                        	    $DATA['diak'][$diakId]['targy'][$targyId]['targyMinosites'] = $M[$i]['minosites']; // Ha tárgyanként egy minősítés kell (az első)
+                        	}
+                    	    }
+                	}
+		    }
+		}
+	    }
+	}
+
+	return template2file($templateFile, $DATA);
+
+    }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/tankorNaplohozRendeles.php b/mayor-orig/www/include/modules/naplo/nyomtatas/tankorNaplohozRendeles.php
new file mode 100644
index 00000000..596cbcf9
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/tankorNaplohozRendeles.php
@@ -0,0 +1,48 @@
+ 'tankorNaploInit/delete', 'modul' => 'naplo'));
+	}
+	// Kérdezzük le, hogy melyik osztályhoz nincs még bejegyzés
+	$q = "SELECT osztalyId FROM osztalyNaplo LEFT JOIN tankorNaplo USING (osztalyId) GROUP BY osztalyId HAVING COUNT(tankorId) = 0";
+	$osztalyIds = db_query($q, array('fv' => 'tankorNaploInit', 'modul' => 'naplo', 'result' => 'idonly'));
+	// Ezen osztályok hozzárendelése a csak hozzájuk tartozó tankörökhöz
+	if (is_array($osztalyIds) && count($osztalyIds) > 0) {
+    	    $q = "REPLACE INTO tankorNaplo (tankorId,osztalyId)
+                SELECT tankorId,osztalyId FROM ".__INTEZMENYDBNEV.".tankorOsztaly
+                WHERE osztalyId IN (".implode(',', $osztalyIds).")
+		AND tankorId IN (
+                    SELECT DISTINCT tankorId FROM ".__INTEZMENYDBNEV.".tankorSzemeszter WHERE tanev=".__TANEV."
+                ) GROUP BY tankorId HAVING COUNT(*)=1";
+    	    return db_query($q, array('fv' => 'tankorNaploInit', 'modul' => 'naplo'));
+	} else { return true; }
+
+    }
+
+    function tankorNaplohozRendeles($osztalyId, $T) {
+        $v = $V = array();
+        for ($i = 0; $i < count($T); $i++) {
+            list($tankorId, $naplo) = explode('/',$T[$i]);
+	    array_push($v, $tankorId, $naplo);
+            $V[] = "(%u, %u)";
+        }
+        if (count($V) > 0) {
+            $q = "DELETE FROM tankorNaplo WHERE osztalyId=%u";
+            db_query($q, array('fv' => 'tankorNaplohozRendeles', 'modul' => 'naplo', 'values' => array($osztalyId)));
+            $q = "REPLACE INTO tankorNaplo (tankorId,osztalyId) VALUES ".implode(',', $V);
+            db_query($q, array('fv' => 'tankorNaplohozRendeles', 'modul' => 'naplo', 'values' => $v));
+        }
+    }
+
+    function getTankorokNaploja() {
+
+	$q = "SELECT tankorId,osztalyId FROM tankorNaplo";
+        return db_query($q, array('fv' => 'tankorokNaploja', 'modul' => 'naplo', 'result' => 'keyvaluepair'));
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/tex.php b/mayor-orig/www/include/modules/naplo/nyomtatas/tex.php
new file mode 100644
index 00000000..ab2ca3c0
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/tex.php
@@ -0,0 +1,1285 @@
+8?nagybetus($oJel):kisbetus($oJel)));
+            $return = '\footline{\ifodd\pageno\rightfootline\else\leftfootline\fi}
+\def\rightfootline{\hbox to \hsize{\copyright\ \mayor\ elektronikus napló -- Nyomtatva: '.date('Y.m.d').'.\hfil\folio}}
+\def\leftfootline{\hbox to \hsize{\folio\hfil '.$tanev.' -- '.$osztalySTR.', of.: '.$ofo.'}}';
+
+        } else {
+
+            $return = '\footline{\ifodd\pageno\rightfootline\else\leftfootline\fi}
+\def\rightfootline{\hbox to \hsize{\copyright\ \mayor\ elektronikus napló '.$tanev.'\hfil\folio}}
+\def\leftfootline{\hbox to \hsize{\folio\hfil Nyomtatva: '.date('Y.m.d.').'}}';
+
+        }
+        return $return;
+
+}
+
+function endTeXDocument() {
+
+    return '\bye';
+
+}
+
+// ======= Haladási ====== //
+
+    $HianyzasJeloles = array(
+        'hiányzás'=>'H',
+        'késés'=>'k',
+        'felszerelés hiány'=>'f',
+	'egyenruha hiány' => 'e'
+    );
+
+    function datumString($tanitasiNapOk) {
+        global $Honapok;
+        $tolStamp = strtotime($tanitasiNapOk[0]);
+        $igStamp = strtotime($tanitasiNapOk[2]);
+        $tolString = date('Y',$tolStamp) . '. '.$Honapok[intval(date('m',$tolStamp))-1].' '.date('j',$tolStamp).'.';
+        $igString = date('Y',$igStamp) . '. '.$Honapok[intval(date('m',$igStamp))-1].' '.date('j',$igStamp).'.';
+        $datumString = $tolString.' -- '.$igString;
+
+        return kisbetus($datumString);
+    }
+
+
+    $hoRomai = array('01'=>'I',
+                        '02' => 'II',
+                        '03' => 'III',
+                        '04' => 'IV',
+                        '05' => 'V',
+                        '06' => 'VI',
+                        '07' => 'VII',
+                        '08' => 'VIII',
+                        '09' => 'IX',
+                        '10' => 'X',
+                        '11' => 'XI',
+                        '12' => 'XII');
+
+    function datumRomai($dt) {
+	global $hoRomai;
+        list($ev,$honap,$nap) = explode('-',date('Y-m-j',strtotime($dt)));
+        return strtr($honap,$hoRomai).'.'.$nap.'.';
+    }
+
+
+    function putTeXOrarendParameterek($dt, $ADAT) {
+
+        $return = '';
+        for($ora = 1; $ora <= 8; $ora++) {
+	    $oraAdat = $ADAT['orak'][$dt][$ora];
+            $return .= '{';
+	    $targyNev = array();
+	    if (is_array($oraAdat)) for ($i = 0; $i < count($oraAdat); $i++) {
+		$targyId = $ADAT['tankorTargy'][ $oraAdat[$i]['tankorId'] ];
+		if ($ADAT['targyAdat'][$targyId]['targyRovidNev'] != '') {
+		    $tNev = $ADAT['targyAdat'][$targyId]['targyRovidNev'];
+		} else {
+		    $tNev = $ADAT['targyAdat'][$targyId]['targyNev'];
+		}
+		if (!in_array($tNev, $targyNev)) $targyNev[] = $tNev;
+	    }
+	    $return .= TeXSpecialChars(implode(', ', $targyNev));
+	    $return .= '}';
+        }
+
+	return $return;
+
+    }
+
+    function putTeXHaladasiOldalbeallitas() {
+
+        /* ELválasztás: szám < pretolerance(100) --> sikeres
+                        elválasztás
+                        sikertelenség !< tolerance(200)
+        */
+	return '%% Oldalbeállítás %%
+\\pretolerance=100
+\\tolerance=10000
+\\magnification=960
+\\vsize=26cm
+\\hsize=18.5cm
+\\hoffset=-1cm%% később generáljuk
+\\voffset=-1cm
+\\normal
+'; 
+    }
+
+    function putTeXFirstFootline($ADAT) {
+        return '\\footline{Nyomtatta: '.TeXSpecialChars($ADAT['intezmenyAdat']['nev']).' (OM: '.$ADAT['intezmenyAdat']['OMKod'].')'.' -- Látta: VMG 2003. X. 10. Sz. T.\\hfill}%'."\n";
+    }
+
+    function putTeXElolap($ADAT) {
+
+        global $targyTXT;
+
+	$return = '';
+	$dbSor = 0; 
+	for ($i=0; $i < count($ADAT['tankorokNaploElejere']); $i++) 
+	    $dbSor += count($ADAT['tankorokNaploElejere'][$i]['tanarok']);
+	$maxSorPerLap = 36;
+
+
+        $return .= putTeXFirstFootline($ADAT);
+
+	$sor = 0; $i = 0; // hanyadik tankörnél tartunk
+	while ($sor < $dbSor) {
+
+	    $lapSorai = 0;
+    	    $return .= '\\vbox to \\vsize{%%%%%%%%%%%%%%%%%%%%%%%';
+
+	    if ($sor == 0) $return .='
+\\vskip60pt%
+\\centerline{\\hbox to 120pt{\\hrulefill}}%
+\\centerline{az intézmény hosszú bélyegzője}%
+';
+	    $return .='\\hbox{\\vbox to 30pt{\\vfil\\hbox{\\centerline{'.TeXSpecialChars(nagybetus($ADAT['osztalyAdat']['osztalyJel']))
+.' osztályának HALADÁSI NAPLÓJA a '.$ADAT['tanev'].'/'.substr($ADAT['tanevAdat']['zarasDt'],0,4).' tanévre}}\\vfil}}%
+\\hbox{\\centerline{Osztályfőnök: '.$ADAT['osztalyAdat']['osztalyfonokNev'].'}}%
+%% egész lapos vbox vége... %%%%%%%%%%%%%%%%%%%%%%%
+%%ez a regi volt:\\vbox to 60pt{}%
+\\vfill%
+\\centerline{%
+\\vbox{\\hsize=300pt\\baselineskip=15pt';
+
+	    while (
+		$i < count($ADAT['tankorokNaploElejere'])
+		&& ($lapSorai + count($ADAT['tankorokNaploElejere'][$i]['tanarok'])) <= $maxSorPerLap
+	    ) {
+		$targyId = $ADAT['tankorokNaploElejere'][$i]['targyId'];
+        	$targyNev = $ADAT['targyAdat'][$targyId]['targyNev'];
+
+		$_tankorId = $ADAT['tankorokNaploElejere'][$i]['tankorId'];
+		$_osztalyId = $ADAT['tankorNaploja'][$_tankorId];
+		if ($_osztalyId!==null) {
+		    $naplojaban = TeXSpecialChars($ADAT['osztalyJele'][$_osztalyId]);
+            	    $return .= '\\hbox to 300pt{'.TeXSpecialChars($targyNev);
+	    	    if ($ADAT['targyAdat'][$targyId]['db'] > 1) {
+			$return .= ' '.(++$ADAT['targyAdat'][$targyId]['kiirtDb']).'. csoport';
+		    }
+		    if ($ADAT['osztalyId'] != $_osztalyId) $return .=' ('.$naplojaban.' naplójában)';
+        	    $return .= '\\quad\\dotfill\\quad ';
+		    // Egy tanár - az első - félrevezető, pontatlan
+        	    // $return .= $ADAT['tankorokNaploElejere'][$i]['tanarok'][0]['tanarNev']; //.' tanár';
+	    	    // -----------
+		    // több tanár egy sorban, vesszővel elválasztva - esetleg nem fér ki a sorban
+        	    //$return .= implode(', ', $ADAT['tankorokNaploElejere'][$i]['tanarok']); //.' tanár';
+		    // -----------
+		    // több tanár külön-külön sorban - esetleg nem fér ki az oldalra ($maxLap?)
+        	    $return .= implode("}%\n\\hbox to 300pt{\\hfill\\quad ", $ADAT['tankorokNaploElejere'][$i]['tanarok']); //.' tanár';
+        	    $return .= '}%'."\n";
+		}
+		$sor += count($ADAT['tankorokNaploElejere'][$i]['tanarok']);
+		$lapSorai += count($ADAT['tankorokNaploElejere'][$i]['tanarok']);
+		$i++;
+    	    }
+    	    $return .= '}%
+}% eocenterline%
+\\vfill%
+}';
+
+	    if ($sor < $dbSor) $return .= putTexUresLap();
+	} // while
+
+        return $return;
+
+    }
+
+
+
+
+
+
+    function putTeXTanuloTankorMatriX($ADAT) {
+
+	define('__MAXTANKOR',30);
+
+        $return .= '\\vbox to 20pt{\\vfil\\centerline{\\nagy A tanulók tankörbeosztása\\normal}\\vfil}%'."\n";
+
+$k = 0; // Hányadik tankörtől indulunk a táblázat elején
+$pageDb = 0;
+while ($k < count($ADAT['tankorok'])) {
+
+	$return .= '\\centerline{\\vbox{%'."\n";
+
+        $return .= '\\halign{\\vrule width2pt\\strut\\kicsi\\space\\noindent#\\hfill\\vrule width2pt';
+            for($i = $k; ($i < count($ADAT['tankorok'])) && ($i-$k<__MAXTANKOR); $i++) $return.= '&\\hbox to 10pt{\\hfil\kicsi#\\hfil}\\vrule';
+        $return .= ' width2pt\\cr%'."\n";
+        $return .='\\noalign{\\hrule height2pt}%'."\n";
+
+        $return .= '\\vbox to 180pt{\\hsize=100pt\\parindent=0pt\\vfill\\centerline{Tankör mátrix}\\vfill}';
+        for($i = $k; ($i < count($ADAT['tankorok'])) && ($i-$k<__MAXTANKOR); $i++) {
+            $return .= '&';
+            $return .= '\\setbox\\rotbox=\\hbox to 180pt{'. TeXSpecialChars( $ADAT['tankorok'][$i]['tankorNev'] ) .'\\hfill}';
+            $return .= '\\rotl\\rotbox';
+        }
+        $return .= '\\cr%'."\n";
+        $return .='\\noalign{\\hrule height2pt}%'."\n";
+
+        for ($j = 0; $j < count($ADAT['nevsor']); $j++){
+            $diakNev = $ADAT['nevsor'][$j]['diakNev'];
+            $diakId = $ADAT['nevsor'][$j]['diakId'];
+            $return .= $diakNev;
+            for($i = $k; ($i < count($ADAT['tankorok'])) && ($i-$k<__MAXTANKOR); $i++) {
+                $return.= '&';
+                if (in_array($ADAT['tankorok'][$i]['tankorId'], $ADAT['diakTankor'][$diakId])) $return.= 'x';
+            }
+            $return .='\\cr%'."\n";
+            $return .='\\noalign{\\hrule}%'."\n";
+        }
+        $return .='\\noalign{\\hrule height1.6pt}%'."\n";
+        $return .= '}}}\\hoffset=-0.8cm';
+
+	$k = $i;
+$pageDb++;
+}
+if (($pageDb % 2) == 0) $return .= putTeXUresLap(); // hogy ne csússzon el a páros/páratlan...
+        return $return;
+    }
+
+    function putTeXTanuloTankorMatriXOrig($ADAT) {
+
+        $return .= '\\vbox to 20pt{\\vfil\\centerline{\\nagy A tanulók tankörbeosztása\\normal}\\vfil}%
+\\centerline{\\vbox{%'."\n";
+
+        $return .= '\\halign{\\vrule width2pt\\strut\\kicsi\\space\\noindent#\\hfill\\vrule width2pt';
+            for($i = 0; $i < count($ADAT['tankorok']); $i++) $return.= '&\\hbox to 10pt{\\hfil\kicsi#\\hfil}\\vrule';
+        $return .= ' width2pt\\cr%'."\n";
+        $return .='\\noalign{\\hrule height2pt}%'."\n";
+
+        $return .= '\\vbox to 180pt{\\hsize=100pt\\parindent=0pt\\vfill\\centerline{Tankör mátrix}\\vfill}';
+        for($i = 0; $i < count($ADAT['tankorok']); $i++) {
+            $return .= '&';
+            $return .= '\\setbox\\rotbox=\\hbox to 180pt{'. TeXSpecialChars( $ADAT['tankorok'][$i]['tankorNev'] ) .'\\hfill}';
+            $return .= '\\rotl\\rotbox';
+        }
+        $return .= '\\cr%'."\n";
+        $return .='\\noalign{\\hrule height2pt}%'."\n";
+
+        for ($j = 0; $j < count($ADAT['nevsor']); $j++){
+            $diakNev = $ADAT['nevsor'][$j]['diakNev'];
+            $diakId = $ADAT['nevsor'][$j]['diakId'];
+            $return .= $diakNev;
+            for($i = 0; $i < count($ADAT['tankorok']); $i++) {
+                $return.= '&';
+                if (in_array($ADAT['tankorok'][$i]['tankorId'], $ADAT['diakTankor'][$diakId])) $return.= 'x';
+            }
+            $return .='\\cr%'."\n";
+            $return .='\\noalign{\\hrule}%'."\n";
+        }
+        $return .='\\noalign{\\hrule height1.6pt}%'."\n";
+        $return .= '}}}\\hoffset=-0.8cm';
+
+
+        return $return;
+    }
+
+
+
+
+    function putTeXAllandoFejlec() {
+
+$return='% ======================================================================= %
+% "Órán" táblázat (8.9pt?) 25.6pt
+\\def\\oran{\\vbox{\\halign{%
+\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule%
+&\\vbox to 30pt{\\hsize=8.9pt\\vfill\\noindent\\hfil ##\\hfil\\vfill}\\vrule width0.8pt%
+\\cr%
+% ----------------------------------------------------------------------- %
+1&2&3&4&5&6&7&8\\cr%
+\\noalign{\\hrule}%
+\\multispan8{\\vbox to 32pt{\\hsize=74pt\\vfill\\noindent\\hfil órán\\hfil\\vfill}\\vrule width 0.8pt}\\cr%
+}}}%
+% ======================================================================= %
+% "Mulasztott" órák táblázat
+\\def\\mulasztott{%
+\\setbox\\rotbox=\\hbox to 40pt{\\vbox to 14pt{\\vfil\\noindent\\space összesen\\vfil}}%
+\\vbox {%
+\\halign{##&\\hfil##\\hfil\\cr%
+\\oran&\\hbox{\\rotl\\rotbox}\\cr%
+\\noalign{\\hrule}%
+\\multispan2{\\strut\\hfil mulasztott\\hfil}\\cr%
+}}}
+% ======================================================================= %
+\\def\\igazolas{%
+\\setbox\\rotboxA=\\hbox to 60pt{\\vbox to 14pt{\\vfil\\noindent\\space igazolt\\vfil}}%
+\\setbox\\rotboxB=\\hbox to 60pt{\\vbox to 14pt{\\vfil\\noindent\\space igazolatlan\\vfil}}%
+\\lower3pt\\vbox{%
+\\halign{##&##\\cr%
+\\multispan2{\\strut\\space\\hfil Ebből\\hfil\\space}\\cr%
+\\noalign{\\hrule}%
+\\rotl\\rotboxA\\vrule&\\rotl\\rotboxB\\cr}}}
+% ======================================================================= %
+\\def\\hianyzasFejlec{%
+\\vbox{%
+\\halign{\\kozepen{2.4cm}{2.3cm}{##}\\vrule&##\\vrule width0.8pt&##\\cr%
+\\vbox{\\centerline{A hiányzó} \\centerline{tanuló neve}}%
+&\\mulasztott&\\igazolas\\cr}}}
+'; return $return;
+
+    }
+    /* ------------------------------------------------------------------------------------- */
+
+    /* ----- Haladási napló baloldalán a napi órarend. ------------------------------------- */
+    function putTeXOrarendMacro() {
+
+$return='% ====ORERDND MAKRÓ========================================================= %
+\\def\\orarend#1#2#3#4#5#6#7#8{%
+\\lower-3pt\\vbox to 160pt{%
+\\baselineskip=10pt%
+\\hsize=82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#1\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#2\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#3\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#4\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#5\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#6\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#7\\vfil}}%
+\\hrule width82.5pt%
+\\hbox{\\vbox to 20.4pt{\\vfil\\leftskip=3pt\\noindent\\raggedright#8\\vfil}}%
+}}%
+'; return $return;
+
+    } // end of putTeXOrarendMacro()
+    /* ------------------------------------------------------------------------------------- */
+
+    /* ------------------------------------------------------------------------------------- */
+    function putTeXHianyzasAlTablazat($napiHianyzas) {
+
+$return='% ======================================================================= %
+\\lower3pt\\vbox to 166pt{\\noindent{\\halign{%
+\\lower-2pt\\hbox to 2.4cm{\\hfil\\kicsi#\\hfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule%
+&\\vbox to 10pt{\\hsize=8.9pt\\vfill\\noindent\\hfil #\\hfil\\vfill}\\vrule width0.8pt%
+&\\lower-2pt\\hbox to 14pt{\\hfil#\\hfil}\\vrule width0.8pt%
+&\\lower-2pt\\hbox to 14pt{\\hfil#\\hfil}\\vrule%
+&\\lower-2pt\\hbox to 14pt{\\hfil#\\hfil}\\cr%
+% -----------------------------------------
+';
+    $i = 0; // Kiírt hiányzók száma (max 16)
+    if (is_array($napiHianyzas)) { 
+	foreach ($napiHianyzas as $diakId => $H) {
+	    if ($i > 15) break;
+    	    if ($i != 0) $return .= '\\noalign{\\hrule}';
+    	    $return .= $H['diakNev'];
+    	    for ($j = 1; $j <= 8; $j++) $return .= '&'.$H['ora'][$j];
+    	    $return .= '&'.$H['összesen'].'&'.$H['igazolt'].'&'.$H['igazolatlan'].'\\cr';
+	    $i++; 
+	}
+    }
+    // Üres sorok
+    for ($i;$i<=15; $i++) {
+        if ($i != 0) $return .= '\\noalign{\\hrule}';
+        $return .= '&&&&&&&&&&&\\cr';
+    }
+$return .= '}}}%
+'; return $return;
+
+
+    } // end of putTeXHianyzasAlTablazat($DATA)
+    /* ------------------------------------------------------------------------------------- */
+
+    function putTargyFejlec($lap, $ADAT) {
+
+	$return = '';
+
+	if ($lap > 0) {
+
+    	    $return='%% PAGE '.($lap+1).' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'."\n";
+	    if ($lap == 2) 
+		$return .= '\\vbox to 20pt{\\vfil\\centerline{\\nagy'.datumString($ADAT['tanitasiNapOk']).'\\normal}\\vfil}'."\n";
+	    else
+		$return .= '\\vbox to 20pt{\\vfil\\centerline{\\nagy '.date('W',strtotime($ADAT['tanitasiNapOk'][1])).'. hét\\normal}\\vfil}'."\n";
+	    $return .= '\\halign{%
+\\vrule width2pt%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width0.8pt&%
+\\hbox to 34pt{#}\\vrule width2pt\\cr%
+% -------------------------------------------------------------- %
+\\noalign{\\hrule height2pt}%
+%%+++ EZ ITT NEM JÓ ÁM MINDIG Hö... \\vbox to 75pt{}%
+';
+
+	}
+$foglalt = 0;
+for ($i = 0; $i < count($ADAT['targyFejlec'][$lap]); $i++) {
+    $targyId = $ADAT['targyFejlec'][$lap][$i]['targyId'];
+    $db = $ADAT['targyFejlec'][$lap][$i]['db'];
+    $sorsz = $ADAT['targyFejlec'][$lap][$i]['sorsz'];
+    $tAdat = $ADAT['targyAdat'][$targyId];
+
+    $tordeltTargyNev = $ADAT['targyAdat'][$targyId]['tordeltTargyNev'];
+    $targyNev = $ADAT['targyAdat'][$targyId]['targyNev'];
+
+    $foglalt += $db;
+    
+    if ($db == 1) {
+	if (count($tordeltTargyNev) < 5) $return .= '\\vbox to 72pt{}\\tetejen{34pt}{41.2pt}{\\vbox{';
+	else $return .= '\\vbox to 72pt{}\\kozepen{34pt}{72pt}{\\vbox{';
+    	for ($j = 0; $j < count($tordeltTargyNev); $j++) $return .= '\\centerline{'.TeXSpecialChars($tordeltTargyNev[$j]).'}';
+        $return .= '}}&';
+    } else {
+	$return .= '\\multispan{'.$db.'}{';
+	if ($lap != 0 && $foglalt == $db) $return .= '\\vrule width2pt\\vbox to 72pt{}';
+	//$return .= '\\ennes{'.TeXSpecialChars($targyNev).'}{'.$db.'}';
+	$return .= '\\emmes{'.TeXSpecialChars($targyNev).'}{'.$db.'}{'.$sorsz.'}';
+	if ($foglalt == $ADAT['helyek'][$lap]) $return .= '\\vrule width2pt}&';
+	else $return .= '\\vrule width0.8pt}&';
+    }
+}
+for ($i = $foglalt; $i < $ADAT['helyek'][$lap]; $i++) {
+    $return .= '\\tetejen{34pt}{41.2pt}{\\vbox{';
+    $return .= '\\centerline{}';
+    $return .= '}}&';
+}
+return substr($return,0,-1)."\\cr%\n";
+
+    }
+
+/* -------------------------------------- */
+
+    function putOraleiras($lap, $ADAT) {
+	$tol = 0;
+	for ($tLap = 0; $tLap < $lap; $tLap++) $tol += $ADAT['helyek'][$tLap];
+	$ig = $tol + $ADAT['helyek'][$lap];
+
+$return = '';
+$return .= '% ------------------------------------------------------------- %
+\\noalign{\\hrule height2pt}%
+';
+
+    for ($i = 0; $i < 3; $i++) {
+
+	$dt = $ADAT['tanitasiNapOk'][$i];
+        if (count($ADAT['orak'][$dt]) > 0) {
+            for ($j = $tol; $j < $ig; $j++) {
+		$tankorId = $ADAT['oszlopTankore'][$j];
+		if (is_array($ADAT['oraszam'][$dt][$tankorId])) {
+		    if (is_numeric($ADAT['oraszam'][$dt][$tankorId][0]))
+			$oraszam1 = $ADAT['oraszam'][$dt][$tankorId][0].'.';
+		    else $oraszam1='---';
+		    if (is_numeric($ADAT['oraszam'][$dt][$tankorId][ (count($ADAT['oraszam'][$dt][$tankorId])-1) ]))
+			$oraszam2 = $ADAT['oraszam'][$dt][$tankorId][ (count($ADAT['oraszam'][$dt][$tankorId])-1) ].'.';
+		    else $oraszam2='---';
+		} else { $oraszam1 = $oraszam2 = ''; }
+		if (is_array($ADAT['tananyag'][$dt][$tankorId])) $leiras = TeXSpecialChars(implode(' ', $ADAT['tananyag'][$dt][$tankorId]));
+		else $leiras = '';
+                // $dupla_orszam_formátum = \\vbox{\\hsize=20pt\\centerline{134.} \\centerline{135.}}
+                if ($oraszam1 == $oraszam2) {
+                    $return .= '\\tananyag{'.$leiras.'}{'.$oraszam1.'}';
+                } else {
+                    $return .= '\\tananyag{'.$leiras.'}{\\vbox{\\hsize=20pt\\centerline{'.$oraszam1.'} \\centerline{'.$oraszam2.'}}}';
+                }
+		if ($j < $ig - 1) $return .= '&';
+            }
+            $return .= '\\cr\\noalign{\\hrule height2pt}';
+        } else {
+            $return .= '\\multispan{15}{\\vrule width2pt\\vbox to 166pt{}\\hfil\\vrule width2pt}\\cr\\noalign{\\hrule height2pt}';
+        }
+    }
+
+
+    $return .= '% ------------------------------------------------------------- %
+\\multispan{15}{%
+\\vrule width2pt\\megjegyzes{Látogatások és egyéb}{észrevételek}%
+';
+	return $return;
+    }
+
+    /* ------------------------------------------------------------------------------------- */
+    function putTeXPage1($ADAT) {
+        global $aHetNapjai;
+$return='
+%%%%%%%%%%%%%%%%%%% PAGE 1 %%%%%%%%%%%%%%%%%%%%%%%
+\\vbox to 20pt{\\vfil\\centerline{\\nagy'.datumString($ADAT['tanitasiNapOk']).'\\normal}\\vfil}
+\\halign{%
+\\hbox to 22pt{\\hfil#}%
+&\\vrule width0.8pt\\hbox to 82.5pt{#}\\vrule width0.8pt%
+&#\\vrule width0.8pt&\\hbox to 34pt{#}\\vrule width0.8pt%
+&\\hbox to 34pt{#}\\vrule width0.8pt%
+&\\hbox to 34pt{#}\\vrule width0.8pt%
+&\\hbox to 34pt{#}\\vrule width0.8pt%
+&\\hbox to 34pt{#}\\vrule width0.8pt%
+&\\hbox to 34pt{#}\\vrule width2pt\\cr%
+% -------------------------------------------------------------- %
+\\noalign{\\hrule height2pt}%
+%xetex%\\vrule width2pt\\tanitasi&\\kozepen{82.5pt}{70pt}{Tant\\\'argy}&\\hianyzasFejlec&%
+\\vrule width2pt\\tanitasi&\\kozepen{82.5pt}{70pt}{Tantárgy}&\\hianyzasFejlec&%
+% -------------------------------------------------------------- %
+';
+
+
+$lap = 0;
+$return .= putTargyFejlec($lap, $ADAT);
+
+$return .= '% ------------------------------------------------------------- %
+\\noalign{\\hrule height2pt}%
+';
+
+    for ($i = 0; $i <= 2; $i++) {
+                            // ---------------------------------- Mintanap...
+	$dt = $ADAT['tanitasiNapOk'][$i];
+        if (count($ADAT['orak'][$dt]) > 0) {
+            $return .= '\\datum{'.
+            getTanitasiNapSzama($dt, $ADAT['munkatervId']).'}{'.
+            datumRomai($dt).'}{'.
+            $aHetNapjai[(date('w',strtotime($dt))-1)].'}&\\orarend'.
+            putTeXOrarendParameterek($dt, $ADAT).'&'.
+            putTeXHianyzasAlTablazat($ADAT['hianyzas'][$dt]);
+            for ($j = 0; $j < 6; $j++) {
+		$tankorId = $ADAT['oszlopTankore'][$j];
+		if (is_array($ADAT['oraszam'][$dt][$tankorId])) {
+		    if (is_numeric($ADAT['oraszam'][$dt][$tankorId][0]))
+			$oraszam1 = $ADAT['oraszam'][$dt][$tankorId][0].'.';
+		    else $oraszam1 = '---';
+		    if (is_numeric($ADAT['oraszam'][$dt][$tankorId][ (count($ADAT['oraszam'][$dt][$tankorId])-1) ]))
+			$oraszam2 = $ADAT['oraszam'][$dt][$tankorId][ (count($ADAT['oraszam'][$dt][$tankorId])-1) ].'.';
+		    else $oraszam2='---';
+		} else { $oraszam1 = $oraszam2 = ''; }
+		if (is_array($ADAT['tananyag'][$dt][$tankorId])) $leiras = TeXSpecialChars(implode(' ', $ADAT['tananyag'][$dt][$tankorId]));
+		else $leiras = '';
+                // $dupla_orszam_formátum = \\vbox{\\hsize=20pt\\centerline{134.} \\centerline{135.}}
+                if ($oraszam1 == $oraszam2) {
+                    $return .= '&\\tananyag{'.$leiras.'}{'.$oraszam1.'}';
+                } else {
+                    $return .= '&\\tananyag{'.$leiras.'}{\\vbox{\\hsize=20pt\\centerline{'.$oraszam1.'} \\centerline{'.$oraszam2.'}}}';
+                }
+            }
+            $return .= '\\cr\\noalign{\\hrule height2pt}';
+        } elseif ($ADAT['napok'][$dt][0]['tipus'] == 'speciális tanítási nap') {
+            $return .= '\\datum{'.
+	    getTanitasiNapSzama($dt, $ADAT['munkatervId']).'}{'.
+	    datumRomai($dt).'}{'.
+	    $aHetNapjai[(date('w',strtotime($dt))-1)]
+		.'}&\\multispan{8}{\\vrule width0.8pt\\vbox to 160pt{'
+		.'\\line{}\\centerline{'.$ADAT['napok'][$dt][0]['tipus'].'}\\line{}\\centerline{'.$ADAT['napok'][$dt][0]['megjegyzes'].'}'
+		.'}\\hfil\\vrule width2pt}\\cr\\noalign{\\hrule height2pt}';
+        } else {
+            $return .= '\\datum{}{'.datumRomai($ADAT['tanitasiNapOk'][$i] ).'}{'.$aHetNapjai[(date('w',strtotime($ADAT['tanitasiNapOk'][$i]))-1)]
+		.'}&\\multispan{8}{\\vrule width0.8pt\\vbox to 160pt{}\\hfil\\vrule width2pt}\\cr\\noalign{\\hrule height2pt}';
+        }
+    }
+
+                            // ---------------------------------- Mintanap VÉGE
+$return .= '% ------------------------------------------------------------- %
+\\vrule width2pt\\megjegyzes{Mulasztott órák és}{későn jövés igazolása}%
+&\\multispan8{';
+
+    for ($i = 0; $i <= 2; $i++) {
+
+	// Kell ez?
+        //$return .= '\\vrule width0.8pt\\quad\\vbox to 85pt{\\hsize=140pt\\hbox{'.  $aHetNapjai[(date('w',strtotime($ADAT['tanitasiNapOk'][$i]))-1)]  .':}';
+        //$return .= '\\vfill}\\hfil';
+
+	$dt = $ADAT['tanitasiNapOk'][$i];
+        $pluszHIANYZASOK = array();
+
+            $return .= '\\vrule width0.8pt';
+            $return .= '\\vbox to 85pt{\\baselineskip=10pt\\leftskip=3pt\\hsize=159pt';
+                $return .= '\\par{\\noindent '.$aHetNapjai[(date('w',strtotime($ADAT['tanitasiNapOk'][$i]))-1)].':}';
+
+                if (count($ADAT['hianyzas'][$dt]) > 16) {
+		    $napiHianyzas = $ADAT['hianyzas'][$dt];
+		    $h = 0;
+		    foreach ($napiHianyzas as $diakId => $H) {
+			if ($h > 15) {
+                    	    $return .= '\\par{'.$H['diakNev'];
+                        if (intval($H['összesen']) != 0) {
+                            $return .= ' '.intval($H['összesen'])
+                                .'('.intval($H['igazolt']).')';
+                            // Hiányzó hiányzásai, késései felsorolás
+                            for ($k = 1; $k <= 8; $k++) { // itt k=8 a maximális óraszám!
+                                if (isset($H['ora'][$k])) {
+                                    $pluszHIANYZASOK[ $H['ora'][$k] ] .= $k.'.';
+                                }
+                            }
+                            while (list($key,$val) = each($pluszHIANYZASOK)) {
+                                $return .= ' '.$key.':'.$val;
+                            }
+                        } else { // nem hiányzott, csak késett
+                            $return .= ' késett:';
+                            for ($k = 1; $k <= 8; $k++) { // itt k=8 a maximális óraszám!
+                                if (isset($H['ora'][$k])) {
+                                    $return .= ' '.$k.'.';
+                                }
+                            }
+                        }
+                        $return .= '}'; // ez a vége a \par{} - nak.
+			}
+			$h++;
+                    }
+                }
+            $return .= '\\vfill}';
+    }
+
+
+$return .='\\vrule width2pt%
+}\\cr% multispan
+\\noalign{\\hrule height2pt}%
+}\\hoffset=-1cm
+';
+	return $return;
+
+
+    } // end of putTeXElsoOldal()
+    /* ------------------------------------------------------------------------------------- */
+
+   /* ------------------------------------------------------------------------------------- */
+    function putTeXPage2($ADAT) {
+
+        global $aHetNapjai;
+
+	$lap = 1; 
+	$return .= putTargyFejlec($lap, $ADAT);
+	$return .= putOraleiras($lap, $ADAT);
+
+        for ($i = 0; $i < 3; $i++) {
+	    $dt = $ADAT['tanitasiNapOk'][$i];
+            $return .= '\\vrule width0.8pt';
+            $return .= '\\vbox to 85pt{\\leftskip=3pt\\hsize=120pt';
+                $return .= '\\par{\\noindent '.$aHetNapjai[(date('w',strtotime($dt))-1)].':}\\parindent=15pt';
+                for ($k = 0; $k < count($ADAT['helyettesites'][$dt]); $k++) 
+		    $return .= '\\item{'.$ADAT['helyettesites'][$dt][$k]['ora'].'.}{'
+			.$ADAT['helyettesites'][$dt][$k]['tipus'].' \\dolt '
+			.$ADAT['tanarok'][ $ADAT['helyettesites'][$dt][$k]['ki'] ]['tanarNev'].'}';
+                for ($k = 0; $k < count($ADAT['oralatogatas'][$dt]); $k++) {
+		    $return .= '\\item{'.$ADAT['oralatogatas'][$dt][$k]['ora'].'.}{'
+			.'óralátogatás \\dolt ';
+		    $tNev = array();
+		    foreach ($ADAT['oralatogatas'][$dt][$k]['tanarIds'] as $tanarId) 
+			$tNev[] = $ADAT['tanarok'][$tanarId]['tanarNev'];
+		    $return .= implode(', ', $tNev).'}';
+		}
+            $return .= '\\vfill}';
+        }
+
+        $return .= '\\vrule width0.8pt';
+        $return .= '\\vbox to 85pt{\\parindent=0pt\\leftskip=3pt\\hsize=120pt';
+        $return .= '\\par{Osztályfőnöki óra:}';
+	$oraszam1 = $oraszam2 = '';
+        for ($i = 0; $i < 3; $i++) {
+	    $dt = $ADAT['tanitasiNapOk'][$i];
+            if ($ADAT['tananyag'][$dt][ $ADAT['ofoTankorId'] ] != '') $return .= '\\par{'.
+		    TeXSpecialChars(implode('; ', array_unique($ADAT['tananyag'][$dt][ $ADAT['ofoTankorId'] ]))).'}';
+
+	    // óraszám
+	    if (is_array($ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ])) {
+		if (is_numeric($ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ][0]))
+		    $oraszam1 = $ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ][0].'.'; 
+		else $oraszam1 = '---';
+		if (is_numeric($ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ][ (count($ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ])-1) ])) 
+		    $oraszam2 = $ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ][ (count($ADAT['oraszam'][$dt][ $ADAT['ofoTankorId'] ])-1) ].'.';
+		else $oraszam2 = '---';
+	    }
+
+        }
+        $return .= '\\vfill';
+        $return .= '\\hbox to 138pt{\\hfill\\lower3pt\\oraszam{';
+
+        if ($oraszam1 == $oraszam2) $return .= $oraszam1;
+        else $return .= '\\vbox{\\hsize=20pt\\centerline{'.$oraszam1.'} \\centerline{'.$oraszam2.'}}';
+
+        $return .= '}}';
+        $return .= '}%end of vbox'."\n";
+        $return .= '\\vrule width2pt';
+
+	$return .= '}\\cr% multispan
+\\noalign{\\hrule height2pt}%
+}\\hoffset=-0.4cm';
+
+	return $return;
+    }
+    /* ------------------------------------------------------------------------------------- */
+
+
+   /* ------------------------------------------------------------------------------------- */
+    function putTeXPage34($ADAT) {
+
+        global $aHetNapjai;
+
+	$lap = 2;
+	$return .= putTargyFejlec($lap, $ADAT);
+	$return .= putOraleiras($lap, $ADAT);
+	for ($i = 0; $i < 3; $i++) {
+	    $dt = $ADAT['tanitasiNapOk'][$i];
+            $return .= '\\vrule width0.8pt';
+            $return .= '\\vbox to 85pt{\\leftskip=3pt\\hsize=120pt';
+                $return .= '\\par{\\noindent '.$aHetNapjai[(date('w',strtotime($dt))-1)].':}\\parindent=15pt';
+            $return .= '\\vfill}';
+        }
+
+        $return .= '\\vrule width0.8pt';
+        $return .= '\\vbox to 85pt{\\parindent=0pt\\leftskip=3pt\\hsize=120pt';
+        $return .= '\\vfill';
+        $return .= '\\hbox to 138pt{\\hfill';
+        $return .= '}';
+        $return .= '}%end of vbox'."\n";
+        $return .= '\\vrule width2pt';
+
+	$return .= '}\\cr% multispan
+\\noalign{\\hrule height2pt}%
+}\\hoffset=-1cm';
+
+	$return .= putTeXLapdobas();
+
+	$lap = 3;
+	$return .= putTargyFejlec($lap, $ADAT);
+	$return .= putOraleiras($lap, $ADAT);
+        for ($i = 0; $i < 3; $i++) {
+	    $dt = $ADAT['tanitasiNapOk'][$i];
+            $return .= '\\vrule width0.8pt';
+            $return .= '\\vbox to 85pt{\\leftskip=3pt\\hsize=120pt';
+                $return .= '\\par{\\noindent '.$aHetNapjai[(date('w',strtotime($dt))-1)].':}\\parindent=15pt';
+            $return .= '\\vfill}';
+        }
+
+        $return .= '\\vrule width0.8pt';
+        $return .= '\\vbox to 85pt{\\parindent=0pt\\leftskip=3pt\\hsize=120pt';
+        $return .= '\\vfill';
+        $return .= '\\hbox to 138pt{\\hfill';
+        $return .= '}';
+        $return .= '}%end of vbox'."\n";
+        $return .= '\\vrule width2pt';
+
+	$return .= '}\\cr% multispan
+\\noalign{\\hrule height2pt}%
+}\\hoffset=-0.4cm';
+
+
+	return $return;
+    }
+    /* ------------------------------------------------------------------------------------- */
+
+
+
+
+
+
+// ======= Osztályozó ======= //
+
+function putTeXOsztalyozoOldalbeallitas() {
+
+    return '%% Oldalbeállítás %%
+\pretolerance=10000
+\tolerance=100
+\magnification=960
+\vsize=27.7cm
+\hsize=19cm
+\voffset=-1.54cm
+\hoffset=-1.27cm';
+
+}
+
+function putTeXOsztalyozoFejlec($sorszam, $diakNev, $szuletesiHely, $szuletesiIdo) {
+
+    global $Honapok;
+
+    $ev = substr($szuletesiIdo, 0, 4);
+    $ho = kisbetus($Honapok[ intval(substr($szuletesiIdo, 5, 2))-1 ]);
+    $nap = intval(substr($szuletesiIdo, -2));
+    if ($szuletesiHely == '') $szuletesiHely = 'n.a.';
+
+    $return .= '%--Osztályozó napló egy diák fejléce--'.$sorszam.'
+\ifodd\pageno\hoffset=-0,64cm\else\hoffset=-1,64cm\fi
+\hbox to\hsize{\nagy '.$sorszam.'. '.$diakNev.'\hfil '.$szuletesiHely.", $ev. $ho $nap.".'}%
+\medskip';
+
+    return $return;
+
+}
+
+function putTeXOsztalyozoAllandoFejlec($Ho) {
+    global $hoRomai;
+    foreach ($Ho as $k=>$v) {
+	$rHo[$k] = $hoRomai[$v].'.';
+    }
+
+
+    $return .= '
+\halign{';
+
+    if (__OSZTALYOZONAPLO_JEGYEK_FELEVENTE === true) {
+	$return .= '\hbox to 194.8pt{\strut\hfil #\hfil}\vrule width1.2pt&';
+	$return .= '\hbox to 194.8pt{\strut\hfil #\hfil}\vrule width1.2pt\cr%'."\n";
+	$return .= 'I.&II.\cr%'."\n";
+	$txt = 'félévben nyert érdemjegy';
+	$return .= '\noalign{\hrule height0.8pt}%
+\multispan{2}{\vbox to 25pt{\hsize=390.8pt\vfil\hbox to 390.8pt{\hfil '.$txt.'\hfil}\vfil}\vrule width1.2pt}\cr%
+}%
+';
+    } else {
+	for($i=1; $i<=10; $i++) $return .= '\hbox to 38pt{\strut\hfil #\hfil}\vrule width1.2pt&';
+	$return = substr($return,0,-1);
+	$return .= '\cr% 10 darab'."\n";
+	// Ha a hónapokat írnánk ki?
+	$return .= implode('&', $rHo).'\cr%'."\n";
+	$txt = 'hónapban nyert érdemjegy';
+// Vagy tíz "témakört"..
+    //1.&2.&3.&4.&5.&6.&7.&8.&9.&10.\cr%
+//    $return .= '1.';
+//    for ($i = 1; $i < count($Ho); $i++) $return .= '&'.($i+1).'.';
+//    $return .= '\cr%'."\n";
+//    $txt = 'szakaszból (témakörből) nyert érdemjegy';
+    $return .= '\noalign{\hrule height0.8pt}%
+\multispan{10}{\vbox to 25pt{\hsize=390.8pt\vfil\hbox to 390.8pt{\hfil '.$txt.'\hfil}\vfil}\vrule width1.2pt}\cr%
+}%
+';
+
+    }
+
+    return $return;
+
+}
+
+function putTeXOsztalyozoJegyek($diakId, $ADAT, $start = 0) {
+/*
+    $sorszam - hány tárgy sora lett kiírva
+    $i - Hányadik tárgynál tartunk az osztály tárgyai között
+    $start - honnan indul a $i
+*/
+    global $KOVETELMENY, $_TANEV;
+
+// csúnya megoldás, de nincs jobb ötletem:
+    global $iGlobal;
+
+    $return .= '%%%% Osztalyozó jegyek %%%%'."\n";
+//    $return .= '\halign{\vrule width2pt\hbox to 85pt{\vbox to 30pt{\hsize=85pt\vfil{\ #}\vfil}\hfill}\vrule width1.2pt&'; // Tárgy oszlopa - balra igazított
+    $return .= '\halign{\vrule width2pt\hbox to 85pt{\hglue 5pt plus 0pt minus 0pt \vbox to 30pt{\hsize=80pt\vfil{#}\vfil}\hfill}\vrule width1.2pt&'; // Tárgy oszlopa - balra igazított
+
+    if (__OSZTALYOZONAPLO_JEGYEK_FELEVENTE === true) {
+	for ($i = 0; $i < 2; $i++) { // A hónapok
+    	    $return .= '\hbox to 194.8pt{\hfil\vbox to 30pt{\hsize=186.8pt{\baselineskip=9pt\vfil#\vfil}}\hfil}\vrule width1.2pt&'; // középre igazított
+	}
+    } else {
+	for ($i = 0; $i < count($ADAT['honapok']); $i++) { // A hónapok
+    	    $return .= '\hbox to 38pt{\hfil\vbox to 30pt{\hsize=30pt{\baselineskip=9pt\vfil#\vfil}}\hfil}\vrule width1.2pt&'; // középre igazított
+	}
+    }
+    $return .= '\hbox to 28pt{\vbox to 30pt{\hsize=28pt\vfil\hfil{\nagyss #}\hfil\vfil}}\vrule&%
+\hbox to 28pt{\vbox to 30pt{\hsize=28pt\vfil\hfil{\nagyss #}\hfil\vfil}}\vrule width2pt\cr%
+%%%% Formátum sor vége %%%%
+\noalign{\hrule height2pt}%
+%%%% Tárgy fejlécsora %%%%
+\omit{\vrule width2pt\hbox to 85pt{\vbox to 25pt{\hsize=85pt\vfil{\hfil Tantárgy\vfil}\vfil}\hfill}\vrule width1.2pt}&%
+%%%% Hónapok fejlécsora %%%%'."\n";
+if (__OSZTALYOZONAPLO_JEGYEK_FELEVENTE === true) $return .= '\multispan{2}{\lower3pt\vbox{'.putTeXOsztalyozoAllandoFejlec($ADAT['honapok']).'}}&%'."\n";
+else $return .= '\multispan{10}{\lower3pt\vbox{'.putTeXOsztalyozoAllandoFejlec($ADAT['honapok']).'}}&%'."\n";
+$return .= '%%%% Zárójegy fejlécsora %%%%
+\multispan2{\vbox{%
+\halign{\hbox to 28pt{\space\lower3pt\vbox to 25pt{\hsize=22pt\vfil\baselineskip=0pt #\vfil}\space}\vrule&%
+\hbox to 28pt{\space\lower3pt\vbox to 25pt{\hsize=22pt\vfil\baselineskip=0pt #\vfil}\space}%
+\cr%
+\multispan2{\strut\hfil Osztályzata\hfil}\cr%
+\noalign{\hrule height 0.8pt}%
+félév- kor&év végén\cr%
+}%
+}\vrule width2pt}\cr%
+%%%%%%%% Fejléc vége %%%%%%%%
+\noalign{\hrule height1.2pt}%
+';
+
+## =====================================================
+# Tárgynév formálása, és a 10 hónapban külön a rublikák
+    $sorszam = 0;
+    for ($i = $start; ($i < count($ADAT['targyak']) && $sorszam < 20); $i++) {
+
+	$targyId = $ADAT['targyak'][$i]['targyId'];
+	$targyNev = $ADAT['targyak'][$i]['targyNev'];
+	// A hosszabb nevek esetén az első szóköz nem nyújtható - de ezt most az elválaszott alak kiiktatja 
+	// if ($pos = strpos($targyNev, ' ')) $targyNev = substr($targyNev, 0, $pos).'\hglue 1ex plus 0pt minus 0pt '.substr($targyNev, $pos+1);
+        if (
+            (
+		//---------IDE ÍRJ
+		//is_array($ADAT['jegyek'][$diakId][$targyId])
+		in_array($targyId,$ADAT['diakTargy'][$diakId])
+		|| is_array($ADAT['zaroJegy'][1][$diakId][$targyId])
+		|| is_array($ADAT['zaroJegy'][2][$diakId][$targyId])
+	    )
+	    && ($targyId != $ADAT['targyak']['magatartasId'])
+	    && ($targyId != $ADAT['targyak']['szorgalomId'])
+            && ($targyNev != 'osztályfőnöki')
+            && ($targyNev != 'magatartás')
+            && ($targyNev != 'szorgalom')
+        ) {
+            $sorszam++;
+	    // $return .= $targyNev;
+	    $return .= $ADAT['targyak'][$i]['elvalasztott'];
+            $return .= '&';
+
+	    if (__OSZTALYOZONAPLO_JEGYEK_FELEVENTE !== true) {
+	      for ($k = 0; $k < count($ADAT['honapok']); $k++) {
+            	$ho = $ADAT['honapok'][$k];
+            	for($j = 0; $j < count($ADAT['jegyek'][$diakId][$targyId][$ho]); $j++) {
+		    $_jegy = $ADAT['jegyek'][$diakId][$targyId][$ho][$j]['jegy'];
+		    $_jegyTipus = $ADAT['jegyek'][$diakId][$targyId][$ho][$j]['jegyTipus'];
+		    $return .= TeXSpecialChars($KOVETELMENY[$_jegyTipus][$_jegy]['rovid']).' ';
+            	}
+		$return .= '&';
+    	      }
+	    } else { /* Ha félévenként! */
+              for ($felev=1; $felev<=2; $felev++) {
+		for ($j=0; $j0) $return .= ' ';
+        	    if ($zaroJegyek[$zji]['jegy'] != 0) $return .= TeXSpecialChars(
+			$KOVETELMENY[ $zaroJegyek[$zji]['jegyTipus'] ][ $zaroJegyek[$zji]['jegy'] ]['rovid']
+		    );
+        	    $return .= TeXSpecialChars(nagybetus(substr(
+			$zaroJegyek[$zji]['megjegyzes'],0,1
+		    )));
+
+		}
+	    } // ha még tagja félévkor az osztálynak
+
+            $return .= '&';
+
+	    if (
+		strtotime($ADAT['diakAdat'][$diakId]['osztalyDiak'][0]['kiDt']) == ''
+		|| strtotime($_TANEV['szemeszter'][2]['zarasDt']) <= strtotime($ADAT['diakAdat'][$diakId]['osztalyDiak'][0]['kiDt'])
+	    ) {
+		$zaroJegyek=$ADAT['zaroJegy'][2][$diakId][$targyId];
+		for ($zji=0; $zji0) $return .= ' ';
+        	    if ($zaroJegyek[$zji]['jegy'] != 0) $return .= TeXSpecialChars(
+			$KOVETELMENY[ $zaroJegyek[$zji]['jegyTipus'] ][ $zaroJegyek[$zji]['jegy'] ]['rovid']
+		    );
+        	    $return .= TeXSpecialChars(nagybetus(substr(
+			$zaroJegyek[$zji]['megjegyzes'],0,1
+		    )));
+		}
+	    } // ha még tagja év végén az osztálynak
+            $return .= '\cr%
+\noalign{\hrule height0.8pt}%
+';
+        }
+    }
+
+
+    for($j = $sorszam; $j < 20; $j++) {
+	if (__OSZTALYOZONAPLO_JEGYEK_FELEVENTE === true) $return .= '&&&&\cr';
+        else $return .= str_repeat('&', 2+count($ADAT['honapok'])).'\cr';
+// 	$return .= '0&1&2&3&4&5&6&7&8&9&10&11&12\cr';
+        $return .= '\noalign{\hrule height0.8pt}';
+    }
+
+    $return .= '}';
+
+    $iGlobal = $i;
+
+    return $return;
+}
+
+function putTeXOsztalyozoAdatok($diakId, $ADAT) {
+
+    global $KOVETELMENY;
+
+    $return .= '\halign{\vrule width2.0pt\hbox to 398.6pt{\vbox to 80pt{\hsize=398.6pt#}}\vrule width1.2pt&%
+\hbox to 135.2pt{#}\vrule width2pt\cr%
+\noalign{\hrule height1.2pt}%
+\quad\vbox{\vbox to 8pt{}%
+\settabs\+ Oktatási azonosító\quad&\quad Itt egy nagyon hosszzú név \quad&\quad Törvényes képviselő:\ &\quad adatsor3 \cr
+\+ Oktatási azonosító:&'.
+$ADAT['diakAdat'][$diakId]['oId']
+.'&Törzslapszám:&'.
+TeXSpecialChars($ADAT['diakAdat'][$diakId]['torzslapszam'])
+#.'&Törvényes képviselő:&'.
+#str_replace(',',', ',$ADAT['diakAdat'][$diakId]['torvenyesKepviselo'])
+.'\cr%
+\+ Anyja neve:&'.
+# Ha van leánykori neve, akkor azt írjuk ki, különben a viselt nevet
+(($ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['anyaId'] ]['szuleteskoriCsaladinev']!='')?trim(
+    $ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['anyaId'] ]['szuleteskoriCsaladinev'].' '.
+    $ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['anyaId'] ]['szuleteskoriUtonev']
+):$ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['anyaId'] ]['szuloNev'])
+.'&TAJ:&'.
+implode('-', str_split($ADAT['diakAdat'][$diakId]['tajSzam'],3))
+.'\cr%';
+    $return .= '
+\+ '
+.'Apa neve:&'.
+$ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['apaId'] ]['szuloNev']
+.'&Telefonszám:&'.
+implode(
+    ', ',
+  array_unique( 
+    array_diff(
+	array($ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['anyaId'] ]['telefon'],$ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['apaId'] ]['telefon']),
+	array(null,'')
+    )
+  )
+)
+.'\cr%';
+    $return .= '
+\+ Gondviselő neve:&'.
+$ADAT['szulok'][ $ADAT['diakAdat'][$diakId]['gondviseloId'] ]['szuloNev']
+.'&Törvényes képviselő:&'.
+str_replace(',',', ',$ADAT['diakAdat'][$diakId]['torvenyesKepviselo'])
+.'\cr%';
+$return .= '
+\+ Tanuló lakcíme:&'.TeXSpecialChars($ADAT['diakAdat'][$diakId]['lakhelyIrsz'].' '
+    .$ADAT['diakAdat'][$diakId]['lakhelyHelyseg'].', '
+    .$ADAT['diakAdat'][$diakId]['lakhelyKozteruletNev'].' '
+    .$ADAT['diakAdat'][$diakId]['lakhelyKozteruletJelleg'].' '
+    .$ADAT['diakAdat'][$diakId]['lakhelyHazszam'].' '
+    .$ADAT['diakAdat'][$diakId]['lakhelyEmelet'].' '
+    .$ADAT['diakAdat'][$diakId]['lakhelyAjto'].' ')
+    .'\cr%';
+if ($ADAT['diakAdat'][$diakId]['gondozasiSzam'] != '' || $ADAT['diakAdat'][$diakId]['fogyatekossag'] != '') {
+    $return .= '
+\+ Felmentés:&'.
+str_replace(',',', ',$ADAT['diakAdat'][$diakId]['fogyatekossag']).' ('.TeXSpecialChars($ADAT['diakAdat'][$diakId]['gondozasiSzam']).')'
+.'\cr%';
+}
+
+    $return .= '
+}&%---------------------------------
+\lower3pt\vbox{%
+\halign{\hbox to 77.6pt{\vbox to 19.3pt{\hsize=77.6pt\vfil\space#\vfil}}&%
+\vrule\hbox to 28pt{\vbox to 19.3pt{\hsize=28pt\vfil{\nagyss\hfil#\hfil}\vfil}}\vrule&%
+\hbox to 28pt{\vbox to 19.3pt{\hsize=28pt\vfil{\nagyss\hfil#\hfil}\vfil}}\cr%
+\quad Magatartás&';
+$return .= $KOVETELMENY[ $ADAT['zaroJegy'][1][$diakId][ $ADAT['targyak']['magatartasId'] ][0]['jegyTipus'] 
+		][ 	 $ADAT['zaroJegy'][1][$diakId][ $ADAT['targyak']['magatartasId'] ][0]['jegy'] ]['rovid'];
+$return .= '&';
+$return .= $KOVETELMENY[ $ADAT['zaroJegy'][2][$diakId][ $ADAT['targyak']['magatartasId'] ][0]['jegyTipus'] 
+	        ][       $ADAT['zaroJegy'][2][$diakId][ $ADAT['targyak']['magatartasId'] ][0]['jegy'] ]['rovid'];
+$return .= '\cr%
+\noalign{\hrule}%
+\quad Szorgalom&';
+$return .= $KOVETELMENY[ $ADAT['zaroJegy'][1][$diakId][ $ADAT['targyak']['szorgalomId'] ][0]['jegyTipus'] 
+	        ][       $ADAT['zaroJegy'][1][$diakId][ $ADAT['targyak']['szorgalomId'] ][0]['jegy'] ]['rovid'];
+$return .= '&';
+$return .= $KOVETELMENY[ $ADAT['zaroJegy'][2][$diakId][ $ADAT['targyak']['szorgalomId'] ][0]['jegyTipus'] 
+	        ][       $ADAT['zaroJegy'][2][$diakId][ $ADAT['targyak']['szorgalomId'] ][0]['jegy'] ]['rovid'];
+$return .= '\cr%
+\noalign{\hrule height1.2pt}%
+\omit\vbox to 42.4pt{\hsize=77.6pt{%======================
+\halign{\hbox to 30.4pt{\space\vbox to 20.8pt{\hsize=28.4pt\vfil#\vfil}}\vrule&%
+\hbox to 46.4pt{\hbox to 2pt{}\vbox to 20.8pt{\hsize=40.4pt#}}\cr%
+igazolt&\vfil mulasztott\cr%
+\noalign{\hrule width 30.4pt}%
+\baselineskip9pt igazo\-latlan&órák száma\cr%
+}%
+%===========================
+}}&%~~~~~~~~~~~~~~~~
+\omit\vrule\vbox{\halign{\vbox to 20.8pt{\hsize=28pt\vfil\hfil{\nagyss #}\hfil\vfil}\cr%
+'.intval($ADAT['hianyzas'][1][$diakId]['igazolt']).'\cr%
+\noalign{\hrule}%
+'.intval($ADAT['hianyzas'][1][$diakId]['igazolatlan']+floor($ADAT['hianyzas'][1][$diakId]['kesesPercOsszeg']/45)).'\cr%
+}}\vrule%
+%~~~~~~~~~~~~~~~~~~~
+&%~~~~~~~~~~~~~~~~~~
+\omit\vbox{\halign{\vbox to 20.8pt{\hsize=28pt\vfil\hfil{\nagyss #}\hfil\vfil}\cr%
+'.intval($ADAT['hianyzas'][2][$diakId]['igazolt']).'\cr%
+\noalign{\hrule}%
+'.intval($ADAT['hianyzas'][2][$diakId]['igazolatlan']+floor($ADAT['hianyzas'][2][$diakId]['kesesPercOsszeg']/45)).'\cr%
+}}%
+%~~~~~~~~~~~~~~~~~~~
+\cr%
+}%
+}%
+%-----------------------------------
+\cr%
+\noalign{\hrule height2pt}%
+}';
+    return $return;
+
+}
+
+function putTeXTanarLista($ADAT, $lapDobasok) {
+
+    $TANAROK = $ADAT['tanarok'];
+
+    $return = '';
+    $dbTanar = count($TANAROK);
+    $maxTanarperlap = 24;
+    $maxLap = ceil($dbTanar / $maxTanarperlap);
+
+    if ($lapDobasok%2==1) $return .= putTexUresLap();
+
+    for ($lap=0; $lap<$maxLap; $lap++) {
+	if ($maxLap>1) $extStr = ' '.$maxLap.'/'.($lap+1);
+
+	$return .= '\vbox to 32pt{}\centerline{\nagy Aláíróív'.$extStr.'}%'."\n";  //\bigskip
+	$return .= '\vfill'."\n";
+	$return .= '\centerline{Ezt a haladási naplót '.$ADAT['tanitasiNapokSzama'].' tanítási nappal lezártam.}'."\n";
+	$return .= '\centerline{Ezt az osztályozó naplót '.count($ADAT['diakIds']);
+	$return .= ' beírt tanulóval lezártam.}'."\n";
+
+	$return .= '\vfill'."\n";
+	for ($i = 0 + $lap*($maxTanarperlap); $i < $dbTanar && ($maxLap==1 || ($maxLap>=2 && $i<($lap+1)*$maxTanarperlap)); $i=$i+2) {
+    	    $return .= '\line{\hfill'.
+                        '\vbox to 45pt{\hsize=150pt\vfil'.
+                                '\hbox to 150pt{\dotfill}'.
+                                '\hbox to 150pt{\hfil '.$TANAROK[$i].'\hfil}'.
+                        '}';
+    	    if ($TANAROK[$i+1] != '' && $i+1<($lap+1)*$maxTanarperlap) {
+        	$return .=  '\hbox to 80pt{}'.
+                        '\vbox to 45pt{\hsize=150pt\vfil'.
+                                '\hbox to 150pt{\dotfill}'.
+                                '\hbox to 150pt{\hfil '.$TANAROK[$i+1].'\hfil}'.
+                        '}';
+    	    }
+    	    $return .= '\hfill}';
+	}
+	$return .= '\vfill'."\n";
+
+	$return .= putTeXUresLap();
+
+    }
+
+    return $return;
+}
+
+/* Páratlan mayTanarperlap-pal nem jó!!
+
+function putTeXTanarLista($ADAT, $lapDobasok) {
+
+// Gutbrod András
+
+  $TANAROK = $ADAT['tanarok'];
+
+// teszteléshez...
+$TANAROK = array(
+    'Tanár 01', 'Tanár 02', 'Tanár 03', 'Tanár 04', 'Tanár 05', 'Tanár 06', 'Tanár 07', 'Tanár 08', 'Tanár 09', 'Tanár 10',
+    'Tanár 11', 'Tanár 12', 'Tanár 13', 'Tanár 14', 'Tanár 15', 'Tanár 16', 'Tanár 17', 'Tanár 18', 'Tanár 19', 'Tanár 20',
+    'Tanár 21', 'Tanár 22', 'Tanár 23', 'Tanár 24', 'Tanár 25', 'Tanár 26', 'Tanár 27', 'Tanár 28', 'Tanár 29', 'Tanár 30',
+    'Tanár 31', 'Tanár 32', 'Tanár 33', 'Tanár 34', 'Tanár 35', 'Tanár 36', 'Tanár 37', 'Tanár 38', 'Tanár 39', 'Tanár 40',
+    'Tanár 41', 'Tanár 42', 'Tanár 43', 'Tanár 44', 'Tanár 45', 'Tanár 46', 'Tanár 47', 'Tanár 48', 'Tanár 49', 'Tanár 50', 'Tanár 51'
+);
+
+
+    $return = '';
+    $dbTanar = count($TANAROK);
+    $maxTanarperlap = 23;
+    $maxLap = ceil($dbTanar / $maxTanarperlap);
+    $lap = 1;
+
+    if ($lapDobasok%2==1) $return .= putTexUresLap();
+
+  for ($i=0; $i<$dbTanar; $i++) {
+
+    // lap teteje?
+    if ($i % $maxTanarperlap == 0) {
+
+       if ($maxLap>1) $extStr = ' '.$maxLap.'/'.($lap);
+
+       $return .= '\vbox to 32pt{}\centerline{\nagy Aláíróív'.$extStr.'}%'."\n";
+       $return .= '\vfill'."\n";
+       $return .= '\centerline{Ezt a haladási naplót '.$ADAT['tanitasiNapokSzama'].' tanítási nappal lezártam.}'."\n";
+       $return .= '\centerline{Ezt az osztályozó naplót '.count($ADAT['diakIds']);
+       $return .= ' beírt tanulóval lezártam.}'."\n";
+       $return .= '\vfill'."\n";
+
+    }
+
+    if ($i % 2 == 0) {
+
+        $return .= '\line{\hfill'.
+                        '\vbox to 45pt{\hsize=150pt\vfil'.
+                                '\hbox to 150pt{\dotfill}'.
+                                '\hbox to 150pt{\hfil '.$TANAROK[$i].'\hfil}'.
+                        '}';
+
+        // utolsó?
+        if (($i+1) == $dbTanar) {
+           $return .= '\hfill}';
+        }
+
+    } else {
+
+        $return .=  '\hbox to 80pt{}'.
+                        '\vbox to 45pt{\hsize=150pt\vfil'.
+                                '\hbox to 150pt{\dotfill}'.
+                                '\hbox to 150pt{\hfil '.$TANAROK[$i].'\hfil}'.
+                        '}';
+        $return .= '\hfill}';
+
+    }
+
+    // lap alja?
+    if ((($i+1) % $maxTanarperlap) == 0) {
+
+       $return .= '\vfill'."\n";
+       $return .= putTeXUresLap();
+       $lap = $lap+1;
+
+    } else {
+
+       // Nem lap alja és utolsó.
+       if (($i+1) == $dbTanar) {
+
+          $return .= '\vfill'."\n";
+          $return .= putTeXUresLap();
+
+       }
+    }
+  }
+
+  return $return;
+
+}
+
+*/
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/torzslap.php b/mayor-orig/www/include/modules/naplo/nyomtatas/torzslap.php
new file mode 100644
index 00000000..4ae32d4b
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/torzslap.php
@@ -0,0 +1,199 @@
+ $ADAT['targySorrendNev'],'osztalyId' => $ADAT['osztalyId'])); $Targyak = array();
+	for ($i = 0; $i < count($_Targyak); $i++) {
+	    $Targyak[ $_Targyak[$i]['targyId'] ] = $_Targyak[$i];
+	    $Targyak[ $_Targyak[$i]['targyId'] ]['targyNev'] = nagybetus(mb_substr($_Targyak[$i]['targyNev'],0,1)).mb_substr($_Targyak[$i]['targyNev'],1);
+	}
+	unset($_Targyak);
+
+	list($ev,$ho,$nap) = explode('-', $ADAT['dt']);
+	list($evf,$oszt) = explode('.', $ADAT['osztalyAdat']['osztalyJel']);
+	
+	$DATA = array(
+	    'file' => $ADAT['file'],
+	    'base' => array('nyomtatasDt' => date('Y.m.d'), 'datumEv' => $ev, 'datumHonap' => $ho, 'datumNap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]),
+		'intezmenyNev' => $Intezmeny['nev'], 'intezmenyOMKod' => $Intezmeny['OMKod'], 'intezmenyCimIrsz' => $Intezmeny['cimIrsz'], 
+		'intezmenyCimHelyseg' => $Intezmeny['cimHelyseg'], 'intezmenyCimKozteruletNev' => $Intezmeny['cimKozteruletNev'],
+		'intezmenyCimKozteruletJelleg' => $Intezmeny['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $Intezmeny['cimHazszam'],
+		'intezmenyTelefon' => $Intezmeny['telefon'], 'intezmenyHonlap' => $Intezmeny['honlap'],
+		'intezmenyFax' => $Intezmeny['fax'], 'intezmenyEmail' => $Intezmeny['email'],
+		'tanevJele' => substr($ADAT['szemeszter']['tanevAdat']['kezdesDt'],0,4).'/'.substr($ADAT['szemeszter']['tanevAdat']['zarasDt'],2,2),
+		'felevi' => ($ADAT['szemeszter']['szemeszter'] == 1),
+		'diak' => $ADAT['diakIds'], 'osztaly' => "$evf. ".nagybetus($oszt),
+		'szovegesErtekeles' => false,
+	    ),
+	    'diak' => $ADAT['diakAdat'],
+	    'targy' => $Targyak,
+	    'szempont' => array(),
+	    'minosites' => array(),
+	);
+
+	unset($Intezmeny);
+	// Az osztályzatokhoz tartozó tárgyak (lesznek szöveges értékeléshez tartozók is....)
+	for ($i = 0; $i < count ($ADAT['targyak']); $i++) {
+            $DATA['osztalyzatTargy'][ $ADAT['targyak'][$i]['targyId'] ] = $ADAT['targyak'][$i];
+        }
+        if (is_array($ADAT['jegyek']) && count($ADAT['jegyek']) > 0) foreach ($ADAT['jegyek'] as $diakId => $dJegyek) {
+            if (is_array($dJegyek) && count($dJegyek) > 0) { // Ha vanak egyáltalán jegyei...
+                foreach ($DATA['osztalyzatTargy'] as $targyId => $tAdat) { // A helyes sorrend miatt kell ezen végigmenni
+                    if (is_array($dJegyek[$targyId])) { // van az adott tárgyból jegye
+			$targyNev = kisbetus($Targyak[$targyId]['targyNev']);
+                        $tJegyek = $dJegyek[$targyId];
+                        // Az utolsó jegyet írjuk csak ki
+                        $jegy = $tJegyek[ count($tJegyek)-1 ];
+                        if (in_array($targyId, $ADAT['szorgalomIds'])) {
+                            $DATA['diak'][$diakId]['szorgalom'] = $KOVETELMENY['szorgalom'][ $jegy['jegy'] ]['hivatalos'];
+                            $DATA['diak'][$diakId]['szorgMegjJel'] = nagybetus($jegy['megjegyzes'][0]);
+                        } elseif (in_array($targyId, $ADAT['magatartasIds'])) {
+                            $DATA['diak'][$diakId]['magatartas'] = $KOVETELMENY['magatartás'][ $jegy['jegy'] ]['hivatalos'];
+                            $DATA['diak'][$diakId]['magMegjJel'] = nagybetus($jegy['megjegyzes'][0]);
+                        } else {
+                            $DATA['diak'][$diakId]['osztalyzatTargy'][$targyId] = $jegy;
+                            $DATA['diak'][$diakId]['osztalyzatTargy'][$targyId]['jTipus'] = $jegy['jegyTipus'];
+                            $DATA['diak'][$diakId]['osztalyzatTargy'][$targyId]['mJel'] = nagybetus($jegy['megjegyzes'][0]);
+                            $DATA['diak'][$diakId]['osztalyzatTargy'][$targyId]['hivatalos'] = $KOVETELMENY[ $jegy['jegyTipus'] ][ $jegy['jegy'] ]['hivatalos'];
+			    if ($jegy['megjegyzes'] == 'dicséret') { // csak dicséreteket rakunk be - év végén nincs más
+				$DATA['diak'][$diakId]['bejegyzesek'] .= str_replace('%1%', $targyNev, $bizonyitvanyJegyzetek['dicséret'])."\n\n";
+			    }
+                            $DATA['diak'][$diakId]['osztalyzatTargy'][$targyId]['evesOraszam'] = $ADAT['targyOraszam'][$diakId][$targyId]['evesOraszam'];
+                        }
+                    }
+                }
+            }
+        }
+
+	$DATA['diak'][$diakId]['feljegyzesek'] = $DATA['diak'][$diakId]['zaroZaradek'] = $DATA['diak'][$diakId]['zaradekok'] = '';
+	if (is_array($ADAT['diakZaradekok'])) {
+	    foreach ($ADAT['diakZaradekok'] as $diakId => $dZaradekok) {
+		if (count($dZaradekok) > 0) {
+		    foreach ($dZaradekok as $idx => $zAdat) {
+			if (in_array($zAdat['zaradekIndex'], array_values($ZaradekIndex['törzslap feljegyzés']))) {
+			    $DATA['diak'][$diakId]['feljegyzesek'] .= '['.$zAdat['sorszam'].'] '.$zAdat['szoveg'].' ('.dateToString($zAdat['dt']).')';
+			} elseif (
+			    in_array($zAdat['zaradekIndex'], array_values($ZaradekIndex['konferencia']))
+			    || in_array($zAdat['zaradekIndex'], array_values($ZaradekIndex['konferencia bukás']))
+			) {
+			    $DATA['diak'][$diakId]['zaroZaradek'] .= '['.$zAdat['sorszam'].'] '.$zAdat['szoveg'].' ('.dateToString($zAdat['dt']).')'."\n\n";
+			} else {
+			    $DATA['diak'][$diakId]['zaradekok'] .= '['.$zAdat['sorszam'].'] '.$zAdat['szoveg'].' ('.dateToString($zAdat['dt']).')'."\n\n";
+			}
+		    }
+		}
+	    }
+	}
+	if (is_array($ADAT['diakBejegyzesek'])) {
+	    foreach ($ADAT['diakBejegyzesek'] as $diakId => $dBejegyzesek) {
+		if (is_null($DATA['diak'][$diakId]['bejegyzesek'])) $DATA['diak'][$diakId]['bejegyzesek'] = '';
+		if (count($dBejegyzesek)>0) {
+		    foreach ($dBejegyzesek as $idx => $bAdat) {
+			$DATA['diak'][$diakId]['bejegyzesek'] .= $bAdat['szoveg']."\n\n";
+		    }
+		}
+	    }
+	}
+	if (is_array($ADAT['diakAdat'])) {
+	    foreach ($ADAT['diakAdat'] as $diakId => $dAdat) { // alapértelmezések
+		if ($DATA['diak'][$diakId]['feljegyzesek'] == '') $DATA['diak'][$diakId]['feljegyzesek'] = '\ ';
+		foreach (array('igazolt','igazolatlan','kesesPercOsszeg','kesesIgazolatlan','osszesIgazolatlan',
+			'gyakIgazolt','gyakIgazolatlan','gyakKesesPercOsszeg','gyakKesesIgazolatlan','gyakOsszesIgazolatlan',
+			'elmIgazolt','elmIgazolatlan','elmKesesPercOsszeg','elmKesesIgazolatlan','elmOsszesIgazolatlan') as $_k) {
+		    $DATA['diak'][$diakId][$_k] = 0;
+		}
+	    }
+	}
+	if (is_array($ADAT['hianyzas'])) {
+    	    foreach ($ADAT['hianyzas'] as $diakId => $dHianyzas) {
+                $DATA['diak'][$diakId]['igazolt'] = intval($dHianyzas['igazolt']);
+                $DATA['diak'][$diakId]['igazolatlan'] = intval($dHianyzas['igazolatlan']);
+                $DATA['diak'][$diakId]['kesesPercOsszeg'] = intval($dHianyzas['kesesPercOsszeg']);
+                $DATA['diak'][$diakId]['kesesIgazolatlan'] = floor($dHianyzas['kesesPercOsszeg']/45);
+                $DATA['diak'][$diakId]['osszesIgazolatlan'] = intval($DATA['diak'][$diakId]['igazolatlan']+$DATA['diak'][$diakId]['kesesIgazolatlan']);
+
+                $DATA['diak'][$diakId]['gyakIgazolt'] = intval($dHianyzas['gyakorlatIgazolt']);
+                $DATA['diak'][$diakId]['gyakIgazolatlan'] = intval($dHianyzas['gyakorlatIgazolatlan']);
+                $DATA['diak'][$diakId]['gyakKesesPercOsszeg'] = intval($dHianyzas['gyakorlatKesesPercOsszeg']);
+                $DATA['diak'][$diakId]['gyakKesesIgazolatlan'] = floor($dHianyzas['gyakorlatKesesPercOsszeg']/45);
+                $DATA['diak'][$diakId]['gyakOsszesIgazolatlan'] = intval($DATA['diak'][$diakId]['gyakIgazolatlan']+$DATA['diak'][$diakId]['gyakKesesIgazolatlan']);
+
+                $DATA['diak'][$diakId]['elmIgazolt'] = intval($dHianyzas['elmeletIgazolt']);
+                $DATA['diak'][$diakId]['elmIgazolatlan'] = intval($dHianyzas['elmeletIgazolatlan']);
+                $DATA['diak'][$diakId]['elmKesesPercOsszeg'] = intval($dHianyzas['elmeletKesesPercOsszeg']);
+                $DATA['diak'][$diakId]['elmKesesIgazolatlan'] = floor($dHianyzas['elmeletKesesPercOsszeg']/45);
+                $DATA['diak'][$diakId]['elmOsszesIgazolatlan'] = intval($DATA['diak'][$diakId]['elmIgazolatlan']+$DATA['diak'][$diakId]['elmKesesIgazolatlan']);
+    	    }
+	}
+	// van egyáltalán tanév adat?
+	if (strtotime($ADAT['dt']) < strtotime($ADAT['tanevAdat']['szemeszter'][1]['zarasDt'])) $DATA['base']['negyedev'] = 'az első';
+	else $DATA['base']['negyedev'] = 'a harmadik';
+	foreach ($Ertekeles as $diakId => $E) {
+	    $DATA['diak'][$diakId]['targy'] = array();
+
+	    // !!! Tesztelendő !!! //
+#	    foreach ($E as $targyId => $eAdat) {
+	    foreach ($Targyak as $targyId => $tAdat) {
+		if (is_array($E[$targyId])) {
+		    $eAdat = $E[$targyId];
+		    $DATA['base']['szovegesErtekeles'] = true;
+		} else {
+		    continue;
+		}
+	    // !!! Tesztelendő !!! //
+		if (
+		    is_array($eAdat['szovegesErtekeles']['minosites']) 
+		    && count($eAdat['szovegesErtekeles']['minosites']) > 0
+		    && $ADAT['tolDt'] <= $eAdat['szovegesErtekeles']['dt']
+		) {
+
+		    $DATA['diak'][$diakId]['targy'][$targyId] = $eAdat; // Ezt lehetne finomítani
+
+		    $DATA['diak'][$diakId]['targy'][$targyId]['szempont'] = $eAdat['szempontRendszer']['szempont'];
+                    $targyMinositesId = $eAdat['szovegesErtekeles']['minosites'][0]; // Ha egy tárgy egy minősítés kell (az első)
+		    foreach ($eAdat['szempontRendszer']['szempont'] as $szempontId => $szAdat) {
+			$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['egyediMinosites'] = 
+				$eAdat['szovegesErtekeles']['egyediMinosites'][$szempontId]['egyediMinosites'];
+			$M = $eAdat['szempontRendszer']['minosites'][$szempontId];
+			$elsoValasztottKovetkezik = true;
+                	for ($i = 0; $i < count($M); $i++) {
+			    $DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][ $M[$i]['minositesId'] ] 
+				= array('minosites' => $M[$i]['minosites']);
+			    if (in_array($M[$i]['minositesId'], $eAdat['szovegesErtekeles']['minosites'])) {
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['valasztott'] = true;
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['elsoValasztott'] = $elsoValasztottKovetkezik;
+				$DATA['diak'][$diakId]['targy'][$targyId]['szempont'][$szempontId]['minosites'][$M[$i]['minositesId']]['tobbedikValasztott'] = (!$elsoValasztottKovetkezik);
+				$elsoValasztottKovetkezik = false;
+                    		if ($M[$i]['minositesId'] == $targyMinositesId) {
+                        	    $DATA['diak'][$diakId]['targy'][$targyId]['targyMinosites'] = $M[$i]['minosites']; // Ha tárgyanként egy minősítés kell (az első)
+                        	}
+                    	    }
+                	}
+		    }
+		}
+	    }
+	}
+
+	return template2file($templateFile, $DATA);
+
+    }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/tovabbkepzesHatarozat.php b/mayor-orig/www/include/modules/naplo/nyomtatas/tovabbkepzesHatarozat.php
new file mode 100644
index 00000000..024fbe94
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/tovabbkepzesHatarozat.php
@@ -0,0 +1,60 @@
+false,'fv'=>'getTanulmanyiEgyseg','modul'=>'naplo_intezmeny','result'=>'record','values'=>array($tovabbkepzesId, $tanarId, $tanev)));
+
+    }
+
+    function tovabbkepzesNyomtatvanyKeszites($ADAT) {
+
+	global $Honapok;
+
+	// A sablonfile meghatározása
+        define('__TEMPLATE_DIR', _MAYOR_DIR.'/print/module-naplo/templates');
+        $tmplFile = 'tovabbkepzesHatarozat';
+
+        if (file_exists(__TEMPLATE_DIR.'/'.__INTEZMENY.'/'.$tmplFile.'.tmpl')) {
+            $templateFile = __TEMPLATE_DIR.'/'.__INTEZMENY.'/'.$tmplFile.'.tmpl';
+        } elseif (file_exists(__TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl')) {
+            $templateFile = __TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl';
+        } else {
+            $_SESSION['alert'][] = 'message:file_not_found:'.__TEMPLATE_DIR.'/default/'.$tmplFile.'.tmpl';
+            return false;
+        }
+
+	$Intezmeny = getIntezmenyByRovidnev(__INTEZMENY);
+	list($ev, $ho, $nap) = explode('-', $ADAT['tanulmanyiEgyseg']['igDt']);
+	$DATA = array(
+            'file' => $ADAT['file'],
+            'base' => array('nyomtatasDt' => date('Y.m.d'), 'nyomtatasDatumStr' => date('Y. m. d.'), 
+		'datumEv' => $ev, 'datumHonap' => $ho, 'datumNap' => $nap, 'hoNev' => kisbetus($Honapok[$ho-1]),
+                'intezmenyNev' => $Intezmeny['nev'], 'intezmenyOMKod' => $Intezmeny['OMKod'], 'intezmenyCimIrsz' => $Intezmeny['cimIrsz'],
+                'intezmenyCimHelyseg' => $Intezmeny['cimHelyseg'], 'intezmenyCimKozteruletNev' => $Intezmeny['cimKozteruletNev'],
+                'intezmenyCimKozteruletJelleg' => $Intezmeny['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $Intezmeny['cimHazszam'],
+                'intezmenyTelefon' => $Intezmeny['telefon'], 'intezmenyHonlap' => $Intezmeny['honlap'],
+                'intezmenyFax' => $Intezmeny['fax'], 'intezmenyEmail' => $Intezmeny['email'],
+
+		'tanev'=>$ADAT['tanulmanyiEgyseg']['tanev'], 'reszosszeg'=>$ADAT['tanulmanyiEgyseg']['reszosszeg'], 'tamogatas'=>$ADAT['tanulmanyiEgyseg']['tamogatas'], 
+		'tovabbkepzesStatusz'=>$ADAT['tanulmanyiEgyseg']['tovabbkepzesStatusz'], 'megjegyzes'=>$ADAT['tanulmanyiEgyseg']['megjegyzes'], 'tovabbkepzesNev'=>$ADAT['tanulmanyiEgyseg']['tovabbkepzesNev'], 
+		'oraszam'=>$ADAT['tanulmanyiEgyseg']['oraszam'], 'akkreditalt'=>$ADAT['tanulmanyiEgyseg']['akkreditalt'], 'tovIntRovidNev'=>$ADAT['tanulmanyiEgyseg']['intezmenyRovidNev'],
+		'tovIntNev'=>$ADAT['tanulmanyiEgyseg']['intezmenyNev'], 'tovIntCim'=>$ADAT['tanulmanyiEgyseg']['intezmenyCim'],
+		'tolDt'=>str_replace('-','. ',$ADAT['tanulmanyiEgyseg']['tolDt']).'.', 'igDt'=>str_replace('-','. ',$ADAT['tanulmanyiEgyseg']['igDt']).'.',
+
+		'tanarNev' => $ADAT['tanarAdat']['tanarNev'], 'szuletesiHely' => $ADAT['tanarAdat']['szuletesiHely'], 'szuletesiIdo' => $ADAT['tanarAdat']['szuletesiIdo'],
+		'hetiMunkaora' => $ADAT['tanarAdat']['hetiMunkaora'], 'statusz' => $ADAT['tanarAdat']['statusz'], 'hetiKotelezoOraszam' => $ADAT['tanarAdat']['hetiKotelezoOraszam'], 
+		'besorolas' => $ADAT['tanarAdat']['besorolas'],
+            ),
+
+	);
+
+//dump($ADAT);
+//dump($DATA);
+//die();
+	return template2file($templateFile, $DATA);
+    }
+
+?>
\ No newline at end of file
diff --git a/mayor-orig/www/include/modules/naplo/nyomtatas/zaradekok.php b/mayor-orig/www/include/modules/naplo/nyomtatas/zaradekok.php
new file mode 100644
index 00000000..50501765
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/nyomtatas/zaradekok.php
@@ -0,0 +1,63 @@
+ $ADAT['file'],
+            'base' => array('nyomtatasDt' => date('Y.m.d'), 
+                'intezmenyNev' => $ADAT['intezmeny']['nev'], 'intezmenyCimIrsz' => $ADAT['intezmeny']['cimIrsz'],
+                'intezmenyCimHelyseg' => $ADAT['intezmeny']['cimHelyseg'], 'intezmenyCimKozteruletNev' => $ADAT['intezmeny']['cimKozteruletNev'],
+                'intezmenyCimKozteruletJelleg' => $ADAT['intezmeny']['cimKozteruletJelleg'], 'intezmenyCimHazszam' => $ADAT['intezmeny']['cimHazszam'],
+                'intezmenyTelefon' => $ADAT['intezmeny']['telefon'], 'intezmenyHonlap' => $ADAT['intezmeny']['honlap'],
+                'intezmenyFax' => $ADAT['intezmeny']['fax'], 'intezmenyEmail' => $ADAT['intezmeny']['email'],
+                'osztalyJele' => $evf.'/'.nagybetus($oszt), 'tanevJele' => $ADAT['tanev'].'/'.$zEv,
+            ),
+        );
+
+	for ($i = 0; $i < count($ADAT['diakIds']); $i++) 
+	    $DATA['diak'][ $ADAT['diakIds'][$i] ] = array('diakNev' => $ADAT['diak'][ $ADAT['diakIds'][$i] ]['diakNev']);
+	foreach ($ADAT['zaradek'] as $diakId => $dZaradek) {
+	    for ($i = 0; $i < count($dZaradek); $i++) {
+		$DATA['diak'][$diakId]['zaradek'][ $dZaradek[$i]['zaradekId'] ] = $dZaradek[$i]['zaradekId'];
+		$DATA['zaradek'][ $dZaradek[$i]['zaradekId'] ] = $dZaradek[$i];
+	    }
+	}
+	foreach ($ADAT['bejegyzes'] as $diakId => $dBejegyzes) {
+	    for ($i = 0; $i < count($dBejegyzes); $i++) {
+		$DATA['diak'][$diakId]['bejegyzes'][ $dBejegyzes[$i]['bejegyzesId'] ] = $dBejegyzes[$i]['bejegyzesId'];
+		$DATA['bejegyzes'][ $dBejegyzes[$i]['bejegyzesId'] ] = $dBejegyzes[$i];
+		// A "bejegyzes" név már foglalt ezért át kell nevezni a bejegyzesTipusNev-et...
+		$DATA['bejegyzes'][ $dBejegyzes[$i]['bejegyzesId'] ]['szovFokozat'] = $dBejegyzes[$i]['bejegyzesTipusNev'];
+	    }
+	}
+	$DATA['base']['diak'] = array();
+	for ($i = 0; $i < count($ADAT['diakIds']); $i++) {
+	    if (
+		is_array($DATA['diak'][ $ADAT['diakIds'][$i] ]['bejegyzes']) 
+		|| is_array($DATA['diak'][ $ADAT['diakIds'][$i] ]['zaradek'])
+	    ) $DATA['base']['diak'][] = $ADAT['diakIds'][$i];
+	}
+
+        return template2file($templateFile, $DATA);
+
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/ascExport.php b/mayor-orig/www/include/modules/naplo/orarend/ascExport.php
new file mode 100644
index 00000000..a1affa40
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/ascExport.php
@@ -0,0 +1,437 @@
+ $tanev));
+	$Osztalyok = getOsztalyok($tanev);
+	// Nem tudható, hogy mely termekben lesz óra - ez intézménytől függő - exportáljuk mind...
+	$Termek = getTermek(array('tipus'=>
+	    array()
+//	    array('tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','tornaszoba','fejlesztőszoba','tanműhely','előadó','könyvtár','díszterem','egyéb') 
+	)); $teremIds = array();
+	for ($i = 0; $i < count($Termek); $i++) $teremIds[] = $Termek[$i]['teremId'];
+	$Targyak = getTargyak();
+	$Diakok = getDiakok(array('tanev' => $tanev)); $diakIds = array();
+	for ($i = 0; $i < count($Diakok); $i++) $diakIds[] = $Diakok[$i]['diakId'];
+	$diakokOsztalyai = getDiakokOsztalyai($diakIds, array('tanev' => $tanev, 'tolDt' => $ADAT['dt'], 'igDt' => $ADAT['dt']));
+	foreach ($ADAT['bontas'] as $bontasId => $bontas) {
+	    $bontasTomb = explode('+',$bontas);
+	    for ($i = 0; $i < count($bontasTomb); $i++) {
+		$Bontas[$bontasId][ $bontasTomb[$i] ]++;
+	    }
+	}
+	if (isset($ADAT['exportalandoHet'])) $Orarend = getOrarendByDt($ADAT['dt'], array($ADAT['exportalandoHet']), $ADAT['tanev']);
+	else $Orarend = array();
+	// Tárgyak bontása
+	if ($ADAT['targyBontas']) {
+	    if (defined('__ASC_BONTANDO_TARGYAK')) $bontandoTargyak = explode(',', __ASC_BONTANDO_TARGYAK);
+	}
+
+	for ($i = 0; $i < count($ADAT['tankorok']); $i++) {
+	    $tankorId = $ADAT['tankorok'][$i]['tankorId'];	    
+	    $ADAT['tankorok'][$i]['osztaly'] = getTankorOsztalyaiByTanev($tankorId, $tanev, array('tagokAlapjan' => true, 'result' => 'id'));
+	    $ADAT['tankorok'][$i]['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => $tanev, 'result' => 'csakId'));
+	    $tmpDiakok = getTankorDiakjaiByInterval($tankorId, $tanev);
+	    $ADAT['tankorok'][$i]['diakIds'] = $tmpDiakok['idk'];
+	    // Tárgyak bontása
+	    if ($ADAT['targyBontas']) {
+		$targyId = $ADAT['tankorok'][$i]['tankorAdat'][$tankorId][0]['targyId'];
+		if (!is_array($bontandoTargyak) || in_array($targyId, $bontandoTargyak)) {
+		    $tankorNev = $ADAT['tankorok'][$i]['tankorAdat'][$tankorId][0]['tankorNev'];
+		    $csoportJel = substr($tankorNev, strrpos($tankorNev, ' ')+1);
+		    if (!is_array($ADAT['alTargyak'][$targyId])) $ADAT['alTargyak'][$targyId] = array($csoportJel);
+		    elseif (!in_array($csoportJel, $ADAT['alTargyak'][$targyId])) $ADAT['alTargyak'][$targyId][] = $csoportJel;
+		    $ADAT['tankorok'][$i]['tankorAdat'][$tankorId][0]['targyId'] = $targyId.':'.$csoportJel;
+		}
+	    }
+
+	}
+
+
+	// Blokkok tanárai / diákjai / osztályai - és a blokk jelenlegi óráinak meghatározása
+	$ADAT['blokkOra'] = array();
+	$ADAT['tankorBlokkOra'] = array();
+	if (is_array($ADAT['tankorBlokk']['exportOraszam'])) 
+	foreach ($ADAT['tankorBlokk']['exportOraszam'] as $bId => $oraszam) if ($oraszam > 0) { // blokkonként
+
+	    $ADAT['blokkTanarok'][$bId] = $ADAT['blokkDiakok'][$bId] = $ADAT['blokkOsztalyok'][$bId] = array();
+	    for ($i = 0; $i < count($ADAT['tankorBlokk']['idk'][$bId]); $i++) { // az érintett tankörökön végigmenve
+		$tankorId = $ADAT['tankorBlokk']['idk'][$bId][$i];
+		$TA = $ADAT['tankorok'][ $ADAT['tankorIndex'][$tankorId] ];
+		// tanárok
+		for ($j = 0; $j < count($TA['tanar']); $j++) // elvileg nem lehet ütközés, hiszen blokk!!
+		    if (!in_array($TA['tanar'][$j], $ADAT['blokkTanarok'][$bId])) {
+			$ADAT['blokkTanarok'][$bId][] = $TA['tanar'][$j];
+		    } else {
+			$_SESSION['alert'][] = 'message:utkozes:blokk='.$bId.';tanarId='.$TA['tanar'][$j];
+			$return = false;
+		    }
+		for ($j = 0; $j < count($TA['diakIds']); $j++) // elvileg nem lehet ütközés, hiszen blokk!!
+		    if (!in_array($TA['diakIds'][$j], $ADAT['blokkDiakok'][$bId])) {
+			$ADAT['blokkDiakok'][$bId][] = $TA['diakIds'][$j];
+		    } else {
+			$_SESSION['alert'][] = 'message:utkozes:blokk='.$bId.';diakId='.$TA['diakIds'][$j];
+			$return = false;
+		    }
+		for ($j = 0; $j < count($TA['osztaly']); $j++) // Itt lehet ütközés
+		    if (!in_array($TA['osztaly'][$j], $ADAT['blokkOsztalyok'][$bId])) $ADAT['blokkOsztalyok'][$bId][] = $TA['osztaly'][$j];
+	    }
+
+	    // A blokk jelenlegi óráinak lekérdezése
+	    if (isset($ADAT['exportalandoHet'])) {
+		$q = "SELECT het, nap, ora 
+			FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId, osztalyJel, targyJel)
+			WHERE tolDt<='%s' AND '%s'<=igDt 
+			AND het=%u
+			AND tankorId IN (".implode(',', array_fill(0, count($ADAT['tankorBlokk']['idk'][$bId]), '%u')).")
+			GROUP BY het, nap, ora HAVING COUNT(*)=".count($ADAT['tankorBlokk']['idk'][$bId]);
+		$v = mayor_array_join(array($ADAT['tanevDb'], $ADAT['tanevDb'], $ADAT['dt'], $ADAT['dt'], $ADAT['exportalandoHet']), $ADAT['tankorBlokk']['idk'][$bId]);
+		$ret = db_query($q, array('fv' => 'blokkOrai', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v));
+		if ($oraszam > count($ret)) {
+		    $_SESSION['alert'][] = 'message:wrong_data:A beállított blokk óraszámnál kevesebb van az órarendben:'.$bId.':'.$oraszam.'/'.count($ret);
+//		    $return = false;
+		} else {
+		    $db = $i = 0; 
+		    while ($i < count($ret) && $db < $oraszam) {
+			// Ellenőrizzük, hogy az összes tankörnek szabad-e még az adott órája
+			$szabad = true;
+			for ($j = 0; $j < count($ADAT['tankorBlokk']['idk'][$bId]); $j++) {
+			    $tankorId = $ADAT['tankorBlokk']['idk'][$bId][$j];
+			    if ($ADAT['tankorBlokkOra'][$tankorId][ $ret[$i]['het'] ][ $ret[$i]['nap'] ][ $ret[$i]['ora'] ]) {
+				$szabad = false;
+				break;
+			    }
+			}
+			if ($szabad) {
+			    // Lekérdezzük az érintett termeket
+			    $q = "SELECT DISTINCT teremId FROM `%s`.orarendiOra 
+				    LEFT JOIN `%s`.orarendiOraTankor USING (tanarId, osztalyJel, targyJel)
+				    WHERE tolDt<='%s' AND '%s'<=igDt AND het=%u
+				    AND tankorId IN (".implode(',', array_fill(0, count($ADAT['tankorBlokk']['idk'][$bId]), '%u')).")
+				    AND het=%u AND nap=%u AND ora=%u";
+			    $v = mayor_array_join(
+				array($ADAT['tanevDb'], $ADAT['tanevDb'], $ADAT['dt'], $ADAT['dt'], $ADAT['exportalandoHet']), 
+				$ADAT['tankorBlokk']['idk'][$bId],
+				array($ret[$i]['het'], $ret[$i]['nap'], $ret[$i]['ora'])
+			    );
+			    $ret[$i]['teremIds'] = db_query($q, array('fv' => 'blokkTermei', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v));
+			    // Ha szabad, akkor a blokk számára lefoglaljuk
+			    $ADAT['blokkOra'][$bId][] = $ret[$i];
+
+			    // Ha szabad, akkor minden tankör számára lefoglaljuk
+			    for ($j = 0; $j < count($ADAT['tankorBlokk']['idk'][$bId]); $j++) {
+				$tankorId = $ADAT['tankorBlokk']['idk'][$bId][$j];
+				$ADAT['tankorBlokkOra'][$tankorId][ $ret[$i]['het'] ][ $ret[$i]['nap'] ][ $ret[$i]['ora'] ] = true;
+			    }
+			    $db++;
+			}
+			$i++;
+		    }
+		    if ($db < $oraszam) {
+			$_SESSION['alert'][] = 'message:wrong_data:Az órarendben csak'.$db.' órát sikerült lefoglalni ('.$oraszam.' helyett) - blokkId='.$bId;
+//			$return = false;
+		    }
+		}
+	    }
+	}
+
+	$xml = ''."\r\n";
+
+
+	// Tanárok
+	$xml .= '   '."\r\n";
+	for ($i = 0; $i < count($Tanarok); $i++) {
+	    $xml .= '      '."\r\n";
+	}
+	$xml .= '   '."\r\n";
+	// Osztályok
+	$xml .= '   '."\r\n";
+	for ($i = 0; $i < count($Osztalyok); $i++) {
+	    $xml .= '      '."\r\n";
+	}
+	$xml .= '   '."\r\n";
+	if ($ADAT['szeminariumkent']) {
+	    // Diákok
+	    $xml .= '   '."\r\n";
+	    for ($i = 0; $i < count($Diakok); $i++) {
+		$xml .= '      '."\r\n";
+	    }
+	    $xml .= '   '."\r\n";
+	    $studentidsStr = ',studentids';
+	}
+	// Tárgyak
+	$xml .= '   '."\r\n";
+	if (is_array($ADAT['tankorBlokk']['exportOraszam'])) 
+	foreach ($ADAT['tankorBlokk']['exportOraszam'] as $bId => $oraszam) { // blokkok - mint tárgyak
+	    if ($oraszam > 0) $xml .= '      '."\r\n";	    
+	}
+	for ($i = 0; $i < count($Targyak); $i++) { // igazi tárgyak
+	    $xml .= '      '."\r\n";
+	    // Tárgyak bontása
+	    if (is_array($ADAT['alTargyak'][ $Targyak[$i]['targyId'] ])) {
+		foreach ($ADAT['alTargyak'][ $Targyak[$i]['targyId'] ] as $index => $alTargyId) {
+		    $xml .= '      '."\r\n";
+		}
+	    }
+	}
+	$xml .= '   '."\r\n";
+	// Termek
+	$xml .= '   '."\r\n";
+	for ($i = 0; $i < count($Termek); $i++) {
+	    $xml .= '      '."\r\n";
+	}
+	$xml .= '   '."\r\n";
+	// Órák
+	$xml .= '   '."\r\n";
+	// blokk --> lesson
+	if (is_array($ADAT['tankorBlokk']['exportOraszam'])) foreach ($ADAT['tankorBlokk']['exportOraszam'] as $bId => $oraszam) if ($oraszam > 0) {
+	    $tankorIds = $ADAT['tankorBlokk']['idk'][$bId];
+	    $bNev = $ADAT['tankorBlokk']['blokkNevek'][$bId];
+	    $subjectid = 'b'.$bId;
+	    if (
+		!isset($ADAT['exportalandoHet']) // Csak akkor exportálunk bontott órákat, ha meglevő órarendet nem
+		&& is_array($Bontas['b-'.$bId]) && count($Bontas['b-'.$bId]) > 0
+	    ) {
+		foreach ($Bontas['b-'.$bId] as $periodsPerCard => $db) {
+		    $xml .= '      '."\r\n";    
+		}
+	    } elseif ($oraszam > ($egeszoraszam = floor($oraszam))) {
+		if ($egeszoraszam > 0) {
+		    // Ha tört szám az export óraszám, akkor két lessont gyártunk: egyet az egész óraszámhoz, egyet a törthöz...
+		    $xml .= '      '."\r\n";    
+		}
+		// tört
+		$xml .= '      '."\r\n";    
+
+	    } else {
+		$xml .= '      '."\r\n";    
+	    }
+	}
+	// tankor --> lesson
+	for ($i = 0; $i < count($ADAT['tankorok']); $i++) {
+	    $TA = $ADAT['tankorok'][$i];
+	    $tankorId = $TA['tankorId'];
+	    if (count($TA['diakIds']) >= 0) {
+		if (
+		    !isset($ADAT['exportalandoHet']) // Csak akkor exportálunk bontott órákat, ha meglevő órarendet nem
+		    && is_array($Bontas['t-'.$tankorId]) && count($Bontas['t-'.$tankorId]) > 0
+		) {
+		    foreach ($Bontas['t-'.$tankorId] as $periodsPerCard => $db) {
+			$xml .= '      '."\r\n";    
+		    }
+		} elseif ($TA['hetiOraszam'] > ($egeszoraszam = floor($TA['hetiOraszam']))) {
+		    if ($egeszoraszam > 0) {
+			// Ha tört szám az export óraszám, akkor két lessont gyártunk: egyet az egész óraszámhoz, egyet a törthöz...
+			$xml .= '      '."\r\n";
+		    }
+		    $xml .= '      '."\r\n";
+
+		} else {
+		    $xml .= '      '."\r\n";
+		}
+	    }
+	}
+	$xml .= '   '."\r\n";
+
+	if (isset($ADAT['exportalandoHet'])) {
+	    // jelenleg betöltött órák
+	    $xml .= '   '."\r\n";
+	    for ($i = 0; $i < count($Orarend); $i++) {
+		$tankorId = $Orarend[$i]['tankorId'];
+		if ($ADAT['tankorBlokkOra'][$tankorId][ $Orarend[$i]['het'] ][ $Orarend[$i]['nap'] ][ $Orarend[$i]['ora'] ]!==true) {
+		    $lessonId = 't-'.$tankorId;
+		    $TA = $ADAT['tankorok'][ $ADAT['tankorIndex'][$tankorId] ];
+		    if (is_array($TA)) // A szakkörök például nincsenek benne alap esetben...
+			$xml .= '      '."\r\n";
+		}
+	    }
+	    // A blokk órák kiírása
+	    if (is_array($ADAT['blokkOra'])) foreach ($ADAT['blokkOra'] as $bId => $Orak) {
+		$tankorIds = $ADAT['tankorBlokk']['idk'][$bId];
+		$lessonId = 'b-'.implode('_', $tankorIds);
+		for ($i = 0; $i < count($Orak); $i++) {
+		    $xml .= '      '."\r\n";
+		}
+	    }
+	    $xml .= '   '."\r\n";
+	}
+
+	$xml .= ''."\r\n";
+
+	fputs($fp, mb_convert_encoding($xml, 'ISO-8859-2', 'UTF-8'));
+	fclose($fp);
+
+	return $return;
+
+    }
+
+    function blokkOraszamRogzites($blokkAdat, $tanevDb) {
+
+	if (is_array($blokkAdat)) foreach ($blokkAdat as $bId => $bOraszam) {
+	    $q = "UPDATE `%s`.blokk SET exportOraszam = %f WHERE blokkId = %u";
+	    $v = array($tanevDb, $bOraszam, $bId);
+	    $r = db_query($q, array('fv' => 'blokkOraszamRogzites', 'modul' => 'naplo', 'values' => $v));
+	}
+
+    }
+
+    function ascBontasLekerdezes($tanevDb) {
+
+	$v = array($tanevDb);
+	// A szükséges tábla létrehozása - ha netán nem létezne
+        $q = "CREATE TABLE IF NOT EXISTS `%s`._ascOraBontas (
+	  tipus ENUM('blokk','tankör') NOT NULL DEFAULT 'tankör',
+	  id INT UNSIGNED NOT NULL,
+	  bontas VARCHAR(32),
+	  PRIMARY KEY (tipus, id)
+	) ENGINE InnoDb";
+        db_query($q, array('fv' => 'ascBontasLekerdezes/createTable', 'modul' => 'naplo', 'values' => $v));
+
+        $return = array();
+        $q = "SELECT CONCAT(LEFT(tipus,1),'-',id) AS bontasId,bontas FROM `%s`._ascOraBontas";
+        $ret = db_query($q, array('fv' => 'bontás lekérdezés', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'bontasId', 'values' => $v));
+        if ($ret !== false) foreach ($ret as $bontasId => $bAdat) $return[$bontasId] = $bAdat['bontas'];
+        return $return;
+    }
+
+    function ascBontasModositas($ADAT) {
+
+
+	$tipusStr = array('t' => 'tankör', 'b' => 'blokk');
+
+        // Törlések elvégzése ($ADAT['bontas'] tömb)
+            if (is_array($_POST['torlendoBontas']) && count($_POST['torlendoBontas']) > 0) {
+                for ($i = 0; $i < count($_POST['torlendoBontas']); $i++) {
+                    $bontasId = readVariable($_POST['torlendoBontas'][$i], 'emptystringnull', null, array_keys($ADAT['bontas']));
+                    if (isset($bontasId)) unset($ADAT['bontas'][$bontasId]);
+                }
+            }
+        // Új bontás felvétele
+            $bontasId = readVariable($_POST['bontasId'], 'emptystringnull', null);
+            if (isset($bontasId)) {
+                list($tipus, $id) = explode('-', $bontasId);
+                if ($tipus == 't') $oraszam = $ADAT['tankorok'][ $ADAT['tankorIndex'][$id] ]['hetiOraszam'];
+                elseif ($tipus == 'b') $oraszam = $ADAT['tankorBlokk']['exportOraszam'][$id];
+                $oraBontas = readVariable($_POST['oraBontas'], 'emptystringnull', '1');
+                eval('$bontottOraszam='.$oraBontas.';');
+                if ($bontottOraszam > $oraszam) {
+                    $_SESSION['alert'][] = 'message:wrong_data:'."$tipus-$id - óraszám=$oraszam < $oraBontas=bontott óraszám";
+                } else {
+                    if ($bontottOraszam < $oraszam) $oraBontas .= str_repeat('+1', $oraszam-$bontottOraszam);
+                    $ADAT['bontas']["$tipus-$id"] = $oraBontas;
+                }
+            }
+
+        // A bontások kiírása
+            $q = "DELETE FROM `%s`._ascOraBontas";
+            db_query($q, array('fv' => 'ascExport/bontásokTörlése', 'modul' => 'naplo', 'values' => array($ADAT['tanevDb'])));
+            $v = array($ADAT['tanevDb']); $V = array();
+            foreach ($ADAT['bontas'] as $bontasId => $bontas) {
+                list($tipus, $id) = explode('-', $bontasId);
+                $V[] = "('%s', %u, '%s')";
+                array_push($v, $tipusStr[$tipus], $id, $bontas);
+            }
+            if (count($V) > 0) {
+                $q = "INSERT INTO `%s`._ascOraBontas (tipus, id, bontas) VALUES ".implode(',', $V);
+                db_query($q, array('fv' => 'ascExport/bontásokRögzítése', 'modul' => 'naplo', 'values' => $v));
+            }
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-Microsoft Excel XML.php b/mayor-orig/www/include/modules/naplo/orarend/convert-Microsoft Excel XML.php
new file mode 100644
index 00000000..bcadf3fb
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-Microsoft Excel XML.php	
@@ -0,0 +1,147 @@
+ tanarId konverzióhoz lekérdezzük a tanárok adatait.
+	require_once('include/modules/naplo/share/tanar.php');
+	$Tanarok = getTanarok(array('tanev' => __TANEV, 'result' => 'assoc'));
+	foreach ($Tanarok as $tanarId => $tanarAdat) $Tanar[ $tanarAdat['tanarNev'] ] = $tanarId;
+	// A terem --> teremId konverzióhoz lekérdezzük a terem adatokat
+	require_once('include/modules/naplo/share/terem.php');
+	$Termek = getTermek();
+	for ($i = 0; $i < count($Termek); $i++) {
+	    $TeremByLeiras[ $Termek[$i]['leiras'] ] = $Termek[$i]['teremId'];
+	    $TeremById[ $Termek[$i]['teremId'] ] = $Termek[$i]['teremId'];
+	}
+
+	$dom = DOMDocument::load( $ADAT['fileName'] );
+	if (!$dom) {
+	    $_SESSION['alert'][] = 'message:file:'.$ADAT['fileName'];
+	    return false;
+	}
+
+	$worksheets = $dom->getElementsByTagName( 'Worksheet' );
+	foreach ($worksheets as $worksheet) {
+	    $TMP = array();
+	    $name = $worksheet->getAttribute( 'ss:Name' );
+	    $rows = $worksheet->getElementsByTagName( 'Row' );
+	    $r = 0;
+	    foreach ($rows as $row) {
+		    $s = 0;
+		    $cells = $row->getElementsByTagName( 'Cell' );
+		    foreach( $cells as $cell ) { 
+			// Összevont cellák esetén a cellatartalmat ismételjük
+			$span = $cell->getAttribute( 'ss:MergeAcross' );
+			for ($i = 0; $i <= $span; $i++) {
+			    $TMP[$r][$s] = $cell->nodeValue;
+    			    $s++;
+			}
+		    }
+		    $r++;
+	    }
+	    if (strstr($name, 'sszesített terem')) $TEREM = $TMP;
+	    elseif (strstr($name, 'anárok összesített')) $TANAR = $TMP;
+	}
+//	var_dump($TEREM);
+
+
+	// Az első sor a napok neveit tartalmazza
+	$Napok = $TANAR[0];
+	for ($i = 0; $i < count($Napok); $i++)
+	    if ($Napok[$i] == 'Hétfő') $Napok[$i] = 1;
+	    elseif ($Napok[$i] == 'Kedd') $Napok[$i] = 2;
+	    elseif ($Napok[$i] == 'Szerda') $Napok[$i] = 3;
+	    elseif ($Napok[$i] == 'Csütörtök') $Napok[$i] = 4;
+	    elseif ($Napok[$i] == 'Péntek') $Napok[$i] = 5;
+	    elseif ($Napok[$i] == 'Szombat') $Napok[$i] = 6;
+	    elseif ($Napok[$i] == 'Vasárnap') $Napok[$i] = 7;
+	// A második sor az adott napon belüli óraszámot adja
+	$oraszamok = $TANAR[1];
+
+	// A termeket tartalmazó munkalap feldolgozása
+	$s = 2;
+	while ($s < count($TEREM)) {
+
+	    // Két sor egy terem órarendjét tartalmazza
+	    $S1 = $TEREM[$s];
+	    $S2 = $TEREM[$s+1];
+	    $s += 2;
+	    // Az első sor első mezője a terem neve
+	    $terem = $S1[0];
+	    // A második cellátol jönnek az órák - első sor a tárgy, második az osztály
+	    for ($i = 1; $i < count($S1); $i++) {
+		if ($Napok[$i] != 0) $nap = $Napok[$i];
+		if ($S1[$i] != '') {
+
+		    $ora = $oraszamok[$i];
+		    $targy = $S1[$i];
+		    $osztaly = $S2[$i];
+		    if ($TeremByLeiras[ $terem ] != '') {
+			$TeremRend[$nap][$ora][$osztaly][$targy] = $TeremByLeiras[ $terem ];
+		    } elseif ($TeremById[ $terem ] != '') {
+			$TeremRend[$nap][$ora][$osztaly][$targy] = $TeremById[ $terem ];
+		    } else {
+			$TeremRend[$nap][$ora][$osztaly][$targy] = $terem;
+			$_SESSION['alert'][] = 'message:wrong_data:terem='.$terem;
+			$return = false;
+		    }
+
+		}
+
+	    }
+	}
+
+	// A tanár-órarendet tartalmazó munkalap feldolgozása
+	$s = 2;
+	while ($s < count($TANAR)) {
+
+	    // Két sor egy tanár órarendjét tartalmazza
+	    $S1 = $TANAR[$s];
+	    $S2 = $TANAR[$s+1];
+	    $s += 2;
+	    // Az első sor első mezője a tanár neve
+	    if ($S1[0] != '') {
+		if ($Tanar[ $S1[0] ] != '') {	
+		    $tanar = $Tanar[ $S1[0] ];
+		} else {
+		    $tanar = $S1[0];
+		    $_SESSION['alert'][] = 'message:wrong_data:tanarNev='.$tanar;
+		    $return = false;
+		}
+		// A második cellátol jönnek az órák - első sor a tárgy, második az osztály
+		for ($i = 1; $i < count($S1); $i++) {
+		    if ($Napok[$i] != 0) $nap = $Napok[$i];
+		    if ($S1[$i] != '') {
+
+			$ora = $oraszamok[$i];
+			$targy = $S1[$i];
+			$osztaly = $S2[$i];
+
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$nap,$ora,$tanar,$osztaly,$targy,$TeremRend[$nap][$ora][$osztaly][$targy],$ADAT['tolDt'],$ADAT['igDt']
+			);
+		    }
+		}
+	    }
+	}
+
+	return $return;
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-RoPaSoft.php b/mayor-orig/www/include/modules/naplo/orarend/convert-RoPaSoft.php
new file mode 100644
index 00000000..39e8d457
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-RoPaSoft.php
@@ -0,0 +1,80 @@
+ __TANEV, 'result' => 'assoc'));
+	foreach ($Tanarok as $tanarId => $tanarAdat) $Tanar[ $tanarAdat['tanarNev'] ] = $tanarId;
+
+	$fp = fopen($ADAT['fileName'], 'r');
+	if (!$fp) return false;
+
+	// Az első sor a napok neveit tartalmazza
+	$Napok = explode('	', chop(fgets($fp, 1024)));
+	for ($i = 0; $i < count($Napok); $i++)
+	    if ($Napok[$i] == 'Hétfő') $Napok[$i] = 1;
+	    elseif ($Napok[$i] == 'Kedd') $Napok[$i] = 2;
+	    elseif ($Napok[$i] == 'Szerda') $Napok[$i] = 3;
+	    elseif ($Napok[$i] == 'Csütörtök') $Napok[$i] = 4;
+	    elseif ($Napok[$i] == 'Péntek') $Napok[$i] = 5;
+	    elseif ($Napok[$i] == 'Szombat') $Napok[$i] = 6;
+	    elseif ($Napok[$i] == 'Vasárnap') $Napok[$i] = 7;
+	// A második sor az adott napon belöli óraszámot adja
+	$oraszamok = explode('	', chop(fgets($fp, 1024)));
+	$return = true;
+	while ($sor = fgets($fp, 1024)) {
+
+	    // Két sor egy tanár órarendjét tartalmazza
+	    $S1 = explode('	', chop($sor));
+	    $S2 = explode('	', chop(fgets($fp, 1024)));
+	    // Az első sor első mezője a tanár neve
+	    if ($Tanar[ $S1[0] ] != '') {
+		$tanar = $Tanar[ $S1[0] ];
+	    } else {
+		$_SESSION['alert'][] = 'message:wrong_data:tanarNev='.$S1[0]; // hiányzó vagy hibás tanárnév esetén nem tudjuk betölteni az órarendet
+		$return = false;
+		$tanar = $S1[0] . ' / ' . $Tanar[ $S1[0] ];
+	    }
+	    // A második cellátol jönnek az órák - első sor a tárgy, második az osztály
+	    for ($i = 1; $i < count($S1); $i++) {
+		if ($Napok[$i] != 0) $nap = $Napok[$i];
+		if ($S1[$i] != '') {
+
+		    $ora = $oraszamok[$i];
+		    $targy = $S1[$i];
+		    $osztaly = $S2[$i];
+
+		    // és hol a teremId????
+		    $OrarendiOra[] = array(
+			$ADAT['orarendiHet'],$nap,$ora,$tanar,$osztaly,$targy,$ADAT['tolDt'],$ADAT['igDt']
+		    );
+
+		}
+
+	    }
+
+	}
+
+	fclose($fp);
+	return $return;
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables Ctrl-Shift-E.php b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables Ctrl-Shift-E.php
new file mode 100644
index 00000000..01e14858
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables Ctrl-Shift-E.php	
@@ -0,0 +1,112 @@
+ __TANEV, 'result' => 'assoc'));
+dump($Tanarok);
+        foreach ($Tanarok as $tanarId => $tanarAdat) $Tanar[ $tanarAdat['tanarNev'] ] = $tanarId;
+
+
+        $fp = fopen($ADAT['fileName'], 'r');
+        if (!$fp) return false;
+
+	// Az első sor üres - eldobjuk 
+	$sor = fgets($fp, 1024);
+	// A második sor mezőneveket tartalmaz - eldobjuk
+	$sor = fgets($fp, 1024);
+	$ok = true; $OrarendiOra = array();
+	// Az adatsorok feldolgozása
+	$kulcs2index = $kulcsDb = array();
+	while ($sor = fgets($fp, 1024)) {
+
+	    $rec = explode('	', chop($sor));
+
+	    $het = $ADAT['orarendiHet'];
+	    $nap = $rec[1];
+	    $ora = $rec[2];
+	    $tanarNev = explode(',', mb_convert_encoding($rec[10],'UTF-8','ISO-8859-2')); // konvetál és szétvág!
+	    $tanarIds = array();
+	    foreach ($tanarNev as $tNev) {
+		if ($tNev == 'Ernst') $tNev = 'Ernst, Mader';
+		if ($tNev == ' Mader') continue;
+		if (!isset($Tanar[$tNev])) {
+		    $_SESSION['alert'][] = 'message:wrong_data:Hiányzó azonosító (tanár név='.$tNev.')';
+		    $ok = false;
+		}
+		$tanarIds[] = $Tanar[$tNev];
+	    }
+	    $oJelek = explode(',', $rec[4]);
+	    if (count($oJelek) > 1) $osztalyJel = $oJelek[0].'...'; 	// Nem fér ki több, csak jelezzük, hogy volt még...
+	    else $osztalyJel = $oJelek[0];				// nem érdemes szétvágni, mert nem feleltethető meg...
+	    $targyJel = mb_convert_encoding($rec[6],'UTF-8','ISO-8859-2'); //.$rec[12];
+	    $teremIds = explode(',',$rec[9]); // szétvág
+	    $tolDt = $ADAT['tolDt'];
+	    $igDt = $ADAT['igDt'];
+
+	    // Többhetes órarend esetén egy tanárnak lehet több bejegyzése is ugyanarra az időpontra. Ekkor valahogy ki kell választani a megfelelőt.
+	    // Egy adott kulcs első előfordulásakor a rekordot elmentjük és indexét is rögzítjük. Többedig előfordulás esetén csak azt rögzítjük,
+	    // hogy hanyadik előfordulás volt egész addig, amíg a megadott órarendiHét számadik előfordulásig nem jutunk. Ekkor felülírjuk a korábbi rekordot.
+	    // blokkok szétbontása több rekordra
+	    // TODO: Ha egy blokk egyik tagja ütközik csak, akkor valójában az összesnek adott heti bejegyzéssé kellene változnia.
+    	    for ($i = 0; $i < count($tanarIds); $i++) {
+		
+		$tanarId = $tanarIds[$i];
+		$teremId = ($teremIds[$i]==0)?'NULL':$teremIds[$i]; // a 0 érték nem lehet teremId
+		$kulcsDb["$het-$nap-$ora-$tanarId"]++;
+		if (!isset($kulcs2index["$het-$nap-$ora-$tanarId"])) {
+            	    $OrarendiOra[] = array(
+                	$het,$nap,$ora,$tanarId,$osztalyJel,$targyJel,$teremId,$tolDt,$igDt
+            	    );
+		    $kulcs2index["$het-$nap-$ora-$tanarId"] = count($OrarendiOra)-1;
+		} else {
+		    if ($het == $kulcsDb["$het-$nap-$ora-$tanarId"]) {
+			$OrarendiOra[ $kulcs2index["$het-$nap-$ora-$tanarId"] ] = array(
+                	    $het,$nap,$ora,$tanarId,$osztalyJel,$targyJel,$teremId,$tolDt,$igDt
+            		);
+		    }
+
+		}
+	    }
+	}
+
+	fclose($fp);
+	return $ok;
+
+    }
+
+
+?>
diff --git "a/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML (tank\303\266r n\303\251lk\303\274l).php" "b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML (tank\303\266r n\303\251lk\303\274l).php"
new file mode 100644
index 00000000..87d7982c
--- /dev/null
+++ "b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML (tank\303\266r n\303\251lk\303\274l).php"	
@@ -0,0 +1,188 @@
+ 0) $xmlStr = mb_convert_encoding(fread($fp, $size), 'UTF-8', 'ISO-8859-2');
+        fclose($fp);
+	// A loadXML( $xmlStr );
+	if (!$dom) {
+	    $_SESSION['alert'][] = 'message:wrong_data:Hibás XML file='.$ADAT['fileName'];
+	    return false;
+	}
+
+	// A targyJel mező hosszának lekérdezése (32)
+	$q = "SHOW FIELDS FROM `%s`.orarendiOraTankor LIKE 'targyJel'";
+	$ret = db_query($q, array('fv' => 'loadFile/targyJel típusa', 'modul' => 'naplo', 'result' => 'record', 'values' => array($ADAT['tanevDb'])));
+	$targyJelHossz = intval(substr($ret['Type'], 8, -1));
+
+	// Tanárok - MaYoR
+        $cTanar = array(); $Tanarok = getTanarok();
+        for ($i = 0; $i < count($Tanarok); $i++) $cTanar[ $Tanarok[$i]['tanarId'] ] = $Tanarok[$i];
+
+
+	// ====================== Alapadatok lekérdezése az XML-ből =========================== //
+
+	$teachers = $dom->getElementsByTagName( 'teacher' );
+	foreach ($teachers as $teacher) {
+	    $id = $teacher->getAttribute( 'id' );
+	    $ascTanar[$id]['name'] = $teacher->getAttribute( 'name' );
+	    $ascTanar[$id]['short'] = $teacher->getAttribute( 'short' );
+	    if (!is_array($cTanar[$id])) {
+		$_SESSION['alert'][] = 'message:Hibás tanár ID!:'.$id.':'.$ascTanar[$id]['name'].':'.$ascTanar[$id]['short'];
+	    }
+	}
+	$classes = $dom->getElementsByTagName( 'class' );
+	foreach ($classes as $class) {
+	    $id = $class->getAttribute( 'id' );
+	    $name = $class->getAttribute( 'name' );
+	    $ascOsztaly[$id] = $name;
+	}
+	$subjects = $dom->getElementsByTagName( 'subject' );
+	foreach ($subjects as $subject) {
+	    $id = $subject->getAttribute( 'id' );
+	    $name = $subject->getAttribute( 'name' );
+	    $short = $subject->getAttribute( 'short' );
+	    $ascTargy[$id] = array('name' => $name, 'short' => $short);
+	}
+	$classrooms = $dom->getElementsByTagName( 'classroom' );
+	foreach ($classrooms as $classroom) {
+	    $id = $classroom->getAttribute( 'id' );
+	    $name = $classroom->getAttribute( 'name' );
+	    $short = $classroom->getAttribute( 'name' );
+	    $ascTerem[$id] = array('name' => $name, 'short' => $short);
+	}
+
+	//  =============== Lesson tábla feldolgozása ======================== //
+	// két hetes órarend --> egy hét
+	$kihagyandoWeek = ($ADAT['orarendiHet'] == 1) ? '01':'10';
+	$lessons = $dom->getElementsByTagName( 'lesson' );
+	foreach ($lessons as $lesson) {
+	    $id = $lesson->getAttribute( 'id' );
+	    $weeks = $lesson->getAttribute( 'weeks' );
+	    if ($weeks === $kihagyandoWeek) $kihagyandoLesson[$id] = true;
+	}
+/*
+	//  =============== Lesson tábla feldolgozása ======================== //
+
+	$OrarendiOraTankor = array();
+	$lessons = $dom->getElementsByTagName( 'lesson' );
+	foreach ($lessons as $lesson) {
+	    $id = $lesson->getAttribute( 'id' );
+	    $name = $lesson->getAttribute( 'name' );
+	    $periodspercard = $lesson->getAttribute( 'periodspercard' );
+	    $periodsperweek = $lesson->getAttribute( 'periodsperweek' );
+	    $subjectid = $lesson->getAttribute( 'subjectid' );
+	    $classids = $lesson->getAttribute( 'classids' );
+	    $teacherids = $lesson->getAttribute( 'teacherids' );
+
+	    $ascLesson[$id] = array(
+		'lessonid' => $id,
+		'name' => $name,
+		'periodspercard' => $periodspercard,
+		'periodsperweek' => $periodsperweek,
+		'subjectid' => $subjectid,
+		'classids' => $classids,
+		'teacherids' => $teacherids,
+	    );
+
+	    list($jel, $ids) = explode('-', $id);
+	    $tankorIds = explode('_', $ids);
+	    $tanarIds = explode(',', $teacherids);
+	    $osztalyIds = explode(',', $classids);
+//	    $targyJel = $subjectid;
+	    $targyJel = substr($id, 0, $targyJelHossz);
+	    for ($i = 0; $i < count($tankorIds); $i++) { // feltételezzük, hogy a tanárok és tankörök sorrendje megfelel egymásnak!
+		$tankorId = $tankorIds[$i];
+		if (!is_array($tankorOrarendiOra[$tankorId])) $tankorOrarendiOra[$tankorId] = array();
+		$tanarId = $mayorTankor[$tankorId]['tanar'][0];
+		if (!isset($tanarId)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hiányzó tanár hozzárendelés:tankorId=$tankorId - tanarId NINCS! - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		} elseif(!in_array($tanarId, $tanarIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás tanár hozzárendelés:tankorId=$tankorId - tanarId=$tanarId - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		}
+		$osztalyId = $mayorTankor[$tankorId]['osztaly'][0];
+		if (!in_array($osztalyId, $osztalyIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás osztály hozzárendelés:tankorId=$tankorId - osztalyId=$osztalyId - classids=$classids";
+		    $return = $ADAT['force'];
+		    if (!$return) continue;
+		}
+		if (!in_array("$tanarId:$osztalyId:$targyJel", $tankorOrarendiOra[$tankorId])) {
+		    $tankorOrarendiOra[$tankorId][] = "$tanarId:$osztalyId:$targyJel";
+		    $OrarendiOraTankor[] = array(
+			$tanarId, $osztalyId, $targyJel, $tankorId
+		    );
+		}
+	    }
+
+	} // foreach - lesson
+*/
+	// Kártyák feldolgozása
+	$cards = $dom->getElementsByTagName( 'card' );
+	if (count($cards)==0) $_SESSION['alert'][] = '::nincsenek kártyák az adott xml file-ban';
+	foreach ($cards as $card) {
+
+	    $lessonid = $card->getAttribute( 'lessonid' );
+	    if ($kihagyandoLesson[$lessonid]) continue;
+	    $classids = explode(',', ($card->getAttribute( 'classids' )));
+	    $subjectids = explode(',', ($card->getAttribute( 'subjectids' )));
+	    $teacherids = explode(',', ($card->getAttribute( 'teacherids' )));
+	    $classroomids = explode(',', ($card->getAttribute( 'classroomids' )));
+	    $day = ($card->getAttribute( 'day' ));
+	    $period = $card->getAttribute( 'period' );
+	    $periodspercard = $card->getAttribute( 'durationperiods' );
+
+	    $weeks = $card->getAttribute( 'weeks' );
+	    if ($weeks === $kihagyandoWeek) continue;
+
+	    if ($periodspercard == 0) $periodspercard = 1;
+
+	    for ($j = 0; $j < $periodspercard; $j++) {
+		foreach ($teacherids as $i => $tanarId) {
+			if (count($subjectids) == count($teacherids)) $targyJel = $ascTargy[ $subjectids[$i] ]['short'];
+			else $targyJel = $ascTargy[ $subjectids[0] ]['short']; // Csak az első subjectid-t vesszük figyelembe
+
+			if (count($classroomids) == count($teacherids)) $teremId = readVariable($classroomids[$i],'numeric unsigned','NULL');
+			else $teremId = readVariable($classroomids[0],'numeric unsigned','NULL'); // feltételezzük, hogy a tanárok és termek sorrendje megfelel
+
+			if (count($classids) == count($teacherids)) $osztalyJel = $ascOsztaly[ $classids[$i] ];
+			else $osztalyJel = $ascOsztaly[ $classids[0] ];
+
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$day,intval($period+$j),$tanarId,$osztalyJel,$targyJel,$teremId,$ADAT['tolDt'],$ADAT['igDt']
+			);			
+		}
+	    }
+
+	}
+
+	return $return;
+
+    }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML update.php b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML update.php
new file mode 100644
index 00000000..07d06798
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML update.php	
@@ -0,0 +1,241 @@
+ 0) $xmlStr = mb_convert_encoding(fread($fp, $size), 'UTF-8', 'ISO-8859-2');
+        fclose($fp);
+	// A loadXML( $xmlStr );
+	if (!$dom) {
+	    $_SESSION['alert'][] = 'message:wrong_data:Hibás XML file='.$ADAT['fileName'];
+	    return false;
+	}
+
+	// Tankörök adatainak lekérdezése
+        $Tankorok = getTankorok(array("tanev=$tanev"));
+	$mayorTankor = array();
+        for ($i = 0; $i < count($Tankorok); $i++) {
+	    $tankorId = $Tankorok[$i]['tankorId'];
+            $Tankorok[$i]['osztaly'] = getTankorOsztalyaiByTanev($tankorId, $tanev, array('tagokAlapjan' => true, 'result' => 'id'));
+//            $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => $tanev, 'result' => 'csakId'));
+    	    $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval(
+                $tankorId, array('tanev' => $tanev, 'tolDt' => $ADAT['tolDt'], 'igDt' => $ADAT['igDt'], 'result' => 'csakId')
+            );
+if ($tankorId == 104) {
+var_dump($Tankorok[$i]['tanar']);
+}
+	    $mayorTankor[$tankorId] = $Tankorok[$i];
+	}
+var_dump($ADAT['tolDt']);
+var_dump($ADAT['igDt']);
+	unset($Tankorok);
+
+	// A targyJel mező hosszának lekérdezése (32)
+        $q = "SHOW FIELDS FROM `%s`.orarendiOraTankor LIKE 'targyJel'";
+        $ret = db_query($q, array('fv' => 'loadFile/targyJel típusa', 'modul' => 'naplo', 'result' => 'record', 'values' => array($ADAT['tanevDb'])));
+	$targyJelHossz = intval(substr($ret['Type'], 8, -1));
+
+	// A már felvett orarendiOraTankor bejegyzések lekérdezése
+	$ret = getOrarendiOraTankor($tanev);
+	$tankorOrarendiOra = array();
+	for ($i = 0; $i < count($ret); $i++) {
+	    $kulcs = $ret[$i]['tanarId'].':'.$ret[$i]['osztalyJel'].':'.$ret[$i]['targyJel'];
+	    $tankorOrarendiOra[ $ret[$i]['tankorId'] ][] = $kulcs;
+	}
+
+
+	// ====================== Alapadatok lekérdezése az XML-ből =========================== //
+
+	$teachers = $dom->getElementsByTagName( 'teacher' );
+	foreach ($teachers as $teacher) {
+	    $id = $teacher->getAttribute( 'id' );
+	    $name = $teacher->getAttribute( 'name' );
+	    $ascTanar[$id] = $name;
+	}
+	$classes = $dom->getElementsByTagName( 'class' );
+	foreach ($classes as $class) {
+	    $id = $class->getAttribute( 'id' );
+	    $name = $class->getAttribute( 'name' );
+	    $ascOsztaly[$id] = $name;
+	}
+	$subjects = $dom->getElementsByTagName( 'subject' );
+	foreach ($subjects as $subject) {
+	    $id = $subject->getAttribute( 'id' );
+	    $name = $subject->getAttribute( 'name' );
+	    $short = $subject->getAttribute( 'short' );
+	    if (substr($id,0,1) == 'b') $ascBlokkTargy[substr($id, 1)] = $name;
+	    else $ascTargy[$id] = array('name' => $name, 'short' => $short);
+	}
+	$classrooms = $dom->getElementsByTagName( 'classroom' );
+	foreach ($classrooms as $classroom) {
+	    $id = $classroom->getAttribute( 'id' );
+	    $name = $classroom->getAttribute( 'name' );
+	    $ascTerem[$id] = $name;
+	}
+
+	//  =============== Lesson tábla feldolgozása ======================== //
+
+	$OrarendiOraTankor = array();
+	$lessons = $dom->getElementsByTagName( 'lesson' );
+	foreach ($lessons as $lesson) {
+	    $id = $lesson->getAttribute( 'id' );
+	    $name = $lesson->getAttribute( 'name' );
+	    $periodspercard = $lesson->getAttribute( 'periodspercard' );
+	    $periodsperweek = $lesson->getAttribute( 'periodsperweek' );
+	    $subjectid = $lesson->getAttribute( 'subjectid' );
+	    $classids = $lesson->getAttribute( 'classids' );
+	    $teacherids = $lesson->getAttribute( 'teacherids' );
+
+	    $ascLesson[$id] = array(
+		'lessonid' => $id,
+		'name' => $name,
+		'periodspercard' => $periodspercard,
+		'periodsperweek' => $periodsperweek,
+		'subjectid' => $subjectid,
+		'classids' => $classids,
+		'teacherids' => $teacherids,
+	    );
+
+	    list($jel, $ids) = explode('-', $id);
+	    $tankorIds = explode('_', $ids);
+	    $tanarIds = explode(',', $teacherids);
+	    $osztalyIds = explode(',', $classids);
+//	    $targyJel = $subjectid;
+	    $targyJel = substr($id, 0, $targyJelHossz);
+	    for ($i = 0; $i < count($tankorIds); $i++) { // feltételezzük, hogy a tanárok és tankörök sorrendje megfelel egymásnak!
+		$tankorId = $tankorIds[$i];
+		if (!is_array($tankorOrarendiOra[$tankorId])) $tankorOrarendiOra[$tankorId] = array();
+		$tanarId = $mayorTankor[$tankorId]['tanar'][0];
+		if (!isset($tanarId)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hiányzó tanár hozzárendelés:tankorId=$tankorId - tanarId NINCS! - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		} elseif(!in_array($tanarId, $tanarIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás tanár hozzárendelés:tankorId=$tankorId - tanarId=$tanarId - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		}
+		$osztalyId = $mayorTankor[$tankorId]['osztaly'][0];
+		if (!in_array($osztalyId, $osztalyIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás osztály hozzárendelés:tankorId=$tankorId - osztalyId=$osztalyId - classids=$classids";
+		    $return = $ADAT['force'];
+		    continue;
+		}
+		if (!in_array("$tanarId:$osztalyId:$targyJel", $tankorOrarendiOra[$tankorId])) {
+		    $tankorOrarendiOra[$tankorId][] = "$tanarId:$osztalyId:$targyJel";
+		    $OrarendiOraTankor[] = array(
+			$tanarId, $osztalyId, $targyJel, $tankorId
+		    );
+		}
+	    }
+
+	} // foreach - lesson
+
+	// Kártyák feldolgozása
+	$cards = $dom->getElementsByTagName( 'card' );
+	foreach ($cards as $card) {
+	    $lessonid = $card->getAttribute( 'lessonid' );
+//	    $periodspercard = $lAdat['periodspercard'];
+	    $periodspercard = $card->getAttribute( 'durationperiods' );
+	    $day = ($card->getAttribute( 'day' ));
+	    $period = $card->getAttribute( 'period' );
+	    $classroomids = explode(',', ($card->getAttribute( 'classroomids' )));
+	    $tanarIds = explode(',', $ascLesson[$lessonid]['teacherids']);
+
+	    list($jel, $ids) = explode('-', $lessonid);
+	    if (substr($jel,0,1) == 't') $tipus = 'tankor';
+	    elseif (substr($jel,0,1) == 'b') $tipus = 'blokk';
+	    else {
+		$_SESSION['alert'][] = "message:wrong_data:Hibás lesson:lessonid=$lessonid";
+		$return = $ADAT['force'];
+		if ($ADAT['force']) { // felvesszük az órarendi óra bejegyzést - még tankörhöz kell majd rendelni
+		    $osztalyIds = explode(',', $ascLesson[$lessonid]['classids']);
+		    foreach ($tanarIds as $i => $tanarId) {
+//			$targyJel = substr($lessonid, 0, $targyJelHossz);
+			$targyJel = $ascTargy[ $ascLesson[$lessonid]['subjectid'] ]['short'].'-'.$lessonid;
+			$teremId = readVariable($classroomids[$i],'numeric unsigned','NULL'); // feltételezzük, hogy a tanárok és termek sorrendje megfelel
+			if (count($osztalyIds) == count($tanarIds)) $osztalyJel = $ascOsztaly[ $osztalyIds[$i] ];
+			else $osztalyJel = $ascOsztaly[ $osztalyIds[0] ];
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$day,intval($period),$tanarId,$osztalyJel,$targyJel,$teremId,$ADAT['tolDt'],$ADAT['igDt']
+			);			
+		    }
+		}
+		continue;
+	    }
+//	    $oraszam = intval(substr($jel, 1, 1));
+	    $oraszam = $periodspercard;
+	    if ($oraszam == 0) $oraszam = 1;
+//	    if ($oraszam != $periodspercard) $_SESSION['alert'][] = "message:wrong_data:Óraszám=$oraszam - periodspercard=$periodspercard";
+	    $tankorIds = explode('_', $ids);
+//	    $targyJel = $ascLesson[$lessonid]['subjectid'];
+	    $targyJel = substr($lessonid, 0, $targyJelHossz);
+	    for ($i = 0; $i < count($tankorIds); $i++) {
+
+		$tankorId = $tankorIds[$i];
+		$tanarId = readVariable($mayorTankor[$tankorId]['tanar'][0], 'numeric unsigned', null);
+		list($index) = array_keys($tanarIds, $tanarId);
+		$osztalyId = readVariable($mayorTankor[$tankorId]['osztaly'][0], 'numeric unsigned', null);
+		$teremId = readVariable($classroomids[$index],'numeric unsigned','NULL'); // feltételezzük, hogy a tankor-ök és termek sorrendje megfelel
+		for ($j = 0; $j < $oraszam; $j++) {
+		    if (isset($tanarId) && isset($osztalyId)) {
+
+$q = "SELECT teremId FROM `%s`._orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND osztalyJel='%s' AND targyJel='%s' AND tolDt<='%s' AND '%s' <= igDt";
+$v = array($ADAT['tanevDb'], $ADAT['orarendiHet'], $day, intval($period+$j), $tanarId, $osztalyId, $targyJel, $ADAT['tolDt'], $ADAT['tolDt']);
+$ret = db_query($q, array('fv' => 'terem update', 'modul' => 'naplo', 'result' => 'value', 'values' => $v));
+if ($ret != '') {
+    $teremId = $ret;
+}
+else {
+    $teremId = 'NULL';
+}
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$day,intval($period+$j),$tanarId,$osztalyId,$targyJel,$teremId,$ADAT['tolDt'],$ADAT['igDt']
+			);
+		    }
+		}
+	    }
+
+	}
+
+	return $return;
+
+    }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML.php b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML.php
new file mode 100644
index 00000000..e4f2fde6
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-aSc Timetables XML.php	
@@ -0,0 +1,217 @@
+ 0) $xmlStr = mb_convert_encoding(fread($fp, $size), 'UTF-8', 'ISO-8859-2');
+        fclose($fp);
+	// A loadXML( $xmlStr );
+	if (!$dom) {
+	    $_SESSION['alert'][] = 'message:wrong_data:Hibás XML file='.$ADAT['fileName'];
+	    return false;
+	}
+
+	// Tankörök adatainak lekérdezése
+        $Tankorok = getTankorok(array("tanev=$tanev"));
+	$mayorTankor = array();
+        for ($i = 0; $i < count($Tankorok); $i++) {
+	    $tankorId = $Tankorok[$i]['tankorId'];
+            $Tankorok[$i]['osztaly'] = getTankorOsztalyaiByTanev($tankorId, $tanev, array('tagokAlapjan' => true, 'result' => 'id'));
+//            $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => $tanev, 'result' => 'csakId'));
+    	    $Tankorok[$i]['tanar'] = getTankorTanaraiByInterval(
+                $tankorId, array('tanev' => $tanev, 'tolDt' => $ADAT['tolDt'], 'igDt' => $ADAT['igDt'], 'result' => 'csakId')
+            );
+
+	    $mayorTankor[$tankorId] = $Tankorok[$i];
+	}
+	unset($Tankorok);
+
+	// A targyJel mező hosszának lekérdezése (32)
+        $q = "SHOW FIELDS FROM `%s`.orarendiOraTankor LIKE 'targyJel'";
+        $ret = db_query($q, array('fv' => 'loadFile/targyJel típusa', 'modul' => 'naplo', 'result' => 'record', 'values' => array($ADAT['tanevDb'])));
+        $targyJelHossz = intval(substr($ret['Type'], 8, -1));
+	// A már felvett orarendiOraTankor bejegyzések lekérdezése
+	$ret = getOrarendiOraTankor($tanev);
+	$tankorOrarendiOra = array();
+	for ($i = 0; $i < count($ret); $i++) {
+	    $kulcs = $ret[$i]['tanarId'].':'.$ret[$i]['osztalyJel'].':'.$ret[$i]['targyJel'];
+	    $tankorOrarendiOra[ $ret[$i]['tankorId'] ][] = $kulcs;
+	}
+
+
+	// ====================== Alapadatok lekérdezése az XML-ből =========================== //
+
+	$teachers = $dom->getElementsByTagName( 'teacher' );
+	foreach ($teachers as $teacher) {
+	    $id = $teacher->getAttribute( 'id' );
+	    $name = $teacher->getAttribute( 'name' );
+	    $ascTanar[$id] = $name;
+	}
+	$classes = $dom->getElementsByTagName( 'class' );
+	foreach ($classes as $class) {
+	    $id = $class->getAttribute( 'id' );
+	    $name = $class->getAttribute( 'name' );
+	    $ascOsztaly[$id] = $name;
+	}
+	$subjects = $dom->getElementsByTagName( 'subject' );
+	foreach ($subjects as $subject) {
+	    $id = $subject->getAttribute( 'id' );
+	    $name = $subject->getAttribute( 'name' );
+	    $short = $subject->getAttribute( 'short' );
+	    if (substr($id,0,1) == 'b') $ascBlokkTargy[substr($id, 1)] = $name;
+	    else $ascTargy[$id] = array('name' => $name, 'short' => $short);
+	}
+	$classrooms = $dom->getElementsByTagName( 'classroom' );
+	foreach ($classrooms as $classroom) {
+	    $id = $classroom->getAttribute( 'id' );
+	    $name = $classroom->getAttribute( 'name' );
+	    $ascTerem[$id] = $name;
+	}
+
+	//  =============== Lesson tábla feldolgozása ======================== //
+
+	$OrarendiOraTankor = array();
+	$lessons = $dom->getElementsByTagName( 'lesson' );
+	foreach ($lessons as $lesson) {
+	    $id = $lesson->getAttribute( 'id' );
+	    $name = $lesson->getAttribute( 'name' );
+	    $periodspercard = $lesson->getAttribute( 'periodspercard' );
+	    $periodsperweek = $lesson->getAttribute( 'periodsperweek' );
+	    $subjectid = $lesson->getAttribute( 'subjectid' );
+	    $classids = $lesson->getAttribute( 'classids' );
+	    $teacherids = $lesson->getAttribute( 'teacherids' );
+
+	    $ascLesson[$id] = array(
+		'lessonid' => $id,
+		'name' => $name,
+		'periodspercard' => $periodspercard,
+		'periodsperweek' => $periodsperweek,
+		'subjectid' => $subjectid,
+		'classids' => $classids,
+		'teacherids' => $teacherids,
+	    );
+
+	    list($jel, $ids) = explode('-', $id);
+	    $tankorIds = explode('_', $ids);
+	    $tanarIds = explode(',', $teacherids);
+	    $osztalyIds = explode(',', $classids);
+//	    $targyJel = $subjectid;
+	    $targyJel = substr($id, 0, $targyJelHossz);
+	    for ($i = 0; $i < count($tankorIds); $i++) { // feltételezzük, hogy a tanárok és tankörök sorrendje megfelel egymásnak!
+		$tankorId = $tankorIds[$i];
+		if (!is_array($tankorOrarendiOra[$tankorId])) $tankorOrarendiOra[$tankorId] = array();
+		$tanarId = $mayorTankor[$tankorId]['tanar'][0];
+		if (!isset($tanarId)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hiányzó tanár hozzárendelés:tankorId=$tankorId - tanarId NINCS! - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		} elseif(!in_array($tanarId, $tanarIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás tanár hozzárendelés:tankorId=$tankorId - tanarId=$tanarId - teacherids=$teacherids - lessonid=$id";
+		    $return = $ADAT['force'];
+		    continue;
+		}
+		$osztalyId = $mayorTankor[$tankorId]['osztaly'][0];
+		if (!in_array($osztalyId, $osztalyIds)) {
+		    $_SESSION['alert'][] = "message:wrong_data:Hibás osztály hozzárendelés:tankorId=$tankorId - osztalyId=$osztalyId - classids=$classids";
+		    $return = $ADAT['force'];
+		    if (!$return) continue;
+		}
+		if (!in_array("$tanarId:$osztalyId:$targyJel", $tankorOrarendiOra[$tankorId])) {
+		    $tankorOrarendiOra[$tankorId][] = "$tanarId:$osztalyId:$targyJel";
+		    $OrarendiOraTankor[] = array(
+			$tanarId, $osztalyId, $targyJel, $tankorId
+		    );
+		}
+	    }
+
+	} // foreach - lesson
+
+	// Kártyák feldolgozása
+	$cards = $dom->getElementsByTagName( 'card' );
+	if (count($cards)==0) $_SESSION['alert'][] = '::nincsenek kártyák az adott xml file-ban';
+	foreach ($cards as $card) {
+	    $lessonid = $card->getAttribute( 'lessonid' );
+//	    $periodspercard = $lAdat['periodspercard'];
+	    $periodspercard = $card->getAttribute( 'durationperiods' );
+	    $day = ($card->getAttribute( 'day' ));
+	    // Ha nem az adott hétre vonatkozó bejegyzés, akkor ugorjunk...
+	    $weeks = ($card->getAttribute( 'weeks' ));
+	    if ($weeks != "" && $weeks !== "1" && substr($weeks,($ADAT['orarendiHet']-1),1) != "1") continue;
+	    $period = $card->getAttribute( 'period' );
+	    $classroomids = explode(',', ($card->getAttribute( 'classroomids' )));
+	    $tanarIds = explode(',', $ascLesson[$lessonid]['teacherids']);
+
+	    list($jel, $ids) = explode('-', $lessonid);
+	    if (substr($jel,0,1) == 't') $tipus = 'tankor';
+	    elseif (substr($jel,0,1) == 'b') $tipus = 'blokk';
+	    else {
+		$_SESSION['alert'][] = "message:wrong_data:Hibás lesson:lessonid=$lessonid";
+		$return = $ADAT['force'];
+		if ($ADAT['force']) { // felvesszük az órarendi óra bejegyzést - még tankörhöz kell majd rendelni
+		    $osztalyIds = explode(',', $ascLesson[$lessonid]['classids']);
+		    foreach ($tanarIds as $i => $tanarId) {
+//			$targyJel = substr($lessonid, 0, $targyJelHossz);
+			$targyJel = $ascTargy[ $ascLesson[$lessonid]['subjectid'] ]['short'].'-'.$lessonid;
+			$teremId = readVariable($classroomids[$i],'numeric unsigned','NULL'); // feltételezzük, hogy a tanárok és termek sorrendje megfelel
+			if (count($osztalyIds) == count($tanarIds)) $osztalyJel = $ascOsztaly[ $osztalyIds[$i] ];
+			else $osztalyJel = $ascOsztaly[ $osztalyIds[0] ];
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$day,intval($period),$tanarId,$osztalyJel,$targyJel,$teremId,$ADAT['tolDt'],$ADAT['igDt']
+			);			
+		    }
+		}
+		continue;
+	    }
+//	    $oraszam = intval(substr($jel, 1, 1));
+	    $oraszam = $periodspercard;
+	    if ($oraszam == 0) $oraszam = 1;
+//	    if ($oraszam != $periodspercard) $_SESSION['alert'][] = "message:wrong_data:Óraszám=$oraszam - periodspercard=$periodspercard";
+	    $tankorIds = explode('_', $ids);
+//	    $targyJel = $ascLesson[$lessonid]['subjectid'];
+	    $targyJel = substr($lessonid, 0, $targyJelHossz);
+	    for ($i = 0; $i < count($tankorIds); $i++) {
+
+		$tankorId = $tankorIds[$i];
+		$tanarId = readVariable($mayorTankor[$tankorId]['tanar'][0], 'numeric unsigned', null);
+		list($index) = array_keys($tanarIds, $tanarId);
+		$osztalyId = readVariable($mayorTankor[$tankorId]['osztaly'][0], 'numeric unsigned', null);
+		$teremId = readVariable($classroomids[$index],'numeric unsigned','NULL'); // feltételezzük, hogy a tankor-ök és termek sorrendje megfelel
+		for ($j = 0; $j < $oraszam; $j++) {
+		    if (isset($tanarId) && isset($osztalyId)) {
+			$OrarendiOra[] = array(
+			    $ADAT['orarendiHet'],$day,intval($period+$j),$tanarId,$osztalyId,$targyJel,$teremId,$ADAT['tolDt'],$ADAT['igDt']
+			);
+		    }  else {
+			$_SESSION['alert'][] = "message:wrong_data:Hiányzótanár vagy osztály:lessonid=$lessonid; day=$day; period=$period; tanarId=$tanarId; osztalyId=$osztalyId";
+		    }
+		}
+	    }
+
+	}
+
+	return $return;
+
+    }
+
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-csv.php b/mayor-orig/www/include/modules/naplo/orarend/convert-csv.php
new file mode 100644
index 00000000..511e3ee4
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-csv.php
@@ -0,0 +1,79 @@
+ __TANEV, 'result' => 'assoc'));
+	foreach ($Tanarok as $tanarId => $tanarAdat) $Tanar[ $tanarAdat['tanarNev'] ] = $tanarId;
+
+	$fp = fopen($ADAT['fileName'], 'r');
+	if (!$fp) return false;
+
+	// Az első sor a napok neveit tartalmazza
+	$Napok = explode('	', chop(fgets($fp, 1024)));
+	for ($i = 0; $i < count($Napok); $i++)
+	    if ($Napok[$i] == 'Hétfő') $Napok[$i] = 1;
+	    elseif ($Napok[$i] == 'Kedd') $Napok[$i] = 2;
+	    elseif ($Napok[$i] == 'Szerda') $Napok[$i] = 3;
+	    elseif ($Napok[$i] == 'Csütörtök') $Napok[$i] = 4;
+	    elseif ($Napok[$i] == 'Péntek') $Napok[$i] = 5;
+	    elseif ($Napok[$i] == 'Szombat') $Napok[$i] = 6;
+	    elseif ($Napok[$i] == 'Vasárnap') $Napok[$i] = 7;
+	// A második sor az adott napon belöli óraszámot adja
+	$oraszamok = explode('	', chop(fgets($fp, 1024)));
+	$return = true;
+	while ($sor = fgets($fp, 1024)) {
+
+	    // Két sor egy tanár órarendjét tartalmazza
+	    $S1 = explode('	', chop($sor));
+	    $S2 = explode('	', chop(fgets($fp, 1024)));
+	    // Az első sor első mezője a tanár neve
+	    if ($Tanar[ $S1[0] ] != '') {
+		$tanar = $Tanar[ $S1[0] ];
+	    } else {
+		$_SESSION['alert'][] = 'message:wrong_data:tanarNev='.$S1[0]; // hiányzó vagy hibás tanárnév esetén nem tudjuk betölteni az órarendet
+		$return = false;
+		$tanar = $S1[0] . ' / ' . $Tanar[ $S1[0] ];
+	    }
+	    // A második cellátol jönnek az órák - első sor a tárgy, második az osztály
+	    for ($i = 1; $i < count($S1); $i++) {
+		if ($Napok[$i] != 0) $nap = $Napok[$i];
+		if ($S1[$i] != '') {
+
+		    $ora = $oraszamok[$i];
+		    $targy = $S1[$i];
+		    $osztaly = $S2[$i];
+
+		    $OrarendiOra[] = array(
+			$ADAT['orarendiHet'],$nap,$ora,$tanar,$osztaly,$targy,$ADAT['tolDt'],$ADAT['igDt']
+		    );
+
+		}
+
+	    }
+
+	}
+
+	fclose($fp);
+	return $return;
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/convert-default.php b/mayor-orig/www/include/modules/naplo/orarend/convert-default.php
new file mode 100644
index 00000000..a78939df
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/convert-default.php
@@ -0,0 +1,33 @@
+
diff --git a/mayor-orig/www/include/modules/naplo/orarend/orarendBetolto.php b/mayor-orig/www/include/modules/naplo/orarend/orarendBetolto.php
new file mode 100644
index 00000000..4a870b78
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/orarendBetolto.php
@@ -0,0 +1,82 @@
+ 'orarendBetoltes'));
+            db_start_trans($lr);
+	    if ($ADAT['lezaras']) {
+                // tol-ig között töröljük az adott hét órarendi bejegyzéseit
+                $q = "DELETE FROM `%s`.orarendiOra WHERE het=%u AND '%s'<=tolDt AND igDt<='%s'";
+		$v = array($ADAT['tanevDb'], $ADAT['orarendiHet'], $ADAT['tolDt'], $ADAT['igDt']);
+                $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/közti törlés', 'modul' => 'naplo', 'values' => $v), $lr);
+                // A keresztülnyúlókat ketté kell vágni
+                $q = "INSERT INTO `%s`.orarendiOra
+                        SELECT het,nap,ora,tanarId,osztalyJel,targyJel,teremId,'%s' + INTERVAL 1 DAY AS tolDt,igDt
+                        FROM `%s`.orarendiOra WHERE het=%u AND tolDt<'%s' AND igDt>'%s'";
+		$v = array($ADAT['tanevDb'], $ADAT['igDt'], $ADAT['tanevDb'], $ADAT['orarendiHet'], $ADAT['tolDt'], $ADAT['igDt']);
+                $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/keresztülnyúló kettévágása', 'modul' => 'naplo', 'values' => $v), $lr);
+                // a "balról" benyúlóakat tolDt-ig levágjuk
+                $q = "UPDATE `%s`.orarendiOra SET igDt='%s' - INTERVAL 1 DAY WHERE tolDt<'%s' AND '%s'<=igDt";
+		$v = array($ADAT['tanevDb'], $ADAT['tolDt'], $ADAT['tolDt'], $ADAT['tolDt']);
+                $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/balról levág', 'modul' => 'naplo', 'values' => $v), $lr);
+                // a "jobbról" benyúlóakat igDt-től levágjuk
+                $q = "UPDATE `%s`.orarendiOra SET tolDt='%s' + INTERVAL 1 DAY WHERE '%s' 'orarendBetoltes/jobbról levág', 'modul' => 'naplo', 'values' => $v), $lr);
+	    }
+
+            // felvesszük az új bejegyzéseket
+            $v = $V = array();
+            for ($i = 0; $i < count($OrarendiOra); $i++) {
+                if ($OrarendiOra[$i][3] != 'NULL') {
+		    // Nem hibás, de jobb lenne a %s-t csak sztring-ekre hasznáni, a NULL-ra nem...
+		    if ($OrarendiOra[$i][6] == '') $OrarendiOra[$i][6] = 'NULL';
+		    if ($OrarendiOra[$i][6] == 'NULL')
+			$q =  "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt)
+                		    VALUES (%u, %u, %u, %u, '%s', '%s', %s, '%s', '%s')";
+		    else 
+			$q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt)
+                		    VALUES (%u, %u, %u, %u, '%s', '%s', %u, '%s', '%s')";
+		    $v = mayor_array_join(array($ADAT['tanevDb']), $OrarendiOra[$i]);
+        	    $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/orarendiOra beszúrás #'.$i, 'modul' => 'naplo', 'values' => $v), $lr);
+		}
+	    }
+/*
+            $v = $V = array();
+            for ($i = 0; $i < count($OrarendiOra); $i++)
+                if ($OrarendiOra[$i][3] != 'NULL') {
+		    // Nem hibás, de jobb lenne a %s-t csak sztring-ekre hasznáni, a NULL-ra nem...
+		    if ($OrarendiOra[$i][6] == 'NULL') $V[] = "(%u, %u, %u, %u, '%s', '%s', %s, '%s', '%s')";
+		    else $V[] = "(%u, %u, %u, %u, '%s', '%s', %u, '%s', '%s')";
+		    $v = array_merge($v, $OrarendiOra[$i]);
+		}
+            $q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt)
+                    VALUES ".implode(',', $V);
+	    array_unshift($v, $ADAT['tanevDb']);
+            $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/orarendiOra beszúrás', 'modul' => 'naplo', 'values' => $v), $lr);
+*/
+            // orarendiOraTankor tábla feltöltése
+            if (is_array($OrarendiOraTankor) && count($OrarendiOraTankor) > 0) {
+                $v = $V = array();
+                for ($i = 0; $i < count($OrarendiOraTankor); $i++) {
+                    $V[] = "(%u, '%s', '%s', %u)";
+		    $v = mayor_array_join($v, $OrarendiOraTankor[$i]);
+		}
+		array_unshift($v, $ADAT['tanevDb']);
+                $q = "INSERT INTO `%s`.orarendiOraTankor (tanarId, osztalyJel, targyJel, tankorId) VALUES ".implode(',', $V);
+                $ok = $ok && db_query($q, array('fv' => 'orarendBetoltes/orarendiOraTankor beszúrás', 'modul' => 'naplo', 'values' => $v), $lr);
+            }
+
+            if ($ok) {
+                db_commit($lr);
+                $_SESSION['alert'][] = 'info:success';
+            } else {
+                db_rollback($lr);
+            }
+        db_close($lr);
+	return $ok;
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/orarendEllenorzes.php b/mayor-orig/www/include/modules/naplo/orarend/orarendEllenorzes.php
new file mode 100644
index 00000000..43639165
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/orarendEllenorzes.php
@@ -0,0 +1,70 @@
+ 'checkOrarendiOraTankor', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v));
+
+    }
+
+    function checkTankorOraszam($ADAT) {
+
+
+	$return = array();
+
+	if (!is_array($ADAT['orarendiHetek']) || count($ADAT['orarendiHetek']) == 0) {
+	    $_SESSION['alert'][] = 'message:wrong_data:checkTankorOraszam:orarendiHetek';
+	    return $return;
+	}
+
+	$tanevDb = tanevDbNev(__INTEZMENY, $ADAT['tanev']);
+	$hetDb = count($ADAT['orarendiHetek']);
+	$q = "SELECT tankorId,COUNT(*)/$hetDb AS hetiOraszam FROM `%s`.orarendiOraTankor 
+		LEFT JOIN `%s`.orarendiOra USING (tanarId,osztalyJel,targyJel) 
+		WHERE tolDt <= '%s' AND '%s' <= igDt GROUP BY tankorId";
+	$v = array($tanevDb, $tanevDb, $ADAT['dt'], $ADAT['dt']);
+	$ret = db_query($q, array('fv' => 'checkTankorOraszam', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v));
+
+	for ($i = 0; $i < count($ADAT['tankorok']); $i++) {
+
+	    $A = $ADAT['tankorok'][$i]; $tankorId = $A['tankorId'];
+	    if ($A['hetiOraszam'] != $ret[$tankorId]['hetiOraszam']) $return[] = array(
+		'tankorId' => $tankorId,
+		'tankorNev' => $A['tankorNev'],
+		'tankorHetiOraszam' => number_format(floatval($A['hetiOraszam']), 2, ',', ''),
+		'orarendHetiOraszam' => number_format(floatval($ret[$tankorId]['hetiOraszam']), 2, ',', '')
+	    );
+	}
+
+	return $return;
+
+    }
+
+    function checkHianyzoTermek($ADAT) {
+
+	$tanevDb = tanevDbNev(__INTEZMENY, $ADAT['tanev']);
+	$q = "SELECT het,nap,ora,TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev)) AS tanarNev,osztalyNaplo.osztalyJel,targyJel
+		FROM `%s`.orarendiOra LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId)
+		LEFT JOIN `%s`.osztalyNaplo ON osztalyId=orarendiOra.osztalyJel 
+		WHERE teremId IS NULL AND tolDt <= '%s' AND '%s' <= igDt
+		ORDER BY tanarNev, osztalyNaplo.osztalyJel";
+	$v = array($tanevDb, $tanevDb, $ADAT['dt'], $ADAT['dt']);
+	return db_query($q, array('fv' => 'checkHianyzoTermek', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v));
+
+    }
+
+    function checkTeremUtkozes($ADAT) {
+
+	$q = "SELECT het,nap,ora,teremId,COUNT(*) AS db FROM `%s`.orarendiOra 
+		WHERE teremId IS NOT NULL AND tolDt <= '%s' AND '%s' <= igDt
+		GROUP BY het,nap,ora,teremId HAVING db>1";
+	$v = array(tanevDbNev(__INTEZMENY, $ADAT['tanev']), $ADAT['dt'], $ADAT['dt']);
+	return db_query($q, array('fv' => 'checkTeremUtkozes', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v));
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/orarendModosito.php b/mayor-orig/www/include/modules/naplo/orarend/orarendModosito.php
new file mode 100644
index 00000000..8a8999dc
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/orarendModosito.php
@@ -0,0 +1,304 @@
+=dt
+			HAVING nap.dt IS NULL";
+
+            return db_query($q, array('fv' => 'getHibasOrak', 'modul' => 'naplo', 'result' => 'indexed'), $lr);
+    }
+
+    function checkHaladasi($SET = array('tolDt'=>null,'igDt'=>null)) {
+	$q = "SELECT dt,count(*) as db FROM ora WHERE dt BETWEEN '%s' AND '%s' GROUP BY dt";
+	$v = array($SET['tolDt'],$SET['igDt']);
+	return db_query($q, array('fv' => 'checkHaladasi', 'modul' => 'naplo', 'result' => 'assoc','keyfield'=>'dt','values'=>$v));
+    }
+
+   function orarendiOraTankorFelvesz($ADAT) { // ez egy másolata az orarendiOraTankorAssoc() függvénynek...
+
+        $lr = db_connect('naplo');
+/*
+        foreach( array_unique($_POST['ORARENDKULCSOK']) as $_k => $_v) {
+            list($_tanarId,$_osztalyJel,$_targyJel) = explode('%',$_v);
+            $q = "DELETE FROM orarendiOraTankor WHERE tanarId=%u AND osztalyJel='%s' AND targyJel='%s'";
+            $v = array($_tanarId, $_osztalyJel, $_targyJel);
+            db_query($q, array('fv' => 'orarendiOraTankorAssoc', 'modul' => 'naplo', 'values' => $v), $lr);
+        }
+*/
+
+//        for ($i = 0; $i < count($ADAT); $i++) {
+	    $_tanarId = $ADAT['tanarId'];
+	    $_osztalyJel = $ADAT['osztalyJel'];
+	    $_targyJel = $ADAT['targyJel'];
+	    $_tankorId = $ADAT['tankorId'];
+                if (!is_null($_tanarId)) {
+                    // bugfix 152->153. Muszáj kitörölni, mert előtte már lehet hogy egy másik tankörhöz rögzítettük ugyanazt a kulcsot... ????
+                    // ez így persze egy sor felesleges query.
+                    $q = "DELETE FROM orarendiOraTankor WHERE tanarId=%u AND osztalyJel='%s' AND targyJel='%s'";
+                    $v = array($_tanarId, $_osztalyJel, $_targyJel);
+                    $db = db_query($q, array('fv' => 'orarendTankor', 'modul' => 'naplo', 'result' => 'affected rows', 'values' => $v), $lr);
+                    $q = "REPLACE INTO orarendiOraTankor (tanarId,osztalyJel,targyJel,tankorId) VALUES (%u, '%s', '%s', %u)";
+                    $v = array($_tanarId, $_osztalyJel, $_targyJel, $_tankorId);
+                    db_query($q, array('fv' => 'orarendTankor', 'modul' => 'naplo', 'values' => $v), $lr);
+                }
+//        }
+        db_close($lr);
+
+    }
+
+    function orarendiOraTorol($ADAT) {
+
+            //$q = "DELETE FROM orarendiOra WHERE tanarId=%u AND osztalyJel='%s' AND targyJel='%s' AND tolDt='%s'";
+            //$v = array($ADAT['tanarId'], $ADAT['osztalyJel'], $ADAT['targyJel'], $ADAT['tolDt']);
+            $q = "DELETE FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND tolDt='%s'";
+            $v = array($ADAT['het'],$ADAT['nap'], $ADAT['ora'], $ADAT['tanarId'], $ADAT['tolDt']);
+            db_query($q, array('fv' => 'orarendiOraTorol', 'modul' => 'naplo', 'values' => $v), $lr);
+
+    }
+
+    function getFelvehetoBlokk($ADAT) {
+
+	$RET = array();
+	if (count($ADAT['tankorIds']) > 0) {
+	    $q = "SELECT DISTINCT blokkId, blokkNev FROM tankorBlokk LEFT JOIN blokk USING (blokkId) WHERE tankorId IN (".implode(',',$ADAT['tankorIds']).")";
+	    $RET = db_query($q, array('fv'=>'getFelvehetoBlokkok', 'modul' => 'naplo', 'result' => 'indexed'));
+	}
+	return $RET;
+
+    }
+
+    function teremModosit($ADAT) {
+	if ($ADAT['tolDt']=='' || $ADAT['igDt']=='') return false;
+	$ok = true;
+	$lr = db_connect('naplo');
+	db_start_trans($lr);
+
+	if (is_null($ADAT['teremId'])) {
+	    $v = array($ADAT['het'], $ADAT['nap'], $ADAT['ora'], $ADAT['tanarId'], $ADAT['tolDt'], $ADAT['igDt']);
+	    $q = "UPDATE orarendiOra SET teremId = NULL WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND tolDt<='%s' AND '%s'<=igDt";
+	    $r = db_query($q, array('fv'=>'teremModosit', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr);
+	} else {
+
+	// Ellenőrizzük hogy foglalt-e...
+	    $v = array($ADAT['het'], $ADAT['nap'], $ADAT['ora'], $ADAT['teremId'], $ADAT['tolDt'], $ADAT['igDt']);
+	    $q = "SELECT * FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND teremId=%u AND tolDt<='%s' AND '%s'<=igDt";
+	    $r = db_query($q, array('fv'=>'teremModosit', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr);
+	    if (count($r)>0) {
+        	// ez a terem foglalt ... mi legyen?
+		$_SESSION['alert'][] = 'info:nem_szabadTerem:'.$ADAT['teremId'];
+		db_rollback($lr); db_close($lr);
+		return false;
+	    }
+	// Van ilyen bejegyzés???
+	    $v = array($ADAT['het'], $ADAT['nap'], $ADAT['ora'], $ADAT['tanarId'], $ADAT['igDt'], $ADAT['tolDt']);
+//	    $q = "SELECT * FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND tolDt<='%s' AND '%s'<=igDt";
+	    $q = "SELECT * FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u";
+	    $ret = db_query($q, array('fv'=>'teremModosit', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr);
+	    if ($ret===false) { $_SESSION['alert'][] = 'info:nincs_bejegyzes:'; db_rollback($lr); db_close($lr); return false; } 
+	// - -- --- ---- -----
+	    for ($i=0; $i'teremModosit','modul'=>'naplo','values'=>$v, 'rollback'=>true), $lr);
+		    if ($r===false) $ok=false;
+		}
+	    }
+	}
+
+	if ($ok) db_commit($lr); else db_rollback($lr);
+	db_close($lr);
+
+
+    }
+
+    function pluszBlokkFelvesz($ADAT) {
+
+	$lr = db_connect('naplo');
+	db_start_trans($lr);
+
+	$TANKORIDK = getTankorokByBlokkId(array($ADAT['blokkId']));
+	for ($i=0; $i $ADAT['tolDt'], 'igDt' => $ADAT['igDt']));
+	    $A['tanarId'] = $A['tanarIdk'][0]['tanarId']; // az elsőt vegyük alapul ha több van :(
+	    $ok = pluszOraFelvesz($A, $lr);
+	    if ($ok === false) break;
+	}
+
+	if ($ok) db_commit($lr); else db_rollback($lr);
+	db_close($lr);
+
+    }
+
+
+
+    function pluszOraFelvesz($ADAT, $olr='') {
+
+	if ($ADAT['tolDt']=='' || $ADAT['igDt']=='') return false;
+
+	// kell egyáltalán ellenőrizni az ütközéseket?
+	// Ha a felveendő órán nem kötelező a jelenlét, nem érdekel minket az egész!
+	$TA = getTankorAdat($ADAT['tankorId']);
+
+	$ok = true;
+	if ($olr=='') {
+	    $lr = db_connect('naplo');
+	    db_start_trans($lr);
+	} else {
+	    $lr = $olr;
+	}
+
+	// Csak akkor ellenőrizzük, ha tényleg kell - persze értelmetlen állapot is előidézhető így...
+	if ($TA[$ADAT['tankorId']][0]['jelenlet'] != 'nem kötelező') {
+	    // ütközések ellenőrzése
+	    // az adott tanárnak lett-e közben azon a helyen órája?
+
+	    // -- tanarLukasOrajae();
+
+	    // a diákok ütköznek-e? (jelenlét és felmentés vizsgálata
+	    $DIAKOK = getTankorDiakjaiByInterval($ADAT['tankorId'], __TANEV, $ADAT['tolDt'], $ADAT['igDt'], $lr);
+	    for ($i=0; $i'pluszOraFelvesz-check','modul'=>'naplo', 'result'=>'indexed', 'values'=> $v), $lr);
+		    for ($n=0; $n='%s' or tankorDiak.kiDt IS NULL))
+				LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiakFelmentes ON (tankorDiakFelmentes.felmentesTipus='óralátogatás alól' AND orarendiOraTankor.tankorId = tankorDiak.tankorId AND tankorDiakFelmentes.diakId=%u AND tankorDiakFelmentes.beDt<='%s' AND (tankorDiakFelmentes.kiDt>='%s' or tankorDiakFelmentes.kiDt IS NULL))
+				LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId)
+				WHERE tankorTipus.jelenlet='kötelező' AND tolDt<='%s' AND igDt>='%s' AND orarendiOra.het=%u AND orarendiOra.nap=%u AND orarendiOra.ora=%u 
+				AND tankorDiak.tankorId IS NOT NULL AND tankorDiakFelmentes.tankorId IS NULL";
+			$v = array($_diakId,$dt,$dt, $_diakId, $dt, $dt,$dt,$dt,$ADAT['het'],$ADAT['nap'],$ADAT['ora']);
+			$UTKOZIK = db_query($q, array('fv'=>'pluszOraFelvesz-pre','modul'=>'naplo','result'=>'indexed', 'values'=> $v), $lr);
+			// és jelezzük a hibát!
+			// megj: ennél azért szofisztikáltabb is lehetne a hibajelentő függvény...
+			if (count($UTKOZIK)>0) {
+                    	    // sajnos ütközés van, nem vehetjük fel:
+			    $ok = false;
+			    if (is_null($_DA[$_diakId])) {
+				$_DA[$_diakId] = getDiakAdatById($_diakId,null,$lr); // csak akkor, ha le kell kérdezni
+				$db_utkozes++;
+			    }
+			    $_U = array();
+                            for ($u=0; $u'pluszOraFelvesz','modul'=>'naplo','result'=>'record', 'values'=> array($ADAT['tanarId'],$ADAT['tankorId'])), $lr);
+	    if ($record===false || $record['targyJel']=='' || $record['osztalyJel']=='') {
+		$record=array(); // reset
+		$record['targyJel'] = 'm-'.$ADAT['tankorId'];
+		$record['osztalyJel'] = 'm-'.$ADAT['tanarId'];
+		$q = "REPLACE INTO orarendiOraTankor (tanarId,osztalyJel,targyJel,tankorId) VALUES (%u,'%s','%s',%u)";
+		$r = db_query($q, array('fv'=>'pluszOraFelvesz/b','modul'=>'naplo','values'=> array($ADAT['tanarId'],$record['osztalyJel'],$record['targyJel'],$ADAT['tankorId'])), $lr);
+		if ($r===false) $ok = false;
+	    } // különben van megfelelő bejegyzésünk
+	    if ($ADAT['teremId']=='') $ADAT['teremId'] = "null";
+	    else $ADAT['teremId'] = intval($ADAT['teremId']);
+	    if ($ok===true) {
+		// Nem hibás, de jobb lenne a %s-t csak sztring-ekre használni, NULL-t valahogy másképp kezelni.
+		$q = "INSERT INTO orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES (%u,%u,%u,%u,'%s','%s',%s,'%s','%s')";
+		$v = array($ADAT['het'],$ADAT['nap'],$ADAT['ora'],$ADAT['tanarId'],$record['osztalyJel'],$record['targyJel'],$ADAT['teremId'],$ADAT['tolDt'],$ADAT['igDt']);
+		$r = db_query($q, array('fv'=>'pluszOraFelvesz/c','modul'=>'naplo','values'=>$v), $lr);
+		if ($r===false) $ok = false;
+	    }
+	    if ($ok===true && $ADAT['haladasiModositando']!=0) {
+		// ciklus $ADAT['tolDt'],$ADAT['igDt'] között, órarend
+		$q = "SELECT DISTINCT dt,count(ora.oraId) AS db FROM nap LEFT JOIN ora USING (dt) WHERE nap.tipus='tanítási nap' AND orarendiHet=%u AND dt>='%s' AND dt<='%s' AND (WEEKDAY(dt)+1)=%u GROUP BY dt HAVING db>0 ORDER BY dt";
+		$v = array($ADAT['het'],$ADAT['tolDt'],$ADAT['igDt'],$ADAT['nap']);
+		$NAP = db_query($q, array('fv'=>'pluszOraFelvesz/ora','modul'=>'naplo','values'=>$v,'result'=>'indexed'), $lr);
+		for ($i=0; $i$_dt,
+                            'ora'=>$ADAT['ora'],
+                            'ki'=> $ADAT['tanarId'],
+                            'tipus'=>'normál',
+			    'tankorId'=>$ADAT['tankorId'],
+                            'eredet'=>'órarend',
+                            'leiras'=>'',
+                            'feladatTipusId'=>null,
+                            'munkaido'=>'lekötött'),
+        	    $lr); // az ütközést nem kezeljük külön. Ha van, akkor is tovább mehetünk
+		}
+	    }
+	} else {
+    	    if (is_array($_RESZLET) && count($_RESZLET)>0)
+		$_SESSION['alert'][] = 'info:utkozes:'.$db_utkozes.':'.$ADAT['het'].':'.$ADAT['nap'].':'.$ADAT['ora'].':'.implode(' *** ',$_RESZLET);
+	}
+	if ($olr=='') {
+	    if ($ok) db_commit($lr); else db_rollback($lr);
+	    db_close($lr);
+	} else {
+	    return $ok;
+	}
+    }
+
+    function orarendiOraLezar($ADAT) {
+
+	$lr = db_connect('naplo', array('fv' => 'orarendiOraLezar'));
+	db_start_trans($lr);
+
+	    // Az érintett órarendi bejegyzés lekérdezése
+	    $v = array($ADAT['het'], $ADAT['nap'], $ADAT['ora'], $ADAT['tanarId'], $ADAT['dt'], $ADAT['dt'], $ADAT['kulcsTolDt']);
+	    $q = "SELECT * FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND tolDt<='%s' AND '%s'<=igDt AND tolDt='%s'";
+	    $ret = db_query($q, array('fv'=>'orarendiOraLezar', 'modul' => 'naplo', 'result' => 'record', 'values' => $v, 'rollback' => true), $lr);
+	    if ($ret===false) { db_close($lr); return false; } 
+	    if (count($ret)>0 && $ret['teremId'] == '') $ret['teremId'] = 'NULL';	    
+
+	    // Az érintett bejegyzés törlése
+	    $q = "DELETE FROM orarendiOra WHERE het=%u AND nap=%u AND ora=%u AND tanarId=%u AND tolDt<='%s' AND '%s'<=igDt AND tolDt='%s'";
+	    $r = db_query($q, array('fv'=>'orarendiOraLezar', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr);
+	    if ($r===false) { db_close($lr); return false; }
+
+	    // A bejegyzés tolDt előtti részének visszarakása - ha van egyáltalán
+	    if (strtotime($ret['tolDt']) < strtotime($ADAT['tolDt'])) {
+		$igDt = date('Y-m-d', strtotime('-1 day', strtotime($ADAT['tolDt'])));
+		$q = "INSERT INTO orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES
+		(".$ret['het'].",".$ret['nap'].",".$ret['ora'].",".$ret['tanarId'].",
+		'".$ret['osztalyJel']."','".$ret['targyJel']."',".$ret['teremId'].",'".$ret['tolDt']."','".$igDt."')";
+		$r = db_query($q, array('fv'=>'orarendiOraLezar', 'modul' => 'naplo', 'rollback' => true), $lr);
+		if (!$r) { db_close($lr); return false; }
+	    }
+
+	    // A bejegyzés igDt utáni részének visszarakása - itt esetleg lehet ütközés!
+	    if (strtotime($ret['igDt']) > strtotime($ADAT['igDt'])) {
+		$tolDt = date('Y-m-d', strtotime('+1 day', strtotime($ADAT['igDt'])));
+		$q = "INSERT INTO orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES
+		(".$ret['het'].",".$ret['nap'].",".$ret['ora'].",".$ret['tanarId'].",
+		'".$ret['osztalyJel']."','".$ret['targyJel']."',".$ret['teremId'].",'".$tolDt."','".$ret['igDt']."')";
+		$r = db_query($q, array('fv'=>'orarendiOraLezar', 'modul' => 'naplo', 'rollback' => true), $lr);
+		if (!$r) { db_close($lr); return false; }
+	    }
+
+	db_commit($lr);
+	db_close($lr);
+	return true;
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/orarendTankor.php b/mayor-orig/www/include/modules/naplo/orarend/orarendTankor.php
new file mode 100644
index 00000000..212dbb07
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/orarendTankor.php
@@ -0,0 +1,33 @@
+ $_v) {
+            list($_tanarId,$_osztalyJel,$_targyJel) = explode('%',$_v);
+            $q = "DELETE FROM orarendiOraTankor WHERE tanarId=%u AND osztalyJel='%s' AND targyJel='%s'";
+	    $v = array($_tanarId, $_osztalyJel, $_targyJel);
+            db_query($q, array('fv' => 'orarendiOraTankorAssoc', 'modul' => 'naplo', 'values' => $v), $lr);
+        }
+
+        for ($i = 0; $i < count($_POST['ORARENDKEY']); $i++) {
+            if ($_POST['ORARENDKEY'][$i]!='') {
+                list($_tanarId,$_osztalyJel,$_targyJel,$_tankorId) = explode('%',$_POST['ORARENDKEY'][$i]);
+                if (!is_null($_tanarId)) {
+                    // bugfix 152->153. Muszáj kitörölni, mert előtte már lehet hogy egy másik tankörhöz rögzítettük ugyanazt a kulcsot... ????
+                    // ez így persze egy sor felesleges query.
+                    $q = "DELETE FROM orarendiOraTankor WHERE tanarId=%u AND osztalyJel='%s' AND targyJel='%s'";
+		    $v = array($_tanarId, $_osztalyJel, $_targyJel);
+                    $db = db_query($q, array('fv' => 'orarendTankor', 'modul' => 'naplo', 'result' => 'affected rows', 'values' => $v), $lr);
+                    $q = "REPLACE INTO orarendiOraTankor (tanarId,osztalyJel,targyJel,tankorId) VALUES (%u, '%s', '%s', %u)";
+		    $v = array($_tanarId, $_osztalyJel, $_targyJel, $_tankorId);
+                    db_query($q, array('fv' => 'orarendTankor', 'modul' => 'naplo', 'values' => $v), $lr);
+                }
+            }
+        }
+        db_close($lr);
+
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/orarendTeremModositas.php b/mayor-orig/www/include/modules/naplo/orarend/orarendTeremModositas.php
new file mode 100644
index 00000000..cc1b5ea6
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/orarendTeremModositas.php
@@ -0,0 +1,28 @@
+ 'teremModositas/foglalt terem felszabadítása', 'modul' => 'naplo', 'values' => $v));
+	}
+	// teremhozzárendelés módosítása
+	$q = "UPDATE `%s`.orarendiOra SET teremId=%u WHERE tolDt <= '%s' AND '%s' <= igDt AND het=%u AND nap=%u AND ora=%u AND tanarId=%u";
+	$v = array($tanevDb, $ADAT['teremId'], $dt, $dt, $ADAT['het'], $ADAT['nap'], $ADAT['ora'], $ADAT['tanarId']);
+	db_query($q, array('fv' => 'teremModositas/foglalt terem felszabadítása', 'modul' => 'naplo', 'values' => $v));
+
+	return $return;
+	
+    }
+
+?>
diff --git a/mayor-orig/www/include/modules/naplo/orarend/tanarOrarend.php b/mayor-orig/www/include/modules/naplo/orarend/tanarOrarend.php
new file mode 100644
index 00000000..b008e880
--- /dev/null
+++ b/mayor-orig/www/include/modules/naplo/orarend/tanarOrarend.php
@@ -0,0 +1,222 @@
+='%s' AND het=%u ORDER BY nap,ora";
+	$v = array($felev, $dt, $dt, $orarendiHet);
+	$A = db_query($q, array('fv' => 'getTanarOrarend', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tanarId', 'values' => $v ));
+
+	if (is_array($A)) foreach ($A as $tanarId => $tOrak) {
+	    for ($i = 0; $i < count($tOrak); $i++) {
+		$nap = $tOrak[$i]['nap'];
+		$ora = $tOrak[$i]['ora'];
+		$ret[$tanarId][$nap][$ora] = $tOrak[$i];
+	    }
+	}
+	return $ret;
+
+    }
+
+    // Ezzel a fügvénnyel jó Excelben, de nem jó OpenOffice-ban
+    function OrarendFileGeneralasXLS($Tanarok, $Orak) {
+
+	$fp = fopen(_TANARORARENDFILE.'.xls', 'w');
+	if (!$fp) {
+	    $_SESSION['alert'][] = 'message:wrong_data:OrarendFileGeneralas:file:'._TANARORARENDFILE;
+	    return false;
+	}
+
+	$napiMinOra = getMinOra();
+	$napiMaxOra = getMaxOra();
+
+	fputs($fp, ''."\r\n");
+	fputs($fp, ''."\r\n");
+	fputs($fp, ''."\r\n");
+	fputs($fp, ''."\r\n");
+
+        for ($i = 0; $i < count($Tanarok); $i++) {
+
+            $tanarId = $Tanarok[$i]['tanarId'];
+            $tanarNev = $Tanarok[$i]['tanarNev'];
+
+            $sor = "  \r\n    $tanarNev\r\n";
+            for ($nap = 1; $nap < 6; $nap++) {
+                for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) {
+                    $Ora = $Orak[$tanarId][$nap][$ora];
+                    $sor .= '    '.$Ora['osztalyJel']." ".$Ora['targyJel'].''."\r\n";
+                }
+            }
+            $sor .= "    $tanarNev\r\n  \r\n";
+
+	    fputs($fp, $sor);
+        }
+
+	fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + + fclose($fp); + return true; + + } + + + // Ha ezt rakom be, akkor OpenOffice-szal jó, Excellel csak akkor, ha előbb lementem + function OrarendFileGeneralasCSV($Tanarok, $Orak) { + + $fp = fopen(_TANARORARENDFILE.'.csv', 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:wrong_data:OrarendFileGeneralas:file:'._TANARORARENDFILE; + return false; + } + $napiMaxOra = getMaxOra(); + $napiMinOra = getMinOra(); + + $sor = "Tanár"; + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $sor .= ";$nap./$ora."; + } + } + $sor .= ";Tanár\n"; + fputs($fp, $sor); + + for ($i = 0; $i < count($Tanarok); $i++) { + + $tanarId = $Tanarok[$i]['tanarId']; + $tanarNev = $Tanarok[$i]['tanarNev']; + + $sor = "$tanarNev;"; + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $Ora = $Orak[$tanarId][$nap][$ora]; + $sor .= $Ora['tankorNev']." ".$Ora['tankorId'].';'; +// $sor .= $Ora['osztalyJel']." ".$Ora['targyJel'].';'; + } + } + $sor .= "$tanarNev\n"; + + fputs($fp, $sor); + } + + fclose($fp); + return true; + + } + + // Ha ezt rakom be, akkor OpenOffice-szal jó, Excellel csak akkor, ha előbb lementem + function OrarendFileGeneralasTXT($Tanarok, $Orak) { + + $fp = fopen(_TANARORARENDFILE.'.txt', 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:wrong_data:OrarendFileGeneralas:file:'._TANARORARENDFILE; + return false; + } + $napiMaxOra = getMaxOra(); + $napiMinOra = getMinOra(); + + $sor = "Tanár"; + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $sor .= " $nap./$ora."; + } + } + $sor .= " Tanár\n"; + fputs($fp, $sor); + + for ($i = 0; $i < count($Tanarok); $i++) { + + $tanarId = $Tanarok[$i]['tanarId']; + $tanarNev = $Tanarok[$i]['tanarNev']; + + $sor = "$tanarNev "; + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $Ora = $Orak[$tanarId][$nap][$ora]; + $sor .= $Ora['tankorNev']." ".$Ora['tankorId'].' '; +// $sor .= $Ora['osztalyJel']." ".$Ora['targyJel'].' '; + } + } + $sor .= "$tanarNev\n"; + + fputs($fp, $sor); + } + + fclose($fp); + return true; + + } + + + function OrarendFileGeneralasHTML($Tanarok, $Orak) { + + $fp = fopen(_TANARORARENDFILE.'.html', 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:wrong_data:OrarendFileGeneralas:file:'._TANARORARENDFILE; + return false; + } + $napiMaxOra = getMaxOra(); + $napiMinOra = getMinOra(); + + fputs($fp, ' + + + + + + Tanár órarend + + + +'); + + fputs($fp,''."\n"); + + $sor = ""; + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $sor .= ""; + } + } + $sor .= "\n"; + fputs($fp, $sor); + + for ($i = 0; $i < count($Tanarok); $i++) { + + fputs($fp, ''."\n"); + + $tanarId = $Tanarok[$i]['tanarId']; + $tanarNev = $Tanarok[$i]['tanarNev']; + fputs($fp, ''."\n"); + for ($nap = 1; $nap < 6; $nap++) { + for ($ora = $napiMinOra; $ora <= $napiMaxOra; $ora++) { + $Ora = $Orak[$tanarId][$nap][$ora]; + $sor = ''."\n"; + fputs($fp, $sor); + } + } + fputs($fp, ''."\n"); + fputs($fp, ''."\n"); + } + fputs($fp, '
Tanár$nap./$ora.Tanár
'.$tanarNev.''.$Ora['tankorNev']." ".$Ora['tankorId'].' - '.$Ora['teremId'].''.$tanarNev.'
'."\n"); + + fclose($fp); + return true; + + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/bizonyitvany.php b/mayor-orig/www/include/modules/naplo/osztalyozo/bizonyitvany.php new file mode 100644 index 00000000..1df529a4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/bizonyitvany.php @@ -0,0 +1,134 @@ + 'getDiakBizonyitvany', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($diakId))); + $ret = array('tanevek' => array(), 'szemeszterek' => array(), 'tanevSzemeszterei' => array(), 'jegyek' => array()); + if (is_array($ret)) foreach ($r as $i => $jegy) { + $ret['jegyek'][$jegy['targyId']][$jegy['tanev']][$jegy['szemeszter']][] = $jegy; + $ret['jegyekEvfolyamonkent'][$jegy['evfolyam']][$jegy['szemeszter']][] = $jegy; + if (!in_array($jegy['tanev'], $ret['tanevek'])) { + $ret['tanevek'][] = $jegy['tanev']; + $ret['tanevSzemeszterei'][$jegy['tanev']] = array(); + } + if (!in_array($jegy['szemeszter'], $ret['tanevSzemeszterei'][$jegy['tanev']])) { + $ret['szemeszterek'][] = array('tanev' => $jegy['tanev'], 'szemeszter' => $jegy['szemeszter']); + $ret['tanevSzemeszterei'][$jegy['tanev']][] = $jegy['szemeszter']; + } + } + } else { + // Adott szemeszter tárgyainak + $ret['targyak'] = getTargyakByDiakIds(array($diakId), $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev, array('result' => 'assoc', 'keyfield' => 'targyId')); + // Adott szemeszter zárójegyeinek lekérdezése + if (isset($sorrendNev) && $sorrendNev != '') { + $q = "SELECT *,zaroJegy.targyId FROM zaroJegy + LEFT JOIN targy USING (targyId) + LEFT JOIN ".__TANEVDBNEV.".targySorszam + ON zaroJegy.targyId = targySorszam.targyId AND osztalyId=%u AND sorrendNev='%s' + LEFT JOIN szemeszter ON kezdesDt=(SELECT MAX(kezdesDt) FROM szemeszter WHERE kezdesDt<=hivatalosDt) + WHERE diakId=%u AND tanev=%u AND szemeszter=%u ORDER BY sorszam,targyNev"; + $v = array($osztalyId, $sorrendNev, $diakId, $tanev, $szemeszter); + } else { + $q = "SELECT *,zaroJegy.targyId FROM zaroJegy LEFT JOIN targy USING (targyId) + WHERE diakId=%u AND tanev=%u AND szemeszter=%u ORDER BY targyNev"; + $v = array($diakId, $tanev, $szemeszter); + } + $r = db_query($q, array( + 'fv' => 'getDiakBizonyitvany', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v + )); + + if (is_array($r)) foreach ($r as $i => $jegy) { + $ret['jegyek'][$jegy['targyId']][] = $jegy; +// $ret['jegyekEvfolyamonkent'][$jegy['evfolyam']][$jegy['szemeszter']][] = $jegy; + } + + $utolsoTanitasiNap = getOsztalyUtolsoTanitasiNap($osztalyId); + // éves óraszámok lekérdezése - tárgyanként + $q = "SELECT targyId,oraszam FROM tankorDiak LEFT JOIN tankorSzemeszter USING (tankorId) LEFT JOIN tankor USING (tankorId) + WHERE diakId=%u AND tanev=%u AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)"; + //$v = array($diakId, $tanev, $ADAT['szemeszterAdat']['zarasDt'], $ADAT['szemeszterAdat']['zarasDt']); + $v = array($diakId, $tanev, $utolsoTanitasiNap, $utolsoTanitasiNap); + $jres = db_query($q, array( + 'fv' => 'getDiakBizonyitvany/óraszám', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'targyId', 'values' => $v + )); + + $szDb = $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']; // Feltételezzük, hogy a szemeszterek számozása 1-től indul és folyamatos + foreach ($jres as $targyId => $tAdat) { + $oraszam = 0; + for ($i = 0; $i < count($tAdat); $i++) { + $oraszam += $tAdat[$i]['oraszam']; + } + $ret['targyOraszam'][$targyId]['hetiOraszam'] = $oraszam / $szDb; + /* + A TANITASI_HETEK_SZAMA a diák (egyik) osztályához rendelt munkaterv alapján van meghatározva - így + csak az aktuális tanévben (__TANEV) van értelme. Ha több osztálya is van a tanulónak, akkor problémás... + */ + if (defined('TANITASI_HETEK_SZAMA')) $ret['targyOraszam'][$targyId]['evesOraszam'] = $oraszam / $szDb * TANITASI_HETEK_SZAMA; + } + } + return $ret; + } + + function getHianyzasOsszesitesByDiakId($diakId, $szemeszterAdat = '') { // DEPRECATED. a függvény helyett a share/hianyzas.php getDiakHianyzasOsszesites() - t használd! + + $ret = array(); + if (is_array($szemeszterAdat)) { + // Egy szemeszter hiányzási adatainak lekérdezése + if ($szemeszterAdat['statusz'] == 'aktív') { + // Folyó tanév - a tanév adatbázisból kérdezünk le + $Wnemszamit = defWnemszamit(); + $q = "SELECT tankorTipus.jelleg, + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg + FROM `%s`.hianyzas " . + $Wnemszamit['join'] . + "WHERE ( + tipus = 'hiányzás' OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL) + ) AND dt<='%s' AND diakId=%u". + $Wnemszamit['nemszamit'] + ." GROUP BY tankorTipus.jelleg" + ; + $v = array(tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']), $szemeszterAdat['zarasDt'], $diakId); + $ret = db_query($q, array('fv' => 'getDiakHianyzasOsszesitesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield'=>'jelleg', 'values' => $v)); + if (is_array($ret)) + foreach ($ret as $_key=>$_val) { + $ret['igazolt'] += intval($ret[$_key]['igazolt']); + $ret['igazolatlan'] += intval($ret[$_key]['igazolatlan']); + } + + $hozottHianyzas = getDiakHozottHianyzas($diakId, array('tanev'=> $szemeszterAdat['tanev'], 'igDt'=>$szemeszterAdat['zarasDt'] )); + $ret['igazolt'] += intval($hozottHianyzas['igazolt']['db']); + $ret['igazolatlan'] += intval($hozottHianyzas['igazolatlan']['db']); + + } else { + // lezárt tanév - az intézmény adatbázisból kérdezünk le +// Tudtommal az összesítésbe már csak a "beszámítandó" hiányzások kerülnek, így nem kell plusz feltétel... [bb - 2010-11-24] +// $q = "SELECT * FROM hianyzasOsszesites WHERE diakId=%u AND tanev=%u AND szemeszter=%u $Wnemszamit"; + $q = "SELECT * FROM hianyzasOsszesites WHERE diakId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($diakId, $szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); + $ret = db_query($q, array('fv' => 'getDiakHianyzasOsszesitesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + } + + } else { + // A diák összes hiányzási adata ?????????????? + // ??????????????????????????? // ??????????????????????????? + $q = "SELECT * FROM hianyzasOsszesites WHERE diakId=%u ORDER BY tanev,szemeszter"; + $r = db_query($q, array('fv' => 'getDiakHianyzasOsszesitesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($diakId))); + for ($i = 0; $i < count($r); $i++) $ret[$r[$i]['tanev']][$r[$i]['szemeszter']] = $r[$i]; + } + return $ret; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/diak.php b/mayor-orig/www/include/modules/naplo/osztalyozo/diak.php new file mode 100644 index 00000000..be285f8b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/diak.php @@ -0,0 +1,106 @@ +'1:1:1:1:1:1'), $olr = '') { + + global $_TANEV, $KOVETELMENY; + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + if (isset($SET['sulyozas']) && $SET['sulyozas']!='') { + $suly = explode(':',':'.$SET['sulyozas']); + } else { + if (defined('__DEFAULT_SULYOZAS')) $suly = explode(':',':'.__DEFAULT_SULYOZAS); + else $suly = array(1,1,1,1,1,1); + } + $q = "SELECT DISTINCT jegyId, tankorId, tankorNev, dt, jegy, jegyTipus, tipus, oraId, dolgozatId, megjegyzes, IF (modositasDt='0000-00-00 00:00:00',dt,modositasDt) AS modositasDt + FROM jegy LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE tipus <> 0 AND tanev=".__TANEV." AND diakId=%u + ORDER BY dt, jegyId"; + $v = array($diakId); + $jegyAdatok = db_query($q, array('fv' => 'getDiakJegyek', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'jegyId', 'values' => $v), $lr); + + $tankorIds = getTankorByDiakId($diakId, __TANEV, array('csakId' => true, 'tolDt' => '', 'igDt' => ''), $lr); + + if (is_array($jegyAdatok)) + foreach ($jegyAdatok as $jegyId => $jegyAdat) { + if (!in_array($jegyAdat['tankorId'], $tankorIds)) $tankorIds[] = $jegyAdat['tankorId']; + } + if (is_array($tankorIds) && count($tankorIds) > 0) { + $q = "SELECT tankorId, targyId, targyNev FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".targy USING (targyId) + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + ORDER BY targyNev"; + $tankorTargyak = db_query($q, array( + 'fv' => 'getDiakJegyek', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + ), $lr); + if (!is_array($tankorTargyak)) $tankorTargyak = array(); + } else { $tankorTargyak = array(); } + $targyJegyei = array(); + foreach ($tankorTargyak as $tankorId => $tAdat) { + $targyId = $tAdat['targyId']; $targyNev = $tAdat['targyNev']; + if (!is_array($targyJegyei[$targyId])) $targyJegyei[$targyId] = array('targyNev' => $targyNev); + } + foreach ($jegyAdatok as $jegyId => $jegyAdat) { + $tankorId = $jegyAdat['tankorId']; + $targyId = $tankorTargyak[$tankorId]['targyId']; + //$targyNev = $tankorTargyak[$tankorId]['targyNev']; + list($ev,$ho,$nap) = explode('-',$jegyAdat['dt']); + $targyJegyei[$targyId][$ev][$ho][] = $jegyId; + if ( + in_array($jegyAdat['jegyTipus'],array('jegy','féljegy')) + || $KOVETELMENY[ $jegyAdat['jegyTipus'] ]['átlagolható'] === true + ) { + $targyJegyei[$targyId]['osszeg'] += $jegyAdat['jegy']*$suly[$jegyAdat['tipus']]; + $targyJegyei[$targyId]['db'] += $suly[$jegyAdat['tipus']]; + } + } + foreach ($targyJegyei as $targyId => $targyAdat) + if ($targyJegyei[$targyId]['db'] != 0) + $targyJegyei[$targyId]['atlag'] = number_format($targyJegyei[$targyId]['osszeg'] / $targyJegyei[$targyId]['db'],2,',',''); + + // Bizonyítvány + // kikerült innen... + + // Dolgozatok lekérdezése + $dolgozatAdat = getTankorDolgozatok($tankorIds, ($csakTervezett = false)); + // Nem megírt dolgozatok lekérdezése + if (is_array($dolgozatAdat['dolgozatIds']) && count($dolgozatAdat['dolgozatIds']) > 0) { + $q = "SELECT dolgozat.dolgozatId, bejelentesDt, dolgozatNev FROM dolgozat LEFT JOIN jegy ON dolgozat.dolgozatId=jegy.dolgozatId AND diakId=%u + WHERE dolgozat.dolgozatId IN (".implode(',', array_fill(0, count($dolgozatAdat['dolgozatIds']), '%u')).") + AND diakId IS NULL ORDER BY bejelentesDt"; + $v = mayor_array_join(array($diakId), $dolgozatAdat['dolgozatIds']); + $nemMegirtDolgozat = db_query($q, array('fv' => 'getDiakJegyek/nem megírt dolgozat', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + } else { + $nemMegirtDolgozat = array(); + } + $targyHianyzoDolgozatai = array(); + for ($i = 0; $i < count($nemMegirtDolgozat); $i++) { + $dolgozatId = $nemMegirtDolgozat[$i]['dolgozatId']; + $tankorId = $dolgozatAdat[$dolgozatId]['tankor'][0]['tankorId']; + $targyId = $tankorTargyak[$tankorId]['targyId']; + //$targyNev = $tankorTargyak[$tankorId]['targyNev']; + list($ev,$ho,$nap) = explode('-',$nemMegirtDolgozat[$i]['bejelentesDt']); + $targyHianyzoDolgozatai[$targyId][$ev][$ho][] = $dolgozatId; + } + /* -------------- */ + + if ($olr == '') db_close($lr); + $ret = array( + 'jegyek' => $jegyAdatok, 'targyak' => $targyJegyei, + 'dolgozat' => $dolgozatAdat, 'hianyzoDolgozatok' => $targyHianyzoDolgozatai + ); + + return $ret; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/dolgozat.php b/mayor-orig/www/include/modules/naplo/osztalyozo/dolgozat.php new file mode 100644 index 00000000..f38bb1b1 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/dolgozat.php @@ -0,0 +1,123 @@ + 'getDolgozat')); + else $lr = $olr; + + $v = array($dolgozatId); + // A dolgozat alapadatai + $q = "SELECT * FROM dolgozat WHERE dolgozatId=%u"; + $Dolgozat = db_query($q, array('fv' => 'getDolgozat', 'modul' => 'naplo', 'values' => $v, 'result' => 'record'), $lr); + $Dolgozat['diakIds'] = array(); + + // A dolgozat jegyei + $q = "SELECT * FROM jegy WHERE dolgozatId=%u AND tipus != 0"; + $ret = db_query($q, array('fv' => 'getDolgozat', 'modul' => 'naplo', 'keyfield' => 'tankorId', 'result' => 'multiassoc', 'values' => $v), $lr); + $Dolgozat['ertekelt'] = (is_array($ret) && count($ret) > 0); + if (is_array($ret)) foreach ($ret as $tankorId => $tankorJegyek) { + for ($j = 0; $j < count($tankorJegyek); $j++) { + $diakId = $tankorJegyek[$j]['diakId']; + $tankorDiakJegyek[$tankorId][$diakId][] = $tankorJegyek[$j]; + } + } + + // A dolgozat tankörei + $q = "SELECT DISTINCT tankorId, targyId, tankorNev + FROM tankorDolgozat LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + WHERE tanev=".__TANEV." AND dolgozatId=%u"; + $Dolgozat['tankor'] = db_query($q, array('fv' => 'getDolgozat', 'modul' => 'naplo', 'values' => $v, 'result' => 'indexed'), $lr); + $Dolgozat['tankorIds'] = array(); + for ($d = 0; $d < count($Dolgozat['tankor']); $d++) $Dolgozat['tankorIds'][] = $Dolgozat['tankor'][$d]['tankorId']; + $Dolgozat['tanarIds'] = getTankorTanaraiByInterval($Dolgozat['tankorIds'], array('tanev' => __TANEV, 'result' => 'csakId')); + $Dolgozat['targyId'] = $Dolgozat['tankor'][0]['targyId']; + for ($i = 0; $i < count($Dolgozat['tankor']); $i++) { + $tankorId = $Dolgozat['tankor'][$i]['tankorId']; + $Dolgozat['tankor'][$i]['diakok'] = getTankorDiakjaiByInterval($tankorId, __TANEV); + foreach ($Dolgozat['tankor'][$i]['diakok']['idk'] as $index => $diakId) + if (!in_array($diakId, $Dolgozat['diakIds'])) $Dolgozat['diakIds'][] = $diakId; + $Dolgozat['tankor'][$i]['jegyek'] = $tankorDiakJegyek[$tankorId]; + } + //$diakTankorIds = getTankorIdsByDiakIds($Dolgozat['diakIds'],array('kovetelmeny'=>array('jegy'))); // miért csak jegy??? + $diakTankorIds = getTankorIdsByDiakIds($Dolgozat['diakIds']); + $Dolgozat['utkozoDolgozatok'] = getTankorDolgozatok($diakTankorIds, true, date('Y-m-d'), $_TANEV['zarasDt']); + if ($olr == '') db_close($lr); + + return $Dolgozat; + + } + + function dolgozatTankorHozzarendeles($dolgozatId, $torlendoTankorIds, $ujTankorIds) { + + + $lr = db_connect('naplo'); + if (count($torlendoTankorIds) > 0) { + // ellenőrizzük, hogy van-e jegy hozzá! + $q = "SELECT COUNT(jegyId) FROM jegy WHERE dolgozatId=%u + AND tankorId IN (".implode(',', array_fill(0, count($torlendoTankorIds), '%u')).")"; + $v = $torlendoTankorIds; array_unshift($v, $dolgozatId); + $num = db_query($q, array('fv' => 'dolgozatTankorHozzarendeles', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + if ($num > 0) { + $_SESSION['alert'][] = 'message:wrong_data:dolgozatTankorHozzarendeles:Tankör hozzárendelés megszüntetése előtt a jegyeket törölni kell!:jegyek száma '.$num; + db_close($lr); + return false; + } + $q = "DELETE FROM tankorDolgozat WHERE dolgozatId=%u + AND tankorId IN (".implode(',', array_fill(0, count($torlendoTankorIds), '%u')).")"; + db_query($q, array('fv' => 'dolgozatTankorHozzarendeles', 'modul' => 'naplo', 'values' => $v), $lr); + } + if (($count = count($ujTankorIds)) > 0) { + foreach ($ujTankorIds as $key => $tankorId) $Val[] = "(%".($key+1)."\$u, %".($count+1)."\$u)"; + array_push($ujTankorIds, $dolgozatId); + $q = "INSERT INTO tankorDolgozat (tankorId, dolgozatId) VALUES ".implode(',',$Val); + db_query($q, array('fv' => 'dolgozatTankorHozzarendeles', 'values' => $ujTankorIds, 'modul' => 'naplo'), $lr); + } + db_close($lr); + return true; + + } + + function dolgozatJegyekTorlese($dolgozatId, $tankorId) { + + // Törlendő jegyek lekérdezése - logolás céljából + $q = "SELECT diakId, jegy, dt FROM jegy WHERE dolgozatId=%u AND tankorId=%u"; + $ret = db_query($q, array('fv' => 'dolgozatJegyekTorlese', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($dolgozatId, $tankorId))); + if (!$ret) return false; + + for ($i = 0; $i < count($ret); $i++) { + if (__NAPLOADMIN || (strtotime(_OSZTALYOZO_HATARIDO) <= strtotime($ret[$i]['dt']))) { + logAction( + array( + 'szoveg'=>'Dolgozat jegy törlése: diakId: '.$ret[$i]['diakId'].', tankorId: '.$ret[$i]['tankorId'].', jegy: '.$ret[$i]['jegy'], + 'table'=>'jegy' + ) + ); + } else { + $_SESSION['alert'][] = 'message:deadline_expired:'.$ret[$i]['dt']; + } + } + $q = "DELETE FROM jegy WHERE dolgozatId=%u AND tankorId=%u"; + return db_query($q, array('fv' => 'dolgozatJegyekTorlese', 'modul' => 'naplo', 'values' => array($dolgozatId, $tankorId))); + } + + function dolgozatTorles($dolgozatId) { + + $q = "DELETE FROM dolgozat WHERE dolgozatId=%u"; + return db_query($q, array('fv' => 'dolgozatTorles', 'modul' => 'naplo', 'values' => array($dolgozatId))); + + } + + function dolgozatModositas($dolgozatId, $dolgozatNev, $tervezettDt) { + + $q = "UPDATE dolgozat SET dolgozatNev='%s', tervezettDt='%s', modositasDt=now() WHERE dolgozatId=%u"; + return db_query($q, array('fv' => 'dolgozatModositas', 'modul' => 'naplo', 'values' => array($dolgozatNev, $tervezettDt, $dolgozatId))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/stat.php b/mayor-orig/www/include/modules/naplo/osztalyozo/stat.php new file mode 100644 index 00000000..c6be21fb --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/stat.php @@ -0,0 +1,249 @@ + SHARED! (bizonyítvány nyomtatás/értesítő) + * getDiakZarojegyAtlagok($diakIds, $tanev, $szemeszter) + * getTargyZarojegyAtlagok($diakIds, $tanev, $szemeszter) + * getTanarokByDiakIds($diakIds, $szemeszterAdat) --> SHARED! + * getTargyakBySzemeszter($szemeszterAdat) --> SHARED! + * getTargyAtlagokBySzemeszter($szemeszterAdat) + * getOsztalyHianyzasOsszesites($szemeszterAdat) + * getZarojegyStatBySzemeszter($SZA) + +*/ + + function getDiakZarojegyAtlagok($diakIds, $tanev, $szemeszter) { + + if (count($diakIds)<1) return false; + $mIdk = getMagatartas(); + $szIdk = getSzorgalom(); + $q = "SELECT diakId,FLOOR(100*AVG(jegy))/100 AS atlag FROM zaroJegy LEFT JOIN targy USING (targyId) + LEFT JOIN szemeszter ON kezdesDt<=hivatalosDt AND hivatalosDt<=zarasDt + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tanev=%u AND szemeszter=%u + AND jegy != 0 AND zaroJegy.jegyTipus ='jegy' AND targy.targyId NOT IN (".implode(',',array_merge($mIdk,$szIdk)).") + AND felev = %u + GROUP BY diakId WITH ROLLUP"; + array_push($diakIds, $tanev, $szemeszter, $szemeszter); + $r = db_query($q, array('fv' => 'getDiakZarojegyAtlagok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $diakIds)); + $ret = array(); + $sum = $db = 0; + for ($i = 0; $i < count($r); $i++) { + if ($r[$i]['diakId'] == '') { + $r[$i]['diakId'] = 'osztaly'; + $ret['osztaly'] = floor(100*$r[$i]['atlag'])/100; + } else { + //$ret[ $r[$i]['diakId'] ] = floor(100*$r[$i]['atlag'])/100; - elvileg nem lenne baj, de php hiba: pl. 4.64, 4.14, 4.35 hibásan "kerekedik"... + $ret[ $r[$i]['diakId'] ] = $r[$i]['atlag']; // a lekérdezésben már csonkoltunk... + $sum += $ret[ $r[$i]['diakId'] ]; + $db++; + } + } + $ret['osztaly'] = ($db==0) ? 0 : floor(100*$sum/$db)/100; // felülírjuk, mert a jegyek átlaga a tárgy átlagoknál már megvan + return $ret; + } + + function getTargyZarojegyAtlagok($diakIds, $tanev, $szemeszter) { + /* + * Az adott szemeszterben szerzett zárójegyek átlaga, de csak szemeszter=felev megfeleltetéssel + */ + if (count($diakIds)<1) return false; + + $q = "SELECT targyId, floor(100*avg(jegy))/100 AS atlag FROM zaroJegy + LEFT JOIN szemeszter ON kezdesDt<=hivatalosDt AND hivatalosDt<=zarasDt AND felev=szemeszter + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tanev=%u AND szemeszter=%u + AND jegy != 0 AND jegyTipus='jegy' GROUP BY targyId WITH ROLLUP"; + array_push($diakIds, $tanev, $szemeszter); + $r = db_query($q, array('fv' => 'getTargyZarojegyAtlagok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $diakIds)); + $ret = array(); + for ($i = 0; $i < count($r); $i++) { + if ($r[$i]['targyId'] == '') $r[$i]['targyId'] = 'osztaly'; + //$ret[ $r[$i]['targyId'] ] = floor(100*$r[$i]['atlag'])/100; // sql-ben megbízhatóbb a csonkolás működése - sajnos... + $ret[ $r[$i]['targyId'] ] = $r[$i]['atlag']; + } + return $ret; + } + + function getTanarokByDiakIds($diakIds, $szemeszterAdat) { + //??? 2009. shared lib ? + + if (count($diakIds)<1) return false; + + // A tárgyak lekérdezése a szemeszterben felvett tankörök alapján (miből lehet zárójegyet kapni) + $q = "SELECT DISTINCT targyId, TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladinev,viseltUtonev)) AS tanarNev + FROM tankor LEFT JOIN tankorDiak USING (tankorId) LEFT JOIN tankorTanar USING (tankorId) LEFT JOIN tanar USING (tanarId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") + AND (tankorDiak.kiDt IS NULL OR tankorDiak.kiDt>='%s') AND tankorDiak.beDt<='%s' + AND (tankorTanar.kiDt IS NULL OR tankorTanar.kiDt>='%s') AND tankorTanar.beDt<='%s'"; + array_push($diakIds, $szemeszterAdat['kezdesDt'], $szemeszterAdat['zarasDt'], $szemeszterAdat['kezdesDt'], $szemeszterAdat['zarasDt']); + return db_query($q, array('debug'=>false,'fv' => 'getTanarokByDiakIds', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'targyId', 'values' => $diakIds)); + + } + + function getTargyakBySzemeszter($szemeszterAdat) { + //??? 2009. shared lib ? + + // A tárgyak lekérdezése a beírt jegyek alapján (lehet hozott jegy) + $q = "SELECT DISTINCT targyId,targyNev + FROM targy LEFT JOIN zaroJegy USING (targyId) + LEFT JOIN szemeszter ON kezdesDt<=hivatalosDt AND hivatalosDt<=zarasDt + WHERE tanev=%u AND szemeszter=%u ORDER BY targyNev"; + $v = array($szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); + return db_query($q, array('fv' => 'getTargyakBySzemeszter', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + } + + + function getTargyAtlagokBySzemeszter($szemeszterAdat) { + $q = "SELECT targyId,osztalyId,FLOOR(100*AVG(jegy))/100 AS atlag FROM zaroJegy LEFT JOIN osztalyDiak + ON (zaroJegy.diakId=osztalyDiak.diakId AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)) + LEFT JOIN szemeszter ON kezdesDt<=hivatalosDt AND hivatalosDt<=zarasDt + AND felev=szemeszter + WHERE tanev=%u AND szemeszter=%u AND jegy != 0 + AND jegyTipus in ('jegy','magatartas','szorgalom') + GROUP BY targyId,osztalyId WITH ROLLUP"; + $v = array($szemeszterAdat['zarasDt'], $szemeszterAdat['zarasDt'], $szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); + $r = db_query($q, array('fv' => 'getTargyAtlagokBySzemeszter', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + $ret = array(); + for ($i = 0; $i < count($r); $i++) + if ($r[$i]['targyId'] != '') { + if ($r[$i]['osztalyId'] == '') $r[$i]['osztalyId'] = 'iskola'; // tárgyanként az összes jegy átlagát írjuk ki + $ret[ $r[$i]['targyId'] ][ $r[$i]['osztalyId'] ] = $r[$i]['atlag']; + } else { + $ret['iskola'] = $r[$i]['atlag']; // nem használjuk - ez az összes jegyek átlaga + } + return $ret; + + } + + function getOsztalyHianyzasOsszesites($szemeszterAdat, $SET = array('telephelyId'=>null)) { + $ret = array(); + if (is_array($szemeszterAdat)) { + // Egy szemeszter hiányzási adatainak lekérdezése + if ($szemeszterAdat['statusz'] == 'aktív') { + // Mindenféle típus kell? + $Wnemszamit = defWnemszamit(); + // Folyó tanév - a tanév adatbázisból kérdezünk le +/* $q = "SELECT osztalyId, + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg + FROM `%s`.hianyzas + ".$Wnemszamit['join']." + LEFT JOIN osztalyDiak ON (hianyzas.diakId=osztalyDiak.diakId AND beDt<='%s' + AND (kiDt IS NULL OR '%s'<=kiDt)) + WHERE (tipus = 'hiányzás' OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL)) + AND dt<='%s' + ".$Wnemszamit['nemszamit']." + GROUP BY osztalyId WITH ROLLUP"; +*/ + $tanevDbNev = tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']); + + $q = "SELECT osztalyId, SUM(igazolt) AS igazolt, SUM(igazolatlan) AS igazolatlan, SUM(kesesPercOsszeg) AS kesesPercOsszeg, + SUM(igazolatlanKesesbol) AS igazolatlanKesesbol, SUM(osszesIgazolatlan) AS osszesIgazolatlan FROM + (SELECT osztalyId,hianyzas.diakId, + (COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) + IFNULL((SELECT SUM(dbHianyzas) FROM `".$tanevDbNev."`.hianyzasHozott WHERE hianyzasHozott.diakId=hianyzas.diakId AND statusz='igazolt'),0)) AS igazolt, + (COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) + IFNULL((SELECT SUM(dbHianyzas) FROM `".$tanevDbNev."`.hianyzasHozott WHERE hianyzasHozott.diakId=hianyzas.diakId AND statusz='igazolatlan'),0)) AS igazolatlan, + IFNULL(SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)),0) AS kesesPercOsszeg, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) DIV 45 as igazolatlanKesesbol, + ( + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL))+IFNULL((SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) DIV 45),0) + + IFNULL((SELECT SUM(dbHianyzas) FROM `".$tanevDbNev."`.hianyzasHozott WHERE hianyzasHozott.diakId=hianyzas.diakId AND statusz='igazolatlan'),0) + ) + AS osszesIgazolatlan + FROM `".$tanevDbNev."`.hianyzas + LEFT JOIN tankorTipus USING (tankorTipusId) + LEFT JOIN osztalyDiak ON (hianyzas.diakId=osztalyDiak.diakId AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)) + WHERE (tipus = 'hiányzás' OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL)) AND dt<='%s' AND hianyzasBeleszamit='igen' + GROUP BY osztalyId,hianyzas.diakId + ) AS diakHianyzas GROUP BY osztalyId WITH ROLLUP"; +// $v = array(tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']), $szemeszterAdat['zarasDt'], $szemeszterAdat['kezdesDt'], $szemeszterAdat['zarasDt']); +// Csak az záráskori tagokat vegyük figyelembe + $v = array($szemeszterAdat['zarasDt'], $szemeszterAdat['zarasDt'], $szemeszterAdat['zarasDt']); + } else { + // lezárt tanév - az intézmény adatbázisból kérdezünk le - nincs $Wnemszamit !!! + $q = "SELECT osztalyId, SUM(igazolt) AS igazolt, SUM(igazolatlan) AS igazolatlan, SUM(kesesPercOsszeg) AS kesesPercOsszeg, + SUM(kesesPercOsszeg DIV 45) AS igazolatlanKesebol, SUM(igazolatlan + (kesesPercOsszeg DIV 45)) AS osszesIgazolatlan + FROM hianyzasOsszesites + LEFT JOIN osztalyDiak ON (hianyzasOsszesites.diakId=osztalyDiak.diakId AND beDt<='%s' + AND (kiDt IS NULL OR '%s'<=kiDt)) + WHERE tanev=%u AND szemeszter=%u + GROUP BY osztalyId WITH ROLLUP"; +// $v = array($szemeszterAdat['zarasDt'], $szemeszterAdat['kezdesDt'], $szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); +// Csak az záráskori tagokat vegyük figyelembe + $v = array($szemeszterAdat['zarasDt'], $szemeszterAdat['zarasDt'], $szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); + } + $ret = db_query($q, array('fv' => 'getOsztalyHianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'osztalyId', 'values' => $v)); + } + return $ret; + } + + function getZarojegyStatBySzemeszter($SZA, $SET = array('telephelyId'=>null)) { + + // Le kell kérdezni minden zárójegyet osztályonként + $tanev = $SZA['tanev']; + $telephelyId = readVariable($SET['telephelyId'],'id'); + + $OSZTALYOK = getOsztalyok($tanev,array('result'=>'indexed','telephelyId'=>$telephelyId)); + for ($i=0; $i 'multiassoc', 'tanev' => $tanev, 'tolDt' => $SZA['zarasDt'], 'igDt' => $SZA['zarasDt'], + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva')) + ); + $ret['intezmeny'] = array('kituno' => 0, 'jeles' => 0, 'bukott' => 0, 'bukas' => 0, 'atlag' => 0, 'osztalyDb' => 0); + foreach($DIAKIDS as $osztalyId => $DIAKOK) { + $diakIds = array(); + $dbDiaknakVanJegye = 0; + for ($i=0; $iarray('diakId'))); + $O = array('letszam' => count($diakIds), 'kituno' => 0, 'jeles' => 0, 'bukott' => 0, 'bukas' => 0, 'atlag' => 0); + foreach ($D as $diakId => $dJegyek) { + $lehetJeles = true; $bukas = 0; $sum = 0; $db = 0; + for ($i = 0; $i < count($dJegyek); $i++) { + if (in_array($dJegyek[$i]['jegyTipus'], array('jegy','magatartás','szorgalom'))) { // A statisztika csak a jegy típusra értelmes! + if ($dJegyek[$i]['jegyTipus'] == 'jegy') { + $sum += $dJegyek[$i]['jegy']; + $db++; + if ($dJegyek[$i]['jegy'] < _JELES_LEGGYENGEBB_JEGY) $lehetJeles = false; + } + if ($dJegyek[$i]['jegy'] == 1) { + $bukas++; + $ret['intezmeny']['targy'][ $dJegyek[$i]['targyId'] ]++; + } + } + } + if ($db != 0) { // volt legalább 1 jegy típusú jegye + $dbDiaknakVanJegye++; + $atlag = @floor(100 * $sum / $db) / 100; + $O['atlag'] += $atlag; + if ($atlag >= _KITUNO_ATLAG) $O['kituno']++; + elseif ($atlag >= _JELES_ATLAG && $lehetJeles) $O['jeles']++; + if ($bukas > 0) { + $O['bukas'] += $bukas; + $O['bukott']++; + } + } + } + //if (count($diakIds) > 0) $O['atlag'] = $O['atlag'] / count($diakIds); + if($dbDiaknakVanJegye>0) $O['atlag'] = floor(100 * $O['atlag'] / $dbDiaknakVanJegye) / 100; + $ret[$osztalyId] = $O; + $ret['intezmeny']['kituno'] += $O['kituno']; + $ret['intezmeny']['jeles'] += $O['jeles']; + $ret['intezmeny']['bukott'] += $O['bukott']; + $ret['intezmeny']['bukas'] += $O['bukas']; + $ret['intezmeny']['atlag'] += $O['atlag']; + if ($O['atlag'] > 0) $ret['intezmeny']['osztalyDb']++; + } + if ($ret['intezmeny']['osztalyDb'] > 0) $ret['intezmeny']['atlag'] = $ret['intezmeny']['atlag'] / $ret['intezmeny']['osztalyDb']; + return $ret; + + } + + function getDiakKonferenciaZaradekok($diakIds, $utolsoTanitasiNap) { + + return getZaradekokByDiakIds($diakIds, array('tipus' => 'konferencia, konferencia bukás', 'tolDt' => $utolsoTanitasiNap, 'igDt' => $utolsoTanitasiNap)); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/szempontRendszer.php b/mayor-orig/www/include/modules/naplo/osztalyozo/szempontRendszer.php new file mode 100644 index 00000000..e2b750f9 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/szempontRendszer.php @@ -0,0 +1,56 @@ + 'ujSzempontRendszer', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + if (!$szrId) return false; + + // A szempontok és minősítések rögzítése + $Szempont = $aktSz = array(); + for ($i = 0; $i < count($ADAT['txt']); $i++) { + $txt = trim($ADAT['txt'][$i]); + if ($txt != '') { + if (!isset($aktSz['szempont'])) { + $aktSz['szempont'] = $txt; + $q = "INSERT INTO szrSzempont (szrId, szempont) VALUES (%u, '%s')"; + $v = array($szrId, $txt); + $szempontId = db_query($q, array('fv' => 'ujSzempontRendszer/szempont', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + } else { + $aktSz['minosites'][] = $txt; + $q = "INSERT INTO szrMinosites (szempontId, minosites) VALUES (%u,'%s')"; + $v = array($szempontId, $txt); + db_query($q, array('fv' => 'ujSzempontRendszer/minősítés', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + } else { + if (isset($aktSz['szempont'])) { + $Szempont[] = $aktSz; + $aktSz = array(); + } + } + } + + return true; + + } + + function szempontRendszerTorles($ADAT) { + + // cascade-olás miatt törli a hozzá tartozó értékeléseket is! + $q = "DELETE FROM szempontRendszer WHERE szrId=%u"; + return db_query($q, array('fv' => 'szempontRendszerTorles', 'modul' => 'naplo_intezmeny', 'values' => array($ADAT['szrId']))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/szovegesErtekeles.php b/mayor-orig/www/include/modules/naplo/osztalyozo/szovegesErtekeles.php new file mode 100644 index 00000000..803056a7 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/szovegesErtekeles.php @@ -0,0 +1,67 @@ + 'ujErtekeles', 'modul' => 'naplo', 'values' => $v)); + + // Szoveges értékelés felvétele + $q = "INSERT INTO szovegesErtekeles (diakId, szrId, targyId, dt) VALUES (%u, %u, %u, '%s')"; + $v = array($diakId, $szrId, $targyId, $dt); + $szeId = db_query($q, array('fv' => 'ujErtekeles', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v)); + if (!$szeId) return false; + + // Minősítések felvétele + if (count($minosites) > 0) { + $q = "INSERT INTO szeMinosites (szeId,minositesId) VALUES ($szeId,".implode("),($szeId,", array_fill(0, count($minosites), '%u')).")"; + db_query($q, array('fv' => 'ujErtekeles', 'modul' => 'naplo', 'values' => $minosites)); + } + // Egyedi minősítések felvétele + if (count($egyediMinosites) > 0) { + $v = $V = array(); + foreach ($egyediMinosites as $szempontId => $egyediMinosites) { + $V[] = "(%u, %u, '%s')"; + array_push($v, $szeId, $szempontId, $egyediMinosites); + } + $q = "INSERT INTO szeEgyediMinosites (szeId,szempontId,egyediMinosites) VALUES ".implode(',', $V); + db_query($q, array('fv' => 'ujErtekeles', 'modul' => 'naplo', 'values' => $v)); + } + + return true; + } + + function ujZaroErtekeles($diakId, $szrId, $targyId, $tanev, $szemeszter, $minosites, $egyediMinosites) { + + // A korábbi értékelés törlése + $q = "DELETE FROM szovegesErtekeles WHERE diakId=%u AND szrId=%u AND targyId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($diakId, $szrId, $targyId, $tanev, $szemeszter); + db_query($q, array('fv' => 'ujZaroErtekeles', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + // Szoveges értékelés felvétele + $q = "INSERT INTO szovegesErtekeles (diakId, szrId, targyId, dt, tanev, szemeszter) VALUES (%u, %u, %u, CURDATE(), %u, %u)"; + $v = array($diakId, $szrId, $targyId, $tanev, $szemeszter); + $szeId = db_query($q, array('fv' => 'ujZaroErtekeles', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + if (!$szeId) return false; + + // Minősítések felvétele + if (count($minosites) > 0) { + $q = "INSERT INTO szeMinosites (szeId,minositesId) VALUES ($szeId,".implode("),($szeId,", array_fill(0, count($minosites), '%u')).")"; + db_query($q, array('fv' => 'ujZaroErtekeles', 'modul' => 'naplo_intezmeny', 'values' => $minosites)); + } + // Egyedi minősítések felvétele + if (count($egyediMinosites) > 0) { + $v = $V = array(); + foreach ($egyediMinosites as $szempontId => $egyediMinosites) { + $V[] = "(%u, %u, '%s')"; + array_push($v, $szeId, $szempontId, $egyediMinosites); + } + $q = "INSERT INTO szeEgyediMinosites (szeId,szempontId,egyediMinosites) VALUES ".implode(',', $V); + db_query($q, array('fv' => 'ujZaroErtekeles', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + return true; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/tankor.php b/mayor-orig/www/include/modules/naplo/osztalyozo/tankor.php new file mode 100644 index 00000000..8cc06915 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/tankor.php @@ -0,0 +1,205 @@ + array('lista' => array()), 'tankörök' => array(), 'tanárok' => array('tanarIds' => array())); + // A tankör adatainak lekérdezése + list($tankorAdat) = getTankorById($tankorId, __TANEV); + // Ha nincsenek diákok + if (!is_array($Diakok['idk']) || count($Diakok['idk']) == 0) { + $Tanarok = $Jegyek['tankörök'][$tankorId]['tanárok'] = getTankorTanaraiByInterval($tankorId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'nevsor')); + for ($t = 0; $t < count($Tanarok); $t++) { + if (!in_array($Tanarok[$t]['tanarId'], $Jegyek['tanárok']['tanarIds'])) { + $Jegyek['tanárok'][$Tanarok[$t]['tankorId']] = $Tanarok[$t]; + $Jegyek['tanárok']['tanarIds'][] = $Tanarok[$t]['tanarId']; + $Jegyek['tanárok']['tanarNevek'][] = $Tanarok[$t]['tanarNev']; + } + } + $Jegyek['tankörök'][$tankorId] = $tankorAdat; + return $Jegyek; + } + + + if ($sulyozas == '') $suly = array(0,1,1,1,1,1,1); + else $suly = explode(':', '0:'.$sulyozas); + + + // A diákok tárgyhoz tartozó tankörei + $q = "SELECT DISTINCT tankorDiak.tankorId, tankorNev, tankor.targyId, felveheto + FROM ".__INTEZMENYDBNEV.".tankorDiak LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE tankor.targyId=%u AND tanev=".__TANEV." + AND diakId IN ('".implode("','", array_fill(0, count($Diakok['idk']), '%u'))."') + AND beDt<='%s' AND (kiDt IS NULL OR kiDt>='%s')"; + $v = mayor_array_join(array($tankorAdat['targyId']), $Diakok['idk'], array($igDt, $tolDt)); + $Jegyek['tankörök'] = db_query($q, array('fv' => 'getJegyek (Tankör)', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v)); + $Jegyek['tanárok']['tanarIds'] = $Jegyek['tanárok']['tanarNevek'] = array(); + if (is_array($Jegyek['tankörök'])) + foreach ($Jegyek['tankörök'] as $_tankorId => $a) { + $Jegyek['tankörök']['tankorId'][] = $_tankorId; + $Tanarok = $Jegyek['tankörök'][$_tankorId]['tanárok'] = getTankorTanaraiByInterval($_tankorId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'nevsor')); + for ($t = 0; $t < count($Tanarok); $t++) { + if (!in_array($Tanarok[$t]['tanarId'], $Jegyek['tanárok']['tanarIds'])) { + $Jegyek['tanárok'][$Tanarok[$t]['tankorId']] = $Tanarok[$t]; + $Jegyek['tanárok']['tanarIds'][] = $Tanarok[$t]['tanarId']; + $Jegyek['tanárok']['tanarNevek'][] = $Tanarok[$t]['tanarNev']; + } + } + } + + // --- + if (count($Diakok['idk']) > 0 && count($Jegyek['tankörök']['tankorId']) > 0) { // Vannak diákok és a diákoknak adott tárgyhoz tankörei - olyankor lehet gond, ha a tankör csak egy korábbi időszakban volt, most már nem aktív + $q = "SELECT * FROM jegy + WHERE tankorId IN ('".implode("','", array_fill(0, count($Jegyek['tankörök']['tankorId']), '%u'))."') + AND tipus <> 0 + AND diakId IN ('".implode("','", array_fill(0, count($Diakok['idk']), '%u'))."') + ORDER BY jegy.dt, jegy.jegyId"; + $v = mayor_array_join($Jegyek['tankörök']['tankorId'], $Diakok['idk']); + $ret = db_query($q, array('fv' => 'getJegyek (Tankör)', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + reset($_TANEV['szemeszter']); + $szAdat = current($_TANEV['szemeszter']); $szemeszter = $szAdat['szemeszter']; + foreach ($ret as $i => $a) { + if (strtotime($a['dt']) > strtotime($szAdat['zarasDt'])) { $szAdat = next($_TANEV['szemeszter']); $szemeszter = $szAdat['szemeszter']; } + $tipus = $a['tipus']; + if ($tipus > 2) { + if (!in_array($a['dolgozatId'], $Jegyek['dolgozatok']['lista'])) { + list($ev,$ho,$napEsIdo) = explode('-', $a['dt']); + $Jegyek['dolgozatok']['lista'][] = $a['dolgozatId']; + $Jegyek['dolgozatok']['dátum szerint'][$ev][$ho][] = $a['dolgozatId']; + $Jegyek['dolgozatok']['dátum szerint'][$szemeszter][$ev][$ho][] = $a['dolgozatId']; + $Jegyek['dolgozatok'][$a['dolgozatId']] = array('év' => $ev, 'hó' => $ho, 'szemeszter' => $szemeszter); + $Jegyek['dolgozatok'][$a['dolgozatId']]['tankorIds'] = array($a['tankorId']); + $dSzemeszter = $szemeszter; // A dolozat első jegyének szemesztere + } else { + $ev = $Jegyek['dolgozatok'][$a['dolgozatId']]['év']; + $ho = $Jegyek['dolgozatok'][$a['dolgozatId']]['hó']; + $dSzemeszter = $Jegyek['dolgozatok'][$a['dolgozatId']]['szemeszter']; + if (!in_array($a['tankorId'], $Jegyek['dolgozatok'][$a['dolgozatId']]['tankorIds'])) $Jegyek['dolgozatok'][$a['dolgozatId']]['tankorIds'][] = $a['tankorId']; + } +// $Jegyek[$a['diakId']][$ev][$ho]['dolgozat'][$a['dolgozatId']][] = $a; + $Jegyek[$a['diakId']][$dSzemeszter][$ev][$ho]['dolgozat'][$a['dolgozatId']][] = $a; + + $Jegyek['dolgozatok'][$a['dolgozatId']]['jegyTipus'] = $a['jegyTipus']; + $Jegyek['dolgozatok'][$a['dolgozatId']]['átlag'] = $Jegyek['dolgozatok'][$a['dolgozatId']]['átlag'] * $Jegyek['dolgozatok'][$a['dolgozatId']]['sulyösszeg'] + $a['jegy']*$suly[$tipus]; + $Jegyek['dolgozatok'][$a['dolgozatId']]['db']++; + $Jegyek['dolgozatok'][$a['dolgozatId']]['sulyösszeg'] += $suly[$tipus]; + if ($Jegyek['dolgozatok'][$a['dolgozatId']]['sulyösszeg'] != 0) + $Jegyek['dolgozatok'][$a['dolgozatId']]['átlag'] = $Jegyek['dolgozatok'][$a['dolgozatId']]['átlag'] / $Jegyek['dolgozatok'][$a['dolgozatId']]['sulyösszeg']; + else + $Jegyek['dolgozatok'][$a['dolgozatId']]['átlag'] = 0; + } else { + list($ev,$ho,$nap) = explode('-',$a['dt']); + $Jegyek[$a['diakId']][$ev][$ho]['jegyek'][] = $a; + $Jegyek[$a['diakId']][$szemeszter][$ev][$ho]['jegyek'][] = $a; + } + if ( + in_array($a['jegyTipus'],array('jegy','féljegy')) + || $KOVETELMENY[ $a['jegyTipus'] ]['átlagolható'] === true + ) { + $Jegyek[$a['diakId']]['átlag'] = $Jegyek[$a['diakId']]['átlag'] * $Jegyek[$a['diakId']]['sulyösszeg'] + $a['jegy']*$suly[$tipus]; + $Jegyek[$a['diakId']]['db']++; + $Jegyek[$a['diakId']]['sulyösszeg'] += $suly[$tipus]; + + if ($Jegyek[$a['diakId']]['sulyösszeg'] != 0) + $Jegyek[$a['diakId']]['átlag'] = $Jegyek[$a['diakId']]['átlag'] / $Jegyek[$a['diakId']]['sulyösszeg']; + else + $Jegyek[$a['diakId']]['átlag'] = 0; + } + } + // Osztályátlag + $sum = $db = 0; + foreach ($Jegyek as $diakId => $dAdat) + if (isset($dAdat['átlag'])) { $sum += $dAdat['átlag']; $db++; } + if ($db > 0) $Jegyek['átlag'] = $sum / $db; + } // vannak diákok + + // ------------------------------------ + // A tárgycsoporthoz tartozó zárójegyek + // EZ NEM IDE TARTOZIK! --> share lib + return $Jegyek; + + } + + /* + Ez kerüljön át a share/jegyModifier-be + */ + function jegyBeiras($tankorId, $tipus, $oraId, $dolgozatId, $tanarId, $megjegyzes, $Beirando, $actionId, $lr) { + + + // ha kell, van megadva dolgozat, ami tényleg a tankörhöz tartozik, vagy 'uj'... + if ($tipus < 3 || checkTankorDolgozata($tankorId, $dolgozatId)) { + // Új dolgozat felvétele - ha kell + if (($tipus > 2) and ($dolgozatId == 'uj')) $dolgozatId = ujDolgozat($tanarId, $tankorId); + // Jegyek beírása + $v = $Values = array(); + for ($i = 0; $i < count($Beirando); $i++) { + /* oraId, dolgozatId 'NULL' stringet is kaphat a hívó függvénytől */ + if ($oraId == 'NULL') { + if ($dolgozatId == 'NULL') $Values[] = "(%u, '%s', %f, %u, %u, NOW(), %s, %s, '%s',NOW())"; + else $Values[] = "(%u, '%s', %f, %u, %u, NOW(), %s, %u, '%s',NOW())"; + } else { + if ($dolgozatId == 'NULL') $Values[] = "(%u, '%s', %f, %u, %u, NOW(), %u, %s, '%s',NOW())"; + else $Values[] = "(%u, '%s', %f, %u, %u, NOW(), %u, %u, '%s',NOW())"; + } + array_push($v, $Beirando[$i]['diakId'], $Beirando[$i]['jegyTipus'], $Beirando[$i]['jegy'], $tipus, $tankorId, $oraId, $dolgozatId, $megjegyzes); + } + $q = "INSERT INTO jegy (diakId, jegyTipus, jegy, tipus, tankorId, dt, oraId, dolgozatId, megjegyzes, modositasDt) + VALUES ".implode(',',$Values); + $r = db_query($q, array('fv' => 'jegyBeiras', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r) return false; + logAction( + array( + 'actionId'=>$actionId, + 'szoveg'=>"Jegybeírás: $tankorId, $tipus, $oraId, $dolgozatId", + 'table'=>'jegy' + ) + ); + } else { + // dolgozat jegy lenne, de nincs dolgozat megadva, legalábbis nem a tankörhöz tartozó... + $_SESSION['alert'][] = 'message:wrong_data:jegyBeiras:tipus '.$tipus.':dolgozatId '.$did; + return false; + } + + return true; + + } + + + + + // -- 2009 + /* $jegyek[index] = assoc array, melyben a módosuló jegy adatai szerepelnek + tankorId, targyId, actionId csak a loghoz kell!!! --> (???) + */ + function jegyLezaras($jegyek, $tankorId, $targyId, $actionId) { + + zaroJegyBeiras($jegyek); + logAction( + array( + 'actionId'=>$actionId, + 'szoveg'=>"Bizonyítvány: $tankorId, $targyId", + 'table'=>'bizonyitvany' + ) + ); + return true; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/targySorrend.php b/mayor-orig/www/include/modules/naplo/osztalyozo/targySorrend.php new file mode 100644 index 00000000..c634641a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/targySorrend.php @@ -0,0 +1,55 @@ + 'targySorrendValtas', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + + $q = "UPDATE targySorszam SET sorszam=%u-sorszam WHERE osztalyId=%u AND sorrendNev='%s' AND sorszam IN (%u, %u)"; + if ($irany == 'fel' && $s > 0) $v = array((2*$s-1), $osztalyId, $sorrendNev, $s, ($s-1)); + elseif ($irany == 'le') $v = array((2*$s+1), $osztalyId, $sorrendNev, $s, ($s+1)); + else return false; + + return db_query($q, array('fv' => 'targySorrendValtas', 'modul' => 'naplo', 'values' => $v)); + + } + + function checkTargySor($osztalyId, $sorrendNev, $Targyak) { + + $q = "SELECT COUNT(sorszam) AS db FROM targySorszam WHERE osztalyId=%u AND sorrendNev='%s'"; + $v = array($osztalyId, $sorrendNev); + $db = db_query($q, array('fv' => 'checkTargySor', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if ($db == 0 && count($Targyak) > 0) { + // feltöltjük + $v = $V = array(); + for ($i = 0; $i < count($Targyak); $i++) { + $V[] = "(%u, %u, '%s', %u)"; + array_push($v, $osztalyId, $Targyak[$i]['targyId'], $sorrendNev, $i); + } + $q = "INSERT INTO targySorszam (osztalyId, targyId, sorrendNev, sorszam) VALUES ".implode(',', $V); + db_query($q, array('fv' => 'checkTargySor', 'modul' => 'naplo', 'values' => $v)); + } + + } + + function ujTargySorrend($osztalyId, $sorrendNev, $targyIds) { + + $q = "DELETE FROM targySorszam WHERE osztalyId=%u AND sorrendNev='%s'"; + db_query($q, array('fv' => 'usTargySorrend', 'modul' => 'naplo', 'values' => array($osztalyId, $sorrendNev))); + + if (count($targyIds) > 0) { + $v = $V = array(); + for ($i = 0; $i < count($targyIds); $i++) { + $V[] = "(%u, %u, '%s', %u)"; + array_push($v, $osztalyId, $targyIds[$i], $sorrendNev, $i); + } + $q = "INSERT INTO targySorszam (osztalyId, targyId, sorrendNev, sorszam) VALUES ".implode(',', $V); + db_query($q, array('fv' => 'usTargySorrend', 'modul' => 'naplo', 'values' => $v)); + } + + return true; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/osztalyozo/vizsga.php b/mayor-orig/www/include/modules/naplo/osztalyozo/vizsga.php new file mode 100644 index 00000000..96dfa210 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/osztalyozo/vizsga.php @@ -0,0 +1,136 @@ + 'naplo_intezmeny', 'fv' => 'vizsgajelentkezes', 'result' => 'insert', 'values' => $v)); + + } + + function vizsgaIdopontRogzites($VD) { + + + foreach ($VD as $vizsgaId => $vizsgaDt) { + $vizsgaAdat = getVizsgaAdatById($vizsgaId); + if ($vizsgaAdat['vizsgaDt'] == '') { + $q = "UPDATE vizsga SET vizsgaDt='%s' WHERE vizsgaId=%u"; + $v = array($vizsgaDt, $vizsgaId); + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaIdopontRogzites', 'values' => $v)); + } else { + $_SESSION['alert'][] = 'message:wrong_data:már van vizsgaDt:vizsgaId='.$vizsgaId; + } + } + + } + + function vizsgaHalasztas($HD) { + + global $ZaradekIndex; + + foreach ($HD as $vizsgaId => $halasztasDt) { + $vizsgaAdat = getVizsgaAdatById($vizsgaId); + if ($vizsgaAdat['vizsgaDt'] != '' && strtotime($vizsgaAdat['vizsgaDt']) < strtotime($halasztasDt) && !isset($vizsgaAdat['zaradekId'])) { + // vizsgahalasztás záradékai + $zaradekIndex = $ZaradekIndex['vizsga halasztás'][ $vizsgaAdat['tipus'] ]; + $Z = array( + 'zaradekIndex' => $zaradekIndex, + 'diakId' => $vizsgaAdat['diakId'], + 'dt' => date('Y-m-d'), + 'csere' => array('%igDt%' => $halasztasDt) + ); + $zaradekId = zaradekRogzites($Z); + // eredeti vizsga záradékolása + $q = "UPDATE vizsga SET zaradekId=%u WHERE vizsgaId=%u"; + $v = array($zaradekId, $vizsgaId); + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaHalasztas/záradékolás', 'values' => $v)); + // új vizsga felvétele +// $q = "INSERT INTO vizsga (diakId, targyId, evfolyam, felev, tipus, jelentkezesDt, vizsgaDt) VALUES (%u, %u, %u, %u, '%s', '%s', '%s')"; +// $v = array($vizsgaAdat['diakId'], $vizsgaAdat['targyId'], $vizsgaAdat['evfolyam'], $vizsgaAdat['felev'], $vizsgaAdat['tipus'], $vizsgaAdat['jelentkezesDt'], $halasztasDt); +// A halasztáskor megadott dátum nem a vizsga dátuma, hanem egy határidő, amíg le kell tenni a vizsgát. + $q = "INSERT INTO vizsga (diakId, targyId, evfolyam, evfolyamJel, felev, tipus, jelentkezesDt) VALUES (%u, %u, %u, '%s', %u, '%s', '%s')"; + $v = array($vizsgaAdat['diakId'], $vizsgaAdat['targyId'], $vizsgaAdat['evfolyam'], $ADAT['evfolyamJel'], $vizsgaAdat['felev'], $vizsgaAdat['tipus'], $vizsgaAdat['jelentkezesDt']); + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgajelentkezes', 'result' => 'insert', 'values' => $v)); + + } else { + $_SESSION['alert'][] = 'message:wrong_data:még nincs vizsgaDt, vagy korábbi, mint a halasztás dátuma:vizsgaId='.$vizsgaId; + } + } + + } + + function vizsgaErtekeles($jegyek) { + + global $KOVETELMENY, $ZaradekIndex; + + if (is_array($jegyek)) foreach ($jegyek as $vizsgaId => $jegyAdat) { + $vizsgaAdat = getVizsgaAdatById($vizsgaId); +// dump($vizsgaAdat); + // A beírandó jegy adatai szinkronban kell legyenek a vizsga adataival + $jegyAdat['felev'] = $vizsgaAdat['felev']; + $jegyAdat['diakId'] = $vizsgaAdat['diakId']; + $jegyAdat['targyId'] = $vizsgaAdat['targyId']; + $jegyAdat['evfolyamJel'] = $vizsgaAdat['evfolyamJel']; + $jegyAdat['evfolyam'] = $vizsgaAdat['evfolyam']; + + $targyAdat = getTargyById($vizsgaAdat['targyId']); + $bukas = (in_array($jegyAdat['jegy'], $KOVETELMENY[ $jegyAdat['jegyTipus'] ]['sikertelen'])); + if ($vizsgaAdat['vizsgaDt'] != '' && !isset($vizsgaAdat['zaroJegyId']) && !isset($vizsgaAdat['zaradekId'])) { + // vizsga értékelés záradékai + if ($bukas) { + if ( + $jegyAdat['jegyTipus'] != 'jegy' + && $jegyAdat['jegyTipus'] != 'féljegy' + && $vizsgaAdat['tipus'] == 'javítóvizsga' + ) $zaradekIndex = $ZaradekIndex['vizsga'][$vizsgaAdat['tipus'].' nem teljesített']; + else $zaradekIndex = $ZaradekIndex['vizsga'][$vizsgaAdat['tipus'].' bukás']; + } else { $zaradekIndex = $ZaradekIndex['vizsga'][ $vizsgaAdat['tipus'] ]; } + $Z = array( + 'zaradekIndex' => $zaradekIndex, + 'diakId' => $vizsgaAdat['diakId'], + 'dt' => $vizsgaAdat['vizsgaDt'], // date('Y-m-d'), + 'csere' => array( + '%tantárgy%' => $targyAdat['targyNev'], + '%dátum%' => str_replace('-','.',$vizsgaAdat['vizsgaDt']), + '%osztályzat%' => $KOVETELMENY[ $jegyAdat['jegyTipus'] ][ $jegyAdat['jegy'] ]['rovid'].' ('.$KOVETELMENY[ $jegyAdat['jegyTipus'] ][ $jegyAdat['jegy'] ]['hivatalos'].')', + '%évfolyam%' => $vizsgaAdat['evfolyamJel'] . (($jegyAdat['felev'] == 2) ? '.':'. ('.$jegyAdat['felev'].'. félév)') // +1 - vajon miért volt? + ) + ); + // Ez hibás így! + // - lehet, hogy több tárgyból is bukott! Akkor egy sikeres javítóvizsga nem jelenti azt, hogy tovább léphet + if ($vizsgaAdat['tipus'] == 'javítóvizsga' && !$bukas) $Z['csere']['%évfolyam%'] = getKovetkezoEvfolyamJel($vizsgaAdat['evfolyamJel']).'.'; // következő évfolyamba léphet + $zaradekId = zaradekRogzites($Z); + // vizsga zárójegyének beírása + $jegyAdat['dt'] = $vizsgaAdat['vizsgaDt']; // -- ez elavult + $jegyAdat['hivatalosDt'] = $vizsgaAdat['vizsgaDt']; + if ($jegyAdat['evfolyamJel'] != '') $jegyAdat['evfolyam'] = evfolyamJel2evfolyam($jegyAdat['evfolyamJel']); + $zaroJegyId = zaroJegyBeiras(array($jegyAdat)); + // eredeti vizsga záradékolása és zárójegyhez kötése + $q = "UPDATE vizsga SET zaradekId=%u, zaroJegyId=%u WHERE vizsgaId=%u"; + $v = array($zaradekId, $zaroJegyId, $vizsgaId); + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaHalasztas/záradékolás', 'values' => $v)); + } + } + + } + + function vizsgaTorlese($vizsgaId) { + + $v = array($vizsgaId); + + // Elároljuk a vizsgához tartozó zárójegyId-t + $q = "SELECT zaroJegyId FROM vizsga WHERE vizsgaId=%u"; + $zaroJegyId = db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaTorlese/zárójegy törlése', 'result' => 'value', 'values' => $v)); + // Töröljük a vizsgához tartozó zárasékot - és ezzel a vizsgát is + $q = "DELETE FROM zaradek WHERE zaradekId=(SELECT zaradekId FROM vizsga WHERE vizsgaId=%u)"; + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaTorlese/zárójegy törlése', 'values' => $v)); + // Töröljük az eltárolt vizsgajegyet + $q = "DELETE FROM zaroJegy WHERE zaroJegyId=%u"; + db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaTorlese/zárójegy törlése', 'values' => array($zaroJegyId))); + // Ha netán még nem törlődött volna a függőségek miatt, akkor most töröljük a vizsgát + $q = "DELETE FROM vizsga WHERE vizsgaId=%u"; + return db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'vizsgaTorlese', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/bejegyzes.php b/mayor-orig/www/include/modules/naplo/share/bejegyzes.php new file mode 100644 index 00000000..08ddfee0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/bejegyzes.php @@ -0,0 +1,65 @@ + 'getBejegyzesTipusById','modul'=>'naplo_intezmeny','values'=>array($btId),'result'=>'record')); + } + + function getDarabBejegyzes($ADAT) { + + $q = "SELECT COUNT(*) FROM bejegyzes WHERE beirasDt>='%s' AND diakId=%u"; + return db_query($q, array('fv' => 'getDarabBejegyzes', 'modul' => 'naplo', 'result' => 'value', 'values' => array($ADAT['tolDt'], $ADAT['diakId']))); + + } + + function getDiakBejegyzesekByTanev($diakId, $tanev) { + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + $q = "SELECT * FROM `%s`.bejegyzes LEFT JOIN `%s`.`bejegyzesTipus` USING (`bejegyzesTipusId`) WHERE diakId=%u ORDER BY beirasDt"; + $v = array($tanevDb, __INTEZMENYDBNEV, $diakId); + $ret = db_query($q, array( + 'fv' => 'getDiakBejegyzesekByTanev', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v + )); + for ($i = 0; $i < count($ret); $i++) + if ($ret[$i]['tanarId'] != '') $ret[$i]['tanarNev'] = getTanarNevById($ret[$i]['tanarId']); + + return $ret; + + } + + function getBejegyzesTipusokByJogosult($jogosult, $SET = array('tipus' => array('fegyelmi','dicséret','üzenet'), 'hianyzas' => false, 'dt' => null)) { + + if (!is_array($jogosult) || count($jogosult) == 0) return false; + $dt = isset($SET['dt'])?$SET['dt']:date('Y-m-d'); + + $W = array(); + foreach ($jogosult as $j) $W[] = "jogosult LIKE '%%$j%%'"; + + if ($SET['hianyzas'] === true) $WH = "AND hianyzasDb > 0 "; + + $q = "SELECT * FROM bejegyzesTipus WHERE (".implode(' OR ', $W).") ".$WH."AND tipus IN ('".implode("','", $SET['tipus'])."') + AND tolDt<='%s' AND (igDt IS NULL OR '%s'<=igDt) + ORDER BY tipus,fokozat"; + $v = array($dt, $dt); + return db_query($q, array('fv' => 'getBejegyzesTipusokByJogosult', 'modul' => 'naplo_intezmeny', 'result' => 'indexed','values' => $v)); + + } + + function getTorzslapBejegyzesByDiakIds($diakIds, $SET = array('tanev'=>__TANEV)) { + + if (!is_array($diakIds)) $diakIds = array($diakIds); + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + if ($tanev == __TANEV) { global $_TANEV; $TA = $_TANEV; } + else { $TA = getTanevAdat($tanev); } + + $q = "SELECT * FROM `%s`.`bejegyzes` WHERE `referenciaDt`='%s' AND `diakId` IN ('".implode("','", array_fill(0, count($diakIds), '%u'))."') ORDER BY `beirasDt`"; + $v = $diakIds; array_unshift($v, tanevDbNev(__INTEZMENY, $tanev), $TA['zarasDt']); + $ret = db_query($q, array( + 'fv' => 'getTorzslapBejegyzesByDiakIds', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield'=>'diakId', 'values' => $v + )); + + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/bejegyzesModifier.php b/mayor-orig/www/include/modules/naplo/share/bejegyzesModifier.php new file mode 100644 index 00000000..dd5bb05c --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/bejegyzesModifier.php @@ -0,0 +1,40 @@ + 'ujBejegyzes', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/bontas.php b/mayor-orig/www/include/modules/naplo/share/bontas.php new file mode 100644 index 00000000..1053eb84 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/bontas.php @@ -0,0 +1,72 @@ +'bontasTankor/bt','modul'=>'naplo','values'=>$v), $lr); + $ok = $ok && ($r !== false); + } + + // is_resource mysqli esetén nem jó (object) + if (!$olr) { + if (!$ok) db_rollback($lr, 'tankörnév hozzárendelés'); + db_close($lr); + } + + return $ok; + } + + function getBontasAdat($bontasId) { + + $q = "select * from kepzesTargyBontas where bontasId=%u"; + $ret = db_query($q, array('fv'=>'getBontasAdat/1','modul'=>'naplo','result'=>'record','values'=>array($bontasId))); + + $q = "select * from bontasTankor where bontasId=%u order by tankorId"; + $ret['tankor-oraszam'] = db_query($q, array('fv'=>'getBontasAdat/2','modul'=>'naplo','result'=>'indexed','values'=>array($bontasId))); + + $ret['hetiOraszam'] = 0; + if (is_array($ret['tankor-oraszam'])) foreach ($ret['tankor-oraszam'] as $index => $toAdat) $ret['hetiOraszam'] += $toAdat['hetiOraszam']; + + return $ret; + } + + function osztalyBontasKeszE($osztalyId) { + + // Az osztályhoz rendelt képzések óraterveinek óraszámai + $q1 = "select kepzesOratervId, hetiOraszam from osztalyNaplo left join ".__INTEZMENYDBNEV.".kepzesOsztaly using (osztalyId) + left join ".__INTEZMENYDBNEV.".kepzesOraterv using (kepzesId) + where osztalyId=%u and osztalyNaplo.evfolyamJel=kepzesOraterv.evfolyamJel"; + // Az osztályhoz rendelt bontások óraszámai + $q2 = "select kepzesOratervId, sum(hetiOraszam) as hetiOraszam from kepzesTargyBontas left join bontasTankor using (bontasId) + where osztalyId=%u group by bontasId"; + $v = array($osztalyId, $osztalyId); + // Az óratervet lefedik-e a bontások + $q12 = "select count(oraterv.kepzesOratervId) from + (".$q1.") as oraterv + left join (".$q2.") as bontas + using (kepzesOratervId, hetiOraszam) + where bontas.kepzesOratervId is null"; + // A bontások óraszámai teljesek-e + $q21 = "select count(bontas.kepzesOratervId) from + (".$q2.") as bontas + left join (".$q1.") as oraterv + using (kepzesOratervId, hetiOraszam) + where oraterv.kepzesOratervId is null"; + + return ( + db_query($q12, array('fv'=>'osztalyBontasKeszE/12','modul'=>'naplo','result'=>'value','values'=>$v)) + + db_query($q21, array('fv'=>'osztalyBontasKeszE/21','modul'=>'naplo','result'=>'value','values'=>$v)) + == 0 + ); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/diak.php b/mayor-orig/www/include/modules/naplo/share/diak.php new file mode 100644 index 00000000..2482a97d --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/diak.php @@ -0,0 +1,602 @@ + __TANEV)) { + + global $_TANEV; + + // tanév adatai + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $lr); + else $tanevAdat = $_TANEV; + + // ez volt eredetileg: + /*$q = "SELECT diakId FROM osztalyDiak LEFT JOIN osztaly USING (osztalyId) + WHERE beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) + GROUP BY diakId HAVING MAX(vegzoTanev) = %u";*/ + // le kell kéredezni a megadott tanévben végzős OSZTÁLYOK diákjait, kivéve azokat, akik később végzős osztályok tagjai + $q = "SELECT diakId FROM osztalyDiak LEFT JOIN osztaly USING (osztalyId) + WHERE beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) + AND diakId NOT IN ( + SELECT diakId FROM osztalyDiak LEFT JOIN osztaly USING (osztalyId) WHERE vegzoTanev>%u + ) + GROUP BY diakId HAVING MAX(vegzoTanev) = %u"; + return db_query($q, array('fv' => 'getVegzosDiakok', 'modul' => 'naplo_intezmeny', 'values' => array($tanevAdat['zarasDt'], $tanevAdat['zarasDt'],$tanev, $tanev), 'result' => 'idonly')); + } + + function getDiakokOld($SET = array('osztalyId' => null, 'tanev' => __TANEV, 'tolDt' => null, 'igDt' => null, 'override' => false, 'statusz' => null, 'result'=>''), $olr = null) { + + global $_TANEV; + + if ($SET['csakId']===true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + $osztalyId = readVariable($SET['osztalyId'], 'numeric unsigned', null); + $tolDt = readVariable($SET['tolDt'], 'datetime', null); + $igDt = readVariable($SET['igDt'], 'datetime', null); + // Az adott tanév elejének és végének lekérdezése + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + initTolIgDt($tanev, $tolDt, $igDt, $SET['override']); + + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $lr); + else $tanevAdat = $_TANEV; + + $KIBEDT = "beDt <= '%2\$s' AND (kiDt IS NULL OR '%3\$s' <= kiDt) AND "; + + // A lekérdezendő diákok státusza + if (!is_array($SET['statusz']) || count($SET['statusz']) == 0) { + if ($tanevAdat['statusz'] == 'aktív') { + $Statusz = array('jogviszonyban van','magántanuló','vendégtanuló'); + } else { + $Statusz = array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva'); + // ebben az esetben kit érdekel a diák kilépésének ideje??? + $KIBEDT = ''; $v = array(); + } + } else { + $Statusz = readVariable($SET['statusz'], 'enum', null, + array('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + } + + // Intézményi adatbázis neve + $intezmenyDb = intezmenyDbNev(__INTEZMENY); +/* + Szerintem ez nem jó így. + 1. a tol-igDt alapján a diakJogviszony táblát kellene néznünk - közben volt-e jogviszonyban, vagy magántanulóként. + 2. A having végén a jogviszony miért is? + +*/ + if (!isset($osztalyId)) { + if ($SET['result'] == 'idonly') $mezok = 'diakId'; + else $mezok = "diakId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS diakNev, + statusz, MAX(osztaly.vegzoTanev) AS maxVegzoTanev"; + $q = "SELECT $mezok + FROM %2\$s.diak + LEFT JOIN %2\$s.osztalyDiak USING (diakId) + LEFT JOIN %2\$s.osztaly USING (osztalyId) + WHERE diak.kezdoTanev <= %u + AND statusz IN ('".implode("','", $Statusz)."') + GROUP BY diakId + HAVING %1\$u <= maxVegzoTanev OR maxVegzoTanev IS NULL OR statusz IN ('jogviszonyban van','magántanuló') + ORDER BY viseltCsaladiNev,viseltUtonev"; + $v = array($tanev, $intezmenyDb); + } else { + if ($SET['result'] == 'idonly') $mezok = 'diakId'; + else $mezok = "osztalyDiak.diakId, TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladinev, viseltUtonev)) AS diakNev, + statusz, DATE_FORMAT(beDt,'%%Y-%%m-%%d') AS beDt, DATE_FORMAT(kiDt,'%%Y-%%m-%%d') AS kiDt"; + $q = "SELECT $mezok + FROM %1\$s.osztalyDiak LEFT JOIN %1\$s.diak USING (diakId) + WHERE $KIBEDT + osztalyDiak.osztalyId=%4\$u + AND statusz IN ('".implode("','", $Statusz)."') + ORDER BY ViseltCsaladiNev,ViseltUtonev"; + $v = array($intezmenyDb, $igDt, $tolDt, $osztalyId); + + } + + if ($SET['result'] == 'idonly') + return db_query($q, array('fv' => 'getDiakok', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'idonly'), $olr); + elseif ($SET['result'] == 'assoc') + return db_query($q, array('fv' => 'getDiakok', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'diakId', 'values' => $v), $olr); + else + return db_query($q, array('fv' => 'getDiakok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $olr); + + } + + function getDiakok($SET = array('osztalyId' => null, 'tanev' => __TANEV, 'tolDt' => null, 'igDt' => null, 'override' => false, 'statusz' => null, 'result'=>'', 'extraAttrs'=>''), $olr = null) { + + global $_TANEV; + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed','assoc','idonly','keyvaluepair')); + $osztalyId = readVariable($SET['osztalyId'], 'id', null); + if (!is_null($osztalyId) && !is_array($osztalyId)) $osztalyId = array($osztalyId); // ha csak egy érték, legyen tömb + $tolDt = readVariable($SET['tolDt'], 'datetime', null); + $igDt = readVariable($SET['igDt'], 'datetime', null); + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + initTolIgDt($tanev, $tolDt, $igDt, $SET['override']); + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $lr); + else $tanevAdat = $_TANEV; + + $extraAttrs = ($SET['extraAttrs']!='') ? ','.$SET['extraAttrs'] : ''; + + // A lekérdezendő diákok státusza + if (!is_array($SET['statusz']) || count($SET['statusz']) == 0) { + if ($tanevAdat['statusz'] == 'aktív') { + $Statusz = array('jogviszonyban van','magántanuló','vendégtanuló'); + } else { + $Statusz = array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva'); + } + } else { + $Statusz = readVariable($SET['statusz'], 'enum', null, + array('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + } + + // jogviszony szerinti lekérdezés - szóbajövő diakId-k + // Ez MySQL 5.1.41 alatt (Ubuntu) működött, de 5.0.32-vel (Debian Etch?) nem +/* $q = "SELECT diakId FROM diakJogviszony AS dj1 WHERE statusz IN ('".implode("','", $Statusz)."') AND dt <= '%s' + GROUP BY diakId + HAVING (SELECT COUNT(*) FROM diakJogviszony AS dj2 WHERE diakId = dj1.diakId AND MAX(dj1.dt) < dt AND dt <= '%s') = 0"; +*/ + // Ez működik 5.0.32-vel is + $q = "SELECT diakId FROM diakJogviszony WHERE dt <= '%s' GROUP BY diakId HAVING + MAX(IF(statusz IN ('".implode("','", $Statusz)."'),dt,'0000-00-00')) > + MAX(IF(statusz NOT IN ('".implode("','", $Statusz)."') AND dt <= '%s',dt,'0000-00-00'))"; + $v = array($igDt, $tolDt); + $diakIds = db_query($q, array('fv' => 'getDiakok', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'idonly')); + if (!is_array($diakIds)) return false; // hiba + if (count($diakIds) == 0) return array(); // nincs ilyen diák + // A felvételt nyert státuszú diák ebben a listában nem szerepel + if (in_array('felvételt nyert', $Statusz)) { + $FNY_WHERE = " OR statusz = 'felvételt nyert' "; + } + // Névsor + if (!isset($osztalyId)) { + $q = "SELECT diakId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS diakNev, statusz AS aktualisStatusz + $extraAttrs + FROM diak + WHERE diak.kezdoTanev <= %u AND (diakId IN (".implode(",", $diakIds).") $FNY_WHERE ) + ORDER BY viseltCsaladiNev,viseltUtonev"; + $v = array($tanev, $intezmenyDb); + } else { + + if ($tanev!='') + $qNs = ", diakNaploSorszam(osztalyDiak.diakId,$tanev,osztalyDiak.osztalyId) AS diakNaploSorszam"; + else + $qNs = ''; + + $q = "SELECT DISTINCT osztalyDiak.diakId, TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladinev, viseltUtonev)) AS diakNev, statusz AS aktualisStatusz + $qNs $extraAttrs + FROM osztalyDiak LEFT JOIN diak USING (diakId) + WHERE beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) AND + osztalyDiak.osztalyId IN (". implode(',', $osztalyId) .") + AND (diakId IN (".implode(",", $diakIds).") $FNY_WHERE ) + ORDER BY ViseltCsaladiNev,ViseltUtonev"; + $v = array($igDt, $tolDt); + } + + return db_query($q, array('fv' => 'getDiakok', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => 'diakId', 'values' => $v), $olr); + + } + + + + function getDiakokByOsztalyId($IDs, $SET = array('tanev' => __TANEV, 'tolDt' => null, 'igDt' => null, 'result' => '', 'statusz' => array('jogviszonyban van','magántanuló'))) { + //////////////////////////////////////////////////////////////// + // !!! Ez a függvény csak a diák aktuális státuszát nézi! !!! // + //////////////////////////////////////////////////////////////// + if (!is_array($IDs) || count($IDs) == 0) return false; + + if ($SET['result']=='assoc' || $SET['result']=='multiassoc') $SET['result'] = 'multiassoc'; + else $SET['result'] = 'indexed'; + + if ($SET['tanev']!='') $tanev = $SET['tanev']; else $tanev=__TANEV; + // Az adott tanév elejének és végének lekérdezése + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $lr); + else { global $_TANEV; $tanevAdat = $_TANEV; } + +// $tanevKezdes = $tanevAdat['kezdesDt']; $tanevZaras = $tanevAdat['zarasDt']; $time = time(); + $tolDt = readVariable($SET['tolDt'], 'date', $tanevAdat['kezdesDt']); + $igDt = readVariable($SET['igDt'], 'date', $tanevAdat['zarasDt']); + + if (!is_array($SET['statusz']) || count($SET['statusz']) == 0) + if ($tanevAdat['statusz'] == 'aktív') $SET['statusz'] = array('jogviszonyban van','magántanuló'); + else $SET['statusz'] = array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'); + // Intézményi adatbázis neve + $intezmenyDb = intezmenyDbNev(__INTEZMENY); + $RESULT = false; + + $q = "SELECT osztalyDiak.diakId AS diakId, TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladinev, viseltUtonev)) AS diakNev, + osztalyId, DATE_FORMAT(beDt,'%%Y-%%m-%%d') AS beDt, DATE_FORMAT(kiDt,'%%Y-%%m-%%d') AS kiDt + FROM `%s`.osztalyDiak LEFT JOIN `%s`.diak USING (diakId) + WHERE beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s') + AND osztalyDiak.osztalyId IN (".implode(',', array_fill(0, count($IDs), '%u')).") + AND statusz IN ('".implode("','", $SET['statusz'])."') + ORDER BY ViseltCsaladiNev,ViseltUtonev"; +// array_unshift($IDs, $intezmenyDb, $intezmenyDb, $tanevZaras, $tanevKezdes); + array_unshift($IDs, $intezmenyDb, $intezmenyDb, $igDt, $tolDt); + return db_query($q, array('result' => $SET['result'], 'fv' => 'getDiakokByOsztalyId', 'modul' => 'naplo_intezmeny', 'values' => $IDs, 'keyfield' => 'osztalyId')); + + + } + + /* + Az előző függvény hiányosságait kiküszöbölő függvény, ami a diakJogviszony táblát is figyelembeveszi + + $SET['tanev'|'tolDt'|'igDt'|'statusz'|'statuszonkent'] + + return[ diakId ][ 'diakId'|'diakNev' ] + return[ diakId ][ 'osztalyDiak' ][][ 'beDt'|'kiDt' ] -- DESC !! + return[ diakId ][ 'statusz' ][][ 'statusz'|'dt' ] -- DESC !! + return['jogviszonyban van'|...|'jogviszonya lezárva'][] + + */ + + /* EZ ETTŐL MÉG GLOBAL SCOPE!!!! Kéretik normális nevet adni neki!!!*/ + function _tmp11($value) { return array('beDt' => $value['beDt'], 'kiDt' => $value['kiDt']); } + function _tmp22($value) { return array('statusz' => $value['statusz'], 'dt' => $value['dt']); } + + function getDiakokByOsztaly($osztalyId, $SET = array()) { + + global $_TANEV; + + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + if ($tanev != __TANEV) $_TA = getTanevAdat($tanev, $lr); + else $_TA = $_TANEV; + + $orderBy = ($SET['orderBy']=='naploSorszam') ? " ORDER BY diakNaploSorszam(osztalyDiak.diakId,$tanev,osztalyDiak.osztalyId) " : "ORDER BY ViseltCsaladiNev, ViseltUtonev, beDt DESC"; + $tolDt = readVariable($SET['tolDt'], 'datetime', $_TA['kezdesDt']); + $igDt = readVariable($SET['igDt'], 'datetime', $_TA['zarasDt']); + initTolIgDt($tanev, $tolDt, $igDt); + $statusz = readVariable($SET['statusz'], 'enum', null, array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva')); + if (!is_array($statusz) || count($statusz) == 0) $statusz = array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva'); + $statuszonkent = readVariable($SET['statuszonkent'],'bool',true); + $intezmenyDb = intezmenyDbNev(__INTEZMENY); + + // Az összes diák lekérdezése (esetleg lehet majd bent többször is az osztályban!) + $q = "SELECT osztalyDiak.diakId AS diakId, TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladinev, viseltUtonev)) AS diakNev, + osztalyId, DATE_FORMAT(beDt,'%%Y-%%m-%%d') AS beDt, DATE_FORMAT(kiDt,'%%Y-%%m-%%d') AS kiDt, statusz AS aktualisStatusz + FROM `%s`.osztalyDiak LEFT JOIN `%s`.diak USING (diakId) + WHERE beDt <= '%s' AND (kiDt IS NULL OR kiDt >= '%s') + AND osztalyDiak.osztalyId=%u ".$orderBy; + $v = array($intezmenyDb, $intezmenyDb, $igDt, $tolDt, $osztalyId); + $ret1 = db_query($q, array('result' => 'multiassoc', 'keyfield' => 'diakId', 'fv' => 'getDiakokByOsztaly', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + if (is_array($ret1) && count($ret1)>0) $diakIds = array_keys($ret1); + else $diakIds = array(); + + if ($statuszonkent) $return = array('jogviszonyban van' => array(), 'magántanuló' => array(), 'vendégtanuló' => array(), 'jogviszonya felfüggesztve' => array(), 'jogviszonya lezárva' => array(), 'felvételt nyert'=>array()); + else $return = array(); + + // Ha nincs tagja az osztálynak még/már + if (!is_array($diakIds) || count($diakIds) == 0) return $return; + + // Jogviszonyadatok lekérdezése + $q = "SELECT * FROM diakJogviszony WHERE diakId IN (".implode(', ', array_fill(0, count($diakIds), '%u')).") AND dt <='$igDt' ORDER BY diakId, dt DESC"; + array_push($diakIds, $igDt); + $ret2 = db_query($q, array('result' => 'multiassoc', 'keyfield' => 'diakId', 'fv' => 'getDiakokByOsztaly', 'modul' => 'naplo_intezmeny', 'values' => $diakIds )); + /* --TODO, ellenőrizni ret1 és ret2-t! + Warning: array_map() [function.array-map]: Argument #2 should be an array in /var/mayor/www/include/modules/naplo/share/diak.php on line 187 + Warning: Cannot modify header information - headers already sent by (output started at /var/mayor/www/include/modules/naplo/share/diak.php:187) in /var/mayor/www/policy/private/naplo/nyomtatas/osztalyozonaplo-pre.php on line 124 + */ + if (is_array($ret1)) { + foreach ($ret1 as $diakId => $stat) { + $_felveteltNyert = ($stat[0]['aktualisStatusz']=='felvételt nyert')?true:false; + // Szűrés a státuszra + // Ha az utolsó státusz jó, akkor ok (order by dt desc) + $i = 0; + $ok = in_array($ret2[$diakId][$i]['statusz'], $statusz) || $_felveteltNyert; + // addig megyünk visszafele, amíg + // - nem $ok (még nem találtunk megfelelő státuszt) + // - van még statusz bejegyzés + // - az aktuális bejegyzés dátuma > tolDt (az előtte lévők nem érvényesek a megadott időszakra) + while (!$ok && strtotime($ret2[$diakId][$i]['dt'])>strtotime($tolDt) && $i < count($ret2[$diakId])-1) { + $i++; + $ok = in_array($ret2[$diakId][$i]['statusz'], $statusz); + } + if ($ok) { // Ha az adott időszakban volt a megadott státuszok valamelyikében + $return[$diakId] = array('diakId' => $ret1[$diakId][0]['diakId'], 'diakNev' => $ret1[$diakId][0]['diakNev']); + $return[$diakId]['osztalyDiak'] = @array_map('_tmp11', $ret1[$diakId]); + if ($_felveteltNyert) + $return[$diakId]['statusz'][] = array('statusz'=>'felvételt nyert'); + else + $return[$diakId]['statusz'] = @array_map('_tmp22', $ret2[$diakId]); + if ($statuszonkent) { + for ($i = 0; $i < count($return[$diakId]['statusz']); $i++) { + if (!in_array($diakId, $return[ $return[$diakId]['statusz'][$i]['statusz'] ])) $return[ $return[$diakId]['statusz'][$i]['statusz'] ][] = $diakId; + if (strtotime($tolDt) >= strtotime($return[$diakId]['statusz'][$i]['dt'])) break; + } + } + } + } + } + + return $return; + + } + + function getDiakokById($IDs, $olr = '') { + // Visszaadjuk a statusz-t is, de dátum nélkül ez nem túl értelemes... de a diakSelect-ben kell... + if (!is_array($IDs) || count($IDs) == 0) return false; + $q = "SELECT diakId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS diakNev, statusz, statusz as aktualisStatusz + FROM ".__INTEZMENYDBNEV.".diak WHERE diakId IN (".implode(',',$IDs).") ORDER BY viseltcsaladinev,viseltutonev"; + return db_query($q, array('keyfield' => 'diakId', 'result' => 'assoc', 'fv' => 'getDiakokById', 'modul' => 'naplo_intezmeny')); + } + + function getDiakNevById($diakId) { + $q = "SELECT TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladiNev, viseltUtonev)) AS diakNev + FROM `".__INTEZMENYDBNEV."`.`diak` WHERE diakId=%u"; + return db_query($q, array('fv' => 'getDiakNevById', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($diakId))); + } + + function getDiakMindenOsztaly($diakId) { + + $q = "SELECT * FROM osztalyDiak WHERE diakId=%u"; + $osztalyIds = db_query($q, array('fv'=>'getDiakMindenOsztaly', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($diakId))); + + return $osztalyIds; + } + function getDiakOsztalya($diakId, $SET= array('tanev'=>__TANEV,'tolDt'=>'','igDt'=>'', 'result'=>''), $olr='') { + + global $_TANEV; + //$tolDt = $SET['tolDt']; $igDt=$SET['igDt']; + $osztalyId = array(); + + // Az adott tanév elejének és végének lekérdezése + if ($SET['tanev']=='') $SET['tanev'] = __TANEV; + $tanev = $SET['tanev']; + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $olr); + else $tanevAdat = $_TANEV; + + $tolDt = $SET['tolDt']; $igDt=$SET['igDt']; $tanev = $SET['tanev']; + if ($tolDt==$igDt && $tolDt=='') { + $tolDt = $tanevAdat['kezdesDt']; $igDt = $tanevAdat['zarasDt']; + } else { + initTolIgDt($tanev, $tolDt, $igDt); + } + + if ($diakId != '') { + + if ($SET['result']=='csakid' || $SET['result']=='idonly') { + $q = "SELECT DISTINCT osztalyId FROM osztalyDiak WHERE beDt <= '%s' AND (kiDt IS NULL OR kiDt >= '%s') AND diakId=%u ORDER BY beDt DESC"; + $osztalyId = db_query($q, array('fv' => 'getDiakOsztalya1', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($igDt, $tolDt, $diakId)), $olr); + } elseif ($tanevAdat['statusz'] != 'tervezett') { + $q = "SELECT osztalyId, osztalyJel, beDt, kiDt, diakNaploSorszam(diakId,%u,osztalyId) AS naploSorszam + FROM osztalyDiak LEFT JOIN ".tanevDbNev(__INTEZMENY, $tanev).".osztalyNaplo USING (osztalyId) + WHERE diakId=%u + AND beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s') + ORDER BY beDt DESC"; + $osztalyId = db_query($q, array('fv' => 'getDiakOsztalya2', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanev,$diakId,$igDt, $tolDt)),$olr); + } else { + $q = "SELECT DISTINCT osztalyId FROM osztalyDiak WHERE beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s') AND diakId=%u ORDER BY beDt DESC"; + $osztalyId = db_query($q, array('fv'=>'getDiakOsztalya3', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($igDt, $tolDt, $diakId)),$olr); // biztos ilyen formátumot vársz??? + } + } + + return $osztalyId; + } + + function getDiakokOsztalyai($diakIds, $SET = array('tanev' => __TANEV, 'tolDt' => null, 'igDt' => null, 'result'=>null), $olr='') { + + global $_TANEV; + + $tolDt = $SET['tolDt']; + $igDt=$SET['igDt']; + if ($SET['tanev']=='') $tanev=__TANEV; else $tanev = $SET['tanev']; + initTolIgDt($tanev, $tolDt, $igDt); + + $RESULT = array(); + if (is_array($diakIds) && count($diakIds)>0) { + if ($SET['result']==='csakId') { + $FIELDS = 'DISTINCT `osztalyId`'; + $result = 'idonly'; + } else { + $FIELDS = '`diakId`, `osztalyId`'; + $result = 'indexed'; + } + $q = "SELECT $FIELDS + FROM osztalyDiak LEFT JOIN diak USING (diakId) WHERE beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s') + AND diakId IN (". implode(',', array_fill(0, count($diakIds), '%u')) .") "; + array_unshift($diakIds, $igDt, $tolDt); + $R = db_query($q, array('fv' => 'getDiakokOsztalyai', 'result' => $result, 'modul' => 'naplo_intezmeny', 'values' => $diakIds)); + if ($SET['result']!=='csakId') { + for ($i = 0; $i < count($R); $i++) { + $RESULT[$R[$i]['diakId']][] = $R[$i]['osztalyId']; + } + } else { + $RESULT = $R; + } + } + return $RESULT; + } + function getDiakAdatById($diakIds, $SET = array('result'=>'indexed', 'keyfield'=>''), $olr='') { + + if ($olr=='') $lr = db_connect('naplo'); + else $lr=$olr; + + if (!is_array($diakIds)) { $diakIds = array($diakIds); $result = 'record'; } + else { + if ($SET['result']!='') $result = $SET['result']; + else $result = 'indexed'; + } + + //$q = "SELECT * FROM ".__INTEZMENYDBNEV.".diak WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).")"; + $q = "SELECT diak.*, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS diakNev, TIMESTAMPDIFF(YEAR, diak.szuletesiIdo, CURDATE()) AS diakEletkor, dj.dt AS jogviszonyDt, dj.statusz AS jogviszonyStatusz + FROM ".__INTEZMENYDBNEV.".diak LEFT JOIN ".__INTEZMENYDBNEV.".diakJogviszony AS dj + ON diak.diakId=dj.diakId AND dj.dt=(SELECT MAX(dt) FROM ".__INTEZMENYDBNEV.".diakJogviszony WHERE dt<=CURDATE() AND diakId=dj.diakId) + WHERE diak.diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).")"; + + $r = db_query($q, array('fv' => 'getDiakAdatById', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield'=>$SET['keyfield'],'values' => $diakIds), $lr); + + if ($olr=='') db_close($lr); + return $r; + } + + function getDiakBySzulDt($md) + { + if ($md == '') $md = date('m-d'); + $q = "SELECT diakId FROM diak WHERE szuletesiIdo like '%%-%s' AND jogviszonyVege is NULL"; // credits: Neumayer Béla + $diakIds = db_query($q, array('fv' => 'getDiakBySzulDt', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($md))); + if (count($diakIds)>0) { + $RET['diak'] = getDiakAdatById($diakIds); + $RET['diakOsztaly'] = getDiakokOsztalyai($diakIds); + } else { + $RET = false; + } + return $RET; + } + + function diakVegzosE($diakId, $SET = array('tanev' => __TANEV, 'dt' => null)) { + + global $_TANEV; + + // tanév adatai + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + $dt = readVariable($SET['dt'], 'datetime', date('Y-m-d')); + + $q = "SELECT MAX(vegzoTanev) FROM osztalyDiak LEFT JOIN osztaly USING (osztalyId) + WHERE diakId=%u AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)"; + $maxVegzoTanev = db_query($q, array('fv' => 'diakVegzosE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($diakId, $dt, $dt))); + + return ($tanev == $maxVegzoTanev); + } + + + function getDiakJogviszony($diakId) { + + $v = array($diakId); + $q = "SELECT statusz,dt FROM diakJogviszony WHERE diakId=%u ORDER BY dt"; + $ret = db_query($q, array('fv' => 'getDiakJogviszony', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + return $ret; + + } + + function getDiakJogviszonyByDt($diakId, $dt) { // dt előtt és után vagy egyenlőt adja vissza, ezért dt - nek lennie kellene... + + $v = array($diakId, $dt); + + $q = "SELECT statusz FROM diak WHERE diakId=%u"; + $ret['aktualis'] = db_query($q, array('fv' => 'getDiakJogviszonyByDt', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($diakId))); + if ($ret['aktualis']=='felvételt nyert') { /* Ha felvételt nyert, nincs bejegyzése a diakJogviszony táblába */ + $ret['elotte'] = $ret['aktualis']; // ==felvételt nyert + } else { + $q = "SELECT statusz FROM diakJogviszony WHERE diakId=%u AND dt<'%s' ORDER BY dt DESC LIMIT 1"; + $ret['elotte'] = db_query($q, array('fv' => 'getDiakJogviszonyByDt', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + } + /* Az utána statuszt lekérdezem, hisz lehet hogy a jövőbe már be van állítva */ + $q = "SELECT statusz FROM diakJogviszony WHERE diakId=%u AND dt>='%s' ORDER BY dt LIMIT 1"; + $ret['utana'] = db_query($q, array('fv' => 'getDiakJogviszonyByDt', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + return $ret; + + } + + function getDiakJogviszonyByDts($diakIds, $dts, $olr='') { + // lekérdezzük az adott diák/diákok megadott dátum(ok) szerinti jogviszonyait - pl Osztályozónapló + $ret = array(); + if (is_array($diakIds) && is_array($dts)) { + foreach ($diakIds as $diakId) { + foreach ($dts as $dt) { + $q = "SELECT diakId, dt, statusz FROM diakJogviszony WHERE diakId=%u AND dt <= '%s' ORDER BY dt DESC LIMIT 1"; + $ret[$diakId][$dt] = db_query($q, array('fv' => 'getDiakJogviszonyByDts', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($diakId, $dt)), $olr); + } + } + } + return $ret; + } + + function getDiakAdatkezeles($diakId, $filter = null) { + + if (is_numeric($diakId)) { + + $v = array($diakId); + if (is_array($filter)) { + foreach ($filter as $kulcs => $ertek) { + $W[] = " AND kulcs = '%s'"; + $W[] = " AND ertek = '%s'"; + $v[] = $kulcs; + $v[] = $ertek; + } + } else $W = ''; + + $q = "SELECT * FROM diakAdatkezeles WHERE diakId = %u".implode(' ',$W); + $r = db_query($q, array('fv' => 'getDiakAdatkezeles', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield'=>'kulcs', 'values' => $v)); + + return $r; + + } else { + return false; + } + + } + + + function getDiakTorzslapszam($diakId, $osztalyId, $SET = array('osztalyJellel' => true, 'tanev'=>__TANEV)) { + /* + * Ha van a diak táblában törzslapszám, akkor azt adjuk vissza, ha nincs akkor a diakTorzslapszam tábla megfelelő értékét, vagy ennek hiányában false null értéket. + * Nem használt függvény (még) + */ + + $q = "SELECT torzslapszam FROM diak WHERE diakId=%u"; + $v = array($diakId); + $r = db_query($q, array('fv'=>'getDiakTorzslapszam/diak', 'modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + + if ($r && !is_null($r)) return $r; + + $q = "SELECT torzslapszam FROM diakTorzslapszam WHERE diakId=%u AND osztalyId=%u"; + $v = array($diakId, $osztalyId); + $r = db_query($q, array('fv'=>'getDiakTorzslapszam/osztaly', 'modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + + if ($SET['osztalyJellel']) { + $q = "select concat('/',kezdoTanev, '-', vegzoTanev+1,'/',jel) from osztaly where osztalyId = %u"; + $v = array($osztalyId); + $r .= db_query($q, array('fv'=>'getDiakTorzslapszam/osztalyJel', 'modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + } + + return $r; + } + + + function getDiakokTorzslapszamaByOsztalyId($osztalyId, $SET = array('osztalyJellel' => true, 'tanev'=>__TANEV)) { + /* + * Ha van a diak táblában törzslapszám, akkor azt adjuk vissza, ha nincs akkor a diakTorzslapszam tábla megfelelő értékét, vagy ennek hiányában false null értéket. + * Nem használt függvény (még) + */ + + // kérdezzük le az osztály valaha volt összes tagját: + $q = "SELECT count(diakId) FROM osztalyDiak WHERE osztalyId=%u"; + $v = array($osztalyId); + $db = db_query($q, array('fv'=>'getDiakokTorzslapszama/osztalyTagok', 'modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + + // Ha nincsenek tagok + if ($db == 0) return false; + + // OsztalyJel lekérdezése + if ($SET['osztalyJellel']) { + $q = "select concat('/',kezdoTanev, '-', vegzoTanev+1,'/',jel) from osztaly where osztalyId = %u"; + $v = array($osztalyId); + $osztalyStr = db_query($q, array('fv'=>'getDiakokTorzslapszama/osztalyJel', 'modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + } else { + $osztalyStr = ''; + } + // Törzslapszámok lekérdezése + $q = "select diakId, ifnull(diak.torzslapszam, concat(diakTorzslapszam.torzslapszam,'%s')) as torzslapszam + from diak left join diakTorzslapszam using(diakId) + where osztalyId=%u + and diakId in (select diakId from osztalyDiak where osztalyId=%u) + order by torzslapszam"; + $v = array($osztalyStr, $osztalyId, $osztalyId); + $r = db_query($q, array('fv'=>'getDiakokTorzslapszama/osztaly', 'modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$v)); + + return $r; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/diakModifier.php b/mayor-orig/www/include/modules/naplo/share/diakModifier.php new file mode 100644 index 00000000..34a4a2c5 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/diakModifier.php @@ -0,0 +1,344 @@ + lásd: base/rights: checkDiakStatusz() +// if (strtotime($ADAT['jogviszonyValtasDt']) > time()) { // jövőbeni statusz nem állítható be! +// $_SESSION['alert'][] = 'message:wrong_data:diakJogviszonyValtas:jogviszonyValtasDt='.$ADAT['jogviszonyValtasDt'].':Jövőbeli állapotváltást nem rögzítünk!'; +// return false; +// } + + // A megelőző és következő jogviszony státusz lekérdezése + $DJ = getDiakJogviszonyByDt($ADAT['diakId'], $ADAT['jogviszonyValtasDt']); + if (!isset($DJ['elotte'])) { // Kell legyen megelőző - amúgy ujDiak kellene + $_SESSION['alert'][] = 'message:wrong_data:diakJogviszonyValtas:Nincs kezdeti státusz - hiba történt a diák adatainak rögzítésekor?'; + return false; + } + + if ($DJ['elotte'] == 'felvételt nyert' && $ADAT['ujStatusz'] != 'jogviszonyban van') { // felvett először iratkozzon be + $_SESSION['alert'][] = 'message:wrong_data:'.$ADAT['ujStatusz'].':diakJogviszonyValtas:beiratkozáskor csak "jogviszonyban van" státuszba kerülhet a diák!'; + return false; + } + + if ($ADAT['ujStatusz'] == $DJ['elotte']) return true; // nincs mit tenni + + if (isset($DJ['utana'])) { // a következő jogviszonyváltás már rögzítve van... nem piszkálhatunk az intervallum közbe! + $_SESSION['alert'][] = 'message:wrong_data:diakJogviszonyValtas:már van rögzítve státuszváltás a megadott dátum után!:'.$DJ['utana']; + return false; + } + + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + // A diák osztályai a változás napján + $osztalyIds = getDiakOsztalya($ADAT['diakId'], array('tanev' => $ADAT['tanev'], 'tolDt' => $ADAT['jogviszonyValtasDt'], 'igDt' => $ADAT['jogviszonyValtasDt'], 'result' => 'idonly')); + // A változás idején (vagy utána közvetlenül) érvényes szemeszter adatok + $szAdat = getSzemeszterByDt($ADAT['jogviszonyValtasDt'], 1); + switch ($ADAT['ujStatusz']) { + case 'jogviszonyban van': + if ($DJ['elotte'] == 'felvételt nyert') { // beiratkozás + + // diak tábla módosítása - jogviszonyKezdete + $q = "UPDATE diak SET statusz='jogviszonyban van',jogviszonyKezdete='%s',kezdoTanev=IFNULL(kezdoTanev,%u),kezdoSzemeszter=IFNULL(kezdoSzemeszter,%u) WHERE diakId=%u"; + $v = array($ADAT['jogviszonyValtasDt'], $szAdat['tanev'], $szAdat['szemeszter'], $ADAT['diakId']); + $r = db_query($q, array('fv' => 'diakJogviszonyValtas', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + if ($r===false) { db_rollback($lr, 'diak.jogviszonyKezdete - fail');db_close($lr);return false; } + + // Záradékolás - felvétel/beiratkozás + $In = getIntezmenyByRovidnev(__INTEZMENY); + $osztalyStr = array(); + if ($zaradekOsztallyal = (is_array($osztalyIds) && count($osztalyIds) > 0)) { + foreach ($osztalyIds as $key => $osztalyId) { + $osztalyAdat[$osztalyId] = getOsztalyAdat($osztalyId, $ADAT['tanev']); + $osztalyStr[] = $osztalyAdat[$osztalyId]['kezdoTanev'].'-'.($osztalyAdat[$osztalyId]['vegzoTanev']+1).'/'.$osztalyAdat[$osztalyId]['jel']; + } + } + $Z = array( + 'csere' => array( + '%iskola címe%' => $In['nev'].' ('.$In['cimIrsz'].' '.$In['cimHelyseg'].', '.$In['cimKozteruletNev'].' '.$In['cimKozteruletJelleg'].' '.$In['cimHazszam'].'.)', + '%osztály%' => implode(', ', $osztalyStr), + '%határozat száma%' => $ADAT['hatarozat'], + ), + 'zaradekIndex' => ($zaradekOsztallyal?$ZaradekIndex['jogviszony megnyitás']['felvétel osztályba'] : $ZaradekIndex['jogviszony megnyitás']['felvétel']) + ); + } + break; + case 'vendégtanuló': + break; + case 'magántanuló': + $Z = array('zaradekIndex' => $ZaradekIndex['jogviszony változás']['magántanuló']); + break; + case 'jogviszonya felfüggesztve': + $Z = array( +//20110610 'zaradekIndex' => $ADAT['zaradek']['felfüggesztés'], + 'zaradekIndex' => $ZaradekIndex['jogviszony változás']['felfüggesztés'], + 'csere' => array('%ok%' => $ADAT['felfuggesztesOk'], '%igDt%' => $ADAT['felfuggesztesIgDt']) + ); + break; + case 'jogviszonya lezárva': +/* Ezt előrébb vizsgáljuk + if (isset($DJ['utana'])) { // lezárás után nem lehet jogviszonybejegzés + $_SESSION['alert'][] = 'message:wrong_data:diakJogviszonyValtas:bejegyzett jogviszony változás előtt a jogviszony nem zárható le:'.$DJ['utana']; + db_rollback($lr); + db_close($lr); + return false; + } +*/ + + // diak tábla módosítása - jogviszonyVege + $q = "UPDATE diak SET jogviszonyVege='%s' WHERE diakId=%u"; + $v = array($ADAT['jogviszonyValtasDt'], $ADAT['diakId']); + $r = db_query($q, array('fv' => 'diakJogviszonyValtas', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + if ($r===false) { db_rollback($lr, 'diak.jogviszonyVege - fail');db_close($lr);return false; } + + // Osztályokból kivétel (Ez a tankörökből is kiveszi, ellenőrzi a jegyeket, hiányzásokat is a tanévekben) + foreach ($osztalyIds as $key => $osztalyId) { + $r = osztalyDiakTorol(array('osztalyId' => $osztalyId, 'diakId' => $ADAT['diakId'], 'tolDt' => $ADAT['jogviszonyValtasDt']), $lr); + if ($r===false) { db_rollback($lr, 'osztalyDiakTorol - fail');db_close($lr);return false; } + } + // Ha netán van olyan tankörtagsága, ami nem osztályhoz kötődik, akkor azt itt törölni kellene!!!! Például: vendégtanuló... + // akkor lejjebb töröljük + + // záradékolás + $Z = array( + 'zaradekIndex' => $ADAT['lezarasZaradekIndex'], + 'csere' => array('%igazolatlan órák száma%' => $ADAT['lezarasIgazolatlanOrakSzama'], '%iskola%' => $ADAT['lezarasIskola']) + ); + break; + + default: + $_SESSION['alert'][] = 'message:wrong_data:új statusz='.$ADAT['ujStatusz'].':diakJogviszonyValtas'; + db_rollback($lr, 'új statusz - wrong'); + db_close($lr); + return false; + break; + } + + // diakJogviszony tábla - bejegyzés + $q = "INSERT INTO diakJogviszony (diakId, statusz, dt) VALUES (%u, '%s', '%s')"; + $v = array($ADAT['diakId'], $ADAT['ujStatusz'], $ADAT['jogviszonyValtasDt']); + $r = db_query($q, array('fv' => 'diakJogviszonyValtas', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + if ($r===false) { db_rollback($lr, 'diakJogviszony - fail');db_close($lr);return false; } + + // Tankörökből való kiléptetés (lezárás esetén már megtörtént) + if ($ADAT['ujStatusz'] == 'jogviszonya felfüggesztve' || $ADAT['ujStatusz'] == 'jogviszonya lezárva') { + $tankorIds = getTankorByDiakId($ADAT['diakId'], $ADAT['tanev'], array('tolDt' => $ADAT['jogviszonyValtasDt'], 'override' => 'true', 'result' => 'idonly'), $lr); + if (is_array($tankorIds) && count($tankorIds) > 0) + $r = tankorDiakTorol(array( + 'diakId' => $ADAT['diakId'], 'utkozes' => 'torles', 'tankorIds' => $tankorIds, 'MIN_CONTROL' => false, 'tolDt' => $ADAT['jogviszonyValtasDt'] + ), $lr); + if ($r===false) { db_rollback($lr, 'tankorDiakTorol - fail');db_close($lr);return false; } + } elseif ($ADAT['ujStatusz'] == 'magántanuló') { + $tolDt = $ADAT['jogviszonyValtasDt']; + //törlés + $TH = $TJ = array(); + $HSUM = $JSUM = array(); + // A tol-ig dátumok által érintett aktív tanévek lekérdezése + $aktivTanevek = getTanevekByDtInterval($ADAT['jogviszonyValtasDt'], date('Y-m-d'), array('aktív')); + // Az érintett tanéveken végigmenve + foreach ($aktivTanevek as $key => $tanev) { + $TANKORIDS = getTankorByDiakId($ADAT['diakId'], $ADAT['tanev'], array('tolDt' => $tolDt, 'result' => 'idonly'), $lr); + if (is_array($TANKORIDS) && count($TANKORIDS) > 0) { + for ($i = 0; $i < count($TANKORIDS); $i++) { + $H = tankorDiakHianyzasIdk($ADAT['diakId'], $TANKORIDS[$i], $tanev, $tolDt, null); // tol-ig-et a függvény initTolIgDt hívással kapja + $J = tankorDiakJegyIdk(array('diakId'=>$ADAT['diakId'], 'tankorIds'=>$TANKORIDS[$i], 'tanev'=>$tanev, 'tolDt'=>$tolDt, 'igDt'=>null)); + if (is_array($H)) $HSUM = array_merge($HSUM,$H); + if (is_array($J)) $JSUM = array_merge($JSUM,$J); + } + // hiányzások és jegyek törlése... + $r = hianyzasTorles($HSUM, $tanev, $lr); + if ($r!==false) $r = jegyTorles($JSUM, null, $tanev, $lr); // különben úgyis rollback van + } + } + if ($r===false) { db_rollback($lr, 'hianyzasTorles/jegyTorles - fail');db_close($lr);return false; } + } + // Záradék rögzítés - ha van + if (isset($Z['zaradekIndex'])) { + $Z['diakId'] = $ADAT['diakId']; + $Z['iktatoszam'] = $ADAT['iktatoszam']; + $Z['dt'] = $ADAT['jogviszonyValtasDt']; + $r = zaradekRogzites($Z,$lr); + if ($r===false) { db_rollback($lr, 'zaradekRogzites - fail');db_close($lr);return false; } + } + // Ha ez az utolsó jogviszony állapot, akkor a diak tábla is módosítandó! + + db_commit($lr); + db_close($lr); + + checkDiakStatusz(); + + return true; + + } + + + function ujDiak($ADAT) { + + global $ZaradekIndex; + + $NOTNULL = array('viseltNevElotag','viseltCsaladinev','viseltUtonev','szuleteskoriNevElotag','szuleteskoriCsaladinev','szuleteskoriUtonev'); + +/* + $ADAT mezői: + jogviszonyKezdete - záradékolás és diakJogviszony miatt + osztalyId - Osztálybalépéshez (csak ha jogviszonyKezdete a dátum + felvetelTipus - beiratkozásra vár(statusz:felvételt nyert)|vendégtanuló(statusz:vendégtanuló)|más(statusz:jogviszonyban van) + zaradek - típusonként + osztaly - kezdoTanev/zaroTanev/jel + + hatarozat - iskolaváltás esetén + tabelFields - A diak tábla mezői - ez alapján engedélyezett a módosítás + intezmeny - Az intézmény adatai +*/ + if (is_array($ADAT['tableFields']))$FIELDS = $ADAT['tableFields']; + else $FIELDS = getTableFields('diak'); + if ($ADAT['felvetelTipus'] == 'beiratkozásra vár') { + $statusz = 'felvételt nyert'; + unset($ADAT['jogviszonyKezdete']); + } elseif ($ADAT['felvetelTipus'] == 'vendégtanuló') { + $statusz='vendégtanuló'; + unset($ADAT['osztalyId']); + } else + $statusz = 'jogviszonyban van'; + + foreach($ADAT as $attr => $value) { + if (array_key_exists($attr,$FIELDS) && !in_array($attr, array('action','diakId'))) { + $A[] = "$attr"; + if ($value=='' && !in_array($attr, $NOTNULL)) { + $P[]='null'; + } else { + $V[] = $value; + $P[] = "'%s'"; + } + } + } + $q = "INSERT INTO diak (statusz,".implode(',', $A).") VALUES ('".$statusz."',".implode(',',$P).')'; + $diakId = db_query($q, array('fv' => 'ujDiak', 'modul'=>'naplo_intezmeny', 'result' => 'insert', 'values' => $V)); + if ($diakId) { + if ($statusz == 'jogviszonyban van' || $statusz == 'vendégtanuló') { + // diakJogviszony tábla + $q = "INSERT INTO diakJogviszony (diakId, statusz, dt) VALUES (%u, '%s', '%s')"; + db_query($q, array('fv' => 'ujDiak/diakJogviszony', 'modul' => 'naplo_intezmeny', 'values' => array($diakId, $statusz, $ADAT['jogviszonyKezdete']))); + } // Ha csak felvételt nyert, akkor nincs jogviszony információ + // osztályba rakás + if (isset($ADAT['osztalyId'])) { + $q = "INSERT INTO osztalyDiak (osztalyId, diakId, beDt) VALUES (%u, %u, '%s')"; + db_query($q, array('fv' => 'ujDiak/osztalyDiak', 'modul' => 'naplo_intezmeny', 'values' => array($ADAT['osztalyId'], $diakId, $ADAT['jogviszonyKezdete']))); + } + // záradékolás + if (isset($ADAT['zaradek'][ $ADAT['felvetelTipus'] ])) { // A felvételt nyert típus nem záradékolandó + if (is_array($ADAT['intezmeny'])) $In = $ADAT['intezmeny']; + else $In = getIntezmenyByRovidnev(__INTEZMENY); + $Z = array( + 'diakId' => $diakId, + 'dt' => $ADAT['jogviszonyKezdete'], + 'csere' => array( + '%iskola címe%' => $In['nev'].' ('.$In['cimIrsz'].' '.$In['cimHelyseg'].', '.$In['cimKozteruletNev'].' '.$In['cimKozteruletJelleg'].' '.$In['cimHazszam'].'.)', + '%osztály%' => $ADAT['osztaly']['kezdoTanev'].'-'.($ADAT['osztaly']['vegzoTanev']+1).'/'.$ADAT['osztaly']['jel'], + '%határozat száma%' => $ADAT['hatarozat'], + ), + 'zaradekIndex' => $ADAT['zaradek'][ $ADAT['felvetelTipus'] ] + ); + zaradekRogzites($Z); + } + } + return $diakId; + + } + + function diakHozottHianyzas($ADAT) { + + if ($ADAT['diakId']!='') { + if ($ADAT['hozottHianyzasIgazolt']!=0) { + $q = "INSERT INTO `hianyzasHozott` (`diakId`,`statusz`,`dbHianyzas`,`dt`) VALUES (%u,'%s',%u,NOW())"; + $v = array($ADAT['diakId'],'igazolt',$ADAT['hozottHianyzasIgazolt']); + $result = db_query($q, array('fv' => 'diakAdatModositas', 'modul' => 'naplo', 'values' => $v)); + } + if ($ADAT['hozottHianyzasIgazolatlan']!=0) { + $q = "INSERT INTO `hianyzasHozott` (`diakId`,`statusz`,`dbHianyzas`,`dt`) VALUES (%u,'%s',%u,NOW())"; + $v = array($ADAT['diakId'],'igazolatlan',$ADAT['hozottHianyzasIgazolatlan']); + $result = db_query($q, array('fv' => 'diakAdatModositas', 'modul' => 'naplo', 'values' => $v)); + } + } + return $result; + } + + function diakAdatModositas($ADAT) { + + $FIELDS = getTableFields('diak'); + $NOTNULL = array('viseltNevElotag','viseltCsaladinev','viseltUtonev','szuleteskoriNevElotag','szuleteskoriCsaladinev','szuleteskoriUtonev'); + + $v = array(); + foreach($ADAT as $attr => $value) { + if (array_key_exists($attr,$FIELDS) && !in_array($attr, array('action','diakId'))) { + if ($value=='' && !in_array($attr, $NOTNULL)) { + $value='null'; + } else { + array_push($v, $value); + $value = "'%s'"; + } + $T[] = "$attr=$value"; + } + } + array_push($v, $ADAT['diakId']); + $q = "UPDATE diak SET ".implode(',', $T)." WHERE diakId=%u"; + return db_query($q, array('fv' => 'diakAdatModositas', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + } + + function diakJogviszonyBejegyzesTorles($ADAT) { + + $q = "DELETE FROM `diakJogviszony` WHERE `diakId`=%u AND `statusz`='%s' AND `dt`='%s'"; + $v = array($ADAT['diakId'], $ADAT['statusz'], $ADAT['dt']); + db_query($q, array('fv' => 'diakJogviszonyBejegyzesTorles/diakJogviszony', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + $q = "DELETE FROM `zaradek` WHERE `diakId` = %u AND `zaradekId` = %u"; + $v = array($ADAT['diakId'], $ADAT['zaradekId']); + db_query($q, array('fv' => 'diakJogviszonyBejegyzesTorles/zaradek', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function diakAdatkezelesModositas($ADAT) { + + $q = "INSERT IGNORE INTO diakAdatkezeles (diakId,kulcs,ertek) VALUES (%u,'%s','%s')"; + $v = array($ADAT['diakId'], $ADAT['kulcs'], $ADAT['ertek']); + return db_query($q, array('fv' => 'diakAdatkezelesModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function diakTorol($ADAT) { + + $q = "DELETE FROM diak WHERE statusz='felvételt nyert' AND diakId=%u"; + $v = array($ADAT['diakId']); + return db_query($q, array('fv' => 'diakTorol', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/dolgozat.php b/mayor-orig/www/include/modules/naplo/share/dolgozat.php new file mode 100644 index 00000000..a632d06d --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/dolgozat.php @@ -0,0 +1,133 @@ + array(...), + 'tervezett' => array(...), + $tankorId => array( + 'bejelentés'=> ..., + 'tervezett' => array($dt => array(...)), + 'megjegyzés' => ..., + 'tankör' => array(array('id','leírás'), ...) + ) + ) + + function ujDolgozat($tanarId, $tankorId, $olr = '') + +*/ + + // --------------------------------------------------------- // + + function checkTankorDolgozata($tankorId, $dolgozatId, $olr = '') { + + + if ($dolgozatId == 'uj') { + // Az új dolgozat csak ez után lesz létrehozva (jegybeírás) + return true; + } else { + // ellenőrizzük, hogy a megadott dolgozatId valóban egy ehhez a tankörhöz tartozó did-e. + $q = "SELECT COUNT(dolgozatId) FROM dolgozat LEFT JOIN tankorDolgozat USING (dolgozatId) + WHERE dolgozat.dolgozatId = %u AND tankorId = %u"; + $v = array($dolgozatId, $tankorId); + return (1 == db_query($q, array('fv' => 'checkTankorDolgozata', 'modul' => 'naplo', 'values' => $v, 'result' => 'value'), $olr)); + } + + } + + // --------------------------------------------------------- // + + function getTankorDolgozatok($tankorId, $csakTervezett = false, $tolDt = null, $igDt = null, $olr = null) { + + $return = array(); + + initTolIgDt(__TANEV, $tolDt, $igDt); + $tankorIds = array(); + if (!is_array($tankorId) && $tankorId != '') $tankorIds = array($tankorId); + elseif (is_array($tankorId[0])) for ($i = 0; $i < count($tankorId); $i++) $tankorIds[] = $tankorId[$i]['tankorId']; + elseif (is_array($tankorId)) $tankorIds = $tankorId; + else return false; + + if (count($tankorIds) > 0) { + $v = $tankorIds; + if ($csakTervezett) { + $q = "SELECT * FROM dolgozat LEFT JOIN tankorDolgozat USING (dolgozatId) + WHERE tankorDolgozat.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND '%s' <= tervezettDt AND tervezettDt <= '%s' + ORDER BY tervezettDt, bejelentesDt"; + array_push($v, $tolDt, $igDt); + } else { + $q = "SELECT * FROM dolgozat LEFT JOIN tankorDolgozat USING (dolgozatId) + WHERE tankorDolgozat.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + ORDER BY tervezettDt, bejelentesDt"; + } + $return = db_query($q, array('fv' => 'getTankorDolgozatok', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'dolgozatId', 'values' => $v), $olr); + $dolgozatIds = $tervezett = array(); + foreach ($return as $dolgozatId => $dolgozatAdat) { + $dolgozatIds[] = $dolgozatId; + if ($dolgozatAdat['tervezettDt'] != '') $tervezett[$dolgozatAdat['tervezettDt']][] = $dolgozatId; + } + $return['dolgozatIds'] = $dolgozatIds; + $return['tervezett'] = $tervezett; + if (count($dolgozatIds) > 0) { + $q = "SELECT DISTINCT dolgozatId, tankorId, tankorNev + FROM tankorDolgozat LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE tanev=".__TANEV." + AND dolgozatId IN (".implode(',', array_fill(0, count($dolgozatIds), '%u')).")"; + $Tankorok = db_query($q, array('fv' => 'getTankorDolgozatok', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'dolgozatId', 'values' => $dolgozatIds), $olr); + foreach ($Tankorok as $dolgozatId => $dolgozatTankorei) { + $return[$dolgozatId]['tankor'] = $dolgozatTankorei; + } + } + } + return $return; + + } + + // --------------------------------------------------------- // + + function ujDolgozat($tanarId, $tankorId, $olr = null) { + + $q = "INSERT INTO dolgozat (bejelentesDt, dolgozatNev, modositasDt) VALUES (now(),'%s',now())"; + $v = array( 'Dolgozat '.date('Y-m-d H:i:s') ); + $dolgozatId = db_query($q, array('fv' => 'ujDolgozat/1', 'modul' => 'naplo', 'result' => 'insert', 'values'=>$v), $olr); + + $q = "INSERT INTO tankorDolgozat (dolgozatId, tankorId) VALUES (%u, %u)"; + $v = array($dolgozatId, $tankorId); + db_query($q, array('fv' => 'ujDolgozat/2', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v), $olr); + + return $dolgozatId; + + } + + function getDolgozatAdat($dolgozatId, $olr = null) { + + if ($dolgozatId=='') return false; + $lr = (!is_resource($olr)) ? db_connect('naplo') : $olr; + $q = "SELECT * FROM dolgozat WHERE dolgozatId = %u"; + $v = array($dolgozatId); + $RET = db_query($q, array('fv' => 'getDolgozatAdat', 'modul' => 'naplo', 'result' => 'record', 'values' => $v), $lr); + + $q = "SELECT tankorId FROM tankorDolgozat WHERE dolgozatId = %u"; + $v = array($dolgozatId); + $r = db_query($q, array('fv' => 'getDolgozatAdat', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + for ($i=0; $i 'getDolgozatAdat', 'modul' => 'naplo', 'result' => 'record', 'values' => $v), $lr); + + if (!is_resource($olr)) db_close($lr); + + return $RET; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/ertekeles.php b/mayor-orig/www/include/modules/naplo/share/ertekeles.php new file mode 100644 index 00000000..6d9b3cf2 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/ertekeles.php @@ -0,0 +1,60 @@ + 0, // semmi + 1 => 2, // szóbeli osztályfőnöki figyelmeztetés + 2 => 3, // osztályfőnöki figyelmeztetés + 3 => 4, // osztályfőnöki intő + 4 => 5, // osztályfőnöki rovó + 5 => 6, // igazgatói figyelmeztető (szülő értesítése) + 6 => 0, // semmi + 7 => 7, // igazgatói intő + 8 => 0, // semmi + 9 => 8, // igazgatói rovó + 10 => 0, // igazgatói rovó + 11 => 9 // fegyelmi eljárás + ); + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/esemeny.php b/mayor-orig/www/include/modules/naplo/share/esemeny.php new file mode 100644 index 00000000..ab68f99b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/esemeny.php @@ -0,0 +1,216 @@ +'ujEsemeny','modul'=>'naplo','values'=>$v,'result'=>'insert')); + // Ha tanár veszi fel, akkor őt rögtön rendeljük hozzá! + if (is_numeric($esemenyId) && __TANAR) { + $q = "INSERT INTO esemenyTanar (esemenyId, tanarId) VALUES (%u,%u)"; + $v = array($esemenyId, __USERTANARID); + db_query($q, array('fv'=>'ujEsemenyModositas/insTanar','modul'=>'naplo','values'=>$v)); + } + return $esemenyId; + } + + function getEsemenyAdat($esemenyId) { + $v = array($esemenyId); + $q = "SELECT * FROM esemeny WHERE esemenyId=%u"; + $ret = db_query($q, array('fv'=>'getEsemenyAdat','modul'=>'naplo','values'=>$v,'result'=>'record')); + $q = "SELECT osztalyId FROM esemenyOsztaly WHERE esemenyId=%u"; + $ret['osztalyIds'] = db_query($q, array('fv'=>'getEsemenyAdat/osztaly','modul'=>'naplo','values'=>$v,'result'=>'idonly')); + $q = "SELECT tanarId FROM esemenyTanar WHERE esemenyId=%u"; + $ret['tanarIds'] = db_query($q, array('fv'=>'getEsemenyAdat/tanar','modul'=>'naplo','values'=>$v,'result'=>'idonly')); + $q = "SELECT esemenyDiak.*, TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladinev, viseltUtonev)) AS diakNev + FROM esemenyDiak LEFT JOIN ".__INTEZMENYDBNEV.".diak USING (diakId) WHERE esemenyId=%u ORDER BY diakNev"; + $ret['diakok'] = db_query($q, array('fv'=>'getEsemenyAdat/diak','modul'=>'naplo','values'=>$v,'result'=>'indexed')); + $ret['diakIds'] = array(); + if (is_array($ret['diakok'])) foreach ($ret['diakok'] as $dAdat) $ret['diakIds'][] = $dAdat['diakId']; + + return $ret; + } + + function esemenyModositas($ADAT) { + + $lr = db_connect('naplo'); + db_start_trans($lr); + + // osztály-hozzárendelések törlése + $q = "DELETE FROM esemenyOsztaly WHERE esemenyId=%u"; + $v = array($ADAT['esemenyId']); + $ok = db_query($q, array('fv'=>'esemenyModositas/delOsztaly','modul'=>'naplo','values'=>$v), $lr); + // TODO: diák-hozzárendelés alapján kiegészítendő az osztalyid-k listája! + if (is_array($ADAT['esemenyOsztaly']) && count($ADAT['esemenyOsztaly'])>0) { + // osztály-hozzárendelések felvétele + $q = "INSERT INTO esemenyOsztaly (esemenyId, osztalyId) VALUES (".implode('),(', array_fill(0, count($ADAT['esemenyOsztaly']), '%u,%u')).")"; + $v = array(); + foreach ($ADAT['esemenyOsztaly'] as $osztalyId) { $v[] = $ADAT['esemenyId']; $v[] = $osztalyId; } + $ok = $ok && db_query($q, array('fv'=>'esemenyModositas/insOsztaly','modul'=>'naplo','values'=>$v), $lr); + } + + // tanár-hozzárendelések törlése + $q = "DELETE FROM esemenyTanar WHERE esemenyId=%u"; + $v = array($ADAT['esemenyId']); + $ok = $ok && db_query($q, array('fv'=>'esemenyModositas/delTanar','modul'=>'naplo','values'=>$v), $lr); + if (is_array($ADAT['esemenyTanar']) && count($ADAT['esemenyTanar'])>0) { + // tanár-hozzárendelések felvétele + $q = "INSERT INTO esemenyTanar (esemenyId, tanarId) VALUES (".implode('),(', array_fill(0, count($ADAT['esemenyTanar']), '%u,%u')).")"; + $v = array(); + foreach ($ADAT['esemenyTanar'] as $tanarId) { $v[] = $ADAT['esemenyId']; $v[] = $tanarId; } + $ok = $ok && db_query($q, array('fv'=>'esemenyModositas/insTanar','modul'=>'naplo','values'=>$v), $lr); + } + + // esemeny alapadatainak módosítása + $q = "UPDATE esemeny SET esemenyRovidnev='%s', esemenyNev='%s', esemenyKategoria='%s', esemenyLeiras='%s', + jelentkezesTolDt='%s', jelentkezesIgDt='%s', max=%u, min=%u + WHERE esemenyId=%u"; + $v = array( + $ADAT['esemenyRovidnev'], $ADAT['esemenyNev'], $ADAT['esemenyKategoria'], $ADAT['esemenyLeiras'], + $ADAT['jelentkezesTolDt'], $ADAT['jelentkezesIgDt'], $ADAT['max'], $ADAT['min'], + $ADAT['esemenyId'], + ); + $ok = $ok && db_query($q, array('fv'=>'esemenyModositas/mod','modul'=>'naplo','values'=>$v), $lr); + + if ($ok) db_commit($lr); + else db_rollback($lr); + + db_close($lr); + + return $ok; + + + } + + function getEsemenyLista() { + + $q = "SELECT * FROM esemeny ORDER BY esemenyRovidnev"; + return db_query($q, array('fv'=>'getEsemenyLista','modul'=>'naplo','values'=>array(),'result'=>'indexed')); + + } + + function esemenyTorles($esemenyId) { + + $lr = db_connect('naplo'); + db_start_trans($lr); + + // tanár-hozzárendelések törlése + $q = "DELETE FROM esemenyTanar WHERE esemenyId=%u"; + $v = array($esemenyId); + $ok = db_query($q, array('fv'=>'esemenyTorles/delTanar','modul'=>'naplo','values'=>$v), $lr); + + // diák-hozzárendelések törlése + $q = "DELETE FROM esemenyDiak WHERE esemenyId=%u"; + $v = array($esemenyId); + $ok = $ok && db_query($q, array('fv'=>'esemenyTorles/delDiak','modul'=>'naplo','values'=>$v), $lr); + + // osztály-hozzárendelések törlése + $q = "DELETE FROM esemenyOsztaly WHERE esemenyId=%u"; + $v = array($esemenyId); + $ok = $ok && db_query($q, array('fv'=>'esemenyTorles/delOsztaly','modul'=>'naplo','values'=>$v), $lr); + + // az esemeny törlése + $q = "DELETE FROM esemeny WHERE esemenyId=%u"; + $v = array($esemenyId); + $ok = $ok && db_query($q, array('fv'=>'esemenyTorles/delEsemeny','modul'=>'naplo','values'=>$v), $lr); + + if ($ok) db_commit($lr); + else db_rollback($lr); + + db_close($lr); + + return $ok; + + } + + function getAktualisEsemenyByOsztaly($osztalyIds) { + + $q = "SELECT * FROM esemeny LEFT JOIN esemenyOsztaly USING (esemenyId) WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).")"; + $ret = db_query($q, array('fv'=>'getAktualisEsemenyByOsztaly','modul'=>'naplo','values'=>$osztalyIds, 'result'=>'indexed')); + + for ($i=0; $i'getAktualisEsemenyByOsztaly/letszam','modul'=>'naplo','values'=>array($ret[$i]['esemenyId']), 'result'=>'value')); + } + + return $ret; + } + + function getValasztottEsemenyek($diakId, $SET = array('esemenyIds' => null)) { + + $q = "SELECT esemenyId FROM esemeny LEFT JOIN esemenyDiak USING (esemenyId) WHERE diakId=%u"; + $v = array($diakId); + if (is_array($SET['esemenyIds'])) { + $q .= " AND esemenyId IN (".implode(',', array_fill(0, count($SET['esemenyIds']), '%u')).")"; + foreach ($SET['esemenyIds'] as $eId) $v[] = $eId; + } + return db_query($q, array('fv'=>'getValasztottEsemenyek','modul'=>'naplo','values'=>$v, 'result'=>'idonly')); + } + + function getJovahagyottEsemenyek($diakId, $SET = array('esemenyIds' => null)) { + + $q = "SELECT esemenyId FROM esemeny LEFT JOIN esemenyDiak USING (esemenyId) WHERE diakId=%u AND jovahagyasDt!='0000-00-00 00:00:00'"; + $v = array($diakId); + if (is_array($SET['esemenyIds'])) { + $q .= " AND esemenyId IN (".implode(',', array_fill(0, count($SET['esemenyIds']), '%u')).")"; + foreach ($SET['esemenyIds'] as $eId) $v[] = $eId; + } + return db_query($q, array('fv'=>'getJovahagyottEsemenyek','modul'=>'naplo','values'=>$v, 'result'=>'idonly')); + } + + function esemenyJelentkezes($diakId, $esemenyId) { + + $lr = db_connect('naplo'); + db_start_trans($lr); + + // A max lekérdezése + $q = "SELECT max, COUNT(diakId) AS count FROM esemeny LEFT JOIN esemenyDiak USING (esemenyId) WHERE esemenyId=%u GROUP BY max"; + $v = array($esemenyId); + $ret = db_query($q, array('fv'=>'esemenyJelentkezes/max,count','modul'=>'naplo','values'=>$v,'result'=>'record'), $lr); + + if ($ret['count'] < $ret['max']) { + $q = "INSERT INTO esemenyDiak (diakId, esemenyId, jelentkezesDt, jovahagyasDt) VALUES (%u, %u, NOW(), '0000-00-00 00:00:00')"; + $v = array($diakId, $esemenyId); + $ok = db_query($q, array('fv'=>'esemenyJelentkezes','modul'=>'naplo','values'=>$v), $lr); + } else { + $ok = false; + $_SESSION['alert'][] = 'message:wrong_data:Maximális létszám = '.$ret['max']; + } + + if ($ok) db_commit($lr); + else db_rollback($lr); + + db_close($lr); + + return $ok; + } + + function esemenyLeadas($diakId, $esemenyId) { + + $q = "DELETE FROM esemenyDiak WHERE diakId=%u AND esemenyId=%u"; + $v = array($diakId, $esemenyId); + return db_query($q, array('fv'=>'esemenyLeadas','modul'=>'naplo','values'=>$v)); + + + } + + function jelentkezesJovahagyas($diakId, $esemenyId) { + + $q = "UPDATE esemenyDiak SET jovahagyasDt=NOW() WHERE diakId=%u AND esemenyId=%u"; + $v = array($diakId, $esemenyId); + return db_query($q, array('fv'=>'jelentkezesJovahagyas','modul'=>'naplo','values'=>$v)); + + } + + function jelentkezesElutasitas($diakId, $esemenyId) { + + $q = "UPDATE esemenyDiak SET jovahagyasDt='0000-00-00 00:00:00' WHERE diakId=%u AND esemenyId=%u"; + $v = array($diakId, $esemenyId); + return db_query($q, array('fv'=>'jelentkezesElutasitas','modul'=>'naplo','values'=>$v)); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/file.php b/mayor-orig/www/include/modules/naplo/share/file.php new file mode 100644 index 00000000..197ed498 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/file.php @@ -0,0 +1,662 @@ + _ATTR_DIAKID, + 'oid' => _ATTR_OID, + 'diakigazolvanyszam' => _ATTR_IGAZOLVANYSZAM, + 'viseltnevelotag' => _ATTR_VNE, + 'viseltcsaladinev' => _ATTR_VCSN, + 'viseltutonev' => _ATTR_VUN, + 'szuleteskorinevelotag' => _ATTR_SZNE, + 'szuleteskoricsaladinev' => _ATTR_SZCSN, + 'szuleteskoriutonev' => _ATTR_SZUN, + 'szuletesihely' => _ATTR_SZH, + 'szuletesiido' => _ATTR_SZI, + 'anyanevelotag' => _ATTR_ANE, + 'anyacsaladinev' => _ATTR_ACSN, + 'anyautoneve' => _ATTR_AUN, + 'kezdotanev' => _ATTR_KEZDO_TANEV, + 'kezdoszemeszter' => _ATTR_KEZDO_SZEMESZTER, + 'vegzotanev' => _ATTR_VEGZO_TANEV, + 'vegzoszemeszter' => _ATTR_VEGZO_SZEMESZTER, + 'adoazonosito' => _ATTR_ADOAZONOSITO, + 'allampolgarsag' => _ATTR_ALLAMPOLGARSAG, + 'anyaid' => _ATTR_ANYAID, + 'apaid' => _ATTR_APAID, + 'gondviseloid' => _ATTR_GONDVISELOID, + 'neveloid' => _ATTR_NEVELOID, + 'diaknaplosorszam' => _ATTR_DIAKNAPLOSORSZAM, + 'elozoiskolaomkod' => _ATTR_ELOZOISKOLAOMKOD, + 'email' => _ATTR_EMAIL, + 'fogyatekossag' => _ATTR_FOGYATEKOSSAG, + 'gondozasiszam' => _ATTR_GONDOZASISZAM, + 'jogviszonykezdete' => _ATTR_JOGVISZONYKEZDETE, + 'jogviszonyvege' => _ATTR_JOGVISZONYVEGE, + + 'lakhelyorszag' => _ATTR_LAKHELY_ORSZAG, + 'lakhelyirsz' => _ATTR_LAKHELY_IRSZ, + 'lakhelyhelyseg' => _ATTR_LAKHELY_HELYSEG, + 'lakhelykozteruletnev' => _ATTR_LAKHELY_KOZTERULETNEV, + 'lakhelykozteruletjelleg' => _ATTR_LAKHELY_KOZTERULETJELLEG, + 'lakhelyhazszam' => _ATTR_LAKHELY_HAZSZAM, + 'lakhelyemelet' => _ATTR_LAKHELY_EMELET, + 'lakhelyajto' => _ATTR_LAKHELY_AJTO, + + 'tartorszag' => _ATTR_TART_ORSZAG, + 'tartirsz' => _ATTR_TART_IRSZ, + 'tarthelyseg' => _ATTR_TART_HELYSEG, + 'tartkozteruletnev' => _ATTR_TART_KOZTERULETNEV, + 'tartkozteruletjelleg' => _ATTR_TART_KOZTERULETJELLEG, + 'tarthazszam' => _ATTR_TART_HAZSZAM, + 'tartemelet' => _ATTR_TART_EMELET, + 'tartajto' => _ATTR_TART_AJTO, + + 'tajszam' => _ATTR_TAJSZAM, + 'osztalyjel' => _ATTR_OSZTALYJEL, + 'penzugyistatusz' => _ATTR_PENZUGYISTATUSZ, + 'szemelyiigazolvanyszam' => _ATTR_SZEMELYIIGAZOLVANYSZAM, + 'szocialishelyzet' => _ATTR_SZOCIALISHELYZET, + 'statusz' => _ATTR_STATUSZ, + 'tartozkodasiokiratszam' => _ATTR_TARTOZKODASIOKIRATSZAM, + 'torvenyeskepviselo' => _ATTR_TORVENYESKEPVISELO, + 'telefon' => _ATTR_TELEFON, + 'mobil' => _ATTR_MOBIL, + 'nem' => _ATTR_NEM, + 'lakohelyijellemzo' => _ATTR_LAKOHELYIJELLEMZO, + 'megjegyzes' => _ATTR_MEGJEGYZES, + ); + + function readUpdateFile($fileName, $mezo_elvalaszto = ' ') { + + + $ADATOK = array(); + if ($fp = @fopen($fileName,'r')) { + // Az első 50 sor beolvasása - minta a mező-hozzárendeléshez + $i=0; + while (($sor = fgets($fp,1024)) and ($i<50)) { + $ADATOK[$i] = explode($mezo_elvalaszto,chop($sor)); + $i++; + } + fclose($fp); + } else { + $_SESSION['alert'][] = 'message:file_open_error:'.$fileName; + } + + return $ADATOK; + } +/* + * Lekérdezi egy adatbázis (naplo_intezmeny, naplo (tanév)) egy adott táblájának mezőit. + * Ha szükséges ezek listáját kiegészíti az extraAttrs tömbben felsorolt mezőkkel. + * A mezőnevekhez nyelvi konstansokat rendelhetünk ($Attrs tömb és lang/.../share/file.php) + */ + function getTableFields($table, $db = 'naplo_intezmeny', $extraAttrs = array(), $SET = array('withType' => false)) { + + global $Attrs; + + $return = $type = $name = array(); + $q = "SHOW FIELDS FROM `%s`"; + $r = db_query($q, array('fv' => 'getTableFields','modul' => $db, 'result' => 'indexed', 'values' => array($table))); + for ($i = 0; $i < count($r); $i++) { + if ($SET['withType']) { + if (substr($r[$i]['Type'],0,7) == 'varchar') $type[ $r[$i]['Field'] ] = 'string'; + elseif (substr($r[$i]['Type'],0,4) == 'enum') $type[ $r[$i]['Field'] ] = 'enum'; + elseif (substr($r[$i]['Type'],0,4) == 'date') $type[ $r[$i]['Field'] ] = 'date'; + elseif (strpos($r[$i]['Type'],'int(') !== false) $type[ $r[$i]['Field'] ] = 'int'; + else $type[ $r[$i]['Field'] ] = 'string'; + } + if ($Attrs[kisbetus($r[$i]['Field'])] != '') $name[$r[$i]['Field']] = $Attrs[kisbetus($r[$i]['Field'])]; + else $name[$r[$i]['Field']] = $r[$i]['Field']; + } + for ($i = 0; $i < count($extraAttrs); $i++) { + if (!isset($name[$extraAttrs[$i]])) { + if ($Attrs[kisbetus($extraAttrs[$i])] != '') $name[$extraAttrs[$i]] = $Attrs[kisbetus($extraAttrs[$i])]; + else $name[$extraAttrs[$i]] = $extraAttrs[$i]; + } + } + ksort($name); + + if ($SET['withType']) return array('names' => $name, 'types' => $type); + return $name; + + } + + + function getEnumField($modul, $table, $field) { + + $table = '`'.str_replace('.','`.`',$table).'`'; + $q = "SHOW FIELDS FROM %s LIKE '%s'"; + $v = array($table, $field); + $field = db_query($q, array('fv' => 'getEnumField', 'modul' => $modul, 'result' => 'record', 'values' => $v)); + $enum = substr($field['Type'], 6, -2); + $values = explode("','", $enum); + + return $values; + } + + function getSetField($modul, $table, $field) { + + $table = '`'.str_replace('.','`.`',$table).'`'; + $q = "SHOW FIELDS FROM %s LIKE '%s'"; + $v = array($table, $field); + $field = db_query($q, array('fv' => 'getSetField', 'modul' => $modul, 'result' => 'record', 'values' => $v)); + $set = substr($field['Type'], 5, -2); + $values = explode("','", $set); + + return $values; + } + + + function updateTable($table, $file, $MEZO_LISTA, $KULCS_MEZOK, $mezo_elvalaszto = ' ', $rovatfej = false, $db = 'naplo_intezmeny') { + + + if (!file_exists($file)) { + $_SESSION['alert'][] = 'message:file_not_found:updateTable:'.$file; + return false; + } + + if (!is_array($MEZO_LISTA)) { + $_SESSION['alert'][] = 'message:wrong_data:updateTable:MEZO_LISTA'; + return false; + } + + if (!is_array($KULCS_MEZOK)) { + $_SESSION['alert'][] = 'message:wrong_data:updateTable:KULCS_MEZOK'; + return false; + } + + // A frissítendő attribútumok listája + $attrList = array_values(array_filter($MEZO_LISTA)); + + $fp = fopen($file,'r'); + if (!$fp) { + $_SESSION['alert'][] = 'message:file_open_error:updateTable:'.$file; + return false; + } + + $lr = db_connect($db, array('fv' => 'updateTable')); + if (!$lr) { + $_SESSION['alert'][] = 'message:db_connect_failure:updateTable'; + fclose($fp); + return false; + } + db_start_trans($lr); + + // Az első sor kihagyása + if ($rovatfej) $sor = fgets($fp,1024); + while ($sor = fgets($fp,1024)) { + + $insertValues = $insertPatterns = array(); + $adatSor = explode($mezo_elvalaszto,chop($sor)); + $update = false; + + // keresési feltétel összerakása + $where = $v = $vw = array(); + for ($i = 0; $i < count($KULCS_MEZOK); $i++) { + if ($adatSor[$KULCS_MEZOK[$i]] != '') { + $where[] = "`%s`='%s'"; + array_push($vw, $MEZO_LISTA[$KULCS_MEZOK[$i]], $adatSor[$KULCS_MEZOK[$i]]); + } + } + $num = 0; + if (count($where) != 0) { + $q = 'SELECT COUNT(*) FROM `%s` WHERE '.implode(' AND ', $where); + array_unshift($vw, $table); + $num = db_query($q, array('fv' => 'updateTable', 'values' => $vw, 'result' => 'value', 'modul' => $db), $lr); + } + if ($num == 1 && _SKIP_ON_DUP === true) { $_SESSION['alert'][] = 'info:_SKIP_ON_DUP:'.serialize($sor); continue; } + if ($num == 1) { // update + $v = $vw; + array_shift($v); //$table kivétele + $UPDATE = array(); + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ( + $MEZO_LISTA[$i] != '' + and $adatSor[$i] != '' + and !in_array($i,$KULCS_MEZOK) + ) { + if ($adatSor[$i] == '\N') { + array_unshift($UPDATE, "`%s`=NULL"); + array_unshift($v, $MEZO_LISTA[$i]); + } else { + array_unshift($UPDATE, "`%s`='%s'"); + array_unshift($v, $MEZO_LISTA[$i], $adatSor[$i]); + } + } + } + if (count($UPDATE) > 0) { + array_unshift($v, $table); + $q = 'UPDATE `%s` SET '.implode(',',$UPDATE).' WHERE '.implode(' AND ', $where); + $r = db_query($q, array('fv' => 'updateTable/update', 'values' => $v, 'modul' => $db, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + return false; + } + } + } elseif ($num == 0) { // insert + for ($i = 0; $i < count($MEZO_LISTA); $i++) { + if ($MEZO_LISTA[$i] != '') { + if ($adatSor[$i] == '\N') { + $insertValues[] = 'NULL'; + $insertPatterns[] = '%s'; + } else { + $insertValues[] = $adatSor[$i]; + $insertPatterns[] = "'%s'"; + } + } + } + $q = 'INSERT INTO `%s` ('.implode(',', array_fill(0, count($attrList), '%s')).') + VALUES ('.implode(',', $insertPatterns).')'; + $v = mayor_array_join(array($table), $attrList, $insertValues); + $r = db_query($q, array('fv' => 'updateTable/insert', 'modul' => $db, 'values' => $v, 'rollback' => true), $lr); + if (!$r) { + db_close($lr); + return false; + } + } else { + $_SESSION['alert'][] = 'message:wrong_data:updateTable:több illeszkedő rekord is van, túl laza a kulcs feltétel (' + .call_user_func_array('sprintf', array_merge(array('%s tábla, '.implode(' AND ',$where)), $vw)).')'; + db_rollback($lr); + db_close($lr); + return false; + } + } // while + db_commit($lr); + db_close($lr); + + fclose($fp); + + } + + function generatePDF($outputFile, $outputDir, $str, $booklet=false) { + + + // A szöveg file-ba írása + if (!$fp = fopen($outputDir.'/'.$outputFile.'-u8.tex', 'w')) { + $_SESSION['alert'][] = 'message:file_open_failure:generatePDF:'.$outputDir.'/'.$outputFile.'-u8.tex'; + return false; + } + if (!fwrite($fp, $str)) { + $_SESSION['alert'][] = 'message:file_write_failure:generatePDF:'.$outputDir.'/'.$outputFile.'-u8.tex'; + return false; + } + fclose($fp); + if (__NYOMTATAS_XETEX===true) { + $ret = exec('cd '.$outputDir.'; cat < '.$outputFile.'.tex +%\font\kicsi=ecrm0500 +%\font\nagy=ecbx1200 +%\font\vastag=ecsx0800 +%\font\nagyss=ecsx1200 +%\font\normal=ecss0800 +%\font\dolt=ecsi0800 + +\font\kicsi="Linux Libertine O" at 5pt +\font\nagy="Linux Libertine O/B" at 12pt +\font\nagyss="Arial/B" at 12pt +\font\normal="Linux Biolinum O" at 8pt +\font\dolt="Linux Biolinum O/I" at 8pt +\normal + +EOF +'); + $ret = exec('cd '.$outputDir.'; cat '.$outputFile.'-u8.tex >> '.$outputFile.'.tex'); + $ret = exec('cd '.$outputDir.'; xetex -fmt '._MAYOR_DIR.'/print/module-naplo/xetex/mayor-xetex '.$outputFile.'.tex'); +#ex -fmt '._MAYOR_DIR.'/print/module-naplo/tex/mayor '.$outputFile.'.tex'); + } else { + // utf8 --> cork (t1) + $ret = exec('cd '.$outputDir.'; cat '.$outputFile.'-u8.tex | recode u8..T1 > '.$outputFile.'.tex'); + // DVI, PS, PFD generálás (a rotate miatt nem megy a pdftex közvetlenül :o( + $ret = exec('cd '.$outputDir.'; tex -fmt '._MAYOR_DIR.'/print/module-naplo/tex/mayor '.$outputFile.'.tex'); + if ($ret === false) { $_SESSION['alert'][] = 'message:futási_hiba:generatePDF:tex'; return false; } +# LOG $ret = exec('cd '.$outputDir.'; dvips '.$outputFile.'.dvi 2>&1 | tee -a /tmp/x.log '); + $ret = exec('HOME=/tmp && export HOME && cd '.$outputDir.'; dvips '.$outputFile.'.dvi '); + if ($ret === false) { $_SESSION['alert'][] = 'message:futási_hiba:generatePDF:ps'; return false; } + $ret = exec('cd '.$outputDir.'; ps2pdf -sPAPERSIZE=a4 -dAutoRotatePages=/None '.$outputFile.'.ps'); + if (strpos($ret, 'error') !== false) { $_SESSION['alert'][] = 'message:futási_hiba:generatePDF:pdf'; return false; } + + } + if ($booklet) { + $ret = exec('cd '.$outputDir.'; mv '.$outputFile.'.pdf '.$outputFile.'-A4.pdf; pdfbook --short-edge --outfile '.$outputFile.'.pdf '.$outputFile.'-A4.pdf'); + } + return true; + } + + function generateXLS($fileName, $Table, $title) { + + global $policy, $page, $sub, $f; + + if (dirname($fileName) == '.') $fileName = _DOWNLOADDIR."/$policy/$page/$sub/$f/$fileName"; + $fp = fopen($fileName, 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:file_open_failure:'.$fileName; + return false; + } + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + fputs($fp, ' '."\r\n" + .' '."\r\n" + .' '."\r\n" + ."\r\n".' '."\r\n"); + + fputs($fp, ''."\r\n"); + fputs($fp, ''."\r\n"); + + for ($i = 0; $i < count($Table); $i++) { + fputs($fp, ' '."\r\n"); + foreach ($Table[$i] as $index => $value) { + if (is_numeric($value)) + fputs($fp, " ".$value."\r\n"); + elseif (strtotime($value)) + if (strlen($value) > 10) { + fputs($fp, " ".str_replace(' ','T',$value).'.000'."\r\n"); + } else { + fputs($fp, " ".$value.'T08:40:00.000'."\r\n"); + } + else + fputs($fp, " ".$value."\r\n"); + } + fputs($fp, ' '."\r\n"); + } + + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + fputs($fp, '
'."\r\n"); + + fclose($fp); + return true; + + } + + function generateCSV($fileName, $Table, $title, $mezoElvalaszto=' ') { + + global $policy, $page, $sub, $f; + + if (dirname($fileName) == '.') $fileName = _DOWNLOADDIR."/$policy/$page/$sub/$f/$fileName"; + $fp = fopen($fileName, 'w'); + if (!$fp) { + $_SESSION['alert'][] = 'message:file_open_failure:'.$fileName; + return false; + } + + if ($title !='') fputs($fp, $title."\n"); + for ($i = 0; $i < count($Table); $i++) fputs($fp, implode($mezoElvalaszto, $Table[$i])."\n"); + + fclose($fp); + return true; + + } + + function generateODS($fileName, $Table, $title) { + + global $policy, $page, $sub, $f; + + if (dirname($fileName) == '.') $fileName = _DOWNLOADDIR."/$policy/$page/$sub/$f/$fileName"; + define('TMPZIP','/tmp/'.substr(basename($fileName), 0, strpos(basename($fileName), '.'))); + define('ODS_MIMETIPE','application/vnd.oasis.opendocument.spreadsheet'); + define('ODS_MANIFEST',' + + + +'); + define('ODS_START_XMLDOCUMENT',' +'); + define('ODS_ASTYLES',' + + + - + + - + + + + '); + define('ODS_START_SPREADSHEET',''); + define('ODS_START_TABLE',''); + define('ODS_START_ROW',''); + define('ODS_END_ROW',''); + define('ODS_END_TABLE',''); + define('ODS_END_SPREADSHEET',''); + define('ODS_END_XMLDOCUMENT',''); + + $content = ODS_START_XMLDOCUMENT . ODS_ASTYLES . ODS_START_SPREADSHEET . ODS_START_TABLE; + for ($i = 0; $i < count($Table); $i++) { + $content .= ODS_START_ROW; + foreach ($Table[$i] as $index => $value) { + if (is_numeric($value)) + $content .= ''."\n"; + elseif (strtotime($value)) + if (strlen($value) > 10) { + $content .= ''."\n"; + } else { + $content .= ''."\n"; + } + elseif ($value[0] == '=') $content .= ''."\n"; + // formula példa: $value = 'of:=SUM([.A1:.B1])*2+[.A1]' + else $content .= ''.$value.''."\n"; + } + $content .= ODS_END_ROW; + } + $content .= ODS_END_TABLE . ODS_END_SPREADSHEET . ODS_END_XMLDOCUMENT; + + mkdir(TMPZIP); + mkdir(TMPZIP."/META-INF"); + file_put_contents(TMPZIP."/META-INF/manifest.xml", ODS_MANIFEST); + file_put_contents(TMPZIP."/content.xml", $content); + file_put_contents(TMPZIP."/mimetype", ODS_MIMETIPE); + system("cd ".TMPZIP."; zip -mr ".$fileName." mimetype META-INF/* content.xml >/dev/null"); + rmdir(TMPZIP."/META-INF"); + rmdir(TMPZIP); + + return true; + } + +/* --------------------------------------- */ + + function _template2array($fp, $type, &$aTeX) { + $vege = false; + $aTeX[$type] = array(); + while (!$vege && ($sor = fgets($fp, 1024))) { + $sor = chop($sor); + if ($sor == "%}$type") { + $vege = true; + } elseif (substr($sor, 0, 2) != '%!') { // A feldolgozást végző függvény megadása + if (substr($sor, 0, 2) == '%}') { + echo "HIBA #1 Megnyitás előtti blokk lezárás a {$type} blokkban: $sor
"; + } else { + if (substr($sor, 0, 2) == '%{') { + $_type = substr($sor, 2); + _template2array($fp, $_type, $aTeX); + $aTeX[$type][] = '%{'.$_type.'}'; + } else { + // feltételes szövegrészek + $condArray = explode('%?', $sor); + for ($i = 1; $i < count($condArray); $i = $i + 2) { + $str = $condArray[$i]; + $tmpArray = explode('|', $str); + $j = 0; while (is_array($aTeX['conditional']["$j".$tmpArray[0]])) $j++; + $newCondition = "$j".$tmpArray[0]; + $aTeX['conditional'][$newCondition] = array(true => $tmpArray[1], false => $tmpArray[2], 'orig' => $tmpArray[0]); + $sor = str_replace($str.'%?', $newCondition, $sor); + } +// $aTeX[$type][] = $sor; + // lezáró eset + $finalArray = explode('%>', $sor); + for ($i = 1; $i < count($finalArray); $i = $i + 2) { + $str = $finalArray[$i]; + $tmpArray = explode('', $str); + $j = 0; while (is_array($aTeX['finalCase']["$j".$type])) $j++; + $newCondition = "$j".$type; + $aTeX['finalCase'][$newCondition] = array(true => $tmpArray[0], false => $tmpArray[1]); + $sor = str_replace($str.'%>', $newCondition, $sor); + } + $aTeX[$type][] = $sor; + } + } + } + } + } + + function _array2text($type, $id, $mit, $mire, $aTeX, $ADAT, $flag = null) { + $ret = ''; + if (is_null($id)) $A = $ADAT[$type]; + else $A = $ADAT[$type][$id]; + + // A cserélendő attribútumok + if (is_array($A)) foreach ($A as $attr => $value) { + if (!is_array($value)) { + if (true || !is_bool($value)) { // feltételes szövegrészek külön kezelendők ??? Miért is? Az általánosabb feltételes kiíráshoz kell! + if (in_array('%$'.$attr, $mit)) { // A már szereplő mintát felülírjuk! + $key = array_search('%$'.$attr, $mit); + $mit[$key] = '%$'.$attr; + $mire[$key] = $value; + } else { + $mit[] = '%$'.$attr; + $mire[] = $value; + } + } + } + } + + // aTeX feldolgozása + $TeX = $aTeX[$type]; + for ($i = 0; $i < count($TeX); $i++) { + $sor = $TeX[$i]; + if (substr($sor, 0, 2) == '%{') { + // Almodul feldolgozása + $_type = substr($sor, 2, -1); + if (is_array($A[$_type])) { + if (is_null($id)) { + foreach ($A[$_type] as $key => $_id) $ret .= _array2text($_type, $_id, $mit, $mire, $aTeX, $ADAT); + } else { + $count = count($A[$_type]); $db = 0; + foreach ($A[$_type] as $_id => $_data) { + $db++; if ($count == $db) $_flag = 'final'; else $_flag = null; + if (!is_array($ADAT[$_type][$_id]) && !is_array($_data)) { + echo '
HIBA#2!!! '.$_type.':'.$_id.':'.$_data.'
'; +// return false; + } else { + if (!is_array($ADAT[$_type][$_id])) $ADAT[$_type][$_id] = array(); + elseif (!is_array($_data)) $_data = array(); + $ADAT[$_type][$_id] = $ADAT[$_type][$_id] + $_data; + $ret .= _array2text($_type, $_id, $mit, $mire, $aTeX, $ADAT, $_flag); + } + } + } + } elseif (__DEBUG === true) { echo '
HIBA#3: '.$sor.'
'.$_type.':'; var_dump($A[$_type]); echo '
';} + } else { + // Csere - lezáró eset + if (strpos($sor, '%>') !== false) foreach ($aTeX['finalCase'] as $attr => $values) { + $sor = str_replace('%>'.$attr, $values[ $flag === 'final' ], $sor); + } + // Csete - feltételes kiírás + if (strpos($sor, '%?') !== false) foreach ($aTeX['conditional'] as $attr => $values) { + // Nem csak az adott szintről veszi az értéket, hanem feljebbről is (a feljebbi a meghatározó - ez nem biztos, hogy jó...) + if ($key = array_search('%$'.$values['orig'], $mit)) $_val = $mire[$key]; + else $_val = $A[$values['orig']]; + $sor = str_replace('%?'.$attr, $values[ $_val==true ], $sor); + //$sor = str_replace('%?'.$attr, $values[ $A[$values['orig']]==true ], $sor); + } + // Kiírás + $ret .= str_replace($mit, $mire, $sor)."\n"; + } + } + + return $ret; + } + + function template2text($templateFile, $ADAT) { + + $mit = $mire = array(); + $aTeX = array('conditional' => array()); + + $fp = fopen($templateFile, 'r'); + _template2array($fp, 'base', $aTeX); + fclose($fp); + return _array2text('base', null, $mit, $mire, $aTeX, $ADAT); + + } + + function template2file($templateFile, $ADAT) { + + global $policy, $page, $sub, $f; + + $mit = $mire = array(); + $aTeX = array('conditional' => array()); + + $fp = fopen($templateFile, 'r'); + // A feldolgozást végző függvény neve + $sor = fgets($fp, 1024); + rewind($fp); + if (substr($sor, 0, 2) == '%!') { + list($func,$ext,$opt) = explode(' ', substr(chop($sor), 2)); + if (!function_exists($func)) unset($func); + } + if ($ext=='') $ext = 'txt'; + _template2array($fp, 'base', $aTeX); + fclose($fp); + $text = _array2text('base', null, $mit, $mire, $aTeX, $ADAT); +//die(); + if ($text === false) return false; + $success = true; + if (isset($func)) { + $success = $func($text, $ADAT['file'], $opt); + } else { + $fp = fopen(_DOWNLOADDIR."/$policy/$page/$sub/$f/".$ADAT['file'].'.'.$ext, 'w'); + fputs($fp, $text); + fclose($fp); + } + if ($success) return $ADAT['file'].".$ext"; + else return false; + + } + + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/helyettesites.php b/mayor-orig/www/include/modules/naplo/share/helyettesites.php new file mode 100644 index 00000000..140f6744 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/helyettesites.php @@ -0,0 +1,42 @@ +'','igDt'=>'','tankorIdk'=>'','telephelyId'=>'')) { + + //találjuk ki valahogy a telephelyet... (osztály, terem, tanár alapján???) + if ($SET['telephelyId']!='') { + $telephelyId=$SET['telephelyId']; + $WT = " AND (`terem`.`telephelyId` = $telephelyId OR terem.teremId IS NULL) "; + } + + $igDt = $SET['igDt']; $tolDt=$SET['tolDt']; $osztalyId = $SET['osztalyId']; + $W = ''; + if (is_array($SET['tankorIdk']) && count($SET['tankorIdk']) > 0) { + $W = ' AND tankorId IN ('.implode(',', array_fill(0, count($SET['tankorIdk']), '%u')).')'; + $v = mayor_array_join(array($tolDt, $igDt), $SET['tankorIdk']); + } else { $v = array($tolDt, $igDt); } + $q = "SELECT ora.oraId,ora.dt,ora.ora,ora.ki,ora.kit,ora.tankorId,ora.teremId,ora.leiras,ora.tipus,ora.eredet, ora.feladatTipusId + FROM ora + LEFT JOIN ".__INTEZMENYDBNEV.".terem USING (teremId) + WHERE dt>='%s' AND dt<='%s' + AND (eredet!='órarend' OR kit!='') + $W + $WT + ORDER BY dt,ora"; +// AND (tipus NOT LIKE '%máskor') + $RESULT['indexed'] = db_query($q, array('fv' => 'getHelyettesitendoOrak', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($RESULT['indexed']); $i++) { + $TANAROK[] = $RESULT['indexed'][$i]['ki']; + $TANAROK[] = $RESULT['indexed'][$i]['kit']; + $TANKOROK[] = $RESULT['indexed'][$i]['tankorId']; + /* ezt egyelőre nem használjuk semmire! Sima plusz óra */ + //if ($RESULT['indexed'][$i]['eredet'] == 'plusz') + // $RESULT['plusz'][] = $RESULT['indexed'][$i]['oraId']; + } + if (is_array($TANKOROK)) + $RESULT['tanarok'] = array_unique($TANAROK); + $RESULT['tankorok'] = $TANKOROK; + return $RESULT; + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/helyettesitesModifier.php b/mayor-orig/www/include/modules/naplo/share/helyettesitesModifier.php new file mode 100644 index 00000000..17f0cf53 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/helyettesitesModifier.php @@ -0,0 +1,117 @@ + 'hianyzasEsJegyHozzarendelesTorles', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $oraId), $lr); +// $r = m_ysql_query($q, $lr) or die(m_ysql_error()); +// if (!$r) { +// $_SESSION['alert'][] = 'message:m_ysql_query_failure:hianyzasEsJegyHozzarendelesTorles:'.$q.':'.m_ysql_error($lr); +// if($olr == '') $lr = db_close($lr); +// return false; +// } + $hIds = array(); + if (is_array($H) && count($H) > 0) { + foreach ($H as $key => $hAdat) { + extract($hAdat, EXTR_PREFIX_ALL, 'tmp'); + $hIds[] = $tmp_hianyzasId; + logAction( + array( + 'szoveg'=>"Helyettesítés/óraelmaradás => törölt hiányzás: hianyzasId=$tmp_hianyzasId, diakId=$tmp_diakId, dt=$tmp_dt, ora=$tmp_ora, oraId=$tmp_oraId, tipus=$tmp_tipus, statusz=$tmp_statusz, igazolas=$tmp_igazolas", + 'table'=>'hianyzas' + ), + $lr + ); + } + // --TODO: hianyzasTorles() - fv-t hívjuk meg! + $q = "DELETE FROM hianyzas WHERE hianyzasId IN (".implode(',', array_fill(0, count($hIds), '%u')).")"; + db_query($q, array('fv' => 'hianyzasEsJegyHozzarendelesTorles', 'modul' => 'naplo', 'values' => $hIds, 'result' => 'affected rows'), $lr); + } + // Az elmaradt órákhoz rendelt jegyek hozzárendelésének törlése + $q = "UPDATE jegy SET oraId=NULL WHERE oraId IN (".implode(',', array_fill(0, count($oraId), '%u')).")"; + $H = db_query($q, array('fv' => 'hianyzasEsJegyHozzarendelesTorles', 'modul' => 'naplo', 'result' => 'affected rows', 'values' => $oraId), $lr); + + if ($olr == '') $lr = db_close($lr); + return true; + } + + + function masTartja($oraId, $ki, $tipus, $olr = null) { + + if (is_null($ki) || $ki==0) { + $_SESSION['alert'][] = '::masTartja():ki értéke nulla vagy NULL!'; +// $q = "UPDATE ora SET kit=ki,ki=NULL,tipus='%s' WHERE oraId=%u"; +// $v = array($tipus, $oraId); +// return db_query($q, array('fv' => 'masTartja', 'modul' => 'naplo', 'values' => $v), $olr); + } else { + $q = "UPDATE ora SET kit=ki,ki=%u,tipus='%s',modositasDt=now() WHERE oraId=%u"; + $v = array($ki, $tipus, $oraId); + return db_query($q, array('fv' => 'masTartja', 'modul' => 'naplo', 'values' => $v), $olr); + } + } + + function oraElmarad($oraId, $olr = null, $tanev = null) { + + $O = getOraAdatById($oraId); + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + if ($tanev!='') { + $_tanevDb = tanevDbNev(__INTEZMENY, $tanev); + db_selectDb($_tanevDb,$lr); + } + if ($O['eredet'] == 'plusz') { + // benne van-e egy cserében - mert akkor nem törölhető + $q = "SELECT count(*) FROM cserePluszOra WHERE oraId=%u"; + $O['csere'] = db_query($q, array('fv' => 'oraElmarad', 'modul' => 'naplo', 'result' => 'value', 'values' => array($oraId)),$lr); + } + + $torol = true; + if ( + ($O['eredet'] == 'órarend' && $O['tipus'] == 'normál') // normál órarendi óra + || ($O['eredet'] == 'plusz' && $O['csere'] > 0 && $O['tipus'] == 'normál') // cserélt, normállá alakult, plusz óra + || ($O['eredet'] == 'plusz' && $O['tipus'] == 'normál máskor') // cserében lévő normál, plusz óra + ) { + $q = "UPDATE ora SET kit=ki,ki=NULL,tipus='elmarad',modositasDt=now() WHERE oraId=%u"; + } elseif ( + ($O['eredet'] == 'órarend' && in_array($O['tipus'], array('helyettesítés','felügyelet','összevonás'))) + || ($O['eredet'] == 'plusz' && $O['csere'] > 0 && in_array($O['tipus'], array('helyettesítés','felügyelet','összevonás'))) + ) { + $q = "UPDATE ora SET ki=NULL,tipus='elmarad',modositasDt=NOW() WHERE oraId=%u"; + } elseif ( + $O['eredet'] == 'plusz' && in_array($O['tipus'], array('helyettesítés','felügyelet','összevonás','normál')) + || $O['tipus'] == 'egyéb' + ) { + $q = "DELETE FROM ora WHERE oraId=%u"; + } else { $torol = false; } + + if ($torol) { + HianyzasEsJegyHozzarendelesTorles($oraId, $lr, $tanev); + $ret = db_query($q, array('fv' => 'oraElmarad', 'modul' => 'naplo', 'values' => array($oraId)),$lr); + } else { + $ret = false; + } + + if ($olr == '') $lr = db_close($lr); + return $ret; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/hetes.php b/mayor-orig/www/include/modules/naplo/share/hetes.php new file mode 100644 index 00000000..7bd7079e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/hetes.php @@ -0,0 +1,48 @@ + 'getHetesek', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'sorszam', 'values' => $v)); + } + + function getHetesek($osztalyId=null, $dt = null) { + + if ($osztalyId=='') { + if (!isset($dt)) { + $q = "SELECT * FROM hetes ORDER BY dt,sorszam"; + $v = array(); + } else { + $q = "SELECT * FROM hetes WHERE dt<='%s' ORDER BY dt,sorszam"; + $v = array($dt); + } + } else { + if (!isset($dt)) { + $q = "SELECT * FROM hetes WHERE osztalyId=%u "; + $v = array($osztalyId); + } else { + $q = "SELECT * FROM hetes WHERE osztalyId=%u AND dt<'%s'"; + $v = array($osztalyId, $dt); + } + } + return db_query($q, array('fv' => 'getHetesek', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield'=>'osztalyId', 'values' => $v)); + + } + + function hetesFelvetel($ADAT) { + for ($i = 1; $i < 3; $i++) { + if (isset($ADAT['hetes'][$i])) + $q = "REPLACE INTO hetes (osztalyId,dt,sorszam,diakId) VALUES (%u, '%s', $i, %u)"; + else + $q = "DELETE FROM hetes WHERE osztalyId=%u AND dt='%s' AND sorszam=$i"; + + $v = array($ADAT['osztalyId'], $ADAT['dt'], $ADAT['hetes'][$i]); + db_query($q, array('fv' => 'hetesFelvetel', 'modul' => 'naplo', 'values' => $v)); + } + } +?> diff --git a/mayor-orig/www/include/modules/naplo/share/hianyzas.php b/mayor-orig/www/include/modules/naplo/share/hianyzas.php new file mode 100644 index 00000000..0ee41fa0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/hianyzas.php @@ -0,0 +1,478 @@ + dt tömböt, akkor + // diákonként lekérdezi a megadott dátumig, de legkésőbb a szemszter + // zárásig lévő hiányzásokat - a tanév adatbázisból! + // 2. Ha aktív a tanév, de nincs $igDts, akkor egyszerre kérdezi le az + // összes diákét a szemeszter zárásig + // 3. Ha nem aktív a tanév, akkor az intézményi adatbázisból kérdezi le + // az összesített adatokat (amik záráskor jönnek létre) + // 4. Ha nincs megadva szemeszter, akkor az összes szemszter összesítését lekérdezi - az intézményi adatbázisból + // + //////////////////////////////////////// + + function defWnemszamit() { + $W['nemszamit'] = ' AND hianyzasBeleszamit="igen" '; + $W['join'] = ' LEFT JOIN '.__INTEZMENYDBNEV.'.tankorTipus USING (tankorTipusId) '; + return $W; + } + + function getDiakHianyzasOsszesites($diakIds, $szemeszterAdat, $igDts = null) { + $ret = array(); + if (count($diakIds)<1) return $ret; + + $Wnemszamit = defWnemszamit(); + if (is_array($szemeszterAdat)) { + // Egy szemeszter hiányzási adatainak lekérdezése + if ( + ($szemeszterAdat['statusz'] == 'aktív' || $szemeszterAdat['statusz'] == 'lezárt') + && is_array($igDts) + ) { + // Folyó vagy lezárt tanév - a tanév adatbázisból kérdezünk le + // diákonként más-más vég határidővel (pl Osztályból kilépett) + foreach ($diakIds as $diakId) { + $igDt = readVariable( + $igDts[$diakId], 'datetime', $szemeszterAdat['zarasDt'], array(), 'strtotime($return) <= '.strtotime($szemeszterAdat['zarasDt']) + ); + $q = "SELECT diakId, + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',perc,NULL)) AS gyakorlatKesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',perc,NULL)) AS elmeletKesesPercOsszeg + + FROM `%s`.hianyzas ".$Wnemszamit['join']." + WHERE ( + tipus = 'hiányzás' OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL) + ) AND dt<='%s' AND diakId=%u + ".$Wnemszamit['nemszamit']." + GROUP BY diakId"; + + $v = array(tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']), $igDt, $diakId); + $ret[$diakId] = db_query($q, array( + 'fv' => 'getDiakHianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v + )); + //++ Hozott hiányzások a tanévben + $_hozott = getDiakHozottHianyzas($diakId, array('tanev'=> $szemeszterAdat['tanev'] , 'igDt'=>$igDt)); + $ret[$diakId]['igazolatlan'] += intval($_hozott['igazolatlan']['db']); + $ret[$diakId]['igazolt'] += intval($_hozott['igazolt']['db']); + } + } elseif ($szemeszterAdat['statusz'] == 'aktív') { + // Aktív tanévből kérdezünk le összesítést - ami még nem készült el -> tanév adatbázist használjuk + foreach ($diakIds as $diakId) { + $_hozott[$diakId] = getDiakHozottHianyzas($diakId, array('tanev'=> $szemeszterAdat['tanev'])); + } + $q = "SELECT diakId, + + COUNT(IF(tipus='felszerelés hiány',1,NULL)) AS felszerelesHianyDb, + COUNT(IF(tipus='egyenruha hiány',1,NULL)) AS egyenruhaHianyDb, + COUNT(IF(tipus='késés',1,NULL)) AS kesesDb, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt',1,NULL)) AS igazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan',1,NULL)) AS igazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan',perc,NULL)) AS kesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',1,NULL)) AS gyakorlatIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='gyakorlat',perc,NULL)) AS gyakorlatKesesPercOsszeg, + + COUNT(IF(tipus='hianyzas' AND statusz='igazolt' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolt, + COUNT(IF(tipus='hianyzas' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',1,NULL)) AS elmeletIgazolatlan, + SUM(IF(tipus='késés' AND statusz='igazolatlan' AND tankorTipus.jelleg='elmélet',perc,NULL)) AS elmeletKesesPercOsszeg + + FROM `%s`.hianyzas ".$Wnemszamit['join']." + WHERE ( + tipus = 'hiányzás' OR (tipus='késés' AND statusz='igazolatlan' AND perc IS NOT NULL) + ) AND dt<='%s' AND diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") + ".$Wnemszamit['nemszamit']." + GROUP BY diakId"; + array_unshift($diakIds, tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']), $szemeszterAdat['zarasDt']); + $ret = db_query($q, array( + 'fv' => 'getDiakHianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'diakId', 'values' => $diakIds + )); + + //++ Hozott hiányzások a tanévben + foreach ($ret as $diakId => $dAdat) { + $ret[$diakId]['igazolatlan'] += intval($_hozott[$diakId]['igazolatlan']['db']); + $ret[$diakId]['igazolt'] += intval($_hozott[$diakId]['igazolt']['db']); + } + } elseif ($szemeszterAdat['statusz'] != 'tervezett') { + // lezárt vagy archív tanév - az intézmény adatbázisból kérdezünk le - nincs $Wnemszamit!! se tankortipusid... :( + $q = "SELECT * FROM hianyzasOsszesites + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tanev=%u AND szemeszter=%u + "; + + array_push($diakIds, $szemeszterAdat['tanev'], $szemeszterAdat['szemeszter']); + $ret = db_query($q, array( + 'fv' => 'getDiakHianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'diakId', 'values' => $diakIds + + )); + } else { + $_SESSION['alert'][] = 'message:wrong_dara:tervezett tanév hiányzás összesítése:getDiakHianyzasOsszesites'; + } + } else { + // A diák összes hiányzási adata ?????????????????????????????????????????? BIZTOS KELL MÉG EZZZZ????????????????? + // !!!!!!!!!!!!!!!!! + $q = "SELECT * FROM hianyzasOsszesites WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") ORDER BY tanev,szemeszter"; + $r = db_query($q, array('fv' => 'getDiakHianyzasOsszesites', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $diakIds)); + for ($i = 0; $i < count($r); $i++) $ret[ $r[$i]['tanev'] ][ $r[$i]['szemeszter'] ][ $r[$i]['diakId'] ] = $r[$i]; + } + return $ret; + + } + + function getIgazolasTipusLista() { + + global $lang; + + if (file_exists("lang/$lang/module-naplo/share/hianyzas.php")) { + require_once("lang/$lang/module-naplo/share/hianyzas.php"); + } elseif (file_exists('lang/'._DEFAULT_LANG.'/module-naplo/share/hianyzas.php')) { + require_once('lang/'._DEFAULT_LANG.'/module-naplo/share/hianyzas.php'); + } + + $igazolasTipusok['lista'] = getEnumField('naplo', 'hianyzas', 'igazolas'); + foreach ($igazolasTipusok['lista'] as $index => $tipus) { + $const = '_'.str_replace(' ', '_', nagybetus(ekezettelen($tipus))); + if (defined($const)) $igazolasTipusok[$tipus] = constant($const); + elseif ($tipus != '') { + $igazolasTipusok[$tipus] = $tipus; + $_SESSION['alert'][]= 'message:wrong_data:hiányzó nyelvi konstans:'.$tipus.':getIgazolasTipusLista'; + } + } + return $igazolasTipusok; + } + + function getHianyzasByOraId($oraId, $SET = array('csakId' => false)) { + + if ($SET['csakId'] === true) { + $q = "SELECT hianyzasId FROM hianyzas WHERE oraId=%u"; + $RES = db_query($q, array('fv' => 'getHianyzasByOraId', 'modul' => 'naplo', 'result' => 'idonly', 'values' => array($oraId))); + } else { + $q = "SELECT * FROM hianyzas WHERE oraId=%u"; + $RES = db_query($q,array('fv'=>'getHianyzasByOraId', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($oraId))); + } + return $RES; + } + + function getHianyzasByDiakIds($diakIds, $SET = array('tolDt' => null, 'igDt' => null, 'result' => 'indexed', 'keyfield' => null)) { + + if (!is_array($diakIds) || count($diakIds) == 0) return false; + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed','multiassoc')); + if ($result == 'multiassoc') $keyfield = readVariable($SET['keyfield'], 'enum', 'tankorId', array('tankorId', 'diakId', 'ora', 'oraId')); + $tolDt = readVariable($SET['tolDt'], 'date'); + $igDt = readVariable($SET['igDt'], 'date'); + initTolIgDt(__TANEV, $tolDt, $igDt); + + $q = "SELECT *,hianyzas.tipus as hTipus FROM hianyzas LEFT JOIN ora USING (oraId,dt,ora) + WHERE '%s' <= dt AND dt <= '%s' AND diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") + ORDER BY ora,tankorId"; + array_unshift($diakIds, $tolDt, $igDt); + $ret = db_query($q, array('fv' => 'getHianyzasByDiakIds', 'modul' => 'naplo', 'result' => $result, 'keyfield' => $keyfield, 'values' => $diakIds)); + + return $ret; + + } + + function getOraIdByHianyzasId($hianyzasId, $olr = null) { + + $q = "SELECT oraId FROM hianyzas WHERE hianyzasId=%u"; + return db_query($q, array('fv' => 'getOraIdByHianyzasId', 'modul' => 'naplo', 'result' => 'value', 'values' => array($hianyzasId)),$olr); + } + + function getHianyzasByDt($DIAKIDK, $DTK, $SET = array('result' => '')) { + if(!is_array($DIAKIDK) || count($DIAKIDK) == 0) return false; + if (!is_array($DTK)) + if ($DTK=='') return false; + else $DTK = array($DTK); + $v = mayor_array_join($DTK, $DIAKIDK); + if ($SET['csakId']!==true) { + $q = "SELECT * FROM hianyzas WHERE dt IN ('".implode("','", array_fill(0, count($DTK), '%s'))."') + AND diakId IN (".implode(',',array_fill(0, count($DIAKIDK), '%u')).") ORDER BY dt,ora"; + $R = db_query($q,array('fv' => 'getHianyzasByDt', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($j=0; $j 'getHianyzasByDt', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v)); + } + return $RES; + } + + function getHianyzasById($hianyzasId) { + if ($hianyzasId == '') return false; + $q = "SELECT * FROM hianyzas WHERE hianyzasId=%u"; + return db_query($q, array('fv'=>'getHianyzasById', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($hianyzasId))); + } + + function getDiakIgazolatlan($diakId) { + + global $_TANEV; + + $Wnemszamit = defWnemszamit(); + $WHERE = "diakId=%u AND tipus IN ('hiányzás','késés') AND statusz='igazolatlan' AND '%s' <= dt AND dt<='%s'"; + $q = "SELECT * FROM hianyzas ".$Wnemszamit['join']." WHERE $WHERE ".$Wnemszamit['nemszamit']." ORDER BY dt, ora"; + $v = array($diakId, $_TANEV['kezdesDt'], $_TANEV['zarasDt']); + return db_query($q, array('fv' => 'getDiakIgazolatlan', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + + } + + function getIgazolasSzam($diakId, $dt = '') { + + global $_TANEV; + // ha dt adott, azt a napot ne számoljuk bele a napi! limit-be (hisz még beírhatok több hiányzást is!) + $RETURN = array(); + + $Wnemszamit = defWnemszamit(); + // szemeszterenként + foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdat) { + + $WHERE = "diakId=%u AND tipus='hiányzás' AND statusz='igazolt' AND '%s' <= dt AND dt<='%s'"; + $v = array($diakId, $szAdat['kezdesDt'], $szAdat['zarasDt']); + if ($dt!='') { + $WHERE2 = " AND dt!='%s' "; + $v[] = $dt; + } else $WHERE2 = ''; // vajon az óráknál ez nem kell? + + // napok + $q = "SELECT COUNT(DISTINCT dt) AS darab, igazolas FROM hianyzas ".$Wnemszamit['join']."WHERE $WHERE $WHERE2".$Wnemszamit['nemszamit']." GROUP BY igazolas"; + $ret = db_query($q, array('fv' => 'getIgazolasSzam', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($ret); $i++) { + $RETURN['napok'][$szemeszter][ $ret[$i]['igazolas'] ] = $ret[$i]['darab']; + $RETURN['napok']['osszesen'][ $ret[$i]['igazolas'] ] += $ret[$i]['darab']; + } + // órák + $q = "SELECT COUNT(*) AS darab, igazolas FROM hianyzas ".$Wnemszamit['join']." WHERE $WHERE ".$Wnemszamit['nemszamit']." GROUP BY igazolas"; + $ret = db_query($q, array('fv' => 'getIgazolasSzam', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($ret); $i++) { + $RETURN['orak'][$szemeszter][ $ret[$i]['igazolas'] ] = $ret[$i]['darab']; + $RETURN['orak']['osszesen'][ $ret[$i]['igazolas'] ] += $ret[$i]['darab']; + } + $RETURN['szemeszterek'][] = $szemeszter; + } + return $RETURN; + } + + function legkorabbiIgazolhatoHianyzasVeg($osztalyId, $olr = '') { + + + if (!isset($osztalyId) || $osztalyId == '' || count($osztalyId)==0) { + $_SESSION['alert'][] = 'message:wrong_data:Nincs megadva osztály (legkorabbiIgazolhatoHianyzasVeg)'; + // return false; + return _LEGKORABBI_IGAZOLHATO_HIANYZAS; + } + + // _IGAZOLAS_BEIRAS_HATARIDO előtti első osztályfőnöki óra - vagy _LEGKORABBI_IGAZOLHATO_HIANYZAS + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + if (!is_array($osztalyId)) $osztalyId = array($osztalyId); + + // Az osztályfőnöki tankör lekérdezése (!!! ez hibás, targyNev='osztályfőnöki' helyett a tárgy típus alapján kell! -- TODO + $q = "SELECT tankorId FROM ".__INTEZMENYDBNEV.".tankorOsztaly + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".targy USING (targyId) + WHERE targyNev='osztályfőnöki' AND osztalyId IN (".implode(',', array_fill(0, count($osztalyId), '%u')).")"; + $ofoTankorId = db_query($q, array( + 'fv' => 'legkorabbiIgazolhatoHianyzasVeg', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $osztalyId + ), $lr); + + // Legutóbbi osztályfőnöki óra dátuma - Jó ez? Több osztály esetén az egyikét adja meg... nem? Ennek így nincs is értelme... + if (is_array($ofoTankorId) && count($ofoTankorId)>0) { + $q = "SELECT dt FROM ".__TANEVDBNEV.".ora WHERE tankorId IN (".implode(',', array_fill(0, count($ofoTankorId), '%u')).") + AND dt<'"._IGAZOLAS_BEIRAS_HATARIDO."' + AND tipus NOT LIKE 'elmarad%%' + ORDER BY dt DESC LIMIT 1"; + $ofoOraDt = db_query($q, array('fv' => 'legkorabbiIgazolhatoHianyzasVeg', 'modul' => 'naplo', 'result' => 'value', 'values' => $ofoTankorId)); + } else { + $ofoOraDt = ''; + } + if ($olr == '') db_close($lr); + + if ($ofoOraDt != '' && strtotime($ofoOraDt) > strtotime(_LEGKORABBI_IGAZOLHATO_HIANYZAS)) { + return $ofoOraDt; + } else { + //$_SESSION['alert'][] = 'info:wrong_data:Nem volt még osztályfőnöki óra!'; + return _LEGKORABBI_IGAZOLHATO_HIANYZAS; + } + + } + + function getNemIgazolhatoDt($diakId, $munkatervIds, $ofoOraDt = '', $olr = '') { + + global $_TANEV; + + if ($olr == '') $lr = db_connect('naplo'); + else $lr = $olr; + + if (!is_array($munkatervIds) || count($munkatervIds)==0) $munkatervIds = array(1); // a default + + if ($ofoOraDt == '') { + // A diák osztályai + $q = "SELECT DISTINCT osztalyId FROM ".__INTEZMENYDBNEV.".osztalyDiak + WHERE diakId=%u AND beDt<='%s' + AND (kiDt IS NULL OR kiDt >= '%s')"; + $v = array($diakId, $_TANEV['zarasDt'], $_TANEV['kezdesDt']); + $diakOsztalyId = db_query($q, array('fv' => 'getNemIgazolhatoDt-1', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $lr); + if (is_array($diakOsztalyId)) $ofoOraDt = legkorabbiIgazolhatoHianyzasVeg($diakOsztalyId, $lr); // ugye tudjuk, hogy ez nem feltétlenül az osztályfőnöki órát jelenti! + } + + if ($ofoOraDt != '') { + // Hianyzott-e az ofő óra napján + $q = "SELECT COUNT(dt) FROM ".__TANEVDBNEV.".hianyzas + WHERE diakId = %u + AND tipus = 'hiányzás' + AND dt = '%s'"; + $v = array($diakId, $ofoOraDt); + $num = db_query($q, array('fv' => 'getNemIgazolhatoDt-2', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + if ($num > 0) { + // Ha hiányzott, mikor volt előtte utoljára iskolában + + // A tanuló hiányzásainak listája + // LEZÁRT TANÉVNÉL EZ PROBLÉMÁS! + $q = "CREATE TEMPORARY TABLE ".__INTEZMENYDBNEV.".tanulo_hianyzasai + SELECT DISTINCT dt FROM hianyzas + WHERE diakId = %u + AND tipus = 'hiányzás'"; + $v = array($diakId); + $r = db_query($q, array('fv' => 'getNemIgazolhatoDt-3', 'modul' => 'naplo', 'values' => $v), $lr); + // első nem hiányzásos tanítási nap... + $q = "SELECT nap.dt + FROM nap LEFT JOIN ".__INTEZMENYDBNEV.".tanulo_hianyzasai USING (dt) + WHERE tanulo_hianyzasai.dt IS NULL + AND nap.dt < '%s' + AND nap.tipus IN ('tanítási nap','speciális tanítási nap') + AND munkatervId IN (".implode(',', array_fill(0, count($munkatervIds), '%u')).") + ORDER BY nap.dt DESC + LIMIT 1"; + $v = mayor_array_join(array($ofoOraDt),$munkatervIds); + $r = db_query($q, array('fv' => 'getNemIgazolhatoDt-4', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (count($r) > 0) { + // ha nem az első tanítási napig hiányzik... + $dt = $r[0]['dt']; + } else { + // ha az első tanítási napig hiányzik... + $dt = date('Y-m-d',strtotime('last day',strtotime($_TANEV['kezdesDt']))); + } + + // Az ideiglenes táblák a kapcsolat zárásakor törlődnek! + // Meglevő kapcsolat használatakor azonban törölni kell. + if ($olr != '') db_query("DROP TABLE ".__INTEZMENYDBNEV.".tanulo_hianyzasai", array('fv' => 'getNemIgazolhatoDt-4', 'modul' => 'naplo'), $lr); + + } else { + // Ha nem hiányzott, akkor az ofő óra napja előtti nap a keresett dt + $dt = date('Y-m-d',strtotime('last days',strtotime($ofoOraDt))); + } + + } else { // ide be sem megyünk! + // Ha nem volt osztályfőnöki óra - vagy inkább legkorábbi igazolható hiányzás vég - azaz nincs osztály? + $dt = date('Y-m-d', strtotime('last days', strtotime($_TANEV['kezdesDt']))); + } + + if ($olr == '' ) db_close($lr); + + return $dt; + + } + + function getDiakHianyzasStat($diakId, $SET = array('tankorIds'=>null, 'tanev'=>__TANEV)) { + if (is_array($SET['tankorIds'])) $tankorIds = $SET['tankorIds']; + else + return false; + + $tanevDbNev = tanevDbNev(__INTEZMENY,$SET['tanev']); + + $q = "SELECT tankorId,COUNT(*) AS db FROM `%s`.hianyzas LEFT JOIN `%s`.ora USING (oraId) + WHERE diakId=%u AND hianyzas.tipus='hiányzás' AND hianyzas.dt<=CURDATE() GROUP BY tankorId"; + $v = array($tanevDbNev, $tanevDbNev, $diakId); + return db_query($q, array( + 'fv' => 'getDiakHianyzasStat', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v + )); + + } + + function _relevance($x,$base) { + return ($x<20) ? ($base-sqrt($x)/(sqrt(20)/(0+$base))) : 0; // a képlet normalizálható, de továbbfejleszés miatt ilyen formájú + } + function getDarabDiakHianyzas($dt='') { + + if ($dt=='') $dt = date('Y-m-d'); + //$q = "select count(*) AS db from (select diakId,count(*) AS db FROM hianyzas WHERE dt='%s' AND tipus LIKE 'hi_nyz_s' GROUP BY diakId HAVING db>2) AS stat"; + + /* Mai hiányzók száma (súlyozottan) */ + $stamp1=strtotime($dt); + $stamp2=mktime(0,0,1,date('m'),date('d'),date('y')); + $relevance = floor( ($stamp2-$stamp1) / (3600*24) )+0; + $q = "select count(*) AS dbDiak, dbOra from (select diakId,count(*) AS dbOra FROM hianyzas WHERE dt='%s' AND tipus = 'hiányzás' GROUP BY diakId) AS stat GROUP BY dbOra"; + $v = array($dt); + $R = db_query($q, array('fv' => 'getDarabDiakHianyzas', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield'=>'dbDiak', 'values' => $v)); + $hianyzo=0; + foreach ($R as $dbDiak => $D) { + if ($D['dbOra']==1) $hianyzo += _relevance($relevance,0.8)*$dbDiak; + elseif ($D['dbOra']<=2) $hianyzo += _relevance($relevance,0.95)*$dbDiak; + elseif ($D['dbOra']<=3) $hianyzo += _relevance($relevance,1)*$dbDiak; + else $hianyzo += $dbDiak; + } + $RESULT['hianyzokSulyozva'] = floor($hianyzo); + /* --- */ + /* Mai hiányzók száma (súlyozottan) */ + $q = "select count(*) AS dbDiak FROM (select diakId,count(*) AS dbOra FROM hianyzas WHERE dt='%s' AND tipus LIKE 'hiányzás' AND igazolas LIKE 'tanulmányi verseny' GROUP BY diakId) AS stat"; + $v = array($dt); + $R = db_query($q, array('fv' => 'getDarabDiakHianyzas', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + $RESULT['hianyzokTanulmanyin'] = $R; + /* --- */ + /* Az órák hány százalékán volt hiányzó */ + if ($RESULT['hianyzokSulyozva']!=0) { + $q = "select FORMAT((select count( DISTINCT oraId ) FROM hianyzas WHERE tipus LIKE 'hi_nyz_s' AND dt='%s')*100/count(*),2) AS dbHianyzas FROM ora WHERE ora.tipus NOT IN ('elmarad','elmarad máskor') AND dt='%s'"; + $v = array($dt,$dt); + $RESULT['oranHianyzasSzazalek'] = db_query($q, array('fv' => 'getDarabDiakHianyzas', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + } else { + $RESULT['oranHianyzasSzazalek'] = 0; + } + // --- + + return $RESULT; + } + + function getDiakHozottHianyzas($diakId=null,$SET = array('tanev'=>__TANEV, 'igDt'=>null)) { // tanév-et nem vesszük figyelembe + $RESULT = false; + if (isset($diakId) && is_numeric($diakId)) + { + $tanev = (isset($SET['tanev']) && $SET['tanev']!=__TANEV) ? $SET['tanev'] : __TANEV; + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + + $v = array($diakId); + if (isset($SET['igDt'])) { + $W = " AND dt<='%s'"; + $v[] = $SET['igDt']; + } + + $q = "SELECT * FROM `$tanevDbNev`.`hianyzasHozott` WHERE diakId=%u".$W." GROUP BY statusz"; + $R = db_query($q, array('fv'=>'getDiakHozottHianyzas','modul'=>'naplo','result'=>'indexed','values'=>$v)); + /* ReIndex */ + for ($i=0; $i0) { // igen, SQL - ben is lehetne összeadni, a továbbfejlesztés miatt van így. +// $_felev = getFelevByDt($R[$i]['dt']); +// $RESULT[$_felev][$R[$i]['statusz']] += $R[$i]['dbHianyzas']; +// if ($_felev==1) $RESULT[($_felev+1)][$R[$i]['statusz']] += $R[$i]['dbHianyzas']; //+1 ? inkább a szemeszter vég dátuma előttieket kéne összeadni azt csókolom... + $RESULT[$R[$i]['statusz']]['db'] += $R[$i]['dbHianyzas']; + } + } + + } + return $RESULT; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/hianyzasModifier.php b/mayor-orig/www/include/modules/naplo/share/hianyzasModifier.php new file mode 100644 index 00000000..d45e8bc2 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/hianyzasModifier.php @@ -0,0 +1,363 @@ +0) { + $lr = db_connect('naplo', array('fv' => 'hianyzasPercUpdate')); + foreach($PERCEK as $_hid=>$_perc) { + if (__TANAR===true || __NAPLOADMIN===true) { // ennél szűkebb feltételek is szabhatók! + $v = array($_perc, $_hid); + /* csak az módosítsa, akinek ... */ + $W = ''; + if (__HIANYZASTOROLHETO!==true) { + if (__NAPLOADMIN===false && is_numeric(__USERTANARID)) { + $W = " AND rogzitoTanarId = %u "; + $v = mayor_array_join($v,array(__USERTANARID)); + } + } + $q = "UPDATE hianyzas SET perc=%u, modositasDt=NOW() WHERE hianyzasId=%u ".$W; + db_query($q, array('fv' => 'hianyzasIgazolas', 'modul' => 'naplo', 'values' => $v), $lr); + } else { + $_SESSION['alert'][] = 'info:not_allowed'; + } + } + db_close($lr); + } + } + + function hianyzasTorles($TORLENDOIDK, $tanev = __TANEV, $olr='') { + + if (!isset($tanev)) + if (defined('__TANEV')) $tanev = __TANEV; + else return false; + + $lr = ($olr!='') ? $olr : db_connect('naplo_intezmeny'); + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + if (!is_array($TORLENDOIDK) && $TORLENDOIDK!='') + $TORLENDOIDK[] = $TORLENDOIDK; + + if (is_array($TORLENDOIDK) && count($TORLENDOIDK)>0) { + + $v = mayor_array_join(array($tanevDb), $TORLENDOIDK); + + /* Itt ellenőrizhetjük hogy csak azt töröljük amit tényleg kell */ + $W = ''; + if (__HIANYZASTOROLHETO!==true) { + // __VEZETOSEG_TOROLHET_HIANYZAST, ha például tankörnévsort módosít... + if (__NAPLOADMIN===false && __VEZETOSEG_TOROLHET_HIANYZAST!==true && is_numeric(__USERTANARID)) { + $W = " AND rogzitoTanarId = %u "; + $v = mayor_array_join($v,array(__USERTANARID)); + } + } + + $q = "SELECT * FROM `%s`.hianyzas WHERE hianyzasId IN (".implode(',', array_fill(0, count($TORLENDOIDK), '%u')).")". $W; + $r = db_query($q, array('fv' => 'hianyzasTorles', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + + for ($i = 0; $i < count($r); $i++) + logAction( + array( + 'szoveg'=>'del:'.implode(',',$r[$i]), + 'table'=>'hianyzas' + ) + ); + + $q = "DELETE FROM `%s`.hianyzas WHERE hianyzasId IN (".implode(',', array_fill(0, count($TORLENDOIDK),'%u')).")". $W; + $r = db_query($q, array('fv' => 'hianyzasTorles', 'modul' => 'naplo', 'values' => $v), $lr); + + } else { $r = true; /* Nincs mit törölni */ } + + if ($olr=='') db_close($lr); + return $r; + } + + function hianyzasRegisztralas($ORAADAT,$BEIR) { + + $REPL = $INS = array(); + $oraId = $ORAADAT['oraId']; + $dt = $ORAADAT['dt']; + $ora = $ORAADAT['ora']; +// $rogzitoTanarStr = (__NAPLOADMIN===false && is_numeric(__USERTANARID)) ? __USERTANARID : 'null'; // null string az sql-nek! +// Miért ne rögzítsük a naplóadmin esetén a tanárId-t, ha van neki? Ahogy a Vezetőség esetén is rögzítjük... + $rogzitoTanarStr = (is_numeric(__USERTANARID)) ? __USERTANARID : 'null'; // null string az sql-nek! + + for($i=0; $i'hianyzasRegisztralas', 'modul'=>'naplo', 'result'=>'record', 'values' => array($oraId)), $lr); + $tankorId = $_ORAADAT['tankorId']; + $rogzitesIdoben = ((strtotime($_ORAADAT['dt']) >= strtotime(_HIANYZAS_HATARIDO)) ? 1:0); //--FIXME + // ezzel nem veszünk részt a tranzakcióban - intézményi db + //$q = "SELECT `tankorTipusId` FROM `tankor` WHERE `tankorId` = %u"; + //$tankorTipusId = db_query($q, array('fv'=>'hianyzasRegisztralas', 'modul'=>'naplo_intezmeny', 'result'=>'value', 'values' => array($tankorId))); + $q = "SELECT `tankorTipusId`,`tankorTipus`.`jelleg` FROM `tankor` LEFT JOIN `tankorTipus` USING (`tankorTipusId`) WHERE `tankorId` = %u"; + $TANKORADAT = db_query($q, array('fv'=>'hianyzasRegisztralas', 'modul'=>'naplo_intezmeny', 'result'=>'record', 'values' => array($tankorId))); + $tankorTipusId=$TANKORADAT['tankorTipusId']; + $tankorJelleg=$TANKORADAT['jelleg']; + if ($tankorJelleg!='gyakorlat' && $diakJogviszony[$diakId][$dt]['statusz'] == 'magántanuló') { + $_SESSION['alert'][] = 'info:diakJogviszony:'.$diakId.':'.$diakJogviszony[$diakId][$dt]['statusz'].':'.$dt; + continue; + } + // + if ($INS[$i]['statusz']=='igazolatlan') $INS[$i]['igazolas']=''; + + // Plusz ellenőrzés: ha hiányzást vagy késést írnánk be, a párjuk meglétekor ezt elutasítjuk + // Ilyen eset akkor állhat elő, ha pl nem az írta be a hiányzást, aki módosítani próbálja késésre (ekkor ugyanis nem törlődnek előtte a megfelelő bejegyzések) + if (in_array($INS[$i]['tipus'],array('hiányzás','késés'))) { + $q = "SELECT count(hianyzasId) AS db FROM hianyzas WHERE diakId=%u AND oraId=%u AND tipus IN ('hiányzás','késés')"; + $v = array($INS[$i]['diakId'], $oraId, $INS[$i]['tipus']); + $db = db_query($q, array('fv' => 'hianyzasRegisztralas/check', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + } + if ($db==0) { + $q = "INSERT INTO hianyzas (diakId,oraid,dt,ora,perc,tipus,statusz,igazolas,tankorTipusId,rogzitoTanarId,rogzitesIdoben,modositasDt) + VALUES (%u, %u, '%s', %u, %u, '%s', '%s', '%s', %u, %s, %u, NOW())"; + $v = array($INS[$i]['diakId'], $oraId, $dt , $ora, $INS[$i]['perc'], $INS[$i]['tipus'], $INS[$i]['statusz'], $INS[$i]['igazolas'], $tankorTipusId, $rogzitoTanarStr, $rogzitesIdoben); + $ins = db_query($q, array('fv' => 'hianyzasRegisztralas', 'modul' => 'naplo', 'result' => 'insert', 'values' => $v), $lr); + logAction( + array( + 'szoveg'=>'ins:'.$ins.':'.$INS[$i]['diakId'].",$oraId,$dt,$ora,".$INS[$i]['perc'].",".$INS[$i]['tipus'].",".$INS[$i]['statusz'].",".$INS[$i]['igazolas'], + 'table'=>'hianyzas' + ), + $lr + ); + } else { + $_SESSION['alert'][] = 'info:wrong_data:Ez a mulasztás nem módosítható'; + } + } else { + // a hibaüzenetet a keletkezésének helyén generáljuk (simple függvényben) + } + } else { + if ($diakId=='') $_SESSION['alert'][] = '::(hianyzasRegisztralas), nincs diak azonosito!'; + if ($oraId=='') $_SESSION['alert'][] = '::(hianyzasRegisztralas), nincs ora azonosito!'; + } + } + db_close($lr); + + } + + + function hianyzasIgazolas($IGAZOLANDOK,$diakId='') { + +/* + if ($diakId=='') { + $_SESSION['alert'][] = '::Ismeretlen diák azonosító!('.$diakId.')'; + return false; + } +*/ + + if (count($IGAZOLANDOK)>0) { + $lr = db_connect('naplo'); + for ($i=0; $i 'hianyzasIgazolas', 'modul' => 'naplo', 'values' => $v),$lr); + logAction( + array( + 'szoveg'=>'update:'.$_I['id'].':'.$_I['statusz'].','.$_I['igazolas'], + 'table'=>'hianyzas' + ), + $lr + ); + } else { + //$_SESSION['alert'][] = '::Ez a típus elfogyott ('.$_I['igazolas'].')'.$oraId.'.'.$diakId.$_I['statusz']; + } + } else { + if ($diakId=='') $_SESSION['alert'][] = '::(hianyzasIgazolas), nincs diak azonosito!'; + if ($oraId=='') $_SESSION['alert'][] = '::(hianyzasIgazolas), nincs ora azonosito!'; + } + } + db_close($lr); + } + + } + + + function getHianyzasJogosultsagSimple($oraId,$diakId,$igazolasTipus,$igazolasStatusz,$jogTipus, $olr='') { //$igTipus == SQL"igazolas" + + global $_TANEV; + + $lr = ($olr=='') ? db_connect('naplo') : $olr; + + $ORA = getOraAdatById($oraId, __TANEV, $lr); // a fv kapott tanev paramétert. default: __TANEV + $JOG = getHianyzasJogosultsag(array($ORA), array('idk'=>array($diakId))); + $oraElmaradt = in_array($ORA['tipus'],array('elmarad','elmarad máskor')); + + if ($lr=='') db_close($lr); + //$_SESSION['alert'][] = '::DEBUG:'.in_array($igazolasTipus, $JOG[$diakId]['igazolas']['tipusok']); + //if ($JOG[$diakId]['orak'][$ORA['ora']]['beirhato'|'fbeirhato'|'igazolhato'] + if ($JOG[$diakId]['orak'][$ORA['ora']][$jogTipus]===false) + $_SESSION['alert'][] = '::Nem '.$jogTipus; + elseif ($igazolasStatusz != 'igazolatlan' && !@in_array($igazolasTipus, $JOG[$diakId]['igazolas']['tipusok'])) + $_SESSION['alert'][] = 'info:tipus_elfogyott:'.$igazolasTipus; + elseif ($_TANEV['statusz']!='aktív') + $_SESSION['alert'][] = 'info:nem_aktív_tanev'; + elseif ( !isset($JOG[$diakId]['orak'][$ORA['ora']][$jogTipus]) ) + $_SESSION['alert'][] = 'info::debug##4'; + + return ($_TANEV['statusz']=='aktív' && $JOG[$diakId]['orak'][$ORA['ora']][$jogTipus] && $oraElmaradt===false && + ($igazolasStatusz == 'igazolatlan' || + @in_array($igazolasTipus, $JOG[$diakId]['igazolas']['tipusok']))); + } + + function getHianyzasJogosultsag($ORAK, $NEVSOR) { + global $_OSZTALYA,$_TANEV; + $DIAKIDK = $NEVSOR['idk']; + $DIAKOSZTALYAI = getDiakokOsztalyai($DIAKIDK); + + for ($i=0;$ifalse, 'beirhato' => false, 'igazolhato' => false); + + if ($_TANEV['statusz']=='aktív') { + + if ($ORAADAT['ki'] == __USERTANARID) { + if ( !in_array($ORAADAT['tipus'], array('elmarad' , 'elmarad máskor')) ) { + if ( strtotime($ORAADAT['dt']) >= strtotime(_HIANYZAS_HATARIDO) ) + $jog['beirhato'] = true; + if ( strtotime($ORAADAT['dt']) >= strtotime(_LEGKORABBAN_IGAZOLHATO_HIANYZAS) ) + $jog['fbeirhato'] = true; + } + } + + if ( + is_array($DIAKOSZTALYAI[$diakId]) && + is_array($_OSZTALYA) && + ($diakOfoje = (is_array($_OSZTALYA) && count(array_intersect($DIAKOSZTALYAI[$diakId],$_OSZTALYA)) > 0)) + ) { + if ( !in_array($ORAADAT['tipus'], array('elmarad' , 'elmarad máskor')) ) { + if ( strtotime($ORAADAT['dt']) >= strtotime(_OFO_HIANYZAS_HATARIDO) ) + $jog['beirhato'] = true; + if ( strtotime($ORAADAT['dt']) > $nemTimeStamp ) + $jog['igazolhato'] = true; + } + } + + if (__NAPLOADMIN || __VEZETOSEG) { + if ( strtotime($ORAADAT['dt']) >= strtotime(_ZARAS_HATARIDO) ) + $jog = array('fbeirhato'=>true, 'beirhato' => true, 'igazolhato' => true); + } + + } + + $JOGOSULTSAG[$diakId]['orak'][$ora] = $jog; + } // end of diakidk + } // end of orak + + /* */ + $felev = getFelevByDt($ORAK[0]['dt']); + if ($felev=='') return false; + + for ($i=0;$i intval($_IGAZOLAS['napok']['osszesen']['szülői'])) and + (__SZULOI_IGAZOLAS_FELEVRE == 0 or __SZULOI_IGAZOLAS_FELEVRE > intval($_IGAZOLAS['napok'][$felev]['szülői'])) and + (__SZULOI_ORA_IGAZOLAS_EVRE ==0 or __SZULOI_ORA_IGAZOLAS_EVRE > intval($_IGAZOLAS['orak']['osszesen']['szülői'])) and + (__SZULOI_ORA_IGAZOLAS_FELEVRE ==0 or __SZULOI_ORA_IGAZOLAS_FELEVRE > intval($_IGAZOLAS['orak'][$felev]['szülői'])) + ) { + $IG[] = 'szülői'; + } + $IG[] = 'tanulmányi verseny'; + $IG[] = 'nyelvvizsga'; + if ( + (__NAPLOADMIN || $diakOfoje) && // !__VEZETOSEG && - ez nem jó, ha vezetőségi tag ofő is egyben + (__OSZTALYFONOKI_IGAZOLAS_EVRE == 0 or __OSZTALYFONOKI_IGAZOLAS_EVRE > intval($_IGAZOLAS['napok']['osszesen']['osztályfőnöki'])) and + (__OSZTALYFONOKI_IGAZOLAS_FELEVRE == 0 or __OSZTALYFONOKI_IGAZOLAS_FELEVRE > intval($_IGAZOLAS ['napok'][$felev]['osztályfőnöki'])) and + (__OSZTALYFONOKI_ORA_IGAZOLAS_EVRE ==0 or __OSZTALYFONOKI_ORA_IGAZOLAS_EVRE > intval($_IGAZOLAS ['orak']['osszesen']['osztályfőnöki'])) and + (__OSZTALYFONOKI_ORA_IGAZOLAS_FELEVRE ==0 or __OSZTALYFONOKI_ORA_IGAZOLAS_FELEVRE > intval($_IGAZOLAS ['orak'][$felev]['osztályfőnöki'])) + ) { + $IG[] = 'osztályfőnöki'; + } + } + if (__VEZETOSEG || __NAPLOADMIN) { + $IG[] = 'igazgatói'; + } + $IG[] = 'hatósági'; + $IG[] = 'pályaválasztás'; + $JOGOSULTSAG[$diakId]['igazolas']['tipusok'] = $IG; + $JOGOSULTSAG[$diakId]['igazolas']['szamok'] = $_IGAZOLAS; + } + } + + return $JOGOSULTSAG; + } + + function hianyzasTankorTipusValtas($tankorId,$tankorTipusId,$SET = array('tanev'=>null)) { + + if (!isset($SET['tanev'])) return false; + $TANEV = getTanevAdat($SET['tanev']); + if ($TANEV['statusz']!='aktív') return false; + + $tanevDbNev = tanevDbNev(__INTEZMENY, $SET['tanev']); + + $q = "SELECT count(*) AS db FROM `%s`.hianyzas LEFT JOIN `%s`.ora USING(oraId) WHERE tankorTipusId!=%u AND tankorId=%u"; + $v = array($tanevDbNev,$tanevDbNev,$tankorTipusId,$tankorId); + $affected = db_query($q, array('debug'=>false,'modul'=>'naplo','values'=>$v,'result'=>'value')); + + $q = "UPDATE `%s`.hianyzas LEFT JOIN `%s`.ora USING(oraId) SET tankorTipusId=%u WHERE tankorId=%u"; + $v = array($tanevDbNev,$tanevDbNev,$tankorTipusId,$tankorId); + db_query($q, array('debug'=>false,'modul'=>'naplo','values'=>$v)); + + return $affected; // sajnos af affected rows DEPRECATED lett + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/hirnok.php b/mayor-orig/www/include/modules/naplo/share/hirnok.php new file mode 100644 index 00000000..3e845c79 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/hirnok.php @@ -0,0 +1,353 @@ +$SET['diakId']); + if (isset($SET['tanarId']) && !is_array($SET['tanarId'])) $SET['tanarId'] = array(0=>$SET['tanarId']); + // if (strtotime($SET['tolDt'])>strtotime(date('Y-m-d'))) $SET['tolDt'] = date('Y-m-d H:i:s'); + if (isset($SET['diakId']) && is_array($SET['diakId'])) { + for ($i=0;$i$_tolDt,'diakId'=>$_diakId); + $RESULT[] = array( + 'hirnokFolyamAdatok' => array( + 'id'=>$_diakId, + 'tipus'=>'diak', + 'cn'=>getDiakNevById($_diakId), + 'adat'=>getDiakAdatById($_diakId) + ), + 'hirnokFolyamUzenetek' => getHirnokFolyam($SUBSET) + ); + } + } + if (isset($SET['tanarId']) && is_array($SET['tanarId'])) { + for ($i=0;$i$_tolDt,'tanarId'=>$_tanarId); + $RESULT[] = array( + 'hirnokFolyamAdatok' => array( + 'id'=>$_tanarId, + 'tipus'=>'tanar', + 'cn'=>getTanarNevById($_tanarId), + 'adat'=>getTanarAdatById($_tanarId) + ), + 'hirnokFolyamUzenetek' => getHirnokFolyam($SUBSET) + ); + } + } + return $RESULT; + } + + function getHirnokFolyam($SET = array()) { + + global $_TANEV; + $R = array(); + + $TARGYADAT = array(); + $DIAKADAT = array(); + $TANARADAT = array(); + $TANKORADAT = array(); + $ORAADAT = array(); + + if (__NAPLOADMIN===true) { + if ($SET['diakId']>0) $diakId=$SET['diakId']; + elseif ($SET['tanarId']>0) $tanarId=$SET['tanarId']; + elseif (__TANAR ===true) $tanarId = __USERTANARID; + } else { + if (__DIAK===true) { // diák nézet + $diakId = __USERDIAKID; + } elseif (__TANAR ===true) { // tanár nézet + $tanarId = __USERTANARID; + } + } + + // tankörök lekérdezése + if (isset($diakId)) $TANKOROK = getTankorByDiakId($diakId, __TANEV); + // elseif (isset($osztalyId)) $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + elseif (isset($tanarId)) $TANKOROK = getTankorByTanarId($tanarId, __TANEV); + + $tankorIds = array(); + for ($i = 0; $i < count($TANKOROK); $i++) $tankorIds[] = $TANKOROK[$i]['tankorId']; + // DOLGOZATOK (leginkább a jövőben???) + if (is_array($tankorIds)) { + $_dolgozatok = getTankorDolgozatok($tankorIds, TRUE, $SET['tolDt'], $_TANEV['zarasDt']); // ennek a tömbnek a szerkezete elég fura... + for ($i=0; $istrtotime($SET['tolDt'])) { + $R[ strtotime($r['modositasDt']) ][] = array('hirnokTipus' => 'dolgozat', + 'dolgozatAdat' => $r + ); + } else { + // dump( 'nem aktuális a változtatás, már láttuk' ); + } + } + } + + if (__DIAK===true || (__NAPLOADMIN===true && $diakId>0)) { + if (_OSZTALYZATOK_ELREJTESE !== true || time() > strtotime($_TANEV['szemeszter'][1]['zarasDt'])) { // --TODO + // új zárójegyek, osztályzatok (diák esetén) + $q = "SELECT * from zaroJegy WHERE diakId=%u AND modositasDt>='%s'"; + $v = array($diakId,$SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/zaroJegy','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i'zaroJegy', + 'zaroJegyAdat'=>$r[$i], + 'diakAdat' => $DIAKADAT[$r[$i]['diakId']], + 'targyAdat' => $TARGYADAT[$r[$i]['targyId']] + ); + } + } // -- elrejtésmarhaság + // új jegyek (diák esetén) + $q = "SELECT * from jegy WHERE diakId=%u AND modositasDt>='%s'"; + $v = array($diakId,$SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/jegy','modul'=>'naplo','result'=>'indexed','values'=>$v)); + if (is_array($r)) + for ($i=0; $i'jegy', + 'jegyAdat'=>$r[$i], + 'diakAdat' => $DIAKADAT[$r[$i]['diakId']], + 'tankorAdat' => $TANKORADAT[$r[$i]['tankorId']][$r[$i]['tankorId']], // 0-1 ELSŐ-MÁSODIK FÉLÉV ADATAI + 'targyAdat' => $TARGYADAT[$_targyId], + 'oraAdat' => $ORAADAT[$r[$i]['oraId']], + 'dolgozatAdat' => $DOLGOZATADAT[$r[$i]['dolgozatId']], + ); + } + + // bejegyzés + $q = "SELECT * from bejegyzes LEFT JOIN ".__INTEZMENYDBNEV.".bejegyzesTipus USING (bejegyzesTipusId) + WHERE diakId=%u AND beirasDt>='%s'"; + $v = array($diakId,$SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/bejegyzes','modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i'bejegyzes', + 'bejegyzesAdat'=>$r[$i], + 'diakAdat' => $DIAKADAT[$r[$i]['diakId']], + 'tanarAdat' => $TANARADAT[$r[$i]['tanarId']][0], + ); + } + + // hiányzás + $q = "SELECT * from hianyzas WHERE diakId=%u AND modositasDt>='%s'"; + $v = array($diakId,$SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/hianyzas','modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i'hianyzas', + 'hianyzasAdat'=>$r[$i], + 'diakAdat' => $DIAKADAT[$r[$i]['diakId']], + 'oraAdat' => $ORAADAT[$r[$i]['oraId']], + ); + } + + } // ha diák + if (__TANAR === true || (__NAPLOADMIN===true && $tanarId>0)) { + if (defined('__USERTANARID') && is_numeric(__USERTANARID)) { + $q = "SELECT COUNT(*) FROM ora WHERE ki=".__USERTANARID." AND dt <= CURDATE() AND (leiras IS NULL OR leiras='')"; + $r = db_query($q, array('fv' => 'getBeirasiAdatok', 'modul' => 'naplo', 'result' => 'value')); + $R[mktime()][] = array( + 'hirnokTipus'=>'haladasiBeiratlan', + 'db'=>$r + ); + $q = "select * from idoszak where NOW() BETWEEN tolDt AND igDt ORDER BY tolDt"; + $r = db_query($q, array('fv' => 'getIdoszakAktiv', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + for ($i=0; $i'idoszak', + 'idoszakAdat'=>$r[$i] + ); + } + } + if (count($tankorIds)>0) { + // haladási óra - helyettesítőknek! + $q = "SELECT *,getNev(ki,'tanar') AS kiCn,getNev(kit,'tanar') AS kitCn, getNev(tankorId,'tankor') AS tankorCn from ora WHERE tankorId NOT IN (".implode(',',$tankorIds).") AND ki=%u AND modositasDt>='%s'"; + $v = array($tanarId,$SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/haladasi','modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i'haladasiOra', + 'oraAdat'=>$r[$i], + ); + } + } + } + // timestamp szerint asszociatív + // $R[strtotime($SET['tolDt'])][] = array('cim' => 'ELSŐ', 'txt'=>$SET['tolDt']); + + // haladási óra + if (count($tankorIds)>0) { + $q = "SELECT *,getNev(ki,'tanar') AS kiCn,getNev(kit,'tanar') AS kitCn, getNev(tankorId,'tankor') AS tankorCn from ora WHERE tankorId IN (".implode(',',$tankorIds).") AND modositasDt>='%s'"; + $v = array($SET['tolDt']); + $r = db_query($q, array('fv'=>'getHirnokFolyam/haladasi2','modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i'haladasiOra', + 'oraAdat'=>$r[$i], + ); + } + } + // Üzenő +// /* 20170418 + initSzerep(); + $_SET['tanev'] = __TANEV; +// $_SET['limits'] = array('limit'=>10, 'mutato'=>1, 'pointer'=>1); +// --TODO NOTE-- EZ KELL!!!!!! + $_SET['filter'][] = 'dt>="'.$SET['tolDt'].'"'; + $_SET['ignoreAdmin'] = true; + $r = getUzenoUzenetek($_SET); + for ($i=0; $i'uzeno', + 'uzenoAdat' => $r[$i], + 'feladoNev' => $feladoNev, + 'cimzettNev' => $cimzettNev, + ); + } +// 20170418 */ + + reset($R); + krsort($R); + + return $R; + } + + + function getHirnokFeliratkozasok($mind=false) { + + if ($mind===true) { // hirek feliratkozáshoz! + if (__NAPLOADMIN === true) { + $q = "SELECT * FROM hirnokFeliratkozas ORDER BY email"; + $values = array(); + } else { + $q = "SELECT * FROM hirnokFeliratkozas WHERE userAccount='%s' AND policy='%s'"; + $values = array(_USERACCOUNT,_POLICY); + } + } else { + $q = "SELECT naploTipus,naploId FROM hirnokFeliratkozas WHERE userAccount='%s' AND policy='%s'"; + $values = array(_USERACCOUNT,_POLICY); + } + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$values)); + + if ($mind===true) { // hirnokFeliratkozashoz + return $r; + } else { // egyébként + for ($i=0; $i'addHirnokFeliratkozas/get', 'modul'=>'naplo_intezmeny', 'values'=>$v, 'result'=>'value')); + + if ($utolsoEmailDt=='0000-00-00 00:00:00') { + $q = "INSERT INTO hirnokFeliratkozas (naploId, naploTipus, userAccount, policy, email, feliratkozasDt, utolsoEmailDt, megtekintesDt) + VALUES (%u,'%s','%s','%s','%s',NOW(),null,null)"; + $v = array(intval($ADAT['naploId']), $ADAT['naploTipus'], _USERACCOUNT, _POLICY, $ADAT['email']); + } else { + $q = "INSERT INTO hirnokFeliratkozas (naploId, naploTipus, userAccount, policy, email, feliratkozasDt, utolsoEmailDt, megtekintesDt) + VALUES (%u,'%s','%s','%s','%s',NOW(),'%s',null)"; + $v = array(intval($ADAT['naploId']), $ADAT['naploTipus'], _USERACCOUNT, _POLICY, $ADAT['email'], $utolsoEmailDt); + } + return db_query($q, array('debug'=>true,'fv'=>'addHirnokFeliratkozas/set', 'modul'=>'naplo_intezmeny', 'values'=>$v, 'result'=>'insert')); + + } + + + function delHirnokFeliratkozas($ADAT) { + + // if (!is_array($ADAT['hirnokFeliratkozas'])) $X = array($ADAT['hirnokFeliratkozas']); + $q = "DELETE FROM hirnokFeliratkozas WHERE hirnokFeliratkozasId = %u"; + $v = array(intval($ADAT['hirnokFeliratkozasId'])); + return db_query($q, array('debug'=>true,'fv'=>'delHirnokFeliratkozas', 'modul'=>'naplo_intezmeny', 'values'=>$v, 'result'=>'delete')); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/intezmenyek.php b/mayor-orig/www/include/modules/naplo/share/intezmenyek.php new file mode 100644 index 00000000..9a99a696 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/intezmenyek.php @@ -0,0 +1,134 @@ + 'getIntezmenyek', 'modul' => 'naplo_base', 'result' => 'indexed')); + + } + + function getTelephelyek($SET = array('result' => 'indexed')) { + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed','assoc')); + $keyfield = 'telephelyId'; + $q = "SELECT * FROM telephely"; + return db_query($q, array('fv' => 'getTelephelyek', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => $keyfield)); + + } + + function getIntezmenyByRovidnev($rovidnev) { + + $q = "SELECT * FROM intezmeny LEFT JOIN `intezmeny_%s`.`telephely` ON telephely.alapertelmezett=1 WHERE intezmeny.rovidnev='%s'"; + return db_query($q, array('fv' => 'getIntezmenyByRovidnev', 'modul' => 'naplo_base', 'result' => 'record', 'values' => array($rovidnev, $rovidnev))); + + } + + function getTanevek($tervezett = false) { + + $q = "SELECT DISTINCT tanev FROM szemeszter"; + if (!$tervezett) $q .= " WHERE statusz != 'tervezett'"; + return db_query($q, array('fv' => 'getTanevek', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + + } + + + function updateSessionIntezmeny($intezmeny) { + + + $lr = db_connect('naplo_base', array('fv' => 'updateSessionIntezmeny')); + if (!$lr) return false; + + if ($intezmeny != '') { + + $intDb = intezmenyDbNev($intezmeny); + + // telephelyId lekérdezése + $q = "SELECT `telephelyId` FROM `%s`.telephely WHERE alapertelmezett=1 LIMIT 1"; + $telephelyId = db_query($q, array('fv' => 'updateSessionIntezmeny/telephely', 'modul' => 'naplo_base', 'values' => array($intDb), 'result' => 'value'), $lr); + if ($telephelyId != '') $telephelyIdPattern = '%u'; + else $telephelyIdPattern = 'NULL'; + $q = "SELECT tanev, + IF(ABS(DATEDIFF(zarasDt,CURDATE())) 'updateSessionIntezmeny/tanev', 'modul' => 'naplo_base', 'values' => array($intDb), 'result' => 'indexed'), $lr); + + if ($r===false) { // Ha például nem létező intézményre váltanánk... + $_SESSION['alert'][] = 'message:wrong_data:no_database?:'.$intDb; + db_close($lr); + return false; + } elseif (count($r) > 0) { + $tanev = $r[0]['tanev']; + $q = "UPDATE session SET intezmeny='%s', tanev=%u, telephelyId=$telephelyIdPattern + WHERE sessionID='"._SESSIONID."' "; + $v = array($intezmeny, $tanev, $telephelyId); + } else { + $q = "UPDATE session SET intezmeny='%s', tanev=NULL, telephelyId=$telephelyIdPattern + WHERE sessionID='"._SESSIONID."' "; + $v = array($intezmeny, $telephelyId); + } + + } else { + // Intézmény törlése + $q = "UPDATE session SET intezmeny=NULL, tanev=NULL, telephelyId=NULL WHERE sessionID='%s' "; + $v = array(_SESSIONID); + } + $r = db_query($q, array('fv' => 'updateSessionIntezmeny/update', 'modul' => 'naplo_base', 'values' => $v), $lr); + + db_close($lr); + + return true; + + } + + function updateSessionTanev($tanev) { + + + if (is_numeric($tanev)) { + + $intDb = intezmenyDbNev(__INTEZMENY); + + $q = "SELECT COUNT(tanev) FROM $intDb.szemeszter WHERE statusz!='tervezett' AND tanev=$tanev"; + $num = db_query($q, array('fv' => 'updateSessionTanev', 'modul' => 'naplo_base', 'values' => array($intDb, $tanev), 'result' => 'value')); + if ($num > 0) { + $q = "UPDATE session SET tanev=%u WHERE sessionID='"._SESSIONID."' "; + } else { + $_SESSION['alert'][] = 'message:nincs_ilyen_tanev:'.$tanev; + return false; + } + + } else { + // Tanév törlése + $q = "UPDATE session SET tanev=NULL WHERE sessionID='"._SESSIONID."' "; + } + + return db_query($q, array('fv' => 'updateSessionTanev', 'modul' => 'naplo_base', 'values' => array($tanev))); + + } + + function updateSessionTelephelyId($telephelyId) { + + + if (is_numeric($telephelyId)) { + + $q = "SELECT COUNT(`telephelyId`) FROM `telephely` WHERE `telephelyId`=%u"; + $v = array($telephelyId); + $num = db_query($q, array('fv' => 'updateSessionTelephely', 'modul' => 'naplo_intezmeny', 'values' => array($telephelyId), 'result' => 'value')); + if ($num == 1) { + $q = "UPDATE `session` SET `telephelyId`=%u WHERE `sessionID`='"._SESSIONID."' "; + } else { + $_SESSION['alert'][] = 'message:nincs_ilyen_telephelyId:'.$telephelyId; + return false; + } + + } else { + // telephelyId törlése + $q = "UPDATE `session` SET `telephelyId`=NULL WHERE `sessionID`='"._SESSIONID."' "; + } + + return db_query($q, array('fv' => 'updateSessionTelephely', 'modul' => 'naplo_base', 'values' => array($telephelyId))); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/jegy.php b/mayor-orig/www/include/modules/naplo/share/jegy.php new file mode 100644 index 00000000..3898bc2a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/jegy.php @@ -0,0 +1,73 @@ + 'getJegyInfo')); + else $lr = $olr; + + $q = "SELECT jegyId, jegy.diakId AS diakId, tankorId, dt, jegy, jegyTipus, tipus, jegy.megjegyzes, oraId, dolgozatId, + TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) AS diakNev, modositasDt + FROM `%s`.jegy LEFT JOIN ".__INTEZMENYDBNEV.".diak USING(diakId) + WHERE jegyId=%u"; + $jegy = db_query($q, array('fv' => 'getJegyInfo', 'modul' => 'naplo', 'result' => 'record', 'values' => array($tanevDb, $jegyId)), $lr); + if (!is_array($jegy)) { + $_SESSION['alert'][] = 'message:wrong_data:getJegyek:jegyId='.$jegyId; + if ($olr == '') db_close($lr); + return false; + } + + $jegy['tanár'] = getTankorTanaraiByInterval($jegy['tankorId'], array('tanev' => $tanev, 'result' => 'nevsor'), $lr); + $tanarSzam = count($jegy['tanár']); $jegy['tanár']['idk'] = array(); + for ($i = 0; $i < $tanarSzam; $i++) { + if (!in_array($jegy['tanár'][$i]['tanarId'], $jegy['tanár']['idk'])) + $jegy['tanár']['idk'][] = $jegy['tanár'][$i]['tanarId']; + } + $jegy['tankör'] = getTankorById($jegy['tankorId'], $tanev, $lr); + + if ($jegy['oraId'] != '') $jegy['oraAdat'] = getOraAdatById($jegy['oraId'], $tanev, $lr); + + if ($jegy['tipus'] > 2 && $jegy['dolgozatId'] != '') { + + // A dolgozat adatainak lekérdezése + $q = "SELECT bejelentesDt, tervezettDt, dolgozatNev FROM `%s`.dolgozat WHERE dolgozatId=%u"; + $jegy['dolgozat'] = db_query($q, array('fv' => 'getJegyInfo', 'modul' => 'naplo', 'result' => 'record', 'values' => array($tanevDb, $jegy['dolgozatId'])), $lr); + if (!is_array($jegy['dolgozat']) || count($jegy['dolgozat']) == 0) { + $_SESSION['alert'][] = 'message:wrong_data:jegyId='.$jegyId.':dolgozatId='.$jegy['dolgozatId']; + if ($olr == '') db_close($lr); + return false; + } + + } + + if ($olr == '') db_close($lr); + return $jegy; + } + + + /* + A függvényt arra használjuk, hogy van-e eltérés a tárgy átlag és az osztalyzat között + */ + function getDiakJegyAtlagok($DIAKIDS,$ADAT=array('evfolyam'=>''),$lr='') { + // tanev adatbázis + //$q = "SELECT targyId,AVG(jegy) as jegyAtlag FROM jegy LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) WHERE diakId=%u GROUP BY targyId"; + //$r = db_query($q, array('modul'=>'naplo','values'=>array($diakId), 'result'=>'assoc','keyfield'=>'targyId')); + $q = "SELECT diakId,targyId,AVG(jegy) as jegyAtlag FROM jegy LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) WHERE diakId IN + (".implode(',', array_fill(0, count($DIAKIDS), '%u')).") GROUP BY diakId,targyId"; + $r = db_query($q, array('modul'=>'naplo', 'result'=>'indexed', 'values'=>$DIAKIDS)); + $arraymap = array('diakId','targyId'); + return reindex($r, $arraymap); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/jegyModifier.php b/mayor-orig/www/include/modules/naplo/share/jegyModifier.php new file mode 100644 index 00000000..e86a76b0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/jegyModifier.php @@ -0,0 +1,68 @@ +0) { + // Naplózás + for ($i = 0; $i < count($jegyInfo); $i++) { + $jegyAdat = $jegyInfo[$i]; + $param = $jegyAdat['jegyId'].', '.$jegyAdat['diakId'].', '.$jegyAdat['tankorId'].', '.$jegyAdat['dt'].', '.$jegyAdat['jegy'].', '.$jegyAdat['tipus'].', '.$jegyAdat['oraId'].', '.$jegyAdat['dolgozatId']; + logAction( + array( + 'szoveg'=>'Jegy törlés: '.$param, + 'table'=>'jegy' + ), + $lr + ); + } + // Jegyek törlése + $q = "DELETE FROM `%s`.jegy WHERE jegyId IN (".implode(',', array_fill(0, count($jegyId), '%u')).")"; + array_unshift($jegyId, $tanevDb); + $r = db_query($q, array('fv' => 'jegyTorles', 'modul' => 'naplo', 'values' => $jegyId), $lr); + } else { + // Miért false? Nincs törlendő jegy - akkor sikeres a törlés // return false; + $r = true; + } + + if ($olr=='') db_close($lr); + return $r; + + } + + function jegyModositas($jegyId, $jegy, $jegyTipus, $tipus, $oraId, $dolgozatId, $megjegyzes) { + + $v = array($jegy, $jegyTipus, $tipus); + if (!is_null($oraId)) $v[] = $oraId; + if (!is_null($dolgozatId)) $v[] = $dolgozatId; + array_push($v, $megjegyzes, $jegyId); + $q = "UPDATE `jegy` SET modositasDt=NOW(), jegy=%f, jegyTipus='%s', tipus=%u, oraId=".((is_null($oraId))?'NULL':'%u').", dolgozatId=".((is_null($dolgozatId))?'NULL':'%u').", megjegyzes='%s' WHERE jegyId=%u"; + + return db_query($q, array('fv' => 'jegyModositas', 'modul' => 'naplo', 'values' => $v), $lr); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/jegyzet.php b/mayor-orig/www/include/modules/naplo/share/jegyzet.php new file mode 100644 index 00000000..b5a0da64 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/jegyzet.php @@ -0,0 +1,216 @@ +0) { + $userId = __USERDIAKID; + $userTipus='diak'; + } elseif (__DIAK===true && _SZULODIAKID>0) { + $userId = __SZULODIAKID; + $userTipus='szulo'; + } elseif (__TANAR === true) { + $userId = __USERTANARID; + $userTipus='tanar'; + } else { + $userId = 0; + $userTipus=''; + } + define('__JEGYZETSZEREPTIPUS',$userTipus); + define('__JEGYZETSZEREPID',$userId); + + // + function getJegyzet($SET = array('tolDt'=>'','igDt'=>'','dt'=>'')) { + + // csak a saját jegyzeteim lehet lekérdezni + if (__DIAK===true && __USERDIAKID>0) { + $userId = __USERDIAKID; + $userTipus='diak'; + } elseif (__DIAK===true && _SZULODIAKID>0) { + $userId = __SZULODIAKID; + $userTipus='szulo'; + } elseif (__TANAR === true) { + $userId = __USERTANARID; + $userTipus='tanar'; + } elseif (__NAPLOADMIN === true) { // ha nem tanár de naplóadmin (speciális eset :) ) + $userId = 0; + $userTipus='admin'; + } else { + return false; + } + + $tolDt = readVariable($SET['tolDt'], 'date'); + $igDt = readVariable($SET['igDt'], 'date'); + initTolIgDt(__TANEV, $tolDt, $igDt); + // jogosultság szerint 0: privát, 1: speciális, 2: publikus (csak tanár állíthat be?) + if (__NAPLOADMIN===true && $userId===0 && $userTipus==='admin') { // speciális esetben minden zárt és publikust láthatjuk (kivéve a privátot) + $q = "SELECT *,getNev(userId,userTipus) AS nev FROM jegyzet WHERE publikus IN (0,1,2) AND dt >= '%s' AND dt<= '%s' ORDER BY dt"; + $v = array($tolDt,$igDt); + } else { + $q = "(SELECT *,getNev(userId,userTipus) AS nev FROM jegyzet WHERE (userId=%u AND userTipus='%s') AND dt >= '%s' AND dt<= '%s' ORDER BY dt)"; + if (count($SET['osztalyIdk'])>0) $q .= " UNION (SELECT jegyzet.*,getNev(userId,userTipus) AS nev FROM jegyzet LEFT JOIN jegyzetOsztaly USING (jegyzetId) WHERE osztalyId IN (". implode(',',$SET['osztalyIdk']) .") AND publikus=1 ORDER BY dt)"; + if (count($SET['tankorIdk'])>0) $q .= " UNION (SELECT jegyzet.*,getNev(userId,userTipus) AS nev FROM jegyzet LEFT JOIN jegyzetTankor USING (jegyzetId) WHERE tankorId IN (". implode(',',$SET['tankorIdk']) .") AND publikus=1 ORDER BY dt)"; + $q .= " UNION (SELECT *,getNev(userId,userTipus) AS nev FROM jegyzet WHERE publikus=2 AND dt >= '%s' AND dt<= '%s' ORDER BY dt)"; + $v = array($userId,$userTipus,$tolDt,$igDt,$tolDt,$igDt); + } + $R = db_query($q, array('fv' => 'getJegyzet0', 'modul' => 'naplo', 'values' => $v, 'result'=>'indexed'), $lr); + + return $R; + } + + // + function getJegyzetAdat($jegyzetId) { + + global $_OSZTALYA; + + if (__DIAK===true && __USERDIAKID>0) { + $userId = __USERDIAKID; + $userTipus='diak'; + } elseif (__DIAK===true && _SZULODIAKID>0) { + $userId = __SZULODIAKID; + $userTipus='szulo'; + } elseif (__TANAR === true) { + $userId = __USERTANARID; + $userTipus='tanar'; + } elseif (__NAPLOADMIN === true) { // ha nem tanár de naplóadmin (speciális eset :) ) + $userId = 0; + $userTipus='admin'; + } else { + return false; + } + + + // jogosultság ellenőr + if (_POLICY!='public') { + if (__JEGYZETSZEREPTIPUS == 'diak') { + $JA['tankorok'] = getTankorByDiakId(__JEGYZETSZEREPID); + $JA['osztalyok'] = getDiakOsztalya(__JEGYZETSZEREPID,array('tanev'=>$tanev,'tolDt'=>$dt,'igDt'=>$dt)); + } elseif (__JEGYZETSZEREPTIPUS == 'tanar') { + $JA['tankorok'] = getTankorByTanarId(__JEGYZETSZEREPID); + //if (is_array($_OSZTALYA) && count($_OSZTALYA)>0) $JA['osztalyok'] = getOsztalyok(null,array('osztalyIds'=>$_OSZTALYA)); + $JA['munkakozossegek'] = getMunkakozossegByTanarId(__JEGYZETSZEREPID, array('idonly'=>false)); + } + for ($i=0; $i0) $q .= " UNION (SELECT jegyzet.*,getNev(userId,userTipus) AS nev FROM jegyzet LEFT JOIN jegyzetOsztaly USING (jegyzetId) WHERE osztalyId IN (". implode(',',$JA['osztalyIdk']) .") AND publikus=1 AND jegyzetId=%u ORDER BY dt)"; + if (count($JA['tankorIdk'])>0) $q .= " UNION (SELECT jegyzet.*,getNev(userId,userTipus) AS nev FROM jegyzet LEFT JOIN jegyzetTankor USING (jegyzetId) WHERE tankorId IN (". implode(',',$JA['tankorIdk']) .") AND publikus=1 AND jegyzetId=%u ORDER BY dt)"; + $q .= " UNION (SELECT *,getNev(userId,userTipus) AS nev FROM jegyzet WHERE publikus=2 AND jegyzetId=%u ORDER BY dt)"; + $v = array($userId,$userTipus,$jegyzetId,$jegyzetId,$jegyzetId,$jegyzetId); + } + $R = db_query($q, array('fv' => 'getJegyzet', 'modul' => 'naplo', 'values' => $v, 'result'=>'record'), $lr); // jegyzetId, tehát egy record + + for($i=0;$i 'getJegyzet1', 'modul' => 'naplo', 'values' => $v, 'result'=>'idonly'), $lr); + } + for($i=0;$i 'getJegyzet2', 'modul' => 'naplo', 'values' => $v, 'result'=>'idonly'), $lr); + } + for($i=0;$i 'getJegyzet3', 'modul' => 'naplo', 'values' => $v, 'result'=>'idonly'), $lr); + } + return $R; + } + + function setJegyzetAdat($ADAT) { + + if (__DIAK===true && __USERDIAKID>0) { + $userId = __USERDIAKID; + $userTipus='diak'; + $allowedPublikus = array(0,1); + } elseif (__DIAK===true && _SZULODIAKID>0) { + $userId = __SZULODIAKID; + $userTipus='szulo'; + $allowedPublikus = array(0,1); + } elseif (__TANAR === true) { + $userId = __USERTANARID; + $userTipus='tanar'; + $allowedPublikus = array(0,1,2); + } else { + return false; + } + + if ($ADAT['jegyzetId']<=0) { // insert + $q = "INSERT INTO jegyzet (jegyzetId) VALUES ('')"; + $jegyzetId = db_query($q, array('fv' => 'setJegyzetAdat', 'modul' => 'naplo', 'values' => $v, 'result'=>'insert')); + $q = "UPDATE jegyzet SET userId=%u,userTipus='%s' WHERE jegyzetId=%u"; + $v = array($userId,$userTipus,$jegyzetId); + db_query($q, array('fv' => 'setJegyzetAdat', 'modul' => 'naplo', 'values' => $v, 'result'=>'insert')); + } else { + $jegyzetId = $ADAT['jegyzetId']; + } + + $dt = readVariable($ADAT['dt'],'date'); + $dt = getTanitasiNapVissza(0,$dt); + $publikus = readVariable($ADAT['publikus'],'id',0,$allowedPublikus); + + $q = "UPDATE jegyzet SET jegyzetLeiras='%s',publikus=%u,dt='%s' WHERE userId=%u AND userTipus='%s' AND jegyzetId=%u"; + $v = array(readVariable($ADAT['jegyzetLeiras'],'string'),$publikus,$dt,$userId,$userTipus,$jegyzetId); + db_query($q, array('fv' => 'getJegyzet', 'modul' => 'naplo', 'values' => $v, 'result'=>'record')); + + $q = "DELETE FROM jegyzetTankor WHERE jegyzetId=%u"; + $v = array($jegyzetId); + db_query($q, array('fv' => 'getJegyzet', 'modul' => 'naplo', 'values' => $v, 'result'=>'indexed'), $lr); + + for ($i=0; $i 'setJegyzetAdat', 'modul' => 'naplo', 'values' => $v, 'result'=>'insert')); + } + + $q = "DELETE FROM jegyzetOsztaly WHERE jegyzetId=%u"; + $v = array($jegyzetId); + db_query($q, array('fv' => 'getJegyzet', 'modul' => 'naplo', 'values' => $v, 'result'=>'indexed'), $lr); + + for ($i=0; $i 'setJegyzetAdat', 'modul' => 'naplo', 'values' => $v, 'result'=>'insert')); + } + $q = "DELETE FROM jegyzetMunkakozosseg WHERE jegyzetId=%u"; + $v = array($jegyzetId); + db_query($q, array('fv' => 'getJegyzet4', 'modul' => 'naplo', 'values' => $v, 'result'=>'indexed'), $lr); + for ($i=0; $i 'setJegyzetAdat', 'modul' => 'naplo', 'values' => $v, 'result'=>'insert')); + } + return $jegyzetId; + + } + + function delJegyzet($jegyzetId) { + if (__DIAK===true && __USERDIAKID>0) { + $userId = __USERDIAKID; + $userTipus='diak'; + } elseif (__DIAK===true && _SZULODIAKID>0) { + $userId = __SZULODIAKID; + $userTipus='szulo'; + } elseif (__TANAR === true) { + $userId = __USERTANARID; + $userTipus='tanar'; + } else { + return false; + } + + $q = "DELETE FROM jegyzet WHERE userId=%u AND userTipus='%s' AND jegyzetId=%u"; + $v = array($userId,$userTipus,$jegyzetId); + db_query($q, array('fv' => 'jegyzetel', 'modul' => 'naplo', 'values' => $v, 'result'=>'')); + return; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/kepesites.php b/mayor-orig/www/include/modules/naplo/share/kepesites.php new file mode 100644 index 00000000..4315e64b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/kepesites.php @@ -0,0 +1,103 @@ +'getKepesitesek','modul'=>'naplo_intezmeny','result'=>$result,'keyfield'=>'kepesitesId')); + + } + + function getTanarKepesites($tanarId) { + + $q = "SELECT * FROM tanarKepesites LEFT JOIN kepesites USING (kepesitesId) WHERE tanarId=%u"; + return db_query($q, array('fv'=>'getTanarKepesites','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($tanarId))); + + } + + function getTanarKepesitesIds($tanarIds) { + + $q = "SELECT tanarId, kepesitesId FROM tanarKepesites"; + if (is_array($tanarIds)) { + $q .= " WHERE tanarId IN (".implode(',', array_fill(0, count($tanarIds), '%u')).")"; + $v = $tanarIds; + } + $r = db_query($q, array('fv'=>'getTanarKepesitesIds','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + + if (is_array($r)) { + for ($i=0; $i'getKepesitesTargy','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($kepesitesId))); + + } + + function getKepesitesTanar($kepesitesId) { + + $q = "SELECT *, CONCAT_WS(' ',viseltNevElotag, viseltCsaladinev, viseltUtonev) AS tanarNev FROM tanarKepesites LEFT JOIN tanar USING (tanarId) + WHERE kepesitesId=%u ORDER BY tanarNev, tanarId"; + return db_query($q, array('fv'=>'getKepesitesTanar','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($kepesitesId))); + + } + + /* --- set --- */ + + function tanarKepesitesHozzarendeles($tanarId, $kepesitesId) { + + $q = "INSERT INTO tanarKepesites (tanarId, kepesitesId) VALUES (%u,%u)"; + $v = array($tanarId, $kepesitesId); + return db_query($q, array('fv'=>'tanarKepesitesHozzarendeles','modul'=>'naplo_intezmeny','values'=>$v)); + + } + + function kepesitesTargyHozzarendeles($kepesitesId, $targyId) { + + $q = "INSERT INTO kepesitesTargy (kepesitesId, targyId) VALUES (%u,%u)"; + $v = array($kepesitesId, $targyId); + return db_query($q, array('fv'=>'kepesitesTargyHozzarendeles','modul'=>'naplo_intezmeny','values'=>$v)); + + } + + function kepesitesTargyTorles($kepesitesId, $targyId) { + + $q = "DELETE FROM kepesitesTargy WHERE kepesitesId=%u AND targyId=%u"; + $v = array($kepesitesId, $targyId); + return db_query($q, array('fv'=>'kepesitesTargyTorles','modul'=>'naplo_intezmeny','values'=>$v)); + + } + + function tanarKepesitesTorles($tanarId, $kepesitesId) { + + $q = "DELETE FROM tanarKepesites WHERE tanarId=%u AND kepesitesId=%u"; + $v = array($tanarId, $kepesitesId); + return db_query($q, array('fv'=>'tanarKepesitesTorles','modul'=>'naplo_intezmeny','values'=>$v)); + + } + + function ujKepesites($vegzettseg, $fokozat, $specializacio, $kepesitesNev) { + $q = "INSERT INTO kepesites (vegzettseg, fokozat, specializacio, kepesitesNev) VALUES ('%s','%s','%s','%s')"; + $v = array($vegzettseg, $fokozat, $specializacio, $kepesitesNev); + return db_query($q, array('fv'=>'ujKepesites','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v)); + + } + + function kepesitesModositas($kepesitesId, $vegzettseg, $fokozat, $specializacio, $kepesitesNev) { + + $q = "UPDATE kepesites SET vegzettseg='%s',fokozat='%s',specializacio='%s',kepesitesNev='%s' WHERE kepesitesId=%u"; + $v = array($vegzettseg, $fokozat, $specializacio, $kepesitesNev, $kepesitesId); + return db_query($q, array('debug'=>false,'fv'=>'kepesitesModositas','modul'=>'naplo_intezmeny','values'=>$v)); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/kepzes.php b/mayor-orig/www/include/modules/naplo/share/kepzes.php new file mode 100644 index 00000000..39af3847 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/kepzes.php @@ -0,0 +1,183 @@ + 'getKepzesek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + + } + + function getKepzesAdatById($kepzesId) { + + $q = "SELECT * FROM kepzes WHERE kepzesId=%u"; + $ret = db_query($q, array('fv' => 'getKepzesAdatById', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($kepzesId))); + if (!$ret || !is_array($ret) || count($ret) == 0) return false; + + if ($ret['osztalyJellegId']!='') { + $EVFOLYAMJELEK=getEvfolyamJelek(array('result'=>'idonly')); + $ret['osztalyJelleg']=getOsztalyJellegAdat($ret['osztalyJellegId']); + $ret['osztalyEvfolyamJelek'] = explode(',',$ret['osztalyJelleg']['evfolyamJelek']); + } + + $q = "SELECT osztalyId FROM kepzesOsztaly WHERE kepzesId=%u"; + $ret['osztalyIds'] = db_query($q, array('fv' => 'getKepzesAdatById/Osztályok', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($kepzesId))); + return $ret; + + } + + function getKepzesByOsztalyJelleg($osztalyJellegId) { + + $q = "select * from kepzes where osztalyJellegId=%u order by kepzesNev"; + return db_query($q, array('fv'=>'getKepzesByOsztalyJelleg','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($osztalyJellegId))); + + } + + function getKepzesByOsztalyId($osztalyId, $SET = array('result' => 'indexed', 'arraymap' => null)) { + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed','multiassoc')); + if (!is_array($osztalyId)) $osztalyId = array($osztalyId); + + $q = "SELECT * FROM kepzesOsztaly LEFT JOIN kepzes USING (kepzesId) WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyId), '%u')).")"; + $ret = db_query($q, array( + 'fv' => 'getKepzesByOsztalyId', 'modul' => 'naplo_intezmeny', 'values' => $osztalyId, 'result' => $result, 'keyfield' => 'osztalyId' + )); + + if (is_array($SET['arraymap'])) return reindex($ret, $SET['arraymap']); + else return $ret; + + } + + /* NEW */ + function getOsztalyLehetsegesKepzesei($osztalyId, $SET=array()) { + return getKepzesByOsztaly($osztalyId,$SET); + } + + /* NEW */ + function getOsztalyKepzesei($osztalyId,$SET=array()) { + $DIAKIDK = getDiakokByOsztalyIds($osztalyId); + } + + function getKepzesByDiakId($diakId, $SET = array('result' => 'assoc', 'dt' => null, 'arraymap' => null)) { + /** + * Ha nincs dátum megadva, akkor az összes, amúgy az adott dátumkor érvényes képzéseket adja vissza a függvény! + **/ + + if (!is_array($diakId)) + if ($diakId != '') $diakId = array($diakId); + else $diakId = array(); + if (count($diakId) == 0) return false; + if ($SET['result'] == 'csakid') $SET['result'] = 'idonly'; // az egységesítés nevében + + if (isset($SET['dt']) and $SET['dt'] != '') { + $WHERE_DT = " AND tolDt<='%s' AND (igDt IS NULL OR '%s'<=igDt)"; + $v = mayor_array_join($diakId, array($SET['dt'], $SET['dt'])); + } else { + $WHERE_DT = ""; + $v = $diakId; + } + if ($SET['result'] == 'idonly') { + $q = "SELECT DISTINCT kepzesId FROM kepzesDiak LEFT JOIN kepzes USING (kepzesId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakId), '%u')).")".$WHERE_DT; + $ret = db_query($q, array('fv' => 'getKepzesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + } else { + $q = "SELECT * FROM kepzesDiak LEFT JOIN kepzes USING (kepzesId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakId), '%u')).")".$WHERE_DT; + if ($SET['arraymap'] && count($SET['arraymap'])>0) { // ha arraymap van, nem figyelünk a resultra + $r = db_query($q, array('fv' => 'getKepzesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + $ret = reindex($r,$SET['arraymap']); + } elseif ($SET['result'] == 'assoc' || $SET['result'] == 'multiassoc') { + $ret = db_query($q, array( + 'fv' => 'getKepzesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'diakId', 'values' => $v + )); + } else { + $ret = db_query($q, array('fv' => 'getKepzesByDiakId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + } + } + if (!$ret || !is_array($ret)) return false; //ez miért jó? + return $ret; + + } + +// function getKepzesTargyByDiakId() --> targyId,targyNev + + + function getTargyAdatFromKepzesOraterv($kepzesId, $SET = array('tipus'=>null, 'targyId'=>null, 'evfolyamJel'=>null, 'szemeszter'=>null, 'arraymap'=>null)) { + /* + Ha van megadva típus és az nem 'mintatantervi', akkor azt (is) figyelembe veszi, DE az adatszerkezetbe nem kerül bele a tipus! + */ + if ($kepzesId=='') return false; + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('targyId','evfolyamJel','szemeszter'); + $W = ''; $v = array($kepzesId); + if (isset($SET['tipus']) && $SET['tipus'] != 'mintatantervi') { $W .= " AND tipus='%s'"; $v[] = $tipus = $SET['tipus']; } + else if (isset($SET['targyId'])) { $W .= " AND targyId=%u"; $v[] = $targyId = $SET['targyId']; } + if (isset($SET['evfolyamJel'])) { $W .= " AND evfolyamJel='%s'"; $v[] = $evfolyamJel = $SET['evfolyamJel']; } + if (isset($SET['szemeszter'])) { $W .= " AND szemeszter=%u"; $v[] = $szemeszter = $SET['szemeszter']; } + + $q = "SELECT * FROM kepzesOraterv WHERE kepzesId=%u".$W." ORDER BY tipus, targyId, "._SQL_EVFOLYAMJEL_SORREND.", szemeszter"; + $r = db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'getTargyAdatFromKepzesOraterv', 'result'=>'indexed', 'values'=> $v)); + $RE = reindex($r,$SET['arraymap']); + return $RE; + } + + + function getKepzesOraterv($kepzesId, $SET = array('arraymap'=>null, 'evfolyamJel' => null)) { + if ($kepzesId=='') return false; + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('tipus','targyId','evfolyamJel','szemeszter'); + + if (isset($SET['evfolyamJel'])) { + $q = "SELECT * FROM kepzesOraterv WHERE kepzesId=%u AND evfolyamJel='%s'"; + $v = array($kepzesId, $SET['evfolyamJel']); + } else { + $q = "SELECT * FROM kepzesOraterv WHERE kepzesId=%u"; + $v = array($kepzesId); + } + $r = db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'getKepzesOraterv', 'result'=>'indexed','values'=>$v)); + + $RE = reindex($r, $SET['arraymap']); + + /* Figyelem! Nem az arraymap-et használjuk még. Ezt a függvényt NE írd át! */ +/* for ($i=0; $i$r[$i]['hetiOraszam'], + 'kovetelmeny'=>$r[$i]['kovetelmeny'] + ); + } +*/ + return $RE; + } + +// function getKepzesTargyByDiakId() --> targyId,targyNev + + function getOraszamByKepzes($kepzesId, $SET = array('arraymap'=>null, 'evfolyamJel'=>'', 'szemeszter'=>0)) { // --TODO check evfolyam -> evfolyamJel + if ($kepzesId=='') return false; + //if (!is_array($SET['arraymap']) || count($SET['arraymap'])==1) $SET['arraymap'] = array(); + + $q = "SELECT tipus,sum(hetiOraszam) AS sum FROM kepzesOraterv WHERE kepzesId=%u AND evfolyamJel='%s' AND szemeszter=%u GROUP BY tipus"; + $v = array($kepzesId,$SET['evfolyamJel'],$SET['szemeszter']); + $r = db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'getOraszamByKepzes', 'result'=>'assoc','keyfield'=>'tipus', 'values'=>$v)); + return $r; + } + + function setOsztalyKepzesei($osztalyId, $kepzesIds) { + if (is_array($kepzesIds) && count($kepzesIds)>0) { + $q = "INSERT INTO kepzesOsztaly VALUES ".implode(',', array_fill(0, count($kepzesIds), '(%u,%u)')); + foreach ($kepzesIds as $kepzesId) { + $v[] = $kepzesId; + $v[] = $osztalyId; + } + $r = db_query($q, array('modul'=>'naplo_intezmeny','fv'=>'setOsztalyKepzesei', 'result'=>'insert', 'values'=>$v)); + return $r; + } + } + + function getKepzesOratervAdatByBontasId($bontasId) { + + $q = "select * from kepzesOraterv left join ".__TANEVDBNEV.".kepzesTargyBontas using (kepzesOratervId) where bontasId=%u"; + return db_query($q, array('fv'=>'getKepzesOratervAdatByBontasId','modul'=>'naplo_intezmeny','result'=>'record','values'=>array($bontasId))); + + } +?> diff --git a/mayor-orig/www/include/modules/naplo/share/kerdoiv.php b/mayor-orig/www/include/modules/naplo/share/kerdoiv.php new file mode 100644 index 00000000..b4d26b70 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/kerdoiv.php @@ -0,0 +1,127 @@ + $cimzettIds) { + if (is_array($cimzettIds) && count($cimzettIds) > 0) { + $cimzettFeltetel[] = "(cimzettTipus='%s' AND cimzettId IN (0,".implode(',', array_fill(0, count($cimzettIds), '%u'))."))"; + $v = mayor_array_join($v, array($cimzettTipus), $cimzettIds); + } + } + + $q = "SELECT DISTINCT kerdoivId,cim,tolDt,igDt FROM kerdoiv LEFT JOIN kerdoivCimzett USING (kerdoivId) + WHERE tolDt<=NOW() AND NOW()<=igDt"; + if (count($cimzettFeltetel) > 0) $q .= " AND (".implode(" OR ", $cimzettFeltetel).")"; + return db_query($q, array('fv' => 'getKerdoiv','modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + } + + function getOsszesKerdoiv($tanev = __TANEV) { + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $q = "SELECT DISTINCT kerdoivId,cim,tolDt,igDt FROM %s.kerdoiv LEFT JOIN `%s`.kerdoivCimzett USING (kerdoivId)"; + return db_query($q, array('fv' => 'getKerdoiv','modul' => 'naplo', 'result' => 'indexed', 'values' => array($tanevDb,$tanevDb))); + + } + + function getKerdoivAdat($kerdoivId) { + + $v = array($kerdoivId); + $q = "SELECT * FROM kerdoiv WHERE kerdoivId=%u"; + $ret = db_query($q, array('fv' => 'getKerdoivAdat', 'modul' => 'naplo', 'result' => 'record', 'values' => $v)); + + $q = "SELECT * FROM kerdoivKerdes WHERE kerdoivId=%u ORDER BY kerdesId"; + $ret['kerdes'] = db_query($q, array('fv' => 'getKerdoivAdat/kerdes', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + + for ($i = 0; $i < count($ret['kerdes']); $i++) { + $q = "SELECT * FROM kerdoivValasz WHERE kerdesId=%u ORDER BY pont, valaszId"; + $ret['kerdes'][$i]['valasz'] = db_query($q, array('fv' => 'getKerdoivAdat/valasz', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($ret['kerdes'][$i]['kerdesId']))); + } + + $q = "SELECT * FROM kerdoivCimzett WHERE kerdoivId=%u"; + $tmp = db_query($q, array('fv' => 'getKerdoivAdat/cimzett', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'cimzettTipus', 'values' => $v)); + if (is_array($tmp)) + foreach ($tmp as $cimzettTipus => $ctAdat) { + $ret['cimzettTipusok'][] = $cimzettTipus; + for ($i = 0; $i < count($ctAdat); $i++) + $ret['cimzett'][$cimzettTipus][] = $ctAdat[$i]['cimzettId']; + } + /* endif */ + + return $ret; + + } + + function getMegvalaszoltKerdes($kerdoivId, $feladoId, $feladoTipus, $cimzettId, $cimzettTipus) { + + $q = "SELECT kerdesId FROM kerdoivMegvalaszoltKerdes + WHERE feladoId=%u AND feladoTipus='%s' AND cimzettId=%u AND cimzettTipus='%s' + ORDER BY kerdesId"; + $v = array($feladoId, $feladoTipus, $cimzettId, $cimzettTipus); + return db_query($q, array('fv' => 'getMegvalaszoltKerdes', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v)); + + } + + function getKerdoivStat($kerdoivId, $tanev = __TANEV) { + + global $_TANEV; + + if ($tanev == __TANEV) $TA = $_TANEV; + else $TA = getTanevAdat($tanev); + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + // Kérdőív címe, határidői + $q = "SELECT * FROM `%s`.kerdoiv WHERE kerdoivId=%u"; + $ret = db_query($q, array('fv' => 'getKerdoivStat', 'modul' => 'naplo', 'result' => 'record', 'values' => array($tanevDb, $kerdoivId))); + // A kérdőív kérdései + $q = "SELECT kerdesId,trim(trailing '\c' from kerdes) AS kerdes FROM `%s`.kerdoivKerdes WHERE kerdoivId=%u ORDER BY kerdesId"; + $ret['kerdes'] = db_query($q, array('fv' => 'getKerdoivStat/kerdes', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'kerdesId', 'values' => array($tanevDb, $kerdoivId))); + + // A kérdőív válaszai + $ret['valaszIds'] = array(); + foreach ($ret['kerdes'] as $kerdesId => $kAdat) { + $q = "SELECT valaszId,valasz FROM `%s`.kerdoivValasz WHERE kerdesId=%u ORDER BY valaszId"; + $ret['kerdes'][$kerdesId]['valasz'] = db_query($q, array('fv' => 'getKerdoivStat/valasz', 'modul' => 'naplo', 'result' => 'keyvaluepair', 'values' => array($tanevDb, $kerdesId))); + foreach ($ret['kerdes'][$kerdesId]['valasz'] as $valaszId => $valasz) $ret['valaszIds'][] = $valaszId; + } + + // A kérdőív címzettjei + $q = "SELECT cimzettTipus,cimzettId FROM `%s`.kerdoivCimzett WHERE kerdoivId=%u"; + $ret['cimzett'] = db_query($q, array('fv' => 'getKerdoivStat/cimzett', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'cimzettTipus', 'values' => array($tanevDb, $kerdoivId))); + // A tankör típusú címzettek tanára(i) + $ret['tanarNev'] = array(); + foreach (array('tankor','tankorSzulo') as $key => $cimzettTipus) { + if (is_array($ret['cimzett'][$cimzettTipus]) && count($ret['cimzett'][$cimzettTipus]) > 0) { + for ($i = 0; $i < count($ret['cimzett'][$cimzettTipus]); $i++) { + $tankorId = $ret['cimzett'][$cimzettTipus][$i]['cimzettId']; + $tanarIds = getTankorTanaraiByInterval( + $tankorId, array('tanev' => $tanev, 'tolDt' => $ret['kerdes']['tolDt'], 'igDt' => $ret['kerdes']['igDt'], 'result' => 'csakId') + ); + for ($j = 0; $j < count($tanarIds); $j++) { + if (!is_array($ret['tanarTankorei'][ $tanarIds[$j] ]) || !in_array($tankorId, $ret['tanarTankorei'][ $tanarIds[$j] ])) + $ret['tanarTankorei'][ $tanarIds[$j] ][] = $tankorId; + if (!isset($ret['tanarNev'][ $tanarIds[$j] ])) $ret['tanarNev'][ $tanarIds[$j] ] = getTanarNevById($tanarIds[$j]); + } + } + } + } + + $q = "SELECT * FROM `%s`.kerdoivValaszSzam WHERE valaszId IN (".implode(',', $ret['valaszIds']).") ORDER BY cimzettTipus,cimzettId,valaszId"; + $tmp = db_query($q, array('fv' => 'getKerdoivStat/szavazat', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($tanevDb))); + for ($i = 0; $i < count($tmp); $i++) + $ret['szavazat'][ $tmp[$i]['cimzettTipus'] ][ $tmp[$i]['cimzettId'] ][ $tmp[$i]['valaszId'] ] = $tmp[$i]['szavazat']; + + $tmp = getTankorok(array("tanev=".$tanev)); + for ($i = 0; $i < count($tmp); $i++) { + $ret['tankorAdat'][ $tmp[$i]['tankorId'] ] = $tmp[$i]; + $ret['tankorAdat'][ $tmp[$i]['tankorId'] ]['letszam'] = getTankorLetszam($tmp[$i]['tankorId'], array('refDt' => $TA['zarasDt'])); + } + return $ret; + + } + + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/kerelem.php b/mayor-orig/www/include/modules/naplo/share/kerelem.php new file mode 100644 index 00000000..5a985ad5 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/kerelem.php @@ -0,0 +1,136 @@ +'naplo_base','result'=>'indexed')); + for($i=0; $i0) + $RET['avgTime'] = number_format(array_sum($SECS) / (24*3600*count($SECS)),2); + else + $RET['avgTime'] = '-'; + return $RET; + } + + function getKerelem($kerelemId) { + $q = "SELECT * FROM kerelem WHERE kerelemId=%u"; + $RESULT = db_query($q, array('fv' => 'getKerelmek', 'modul' => 'naplo_base', 'result' => 'indexed', 'values'=>array($kerelemId))); + return $RESULT; + } + function getKerelemValaszok($kerelemId) { + $q = "SELECT * FROM kerelemValasz WHERE kerelemId=%u ORDER BY valaszDt"; + $RESULT = db_query($q, array('fv' => 'getKerelmek', 'modul' => 'naplo_base', 'result' => 'indexed', 'values'=>array($kerelemId))); + return $RESULT; + } + + function getValasz($valaszId) { + $q = "SELECT * FROM kerelemValasz WHERE valaszId=%u"; + $RESULT = db_query($q, array('fv' => 'getKerelemValasz', 'modul' => 'naplo_base', 'result' => 'indexed', 'values'=>array($valaszId))); + return $RESULT; + } + + function getKerelmek($telephelyId='', $kerelemId='', $lezarasMaxDt='') { + if (isset($lezarasMaxDt) && $lezarasMaxDt!='') { + $W_lezaras = '(lezarasDt IS NULL OR lezarasDt>"'.$lezarasMaxDt.' 23:59:59")'; + } else { + $W_lezaras = 'lezarasDt IS NULL'; + } + if (isset($telephelyId) && $telephelyId!='') { + $W = ' AND (telephelyId=%u OR telephelyId IS NULL)'; + $v[] = $telephelyId; + } elseif (isset($kerelemId) && $kerelemId!='') { + $W = ' AND kerelemId=%u'; + $v[] = $kerelemId; + } else { + $W=''; + } + $q = "SELECT kerelem.*, IF (valaszDt IS NOT NULL,max(valaszDt),rogzitesDt) AS mx FROM kerelem LEFT JOIN kerelemValasz USING (kerelemId) WHERE $W_lezaras $W GROUP BY kerelemId ORDER BY mx DESC"; + + $RESULT['kerelmek'] = db_query($q, array('debug'=>false,'fv' => 'getKerelmek', 'modul' => 'naplo_base', 'result' => 'indexed', 'values'=>$v)); + $_kerelemIdk = array(); + for ($i=0; $i0) $_kerelemIdk[] = $RESULT['kerelmek'][$i]['kerelemId']; + } + if (is_array($_kerelemIdk) && count($_kerelemIdk)>0) { + $q = 'SELECT * FROM kerelemValasz WHERE kerelemId IN ('.implode(',',$_kerelemIdk).') ORDER BY valaszDt'; + $RESULT['valaszok'] = db_query($q, array('fv' => 'getKerelmek', 'modul' => 'naplo_base', 'keyfield'=>'kerelemId','result' => 'multiassoc')); + } + return $RESULT; + } + + function getSajatKerelmek($telephelyId='') { + $W = (isset($telephelyId) && $telephelyId!='') ? ' AND (telephelyId=%u OR telephelyId IS NULL)' : ''; + $q = "SELECT * FROM kerelem WHERE userAccount='"._USERACCOUNT."' AND (lezarasDt IS NULL OR (lezarasDt > (curdate() - interval 1 day))) $W ORDER BY rogzitesDt DESC"; + $RESULT['kerelmek'] = db_query($q, array('fv' => 'getSajatKerelmek', 'modul' => 'naplo_base', 'result' => 'indexed', 'values'=>array($telephelyId))); + for ($i=0; $i0) { + $q = 'SELECT * FROM kerelemValasz WHERE kerelemId IN ('.implode(',',$_kerelemIdk).') ORDER BY valaszDt'; + $RESULT['valaszok'] = db_query($q, array('fv' => 'getKerelmek', 'modul' => 'naplo_base', 'keyfield'=>'kerelemId','result' => 'multiassoc')); + } + + return $RESULT; + } + + function hibaAdminRogzites($Adat) { + $kerelemId = $Adat['kerelemId']; + $valasz = $Adat['valasz']; + $kategoria = $Adat['kategoria']; + $userAccount = $Adat['jovahagyasAccount']; + $telephelyId = ($Adat['kerelemTelephelyId']!='') ? $Adat['kerelemTelephelyId'] : 'NULL'; + $modosithat = false; // egyelőre nem használjuk :) + // jogosultság ellenőrzés + if (__VEZETOSEG===true || __NAPLOADMIN===true) { + $modosithat = true; + } else { + $q = "SELECT kerelemId FROM kerelem WHERE userAccount ='%s' AND kerelemId=%u"; + $v = array(_USERACCOUNT,$kerelemId); + $checkKerelemId = db_query($q, array('fv' => 'hangya', 'result'=>'value', 'modul' => 'naplo_base', 'values' => $v)); + if ($checkKerelemId!=$kerelemId) return false; + else $modosithat = true; + } + if ($valasz!='') { + $q = "INSERT INTO kerelemValasz (valasz,kerelemId,userAccount) VALUES ('%s',%u,'"._USERACCOUNT."')"; + $v = array($valasz,$kerelemId); + db_query($q, array('fv' => 'hangya', 'modul' => 'naplo_base', 'values' => $v)); + } + $q = "UPDATE kerelem SET kategoria='%s',telephelyId='%s' WHERE kerelemId=%u"; + $v = array($kategoria,$telephelyId,$kerelemId); + db_query($q, array('fv' => 'hibaAdminRogzites', 'modul' => 'naplo_base', 'values' => $v)); + + if (__VEZETOSEG===true || __NAPLOADMIN===true) { + if (isset($Adat['jovahagy'])) { + $q = "UPDATE kerelem SET jovahagyasAccount='%s',jovahagyasDt=NOW() WHERE kerelemId=%u"; + $v = array($userAccount, $kerelemId); + $extraTxt = '[státusz módosítás: Jóváhagyva]'; + } elseif ($Adat['nemHagyJova']) { + //$q = "SELECT jovahagyasDt FROM kerelem WHERE kerelemId=%u"; + //$jdt = db_query($q, array('fv' => 'hibaAdminRogzites', 'modul' => 'naplo_base', 'result' => 'value', 'values' => array($kerelemId))); + $q = "UPDATE kerelem SET jovahagyasDt=NULL WHERE kerelemId=%u"; + $v = array($kerelemId); + $extraTxt = '[státusz módosítás: Nincs jóváhagyva]'; + } elseif (isset($Adat['lezar'])) { + $q = "UPDATE kerelem SET lezarasDt=NOW() WHERE kerelemId=%u"; + $v = array($kerelemId); + $extraTxt = '[státusz módosítás: Lezárva]'; + } else { + //$q = "UPDATE kerelem SET valasz='%s' WHERE kerelemId=%u"; + //$v = array($valasz, $kerelemId); + } + $R = db_query($q, array('fv' => 'hibaAdminRogzites', 'modul' => 'naplo_base', 'values' => $v)); + if ($extraTxt!='') { + $q = "INSERT INTO kerelemValasz (valasz,kerelemId,userAccount) VALUES ('%s',%u,'"._USERACCOUNT."')"; + $v = array($extraTxt,$kerelemId); + db_query($q, array('fv' => 'hangya', 'modul' => 'naplo_base', 'values' => $v)); + } + } + return $R; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/kereso.php b/mayor-orig/www/include/modules/naplo/share/kereso.php new file mode 100644 index 00000000..b2bf2cf6 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/kereso.php @@ -0,0 +1,56 @@ +=NOW() OR osztalyDiak.kiDt IS NULL)) + LEFT JOIN " . __TANEVDBNEV . ".osztalyNaplo USING (osztalyId) + HAVING (diakNev LIKE '%s' OR oId LIKE '%s') ORDER BY diakNev LIMIT 100"; + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array('%'.$pattern.'%','%'.$pattern.'%'))); + return $r; + } + function getTanarokByPattern($pattern) { + if ($pattern=='') return false; + $q = "SELECT tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev FROM `tanar` WHERE (kiDt IS NULL OR kiDt >=NOW()) HAVING tanarNev LIKE '%s' ORDER BY tanarNev LIMIT 100"; + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array('%'.$pattern.'%'))); + return $r; + } + function getTankorokByPattern($pattern) { + if ($pattern=='') return false; + $q = "SELECT tankorId, tankorNev AS tankorNev FROM `tankor`HAVING tankorNev LIKE '%s' ORDER BY tankorNev LIMIT 100"; + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array('%'.$pattern.'%'))); + return $r; + } + function getSzulokByPattern($pattern, $SET=array('diakokkal'=>false)) { + if ($pattern=='') return false; + if ($SET['diakokkal']!==true) { + $p= "TRIM(CONCAT_WS(' ',nevElotag, csaladinev, utonev)) "; + $q = "SELECT szuloId, $p AS szuloNev FROM `szulo` HAVING szuloNev LIKE '%s' ORDER BY szuloNev LIMIT 100"; + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array('%'.$pattern.'%'))); + + } else { + + if (defined('__UZENO_SZULO_CSAK_ACCOUNTTAL') && __UZENO_SZULO_CSAK_ACCOUNTTAL === true) + $W = " AND userAccount!='' "; + else + $W = ''; + + $sr = getDiakokByPattern($pattern); + for ($i=0; $i0) { + $q1 = "SELECT szuloId, $p AS szuloNev FROM `szulo`$subquery WHERE diakId IN (".implode(',',$DIAKIDS).") $W LIMIT 100"; + $q = "$q1 UNION ($q2)"; + } else $q = "($q2)"; + $r = db_query("$q ORDER BY szuloNev", array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array('%'.$pattern.'%'))); + + } + return $r; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/koszi.php b/mayor-orig/www/include/modules/naplo/share/koszi.php new file mode 100644 index 00000000..3ce3ba83 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/koszi.php @@ -0,0 +1,141 @@ +'naplo_intezmeny','result'=>'indexed')); + + return $r; + + } + + + function getKosziPont($kosziEsemenyId) { + + if (!is_numeric($kosziEsemenyId)) return false; + + $q = "SELECT * FROM kosziPont WHERE kosziEsemenyId = %u"; + $v = array($kosziEsemenyId); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed', 'values'=>$v)); + + return $r; + + } + + + /* TANEV */ + + function getKoszi($kosziEsemenyId) { + + if (!is_numeric($kosziEsemenyId)) return false; + + $q = "SELECT * FROM koszi WHERE kosziEsemenyId = %u ORDER BY dt,tanev,felev"; + $v = array($kosziEsemenyId); + $r = db_query($q, array('modul'=>'naplo','result'=>'indexed', 'values'=>$v)); + + return $r; + + } + + function getKosziLista() { + + $q = "SELECT * FROM koszi LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + WHERE tolDt IS NULL OR (tolDt<=NOW() AND (igDt is NULL OR igDt>=NOW())) + ORDER BY dt,tanev,felev"; + $r = db_query($q, array('modul'=>'naplo','result'=>'indexed')); + + return $r; + + } + + + function getKosziEsemenyIdByKosziId($kosziId) { + + $q = "SELECT kosziEsemenyId FROM koszi WHERE kosziId = %u"; + $v = array($kosziId); + $r = db_query($q, array('modul'=>'naplo','result'=>'value', 'values'=>$v)); + + return $r; + } + + + function getKosziDiakIgazolandoLista($tipus='',$SET = array('tanarId'=>null, 'diakId'=>null)) { + + if (__KOSZIADMIN ===true) { + $q = "SELECT *, IF (jovahagyasDt!='0000-00-00',1,0) AS jovahagyva FROM kosziDiak + LEFT JOIN kosziIgazoloTanar USING (kosziId) + LEFT JOIN kosziIgazoloOf USING (kosziId) + LEFT JOIN koszi USING (kosziId) + LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + "; +// $v = array($SET['diakId']); + $ret = db_query($q, array('modul'=>'naplo','result'=>'indexed')); + } elseif (is_numeric($SET['diakId'])) { // ide jön még a dök csoport! + $q = "SELECT *, IF (jovahagyasDt!='0000-00-00',1,0) AS jovahagyva FROM kosziDiak + LEFT JOIN kosziIgazoloDiak USING (kosziId) + LEFT JOIN koszi USING (kosziId) + LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + WHERE jovahagyasDt='0000-00-00 00:00:00' AND kosziIgazoloDiak.diakId=%u + ORDER BY rogzitesDt"; + $v = array($SET['diakId']); + $ret = db_query($q, array('modul'=>'naplo','result'=>'indexed', 'values'=>$v)); + } elseif (is_numeric($SET['tanarId'])) { + $q = "SELECT *, IF (jovahagyasDt!='0000-00-00',1,0) AS jovahagyva FROM kosziDiak + LEFT JOIN kosziIgazoloTanar USING (kosziId) + LEFT JOIN kosziIgazoloOf USING (kosziId) + LEFT JOIN koszi USING (kosziId) + LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + WHERE jovahagyasDt='0000-00-00 00:00:00' AND + ( + ( + (kosziIgazoloTanar.tanarId=%u AND kosziIgazoloOf.tanarId IS NULL) Or + (kosziIgazoloTanar.tanarId IS NULL AND kosziIgazoloOf.tanarId=%u) + ) OR ( + koszi.igazolo LIKE '%%osztályfőnök%%' AND + diakId IN ( + SELECT diakId FROM ".__INTEZMENYDBNEV.".osztalyTanar + LEFT JOIN ".__INTEZMENYDBNEV.".osztalyDiak USING (osztalyId) + WHERE tanarId=%u AND osztalyTanar.beDt<=NOW() AND (osztalyTanar.kiDt IS NULL OR osztalyTanar.kiDt>=NOW()) + ) + ) OR ( + koszi.igazolo LIKE '%%tanár%%' AND + diakId IN ( + SELECT diakId FROM ".__INTEZMENYDBNEV.".tankorTanar + LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiak USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + WHERE tanarId=%u AND ".__INTEZMENYDBNEV.".tankor.targyId = koszi.targyId + ) + ) + ) + ORDER BY rogzitesDt"; + + $v = array($SET['tanarId'],$SET['tanarId'],$SET['tanarId'],$SET['tanarId']); + $ret = db_query($q, array('modul'=>'naplo','result'=>'indexed', 'values'=>$v)); + + } else { + $ret = false; + } + return $ret; + } + + + /* DIAK */ + + function getKosziDiakLista($diakId) { + + if ($diakId=='') return false; + + $q = "SELECT *, IF (jovahagyasDt!='0000-00-00',1,0) AS jovahagyva FROM kosziDiak LEFT JOIN koszi USING (kosziId) + LEFT JOIN ".__INTEZMENYDBNEV.".kosziEsemeny USING (kosziEsemenyId) + WHERE diakId = %u ORDER BY rogzitesDt,jovahagyasDt"; + $v = array($diakId); + $r = db_query($q, array('modul'=>'naplo','result'=>'indexed', 'values'=>$v)); + + return $r; + } + + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/munkakozosseg.php b/mayor-orig/www/include/modules/naplo/share/munkakozosseg.php new file mode 100644 index 00000000..9a46f074 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/munkakozosseg.php @@ -0,0 +1,84 @@ + 'getMunkakozossegByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values'=>array($targyId))); + return getMunkakozossegById($mkId); + } + + function getMunkakozossegById($id) { + return getMunkakozossegek(array("mkId=$id"),array('result' => 'record')); + } + + function getMunkakozossegek($FILTER=array(),$SET=array('result' => 'indexed')) { + + + if ($SET['result'] == '') $SET['result'] = 'indexed'; + $RESULT = array(); + + /* Általános filterező */ + $QW = ''; + if (is_array($FILTER) && count($FILTER)>0) { + $QW = " WHERE ".implode(' AND ',$FILTER); + } + if ($SET['idonly']===true || $SET['csakId']===true) $fields = "mkId"; + else $fields="mkId,mkId AS munkakozossegId,leiras,leiras as mkNev,leiras as munkakozossegNev, mkVezId,TRIM((CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev))) AS mkVezNev"; + $q = "SELECT $fields FROM munkakozosseg LEFT JOIN tanar ON mkVezId=tanarId".$QW.' ORDER BY leiras'; + $RESULT = db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'getMunkakozossegek', 'result' => $SET['result'])); + + return $RESULT; + + } + + function getMunkakozossegByTanarId($tanarId, $SET = array('result' => 'idonly')) { + + if ($SET['csakId']===true) $SET['result'] = 'idonly'; // Az egységesíítés nevében :o) + if ($SET['result'] == 'idonly') { + $q = "SELECT mkId AS munkakozossegId FROM mkTanar WHERE tanarId=%u"; + return db_query($q, array('fv' => 'getMunkakozossegByTanarId','modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanarId))); + } else { + $q = "SELECT mkId,mkId AS munkakozossegId,leiras, leiras AS mkNev, leiras AS munkakozossegNev,mkVezId + FROM munkakozosseg LEFT JOIN mkTanar USING (mkId) WHERE tanarId=%u ORDER BY leiras"; + return db_query($q, array('fv' => 'getMunkakozossegByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanarId))); + } + + } + + function getVezetettMunkakozossegByTanarId($tanarId, $SET = array('result' => 'idonly'), $olr='') { + + $lr = ($olr!='') ? $olr : db_connect('naplo_intezmeny'); + if ($SET['csakId']===true) $SET['result'] = 'idonly'; // Az egységesíítés nevében :o) + if ($SET['result'] == 'idonly') { + //$q = "SELECT mkId AS munkakozossegId FROM munkakozosseg WHERE mkVezId=%u"; + $q = "SELECT DISTINCT mkId AS munkakozossegId FROM munkakozosseg LEFT JOIN mkVezeto USING (mkId) WHERE mkVezId=%u OR tanarId=%u"; + $R = db_query($q, array('fv' => 'getVezetettMunkakozossegByTanarId','modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanarId, $tanarId)), $lr); + } else { + //$q = "SELECT mkId,mkId AS munkakozossegId,leiras, leiras AS mkNev, leiras AS munkakozossegNev,mkVezId + // FROM munkakozosseg WHERE mkVezId=%u ORDER BY leiras"; + $q = "SELECT DISTINCT mkId,mkId AS munkakozossegId,leiras, leiras AS mkNev, leiras AS munkakozossegNev,mkVezId + FROM munkakozosseg LEFT JOIN mkVezeto USING (mkId) WHERE mkVezId=%u OR tanarId=%u ORDER BY leiras"; + $R = db_query($q, array('fv' => 'getVezetettMunkakozossegByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanarId,$tanarId)),$lr); + } + if ($olr=='') db_close($lr); + return $R; + } + + function getMunkakozossegNevById($munkakozossegId) { + + $q = "SELECT leiras AS munkakozossegNev FROM `munkakozosseg` WHERE mkId=%u"; + return db_query($q, array('fv' => 'getmunkakozossegNevById', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($munkakozossegId))); + + } + + function getMunkakozossegTanaraMatrix() { + $q = "SELECT * FROM mkTanar"; + $r = db_query($q,array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + for ($i=0; $i \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/mysql.php b/mayor-orig/www/include/modules/naplo/share/mysql.php new file mode 100644 index 00000000..30ccbab0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/mysql.php @@ -0,0 +1,184 @@ + 'root', 'host'=> $host, 'force' => true, 'username' => $rootUser, 'password' => $rootPassword, 'db' => 'mayor_naplo', 'fv' => 'createDatabase')); + if (!$lr) return false; + + // Kliens karakterkódolása + db_query("SET CHARACTER SET utf8", array('fv'=>'createDatabase#1'), $lr); + + // Az adatbázis létrehozása + $q = "CREATE DATABASE `%s` CHARACTER SET utf8 COLLATE utf8_hungarian_ci"; + $r = db_query($q, array('fv'=>'createDatabase#2', 'values' => array($dbName)), $lr); + if ($r !== true) { // pl. ha már létezik... + db_close($lr); + return false; + } + + /* Minden hoston létrehozzuk a usereket! Write/Read - et egyaránt! Még akkor is, ha csak a masterről olvasunk, slave-re írunk */ + $password = $MYSQL_DATA['naplo_base']['pwWrite']; + $user = $MYSQL_DATA['naplo_base']['userWrite']; + $userHost = ($host=='localhost' || $host=='127.0.0.1') ? 'localhost' : _WEBSERVER_ADDR; + $q = "GRANT ALL ON `%s`.* TO '%s'@'%s' IDENTIFIED BY '%s'"; + $r = db_query($q, array('fv' => 'createDatabase#3', 'values' => array($dbName, $user, $userHost, $password)), $lr); + if ($r !== true) $ok = false; + + $password = $MYSQL_DATA['naplo_base']['pwRead']; + $user = $MYSQL_DATA['naplo_base']['userRead']; + $userHost = ($host=='localhost' || $host=='127.0.0.1') ? 'localhost' : _WEBSERVER_ADDR; + $q = "GRANT SELECT,EXECUTE ON `%s`.* TO '%s'@'%s' IDENTIFIED BY '%s'"; + $r = db_query($q, array('fv' => 'createDatabase#4', 'values' => array($dbName, $user, $userHost, $password)), $lr); + if ($r !== true) $ok = false; + + if (db_query("USE `%s`", array('fv' => 'createDatabase#use', 'values' => array($dbName)), $lr) && $ok) { + + $fp = fopen($queryFile, 'r'); + $query = fread($fp, filesize($queryFile)); + fclose($fp); + + // A tárolt eljárásoknak, függvényeknek "DELIMITER //" és "DELIMITER ; //" között kell lenniük - egy blokkban a file végén! + list($query, $delimiter) = explode('DELIMITER //', $query); + + // Tábladefiníciók - normál query-k + $QUERIES = explode(';', str_replace("\n", '', $query)); + for ($i = 0; $i < count($QUERIES); $i++) { + $q = $QUERIES[$i]; + if (trim($q) != '' and substr($q, 0, 2) != '--' and substr($q, 0, 3) != '/*!') { + if (is_array($convert)) + foreach ( $convert as $mit=>$mire ) $q = str_replace($mit,$mire,$q); + $r = db_query($q, array('fv'=>'createDatabase#6-'.$i), $lr); + if ($r !== true) { $ok = false; break; } + } elseif ($q != '') { + $_SESSION['alert'][] = ':query_error:'.$q; + } + } + + if ($ok !== false) { + list($delimiter, $end) = explode('DELIMITER ; //',$delimiter); + $procQueries = explode('//', $delimiter); + for ($i = 0; $i < count($procQueries); $i++) { + $q = trim($procQueries[$i]); // ebben vannak most ;-ők és sortörések... + if ($q[strlen($q)-1] == ';') $q = substr($q, 0, -1); // A végén nem lehet ; !! + if ($q != '') { + if (is_array($convert)) + foreach ( $convert as $mit=>$mire ) $q = str_replace($mit,$mire,$q); + $r = db_query($q, array('fv'=>'createDatabase#7-'.$i), $lr); + if ($r !== true) { $ok = false; break; } + } + } + } // if ok + } else { + $ok = false; + } + + if ($ok === false) { + $_SESSION['alert'][] = 'message:sql_db_dropped:'.$dbName; + db_query("DROP DATABASE `%s`", array('fv' => 'createDatabase#7', 'values' => array($dbName)), $lr); + } + } // HOSTS ciklusa + + db_close($lr); + return $ok; + + } + + function revokeWriteAccessFromDb($dbName, $rootUser = 'root', $rootPassword = '') { + + global $MYSQL_DATA; + + // Kötelező paraméterek ellenőrzése + if ($dbName == '' or $rootUser == '' or $rootPassword == '') { + $_SESSION['alert'][] = 'message:empty_field:revokeWriteAccessFromDb'; + return false; + } + + /* Minden MySQL hostról elvesszük a jogot */ + /* Ki kell találni, hány SQL szerverünk van! */ + $HOSTS = _setHosts(); + + for ($h=0; $h 'root', 'force' => true, 'host'=>$host, 'username' => $rootUser, 'password' => $rootPassword, 'db' => 'mayor_naplo', 'fv' => 'revokeWriteAccessFromDb')); + if (!$lr) return false; + + // jogok elvétele a write usertől + $user = $MYSQL_DATA['naplo_base']['userWrite']; + $userHost = ($host=='localhost' || $host=='127.0.0.1') ? 'localhost' : _WEBSERVER_ADDR; + $q = "REVOKE ALTER,CREATE,DROP,INSERT,UPDATE,DELETE ON `%s`.* FROM '%s'@'%s'"; + $r = db_query($q, array('fv' => 'revokeWriteAccessFromDb', 'values' => array($dbName, $user, $userHost)), $lr); + db_close($lr); + } + return $r; + + } + + function grantWriteAccessToDb($dbName, $rootUser = 'root', $rootPassword = '') { + + global $MYSQL_DATA; + + // Kötelező paraméterek ellenőrzése + if ($dbName == '' or $rootUser == '' or $rootPassword == '') { + $_SESSION['alert'][] = 'message:empty_field:grantWriteAccessToDb'; + return false; + } + + /* Ki kell találni, hány SQL szerverünk van! */ + $HOSTS = _setHosts(); + + for ($h=0; $h 'root', 'force' => true, 'host'=>$host, 'username' => $rootUser, 'password' => $rootPassword, 'db' => 'mayor_naplo', 'fv' => 'grantWriteAccessToDb')); + if (!$lr) return false; + + // Írási jog... + $user = $MYSQL_DATA['naplo_base']['userWrite']; + $userHost = ($host=='localhost' || $host=='127.0.0.1') ? 'localhost' : _WEBSERVER_ADDR; + $q = "GRANT ALL ON `%s`.* TO '%s'@'%s'"; + $r = db_query($q, array('fv' => 'grantWriteAccessToDb', 'values' => array($dbName, $user, $userHost)), $lr); + + db_close($lr); + } + return $r; + + } + + function _setHosts() { + global $MYSQL_DATA; + $HOSTS = array(); + foreach ( array('hostWrite','hostRead','host') as $_host ) { + if ($MYSQL_DATA['naplo_base'][$_host]!='' && !in_array($MYSQL_DATA['naplo_base'][$_host],$HOSTS)) { + $HOSTS[] = $MYSQL_DATA['naplo_base'][$_host]; + } + } + if (count($HOSTS)==0) + if ($MYSQL_DATA['host']=='') + $HOSTS[] = 'localhost'; + else + $HOSTS[] = $MYSQL_DATA['host']; + return $HOSTS; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/nap.php b/mayor-orig/www/include/modules/naplo/share/nap.php new file mode 100644 index 00000000..e66457f9 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/nap.php @@ -0,0 +1,332 @@ + 'Szent István király ünnepe', + '10-23' => '56-os forradalom ünnepe', + '11-01' => 'Mindenszentek', + '12-25' => 'Karácsony első napja', + '12-26' => 'Karácsony második napja', + '01-01' => 'Újév', + '03-15' => '48-as forradalom és szabadságharc ünnepe', + '05-01' => 'Munka Ünnepe' + ); + + function getNapTipusok() { + + return getEnumField('naplo', 'nap', 'tipus'); + + } + + function getNapokSzama($SET = array('osztalyId' => null, 'munkatervId' => 1)) { + + if (isset($SET['osztalyId'])) { + $vegzosOsztalyJellegIds = getVegzosOsztalyJellegIds(); + $oAdat = getOsztalyAdat($SET['osztalyId']); + if ( + in_array($oAdat['osztalyJellegId'], $vegzosOsztalyJellegIds) // érettségiző osztály + && $oAdat['vegzoTanev'] == __TANEV // most végez + ) { + $q = "SELECT tipus, COUNT(*) AS db FROM nap + LEFT JOIN munkatervOsztaly USING (munkatervId) + LEFT JOIN munkaterv USING (munkatervId) + WHERE osztalyId=%u AND dt <= vegzosZarasDt + GROUP BY tipus"; + } else { + $q = "SELECT tipus, COUNT(*) AS db FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) WHERE osztalyId=%u GROUP BY tipus"; + } + $v = array($SET['osztalyId']); + } else { + if (!isset($SET['munkatervId'])) $SET['munkatervId'] = 1; + $q = "SELECT tipus, COUNT(*) AS db FROM nap WHERE munkatervId=%u GROUP BY tipus"; + $v = array($SET['munkatervId']); + } + return db_query($q, array('fv' => 'getNapokSzama', 'modul' => 'naplo', 'result' => 'keyvaluepair', 'values' => $v)); + } + + function _genNapok($tolDt,$igDt) { + $q = "SELECT TO_DAYS('%s') - TO_DAYS('%s') AS diff"; + $nod = db_query($q, array('fv' => '_genNapok', 'modul' => 'naplo_base', 'result' => 'value', 'values' => array($igDt, $tolDt))); + $_stamp = strtotime($tolDt); + for ($i = 0; $i <= $nod; $i++) { + $__stamp = mktime(0, 0, 0, date('m', $_stamp), date('d', $_stamp)+$i , date('y', $_stamp)); + $NAPOK[$i] = date('Y-m-d', $__stamp); + } + return $NAPOK; + } + + // Az ora.php függvényeinek része ide tartozik! + /* + A függvény minden olyan nap esetén emeli a tanítási napok számát 1-gyel, melyen a megadott munkatervek legalább + egyikén tanítási nap van. Értelmes ez így? (amúgy mit jelentene a tanár haladási naplójában a tanítási nap szám?) + */ + function getTanitasiNapAdat($DT, $SET = array('munkatervIds' => array())) { // refer to nyomtatas/haladasinaplo.php + if (is_array($DT) && count($DT)>0) { + if (!is_array($SET['munkatervIds']) || count($SET['munkatervIds']) == 0) $SET['munkatervIds'] = array(1); + $lr = db_connect('naplo'); + $q = "SET @napszam=(SELECT COUNT(DISTINCT dt) FROM nap + WHERE tipus IN ('tanítási nap','speciális tanítási nap') AND dt<'".$DT[0]."' + AND munkatervId IN (".implode(',', array_fill(0, count($SET['munkatervIds']), '%u'))."))"; + db_query($q, array('fv' => 'getTanitasiNapAdat', 'modul' => 'naplo', 'values' => $SET['munkatervIds']), $lr); + $q = "SELECT dt,@napszam:=@napszam+1 AS napszam FROM nap WHERE tipus IN ('tanítási nap','speciális tanítási nap') + AND dt IN ('".implode("','",$DT)."') + AND munkatervId IN (".implode(',', array_fill(0, count($SET['munkatervIds']), '%u')).") GROUP BY dt"; + $v = array($dt); + $v = $SET['munkatervIds']; + $ret=db_query($q, array('fv' => 'share/nap/getTanitasiNapAdat', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield'=>'dt', 'values' => $v),$lr); + db_close($lr); + return $ret; + } else { + return false; + } + } + + function getTanitasiNapSzama($dt, $munkatervId) { + $q = "SELECT COUNT(*) FROM nap WHERE tipus IN ('tanítási nap','speciális tanítási nap') AND dt<='%s' AND munkatervId=%u"; + return db_query($q, array('fv' => 'getTanitasiNapSzama', 'modul' => 'naplo', 'result' => 'value', 'values' => array($dt, $munkatervId))); + } + + /* + Az órarendi hetek hozzárendelése mindig az összes munkatervet érintő változtatás! + */ + function orarendiHetekHozzarendelese($tolDt = '', $igDt = '', $Hetek = array(1), $olr = '') { + + global $_TANEV; + + if ($tolDt == '') $tolDt = $_TANEV['kezdesDt']; + if ($igDt == '') $igDt = $_TANEV['zarasDt']; + + if ($olr == '') $lr = db_connect('naplo', array('fv' => 'orarendiHetekHozzarendelese')); + else $lr = $olr; + + // Az összes munkatervre elvégzi a hozzárendelést... + $q = "SELECT dt,tipus,munkatervId FROM nap WHERE dt>='%s' AND dt<='%s' AND tipus='tanítási nap' ORDER BY dt"; + $v = array($tolDt, $igDt, $munkatervId); + $r = db_query($q, array('fv' => 'orarendiHetekHozzarendelese', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (!$r) { if ($olr == '') db_close($lr); return false; } + + $i = array(); $het = $Hetek[0]; $dow = array(); + foreach ($r as $key => $val) { + $dt = $val['dt']; + $tipus = $val['tipus']; + $munkatervId = $val['munkatervId']; + $elozo_dow[$munkatervId] = $dow[$munkatervId]; + // DOW lehetne munkatervenként is! + $dow[$munkatervId] = date('w',strtotime($dt)); if ($dow[$munkatervId] == 0) $dow[$munkatervId] = 7; // Vasárnap a hét utolsó napja - nálunk + // csak a $dow-okat nézzük, ha tehát egy keddi nap után a következő heti csütörtök jön, akkor nem vált hetet! + if ($elozo_dow[$munkatervId] >= $dow[$munkatervId]) { + $i[$munkatervId] = ($i[$munkatervId]+1) % count($Hetek); + $het = $Hetek[$i[$munkatervId]]; + } + if ($het=='') $het=1; //szkúzi... + if ($tipus = 'tanítási nap' && is_numeric($het)) { + $q = "UPDATE nap SET orarendiHet=%u WHERE dt='%s' AND tipus='tanítási nap' AND munkatervId=%u"; + $v = array($het, $dt, $munkatervId); + } else { + $q = "UPDATE nap SET orarendiHet=0 WHERE dt='%s' AND tipus='tanítási nap' AND munkatervId=%u"; + $v = array($dt, $munkatervId); + } + $r2 = db_query($q, array('fv' => 'orarendiHetekHozzarendelese', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r2) { if ($olr == '') db_close($lr); return false; } + } + + if ($olr == '') db_close($lr); + + } + + /** + * Törli, majd felveszi a megadott dátumok közötti napokat - minden munkatervhez! + **/ + function napokHozzaadasa($tanev, $tolDt, $igDt, $tanevAdat, $lr = null) { + + global $UNNEPNAPOK; + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $r = array(); + $q = "DELETE FROM `$tanevDb`.`nap` WHERE '%s'<=dt AND dt<='%s'"; + $v = array($tolDt, $igDt); + $r[] = db_query($q, array('fv' => 'napokHozzáadása/delete', 'modul' => 'naplo', 'values' => $v), $lr); + for ($stamp = strtotime($tolDt.' 08:00:00'); $stamp <= strtotime($igDt.' 08:00:00');$stamp = $stamp + 24*60*60 ) { + $dt = date('Y-m-d', $stamp); + $ho_nap = date('m-d', $stamp); + $ho = date('m', $stamp); + $dow = date('w', $stamp); + if ($UNNEPNAPOK[$ho_nap] != '') { // Fix dátumú, állami ünnepnapok + $tipus = 'tanítási szünet'; + $megjegyzes = $UNNEPNAPOK[$ho_nap]; + $orarendiHet = 0; + } elseif ($dow == '0' or $dow == '6') { // Hétvégék + $tipus = 'tanítási szünet'; + $megjegyzes = ''; + $orarendiHet = 0; + } elseif ($ho == 7) { // Július hónap - nyári szünet + $tipus = 'tanítási szünet'; + $megjegyzes = 'Nyári szünet'; + $orarendiHet = 0; + } elseif (strtotime($tanevAdat['zarasDt']) 'napokHozzáadása/insert', 'modul' => 'naplo', 'values' => $v), $lr); + + } + return !in_array(false, $r); + + } + + function getMunkatervek($SET = array('result' => 'indexed')) { + if ($SET['result']==='idonly') { + $q = "SELECT munkatervId FROM munkaterv"; + } else { + $q = "SELECT * FROM munkaterv"; + } + $R = db_query($q, array('fv' => 'getMunkatervek', 'modul' => 'naplo', 'result' => $SET['result'], 'keyfield' => 'munkatervId')); + return $R; + } + + function getMunkatervByOsztalyId($osztalyId, $SET = array('result' => 'value')) { + + if (!is_array($osztalyId)) $osztalyId = array($osztalyId); + if (count($osztalyId) == 0) return false; + $q = "SELECT DISTINCT munkatervId FROM munkaterv LEFT JOIN munkatervOsztaly USING (munkatervId) WHERE osztalyId IN (".implode(',',array_fill(0, count($osztalyId), '%u')).")"; + $v = $osztalyId; + return db_query($q, array('fv' => 'getMunkatervByOsztalyId', 'modul' => 'naplo', 'values'=>$v, 'result' => $SET['result'])); + + } + function getMunkatervByDiakId($diakId, $SET = array('tolDt'=>null, 'igDt'=>null)) { + + if (!is_array($diakId)) $diakId = array($diakId); + if (count($diakId) == 0) return false; + $q = "SELECT DISTINCT munkatervId FROM munkaterv LEFT JOIN munkatervOsztaly USING (munkatervId) LEFT JOIN `".__INTEZMENYDBNEV."`.osztalyDiak USING (osztalyId) WHERE diakId IN (".implode(',',array_fill(0, count($diakId), '%u')).")"; + $v = $diakId; + return db_query($q, array('fv' => 'getMunkatervByOsztalyId', 'modul' => 'naplo', 'values'=>$v, 'result' => 'value')); + + } + + /** + * A függvény az orarendiOra tábla alapján keresi meg a tanár tanköreit, nem a tankorTanar alapján!!!! + * + **/ + function getMunkatervByTanarId($tanarId, $SET = array('result' => 'indexed', 'tanev'=>__TANEV, 'tolDt'=>null, 'igDt'=>null)) { + + $tanev = isset($SET['tanev'])?$SET['tanev']:__TANEV; + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + if (!is_array($tanarId)) $tanarId = array($tanarId); + // lekérdezzük a tankorTanar tábla alapján a tanárhoz tartozó tanköröket, majd ezek osztályaihoz tartozó munkaterveket + $q = "SELECT DISTINCT osztalyId FROM tankorTanar LEFT JOIN tankorOsztaly USING (tankorId) + WHERE tanarId IN (".implode(',', array_fill(0, count($tanarId), '%u')).") AND beDt<='%s' AND (kiDt IS NULL OR '%s'<=kiDt)"; + $v = mayor_array_join($tanarId, array($igDt, $tolDt)); + $osztalyId = db_query($q, array('fv'=>'getMunkatervByTanarId', 'modul'=>'naplo_intezmeny', 'result'=>'idonly', 'values'=>$v)); + + return getMunkatervByOsztalyId($osztalyId, $SET); + } + + /* + A függvény munkatervId, osztalyId vagy tankorId (az egyik megadása kötelező!) alapján adja meg az összes, vagy a végzős tanítási hetek számát. + Ha nincs megadva, hogy az osztály vagy tankör végzős-e, akkor lekérdezzük, hogy érettségiző osztály-e az osztályjelleg alapján. + */ + function getTanitasiHetekSzama($SET = array('munkatervId'=>null, 'osztalyId'=>null, 'vegzos'=>false)) { + + if ($SET['munkatervId'] != '') { + if ($SET['vegzos']) { + $q = "SELECT CEIL(COUNT(*)/%u) AS tanitasiHet FROM nap + WHERE tipus IN ('tanítási nap','speciális tanítási nap') AND munkatervId=%u + AND dt<=(SELECT vegzosZarasDt FROM munkaterv WHERE munkatervId=nap.munkatervId)"; + } else { + $q = "SELECT CEIL(COUNT(*)/%u) AS tanitasiHet FROM nap + WHERE tipus IN ('tanítási nap','speciális tanítási nap') AND munkatervId=%u"; + } + $v = array(__TANITASINAP_HETENTE, $SET['munkatervId']); + } elseif ($SET['osztalyId'] != '') { + if (!isset($SET['vegzos'])) { + $VO = getVegzosOsztalyok(array('tanev'=>__TANEV,'result'=>'idonly','vizsgazo'=>true)); + $SET['vegzos'] = (is_array($VO)&&in_array($SET['osztalyId'],$VO)); + } + if ($SET['vegzos']) { + $q = "SELECT CEIL(COUNT(*)/%u) AS tanitasiHet FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) + WHERE tipus IN ('tanítási nap','speciális tanítási nap') + AND osztalyId=%u + AND dt<=(SELECT vegzosZarasDt FROM munkaterv WHERE munkatervId=nap.munkatervId)"; + } else { + $q = "SELECT CEIL(COUNT(*)/%u) AS tanitasiHet FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) + WHERE tipus IN ('tanítási nap','speciális tanítási nap') + AND osztalyId=%u"; + } + $v = array(__TANITASINAP_HETENTE, $SET['osztalyId']); + } elseif ($SET['tankorId'] != '') { + if (!isset($SET['vegzos'])) { + $SET['vegzos'] = tankorVegzosE($tankorId, __TANEV, array('tagokAlapjan' => true, 'tolDt' => null, 'igDt' => null)); + } + if ($SET['vegzos']) { + $q = "SELECT CEIL(COUNT(DISTINCT dt)/%u) AS tanitasiHet FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) + WHERE tipus IN ('tanítási nap','speciális tanítási nap') + AND osztalyId IN (SELECT osztalyId FROM ".__INTEZMENYDBNEV.".tankorOsztaly WHERE tankorId=%u) + AND dt<=(SELECT vegzosZarasDt FROM munkaterv WHERE munkatervId=nap.munkatervId)"; + } else { + $q = "SELECT CEIL(COUNT(DISTINCT dt)/%u) AS tanitasiHet FROM nap LEFT JOIN munkatervOsztaly USING (munkatervId) + WHERE tipus IN ('tanítási nap','speciális tanítási nap') + AND osztalyId IN (SELECT osztalyId FROM ".__INTEZMENYDBNEV.".tankorOsztaly WHERE tankorId=%u)"; + } + $v = array(__TANITASINAP_HETENTE, $SET['tankorId']); + } else { + $_SESSION['alert'][] = 'message:empty_field:getTanitasiHetekSzama'; + return false; + } + + if (__TANITASI_HETEK_OVERRIDE === true) { + if ($SET['vegzos']) { + if (defined('___VEGZOS_TANITASI_HETEK_SZAMA')) return ___VEGZOS_TANITASI_HETEK_SZAMA; + } else { + if (defined('___TANITASI_HETEK_SZAMA')) return ___TANITASI_HETEK_SZAMA; + } + } + return db_query($q, array('debug'=>false,'fv'=>'getTanitasiHetekSzama','modul'=>'naplo','result'=>'value','values'=>$v)); + } + + function getOsztalyUtolsoTanitasiNap($osztalyId, $tanev=__TANEV) { + + global $_TANEV; + + if ($tanev == __TANEV) $TA = $_TANEV; + else $TA = getTanevAdat($tanev); + $tanevDb = tanevDbNev(__INTEZMENY,$tanev); + + // idén érettségiző vagy szakmai vizsgát tevő osztály-e + $q = "SELECT COUNT(*) FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + WHERE vegzesKovetelmenye IN ('érettségi vizsga','szakmai vizsga') AND vegzoTanev=%u AND osztalyId=%u"; + $v = array($tanev, $osztalyId); + $vizsgazoE = (db_query($q, array('fv'=>'getOsztalyUtolsoTanitasiNap','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)) == 1); + + if ($vizsgazoE) { + $q = "SELECT vegzosZarasDt FROM `".$tanevDb."`.munkaterv LEFT JOIN `".$tanevDb."`.munkatervOsztaly USING (munkatervId) WHERE osztalyId=%u"; + return db_query($q, array('debug'=>false,'fv'=>'getOsztalyUtolsoTanitasiNap/dt','modul'=>'naplo','result'=>'value','values'=>array($osztalyId))); + } else { + return $TA['zarasDt']; + } + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/ora.php b/mayor-orig/www/include/modules/naplo/share/ora.php new file mode 100644 index 00000000..a2c874a3 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/ora.php @@ -0,0 +1,608 @@ + 'getOraAdatById', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v), $olr); + + } else { + // nincs id + return false; + } + } + + function getOraAdatByTankor($tankorId, $olr = '') { + + if ($tankorId != '') { + + $q = "SELECT DISTINCT oraId, + dt, + ora, + ki, + kit, + ora.tankorId AS tankorId, + teremId, + ora.leiras AS leiras, + ora.tipus AS tipus, + eredet, + TRIM(CONCAT_WS(' ', t1.viseltNevElotag, t1.viseltCsaladiNev, t1.viseltUtonev)) AS kiCn, + TRIM(CONCAT_WS(' ', t2.viseltNevElotag, t2.viseltCsaladiNev, t2.viseltUtonev)) AS kitCn, + tankorNev, + feladatTipusId, + munkaido + FROM ".__TANEVDBNEV.".ora + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tanar AS t1 ON ki=t1.tanarId + LEFT JOIN ".__INTEZMENYDBNEV.".tanar AS t2 ON kit=t2.tanarId + LEFT JOIN ".__INTEZMENYDBNEV.".feladatTipus USING (feladatTipusId) + WHERE tankorId=%u AND tipus NOT LIKE 'elmarad%%' AND (tanev=".__TANEV." OR feladatTipusId IS NOT NULL) + ORDER BY dt DESC,ora DESC,tankorId"; + return db_query($q, array('fv' => 'getOraAdatByTankor', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($tankorId)), $olr); + + } else { + // nincs id + return false; + } + } + + function getHelyettesitettOra($tolDt, $igDt) { + + $q = "SELECT DISTINCT oraId, + dt, + ora, + ki, + kit, + ora.tankorId AS tankorId, + teremId, + ora.leiras AS leiras, + ora.tipus AS tipus, + eredet, + TRIM(CONCAT_WS(' ', t1.viseltNevElotag, t1.viseltCsaladiNev, t1.viseltUtonev)) AS kiCn, + TRIM(CONCAT_WS(' ', t2.viseltNevElotag, t2.viseltCsaladiNev, t2.viseltUtonev)) AS kitCn, + tankorNev, + munkaido + FROM ".__TANEVDBNEV.".ora + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tanar AS t1 ON ki=t1.tanarId + LEFT JOIN ".__INTEZMENYDBNEV.".tanar AS t2 ON kit=t2.tanarId + WHERE ( + tipus IN ('helyettesítés','felügyelet','összevonás','elmarad','elmarad máskor','normál máskor') + or eredet='plusz' + ) + AND tanev=".__TANEV." AND '%s' <= dt AND dt <= '%s' + ORDER BY dt, ora, ki"; + return db_query($q, array('fv' => 'getHelyettesítettOrar', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($tolDt, $igDt)), $olr); + + } + + +/* + * Adott nap adott órájában mely termek szabadok - esetleg megadva, hogy kinek a számára: ilyenkor + * az ő általa használt termek is benne maradnak a listában... + */ + function getSzabadTermek($PARAM = array(), $olr = '') { + + if (isset($PARAM['dt']) && $PARAM['dt'] != '') $dt = $PARAM['dt']; + else $dt = date('Y-m-d'); + if (isset($PARAM['ora']) && $PARAM['ora'] !== '') $ora = $PARAM['ora']; + else $ora = 1; + if (isset($PARAM['ki']) && $PARAM['ki'] != '') + $q = "SELECT ".__INTEZMENYDBNEV.".terem.teremId AS teremId, + ".__INTEZMENYDBNEV.".terem.leiras AS leiras, + ".__INTEZMENYDBNEV.".terem.ferohely AS ferohely, + ".__INTEZMENYDBNEV.".terem.tipus AS tipus + FROM ".__INTEZMENYDBNEV.".terem LEFT JOIN ora + ON ora.teremId=".__INTEZMENYDBNEV.".terem.teremId + AND dt='%s' + AND ora=%u + AND ora.tipus NOT LIKE 'elmarad%%' + AND ki != %u + WHERE ora.eredet IS NULL ORDER BY teremId"; + else + $q = "SELECT ".__INTEZMENYDBNEV.".terem.teremId AS teremId, + ".__INTEZMENYDBNEV.".terem.leiras AS leiras, + ".__INTEZMENYDBNEV.".terem.ferohely AS ferohely, + ".__INTEZMENYDBNEV.".terem.tipus AS tipus + FROM ".__INTEZMENYDBNEV.".terem LEFT JOIN ora + ON ora.teremId=".__INTEZMENYDBNEV.".terem.teremId + AND dt='%s' + AND ora=%u + AND ora.tipus NOT LIKE 'elmarad%%' + WHERE ora.eredet IS NULL ORDER BY teremId"; + $v = array($dt, $ora, $PARAM['ki']); + return db_query($q, array('fv' => 'getSzabadTermek', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $olr); + } + + + function getTanarNapiOrak($tanarId, $dt='', $olr = null) { + if ($dt=='') $dt = date('Y-m-d'); + // --TODO kitalálhatnánk, hogy az adott dátum melyik szemeszterben van! + $q = "SELECT DISTINCT oraId, ora, ki, kit, ora.tankorId, ora.tipus AS tipus, eredet, feladatTipusId, munkaido, tankorNev, teremId, terem.leiras AS teremLeiras, oralatogatasId, megjegyzes, ora.leiras + FROM ora LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter ON (ora.tankorId=tankorSzemeszter.tankorId AND tanev=%u) + LEFT JOIN ".__INTEZMENYDBNEV.".terem USING (teremId) + LEFT JOIN oraLatogatas USING (oraId) + WHERE ki=%u AND dt='%s' ORDER BY ora"; + $v = array(__TANEV,$tanarId, $dt); + return db_query($q, array('debug'=>false,'fv' => 'getTanarNapiOrak', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'ora', 'values' => $v), $olr); + } + + function getOsztalyNapiOrak($osztalyId, $dt, $olr = null) { + + $q = "SELECT DISTINCT oraId, ora, ki, kit, ora.tankorId, ora.tipus AS tipus, eredet, feladatTipusId, munkaido, tankorNev, teremId, terem.leiras AS teremLeiras, oralatogatasId, megjegyzes, ora.leiras + FROM ora + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorOsztaly USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".terem USING (teremId) + LEFT JOIN oraLatogatas USING (oraId) + WHERE tanev=".__TANEV." AND osztalyId=%u AND dt='%s' + AND ora.tipus IN ('normál','normál máskor','helyettesítés','felügyelet','összevonás') ORDER BY ora"; + $v = array($osztalyId, $dt); + return db_query($q, array('fv' => 'getOsztalyNapiOrak', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'ora', 'values' => $v), $olr); + } + + + function tanarLukasOrajaE($tanarId, $dt, $ora, $olr = null) { + + $q = "SELECT COUNT(oraId) FROM ora WHERE dt='%s' AND ora=%u AND ki=%u AND tipus NOT LIKE 'elmarad%%'"; + $v = array($dt, $ora, $tanarId); + $num = db_query($q, array('fv' => 'tanarLukasOrajaE', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $olr); + return ($num == 0); + + } + + function tankorTagokLukasOrajaE($tankorId, $dt, $ora, $csereTankorId = '') { + + $nap = date('w', strtotime($dt)); if ($nap == 0) $nap=7; + $Diakok = getTankorDiakjaiByInterval($tankorId, __TANEV, $dt, $dt); + if (count($Diakok['idk']) == 0) { + // Nincsenek tagjai a tankörnek - év elején bizony előfordul... + return true; + } + $lukasOra = true; + for ($i=0; $itrue,'tolDt' => $dt, 'igDt' => $dt, 'nap'=> $nap, 'ora'=>$ora)); + // a diák összes tanköre + $_TANKOROK = getTankorIdsByDiakIds(array($_diakId), array('tanev'=>__TANEV,'tolDt'=>$dt,'igDt'=>$dt)); + // A diák adott időpontban kötelező tankörei + if (is_array($_FMTANKOROK)) $tankorIds = array_diff($_TANKOROK, $_FMTANKOROK); + else $tankorIds = $_TANKOROK; + + if (is_array($tankorIds) && count($tankorIds)>0) { + $q = "SELECT COUNT(oraId) AS db FROM ora + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + WHERE tankorTipus.jelenlet='kötelező' + AND ora.dt='%s' AND ora.ora=%u AND ora.tipus NOT LIKE 'elmarad%%' AND ora.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + + $v = mayor_array_join(array($dt, $ora), $tankorIds); + if ($csereTankorId != '') { + $q .= " AND tankorId != %u"; + array_push($v, $csereTankorId); + } + $db = db_query($q, array('fv' => 'tankorTagokLukasOrajaE/diakId='.$_diakId, 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if ($db > 0) { // ha van ütközés, akkor próbáljunk informatívak lenni + $q = "SELECT DISTINCT tankorId FROM ora WHERE dt='%s' AND ora=%u AND tipus NOT LIKE 'elmarad%%' + AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + if ($csereTankorId != '') $q .= " AND tankorId != %u"; + $r = db_query($q, array('fv' => 'tankorTagokLukasOrajaE', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v) ); + if (is_array($r) && count($r)>0) { + $_diakAdat = getDiakAdatById($_diakId); + $_SESSION['alert'][] = 'message:foglalt_diak:'.$_diakAdat['diakNev'].' ('.$_diakId.'):tankörök '.implode(',',$r).':időpont '.$dt.' '.$ora.'. óra'; + } + } + } else { + $db = 0; + } + + $lukasOra = $lukasOra && ($db == 0); + + } + + return $lukasOra; + + } + + + function getNapok($Param = array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'napokSzama' => '', 'tipus' => '', 'munkatervId' => null), $olr = null) { + + if (isset($Param['tanev']) && $Param['tanev'] != '') $tanev = $Param['tanev']; + if (isset($Param['tolDt']) && $Param['tolDt'] != '') $tolDt = $Param['tolDt']; + if (isset($Param['igDt']) && $Param['igDt'] != '') $igDt = $Param['igDt']; + if (isset($Param['napokSzama']) && $Param['napokSzama'] != '') $napokSzama = $Param['napokSzama']; + + initTolIgDt($tanev, $tolDt, $igDt); + $v = array($tolDt, $igDt); + + if (is_array($Param['tipus']) && count($Param['tipus']) > 0) { + $tipusFeltetel = " AND tipus IN ('" . implode("','", array_fill(0, count($Param['tipus']), '%s')) . "') "; + $v = mayor_array_join($v, $Param['tipus']); + } else $tipusFeltetel = ''; + if (isset($Param['munkatervId'])) { + $mtFeltetel = " AND munkatervId=%u "; + array_push($v, $Param['munkatervId']); + } else $mtFeltetel = ''; + $orderBy = 'ORDER BY dt'; + if (isset($napokSzama)) { + if (isset($igDt)) $orderBy = 'ORDER BY dt DESC'; + $limit = "LIMIT %u"; + array_push($v, $napokSzama); + } + + $q = "SELECT DISTINCT dt FROM nap + WHERE '%s' <= dt AND dt <= '%s' $tipusFeltetel $mtFeltetel $orderBy $limit"; + return db_query($q, array('fv' => 'getNapok', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $olr); + + } + + function getNapAdat($dt, $olr = '') { + + $q = "SELECT * FROM nap WHERE dt='%s' ORDER BY munkatervId"; + $ret = db_query($q, array('fv' => 'getNapAdat', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($dt)), $olr); + return $ret; + + } + +/* Nem használt függvény - most már munkaterv függő + function getNapTipus($dt, $munkatervId = 1) { + + $q = "SELECT tipus FROM nap WHERE dt='%s' AND munkatervId=%u"; + return db_query($q, array('fv' => 'getNapTipus', 'modul' => 'naplo', 'result' => 'value', 'values' => array($dt, $munkatervId))); + + } +*/ + function getTanevNapjai($munkatervId = 1, $olr = null) { + + $q = "SELECT * FROM nap WHERE munkatervId=%u ORDER BY dt"; + return db_query($q, array('fv' => 'getTanevNapjai', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($munkatervId)), $olr); + + } + + function getHonapNapjai($ho, $munkatervId = 1, $olr = null) { + /* + $munkatervId lehet tömb is! (pl. egy tanuló több osztályba is tartozik) + + Ekkor a függvény lekérdezi az adott munkatervId-khez tartozó napokat, rendezi őket, hogy minden nap elöl legyenek + a tanítási, speciális tanítási, majd a tanítás nélküli munkanapok, végül a tanítási szünetek, majd ezekből az elsőt + - tehát a "legszigorúbbat" - adja csak vissza az adott napra. + */ + + if (is_array($munkatervId) && count($munkatervId)==0) $munkatervId=1; + if (is_array($munkatervId)) { + $q = "SELECT * FROM nap WHERE month(dt)=%u AND munkatervId in (".implode(",", array_fill(0, count($munkatervId), '%u')).") + ORDER BY dt, + CASE tipus WHEN 'tanítási nap' THEN 1 WHEN 'speciális tanítási nap' THEN 2 WHEN 'tanítás nélküli munkanap' THEN 3 ELSE 4 END"; + + $r = db_query($q, array('fv' => 'getHonapNapjai', 'modul' => 'naplo', 'result' => 'indexed', 'values' => mayor_array_join(array($ho), $munkatervId)), $olr); + $elozoDt = ''; $ret = array(); + // Az adott napi munkatervek közül csak egyet adjunk vissza - a legszigorúbbat + for ($i = 0; $i < count($r); $i++) { + if ($elozoDt <> $r[$i]['dt']) $ret[] = $r[$i]; + $elozoDt = $r[$i]['dt']; + } + } else { + $q = "SELECT * FROM nap WHERE month(dt)=%u AND munkatervId=%u ORDER BY dt"; + $ret = db_query($q, array('fv' => 'getHonapNapjai', 'modul' => 'naplo', 'result' => 'indexed', 'values' => array($ho, $munkatervId)), $olr); + } + return $ret; + + } + +// -- korábbi haladasi.php-ből... + + function getTanarOrak($tanarId, $SET = array('tolDt'=>'', 'igDt'=>'', 'ora'=> '', 'result' => 'indexed', 'tipus' => null)) { + + if ($SET['csakId'] === true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + + $tolDt = readVariable($SET['tolDt'], 'datetime', date('Y-m-d')); + $igDt = readVariable($SET['igDt'], 'datetime', $tolDt); + + if ($SET['ora']!='') { // akkor egyetlen óraid adatai a kérdés! + $WHERE = ' AND ora=%u'; + $v = array($SET['ora']); + } else { + $WHERE = ''; + $v = array(); + } + + if (is_array($SET['tipus']) && count($SET['tipus']) > 0) { + $WHERE .= " AND tipus IN ('".implode("','", array_fill(0, count($SET['tipus']), '%s'))."')"; + $v = mayor_array_join($v, $SET['tipus']); + } + + if ($SET['result'] === 'idonly') { + $q = "SELECT oraId FROM ora WHERE dt>='%s' and dt<='%s' AND ki=%u $WHERE ORDER BY dt,ora"; + array_unshift($v, $tolDt, $igDt, $tanarId); + $RESULT = db_query($q, array('modul' => 'naplo', 'fv' => 'getTanarOrak', 'result' => 'idonly', 'values' => $v)); + } else { + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND (ki=%u OR kit=%u) $WHERE ORDER BY dt,ora"; + array_unshift($v, $tolDt, $igDt, $tanarId, $tanarId); + if ($SET['result']=='assoc') + $RESULT = db_query($q, array('modul' => 'naplo', 'fv' => 'getTanarOrak', 'keyfield' => 'ora', 'result' => 'assoc', 'values' => $v)); + else + $RESULT = db_query($q, array('modul' => 'naplo', 'fv' => 'getTanarOrak', 'result' => 'indexed', 'values' => $v)); + if ($SET['result']=='likeOrarend') { + + for ($i = 0; $i < count($RESULT); $i++) { + + $_put = $RESULT[$i]; + $_put['oo'] = false; + $RE['orak'][$RESULT[$i]['dt']][$RESULT[$i]['ora']][$RESULT[$i]['tankorId']] = $_put; + if (!@in_array($RESULT[$i]['tankorId'], $RE['tankorok'])) $RE['tankorok'][] = $RESULT[$i]['tankorId']; + + } + $RESULT = $RE; + } + } + return $RESULT; + } + + function getOrak($TANKORIDK, $SET=array('tolDt'=>'','igDt'=>'', 'result'=>'likeOrarend', 'elmaradokNelkul'=>false)) { + + /* FIGYELEM! A függvény feltételezi, hogy az átadott tankoridkben az adott intervallumon helyes adatok szerepelnek! + -- problémát okozhat, ha hosszú intervallumot adunk meg!!! -- lásd FS#100 */ + if (!is_array($TANKORIDK) || count($TANKORIDK)==0) return false; + $tolDt = readVariable($SET['tolDt'], 'datetime', date('Y-m-d')); + $igDt = readVariable($SET['igDt'], 'datetime', $tolDt); + + $RE = false; $v = $TANKORIDK; + array_unshift($v, $tolDt, $igDt); + if ($SET['result']=='csakId' || $SET['csakId']===true) { + $q = "SELECT oraId FROM ora WHERE dt>='%s' and dt<='%s' AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDK), '%u')).")"; + $RE = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'idonly', 'values' => $v)); + } elseif ($SET['result']=='forXml') { + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDK), '%u')).")"; + $RE = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'indexed', 'values' => $v)); + } else { + if ($SET['elmaradokNelkul']) + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDK), '%u')).") + AND tipus NOT IN ('elmarad','elmarad máskor')"; + else + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDK), '%u')).")"; + $R = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'indexed', 'values' => $v)); + $RE['tankorok']=array(); + for ($i = 0; $i < count($R); $i++) { + $_put = $R[$i]; + $_put['oo'] = false; + $RE['orak'][$R[$i]['dt']][$R[$i]['ora']][$R[$i]['tankorId']] = $_put; + if (!in_array($R[$i]['tankorId'],$RE['tankorok'])) $RE['tankorok'][] = intval($R[$i]['tankorId']); + } + } + return $RE; + } + + /* EZT A FÜGGVÉNYT ÁT KELL NÉZNI, csak másolva, javaslat: összevonás az előzővel */ + function getOrakByTeremId($teremId, $SET=array('tolDt'=>'','igDt'=>'', 'result'=>'likeOrarend', 'elmaradokNelkul'=>false)) { + + /* FIGYELEM! A függvény feltételezi, hogy az átadott tankoridkben az adott intervallumon helyes adatok szerepelnek! + -- problémát okozhat, ha hosszú intervallumot adunk meg!!! -- lásd FS#100 */ + if ($teremId=='') return false; + $tolDt = readVariable($SET['tolDt'], 'datetime', date('Y-m-d')); + $igDt = readVariable($SET['igDt'], 'datetime', $tolDt); + $v = array($tolDt,$igDt,$teremId); + + if ($SET['result']=='csakId' || $SET['csakId']===true) { + $q = "SELECT oraId FROM ora WHERE dt>='%s' and dt<='%s' AND teremId=%u"; + $RE = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'idonly', 'values' => $v)); + } elseif ($SET['result']=='forXml') { + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND teremId=%u"; + $RE = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'indexed', 'values' => $v)); + } else { + if ($SET['elmaradokNelkul']) + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND teremId=%u + AND tipus NOT IN ('elmarad','elmarad máskor')"; + else + $q = "SELECT * FROM ora WHERE dt>='%s' and dt<='%s' AND teremId=%u"; + $R = db_query($q, array('modul' => 'naplo', 'fv' => 'getOrak', 'result' => 'indexed', 'values' => $v)); + for ($i = 0; $i < count($R); $i++) { + $_put = $R[$i]; + $_put['oo'] = false; + $RE['orak'][$R[$i]['dt']][$R[$i]['ora']][$R[$i]['tankorId']] = $_put; + if (!@in_array($R[$i]['tankorId'],$RE['tankorok'])) $RE['tankorok'][] = $R[$i]['tankorId']; + } + } + return $RE; + } + /* --- --- --- */ + + function getOralatogatasByOraIds($oraIds, $SET = array('result' => 'assoc')) { + + if (!is_array($oraIds) || count($oraIds) == 0) return array(); + + $q = "SELECT * FROM oraLatogatas WHERE oraId IN (".implode(',', array_fill(0, count($oraIds), '%u')).") ORDER BY oraId"; + $v = $oraIds; + $ret = db_query($q, array('modul' => 'naplo', 'fv' => 'getOraLatogatasByOraIds', 'result' => $SET['result'], 'keyfield' => 'oraId', 'values' => $v)); + if ($SET['result'] == 'assoc') { + if (is_array($ret)) foreach ($ret as $oraId => $olAdat) { + $ret[$oraId]['tanarIds'] = getOraLatogatoByLatogatasId($olAdat['oraLatogatasId']); + } + } elseif ($SET['result'] == 'indexed') { + if (is_array($ret)) foreach ($ret as $i => $olAdat) { + $ret[$i]['tanarIds'] = getOraLatogatoByLatogatasId($olAdat['oraLatogatasId']); + } + } + return $ret; + + } + + function getOraLatogatoByLatogatasId($latogatasId) { + $q = "SELECT tanarId FROM oraLatogatasTanar WHERE oraLatogatasId=%u"; + return db_query($q, array('modul' => 'naplo', 'fv' => 'getOraLatogatoByLatogatasId', 'result' => 'idonly', 'values' => array($latogatasId))); + } + + function getFeladatTipus() { + $q = "SELECT * FROM feladatTipus"; + return db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'getFeladatTipus', 'result' => 'assoc', 'keyfield'=>'feladatTipusId')); + } + + function getOraTerhelesByTanarId($SET = array()) { // -- DEPRECATED + $q = "SELECT feladatTipusId,count(*) AS db FROM ora WHERE ki=%u AND dt>='%s' AND dt<='%s' AND feladatTipusId IS NOT NULL GROUP BY feladatTipusId"; + $v = array($SET['tanarId'],$SET['tolDt'],$SET['igDt']); + return db_query($q, array('modul' => 'naplo', 'fv' => 'getOraTerheles', 'result' => 'assoc', 'keyfield'=>'feladatTipusId','values'=>$v)); + } + + function getOraTerhelesStatByTanarId($SET = array(), $olr='') { + /* ha a tanítási hetet úgy értelmezzük, hogy az a hét, amin az adott DT van, de nem így teszünk! + ehelyett az elmúlt 5 tanítási napot vizsgáljuk (egyéb értelmes szempontként) + */ + + if (isset($SET['tanarId']) && !is_array($SET['tanarId']) && is_numeric($SET['tanarId'])) $SET['tanarId'] = array($SET['tanarId']); + + $dt=($SET['dt']=='')?date('Y-m-d'):$SET['dt']; + /* azt is biztosítani kell, hogy a megadott dt tanítási nap legyen */ + $dt = (getTanitasiNapVissza(0,$dt)); + + if ($SET['tolDt']!='' && $SET['igDt']!='') { // akkor nem prediktálható az eredmény... mit is kéne számolnunk? ezt nem engedjük + $_SESSION['alert'][] = '::'; + } else { + $tolDt = getTanitasiNapVissza(4,$dt); + $igDt = $dt; + } + initTolIgDt(__TANEV, $tolDt, $igDt); + $v_default = array($tolDt, $igDt); + if (is_array($SET['tanarId']) && count($SET['tanarId']) > 0) { + $w = " AND ki IN (" . implode(",", array_fill(0, count($SET['tanarId']), '%u')) . ") GROUP BY ki"; + $w1 = " WHERE tanarId IN (" . implode(",", array_fill(0, count($SET['tanarId']), '%u')) . ")"; + $v = $SET['tanarId']; + } else { + $w = " GROUP BY ki"; + $w1 = ''; + } + $lr = ($olr=='') ? db_connect('naplo'):$olr; + + /* tanár kötelező óraszámának beállítása -- lehetne máshol is*/ + $q = "SELECT tanarId, hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam,hetiMunkaora FROM ".__INTEZMENYDBNEV.".tanar".$w1; + $R = db_query($q,array('modul'=>'naplo','result'=>'indexed','values'=>$v),$lr); + for ($i=0;$i0) ? intval($R[$i]['hetiMunkaora']):40; + $RES[$R[$i]['tanarId']]['munkaido']['kotott'] = ($R[$i]['hetiKotottMaxOraszam']>0) ? intval($R[$i]['hetiKotottMaxOraszam']) : + (($R[$i]['hetiMunkaora']>0) ? intval($R[$i]['hetiMunkaora']*0.8):32); + $RES[$R[$i]['tanarId']]['munkaido']['lekotott'] = ($R[$i]['hetiLekotottMaxOraszam']>0) ? intval($R[$i]['hetiLekotottMaxOraszam']) : + (($R[$i]['hetiMunkaora']>0) ? intval($R[$i]['hetiMunkaora']*0.65):26); + } + /* ---- */ + + // összes típus + $TYPE = array( + 'ossz'=> " (tipus NOT IN ('elmarad','elmarad máskor'))", + 'kotottEloirt'=> " (tipus IN ('helyettesítés','normál','normál máskor') OR (tipus='egyéb' AND eredet='órarend'))", + 'kotott'=> " (tipus IN ('helyettesítés','normál','normál máskor') OR (tipus='egyéb'))", + 'lekotott'=>" (tipus IN ('helyettesítés','normál','normál máskor'))", + 'over'=> " tipus = 'helyettesítés' AND munkaido='fennmaradó'" + ); + foreach($TYPE as $munkaidoTipus => $TIPUSOK) + { + $q = "SELECT ki AS tanarId,count(*) AS db FROM ora WHERE $TIPUSOK AND dt>='%s' AND dt<='%s'".$w; + $v = mayor_array_join($v_default,$SET['tanarId']); + $R= db_query($q, array('fv'=>'getOraTerhelesStatByTanarid','values'=>$v,'result'=>'indexed'),$lr); + for ($i=0;$i'getOraTerhelesStatByTanarid','values'=>$v,'result'=>'indexed'),$lr); + for ($i=0;$i'getOraTerhelesStatByTanarid','values'=>$v,'result'=>'indexed'),$lr); +// for ($i=0;$i'getOraTerhelesStatByTanarid','values'=>$v,'debug'=>false,'result'=>'indexed'),$lr); + for ($i=0;$i'naplo','fv'=>'getOraStatByTankorId','values'=>$v,'result'=>'indexed'),$lr); + $R['éves'] = reindex($r,array('eredet','tipus')); + + $q = "SELECT tipus,eredet,count(*) AS db FROM ora WHERE + dt >= '%s' - INTERVAL DAYOFWEEK('%s')+6 DAY + AND dt < '%s' - INTERVAL DAYOFWEEK('%s')-1 DAY + AND tankorId =%u GROUP BY tipus,eredet"; + $v = array($dt,$dt,$dt,$dt,$tankorId); + $r= db_query($q, array('debug'=>false,'modul'=>'naplo','fv'=>'getOraStatByTankorId','values'=>$v,'result'=>'indexed'),$lr); + $R['heti'] = reindex($r,array('eredet','tipus')); + + return $R; + + } + + function oraMostVane($oraId) { + $most = false; + if ($oraId!='') { + $q = "select DISTINCT + IF(tolTimefalse,'fv'=>'oraMostVane','modul'=>'naplo','values'=>$v,'result'=>'indexed')); + if (count($R)>1) { // többféle eredményt kaptunk + $most = false; + } + $most = ($R[0]['mostVan']) ? true : false; + } + return $most; + } + + function getOrakMost() { + $q = "select oraId,IF(tolTimefalse,'fv'=>'oraMostVane','modul'=>'naplo','values'=>$v,'result'=>'idonly')); + return $R; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/oraModifier.php b/mayor-orig/www/include/modules/naplo/share/oraModifier.php new file mode 100644 index 00000000..9165ac7c --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/oraModifier.php @@ -0,0 +1,148 @@ + 'oraBeirhato')):$olr; + $q = "SELECT * FROM ora WHERE oraId = %u"; + $values = array('oraId'=>$oraId); + $oraAdat = db_query($q, array('fv'=>'oraBeirhato','modul'=>'naplo','result'=>'record','values'=>$values),$lr); + if ($olr == '') db_close($lr); + return modosithatoOra($oraAdat); + } + + function modosithatoOra($haladasiOraAdat) { // lásd még: oraBeirhato($oraId) + + global $_TANEV; + if (!defined('_HALADASI_HATARIDO')) $_SESSION['alert'][] = 'info::modosithatoOra.not defined._HALADASI_HATARIDO'; + // if (!defined('__USERTANARID')) return false; + /* feladat típusokra vonatkozó beállítások */ + $Feladat = is_numeric($haladasiOraAdat['feladatTipusId']) && $haladasiOraAdat['tipus']=='egyéb'; // 22-26 óra feletti kötött munkaidőbe tartó feladat + $tanarFeladat = $Feladat && defined('__USERTANARID') && __USERTANARID==$haladasiOraAdat['ki']; // ... amit az épp bejelentkezett tanár tart + $sajatTanarFeladat = $tanarFeladat && $haladasiOraAdat['eredet']=='plusz'; // ... és ő is vett fel + $eloirtTanarFeladat = $tanarFeladat && $haladasiOraAdat['eredet']=='órarend'; // ... illetve, amit számára a vezetőség előírt (nem törölhető) + $time = strtotime($haladasiOraAdat['dt']); + $ki = $haladasiOraAdat['ki']; + $normalOra = (in_array($haladasiOraAdat['tipus'],array('normál','normál máskor'))); + for ($i = 0; + ( + ($i < ($count = count($haladasiOraAdat['tanar']))) + && ($haladasiOraAdat['tanar'][$i]['tanarId'] != __USERTANARID) + ); + $i++ + ); + $tanara = ($i < $count) || $haladasiOraAdat['ki']==__USERTANARID; // nem mindig van 'tanar' adat! Az nem része az ora rekordnak + + return ($_TANEV['szemeszter'][1]['statusz'] == 'aktív') // Csak aktív szemeszterbe írhatunk + && ( + ((__VEZETOSEG || __NAPLOADMIN) && $Feladat && $haladasiOraAdat['eredet']=='órarend') + || $time <= time() + ) // A jövőbeli órák nem írhatók be, kivéve, ha az előírt tanári feladat (pl versenyfelügyelet)! + && ( + // Az admin bármikor módosíthat - de csak vezetői utasításra teszi! + __NAPLOADMIN + // Az igazgató naplózárásig pótolhat, javíthat - utána elvileg nyomtatható a napló! + || (__VEZETOSEG and strtotime(_ZARAS_HATARIDO) <= $time) + || ( + __TANAR + && ( + // a számára felvett óra nem módosítható + !$eloirtTanarFeladat + && ( + // tanár a saját tanköreinek óráit a _HALADASI_HATARIDO-ig módosíthatja + ($normalOra && $tanara && (strtotime(_HALADASI_HATARIDO) <= $time)) + // tanár az általa helyettesített/felügyelt/összevont órát _visszamenőleg_ a _HELYETTESITES_HATARIDO-ig módosíthatja + || (!$normalOra && (__USERTANARID == $ki) && (strtotime(_HELYETTESITES_HATARIDO) <= $time) && $Feladat===false) + // a kötött munkaidőben végzett feladatok _HALADASI_HATARIDŐIG módosíthatók + || ($tanarFeladat && (strtotime(_HALADASI_HATARIDO) <= $time)) + ) + ) + ) + ); + + } + + function ujOraFelvesz($ADAT,$olr='') { // --TODO: a függvény figyelhetné a tagok óraütközését! + $lr = $olr=='' ? db_connect('naplo', array('fv' => 'ujOraFelvesz')):$olr; + $q = "SELECT count(*) FROM ora WHERE dt='%s' AND ora=%u AND ki=%u"; + $values = array($ADAT['dt'],$ADAT['ora'],$ADAT['ki']); + $c = db_query($q, array('fv'=>'ujOraFelvesz/1','modul'=>'naplo','result'=>'value','values'=>$values),$lr); + if ($c==0) { // csak ha még nincs adott nap adott órájára rögzítve "feladata" + if ($ADAT['feladatTipusId']==0) $ADAT['feladatTipusId']='NULL'; + if ($ADAT['tankorId']==0) $ADAT['tankorId']='NULL'; + $q = "INSERT INTO `ora` (`dt`,`ora`,`ki`,`tipus`,`eredet`,`feladatTipusId`,`munkaido`,`leiras`,`tankorId`) VALUES ('%s',%u,%u,'%s','%s',%s,'%s','%s',%s)"; + $values = array($ADAT['dt'],$ADAT['ora'],$ADAT['ki'],$ADAT['tipus'],$ADAT['eredet'],$ADAT['feladatTipusId'],$ADAT['munkaido'],$ADAT['leiras'],$ADAT['tankorId']); + $RESULT = db_query($q, array('fv'=>'ujOraFelvesz','modul'=>'naplo','result'=>'insert','values'=>$values),$lr); + } + if ($olr == '') db_close($lr); + return $RESULT; + } + + function updateHaladasiNaploOra($oraId, $leiras, $csoportAdat = '', $ki = '', $olr = '') { + + $RESULT = true; + + $lr = $olr=='' ? db_connect('naplo', array('fv' => 'updateHaladasiNaploOra')):$olr; + // A módosítás előtti állapot lekérdezése + $oraAdat = getOraAdatById($oraId, __TANEV, $lr); + $dt = $oraAdat['dt']; + // Melyik tankör lesz a módosítás után + if ($csoportAdat != '') list($csoportId, $tankorId) = explode(':', $csoportAdat); + else $tankorId = $oraAdat['tankorId']; + + // force to be numeric (CHECK) + $csoportId = intval($csoportId); + $tankorId = intval($tankorId); + + $oraAdat['tanar'] = getTankorTanaraiByInterval($tankorId, array('tanev' => __TANEV, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'nevsor'), $lr); + // Melyik ki id lesz módosítás után + if ($ki != '') $tanarId = $ki; else $tanarId = $oraAdat['ki']; + if (modosithatoOra($oraAdat)) { + + // Tananyag beírása + $q = "UPDATE ora SET leiras='%s'"; + $v = array($leiras); + if ($ki != '') { // Ha több tanára van a tankörnek, akkor az átváltható + $i = 0; + while ($i < ($db = count($oraAdat['tanar'])) && $ki != $oraAdat['tanar'][$i]['tanarId']) $i++; + if ($i < $db) { + $q .= ",ki=%u"; + $v[] = $ki; + } + } + //!!! A csoportok tankörei válthatóak - ha ugyanaz a tanár tartja + if ($csoportAdat != '' && $oraAdat['tankorId'] != $tankorId) { + $q2 = "SELECT COUNT(tankorId) FROM tankorCsoport LEFT JOIN ".__INTEZMENYDBNEV.".tankorTanar USING (tankorId) + WHERE csoportId = %u AND tanarId = %u + AND tankorId IN (%u,%u) + AND (kiDt IS NULL OR kiDt>='%s') AND beDt<='%s'"; + $v2 = array($csoportId, $tanarId, $tankorId, $oraAdat['tankorId'], $dt, $dt); + $num = db_query($q2, array('fv' => 'updateHaladasiNaploOra', 'modul' => 'naplo', 'result' => 'value', 'values' => $v2), $lr); + if (!$num) { + $_SESSION['alert'][] = 'message:wrong_data:updateHaladasiNaploOra:'.$num.':'.$csoportId; + $RESULT = false; + } elseif ($num == 2) { + $q .= ",tankorId=%u"; + $v[] = $tankorId; + } else { + $_SESSION['alert'][] = 'message:wrong_data:updateHaladasiNaploOra:'.$num.':'.$csoportId; + $RESULT = false; + } + } + if ($RESULT!==false) { + $q .= " WHERE oraId=%u"; + $v[] = $oraId; + $RESULT = db_query($q, array('fv' => 'updateHaladasiNaploOra', 'modul' => 'naplo', 'values' => $v), $lr); + //$_SESSION['alert'][] = $q; + } + } else { +// $RESULT = false; // igaziból nincs hiba, hisz nem csináltunk semmit + $_SESSION['alert'][] = 'message:wrong_data:nem modosithato ora!!!'; + } + if ($olr == '') db_close($lr); + + return $RESULT; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/orarend.php b/mayor-orig/www/include/modules/naplo/share/orarend.php new file mode 100644 index 00000000..5ae3a43a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/orarend.php @@ -0,0 +1,422 @@ +'','igDt'=>'')) { + // tankörök lekérdezése + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $itrue,'tolDt'=>$_dt, 'igDt'=>$_dt)); + } + return getOrarend($TANKORIDK, array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } + + // ++ + function getOrarendByTanarId($tanarId, $SET=array('tolDt'=>'','igDt'=>'', 'telephely'=>null, 'orarendiOraTankor'=>false)) { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $itrue,'tolDt'=>$_dt, 'igDt'=>$_dt)); + } + /* Figyelem! Az első talált munkatervet vesszük itt figyelembe!!! */ + $munkatervIds = getMunkatervByTanarId($tanarId, array('result' => 'idonly', 'tanev'=>__TANEV, 'tolDt'=>$tolDt, 'igDt'=>$igDt)); + $RESULT = getOrarend($TANKORIDK, array('tolDt'=>$tolDt, 'igDt'=>$igDt, 'telephely'=>$SET['telephely'], 'munkatervId'=>$munkatervIds)); + /* --------------------------------------------*/ + if ($SET['orarendiOraTankor']===true + && is_null($SET['telephely']) + ) { + /* és kérdezzük le nem tankörId-kkel is... */ + // Ez a rész csak az orarendiOra Tankörös részhez kell... Ene ... tényleg kell? :) // + // Kelljen. Ha a getOrarend nem tud dűlőre jutni, még mindig látszik valami... [k] + /* A tanítási hét kitalálása */ + // erre valójában nincs szükség */ +/* + $het = getOrarendiHetByDt($tolDt, array('alert'=>false)); // Ez NULL-t ad vissza, ha nincs bejegyzés!!! + if (is_null($het)) {// nincs a nap táblában ilyen bejegyzés, de megkereshetjük a következő tanítási napot. + // (ez persze ahhoz vezet, hogy ha 7 napnál nagyobb a különbség, akár hetek is ugorhatnak + //$kovTanNap = getTanitasiNap('elore',1,"$tolDt 08:00:00"); + $het = getOrarendiHetByDt($kovTanNap); + } +*/ /* -- */ + + /* !! Így egy nap többször is szerepelhet !! Ugye ez nem baj?? */ + $munkatervId = $munkatervIds; //hack myself + if (!is_array($munkatervId) || count($munkatervId) == 0) { + return false; + } + $q = "SELECT dt,orarendiHet,DAYOFWEEK(dt)-1 AS nap,csengetesiRendTipus FROM nap WHERE dt>='%s' AND dt<='%s' + AND munkatervId IN (".implode(',', array_fill(0, count($munkatervId), '%u')).")"; + $v = mayor_array_join(array($tolDt, $igDt), $munkatervId); + $RES = db_query($q, array('fv' => 'getOrarendByTanarId', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for($i=0; $i 'getOrarendByTanarId', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + for($i=0; $i$RES[$i]['tankorId'], + 'tolDt'=>$RES[$i]['tolDt'], + 'tanarId'=>$RES[$i]['tanarId'], + 'targyJel'=>$RES[$i]['targyJel'], + 'osztalyJel'=>$RES[$i]['osztalyJel'], + 'teremId'=>$RES[$i]['teremId']); + } + + } + /* --------------------------------------- */ + return $RESULT; + } + + // ++ + function getOrarendByDiakId($diakId, $SET = array('tolDt'=>'','igDt'=>'','osztalyId'=>'')) { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $itrue,'tolDt'=>$_dt,'igDt'=>$_dt)); + } + if ($SET['osztalyId']!='') { + $munkatervId = getMunkatervByOsztalyId($SET['osztalyId']); + } else { + $munkatervId = getMunkatervByDiakId($diakId, array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } + $RESULT = getOrarend($TANKORIDK, array('tolDt'=>$tolDt,'igDt'=>$igDt,'NAPOK'=>$NAPOK, 'munkatervId'=>$munkatervId)); + return $RESULT; + } + + // ++ + function getOrarendByOsztalyId($osztalyId, $SET=array('tolDt'=>'','igDt'=>'')) { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $itrue,'tolDt'=>$_dt,'igDt'=>$_dt)); + } + // + $munkatervId = getMunkatervByOsztalyId($osztalyId); + $RESULT = getOrarend($TANKORIDK, array('tolDt'=>$tolDt,'igDt'=>$igDt,'NAPOK'=>$NAPOK, 'munkatervId'=>$munkatervId)); + return $RESULT; + } + + // ++ + function getOrarendByTankorId($tankorId, $SET=array('tolDt'=>'','igDt'=>'')) { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $i$tolDt,'igDt'=>$igDt)); + return $RESULT; + } + + // ++ + function getOrarendByMkId($mkId, $SET=array('tolDt'=>'','igDt'=>'','telephely'=>null)) { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + $NAPOK = _genNapok($tolDt,$igDt); + // dátumfüggő FS#100 + for ($i=0; $itrue,'tolDt'=>$_dt,'igDt'=>$_dt)); + } + $munkatervIds = getMunkatervek(array('result'=>'idonly')); + $RESULT = getOrarend($TANKORIDK, array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephely'=>$SET['telephely'],'munkatervId'=>$munkatervIds)); + return $RESULT; + } + + function getOrarend($TANKOROK, $SET=array('tolDt'=>'','igDt'=>'', 'telephely'=>null, 'NAPOK' => null, 'munkatervId'=>null)) { + + //a tankörök tömb szerkezete megváltozik rev1300 + if (!is_array($TANKOROK) || count($TANKOROK)==0) return false; + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); // valljuk meg, ez kicsit tág intervallum lehet... + if (isset($SET['NAPOK']) && is_array($SET['NAPOK'])) { + $NAPOK = $SET['NAPOK']; + } else { + $NAPOK = _genNapok($tolDt,$igDt); + } + + $tanevDb = tanevDbNev(__INTEZMENY, __TANEV); + + if ($SET['telephely']!='' && is_string($SET['telephely'])) { + $W_TELEPHELY1 = " LEFT JOIN terem USING (teremId)"; + $W_TELEPHELY2 = " WHERE telephely='".$SET['telephely']."' "; + } + $RESULT['assocFormat']['$nap$']['$ora$']['orak']['$index$']=true; + $RESULT['tankorokFormat']['$index$'] = true; + $_TMPTANKORIDK = array(); + $RESULT['telephelyIdk'] = array(); + for ($nI=0; $nI'assoc','munkatervId'=>$SET['munkatervId'])); + $het = $RESULT['napok'][$nap]['het']; + if (in_array($RESULT['napok'][$nap]['tipus'],array('tanítási nap','speciális tanítási nap')) && $het!=0) { // ha van egyáltalán beállított tanítás... + $_dt = $NAPOK[$nI]; + $TIME = "igDt>='%s' AND tolDt<='%s' AND nap=%u"; // ez miírt van külön? [bb] + $_TK = $TANKOROK[$_dt]; + if (is_array($_TK) && count($_TK)>0) { + $q = "SELECT orarendiOra.*,orarendiOraTankor.*,tankorTipus.jelleg,terem.telephelyId FROM $tanevDb.orarendiOra + ".$W_TELEPHELY1." + LEFT JOIN $tanevDb.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + ".$W_TELEPHELY2." + LEFT JOIN tankor USING (tankorId) LEFT JOIN tankorTipus USING (tankorTipusId) + LEFT JOIN terem USING (teremId) + HAVING $TIME AND het=%u AND tankorId IN (".implode(',', array_fill(0, count($_TK), '%u')).") + AND tankorId IN ( + SELECT tankorId FROM $tanevDb.nap + LEFT JOIN $tanevDb.munkatervOsztaly USING (munkatervId) + LEFT JOIN tankorOsztaly USING (osztalyId) + WHERE tipus IN ('tanítási nap') AND dt='".$_dt."' + ) + + "; // nagy lekérdezés + array_unshift($_TK, $_dt, $_dt, $nap, $het); + $RES = db_query($q, array('fv' => 'getOrarend', 'modul' => 'naplo_intezmeny', 'values' => $_TK, 'result' => 'indexed'), $olr); + /* asszoc tömböt szeretnénk, és kigyűjtük az érintett tanköröket */ + for($i = 0; $i < count($RES); $i++) { + if (!in_array($RES[$i]['telephelyId'],$RESULT['telephelyIdk']) && $RES[$i]['telephelyId']>0) $RESULT['telephelyIdk'][] = $RES[$i]['telephelyId']; + $RESULT['assoc'][$RES[$i]['nap']][$RES[$i]['ora']]['orak'][] = array('igDt'=>$RES[$i]['igDt'],'tolDt'=>$RES[$i]['tolDt'], 'het'=>$RES[$i]['het'],'tankorId'=>$RES[$i]['tankorId'], 'tanarId'=>$RES[$i]['tanarId'],'targyJel'=>$RES[$i]['targyJel'],'osztalyJel'=>$RES[$i]['osztalyJel'],'teremId'=>$RES[$i]['teremId'],'jelleg'=>$RES[$i]['jelleg'],'oo'=>true); + $_TMPTANKORIDK[$RES[$i]['tankorId']] = true; + } + $RESULT['db'] += count($RES); + } + } + } + if (is_array($_TMPTANKORIDK)) foreach ($_TMPTANKORIDK as $_tankorId => $_tmp) { + $RESULT['tankorok'][] = $_tankorId; + } + // adjuk tovább az esetlegesen lekérdezett tankörlistát... (ez csak Id-k gyűjteménye) + $RESULT['mindenTankorByDt'] = $TANKOROK; + return $RESULT; + + } + + function getOrarendByTeremId($teremId, $het = '', $SET=array('tolDt'=>'','igDt'=>'', 'telephely'=>null)) { + + $diff = 5; + + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); // valljuk meg, ez kicsit tág intervallum lehet... + if (isset($SET['NAPOK']) && is_array($SET['NAPOK'])) { + $NAPOK = $SET['NAPOK']; + } else { + $NAPOK = _genNapok($tolDt,$igDt); + } + + if ($telephely!='') { + $W_TELEP = " AND telephely='%s'"; + $v = array($telephely); + } else { + $W_TELEP = ''; + $v = array(); + } + +// for ($nap=1; $nap<=count($NAPOK); $nap++) { + for ($nI=0; $nI'assoc')); + $het = $RESULT['napok'][$nap]['het']; + if ($het!=0) { // ha van egyáltalán beállított tanítás... + $_dt = $NAPOK[$nI]; + $TIME = "igDt>='%s' AND tolDt<='%s' AND nap=%u"; // miért van ez külön? [bb] + $q = "SELECT * FROM orarendiOra LEFT JOIN ".__INTEZMENYDBNEV.".terem USING (teremId) LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) HAVING $TIME + AND het=%u AND teremId=%u".$W_TELEP; + array_unshift($v, $_dt, $_dt, $nap, $het, $teremId); + $RES = db_query($q, array('fv' => 'getOrarend', 'modul' => 'naplo', 'values' => $v, 'result' => 'indexed'), $olr); + /* és egészítsük ki bonyolultabb asszoc tömbbé */ + for($i = 0; $i < count($RES); $i++) { + if (!in_array($RES[$i]['telephelyId'],$RESULT['telephelyIdk']) && $RES[$i]['telephelyId']>0) $RESULT['telephelyIdk'][] = $RES[$i]['telephelyId']; + $RESULT['assoc'][$RES[$i]['nap']][$RES[$i]['ora']]['orak'][] = array('het'=>$RES[$i]['het'],'tankorId'=>$RES[$i]['tankorId'], 'tanarId'=>$RES[$i]['tanarId'],'targyJel'=>$RES[$i]['targyJel'],'osztalyJel'=>$RES[$i]['osztalyJel'],'teremId'=>$RES[$i]['teremId']); + if (!is_null($RES[$i]['tankorId'])) $RESULT['tankorok'][] = $RES[$i]['tankorId']; + } + } + } + return $RESULT; + + } + + + + // Az adott dátum napján érvényes órarend lekérdezése + function getOrarendByDt($dt, $orarendiHet = array(1), $tanev = __TANEV) { + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $q = "SELECT * FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE het IN (".implode(',', array_fill(0, count($orarendiHet), '%u')).") AND tolDt<='%s' AND '%s' <= igDt + ORDER BY het,nap,ora,tanarId"; + array_unshift($orarendiHet, $tanevDb, $tanevDb); + array_push($orarendiHet, $dt, $dt); + return db_query($q, array('fv' => 'getOrarendByDt', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $orarendiHet)); + } + + function getOrarendiHetek($SET = array('tolDt' => '', 'igDt' => '', 'tanev' => __TANEV, 'csakOrarendbol' => false, 'felsoHatar' => 20)) { + + $tolDt = readVariable($SET['tolDt'], 'datetime', null); + $igDt = readVariable($SET['igDt'], 'datetime', null); + $csakOrarendbol = readVariable($SET['csakOrarendbol'], 'bool', false); + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + $felsoHatar = readVariable($SET['felsoHatar'], 'numeric unsigned', 20); + + initTolIgDt($tanev, $tolDt, $igDt); + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + $q = "SELECT DISTINCT het FROM `%s`.orarendiOra WHERE igDt>='%s' AND tolDt<='%s' AND het<%u ORDER BY het"; + $ret = db_query($q, array('fv' => 'getOrarendiHetek', 'modul' => 'naplo', 'result' => 'idonly', 'values' => array($tanevDb, $tolDt, $igDt, $felsoHatar))); + if (!$csakOrarendbol) { + // nincs még egyetlen órarendi bejegyzés sem - vagyük a munkatervből (kell a tolDt-igDt megszorítás?) + $q = "SELECT DISTINCT orarendiHet FROM `%s`.nap WHERE orarendiHet != 0 AND orarendiHet<%u AND '%s'<=dt AND dt<='%s' ORDER BY orarendiHet"; + $ret = @array_values(@array_unique(@array_merge($ret,db_query($q, array('fv' => 'getOrarendiHetek', 'modul' => 'naplo', 'result' => 'idonly', 'values' => array($tanevDb,$felsoHatar,$tolDt,$igDt)))))); + } + + return $ret; + } + + function getLastOrarend($SET = array('tanev' => __TANEV)) { + $v = array(tanevDbNev(__INTEZMENY, $SET['tanev'])); + return db_query("SELECT max(het) FROM `%s`.orarendiOra", array('fv' => 'getLastOrarend', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value')); + } + + function getMinOra($SET = array('tanev' => __TANEV)) { + $v = array(tanevDbNev(__INTEZMENY, $SET['tanev'])); + return db_query("SELECT MIN(ora) FROM `%s`.orarendiOra", array('fv' => 'getMinOra', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value')); + } + function getMaxOra($SET = array('tanev' => __TANEV)) { + $v = array(tanevDbNev(__INTEZMENY, $SET['tanev'])); + $ret = db_query("SELECT MAX(ora) FROM `%s`.orarendiOra", array('fv' => 'getMaxOra', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value')); + if (defined('__MAXORA_MINIMUMA') && __MAXORA_MINIMUMA>$ret) $ret = __MAXORA_MINIMUMA; + return $ret; + } + function getMaxNap($SET = array('tanev' => __TANEV, 'tolDt'=>null, 'igDt'=>null, 'haladasi'=>false)) { + if ($SET['tanev']=='') $SET['tanev'] = __TANEV; + $tanevDbNev = tanevDbNev(__INTEZMENY, $SET['tanev']); + $v = array($tanevDbNev); + $maxNap = db_query("SELECT max(nap) FROM `%s`.orarendiOra", array('fv' => 'getMaxNap', 'modul' => 'naplo_intezmeny', 'values' => $v, 'result' => 'value')); + $halMaxNap=0; + if ($SET['haladasi']===true) { + $v = array($tanevDbNev,$SET['tolDt'],$SET['igDt']); + $q = "select max(dayofweek(dt)-1) AS halMaxNap from `%s`.ora where dt>='%s' and dt<='%s'" ; + $halMaxNap = + db_query($q, + array('fv' => 'getMaxNap2', 'modul' => 'naplo', 'result' => 'value','values'=>$v)); + } + return (($halMaxNap>$maxNap)?$halMaxNap:$maxNap); + } + + function getOrarendiHetByDt($dt, $SET = array('result' => '', 'alert'=>false, 'munkatervId'=>null)) { + + /* ezt javíthatnánk!!! */ + if ( (!is_array($SET['munkatervId']) && $SET['munkatervId'] != '') || (is_array($SET['munkatervId']) && count($SET['munkatervId'])>0) ) { + if (is_array($SET['munkatervId'])) + $W = ' AND orarendiHet!=0 AND munkatervId IN ('.implode(',',$SET['munkatervId']).')'; + else + $W = ' AND orarendiHet!=0 AND munkatervId = '.intval($SET['munkatervId']); + } else $W = ''; + + if ($dt == '') { + $return = getLastOrarend(); + } else { + if ($SET['result']=='assoc') + $return = db_query( + "SELECT orarendiHet AS het,dt,tipus,megjegyzes,csengetesiRendTipus FROM nap WHERE dt='%s' ". $W, + array('fv' => 'getOrarendiHetByDt', 'modul' => 'naplo', 'values' => array($dt), 'result' => 'record') + ); + else + $return = db_query( + "SELECT orarendiHet FROM nap WHERE dt='%s' ".$W, + array('fv' => 'getOrarendiHetByDt', 'modul' => 'naplo', 'values' => array($dt), 'result' => 'value') + ); + } + if ($SET['alert']===true && is_null($return)) { + $_SESSION['alert'][] = 'info:nincs_nap_bejegyzes:'.$dt; + } + return $return; + } + + function getOrarendiOraTankor($tanev = __TANEV) { + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $q = "SELECT * FROM `%s`.orarendiOraTankor"; + return db_query($q, array('fv' => 'getOrarendiOraTankor', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanevDb))); + + } + + function getOrarendiOraAdat($SET = array('tanev' => __TANEV, 'dt' => null, 'tanarId' => null, 'het' => null, 'nap' => null, 'ora' => null)) { + + $tanev = readVariable($SET['tanev'], 'numeric unsigned', (defined('__TANEV')?__TANEV:null)); + $dt = readVariable($SET['dt'], 'datetime', null); + initTolIgDt($tanev, $dt, $dt); + + // Ha van dátum, de nincs hét, nap óra, akkor azt a dátum alapján kellene beállítani) + + if (isset($SET['tanarId']) && isset($SET['het']) && isset($SET['nap']) && isset($SET['ora']) && isset($dt) && isset($SET['tanev'])) { + + $tanevDb = tanevDbNev(__INTEZMENY, $SET['tanev']); + $q = "SELECT * FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE tolDt <= '%s' AND '%s' <= igDt AND tanarId=%u AND het=%u + AND nap=%u AND ora=%u"; + $v = array($tanevDb, $tanevDb, $dt, $dt, $SET['tanarId'], $SET['het'], $SET['nap'], $SET['ora']); + return db_query($q, array('fv' => 'getOrarendiOraAdat', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + + } else { + $_SESSION['alert'][] = 'message:empty_field:tanarId,het,nap,ora,tanev,dt'; + return false; + } + + } + + function getTankorHetiOraszam($tankorId, $SET = array('tanev' => __TANEV, 'dt' => null, 'het' => 1)) { + + global $_TANEV; + + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + if ($tanev == __TANEV) $TA = $_TANEV; + else $TA = getTanevAdat($tanev); + $dt = readVariable($SET['dt'], 'datetime', $TA['zarasDt']); + $het = readVariable($SET['het'], 'numeric unsigned', 1); + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + + $q = "SELECT COUNT(*) FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE tolDt<='%s' AND '%s'<=igDt AND tankorId=%u AND het=%u"; + $v = array($tanevDb, $tanevDb, $dt, $dt, $tankorId, $het); + return db_query($q, array('fv' => 'getTankorHetiOraszam', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + } + function getCsengetesiRend() { // 'csengetesiRendTipus','telephelyId','nap','ora' + $SET['arraymap'] = array('csengetesiRendTipus','telephelyId','nap','ora'); + $q = "SELECT * FROM csengetesiRend"; + $result = db_query($q, array('fv'=>'getCsengetesiRend','modul'=>'naplo_intezmeny','result'=>'indexed')); + return reindex($result,$SET['arraymap']); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/osztaly.php b/mayor-orig/www/include/modules/naplo/share/osztaly.php new file mode 100644 index 00000000..86301c28 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/osztaly.php @@ -0,0 +1,735 @@ +=$tanev AND osztaly.kezdoTanev<=$tanev), + CONVERT(REPLACE(SUBSTRING(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."),LENGTH(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."-1))+1),',',''),UNSIGNED), + NULL + )"; +} + +function _evfolyamJel($tanev = __TANEV) { + $tanev = intval($tanev); + $evfSorsz = $tanev.'-kezdoTanev+kezdoEvfolyamSorszam'; + return "if ( + (osztaly.vegzoTanev>=$tanev AND osztaly.kezdoTanev<=$tanev), + REPLACE(SUBSTRING(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."),LENGTH(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."-1))+1),',',''), + NULL + )"; +} + +function _osztalyJel($tanev = __TANEV) { + $tanev = intval($tanev); + $evfSorsz = $tanev.'-kezdoTanev+kezdoEvfolyamSorszam'; + return "if ( + (osztaly.osztalyJellegId IS NOT NULL AND osztaly.vegzoTanev>=$tanev AND osztaly.kezdoTanev<=$tanev), + CONCAT(REPLACE(SUBSTRING(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."),LENGTH(SUBSTRING_INDEX(evfolyamJelek, ',', ".$evfSorsz."-1))+1),',',''),'.',osztaly.jel), + CONCAT(osztaly.kezdoTanev,'/',osztaly.vegzoTanev,'.',osztaly.jel) + )"; +} + +function getEvfolyam($osztalyId, $tanev, $osztalyAdat = null, $olr = null) { + return null; +} + +function getEvfolyamJel($osztalyId, $tanev=__TANEV, $osztalyAdat = null, $_osztalyJellel = false, $olr=null) { + + if (is_array($osztalyAdat)) { + $ret = $osztalyAdat; + } else { + // is_resource mysqli esetén nem jó (object) + if ($olr) $lr = $olr; + else $lr = db_connect('naplo_intezmeny'); + $ret = getOsztalyAdat($osztalyId, $tanev, $lr); + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + } + if ($ret['kezdoTanev']<=$tanev && $tanev<=$ret['vegzoTanev']) { + $evfSorsz = $tanev-$ret['kezdoTanev']+$ret['kezdoEvfolyamSorszam']; // ez 1 bázisú sorszám!! + $evfolyamJel = $ret['evfolyamJelek'][$evfSorsz-1]; + } else { + if ($_osztalyJellel === true) $evfolyamJel = $ret['kezdoTanev'].'/'.$ret['vegzoTanev']; + else $evfolyamJel = false; + } + + if ($_osztalyJellel === true) return $evfolyamJel.'.'.$ret['jel']; + else return $evfolyamJel; +} +/* + * A kompatibilitás miatt az evfolyamJel-ből evfolyam-ot generálunk + */ +function evfolyamJel2Evfolyam($evfolyamJel) { + switch ($evfolyamJel) { + case '1': + return 1; break; + case '2': + return 2; break; + case '3': + return 3; break; + case '4': + return 4; break; + case '5': + return 5; break; + case '6': + return 6; break; + case '7': + return 7; break; + case '8': + case 'H2': + case 'H/II/1': + case 'H/II/2': + case '1/8': + return 8; break; + case '9': + case '9N': + case '9/N': + case '9Ny': + case '9/Ny': + case '9Kny': + case '9/Kny': + case '9AJTP': + case '9/AJTP': + case '9AJKP': + case '9/AJKP': + case 'H1': + case 'H/I': + case '2/9': + case '1/9': + return 9; break; + case '10': + case '3/10': + case '2/10': + return 10; break; + case '11': + case '11/Ny': + case '3/11': + case '1/11': + return 11; break; + case '12': + case '2/12': + return 12; break; + case '13': + case '1/13': + case '5/13': + case 'Szé/12/1': + return 13; break; + case '14': + case '2/14': + case 'Szé/12/2': + return 14; break; + case '15': + return 15; break; + default: + return null; + } +} + +function getOsztalyJel($osztalyId, $tanev, $osztalyAdat = null, $olr=null) { + return getEvfolyamJel($osztalyId, $tanev, $osztalyAdat, $_osztalyJellel=true, $olr); +} + +global $_EVFOLYAMJEL_BETUVEL; +$_EVFOLYAMJEL_BETUVEL = array( + '1' => 'első', + '2' => 'második', + '3' => 'harmadik', + '4' => 'negyedik', + '5' => 'ötödik', + '6' => 'hatodik', + '7' => 'hetedik', + '8' => 'nyolcadik', + 'H1' => 'Híd I. program', + 'H/I' => 'Híd I. program', + 'H2/1' => 'Híd II. program 1. évfolyam', + 'H/II/1' => 'Híd II. program 1. évfolyam', + 'H2/2' => 'Híd II. program 2. évfolyam', + 'H/II/2' => 'Híd II. program 2. évfolyam', + '9N' => 'nemzetiségi előkészítő', + '9/N' => 'nemzetiségi előkészítő', + '9Ny' => 'nyelvi előkészítő', + '9/Ny' => 'nyelvi előkészítő', + '9Kny' => 'két tanítási nyelvű előkészítő', + '9/Kny' => 'két tanítási nyelvű előkészítő', + '9AJTP' => 'Arany János Tehetséggondozó Program', + '9/AJTP' => 'Arany János Tehetséggondozó Program', + '9AJKP' => 'Arany János Kollégiumi Program', + '9/AJKP' => 'Arany János Kollégiumi Program', + '9' => 'kilencedik', + '10' => 'tizedik', + '11/Ny' => 'nyelvi előkészítő', + '11' => 'tizenegyedik', + '12' => 'tizenkettedik', + '13' => 'tizenharmadik', + '14' => 'tizennegyedik', + '15' => 'tizenötödik', + '1/8' => '1/8 szakképző évfolyam', + '2/9' => '2/9 szakképző évfolyam', + '3/10' => '3/10 szakképző évfolyam', + '1/9' => '1/9 szakképző évfolyam', + '2/10' => '2/10 szakképző évfolyam', + '3/11' => '3/11 szakképző évfolyam', + '1/11' => '1/11 szakképző évfolyam', + '2/12' => '1/12 szakképző évfolyam', + '1/13' => '1/13 szakképző évfolyam', + '2/14' => '2/14 szakképző évfolyam', + '5/13' => '5/13 szakképző évfolyam', + 'Szé/12/1' => 'érettségire felkészítő 1. évfolyam', + 'Szé/12/2' => 'érettségire felkészítő 2. évfolyam', +); +/* + KNT. 6. melléklete: engedélyezett, egyházi, 6-8 évf. gimnázium, + NKT. 27. § (5) - tehetséggondozás+felzárkóztatás - 2 óra/hét/osztály + NKT. 27. § (6) - 1-4 évf. felzárkóztatás: 2 óra/hét/fő + NKT. 27. § (7) - SNI magántanul 10 óra/hét/fő + */ +global $_EVFOLYAM_ADAT; +$_EVFOLYAM_ADAT = array( + // tanulóÓraszám => array(testnevelés nélkül, testnevelés) + // osztályIdőkeret => array(engedélyezett, hittan, 6-8 gimn, nemzetiségi // tehetséggondozás+felzárkóztatás + 2 óra/hét/osztály + // létszám => array(min, max, átlag) + '1' => array('tanulóÓraszám' => array(20,5), 'osztályIdőkeret' => array(52,1,0,2), 'létszám' => array(14,27,23)), + '2' => array('tanulóÓraszám' => array(20,5), 'osztályIdőkeret' => array(52,1,0,2), 'létszám' => array(14,27,23)), + '3' => array('tanulóÓraszám' => array(20,5), 'osztályIdőkeret' => array(52,1,0,2), 'létszám' => array(14,27,23)), + '4' => array('tanulóÓraszám' => array(22,5), 'osztályIdőkeret' => array(55,1,0,2), 'létszám' => array(14,27,23)), + '5' => array('tanulóÓraszám' => array(23,5), 'osztályIdőkeret' => array(51,1,2,2), 'létszám' => array(14,27,23)), + '6' => array('tanulóÓraszám' => array(23,5), 'osztályIdőkeret' => array(51,1,2,2), 'létszám' => array(14,27,23)), + '7' => array('tanulóÓraszám' => array(26,5), 'osztályIdőkeret' => array(56,1,2,2), 'létszám' => array(14,27,23)), + '8' => array('tanulóÓraszám' => array(26,5), 'osztályIdőkeret' => array(56,1,2,2), 'létszám' => array(14,27,23)), + 'H1' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + 'H/I' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + 'H2/1' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + 'H/II/1' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + 'H2/2' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + 'H/II/2' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(8,10,9)), + '9N' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), // Nincs a mellékletben + '9/N' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)),//?? + '9Ny' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), + '9/Ny' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), + '9Kny' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), //?? + '9/Kny' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), //?? + '9AJTP' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), //?? + '9/AJTP' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), //?? + '9AJKP' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), //?? + '9/AJKP' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)),//?? + '9' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(57,2,2,3), 'létszám' => array(26,34,28)), + '10' => array('tanulóÓraszám' => array(31,5), 'osztályIdőkeret' => array(57,2,2,3), 'létszám' => array(26,34,28)), + '11/Ny' => array('tanulóÓraszám' => array(25,5), 'osztályIdőkeret' => array(56,2,0,3), 'létszám' => array(26,34,28)), + '11' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(58,2,2,3), 'létszám' => array(26,34,28)), + '12' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(58,2,2,3), 'létszám' => array(26,34,28)), + '13' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(58,2,2,3), 'létszám' => array(26,34,28)), //?? + '14' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(58,2,2,3), 'létszám' => array(26,34,28)), //?? + '15' => array('tanulóÓraszám' => array(30,5), 'osztályIdőkeret' => array(58,2,2,3), 'létszám' => array(26,34,28)), //?? + '1/8' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '2/9' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '3/10' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '1/9' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '2/10' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '3/11' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '1/11' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '2/12' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '1/13' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '2/14' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + '5/13' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(16,28,24)), //?? + 'Szé/12/1' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(26,34,28)), + 'Szé/12/2' => array('tanulóÓraszám' => array(), 'osztályIdőkeret' => array(), 'létszám' => array(26,34,28)), +); + +// használja a kepzes.php!! +define('_SQL_EVFOLYAMJEL_SORREND', "FIELD(evfolyamJel,'1','2','3','4','5','6','7','8',". +"'9N','9/N','9Ny','9/Ny','9Kny','9/Kny','9AJTP','9/AJTP','9AJKP','9/AJKP','9','10','11/Ny','11','12','13','14','15'," +."'H1','H/I','H2','H/II/1','H/II/2'," +."'1/8','2/9','3/10','1/9','2/10','3/11'," +."'1/11','2/12','1/13','2/14','3/15','4/16','5/13','Szé/12/1','Szé/12/2')"); + +function getEvfolyamJelek($SET = array('result'=>'indexed')) { + $J = array( +'1','2','3','4','5','6','7','8', +'9N','9/N','9Ny','9/Ny','9Kny','9/Kny','9AJTP','9/AJTP','9AJKP','9/AJKP','9','10','11/Ny','11','12','13','14','15', +'H1','H/I','H2','H/II/1','H/II/2', +'1/8','2/9','3/10','1/9','2/10','3/11', +'1/11','2/12','1/13','2/14','3/15','4/16','5/13','Szé/12/1','Szé/12/2' +); + if ($SET['result'] == 'idonly') return $J; + $ret = array(); + foreach ($J as $evfolyamJel) $ret[] = array('evfolyamJel'=>$evfolyamJel); + return $ret; +} + +function getKovetkezoEvfolyamJel($evfolyamJel) { + + $q = "select distinct substring_index(substring_index(evfolyamJelek,'%s,',-1),',',1) + from osztalyJelleg where evfolyamJelek like '%s' ',%%' or evfolyamJelek like '%%,' '%s' ',%%'"; // stringek egymásutánja MySQL szerint egymásután fűzést jelöl... + $ret = db_query($q, array('fv'=>'getKovetkezoEvfolyamJel','modul'=>'naplo_base','result'=>'value','values'=>array($evfolyamJel, $evfolyamJel, $evfolyamJel))); + if ($ret == '') { + $_SESSION['alert'][] = 'info:getKovetkezoEvfolyamJel hiba:'.$evfolyamJel; + return false; + } else { + return $ret; + } +/* + if (in_array($evfolyamJel, array('1','2','3','4','5','6','7','8','9','10','11','12','13','14'))) return $evfolyamJel+1; + else if (in_array($evfolyamJel, array('11/Ny'))) return 11; + else if (in_array($evfolyamJel, array('9N','9Ny','9Kny','9AJTP','9AJKP','H2'))) return 9; + else if (in_array($evfolyamJel, array('9/N','9/Ny','9/Kny','9/AJTP','9/AJKP'))) return 9; + else if (in_array($evfolyamJel, array('7N','7Ny'))) return 7; + else if (in_array($evfolyamJel, array('7/N','7/Ny'))) return 7; + else if (in_array($evfolyamJel, array('4N','4Ny'))) return 4; + else if (in_array($evfolyamJel, array('4/N','4/Ny'))) return 4; + else if ($evfolyamJel == 'H1' || $evfolyamJel == 'H/I') return 10; + else if ($evfolyamJel == 'H/II/1') return 'H/II/2'; + else if ($evfolyamJel == 'Szé/12/1') return 'Szé/12/2'; + else if (in_array($evfolyamJel, array('1/8','2/9','1/9','2/10','1/11','2/12','1/13'))) { + list($e, $m) = explode('/',$evfolyamJel); + $e++; $m++; return $e.'/'.$m; + } + else { + $_SESSION['alert'][] = 'info:getKovetkezoEvfolyamJel hiba:'.$evfolyamJel; + return false; + } +*/ +} + +/* + * getEvfolyamAdatByDiakId + * + * return [ array('evfolyam', 'evfolyamJel') | false | array('evfolyam'=>array(), 'evfolyamJel'=>array()) + */ +function getEvfolyamAdatByDiakId($diakId, $dt, $tanev, $csakHaEgyertelmu = true) { + + $OSZTALYOK = getDiakOsztalya($diakId,array('tanev'=>$tanev,'tolDt'=>$dt,'igDt'=>$dt)); + $ret = array('evfolyam'=>array(), 'evfolyamJel'=>array()); + foreach ($OSZTALYOK as $oAdat) { + $osztalyId = $oAdat['osztalyId']; + $OA = getOsztalyAdat($osztalyId, $tanev); + $evfolyam = getEvfolyam($osztalyId, $tanev, $OA); + $evfolyamJel = getEvfolyamJel($osztalyId, $tanev, $OA); + if (!in_array($evfolyam, $ret['evfolyam'])) $ret['evfolyam'][] = $evfolyam; + if ($evfolyamJel != '' && !in_array($evfolyamJel, $ret['evfolyamJel'])) $ret['evfolyamJel'][] = $evfolyamJel; + } + if ($csakHaEgyertelmu===true) { + if (count($ret['evfolyamJel'])===1 && count($ret['evfolyam']===1)) { + return array('evfolyam'=>$ret['evfolyam'][0], 'evfolyamJel'=>$ret['evfolyamJel'][0]); + } else { + $_SESSION['alert'][] = '::nem tudom kitalálni az évfolyamot (db osztály: '.count($OSZTALYOK).", diakId: $diakId, tanev: $tanev)"; + return false; + } + } else { + return $ret; + } + +} + +//!!ITT!! +function getOsztalyIdByEvfolyamJel($evfolyamJel, $tanev = __TANEV) { + + if (is_array($evfolyamJel) && count($evfolyamJel) > 0) { + $q = "SELECT osztalyId FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + WHERE "._evfolyamJel($tanev)." IN (".implode(',', array_fill(0, count($evfolyamJel), "'%s'")).") + ORDER BY osztalyId"; + return db_query($q, array('fv' => 'getOsztalyIdByEvfolyamJe', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $evfolyamJel)); + } else { + return array(); + } +} + +function getOsztalyIdByTankorIds($tankorIds, $SET = array('result' => 'indexed')) { + $q = "SELECT tankorId,osztalyId FROM tankorOsztaly WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + return db_query($q, array('fv' => 'tankorokOsztalyi', 'modul' => 'naplo_intezmeny', 'result' => $SET['result'], 'values' => $tankorIds)); +} + +// Elavult, már nem használt függvény +// function checkOsztalyInTanev($tanev, $osztalyId='') { +// +// $tanevDb = tanevDbNev(__INTEZMENY, $tanev); +// $lr = db_connect('naplo_intezmeny', array('fv' => 'checkOsztalyInTanev')); +// if (!$lr) return false; +// //$tlr = db_connect('naplo'); +// +// // Ellenőrizzük, hogy van-e az adott tanévben jele... +// $OSZTALYOK = getOsztalyok($tanev); +// for ($i = 0; $i < count($OSZTALYOK); $i++) { +// if ($OSZTALYOK[$i]['osztalyJel'] == '' && ($tanev-$OSZTALYOK[$i]['kezdoTanev']) >= 0) { +// // $v = array($tanevDb, $OSZTALYOK[$i]['osztalyId'], genOsztalyJel($tanev,$OSZTALYOK[$i])); +// $v = array($tanevDb, $OSZTALYOK[$i]['osztalyId'], $OSZTALYOK[$i]['osztalyJel'], $OSZTALYOK[$i]['evfolyam'], $OSZTALYOK[$i]['evfolyamJel']); +// $q = "REPLACE INTO `%s`.osztalyNaplo (osztalyId,osztalyJel,evfolyam,evfolyamJel) VALUES (%u,'%s',%u,'%s')"; +// db_query($q, array('fv' => 'checkOsztalyInTanev', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); +// } +// } +// db_close($lr); +// +// } + +function getOsztalyok($tanev = '', $SET = array('result' => 'indexed', 'minden'=>false, 'telephelyId' => null, 'osztalyIds'=>null), $olr=null) { + global $_TANEV,$mayorCache; + + if (!is_array($SET)) $SET = array('result' => 'indexed', 'minden'=>false, 'telephelyId' => null); + + if (!isset($SET['result'])) $SET['result'] = 'indexed'; + if (!isset($SET['minden'])) $SET['minden'] = false; + if (!isset($SET['telephelyId'])) $SET['telephelyId'] = null; + + + $key = __FUNCTION__.':'.md5($tanev.serialize($SET)); + if ($mayorCache->exists($key)) return $mayorCache->get($key); + + $W = array(); + if (is_array($SET['osztalyIds']) && count($SET['osztalyIds'])>0) { + $W[] = ' osztalyId IN ('.implode(',',$SET['osztalyIds']).') '; + } + + if ($tanev == '' && defined('__TANEV')) $tanev = __TANEV; + $telephelyId = readVariable($SET['telephelyId'], 'id'); + + // is_resource mysqli esetén nem jó (object) + if ($olr) $lr = $olr; + else $lr = db_connect('naplo_intezmeny'); + + // A tanév státuszának lekérdezése + // REQUEST -- ezt a szemeszter fv könyvtár csinálja inkább + if ($tanev == __TANEV) { + $statusz = $_TANEV['statusz']; + } else { + $q ="SELECT statusz FROM szemeszter WHERE tanev='$tanev' LIMIT 1"; + $statusz = db_query($q, array('fv' => 'getOsztalyok', 'modul' => 'naplo_intezmeny', 'result' => 'value'), $lr); + } + // Az osztályok adatainak lekérdezése + if ($SET['minden']!==true) { + if (isset($telephelyId)) { + $W[] = "kezdoTanev <= %u AND vegzoTanev >= %u AND (telephelyId = %u OR telephelyId IS NULL)"; + $v = array($tanev, $tanev, $telephelyId); + } else { + $W[] = "kezdoTanev <= %u AND vegzoTanev >= %u"; + $v = array($tanev, $tanev); + } + } else { $v = array(); } + if (count($W)>0) $WHERE = "WHERE ".implode(' AND ',$W); + if ($statusz == 'tervezett') { + // Nincs még tanév adatbázis --> csak az osztly tábla használható; + $q = "SELECT `osztalyId`, `leiras`, `kezdoTanev`, `vegzoTanev`, `jel`, `kezdoEvfolyamSorszam`,"._osztalyJel($tanev)." AS `osztalyJel`, + "._evfolyam($tanev)." AS evfolyam, "._evfolyamJel($tanev)." AS evfolyamJel, `telephelyId`,`osztalyJellegId` + FROM `osztaly` LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) $WHERE"; + } elseif ($SET['minden']===true) { + $q = "SELECT `osztalyId`, `leiras`, `kezdoTanev`, `vegzoTanev`, `jel`, `kezdoEvfolyamSorszam`, + IF (ISNULL(osztalyJel),"._osztalyJel($tanev).",osztalyJel) AS `osztalyJel`, + "._evfolyam($tanev)." AS evfolyam, "._evfolyamJel($tanev)." AS evfolyamJel, `telephelyId`,`osztalyJellegId` + FROM `osztaly` LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + LEFT JOIN `".tanevDbNev(__INTEZMENY, $tanev)."`.`osztalyNaplo` USING (`osztalyId`) + $WHERE"; + } else { + // Van tanév adatbázis --> lekérdezhető az osztály jelölése is. + $q = "SELECT `osztaly`.`osztalyId` AS `osztalyId`, `leiras`, `kezdoTanev`, `vegzoTanev`, `jel`, `kezdoEvfolyamSorszam`, `osztalyJel`, + `evfolyam`, `evfolyamJel`, `telephelyId`,`osztalyJellegId` + FROM `osztaly` LEFT JOIN `".tanevDbNev(__INTEZMENY, $tanev)."`.`osztalyNaplo` USING (`osztalyId`) $WHERE"; + } + $q .= ' ORDER BY '._SQL_EVFOLYAMJEL_SORREND.', osztalyJel, kezdoTanev'; +// $q .= "ORDER BY evfolyamJel, kezdoTanev, jel"; +// $q .= "ORDER BY LPAD(SUBSTRING_INDEX(`osztalyJel`,'.',1),4,'0'),LPAD(SUBSTRING_INDEX(`osztalyJel`,'.',-1),4,'0'),`kezdoTanev`,`jel`"; + + $return = array(); + if ($SET['result']==='assoc') { // ha assoc, a keyfield automatikusan az osztalyId legyen!!! + $r1 = db_query($q, array('fv' => 'getOsztalyok', 'modul'=>'naplo_intezmeny', 'result'=>'indexed', 'values' => $v), $lr ); + for ($i=0; $i 'getOsztalyok', 'modul'=>'naplo_intezmeny', 'result'=>'indexed', 'values' => $v), $lr ); + for ($i=0; $iset($key,$return,'osztaly'); + return $return; + +} + +/* + erettsegizo - csak azok az osztályok jelennek meg, melyek a megadott tanévben végeznek és osztályJellegük szerint érettségizők + vizsgazo - csak azok az osztályok jelennek meg, melyek a megadott tanévben végeznek és osztályJellegük szerint érettségizők vagy szakmai vizsgát tevők +*/ +function getVegzosOsztalyok($SET = array('tanev' => __TANEV, 'result' => 'assoc', 'erettsegizo' => false, 'vizsgazo' => false)) { + + global $_TANEV; + + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + if ($tanev == __TANEV) $TA = $_TANEV; + else $TA = getTanevAdat($tanev); + + if ($SET['erettsegizo'] === true) { + $WHERE_ERETTSEGIZO = " AND vegzesKovetelmenye='érettségi vizsga' "; + $JOIN_ERETTSEGIZO = " LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) "; + } else if ($SET['vizsgazo'] === true) { + $WHERE_ERETTSEGIZO = " AND vegzesKovetelmenye IN ('érettségi vizsga','szakmai vizsga') "; + $JOIN_ERETTSEGIZO = " LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) "; + } else { + $WHERE_ERETTSEGIZO = ""; + } + + if ($SET['result'] == 'id' || $SET['result'] == 'idonly') { + // Csak az osztalyId kell + $q = "SELECT osztalyId FROM osztaly".$JOIN_ERETTSEGIZO." WHERE osztaly.vegzoTanev = %u".$WHERE_ERETTSEGIZO.""; + $return = db_query($q, array('fv' => 'getVegzosOsztalyok', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanev))); + } else { + if ($TA['statusz'] == 'tervezett') { + // Nincs még tanév adatbázis --> csak az osztly tábla használható; + $q = "SELECT osztalyId,leiras,kezdoTanev,vegzoTanev,jel,kezdoEvfolyamSorszam,"._osztalyJel($tanev)." AS osztalyJel + FROM osztaly".$JOIN_ERETTSEGIZO." + WHERE vegzoTanev = %u".$WHERE_ERETTSEGIZO." + ORDER BY LPAD(SUBSTRING_INDEX(osztalyJel,'.',1),4,'0'),LPAD(SUBSTRING_INDEX(osztalyJel,'.',-1),4,'0'),kezdoTanev,jel"; + $v = array($tanev); + } else { + // Van tanév adatbázis --> lekérdezhető az osztály jelölése is. + $q = "SELECT osztaly.osztalyId AS osztalyId,leiras,kezdoTanev,vegzoTanev,jel,kezdoEvfolyamSorszam,osztalyJel + FROM osztaly LEFT JOIN `%s`.osztalyNaplo USING (osztalyId)".$JOIN_ERETTSEGIZO." + WHERE vegzoTanev = %u".$WHERE_ERETTSEGIZO." + ORDER BY LPAD(SUBSTRING_INDEX(osztalyJel,'.',1),4,'0'),LPAD(SUBSTRING_INDEX(osztalyJel,'.',-1),4,'0'),kezdoTanev,jel"; + $v = array(tanevDbNev(__INTEZMENY, $tanev), $tanev); + } + $return = db_query($q, array('fv' => 'getVegzosOsztalyok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (is_array($return)) for ($i = 0; $i < count($return); $i++) { + $return[$i]['osztalyfonok'] = getOsztalyfonok($return[$i]['osztalyId'], $tanev); + } + } + + return $return; +} + +function getOsztalyfonok($osztalyId, $tanev=__TANEV, $olr = null) { + + global $_TANEV; + + // Az adott tanév elejének és végének lekérdezése + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $olr); + else $tanevAdat = $_TANEV; + + initTolIgDt($tanev, $kDt, $zDt); + + $q = "SELECT osztalyTanar.tanarId, + TRIM(CONCAT(viseltNevElotag,' ',viseltCsaladiNev,' ',viseltUtonev)) As tanarNev, osztalyTanar.beDt, osztalyTanar.kiDt + FROM osztalyTanar LEFT JOIN tanar USING (tanarId) + WHERE osztalyId = %u + AND osztalyTanar.beDt <= '%s' + AND (osztalyTanar.kiDt IS NULL OR osztalyTanar.kiDt > '%s') + ORDER BY osztalyTanar.beDt DESC LIMIT 1"; + $v = array($osztalyId, $zDt, $kDt); + return db_query($q, array('fv' => 'getOsztalyfonok', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v), $olr); + +} + +function getOsztalyfonokok($osztalyId, $tanev = null, $olr = null) { + + global $_TANEV; + + $ret = false; + if (is_null($tanev)) { + + $q = "SELECT osztalyTanar.tanarId AS tanarId, + TRIM(CONCAT(viseltNevElotag,' ',viseltCsaladiNev,' ',viseltUtonev)) AS tanarNev, + osztalyTanar.beDt AS beDt, + osztalyTanar.kiDt AS kiDt + FROM osztalyTanar LEFT JOIN tanar USING (tanarId) + WHERE osztalyId = %u + ORDER BY osztalyTanar.beDt"; + $ret = db_query($q, array('fv' => 'getOsztalyfonokok','modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($osztalyId)), $olr); + + } else { + + // Az adott tanév elejének és végének lekérdezése + if ($tanev != __TANEV) $tanevAdat = getTanevAdat($tanev, $olr); + else $tanevAdat = $_TANEV; + + $kDt = $tanevAdat['kezdesDt']; $zDt = $tanevAdat['zarasDt']; + + $q = "SELECT osztalyTanar.tanarId AS tanarId, + TRIM(CONCAT(viseltNevElotag,' ',viseltCsaladiNev,' ',viseltUtonev)) AS tanarNev, + osztalyTanar.beDt AS beDt, + osztalyTanar.kiDt AS kiDt + FROM osztalyTanar LEFT JOIN tanar USING (tanarId) + WHERE osztalyId = %u + AND osztalyTanar.beDt < '%s' + AND (osztalyTanar.kiDt IS NULL OR osztalyTanar.kiDt > '%s') + ORDER BY osztalyTanar.beDt"; + + $ret = db_query($q, array('fv' => 'getOsztalyfonokok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($osztalyId, $zDt, $kDt))); + if (is_array($ret)) for ($i = 0; $i < count($ret); $i++) { + if ($ret[$i]['kiDt'] == '' || strtotime($ret[$i]['kiDt']) > time()) { + $ret[$i]['aktiv'] = true; + } + } + + } + + return $ret; + +} + +function getOsztalyAdat($osztalyId, $tanev = __TANEV, $olr = '') { + + if ($osztalyId=='') return false; + + global $_TANEV; + + // Csatlakozás az adatbázishoz + if ($olr == '') $lr = db_connect('naplo_intezmeny', array('fv' => 'getOsztalyAdat')); + else $lr = $olr; + if (!$lr) return false; + + // Osztály adatainak lekérdezése + if ($tanev == __TANEV) { + $tanevDb = __TANEVDBNEV; $TA = $_TANEV; + } else { + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $TA = getTanevAdat($tanev, $lr); + } + if ($TA['statusz'] == 'aktív') + $q = "SELECT osztaly.osztalyId AS osztalyId,leiras,kezdoTanev,vegzoTanev,jel,kezdoEvfolyamSorszam,osztalyJel,evfolyamJel,telephelyId,osztalyJellegId,kirOsztalyJellegId,elokeszitoEvfolyam,evfolyamJelek + FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + LEFT JOIN %1\$s.osztalyNaplo USING (osztalyId) WHERE osztalyId=%2\$u"; + else + $q = "SELECT osztaly.osztalyId AS osztalyId,leiras,kezdoTanev,vegzoTanev,jel,kezdoEvfolyamSorszam,"._osztalyJel($tanev)." AS osztalyJel,"._evfolyamJel($tanev)." AS evfolyamJel,telephelyId,osztalyJellegId,kirOsztalyJellegId,elokeszitoEvfolyam,evfolyamJelek + FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) WHERE osztalyId=%2\$u"; + $v = array($tanevDb, $osztalyId); + $osztalyAdat = db_query($q, array('fv' => 'getOsztalyAdat', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v), $lr); + $osztalyAdat['evfolyamJelek'] = explode(',',$osztalyAdat['evfolyamJelek']); + $osztalyAdat['osztalyfonok'] = getOsztalyfonok($osztalyId, $tanev, $lr); + $osztalyAdat['osztalyfonokok'] = getOsztalyfonokok($osztalyId, $tanev, $lr); + $osztalyAdat['osztalyfonokNev'] = _genOfNev($osztalyAdat['osztalyfonokok']); + $osztalyAdat['kepzes'] = getKepzesByOsztalyId($osztalyId); // ? lr + if ($olr == '') db_close($lr); + + return $osztalyAdat; + +} + +function _genOfNev($_OF) { + $_of= array(); + for ($j=0; $j__TANEV)) { + $OA = getOsztalyAdat($osztalyId, $SET['tanev']); + return $OA['osztalyJel'].' '.$OA['leiras']; +} + +function getOsztalyTankorei($osztalyId, $tanev=__TANEV) { + + $lr = db_connect('naplo_intezmeny'); + + $q = "SELECT tankorId FROM tankorOsztaly WHERE osztalyId=%u"; + $T = db_query($q, array('fv' => 'getOsztalyTankorei', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($osztalyId)), $lr); + + $q = "SELECT DISTINCT tankorId, tankorNev + FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE tanev=%u AND tankorId IN (".implode(',', array_fill(0, count($T), '%u')).") ORDER BY tankorNev"; + array_unshift($T, $tanev); + $return = db_query($q, array('fv' => 'getOsztalyTankorei', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $T), $lr); + + db_close($lr); + + return $return; + +} + +function getOsztalyJellegAdat($osztalyJellegId) { + $q = "SELECT * FROM osztalyJelleg WHERE osztalyJellegId=%u"; + return db_query($q, array('fv'=>'getKirOsztalyJellegek','values'=>array($osztalyJellegId),'modul'=>'naplo_base','result'=>'record')); +} + +function getKirOsztalyJellegek() { + $q = "SELECT * FROM kirOsztalyJelleg"; + return db_query($q, array('fv'=>'getKirOsztalyJellegek','modul'=>'naplo_base','result'=>'indexed')); +} + +function getOsztalyJellegek($SET = array('result' => 'indexed')) { + $q = "SELECT * FROM osztalyJelleg"; + return db_query($q, array('fv'=>'getOsztalyJellegek','modul'=>'naplo_base','result'=>$SET['result'], 'keyfield' => 'osztalyJellegId')); +} + +function getVegzosOsztalyJellegIds() { + $q = "SELECT osztalyJellegId FROM osztalyJelleg WHERE vegzesKovetelmenye IN ('érettségi vizsga','szakmai vizsga')"; + return db_query($q, array('fv'=>'getVegzosOsztalyJellegIds','modul'=>'naplo_base','result'=>'idonly')); +} + +function getOsztalyEvfolyamSzamElteres($osztalyId) { + $q = "SELECT CONVERT(vegzoTanev-kezdoTanev,SIGNED) - CONVERT((LENGTH(`evfolyamJelek`)-LENGTH(REPLACE(`evfolyamJelek`, ',', ''))),SIGNED) AS evfolyamSzamElteres FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) WHERE osztalyId=%u"; + $v = array($osztalyId); + $r = db_query($q, array('fv'=>'checkOsztalyEvfolyamSzam','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + return $r; +} + +function getOsztalyHetiIdokeret($osztalyId, $osztalyAdat = null, $SET = array('egyhaziE' => null)) { + + global $_EVFOLYAM_ADAT; + + require_once('include/modules/naplo/share/intezmenyek.php'); + + if (!is_array($osztalyAdat)) $osztalyAdat = getOsztalyAdat($osztalyId); + if (is_null($SET['egyhaziE'])) { + $intezmenyAdat = getIntezmenyByRovidnev(__INTEZMENY); + $SET['egyhaziE'] = ($intezmenyAdat['fenntarto']=='egyházi'); + } + + $iAdat = $_EVFOLYAM_ADAT[$osztalyAdat['evfolyamJel']]['osztályIdőkeret']; + + $idokeret['engedélyezett'] = $idokeret['összes'] = $iAdat[0]; // engedélyezett + $idokeret['összes'] += $idokeret['tehetséggondozás-felzárkóztatás'] = 2; // tehettség gondozás, felzárkóztatás + if ($SET['egyhaziE']) $idokeret['összes'] += $idokeret['egyházi'] = $iAdat[1]; + if (in_array($osztalyAdat['osztalyJellegId'], array(51,52,53,61,62,63))) $idokeret['összes'] += $idokeret['gimnázium'] = $iAdat[2]; + if ($nemzetisegi) $idokeret['összes'] += $idokeret['nemzetiségi'] = $iAdat[3]; + + return $idokeret; + +} + +function getOsztalyByTanarId($tanarId, $Param = array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'csakId'=>true)) { + + global $_TANEV; + if (is_null($Param['tanev']) || $Param['tanev']=='') $Param['tanev']=__TANEV; + if ($Param['tanev'] != __TANEV && $Param['tanev']!='') $TA = getTanevAdat($Param['tanev']); + else $TA = $_TANEV; + + if (isset($Param['tolDt']) && $Param['tolDt']!='') $tolDt = $Param['tolDt']; else unset($tolDt); + if (isset($Param['igDt']) && $Param['igDt']!='') $igDt = $Param['igDt']; else unset($igDt); + initTolIgDt($Param['tanev'], $tolDt, $igDt); + + if ($Param['csakId']===true) { + $q = "SELECT DISTINCT osztalyId FROM ".__INTEZMENYDBNEV.".osztalyTanar WHERE tanarId=%u AND beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s')"; + $v = array($tanarId, $igDt, $tolDt); + return db_query($q, array('fv' => 'getOsztalyByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + } else { + $q = "SELECT DISTINCT osztalyId, "._osztalyJel($TA['tanev'])." AS osztalyJel + FROM ".__INTEZMENYDBNEV.".osztalyTanar LEFT JOIN osztaly USING (osztalyId) + LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) + WHERE tanarId=%u AND beDt <= '%s' + AND (kiDt IS NULL OR kiDt >= '%s')"; + $v = array($tanarId, $igDt, $tolDt); + return db_query($q, array('fv' => 'getOsztalyByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + } +} + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/osztalyModifier.php b/mayor-orig/www/include/modules/naplo/share/osztalyModifier.php new file mode 100644 index 00000000..fe04fdcc --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/osztalyModifier.php @@ -0,0 +1,313 @@ + kiDt +function osztalyfonokKileptetes($osztalyId, $tanarId, $beDt, $kiDt, $olr = null) { + global $mayorCache; + $mayorCache->delType('osztaly'); + + if (strtotime($beDt) > strtotime($kiDt)) { + $_SESSION['alert'][] = 'message:wrong_data:'.$beDt.' - '.$kiDt; + return false; + } + + $q = "UPDATE ".__INTEZMENYDBNEV.".osztalyTanar SET kiDt='%s' WHERE osztalyId=%u AND tanarId=%u AND beDt='%s'"; + $v = array($kiDt, $osztalyId, $tanarId, $beDt); + return db_query($q, array('fv' => 'osztalyfonokKileptetes', 'modul' => 'naplo_intezmeny', 'values' => $v), $olr); + +} + + + +// MÁR NINCS HASZNÁLATBAN!!!!!!!!!!!! +function osztalyNevsorModositas($osztalyId, $diakIds, $beDt, $kiDt, $olr='') { + +// 1. A kiDt utáni tankörtagságokat törli, ha a tankör nincs a diák másik kiDt-kori, vagy utána lévő osztályához is rendelve (tankoOsztaly) +// 2. A beDt előtti tankörtagságokat érintetlenül hagyjuk (a tankorOsztaly változhat...) +// 3. Az osztalyDiak-ban (osztalyId,diakId) kulcs - csak egy bejegyzés van, ezt bővítjük, szűkítjük... +// 4. Sikertelen tankör kiléptetés esetén visszagörgetünk (pl. ha van jegye, hiányzása egy tankörben) + + + $_SESSION['alert'][] = 'info:!!!:osztalyNevsorModositas()'; + + if (is_array($diakIds) && count($diakIds) > 0) { + + if ($olr!='') { + $lr=$olr; + } else { + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + } + + $diakTankorKileptetesOK = array(); // a diakTorol függvény talált-e ütközést vagy hibát, akkor bebillenti ezt a flag-et, false-ra! + + if ($kiDt != '') { + /* Konzisztencia megőrzése: tankorből kiléptetés, ahol: tankorOsztaly --> tankorId-k be benne van */ + for($i = 0; $i < count($diakIds); $i++) { + + $diakId = $diakIds[$i]; + + // A diáknak mely tankörei érintettek (amikben a kiDt-kor, vagy utána benne van, de más (kiDt-kori, vagy későbbi) osztályához nem tartozik: + $q = "SELECT tankorId FROM tankorDiak WHERE diakId=%u AND (kiDt IS NULL or '%s'<=kiDt) AND tankorId NOT IN + (SELECT DISTINCT tankorId FROM osztalyDiak LEFT JOIN tankorOsztaly USING(osztalyId) + WHERE diakId=%u AND (kiDt is NULL or '%s'<=kiDt) AND osztalyId <> %u)"; + $v = array($diakId, $kiDt, $diakId, $kiDt, $osztalyId); + $tankorIds = db_query($q, array('fv' => 'osztalyNevsorModositas', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $lr); + + // Tankörökből kivétel - $kiDt utáni naptól + $diakTankorKileptetesOK[$diakId] = true; + for ($j = 0; $j < count($tankorIds); $j++) { + $_D = array('tankorId' => $tankorIds[$j], 'diakId' => $diakId, 'utkozes'=>'torles', 'tolDt' => date('Y-m-d', strtotime('+1 days', strtotime($kiDt)))); + $ret = tankorDiakTorol($_D, $lr); + if ($ret === false) { + $_SESSION['alert'][] = 'message:wrong_data:osztalyNevsorModositas - tankorDiakTorol FAILED - diakId='.$diakId.' - tankorId='.$tankorIds[$j]; + $diakTankorKileptetesOK[$diakId] = false; + } + } + // Visszajelzés + if (count($tankorIds) > 0 && $diakTankorKileptetesOK[$diakId] === true) + $_SESSION['alert'][] = 'info:diak_tankorokben_lezarva:'.$diakId.':'.implode(',',$tankorIds).':'.$kiDt; + // Megjegyzés: a beDt előtti tankörtagságokat nem állítjuk be... mert a tankorOsztaly összerendelés változhat... + } + + } + + if (!in_array(false, array_values($diakTankorKileptetesOK))) { + + // (osztalyId, diakId) kulcs, csak egy bejegyzés van... + if ($beDt == '') { + $q = "UPDATE osztalyDiak SET kiDt='%s' WHERE osztalyId=%u AND diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).")"; + array_unshift($diakIds, $kiDt, $osztalyId); + } elseif ($kiDt != '') { + $q = "UPDATE osztalyDiak SET beDt='%s', kiDt='%s' WHERE osztalyId=%u AND diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).")"; + array_unshift($diakIds, $beDt, $kiDt, $osztalyId); + } else { + $q = "UPDATE osztalyDiak SET beDt='%s', kiDt=NULL WHERE osztalyId=%u AND diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).")"; + array_unshift($diakIds, $beDt, $osztalyId); + } + $ret = db_query($q, array('fv' => 'osztalyNevsorModositas', 'modul' => 'naplo_intezmeny', 'values' => $diakIds, 'rollback' => true), $lr); + db_commit($lr); + + } else { + db_rollback($lr); + $ret = false; + } + if ($olr!='') { + + } else { + db_close($lr); + } + + return $ret; + + } else { return false; } // nincs diakId + +} + + +function osztalyLezaras($osztalyIds, $dt) { + + global $mayorCache; + $mayorCache->delType('osztaly'); + + $dt = readVariable($dt, 'datetime', null); + if (!isset($dt)) return false; + + if (!is_array($osztalyIds) && $osztalyIds != '') $osztalyIds = array($osztalyIds); + if (count($osztalyIds) == 0) return false; + + // lekérdezzük az érintett osztályok végző tanévének legnagyobb zárás dátumát. + $q = "SELECT MAX(zarasDt) FROM osztaly LEFT JOIN szemeszter ON vegzoTanev = tanev + WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).")"; + $zarasDt = db_query($q, array('fv' => 'osztalyLezaras/ellenőrzés', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $osztalyIds)); + + // Csak zarasDt utáni dátummal zárunk le osztályt! + if (strtotime($dt) < strtotime($zarasDt)) return false; + + // Tagok kiléptetése + $q = "UPDATE osztalyDiak SET kiDt='%s' WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + AND (kiDt IS NULL OR '%s' < kiDt)"; + $v = mayor_array_join(array($dt), $osztalyIds, array($dt)); + db_query($q, array('fv' => 'osztalyLezaras/tagok kiléptetése', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + // Osztályfőnöki megbizatás lezárása + // - Az érintett tanárok lekérdezése + $q = "SELECT DISTINCT tanarId FROM osztalyTanar WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + AND (kiDt IS NULL OR '%s' < kiDt)"; + $v = mayor_array_join($osztalyIds, array($dt)); + $tanarIds = db_query($q, array('fv' => 'osztalyLezaras/tanárok kiléptetése', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + if (is_array($tanarIds) && count($tanarIds) > 0) { + // - Az osztályfőnöki megbizatás lezárása + $q = "UPDATE osztalyTanar SET kiDt='%s' WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + AND (kiDt IS NULL OR '%s' < kiDt)"; + $v = mayor_array_join(array($dt), $osztalyIds, array($dt)); + db_query($q, array('fv' => 'osztalyLezaras/tanárok kiléptetése', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + // Az osztályfőnöki munkaközösség frissítése + $q = "SELECT mkId FROM munkakozosseg WHERE leiras='osztályfőnöki'"; + $mkId = db_query($q, array('fv' => 'osztalyLezaras/tanárok kiléptetése', 'modul' => 'naplo_intezmeny', 'result' => 'value')); + if ($mkId) { // Van egyáltalán osztályfőnöki munkaközösség + $q = "SELECT mkTanar.tanarId + FROM mkTanar LEFT JOIN osztalyTanar ON mkTanar.tanarId=osztalyTanar.tanarId + AND osztalyId NOT IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + WHERE mkId=%u AND mkTanar.tanarId IN (".implode(',', array_fill(0, count($tanarIds), '%u')).") + GROUP BY mkTanar.tanarId HAVING COUNT(osztalyId)=0"; + $v = mayor_array_join($osztalyIds, array($mkId), $tanarIds); + $ofoTanarIds = db_query($q, array( + 'fv' => 'osztalyLezaras/tanárok kiléptetése', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v + )); + if (is_array($ofoTanarIds) && count($ofoTanarIds) > 0) { + $q = "DELETE FROM mkTanar WHERE mkId=%u AND tanarId IN (".implode(',', array_fill(0, count($ofoTanarIds), '%u')).")"; + $v = mayor_array_join(array($mkId), $ofoTanarIds); + db_query($q, array( + 'fv' => 'osztalyLezaras/tanárok kiléptetése az osztályfőnöki munkaközösségből', 'modul' => 'naplo_intezmeny', 'values' => $v + )); + } + } + } + return true; + +} + +function osztalyDiakTorol($SET = array('osztalyId' => null, 'diakId' => null, 'tolDt' => null, 'igDt' => null, 'zaradekkal' => true), $olr='') { +/* + 1. Ha az intervallum belelóg valamelyik lezárt tanévbe, akkor afüggvény nem végzi el az osztályból va kiléptetést. + 2. A $tolDt-$igDt közötti tankörtagságokat törli, ha a tankör nincs a diák másik tolDt-kori, vagy utána lévő osztályához is rendelve (tankoOsztaly) + 3. Ha a tankörökből nem sikerül törölni, akkor visszagörgetés történik + 4. A $tolDt-$igDt intervallumban törli a diák osztálytagságát ($igDt hiányában végig) + 5. Záradékolás még nincs. +*/ + + $diakId = readVariable($SET['diakId'], 'id'); + $osztalyId = readVariable($SET['osztalyId'], 'id'); + $tolDt = readVariable($SET['tolDt'], 'date'); + $igDt = readVariable($SET['igDt'], 'date'); + $zaradekkal = readVariable($SET['zaradekkal'], 'bool', false); + + // Csatlakozás az adatbázishoz + if ($olr=='') { + $lr = db_connect('naplo_intezmeny', array('fv' => 'ujTag')); + if (!$lr) return false; + db_start_trans($lr); + } else { + $lr = $olr; + } + + // Ellenőrizzük, hogy $tolDt-$igDt nem érint-e lezárt szorgalmi időszakot + if (isset($igDt)) { + $q = "SELECT DISTINCT tanev FROM szemeszter WHERE statusz IN ('lezárt','archivált') AND '%s'<=zarasDt AND kezdesDt<='%s'"; + $v = array($tolDt, $igDt); + } else { + $q = "SELECT DISTINCT tanev FROM szemeszter WHERE statusz IN ('lezárt','archivált') AND '%s'<=zarasDt"; + $v = array($tolDt); + } + $ret = db_query($q, array('fv' => 'osztalyDiakTorol', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $lr); + if (is_array($ret) && count($ret) > 0) { + $_SESSION['alert'][] = 'message:wrong_data:Lezárt tanév - '.implode(', ', $ret); + if ($olr=='') { + db_rollback($lr); + db_close($lr); + } + return false; + } + + // ----- Tankörök ------ + // A diáknak mely tankörei érintettek (amikben a kiDt-kor, vagy utána benne van, de más (kiDt-kori, vagy későbbi) osztályához nem tartozik: + $q = "SELECT tankorId FROM tankorDiak WHERE diakId=%u AND (kiDt IS NULL or '%s'<=kiDt) AND tankorId NOT IN + (SELECT DISTINCT tankorId FROM osztalyDiak LEFT JOIN tankorOsztaly USING(osztalyId) + WHERE diakId=%u AND (kiDt is NULL or '%s'<=kiDt) AND osztalyId <> %u)"; + $v = array($diakId, $tolDt, $diakId, $tolDt, $osztalyId); + $tankorIds = db_query($q, array('fv' => 'osztalyDiakTorol', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $lr); + + // Tankörökből kivétel - $tolDt-től + $diakTankorKileptetesOK = true; + for ($j = 0; $j < count($tankorIds); $j++) { + $_D = array('tankorId' => $tankorIds[$j], 'diakId' => $diakId, 'utkozes'=>'torles', 'tolDt' => $tolDt, 'igDt' => $igDt); + $ret = tankorDiakTorol($_D, $lr); + if ($ret === false) { + $_SESSION['alert'][] = 'message:wrong_data:osztalyDiakTorol - tankorDiakTorol FAILED - diakId='.$diakId.' - tankorId='.$tankorIds[$j]; + $diakTankorKileptetesOK = false; + $R[] = false; + } + } + // Visszajelzés + if (count($tankorIds) > 0 && $diakTankorKileptetesOK[$diakId] === true) { + $_SESSION['alert'][] = 'info:diak_tankorokben_lezarva:'.$diakId.':'.implode(',',$tankorIds).':'.$tolDt.' - '.$igDt; + // Megjegyzés: a beDt előtti tankörtagságokat nem állítjuk be... mert a tankorOsztaly összerendelés változhat... + } + + // ------- Tankörök vége------------ + + // Van-e már $tolDt-t tartalmazó osztálytagsága + $q = "SELECT beDt,kiDt FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND beDt<'%s' AND (kiDt IS NULL OR kiDt >= '%s')"; + $ret = db_query($q, array('fv' => 'osztalyDiakTorol/bal', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($osztalyId, $diakId, $tolDt, $tolDt)), $lr); + if (!is_null($ret)) { + // Ha van, akkor azt levégjuk $tolDt előtt 1 nappal + $q = "UPDATE osztalyDiak SET kiDt='%s' - INTERVAL 1 DAY WHERE osztalyId=%u AND diakId=%u AND beDt='%s'"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol/bal levágás', 'modul' => 'naplo_intezmeny', 'values' => array($tolDt, $osztalyId, $diakId, $ret['beDt'])), $lr); + // Ha átnyuló tagság, akkor felvesszük a jobboldali szakaszt igDt után 1 nappal + if (!is_null($igDt)) { + if (is_null($ret['kiDt'])) { // kiDt NULL + $q = "INSERT INTO osztalyDiak (osztalyId, diakId, beDt, kiDt) VALUES (%u, %u, '%s' + INTERVAL 1 DAY, NULL)"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol/jobb beszúrás', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $igDt)), $lr); + } elseif (strtotime($igDt) < strtotime($ret['kiDt'])) { // kiDt rögzített és túllóg igDt-n + $q = "INSERT INTO osztalyDiak (osztalyId, diakId, beDt, kiDt) VALUES (%u, %u, '%s' + INTERVAL 1 DAY, '%s')"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol/jobb beszúrás', 'modul' => 'naplo_intezmeny', 'values' => array($osztalyId, $diakId, $igDt, $ret['kiDt'])), $lr); + } + } + } + // Van-e $igDt-t tartalmazó osztály tagsága + if ($igDt != '') { + $q = "SELECT beDt FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND beDt<'%s' AND (kiDt IS NULL OR kiDt >= '%s')"; + $ret = db_query($q, array('fv' => 'osztalyDiakTorol/jobb', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($osztalyId, $diakId, $igDt, $igDt)), $lr); + if (!is_null($ret)) { + // Ha van, akkor azt levégjuk $igDt után 1 nappal + $q = "UPDATE osztalyDiak SET beDt='%s' + INTERVAL 1 DAY WHERE osztalyId=%u AND diakId=%u AND beDt='%s'"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol/jobb levágás', 'modul' => 'naplo_intezmeny', 'values' => array($igDt, $osztalyId, $diakId, $ret['beDt'])), $lr); + } + // A köztes tagságokat töröljük + $q = "DELETE FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND '%s'<=beDt AND kiDt <= '%s'"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($osztalyId, $diakId, $tolDt, $igDt)), $lr); + } else { + // A $tolDt utáni tagságokat töröljük + $q = "DELETE FROM osztalyDiak WHERE osztalyId=%u AND diakId=%u AND '%s'<=beDt"; + $R[] = db_query($q, array('fv' => 'osztalyDiakTorol', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($osztalyId, $diakId, $tolDt)), $lr); + } + + if ($olr=='') { + if (in_array(false,$R)) { + db_rollback($lr); + } else { + db_commit($lr); + } + db_close($lr); + } + if (in_array(false,$R)) return false; else return true; +} + +function osztalyTorzslapszamGeneralas($osztalyId) { + + $q = "SELECT kezdoTanev, vegzoTanev FROM osztaly WHERE osztalyId=%u"; + $oAdat = db_query($q, array('fv'=>'osztalyTorzslapszamGeneralas','modul'=>'naplo_intezmeny','result'=>'record','values'=>array($osztalyId))); + $range = range(intval($oAdat['kezdoTanev']), intval($oAdat['vegzoTanev'])); + + // A replace nem törli ki a hibás/felesleges bejegyzéseket... + $q = "DELETE FROM diakTorzslapszam WHERE osztalyId=%u"; + db_query($q, array('fv'=>'osztalyTorzslapszamGeneralas/del','modul'=>'naplo_intezmeny','values'=>array($osztalyId))); + + // Egyszerű insert-tel valamiért nem megy... ?? + $q = "REPLACE INTO diakTorzslapszam + SELECT %1\$u as osztalyId, diakId, @rank := @rank+1 AS torzslapszam FROM ( + SELECT DISTINCT diakId"; + foreach ($range as $ev) { + $q .= ",ifnull(diakNaploSorszam(diakId, $ev, %1\$u),99) as ns".$ev; + } + $q .= " FROM osztalyDiak WHERE osztalyId=%1\$u ORDER BY ns".implode(', ns', $range)." + ) t1, (SELECT @rank := 0) t2 + WHERE ns".implode('<>99 OR ns', $range)."<>99"; + + $return = db_query($q, array('debug'=>false,'fv'=>'osztalyTorzslapszamGeneralas/replace','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>array($osztalyId))); + + return $return; +} + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/osztalyzatok.php b/mayor-orig/www/include/modules/naplo/share/osztalyzatok.php new file mode 100644 index 00000000..321aaf4a --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/osztalyzatok.php @@ -0,0 +1,342 @@ + array('1.0','2.0','3.0','4.0','5.0'), + 'sikertelen' => array('1.0'), + 'átlagolható' => true, + '1.0' => array('rovid' => '1', 'hivatalos' => 'ELEGTELEN'), + '2.0' => array('rovid' => '2', 'hivatalos' => 'ELEGSEGES', 'megjegyzes' => 'figyelmeztető'), + '3.0' => array('rovid' => '3', 'hivatalos' => 'KOZEPES'), + '4.0' => array('rovid' => '4', 'hivatalos' => 'JO',), + '5.0' => array('rovid' => '5', 'hivatalos' => 'JELES', 'megjegyzes' => 'dicséret'), + ); +} +// 2011. évi CXC. törvény 54. § (2) b) +if (!isset($KOVETELMENY['magatartás']) || !is_array($KOVETELMENY['magatartás'])) { + $KOVETELMENY['magatartás']=array( + 'értékek' => array('2.0','3.0','4.0','5.0'), + 'sikertelen' => array(), + 'átlagolható' => true, + '2.0' => array('rovid' => '2', 'hivatalos' => 'ROSSZ'), + '3.0' => array('rovid' => '3', 'hivatalos' => 'VALTOZO'), + '4.0' => array('rovid' => '4', 'hivatalos' => 'JO'), + '5.0' => array('rovid' => '5', 'hivatalos' => 'PELDAS'), + ); +} +// 2011. évi CXC. törvény 54. § (2) c) +if (!isset($KOVETELMENY['szorgalom']) || !is_array($KOVETELMENY['szorgalom'])) { + $KOVETELMENY['szorgalom']=array( + 'értékek' => array('2.0','3.0','4.0','5.0'), + 'sikertelen' => array(), + 'átlagolható' => true, + '2.0' => array('rovid' => '2', 'hivatalos' => 'HANYAG'), + '3.0' => array('rovid' => '3', 'hivatalos' => 'VALTOZO'), + '4.0' => array('rovid' => '4', 'hivatalos' => 'JO'), + '5.0' => array('rovid' => '5', 'hivatalos' => 'PELDAS'), + ); +} +// 2011. évi CXC. törvény 54. § (3) +if (!isset($KOVETELMENY['négyszintű (szöveges minősítés)']) || !is_array($KOVETELMENY['négyszintű (szöveges minősítés)'])) { + $KOVETELMENY['négyszintű (szöveges minősítés)']= array( + 'értékek' => array('1.0','2.0','3.0','4.0'), + 'sikertelen' => array('1.0'), + 'átlagolható' => false, + '1.0' => array('rovid' => 'FSZ', 'hivatalos' => 'FELZARKOZTATASRA_SZORUL'), + '2.0' => array('rovid' => 'MFT', 'hivatalos' => 'MEGFELELOEN_TELJESITETT'), + '3.0' => array('rovid' => 'JT', 'hivatalos' => 'JOL_TELJESITETT'), + '4.0' => array('rovid' => 'KT', 'hivatalos' => 'KIVALOAN_TELJESITETT'), + ); +} +// 2011. évi CXC. törvény +// 6. § (4) Az érettségi bizonyítvány kiadásának feltétele ötven óra közösségi szolgálat elvégzésének igazolása. A felnőttoktatás keretében szervezett érettségi vizsga esetében közösségi szolgálat végzésének igazolása nélkül is meg lehet kezdeni az érettségi vizsgát. A sajátos nevelési igényű tanulók esetében a szakértői bizottság ez irányú javaslata alapján a közösségi szolgálat mellőzhető. +// 15. közösségi szolgálat: szociális, környezetvédelmi, a tanuló helyi közösségének javát szolgáló, szervezett keretek között folytatott, anyagi érdektől független, egyéni vagy csoportos tevékenység és annak pedagógiai feldolgozása, +if (!isset($KOVETELMENY['teljesített óra']) || !is_array($KOVETELMENY['teljesített óra'])) { + + $KOVETELMENY['teljesített óra']['sikertelen']= array(); // nem kötelező! + $KOVETELMENY['teljesített óra']['átlagolható']= false; + $KOVETELMENY['teljesített óra']['összeadható']= true; + for ($i=1; $i<=100; $i++) { + $_ertek = ($i%2 == 0) ? floor($i/2).'.0':floor($i/2).'.5'; + $_mutat = ($i%2 == 0) ? floor($i/2):floor($i/2).',5'; + $KOVETELMENY['teljesített óra']['értékek'][] = $_ertek; + $KOVETELMENY['teljesített óra'][$_ertek] = array('rovid'=>$_mutat.'ó', 'hivatalos'=>$_mutat.' óra'); + } + +} +// 2011. évi CXC. törvény 54. § (4) +/* + A második évfolyam végén és a magasabb évfolyamokon félévkor és év végén a tanuló értékelésére - jóváhagyott + kerettanterv vagy az oktatásért felelős miniszter engedélyével - az iskola pedagógiai programja a (2) bekezdésben + meghatározottaktól eltérő jelölés, szöveges értékelés alkalmazását is előírhatja. +*/ +if (!isset($KOVETELMENY['féljegy']) || !is_array($KOVETELMENY['féljegy'])) { + $KOVETELMENY['féljegy']= array( + 'értékek' => array('1.0','1.5','2.0','2.5','3.0','3.5','4.0','4.5','5.0'), + 'sikertelen' => array('1.0'), + 'átlagolható' => true, + '1.0' => array('rovid' => '1', 'hivatalos' => 'ELEGTELEN'), + '1.5' => array('rovid' => '1/2', 'hivatalos' => '1/2'), + '2.0' => array('rovid' => '2', 'hivatalos' => 'ELEGSEGES', 'megjegyzes' => 'figyelmeztető'), + '2.5' => array('rovid' => '2/3', 'hivatalos' => '2/3'), + '3.0' => array('rovid' => '3', 'hivatalos' => 'KOZEPES'), + '3.5' => array('rovid' => '3/4', 'hivatalos' => '3/4'), + '4.0' => array('rovid' => '4', 'hivatalos' => 'JO',), + '4.5' => array('rovid' => '4/5', 'hivatalos' => '4/5'), + '5.0' => array('rovid' => '5', 'hivatalos' => 'JELES', 'megjegyzes' => 'dicséret'), + ); +} +if (!isset($KOVETELMENY['százalékos']) || !is_array($KOVETELMENY['százalékos'])) { + for ($i=0; $i<=100; $i++) { + $_ertek = $i.'.0'; + if ($i<20) $KOVETELMENY['százalékos']['sikertelen'][] = $_ertek; + $KOVETELMENY['százalékos']['értékek'][] = $_ertek; + $KOVETELMENY['százalékos'][$_ertek] = array('rovid'=>$i.'%', 'hivatalos'=>$i.'%'); + } +} +if (!isset($KOVETELMENY['aláírás']) || !is_array($KOVETELMENY['aláírás'])) { + $KOVETELMENY['aláírás']=array( + 'értékek' => array('1.0','2.0'), + 'sikertelen' => array('1.0'), + 'átlagolható' => false, + '1.0' => array('rovid' => '-', 'hivatalos' => 'MEGTAGADVA'), + '2.0' => array('rovid' => 'AI', 'hivatalos' => 'ALAIRVA'), + ); +} +if (!isset($KOVETELMENY['háromszintű']) || !is_array($KOVETELMENY['háromszintű'])) { + $KOVETELMENY['háromszintű']=array( + 'értékek' => array('1.0','2.0','3.0'), + 'sikertelen' => array('1.0'), + 'átlagolható' => false, + '1.0' => array('rovid' => 'NFM', 'hivatalos' => 'NEMFELELTMEG'), + '2.0' => array('rovid' => 'MF', 'hivatalos' => 'MEGFELELT'), + '3.0' => array('rovid' => 'KMF', 'hivatalos' => 'KIVALOANMEGFELELT'), + ); +} +if (!isset($KOVETELMENY['nem értékelhető']) || !is_array($KOVETELMENY['nem értékelhető'])) { + $KOVETELMENY['nem értékelhető']=array( + 'értékek' => array('1.0','2.0','3.0'), + 'sikertelen' => array('2.0','3.0'), + 'átlagolható' => false, + '1.0' => array('rovid' => 'Fm.', 'hivatalos' => 'FELMENTETT'), + '2.0' => array('rovid' => 'N.O.', 'hivatalos' => 'NEM_OSZTALYOZHATO'), + '3.0' => array('rovid' => 'N.J.M.', 'hivatalos' => 'NEM_JELENT_MEG') + ); +} + + + if (is_array($KOVETELMENY)) { + foreach ($KOVETELMENY as $k1 => $T) { + foreach ($T as $key => $val) { + if (defined('_'.$val['hivatalos'])) $KOVETELMENY[$k1][$key]['hivatalos'] = constant('_'.$val['hivatalos']); + if (defined('_'.$val['rovid'])) $KOVETELMENY[$k1][$key]['rovid'] = constant('_'.$val['rovid']); + } + if (!isset($KOVETELMENY[$k1]['átlagolható'])) $KOVETELMENY[$k1]['átlagolható'] = true; + if (!isset($KOVETELMENY[$k1]['összeadható'])) $KOVETELMENY[$k1]['összeadható'] = false; + } + } + $jegyTipusok = array( + _TOROLT, _KIS_JEGY, _NORMAL_JEGY, _DOLGOZAT, _TEMAZARO, _VIZSGAJEGY + ); + + $bizonyitvanyJegyzetek = array( + 'dicséret' => _JEGYZET_DICSERET, + 'figyelmeztető' => _JEGYZET_FIGYELMEZTETO, + 'nyelvvizsga' => _JEGYZET_NYELVVIZSGA + ); + + $bizonyitvanyMegjegyzesek = array( + 'figyelmeztető' => _FIGYELMEZTETO, + 'nyelvvizsga' => _NYELVVIZSGA, + 'dicséret' => _DICSERET, + '2.0' => array('figyelmeztető'), + '5.0' => array('dicséret','nyelvvizsga') + ); + + // A kitűnő megállapításához csak az átlagot vesszük figyelembe + if (!defined('_KITUNO_ATLAG')) define('_KITUNO_ATLAG', 5.0); + // jelesrendű, aki a megadott átlag fölött van és nincs a megadott jegynél gyengébb eredménye egyik tárgyból sem + if (!defined('_JELES_ATLAG')) define('_JELES_ATLAG', 4.75); + if (!defined('_JELES_LEGGYENGEBB_JEGY')) define('_JELES_LEGGYENGEBB_JEGY', 3); + + + ///////////////////////////////////////////////////////////////////// + + // Visszatérési értékek + // ---------------------------- + + // TOMB[ diakId ] [ targyId ] [ index 0..(n-1) ] VAGY $SET['arraymap'] szerinti + + // !! Ez szigorúan a $szAdat['kezdesDt'] és $szAdat['zarasDt'] között szerzett osztályzatokat adja vissza! + + ///////////////////////////////////////////////////////////////////// +/* +// Törlendő!! + function getDiakZarojegyekByEvfolyam($diakIds, $evfolyam='', $szAdat='', $SET = array('arraymap'=>null)) { // csak evfolyam, evfolyamJelet nem kezel! + if (count($diakIds)<1) return false; + elseif (!is_array($diakIds)) $diakIds = array($diakIds); + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('diakId','targyId'); + $values = $diakIds; + if (is_array($szAdat) && $szAdat['szemeszter']!='') { + $qSZ = " AND evfolyam=%u AND '%s' <= hivatalosDt AND hivatalosDt <= '%s' AND felev=%u"; // eredetileg felev>=%u (???) + $values[] = $evfolyam; + $values[] = $szAdat['kezdesDt']; + $values[] = $szAdat['zarasDt']; + $values[] = $szAdat['szemeszter']; + } elseif ($evfolyam!='') { + $qSZ = " AND evfolyam=%u "; + $values[] = $evfolyam; + } + $q = "SELECT * FROM zaroJegy WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") $qSZ ORDER BY felev, hivatalosDt"; + $r = db_query($q, array('fv' => 'getDiakZarojegyekbyEvfolyam', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $values)); + $ret = reindex($r,$SET['arraymap']); + return $ret; + } +*/ + // Az előző függvény évfolyamJel-es változata + a félévkor záruló tárgyak jegyei + function getDiakZarojegyekByEvfolyamJel($diakIds, $evfolyamJel='', $szAdat='', $SET = array('arraymap'=>null)) { + if (count($diakIds)<1) return false; + elseif (!is_array($diakIds)) $diakIds = array($diakIds); + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('diakId','targyId'); + $values = $diakIds; + $evfolyam = evfolyamJel2Evfolyam($evfolyamJel); + if (is_array($szAdat) && $szAdat['szemeszter']!='') { + $qSZ = " AND (evfolyamJel='%s' OR (evfolyamJel IS NULL AND evfolyam=%u)) AND '%s' <= hivatalosDt AND hivatalosDt <= '%s' AND felev=%u"; + $values[] = $evfolyamJel; + $values[] = $evfolyam; + $values[] = $szAdat['kezdesDt']; + $values[] = $szAdat['zarasDt']; + $values[] = $szAdat['szemeszter']; + } elseif ($evfolyamJel!='') { + $qSZ = " AND (evfolyamJel='%s' OR (evfolyamJel IS NULL AND evfolyam=%u)) "; + $values[] = $evfolyamJel; + $values[] = $evfolyam; + } + $q = "SELECT * FROM zaroJegy WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") + $qSZ ORDER BY felev, hivatalosDt"; + $r = db_query($q, array('fv' => 'getDiakZarojegyekbyEvfolyamJel', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $values)); + $arraymap = $SET['arraymap']; + + // A félévkor lezáruló tárgyak félévi zárójegyei: + if ($SET['felevivel'] == true && (!is_array($szAdat) || $szAdat['szemeszter'] == 2)) { + $SET['arraymap'] = 'indexed'; + $r2 = getDiakFeleviZarojegyekByEvfolyamJel($diakIds, $evfolyamJel, $szAdat, $SET); + for ($i=0; $inull)) { + if (count($diakIds)<1) return false; + elseif (!is_array($diakIds)) $diakIds = array($diakIds); + $values = $diakIds; + // A képzésenként a félévkor lezáruló tárgyak lekérdezése az adott évfolyamon + $q = "SELECT zaroJegy.* FROM zaroJegy LEFT JOIN kepzesDiak USING (diakId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") + AND felev=1"; + if ($evfolyamJel != '') { $q .= " AND evfolyamJel='%s'"; $values[] = $evfolyamJel; } + $q .= " AND CONCAT_WS('-',kepzesId,targyId,evfolyamJel) IN ( + SELECT CONCAT_WS('-',kepzesId, targyId, evfolyamJel) FROM kepzesOraterv GROUP BY kepzesId, targyId, evfolyamJel HAVING MAX(szemeszter)=1 + ) + ORDER BY felev, hivatalosDt"; + $r = db_query($q, array('fv' => 'getDiakFeleviZarojegyekbyEvfolyamJel', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $values)); + if ($SET['arraymap'] == 'indexed') $ret = $r; + else { + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('diakId','targyId'); + $ret = reindex($r,$SET['arraymap']); + } + return $ret; + } + + + function getDiakZarojegyek($diakIds, $tanev='', $szemeszter='', $SET = array('arraymap'=>null)) { + if (count($diakIds)<1) return false; + elseif (!is_array($diakIds)) $diakIds = array($diakIds); + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('diakId','targyId'); + $values = $diakIds; + if ($szemeszter!='') { + $qSZ = " AND tanev=%u AND szemeszter=%u"; + $values[] = $tanev; + $values[] = $szemeszter; + } elseif ($tanev!='') { + $qSZ = " AND tanev=%u "; + $values[] = $tanev; + } + $q = "SELECT * FROM zaroJegy + LEFT JOIN szemeszter ON kezdesDt<=hivatalosDt AND hivatalosDt<=zarasDt + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") ".$qSZ; + $r = db_query($q, array('fv' => 'getDiakZarojegyek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $values)); + $ret = reindex($r,$SET['arraymap']); + return $ret; + } + + function getDiakokZarojegyeiByTargyId($DIAKIDS, $targyId, $SET = array('tanev'=>__TANEV, 'arraymap'=>null)) { + + global $_TANEV; + // default + $BIZ = array(); + if ($SET['tanev']=='') $tanev = __TANEV; else $tanev = $SET['tanev']; + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('diakId','evfolyamJel','szemeszter'); + + // walk + if (count($DIAKIDS) > 0) { + $q = "SELECT *, IF(evfolyamJel IS NULL,evfolyam,evfolyamJel) AS evfolyamStr FROM ".__INTEZMENYDBNEV.".zaroJegy + LEFT JOIN szemeszter ON kezdesDt <= hivatalosDt AND hivatalosDt <= zarasDt + WHERE targyId=%u + AND tanev=%u + AND diakId IN (".implode(",", $DIAKIDS).")"; + array_unshift($DIAKIDS, $targyId, $tanev); + $ret = db_query($q, array('fv' => 'getDiakokZarojegyeiByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $DIAKIDS)); + $BIZ = reindex($ret,$SET['arraymap']); + } + return $BIZ; + } + + function getDiakokVizsgajegyeiByTargyId($DIAKIDS, $targyId, $SET = array('arraymap'=>null)) { + // default + $BIZ = array(); + if (!is_array($SET['arraymap'])) $SET['arraymap'] = array('zaroJegyId'); + + // walk + if (count($DIAKIDS) > 0) { + $q = "SELECT *, IF(evfolyamJel IS NULL,evfolyam,evfolyamJel) AS evfolyamStr FROM vizsga + WHERE vizsga.targyId=%u + AND vizsga.diakId IN (".implode(",", $DIAKIDS).")"; + array_unshift($DIAKIDS, $targyId); + $ret = db_query($q, array('fv' => 'getDiakokVizsgajegyeiByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $DIAKIDS)); + $BIZ = reindex($ret,$SET['arraymap']); + } + return $BIZ; + } + + function getZaroJegyAdat($zaroJegyId) { + $q = "SELECT * FROM zaroJegy WHERE zaroJegyId=%u"; + $v = array($zaroJegyId); + return $r = db_query($q, array('fv' => 'getZaroJegyId', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + } + function getJegyAdat($jegyId) { + $q = "SELECT * FROM jegy + LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + LEFT JOIN dolgozat USING (dolgozatId) + WHERE jegyId=%u"; + $v = array($jegyId); + return $r = db_query($q, array('fv' => 'getJegyId', 'modul' => 'naplo', 'result' => 'record', 'values' => $v)); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/rpc.php b/mayor-orig/www/include/modules/naplo/share/rpc.php new file mode 100644 index 00000000..23e543fc --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/rpc.php @@ -0,0 +1,29 @@ +'getRPCPrivileges','modul'=>'naplo_base','result'=>'indexed')); + + } + function getRPCPrivilegeByNUO($nodeId, $userAccount, $OMKod) { + + $q = "SELECT priv FROM rpcJogosultsag WHERE nodeId=%u AND userAccount='%s' AND OMKod=%u"; + $v = array($nodeId, $userAccount, $OMKod); + return db_query($q, array('fv'=>'getRPCPrivileges','modul'=>'naplo_base','result'=>'value','values'=>$v)); + + } + function addNodeToRPCPrivs($DATA) { + + $q = "INSERT INTO rpcJogosultsag (nodeId, userAccount, OMKod) VALUES (%u, '%s', %u)"; + $v = array($DATA['nodeId'], $DATA['userAccount'], $DATA['OMKod']); + return db_query($q, array('debug'=>false,'fv'=>'addNodeToRPCPrivs','modul'=>'naplo_base','values'=>$v)); + + } + function setPrivileges($DATA) { + $q = "UPDATE rpcJogosultsag SET priv='%s' WHERE nodeId=%u AND userAccount='%s' AND OMKod=%u"; + $v = array(implode(',',$DATA['priv']),$DATA['nodeId'],$DATA['userAccount'],$DATA['OMKod']); + return db_query($q, array('debug'=>false,'fv'=>'setPrivileges','modul'=>'naplo_base','values'=>$v)); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/sni.php b/mayor-orig/www/include/modules/naplo/share/sni.php new file mode 100644 index 00000000..61f20bb2 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/sni.php @@ -0,0 +1,54 @@ + 'getDiakAdat','modul' => 'naplo','values' => $v, 'result' => 'record')); + + } + + function getHaviOsszegzes($diakId, $dt) { + + $q = "SELECT * FROM sniHaviOsszegzes WHERE diakId=%u AND MONTH(dt)=MONTH('%s')"; + $v = array($diakId, $dt); + $ret = db_query($q, array('fv' => 'getHaviOsszegzes', 'modul' => 'naplo', 'values' => $v, 'result' => 'record')); + + $q = "SELECT tanarId FROM sniHaviOsszegzesFelelos WHERE haviOsszegzesId = %u"; + $ret['felelos'] = db_query($q, array('fv' => 'getHaviOsszegzes', 'modul' => 'naplo', 'values' => array($ret['haviOsszegzesId']), 'result' => 'idonly')); + + return $ret; + + } + + function sniHaviOsszegzesRogzites($Param) { + + $Felelos = $Param['felelos']; unset($Param['felelos']); + // Korábbi bejegyzés törlése + $q = "SELECT haviOsszegzesId FROM sniHaviOsszegzes WHERE diakId = %u AND dt = '%s'"; + $v = array($Param['diakId'], $Param['dt']); + $Param['haviOsszegzesId'] = db_query($q, array('fv' => 'sniHaviOsszesitesRogzites', 'modul' => 'naplo', 'values' => $v, 'result' => 'value')); + // Paraméterek feldolgozása + $pattern = $v = array(); + foreach ($Param as $attr => $value) { + if (in_array($attr, array('diakId','haviOsszegzesId','valtozas'))) + if ($value == '') { $pattern[] = '%s'; $value = 'NULL'; } + else $pattern[] = "%u"; + else + $pattern[] = "'%s'"; + $v[] = $value; + } + // új bejegyzés beszúrása + $q = "REPLACE INTO `sniHaviOsszegzes` (`".implode('`,`',array_keys($Param))."`) VALUES (".implode(',', $pattern).")"; + $id = db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => $v, 'result' => 'insert')); + // felelosok törlése + $q = "DELETE FROM `sniHaviOsszegzesFelelos` WHERE haviOsszegzesId = %u"; + $ret = db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => array($id))); + // új felelősök felvétele + if (is_array($Felelos) && count($Felelos) > 0) { + $q = "INSERT INTO `sniHaviOsszegzesFelelos` (`haviOsszegzesId`,`tanarId`) VALUES ".implode(',', array_fill(0, count($Felelos), "($id, %u)")); + $ret = db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => $Felelos)); + } + return $ret; + } +?> diff --git a/mayor-orig/www/include/modules/naplo/share/szemeszter.php b/mayor-orig/www/include/modules/naplo/share/szemeszter.php new file mode 100644 index 00000000..dae760ee --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/szemeszter.php @@ -0,0 +1,176 @@ + array('aktív', 'lezárt', 'tervezett'), 'filter' => array())) { + global $mayorCache; + if (!isset($SET)) $SET = array('statusz' => array('aktív','lezárt','tervezett')); + + $key = __FUNCTION__.':'.md5(serialize($SET)); + if ($mayorCache->exists($key)) return $mayorCache->get($key); + + $q = "SELECT * FROM szemeszter "; + if (is_array($SET['statusz']) && count($SET['statusz']) != 0) { + $q .="WHERE statusz IN ('".implode("','", array_fill(0, count($SET['statusz']), '%s'))."')"; + $v = $SET['statusz']; + $kapocs = "AND "; + } else { + $kapocs = "WHERE "; $v = array(); + } + if (is_array($SET['filter']) && count($SET['filter']) != 0) { + $q .= $kapocs . implode(' AND ',$SET['filter']); + } + $q .= ' ORDER BY tanev,szemeszter'; + $r = db_query($q, array('fv' => 'getSzemeszterek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + $mayorCache->set($key,$r,'szemeszter'); + return $r; + } + + function getSzemeszterByDt($dt, $tipus = 0) { + /* + 0 - a szemeszter tartalmazza a dátumot + 1 - a dátum napján, vagy utána végződő első szemeszter + -1 - a dátum napján vagy előtte kezdődő első szemeszter + */ + if ($tipus < 0) $q = "SELECT * FROM szemeszter WHERE szemeszter.kezdesDt <= '%s' ORDER BY kezdesDt DESC LIMIT 1"; + elseif ($tipus > 0) $q = "SELECT * FROM szemeszter WHERE szemeszter.zarasDt >= '%s' ORDER BY zarasDt LIMIT 1"; + else $q = "SELECT * FROM szemeszter WHERE szemeszter.kezdesDt <= '%s' AND szemeszter.zarasDt >= '%s'"; + $v = array($dt, $dt); + return db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'getSzemeszterByDt', 'result' => 'record', 'values' => $v, 'debug' => false)); + } + + function getSzemeszterIdByDt($dt) { + $q = "SELECT szemeszterId FROM szemeszter WHERE szemeszter.kezdesDt<='%s' AND szemeszter.zarasDt>='%s'"; + return db_query($q, array('fv' => 'getSzemeszterIdByDt', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($dt, $dt))); + } + + function getKovetkezoSzemeszterId($tanev,$szemeszter,$aktiv=null) { + if ($aktiv!='') $W = ' AND statusz="aktív" '; + $q = "SELECT szemeszterId FROM szemeszter WHERE CONCAT(szemeszter.tanev,szemeszter)>'%s' $W ORDER BY tanev,szemeszter LIMIT 1"; + return db_query($q, array( + 'fv' => 'getKovetkezoSzemeszterId', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tanev.$szemeszter) + )); + } + + function getFelevByDt($dt) { + $q = "SELECT szemeszter AS felev FROM szemeszter WHERE szemeszter.kezdesDt<='%s' AND szemeszter.zarasDt>='%s'"; + $v = array($dt,$dt); + return db_query($q, array('fv' => 'getFelevByDt', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + } + + function getTanevekByDt($dt) { + $q = "SELECT DISTINCT tanev FROM szemeszter WHERE szemeszter.kezdesDt<='%s' and szemeszter.zarasDt>='%s'"; + $v = array($dt, $dt); + return db_query($q, array('fv' => 'getTanevByDt', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + } + + function getTanevekByDtInterval($dt1, $dt2 = '', $statusz = array('aktív','lezárt','tervezett')) { + /* + A dátumot lefedő tanévek közül azok, amik státusza megfelelő + */ + $dt2 = readVariable($dt2, 'datetime', $dt1); + $q = "SELECT DISTINCT tanev FROM szemeszter WHERE statusz in ('".implode("','", array_fill(0, count($statusz), '%s'))."') GROUP BY tanev + HAVING '$dt1'<=MAX(szemeszter.zarasDt) AND MIN(szemeszter.kezdesDt)<='$dt2'"; + array_push($statusz, $dt1, $dt2); + return db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'getTanevByDtInterval', 'result' => 'idonly', 'values' => $statusz)); + } + + function getTanevekByStatusz($statusz = array('aktív','lezárt','tervezett')) { + $q = "SELECT DISTINCT tanev FROM szemeszter WHERE statusz in ('".implode("','", array_fill(0, count($statusz), '%s'))."') GROUP BY tanev"; + return db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'getTanevByDtInterval', 'result' => 'idonly', 'values'=>$statusz)); + } + + function getTanevSzemeszterek($tanev) { + $q = "SELECT * FROM szemeszter WHERE tanev=%u"; + return db_query($q, array('fv' => 'getTanevSzemeszterek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanev))); + } + + function getSzemeszterAdatById($szemeszterId) { + $q = "SELECT * FROM szemeszter WHERE szemeszterId = %u"; + $ret = db_query($q, array('fv' => 'getSzemeszterAdatById', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($szemeszterId))); + if (!is_array($ret)) return false; + + $ret['idoszak'] = getIdoszakByTanev(array('tanev' => $ret['tanev'], 'szemeszter' => $ret['szemeszter'])); + $q = "SELECT tanev,MAX(szemeszter) AS maxSzemeszter, MIN(kezdesDt) AS kezdesDt, MAX(zarasDt) AS zarasDt FROM szemeszter + WHERE tanev=%u GROUP BY tanev"; + $ret['tanevAdat'] = db_query($q, array( + 'fv' => 'getSzemeszterAdatById', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => array($ret['tanev']) + )); + return $ret; + } + + function getSzemeszterIdBySzemeszter($tanev, $szemeszter) { + + $q = "SELECT szemeszterId FROM szemeszter WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanev, $szemeszter); + return db_query($q, array('fv' => 'getSzemeszterIdBySzemeszter', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + } +/* (Még) nem használt függvény + + function getSzemeszterAdatBySzemeszter($tanev, $szemeszter) { + + $szemeszterId = getSzemeszterIdBySzemeszter($tanev, $szemeszter); + if ($szemeszterId === false) return false; + return getSzemeszterAdatById($szemeszterId); + + } + +*/ + function getIdoszakByTanev($SET = array('tanev' => __TANEV, 'szemeszter' => '', 'tipus' => array(), 'tolDt' => '', 'igDt' => '', 'return' => '', 'arraymap'=>null)) { + + if ($SET['tanev']=='') $SET['tanev'] = __TANEV; + + if ($SET['szemeszter'] != '') { + $q = "SELECT * FROM idoszak WHERE tanev=%u AND szemeszter=%u"; + $v = array($SET['tanev'], $SET['szemeszter']); + } else { + $q = "SELECT * FROM idoszak WHERE tanev=%u"; + $v = array($SET['tanev']); + } + if (is_array($SET['tipus']) && count($SET['tipus']) > 0) { + $q .= " AND tipus IN ('".implode("','", array_fill(0, count($SET['tipus']), '%s'))."')"; + $v = mayor_array_join($v, $SET['tipus']); + } + if ($SET['tolDt'] != '') { + $q .= " AND igDt >= '%s'"; + $v[] = $SET['tolDt']; + } + if ($SET['igDt'] != '') { + $q .= " AND tolDt <= '%s'"; + $v[] = $SET['igDt']; + } + + $q .= " ORDER BY szemeszter,tolDt,igDt"; + $ret = db_query($q, array('fv' => 'getIdoszakByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + if ($SET['return'] == 'assoc') { + $tmp = array(); + for ($i = 0; $i < count($ret); $i++) { + $tmp[ $ret[$i]['szemeszter'] ][ $ret[$i]['tipus'] ][] = $ret[$i]; + } + $ret = $tmp; + } + + if (is_array($SET['arraymap'])) { + $ret = reindex($ret,$SET['arraymap']); + } + + return $ret; + + } + + + function getTanevAdatBySzemeszterId( $szemeszterId ) { + if ($szemeszterId=='') return false; + $q = "SELECT * FROM szemeszter WHERE szemeszterId=%u"; + $v = array($szemeszterId); + $R['szemeszter'] = db_query($q, array( + 'fv' => 'getTanevAdatBySzemeszterId', 'modul'=>'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'szemeszter', 'values' => $v + )); + // legyen az első az alapértelmezett + $R['statusz'] = $R['szemeszter'][1]['statusz']; + $R['tanev'] = $R['szemeszter'][1]['tanev']; + // a két dárum innen hiányzik! + return $R; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/szovegesErtekeles.php b/mayor-orig/www/include/modules/naplo/share/szovegesErtekeles.php new file mode 100644 index 00000000..1026979b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/szovegesErtekeles.php @@ -0,0 +1,206 @@ + 'getSzempontRendszer', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + if (!is_array($ret) || count($ret) == 0) return false; + + $szrId = $ret['szrId']; + // szempontok lekérdezése + $q = "SELECT * FROM szrSzempont WHERE szrId=%u ORDER BY szempontId"; + $ret['szempont'] = db_query($q, array( + 'fv' => 'getSzempontRendszer/szempont', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'szempontId', 'values' => array($szrId) + )); + // minősítések lekérdezése + $ret['minosites'] = array(); + if (is_array($ret['szempont']) && count($ret['szempont']) > 0) { + $ret['szempontIds'] = array_keys($ret['szempont']); + $v = array_keys($ret['szempont']); + $q = "SELECT * FROM szrMinosites WHERE szempontId IN (".implode(',', array_fill(0, count($v), '%u')).") ORDER BY szempontId,minositesId"; + $ret['minosites'] = db_query($q, array( + 'fv' => 'getSzempontRendszer/minősítés', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'szempontId', 'values' => $v + )); + if (is_array($ret['minosites'])) { + $ret['minositesIds'] = array(); + foreach ($ret['minosites'] as $szId => $szM) + for ($i = 0; $i < count($szM); $i++) $ret['minositesIds'][] = $szM[$i]['minositesId']; + } + } + return $ret; + } + + function getDiakSzovegesTargyZaroErtekeles($diakId, $szrId, $targyId, $tanev, $szemeszter) { +/* + $q = "SELECT MAX(dt) FROM szovegesErtekeles WHERE szrId=%u AND diakId=%u AND targyId=%u AND dt<='%s'"; + $v = array($szrId, $diakId, $targyId, $igDt); + $dt = db_query($q, array('fv' => 'getDiakUtolsoSzovegesTargyErtekeles/maxDt', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if (!isset($dt)) return false; + $ret['dt'] = $dt; +*/ + // szeId lekérdezése + $q = "SELECT * FROM szovegesErtekeles WHERE szrId=%u AND diakId=%u AND targyId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($szrId, $diakId, $targyId, $tanev, $szemeszter); + $ret = db_query($q, array( + 'fv' => 'getDiakSzovegesTargyZaroErtekeles/szeId', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v + )); + $szeId = $ret['szeId']; + // minősítések lekérdezése + $q = "SELECT minositesId FROM szeMinosites WHERE szeId=%u"; + $v = array($szeId); + $ret['minosites'] = db_query($q, array( + 'fv' => 'getDiakSzovegesTargyZaroErtekeles/minosites', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v + )); + // Egyedi minősítések lekérdezése + $q = "SELECT szempontId, egyediMinosites FROM szeEgyediMinosites WHERE szeId=%u"; + $ret['egyediMinosites'] = db_query($q, array( + 'fv' => 'getDiakSzovegesTargyZaroErtekeles', 'modul' => 'naplo_intezmeny', + 'result' => 'assoc', 'keyfield' => 'szempontId', 'values' => $v + )); + + return $ret; + + } + + function getDiakUtolsoSzovegesTargyErtekeles($diakId, $szrId, $targyId, $igDt) { + + $q = "SELECT MAX(dt) FROM szovegesErtekeles WHERE szrId=%u AND diakId=%u AND targyId=%u AND dt<='%s'"; + $v = array($szrId, $diakId, $targyId, $igDt); + $dt = db_query($q, array('fv' => 'getDiakUtolsoSzovegesTargyErtekeles/maxDt', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if (!isset($dt)) return false; + $ret['dt'] = $dt; + + // szeId lekérdezése + $q = "SELECT * FROM szovegesErtekeles WHERE szrId=%u AND diakId=%u AND targyId=%u AND dt='%s'"; + $v = array($szrId, $diakId, $targyId, $dt); + $ret = db_query($q, array( + 'fv' => 'getDiakUtolsoSzovegesTargyErtekeles/szeId', 'modul' => 'naplo', 'result' => 'record', 'values' => $v + )); + $szeId = $ret['szeId']; + // minősítések lekérdezése + $q = "SELECT minositesId FROM szeMinosites WHERE szeId=%u"; + $v = array($szeId); + $ret['minosites'] = db_query($q, array( + 'fv' => 'getDiakUtolsoSzovegesTargyErtekeles/minosites', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v + )); + // Egyedi minősítések lekérdezése + $q = "SELECT szempontId, egyediMinosites FROM szeEgyediMinosites WHERE szeId=%u"; + $ret['egyediMinosites'] = db_query($q, array( + 'fv' => 'getDiakUtolsoSzovegesTargyErtekeles/egyediMinosites', 'modul' => 'naplo', + 'result' => 'assoc', 'keyfield' => 'szempontId', 'values' => $v + )); + + return $ret; + } + + function getDiakOsszesSzovegesErtekeles($ADAT) { + + $q = "SELECT * FROM szovegesErtekeles WHERE diakId=%u AND dt<='%s' ORDER BY dt"; + $v = array($ADAT['diakId'], $ADAT['dt']); + $ret = db_query($q, array('fv' => 'getDiakOsszesSzovegesErtekeles', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'targyId', 'values' => $v)); + + foreach ($ret as $targyId => $tAdat) { + $tAdat['feltetel'] = 'id'; + $ret[$targyId]['szempontRendszer'] = getSzempontRendszer($tAdat); + $ret[$targyId]['szovegesErtekeles'] = getDiakUtolsoSzovegesTargyErtekeles($ADAT['diakId'], $tAdat['szrId'], $targyId, $ADAT['dt']); + $ret[$targyId]['diakTargyak'] = $ADAT['diakTargyak']; + } + + return $ret; + } + + function getDiakOsszesSzovegesZaroErtekeles($ADAT) { + + $q = "SELECT * FROM szovegesErtekeles WHERE diakId=%u AND tanev=%u AND szemeszter=%u ORDER BY dt"; + $v = array($ADAT['diakId'], $ADAT['tanev'], $ADAT['szemeszter']); + $ret = db_query($q, array('fv' => 'getDiakOsszesSzovegesZaroErtekeles', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'targyId', 'values' => $v)); + + foreach ($ret as $targyId => $tAdat) { + $tAdat['feltetel'] = 'id'; + $ret[$targyId]['szempontRendszer'] = getSzempontRendszer($tAdat); + $ret[$targyId]['szovegesErtekeles'] = getDiakSzovegesTargyZaroErtekeles($ADAT['diakId'], $tAdat['szrId'], $targyId, $ADAT['tanev'], $ADAT['szemeszter']); + $ret[$targyId]['diakTargyak'] = $ADAT['diakTargyak']; + } + + return $ret; + } + + function getOsztalySzovegesErtekeles($ADAT) { + // Ha van $ADAT['szemeszterId'] akkor záró értékelést ad vissza, különben évközit + $A = array( + 'dt' => $ADAT['dt'], 'diakTargyak' => $ADAT['diakTargyak'], + 'tanev' => $ADAT['szemeszter']['tanev'], 'szemeszter' => $ADAT['szemeszter']['szemeszter'] + ); + $ret = array(); + if (isset($ADAT['szemeszterId'])) foreach ($ADAT['diakIds'] as $index => $diakId) { + $A['diakId'] = $diakId; + $ret[$diakId] = getDiakOsszesSzovegesZaroErtekeles($A); + } else foreach ($ADAT['diakIds'] as $index => $diakId) { + $A['diakId'] = $diakId; + $ret[$diakId] = getDiakOsszesSzovegesErtekeles($A); + + } + + return $ret; + + } + + function getEvfolyamJelSzempontRendszerek($ADAT) { + // Legalább tanev, szemeszter, evfolyamJel kell megadva legyen, lehet még targy, targyTipus, kepzesId + // Visszaadja az összes épp aktuális, a feltételeknek megfelelő szempontrendszert + $q = "SELECT szr1.*, targyNev, kepzesNev, kepzes.tanev as kepzesTanev + FROM szempontRendszer AS szr1 LEFT JOIN targy USING (targyId) LEFT JOIN kepzes USING (kepzesId) + WHERE evfolyamJel='%s' AND CONCAT(szr1.tanev,'/',szr1.szemeszter) = ( + SELECT CONCAT(szr2.tanev,'/',szr2.szemeszter) FROM szempontRendszer AS szr2 + WHERE szr2.evfolyamJel='%s' + AND (szr2.targyId=szr1.targyId OR (szr1.targyId IS NULL AND szr2.targyId IS NULL)) + AND (szr2.targyTipus=szr1.targyTipus OR (szr1.targyTipus IS NULL AND szr2.targyTipus IS NULL)) + AND (szr2.kepzesId=szr1.kepzesId OR (szr1.kepzesId IS NULL AND szr2.kepzesId IS NULL)) + AND ((szr2.tanev=%u AND szr2.szemeszter<=%u) OR szr2.tanev<%u) + ORDER BY szr2.tanev DESC, szr2.szemeszter DESC LIMIT 1 + )"; + $v = array($ADAT['evfolyamJel'], $ADAT['evfolyamJel'], $ADAT['szemeszter']['tanev'], $ADAT['szemeszter']['szemeszter'], $ADAT['szemeszter']['tanev'] ); + if (isset($ADAT['targyId'])) { + $q .= " AND targyId=".intval($ADAT['targyId']); + $v[] = $ADAT['targyId']; + } + if (isset($ADAT['targyTipus'])) { + $q .= " AND targyTipus='".$ADAT['targyTipus']."'"; + $v[] = $ADAT['targyTipus']; + } + if (isset($ADAT['kepzesId'])) { + $q .= " AND kepzesId=".intval($ADAT['kepzesId']); + $v[] = $ADAT['kepzesId']; + } + + $ret = db_query($q, array('fv' => 'getEvfolyamJelSzempontRendszerek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/szulo.php b/mayor-orig/www/include/modules/naplo/share/szulo.php new file mode 100644 index 00000000..aa15797b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/szulo.php @@ -0,0 +1,76 @@ +'getSzuloAdat','modul'=>'naplo_intezmeny','result'=>'record','values'=>array($szuloId))); + + } + + function getSzulok($SET = array('csakId'=>false,'result'=>'','szuloIds'=>array())) { + + if (is_array($SET['szuloIds']) && count($SET['szuloIds']) > 0 && count($SET['szuloIds']) < 50 ) $W_SZULO = ' WHERE szuloId IN ('.implode(',',$SET['szuloIds']).')'; + if ($SET['csakId'] === true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + if ($SET['result'] == 'idonly') { + $q = "SELECT szuloId + FROM ".__INTEZMENYDBNEV.".szulo $W_SZULO + ORDER BY CONCAT_WS(' ',csaladinev,utonev)"; + $ret = db_query($q, array('fv' => 'getSzulok', 'modul' => 'naplo_intezmeny', 'result' => 'idonly')); + } elseif ($SET['result']=='standard') { + $q = "SELECT *,TRIM(CONCAT_WS(' ',nevElotag,csaladinev,utonev)) AS szuloNev + FROM ".__INTEZMENYDBNEV.".szulo $W_SZULO + ORDER BY CONCAT_WS(' ',csaladinev,utonev)"; + $ret = db_query($q, array('fv' => 'getSzulok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + } elseif ($SET['result']=='indexed') { + $q = "SELECT szuloId,TRIM(CONCAT_WS(' ',nevElotag,csaladinev,utonev)) AS szuloNev, statusz + FROM ".__INTEZMENYDBNEV.".szulo $W_SZULO + ORDER BY CONCAT_WS(' ',csaladinev,utonev)"; + $ret = db_query($q, array('fv' => 'getSzulok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + } else { + $q = "SELECT *,TRIM(CONCAT_WS(' ',nevElotag,csaladinev,utonev)) AS szuloNev + FROM ".__INTEZMENYDBNEV.".szulo $W_SZULO + ORDER BY CONCAT_WS(' ',csaladinev,utonev)"; + $ret = db_query($q, array('fv' => 'getSzulok', 'modul' => 'naplo_intezmeny', 'keyfield' => 'szuloId', 'result' => 'assoc')); + foreach ($ret as $szuloId => $adat) $ret['szuloIds'][] = $szuloId; + } + return $ret; + + } + + function getSzuloDiakjai() { + $q = "SELECT diak.diakId AS diakId,". + "TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) AS diakNev ". + "FROM szulo LEFT JOIN diak ON (szuloId IN (anyaId,apaId,gondviseloId,neveloId)) ". + "WHERE szulo.userAccount='"._USERACCOUNT."'"; + return db_query($q, array('fv' => 'getSzuloDiakjai', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + } + + function getSzulokDiakjai($szuloIds) { + $q = "SELECT szuloId, diak.diakId AS diakId,". + "TRIM(CONCAT_WS(' ',viseltNevElotag,viseltCsaladiNev,viseltUtonev)) AS diakNev ". + "FROM szulo LEFT JOIN diak ON (szuloId IN (anyaId,apaId,gondviseloId,neveloId)) ". + "WHERE szuloId IN (".implode(',', array_fill(0, count($szuloIds), '%u')).")"; + return db_query( + $q, array('fv' => 'getSzulokDiakjai','modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'szuloId', 'values' => $szuloIds) + ); + } + + function getDiakSzulei($diakId) { + $q = "SELECT anyaId,apaId,gondviseloId,neveloId ". + "FROM diak ". + "WHERE diakId=%u"; + return db_query($q,array('fv' => 'getDiakSzulei', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($diakId))); + } + + + function getSzuloNevById($szuloId, $szuleteskori=false) { + if ($szuleteskori) { + $q = "SELECT IF(szuleteskoriCsaladinev='',TRIM(CONCAT_WS(' ', nevElotag, csaladiNev, utonev)),TRIM(CONCAT_WS(' ', szuleteskoriNevElotag, szuleteskoriCsaladinev, szuleteskoriUtonev))) AS szuloNev FROM szulo WHERE szuloId=%u"; + } else { + $q = "SELECT TRIM(CONCAT_WS(' ', nevElotag, csaladiNev, utonev)) AS szuloNev FROM szulo WHERE szuloId=%u"; + } + return db_query($q, array('fv' => 'getszuloNevById', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($szuloId))); + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tanar.php b/mayor-orig/www/include/modules/naplo/share/tanar.php new file mode 100644 index 00000000..0f0b90b6 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tanar.php @@ -0,0 +1,170 @@ + _TANAR_OID, + 'viseltNevElotag' => _TANAR_VNE, + 'viseltCsaladiNev' => _TANAR_VCSN, + 'viseltUtonev' => _TANAR_VUN, + 'szuletesiHely' => _TANAR_SZH, + 'szuletesiIdo' => _TANAR_SZI, + ); + + function getTanarok($SET = array('targyId'=> null,'mkId' => null, 'tanev' => __TANEV, 'beDt' => null, 'kiDt' => null, 'összes'=> false, 'override' => false, 'telephelyId'=>null, 'result' => 'indexed', 'extraAttrs' => null), $olr = '') { + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed', 'assoc')); + $beDt = $SET['beDt']; $kiDt = $SET['kiDt']; + initTolIgDt($SET['tanev'], $beDt, $kiDt, $SET['override']); + + $where = $v = array(); + if ($SET['összes']!==true && in_date_interval(date(),$beDt,$kiDt)==true) { // ha nincs benne a mai nap a vizsgált intervallumban, akkor értelmetlen (lehet) ez a feltétel + $where[] = "statusz IN ('határozatlan idejű','határozott idejű','külső óraadó')"; + } + if ($beDt != '') { + $where[] = "((kiDt IS NULL) OR '%s' <= kiDt)"; + array_push($v, $beDt); + } + if ($kiDt != '') { + $where[] = "'%s' >= beDt"; + array_push($v, $kiDt); + } + if ($SET['extraAttrs'] != '') $extraAttrs = ', '.$SET['extraAttrs']; +/* --not implemented + if ($SET['telephelyId'] != '') { + $where[] = " (telephelyId = %u OR telephelyId IS NULL) "; + array_push($v, $SET['telephelyId']); + } + + // 2015-08-06 - aktualisStatusz kiiktatása - statusz mező megjelenése miatt... + IF( beDt <= CURDATE() AND (kiDt IS NULL OR CURDATE()<=kiDt),'jogviszonyban van','nincs jogviszonyban') as aktualisStatusz, +*/ + if ($SET['targyId'] != '') { + if (count($where) > 0) $W = 'AND ' . implode(' AND ',$where); + + $q1 = "SELECT tanar.tanarId AS tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev, statusz, + hetiKotelezoOraszam,hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam,hetiMunkaora + $extraAttrs + FROM ".__INTEZMENYDBNEV.".targy LEFT JOIN ".__INTEZMENYDBNEV.".mkTanar USING (mkId) LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) + WHERE targyId=%u AND tanarId IS NOT NULL ".$W; + $q2 = "SELECT tanar.tanarId AS tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev, statusz, + hetiKotelezoOraszam,hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam,hetiMunkaora + $extraAttrs + FROM ".__INTEZMENYDBNEV.".kepesitesTargy LEFT JOIN ".__INTEZMENYDBNEV.".tanarKepesites USING (kepesitesId) LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) + WHERE targyId=%u AND tanarId IS NOT NULL ".$W; + array_unshift($v, $SET['targyId']); + $tmp=$v; foreach ($tmp as $tmpV) $v[]=$tmpV; + $q = "(".$q1.") UNION DISTINCT (".$q2.") ORDER BY tanarNev,tanarId"; + } elseif ($SET['mkId'] == '') { + if (count($where) > 0) $W = 'WHERE ' . implode(' AND ',$where); + $q = "SELECT tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev, statusz, + hetiKotelezoOraszam,hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam,hetiMunkaora + $extraAttrs + FROM ".__INTEZMENYDBNEV.".tanar $W ORDER BY CONCAT_WS(' ', ViseltCsaladiNev, viseltUtoNev)"; + } else { + if (count($where) > 0) $W = 'AND ' . implode(' AND ',$where); + $q = "SELECT tanar.tanarId AS tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev, statusz, + hetiKotelezoOraszam,hetiLekotottMinOraszam,hetiLekotottMaxOraszam,hetiKotottMaxOraszam,hetiMunkaora + $extraAttrs + FROM ".__INTEZMENYDBNEV.".tanar LEFT JOIN ".__INTEZMENYDBNEV.".mkTanar USING (tanarId) + WHERE mkId=%u $W ORDER BY CONCAT_WS(' ', ViseltCsaladiNev, viseltUtoNev)"; + array_unshift($v, $SET['mkId']); + } + return db_query($q, array('fv' => 'getTanarok', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => 'tanarId', 'values' => $v)); + + } + + function getTanarNevById($tanarId, $olr = null) { + + $q = "SELECT TRIM(CONCAT_WS(' ', viseltNevElotag, viseltCsaladiNev, viseltUtonev)) AS tanarNev + FROM ".__INTEZMENYDBNEV.".tanar WHERE tanarId=%u"; + return db_query($q, array('fv' => 'getTanarNevById', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tanarId)), $olr); + + } + + function getTanarMunkakozosseg($tanarId) { + $q = "SELECT mkId FROM mkTanar WHERE tanarId=%u"; + return db_query($q, array('fv' => 'getTanarMunkakozosseg', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanarId))); + } + + function getSzabadTanarok($dt, $ora, $olr = '') { + + $q = "SELECT tanar.tanarId AS tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev + FROM ".__INTEZMENYDBNEV.".tanar LEFT JOIN ora ON tanarId=ki AND dt='%1\$s' and ora=%2\$u + WHERE ki IS NULL AND beDt<='%1\$s' and (kiDt IS NULL OR kiDt>='%1\$s') + ORDER BY CONCAT_WS(' ', ViseltCsaladiNev, viseltUtoNev)"; + $v = array($dt, $ora); + return db_query($q, array('fv' => 'getSzabadTanarok', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $olr); + } + + function getFoglaltTanarok($dt, $ora, $olr = '') { + + $q = "SELECT DISTINCT tanar.tanarId AS tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev + FROM ".__INTEZMENYDBNEV.".tanar LEFT JOIN ora ON tanarId=ki AND dt='%1\$s' and ora=%2\$u + WHERE ki IS NOT NULL AND beDt<='%1\$s' and (kiDt IS NULL OR kiDt>='%1\$s') + ORDER BY CONCAT_WS(' ', ViseltCsaladiNev, viseltUtoNev)"; + $v = array($dt, $ora); + return db_query($q, array('fv' => 'getFoglaltTanarok', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $olr); + } + + function getTanarAdatById($tanarIds, $olr = '') { + + if (!is_array($tanarIds)) $tanarIds = array($tanarIds); + $q = "SELECT *,TRIM(CONCAT_WS(' ',viseltNevElotag, ViseltCsaladiNev, viseltUtoNev)) AS tanarNev FROM ".__INTEZMENYDBNEV.".tanar WHERE tanarId IN (".implode(',', array_fill(0, count($tanarIds), '%u')).")"; + $R = db_query($q, array('fv' => 'getTanarAdatById', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $tanarIds)); +// for ($i=0; $i 'getTanarOraszam', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v), $olr); + } + + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tanarModifier.php b/mayor-orig/www/include/modules/naplo/share/tanarModifier.php new file mode 100644 index 00000000..05174959 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tanarModifier.php @@ -0,0 +1,14 @@ + $v) { + $kv[] = "$k='%s'"; + } + $q = "UPDATE tanar SET ".implode($kv,',')." WHERE tanarId=%u"; + } + $v = array_merge(array_values($SET),array($tanarId)); + return db_query($q, array('fv' => 'updateTanarAdat', 'modul' => 'naplo_intezmeny', 'result' => 'update', 'values' => $v), $olr); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tankor.php b/mayor-orig/www/include/modules/naplo/share/tankor.php new file mode 100644 index 00000000..705ab82f --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tankor.php @@ -0,0 +1,1180 @@ + 'checkTankorInTanev', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanev, $tankorId)), $olr + ); + return (count($r) != 0); + } + + function getTankorAdat($tankorId, $tanev = __TANEV, $olr = null) { + $q = "SELECT * FROM tankor + LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN tankorTipus USING (tankorTipusId) + WHERE tankor.tankorId=%u AND tanev=%u"; + return db_query($q, + array('fv' => 'getTankorAdat', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => array($tankorId, $tanev)), $olr + ); + } + + function getTankorAdatByIds($tankorIds, $SET = array('tanev' => __TANEV, 'dt' => '')) { + + if (!is_array($tankorIds)) return false; + if (in_array('',$tankorIds)==true) { + // ez előállhat akkor is, ha valamiért az órarendben NULL tankorId van (speckó óra!) + // $_SESSION['alert'][] = 'message:invalid_array_value_exception:(getTankorAdatByIds:tankorIds:contains empty string)'; + // clean array + $tankorIds = array_filter(array_unique($tankorIds),'_isempty'); + } + $tanev = $SET['tanev']; + // Ha valid a tanev... ??? Aktív??? + if ($SET['dt']!='') { + $dt = $SET['dt']; + $SZ = getSzemeszterByDt($dt); + if (is_array($SZ) && $SZ['tanev'] != '') { + $tanev = $SZ['tanev']; + $felev = $SZ['szemeszter']; + } else { // a referencia dátum kívül esik a tanéven, legyen a default + $tanev = __TANEV; + $felev = 1; + } + $q = "SELECT * FROM tankor + LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tankor.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") AND tanev=%u AND szemeszter=%u"; + + array_push($tankorIds, $tanev, $felev); + return db_query($q, array( + 'fv' => 'getTankorAdatByIds', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + )); + } elseif ($tanev!='') { + $q = "SELECT * FROM tankor + LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tankor.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") AND tanev=%u"; + array_push($tankorIds, $tanev); + return db_query($q, array( + 'fv' => 'getTankorAdatByIds', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + )); + } + return false; + } + + function getTankorTargyId($tankorId) { + $q = "SELECT targyId FROM tankor WHERE tankor.tankorId=%u"; + return db_query($q, array('fv' => 'getTankorTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tankorId))); + } + + function getTankorMkId($tankorId) { + $q = "SELECT mkId FROM tankor LEFT JOIN targy USING (targyId) WHERE tankor.tankorId=%u"; + return db_query($q, array('fv' => 'getTankorMkId', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tankorId))); + } + + function getTankorByMkId($mkId, $tanev, $SET = array('csakId' => false,'filter' => array()) ) { + + global $_TANEV, $__tankorOrder; + + if ($tanev == __TANEV) $TA = $_TANEV; else $TA = getTanevAdat($tanev); + $szsz = count($TA['szemeszter']); + + if (count($SET['filter']) > 0) $W = ' AND '.implode(' AND ',$SET['filter']); else $W = ''; + + if ($SET['csakId'] !== true) { + $q = "SELECT tankor.tankorId AS tankorId, tankorNev, tankorTipusId, targy.targyId AS targyId, kovetelmeny, jelenlet, felveheto, + tanev, szemeszter, SUM(oraszam)/%u AS oraszam + FROM tankor LEFT JOIN targy USING (targyId) + LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + LEFT JOIN tankorTipus USING (tankorTipusId) + WHERE tanev=%u AND mkId=%u $W + GROUP BY tankorId + ORDER BY $__tankorOrder"; + $v = array($szsz, $tanev, $mkId); + if ($SET['result'] == 'multiassoc') { + $RESULT = db_query($q, array( + 'fv' => 'getTankorByMkId', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $v + )); + } else { + $RESULT = db_query($q, array( + 'fv' => 'getTankorByMkId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v + )); + $tolDt = isset($SET['tolDt']) ? $SET['tolDt'] : $TA['kezdesDt']; + $igDt = isset($SET['igDt']) ? $SET['igDt'] : $TA['zarasDt']; + for($i = 0; $i < count($RESULT); $i++) { + $RESULT[$i]['tanarok'] = getTankorTanaraiByInterval( + $RESULT[$i]['tankorId'], + array('tanev' => $tanev, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'nevsor', + 'datumKenyszeritessel' => $SET['datumKenyszeritessel'] + ) + ); + } + } + } else { + $q = "SELECT tankor.tankorId AS tankorId + FROM tankor LEFT JOIN targy USING (targyId) + LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tanev=%u AND mkId=%u $W + GROUP BY tankorId + ORDER BY $__tankorOrder"; + $v = array($tanev, $mkId); + $RESULT = db_query($q, array('fv' => 'getTankorByMkId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + } + return $RESULT; + } + + /* + A megadott osztályokhoz - és csak azokhoz - rendelt tankörök listája + */ + function getTankorByOsztalyIds($osztalyIds, $tanev = __TANEV) { // csak Id-kkel tér vissza + + $q = "SELECT DISTINCT tankorId FROM tankorOsztaly LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") AND tanev=%u + AND tankorId NOT IN ( + SELECT DISTINCT tankorId FROM tankorOsztaly LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE osztalyId NOT IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") AND tanev=%u + )"; + $v = mayor_array_join($osztalyIds, array($tanev), $osztalyIds, array($tanev)); + return db_query($q, array('fv' => 'getTankorByOsztalyIds', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + } + + function getTankorByTeremId($teremId, $tanev = __TANEV) { // KIVÉTEL speciális függvény, teremben levő órák tankörei - tesztelés alatt + + $q = "SELECT tankor.* FROM ora LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) WHERE teremId = %u GROUP BY tankorId"; + $v = array($teremId); + return db_query($q, array('fv' => 'getTankorByTeremId', 'debug'=>false,'modul' => 'naplo', 'result' => 'indexed', 'values' => $v)); + } + + + function getTankorByOsztalyId($osztalyId, $tanev = __TANEV, $SET = array('csakId' => false, 'tanarral' => false, 'result' => '')) { + + global $__tankorOrder; + + $v = array($osztalyId, $tanev); + if ($SET['csakId'] == true || $SET['result'] == 'idonly') { + +// Felesleges a tankor tábla a lekérdezésben - nem? +// $q = "SELECT DISTINCT tankor.tankorId +// FROM tankor LEFT JOIN tankorSzemeszter USING (tankorId) +// LEFT JOIN tankorOsztaly USING (tankorId) +// WHERE osztalyId=%u AND tanev=%u +// ORDER BY LPAD(substring_index(substring_index(tankorNev,'-',1),'.',1),2,'0'),tankorNev,tanev,szemeszter"; + $q = "SELECT DISTINCT tankorId + FROM tankorOsztaly LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE osztalyId=%u AND tanev=%u + ORDER BY ".$__tankorOrder.",tanev,szemeszter"; + $RESULT = db_query($q, array('fv' => 'getTankorByOsztalyId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + + } else { + + $q = "SELECT DISTINCT tankor.tankorId,tankorNev,tankorTipusId,targyId,kovetelmeny,jelenlet,felveheto + FROM tankor + LEFT JOIN tankorTipus USING (tankorTipusId) + LEFT JOIN tankorSzemeszter USING (tankorId) + LEFT JOIN tankorOsztaly USING (tankorId) + WHERE osztalyId=%u AND tanev=%u + ORDER BY ".$__tankorOrder.",tanev,szemeszter"; + if (!isset($SET['result']) || $SET['result']=='') { + $RESULT = db_query($q, array('fv' => 'getTankorByOsztalyId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if ($SET['tanarral'] === true) { + global $_TANEV; + if ($tanev != __TANEV) $TA = getTanevAdat($tanev); else $TA = $_TANEV; + for($i = 0; $i < count($RESULT); $i++) + $RESULT[$i]['tanarok'] = getTankorTanaraiByInterval($RESULT[$i]['tankorId'], array('tanev' => $tanev, 'tolDt' => $TA['kezdesDt'], 'igDt' => $TA['zarasDt'], 'result' => 'nevsor')); + } + } else { + $RESULT = db_query($q, array( + 'fv' => 'getTankorByOsztalyId', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $v + )); + } + } + return $RESULT; + } + + function getTankorByTargyId($targyId, $tanev, $SET = array('idonly' => true, 'lista' => false), $olr = '') { + + global $_TANEV,$__tankorOrder; + + if ($tanev != __TANEV) $TA = getTanevAdat($tanev); + else $TA = $_TANEV; + $szsz = count($TA['szemeszter']); + if ($SET['idonly']) { + $q = "SELECT tankor.tankorId AS tankorId + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tanev=%u AND targyId=%u + GROUP BY tankorId"; + $RESULT = db_query($q,array('fv' => 'getTankorByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanev, $targyId))); + } elseif ($SET['lista']) { + $q = "SELECT DISTINCT tankor.tankorId AS tankorId,tankorNev,tankorTipusId,kovetelmeny,jelenlet,felveheto + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tanev=%u AND targyId=%u + ORDER BY ".$__tankorOrder; + $RESULT = db_query($q, array('fv' => 'getTankorByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanev, $targyId))); + } else { + $q = "SELECT tankor.tankorId AS tankorId,tankorNev,tankorTipusId,kovetelmeny,jelenlet,felveheto,tanev,szemeszter,sum(oraszam)/%u AS oraszam + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + WHERE tanev=%u AND targyId=%u + GROUP BY tankorId + ORDER BY ".$__tankorOrder; + $RESULT = db_query($q, array('fv' => 'getTankorByTargyId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($szsz, $tanev, $targyId))); + } + return $RESULT; + } + + function getTankorByTanarId($tanarId, $tanev = __TANEV, $SET = array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'result' => '', 'tanarral' => false), $olr = '') { + + global $__tankorOrder; + + if ($tanev=='') $tanev=__TANEV; + + if ($tanarId=='') { + $_SESSION['alert'][] = '::getTankorByTanarId fv hívás a kötelező $tanarId paraméter nélkül!'; + return false; + } + + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); +/* DÁTUMOKKK!!!!! */ + $v = array($tanev, $tanarId, $tolDt, $igDt); + if ($SET['csakId']===true) { + $q = "SELECT tankor.tankorId AS tankorId + FROM tankor LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + LEFT JOIN tankorTanar ON (tankor.tankorId=tankorTanar.tankorId) + WHERE tanev=%u AND tanarId=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt + GROUP BY tankorId"; + $RESULT = db_query($q, array('fv' => 'getTankorByTanarId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $olr); + } else { + $q = "SELECT tankor.tankorId AS tankorId,tankorNev,tankorTipusId,kovetelmeny,jelenlet,felveheto,tanev,szemeszter + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTanar ON (tankor.tankorId=tankorTanar.tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + WHERE tanev=%u AND tanarId=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt + GROUP BY tankorId + ORDER BY ".$__tankorOrder.",tanev,szemeszter"; + // a kompatibilitás jegyében... + if ($SET['result']=='multiassoc') { + $RESULT = db_query($q, array( + 'result' => 'multiassoc', 'values' => $v, 'keyfield' => 'tankorId', 'modul' => 'naplo_intezmeny', 'fv' => 'getTankorByTanarId' + )); + } else { + $RESULT = db_query($q, array( + 'result' => 'indexed', 'values' => $v, 'modul' => 'naplo_intezmeny', 'fv' => 'getTankorByTanarId' + ), $olr); + if ($SET['tanarral'] === true) { + global $_TANEV; + if ($tanev != __TANEV) $TA = getTanevAdat($tanev); else $TA = $_TANEV; + for($i = 0; $i < count($RESULT); $i++) + $RESULT[$i]['tanarok'] = getTankorTanaraiByInterval($RESULT[$i]['tankorId'], array('tanev' => $tanev, 'tolDt' => $TA['kezdesDt'], 'igDt' => $TA['zarasDt'], 'result' => 'nevsor')); + } + + } + } + return $RESULT; + } + + function getTankorDiakFelmentes($diakId, $tanev = __TANEV, $SET = array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'override' => false, 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól'), 'nap'=>null, 'ora'=>null) , $olr = '') { + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + + if ($SET['csakId'] === true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + elseif ($SET['result'] == '') $SET['result'] = 'indexed'; + if (isset($SET['felmentesTipus'])) { + if (!is_array($SET['felmentesTipus'])) { + $W = ' AND felmentesTipus = "'.$SET['felmentesTipus'].'" '; + } else { + $W = ' AND felmentesTipus IN ("'.implode('","',$SET['felmentesTipus']).'") '; + } + } else { // alapértelmezés + $W = ' AND felmentesTipus = "óralátogatás alól" '; + } + + if (is_numeric($SET['nap'])) $W .= " AND (nap=".$SET['nap']." OR nap is null) "; + if (is_numeric($SET['ora'])) $W .= " AND (ora=".$SET['ora']." OR ora is null) "; + + if ($SET['result'] == 'idonly') { + $q = "SELECT DISTINCT tankorId + FROM ".__INTEZMENYDBNEV.".tankorDiakFelmentes LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE diakId=%u AND tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt".$W + ; + $v = array($diakId, $tanev, $tolDt, $igDt,$tolDt, $igDt); + + } else { + $q = "SELECT * + FROM ".__INTEZMENYDBNEV.".tankorDiakFelmentes + WHERE diakId=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt".$W."" + ; + $v = array($diakId, $tolDt, $igDt,$tolDt, $igDt); + + } + $RESULT = db_query($q, array('keyfield' => 'tankorId', 'modul' => 'naplo_intezmeny', 'fv' => 'getTankorDiakFelmentes', 'values' => $v, 'result' => $SET['result'])); + return $RESULT; + } + + function getFelmentes($SET = array('tanev'=>__TANEV, 'osztalyId'=>false,'csakId' => false, 'tolDt' => '', 'igDt' => '', 'override' => false, 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól'), 'nap'=>null, 'ora'=>null) , $olr = '') { + $tanev = ($SET['tanev']!='')?$SET['tanev']:__TANEV; + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + + if ($SET['csakId'] === true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + elseif ($SET['result'] == '') $SET['result'] = 'indexed'; + if (isset($SET['felmentesTipus'])) { + if (!is_array($SET['felmentesTipus'])) { + $W = ' AND felmentesTipus = "'.$SET['felmentesTipus'].'" '; + } else { + $W = ' AND felmentesTipus IN ("'.implode('","',$SET['felmentesTipus']).'") '; + } + } else { // alapértelmezés + $W = ' AND felmentesTipus = "óralátogatás alól" '; + } + + if (is_numeric($SET['nap'])) $W .= " AND (nap=".$SET['nap']." OR nap is null) "; + if (is_numeric($SET['ora'])) $W .= " AND (ora=".$SET['ora']." OR ora is null) "; + if (is_numeric($SET['osztalyId'])) $W .= " AND osztalyId=".$SET['osztalyId']." "; + + if ($SET['result'] == 'idonly') { + $q = "SELECT DISTINCT tankorId + FROM ".__INTEZMENYDBNEV.".tankorDiakFelmentes LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt".$W + ; + $v = array($tanev, $tolDt, $igDt,$tolDt, $igDt); + + } else { + $q = "SELECT a.* + FROM ".__INTEZMENYDBNEV.".tankorDiakFelmentes AS a + LEFT JOIN ".__INTEZMENYDBNEV.".osztalyDiak ON (osztalyDiak.diakId=a.diakId) + WHERE ('%s' <= a.kiDt OR a.kiDt IS NULL) + AND '%s' >= a.beDt".$W." ORDER BY a.diakId,a.beDt" + ; + $v = array($tolDt, $igDt, $tolDt, $igDt); + + } + $RESULT = db_query($q, array('debug'=>false,'keyfield' => 'tankorId', 'modul' => 'naplo_intezmeny', 'fv' => 'getTankorDiakFelmentes', 'values' => $v, 'result' => $SET['result'])); + return $RESULT; + } + + function getTankorByDiakId($diakId, $tanev = __TANEV, $SET = array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'override' => false, 'result'=>'indexed') , $olr = '') { + + global $__tankorOrder; + + if (isset($SET['jelenlet']) && $SET['jelenlet']!='') { + //$W = " AND tankorDiak.jelenlet='%s'"; + $_SESSION['alert'][] = 'info:ERR400:getTankorByDiakId() nem hívható "jelenlet" paraméterrel!:'.$SET['jelenlet']; + } else { + //$W = ''; + } + + $tolDt = $SET['tolDt']; $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + + if ($SET['csakId'] === true || $SET['result'] == 'csakId') $SET['result'] = 'idonly'; + elseif ($SET['result'] == '') $SET['result'] = 'indexed'; + + if ($SET['result'] == 'idonly') { +// $q = "SELECT DISTINCT tankor.tankorId,tankorNev,targyId,tankor.kovetelmeny,tankor.jelenlet,felveheto +// FROM ".__INTEZMENYDBNEV.".tankor LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) +// LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiak USING (tankorId) +// WHERE diakId=$diakId AND tanev=$tanev +// AND ('$tolDt' <= kiDt OR kiDt IS NULL) +// AND '$igDt' >= beDt +// ORDER BY LPAD(substring_index(substring_index(tankorNev,'-',1),'.',1),2,'0'),tankorNev,tanev,szemeszter"; + $q = "SELECT DISTINCT tankorId + FROM ".__INTEZMENYDBNEV.".tankorDiak LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE diakId=%u AND tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt"; +// $RESULT = _m_y_id_query($q, array('db' => 'naplo_intezmeny', 'fv' => 'getTankorByDiakId', 'result' => 'idonly'), $olr); + } else { + $q = "SELECT DISTINCT tankor.tankorId,tankorNev,tankorTipusId,targyId,tankor.kovetelmeny,tankorTipus.jelenlet AS jelenlet, felveheto + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorDiak USING (tankorId) + WHERE diakId=%u AND tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt $W + ORDER BY ".$__tankorOrder.",tanev,szemeszter"; +// if ($SET['result']=='multiassoc') +// $RESULT = _m_y_multiassoc_query($q,'tankorId', array('keyfield'=>'tankorId','db'=>'naplo_intezmeny','fv'=>'getTankorByDiakId')); +// else +// $RESULT = _m_y_query($q, array('db'=>'naplo_intezmeny', 'fv'=>'getTankorByDiakId'), $olr); + } + $v = array($diakId, $tanev, $tolDt, $igDt, $SET['jelenlet']); + $RESULT = db_query($q, array('keyfield' => 'tankorId', 'modul' => 'naplo_intezmeny', 'fv' => 'getTankorByDiakId', 'values' => $v, 'result' => $SET['result'])); + return $RESULT; + } + + function getTankorIdsByDiakIds($diakIds, $SET = array( + 'tanev' => __TANEV, + 'tolDt'=>'', + 'igDt'=>'', + 'felmentettekkel'=>true +// 'jelenlet'=>array('kötelező','nem kötelező') +// 'kovetelmeny'=>array('aláírás','vizsga','jegy') + ) + ) { + + global $__tankorOrder; + + if (isset($SET['jelenlet'])) { + $_SESSION['alert'][] = 'info:!!!:getTankorIdsByDiakIds(), jelenlét parameter is obsolete'; + } + + if (!is_array($diakIds)) return false; + elseif (count($diakIds) == 0) return array(); + $tanev = readVariable($SET['tanev'],'numeric unsigned',__TANEV); + $tolDt = $SET['tolDt']; + $igDt = $SET['igDt']; + initTolIgDt($tanev, $tolDt, $igDt); + +// if (!is_array($SET['jelenlet'])) $SET['jelenlet'] = array('kötelező','nem kötelező'); +// if (!is_array($SET['kovetelmeny'])) $SET['kovetelmeny'] = array('aláírás','vizsga','jegy'); + + // ---------------------- + $q = "SELECT DISTINCT tankorDiak.tankorId + FROM ".__INTEZMENYDBNEV.".tankorDiak + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt + ORDER BY ".$__tankorOrder.",tanev,szemeszter"; +// AND kovetelmeny IN ('".implode("','", array_fill(0, count($SET['kovetelmeny']), '%s'))."') +// AND jelenlet IN ('".implode("','", array_fill(0, count($SET['jelenlet']), '%s'))."') + +// $v = array_merge($diakIds, array($tanev, $tolDt, $igDt), $SET['jelenlet'], $SET['kovetelmeny']); + $v = mayor_array_join($diakIds, array($tanev, $tolDt, $igDt)); + $TANKOROK = db_query($q, array('fv' => 'getTankorIdsByDiakIds', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $olr); + + if (!is_array($SET['felmentettekkel'])) $SET['felmentettekkel'] = true; + /* Ha felmentett, akkor kivegyük-e az adott tanköridket?! */ + if ($SET['felmentettekkel'] === false) { + $q = "SELECT DISTINCT tankorDiak.tankorId + FROM ".__INTEZMENYDBNEV.".tankorDiakFelmentes + WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND tanev=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt"; + $v = mayor_array_join($diakIds, array($tanev, $tolDt, $igDt)); + $FM = db_query($q, array('fv' => 'getTankorIdsByDiakIdsFM', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $olr); + } + if (is_array($TANKOROK)) { + if (is_array($FM) && count($FM)>0) { + $RESULT = array_diff($TANKOROK,$FM); + reset($RESULT); + sort($RESULT); + } else { + $RESULT = $TANKOROK; + } + } + return $RESULT; + } + + function getTankorById($tankorId, $tanev = __TANEV, $olr = '') { + if ($tankorId=='') return false; + if ($tanev == '') return getTankorok(array("tankor.tankorId=$tankorId"), '', $olr); + else return getTankorok(array("tankor.tankorId=$tankorId", "tanev=$tanev"), '', $olr); + } + + function getTankorByTanev($tanev = __TANEV, $SET = array('result' => 'indexed', 'jelenlet'=>''), $olr = '') { + global $__tankorOrder; + + if ($SET['jelenlet']!='') { + $W['join'] = ' LEFT JOIN '.__INTEZMENYDBNEV.'.tankorTipus USING (tankorTipusId) '; + $W['where']= ' AND tankorTipus.jelenlet IN ("'.$SET['jelenlet'].'")'; + } + if ($SET['result'] == 'idonly') { + $q = "SELECT DISTINCT tankorId + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + ".$W['join']." + WHERE tanev=%u ".$W['where']." ORDER BY $__tankorOrder"; + $ret = db_query($q, array('fv' => 'getTankorByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tanev)), $olr); + } else { + $q = "SELECT DISTINCT tankorId,tankorNev,targyId + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + ".$W['join']." + WHERE tanev=%u ".$W['where']." ORDER BY $__tankorOrder"; + $ret = db_query($q, array('fv' => 'getTankorByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tanev)), $olr); + } + return $ret; + } + + function getTankorByBontasIds($bontasIds) { + /* + * Az aktuális tanévben kérdezi le a bontások által megadott osztályhoz és tárgyhoz rendelhető tankörök tankorId-it... + */ + if (!is_array($bontasIds) || count($bontasIds)==0) return array(); + $q = "select distinct tankorId from ".__TANEVDBNEV.".kepzesTargyBontas + left join (tankor left join tankorOsztaly using (tankorId)) using (targyId,osztalyId) + left join tankorSzemeszter using(tankorId) + where tanev=".__TANEV." and bontasId in (".implode(',', array_fill(0, count($bontasIds), '%u')).")"; + return db_query($q, array('fv'=>'getTankorByBontasIds','modul'=>'naplo_intezmeny','result'=>'idonly','values'=>$bontasIds)); + } + + // FIGYELEM! NEM MINDIG OPTIMÁLIS EREDMÉNY + function getTankorok( + $FILTER = array(), + $ORDER = '', + $olr = '' + ) { + global $__tankorOrder; + /* Általános filterező */ + $QW = ''; + if (is_array($FILTER) && count($FILTER)>0) { + $QW = " WHERE ".implode(' AND ',$FILTER); + } + if ($ORDER == '') $ORDER = $__tankorOrder.",tanev,szemeszter"; + + // --TODO: továbbgondolásra szorul + // jelenlet = tankorJelenlet + $q = "SELECT DISTINCT tankor.tankorId,tankorTipusId,tankorNev,targyId,kovetelmeny,jelenlet,felveheto,tanev,zaroKovetelmeny + FROM ".__INTEZMENYDBNEV.".tankor + LEFT JOIN ".__INTEZMENYDBNEV.".tankorTipus USING (tankorTipusId) + LEFT JOIN ".__INTEZMENYDBNEV.".tankorSzemeszter USING (tankorId) + LEFT JOIN ".__INTEZMENYDBNEV.".targy USING (targyId) + $QW + ORDER BY $ORDER"; + return db_query($q, array('fv' => 'getTankorok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed'), $olr); + + } + + function getTankorSzemeszterei($tankorId,$SET=array(),$olr='') { + if ($tankorId=='') return false; + + $q = "SELECT * FROM tankorSzemeszter LEFT JOIN szemeszter using (tanev,szemeszter) WHERE tankorId=%u order by tanev,szemeszter"; + $ret = db_query($q, array('fv' => 'getTankorSzemeszterei', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tankorId)), $olr); + + if (is_array($SET['arraymap'])) return reindex($ret, $SET['arraymap']); + else return $ret; + } + + function getTankorOsztalyai($tankorId, $SET = array('result' => 'id'), $olr='') { // lásd még getTankorOsztalyaiByTanev + if ($tankorId=='') return false; + + $q = "SELECT DISTINCT osztalyId FROM tankorOsztaly WHERE tankorId=%u"; + if ($SET['result'] == 'id') { + return db_query($q, array('fv' => 'getTankorOsztalyai', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tankorId)), $olr); + } else { + return db_query($q, array('fv' => 'getTankorOsztalyai', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tankorId)), $olr); + } + } + + function getTankorOsztalyaiByTanev($tankorId, $tanev = __TANEV, $SET = array('result' => 'id', 'tagokAlapjan' => false, 'tolDt' => '', 'igDt' => ''), $olr = null) { + + if ($tankorId=='' || $tanev=='') return false; + + if ($SET['tagokAlapjan']) { // Ha a tényleges tagok alapján keressük a tankör osztályait... + $tolDt = readVariable($SET['tolDt'], 'datetime', null); + $igDt = readVariable($SET['igDt'], 'datetime', null); + initTolIgDt($tanev, $tolDt, $igDt); + /* + - a diák tagja a tankörnek az adott idő intervellumban + - a diák tagja az osztálynak az adott idő intervellumban + - az osztály hozzá van rendelve a tankörhöz (lehet egy diák több osztálynak is tagja - ez bezavarhat) + */ + $q = "SELECT osztalyId FROM tankorDiak LEFT JOIN osztalyDiak USING (diakId) + WHERE tankorId=%u + AND tankorDiak.beDt <= '%s' AND (tankorDiak.kiDt IS NULL OR tankorDiak.kiDt >= '%s') + AND osztalyDiak.beDt <= '%s' AND (osztalyDiak.kiDt IS NULL OR osztalyDiak.kiDt >= '%s') + AND osztalyId IN (SELECT DISTINCT osztalyId FROM tankorOsztaly WHERE tankorId=%u) + GROUP BY osztalyId ORDER BY COUNT(osztalyId) DESC"; // A legtöbb tagú osztály kerüljön előre + $v = array($tankorId, $igDt, $tolDt, $igDt, $tolDt, $tankorId); + if ($SET['result'] == 'id') + $return = db_query($q, array('fv' => 'getTankorOsztalyaiByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v),$olr); + else + $return = db_query($q, array('fv' => 'getTankorOsztalyaiByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $olr); + if (is_array($return) && count($return) > 0) return $return; + else $_SESSION['alert'][] = 'info:fallback:ennek a tankörnek egy tagja sincs, tagok alapján nem tudom lekérdezni az érintett osztályokat:'.$tankorId; + } + // Ha nincs a tankörnek egy tagja sem, vagy nem tagok alapján keresünk... + $q = "SELECT tankorOsztaly.osztalyId AS osztalyId FROM tankorOsztaly + LEFT JOIN osztaly USING (osztalyId) + WHERE tankorId=%u AND kezdoTanev<=%u AND vegzoTanev>=%u"; + $v = array($tankorId, $tanev, $tanev); + if ($SET['result'] == 'id') + return db_query($q, array('fv' => 'getTankorOsztalyaiByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $olr); + else + return db_query($q, array('fv' => 'getTankorOsztalyaiByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $olr); + } + + function getTankorOsztalyaiByBontas($tankorId) { + + $q = "select distinct osztalyId from bontasTankor left join kepzesTargyBontas using (bontasId) where tankorId=%u"; + return db_query($q, array('fv'=>'getTankorOsztalyaiByBontas','modul'=>'naplo','result'=>'idonly','values'=>array($tankorId))); + + } + + function getTankorTanarai($tankorId, $olr = '') { + if ($tankorId == '') return false; + $q = "SELECT tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, viseltCsaladiNev, viseltUtonev)) as tanarNev, min(tankorTanar.beDt) AS minBeDt, max(tankorTanar.kiDt) AS maxKiDt + FROM ".__INTEZMENYDBNEV.".tankorTanar LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) + WHERE tankorId=%u GROUP BY tanarId ORDER BY tankorTanar.beDt,tankorTanar.kiDt"; + return db_query($q, array('fv' => 'getTankorTanarai', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tankorId)), $olr); + } + + function getTankorTanarBejegyzesek($tankorId, $olr = '') { + if ($tankorId == '') return false; + $q = "SELECT tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, viseltCsaladiNev, viseltUtonev)) as tanarNev, tankorTanar.beDt, tankorTanar.kiDt + FROM ".__INTEZMENYDBNEV.".tankorTanar LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) + WHERE tankorId=%u ORDER BY tankorTanar.beDt,tankorTanar.kiDt"; + return db_query($q, array('fv' => 'getTankorTanarBejegyzesek', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($tankorId)), $olr); + } + + function getTankorTanaraiByInterval($tankorId, $Param = array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'nevsor', 'datumKenyszeritessel' => false), $olr = '') { + + $tolDt = $Param['tolDt']; + $igDt = $Param['igDt']; + if (!$Param['datumKenyszeritessel']) initTolIgDt($Param['tanev'], $tolDt, $igDt); + + if (!is_array($tankorId)) $tankorId = array($tankorId); + if (implode(',', $tankorId) == '') { + return false; + } + + if ($Param['result'] == 'csakId' or $Param['result'] == 'idonly') { + $q = "SELECT DISTINCT tanarId FROM ".__INTEZMENYDBNEV.".tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorId), '%u')).") + AND (tankorTanar.kiDt IS NULL OR tankorTanar.kiDt>='%s') + AND tankorTanar.beDt<='%s'"; + array_push($tankorId, $tolDt, $igDt); + return db_query($q, array( + 'fv' => 'getTankorTanaraiByInterval', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $tankorId + ), $olr); + } else { + $q = "SELECT DISTINCT tankorId, tanarId, TRIM(CONCAT_WS(' ',viseltNevElotag, viseltCsaladiNev, viseltUtonev)) as tanarNev + FROM ".__INTEZMENYDBNEV.".tankorTanar LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) + WHERE tankorId IN (".implode(',',$tankorId).") + AND (tankorTanar.kiDt IS NULL OR tankorTanar.kiDt>='$tolDt') + AND tankorTanar.beDt<='$igDt' ORDER BY tankorTanar.beDt, tankorTanar.kiDt, tanarNev"; + array_push($tankorId, $tolDt, $igDt); + if ($Param['result'] == 'assoc') + return db_query($q, array( + 'fv' => 'getTankorTanaraiByInterval', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + ), $olr); + else return db_query($q, array( + 'fv' => 'getTankorTanaraiByInterval', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $tankorIds + ), $olr); + } + } + + function getTankorDiakjai($tankorId, $olr = '') { + if ($tankorId=='' || (is_array($tankorId) && count($tankorId) == 0)) return false; + if (is_array($tankorId)) { + $tankorIds = array_filter(array_unique($tankorId),'_isempty'); + $W = "tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + $v = $tankorIds; + } else { + $W = "tankorId=%u"; + $v = array($tankorId); + } + $q = "SELECT DISTINCT diakId FROM ".__INTEZMENYDBNEV.".tankorDiak WHERE ".$W; + $RETURN['idk'] = db_query($q, array( + 'fv' => 'getTankorDiakjai/1', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v + ), $olr); + // jelenlet = diakJelenlet + $q = "SELECT diakId,DATE_FORMAT(kiDt,'%%Y-%%m-%%d') AS kiDt, DATE_FORMAT(beDt,'%%Y-%%m-%%d') AS beDt,jelenlet,jelenlet as diakJelenlet,kovetelmeny,jovahagyva + FROM ".__INTEZMENYDBNEV.".tankorDiak WHERE tankorId=%u ORDER BY bedt"; + $RETURN['adatok'] = db_query($q, array( + 'fv' => 'getTankorDiakjai/2', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'diakId', 'values' => array($tankorId) + ), $olr); + $RETURN['nevek'] = getDiakokById($RETURN['idk'],$olr); + return $RETURN; + } + + function getTankorDiakjaiByInterval($tankorId, $tanev = __TANEV, $tolDt = '', $igDt = '', $olr = '') { + + initTolIgDt($tanev, $tolDt, $igDt); + if ($tankorId == '' || (is_array($tankorId) && count($tankorId) == 0)) return false; + if (is_array($tankorId)) { + $tankorIds = array_filter(array_unique($tankorId),'_isempty'); + $W = "tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + $v = $tankorIds; + array_push($v, $tolDt,$igDt); + } else { + $W = "tankorId=%u"; + $v = array($tankorId,$tolDt,$igDt); + } + $q = "SELECT DISTINCT diakId FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE $W AND (kiDt>='%s' OR kiDt is null) AND beDt<='%s' ORDER BY diakId"; + $RETURN['idk'] = db_query($q, array('fv' => 'getTankorDiakjaiByInterval', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v), $olr); + /* jelenlet, követelmeny, jóváhagyva mezők MÁR nincsenek */ + $q = "SELECT diakId,DATE_FORMAT(kiDt,'%%Y-%%m-%%d') AS kiDt, DATE_FORMAT(beDt,'%%Y-%%m-%%d') AS beDt + FROM ".__INTEZMENYDBNEV.".tankorDiak WHERE $W AND (kiDt>='%s' OR kiDt is null) AND beDt<='%s' ORDER BY bedt"; + $RETURN['adatok'] = db_query($q, array( + 'fv' => 'getTankorDiakjaiByInterval', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'diakId', 'values' => $v + ), $olr); + $RETURN['nevek'] = getDiakokById($RETURN['idk'], $olr); + return $RETURN; + + } + + + function tankorTagjaE($diakId, $tankorId, $tanev = __TANEV, $tolDt = '', $igDt = '') { + + + initTolIgDt($tanev, $tolDt, $igDt); + + $q = "SELECT COUNT(tankorId) FROM tankorDiak + WHERE tankorId=%u AND diakId=%u + AND ('%s' <= kiDt OR kiDt IS NULL) + AND '%s' >= beDt"; + $v = array($tankorId, $diakId, $tolDt, $igDt); + $num = db_query($q, array('fv' => 'tankorTagjaE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + return ($num > 0); + + } + + function tankorVegzosE($tankorId, $tanev = __TANEV, $SET = array('tagokAlapjan' => true, 'tolDt' => null, 'igDt' => null)) { + /* + Egy tankört akkor tekintünk végzősnek, ha csak végzős diákok a tagjai. De lehet, hogy egy diák több osztálynak is tagja. + Ha az egyik esetleg nem végzős, akkor a diákok osztályai közt lesz nem végzős. + + Tehát a tankörhöz rendelt osztályokon belül nézzük a tagok osztályait, mert elvileg ez a halmaz csak bővebb lehet a tankör + tagok osztályainak halmazánál. + */ + + if ($tankorId == '' || $tanev == '') return false; + + // Először lekérdezzük a tankörhöz rendelt nem végzős osztályok számát + $q = "SELECT COUNT(osztalyId) FROM tankorOsztaly LEFT JOIN osztaly USING (osztalyId) + WHERE tankorId=%u AND vegzoTanev != %u"; + $return = (db_query($q, array('fv' => 'tankorVegzosE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($tankorId, $tanev))) == 0); + // Ha a tankörhöz csak végzős osztályok vannak rendelve, vagy a tényleges tagok vizsgálatára nincs szükség, akkor visszatérünk + if ($return || !$SET['tagokAlapjan']) return $return; + + // Lekérdezzük a tankör tagok osztályait (ez figyel a tankörhöz rendelt osztályokra való szűkítésre) + $vegzosOsztalyok = getVegzosOsztalyok(array('tanev' => $tanev, 'result' => 'id')); + $tankorOsztalyai = getTankorOsztalyaiByTanev( + $tankorId, $tanev = $tanev, + array('result' => 'id', 'tagokAlapjan' => true, 'tolDt' => $SET['tolDt'], 'igDt' => $SET['igDt']) + ); + // vizsgáljuk, hogy van-e benne nem végzős + for ($i = 0; $i < count($tankorOsztalyai); $i++) { + if (!in_array($tankorOsztalyai[$i], $vegzosOsztalyok)) return false; + } + return true; + + } + + function tankorokVegzosekE($tankorIds, $tanev = __TANEV, $SET = array('tagokAlapjan' => true, 'tolDt' => null, 'igDt' => null)) { + + if (!is_array($tankorIds) || count($tankorIds) == 0 || $tanev == '') return false; + + // Először lekérdezzük a tankörökhöz rendelt nem végzős osztályok számát + $q = "SELECT tankorId, COUNT(osztaly.osztalyId) AS db FROM tankorOsztaly + LEFT JOIN osztaly ON tankorOsztaly.osztalyId = osztaly.osztalyId AND vegzoTanev != %u + WHERE tankorId IN (".implode(',', $tankorIds).") + GROUP BY tankorId"; + array_unshift($tankorIds, $tanev); + $ret = db_query($q, array( + 'fv' => 'tankorokVegzosekE', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $tankorIds + )); + // Ha a tényleges tagok vizsgálatára is szükség van + if ($SET['tagokAlapjan']) { + // Lekérdezzük a tankör tagok osztályait (ez figyel a tankörhöz rendelt osztályokra való szűkítésre) + $vegzosOsztalyok = getVegzosOsztalyok(array('tanev' => $tanev, 'result' => 'id')); + foreach ($ret as $tankorId => $tAdat) { + $db = $tAdat['db']; + $return[$tankorId] = true; + if ($db != 0) { // Ha csak végzős osztálya van, akkor nem kell tovább nézni, különben... + $tankorOsztalyai = getTankorOsztalyaiByTanev( + $tankorId, $tanev = $tanev, + array('result' => 'id', 'tagokAlapjan' => true, 'tolDt' => $SET['tolDt'], 'igDt' => $SET['igDt']) + ); + // vizsgáljuk, hogy van-e benne nem végzős + for ($i = 0; $i < count($tankorOsztalyai); $i++) { + if (!in_array($tankorOsztalyai[$i], $vegzosOsztalyok)) $return[$tankorId] = false; + break; + } + } + } + } else { + foreach ($ret as $tankorId => $tAdat) { + $return[$tankorId] = ($tAdat['db'] == 0); + } + } + return $return; + + } + + + function tankorDiakKonzisztensE($diakId,$tankorId,$tanev,$tolDt,$igDt) + { + /* + Jelenlét analízis: + tankorDiak.jelenlet = diakJelenlet + */ + + if ($diakId=='' || $tankorId=='') return false; + initTolIgDt($tanev, $tolDt, $igDt); + $tanevDb = tanevDbNev(__INTEZMENY,$tanev); + + // 1. adott intervallumban tagsága + $DTW1 = $DTW2 = array(); + $q = "SELECT beDt, kiDt, kovetelmeny, jelenlet as diakJelenlet FROM tankorDiak WHERE diakId=%u AND tankorId=%u + AND (jelenlet='nem kötelező' OR kovetelmeny!='jegy')AND (kiDt>'%s' OR kiDt IS NULL) AND beDt<'%s' "; + $v = array($diakId, $tankorId, $tolDt, $igDt); + $r = db_query($q, array('fv' => 'tankorDiakKozisztensE', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + for ($i=0; $i0) { + // 2. hiányzásai + $q = "SELECT count(hianyzasId) FROM %1\$s.hianyzas LEFT JOIN ora USING (oraId) WHERE diakId=%2\$u + AND ora.tankorId=%3\$u AND (".implode(' OR ',$DTW1).")"; + $v = array($tanevDb, $diakId, $tankorId); + $dbHianyzas = db_query($q,array('fv' => 'tankorDiakKonzisztensE', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if ($dbHianyzas>0) $_SESSION['alert'][] = 'info:hibas_hianyzasok:'.$dbHianyzas; + + } + if (count($DTW2)>0) { + // 3. jegyei + $q = "SELECT count(jegyId) FROM %1\$s.jegy WHERE diakId=%2\$u AND tankorId=%3\$u AND (".implode(' OR ',$DTW2).")"; + $v = array($tanevDb, $diakId, $tankorId); + $dbJegy = db_query($q,array('fv' => 'tankorDiakKonzisztensE', 'modul' => 'naplo', 'result' => 'value', 'values' => $v)); + if ($dbJegy>0) $_SESSION['alert'][] = 'info:hibas_jegyek:'.$dbJegy; + } + + return ($dbHianyzas==0 && $dbJegy==0); + + } + + + // itt a nap/ora-t is figyelni kellene, ha az pl a felmentésénél adott + function tankorDiakHianyzasIdk($diakId, $tankorIds, $tanev, $tolDt, $igDt, $nap=null, $ora=null) + { + $SET = array('diakId'=>$diakId, 'tankorIds'=>$tankorIds, 'tanev'=>$tanev, 'tolDt'=>$tolDt, 'igDt'=>$igDt, 'nap'=>$nap, 'ora'=>$ora); + return tankorDiakHianyzasIdk2($SET); + } + + function tankorDiakHianyzasIdk2($SET = array('diakId', 'tankorIds', 'tanev', 'tolDt', 'igDt', 'nap'=>null, 'ora'=>null), $olr='') + { + + $diakId = $SET['diakId']; + $tanev = $SET['tanev']; + $tolDt = $SET['tolDt']; + $igDt = $SET['igDt']; + $nap = $SET['nap']; + $ora = $SET['ora']; + $tankorIds = $SET['tankorIds']; + + if (!is_array($tankorIds)) if ($tankorIds == '') return false; + else $tankorIds = array($tankorIds); + if ($diakId=='' || count($tankorIds) == 0) return false; + + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny'); else $lr = $olr; + + initTolIgDt($tanev, $tolDt, $igDt); + $tanevDb = tanevDbNev(__INTEZMENY,$tanev); + + $v = mayor_array_join(array($tanevDb, $tanevDb, $diakId), $tankorIds, array($tanevDb, $tolDt, $igDt)); + + if (isset($nap) && is_numeric($nap)) { + $W1 = ' AND (DAYOFWEEK(`%s`.hianyzas.dt) -1) = %u '; + $v = mayor_array_join($v,array($tanevDb,$nap)); + } + if (isset($ora) && is_numeric($ora)) { + $W2 = ' AND `%s`.hianyzas.ora = %u '; + $v = mayor_array_join($v,array($tanevDb,$ora)); + } + + // 2. hiányzásai + $q = "SELECT hianyzasId FROM `%s`.hianyzas LEFT JOIN `%s`.ora USING (oraId) + WHERE diakId=%u AND ora.tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND `%s`.hianyzas.dt BETWEEN '%s' AND '%s'".$W1.$W2; + $H = db_query($q, array('debug'=>false,'fv' => 'tankorDiakHianyzasIdk', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v), $lr); + // if (count($H) > 0) $_SESSION['alert'][] = 'info:hibas_hianyzasok:db='.count($H); + + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + return $H; + } + + //function tankorDiakJegyIdk($diakId, $tankorIds, $tanev, $tolDt, $igDt) + function tankorDiakJegyIdk($SET = array('diakId', 'tankorIds', 'tanev', 'tolDt', 'igDt'), $olr = '') + { + + $diakId = $SET['diakId']; + $tanev = $SET['tanev']; + $tolDt = $SET['tolDt']; + $igDt = $SET['igDt']; + $nap = $SET['nap']; + $ora = $SET['ora']; + $tankorIds = $SET['tankorIds']; + + if (!is_array($tankorIds)) if ($tankorIds == '') return false; + else $tankorIds = array($tankorIds); + + if ($diakId=='' || count($tankorIds) == 0) return false; + + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny'); else $lr = $olr; + initTolIgDt($tanev, $tolDt, $igDt); + $tanevDb = tanevDbNev(__INTEZMENY,$tanev); + + // 3. jegyei + $q = "SELECT jegyId FROM `%s`.jegy + WHERE diakId=%u AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") AND jegy.dt BETWEEN '%s' AND '%s'"; + $v = mayor_array_join(array($tanevDb, $diakId), $tankorIds, array($tolDt, $igDt)); + $J = db_query($q, array('fv' => 'tankorDiakJegyIdk', 'modul' => 'naplo', 'result' => 'idonly', 'values' => $v)); + //if (count($J) > 0) $_SESSION['alert'][] = 'info:hibas_jegyek:db='.count($J); + + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + return $J; + + } + + function getTankorCsoport($tanev, $olr='') { + + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny'); else $lr = $olr; + + // A tankör csoportjának lekérdezése + $q = "SELECT * FROM ".__TANEVDBNEV.".csoport ORDER BY csoportNev,csoportId "; + $ret = db_query($q, array( + 'fv' => 'getTankorCsoport', 'modul' => 'naplo_intezmeny', 'result' => 'indexed' + ), $lr); + if (is_array($ret) && count($ret) == 0) $ret = array($tankorId); + + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + + return $ret; + + } + + function getTankorCsoportTankoreiByTankorId($tankorId, $olr='') { + + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny'); else $lr = $olr; + + // A tankör csoportjának lekérdezése + $q = "SELECT tankorId FROM ".__TANEVDBNEV.".tankorCsoport + WHERE csoportId=(SELECT csoportId FROM ".__TANEVDBNEV.".tankorCsoport + WHERE tankorId=%u)"; + $ret = db_query($q, array( + 'fv' => 'getTankorCsoportTankoreiByTankorId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => array($tankorId) + ), $lr); + if (is_array($ret) && count($ret) == 0) $ret = array($tankorId); + + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + + return $ret; + + } + + function getTankorLetszam($tankorId,$ADAT=array('refDt'=>'', 'tolDt'=>'', 'igDt'=>''),$olr='') { + + if ($olr!='') $lr = $olr; else $lr = db_connect('naplo_intezmeny'); + + if ($ADAT['refDt']!='') $tolDt=$igDt = $ADAT['refDt']; + else { + $tolDt = $ADAT['tolDt']; + $igDt = $ADAT['igDt']; + } + $q = "SELECT count(*) AS v FROM tankorDiak WHERE tankorId=%u AND beDt<='%s' AND (kiDt is null OR kiDt>='%s')"; + $v = array($tankorId, $igDt, $tolDt); + $r = db_query($q, array('fv' => 'getTankorLetszam(share)', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v),$lr); + + if ($olr=='') db_close($lr); + return $r; + + } + + function getTankorLetszamOsztalyonkent($tankorId,$ADAT=array('tanev'=>'','refDt'=>'', 'tolDt'=>'', 'igDt'=>''),$olr='') { + + if ($olr!='') $lr = $olr; else $lr = db_connect('naplo_intezmeny'); + + if ($ADAT['refDt']!='') $tolDt=$igDt = $ADAT['refDt']; + else { + $tolDt = $ADAT['tolDt']; + $igDt = $ADAT['igDt']; + } + $tanev = ($ADAT['tanev']=='') ? __TANEV : $ADAT['tanev']; + $q = "SELECT diakId FROM tankorDiak WHERE tankorId=%u AND tankorDiak.beDt<='%s' AND (tankorDiak.kiDt is null OR tankorDiak.kiDt>='%s') ORDER BY diakId"; + $v = array($tankorId, $igDt, $tolDt); + $r = db_query($q, array('fv' => 'getTankorLetszamOsztalyonkent(share)', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v),$lr); + + for ($i=0; $i$tanev,'tolDt'=>$tolDt,'igDt'=>$igDt),$lr); + $RE[$o[0]['osztalyJel']] ++; + } + if (is_array($RE)) ksort($RE); + if ($olr=='') db_close($lr); + return $RE ; + + } + + function getTankorOraszamByTanev($tanev, $tankorIds = array()) { + + global $_TANEV; + + if ($tanev == __TANEV) $TA = $_TANEV; + else $TA = getTanevAdat($tanev); + + $szemeszterSzam = count($TA['szemeszter']); + if ($szemeszterSzam == 0) { + return false; + } + + if (is_array($tankorIds) && count($tankorIds) > 0) { + $TANKOR_WHERE = ' tankorId IN ('.implode(',', array_fill(0, count($tankorIds), '%u')).') AND '; + $v = $tankorIds; + } else { + $TANKOR_WHERE = ''; + $v = array(); + } + $return = array(); + $q = "SELECT tankorId, SUM(oraszam)/%u AS oraszam FROM tankorSzemeszter WHERE $TANKOR_WHERE tanev=%u GROUP BY tankorId"; + array_unshift($v, $szemeszterSzam); $v[] = $tanev; + $ret = db_query($q, array( + 'fv' => 'getTankorOraszamByTanev', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'tankorId', 'values' => $v + )); + if (is_array($ret)) foreach ($ret as $tankorId => $tAdat) $return[$tankorId] = $tAdat['oraszam']; + + return $return; + + } + + function tankorTanarRendbenE($tanev, $dt) { + + + $q = "SELECT DISTINCT tankorSzemeszter.tankorId AS tankorId, tankorNev + FROM tankorSzemeszter LEFT JOIN tankorTanar + ON tankorSzemeszter.tankorId=tankorTanar.tankorId AND kiDt>='%s' AND beDt<='%s' + WHERE tanev=%u AND beDt IS NULL"; + $v = array($dt, $dt, $tanev); + $ret = db_query($q, array('fv' => 'tankorTanarRendbenE', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (count($ret) > 0) { + $T = array(); + for ($i = 0; $i < count($ret); $i++) { + $T[] = $ret[$i]['tankorNev'].' ('.$ret[$i]['tankorId'].')'; + } + $_SESSION['alert'][] = 'message:wrong_data:Hiányzó tanár hozzárendelés:'.implode(', ', $T); + return false; + } else { return true; } + + } + + function getTankorTipusok($SET = array('óratervi'=>null, 'tanórán kívüli'=>null)) { + + $q = "SELECT * FROM tankorTipus"; + if ($SET['óratervi'] == true) $q .= " WHERE oratervi='óratervi'"; + elseif ($SET['tanórán kívüli'] == true) $q .= " WHERE oratervi='tanórán kívüli'"; + $r = db_query($q, array('fv' => 'getTankorTipusok', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield'=>'tankorTipusId')); + return $r; + //return getEnumField('naplo_intezmeny', 'tankor', 'tankorTipus'); + + } + + function getTankorNevById($tankorId, $SET = array('tanev'=>__TANEV)) { + + $q = "SELECT DISTINCT tankorNev FROM tankor + LEFT JOIN tankorSzemeszter ON (tankor.tankorId=tankorSzemeszter.tankorId AND tankorSzemeszter.tanev=%u) + WHERE tankor.tankorId=%u"; + + return db_query($q, array('fv' => 'gettankorNevById', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => array($SET['tanev'],$tankorId))); + } + + function getTankorTervezettOraszamok($tankorIds) { + // A tankör adott tanévre tervezett óraszámai + $q = "select tankorId, szemeszter, oraszam from tankorSzemeszter + where tanev=".__TANEV." and tankorId in (".implode(',', array_fill(0, count($tankorIds), '%u')).") + order by tankorId, szemeszter"; + $ret = db_query($q, array('fv'=>'getTankorTervezettOraszamok/tsz','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$tankorIds)); + $return = array(); + foreach ($ret as $adat) { + $return[ $adat['tankorId'] ]['bontasOraszam'][0] = $return[ $adat['tankorId'] ]['bontasOraszam'][1] = array(); + if ($adat['szemeszter'] == 2 && !isset($return[ $adat['tankorId'] ]['oraszam'][0])) $return[ $adat['tankorId'] ]['oraszam'][0] = 0; + $return[ $adat['tankorId'] ]['oraszam'][ $adat['szemeszter']-1 ] = $adat['oraszam']; + } + // a bontásokkal tárgytípusonként lekötött óraszám - elvileg típusonként azonos hetiOraszam szerepelhet csak, ezét a max() ezek egyikét adja vissza + $q = "select tankorId, tipus, szemeszter, max(bontasTankor.hetiOraszam) as hetiOraszam + from bontasTankor left join kepzesTargyBontas using (bontasId) + left join ".__INTEZMENYDBNEV.".kepzesOraterv using (kepzesOratervId) + where tankorId in (".implode(',', array_fill(0, count($tankorIds), '%u')).") + group by tankorId, tipus, szemeszter;"; + $ret = db_query($q, array('fv'=>'getTankorTervezettOraszamok/bt','modul'=>'naplo','result'=>'indexed','values'=>$tankorIds)); + foreach ($ret as $adat) { + $return[ $adat['tankorId'] ]['bontasOraszam'][ $adat['szemeszter']-1 ][] = array('tipus'=>$adat['tipus'],'hetiOraszam'=>$adat['hetiOraszam']); + } + return $return; + } + + function getOratervenKivuliTankorIds() { + + global $_TANEV; + + $tankorTipusok = getTankorTipusok(array('óratervi'=>true)); + $oraterviTipusIds = array_keys($tankorTipusok); + // óratervi tankörök lekérdezése + $qOratervi = "SELECT tankorId FROM ".__INTEZMENYDBNEV.".tankor WHERE tankorTipusId IN (".implode(',', array_fill(0, count($oraterviTipusIds), '%u')).")"; + $v = $oraterviTipusIds; + // a bontásokkal tárgytípusonként lekötött óraszám - elvileg típusonként azonos hetiOraszam szerepelhet csak, ezét a max() ezek egyikét adja vissza + $subQ = "select tankorId, tipus, szemeszter, max(bontasTankor.hetiOraszam) as hetiOraszam + from bontasTankor left join kepzesTargyBontas using (bontasId) + left join ".__INTEZMENYDBNEV.".kepzesOraterv using (kepzesOratervId) + group by tankorId, tipus, szemeszter"; + // bontés óraszámok összesítése + $tblQ = "select tankorId, szemeszter, sum(hetiOraszam) as bontasOraszam from (".$subQ.") as subQuery group by tankorId, szemeszter"; + // bontás óraszámok és tankör óraszámok összevetése + $q = "select tankorId, tankorNev, sum(oraszam-bontasOraszam) as diff from ".__INTEZMENYDBNEV.".tankorSzemeszter + left join (".$tblQ.") as tankorBontasOraszam using (tankorId, szemeszter) + where tanev=".__TANEV." and (tankorBontasOraszam.tankorId is null or bontasOraszam<>oraszam) + and tankorId in (".$qOratervi.") + group by tankorId"; + // , tankorNev -- sql_mode=only_full_group_by miatt került be a tankorNev... + $return = db_query($q, array('debug'=>false,'fv'=>'getOratervenKivuliTankorIds','modul'=>'naplo','result'=>'indexed','values'=>$v)); + + return $return; + + } + + function getTankorJelenletKotelezoE($tankorId) { + $q = "SELECT jelenlet FROM tankor LEFT JOIN tankorTipus USING (tankorTipusId) WHERE tankorId=%u"; + $v = array($tankorId); + $r = db_query($q, array('fv' => 'getTankorJelenletKotelezoE', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + return ($r == 'kötelező'); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tankorBlokk.php b/mayor-orig/www/include/modules/naplo/share/tankorBlokk.php new file mode 100644 index 00000000..04742e76 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tankorBlokk.php @@ -0,0 +1,83 @@ + 'getTankorBlokkByTankorId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $blokkIds)); + + } + + function getTankorBlokkByTankorId($tankorIds, $tanev = __TANEV, $SET= array('blokkNevekkel'=>FALSE)) { + + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + if (!is_array($tankorIds)) $tankorIds = array($tankorIds); + + if ($SET['blokkNevekkel']===true) { + $q = "SELECT blokkId,blokkNev FROM `%s`.tankorBlokk LEFT JOIN `%s`.blokk USING (blokkId) WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") GROUP BY blokkId"; + array_unshift($tankorIds, $tanevDb, $tanevDb); + return db_query($q, array('fv' => 'getTankorBlokkByTankorId', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $tankorIds)); + } else { + $q = "SELECT DISTINCT blokkId FROM `%s`.tankorBlokk WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).")"; + array_unshift($tankorIds, $tanevDb); + return db_query($q, array('fv' => 'getTankorBlokkByTankorId', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $tankorIds)); + } + } + + + function getTankorBlokkok($tanev = __TANEV) { + + $RET = array(); + + $v = array(tanevDbNev(__INTEZMENY, $tanev)); /* Lehet hogy még nincs megnyitva a tanév, nincs is ilyen adatbázis... */ + /* Létezik az adatbázis? */ + $q = "SELECT count(*) AS db FROM Information_schema.tables WHERE table_schema = '".$v[0]."'"; + $r = db_query($q, array('modul'=>'naplo', 'result'=>'value'), $lr); + if ($r==0) return false; + /* --- */ + + $TA = getTanevAdat($tanev); + // if ($TA['statusz']!='aktív') return false; // Ez miért kellene? Lekérdezni lehessen lezárt tanév blokkjait is... + + $lr = db_connect('naplo_intezmeny'); + + $q = "SELECT * FROM `%s`.blokk ORDER BY blokkNev"; + $r = db_query($q, array('fv' => 'getTankorBlokkok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + + $BID2ORASZAM = $BID2NEV = array(); + for ($i = 0; $i < count($r); $i++) { + $_bId = $r[$i]['blokkId']; + $BID2NEV[$_bId] = $r[$i]['blokkNev']; + $BID2ORASZAM[$_bId] = $r[$i]['exportOraszam']; + } + $q = "SELECT * FROM `%s`.tankorBlokk"; + $r = db_query($q, array('fv' => 'getTankorBlokkok', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v ), $lr); + if ($r !== false) { + for ($i = 0; $i < count($r); $i++) { + $RET['idk'][$r[$i]['blokkId']][] = $r[$i]['tankorId']; + } + $RET['blokkNevek'] = $BID2NEV; + $RET['exportOraszam'] = $BID2ORASZAM; + } + if (is_array($RET['blokkNevek'])) + foreach ($RET['blokkNevek'] as $bId => $bNev) { + if (is_array($RET['idk'][$bId])) { // Ha netán olyan blokk, aminek nincs tanköre... + $q = "SELECT MIN(oraszam) FROM tankorSzemeszter WHERE tanev = %u AND tankorId IN (".implode(',', array_fill(0, count($RET['idk'][$bId]), '%u')).")"; + $v = mayor_array_join(array($tanev), $RET['idk'][$bId]); + $RET['maxOraszam'][$bId] = db_query($q, array( + 'fv' => 'getTankorBlokkok', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v + ), $lr); + } + } + + db_close($lr); + return $RET; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tankorDiakModifier.php b/mayor-orig/www/include/modules/naplo/share/tankorDiakModifier.php new file mode 100644 index 00000000..7f699aea --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tankorDiakModifier.php @@ -0,0 +1,518 @@ + $tolDt)); + + // Blokkba való tartozás + $Tanevek = getTanevekByDtInterval($tolDt,$igDt); + for ($i=0; $i$BTID) { + // Ellenőrzés megadott időintervallumban vizsgálva: + // Tagja-e a diák az adott intervallumban a blokk tanköreinek? + if ( in_array($tankorId,$BTID) ) { + $q = "SELECT tankorId FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($BTID), '%u')).") + AND diakId=%u + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= '%s')"; + $v = mayor_array_join($BTID, array($diakId, $tolDt, $tolDt)); + $UTKOZO_TANKORIDS = db_query($q, array('fv' => 'tankorDiakFelvesz', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + if (count($UTKOZO_TANKORIDS)>0) { + $q = "SELECT tankorId FROM tankorDiakFelmentes WHERE tankorId IN (".implode(',',$UTKOZO_TANKORIDS).") AND diakId=%u AND felmentesTipus='óralátogatás alól' AND nap is null AND ora is null AND + beDt<='%s' AND (kiDt IS NULL or kiDt >='%s')"; + $values = array($diakId, $tolDt, $tolDt); + $FELMENTETTTANKORIDS = db_query($q, array('fv' => 'tankorDiakFelvesz', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $values)); + for ($j=0; $j1,'refDt'=>$ADAT['tolDt'])) == 'tankor_max_reached') + { + $_SESSION['alert'][] = 'info:tankor_max_reached'; + return false; + } + //-- + + // Main() + { + tankorDiakTorol( array('tankorIds'=>$TankorIds, 'diakId'=> $diakId, 'tolDt'=> $tolDt,'igDt'=> $igDt, 'utkozes'=>'nemEllenoriz', 'MIN_CONTROL'=>false) ); + + $v = array(); + for ($i = 0; $i < count($TankorIds); $i++) { + $_tankorId = $TankorIds[$i]; + //$_kovetelmeny = $TankorAdat[$_tankorId]['kovetelmeny']; // vagy nem ez. diák statusatol is függ... + //$_jelenlet = $TankorAdat[$_tankorId]['jelenlet']; // MIÉRT EZ??????????????????????????????????????????????????? + //$_jelenlet = "kötelező"; + //array_push($v, $_tankorId, $diakId, $tolDt, $igDt, $_jelenlet, $_kovetelmeny, $jovahagyva); + //$V[] = "(%u, %u, '%s', NULLIF('%s',''), '%s', '%s', %u)"; + array_push($v, $_tankorId, $diakId, $tolDt, $igDt); + $V[] = "(%u, %u, '%s', NULLIF('%s',''))"; + } + $q = "INSERT INTO tankorDiak (tankorId,diakId,beDt,kiDt) VALUES ". implode(',',$V); + db_query($q, array('fv' => 'tankorDiakFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v) ); + } + + } + + function diakTankorMagantanulo($diakId, $tolDt, $igDt = NULL, $utkozes = 'ellenorzes', $tanev = __TANEV) { + + die('FATAL ERROR in tankorDiakModifier.php -- diakTankorMagantanulo() -- OOOpps!'); + + } + + function tankorDiakModify($ADAT) { + /* + $ADAT = array( + tankorId - a módosítandó tankor + tolDt, igDt - A módosítás hatálya + diaktorol - torlendő diákok id-i + diakok - Az érintett diákok id-i + {OBSOLETE}DJ* - egy adott diák 'jelenlét' attribútuma (* a diakId) + {OBSOLETE}DK* - egy adott diák 'követelmény' attribútuma (* a diakId) + {OBSOLETE}DOK[diakId] - egy adott diák 'jovahagyva' attribútuma - ha nincs megadva akkor $ADAT['jovahagyva'] érvényes + {OBSOLETE}jovahagyva - a diákok 'jovahagyva' attribútumának alapértelmezése + utkozes - ha igaz akkor 'torles', ha hamis akkor 'ellenorzes' + ) + */ + + $tankorId = $ADAT['tankorId']; + $alapIgDt = $ADAT['igDt']; + $tolDt = $ADAT['tolDt']; + $jovahagyva = ($ADAT['jovahagyva']=='') ? 0:1; + + if ($alapIgDt!='' && strtotime($tolDt)>strtotime($alapIgDt)) { + $_SESSION['alert'][] = 'info::hibasdatum'; + return false; + } + // Kik lettek törlésre jelölve - ez az "erősebb" + for($i = 0; $i < count($ADAT['diaktorol']); $i++) $TORLENDOK[$ADAT['diaktorol'][$i]] = true; + // diákonként végezzük a módosításokat + for($i = 0; $i < count($ADAT['diakok']); $i++) { + + $diakId = $ADAT['diakok'][$i]; + //{OBSOLETE}$jelenlet = $ADAT['DJ'.$diakId]; + //{OBSOLETE}$kovetelmeny = $ADAT['DK'.$diakId]; // ezt már nem használjuk + //{OBSOLETE$jovahagyva = ($ADAT['DOK'.$diakId]!='') ? $ADAT['DOK'.$diakId]:$jovahagyva; + $igDt = $alapIgDt; + + $utkozes = ((bool)$ADAT['utkozes']) ? 'torles':'ellenorzes'; + + if ($TORLENDOK[$diakId]) { + //tankorDiakTorol( array('tankorId' => $tankorId, 'diakId' => $diakId, 'tolDt' => $tolDt, 'igDt' => $igDt, 'jovahagyva'=>$jovahagyva, 'utkozes' => $utkozes )); + tankorDiakTorol( array('tankorId' => $tankorId, 'diakId' => $diakId, 'tolDt' => $tolDt, 'igDt' => $igDt, 'utkozes' => $utkozes )); + } else { + // A tankörcsoportok miatt módosítani csak az aktuális intervallumon belül - tehát az első szakadásig - lehet! + $q = "SELECT beDt, kiDt, kiDt + INTERVAL 1 DAY AS kovDt FROM tankorDiak WHERE diakId=%u AND tankorId=%u + AND ('%s'<=kiDt OR kiDt IS NULL)"; + $v = array($diakId, $tankorId, $tolDt); + if ($igDt != '') { + $q .= " AND beDt<='%s' ORDER BY beDt,kiDt"; + array_push($v, $igDt); + } + $ret = db_query($q, array('fv' => 'tankorDiakModify', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + for ($j = 0; (($j < count($ret)-1) && ($ret[$j]['kovDt'] == $ret[$j+1]['beDt'])); $j++); + if ( + $ret[$j]['kiDt'] != '' + && ($igDt == '' || strtotime($ret[$j]['kiDt']) < strtotime($igDt)) + ) $igDt = $ret[$j]['kiDt']; + + // lekérdezzük, hogy módosul-e a jelenlét/követelményoralatogatasAlol, erdemjegyet paraméter + /* ERRE NINCS SZÜKSÉG! + $q = "SELECT COUNT(*) FROM tankorDiak WHERE diakId=%u AND tankorId=%u AND (kiDt>='%s' OR kiDt IS NULL) AND (oralatogatasAlol!='%s' OR erdemjegyet!='%s')"; + $v = array($diakId, $tankorId, $tolDt, $oralatogatasAlol, $erdemjegyet); + if ($igDt != '') { + $q .= " AND beDt<='$igDt'"; + array_push($v, $igDt); + } + $db = db_query($q, array('fv' => 'tankorDiakModify', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v)); + + if ($db > 0) { + if (// nem töröljük a tankörcsoport összes tanköréből, csak az adott tankörből!! + tankorDiakTorol( + array( + 'tankorId' => $tankorId, 'diakId' => $diakId, 'tolDt' => $tolDt, 'igDt' => $igDt, + 'tankorIds' => array($tankorId), 'utkozes' => $utkozes + ) + ) + ) { + $q = "INSERT INTO tankorDiak (diakId,tankorId,beDt,kiDt,erdemjegyet,oralatogatasAlol) + VALUES (%u, %u, '%s', NULLIF('%s', ''), '%s', '%s')"; + $v = array($diakId, $tankorId, $tolDt, $igDt, $erdemjegyet, $oralatogatasAlol); + + db_query($q, array('fv' => 'tankorDiakModify', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + } // $db>0 + */ + } + } + } + + + function tankorDiakTorol($ADAT, $olr = '') { + + /* + [TOL-IG] töröl zárt szigorú + Paraméterek: + diakId + utkozes - torles, ellenorzes, nemEllenoriz + tankorId + tankorIds + MIN_CONTROL - true/false + tolDt, igDt + */ + + + // esetleges külső tranzakciókhoz! + $lr = ($olr != '') ? $olr : db_connect('naplo_intezmeny'); + // A törlendő időszakra beírt hiányzás, vagy jegy okozhat ütközést. Ekkor vagy automatikusan töröljük a hibás bejegyzéseket, + // vagy hibajelzést adunk, vagy nem foglalkozunk az esetleges ütközésekkel + // (ez státuszmódosításkor lehet, mikor a törlés után rögtön vissza is írjuk a tagságot) + if (!in_array($ADAT['utkozes'], array('torles','ellenorzes','nemEllenoriz'))) $ADAT['utkozes'] = 'ellenorzes'; + + // Valódi törlésnél a tankörcsoport összes tagjából törölni kell, de pl. a tagság típusának módosításakor csak az érintett tankörből töröljük + // illetve, ha már valamiért lekérdeztük az érintett tanköröket, akkor át lehessen adni. + if (is_array($ADAT['tankorIds']) && count($ADAT['tankorIds']) > 0) $TANKORIDS = $ADAT['tankorIds']; + elseif (isset($ADAT['tankorId']) && $ADAT['tankorId'] != '') $TANKORIDS = getTankorCsoportTankoreiByTankorId($ADAT['tankorId'], $lr); + else { + $_SESSION['alert'][] = 'message:wrong_data:tankorDiakTorol:nincs tankör megadva:'.$ADAT['diakId']; + return false; + } + + // Ellenőrizzük a minimum és maximum létszámokat, ha kell + // Figyelem! pl. Előtárgyjelentkezési időszakban pl tilos vizsgálni... + if ($ADAT['MIN_CONTROL']===true) { + //for ($i=0; $i(-1),'refDt'=>$ADAT['tolDt'])) == 'tankor_min_reached') { + $_SESSION['alert'][] = 'info:tankor_min_reached'; + if ($olr == '') db_close($lr); + return false; + } + //} + } + // -- + $TH = $TJ = array(); + $HSUM = $JSUM = array(); + // A tol-ig dátumok által érintett aktív tanévek lekérdezése + $aktivTanevek = getTanevekByDtInterval($ADAT['tolDt'], $ADAT['igDt'], array('aktív')); // hiányzó link resource + if ($ADAT['utkozes'] != 'nemEllenoriz') { + // Az érintett tanéveken végigmenve + foreach ($aktivTanevek as $key => $tanev) { + for ($i = 0; $i < count($TANKORIDS); $i++) { + $_SET = array('diakId'=>$ADAT['diakId'], 'tankorIds'=>$TANKORIDS[$i], 'tanev'=>$tanev, 'tolDt'=>$ADAT['tolDt'], 'igDt'=>$ADAT['igDt']); + $H = tankorDiakHianyzasIdk2($_SET, $lr); + $J = tankorDiakJegyIdk($_SET, $lr); + if (count($H)>0) $TH[] = $TANKORIDS[$i]; + if (count($J)>0) $TJ[] = $TANKORIDS[$i]; + if (is_array($H)) $HSUM = array_merge($HSUM,$H); // $H lehet false is + if (is_array($J)) $JSUM = array_merge($JSUM,$J); // $J lehet false is + } + if (count($TH) > 0) $_SESSION['alert'][] = 'info:hibas_hianyzasok:'.count($HSUM).':tanev='.$tanev.':tankorIdk='.implode(',',$TH); + if (count($TJ) > 0) $_SESSION['alert'][] = 'info:hibas_jegyek:'.count($JSUM).':tanev='.$tanev.':tankorIdk='.implode(',',$TJ); + + // Modosítás: + if ($ADAT['utkozes']=='torles') { + // hiányzások és jegyek törlése... + hianyzasTorles($HSUM, $tanev, $lr); + jegyTorles($JSUM, null, $tanev, $lr); + $TH = $TJ = array(); + $HSUM = $JSUM = array(); + } + } + } + + if ( ((count($TH) == 0 && count($TJ) == 0)) || $ADAT['utkozes'] == 'torles' || $ADAT['utkozes'] == 'nemEllenoriz') { + + logAction( + array( + 'szoveg'=>'diakKilep: '.$ADAT['diakId'].', '.$ADAT['tolDt'].', '.$ADAT['igDt'].', '.implode(',',$TANKORIDS), + 'table'=>'tankorDiak' + ) + ); + + // A tol-ig közé esőket töröljük + $q = "DELETE FROM tankorDiak WHERE diakId=%u AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDS), '%u')).") AND '%s'<=beDt"; + $v = mayor_array_join(array($ADAT['diakId']), $TANKORIDS, array($ADAT['tolDt'])); + if ($ADAT['igDt']!='') { + $q.= " AND kiDt<='%s'"; + array_push($v, $ADAT['igDt']); + } + $delResult = db_query($q, array('fv' => 'tankorDiakTorol', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + + if ($ADAT['igDt'] != '') { + // a tol-ig intervallumot tartalmazókat ketté kell vágni, ezért a jobb oldali darabot felvesszük + $q = "INSERT INTO tankorDiak (tankorId,diakId,beDt,kiDt) + SELECT tankorId,diakId,'%s' + INTERVAL 1 DAY AS beDt,kiDt FROM tankorDiak + WHERE diakId=%u AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDS), '%u')).") + AND beDt<'%s' AND (kiDt IS NULL OR '%s'< kiDt)"; + $v = mayor_array_join(array($ADAT['igDt'], $ADAT['diakId']), $TANKORIDS, array($ADAT['tolDt'], $ADAT['igDt'])); + $insResult = db_query($q, array('fv' => 'tankorDiakTorol', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + } + + // A balról benyúló intervallumokat levágjuk (az "átnyúlókat" is! Így kapjuk a baloldali darabot) + $q = "UPDATE tankorDiak SET kiDt = '%s' - INTERVAL 1 DAY WHERE diakId=%u + AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDS), '%u')).") + AND beDt<'%s' AND (kiDt IS NULL OR '%s'<=kiDt)"; + $v = mayor_array_join(array($ADAT['tolDt'], $ADAT['diakId']), $TANKORIDS, array($ADAT['tolDt'], $ADAT['tolDt'])); + $upResult1 = db_query($q, array('fv' => 'tankorDiakTorol', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + if ($ADAT['igDt']!='') { + // A jobbról benyúló intervallumokat levágjuk ("átnyúló" darab már nincs!) + $q = "UPDATE tankorDiak SET beDt = '%s' + INTERVAL 1 DAY WHERE diakId=%u + AND tankorId IN (".implode(',', array_fill(0, count($TANKORIDS), '%u')).") + AND beDt<='%s' AND (kiDt IS NULL OR '%s'< kiDt) "; + $v = mayor_array_join(array($ADAT['igDt'], $ADAT['diakId']), $TANKORIDS, array($ADAT['igDt'], $ADAT['igDt'])); + $upResult2 = db_query($q, array('fv' => 'tankorDiakTorol', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + } + + if ($delResult===false || $upResult1 === false || $upResult2 === false || $insResult===false) { + if ($olr == '') db_close($lr); + return false; + } + + if ($olr == '') db_close($lr); + return true; + + } else { + + if ($olr == '') db_close($lr); + return false; + } + + } + + + + + function _checkTankorMinMax($tankorId,$ADAT=array('diff'=>1,'refDt'=>'')) { + + $letszam = getTankorLetszam($tankorId, array('refDt'=>$ADAT['refDt'])); + $TankorAdat = getTankorAdatByIds(array($tankorId), array('dt' => $ADAT['refDt'])); + if ($ADAT['diff']>0) { + if ( + $TankorAdat[$tankorId]['max']!=0 && /* Ez a feltétel problémás. A tankörjelentkezés UI-n ugyanis nem engedjük meg a + 0-0-s tankörökbe bejelentkezést. Ezzel elérhető hogy az időközben 0-0ra állított + limitű tankörbe bejelentkezhessenek. Holott ez unlimited-et jelent? + */ + ($letszam+$ADAT['diff'])>$TankorAdat[$tankorId]['max']) { + $r = 'tankor_max_reached'; + } + } elseif ($ADAT['diff']<0) { + if ($TankorAdat[$tankorId]['min']!=0 && ($letszam+$ADAT['diff'])<$TankorAdat[$tankorId]['min']) { + $r = 'tankor_min_reached'; + } + } else { + $r = 'notChecked'; + } + return ($r=='') ? false : $r; + } + + + /* Adott zárt intervallumra felvesz egy bizonyos típusú felmentést */ + function tankorDiakFelmentesFelvesz($ADAT, $olr = '') { + + /* [TOL-IG] töröl zárt szigorú */ + $lr = ($olr != '') ? $olr : db_connect('naplo_intezmeny'); + if ($olr=='') db_start_strans($lr); + + $tankorId = $ADAT['tankorId']; + $diakId = $ADAT['diakId']; + $tolDt = $ADAT['tolDt']; + $igDt = $ADAT['igDt']; + $nap = $ADAT['nap']; + $ora = $ADAT['ora']; + $iktatoszam = $ADAT['iktatoszam']; + $felmentesTipus= $ADAT['felmentesTipus']; + + if (!in_array($ADAT['utkozes'], array('torles','ellenorzes','nemEllenoriz'))) $ADAT['utkozes'] = 'ellenorzes'; + // -- + $TH = $TJ = array(); + $HSUM = $JSUM = array(); + // A tol-ig dátumok által érintett aktív tanévek lekérdezése + $aktivTanevek = getTanevekByDtInterval($ADAT['tolDt'], $ADAT['igDt'], array('aktív')); + if ($ADAT['utkozes'] != 'nemEllenoriz') { + // Az érintett tanéveken végigmenve + foreach ($aktivTanevek as $key => $tanev) { + + if ($felmentesTipus=='óralátogatás alól') { + $H = tankorDiakHianyzasIdk($ADAT['diakId'], $tankorId, $tanev, $ADAT['tolDt'], $ADAT['igDt'], $nap, $ora); + } elseif ($felmentesTipus=='értékelés alól') { + $J = tankorDiakJegyIdk(array('diakId'=>$ADAT['diakId'], 'tankorIds'=>$tankorId, 'tanev'=>$tanev, 'tolDt'=>$ADAT['tolDt'], 'igDt'=>$ADAT['igDt'])); + } + + if (count($H)>0) $TH[] = $tankorId; + if (count($J)>0) $TJ[] = $tankorId; + if (is_array($H)) $HSUM = array_merge($HSUM,$H); // $H lehet false is + if (is_array($J)) $JSUM = array_merge($JSUM,$J); // $J lehet false is + + if (count($TH) > 0) $_SESSION['alert'][] = 'info:hibas_hianyzasok:'.count($HSUM).':tanev='.$tanev.':tankorIdk='.implode(',',$TH); + if (count($TJ) > 0) $_SESSION['alert'][] = 'info:hibas_jegyek:'.count($JSUM).':tanev='.$tanev.':tankorIdk='.implode(',',$TJ); + + // Modosítás: + if ($ADAT['utkozes']=='torles') { + // hiányzások és jegyek törlése... + hianyzasTorles($HSUM, $tanev, $lr); + jegyTorles($JSUM, null, $tanev, $lr); + $TH = $TJ = array(); + $HSUM = $JSUM = array(); + } + } + } + + if ( ((count($TH) == 0 && count($TJ) == 0)) || $ADAT['utkozes'] == 'torles' || $ADAT['utkozes'] == 'nemEllenoriz') { + + logAction( + array( + 'szoveg'=>'diakFelmentes: '.$ADAT['diakId'].', '.$ADAT['felmentesTipus'].', '.$ADAT['tolDt'].', '.$ADAT['igDt'].', '.$tankorId, + 'tabla'=>'tankorDiakFelmentes' + ) + ); + // A tol-ig közé esőket töröljük + $q = "DELETE FROM tankorDiakFelmentes WHERE diakId=%u AND tankorId=%u AND '%s'<=beDt AND felmentesTipus='%s'"; + $v = array($diakId, $tankorId,$tolDt,$felmentesTipus); + if ($ADAT['igDt']!='') { + $q.= " AND kiDt<='%s'"; + array_push($v, $ADAT['igDt']); + } + if ($ADAT['ora']!=='') { + $q .= " AND ora=%u "; + array_push($v, $ADAT['ora']); + } + if ($ADAT['nap']!='') { + $q .= " AND nap=%u "; + array_push($v, $ADAT['nap']); + } + $delResult = db_query($q, array('fv' => 'tankorDiakFelmentesFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + + if ($ADAT['igDt'] != '') { + // a tol-ig intervallumot tartalmazókat ketté kell vágni, ezért a jobb oldali darabot felvesszük + $q = "INSERT INTO tankorDiakFelmentes (tankorId,diakId,beDt,kiDt,felmentesTipus,nap,ora,iktatoszam) + SELECT tankorId,diakId,'%s' + INTERVAL 1 DAY AS beDt,kiDt,felmentesTipus,nap,ora,iktatoszam FROM tankorDiakFelmentes + WHERE diakId=%u AND tankorId=%u + AND beDt<'%s' AND (kiDt IS NULL OR '%s'< kiDt) AND felmentesTipus='%s'"; +// $v = array_merge(array($ADAT['igDt'], $ADAT['diakId']), $TANKORIDS, array($ADAT['tolDt'], $ADAT['igDt'])); + $v = array($igDt, $diakId, $tankorId, $tolDt, $igDt, $felmentesTipus); + $insResult = db_query($q, array('fv' => 'tankorDiakFelmentesFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + } + + // A balról benyúló intervallumokat levágjuk (az "átnyúlókat" is! Így kapjuk a baloldali darabot) + $q = "UPDATE tankorDiakFelmentes SET kiDt = '%s' - INTERVAL 1 DAY WHERE diakId=%u + AND tankorId=%u + AND beDt<'%s' AND (kiDt IS NULL OR '%s'<=kiDt) AND felmentesTipus='%s'"; + $v = array($tolDt,$diakId,$tankorId,$tolDt,$tolDt, $felmentesTipus); + if ($ADAT['ora']!=='') {$q .= " AND ora=%u ";array_push($v, $ADAT['ora']);} + $upResult1 = db_query($q, array('fv' => 'tankorDiakFelmentesFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + if ($ADAT['igDt']!='') { + // A jobbról benyúló intervallumokat levágjuk ("átnyúló" darab már nincs!) + $q = "UPDATE tankorDiakFelmentes SET beDt = '%s' + INTERVAL 1 DAY WHERE diakId=%u + AND tankorId=%u + AND beDt<='%s' AND (kiDt IS NULL OR '%s'< kiDt) AND felmentesTipus='%s'"; + $v = array($igDt,$diakId,$tankorId,$igDt,$igDt, $felmentesTipus); + if ($ADAT['ora']!=='') {$q .= " AND ora=%u ";array_push($v, $ADAT['ora']);} + $upResult2 = db_query($q, array('fv' => 'tankorDiakFelmentesFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr ); + } + + if ($nap=='' && ($ora==='' || is_null($ora))) { + $q = "INSERT INTO tankorDiakFelmentes (tankorId,diakId,beDt,kiDt,felmentesTipus,iktatoszam) VALUES (%u,%u,'%s','%s','%s','%s')"; + $v = array($tankorId,$diakId,$tolDt,$igDt,$felmentesTipus,$iktatoszam); + } elseif ($nap=='' && $ora!=='') { + $q = "INSERT INTO tankorDiakFelmentes (tankorId,diakId,beDt,kiDt,felmentesTipus,ora,iktatoszam) VALUES (%u,%u,'%s','%s','%s',%u,'%s')"; + $v = array($tankorId,$diakId,$tolDt,$igDt,$felmentesTipus,$ora,$iktatoszam); + } elseif ($nap!='' && ($ora==='' || is_null($ora))) { + $q = "INSERT INTO tankorDiakFelmentes (tankorId,diakId,beDt,kiDt,felmentesTipus,nap,iktatoszam) VALUES (%u,%u,'%s','%s','%s',%u,'%s')"; + $v = array($tankorId,$diakId,$tolDt,$igDt,$felmentesTipus,$nap,$iktatoszam); + } else { + $q = "INSERT INTO tankorDiakFelmentes (tankorId,diakId,beDt,kiDt,felmentesTipus,nap,ora,iktatoszam) VALUES (%u,%u,'%s','%s','%s',%u,%u,'%s')"; + $v = array($tankorId,$diakId,$tolDt,$igDt,$felmentesTipus,$nap,$ora,$iktatoszam); + } + $result = db_query($q, array('fv' => 'tankorDiakFelmentesFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v),$lr ); + + if ($delResult===false || $upResult1 === false || $upResult2 === false || $insResult===false || $result === false) { + if ($olr == '') { + db_rollback($lr); + db_close($lr); + } + return false; + } + + if ($olr == '') { + db_commit($lr); + db_close($lr); + } + return true; + + } else { + + if ($olr == '') { + db_rollback($lr); + db_close($lr); + } + return false; + } + + } + + + function tankorDiakFelmentesLezar($ADAT, $olr = '') { + + + if (!is_numeric($ADAT['tankorDiakFelmentesId'])) return false; + + $lr = ($olr != '') ? $olr : db_connect('naplo_intezmeny'); + if ($olr=='') db_start_strans($lr); + + $q = "UPDATE tankorDiakFelmentes SET kiDt=('%s' - INTERVAL 1 DAY) WHERE tankorDiakFelmentesId=%u AND (kiDt>='%s' OR kiDt IS NULL)"; + $v = array($ADAT['kiDt'],$ADAT['tankorDiakFelmentesId'],$ADAT['kiDt']); // ha nem nagyobb, akkor nem bővítjük! + $result = db_query($q, array('fv' => 'tankorDiakFelmentesLezar', 'modul' => 'naplo_intezmeny', 'values' => $v), $lr); + + + if ($result === false) { + if ($olr == '') { + db_rollback($lr); + db_close($lr); + } + return false; + + } else { + if ($olr == '') { + db_commit($lr); + db_close($lr); + } + return true; + } + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tankorModifier.php b/mayor-orig/www/include/modules/naplo/share/tankorModifier.php new file mode 100644 index 00000000..a344ab7b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tankorModifier.php @@ -0,0 +1,498 @@ + 'ujTankor')); + else $lr = $olr; + $O = getTankorOsztalyaiByTanev($tankorId, __TANEV, array('tagokAlapjan'=>true,'result'=>'id'),$lr); + if (count($O)>0) { + $q = "DELETE FROM tankorOsztaly WHERE tankorId=%u AND osztalyId NOT IN (".implode(',',$O).")"; + db_query($q, array('fv' => 'setTankorNevByDiakok', 'modul' => 'naplo_intezmeny', 'result'=>'delete','values' => array($tankorId)),$lr); + } + setTankorNev($tankorId,$tankorNevExtra,$olr); + if (!$olr) db_close($lr); + + } + // 2012.09. Az adott tanévtől! átnevezi a tankört! + function setTankorNev($tankorId, $tankorNevExtra = null, $olr = null) { // a függvényt a tankor.php / ujTankor() függvényéből örököltük. "Majdnem" ugyanaz + + require_once('include/modules/naplo/share/targy.php'); + require_once('include/modules/naplo/share/osztaly.php'); + require_once('include/modules/naplo/share/szemeszter.php'); + + if (!$olr) $lr = db_connect('naplo_intezmeny', array('fv' => 'ujTankor')); + else $lr = $olr; + + if (!$lr) return false; + + // adatgyűjtés tankorId alapján + $q = "SELECT targyId FROM tankor WHERE tankorId=%u"; + $targyId = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'value', 'values' => array($tankorId), 'debug'=>false), $lr); + $TARGYADAT = getTargyById($targyId,$lr); + + $q = "SELECT osztalyId FROM tankorOsztaly WHERE tankorId=%u"; + $ADAT['osztalyok'] = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'idonly', 'values' => array($tankorId), 'debug'=>false), $lr); + + if (is_null($tankorNevExtra)) { + $q = "SELECT IF(tankorJel IS NOT NULL AND INSTR(tankorNev,tankorJel)!=0, trim(substring(trim(substring_index(tankorNev,targyNev,-1)),length(tankorJel)+1)), trim(substring_index(tankorNev,targyNev,-1))) AS tankorNevExtra FROM tankorSzemeszter LEFT JOIN tankor USING (tankorId) LEFT JOIN targy USING (targyId) LEFT JOIN tankorTipus USING (tankorTipusId) WHERE tankorId=%u AND tanev=%u ORDER BY tanev,szemeszter DESC LIMIT 1"; + $tankorNevExtra = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'value', 'values' => array($tankorId,__TANEV), 'debug'=>false), $lr); + } + + $q = "SELECT tankorJel FROM tankor LEFT JOIN tankorTipus USING (tankorTipusId) WHERE tankorId=%u"; + $tankorJel = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'value', 'values' => array($tankorId), 'debug'=>false), $lr); + + $q = "SELECT DISTINCT szemeszterId FROM tankorSzemeszter LEFT JOIN szemeszter USING (tanev,szemeszter) WHERE tankorId=%u"; + $ADAT['szemeszterek'] = db_query($q, array('fv' => 'genTankorNev', 'modul' => 'naplo_intezmeny', 'result'=>'idonly', 'values' => array($tankorId), 'debug'=>false), $lr); + + $q = "SELECT jelleg FROM tankor LEFT JOIN tankorTipus USING (tankorTipusId) WHERE tankorId=%u"; + $tankorTipusJelleg = db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'result'=>'value','values' => array($tankorId)),$lr); + + // -- + $kdt = '3000-01-01'; + $vdt = '1970-01-01'; + + if (is_array($ADAT['szemeszterek'])) + for ($j = 0; $j < count($ADAT['szemeszterek']); $j++) { + $nev = ''; + $szemeszterId = $ADAT['szemeszterek'][$j]; + $_SZ = getSzemeszterek(array('filter' => array("szemeszterId=$szemeszterId"))); + if ($_SZ[0]['kezdesDt'] < $kdt) $kdt = $_SZ[0]['kezdesDt']; + if ($_SZ[0]['zarasDt'] > $vdt) $vdt = $_SZ[0]['zarasDt']; + $_tanev = $_SZ[0]['tanev']; + $_szemeszter = $_SZ[0]['szemeszter']; +// $_oraszam = $ADAT['SZ'.$szemeszterId]; + if ($tankorTipusJelleg=='osztályfüggetlen') { + $nev = "Isk."; + } else { + $OSZTALYOK = getOsztalyok($_tanev,null,$lr); + if ($OSZTALYOK !== false && is_array($OSZTALYOK) && is_array($ADAT['osztalyok'])) { + $nev = ''; + $TMP = array(); + for($i = 0; $i < count($OSZTALYOK); $i++) { + // Ha évenként változik az osztály jele, akkor jobb, ha nem generáljuk, hanem a lekérdezett adatokat használjuk! + // $_oj = genOsztalyJel($_tanev, $OSZTALYOK[$i]); + $_oj = $OSZTALYOK[$i]['osztalyJel']; + if ($_oj!==false && !is_null($_oj)) { + list($e,$o) = explode('.',$_oj); + if (in_array($OSZTALYOK[$i]['osztalyId'], $ADAT['osztalyok'])) + $TMP[$e][]= $o; + } + } + if (count(array_keys($TMP)) == 1) { // évfolyamon belüli osztályok: + $nev = implode('||',array_keys($TMP)); + $nev .= '.'.implode('',$TMP[$nev]); + } elseif (count((array_keys($TMP)))>1) { // multi évfolyam: + $K = (array_keys($TMP)); + sort($K); + $nev = $K[0].'-'.$K[count($K)-1].'.'; + } else { // ekkorra már elballagott minden osztaly... + $nev = false; + $_SESSION['alert'][] = 'info:nem módosítható ebben a tanévben ez a tankör:'.$tankorId.' '.$_tanev; + } + } else { + $nev = false; // adott szemeszterbe nem jár osztály + $_SESSION['alert'][] = 'info::Az adott szemeszterbe nem jár osztály:tankorId('.$tankorId.')'; + } + } + if ($nev !== false) { + $nev .= ' '.$TARGYADAT['targyNev'].' '; + if ($tankorJel!='') $nev .= $tankorJel.' '.$tankorNevExtra; + else $nev .= $tankorNevExtra; + if ($_tanev >= __TANEV) { + $q = "UPDATE tankorSzemeszter SET tankorNev = '%s' WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($nev,$tankorId,$_tanev,$_szemeszter); + if ($nev!='') db_query($q, array('fv' => 'setTankorNev', 'modul' => 'naplo_intezmeny', 'values' => $v, 'debug'=>false), $lr); + } else { + // a neve már ne változzon, és az óraszáma? +/* $q1 = "SELECT tankorNev FROM tankorSzemeszter WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + $orignev = db_query($q1, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => array($tankorId,$_tanev,$_szemeszter), 'debug'=>false), $lr); + if ($orignev!='') $nev = $orignev; +*/ + } + } + + } + if (!$olr) db_close($lr); + return $nev; + + } + + function tankorTanarModosit($tankorId, $tanarId, $SET = array('tanev'=>'','tanevAdat'=>'', 'tolDt'=>'', 'igDt'=>'')) { + global $_TANEV; + $tanev = ($SET['tanev']!='') ? $SET['tanev'] : _TANEV; + $tanevAdat = (is_array($SET['tanevAdat'])) ? $SET['tanevAdat'] : (($SET['tanev']=='') ? $_TANEV : getTanevAdat($tanev)); + $tolDt = ($SET['tolDt']!='') ? $SET['tolDt'] : $tanevAdat['kezdesDt']; + $igDt = ($SET['igDt']!='') ? $SET['igDt'] : $tanevAdat['zarasDt']; + if (strtotime($tolDt)>strtotime($igDt)) $_SESSION['alert'][] = 'error:wrong_data:hibás intervallum ('.$tanev.', '.$tolDt.'-'.$igDt.')'; + + if (!is_numeric($tankorId)) return false; + $tankorIds = array($tankorId); // kompatibilitási okokból + $tankorTanarIds[$tankorId] = array($tanarId); // kompatibilitási okokból + $D = array(); + + $lr = db_connect('naplo_intezmeny', array('fv' => 'tankorTanarModosit')); + db_start_trans($lr); + + // Az intervallumban érintett tankör-tanár tagságok lekérdezése... + $v = array($tankorId, $igDt, $tolDt, $tanarId); // +tanarId, a többi tanár nem érdekes + $q = "SELECT tanarId, tankorId, min(bedt) AS mbe ,max(kidt) AS mki + FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId = %u + AND bedt<='%s' AND kidt>='%s' AND tanarId=%u GROUP BY tankorId,tanarId"; + $ret = db_query($q, array('fv' => 'tankorTanarModosit', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + for ($i = 0; $i < count($ret); $i++) { + if ($tolDt < $ret[$i]['mbe']) $ret[$i]['mbe'] = $tolDt; + if ($igDt > $ret[$i]['mki']) $ret[$i]['mki'] = $igDt; + $D[ $ret[$i]['tankorId'] ][ $ret[$i]['tanarId'] ] = array('mbe' => $ret[$i]['mbe'], 'mki' => $ret[$i]['mki'], 'torlendo' => true); + } + + // Az érintett intervallumba eső tankör-tanár tagságok törlése + //$q = "DELETE FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId = %u AND bedt<='%s' AND kidt>='%s'"; + $q = "DELETE FROM ".__INTEZMENYDBNEV.".tankorTanar WHERE tankorId = %u AND bedt<='%s' AND kidt>='%s' AND tanarId=%u"; + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + // beszúrandó +// for ($i = 0; $i < count($tankorIds); $i++) { +// $tankorId = $tankorIds[$i]; +// $tanarIds = $tankorTanarIds[$tankorId]; +// for ($j = 0; $j < count($tanarIds); $j++) { +// $tanarId = $tanarIds[$j]; + if ($tanarId != '') { + $D[$tankorId][$tanarId]['torlendo'] = false; + if (($beDt = $D[$tankorId][$tanarId]['mbe']) == '') $beDt = $tolDt; + if (($kiDt = $D[$tankorId][$tanarId]['mki']) == '') $kiDt = $igDt; + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s', '%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } +// } +// } + + // törlendők felvétele +// for ($i = 0; $i < count($tankorIds); $i++) { +// $tankorId = $tankorIds[$i]; + if (is_array($D[$tankorId])) + foreach($D[$tankorId] as $tanarId => $T) { + if ($T['torlendo']) { + if ($T['mbe'] < $tolDt) { + $beDt = $T['mbe']; + $kiDt = date('Y-m-d', strtotime('-1 days',strtotime($tolDt))); + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s', '%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + if ($T['mki'] > $igDt) { + $kiDt = $T['mki']; + $beDt = date('Y-m-d', strtotime('+1 days',strtotime($igDt))); + $q = "INSERT INTO ".__INTEZMENYDBNEV.".tankorTanar (tankorId,tanarId,beDt,kiDt) VALUES (%u, %u, '%s','%s')"; + $v = array($tankorId, $tanarId, $beDt, $kiDt); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + } + } +// } + + // tankörblokkok ellenőrzése - csak nem tervezett tanévben + // Érintett blokkok lekérdezése + if ($tanevAdat['statusz'] != 'tervezett') { + $blokkIds = getTankorBlokkByTankorId($tankorIds, $tanevAdat['tanev']); + if (is_array($blokkIds)) foreach ($blokkIds as $index => $blokkId) { + // A blokk tankörei + $bTankorIds = getTankorokByBlokkId($blokkId, $tanevAdat['tanev']); + + // Ellenőrizzük a tankör tanárokat - azonosak-e tankörönként + $q = "SELECT tanarId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($bTankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR '%s' <= kiDt) + GROUP BY tanarId HAVING c>1 + ORDER BY tankorId,tanarId"; + $v = mayor_array_join($bTankorIds, array($igDt, $tolDt)); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz/BlokkEllenőrzés', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + if (is_array($r) && count($r) > 0) { + db_rollback($lr, 'Ütköző tanárt találtam egy blokkban ('.$blokkId.')! Visszaállítjuk az eredeti állapotot!'); + db_close($lr); + return false; + } + } + } + /* ======================================================== + Órarend módosítása + ======================================================== */ + + + if ($tanevAdat['statusz'] == 'aktív') { + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanevAdat['tanev']); + + // ÓrarendiOraTankor bejegyzés ellenőrzés/készítés + $V = $v2 = array(); + foreach ($tankorIds as $i => $tankorId) { + if ($tankorTanarIds[$tankorId][0] != '') { // Ha akarunk egyáltalán tanárt hozzárendelni + // van-e már az igényeinknek megfelelő bejegyzés + $q = "SELECT * FROM `%s`.orarendiOraTankor WHERE tankorId=%u + AND tanarId IN (".implode(',', array_fill(0, count($tankorTanarIds[$tankorId]), '%u')).") LIMIT 1"; + $v = mayor_array_join(array($tanevDbNev, $tankorId), $tankorTanarIds[$tankorId]); + $ret = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + + if (count($ret) != 0) { // ha van, akkor az elsőt használjuk + $OOT[$tankorId] = $ret[0]; + } else { // ha nincs, akkor generálunk egy jót + $OOT[$tankorId] = array( + 'tanarId' => $tankorTanarIds[$tankorId][0], + 'osztalyJel' => 'NaN', + 'targyJel' => $tankorId.'-'.$tankorTanarIds[$tankorId][0], + 'tankorId' => $tankorId + ); + $V[] = "(%u, 'NaN', '%s', %u)"; + array_push($v2, $tankorTanarIds[$tankorId][0], $tankorId.'-'.$tankorTanarIds[$tankorId][0], $tankorId); + } + } + } + if (count($V) > 0) { // Az új bejegyzéseket felvesszük + $q = "INSERT INTO `%s`.orarendiOraTankor (tanarId,osztalyJel,targyJel,tankorId) VALUES ".implode(',', $V); + array_unshift($v2, $tanevDbNev); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v2, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + } + + // Az érintett órarendi bejegyzések lekérdezése beDt szerint rendezve + $q = "SELECT tolDt,igDt,het,nap,ora,tankorId,tanarId,osztalyJel,targyJel,teremId + FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE tolDt <= '%s' AND (igDt >= '%s' OR igDt IS NULL) + AND tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + ORDER BY tankorId,tolDt"; + $v = mayor_array_join(array($tanevDbNev, $tanevDbNev, $igDt, $tolDt), $tankorIds); + $ret = db_query($q, array( + 'fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tankorId', 'values' => $v, 'rollback' => true + ), $lr); + if ($ret === false) { db_close($lr); return false; } + + foreach ($ret as $tankorId => $tankorOrarendiBejegyzesek) { + + // Ha van orarendiOra bejegyzés és nem akarunk tanárt hozzárendelni - az hiba!! + if (!is_array($OOT[$tankorId])) { + db_rollback($lr, 'Létező órarendi óra esetén a tanár nem törölhető:'.$tankorId); db_close($lr); return false; + }; + + $tanarId = $OOT[$tankorId]['tanarId']; + $osztalyJel = $OOT[$tankorId]['osztalyJel']; + $targyJel = $OOT[$tankorId]['targyJel']; + + foreach ($tankorOrarendiBejegyzesek as $i => $TOB) { + if ($TOB['teremId'] == '') { + $TOB['teremId'] = 'NULL'; + $valueStr = "(%u, %u, %u, %u, '%s', '%s', %s, '%s', '%s')"; + } else { + $valueStr = "(%u, %u, %u, %u, '%s', '%s', %u, '%s', '%s')"; + } + if ($TOB['tolDt'] < $tolDt) { // balról túlnyúlik - kettévágjuk + $q = "UPDATE `%s`.orarendiOra SET igDt='%s' - INTERVAL 1 DAY + WHERE tolDt='%s' AND tanarId=%u + AND het=%u AND nap=%u AND ora=%u"; + $v = array($tanevDbNev, $tolDt, $TOB['tolDt'], $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora']); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES $valueStr"; + $v = array( + $tanevDbNev, $TOB['het'], $TOB['nap'], $TOB['ora'], $TOB['tanarId'], $TOB['osztalyJel'], + $TOB['targyJel'], $TOB['teremId'], $tolDt, $TOB['igDt'] + ); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $TOB['tolDt'] = $tolDt; // Az intervallumot lefedő bejegyzések miatt - három fele fogjuk vágni + } + if ($igDt < $TOB['igDt']) { // jobbról túlnyúlik - kettévágjuk !! igDt nem lehet NULL !! + $q = "UPDATE `%s`.orarendiOra SET tolDt='%s' + INTERVAL 1 DAY + WHERE igDt='%s' AND tanarId=%u AND het=%u AND nap=%u AND ora=%u"; + $v = array($tanevDbNev, $igDt, $TOB['igDt'], $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora']); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + $q = "INSERT INTO `%s`.orarendiOra (het,nap,ora,tanarId,osztalyJel,targyJel,teremId,tolDt,igDt) VALUES $valueStr"; + $v = array( + $tanevDbNev, $TOB['het'], $TOB['nap'], $TOB['ora'], $TOB['tanarId'], $TOB['osztalyJel'], + $TOB['targyJel'], $TOB['teremId'], $TOB['tolDt'], $igDt + ); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + + } + // A közbensőkben tanárt váltunk + if ($tanarId != $TOB['tanarId']) { + $q = "UPDATE `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + SET tanarId=%u, osztalyJel='%s', targyJel='%s' + WHERE '%s'<=tolDt AND igDt<='%s' AND tanarId=%u AND het=%u AND nap=%u AND ora=%u AND tankorId=%u"; + $v = array($tanevDbNev, $tanevDbNev, $tanarId, $osztalyJel, $targyJel, $tolDt, $igDt, $TOB['tanarId'], $TOB['het'], $TOB['nap'], $TOB['ora'], $tankorId); + $r = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + } + + } + + } // foreach + + // A módosított órarend ütközésellenőrzése - [k] munkatervenként külön. Itt most megengedjük, hogy ha több munkaterv is van, de egyszerre van órája a tanárnak... :/ +// $q = "SELECT tanarId, dt, ora, COUNT(*) AS db +// FROM `%s`.nap LEFT JOIN `%s`.orarendiOra +// ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) +// AND orarendiOra.het=nap.orarendiHet +// AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt +// WHERE '%s' <= dt AND dt <= '%s' +// GROUP BY munkatervId,tanarId, dt, ora +// HAVING db > 1"; + // [bb] szerintem ez a jó: a hét-nap-óra-tanár-tolDt kulcs az orarendiOra táblában, így ha két sorban ezek megegyeznek, akkor nem kell külön számolni... + $q = "SELECT tanarId, dt, ora, COUNT(DISTINCT het, nap, ora, tanarId, tolDt) AS db + FROM `%s`.nap LEFT JOIN `%s`.orarendiOra + ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) + AND orarendiOra.het=nap.orarendiHet + AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt + WHERE '%s' <= dt AND dt <= '%s' + GROUP BY tanarId, dt, ora + HAVING db > 1"; + $v = array($tanevDbNev, $tanevDbNev, $tolDt, $igDt); + $ret = db_query($q, array('fv' => 'tankorTanarFelvesz', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v, 'rollback' => true), $lr); + if ($ret === false) { db_close($lr); return false; } + + if (count($ret)) { // Van ütközés! + db_rollback($lr, 'Az összes ütközést ellenőriztem, és a megadott '.$tolDt.'-'.$igDt.' intervallumban egy (esetleg másik) tanárnak több órája van egy időben - így visszaállítjuk az eredeti állapotot...'); + db_close($lr); + return false; + } + + } // aktív tanév + + db_commit($lr); + db_close($lr); + return true; + + } + + function tankorTanarTorol($tankorId, $tanarId, $SET = array('tanev'=>'','tanevAdat'=>'', 'tolDt'=>'', 'igDt'=>'')) { // csak ebből a tankörből csak ezt a tanárt, csak ebben az intervallumban + global $_TANEV; + $tanev = ($SET['tanev']!='') ? $SET['tanev'] : _TANEV; + $tanevAdat = (is_array($SET['tanevAdat'])) ? $SET['tanevAdat'] : (($SET['tanev']=='') ? $_TANEV : getTanevAdat($tanev)); + $A = $tolDt = ($SET['tolDt']!='') ? $SET['tolDt'] : $tanevAdat['kezdesDt']; + $B = $igDt = ($SET['igDt']!='') ? $SET['igDt'] : $tanevAdat['zarasDt']; + if (strtotime($tolDt)>strtotime($igDt)) $_SESSION['alert'][] = 'error:wrong_data:hibás intervallum ('.$tanev.', '.$tolDt.'-'.$igDt.')'; + if (!is_numeric($tankorId)) return false; + + // [$A-$B] zárt intervallumban megszűnik a tankör tanárának lenni, de mást nem módosítunk + $q = "DELETE FROM tankorTanar WHERE tankorId=%u AND tanarId=%u AND beDt>='%s' AND beDt<='%s' AND kiDt<='%s'"; + $v = array($tankorId,$tanarId,$A,$B,$B); + db_query($q, array('debug'=>false,'fv'=>'tankorTanarTorol/delete','modul'=>'naplo_intezmeny','values'=>$v)); + + $q = "UPDATE tankorTanar SET kiDt='%s' - INTERVAL 1 DAY WHERE tankorId=%u AND tanarId=%u AND beDt<='%s' AND kiDt>='%s'"; + $v = array($A,$tankorId,$tanarId,$A,$A); + db_query($q, array('debug'=>false,'fv'=>'tankorTanarTorol/delete','modul'=>'naplo_intezmeny','values'=>$v)); + + $q = "UPDATE tankorTanar SET beDt='%s' + INTERVAL 1 DAY WHERE tankorId=%u AND tanarId=%u AND beDt<='%s' AND kiDt>='%s'"; + $v = array($B,$tankorId,$tanarId,$B,$B); + db_query($q, array('debug'=>false,'fv'=>'tankorTanarTorol/delete','modul'=>'naplo_intezmeny','values'=>$v)); + + return true; + } + + function tankorOsztalyHozzarendeles($tankorId, $osztalyIds) { + // Tankör-osztály hozzárendelés módosítása - az aktuális tanév figyelembevételével (diákok, bontások) + // !! A tankör nevét nem módosítja !! + $jelenlegiOsztalyIds = getTankorOsztalyai($tankorId); + $db = count($_SESSION['alert']); + $diakOsztalyIds = getTankorOsztalyaiByTanev($tankorId, __TANEV, $SET = array('result' => 'id', 'tagokAlapjan' => true, 'tolDt' => '', 'igDt' => '')); + if ($db < count($_SESSION['alert'])) $diakOsztalyIds = array(); // Ha nincs tagja az osztálynak, akkor - hibaüzenet mellett - visszaadja a függvény az összes hozzárendelt osztályt... + $bontasOsztalyIds = getTankorOsztalyaiByBontas($tankorId); + // diak vs. új + $tmp = array_diff($diakOsztalyIds, $osztalyIds); + if (count($tmp) > 0) $_SESSION['alert'] = 'info:wrong_data:diák:A következő osztályokhoz a tankör hozzá van rendelve diákokon keresztül, ezért bővül az osztályok köre:'.implode(',',$tmp); + // bontas vs. új + $tmp = array_diff($bontasOsztalyIds, $osztalyIds); + if (count($tmp) > 0) $_SESSION['alert'] = 'info:wrong_data:bontás:A következő osztályokhoz a tankör hozzá van rendelve bontásokon keresztül, ezért bővül az osztályok köre:'.implode(',',$tmp); + // A helyes osztály lista + $ujOsztalyIds = array_unique(array_merge($osztalyIds, $bontasOsztalyIds, $diakOsztalyIds)); + // Baj lehet még, ha üres az ujOsztalyIds tömb + if (count($ujOsztalyIds)==0) return false; + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + $ok = true; + // törlendők + $tmp = array_diff($jelenlegiOsztalyIds, $ujOsztalyIds); + if (is_array($tmp) && count($tmp)>0) { + $q = "DELETE FROM tankorOsztaly WHERE osztalyId IN (".implode(',', array_fill(0, count($tmp), '%u')).") AND tankorId=%u"; + $tmp[] = $tankorId; + $ok = $ok && db_query($q, array('fv'=>'tankorOsztalyHozzarendeles/delete','modul'=>'naplo_intezmeny','values'=>$tmp)); + } + // felveendők + $tmp = array_diff($ujOsztalyIds, $jelenlegiOsztalyIds); + if (is_array($tmp) && count($tmp)>0) foreach($tmp as $index=>$osztalyId) { + $q = "INSERT INTO tankorOsztaly (tankorId,osztalyId) VALUES (%u,%u)"; + $ok = $ok && db_query($q, array('fv'=>'tankorOsztalyHozzarendeles/insert','modul'=>'naplo_intezmeny','values'=>array($tankorId,$osztalyId))); + } + if ($ok) db_commit($lr); else db_rollback($lr); + db_close($lr); + return $ok; + } + + function tankorSzemeszterHozzarendeles($tankorId, $tankorSzemeszter) { + // !! A tankör nevét nem módosítja !! (új hozzárendelés esete...) + + // A tankör-szemeszter hozzárendelés módosítása. + $jelenlegiTsz = $delDisTsz = $ujTsz = array(); + foreach ($tankorSzemeszter as $index => $tszAdat) $ujTsz[$tszAdat['tanev'].'/'.$tszAdat['szemeszter']] = $tszAdat; + // Jelenlegi hozzárendelések + $tmp = getTankorSzemeszterei($tankorId); + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); $ok = true; + foreach ($tmp as $index => $tszAdat) { + + $tsz = $tszAdat['tanev'].'/'.$tszAdat['szemeszter']; + $jelenlegiTsz[$tsz] = $tszAdat; + + if (!is_array($ujTsz[$tsz])) { + // Törölni csak tervezett szemeszterből engedünk... + if ($tszAdat['statusz'] == 'tervezett') { + $q = "DELETE FROM tankorSzemeszter WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($tankorId, $tszAdat['tanev'], $tszAdat['szemeszter']); + $ok = $ok && db_query($q, array('fv'=>'tankorSzemeszterHozzarendeles/del','modul'=>'naplo_intezmeny','values'=>$v), $lr); + } else { + $delDisTsz[] = $tsz; + } + } else if ($ujTsz[$tsz]['oraszam'] != $tszAdat['oraszam']) { + // módosítunk, ha eltér az új óraszám a régitől + if ($tszAdat['tanev'] == __TANEV) { // A jelenlegi tanévben a bontás óraszámot ellenőrizzük. + $TO = getTankorTervezettOraszamok(array($tankorId)); + $sumBontasOraszam = 0; + foreach ($TO[$tankorId]['bontasOraszam'][$tszAdat['szemeszter']] as $idx => $oAdat) $sumBontasOraszam += $oAdat['hetiOraszam']; + if ($sumBontasOraszam <= $ujTsz[$tsz]['oraszam']) { $ok = true; } + else { $ok = false; $_SESSION['alert'][] = 'message:wrong_data:A bontásokban lekötött összóraszámnál kisebb óraszám nem állítható be.'; } + } else { $ok = true; } // egyéb évkben hagyjuk módosítani + if ($ok) { + $q = "UPDATE tankorSzemeszter SET oraszam = %f WHERE tankorId=%u AND tanev=%u AND szemeszter=%u"; + $v = array($ujTsz[$tsz]['oraszam'], $tankorId, $tszAdat['tanev'], $tszAdat['szemeszter']); + $ok = $ok && db_query($q, array('fv'=>'tankorSzemeszterHozzarendeles/update','modul'=>'naplo_intezmeny','values'=>$v), $lr); + } + } + } + // új hozzárendeléseket korlátozás nélkül fel lehet venni... a tankör neve generált név... + foreach ($ujTsz as $tsz => $tszAdat) { + if (!is_array($jelenlegiTsz[$tsz])) { + $q = "INSERT INTO tankorSzemeszter (tankorId, tanev, szemeszter, oraszam, tankorNev) VALUES (%u, %u, %u, %f, '%s')"; + $v = array($tankorId, $tszAdat['tanev'], $tszAdat['szemeszter'], $tszAdat['oraszam'], 'tankor-'.$tankorId); + $ok = $ok && db_query($q, array('fv'=>'tankorSzemeszterHozzarendeles/ins','modul'=>'naplo_intezmeny','values'=>$v), $lr); + } + } + if (count($delDisTsz) > 0) { + $_SESSION['alert'][] = 'info:wrong_data:Nem tervezett tanév esetén nem szüntethető meg a tankör hozzárendelés! ('.implode(', ', $delDisTsz).')'; + } + if ($ok) db_commit($lr); + else db_rollback($lr); + + db_close($lr); + return $ok; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/tanmenet.php b/mayor-orig/www/include/modules/naplo/share/tanmenet.php new file mode 100644 index 00000000..fe26de8f --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/tanmenet.php @@ -0,0 +1,208 @@ + false)) { + if (!is_numeric($tanmenetId)) return false; + $v = array($tanmenetId); + if ($force !== true) { + // Ellenőrizzük, hogy nincs-e tankörhöz rendelve az adott tanmenet + $q = "SELECT tankorId FROM tanmenetTankor WHERE tanmenetId=%u"; + $tankorIds = db_query($q, array('fv' => 'tanmenetTorol/ellenőrzés', 'modul' => 'naplo_intezmeny', 'result'=>'idonly', 'values' => $v)); + if (is_array($tankorIds) && count($tankorIds) > 0) { + $_SESSION['alert'][] = 'message:wrong_data:tankörhöz rendelt tanmenet nem törölhető:tankorIds='.implode(', ', $tankorIds); + return false; + } + } + $q = "DELETE FROM tanmenet WHERE tanmenetId=%u"; + return db_query($q, array('fv' => 'tanmenetTorol/törlés', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + function ujTanmenet($ADAT) { + + $q = "INSERT INTO tanmenet (targyId, evfolyamJel, tanmenetNev, oraszam, tanarId, dt) VALUES (%u, '%s', '%s', %u, %u, CURDATE())"; + $v = array($ADAT['targyId'], $ADAT['evfolyamJel'], $ADAT['tanmenetNev'], $ADAT['oraszam'], $ADAT['tanarId']); + return db_query($q, array('fv' => 'ujTanmenet', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + + } + + function tanmenetTemakorModositas($ADAT) { + + $lr = db_connect('naplo_intezmeny', array('fv' => 'tanmenetTemakorModositas/connect')); + db_start_trans($lr); + + // Eddigi témakörök törlése + $q = "DELETE FROM tanmenetTemakor WHERE tanmenetId=%u"; + $v = array($ADAT['tanmenetId']); + $r = db_query($q, array('fv' => 'tanmenetTemakorModositas/delete', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r) { + + // Új témakörök felvétele + $v = $VALUE = array(); + for ($i = 0; $i < count($ADAT['temakor']['oraszam']); $i++) { + if ($ADAT['temakor']['temakorMegnevezes'][$i] != '' && $ADAT['temakor']['oraszam'][$i] != 0) { + $v[] = $ADAT['tanmenetId']; $v[] = $i; $v[] = $ADAT['temakor']['temakorMegnevezes'][$i]; + $v[] = $ADAT['temakor']['oraszam'][$i]; + $VALUE[] = "(%u, %u, '%s', %u)"; + } + } + if (count($VALUE) > 0) { // Ha van egyáltalán beírandó adat + $q = "INSERT INTO tanmenetTemakor (tanmenetId, sorszam, temakorMegnevezes, oraszam) VALUES ".implode(',', $VALUE); + $r = db_query($q, array('fv' => 'tanmenetTemakorModositas/insert', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + } + if ($r) db_commit($lr); + } + + db_close($lr); + return $r; + + } + + function tankorTanmenetHozzarendeles($ADAT) { + $lr = db_connect('naplo_intezmeny', array('fv' => 'tankorTanemenetHozzárendeles/connect')); + db_start_trans($lr); + + $q = "DELETE FROM tanmenetTankor WHERE tankorId=%u AND tanev=%u"; + $v = array($ADAT['tankorId'], $ADAT['tanev']); + $r = db_query($q, array('fv' => 'tankorTanmenetHozzarendeles/delete', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r) { + if ($ADAT['tanmenetId']!=0) { + $q = "INSERT INTO tanmenetTankor (tankorId, tanev, tanmenetId) VALUES (%u, %u, %u)"; + $v = array($ADAT['tankorId'], $ADAT['tanev'], $ADAT['tanmenetId']); + $r = db_query($q, array('fv' => 'tankorTanmenetHozzarendeles/insert', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r) db_commit($lr); + } else { + if ($r) db_commit($lr); + } + } + db_close($lr); + return $r; + + } + + function tanmenetDuplikalas($eTanmenetId, $tanarId) { + + $q = "INSERT INTO tanmenet (targyId, evfolyamJel, tanmenetNev, oraszam, tanarId, dt, statusz) + SELECT targyId, evfolyamJel, tanmenetNev, oraszam, %u AS tanarId, CURDATE() AS dt, 'új' AS statusz FROM tanmenet WHERE tanmenetId=%u"; + $v = array($tanarId, $eTanmenetId); + $tanmenetId = db_query($q, array('fv' => 'tanmenetDuplikalas/tanmenet', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v)); + $q = "INSERT INTO tanmenetTemakor (tanmenetId, sorszam, oraszam, temakorMegnevezes) + SELECT %u AS tanmenetId, sorszam, oraszam, temakorMegnevezes FROM tanmenetTemakor WHERE tanmenetId=%u"; + $v = array($tanmenetId, $eTanmenetId); + db_query($q, array('fv' => 'tanmenetDuplikalas/tanmenetTemakor', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + return $tanmenetId; + + } + + function tanmenetAdatModositas($ADAT) { + + + // Ha státusz != 'új' || 'elavult', akkor az óraszámnak legalább stimmelnie kellene! + if ($ADAT['ujStatusz'] != 'új' && $ADAT['ujStatusz'] != 'elavult') { + $q = "select tanmenet.oraszam as tervezett, sum(tanmenetTemakor.oraszam) as osszes + from tanmenet left join tanmenetTemakor using(tanmenetId) where tanmenetId=%u GROUP BY tanmenetId"; + $ret = db_query($q, array('fv' => 'tanmenetAdatModositas', 'modul'=> 'naplo_intezmeny', 'values' => array($ADAT['tanmenetId']), 'result' => 'record')); + if ($ADAT['oraszam'] != $ret['osszes']) { + // A tanmenet státuszát 'új'-ra állítjuk + $q = "UPDATE tanmenet SET statusz='új' WHERE tanmenetId=%u"; + db_query($q, array('fv' => 'tanmenetAdatModositas', 'modul' => 'naplo_intezmeny', 'values' => array($ADAT['tanmenetId']))); + + $_SESSION['alert'][] = 'message:wrong_data:A tervezett óraszám ('.$ADAT['oraszam'].') nem egyenlő az összóraszámmal ('.$ret['osszes'].')'; + return false; + } + } + $q = "UPDATE tanmenet SET tanmenetNev='%s', oraszam=%u, evfolyamJel='%s', statusz='%s' WHERE tanmenetId=%u"; + $v = array($ADAT['tanmenetNev'], $ADAT['oraszam'], $ADAT['evfolyamJel'], $ADAT['ujStatusz'], $ADAT['tanmenetId']); + return db_query($q, array('fv' => 'tanmenetAdatModositas', 'modul' => 'naplo_intezmeny', 'values' => $v)); + + } + + function getTanmenetek($SET = array('result' => 'assoc')) { + + $result = readVariable($SET['result'], 'enum', 'assoc', array('indexed','assoc')); + + $q = "SELECT * FROM tanmenet ORDER BY targyId, dt DESC"; + return db_query($q, array('fv' => 'getTanmenetek', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => 'tanmenetId')); + + } + + function getTanmenetAdat($tanmenetId, $SET = array('tanev' => __TANEV)) { + + if ($SET['tanev']=='') $SET['tanev'] = __TANEV; + $v = array($tanmenetId,$SET['tanev']); + + + $q = "SELECT * FROM tanmenet WHERE tanmenetId=%u"; + $ret = db_query($q, array('fv' => 'getTanmenetAdat', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + + $q = "SELECT * FROM tanmenetTemakor WHERE tanmenetId=%u ORDER BY sorszam"; + $ret['temakor'] = db_query($q, array('fv' => 'getTanmenetAdat/témakör', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + $q = "SELECT * FROM tanmenetTankor WHERE tanmenetId=%u AND tanev=%u"; + $ret['tankor'] = db_query($q, array('fv' => 'getTanmenetAdat/tankör', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (is_array($ret['tankor'])) for ($i = 0; $i < count($ret['tankor']); $i++) { + $ret['tankor'][$i]['tankorNev'] = getTankorNevById($ret['tankor'][$i]['tankorId'], array('tanev' => $SET['tanev'])); + } + + $q = "SELECT * FROM tanmenetTankor WHERE tanmenetId=%u AND tanev!=%u"; + $ret['tankorNemAktualis'] = db_query($q, array('fv' => 'getTanmenetAdat/tankör/2', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (is_array($ret['tankorNemAktualis'])) for ($i = 0; $i < count($ret['tankorNemAktualis']); $i++) { + $ret['tankorNemAktualis'][$i]['tankorNev'] = $ret['tankorNemAktualis'][$i]['tanev'].'-'.getTankorNevById($ret['tankorNemAktualis'][$i]['tankorId'], array('tanev' => $ret['tankorNemAktualis'][$i]['tanev'])); + } + + $targyAdat = getTargyById($ret['targyId']); + $ret['targyNev'] = $targyAdat['targyNev']; + $ret['tanarNev'] = getTanarNevById($ret['tanarId']); + + return $ret; + } + + function getTanmenetByTankorIds($tankorIds, $SET = array('tanev' => __TANEV, 'jovahagyva' => false)) { + + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + + $W = array(); + if ($SET['jovahagyva']===true) $W[] = " AND statusz='publikus'"; + + $q = "SELECT tankorId, tanmenetId FROM tanmenetTankor LEFT JOIN tanmenet USING (tanmenetId) WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") AND tanev=%u".implode($W,' '); + $tankorIds[] = $tanev; + return db_query($q, array('fv' => 'getTanmenetByTankorIds', 'modul' => 'naplo_intezmeny', 'result' => 'keyvaluepair', 'values' => $tankorIds)); + + } + + function getTanmenetByTargyId($targyId, $SET = array('result' => 'indexed')) { + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed', 'assoc')); + $targyAdat = getTargyById($targyId); + + $q = "SELECT * FROM tanmenet WHERE targyId=%u ORDER BY evfolyamJel,dt DESC"; + $v = array($targyId); + $ret = db_query($q, array('fv' => 'getTanmenetByTargyId', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => 'tanmenetId', 'values' => $v)); + + if (is_array($ret)) foreach ($ret as $key => $tAdat) { + $ret[$key]['tanarNev'] = getTanarNevById($tAdat['tanarId']); + $ret[$key]['targyNev'] = $targyAdat['targyNev']; + } + + return $ret; + } + + function getTanmenetByTanarId($tanarId, $SET = array('result' => 'indexed')) { + + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed', 'assoc')); + + $q = "SELECT * FROM tanmenet WHERE tanarId=%u ORDER BY targyId,evfolyamJel,dt DESC"; + $v = array($tanarId); + $ret = db_query($q, array('fv' => 'getTanmenetByTanarId', 'modul' => 'naplo_intezmeny', 'result' => $result, 'keyfield' => 'tanmenetId', 'values' => $v)); + + if (is_array($ret)) foreach ($ret as $key => $tAdat) { + $targyAdat = getTargyById($tAdat['targyId']); + $ret[$key]['targyNev'] = $targyAdat['targyNev']; + $ret[$key]['tanarNev'] = getTanarNevById($tAdat['tanarId']); + } + + return $ret; + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/targy.php b/mayor-orig/www/include/modules/naplo/share/targy.php new file mode 100644 index 00000000..81efa789 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/targy.php @@ -0,0 +1,426 @@ + 'indexed')) { + + $q = "SELECT * FROM targy WHERE mkId=%u"; + $v = array($mkId); + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed', 'idonly', 'assoc')); + return db_query($q, array('fv' => 'getTargyakByMkId', 'modul' => 'naplo_intezmeny', 'result' => $result, 'values' => $v)); + + } + + // Miért van három szinte azonos függvény? + function getTargyById($targyId) { + + $q = "SELECT * FROM targy WHERE targyId=%u"; + $v = array($targyId); + return db_query($q, array('fv' => 'getTargyById', 'modul' => 'naplo_intezmeny', 'result'=> 'record', 'values'=>$v)); + + } + + function getTargyAdatByIds($targyIds=null) { //2009 // esetleg ByIds nélkül kifejezőbb lenne a név... + if (is_array($targyIds) && count($targyIds) > 0) { + $q = "SELECT * FROM targy WHERE targyId IN (".implode(',', array_fill(0, count($targyIds), '%u')).") ORDER BY targyNev"; + $v = $targyIds; + } else { + $q = "SELECT * FROM targy ORDER BY targyNev"; + $v = array(); + } + $R = db_query($q, array('fv' => 'getTargyAdatByIds', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'targyId','values'=>$v)); + return $R; + } + + function getTargyak($SET = array('mkId' => null, 'targySorrendNev' => null, 'tanev' => __TANEV, 'osztalyId' => null, 'arraymap' => null) ) { + + if (isset($SET['tanev']) && $SET['tanev'] != __TANEV) $tanevDb = tanevDbNev(__INTEZMENY, $SET['tanev']); + else $tanevDb = __TANEVDBNEV; + $targySorrendNev = readVariable($SET['targySorrendNev'], 'enum', null, getTargySorrendNevek()); + + if (isset($SET['mkId'])) { + $W = 'WHERE mkId = %u '; $v = array($SET['mkId']); + } else { + $W = ''; $v = array(); + } + if ($targySorrendNev != '' && $SET['osztalyId'] != '') { + $q = "SELECT targy.* FROM targy LEFT JOIN $tanevDb.targySorszam + ON targy.targyId = targySorszam.targyId AND osztalyId=%u AND sorrendNev='%s' + $W ORDER BY IF(sorszam IS NULL,100,sorszam), targyNev"; + array_unshift($v, $SET['osztalyId'], $targySorrendNev); + } else { + $q = "SELECT * FROM targy $W ORDER BY targyNev"; + } + $r = db_query($q, array('modul' => 'naplo_intezmeny', 'result' => 'indexed', 'fv' => 'getTargyak', 'values' => $v)); + + if (is_array($SET['arraymap'])) { + $RE = reindex($r,$SET['arraymap']); + } else { + $RE = $r; + } + + return $RE; + } + + function getTargySorrendNevek($tanev = __TANEV) { + require_once('include/modules/naplo/share/file.php'); + return getEnumField('naplo_base', tanevDbNev(__INTEZMENY, $tanev).'.targySorszam', 'sorrendNev'); + } + + function getTanevTargySorByOsztalyId($osztalyId, $tanev = __TANEV, $sorrendNev = 'bizonyítvány') { + + global $_TANEV; + + if ($tanev != __TANEV) $Tanev = getTanevAdat($tanev); + else $Tanev = $_TANEV; + + // Az összes diákra szükség van aktív tanévben is - év végén a végzősök már nincsenek jogviszonyban... + $Statusz = array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'); + $diakIds = array(); + $Diak = getDiakok(array('osztalyId' => $osztalyId, 'tanev' => $tanev, 'statusz' => $Statusz)); + for ($i = 0; $i < count($Diak); $i++) $diakIds[] = $Diak[$i]['diakId']; + + + if (count($diakIds) > 0) { + + // a második paraméter $Tanev, de kompatibilis a $szemeszteradattal) + $targyak = getTargyakByDiakIds($diakIds,$Tanev,$osztalyId,$sorrendNev, array('csakOratervi'=>false,'filter'=>'')); + return $targyak; + } + else + { + return false; + } + + } +/* + Egy osztályhoz rendelt tankörök tárgyai - lehet, hogy valójában nincs is olyan diák, aki tanulja ezt a tárgyat. + Magatartás/szorgalom nincs benne... Miért is ne lenne benne? Én nem látom, hogy ki lenne szűrve... + nyomtatas/haladasinaplo-ban használt függvény! +*/ + function getTargyakByOsztalyId($osztalyId, $tanev = __TANEV, $SET = array('targySorrendNev' => 'napló', 'result' => 'indexed')) { + if ($tanev != __TANEV) $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + else $tanevDbNev = __TANEVDBNEV; + $q = "SELECT DISTINCT targy.targyId AS targyId, targyNev, targyRovidNev FROM targy + LEFT JOIN tankor USING (targyId) + LEFT JOIN tankorOsztaly USING (tankorId) + LEFT JOIN ".$tanevDbNev.".targySorszam + ON tankorOsztaly.osztalyId=targySorszam.osztalyId AND targy.targyId=targySorszam.targyId AND sorrendNev = '%s' + LEFT JOIN tankorSzemeszter USING (tankorId) + WHERE tanev=%u AND tankorOsztaly.osztalyId=%u ORDER BY IFNULL(sorszam,1000),targyNev"; + return db_query($q, array('fv' => 'getTargyByOsztalyId', 'modul' => 'naplo_intezmeny', 'result' => $SET['result'], 'values' => array($SET['targySorrendNev'],$tanev,$osztalyId))); + } + + function getTargyakByDiakId($diakId, + $SET = array('tanev' => __TANEV, 'dt' => null, 'tolDt' => null, 'igDt' => null, 'result' => 'indexed','csakOratervi'=>false, 'osztalyId' => null, 'filter' => null, 'targySorrendNev' => null)) { + /* + A függvény először lekérdezi a diák osztályait az adott időintervallumban. Ha van megadva osztalyId paraméter, akkor csak + azt veszi a továbbiakban figyelembe! Majd a diák és az egyes osztályok képzéseit is lekérdezzük (az intervallum végi dátummal!). + + Ha van megadva osztalyId, akkor csak az oda sorolható tárgyakat kérdezzük le, illetve a más osztályhoz nem sorolható, de évfolyamban megfelelőket + (ld. szűrés) + + Ezek után a tárgyakat három forrásból veszi: + 1. A diák adott időintervallumbeli tankör tagságaiból vett tárgyakat osztályokhoz rendeli, vagy az egyéb kategóriába teszi + 2. Az adott időintervallumba eső zárójegyek tárgyait a korábbi tankörök alapján rendeli osztályokhoz, a maradék, de évfolyamban + a diák valamely osztályának megfelelő tárgyat az egyéb kategóriába sorolja. Azok a zárójegy tárgyak tehát sose kerülnek be, + amik évfolyamban nem felelnek meg... + 3. A diák esetleges képzései egyben osztályhoz is rendelik az onnan származó tárgyakat. + + A keletkező adatszerkezet: + array( + osztaly => array($osztalyId1 => array( .... tárgyId-k ....), $osztalyId2 => array( ... ), ...), + egyeb => array( ... tárgyId-k ...), + targyAdat => array( + $targyId1 => array(targyNev => ..., evkoziKovetelmeny => ..., zaroKovetelmeny => ..., jegyTipus => ..., evfolyam => ..., evfolyamJel =>) // nem mindegyik van mindig!! + ) + ) + + Ha nincs megadva 'result' paraméter akkor a teljes tömböt adja vissza a fv. + + Ha van megadva 'result', akkor figyelembe vesszi a 'filter' paramétert is - eddig egy értéket vesz figyelembe: kovetelmeny + Ezután a függvény $result-nak megfelelően átalakítva adja vissza a szelektált tárgyak listáját (idonly, assoc, indexed) + + */ + // ERŐS TANÉVFÜGGŐSÉG! + $tanev = readVariable($SET['tanev'], 'numeric unsigned', __TANEV); + + // A tárgysorrend tanév függő + if ($tanev != __TANEV) $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + else $tanevDb = __TANEVDBNEV; + + $dt = readVariable($SET['dt'], 'datetime', null); + $tolDt = readVAriable($SET['tolDt'], 'date', $dt); + $igDt = readVAriable($SET['igDt'], 'date', $dt); + initTolIgDt($tanev, $tolDt, $igDt); + if (is_null($dt)) $dt = $igDt; + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed','assoc','keyvaluepair','idonly')); +//!!!! + $targySorrendNev = readVariable($SET['targySorrendNev'], 'sql', null, array('napló','anyakönyv','ellenőrző','bizonyítvány','egyedi')); + $return = array('egyeb' => array(), 'osztaly' => array(), 'targyAdat' => array()); + + if ($SET['csakOratervi']===true) { + $LEFTJOIN = " LEFT JOIN tankorTipus USING (tankorTipusId) "; + $W = " AND tankorTipus.oratervi='óratervi' "; + } + + // A diák osztályai, képzései - a tárgyak csoportosításához! + $diakOsztalyIds = getDiakOsztalya($diakId, array('tanev' => $tanev, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'idonly')); + if (isset($SET['osztalyId'])) { + if (!in_array($SET['osztalyId'], $diakOsztalyIds)) { + // Nem biztos, hogy hiba. Pl. zárási stat-ban, ha első félévben osztályt vált, akkor második félévben ebbe az ágba kerül a lekérdezés... + if (__NAPLOADMIN) $_SESSION['alert'][] = 'info:wrong_data:getTargyakByDiakId:A diák ('.$diakId.') nem tagja az osztalynak ('.$SET['osztalyId'].')'; + return false; + } else { + $diakOsztalyIds = array($SET['osztalyId']); + } + } + $diakEvfolyamJel = array(); + if (count($diakOsztalyIds)==0) { + // --TODO, ilyenkor mi van? + // Pl. ha év közben elmegy a tanuló az iskolából... + // Mindenesetre ne jelenjen meg mindig mindenkinek ez az üzenet, mert idegesítő... elég az adminnak + if (__NAPLOADMIN) $_SESSION['alert'][] = 'info:not_implemented:nincs_osztaly,getTargyakByDiakId:diakId='.$diakId; + } else { + $osztalyKepzes = getKepzesByOsztalyId($diakOsztalyIds, array('result' => 'indexed', 'arraymap' => array('osztalyId','kepzesId'))); + foreach ($diakOsztalyIds as $osztalyId) { + $return['osztaly'][$osztalyId] = array(); + $osztalyAdat[$osztalyId] = array( + 'targy' => getTargyakByOsztalyId($osztalyId, $tanev, array('result' => 'idonly')), + 'evfolyam'=>getEvfolyam($osztalyId,$tanev), + 'evfolyamJel'=>getEvfolyamJel($osztalyId,$tanev) + ); + if (is_array($osztalyKepzes[$osztalyId])) foreach ($osztalyKepzes[$osztalyId] as $kepzesId => $kAdat) { + if (isset($kepzesOsztaly[$kepzesId])) { + // Ha azonos évfolyamon vannak a képzéshez rendelt osztályok, akkor nem okoz gondot a több osztály a képzésből jövő tárgyak lekérdezésénél - ezért nem üzenünk hibát + if ($osztalyAdat[$osztalyId]['evfolyamJel'] != $osztalyAdat[ $kepzesOsztaly[$kepzesId] ]['evfolyamJel']) { + $_SESSION['alert'][] = 'message:wrong_data:getTargyakByDiakId:egy képzés több különböző évfolyamú osztályhoz tartozik'; + } + // TODO , evfolyamJel re való áttérés a képzéseknél - ellenőrzés, tesztelés... + if ($osztalyAdat[$osztalyId]['evfolyamJel'] != $osztalyAdat[ $kepzesOsztaly[$kepzesId] ]['evfolyamJel']) { + $_SESSION['alert'][] = 'message:wrong_data:getTargyakByDiakId:egy képzés több különböző évfolyamú osztályhoz tartozik'; + } + } else { + $kepzesOsztaly[$kepzesId] = $osztalyId; + } + } + if (!in_array($osztalyAdat[$osztalyId]['evfolyamJel'], $diakEvfolyamJel)) $diakEvfolyamJel[] = $osztalyAdat[$osztalyId]['evfolyamJel']; + } + } + + if (count($diakEvfolyamJel)==0) { + // --TODO, ilyenkor mi van? + // Pl. ha év közben elmegy a tanuló az iskolából... + // Legalább ne mindenkinek, csak az adminnak jelenjen meg a hibaüzenet... + if (__NAPLOADMIN) $_SESSION['alert'][] = 'info:not_implemented:nincs_evfolyam,getTargyakByDiakId'; + } + + // Tárgyak lekérdezése a diák aktuális tankör-tagságai alapján + $q = "SELECT DISTINCT targyId,targyNev, zaroKovetelmeny, tankor.kovetelmeny AS evkoziKovetelmeny + FROM targy + LEFT JOIN tankor USING (targyId) + LEFT JOIN tankorSzemeszter USING (tankorId) + $LEFTJOIN + LEFT JOIN tankorDiak USING (tankorId) + WHERE diakId=%u AND tanev=%u AND beDt <= '%s' AND ('%s' <= kiDt OR kiDt IS NULL) + $W + ORDER BY targyNev, tankor.kovetelmeny DESC"; // Ha több tankör van egy tárgyhoz különböző követelményekkel, akkor ne a "nincs" legyen az utolsó! + $v = array($diakId, $tanev, $igDt, $tolDt); + + $return['targyAdat'] = db_query($q, array('fv' => 'getTargyByDiakId', 'modul' => 'naplo_intezmeny', 'keyfield' => 'targyId', 'result' => 'assoc', 'values' => $v)); + + foreach ($return['targyAdat'] as $targyId => $tAdat) { + $osztalybaSorolva = false; + foreach ($diakOsztalyIds as $osztalyId) { + if (in_array($targyId, $osztalyAdat[$osztalyId]['targy'])) { + $return['osztaly'][$osztalyId][] = $targyId; + $osztalybaSorolva = true; + } + } + if (!$osztalybaSorolva) $return['egyeb'][] = $targyId; + } + + // Tárgyak lekérdezése a beírt zárójegyek, osztályzatok alapján + if (count($diakEvfolyamJel)>0) { + // Ez lenne az új javaslat: az adott tolDt-igDt közötti VAGY adott évfolyamokra illeszkedő zárójegyek legyenek lekérdezve - ez így bővebb... (evfolyam-->evfolyamJel tesztelendő) + $q = "SELECT targyId, targyNev, evfolyam, evfolyamJel, jegyTipus FROM zaroJegy LEFT JOIN targy USING (targyId) + WHERE diakId=%u AND (('%s' <= hivatalosDt AND hivatalosDt <= '%s') OR evfolyamJel IN (".implode(',', array_fill(0, count($diakEvfolyamJel), '%u'))."))"; + // Ez az eredeti tolDt-igDt közötti ÉS adott évfolyamokra illeszkedő jegyek... (evfolyam-->evfolyamJel tesztelendő) + $q = "SELECT targyId, targyNev, evfolyam, evfolyamJel, jegyTipus FROM zaroJegy LEFT JOIN targy USING (targyId) + WHERE diakId=%u AND '%s' <= hivatalosDt AND hivatalosDt <= '%s' AND evfolyamJel IN (".implode(',', array_fill(0, count($diakEvfolyamJel), '%u')).")"; + $v = $diakEvfolyamJel; + array_unshift($v, $diakId, $tolDt, $igDt); + $retZJ = db_query($q, array('fv' => 'getTargyByDiakId/zárójegyek', 'modul' => 'naplo_intezmeny', 'keyfield' => 'targyId', 'result' => 'assoc', 'values' => $v)); + foreach ($retZJ as $targyId => $tAdat) { + $osztalybaSorolva = false; + if (isset($return['targyAdat'][$targyId])) $return['targyAdat'][$targyId]['jegyTipus'] = $tAdat['jegyTipus']; + else $return['targyAdat'][$targyId] = $tAdat; + foreach ($diakOsztalyIds as $osztalyId) { + if (in_array($targyId, $osztalyAdat[$osztalyId]['targy'])) { + if (!in_array($targyId, $return['osztaly'][$osztalyId])) $return['osztaly'][$osztalyId][] = $targyId; + $osztalybaSorolva = true; + } + } + if (!$osztalybaSorolva && !in_array($targyId, $return['egyeb'])) $return['egyeb'][] = $targyId; + } + } + + // Tárgyak lekérdezése képzés alapján + // - van-e a diáknak képzése? + $kepzesIds = getKepzesByDiakId($diakId, array('dt'=>$dt, 'result' => 'idonly')); + if (is_array($kepzesIds) && count($kepzesIds) > 0) { + foreach ($kepzesIds as $kepzesId) { + $osztalyId = $kepzesOsztaly[$kepzesId]; + $evfolyamJel = $osztalyAdat[$osztalyId]['evfolyamJel']; + $retK = getKepzesOraterv($kepzesId, array('arraymap' => array('evfolyamJel', 'targyId'))); + if (is_array($retK[$evfolyamJel])) foreach ($retK[$evfolyamJel] as $targyId => $tAdat) { + if ($targyId != '') { + if (!in_array($targyId, $return['osztaly'][$osztalyId])) $return['osztaly'][$osztalyId][] = $targyId; //Ne üzenjünk hibát? Ezek szerint egy képzésben előírt tárgy nem szerepelt a tankörök között... + if (is_array($return['targyAdat'][$targyId])) $return['targyAdat'][$targyId]['zaroKovetelmeny'] = $tAdat[ (count($tAdat)-1) ]['kovetelmeny']; // A képzés követelménye felülírja a tárgyét... + else $return['targyAdat'][$targyId] = array_merge(getTargyById($targyId), array('evfolyamJel' => $evfolyamJel, 'zaroKovetelmeny' => $tAdat[ (count($tAdat)-1) ]['kovetelmeny'])); // Ha még nem szerepelt a tárgy, akkor vegyük fel az adatait... + } + } + } + } + // Kellene még szűrni - követelmény, vagy jelenlét szerint, és le kellene kezelni a $result paramétert... (rev. 2251)) + if ($SET['result'] == '') return $return; // Ha nincs visszatérési forma megadva, akkor adjuk vissza az egész tömböt! + + if ($targySorrendNev != '' && is_array($return['targyAdat']) && count($return['targyAdat'])>0) { + // Rendezés... a $diakOsztalyIds[0] alapján! + $q = "SELECT targy.targyId FROM targy LEFT JOIN ".$tanevDb.".targySorszam + ON targy.targyId = targySorszam.targyId AND osztalyId=%u AND sorrendNev='%s' + WHERE targy.targyId IN (".implode(',', array_fill(0, count(array_keys($return['targyAdat'])), '%u')).") ORDER BY sorszam, targyNev"; + $v = array_keys($return['targyAdat']); + array_unshift($v, $diakOsztalyIds[0], $targySorrendNev); + $sorrend = db_query($q, array('fv' => 'getTargyakByDiakId/targySorrend', 'modul' => 'naplo_intezmeny', 'result' => 'idonly', 'values' => $v)); + } else { + $sorrend = array_keys($return['targyAdat']); + } + + // Szűrés + $ret = array(); + if (isset($SET['osztalyId'])) $osztalyId = $SET['osztalyId']; // Ha van szűrés az osztályra... + foreach ($sorrend as $targyId) { + $tAdat = $return['targyAdat'][$targyId]; + + if ( // szűrés az osztályra + !isset($SET['osztalyId']) // nincs osztályra szűrés... + || (is_array($return['osztaly'][$osztalyId]) && in_array($targyId, $return['osztaly'][$osztalyId])) // vagy a szűrendő osztályhoz kapcsolódó tárgy + || (in_array($targyId, $return['egyeb']) && isset($tAdat['evfolyamJel']) && in_array($tAdat['evfolyamJel'], $diakEvfolyamJel)) // vagy nem kapcsolható más osztályhoz, évfolyama viszont megfelel a szűrendő évfolyamnak + ) { + if ( + $SET['filter'] != 'kovetelmeny' || // ha nincs követelmény szerinti szűrés... + ( // Szűrés a követelményre + (isset($tAdat['evkoziKovetelmeny']) && $tAdat['evkoziKovetelmeny'] != 'nincs') // vagy van/lehet évközi értékelése ... + || (isset($tAdat['zaroKovetelmeny']) && $tAdat['zaroKovetelmeny'] != 'nincs' && $tAdat['zaroKovetelmeny'] != '') // vagy év végi osztályzata... + || (isset($tAdat['jegyTipus'])) // vagy van már beírva osztályzata + ) + ) { // Megfelelő adatforma kialakítása + if ($SET['result'] == 'idonly') $ret[] = $targyId; + elseif ($SET['result'] == 'indexed') $ret[] = $tAdat; + elseif ($SET['result'] == 'assoc') $ret[$targyId] = $tAdat; + } + } + } + + return $ret; + + } + + function getTargyakByDiakIds($diakIds, $szemeszterAdat, $osztalyId, $sorrendNev, $SET = array('result' => 'indexed', 'keyfield' => null,'csakOratervi'=>true,'filter'=>'kovetelmeny')) { + /* + A függvény lekérdezi az összes diák tárgyait a share/targy/getTargyakByDiakId függvénnyel, + majd ezen id-k alapján kérdezi le a rendezett tárgy listát - névvel és egyéb adatokkal indexelt tömbként. + */ + + if ( !isset($SET['csakOratervi']) ) $SET['csakOratervi'] = true; + if ( !isset($SET['filter']) ) $SET['filter'] = 'kovetelmeny'; + if ( !isset($SET['result']) ) $SET['result'] = 'indexed'; + + if ($szemeszterAdat['tanev'] == __TANEV) $tanevDb = __TANEVDBNEV; + else $tanevDb = tanevDbNev(__INTEZMENY, $szemeszterAdat['tanev']); + + $targyIds = $tmp = array(); + foreach ($diakIds as $key => $diakId) { + $ret = getTargyakByDiakId($diakId, array('osztalyId' => $osztalyId, 'result' => 'idonly', 'csakOratervi' => $SET['csakOratervi'], 'filter' => $SET['filter'], + 'tanev' => $szemeszterAdat['tanev'], 'tolDt' => $szemeszterAdat['kezdesDt'], 'igDt' => $szemeszterAdat['zarasDt'])); + if (is_array($ret)) { + $targyIds = array_unique(array_merge($tmp, $ret)); + $tmp = $targyIds; + } + } + if (is_array($targyIds) && count($targyIds)>0) { + $q = "SELECT kirTargyId,targy.targyId AS targyId, IF(targyRovidNev='' OR targyRovidNev IS NULL,targyNev,targyRovidNev) as targyRovidNev, targyNev, sorszam, targy.zaroKovetelmeny + FROM targy LEFT JOIN ".$tanevDb.".targySorszam + ON targy.targyId = targySorszam.targyId AND osztalyId=%u AND sorrendNev='%s' + WHERE targy.targyId IN (".implode(',', array_fill(0, count($targyIds), '%u')).") + ORDER BY sorszam,targyNev"; + $v = mayor_array_join(array($osztalyId, $sorrendNev,), $targyIds); + return db_query($q, array('fv' => 'getTargyakByDiakIds', 'modul' => 'naplo_intezmeny', 'result' => $SET['result'], 'keyfield' => $SET['keyfield'], 'values' => $v)); + } else { + return false; + } + } + + function getTargyIdsByTanarId($tanarId) { + + $q1 = "SELECT targyId FROM kepesitesTargy LEFT JOIN tanarKepesites USING (kepesitesId) WHERE tanarId=%u"; + $q2 = "SELECT targyId FROM targy LEFT JOIN mkTanar USING (mkId) WHERE tanarId=%u"; + $q = "($q1) UNION DISTINCT ($q2)"; + + return db_query($q, array('fv'=>'getTargyIdsByTanarId','modul'=>'naplo_intezmeny','result'=>'idonly','values'=>array($tanarId, $tanarId))); + + } + + function getMagatartas($SET = array('csakId' => true, 'result' => 'idonly')) { // Nekem szimpatikusabb a result paraméter... [bb] :) + if ($SET['csakId']===true || $SET['result'] == 'idonly') { $w='targyId'; $r='idonly'; } + elseif ($SET['result'] == 'value') { $w ='targyId'; $r='value'; } + else {$w='*';$r='indexed'; } + $q = "SELECT $w FROM targy WHERE targyJelleg='magatartás'"; + $ret=db_query($q, array('fv' => 'getMagatartas', 'modul' => 'naplo_intezmeny', 'result' => $r)); + if (count($ret)==0) $_SESSION['alert'][]='message:nincs_targy:magatartás'; + return $ret; + } + function getSzorgalom($SET = array('csakId' => true, 'result' => 'idonly')) { + if ($SET['csakId']===true || $SET['result'] == 'idonly') { $w='targyId'; $r='idonly'; } + elseif ($SET['result'] == 'value') { $w ='targyId'; $r='value'; } + else {$w='*';$r='indexed'; } + $q = "SELECT $w FROM targy WHERE targyJelleg='szorgalom'"; + $ret=db_query($q, array('fv' => 'getSzorgalom', 'modul' => 'naplo_intezmeny', 'result' => $r)); + if (count($ret)==0) $_SESSION['alert'][]='message:nincs_targy:szorgalom'; + return $ret; + } + function getOsztalyfonoki($SET = array('csakId' => true, 'result' => 'idonly')) { + if ($SET['csakId']===true || 'result' == 'idonly') { $w='targyId'; $r='idonly'; } + elseif ($SET['result'] == 'value') { $w ='targyId'; $r='value'; } + else {$w='*';$r='indexed'; } + // még nincs "osztályfőnöki" tárgy jelleg - de kéne, nem? + $q = "SELECT $w FROM targy WHERE targyJelleg='osztályfőnöki' or targyNev = 'osztályfőnöki'"; + $ret=db_query($q, array('fv' => 'getSzorgalom', 'modul' => 'naplo_intezmeny', 'result' => $r)); + if (count($ret)==0) $_SESSION['alert'][]='message:nincs_targy:szorgalom'; + return $ret; + } + + + function getKirTargyak() { + $q = "SELECT * FROM kirTargy"; + return db_query($q, array('fv'=>'getKirTargyak','modul'=>'naplo_base','result'=>'indexed')); + } + + function getTargyTargy($SET=array()) { + + $q = "SELECT * FROM targyTargy"; + $r = db_query($q, array('fv'=>'getTargyTargy','modul'=>'naplo_intezmeny','result'=>'indexed')); + //$R = reindex($r,array('foTargyId')); + for ($i=0; $i'getTargyNev','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v)); + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/terem.php b/mayor-orig/www/include/modules/naplo/share/terem.php new file mode 100644 index 00000000..f4a722a2 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/terem.php @@ -0,0 +1,112 @@ + 'getTeremAdatById', 'modul' => 'naplo_intezmeny', 'values' => array($teremId), 'result' => 'record')); + + } + + function getTermek($SET = array('result' => 'indexed', 'tipus' => array(), 'telephelyId' => null), $olr = null) { + $result = readVariable($SET['result'], 'enum', 'indexed', array('indexed', 'idonly', 'assoc')); + $v = array(); + + if (is_array($SET['tipus']) && count($SET['tipus'])>0) { + $W[] = " tipus IN ('".implode("','", array_fill(0, count($SET['tipus']), '%s'))."')"; + $v = $SET['tipus']; + } else { + $W[] = " tipus != 'megszűnt' "; + } + if ($SET['telephelyId']!='') { + $W[] = " (telephelyId=%u OR telephelyId IS NULL) "; // vagy set vagy null + $v[] = $SET['telephelyId']; + } + + if (count($W) > 0) $WHERE = ' WHERE '.implode(' AND ', $W); + + if ($result == 'idonly') { + $q = "SELECT teremId FROM ".__INTEZMENYDBNEV.".terem".$WHERE." ORDER BY teremId"; + } else { + $q = "SELECT * FROM ".__INTEZMENYDBNEV.".terem".$WHERE." ORDER BY teremId"; + } + $R = db_query($q, array('fv' => 'getTerem', 'modul' => 'naplo_intezmeny', 'result' => $result, 'values' => $v, 'keyfield' => 'teremId'), $olr); + return $R; + } + + function getSzabadTermekByDt($dt, $teremIds = array(), $forras = 'orarendiOra', $olr = '') { + + if (!is_array($teremIds) || count($teremIds) == 0) $teremIds = getTermek(array('result' => 'idonly', 'tipus'=>array('tanterem','labor')), $olr); + $szabadTermek = $foglaltTermek = array(); + if ($forras == 'ora') + $q = "SELECT DISTINCT ora,teremId FROM ".__TANEVDBNEV.".ora + WHERE dt='%s' ORDER BY ora,teremId"; + else + $q = "SELECT DISTINCT ora,teremId FROM ".__TANEVDBNEV.".nap LEFT JOIN ".__TANEVDBNEV.".orarendiOra + ON (((DAYOFWEEK(dt)+5) MOD 7)+1 = orarendiOra.nap) + AND orarendiOra.het=nap.orarendiHet + AND orarendiOra.tolDt<=dt AND orarendiOra.igDt>=dt + WHERE dt='%s' ORDER BY ora,teremId"; + $ret = db_query($q, array('fv' => 'getSzabadTermekByDt', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => array($dt)), $olr); + for ($i = 0; $i < count($ret); $i++) $foglaltTermek[$ret[$i]['ora']][] = $ret[$i]['teremId']; + foreach ($foglaltTermek as $ora => $fTermek) { + $szT = array_diff($teremIds, $fTermek); + // reindex + foreach($szT as $_key => $_value) + $szabadTermek[$ora][] = intval($_value); + } + return $szabadTermek; + + } + + function getSzabadTermekByDtInterval($tolDt, $igDt, $teremIds, $forras = 'orarendiOra') { + + if (!is_array($teremIds)) $teremIds = getTermek(array('result' => 'idonly', 'tipus'=>array('tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','előadó'))); + + for ($dt = $tolDt; strtotime($dt) <= strtotime($igDt); $dt = date('Y-m-d', strtotime('+1 days', strtotime($dt)))) { + $szabadTermek[$dt] = getSzabadTermekByDt($dt, $teremIds, $forras); + } + + return $szabadTermek; + } + + function getFoglaltTeremekByOrarendiOra($SET = array('tanev' => __TANEV, 'dt' => null, 'het' => null, 'nap' => null, 'ora' => null)) { + + + $dt = readVariable($SET['dt'], 'datetime', null); + initTolIgDt($SET['tanev'], $dt, $dt); + + // Ha van dátum, de nincs hét, nap óra, akkor azt a dátum alapján kellene beállítani) + if (isset($SET['het']) && isset($SET['nap']) && isset($SET['ora']) && isset($dt) && isset($SET['tanev'])) { + + $tanevDb = tanevDbNev(__INTEZMENY, $SET['tanev']); + $q = "SELECT * FROM `%s`.orarendiOra LEFT JOIN `%s`.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) + WHERE tolDt <= '%s' AND '%s' <= igDt + AND het=%u AND nap=%u AND ora=%u + AND teremId IS NOT NULL + ORDER BY teremId"; + $v = array($tanevDb, $tanevDb, $dt, $dt, $SET['het'], $SET['nap'], $SET['ora']); + return db_query($q, array('fv' => 'getFoglaltTermekByOrarendiOra', 'modul' => 'naplo_intezmeny', 'keyfield' => 'teremId', 'result' => 'assoc', 'values' => $v)); + + } else { + $_SESSION['alert'][] = 'message:empty_field:het,nap,ora,tanev,dt'; + return false; + } + + + } + + function getTeremPreferencia($SET = array('telephelyId' => null,'teremPreferenciaId'=>null)) { + + if ($SET['teremPreferenciaId']!='') { + $W = 'WHERE teremPreferenciaId=%u'; + $v = array($SET['teremPreferenciaId']); + } else { + $W=''; + $v = array(); + } + $q = "SELECT * FROM teremPreferencia $W ORDER BY teremPreferenciaId"; + return db_query($q, array('fv' => 'getFoglaltTermekByOrarendiOra', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/verseny.php b/mayor-orig/www/include/modules/naplo/share/verseny.php new file mode 100644 index 00000000..29700181 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/verseny.php @@ -0,0 +1,20 @@ +'naplo_intezmeny')); + + } + + function ujVerseny($ADAT) { + + + $q = "INSERT INTO verseny (targyId,versenyNev) VALUES (%u,'%s')"; + $v = array($ADAT['targyId'],$ADAT['versenyNev']); + + + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/vizsga.php b/mayor-orig/www/include/modules/naplo/share/vizsga.php new file mode 100644 index 00000000..1154d9b4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/vizsga.php @@ -0,0 +1,41 @@ + 'naplo_intezmeny', 'fv' => 'getVizsgak', 'result' => 'indexed', 'values' => $v) + ); + + return $ret; + + } + + function getVizsgaAdatById($vizsgaId) { + + $q = "SELECT *, vizsga.evfolyam AS evfolyam, vizsga.evfolyamJel AS evfolyamJel FROM vizsga + LEFT JOIN zaradek USING (zaradekId,diakId) + LEFT JOIN zaroJegy USING (zaroJegyId,diakId,targyId,felev) + WHERE vizsgaId=%u"; + $v = array($vizsgaId); + return db_query($q, array( + 'modul' => 'naplo_intezmeny', 'fv' => 'getVizsgaAdatById', 'result' => 'record', 'values' => $v) + ); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/share/zaradek.php b/mayor-orig/www/include/modules/naplo/share/zaradek.php new file mode 100644 index 00000000..edc432b4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/zaradek.php @@ -0,0 +1,543 @@ + mire...) + * zaradekId - a lecserélendő záradék (optional) + * diakId, dt, zaradekIndex (require) + **/ + + global $Zaradek; + + $lr = ($olr=='') ? db_connect('naplo_intezmeny') : $olr; + if (!is_array($ADAT['csere'])) $ADAT['csere'] = array(); + + if (isset($ADAT['zaradekId'])) { + $q = "UPDATE zaradek SET diakId=%u,dt='%s',sorszam='%s',dokumentum='%s',szoveg='%s',zaradekIndex=%u WHERE zaradekId=%u"; + $v = array( + $ADAT['diakId'], $ADAT['dt'], $Zaradek[$ADAT['zaradekIndex']]['sorszam'], + str_replace(', ', ',', $Zaradek[$ADAT['zaradekIndex']]['dokumentum']), + str_replace(array_keys($ADAT['csere']), array_values($ADAT['csere']), $Zaradek[$ADAT['zaradekIndex']]['szoveg']), + $ADAT['zaradekIndex'], $ADAT['zaradekId'] + ); + $ret = db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'zaradekRogzites', 'values' => $v), $lr); + } else { + $q = "INSERT INTO zaradek (diakId, dt, sorszam, dokumentum, szoveg, zaradekIndex,iktatoszam) VALUES + (%u, '%s', '%s', '%s', '%s', %u,'%s')"; + $v = array( + $ADAT['diakId'], $ADAT['dt'], $Zaradek[$ADAT['zaradekIndex']]['sorszam'], + str_replace(', ', ',', $Zaradek[$ADAT['zaradekIndex']]['dokumentum']), + str_replace(array_keys($ADAT['csere']), array_values($ADAT['csere']), $Zaradek[$ADAT['zaradekIndex']]['szoveg']), + $ADAT['zaradekIndex'], $ADAT['iktatoszam'] + ); + $ret = db_query($q, array('modul' => 'naplo_intezmeny', 'fv' => 'zaradekRogzites', 'result' => 'insert', 'values' => $v), $lr); + } + + if ($olr=='') db_close($lr); + return $ret; + } + + function getZaradekok() { + global $Zaradek; + return $Zaradek; + } + + function getDiakZaradekok($diakId, $SET = array('tolDt' => null, 'igDt' => null, 'dokumentum' => null, 'tipus' => null, 'result' => 'indexed', 'keyfield' => null)) { + + global $Zaradek, $ZaradekIndex; + + $dokumentum = readVariable($SET['dokumentum'], 'enum', null, array('beírási napló','osztálynapló','törzslap','bizonyítvány')); + $tolDt = readVariable($SET['tolDt'], 'datetime', '1940-01-01'); + $igDt = readVariable($SET['igDt'], 'datetime', '2050-01-01'); + $tipus = readVariable($SET['tipus'], 'enum', null, array_keys($ZaradekIndex)); + if ($SET['result']=='') $SET['result'] = 'indexed'; + + $q = "SELECT zaradekId,diakId,dt,sorszam,dokumentum,IF(iktatoszam!='',CONCAT(szoveg,' (',iktatoszam,')'),szoveg) AS szoveg,zaradekIndex,iktatoszam FROM zaradek WHERE diakId=%u AND '%s' <= dt AND dt <= '%s'"; + $v = array($diakId, $tolDt, $igDt); + if (isset($dokumentum)) { + $q .= " AND dokumentum LIKE '%%%s%%'"; + $v[] = $dokumentum; + } + if (isset($tipus)) { + $q .= " AND zaradekIndex IN (".implode(',',array_values($ZaradekIndex[$tipus])).")"; + } + $q .= " ORDER BY dt,zaradekId,sorszam"; + return db_query($q, array( + 'modul' => 'naplo_intezmeny', 'fv' => 'getDiakZaradekok', 'result' => $SET['result'], 'keyfield' => $SET['keyfield'], 'values' => $v) + ); + + } + + function getZaradekokByDiakIds($diakIds, $SET = array('tolDt' => null, 'igDt' => null, 'dokumentum' => null, 'tipus' => null, 'result' => 'indexed', 'keyfield' => null)) { + + global $Zaradek, $ZaradekIndex; + + if (!is_array($diakIds) || count($diakIds) < 1) return false; + + $dokumentum = readVariable($SET['dokumentum'], 'enum', null, array('beírási napló','osztálynapló','törzslap','bizonyítvány')); + $tolDt = readVariable($SET['tolDt'], 'datetime', '1940-01-01'); + $igDt = readVariable($SET['igDt'], 'datetime', '2050-01-01'); + $tipus = readVariable($SET['tipus'], 'enum', null, array_keys($ZaradekIndex)); + if ($SET['result']=='') { $SET['result'] = 'assoc'; $SET['keyfield'] = 'diakId'; } + + $q = "SELECT * FROM zaradek WHERE diakId IN (".implode(',', array_fill(0, count($diakIds), '%u')).") AND '%s' <= dt AND dt <= '%s'"; + $v = $diakIds; + $v[] = $tolDt; $v[] = $igDt; + if (isset($dokumentum)) { + $q .= " AND dokumentum LIKE '%%%s%%'"; + $v[] = $dokumentum; + } + if (isset($tipus)) { + $q .= " AND zaradekIndex IN (".implode(',',array_values($ZaradekIndex[$tipus])).")"; + } + $q .= " ORDER BY dt,sorszam,zaradekId"; + return db_query($q, array( + 'modul' => 'naplo_intezmeny', 'fv' => 'getDiakZaradekok', 'result' => $SET['result'], 'keyfield' => $SET['keyfield'], 'values' => $v) + ); + + } + + function getZaradekokByIndexes($zaradekIndexes) { + + global $Zaradek; + + $ret = array(); + if (is_array($zaradekIndexes)) foreach ($zaradekIndexes as $key => $zaradekIndex) { + $ret[$zaradekIndex] = $Zaradek[$zaradekIndex]; + } + return $ret; + + } + + function getZaradekokByTipus($tipus) { + /** + * A tipus paraméter vesszővel elválasztva több típust is tartalmazhat. + **/ + global $ZaradekIndex; + + foreach (explode(',', $tipus) as $idx => $_tipus) { + foreach ($ZaradekIndex[trim($_tipus)] as $key => $zIndex) $zaradekIndexes[] = $zIndex; + } + return getZaradekokByIndexes($zaradekIndexes); + + } + + function zaradekTorles($zaradekId) { + $q = "DELETE FROM zaradek WHERE zaradekId=%u"; + return db_query($q, array('fv'=>'zaradekTorles','modul'=>'naplo_intezmeny','values'=>array($zaradekId))); + } + +if (__TANEV < 2013) { + +$Zaradek = array( +1 => array('sorszam' => '1.', 'szoveg' => 'Felvéve a(z) %iskola címe% iskolába.', 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +2 => array('sorszam' => '1.', 'szoveg' => 'Átvéve a(z) %iskola címe% iskolába.', 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +3 => array('sorszam' => '1.', 'szoveg' => 'A(z) %határozat száma% számú határozattal áthelyezve a(z) %iskola címe% iskolába.', 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +4 => array('sorszam' => '1/A', 'szoveg' => 'Az első évfolyam követelményeit nem teljesítette, munkája előkészítőnek minősül, tanulmányait az első évfolyamon folytathatja.', 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +5 => array('sorszam' => '2.', 'szoveg' => 'A %fordítás száma% számú fordítással hitelesített bizonyítvány alapján tanulmányait a(z) %évfolyam betűvel% évfolyamon folytatja.', 'dokumentum' => 'beírási napló, törzslap'), +6 => array('sorszam' => '3.', 'szoveg' => 'Felvette a(z) %iskola címe% iskola.', 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), +7 => array('sorszam' => '4.', 'szoveg' => 'Tanulmányait évfolyamismétléssel kezdheti meg, illetve osztályozó vizsga letételével folytathatja.', 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), +8 => array('sorszam' => '4/A', 'szoveg' => '%Tantárgy% tantárgyból tanulmányait egyéni továbbhaladás szerint végzi.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +9 => array('sorszam' => '4/B', 'szoveg' => 'Mentesítve %tantárgy% tantárgyból az értékelés és a minősítés alól.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +10 => array('sorszam' => '4/C', 'szoveg' => '%Tantárgy% tantárgy %évfolyamok% évfolyamainak követelményeit egy tanévben teljesítette a következők szerint: %jegyek%', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +11 => array('sorszam' => '5.', 'szoveg' => 'Egyes tantárgyak tanórai látogatása alól az %tanév jele% tanévben felmentve %felmentés oka% miatt.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány)'), +12 => array('sorszam' => '5.', 'szoveg' => 'Egyes tantárgyak tanórai látogatása alól az %tanév jele% tanévben felmentve %felmentés oka% miatt. Osztályozó vizsgát köteles tenni', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +13 => array('sorszam' => '6.', 'szoveg' => 'Tanulmányait a szülő kérésére (szakértői vélemény alapján) magántanulóként folytatja.', 'dokumentum' => 'osztálynapló, törzslap'), +14 => array('sorszam' => '7.', 'szoveg' => 'Mentesítve a(z) %tantárgyak neve% tantárgy tanulása alól.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +15 => array('sorszam' => '8.', 'szoveg' => 'Tanulmányi idejének megrövidítése miatt a(z) %évfolyam% évfolyam tantárgyból osztályozó vizsgát köteles tenni.', 'dokumentum' => 'osztálynapló, törzslap'), +16 => array('sorszam' => '9.', 'szoveg' => 'A(z) évfolyamra megállapított tantervi követelményeket a tanulmányi idő megrövidítésével teljesítette.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +17 => array('sorszam' => '10.', 'szoveg' => 'A(z) %tantárgy% tantárgy %ezen óráinak% óráinak látogatása alól felmentve %tólDt%-tól %igDt%-ig.', 'dokumentum' => 'osztálynapló'), +18 => array('sorszam' => '10.', 'szoveg' => 'A(z) %tantárgy% tantárgy %ezen óráinak% óráinak látogatása alól felmentve %tólDt%-tól %igDt%-ig. Osztályozó vizsgát köteles tenni.', 'dokumentum' => 'osztálynapló'), +19 => array('sorszam' => '11.', 'szoveg' => 'Mulasztása miatt nem osztályozható, a nevelőtestület határozata értelmében osztályozó vizsgát tehet.', 'dokumentum' => 'osztálynapló, törzslap'), +20 => array('sorszam' => '12.', 'szoveg' => 'A nevelőtestület határozata: a(z) %évfolyam betűvel% évfolyamba léphet.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +21 => array('sorszam' => '12.', 'szoveg' => 'A nevelőtestület határozata: iskolai tanulmányait befejezte, tanulmányait %évfolyam% évfolyamon folytathatja.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +22 => array('sorszam' => '13.', 'szoveg' => 'A tanuló az %évfolyam% évfolyam követelményeit egy tanítási évnél hosszabb ideig, %hónap szám% hónap alatt teljesítette.', 'dokumentum' => 'osztálynapló, törzslap'), +23 => array('sorszam' => '14.', 'szoveg' => 'A(z) %tantárgy% tantárgyból javítóvizsgát tehet.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +24 => array('sorszam' => '14.', 'szoveg' => 'A javítóvizsgán %tantárgy% tantárgyból %osztályzat% osztályzatot kapott, %évfolyam% évfolyamba léphet.', 'dokumentum' => 'törzslap, bizonyítvány'), +25 => array('sorszam' => '15.', 'szoveg' => 'A(z) %évfolyam% évfolyam követelményeit nem teljesítette, az évfolyamot megismételheti.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +26 => array('sorszam' => '15/A', 'szoveg' => 'Az %évfolyam% évfolyamot az 1993. évi LXXIX. törvény 72. §-ának (4) bekezdésében foglaltak alapján megismételte.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +27 => array('sorszam' => '16.', 'szoveg' => 'A javítóvizsgán %tantárgy% tantárgyból elégtelen osztályzatot kapott. Évfolyamot ismételni köteles.', 'dokumentum' => 'törzslap, bizonyítvány'), +28 => array('sorszam' => '17.', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án osztályozó vizsgát tett.', 'dokumentum' => 'osztálynapló, törzslap'), +29 => array('sorszam' => '18.', 'szoveg' => 'Osztályozó vizsgát tett.', 'dokumentum' => 'törzslap, bizonyítvány'), +30 => array('sorszam' => '19.', 'szoveg' => 'A(z) %tantárgy% tantárgy alól %felmentés oka% okból felmentve.', 'dokumentum' => 'törzslap, bizonyítvány'), +31 => array('sorszam' => '20.', 'szoveg' => 'A(z) %tanóra% tanóra alól %felmentés oka% okból felmentve.', 'dokumentum' => 'törzslap, bizonyítvány'), +32 => array('sorszam' => '21.', 'szoveg' => 'Az osztályozóvizsga letételére %igDt%-ig halasztást kapott.', 'dokumentum' => 'törzslap, bizonyítvány'), +33 => array('sorszam' => '21.', 'szoveg' => 'Az beszámoltatóvizsga letételére %igDt%-ig halasztást kapott.', 'dokumentum' => 'törzslap, bizonyítvány'), +34 => array('sorszam' => '21.', 'szoveg' => 'Az különbözetivizsga letételére %igDt%-ig halasztást kapott.', 'dokumentum' => 'törzslap, bizonyítvány'), +35 => array('sorszam' => '21.', 'szoveg' => 'Az javítóvizsga letételére %igDt%-ig halasztást kapott.', 'dokumentum' => 'törzslap, bizonyítvány'), +36 => array('sorszam' => '22.', 'szoveg' => 'Az osztályozó vizsgát engedéllyel a(z) %iskola% iskolában független vizsgabizottság előtt tette le.', 'dokumentum' => 'törzslap, bizonyítvány'), +37 => array('sorszam' => '22.', 'szoveg' => 'Az javítóvizsgát engedéllyel a(z) %iskola% iskolában független vizsgabizottság előtt tette le.', 'dokumentum' => 'törzslap, bizonyítvány'), +38 => array('sorszam' => '23.', 'szoveg' => 'A(z) %szakképesítés% szakképesítés évfolyamán folytatja tanulmányait.', 'dokumentum' => 'törzslap, bizonyítvány, osztálynapló'), +39 => array('sorszam' => '24.', 'szoveg' => 'Tanulmányait %ok% okból megszakította, a tanulói jogviszonya %igDt%-ig szünetel.', 'dokumentum' => 'beírási napló, törzslap'), +40 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya kimaradással megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +41 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya %igazolatlan órák száma% óra igazolatlan mulasztás miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +42 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya egészségügyi alkalmasság miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +43 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya térítési díj fizetési hátralék miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +44 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya tandíj fizetési hátralék miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +45 => array('sorszam' => '25.', 'szoveg' => 'A tanuló jogviszonya %iskola% iskolába való átvétel miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +46 => array('sorszam' => '26.', 'szoveg' => '%Fegyelmező intézkedés% fegyelmező intézkedésben részesült.', 'dokumentum' => 'osztálynapló'), +47 => array('sorszam' => '27.', 'szoveg' => '%Fegyelmi büntetés% fegyelmi büntetésben részesült. A büntetés végrehajtása %igDt%-ig felfüggesztve.', 'dokumentum' => ''), +48 => array('sorszam' => '28.', 'szoveg' => 'Tanköteles tanuló igazolatlan mulasztása esetén a tanuló %igazolatlan órák száma% óra igazolatlan mulasztása miatt a szülőt felszólítottam.', 'dokumentum' => 'osztálynapló'), +49 => array('sorszam' => '28.', 'szoveg' => 'Tanköteles tanuló igazolatlan mulasztása esetén a tanuló ismételt %igazolatlan órák száma% óra igazolatlan mulasztása miatt a szülő ellen szabálysértési eljárást kezdeményeztem.', 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), +50 => array('sorszam' => '29.', 'szoveg' => 'Tankötelezettség megszűnt.', 'dokumentum' => 'beírási napló'), +51 => array('sorszam' => '30.', 'szoveg' => 'A %szó% szót %helyesbítés%-ra/re helyesbítettem.', 'dokumentum' => 'törzslap, bizonyítvány'), +52 => array('sorszam' => '30.', 'szoveg' => 'A %szavak% szavakat %helyesbítés%-ra/re helyesbítettem.', 'dokumentum' => 'törzslap, bizonyítvány'), +53 => array('sorszam' => '30.', 'szoveg' => 'A %osztályzat% osztályzatot %helyesbítés%-ra/re helyesbítettem.', 'dokumentum' => 'törzslap, bizonyítvány'), +54 => array('sorszam' => '30.', 'szoveg' => 'A %osztályzatok% osztályzatokat %helyesbítés%-ra/re helyesbítettem.', 'dokumentum' => 'törzslap, bizonyítvány'), +55 => array('sorszam' => '31.', 'szoveg' => 'A bizonyítvány %lap% lapját téves bejegyzés miatt érvénytelenítettem.', 'dokumentum' => 'bizonyítvány'), +56 => array('sorszam' => '32.', 'szoveg' => 'Ezt a póttörzslapot a(z) %ok% következtében elvesztett (megsemmisült) eredeti helyett %adatforrás% adatai (adatok) alapján állítottam ki.', 'dokumentum' => 'Pót. törzslap'), +57 => array('sorszam' => '33.', 'szoveg' => 'Ezt a bizonyítványmásodlatot az elveszett (megsemmisült) eredeti helyett %adatforrás% adatai (adatok) alapján állítottam ki.', 'dokumentum' => 'Pót. törzslap'), +58 => array('sorszam' => '33/A', 'szoveg' => 'A bizonyítványt %kérelmező% kérelmére a %bizonyítványszám% számú bizonyítvány alapján, téves bejegyzés miatt állítottam ki.', 'dokumentum' => 'törzslap, bizonyítvány'), +59 => array('sorszam' => '34.', 'szoveg' => 'Pótbizonyítvány. Igazolom, hogy név %Név%, anyja neve %Anyja neve% a(z) %iskola% iskola %szak% szak (szakmai, speciális osztály, két tanítási nyelvű osztály, tagozat) %évfolyam% évfolyamát a(z) %tanév jele% tanévben eredményesen elvégezte.', 'dokumentum' => 'Pót. bizonyítvány'), +60 => array('sorszam' => '35.', 'szoveg' => 'Az iskola a tanulmányi eredmények bejegyzéséhez, a kiemelkedő tanulmányi eredmények elismeréséhez, a felvételi vizsga eredményeinek bejegyzéséhez %vizsga% vizsga eredményének befejezéséhez vagy egyéb, a záradékok között nem szereplő, a tanulóval kapcsolatos közlés dokumentálásához a záradékokat megfelelően alkalmazhatja, illetve megfelelően záradékot alakíthat ki.', 'dokumentum' => ''), +61 => array('sorszam' => '36.', 'szoveg' => 'Érettségi vizsgát tehet.', 'dokumentum' => 'törzslap, bizonyítvány'), +62 => array('sorszam' => '37.', 'szoveg' => 'Gyakorlati képzésről mulasztását %tólDt%-tól %igDt%-ig pótolhatja.', 'dokumentum' => 'törzslap, bizonyítvány, osztálynapló'), +63 => array('sorszam' => '38.', 'szoveg' => 'Beírtam a %iskola% iskola első osztályába.', 'dokumentum' => ''), +64 => array('sorszam' => '39.', 'szoveg' => 'Ezt a haladási naplót %tanítási napok száma% tanítási nappal lezártam.', 'dokumentum' => 'osztálynapló'), +65 => array('sorszam' => '39.', 'szoveg' => 'Ezt a haladási naplót %tanítási órák száma% tanítási órával lezártam.', 'dokumentum' => 'osztálynapló'), +66 => array('sorszam' => '40.', 'szoveg' => 'Ezt az osztályozó naplót %tanulók száma% azaz %tanulók száma betűvel% osztályozott tanulóval lezártam.', 'dokumentum' => 'osztálynapló'), + +67 => array('sorszam' => '1/B', 'szoveg' => 'Felvéve a(z) %iskola címe% %osztály% osztályába.', 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +68 => array('sorszam' => '17/A', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án beszámoltatóvizsgát tett.', 'dokumentum' => 'osztálynapló, törzslap'), +69 => array('sorszam' => '17/B', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án különbözetivizsgát tett.', 'dokumentum' => 'osztálynapló, törzslap'), +70 => array('sorszam' => '12/A', 'szoveg' => 'A nevelőtestület határozata: iskolai tanulmányait befejezte.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +71 => array('sorszam' => '35/D', 'szoveg' => 'A %iktatószám% alapján tanulmányait a %osztály% osztályban folytatja.', 'dokumentum' => 'beírási napló, törzslap'), +72 => array('sorszam' => '16/A', 'szoveg' => 'Az osztályozó vizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', 'dokumentum' => 'törzslap, bizonyítvány'), +73 => array('sorszam' => '16/B', 'szoveg' => 'A beszámoltatóvizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', 'dokumentum' => 'törzslap, bizonyítvány'), +74 => array('sorszam' => '16/C', 'szoveg' => 'A különbözetivizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', 'dokumentum' => 'törzslap, bizonyítvány'), +75 => array('sorszam' => '16/D', 'szoveg' => 'A javítóvizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%. Évfolyamot ismételni köteles.', 'dokumentum' => 'törzslap, bizonyítvány'), + +100 => array('sorszam' => '35/A', 'szoveg' => '%Egyedi osztálynapló záradék%', 'dokumentum' => 'osztálynapló'), +101 => array('sorszam' => '35/B', 'szoveg' => '%Egyedi törzslap záradék%', 'dokumentum' => 'törzslap'), +102 => array('sorszam' => '35/C', 'szoveg' => '%Egyedi bizonyítvány záradék%', 'dokumentum' => 'bizonyítvány'), +103 => array('sorszam' => '35/F', 'szoveg' => 'A(z) %zaradekId% nyilvántartási számú záradékban rögzített felmentést %dt% napon hatályon kívül helyeztem. ', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +104 => array('sorszam' => '4/C', 'szoveg' => '%miatt% miatt mentesítve a(z) %mi% értékelés(e) és a minősítés(e) alól.', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +105 => array('sorszam' => '35/E', 'szoveg' => 'A(z) %tankorDiakFelmentesId% nyilvántartási számú felmentést %dt% napon hatályon kívül helyeztem. ', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +106 => array('sorszam' => '17/C', 'szoveg' => 'A(z) %tantárgy% tantárgyból a(z) %évfolyam% évfolyam anyagából %dátum% napon %osztályzat% eredménnyel osztályozó vizsgát tett.', 'dokumentum' => 'osztálynapló, törzslap'), + +107 => array('sorszam' => '25/A', 'szoveg' => 'A tanuló jogviszonya haláleset miatt megszűnt, a létszámból törölve.', 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), + +); + +$ZaradekIndex = array( + 'konferencia' => array( + // továbbléphet + 'következő évfolyamba léphet' => 20, // %évfolyam betűvel% + 'tanulmányait befejezte' => 70, + // vizsgázhat + 'mulasztás miatt osztályozóvizsga' => 19, + 'javítóvizsgát tehet' => 23, // %tantárgy% + // évfolyamot ismételhet + 'előkészítőt végzett' => 4, + 'követelményeket nem teljesítette, évfolyamot ismételhet' => 25, // %évfolyam% + ), + 'jogviszony' => array( + 'megnyitás' => array( + 'felvétel' => 1, + 'felvétel osztályba' => 67, + 'átvétel' => 2, + 'áthelyezés' => 3 + ), + 'változás' => array( + 'magántanuló' => 13, + 'felfüggesztés' => 39 + ), + 'lezárás' => array( + 'kimaradás' => 40, + 'igazolatlan órák' => 41, + 'egészségügyi alkalmasság' => 42, + 'térítési díj hátralék' => 43, + 'tandíj hátralék' => 44, + 'átvétel' => 45, + 'haláleset' => 107, + 'tanulmányait folytathatja' => 21, + 'tanulmányait befejezte' => 70 + ) + ), + 'vizsga halasztás' => array( + 'osztályozó vizsga' => 32, + 'beszámoltatóvizsga' => 33, + 'különbözetivizsga' => 34, + 'javítóvizsga' => 35, + ), + 'vizsga' => array( + 'osztályozó vizsga' => 106, // 28 volt + 'osztályozó vizsga bukás' => 72, + 'beszámoltatóvizsga' => 68, + 'beszámoltatóvizsga bukás' => 73, + 'különbözetivizsga' => 69, + 'különbözetivizsga bukás' => 74, + 'javítóvizsga' => 24, + 'javítóvizsga bukás' => 27, + 'javítóvizsga nem teljesített' => 75, + ), + 'felmentés' => array( + 'értékelés alól' =>9, + 'értékelés és minősítés alól' => 104, + 'óra látogatása alól' => 17, + 'óra látogatása alól osztályozóvizsgával' => 18, + 'tárgy tanulása alól' => 14, + 'törlés' => 105 + ), + 'törzslap feljegyzés' => array( + 'egyedi törzslap záradék' => 101 + ) + +); + +} else { // 20/2012 EMMI rendelet + +$Zaradek = array( +1 => array('sorszam' => '1.', 'szoveg' => 'Felvéve a(z) %iskola címe% iskolába.', + 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +2 => array('sorszam' => '1.', 'szoveg' => 'Átvéve a(z) %iskola címe% iskolába.', + 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +3 => array('sorszam' => '1.', 'szoveg' => 'A(z) %határozat száma% számú határozattal áthelyezve a(z) %iskola címe% iskolába.', + 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +4 => array('sorszam' => '1/A', 'szoveg' => 'Az első évfolyam követelményeit nem teljesítette, munkája előkészítőnek minősül, tanulmányait az első évfolyamon folytathatja.', + 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +5 => array('sorszam' => '2.', 'szoveg' => 'A %fordítás száma% számú fordítással hitelesített bizonyítvány alapján tanulmányait a(z) %évfolyam betűvel% évfolyamon folytatja.', + 'dokumentum' => 'beírási napló, törzslap'), +6 => array('sorszam' => '3.', 'szoveg' => 'Felvette a(z) %iskola címe% iskola.', + 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), +7 => array('sorszam' => '4.', 'szoveg' => 'Tanulmányait évfolyamismétléssel kezdheti meg, vagy osztályozó vizsga letételével folytathatja.', + 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), +8 => array('sorszam' => '5.', 'szoveg' => '%Tantárgy% tantárgyból tanulmányait egyéni továbbhaladás szerint végzi.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +9 => array('sorszam' => '6.', 'szoveg' => 'Mentesítve %tantárgy% tantárgyból az értékelés és a minősítés alól.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +10 => array('sorszam' => '7.', 'szoveg' => '%Tantárgy% tantárgy %évfolyamok% évfolyamainak követelményeit egy tanévben teljesítette a következők szerint: %jegyek%', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +11 => array('sorszam' => '8.', 'szoveg' => 'Egyes tantárgyak tanórai látogatása alól az %tanév jele% tanévben felmentve %felmentés oka% miatt.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány)'), +12 => array('sorszam' => '8.', 'szoveg' => 'Egyes tantárgyak tanórai látogatása alól az %tanév jele% tanévben felmentve %felmentés oka% miatt. Osztályozó vizsgát köteles tenni', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +13 => array('sorszam' => '9.', 'szoveg' => 'Tanulmányait a szülő kérésére (szakértői vélemény alapján) magántanulóként folytatja.', + 'dokumentum' => 'osztálynapló, törzslap'), +14 => array('sorszam' => '10.', 'szoveg' => 'Mentesítve a(z) %tantárgyak neve% tantárgy tanulása alól.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +15 => array('sorszam' => '11.', 'szoveg' => 'Tanulmányi idejének megrövidítése miatt a(z) %évfolyam% évfolyam tantárgyaiból osztályozó vizsgát köteles tenni.', + 'dokumentum' => 'osztálynapló, törzslap'), +16 => array('sorszam' => '12.', 'szoveg' => 'A(z) %évfolyam% évfolyamra megállapított tantervi követelményeket a tanulmányi idő megrövidítésével teljesítette.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), // %evfolyam% paraméter nincs a rendeletben +17 => array('sorszam' => '13.', 'szoveg' => 'A(z) %tantárgy% tantárgy %ezen óráinak% óráinak látogatása alól felmentve %tólDt%-tól %igDt%-ig.', + 'dokumentum' => 'osztálynapló'), // %ezen óráinak% paraméter nincs a rendeletben +18 => array('sorszam' => '13.', 'szoveg' => 'A(z) %tantárgy% tantárgy %ezen óráinak% óráinak látogatása alól felmentve %tólDt%-tól %igDt%-ig. Osztályozó vizsgát köteles tenni.', + 'dokumentum' => 'osztálynapló'), // %ezen óráinak% paraméter nincs a rendeletben +19 => array('sorszam' => '14.', 'szoveg' => 'Mulasztása miatt nem osztályozható, a nevelőtestület határozata értelmében osztályozó vizsgát tehet.', + 'dokumentum' => 'osztálynapló, törzslap'), +20 => array('sorszam' => '15.', 'szoveg' => 'A nevelőtestület határozata: a(z) %évfolyam betűvel% évfolyamba léphet.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +21 => array('sorszam' => '15.', 'szoveg' => 'A nevelőtestület határozata: iskolai tanulmányait befejezte, tanulmányait %évfolyam% évfolyamon folytathatja.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), // csak "iskolai tanulmányait befejezte - nincs? +22 => array('sorszam' => '16.', 'szoveg' => 'A tanuló az %évfolyam% évfolyam követelményeit egy tanítási évnél hosszabb ideig, %hónap szám% hónap alatt teljesítette.', + 'dokumentum' => 'osztálynapló, törzslap'), +23 => array('sorszam' => '17.', 'szoveg' => 'A(z) %tantárgy% tantárgyból javítóvizsgát tehet.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +24 => array('sorszam' => '17.', 'szoveg' => 'A javítóvizsgán %tantárgy% tantárgyból %osztályzat% osztályzatot kapott, %évfolyam% évfolyamba léphet.', + 'dokumentum' => 'törzslap, bizonyítvány'), +25 => array('sorszam' => '18.', 'szoveg' => 'A(z) %évfolyam% évfolyam követelményeit nem teljesítette, az évfolyamot meg kell ismételnie.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +26 => array('sorszam' => '', 'szoveg' => '', 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +27 => array('sorszam' => '19', 'szoveg' => 'A javítóvizsgán %tantárgy% tantárgyból elégtelen osztályzatot kapott. Évfolyamot ismételni köteles.', + 'dokumentum' => 'törzslap, bizonyítvány'), +28 => array('sorszam' => '20.', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án osztályozó vizsgát tett.', + 'dokumentum' => 'osztálynapló, törzslap'), +29 => array('sorszam' => '21.', 'szoveg' => 'Osztályozó vizsgát tett.', + 'dokumentum' => 'törzslap, bizonyítvány'), +30 => array('sorszam' => '22.', 'szoveg' => 'A(z) %tantárgy% tantárgy alól %felmentés oka% okból felmentve.', + 'dokumentum' => 'törzslap, bizonyítvány'), +31 => array('sorszam' => '23.', 'szoveg' => 'A(z) %tanóra% tanóra alól %felmentés oka% okból felmentve.', + 'dokumentum' => 'törzslap, bizonyítvány'), +32 => array('sorszam' => '24.', 'szoveg' => 'Az osztályozóvizsga letételére %igDt%-ig halasztást kapott.', + 'dokumentum' => 'törzslap, bizonyítvány'), +33 => array('sorszam' => '24.', 'szoveg' => 'Az beszámoltatóvizsga letételére %igDt%-ig halasztást kapott.', + 'dokumentum' => 'törzslap, bizonyítvány'), +34 => array('sorszam' => '24.', 'szoveg' => 'Az különbözetivizsga letételére %igDt%-ig halasztást kapott.', + 'dokumentum' => 'törzslap, bizonyítvány'), +35 => array('sorszam' => '24.', 'szoveg' => 'Az javítóvizsga letételére %igDt%-ig halasztást kapott.', + 'dokumentum' => 'törzslap, bizonyítvány'), +36 => array('sorszam' => '25.', 'szoveg' => 'Az osztályozó vizsgát engedéllyel a(z) %iskola% iskolában független vizsgabizottság előtt tette le.', + 'dokumentum' => 'törzslap, bizonyítvány'), +37 => array('sorszam' => '25.', 'szoveg' => 'Az javítóvizsgát engedéllyel a(z) %iskola% iskolában független vizsgabizottság előtt tette le.', + 'dokumentum' => 'törzslap, bizonyítvány'), +38 => array('sorszam' => '26.', 'szoveg' => 'A(z) %szakképesítés% szakképesítés évfolyamán folytatja tanulmányait.', + 'dokumentum' => 'törzslap, bizonyítvány, osztálynapló'), +39 => array('sorszam' => '27.', 'szoveg' => 'Tanulmányait %ok% okból megszakította, a tanulói jogviszonya %igDt%-ig szünetel.', + 'dokumentum' => 'beírási napló, törzslap'), +40 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya kimaradással megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +41 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya %igazolatlan órák száma% óra igazolatlan mulasztás miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +42 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya egészségügyi alkalmasság miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +43 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya térítési díj fizetési hátralék miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +44 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya tandíj fizetési hátralék miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +45 => array('sorszam' => '28.', 'szoveg' => 'A tanuló jogviszonya %iskola% iskolába való átvétel miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +46 => array('sorszam' => '29.', 'szoveg' => '%Fegyelmező intézkedés% fegyelmező intézkedésben részesült.', + 'dokumentum' => 'osztálynapló'), +47 => array('sorszam' => '30.', 'szoveg' => '%Fegyelmi büntetés% fegyelmi büntetésben részesült. A büntetés végrehajtása %igDt%-ig felfüggesztve.', + 'dokumentum' => 'törzslap'), +48 => array('sorszam' => '31.', 'szoveg' => 'A tanuló %igazolatlan órák száma% óra igazolatlan mulasztása miatt a szülőt felszólítottam.', + 'dokumentum' => 'osztálynapló'), // A "Tanköteles tanuló igazolatlan mulasztása esetén" szöveget magyarázatnak tekintettem +49 => array('sorszam' => '31.', 'szoveg' => 'A tanuló ismételt %igazolatlan órák száma% óra igazolatlan mulasztása miatt a szülő ellen szabálysértési eljárást kezdeményeztem.', + 'dokumentum' => 'beírási napló, törzslap, osztálynapló'), // A "Tanköteles tanuló igazolatlan mulasztása esetén" szöveget magyarázatnak tekintettem +50 => array('sorszam' => '32.', 'szoveg' => 'Tankötelezettség megszűnt.', 'dokumentum' => 'beírási napló'), +51 => array('sorszam' => '33.', 'szoveg' => 'A %szó% szót %helyesbítés%-ra/re helyesbítettem.', + 'dokumentum' => 'törzslap, bizonyítvány'), +52 => array('sorszam' => '33.', 'szoveg' => 'A %szavak% szavakat %helyesbítés%-ra/re helyesbítettem.', + 'dokumentum' => 'törzslap, bizonyítvány'), +53 => array('sorszam' => '33.', 'szoveg' => 'A %osztályzat% osztályzatot %helyesbítés%-ra/re helyesbítettem.', + 'dokumentum' => 'törzslap, bizonyítvány'), +54 => array('sorszam' => '33.', 'szoveg' => 'A %osztályzatok% osztályzatokat %helyesbítés%-ra/re helyesbítettem.', + 'dokumentum' => 'törzslap, bizonyítvány'), +55 => array('sorszam' => '34.', 'szoveg' => 'A bizonyítvány %lap% lapját téves bejegyzés miatt érvénytelenítettem.', + 'dokumentum' => 'bizonyítvány'), +56 => array('sorszam' => '35.', 'szoveg' => 'Ezt a póttörzslapot a(z) %ok% következtében elvesztett (megsemmisült) eredeti helyett %adatforrás% adatai (adatok) alapján állítottam ki.', + 'dokumentum' => 'Pót. törzslap'), +57 => array('sorszam' => '36.', 'szoveg' => 'Ezt a bizonyítványmásodlatot az elveszett (megsemmisült) eredeti helyett %adatforrás% adatai (adatok) alapján állítottam ki.', + 'dokumentum' => 'Pót. törzslap'), +58 => array('sorszam' => '37.', 'szoveg' => 'A bizonyítványt %kérelmező% kérelmére a %bizonyítványszám% számú bizonyítvány alapján, téves bejegyzés miatt állítottam ki.', + 'dokumentum' => 'törzslap, bizonyítvány'), +59 => array('sorszam' => '38.', 'szoveg' => 'Pótbizonyítvány. Igazolom, hogy név %Név%, anyja neve %Anyja neve% a(z) %iskola% iskola %szak% szak (szakmai, speciális osztály, két tanítási nyelvű osztály, tagozat) %évfolyam% évfolyamát a(z) %tanév jele% tanévben eredményesen elvégezte.', + 'dokumentum' => 'Pót. bizonyítvány'), +60 => array('sorszam' => '39.', 'szoveg' => 'Az iskola a tanulmányi eredmények bejegyzéséhez, a kiemelkedő tanulmányi eredmények elismeréséhez, a felvételi vizsga eredményeinek bejegyzéséhez %vizsga% vizsga eredményének befejezéséhez vagy egyéb, a záradékok között nem szereplő, a tanulóval kapcsolatos közlés dokumentálásához a záradékokat megfelelően alkalmazhatja, illetve megfelelően záradékot alakíthat ki.', + 'dokumentum' => ''), +61 => array('sorszam' => '40.', 'szoveg' => 'Érettségi vizsgát tehet.', + 'dokumentum' => 'törzslap, bizonyítvány'), +62 => array('sorszam' => '41.', 'szoveg' => 'Gyakorlati képzésről mulasztását %tólDt%-tól %igDt%-ig pótolhatja.', + 'dokumentum' => 'törzslap, bizonyítvány, osztálynapló'), +63 => array('sorszam' => '42.', 'szoveg' => 'Beírtam a %iskola% iskola első osztályába.', + 'dokumentum' => ''), +64 => array('sorszam' => '43.', 'szoveg' => 'Ezt a naplót %tanítási napok száma% tanítási nappal lezártam.', + 'dokumentum' => 'osztálynapló'), +65 => array('sorszam' => '43.', 'szoveg' => 'Ezt a naplót %tanítási órák száma% tanítási órával lezártam.', + 'dokumentum' => 'osztálynapló'), +66 => array('sorszam' => '44.', 'szoveg' => 'Ezt az osztályozó naplót %tanulók száma% azaz %tanulók száma betűvel% osztályozott tanulóval lezártam.', + 'dokumentum' => 'osztálynapló'), +67 => array('sorszam' => '45.', 'szoveg' => 'Ezt az osztályozó naplót %tanulók száma% azaz %tanulók száma betűvel% osztályozott tanulóval lezártam.', + 'dokumentum' => 'osztálynapló'), +68 => array('sorszam' => '46.', 'szoveg' => 'Igazolom, hogy a tanuló a %tanév jele% tanévig %elvégzett órák száma% óra közösségi szolgálatot teljesített.', + 'dokumentum' => 'bizonyítvány'), +69 => array('sorszam' => '47.', 'szoveg' => 'A tanuló teljesítette az érettségi bizonyítvány kiadásához szükséges közösségi szolgálatot', + 'dokumentum' => 'törzslap'), +70 => array('sorszam' => '48.', 'szoveg' => '%nemzetiség megnevezése% kiegészítő nemzetiségi tanulmányait a nyolcadik/tizenkettedik évfolyamon befejezte', + 'dokumentum' => 'törzslap, bizonyítvány'), + + + + +100 => array('sorszam' => '1/A', 'szoveg' => 'Felvéve a(z) %iskola címe% %osztály% osztályába.', + 'dokumentum' => 'beírási napló, osztálynapló, törzslap, bizonyítvány'), +101 => array('sorszam' => '6/B', 'szoveg' => '%miatt% miatt mentesítve a(z) %mi% értékelés(e) és a minősítés(e) alól.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +102 => array('sorszam' => '15/A', 'szoveg' => 'A nevelőtestület határozata: iskolai tanulmányait befejezte.', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +103 => array('sorszam' => '19/A', 'szoveg' => 'Az osztályozó vizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', + 'dokumentum' => 'törzslap, bizonyítvány'), +104 => array('sorszam' => '19/B', 'szoveg' => 'A beszámoltatóvizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', + 'dokumentum' => 'törzslap, bizonyítvány'), +105 => array('sorszam' => '19/C', 'szoveg' => 'A különbözetivizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%.', + 'dokumentum' => 'törzslap, bizonyítvány'), +106 => array('sorszam' => '19/D', 'szoveg' => 'A javítóvizsgán a %tantárgy% tantárgy követelményeit nem teljesítette - %osztályzat%. Évfolyamot ismételni köteles.', + 'dokumentum' => 'törzslap, bizonyítvány'), // Ez nem kell, mert az eredeti 19-es épp erről az esetről szól - nem? +107 => array('sorszam' => '20/A', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án beszámoltatóvizsgát tett.', + 'dokumentum' => 'osztálynapló, törzslap'), +108 => array('sorszam' => '20/B', 'szoveg' => 'A(z) %tantárgy% tantárgyból %dátum%-án különbözetivizsgát tett.', + 'dokumentum' => 'osztálynapló, törzslap'), +109 => array('sorszam' => '20/C', 'szoveg' => 'A(z) %tantárgy% tantárgyból a(z) %évfolyam% évfolyam anyagából %dátum% napon %osztályzat% eredménnyel osztályozó vizsgát tett.', + 'dokumentum' => 'osztálynapló, törzslap'), +110 => array('sorszam' => '28/A', 'szoveg' => 'A tanuló jogviszonya haláleset miatt megszűnt, a létszámból törölve.', + 'dokumentum' => 'beírási napló, törzslap, bizonyítvány, osztálynapló'), +111 => array('sorszam' => '39/A', 'szoveg' => '%Egyedi osztálynapló záradék%', + 'dokumentum' => 'osztálynapló'), +112 => array('sorszam' => '39/B', 'szoveg' => '%Egyedi törzslap záradék%', + 'dokumentum' => 'törzslap'), +113 => array('sorszam' => '39/C', 'szoveg' => '%Egyedi bizonyítvány záradék%', + 'dokumentum' => 'bizonyítvány'), +114 => array('sorszam' => '39/D', 'szoveg' => 'A %iktatószám% alapján tanulmányait a %osztály% osztályban folytatja.', + 'dokumentum' => 'beírási napló, törzslap'), +115 => array('sorszam' => '39/E', 'szoveg' => 'A(z) %tankorDiakFelmentesId% nyilvántartási számú felmentést %dt% napon hatályon kívül helyeztem. ', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +116 => array('sorszam' => '39/F', 'szoveg' => 'A(z) %zaradekId% nyilvántartási számú záradékban rögzített felmentést %dt% napon hatályon kívül helyeztem. ', + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), +117 => array('sorszam' => '18/A', 'szoveg' => 'A(z) %évfolyam% évfolyam követelményeit nem teljesítette, az évfolyamot megismételheti.', // nem tanköteles diák esetén + 'dokumentum' => 'osztálynapló, törzslap, bizonyítvány'), + +); + +$ZaradekIndex = array( + 'konferencia' => array( + // továbbléphet + 'következő évfolyamba léphet' => 20, // %évfolyam betűvel% + 'tanulmányait befejezte, következő évfolyamon folytathatja' => 21, // %évfolyam% + 'tanulmányait befejezte' => 102, + 'szakképző évfolyamba léphet' => 38, // %szakképesítés% + // mulasztás - de vizsgázat + 'mulasztás miatt osztályozóvizsga' => 19, + ), + 'konferencia bukás' => array( + 'javítóvizsgát tehet' => 23, // %tantárgy% + 'előkészítőt végzett' => 4, // csak első évfolyamon!! + 'követelményeket nem teljesítette, évfolyamot ismétel' => 25, // %évfolyam% - tanköteles eset + 'követelményeket nem teljesítette, évfolyamot ismételhet' => 117, // %évfolyam% - nem tanköteles eset + ), + 'jogviszony megnyitás' => array( + 'felvétel' => 1, + 'felvétel osztályba' => 100, // %iskola címe%, %osztály% + 'átvétel' => 2, // %iskola címe% + 'áthelyezés' => 3, // %határozat száma%, %iskola címe% + ), + 'jogviszony változás' => array( + 'magántanuló' => 13, + 'felfüggesztés' => 39 // %ok%, %igDt% + ), + 'jogviszony lezárás' => array( + 'kimaradás' => 40, + 'igazolatlan órák' => 41, // %igazolatlan órák száma% + 'egészségügyi alkalmasság' => 42, + 'térítési díj hátralék' => 43, + 'tandíj hátralék' => 44, + 'átvétel' => 45, // %iskola% + 'haláleset' => 110, + 'tanulmányait folytathatja' => 21, // %évfolyam% + 'tanulmányait befejezte' => 102, + ), + 'vizsga halasztás' => array( + 'osztályozó vizsga' => 32, // %igDt% + 'beszámoltatóvizsga' => 33, // %igDt% + 'különbözetivizsga' => 34, // %igDt% + 'javítóvizsga' => 35, // %igDt% + ), + 'vizsga' => array( + 'osztályozó vizsga' => 109, // %tantárgy%, %évfolyam%, %dátum%, %osztályzat% + 'osztályozó vizsga bukás' => 103, // %tantárgy%, %osztályzat% + 'beszámoltatóvizsga' => 107, // %tantárgy% + 'beszámoltatóvizsga bukás' => 104, // %tantárgy%, %osztályzat% + 'különbözetivizsga' => 108, // %tantárgy% + 'különbözetivizsga bukás' => 105, // %tantárgy%, %osztályzat% + 'javítóvizsga' => 24, // %tárgy%, %osztályzat%, %évfolyam% + 'javítóvizsga bukás' => 27, // %tantárgy% + 'javítóvizsga nem teljesített' => 25, // %évfolyam% (az évfolyam követelményeit) + ), + 'felmentés' => array( + 'értékelés alól' => 9, // %tantárgy% + 'értékelés és minősítés alól' => 101, // %miatt%, %mi% + 'óra látogatása alól' => 17, // %tantárgy%, %ezen óráinka%, %tólDt%, %igDt% + 'óra látogatása alól osztályozóvizsgával' => 18, // %tantárgy%, %ezen óráinka%, %tólDt%, %igDt% + 'tárgy tanulása alól' => 14, // %tantárgyak neve% + 'törlés' => 115, // %tankorDiakFelmentesId% + ), + 'törzslap feljegyzés' => array( + 'egyedi törzslap záradék' => 112 + ) + +); + +} // __TANEV > 2012 + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/share/zaroJegyModifier.php b/mayor-orig/www/include/modules/naplo/share/zaroJegyModifier.php new file mode 100644 index 00000000..48c5cfe9 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/share/zaroJegyModifier.php @@ -0,0 +1,156 @@ + 'naplo_intezmeny','values' => $v, 'fv' => 'zaroJegyBeiras', 'result' => 'insert'), $lr); + } + } + + if ($olr=='') db_close($lr); //+++ MISSING hibakezelés, tranzakciókezelés??? + + if (is_array($results) && count($results) == 1) return $results[0]; // vizsga oldal használja lastInsertId miatt + else return false; + + } + + // Tanev/Szemeszter zárónapjával meghatározva + function generateDiakEvfolyamJel($diakId,$tanev,$szemeszter) { return _generateEvfolyamJel($diakId,$tanev,$szemeszter); } + + function _generateEvfolyamJel($diakId,$tanev,$szemeszter) { // returns INTEGER || FALSE --> STRING || FALSE + + /* + milyen evfolyamos? + diakId-->(tanev/szemeszter.zaroDt)osztaly-->evfolyamJel + + + kiegészítés: diák osztályai és tankör osztályainak metszete 1 osztály kell hogy legyen. + - getTankorOsztalyai($tankorId, $SET = array('result' => 'id'), $olr=''); + - ezt sajnos nem tudujk itt meghívni! + */ + // getSzemeszterAdat + $q = "SELECT zarasDt FROM szemeszter WHERE tanev=%u AND szemeszter=%u"; + $v = array($tanev,$szemeszter); + $zarasDt = db_query($q, array('fv'=>'inner_generateEvfolyam','modul'=>'naplo_intezmeny','result'=>'value', 'values'=>$v)); + // melyik osztályba járt? + $OSZTALYOK = getDiakOsztalya($diakId,array('tanev'=>$tanev,'tolDt'=>$zarasDt,'igDt'=>$zarasDt)); + if (count($OSZTALYOK)===1) { // ha több osztályba is jár, de azok évfolyamjele azonos, akkor nem kellene hibával kilépni... + $_osztalyId = $OSZTALYOK[0]['osztalyId']; + $OA = getOsztalyAdat($_osztalyId); + return $OA['evfolyamJel']; + } else { + $_SESSION['alert'][] = '::nem tudom kitalálni az évfolyamot (db osztály: '.count($OSZTALYOK).", diakId: $diakId, tanev: $tanev, szemeszter: $szemeszter)"; + return false; + } + + } + + function _generateTanevSzemeszter($dt) { + + + $q = "SELECT tanev,szemeszter FROM szemeszter WHERE kezdesDt < '%s' ORDER BY tanev DESC, szemeszter DESC LIMIT 1"; + $v = array($dt); + return db_query($q, array('fv' => '_generateTanevSzemeszter', 'modul' => 'naplo_intezmeny', 'result' => 'record', 'values' => $v)); + + } +?> diff --git a/mayor-orig/www/include/modules/naplo/sni/diakAllapot.php b/mayor-orig/www/include/modules/naplo/sni/diakAllapot.php new file mode 100644 index 00000000..6236e3e4 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/sni/diakAllapot.php @@ -0,0 +1,91 @@ + 'getDiakAllapot','modul' => 'naplo','values' => $v, 'result' => 'assoc', 'keyfield' => 'szemeszter')); + // Gyengeségek és erősségek riorizált listája + $q = "SELECT * FROM sniDiakGyengesegErosseg WHERE diakId=%u ORDER BY prioritas"; + $ret2 = db_query($q, array('fv' => 'getDiakAllapot/gyengeségek, erősségek','modul' => 'naplo','values' => $v, 'result' => 'multiassoc', 'keyfield' => 'szemeszter')); + foreach ($ret2 as $szemeszter => $gyeAdat) { + foreach ($gyeAdat as $key => $value) { + $ret[ $value['szemeszter'] ][ $value['gyengesegErosseg'] ][] = array( + 'leiras' => $value['leiras'], + 'prioritas' => $value['prioritas'] + ); + } + } + + return $ret; + + + } + + function sniDiakAllapotRogzites($Parameters) { + + $lr = db_connect('naplo', array('fv' => 'sniDiakAllapotRogzites')); + db_start_trans($lr); + + $Param = $Parameters['diakAllapot']; + $diakId = $Param['diakId']; $szemeszter = $Param['szemeszter']; + // Korábbi bejegyzés törlése + $val = array($Param['diakId'], $Param['szemeszter']); + $q = "DELETE FROM `sniDiakAllapot` WHERE `diakId` = %u AND `szemeszter` = %u"; + db_query($q, array('fv' => 'sniDiakAllapotRogzites', 'modul' => 'naplo', 'values' => $val), $lr); + $q = "DELETE FROM `sniDiakGyengesegErosseg` WHERE `diakId` = %u AND `szemeszter` = %u"; + db_query($q, array('fv' => 'sniDiakAllapotRogzites', 'modul' => 'naplo', 'values' => $val), $lr); + // Paraméterek feldolgozása + $pattern = $v = array(); + foreach ($Param as $attr => $value) { + if (in_array($attr, array('gyengesegLeiras','gyengesegPrioritas','erossegLeiras','erossegPrioritas'))) continue; + if (in_array($attr, array('diakId','szemeszter','vizsgalatTanarId','priorizalas'))) + if ($value == '') { $pattern[] = '%s'; $value = 'NULL'; } + else $pattern[] = "%u"; + else + if ($attr == 'vizsgalatDt' && $value == '') { $pattern[] = '%s'; $value = 'NULL'; } + else $pattern[] = "'%s'"; + $v[] = $value; + } + // új bejegyzés beszúrása + $q = "INSERT INTO `sniDiakAllapot` (`".implode('`,`',array_keys($Param))."`) VALUES (".implode(',', $pattern).")"; + $ret = db_query($q, array('fv' => 'sniDiakAllapotRogzites', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$ret) { + db_rollback($lr, 'Az SNI adatok módosítása nem sikerült. Visszaállítjuk az eredeti állapotot...'); + db_close($lr); return false; + } + // Gyengeségek/Erősségek rögzítése + $Param = $Parameters['gyengesegekErossegek']; + $v = array(); + foreach (array('gyengeseg','erosseg') as $key => $gye) { + if (is_array($Param[$gye.'Leiras'])) { + foreach ($Param[$gye.'Leiras'] as $index => $leiras) if ($leiras != '') { // Lehessen törölni így... + array_push($v, $diakId, $szemeszter, ($key+1), $leiras, $Param[$gye.'Prioritas'][$index]); + } + } + } + if (count($v) != 0) { + $q = "INSERT INTO `sniDiakGyengesegErosseg` VALUES ".implode(',', array_fill(0, (count($v)/5), "(%u,%u,%u,'%s',%u)")); + $ret = db_query($q, array('fv' => 'sniDiakAllapotRogzites/Gyengeségek-erősségek', 'modul' => 'naplo', 'values' => $v), $lr); + var_dump($Param); + } + + db_commit($lr); + db_close($lr); + return true; + + } + + function sniDiakAdatRogzites($Param) { + + // diak.fogytekossag módosítása + $q = "UPDATE diak SET `fogyatekossag`='%s' WHERE diakId=%u"; + db_query($q, array('fv' => 'sniDiakAdatRogzites', 'modul' => 'naplo_intezmeny', 'values' => array(implode(',', $Param['fogyatekossag']), $Param['diakId']))); + unset($Param['fogyatekossag']); + // sniDiakAdat modosítás + $q = "REPLACE INTO `sniDiakAdat` (`diakId`, `kulsoInfo`, `mentorTanarId`) VALUES (%u, '%s', %u)"; + return db_query($q, array('fv' => 'sniDiakAdatRogzites', 'modul' => 'naplo', 'values' => $Param)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/sni/fejlesztesiTerv.php b/mayor-orig/www/include/modules/naplo/sni/fejlesztesiTerv.php new file mode 100644 index 00000000..8485f20e --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/sni/fejlesztesiTerv.php @@ -0,0 +1,45 @@ + 'getHaviOsszegzes', 'modul' => 'naplo', 'values' => $v, 'result' => 'record')); + + $q = "SELECT tanarId FROM sniHaviOsszegzesFelelos WHERE haviOsszegzesId = %u"; + $ret['felelos'] = db_query($q, array('fv' => 'getHaviOsszegzes', 'modul' => 'naplo', 'values' => array($ret['haviOsszegzesId']), 'result' => 'idonly')); + + return $ret; + + } + + function sniHaviOsszegzesRogzites($Param) { + + $Felelos = $Param['felelos']; unset($Param['felelos']); + // Korábbi bejegyzés törlése + $q = "SELECT haviOsszegzesId FROM sniHaviOsszegzes WHERE diakId = %u AND dt = '%s'"; + $v = array($Param['diakId'], $Param['dt']); + $Param['haviOsszegzesId'] = db_query($q, array('fv' => 'sniHaviOsszesitesRogzites', 'modul' => 'naplo', 'values' => $v, 'result' => 'value')); + // Paraméterek feldolgozása + $pattern = $v = array(); + foreach ($Param as $attr => $value) { + if (in_array($attr, array('diakId','haviOsszegzesId','valtozas'))) + if ($value == '') { $pattern[] = '%s'; $value = 'NULL'; } + else $pattern[] = "%u"; + else + $pattern[] = "'%s'"; + $v[] = $value; + } + // új bejegyzés beszúrása + $q = "REPLACE INTO `sniHaviOsszegzes` (`".implode('`,`',array_keys($Param))."`) VALUES (".implode(',', $pattern).")"; + $id = db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => $v, 'result' => 'insert')); + // felelosok törlése + $q = "DELETE FROM `sniHaviOsszegzesFelelos` WHERE haviOsszegzesId = %u"; + db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => array($id))); + // új felelősök felvétele + $q = "INSERT INTO `sniHaviOsszegzesFelelos` (`haviOsszegzesId`,`tanarId`) VALUES ".implode(',', array_fill(0, count($Felelos), "($id, %u)")); + return db_query($q, array('fv' => 'sniHaviOsszegzesRogzites', 'modul' => 'naplo', 'values' => $Felelos)); + } +*/ +?> diff --git a/mayor-orig/www/include/modules/naplo/sni/tantargyiFeljegyzesek.php b/mayor-orig/www/include/modules/naplo/sni/tantargyiFeljegyzesek.php new file mode 100644 index 00000000..c11be93b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/sni/tantargyiFeljegyzesek.php @@ -0,0 +1,26 @@ + 'getDiakFeljegyzesByTankorId', 'modul' => 'naplo', 'values' => $v, 'result' => 'keyvaluepair')); + + } + + function getDiakFeljegyzesByDt($ADAT) { + + $q = "SELECT tankorId, megjegyzes FROM sniTantargyiFeljegyzes WHERE diakId = %u AND dt = '%s'"; + $v = array($ADAT['diakId'], $ADAT['dt']); + return db_query($q, array('fv' => 'getDiakFeljegyzesByDt', 'modul' => 'naplo', 'values' => $v, 'result' => 'keyvaluepair')); + + } + + function tantargyiFeljegyzesRogzites($Param) { + + $q = "REPLACE INTO sniTantargyiFeljegyzes (diakId, tankorId, dt, megjegyzes) VALUES (%u, %u, '%s', '%s')"; + return db_query($q, array('fv' => 'tantargyiFeljegyzesRogzites', 'modul' => 'naplo', 'values' => $Param)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/stat/lemorzsolodas.php b/mayor-orig/www/include/modules/naplo/stat/lemorzsolodas.php new file mode 100644 index 00000000..bb1700f6 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/stat/lemorzsolodas.php @@ -0,0 +1,223 @@ +=1,1 romlás + // !! csak a jegy típusokra értelmezhető az átlagolás + + //elozo + $q = "SELECT diakId,avg(jegy) AS avg FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('jegy') GROUP BY diakId"; + $v = array($elozoDt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','keyfield'=>'diakId','values'=>$v)); + for ($i=0; $i'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i=1.1) { + $_diakId = $r[$i]['diakId']; + if (!is_array($DIAKADAT[$_diakId])) { + $DIAKADAT[$_diakId] = getDiakAdatById($_diakId); + $DIAKADAT[$_diakId]['diakOsztalya'] = getDiakOsztalya($_diakId, array('tanev'=>__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['ronto'][] = array( + 'diakId' => $r[$i]['diakId'], + 'avg' => $r[$i]['avg'], + 'elozoAvg' => $A[$r[$i]['diakId']], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + + ); + } + } + + // -- a félév végén (év végén) a tanulmányi átlaga< 3,0 + //kivalasztott + $q = "SELECT diakId,avg(jegy) AS atlag FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('jegy') GROUP BY diakId HAVING atlag<3"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['rosszTanulo'][] = array( + 'diakId' => $r[$i]['diakId'], + 'atlag' => $r[$i]['atlag'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + + ); + } + + // -- a félév végén (év végén) a tanulmányi átlaga< 2,5 + //kivalasztott + $q = "SELECT diakId,avg(jegy) AS atlag FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('jegy') GROUP BY diakId HAVING atlag<2.5"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['nagyonRosszTanulo'][] = array( + 'diakId' => $r[$i]['diakId'], + 'atlag' => $r[$i]['atlag'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + + ); + } + + // -- egy-vagy több tárgyból bukik (ez lényegében most is benne van már) + $q = "SELECT diakId,count(*) as dbBukas FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('jegy') AND jegy='1.0' GROUP BY diakId"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['bukott'][] = array( + 'diakId' => $r[$i]['diakId'], + 'dbBukas' => $r[$i]['dbBukas'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + + // -- magatartása rossz + $q = "SELECT diakId FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('magatartás') AND jegy='2.0' GROUP BY diakId"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['rosszMagatartasu'][] = array( + 'hivatalosDt' => $dt, + 'diakId' => $r[$i]['diakId'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + // -- szorgalma hanyag + $q = "SELECT diakId FROM zaroJegy WHERE hivatalosDt = '%s' AND jegyTipus IN ('szorgalom') AND jegy='2.0' GROUP BY diakId"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $R['hanyagSzorgalmu'][] = array( + 'diakId' => $r[$i]['diakId'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + // -- 50 órát elérő igazolatlan hiányzás + // --TODO TANÉV!!! + $q = "SELECT diakId,count(*) as dbHianyzas FROM hianyzas + LEFT JOIN " .__INTEZMENYDBNEV. ".diak USING (diakId) + WHERE dt<= '%s' AND tipus='hiányzás' AND igazolas='' AND diak.statusz='jogviszonyban van' GROUP BY diakId HAVING dbHianyzas>=50"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $_jogviszonya = getDiakJogviszonyByDts(array($_diakId),array($dt)); + if ($_jogviszonya[$_diakId][$dt]['statusz']=='jogviszonyban van') { + $R['igazolatlanHianyzo_50'][] = array( + 'diakId' => $r[$i]['diakId'], + 'dbHianyzas' => $r[$i]['dbHianyzas'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakJogviszony' => $_jogviszonya[$_diakId][$dt]['statusz'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + } + + // -- 100 órát elérő igazolt hiányzás + // --TODO TANÉV!!! + $q = "SELECT diakId,count(*) as dbHianyzas FROM hianyzas + WHERE dt<= '%s' AND tipus='hiányzás' AND igazolas!='' + GROUP BY diakId HAVING dbHianyzas>=100"; + $v = array($dt); + $r = db_query($q, array('modul'=>'naplo','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $_jogviszonya = getDiakJogviszonyByDts(array($_diakId),array($dt)); + if ($_jogviszonya[$_diakId][$dt]['statusz']=='jogviszonyban van') { + $R['igazoltanHianyzo_100'][] = array( + 'diakId' => $r[$i]['diakId'], + 'dbHianyzas' => $r[$i]['dbHianyzas'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakJogviszony' => $_jogviszonya[$_diakId][$dt]['statusz'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + } + // -- magántanulóvá vált + $q = "SELECT diakId FROM diakJogviszony WHERE dt BETWEEN '%s' AND '%s' AND statusz='magántanuló'"; + $v = array($elozoDt,$dt); + $r = db_query($q, array('modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + for ($i=0; $i__TANEV,'tolDt'=>$dt,'igDt'=>$dt), $intezmeny_lr); + } + $_jogviszonya = getDiakJogviszonyByDts(array($_diakId),array($dt)); + if ($_jogviszonya[$_diakId][$dt]['statusz']=='magántanuló') { // még mindig + $R['magantanuloLett'][] = array( + 'diakId' => $r[$i]['diakId'], + 'diakNev' => $DIAKADAT[$_diakId]['diakNev'], + 'diakOsztalya' => ($DIAKADAT[$_diakId]['diakOsztalya'][0]['osztalyJel']) + ); + } + } + + // -- magántanulóvá minősítése folyamatban - ezt nem tudjuk + // -- oltalmazott / menekült / menedékes - ezt nem tudjuk + // -- veszélyeztetetté vált - ez mi? + // -- egyéb nehezen értelmezhető feltételek... - ez mi? + + db_close($intezmeny_lr); + + return $R; + + } + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/stat/tantargyFelosztas.php b/mayor-orig/www/include/modules/naplo/stat/tantargyFelosztas.php new file mode 100644 index 00000000..a78cb70b --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/stat/tantargyFelosztas.php @@ -0,0 +1,236 @@ +'getDiakLetszamByStatusz','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + $q = "select statusz, count(*) as letszam from diak where nem='fiú' group by statusz"; + $ret['fiú'] = db_query($q, array('fv'=>'getDiakLetszamByStatusz/fiú','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + $q = "select statusz, count(*) as letszam from diak where nem='lány' group by statusz"; + $ret['lány'] = db_query($q, array('fv'=>'getDiakLetszamByStatusz/lány','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + + return $ret; + + } + + function getDiakLetszamByOsztalyId($osztalyIds) { + if (is_array($osztalyIds) && count($osztalyIds)>0) { + $q = "select osztalyId, count(*) as letszam from diak left join osztalyDiak using (diakId) + where statusz in ('jogviszonyban van','magántanuló') and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") group by osztalyId"; + $ret = db_query($q, array('fv'=>'getDiakLetszamByStatusz','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$osztalyIds)); + $q = "select osztalyId, count(*) as letszam from diak left join osztalyDiak using (diakId) + where statusz in ('jogviszonyban van','magántanuló') and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") and nem='fiú' group by osztalyId"; + $ret['fiú'] = db_query($q, array('fv'=>'getDiakLetszamByStatusz/fiú','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$osztalyIds)); + $q = "select osztalyId, count(*) as letszam from diak left join osztalyDiak using (diakId) + where statusz in ('jogviszonyban van','magántanuló') and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") and nem='lány' group by osztalyId"; + $ret['lány'] = db_query($q, array('fv'=>'getDiakLetszamByStatusz/lány','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$osztalyIds)); + + return $ret; + + } else { + return false; + } + } + + function getTanarLetszamByBesorolas() { + $q = "select besorolas, count(*) as letszam from tanar where statusz<>'jogviszonya lezárva' and statusz<>'külső óraadó' group by besorolas"; + return db_query($q, array('fv'=>'getTanarLetszamByBesorolas','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + } + + function getTanarLetszamByStatusz() { + $q = "select statusz, count(*) as letszam from tanar group by statusz"; + return db_query($q, array('fv'=>'getTanarLetszamByBesorolas','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + } + + function getTankorOraszamOsszesites($tankorTipusIds) { + + $q = "select sum(oraszam/2) from tankorSzemeszter where tanev=".__TANEV; + $ret['összes'] = db_query($q, array('fv'=>'getTankorOraszamOsszesites','modul'=>'naplo_intezmeny','result'=>'value')); + $q = "select sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['óratervi']), '%u')).") and tanev=".__TANEV; + $ret['óratervi'] = db_query($q, array('fv'=>'getTankorOraszamOsszesites/óratervi','modul'=>'naplo_intezmeny','result'=>'value','values'=>$tankorTipusIds['óratervi'])); + $q = "select sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['tanórán kívüli']), '%u')).") and tanev=".__TANEV; + $ret['tanórán kívüli'] = db_query($q, array('fv'=>'getTankorOraszamOsszesites/tanórán kívüli','modul'=>'naplo_intezmeny','result'=>'value','values'=>$tankorTipusIds['tanórán kívüli'])); + + return $ret; + } + + function getTargyOraszamok($tankorTipusIds) { + + $q = "select targyId, sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) + where tanev=".__TANEV." group by targyId"; + $ret['összes'] = db_query($q, array('fv'=>'getTargyOraszamok','modul'=>'naplo_intezmeny','result'=>'keyvaluepair')); + $q = "select targyId, sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['óratervi']), '%u')).") and tanev=".__TANEV." group by targyId"; + $ret['óratervi'] = db_query($q, array('fv'=>'getTargyOraszamok/óratervi','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$tankorTipusIds['óratervi'])); + $q = "select targyId, sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['tanórán kívüli']), '%u')).") and tanev=".__TANEV." group by targyId"; + $ret['tanórán kívüli'] = db_query($q, array('fv'=>'getTargyOraszamok/tanórán kívüli','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$tankorTipusIds['tanórán kívüli'])); + + return $ret; + } + + function getOsztalyOraszamok($osztalyIds, $tankorTipusIds) { + + $q = "select osztalyId, sum(oraszam/2) from tankorSzemeszter left join tankorOsztaly using (tankorId) + where osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + and tanev=".__TANEV." group by osztalyId"; + $ret['összes'] = db_query($q, array('fv'=>'getOsztalyOraszamok','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$osztalyIds)); + $q = "select osztalyId, sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) left join tankorOsztaly using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['óratervi']), '%u')).") + and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + and tanev=".__TANEV." group by osztalyId"; + $v = array_merge($tankorTipusIds['óratervi'], $osztalyIds); + $ret['óratervi'] = db_query($q, array('fv'=>'getOsztalyOraszamok/óratervi','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$v)); + $q = "select osztalyId, sum(oraszam/2) from tankorSzemeszter left join tankor using (tankorId) left join tankorOsztaly using (tankorId) + where tankorTipusId in (".implode(',', array_fill(0, count($tankorTipusIds['tanórán kívüli']), '%u')).") + and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + and tanev=".__TANEV." group by osztalyId"; + $v = array_merge($tankorTipusIds['tanórán kívüli'], $osztalyIds); + $ret['tanórán kívüli'] = db_query($q, array('fv'=>'getOsztalyOraszamok/tanórán kívüli','modul'=>'naplo_intezmeny','result'=>'keyvaluepair','values'=>$v)); + + return $ret; + } + + function getTankorLetszamStat() { + global $_TANEV; + $r = getTankorByTanev(__TANEV); + foreach ($r as $idx => $tAdat) { + $return[ $tAdat['targyId'] ]['tankorIds'][] = $tAdat['tankorId']; + $letszam = getTankorLetszam($tAdat['tankorId'], array('refDt'=>$_TANEV['kezdesDt'])); + $return[ $tAdat['targyId'] ]['sum'] += $letszam; + $return[ $tAdat['targyId'] ]['db']++; + if ($return[ $tAdat['targyId'] ]['max'] < $letszam) $return[ $tAdat['targyId'] ]['max'] = $letszam; + if (!isset($return[ $tAdat['targyId'] ]['min']) || $return[ $tAdat['targyId'] ]['min'] > $letszam) $return[ $tAdat['targyId'] ]['min'] = $letszam; + } + return $return; + } + + +function getTantargyfelosztasStat() { + + // __TANEV és __INTEZMENY függés!! + + global $ADAT; + + // ---- ---- ---- ---- + $ADAT['evfolyamJelek'] = getEvfolyamJelek(array('result'=>'idonly')); + $ADAT['tankorTipusok'] = getTankorTipusok(); + foreach ($ADAT['tankorTipusok'] as $tankorTipusId => $tAdat) $ADAT['tankorTipusIds'][$tAdat['oratervi']][] = $tankorTipusId; + // Ha módosul, akkor javítani kell a fenntarto/naplo/tantargyfelosztas alatt is!! + $ADAT['finanszírozott pedagógus létszám'] = array( + 'általános iskola' => 11.8, // 11.8 tanuló / 1 pedagógus + 'gimnázium' => 12.5, // 12.5 tanuló / 1 pedagógus + 'szakiskola, Híd programok' => 12, // ... + 'szakközépiskola, nem szakkképző évfolyam' => 12.4, + 'szakközépiskola, szakkképző évfolyam' => 13.7 + ); // -- TODO szakgimnázium??? + + + + $IA['intezmenyAdat'] = getIntezmenyByRovidnev(__INTEZMENY); + $IA['osztalyAdat'] = getOsztalyok(__TANEV, array('result' => 'assoc', 'minden'=>false, 'telephelyId' => null)); + foreach ($IA['osztalyAdat'] as $idx => $oAdat) $IA['osztalyIds'][] = $oAdat['osztalyId']; + $IA['targyAdat'] = getTargyAdatByIds(); + + $IA['diakLetszam']['statusz'] = getDiakLetszamByStatusz(); + $IA['diakLetszam']['osztaly'] = getDiakLetszamByOsztalyId($IA['osztalyIds']); + foreach ($IA['diakLetszam']['osztaly'] as $osztalyId => $letszam) + if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['összes'] += intval($letszam); + foreach ($IA['diakLetszam']['osztaly']['fiú'] as $osztalyId => $letszam) + if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['fiú'] += intval($letszam); + foreach ($IA['diakLetszam']['osztaly']['lány'] as $osztalyId => $letszam) + if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['lány'] += intval($letszam); + $IA['tanarLetszam']['besorolas'] = getTanarLetszamByBesorolas(); + $IA['tanarLetszam']['statusz'] = getTanarLetszamByStatusz(); + $IA['oraszamok'] = getTankorOraszamOsszesites($ADAT['tankorTipusIds']); + $IA['targyOraszamok'] = getTargyOraszamok($ADAT['tankorTipusIds']); + $IA['osztalyOraszamok'] = getOsztalyOraszamok($IA['osztalyIds'], $ADAT['tankorTipusIds']); + foreach ($IA['osztalyOraszamok']['összes'] as $osztalyId => $oraszam) { + $IA['evfolyamOraszamok']['összes'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($oraszam); + $IA['evfolyamOraszamok']['óratervi'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($IA['osztalyOraszamok']['óratervi'][$osztalyId]); + $IA['evfolyamOraszamok']['tanórán kívüli'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($IA['osztalyOraszamok']['tanórán kívüli'][$osztalyId]); + } + $egyhaziE = ($IA['intezmenyAdat']['fenntarto']=='egyházi'); + foreach ($IA['osztalyAdat'] as $osztalyId => $osztalyAdat) { + $IA['osztalyIdokeret'][$osztalyId] = getOsztalyHetiIdokeret($osztalyId, $osztalyAdat, array('egyhaziE'=>$egyhaziE)); + $IA['osztalyIdokeret']['összesen']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['összesen']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['összesen']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['összesen']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['összesen']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['összesen']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + if (in_array($osztalyAdat['osztalyJellegId'], array(21,22)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4'))) { + $IA['osztalyIdokeret']['alsó']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['alsó']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['alsó']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['alsó']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['alsó']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['alsó']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + if (in_array($osztalyAdat['osztalyJellegId'], array(21,23)) && in_array($osztalyAdat['evfolyamJel'], array('5','6','7','8'))) { + $IA['osztalyIdokeret']['felső']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['felső']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['felső']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['felső']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['felső']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['felső']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + if (in_array($osztalyAdat['osztalyJellegId'], array(21,22,23)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4','5','6','7','8'))) { + $IA['osztalyIdokeret']['általános']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['általános']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['általános']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['általános']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['általános']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['általános']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + if (in_array($osztalyAdat['osztalyJellegId'], array(51,52,53,61,62,63)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4','5','6','7','8'))) { + $IA['osztalyIdokeret']['gimnázium18']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['gimnázium18']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['gimnázium18']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['gimnázium18']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['gimnázium18']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['gimnázium18']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63)) && in_array($osztalyAdat['evfolyamJel'], array('9','10','11','12'))) { + $IA['osztalyIdokeret']['gimnázium92']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['gimnázium92']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['gimnázium92']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['gimnázium92']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['gimnázium92']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['gimnázium92']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63))) { + $IA['osztalyIdokeret']['gimnázium']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes']; + $IA['osztalyIdokeret']['gimnázium']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett']; + $IA['osztalyIdokeret']['gimnázium']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás']; + $IA['osztalyIdokeret']['gimnázium']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi']; + $IA['osztalyIdokeret']['gimnázium']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium']; + $IA['osztalyIdokeret']['gimnázium']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi']; + } + // Finanszírozott pedagógus létszámhoz diáklészámok osztály-típusonként + if (in_array($osztalyAdat['osztalyJellegId'], array(21,22,23))) { // általános iskola + $IA['diakLetszam']['általános iskola'] += $IA['diakLetszam']['osztaly'][$osztalyId]; + } else if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63,65))) { // gimnázium + $IA['diakLetszam']['gimnázium'] += $IA['diakLetszam']['osztaly'][$osztalyId]; + } else if (in_array($osztalyAdat['osztalyJellegId'], array(82,83,84,85,91,92,93))) { // szakiskola, Híd programok + $IA['diakLetszam']['szakiskola, Híd programok'] += $IA['diakLetszam']['osztaly'][$osztalyId]; + } else if (in_array($osztalyAdat['osztalyJellegId'], array(71,72,73,74,75,76,77,78,79))) { // szakközépiskola, nem szakképző évfolyam + $IA['diakLetszam']['szakközépiskola, nem szakkképző évfolyam'] += $IA['diakLetszam']['osztaly'][$osztalyId]; + } else if (in_array($osztalyAdat['osztalyJellegId'], array())) { // szakközépiskola, szakképző évfolyam + $IA['diakLetszam']['szakközépiskola, szakképző évfolyam'] += $IA['diakLetszam']['osztaly'][$osztalyId]; + } + } // osztályok + $IA['tankorLetszamStat'] = getTankorLetszamStat(); + // ---- ---- ---- ---- + + return $IA; + +} + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/tanev/checkStatus.php b/mayor-orig/www/include/modules/naplo/tanev/checkStatus.php new file mode 100644 index 00000000..a2d97afb --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/checkStatus.php @@ -0,0 +1,33 @@ + 'checkStatus/1', 'modul' => 'naplo', 'result' => 'value'), $lr); + + $q = "SELECT COUNT(*) AS db FROM orarendiOra WHERE tolDt <= curdate() AND igDt >= curdate()"; + $R['orakSzama'] = db_query($q, array('fv' => 'checkStatus/2', 'modul' => 'naplo', 'result' => 'value'), $lr); + + $q = "SELECT DISTINCT orarendiOra.tanarId, orarendiOra.targyJel, orarendiOra.osztalyJel + FROM orarendiOra LEFT JOIN orarendiOraTankor USING(tanarId, targyJel, osztalyJel) + WHERE tankorId IS NULL"; + + $R['hianyzoTankor'] = db_query($q, array('fv' => 'checkStatus/3', 'modul' => 'naplo', 'result' => 'indexed'),$lr); + + $q = "SELECT DISTINCT orarendiOra.tanarId, orarendiOra.targyJel, orarendiOra.osztalyJel + FROM orarendiOraTankor LEFT JOIN orarendiOra USING(tanarId, targyJel, osztalyJel) + WHERE tanarId IS NULL"; + + $R['hianyzoOra'] = db_query($q, array('fv' => 'checkStatus/3', 'modul' => 'naplo', 'result' => 'indexed'),$lr); + + $R['vizsgaltDt'] = date('Y-m-d'); + + if ($olr == '') db_close($lr); + + return $R; + + } +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/fogadoOra.php b/mayor-orig/www/include/modules/naplo/tanev/fogadoOra.php new file mode 100644 index 00000000..4aaf4016 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/fogadoOra.php @@ -0,0 +1,142 @@ +NOW() ORDER BY tol"; + $dts = db_query($q, array('fv' => 'getKovetkezoFogadoDt', 'modul' => 'naplo', 'result' => 'indexed')); + $ret = array('dates' => array(), 'tol' => array(), 'ig' => array()); + if (is_array($dts)) for ($i = 0; $i < count($dts); $i++) { + $dt = substr($dts[$i]['tol'],0,10); + if (!in_array($dt, $ret['dates'])) $ret['dates'][] = $dt; + $ret['tol'][] = $dts[$i]['tol']; + $ret['ig'][] = $dts[$i]['ig']; + } + return $ret; + } + + function getTanarFogadoOra($tanarId) { + $v = array($tanarId); + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOra WHERE tanarId=%u AND ig>=NOW()"; + $ret['adatok'] = db_query($q, array('fv' => 'getTanarFogadoOra', 'modul' => 'naplo', 'result' => 'record', 'values' => $v)); + if (!is_array($ret['adatok']) || count($ret['adatok']) == 0) $ret['adatok'] = array('tanarId' => $tanarId); + + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOraJelentkezes WHERE tanarId=%u AND tol>=CURDATE()"; + $ret['jelentkezesek'] = db_query($q, array('fv' => 'getTanarFogadoOra', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tol', 'values' => $v)); + + return $ret; + } + + function getFogadoOsszes() { + // Hogy ABC szerint legyen inkább... + $q = "SELECT fogadoOra.* FROM ".__TANEVDBNEV.".fogadoOra LEFT JOIN ".__INTEZMENYDBNEV.".tanar USING (tanarId) WHERE ig>=NOW() + ORDER BY CONCAT_WS(' ',viseltCsaladinev,viseltUtonev),tol,ig,teremId"; + $ret = db_query($q, array('fv' => 'getFogadoOsszes', 'modul' => 'naplo', 'result' => 'indexed')); + return $ret; + } + + function kovetkezoFogadoOraInit($tol, $ig) { + // Egyszerre mindig csak egy következő fogadó óra lehet - törlés + $q = "DELETE FROM fogadoOra WHERE tol>=NOW() OR tol>='$tol'"; + $r = db_query($q, array('fv' => 'kovetkezoFogadoFelvetele', 'modul' => 'naplo')); + // A szülői jelentkezések is törlődnek ekkor + $q = "DELETE FROM fogadoOraJelentkezes WHERE tol>=NOW() OR tol>='$tol'"; + $r = db_query($q, array('fv' => 'kovetkezoFogadoFelvetele', 'modul' => 'naplo')); + // minden tanárra beállítjuk a megadott tol-ig értéket + $q = "INSERT INTO fogadoOra (tanarId,tol,ig) + SELECT tanarId, '%s','%s' FROM ".__INTEZMENYDBNEV.".tanar + WHERE beDt<='%s' and (kiDt is null or kiDt >= '%s');"; + $r = db_query($q, array('fv' => 'kovetkezoFogadoFelvetele', 'modul' => 'naplo', 'values' => array($tol, $ig, $ig, $tol))); + } + + function tanarFogadoOra($tanarId, $tol, $ig, $teremId) { + if ($teremId == '') $teremId = 'NULL'; + // Ha van bejegyzett fogadóóra, akkor töröljük + $q = "DELETE FROM fogadoOra WHERE ig>NOW() AND tanarId=%u"; + db_query($q, array('fv' => 'tanarFogadoOra', 'modul' => 'naplo', 'values' => array($tanarId))); + // Új fogadóóra felvétele + if (isset($teremId) && $teremId > 0) { + $q = "INSERT INTO fogadoOra VALUES (%u, '%s', '%s', %u)"; + } else { + $q = "INSERT INTO fogadoOra VALUES (%u, '%s', '%s', NULL)"; + } + $v = array($tanarId, $tol, $ig, $teremId); + db_query($q, array('fv' => 'tanarFogadoOra', 'modul' => 'naplo', 'values' => $v)); + + // A szülői jelentkezések is törlődnek ekkor + $q = "DELETE FROM fogadoOraJelentkezes WHERE tanarId=%u AND (tol<'%s' OR tol>='%s')"; + $v = array($tanarId, $tol, $ig); + return db_query($q, array('fv' => 'tanarFogadoOra', 'modul' => 'naplo', 'values' => $v)); + + } + + function getSzuloJelentkezes($szuloId) { + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOraJelentkezes WHERE szuloId=%u AND tol>=NOW() ORDER BY tol"; + return db_query($q, array('fv' => 'getSzuloJelentkezes', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tanarId', 'values' => array($szuloId))); + } + + function fogadoOraJelentkezes($szuloId, $M) { + + $lr = db_connect('naplo'); + + for ($i = 0; $i < count($M); $i++) { + $tanarId = $M[$i]['tanarId']; + $datetime = $M[$i]['datetime']; + if (isset($datetime)) { + // Egy már felvett jelentkezésről van-e szó + $q = "SELECT COUNT(*) FROM ".__TANEVDBNEV.".fogadoOraJelentkezes WHERE tol='%s' AND tanarId=%u AND szuloId=%u"; + $v = array($datetime, $tanarId, $szuloId); + $db = db_query($q, array('fv' => 'fogadoOraJelentkezes', 'modul' => 'naplo', 'result' => 'value', 'values' => $v), $lr); + if ($db > 0) continue; + + // Van-e már a szülőnek, vagy a tanárnak bejegyzése az adott időpontra + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOraJelentkezes WHERE tol='%s' AND (tanarId=%u OR szuloId=%u) LIMIT 1"; + $v = array($datetime, $tanarId, $szuloId); + $r = db_query($q, array('fv' => 'fogadoOraJelentkezes', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (!is_array($r) || count($r) == 1) { + //$_SESSION['alert'][] = 'message:wrong_data:fogadoOraJelentkezes:foglalt:'."$szuloId/$tanarId/$datetime"; + $_SESSION['alert'][] = 'message:fogadoora_foglalt:'.str_replace(':','.',$datetime).':foglalt:'."$szuloId/$tanarId/$datetime"; + continue; + } + // Van-e a tanárnak az adtott időpontban fogadóórája + $q = "SELECT * FROM fogadoOra WHERE tanarId=%u AND tol<='%s' AND '%s' 'fogadoOraJelentkezes', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (!is_array($r) || count($r) == 0) { + //$_SESSION['alert'][] = 'message:wrong_data:fogadoOraJelentkezes:nincs fogadóórája:'."szuloId/$tanarId/$datetime"; + $_SESSION['alert'][] = 'message:fogadoora_nincs:'.$datetime.":szuloId/$tanarId/$datetime"; + continue; + } + } + + db_start_trans($lr); + // Töröljük a korrábbi jelentkezést és felvesszük az újat + $q = "DELETE FROM fogadoOraJelentkezes WHERE szuloId=%u AND tanarId=%u AND tol>=NOW()"; + $v = array($szuloId, $tanarId); + $r = db_query($q, array('rollback' => true, 'fv' => 'fogadoOraJelentkezes', 'modul' => 'naplo', 'values' => $v), $lr); + // Ha csak törlés volt, akkor tovább + if (!isset($datetime)) { db_commit($lr); continue; } + + // Felvesszük az új jelentkezést + $q = "INSERT INTO fogadoOraJelentkezes (szuloId, tanarId, tol) VALUES (%u, %u, '%s')"; + $v = array($szuloId, $tanarId, $datetime); + $r = db_query($q, array('rollback' => true, 'fv' => 'fogadoOraJelentkezes', 'modul' => 'naplo', 'values' => $v), $lr); + db_commit($lr); + } + + db_close($lr); + + } + + + function getFogadoOraLista() { + + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOra LEFT JOIN ".__INTEZMENYDBNEV.".terem USING (teremId) WHERE ig>=NOW()"; + $ret['adatok'] = db_query($q, array('fv' => 'getFogadoOraLista', 'modul' => 'naplo', 'result' => 'assoc', 'keyfield' => 'tanarId')); + + $q = "SELECT * FROM ".__TANEVDBNEV.".fogadoOraJelentkezes WHERE tol>=CURDATE() ORDER BY tanarId,tol"; + $ret['jelentkezesek'] = db_query($q, array('fv' => 'getFogadoOraLista', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'tanarId')); + + return $ret; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/munkaterv.php b/mayor-orig/www/include/modules/naplo/tanev/munkaterv.php new file mode 100644 index 00000000..ab52242f --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/munkaterv.php @@ -0,0 +1,145 @@ +'initNapok','table'=>'nap')); + + $Hetek = $ADAT['Hetek']; + $lr = db_connect('naplo', array('fv' => 'initNapok')); + + db_start_trans($lr); + + $q = "DELETE FROM munkaterv"; + $r[] = db_query($q, array('fv' => 'initNapok', 'modul' => 'naplo'), $lr); + + /* Munkaterv */ + $q = "INSERT INTO munkaterv (munkatervId,munkatervNev,tanitasiNap,tanitasNelkuliMunkanap,vegzosZarasDt) VALUES (1,'alapértelmezett',%u,%u,'%s')"; + $v = array($ADAT['tanitasiNap'], $ADAT['tanitasNelkuliMunkanap'], $ADAT['vegzosZarasDt']); + $r[] = db_query($q, array('fv' => 'initNapok1', 'modul' => 'naplo', 'values' => $v), $lr); + + $q = "INSERT INTO munkatervOsztaly (munkatervId,osztalyId) SELECT 1 AS `munkatervId`,`osztalyId` FROM `".__INTEZMENYDBNEV."`.`osztaly` WHERE vegzoTanev>=%u AND kezdoTanev<=%u"; + $v = array(__TANEV,__TANEV); + $r[] = db_query($q, array('fv' => 'initNapok2', 'modul' => 'naplo', 'values' => $v), $lr); + /* --- */ + + $kovetkezoTanevAdat = getTanevAdat(__TANEV+1); $tanevVege = date('Y-m-d',strtotime('-1 days',strtotime($kovetkezoTanevAdat['kezdesDt']))); + $r[] = napokHozzaadasa(__TANEV, $_TANEV['kezdesDt'], $tanevVege, $_TANEV, $lr); + + orarendiHetekHozzarendelese($_TANEV['kezdesDt'], $_TANEV['zarasDt'], $Hetek, $lr); + + if (in_array(false,$r)) { + db_rollback($lr); + db_close($lr); + return false; + } else { + db_commit($lr); + db_close($lr); + $_SESSION['alert'][] = 'info:success'; + return true; + } + + } + + function ujMunkaterv($ADAT) { + + $q = "INSERT INTO munkaterv (munkatervNev,tanitasiNap,tanitasNelkuliMunkanap,vegzosZarasDt) VALUES + ('%s',%u,%u,'%s')"; + $v = array($ADAT['munkatervNev'], $ADAT['tanitasiNap'], $ADAT['tanitasNelkuliMunkanap'], $ADAT['vegzosZarasDt']); + $munkatervId = db_query($q, array('fv' => 'ujMunkaterv/munkaterv', 'modul' => 'naplo', 'values' => $v, 'result' => 'insert'), $lr); + + if (!$munkatervId) { return false; } + + $q = "INSERT INTO nap SELECT dt, tipus, megjegyzes, orarendiHet, %u AS munkatervId, csengetesiRendTipus FROM nap WHERE munkatervId=%u"; + $v = array($munkatervId, $ADAT['munkatervId']); + $r = db_query($q, array('fv' => 'ujMunkaterv/nap', 'modul' => 'naplo', 'values' => $v), $lr); + + if (!$r) { return false; } + + return $munkatervId; + + } + + function munkatervModositas($Dt, $Tipus, $Megjegyzes, $OrarendiHet, $Hetek, $munkatervId = 1, $csengetesiRendTipus) { + + global $_TANEV; + + logAction( + array( + 'szoveg'=>'munkaterv módosítás', + 'table'=>'nap' + ) + ); + $lr = db_connect('naplo', array('fv' => 'munkatervModositas')); + db_start_trans($lr); + for ($i = 0; $i < count($Dt); $i++) { + $dt = $Dt[$i]; + $time = strtotime($dt); + $tipus = $Tipus[$i]; + $megjegyzes = $Megjegyzes[$i]; + $_csengetesiRendTipus = $csengetesiRendTipus[$i]; + if ($tipus == 'tanítási nap') { + $orarendiHet = $OrarendiHet[$i]; + if ($orarendiHet == 0) { // most állítjuk be tanítási napnak, és nem rendelkeztek az órarendi hétről... + // kérdezzük le, hogy van-e másik munkatervben már megadott órarendi hét erre a napra + $q = "SELECT orarendiHet FROM nap WHERE dt='%s' AND orarendiHet<>0"; + $v = array($dt); + $orarendiHet = db_query($q, array('fv' => 'munkatervModositas/hianyzoOrarendiHet','modul'=>'naplo', 'values'=>$v, 'result'=>'value'), $lr); + if ($orarendiHet === false) { db_rollback($lr); db_close($lr); return false; } + if (is_null($orarendiHet)) { // nincs beállítva órarendi hét --> legyen a $Hetek első eleme... + $orarendiHet = $Hetek[0]; + } + } + } else { + // Ha nem tanítási nap, akkor nincs értelme órarendi hetet beállítani --> 0 + $orarendiHet = 0; + } + if ( + ($time >= strtotime($_TANEV['kezdesDt']) && $time <= strtotime($_TANEV['zarasDt'])) + && ($tipus != 'tanítási nap' || count($Hetek) == 0 || in_array($orarendiHet, $Hetek)) + ) { + $q = "UPDATE nap SET csengetesiRendTipus='%s',tipus='%s', megjegyzes='%s' WHERE dt='%s' AND munkatervId=%u"; + $v = array($_csengetesiRendTipus, $tipus, $megjegyzes, $dt, $munkatervId); + $r = db_query($q, array('fv' => 'munkatervModositas/típus, megjegyzés', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return(false); } + // Az órarendi hét módosítás mindig az összes munkatervet érinti!! + if ($orarendiHet != 0) { + $q = "UPDATE nap SET orarendiHet=%u WHERE dt='%s' AND tipus='tanítási nap'"; + $v = array($orarendiHet, $dt); + } else { + $q = "UPDATE nap SET orarendiHet=%u WHERE dt='%s' AND munkatervId=%u"; + $v = array($orarendiHet, $dt, $munkatervId); + } + $r = db_query($q, array('fv' => 'munkatervModositas/órarendiHét', 'modul' => 'naplo', 'values' => $v), $lr); + if (!$r) { db_rollback($lr); db_close($lr); return(false); } + } else { + $_SESSION['alert'][] = 'message:wrong_data:munkatervModositas:'.$dt.':'.$tipus.'/'.$orarendiHet; + } + } + db_commit($lr); + db_close($lr); + return true; + + } + + function munkatervOsztaly($ADAT) { + + $r = array(); + for ($i = 0; $i < count($ADAT['osztalyIds']); $i++) { + + $osztalyId = $ADAT['osztalyIds'][$i]; + $munkatervId = $ADAT['ujMunkatervIds'][$i]; + $q = "UPDATE munkatervOsztaly SET munkatervId='%u' WHERE osztalyId=%u"; + $v = array($munkatervId, $osztalyId); + $r[] = db_query($q, array('fv' => 'munkatervOsztaly', 'modul' => 'naplo', 'values' => $v)); + + } + return !in_array(false, $r); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/tankorBlokk.php b/mayor-orig/www/include/modules/naplo/tanev/tankorBlokk.php new file mode 100644 index 00000000..6b15bdeb --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/tankorBlokk.php @@ -0,0 +1,277 @@ + 0) { + $WHERE[] = 'tankorId IN ('.implode(',', array_fill(0, count($tankorIds), '%u')).')'; + $v = $tankorIds; + } + if (isset($blokkId) && intval($blokkId) > 0) { + $WHERE[] = "blokkId != %u"; + $v[] = intval($blokkId); + } + if (count($WHERE) > 0) $whereStr = "WHERE ".implode(' AND ', $WHERE); + + $return = array(); + // tankörök export óraszáma (az aktuális blokk kivételével) + $q = "SELECT tankorId, SUM(exportOraszam) AS exportOraszam FROM `%s`.tankorBlokk + LEFT JOIN `%s`.blokk USING (blokkId) + $whereStr GROUP BY tankorId"; + array_unshift($v, $tanevDbNev, $tanevDbNev); + return db_query($q, array('fv' => 'getTankorExportOraszamByTanev', 'modul' => 'naplo', 'result' => 'keyvaluepair', 'keyfield' => 'tankorId', 'values' => $v), $lr); + + } + + function ujTankorBlokk($blokkNev, $exportOraszam, $tankorIds, $tanev='') { + + global $_TANEV; + + if (!is_array($tankorIds) || count($tankorIds)==0 || $blokkNev=='') { + $_SESSION['alert'][] = '::egy kötelező paraméter hiányzik!'; + return false; + } + + if ($tanev=='') { + $tanev = __TANEV; + $tanevAdat = $_TANEV; + } else { + $tanevAdat = getTanevAdat($tanev); + } + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + + if (strtotime($tanevAdat['zarasDt']) < time()) { + $_SESSION['alert'][] = 'message:Elmúlt tanévre ne hozzunk létre tankörblokkot!'; + return false; + } + if (time() < strtotime($tanevAdat['kezdesDt'])) { + $kezdesDt = $tanevAdat['kezdesDt']; + $kezdesDtPattern = "'%s'"; + } else { + $kezdesDt = 'CURDATE()'; + $kezdesDtPattern = '%s'; + } + $zarasDt = $tanevAdat['zarasDt']; + + /* Vizsgáljuk meg, hogy létrehozható-e a tankorBlokk + kizáró feltétel, ha egy diák beletartozik több csoportba HAVING count>2 + */ + + $lr = db_connect('naplo', array('fv' => 'ujTankorBlokk')); + + // Ellenőrzés - tankör - diákok + $q = "SELECT diakId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= $kezdesDtPattern) + GROUP BY diakId HAVING c>1 + ORDER BY tankorId,diakId"; +// AND jelenlet='kötelező' + /* Ez a függvény nem veszi figyelembe a felmentéseket! */ + + $_SESSION['alert'][] = 'info:!!!:ujTankorBlokk() felmentések'; + + $v = mayor_array_join($tankorIds, array($zarasDt, $kezdesDt)); + $ret=db_query($q, array('fv' => 'ujTankorBlokk', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (count( $ret ) > 0) { + $_SESSION['alert'][] = 'message:wrong_data:ujTankorBlokk:Sikertelen. '.count($ret).' db ütköző diákot találtam!: diakId='.$ret[0]['diakId'].'...'; + db_close($lr); + return false; + } + + // Ellenőrzés - tankör - tanárok + $q = "SELECT tanarId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= $kezdesDtPattern) + GROUP BY tanarId HAVING c>1 + ORDER BY tankorId,tanarId"; + $v = mayor_array_join($tankorIds, array($zarasDt, $kezdesDt)); + $ret = db_query($q, array('fv' => 'ujTankorBlokk', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v)); + if (count( $ret ) > 0) { + $_SESSION['alert'][] = 'message:wrong_data:ujTankorBlokk:Sikertelen. '.count($ret).' db ütköző tanárt találtam!:tanarId='.$ret[0]['tanarId'].'...'; + db_close($lr); + return false; + } + + // Ellenőrzés - óraszám + // tankörök export óraszáma (az aktuális blokk kivételével) + $tankorExportOraszam = getTankorExportOraszamByTanev($tanev, $tankorIds); + // tankörök óraszáma + $tankorOraszam = getTankorOraszamByTanev($tanev, $tankorIds); + foreach ($tankorIds as $index => $tankorId) { + if ($tankorOraszam[$tankorId] - $tankorExportOraszam[$tankorId] < $exportOraszam) + $exportOraszam = $tankorOraszam[$tankorId] - $tankorExportOraszam[$tankorId]; + } + if ($exportOraszam < 0) $exportOraszam = 0; + db_start_trans($lr); + + // Új felvétele + $q = "INSERT INTO `%s`.`blokk` (`blokkNev`, `exportOraszam`) VALUES ('%s', %f)"; + $v = array($tanevDbNev, $blokkNev, $exportOraszam); + + $blokkId = db_query($q, array('fv' => 'ujTankorBlokk', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v, 'rollback' => true), $lr); + if ($blokkId === false) { db_close($lr); return false; } + + // Tankörök hozzárendelése + $Val = array(); $v = array($tanevDbNev); + for ($i = 0; $i < count($tankorIds); $i++) { + $Val[] = "(%u, %u)"; + array_push($v, $blokkId, $tankorIds[$i]); + } + $q = "INSERT INTO `%s`.tankorBlokk (blokkId,tankorId) VALUES ".implode(',', $Val); + $r = db_query($q, array('fv' => 'ujTankorBlokk', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if (!$r) { db_close($lr); return false; } + + db_commit($lr); + db_close($lr); + return true; + + } + + function tankorBlokkModositas($ADAT) { + + + if (!is_array($ADAT['tankorIds']) || count($ADAT['tankorIds'])==0 || $ADAT['blokkNev']=='') { + $_SESSION['alert'][] = '::egy kötelező paraméter hiányzik!(tbmod)'; + return false; + } + + if ($ADAT['tanev']=='') { + $tanev = __TANEV; + $tanevAdat = $_TANEV; + } else { + $tanev = $ADAT['tanev']; + $tanevAdat = getTanevAdat($tanev); + } + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + + if (strtotime($tanevAdat['zarasDt']) < time()) { + $_SESSION['alert'][] = 'message:Elmúlt tanévre ne hozzunk létre tankörblokkot!'; + return false; + } + $blokkId = $ADAT['blokkId']; + $tankorIds = $ADAT['tankorIds']; + + $zarasDt = $tanevAdat['zarasDt']; + if (time() < strtotime($tanevAdat['kezdesDt'])) { + $kezdesDt = $tanevAdat['kezdesDt']; + $kezdesDtPattern = "'%s'"; + } else { + $kezdesDt = 'CURDATE()'; + $kezdesDtPattern = "%s"; + } + + $lr = db_connect('naplo'); + + // Ellenőrizzük a tankör tagokat - azonosak-e tankörönként + $q = "SELECT diakId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($ADAT['tankorIds']), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= $kezdesDtPattern) + GROUP BY diakId HAVING c>1 + ORDER BY tankorId,diakId"; + + $v = mayor_array_join($ADAT['tankorIds'], array($zarasDt, $kezdesDt)); + $ret = db_query($q, array('fv' => 'tankorBlokkModositas', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + if (count( $ret ) > 0) { + $_SESSION['alert'][] = 'message:wrong_data:tankorBlokkModositas:Sikertelen. '.count($ret).' db ütköző diákot találtam!:diakId='.$ret[0]['diakId'].'...'; + db_close($lr); + return false; + } + + // Ellenőrizzük a tankör tanárokat - azonosak-e tankörönként + $q = "SELECT tanarId,COUNT(DISTINCT tankorId) AS c FROM ".__INTEZMENYDBNEV.".tankorTanar + WHERE tankorId IN (".implode(',', array_fill(0, count($ADAT['tankorIds']), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= $kezdesDtPattern) + GROUP BY tanarId HAVING c>1 + ORDER BY tankorId,tanarId"; + $v = mayor_array_join($ADAT['tankorIds'], array($zarasDt, $kezdesDt)); + $ret = db_query($q, array('fv' => 'tankorBlokkModositas', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + if (count( $ret )>0) { + $_SESSION['alert'][] = 'message:wrong_data:tankorBlokkModositas:Sikertelen. '.count($ret).' db ütköző tanárt találtam!:blokkId='.$blokkId.':tanarId='.$ret[0]['tanarId'].'...'; + db_close($lr); + return false; + } + + // tankörök export óraszáma (az aktuális blokk kivételével) + $tankorExportOraszam = getTankorExportOraszamByTanev($tanev, $ADAT['tankorIds'], $blokkId); + // tankörök óraszáma + $tankorOraszam = getTankorOraszamByTanev($tanev, $ADAT['tankorIds']); + foreach ($ADAT['tankorIds'] as $index => $tankorId) { + if ($tankorOraszam[$tankorId] - $tankorExportOraszam[$tankorId] < $ADAT['exportOraszam']) { + $_SESSION['alert'][] = 'message:wrong_data:tankorId='.$tankorId.', óraszám='.$tankorOraszam[$tankorId].', export óraszám='. + intval($tankorExportOraszam[$tankorId]).', blokk óraszám='.$ADAT['exportOraszam']; + return false; + } + } + + // Csoportnév és export óraszám módosítása + $q = "UPDATE `%s`.blokk SET blokkNev='%s',exportOraszam=%f WHERE blokkId=%u"; + $v = array($tanevDbNev, $ADAT['blokkNev'], $ADAT['exportOraszam'], $ADAT['blokkId']); + db_query($q, array('fv' => 'tankorBlokkModositas', 'modul' => 'naplo', 'values' => $v), $lr); + + // SAFE: + db_start_trans($lr); + + // Törlés + $q = "DELETE FROM `%s`.tankorBlokk WHERE blokkId=%u"; + $v = array($tanevDbNev, $blokkId); + $r = db_query($q, array('fv' => 'tankorBlokkModositas/Delete', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + if ($r === false) { db_close($lr); return false; } + // Itt nem jó a commit, hisz még félben van a dolog - nem? // else db_commit($lr); + + // Tankörök hozzárendelése + $v = array($tanevDbNev); $Val = array(); + for ($i = 0; $i < count($tankorIds); $i++) { + $Val[] = "(%u, %u)"; + array_push($v, $blokkId, $tankorIds[$i]); + } + if (count($Val) > 0) { + $q = "INSERT INTO `%s`.tankorBlokk (blokkId,tankorId) VALUES ".implode(',', $Val); + $r = db_query($q, array('fv' => 'tankorBlokkModositas/Insert', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback' => true), $lr); + } + + if ($r===false) { db_close($lr); return false; } + + db_commit($lr); + + db_close($lr); + return true; + + } + + function tankorBlokkTorles($ADAT) { + + if ($ADAT['blokkId']=='') { + $_SESSION['alert'][] = '::egy kötelező paraméter hiányzik!'; + return false; + } + + if ($ADAT['tanev']=='') { + $tanev = __TANEV; + $tanevAdat = $_TANEV; + } else { + $tanev = $ADAT['tanev']; + $tanevAdat = getTanevAdat($tanev); + } + + $tanevDbNev = tanevDbNev(__INTEZMENY, $tanev); + + $blokkId=intval($ADAT['blokkId']); + + $q = "DELETE FROM `%s`.blokk WHERE blokkId=%u"; + $v = array($tanevDbNev, $blokkId); + $r = db_query($q, array('fv' => 'TankorBlokk|Delete', 'modul' => 'naplo_intezmeny', 'values' => $v, 'rollback'=>true), $lr); + + return true; + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/tankorCsoport.php b/mayor-orig/www/include/modules/naplo/tanev/tankorCsoport.php new file mode 100644 index 00000000..984726db --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/tankorCsoport.php @@ -0,0 +1,164 @@ + 'tankorCsoport', 'modul' => 'naplo', 'result' => 'multiassoc', 'keyfield' => 'csoportId', 'values' => $tankorIds + )); + + } + + function ujTankorCsoport($csoportNev, $tankorIds) { + + global $_TANEV; + $dt = (time() <= strtotime($_TANEV['kezdesDt'])) ? "'".$_TANEV['kezdesDt']."'" : 'CURDATE()'; + + $lr = db_connect('naplo', array('fv' => 'ujTankorCsoport')); + + // Ellenőrizzük, hogy a megadott tankörök még nem foglaltak + $q = "SELECT tankorId FROM ".__TANEVDBNEV.".tankorCsoport + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") LIMIT 1"; + $ret = db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $tankorIds), $lr); + if (count($ret) > 0) { + $_SESSION['alert'][] = 'message:utkozes:ujTankorCsoport:tankör ütközés'; + db_close($lr); + return false; + } + + // Ellenőrizzük a tankör tagokat - azonosak-e tankörönként + $q = "SELECT DISTINCT tankorId,diakId FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= '%s') + ORDER BY tankorId,diakId"; + $v = mayor_array_join($tankorIds, array($dt, $dt)); + $ret = db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + $tDiakok = array(); + foreach ($tankorIds as $tankorId) $tDiakok[$tankorId] = array(); // különben az üres tankör nem jelennemeg az ellenőrzéskor! + for ($i = 0; $i < count($ret); $i++) { + $tDiakok[$ret[$i]['tankorId']][] = $ret[$i]['diakId']; + } + foreach ($tDiakok as $tankorId => $diakIds) { + if (is_array($elsoDiakIds)) { + if ($elsoDiakIds != $diakIds) { + $_SESSION['alert'][] = 'message:wrong_data:ujTankorCsoport:tankör tagok nem azonosak:(tankorId='.$tankorId.')'; + db_close($lr); + return false; + } + } else { + $elsoDiakIds = $diakIds; + } + } + + // Új csoport felvétele + $q = "INSERT INTO ".__TANEVDBNEV.".csoport (csoportNev) VALUES ('%s')"; + $csoportId = db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'result' => 'insert', 'values' => array($csoportNev)), $lr); + if ($csoportId === false) { db_close($lr); return false; } + + // Tankörök hozzárendelése + $v = $Val = array(); + for ($i = 0; $i < count($tankorIds); $i++) { + $Val[] = "(%u, %u)"; + array_push($v, $csoportId, $tankorIds[$i]); + } + $q = "INSERT INTO ".__TANEVDBNEV.".tankorCsoport (csoportId,tankorId) VALUES ".implode(',', $Val); + db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'values' => $v), $lr); + + _setMinMax($csoportId,$lr); + + db_close($lr); + return true; + + } + + function tankorCsoportModositas($csoportId, $csoportNev, $tankorIds) { + + global $_TANEV; + $dt = (time() <= strtotime($_TANEV['kezdesDt'])) ? "'".$_TANEV['kezdesDt']."'" : 'CURDATE()'; + + if (count($tankorIds) == 0) { + $_SESSION['alert'][] = 'message:wrong_data:tankorCsoportModositas/#0:nincs tankör'; + return false; + } + + $lr = db_connect('naplo'); + + // Ellenőrizzük, hogy a megadott tankörök még nem foglaltak + $q = "SELECT tankorId FROM ".__TANEVDBNEV.".tankorCsoport + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") AND csoportId != %u LIMIT 1"; + $v = mayor_array_join($tankorIds, array($csoportId)); + $ret = db_query($q, array('fv' => 'tankorCsoportModositas/#1', 'modul' => 'naplo', 'result' => 'indexed', 'values' => $v), $lr); + if (count($ret) > 0) { + $_SESSION['alert'][] = 'message:utkozes:tankorCsoportModositas/#2:tankör ütközés'; + db_close($lr); + return false; + } + + // Ellenőrizzük a tankör tagokat - azonosak-e tankörönként + $q = "SELECT tankorId,diakId FROM ".__INTEZMENYDBNEV.".tankorDiak + WHERE tankorId IN (".implode(',', array_fill(0, count($tankorIds), '%u')).") + AND beDt <= '%s' AND (kiDt IS NULL OR kiDt >= '%s' ) + ORDER BY tankorId,diakId"; + $v = mayor_array_join($tankorIds, array($dt, $dt)); + $ret = db_query($q, array('fv' => 'tankorCsoportModositas/#3', 'modul' => 'naplo_intezmeny', 'result' => 'indexed', 'values' => $v), $lr); + $tDiakok = array(); + for ($i = 0; $i < count($ret); $i++) $tDiakok[$ret[$i]['tankorId']][] = $ret[$i]['diakId']; + foreach ($tankorIds as $index => $tankorId) { + $diakIds = $tDiakok[$tankorId]; + if (is_array($elsoDiakIds)) { + if ($elsoDiakIds != $diakIds) { + $_SESSION['alert'][] = 'message:wrong_data:tankorCsoportModositas/#4:tankör tagok nem azonosak:(tankorId='.$tankorId.')'; + db_close($lr); + return false; + } + } else { + $elsoDiakIds = $diakIds; + } + } + + // Csoportnév módosítása + $q = "UPDATE ".__TANEVDBNEV.".csoport SET csoportNev = '%s' WHERE csoportId = %u"; + $v = array($csoportNev, $csoportId); + db_query($q, array('fv' => 'tankorCsoportModositas', 'modul' => 'naplo', 'values' => $v)); + // Régi csoporthozzárendelések törlése + $q = "DELETE FROM ".__TANEVDBNEV.".tankorCsoport WHERE csoportId = %u"; + $v = array($csoportId); + db_query($q, array('fv' => 'tankorCsoportModositas', 'modul' => 'naplo', 'values' => $v)); + // Tankörök hozzárendelése + $v = $Val = array(); + for ($i = 0; $i < count($tankorIds); $i++) { + $Val[] = "(%u, %u)"; + array_push($v, $csoportId, $tankorIds[$i]); + } + $q = "INSERT INTO ".__TANEVDBNEV.".tankorCsoport (csoportId,tankorId) VALUES ".implode(',', $Val); + db_query($q, array('fv' => 'tankorCsoportModositas/#5', 'modul' => 'naplo', 'values' => $v)); + + _setMinMax($csoportId,$lr); + + db_close($lr); + return true; + + } + + function tankorCsoportTorles($csoportId, $tanev = __TANEV) { + $tanevDb = tanevDbNev(__INTEZMENY, $tanev); + $q = "DELETE FROM `%s`.csoport WHERE csoportId=%u"; + $v = array($tanevDb, $csoportId); + db_query($q, array('fv' => 'tankorCsoportTorles', 'modul' => 'naplo', 'values' => $v)); + } + + function _setMinMax($csoportId,$lr) { + + // Tankörcsoport minimum, maximum beállítás - legbővebb halmaz + $v = array($csoportId); + $q = ("SET @min= (SELECT MIN(min) FROM ".__INTEZMENYDBNEV.".tankor WHERE tankorId IN (SELECT DISTINCT tankorId FROM tankorCsoport WHERE csoportId=%u))"); + db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'values' => $v), $lr); + $q = ("SET @max= (SELECT MAX(max) FROM ".__INTEZMENYDBNEV.".tankor WHERE tankorId IN (SELECT DISTINCT tankorId FROM tankorCsoport WHERE csoportId=%u))"); + db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'values' => $v), $lr); + $q = "UPDATE ".__INTEZMENYDBNEV.".tankor SET min=@min, max=@max WHERE tankorId IN (SELECT DISTINCT tankorId FROM tankorCsoport WHERE csoportId=%u)"; + db_query($q, array('fv' => 'ujTankorCsoport', 'modul' => 'naplo', 'values' => $v), $lr); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/targyBontas.php b/mayor-orig/www/include/modules/naplo/tanev/targyBontas.php new file mode 100644 index 00000000..5b31bdec --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/targyBontas.php @@ -0,0 +1,240 @@ +'checkTargyBontas','modul'=>'naplo','result'=>'value')); + return ($darab>0?TRUE:FALSE); + } + + function getKepzesTargyBontasByOsztalyIds($osztalyIds) { + + if (!is_array($osztalyIds) || count($osztalyIds)==0) return false; + + // tankör- és óraszám adatok + $q = "SELECT bontasId, tankorId, hetiOraszam + FROM kepzesTargyBontas LEFT JOIN bontasTankor USING (bontasId) + WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") AND tankorId IS NOT NULL + ORDER BY bontasId"; + $r = db_query($q, array('fv'=>'getKepzesTargyBontasByOsztalyIds/2','modul'=>'naplo','result'=>'indexed','values'=>$osztalyIds)); + foreach ($r as $a) $TO[$a['bontasId']][] = array('tankorId'=>$a['tankorId'], 'hetiOraszam'=>$a['hetiOraszam']); + + // kepzesTargyBontas adatok + $q = "SELECT kepzesTargyBontas.*,sum(hetiOraszam) as hetiOraszam + FROM kepzesTargyBontas LEFT JOIN bontasTankor USING (bontasId) + WHERE osztalyId IN (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + GROUP BY bontasId ORDER BY bontasId"; + $r = db_query($q, array('fv'=>'getKepzesTargyBontasByOsztalyIds','modul'=>'naplo','result'=>'indexed','values'=>$osztalyIds)); + if (!is_array($r)) return $r; + $return = array(); + foreach ($r as $a) $return[$a['osztalyId']][$a['kepzesOratervId']][] = array( + 'bontasId' => $a['bontasId'], + 'targyId' => $a['targyId'], + 'hetiOraszam' => $a['hetiOraszam'], + 'tankor-oraszam'=>$TO[ $a['bontasId'] ] + ); + + return $return; + + } + + function kepzesOratervSorrend($evfolyamJel, $osztalyIds, $kepzesIds) { + // ez volt // group_concat(kepzesTargyBontas.targyId order by kepzesTargyBontas.targyId separator '-') as btStr + + $q = "select + kepzesOratervId, tipus, targyNev, kepzesOraterv.targyId as targyId, kepzesOraterv.hetiOraszam as hetiOraszam, osztalyId, kepzesId, szemeszter, + group_concat(concat_ws('-',kepzesTargyBontas.targyId,tankorId,bontasTankor.hetiOraszam) order by kepzesTargyBontas.targyId,tankorId separator '_') as btStr + from kepzesOraterv + left join targy using (targyId) + left join kepzesOsztaly using (kepzesId) + left join ".__TANEVDBNEV.".kepzesTargyBontas using (kepzesOratervId, osztalyId) + left join ".__TANEVDBNEV.".bontasTankor using (bontasId) + where evfolyamJel='%s' and osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + and kepzesId in (".implode(',', array_fill(0, count($kepzesIds), '%u')).") + group by kepzesOratervId, tipus, kepzesOraterv.targyId, kepzesOraterv.hetiOraszam, osztalyId, kepzesId, szemeszter + order by tipus, targyNev, kepzesOraterv.targyId, kepzesOraterv.hetiOraszam, btStr, osztalyId, szemeszter"; + $v = mayor_array_join(array($evfolyamJel), $osztalyIds, $kepzesIds); + $ret = db_query($q, array('fv'=>'kepzesOratervSorrend','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + return reindex($ret, array('tipus','targyId','hetiOraszam','btStr')); + } + + function addBontas($osztalyId, $kepzesOratervId, $targyId=null, $olr=null) { + + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny', array('fv'=>'addBontas')); + else $lr = $olr; + + if ($targyId == '') { + $q = "SELECT targyId FROM kepzesOraterv WHERE kepzesOratervId=%u"; + $targyId = db_query($q, array('fv'=>'addBontas','modul'=>'naplo_intezmeny','result'=>'value','values'=>array($kepzesOratervId)), $lr); + } + if ($targyId == '') return false; + + $q = "INSERT INTO ".__TANEVDBNEV.".kepzesTargyBontas (osztalyId, kepzesOratervId, targyId) VALUES (%u, %u, %u)"; + $bontasId = db_query($q, array('fv'=>'addBontas/insert','modul'=>'naplo','result'=>'insert','values'=>array($osztalyId,$kepzesOratervId,$targyId)), $lr); + + // is_resource mysqli esetán nem jó (object) + if (!$olr) db_close(); + + return array( + 'targyId' => $targyId, + 'osztalyId' => $osztalyId, + 'kepzesOratervId' => $kepzesOratervId, + 'bontasId' => $bontasId + ); + + } + + function delBontas($bontasIds) { + if (!is_array($bontasIds) || count($bontasIds) == 0) return false; + $q = "DELETE FROM kepzesTargyBontas WHERE bontasId IN (".implode(',', array_fill(0, count($bontasIds), '%u')).")"; + $r = db_query($q, array('fv'=>'delBontas','modul'=>'naplo','values'=>$bontasIds)); + if ($r) return $bontasIds; + else return $r; + } + + function initFromLastYear() { + // Csak akkor lehet init, ha még nincs bent egyetlen bontás sem az adott kepzes-osztály párokhoz + $q = "select count(*) from kepzesTargyBontas"; + $db = db_query($q, array('fv'=>'kepzesTargyBontasInit/0','modul'=>'naplo','result'=>'value','values'=>$v)); + if ($db > 0) return true; + + $lr = db_connect('naplo_intezmeny', array('fv'=>'initFromLastYear')); + // is_resource mysqli esetén nem jó (object) + if (!$lr) return false; + + $elozoTanevDb = tanevDbNev(__INTEZMENY,__TANEV-1); + // ha nincs előző tanév, akkor kész az init + $q = "SELECT COUNT(SCHEMA_NAME) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '%s'"; + $v = array($elozoTanevDb); + $db = db_query($q, array('fv'=>'kepzesTargyBontasInit/0.5','modul'=>'naplo','result'=>'value','values'=>$v)); + if ($db == 0) return true; + + set_time_limit(300); + + // Az előző év bontásai alapján + /* + Lekérdezzük az előző év bontásainak adatait, melyek az adott kepzes-osztály párhoz tartoztak. + bontasId szerint rendezünk, hogy egy bontást csak egyszer vegyünk fel. + */ + $q = "select kepzesOratervId,osztalyId,kepzesOraterv.targyId as koTargyId,kepzesTargyBontas.targyId as bontasTargyId, + tankorId,bontasTankor.hetiOraszam as bontasOraszam, bontasId, + kepzesId,evfolyamJel,szemeszter,kepzesOraterv.hetiOraszam as koOraszam,tipus + from ".$elozoTanevDb.".kepzesTargyBontas + left join ".$elozoTanevDb.".bontasTankor using (bontasId) + left join kepzesOraterv using (kepzesOratervId) + order by bontasId"; + $r1 = db_query($q, array('fv'=>'kepzesTargyBontasInit/1','modul'=>'naplo_intezmeny','result'=>'indexed'), $lr); + + $elozoTavalyiBontasId = ''; + foreach ($r1 as $r1Adat) { + // Ha van a tavalyinak megfelelő képzés-óraterv bejegyzés, akkor hozzunk létre neki bontást + if ($r1Adat['tipus'] == 'mintatantervi') { + $q = "select kepzesOraterv.*,oraszam from kepzesOraterv + left join tankorSzemeszter on tankorSzemeszter.szemeszter=kepzesOraterv.szemeszter and tanev=".__TANEV." and tankorId=%u + where kepzesId=%u and kepzesOraterv.szemeszter=%u + and tipus='%s' and kepzesOraterv.targyId=%u + and kepzesOraterv.evfolyamJel='".getKovetkezoEvfolyamJel($r1Adat['evfolyamJel'])."' + "; + $v = array($r1Adat['tankorId'], $r1Adat['kepzesId'], $r1Adat['szemeszter'], $r1Adat['tipus'], $r1Adat['koTargyId']); + } else { + $q = "select * from kepzesOraterv + left join tankorSzemeszter on tankorSzemeszter.szemeszter=kepzesOraterv.szemeszter and tanev=".__TANEV." and tankorId=%u + where kepzesId=%u and kepzesOraterv.szemeszter=%u + and tipus='%s' and kepzesOraterv.targyId is null + and kepzesOraterv.evfolyamJel='".getKovetkezoEvfolyamJel($r1Adat['evfolyamJel'])."' + "; + $v = array($r1Adat['tankorId'], $r1Adat['kepzesId'], $r1Adat['szemeszter'], $r1Adat['tipus'], ); + } + $r2 = db_query($q, array('fv'=>'kepzesTargyBontasInit/2','modul'=>'naplo_intezmeny','result'=>'record','values'=>$v), $lr); + /* + - Lehet az eredmény üres, ha nincs a képzés óratervben idén folytatása a tárgynak/típusnak + */ + if (!is_array($r2)) continue; + /* + - Amúgy csak egy rekord lehet... - ekkor a bontást létrehozhatjuk, ha az előző rekord nem ugyanehhez a bontáshoz tartozott... + (a hozzárendelt tankört csak akkor vesszük figyelembe, ha egy van belőle...) + */ + if ($elozoTavalyiBontasId != $r1Adat['bontasId']) { + $r3 = addBontas($r1Adat['osztalyId'], $r2['kepzesOratervId'], $r1Adat['bontasTargyId'], $lr); + $bontasId = $r3['bontasId']; + $elozoTavalyiBontasId = $r1Adat['bontasId']; + } + + if (($r1Adat['tankorId'] != '') && ($r1Adat['bontasOraszam'] == $r1Adat['koOraszam']) && ($r2['hetiOraszam'] == $r2['oraszam'])) { + /* + Ha a tavalyi tankör idei évhez is hozzá van rendelve... + és tavaly megegyezett a tankör óraszáma a bontás óraszámával... + a tankör idei óraszáma is megegyezik a bontás/képzés-oraterv óraszámával, + akkor a tankör is hozzárendelhető + */ + $r4 = bontasTankor(array($bontasId), $r1Adat['tankorId'], $r2['hetiOraszam'], $lr); + if (!$r4) {} // hibakezelés?? + } + } + db_close($lr); + return true; + } + + function kepzesTargyBontasInit($osztalyIds, $kepzesIds) { + + // A megadott osztaly megadott képzéseinek aktuális évfolyamának tantárgyhoz tartozó kepzesOraterv bejegyzéseihez felveszünk egy-egy bontást - ha még nincs + $q = "insert into ".__TANEVDBNEV.".kepzesTargyBontas (osztalyId, kepzesOratervId, targyId) + select osztalyId, kepzesOratervId, kepzesOraterv.targyId as targyId + from kepzesOraterv left join kepzesOsztaly using(kepzesId) + left join ".__TANEVDBNEV.".osztalyNaplo using (osztalyId) + left join ".__TANEVDBNEV.".kepzesTargyBontas using (osztalyId, kepzesOratervId) + where osztalyId in (".implode(',', array_fill(0, count($osztalyIds), '%u')).") + and kepzesId in (".implode(',', array_fill(0, count($kepzesIds), '%u')).") + and kepzesOraterv.evfolyamJel=osztalyNaplo.evfolyamJel + and bontasId is null and kepzesOraterv.targyId is not null"; + $v = mayor_array_join($osztalyIds, $kepzesIds); + return db_query($q, array('fv'=>'kepzesTargyBontasInit','modul'=>'naplo_intezmeny','result'=>'affected rows','values'=>$v)); + + } + + function bontasTankor($bontasIds, $tankorId, $hetiOraszam, $olr = null) { + + if (!is_array($bontasIds) || count($bontasIds) == 0 || $tankorId == '' || $hetiOraszam <= 0) { + $_SESSION['alert'][] = 'message:empty_field:bontasTankor'; + return false; + } + // is_resource mysqli esetén nem jó (object) + if (!$olr) $lr = db_connect('naplo_intezmeny', array('fv'=>'bontasTankor')); + else $lr = $olr; + + db_start_trans($lr); + $ok=true; + /* + Óraszám ellenőrzés - kellene itt is? + - tankör óraszáma: tankorBontás óraszám <= tankorSzemeszer óraszám + - bontás óraszáma: bontás-óraszám <= kepzesOraterv óraszám + - tipus szerint a tankörnek csak egyféle óraszáma lehet + */ + + // Tankor-osztály hozzárendelés + $q = "insert into ".__INTEZMENYDBNEV.".tankorOsztaly (tankorId, osztalyId) + select distinct %u as tankorId, kepzesTargyBontas.osztalyId as osztalyId from ".__TANEVDBNEV.".kepzesTargyBontas + left join ".__INTEZMENYDBNEV.".tankorOsztaly on kepzesTargyBontas.osztalyId=tankorOsztaly.osztalyId and tankorId=%u + where bontasId in (".implode(',', array_fill(0, count($bontasIds), '%u')).") and tankorId is null"; + $v = $bontasIds; array_unshift($v, $tankorId, $tankorId); + $r = db_query($q, array('fv'=>'bontasTankor/1','modul'=>'naplo','result'=>'affected rows','values'=>$v), $lr); + if ($r === false) { db_rollback($lr, 'tankör-osztály hozzárendelés'); if ($olr) db_close($lr); return false; } // is_resource mysqli esetén nem jó (object) + // bontasTankor rögzítése + foreach ($bontasIds as $bontasId) { + $q = "insert into ".__TANEVDBNEV.".bontasTankor (bontasId, tankorId, hetiOraszam) values (%u, %u, %f)"; + $v = array($bontasId, $tankorId, $hetiOraszam); + $r = db_query($q, array('fv'=>'bontasTankor/bt','modul'=>'naplo','values'=>$v), $lr); + if ($r === false) { db_rollback($lr, 'tankörnév hozzárendelés'); if (!$olr) db_close($lr); return false; } // is_resource mysqli esetén nem jó (object) + } + db_commit($lr); + + $r1 = setTankorNev($tankorId, $tankorNevExtra=null, $lr); + // is_resource mysqli esetén nem jó (object) + if (!$olr) db_close($lr); + + return $r1; + } + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/modules/naplo/tanev/targyOraszam.php b/mayor-orig/www/include/modules/naplo/tanev/targyOraszam.php new file mode 100644 index 00000000..d17958d0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/targyOraszam.php @@ -0,0 +1,28 @@ + 'getTargyOraszam', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'targyNev', 'values' => $v)); + + foreach($R as $_tankorId => $D) { + $R[$_tankorId]['tankorTanar'] = getTankorTanarai($tankorId); + } + + return $R; + + } + + function getTargyOraszamEvfolyamonkent($tanev=__TANEV) { + + $q = "SELECT SUM(oraszam)/(SELECT MAX(szemeszter) FROM szemeszter WHERE tanev=%u) AS db, targyNev FROM tankorSzemeszter + LEFT JOIN tankor USING (tankorId) LEFT JOIN targy USING (targyId) WHERE tanev=%u GROUP BY targyid ORDER BY targyNev"; + $v = array($tanev, $tanev); + return db_query($q, array('fv' => 'getTargyOraszamEvfolyamonkent', 'modul' => 'naplo_intezmeny', 'result' => 'assoc', 'keyfield' => 'targyNev', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/tanev/vegzosOrarendLezaras.php b/mayor-orig/www/include/modules/naplo/tanev/vegzosOrarendLezaras.php new file mode 100644 index 00000000..b7f9acd0 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/tanev/vegzosOrarendLezaras.php @@ -0,0 +1,33 @@ += '%s' AND (tanarId,osztalyJel,targyJel) IN ( + SELECT tanarId,osztalyJel,targyJel FROM orarendiOraTankor WHERE tankorId IN (".implode(',', array_fill(0, count($ADAT['vegzosTankor']), '%u')).") + )"; + $v = mayor_array_join(array($ADAT['dt']), $ADAT['vegzosTankor']); + db_query($q, array('fv' => 'vegzosOrarendLezarads', 'modul' => 'naplo', 'values' => $v)); + + // A lezárás dátuma után végződő bejegyzáések igDt-inek beállítása + $q = "UPDATE orarendiOra LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) SET igDt=('%s' - INTERVAL 1 DAY) + WHERE tankorId IN (".implode(',', array_fill(0, count($ADAT['vegzosTankor']),'%u')).") AND igDt > '%s'"; + $v = mayor_array_join(array($ADAT['dt']), $ADAT['vegzosTankor'], array($ADAT['dt'])); + db_query($q, array('fv' => 'vegzosOrarendLezarads', 'modul' => 'naplo', 'values' => $v)); + + } + + function vegzosHaladasiNaploLezaras($ADAT) { + + $q = "DELETE FROM ora WHERE dt >= '%s' AND tankorId IN (".implode(',', array_fill(0, count($ADAT['vegzosTankor']), '%u')).")"; + $v = mayor_array_join(array($ADAT['dt']), $ADAT['vegzosTankor']); + db_query($q, array('fv' => 'vegzosHaladasiNaploLezarads', 'modul' => 'naplo', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/modules/naplo/uzeno/uzeno.php b/mayor-orig/www/include/modules/naplo/uzeno/uzeno.php new file mode 100644 index 00000000..f85d8009 --- /dev/null +++ b/mayor-orig/www/include/modules/naplo/uzeno/uzeno.php @@ -0,0 +1,224 @@ +0) define('__SZEREP','szulo'); + elseif (__DIAK===true && defined('__USERDIAKID') && intval(__USERDIAKID)>0) define('__SZEREP','diak'); + elseif (__UZENOADMIN===true) define('__SZEREP','admin'); + else define(__SZEREP,''); +*/ + } + + function getUzenoSzerep() { + + if (__TANAR===true) $szerep = 'tanar'; + elseif (__DIAK===true && defined('__PARENTDIAKID') && intval(__PARENTDIAKID)>0) $szerep = 'szulo'; + elseif (__DIAK===true && defined('__USERDIAKID') && intval(__USERDIAKID)>0) $szerep = 'diak'; + elseif (__UZENOADMIN===true) $szerep = 'admin'; + else $szerep=''; + + return $szerep; + + } + + function uzenhet($kinek) { + global $UZENODENY; + if (is_null($UZENODENY[__SZEREP])) return true; + return (!in_array($kinek,$UZENODENY[__SZEREP])); + } + + function getUzenoUzenetek($SET=array('tanev'=>__TANEV,'count'=>false,'filter'=>array(),'ignoreAdmin'=>false,'filterFlag'=>array(),'limits'=>array(),'order'=>'DESC')) { + + if (__SZEREP=='') return array(); + + $feladoId = setUzenoFeladoId(); + $TIPUSOK = initUzenoTipusok(array('csakId'=>true,'result'=>'idonly','tanev'=>$SET['tanev'],'forRead'=>true)); + $TIPUSOK[__SZEREP][] = setUzenoFeladoId(); + + if (__UZENOADMIN===true && $SET['ignoreAdmin']===true) return array(); // skip useradmin (pl hirnok) + + if (is_array($SET['filter']) && count($SET['filter'])>0) { + for ($i=0; $i0) { + for ($i=0; $i0) $WX = implode(' AND ',$X).' AND'; else $WX = ''; + if (is_array($Y) && count($Y)>0) $HAVING = 'HAVING '.implode(' AND ',$Y); else $HAVING = ''; + + $JOINTABLE = "LEFT JOIN `$dbName`.`uzenoFlagek` ON (uzeno.mId=uzenoFlagek.mId AND Id=$feladoId AND Tipus='".__SZEREP."')"; + + if (__UZENOADMIN!==true) { + foreach ($TIPUSOK as $tipus=>$DATA) { + if (is_array($DATA) && count($DATA)>0) { + $W[] = ' (cimzettTipus="'.$tipus.'" AND cimzettId IN ('. implode(',',$DATA) .')) '; + $W[] = ' (cimzettTipus="'.$tipus.'" AND cimzettTipus=feladoTipus AND cimzettId=0) '; + + } + } + $q = "SELECT uzeno.*,uzenoFlagek.flag AS flag FROM $dbName.uzeno $JOINTABLE WHERE ".$WX." ((feladoId=$feladoId and feladoTipus='".__SZEREP."') OR (".implode(' OR ',$W).")) $HAVING ORDER BY uzeno.mId ".$O.$L; + $qc = "SELECT count(*) AS db FROM $dbName.uzeno WHERE ".$WX." ((feladoId=$feladoId and feladoTipus='".__SZEREP."') OR (".implode(' OR ',$W)."))"; + } else { + // NOTE - nem minden id-nek az adatai lesznek lekérdezve később!!! + $WX = ($WX=='')?'':'WHERE '.$WX.' 1=1'; +// $q = "SELECT uzeno.*,uzenoFlagek.flag AS flag FROM `$dbName`.uzeno $JOINTABLE ".$WX." $HAVING ORDER BY uzeno.mId DESC".$L; + $q = "SELECT uzeno.* FROM `$dbName`.uzeno ".$WX." ORDER BY uzeno.mId DESC".$L; + $qc= "SELECT count(*) AS db FROM $dbName.uzeno ".$WX; + } + if ($SET['count']!==true) + $result = db_query($q, array('fv' => 'getUzenoUzenetek/1', 'modul' => 'naplo_intezmeny', 'result' => 'indexed')); + else + $result = db_query($qc, array('fv' => 'getUzenoUzenetek/2', 'modul' => 'naplo_intezmeny', 'result' => 'value')); + return $result ; + + } + + // getUzenoUzenetek--> + // pre-ből + function initUzenoTipusok($SET=array('csakId'=>true,'tanev'=>__TANEV,'forRead'=>false)) { + global $UZENODENY; + + $TIPUSOK = array(); + $feladoId = setUzenoFeladoId(); + switch (__SZEREP) { + case 'tanar': /* nem tiltható */ + $TIPUSOK['tankorSzulo'] = $TIPUSOK['tankor'] = getTankorByTanarId($feladoId, $SET['tanev'], array('csakId' => $SET['csakId'])); + $TIPUSOK['munkakozosseg'] = getMunkakozossegByTanarId($feladoId, array('csakId'=>$SET['csakId'])); + if (__OSZTALYFONOK) { + $TIPUSOK['osztalySzulo'] = $TIPUSOK['osztaly'] = getOsztalyByTanarId($feladoId, array('tanev'=>$SET['tanev'],'csakId' => $SET['csakId'])); + } + $TIPUSOK['osztalyTanar'] = getTanarOsztaly($feladoId,$SET); + break; + case 'szulo': /* tiltható */ + //if (uzenhet('tanar')) $TIPUSOK['tanar'] = extendUzenoTipusok(array('csakId'=>false,'tanev'=>$SET['tanev'])); + if (uzenhet('tankorSzulo') || $SET['forRead']===true) $TIPUSOK['tankorSzulo'] = getTankorByDiakId( __USERDIAKID , $SET['tanev'], array('csakId' => $SET['csakId'])); + if (uzenhet('osztalySzulo') || $SET['forRead']===true) $TIPUSOK['osztalySzulo'] = getDiakOsztalya( __USERDIAKID , array('tanev'=>$SET['tanev'], 'result'=>(($SET['csakId'])?'csakid':''), 'csakId' => $SET['csakId'])); + break; + case 'diak': /* tiltható */ + //if (uzenhet('tanar')) $TIPUSOK['tanar'] = extendUzenoTipusok(array('csakId'=>false,'tanev'=>$SET['tanev'])); + if (uzenhet('tankor') || $SET['forRead']===true) $TIPUSOK['tankor'] = getTankorByDiakId($feladoId, $SET['tanev'], array('csakId' => $SET['csakId'])); + if (uzenhet('osztaly') || $SET['forRead']===true) $TIPUSOK['osztaly'] = getDiakOsztalya($feladoId, array('tanev'=>$SET['tanev'], 'result'=>(($SET['csakId'])?'csakid':''), 'csakId' => $SET['csakId'])); + break; + case 'admin': /* nem tiltható */ + $TIPUSOK['osztalySzulo'] = $TIPUSOK['osztaly'] = $TIPUSOK['osztalyTanar'] = getOsztalyok($SET['tanev']); + $TIPUSOK['munkakozosseg'] = getMunkakozossegek(array(), array('csakId'=>$SET['csakId'])); + $TIPUSOK['tankorSzulo'] = $TIPUSOK['tankor'] = getTankorByTanev($SET['tanev']); + break; + default: + break; + } + return $TIPUSOK; + } + + + function extendUzenoTipusok($SET=array('csakId'=>true,'tanev'=>__TANEV,'old'=>false)) { /* Ha szülő/diák, kérdezzük le a gyermek tanköreinek tanárait */ + + $R = array(); + $TANKOROK = getTankorByDiakId( __USERDIAKID , $SET['tanev'], array('csakId' => true)); + for ($i=0; $i0) { + ksort($T);reset($T); + foreach($T as $nev => $id) $R[] = array('tanarNev'=>$nev, 'tanarId'=>$id); + } + return $R; + } + + function setUzenoFeladoId($nooverride=true) { + if ($nooverride===true && __UZENOADMIN===true && __ASWHO=='asAdmin') $kiId = 0; + elseif (__SZEREP=='tanar') $kiId = __USERTANARID; + elseif (__SZEREP=='szulo') //$kiId = __USERSZULOID; // NOTE ilyen konstans még nincs... + $kiId = getSzuloIdByUserAccount(); + elseif (__SZEREP=='diak') $kiId = __USERDIAKID; + elseif (__SZEREP=='admin') $kiId = 0; // de a csak admin nem üzenhet! + else return false; + return $kiId; + } + + function postUzenet($ADAT) { + $feladoId = setUzenoFeladoId(); + $feladoTipus = __SZEREP; + + $cimzettId = $ADAT['cimzettId']; + $cimzettTipus = $ADAT['cimzettTipus']; + $txt = ($ADAT['txt']); + $dbName = 'naplo_'.__INTEZMENY.'_'.$ADAT['tanev']; + + $q = "INSERT INTO `%s`.uzeno (dt,txt,feladoId,feladoTipus,cimzettId,cimzettTipus) VALUES (NOW(), '%s', %u, '%s', %u, '%s')"; + $v = array($dbName, $txt, $feladoId, $feladoTipus, $cimzettId, $cimzettTipus); + return db_query($q,array('fv' => 'uzeno/postUzenet', 'modul' => 'naplo_intezmeny', 'values' => $v)); + } + + // v3.1 + function delUzenet($mId,$tanev=__TANEV) { + if (!is_numeric($mId) || __UZENOADMIN!==true) return false; + if (defined('__INTEZMENY')) { + $dbName = 'naplo_'.__INTEZMENY.'_'.$tanev; + $q = "DELETE FROM `%s`.`uzeno` WHERE `mId`=%d"; + $params = array('debug'=>false,'values'=>array($dbName,intval($mId)),'modul'=>'naplo','fv'=>'deluzenet','detailed'=>__UZENOADMIN); + return db_query($q,$params); + } else + return false; + } + +/* + A flagUzenet() függvény az adott mId-t egy user szempontjából + (az üzenő terminológia szerint feladoId+feladoTipus ~szerep) + flageli meg. + + Jelentései: LSB - olvasott (1=true, 0=X) +*/ + + // v3.1 + function flagUzenet($ADAT) { + + $mId = $ADAT['mId']; + $feladoId = setUzenoFeladoId(); + $feladoTipus = __SZEREP; + $flag = $ADAT['flag']; + $tanev = ($ADAT['tanev']=='') ? __TANEV : $ADAT['tanev']; + if (defined('__INTEZMENY')) { + $dbName = 'naplo_'.__INTEZMENY.'_'.$tanev; + $q = "REPLACE INTO `%s`.`uzenoFlagek`(`mId`,`Id`,`Tipus`,`flag`) VALUES (%d,%d,'%s',%d)"; + $params = array( + 'values'=>array($dbName,intval($mId),$feladoId,$feladoTipus,$flag), + 'modul'=>'naplo','fv'=>'flaguzenet', + 'detailed'=>__UZENOADMIN); + return db_query($q,$params); + } else + return false; + + } + + function getUzenetFlagek($mIds, $tanev=__TANEV) { + if (defined('__INTEZMENY') && is_array($mIds)) { + $dbName = 'naplo_'.__INTEZMENY.'_'.$tanev; + $q = "SELECT * FROM `uzenoFlagek` WHERE mId IN (".implode(',',$mIds).")"; + $params = array('result'=>'assoc','keyfield'=>'mId','debug'=>false,'modul'=>'naplo','fv'=>'getUzenoFlagek','detailed'=>__UZENOADMIN); + return db_query($q,$params); + } else + return false; + } + +?> diff --git a/mayor-orig/www/include/modules/password/base/changePassword.php b/mayor-orig/www/include/modules/password/base/changePassword.php new file mode 100644 index 00000000..b2233303 --- /dev/null +++ b/mayor-orig/www/include/modules/password/base/changePassword.php @@ -0,0 +1,13 @@ + 'updateSessionPassword', 'modul' => 'login', 'values' => $v)); +// } + +?> diff --git a/mayor-orig/www/include/modules/session/accountInfo.php b/mayor-orig/www/include/modules/session/accountInfo.php new file mode 100644 index 00000000..4b1521d0 --- /dev/null +++ b/mayor-orig/www/include/modules/session/accountInfo.php @@ -0,0 +1,48 @@ + function getAccountInfo($userAccount, $toPolicy = '') { + share --> function getUserInfo($userAccount, $toPolicy = '') { + function changeAccountInfo($userAccount, $toPolicy = '') { +*/ + + require('include/share/session/accountInfo.php'); + +########################################################### +# changeAccountInfo - felhasználói információk módosítása +########################################################### + + function changeAccountInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'ChangeAccountInfo'; + return $func($userAccount, $toPolicy); + + + } + + function getUserSettings($userAccount,$toPolicy = _POLICY) { + + $q = "SELECT * FROM settings WHERE userAccount='%s' AND policy='%s'"; + $res = db_query($q, array('modul'=>'login','values'=>array($userAccount,$toPolicy), 'result'=>'record')); + return $res; + + } + + function setUserSettings($userAccount,$toPolicy,$ADAT) { + + if (!isset($ADAT['skin']) || $ADAT['skin']=='') { + $q = "UPDATE settings SET skin=NULL WHERE userAccount='%s' AND policy='%s'"; + $res = db_query($q, array('modul'=>'login','values'=>array($userAccount,$toPolicy))); + } else { + $q = "UPDATE settings SET skin='%s' WHERE userAccount='%s' AND policy='%s'"; + $res = db_query($q, array('modul'=>'login','values'=>array($ADAT['skin'],$userAccount,$toPolicy))); + } + return $res; + + } + +?> diff --git a/mayor-orig/www/include/modules/session/base/base.php b/mayor-orig/www/include/modules/session/base/base.php new file mode 100644 index 00000000..efc39324 --- /dev/null +++ b/mayor-orig/www/include/modules/session/base/base.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/include/modules/session/createAccount.php b/mayor-orig/www/include/modules/session/createAccount.php new file mode 100644 index 00000000..6222ed76 --- /dev/null +++ b/mayor-orig/www/include/modules/session/createAccount.php @@ -0,0 +1,19 @@ + null, 'container' => null, 'groups' => '', 'policyAttrs' => array())) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/createAccount.php'); + $func = $AUTH[$toPolicy]['backend'].'CreateAccount'; + $r = $func($userCn, $userAccount, $userPassword, $toPolicy, $SET); + $_SESSION['lastCreatedAccount'] = $userAccount; + + return $r; + + } + +?> diff --git a/mayor-orig/www/include/modules/session/createGroup.php b/mayor-orig/www/include/modules/session/createGroup.php new file mode 100644 index 00000000..69b2bb45 --- /dev/null +++ b/mayor-orig/www/include/modules/session/createGroup.php @@ -0,0 +1,16 @@ + null, 'container' => null, 'policyAttrs' => array())) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/createGroup.php'); + $func = $AUTH[$toPolicy]['backend'].'CreateGroup'; + return $func($groupCn, $groupDesc, $toPolicy, $SET); + + } + +?> diff --git a/mayor-orig/www/include/modules/session/download.php b/mayor-orig/www/include/modules/session/download.php new file mode 100644 index 00000000..47d3bdb7 --- /dev/null +++ b/mayor-orig/www/include/modules/session/download.php @@ -0,0 +1,108 @@ + 'application/zip', + 'tgz' => 'application/tar', + + // documents + 'pdf' => 'application/pdf', + 'doc' => 'application/msword', + 'xls' => 'application/vnd.ms-excel', + 'ppt' => 'application/vnd.ms-powerpoint', + 'csv' => 'application/vnd.ms-excel', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + + // executables + 'exe' => 'application/octet-stream', + + // text + 'xml' => 'text/xml', + + // images + 'gif' => 'image/gif', + 'png' => 'image/png', + 'jpg' => 'image/jpeg', + 'jpeg' => 'image/jpeg', + + // audio + 'mp3' => 'audio/mpeg', + 'wav' => 'audio/x-wav', + + // video + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'mov' => 'video/quicktime', + 'avi' => 'video/x-msvideo' + ); + + $allowedMimeTypes = array( + 'application/zip', + 'application/tar', + 'application/pdf', + 'application/msword', + 'application/vnd.ms-excel', + 'application/vnd.ms-powerpoint', + 'application/octet-stream', + 'text/xml', + 'image/gif', + 'image/png', + 'image/jpeg', + 'audio/mpeg', + 'audio/x-wav', + 'video/mpeg', + 'video/quicktime', + 'video/x-msvideo', + 'application/vnd.oasis.opendocument.spreadsheet' + ); + + function passFile($ADAT) { + if (in_array($ADAT['ext'],array('jpg','jpeg','png'))) passFile_image($ADAT); + else passFile_other($ADAT); + die(); + } + + function passFile_image($ADAT) { + ob_clean(); + ignore_user_abort(true); + set_time_limit(0); + // Getting headers sent by the client. + $headers = apache_request_headers(); + $fn = $ADAT['path'] ; + // Checking if the client is validating his cache and if it is current. + if (isset($headers['If-Modified-Since']) && (strtotime($headers['If-Modified-Since']) == filemtime($fn))) { + // Client's cache IS current, so we just respond '304 Not Modified'. + header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($fn)).' GMT', true, 304); + header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+10 day')).' GMT', true); + header("Cache-Control: max-age=604800, public", true); + header("Pragma: public", true); + } else { + header("Pragma: public", true); + header("Cache-Control: max-age=604800, public", true); + header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($fn)).' GMT', true, 200); + header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+10 day')).' GMT', true); + header("Content-Length: " . $ADAT['size'], true); + header('Content-type: '.$ADAT['mime'], true); + echo file_get_contents($fn); + } + } + + function passFile_other($ADAT) { + ob_clean(); + header('Content-type: '.$ADAT['mime']); + header("Pragma: public"); + header("Expires: 0"); + header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); + header("Cache-Control: public"); + header("Content-Description: File Transfer"); + header("Content-Type: ".$ADAT['mime']); + if (!isset($ADAT['pure'])) // akkor force download as + header('Content-Disposition: attachment; filename="'.$ADAT['file'].'"'); + header("Content-Transfer-Encoding: binary"); + header("Content-Length: " . $ADAT['size']); + echo file_get_contents($ADAT['path']); + } + +?> diff --git a/mayor-orig/www/include/modules/session/groupInfo.php b/mayor-orig/www/include/modules/session/groupInfo.php new file mode 100644 index 00000000..fd46afee --- /dev/null +++ b/mayor-orig/www/include/modules/session/groupInfo.php @@ -0,0 +1,38 @@ + true)) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'GetGroupInfo'; + return $func($groupCn, $toPolicy, $SET); + + + } + +########################################################### +# changeGroupInfo - csoport információk módosítása +########################################################### + + function changeGroupInfo($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'ChangeGroupInfo'; + return $func($groupCn, $toPolicy); + + + } +?> diff --git a/mayor-orig/www/include/modules/session/search/searchAccount.php b/mayor-orig/www/include/modules/session/search/searchAccount.php new file mode 100644 index 00000000..796a7423 --- /dev/null +++ b/mayor-orig/www/include/modules/session/search/searchAccount.php @@ -0,0 +1,37 @@ + diff --git a/mayor-orig/www/include/modules/session/search/searchGroup.php b/mayor-orig/www/include/modules/session/search/searchGroup.php new file mode 100644 index 00000000..f44f9aa2 --- /dev/null +++ b/mayor-orig/www/include/modules/session/search/searchGroup.php @@ -0,0 +1,34 @@ + diff --git a/mayor-orig/www/include/modules/session/sessionAdmin.php b/mayor-orig/www/include/modules/session/sessionAdmin.php new file mode 100644 index 00000000..ff3e99b8 --- /dev/null +++ b/mayor-orig/www/include/modules/session/sessionAdmin.php @@ -0,0 +1,24 @@ + NOW()"; + if (intval(_SESSION_MAX_IDLE_TIME) != 0) $W[] = "activity + INTERVAL ".intval(_SESSION_MAX_IDLE_TIME)." HOUR > NOW()"; + $q = "SELECT userAccount,dt,policy,sessionID,userCn,studyId,skin,lang,activity,sessionCookie,ip FROM session LEFT JOIN loginLog USING (policy,userAccount,dt)"; + if (count($W) > 0) $q .= " WHERE ".implode(' AND ', $W); + $q .= " ORDER BY activity DESC"; + + $ret = db_query($q, array('fv' => 'getSessions', 'modul' => 'login', 'result' => 'indexed')); + return $ret; + } + + function deleteSession($sessionID, $policy) { + + $q = "DELETE FROM session WHERE sessionID='%s' AND policy='%s'"; + $v = array($sessionID, $policy); + return db_query($q, array('fv' => 'deleteSession','modul' => 'login', 'values' => $v)); + + } + +?> diff --git a/mayor-orig/www/include/share/auth/base.php b/mayor-orig/www/include/share/auth/base.php new file mode 100644 index 00000000..9b4fa21a --- /dev/null +++ b/mayor-orig/www/include/share/auth/base.php @@ -0,0 +1,120 @@ + 'newSession')); + + if (!$lr) { + $_SESSION['alert'][] = 'message:sql_failure:session'; + return false; + } + + $userAccount = db_escape_string($accountInformation['account'], $lr); + // nem tárolunk jelszót! // + // $userPassword = 'nem tárolunk jelszót!'; // mégis tároljuk - session/search (backend: ads) + $userPassword = db_escape_string($accountInformation['password'], $lr); + $userCn = db_escape_string($accountInformation['cn'], $lr); + $studyId = db_escape_string($accountInformation['studyId'], $lr); + + (bool)$toRegister = true; // be kell jegyezni (lásd alább) + if ($sessionID == '') { + // A sessionID generálása + $sessionID = sessionHash(); + } else { + // A meglevő sessionID használata - csak akkor hagyjuk ha az adott policy-hez még nincs ilyen, + // de másik policy-hez van + $query = "SELECT policy FROM session WHERE sessionID='%s'"; + $ret = db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'idonly', 'values' => array($sessionID)), $lr); + if (is_array($ret) && count($ret) > 0) { + reset($ret); + while ((list($key, $_policy) = each($ret)) && $toRegister) { + //while ((list($_policy) = m_ysql_fetch_row($r)) && $toRegister) { + if ($_policy == $policy) $toRegister = false; + // mégsem kell bejegyezni, már van; és ez az. $sessionID=$sessionID + // else be kell jegyezni, de ezt a $sessionID-t, nem generálunk + } + } else { + $sessionID = sessionHash(); + } + } + // fetch predefined lang+skin + { + $query = "SELECT skin,lang,lastlogin FROM settings WHERE userAccount='%s' AND policy='%s'"; + $ret = db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'record', 'values' => array($userAccount, $policy)), $lr); + if (is_array($ret) && count($ret) > 0) { + extract($ret); + $_SESSION['lastLogin'] = $ret['lastlogin']; + if (!in_array($skin,$SKINS)) + $skin = (in_array($AUTH[$policy]['skin'],$SKINS)) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN; + $q = "UPDATE settings SET lastlogin=now() WHERE userAccount='%s' AND policy='%s'"; + $v = array($userAccount, $policy); + } else { + /* Policy szerinti default skin*/ + $_SESSION['lastLogin'] = '2002-04-19'; + $skin = (in_array($AUTH[$policy]['skin'],$SKINS)) ? $AUTH[$policy]['skin'] : _DEFAULT_SKIN; + $lang = _DEFAULT_LANG; + $q = "INSERT INTO settings (userAccount,policy,skin,lang,lastlogin) VALUES ('%s', '%s', '%s', '%s', now())"; + $v = array($userAccount, $policy, '', $lang); + } + db_query($q, array('fv' => 'newSession', 'modul' => 'login', 'values' => $v), $lr); + } + // Ellenőrizzük, hogy hány karaktér fér bele az adatbázisba(!); ha eltérő, mint a generált, csonkoljuk. + $_q = "SHOW COLUMNS FROM session WHERE Field='sessionID'"; + $_a = db_query($_q, array('fv' => 'newSession', 'modul' => 'login', 'result' => 'record'), $lr); + $_mezohossz = intval(substr($_a['Type'],strpos($_a['Type'],'(')+1,2)); + if ($_mezohossz==0) $_SESSION['alert'][] = 'message:session_alter_needed:'.$_mezohossz; + if (strlen($sessionID)!=$_mezohossz) { + $_SESSION['alert'][] = 'message:session_alter_needed:'.$_mezohossz.':'.strlen($sessionID); + $sessionID = substr($sessionID,0,$_mezohossz); + } + // Felvétel az adatbázisba + if ($toRegister===false) { + $query = "DELETE FROM session WHERE sessionId='%s' and policy='%s'"; + db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'values' => array($sessionID, $policy)), $lr); + } + $now = date('Y-m-d H:i:s'); + $_SC = sessionCookieEncode($sessionID, $now); + $_studyId = ($studyId=='') ? 'NULL' : $studyId; + if ($studyId=='') { + $query="INSERT INTO session + (sessionID, userPassword, userAccount, userCn, studyId, dt, policy, skin, lang, activity, sessionCookie) + VALUES ('%s', aes_encrypt('%s', '%s'), '%s', '%s', NULL, '%s', '%s', '%s', %u, NOW(), '%s')"; // [SECURITY 002] + $v = array($sessionID, $userPassword, $_SC['pwHash'], $userAccount, $userCn, $now, $policy, $skin, $lang, $_SC['store']); + } else { + $query="INSERT INTO session + (sessionID, userPassword, userAccount, userCn, studyId, dt, policy, skin, lang, activity, sessionCookie) + VALUES ('%s', aes_encrypt('%s', '%s'), '%s', '%s', '%s', '%s', '%s', '%s', %u, NOW(), '%s')"; // [SECURITY 002] + $v = array($sessionID, $userPassword, $_SC['pwHash'],$userAccount, $userCn, $_studyId, $now, $policy, $skin, $lang, $_SC['store']); + } + db_query($query, array('fv' => 'newSession', 'modul' => 'login', 'values' => $v), $lr); + db_close($lr); + + // Megjegyzés: a sessionID elhashelése nem jelent semmiféle védelmet, így tökéletesen megfelelő az md5 is + // értékénél viszont a $now alkalmazása tökéletesen hibás, hiszen a lejárati dátumból 1:1-ben reprodukálható + + setcookie($_SC['name'],$_SC['value'],time()+60*60*_SESSION_MAX_TIME,'/','',_SECURECOOKIE); + + return $sessionID; + } + +?> diff --git a/mayor-orig/www/include/share/date/names.php b/mayor-orig/www/include/share/date/names.php new file mode 100644 index 00000000..4b39c79b --- /dev/null +++ b/mayor-orig/www/include/share/date/names.php @@ -0,0 +1,32 @@ + diff --git a/mayor-orig/www/include/share/facebook/Authentication/AccessToken.php b/mayor-orig/www/include/share/facebook/Authentication/AccessToken.php new file mode 100644 index 00000000..5d700733 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Authentication/AccessToken.php @@ -0,0 +1,160 @@ +value = $accessToken; + if ($expiresAt) { + $this->setExpiresAtFromTimeStamp($expiresAt); + } + } + + /** + * Generate an app secret proof to sign a request to Graph. + * + * @param string $appSecret The app secret. + * + * @return string + */ + public function getAppSecretProof($appSecret) + { + return hash_hmac('sha256', $this->value, $appSecret); + } + + /** + * Getter for expiresAt. + * + * @return \DateTime|null + */ + public function getExpiresAt() + { + return $this->expiresAt; + } + + /** + * Determines whether or not this is an app access token. + * + * @return bool + */ + public function isAppAccessToken() + { + return strpos($this->value, '|') !== false; + } + + /** + * Determines whether or not this is a long-lived token. + * + * @return bool + */ + public function isLongLived() + { + if ($this->expiresAt) { + return $this->expiresAt->getTimestamp() > time() + (60 * 60 * 2); + } + + if ($this->isAppAccessToken()) { + return true; + } + + return false; + } + + /** + * Checks the expiration of the access token. + * + * @return boolean|null + */ + public function isExpired() + { + if ($this->getExpiresAt() instanceof \DateTime) { + return $this->getExpiresAt()->getTimestamp() < time(); + } + + if ($this->isAppAccessToken()) { + return false; + } + + return null; + } + + /** + * Returns the access token as a string. + * + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * Returns the access token as a string. + * + * @return string + */ + public function __toString() + { + return $this->getValue(); + } + + /** + * Setter for expires_at. + * + * @param int $timeStamp + */ + protected function setExpiresAtFromTimeStamp($timeStamp) + { + $dt = new \DateTime(); + $dt->setTimestamp($timeStamp); + $this->expiresAt = $dt; + } +} diff --git a/mayor-orig/www/include/share/facebook/Authentication/AccessTokenMetadata.php b/mayor-orig/www/include/share/facebook/Authentication/AccessTokenMetadata.php new file mode 100644 index 00000000..165433cb --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Authentication/AccessTokenMetadata.php @@ -0,0 +1,390 @@ +metadata = $metadata['data']; + + $this->castTimestampsToDateTime(); + } + + /** + * Returns a value from the metadata. + * + * @param string $field The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + */ + public function getField($field, $default = null) + { + if (isset($this->metadata[$field])) { + return $this->metadata[$field]; + } + + return $default; + } + + /** + * Returns a value from the metadata. + * + * @param string $field The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + * + * @deprecated 5.0.0 getProperty() has been renamed to getField() + * @todo v6: Remove this method + */ + public function getProperty($field, $default = null) + { + return $this->getField($field, $default); + } + + /** + * Returns a value from a child property in the metadata. + * + * @param string $parentField The parent property. + * @param string $field The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + */ + public function getChildProperty($parentField, $field, $default = null) + { + if (!isset($this->metadata[$parentField])) { + return $default; + } + + if (!isset($this->metadata[$parentField][$field])) { + return $default; + } + + return $this->metadata[$parentField][$field]; + } + + /** + * Returns a value from the error metadata. + * + * @param string $field The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + */ + public function getErrorProperty($field, $default = null) + { + return $this->getChildProperty('error', $field, $default); + } + + /** + * Returns a value from the "metadata" metadata. *Brain explodes* + * + * @param string $field The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + */ + public function getMetadataProperty($field, $default = null) + { + return $this->getChildProperty('metadata', $field, $default); + } + + /** + * The ID of the application this access token is for. + * + * @return string|null + */ + public function getAppId() + { + return $this->getField('app_id'); + } + + /** + * Name of the application this access token is for. + * + * @return string|null + */ + public function getApplication() + { + return $this->getField('application'); + } + + /** + * Any error that a request to the graph api + * would return due to the access token. + * + * @return bool|null + */ + public function isError() + { + return $this->getField('error') !== null; + } + + /** + * The error code for the error. + * + * @return int|null + */ + public function getErrorCode() + { + return $this->getErrorProperty('code'); + } + + /** + * The error message for the error. + * + * @return string|null + */ + public function getErrorMessage() + { + return $this->getErrorProperty('message'); + } + + /** + * The error subcode for the error. + * + * @return int|null + */ + public function getErrorSubcode() + { + return $this->getErrorProperty('subcode'); + } + + /** + * DateTime when this access token expires. + * + * @return \DateTime|null + */ + public function getExpiresAt() + { + return $this->getField('expires_at'); + } + + /** + * Whether the access token is still valid or not. + * + * @return boolean|null + */ + public function getIsValid() + { + return $this->getField('is_valid'); + } + + /** + * DateTime when this access token was issued. + * + * Note that the issued_at field is not returned + * for short-lived access tokens. + * + * @see https://developers.facebook.com/docs/facebook-login/access-tokens#debug + * + * @return \DateTime|null + */ + public function getIssuedAt() + { + return $this->getField('issued_at'); + } + + /** + * General metadata associated with the access token. + * Can contain data like 'sso', 'auth_type', 'auth_nonce'. + * + * @return array|null + */ + public function getMetadata() + { + return $this->getField('metadata'); + } + + /** + * The 'sso' child property from the 'metadata' parent property. + * + * @return string|null + */ + public function getSso() + { + return $this->getMetadataProperty('sso'); + } + + /** + * The 'auth_type' child property from the 'metadata' parent property. + * + * @return string|null + */ + public function getAuthType() + { + return $this->getMetadataProperty('auth_type'); + } + + /** + * The 'auth_nonce' child property from the 'metadata' parent property. + * + * @return string|null + */ + public function getAuthNonce() + { + return $this->getMetadataProperty('auth_nonce'); + } + + /** + * For impersonated access tokens, the ID of + * the page this token contains. + * + * @return string|null + */ + public function getProfileId() + { + return $this->getField('profile_id'); + } + + /** + * List of permissions that the user has granted for + * the app in this access token. + * + * @return array + */ + public function getScopes() + { + return $this->getField('scopes'); + } + + /** + * The ID of the user this access token is for. + * + * @return string|null + */ + public function getUserId() + { + return $this->getField('user_id'); + } + + /** + * Ensures the app ID from the access token + * metadata is what we expect. + * + * @param string $appId + * + * @throws FacebookSDKException + */ + public function validateAppId($appId) + { + if ($this->getAppId() !== $appId) { + throw new FacebookSDKException('Access token metadata contains unexpected app ID.', 401); + } + } + + /** + * Ensures the user ID from the access token + * metadata is what we expect. + * + * @param string $userId + * + * @throws FacebookSDKException + */ + public function validateUserId($userId) + { + if ($this->getUserId() !== $userId) { + throw new FacebookSDKException('Access token metadata contains unexpected user ID.', 401); + } + } + + /** + * Ensures the access token has not expired yet. + * + * @throws FacebookSDKException + */ + public function validateExpiration() + { + if (!$this->getExpiresAt() instanceof \DateTime) { + return; + } + + if ($this->getExpiresAt()->getTimestamp() < time()) { + throw new FacebookSDKException('Inspection of access token metadata shows that the access token has expired.', 401); + } + } + + /** + * Converts a unix timestamp into a DateTime entity. + * + * @param int $timestamp + * + * @return \DateTime + */ + private function convertTimestampToDateTime($timestamp) + { + $dt = new \DateTime(); + $dt->setTimestamp($timestamp); + + return $dt; + } + + /** + * Casts the unix timestamps as DateTime entities. + */ + private function castTimestampsToDateTime() + { + foreach (static::$dateProperties as $key) { + if (isset($this->metadata[$key]) && $this->metadata[$key] !== 0) { + $this->metadata[$key] = $this->convertTimestampToDateTime($this->metadata[$key]); + } + } + } +} diff --git a/mayor-orig/www/include/share/facebook/Authentication/OAuth2Client.php b/mayor-orig/www/include/share/facebook/Authentication/OAuth2Client.php new file mode 100644 index 00000000..94df9b7b --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Authentication/OAuth2Client.php @@ -0,0 +1,292 @@ +app = $app; + $this->client = $client; + $this->graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION; + } + + /** + * Returns the last FacebookRequest that was sent. + * Useful for debugging and testing. + * + * @return FacebookRequest|null + */ + public function getLastRequest() + { + return $this->lastRequest; + } + + /** + * Get the metadata associated with the access token. + * + * @param AccessToken|string $accessToken The access token to debug. + * + * @return AccessTokenMetadata + */ + public function debugToken($accessToken) + { + $accessToken = $accessToken instanceof AccessToken ? $accessToken->getValue() : $accessToken; + $params = ['input_token' => $accessToken]; + + $this->lastRequest = new FacebookRequest( + $this->app, + $this->app->getAccessToken(), + 'GET', + '/debug_token', + $params, + null, + $this->graphVersion + ); + $response = $this->client->sendRequest($this->lastRequest); + $metadata = $response->getDecodedBody(); + + return new AccessTokenMetadata($metadata); + } + + /** + * Generates an authorization URL to begin the process of authenticating a user. + * + * @param string $redirectUrl The callback URL to redirect to. + * @param string $state The CSPRNG-generated CSRF value. + * @param array $scope An array of permissions to request. + * @param array $params An array of parameters to generate URL. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + */ + public function getAuthorizationUrl($redirectUrl, $state, array $scope = [], array $params = [], $separator = '&') + { + $params += [ + 'client_id' => $this->app->getId(), + 'state' => $state, + 'response_type' => 'code', + 'sdk' => 'php-sdk-' . Facebook::VERSION, + 'redirect_uri' => $redirectUrl, + 'scope' => implode(',', $scope) + ]; + + return static::BASE_AUTHORIZATION_URL . '/' . $this->graphVersion . '/dialog/oauth?' . http_build_query($params, null, $separator); + } + + /** + * Get a valid access token from a code. + * + * @param string $code + * @param string $redirectUri + * + * @return AccessToken + * + * @throws FacebookSDKException + */ + public function getAccessTokenFromCode($code, $redirectUri = '') + { + $params = [ + 'code' => $code, + 'redirect_uri' => $redirectUri, + ]; + + return $this->requestAnAccessToken($params); + } + + /** + * Exchanges a short-lived access token with a long-lived access token. + * + * @param AccessToken|string $accessToken + * + * @return AccessToken + * + * @throws FacebookSDKException + */ + public function getLongLivedAccessToken($accessToken) + { + $accessToken = $accessToken instanceof AccessToken ? $accessToken->getValue() : $accessToken; + $params = [ + 'grant_type' => 'fb_exchange_token', + 'fb_exchange_token' => $accessToken, + ]; + + return $this->requestAnAccessToken($params); + } + + /** + * Get a valid code from an access token. + * + * @param AccessToken|string $accessToken + * @param string $redirectUri + * + * @return AccessToken + * + * @throws FacebookSDKException + */ + public function getCodeFromLongLivedAccessToken($accessToken, $redirectUri = '') + { + $params = [ + 'redirect_uri' => $redirectUri, + ]; + + $response = $this->sendRequestWithClientParams('/oauth/client_code', $params, $accessToken); + $data = $response->getDecodedBody(); + + if (!isset($data['code'])) { + throw new FacebookSDKException('Code was not returned from Graph.', 401); + } + + return $data['code']; + } + + /** + * Send a request to the OAuth endpoint. + * + * @param array $params + * + * @return AccessToken + * + * @throws FacebookSDKException + */ + protected function requestAnAccessToken(array $params) + { + $response = $this->sendRequestWithClientParams('/oauth/access_token', $params); + $data = $response->getDecodedBody(); + + if (!isset($data['access_token'])) { + throw new FacebookSDKException('Access token was not returned from Graph.', 401); + } + + // Graph returns two different key names for expiration time + // on the same endpoint. Doh! :/ + $expiresAt = 0; + if (isset($data['expires'])) { + // For exchanging a short lived token with a long lived token. + // The expiration time in seconds will be returned as "expires". + $expiresAt = time() + $data['expires']; + } elseif (isset($data['expires_in'])) { + // For exchanging a code for a short lived access token. + // The expiration time in seconds will be returned as "expires_in". + // See: https://developers.facebook.com/docs/facebook-login/access-tokens#long-via-code + $expiresAt = time() + $data['expires_in']; + } + + return new AccessToken($data['access_token'], $expiresAt); + } + + /** + * Send a request to Graph with an app access token. + * + * @param string $endpoint + * @param array $params + * @param AccessToken|string|null $accessToken + * + * @return FacebookResponse + * + * @throws FacebookResponseException + */ + protected function sendRequestWithClientParams($endpoint, array $params, $accessToken = null) + { + $params += $this->getClientParams(); + + $accessToken = $accessToken ?: $this->app->getAccessToken(); + + $this->lastRequest = new FacebookRequest( + $this->app, + $accessToken, + 'GET', + $endpoint, + $params, + null, + $this->graphVersion + ); + + return $this->client->sendRequest($this->lastRequest); + } + + /** + * Returns the client_* params for OAuth requests. + * + * @return array + */ + protected function getClientParams() + { + return [ + 'client_id' => $this->app->getId(), + 'client_secret' => $this->app->getSecret(), + ]; + } +} diff --git a/mayor-orig/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php b/mayor-orig/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php new file mode 100644 index 00000000..c5e45fa3 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Exceptions/FacebookAuthenticationException.php @@ -0,0 +1,33 @@ +response = $response; + $this->responseData = $response->getDecodedBody(); + + $errorMessage = $this->get('message', 'Unknown error from Graph.'); + $errorCode = $this->get('code', -1); + + parent::__construct($errorMessage, $errorCode, $previousException); + } + + /** + * A factory for creating the appropriate exception based on the response from Graph. + * + * @param FacebookResponse $response The response that threw the exception. + * + * @return FacebookResponseException + */ + public static function create(FacebookResponse $response) + { + $data = $response->getDecodedBody(); + + if (!isset($data['error']['code']) && isset($data['code'])) { + $data = ['error' => $data]; + } + + $code = isset($data['error']['code']) ? $data['error']['code'] : null; + $message = isset($data['error']['message']) ? $data['error']['message'] : 'Unknown error from Graph.'; + + if (isset($data['error']['error_subcode'])) { + switch ($data['error']['error_subcode']) { + // Other authentication issues + case 458: + case 459: + case 460: + case 463: + case 464: + case 467: + return new static($response, new FacebookAuthenticationException($message, $code)); + // Video upload resumable error + case 1363030: + case 1363019: + case 1363037: + case 1363033: + case 1363021: + case 1363041: + return new static($response, new FacebookResumableUploadException($message, $code)); + } + } + + switch ($code) { + // Login status or token expired, revoked, or invalid + case 100: + case 102: + case 190: + return new static($response, new FacebookAuthenticationException($message, $code)); + + // Server issue, possible downtime + case 1: + case 2: + return new static($response, new FacebookServerException($message, $code)); + + // API Throttling + case 4: + case 17: + case 341: + return new static($response, new FacebookThrottleException($message, $code)); + + // Duplicate Post + case 506: + return new static($response, new FacebookClientException($message, $code)); + } + + // Missing Permissions + if ($code == 10 || ($code >= 200 && $code <= 299)) { + return new static($response, new FacebookAuthorizationException($message, $code)); + } + + // OAuth authentication error + if (isset($data['error']['type']) && $data['error']['type'] === 'OAuthException') { + return new static($response, new FacebookAuthenticationException($message, $code)); + } + + // All others + return new static($response, new FacebookOtherException($message, $code)); + } + + /** + * Checks isset and returns that or a default value. + * + * @param string $key + * @param mixed $default + * + * @return mixed + */ + private function get($key, $default = null) + { + if (isset($this->responseData['error'][$key])) { + return $this->responseData['error'][$key]; + } + + return $default; + } + + /** + * Returns the HTTP status code + * + * @return int + */ + public function getHttpStatusCode() + { + return $this->response->getHttpStatusCode(); + } + + /** + * Returns the sub-error code + * + * @return int + */ + public function getSubErrorCode() + { + return $this->get('error_subcode', -1); + } + + /** + * Returns the error type + * + * @return string + */ + public function getErrorType() + { + return $this->get('type', ''); + } + + /** + * Returns the raw response used to create the exception. + * + * @return string + */ + public function getRawResponse() + { + return $this->response->getBody(); + } + + /** + * Returns the decoded response used to create the exception. + * + * @return array + */ + public function getResponseData() + { + return $this->responseData; + } + + /** + * Returns the response entity used to create the exception. + * + * @return FacebookResponse + */ + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php b/mayor-orig/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php new file mode 100644 index 00000000..6f470662 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Exceptions/FacebookResumableUploadException.php @@ -0,0 +1,33 @@ + getenv(static::APP_ID_ENV_NAME), + 'app_secret' => getenv(static::APP_SECRET_ENV_NAME), + 'default_graph_version' => static::DEFAULT_GRAPH_VERSION, + 'enable_beta_mode' => false, + 'http_client_handler' => null, + 'persistent_data_handler' => null, + 'pseudo_random_string_generator' => null, + 'url_detection_handler' => null, + ], $config); + + if (!$config['app_id']) { + throw new FacebookSDKException('Required "app_id" key not supplied in config and could not find fallback environment variable "' . static::APP_ID_ENV_NAME . '"'); + } + if (!$config['app_secret']) { + throw new FacebookSDKException('Required "app_secret" key not supplied in config and could not find fallback environment variable "' . static::APP_SECRET_ENV_NAME . '"'); + } + + $this->app = new FacebookApp($config['app_id'], $config['app_secret']); + $this->client = new FacebookClient( + HttpClientsFactory::createHttpClient($config['http_client_handler']), + $config['enable_beta_mode'] + ); + $this->pseudoRandomStringGenerator = PseudoRandomStringGeneratorFactory::createPseudoRandomStringGenerator( + $config['pseudo_random_string_generator'] + ); + $this->setUrlDetectionHandler($config['url_detection_handler'] ?: new FacebookUrlDetectionHandler()); + $this->persistentDataHandler = PersistentDataFactory::createPersistentDataHandler( + $config['persistent_data_handler'] + ); + + if (isset($config['default_access_token'])) { + $this->setDefaultAccessToken($config['default_access_token']); + } + + // @todo v6: Throw an InvalidArgumentException if "default_graph_version" is not set + $this->defaultGraphVersion = $config['default_graph_version']; + } + + /** + * Returns the FacebookApp entity. + * + * @return FacebookApp + */ + public function getApp() + { + return $this->app; + } + + /** + * Returns the FacebookClient service. + * + * @return FacebookClient + */ + public function getClient() + { + return $this->client; + } + + /** + * Returns the OAuth 2.0 client service. + * + * @return OAuth2Client + */ + public function getOAuth2Client() + { + if (!$this->oAuth2Client instanceof OAuth2Client) { + $app = $this->getApp(); + $client = $this->getClient(); + $this->oAuth2Client = new OAuth2Client($app, $client, $this->defaultGraphVersion); + } + + return $this->oAuth2Client; + } + + /** + * Returns the last response returned from Graph. + * + * @return FacebookResponse|FacebookBatchResponse|null + */ + public function getLastResponse() + { + return $this->lastResponse; + } + + /** + * Returns the URL detection handler. + * + * @return UrlDetectionInterface + */ + public function getUrlDetectionHandler() + { + return $this->urlDetectionHandler; + } + + /** + * Changes the URL detection handler. + * + * @param UrlDetectionInterface $urlDetectionHandler + */ + private function setUrlDetectionHandler(UrlDetectionInterface $urlDetectionHandler) + { + $this->urlDetectionHandler = $urlDetectionHandler; + } + + /** + * Returns the default AccessToken entity. + * + * @return AccessToken|null + */ + public function getDefaultAccessToken() + { + return $this->defaultAccessToken; + } + + /** + * Sets the default access token to use with requests. + * + * @param AccessToken|string $accessToken The access token to save. + * + * @throws \InvalidArgumentException + */ + public function setDefaultAccessToken($accessToken) + { + if (is_string($accessToken)) { + $this->defaultAccessToken = new AccessToken($accessToken); + + return; + } + + if ($accessToken instanceof AccessToken) { + $this->defaultAccessToken = $accessToken; + + return; + } + + throw new \InvalidArgumentException('The default access token must be of type "string" or Facebook\AccessToken'); + } + + /** + * Returns the default Graph version. + * + * @return string + */ + public function getDefaultGraphVersion() + { + return $this->defaultGraphVersion; + } + + /** + * Returns the redirect login helper. + * + * @return FacebookRedirectLoginHelper + */ + public function getRedirectLoginHelper() + { + return new FacebookRedirectLoginHelper( + $this->getOAuth2Client(), + $this->persistentDataHandler, + $this->urlDetectionHandler, + $this->pseudoRandomStringGenerator + ); + } + + /** + * Returns the JavaScript helper. + * + * @return FacebookJavaScriptHelper + */ + public function getJavaScriptHelper() + { + return new FacebookJavaScriptHelper($this->app, $this->client, $this->defaultGraphVersion); + } + + /** + * Returns the canvas helper. + * + * @return FacebookCanvasHelper + */ + public function getCanvasHelper() + { + return new FacebookCanvasHelper($this->app, $this->client, $this->defaultGraphVersion); + } + + /** + * Returns the page tab helper. + * + * @return FacebookPageTabHelper + */ + public function getPageTabHelper() + { + return new FacebookPageTabHelper($this->app, $this->client, $this->defaultGraphVersion); + } + + /** + * Sends a GET request to Graph and returns the result. + * + * @param string $endpoint + * @param AccessToken|string|null $accessToken + * @param string|null $eTag + * @param string|null $graphVersion + * + * @return FacebookResponse + * + * @throws FacebookSDKException + */ + public function get($endpoint, $accessToken = null, $eTag = null, $graphVersion = null) + { + return $this->sendRequest( + 'GET', + $endpoint, + $params = [], + $accessToken, + $eTag, + $graphVersion + ); + } + + /** + * Sends a POST request to Graph and returns the result. + * + * @param string $endpoint + * @param array $params + * @param AccessToken|string|null $accessToken + * @param string|null $eTag + * @param string|null $graphVersion + * + * @return FacebookResponse + * + * @throws FacebookSDKException + */ + public function post($endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null) + { + return $this->sendRequest( + 'POST', + $endpoint, + $params, + $accessToken, + $eTag, + $graphVersion + ); + } + + /** + * Sends a DELETE request to Graph and returns the result. + * + * @param string $endpoint + * @param array $params + * @param AccessToken|string|null $accessToken + * @param string|null $eTag + * @param string|null $graphVersion + * + * @return FacebookResponse + * + * @throws FacebookSDKException + */ + public function delete($endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null) + { + return $this->sendRequest( + 'DELETE', + $endpoint, + $params, + $accessToken, + $eTag, + $graphVersion + ); + } + + /** + * Sends a request to Graph for the next page of results. + * + * @param GraphEdge $graphEdge The GraphEdge to paginate over. + * + * @return GraphEdge|null + * + * @throws FacebookSDKException + */ + public function next(GraphEdge $graphEdge) + { + return $this->getPaginationResults($graphEdge, 'next'); + } + + /** + * Sends a request to Graph for the previous page of results. + * + * @param GraphEdge $graphEdge The GraphEdge to paginate over. + * + * @return GraphEdge|null + * + * @throws FacebookSDKException + */ + public function previous(GraphEdge $graphEdge) + { + return $this->getPaginationResults($graphEdge, 'previous'); + } + + /** + * Sends a request to Graph for the next page of results. + * + * @param GraphEdge $graphEdge The GraphEdge to paginate over. + * @param string $direction The direction of the pagination: next|previous. + * + * @return GraphEdge|null + * + * @throws FacebookSDKException + */ + public function getPaginationResults(GraphEdge $graphEdge, $direction) + { + $paginationRequest = $graphEdge->getPaginationRequest($direction); + if (!$paginationRequest) { + return null; + } + + $this->lastResponse = $this->client->sendRequest($paginationRequest); + + // Keep the same GraphNode subclass + $subClassName = $graphEdge->getSubClassName(); + $graphEdge = $this->lastResponse->getGraphEdge($subClassName, false); + + return count($graphEdge) > 0 ? $graphEdge : null; + } + + /** + * Sends a request to Graph and returns the result. + * + * @param string $method + * @param string $endpoint + * @param array $params + * @param AccessToken|string|null $accessToken + * @param string|null $eTag + * @param string|null $graphVersion + * + * @return FacebookResponse + * + * @throws FacebookSDKException + */ + public function sendRequest($method, $endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null) + { + $accessToken = $accessToken ?: $this->defaultAccessToken; + $graphVersion = $graphVersion ?: $this->defaultGraphVersion; + $request = $this->request($method, $endpoint, $params, $accessToken, $eTag, $graphVersion); + + return $this->lastResponse = $this->client->sendRequest($request); + } + + /** + * Sends a batched request to Graph and returns the result. + * + * @param array $requests + * @param AccessToken|string|null $accessToken + * @param string|null $graphVersion + * + * @return FacebookBatchResponse + * + * @throws FacebookSDKException + */ + public function sendBatchRequest(array $requests, $accessToken = null, $graphVersion = null) + { + $accessToken = $accessToken ?: $this->defaultAccessToken; + $graphVersion = $graphVersion ?: $this->defaultGraphVersion; + $batchRequest = new FacebookBatchRequest( + $this->app, + $requests, + $accessToken, + $graphVersion + ); + + return $this->lastResponse = $this->client->sendBatchRequest($batchRequest); + } + + /** + * Instantiates an empty FacebookBatchRequest entity. + * + * @param AccessToken|string|null $accessToken The top-level access token. Requests with no access token + * will fallback to this. + * @param string|null $graphVersion The Graph API version to use. + * @return FacebookBatchRequest + */ + public function newBatchRequest($accessToken = null, $graphVersion = null) + { + $accessToken = $accessToken ?: $this->defaultAccessToken; + $graphVersion = $graphVersion ?: $this->defaultGraphVersion; + + return new FacebookBatchRequest( + $this->app, + [], + $accessToken, + $graphVersion + ); + } + + /** + * Instantiates a new FacebookRequest entity. + * + * @param string $method + * @param string $endpoint + * @param array $params + * @param AccessToken|string|null $accessToken + * @param string|null $eTag + * @param string|null $graphVersion + * + * @return FacebookRequest + * + * @throws FacebookSDKException + */ + public function request($method, $endpoint, array $params = [], $accessToken = null, $eTag = null, $graphVersion = null) + { + $accessToken = $accessToken ?: $this->defaultAccessToken; + $graphVersion = $graphVersion ?: $this->defaultGraphVersion; + + return new FacebookRequest( + $this->app, + $accessToken, + $method, + $endpoint, + $params, + $eTag, + $graphVersion + ); + } + + /** + * Factory to create FacebookFile's. + * + * @param string $pathToFile + * + * @return FacebookFile + * + * @throws FacebookSDKException + */ + public function fileToUpload($pathToFile) + { + return new FacebookFile($pathToFile); + } + + /** + * Factory to create FacebookVideo's. + * + * @param string $pathToFile + * + * @return FacebookVideo + * + * @throws FacebookSDKException + */ + public function videoToUpload($pathToFile) + { + return new FacebookVideo($pathToFile); + } + + /** + * Upload a video in chunks. + * + * @param int $target The id of the target node before the /videos edge. + * @param string $pathToFile The full path to the file. + * @param array $metadata The metadata associated with the video file. + * @param string|null $accessToken The access token. + * @param int $maxTransferTries The max times to retry a failed upload chunk. + * @param string|null $graphVersion The Graph API version to use. + * + * @return array + * + * @throws FacebookSDKException + */ + public function uploadVideo($target, $pathToFile, $metadata = [], $accessToken = null, $maxTransferTries = 5, $graphVersion = null) + { + $accessToken = $accessToken ?: $this->defaultAccessToken; + $graphVersion = $graphVersion ?: $this->defaultGraphVersion; + + $uploader = new FacebookResumableUploader($this->app, $this->client, $accessToken, $graphVersion); + $endpoint = '/'.$target.'/videos'; + $file = $this->videoToUpload($pathToFile); + $chunk = $uploader->start($endpoint, $file); + + do { + $chunk = $this->maxTriesTransfer($uploader, $endpoint, $chunk, $maxTransferTries); + } while (!$chunk->isLastChunk()); + + return [ + 'video_id' => $chunk->getVideoId(), + 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata), + ]; + } + + /** + * Attempts to upload a chunk of a file in $retryCountdown tries. + * + * @param FacebookResumableUploader $uploader + * @param string $endpoint + * @param FacebookTransferChunk $chunk + * @param int $retryCountdown + * + * @return FacebookTransferChunk + * + * @throws FacebookSDKException + */ + private function maxTriesTransfer(FacebookResumableUploader $uploader, $endpoint, FacebookTransferChunk $chunk, $retryCountdown) + { + $newChunk = $uploader->transfer($endpoint, $chunk, $retryCountdown < 1); + + if ($newChunk !== $chunk) { + return $newChunk; + } + + $retryCountdown--; + + // If transfer() returned the same chunk entity, the transfer failed but is resumable. + return $this->maxTriesTransfer($uploader, $endpoint, $chunk, $retryCountdown); + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookApp.php b/mayor-orig/www/include/share/facebook/FacebookApp.php new file mode 100644 index 00000000..804c9bb5 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookApp.php @@ -0,0 +1,110 @@ +id = (string) $id; + $this->secret = $secret; + } + + /** + * Returns the app ID. + * + * @return string + */ + public function getId() + { + return $this->id; + } + + /** + * Returns the app secret. + * + * @return string + */ + public function getSecret() + { + return $this->secret; + } + + /** + * Returns an app access token. + * + * @return AccessToken + */ + public function getAccessToken() + { + return new AccessToken($this->id . '|' . $this->secret); + } + + /** + * Serializes the FacebookApp entity as a string. + * + * @return string + */ + public function serialize() + { + return implode('|', [$this->id, $this->secret]); + } + + /** + * Unserializes a string as a FacebookApp entity. + * + * @param string $serialized + */ + public function unserialize($serialized) + { + list($id, $secret) = explode('|', $serialized); + + $this->__construct($id, $secret); + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookBatchRequest.php b/mayor-orig/www/include/share/facebook/FacebookBatchRequest.php new file mode 100644 index 00000000..3d5d5d56 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookBatchRequest.php @@ -0,0 +1,322 @@ +add($requests); + } + + /** + * Adds a new request to the array. + * + * @param FacebookRequest|array $request + * @param string|null|array $options Array of batch request options e.g. 'name', 'omit_response_on_success'. + * If a string is given, it is the value of the 'name' option. + * + * @return FacebookBatchRequest + * + * @throws \InvalidArgumentException + */ + public function add($request, $options = null) + { + if (is_array($request)) { + foreach ($request as $key => $req) { + $this->add($req, $key); + } + + return $this; + } + + if (!$request instanceof FacebookRequest) { + throw new \InvalidArgumentException('Argument for add() must be of type array or FacebookRequest.'); + } + + if (null === $options) { + $options = []; + } elseif (!is_array($options)) { + $options = ['name' => $options]; + } + + $this->addFallbackDefaults($request); + + // File uploads + $attachedFiles = $this->extractFileAttachments($request); + + $name = isset($options['name']) ? $options['name'] : null; + + unset($options['name']); + + $requestToAdd = [ + 'name' => $name, + 'request' => $request, + 'options' => $options, + 'attached_files' => $attachedFiles, + ]; + + $this->requests[] = $requestToAdd; + + return $this; + } + + /** + * Ensures that the FacebookApp and access token fall back when missing. + * + * @param FacebookRequest $request + * + * @throws FacebookSDKException + */ + public function addFallbackDefaults(FacebookRequest $request) + { + if (!$request->getApp()) { + $app = $this->getApp(); + if (!$app) { + throw new FacebookSDKException('Missing FacebookApp on FacebookRequest and no fallback detected on FacebookBatchRequest.'); + } + $request->setApp($app); + } + + if (!$request->getAccessToken()) { + $accessToken = $this->getAccessToken(); + if (!$accessToken) { + throw new FacebookSDKException('Missing access token on FacebookRequest and no fallback detected on FacebookBatchRequest.'); + } + $request->setAccessToken($accessToken); + } + } + + /** + * Extracts the files from a request. + * + * @param FacebookRequest $request + * + * @return string|null + * + * @throws FacebookSDKException + */ + public function extractFileAttachments(FacebookRequest $request) + { + if (!$request->containsFileUploads()) { + return null; + } + + $files = $request->getFiles(); + $fileNames = []; + foreach ($files as $file) { + $fileName = uniqid(); + $this->addFile($fileName, $file); + $fileNames[] = $fileName; + } + + $request->resetFiles(); + + // @TODO Does Graph support multiple uploads on one endpoint? + return implode(',', $fileNames); + } + + /** + * Return the FacebookRequest entities. + * + * @return array + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Prepares the requests to be sent as a batch request. + */ + public function prepareRequestsForBatch() + { + $this->validateBatchRequestCount(); + + $params = [ + 'batch' => $this->convertRequestsToJson(), + 'include_headers' => true, + ]; + $this->setParams($params); + } + + /** + * Converts the requests into a JSON(P) string. + * + * @return string + */ + public function convertRequestsToJson() + { + $requests = []; + foreach ($this->requests as $request) { + $options = []; + + if (null !== $request['name']) { + $options['name'] = $request['name']; + } + + $options += $request['options']; + + $requests[] = $this->requestEntityToBatchArray($request['request'], $options, $request['attached_files']); + } + + return json_encode($requests); + } + + /** + * Validate the request count before sending them as a batch. + * + * @throws FacebookSDKException + */ + public function validateBatchRequestCount() + { + $batchCount = count($this->requests); + if ($batchCount === 0) { + throw new FacebookSDKException('There are no batch requests to send.'); + } elseif ($batchCount > 50) { + // Per: https://developers.facebook.com/docs/graph-api/making-multiple-requests#limits + throw new FacebookSDKException('You cannot send more than 50 batch requests at a time.'); + } + } + + /** + * Converts a Request entity into an array that is batch-friendly. + * + * @param FacebookRequest $request The request entity to convert. + * @param string|null|array $options Array of batch request options e.g. 'name', 'omit_response_on_success'. + * If a string is given, it is the value of the 'name' option. + * @param string|null $attachedFiles Names of files associated with the request. + * + * @return array + */ + public function requestEntityToBatchArray(FacebookRequest $request, $options = null, $attachedFiles = null) + { + + if (null === $options) { + $options = []; + } elseif (!is_array($options)) { + $options = ['name' => $options]; + } + + $compiledHeaders = []; + $headers = $request->getHeaders(); + foreach ($headers as $name => $value) { + $compiledHeaders[] = $name . ': ' . $value; + } + + $batch = [ + 'headers' => $compiledHeaders, + 'method' => $request->getMethod(), + 'relative_url' => $request->getUrl(), + ]; + + // Since file uploads are moved to the root request of a batch request, + // the child requests will always be URL-encoded. + $body = $request->getUrlEncodedBody()->getBody(); + if ($body) { + $batch['body'] = $body; + } + + $batch += $options; + + if (null !== $attachedFiles) { + $batch['attached_files'] = $attachedFiles; + } + + return $batch; + } + + /** + * Get an iterator for the items. + * + * @return ArrayIterator + */ + public function getIterator() + { + return new ArrayIterator($this->requests); + } + + /** + * @inheritdoc + */ + public function offsetSet($offset, $value) + { + $this->add($value, $offset); + } + + /** + * @inheritdoc + */ + public function offsetExists($offset) + { + return isset($this->requests[$offset]); + } + + /** + * @inheritdoc + */ + public function offsetUnset($offset) + { + unset($this->requests[$offset]); + } + + /** + * @inheritdoc + */ + public function offsetGet($offset) + { + return isset($this->requests[$offset]) ? $this->requests[$offset] : null; + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookBatchResponse.php b/mayor-orig/www/include/share/facebook/FacebookBatchResponse.php new file mode 100644 index 00000000..8e1464c9 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookBatchResponse.php @@ -0,0 +1,174 @@ +batchRequest = $batchRequest; + + $request = $response->getRequest(); + $body = $response->getBody(); + $httpStatusCode = $response->getHttpStatusCode(); + $headers = $response->getHeaders(); + parent::__construct($request, $body, $httpStatusCode, $headers); + + $responses = $response->getDecodedBody(); + $this->setResponses($responses); + } + + /** + * Returns an array of FacebookResponse entities. + * + * @return array + */ + public function getResponses() + { + return $this->responses; + } + + /** + * The main batch response will be an array of requests so + * we need to iterate over all the responses. + * + * @param array $responses + */ + public function setResponses(array $responses) + { + $this->responses = []; + + foreach ($responses as $key => $graphResponse) { + $this->addResponse($key, $graphResponse); + } + } + + /** + * Add a response to the list. + * + * @param int $key + * @param array|null $response + */ + public function addResponse($key, $response) + { + $originalRequestName = isset($this->batchRequest[$key]['name']) ? $this->batchRequest[$key]['name'] : $key; + $originalRequest = isset($this->batchRequest[$key]['request']) ? $this->batchRequest[$key]['request'] : null; + + $httpResponseBody = isset($response['body']) ? $response['body'] : null; + $httpResponseCode = isset($response['code']) ? $response['code'] : null; + // @TODO With PHP 5.5 support, this becomes array_column($response['headers'], 'value', 'name') + $httpResponseHeaders = isset($response['headers']) ? $this->normalizeBatchHeaders($response['headers']) : []; + + $this->responses[$originalRequestName] = new FacebookResponse( + $originalRequest, + $httpResponseBody, + $httpResponseCode, + $httpResponseHeaders + ); + } + + /** + * @inheritdoc + */ + public function getIterator() + { + return new ArrayIterator($this->responses); + } + + /** + * @inheritdoc + */ + public function offsetSet($offset, $value) + { + $this->addResponse($offset, $value); + } + + /** + * @inheritdoc + */ + public function offsetExists($offset) + { + return isset($this->responses[$offset]); + } + + /** + * @inheritdoc + */ + public function offsetUnset($offset) + { + unset($this->responses[$offset]); + } + + /** + * @inheritdoc + */ + public function offsetGet($offset) + { + return isset($this->responses[$offset]) ? $this->responses[$offset] : null; + } + + /** + * Converts the batch header array into a standard format. + * @TODO replace with array_column() when PHP 5.5 is supported. + * + * @param array $batchHeaders + * + * @return array + */ + private function normalizeBatchHeaders(array $batchHeaders) + { + $headers = []; + + foreach ($batchHeaders as $header) { + $headers[$header['name']] = $header['value']; + } + + return $headers; + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookClient.php b/mayor-orig/www/include/share/facebook/FacebookClient.php new file mode 100644 index 00000000..dbf75923 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookClient.php @@ -0,0 +1,250 @@ +httpClientHandler = $httpClientHandler ?: $this->detectHttpClientHandler(); + $this->enableBetaMode = $enableBeta; + } + + /** + * Sets the HTTP client handler. + * + * @param FacebookHttpClientInterface $httpClientHandler + */ + public function setHttpClientHandler(FacebookHttpClientInterface $httpClientHandler) + { + $this->httpClientHandler = $httpClientHandler; + } + + /** + * Returns the HTTP client handler. + * + * @return FacebookHttpClientInterface + */ + public function getHttpClientHandler() + { + return $this->httpClientHandler; + } + + /** + * Detects which HTTP client handler to use. + * + * @return FacebookHttpClientInterface + */ + public function detectHttpClientHandler() + { + return extension_loaded('curl') ? new FacebookCurlHttpClient() : new FacebookStreamHttpClient(); + } + + /** + * Toggle beta mode. + * + * @param boolean $betaMode + */ + public function enableBetaMode($betaMode = true) + { + $this->enableBetaMode = $betaMode; + } + + /** + * Returns the base Graph URL. + * + * @param boolean $postToVideoUrl Post to the video API if videos are being uploaded. + * + * @return string + */ + public function getBaseGraphUrl($postToVideoUrl = false) + { + if ($postToVideoUrl) { + return $this->enableBetaMode ? static::BASE_GRAPH_VIDEO_URL_BETA : static::BASE_GRAPH_VIDEO_URL; + } + + return $this->enableBetaMode ? static::BASE_GRAPH_URL_BETA : static::BASE_GRAPH_URL; + } + + /** + * Prepares the request for sending to the client handler. + * + * @param FacebookRequest $request + * + * @return array + */ + public function prepareRequestMessage(FacebookRequest $request) + { + $postToVideoUrl = $request->containsVideoUploads(); + $url = $this->getBaseGraphUrl($postToVideoUrl) . $request->getUrl(); + + // If we're sending files they should be sent as multipart/form-data + if ($request->containsFileUploads()) { + $requestBody = $request->getMultipartBody(); + $request->setHeaders([ + 'Content-Type' => 'multipart/form-data; boundary=' . $requestBody->getBoundary(), + ]); + } else { + $requestBody = $request->getUrlEncodedBody(); + $request->setHeaders([ + 'Content-Type' => 'application/x-www-form-urlencoded', + ]); + } + + return [ + $url, + $request->getMethod(), + $request->getHeaders(), + $requestBody->getBody(), + ]; + } + + /** + * Makes the request to Graph and returns the result. + * + * @param FacebookRequest $request + * + * @return FacebookResponse + * + * @throws FacebookSDKException + */ + public function sendRequest(FacebookRequest $request) + { + if (get_class($request) === 'Facebook\FacebookRequest') { + $request->validateAccessToken(); + } + + list($url, $method, $headers, $body) = $this->prepareRequestMessage($request); + + // Since file uploads can take a while, we need to give more time for uploads + $timeOut = static::DEFAULT_REQUEST_TIMEOUT; + if ($request->containsFileUploads()) { + $timeOut = static::DEFAULT_FILE_UPLOAD_REQUEST_TIMEOUT; + } elseif ($request->containsVideoUploads()) { + $timeOut = static::DEFAULT_VIDEO_UPLOAD_REQUEST_TIMEOUT; + } + + // Should throw `FacebookSDKException` exception on HTTP client error. + // Don't catch to allow it to bubble up. + $rawResponse = $this->httpClientHandler->send($url, $method, $body, $headers, $timeOut); + + static::$requestCount++; + + $returnResponse = new FacebookResponse( + $request, + $rawResponse->getBody(), + $rawResponse->getHttpResponseCode(), + $rawResponse->getHeaders() + ); + + if ($returnResponse->isError()) { + throw $returnResponse->getThrownException(); + } + + return $returnResponse; + } + + /** + * Makes a batched request to Graph and returns the result. + * + * @param FacebookBatchRequest $request + * + * @return FacebookBatchResponse + * + * @throws FacebookSDKException + */ + public function sendBatchRequest(FacebookBatchRequest $request) + { + $request->prepareRequestsForBatch(); + $facebookResponse = $this->sendRequest($request); + + return new FacebookBatchResponse($request, $facebookResponse); + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookRequest.php b/mayor-orig/www/include/share/facebook/FacebookRequest.php new file mode 100644 index 00000000..2b100899 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookRequest.php @@ -0,0 +1,534 @@ +setApp($app); + $this->setAccessToken($accessToken); + $this->setMethod($method); + $this->setEndpoint($endpoint); + $this->setParams($params); + $this->setETag($eTag); + $this->graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION; + } + + /** + * Set the access token for this request. + * + * @param AccessToken|string|null + * + * @return FacebookRequest + */ + public function setAccessToken($accessToken) + { + $this->accessToken = $accessToken; + if ($accessToken instanceof AccessToken) { + $this->accessToken = $accessToken->getValue(); + } + + return $this; + } + + /** + * Sets the access token with one harvested from a URL or POST params. + * + * @param string $accessToken The access token. + * + * @return FacebookRequest + * + * @throws FacebookSDKException + */ + public function setAccessTokenFromParams($accessToken) + { + $existingAccessToken = $this->getAccessToken(); + if (!$existingAccessToken) { + $this->setAccessToken($accessToken); + } elseif ($accessToken !== $existingAccessToken) { + throw new FacebookSDKException('Access token mismatch. The access token provided in the FacebookRequest and the one provided in the URL or POST params do not match.'); + } + + return $this; + } + + /** + * Return the access token for this request. + * + * @return string|null + */ + public function getAccessToken() + { + return $this->accessToken; + } + + /** + * Return the access token for this request as an AccessToken entity. + * + * @return AccessToken|null + */ + public function getAccessTokenEntity() + { + return $this->accessToken ? new AccessToken($this->accessToken) : null; + } + + /** + * Set the FacebookApp entity used for this request. + * + * @param FacebookApp|null $app + */ + public function setApp(FacebookApp $app = null) + { + $this->app = $app; + } + + /** + * Return the FacebookApp entity used for this request. + * + * @return FacebookApp + */ + public function getApp() + { + return $this->app; + } + + /** + * Generate an app secret proof to sign this request. + * + * @return string|null + */ + public function getAppSecretProof() + { + if (!$accessTokenEntity = $this->getAccessTokenEntity()) { + return null; + } + + return $accessTokenEntity->getAppSecretProof($this->app->getSecret()); + } + + /** + * Validate that an access token exists for this request. + * + * @throws FacebookSDKException + */ + public function validateAccessToken() + { + $accessToken = $this->getAccessToken(); + if (!$accessToken) { + throw new FacebookSDKException('You must provide an access token.'); + } + } + + /** + * Set the HTTP method for this request. + * + * @param string + */ + public function setMethod($method) + { + $this->method = strtoupper($method); + } + + /** + * Return the HTTP method for this request. + * + * @return string + */ + public function getMethod() + { + return $this->method; + } + + /** + * Validate that the HTTP method is set. + * + * @throws FacebookSDKException + */ + public function validateMethod() + { + if (!$this->method) { + throw new FacebookSDKException('HTTP method not specified.'); + } + + if (!in_array($this->method, ['GET', 'POST', 'DELETE'])) { + throw new FacebookSDKException('Invalid HTTP method specified.'); + } + } + + /** + * Set the endpoint for this request. + * + * @param string + * + * @return FacebookRequest + * + * @throws FacebookSDKException + */ + public function setEndpoint($endpoint) + { + // Harvest the access token from the endpoint to keep things in sync + $params = FacebookUrlManipulator::getParamsAsArray($endpoint); + if (isset($params['access_token'])) { + $this->setAccessTokenFromParams($params['access_token']); + } + + // Clean the token & app secret proof from the endpoint. + $filterParams = ['access_token', 'appsecret_proof']; + $this->endpoint = FacebookUrlManipulator::removeParamsFromUrl($endpoint, $filterParams); + + return $this; + } + + /** + * Return the endpoint for this request. + * + * @return string + */ + public function getEndpoint() + { + // For batch requests, this will be empty + return $this->endpoint; + } + + /** + * Generate and return the headers for this request. + * + * @return array + */ + public function getHeaders() + { + $headers = static::getDefaultHeaders(); + + if ($this->eTag) { + $headers['If-None-Match'] = $this->eTag; + } + + return array_merge($this->headers, $headers); + } + + /** + * Set the headers for this request. + * + * @param array $headers + */ + public function setHeaders(array $headers) + { + $this->headers = array_merge($this->headers, $headers); + } + + /** + * Sets the eTag value. + * + * @param string $eTag + */ + public function setETag($eTag) + { + $this->eTag = $eTag; + } + + /** + * Set the params for this request. + * + * @param array $params + * + * @return FacebookRequest + * + * @throws FacebookSDKException + */ + public function setParams(array $params = []) + { + if (isset($params['access_token'])) { + $this->setAccessTokenFromParams($params['access_token']); + } + + // Don't let these buggers slip in. + unset($params['access_token'], $params['appsecret_proof']); + + // @TODO Refactor code above with this + //$params = $this->sanitizeAuthenticationParams($params); + $params = $this->sanitizeFileParams($params); + $this->dangerouslySetParams($params); + + return $this; + } + + /** + * Set the params for this request without filtering them first. + * + * @param array $params + * + * @return FacebookRequest + */ + public function dangerouslySetParams(array $params = []) + { + $this->params = array_merge($this->params, $params); + + return $this; + } + + /** + * Iterate over the params and pull out the file uploads. + * + * @param array $params + * + * @return array + */ + public function sanitizeFileParams(array $params) + { + foreach ($params as $key => $value) { + if ($value instanceof FacebookFile) { + $this->addFile($key, $value); + unset($params[$key]); + } + } + + return $params; + } + + /** + * Add a file to be uploaded. + * + * @param string $key + * @param FacebookFile $file + */ + public function addFile($key, FacebookFile $file) + { + $this->files[$key] = $file; + } + + /** + * Removes all the files from the upload queue. + */ + public function resetFiles() + { + $this->files = []; + } + + /** + * Get the list of files to be uploaded. + * + * @return array + */ + public function getFiles() + { + return $this->files; + } + + /** + * Let's us know if there is a file upload with this request. + * + * @return boolean + */ + public function containsFileUploads() + { + return !empty($this->files); + } + + /** + * Let's us know if there is a video upload with this request. + * + * @return boolean + */ + public function containsVideoUploads() + { + foreach ($this->files as $file) { + if ($file instanceof FacebookVideo) { + return true; + } + } + + return false; + } + + /** + * Returns the body of the request as multipart/form-data. + * + * @return RequestBodyMultipart + */ + public function getMultipartBody() + { + $params = $this->getPostParams(); + + return new RequestBodyMultipart($params, $this->files); + } + + /** + * Returns the body of the request as URL-encoded. + * + * @return RequestBodyUrlEncoded + */ + public function getUrlEncodedBody() + { + $params = $this->getPostParams(); + + return new RequestBodyUrlEncoded($params); + } + + /** + * Generate and return the params for this request. + * + * @return array + */ + public function getParams() + { + $params = $this->params; + + $accessToken = $this->getAccessToken(); + if ($accessToken) { + $params['access_token'] = $accessToken; + $params['appsecret_proof'] = $this->getAppSecretProof(); + } + + return $params; + } + + /** + * Only return params on POST requests. + * + * @return array + */ + public function getPostParams() + { + if ($this->getMethod() === 'POST') { + return $this->getParams(); + } + + return []; + } + + /** + * The graph version used for this request. + * + * @return string + */ + public function getGraphVersion() + { + return $this->graphVersion; + } + + /** + * Generate and return the URL for this request. + * + * @return string + */ + public function getUrl() + { + $this->validateMethod(); + + $graphVersion = FacebookUrlManipulator::forceSlashPrefix($this->graphVersion); + $endpoint = FacebookUrlManipulator::forceSlashPrefix($this->getEndpoint()); + + $url = $graphVersion . $endpoint; + + if ($this->getMethod() !== 'POST') { + $params = $this->getParams(); + $url = FacebookUrlManipulator::appendParamsToUrl($url, $params); + } + + return $url; + } + + /** + * Return the default headers that every request should use. + * + * @return array + */ + public static function getDefaultHeaders() + { + return [ + 'User-Agent' => 'fb-php-' . Facebook::VERSION, + 'Accept-Encoding' => '*', + ]; + } +} diff --git a/mayor-orig/www/include/share/facebook/FacebookResponse.php b/mayor-orig/www/include/share/facebook/FacebookResponse.php new file mode 100644 index 00000000..251ca2f7 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FacebookResponse.php @@ -0,0 +1,410 @@ +request = $request; + $this->body = $body; + $this->httpStatusCode = $httpStatusCode; + $this->headers = $headers; + + $this->decodeBody(); + } + + /** + * Return the original request that returned this response. + * + * @return FacebookRequest + */ + public function getRequest() + { + return $this->request; + } + + /** + * Return the FacebookApp entity used for this response. + * + * @return FacebookApp + */ + public function getApp() + { + return $this->request->getApp(); + } + + /** + * Return the access token that was used for this response. + * + * @return string|null + */ + public function getAccessToken() + { + return $this->request->getAccessToken(); + } + + /** + * Return the HTTP status code for this response. + * + * @return int + */ + public function getHttpStatusCode() + { + return $this->httpStatusCode; + } + + /** + * Return the HTTP headers for this response. + * + * @return array + */ + public function getHeaders() + { + return $this->headers; + } + + /** + * Return the raw body response. + * + * @return string + */ + public function getBody() + { + return $this->body; + } + + /** + * Return the decoded body response. + * + * @return array + */ + public function getDecodedBody() + { + return $this->decodedBody; + } + + /** + * Get the app secret proof that was used for this response. + * + * @return string|null + */ + public function getAppSecretProof() + { + return $this->request->getAppSecretProof(); + } + + /** + * Get the ETag associated with the response. + * + * @return string|null + */ + public function getETag() + { + return isset($this->headers['ETag']) ? $this->headers['ETag'] : null; + } + + /** + * Get the version of Graph that returned this response. + * + * @return string|null + */ + public function getGraphVersion() + { + return isset($this->headers['Facebook-API-Version']) ? $this->headers['Facebook-API-Version'] : null; + } + + /** + * Returns true if Graph returned an error message. + * + * @return boolean + */ + public function isError() + { + return isset($this->decodedBody['error']); + } + + /** + * Throws the exception. + * + * @throws FacebookSDKException + */ + public function throwException() + { + throw $this->thrownException; + } + + /** + * Instantiates an exception to be thrown later. + */ + public function makeException() + { + $this->thrownException = FacebookResponseException::create($this); + } + + /** + * Returns the exception that was thrown for this request. + * + * @return FacebookResponseException|null + */ + public function getThrownException() + { + return $this->thrownException; + } + + /** + * Convert the raw response into an array if possible. + * + * Graph will return 2 types of responses: + * - JSON(P) + * Most responses from Graph are JSON(P) + * - application/x-www-form-urlencoded key/value pairs + * Happens on the `/oauth/access_token` endpoint when exchanging + * a short-lived access token for a long-lived access token + * - And sometimes nothing :/ but that'd be a bug. + */ + public function decodeBody() + { + $this->decodedBody = json_decode($this->body, true); + + if ($this->decodedBody === null) { + $this->decodedBody = []; + parse_str($this->body, $this->decodedBody); + } elseif (is_bool($this->decodedBody)) { + // Backwards compatibility for Graph < 2.1. + // Mimics 2.1 responses. + // @TODO Remove this after Graph 2.0 is no longer supported + $this->decodedBody = ['success' => $this->decodedBody]; + } elseif (is_numeric($this->decodedBody)) { + $this->decodedBody = ['id' => $this->decodedBody]; + } + + if (!is_array($this->decodedBody)) { + $this->decodedBody = []; + } + + if ($this->isError()) { + $this->makeException(); + } + } + + /** + * Instantiate a new GraphObject from response. + * + * @param string|null $subclassName The GraphNode subclass to cast to. + * + * @return \Facebook\GraphNodes\GraphObject + * + * @throws FacebookSDKException + * + * @deprecated 5.0.0 getGraphObject() has been renamed to getGraphNode() + * @todo v6: Remove this method + */ + public function getGraphObject($subclassName = null) + { + return $this->getGraphNode($subclassName); + } + + /** + * Instantiate a new GraphNode from response. + * + * @param string|null $subclassName The GraphNode subclass to cast to. + * + * @return \Facebook\GraphNodes\GraphNode + * + * @throws FacebookSDKException + */ + public function getGraphNode($subclassName = null) + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphNode($subclassName); + } + + /** + * Convenience method for creating a GraphAlbum collection. + * + * @return \Facebook\GraphNodes\GraphAlbum + * + * @throws FacebookSDKException + */ + public function getGraphAlbum() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphAlbum(); + } + + /** + * Convenience method for creating a GraphPage collection. + * + * @return \Facebook\GraphNodes\GraphPage + * + * @throws FacebookSDKException + */ + public function getGraphPage() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphPage(); + } + + /** + * Convenience method for creating a GraphSessionInfo collection. + * + * @return \Facebook\GraphNodes\GraphSessionInfo + * + * @throws FacebookSDKException + */ + public function getGraphSessionInfo() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphSessionInfo(); + } + + /** + * Convenience method for creating a GraphUser collection. + * + * @return \Facebook\GraphNodes\GraphUser + * + * @throws FacebookSDKException + */ + public function getGraphUser() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphUser(); + } + + /** + * Convenience method for creating a GraphEvent collection. + * + * @return \Facebook\GraphNodes\GraphEvent + * + * @throws FacebookSDKException + */ + public function getGraphEvent() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphEvent(); + } + + /** + * Convenience method for creating a GraphGroup collection. + * + * @return \Facebook\GraphNodes\GraphGroup + * + * @throws FacebookSDKException + */ + public function getGraphGroup() + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphGroup(); + } + + /** + * Instantiate a new GraphList from response. + * + * @param string|null $subclassName The GraphNode subclass to cast list items to. + * @param boolean $auto_prefix Toggle to auto-prefix the subclass name. + * + * @return \Facebook\GraphNodes\GraphList + * + * @throws FacebookSDKException + * + * @deprecated 5.0.0 getGraphList() has been renamed to getGraphEdge() + * @todo v6: Remove this method + */ + public function getGraphList($subclassName = null, $auto_prefix = true) + { + return $this->getGraphEdge($subclassName, $auto_prefix); + } + + /** + * Instantiate a new GraphEdge from response. + * + * @param string|null $subclassName The GraphNode subclass to cast list items to. + * @param boolean $auto_prefix Toggle to auto-prefix the subclass name. + * + * @return \Facebook\GraphNodes\GraphEdge + * + * @throws FacebookSDKException + */ + public function getGraphEdge($subclassName = null, $auto_prefix = true) + { + $factory = new GraphNodeFactory($this); + + return $factory->makeGraphEdge($subclassName, $auto_prefix); + } +} diff --git a/mayor-orig/www/include/share/facebook/FileUpload/FacebookFile.php b/mayor-orig/www/include/share/facebook/FileUpload/FacebookFile.php new file mode 100644 index 00000000..3c1536d4 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FileUpload/FacebookFile.php @@ -0,0 +1,169 @@ +path = $filePath; + $this->maxLength = $maxLength; + $this->offset = $offset; + $this->open(); + } + + /** + * Closes the stream when destructed. + */ + public function __destruct() + { + $this->close(); + } + + /** + * Opens a stream for the file. + * + * @throws FacebookSDKException + */ + public function open() + { + if (!$this->isRemoteFile($this->path) && !is_readable($this->path)) { + throw new FacebookSDKException('Failed to create FacebookFile entity. Unable to read resource: ' . $this->path . '.'); + } + + $this->stream = fopen($this->path, 'r'); + + if (!$this->stream) { + throw new FacebookSDKException('Failed to create FacebookFile entity. Unable to open resource: ' . $this->path . '.'); + } + } + + /** + * Stops the file stream. + */ + public function close() + { + if (is_resource($this->stream)) { + fclose($this->stream); + } + } + + /** + * Return the contents of the file. + * + * @return string + */ + public function getContents() + { + return stream_get_contents($this->stream, $this->maxLength, $this->offset); + } + + /** + * Return the name of the file. + * + * @return string + */ + public function getFileName() + { + return basename($this->path); + } + + /** + * Return the path of the file. + * + * @return string + */ + public function getFilePath() + { + return $this->path; + } + + /** + * Return the size of the file. + * + * @return int + */ + public function getSize() + { + return filesize($this->path); + } + + /** + * Return the mimetype of the file. + * + * @return string + */ + public function getMimetype() + { + return Mimetypes::getInstance()->fromFilename($this->path) ?: 'text/plain'; + } + + /** + * Returns true if the path to the file is remote. + * + * @param string $pathToFile + * + * @return boolean + */ + protected function isRemoteFile($pathToFile) + { + return preg_match('/^(https?|ftp):\/\/.*/', $pathToFile) === 1; + } +} diff --git a/mayor-orig/www/include/share/facebook/FileUpload/FacebookResumableUploader.php b/mayor-orig/www/include/share/facebook/FileUpload/FacebookResumableUploader.php new file mode 100644 index 00000000..92a22f14 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FileUpload/FacebookResumableUploader.php @@ -0,0 +1,167 @@ +app = $app; + $this->client = $client; + $this->accessToken = $accessToken; + $this->graphVersion = $graphVersion; + } + + /** + * Upload by chunks - start phase + * + * @param string $endpoint + * @param FacebookFile $file + * + * @return FacebookTransferChunk + * + * @throws FacebookSDKException + */ + public function start($endpoint, FacebookFile $file) + { + $params = [ + 'upload_phase' => 'start', + 'file_size' => $file->getSize(), + ]; + $response = $this->sendUploadRequest($endpoint, $params); + + return new FacebookTransferChunk($file, $response['upload_session_id'], $response['video_id'], $response['start_offset'], $response['end_offset']); + } + + /** + * Upload by chunks - transfer phase + * + * @param string $endpoint + * @param FacebookTransferChunk $chunk + * @param boolean $allowToThrow + * + * @return FacebookTransferChunk + * + * @throws FacebookResponseException + */ + public function transfer($endpoint, FacebookTransferChunk $chunk, $allowToThrow = false) + { + $params = [ + 'upload_phase' => 'transfer', + 'upload_session_id' => $chunk->getUploadSessionId(), + 'start_offset' => $chunk->getStartOffset(), + 'video_file_chunk' => $chunk->getPartialFile(), + ]; + + try { + $response = $this->sendUploadRequest($endpoint, $params); + } catch (FacebookResponseException $e) { + $preException = $e->getPrevious(); + if ($allowToThrow || !$preException instanceof FacebookResumableUploadException) { + throw $e; + } + + // Return the same chunk entity so it can be retried. + return $chunk; + } + + return new FacebookTransferChunk($chunk->getFile(), $chunk->getUploadSessionId(), $chunk->getVideoId(), $response['start_offset'], $response['end_offset']); + } + + /** + * Upload by chunks - finish phase + * + * @param string $endpoint + * @param string $uploadSessionId + * @param array $metadata The metadata associated with the file. + * + * @return boolean + * + * @throws FacebookSDKException + */ + public function finish($endpoint, $uploadSessionId, $metadata = []) + { + $params = array_merge($metadata, [ + 'upload_phase' => 'finish', + 'upload_session_id' => $uploadSessionId, + ]); + $response = $this->sendUploadRequest($endpoint, $params); + + return $response['success']; + } + + /** + * Helper to make a FacebookRequest and send it. + * + * @param string $endpoint The endpoint to POST to. + * @param array $params The params to send with the request. + * + * @return array + */ + private function sendUploadRequest($endpoint, $params = []) + { + $request = new FacebookRequest($this->app, $this->accessToken, 'POST', $endpoint, $params, null, $this->graphVersion); + + return $this->client->sendRequest($request)->getDecodedBody(); + } +} diff --git a/mayor-orig/www/include/share/facebook/FileUpload/FacebookTransferChunk.php b/mayor-orig/www/include/share/facebook/FileUpload/FacebookTransferChunk.php new file mode 100644 index 00000000..a909e875 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FileUpload/FacebookTransferChunk.php @@ -0,0 +1,133 @@ +file = $file; + $this->uploadSessionId = $uploadSessionId; + $this->videoId = $videoId; + $this->startOffset = $startOffset; + $this->endOffset = $endOffset; + } + + /** + * Return the file entity. + * + * @return FacebookFile + */ + public function getFile() + { + return $this->file; + } + + /** + * Return a FacebookFile entity with partial content. + * + * @return FacebookFile + */ + public function getPartialFile() + { + $maxLength = $this->endOffset - $this->startOffset; + + return new FacebookFile($this->file->getFilePath(), $maxLength, $this->startOffset); + } + + /** + * Return upload session Id + * + * @return int + */ + public function getUploadSessionId() + { + return $this->uploadSessionId; + } + + /** + * Check whether is the last chunk + * + * @return bool + */ + public function isLastChunk() + { + return $this->startOffset === $this->endOffset; + } + + /** + * @return int + */ + public function getStartOffset() + { + return $this->startOffset; + } + + /** + * Get uploaded video Id + * + * @return int + */ + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/facebook/FileUpload/FacebookVideo.php b/mayor-orig/www/include/share/facebook/FileUpload/FacebookVideo.php new file mode 100644 index 00000000..ee6dd538 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/FileUpload/FacebookVideo.php @@ -0,0 +1,33 @@ + 'text/vnd.in3d.3dml', + '3g2' => 'video/3gpp2', + '3gp' => 'video/3gpp', + '7z' => 'application/x-7z-compressed', + 'aab' => 'application/x-authorware-bin', + 'aac' => 'audio/x-aac', + 'aam' => 'application/x-authorware-map', + 'aas' => 'application/x-authorware-seg', + 'abw' => 'application/x-abiword', + 'ac' => 'application/pkix-attr-cert', + 'acc' => 'application/vnd.americandynamics.acc', + 'ace' => 'application/x-ace-compressed', + 'acu' => 'application/vnd.acucobol', + 'acutc' => 'application/vnd.acucorp', + 'adp' => 'audio/adpcm', + 'aep' => 'application/vnd.audiograph', + 'afm' => 'application/x-font-type1', + 'afp' => 'application/vnd.ibm.modcap', + 'ahead' => 'application/vnd.ahead.space', + 'ai' => 'application/postscript', + 'aif' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'air' => 'application/vnd.adobe.air-application-installer-package+zip', + 'ait' => 'application/vnd.dvb.ait', + 'ami' => 'application/vnd.amiga.ami', + 'apk' => 'application/vnd.android.package-archive', + 'application' => 'application/x-ms-application', + 'apr' => 'application/vnd.lotus-approach', + 'asa' => 'text/plain', + 'asax' => 'application/octet-stream', + 'asc' => 'application/pgp-signature', + 'ascx' => 'text/plain', + 'asf' => 'video/x-ms-asf', + 'ashx' => 'text/plain', + 'asm' => 'text/x-asm', + 'asmx' => 'text/plain', + 'aso' => 'application/vnd.accpac.simply.aso', + 'asp' => 'text/plain', + 'aspx' => 'text/plain', + 'asx' => 'video/x-ms-asf', + 'atc' => 'application/vnd.acucorp', + 'atom' => 'application/atom+xml', + 'atomcat' => 'application/atomcat+xml', + 'atomsvc' => 'application/atomsvc+xml', + 'atx' => 'application/vnd.antix.game-component', + 'au' => 'audio/basic', + 'avi' => 'video/x-msvideo', + 'aw' => 'application/applixware', + 'axd' => 'text/plain', + 'azf' => 'application/vnd.airzip.filesecure.azf', + 'azs' => 'application/vnd.airzip.filesecure.azs', + 'azw' => 'application/vnd.amazon.ebook', + 'bat' => 'application/x-msdownload', + 'bcpio' => 'application/x-bcpio', + 'bdf' => 'application/x-font-bdf', + 'bdm' => 'application/vnd.syncml.dm+wbxml', + 'bed' => 'application/vnd.realvnc.bed', + 'bh2' => 'application/vnd.fujitsu.oasysprs', + 'bin' => 'application/octet-stream', + 'bmi' => 'application/vnd.bmi', + 'bmp' => 'image/bmp', + 'book' => 'application/vnd.framemaker', + 'box' => 'application/vnd.previewsystems.box', + 'boz' => 'application/x-bzip2', + 'bpk' => 'application/octet-stream', + 'btif' => 'image/prs.btif', + 'bz' => 'application/x-bzip', + 'bz2' => 'application/x-bzip2', + 'c' => 'text/x-c', + 'c11amc' => 'application/vnd.cluetrust.cartomobile-config', + 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', + 'c4d' => 'application/vnd.clonk.c4group', + 'c4f' => 'application/vnd.clonk.c4group', + 'c4g' => 'application/vnd.clonk.c4group', + 'c4p' => 'application/vnd.clonk.c4group', + 'c4u' => 'application/vnd.clonk.c4group', + 'cab' => 'application/vnd.ms-cab-compressed', + 'car' => 'application/vnd.curl.car', + 'cat' => 'application/vnd.ms-pki.seccat', + 'cc' => 'text/x-c', + 'cct' => 'application/x-director', + 'ccxml' => 'application/ccxml+xml', + 'cdbcmsg' => 'application/vnd.contact.cmsg', + 'cdf' => 'application/x-netcdf', + 'cdkey' => 'application/vnd.mediastation.cdkey', + 'cdmia' => 'application/cdmi-capability', + 'cdmic' => 'application/cdmi-container', + 'cdmid' => 'application/cdmi-domain', + 'cdmio' => 'application/cdmi-object', + 'cdmiq' => 'application/cdmi-queue', + 'cdx' => 'chemical/x-cdx', + 'cdxml' => 'application/vnd.chemdraw+xml', + 'cdy' => 'application/vnd.cinderella', + 'cer' => 'application/pkix-cert', + 'cfc' => 'application/x-coldfusion', + 'cfm' => 'application/x-coldfusion', + 'cgm' => 'image/cgm', + 'chat' => 'application/x-chat', + 'chm' => 'application/vnd.ms-htmlhelp', + 'chrt' => 'application/vnd.kde.kchart', + 'cif' => 'chemical/x-cif', + 'cii' => 'application/vnd.anser-web-certificate-issue-initiation', + 'cil' => 'application/vnd.ms-artgalry', + 'cla' => 'application/vnd.claymore', + 'class' => 'application/java-vm', + 'clkk' => 'application/vnd.crick.clicker.keyboard', + 'clkp' => 'application/vnd.crick.clicker.palette', + 'clkt' => 'application/vnd.crick.clicker.template', + 'clkw' => 'application/vnd.crick.clicker.wordbank', + 'clkx' => 'application/vnd.crick.clicker', + 'clp' => 'application/x-msclip', + 'cmc' => 'application/vnd.cosmocaller', + 'cmdf' => 'chemical/x-cmdf', + 'cml' => 'chemical/x-cml', + 'cmp' => 'application/vnd.yellowriver-custom-menu', + 'cmx' => 'image/x-cmx', + 'cod' => 'application/vnd.rim.cod', + 'com' => 'application/x-msdownload', + 'conf' => 'text/plain', + 'cpio' => 'application/x-cpio', + 'cpp' => 'text/x-c', + 'cpt' => 'application/mac-compactpro', + 'crd' => 'application/x-mscardfile', + 'crl' => 'application/pkix-crl', + 'crt' => 'application/x-x509-ca-cert', + 'cryptonote' => 'application/vnd.rig.cryptonote', + 'cs' => 'text/plain', + 'csh' => 'application/x-csh', + 'csml' => 'chemical/x-csml', + 'csp' => 'application/vnd.commonspace', + 'css' => 'text/css', + 'cst' => 'application/x-director', + 'csv' => 'text/csv', + 'cu' => 'application/cu-seeme', + 'curl' => 'text/vnd.curl', + 'cww' => 'application/prs.cww', + 'cxt' => 'application/x-director', + 'cxx' => 'text/x-c', + 'dae' => 'model/vnd.collada+xml', + 'daf' => 'application/vnd.mobius.daf', + 'dataless' => 'application/vnd.fdsn.seed', + 'davmount' => 'application/davmount+xml', + 'dcr' => 'application/x-director', + 'dcurl' => 'text/vnd.curl.dcurl', + 'dd2' => 'application/vnd.oma.dd2+xml', + 'ddd' => 'application/vnd.fujixerox.ddd', + 'deb' => 'application/x-debian-package', + 'def' => 'text/plain', + 'deploy' => 'application/octet-stream', + 'der' => 'application/x-x509-ca-cert', + 'dfac' => 'application/vnd.dreamfactory', + 'dic' => 'text/x-c', + 'dir' => 'application/x-director', + 'dis' => 'application/vnd.mobius.dis', + 'dist' => 'application/octet-stream', + 'distz' => 'application/octet-stream', + 'djv' => 'image/vnd.djvu', + 'djvu' => 'image/vnd.djvu', + 'dll' => 'application/x-msdownload', + 'dmg' => 'application/octet-stream', + 'dms' => 'application/octet-stream', + 'dna' => 'application/vnd.dna', + 'doc' => 'application/msword', + 'docm' => 'application/vnd.ms-word.document.macroenabled.12', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'dot' => 'application/msword', + 'dotm' => 'application/vnd.ms-word.template.macroenabled.12', + 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + 'dp' => 'application/vnd.osgi.dp', + 'dpg' => 'application/vnd.dpgraph', + 'dra' => 'audio/vnd.dra', + 'dsc' => 'text/prs.lines.tag', + 'dssc' => 'application/dssc+der', + 'dtb' => 'application/x-dtbook+xml', + 'dtd' => 'application/xml-dtd', + 'dts' => 'audio/vnd.dts', + 'dtshd' => 'audio/vnd.dts.hd', + 'dump' => 'application/octet-stream', + 'dvi' => 'application/x-dvi', + 'dwf' => 'model/vnd.dwf', + 'dwg' => 'image/vnd.dwg', + 'dxf' => 'image/vnd.dxf', + 'dxp' => 'application/vnd.spotfire.dxp', + 'dxr' => 'application/x-director', + 'ecelp4800' => 'audio/vnd.nuera.ecelp4800', + 'ecelp7470' => 'audio/vnd.nuera.ecelp7470', + 'ecelp9600' => 'audio/vnd.nuera.ecelp9600', + 'ecma' => 'application/ecmascript', + 'edm' => 'application/vnd.novadigm.edm', + 'edx' => 'application/vnd.novadigm.edx', + 'efif' => 'application/vnd.picsel', + 'ei6' => 'application/vnd.pg.osasli', + 'elc' => 'application/octet-stream', + 'eml' => 'message/rfc822', + 'emma' => 'application/emma+xml', + 'eol' => 'audio/vnd.digital-winds', + 'eot' => 'application/vnd.ms-fontobject', + 'eps' => 'application/postscript', + 'epub' => 'application/epub+zip', + 'es3' => 'application/vnd.eszigno3+xml', + 'esf' => 'application/vnd.epson.esf', + 'et3' => 'application/vnd.eszigno3+xml', + 'etx' => 'text/x-setext', + 'exe' => 'application/x-msdownload', + 'exi' => 'application/exi', + 'ext' => 'application/vnd.novadigm.ext', + 'ez' => 'application/andrew-inset', + 'ez2' => 'application/vnd.ezpix-album', + 'ez3' => 'application/vnd.ezpix-package', + 'f' => 'text/x-fortran', + 'f4v' => 'video/x-f4v', + 'f77' => 'text/x-fortran', + 'f90' => 'text/x-fortran', + 'fbs' => 'image/vnd.fastbidsheet', + 'fcs' => 'application/vnd.isac.fcs', + 'fdf' => 'application/vnd.fdf', + 'fe_launch' => 'application/vnd.denovo.fcselayout-link', + 'fg5' => 'application/vnd.fujitsu.oasysgp', + 'fgd' => 'application/x-director', + 'fh' => 'image/x-freehand', + 'fh4' => 'image/x-freehand', + 'fh5' => 'image/x-freehand', + 'fh7' => 'image/x-freehand', + 'fhc' => 'image/x-freehand', + 'fig' => 'application/x-xfig', + 'fli' => 'video/x-fli', + 'flo' => 'application/vnd.micrografx.flo', + 'flv' => 'video/x-flv', + 'flw' => 'application/vnd.kde.kivio', + 'flx' => 'text/vnd.fmi.flexstor', + 'fly' => 'text/vnd.fly', + 'fm' => 'application/vnd.framemaker', + 'fnc' => 'application/vnd.frogans.fnc', + 'for' => 'text/x-fortran', + 'fpx' => 'image/vnd.fpx', + 'frame' => 'application/vnd.framemaker', + 'fsc' => 'application/vnd.fsc.weblaunch', + 'fst' => 'image/vnd.fst', + 'ftc' => 'application/vnd.fluxtime.clip', + 'fti' => 'application/vnd.anser-web-funds-transfer-initiation', + 'fvt' => 'video/vnd.fvt', + 'fxp' => 'application/vnd.adobe.fxp', + 'fxpl' => 'application/vnd.adobe.fxp', + 'fzs' => 'application/vnd.fuzzysheet', + 'g2w' => 'application/vnd.geoplan', + 'g3' => 'image/g3fax', + 'g3w' => 'application/vnd.geospace', + 'gac' => 'application/vnd.groove-account', + 'gdl' => 'model/vnd.gdl', + 'geo' => 'application/vnd.dynageo', + 'gex' => 'application/vnd.geometry-explorer', + 'ggb' => 'application/vnd.geogebra.file', + 'ggt' => 'application/vnd.geogebra.tool', + 'ghf' => 'application/vnd.groove-help', + 'gif' => 'image/gif', + 'gim' => 'application/vnd.groove-identity-message', + 'gmx' => 'application/vnd.gmx', + 'gnumeric' => 'application/x-gnumeric', + 'gph' => 'application/vnd.flographit', + 'gqf' => 'application/vnd.grafeq', + 'gqs' => 'application/vnd.grafeq', + 'gram' => 'application/srgs', + 'gre' => 'application/vnd.geometry-explorer', + 'grv' => 'application/vnd.groove-injector', + 'grxml' => 'application/srgs+xml', + 'gsf' => 'application/x-font-ghostscript', + 'gtar' => 'application/x-gtar', + 'gtm' => 'application/vnd.groove-tool-message', + 'gtw' => 'model/vnd.gtw', + 'gv' => 'text/vnd.graphviz', + 'gxt' => 'application/vnd.geonext', + 'h' => 'text/x-c', + 'h261' => 'video/h261', + 'h263' => 'video/h263', + 'h264' => 'video/h264', + 'hal' => 'application/vnd.hal+xml', + 'hbci' => 'application/vnd.hbci', + 'hdf' => 'application/x-hdf', + 'hh' => 'text/x-c', + 'hlp' => 'application/winhlp', + 'hpgl' => 'application/vnd.hp-hpgl', + 'hpid' => 'application/vnd.hp-hpid', + 'hps' => 'application/vnd.hp-hps', + 'hqx' => 'application/mac-binhex40', + 'hta' => 'application/octet-stream', + 'htc' => 'text/html', + 'htke' => 'application/vnd.kenameaapp', + 'htm' => 'text/html', + 'html' => 'text/html', + 'hvd' => 'application/vnd.yamaha.hv-dic', + 'hvp' => 'application/vnd.yamaha.hv-voice', + 'hvs' => 'application/vnd.yamaha.hv-script', + 'i2g' => 'application/vnd.intergeo', + 'icc' => 'application/vnd.iccprofile', + 'ice' => 'x-conference/x-cooltalk', + 'icm' => 'application/vnd.iccprofile', + 'ico' => 'image/x-icon', + 'ics' => 'text/calendar', + 'ief' => 'image/ief', + 'ifb' => 'text/calendar', + 'ifm' => 'application/vnd.shana.informed.formdata', + 'iges' => 'model/iges', + 'igl' => 'application/vnd.igloader', + 'igm' => 'application/vnd.insors.igm', + 'igs' => 'model/iges', + 'igx' => 'application/vnd.micrografx.igx', + 'iif' => 'application/vnd.shana.informed.interchange', + 'imp' => 'application/vnd.accpac.simply.imp', + 'ims' => 'application/vnd.ms-ims', + 'in' => 'text/plain', + 'ini' => 'text/plain', + 'ipfix' => 'application/ipfix', + 'ipk' => 'application/vnd.shana.informed.package', + 'irm' => 'application/vnd.ibm.rights-management', + 'irp' => 'application/vnd.irepository.package+xml', + 'iso' => 'application/octet-stream', + 'itp' => 'application/vnd.shana.informed.formtemplate', + 'ivp' => 'application/vnd.immervision-ivp', + 'ivu' => 'application/vnd.immervision-ivu', + 'jad' => 'text/vnd.sun.j2me.app-descriptor', + 'jam' => 'application/vnd.jam', + 'jar' => 'application/java-archive', + 'java' => 'text/x-java-source', + 'jisp' => 'application/vnd.jisp', + 'jlt' => 'application/vnd.hp-jlyt', + 'jnlp' => 'application/x-java-jnlp-file', + 'joda' => 'application/vnd.joost.joda-archive', + 'jpe' => 'image/jpeg', + 'jpeg' => 'image/jpeg', + 'jpg' => 'image/jpeg', + 'jpgm' => 'video/jpm', + 'jpgv' => 'video/jpeg', + 'jpm' => 'video/jpm', + 'js' => 'text/javascript', + 'json' => 'application/json', + 'kar' => 'audio/midi', + 'karbon' => 'application/vnd.kde.karbon', + 'kfo' => 'application/vnd.kde.kformula', + 'kia' => 'application/vnd.kidspiration', + 'kml' => 'application/vnd.google-earth.kml+xml', + 'kmz' => 'application/vnd.google-earth.kmz', + 'kne' => 'application/vnd.kinar', + 'knp' => 'application/vnd.kinar', + 'kon' => 'application/vnd.kde.kontour', + 'kpr' => 'application/vnd.kde.kpresenter', + 'kpt' => 'application/vnd.kde.kpresenter', + 'ksp' => 'application/vnd.kde.kspread', + 'ktr' => 'application/vnd.kahootz', + 'ktx' => 'image/ktx', + 'ktz' => 'application/vnd.kahootz', + 'kwd' => 'application/vnd.kde.kword', + 'kwt' => 'application/vnd.kde.kword', + 'lasxml' => 'application/vnd.las.las+xml', + 'latex' => 'application/x-latex', + 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', + 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', + 'les' => 'application/vnd.hhe.lesson-player', + 'lha' => 'application/octet-stream', + 'link66' => 'application/vnd.route66.link66+xml', + 'list' => 'text/plain', + 'list3820' => 'application/vnd.ibm.modcap', + 'listafp' => 'application/vnd.ibm.modcap', + 'log' => 'text/plain', + 'lostxml' => 'application/lost+xml', + 'lrf' => 'application/octet-stream', + 'lrm' => 'application/vnd.ms-lrm', + 'ltf' => 'application/vnd.frogans.ltf', + 'lvp' => 'audio/vnd.lucent.voice', + 'lwp' => 'application/vnd.lotus-wordpro', + 'lzh' => 'application/octet-stream', + 'm13' => 'application/x-msmediaview', + 'm14' => 'application/x-msmediaview', + 'm1v' => 'video/mpeg', + 'm21' => 'application/mp21', + 'm2a' => 'audio/mpeg', + 'm2v' => 'video/mpeg', + 'm3a' => 'audio/mpeg', + 'm3u' => 'audio/x-mpegurl', + 'm3u8' => 'application/vnd.apple.mpegurl', + 'm4a' => 'audio/mp4', + 'm4u' => 'video/vnd.mpegurl', + 'm4v' => 'video/mp4', + 'ma' => 'application/mathematica', + 'mads' => 'application/mads+xml', + 'mag' => 'application/vnd.ecowin.chart', + 'maker' => 'application/vnd.framemaker', + 'man' => 'text/troff', + 'mathml' => 'application/mathml+xml', + 'mb' => 'application/mathematica', + 'mbk' => 'application/vnd.mobius.mbk', + 'mbox' => 'application/mbox', + 'mc1' => 'application/vnd.medcalcdata', + 'mcd' => 'application/vnd.mcd', + 'mcurl' => 'text/vnd.curl.mcurl', + 'mdb' => 'application/x-msaccess', + 'mdi' => 'image/vnd.ms-modi', + 'me' => 'text/troff', + 'mesh' => 'model/mesh', + 'meta4' => 'application/metalink4+xml', + 'mets' => 'application/mets+xml', + 'mfm' => 'application/vnd.mfmp', + 'mgp' => 'application/vnd.osgeo.mapguide.package', + 'mgz' => 'application/vnd.proteus.magazine', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mif' => 'application/vnd.mif', + 'mime' => 'message/rfc822', + 'mj2' => 'video/mj2', + 'mjp2' => 'video/mj2', + 'mlp' => 'application/vnd.dolby.mlp', + 'mmd' => 'application/vnd.chipnuts.karaoke-mmd', + 'mmf' => 'application/vnd.smaf', + 'mmr' => 'image/vnd.fujixerox.edmics-mmr', + 'mny' => 'application/x-msmoney', + 'mobi' => 'application/x-mobipocket-ebook', + 'mods' => 'application/mods+xml', + 'mov' => 'video/quicktime', + 'movie' => 'video/x-sgi-movie', + 'mp2' => 'audio/mpeg', + 'mp21' => 'application/mp21', + 'mp2a' => 'audio/mpeg', + 'mp3' => 'audio/mpeg', + 'mp4' => 'video/mp4', + 'mp4a' => 'audio/mp4', + 'mp4s' => 'application/mp4', + 'mp4v' => 'video/mp4', + 'mpc' => 'application/vnd.mophun.certificate', + 'mpe' => 'video/mpeg', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpg4' => 'video/mp4', + 'mpga' => 'audio/mpeg', + 'mpkg' => 'application/vnd.apple.installer+xml', + 'mpm' => 'application/vnd.blueice.multipass', + 'mpn' => 'application/vnd.mophun.application', + 'mpp' => 'application/vnd.ms-project', + 'mpt' => 'application/vnd.ms-project', + 'mpy' => 'application/vnd.ibm.minipay', + 'mqy' => 'application/vnd.mobius.mqy', + 'mrc' => 'application/marc', + 'mrcx' => 'application/marcxml+xml', + 'ms' => 'text/troff', + 'mscml' => 'application/mediaservercontrol+xml', + 'mseed' => 'application/vnd.fdsn.mseed', + 'mseq' => 'application/vnd.mseq', + 'msf' => 'application/vnd.epson.msf', + 'msh' => 'model/mesh', + 'msi' => 'application/x-msdownload', + 'msl' => 'application/vnd.mobius.msl', + 'msty' => 'application/vnd.muvee.style', + 'mts' => 'model/vnd.mts', + 'mus' => 'application/vnd.musician', + 'musicxml' => 'application/vnd.recordare.musicxml+xml', + 'mvb' => 'application/x-msmediaview', + 'mwf' => 'application/vnd.mfer', + 'mxf' => 'application/mxf', + 'mxl' => 'application/vnd.recordare.musicxml', + 'mxml' => 'application/xv+xml', + 'mxs' => 'application/vnd.triscape.mxs', + 'mxu' => 'video/vnd.mpegurl', + 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', + 'n3' => 'text/n3', + 'nb' => 'application/mathematica', + 'nbp' => 'application/vnd.wolfram.player', + 'nc' => 'application/x-netcdf', + 'ncx' => 'application/x-dtbncx+xml', + 'ngdat' => 'application/vnd.nokia.n-gage.data', + 'nlu' => 'application/vnd.neurolanguage.nlu', + 'nml' => 'application/vnd.enliven', + 'nnd' => 'application/vnd.noblenet-directory', + 'nns' => 'application/vnd.noblenet-sealer', + 'nnw' => 'application/vnd.noblenet-web', + 'npx' => 'image/vnd.net-fpx', + 'nsf' => 'application/vnd.lotus-notes', + 'oa2' => 'application/vnd.fujitsu.oasys2', + 'oa3' => 'application/vnd.fujitsu.oasys3', + 'oas' => 'application/vnd.fujitsu.oasys', + 'obd' => 'application/x-msbinder', + 'oda' => 'application/oda', + 'odb' => 'application/vnd.oasis.opendocument.database', + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'odf' => 'application/vnd.oasis.opendocument.formula', + 'odft' => 'application/vnd.oasis.opendocument.formula-template', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'odi' => 'application/vnd.oasis.opendocument.image', + 'odm' => 'application/vnd.oasis.opendocument.text-master', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'odt' => 'application/vnd.oasis.opendocument.text', + 'oga' => 'audio/ogg', + 'ogg' => 'audio/ogg', + 'ogv' => 'video/ogg', + 'ogx' => 'application/ogg', + 'onepkg' => 'application/onenote', + 'onetmp' => 'application/onenote', + 'onetoc' => 'application/onenote', + 'onetoc2' => 'application/onenote', + 'opf' => 'application/oebps-package+xml', + 'oprc' => 'application/vnd.palm', + 'org' => 'application/vnd.lotus-organizer', + 'osf' => 'application/vnd.yamaha.openscoreformat', + 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + 'otc' => 'application/vnd.oasis.opendocument.chart-template', + 'otf' => 'application/x-font-otf', + 'otg' => 'application/vnd.oasis.opendocument.graphics-template', + 'oth' => 'application/vnd.oasis.opendocument.text-web', + 'oti' => 'application/vnd.oasis.opendocument.image-template', + 'otp' => 'application/vnd.oasis.opendocument.presentation-template', + 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', + 'ott' => 'application/vnd.oasis.opendocument.text-template', + 'oxt' => 'application/vnd.openofficeorg.extension', + 'p' => 'text/x-pascal', + 'p10' => 'application/pkcs10', + 'p12' => 'application/x-pkcs12', + 'p7b' => 'application/x-pkcs7-certificates', + 'p7c' => 'application/pkcs7-mime', + 'p7m' => 'application/pkcs7-mime', + 'p7r' => 'application/x-pkcs7-certreqresp', + 'p7s' => 'application/pkcs7-signature', + 'p8' => 'application/pkcs8', + 'pas' => 'text/x-pascal', + 'paw' => 'application/vnd.pawaafile', + 'pbd' => 'application/vnd.powerbuilder6', + 'pbm' => 'image/x-portable-bitmap', + 'pcf' => 'application/x-font-pcf', + 'pcl' => 'application/vnd.hp-pcl', + 'pclxl' => 'application/vnd.hp-pclxl', + 'pct' => 'image/x-pict', + 'pcurl' => 'application/vnd.curl.pcurl', + 'pcx' => 'image/x-pcx', + 'pdb' => 'application/vnd.palm', + 'pdf' => 'application/pdf', + 'pfa' => 'application/x-font-type1', + 'pfb' => 'application/x-font-type1', + 'pfm' => 'application/x-font-type1', + 'pfr' => 'application/font-tdpfr', + 'pfx' => 'application/x-pkcs12', + 'pgm' => 'image/x-portable-graymap', + 'pgn' => 'application/x-chess-pgn', + 'pgp' => 'application/pgp-encrypted', + 'php' => 'text/x-php', + 'phps' => 'application/x-httpd-phps', + 'pic' => 'image/x-pict', + 'pkg' => 'application/octet-stream', + 'pki' => 'application/pkixcmp', + 'pkipath' => 'application/pkix-pkipath', + 'plb' => 'application/vnd.3gpp.pic-bw-large', + 'plc' => 'application/vnd.mobius.plc', + 'plf' => 'application/vnd.pocketlearn', + 'pls' => 'application/pls+xml', + 'pml' => 'application/vnd.ctc-posml', + 'png' => 'image/png', + 'pnm' => 'image/x-portable-anymap', + 'portpkg' => 'application/vnd.macports.portpkg', + 'pot' => 'application/vnd.ms-powerpoint', + 'potm' => 'application/vnd.ms-powerpoint.template.macroenabled.12', + 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', + 'ppam' => 'application/vnd.ms-powerpoint.addin.macroenabled.12', + 'ppd' => 'application/vnd.cups-ppd', + 'ppm' => 'image/x-portable-pixmap', + 'pps' => 'application/vnd.ms-powerpoint', + 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', + 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + 'ppt' => 'application/vnd.ms-powerpoint', + 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroenabled.12', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'pqa' => 'application/vnd.palm', + 'prc' => 'application/x-mobipocket-ebook', + 'pre' => 'application/vnd.lotus-freelance', + 'prf' => 'application/pics-rules', + 'ps' => 'application/postscript', + 'psb' => 'application/vnd.3gpp.pic-bw-small', + 'psd' => 'image/vnd.adobe.photoshop', + 'psf' => 'application/x-font-linux-psf', + 'pskcxml' => 'application/pskc+xml', + 'ptid' => 'application/vnd.pvi.ptid1', + 'pub' => 'application/x-mspublisher', + 'pvb' => 'application/vnd.3gpp.pic-bw-var', + 'pwn' => 'application/vnd.3m.post-it-notes', + 'pya' => 'audio/vnd.ms-playready.media.pya', + 'pyv' => 'video/vnd.ms-playready.media.pyv', + 'qam' => 'application/vnd.epson.quickanime', + 'qbo' => 'application/vnd.intu.qbo', + 'qfx' => 'application/vnd.intu.qfx', + 'qps' => 'application/vnd.publishare-delta-tree', + 'qt' => 'video/quicktime', + 'qwd' => 'application/vnd.quark.quarkxpress', + 'qwt' => 'application/vnd.quark.quarkxpress', + 'qxb' => 'application/vnd.quark.quarkxpress', + 'qxd' => 'application/vnd.quark.quarkxpress', + 'qxl' => 'application/vnd.quark.quarkxpress', + 'qxt' => 'application/vnd.quark.quarkxpress', + 'ra' => 'audio/x-pn-realaudio', + 'ram' => 'audio/x-pn-realaudio', + 'rar' => 'application/x-rar-compressed', + 'ras' => 'image/x-cmu-raster', + 'rb' => 'text/plain', + 'rcprofile' => 'application/vnd.ipunplugged.rcprofile', + 'rdf' => 'application/rdf+xml', + 'rdz' => 'application/vnd.data-vision.rdz', + 'rep' => 'application/vnd.businessobjects', + 'res' => 'application/x-dtbresource+xml', + 'resx' => 'text/xml', + 'rgb' => 'image/x-rgb', + 'rif' => 'application/reginfo+xml', + 'rip' => 'audio/vnd.rip', + 'rl' => 'application/resource-lists+xml', + 'rlc' => 'image/vnd.fujixerox.edmics-rlc', + 'rld' => 'application/resource-lists-diff+xml', + 'rm' => 'application/vnd.rn-realmedia', + 'rmi' => 'audio/midi', + 'rmp' => 'audio/x-pn-realaudio-plugin', + 'rms' => 'application/vnd.jcp.javame.midlet-rms', + 'rnc' => 'application/relax-ng-compact-syntax', + 'roff' => 'text/troff', + 'rp9' => 'application/vnd.cloanto.rp9', + 'rpss' => 'application/vnd.nokia.radio-presets', + 'rpst' => 'application/vnd.nokia.radio-preset', + 'rq' => 'application/sparql-query', + 'rs' => 'application/rls-services+xml', + 'rsd' => 'application/rsd+xml', + 'rss' => 'application/rss+xml', + 'rtf' => 'application/rtf', + 'rtx' => 'text/richtext', + 's' => 'text/x-asm', + 'saf' => 'application/vnd.yamaha.smaf-audio', + 'sbml' => 'application/sbml+xml', + 'sc' => 'application/vnd.ibm.secure-container', + 'scd' => 'application/x-msschedule', + 'scm' => 'application/vnd.lotus-screencam', + 'scq' => 'application/scvp-cv-request', + 'scs' => 'application/scvp-cv-response', + 'scurl' => 'text/vnd.curl.scurl', + 'sda' => 'application/vnd.stardivision.draw', + 'sdc' => 'application/vnd.stardivision.calc', + 'sdd' => 'application/vnd.stardivision.impress', + 'sdkd' => 'application/vnd.solent.sdkm+xml', + 'sdkm' => 'application/vnd.solent.sdkm+xml', + 'sdp' => 'application/sdp', + 'sdw' => 'application/vnd.stardivision.writer', + 'see' => 'application/vnd.seemail', + 'seed' => 'application/vnd.fdsn.seed', + 'sema' => 'application/vnd.sema', + 'semd' => 'application/vnd.semd', + 'semf' => 'application/vnd.semf', + 'ser' => 'application/java-serialized-object', + 'setpay' => 'application/set-payment-initiation', + 'setreg' => 'application/set-registration-initiation', + 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', + 'sfs' => 'application/vnd.spotfire.sfs', + 'sgl' => 'application/vnd.stardivision.writer-global', + 'sgm' => 'text/sgml', + 'sgml' => 'text/sgml', + 'sh' => 'application/x-sh', + 'shar' => 'application/x-shar', + 'shf' => 'application/shf+xml', + 'sig' => 'application/pgp-signature', + 'silo' => 'model/mesh', + 'sis' => 'application/vnd.symbian.install', + 'sisx' => 'application/vnd.symbian.install', + 'sit' => 'application/x-stuffit', + 'sitx' => 'application/x-stuffitx', + 'skd' => 'application/vnd.koan', + 'skm' => 'application/vnd.koan', + 'skp' => 'application/vnd.koan', + 'skt' => 'application/vnd.koan', + 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', + 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', + 'slt' => 'application/vnd.epson.salt', + 'sm' => 'application/vnd.stepmania.stepchart', + 'smf' => 'application/vnd.stardivision.math', + 'smi' => 'application/smil+xml', + 'smil' => 'application/smil+xml', + 'snd' => 'audio/basic', + 'snf' => 'application/x-font-snf', + 'so' => 'application/octet-stream', + 'spc' => 'application/x-pkcs7-certificates', + 'spf' => 'application/vnd.yamaha.smaf-phrase', + 'spl' => 'application/x-futuresplash', + 'spot' => 'text/vnd.in3d.spot', + 'spp' => 'application/scvp-vp-response', + 'spq' => 'application/scvp-vp-request', + 'spx' => 'audio/ogg', + 'src' => 'application/x-wais-source', + 'srt' => 'application/octet-stream', + 'sru' => 'application/sru+xml', + 'srx' => 'application/sparql-results+xml', + 'sse' => 'application/vnd.kodak-descriptor', + 'ssf' => 'application/vnd.epson.ssf', + 'ssml' => 'application/ssml+xml', + 'st' => 'application/vnd.sailingtracker.track', + 'stc' => 'application/vnd.sun.xml.calc.template', + 'std' => 'application/vnd.sun.xml.draw.template', + 'stf' => 'application/vnd.wt.stf', + 'sti' => 'application/vnd.sun.xml.impress.template', + 'stk' => 'application/hyperstudio', + 'stl' => 'application/vnd.ms-pki.stl', + 'str' => 'application/vnd.pg.format', + 'stw' => 'application/vnd.sun.xml.writer.template', + 'sub' => 'image/vnd.dvb.subtitle', + 'sus' => 'application/vnd.sus-calendar', + 'susp' => 'application/vnd.sus-calendar', + 'sv4cpio' => 'application/x-sv4cpio', + 'sv4crc' => 'application/x-sv4crc', + 'svc' => 'application/vnd.dvb.service', + 'svd' => 'application/vnd.svd', + 'svg' => 'image/svg+xml', + 'svgz' => 'image/svg+xml', + 'swa' => 'application/x-director', + 'swf' => 'application/x-shockwave-flash', + 'swi' => 'application/vnd.aristanetworks.swi', + 'sxc' => 'application/vnd.sun.xml.calc', + 'sxd' => 'application/vnd.sun.xml.draw', + 'sxg' => 'application/vnd.sun.xml.writer.global', + 'sxi' => 'application/vnd.sun.xml.impress', + 'sxm' => 'application/vnd.sun.xml.math', + 'sxw' => 'application/vnd.sun.xml.writer', + 't' => 'text/troff', + 'tao' => 'application/vnd.tao.intent-module-archive', + 'tar' => 'application/x-tar', + 'tcap' => 'application/vnd.3gpp2.tcap', + 'tcl' => 'application/x-tcl', + 'teacher' => 'application/vnd.smart.teacher', + 'tei' => 'application/tei+xml', + 'teicorpus' => 'application/tei+xml', + 'tex' => 'application/x-tex', + 'texi' => 'application/x-texinfo', + 'texinfo' => 'application/x-texinfo', + 'text' => 'text/plain', + 'tfi' => 'application/thraud+xml', + 'tfm' => 'application/x-tex-tfm', + 'thmx' => 'application/vnd.ms-officetheme', + 'tif' => 'image/tiff', + 'tiff' => 'image/tiff', + 'tmo' => 'application/vnd.tmobile-livetv', + 'torrent' => 'application/x-bittorrent', + 'tpl' => 'application/vnd.groove-tool-template', + 'tpt' => 'application/vnd.trid.tpt', + 'tr' => 'text/troff', + 'tra' => 'application/vnd.trueapp', + 'trm' => 'application/x-msterminal', + 'tsd' => 'application/timestamped-data', + 'tsv' => 'text/tab-separated-values', + 'ttc' => 'application/x-font-ttf', + 'ttf' => 'application/x-font-ttf', + 'ttl' => 'text/turtle', + 'twd' => 'application/vnd.simtech-mindmapper', + 'twds' => 'application/vnd.simtech-mindmapper', + 'txd' => 'application/vnd.genomatix.tuxedo', + 'txf' => 'application/vnd.mobius.txf', + 'txt' => 'text/plain', + 'u32' => 'application/x-authorware-bin', + 'udeb' => 'application/x-debian-package', + 'ufd' => 'application/vnd.ufdl', + 'ufdl' => 'application/vnd.ufdl', + 'umj' => 'application/vnd.umajin', + 'unityweb' => 'application/vnd.unity', + 'uoml' => 'application/vnd.uoml+xml', + 'uri' => 'text/uri-list', + 'uris' => 'text/uri-list', + 'urls' => 'text/uri-list', + 'ustar' => 'application/x-ustar', + 'utz' => 'application/vnd.uiq.theme', + 'uu' => 'text/x-uuencode', + 'uva' => 'audio/vnd.dece.audio', + 'uvd' => 'application/vnd.dece.data', + 'uvf' => 'application/vnd.dece.data', + 'uvg' => 'image/vnd.dece.graphic', + 'uvh' => 'video/vnd.dece.hd', + 'uvi' => 'image/vnd.dece.graphic', + 'uvm' => 'video/vnd.dece.mobile', + 'uvp' => 'video/vnd.dece.pd', + 'uvs' => 'video/vnd.dece.sd', + 'uvt' => 'application/vnd.dece.ttml+xml', + 'uvu' => 'video/vnd.uvvu.mp4', + 'uvv' => 'video/vnd.dece.video', + 'uvva' => 'audio/vnd.dece.audio', + 'uvvd' => 'application/vnd.dece.data', + 'uvvf' => 'application/vnd.dece.data', + 'uvvg' => 'image/vnd.dece.graphic', + 'uvvh' => 'video/vnd.dece.hd', + 'uvvi' => 'image/vnd.dece.graphic', + 'uvvm' => 'video/vnd.dece.mobile', + 'uvvp' => 'video/vnd.dece.pd', + 'uvvs' => 'video/vnd.dece.sd', + 'uvvt' => 'application/vnd.dece.ttml+xml', + 'uvvu' => 'video/vnd.uvvu.mp4', + 'uvvv' => 'video/vnd.dece.video', + 'uvvx' => 'application/vnd.dece.unspecified', + 'uvx' => 'application/vnd.dece.unspecified', + 'vcd' => 'application/x-cdlink', + 'vcf' => 'text/x-vcard', + 'vcg' => 'application/vnd.groove-vcard', + 'vcs' => 'text/x-vcalendar', + 'vcx' => 'application/vnd.vcx', + 'vis' => 'application/vnd.visionary', + 'viv' => 'video/vnd.vivo', + 'vor' => 'application/vnd.stardivision.writer', + 'vox' => 'application/x-authorware-bin', + 'vrml' => 'model/vrml', + 'vsd' => 'application/vnd.visio', + 'vsf' => 'application/vnd.vsf', + 'vss' => 'application/vnd.visio', + 'vst' => 'application/vnd.visio', + 'vsw' => 'application/vnd.visio', + 'vtu' => 'model/vnd.vtu', + 'vxml' => 'application/voicexml+xml', + 'w3d' => 'application/x-director', + 'wad' => 'application/x-doom', + 'wav' => 'audio/x-wav', + 'wax' => 'audio/x-ms-wax', + 'wbmp' => 'image/vnd.wap.wbmp', + 'wbs' => 'application/vnd.criticaltools.wbs+xml', + 'wbxml' => 'application/vnd.wap.wbxml', + 'wcm' => 'application/vnd.ms-works', + 'wdb' => 'application/vnd.ms-works', + 'weba' => 'audio/webm', + 'webm' => 'video/webm', + 'webp' => 'image/webp', + 'wg' => 'application/vnd.pmi.widget', + 'wgt' => 'application/widget', + 'wks' => 'application/vnd.ms-works', + 'wm' => 'video/x-ms-wm', + 'wma' => 'audio/x-ms-wma', + 'wmd' => 'application/x-ms-wmd', + 'wmf' => 'application/x-msmetafile', + 'wml' => 'text/vnd.wap.wml', + 'wmlc' => 'application/vnd.wap.wmlc', + 'wmls' => 'text/vnd.wap.wmlscript', + 'wmlsc' => 'application/vnd.wap.wmlscriptc', + 'wmv' => 'video/x-ms-wmv', + 'wmx' => 'video/x-ms-wmx', + 'wmz' => 'application/x-ms-wmz', + 'woff' => 'application/x-font-woff', + 'wpd' => 'application/vnd.wordperfect', + 'wpl' => 'application/vnd.ms-wpl', + 'wps' => 'application/vnd.ms-works', + 'wqd' => 'application/vnd.wqd', + 'wri' => 'application/x-mswrite', + 'wrl' => 'model/vrml', + 'wsdl' => 'application/wsdl+xml', + 'wspolicy' => 'application/wspolicy+xml', + 'wtb' => 'application/vnd.webturbo', + 'wvx' => 'video/x-ms-wvx', + 'x32' => 'application/x-authorware-bin', + 'x3d' => 'application/vnd.hzn-3d-crossword', + 'xap' => 'application/x-silverlight-app', + 'xar' => 'application/vnd.xara', + 'xbap' => 'application/x-ms-xbap', + 'xbd' => 'application/vnd.fujixerox.docuworks.binder', + 'xbm' => 'image/x-xbitmap', + 'xdf' => 'application/xcap-diff+xml', + 'xdm' => 'application/vnd.syncml.dm+xml', + 'xdp' => 'application/vnd.adobe.xdp+xml', + 'xdssc' => 'application/dssc+xml', + 'xdw' => 'application/vnd.fujixerox.docuworks', + 'xenc' => 'application/xenc+xml', + 'xer' => 'application/patch-ops-error+xml', + 'xfdf' => 'application/vnd.adobe.xfdf', + 'xfdl' => 'application/vnd.xfdl', + 'xht' => 'application/xhtml+xml', + 'xhtml' => 'application/xhtml+xml', + 'xhvml' => 'application/xv+xml', + 'xif' => 'image/vnd.xiff', + 'xla' => 'application/vnd.ms-excel', + 'xlam' => 'application/vnd.ms-excel.addin.macroenabled.12', + 'xlc' => 'application/vnd.ms-excel', + 'xlm' => 'application/vnd.ms-excel', + 'xls' => 'application/vnd.ms-excel', + 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroenabled.12', + 'xlsm' => 'application/vnd.ms-excel.sheet.macroenabled.12', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'xlt' => 'application/vnd.ms-excel', + 'xltm' => 'application/vnd.ms-excel.template.macroenabled.12', + 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + 'xlw' => 'application/vnd.ms-excel', + 'xml' => 'application/xml', + 'xo' => 'application/vnd.olpc-sugar', + 'xop' => 'application/xop+xml', + 'xpi' => 'application/x-xpinstall', + 'xpm' => 'image/x-xpixmap', + 'xpr' => 'application/vnd.is-xpr', + 'xps' => 'application/vnd.ms-xpsdocument', + 'xpw' => 'application/vnd.intercon.formnet', + 'xpx' => 'application/vnd.intercon.formnet', + 'xsl' => 'application/xml', + 'xslt' => 'application/xslt+xml', + 'xsm' => 'application/vnd.syncml+xml', + 'xspf' => 'application/xspf+xml', + 'xul' => 'application/vnd.mozilla.xul+xml', + 'xvm' => 'application/xv+xml', + 'xvml' => 'application/xv+xml', + 'xwd' => 'image/x-xwindowdump', + 'xyz' => 'chemical/x-xyz', + 'yaml' => 'text/yaml', + 'yang' => 'application/yang', + 'yin' => 'application/yin+xml', + 'yml' => 'text/yaml', + 'zaz' => 'application/vnd.zzazz.deck+xml', + 'zip' => 'application/zip', + 'zir' => 'application/vnd.zul', + 'zirz' => 'application/vnd.zul', + 'zmm' => 'application/vnd.handheld-entertainment+xml' + ]; + + /** + * Get a singleton instance of the class + * + * @return self + * @codeCoverageIgnore + */ + public static function getInstance() + { + if (!self::$instance) { + self::$instance = new self(); + } + + return self::$instance; + } + + /** + * Get a mimetype value from a file extension + * + * @param string $extension File extension + * + * @return string|null + */ + public function fromExtension($extension) + { + $extension = strtolower($extension); + + return isset($this->mimetypes[$extension]) ? $this->mimetypes[$extension] : null; + } + + /** + * Get a mimetype from a filename + * + * @param string $filename Filename to generate a mimetype from + * + * @return string|null + */ + public function fromFilename($filename) + { + return $this->fromExtension(pathinfo($filename, PATHINFO_EXTENSION)); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/Birthday.php b/mayor-orig/www/include/share/facebook/GraphNodes/Birthday.php new file mode 100644 index 00000000..4338b65e --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/Birthday.php @@ -0,0 +1,85 @@ +hasYear = count($parts) === 3 || count($parts) === 1; + $this->hasDate = count($parts) === 3 || count($parts) === 2; + + parent::__construct($date); + } + + /** + * Returns whether date object contains birth day and month + * + * @return bool + */ + public function hasDate() + { + return $this->hasDate; + } + + /** + * Returns whether date object contains birth year + * + * @return bool + */ + public function hasYear() + { + return $this->hasYear; + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/Collection.php b/mayor-orig/www/include/share/facebook/GraphNodes/Collection.php new file mode 100644 index 00000000..424b7cf3 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/Collection.php @@ -0,0 +1,242 @@ +items = $items; + } + + /** + * Gets the value of a field from the Graph node. + * + * @param string $name The field to retrieve. + * @param mixed $default The default to return if the field doesn't exist. + * + * @return mixed + */ + public function getField($name, $default = null) + { + if (isset($this->items[$name])) { + return $this->items[$name]; + } + + return $default; + } + + /** + * Gets the value of the named property for this graph object. + * + * @param string $name The property to retrieve. + * @param mixed $default The default to return if the property doesn't exist. + * + * @return mixed + * + * @deprecated 5.0.0 getProperty() has been renamed to getField() + * @todo v6: Remove this method + */ + public function getProperty($name, $default = null) + { + return $this->getField($name, $default); + } + + /** + * Returns a list of all fields set on the object. + * + * @return array + */ + public function getFieldNames() + { + return array_keys($this->items); + } + + /** + * Returns a list of all properties set on the object. + * + * @return array + * + * @deprecated 5.0.0 getPropertyNames() has been renamed to getFieldNames() + * @todo v6: Remove this method + */ + public function getPropertyNames() + { + return $this->getFieldNames(); + } + + /** + * Get all of the items in the collection. + * + * @return array + */ + public function all() + { + return $this->items; + } + + /** + * Get the collection of items as a plain array. + * + * @return array + */ + public function asArray() + { + return array_map(function ($value) { + return $value instanceof Collection ? $value->asArray() : $value; + }, $this->items); + } + + /** + * Run a map over each of the items. + * + * @param \Closure $callback + * + * @return static + */ + public function map(\Closure $callback) + { + return new static(array_map($callback, $this->items, array_keys($this->items))); + } + + /** + * Get the collection of items as JSON. + * + * @param int $options + * + * @return string + */ + public function asJson($options = 0) + { + return json_encode($this->asArray(), $options); + } + + /** + * Count the number of items in the collection. + * + * @return int + */ + public function count() + { + return count($this->items); + } + + /** + * Get an iterator for the items. + * + * @return ArrayIterator + */ + public function getIterator() + { + return new ArrayIterator($this->items); + } + + /** + * Determine if an item exists at an offset. + * + * @param mixed $key + * + * @return bool + */ + public function offsetExists($key) + { + return array_key_exists($key, $this->items); + } + + /** + * Get an item at a given offset. + * + * @param mixed $key + * + * @return mixed + */ + public function offsetGet($key) + { + return $this->items[$key]; + } + + /** + * Set the item at a given offset. + * + * @param mixed $key + * @param mixed $value + * + * @return void + */ + public function offsetSet($key, $value) + { + if (is_null($key)) { + $this->items[] = $value; + } else { + $this->items[$key] = $value; + } + } + + /** + * Unset the item at a given offset. + * + * @param string $key + * + * @return void + */ + public function offsetUnset($key) + { + unset($this->items[$key]); + } + + /** + * Convert the collection to its string representation. + * + * @return string + */ + public function __toString() + { + return $this->asJson(); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphAchievement.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphAchievement.php new file mode 100644 index 00000000..31508ee4 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphAchievement.php @@ -0,0 +1,112 @@ + '\Facebook\GraphNodes\GraphUser', + 'application' => '\Facebook\GraphNodes\GraphApplication', + ]; + + /** + * Returns the ID for the achievement. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns the user who achieved this. + * + * @return GraphUser|null + */ + public function getFrom() + { + return $this->getField('from'); + } + + /** + * Returns the time at which this was achieved. + * + * @return \DateTime|null + */ + public function getPublishTime() + { + return $this->getField('publish_time'); + } + + /** + * Returns the app in which the user achieved this. + * + * @return GraphApplication|null + */ + public function getApplication() + { + return $this->getField('application'); + } + + /** + * Returns information about the achievement type this instance is connected with. + * + * @return array|null + */ + public function getData() + { + return $this->getField('data'); + } + + /** + * Returns the type of achievement. + * + * @see https://developers.facebook.com/docs/graph-api/reference/achievement + * + * @return string + */ + public function getType() + { + return 'game.achievement'; + } + + /** + * Indicates whether gaining the achievement published a feed story for the user. + * + * @return boolean|null + */ + public function isNoFeedStory() + { + return $this->getField('no_feed_story'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphAlbum.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphAlbum.php new file mode 100644 index 00000000..52f19b51 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphAlbum.php @@ -0,0 +1,183 @@ + '\Facebook\GraphNodes\GraphUser', + 'place' => '\Facebook\GraphNodes\GraphPage', + ]; + + /** + * Returns the ID for the album. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns whether the viewer can upload photos to this album. + * + * @return boolean|null + */ + public function getCanUpload() + { + return $this->getField('can_upload'); + } + + /** + * Returns the number of photos in this album. + * + * @return int|null + */ + public function getCount() + { + return $this->getField('count'); + } + + /** + * Returns the ID of the album's cover photo. + * + * @return string|null + */ + public function getCoverPhoto() + { + return $this->getField('cover_photo'); + } + + /** + * Returns the time the album was initially created. + * + * @return \DateTime|null + */ + public function getCreatedTime() + { + return $this->getField('created_time'); + } + + /** + * Returns the time the album was updated. + * + * @return \DateTime|null + */ + public function getUpdatedTime() + { + return $this->getField('updated_time'); + } + + /** + * Returns the description of the album. + * + * @return string|null + */ + public function getDescription() + { + return $this->getField('description'); + } + + /** + * Returns profile that created the album. + * + * @return GraphUser|null + */ + public function getFrom() + { + return $this->getField('from'); + } + + /** + * Returns profile that created the album. + * + * @return GraphPage|null + */ + public function getPlace() + { + return $this->getField('place'); + } + + /** + * Returns a link to this album on Facebook. + * + * @return string|null + */ + public function getLink() + { + return $this->getField('link'); + } + + /** + * Returns the textual location of the album. + * + * @return string|null + */ + public function getLocation() + { + return $this->getField('location'); + } + + /** + * Returns the title of the album. + * + * @return string|null + */ + public function getName() + { + return $this->getField('name'); + } + + /** + * Returns the privacy settings for the album. + * + * @return string|null + */ + public function getPrivacy() + { + return $this->getField('privacy'); + } + + /** + * Returns the type of the album. + * + * enum{ profile, mobile, wall, normal, album } + * + * @return string|null + */ + public function getType() + { + return $this->getField('type'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphApplication.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphApplication.php new file mode 100644 index 00000000..aa07c825 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphApplication.php @@ -0,0 +1,43 @@ +getField('id'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php new file mode 100644 index 00000000..824275bb --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphCoverPhoto.php @@ -0,0 +1,72 @@ +getField('id'); + } + + /** + * Returns the source of cover if it exists + * + * @return string|null + */ + public function getSource() + { + return $this->getField('source'); + } + + /** + * Returns the offset_x of cover if it exists + * + * @return int|null + */ + public function getOffsetX() + { + return $this->getField('offset_x'); + } + + /** + * Returns the offset_y of cover if it exists + * + * @return int|null + */ + public function getOffsetY() + { + return $this->getField('offset_y'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphEdge.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphEdge.php new file mode 100644 index 00000000..f6f4970c --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphEdge.php @@ -0,0 +1,252 @@ +request = $request; + $this->metaData = $metaData; + $this->parentEdgeEndpoint = $parentEdgeEndpoint; + $this->subclassName = $subclassName; + + parent::__construct($data); + } + + /** + * Gets the parent Graph edge endpoint that generated the list. + * + * @return string|null + */ + public function getParentGraphEdge() + { + return $this->parentEdgeEndpoint; + } + + /** + * Gets the subclass name that the child GraphNode's are cast as. + * + * @return string|null + */ + public function getSubClassName() + { + return $this->subclassName; + } + + /** + * Returns the raw meta data associated with this GraphEdge. + * + * @return array + */ + public function getMetaData() + { + return $this->metaData; + } + + /** + * Returns the next cursor if it exists. + * + * @return string|null + */ + public function getNextCursor() + { + return $this->getCursor('after'); + } + + /** + * Returns the previous cursor if it exists. + * + * @return string|null + */ + public function getPreviousCursor() + { + return $this->getCursor('before'); + } + + /** + * Returns the cursor for a specific direction if it exists. + * + * @param string $direction The direction of the page: after|before + * + * @return string|null + */ + public function getCursor($direction) + { + if (isset($this->metaData['paging']['cursors'][$direction])) { + return $this->metaData['paging']['cursors'][$direction]; + } + + return null; + } + + /** + * Generates a pagination URL based on a cursor. + * + * @param string $direction The direction of the page: next|previous + * + * @return string|null + * + * @throws FacebookSDKException + */ + public function getPaginationUrl($direction) + { + $this->validateForPagination(); + + // Do we have a paging URL? + if (!isset($this->metaData['paging'][$direction])) { + return null; + } + + $pageUrl = $this->metaData['paging'][$direction]; + + return FacebookUrlManipulator::baseGraphUrlEndpoint($pageUrl); + } + + /** + * Validates whether or not we can paginate on this request. + * + * @throws FacebookSDKException + */ + public function validateForPagination() + { + if ($this->request->getMethod() !== 'GET') { + throw new FacebookSDKException('You can only paginate on a GET request.', 720); + } + } + + /** + * Gets the request object needed to make a next|previous page request. + * + * @param string $direction The direction of the page: next|previous + * + * @return FacebookRequest|null + * + * @throws FacebookSDKException + */ + public function getPaginationRequest($direction) + { + $pageUrl = $this->getPaginationUrl($direction); + if (!$pageUrl) { + return null; + } + + $newRequest = clone $this->request; + $newRequest->setEndpoint($pageUrl); + + return $newRequest; + } + + /** + * Gets the request object needed to make a "next" page request. + * + * @return FacebookRequest|null + * + * @throws FacebookSDKException + */ + public function getNextPageRequest() + { + return $this->getPaginationRequest('next'); + } + + /** + * Gets the request object needed to make a "previous" page request. + * + * @return FacebookRequest|null + * + * @throws FacebookSDKException + */ + public function getPreviousPageRequest() + { + return $this->getPaginationRequest('previous'); + } + + /** + * The total number of results according to Graph if it exists. + * + * This will be returned if the summary=true modifier is present in the request. + * + * @return int|null + */ + public function getTotalCount() + { + if (isset($this->metaData['summary']['total_count'])) { + return $this->metaData['summary']['total_count']; + } + + return null; + } + + /** + * @inheritDoc + */ + public function map(\Closure $callback) + { + return new static( + $this->request, + array_map($callback, $this->items, array_keys($this->items)), + $this->metaData, + $this->parentEdgeEndpoint, + $this->subclassName + ); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphEvent.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphEvent.php new file mode 100644 index 00000000..a470d89f --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphEvent.php @@ -0,0 +1,242 @@ + '\Facebook\GraphNodes\GraphCoverPhoto', + 'place' => '\Facebook\GraphNodes\GraphPage', + 'picture' => '\Facebook\GraphNodes\GraphPicture', + 'parent_group' => '\Facebook\GraphNodes\GraphGroup', + ]; + + /** + * Returns the `id` (The event ID) as string if present. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns the `cover` (Cover picture) as GraphCoverPhoto if present. + * + * @return GraphCoverPhoto|null + */ + public function getCover() + { + return $this->getField('cover'); + } + + /** + * Returns the `description` (Long-form description) as string if present. + * + * @return string|null + */ + public function getDescription() + { + return $this->getField('description'); + } + + /** + * Returns the `end_time` (End time, if one has been set) as DateTime if present. + * + * @return \DateTime|null + */ + public function getEndTime() + { + return $this->getField('end_time'); + } + + /** + * Returns the `is_date_only` (Whether the event only has a date specified, but no time) as bool if present. + * + * @return bool|null + */ + public function getIsDateOnly() + { + return $this->getField('is_date_only'); + } + + /** + * Returns the `name` (Event name) as string if present. + * + * @return string|null + */ + public function getName() + { + return $this->getField('name'); + } + + /** + * Returns the `owner` (The profile that created the event) as GraphNode if present. + * + * @return GraphNode|null + */ + public function getOwner() + { + return $this->getField('owner'); + } + + /** + * Returns the `parent_group` (The group the event belongs to) as GraphGroup if present. + * + * @return GraphGroup|null + */ + public function getParentGroup() + { + return $this->getField('parent_group'); + } + + /** + * Returns the `place` (Event Place information) as GraphPage if present. + * + * @return GraphPage|null + */ + public function getPlace() + { + return $this->getField('place'); + } + + /** + * Returns the `privacy` (Who can see the event) as string if present. + * + * @return string|null + */ + public function getPrivacy() + { + return $this->getField('privacy'); + } + + /** + * Returns the `start_time` (Start time) as DateTime if present. + * + * @return \DateTime|null + */ + public function getStartTime() + { + return $this->getField('start_time'); + } + + /** + * Returns the `ticket_uri` (The link users can visit to buy a ticket to this event) as string if present. + * + * @return string|null + */ + public function getTicketUri() + { + return $this->getField('ticket_uri'); + } + + /** + * Returns the `timezone` (Timezone) as string if present. + * + * @return string|null + */ + public function getTimezone() + { + return $this->getField('timezone'); + } + + /** + * Returns the `updated_time` (Last update time) as DateTime if present. + * + * @return \DateTime|null + */ + public function getUpdatedTime() + { + return $this->getField('updated_time'); + } + + /** + * Returns the `picture` (Event picture) as GraphPicture if present. + * + * @return GraphPicture|null + */ + public function getPicture() + { + return $this->getField('picture'); + } + + /** + * Returns the `attending_count` (Number of people attending the event) as int if present. + * + * @return int|null + */ + public function getAttendingCount() + { + return $this->getField('attending_count'); + } + + /** + * Returns the `declined_count` (Number of people who declined the event) as int if present. + * + * @return int|null + */ + public function getDeclinedCount() + { + return $this->getField('declined_count'); + } + + /** + * Returns the `maybe_count` (Number of people who maybe going to the event) as int if present. + * + * @return int|null + */ + public function getMaybeCount() + { + return $this->getField('maybe_count'); + } + + /** + * Returns the `noreply_count` (Number of people who did not reply to the event) as int if present. + * + * @return int|null + */ + public function getNoreplyCount() + { + return $this->getField('noreply_count'); + } + + /** + * Returns the `invited_count` (Number of people invited to the event) as int if present. + * + * @return int|null + */ + public function getInvitedCount() + { + return $this->getField('invited_count'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphGroup.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphGroup.php new file mode 100644 index 00000000..6217bd4d --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphGroup.php @@ -0,0 +1,170 @@ + '\Facebook\GraphNodes\GraphCoverPhoto', + 'venue' => '\Facebook\GraphNodes\GraphLocation', + ]; + + /** + * Returns the `id` (The Group ID) as string if present. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns the `cover` (The cover photo of the Group) as GraphCoverPhoto if present. + * + * @return GraphCoverPhoto|null + */ + public function getCover() + { + return $this->getField('cover'); + } + + /** + * Returns the `description` (A brief description of the Group) as string if present. + * + * @return string|null + */ + public function getDescription() + { + return $this->getField('description'); + } + + /** + * Returns the `email` (The email address to upload content to the Group. Only current members of the Group can use this) as string if present. + * + * @return string|null + */ + public function getEmail() + { + return $this->getField('email'); + } + + /** + * Returns the `icon` (The URL for the Group's icon) as string if present. + * + * @return string|null + */ + public function getIcon() + { + return $this->getField('icon'); + } + + /** + * Returns the `link` (The Group's website) as string if present. + * + * @return string|null + */ + public function getLink() + { + return $this->getField('link'); + } + + /** + * Returns the `name` (The name of the Group) as string if present. + * + * @return string|null + */ + public function getName() + { + return $this->getField('name'); + } + + /** + * Returns the `member_request_count` (Number of people asking to join the group.) as int if present. + * + * @return int|null + */ + public function getMemberRequestCount() + { + return $this->getField('member_request_count'); + } + + /** + * Returns the `owner` (The profile that created this Group) as GraphNode if present. + * + * @return GraphNode|null + */ + public function getOwner() + { + return $this->getField('owner'); + } + + /** + * Returns the `parent` (The parent Group of this Group, if it exists) as GraphNode if present. + * + * @return GraphNode|null + */ + public function getParent() + { + return $this->getField('parent'); + } + + /** + * Returns the `privacy` (The privacy setting of the Group) as string if present. + * + * @return string|null + */ + public function getPrivacy() + { + return $this->getField('privacy'); + } + + /** + * Returns the `updated_time` (The last time the Group was updated (this includes changes in the Group's properties and changes in posts and comments if user can see them)) as \DateTime if present. + * + * @return \DateTime|null + */ + public function getUpdatedTime() + { + return $this->getField('updated_time'); + } + + /** + * Returns the `venue` (The location for the Group) as GraphLocation if present. + * + * @return GraphLocation|null + */ + public function getVenue() + { + return $this->getField('venue'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphList.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphList.php new file mode 100644 index 00000000..3dfbd497 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphList.php @@ -0,0 +1,36 @@ +getField('street'); + } + + /** + * Returns the city component of the location + * + * @return string|null + */ + public function getCity() + { + return $this->getField('city'); + } + + /** + * Returns the state component of the location + * + * @return string|null + */ + public function getState() + { + return $this->getField('state'); + } + + /** + * Returns the country component of the location + * + * @return string|null + */ + public function getCountry() + { + return $this->getField('country'); + } + + /** + * Returns the zipcode component of the location + * + * @return string|null + */ + public function getZip() + { + return $this->getField('zip'); + } + + /** + * Returns the latitude component of the location + * + * @return float|null + */ + public function getLatitude() + { + return $this->getField('latitude'); + } + + /** + * Returns the street component of the location + * + * @return float|null + */ + public function getLongitude() + { + return $this->getField('longitude'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php new file mode 100644 index 00000000..061e7449 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNode.php @@ -0,0 +1,197 @@ +castItems($data)); + } + + /** + * Iterates over an array and detects the types each node + * should be cast to and returns all the items as an array. + * + * @TODO Add auto-casting to AccessToken entities. + * + * @param array $data The array to iterate over. + * + * @return array + */ + public function castItems(array $data) + { + $items = []; + + foreach ($data as $k => $v) { + if ($this->shouldCastAsDateTime($k) + && (is_numeric($v) + || $this->isIso8601DateString($v)) + ) { + $items[$k] = $this->castToDateTime($v); + } elseif ($k === 'birthday') { + $items[$k] = $this->castToBirthday($v); + } else { + $items[$k] = $v; + } + } + + return $items; + } + + /** + * Uncasts any auto-casted datatypes. + * Basically the reverse of castItems(). + * + * @return array + */ + public function uncastItems() + { + $items = $this->asArray(); + + return array_map(function ($v) { + if ($v instanceof \DateTime) { + return $v->format(\DateTime::ISO8601); + } + + return $v; + }, $items); + } + + /** + * Get the collection of items as JSON. + * + * @param int $options + * + * @return string + */ + public function asJson($options = 0) + { + return json_encode($this->uncastItems(), $options); + } + + /** + * Detects an ISO 8601 formatted string. + * + * @param string $string + * + * @return boolean + * + * @see https://developers.facebook.com/docs/graph-api/using-graph-api/#readmodifiers + * @see http://www.cl.cam.ac.uk/~mgk25/iso-time.html + * @see http://en.wikipedia.org/wiki/ISO_8601 + */ + public function isIso8601DateString($string) + { + // This insane regex was yoinked from here: + // http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/ + // ...and I'm all like: + // http://thecodinglove.com/post/95378251969/when-code-works-and-i-dont-know-why + $crazyInsaneRegexThatSomehowDetectsIso8601 = '/^([\+-]?\d{4}(?!\d{2}\b))' + . '((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?' + . '|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d' + . '|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])' + . '((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d' + . '([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/'; + + return preg_match($crazyInsaneRegexThatSomehowDetectsIso8601, $string) === 1; + } + + /** + * Determines if a value from Graph should be cast to DateTime. + * + * @param string $key + * + * @return boolean + */ + public function shouldCastAsDateTime($key) + { + return in_array($key, [ + 'created_time', + 'updated_time', + 'start_time', + 'end_time', + 'backdated_time', + 'issued_at', + 'expires_at', + 'publish_time' + ], true); + } + + /** + * Casts a date value from Graph to DateTime. + * + * @param int|string $value + * + * @return \DateTime + */ + public function castToDateTime($value) + { + if (is_int($value)) { + $dt = new \DateTime(); + $dt->setTimestamp($value); + } else { + $dt = new \DateTime($value); + } + + return $dt; + } + + /** + * Casts a birthday value from Graph to Birthday + * + * @param string $value + * + * @return Birthday + */ + public function castToBirthday($value) + { + return new Birthday($value); + } + + /** + * Getter for $graphObjectMap. + * + * @return array + */ + public static function getObjectMap() + { + return static::$graphObjectMap; + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphNodeFactory.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNodeFactory.php new file mode 100644 index 00000000..6a370919 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphNodeFactory.php @@ -0,0 +1,392 @@ +response = $response; + $this->decodedBody = $response->getDecodedBody(); + } + + /** + * Tries to convert a FacebookResponse entity into a GraphNode. + * + * @param string|null $subclassName The GraphNode sub class to cast to. + * + * @return GraphNode + * + * @throws FacebookSDKException + */ + public function makeGraphNode($subclassName = null) + { + $this->validateResponseAsArray(); + $this->validateResponseCastableAsGraphNode(); + + return $this->castAsGraphNodeOrGraphEdge($this->decodedBody, $subclassName); + } + + /** + * Convenience method for creating a GraphAchievement collection. + * + * @return GraphAchievement + * + * @throws FacebookSDKException + */ + public function makeGraphAchievement() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphAchievement'); + } + + /** + * Convenience method for creating a GraphAlbum collection. + * + * @return GraphAlbum + * + * @throws FacebookSDKException + */ + public function makeGraphAlbum() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphAlbum'); + } + + /** + * Convenience method for creating a GraphPage collection. + * + * @return GraphPage + * + * @throws FacebookSDKException + */ + public function makeGraphPage() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphPage'); + } + + /** + * Convenience method for creating a GraphSessionInfo collection. + * + * @return GraphSessionInfo + * + * @throws FacebookSDKException + */ + public function makeGraphSessionInfo() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphSessionInfo'); + } + + /** + * Convenience method for creating a GraphUser collection. + * + * @return GraphUser + * + * @throws FacebookSDKException + */ + public function makeGraphUser() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphUser'); + } + + /** + * Convenience method for creating a GraphEvent collection. + * + * @return GraphEvent + * + * @throws FacebookSDKException + */ + public function makeGraphEvent() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphEvent'); + } + + /** + * Convenience method for creating a GraphGroup collection. + * + * @return GraphGroup + * + * @throws FacebookSDKException + */ + public function makeGraphGroup() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphGroup'); + } + + /** + * Tries to convert a FacebookResponse entity into a GraphEdge. + * + * @param string|null $subclassName The GraphNode sub class to cast the list items to. + * @param boolean $auto_prefix Toggle to auto-prefix the subclass name. + * + * @return GraphEdge + * + * @throws FacebookSDKException + */ + public function makeGraphEdge($subclassName = null, $auto_prefix = true) + { + $this->validateResponseAsArray(); + $this->validateResponseCastableAsGraphEdge(); + + if ($subclassName && $auto_prefix) { + $subclassName = static::BASE_GRAPH_OBJECT_PREFIX . $subclassName; + } + + return $this->castAsGraphNodeOrGraphEdge($this->decodedBody, $subclassName); + } + + /** + * Validates the decoded body. + * + * @throws FacebookSDKException + */ + public function validateResponseAsArray() + { + if (!is_array($this->decodedBody)) { + throw new FacebookSDKException('Unable to get response from Graph as array.', 620); + } + } + + /** + * Validates that the return data can be cast as a GraphNode. + * + * @throws FacebookSDKException + */ + public function validateResponseCastableAsGraphNode() + { + if (isset($this->decodedBody['data']) && static::isCastableAsGraphEdge($this->decodedBody['data'])) { + throw new FacebookSDKException( + 'Unable to convert response from Graph to a GraphNode because the response looks like a GraphEdge. Try using GraphNodeFactory::makeGraphEdge() instead.', + 620 + ); + } + } + + /** + * Validates that the return data can be cast as a GraphEdge. + * + * @throws FacebookSDKException + */ + public function validateResponseCastableAsGraphEdge() + { + if (!(isset($this->decodedBody['data']) && static::isCastableAsGraphEdge($this->decodedBody['data']))) { + throw new FacebookSDKException( + 'Unable to convert response from Graph to a GraphEdge because the response does not look like a GraphEdge. Try using GraphNodeFactory::makeGraphNode() instead.', + 620 + ); + } + } + + /** + * Safely instantiates a GraphNode of $subclassName. + * + * @param array $data The array of data to iterate over. + * @param string|null $subclassName The subclass to cast this collection to. + * + * @return GraphNode + * + * @throws FacebookSDKException + */ + public function safelyMakeGraphNode(array $data, $subclassName = null) + { + $subclassName = $subclassName ?: static::BASE_GRAPH_NODE_CLASS; + static::validateSubclass($subclassName); + + // Remember the parent node ID + $parentNodeId = isset($data['id']) ? $data['id'] : null; + + $items = []; + + foreach ($data as $k => $v) { + // Array means could be recurable + if (is_array($v)) { + // Detect any smart-casting from the $graphObjectMap array. + // This is always empty on the GraphNode collection, but subclasses can define + // their own array of smart-casting types. + $graphObjectMap = $subclassName::getObjectMap(); + $objectSubClass = isset($graphObjectMap[$k]) + ? $graphObjectMap[$k] + : null; + + // Could be a GraphEdge or GraphNode + $items[$k] = $this->castAsGraphNodeOrGraphEdge($v, $objectSubClass, $k, $parentNodeId); + } else { + $items[$k] = $v; + } + } + + return new $subclassName($items); + } + + /** + * Takes an array of values and determines how to cast each node. + * + * @param array $data The array of data to iterate over. + * @param string|null $subclassName The subclass to cast this collection to. + * @param string|null $parentKey The key of this data (Graph edge). + * @param string|null $parentNodeId The parent Graph node ID. + * + * @return GraphNode|GraphEdge + * + * @throws FacebookSDKException + */ + public function castAsGraphNodeOrGraphEdge(array $data, $subclassName = null, $parentKey = null, $parentNodeId = null) + { + if (isset($data['data'])) { + // Create GraphEdge + if (static::isCastableAsGraphEdge($data['data'])) { + return $this->safelyMakeGraphEdge($data, $subclassName, $parentKey, $parentNodeId); + } + // Sometimes Graph is a weirdo and returns a GraphNode under the "data" key + $data = $data['data']; + } + + // Create GraphNode + return $this->safelyMakeGraphNode($data, $subclassName); + } + + /** + * Return an array of GraphNode's. + * + * @param array $data The array of data to iterate over. + * @param string|null $subclassName The GraphNode subclass to cast each item in the list to. + * @param string|null $parentKey The key of this data (Graph edge). + * @param string|null $parentNodeId The parent Graph node ID. + * + * @return GraphEdge + * + * @throws FacebookSDKException + */ + public function safelyMakeGraphEdge(array $data, $subclassName = null, $parentKey = null, $parentNodeId = null) + { + if (!isset($data['data'])) { + throw new FacebookSDKException('Cannot cast data to GraphEdge. Expected a "data" key.', 620); + } + + $dataList = []; + foreach ($data['data'] as $graphNode) { + $dataList[] = $this->safelyMakeGraphNode($graphNode, $subclassName); + } + + $metaData = $this->getMetaData($data); + + // We'll need to make an edge endpoint for this in case it's a GraphEdge (for cursor pagination) + $parentGraphEdgeEndpoint = $parentNodeId && $parentKey ? '/' . $parentNodeId . '/' . $parentKey : null; + $className = static::BASE_GRAPH_EDGE_CLASS; + + return new $className($this->response->getRequest(), $dataList, $metaData, $parentGraphEdgeEndpoint, $subclassName); + } + + /** + * Get the meta data from a list in a Graph response. + * + * @param array $data The Graph response. + * + * @return array + */ + public function getMetaData(array $data) + { + unset($data['data']); + + return $data; + } + + /** + * Determines whether or not the data should be cast as a GraphEdge. + * + * @param array $data + * + * @return boolean + */ + public static function isCastableAsGraphEdge(array $data) + { + if ($data === []) { + return true; + } + + // Checks for a sequential numeric array which would be a GraphEdge + return array_keys($data) === range(0, count($data) - 1); + } + + /** + * Ensures that the subclass in question is valid. + * + * @param string $subclassName The GraphNode subclass to validate. + * + * @throws FacebookSDKException + */ + public static function validateSubclass($subclassName) + { + if ($subclassName == static::BASE_GRAPH_NODE_CLASS || is_subclass_of($subclassName, static::BASE_GRAPH_NODE_CLASS)) { + return; + } + + throw new FacebookSDKException('The given subclass "' . $subclassName . '" is not valid. Cannot cast to an object that is not a GraphNode subclass.', 620); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphObject.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphObject.php new file mode 100644 index 00000000..0633c405 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphObject.php @@ -0,0 +1,36 @@ +makeGraphNode($subclassName); + } + + /** + * Convenience method for creating a GraphEvent collection. + * + * @return GraphEvent + * + * @throws FacebookSDKException + */ + public function makeGraphEvent() + { + return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphEvent'); + } + + /** + * Tries to convert a FacebookResponse entity into a GraphEdge. + * + * @param string|null $subclassName The GraphNode sub class to cast the list items to. + * @param boolean $auto_prefix Toggle to auto-prefix the subclass name. + * + * @return GraphEdge + * + * @deprecated 5.0.0 GraphObjectFactory has been renamed to GraphNodeFactory + */ + public function makeGraphList($subclassName = null, $auto_prefix = true) + { + return $this->makeGraphEdge($subclassName, $auto_prefix); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php new file mode 100644 index 00000000..3dfb0e03 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPage.php @@ -0,0 +1,147 @@ + '\Facebook\GraphNodes\GraphPage', + 'global_brand_parent_page' => '\Facebook\GraphNodes\GraphPage', + 'location' => '\Facebook\GraphNodes\GraphLocation', + 'cover' => '\Facebook\GraphNodes\GraphCoverPhoto', + 'picture' => '\Facebook\GraphNodes\GraphPicture', + ]; + + /** + * Returns the ID for the user's page as a string if present. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns the Category for the user's page as a string if present. + * + * @return string|null + */ + public function getCategory() + { + return $this->getField('category'); + } + + /** + * Returns the Name of the user's page as a string if present. + * + * @return string|null + */ + public function getName() + { + return $this->getField('name'); + } + + /** + * Returns the best available Page on Facebook. + * + * @return GraphPage|null + */ + public function getBestPage() + { + return $this->getField('best_page'); + } + + /** + * Returns the brand's global (parent) Page. + * + * @return GraphPage|null + */ + public function getGlobalBrandParentPage() + { + return $this->getField('global_brand_parent_page'); + } + + /** + * Returns the location of this place. + * + * @return GraphLocation|null + */ + public function getLocation() + { + return $this->getField('location'); + } + + /** + * Returns CoverPhoto of the Page. + * + * @return GraphCoverPhoto|null + */ + public function getCover() + { + return $this->getField('cover'); + } + + /** + * Returns Picture of the Page. + * + * @return GraphPicture|null + */ + public function getPicture() + { + return $this->getField('picture'); + } + + /** + * Returns the page access token for the admin user. + * + * Only available in the `/me/accounts` context. + * + * @return string|null + */ + public function getAccessToken() + { + return $this->getField('access_token'); + } + + /** + * Returns the roles of the page admin user. + * + * Only available in the `/me/accounts` context. + * + * @return array|null + */ + public function getPerms() + { + return $this->getField('perms'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphPicture.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPicture.php new file mode 100644 index 00000000..10274ec5 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphPicture.php @@ -0,0 +1,72 @@ +getField('is_silhouette'); + } + + /** + * Returns the url of user picture if it exists + * + * @return string|null + */ + public function getUrl() + { + return $this->getField('url'); + } + + /** + * Returns the width of user picture if it exists + * + * @return int|null + */ + public function getWidth() + { + return $this->getField('width'); + } + + /** + * Returns the height of user picture if it exists + * + * @return int|null + */ + public function getHeight() + { + return $this->getField('height'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphSessionInfo.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphSessionInfo.php new file mode 100644 index 00000000..df8dd358 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphSessionInfo.php @@ -0,0 +1,102 @@ +getField('app_id'); + } + + /** + * Returns the application name the token was issued for. + * + * @return string|null + */ + public function getApplication() + { + return $this->getField('application'); + } + + /** + * Returns the date & time that the token expires. + * + * @return \DateTime|null + */ + public function getExpiresAt() + { + return $this->getField('expires_at'); + } + + /** + * Returns whether the token is valid. + * + * @return boolean + */ + public function getIsValid() + { + return $this->getField('is_valid'); + } + + /** + * Returns the date & time the token was issued at. + * + * @return \DateTime|null + */ + public function getIssuedAt() + { + return $this->getField('issued_at'); + } + + /** + * Returns the scope permissions associated with the token. + * + * @return array + */ + public function getScopes() + { + return $this->getField('scopes'); + } + + /** + * Returns the login id of the user associated with the token. + * + * @return string|null + */ + public function getUserId() + { + return $this->getField('user_id'); + } +} diff --git a/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php b/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php new file mode 100644 index 00000000..c50d7efd --- /dev/null +++ b/mayor-orig/www/include/share/facebook/GraphNodes/GraphUser.php @@ -0,0 +1,172 @@ + '\Facebook\GraphNodes\GraphPage', + 'location' => '\Facebook\GraphNodes\GraphPage', + 'significant_other' => '\Facebook\GraphNodes\GraphUser', + 'picture' => '\Facebook\GraphNodes\GraphPicture', + ]; + + /** + * Returns the ID for the user as a string if present. + * + * @return string|null + */ + public function getId() + { + return $this->getField('id'); + } + + /** + * Returns the name for the user as a string if present. + * + * @return string|null + */ + public function getName() + { + return $this->getField('name'); + } + + /** + * Returns the first name for the user as a string if present. + * + * @return string|null + */ + public function getFirstName() + { + return $this->getField('first_name'); + } + + /** + * Returns the middle name for the user as a string if present. + * + * @return string|null + */ + public function getMiddleName() + { + return $this->getField('middle_name'); + } + + /** + * Returns the last name for the user as a string if present. + * + * @return string|null + */ + public function getLastName() + { + return $this->getField('last_name'); + } + + /** + * Returns the email for the user as a string if present. + * + * @return string|null + */ + public function getEmail() + { + return $this->getField('email'); + } + + /** + * Returns the gender for the user as a string if present. + * + * @return string|null + */ + public function getGender() + { + return $this->getField('gender'); + } + + /** + * Returns the Facebook URL for the user as a string if available. + * + * @return string|null + */ + public function getLink() + { + return $this->getField('link'); + } + + /** + * Returns the users birthday, if available. + * + * @return \DateTime|null + */ + public function getBirthday() + { + return $this->getField('birthday'); + } + + /** + * Returns the current location of the user as a GraphPage. + * + * @return GraphPage|null + */ + public function getLocation() + { + return $this->getField('location'); + } + + /** + * Returns the current location of the user as a GraphPage. + * + * @return GraphPage|null + */ + public function getHometown() + { + return $this->getField('hometown'); + } + + /** + * Returns the current location of the user as a GraphUser. + * + * @return GraphUser|null + */ + public function getSignificantOther() + { + return $this->getField('significant_other'); + } + + /** + * Returns the picture of the user as a GraphPicture + * + * @return GraphPicture|null + */ + public function getPicture() + { + return $this->getField('picture'); + } +} diff --git a/mayor-orig/www/include/share/facebook/Helpers/FacebookCanvasHelper.php b/mayor-orig/www/include/share/facebook/Helpers/FacebookCanvasHelper.php new file mode 100644 index 00000000..7f3466ff --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Helpers/FacebookCanvasHelper.php @@ -0,0 +1,52 @@ +signedRequest ? $this->signedRequest->get('app_data') : null; + } + + /** + * Get raw signed request from POST. + * + * @return string|null + */ + public function getRawSignedRequest() + { + return $this->getRawSignedRequestFromPost() ?: null; + } +} diff --git a/mayor-orig/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php b/mayor-orig/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php new file mode 100644 index 00000000..01a76b8b --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Helpers/FacebookJavaScriptHelper.php @@ -0,0 +1,42 @@ +getRawSignedRequestFromCookie(); + } +} diff --git a/mayor-orig/www/include/share/facebook/Helpers/FacebookPageTabHelper.php b/mayor-orig/www/include/share/facebook/Helpers/FacebookPageTabHelper.php new file mode 100644 index 00000000..da2c356c --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Helpers/FacebookPageTabHelper.php @@ -0,0 +1,95 @@ +signedRequest) { + return; + } + + $this->pageData = $this->signedRequest->get('page'); + } + + /** + * Returns a value from the page data. + * + * @param string $key + * @param mixed|null $default + * + * @return mixed|null + */ + public function getPageData($key, $default = null) + { + if (isset($this->pageData[$key])) { + return $this->pageData[$key]; + } + + return $default; + } + + /** + * Returns true if the user is an admin. + * + * @return boolean + */ + public function isAdmin() + { + return $this->getPageData('admin') === true; + } + + /** + * Returns the page id if available. + * + * @return string|null + */ + public function getPageId() + { + return $this->getPageData('id'); + } +} diff --git a/mayor-orig/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php b/mayor-orig/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php new file mode 100644 index 00000000..4a0755a4 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Helpers/FacebookRedirectLoginHelper.php @@ -0,0 +1,333 @@ +oAuth2Client = $oAuth2Client; + $this->persistentDataHandler = $persistentDataHandler ?: new FacebookSessionPersistentDataHandler(); + $this->urlDetectionHandler = $urlHandler ?: new FacebookUrlDetectionHandler(); + $this->pseudoRandomStringGenerator = PseudoRandomStringGeneratorFactory::createPseudoRandomStringGenerator($prsg); + } + + /** + * Returns the persistent data handler. + * + * @return PersistentDataInterface + */ + public function getPersistentDataHandler() + { + return $this->persistentDataHandler; + } + + /** + * Returns the URL detection handler. + * + * @return UrlDetectionInterface + */ + public function getUrlDetectionHandler() + { + return $this->urlDetectionHandler; + } + + /** + * Returns the cryptographically secure pseudo-random string generator. + * + * @return PseudoRandomStringGeneratorInterface + */ + public function getPseudoRandomStringGenerator() + { + return $this->pseudoRandomStringGenerator; + } + + /** + * Stores CSRF state and returns a URL to which the user should be sent to in order to continue the login process with Facebook. + * + * @param string $redirectUrl The URL Facebook should redirect users to after login. + * @param array $scope List of permissions to request during login. + * @param array $params An array of parameters to generate URL. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + */ + private function makeUrl($redirectUrl, array $scope, array $params = [], $separator = '&') + { + $state = $this->persistentDataHandler->get('state') ?: $this->pseudoRandomStringGenerator->getPseudoRandomString(static::CSRF_LENGTH); + $this->persistentDataHandler->set('state', $state); + + return $this->oAuth2Client->getAuthorizationUrl($redirectUrl, $state, $scope, $params, $separator); + } + + /** + * Returns the URL to send the user in order to login to Facebook. + * + * @param string $redirectUrl The URL Facebook should redirect users to after login. + * @param array $scope List of permissions to request during login. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + */ + public function getLoginUrl($redirectUrl, array $scope = [], $separator = '&') + { + return $this->makeUrl($redirectUrl, $scope, [], $separator); + } + + /** + * Returns the URL to send the user in order to log out of Facebook. + * + * @param AccessToken|string $accessToken The access token that will be logged out. + * @param string $next The url Facebook should redirect the user to after a successful logout. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + * + * @throws FacebookSDKException + */ + public function getLogoutUrl($accessToken, $next, $separator = '&') + { + if (!$accessToken instanceof AccessToken) { + $accessToken = new AccessToken($accessToken); + } + + if ($accessToken->isAppAccessToken()) { + throw new FacebookSDKException('Cannot generate a logout URL with an app access token.', 722); + } + + $params = [ + 'next' => $next, + 'access_token' => $accessToken->getValue(), + ]; + + return 'https://www.facebook.com/logout.php?' . http_build_query($params, null, $separator); + } + + /** + * Returns the URL to send the user in order to login to Facebook with permission(s) to be re-asked. + * + * @param string $redirectUrl The URL Facebook should redirect users to after login. + * @param array $scope List of permissions to request during login. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + */ + public function getReRequestUrl($redirectUrl, array $scope = [], $separator = '&') + { + $params = ['auth_type' => 'rerequest']; + + return $this->makeUrl($redirectUrl, $scope, $params, $separator); + } + + /** + * Returns the URL to send the user in order to login to Facebook with user to be re-authenticated. + * + * @param string $redirectUrl The URL Facebook should redirect users to after login. + * @param array $scope List of permissions to request during login. + * @param string $separator The separator to use in http_build_query(). + * + * @return string + */ + public function getReAuthenticationUrl($redirectUrl, array $scope = [], $separator = '&') + { + $params = ['auth_type' => 'reauthenticate']; + + return $this->makeUrl($redirectUrl, $scope, $params, $separator); + } + + /** + * Takes a valid code from a login redirect, and returns an AccessToken entity. + * + * @param string|null $redirectUrl The redirect URL. + * + * @return AccessToken|null + * + * @throws FacebookSDKException + */ + public function getAccessToken($redirectUrl = null) + { + if (!$code = $this->getCode()) { + return null; + } + + $this->validateCsrf(); + $this->resetCsrf(); + + $redirectUrl = $redirectUrl ?: $this->urlDetectionHandler->getCurrentUrl(); + // At minimum we need to remove the state param + $redirectUrl = FacebookUrlManipulator::removeParamsFromUrl($redirectUrl, ['state']); + + return $this->oAuth2Client->getAccessTokenFromCode($code, $redirectUrl); + } + + /** + * Validate the request against a cross-site request forgery. + * + * @throws FacebookSDKException + */ + protected function validateCsrf() + { + $state = $this->getState(); + if (!$state) { + throw new FacebookSDKException('Cross-site request forgery validation failed. Required GET param "state" missing.'); + } + $savedState = $this->persistentDataHandler->get('state'); + if (!$savedState) { + throw new FacebookSDKException('Cross-site request forgery validation failed. Required param "state" missing from persistent data.'); + } + + if (\hash_equals($savedState, $state)) { + return; + } + + throw new FacebookSDKException('Cross-site request forgery validation failed. The "state" param from the URL and session do not match.'); + } + + /** + * Resets the CSRF so that it doesn't get reused. + */ + private function resetCsrf() + { + $this->persistentDataHandler->set('state', null); + } + + /** + * Return the code. + * + * @return string|null + */ + protected function getCode() + { + return $this->getInput('code'); + } + + /** + * Return the state. + * + * @return string|null + */ + protected function getState() + { + return $this->getInput('state'); + } + + /** + * Return the error code. + * + * @return string|null + */ + public function getErrorCode() + { + return $this->getInput('error_code'); + } + + /** + * Returns the error. + * + * @return string|null + */ + public function getError() + { + return $this->getInput('error'); + } + + /** + * Returns the error reason. + * + * @return string|null + */ + public function getErrorReason() + { + return $this->getInput('error_reason'); + } + + /** + * Returns the error description. + * + * @return string|null + */ + public function getErrorDescription() + { + return $this->getInput('error_description'); + } + + /** + * Returns a value from a GET param. + * + * @param string $key + * + * @return string|null + */ + private function getInput($key) + { + return isset($_GET[$key]) ? $_GET[$key] : null; + } +} diff --git a/mayor-orig/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php b/mayor-orig/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php new file mode 100644 index 00000000..4044da10 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Helpers/FacebookSignedRequestFromInputHelper.php @@ -0,0 +1,166 @@ +app = $app; + $graphVersion = $graphVersion ?: Facebook::DEFAULT_GRAPH_VERSION; + $this->oAuth2Client = new OAuth2Client($this->app, $client, $graphVersion); + + $this->instantiateSignedRequest(); + } + + /** + * Instantiates a new SignedRequest entity. + * + * @param string|null + */ + public function instantiateSignedRequest($rawSignedRequest = null) + { + $rawSignedRequest = $rawSignedRequest ?: $this->getRawSignedRequest(); + + if (!$rawSignedRequest) { + return; + } + + $this->signedRequest = new SignedRequest($this->app, $rawSignedRequest); + } + + /** + * Returns an AccessToken entity from the signed request. + * + * @return AccessToken|null + * + * @throws \Facebook\Exceptions\FacebookSDKException + */ + public function getAccessToken() + { + if ($this->signedRequest && $this->signedRequest->hasOAuthData()) { + $code = $this->signedRequest->get('code'); + $accessToken = $this->signedRequest->get('oauth_token'); + + if ($code && !$accessToken) { + return $this->oAuth2Client->getAccessTokenFromCode($code); + } + + $expiresAt = $this->signedRequest->get('expires', 0); + + return new AccessToken($accessToken, $expiresAt); + } + + return null; + } + + /** + * Returns the SignedRequest entity. + * + * @return SignedRequest|null + */ + public function getSignedRequest() + { + return $this->signedRequest; + } + + /** + * Returns the user_id if available. + * + * @return string|null + */ + public function getUserId() + { + return $this->signedRequest ? $this->signedRequest->getUserId() : null; + } + + /** + * Get raw signed request from input. + * + * @return string|null + */ + abstract public function getRawSignedRequest(); + + /** + * Get raw signed request from POST input. + * + * @return string|null + */ + public function getRawSignedRequestFromPost() + { + if (isset($_POST['signed_request'])) { + return $_POST['signed_request']; + } + + return null; + } + + /** + * Get raw signed request from cookie set from the Javascript SDK. + * + * @return string|null + */ + public function getRawSignedRequestFromCookie() + { + if (isset($_COOKIE['fbsr_' . $this->app->getId()])) { + return $_COOKIE['fbsr_' . $this->app->getId()]; + } + + return null; + } +} diff --git a/mayor-orig/www/include/share/facebook/Http/GraphRawResponse.php b/mayor-orig/www/include/share/facebook/Http/GraphRawResponse.php new file mode 100644 index 00000000..d1a7241c --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Http/GraphRawResponse.php @@ -0,0 +1,137 @@ +httpResponseCode = (int)$httpStatusCode; + } + + if (is_array($headers)) { + $this->headers = $headers; + } else { + $this->setHeadersFromString($headers); + } + + $this->body = $body; + } + + /** + * Return the response headers. + * + * @return array + */ + public function getHeaders() + { + return $this->headers; + } + + /** + * Return the body of the response. + * + * @return string + */ + public function getBody() + { + return $this->body; + } + + /** + * Return the HTTP response code. + * + * @return int + */ + public function getHttpResponseCode() + { + return $this->httpResponseCode; + } + + /** + * Sets the HTTP response code from a raw header. + * + * @param string $rawResponseHeader + */ + public function setHttpResponseCodeFromHeader($rawResponseHeader) + { + preg_match('|HTTP/\d\.\d\s+(\d+)\s+.*|', $rawResponseHeader, $match); + $this->httpResponseCode = (int)$match[1]; + } + + /** + * Parse the raw headers and set as an array. + * + * @param string $rawHeaders The raw headers from the response. + */ + protected function setHeadersFromString($rawHeaders) + { + // Normalize line breaks + $rawHeaders = str_replace("\r\n", "\n", $rawHeaders); + + // There will be multiple headers if a 301 was followed + // or a proxy was followed, etc + $headerCollection = explode("\n\n", trim($rawHeaders)); + // We just want the last response (at the end) + $rawHeader = array_pop($headerCollection); + + $headerComponents = explode("\n", $rawHeader); + foreach ($headerComponents as $line) { + if (strpos($line, ': ') === false) { + $this->setHttpResponseCodeFromHeader($line); + } else { + list($key, $value) = explode(': ', $line, 2); + $this->headers[$key] = $value; + } + } + } +} diff --git a/mayor-orig/www/include/share/facebook/Http/RequestBodyInterface.php b/mayor-orig/www/include/share/facebook/Http/RequestBodyInterface.php new file mode 100644 index 00000000..1c03f4fd --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Http/RequestBodyInterface.php @@ -0,0 +1,39 @@ +params = $params; + $this->files = $files; + $this->boundary = $boundary ?: uniqid(); + } + + /** + * @inheritdoc + */ + public function getBody() + { + $body = ''; + + // Compile normal params + $params = $this->getNestedParams($this->params); + foreach ($params as $k => $v) { + $body .= $this->getParamString($k, $v); + } + + // Compile files + foreach ($this->files as $k => $v) { + $body .= $this->getFileString($k, $v); + } + + // Peace out + $body .= "--{$this->boundary}--\r\n"; + + return $body; + } + + /** + * Get the boundary + * + * @return string + */ + public function getBoundary() + { + return $this->boundary; + } + + /** + * Get the string needed to transfer a file. + * + * @param string $name + * @param FacebookFile $file + * + * @return string + */ + private function getFileString($name, FacebookFile $file) + { + return sprintf( + "--%s\r\nContent-Disposition: form-data; name=\"%s\"; filename=\"%s\"%s\r\n\r\n%s\r\n", + $this->boundary, + $name, + $file->getFileName(), + $this->getFileHeaders($file), + $file->getContents() + ); + } + + /** + * Get the string needed to transfer a POST field. + * + * @param string $name + * @param string $value + * + * @return string + */ + private function getParamString($name, $value) + { + return sprintf( + "--%s\r\nContent-Disposition: form-data; name=\"%s\"\r\n\r\n%s\r\n", + $this->boundary, + $name, + $value + ); + } + + /** + * Returns the params as an array of nested params. + * + * @param array $params + * + * @return array + */ + private function getNestedParams(array $params) + { + $query = http_build_query($params, null, '&'); + $params = explode('&', $query); + $result = []; + + foreach ($params as $param) { + list($key, $value) = explode('=', $param, 2); + $result[urldecode($key)] = urldecode($value); + } + + return $result; + } + + /** + * Get the headers needed before transferring the content of a POST file. + * + * @param FacebookFile $file + * + * @return string + */ + protected function getFileHeaders(FacebookFile $file) + { + return "\r\nContent-Type: {$file->getMimetype()}"; + } +} diff --git a/mayor-orig/www/include/share/facebook/Http/RequestBodyUrlEncoded.php b/mayor-orig/www/include/share/facebook/Http/RequestBodyUrlEncoded.php new file mode 100644 index 00000000..c1e35f43 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Http/RequestBodyUrlEncoded.php @@ -0,0 +1,55 @@ +params = $params; + } + + /** + * @inheritdoc + */ + public function getBody() + { + return http_build_query($this->params, null, '&'); + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurl.php b/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurl.php new file mode 100644 index 00000000..28e4ba59 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurl.php @@ -0,0 +1,129 @@ +curl = curl_init(); + } + + /** + * Set a curl option + * + * @param $key + * @param $value + */ + public function setopt($key, $value) + { + curl_setopt($this->curl, $key, $value); + } + + /** + * Set an array of options to a curl resource + * + * @param array $options + */ + public function setoptArray(array $options) + { + curl_setopt_array($this->curl, $options); + } + + /** + * Send a curl request + * + * @return mixed + */ + public function exec() + { + return curl_exec($this->curl); + } + + /** + * Return the curl error number + * + * @return int + */ + public function errno() + { + return curl_errno($this->curl); + } + + /** + * Return the curl error message + * + * @return string + */ + public function error() + { + return curl_error($this->curl); + } + + /** + * Get info from a curl reference + * + * @param $type + * + * @return mixed + */ + public function getinfo($type) + { + return curl_getinfo($this->curl, $type); + } + + /** + * Get the currently installed curl version + * + * @return array + */ + public function version() + { + return curl_version(); + } + + /** + * Close the resource connection to curl + */ + public function close() + { + curl_close($this->curl); + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php b/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php new file mode 100644 index 00000000..059e75a5 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/FacebookCurlHttpClient.php @@ -0,0 +1,163 @@ +facebookCurl = $facebookCurl ?: new FacebookCurl(); + } + + /** + * @inheritdoc + */ + public function send($url, $method, $body, array $headers, $timeOut) + { + $this->openConnection($url, $method, $body, $headers, $timeOut); + $this->sendRequest(); + + if ($curlErrorCode = $this->facebookCurl->errno()) { + throw new FacebookSDKException($this->facebookCurl->error(), $curlErrorCode); + } + + // Separate the raw headers from the raw body + list($rawHeaders, $rawBody) = $this->extractResponseHeadersAndBody(); + + $this->closeConnection(); + + return new GraphRawResponse($rawHeaders, $rawBody); + } + + /** + * Opens a new curl connection. + * + * @param string $url The endpoint to send the request to. + * @param string $method The request method. + * @param string $body The body of the request. + * @param array $headers The request headers. + * @param int $timeOut The timeout in seconds for the request. + */ + public function openConnection($url, $method, $body, array $headers, $timeOut) + { + $options = [ + CURLOPT_CUSTOMREQUEST => $method, + CURLOPT_HTTPHEADER => $this->compileRequestHeaders($headers), + CURLOPT_URL => $url, + CURLOPT_CONNECTTIMEOUT => 10, + CURLOPT_TIMEOUT => $timeOut, + CURLOPT_RETURNTRANSFER => true, // Follow 301 redirects + CURLOPT_HEADER => true, // Enable header processing + CURLOPT_SSL_VERIFYHOST => 2, + CURLOPT_SSL_VERIFYPEER => true, + CURLOPT_CAINFO => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem', + ]; + + if ($method !== "GET") { + $options[CURLOPT_POSTFIELDS] = $body; + } + + $this->facebookCurl->init(); + $this->facebookCurl->setoptArray($options); + } + + /** + * Closes an existing curl connection + */ + public function closeConnection() + { + $this->facebookCurl->close(); + } + + /** + * Send the request and get the raw response from curl + */ + public function sendRequest() + { + $this->rawResponse = $this->facebookCurl->exec(); + } + + /** + * Compiles the request headers into a curl-friendly format. + * + * @param array $headers The request headers. + * + * @return array + */ + public function compileRequestHeaders(array $headers) + { + $return = []; + + foreach ($headers as $key => $value) { + $return[] = $key . ': ' . $value; + } + + return $return; + } + + /** + * Extracts the headers and the body into a two-part array + * + * @return array + */ + public function extractResponseHeadersAndBody() + { + $parts = explode("\r\n\r\n", $this->rawResponse); + $rawBody = array_pop($parts); + $rawHeaders = implode("\r\n\r\n", $parts); + + return [trim($rawHeaders), trim($rawBody)]; + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php b/mayor-orig/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php new file mode 100644 index 00000000..8feb7cb6 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/FacebookGuzzleHttpClient.php @@ -0,0 +1,97 @@ +guzzleClient = $guzzleClient ?: new Client(); + } + + /** + * @inheritdoc + */ + public function send($url, $method, $body, array $headers, $timeOut) + { + $options = [ + 'headers' => $headers, + 'body' => $body, + 'timeout' => $timeOut, + 'connect_timeout' => 10, + 'verify' => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem', + ]; + $request = $this->guzzleClient->createRequest($method, $url, $options); + + try { + $rawResponse = $this->guzzleClient->send($request); + } catch (RequestException $e) { + $rawResponse = $e->getResponse(); + + if ($e->getPrevious() instanceof RingException || !$rawResponse instanceof ResponseInterface) { + throw new FacebookSDKException($e->getMessage(), $e->getCode()); + } + } + + $rawHeaders = $this->getHeadersAsString($rawResponse); + $rawBody = $rawResponse->getBody(); + $httpStatusCode = $rawResponse->getStatusCode(); + + return new GraphRawResponse($rawHeaders, $rawBody, $httpStatusCode); + } + + /** + * Returns the Guzzle array of headers as a string. + * + * @param ResponseInterface $response The Guzzle response. + * + * @return string + */ + public function getHeadersAsString(ResponseInterface $response) + { + $headers = $response->getHeaders(); + $rawHeaders = []; + foreach ($headers as $name => $values) { + $rawHeaders[] = $name . ": " . implode(", ", $values); + } + + return implode("\r\n", $rawHeaders); + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php b/mayor-orig/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php new file mode 100644 index 00000000..1fbf953d --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/FacebookHttpClientInterface.php @@ -0,0 +1,47 @@ +stream = stream_context_create($options); + } + + /** + * The response headers from the stream wrapper + * + * @return array + */ + public function getResponseHeaders() + { + return $this->responseHeaders; + } + + /** + * Send a stream wrapped request + * + * @param string $url + * + * @return mixed + */ + public function fileGetContents($url) + { + $rawResponse = file_get_contents($url, false, $this->stream); + $this->responseHeaders = $http_response_header ?: []; + + return $rawResponse; + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php b/mayor-orig/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php new file mode 100644 index 00000000..1cdfd539 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/FacebookStreamHttpClient.php @@ -0,0 +1,94 @@ +facebookStream = $facebookStream ?: new FacebookStream(); + } + + /** + * @inheritdoc + */ + public function send($url, $method, $body, array $headers, $timeOut) + { + $options = [ + 'http' => [ + 'method' => $method, + 'header' => $this->compileHeader($headers), + 'content' => $body, + 'timeout' => $timeOut, + 'ignore_errors' => true + ], + 'ssl' => [ + 'verify_peer' => true, + 'verify_peer_name' => true, + 'allow_self_signed' => true, // All root certificates are self-signed + 'cafile' => __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem', + ], + ]; + + $this->facebookStream->streamContextCreate($options); + $rawBody = $this->facebookStream->fileGetContents($url); + $rawHeaders = $this->facebookStream->getResponseHeaders(); + + if ($rawBody === false || empty($rawHeaders)) { + throw new FacebookSDKException('Stream returned an empty response', 660); + } + + $rawHeaders = implode("\r\n", $rawHeaders); + + return new GraphRawResponse($rawHeaders, $rawBody); + } + + /** + * Formats the headers for use in the stream wrapper. + * + * @param array $headers The request headers. + * + * @return string + */ + public function compileHeader(array $headers) + { + $header = []; + foreach ($headers as $k => $v) { + $header[] = $k . ': ' . $v; + } + + return implode("\r\n", $header); + } +} diff --git a/mayor-orig/www/include/share/facebook/HttpClients/HttpClientsFactory.php b/mayor-orig/www/include/share/facebook/HttpClients/HttpClientsFactory.php new file mode 100644 index 00000000..d9f2a8d3 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/HttpClients/HttpClientsFactory.php @@ -0,0 +1,99 @@ +sessionData[$key]) ? $this->sessionData[$key] : null; + } + + /** + * @inheritdoc + */ + public function set($key, $value) + { + $this->sessionData[$key] = $value; + } +} diff --git a/mayor-orig/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php b/mayor-orig/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php new file mode 100644 index 00000000..9123e3dc --- /dev/null +++ b/mayor-orig/www/include/share/facebook/PersistentData/FacebookSessionPersistentDataHandler.php @@ -0,0 +1,76 @@ +sessionPrefix . $key])) { + return $_SESSION[$this->sessionPrefix . $key]; + } + + return null; + } + + /** + * @inheritdoc + */ + public function set($key, $value) + { + $_SESSION[$this->sessionPrefix . $key] = $value; + } +} diff --git a/mayor-orig/www/include/share/facebook/PersistentData/PersistentDataFactory.php b/mayor-orig/www/include/share/facebook/PersistentData/PersistentDataFactory.php new file mode 100644 index 00000000..18fb8fd5 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/PersistentData/PersistentDataFactory.php @@ -0,0 +1,65 @@ +validateLength($length); + + $binaryString = mcrypt_create_iv($length, MCRYPT_DEV_URANDOM); + + if ($binaryString === false) { + throw new FacebookSDKException( + static::ERROR_MESSAGE . + 'mcrypt_create_iv() returned an error.' + ); + } + + return $this->binToHex($binaryString, $length); + } +} diff --git a/mayor-orig/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php b/mayor-orig/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php new file mode 100644 index 00000000..4b4276dc --- /dev/null +++ b/mayor-orig/www/include/share/facebook/PseudoRandomString/OpenSslPseudoRandomStringGenerator.php @@ -0,0 +1,67 @@ +validateLength($length); + + $wasCryptographicallyStrong = false; + $binaryString = openssl_random_pseudo_bytes($length, $wasCryptographicallyStrong); + + if ($binaryString === false) { + throw new FacebookSDKException(static::ERROR_MESSAGE . 'openssl_random_pseudo_bytes() returned an unknown error.'); + } + + if ($wasCryptographicallyStrong !== true) { + throw new FacebookSDKException(static::ERROR_MESSAGE . 'openssl_random_pseudo_bytes() returned a pseudo-random string but it was not cryptographically secure and cannot be used.'); + } + + return $this->binToHex($binaryString, $length); + } +} diff --git a/mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php b/mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php new file mode 100644 index 00000000..412f4813 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/PseudoRandomString/PseudoRandomStringGeneratorFactory.php @@ -0,0 +1,101 @@ +validateLength($length); + + return $this->binToHex(random_bytes($length), $length); + } +} diff --git a/mayor-orig/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php b/mayor-orig/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php new file mode 100644 index 00000000..5ab434e6 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php @@ -0,0 +1,89 @@ +validateLength($length); + + $stream = fopen('/dev/urandom', 'rb'); + if (!is_resource($stream)) { + throw new FacebookSDKException( + static::ERROR_MESSAGE . + 'Unable to open stream to /dev/urandom.' + ); + } + + if (!defined('HHVM_VERSION')) { + stream_set_read_buffer($stream, 0); + } + + $binaryString = fread($stream, $length); + fclose($stream); + + if (!$binaryString) { + throw new FacebookSDKException( + static::ERROR_MESSAGE . + 'Stream to /dev/urandom returned no data.' + ); + } + + return $this->binToHex($binaryString, $length); + } +} diff --git a/mayor-orig/www/include/share/facebook/SignedRequest.php b/mayor-orig/www/include/share/facebook/SignedRequest.php new file mode 100644 index 00000000..6a175a0a --- /dev/null +++ b/mayor-orig/www/include/share/facebook/SignedRequest.php @@ -0,0 +1,326 @@ +app = $facebookApp; + + if (!$rawSignedRequest) { + return; + } + + $this->rawSignedRequest = $rawSignedRequest; + + $this->parse(); + } + + /** + * Returns the raw signed request data. + * + * @return string|null + */ + public function getRawSignedRequest() + { + return $this->rawSignedRequest; + } + + /** + * Returns the parsed signed request data. + * + * @return array|null + */ + public function getPayload() + { + return $this->payload; + } + + /** + * Returns a property from the signed request data if available. + * + * @param string $key + * @param mixed|null $default + * + * @return mixed|null + */ + public function get($key, $default = null) + { + if (isset($this->payload[$key])) { + return $this->payload[$key]; + } + + return $default; + } + + /** + * Returns user_id from signed request data if available. + * + * @return string|null + */ + public function getUserId() + { + return $this->get('user_id'); + } + + /** + * Checks for OAuth data in the payload. + * + * @return boolean + */ + public function hasOAuthData() + { + return $this->get('oauth_token') || $this->get('code'); + } + + /** + * Creates a signed request from an array of data. + * + * @param array $payload + * + * @return string + */ + public function make(array $payload) + { + $payload['algorithm'] = isset($payload['algorithm']) ? $payload['algorithm'] : 'HMAC-SHA256'; + $payload['issued_at'] = isset($payload['issued_at']) ? $payload['issued_at'] : time(); + $encodedPayload = $this->base64UrlEncode(json_encode($payload)); + + $hashedSig = $this->hashSignature($encodedPayload); + $encodedSig = $this->base64UrlEncode($hashedSig); + + return $encodedSig . '.' . $encodedPayload; + } + + /** + * Validates and decodes a signed request and saves + * the payload to an array. + */ + protected function parse() + { + list($encodedSig, $encodedPayload) = $this->split(); + + // Signature validation + $sig = $this->decodeSignature($encodedSig); + $hashedSig = $this->hashSignature($encodedPayload); + $this->validateSignature($hashedSig, $sig); + + $this->payload = $this->decodePayload($encodedPayload); + + // Payload validation + $this->validateAlgorithm(); + } + + /** + * Splits a raw signed request into signature and payload. + * + * @return array + * + * @throws FacebookSDKException + */ + protected function split() + { + if (strpos($this->rawSignedRequest, '.') === false) { + throw new FacebookSDKException('Malformed signed request.', 606); + } + + return explode('.', $this->rawSignedRequest, 2); + } + + /** + * Decodes the raw signature from a signed request. + * + * @param string $encodedSig + * + * @return string + * + * @throws FacebookSDKException + */ + protected function decodeSignature($encodedSig) + { + $sig = $this->base64UrlDecode($encodedSig); + + if (!$sig) { + throw new FacebookSDKException('Signed request has malformed encoded signature data.', 607); + } + + return $sig; + } + + /** + * Decodes the raw payload from a signed request. + * + * @param string $encodedPayload + * + * @return array + * + * @throws FacebookSDKException + */ + protected function decodePayload($encodedPayload) + { + $payload = $this->base64UrlDecode($encodedPayload); + + if ($payload) { + $payload = json_decode($payload, true); + } + + if (!is_array($payload)) { + throw new FacebookSDKException('Signed request has malformed encoded payload data.', 607); + } + + return $payload; + } + + /** + * Validates the algorithm used in a signed request. + * + * @throws FacebookSDKException + */ + protected function validateAlgorithm() + { + if ($this->get('algorithm') !== 'HMAC-SHA256') { + throw new FacebookSDKException('Signed request is using the wrong algorithm.', 605); + } + } + + /** + * Hashes the signature used in a signed request. + * + * @param string $encodedData + * + * @return string + * + * @throws FacebookSDKException + */ + protected function hashSignature($encodedData) + { + $hashedSig = hash_hmac( + 'sha256', + $encodedData, + $this->app->getSecret(), + $raw_output = true + ); + + if (!$hashedSig) { + throw new FacebookSDKException('Unable to hash signature from encoded payload data.', 602); + } + + return $hashedSig; + } + + /** + * Validates the signature used in a signed request. + * + * @param string $hashedSig + * @param string $sig + * + * @throws FacebookSDKException + */ + protected function validateSignature($hashedSig, $sig) + { + if (\hash_equals($hashedSig, $sig)) { + return; + } + + throw new FacebookSDKException('Signed request has an invalid signature.', 602); + } + + /** + * Base64 decoding which replaces characters: + * + instead of - + * / instead of _ + * + * @link http://en.wikipedia.org/wiki/Base64#URL_applications + * + * @param string $input base64 url encoded input + * + * @return string decoded string + */ + public function base64UrlDecode($input) + { + $urlDecodedBase64 = strtr($input, '-_', '+/'); + $this->validateBase64($urlDecodedBase64); + + return base64_decode($urlDecodedBase64); + } + + /** + * Base64 encoding which replaces characters: + * + instead of - + * / instead of _ + * + * @link http://en.wikipedia.org/wiki/Base64#URL_applications + * + * @param string $input string to encode + * + * @return string base64 url encoded input + */ + public function base64UrlEncode($input) + { + return strtr(base64_encode($input), '+/', '-_'); + } + + /** + * Validates a base64 string. + * + * @param string $input base64 value to validate + * + * @throws FacebookSDKException + */ + protected function validateBase64($input) + { + if (!preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $input)) { + throw new FacebookSDKException('Signed request contains malformed base64 encoding.', 608); + } + } +} diff --git a/mayor-orig/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php b/mayor-orig/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php new file mode 100644 index 00000000..1d134ddc --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Url/FacebookUrlDetectionHandler.php @@ -0,0 +1,182 @@ +getHttpScheme() . '://' . $this->getHostName() . $this->getServerVar('REQUEST_URI'); + } + + /** + * Get the currently active URL scheme. + * + * @return string + */ + protected function getHttpScheme() + { + return $this->isBehindSsl() ? 'https' : 'http'; + } + + /** + * Tries to detect if the server is running behind an SSL. + * + * @return boolean + */ + protected function isBehindSsl() + { + // Check for proxy first + $protocol = $this->getHeader('X_FORWARDED_PROTO'); + if ($protocol) { + return $this->protocolWithActiveSsl($protocol); + } + + $protocol = $this->getServerVar('HTTPS'); + if ($protocol) { + return $this->protocolWithActiveSsl($protocol); + } + + return (string)$this->getServerVar('SERVER_PORT') === '443'; + } + + /** + * Detects an active SSL protocol value. + * + * @param string $protocol + * + * @return boolean + */ + protected function protocolWithActiveSsl($protocol) + { + $protocol = strtolower((string)$protocol); + + return in_array($protocol, ['on', '1', 'https', 'ssl'], true); + } + + /** + * Tries to detect the host name of the server. + * + * Some elements adapted from + * + * @see https://github.com/symfony/HttpFoundation/blob/master/Request.php + * + * @return string + */ + protected function getHostName() + { + // Check for proxy first + $header = $this->getHeader('X_FORWARDED_HOST'); + if ($header && $this->isValidForwardedHost($header)) { + $elements = explode(',', $header); + $host = $elements[count($elements) - 1]; + } elseif (!$host = $this->getHeader('HOST')) { + if (!$host = $this->getServerVar('SERVER_NAME')) { + $host = $this->getServerVar('SERVER_ADDR'); + } + } + + // trim and remove port number from host + // host is lowercase as per RFC 952/2181 + $host = strtolower(preg_replace('/:\d+$/', '', trim($host))); + + // Port number + $scheme = $this->getHttpScheme(); + $port = $this->getCurrentPort(); + $appendPort = ':' . $port; + + // Don't append port number if a normal port. + if (($scheme == 'http' && $port == '80') || ($scheme == 'https' && $port == '443')) { + $appendPort = ''; + } + + return $host . $appendPort; + } + + protected function getCurrentPort() + { + // Check for proxy first + $port = $this->getHeader('X_FORWARDED_PORT'); + if ($port) { + return (string)$port; + } + + $protocol = (string)$this->getHeader('X_FORWARDED_PROTO'); + if ($protocol === 'https') { + return '443'; + } + + return (string)$this->getServerVar('SERVER_PORT'); + } + + /** + * Returns the a value from the $_SERVER super global. + * + * @param string $key + * + * @return string + */ + protected function getServerVar($key) + { + return isset($_SERVER[$key]) ? $_SERVER[$key] : ''; + } + + /** + * Gets a value from the HTTP request headers. + * + * @param string $key + * + * @return string + */ + protected function getHeader($key) + { + return $this->getServerVar('HTTP_' . $key); + } + + /** + * Checks if the value in X_FORWARDED_HOST is a valid hostname + * Could prevent unintended redirections + * + * @param string $header + * + * @return boolean + */ + protected function isValidForwardedHost($header) + { + $elements = explode(',', $header); + $host = $elements[count($elements) - 1]; + + return preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $host) //valid chars check + && 0 < strlen($host) && strlen($host) < 254 //overall length check + && preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $host); //length of each label + } +} diff --git a/mayor-orig/www/include/share/facebook/Url/FacebookUrlManipulator.php b/mayor-orig/www/include/share/facebook/Url/FacebookUrlManipulator.php new file mode 100644 index 00000000..daeab9c5 --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Url/FacebookUrlManipulator.php @@ -0,0 +1,167 @@ + 0) { + $query = '?' . http_build_query($params, null, '&'); + } + } + + $scheme = isset($parts['scheme']) ? $parts['scheme'] . '://' : ''; + $host = isset($parts['host']) ? $parts['host'] : ''; + $port = isset($parts['port']) ? ':' . $parts['port'] : ''; + $path = isset($parts['path']) ? $parts['path'] : ''; + $fragment = isset($parts['fragment']) ? '#' . $parts['fragment'] : ''; + + return $scheme . $host . $port . $path . $query . $fragment; + } + + /** + * Gracefully appends params to the URL. + * + * @param string $url The URL that will receive the params. + * @param array $newParams The params to append to the URL. + * + * @return string + */ + public static function appendParamsToUrl($url, array $newParams = []) + { + if (empty($newParams)) { + return $url; + } + + if (strpos($url, '?') === false) { + return $url . '?' . http_build_query($newParams, null, '&'); + } + + list($path, $query) = explode('?', $url, 2); + $existingParams = []; + parse_str($query, $existingParams); + + // Favor params from the original URL over $newParams + $newParams = array_merge($newParams, $existingParams); + + // Sort for a predicable order + ksort($newParams); + + return $path . '?' . http_build_query($newParams, null, '&'); + } + + /** + * Returns the params from a URL in the form of an array. + * + * @param string $url The URL to parse the params from. + * + * @return array + */ + public static function getParamsAsArray($url) + { + $query = parse_url($url, PHP_URL_QUERY); + if (!$query) { + return []; + } + $params = []; + parse_str($query, $params); + + return $params; + } + + /** + * Adds the params of the first URL to the second URL. + * + * Any params that already exist in the second URL will go untouched. + * + * @param string $urlToStealFrom The URL harvest the params from. + * @param string $urlToAddTo The URL that will receive the new params. + * + * @return string The $urlToAddTo with any new params from $urlToStealFrom. + */ + public static function mergeUrlParams($urlToStealFrom, $urlToAddTo) + { + $newParams = static::getParamsAsArray($urlToStealFrom); + // Nothing new to add, return as-is + if (!$newParams) { + return $urlToAddTo; + } + + return static::appendParamsToUrl($urlToAddTo, $newParams); + } + + /** + * Check for a "/" prefix and prepend it if not exists. + * + * @param string|null $string + * + * @return string|null + */ + public static function forceSlashPrefix($string) + { + if (!$string) { + return $string; + } + + return strpos($string, '/') === 0 ? $string : '/' . $string; + } + + /** + * Trims off the hostname and Graph version from a URL. + * + * @param string $urlToTrim The URL the needs the surgery. + * + * @return string The $urlToTrim with the hostname and Graph version removed. + */ + public static function baseGraphUrlEndpoint($urlToTrim) + { + return '/' . preg_replace('/^https:\/\/.+\.facebook\.com(\/v.+?)?\//', '', $urlToTrim); + } +} diff --git a/mayor-orig/www/include/share/facebook/Url/UrlDetectionInterface.php b/mayor-orig/www/include/share/facebook/Url/UrlDetectionInterface.php new file mode 100644 index 00000000..dca38a0c --- /dev/null +++ b/mayor-orig/www/include/share/facebook/Url/UrlDetectionInterface.php @@ -0,0 +1,39 @@ +> 16) & 0xFF); + $g = 255 - (($rgb >> 8) & 0xFF); + $b = 255 - ($rgb & 0xFF); + $a = $rgb >> 24; + $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a); + if ($new_pxl == false){ + $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a); + } + imagesetpixel($source,$x,$y,$new_pxl); + ++$x; + } + ++$y; + } + return true; + break; + case 1: + $y = 0; + while($y<$max_y) { + $x = 0; + while($x<$max_x){ + $rgb = imagecolorat($source,$x,$y); + $a = $rgb >> 24; + $r = ((($rgb >> 16) & 0xFF)*0.299)+((($rgb >> 8) & 0xFF)*0.587)+(($rgb & 0xFF)*0.114); + $new_pxl = imagecolorallocatealpha($source, $r, $r, $r, $a); + if ($new_pxl == false){ + $new_pxl = imagecolorclosestalpha($source, $r, $r, $r, $a); + } + imagesetpixel($source,$x,$y,$new_pxl); + ++$x; + } + ++$y; + } + return true; + break; + case 2: + $y = 0; + while($y<$max_y) { + $x = 0; + while($x<$max_x){ + $rgb = imagecolorat($source,$x,$y); + $r = (($rgb >> 16) & 0xFF) + $arg1; + $g = (($rgb >> 8) & 0xFF) + $arg1; + $b = ($rgb & 0xFF) + $arg1; + $a = $rgb >> 24; + $r = ($r > 255)? 255 : (($r < 0)? 0:$r); + $g = ($g > 255)? 255 : (($g < 0)? 0:$g); + $b = ($b > 255)? 255 : (($b < 0)? 0:$b); + $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a); + if ($new_pxl == false){ + $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a); + } + imagesetpixel($source,$x,$y,$new_pxl); + ++$x; + } + ++$y; + } + return true; + break; + case 3: + $contrast = pow((100-$arg1)/100,2); + $y = 0; + while($y<$max_y) { + $x = 0; + while($x<$max_x){ + $rgb = imagecolorat($source,$x,$y); + $a = $rgb >> 24; + $r = (((((($rgb >> 16) & 0xFF)/255)-0.5)*$contrast)+0.5)*255; + $g = (((((($rgb >> 8) & 0xFF)/255)-0.5)*$contrast)+0.5)*255; + $b = ((((($rgb & 0xFF)/255)-0.5)*$contrast)+0.5)*255; + $r = ($r > 255)? 255 : (($r < 0)? 0:$r); + $g = ($g > 255)? 255 : (($g < 0)? 0:$g); + $b = ($b > 255)? 255 : (($b < 0)? 0:$b); + $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a); + if ($new_pxl == false){ + $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a); + } + imagesetpixel($source,$x,$y,$new_pxl); + ++$x; + } + ++$y; + } + return true; + break; + case 4: + $x = 0; + while($x<$max_x){ + $y = 0; + while($y<$max_y){ + $rgb = imagecolorat($source, $x, $y); + $r = (($rgb >> 16) & 0xFF) + $arg1; + $g = (($rgb >> 8) & 0xFF) + $arg2; + $b = ($rgb & 0xFF) + $arg3; + $a = $rgb >> 24; + $r = ($r > 255)? 255 : (($r < 0)? 0:$r); + $g = ($g > 255)? 255 : (($g < 0)? 0:$g); + $b = ($b > 255)? 255 : (($b < 0)? 0:$b); + $new_pxl = imagecolorallocatealpha($source, $r, $g, $b, $a); + if ($new_pxl == false){ + $new_pxl = imagecolorclosestalpha($source, $r, $g, $b, $a); + } + imagesetpixel($source,$x,$y,$new_pxl); + ++$y; + } + ++$x; + } + return true; + break; + case 5: + return imageconvolution($source, array(array(-1,0,-1), array(0,4,0), array(-1,0,-1)), 1, 127); + break; + case 6: + return imageconvolution($source, array(array(1.5, 0, 0), array(0, 0, 0), array(0, 0, -1.5)), 1, 127); + break; + case 7: + return imageconvolution($source, array(array(1, 2, 1), array(2, 4, 2), array(1, 2, 1)), 16, 0); + break; + case 8: + for($y = 0; $y<$max_y; $y++) { + for ($x = 0; $x<$max_x; $x++) { + $flt_r_sum = $flt_g_sum = $flt_b_sum = 0; + $cpxl = imagecolorat($source, $x, $y); + for ($j=0; $j<3; $j++) { + for ($i=0; $i<3; $i++) { + if (($j == 1) && ($i == 1)) { + $flt_r[1][1] = $flt_g[1][1] = $flt_b[1][1] = 0.5; + } else { + $pxl = imagecolorat($source, $x-(3>>1)+$i, $y-(3>>1)+$j); + + $new_a = $pxl >> 24; + //$r = (($pxl >> 16) & 0xFF); + //$g = (($pxl >> 8) & 0xFF); + //$b = ($pxl & 0xFF); + $new_r = abs((($cpxl >> 16) & 0xFF) - (($pxl >> 16) & 0xFF)); + if ($new_r != 0) { + $flt_r[$j][$i] = 1/$new_r; + } else { + $flt_r[$j][$i] = 1; + } + + $new_g = abs((($cpxl >> 8) & 0xFF) - (($pxl >> 8) & 0xFF)); + if ($new_g != 0) { + $flt_g[$j][$i] = 1/$new_g; + } else { + $flt_g[$j][$i] = 1; + } + + $new_b = abs(($cpxl & 0xFF) - ($pxl & 0xFF)); + if ($new_b != 0) { + $flt_b[$j][$i] = 1/$new_b; + } else { + $flt_b[$j][$i] = 1; + } + } + + $flt_r_sum += $flt_r[$j][$i]; + $flt_g_sum += $flt_g[$j][$i]; + $flt_b_sum += $flt_b[$j][$i]; + } + } + + for ($j=0; $j<3; $j++) { + for ($i=0; $i<3; $i++) { + if ($flt_r_sum != 0) { + $flt_r[$j][$i] /= $flt_r_sum; + } + if ($flt_g_sum != 0) { + $flt_g[$j][$i] /= $flt_g_sum; + } + if ($flt_b_sum != 0) { + $flt_b[$j][$i] /= $flt_b_sum; + } + } + } + + $new_r = $new_g = $new_b = 0; + + for ($j=0; $j<3; $j++) { + for ($i=0; $i<3; $i++) { + $pxl = imagecolorat($source, $x-(3>>1)+$i, $y-(3>>1)+$j); + $new_r += (($pxl >> 16) & 0xFF) * $flt_r[$j][$i]; + $new_g += (($pxl >> 8) & 0xFF) * $flt_g[$j][$i]; + $new_b += ($pxl & 0xFF) * $flt_b[$j][$i]; + } + } + + $new_r = ($new_r > 255)? 255 : (($new_r < 0)? 0:$new_r); + $new_g = ($new_g > 255)? 255 : (($new_g < 0)? 0:$new_g); + $new_b = ($new_b > 255)? 255 : (($new_b < 0)? 0:$new_b); + $new_pxl = ImageColorAllocateAlpha($source, (int)$new_r, (int)$new_g, (int)$new_b, $new_a); + if ($new_pxl == false) { + $new_pxl = ImageColorClosestAlpha($source, (int)$new_r, (int)$new_g, (int)$new_b, $new_a); + } + imagesetpixel($source,$x,$y,$new_pxl); + } + } + return true; + break; + case 9: + return imageconvolution($source, array(array(-1,-1,-1),array(-1,9,-1),array(-1,-1,-1)), 1, 0); + break; + case 10: + return imageconvolution($source, array(array(1,1,1),array(1,$arg1,1),array(1,1,1)), $arg1+8, 0); + break; + } +} +} +?> diff --git a/mayor-orig/www/include/share/googleapi/autoload.php b/mayor-orig/www/include/share/googleapi/autoload.php new file mode 100644 index 00000000..f51c20c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/autoload.php @@ -0,0 +1,7 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + * @see http://www.php-fig.org/psr/psr-0/ + * @see http://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + // PSR-4 + private $prefixLengthsPsr4 = array(); + private $prefixDirsPsr4 = array(); + private $fallbackDirsPsr4 = array(); + + // PSR-0 + private $prefixesPsr0 = array(); + private $fallbackDirsPsr0 = array(); + + private $useIncludePath = false; + private $classMap = array(); + private $classMapAuthoritative = false; + private $missingClasses = array(); + private $apcuPrefix; + + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', $this->prefixesPsr0); + } + + return array(); + } + + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param array $classMap Class to filename map + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 base directories + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return bool|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath.'\\'; + if (isset($this->prefixDirsPsr4[$search])) { + foreach ($this->prefixDirsPsr4[$search] as $dir) { + $length = $this->prefixLengthsPsr4[$first][$search]; + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + */ +function includeFile($file) +{ + include $file; +} diff --git a/mayor-orig/www/include/share/googleapi/composer/LICENSE b/mayor-orig/www/include/share/googleapi/composer/LICENSE new file mode 100644 index 00000000..f27399a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_classmap.php b/mayor-orig/www/include/share/googleapi/composer/autoload_classmap.php new file mode 100644 index 00000000..c153b061 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_classmap.php @@ -0,0 +1,35 @@ + $vendorDir . '/google/auth/src/ApplicationDefaultCredentials.php', + 'Google\\Auth\\CacheTrait' => $vendorDir . '/google/auth/src/CacheTrait.php', + 'Google\\Auth\\Cache\\InvalidArgumentException' => $vendorDir . '/google/auth/src/Cache/InvalidArgumentException.php', + 'Google\\Auth\\Cache\\Item' => $vendorDir . '/google/auth/src/Cache/Item.php', + 'Google\\Auth\\Cache\\MemoryCacheItemPool' => $vendorDir . '/google/auth/src/Cache/MemoryCacheItemPool.php', + 'Google\\Auth\\CredentialsLoader' => $vendorDir . '/google/auth/src/CredentialsLoader.php', + 'Google\\Auth\\Credentials\\AppIdentityCredentials' => $vendorDir . '/google/auth/src/Credentials/AppIdentityCredentials.php', + 'Google\\Auth\\Credentials\\GCECredentials' => $vendorDir . '/google/auth/src/Credentials/GCECredentials.php', + 'Google\\Auth\\Credentials\\IAMCredentials' => $vendorDir . '/google/auth/src/Credentials/IAMCredentials.php', + 'Google\\Auth\\Credentials\\ServiceAccountCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountCredentials.php', + 'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php', + 'Google\\Auth\\Credentials\\UserRefreshCredentials' => $vendorDir . '/google/auth/src/Credentials/UserRefreshCredentials.php', + 'Google\\Auth\\FetchAuthTokenCache' => $vendorDir . '/google/auth/src/FetchAuthTokenCache.php', + 'Google\\Auth\\FetchAuthTokenInterface' => $vendorDir . '/google/auth/src/FetchAuthTokenInterface.php', + 'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php', + 'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php', + 'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $vendorDir . '/google/auth/src/HttpHandler/HttpHandlerFactory.php', + 'Google\\Auth\\Middleware\\AuthTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/AuthTokenMiddleware.php', + 'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php', + 'Google\\Auth\\Middleware\\SimpleMiddleware' => $vendorDir . '/google/auth/src/Middleware/SimpleMiddleware.php', + 'Google\\Auth\\OAuth2' => $vendorDir . '/google/auth/src/OAuth2.php', + 'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/AuthTokenSubscriber.php', + 'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php', + 'Google\\Auth\\Subscriber\\SimpleSubscriber' => $vendorDir . '/google/auth/src/Subscriber/SimpleSubscriber.php', + 'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php', + 'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php', +); diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_files.php b/mayor-orig/www/include/share/googleapi/composer/autoload_files.php new file mode 100644 index 00000000..56bb586c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_files.php @@ -0,0 +1,13 @@ + $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', + 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', + '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', + 'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php', +); diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_namespaces.php b/mayor-orig/www/include/share/googleapi/composer/autoload_namespaces.php new file mode 100644 index 00000000..aed9f84e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_namespaces.php @@ -0,0 +1,11 @@ + array($vendorDir . '/google/apiclient-services/src'), + 'Google_' => array($vendorDir . '/google/apiclient/src'), +); diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_psr4.php b/mayor-orig/www/include/share/googleapi/composer/autoload_psr4.php new file mode 100644 index 00000000..36bd6b5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_psr4.php @@ -0,0 +1,19 @@ + array($vendorDir . '/phpseclib/phpseclib/phpseclib'), + 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), + 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), + 'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), + 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), + 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), + 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), + 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), + 'Google\\Auth\\' => array($vendorDir . '/google/auth/src'), + 'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'), +); diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_real.php b/mayor-orig/www/include/share/googleapi/composer/autoload_real.php new file mode 100644 index 00000000..84415c51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_real.php @@ -0,0 +1,70 @@ += 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); + if ($useStaticLoader) { + require_once __DIR__ . '/autoload_static.php'; + + call_user_func(\Composer\Autoload\ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::getInitializer($loader)); + } else { + $map = require __DIR__ . '/autoload_namespaces.php'; + foreach ($map as $namespace => $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + } + + $loader->register(true); + + if ($useStaticLoader) { + $includeFiles = Composer\Autoload\ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$files; + } else { + $includeFiles = require __DIR__ . '/autoload_files.php'; + } + foreach ($includeFiles as $fileIdentifier => $file) { + composerRequire93fe46837b05a1a7f3fe21c3c3d374b7($fileIdentifier, $file); + } + + return $loader; + } +} + +function composerRequire93fe46837b05a1a7f3fe21c3c3d374b7($fileIdentifier, $file) +{ + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { + require $file; + + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; + } +} diff --git a/mayor-orig/www/include/share/googleapi/composer/autoload_static.php b/mayor-orig/www/include/share/googleapi/composer/autoload_static.php new file mode 100644 index 00000000..9893763c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/autoload_static.php @@ -0,0 +1,140 @@ + __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', + 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', + '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', + 'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php', + ); + + public static $prefixLengthsPsr4 = array ( + 'p' => + array ( + 'phpseclib\\' => 10, + ), + 'P' => + array ( + 'Psr\\Log\\' => 8, + 'Psr\\Http\\Message\\' => 17, + 'Psr\\Cache\\' => 10, + ), + 'M' => + array ( + 'Monolog\\' => 8, + ), + 'G' => + array ( + 'GuzzleHttp\\Psr7\\' => 16, + 'GuzzleHttp\\Promise\\' => 19, + 'GuzzleHttp\\' => 11, + 'Google\\Auth\\' => 12, + ), + 'F' => + array ( + 'Firebase\\JWT\\' => 13, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'phpseclib\\' => + array ( + 0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib', + ), + 'Psr\\Log\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/log/Psr/Log', + ), + 'Psr\\Http\\Message\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/http-message/src', + ), + 'Psr\\Cache\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/cache/src', + ), + 'Monolog\\' => + array ( + 0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog', + ), + 'GuzzleHttp\\Psr7\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', + ), + 'GuzzleHttp\\Promise\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', + ), + 'GuzzleHttp\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', + ), + 'Google\\Auth\\' => + array ( + 0 => __DIR__ . '/..' . '/google/auth/src', + ), + 'Firebase\\JWT\\' => + array ( + 0 => __DIR__ . '/..' . '/firebase/php-jwt/src', + ), + ); + + public static $prefixesPsr0 = array ( + 'G' => + array ( + 'Google_Service_' => + array ( + 0 => __DIR__ . '/..' . '/google/apiclient-services/src', + ), + 'Google_' => + array ( + 0 => __DIR__ . '/..' . '/google/apiclient/src', + ), + ), + ); + + public static $classMap = array ( + 'Google\\Auth\\ApplicationDefaultCredentials' => __DIR__ . '/..' . '/google/auth/src/ApplicationDefaultCredentials.php', + 'Google\\Auth\\CacheTrait' => __DIR__ . '/..' . '/google/auth/src/CacheTrait.php', + 'Google\\Auth\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/google/auth/src/Cache/InvalidArgumentException.php', + 'Google\\Auth\\Cache\\Item' => __DIR__ . '/..' . '/google/auth/src/Cache/Item.php', + 'Google\\Auth\\Cache\\MemoryCacheItemPool' => __DIR__ . '/..' . '/google/auth/src/Cache/MemoryCacheItemPool.php', + 'Google\\Auth\\CredentialsLoader' => __DIR__ . '/..' . '/google/auth/src/CredentialsLoader.php', + 'Google\\Auth\\Credentials\\AppIdentityCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/AppIdentityCredentials.php', + 'Google\\Auth\\Credentials\\GCECredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/GCECredentials.php', + 'Google\\Auth\\Credentials\\IAMCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/IAMCredentials.php', + 'Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountCredentials.php', + 'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php', + 'Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/UserRefreshCredentials.php', + 'Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenCache.php', + 'Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenInterface.php', + 'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php', + 'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php', + 'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/HttpHandlerFactory.php', + 'Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/AuthTokenMiddleware.php', + 'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php', + 'Google\\Auth\\Middleware\\SimpleMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/SimpleMiddleware.php', + 'Google\\Auth\\OAuth2' => __DIR__ . '/..' . '/google/auth/src/OAuth2.php', + 'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/AuthTokenSubscriber.php', + 'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php', + 'Google\\Auth\\Subscriber\\SimpleSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/SimpleSubscriber.php', + 'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Exception.php', + 'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Resource.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$prefixesPsr0; + $loader->classMap = ComposerStaticInit93fe46837b05a1a7f3fe21c3c3d374b7::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/mayor-orig/www/include/share/googleapi/composer/installed.json b/mayor-orig/www/include/share/googleapi/composer/installed.json new file mode 100644 index 00000000..274eeed6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/composer/installed.json @@ -0,0 +1,707 @@ +[ + { + "name": "psr/http-message", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2016-08-06T14:39:51+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ] + }, + { + "name": "guzzlehttp/psr7", + "version": "1.4.2", + "version_normalized": "1.4.2.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "time": "2017-03-20T17:10:46+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "request", + "response", + "stream", + "uri", + "url" + ] + }, + { + "name": "guzzlehttp/promises", + "version": "v1.3.1", + "version_normalized": "1.3.1.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "shasum": "" + }, + "require": { + "php": ">=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0" + }, + "time": "2016-12-20T10:07:11+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ] + }, + { + "name": "guzzlehttp/guzzle", + "version": "6.3.0", + "version_normalized": "6.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "shasum": "" + }, + "require": { + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.4", + "php": ">=5.5" + }, + "require-dev": { + "ext-curl": "*", + "phpunit/phpunit": "^4.0 || ^5.0", + "psr/log": "^1.0" + }, + "suggest": { + "psr/log": "Required for using the Log middleware" + }, + "time": "2017-06-22T18:50:49+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ] + }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.6", + "version_normalized": "2.0.6.0", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/34a7699e6f31b1ef4035ee36444407cecf9f56aa", + "reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "~4.0", + "sami/sami": "~2.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." + }, + "time": "2017-06-05T06:31:10+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ] + }, + { + "name": "psr/log", + "version": "1.0.2", + "version_normalized": "1.0.2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2016-10-10T12:19:37+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ] + }, + { + "name": "monolog/monolog", + "version": "1.23.0", + "version_normalized": "1.23.0.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "2.3.0", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "time": "2017-06-19T01:22:40+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ] + }, + { + "name": "firebase/php-jwt", + "version": "v4.0.0", + "version_normalized": "4.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35", + "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2016-07-18T04:51:16+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt" + }, + { + "name": "google/apiclient-services", + "version": "v0.11", + "version_normalized": "0.11.0.0", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client-services.git", + "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52", + "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "time": "2017-03-13T17:40:44+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Google_Service_": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ] + }, + { + "name": "psr/cache", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2016-08-06T20:24:11+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ] + }, + { + "name": "google/auth", + "version": "v0.11.1", + "version_normalized": "0.11.1.0", + "source": { + "type": "git", + "url": "https://github.com/google/google-auth-library-php.git", + "reference": "a240674b08a09949fd5597f7590b3ed83663a12d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d", + "reference": "a240674b08a09949fd5597f7590b3ed83663a12d", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "guzzlehttp/guzzle": "~5.3|~6.0", + "guzzlehttp/psr7": "~1.2", + "php": ">=5.4", + "psr/cache": "^1.0", + "psr/http-message": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^1.11", + "phpunit/phpunit": "3.7.*" + }, + "time": "2016-11-02T14:59:14+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ], + "psr-4": { + "Google\\Auth\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google Auth Library for PHP", + "homepage": "http://github.com/google/google-auth-library-php", + "keywords": [ + "Authentication", + "google", + "oauth2" + ] + }, + { + "name": "google/apiclient", + "version": "v2.1.3", + "version_normalized": "2.1.3.0", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client.git", + "reference": "43996f09df274158fd04fce98e8a82effe5f3717" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717", + "reference": "43996f09df274158fd04fce98e8a82effe5f3717", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "google/apiclient-services": "^0.11", + "google/auth": "^0.11", + "guzzlehttp/guzzle": "~5.2|~6.0", + "guzzlehttp/psr7": "^1.2", + "monolog/monolog": "^1.17", + "php": ">=5.4", + "phpseclib/phpseclib": "~0.3.10|~2.0" + }, + "require-dev": { + "cache/filesystem-adapter": "^0.3.2", + "phpunit/phpunit": "~4", + "squizlabs/php_codesniffer": "~2.3", + "symfony/css-selector": "~2.1", + "symfony/dom-crawler": "~2.1" + }, + "suggest": { + "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)" + }, + "time": "2017-03-22T18:32:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-0": { + "Google_": "src/" + }, + "classmap": [ + "src/Google/Service/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ] + } +] diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/LICENSE b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/LICENSE new file mode 100644 index 00000000..cb0c49b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/LICENSE @@ -0,0 +1,30 @@ +Copyright (c) 2011, Neuman Vong + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of Neuman Vong nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/README.md b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/README.md new file mode 100644 index 00000000..d4589b1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/README.md @@ -0,0 +1,119 @@ +[![Build Status](https://travis-ci.org/firebase/php-jwt.png?branch=master)](https://travis-ci.org/firebase/php-jwt) +[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt) +[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt) +[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt) + +PHP-JWT +======= +A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519). + +Installation +------------ + +Use composer to manage your dependencies and download PHP-JWT: + +```bash +composer require firebase/php-jwt +``` + +Example +------- +```php + "http://example.org", + "aud" => "http://example.com", + "iat" => 1356999524, + "nbf" => 1357000000 +); + +/** + * IMPORTANT: + * You must specify supported algorithms for your application. See + * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40 + * for a list of spec-compliant algorithms. + */ +$jwt = JWT::encode($token, $key); +$decoded = JWT::decode($jwt, $key, array('HS256')); + +print_r($decoded); + +/* + NOTE: This will now be an object instead of an associative array. To get + an associative array, you will need to cast it as such: +*/ + +$decoded_array = (array) $decoded; + +/** + * You can add a leeway to account for when there is a clock skew times between + * the signing and verifying servers. It is recommended that this leeway should + * not be bigger than a few minutes. + * + * Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef + */ +JWT::$leeway = 60; // $leeway in seconds +$decoded = JWT::decode($jwt, $key, array('HS256')); + +?> +``` + +Changelog +--------- + +#### 4.0.0 / 2016-07-17 +- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)! +- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)! +- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)! +- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)! + +#### 3.0.0 / 2015-07-22 +- Minimum PHP version updated from `5.2.0` to `5.3.0`. +- Add `\Firebase\JWT` namespace. See +[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to +[@Dashron](https://github.com/Dashron)! +- Require a non-empty key to decode and verify a JWT. See +[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to +[@sjones608](https://github.com/sjones608)! +- Cleaner documentation blocks in the code. See +[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to +[@johanderuijter](https://github.com/johanderuijter)! + +#### 2.2.0 / 2015-06-22 +- Add support for adding custom, optional JWT headers to `JWT::encode()`. See +[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to +[@mcocaro](https://github.com/mcocaro)! + +#### 2.1.0 / 2015-05-20 +- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew +between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)! +- Add support for passing an object implementing the `ArrayAccess` interface for +`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)! + +#### 2.0.0 / 2015-04-01 +- **Note**: It is strongly recommended that you update to > v2.0.0 to address + known security vulnerabilities in prior versions when both symmetric and + asymmetric keys are used together. +- Update signature for `JWT::decode(...)` to require an array of supported + algorithms to use when verifying token signatures. + + +Tests +----- +Run the tests using phpunit: + +```bash +$ pear install PHPUnit +$ phpunit --configuration phpunit.xml.dist +PHPUnit 3.7.10 by Sebastian Bergmann. +..... +Time: 0 seconds, Memory: 2.50Mb +OK (5 tests, 5 assertions) +``` + +License +------- +[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause). diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.json b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.json new file mode 100644 index 00000000..1a5e93b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.json @@ -0,0 +1,27 @@ +{ + "name": "firebase/php-jwt", + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "license": "BSD-3-Clause", + "require": { + "php": ">=5.3.0" + }, + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "minimum-stability": "dev" +} diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.lock b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.lock new file mode 100644 index 00000000..5518ae41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/composer.lock @@ -0,0 +1,19 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "hash": "60a5df5d283a7ae9000173248eba8909", + "packages": [], + "packages-dev": [], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=5.2.0" + }, + "platform-dev": [] +} diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/package.xml b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/package.xml new file mode 100644 index 00000000..a95b056f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/package.xml @@ -0,0 +1,77 @@ + + + JWT + pear.php.net + A JWT encoder/decoder. + A JWT encoder/decoder library for PHP. + + Neuman Vong + lcfrs + neuman+pear@twilio.com + yes + + + Firebase Operations + firebase + operations@firebase.com + yes + + 2015-07-22 + + 3.0.0 + 3.0.0 + + + beta + beta + + BSD 3-Clause License + +Initial release with basic support for JWT encoding, decoding and signature verification. + + + + + + + + + + + + + 5.1 + + + 1.7.0 + + + json + + + hash + + + + + + + + 0.1.0 + 0.1.0 + + + beta + beta + + 2015-04-01 + BSD 3-Clause License + +Initial release with basic support for JWT encoding, decoding and signature verification. + + + + diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php new file mode 100644 index 00000000..a6ee2f7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/BeforeValidException.php @@ -0,0 +1,7 @@ + + * @author Anant Narayanan + * @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD + * @link https://github.com/firebase/php-jwt + */ +class JWT +{ + + /** + * When checking nbf, iat or expiration times, + * we want to provide some extra leeway time to + * account for clock skew. + */ + public static $leeway = 0; + + /** + * Allow the current timestamp to be specified. + * Useful for fixing a value within unit testing. + * + * Will default to PHP time() value if null. + */ + public static $timestamp = null; + + public static $supported_algs = array( + 'HS256' => array('hash_hmac', 'SHA256'), + 'HS512' => array('hash_hmac', 'SHA512'), + 'HS384' => array('hash_hmac', 'SHA384'), + 'RS256' => array('openssl', 'SHA256'), + ); + + /** + * Decodes a JWT string into a PHP object. + * + * @param string $jwt The JWT + * @param string|array $key The key, or map of keys. + * If the algorithm used is asymmetric, this is the public key + * @param array $allowed_algs List of supported verification algorithms + * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256' + * + * @return object The JWT's payload as a PHP object + * + * @throws UnexpectedValueException Provided JWT was invalid + * @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed + * @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf' + * @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat' + * @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim + * + * @uses jsonDecode + * @uses urlsafeB64Decode + */ + public static function decode($jwt, $key, $allowed_algs = array()) + { + $timestamp = is_null(static::$timestamp) ? time() : static::$timestamp; + + if (empty($key)) { + throw new InvalidArgumentException('Key may not be empty'); + } + if (!is_array($allowed_algs)) { + throw new InvalidArgumentException('Algorithm not allowed'); + } + $tks = explode('.', $jwt); + if (count($tks) != 3) { + throw new UnexpectedValueException('Wrong number of segments'); + } + list($headb64, $bodyb64, $cryptob64) = $tks; + if (null === ($header = static::jsonDecode(static::urlsafeB64Decode($headb64)))) { + throw new UnexpectedValueException('Invalid header encoding'); + } + if (null === $payload = static::jsonDecode(static::urlsafeB64Decode($bodyb64))) { + throw new UnexpectedValueException('Invalid claims encoding'); + } + $sig = static::urlsafeB64Decode($cryptob64); + + if (empty($header->alg)) { + throw new UnexpectedValueException('Empty algorithm'); + } + if (empty(static::$supported_algs[$header->alg])) { + throw new UnexpectedValueException('Algorithm not supported'); + } + if (!in_array($header->alg, $allowed_algs)) { + throw new UnexpectedValueException('Algorithm not allowed'); + } + if (is_array($key) || $key instanceof \ArrayAccess) { + if (isset($header->kid)) { + $key = $key[$header->kid]; + } else { + throw new UnexpectedValueException('"kid" empty, unable to lookup correct key'); + } + } + + // Check the signature + if (!static::verify("$headb64.$bodyb64", $sig, $key, $header->alg)) { + throw new SignatureInvalidException('Signature verification failed'); + } + + // Check if the nbf if it is defined. This is the time that the + // token can actually be used. If it's not yet that time, abort. + if (isset($payload->nbf) && $payload->nbf > ($timestamp + static::$leeway)) { + throw new BeforeValidException( + 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf) + ); + } + + // Check that this token has been created before 'now'. This prevents + // using tokens that have been created for later use (and haven't + // correctly used the nbf claim). + if (isset($payload->iat) && $payload->iat > ($timestamp + static::$leeway)) { + throw new BeforeValidException( + 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->iat) + ); + } + + // Check if this token has expired. + if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) { + throw new ExpiredException('Expired token'); + } + + return $payload; + } + + /** + * Converts and signs a PHP object or array into a JWT string. + * + * @param object|array $payload PHP object or array + * @param string $key The secret key. + * If the algorithm used is asymmetric, this is the private key + * @param string $alg The signing algorithm. + * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256' + * @param mixed $keyId + * @param array $head An array with header elements to attach + * + * @return string A signed JWT + * + * @uses jsonEncode + * @uses urlsafeB64Encode + */ + public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null) + { + $header = array('typ' => 'JWT', 'alg' => $alg); + if ($keyId !== null) { + $header['kid'] = $keyId; + } + if ( isset($head) && is_array($head) ) { + $header = array_merge($head, $header); + } + $segments = array(); + $segments[] = static::urlsafeB64Encode(static::jsonEncode($header)); + $segments[] = static::urlsafeB64Encode(static::jsonEncode($payload)); + $signing_input = implode('.', $segments); + + $signature = static::sign($signing_input, $key, $alg); + $segments[] = static::urlsafeB64Encode($signature); + + return implode('.', $segments); + } + + /** + * Sign a string with a given key and algorithm. + * + * @param string $msg The message to sign + * @param string|resource $key The secret key + * @param string $alg The signing algorithm. + * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256' + * + * @return string An encrypted message + * + * @throws DomainException Unsupported algorithm was specified + */ + public static function sign($msg, $key, $alg = 'HS256') + { + if (empty(static::$supported_algs[$alg])) { + throw new DomainException('Algorithm not supported'); + } + list($function, $algorithm) = static::$supported_algs[$alg]; + switch($function) { + case 'hash_hmac': + return hash_hmac($algorithm, $msg, $key, true); + case 'openssl': + $signature = ''; + $success = openssl_sign($msg, $signature, $key, $algorithm); + if (!$success) { + throw new DomainException("OpenSSL unable to sign data"); + } else { + return $signature; + } + } + } + + /** + * Verify a signature with the message, key and method. Not all methods + * are symmetric, so we must have a separate verify and sign method. + * + * @param string $msg The original message (header and body) + * @param string $signature The original signature + * @param string|resource $key For HS*, a string key works. for RS*, must be a resource of an openssl public key + * @param string $alg The algorithm + * + * @return bool + * + * @throws DomainException Invalid Algorithm or OpenSSL failure + */ + private static function verify($msg, $signature, $key, $alg) + { + if (empty(static::$supported_algs[$alg])) { + throw new DomainException('Algorithm not supported'); + } + + list($function, $algorithm) = static::$supported_algs[$alg]; + switch($function) { + case 'openssl': + $success = openssl_verify($msg, $signature, $key, $algorithm); + if (!$success) { + throw new DomainException("OpenSSL unable to verify data: " . openssl_error_string()); + } else { + return $signature; + } + case 'hash_hmac': + default: + $hash = hash_hmac($algorithm, $msg, $key, true); + if (function_exists('hash_equals')) { + return hash_equals($signature, $hash); + } + $len = min(static::safeStrlen($signature), static::safeStrlen($hash)); + + $status = 0; + for ($i = 0; $i < $len; $i++) { + $status |= (ord($signature[$i]) ^ ord($hash[$i])); + } + $status |= (static::safeStrlen($signature) ^ static::safeStrlen($hash)); + + return ($status === 0); + } + } + + /** + * Decode a JSON string into a PHP object. + * + * @param string $input JSON string + * + * @return object Object representation of JSON string + * + * @throws DomainException Provided string was invalid JSON + */ + public static function jsonDecode($input) + { + if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) { + /** In PHP >=5.4.0, json_decode() accepts an options parameter, that allows you + * to specify that large ints (like Steam Transaction IDs) should be treated as + * strings, rather than the PHP default behaviour of converting them to floats. + */ + $obj = json_decode($input, false, 512, JSON_BIGINT_AS_STRING); + } else { + /** Not all servers will support that, however, so for older versions we must + * manually detect large ints in the JSON string and quote them (thus converting + *them to strings) before decoding, hence the preg_replace() call. + */ + $max_int_length = strlen((string) PHP_INT_MAX) - 1; + $json_without_bigints = preg_replace('/:\s*(-?\d{'.$max_int_length.',})/', ': "$1"', $input); + $obj = json_decode($json_without_bigints); + } + + if (function_exists('json_last_error') && $errno = json_last_error()) { + static::handleJsonError($errno); + } elseif ($obj === null && $input !== 'null') { + throw new DomainException('Null result with non-null input'); + } + return $obj; + } + + /** + * Encode a PHP object into a JSON string. + * + * @param object|array $input A PHP object or array + * + * @return string JSON representation of the PHP object or array + * + * @throws DomainException Provided object could not be encoded to valid JSON + */ + public static function jsonEncode($input) + { + $json = json_encode($input); + if (function_exists('json_last_error') && $errno = json_last_error()) { + static::handleJsonError($errno); + } elseif ($json === 'null' && $input !== null) { + throw new DomainException('Null result with non-null input'); + } + return $json; + } + + /** + * Decode a string with URL-safe Base64. + * + * @param string $input A Base64 encoded string + * + * @return string A decoded string + */ + public static function urlsafeB64Decode($input) + { + $remainder = strlen($input) % 4; + if ($remainder) { + $padlen = 4 - $remainder; + $input .= str_repeat('=', $padlen); + } + return base64_decode(strtr($input, '-_', '+/')); + } + + /** + * Encode a string with URL-safe Base64. + * + * @param string $input The string you want encoded + * + * @return string The base64 encode of what you passed in + */ + public static function urlsafeB64Encode($input) + { + return str_replace('=', '', strtr(base64_encode($input), '+/', '-_')); + } + + /** + * Helper method to create a JSON error. + * + * @param int $errno An error number from json_last_error() + * + * @return void + */ + private static function handleJsonError($errno) + { + $messages = array( + JSON_ERROR_DEPTH => 'Maximum stack depth exceeded', + JSON_ERROR_CTRL_CHAR => 'Unexpected control character found', + JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON' + ); + throw new DomainException( + isset($messages[$errno]) + ? $messages[$errno] + : 'Unknown JSON error: ' . $errno + ); + } + + /** + * Get the number of bytes in cryptographic strings. + * + * @param string + * + * @return int + */ + private static function safeStrlen($str) + { + if (function_exists('mb_strlen')) { + return mb_strlen($str, '8bit'); + } + return strlen($str); + } +} diff --git a/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php new file mode 100644 index 00000000..27332b21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/firebase/php-jwt/src/SignatureInvalidException.php @@ -0,0 +1,7 @@ +=5.4" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "autoload": { + "psr-0": { + "Google_Service_": "src" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/phpunit.xml b/mayor-orig/www/include/share/googleapi/google/apiclient-services/phpunit.xml new file mode 100644 index 00000000..95069eed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/phpunit.xml @@ -0,0 +1,11 @@ + + + + + tests + + + diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php new file mode 100644 index 00000000..00a09651 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl.php @@ -0,0 +1,67 @@ + + * This API contains a single method, batchGet. Call this method to retrieve the + * AMP URL (and equivalent AMP Cache URL) for given public URL(s).

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Acceleratedmobilepageurl extends Google_Service +{ + + + public $ampUrls; + + /** + * Constructs the internal representation of the Acceleratedmobilepageurl + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'acceleratedmobilepageurl'; + + $this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls( + $this, + $this->serviceName, + 'ampUrls', + array( + 'methods' => array( + 'batchGet' => array( + 'path' => 'v1/ampUrls:batchGet', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php new file mode 100644 index 00000000..9edc1587 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrl.php @@ -0,0 +1,48 @@ +ampUrl = $ampUrl; + } + public function getAmpUrl() + { + return $this->ampUrl; + } + public function setCdnAmpUrl($cdnAmpUrl) + { + $this->cdnAmpUrl = $cdnAmpUrl; + } + public function getCdnAmpUrl() + { + return $this->cdnAmpUrl; + } + public function setOriginalUrl($originalUrl) + { + $this->originalUrl = $originalUrl; + } + public function getOriginalUrl() + { + return $this->originalUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php new file mode 100644 index 00000000..450988d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/AmpUrlError.php @@ -0,0 +1,48 @@ +errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } + public function setErrorMessage($errorMessage) + { + $this->errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setOriginalUrl($originalUrl) + { + $this->originalUrl = $originalUrl; + } + public function getOriginalUrl() + { + return $this->originalUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php new file mode 100644 index 00000000..c2b4d204 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsRequest.php @@ -0,0 +1,40 @@ +lookupStrategy = $lookupStrategy; + } + public function getLookupStrategy() + { + return $this->lookupStrategy; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php new file mode 100644 index 00000000..62196ade --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/BatchGetAmpUrlsResponse.php @@ -0,0 +1,42 @@ +ampUrls = $ampUrls; + } + public function getAmpUrls() + { + return $this->ampUrls; + } + public function setUrlErrors($urlErrors) + { + $this->urlErrors = $urlErrors; + } + public function getUrlErrors() + { + return $this->urlErrors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php new file mode 100644 index 00000000..9082e17c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Acceleratedmobilepageurl/Resource/AmpUrls.php @@ -0,0 +1,42 @@ + + * $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...); + * $ampUrls = $acceleratedmobilepageurlService->ampUrls; + * + */ +class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource +{ + /** + * Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp- + * cache-url-format). (ampUrls.batchGet) + * + * @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse + */ + public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php new file mode 100644 index 00000000..0d49c832 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php @@ -0,0 +1,679 @@ + + * Accesses your bidding-account information, submits creatives for validation, + * finds available direct deals, and retrieves performance reports.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AdExchangeBuyer extends Google_Service +{ + /** Manage your Ad Exchange buyer account configuration. */ + const ADEXCHANGE_BUYER = + "https://www.googleapis.com/auth/adexchange.buyer"; + + public $accounts; + public $billingInfo; + public $budget; + public $creatives; + public $marketplacedeals; + public $marketplacenotes; + public $marketplaceprivateauction; + public $performanceReport; + public $pretargetingConfig; + public $products; + public $proposals; + public $pubprofiles; + + /** + * Constructs the internal representation of the AdExchangeBuyer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adexchangebuyer/v1.4/'; + $this->version = 'v1.4'; + $this->serviceName = 'adexchangebuyer'; + + $this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'confirmUnsafeAccountChange' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'confirmUnsafeAccountChange' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo( + $this, + $this->serviceName, + 'billingInfo', + array( + 'methods' => array( + 'get' => array( + 'path' => 'billinginfo/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'billinginfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->budget = new Google_Service_AdExchangeBuyer_Resource_Budget( + $this, + $this->serviceName, + 'budget', + array( + 'methods' => array( + 'get' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'addDeal' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dealId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'creatives', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'repeated' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'dealsStatusFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'openAuctionStatusFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listDeals' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removeDeal' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dealId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals( + $this, + $this->serviceName, + 'marketplacedeals', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'proposals/{proposalId}/deals/delete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'proposals/{proposalId}/deals/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'proposals/{proposalId}/deals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'proposals/{proposalId}/deals/update', + 'httpMethod' => 'POST', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes( + $this, + $this->serviceName, + 'marketplacenotes', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'proposals/{proposalId}/notes/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'proposals/{proposalId}/notes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction( + $this, + $this->serviceName, + 'marketplaceprivateauction', + array( + 'methods' => array( + 'updateproposal' => array( + 'path' => 'privateauction/{privateAuctionId}/updateproposal', + 'httpMethod' => 'POST', + 'parameters' => array( + 'privateAuctionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport( + $this, + $this->serviceName, + 'performanceReport', + array( + 'methods' => array( + 'list' => array( + 'path' => 'performancereport', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'startDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig( + $this, + $this->serviceName, + 'pretargetingConfig', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'pretargetingconfigs/{accountId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'pretargetingconfigs/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_AdExchangeBuyer_Resource_Products( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'get' => array( + 'path' => 'products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'products/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals( + $this, + $this->serviceName, + 'proposals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'proposals/{proposalId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'proposals/insert', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionNumber' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateAction' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'proposals/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setupcomplete' => array( + 'path' => 'proposals/{proposalId}/setupcomplete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'proposalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionNumber' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateAction' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles( + $this, + $this->serviceName, + 'pubprofiles', + array( + 'methods' => array( + 'list' => array( + 'path' => 'publisher/{accountId}/profiles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php new file mode 100644 index 00000000..85b0aea5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php @@ -0,0 +1,95 @@ +bidderLocation = $bidderLocation; + } + public function getBidderLocation() + { + return $this->bidderLocation; + } + public function setCookieMatchingNid($cookieMatchingNid) + { + $this->cookieMatchingNid = $cookieMatchingNid; + } + public function getCookieMatchingNid() + { + return $this->cookieMatchingNid; + } + public function setCookieMatchingUrl($cookieMatchingUrl) + { + $this->cookieMatchingUrl = $cookieMatchingUrl; + } + public function getCookieMatchingUrl() + { + return $this->cookieMatchingUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumActiveCreatives($maximumActiveCreatives) + { + $this->maximumActiveCreatives = $maximumActiveCreatives; + } + public function getMaximumActiveCreatives() + { + return $this->maximumActiveCreatives; + } + public function setMaximumTotalQps($maximumTotalQps) + { + $this->maximumTotalQps = $maximumTotalQps; + } + public function getMaximumTotalQps() + { + return $this->maximumTotalQps; + } + public function setNumberActiveCreatives($numberActiveCreatives) + { + $this->numberActiveCreatives = $numberActiveCreatives; + } + public function getNumberActiveCreatives() + { + return $this->numberActiveCreatives; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php new file mode 100644 index 00000000..3b1d6ebd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountBidderLocation.php @@ -0,0 +1,57 @@ +bidProtocol = $bidProtocol; + } + public function getBidProtocol() + { + return $this->bidProtocol; + } + public function setMaximumQps($maximumQps) + { + $this->maximumQps = $maximumQps; + } + public function getMaximumQps() + { + return $this->maximumQps; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php new file mode 100644 index 00000000..96635b14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AccountsList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php new file mode 100644 index 00000000..9d39b447 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsRequest.php @@ -0,0 +1,50 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php new file mode 100644 index 00000000..6e2e56ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderDealsResponse.php @@ -0,0 +1,41 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php new file mode 100644 index 00000000..1f05dcbf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesRequest.php @@ -0,0 +1,32 @@ +notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php new file mode 100644 index 00000000..d33cd505 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/AddOrderNotesResponse.php @@ -0,0 +1,32 @@ +notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php new file mode 100644 index 00000000..5265205d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfo.php @@ -0,0 +1,58 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountName($accountName) + { + $this->accountName = $accountName; + } + public function getAccountName() + { + return $this->accountName; + } + public function setBillingId($billingId) + { + $this->billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php new file mode 100644 index 00000000..0ebd96e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/BillingInfoList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php new file mode 100644 index 00000000..339e36e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Budget.php @@ -0,0 +1,75 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBillingId($billingId) + { + $this->billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setBudgetAmount($budgetAmount) + { + $this->budgetAmount = $budgetAmount; + } + public function getBudgetAmount() + { + return $this->budgetAmount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php new file mode 100644 index 00000000..f5b79f56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Buyer.php @@ -0,0 +1,30 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php new file mode 100644 index 00000000..55de2d18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/ContactInformation.php @@ -0,0 +1,39 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php new file mode 100644 index 00000000..e8203657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersRequest.php @@ -0,0 +1,41 @@ +proposals = $proposals; + } + public function getProposals() + { + return $this->proposals; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php new file mode 100644 index 00000000..a617afbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreateOrdersResponse.php @@ -0,0 +1,32 @@ +proposals = $proposals; + } + public function getProposals() + { + return $this->proposals; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php new file mode 100644 index 00000000..376cd3f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Creative.php @@ -0,0 +1,281 @@ + "HTMLSnippet", + ); + public $hTMLSnippet; + public $accountId; + public $adChoicesDestinationUrl; + public $advertiserId; + public $advertiserName; + public $agencyId; + public $apiUploadTimestamp; + public $attribute; + public $buyerCreativeId; + public $clickThroughUrl; + protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections'; + protected $correctionsDataType = 'array'; + public $dealsStatus; + public $detectedDomains; + protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons'; + protected $filteringReasonsDataType = ''; + public $height; + public $impressionTrackingUrl; + public $kind; + public $languages; + protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd'; + protected $nativeAdDataType = ''; + public $openAuctionStatus; + public $productCategories; + public $restrictedCategories; + public $sensitiveCategories; + protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions'; + protected $servingRestrictionsDataType = 'array'; + public $vendorType; + public $version; + public $videoURL; + public $width; + + public function setHTMLSnippet($hTMLSnippet) + { + $this->hTMLSnippet = $hTMLSnippet; + } + public function getHTMLSnippet() + { + return $this->hTMLSnippet; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdChoicesDestinationUrl($adChoicesDestinationUrl) + { + $this->adChoicesDestinationUrl = $adChoicesDestinationUrl; + } + public function getAdChoicesDestinationUrl() + { + return $this->adChoicesDestinationUrl; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserName($advertiserName) + { + $this->advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setApiUploadTimestamp($apiUploadTimestamp) + { + $this->apiUploadTimestamp = $apiUploadTimestamp; + } + public function getApiUploadTimestamp() + { + return $this->apiUploadTimestamp; + } + public function setAttribute($attribute) + { + $this->attribute = $attribute; + } + public function getAttribute() + { + return $this->attribute; + } + public function setBuyerCreativeId($buyerCreativeId) + { + $this->buyerCreativeId = $buyerCreativeId; + } + public function getBuyerCreativeId() + { + return $this->buyerCreativeId; + } + public function setClickThroughUrl($clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCorrections($corrections) + { + $this->corrections = $corrections; + } + public function getCorrections() + { + return $this->corrections; + } + public function setDealsStatus($dealsStatus) + { + $this->dealsStatus = $dealsStatus; + } + public function getDealsStatus() + { + return $this->dealsStatus; + } + public function setDetectedDomains($detectedDomains) + { + $this->detectedDomains = $detectedDomains; + } + public function getDetectedDomains() + { + return $this->detectedDomains; + } + public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons) + { + $this->filteringReasons = $filteringReasons; + } + public function getFilteringReasons() + { + return $this->filteringReasons; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setImpressionTrackingUrl($impressionTrackingUrl) + { + $this->impressionTrackingUrl = $impressionTrackingUrl; + } + public function getImpressionTrackingUrl() + { + return $this->impressionTrackingUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd) + { + $this->nativeAd = $nativeAd; + } + public function getNativeAd() + { + return $this->nativeAd; + } + public function setOpenAuctionStatus($openAuctionStatus) + { + $this->openAuctionStatus = $openAuctionStatus; + } + public function getOpenAuctionStatus() + { + return $this->openAuctionStatus; + } + public function setProductCategories($productCategories) + { + $this->productCategories = $productCategories; + } + public function getProductCategories() + { + return $this->productCategories; + } + public function setRestrictedCategories($restrictedCategories) + { + $this->restrictedCategories = $restrictedCategories; + } + public function getRestrictedCategories() + { + return $this->restrictedCategories; + } + public function setSensitiveCategories($sensitiveCategories) + { + $this->sensitiveCategories = $sensitiveCategories; + } + public function getSensitiveCategories() + { + return $this->sensitiveCategories; + } + public function setServingRestrictions($servingRestrictions) + { + $this->servingRestrictions = $servingRestrictions; + } + public function getServingRestrictions() + { + return $this->servingRestrictions; + } + public function setVendorType($vendorType) + { + $this->vendorType = $vendorType; + } + public function getVendorType() + { + return $this->vendorType; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoURL($videoURL) + { + $this->videoURL = $videoURL; + } + public function getVideoURL() + { + return $this->videoURL; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php new file mode 100644 index 00000000..0ac14a05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrections.php @@ -0,0 +1,50 @@ +contexts = $contexts; + } + public function getContexts() + { + return $this->contexts; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php new file mode 100644 index 00000000..3fc726cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeCorrectionsContexts.php @@ -0,0 +1,58 @@ +auctionType = $auctionType; + } + public function getAuctionType() + { + return $this->auctionType; + } + public function setContextType($contextType) + { + $this->contextType = $contextType; + } + public function getContextType() + { + return $this->contextType; + } + public function setGeoCriteriaId($geoCriteriaId) + { + $this->geoCriteriaId = $geoCriteriaId; + } + public function getGeoCriteriaId() + { + return $this->geoCriteriaId; + } + public function setPlatform($platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php new file mode 100644 index 00000000..59136bf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIds.php @@ -0,0 +1,41 @@ +dealStatuses = $dealStatuses; + } + public function getDealStatuses() + { + return $this->dealStatuses; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php new file mode 100644 index 00000000..62759046 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeDealIdsDealStatuses.php @@ -0,0 +1,48 @@ +arcStatus = $arcStatus; + } + public function getArcStatus() + { + return $this->arcStatus; + } + public function setDealId($dealId) + { + $this->dealId = $dealId; + } + public function getDealId() + { + return $this->dealId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php new file mode 100644 index 00000000..6f7b281d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasons.php @@ -0,0 +1,41 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setReasons($reasons) + { + $this->reasons = $reasons; + } + public function getReasons() + { + return $this->reasons; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php new file mode 100644 index 00000000..d40dfba6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeFilteringReasonsReasons.php @@ -0,0 +1,39 @@ +filteringCount = $filteringCount; + } + public function getFilteringCount() + { + return $this->filteringCount; + } + public function setFilteringStatus($filteringStatus) + { + $this->filteringStatus = $filteringStatus; + } + public function getFilteringStatus() + { + return $this->filteringStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php new file mode 100644 index 00000000..a4053823 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAd.php @@ -0,0 +1,151 @@ +advertiser = $advertiser; + } + public function getAdvertiser() + { + return $this->advertiser; + } + public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon) + { + $this->appIcon = $appIcon; + } + public function getAppIcon() + { + return $this->appIcon; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCallToAction($callToAction) + { + $this->callToAction = $callToAction; + } + public function getCallToAction() + { + return $this->callToAction; + } + public function setClickLinkUrl($clickLinkUrl) + { + $this->clickLinkUrl = $clickLinkUrl; + } + public function getClickLinkUrl() + { + return $this->clickLinkUrl; + } + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + } + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + public function setHeadline($headline) + { + $this->headline = $headline; + } + public function getHeadline() + { + return $this->headline; + } + public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setImpressionTrackingUrl($impressionTrackingUrl) + { + $this->impressionTrackingUrl = $impressionTrackingUrl; + } + public function getImpressionTrackingUrl() + { + return $this->impressionTrackingUrl; + } + public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo) + { + $this->logo = $logo; + } + public function getLogo() + { + return $this->logo; + } + public function setPrice($price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setStarRating($starRating) + { + $this->starRating = $starRating; + } + public function getStarRating() + { + return $this->starRating; + } + public function setStore($store) + { + $this->store = $store; + } + public function getStore() + { + return $this->store; + } + public function setVideoURL($videoURL) + { + $this->videoURL = $videoURL; + } + public function getVideoURL() + { + return $this->videoURL; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php new file mode 100644 index 00000000..54192165 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdAppIcon.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php new file mode 100644 index 00000000..c5db1c2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdImage.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php new file mode 100644 index 00000000..658230c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeNativeAdLogo.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php new file mode 100644 index 00000000..0c508036 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictions.php @@ -0,0 +1,51 @@ +contexts = $contexts; + } + public function getContexts() + { + return $this->contexts; + } + public function setDisapprovalReasons($disapprovalReasons) + { + $this->disapprovalReasons = $disapprovalReasons; + } + public function getDisapprovalReasons() + { + return $this->disapprovalReasons; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php new file mode 100644 index 00000000..c236e5a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsContexts.php @@ -0,0 +1,58 @@ +auctionType = $auctionType; + } + public function getAuctionType() + { + return $this->auctionType; + } + public function setContextType($contextType) + { + $this->contextType = $contextType; + } + public function getContextType() + { + return $this->contextType; + } + public function setGeoCriteriaId($geoCriteriaId) + { + $this->geoCriteriaId = $geoCriteriaId; + } + public function getGeoCriteriaId() + { + return $this->geoCriteriaId; + } + public function setPlatform($platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php new file mode 100644 index 00000000..f10255f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativeServingRestrictionsDisapprovalReasons.php @@ -0,0 +1,40 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php new file mode 100644 index 00000000..65200632 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/CreativesList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php new file mode 100644 index 00000000..fac51dfc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadata.php @@ -0,0 +1,40 @@ +alcoholAdsAllowed = $alcoholAdsAllowed; + } + public function getAlcoholAdsAllowed() + { + return $this->alcoholAdsAllowed; + } + public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus) + { + $this->dealPauseStatus = $dealPauseStatus; + } + public function getDealPauseStatus() + { + return $this->dealPauseStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php new file mode 100644 index 00000000..17da50be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealServingMetadataDealPauseStatus.php @@ -0,0 +1,66 @@ +buyerPauseReason = $buyerPauseReason; + } + public function getBuyerPauseReason() + { + return $this->buyerPauseReason; + } + public function setFirstPausedBy($firstPausedBy) + { + $this->firstPausedBy = $firstPausedBy; + } + public function getFirstPausedBy() + { + return $this->firstPausedBy; + } + public function setHasBuyerPaused($hasBuyerPaused) + { + $this->hasBuyerPaused = $hasBuyerPaused; + } + public function getHasBuyerPaused() + { + return $this->hasBuyerPaused; + } + public function setHasSellerPaused($hasSellerPaused) + { + $this->hasSellerPaused = $hasSellerPaused; + } + public function getHasSellerPaused() + { + return $this->hasSellerPaused; + } + public function setSellerPauseReason($sellerPauseReason) + { + $this->sellerPauseReason = $sellerPauseReason; + } + public function getSellerPauseReason() + { + return $this->sellerPauseReason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php new file mode 100644 index 00000000..2fd7039a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTerms.php @@ -0,0 +1,116 @@ +brandingType = $brandingType; + } + public function getBrandingType() + { + return $this->brandingType; + } + public function setCrossListedExternalDealIdType($crossListedExternalDealIdType) + { + $this->crossListedExternalDealIdType = $crossListedExternalDealIdType; + } + public function getCrossListedExternalDealIdType() + { + return $this->crossListedExternalDealIdType; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend) + { + $this->estimatedGrossSpend = $estimatedGrossSpend; + } + public function getEstimatedGrossSpend() + { + return $this->estimatedGrossSpend; + } + public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay) + { + $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay; + } + public function getEstimatedImpressionsPerDay() + { + return $this->estimatedImpressionsPerDay; + } + public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms) + { + $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms; + } + public function getGuaranteedFixedPriceTerms() + { + return $this->guaranteedFixedPriceTerms; + } + public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms) + { + $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms; + } + public function getNonGuaranteedAuctionTerms() + { + return $this->nonGuaranteedAuctionTerms; + } + public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms) + { + $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms; + } + public function getNonGuaranteedFixedPriceTerms() + { + return $this->nonGuaranteedFixedPriceTerms; + } + public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms) + { + $this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms; + } + public function getRubiconNonGuaranteedTerms() + { + return $this->rubiconNonGuaranteedTerms; + } + public function setSellerTimeZone($sellerTimeZone) + { + $this->sellerTimeZone = $sellerTimeZone; + } + public function getSellerTimeZone() + { + return $this->sellerTimeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php new file mode 100644 index 00000000..44d1c474 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTerms.php @@ -0,0 +1,69 @@ +billingInfo = $billingInfo; + } + public function getBillingInfo() + { + return $this->billingInfo; + } + public function setFixedPrices($fixedPrices) + { + $this->fixedPrices = $fixedPrices; + } + public function getFixedPrices() + { + return $this->fixedPrices; + } + public function setGuaranteedImpressions($guaranteedImpressions) + { + $this->guaranteedImpressions = $guaranteedImpressions; + } + public function getGuaranteedImpressions() + { + return $this->guaranteedImpressions; + } + public function setGuaranteedLooks($guaranteedLooks) + { + $this->guaranteedLooks = $guaranteedLooks; + } + public function getGuaranteedLooks() + { + return $this->guaranteedLooks; + } + public function setMinimumDailyLooks($minimumDailyLooks) + { + $this->minimumDailyLooks = $minimumDailyLooks; + } + public function getMinimumDailyLooks() + { + return $this->minimumDailyLooks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php new file mode 100644 index 00000000..800389e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsGuaranteedFixedPriceTermsBillingInfo.php @@ -0,0 +1,58 @@ +currencyConversionTimeMs = $currencyConversionTimeMs; + } + public function getCurrencyConversionTimeMs() + { + return $this->currencyConversionTimeMs; + } + public function setDfpLineItemId($dfpLineItemId) + { + $this->dfpLineItemId = $dfpLineItemId; + } + public function getDfpLineItemId() + { + return $this->dfpLineItemId; + } + public function setOriginalContractedQuantity($originalContractedQuantity) + { + $this->originalContractedQuantity = $originalContractedQuantity; + } + public function getOriginalContractedQuantity() + { + return $this->originalContractedQuantity; + } + public function setPrice(Google_Service_AdExchangeBuyer_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php new file mode 100644 index 00000000..c1d3b9c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedAuctionTerms.php @@ -0,0 +1,41 @@ +autoOptimizePrivateAuction = $autoOptimizePrivateAuction; + } + public function getAutoOptimizePrivateAuction() + { + return $this->autoOptimizePrivateAuction; + } + public function setReservePricePerBuyers($reservePricePerBuyers) + { + $this->reservePricePerBuyers = $reservePricePerBuyers; + } + public function getReservePricePerBuyers() + { + return $this->reservePricePerBuyers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php new file mode 100644 index 00000000..2cc74947 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsNonGuaranteedFixedPriceTerms.php @@ -0,0 +1,32 @@ +fixedPrices = $fixedPrices; + } + public function getFixedPrices() + { + return $this->fixedPrices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php new file mode 100644 index 00000000..4f71b442 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DealTermsRubiconNonGuaranteedTerms.php @@ -0,0 +1,41 @@ +priorityPrice = $priorityPrice; + } + public function getPriorityPrice() + { + return $this->priorityPrice; + } + public function setStandardPrice(Google_Service_AdExchangeBuyer_Price $standardPrice) + { + $this->standardPrice = $standardPrice; + } + public function getStandardPrice() + { + return $this->standardPrice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php new file mode 100644 index 00000000..0ad62aaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsRequest.php @@ -0,0 +1,49 @@ +dealIds = $dealIds; + } + public function getDealIds() + { + return $this->dealIds; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php new file mode 100644 index 00000000..004de993 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeleteOrderDealsResponse.php @@ -0,0 +1,41 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php new file mode 100644 index 00000000..0dc9e33b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControl.php @@ -0,0 +1,50 @@ +creativeBlockingLevel = $creativeBlockingLevel; + } + public function getCreativeBlockingLevel() + { + return $this->creativeBlockingLevel; + } + public function setDeliveryRateType($deliveryRateType) + { + $this->deliveryRateType = $deliveryRateType; + } + public function getDeliveryRateType() + { + return $this->deliveryRateType; + } + public function setFrequencyCaps($frequencyCaps) + { + $this->frequencyCaps = $frequencyCaps; + } + public function getFrequencyCaps() + { + return $this->frequencyCaps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php new file mode 100644 index 00000000..5f07de48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DeliveryControlFrequencyCap.php @@ -0,0 +1,48 @@ +maxImpressions = $maxImpressions; + } + public function getMaxImpressions() + { + return $this->maxImpressions; + } + public function setNumTimeUnits($numTimeUnits) + { + $this->numTimeUnits = $numTimeUnits; + } + public function getNumTimeUnits() + { + return $this->numTimeUnits; + } + public function setTimeUnitType($timeUnitType) + { + $this->timeUnitType = $timeUnitType; + } + public function getTimeUnitType() + { + return $this->timeUnitType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php new file mode 100644 index 00000000..a3ebe40b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Dimension.php @@ -0,0 +1,41 @@ +dimensionType = $dimensionType; + } + public function getDimensionType() + { + return $this->dimensionType; + } + public function setDimensionValues($dimensionValues) + { + $this->dimensionValues = $dimensionValues; + } + public function getDimensionValues() + { + return $this->dimensionValues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php new file mode 100644 index 00000000..b2d4a9a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/DimensionDimensionValue.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPercentage($percentage) + { + $this->percentage = $percentage; + } + public function getPercentage() + { + return $this->percentage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php new file mode 100644 index 00000000..f4584ad4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsRequest.php @@ -0,0 +1,60 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setProposal(Google_Service_AdExchangeBuyer_Proposal $proposal) + { + $this->proposal = $proposal; + } + public function getProposal() + { + return $this->proposal; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php new file mode 100644 index 00000000..2a480ea5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/EditAllOrderDealsResponse.php @@ -0,0 +1,41 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php new file mode 100644 index 00000000..d7dd858b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOffersResponse.php @@ -0,0 +1,32 @@ +products = $products; + } + public function getProducts() + { + return $this->products; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php new file mode 100644 index 00000000..7c1eee41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderDealsResponse.php @@ -0,0 +1,32 @@ +deals = $deals; + } + public function getDeals() + { + return $this->deals; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php new file mode 100644 index 00000000..a35f8ce8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrderNotesResponse.php @@ -0,0 +1,32 @@ +notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php new file mode 100644 index 00000000..e6061634 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetOrdersResponse.php @@ -0,0 +1,32 @@ +proposals = $proposals; + } + public function getProposals() + { + return $this->proposals; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php new file mode 100644 index 00000000..bafbb851 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/GetPublisherProfilesByAccountIdResponse.php @@ -0,0 +1,32 @@ +profiles = $profiles; + } + public function getProfiles() + { + return $this->profiles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php new file mode 100644 index 00000000..9a03a16d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDeal.php @@ -0,0 +1,244 @@ +buyerPrivateData = $buyerPrivateData; + } + public function getBuyerPrivateData() + { + return $this->buyerPrivateData; + } + public function setCreationTimeMs($creationTimeMs) + { + $this->creationTimeMs = $creationTimeMs; + } + public function getCreationTimeMs() + { + return $this->creationTimeMs; + } + public function setCreativePreApprovalPolicy($creativePreApprovalPolicy) + { + $this->creativePreApprovalPolicy = $creativePreApprovalPolicy; + } + public function getCreativePreApprovalPolicy() + { + return $this->creativePreApprovalPolicy; + } + public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility) + { + $this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility; + } + public function getCreativeSafeFrameCompatibility() + { + return $this->creativeSafeFrameCompatibility; + } + public function setDealId($dealId) + { + $this->dealId = $dealId; + } + public function getDealId() + { + return $this->dealId; + } + public function setDealServingMetadata(Google_Service_AdExchangeBuyer_DealServingMetadata $dealServingMetadata) + { + $this->dealServingMetadata = $dealServingMetadata; + } + public function getDealServingMetadata() + { + return $this->dealServingMetadata; + } + public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl) + { + $this->deliveryControl = $deliveryControl; + } + public function getDeliveryControl() + { + return $this->deliveryControl; + } + public function setExternalDealId($externalDealId) + { + $this->externalDealId = $externalDealId; + } + public function getExternalDealId() + { + return $this->externalDealId; + } + public function setFlightEndTimeMs($flightEndTimeMs) + { + $this->flightEndTimeMs = $flightEndTimeMs; + } + public function getFlightEndTimeMs() + { + return $this->flightEndTimeMs; + } + public function setFlightStartTimeMs($flightStartTimeMs) + { + $this->flightStartTimeMs = $flightStartTimeMs; + } + public function getFlightStartTimeMs() + { + return $this->flightStartTimeMs; + } + public function setInventoryDescription($inventoryDescription) + { + $this->inventoryDescription = $inventoryDescription; + } + public function getInventoryDescription() + { + return $this->inventoryDescription; + } + public function setIsRfpTemplate($isRfpTemplate) + { + $this->isRfpTemplate = $isRfpTemplate; + } + public function getIsRfpTemplate() + { + return $this->isRfpTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateTimeMs($lastUpdateTimeMs) + { + $this->lastUpdateTimeMs = $lastUpdateTimeMs; + } + public function getLastUpdateTimeMs() + { + return $this->lastUpdateTimeMs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductRevisionNumber($productRevisionNumber) + { + $this->productRevisionNumber = $productRevisionNumber; + } + public function getProductRevisionNumber() + { + return $this->productRevisionNumber; + } + public function setProgrammaticCreativeSource($programmaticCreativeSource) + { + $this->programmaticCreativeSource = $programmaticCreativeSource; + } + public function getProgrammaticCreativeSource() + { + return $this->programmaticCreativeSource; + } + public function setProposalId($proposalId) + { + $this->proposalId = $proposalId; + } + public function getProposalId() + { + return $this->proposalId; + } + public function setSellerContacts($sellerContacts) + { + $this->sellerContacts = $sellerContacts; + } + public function getSellerContacts() + { + return $this->sellerContacts; + } + public function setSharedTargetings($sharedTargetings) + { + $this->sharedTargetings = $sharedTargetings; + } + public function getSharedTargetings() + { + return $this->sharedTargetings; + } + public function setSyndicationProduct($syndicationProduct) + { + $this->syndicationProduct = $syndicationProduct; + } + public function getSyndicationProduct() + { + return $this->syndicationProduct; + } + public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php new file mode 100644 index 00000000..ff1b47bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceDealParty.php @@ -0,0 +1,41 @@ +buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php new file mode 100644 index 00000000..33253901 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceLabel.php @@ -0,0 +1,58 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCreateTimeMs($createTimeMs) + { + $this->createTimeMs = $createTimeMs; + } + public function getCreateTimeMs() + { + return $this->createTimeMs; + } + public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty) + { + $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty; + } + public function getDeprecatedMarketplaceDealParty() + { + return $this->deprecatedMarketplaceDealParty; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php new file mode 100644 index 00000000..70597782 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/MarketplaceNote.php @@ -0,0 +1,93 @@ +creatorRole = $creatorRole; + } + public function getCreatorRole() + { + return $this->creatorRole; + } + public function setDealId($dealId) + { + $this->dealId = $dealId; + } + public function getDealId() + { + return $this->dealId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setNoteId($noteId) + { + $this->noteId = $noteId; + } + public function getNoteId() + { + return $this->noteId; + } + public function setProposalId($proposalId) + { + $this->proposalId = $proposalId; + } + public function getProposalId() + { + return $this->proposalId; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } + public function setTimestampMs($timestampMs) + { + $this->timestampMs = $timestampMs; + } + public function getTimestampMs() + { + return $this->timestampMs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php new file mode 100644 index 00000000..3d0b766c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReport.php @@ -0,0 +1,220 @@ +bidRate = $bidRate; + } + public function getBidRate() + { + return $this->bidRate; + } + public function setBidRequestRate($bidRequestRate) + { + $this->bidRequestRate = $bidRequestRate; + } + public function getBidRequestRate() + { + return $this->bidRequestRate; + } + public function setCalloutStatusRate($calloutStatusRate) + { + $this->calloutStatusRate = $calloutStatusRate; + } + public function getCalloutStatusRate() + { + return $this->calloutStatusRate; + } + public function setCookieMatcherStatusRate($cookieMatcherStatusRate) + { + $this->cookieMatcherStatusRate = $cookieMatcherStatusRate; + } + public function getCookieMatcherStatusRate() + { + return $this->cookieMatcherStatusRate; + } + public function setCreativeStatusRate($creativeStatusRate) + { + $this->creativeStatusRate = $creativeStatusRate; + } + public function getCreativeStatusRate() + { + return $this->creativeStatusRate; + } + public function setFilteredBidRate($filteredBidRate) + { + $this->filteredBidRate = $filteredBidRate; + } + public function getFilteredBidRate() + { + return $this->filteredBidRate; + } + public function setHostedMatchStatusRate($hostedMatchStatusRate) + { + $this->hostedMatchStatusRate = $hostedMatchStatusRate; + } + public function getHostedMatchStatusRate() + { + return $this->hostedMatchStatusRate; + } + public function setInventoryMatchRate($inventoryMatchRate) + { + $this->inventoryMatchRate = $inventoryMatchRate; + } + public function getInventoryMatchRate() + { + return $this->inventoryMatchRate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatency50thPercentile($latency50thPercentile) + { + $this->latency50thPercentile = $latency50thPercentile; + } + public function getLatency50thPercentile() + { + return $this->latency50thPercentile; + } + public function setLatency85thPercentile($latency85thPercentile) + { + $this->latency85thPercentile = $latency85thPercentile; + } + public function getLatency85thPercentile() + { + return $this->latency85thPercentile; + } + public function setLatency95thPercentile($latency95thPercentile) + { + $this->latency95thPercentile = $latency95thPercentile; + } + public function getLatency95thPercentile() + { + return $this->latency95thPercentile; + } + public function setNoQuotaInRegion($noQuotaInRegion) + { + $this->noQuotaInRegion = $noQuotaInRegion; + } + public function getNoQuotaInRegion() + { + return $this->noQuotaInRegion; + } + public function setOutOfQuota($outOfQuota) + { + $this->outOfQuota = $outOfQuota; + } + public function getOutOfQuota() + { + return $this->outOfQuota; + } + public function setPixelMatchRequests($pixelMatchRequests) + { + $this->pixelMatchRequests = $pixelMatchRequests; + } + public function getPixelMatchRequests() + { + return $this->pixelMatchRequests; + } + public function setPixelMatchResponses($pixelMatchResponses) + { + $this->pixelMatchResponses = $pixelMatchResponses; + } + public function getPixelMatchResponses() + { + return $this->pixelMatchResponses; + } + public function setQuotaConfiguredLimit($quotaConfiguredLimit) + { + $this->quotaConfiguredLimit = $quotaConfiguredLimit; + } + public function getQuotaConfiguredLimit() + { + return $this->quotaConfiguredLimit; + } + public function setQuotaThrottledLimit($quotaThrottledLimit) + { + $this->quotaThrottledLimit = $quotaThrottledLimit; + } + public function getQuotaThrottledLimit() + { + return $this->quotaThrottledLimit; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSuccessfulRequestRate($successfulRequestRate) + { + $this->successfulRequestRate = $successfulRequestRate; + } + public function getSuccessfulRequestRate() + { + return $this->successfulRequestRate; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setUnsuccessfulRequestRate($unsuccessfulRequestRate) + { + $this->unsuccessfulRequestRate = $unsuccessfulRequestRate; + } + public function getUnsuccessfulRequestRate() + { + return $this->unsuccessfulRequestRate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php new file mode 100644 index 00000000..0ec2be9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PerformanceReportList.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPerformanceReport($performanceReport) + { + $this->performanceReport = $performanceReport; + } + public function getPerformanceReport() + { + return $this->performanceReport; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php new file mode 100644 index 00000000..f24a9df1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfig.php @@ -0,0 +1,260 @@ +billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setConfigId($configId) + { + $this->configId = $configId; + } + public function getConfigId() + { + return $this->configId; + } + public function setConfigName($configName) + { + $this->configName = $configName; + } + public function getConfigName() + { + return $this->configName; + } + public function setCreativeType($creativeType) + { + $this->creativeType = $creativeType; + } + public function getCreativeType() + { + return $this->creativeType; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setExcludedContentLabels($excludedContentLabels) + { + $this->excludedContentLabels = $excludedContentLabels; + } + public function getExcludedContentLabels() + { + return $this->excludedContentLabels; + } + public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds) + { + $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds; + } + public function getExcludedGeoCriteriaIds() + { + return $this->excludedGeoCriteriaIds; + } + public function setExcludedPlacements($excludedPlacements) + { + $this->excludedPlacements = $excludedPlacements; + } + public function getExcludedPlacements() + { + return $this->excludedPlacements; + } + public function setExcludedUserLists($excludedUserLists) + { + $this->excludedUserLists = $excludedUserLists; + } + public function getExcludedUserLists() + { + return $this->excludedUserLists; + } + public function setExcludedVerticals($excludedVerticals) + { + $this->excludedVerticals = $excludedVerticals; + } + public function getExcludedVerticals() + { + return $this->excludedVerticals; + } + public function setGeoCriteriaIds($geoCriteriaIds) + { + $this->geoCriteriaIds = $geoCriteriaIds; + } + public function getGeoCriteriaIds() + { + return $this->geoCriteriaIds; + } + public function setIsActive($isActive) + { + $this->isActive = $isActive; + } + public function getIsActive() + { + return $this->isActive; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setMinimumViewabilityDecile($minimumViewabilityDecile) + { + $this->minimumViewabilityDecile = $minimumViewabilityDecile; + } + public function getMinimumViewabilityDecile() + { + return $this->minimumViewabilityDecile; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } + public function setMobileDevices($mobileDevices) + { + $this->mobileDevices = $mobileDevices; + } + public function getMobileDevices() + { + return $this->mobileDevices; + } + public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions) + { + $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions; + } + public function getMobileOperatingSystemVersions() + { + return $this->mobileOperatingSystemVersions; + } + public function setPlacements($placements) + { + $this->placements = $placements; + } + public function getPlacements() + { + return $this->placements; + } + public function setPlatforms($platforms) + { + $this->platforms = $platforms; + } + public function getPlatforms() + { + return $this->platforms; + } + public function setSupportedCreativeAttributes($supportedCreativeAttributes) + { + $this->supportedCreativeAttributes = $supportedCreativeAttributes; + } + public function getSupportedCreativeAttributes() + { + return $this->supportedCreativeAttributes; + } + public function setUserIdentifierDataRequired($userIdentifierDataRequired) + { + $this->userIdentifierDataRequired = $userIdentifierDataRequired; + } + public function getUserIdentifierDataRequired() + { + return $this->userIdentifierDataRequired; + } + public function setUserLists($userLists) + { + $this->userLists = $userLists; + } + public function getUserLists() + { + return $this->userLists; + } + public function setVendorTypes($vendorTypes) + { + $this->vendorTypes = $vendorTypes; + } + public function getVendorTypes() + { + return $this->vendorTypes; + } + public function setVerticals($verticals) + { + $this->verticals = $verticals; + } + public function getVerticals() + { + return $this->verticals; + } + public function setVideoPlayerSizes($videoPlayerSizes) + { + $this->videoPlayerSizes = $videoPlayerSizes; + } + public function getVideoPlayerSizes() + { + return $this->videoPlayerSizes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php new file mode 100644 index 00000000..0515ea6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigDimensions.php @@ -0,0 +1,39 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php new file mode 100644 index 00000000..6ef80a65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigExcludedPlacements.php @@ -0,0 +1,39 @@ +token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php new file mode 100644 index 00000000..aaeda88b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php new file mode 100644 index 00000000..f6394606 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigPlacements.php @@ -0,0 +1,39 @@ +token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php new file mode 100644 index 00000000..f1b50101 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PretargetingConfigVideoPlayerSizes.php @@ -0,0 +1,48 @@ +aspectRatio = $aspectRatio; + } + public function getAspectRatio() + { + return $this->aspectRatio; + } + public function setMinHeight($minHeight) + { + $this->minHeight = $minHeight; + } + public function getMinHeight() + { + return $this->minHeight; + } + public function setMinWidth($minWidth) + { + $this->minWidth = $minWidth; + } + public function getMinWidth() + { + return $this->minWidth; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php new file mode 100644 index 00000000..876ecceb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Price.php @@ -0,0 +1,57 @@ +amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setExpectedCpmMicros($expectedCpmMicros) + { + $this->expectedCpmMicros = $expectedCpmMicros; + } + public function getExpectedCpmMicros() + { + return $this->expectedCpmMicros; + } + public function setPricingType($pricingType) + { + $this->pricingType = $pricingType; + } + public function getPricingType() + { + return $this->pricingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php new file mode 100644 index 00000000..59018c9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PricePerBuyer.php @@ -0,0 +1,50 @@ +auctionTier = $auctionTier; + } + public function getAuctionTier() + { + return $this->auctionTier; + } + public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setPrice(Google_Service_AdExchangeBuyer_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php new file mode 100644 index 00000000..c2b42db9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PrivateData.php @@ -0,0 +1,39 @@ +referenceId = $referenceId; + } + public function getReferenceId() + { + return $this->referenceId; + } + public function setReferencePayload($referencePayload) + { + $this->referencePayload = $referencePayload; + } + public function getReferencePayload() + { + return $this->referencePayload; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php new file mode 100644 index 00000000..7b5c0a59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Product.php @@ -0,0 +1,245 @@ +creationTimeMs = $creationTimeMs; + } + public function getCreationTimeMs() + { + return $this->creationTimeMs; + } + public function setCreatorContacts($creatorContacts) + { + $this->creatorContacts = $creatorContacts; + } + public function getCreatorContacts() + { + return $this->creatorContacts; + } + public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl) + { + $this->deliveryControl = $deliveryControl; + } + public function getDeliveryControl() + { + return $this->deliveryControl; + } + public function setFlightEndTimeMs($flightEndTimeMs) + { + $this->flightEndTimeMs = $flightEndTimeMs; + } + public function getFlightEndTimeMs() + { + return $this->flightEndTimeMs; + } + public function setFlightStartTimeMs($flightStartTimeMs) + { + $this->flightStartTimeMs = $flightStartTimeMs; + } + public function getFlightStartTimeMs() + { + return $this->flightStartTimeMs; + } + public function setHasCreatorSignedOff($hasCreatorSignedOff) + { + $this->hasCreatorSignedOff = $hasCreatorSignedOff; + } + public function getHasCreatorSignedOff() + { + return $this->hasCreatorSignedOff; + } + public function setInventorySource($inventorySource) + { + $this->inventorySource = $inventorySource; + } + public function getInventorySource() + { + return $this->inventorySource; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastUpdateTimeMs($lastUpdateTimeMs) + { + $this->lastUpdateTimeMs = $lastUpdateTimeMs; + } + public function getLastUpdateTimeMs() + { + return $this->lastUpdateTimeMs; + } + public function setLegacyOfferId($legacyOfferId) + { + $this->legacyOfferId = $legacyOfferId; + } + public function getLegacyOfferId() + { + return $this->legacyOfferId; + } + public function setMarketplacePublisherProfileId($marketplacePublisherProfileId) + { + $this->marketplacePublisherProfileId = $marketplacePublisherProfileId; + } + public function getMarketplacePublisherProfileId() + { + return $this->marketplacePublisherProfileId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrivateAuctionId($privateAuctionId) + { + $this->privateAuctionId = $privateAuctionId; + } + public function getPrivateAuctionId() + { + return $this->privateAuctionId; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setPublisherProfileId($publisherProfileId) + { + $this->publisherProfileId = $publisherProfileId; + } + public function getPublisherProfileId() + { + return $this->publisherProfileId; + } + public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast) + { + $this->publisherProvidedForecast = $publisherProvidedForecast; + } + public function getPublisherProvidedForecast() + { + return $this->publisherProvidedForecast; + } + public function setRevisionNumber($revisionNumber) + { + $this->revisionNumber = $revisionNumber; + } + public function getRevisionNumber() + { + return $this->revisionNumber; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setSharedTargetings($sharedTargetings) + { + $this->sharedTargetings = $sharedTargetings; + } + public function getSharedTargetings() + { + return $this->sharedTargetings; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSyndicationProduct($syndicationProduct) + { + $this->syndicationProduct = $syndicationProduct; + } + public function getSyndicationProduct() + { + return $this->syndicationProduct; + } + public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php new file mode 100644 index 00000000..e6192855 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Proposal.php @@ -0,0 +1,236 @@ +billedBuyer = $billedBuyer; + } + public function getBilledBuyer() + { + return $this->billedBuyer; + } + public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setBuyerContacts($buyerContacts) + { + $this->buyerContacts = $buyerContacts; + } + public function getBuyerContacts() + { + return $this->buyerContacts; + } + public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData) + { + $this->buyerPrivateData = $buyerPrivateData; + } + public function getBuyerPrivateData() + { + return $this->buyerPrivateData; + } + public function setDbmAdvertiserIds($dbmAdvertiserIds) + { + $this->dbmAdvertiserIds = $dbmAdvertiserIds; + } + public function getDbmAdvertiserIds() + { + return $this->dbmAdvertiserIds; + } + public function setHasBuyerSignedOff($hasBuyerSignedOff) + { + $this->hasBuyerSignedOff = $hasBuyerSignedOff; + } + public function getHasBuyerSignedOff() + { + return $this->hasBuyerSignedOff; + } + public function setHasSellerSignedOff($hasSellerSignedOff) + { + $this->hasSellerSignedOff = $hasSellerSignedOff; + } + public function getHasSellerSignedOff() + { + return $this->hasSellerSignedOff; + } + public function setInventorySource($inventorySource) + { + $this->inventorySource = $inventorySource; + } + public function getInventorySource() + { + return $this->inventorySource; + } + public function setIsRenegotiating($isRenegotiating) + { + $this->isRenegotiating = $isRenegotiating; + } + public function getIsRenegotiating() + { + return $this->isRenegotiating; + } + public function setIsSetupComplete($isSetupComplete) + { + $this->isSetupComplete = $isSetupComplete; + } + public function getIsSetupComplete() + { + return $this->isSetupComplete; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole) + { + $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole; + } + public function getLastUpdaterOrCommentorRole() + { + return $this->lastUpdaterOrCommentorRole; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNegotiationId($negotiationId) + { + $this->negotiationId = $negotiationId; + } + public function getNegotiationId() + { + return $this->negotiationId; + } + public function setOriginatorRole($originatorRole) + { + $this->originatorRole = $originatorRole; + } + public function getOriginatorRole() + { + return $this->originatorRole; + } + public function setPrivateAuctionId($privateAuctionId) + { + $this->privateAuctionId = $privateAuctionId; + } + public function getPrivateAuctionId() + { + return $this->privateAuctionId; + } + public function setProposalId($proposalId) + { + $this->proposalId = $proposalId; + } + public function getProposalId() + { + return $this->proposalId; + } + public function setProposalState($proposalState) + { + $this->proposalState = $proposalState; + } + public function getProposalState() + { + return $this->proposalState; + } + public function setRevisionNumber($revisionNumber) + { + $this->revisionNumber = $revisionNumber; + } + public function getRevisionNumber() + { + return $this->revisionNumber; + } + public function setRevisionTimeMs($revisionTimeMs) + { + $this->revisionTimeMs = $revisionTimeMs; + } + public function getRevisionTimeMs() + { + return $this->revisionTimeMs; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setSellerContacts($sellerContacts) + { + $this->sellerContacts = $sellerContacts; + } + public function getSellerContacts() + { + return $this->sellerContacts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php new file mode 100644 index 00000000..b05485e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProfileApiProto.php @@ -0,0 +1,231 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAudience($audience) + { + $this->audience = $audience; + } + public function getAudience() + { + return $this->audience; + } + public function setBuyerPitchStatement($buyerPitchStatement) + { + $this->buyerPitchStatement = $buyerPitchStatement; + } + public function getBuyerPitchStatement() + { + return $this->buyerPitchStatement; + } + public function setDirectContact($directContact) + { + $this->directContact = $directContact; + } + public function getDirectContact() + { + return $this->directContact; + } + public function setExchange($exchange) + { + $this->exchange = $exchange; + } + public function getExchange() + { + return $this->exchange; + } + public function setGooglePlusLink($googlePlusLink) + { + $this->googlePlusLink = $googlePlusLink; + } + public function getGooglePlusLink() + { + return $this->googlePlusLink; + } + public function setIsParent($isParent) + { + $this->isParent = $isParent; + } + public function getIsParent() + { + return $this->isParent; + } + public function setIsPublished($isPublished) + { + $this->isPublished = $isPublished; + } + public function getIsPublished() + { + return $this->isPublished; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLogoUrl($logoUrl) + { + $this->logoUrl = $logoUrl; + } + public function getLogoUrl() + { + return $this->logoUrl; + } + public function setMediaKitLink($mediaKitLink) + { + $this->mediaKitLink = $mediaKitLink; + } + public function getMediaKitLink() + { + return $this->mediaKitLink; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProgrammaticContact($programmaticContact) + { + $this->programmaticContact = $programmaticContact; + } + public function getProgrammaticContact() + { + return $this->programmaticContact; + } + public function setPublisherDomains($publisherDomains) + { + $this->publisherDomains = $publisherDomains; + } + public function getPublisherDomains() + { + return $this->publisherDomains; + } + public function setPublisherProfileId($publisherProfileId) + { + $this->publisherProfileId = $publisherProfileId; + } + public function getPublisherProfileId() + { + return $this->publisherProfileId; + } + public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast) + { + $this->publisherProvidedForecast = $publisherProvidedForecast; + } + public function getPublisherProvidedForecast() + { + return $this->publisherProvidedForecast; + } + public function setRateCardInfoLink($rateCardInfoLink) + { + $this->rateCardInfoLink = $rateCardInfoLink; + } + public function getRateCardInfoLink() + { + return $this->rateCardInfoLink; + } + public function setSamplePageLink($samplePageLink) + { + $this->samplePageLink = $samplePageLink; + } + public function getSamplePageLink() + { + return $this->samplePageLink; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTopHeadlines($topHeadlines) + { + $this->topHeadlines = $topHeadlines; + } + public function getTopHeadlines() + { + return $this->topHeadlines; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php new file mode 100644 index 00000000..d97208bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/PublisherProvidedForecast.php @@ -0,0 +1,50 @@ +dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setWeeklyImpressions($weeklyImpressions) + { + $this->weeklyImpressions = $weeklyImpressions; + } + public function getWeeklyImpressions() + { + return $this->weeklyImpressions; + } + public function setWeeklyUniques($weeklyUniques) + { + $this->weeklyUniques = $weeklyUniques; + } + public function getWeeklyUniques() + { + return $this->weeklyUniques; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php new file mode 100644 index 00000000..1d53f571 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Accounts.php @@ -0,0 +1,88 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $accounts = $adexchangebuyerService->accounts; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Accounts extends Google_Service_Resource +{ + /** + * Gets one account by ID. (accounts.get) + * + * @param int $id The account id + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account"); + } + /** + * Retrieves the authenticated user's list of accounts. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AccountsList + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList"); + } + /** + * Updates an existing account. This method supports patch semantics. + * (accounts.patch) + * + * @param int $id The account id + * @param Google_Service_AdExchangeBuyer_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder + * and cookie matching urls. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account"); + } + /** + * Updates an existing account. (accounts.update) + * + * @param int $id The account id + * @param Google_Service_AdExchangeBuyer_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder + * and cookie matching urls. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php new file mode 100644 index 00000000..a531125e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/BillingInfo.php @@ -0,0 +1,55 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $billingInfo = $adexchangebuyerService->billingInfo; + * + */ +class Google_Service_AdExchangeBuyer_Resource_BillingInfo extends Google_Service_Resource +{ + /** + * Returns the billing information for one account specified by account ID. + * (billingInfo.get) + * + * @param int $accountId The account id. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_BillingInfo + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo"); + } + /** + * Retrieves a list of billing information for all accounts of the authenticated + * user. (billingInfo.listBillingInfo) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_BillingInfoList + */ + public function listBillingInfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php new file mode 100644 index 00000000..26efc8e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Budget.php @@ -0,0 +1,81 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $budget = $adexchangebuyerService->budget; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Budget extends Google_Service_Resource +{ + /** + * Returns the budget information for the adgroup specified by the accountId and + * billingId. (budget.get) + * + * @param string $accountId The account id to get the budget information for. + * @param string $billingId The billing id to get the budget information for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function get($accountId, $billingId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } + /** + * Updates the budget amount for the budget of the adgroup specified by the + * accountId and billingId, with the budget amount in the request. This method + * supports patch semantics. (budget.patch) + * + * @param string $accountId The account id associated with the budget being + * updated. + * @param string $billingId The billing id associated with the budget being + * updated. + * @param Google_Service_AdExchangeBuyer_Budget $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } + /** + * Updates the budget amount for the budget of the adgroup specified by the + * accountId and billingId, with the budget amount in the request. + * (budget.update) + * + * @param string $accountId The account id associated with the budget being + * updated. + * @param string $billingId The billing id associated with the budget being + * updated. + * @param Google_Service_AdExchangeBuyer_Budget $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php new file mode 100644 index 00000000..fa6c0c40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Creatives.php @@ -0,0 +1,127 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $creatives = $adexchangebuyerService->creatives; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Creatives extends Google_Service_Resource +{ + /** + * Add a deal id association for the creative. (creatives.addDeal) + * + * @param int $accountId The id for the account that will serve this creative. + * @param string $buyerCreativeId The buyer-specific id for this creative. + * @param string $dealId The id of the deal id to associate with this creative. + * @param array $optParams Optional parameters. + */ + public function addDeal($accountId, $buyerCreativeId, $dealId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId); + $params = array_merge($params, $optParams); + return $this->call('addDeal', array($params)); + } + /** + * Gets the status for a single creative. A creative will be available 30-40 + * minutes after submission. (creatives.get) + * + * @param int $accountId The id for the account that will serve this creative. + * @param string $buyerCreativeId The buyer-specific id for this creative. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Creative + */ + public function get($accountId, $buyerCreativeId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative"); + } + /** + * Submit a new creative. (creatives.insert) + * + * @param Google_Service_AdExchangeBuyer_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Creative + */ + public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative"); + } + /** + * Retrieves a list of the authenticated user's active creatives. A creative + * will be available 30-40 minutes after submission. (creatives.listCreatives) + * + * @param array $optParams Optional parameters. + * + * @opt_param int accountId When specified, only creatives for the given account + * ids are returned. + * @opt_param string buyerCreativeId When specified, only creatives for the + * given buyer creative ids are returned. + * @opt_param string dealsStatusFilter When specified, only creatives having the + * given deals status are returned. + * @opt_param string maxResults Maximum number of entries returned on one result + * page. If not set, the default is 100. Optional. + * @opt_param string openAuctionStatusFilter When specified, only creatives + * having the given open auction status are returned. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. Optional. + * @return Google_Service_AdExchangeBuyer_CreativesList + */ + public function listCreatives($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList"); + } + /** + * Lists the external deal ids associated with the creative. + * (creatives.listDeals) + * + * @param int $accountId The id for the account that will serve this creative. + * @param string $buyerCreativeId The buyer-specific id for this creative. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_CreativeDealIds + */ + public function listDeals($accountId, $buyerCreativeId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId); + $params = array_merge($params, $optParams); + return $this->call('listDeals', array($params), "Google_Service_AdExchangeBuyer_CreativeDealIds"); + } + /** + * Remove a deal id associated with the creative. (creatives.removeDeal) + * + * @param int $accountId The id for the account that will serve this creative. + * @param string $buyerCreativeId The buyer-specific id for this creative. + * @param string $dealId The id of the deal id to disassociate with this + * creative. + * @param array $optParams Optional parameters. + */ + public function removeDeal($accountId, $buyerCreativeId, $dealId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId); + $params = array_merge($params, $optParams); + return $this->call('removeDeal', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php new file mode 100644 index 00000000..6dff34b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacedeals.php @@ -0,0 +1,88 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplacedeals = $adexchangebuyerService->marketplacedeals; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Marketplacedeals extends Google_Service_Resource +{ + /** + * Delete the specified deals from the proposal (marketplacedeals.delete) + * + * @param string $proposalId The proposalId to delete deals from. + * @param Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse + */ + public function delete($proposalId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse"); + } + /** + * Add new deals for the specified proposal (marketplacedeals.insert) + * + * @param string $proposalId proposalId for which deals need to be added. + * @param Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse + */ + public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse"); + } + /** + * List all the deals for a given proposal + * (marketplacedeals.listMarketplacedeals) + * + * @param string $proposalId The proposalId to get deals for. To search across + * all proposals specify order_id = '-' as part of the URL. + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery Query string to retrieve specific deals. + * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse + */ + public function listMarketplacedeals($proposalId, $optParams = array()) + { + $params = array('proposalId' => $proposalId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse"); + } + /** + * Replaces all the deals in the proposal with the passed in deals + * (marketplacedeals.update) + * + * @param string $proposalId The proposalId to edit deals on. + * @param Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse + */ + public function update($proposalId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php new file mode 100644 index 00000000..dfd9ca8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplacenotes.php @@ -0,0 +1,61 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplacenotes = $adexchangebuyerService->marketplacenotes; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Marketplacenotes extends Google_Service_Resource +{ + /** + * Add notes to the proposal (marketplacenotes.insert) + * + * @param string $proposalId The proposalId to add notes for. + * @param Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse + */ + public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse"); + } + /** + * Get all the notes associated with a proposal + * (marketplacenotes.listMarketplacenotes) + * + * @param string $proposalId The proposalId to get notes for. To search across + * all proposals specify order_id = '-' as part of the URL. + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery Query string to retrieve specific notes. To search + * the text contents of notes, please use syntax like "WHERE note.note = "foo" + * or "WHERE note.note LIKE "%bar%" + * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse + */ + public function listMarketplacenotes($proposalId, $optParams = array()) + { + $params = array('proposalId' => $proposalId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php new file mode 100644 index 00000000..bc7dbc96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Marketplaceprivateauction.php @@ -0,0 +1,42 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplaceprivateauction = $adexchangebuyerService->marketplaceprivateauction; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction extends Google_Service_Resource +{ + /** + * Update a given private auction proposal + * (marketplaceprivateauction.updateproposal) + * + * @param string $privateAuctionId The private auction id to be updated. + * @param Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest $postBody + * @param array $optParams Optional parameters. + */ + public function updateproposal($privateAuctionId, Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest $postBody, $optParams = array()) + { + $params = array('privateAuctionId' => $privateAuctionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateproposal', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php new file mode 100644 index 00000000..4198794d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PerformanceReport.php @@ -0,0 +1,52 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $performanceReport = $adexchangebuyerService->performanceReport; + * + */ +class Google_Service_AdExchangeBuyer_Resource_PerformanceReport extends Google_Service_Resource +{ + /** + * Retrieves the authenticated user's list of performance metrics. + * (performanceReport.listPerformanceReport) + * + * @param string $accountId The account id to get the reports. + * @param string $endDateTime The end time of the report in ISO 8601 timestamp + * format using UTC. + * @param string $startDateTime The start time of the report in ISO 8601 + * timestamp format using UTC. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of entries returned on one result + * page. If not set, the default is 100. Optional. + * @opt_param string pageToken A continuation token, used to page through + * performance reports. To retrieve the next page, set this parameter to the + * value of "nextPageToken" from the previous response. Optional. + * @return Google_Service_AdExchangeBuyer_PerformanceReportList + */ + public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array()) + { + $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php new file mode 100644 index 00000000..9d525076 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/PretargetingConfig.php @@ -0,0 +1,118 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig; + * + */ +class Google_Service_AdExchangeBuyer_Resource_PretargetingConfig extends Google_Service_Resource +{ + /** + * Deletes an existing pretargeting config. (pretargetingConfig.delete) + * + * @param string $accountId The account id to delete the pretargeting config + * for. + * @param string $configId The specific id of the configuration to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $configId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a specific pretargeting configuration (pretargetingConfig.get) + * + * @param string $accountId The account id to get the pretargeting config for. + * @param string $configId The specific id of the configuration to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function get($accountId, $configId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + /** + * Inserts a new pretargeting configuration. (pretargetingConfig.insert) + * + * @param string $accountId The account id to insert the pretargeting config + * for. + * @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + /** + * Retrieves a list of the authenticated user's pretargeting configurations. + * (pretargetingConfig.listPretargetingConfig) + * + * @param string $accountId The account id to get the pretargeting configs for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfigList + */ + public function listPretargetingConfig($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList"); + } + /** + * Updates an existing pretargeting config. This method supports patch + * semantics. (pretargetingConfig.patch) + * + * @param string $accountId The account id to update the pretargeting config + * for. + * @param string $configId The specific id of the configuration to update. + * @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + /** + * Updates an existing pretargeting config. (pretargetingConfig.update) + * + * @param string $accountId The account id to update the pretargeting config + * for. + * @param string $configId The specific id of the configuration to update. + * @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php new file mode 100644 index 00000000..cbbf161b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Products.php @@ -0,0 +1,55 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $products = $adexchangebuyerService->products; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Products extends Google_Service_Resource +{ + /** + * Gets the requested product by id. (products.get) + * + * @param string $productId The id for the product to get the head revision for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Product + */ + public function get($productId, $optParams = array()) + { + $params = array('productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Product"); + } + /** + * Gets the requested product. (products.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery The pql query used to query for products. + * @return Google_Service_AdExchangeBuyer_GetOffersResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php new file mode 100644 index 00000000..63c4a03e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Proposals.php @@ -0,0 +1,122 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $proposals = $adexchangebuyerService->proposals; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Proposals extends Google_Service_Resource +{ + /** + * Get a proposal given its id (proposals.get) + * + * @param string $proposalId Id of the proposal to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Proposal + */ + public function get($proposalId, $optParams = array()) + { + $params = array('proposalId' => $proposalId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Proposal"); + } + /** + * Create the given list of proposals (proposals.insert) + * + * @param Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse + */ + public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse"); + } + /** + * Update the given proposal. This method supports patch semantics. + * (proposals.patch) + * + * @param string $proposalId The proposal id to update. + * @param string $revisionNumber The last known revision number to update. If + * the head revision in the marketplace database has since changed, an error + * will be thrown. The caller should then fetch the latest proposal at head + * revision and retry the update at that revision. + * @param string $updateAction The proposed action to take on the proposal. This + * field is required and it must be set when updating a proposal. + * @param Google_Service_AdExchangeBuyer_Proposal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Proposal + */ + public function patch($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Proposal"); + } + /** + * Search for proposals using pql query (proposals.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery Query string to retrieve specific proposals. + * @return Google_Service_AdExchangeBuyer_GetOrdersResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse"); + } + /** + * Update the given proposal to indicate that setup has been completed. + * (proposals.setupcomplete) + * + * @param string $proposalId The proposal id for which the setup is complete + * @param array $optParams Optional parameters. + */ + public function setupcomplete($proposalId, $optParams = array()) + { + $params = array('proposalId' => $proposalId); + $params = array_merge($params, $optParams); + return $this->call('setupcomplete', array($params)); + } + /** + * Update the given proposal (proposals.update) + * + * @param string $proposalId The proposal id to update. + * @param string $revisionNumber The last known revision number to update. If + * the head revision in the marketplace database has since changed, an error + * will be thrown. The caller should then fetch the latest proposal at head + * revision and retry the update at that revision. + * @param string $updateAction The proposed action to take on the proposal. This + * field is required and it must be set when updating a proposal. + * @param Google_Service_AdExchangeBuyer_Proposal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Proposal + */ + public function update($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array()) + { + $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Proposal"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php new file mode 100644 index 00000000..b3fa00bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Resource/Pubprofiles.php @@ -0,0 +1,42 @@ + + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $pubprofiles = $adexchangebuyerService->pubprofiles; + * + */ +class Google_Service_AdExchangeBuyer_Resource_Pubprofiles extends Google_Service_Resource +{ + /** + * Gets the requested publisher profile(s) by publisher accountId. + * (pubprofiles.listPubprofiles) + * + * @param int $accountId The accountId of the publisher to get profiles for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse + */ + public function listPubprofiles($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php new file mode 100644 index 00000000..82ea611b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Seller.php @@ -0,0 +1,39 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php new file mode 100644 index 00000000..281ec37f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/SharedTargeting.php @@ -0,0 +1,51 @@ +exclusions = $exclusions; + } + public function getExclusions() + { + return $this->exclusions; + } + public function setInclusions($inclusions) + { + $this->inclusions = $inclusions; + } + public function getInclusions() + { + return $this->inclusions; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php new file mode 100644 index 00000000..a167819b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValue.php @@ -0,0 +1,59 @@ +creativeSizeValue = $creativeSizeValue; + } + public function getCreativeSizeValue() + { + return $this->creativeSizeValue; + } + public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue) + { + $this->dayPartTargetingValue = $dayPartTargetingValue; + } + public function getDayPartTargetingValue() + { + return $this->dayPartTargetingValue; + } + public function setLongValue($longValue) + { + $this->longValue = $longValue; + } + public function getLongValue() + { + return $this->longValue; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php new file mode 100644 index 00000000..7302f658 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueCreativeSize.php @@ -0,0 +1,60 @@ +companionSizes = $companionSizes; + } + public function getCompanionSizes() + { + return $this->companionSizes; + } + public function setCreativeSizeType($creativeSizeType) + { + $this->creativeSizeType = $creativeSizeType; + } + public function getCreativeSizeType() + { + return $this->creativeSizeType; + } + public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSkippableAdType($skippableAdType) + { + $this->skippableAdType = $skippableAdType; + } + public function getSkippableAdType() + { + return $this->skippableAdType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php new file mode 100644 index 00000000..da57301a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargeting.php @@ -0,0 +1,41 @@ +dayParts = $dayParts; + } + public function getDayParts() + { + return $this->dayParts; + } + public function setTimeZoneType($timeZoneType) + { + $this->timeZoneType = $timeZoneType; + } + public function getTimeZoneType() + { + return $this->timeZoneType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php new file mode 100644 index 00000000..f656ae74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueDayPartTargetingDayPart.php @@ -0,0 +1,66 @@ +dayOfWeek = $dayOfWeek; + } + public function getDayOfWeek() + { + return $this->dayOfWeek; + } + public function setEndHour($endHour) + { + $this->endHour = $endHour; + } + public function getEndHour() + { + return $this->endHour; + } + public function setEndMinute($endMinute) + { + $this->endMinute = $endMinute; + } + public function getEndMinute() + { + return $this->endMinute; + } + public function setStartHour($startHour) + { + $this->startHour = $startHour; + } + public function getStartHour() + { + return $this->startHour; + } + public function setStartMinute($startMinute) + { + $this->startMinute = $startMinute; + } + public function getStartMinute() + { + return $this->startMinute; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php new file mode 100644 index 00000000..116c5b5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/TargetingValueSize.php @@ -0,0 +1,39 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php new file mode 100644 index 00000000..8ec36d3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyer/UpdatePrivateAuctionProposalRequest.php @@ -0,0 +1,58 @@ +externalDealId = $externalDealId; + } + public function getExternalDealId() + { + return $this->externalDealId; + } + public function setNote(Google_Service_AdExchangeBuyer_MarketplaceNote $note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setProposalRevisionNumber($proposalRevisionNumber) + { + $this->proposalRevisionNumber = $proposalRevisionNumber; + } + public function getProposalRevisionNumber() + { + return $this->proposalRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php new file mode 100644 index 00000000..99ce5a6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII.php @@ -0,0 +1,441 @@ + + * Accesses the latest features for managing Ad Exchange accounts, Real-Time + * Bidding configurations and auction metrics, and Marketplace programmatic + * deals.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AdExchangeBuyerII extends Google_Service +{ + /** Manage your Ad Exchange buyer account configuration. */ + const ADEXCHANGE_BUYER = + "https://www.googleapis.com/auth/adexchange.buyer"; + + public $accounts_clients; + public $accounts_clients_invitations; + public $accounts_clients_users; + public $accounts_creatives; + public $accounts_creatives_dealAssociations; + + /** + * Constructs the internal representation of the AdExchangeBuyerII service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://adexchangebuyer.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2beta1'; + $this->serviceName = 'adexchangebuyer2'; + + $this->accounts_clients = new Google_Service_AdExchangeBuyerII_Resource_AccountsClients( + $this, + $this->serviceName, + 'clients', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_clients_invitations = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations( + $this, + $this->serviceName, + 'invitations', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'invitationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_clients_users = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_creatives = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'duplicateIdMode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'stopWatching' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_creatives_dealAssociations = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations( + $this, + $this->serviceName, + 'dealAssociations', + array( + 'methods' => array( + 'add' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'remove' => array( + 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php new file mode 100644 index 00000000..032c0279 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AddDealAssociationRequest.php @@ -0,0 +1,31 @@ +association = $association; + } + public function getAssociation() + { + return $this->association; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php new file mode 100644 index 00000000..360f021f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Adexchangebuyer2Empty.php @@ -0,0 +1,20 @@ +appTypes = $appTypes; + } + public function getAppTypes() + { + return $this->appTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php new file mode 100644 index 00000000..b3144e80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/AuctionContext.php @@ -0,0 +1,31 @@ +auctionTypes = $auctionTypes; + } + public function getAuctionTypes() + { + return $this->auctionTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php new file mode 100644 index 00000000..8a0d1242 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Client.php @@ -0,0 +1,93 @@ +clientAccountId = $clientAccountId; + } + public function getClientAccountId() + { + return $this->clientAccountId; + } + public function setClientName($clientName) + { + $this->clientName = $clientName; + } + public function getClientName() + { + return $this->clientName; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEntityName($entityName) + { + $this->entityName = $entityName; + } + public function getEntityName() + { + return $this->entityName; + } + public function setEntityType($entityType) + { + $this->entityType = $entityType; + } + public function getEntityType() + { + return $this->entityType; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setVisibleToSeller($visibleToSeller) + { + $this->visibleToSeller = $visibleToSeller; + } + public function getVisibleToSeller() + { + return $this->visibleToSeller; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php new file mode 100644 index 00000000..da71813e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUser.php @@ -0,0 +1,57 @@ +clientAccountId = $clientAccountId; + } + public function getClientAccountId() + { + return $this->clientAccountId; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php new file mode 100644 index 00000000..fe3d0cc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ClientUserInvitation.php @@ -0,0 +1,48 @@ +clientAccountId = $clientAccountId; + } + public function getClientAccountId() + { + return $this->clientAccountId; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setInvitationId($invitationId) + { + $this->invitationId = $invitationId; + } + public function getInvitationId() + { + return $this->invitationId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php new file mode 100644 index 00000000..3e1f2eea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Correction.php @@ -0,0 +1,50 @@ +contexts = $contexts; + } + public function getContexts() + { + return $this->contexts; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php new file mode 100644 index 00000000..54930e4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Creative.php @@ -0,0 +1,253 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdChoicesDestinationUrl($adChoicesDestinationUrl) + { + $this->adChoicesDestinationUrl = $adChoicesDestinationUrl; + } + public function getAdChoicesDestinationUrl() + { + return $this->adChoicesDestinationUrl; + } + public function setAdvertiserName($advertiserName) + { + $this->advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setApiUpdateTime($apiUpdateTime) + { + $this->apiUpdateTime = $apiUpdateTime; + } + public function getApiUpdateTime() + { + return $this->apiUpdateTime; + } + public function setAttributes($attributes) + { + $this->attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setClickThroughUrls($clickThroughUrls) + { + $this->clickThroughUrls = $clickThroughUrls; + } + public function getClickThroughUrls() + { + return $this->clickThroughUrls; + } + public function setCorrections($corrections) + { + $this->corrections = $corrections; + } + public function getCorrections() + { + return $this->corrections; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setDealsStatus($dealsStatus) + { + $this->dealsStatus = $dealsStatus; + } + public function getDealsStatus() + { + return $this->dealsStatus; + } + public function setDetectedAdvertiserIds($detectedAdvertiserIds) + { + $this->detectedAdvertiserIds = $detectedAdvertiserIds; + } + public function getDetectedAdvertiserIds() + { + return $this->detectedAdvertiserIds; + } + public function setDetectedDomains($detectedDomains) + { + $this->detectedDomains = $detectedDomains; + } + public function getDetectedDomains() + { + return $this->detectedDomains; + } + public function setDetectedLanguages($detectedLanguages) + { + $this->detectedLanguages = $detectedLanguages; + } + public function getDetectedLanguages() + { + return $this->detectedLanguages; + } + public function setDetectedProductCategories($detectedProductCategories) + { + $this->detectedProductCategories = $detectedProductCategories; + } + public function getDetectedProductCategories() + { + return $this->detectedProductCategories; + } + public function setDetectedSensitiveCategories($detectedSensitiveCategories) + { + $this->detectedSensitiveCategories = $detectedSensitiveCategories; + } + public function getDetectedSensitiveCategories() + { + return $this->detectedSensitiveCategories; + } + public function setFilteringStats(Google_Service_AdExchangeBuyerII_FilteringStats $filteringStats) + { + $this->filteringStats = $filteringStats; + } + public function getFilteringStats() + { + return $this->filteringStats; + } + public function setHtml(Google_Service_AdExchangeBuyerII_HtmlContent $html) + { + $this->html = $html; + } + public function getHtml() + { + return $this->html; + } + public function setImpressionTrackingUrls($impressionTrackingUrls) + { + $this->impressionTrackingUrls = $impressionTrackingUrls; + } + public function getImpressionTrackingUrls() + { + return $this->impressionTrackingUrls; + } + public function setNative(Google_Service_AdExchangeBuyerII_NativeContent $native) + { + $this->native = $native; + } + public function getNative() + { + return $this->native; + } + public function setOpenAuctionStatus($openAuctionStatus) + { + $this->openAuctionStatus = $openAuctionStatus; + } + public function getOpenAuctionStatus() + { + return $this->openAuctionStatus; + } + public function setRestrictedCategories($restrictedCategories) + { + $this->restrictedCategories = $restrictedCategories; + } + public function getRestrictedCategories() + { + return $this->restrictedCategories; + } + public function setServingRestrictions($servingRestrictions) + { + $this->servingRestrictions = $servingRestrictions; + } + public function getServingRestrictions() + { + return $this->servingRestrictions; + } + public function setVendorIds($vendorIds) + { + $this->vendorIds = $vendorIds; + } + public function getVendorIds() + { + return $this->vendorIds; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideo(Google_Service_AdExchangeBuyerII_VideoContent $video) + { + $this->video = $video; + } + public function getVideo() + { + return $this->video; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php new file mode 100644 index 00000000..4ce53aa7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/CreativeDealAssociation.php @@ -0,0 +1,48 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setDealsId($dealsId) + { + $this->dealsId = $dealsId; + } + public function getDealsId() + { + return $this->dealsId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php new file mode 100644 index 00000000..0d65a08d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php new file mode 100644 index 00000000..6a6824a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Disapproval.php @@ -0,0 +1,40 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php new file mode 100644 index 00000000..ecc5a875 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/FilteringStats.php @@ -0,0 +1,42 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setReasons($reasons) + { + $this->reasons = $reasons; + } + public function getReasons() + { + return $this->reasons; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php new file mode 100644 index 00000000..5e474ed5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/HtmlContent.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php new file mode 100644 index 00000000..4abc4434 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Image.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php new file mode 100644 index 00000000..b33d7d05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUserInvitationsResponse.php @@ -0,0 +1,41 @@ +invitations = $invitations; + } + public function getInvitations() + { + return $this->invitations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php new file mode 100644 index 00000000..8458df7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientUsersResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php new file mode 100644 index 00000000..03fe35a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListClientsResponse.php @@ -0,0 +1,41 @@ +clients = $clients; + } + public function getClients() + { + return $this->clients; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php new file mode 100644 index 00000000..10df66aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListCreativesResponse.php @@ -0,0 +1,41 @@ +creatives = $creatives; + } + public function getCreatives() + { + return $this->creatives; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php new file mode 100644 index 00000000..9014532b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ListDealAssociationsResponse.php @@ -0,0 +1,41 @@ +associations = $associations; + } + public function getAssociations() + { + return $this->associations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php new file mode 100644 index 00000000..38b65c92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/LocationContext.php @@ -0,0 +1,31 @@ +geoCriteriaIds = $geoCriteriaIds; + } + public function getGeoCriteriaIds() + { + return $this->geoCriteriaIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php new file mode 100644 index 00000000..c5d7b6fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/NativeContent.php @@ -0,0 +1,141 @@ +advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setAppIcon(Google_Service_AdExchangeBuyerII_Image $appIcon) + { + $this->appIcon = $appIcon; + } + public function getAppIcon() + { + return $this->appIcon; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCallToAction($callToAction) + { + $this->callToAction = $callToAction; + } + public function getCallToAction() + { + return $this->callToAction; + } + public function setClickLinkUrl($clickLinkUrl) + { + $this->clickLinkUrl = $clickLinkUrl; + } + public function getClickLinkUrl() + { + return $this->clickLinkUrl; + } + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + } + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + public function setHeadline($headline) + { + $this->headline = $headline; + } + public function getHeadline() + { + return $this->headline; + } + public function setImage(Google_Service_AdExchangeBuyerII_Image $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setLogo(Google_Service_AdExchangeBuyerII_Image $logo) + { + $this->logo = $logo; + } + public function getLogo() + { + return $this->logo; + } + public function setPriceDisplayText($priceDisplayText) + { + $this->priceDisplayText = $priceDisplayText; + } + public function getPriceDisplayText() + { + return $this->priceDisplayText; + } + public function setStarRating($starRating) + { + $this->starRating = $starRating; + } + public function getStarRating() + { + return $this->starRating; + } + public function setStoreUrl($storeUrl) + { + $this->storeUrl = $storeUrl; + } + public function getStoreUrl() + { + return $this->storeUrl; + } + public function setVideoUrl($videoUrl) + { + $this->videoUrl = $videoUrl; + } + public function getVideoUrl() + { + return $this->videoUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php new file mode 100644 index 00000000..07fd0680 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/PlatformContext.php @@ -0,0 +1,31 @@ +platforms = $platforms; + } + public function getPlatforms() + { + return $this->platforms; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php new file mode 100644 index 00000000..5b536f3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Reason.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php new file mode 100644 index 00000000..a0997af7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/RemoveDealAssociationRequest.php @@ -0,0 +1,31 @@ +association = $association; + } + public function getAssociation() + { + return $this->association; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php new file mode 100644 index 00000000..b4753fb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/Accounts.php @@ -0,0 +1,28 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $accounts = $adexchangebuyer2Service->accounts; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_Accounts extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php new file mode 100644 index 00000000..6006cac9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClients.php @@ -0,0 +1,101 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $clients = $adexchangebuyer2Service->clients; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_AccountsClients extends Google_Service_Resource +{ + /** + * Creates a new client buyer. (clients.create) + * + * @param string $accountId Unique numerical account ID for the buyer of which + * the client buyer is a customer; the sponsor buyer to create a client for. + * (required) + * @param Google_Service_AdExchangeBuyerII_Client $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Client + */ + public function create($accountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Client"); + } + /** + * Gets a client buyer with a given client account ID. (clients.get) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer to + * retrieve. (required) + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Client + */ + public function get($accountId, $clientAccountId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Client"); + } + /** + * Lists all the clients for the current sponsor buyer. + * (clients.listAccountsClients) + * + * @param string $accountId Unique numerical account ID of the sponsor buyer to + * list the clients for. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListClientsResponse.nextPageToken returned from the previous call to the + * accounts.clients.list method. + * @opt_param int pageSize Requested page size. The server may return fewer + * clients than requested. If unspecified, the server will pick an appropriate + * default. + * @return Google_Service_AdExchangeBuyerII_ListClientsResponse + */ + public function listAccountsClients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientsResponse"); + } + /** + * Updates an existing client buyer. (clients.update) + * + * @param string $accountId Unique numerical account ID for the buyer of which + * the client buyer is a customer; the sponsor buyer to update a client for. + * (required) + * @param string $clientAccountId Unique numerical account ID of the client to + * update. (required) + * @param Google_Service_AdExchangeBuyerII_Client $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Client + */ + public function update($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Client"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php new file mode 100644 index 00000000..5a8569c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php @@ -0,0 +1,90 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $invitations = $adexchangebuyer2Service->invitations; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations extends Google_Service_Resource +{ + /** + * Creates and sends out an email invitation to access an Ad Exchange client + * buyer account. (invitations.create) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer that + * the user should be associated with. (required) + * @param Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_ClientUserInvitation + */ + public function create($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation"); + } + /** + * Retrieves an existing client user invitation. (invitations.get) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer that + * the user invitation to be retrieved is associated with. (required) + * @param string $invitationId Numerical identifier of the user invitation to + * retrieve. (required) + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_ClientUserInvitation + */ + public function get($accountId, $clientAccountId, $invitationId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'invitationId' => $invitationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation"); + } + /** + * Lists all the client users invitations for a client with a given account ID. + * (invitations.listAccountsClientsInvitations) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer to + * list invitations for. (required) You must either specify a string + * representation of a numerical account identifier or the `-` character to list + * all the invitations for all the clients of a given sponsor buyer. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListClientUserInvitationsResponse.nextPageToken returned from the previous + * call to the clients.invitations.list method. + * @opt_param int pageSize Requested page size. Server may return fewer clients + * than requested. If unspecified, server will pick an appropriate default. + * @return Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse + */ + public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php new file mode 100644 index 00000000..a543d238 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsUsers.php @@ -0,0 +1,93 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $users = $adexchangebuyer2Service->users; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers extends Google_Service_Resource +{ + /** + * Retrieves an existing client user. (users.get) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer that + * the user to be retrieved is associated with. (required) + * @param string $userId Numerical identifier of the user to retrieve. + * (required) + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_ClientUser + */ + public function get($accountId, $clientAccountId, $userId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUser"); + } + /** + * Lists all the known client users for a specified sponsor buyer account ID. + * (users.listAccountsClientsUsers) + * + * @param string $accountId Numerical account ID of the sponsor buyer of the + * client to list users for. (required) + * @param string $clientAccountId The account ID of the client buyer to list + * users for. (required) You must specify either a string representation of a + * numerical account identifier or the `-` character to list all the client + * users for all the clients of a given sponsor buyer. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListClientUsersResponse.nextPageToken returned from the previous call to the + * accounts.clients.users.list method. + * @opt_param int pageSize Requested page size. The server may return fewer + * clients than requested. If unspecified, the server will pick an appropriate + * default. + * @return Google_Service_AdExchangeBuyerII_ListClientUsersResponse + */ + public function listAccountsClientsUsers($accountId, $clientAccountId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUsersResponse"); + } + /** + * Updates an existing client user. Only the user status can be changed on + * update. (users.update) + * + * @param string $accountId Numerical account ID of the client's sponsor buyer. + * (required) + * @param string $clientAccountId Numerical account ID of the client buyer that + * the user to be retrieved is associated with. (required) + * @param string $userId Numerical identifier of the user to retrieve. + * (required) + * @param Google_Service_AdExchangeBuyerII_ClientUser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_ClientUser + */ + public function update($accountId, $clientAccountId, $userId, Google_Service_AdExchangeBuyerII_ClientUser $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_ClientUser"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php new file mode 100644 index 00000000..f4dc48c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreatives.php @@ -0,0 +1,151 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $creatives = $adexchangebuyer2Service->creatives; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives extends Google_Service_Resource +{ + /** + * Creates a creative. (creatives.create) + * + * @param string $accountId The account that this creative belongs to. Can be + * used to filter the response of the creatives.list method. + * @param Google_Service_AdExchangeBuyerII_Creative $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string duplicateIdMode Indicates if multiple creatives can share + * an ID or not. Default is NO_DUPLICATES (one ID per creative). + * @return Google_Service_AdExchangeBuyerII_Creative + */ + public function create($accountId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Creative"); + } + /** + * Gets a creative. (creatives.get) + * + * @param string $accountId The account the creative belongs to. + * @param string $creativeId The ID of the creative to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Creative + */ + public function get($accountId, $creativeId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Creative"); + } + /** + * Lists creatives. (creatives.listAccountsCreatives) + * + * @param string $accountId The account to list the creatives from. Specify "-" + * to list all creatives the current user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListCreativesResponse.next_page_token returned from the previous call to + * 'ListCreatives' method. + * @opt_param int pageSize Requested page size. The server may return fewer + * creatives than requested (due to timeout constraint) even if more are + * available via another call. If unspecified, server will pick an appropriate + * default. Acceptable values are 1 to 1000, inclusive. + * @opt_param string query An optional query string to filter creatives. If no + * filter is specified, all active creatives will be returned. Supported queries + * are: + * + * accountId=account_id_string creativeId=creative_id_string dealsStatus: + * {approved, conditionally_approved, disapproved, + * not_checked} openAuctionStatus: {approved, conditionally_approved, + * disapproved, not_checked} attribute: {a numeric + * attribute from the list of attributes} disapprovalReason: {a reason from + * DisapprovalReason + * + * Example: 'accountId=12345 AND (dealsStatus:disapproved AND + * disapprovalReason:unacceptable_content) OR attribute:47' + * @return Google_Service_AdExchangeBuyerII_ListCreativesResponse + */ + public function listAccountsCreatives($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListCreativesResponse"); + } + /** + * Stops watching a creative. Will stop push notifications being sent to the + * topics when the creative changes status. (creatives.stopWatching) + * + * @param string $accountId The account of the creative to stop notifications + * for. + * @param string $creativeId The creative ID of the creative to stop + * notifications for. Specify "-" to specify stopping account level + * notifications. + * @param Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty + */ + public function stopWatching($accountId, $creativeId, Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stopWatching', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty"); + } + /** + * Updates a creative. (creatives.update) + * + * @param string $accountId The account that this creative belongs to. Can be + * used to filter the response of the creatives.list method. + * @param string $creativeId The buyer-defined creative ID of this creative. Can + * be used to filter the response of the creatives.list method. + * @param Google_Service_AdExchangeBuyerII_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Creative + */ + public function update($accountId, $creativeId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Creative"); + } + /** + * Watches a creative. Will result in push notifications being sent to the topic + * when the creative changes status. (creatives.watch) + * + * @param string $accountId The account of the creative to watch. + * @param string $creativeId The creative ID to watch for status changes. + * Specify "-" to watch all creatives under the above account. If both creative- + * level and account-level notifications are sent, only a single notification + * will be sent to the creative-level notification topic. + * @param Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty + */ + public function watch($accountId, $creativeId, Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php new file mode 100644 index 00000000..22ee0540 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/Resource/AccountsCreativesDealAssociations.php @@ -0,0 +1,94 @@ + + * $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...); + * $dealAssociations = $adexchangebuyer2Service->dealAssociations; + * + */ +class Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations extends Google_Service_Resource +{ + /** + * Associate an existing deal with a creative. (dealAssociations.add) + * + * @param string $accountId The account the creative belongs to. + * @param string $creativeId The ID of the creative associated with the deal. + * @param Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty + */ + public function add($accountId, $creativeId, Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('add', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty"); + } + /** + * List all creative-deal associations. + * (dealAssociations.listAccountsCreativesDealAssociations) + * + * @param string $accountId The account to list the associations from. Specify + * "-" to list all creatives the current user has access to. + * @param string $creativeId The creative ID to list the associations from. + * Specify "-" to list all creatives under the above account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListDealAssociationsResponse.next_page_token returned from the previous call + * to 'ListDealAssociations' method. + * @opt_param int pageSize Requested page size. Server may return fewer + * associations than requested. If unspecified, server will pick an appropriate + * default. + * @opt_param string query An optional query string to filter deal associations. + * If no filter is specified, all associations will be returned. Supported + * queries are: + * + * accountId=account_id_string creativeId=creative_id_string + * dealsId=deals_id_string dealsStatus:{approved, conditionally_approved, + * disapproved, not_checked} openAuctionStatus:{approved, + * conditionally_approved, disapproved, not_checked} + * + * Example: 'dealsId=12345 AND dealsStatus:disapproved' + * @return Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse + */ + public function listAccountsCreativesDealAssociations($accountId, $creativeId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse"); + } + /** + * Remove the association between a deal and a creative. + * (dealAssociations.remove) + * + * @param string $accountId The account the creative belongs to. + * @param string $creativeId The ID of the creative associated with the deal. + * @param Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty + */ + public function remove($accountId, $creativeId, Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('remove', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php new file mode 100644 index 00000000..c82d1917 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/SecurityContext.php @@ -0,0 +1,31 @@ +securities = $securities; + } + public function getSecurities() + { + return $this->securities; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php new file mode 100644 index 00000000..784fe232 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingContext.php @@ -0,0 +1,80 @@ +all = $all; + } + public function getAll() + { + return $this->all; + } + public function setAppType(Google_Service_AdExchangeBuyerII_AppContext $appType) + { + $this->appType = $appType; + } + public function getAppType() + { + return $this->appType; + } + public function setAuctionType(Google_Service_AdExchangeBuyerII_AuctionContext $auctionType) + { + $this->auctionType = $auctionType; + } + public function getAuctionType() + { + return $this->auctionType; + } + public function setLocation(Google_Service_AdExchangeBuyerII_LocationContext $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setPlatform(Google_Service_AdExchangeBuyerII_PlatformContext $platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } + public function setSecurityType(Google_Service_AdExchangeBuyerII_SecurityContext $securityType) + { + $this->securityType = $securityType; + } + public function getSecurityType() + { + return $this->securityType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php new file mode 100644 index 00000000..07684683 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/ServingRestriction.php @@ -0,0 +1,51 @@ +contexts = $contexts; + } + public function getContexts() + { + return $this->contexts; + } + public function setDisapprovalReasons($disapprovalReasons) + { + $this->disapprovalReasons = $disapprovalReasons; + } + public function getDisapprovalReasons() + { + return $this->disapprovalReasons; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php new file mode 100644 index 00000000..5b0c31ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/StopWatchingCreativeRequest.php @@ -0,0 +1,20 @@ +videoUrl = $videoUrl; + } + public function getVideoUrl() + { + return $this->videoUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php new file mode 100644 index 00000000..f92ea705 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeBuyerII/WatchCreativeRequest.php @@ -0,0 +1,30 @@ +topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php new file mode 100644 index 00000000..278069cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller.php @@ -0,0 +1,428 @@ + + * Accesses the inventory of Ad Exchange seller users and generates reports.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AdExchangeSeller extends Google_Service +{ + /** View and manage your Ad Exchange data. */ + const ADEXCHANGE_SELLER = + "https://www.googleapis.com/auth/adexchange.seller"; + /** View your Ad Exchange data. */ + const ADEXCHANGE_SELLER_READONLY = + "https://www.googleapis.com/auth/adexchange.seller.readonly"; + + public $accounts; + public $accounts_adclients; + public $accounts_alerts; + public $accounts_customchannels; + public $accounts_metadata_dimensions; + public $accounts_metadata_metrics; + public $accounts_preferreddeals; + public $accounts_reports; + public $accounts_reports_saved; + public $accounts_urlchannels; + + /** + * Constructs the internal representation of the AdExchangeSeller service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adexchangeseller/v2.0/'; + $this->version = 'v2.0'; + $this->serviceName = 'adexchangeseller'; + + $this->accounts = new Google_Service_AdExchangeSeller_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdExchangeSeller_Resource_AccountsAdclients( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_alerts = new Google_Service_AdExchangeSeller_Resource_AccountsAlerts( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels = new Google_Service_AdExchangeSeller_Resource_AccountsCustomchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_Resource_AccountsMetadataDimensions( + $this, + $this->serviceName, + 'dimensions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/metadata/dimensions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_Resource_AccountsMetadataMetrics( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/metadata/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_Resource_AccountsPreferreddeals( + $this, + $this->serviceName, + 'preferreddeals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/preferreddeals/{dealId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dealId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/preferreddeals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdExchangeSeller_Resource_AccountsReports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_Resource_AccountsReportsSaved( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_Resource_AccountsUrlchannels( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php new file mode 100644 index 00000000..c5380f0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Account.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php new file mode 100644 index 00000000..678e0c89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Accounts.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php new file mode 100644 index 00000000..97bc8934 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClient.php @@ -0,0 +1,66 @@ +arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php new file mode 100644 index 00000000..0577fb07 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/AdClients.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php new file mode 100644 index 00000000..798496c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alert.php @@ -0,0 +1,66 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php new file mode 100644 index 00000000..902f261f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Alerts.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php new file mode 100644 index 00000000..016dbc9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannel.php @@ -0,0 +1,67 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo) + { + $this->targetingInfo = $targetingInfo; + } + public function getTargetingInfo() + { + return $this->targetingInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php new file mode 100644 index 00000000..a0f43d70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannelTargetingInfo.php @@ -0,0 +1,57 @@ +adsAppearOn = $adsAppearOn; + } + public function getAdsAppearOn() + { + return $this->adsAppearOn; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSiteLanguage($siteLanguage) + { + $this->siteLanguage = $siteLanguage; + } + public function getSiteLanguage() + { + return $this->siteLanguage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php new file mode 100644 index 00000000..53a0aa08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/CustomChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php new file mode 100644 index 00000000..87f064a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Metadata.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php new file mode 100644 index 00000000..bdbf73fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeal.php @@ -0,0 +1,93 @@ +advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setBuyerNetworkName($buyerNetworkName) + { + $this->buyerNetworkName = $buyerNetworkName; + } + public function getBuyerNetworkName() + { + return $this->buyerNetworkName; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setFixedCpm($fixedCpm) + { + $this->fixedCpm = $fixedCpm; + } + public function getFixedCpm() + { + return $this->fixedCpm; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php new file mode 100644 index 00000000..b50fbf63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/PreferredDeals.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php new file mode 100644 index 00000000..9ee73d77 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Report.php @@ -0,0 +1,86 @@ +averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php new file mode 100644 index 00000000..0321c042 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportHeaders.php @@ -0,0 +1,48 @@ +currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php new file mode 100644 index 00000000..c8b90c46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/ReportingMetadataEntry.php @@ -0,0 +1,85 @@ +compatibleDimensions = $compatibleDimensions; + } + public function getCompatibleDimensions() + { + return $this->compatibleDimensions; + } + public function setCompatibleMetrics($compatibleMetrics) + { + $this->compatibleMetrics = $compatibleMetrics; + } + public function getCompatibleMetrics() + { + return $this->compatibleMetrics; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequiredDimensions($requiredDimensions) + { + $this->requiredDimensions = $requiredDimensions; + } + public function getRequiredDimensions() + { + return $this->requiredDimensions; + } + public function setRequiredMetrics($requiredMetrics) + { + $this->requiredMetrics = $requiredMetrics; + } + public function getRequiredMetrics() + { + return $this->requiredMetrics; + } + public function setSupportedProducts($supportedProducts) + { + $this->supportedProducts = $supportedProducts; + } + public function getSupportedProducts() + { + return $this->supportedProducts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php new file mode 100644 index 00000000..a107fbae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/Accounts.php @@ -0,0 +1,61 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $accounts = $adexchangesellerService->accounts; + * + */ +class Google_Service_AdExchangeSeller_Resource_Accounts extends Google_Service_Resource +{ + /** + * Get information about the selected Ad Exchange account. (accounts.get) + * + * @param string $accountId Account to get information about. Tip: 'myaccount' + * is a valid ID. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account"); + } + /** + * List all accounts available to this Ad Exchange account. + * (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of accounts to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through + * accounts. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdExchangeSeller_Accounts + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php new file mode 100644 index 00000000..af4a9489 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAdclients.php @@ -0,0 +1,48 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $adclients = $adexchangesellerService->adclients; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsAdclients extends Google_Service_Resource +{ + /** + * List all ad clients in this Ad Exchange account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account to which the ad client belongs. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdExchangeSeller_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php new file mode 100644 index 00000000..66ab285e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsAlerts.php @@ -0,0 +1,45 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $alerts = $adexchangesellerService->alerts; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsAlerts extends Google_Service_Resource +{ + /** + * List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts) + * + * @param string $accountId Account owning the alerts. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdExchangeSeller_Alerts + */ + public function listAccountsAlerts($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php new file mode 100644 index 00000000..8b23fc2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsCustomchannels.php @@ -0,0 +1,65 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $customchannels = $adexchangesellerService->customchannels; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsCustomchannels extends Google_Service_Resource +{ + /** + * Get the specified custom channel from the specified ad client. + * (customchannels.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_CustomChannel + */ + public function get($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel"); + } + /** + * List all custom channels in the specified ad client for this Ad Exchange + * account. (customchannels.listAccountsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of custom channels to include + * in the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdExchangeSeller_CustomChannels + */ + public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php new file mode 100644 index 00000000..55e090a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadata.php @@ -0,0 +1,28 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $metadata = $adexchangesellerService->metadata; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsMetadata extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php new file mode 100644 index 00000000..197fc8dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataDimensions.php @@ -0,0 +1,42 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $dimensions = $adexchangesellerService->dimensions; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsMetadataDimensions extends Google_Service_Resource +{ + /** + * List the metadata for the dimensions available to this AdExchange account. + * (dimensions.listAccountsMetadataDimensions) + * + * @param string $accountId Account with visibility to the dimensions. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Metadata + */ + public function listAccountsMetadataDimensions($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php new file mode 100644 index 00000000..90aa3968 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsMetadataMetrics.php @@ -0,0 +1,42 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $metrics = $adexchangesellerService->metrics; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsMetadataMetrics extends Google_Service_Resource +{ + /** + * List the metadata for the metrics available to this AdExchange account. + * (metrics.listAccountsMetadataMetrics) + * + * @param string $accountId Account with visibility to the metrics. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Metadata + */ + public function listAccountsMetadataMetrics($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php new file mode 100644 index 00000000..91daee92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsPreferreddeals.php @@ -0,0 +1,57 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $preferreddeals = $adexchangesellerService->preferreddeals; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsPreferreddeals extends Google_Service_Resource +{ + /** + * Get information about the selected Ad Exchange Preferred Deal. + * (preferreddeals.get) + * + * @param string $accountId Account owning the deal. + * @param string $dealId Preferred deal to get information about. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_PreferredDeal + */ + public function get($accountId, $dealId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'dealId' => $dealId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal"); + } + /** + * List the preferred deals for this Ad Exchange account. + * (preferreddeals.listAccountsPreferreddeals) + * + * @param string $accountId Account owning the deals. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_PreferredDeals + */ + public function listAccountsPreferreddeals($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php new file mode 100644 index 00000000..33c70e59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReports.php @@ -0,0 +1,59 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $reports = $adexchangesellerService->reports; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsReports extends Google_Service_Resource +{ + /** + * Generate an Ad Exchange report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Account which owns the generated report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string filter Filters to be run on the report. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string startIndex Index of the first row of report data to return. + * @return Google_Service_AdExchangeSeller_Report + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php new file mode 100644 index 00000000..8a0441c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsReportsSaved.php @@ -0,0 +1,69 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $saved = $adexchangesellerService->saved; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsReportsSaved extends Google_Service_Resource +{ + /** + * Generate an Ad Exchange report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $accountId Account owning the saved report. + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param int startIndex Index of the first row of report data to return. + * @return Google_Service_AdExchangeSeller_Report + */ + public function generate($accountId, $savedReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); + } + /** + * List all saved reports in this Ad Exchange account. + * (saved.listAccountsReportsSaved) + * + * @param string $accountId Account owning the saved reports. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdExchangeSeller_SavedReports + */ + public function listAccountsReportsSaved($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php new file mode 100644 index 00000000..13a9106a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/Resource/AccountsUrlchannels.php @@ -0,0 +1,49 @@ + + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $urlchannels = $adexchangesellerService->urlchannels; + * + */ +class Google_Service_AdExchangeSeller_Resource_AccountsUrlchannels extends Google_Service_Resource +{ + /** + * List all URL channels in the specified ad client for this Ad Exchange + * account. (urlchannels.listAccountsUrlchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdExchangeSeller_UrlChannels + */ + public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php new file mode 100644 index 00000000..8dfa6cb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php new file mode 100644 index 00000000..c20cabc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReports.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php new file mode 100644 index 00000000..645b6fca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannel.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php new file mode 100644 index 00000000..7b1b39a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdExchangeSeller/UrlChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php new file mode 100644 index 00000000..8463904c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense.php @@ -0,0 +1,1060 @@ + + * Accesses AdSense publishers' inventory and generates performance reports.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AdSense extends Google_Service +{ + /** View and manage your AdSense data. */ + const ADSENSE = + "https://www.googleapis.com/auth/adsense"; + /** View your AdSense data. */ + const ADSENSE_READONLY = + "https://www.googleapis.com/auth/adsense.readonly"; + + public $accounts; + public $accounts_adclients; + public $accounts_adunits; + public $accounts_adunits_customchannels; + public $accounts_alerts; + public $accounts_customchannels; + public $accounts_customchannels_adunits; + public $accounts_payments; + public $accounts_reports; + public $accounts_reports_saved; + public $accounts_savedadstyles; + public $accounts_urlchannels; + public $adclients; + public $adunits; + public $adunits_customchannels; + public $alerts; + public $customchannels; + public $customchannels_adunits; + public $metadata_dimensions; + public $metadata_metrics; + public $payments; + public $reports; + public $reports_saved; + public $savedadstyles; + public $urlchannels; + + /** + * Constructs the internal representation of the AdSense service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adsense/v1.4/'; + $this->version = 'v1.4'; + $this->serviceName = 'adsense'; + + $this->accounts = new Google_Service_AdSense_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tree' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdSense_Resource_AccountsAdclients( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits = new Google_Service_AdSense_Resource_AccountsAdunits( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits_customchannels = new Google_Service_AdSense_Resource_AccountsAdunitsCustomchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_alerts = new Google_Service_AdSense_Resource_AccountsAlerts( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'accounts/{accountId}/alerts/{alertId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alertId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels = new Google_Service_AdSense_Resource_AccountsCustomchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels_adunits = new Google_Service_AdSense_Resource_AccountsCustomchannelsAdunits( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_payments = new Google_Service_AdSense_Resource_AccountsPayments( + $this, + $this->serviceName, + 'payments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/payments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdSense_Resource_AccountsReports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'useTimezoneReporting' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->accounts_reports_saved = new Google_Service_AdSense_Resource_AccountsReportsSaved( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_savedadstyles = new Google_Service_AdSense_Resource_AccountsSavedadstyles( + $this, + $this->serviceName, + 'savedadstyles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedAdStyleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/savedadstyles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_urlchannels = new Google_Service_AdSense_Resource_AccountsUrlchannels( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->adclients = new Google_Service_AdSense_Resource_Adclients( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->adunits = new Google_Service_AdSense_Resource_Adunits( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->adunits_customchannels = new Google_Service_AdSense_Resource_AdunitsCustomchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->alerts = new Google_Service_AdSense_Resource_Alerts( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'alerts/{alertId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'alertId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->customchannels = new Google_Service_AdSense_Resource_Customchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->customchannels_adunits = new Google_Service_AdSense_Resource_CustomchannelsAdunits( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->metadata_dimensions = new Google_Service_AdSense_Resource_MetadataDimensions( + $this, + $this->serviceName, + 'dimensions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/dimensions', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->metadata_metrics = new Google_Service_AdSense_Resource_MetadataMetrics( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/metrics', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->payments = new Google_Service_AdSense_Resource_Payments( + $this, + $this->serviceName, + 'payments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'payments', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->reports = new Google_Service_AdSense_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'useTimezoneReporting' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->reports_saved = new Google_Service_AdSense_Resource_ReportsSaved( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->savedadstyles = new Google_Service_AdSense_Resource_Savedadstyles( + $this, + $this->serviceName, + 'savedadstyles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'savedadstyles/{savedAdStyleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'savedAdStyleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'savedadstyles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->urlchannels = new Google_Service_AdSense_Resource_Urlchannels( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php new file mode 100644 index 00000000..a627aa78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Account.php @@ -0,0 +1,89 @@ + "creation_time", + ); + public $creationTime; + public $id; + public $kind; + public $name; + public $premium; + protected $subAccountsType = 'Google_Service_AdSense_Account'; + protected $subAccountsDataType = 'array'; + public $timezone; + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPremium($premium) + { + $this->premium = $premium; + } + public function getPremium() + { + return $this->premium; + } + public function setSubAccounts($subAccounts) + { + $this->subAccounts = $subAccounts; + } + public function getSubAccounts() + { + return $this->subAccounts; + } + public function setTimezone($timezone) + { + $this->timezone = $timezone; + } + public function getTimezone() + { + return $this->timezone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php new file mode 100644 index 00000000..b7a3d6b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Accounts.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php new file mode 100644 index 00000000..c34218f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClient.php @@ -0,0 +1,66 @@ +arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php new file mode 100644 index 00000000..4347876e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdClients.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php new file mode 100644 index 00000000..2efb9d6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdCode.php @@ -0,0 +1,39 @@ +adCode = $adCode; + } + public function getAdCode() + { + return $this->adCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php new file mode 100644 index 00000000..491c2a46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php @@ -0,0 +1,59 @@ +colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setCorners($corners) + { + $this->corners = $corners; + } + public function getCorners() + { + return $this->corners; + } + public function setFont(Google_Service_AdSense_AdStyleFont $font) + { + $this->font = $font; + } + public function getFont() + { + return $this->font; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php new file mode 100644 index 00000000..a844ccf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php @@ -0,0 +1,66 @@ +background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setBorder($border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php new file mode 100644 index 00000000..9dfc83f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php @@ -0,0 +1,39 @@ +family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php new file mode 100644 index 00000000..53466f58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php @@ -0,0 +1,115 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings) + { + $this->contentAdsSettings = $contentAdsSettings; + } + public function getContentAdsSettings() + { + return $this->contentAdsSettings; + } + public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle) + { + $this->customStyle = $customStyle; + } + public function getCustomStyle() + { + return $this->customStyle; + } + public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings) + { + $this->feedAdsSettings = $feedAdsSettings; + } + public function getFeedAdsSettings() + { + return $this->feedAdsSettings; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) + { + $this->mobileContentAdsSettings = $mobileContentAdsSettings; + } + public function getMobileContentAdsSettings() + { + return $this->mobileContentAdsSettings; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSavedStyleId($savedStyleId) + { + $this->savedStyleId = $savedStyleId; + } + public function getSavedStyleId() + { + return $this->savedStyleId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php new file mode 100644 index 00000000..ecbd2198 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php @@ -0,0 +1,49 @@ +backupOption = $backupOption; + } + public function getBackupOption() + { + return $this->backupOption; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php new file mode 100644 index 00000000..8c3824b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettingsBackupOption.php @@ -0,0 +1,48 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php new file mode 100644 index 00000000..8c5f5a41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php @@ -0,0 +1,57 @@ +adPosition = $adPosition; + } + public function getAdPosition() + { + return $this->adPosition; + } + public function setFrequency($frequency) + { + $this->frequency = $frequency; + } + public function getFrequency() + { + return $this->frequency; + } + public function setMinimumWordCount($minimumWordCount) + { + $this->minimumWordCount = $minimumWordCount; + } + public function getMinimumWordCount() + { + return $this->minimumWordCount; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php new file mode 100644 index 00000000..892d83a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php @@ -0,0 +1,57 @@ +markupLanguage = $markupLanguage; + } + public function getMarkupLanguage() + { + return $this->markupLanguage; + } + public function setScriptingLanguage($scriptingLanguage) + { + $this->scriptingLanguage = $scriptingLanguage; + } + public function getScriptingLanguage() + { + return $this->scriptingLanguage; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php new file mode 100644 index 00000000..ab16767c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php new file mode 100644 index 00000000..61d16a5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php @@ -0,0 +1,104 @@ +averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php new file mode 100644 index 00000000..4fc41d2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponseHeaders.php @@ -0,0 +1,48 @@ +currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php new file mode 100644 index 00000000..14a4748d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alert.php @@ -0,0 +1,75 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDismissible($isDismissible) + { + $this->isDismissible = $isDismissible; + } + public function getIsDismissible() + { + return $this->isDismissible; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php new file mode 100644 index 00000000..04f38a45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Alerts.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php new file mode 100644 index 00000000..2d3c7ec3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php @@ -0,0 +1,67 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo) + { + $this->targetingInfo = $targetingInfo; + } + public function getTargetingInfo() + { + return $this->targetingInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php new file mode 100644 index 00000000..d37a7c0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php @@ -0,0 +1,57 @@ +adsAppearOn = $adsAppearOn; + } + public function getAdsAppearOn() + { + return $this->adsAppearOn; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSiteLanguage($siteLanguage) + { + $this->siteLanguage = $siteLanguage; + } + public function getSiteLanguage() + { + return $this->siteLanguage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php new file mode 100644 index 00000000..3897f99b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php new file mode 100644 index 00000000..3234c015 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Metadata.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php new file mode 100644 index 00000000..577ab302 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payment.php @@ -0,0 +1,66 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPaymentAmount($paymentAmount) + { + $this->paymentAmount = $paymentAmount; + } + public function getPaymentAmount() + { + return $this->paymentAmount; + } + public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode) + { + $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode; + } + public function getPaymentAmountCurrencyCode() + { + return $this->paymentAmountCurrencyCode; + } + public function setPaymentDate($paymentDate) + { + $this->paymentDate = $paymentDate; + } + public function getPaymentDate() + { + return $this->paymentDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php new file mode 100644 index 00000000..2aad94f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Payments.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php new file mode 100644 index 00000000..8919b1a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php @@ -0,0 +1,85 @@ +compatibleDimensions = $compatibleDimensions; + } + public function getCompatibleDimensions() + { + return $this->compatibleDimensions; + } + public function setCompatibleMetrics($compatibleMetrics) + { + $this->compatibleMetrics = $compatibleMetrics; + } + public function getCompatibleMetrics() + { + return $this->compatibleMetrics; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequiredDimensions($requiredDimensions) + { + $this->requiredDimensions = $requiredDimensions; + } + public function getRequiredDimensions() + { + return $this->requiredDimensions; + } + public function setRequiredMetrics($requiredMetrics) + { + $this->requiredMetrics = $requiredMetrics; + } + public function getRequiredMetrics() + { + return $this->requiredMetrics; + } + public function setSupportedProducts($supportedProducts) + { + $this->supportedProducts = $supportedProducts; + } + public function getSupportedProducts() + { + return $this->supportedProducts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php new file mode 100644 index 00000000..dd310359 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php @@ -0,0 +1,61 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $accounts = $adsenseService->accounts; + * + */ +class Google_Service_AdSense_Resource_Accounts extends Google_Service_Resource +{ + /** + * Get information about the selected AdSense account. (accounts.get) + * + * @param string $accountId Account to get information about. + * @param array $optParams Optional parameters. + * + * @opt_param bool tree Whether the tree of sub accounts should be returned. + * @return Google_Service_AdSense_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_Account"); + } + /** + * List all accounts available to this AdSense account. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of accounts to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through + * accounts. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_Accounts + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Accounts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php new file mode 100644 index 00000000..0d204e62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php @@ -0,0 +1,48 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adclients = $adsenseService->adclients; + * + */ +class Google_Service_AdSense_Resource_AccountsAdclients extends Google_Service_Resource +{ + /** + * List all ad clients in the specified account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account for which to list ad clients. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of ad clients to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php new file mode 100644 index 00000000..5e51d4bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php @@ -0,0 +1,82 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_Resource_AccountsAdunits extends Google_Service_Resource +{ + /** + * Gets the specified ad unit in the specified ad client for the specified + * account. (adunits.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to get the ad unit. + * @param string $adUnitId Ad unit to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdUnit + */ + public function get($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); + } + /** + * Get ad code for the specified ad unit. (adunits.getAdCode) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdCode + */ + public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); + } + /** + * List all ad units in the specified ad client for the specified account. + * (adunits.listAccountsAdunits) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdUnits + */ + public function listAccountsAdunits($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php new file mode 100644 index 00000000..8d3dc90a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunitsCustomchannels.php @@ -0,0 +1,50 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_Resource_AccountsAdunitsCustomchannels extends Google_Service_Resource +{ + /** + * List all custom channels which the specified ad unit belongs to. + * (customchannels.listAccountsAdunitsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php new file mode 100644 index 00000000..da9daf6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php @@ -0,0 +1,60 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $alerts = $adsenseService->alerts; + * + */ +class Google_Service_AdSense_Resource_AccountsAlerts extends Google_Service_Resource +{ + /** + * Dismiss (delete) the specified alert from the specified publisher AdSense + * account. (alerts.delete) + * + * @param string $accountId Account which contains the ad unit. + * @param string $alertId Alert to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $alertId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'alertId' => $alertId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * List the alerts for the specified AdSense account. + * (alerts.listAccountsAlerts) + * + * @param string $accountId Account for which to retrieve the alerts. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdSense_Alerts + */ + public function listAccountsAlerts($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php new file mode 100644 index 00000000..1dd90824 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php @@ -0,0 +1,65 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_Resource_AccountsCustomchannels extends Google_Service_Resource +{ + /** + * Get the specified custom channel from the specified ad client for the + * specified account. (customchannels.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_CustomChannel + */ + public function get($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); + } + /** + * List all custom channels in the specified ad client for the specified + * account. (customchannels.listAccountsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php new file mode 100644 index 00000000..846bee58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannelsAdunits.php @@ -0,0 +1,52 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_Resource_AccountsCustomchannelsAdunits extends Google_Service_Resource +{ + /** + * List all ad units in the specified custom channel. + * (adunits.listAccountsCustomchannelsAdunits) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdUnits + */ + public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php new file mode 100644 index 00000000..56e18873 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php @@ -0,0 +1,42 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $payments = $adsenseService->payments; + * + */ +class Google_Service_AdSense_Resource_AccountsPayments extends Google_Service_Resource +{ + /** + * List the payments for the specified AdSense account. + * (payments.listAccountsPayments) + * + * @param string $accountId Account for which to retrieve the payments. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Payments + */ + public function listAccountsPayments($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php new file mode 100644 index 00000000..22f0709c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php @@ -0,0 +1,64 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $reports = $adsenseService->reports; + * + */ +class Google_Service_AdSense_Resource_AccountsReports extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Account upon which to report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string currency Optional currency to use when reporting on + * monetary metrics. Defaults to the account's currency if not set. + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string filter Filters to be run on the report. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param bool useTimezoneReporting Whether the report should be generated + * in the AdSense account's local timezone. If false default PST/PDT timezone + * will be used. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php new file mode 100644 index 00000000..1dca5377 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php @@ -0,0 +1,69 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $saved = $adsenseService->saved; + * + */ +class Google_Service_AdSense_Resource_AccountsReportsSaved extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $accountId Account to which the saved reports belong. + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param int startIndex Index of the first row of report data to return. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($accountId, $savedReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } + /** + * List all saved reports in the specified AdSense account. + * (saved.listAccountsReportsSaved) + * + * @param string $accountId Account to which the saved reports belong. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_SavedReports + */ + public function listAccountsReportsSaved($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php new file mode 100644 index 00000000..a33cc2d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php @@ -0,0 +1,62 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $savedadstyles = $adsenseService->savedadstyles; + * + */ +class Google_Service_AdSense_Resource_AccountsSavedadstyles extends Google_Service_Resource +{ + /** + * List a specific saved ad style for the specified account. (savedadstyles.get) + * + * @param string $accountId Account for which to get the saved ad style. + * @param string $savedAdStyleId Saved ad style to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_SavedAdStyle + */ + public function get($accountId, $savedAdStyleId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); + } + /** + * List all saved ad styles in the specified account. + * (savedadstyles.listAccountsSavedadstyles) + * + * @param string $accountId Account for which to list saved ad styles. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of saved ad styles to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through saved + * ad styles. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_SavedAdStyles + */ + public function listAccountsSavedadstyles($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php new file mode 100644 index 00000000..82b9cf19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php @@ -0,0 +1,49 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $urlchannels = $adsenseService->urlchannels; + * + */ +class Google_Service_AdSense_Resource_AccountsUrlchannels extends Google_Service_Resource +{ + /** + * List all URL channels in the specified ad client for the specified account. + * (urlchannels.listAccountsUrlchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_UrlChannels + */ + public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php new file mode 100644 index 00000000..3d22182a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php @@ -0,0 +1,46 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adclients = $adsenseService->adclients; + * + */ +class Google_Service_AdSense_Resource_Adclients extends Google_Service_Resource +{ + /** + * List all ad clients in this AdSense account. (adclients.listAdclients) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of ad clients to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdClients + */ + public function listAdclients($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php new file mode 100644 index 00000000..38f7b060 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php @@ -0,0 +1,78 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_Resource_Adunits extends Google_Service_Resource +{ + /** + * Gets the specified ad unit in the specified ad client. (adunits.get) + * + * @param string $adClientId Ad client for which to get the ad unit. + * @param string $adUnitId Ad unit to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdUnit + */ + public function get($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); + } + /** + * Get ad code for the specified ad unit. (adunits.getAdCode) + * + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdCode + */ + public function getAdCode($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); + } + /** + * List all ad units in the specified ad client for this AdSense account. + * (adunits.listAdunits) + * + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdUnits + */ + public function listAdunits($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php new file mode 100644 index 00000000..8c32cfe0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php @@ -0,0 +1,49 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_Resource_AdunitsCustomchannels extends Google_Service_Resource +{ + /** + * List all custom channels which the specified ad unit belongs to. + * (customchannels.listAdunitsCustomchannels) + * + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php new file mode 100644 index 00000000..5c2c5934 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php @@ -0,0 +1,57 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $alerts = $adsenseService->alerts; + * + */ +class Google_Service_AdSense_Resource_Alerts extends Google_Service_Resource +{ + /** + * Dismiss (delete) the specified alert from the publisher's AdSense account. + * (alerts.delete) + * + * @param string $alertId Alert to delete. + * @param array $optParams Optional parameters. + */ + public function delete($alertId, $optParams = array()) + { + $params = array('alertId' => $alertId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * List the alerts for this AdSense account. (alerts.listAlerts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdSense_Alerts + */ + public function listAlerts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php new file mode 100644 index 00000000..0c0cda9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php @@ -0,0 +1,63 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_Resource_Customchannels extends Google_Service_Resource +{ + /** + * Get the specified custom channel from the specified ad client. + * (customchannels.get) + * + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_CustomChannel + */ + public function get($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); + } + /** + * List all custom channels in the specified ad client for this AdSense account. + * (customchannels.listCustomchannels) + * + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_CustomChannels + */ + public function listCustomchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php new file mode 100644 index 00000000..0fe22624 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php @@ -0,0 +1,51 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_Resource_CustomchannelsAdunits extends Google_Service_Resource +{ + /** + * List all ad units in the specified custom channel. + * (adunits.listCustomchannelsAdunits) + * + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdUnits + */ + public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php new file mode 100644 index 00000000..9bbfef60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php @@ -0,0 +1,28 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $metadata = $adsenseService->metadata; + * + */ +class Google_Service_AdSense_Resource_Metadata extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php new file mode 100644 index 00000000..1e72c608 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php @@ -0,0 +1,41 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $dimensions = $adsenseService->dimensions; + * + */ +class Google_Service_AdSense_Resource_MetadataDimensions extends Google_Service_Resource +{ + /** + * List the metadata for the dimensions available to this AdSense account. + * (dimensions.listMetadataDimensions) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Metadata + */ + public function listMetadataDimensions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php new file mode 100644 index 00000000..c8cc4205 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php @@ -0,0 +1,41 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $metrics = $adsenseService->metrics; + * + */ +class Google_Service_AdSense_Resource_MetadataMetrics extends Google_Service_Resource +{ + /** + * List the metadata for the metrics available to this AdSense account. + * (metrics.listMetadataMetrics) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Metadata + */ + public function listMetadataMetrics($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php new file mode 100644 index 00000000..0818c239 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php @@ -0,0 +1,40 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $payments = $adsenseService->payments; + * + */ +class Google_Service_AdSense_Resource_Payments extends Google_Service_Resource +{ + /** + * List the payments for this AdSense account. (payments.listPayments) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Payments + */ + public function listPayments($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php new file mode 100644 index 00000000..499d980a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php @@ -0,0 +1,64 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $reports = $adsenseService->reports; + * + */ +class Google_Service_AdSense_Resource_Reports extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string accountId Accounts upon which to report. + * @opt_param string currency Optional currency to use when reporting on + * monetary metrics. Defaults to the account's currency if not set. + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string filter Filters to be run on the report. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param bool useTimezoneReporting Whether the report should be generated + * in the AdSense account's local timezone. If false default PST/PDT timezone + * will be used. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($startDate, $endDate, $optParams = array()) + { + $params = array('startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php new file mode 100644 index 00000000..e65cfda0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php @@ -0,0 +1,66 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $saved = $adsenseService->saved; + * + */ +class Google_Service_AdSense_Resource_ReportsSaved extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param int startIndex Index of the first row of report data to return. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($savedReportId, $optParams = array()) + { + $params = array('savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } + /** + * List all saved reports in this AdSense account. (saved.listReportsSaved) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_SavedReports + */ + public function listReportsSaved($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php new file mode 100644 index 00000000..3a89624c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php @@ -0,0 +1,60 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $savedadstyles = $adsenseService->savedadstyles; + * + */ +class Google_Service_AdSense_Resource_Savedadstyles extends Google_Service_Resource +{ + /** + * Get a specific saved ad style from the user's account. (savedadstyles.get) + * + * @param string $savedAdStyleId Saved ad style to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_SavedAdStyle + */ + public function get($savedAdStyleId, $optParams = array()) + { + $params = array('savedAdStyleId' => $savedAdStyleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); + } + /** + * List all saved ad styles in the user's account. + * (savedadstyles.listSavedadstyles) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of saved ad styles to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through saved + * ad styles. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_SavedAdStyles + */ + public function listSavedadstyles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php new file mode 100644 index 00000000..b937f2c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php @@ -0,0 +1,48 @@ + + * $adsenseService = new Google_Service_AdSense(...); + * $urlchannels = $adsenseService->urlchannels; + * + */ +class Google_Service_AdSense_Resource_Urlchannels extends Google_Service_Resource +{ + /** + * List all URL channels in the specified ad client for this AdSense account. + * (urlchannels.listUrlchannels) + * + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_UrlChannels + */ + public function listUrlchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php new file mode 100644 index 00000000..f568bd1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php @@ -0,0 +1,58 @@ +adStyle = $adStyle; + } + public function getAdStyle() + { + return $this->adStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php new file mode 100644 index 00000000..478945cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php new file mode 100644 index 00000000..8baebb35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php new file mode 100644 index 00000000..2d85c0be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php new file mode 100644 index 00000000..a372506f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php new file mode 100644 index 00000000..d5a3a6de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php new file mode 100644 index 00000000..166525a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost.php @@ -0,0 +1,630 @@ + + * Generates performance reports, generates ad codes, and provides publisher + * management capabilities for AdSense Hosts.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AdSenseHost extends Google_Service +{ + /** View and manage your AdSense host data and associated accounts. */ + const ADSENSEHOST = + "https://www.googleapis.com/auth/adsensehost"; + + public $accounts; + public $accounts_adclients; + public $accounts_adunits; + public $accounts_reports; + public $adclients; + public $associationsessions; + public $customchannels; + public $reports; + public $urlchannels; + + /** + * Constructs the internal representation of the AdSenseHost service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adsensehost/v4.1/'; + $this->version = 'v4.1'; + $this->serviceName = 'adsensehost'; + + $this->accounts = new Google_Service_AdSenseHost_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filterAdClientId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdSenseHost_Resource_AccountsAdclients( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits = new Google_Service_AdSenseHost_Resource_AccountsAdunits( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'hostCustomChannelId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'insert' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdSenseHost_Resource_AccountsReports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->adclients = new Google_Service_AdSenseHost_Resource_Adclients( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->associationsessions = new Google_Service_AdSenseHost_Resource_Associationsessions( + $this, + $this->serviceName, + 'associationsessions', + array( + 'methods' => array( + 'start' => array( + 'path' => 'associationsessions/start', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productCode' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'websiteUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'userLocale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'websiteLocale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'verify' => array( + 'path' => 'associationsessions/verify', + 'httpMethod' => 'GET', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->customchannels = new Google_Service_AdSenseHost_Resource_Customchannels( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_AdSenseHost_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->urlchannels = new Google_Service_AdSenseHost_Resource_Urlchannels( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'adclients/{adClientId}/urlchannels/{urlChannelId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php new file mode 100644 index 00000000..1c35144e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Account.php @@ -0,0 +1,57 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php new file mode 100644 index 00000000..371aef17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Accounts.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php new file mode 100644 index 00000000..c8a1d5d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClient.php @@ -0,0 +1,66 @@ +arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php new file mode 100644 index 00000000..6a80b166 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdClients.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php new file mode 100644 index 00000000..939dcb1d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdCode.php @@ -0,0 +1,39 @@ +adCode = $adCode; + } + public function getAdCode() + { + return $this->adCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php new file mode 100644 index 00000000..f5bddbaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyle.php @@ -0,0 +1,59 @@ +colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setCorners($corners) + { + $this->corners = $corners; + } + public function getCorners() + { + return $this->corners; + } + public function setFont(Google_Service_AdSenseHost_AdStyleFont $font) + { + $this->font = $font; + } + public function getFont() + { + return $this->font; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php new file mode 100644 index 00000000..dbe20cfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleColors.php @@ -0,0 +1,66 @@ +background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setBorder($border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php new file mode 100644 index 00000000..0d935b8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdStyleFont.php @@ -0,0 +1,39 @@ +family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php new file mode 100644 index 00000000..fee1e201 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnit.php @@ -0,0 +1,96 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setContentAdsSettings(Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings) + { + $this->contentAdsSettings = $contentAdsSettings; + } + public function getContentAdsSettings() + { + return $this->contentAdsSettings; + } + public function setCustomStyle(Google_Service_AdSenseHost_AdStyle $customStyle) + { + $this->customStyle = $customStyle; + } + public function getCustomStyle() + { + return $this->customStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileContentAdsSettings(Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) + { + $this->mobileContentAdsSettings = $mobileContentAdsSettings; + } + public function getMobileContentAdsSettings() + { + return $this->mobileContentAdsSettings; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php new file mode 100644 index 00000000..4bd5d533 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettings.php @@ -0,0 +1,49 @@ +backupOption = $backupOption; + } + public function getBackupOption() + { + return $this->backupOption; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php new file mode 100644 index 00000000..c4ca660c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitContentAdsSettingsBackupOption.php @@ -0,0 +1,48 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php new file mode 100644 index 00000000..c50cdad2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnitMobileContentAdsSettings.php @@ -0,0 +1,57 @@ +markupLanguage = $markupLanguage; + } + public function getMarkupLanguage() + { + return $this->markupLanguage; + } + public function setScriptingLanguage($scriptingLanguage) + { + $this->scriptingLanguage = $scriptingLanguage; + } + public function getScriptingLanguage() + { + return $this->scriptingLanguage; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php new file mode 100644 index 00000000..b528b0cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AdUnits.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php new file mode 100644 index 00000000..4d346008 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/AssociationSession.php @@ -0,0 +1,103 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCodes($productCodes) + { + $this->productCodes = $productCodes; + } + public function getProductCodes() + { + return $this->productCodes; + } + public function setRedirectUrl($redirectUrl) + { + $this->redirectUrl = $redirectUrl; + } + public function getRedirectUrl() + { + return $this->redirectUrl; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserLocale($userLocale) + { + $this->userLocale = $userLocale; + } + public function getUserLocale() + { + return $this->userLocale; + } + public function setWebsiteLocale($websiteLocale) + { + $this->websiteLocale = $websiteLocale; + } + public function getWebsiteLocale() + { + return $this->websiteLocale; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php new file mode 100644 index 00000000..94f73abd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannel.php @@ -0,0 +1,57 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php new file mode 100644 index 00000000..455be5ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/CustomChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php new file mode 100644 index 00000000..94220fec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Report.php @@ -0,0 +1,86 @@ +averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php new file mode 100644 index 00000000..418e03fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/ReportHeaders.php @@ -0,0 +1,48 @@ +currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php new file mode 100644 index 00000000..6256267b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Accounts.php @@ -0,0 +1,55 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $accounts = $adsensehostService->accounts; + * + */ +class Google_Service_AdSenseHost_Resource_Accounts extends Google_Service_Resource +{ + /** + * Get information about the selected associated AdSense account. (accounts.get) + * + * @param string $accountId Account to get information about. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_Account"); + } + /** + * List hosted accounts associated with this AdSense account by ad client id. + * (accounts.listAccounts) + * + * @param string|array $filterAdClientId Ad clients to list accounts for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_Accounts + */ + public function listAccounts($filterAdClientId, $optParams = array()) + { + $params = array('filterAdClientId' => $filterAdClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_Accounts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php new file mode 100644 index 00000000..5eab0111 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdclients.php @@ -0,0 +1,63 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adclients = $adsensehostService->adclients; + * + */ +class Google_Service_AdSenseHost_Resource_AccountsAdclients extends Google_Service_Resource +{ + /** + * Get information about one of the ad clients in the specified publisher's + * AdSense account. (adclients.get) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdClient + */ + public function get($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); + } + /** + * List all hosted ad clients in the specified hosted account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account for which to list ad clients. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSenseHost_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php new file mode 100644 index 00000000..b05f2bcd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsAdunits.php @@ -0,0 +1,150 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adunits = $adsensehostService->adunits; + * + */ +class Google_Service_AdSenseHost_Resource_AccountsAdunits extends Google_Service_Resource +{ + /** + * Delete the specified ad unit from the specified publisher AdSense account. + * (adunits.delete) + * + * @param string $accountId Account which contains the ad unit. + * @param string $adClientId Ad client for which to get ad unit. + * @param string $adUnitId Ad unit to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function delete($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + /** + * Get the specified host ad unit in this AdSense account. (adunits.get) + * + * @param string $accountId Account which contains the ad unit. + * @param string $adClientId Ad client for which to get ad unit. + * @param string $adUnitId Ad unit to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function get($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + /** + * Get ad code for the specified ad unit, attaching the specified host custom + * channels. (adunits.getAdCode) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * + * @opt_param string hostCustomChannelId Host custom channel to attach to the ad + * code. + * @return Google_Service_AdSenseHost_AdCode + */ + public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSenseHost_AdCode"); + } + /** + * Insert the supplied ad unit into the specified publisher AdSense account. + * (adunits.insert) + * + * @param string $accountId Account which will contain the ad unit. + * @param string $adClientId Ad client into which to insert the ad unit. + * @param Google_Service_AdSenseHost_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function insert($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + /** + * List all ad units in the specified publisher's AdSense account. + * (adunits.listAccountsAdunits) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param string maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSenseHost_AdUnits + */ + public function listAccountsAdunits($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdUnits"); + } + /** + * Update the supplied ad unit in the specified publisher AdSense account. This + * method supports patch semantics. (adunits.patch) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit to get. + * @param Google_Service_AdSenseHost_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function patch($accountId, $adClientId, $adUnitId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + /** + * Update the supplied ad unit in the specified publisher AdSense account. + * (adunits.update) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client which contains the ad unit. + * @param Google_Service_AdSenseHost_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function update($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdSenseHost_AdUnit"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php new file mode 100644 index 00000000..0aa2ea79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/AccountsReports.php @@ -0,0 +1,59 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $reports = $adsensehostService->reports; + * + */ +class Google_Service_AdSenseHost_Resource_AccountsReports extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Hosted account upon which to report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string filter Filters to be run on the report. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string startIndex Index of the first row of report data to return. + * @return Google_Service_AdSenseHost_Report + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php new file mode 100644 index 00000000..006abdfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Adclients.php @@ -0,0 +1,60 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adclients = $adsensehostService->adclients; + * + */ +class Google_Service_AdSenseHost_Resource_Adclients extends Google_Service_Resource +{ + /** + * Get information about one of the ad clients in the Host AdSense account. + * (adclients.get) + * + * @param string $adClientId Ad client to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdClient + */ + public function get($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); + } + /** + * List all host ad clients in this AdSense account. (adclients.listAdclients) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSenseHost_AdClients + */ + public function listAdclients($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php new file mode 100644 index 00000000..67a900aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Associationsessions.php @@ -0,0 +1,60 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $associationsessions = $adsensehostService->associationsessions; + * + */ +class Google_Service_AdSenseHost_Resource_Associationsessions extends Google_Service_Resource +{ + /** + * Create an association session for initiating an association with an AdSense + * user. (associationsessions.start) + * + * @param string|array $productCode Products to associate with the user. + * @param string $websiteUrl The URL of the user's hosted website. + * @param array $optParams Optional parameters. + * + * @opt_param string userLocale The preferred locale of the user. + * @opt_param string websiteLocale The locale of the user's hosted website. + * @return Google_Service_AdSenseHost_AssociationSession + */ + public function start($productCode, $websiteUrl, $optParams = array()) + { + $params = array('productCode' => $productCode, 'websiteUrl' => $websiteUrl); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_AdSenseHost_AssociationSession"); + } + /** + * Verify an association session after the association callback returns from + * AdSense signup. (associationsessions.verify) + * + * @param string $token The token returned to the association callback URL. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AssociationSession + */ + public function verify($token, $optParams = array()) + { + $params = array('token' => $token); + $params = array_merge($params, $optParams); + return $this->call('verify', array($params), "Google_Service_AdSenseHost_AssociationSession"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php new file mode 100644 index 00000000..75736e6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Customchannels.php @@ -0,0 +1,125 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $customchannels = $adsensehostService->customchannels; + * + */ +class Google_Service_AdSenseHost_Resource_Customchannels extends Google_Service_Resource +{ + /** + * Delete a specific custom channel from the host AdSense account. + * (customchannels.delete) + * + * @param string $adClientId Ad client from which to delete the custom channel. + * @param string $customChannelId Custom channel to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function delete($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + /** + * Get a specific custom channel from the host AdSense account. + * (customchannels.get) + * + * @param string $adClientId Ad client from which to get the custom channel. + * @param string $customChannelId Custom channel to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function get($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + /** + * Add a new custom channel to the host AdSense account. (customchannels.insert) + * + * @param string $adClientId Ad client to which the new custom channel will be + * added. + * @param Google_Service_AdSenseHost_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function insert($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + /** + * List all host custom channels in this AdSense account. + * (customchannels.listCustomchannels) + * + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of custom channels to include + * in the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSenseHost_CustomChannels + */ + public function listCustomchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_CustomChannels"); + } + /** + * Update a custom channel in the host AdSense account. This method supports + * patch semantics. (customchannels.patch) + * + * @param string $adClientId Ad client in which the custom channel will be + * updated. + * @param string $customChannelId Custom channel to get. + * @param Google_Service_AdSenseHost_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function patch($adClientId, $customChannelId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + /** + * Update a custom channel in the host AdSense account. (customchannels.update) + * + * @param string $adClientId Ad client in which the custom channel will be + * updated. + * @param Google_Service_AdSenseHost_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function update($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php new file mode 100644 index 00000000..fa5522c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Reports.php @@ -0,0 +1,58 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $reports = $adsensehostService->reports; + * + */ +class Google_Service_AdSenseHost_Resource_Reports extends Google_Service_Resource +{ + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string filter Filters to be run on the report. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string startIndex Index of the first row of report data to return. + * @return Google_Service_AdSenseHost_Report + */ + public function generate($startDate, $endDate, $optParams = array()) + { + $params = array('startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php new file mode 100644 index 00000000..6a7cbcf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/Resource/Urlchannels.php @@ -0,0 +1,77 @@ + + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $urlchannels = $adsensehostService->urlchannels; + * + */ +class Google_Service_AdSenseHost_Resource_Urlchannels extends Google_Service_Resource +{ + /** + * Delete a URL channel from the host AdSense account. (urlchannels.delete) + * + * @param string $adClientId Ad client from which to delete the URL channel. + * @param string $urlChannelId URL channel to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_UrlChannel + */ + public function delete($adClientId, $urlChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'urlChannelId' => $urlChannelId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_UrlChannel"); + } + /** + * Add a new URL channel to the host AdSense account. (urlchannels.insert) + * + * @param string $adClientId Ad client to which the new URL channel will be + * added. + * @param Google_Service_AdSenseHost_UrlChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_UrlChannel + */ + public function insert($adClientId, Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_UrlChannel"); + } + /** + * List all host URL channels in the host AdSense account. + * (urlchannels.listUrlchannels) + * + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSenseHost_UrlChannels + */ + public function listUrlchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_UrlChannels"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php new file mode 100644 index 00000000..f58f23cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannel.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php new file mode 100644 index 00000000..cc7338dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AdSenseHost/UrlChannels.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php new file mode 100644 index 00000000..50a3b231 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics.php @@ -0,0 +1,2103 @@ + + * Views and manages your Google Analytics data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Analytics extends Google_Service +{ + /** View and manage your Google Analytics data. */ + const ANALYTICS = + "https://www.googleapis.com/auth/analytics"; + /** Edit Google Analytics management entities. */ + const ANALYTICS_EDIT = + "https://www.googleapis.com/auth/analytics.edit"; + /** Manage Google Analytics Account users by email address. */ + const ANALYTICS_MANAGE_USERS = + "https://www.googleapis.com/auth/analytics.manage.users"; + /** View Google Analytics user permissions. */ + const ANALYTICS_MANAGE_USERS_READONLY = + "https://www.googleapis.com/auth/analytics.manage.users.readonly"; + /** Create a new Google Analytics account along with its default property and view. */ + const ANALYTICS_PROVISION = + "https://www.googleapis.com/auth/analytics.provision"; + /** View your Google Analytics data. */ + const ANALYTICS_READONLY = + "https://www.googleapis.com/auth/analytics.readonly"; + + public $data_ga; + public $data_mcf; + public $data_realtime; + public $management_accountSummaries; + public $management_accountUserLinks; + public $management_accounts; + public $management_customDataSources; + public $management_customDimensions; + public $management_customMetrics; + public $management_experiments; + public $management_filters; + public $management_goals; + public $management_profileFilterLinks; + public $management_profileUserLinks; + public $management_profiles; + public $management_remarketingAudience; + public $management_segments; + public $management_unsampledReports; + public $management_uploads; + public $management_webPropertyAdWordsLinks; + public $management_webproperties; + public $management_webpropertyUserLinks; + public $metadata_columns; + public $provisioning; + + /** + * Constructs the internal representation of the Analytics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'analytics/v3/'; + $this->version = 'v3'; + $this->serviceName = 'analytics'; + + $this->data_ga = new Google_Service_Analytics_Resource_DataGa( + $this, + $this->serviceName, + 'ga', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/ga', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'include-empty-rows' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'output' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'samplingLevel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'segment' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->data_mcf = new Google_Service_Analytics_Resource_DataMcf( + $this, + $this->serviceName, + 'mcf', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/mcf', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'samplingLevel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->data_realtime = new Google_Service_Analytics_Resource_DataRealtime( + $this, + $this->serviceName, + 'realtime', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/realtime', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->management_accountSummaries = new Google_Service_Analytics_Resource_ManagementAccountSummaries( + $this, + $this->serviceName, + 'accountSummaries', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accountSummaries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_accountUserLinks = new Google_Service_Analytics_Resource_ManagementAccountUserLinks( + $this, + $this->serviceName, + 'accountUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_accounts = new Google_Service_Analytics_Resource_ManagementAccounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_customDataSources = new Google_Service_Analytics_Resource_ManagementCustomDataSources( + $this, + $this->serviceName, + 'customDataSources', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_customDimensions = new Google_Service_Analytics_Resource_ManagementCustomDimensions( + $this, + $this->serviceName, + 'customDimensions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->management_customMetrics = new Google_Service_Analytics_Resource_ManagementCustomMetrics( + $this, + $this->serviceName, + 'customMetrics', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->management_experiments = new Google_Service_Analytics_Resource_ManagementExperiments( + $this, + $this->serviceName, + 'experiments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_filters = new Google_Service_Analytics_Resource_ManagementFilters( + $this, + $this->serviceName, + 'filters', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/filters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/filters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_goals = new Google_Service_Analytics_Resource_ManagementGoals( + $this, + $this->serviceName, + 'goals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profileFilterLinks = new Google_Service_Analytics_Resource_ManagementProfileFilterLinks( + $this, + $this->serviceName, + 'profileFilterLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profileUserLinks = new Google_Service_Analytics_Resource_ManagementProfileUserLinks( + $this, + $this->serviceName, + 'profileUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profiles = new Google_Service_Analytics_Resource_ManagementProfiles( + $this, + $this->serviceName, + 'profiles', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_remarketingAudience = new Google_Service_Analytics_Resource_ManagementRemarketingAudience( + $this, + $this->serviceName, + 'remarketingAudience', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingAudienceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingAudienceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingAudienceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_segments = new Google_Service_Analytics_Resource_ManagementSegments( + $this, + $this->serviceName, + 'segments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/segments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_unsampledReports = new Google_Service_Analytics_Resource_ManagementUnsampledReports( + $this, + $this->serviceName, + 'unsampledReports', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'unsampledReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'unsampledReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_uploads = new Google_Service_Analytics_Resource_ManagementUploads( + $this, + $this->serviceName, + 'uploads', + array( + 'methods' => array( + 'deleteUploadData' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uploadId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'uploadData' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks( + $this, + $this->serviceName, + 'webPropertyAdWordsLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webproperties = new Google_Service_Analytics_Resource_ManagementWebproperties( + $this, + $this->serviceName, + 'webproperties', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webpropertyUserLinks = new Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks( + $this, + $this->serviceName, + 'webpropertyUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->metadata_columns = new Google_Service_Analytics_Resource_MetadataColumns( + $this, + $this->serviceName, + 'columns', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/{reportType}/columns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->provisioning = new Google_Service_Analytics_Resource_Provisioning( + $this, + $this->serviceName, + 'provisioning', + array( + 'methods' => array( + 'createAccountTicket' => array( + 'path' => 'provisioning/createAccountTicket', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php new file mode 100644 index 00000000..a6e19b91 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Account.php @@ -0,0 +1,104 @@ +childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php new file mode 100644 index 00000000..06eba70b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountChildLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php new file mode 100644 index 00000000..f2f34830 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountPermissions.php @@ -0,0 +1,31 @@ +effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php new file mode 100644 index 00000000..b43e14e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountRef.php @@ -0,0 +1,57 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php new file mode 100644 index 00000000..0db22975 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummaries.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php new file mode 100644 index 00000000..bf938539 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountSummary.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setWebProperties($webProperties) + { + $this->webProperties = $webProperties; + } + public function getWebProperties() + { + return $this->webProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php new file mode 100644 index 00000000..97bf502f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AccountTicket.php @@ -0,0 +1,78 @@ +account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfile(Google_Service_Analytics_Profile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setRedirectUri($redirectUri) + { + $this->redirectUri = $redirectUri; + } + public function getRedirectUri() + { + return $this->redirectUri; + } + public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty) + { + $this->webproperty = $webproperty; + } + public function getWebproperty() + { + return $this->webproperty; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php new file mode 100644 index 00000000..1bf59275 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Accounts.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php new file mode 100644 index 00000000..e22d7b6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AdWordsAccount.php @@ -0,0 +1,48 @@ +autoTaggingEnabled = $autoTaggingEnabled; + } + public function getAutoTaggingEnabled() + { + return $this->autoTaggingEnabled; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php new file mode 100644 index 00000000..2bc12a96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/AnalyticsDataimportDeleteUploadDataRequest.php @@ -0,0 +1,31 @@ +customDataImportUids = $customDataImportUids; + } + public function getCustomDataImportUids() + { + return $this->customDataImportUids; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php new file mode 100644 index 00000000..a620de65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Column.php @@ -0,0 +1,48 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php new file mode 100644 index 00000000..1dda1cad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Columns.php @@ -0,0 +1,68 @@ +attributeNames = $attributeNames; + } + public function getAttributeNames() + { + return $this->attributeNames; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php new file mode 100644 index 00000000..cf04ad16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSource.php @@ -0,0 +1,159 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImportBehavior($importBehavior) + { + $this->importBehavior = $importBehavior; + } + public function getImportBehavior() + { + return $this->importBehavior; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfilesLinked($profilesLinked) + { + $this->profilesLinked = $profilesLinked; + } + public function getProfilesLinked() + { + return $this->profilesLinked; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUploadType($uploadType) + { + $this->uploadType = $uploadType; + } + public function getUploadType() + { + return $this->uploadType; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php new file mode 100644 index 00000000..3de24017 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceChildLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php new file mode 100644 index 00000000..812076df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSourceParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php new file mode 100644 index 00000000..b767ee8e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDataSources.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php new file mode 100644 index 00000000..f95183f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimension.php @@ -0,0 +1,130 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php new file mode 100644 index 00000000..d64a579f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensionParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php new file mode 100644 index 00000000..548831d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomDimensions.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php new file mode 100644 index 00000000..9e11209b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetric.php @@ -0,0 +1,161 @@ + "max_value", + "minValue" => "min_value", + ); + public $accountId; + public $active; + public $created; + public $id; + public $index; + public $kind; + public $maxValue; + public $minValue; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink'; + protected $parentLinkDataType = ''; + public $scope; + public $selfLink; + public $type; + public $updated; + public $webPropertyId; + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php new file mode 100644 index 00000000..14f4ea6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetricParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php new file mode 100644 index 00000000..c9758870 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/CustomMetrics.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php new file mode 100644 index 00000000..aae8010f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLink.php @@ -0,0 +1,87 @@ +adWordsAccounts = $adWordsAccounts; + } + public function getAdWordsAccounts() + { + return $this->adWordsAccounts; + } + public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProfileIds($profileIds) + { + $this->profileIds = $profileIds; + } + public function getProfileIds() + { + return $this->profileIds; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php new file mode 100644 index 00000000..e73e2dac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinkEntity.php @@ -0,0 +1,31 @@ +webPropertyRef = $webPropertyRef; + } + public function getWebPropertyRef() + { + return $this->webPropertyRef; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php new file mode 100644 index 00000000..8f93d27a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityAdWordsLinks.php @@ -0,0 +1,86 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php new file mode 100644 index 00000000..6edfa12f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLink.php @@ -0,0 +1,78 @@ +entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUserRef(Google_Service_Analytics_UserRef $userRef) + { + $this->userRef = $userRef; + } + public function getUserRef() + { + return $this->userRef; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php new file mode 100644 index 00000000..acae39c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkEntity.php @@ -0,0 +1,51 @@ +accountRef = $accountRef; + } + public function getAccountRef() + { + return $this->accountRef; + } + public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) + { + $this->profileRef = $profileRef; + } + public function getProfileRef() + { + return $this->profileRef; + } + public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) + { + $this->webPropertyRef = $webPropertyRef; + } + public function getWebPropertyRef() + { + return $this->webPropertyRef; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php new file mode 100644 index 00000000..3222e94a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinkPermissions.php @@ -0,0 +1,40 @@ +effective = $effective; + } + public function getEffective() + { + return $this->effective; + } + public function setLocal($local) + { + $this->local = $local; + } + public function getLocal() + { + return $this->local; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php new file mode 100644 index 00000000..81cbefde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/EntityUserLinks.php @@ -0,0 +1,86 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php new file mode 100644 index 00000000..ef28448e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiment.php @@ -0,0 +1,276 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEditableInGaUi($editableInGaUi) + { + $this->editableInGaUi = $editableInGaUi; + } + public function getEditableInGaUi() + { + return $this->editableInGaUi; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEqualWeighting($equalWeighting) + { + $this->equalWeighting = $equalWeighting; + } + public function getEqualWeighting() + { + return $this->equalWeighting; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays) + { + $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays; + } + public function getMinimumExperimentLengthInDays() + { + return $this->minimumExperimentLengthInDays; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectiveMetric($objectiveMetric) + { + $this->objectiveMetric = $objectiveMetric; + } + public function getObjectiveMetric() + { + return $this->objectiveMetric; + } + public function setOptimizationType($optimizationType) + { + $this->optimizationType = $optimizationType; + } + public function getOptimizationType() + { + return $this->optimizationType; + } + public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setReasonExperimentEnded($reasonExperimentEnded) + { + $this->reasonExperimentEnded = $reasonExperimentEnded; + } + public function getReasonExperimentEnded() + { + return $this->reasonExperimentEnded; + } + public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal) + { + $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal; + } + public function getRewriteVariationUrlsAsOriginal() + { + return $this->rewriteVariationUrlsAsOriginal; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServingFramework($servingFramework) + { + $this->servingFramework = $servingFramework; + } + public function getServingFramework() + { + return $this->servingFramework; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrafficCoverage($trafficCoverage) + { + $this->trafficCoverage = $trafficCoverage; + } + public function getTrafficCoverage() + { + return $this->trafficCoverage; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVariations($variations) + { + $this->variations = $variations; + } + public function getVariations() + { + return $this->variations; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } + public function setWinnerConfidenceLevel($winnerConfidenceLevel) + { + $this->winnerConfidenceLevel = $winnerConfidenceLevel; + } + public function getWinnerConfidenceLevel() + { + return $this->winnerConfidenceLevel; + } + public function setWinnerFound($winnerFound) + { + $this->winnerFound = $winnerFound; + } + public function getWinnerFound() + { + return $this->winnerFound; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php new file mode 100644 index 00000000..bffe8ef6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php new file mode 100644 index 00000000..a5d8128a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ExperimentVariations.php @@ -0,0 +1,66 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } + public function setWon($won) + { + $this->won = $won; + } + public function getWon() + { + return $this->won; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php new file mode 100644 index 00000000..27936f61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Experiments.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php new file mode 100644 index 00000000..3a43445d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filter.php @@ -0,0 +1,163 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails) + { + $this->advancedDetails = $advancedDetails; + } + public function getAdvancedDetails() + { + return $this->advancedDetails; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails) + { + $this->excludeDetails = $excludeDetails; + } + public function getExcludeDetails() + { + return $this->excludeDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails) + { + $this->includeDetails = $includeDetails; + } + public function getIncludeDetails() + { + return $this->includeDetails; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails) + { + $this->lowercaseDetails = $lowercaseDetails; + } + public function getLowercaseDetails() + { + return $this->lowercaseDetails; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails) + { + $this->searchAndReplaceDetails = $searchAndReplaceDetails; + } + public function getSearchAndReplaceDetails() + { + return $this->searchAndReplaceDetails; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails) + { + $this->uppercaseDetails = $uppercaseDetails; + } + public function getUppercaseDetails() + { + return $this->uppercaseDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php new file mode 100644 index 00000000..a7ef11f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterAdvancedDetails.php @@ -0,0 +1,138 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setExtractA($extractA) + { + $this->extractA = $extractA; + } + public function getExtractA() + { + return $this->extractA; + } + public function setExtractB($extractB) + { + $this->extractB = $extractB; + } + public function getExtractB() + { + return $this->extractB; + } + public function setFieldA($fieldA) + { + $this->fieldA = $fieldA; + } + public function getFieldA() + { + return $this->fieldA; + } + public function setFieldAIndex($fieldAIndex) + { + $this->fieldAIndex = $fieldAIndex; + } + public function getFieldAIndex() + { + return $this->fieldAIndex; + } + public function setFieldARequired($fieldARequired) + { + $this->fieldARequired = $fieldARequired; + } + public function getFieldARequired() + { + return $this->fieldARequired; + } + public function setFieldB($fieldB) + { + $this->fieldB = $fieldB; + } + public function getFieldB() + { + return $this->fieldB; + } + public function setFieldBIndex($fieldBIndex) + { + $this->fieldBIndex = $fieldBIndex; + } + public function getFieldBIndex() + { + return $this->fieldBIndex; + } + public function setFieldBRequired($fieldBRequired) + { + $this->fieldBRequired = $fieldBRequired; + } + public function getFieldBRequired() + { + return $this->fieldBRequired; + } + public function setOutputConstructor($outputConstructor) + { + $this->outputConstructor = $outputConstructor; + } + public function getOutputConstructor() + { + return $this->outputConstructor; + } + public function setOutputToField($outputToField) + { + $this->outputToField = $outputToField; + } + public function getOutputToField() + { + return $this->outputToField; + } + public function setOutputToFieldIndex($outputToFieldIndex) + { + $this->outputToFieldIndex = $outputToFieldIndex; + } + public function getOutputToFieldIndex() + { + return $this->outputToFieldIndex; + } + public function setOverrideOutputField($overrideOutputField) + { + $this->overrideOutputField = $overrideOutputField; + } + public function getOverrideOutputField() + { + return $this->overrideOutputField; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php new file mode 100644 index 00000000..2270c654 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterExpression.php @@ -0,0 +1,75 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setExpressionValue($expressionValue) + { + $this->expressionValue = $expressionValue; + } + public function getExpressionValue() + { + return $this->expressionValue; + } + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php new file mode 100644 index 00000000..0e929524 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterLowercaseDetails.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php new file mode 100644 index 00000000..14663d3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php new file mode 100644 index 00000000..1a594e67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterRef.php @@ -0,0 +1,66 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php new file mode 100644 index 00000000..f74cfdab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterSearchAndReplaceDetails.php @@ -0,0 +1,66 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } + public function setReplaceString($replaceString) + { + $this->replaceString = $replaceString; + } + public function getReplaceString() + { + return $this->replaceString; + } + public function setSearchString($searchString) + { + $this->searchString = $searchString; + } + public function getSearchString() + { + return $this->searchString; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php new file mode 100644 index 00000000..41d6c3a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/FilterUppercaseDetails.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php new file mode 100644 index 00000000..4058b930 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Filters.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php new file mode 100644 index 00000000..5b8a9fe2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaData.php @@ -0,0 +1,179 @@ +columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setContainsSampledData($containsSampledData) + { + $this->containsSampledData = $containsSampledData; + } + public function getContainsSampledData() + { + return $this->containsSampledData; + } + public function setDataLastRefreshed($dataLastRefreshed) + { + $this->dataLastRefreshed = $dataLastRefreshed; + } + public function getDataLastRefreshed() + { + return $this->dataLastRefreshed; + } + public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable) + { + $this->dataTable = $dataTable; + } + public function getDataTable() + { + return $this->dataTable; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_GaDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSampleSize($sampleSize) + { + $this->sampleSize = $sampleSize; + } + public function getSampleSize() + { + return $this->sampleSize; + } + public function setSampleSpace($sampleSpace) + { + $this->sampleSpace = $sampleSpace; + } + public function getSampleSpace() + { + return $this->sampleSpace; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php new file mode 100644 index 00000000..4f05a9df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataColumnHeaders.php @@ -0,0 +1,48 @@ +columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php new file mode 100644 index 00000000..8e9b5349 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTable.php @@ -0,0 +1,42 @@ +cols = $cols; + } + public function getCols() + { + return $this->cols; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php new file mode 100644 index 00000000..1c2fdc72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableCols.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php new file mode 100644 index 00000000..409a66c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRows.php @@ -0,0 +1,32 @@ +c = $c; + } + public function getC() + { + return $this->c; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php new file mode 100644 index 00000000..b81f3cc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataDataTableRowsC.php @@ -0,0 +1,30 @@ +v = $v; + } + public function getV() + { + return $this->v; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php new file mode 100644 index 00000000..ca5a9126 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataProfileInfo.php @@ -0,0 +1,75 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php new file mode 100644 index 00000000..811f2929 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GaDataQuery.php @@ -0,0 +1,127 @@ + "end-date", + "maxResults" => "max-results", + "startDate" => "start-date", + "startIndex" => "start-index", + ); + public $dimensions; + public $endDate; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $samplingLevel; + public $segment; + public $sort; + public $startDate; + public $startIndex; + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSamplingLevel($samplingLevel) + { + $this->samplingLevel = $samplingLevel; + } + public function getSamplingLevel() + { + return $this->samplingLevel; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php new file mode 100644 index 00000000..767420ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goal.php @@ -0,0 +1,188 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails) + { + $this->eventDetails = $eventDetails; + } + public function getEventDetails() + { + return $this->eventDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails) + { + $this->urlDestinationDetails = $urlDestinationDetails; + } + public function getUrlDestinationDetails() + { + return $this->urlDestinationDetails; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails) + { + $this->visitNumPagesDetails = $visitNumPagesDetails; + } + public function getVisitNumPagesDetails() + { + return $this->visitNumPagesDetails; + } + public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) + { + $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; + } + public function getVisitTimeOnSiteDetails() + { + return $this->visitTimeOnSiteDetails; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php new file mode 100644 index 00000000..0cd903db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetails.php @@ -0,0 +1,41 @@ +eventConditions = $eventConditions; + } + public function getEventConditions() + { + return $this->eventConditions; + } + public function setUseEventValue($useEventValue) + { + $this->useEventValue = $useEventValue; + } + public function getUseEventValue() + { + return $this->useEventValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php new file mode 100644 index 00000000..6b401eea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalEventDetailsEventConditions.php @@ -0,0 +1,66 @@ +comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php new file mode 100644 index 00000000..54d7d542 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php new file mode 100644 index 00000000..52520879 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetails.php @@ -0,0 +1,68 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setFirstStepRequired($firstStepRequired) + { + $this->firstStepRequired = $firstStepRequired; + } + public function getFirstStepRequired() + { + return $this->firstStepRequired; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php new file mode 100644 index 00000000..812ae53e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalUrlDestinationDetailsSteps.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php new file mode 100644 index 00000000..fc92b56a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitNumPagesDetails.php @@ -0,0 +1,39 @@ +comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php new file mode 100644 index 00000000..0f28a0a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/GoalVisitTimeOnSiteDetails.php @@ -0,0 +1,39 @@ +comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php new file mode 100644 index 00000000..402eb350 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Goals.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php new file mode 100644 index 00000000..11b89c7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/IncludeConditions.php @@ -0,0 +1,66 @@ +daysToLookBack = $daysToLookBack; + } + public function getDaysToLookBack() + { + return $this->daysToLookBack; + } + public function setIsSmartList($isSmartList) + { + $this->isSmartList = $isSmartList; + } + public function getIsSmartList() + { + return $this->isSmartList; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembershipDurationDays($membershipDurationDays) + { + $this->membershipDurationDays = $membershipDurationDays; + } + public function getMembershipDurationDays() + { + return $this->membershipDurationDays; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php new file mode 100644 index 00000000..4863f8a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/LinkedForeignAccount.php @@ -0,0 +1,111 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setEligibleForSearch($eligibleForSearch) + { + $this->eligibleForSearch = $eligibleForSearch; + } + public function getEligibleForSearch() + { + return $this->eligibleForSearch; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLinkedAccountId($linkedAccountId) + { + $this->linkedAccountId = $linkedAccountId; + } + public function getLinkedAccountId() + { + return $this->linkedAccountId; + } + public function setRemarketingAudienceId($remarketingAudienceId) + { + $this->remarketingAudienceId = $remarketingAudienceId; + } + public function getRemarketingAudienceId() + { + return $this->remarketingAudienceId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php new file mode 100644 index 00000000..91bf9d9d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfData.php @@ -0,0 +1,161 @@ +columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setContainsSampledData($containsSampledData) + { + $this->containsSampledData = $containsSampledData; + } + public function getContainsSampledData() + { + return $this->containsSampledData; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_McfDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSampleSize($sampleSize) + { + $this->sampleSize = $sampleSize; + } + public function getSampleSize() + { + return $this->sampleSize; + } + public function setSampleSpace($sampleSpace) + { + $this->sampleSpace = $sampleSpace; + } + public function getSampleSpace() + { + return $this->sampleSpace; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php new file mode 100644 index 00000000..30ef1ddb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataColumnHeaders.php @@ -0,0 +1,48 @@ +columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php new file mode 100644 index 00000000..0dc090c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataProfileInfo.php @@ -0,0 +1,75 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php new file mode 100644 index 00000000..2756e2fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataQuery.php @@ -0,0 +1,127 @@ + "end-date", + "maxResults" => "max-results", + "startDate" => "start-date", + "startIndex" => "start-index", + ); + public $dimensions; + public $endDate; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $samplingLevel; + public $segment; + public $sort; + public $startDate; + public $startIndex; + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSamplingLevel($samplingLevel) + { + $this->samplingLevel = $samplingLevel; + } + public function getSamplingLevel() + { + return $this->samplingLevel; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php new file mode 100644 index 00000000..08bbb95f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRows.php @@ -0,0 +1,41 @@ +conversionPathValue = $conversionPathValue; + } + public function getConversionPathValue() + { + return $this->conversionPathValue; + } + public function setPrimitiveValue($primitiveValue) + { + $this->primitiveValue = $primitiveValue; + } + public function getPrimitiveValue() + { + return $this->primitiveValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php new file mode 100644 index 00000000..69b2ecb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/McfDataRowsConversionPathValue.php @@ -0,0 +1,39 @@ +interactionType = $interactionType; + } + public function getInteractionType() + { + return $this->interactionType; + } + public function setNodeValue($nodeValue) + { + $this->nodeValue = $nodeValue; + } + public function getNodeValue() + { + return $this->nodeValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php new file mode 100644 index 00000000..f92d97b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profile.php @@ -0,0 +1,258 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBotFilteringEnabled($botFilteringEnabled) + { + $this->botFilteringEnabled = $botFilteringEnabled; + } + public function getBotFilteringEnabled() + { + return $this->botFilteringEnabled; + } + public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setDefaultPage($defaultPage) + { + $this->defaultPage = $defaultPage; + } + public function getDefaultPage() + { + return $this->defaultPage; + } + public function setECommerceTracking($eCommerceTracking) + { + $this->eCommerceTracking = $eCommerceTracking; + } + public function getECommerceTracking() + { + return $this->eCommerceTracking; + } + public function setEnhancedECommerceTracking($enhancedECommerceTracking) + { + $this->enhancedECommerceTracking = $enhancedECommerceTracking; + } + public function getEnhancedECommerceTracking() + { + return $this->enhancedECommerceTracking; + } + public function setExcludeQueryParameters($excludeQueryParameters) + { + $this->excludeQueryParameters = $excludeQueryParameters; + } + public function getExcludeQueryParameters() + { + return $this->excludeQueryParameters; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) + { + $this->siteSearchCategoryParameters = $siteSearchCategoryParameters; + } + public function getSiteSearchCategoryParameters() + { + return $this->siteSearchCategoryParameters; + } + public function setSiteSearchQueryParameters($siteSearchQueryParameters) + { + $this->siteSearchQueryParameters = $siteSearchQueryParameters; + } + public function getSiteSearchQueryParameters() + { + return $this->siteSearchQueryParameters; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters) + { + $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters; + } + public function getStripSiteSearchCategoryParameters() + { + return $this->stripSiteSearchCategoryParameters; + } + public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters) + { + $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters; + } + public function getStripSiteSearchQueryParameters() + { + return $this->stripSiteSearchQueryParameters; + } + public function setTimezone($timezone) + { + $this->timezone = $timezone; + } + public function getTimezone() + { + return $this->timezone; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php new file mode 100644 index 00000000..bb18f139 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileChildLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php new file mode 100644 index 00000000..38417464 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLink.php @@ -0,0 +1,77 @@ +filterRef = $filterRef; + } + public function getFilterRef() + { + return $this->filterRef; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) + { + $this->profileRef = $profileRef; + } + public function getProfileRef() + { + return $this->profileRef; + } + public function setRank($rank) + { + $this->rank = $rank; + } + public function getRank() + { + return $this->rank; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php new file mode 100644 index 00000000..6ba55aa8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileFilterLinks.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php new file mode 100644 index 00000000..cedcf497 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php new file mode 100644 index 00000000..fbbea20a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfilePermissions.php @@ -0,0 +1,31 @@ +effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php new file mode 100644 index 00000000..a32f66d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileRef.php @@ -0,0 +1,84 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php new file mode 100644 index 00000000..abec3351 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/ProfileSummary.php @@ -0,0 +1,66 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php new file mode 100644 index 00000000..704d5907 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Profiles.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php new file mode 100644 index 00000000..865a95e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeData.php @@ -0,0 +1,106 @@ +columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php new file mode 100644 index 00000000..661fdf66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataColumnHeaders.php @@ -0,0 +1,48 @@ +columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php new file mode 100644 index 00000000..2bca3e7d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataProfileInfo.php @@ -0,0 +1,75 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php new file mode 100644 index 00000000..b91009a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RealtimeDataQuery.php @@ -0,0 +1,79 @@ + "max-results", + ); + public $dimensions; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $sort; + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php new file mode 100644 index 00000000..b960417f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudience.php @@ -0,0 +1,151 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAudienceDefinition(Google_Service_Analytics_RemarketingAudienceAudienceDefinition $audienceDefinition) + { + $this->audienceDefinition = $audienceDefinition; + } + public function getAudienceDefinition() + { + return $this->audienceDefinition; + } + public function setAudienceType($audienceType) + { + $this->audienceType = $audienceType; + } + public function getAudienceType() + { + return $this->audienceType; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLinkedAdAccounts($linkedAdAccounts) + { + $this->linkedAdAccounts = $linkedAdAccounts; + } + public function getLinkedAdAccounts() + { + return $this->linkedAdAccounts; + } + public function setLinkedViews($linkedViews) + { + $this->linkedViews = $linkedViews; + } + public function getLinkedViews() + { + return $this->linkedViews; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStateBasedAudienceDefinition(Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition $stateBasedAudienceDefinition) + { + $this->stateBasedAudienceDefinition = $stateBasedAudienceDefinition; + } + public function getStateBasedAudienceDefinition() + { + return $this->stateBasedAudienceDefinition; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php new file mode 100644 index 00000000..0069e8c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceAudienceDefinition.php @@ -0,0 +1,31 @@ +includeConditions = $includeConditions; + } + public function getIncludeConditions() + { + return $this->includeConditions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php new file mode 100644 index 00000000..3417d286 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php @@ -0,0 +1,41 @@ +excludeConditions = $excludeConditions; + } + public function getExcludeConditions() + { + return $this->excludeConditions; + } + public function setIncludeConditions(Google_Service_Analytics_IncludeConditions $includeConditions) + { + $this->includeConditions = $includeConditions; + } + public function getIncludeConditions() + { + return $this->includeConditions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php new file mode 100644 index 00000000..f12f3f0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php @@ -0,0 +1,39 @@ +exclusionDuration = $exclusionDuration; + } + public function getExclusionDuration() + { + return $this->exclusionDuration; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php new file mode 100644 index 00000000..cfabe4da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/RemarketingAudiences.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php new file mode 100644 index 00000000..f2552067 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Data.php @@ -0,0 +1,28 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $data = $analyticsService->data; + * + */ +class Google_Service_Analytics_Resource_Data extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php new file mode 100644 index 00000000..269f6960 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataGa.php @@ -0,0 +1,67 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $ga = $analyticsService->ga; + * + */ +class Google_Service_Analytics_Resource_DataGa extends Google_Service_Resource +{ + /** + * Returns Analytics data for a view (profile). (ga.get) + * + * @param string $ids Unique table ID for retrieving Analytics data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $startDate Start date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $endDate End date for fetching Analytics data. Request can + * should specify an end date formatted as YYYY-MM-DD, or as a relative date + * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday. + * @param string $metrics A comma-separated list of Analytics metrics. E.g., + * 'ga:sessions,ga:pageviews'. At least one metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param string dimensions A comma-separated list of Analytics dimensions. + * E.g., 'ga:browser,ga:city'. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to Analytics data. + * @opt_param bool include-empty-rows The response will include empty rows if + * this parameter is set to true, the default is true + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string output The selected format for the response. Default format + * is JSON. + * @opt_param string samplingLevel The desired sampling level. + * @opt_param string segment An Analytics segment to be applied to data. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for Analytics data. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_GaData + */ + public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_GaData"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php new file mode 100644 index 00000000..6a5e1685 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataMcf.php @@ -0,0 +1,63 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $mcf = $analyticsService->mcf; + * + */ +class Google_Service_Analytics_Resource_DataMcf extends Google_Service_Resource +{ + /** + * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get) + * + * @param string $ids Unique table ID for retrieving Analytics data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $startDate Start date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $endDate End date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $metrics A comma-separated list of Multi-Channel Funnels + * metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one + * metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels + * dimensions. E.g., 'mcf:source,mcf:medium'. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to the Analytics data. + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string samplingLevel The desired sampling level. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for the Analytics data. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_McfData + */ + public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_McfData"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php new file mode 100644 index 00000000..4ea551d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/DataRealtime.php @@ -0,0 +1,53 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $realtime = $analyticsService->realtime; + * + */ +class Google_Service_Analytics_Resource_DataRealtime extends Google_Service_Resource +{ + /** + * Returns real time data for a view (profile). (realtime.get) + * + * @param string $ids Unique table ID for retrieving real time data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $metrics A comma-separated list of real time metrics. E.g., + * 'rt:activeUsers'. At least one metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param string dimensions A comma-separated list of real time dimensions. + * E.g., 'rt:medium,rt:city'. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to real time data. + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for real time data. + * @return Google_Service_Analytics_RealtimeData + */ + public function get($ids, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php new file mode 100644 index 00000000..66c2905d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Management.php @@ -0,0 +1,28 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $management = $analyticsService->management; + * + */ +class Google_Service_Analytics_Resource_Management extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php new file mode 100644 index 00000000..cfb29396 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountSummaries.php @@ -0,0 +1,47 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $accountSummaries = $analyticsService->accountSummaries; + * + */ +class Google_Service_Analytics_Resource_ManagementAccountSummaries extends Google_Service_Resource +{ + /** + * Lists account summaries (lightweight tree comprised of + * accounts/properties/profiles) to which the user has access. + * (accountSummaries.listManagementAccountSummaries) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of account summaries to include + * in this response, where the largest acceptable value is 1000. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_AccountSummaries + */ + public function listManagementAccountSummaries($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php new file mode 100644 index 00000000..12baeda4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccountUserLinks.php @@ -0,0 +1,91 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $accountUserLinks = $analyticsService->accountUserLinks; + * + */ +class Google_Service_Analytics_Resource_ManagementAccountUserLinks extends Google_Service_Resource +{ + /** + * Removes a user from the given account. (accountUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a new user to the given account. (accountUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + /** + * Lists account-user links for a given account. + * (accountUserLinks.listManagementAccountUserLinks) + * + * @param string $accountId Account ID to retrieve the user links for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of account-user links to + * include in this response. + * @opt_param int start-index An index of the first account-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementAccountUserLinks($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + /** + * Updates permissions for an existing user on the given account. + * (accountUserLinks.update) + * + * @param string $accountId Account ID to update the account-user link for. + * @param string $linkId Link ID to update the account-user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php new file mode 100644 index 00000000..9a6a1daa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementAccounts.php @@ -0,0 +1,47 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $accounts = $analyticsService->accounts; + * + */ +class Google_Service_Analytics_Resource_ManagementAccounts extends Google_Service_Resource +{ + /** + * Lists all accounts to which the user has access. + * (accounts.listManagementAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of accounts to include in this + * response. + * @opt_param int start-index An index of the first account to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Accounts + */ + public function listManagementAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Accounts"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php new file mode 100644 index 00000000..d45ba9ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDataSources.php @@ -0,0 +1,50 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $customDataSources = $analyticsService->customDataSources; + * + */ +class Google_Service_Analytics_Resource_ManagementCustomDataSources extends Google_Service_Resource +{ + /** + * List custom data sources to which the user has access. + * (customDataSources.listManagementCustomDataSources) + * + * @param string $accountId Account Id for the custom data sources to retrieve. + * @param string $webPropertyId Web property Id for the custom data sources to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom data sources to + * include in this response. + * @opt_param int start-index A 1-based index of the first custom data source to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_CustomDataSources + */ + public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php new file mode 100644 index 00000000..bb430adb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomDimensions.php @@ -0,0 +1,126 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $customDimensions = $analyticsService->customDimensions; + * + */ +class Google_Service_Analytics_Resource_ManagementCustomDimensions extends Google_Service_Resource +{ + /** + * Get a custom dimension to which the user has access. (customDimensions.get) + * + * @param string $accountId Account ID for the custom dimension to retrieve. + * @param string $webPropertyId Web property ID for the custom dimension to + * retrieve. + * @param string $customDimensionId The ID of the custom dimension to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomDimension + */ + public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension"); + } + /** + * Create a new custom dimension. (customDimensions.insert) + * + * @param string $accountId Account ID for the custom dimension to create. + * @param string $webPropertyId Web property ID for the custom dimension to + * create. + * @param Google_Service_Analytics_CustomDimension $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomDimension + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension"); + } + /** + * Lists custom dimensions to which the user has access. + * (customDimensions.listManagementCustomDimensions) + * + * @param string $accountId Account ID for the custom dimensions to retrieve. + * @param string $webPropertyId Web property ID for the custom dimensions to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom dimensions to include + * in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_CustomDimensions + */ + public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions"); + } + /** + * Updates an existing custom dimension. This method supports patch semantics. + * (customDimensions.patch) + * + * @param string $accountId Account ID for the custom dimension to update. + * @param string $webPropertyId Web property ID for the custom dimension to + * update. + * @param string $customDimensionId Custom dimension ID for the custom dimension + * to update. + * @param Google_Service_Analytics_CustomDimension $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom dimension being linked to a custom data source + * / data set. + * @return Google_Service_Analytics_CustomDimension + */ + public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension"); + } + /** + * Updates an existing custom dimension. (customDimensions.update) + * + * @param string $accountId Account ID for the custom dimension to update. + * @param string $webPropertyId Web property ID for the custom dimension to + * update. + * @param string $customDimensionId Custom dimension ID for the custom dimension + * to update. + * @param Google_Service_Analytics_CustomDimension $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom dimension being linked to a custom data source + * / data set. + * @return Google_Service_Analytics_CustomDimension + */ + public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php new file mode 100644 index 00000000..3186f63c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementCustomMetrics.php @@ -0,0 +1,124 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $customMetrics = $analyticsService->customMetrics; + * + */ +class Google_Service_Analytics_Resource_ManagementCustomMetrics extends Google_Service_Resource +{ + /** + * Get a custom metric to which the user has access. (customMetrics.get) + * + * @param string $accountId Account ID for the custom metric to retrieve. + * @param string $webPropertyId Web property ID for the custom metric to + * retrieve. + * @param string $customMetricId The ID of the custom metric to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomMetric + */ + public function get($accountId, $webPropertyId, $customMetricId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric"); + } + /** + * Create a new custom metric. (customMetrics.insert) + * + * @param string $accountId Account ID for the custom metric to create. + * @param string $webPropertyId Web property ID for the custom dimension to + * create. + * @param Google_Service_Analytics_CustomMetric $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomMetric + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric"); + } + /** + * Lists custom metrics to which the user has access. + * (customMetrics.listManagementCustomMetrics) + * + * @param string $accountId Account ID for the custom metrics to retrieve. + * @param string $webPropertyId Web property ID for the custom metrics to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom metrics to include in + * this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_CustomMetrics + */ + public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics"); + } + /** + * Updates an existing custom metric. This method supports patch semantics. + * (customMetrics.patch) + * + * @param string $accountId Account ID for the custom metric to update. + * @param string $webPropertyId Web property ID for the custom metric to update. + * @param string $customMetricId Custom metric ID for the custom metric to + * update. + * @param Google_Service_Analytics_CustomMetric $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom metric being linked to a custom data source / + * data set. + * @return Google_Service_Analytics_CustomMetric + */ + public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric"); + } + /** + * Updates an existing custom metric. (customMetrics.update) + * + * @param string $accountId Account ID for the custom metric to update. + * @param string $webPropertyId Web property ID for the custom metric to update. + * @param string $customMetricId Custom metric ID for the custom metric to + * update. + * @param Google_Service_Analytics_CustomMetric $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom metric being linked to a custom data source / + * data set. + * @return Google_Service_Analytics_CustomMetric + */ + public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php new file mode 100644 index 00000000..24053c7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementExperiments.php @@ -0,0 +1,132 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $experiments = $analyticsService->experiments; + * + */ +class Google_Service_Analytics_Resource_ManagementExperiments extends Google_Service_Resource +{ + /** + * Delete an experiment. (experiments.delete) + * + * @param string $accountId Account ID to which the experiment belongs + * @param string $webPropertyId Web property ID to which the experiment belongs + * @param string $profileId View (Profile) ID to which the experiment belongs + * @param string $experimentId ID of the experiment to delete + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns an experiment to which the user has access. (experiments.get) + * + * @param string $accountId Account ID to retrieve the experiment for. + * @param string $webPropertyId Web property ID to retrieve the experiment for. + * @param string $profileId View (Profile) ID to retrieve the experiment for. + * @param string $experimentId Experiment ID to retrieve the experiment for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Experiment"); + } + /** + * Create a new experiment. (experiments.insert) + * + * @param string $accountId Account ID to create the experiment for. + * @param string $webPropertyId Web property ID to create the experiment for. + * @param string $profileId View (Profile) ID to create the experiment for. + * @param Google_Service_Analytics_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Experiment"); + } + /** + * Lists experiments to which the user has access. + * (experiments.listManagementExperiments) + * + * @param string $accountId Account ID to retrieve experiments for. + * @param string $webPropertyId Web property ID to retrieve experiments for. + * @param string $profileId View (Profile) ID to retrieve experiments for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of experiments to include in + * this response. + * @opt_param int start-index An index of the first experiment to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Experiments + */ + public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Experiments"); + } + /** + * Update an existing experiment. This method supports patch semantics. + * (experiments.patch) + * + * @param string $accountId Account ID of the experiment to update. + * @param string $webPropertyId Web property ID of the experiment to update. + * @param string $profileId View (Profile) ID of the experiment to update. + * @param string $experimentId Experiment ID of the experiment to update. + * @param Google_Service_Analytics_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Experiment"); + } + /** + * Update an existing experiment. (experiments.update) + * + * @param string $accountId Account ID of the experiment to update. + * @param string $webPropertyId Web property ID of the experiment to update. + * @param string $profileId View (Profile) ID of the experiment to update. + * @param string $experimentId Experiment ID of the experiment to update. + * @param Google_Service_Analytics_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Experiment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php new file mode 100644 index 00000000..cc0355bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementFilters.php @@ -0,0 +1,119 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $filters = $analyticsService->filters; + * + */ +class Google_Service_Analytics_Resource_ManagementFilters extends Google_Service_Resource +{ + /** + * Delete a filter. (filters.delete) + * + * @param string $accountId Account ID to delete the filter for. + * @param string $filterId ID of the filter to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function delete($accountId, $filterId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Analytics_Filter"); + } + /** + * Returns a filters to which the user has access. (filters.get) + * + * @param string $accountId Account ID to retrieve filters for. + * @param string $filterId Filter ID to retrieve filters for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function get($accountId, $filterId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Filter"); + } + /** + * Create a new filter. (filters.insert) + * + * @param string $accountId Account ID to create filter for. + * @param Google_Service_Analytics_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Filter"); + } + /** + * Lists all filters for an account (filters.listManagementFilters) + * + * @param string $accountId Account ID to retrieve filters for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of filters to include in this + * response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Filters + */ + public function listManagementFilters($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Filters"); + } + /** + * Updates an existing filter. This method supports patch semantics. + * (filters.patch) + * + * @param string $accountId Account ID to which the filter belongs. + * @param string $filterId ID of the filter to be updated. + * @param Google_Service_Analytics_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Filter"); + } + /** + * Updates an existing filter. (filters.update) + * + * @param string $accountId Account ID to which the filter belongs. + * @param string $filterId ID of the filter to be updated. + * @param Google_Service_Analytics_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Filter"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php new file mode 100644 index 00000000..0943b5c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementGoals.php @@ -0,0 +1,120 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $goals = $analyticsService->goals; + * + */ +class Google_Service_Analytics_Resource_ManagementGoals extends Google_Service_Resource +{ + /** + * Gets a goal to which the user has access. (goals.get) + * + * @param string $accountId Account ID to retrieve the goal for. + * @param string $webPropertyId Web property ID to retrieve the goal for. + * @param string $profileId View (Profile) ID to retrieve the goal for. + * @param string $goalId Goal ID to retrieve the goal for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Goal"); + } + /** + * Create a new goal. (goals.insert) + * + * @param string $accountId Account ID to create the goal for. + * @param string $webPropertyId Web property ID to create the goal for. + * @param string $profileId View (Profile) ID to create the goal for. + * @param Google_Service_Analytics_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Goal"); + } + /** + * Lists goals to which the user has access. (goals.listManagementGoals) + * + * @param string $accountId Account ID to retrieve goals for. Can either be a + * specific account ID or '~all', which refers to all the accounts that user has + * access to. + * @param string $webPropertyId Web property ID to retrieve goals for. Can + * either be a specific web property ID or '~all', which refers to all the web + * properties that user has access to. + * @param string $profileId View (Profile) ID to retrieve goals for. Can either + * be a specific view (profile) ID or '~all', which refers to all the views + * (profiles) that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of goals to include in this + * response. + * @opt_param int start-index An index of the first goal to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Goals + */ + public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Goals"); + } + /** + * Updates an existing goal. This method supports patch semantics. (goals.patch) + * + * @param string $accountId Account ID to update the goal. + * @param string $webPropertyId Web property ID to update the goal. + * @param string $profileId View (Profile) ID to update the goal. + * @param string $goalId Index of the goal to be updated. + * @param Google_Service_Analytics_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Goal"); + } + /** + * Updates an existing goal. (goals.update) + * + * @param string $accountId Account ID to update the goal. + * @param string $webPropertyId Web property ID to update the goal. + * @param string $profileId View (Profile) ID to update the goal. + * @param string $goalId Index of the goal to be updated. + * @param Google_Service_Analytics_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Goal"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php new file mode 100644 index 00000000..acb6f7e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileFilterLinks.php @@ -0,0 +1,140 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $profileFilterLinks = $analyticsService->profileFilterLinks; + * + */ +class Google_Service_Analytics_Resource_ManagementProfileFilterLinks extends Google_Service_Resource +{ + /** + * Delete a profile filter link. (profileFilterLinks.delete) + * + * @param string $accountId Account ID to which the profile filter link belongs. + * @param string $webPropertyId Web property Id to which the profile filter link + * belongs. + * @param string $profileId Profile ID to which the filter link belongs. + * @param string $linkId ID of the profile filter link to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns a single profile filter link. (profileFilterLinks.get) + * + * @param string $accountId Account ID to retrieve profile filter link for. + * @param string $webPropertyId Web property Id to retrieve profile filter link + * for. + * @param string $profileId Profile ID to retrieve filter link for. + * @param string $linkId ID of the profile filter link. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + /** + * Create a new profile filter link. (profileFilterLinks.insert) + * + * @param string $accountId Account ID to create profile filter link for. + * @param string $webPropertyId Web property Id to create profile filter link + * for. + * @param string $profileId Profile ID to create filter link for. + * @param Google_Service_Analytics_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + /** + * Lists all profile filter links for a profile. + * (profileFilterLinks.listManagementProfileFilterLinks) + * + * @param string $accountId Account ID to retrieve profile filter links for. + * @param string $webPropertyId Web property Id for profile filter links for. + * Can either be a specific web property ID or '~all', which refers to all the + * web properties that user has access to. + * @param string $profileId Profile ID to retrieve filter links for. Can either + * be a specific profile ID or '~all', which refers to all the profiles that + * user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of profile filter links to + * include in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_ProfileFilterLinks + */ + public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks"); + } + /** + * Update an existing profile filter link. This method supports patch semantics. + * (profileFilterLinks.patch) + * + * @param string $accountId Account ID to which profile filter link belongs. + * @param string $webPropertyId Web property Id to which profile filter link + * belongs + * @param string $profileId Profile ID to which filter link belongs + * @param string $linkId ID of the profile filter link to be updated. + * @param Google_Service_Analytics_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + /** + * Update an existing profile filter link. (profileFilterLinks.update) + * + * @param string $accountId Account ID to which profile filter link belongs. + * @param string $webPropertyId Web property Id to which profile filter link + * belongs + * @param string $profileId Profile ID to which filter link belongs + * @param string $linkId ID of the profile filter link to be updated. + * @param Google_Service_Analytics_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php new file mode 100644 index 00000000..97d6a097 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfileUserLinks.php @@ -0,0 +1,104 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $profileUserLinks = $analyticsService->profileUserLinks; + * + */ +class Google_Service_Analytics_Resource_ManagementProfileUserLinks extends Google_Service_Resource +{ + /** + * Removes a user from the given view (profile). (profileUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $webPropertyId Web Property ID to delete the user link for. + * @param string $profileId View (Profile) ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a new user to the given view (profile). (profileUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param string $webPropertyId Web Property ID to create the user link for. + * @param string $profileId View (Profile) ID to create the user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + /** + * Lists profile-user links for a given view (profile). + * (profileUserLinks.listManagementProfileUserLinks) + * + * @param string $accountId Account ID which the given view (profile) belongs + * to. + * @param string $webPropertyId Web Property ID which the given view (profile) + * belongs to. Can either be a specific web property ID or '~all', which refers + * to all the web properties that user has access to. + * @param string $profileId View (Profile) ID to retrieve the profile-user links + * for. Can either be a specific profile ID or '~all', which refers to all the + * profiles that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of profile-user links to + * include in this response. + * @opt_param int start-index An index of the first profile-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + /** + * Updates permissions for an existing user on the given view (profile). + * (profileUserLinks.update) + * + * @param string $accountId Account ID to update the user link for. + * @param string $webPropertyId Web Property ID to update the user link for. + * @param string $profileId View (Profile ID) to update the user link for. + * @param string $linkId Link ID to update the user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php new file mode 100644 index 00000000..a72f0bcd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementProfiles.php @@ -0,0 +1,135 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $profiles = $analyticsService->profiles; + * + */ +class Google_Service_Analytics_Resource_ManagementProfiles extends Google_Service_Resource +{ + /** + * Deletes a view (profile). (profiles.delete) + * + * @param string $accountId Account ID to delete the view (profile) for. + * @param string $webPropertyId Web property ID to delete the view (profile) + * for. + * @param string $profileId ID of the view (profile) to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a view (profile) to which the user has access. (profiles.get) + * + * @param string $accountId Account ID to retrieve the view (profile) for. + * @param string $webPropertyId Web property ID to retrieve the view (profile) + * for. + * @param string $profileId View (Profile) ID to retrieve the view (profile) + * for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function get($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Profile"); + } + /** + * Create a new view (profile). (profiles.insert) + * + * @param string $accountId Account ID to create the view (profile) for. + * @param string $webPropertyId Web property ID to create the view (profile) + * for. + * @param Google_Service_Analytics_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Profile"); + } + /** + * Lists views (profiles) to which the user has access. + * (profiles.listManagementProfiles) + * + * @param string $accountId Account ID for the view (profiles) to retrieve. Can + * either be a specific account ID or '~all', which refers to all the accounts + * to which the user has access. + * @param string $webPropertyId Web property ID for the views (profiles) to + * retrieve. Can either be a specific web property ID or '~all', which refers to + * all the web properties to which the user has access. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of views (profiles) to include + * in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Profiles + */ + public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Profiles"); + } + /** + * Updates an existing view (profile). This method supports patch semantics. + * (profiles.patch) + * + * @param string $accountId Account ID to which the view (profile) belongs + * @param string $webPropertyId Web property ID to which the view (profile) + * belongs + * @param string $profileId ID of the view (profile) to be updated. + * @param Google_Service_Analytics_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Profile"); + } + /** + * Updates an existing view (profile). (profiles.update) + * + * @param string $accountId Account ID to which the view (profile) belongs + * @param string $webPropertyId Web property ID to which the view (profile) + * belongs + * @param string $profileId ID of the view (profile) to be updated. + * @param Google_Service_Analytics_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Profile"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php new file mode 100644 index 00000000..ad23bb92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementRemarketingAudience.php @@ -0,0 +1,126 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $remarketingAudience = $analyticsService->remarketingAudience; + * + */ +class Google_Service_Analytics_Resource_ManagementRemarketingAudience extends Google_Service_Resource +{ + /** + * Gets a remarketing audience to which the user has access. + * (remarketingAudience.get) + * + * @param string $accountId The account ID of the remarketing audience to + * retrieve. + * @param string $webPropertyId The web property ID of the remarketing audience + * to retrieve. + * @param string $remarketingAudienceId The ID of the remarketing audience to + * retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_RemarketingAudience + */ + public function get($accountId, $webPropertyId, $remarketingAudienceId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_RemarketingAudience"); + } + /** + * Creates a new remarketing audience. (remarketingAudience.insert) + * + * @param string $accountId The account ID for which to create the remarketing + * audience. + * @param string $webPropertyId Web property ID for which to create the + * remarketing audience. + * @param Google_Service_Analytics_RemarketingAudience $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_RemarketingAudience + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_RemarketingAudience"); + } + /** + * Lists remarketing audiences to which the user has access. + * (remarketingAudience.listManagementRemarketingAudience) + * + * @param string $accountId The account ID of the remarketing audiences to + * retrieve. + * @param string $webPropertyId The web property ID of the remarketing audiences + * to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of remarketing audiences to + * include in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @opt_param string type + * @return Google_Service_Analytics_RemarketingAudiences + */ + public function listManagementRemarketingAudience($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_RemarketingAudiences"); + } + /** + * Updates an existing remarketing audience. This method supports patch + * semantics. (remarketingAudience.patch) + * + * @param string $accountId The account ID of the remarketing audience to + * update. + * @param string $webPropertyId The web property ID of the remarketing audience + * to update. + * @param string $remarketingAudienceId The ID of the remarketing audience to + * update. + * @param Google_Service_Analytics_RemarketingAudience $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_RemarketingAudience + */ + public function patch($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_RemarketingAudience"); + } + /** + * Updates an existing remarketing audience. (remarketingAudience.update) + * + * @param string $accountId The account ID of the remarketing audience to + * update. + * @param string $webPropertyId The web property ID of the remarketing audience + * to update. + * @param string $remarketingAudienceId The ID of the remarketing audience to + * update. + * @param Google_Service_Analytics_RemarketingAudience $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_RemarketingAudience + */ + public function update($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_RemarketingAudience"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php new file mode 100644 index 00000000..b3925a82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementSegments.php @@ -0,0 +1,47 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $segments = $analyticsService->segments; + * + */ +class Google_Service_Analytics_Resource_ManagementSegments extends Google_Service_Resource +{ + /** + * Lists segments to which the user has access. + * (segments.listManagementSegments) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of segments to include in this + * response. + * @opt_param int start-index An index of the first segment to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Segments + */ + public function listManagementSegments($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Segments"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php new file mode 100644 index 00000000..ce2bd67a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUnsampledReports.php @@ -0,0 +1,105 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $unsampledReports = $analyticsService->unsampledReports; + * + */ +class Google_Service_Analytics_Resource_ManagementUnsampledReports extends Google_Service_Resource +{ + /** + * Deletes an unsampled report. (unsampledReports.delete) + * + * @param string $accountId Account ID to delete the unsampled report for. + * @param string $webPropertyId Web property ID to delete the unsampled reports + * for. + * @param string $profileId View (Profile) ID to delete the unsampled report + * for. + * @param string $unsampledReportId ID of the unsampled report to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns a single unsampled report. (unsampledReports.get) + * + * @param string $accountId Account ID to retrieve unsampled report for. + * @param string $webPropertyId Web property ID to retrieve unsampled reports + * for. + * @param string $profileId View (Profile) ID to retrieve unsampled report for. + * @param string $unsampledReportId ID of the unsampled report to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_UnsampledReport + */ + public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport"); + } + /** + * Create a new unsampled report. (unsampledReports.insert) + * + * @param string $accountId Account ID to create the unsampled report for. + * @param string $webPropertyId Web property ID to create the unsampled report + * for. + * @param string $profileId View (Profile) ID to create the unsampled report + * for. + * @param Google_Service_Analytics_UnsampledReport $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_UnsampledReport + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport"); + } + /** + * Lists unsampled reports to which the user has access. + * (unsampledReports.listManagementUnsampledReports) + * + * @param string $accountId Account ID to retrieve unsampled reports for. Must + * be a specific account ID, ~all is not supported. + * @param string $webPropertyId Web property ID to retrieve unsampled reports + * for. Must be a specific web property ID, ~all is not supported. + * @param string $profileId View (Profile) ID to retrieve unsampled reports for. + * Must be a specific view (profile) ID, ~all is not supported. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of unsampled reports to include + * in this response. + * @opt_param int start-index An index of the first unsampled report to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_UnsampledReports + */ + public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php new file mode 100644 index 00000000..b6b77011 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementUploads.php @@ -0,0 +1,100 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $uploads = $analyticsService->uploads; + * + */ +class Google_Service_Analytics_Resource_ManagementUploads extends Google_Service_Resource +{ + /** + * Delete data associated with a previous upload. (uploads.deleteUploadData) + * + * @param string $accountId Account Id for the uploads to be deleted. + * @param string $webPropertyId Web property Id for the uploads to be deleted. + * @param string $customDataSourceId Custom data source Id for the uploads to be + * deleted. + * @param Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody + * @param array $optParams Optional parameters. + */ + public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteUploadData', array($params)); + } + /** + * List uploads to which the user has access. (uploads.get) + * + * @param string $accountId Account Id for the upload to retrieve. + * @param string $webPropertyId Web property Id for the upload to retrieve. + * @param string $customDataSourceId Custom data source Id for upload to + * retrieve. + * @param string $uploadId Upload Id to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Upload + */ + public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Upload"); + } + /** + * List uploads to which the user has access. (uploads.listManagementUploads) + * + * @param string $accountId Account Id for the uploads to retrieve. + * @param string $webPropertyId Web property Id for the uploads to retrieve. + * @param string $customDataSourceId Custom data source Id for uploads to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of uploads to include in this + * response. + * @opt_param int start-index A 1-based index of the first upload to retrieve. + * Use this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Uploads + */ + public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Uploads"); + } + /** + * Upload data for a custom data source. (uploads.uploadData) + * + * @param string $accountId Account Id associated with the upload. + * @param string $webPropertyId Web property UA-string associated with the + * upload. + * @param string $customDataSourceId Custom data source Id to which the data + * being uploaded belongs. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Upload + */ + public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); + $params = array_merge($params, $optParams); + return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php new file mode 100644 index 00000000..12ce084c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php @@ -0,0 +1,138 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks; + * + */ +class Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks extends Google_Service_Resource +{ + /** + * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to delete the AdWords link for. + * @param string $webPropertyAdWordsLinkId Web property AdWords link ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns a web property-AdWords link to which the user has access. + * (webPropertyAdWordsLinks.get) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + /** + * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert) + * + * @param string $accountId ID of the Google Analytics account to create the + * link for. + * @param string $webPropertyId Web property ID to create the link for. + * @param Google_Service_Analytics_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + /** + * Lists webProperty-AdWords links for a given web property. + * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords links + * for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of webProperty-AdWords links to + * include in this response. + * @opt_param int start-index An index of the first webProperty-AdWords link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityAdWordsLinks + */ + public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks"); + } + /** + * Updates an existing webProperty-AdWords link. This method supports patch + * semantics. (webPropertyAdWordsLinks.patch) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param Google_Service_Analytics_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + /** + * Updates an existing webProperty-AdWords link. + * (webPropertyAdWordsLinks.update) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param Google_Service_Analytics_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php new file mode 100644 index 00000000..272b0e66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebproperties.php @@ -0,0 +1,110 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $webproperties = $analyticsService->webproperties; + * + */ +class Google_Service_Analytics_Resource_ManagementWebproperties extends Google_Service_Resource +{ + /** + * Gets a web property to which the user has access. (webproperties.get) + * + * @param string $accountId Account ID to retrieve the web property for. + * @param string $webPropertyId ID to retrieve the web property for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function get($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Webproperty"); + } + /** + * Create a new property if the account has fewer than 20 properties. Web + * properties are visible in the Google Analytics interface only if they have at + * least one profile. (webproperties.insert) + * + * @param string $accountId Account ID to create the web property for. + * @param Google_Service_Analytics_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty"); + } + /** + * Lists web properties to which the user has access. + * (webproperties.listManagementWebproperties) + * + * @param string $accountId Account ID to retrieve web properties for. Can + * either be a specific account ID or '~all', which refers to all the accounts + * that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of web properties to include in + * this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Webproperties + */ + public function listManagementWebproperties($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Webproperties"); + } + /** + * Updates an existing web property. This method supports patch semantics. + * (webproperties.patch) + * + * @param string $accountId Account ID to which the web property belongs + * @param string $webPropertyId Web property ID + * @param Google_Service_Analytics_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty"); + } + /** + * Updates an existing web property. (webproperties.update) + * + * @param string $accountId Account ID to which the web property belongs + * @param string $webPropertyId Web property ID + * @param Google_Service_Analytics_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Webproperty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php new file mode 100644 index 00000000..a0f42a88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/ManagementWebpropertyUserLinks.php @@ -0,0 +1,98 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks; + * + */ +class Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks extends Google_Service_Resource +{ + /** + * Removes a user from the given web property. (webpropertyUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $webPropertyId Web Property ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a new user to the given web property. (webpropertyUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param string $webPropertyId Web Property ID to create the user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + /** + * Lists webProperty-user links for a given web property. + * (webpropertyUserLinks.listManagementWebpropertyUserLinks) + * + * @param string $accountId Account ID which the given web property belongs to. + * @param string $webPropertyId Web Property ID for the webProperty-user links + * to retrieve. Can either be a specific web property ID or '~all', which refers + * to all the web properties that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of webProperty-user Links to + * include in this response. + * @opt_param int start-index An index of the first webProperty-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + /** + * Updates permissions for an existing user on the given web property. + * (webpropertyUserLinks.update) + * + * @param string $accountId Account ID to update the account-user link for. + * @param string $webPropertyId Web property ID to update the account-user link + * for. + * @param string $linkId Link ID to update the account-user link for. + * @param Google_Service_Analytics_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php new file mode 100644 index 00000000..81421fe5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Metadata.php @@ -0,0 +1,28 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $metadata = $analyticsService->metadata; + * + */ +class Google_Service_Analytics_Resource_Metadata extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php new file mode 100644 index 00000000..3574a0d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/MetadataColumns.php @@ -0,0 +1,42 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $columns = $analyticsService->columns; + * + */ +class Google_Service_Analytics_Resource_MetadataColumns extends Google_Service_Resource +{ + /** + * Lists all columns for a report type (columns.listMetadataColumns) + * + * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' + * corresponds to the Core Reporting API + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Columns + */ + public function listMetadataColumns($reportType, $optParams = array()) + { + $params = array('reportType' => $reportType); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Columns"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php new file mode 100644 index 00000000..b3829ff8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Resource/Provisioning.php @@ -0,0 +1,41 @@ + + * $analyticsService = new Google_Service_Analytics(...); + * $provisioning = $analyticsService->provisioning; + * + */ +class Google_Service_Analytics_Resource_Provisioning extends Google_Service_Resource +{ + /** + * Creates an account ticket. (provisioning.createAccountTicket) + * + * @param Google_Service_Analytics_AccountTicket $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_AccountTicket + */ + public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php new file mode 100644 index 00000000..0e3caa2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segment.php @@ -0,0 +1,102 @@ +created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDefinition($definition) + { + $this->definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSegmentId($segmentId) + { + $this->segmentId = $segmentId; + } + public function getSegmentId() + { + return $this->segmentId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php new file mode 100644 index 00000000..ec874e65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Segments.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php new file mode 100644 index 00000000..a87bfe10 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReport.php @@ -0,0 +1,198 @@ + "end-date", + "startDate" => "start-date", + ); + public $accountId; + protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails'; + protected $cloudStorageDownloadDetailsDataType = ''; + public $created; + public $dimensions; + public $downloadType; + protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails'; + protected $driveDownloadDetailsDataType = ''; + public $endDate; + public $filters; + public $id; + public $kind; + public $metrics; + public $profileId; + public $segment; + public $selfLink; + public $startDate; + public $status; + public $title; + public $updated; + public $webPropertyId; + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails) + { + $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails; + } + public function getCloudStorageDownloadDetails() + { + return $this->cloudStorageDownloadDetails; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setDownloadType($downloadType) + { + $this->downloadType = $downloadType; + } + public function getDownloadType() + { + return $this->downloadType; + } + public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails) + { + $this->driveDownloadDetails = $driveDownloadDetails; + } + public function getDriveDownloadDetails() + { + return $this->driveDownloadDetails; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php new file mode 100644 index 00000000..48a7533f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportCloudStorageDownloadDetails.php @@ -0,0 +1,39 @@ +bucketId = $bucketId; + } + public function getBucketId() + { + return $this->bucketId; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php new file mode 100644 index 00000000..805cec88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReportDriveDownloadDetails.php @@ -0,0 +1,30 @@ +documentId = $documentId; + } + public function getDocumentId() + { + return $this->documentId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php new file mode 100644 index 00000000..dda579e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UnsampledReports.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php new file mode 100644 index 00000000..0da4f5b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Upload.php @@ -0,0 +1,76 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCustomDataSourceId($customDataSourceId) + { + $this->customDataSourceId = $customDataSourceId; + } + public function getCustomDataSourceId() + { + return $this->customDataSourceId; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php new file mode 100644 index 00000000..4324bad9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Uploads.php @@ -0,0 +1,86 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php new file mode 100644 index 00000000..649bd1d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/UserRef.php @@ -0,0 +1,48 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php new file mode 100644 index 00000000..2c9ce1d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertyRef.php @@ -0,0 +1,75 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php new file mode 100644 index 00000000..63ae34bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebPropertySummary.php @@ -0,0 +1,95 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProfiles($profiles) + { + $this->profiles = $profiles; + } + public function getProfiles() + { + return $this->profiles; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php new file mode 100644 index 00000000..fcdecd39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperties.php @@ -0,0 +1,95 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php new file mode 100644 index 00000000..5d2e3629 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/Webproperty.php @@ -0,0 +1,177 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDefaultProfileId($defaultProfileId) + { + $this->defaultProfileId = $defaultProfileId; + } + public function getDefaultProfileId() + { + return $this->defaultProfileId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndustryVertical($industryVertical) + { + $this->industryVertical = $industryVertical; + } + public function getIndustryVertical() + { + return $this->industryVertical; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setProfileCount($profileCount) + { + $this->profileCount = $profileCount; + } + public function getProfileCount() + { + return $this->profileCount; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php new file mode 100644 index 00000000..f61b2cf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyChildLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php new file mode 100644 index 00000000..2df9c8c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyParentLink.php @@ -0,0 +1,39 @@ +href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php new file mode 100644 index 00000000..5305e8b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Analytics/WebpropertyPermissions.php @@ -0,0 +1,31 @@ +effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php new file mode 100644 index 00000000..789a2b2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting.php @@ -0,0 +1,70 @@ + + * Accesses Analytics report data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AnalyticsReporting extends Google_Service +{ + /** View and manage your Google Analytics data. */ + const ANALYTICS = + "https://www.googleapis.com/auth/analytics"; + /** View your Google Analytics data. */ + const ANALYTICS_READONLY = + "https://www.googleapis.com/auth/analytics.readonly"; + + public $reports; + + /** + * Constructs the internal representation of the AnalyticsReporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://analyticsreporting.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v4'; + $this->serviceName = 'analyticsreporting'; + + $this->reports = new Google_Service_AnalyticsReporting_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'batchGet' => array( + 'path' => 'v4/reports:batchGet', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php new file mode 100644 index 00000000..9ad3b8f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Cohort.php @@ -0,0 +1,49 @@ +dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php new file mode 100644 index 00000000..a173e839 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/CohortGroup.php @@ -0,0 +1,41 @@ +cohorts = $cohorts; + } + public function getCohorts() + { + return $this->cohorts; + } + public function setLifetimeValue($lifetimeValue) + { + $this->lifetimeValue = $lifetimeValue; + } + public function getLifetimeValue() + { + return $this->lifetimeValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php new file mode 100644 index 00000000..0f6ee458 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ColumnHeader.php @@ -0,0 +1,41 @@ +dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setMetricHeader(Google_Service_AnalyticsReporting_MetricHeader $metricHeader) + { + $this->metricHeader = $metricHeader; + } + public function getMetricHeader() + { + return $this->metricHeader; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php new file mode 100644 index 00000000..9b9152b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRange.php @@ -0,0 +1,39 @@ +endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php new file mode 100644 index 00000000..82d52bc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DateRangeValues.php @@ -0,0 +1,41 @@ +pivotValueRegions = $pivotValueRegions; + } + public function getPivotValueRegions() + { + return $this->pivotValueRegions; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php new file mode 100644 index 00000000..8ed06791 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Dimension.php @@ -0,0 +1,40 @@ +histogramBuckets = $histogramBuckets; + } + public function getHistogramBuckets() + { + return $this->histogramBuckets; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php new file mode 100644 index 00000000..eb512f11 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilter.php @@ -0,0 +1,67 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setDimensionName($dimensionName) + { + $this->dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setExpressions($expressions) + { + $this->expressions = $expressions; + } + public function getExpressions() + { + return $this->expressions; + } + public function setNot($not) + { + $this->not = $not; + } + public function getNot() + { + return $this->not; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php new file mode 100644 index 00000000..317f0ee8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DimensionFilterClause.php @@ -0,0 +1,41 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php new file mode 100644 index 00000000..7d41be7d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/DynamicSegment.php @@ -0,0 +1,50 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setSessionSegment(Google_Service_AnalyticsReporting_SegmentDefinition $sessionSegment) + { + $this->sessionSegment = $sessionSegment; + } + public function getSessionSegment() + { + return $this->sessionSegment; + } + public function setUserSegment(Google_Service_AnalyticsReporting_SegmentDefinition $userSegment) + { + $this->userSegment = $userSegment; + } + public function getUserSegment() + { + return $this->userSegment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php new file mode 100644 index 00000000..e1a0e9bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsRequest.php @@ -0,0 +1,32 @@ +reportRequests = $reportRequests; + } + public function getReportRequests() + { + return $this->reportRequests; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php new file mode 100644 index 00000000..15ff4976 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/GetReportsResponse.php @@ -0,0 +1,32 @@ +reports = $reports; + } + public function getReports() + { + return $this->reports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php new file mode 100644 index 00000000..6dc69e98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Metric.php @@ -0,0 +1,48 @@ +alias = $alias; + } + public function getAlias() + { + return $this->alias; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setFormattingType($formattingType) + { + $this->formattingType = $formattingType; + } + public function getFormattingType() + { + return $this->formattingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php new file mode 100644 index 00000000..713c50c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilter.php @@ -0,0 +1,57 @@ +comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } + public function setMetricName($metricName) + { + $this->metricName = $metricName; + } + public function getMetricName() + { + return $this->metricName; + } + public function setNot($not) + { + $this->not = $not; + } + public function getNot() + { + return $this->not; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php new file mode 100644 index 00000000..ebdbad5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricFilterClause.php @@ -0,0 +1,41 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php new file mode 100644 index 00000000..04a84b96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeader.php @@ -0,0 +1,42 @@ +metricHeaderEntries = $metricHeaderEntries; + } + public function getMetricHeaderEntries() + { + return $this->metricHeaderEntries; + } + public function setPivotHeaders($pivotHeaders) + { + $this->pivotHeaders = $pivotHeaders; + } + public function getPivotHeaders() + { + return $this->pivotHeaders; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php new file mode 100644 index 00000000..62ddbcef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/MetricHeaderEntry.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php new file mode 100644 index 00000000..a4bc7a61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrFiltersForSegment.php @@ -0,0 +1,32 @@ +segmentFilterClauses = $segmentFilterClauses; + } + public function getSegmentFilterClauses() + { + return $this->segmentFilterClauses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php new file mode 100644 index 00000000..0793be24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/OrderBy.php @@ -0,0 +1,48 @@ +fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setOrderType($orderType) + { + $this->orderType = $orderType; + } + public function getOrderType() + { + return $this->orderType; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php new file mode 100644 index 00000000..cb412463 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Pivot.php @@ -0,0 +1,70 @@ +dimensionFilterClauses = $dimensionFilterClauses; + } + public function getDimensionFilterClauses() + { + return $this->dimensionFilterClauses; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setMaxGroupCount($maxGroupCount) + { + $this->maxGroupCount = $maxGroupCount; + } + public function getMaxGroupCount() + { + return $this->maxGroupCount; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setStartGroup($startGroup) + { + $this->startGroup = $startGroup; + } + public function getStartGroup() + { + return $this->startGroup; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php new file mode 100644 index 00000000..4f3b1c01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeader.php @@ -0,0 +1,41 @@ +pivotHeaderEntries = $pivotHeaderEntries; + } + public function getPivotHeaderEntries() + { + return $this->pivotHeaderEntries; + } + public function setTotalPivotGroupsCount($totalPivotGroupsCount) + { + $this->totalPivotGroupsCount = $totalPivotGroupsCount; + } + public function getTotalPivotGroupsCount() + { + return $this->totalPivotGroupsCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php new file mode 100644 index 00000000..2b74aefd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotHeaderEntry.php @@ -0,0 +1,50 @@ +dimensionNames = $dimensionNames; + } + public function getDimensionNames() + { + return $this->dimensionNames; + } + public function setDimensionValues($dimensionValues) + { + $this->dimensionValues = $dimensionValues; + } + public function getDimensionValues() + { + return $this->dimensionValues; + } + public function setMetric(Google_Service_AnalyticsReporting_MetricHeaderEntry $metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php new file mode 100644 index 00000000..2cc4253f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/PivotValueRegion.php @@ -0,0 +1,31 @@ +values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php new file mode 100644 index 00000000..4aca26b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Report.php @@ -0,0 +1,50 @@ +columnHeader = $columnHeader; + } + public function getColumnHeader() + { + return $this->columnHeader; + } + public function setData(Google_Service_AnalyticsReporting_ReportData $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php new file mode 100644 index 00000000..81f3db2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportData.php @@ -0,0 +1,107 @@ +dataLastRefreshed = $dataLastRefreshed; + } + public function getDataLastRefreshed() + { + return $this->dataLastRefreshed; + } + public function setIsDataGolden($isDataGolden) + { + $this->isDataGolden = $isDataGolden; + } + public function getIsDataGolden() + { + return $this->isDataGolden; + } + public function setMaximums($maximums) + { + $this->maximums = $maximums; + } + public function getMaximums() + { + return $this->maximums; + } + public function setMinimums($minimums) + { + $this->minimums = $minimums; + } + public function getMinimums() + { + return $this->minimums; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSamplesReadCounts($samplesReadCounts) + { + $this->samplesReadCounts = $samplesReadCounts; + } + public function getSamplesReadCounts() + { + return $this->samplesReadCounts; + } + public function setSamplingSpaceSizes($samplingSpaceSizes) + { + $this->samplingSpaceSizes = $samplingSpaceSizes; + } + public function getSamplingSpaceSizes() + { + return $this->samplingSpaceSizes; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php new file mode 100644 index 00000000..a5b7dcdf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRequest.php @@ -0,0 +1,184 @@ +cohortGroup = $cohortGroup; + } + public function getCohortGroup() + { + return $this->cohortGroup; + } + public function setDateRanges($dateRanges) + { + $this->dateRanges = $dateRanges; + } + public function getDateRanges() + { + return $this->dateRanges; + } + public function setDimensionFilterClauses($dimensionFilterClauses) + { + $this->dimensionFilterClauses = $dimensionFilterClauses; + } + public function getDimensionFilterClauses() + { + return $this->dimensionFilterClauses; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setFiltersExpression($filtersExpression) + { + $this->filtersExpression = $filtersExpression; + } + public function getFiltersExpression() + { + return $this->filtersExpression; + } + public function setHideTotals($hideTotals) + { + $this->hideTotals = $hideTotals; + } + public function getHideTotals() + { + return $this->hideTotals; + } + public function setHideValueRanges($hideValueRanges) + { + $this->hideValueRanges = $hideValueRanges; + } + public function getHideValueRanges() + { + return $this->hideValueRanges; + } + public function setIncludeEmptyRows($includeEmptyRows) + { + $this->includeEmptyRows = $includeEmptyRows; + } + public function getIncludeEmptyRows() + { + return $this->includeEmptyRows; + } + public function setMetricFilterClauses($metricFilterClauses) + { + $this->metricFilterClauses = $metricFilterClauses; + } + public function getMetricFilterClauses() + { + return $this->metricFilterClauses; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setOrderBys($orderBys) + { + $this->orderBys = $orderBys; + } + public function getOrderBys() + { + return $this->orderBys; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setPivots($pivots) + { + $this->pivots = $pivots; + } + public function getPivots() + { + return $this->pivots; + } + public function setSamplingLevel($samplingLevel) + { + $this->samplingLevel = $samplingLevel; + } + public function getSamplingLevel() + { + return $this->samplingLevel; + } + public function setSegments($segments) + { + $this->segments = $segments; + } + public function getSegments() + { + return $this->segments; + } + public function setViewId($viewId) + { + $this->viewId = $viewId; + } + public function getViewId() + { + return $this->viewId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php new file mode 100644 index 00000000..ee7224fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/ReportRow.php @@ -0,0 +1,41 @@ +dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php new file mode 100644 index 00000000..0fd6f6e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Resource/Reports.php @@ -0,0 +1,41 @@ + + * $analyticsreportingService = new Google_Service_AnalyticsReporting(...); + * $reports = $analyticsreportingService->reports; + * + */ +class Google_Service_AnalyticsReporting_Resource_Reports extends Google_Service_Resource +{ + /** + * Returns the Analytics data. (reports.batchGet) + * + * @param Google_Service_AnalyticsReporting_GetReportsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AnalyticsReporting_GetReportsResponse + */ + public function batchGet(Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchGet', array($params), "Google_Service_AnalyticsReporting_GetReportsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php new file mode 100644 index 00000000..5c4eda89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/Segment.php @@ -0,0 +1,40 @@ +dynamicSegment = $dynamicSegment; + } + public function getDynamicSegment() + { + return $this->dynamicSegment; + } + public function setSegmentId($segmentId) + { + $this->segmentId = $segmentId; + } + public function getSegmentId() + { + return $this->segmentId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php new file mode 100644 index 00000000..fcd3d5b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDefinition.php @@ -0,0 +1,32 @@ +segmentFilters = $segmentFilters; + } + public function getSegmentFilters() + { + return $this->segmentFilters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php new file mode 100644 index 00000000..d6424e15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentDimensionFilter.php @@ -0,0 +1,76 @@ +caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setDimensionName($dimensionName) + { + $this->dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setExpressions($expressions) + { + $this->expressions = $expressions; + } + public function getExpressions() + { + return $this->expressions; + } + public function setMaxComparisonValue($maxComparisonValue) + { + $this->maxComparisonValue = $maxComparisonValue; + } + public function getMaxComparisonValue() + { + return $this->maxComparisonValue; + } + public function setMinComparisonValue($minComparisonValue) + { + $this->minComparisonValue = $minComparisonValue; + } + public function getMinComparisonValue() + { + return $this->minComparisonValue; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php new file mode 100644 index 00000000..9206784c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilter.php @@ -0,0 +1,50 @@ +not = $not; + } + public function getNot() + { + return $this->not; + } + public function setSequenceSegment(Google_Service_AnalyticsReporting_SequenceSegment $sequenceSegment) + { + $this->sequenceSegment = $sequenceSegment; + } + public function getSequenceSegment() + { + return $this->sequenceSegment; + } + public function setSimpleSegment(Google_Service_AnalyticsReporting_SimpleSegment $simpleSegment) + { + $this->simpleSegment = $simpleSegment; + } + public function getSimpleSegment() + { + return $this->simpleSegment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php new file mode 100644 index 00000000..709a1017 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentFilterClause.php @@ -0,0 +1,50 @@ +dimensionFilter = $dimensionFilter; + } + public function getDimensionFilter() + { + return $this->dimensionFilter; + } + public function setMetricFilter(Google_Service_AnalyticsReporting_SegmentMetricFilter $metricFilter) + { + $this->metricFilter = $metricFilter; + } + public function getMetricFilter() + { + return $this->metricFilter; + } + public function setNot($not) + { + $this->not = $not; + } + public function getNot() + { + return $this->not; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php new file mode 100644 index 00000000..f0d91897 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentMetricFilter.php @@ -0,0 +1,66 @@ +comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } + public function setMaxComparisonValue($maxComparisonValue) + { + $this->maxComparisonValue = $maxComparisonValue; + } + public function getMaxComparisonValue() + { + return $this->maxComparisonValue; + } + public function setMetricName($metricName) + { + $this->metricName = $metricName; + } + public function getMetricName() + { + return $this->metricName; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php new file mode 100644 index 00000000..adeb2a84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SegmentSequenceStep.php @@ -0,0 +1,41 @@ +matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setOrFiltersForSegment($orFiltersForSegment) + { + $this->orFiltersForSegment = $orFiltersForSegment; + } + public function getOrFiltersForSegment() + { + return $this->orFiltersForSegment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php new file mode 100644 index 00000000..5ebc30f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SequenceSegment.php @@ -0,0 +1,41 @@ +firstStepShouldMatchFirstHit = $firstStepShouldMatchFirstHit; + } + public function getFirstStepShouldMatchFirstHit() + { + return $this->firstStepShouldMatchFirstHit; + } + public function setSegmentSequenceSteps($segmentSequenceSteps) + { + $this->segmentSequenceSteps = $segmentSequenceSteps; + } + public function getSegmentSequenceSteps() + { + return $this->segmentSequenceSteps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php new file mode 100644 index 00000000..af8f4562 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AnalyticsReporting/SimpleSegment.php @@ -0,0 +1,32 @@ +orFiltersForSegment = $orFiltersForSegment; + } + public function getOrFiltersForSegment() + { + return $this->orFiltersForSegment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php new file mode 100644 index 00000000..791f403c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise.php @@ -0,0 +1,1454 @@ + + * Manages the deployment of apps to Android for Work users.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AndroidEnterprise extends Google_Service +{ + /** Manage corporate Android devices. */ + const ANDROIDENTERPRISE = + "https://www.googleapis.com/auth/androidenterprise"; + + public $devices; + public $enterprises; + public $entitlements; + public $grouplicenses; + public $grouplicenseusers; + public $installs; + public $managedconfigurationsfordevice; + public $managedconfigurationsforuser; + public $permissions; + public $products; + public $serviceaccountkeys; + public $storelayoutclusters; + public $storelayoutpages; + public $users; + + /** + * Constructs the internal representation of the AndroidEnterprise service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'androidenterprise/v1/'; + $this->version = 'v1'; + $this->serviceName = 'androidenterprise'; + + $this->devices = new Google_Service_AndroidEnterprise_Resource_Devices( + $this, + $this->serviceName, + 'devices', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->enterprises = new Google_Service_AndroidEnterprise_Resource_Enterprises( + $this, + $this->serviceName, + 'enterprises', + array( + 'methods' => array( + 'acknowledgeNotificationSet' => array( + 'path' => 'enterprises/acknowledgeNotificationSet', + 'httpMethod' => 'POST', + 'parameters' => array( + 'notificationSetId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'completeSignup' => array( + 'path' => 'enterprises/completeSignup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'completionToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'enterpriseToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'createWebToken' => array( + 'path' => 'enterprises/{enterpriseId}/createWebToken', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'enroll' => array( + 'path' => 'enterprises/enroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateSignupUrl' => array( + 'path' => 'enterprises/signupUrl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'callbackUrl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getServiceAccount' => array( + 'path' => 'enterprises/{enterpriseId}/serviceAccount', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'keyType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getStoreLayout' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises', + 'httpMethod' => 'GET', + 'parameters' => array( + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'pullNotificationSet' => array( + 'path' => 'enterprises/pullNotificationSet', + 'httpMethod' => 'POST', + 'parameters' => array( + 'requestMode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'sendTestPushNotification' => array( + 'path' => 'enterprises/{enterpriseId}/sendTestPushNotification', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setAccount' => array( + 'path' => 'enterprises/{enterpriseId}/account', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setStoreLayout' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'unenroll' => array( + 'path' => 'enterprises/{enterpriseId}/unenroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->entitlements = new Google_Service_AndroidEnterprise_Resource_Entitlements( + $this, + $this->serviceName, + 'entitlements', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->grouplicenses = new Google_Service_AndroidEnterprise_Resource_Grouplicenses( + $this, + $this->serviceName, + 'grouplicenses', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Resource_Grouplicenseusers( + $this, + $this->serviceName, + 'grouplicenseusers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->installs = new Google_Service_AndroidEnterprise_Resource_Installs( + $this, + $this->serviceName, + 'installs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->managedconfigurationsfordevice = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice( + $this, + $this->serviceName, + 'managedconfigurationsfordevice', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForDeviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForDeviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForDeviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForDeviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->managedconfigurationsforuser = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser( + $this, + $this->serviceName, + 'managedconfigurationsforuser', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForUserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForUserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForUserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedConfigurationForUserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->permissions = new Google_Service_AndroidEnterprise_Resource_Permissions( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_AndroidEnterprise_Resource_Products( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'approve' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/approve', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateApprovalUrl' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'languageCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getAppRestrictionsSchema' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPermissions' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'approved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'unapprove' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/unapprove', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->serviceaccountkeys = new Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys( + $this, + $this->serviceName, + 'serviceaccountkeys', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'keyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/serviceAccountKeys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->storelayoutclusters = new Google_Service_AndroidEnterprise_Resource_Storelayoutclusters( + $this, + $this->serviceName, + 'storelayoutclusters', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->storelayoutpages = new Google_Service_AndroidEnterprise_Resource_Storelayoutpages( + $this, + $this->serviceName, + 'storelayoutpages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_AndroidEnterprise_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateAuthenticationToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/authenticationToken', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAvailableProductSet' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revokeToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setAvailableProductSet' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php new file mode 100644 index 00000000..8e29748f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Administrator.php @@ -0,0 +1,30 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php new file mode 100644 index 00000000..19fdfb42 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebToken.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php new file mode 100644 index 00000000..c2269b19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AdministratorWebTokenSpec.php @@ -0,0 +1,49 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParent($parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php new file mode 100644 index 00000000..fc64b129 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchema.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRestrictions($restrictions) + { + $this->restrictions = $restrictions; + } + public function getRestrictions() + { + return $this->restrictions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php new file mode 100644 index 00000000..795a180f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaChangeEvent.php @@ -0,0 +1,30 @@ +productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php new file mode 100644 index 00000000..f1701ce9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestriction.php @@ -0,0 +1,96 @@ +defaultValue = $defaultValue; + } + public function getDefaultValue() + { + return $this->defaultValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEntry($entry) + { + $this->entry = $entry; + } + public function getEntry() + { + return $this->entry; + } + public function setEntryValue($entryValue) + { + $this->entryValue = $entryValue; + } + public function getEntryValue() + { + return $this->entryValue; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setNestedRestriction($nestedRestriction) + { + $this->nestedRestriction = $nestedRestriction; + } + public function getNestedRestriction() + { + return $this->nestedRestriction; + } + public function setRestrictionType($restrictionType) + { + $this->restrictionType = $restrictionType; + } + public function getRestrictionType() + { + return $this->restrictionType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php new file mode 100644 index 00000000..8a7219f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppRestrictionsSchemaRestrictionRestrictionValue.php @@ -0,0 +1,67 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValueBool($valueBool) + { + $this->valueBool = $valueBool; + } + public function getValueBool() + { + return $this->valueBool; + } + public function setValueInteger($valueInteger) + { + $this->valueInteger = $valueInteger; + } + public function getValueInteger() + { + return $this->valueInteger; + } + public function setValueMultiselect($valueMultiselect) + { + $this->valueMultiselect = $valueMultiselect; + } + public function getValueMultiselect() + { + return $this->valueMultiselect; + } + public function setValueString($valueString) + { + $this->valueString = $valueString; + } + public function getValueString() + { + return $this->valueString; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php new file mode 100644 index 00000000..0c32f9d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppUpdateEvent.php @@ -0,0 +1,30 @@ +productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php new file mode 100644 index 00000000..7d588b9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AppVersion.php @@ -0,0 +1,39 @@ +versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionString($versionString) + { + $this->versionString = $versionString; + } + public function getVersionString() + { + return $this->versionString; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php new file mode 100644 index 00000000..21a32e4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ApprovalUrlInfo.php @@ -0,0 +1,39 @@ +approvalUrl = $approvalUrl; + } + public function getApprovalUrl() + { + return $this->approvalUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php new file mode 100644 index 00000000..02d94a76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/AuthenticationToken.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php new file mode 100644 index 00000000..12639e44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Collection.php @@ -0,0 +1,67 @@ +collectionId = $collectionId; + } + public function getCollectionId() + { + return $this->collectionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php new file mode 100644 index 00000000..7ebeee4e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionViewersListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php new file mode 100644 index 00000000..5fb82d31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/CollectionsListResponse.php @@ -0,0 +1,41 @@ +collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php new file mode 100644 index 00000000..2d9b5e9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Device.php @@ -0,0 +1,48 @@ +androidId = $androidId; + } + public function getAndroidId() + { + return $this->androidId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagementType($managementType) + { + $this->managementType = $managementType; + } + public function getManagementType() + { + return $this->managementType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php new file mode 100644 index 00000000..c186deb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DeviceState.php @@ -0,0 +1,39 @@ +accountState = $accountState; + } + public function getAccountState() + { + return $this->accountState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php new file mode 100644 index 00000000..1f5db7b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/DevicesListResponse.php @@ -0,0 +1,41 @@ +device = $device; + } + public function getDevice() + { + return $this->device; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php new file mode 100644 index 00000000..cd315106 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Enterprise.php @@ -0,0 +1,68 @@ +administrator = $administrator; + } + public function getAdministrator() + { + return $this->administrator; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimaryDomain($primaryDomain) + { + $this->primaryDomain = $primaryDomain; + } + public function getPrimaryDomain() + { + return $this->primaryDomain; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php new file mode 100644 index 00000000..5057cff7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterpriseAccount.php @@ -0,0 +1,39 @@ +accountEmail = $accountEmail; + } + public function getAccountEmail() + { + return $this->accountEmail; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php new file mode 100644 index 00000000..025a4c2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesListResponse.php @@ -0,0 +1,41 @@ +enterprise = $enterprise; + } + public function getEnterprise() + { + return $this->enterprise; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php new file mode 100644 index 00000000..ae1cb870 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EnterprisesSendTestPushNotificationResponse.php @@ -0,0 +1,39 @@ +messageId = $messageId; + } + public function getMessageId() + { + return $this->messageId; + } + public function setTopicName($topicName) + { + $this->topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php new file mode 100644 index 00000000..098537cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Entitlement.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php new file mode 100644 index 00000000..bab3d685 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/EntitlementsListResponse.php @@ -0,0 +1,41 @@ +entitlement = $entitlement; + } + public function getEntitlement() + { + return $this->entitlement; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php new file mode 100644 index 00000000..ebce1eed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicense.php @@ -0,0 +1,75 @@ +acquisitionKind = $acquisitionKind; + } + public function getAcquisitionKind() + { + return $this->acquisitionKind; + } + public function setApproval($approval) + { + $this->approval = $approval; + } + public function getApproval() + { + return $this->approval; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumProvisioned($numProvisioned) + { + $this->numProvisioned = $numProvisioned; + } + public function getNumProvisioned() + { + return $this->numProvisioned; + } + public function setNumPurchased($numPurchased) + { + $this->numPurchased = $numPurchased; + } + public function getNumPurchased() + { + return $this->numPurchased; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php new file mode 100644 index 00000000..b0c506a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicenseUsersListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php new file mode 100644 index 00000000..a8a4f087 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/GroupLicensesListResponse.php @@ -0,0 +1,41 @@ +groupLicense = $groupLicense; + } + public function getGroupLicense() + { + return $this->groupLicense; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php new file mode 100644 index 00000000..de9fef90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Install.php @@ -0,0 +1,57 @@ +installState = $installState; + } + public function getInstallState() + { + return $this->installState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php new file mode 100644 index 00000000..cb7e9bbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallFailureEvent.php @@ -0,0 +1,66 @@ +deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setFailureDetails($failureDetails) + { + $this->failureDetails = $failureDetails; + } + public function getFailureDetails() + { + return $this->failureDetails; + } + public function setFailureReason($failureReason) + { + $this->failureReason = $failureReason; + } + public function getFailureReason() + { + return $this->failureReason; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php new file mode 100644 index 00000000..f437011e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/InstallsListResponse.php @@ -0,0 +1,41 @@ +install = $install; + } + public function getInstall() + { + return $this->install; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php new file mode 100644 index 00000000..a974b0ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/LocalizedText.php @@ -0,0 +1,39 @@ +locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php new file mode 100644 index 00000000..b2a66d70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfiguration.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedProperty($managedProperty) + { + $this->managedProperty = $managedProperty; + } + public function getManagedProperty() + { + return $this->managedProperty; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php new file mode 100644 index 00000000..b14134f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForDeviceListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedConfigurationForDevice($managedConfigurationForDevice) + { + $this->managedConfigurationForDevice = $managedConfigurationForDevice; + } + public function getManagedConfigurationForDevice() + { + return $this->managedConfigurationForDevice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php new file mode 100644 index 00000000..ce18d4ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedConfigurationsForUserListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedConfigurationForUser($managedConfigurationForUser) + { + $this->managedConfigurationForUser = $managedConfigurationForUser; + } + public function getManagedConfigurationForUser() + { + return $this->managedConfigurationForUser; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php new file mode 100644 index 00000000..8fe61415 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedProperty.php @@ -0,0 +1,87 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValueBool($valueBool) + { + $this->valueBool = $valueBool; + } + public function getValueBool() + { + return $this->valueBool; + } + public function setValueBundle(Google_Service_AndroidEnterprise_ManagedPropertyBundle $valueBundle) + { + $this->valueBundle = $valueBundle; + } + public function getValueBundle() + { + return $this->valueBundle; + } + public function setValueBundleArray($valueBundleArray) + { + $this->valueBundleArray = $valueBundleArray; + } + public function getValueBundleArray() + { + return $this->valueBundleArray; + } + public function setValueInteger($valueInteger) + { + $this->valueInteger = $valueInteger; + } + public function getValueInteger() + { + return $this->valueInteger; + } + public function setValueString($valueString) + { + $this->valueString = $valueString; + } + public function getValueString() + { + return $this->valueString; + } + public function setValueStringArray($valueStringArray) + { + $this->valueStringArray = $valueStringArray; + } + public function getValueStringArray() + { + return $this->valueStringArray; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php new file mode 100644 index 00000000..057ba250 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ManagedPropertyBundle.php @@ -0,0 +1,32 @@ +managedProperty = $managedProperty; + } + public function getManagedProperty() + { + return $this->managedProperty; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php new file mode 100644 index 00000000..999e7692 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewDeviceEvent.php @@ -0,0 +1,48 @@ +deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setManagementType($managementType) + { + $this->managementType = $managementType; + } + public function getManagementType() + { + return $this->managementType; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php new file mode 100644 index 00000000..ae464bfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NewPermissionsEvent.php @@ -0,0 +1,49 @@ +approvedPermissions = $approvedPermissions; + } + public function getApprovedPermissions() + { + return $this->approvedPermissions; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setRequestedPermissions($requestedPermissions) + { + $this->requestedPermissions = $requestedPermissions; + } + public function getRequestedPermissions() + { + return $this->requestedPermissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php new file mode 100644 index 00000000..35f3afe4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Notification.php @@ -0,0 +1,109 @@ +appRestrictionsSchemaChangeEvent = $appRestrictionsSchemaChangeEvent; + } + public function getAppRestrictionsSchemaChangeEvent() + { + return $this->appRestrictionsSchemaChangeEvent; + } + public function setAppUpdateEvent(Google_Service_AndroidEnterprise_AppUpdateEvent $appUpdateEvent) + { + $this->appUpdateEvent = $appUpdateEvent; + } + public function getAppUpdateEvent() + { + return $this->appUpdateEvent; + } + public function setEnterpriseId($enterpriseId) + { + $this->enterpriseId = $enterpriseId; + } + public function getEnterpriseId() + { + return $this->enterpriseId; + } + public function setInstallFailureEvent(Google_Service_AndroidEnterprise_InstallFailureEvent $installFailureEvent) + { + $this->installFailureEvent = $installFailureEvent; + } + public function getInstallFailureEvent() + { + return $this->installFailureEvent; + } + public function setNewDeviceEvent(Google_Service_AndroidEnterprise_NewDeviceEvent $newDeviceEvent) + { + $this->newDeviceEvent = $newDeviceEvent; + } + public function getNewDeviceEvent() + { + return $this->newDeviceEvent; + } + public function setNewPermissionsEvent(Google_Service_AndroidEnterprise_NewPermissionsEvent $newPermissionsEvent) + { + $this->newPermissionsEvent = $newPermissionsEvent; + } + public function getNewPermissionsEvent() + { + return $this->newPermissionsEvent; + } + public function setProductApprovalEvent(Google_Service_AndroidEnterprise_ProductApprovalEvent $productApprovalEvent) + { + $this->productApprovalEvent = $productApprovalEvent; + } + public function getProductApprovalEvent() + { + return $this->productApprovalEvent; + } + public function setProductAvailabilityChangeEvent(Google_Service_AndroidEnterprise_ProductAvailabilityChangeEvent $productAvailabilityChangeEvent) + { + $this->productAvailabilityChangeEvent = $productAvailabilityChangeEvent; + } + public function getProductAvailabilityChangeEvent() + { + return $this->productAvailabilityChangeEvent; + } + public function setTimestampMillis($timestampMillis) + { + $this->timestampMillis = $timestampMillis; + } + public function getTimestampMillis() + { + return $this->timestampMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php new file mode 100644 index 00000000..04ab0ac1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/NotificationSet.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotification($notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } + public function setNotificationSetId($notificationSetId) + { + $this->notificationSetId = $notificationSetId; + } + public function getNotificationSetId() + { + return $this->notificationSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php new file mode 100644 index 00000000..b28d2adc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/PageInfo.php @@ -0,0 +1,48 @@ +resultPerPage = $resultPerPage; + } + public function getResultPerPage() + { + return $this->resultPerPage; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php new file mode 100644 index 00000000..1798c5bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Permission.php @@ -0,0 +1,57 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php new file mode 100644 index 00000000..f54d4ac1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Product.php @@ -0,0 +1,131 @@ +appVersion = $appVersion; + } + public function getAppVersion() + { + return $this->appVersion; + } + public function setAuthorName($authorName) + { + $this->authorName = $authorName; + } + public function getAuthorName() + { + return $this->authorName; + } + public function setDetailsUrl($detailsUrl) + { + $this->detailsUrl = $detailsUrl; + } + public function getDetailsUrl() + { + return $this->detailsUrl; + } + public function setDistributionChannel($distributionChannel) + { + $this->distributionChannel = $distributionChannel; + } + public function getDistributionChannel() + { + return $this->distributionChannel; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductPricing($productPricing) + { + $this->productPricing = $productPricing; + } + public function getProductPricing() + { + return $this->productPricing; + } + public function setRequiresContainerApp($requiresContainerApp) + { + $this->requiresContainerApp = $requiresContainerApp; + } + public function getRequiresContainerApp() + { + return $this->requiresContainerApp; + } + public function setSmallIconUrl($smallIconUrl) + { + $this->smallIconUrl = $smallIconUrl; + } + public function getSmallIconUrl() + { + return $this->smallIconUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setWorkDetailsUrl($workDetailsUrl) + { + $this->workDetailsUrl = $workDetailsUrl; + } + public function getWorkDetailsUrl() + { + return $this->workDetailsUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php new file mode 100644 index 00000000..63b1ae2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductApprovalEvent.php @@ -0,0 +1,39 @@ +approved = $approved; + } + public function getApproved() + { + return $this->approved; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php new file mode 100644 index 00000000..eacab5c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductAvailabilityChangeEvent.php @@ -0,0 +1,39 @@ +availabilityStatus = $availabilityStatus; + } + public function getAvailabilityStatus() + { + return $this->availabilityStatus; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php new file mode 100644 index 00000000..d41192c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermission.php @@ -0,0 +1,39 @@ +permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php new file mode 100644 index 00000000..8ded09b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductPermissions.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php new file mode 100644 index 00000000..04d39a8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductSet.php @@ -0,0 +1,49 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductSetBehavior($productSetBehavior) + { + $this->productSetBehavior = $productSetBehavior; + } + public function getProductSetBehavior() + { + return $this->productSetBehavior; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php new file mode 100644 index 00000000..5e940e7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsApproveRequest.php @@ -0,0 +1,31 @@ +approvalUrlInfo = $approvalUrlInfo; + } + public function getApprovalUrlInfo() + { + return $this->approvalUrlInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php new file mode 100644 index 00000000..8ebd8f82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsGenerateApprovalUrlResponse.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php new file mode 100644 index 00000000..716bd227 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ProductsListResponse.php @@ -0,0 +1,61 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageInfo(Google_Service_AndroidEnterprise_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setProduct($product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setTokenPagination(Google_Service_AndroidEnterprise_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php new file mode 100644 index 00000000..1ffd3fab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collections.php @@ -0,0 +1,114 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $collections = $androidenterpriseService->collections; + * + */ +class Google_Service_AndroidEnterprise_Resource_Collections extends Google_Service_Resource +{ + /** + * Deletes a collection. (collections.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the details of a collection. (collections.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function get($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + /** + * Creates a new collection. (collections.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + /** + * Retrieves the IDs of all the collections for an enterprise. + * (collections.listCollections) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_CollectionsListResponse + */ + public function listCollections($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse"); + } + /** + * Updates a collection. This method supports patch semantics. + * (collections.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param Google_Service_AndroidEnterprise_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + /** + * Updates a collection. (collections.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param Google_Service_AndroidEnterprise_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php new file mode 100644 index 00000000..acf1aa3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Collectionviewers.php @@ -0,0 +1,115 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $collectionviewers = $androidenterpriseService->collectionviewers; + * + */ +class Google_Service_AndroidEnterprise_Resource_Collectionviewers extends Google_Service_Resource +{ + /** + * Removes the user from the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. (collectionviewers.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $collectionId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the ID of the user if they have been specifically allowed to see + * the collection. If the collection's visibility is set to viewersOnly then + * only these users will see the collection. (collectionviewers.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function get($enterpriseId, $collectionId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User"); + } + /** + * Retrieves the IDs of the users who have been specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * these users will see the collection. + * (collectionviewers.listCollectionviewers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse + */ + public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse"); + } + /** + * Adds the user to the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. This method supports patch semantics. + * (collectionviewers.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param Google_Service_AndroidEnterprise_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User"); + } + /** + * Adds the user to the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. (collectionviewers.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param Google_Service_AndroidEnterprise_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php new file mode 100644 index 00000000..c265c0ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Devices.php @@ -0,0 +1,96 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $devices = $androidenterpriseService->devices; + * + */ +class Google_Service_AndroidEnterprise_Resource_Devices extends Google_Service_Resource +{ + /** + * Retrieves the details of a device. (devices.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Device + */ + public function get($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device"); + } + /** + * Retrieves whether a device's access to Google services is enabled or + * disabled. The device state takes effect only if enforcing EMM policies on + * Android devices is enabled in the Google Admin Console. Otherwise, the device + * state is ignored and all devices are allowed access to Google services. This + * is only supported for Google-managed users. (devices.getState) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DeviceState + */ + public function getState($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState"); + } + /** + * Retrieves the IDs of all of a user's devices. (devices.listDevices) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DevicesListResponse + */ + public function listDevices($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse"); + } + /** + * Sets whether a device's access to Google services is enabled or disabled. The + * device state takes effect only if enforcing EMM policies on Android devices + * is enabled in the Google Admin Console. Otherwise, the device state is + * ignored and all devices are allowed access to Google services. This is only + * supported for Google-managed users. (devices.setState) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param Google_Service_AndroidEnterprise_DeviceState $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DeviceState + */ + public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php new file mode 100644 index 00000000..5328eaf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Enterprises.php @@ -0,0 +1,317 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $enterprises = $androidenterpriseService->enterprises; + * + */ +class Google_Service_AndroidEnterprise_Resource_Enterprises extends Google_Service_Resource +{ + /** + * Acknowledges notifications that were received from + * Enterprises.PullNotificationSet to prevent subsequent calls from returning + * the same notifications. (enterprises.acknowledgeNotificationSet) + * + * @param array $optParams Optional parameters. + * + * @opt_param string notificationSetId The notification set ID as returned by + * Enterprises.PullNotificationSet. This must be provided. + */ + public function acknowledgeNotificationSet($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('acknowledgeNotificationSet', array($params)); + } + /** + * Completes the signup flow, by specifying the Completion token and Enterprise + * token. This request must not be called multiple times for a given Enterprise + * Token. (enterprises.completeSignup) + * + * @param array $optParams Optional parameters. + * + * @opt_param string completionToken The Completion token initially returned by + * GenerateSignupUrl. + * @opt_param string enterpriseToken The Enterprise token appended to the + * Callback URL. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function completeSignup($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('completeSignup', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + /** + * Returns a unique token to access an embeddable UI. To generate a web UI, pass + * the generated token into the managed Google Play javascript API. Each token + * may only be used to start one UI session. See the javascript API + * documentation for further information. (enterprises.createWebToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_AdministratorWebTokenSpec $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_AdministratorWebToken + */ + public function createWebToken($enterpriseId, Google_Service_AndroidEnterprise_AdministratorWebTokenSpec $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createWebToken', array($params), "Google_Service_AndroidEnterprise_AdministratorWebToken"); + } + /** + * Deletes the binding between the EMM and enterprise. This is now deprecated. + * Use this method only to unenroll customers that were previously enrolled with + * the insert call, then enroll them again with the enroll call. + * (enterprises.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Enrolls an enterprise with the calling EMM. (enterprises.enroll) + * + * @param string $token The token provided by the enterprise to register the + * EMM. + * @param Google_Service_AndroidEnterprise_Enterprise $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()) + { + $params = array('token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + /** + * Generates a sign-up URL. (enterprises.generateSignupUrl) + * + * @param array $optParams Optional parameters. + * + * @opt_param string callbackUrl The callback URL to which the Admin will be + * redirected after successfully creating an enterprise. Before redirecting + * there the system will add a single query parameter to this URL named + * "enterpriseToken" which will contain an opaque token to be used for the + * CompleteSignup request. Beware that this means that the URL will be parsed, + * the parameter added and then a new URL formatted, i.e. there may be some + * minor formatting changes and, more importantly, the URL must be well-formed + * so that it can be parsed. + * @return Google_Service_AndroidEnterprise_SignupInfo + */ + public function generateSignupUrl($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('generateSignupUrl', array($params), "Google_Service_AndroidEnterprise_SignupInfo"); + } + /** + * Retrieves the name and domain of an enterprise. (enterprises.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function get($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + /** + * Returns a service account and credentials. The service account can be bound + * to the enterprise by calling setAccount. The service account is unique to + * this enterprise and EMM, and will be deleted if the enterprise is unbound. + * The credentials contain private key data and are not stored server-side. + * + * This method can only be called after calling Enterprises.Enroll or + * Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times + * it will return an error. + * + * Subsequent calls after the first will generate a new, unique set of + * credentials, and invalidate the previously generated credentials. + * + * Once the service account is bound to the enterprise, it can be managed using + * the serviceAccountKeys resource. (enterprises.getServiceAccount) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * + * @opt_param string keyType The type of credential to return with the service + * account. Required. + * @return Google_Service_AndroidEnterprise_ServiceAccount + */ + public function getServiceAccount($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('getServiceAccount', array($params), "Google_Service_AndroidEnterprise_ServiceAccount"); + } + /** + * Returns the store layout for the enterprise. If the store layout has not been + * set, or if the store layout has no homepageId set, returns a NOT_FOUND error. + * (enterprises.getStoreLayout) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreLayout + */ + public function getStoreLayout($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('getStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout"); + } + /** + * Establishes the binding between the EMM and an enterprise. This is now + * deprecated; use enroll instead. (enterprises.insert) + * + * @param string $token The token provided by the enterprise to register the + * EMM. + * @param Google_Service_AndroidEnterprise_Enterprise $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()) + { + $params = array('token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + /** + * Looks up an enterprise by domain name. This is only supported for enterprises + * created via the Google-initiated creation flow. Lookup of the id is not + * needed for enterprises created via the EMM-initiated flow since the EMM + * learns the enterprise ID in the callback specified in the + * Enterprises.generateSignupUrl call. (enterprises.listEnterprises) + * + * @param string $domain The exact primary domain name of the enterprise to look + * up. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterprisesListResponse + */ + public function listEnterprises($domain, $optParams = array()) + { + $params = array('domain' => $domain); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse"); + } + /** + * Pulls and returns a notification set for the enterprises associated with the + * service account authenticated for the request. The notification set may be + * empty if no notification are pending. A notification set returned needs to be + * acknowledged within 20 seconds by calling + * Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. + * Notifications that are not acknowledged within the 20 seconds will eventually + * be included again in the response to another PullNotificationSet request, and + * those that are never acknowledged will ultimately be deleted according to the + * Google Cloud Platform Pub/Sub system policy. Multiple requests might be + * performed concurrently to retrieve notifications, in which case the pending + * notifications (if any) will be split among each caller, if any are pending. + * If no notifications are present, an empty notification list is returned. + * Subsequent requests may return more notifications once they become available. + * (enterprises.pullNotificationSet) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMode The request mode for pulling notifications. + * Specifying waitForNotifications will cause the request to block and wait + * until one or more notifications are present, or return an empty notification + * list if no notifications are present after some time. Speciying + * returnImmediately will cause the request to immediately return the pending + * notifications, or an empty list if no notifications are present. If omitted, + * defaults to waitForNotifications. + * @return Google_Service_AndroidEnterprise_NotificationSet + */ + public function pullNotificationSet($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('pullNotificationSet', array($params), "Google_Service_AndroidEnterprise_NotificationSet"); + } + /** + * Sends a test push notification to validate the EMM integration with the + * Google Cloud Pub/Sub service for this enterprise. + * (enterprises.sendTestPushNotification) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse + */ + public function sendTestPushNotification($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse"); + } + /** + * Sets the account that will be used to authenticate to the API as the + * enterprise. (enterprises.setAccount) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_EnterpriseAccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterpriseAccount + */ + public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount"); + } + /** + * Sets the store layout for the enterprise. By default, storeLayoutType is set + * to "basic" and the basic store layout is enabled. The basic layout only + * contains apps approved by the admin, and that have been added to the + * available product set for a user (using the setAvailableProductSet call). + * Apps on the page are sorted in order of their product ID value. If you create + * a custom store layout (by setting storeLayoutType = "custom"), the basic + * store layout is disabled. (enterprises.setStoreLayout) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_StoreLayout $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreLayout + */ + public function setStoreLayout($enterpriseId, Google_Service_AndroidEnterprise_StoreLayout $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout"); + } + /** + * Unenrolls an enterprise from the calling EMM. (enterprises.unenroll) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + */ + public function unenroll($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('unenroll', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php new file mode 100644 index 00000000..4d31c8c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Entitlements.php @@ -0,0 +1,119 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $entitlements = $androidenterpriseService->entitlements; + * + */ +class Google_Service_AndroidEnterprise_Resource_Entitlements extends Google_Service_Resource +{ + /** + * Removes an entitlement to an app for a user. (entitlements.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement (a product ID), e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $entitlementId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of an entitlement. (entitlements.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement (a product ID), e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function get($enterpriseId, $userId, $entitlementId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } + /** + * Lists all entitlements for the specified user. Only the ID is set. + * (entitlements.listEntitlements) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EntitlementsListResponse + */ + public function listEntitlements($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse"); + } + /** + * Adds or updates an entitlement to an app for a user. This method supports + * patch semantics. (entitlements.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement (a product ID), e.g. + * "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_Entitlement $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool install Set to true to also install the product on all the + * user's devices where possible. Failure to install on one or more devices will + * not prevent this operation from returning successfully, as long as the + * entitlement was successfully assigned to the user. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } + /** + * Adds or updates an entitlement to an app for a user. (entitlements.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement (a product ID), e.g. + * "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_Entitlement $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool install Set to true to also install the product on all the + * user's devices where possible. Failure to install on one or more devices will + * not prevent this operation from returning successfully, as long as the + * entitlement was successfully assigned to the user. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php new file mode 100644 index 00000000..cb8dcaad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenses.php @@ -0,0 +1,58 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $grouplicenses = $androidenterpriseService->grouplicenses; + * + */ +class Google_Service_AndroidEnterprise_Resource_Grouplicenses extends Google_Service_Resource +{ + /** + * Retrieves details of an enterprise's group license for a product. + * (grouplicenses.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $groupLicenseId The ID of the product the group license is for, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicense + */ + public function get($enterpriseId, $groupLicenseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense"); + } + /** + * Retrieves IDs of all products for which the enterprise has a group license. + * (grouplicenses.listGrouplicenses) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse + */ + public function listGrouplicenses($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php new file mode 100644 index 00000000..fd178ee5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Grouplicenseusers.php @@ -0,0 +1,44 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $grouplicenseusers = $androidenterpriseService->grouplicenseusers; + * + */ +class Google_Service_AndroidEnterprise_Resource_Grouplicenseusers extends Google_Service_Resource +{ + /** + * Retrieves the IDs of the users who have been granted entitlements under the + * license. (grouplicenseusers.listGrouplicenseusers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $groupLicenseId The ID of the product the group license is for, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse + */ + public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php new file mode 100644 index 00000000..49d77a28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Installs.php @@ -0,0 +1,119 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $installs = $androidenterpriseService->installs; + * + */ +class Google_Service_AndroidEnterprise_Resource_Installs extends Google_Service_Resource +{ + /** + * Requests to remove an app from a device. A call to get or list will still + * show the app as installed on the device until it is actually removed. + * (installs.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of an installation of an app on a device. (installs.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install"); + } + /** + * Retrieves the details of all apps installed on the specified device. + * (installs.listInstalls) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_InstallsListResponse + */ + public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse"); + } + /** + * Requests to install the latest version of an app to a device. If the app is + * already installed, then it is updated to the latest version if necessary. + * This method supports patch semantics. (installs.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_Install $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install"); + } + /** + * Requests to install the latest version of an app to a device. If the app is + * already installed, then it is updated to the latest version if necessary. + * (installs.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_Install $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php new file mode 100644 index 00000000..b5cd9bf2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsfordevice.php @@ -0,0 +1,119 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $managedconfigurationsfordevice = $androidenterpriseService->managedconfigurationsfordevice; + * + */ +class Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice extends Google_Service_Resource +{ + /** + * Removes a per-device managed configuration for an app for the specified + * device. (managedconfigurationsfordevice.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $managedConfigurationForDeviceId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of a per-device managed configuration. + * (managedconfigurationsfordevice.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $managedConfigurationForDeviceId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function get($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } + /** + * Lists all the per-device managed configurations for the specified device. + * Only the ID is set. + * (managedconfigurationsfordevice.listManagedconfigurationsfordevice) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse + */ + public function listManagedconfigurationsfordevice($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse"); + } + /** + * Adds or updates a per-device managed configuration for an app for the + * specified device. This method supports patch semantics. + * (managedconfigurationsfordevice.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $managedConfigurationForDeviceId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function patch($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } + /** + * Adds or updates a per-device managed configuration for an app for the + * specified device. (managedconfigurationsfordevice.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $managedConfigurationForDeviceId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function update($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php new file mode 100644 index 00000000..ade7f399 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Managedconfigurationsforuser.php @@ -0,0 +1,114 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $managedconfigurationsforuser = $androidenterpriseService->managedconfigurationsforuser; + * + */ +class Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser extends Google_Service_Resource +{ + /** + * Removes a per-user managed configuration for an app for the specified user. + * (managedconfigurationsforuser.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $managedConfigurationForUserId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of a per-user managed configuration for an app for the + * specified user. (managedconfigurationsforuser.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $managedConfigurationForUserId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function get($enterpriseId, $userId, $managedConfigurationForUserId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } + /** + * Lists all the per-user managed configurations for the specified user. Only + * the ID is set. + * (managedconfigurationsforuser.listManagedconfigurationsforuser) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse + */ + public function listManagedconfigurationsforuser($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ManagedConfigurationsForUserListResponse"); + } + /** + * Adds or updates a per-user managed configuration for an app for the specified + * user. This method supports patch semantics. + * (managedconfigurationsforuser.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $managedConfigurationForUserId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function patch($enterpriseId, $userId, $managedConfigurationForUserId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } + /** + * Adds or updates a per-user managed configuration for an app for the specified + * user. (managedconfigurationsforuser.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $managedConfigurationForUserId The ID of the managed + * configuration (a product ID), e.g. "app:com.google.android.gm". + * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ManagedConfiguration + */ + public function update($enterpriseId, $userId, $managedConfigurationForUserId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'managedConfigurationForUserId' => $managedConfigurationForUserId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php new file mode 100644 index 00000000..ad1a0b90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Permissions.php @@ -0,0 +1,45 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $permissions = $androidenterpriseService->permissions; + * + */ +class Google_Service_AndroidEnterprise_Resource_Permissions extends Google_Service_Resource +{ + /** + * Retrieves details of an Android app permission for display to an enterprise + * admin. (permissions.get) + * + * @param string $permissionId The ID of the permission. + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de") + * @return Google_Service_AndroidEnterprise_Permission + */ + public function get($permissionId, $optParams = array()) + { + $params = array('permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php new file mode 100644 index 00000000..c7abdc44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Products.php @@ -0,0 +1,175 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $products = $androidenterpriseService->products; + * + */ +class Google_Service_AndroidEnterprise_Resource_Products extends Google_Service_Resource +{ + /** + * Approves the specified product and the relevant app permissions, if any. The + * maximum number of products that you can approve per enterprise customer is + * 1,000. + * + * To learn how to use managed Google Play to design and create a store layout + * to display approved products to your users, see Store Layout Design. + * (products.approve) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody + * @param array $optParams Optional parameters. + */ + public function approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('approve', array($params)); + } + /** + * Generates a URL that can be rendered in an iframe to display the permissions + * (if any) of a product. An enterprise admin must view these permissions and + * accept them on behalf of their organization in order to approve that product. + * + * Admins should accept the displayed permissions by interacting with a separate + * UI element in the EMM console, which in turn should trigger the use of this + * URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to + * approve the product. This URL can only be used to display permissions for up + * to 1 day. (products.generateApprovalUrl) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param string languageCode The BCP 47 language code used for permission + * names and descriptions in the returned iframe, for instance "en-US". + * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse + */ + public function generateApprovalUrl($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('generateApprovalUrl', array($params), "Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse"); + } + /** + * Retrieves details of a product for display to an enterprise admin. + * (products.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product, e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de"). + * @return Google_Service_AndroidEnterprise_Product + */ + public function get($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product"); + } + /** + * Retrieves the schema that defines the configurable properties for this + * product. All products have a schema, but this schema may be empty if no + * managed configurations have been defined. This schema can be used to populate + * a UI that allows an admin to configure the product. To apply a managed + * configuration based on the schema obtained using this API, see Managed + * Configurations through Play. (products.getAppRestrictionsSchema) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de"). + * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema + */ + public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema"); + } + /** + * Retrieves the Android app permissions required by this app. + * (products.getPermissions) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductPermissions + */ + public function getPermissions($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions"); + } + /** + * Finds approved products that match a query, or all approved products if there + * is no query. (products.listProducts) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * + * @opt_param bool approved Specifies whether to search among all products + * (false) or among only products that have been approved (true). Only "true" is + * supported, and should be specified. + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de"). Results are returned in the language best matching the + * preferred language. + * @opt_param string maxResults Specifies the maximum number of products that + * can be returned per request. If not specified, uses a default value of 100, + * which is also the maximum retrievable within a single response. + * @opt_param string query The search query as typed in the Google Play store + * search box. If omitted, all approved apps will be returned (using the + * pagination parameters), including apps that are not available in the store + * (e.g. unpublished apps). + * @opt_param string token A pagination token is contained in a request''s + * response when there are more products. The token can be used in a subsequent + * request to obtain more products, and so forth. This parameter cannot be used + * in the initial request. + * @return Google_Service_AndroidEnterprise_ProductsListResponse + */ + public function listProducts($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ProductsListResponse"); + } + /** + * Unapproves the specified product (and the relevant app permissions, if any) + * (products.unapprove) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + */ + public function unapprove($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('unapprove', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php new file mode 100644 index 00000000..7421754e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Serviceaccountkeys.php @@ -0,0 +1,82 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $serviceaccountkeys = $androidenterpriseService->serviceaccountkeys; + * + */ +class Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys extends Google_Service_Resource +{ + /** + * Removes and invalidates the specified credentials for the service account + * associated with this enterprise. The calling service account must have been + * retrieved by calling Enterprises.GetServiceAccount and must have been set as + * the enterprise service account by calling Enterprises.SetAccount. + * (serviceaccountkeys.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $keyId The ID of the key. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $keyId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'keyId' => $keyId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Generates new credentials for the service account associated with this + * enterprise. The calling service account must have been retrieved by calling + * Enterprises.GetServiceAccount and must have been set as the enterprise + * service account by calling Enterprises.SetAccount. + * + * Only the type of the key should be populated in the resource to be inserted. + * (serviceaccountkeys.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_ServiceAccountKey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ServiceAccountKey + */ + public function insert($enterpriseId, Google_Service_AndroidEnterprise_ServiceAccountKey $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_ServiceAccountKey"); + } + /** + * Lists all active credentials for the service account associated with this + * enterprise. Only the ID and key type are returned. The calling service + * account must have been retrieved by calling Enterprises.GetServiceAccount and + * must have been set as the enterprise service account by calling + * Enterprises.SetAccount. (serviceaccountkeys.listServiceaccountkeys) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse + */ + public function listServiceaccountkeys($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ServiceAccountKeysListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php new file mode 100644 index 00000000..c15da4e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutclusters.php @@ -0,0 +1,120 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $storelayoutclusters = $androidenterpriseService->storelayoutclusters; + * + */ +class Google_Service_AndroidEnterprise_Resource_Storelayoutclusters extends Google_Service_Resource +{ + /** + * Deletes a cluster. (storelayoutclusters.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param string $clusterId The ID of the cluster. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $pageId, $clusterId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of a cluster. (storelayoutclusters.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param string $clusterId The ID of the cluster. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreCluster + */ + public function get($enterpriseId, $pageId, $clusterId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StoreCluster"); + } + /** + * Inserts a new cluster in a page. (storelayoutclusters.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param Google_Service_AndroidEnterprise_StoreCluster $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreCluster + */ + public function insert($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StoreCluster"); + } + /** + * Retrieves the details of all clusters on the specified page. + * (storelayoutclusters.listStorelayoutclusters) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse + */ + public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse"); + } + /** + * Updates a cluster. This method supports patch semantics. + * (storelayoutclusters.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param string $clusterId The ID of the cluster. + * @param Google_Service_AndroidEnterprise_StoreCluster $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreCluster + */ + public function patch($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StoreCluster"); + } + /** + * Updates a cluster. (storelayoutclusters.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param string $clusterId The ID of the cluster. + * @param Google_Service_AndroidEnterprise_StoreCluster $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreCluster + */ + public function update($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StoreCluster"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php new file mode 100644 index 00000000..f06c2fa6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Storelayoutpages.php @@ -0,0 +1,114 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $storelayoutpages = $androidenterpriseService->storelayoutpages; + * + */ +class Google_Service_AndroidEnterprise_Resource_Storelayoutpages extends Google_Service_Resource +{ + /** + * Deletes a store page. (storelayoutpages.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $pageId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves details of a store page. (storelayoutpages.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StorePage + */ + public function get($enterpriseId, $pageId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StorePage"); + } + /** + * Inserts a new store page. (storelayoutpages.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_StorePage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StorePage + */ + public function insert($enterpriseId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StorePage"); + } + /** + * Retrieves the details of all pages in the store. + * (storelayoutpages.listStorelayoutpages) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse + */ + public function listStorelayoutpages($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse"); + } + /** + * Updates the content of a store page. This method supports patch semantics. + * (storelayoutpages.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param Google_Service_AndroidEnterprise_StorePage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StorePage + */ + public function patch($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StorePage"); + } + /** + * Updates the content of a store page. (storelayoutpages.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $pageId The ID of the page. + * @param Google_Service_AndroidEnterprise_StorePage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_StorePage + */ + public function update($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StorePage"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php new file mode 100644 index 00000000..dd070c4c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/Resource/Users.php @@ -0,0 +1,215 @@ + + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $users = $androidenterpriseService->users; + * + */ +class Google_Service_AndroidEnterprise_Resource_Users extends Google_Service_Resource +{ + /** + * Deleted an EMM-managed user. (users.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Generates an authentication token which the device policy client can use to + * provision the given EMM-managed user account on a device. The generated token + * is single-use and expires after a few minutes. + * + * This call only works with EMM-managed accounts. + * (users.generateAuthenticationToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_AuthenticationToken + */ + public function generateAuthenticationToken($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('generateAuthenticationToken', array($params), "Google_Service_AndroidEnterprise_AuthenticationToken"); + } + /** + * Generates a token (activation code) to allow this user to configure their + * managed account in the Android Setup Wizard. Revokes any previously generated + * token. + * + * This call only works with Google managed accounts. (users.generateToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_UserToken + */ + public function generateToken($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken"); + } + /** + * Retrieves a user's details. (users.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function get($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User"); + } + /** + * Retrieves the set of products a user is entitled to access. + * (users.getAvailableProductSet) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductSet + */ + public function getAvailableProductSet($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet"); + } + /** + * Creates a new EMM-managed user. + * + * The Users resource passed in the body of the request should include an + * accountIdentifier and an accountType. If a corresponding user already exists + * with the same account identifier, the user will be updated with the resource. + * In this case only the displayName field can be changed. (users.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Service_AndroidEnterprise_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function insert($enterpriseId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_User"); + } + /** + * Looks up a user by primary email address. This is only supported for Google- + * managed users. Lookup of the id is not needed for EMM-managed users because + * the id is already returned in the result of the Users.insert call. + * (users.listUsers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $email The exact primary email address of the user to look up. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_UsersListResponse + */ + public function listUsers($enterpriseId, $email, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'email' => $email); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse"); + } + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the + * new details in the Users resource in the request body. Only the displayName + * field can be changed. Other fields must either be unset or have the currently + * active value. This method supports patch semantics. (users.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param Google_Service_AndroidEnterprise_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function patch($enterpriseId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User"); + } + /** + * Revokes a previously generated token (activation code) for the user. + * (users.revokeToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + */ + public function revokeToken($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('revokeToken', array($params)); + } + /** + * Modifies the set of products that a user is entitled to access (referred to + * as whitelisted products). Only products that are approved or products that + * were previously approved (products with revoked approval) can be whitelisted. + * (users.setAvailableProductSet) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param Google_Service_AndroidEnterprise_ProductSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductSet + */ + public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet"); + } + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the + * new details in the Users resource in the request body. Only the displayName + * field can be changed. Other fields must either be unset or have the currently + * active value. (users.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param Google_Service_AndroidEnterprise_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function update($enterpriseId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php new file mode 100644 index 00000000..e1746570 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccount.php @@ -0,0 +1,49 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php new file mode 100644 index 00000000..41b182df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKey.php @@ -0,0 +1,66 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublicData($publicData) + { + $this->publicData = $publicData; + } + public function getPublicData() + { + return $this->publicData; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php new file mode 100644 index 00000000..5e336a24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/ServiceAccountKeysListResponse.php @@ -0,0 +1,32 @@ +serviceAccountKey = $serviceAccountKey; + } + public function getServiceAccountKey() + { + return $this->serviceAccountKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php new file mode 100644 index 00000000..20dc18e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/SignupInfo.php @@ -0,0 +1,48 @@ +completionToken = $completionToken; + } + public function getCompletionToken() + { + return $this->completionToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php new file mode 100644 index 00000000..bfca3515 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreCluster.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrderInPage($orderInPage) + { + $this->orderInPage = $orderInPage; + } + public function getOrderInPage() + { + return $this->orderInPage; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php new file mode 100644 index 00000000..faf25c1a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayout.php @@ -0,0 +1,48 @@ +homepageId = $homepageId; + } + public function getHomepageId() + { + return $this->homepageId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStoreLayoutType($storeLayoutType) + { + $this->storeLayoutType = $storeLayoutType; + } + public function getStoreLayoutType() + { + return $this->storeLayoutType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php new file mode 100644 index 00000000..553f3ab0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutClustersListResponse.php @@ -0,0 +1,41 @@ +cluster = $cluster; + } + public function getCluster() + { + return $this->cluster; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php new file mode 100644 index 00000000..c47c3374 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StoreLayoutPagesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPage($page) + { + $this->page = $page; + } + public function getPage() + { + return $this->page; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php new file mode 100644 index 00000000..bee78374 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/StorePage.php @@ -0,0 +1,59 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php new file mode 100644 index 00000000..69fc8175 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/TokenPagination.php @@ -0,0 +1,39 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php new file mode 100644 index 00000000..60ed8dbf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/User.php @@ -0,0 +1,84 @@ +accountIdentifier = $accountIdentifier; + } + public function getAccountIdentifier() + { + return $this->accountIdentifier; + } + public function setAccountType($accountType) + { + $this->accountType = $accountType; + } + public function getAccountType() + { + return $this->accountType; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagementType($managementType) + { + $this->managementType = $managementType; + } + public function getManagementType() + { + return $this->managementType; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php new file mode 100644 index 00000000..fd511dc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UserToken.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php new file mode 100644 index 00000000..b680ded9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidEnterprise/UsersListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php new file mode 100644 index 00000000..8aba4482 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher.php @@ -0,0 +1,1347 @@ + + * Lets Android application developers access their Google Play accounts.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AndroidPublisher extends Google_Service +{ + /** View and manage your Google Play Developer account. */ + const ANDROIDPUBLISHER = + "https://www.googleapis.com/auth/androidpublisher"; + + public $edits; + public $edits_apklistings; + public $edits_apks; + public $edits_deobfuscationfiles; + public $edits_details; + public $edits_expansionfiles; + public $edits_images; + public $edits_listings; + public $edits_testers; + public $edits_tracks; + public $entitlements; + public $inappproducts; + public $purchases_products; + public $purchases_subscriptions; + public $purchases_voidedpurchases; + public $reviews; + + /** + * Constructs the internal representation of the AndroidPublisher service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'androidpublisher/v2/applications/'; + $this->version = 'v2'; + $this->serviceName = 'androidpublisher'; + + $this->edits = new Google_Service_AndroidPublisher_Resource_Edits( + $this, + $this->serviceName, + 'edits', + array( + 'methods' => array( + 'commit' => array( + 'path' => '{packageName}/edits/{editId}:commit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{packageName}/edits/{editId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{packageName}/edits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'validate' => array( + 'path' => '{packageName}/edits/{editId}:validate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_apklistings = new Google_Service_AndroidPublisher_Resource_EditsApklistings( + $this, + $this->serviceName, + 'apklistings', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_apks = new Google_Service_AndroidPublisher_Resource_EditsApks( + $this, + $this->serviceName, + 'apks', + array( + 'methods' => array( + 'addexternallyhosted' => array( + 'path' => '{packageName}/edits/{editId}/apks/externallyHosted', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/apks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/apks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_deobfuscationfiles = new Google_Service_AndroidPublisher_Resource_EditsDeobfuscationfiles( + $this, + $this->serviceName, + 'deobfuscationfiles', + array( + 'methods' => array( + 'upload' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'deobfuscationFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_details = new Google_Service_AndroidPublisher_Resource_EditsDetails( + $this, + $this->serviceName, + 'details', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_expansionfiles = new Google_Service_AndroidPublisher_Resource_EditsExpansionfiles( + $this, + $this->serviceName, + 'expansionfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_images = new Google_Service_AndroidPublisher_Resource_EditsImages( + $this, + $this->serviceName, + 'images', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_listings = new Google_Service_AndroidPublisher_Resource_EditsListings( + $this, + $this->serviceName, + 'listings', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/listings', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/listings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_testers = new Google_Service_AndroidPublisher_Resource_EditsTesters( + $this, + $this->serviceName, + 'testers', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_tracks = new Google_Service_AndroidPublisher_Resource_EditsTracks( + $this, + $this->serviceName, + 'tracks', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/tracks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->entitlements = new Google_Service_AndroidPublisher_Resource_Entitlements( + $this, + $this->serviceName, + 'entitlements', + array( + 'methods' => array( + 'list' => array( + 'path' => '{packageName}/entitlements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'productId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->inappproducts = new Google_Service_AndroidPublisher_Resource_Inappproducts( + $this, + $this->serviceName, + 'inappproducts', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'inappproducts/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{packageName}/inappproducts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{packageName}/inappproducts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->purchases_products = new Google_Service_AndroidPublisher_Resource_PurchasesProducts( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->purchases_subscriptions = new Google_Service_AndroidPublisher_Resource_PurchasesSubscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'cancel' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'defer' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'refund' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revoke' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->purchases_voidedpurchases = new Google_Service_AndroidPublisher_Resource_PurchasesVoidedpurchases( + $this, + $this->serviceName, + 'voidedpurchases', + array( + 'methods' => array( + 'list' => array( + 'path' => '{packageName}/purchases/voidedpurchases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->reviews = new Google_Service_AndroidPublisher_Resource_Reviews( + $this, + $this->serviceName, + 'reviews', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/reviews/{reviewId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reviewId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'translationLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{packageName}/reviews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'translationLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reply' => array( + 'path' => '{packageName}/reviews/{reviewId}:reply', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reviewId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php new file mode 100644 index 00000000..25b7a54b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Apk.php @@ -0,0 +1,40 @@ +binary = $binary; + } + public function getBinary() + { + return $this->binary; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php new file mode 100644 index 00000000..713000e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkBinary.php @@ -0,0 +1,30 @@ +sha1 = $sha1; + } + public function getSha1() + { + return $this->sha1; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php new file mode 100644 index 00000000..ee624744 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListing.php @@ -0,0 +1,39 @@ +language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setRecentChanges($recentChanges) + { + $this->recentChanges = $recentChanges; + } + public function getRecentChanges() + { + return $this->recentChanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php new file mode 100644 index 00000000..d9adb37a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApkListingsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php new file mode 100644 index 00000000..d7ca9cd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedRequest.php @@ -0,0 +1,31 @@ +externallyHostedApk = $externallyHostedApk; + } + public function getExternallyHostedApk() + { + return $this->externallyHostedApk; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php new file mode 100644 index 00000000..2829511e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksAddExternallyHostedResponse.php @@ -0,0 +1,31 @@ +externallyHostedApk = $externallyHostedApk; + } + public function getExternallyHostedApk() + { + return $this->externallyHostedApk; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php new file mode 100644 index 00000000..040a7459 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ApksListResponse.php @@ -0,0 +1,41 @@ +apks = $apks; + } + public function getApks() + { + return $this->apks; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php new file mode 100644 index 00000000..6fe56b02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppDetails.php @@ -0,0 +1,57 @@ +contactEmail = $contactEmail; + } + public function getContactEmail() + { + return $this->contactEmail; + } + public function setContactPhone($contactPhone) + { + $this->contactPhone = $contactPhone; + } + public function getContactPhone() + { + return $this->contactPhone; + } + public function setContactWebsite($contactWebsite) + { + $this->contactWebsite = $contactWebsite; + } + public function getContactWebsite() + { + return $this->contactWebsite; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php new file mode 100644 index 00000000..4175f551 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/AppEdit.php @@ -0,0 +1,39 @@ +expiryTimeSeconds = $expiryTimeSeconds; + } + public function getExpiryTimeSeconds() + { + return $this->expiryTimeSeconds; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php new file mode 100644 index 00000000..dab712f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Comment.php @@ -0,0 +1,41 @@ +developerComment = $developerComment; + } + public function getDeveloperComment() + { + return $this->developerComment; + } + public function setUserComment(Google_Service_AndroidPublisher_UserComment $userComment) + { + $this->userComment = $userComment; + } + public function getUserComment() + { + return $this->userComment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php new file mode 100644 index 00000000..9c3389b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFile.php @@ -0,0 +1,30 @@ +symbolType = $symbolType; + } + public function getSymbolType() + { + return $this->symbolType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php new file mode 100644 index 00000000..598ce394 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeobfuscationFilesUploadResponse.php @@ -0,0 +1,31 @@ +deobfuscationFile = $deobfuscationFile; + } + public function getDeobfuscationFile() + { + return $this->deobfuscationFile; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php new file mode 100644 index 00000000..5686bf9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeveloperComment.php @@ -0,0 +1,40 @@ +lastModified = $lastModified; + } + public function getLastModified() + { + return $this->lastModified; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php new file mode 100644 index 00000000..ebd0036f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/DeviceMetadata.php @@ -0,0 +1,120 @@ +cpuMake = $cpuMake; + } + public function getCpuMake() + { + return $this->cpuMake; + } + public function setCpuModel($cpuModel) + { + $this->cpuModel = $cpuModel; + } + public function getCpuModel() + { + return $this->cpuModel; + } + public function setDeviceClass($deviceClass) + { + $this->deviceClass = $deviceClass; + } + public function getDeviceClass() + { + return $this->deviceClass; + } + public function setGlEsVersion($glEsVersion) + { + $this->glEsVersion = $glEsVersion; + } + public function getGlEsVersion() + { + return $this->glEsVersion; + } + public function setManufacturer($manufacturer) + { + $this->manufacturer = $manufacturer; + } + public function getManufacturer() + { + return $this->manufacturer; + } + public function setNativePlatform($nativePlatform) + { + $this->nativePlatform = $nativePlatform; + } + public function getNativePlatform() + { + return $this->nativePlatform; + } + public function setProductName($productName) + { + $this->productName = $productName; + } + public function getProductName() + { + return $this->productName; + } + public function setRamMb($ramMb) + { + $this->ramMb = $ramMb; + } + public function getRamMb() + { + return $this->ramMb; + } + public function setScreenDensityDpi($screenDensityDpi) + { + $this->screenDensityDpi = $screenDensityDpi; + } + public function getScreenDensityDpi() + { + return $this->screenDensityDpi; + } + public function setScreenHeightPx($screenHeightPx) + { + $this->screenHeightPx = $screenHeightPx; + } + public function getScreenHeightPx() + { + return $this->screenHeightPx; + } + public function setScreenWidthPx($screenWidthPx) + { + $this->screenWidthPx = $screenWidthPx; + } + public function getScreenWidthPx() + { + return $this->screenWidthPx; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php new file mode 100644 index 00000000..79a76811 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Entitlement.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductType($productType) + { + $this->productType = $productType; + } + public function getProductType() + { + return $this->productType; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php new file mode 100644 index 00000000..c6ba8213 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/EntitlementsListResponse.php @@ -0,0 +1,52 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php new file mode 100644 index 00000000..32635979 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFile.php @@ -0,0 +1,39 @@ +fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setReferencesVersion($referencesVersion) + { + $this->referencesVersion = $referencesVersion; + } + public function getReferencesVersion() + { + return $this->referencesVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php new file mode 100644 index 00000000..b53010d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExpansionFilesUploadResponse.php @@ -0,0 +1,31 @@ +expansionFile = $expansionFile; + } + public function getExpansionFile() + { + return $this->expansionFile; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php new file mode 100644 index 00000000..1f4bc1c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApk.php @@ -0,0 +1,158 @@ +applicationLabel = $applicationLabel; + } + public function getApplicationLabel() + { + return $this->applicationLabel; + } + public function setCertificateBase64s($certificateBase64s) + { + $this->certificateBase64s = $certificateBase64s; + } + public function getCertificateBase64s() + { + return $this->certificateBase64s; + } + public function setExternallyHostedUrl($externallyHostedUrl) + { + $this->externallyHostedUrl = $externallyHostedUrl; + } + public function getExternallyHostedUrl() + { + return $this->externallyHostedUrl; + } + public function setFileSha1Base64($fileSha1Base64) + { + $this->fileSha1Base64 = $fileSha1Base64; + } + public function getFileSha1Base64() + { + return $this->fileSha1Base64; + } + public function setFileSha256Base64($fileSha256Base64) + { + $this->fileSha256Base64 = $fileSha256Base64; + } + public function getFileSha256Base64() + { + return $this->fileSha256Base64; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setIconBase64($iconBase64) + { + $this->iconBase64 = $iconBase64; + } + public function getIconBase64() + { + return $this->iconBase64; + } + public function setMaximumSdk($maximumSdk) + { + $this->maximumSdk = $maximumSdk; + } + public function getMaximumSdk() + { + return $this->maximumSdk; + } + public function setMinimumSdk($minimumSdk) + { + $this->minimumSdk = $minimumSdk; + } + public function getMinimumSdk() + { + return $this->minimumSdk; + } + public function setNativeCodes($nativeCodes) + { + $this->nativeCodes = $nativeCodes; + } + public function getNativeCodes() + { + return $this->nativeCodes; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setUsesFeatures($usesFeatures) + { + $this->usesFeatures = $usesFeatures; + } + public function getUsesFeatures() + { + return $this->usesFeatures; + } + public function setUsesPermissions($usesPermissions) + { + $this->usesPermissions = $usesPermissions; + } + public function getUsesPermissions() + { + return $this->usesPermissions; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php new file mode 100644 index 00000000..27fd1b00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ExternallyHostedApkUsesPermission.php @@ -0,0 +1,39 @@ +maxSdkVersion = $maxSdkVersion; + } + public function getMaxSdkVersion() + { + return $this->maxSdkVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php new file mode 100644 index 00000000..269ceb7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Image.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setSha1($sha1) + { + $this->sha1 = $sha1; + } + public function getSha1() + { + return $this->sha1; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php new file mode 100644 index 00000000..7d2fcf3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesDeleteAllResponse.php @@ -0,0 +1,32 @@ +deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php new file mode 100644 index 00000000..740f9a04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesListResponse.php @@ -0,0 +1,32 @@ +images = $images; + } + public function getImages() + { + return $this->images; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php new file mode 100644 index 00000000..1e8514b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ImagesUploadResponse.php @@ -0,0 +1,31 @@ +image = $image; + } + public function getImage() + { + return $this->image; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php new file mode 100644 index 00000000..c4c503b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProduct.php @@ -0,0 +1,124 @@ +defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice) + { + $this->defaultPrice = $defaultPrice; + } + public function getDefaultPrice() + { + return $this->defaultPrice; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPrices($prices) + { + $this->prices = $prices; + } + public function getPrices() + { + return $this->prices; + } + public function setPurchaseType($purchaseType) + { + $this->purchaseType = $purchaseType; + } + public function getPurchaseType() + { + return $this->purchaseType; + } + public function setSeason(Google_Service_AndroidPublisher_Season $season) + { + $this->season = $season; + } + public function getSeason() + { + return $this->season; + } + public function setSku($sku) + { + $this->sku = $sku; + } + public function getSku() + { + return $this->sku; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubscriptionPeriod($subscriptionPeriod) + { + $this->subscriptionPeriod = $subscriptionPeriod; + } + public function getSubscriptionPeriod() + { + return $this->subscriptionPeriod; + } + public function setTrialPeriod($trialPeriod) + { + $this->trialPeriod = $trialPeriod; + } + public function getTrialPeriod() + { + return $this->trialPeriod; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php new file mode 100644 index 00000000..1c3388b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InAppProductListing.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php new file mode 100644 index 00000000..6ab8fa5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequest.php @@ -0,0 +1,32 @@ +entrys = $entrys; + } + public function getEntrys() + { + return $this->entrys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php new file mode 100644 index 00000000..8677b014 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchRequestEntry.php @@ -0,0 +1,59 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest) + { + $this->inappproductsinsertrequest = $inappproductsinsertrequest; + } + public function getInappproductsinsertrequest() + { + return $this->inappproductsinsertrequest; + } + public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest) + { + $this->inappproductsupdaterequest = $inappproductsupdaterequest; + } + public function getInappproductsupdaterequest() + { + return $this->inappproductsupdaterequest; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php new file mode 100644 index 00000000..324864ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponse.php @@ -0,0 +1,41 @@ +entrys = $entrys; + } + public function getEntrys() + { + return $this->entrys; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php new file mode 100644 index 00000000..ed82acc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsBatchResponseEntry.php @@ -0,0 +1,50 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse) + { + $this->inappproductsinsertresponse = $inappproductsinsertresponse; + } + public function getInappproductsinsertresponse() + { + return $this->inappproductsinsertresponse; + } + public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse) + { + $this->inappproductsupdateresponse = $inappproductsupdateresponse; + } + public function getInappproductsupdateresponse() + { + return $this->inappproductsupdateresponse; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php new file mode 100644 index 00000000..ed15881c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertRequest.php @@ -0,0 +1,31 @@ +inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php new file mode 100644 index 00000000..079e375c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsInsertResponse.php @@ -0,0 +1,31 @@ +inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php new file mode 100644 index 00000000..a6ee8471 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsListResponse.php @@ -0,0 +1,61 @@ +inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php new file mode 100644 index 00000000..35647417 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateRequest.php @@ -0,0 +1,31 @@ +inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php new file mode 100644 index 00000000..6966db8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/InappproductsUpdateResponse.php @@ -0,0 +1,31 @@ +inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php new file mode 100644 index 00000000..97677c40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Listing.php @@ -0,0 +1,66 @@ +fullDescription = $fullDescription; + } + public function getFullDescription() + { + return $this->fullDescription; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setShortDescription($shortDescription) + { + $this->shortDescription = $shortDescription; + } + public function getShortDescription() + { + return $this->shortDescription; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVideo($video) + { + $this->video = $video; + } + public function getVideo() + { + return $this->video; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php new file mode 100644 index 00000000..5f864bbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ListingsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php new file mode 100644 index 00000000..cb2e1ec9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/MonthDay.php @@ -0,0 +1,39 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php new file mode 100644 index 00000000..18ba5507 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/PageInfo.php @@ -0,0 +1,48 @@ +resultPerPage = $resultPerPage; + } + public function getResultPerPage() + { + return $this->resultPerPage; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php new file mode 100644 index 00000000..211e5744 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Price.php @@ -0,0 +1,39 @@ +currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setPriceMicros($priceMicros) + { + $this->priceMicros = $priceMicros; + } + public function getPriceMicros() + { + return $this->priceMicros; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php new file mode 100644 index 00000000..f4cc2aae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ProductPurchase.php @@ -0,0 +1,66 @@ +consumptionState = $consumptionState; + } + public function getConsumptionState() + { + return $this->consumptionState; + } + public function setDeveloperPayload($developerPayload) + { + $this->developerPayload = $developerPayload; + } + public function getDeveloperPayload() + { + return $this->developerPayload; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPurchaseState($purchaseState) + { + $this->purchaseState = $purchaseState; + } + public function getPurchaseState() + { + return $this->purchaseState; + } + public function setPurchaseTimeMillis($purchaseTimeMillis) + { + $this->purchaseTimeMillis = $purchaseTimeMillis; + } + public function getPurchaseTimeMillis() + { + return $this->purchaseTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php new file mode 100644 index 00000000..099f6a0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Prorate.php @@ -0,0 +1,41 @@ +defaultPrice = $defaultPrice; + } + public function getDefaultPrice() + { + return $this->defaultPrice; + } + public function setStart(Google_Service_AndroidPublisher_MonthDay $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php new file mode 100644 index 00000000..717e239c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Edits.php @@ -0,0 +1,107 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $edits = $androidpublisherService->edits; + * + */ +class Google_Service_AndroidPublisher_Resource_Edits extends Google_Service_Resource +{ + /** + * Commits/applies the changes made in this edit back to the app. (edits.commit) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function commit($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + /** + * Deletes an edit for an app. Creating a new edit will automatically delete any + * of your previous edits so this method need only be called if you want to + * preemptively abandon an edit. (edits.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns information about the edit specified. Calls will fail if the edit is + * no long active (e.g. has been deleted, superseded or expired). (edits.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function get($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + /** + * Creates a new edit for an app, populated with the app's current state. + * (edits.insert) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param Google_Service_AndroidPublisher_AppEdit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + /** + * Checks that the edit can be successfully committed. The edit's changes are + * not applied to the live app. (edits.validate) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function validate($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('validate', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php new file mode 100644 index 00000000..ede1af67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApklistings.php @@ -0,0 +1,148 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $apklistings = $androidpublisherService->apklistings; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsApklistings extends Google_Service_Resource +{ + /** + * Deletes the APK-specific localized listing for a specified APK and language + * code. (apklistings.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Deletes all the APK-specific localized listings for a specified APK. + * (apklistings.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param array $optParams Optional parameters. + */ + public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params)); + } + /** + * Fetches the APK-specific localized listing for a specified APK and language + * code. (apklistings.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } + /** + * Lists all the APK-specific localized listings for a specified APK. + * (apklistings.listEditsApklistings) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListingsListResponse + */ + public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse"); + } + /** + * Updates or creates the APK-specific localized listing for a specified APK and + * language code. This method supports patch semantics. (apklistings.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param Google_Service_AndroidPublisher_ApkListing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } + /** + * Updates or creates the APK-specific localized listing for a specified APK and + * language code. (apklistings.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param Google_Service_AndroidPublisher_ApkListing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php new file mode 100644 index 00000000..a26caa6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsApks.php @@ -0,0 +1,77 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $apks = $androidpublisherService->apks; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsApks extends Google_Service_Resource +{ + /** + * Creates a new APK without uploading the APK itself to Google Play, instead + * hosting the APK at a specified URL. This function is only available to + * enterprises using Google Play for Work whose application is configured to + * restrict distribution to the enterprise domain. (apks.addexternallyhosted) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse + */ + public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse"); + } + /** + * (apks.listEditsApks) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApksListResponse + */ + public function listEditsApks($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse"); + } + /** + * (apks.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Apk + */ + public function upload($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php new file mode 100644 index 00000000..b8b46996 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDeobfuscationfiles.php @@ -0,0 +1,47 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $deobfuscationfiles = $androidpublisherService->deobfuscationfiles; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsDeobfuscationfiles extends Google_Service_Resource +{ + /** + * Uploads the deobfuscation file of the specified APK. If a deobfuscation file + * already exists, it will be replaced. (deobfuscationfiles.upload) + * + * @param string $packageName Unique identifier of the Android app for which the + * deobfuscatiuon files are being uploaded; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose deobfuscation + * file is being uploaded. + * @param string $deobfuscationFileType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse + */ + public function upload($packageName, $editId, $apkVersionCode, $deobfuscationFileType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'deobfuscationFileType' => $deobfuscationFileType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php new file mode 100644 index 00000000..2c0e2385 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsDetails.php @@ -0,0 +1,77 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $details = $androidpublisherService->details; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsDetails extends Google_Service_Resource +{ + /** + * Fetches app details for this edit. This includes the default language and + * developer support contact information. (details.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function get($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } + /** + * Updates app details for this edit. This method supports patch semantics. + * (details.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_Service_AndroidPublisher_AppDetails $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } + /** + * Updates app details for this edit. (details.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_Service_AndroidPublisher_AppDetails $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php new file mode 100644 index 00000000..62e23a01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsExpansionfiles.php @@ -0,0 +1,108 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $expansionfiles = $androidpublisherService->expansionfiles; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsExpansionfiles extends Google_Service_Resource +{ + /** + * Fetches the Expansion File configuration for the APK specified. + * (expansionfiles.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + /** + * Updates the APK's Expansion File configuration to reference another APK's + * Expansion Files. To add a new Expansion File use the Upload method. This + * method supports patch semantics. (expansionfiles.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param Google_Service_AndroidPublisher_ExpansionFile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + /** + * Updates the APK's Expansion File configuration to reference another APK's + * Expansion Files. To add a new Expansion File use the Upload method. + * (expansionfiles.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param Google_Service_AndroidPublisher_ExpansionFile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + /** + * Uploads and attaches a new Expansion File to the APK specified. + * (expansionfiles.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse + */ + public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php new file mode 100644 index 00000000..769e6984 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsImages.php @@ -0,0 +1,108 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $images = $androidpublisherService->images; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsImages extends Google_Service_Resource +{ + /** + * Deletes the image (specified by id) from the edit. (images.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param string $imageId Unique identifier an image within the set of images + * attached to this edit. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Deletes all images for the specified language and image type. + * (images.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse + */ + public function deleteall($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse"); + } + /** + * Lists all images for the specified language and image type. + * (images.listEditsImages) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesListResponse + */ + public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse"); + } + /** + * Uploads a new image and adds it to the list of images for the specified + * language and image type. (images.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesUploadResponse + */ + public function upload($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php new file mode 100644 index 00000000..4cda2f67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsListings.php @@ -0,0 +1,132 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $listings = $androidpublisherService->listings; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsListings extends Google_Service_Resource +{ + /** + * Deletes the specified localized store listing from an edit. (listings.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Deletes all localized listings from an edit. (listings.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + */ + public function deleteall($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params)); + } + /** + * Fetches information about a localized store listing. (listings.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function get($packageName, $editId, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing"); + } + /** + * Returns all of the localized store listings attached to this edit. + * (listings.listEditsListings) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ListingsListResponse + */ + public function listEditsListings($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse"); + } + /** + * Creates or updates a localized store listing. This method supports patch + * semantics. (listings.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param Google_Service_AndroidPublisher_Listing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing"); + } + /** + * Creates or updates a localized store listing. (listings.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param Google_Service_AndroidPublisher_Listing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php new file mode 100644 index 00000000..66a3a1a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTesters.php @@ -0,0 +1,78 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $testers = $androidpublisherService->testers; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsTesters extends Google_Service_Resource +{ + /** + * (testers.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function get($packageName, $editId, $track, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers"); + } + /** + * (testers.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param Google_Service_AndroidPublisher_Testers $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers"); + } + /** + * (testers.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param Google_Service_AndroidPublisher_Testers $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php new file mode 100644 index 00000000..be15dfea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/EditsTracks.php @@ -0,0 +1,99 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $tracks = $androidpublisherService->tracks; + * + */ +class Google_Service_AndroidPublisher_Resource_EditsTracks extends Google_Service_Resource +{ + /** + * Fetches the track configuration for the specified track type. Includes the + * APK version codes that are in this track. (tracks.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function get($packageName, $editId, $track, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track"); + } + /** + * Lists all the track configurations for this edit. (tracks.listEditsTracks) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_TracksListResponse + */ + public function listEditsTracks($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse"); + } + /** + * Updates the track configuration for the specified track type. When halted, + * the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. This method supports patch semantics. + * (tracks.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param Google_Service_AndroidPublisher_Track $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track"); + } + /** + * Updates the track configuration for the specified track type. When halted, + * the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. (tracks.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param Google_Service_AndroidPublisher_Track $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php new file mode 100644 index 00000000..690e7c39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Entitlements.php @@ -0,0 +1,49 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $entitlements = $androidpublisherService->entitlements; + * + */ +class Google_Service_AndroidPublisher_Resource_Entitlements extends Google_Service_Resource +{ + /** + * Lists the user's current inapp item or subscription entitlements + * (entitlements.listEntitlements) + * + * @param string $packageName The package name of the application the inapp + * product was sold in (for example, 'com.some.thing'). + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string productId The product id of the inapp product (for example, + * 'sku1'). This can be used to restrict the result set. + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_AndroidPublisher_EntitlementsListResponse + */ + public function listEntitlements($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php new file mode 100644 index 00000000..ec0c356e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Inappproducts.php @@ -0,0 +1,151 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $inappproducts = $androidpublisherService->inappproducts; + * + */ +class Google_Service_AndroidPublisher_Resource_Inappproducts extends Google_Service_Resource +{ + /** + * (inappproducts.batch) + * + * @param Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_InappproductsBatchResponse + */ + public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse"); + } + /** + * Delete an in-app product for an app. (inappproducts.delete) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $sku, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns information about the in-app product specified. (inappproducts.get) + * + * @param string $packageName + * @param string $sku Unique identifier for the in-app product. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function get($packageName, $sku, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + /** + * Creates a new in-app product for an app. (inappproducts.insert) + * + * @param string $packageName Unique identifier for the Android app; for + * example, "com.spiffygame". + * @param Google_Service_AndroidPublisher_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + /** + * List all the in-app products for an Android app, both subscriptions and + * managed in-app products.. (inappproducts.listInappproducts) + * + * @param string $packageName Unique identifier for the Android app with in-app + * products; for example, "com.spiffygame". + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_AndroidPublisher_InappproductsListResponse + */ + public function listInappproducts($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse"); + } + /** + * Updates the details of an in-app product. This method supports patch + * semantics. (inappproducts.patch) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param Google_Service_AndroidPublisher_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + /** + * Updates the details of an in-app product. (inappproducts.update) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param Google_Service_AndroidPublisher_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php new file mode 100644 index 00000000..65eee4b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Purchases.php @@ -0,0 +1,28 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $purchases = $androidpublisherService->purchases; + * + */ +class Google_Service_AndroidPublisher_Resource_Purchases extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php new file mode 100644 index 00000000..6dd82da9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php @@ -0,0 +1,46 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $products = $androidpublisherService->products; + * + */ +class Google_Service_AndroidPublisher_Resource_PurchasesProducts extends Google_Service_Resource +{ + /** + * Checks the purchase and consumption status of an inapp item. (products.get) + * + * @param string $packageName The package name of the application the inapp + * product was sold in (for example, 'com.some.thing'). + * @param string $productId The inapp product SKU (for example, + * 'com.some.thing.inapp1'). + * @param string $token The token provided to the user's device when the inapp + * product was purchased. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ProductPurchase + */ + public function get($packageName, $productId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php new file mode 100644 index 00000000..e128594a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesSubscriptions.php @@ -0,0 +1,123 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $subscriptions = $androidpublisherService->subscriptions; + * + */ +class Google_Service_AndroidPublisher_Resource_PurchasesSubscriptions extends Google_Service_Resource +{ + /** + * Cancels a user's subscription purchase. The subscription remains valid until + * its expiration time. (subscriptions.cancel) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function cancel($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params)); + } + /** + * Defers a user's subscription purchase until a specified future expiration + * time. (subscriptions.defer) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse + */ + public function defer($packageName, $subscriptionId, $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('defer', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse"); + } + /** + * Checks whether a user's subscription purchase is valid and returns its expiry + * time. (subscriptions.get) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_SubscriptionPurchase + */ + public function get($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase"); + } + /** + * Refunds a user's subscription purchase, but the subscription remains valid + * until its expiration time and it will continue to recur. + * (subscriptions.refund) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function refund($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('refund', array($params)); + } + /** + * Refunds and immediately revokes a user's subscription purchase. Access to the + * subscription will be terminated immediately and it will stop recurring. + * (subscriptions.revoke) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function revoke($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('revoke', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php new file mode 100644 index 00000000..ea1f4271 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/PurchasesVoidedpurchases.php @@ -0,0 +1,55 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $voidedpurchases = $androidpublisherService->voidedpurchases; + * + */ +class Google_Service_AndroidPublisher_Resource_PurchasesVoidedpurchases extends Google_Service_Resource +{ + /** + * Lists the purchases that were cancelled, refunded or charged-back. + * (voidedpurchases.listPurchasesVoidedpurchases) + * + * @param string $packageName The package name of the application for which + * voided purchases need to be returned (for example, 'com.some.thing'). + * @param array $optParams Optional parameters. + * + * @opt_param string endTime The time, in milliseconds since the Epoch, of the + * newest voided in-app product purchase that you want to see in the response. + * The value of this parameter cannot be greater than the current time and is + * ignored if a pagination token is set. Default value is current time. + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string startTime The time, in milliseconds since the Epoch, of the + * oldest voided in-app product purchase that you want to see in the response. + * The value of this parameter cannot be older than 30 days and is ignored if a + * pagination token is set. Default value is current time minus 30 days. + * @opt_param string token + * @return Google_Service_AndroidPublisher_VoidedPurchasesListResponse + */ + public function listPurchasesVoidedpurchases($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_VoidedPurchasesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php new file mode 100644 index 00000000..c1fa3c6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Resource/Reviews.php @@ -0,0 +1,81 @@ + + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $reviews = $androidpublisherService->reviews; + * + */ +class Google_Service_AndroidPublisher_Resource_Reviews extends Google_Service_Resource +{ + /** + * Returns a single review. (reviews.get) + * + * @param string $packageName Unique identifier for the Android app for which we + * want reviews; for example, "com.spiffygame". + * @param string $reviewId + * @param array $optParams Optional parameters. + * + * @opt_param string translationLanguage + * @return Google_Service_AndroidPublisher_Review + */ + public function get($packageName, $reviewId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'reviewId' => $reviewId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Review"); + } + /** + * Returns a list of reviews. Only reviews from last week will be returned. + * (reviews.listReviews) + * + * @param string $packageName Unique identifier for the Android app for which we + * want reviews; for example, "com.spiffygame". + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @opt_param string translationLanguage + * @return Google_Service_AndroidPublisher_ReviewsListResponse + */ + public function listReviews($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ReviewsListResponse"); + } + /** + * Reply to a single review, or update an existing reply. (reviews.reply) + * + * @param string $packageName Unique identifier for the Android app for which we + * want reviews; for example, "com.spiffygame". + * @param string $reviewId + * @param Google_Service_AndroidPublisher_ReviewsReplyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ReviewsReplyResponse + */ + public function reply($packageName, $reviewId, Google_Service_AndroidPublisher_ReviewsReplyRequest $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'reviewId' => $reviewId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reply', array($params), "Google_Service_AndroidPublisher_ReviewsReplyResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php new file mode 100644 index 00000000..c7daff3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Review.php @@ -0,0 +1,50 @@ +authorName = $authorName; + } + public function getAuthorName() + { + return $this->authorName; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setReviewId($reviewId) + { + $this->reviewId = $reviewId; + } + public function getReviewId() + { + return $this->reviewId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php new file mode 100644 index 00000000..5cb8c3aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewReplyResult.php @@ -0,0 +1,40 @@ +lastEdited = $lastEdited; + } + public function getLastEdited() + { + return $this->lastEdited; + } + public function setReplyText($replyText) + { + $this->replyText = $replyText; + } + public function getReplyText() + { + return $this->replyText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php new file mode 100644 index 00000000..04a61eeb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsListResponse.php @@ -0,0 +1,52 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setReviews($reviews) + { + $this->reviews = $reviews; + } + public function getReviews() + { + return $this->reviews; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php new file mode 100644 index 00000000..11f528fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyRequest.php @@ -0,0 +1,30 @@ +replyText = $replyText; + } + public function getReplyText() + { + return $this->replyText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php new file mode 100644 index 00000000..62351a8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/ReviewsReplyResponse.php @@ -0,0 +1,31 @@ +result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php new file mode 100644 index 00000000..db476a3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Season.php @@ -0,0 +1,52 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setProrations($prorations) + { + $this->prorations = $prorations; + } + public function getProrations() + { + return $this->prorations; + } + public function setStart(Google_Service_AndroidPublisher_MonthDay $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php new file mode 100644 index 00000000..134df222 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionDeferralInfo.php @@ -0,0 +1,39 @@ +desiredExpiryTimeMillis = $desiredExpiryTimeMillis; + } + public function getDesiredExpiryTimeMillis() + { + return $this->desiredExpiryTimeMillis; + } + public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis) + { + $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis; + } + public function getExpectedExpiryTimeMillis() + { + return $this->expectedExpiryTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php new file mode 100644 index 00000000..81dc85e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchase.php @@ -0,0 +1,120 @@ +autoRenewing = $autoRenewing; + } + public function getAutoRenewing() + { + return $this->autoRenewing; + } + public function setCancelReason($cancelReason) + { + $this->cancelReason = $cancelReason; + } + public function getCancelReason() + { + return $this->cancelReason; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setDeveloperPayload($developerPayload) + { + $this->developerPayload = $developerPayload; + } + public function getDeveloperPayload() + { + return $this->developerPayload; + } + public function setExpiryTimeMillis($expiryTimeMillis) + { + $this->expiryTimeMillis = $expiryTimeMillis; + } + public function getExpiryTimeMillis() + { + return $this->expiryTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPaymentState($paymentState) + { + $this->paymentState = $paymentState; + } + public function getPaymentState() + { + return $this->paymentState; + } + public function setPriceAmountMicros($priceAmountMicros) + { + $this->priceAmountMicros = $priceAmountMicros; + } + public function getPriceAmountMicros() + { + return $this->priceAmountMicros; + } + public function setPriceCurrencyCode($priceCurrencyCode) + { + $this->priceCurrencyCode = $priceCurrencyCode; + } + public function getPriceCurrencyCode() + { + return $this->priceCurrencyCode; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } + public function setUserCancellationTimeMillis($userCancellationTimeMillis) + { + $this->userCancellationTimeMillis = $userCancellationTimeMillis; + } + public function getUserCancellationTimeMillis() + { + return $this->userCancellationTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php new file mode 100644 index 00000000..3f873760 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferRequest.php @@ -0,0 +1,31 @@ +deferralInfo = $deferralInfo; + } + public function getDeferralInfo() + { + return $this->deferralInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php new file mode 100644 index 00000000..afdeda31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/SubscriptionPurchasesDeferResponse.php @@ -0,0 +1,30 @@ +newExpiryTimeMillis = $newExpiryTimeMillis; + } + public function getNewExpiryTimeMillis() + { + return $this->newExpiryTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php new file mode 100644 index 00000000..0d9dd02a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Testers.php @@ -0,0 +1,40 @@ +googleGroups = $googleGroups; + } + public function getGoogleGroups() + { + return $this->googleGroups; + } + public function setGooglePlusCommunities($googlePlusCommunities) + { + $this->googlePlusCommunities = $googlePlusCommunities; + } + public function getGooglePlusCommunities() + { + return $this->googlePlusCommunities; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php new file mode 100644 index 00000000..e98946e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Timestamp.php @@ -0,0 +1,39 @@ +nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php new file mode 100644 index 00000000..9c216acf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TokenPagination.php @@ -0,0 +1,39 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php new file mode 100644 index 00000000..26e8c25e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/Track.php @@ -0,0 +1,49 @@ +track = $track; + } + public function getTrack() + { + return $this->track; + } + public function setUserFraction($userFraction) + { + $this->userFraction = $userFraction; + } + public function getUserFraction() + { + return $this->userFraction; + } + public function setVersionCodes($versionCodes) + { + $this->versionCodes = $versionCodes; + } + public function getVersionCodes() + { + return $this->versionCodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php new file mode 100644 index 00000000..cfa7d152 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/TracksListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTracks($tracks) + { + $this->tracks = $tracks; + } + public function getTracks() + { + return $this->tracks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php new file mode 100644 index 00000000..6a8d4370 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/UserComment.php @@ -0,0 +1,131 @@ +androidOsVersion = $androidOsVersion; + } + public function getAndroidOsVersion() + { + return $this->androidOsVersion; + } + public function setAppVersionCode($appVersionCode) + { + $this->appVersionCode = $appVersionCode; + } + public function getAppVersionCode() + { + return $this->appVersionCode; + } + public function setAppVersionName($appVersionName) + { + $this->appVersionName = $appVersionName; + } + public function getAppVersionName() + { + return $this->appVersionName; + } + public function setDevice($device) + { + $this->device = $device; + } + public function getDevice() + { + return $this->device; + } + public function setDeviceMetadata(Google_Service_AndroidPublisher_DeviceMetadata $deviceMetadata) + { + $this->deviceMetadata = $deviceMetadata; + } + public function getDeviceMetadata() + { + return $this->deviceMetadata; + } + public function setLastModified(Google_Service_AndroidPublisher_Timestamp $lastModified) + { + $this->lastModified = $lastModified; + } + public function getLastModified() + { + return $this->lastModified; + } + public function setOriginalText($originalText) + { + $this->originalText = $originalText; + } + public function getOriginalText() + { + return $this->originalText; + } + public function setReviewerLanguage($reviewerLanguage) + { + $this->reviewerLanguage = $reviewerLanguage; + } + public function getReviewerLanguage() + { + return $this->reviewerLanguage; + } + public function setStarRating($starRating) + { + $this->starRating = $starRating; + } + public function getStarRating() + { + return $this->starRating; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setThumbsDownCount($thumbsDownCount) + { + $this->thumbsDownCount = $thumbsDownCount; + } + public function getThumbsDownCount() + { + return $this->thumbsDownCount; + } + public function setThumbsUpCount($thumbsUpCount) + { + $this->thumbsUpCount = $thumbsUpCount; + } + public function getThumbsUpCount() + { + return $this->thumbsUpCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php new file mode 100644 index 00000000..208f641a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchase.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPurchaseTimeMillis($purchaseTimeMillis) + { + $this->purchaseTimeMillis = $purchaseTimeMillis; + } + public function getPurchaseTimeMillis() + { + return $this->purchaseTimeMillis; + } + public function setPurchaseToken($purchaseToken) + { + $this->purchaseToken = $purchaseToken; + } + public function getPurchaseToken() + { + return $this->purchaseToken; + } + public function setVoidedTimeMillis($voidedTimeMillis) + { + $this->voidedTimeMillis = $voidedTimeMillis; + } + public function getVoidedTimeMillis() + { + return $this->voidedTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php new file mode 100644 index 00000000..4cc0970f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AndroidPublisher/VoidedPurchasesListResponse.php @@ -0,0 +1,52 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVoidedPurchases($voidedPurchases) + { + $this->voidedPurchases = $voidedPurchases; + } + public function getVoidedPurchases() + { + return $this->voidedPurchases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php new file mode 100644 index 00000000..fc2f9435 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState.php @@ -0,0 +1,120 @@ + + * The Google App State API.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_AppState extends Google_Service +{ + /** View and manage your data for this application. */ + const APPSTATE = + "https://www.googleapis.com/auth/appstate"; + + public $states; + + /** + * Constructs the internal representation of the AppState service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'appstate/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appstate'; + + $this->states = new Google_Service_AppState_Resource_States( + $this, + $this->serviceName, + 'states', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'states/{stateKey}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'currentDataVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'states', + 'httpMethod' => 'GET', + 'parameters' => array( + 'includeData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'currentStateVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php new file mode 100644 index 00000000..bb4a8336 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/GetResponse.php @@ -0,0 +1,57 @@ +currentStateVersion = $currentStateVersion; + } + public function getCurrentStateVersion() + { + return $this->currentStateVersion; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStateKey($stateKey) + { + $this->stateKey = $stateKey; + } + public function getStateKey() + { + return $this->stateKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php new file mode 100644 index 00000000..cc17c880 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/ListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumKeyCount($maximumKeyCount) + { + $this->maximumKeyCount = $maximumKeyCount; + } + public function getMaximumKeyCount() + { + return $this->maximumKeyCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php new file mode 100644 index 00000000..b652c2cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/Resource/States.php @@ -0,0 +1,113 @@ + + * $appstateService = new Google_Service_AppState(...); + * $states = $appstateService->states; + * + */ +class Google_Service_AppState_Resource_States extends Google_Service_Resource +{ + /** + * Clears (sets to empty) the data for the passed key if and only if the passed + * version matches the currently stored version. This method results in a + * conflict error on version mismatch. (states.clear) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + * + * @opt_param string currentDataVersion The version of the data to be cleared. + * Version strings are returned by the server. + * @return Google_Service_AppState_WriteResult + */ + public function clear($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params), "Google_Service_AppState_WriteResult"); + } + /** + * Deletes a key and the data associated with it. The key is removed and no + * longer counts against the key quota. Note that since this method is not safe + * in the face of concurrent modifications, it should only be used for + * development and testing purposes. Invoking this method in shipping code can + * result in data loss and data corruption. (states.delete) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + */ + public function delete($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the data corresponding to the passed key. If the key does not exist + * on the server, an HTTP 404 will be returned. (states.get) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_AppState_GetResponse + */ + public function get($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AppState_GetResponse"); + } + /** + * Lists all the states keys, and optionally the state data. (states.listStates) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool includeData Whether to include the full data in addition to + * the version number + * @return Google_Service_AppState_ListResponse + */ + public function listStates($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AppState_ListResponse"); + } + /** + * Update the data associated with the input key if and only if the passed + * version matches the currently stored version. This method is safe in the face + * of concurrent writes. Maximum per-key size is 128KB. (states.update) + * + * @param int $stateKey The key for the data to be retrieved. + * @param Google_Service_AppState_UpdateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentStateVersion The version of the app state your + * application is attempting to update. If this does not match the current + * version, this method will return a conflict error. If there is no data stored + * on the server for this key, the update will succeed irrespective of the value + * of this parameter. + * @return Google_Service_AppState_WriteResult + */ + public function update($stateKey, Google_Service_AppState_UpdateRequest $postBody, $optParams = array()) + { + $params = array('stateKey' => $stateKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AppState_WriteResult"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php new file mode 100644 index 00000000..719c6a59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/UpdateRequest.php @@ -0,0 +1,39 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php new file mode 100644 index 00000000..3b742cbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/AppState/WriteResult.php @@ -0,0 +1,48 @@ +currentStateVersion = $currentStateVersion; + } + public function getCurrentStateVersion() + { + return $this->currentStateVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStateKey($stateKey) + { + $this->stateKey = $stateKey; + } + public function getStateKey() + { + return $this->stateKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php new file mode 100644 index 00000000..4a692250 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine.php @@ -0,0 +1,520 @@ + + * Provisions and manages App Engine applications.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Appengine extends Google_Service +{ + /** View and manage your applications deployed on Google App Engine. */ + const APPENGINE_ADMIN = + "https://www.googleapis.com/auth/appengine.admin"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + + public $apps; + public $apps_locations; + public $apps_operations; + public $apps_services; + public $apps_services_versions; + public $apps_services_versions_instances; + + /** + * Constructs the internal representation of the Appengine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://appengine.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'appengine'; + + $this->apps = new Google_Service_Appengine_Resource_Apps( + $this, + $this->serviceName, + 'apps', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/apps', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v1/apps/{appsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/apps/{appsId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'repair' => array( + 'path' => 'v1/apps/{appsId}:repair', + 'httpMethod' => 'POST', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->apps_locations = new Google_Service_Appengine_Resource_AppsLocations( + $this, + $this->serviceName, + 'locations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/apps/{appsId}/locations/{locationsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locationsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/apps/{appsId}/locations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps_operations = new Google_Service_Appengine_Resource_AppsOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/apps/{appsId}/operations/{operationsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operationsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/apps/{appsId}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps_services = new Google_Service_Appengine_Resource_AppsServices( + $this, + $this->serviceName, + 'services', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/apps/{appsId}/services', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'migrateTraffic' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->apps_services_versions = new Google_Service_Appengine_Resource_AppsServicesVersions( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps_services_versions_instances = new Google_Service_Appengine_Resource_AppsServicesVersionsInstances( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'debug' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', + 'httpMethod' => 'POST', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instancesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instancesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instancesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'servicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php new file mode 100644 index 00000000..2464a8b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiConfigHandler.php @@ -0,0 +1,66 @@ +authFailAction = $authFailAction; + } + public function getAuthFailAction() + { + return $this->authFailAction; + } + public function setLogin($login) + { + $this->login = $login; + } + public function getLogin() + { + return $this->login; + } + public function setScript($script) + { + $this->script = $script; + } + public function getScript() + { + return $this->script; + } + public function setSecurityLevel($securityLevel) + { + $this->securityLevel = $securityLevel; + } + public function getSecurityLevel() + { + return $this->securityLevel; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php new file mode 100644 index 00000000..6b5d1381 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ApiEndpointHandler.php @@ -0,0 +1,30 @@ +scriptPath = $scriptPath; + } + public function getScriptPath() + { + return $this->scriptPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php new file mode 100644 index 00000000..a1c8fc28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Application.php @@ -0,0 +1,104 @@ +authDomain = $authDomain; + } + public function getAuthDomain() + { + return $this->authDomain; + } + public function setCodeBucket($codeBucket) + { + $this->codeBucket = $codeBucket; + } + public function getCodeBucket() + { + return $this->codeBucket; + } + public function setDefaultBucket($defaultBucket) + { + $this->defaultBucket = $defaultBucket; + } + public function getDefaultBucket() + { + return $this->defaultBucket; + } + public function setDefaultCookieExpiration($defaultCookieExpiration) + { + $this->defaultCookieExpiration = $defaultCookieExpiration; + } + public function getDefaultCookieExpiration() + { + return $this->defaultCookieExpiration; + } + public function setDefaultHostname($defaultHostname) + { + $this->defaultHostname = $defaultHostname; + } + public function getDefaultHostname() + { + return $this->defaultHostname; + } + public function setDispatchRules($dispatchRules) + { + $this->dispatchRules = $dispatchRules; + } + public function getDispatchRules() + { + return $this->dispatchRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php new file mode 100644 index 00000000..3801742d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/AutomaticScaling.php @@ -0,0 +1,133 @@ +coolDownPeriod = $coolDownPeriod; + } + public function getCoolDownPeriod() + { + return $this->coolDownPeriod; + } + public function setCpuUtilization(Google_Service_Appengine_CpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setDiskUtilization(Google_Service_Appengine_DiskUtilization $diskUtilization) + { + $this->diskUtilization = $diskUtilization; + } + public function getDiskUtilization() + { + return $this->diskUtilization; + } + public function setMaxConcurrentRequests($maxConcurrentRequests) + { + $this->maxConcurrentRequests = $maxConcurrentRequests; + } + public function getMaxConcurrentRequests() + { + return $this->maxConcurrentRequests; + } + public function setMaxIdleInstances($maxIdleInstances) + { + $this->maxIdleInstances = $maxIdleInstances; + } + public function getMaxIdleInstances() + { + return $this->maxIdleInstances; + } + public function setMaxPendingLatency($maxPendingLatency) + { + $this->maxPendingLatency = $maxPendingLatency; + } + public function getMaxPendingLatency() + { + return $this->maxPendingLatency; + } + public function setMaxTotalInstances($maxTotalInstances) + { + $this->maxTotalInstances = $maxTotalInstances; + } + public function getMaxTotalInstances() + { + return $this->maxTotalInstances; + } + public function setMinIdleInstances($minIdleInstances) + { + $this->minIdleInstances = $minIdleInstances; + } + public function getMinIdleInstances() + { + return $this->minIdleInstances; + } + public function setMinPendingLatency($minPendingLatency) + { + $this->minPendingLatency = $minPendingLatency; + } + public function getMinPendingLatency() + { + return $this->minPendingLatency; + } + public function setMinTotalInstances($minTotalInstances) + { + $this->minTotalInstances = $minTotalInstances; + } + public function getMinTotalInstances() + { + return $this->minTotalInstances; + } + public function setNetworkUtilization(Google_Service_Appengine_NetworkUtilization $networkUtilization) + { + $this->networkUtilization = $networkUtilization; + } + public function getNetworkUtilization() + { + return $this->networkUtilization; + } + public function setRequestUtilization(Google_Service_Appengine_RequestUtilization $requestUtilization) + { + $this->requestUtilization = $requestUtilization; + } + public function getRequestUtilization() + { + return $this->requestUtilization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php new file mode 100644 index 00000000..98bad2e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/BasicScaling.php @@ -0,0 +1,39 @@ +idleTimeout = $idleTimeout; + } + public function getIdleTimeout() + { + return $this->idleTimeout; + } + public function setMaxInstances($maxInstances) + { + $this->maxInstances = $maxInstances; + } + public function getMaxInstances() + { + return $this->maxInstances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php new file mode 100644 index 00000000..86bb890c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ContainerInfo.php @@ -0,0 +1,30 @@ +image = $image; + } + public function getImage() + { + return $this->image; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php new file mode 100644 index 00000000..c8e25137 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/CpuUtilization.php @@ -0,0 +1,39 @@ +aggregationWindowLength = $aggregationWindowLength; + } + public function getAggregationWindowLength() + { + return $this->aggregationWindowLength; + } + public function setTargetUtilization($targetUtilization) + { + $this->targetUtilization = $targetUtilization; + } + public function getTargetUtilization() + { + return $this->targetUtilization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php new file mode 100644 index 00000000..569bf83a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DebugInstanceRequest.php @@ -0,0 +1,30 @@ +sshKey = $sshKey; + } + public function getSshKey() + { + return $this->sshKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php new file mode 100644 index 00000000..7f727f16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Deployment.php @@ -0,0 +1,51 @@ +container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setZip(Google_Service_Appengine_ZipInfo $zip) + { + $this->zip = $zip; + } + public function getZip() + { + return $this->zip; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php new file mode 100644 index 00000000..fcb82677 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/DiskUtilization.php @@ -0,0 +1,57 @@ +targetReadBytesPerSecond = $targetReadBytesPerSecond; + } + public function getTargetReadBytesPerSecond() + { + return $this->targetReadBytesPerSecond; + } + public function setTargetReadOpsPerSecond($targetReadOpsPerSecond) + { + $this->targetReadOpsPerSecond = $targetReadOpsPerSecond; + } + public function getTargetReadOpsPerSecond() + { + return $this->targetReadOpsPerSecond; + } + public function setTargetWriteBytesPerSecond($targetWriteBytesPerSecond) + { + $this->targetWriteBytesPerSecond = $targetWriteBytesPerSecond; + } + public function getTargetWriteBytesPerSecond() + { + return $this->targetWriteBytesPerSecond; + } + public function setTargetWriteOpsPerSecond($targetWriteOpsPerSecond) + { + $this->targetWriteOpsPerSecond = $targetWriteOpsPerSecond; + } + public function getTargetWriteOpsPerSecond() + { + return $this->targetWriteOpsPerSecond; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php new file mode 100644 index 00000000..c14bd3cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/EndpointsApiService.php @@ -0,0 +1,39 @@ +configId = $configId; + } + public function getConfigId() + { + return $this->configId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php new file mode 100644 index 00000000..64e1987f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ErrorHandler.php @@ -0,0 +1,48 @@ +errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setStaticFile($staticFile) + { + $this->staticFile = $staticFile; + } + public function getStaticFile() + { + return $this->staticFile; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php new file mode 100644 index 00000000..680afb50 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/FileInfo.php @@ -0,0 +1,48 @@ +mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setSha1Sum($sha1Sum) + { + $this->sha1Sum = $sha1Sum; + } + public function getSha1Sum() + { + return $this->sha1Sum; + } + public function setSourceUrl($sourceUrl) + { + $this->sourceUrl = $sourceUrl; + } + public function getSourceUrl() + { + return $this->sourceUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php new file mode 100644 index 00000000..dc87fbaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/HealthCheck.php @@ -0,0 +1,84 @@ +checkInterval = $checkInterval; + } + public function getCheckInterval() + { + return $this->checkInterval; + } + public function setDisableHealthCheck($disableHealthCheck) + { + $this->disableHealthCheck = $disableHealthCheck; + } + public function getDisableHealthCheck() + { + return $this->disableHealthCheck; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setRestartThreshold($restartThreshold) + { + $this->restartThreshold = $restartThreshold; + } + public function getRestartThreshold() + { + return $this->restartThreshold; + } + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + public function getTimeout() + { + return $this->timeout; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php new file mode 100644 index 00000000..001d85fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Instance.php @@ -0,0 +1,165 @@ +appEngineRelease = $appEngineRelease; + } + public function getAppEngineRelease() + { + return $this->appEngineRelease; + } + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setAverageLatency($averageLatency) + { + $this->averageLatency = $averageLatency; + } + public function getAverageLatency() + { + return $this->averageLatency; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMemoryUsage($memoryUsage) + { + $this->memoryUsage = $memoryUsage; + } + public function getMemoryUsage() + { + return $this->memoryUsage; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setQps($qps) + { + $this->qps = $qps; + } + public function getQps() + { + return $this->qps; + } + public function setRequests($requests) + { + $this->requests = $requests; + } + public function getRequests() + { + return $this->requests; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setVmDebugEnabled($vmDebugEnabled) + { + $this->vmDebugEnabled = $vmDebugEnabled; + } + public function getVmDebugEnabled() + { + return $this->vmDebugEnabled; + } + public function setVmId($vmId) + { + $this->vmId = $vmId; + } + public function getVmId() + { + return $this->vmId; + } + public function setVmIp($vmIp) + { + $this->vmIp = $vmIp; + } + public function getVmIp() + { + return $this->vmIp; + } + public function setVmName($vmName) + { + $this->vmName = $vmName; + } + public function getVmName() + { + return $this->vmName; + } + public function setVmStatus($vmStatus) + { + $this->vmStatus = $vmStatus; + } + public function getVmStatus() + { + return $this->vmStatus; + } + public function setVmZoneName($vmZoneName) + { + $this->vmZoneName = $vmZoneName; + } + public function getVmZoneName() + { + return $this->vmZoneName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php new file mode 100644 index 00000000..c4fb3462 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Library.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php new file mode 100644 index 00000000..37e6212f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListInstancesResponse.php @@ -0,0 +1,41 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php new file mode 100644 index 00000000..ecb6bc83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListLocationsResponse.php @@ -0,0 +1,41 @@ +locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php new file mode 100644 index 00000000..a3b2e215 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php new file mode 100644 index 00000000..5d53085e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListServicesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php new file mode 100644 index 00000000..ed8085a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ListVersionsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVersions($versions) + { + $this->versions = $versions; + } + public function getVersions() + { + return $this->versions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php new file mode 100644 index 00000000..f931f221 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Location.php @@ -0,0 +1,57 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php new file mode 100644 index 00000000..a2e5476b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/LocationMetadata.php @@ -0,0 +1,39 @@ +flexibleEnvironmentAvailable = $flexibleEnvironmentAvailable; + } + public function getFlexibleEnvironmentAvailable() + { + return $this->flexibleEnvironmentAvailable; + } + public function setStandardEnvironmentAvailable($standardEnvironmentAvailable) + { + $this->standardEnvironmentAvailable = $standardEnvironmentAvailable; + } + public function getStandardEnvironmentAvailable() + { + return $this->standardEnvironmentAvailable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php new file mode 100644 index 00000000..dd6547d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ManualScaling.php @@ -0,0 +1,30 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php new file mode 100644 index 00000000..90c9438e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Network.php @@ -0,0 +1,58 @@ +forwardedPorts = $forwardedPorts; + } + public function getForwardedPorts() + { + return $this->forwardedPorts; + } + public function setInstanceTag($instanceTag) + { + $this->instanceTag = $instanceTag; + } + public function getInstanceTag() + { + return $this->instanceTag; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubnetworkName($subnetworkName) + { + $this->subnetworkName = $subnetworkName; + } + public function getSubnetworkName() + { + return $this->subnetworkName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php new file mode 100644 index 00000000..922285e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/NetworkUtilization.php @@ -0,0 +1,57 @@ +targetReceivedBytesPerSecond = $targetReceivedBytesPerSecond; + } + public function getTargetReceivedBytesPerSecond() + { + return $this->targetReceivedBytesPerSecond; + } + public function setTargetReceivedPacketsPerSecond($targetReceivedPacketsPerSecond) + { + $this->targetReceivedPacketsPerSecond = $targetReceivedPacketsPerSecond; + } + public function getTargetReceivedPacketsPerSecond() + { + return $this->targetReceivedPacketsPerSecond; + } + public function setTargetSentBytesPerSecond($targetSentBytesPerSecond) + { + $this->targetSentBytesPerSecond = $targetSentBytesPerSecond; + } + public function getTargetSentBytesPerSecond() + { + return $this->targetSentBytesPerSecond; + } + public function setTargetSentPacketsPerSecond($targetSentPacketsPerSecond) + { + $this->targetSentPacketsPerSecond = $targetSentPacketsPerSecond; + } + public function getTargetSentPacketsPerSecond() + { + return $this->targetSentPacketsPerSecond; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php new file mode 100644 index 00000000..6a5bd5e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Appengine_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php new file mode 100644 index 00000000..b55c4600 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadata.php @@ -0,0 +1,75 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php new file mode 100644 index 00000000..9d680e4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataExperimental.php @@ -0,0 +1,66 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php new file mode 100644 index 00000000..5a256376 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1.php @@ -0,0 +1,85 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEphemeralMessage($ephemeralMessage) + { + $this->ephemeralMessage = $ephemeralMessage; + } + public function getEphemeralMessage() + { + return $this->ephemeralMessage; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php new file mode 100644 index 00000000..de110bf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/OperationMetadataV1Beta5.php @@ -0,0 +1,66 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php new file mode 100644 index 00000000..4ce8ad39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/RepairApplicationRequest.php @@ -0,0 +1,20 @@ +targetConcurrentRequests = $targetConcurrentRequests; + } + public function getTargetConcurrentRequests() + { + return $this->targetConcurrentRequests; + } + public function setTargetRequestCountPerSecond($targetRequestCountPerSecond) + { + $this->targetRequestCountPerSecond = $targetRequestCountPerSecond; + } + public function getTargetRequestCountPerSecond() + { + return $this->targetRequestCountPerSecond; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php new file mode 100644 index 00000000..9e379e1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Apps.php @@ -0,0 +1,101 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $apps = $appengineService->apps; + * + */ +class Google_Service_Appengine_Resource_Apps extends Google_Service_Resource +{ + /** + * Creates an App Engine application for a Google Cloud Platform project. This + * requires a project that excludes an App Engine application. For details about + * creating a project without an application, see the Google Cloud Resource + * Manager create project topic (https://cloud.google.com/resource-manager/docs + * /creating-project). (apps.create) + * + * @param Google_Service_Appengine_Application $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function create(Google_Service_Appengine_Application $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Gets information about an application. (apps.get) + * + * @param string $appsId Part of `name`. Name of the Application resource to + * get. Example: apps/myapp. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Application + */ + public function get($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Application"); + } + /** + * Updates the specified Application resource. You can update the following + * fields: auth_domain (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps#Application.FIELDS.auth_domain) + * default_cookie_expiration (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration) + * (apps.patch) + * + * @param string $appsId Part of `name`. Name of the Application resource to + * update. Example: apps/myapp. + * @param Google_Service_Appengine_Application $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Standard field mask for the set of fields to be + * updated. + * @return Google_Service_Appengine_Operation + */ + public function patch($appsId, Google_Service_Appengine_Application $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Recreates the required App Engine features for the specified App Engine + * application, for example a Cloud Storage bucket or App Engine service + * account. Use this method if you receive an error message about a missing + * feature, for example, Error retrieving the App Engine service account. + * (apps.repair) + * + * @param string $appsId Part of `name`. Name of the application to repair. + * Example: apps/myapp + * @param Google_Service_Appengine_RepairApplicationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function repair($appsId, Google_Service_Appengine_RepairApplicationRequest $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('repair', array($params), "Google_Service_Appengine_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php new file mode 100644 index 00000000..d9d27b8e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsLocations.php @@ -0,0 +1,61 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $locations = $appengineService->locations; + * + */ +class Google_Service_Appengine_Resource_AppsLocations extends Google_Service_Resource +{ + /** + * Get information about a location. (locations.get) + * + * @param string $appsId Part of `name`. Resource name for the location. + * @param string $locationsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Location + */ + public function get($appsId, $locationsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'locationsId' => $locationsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Location"); + } + /** + * Lists information about the supported locations for this service. + * (locations.listAppsLocations) + * + * @param string $appsId Part of `name`. The resource that owns the locations + * collection, if applicable. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Appengine_ListLocationsResponse + */ + public function listAppsLocations($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListLocationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php new file mode 100644 index 00000000..5b0c6333 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsOperations.php @@ -0,0 +1,65 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $operations = $appengineService->operations; + * + */ +class Google_Service_Appengine_Resource_AppsOperations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $appsId Part of `name`. The name of the operation resource. + * @param string $operationsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function get($appsId, $operationsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'operationsId' => $operationsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name + * binding below allows API services to override the binding to use different + * resource name schemes, such as users/operations. + * (operations.listAppsOperations) + * + * @param string $appsId Part of `name`. The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Appengine_ListOperationsResponse + */ + public function listAppsOperations($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php new file mode 100644 index 00000000..77095a8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServices.php @@ -0,0 +1,109 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $services = $appengineService->services; + * + */ +class Google_Service_Appengine_Resource_AppsServices extends Google_Service_Resource +{ + /** + * Deletes the specified service and all enclosed versions. (services.delete) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function delete($appsId, $servicesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Gets the current configuration of the specified service. (services.get) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Service + */ + public function get($appsId, $servicesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Service"); + } + /** + * Lists all the services in the application. (services.listAppsServices) + * + * @param string $appsId Part of `parent`. Name of the parent Application + * resource. Example: apps/myapp. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum results to return per page. + * @opt_param string pageToken Continuation token for fetching the next page of + * results. + * @return Google_Service_Appengine_ListServicesResponse + */ + public function listAppsServices($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListServicesResponse"); + } + /** + * Updates the configuration of the specified service. (services.patch) + * + * @param string $appsId Part of `name`. Name of the resource to update. + * Example: apps/myapp/services/default. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param Google_Service_Appengine_Service $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Standard field mask for the set of fields to be + * updated. + * @opt_param bool migrateTraffic Set to true to gradually shift traffic from + * one version to another single version. By default, traffic is shifted + * immediately. For gradual traffic migration, the target version must be + * located within instances that are configured for both warmup requests + * (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps.services.versions#inboundservicetype) and + * automatic scaling (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps.services.versions#automaticscaling). You must + * specify the shardBy (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps.services#shardby) field in the Service resource. + * Gradual traffic migration is not supported in the App Engine flexible + * environment. For examples, see Migrating and Splitting Traffic + * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting- + * traffic). + * @return Google_Service_Appengine_Operation + */ + public function patch($appsId, $servicesId, Google_Service_Appengine_Service $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Appengine_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php new file mode 100644 index 00000000..3c1eb114 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersions.php @@ -0,0 +1,138 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $versions = $appengineService->versions; + * + */ +class Google_Service_Appengine_Resource_AppsServicesVersions extends Google_Service_Resource +{ + /** + * Deploys code and resource files to a new version. (versions.create) + * + * @param string $appsId Part of `parent`. Name of the parent resource to create + * this version under. Example: apps/myapp/services/default. + * @param string $servicesId Part of `parent`. See documentation of `appsId`. + * @param Google_Service_Appengine_Version $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function create($appsId, $servicesId, Google_Service_Appengine_Version $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Deletes an existing Version resource. (versions.delete) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function delete($appsId, $servicesId, $versionsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Gets the specified Version resource. By default, only a BASIC_VIEW will be + * returned. Specify the FULL_VIEW parameter to get the full resource. + * (versions.get) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * + * @opt_param string view Controls the set of fields returned in the Get + * response. + * @return Google_Service_Appengine_Version + */ + public function get($appsId, $servicesId, $versionsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Version"); + } + /** + * Lists the versions of a service. (versions.listAppsServicesVersions) + * + * @param string $appsId Part of `parent`. Name of the parent Service resource. + * Example: apps/myapp/services/default. + * @param string $servicesId Part of `parent`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * + * @opt_param string view Controls the set of fields returned in the List + * response. + * @opt_param int pageSize Maximum results to return per page. + * @opt_param string pageToken Continuation token for fetching the next page of + * results. + * @return Google_Service_Appengine_ListVersionsResponse + */ + public function listAppsServicesVersions($appsId, $servicesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse"); + } + /** + * Updates the specified Version resource. You can specify the following fields + * depending on the App Engine environment and type of scaling that the version + * resource uses: serving_status (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): + * For Version resources that use basic scaling, manual scaling, or run in the + * App Engine flexible environment. instance_class + * (https://cloud.google.com/appengine/docs/admin- + * api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): + * For Version resources that run in the App Engine standard environment. + * automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs + * /admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_ + * scaling): For Version resources that use automatic scaling and run in the App + * Engine standard environment. automatic_scaling.max_idle_instances + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser + * vices.versions#Version.FIELDS.automatic_scaling): For Version resources that + * use automatic scaling and run in the App Engine standard environment. + * (versions.patch) + * + * @param string $appsId Part of `name`. Name of the resource to update. + * Example: apps/myapp/services/default/versions/1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param Google_Service_Appengine_Version $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Standard field mask for the set of fields to be + * updated. + * @return Google_Service_Appengine_Operation + */ + public function patch($appsId, $servicesId, $versionsId, Google_Service_Appengine_Version $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Appengine_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php new file mode 100644 index 00000000..a1e8c24f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/AppsServicesVersionsInstances.php @@ -0,0 +1,106 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $instances = $appengineService->instances; + * + */ +class Google_Service_Appengine_Resource_AppsServicesVersionsInstances extends Google_Service_Resource +{ + /** + * Enables debugging on a VM instance. This allows you to use the SSH command to + * connect to the virtual machine where the instance lives. While in "debug + * mode", the instance continues to serve live traffic. You should delete the + * instance when you are done debugging and then allow the system to take over + * and determine if another instance should be started.Only applicable for + * instances in App Engine flexible environment. (instances.debug) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param string $instancesId Part of `name`. See documentation of `appsId`. + * @param Google_Service_Appengine_DebugInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function debug($appsId, $servicesId, $versionsId, $instancesId, Google_Service_Appengine_DebugInstanceRequest $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('debug', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Stops a running instance. (instances.delete) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param string $instancesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function delete($appsId, $servicesId, $versionsId, $instancesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Gets instance information. (instances.get) + * + * @param string $appsId Part of `name`. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. + * @param string $servicesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param string $instancesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Instance + */ + public function get($appsId, $servicesId, $versionsId, $instancesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Instance"); + } + /** + * Lists the instances of a version. + * (instances.listAppsServicesVersionsInstances) + * + * @param string $appsId Part of `parent`. Name of the parent Version resource. + * Example: apps/myapp/services/default/versions/v1. + * @param string $servicesId Part of `parent`. See documentation of `appsId`. + * @param string $versionsId Part of `parent`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum results to return per page. + * @opt_param string pageToken Continuation token for fetching the next page of + * results. + * @return Google_Service_Appengine_ListInstancesResponse + */ + public function listAppsServicesVersionsInstances($appsId, $servicesId, $versionsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListInstancesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php new file mode 100644 index 00000000..4ac8bd4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/Experimental.php @@ -0,0 +1,28 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $experimental = $appengineService->experimental; + * + */ +class Google_Service_Appengine_Resource_Experimental extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php new file mode 100644 index 00000000..99fc1a4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalApps.php @@ -0,0 +1,28 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $apps = $appengineService->apps; + * + */ +class Google_Service_Appengine_Resource_ExperimentalApps extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php new file mode 100644 index 00000000..802c1dab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resource/ExperimentalAppsOperations.php @@ -0,0 +1,65 @@ + + * $appengineService = new Google_Service_Appengine(...); + * $operations = $appengineService->operations; + * + */ +class Google_Service_Appengine_Resource_ExperimentalAppsOperations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $appsId Part of `name`. The name of the operation resource. + * @param string $operationsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function get($appsId, $operationsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'operationsId' => $operationsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the + * `name` binding below allows API services to override the binding to use + * different resource name schemes, such as `users/operations`. + * (operations.listExperimentalAppsOperations) + * + * @param string $appsId Part of `name`. The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Appengine_ListOperationsResponse + */ + public function listExperimentalAppsOperations($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php new file mode 100644 index 00000000..39819350 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Resources.php @@ -0,0 +1,59 @@ +cpu = $cpu; + } + public function getCpu() + { + return $this->cpu; + } + public function setDiskGb($diskGb) + { + $this->diskGb = $diskGb; + } + public function getDiskGb() + { + return $this->diskGb; + } + public function setMemoryGb($memoryGb) + { + $this->memoryGb = $memoryGb; + } + public function getMemoryGb() + { + return $this->memoryGb; + } + public function setVolumes($volumes) + { + $this->volumes = $volumes; + } + public function getVolumes() + { + return $this->volumes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php new file mode 100644 index 00000000..cf7902d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ScriptHandler.php @@ -0,0 +1,30 @@ +scriptPath = $scriptPath; + } + public function getScriptPath() + { + return $this->scriptPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php new file mode 100644 index 00000000..e6321b33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Service.php @@ -0,0 +1,49 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSplit(Google_Service_Appengine_TrafficSplit $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php new file mode 100644 index 00000000..fadc6039 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/SourceReference.php @@ -0,0 +1,39 @@ +repository = $repository; + } + public function getRepository() + { + return $this->repository; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php new file mode 100644 index 00000000..5a51584b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/StaticFilesHandler.php @@ -0,0 +1,84 @@ +applicationReadable = $applicationReadable; + } + public function getApplicationReadable() + { + return $this->applicationReadable; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setHttpHeaders($httpHeaders) + { + $this->httpHeaders = $httpHeaders; + } + public function getHttpHeaders() + { + return $this->httpHeaders; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setRequireMatchingFile($requireMatchingFile) + { + $this->requireMatchingFile = $requireMatchingFile; + } + public function getRequireMatchingFile() + { + return $this->requireMatchingFile; + } + public function setUploadPathRegex($uploadPathRegex) + { + $this->uploadPathRegex = $uploadPathRegex; + } + public function getUploadPathRegex() + { + return $this->uploadPathRegex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php new file mode 100644 index 00000000..d80b5b19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php new file mode 100644 index 00000000..055d4d3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/TrafficSplit.php @@ -0,0 +1,39 @@ +allocations = $allocations; + } + public function getAllocations() + { + return $this->allocations; + } + public function setShardBy($shardBy) + { + $this->shardBy = $shardBy; + } + public function getShardBy() + { + return $this->shardBy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php new file mode 100644 index 00000000..dd889ecc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlDispatchRule.php @@ -0,0 +1,48 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php new file mode 100644 index 00000000..01ddd838 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/UrlMap.php @@ -0,0 +1,96 @@ +apiEndpoint = $apiEndpoint; + } + public function getApiEndpoint() + { + return $this->apiEndpoint; + } + public function setAuthFailAction($authFailAction) + { + $this->authFailAction = $authFailAction; + } + public function getAuthFailAction() + { + return $this->authFailAction; + } + public function setLogin($login) + { + $this->login = $login; + } + public function getLogin() + { + return $this->login; + } + public function setRedirectHttpResponseCode($redirectHttpResponseCode) + { + $this->redirectHttpResponseCode = $redirectHttpResponseCode; + } + public function getRedirectHttpResponseCode() + { + return $this->redirectHttpResponseCode; + } + public function setScript(Google_Service_Appengine_ScriptHandler $script) + { + $this->script = $script; + } + public function getScript() + { + return $this->script; + } + public function setSecurityLevel($securityLevel) + { + $this->securityLevel = $securityLevel; + } + public function getSecurityLevel() + { + return $this->securityLevel; + } + public function setStaticFiles(Google_Service_Appengine_StaticFilesHandler $staticFiles) + { + $this->staticFiles = $staticFiles; + } + public function getStaticFiles() + { + return $this->staticFiles; + } + public function setUrlRegex($urlRegex) + { + $this->urlRegex = $urlRegex; + } + public function getUrlRegex() + { + return $this->urlRegex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php new file mode 100644 index 00000000..32d603ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Version.php @@ -0,0 +1,295 @@ +apiConfig = $apiConfig; + } + public function getApiConfig() + { + return $this->apiConfig; + } + public function setAutomaticScaling(Google_Service_Appengine_AutomaticScaling $automaticScaling) + { + $this->automaticScaling = $automaticScaling; + } + public function getAutomaticScaling() + { + return $this->automaticScaling; + } + public function setBasicScaling(Google_Service_Appengine_BasicScaling $basicScaling) + { + $this->basicScaling = $basicScaling; + } + public function getBasicScaling() + { + return $this->basicScaling; + } + public function setBetaSettings($betaSettings) + { + $this->betaSettings = $betaSettings; + } + public function getBetaSettings() + { + return $this->betaSettings; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCreatedBy($createdBy) + { + $this->createdBy = $createdBy; + } + public function getCreatedBy() + { + return $this->createdBy; + } + public function setDefaultExpiration($defaultExpiration) + { + $this->defaultExpiration = $defaultExpiration; + } + public function getDefaultExpiration() + { + return $this->defaultExpiration; + } + public function setDeployment(Google_Service_Appengine_Deployment $deployment) + { + $this->deployment = $deployment; + } + public function getDeployment() + { + return $this->deployment; + } + public function setDiskUsageBytes($diskUsageBytes) + { + $this->diskUsageBytes = $diskUsageBytes; + } + public function getDiskUsageBytes() + { + return $this->diskUsageBytes; + } + public function setEndpointsApiService(Google_Service_Appengine_EndpointsApiService $endpointsApiService) + { + $this->endpointsApiService = $endpointsApiService; + } + public function getEndpointsApiService() + { + return $this->endpointsApiService; + } + public function setEnv($env) + { + $this->env = $env; + } + public function getEnv() + { + return $this->env; + } + public function setEnvVariables($envVariables) + { + $this->envVariables = $envVariables; + } + public function getEnvVariables() + { + return $this->envVariables; + } + public function setErrorHandlers($errorHandlers) + { + $this->errorHandlers = $errorHandlers; + } + public function getErrorHandlers() + { + return $this->errorHandlers; + } + public function setHandlers($handlers) + { + $this->handlers = $handlers; + } + public function getHandlers() + { + return $this->handlers; + } + public function setHealthCheck(Google_Service_Appengine_HealthCheck $healthCheck) + { + $this->healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInboundServices($inboundServices) + { + $this->inboundServices = $inboundServices; + } + public function getInboundServices() + { + return $this->inboundServices; + } + public function setInstanceClass($instanceClass) + { + $this->instanceClass = $instanceClass; + } + public function getInstanceClass() + { + return $this->instanceClass; + } + public function setLibraries($libraries) + { + $this->libraries = $libraries; + } + public function getLibraries() + { + return $this->libraries; + } + public function setManualScaling(Google_Service_Appengine_ManualScaling $manualScaling) + { + $this->manualScaling = $manualScaling; + } + public function getManualScaling() + { + return $this->manualScaling; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork(Google_Service_Appengine_Network $network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNobuildFilesRegex($nobuildFilesRegex) + { + $this->nobuildFilesRegex = $nobuildFilesRegex; + } + public function getNobuildFilesRegex() + { + return $this->nobuildFilesRegex; + } + public function setResources(Google_Service_Appengine_Resources $resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setRuntime($runtime) + { + $this->runtime = $runtime; + } + public function getRuntime() + { + return $this->runtime; + } + public function setServingStatus($servingStatus) + { + $this->servingStatus = $servingStatus; + } + public function getServingStatus() + { + return $this->servingStatus; + } + public function setThreadsafe($threadsafe) + { + $this->threadsafe = $threadsafe; + } + public function getThreadsafe() + { + return $this->threadsafe; + } + public function setVersionUrl($versionUrl) + { + $this->versionUrl = $versionUrl; + } + public function getVersionUrl() + { + return $this->versionUrl; + } + public function setVm($vm) + { + $this->vm = $vm; + } + public function getVm() + { + return $this->vm; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php new file mode 100644 index 00000000..bc491dd7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/Volume.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setSizeGb($sizeGb) + { + $this->sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } + public function setVolumeType($volumeType) + { + $this->volumeType = $volumeType; + } + public function getVolumeType() + { + return $this->volumeType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php new file mode 100644 index 00000000..f2c6cc31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appengine/ZipInfo.php @@ -0,0 +1,39 @@ +filesCount = $filesCount; + } + public function getFilesCount() + { + return $this->filesCount; + } + public function setSourceUrl($sourceUrl) + { + $this->sourceUrl = $sourceUrl; + } + public function getSourceUrl() + { + return $this->sourceUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php new file mode 100644 index 00000000..95cb3065 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity.php @@ -0,0 +1,108 @@ + + * Provides a historical view of activity.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Appsactivity extends Google_Service +{ + /** View the activity history of your Google apps. */ + const ACTIVITY = + "https://www.googleapis.com/auth/activity"; + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage metadata of files in your Google Drive. */ + const DRIVE_METADATA = + "https://www.googleapis.com/auth/drive.metadata"; + /** View metadata for files in your Google Drive. */ + const DRIVE_METADATA_READONLY = + "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + + public $activities; + + /** + * Constructs the internal representation of the Appsactivity service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'appsactivity/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appsactivity'; + + $this->activities = new Google_Service_Appsactivity_Resource_Activities( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'drive.ancestorId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'drive.fileId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'groupingStrategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php new file mode 100644 index 00000000..0e854bde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Activity.php @@ -0,0 +1,42 @@ +combinedEvent = $combinedEvent; + } + public function getCombinedEvent() + { + return $this->combinedEvent; + } + public function setSingleEvents($singleEvents) + { + $this->singleEvents = $singleEvents; + } + public function getSingleEvents() + { + return $this->singleEvents; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php new file mode 100644 index 00000000..25564618 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/AppsactivityParent.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsRoot($isRoot) + { + $this->isRoot = $isRoot; + } + public function getIsRoot() + { + return $this->isRoot; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php new file mode 100644 index 00000000..26a99881 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Event.php @@ -0,0 +1,108 @@ +additionalEventTypes = $additionalEventTypes; + } + public function getAdditionalEventTypes() + { + return $this->additionalEventTypes; + } + public function setEventTimeMillis($eventTimeMillis) + { + $this->eventTimeMillis = $eventTimeMillis; + } + public function getEventTimeMillis() + { + return $this->eventTimeMillis; + } + public function setFromUserDeletion($fromUserDeletion) + { + $this->fromUserDeletion = $fromUserDeletion; + } + public function getFromUserDeletion() + { + return $this->fromUserDeletion; + } + public function setMove(Google_Service_Appsactivity_Move $move) + { + $this->move = $move; + } + public function getMove() + { + return $this->move; + } + public function setPermissionChanges($permissionChanges) + { + $this->permissionChanges = $permissionChanges; + } + public function getPermissionChanges() + { + return $this->permissionChanges; + } + public function setPrimaryEventType($primaryEventType) + { + $this->primaryEventType = $primaryEventType; + } + public function getPrimaryEventType() + { + return $this->primaryEventType; + } + public function setRename(Google_Service_Appsactivity_Rename $rename) + { + $this->rename = $rename; + } + public function getRename() + { + return $this->rename; + } + public function setTarget(Google_Service_Appsactivity_Target $target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser(Google_Service_Appsactivity_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php new file mode 100644 index 00000000..2a82e889 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/ListActivitiesResponse.php @@ -0,0 +1,41 @@ +activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php new file mode 100644 index 00000000..48c08dd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Move.php @@ -0,0 +1,42 @@ +addedParents = $addedParents; + } + public function getAddedParents() + { + return $this->addedParents; + } + public function setRemovedParents($removedParents) + { + $this->removedParents = $removedParents; + } + public function getRemovedParents() + { + return $this->removedParents; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php new file mode 100644 index 00000000..6fec4049 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Permission.php @@ -0,0 +1,76 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUser(Google_Service_Appsactivity_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWithLink($withLink) + { + $this->withLink = $withLink; + } + public function getWithLink() + { + return $this->withLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php new file mode 100644 index 00000000..f070e9eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/PermissionChange.php @@ -0,0 +1,42 @@ +addedPermissions = $addedPermissions; + } + public function getAddedPermissions() + { + return $this->addedPermissions; + } + public function setRemovedPermissions($removedPermissions) + { + $this->removedPermissions = $removedPermissions; + } + public function getRemovedPermissions() + { + return $this->removedPermissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php new file mode 100644 index 00000000..6bb27174 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Photo.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php new file mode 100644 index 00000000..1e714abc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Rename.php @@ -0,0 +1,39 @@ +newTitle = $newTitle; + } + public function getNewTitle() + { + return $this->newTitle; + } + public function setOldTitle($oldTitle) + { + $this->oldTitle = $oldTitle; + } + public function getOldTitle() + { + return $this->oldTitle; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php new file mode 100644 index 00000000..d5589f66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Resource/Activities.php @@ -0,0 +1,59 @@ + + * $appsactivityService = new Google_Service_Appsactivity(...); + * $activities = $appsactivityService->activities; + * + */ +class Google_Service_Appsactivity_Resource_Activities extends Google_Service_Resource +{ + /** + * Returns a list of activities visible to the current logged in user. Visible + * activities are determined by the visiblity settings of the object that was + * acted on, e.g. Drive files a user can see. An activity is a record of past + * events. Multiple events may be merged if they are similar. A request is + * scoped to activities from a given Google service using the source parameter. + * (activities.listActivities) + * + * @param array $optParams Optional parameters. + * + * @opt_param string drive.ancestorId Identifies the Drive folder containing the + * items for which to return activities. + * @opt_param string drive.fileId Identifies the Drive item to return activities + * for. + * @opt_param string groupingStrategy Indicates the strategy to use when + * grouping singleEvents items in the associated combinedEvent object. + * @opt_param int pageSize The maximum number of events to return on a page. The + * response includes a continuation token if there are more events. + * @opt_param string pageToken A token to retrieve a specific page of results. + * @opt_param string source The Google service from which to return activities. + * Possible values of source are: - drive.google.com + * @opt_param string userId Indicates the user to return activity for. Use the + * special value me to indicate the currently authenticated user. + * @return Google_Service_Appsactivity_ListActivitiesResponse + */ + public function listActivities($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php new file mode 100644 index 00000000..a4d3107a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/Target.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php new file mode 100644 index 00000000..e0d2de4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Appsactivity/User.php @@ -0,0 +1,67 @@ +isDeleted = $isDeleted; + } + public function getIsDeleted() + { + return $this->isDeleted; + } + public function setIsMe($isMe) + { + $this->isMe = $isMe; + } + public function getIsMe() + { + return $this->isMe; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setPhoto(Google_Service_Appsactivity_Photo $photo) + { + $this->photo = $photo; + } + public function getPhoto() + { + return $this->photo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php new file mode 100644 index 00000000..619cb66e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler.php @@ -0,0 +1,299 @@ + + * The Google Compute Engine Autoscaler API provides autoscaling for groups of + * Cloud VMs.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Autoscaler extends Google_Service +{ + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + + public $autoscalers; + public $zoneOperations; + public $zones; + + /** + * Constructs the internal representation of the Autoscaler service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'autoscaler/v1beta2/'; + $this->version = 'v1beta2'; + $this->serviceName = 'autoscaler'; + + $this->autoscalers = new Google_Service_Autoscaler_Resource_Autoscalers( + $this, + $this->serviceName, + 'autoscalers', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Autoscaler_Resource_ZoneOperations( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->zones = new Google_Service_Autoscaler_Resource_Zones( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'list' => array( + 'path' => 'zones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'project' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php new file mode 100644 index 00000000..be348120 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Autoscaler.php @@ -0,0 +1,94 @@ +autoscalingPolicy = $autoscalingPolicy; + } + public function getAutoscalingPolicy() + { + return $this->autoscalingPolicy; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php new file mode 100644 index 00000000..b677647c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalerListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php new file mode 100644 index 00000000..c76b696f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicy.php @@ -0,0 +1,79 @@ +coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setCustomMetricUtilizations($customMetricUtilizations) + { + $this->customMetricUtilizations = $customMetricUtilizations; + } + public function getCustomMetricUtilizations() + { + return $this->customMetricUtilizations; + } + public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) + { + $this->loadBalancingUtilization = $loadBalancingUtilization; + } + public function getLoadBalancingUtilization() + { + return $this->loadBalancingUtilization; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php new file mode 100644 index 00000000..ef1600a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCpuUtilization.php @@ -0,0 +1,30 @@ +utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php new file mode 100644 index 00000000..32603dd6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyCustomMetricUtilization.php @@ -0,0 +1,48 @@ +metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } + public function setUtilizationTargetType($utilizationTargetType) + { + $this->utilizationTargetType = $utilizationTargetType; + } + public function getUtilizationTargetType() + { + return $this->utilizationTargetType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php new file mode 100644 index 00000000..c608a0fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/AutoscalingPolicyLoadBalancingUtilization.php @@ -0,0 +1,30 @@ +utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php new file mode 100644 index 00000000..38c0db66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/DeprecationStatus.php @@ -0,0 +1,66 @@ +deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDeprecated($deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setObsolete($obsolete) + { + $this->obsolete = $obsolete; + } + public function getObsolete() + { + return $this->obsolete; + } + public function setReplacement($replacement) + { + $this->replacement = $replacement; + } + public function getReplacement() + { + return $this->replacement; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php new file mode 100644 index 00000000..af096dab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Operation.php @@ -0,0 +1,231 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Autoscaler_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php new file mode 100644 index 00000000..c9a5f2e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php new file mode 100644 index 00000000..c40d2332 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php new file mode 100644 index 00000000..516a9086 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php new file mode 100644 index 00000000..76118225 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php new file mode 100644 index 00000000..1dffa0bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php new file mode 100644 index 00000000..55d7a712 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Autoscalers.php @@ -0,0 +1,124 @@ + + * $autoscalerService = new Google_Service_Autoscaler(...); + * $autoscalers = $autoscalerService->autoscalers; + * + */ +class Google_Service_Autoscaler_Resource_Autoscalers extends Google_Service_Resource +{ + /** + * Deletes the specified Autoscaler resource. (autoscalers.delete) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function delete($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation"); + } + /** + * Gets the specified Autoscaler resource. (autoscalers.get) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Autoscaler + */ + public function get($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler"); + } + /** + * Adds new Autoscaler resource. (autoscalers.insert) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param Google_Service_Autoscaler_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation"); + } + /** + * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string maxResults + * @opt_param string pageToken + * @return Google_Service_Autoscaler_AutoscalerListResponse + */ + public function listAutoscalers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse"); + } + /** + * Update the entire content of the Autoscaler resource. This method supports + * patch semantics. (autoscalers.patch) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param Google_Service_Autoscaler_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation"); + } + /** + * Update the entire content of the Autoscaler resource. (autoscalers.update) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param Google_Service_Autoscaler_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Autoscaler_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php new file mode 100644 index 00000000..0452efe5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/ZoneOperations.php @@ -0,0 +1,78 @@ + + * $autoscalerService = new Google_Service_Autoscaler(...); + * $zoneOperations = $autoscalerService->zoneOperations; + * + */ +class Google_Service_Autoscaler_Resource_ZoneOperations extends Google_Service_Resource +{ + /** + * Deletes the specified zone-specific operation resource. + * (zoneOperations.delete) + * + * @param string $project + * @param string $zone + * @param string $operation + * @param array $optParams Optional parameters. + */ + public function delete($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project + * @param string $zone + * @param string $operation + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Autoscaler_Operation"); + } + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project + * @param string $zone + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string maxResults + * @opt_param string pageToken + * @return Google_Service_Autoscaler_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php new file mode 100644 index 00000000..33c0c832 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Resource/Zones.php @@ -0,0 +1,45 @@ + + * $autoscalerService = new Google_Service_Autoscaler(...); + * $zones = $autoscalerService->zones; + * + */ +class Google_Service_Autoscaler_Resource_Zones extends Google_Service_Resource +{ + /** + * (zones.listZones) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string maxResults + * @opt_param string pageToken + * @opt_param string project + * @return Google_Service_Autoscaler_ZoneList + */ + public function listZones($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_ZoneList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php new file mode 100644 index 00000000..2c4fa2b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/Zone.php @@ -0,0 +1,103 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Autoscaler_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php new file mode 100644 index 00000000..abf42b22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Autoscaler/ZoneList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php new file mode 100644 index 00000000..9216e022 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery.php @@ -0,0 +1,520 @@ + + * A data platform for customers to create, manage, share and query data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Bigquery extends Google_Service +{ + /** View and manage your data in Google BigQuery. */ + const BIGQUERY = + "https://www.googleapis.com/auth/bigquery"; + /** Insert data into Google BigQuery. */ + const BIGQUERY_INSERTDATA = + "https://www.googleapis.com/auth/bigquery.insertdata"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $datasets; + public $jobs; + public $projects; + public $tabledata; + public $tables; + + /** + * Constructs the internal representation of the Bigquery service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'bigquery/v2/'; + $this->version = 'v2'; + $this->serviceName = 'bigquery'; + + $this->datasets = new Google_Service_Bigquery_Resource_Datasets( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleteContents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/datasets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'all' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs = new Google_Service_Bigquery_Resource_Jobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'projects/{projectId}/jobs/{jobId}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getQueryResults' => array( + 'path' => 'projects/{projectId}/queries/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeoutMs' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allUsers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stateFilter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'query' => array( + 'path' => 'projects/{projectId}/queries', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Bigquery_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tabledata = new Google_Service_Bigquery_Resource_Tabledata( + $this, + $this->serviceName, + 'tabledata', + array( + 'methods' => array( + 'insertAll' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tables = new Google_Service_Bigquery_Resource_Tables( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php new file mode 100644 index 00000000..ba688934 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumn.php @@ -0,0 +1,75 @@ +encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setOnlyReadLatest($onlyReadLatest) + { + $this->onlyReadLatest = $onlyReadLatest; + } + public function getOnlyReadLatest() + { + return $this->onlyReadLatest; + } + public function setQualifierEncoded($qualifierEncoded) + { + $this->qualifierEncoded = $qualifierEncoded; + } + public function getQualifierEncoded() + { + return $this->qualifierEncoded; + } + public function setQualifierString($qualifierString) + { + $this->qualifierString = $qualifierString; + } + public function getQualifierString() + { + return $this->qualifierString; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php new file mode 100644 index 00000000..70b502a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableColumnFamily.php @@ -0,0 +1,68 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setEncoding($encoding) + { + $this->encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFamilyId($familyId) + { + $this->familyId = $familyId; + } + public function getFamilyId() + { + return $this->familyId; + } + public function setOnlyReadLatest($onlyReadLatest) + { + $this->onlyReadLatest = $onlyReadLatest; + } + public function getOnlyReadLatest() + { + return $this->onlyReadLatest; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php new file mode 100644 index 00000000..51b78b98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/BigtableOptions.php @@ -0,0 +1,50 @@ +columnFamilies = $columnFamilies; + } + public function getColumnFamilies() + { + return $this->columnFamilies; + } + public function setIgnoreUnspecifiedColumnFamilies($ignoreUnspecifiedColumnFamilies) + { + $this->ignoreUnspecifiedColumnFamilies = $ignoreUnspecifiedColumnFamilies; + } + public function getIgnoreUnspecifiedColumnFamilies() + { + return $this->ignoreUnspecifiedColumnFamilies; + } + public function setReadRowkeyAsString($readRowkeyAsString) + { + $this->readRowkeyAsString = $readRowkeyAsString; + } + public function getReadRowkeyAsString() + { + return $this->readRowkeyAsString; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php new file mode 100644 index 00000000..de25be0b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/CsvOptions.php @@ -0,0 +1,75 @@ +allowJaggedRows = $allowJaggedRows; + } + public function getAllowJaggedRows() + { + return $this->allowJaggedRows; + } + public function setAllowQuotedNewlines($allowQuotedNewlines) + { + $this->allowQuotedNewlines = $allowQuotedNewlines; + } + public function getAllowQuotedNewlines() + { + return $this->allowQuotedNewlines; + } + public function setEncoding($encoding) + { + $this->encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setQuote($quote) + { + $this->quote = $quote; + } + public function getQuote() + { + return $this->quote; + } + public function setSkipLeadingRows($skipLeadingRows) + { + $this->skipLeadingRows = $skipLeadingRows; + } + public function getSkipLeadingRows() + { + return $this->skipLeadingRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php new file mode 100644 index 00000000..5591fb53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Dataset.php @@ -0,0 +1,141 @@ +access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference) + { + $this->datasetReference = $datasetReference; + } + public function getDatasetReference() + { + return $this->datasetReference; + } + public function setDefaultTableExpirationMs($defaultTableExpirationMs) + { + $this->defaultTableExpirationMs = $defaultTableExpirationMs; + } + public function getDefaultTableExpirationMs() + { + return $this->defaultTableExpirationMs; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php new file mode 100644 index 00000000..65677dfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetAccess.php @@ -0,0 +1,76 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setGroupByEmail($groupByEmail) + { + $this->groupByEmail = $groupByEmail; + } + public function getGroupByEmail() + { + return $this->groupByEmail; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSpecialGroup($specialGroup) + { + $this->specialGroup = $specialGroup; + } + public function getSpecialGroup() + { + return $this->specialGroup; + } + public function setUserByEmail($userByEmail) + { + $this->userByEmail = $userByEmail; + } + public function getUserByEmail() + { + return $this->userByEmail; + } + public function setView(Google_Service_Bigquery_TableReference $view) + { + $this->view = $view; + } + public function getView() + { + return $this->view; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php new file mode 100644 index 00000000..207ba0b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetList.php @@ -0,0 +1,59 @@ +datasets = $datasets; + } + public function getDatasets() + { + return $this->datasets; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php new file mode 100644 index 00000000..382c85d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetListDatasets.php @@ -0,0 +1,67 @@ +datasetReference = $datasetReference; + } + public function getDatasetReference() + { + return $this->datasetReference; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php new file mode 100644 index 00000000..e2c7d9c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/DatasetReference.php @@ -0,0 +1,39 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php new file mode 100644 index 00000000..1981d89b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ErrorProto.php @@ -0,0 +1,57 @@ +debugInfo = $debugInfo; + } + public function getDebugInfo() + { + return $this->debugInfo; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php new file mode 100644 index 00000000..148eae03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStage.php @@ -0,0 +1,149 @@ +computeRatioAvg = $computeRatioAvg; + } + public function getComputeRatioAvg() + { + return $this->computeRatioAvg; + } + public function setComputeRatioMax($computeRatioMax) + { + $this->computeRatioMax = $computeRatioMax; + } + public function getComputeRatioMax() + { + return $this->computeRatioMax; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReadRatioAvg($readRatioAvg) + { + $this->readRatioAvg = $readRatioAvg; + } + public function getReadRatioAvg() + { + return $this->readRatioAvg; + } + public function setReadRatioMax($readRatioMax) + { + $this->readRatioMax = $readRatioMax; + } + public function getReadRatioMax() + { + return $this->readRatioMax; + } + public function setRecordsRead($recordsRead) + { + $this->recordsRead = $recordsRead; + } + public function getRecordsRead() + { + return $this->recordsRead; + } + public function setRecordsWritten($recordsWritten) + { + $this->recordsWritten = $recordsWritten; + } + public function getRecordsWritten() + { + return $this->recordsWritten; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setWaitRatioAvg($waitRatioAvg) + { + $this->waitRatioAvg = $waitRatioAvg; + } + public function getWaitRatioAvg() + { + return $this->waitRatioAvg; + } + public function setWaitRatioMax($waitRatioMax) + { + $this->waitRatioMax = $waitRatioMax; + } + public function getWaitRatioMax() + { + return $this->waitRatioMax; + } + public function setWriteRatioAvg($writeRatioAvg) + { + $this->writeRatioAvg = $writeRatioAvg; + } + public function getWriteRatioAvg() + { + return $this->writeRatioAvg; + } + public function setWriteRatioMax($writeRatioMax) + { + $this->writeRatioMax = $writeRatioMax; + } + public function getWriteRatioMax() + { + return $this->writeRatioMax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php new file mode 100644 index 00000000..160025b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExplainQueryStep.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSubsteps($substeps) + { + $this->substeps = $substeps; + } + public function getSubsteps() + { + return $this->substeps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php new file mode 100644 index 00000000..86f22801 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ExternalDataConfiguration.php @@ -0,0 +1,116 @@ +autodetect = $autodetect; + } + public function getAutodetect() + { + return $this->autodetect; + } + public function setBigtableOptions(Google_Service_Bigquery_BigtableOptions $bigtableOptions) + { + $this->bigtableOptions = $bigtableOptions; + } + public function getBigtableOptions() + { + return $this->bigtableOptions; + } + public function setCompression($compression) + { + $this->compression = $compression; + } + public function getCompression() + { + return $this->compression; + } + public function setCsvOptions(Google_Service_Bigquery_CsvOptions $csvOptions) + { + $this->csvOptions = $csvOptions; + } + public function getCsvOptions() + { + return $this->csvOptions; + } + public function setGoogleSheetsOptions(Google_Service_Bigquery_GoogleSheetsOptions $googleSheetsOptions) + { + $this->googleSheetsOptions = $googleSheetsOptions; + } + public function getGoogleSheetsOptions() + { + return $this->googleSheetsOptions; + } + public function setIgnoreUnknownValues($ignoreUnknownValues) + { + $this->ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setMaxBadRecords($maxBadRecords) + { + $this->maxBadRecords = $maxBadRecords; + } + public function getMaxBadRecords() + { + return $this->maxBadRecords; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSourceFormat($sourceFormat) + { + $this->sourceFormat = $sourceFormat; + } + public function getSourceFormat() + { + return $this->sourceFormat; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php new file mode 100644 index 00000000..9a177fb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GetQueryResultsResponse.php @@ -0,0 +1,134 @@ +cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setJobComplete($jobComplete) + { + $this->jobComplete = $jobComplete; + } + public function getJobComplete() + { + return $this->jobComplete; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumDmlAffectedRows($numDmlAffectedRows) + { + $this->numDmlAffectedRows = $numDmlAffectedRows; + } + public function getNumDmlAffectedRows() + { + return $this->numDmlAffectedRows; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php new file mode 100644 index 00000000..359b6a46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/GoogleSheetsOptions.php @@ -0,0 +1,30 @@ +skipLeadingRows = $skipLeadingRows; + } + public function getSkipLeadingRows() + { + return $this->skipLeadingRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php new file mode 100644 index 00000000..67a242a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Job.php @@ -0,0 +1,109 @@ + "user_email", + ); + protected $configurationType = 'Google_Service_Bigquery_JobConfiguration'; + protected $configurationDataType = ''; + public $etag; + public $id; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $selfLink; + protected $statisticsType = 'Google_Service_Bigquery_JobStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_Bigquery_JobStatus'; + protected $statusDataType = ''; + public $userEmail; + + public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration) + { + $this->configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_Bigquery_JobStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php new file mode 100644 index 00000000..19affed3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobCancelResponse.php @@ -0,0 +1,40 @@ +job = $job; + } + public function getJob() + { + return $this->job; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php new file mode 100644 index 00000000..9a66c970 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfiguration.php @@ -0,0 +1,79 @@ +copy = $copy; + } + public function getCopy() + { + return $this->copy; + } + public function setDryRun($dryRun) + { + $this->dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setExtract(Google_Service_Bigquery_JobConfigurationExtract $extract) + { + $this->extract = $extract; + } + public function getExtract() + { + return $this->extract; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLoad(Google_Service_Bigquery_JobConfigurationLoad $load) + { + $this->load = $load; + } + public function getLoad() + { + return $this->load; + } + public function setQuery(Google_Service_Bigquery_JobConfigurationQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php new file mode 100644 index 00000000..28cdf78a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationExtract.php @@ -0,0 +1,86 @@ +compression = $compression; + } + public function getCompression() + { + return $this->compression; + } + public function setDestinationFormat($destinationFormat) + { + $this->destinationFormat = $destinationFormat; + } + public function getDestinationFormat() + { + return $this->destinationFormat; + } + public function setDestinationUri($destinationUri) + { + $this->destinationUri = $destinationUri; + } + public function getDestinationUri() + { + return $this->destinationUri; + } + public function setDestinationUris($destinationUris) + { + $this->destinationUris = $destinationUris; + } + public function getDestinationUris() + { + return $this->destinationUris; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setPrintHeader($printHeader) + { + $this->printHeader = $printHeader; + } + public function getPrintHeader() + { + return $this->printHeader; + } + public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable) + { + $this->sourceTable = $sourceTable; + } + public function getSourceTable() + { + return $this->sourceTable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php new file mode 100644 index 00000000..76e0f436 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationLoad.php @@ -0,0 +1,204 @@ +allowJaggedRows = $allowJaggedRows; + } + public function getAllowJaggedRows() + { + return $this->allowJaggedRows; + } + public function setAllowQuotedNewlines($allowQuotedNewlines) + { + $this->allowQuotedNewlines = $allowQuotedNewlines; + } + public function getAllowQuotedNewlines() + { + return $this->allowQuotedNewlines; + } + public function setAutodetect($autodetect) + { + $this->autodetect = $autodetect; + } + public function getAutodetect() + { + return $this->autodetect; + } + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setEncoding($encoding) + { + $this->encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setIgnoreUnknownValues($ignoreUnknownValues) + { + $this->ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setMaxBadRecords($maxBadRecords) + { + $this->maxBadRecords = $maxBadRecords; + } + public function getMaxBadRecords() + { + return $this->maxBadRecords; + } + public function setNullMarker($nullMarker) + { + $this->nullMarker = $nullMarker; + } + public function getNullMarker() + { + return $this->nullMarker; + } + public function setProjectionFields($projectionFields) + { + $this->projectionFields = $projectionFields; + } + public function getProjectionFields() + { + return $this->projectionFields; + } + public function setQuote($quote) + { + $this->quote = $quote; + } + public function getQuote() + { + return $this->quote; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSchemaInline($schemaInline) + { + $this->schemaInline = $schemaInline; + } + public function getSchemaInline() + { + return $this->schemaInline; + } + public function setSchemaInlineFormat($schemaInlineFormat) + { + $this->schemaInlineFormat = $schemaInlineFormat; + } + public function getSchemaInlineFormat() + { + return $this->schemaInlineFormat; + } + public function setSchemaUpdateOptions($schemaUpdateOptions) + { + $this->schemaUpdateOptions = $schemaUpdateOptions; + } + public function getSchemaUpdateOptions() + { + return $this->schemaUpdateOptions; + } + public function setSkipLeadingRows($skipLeadingRows) + { + $this->skipLeadingRows = $skipLeadingRows; + } + public function getSkipLeadingRows() + { + return $this->skipLeadingRows; + } + public function setSourceFormat($sourceFormat) + { + $this->sourceFormat = $sourceFormat; + } + public function getSourceFormat() + { + return $this->sourceFormat; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php new file mode 100644 index 00000000..0e4f8462 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationQuery.php @@ -0,0 +1,189 @@ +allowLargeResults = $allowLargeResults; + } + public function getAllowLargeResults() + { + return $this->allowLargeResults; + } + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset) + { + $this->defaultDataset = $defaultDataset; + } + public function getDefaultDataset() + { + return $this->defaultDataset; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setFlattenResults($flattenResults) + { + $this->flattenResults = $flattenResults; + } + public function getFlattenResults() + { + return $this->flattenResults; + } + public function setMaximumBillingTier($maximumBillingTier) + { + $this->maximumBillingTier = $maximumBillingTier; + } + public function getMaximumBillingTier() + { + return $this->maximumBillingTier; + } + public function setMaximumBytesBilled($maximumBytesBilled) + { + $this->maximumBytesBilled = $maximumBytesBilled; + } + public function getMaximumBytesBilled() + { + return $this->maximumBytesBilled; + } + public function setParameterMode($parameterMode) + { + $this->parameterMode = $parameterMode; + } + public function getParameterMode() + { + return $this->parameterMode; + } + public function setPreserveNulls($preserveNulls) + { + $this->preserveNulls = $preserveNulls; + } + public function getPreserveNulls() + { + return $this->preserveNulls; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setQueryParameters($queryParameters) + { + $this->queryParameters = $queryParameters; + } + public function getQueryParameters() + { + return $this->queryParameters; + } + public function setSchemaUpdateOptions($schemaUpdateOptions) + { + $this->schemaUpdateOptions = $schemaUpdateOptions; + } + public function getSchemaUpdateOptions() + { + return $this->schemaUpdateOptions; + } + public function setTableDefinitions($tableDefinitions) + { + $this->tableDefinitions = $tableDefinitions; + } + public function getTableDefinitions() + { + return $this->tableDefinitions; + } + public function setUseLegacySql($useLegacySql) + { + $this->useLegacySql = $useLegacySql; + } + public function getUseLegacySql() + { + return $this->useLegacySql; + } + public function setUseQueryCache($useQueryCache) + { + $this->useQueryCache = $useQueryCache; + } + public function getUseQueryCache() + { + return $this->useQueryCache; + } + public function setUserDefinedFunctionResources($userDefinedFunctionResources) + { + $this->userDefinedFunctionResources = $userDefinedFunctionResources; + } + public function getUserDefinedFunctionResources() + { + return $this->userDefinedFunctionResources; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php new file mode 100644 index 00000000..d6ba7923 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobConfigurationTableCopy.php @@ -0,0 +1,70 @@ +createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable) + { + $this->sourceTable = $sourceTable; + } + public function getSourceTable() + { + return $this->sourceTable; + } + public function setSourceTables($sourceTables) + { + $this->sourceTables = $sourceTables; + } + public function getSourceTables() + { + return $this->sourceTables; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php new file mode 100644 index 00000000..174c32f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setJobs($jobs) + { + $this->jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php new file mode 100644 index 00000000..36a9a9a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobListJobs.php @@ -0,0 +1,110 @@ + "user_email", + ); + protected $configurationType = 'Google_Service_Bigquery_JobConfiguration'; + protected $configurationDataType = ''; + protected $errorResultType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorResultDataType = ''; + public $id; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $state; + protected $statisticsType = 'Google_Service_Bigquery_JobStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_Bigquery_JobStatus'; + protected $statusDataType = ''; + public $userEmail; + + public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration) + { + $this->configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult) + { + $this->errorResult = $errorResult; + } + public function getErrorResult() + { + return $this->errorResult; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_Bigquery_JobStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php new file mode 100644 index 00000000..696d73aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobReference.php @@ -0,0 +1,39 @@ +jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php new file mode 100644 index 00000000..865e0281 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics.php @@ -0,0 +1,87 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setExtract(Google_Service_Bigquery_JobStatistics4 $extract) + { + $this->extract = $extract; + } + public function getExtract() + { + return $this->extract; + } + public function setLoad(Google_Service_Bigquery_JobStatistics3 $load) + { + $this->load = $load; + } + public function getLoad() + { + return $this->load; + } + public function setQuery(Google_Service_Bigquery_JobStatistics2 $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php new file mode 100644 index 00000000..7b9ecfa3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics2.php @@ -0,0 +1,116 @@ +billingTier = $billingTier; + } + public function getBillingTier() + { + return $this->billingTier; + } + public function setCacheHit($cacheHit) + { + $this->cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setNumDmlAffectedRows($numDmlAffectedRows) + { + $this->numDmlAffectedRows = $numDmlAffectedRows; + } + public function getNumDmlAffectedRows() + { + return $this->numDmlAffectedRows; + } + public function setQueryPlan($queryPlan) + { + $this->queryPlan = $queryPlan; + } + public function getQueryPlan() + { + return $this->queryPlan; + } + public function setReferencedTables($referencedTables) + { + $this->referencedTables = $referencedTables; + } + public function getReferencedTables() + { + return $this->referencedTables; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setStatementType($statementType) + { + $this->statementType = $statementType; + } + public function getStatementType() + { + return $this->statementType; + } + public function setTotalBytesBilled($totalBytesBilled) + { + $this->totalBytesBilled = $totalBytesBilled; + } + public function getTotalBytesBilled() + { + return $this->totalBytesBilled; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } + public function setUndeclaredQueryParameters($undeclaredQueryParameters) + { + $this->undeclaredQueryParameters = $undeclaredQueryParameters; + } + public function getUndeclaredQueryParameters() + { + return $this->undeclaredQueryParameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php new file mode 100644 index 00000000..d2b920d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics3.php @@ -0,0 +1,57 @@ +inputFileBytes = $inputFileBytes; + } + public function getInputFileBytes() + { + return $this->inputFileBytes; + } + public function setInputFiles($inputFiles) + { + $this->inputFiles = $inputFiles; + } + public function getInputFiles() + { + return $this->inputFiles; + } + public function setOutputBytes($outputBytes) + { + $this->outputBytes = $outputBytes; + } + public function getOutputBytes() + { + return $this->outputBytes; + } + public function setOutputRows($outputRows) + { + $this->outputRows = $outputRows; + } + public function getOutputRows() + { + return $this->outputRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php new file mode 100644 index 00000000..d9aebbf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatistics4.php @@ -0,0 +1,31 @@ +destinationUriFileCounts = $destinationUriFileCounts; + } + public function getDestinationUriFileCounts() + { + return $this->destinationUriFileCounts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php new file mode 100644 index 00000000..8afca757 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/JobStatus.php @@ -0,0 +1,51 @@ +errorResult = $errorResult; + } + public function getErrorResult() + { + return $this->errorResult; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php new file mode 100644 index 00000000..aa55920c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectList.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php new file mode 100644 index 00000000..eef33842 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectListProjects.php @@ -0,0 +1,67 @@ +friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumericId($numericId) + { + $this->numericId = $numericId; + } + public function getNumericId() + { + return $this->numericId; + } + public function setProjectReference(Google_Service_Bigquery_ProjectReference $projectReference) + { + $this->projectReference = $projectReference; + } + public function getProjectReference() + { + return $this->projectReference; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php new file mode 100644 index 00000000..4f9fb3e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ProjectReference.php @@ -0,0 +1,30 @@ +projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php new file mode 100644 index 00000000..b8e35a83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameter.php @@ -0,0 +1,50 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setParameterType(Google_Service_Bigquery_QueryParameterType $parameterType) + { + $this->parameterType = $parameterType; + } + public function getParameterType() + { + return $this->parameterType; + } + public function setParameterValue(Google_Service_Bigquery_QueryParameterValue $parameterValue) + { + $this->parameterValue = $parameterValue; + } + public function getParameterValue() + { + return $this->parameterValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php new file mode 100644 index 00000000..12dcb449 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterType.php @@ -0,0 +1,51 @@ +arrayType = $arrayType; + } + public function getArrayType() + { + return $this->arrayType; + } + public function setStructTypes($structTypes) + { + $this->structTypes = $structTypes; + } + public function getStructTypes() + { + return $this->structTypes; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php new file mode 100644 index 00000000..00f9f890 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterTypeStructTypes.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType(Google_Service_Bigquery_QueryParameterType $type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php new file mode 100644 index 00000000..46f629c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryParameterValue.php @@ -0,0 +1,51 @@ +arrayValues = $arrayValues; + } + public function getArrayValues() + { + return $this->arrayValues; + } + public function setStructValues($structValues) + { + $this->structValues = $structValues; + } + public function getStructValues() + { + return $this->structValues; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php new file mode 100644 index 00000000..7b1d5423 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryRequest.php @@ -0,0 +1,123 @@ +defaultDataset = $defaultDataset; + } + public function getDefaultDataset() + { + return $this->defaultDataset; + } + public function setDryRun($dryRun) + { + $this->dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setParameterMode($parameterMode) + { + $this->parameterMode = $parameterMode; + } + public function getParameterMode() + { + return $this->parameterMode; + } + public function setPreserveNulls($preserveNulls) + { + $this->preserveNulls = $preserveNulls; + } + public function getPreserveNulls() + { + return $this->preserveNulls; + } + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setQueryParameters($queryParameters) + { + $this->queryParameters = $queryParameters; + } + public function getQueryParameters() + { + return $this->queryParameters; + } + public function setTimeoutMs($timeoutMs) + { + $this->timeoutMs = $timeoutMs; + } + public function getTimeoutMs() + { + return $this->timeoutMs; + } + public function setUseLegacySql($useLegacySql) + { + $this->useLegacySql = $useLegacySql; + } + public function getUseLegacySql() + { + return $this->useLegacySql; + } + public function setUseQueryCache($useQueryCache) + { + $this->useQueryCache = $useQueryCache; + } + public function getUseQueryCache() + { + return $this->useQueryCache; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php new file mode 100644 index 00000000..7736968a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/QueryResponse.php @@ -0,0 +1,125 @@ +cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setJobComplete($jobComplete) + { + $this->jobComplete = $jobComplete; + } + public function getJobComplete() + { + return $this->jobComplete; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumDmlAffectedRows($numDmlAffectedRows) + { + $this->numDmlAffectedRows = $numDmlAffectedRows; + } + public function getNumDmlAffectedRows() + { + return $this->numDmlAffectedRows; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php new file mode 100644 index 00000000..ebe9716a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Datasets.php @@ -0,0 +1,134 @@ + + * $bigqueryService = new Google_Service_Bigquery(...); + * $datasets = $bigqueryService->datasets; + * + */ +class Google_Service_Bigquery_Resource_Datasets extends Google_Service_Resource +{ + /** + * Deletes the dataset specified by the datasetId value. Before you can delete a + * dataset, you must delete all its tables, either manually or by specifying + * deleteContents. Immediately after deletion, you can create another dataset + * with the same name. (datasets.delete) + * + * @param string $projectId Project ID of the dataset being deleted + * @param string $datasetId Dataset ID of dataset being deleted + * @param array $optParams Optional parameters. + * + * @opt_param bool deleteContents If True, delete all the tables in the dataset. + * If False and the dataset contains tables, the request will fail. Default is + * False + */ + public function delete($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the dataset specified by datasetID. (datasets.get) + * + * @param string $projectId Project ID of the requested dataset + * @param string $datasetId Dataset ID of the requested dataset + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function get($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Dataset"); + } + /** + * Creates a new empty dataset. (datasets.insert) + * + * @param string $projectId Project ID of the new dataset + * @param Google_Service_Bigquery_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function insert($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Dataset"); + } + /** + * Lists all datasets in the specified project to which you have been granted + * the READER dataset role. (datasets.listDatasets) + * + * @param string $projectId Project ID of the datasets to be listed + * @param array $optParams Optional parameters. + * + * @opt_param bool all Whether to list all datasets, including hidden ones + * @opt_param string filter An expression for filtering the results of the + * request by label. The syntax is "labels.[:]". Multiple filters can be ANDed + * together by connecting with a space. Example: "labels.department:receiving + * labels.active". See Filtering datasets using labels for details. + * @opt_param string maxResults The maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @return Google_Service_Bigquery_DatasetList + */ + public function listDatasets($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_DatasetList"); + } + /** + * Updates information in an existing dataset. The update method replaces the + * entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. This method supports patch + * semantics. (datasets.patch) + * + * @param string $projectId Project ID of the dataset being updated + * @param string $datasetId Dataset ID of the dataset being updated + * @param Google_Service_Bigquery_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function patch($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Bigquery_Dataset"); + } + /** + * Updates information in an existing dataset. The update method replaces the + * entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. (datasets.update) + * + * @param string $projectId Project ID of the dataset being updated + * @param string $datasetId Dataset ID of the dataset being updated + * @param Google_Service_Bigquery_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function update($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Bigquery_Dataset"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php new file mode 100644 index 00000000..adc6f241 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Jobs.php @@ -0,0 +1,140 @@ + + * $bigqueryService = new Google_Service_Bigquery(...); + * $jobs = $bigqueryService->jobs; + * + */ +class Google_Service_Bigquery_Resource_Jobs extends Google_Service_Resource +{ + /** + * Requests that a job be cancelled. This call will return immediately, and the + * client will need to poll for the job status to see if the cancel completed + * successfully. Cancelled jobs may still incur costs. (jobs.cancel) + * + * @param string $projectId [Required] Project ID of the job to cancel + * @param string $jobId [Required] Job ID of the job to cancel + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_JobCancelResponse + */ + public function cancel($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Bigquery_JobCancelResponse"); + } + /** + * Returns information about a specific job. Job information is available for a + * six month period after creation. Requires that you're the person who ran the + * job, or have the Is Owner project role. (jobs.get) + * + * @param string $projectId [Required] Project ID of the requested job + * @param string $jobId [Required] Job ID of the requested job + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Job + */ + public function get($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Job"); + } + /** + * Retrieves the results of a query job. (jobs.getQueryResults) + * + * @param string $projectId [Required] Project ID of the query job + * @param string $jobId [Required] Job ID of the query job + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to read + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param string startIndex Zero-based index of the starting row + * @opt_param string timeoutMs How long to wait for the query to complete, in + * milliseconds, before returning. Default is 10 seconds. If the timeout passes + * before the job completes, the 'jobComplete' field in the response will be + * false + * @return Google_Service_Bigquery_GetQueryResultsResponse + */ + public function getQueryResults($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('getQueryResults', array($params), "Google_Service_Bigquery_GetQueryResultsResponse"); + } + /** + * Starts a new asynchronous job. Requires the Can View project role. + * (jobs.insert) + * + * @param string $projectId Project ID of the project that will be billed for + * the job + * @param Google_Service_Bigquery_Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Job + */ + public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Job"); + } + /** + * Lists all jobs that you started in the specified project. Job information is + * available for a six month period after creation. The job list is sorted in + * reverse chronological order, by job creation time. Requires the Can View + * project role, or the Is Owner project role if you set the allUsers property. + * (jobs.listJobs) + * + * @param string $projectId Project ID of the jobs to list + * @param array $optParams Optional parameters. + * + * @opt_param bool allUsers Whether to display jobs owned by all users in the + * project. Default false + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param string projection Restrict information returned to a set of + * selected fields + * @opt_param string stateFilter Filter for job state + * @return Google_Service_Bigquery_JobList + */ + public function listJobs($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_JobList"); + } + /** + * Runs a BigQuery SQL query synchronously and returns query results if the + * query completes within a specified timeout. (jobs.query) + * + * @param string $projectId Project ID of the project billed for the query + * @param Google_Service_Bigquery_QueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_QueryResponse + */ + public function query($projectId, Google_Service_Bigquery_QueryRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Bigquery_QueryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php new file mode 100644 index 00000000..a14b0e18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Projects.php @@ -0,0 +1,45 @@ + + * $bigqueryService = new Google_Service_Bigquery(...); + * $projects = $bigqueryService->projects; + * + */ +class Google_Service_Bigquery_Resource_Projects extends Google_Service_Resource +{ + /** + * Lists all projects to which you have been granted any project role. + * (projects.listProjects) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @return Google_Service_Bigquery_ProjectList + */ + public function listProjects($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_ProjectList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php new file mode 100644 index 00000000..c0984a19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tabledata.php @@ -0,0 +1,66 @@ + + * $bigqueryService = new Google_Service_Bigquery(...); + * $tabledata = $bigqueryService->tabledata; + * + */ +class Google_Service_Bigquery_Resource_Tabledata extends Google_Service_Resource +{ + /** + * Streams data into BigQuery one record at a time without needing to run a load + * job. Requires the WRITER dataset role. (tabledata.insertAll) + * + * @param string $projectId Project ID of the destination table. + * @param string $datasetId Dataset ID of the destination table. + * @param string $tableId Table ID of the destination table. + * @param Google_Service_Bigquery_TableDataInsertAllRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_TableDataInsertAllResponse + */ + public function insertAll($projectId, $datasetId, $tableId, Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insertAll', array($params), "Google_Service_Bigquery_TableDataInsertAllResponse"); + } + /** + * Retrieves table data from a specified set of rows. Requires the READER + * dataset role. (tabledata.listTabledata) + * + * @param string $projectId Project ID of the table to read + * @param string $datasetId Dataset ID of the table to read + * @param string $tableId Table ID of the table to read + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, + * identifying the result set + * @opt_param string startIndex Zero-based index of the starting row to read + * @return Google_Service_Bigquery_TableDataList + */ + public function listTabledata($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_TableDataList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php new file mode 100644 index 00000000..063bddfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Resource/Tables.php @@ -0,0 +1,131 @@ + + * $bigqueryService = new Google_Service_Bigquery(...); + * $tables = $bigqueryService->tables; + * + */ +class Google_Service_Bigquery_Resource_Tables extends Google_Service_Resource +{ + /** + * Deletes the table specified by tableId from the dataset. If the table + * contains data, all the data will be deleted. (tables.delete) + * + * @param string $projectId Project ID of the table to delete + * @param string $datasetId Dataset ID of the table to delete + * @param string $tableId Table ID of the table to delete + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified table resource by table ID. This method does not return + * the data in the table, it only returns the table resource, which describes + * the structure of this table. (tables.get) + * + * @param string $projectId Project ID of the requested table + * @param string $datasetId Dataset ID of the requested table + * @param string $tableId Table ID of the requested table + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function get($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Table"); + } + /** + * Creates a new, empty table in the dataset. (tables.insert) + * + * @param string $projectId Project ID of the new table + * @param string $datasetId Dataset ID of the new table + * @param Google_Service_Bigquery_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function insert($projectId, $datasetId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Table"); + } + /** + * Lists all tables in the specified dataset. Requires the READER dataset role. + * (tables.listTables) + * + * @param string $projectId Project ID of the tables to list + * @param string $datasetId Dataset ID of the tables to list + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @return Google_Service_Bigquery_TableList + */ + public function listTables($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_TableList"); + } + /** + * Updates information in an existing table. The update method replaces the + * entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. This method supports patch + * semantics. (tables.patch) + * + * @param string $projectId Project ID of the table to update + * @param string $datasetId Dataset ID of the table to update + * @param string $tableId Table ID of the table to update + * @param Google_Service_Bigquery_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function patch($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Bigquery_Table"); + } + /** + * Updates information in an existing table. The update method replaces the + * entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. (tables.update) + * + * @param string $projectId Project ID of the table to update + * @param string $datasetId Dataset ID of the table to update + * @param string $tableId Table ID of the table to update + * @param Google_Service_Bigquery_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Bigquery_Table"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php new file mode 100644 index 00000000..4bf63704 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Streamingbuffer.php @@ -0,0 +1,48 @@ +estimatedBytes = $estimatedBytes; + } + public function getEstimatedBytes() + { + return $this->estimatedBytes; + } + public function setEstimatedRows($estimatedRows) + { + $this->estimatedRows = $estimatedRows; + } + public function getEstimatedRows() + { + return $this->estimatedRows; + } + public function setOldestEntryTime($oldestEntryTime) + { + $this->oldestEntryTime = $oldestEntryTime; + } + public function getOldestEntryTime() + { + return $this->oldestEntryTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php new file mode 100644 index 00000000..6d6521fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/Table.php @@ -0,0 +1,216 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setExternalDataConfiguration(Google_Service_Bigquery_ExternalDataConfiguration $externalDataConfiguration) + { + $this->externalDataConfiguration = $externalDataConfiguration; + } + public function getExternalDataConfiguration() + { + return $this->externalDataConfiguration; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNumBytes($numBytes) + { + $this->numBytes = $numBytes; + } + public function getNumBytes() + { + return $this->numBytes; + } + public function setNumLongTermBytes($numLongTermBytes) + { + $this->numLongTermBytes = $numLongTermBytes; + } + public function getNumLongTermBytes() + { + return $this->numLongTermBytes; + } + public function setNumRows($numRows) + { + $this->numRows = $numRows; + } + public function getNumRows() + { + return $this->numRows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStreamingBuffer(Google_Service_Bigquery_Streamingbuffer $streamingBuffer) + { + $this->streamingBuffer = $streamingBuffer; + } + public function getStreamingBuffer() + { + return $this->streamingBuffer; + } + public function setTableReference(Google_Service_Bigquery_TableReference $tableReference) + { + $this->tableReference = $tableReference; + } + public function getTableReference() + { + return $this->tableReference; + } + public function setTimePartitioning(Google_Service_Bigquery_TimePartitioning $timePartitioning) + { + $this->timePartitioning = $timePartitioning; + } + public function getTimePartitioning() + { + return $this->timePartitioning; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setView(Google_Service_Bigquery_ViewDefinition $view) + { + $this->view = $view; + } + public function getView() + { + return $this->view; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php new file mode 100644 index 00000000..29909c03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableCell.php @@ -0,0 +1,30 @@ +v = $v; + } + public function getV() + { + return $this->v; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php new file mode 100644 index 00000000..70b6cd7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequest.php @@ -0,0 +1,68 @@ +ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSkipInvalidRows($skipInvalidRows) + { + $this->skipInvalidRows = $skipInvalidRows; + } + public function getSkipInvalidRows() + { + return $this->skipInvalidRows; + } + public function setTemplateSuffix($templateSuffix) + { + $this->templateSuffix = $templateSuffix; + } + public function getTemplateSuffix() + { + return $this->templateSuffix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php new file mode 100644 index 00000000..9467a738 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllRequestRows.php @@ -0,0 +1,39 @@ +insertId = $insertId; + } + public function getInsertId() + { + return $this->insertId; + } + public function setJson($json) + { + $this->json = $json; + } + public function getJson() + { + return $this->json; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php new file mode 100644 index 00000000..09e42b02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponse.php @@ -0,0 +1,41 @@ +insertErrors = $insertErrors; + } + public function getInsertErrors() + { + return $this->insertErrors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php new file mode 100644 index 00000000..28c7b4f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataInsertAllResponseInsertErrors.php @@ -0,0 +1,41 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php new file mode 100644 index 00000000..0faf8c73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableDataList.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php new file mode 100644 index 00000000..140fbece --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableFieldSchema.php @@ -0,0 +1,68 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setMode($mode) + { + $this->mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php new file mode 100644 index 00000000..1c471637 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableList.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTables($tables) + { + $this->tables = $tables; + } + public function getTables() + { + return $this->tables; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php new file mode 100644 index 00000000..08aecbae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTables.php @@ -0,0 +1,86 @@ +friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setTableReference(Google_Service_Bigquery_TableReference $tableReference) + { + $this->tableReference = $tableReference; + } + public function getTableReference() + { + return $this->tableReference; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setView(Google_Service_Bigquery_TableListTablesView $view) + { + $this->view = $view; + } + public function getView() + { + return $this->view; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php new file mode 100644 index 00000000..75cd863a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableListTablesView.php @@ -0,0 +1,30 @@ +useLegacySql = $useLegacySql; + } + public function getUseLegacySql() + { + return $this->useLegacySql; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php new file mode 100644 index 00000000..9f6f5043 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableReference.php @@ -0,0 +1,48 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php new file mode 100644 index 00000000..2d6a0190 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableRow.php @@ -0,0 +1,32 @@ +f = $f; + } + public function getF() + { + return $this->f; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php new file mode 100644 index 00000000..9f0266e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TableSchema.php @@ -0,0 +1,32 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php new file mode 100644 index 00000000..c89e2b66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/TimePartitioning.php @@ -0,0 +1,39 @@ +expirationMs = $expirationMs; + } + public function getExpirationMs() + { + return $this->expirationMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php new file mode 100644 index 00000000..60d19d52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/UserDefinedFunctionResource.php @@ -0,0 +1,39 @@ +inlineCode = $inlineCode; + } + public function getInlineCode() + { + return $this->inlineCode; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php new file mode 100644 index 00000000..1692c994 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Bigquery/ViewDefinition.php @@ -0,0 +1,50 @@ +query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setUseLegacySql($useLegacySql) + { + $this->useLegacySql = $useLegacySql; + } + public function getUseLegacySql() + { + return $this->useLegacySql; + } + public function setUserDefinedFunctionResources($userDefinedFunctionResources) + { + $this->userDefinedFunctionResources = $userDefinedFunctionResources; + } + public function getUserDefinedFunctionResources() + { + return $this->userDefinedFunctionResources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php new file mode 100644 index 00000000..f8560dc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger.php @@ -0,0 +1,930 @@ + + * API for access to the data within Blogger.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Blogger extends Google_Service +{ + /** Manage your Blogger account. */ + const BLOGGER = + "https://www.googleapis.com/auth/blogger"; + /** View your Blogger account. */ + const BLOGGER_READONLY = + "https://www.googleapis.com/auth/blogger.readonly"; + + public $blogUserInfos; + public $blogs; + public $comments; + public $pageViews; + public $pages; + public $postUserInfos; + public $posts; + public $users; + + /** + * Constructs the internal representation of the Blogger service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'blogger/v3/'; + $this->version = 'v3'; + $this->serviceName = 'blogger'; + + $this->blogUserInfos = new Google_Service_Blogger_Resource_BlogUserInfos( + $this, + $this->serviceName, + 'blogUserInfos', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/blogs/{blogId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxPosts' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->blogs = new Google_Service_Blogger_Resource_Blogs( + $this, + $this->serviceName, + 'blogs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'blogs/{blogId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxPosts' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getByUrl' => array( + 'path' => 'blogs/byurl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'url' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByUser' => array( + 'path' => 'users/{userId}/blogs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchUserInfo' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_Blogger_Resource_Comments( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'approve' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByBlog' => array( + 'path' => 'blogs/{blogId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'markAsSpam' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removeContent' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->pageViews = new Google_Service_Blogger_Resource_PageViews( + $this, + $this->serviceName, + 'pageViews', + array( + 'methods' => array( + 'get' => array( + 'path' => 'blogs/{blogId}/pageviews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->pages = new Google_Service_Blogger_Resource_Pages( + $this, + $this->serviceName, + 'pages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'blogs/{blogId}/pages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'isDraft' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/pages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revert' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}/revert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->postUserInfos = new Google_Service_Blogger_Resource_PostUserInfos( + $this, + $this->serviceName, + 'postUserInfos', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'users/{userId}/blogs/{blogId}/posts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->posts = new Google_Service_Blogger_Resource_Posts( + $this, + $this->serviceName, + 'posts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getByPath' => array( + 'path' => 'blogs/{blogId}/posts/bypath', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'path' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'blogs/{blogId}/posts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'isDraft' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/posts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'publishDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'revert' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/revert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'blogs/{blogId}/posts/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Blogger_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php new file mode 100644 index 00000000..cab4de8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Blog.php @@ -0,0 +1,141 @@ +customMetaData = $customMetaData; + } + public function getCustomMetaData() + { + return $this->customMetaData; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale(Google_Service_Blogger_BlogLocale $locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPages(Google_Service_Blogger_BlogPages $pages) + { + $this->pages = $pages; + } + public function getPages() + { + return $this->pages; + } + public function setPosts(Google_Service_Blogger_BlogPosts $posts) + { + $this->posts = $posts; + } + public function getPosts() + { + return $this->posts; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php new file mode 100644 index 00000000..9fde7e1e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogList.php @@ -0,0 +1,51 @@ +blogUserInfos = $blogUserInfos; + } + public function getBlogUserInfos() + { + return $this->blogUserInfos; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php new file mode 100644 index 00000000..3cf95449 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php @@ -0,0 +1,48 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php new file mode 100644 index 00000000..48658153 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php new file mode 100644 index 00000000..43625b90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php @@ -0,0 +1,75 @@ +blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setHasAdminAccess($hasAdminAccess) + { + $this->hasAdminAccess = $hasAdminAccess; + } + public function getHasAdminAccess() + { + return $this->hasAdminAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhotosAlbumKey($photosAlbumKey) + { + $this->photosAlbumKey = $photosAlbumKey; + } + public function getPhotosAlbumKey() + { + return $this->photosAlbumKey; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php new file mode 100644 index 00000000..20c52cc6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php new file mode 100644 index 00000000..6c78b30b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php @@ -0,0 +1,53 @@ + "blog_user_info", + ); + protected $blogType = 'Google_Service_Blogger_Blog'; + protected $blogDataType = ''; + protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo'; + protected $blogUserInfoDataType = ''; + public $kind; + + public function setBlog(Google_Service_Blogger_Blog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo) + { + $this->blogUserInfo = $blogUserInfo; + } + public function getBlogUserInfo() + { + return $this->blogUserInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php new file mode 100644 index 00000000..357f5aa0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Comment.php @@ -0,0 +1,124 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_CommentBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPost(Google_Service_Blogger_CommentPost $post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php new file mode 100644 index 00000000..fec87663 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php @@ -0,0 +1,58 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_CommentAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php new file mode 100644 index 00000000..1ed7ee8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php new file mode 100644 index 00000000..0118d08a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php new file mode 100644 index 00000000..05916ae3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php new file mode 100644 index 00000000..82414c04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentList.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php new file mode 100644 index 00000000..e074c58a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php new file mode 100644 index 00000000..756c2dfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Page.php @@ -0,0 +1,131 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_PageBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php new file mode 100644 index 00000000..271f82bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php @@ -0,0 +1,58 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_PageAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php new file mode 100644 index 00000000..ff5c679f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php new file mode 100644 index 00000000..dbcf5cd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php new file mode 100644 index 00000000..e9d90d63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php new file mode 100644 index 00000000..c7285d57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php @@ -0,0 +1,50 @@ +blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setCounts($counts) + { + $this->counts = $counts; + } + public function getCounts() + { + return $this->counts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php new file mode 100644 index 00000000..058d7d22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setTimeRange($timeRange) + { + $this->timeRange = $timeRange; + } + public function getTimeRange() + { + return $this->timeRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php new file mode 100644 index 00000000..9cc40361 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Post.php @@ -0,0 +1,198 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_PostBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setCustomMetaData($customMetaData) + { + $this->customMetaData = $customMetaData; + } + public function getCustomMetaData() + { + return $this->customMetaData; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocation(Google_Service_Blogger_PostLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setReaderComments($readerComments) + { + $this->readerComments = $readerComments; + } + public function getReaderComments() + { + return $this->readerComments; + } + public function setReplies(Google_Service_Blogger_PostReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTitleLink($titleLink) + { + $this->titleLink = $titleLink; + } + public function getTitleLink() + { + return $this->titleLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php new file mode 100644 index 00000000..4f89741e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php @@ -0,0 +1,58 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_PostAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php new file mode 100644 index 00000000..642a389a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php new file mode 100644 index 00000000..99248132 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php new file mode 100644 index 00000000..59a0ac02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostImages.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php new file mode 100644 index 00000000..1e9f15ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php new file mode 100644 index 00000000..d2e65e86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php @@ -0,0 +1,57 @@ +lat = $lat; + } + public function getLat() + { + return $this->lat; + } + public function setLng($lng) + { + $this->lng = $lng; + } + public function getLng() + { + return $this->lng; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSpan($span) + { + $this->span = $span; + } + public function getSpan() + { + return $this->span; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php new file mode 100644 index 00000000..ec385a7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php @@ -0,0 +1,66 @@ +blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setHasEditAccess($hasEditAccess) + { + $this->hasEditAccess = $hasEditAccess; + } + public function getHasEditAccess() + { + return $this->hasEditAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPostId($postId) + { + $this->postId = $postId; + } + public function getPostId() + { + return $this->postId; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php new file mode 100644 index 00000000..b456fdcd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php new file mode 100644 index 00000000..e3598a95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php @@ -0,0 +1,53 @@ + "post_user_info", + ); + public $kind; + protected $postType = 'Google_Service_Blogger_Post'; + protected $postDataType = ''; + protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo'; + protected $postUserInfoDataType = ''; + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPost(Google_Service_Blogger_Post $post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo) + { + $this->postUserInfo = $postUserInfo; + } + public function getPostUserInfo() + { + return $this->postUserInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php new file mode 100644 index 00000000..f65b7013 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php new file mode 100644 index 00000000..f843e4a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php @@ -0,0 +1,46 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $blogUserInfos = $bloggerService->blogUserInfos; + * + */ +class Google_Service_Blogger_Resource_BlogUserInfos extends Google_Service_Resource +{ + /** + * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get) + * + * @param string $userId ID of the user whose blogs are to be fetched. Either + * the word 'self' (sans quote marks) or the user's profile identifier. + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxPosts Maximum number of posts to pull back with the + * blog. + * @return Google_Service_Blogger_BlogUserInfo + */ + public function get($userId, $blogId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php new file mode 100644 index 00000000..b97611eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php @@ -0,0 +1,86 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $blogs = $bloggerService->blogs; + * + */ +class Google_Service_Blogger_Resource_Blogs extends Google_Service_Resource +{ + /** + * Gets one blog by ID. (blogs.get) + * + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxPosts Maximum number of posts to pull back with the + * blog. + * @opt_param string view Access level with which to view the blog. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_Blog + */ + public function get($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Blog"); + } + /** + * Retrieve a Blog by URL. (blogs.getByUrl) + * + * @param string $url The URL of the blog to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string view Access level with which to view the blog. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_Blog + */ + public function getByUrl($url, $optParams = array()) + { + $params = array('url' => $url); + $params = array_merge($params, $optParams); + return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog"); + } + /** + * Retrieves a list of blogs, possibly filtered. (blogs.listByUser) + * + * @param string $userId ID of the user whose blogs are to be fetched. Either + * the word 'self' (sans quote marks) or the user's profile identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchUserInfo Whether the response is a list of blogs with + * per-user information instead of just blogs. + * @opt_param string role User access types for blogs to include in the results, + * e.g. AUTHOR will return blogs where the user has author level access. If no + * roles are specified, defaults to ADMIN and AUTHOR roles. + * @opt_param string status Blog statuses to include in the result (default: + * Live blogs only). Note that ADMIN access is required to view deleted blogs. + * @opt_param string view Access level with which to view the blogs. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_BlogList + */ + public function listByUser($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php new file mode 100644 index 00000000..ff0ca9c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php @@ -0,0 +1,159 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $comments = $bloggerService->comments; + * + */ +class Google_Service_Blogger_Resource_Comments extends Google_Service_Resource +{ + /** + * Marks a comment as not spam. (comments.approve) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to mark as not spam. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function approve($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('approve', array($params), "Google_Service_Blogger_Comment"); + } + /** + * Delete a comment by ID. (comments.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to delete. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one comment by ID. (comments.get) + * + * @param string $blogId ID of the blog to containing the comment. + * @param string $postId ID of the post to fetch posts from. + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * + * @opt_param string view Access level for the requested comment (default: + * READER). Note that some comments will require elevated permissions, for + * example comments where the parent posts which is in a draft state, or + * comments that are pending moderation. + * @return Google_Service_Blogger_Comment + */ + public function get($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Comment"); + } + /** + * Retrieves the comments for a post, possibly filtered. (comments.listComments) + * + * @param string $blogId ID of the blog to fetch comments from. + * @param string $postId ID of the post to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string endDate Latest date of comment to fetch, a date-time with + * RFC 3339 formatting. + * @opt_param bool fetchBodies Whether the body content of the comments is + * included. + * @opt_param string maxResults Maximum number of comments to include in the + * result. + * @opt_param string pageToken Continuation token if request is paged. + * @opt_param string startDate Earliest date of comment to fetch, a date-time + * with RFC 3339 formatting. + * @opt_param string status + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_CommentList + */ + public function listComments($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_CommentList"); + } + /** + * Retrieves the comments for a blog, across all posts, possibly filtered. + * (comments.listByBlog) + * + * @param string $blogId ID of the blog to fetch comments from. + * @param array $optParams Optional parameters. + * + * @opt_param string endDate Latest date of comment to fetch, a date-time with + * RFC 3339 formatting. + * @opt_param bool fetchBodies Whether the body content of the comments is + * included. + * @opt_param string maxResults Maximum number of comments to include in the + * result. + * @opt_param string pageToken Continuation token if request is paged. + * @opt_param string startDate Earliest date of comment to fetch, a date-time + * with RFC 3339 formatting. + * @opt_param string status + * @return Google_Service_Blogger_CommentList + */ + public function listByBlog($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList"); + } + /** + * Marks a comment as spam. (comments.markAsSpam) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to mark as spam. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function markAsSpam($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment"); + } + /** + * Removes the content of a comment. (comments.removeContent) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to delete content from. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function removeContent($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php new file mode 100644 index 00000000..c1f231d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php @@ -0,0 +1,43 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $pageViews = $bloggerService->pageViews; + * + */ +class Google_Service_Blogger_Resource_PageViews extends Google_Service_Resource +{ + /** + * Retrieve pageview stats for a Blog. (pageViews.get) + * + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string range + * @return Google_Service_Blogger_Pageviews + */ + public function get($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Pageviews"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php new file mode 100644 index 00000000..b27f175a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php @@ -0,0 +1,163 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $pages = $bloggerService->pages; + * + */ +class Google_Service_Blogger_Resource_Pages extends Google_Service_Resource +{ + /** + * Delete a page by ID. (pages.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one blog page by ID. (pages.get) + * + * @param string $blogId ID of the blog containing the page. + * @param string $pageId The ID of the page to get. + * @param array $optParams Optional parameters. + * + * @opt_param string view + * @return Google_Service_Blogger_Page + */ + public function get($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Page"); + } + /** + * Add a page. (pages.insert) + * + * @param string $blogId ID of the blog to add the page to. + * @param Google_Service_Blogger_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool isDraft Whether to create the page as a draft (default: + * false). + * @return Google_Service_Blogger_Page + */ + public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Blogger_Page"); + } + /** + * Retrieves the pages for a blog, optionally including non-LIVE statuses. + * (pages.listPages) + * + * @param string $blogId ID of the blog to fetch Pages from. + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBodies Whether to retrieve the Page bodies. + * @opt_param string maxResults Maximum number of Pages to fetch. + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param string status + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_PageList + */ + public function listPages($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PageList"); + } + /** + * Update a page. This method supports patch semantics. (pages.patch) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param Google_Service_Blogger_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool publish Whether a publish action should be performed when the + * page is updated (default: false). + * @opt_param bool revert Whether a revert action should be performed when the + * page is updated (default: false). + * @return Google_Service_Blogger_Page + */ + public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Blogger_Page"); + } + /** + * Publishes a draft page. (pages.publish) + * + * @param string $blogId The ID of the blog. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Page + */ + public function publish($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_Blogger_Page"); + } + /** + * Revert a published or scheduled page to draft state. (pages.revert) + * + * @param string $blogId The ID of the blog. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Page + */ + public function revert($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('revert', array($params), "Google_Service_Blogger_Page"); + } + /** + * Update a page. (pages.update) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param Google_Service_Blogger_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool publish Whether a publish action should be performed when the + * page is updated (default: false). + * @opt_param bool revert Whether a revert action should be performed when the + * page is updated (default: false). + * @return Google_Service_Blogger_Page + */ + public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Blogger_Page"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php new file mode 100644 index 00000000..aef69dc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php @@ -0,0 +1,83 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $postUserInfos = $bloggerService->postUserInfos; + * + */ +class Google_Service_Blogger_Resource_PostUserInfos extends Google_Service_Resource +{ + /** + * Gets one post and user info pair, by post ID and user ID. The post user info + * contains per-user information about the post, such as access rights, specific + * to the user. (postUserInfos.get) + * + * @param string $userId ID of the user for the per-user information to be + * fetched. Either the word 'self' (sans quote marks) or the user's profile + * identifier. + * @param string $blogId The ID of the blog. + * @param string $postId The ID of the post to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @return Google_Service_Blogger_PostUserInfo + */ + public function get($userId, $blogId, $postId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo"); + } + /** + * Retrieves a list of post and post user info pairs, possibly filtered. The + * post user info contains per-user information about the post, such as access + * rights, specific to the user. (postUserInfos.listPostUserInfos) + * + * @param string $userId ID of the user for the per-user information to be + * fetched. Either the word 'self' (sans quote marks) or the user's profile + * identifier. + * @param string $blogId ID of the blog to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string endDate Latest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param bool fetchBodies Whether the body content of posts is included. + * Default is false. + * @opt_param string labels Comma-separated list of labels to search for. + * @opt_param string maxResults Maximum number of posts to fetch. + * @opt_param string orderBy Sort order applied to search results. Default is + * published. + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param string startDate Earliest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string status + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_PostUserInfosList + */ + public function listPostUserInfos($userId, $blogId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php new file mode 100644 index 00000000..d89c5623 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php @@ -0,0 +1,241 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $posts = $bloggerService->posts; + * + */ +class Google_Service_Blogger_Resource_Posts extends Google_Service_Resource +{ + /** + * Delete a post by ID. (posts.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get a post by ID. (posts.get) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $postId The ID of the post + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBody Whether the body content of the post is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included (default: false). + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_Post + */ + public function get($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Post"); + } + /** + * Retrieve a Post by Path. (posts.getByPath) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $path Path of the Post to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_Post + */ + public function getByPath($blogId, $path, $optParams = array()) + { + $params = array('blogId' => $blogId, 'path' => $path); + $params = array_merge($params, $optParams); + return $this->call('getByPath', array($params), "Google_Service_Blogger_Post"); + } + /** + * Add a post. (posts.insert) + * + * @param string $blogId ID of the blog to add the post to. + * @param Google_Service_Blogger_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @opt_param bool isDraft Whether to create the post as a draft (default: + * false). + * @return Google_Service_Blogger_Post + */ + public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Blogger_Post"); + } + /** + * Retrieves a list of posts, possibly filtered. (posts.listPosts) + * + * @param string $blogId ID of the blog to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string endDate Latest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param bool fetchBodies Whether the body content of posts is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included. + * @opt_param string labels Comma-separated list of labels to search for. + * @opt_param string maxResults Maximum number of posts to fetch. + * @opt_param string orderBy Sort search results + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param string startDate Earliest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string status Statuses to include in the results. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require escalated access. + * @return Google_Service_Blogger_PostList + */ + public function listPosts($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PostList"); + } + /** + * Update a post. This method supports patch semantics. (posts.patch) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param Google_Service_Blogger_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @opt_param string maxComments Maximum number of comments to retrieve with the + * returned post. + * @opt_param bool publish Whether a publish action should be performed when the + * post is updated (default: false). + * @opt_param bool revert Whether a revert action should be performed when the + * post is updated (default: false). + * @return Google_Service_Blogger_Post + */ + public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Blogger_Post"); + } + /** + * Publishes a draft post, optionally at the specific time of the given + * publishDate parameter. (posts.publish) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + * + * @opt_param string publishDate Optional date and time to schedule the + * publishing of the Blog. If no publishDate parameter is given, the post is + * either published at the a previously saved schedule date (if present), or the + * current time. If a future date is given, the post will be scheduled to be + * published. + * @return Google_Service_Blogger_Post + */ + public function publish($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_Blogger_Post"); + } + /** + * Revert a published or scheduled post to draft state. (posts.revert) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Post + */ + public function revert($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('revert', array($params), "Google_Service_Blogger_Post"); + } + /** + * Search for a post. (posts.search) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $q Query terms to search this blog for matching posts. + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBodies Whether the body content of posts is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @opt_param string orderBy Sort search results + * @return Google_Service_Blogger_PostList + */ + public function search($blogId, $q, $optParams = array()) + { + $params = array('blogId' => $blogId, 'q' => $q); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Blogger_PostList"); + } + /** + * Update a post. (posts.update) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param Google_Service_Blogger_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @opt_param string maxComments Maximum number of comments to retrieve with the + * returned post. + * @opt_param bool publish Whether a publish action should be performed when the + * post is updated (default: false). + * @opt_param bool revert Whether a revert action should be performed when the + * post is updated (default: false). + * @return Google_Service_Blogger_Post + */ + public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Blogger_Post"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php new file mode 100644 index 00000000..92fc8775 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php @@ -0,0 +1,41 @@ + + * $bloggerService = new Google_Service_Blogger(...); + * $users = $bloggerService->users; + * + */ +class Google_Service_Blogger_Resource_Users extends Google_Service_Resource +{ + /** + * Gets one user by ID. (users.get) + * + * @param string $userId The ID of the user to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_User + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_User"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php new file mode 100644 index 00000000..31abea38 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/User.php @@ -0,0 +1,104 @@ +about = $about; + } + public function getAbout() + { + return $this->about; + } + public function setBlogs(Google_Service_Blogger_UserBlogs $blogs) + { + $this->blogs = $blogs; + } + public function getBlogs() + { + return $this->blogs; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale(Google_Service_Blogger_UserLocale $locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php new file mode 100644 index 00000000..d26dce0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php @@ -0,0 +1,30 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php new file mode 100644 index 00000000..11c7a9e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php @@ -0,0 +1,48 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php new file mode 100644 index 00000000..efef02b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books.php @@ -0,0 +1,1508 @@ + + * Searches for books and manages your Google Books library.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Books extends Google_Service +{ + /** Manage your books. */ + const BOOKS = + "https://www.googleapis.com/auth/books"; + + public $bookshelves; + public $bookshelves_volumes; + public $cloudloading; + public $dictionary; + public $layers; + public $layers_annotationData; + public $layers_volumeAnnotations; + public $myconfig; + public $mylibrary_annotations; + public $mylibrary_bookshelves; + public $mylibrary_bookshelves_volumes; + public $mylibrary_readingpositions; + public $notification; + public $onboarding; + public $personalizedstream; + public $promooffer; + public $series; + public $series_membership; + public $volumes; + public $volumes_associated; + public $volumes_mybooks; + public $volumes_recommended; + public $volumes_useruploaded; + + /** + * Constructs the internal representation of the Books service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'books/v1/'; + $this->version = 'v1'; + $this->serviceName = 'books'; + + $this->bookshelves = new Google_Service_Books_Resource_Bookshelves( + $this, + $this->serviceName, + 'bookshelves', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/bookshelves/{shelf}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'users/{userId}/bookshelves', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->bookshelves_volumes = new Google_Service_Books_Resource_BookshelvesVolumes( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'users/{userId}/bookshelves/{shelf}/volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->cloudloading = new Google_Service_Books_Resource_Cloudloading( + $this, + $this->serviceName, + 'cloudloading', + array( + 'methods' => array( + 'addBook' => array( + 'path' => 'cloudloading/addBook', + 'httpMethod' => 'POST', + 'parameters' => array( + 'drive_document_id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mime_type' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'upload_client_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'deleteBook' => array( + 'path' => 'cloudloading/deleteBook', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateBook' => array( + 'path' => 'cloudloading/updateBook', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->dictionary = new Google_Service_Books_Resource_Dictionary( + $this, + $this->serviceName, + 'dictionary', + array( + 'methods' => array( + 'listOfflineMetadata' => array( + 'path' => 'dictionary/listOfflineMetadata', + 'httpMethod' => 'GET', + 'parameters' => array( + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->layers = new Google_Service_Books_Resource_Layers( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layersummary/{summaryId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'summaryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layersummary', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->layers_annotationData = new Google_Service_Books_Resource_LayersAnnotationData( + $this, + $this->serviceName, + 'annotationData', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'annotationDataId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'allowWebDefinitions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'h' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scale' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'w' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/data', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'annotationDataId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'h' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scale' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'w' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->layers_volumeAnnotations = new Google_Service_Books_Resource_LayersVolumeAnnotations( + $this, + $this->serviceName, + 'volumeAnnotations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endOffset' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endPosition' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startOffset' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startPosition' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'volumeAnnotationsVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->myconfig = new Google_Service_Books_Resource_Myconfig( + $this, + $this->serviceName, + 'myconfig', + array( + 'methods' => array( + 'getUserSettings' => array( + 'path' => 'myconfig/getUserSettings', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'releaseDownloadAccess' => array( + 'path' => 'myconfig/releaseDownloadAccess', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'requestAccess' => array( + 'path' => 'myconfig/requestAccess', + 'httpMethod' => 'POST', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'nonce' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'licenseTypes' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'syncVolumeLicenses' => array( + 'path' => 'myconfig/syncVolumeLicenses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'nonce' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'features' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'includeNonComicsSeries' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'volumeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'updateUserSettings' => array( + 'path' => 'myconfig/updateUserSettings', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->mylibrary_annotations = new Google_Service_Books_Resource_MylibraryAnnotations( + $this, + $this->serviceName, + 'annotations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'mylibrary/annotations/{annotationId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'mylibrary/annotations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showOnlySummaryInResponse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'mylibrary/annotations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'layerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'layerIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'summary' => array( + 'path' => 'mylibrary/annotations/summary', + 'httpMethod' => 'POST', + 'parameters' => array( + 'layerIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'mylibrary/annotations/{annotationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->mylibrary_bookshelves = new Google_Service_Books_Resource_MylibraryBookshelves( + $this, + $this->serviceName, + 'bookshelves', + array( + 'methods' => array( + 'addVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/addVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'reason' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'clearVolumes' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/clearVolumes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'mylibrary/bookshelves/{shelf}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'mylibrary/bookshelves', + 'httpMethod' => 'GET', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'moveVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/moveVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumePosition' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/removeVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'reason' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->mylibrary_bookshelves_volumes = new Google_Service_Books_Resource_MylibraryBookshelvesVolumes( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->mylibrary_readingpositions = new Google_Service_Books_Resource_MylibraryReadingpositions( + $this, + $this->serviceName, + 'readingpositions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'mylibrary/readingpositions/{volumeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setPosition' => array( + 'path' => 'mylibrary/readingpositions/{volumeId}/setPosition', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timestamp' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'position' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'action' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'deviceCookie' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->notification = new Google_Service_Books_Resource_Notification( + $this, + $this->serviceName, + 'notification', + array( + 'methods' => array( + 'get' => array( + 'path' => 'notification/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'notification_id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->onboarding = new Google_Service_Books_Resource_Onboarding( + $this, + $this->serviceName, + 'onboarding', + array( + 'methods' => array( + 'listCategories' => array( + 'path' => 'onboarding/listCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listCategoryVolumes' => array( + 'path' => 'onboarding/listCategoryVolumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'categoryId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->personalizedstream = new Google_Service_Books_Resource_Personalizedstream( + $this, + $this->serviceName, + 'personalizedstream', + array( + 'methods' => array( + 'get' => array( + 'path' => 'personalizedstream/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->promooffer = new Google_Service_Books_Resource_Promooffer( + $this, + $this->serviceName, + 'promooffer', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'promooffer/accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'promooffer/dismiss', + 'httpMethod' => 'POST', + 'parameters' => array( + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'promooffer/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->series = new Google_Service_Books_Resource_Series( + $this, + $this->serviceName, + 'series', + array( + 'methods' => array( + 'get' => array( + 'path' => 'series/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'series_id' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->series_membership = new Google_Service_Books_Resource_SeriesMembership( + $this, + $this->serviceName, + 'membership', + array( + 'methods' => array( + 'get' => array( + 'path' => 'series/membership/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'series_id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'page_size' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'page_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes = new Google_Service_Books_Resource_Volumes( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeNonComicsSeries' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'partner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'user_library_consistent_read' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'download' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'langRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'libraryRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'partner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'printType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->volumes_associated = new Google_Service_Books_Resource_VolumesAssociated( + $this, + $this->serviceName, + 'associated', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/{volumeId}/associated', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'association' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes_mybooks = new Google_Service_Books_Resource_VolumesMybooks( + $this, + $this->serviceName, + 'mybooks', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/mybooks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'acquireMethod' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'processingState' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->volumes_recommended = new Google_Service_Books_Resource_VolumesRecommended( + $this, + $this->serviceName, + 'recommended', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/recommended', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rate' => array( + 'path' => 'volumes/recommended/rate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'rating' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes_useruploaded = new Google_Service_Books_Resource_VolumesUseruploaded( + $this, + $this->serviceName, + 'useruploaded', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/useruploaded', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'processingState' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php new file mode 100644 index 00000000..727c720a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotation.php @@ -0,0 +1,178 @@ +afterSelectedText = $afterSelectedText; + } + public function getAfterSelectedText() + { + return $this->afterSelectedText; + } + public function setBeforeSelectedText($beforeSelectedText) + { + $this->beforeSelectedText = $beforeSelectedText; + } + public function getBeforeSelectedText() + { + return $this->beforeSelectedText; + } + public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges) + { + $this->clientVersionRanges = $clientVersionRanges; + } + public function getClientVersionRanges() + { + return $this->clientVersionRanges; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges) + { + $this->currentVersionRanges = $currentVersionRanges; + } + public function getCurrentVersionRanges() + { + return $this->currentVersionRanges; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setHighlightStyle($highlightStyle) + { + $this->highlightStyle = $highlightStyle; + } + public function getHighlightStyle() + { + return $this->highlightStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary) + { + $this->layerSummary = $layerSummary; + } + public function getLayerSummary() + { + return $this->layerSummary; + } + public function setPageIds($pageIds) + { + $this->pageIds = $pageIds; + } + public function getPageIds() + { + return $this->pageIds; + } + public function setSelectedText($selectedText) + { + $this->selectedText = $selectedText; + } + public function getSelectedText() + { + return $this->selectedText; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php new file mode 100644 index 00000000..7bcaf052 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationClientVersionRanges.php @@ -0,0 +1,70 @@ +cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } + public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange) + { + $this->imageCfiRange = $imageCfiRange; + } + public function getImageCfiRange() + { + return $this->imageCfiRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php new file mode 100644 index 00000000..5a92c0c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationCurrentVersionRanges.php @@ -0,0 +1,70 @@ +cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } + public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange) + { + $this->imageCfiRange = $imageCfiRange; + } + public function getImageCfiRange() + { + return $this->imageCfiRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php new file mode 100644 index 00000000..cfbe8f37 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationLayerSummary.php @@ -0,0 +1,48 @@ +allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php new file mode 100644 index 00000000..2287ba55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationdata.php @@ -0,0 +1,105 @@ + "encoded_data", + ); + public $annotationType; + public $data; + public $encodedData; + public $id; + public $kind; + public $layerId; + public $selfLink; + public $updated; + public $volumeId; + + public function setAnnotationType($annotationType) + { + $this->annotationType = $annotationType; + } + public function getAnnotationType() + { + return $this->annotationType; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setEncodedData($encodedData) + { + $this->encodedData = $encodedData; + } + public function getEncodedData() + { + return $this->encodedData; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php new file mode 100644 index 00000000..b57862d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotations.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php new file mode 100644 index 00000000..b9f39f6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummary.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayers($layers) + { + $this->layers = $layers; + } + public function getLayers() + { + return $this->layers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php new file mode 100644 index 00000000..2c5d3c77 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/AnnotationsSummaryLayers.php @@ -0,0 +1,66 @@ +allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php new file mode 100644 index 00000000..e54607eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Annotationsdata.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php new file mode 100644 index 00000000..af5060df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksAnnotationsRange.php @@ -0,0 +1,57 @@ +endOffset = $endOffset; + } + public function getEndOffset() + { + return $this->endOffset; + } + public function setEndPosition($endPosition) + { + $this->endPosition = $endPosition; + } + public function getEndPosition() + { + return $this->endPosition; + } + public function setStartOffset($startOffset) + { + $this->startOffset = $startOffset; + } + public function getStartOffset() + { + return $this->startOffset; + } + public function setStartPosition($startPosition) + { + $this->startPosition = $startPosition; + } + public function getStartPosition() + { + return $this->startPosition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php new file mode 100644 index 00000000..cde35e49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksCloudloadingResource.php @@ -0,0 +1,57 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setProcessingState($processingState) + { + $this->processingState = $processingState; + } + public function getProcessingState() + { + return $this->processingState; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php new file mode 100644 index 00000000..3bf3d137 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/BooksVolumesRecommendedRateResponse.php @@ -0,0 +1,33 @@ + "consistency_token", + ); + public $consistencyToken; + + public function setConsistencyToken($consistencyToken) + { + $this->consistencyToken = $consistencyToken; + } + public function getConsistencyToken() + { + return $this->consistencyToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php new file mode 100644 index 00000000..fee17066 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelf.php @@ -0,0 +1,111 @@ +access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeCount($volumeCount) + { + $this->volumeCount = $volumeCount; + } + public function getVolumeCount() + { + return $this->volumeCount; + } + public function setVolumesLastUpdated($volumesLastUpdated) + { + $this->volumesLastUpdated = $volumesLastUpdated; + } + public function getVolumesLastUpdated() + { + return $this->volumesLastUpdated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php new file mode 100644 index 00000000..0f7b06e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Bookshelves.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php new file mode 100644 index 00000000..821d7b6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Category.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php new file mode 100644 index 00000000..1603d89f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/CategoryItems.php @@ -0,0 +1,48 @@ +badgeUrl = $badgeUrl; + } + public function getBadgeUrl() + { + return $this->badgeUrl; + } + public function setCategoryId($categoryId) + { + $this->categoryId = $categoryId; + } + public function getCategoryId() + { + return $this->categoryId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php new file mode 100644 index 00000000..5f614e4e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ConcurrentAccessRestriction.php @@ -0,0 +1,120 @@ +deviceAllowed = $deviceAllowed; + } + public function getDeviceAllowed() + { + return $this->deviceAllowed; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxConcurrentDevices($maxConcurrentDevices) + { + $this->maxConcurrentDevices = $maxConcurrentDevices; + } + public function getMaxConcurrentDevices() + { + return $this->maxConcurrentDevices; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setNonce($nonce) + { + $this->nonce = $nonce; + } + public function getNonce() + { + return $this->nonce; + } + public function setReasonCode($reasonCode) + { + $this->reasonCode = $reasonCode; + } + public function getReasonCode() + { + return $this->reasonCode; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTimeWindowSeconds($timeWindowSeconds) + { + $this->timeWindowSeconds = $timeWindowSeconds; + } + public function getTimeWindowSeconds() + { + return $this->timeWindowSeconds; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php new file mode 100644 index 00000000..ac82cd19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Dictlayerdata.php @@ -0,0 +1,50 @@ +common = $common; + } + public function getCommon() + { + return $this->common; + } + public function setDict(Google_Service_Books_DictlayerdataDict $dict) + { + $this->dict = $dict; + } + public function getDict() + { + return $this->dict; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php new file mode 100644 index 00000000..2ef54770 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataCommon.php @@ -0,0 +1,30 @@ +title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php new file mode 100644 index 00000000..43c10e75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDict.php @@ -0,0 +1,42 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setWords($words) + { + $this->words = $words; + } + public function getWords() + { + return $this->words; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php new file mode 100644 index 00000000..3280b323 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php new file mode 100644 index 00000000..15734a1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWords.php @@ -0,0 +1,62 @@ +derivatives = $derivatives; + } + public function getDerivatives() + { + return $this->derivatives; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } + public function setSenses($senses) + { + $this->senses = $senses; + } + public function getSenses() + { + return $this->senses; + } + public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php new file mode 100644 index 00000000..f7a46615 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivatives.php @@ -0,0 +1,40 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php new file mode 100644 index 00000000..8fbfa35d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsDerivativesSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php new file mode 100644 index 00000000..5e9878ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamples.php @@ -0,0 +1,40 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php new file mode 100644 index 00000000..b562e689 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsExamplesSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php new file mode 100644 index 00000000..cf6b54a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSenses.php @@ -0,0 +1,98 @@ +conjugations = $conjugations; + } + public function getConjugations() + { + return $this->conjugations; + } + public function setDefinitions($definitions) + { + $this->definitions = $definitions; + } + public function getDefinitions() + { + return $this->definitions; + } + public function setPartOfSpeech($partOfSpeech) + { + $this->partOfSpeech = $partOfSpeech; + } + public function getPartOfSpeech() + { + return $this->partOfSpeech; + } + public function setPronunciation($pronunciation) + { + $this->pronunciation = $pronunciation; + } + public function getPronunciation() + { + return $this->pronunciation; + } + public function setPronunciationUrl($pronunciationUrl) + { + $this->pronunciationUrl = $pronunciationUrl; + } + public function getPronunciationUrl() + { + return $this->pronunciationUrl; + } + public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setSyllabification($syllabification) + { + $this->syllabification = $syllabification; + } + public function getSyllabification() + { + return $this->syllabification; + } + public function setSynonyms($synonyms) + { + $this->synonyms = $synonyms; + } + public function getSynonyms() + { + return $this->synonyms; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php new file mode 100644 index 00000000..ff548961 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesConjugations.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php new file mode 100644 index 00000000..031c8527 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitions.php @@ -0,0 +1,41 @@ +definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php new file mode 100644 index 00000000..c1428086 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamples.php @@ -0,0 +1,40 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php new file mode 100644 index 00000000..cbae7867 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesDefinitionsExamplesSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php new file mode 100644 index 00000000..e8789ca5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php new file mode 100644 index 00000000..88589657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonyms.php @@ -0,0 +1,40 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php new file mode 100644 index 00000000..8a5157b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSensesSynonymsSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php new file mode 100644 index 00000000..b401a3b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DictlayerdataDictWordsSource.php @@ -0,0 +1,39 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php new file mode 100644 index 00000000..f69b78e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Discoveryclusters.php @@ -0,0 +1,50 @@ +clusters = $clusters; + } + public function getClusters() + { + return $this->clusters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalClusters($totalClusters) + { + $this->totalClusters = $totalClusters; + } + public function getTotalClusters() + { + return $this->totalClusters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php new file mode 100644 index 00000000..451abddf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClusters.php @@ -0,0 +1,81 @@ + "banner_with_content_container", + ); + protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer'; + protected $bannerWithContentContainerDataType = ''; + public $subTitle; + public $title; + public $totalVolumes; + public $uid; + protected $volumesType = 'Google_Service_Books_Volume'; + protected $volumesDataType = 'array'; + + public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer) + { + $this->bannerWithContentContainer = $bannerWithContentContainer; + } + public function getBannerWithContentContainer() + { + return $this->bannerWithContentContainer; + } + public function setSubTitle($subTitle) + { + $this->subTitle = $subTitle; + } + public function getSubTitle() + { + return $this->subTitle; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalVolumes($totalVolumes) + { + $this->totalVolumes = $totalVolumes; + } + public function getTotalVolumes() + { + return $this->totalVolumes; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setVolumes($volumes) + { + $this->volumes = $volumes; + } + public function getVolumes() + { + return $this->volumes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php new file mode 100644 index 00000000..93373e5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DiscoveryclustersClustersBannerWithContentContainer.php @@ -0,0 +1,75 @@ +fillColorArgb = $fillColorArgb; + } + public function getFillColorArgb() + { + return $this->fillColorArgb; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setMaskColorArgb($maskColorArgb) + { + $this->maskColorArgb = $maskColorArgb; + } + public function getMaskColorArgb() + { + return $this->maskColorArgb; + } + public function setMoreButtonText($moreButtonText) + { + $this->moreButtonText = $moreButtonText; + } + public function getMoreButtonText() + { + return $this->moreButtonText; + } + public function setMoreButtonUrl($moreButtonUrl) + { + $this->moreButtonUrl = $moreButtonUrl; + } + public function getMoreButtonUrl() + { + return $this->moreButtonUrl; + } + public function setTextColorArgb($textColorArgb) + { + $this->textColorArgb = $textColorArgb; + } + public function getTextColorArgb() + { + return $this->textColorArgb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php new file mode 100644 index 00000000..d5b2e8c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccessRestriction.php @@ -0,0 +1,129 @@ +deviceAllowed = $deviceAllowed; + } + public function getDeviceAllowed() + { + return $this->deviceAllowed; + } + public function setDownloadsAcquired($downloadsAcquired) + { + $this->downloadsAcquired = $downloadsAcquired; + } + public function getDownloadsAcquired() + { + return $this->downloadsAcquired; + } + public function setJustAcquired($justAcquired) + { + $this->justAcquired = $justAcquired; + } + public function getJustAcquired() + { + return $this->justAcquired; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxDownloadDevices($maxDownloadDevices) + { + $this->maxDownloadDevices = $maxDownloadDevices; + } + public function getMaxDownloadDevices() + { + return $this->maxDownloadDevices; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setNonce($nonce) + { + $this->nonce = $nonce; + } + public function getNonce() + { + return $this->nonce; + } + public function setReasonCode($reasonCode) + { + $this->reasonCode = $reasonCode; + } + public function getReasonCode() + { + return $this->reasonCode; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php new file mode 100644 index 00000000..78bbe26f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/DownloadAccesses.php @@ -0,0 +1,41 @@ +downloadAccessList = $downloadAccessList; + } + public function getDownloadAccessList() + { + return $this->downloadAccessList; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php new file mode 100644 index 00000000..c9b58df5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Geolayerdata.php @@ -0,0 +1,50 @@ +common = $common; + } + public function getCommon() + { + return $this->common; + } + public function setGeo(Google_Service_Books_GeolayerdataGeo $geo) + { + $this->geo = $geo; + } + public function getGeo() + { + return $this->geo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php new file mode 100644 index 00000000..0af63d59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataCommon.php @@ -0,0 +1,66 @@ +lang = $lang; + } + public function getLang() + { + return $this->lang; + } + public function setPreviewImageUrl($previewImageUrl) + { + $this->previewImageUrl = $previewImageUrl; + } + public function getPreviewImageUrl() + { + return $this->previewImageUrl; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setSnippetUrl($snippetUrl) + { + $this->snippetUrl = $snippetUrl; + } + public function getSnippetUrl() + { + return $this->snippetUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php new file mode 100644 index 00000000..13aa2984 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeo.php @@ -0,0 +1,96 @@ +boundary = $boundary; + } + public function getBoundary() + { + return $this->boundary; + } + public function setCachePolicy($cachePolicy) + { + $this->cachePolicy = $cachePolicy; + } + public function getCachePolicy() + { + return $this->cachePolicy; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } + public function setMapType($mapType) + { + $this->mapType = $mapType; + } + public function getMapType() + { + return $this->mapType; + } + public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport) + { + $this->viewport = $viewport; + } + public function getViewport() + { + return $this->viewport; + } + public function setZoom($zoom) + { + $this->zoom = $zoom; + } + public function getZoom() + { + return $this->zoom; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php new file mode 100644 index 00000000..f72610fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoBoundary.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php new file mode 100644 index 00000000..ec95fd2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewport.php @@ -0,0 +1,41 @@ +hi = $hi; + } + public function getHi() + { + return $this->hi; + } + public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo) + { + $this->lo = $lo; + } + public function getLo() + { + return $this->lo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php new file mode 100644 index 00000000..a70b5059 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportHi.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php new file mode 100644 index 00000000..53ac070d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/GeolayerdataGeoViewportLo.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php new file mode 100644 index 00000000..ee215018 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummaries.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php new file mode 100644 index 00000000..dc84696e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Layersummary.php @@ -0,0 +1,139 @@ +annotationCount = $annotationCount; + } + public function getAnnotationCount() + { + return $this->annotationCount; + } + public function setAnnotationTypes($annotationTypes) + { + $this->annotationTypes = $annotationTypes; + } + public function getAnnotationTypes() + { + return $this->annotationTypes; + } + public function setAnnotationsDataLink($annotationsDataLink) + { + $this->annotationsDataLink = $annotationsDataLink; + } + public function getAnnotationsDataLink() + { + return $this->annotationsDataLink; + } + public function setAnnotationsLink($annotationsLink) + { + $this->annotationsLink = $annotationsLink; + } + public function getAnnotationsLink() + { + return $this->annotationsLink; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setDataCount($dataCount) + { + $this->dataCount = $dataCount; + } + public function getDataCount() + { + return $this->dataCount; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeAnnotationsVersion($volumeAnnotationsVersion) + { + $this->volumeAnnotationsVersion = $volumeAnnotationsVersion; + } + public function getVolumeAnnotationsVersion() + { + return $this->volumeAnnotationsVersion; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php new file mode 100644 index 00000000..7f9688ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Metadata.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php new file mode 100644 index 00000000..67a48e3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/MetadataItems.php @@ -0,0 +1,70 @@ + "download_url", + "encryptedKey" => "encrypted_key", + ); + public $downloadUrl; + public $encryptedKey; + public $language; + public $size; + public $version; + + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEncryptedKey($encryptedKey) + { + $this->encryptedKey = $encryptedKey; + } + public function getEncryptedKey() + { + return $this->encryptedKey; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php new file mode 100644 index 00000000..54eca0ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Notification.php @@ -0,0 +1,156 @@ + "doc_id", + "docType" => "doc_type", + "dontShowNotification" => "dont_show_notification", + "notificationType" => "notification_type", + "pcampaignId" => "pcampaign_id", + "showNotificationSettingsAction" => "show_notification_settings_action", + ); + public $body; + public $crmExperimentIds; + public $docId; + public $docType; + public $dontShowNotification; + public $iconUrl; + public $kind; + public $notificationGroup; + public $notificationType; + public $pcampaignId; + public $reason; + public $showNotificationSettingsAction; + public $targetUrl; + public $title; + + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCrmExperimentIds($crmExperimentIds) + { + $this->crmExperimentIds = $crmExperimentIds; + } + public function getCrmExperimentIds() + { + return $this->crmExperimentIds; + } + public function setDocId($docId) + { + $this->docId = $docId; + } + public function getDocId() + { + return $this->docId; + } + public function setDocType($docType) + { + $this->docType = $docType; + } + public function getDocType() + { + return $this->docType; + } + public function setDontShowNotification($dontShowNotification) + { + $this->dontShowNotification = $dontShowNotification; + } + public function getDontShowNotification() + { + return $this->dontShowNotification; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotificationGroup($notificationGroup) + { + $this->notificationGroup = $notificationGroup; + } + public function getNotificationGroup() + { + return $this->notificationGroup; + } + public function setNotificationType($notificationType) + { + $this->notificationType = $notificationType; + } + public function getNotificationType() + { + return $this->notificationType; + } + public function setPcampaignId($pcampaignId) + { + $this->pcampaignId = $pcampaignId; + } + public function getPcampaignId() + { + return $this->pcampaignId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setShowNotificationSettingsAction($showNotificationSettingsAction) + { + $this->showNotificationSettingsAction = $showNotificationSettingsAction; + } + public function getShowNotificationSettingsAction() + { + return $this->showNotificationSettingsAction; + } + public function setTargetUrl($targetUrl) + { + $this->targetUrl = $targetUrl; + } + public function getTargetUrl() + { + return $this->targetUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php new file mode 100644 index 00000000..0910f0f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Offers.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php new file mode 100644 index 00000000..9d70ff51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItems.php @@ -0,0 +1,59 @@ +artUrl = $artUrl; + } + public function getArtUrl() + { + return $this->artUrl; + } + public function setGservicesKey($gservicesKey) + { + $this->gservicesKey = $gservicesKey; + } + public function getGservicesKey() + { + return $this->gservicesKey; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php new file mode 100644 index 00000000..23a041c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/OffersItemsItems.php @@ -0,0 +1,75 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setCanonicalVolumeLink($canonicalVolumeLink) + { + $this->canonicalVolumeLink = $canonicalVolumeLink; + } + public function getCanonicalVolumeLink() + { + return $this->canonicalVolumeLink; + } + public function setCoverUrl($coverUrl) + { + $this->coverUrl = $coverUrl; + } + public function getCoverUrl() + { + return $this->coverUrl; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php new file mode 100644 index 00000000..53b3330f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReadingPosition.php @@ -0,0 +1,84 @@ +epubCfiPosition = $epubCfiPosition; + } + public function getEpubCfiPosition() + { + return $this->epubCfiPosition; + } + public function setGbImagePosition($gbImagePosition) + { + $this->gbImagePosition = $gbImagePosition; + } + public function getGbImagePosition() + { + return $this->gbImagePosition; + } + public function setGbTextPosition($gbTextPosition) + { + $this->gbTextPosition = $gbTextPosition; + } + public function getGbTextPosition() + { + return $this->gbTextPosition; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPdfPosition($pdfPosition) + { + $this->pdfPosition = $pdfPosition; + } + public function getPdfPosition() + { + return $this->pdfPosition; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php new file mode 100644 index 00000000..4a903ae2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/RequestAccess.php @@ -0,0 +1,50 @@ +concurrentAccess = $concurrentAccess; + } + public function getConcurrentAccess() + { + return $this->concurrentAccess; + } + public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess) + { + $this->downloadAccess = $downloadAccess; + } + public function getDownloadAccess() + { + return $this->downloadAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php new file mode 100644 index 00000000..38c7d29a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Bookshelves.php @@ -0,0 +1,61 @@ + + * $booksService = new Google_Service_Books(...); + * $bookshelves = $booksService->bookshelves; + * + */ +class Google_Service_Books_Resource_Bookshelves extends Google_Service_Resource +{ + /** + * Retrieves metadata for a specific bookshelf for the specified user. + * (bookshelves.get) + * + * @param string $userId ID of user for whom to retrieve bookshelves. + * @param string $shelf ID of bookshelf to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelf + */ + public function get($userId, $shelf, $optParams = array()) + { + $params = array('userId' => $userId, 'shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Bookshelf"); + } + /** + * Retrieves a list of public bookshelves for the specified user. + * (bookshelves.listBookshelves) + * + * @param string $userId ID of user for whom to retrieve bookshelves. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelves + */ + public function listBookshelves($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Bookshelves"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php new file mode 100644 index 00000000..91949468 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/BookshelvesVolumes.php @@ -0,0 +1,50 @@ + + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_Resource_BookshelvesVolumes extends Google_Service_Resource +{ + /** + * Retrieves volumes in a specific bookshelf for the specified user. + * (volumes.listBookshelvesVolumes) + * + * @param string $userId ID of user for whom to retrieve bookshelf volumes. + * @param string $shelf ID of bookshelf to retrieve volumes. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first element to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listBookshelvesVolumes($userId, $shelf, $optParams = array()) + { + $params = array('userId' => $userId, 'shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php new file mode 100644 index 00000000..a2d6865c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Cloudloading.php @@ -0,0 +1,73 @@ + + * $booksService = new Google_Service_Books(...); + * $cloudloading = $booksService->cloudloading; + * + */ +class Google_Service_Books_Resource_Cloudloading extends Google_Service_Resource +{ + /** + * (cloudloading.addBook) + * + * @param array $optParams Optional parameters. + * + * @opt_param string drive_document_id A drive document id. The + * upload_client_token must not be set. + * @opt_param string mime_type The document MIME type. It can be set only if the + * drive_document_id is set. + * @opt_param string name The document name. It can be set only if the + * drive_document_id is set. + * @opt_param string upload_client_token + * @return Google_Service_Books_BooksCloudloadingResource + */ + public function addBook($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource"); + } + /** + * Remove the book and its contents (cloudloading.deleteBook) + * + * @param string $volumeId The id of the book to be removed. + * @param array $optParams Optional parameters. + */ + public function deleteBook($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('deleteBook', array($params)); + } + /** + * (cloudloading.updateBook) + * + * @param Google_Service_Books_BooksCloudloadingResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Books_BooksCloudloadingResource + */ + public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php new file mode 100644 index 00000000..997f2781 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Dictionary.php @@ -0,0 +1,42 @@ + + * $booksService = new Google_Service_Books(...); + * $dictionary = $booksService->dictionary; + * + */ +class Google_Service_Books_Resource_Dictionary extends Google_Service_Resource +{ + /** + * Returns a list of offline dictionary metadata available + * (dictionary.listOfflineMetadata) + * + * @param string $cpksver The device/version ID from which to request the data. + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Metadata + */ + public function listOfflineMetadata($cpksver, $optParams = array()) + { + $params = array('cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php new file mode 100644 index 00000000..3b93e8d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Layers.php @@ -0,0 +1,66 @@ + + * $booksService = new Google_Service_Books(...); + * $layers = $booksService->layers; + * + */ +class Google_Service_Books_Resource_Layers extends Google_Service_Resource +{ + /** + * Gets the layer summary for a volume. (layers.get) + * + * @param string $volumeId The volume to retrieve layers for. + * @param string $summaryId The ID for the layer to get the summary for. + * @param array $optParams Optional parameters. + * + * @opt_param string contentVersion The content version for the requested + * volume. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Layersummary + */ + public function get($volumeId, $summaryId, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Layersummary"); + } + /** + * List the layer summaries for a volume. (layers.listLayers) + * + * @param string $volumeId The volume to retrieve layers for. + * @param array $optParams Optional parameters. + * + * @opt_param string contentVersion The content version for the requested + * volume. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Layersummaries + */ + public function listLayers($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Layersummaries"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php new file mode 100644 index 00000000..3f04cb68 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersAnnotationData.php @@ -0,0 +1,90 @@ + + * $booksService = new Google_Service_Books(...); + * $annotationData = $booksService->annotationData; + * + */ +class Google_Service_Books_Resource_LayersAnnotationData extends Google_Service_Resource +{ + /** + * Gets the annotation data. (annotationData.get) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $annotationDataId The ID of the annotation data to retrieve. + * @param string $contentVersion The content version for the volume you are + * trying to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not + * to allow web definitions. + * @opt_param int h The requested pixel height for any images. If height is + * provided width must also be provided. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param int scale The requested scale for the image. + * @opt_param string source String to identify the originator of this request. + * @opt_param int w The requested pixel width for any images. If width is + * provided height must also be provided. + * @return Google_Service_Books_Annotationdata + */ + public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Annotationdata"); + } + /** + * Gets the annotation data for a volume and layer. + * (annotationData.listLayersAnnotationData) + * + * @param string $volumeId The volume to retrieve annotation data for. + * @param string $layerId The ID for the layer to get the annotation data. + * @param string $contentVersion The content version for the requested volume. + * @param array $optParams Optional parameters. + * + * @opt_param string annotationDataId The list of Annotation Data Ids to + * retrieve. Pagination is ignored if this is set. + * @opt_param int h The requested pixel height for any images. If height is + * provided width must also be provided. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param int scale The requested scale for the image. + * @opt_param string source String to identify the originator of this request. + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @opt_param int w The requested pixel width for any images. If width is + * provided height must also be provided. + * @return Google_Service_Books_Annotationsdata + */ + public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Annotationsdata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php new file mode 100644 index 00000000..eef4ed83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/LayersVolumeAnnotations.php @@ -0,0 +1,83 @@ + + * $booksService = new Google_Service_Books(...); + * $volumeAnnotations = $booksService->volumeAnnotations; + * + */ +class Google_Service_Books_Resource_LayersVolumeAnnotations extends Google_Service_Resource +{ + /** + * Gets the volume annotation. (volumeAnnotations.get) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $annotationId The ID of the volume annotation to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Volumeannotation + */ + public function get($volumeId, $layerId, $annotationId, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Volumeannotation"); + } + /** + * Gets the volume annotations for a volume and layer. + * (volumeAnnotations.listLayersVolumeAnnotations) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $contentVersion The content version for the requested volume. + * @param array $optParams Optional parameters. + * + * @opt_param string endOffset The end offset to end retrieving data from. + * @opt_param string endPosition The end position to end retrieving data from. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param bool showDeleted Set to true to return deleted annotations. + * updatedMin must be in the request to use this. Defaults to false. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startOffset The start offset to start retrieving data from. + * @opt_param string startPosition The start position to start retrieving data + * from. + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @opt_param string volumeAnnotationsVersion The version of the volume + * annotations that you are requesting. + * @return Google_Service_Books_Volumeannotations + */ + public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumeannotations"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php new file mode 100644 index 00000000..afe93d7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Myconfig.php @@ -0,0 +1,126 @@ + + * $booksService = new Google_Service_Books(...); + * $myconfig = $booksService->myconfig; + * + */ +class Google_Service_Books_Resource_Myconfig extends Google_Service_Resource +{ + /** + * Gets the current settings for the user. (myconfig.getUserSettings) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Usersettings + */ + public function getUserSettings($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings"); + } + /** + * Release downloaded content access restriction. + * (myconfig.releaseDownloadAccess) + * + * @param string|array $volumeIds The volume(s) to release restrictions for. + * @param string $cpksver The device/version ID from which to release the + * restriction. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_DownloadAccesses + */ + public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array()) + { + $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses"); + } + /** + * Request concurrent and download access restrictions. (myconfig.requestAccess) + * + * @param string $source String to identify the originator of this request. + * @param string $volumeId The volume to request concurrent/download + * restrictions for. + * @param string $nonce The client nonce value. + * @param string $cpksver The device/version ID from which to request the + * restrictions. + * @param array $optParams Optional parameters. + * + * @opt_param string licenseTypes The type of access license to request. If not + * specified, the default is BOTH. + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @return Google_Service_Books_RequestAccess + */ + public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array()) + { + $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess"); + } + /** + * Request downloaded content access for specified volumes on the My eBooks + * shelf. (myconfig.syncVolumeLicenses) + * + * @param string $source String to identify the originator of this request. + * @param string $nonce The client nonce value. + * @param string $cpksver The device/version ID from which to release the + * restriction. + * @param array $optParams Optional parameters. + * + * @opt_param string features List of features supported by the client, i.e., + * 'RENTALS' + * @opt_param bool includeNonComicsSeries Set to true to include non-comics + * series. Defaults to false. + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string volumeIds The volume(s) to request download restrictions + * for. + * @return Google_Service_Books_Volumes + */ + public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array()) + { + $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes"); + } + /** + * Sets the settings for the user. If a sub-object is specified, it will + * overwrite the existing sub-object stored in the server. Unspecified sub- + * objects will retain the existing value. (myconfig.updateUserSettings) + * + * @param Google_Service_Books_Usersettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Usersettings + */ + public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php new file mode 100644 index 00000000..5c98fce7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Mylibrary.php @@ -0,0 +1,28 @@ + + * $booksService = new Google_Service_Books(...); + * $mylibrary = $booksService->mylibrary; + * + */ +class Google_Service_Books_Resource_Mylibrary extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php new file mode 100644 index 00000000..67cdde37 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryAnnotations.php @@ -0,0 +1,119 @@ + + * $booksService = new Google_Service_Books(...); + * $annotations = $booksService->annotations; + * + */ +class Google_Service_Books_Resource_MylibraryAnnotations extends Google_Service_Resource +{ + /** + * Deletes an annotation. (annotations.delete) + * + * @param string $annotationId The ID for the annotation to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function delete($annotationId, $optParams = array()) + { + $params = array('annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Inserts a new annotation. (annotations.insert) + * + * @param Google_Service_Books_Annotation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param bool showOnlySummaryInResponse Requests that only the summary of + * the specified layer be provided in the response. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Annotation + */ + public function insert(Google_Service_Books_Annotation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Books_Annotation"); + } + /** + * Retrieves a list of annotations, possibly filtered. + * (annotations.listMylibraryAnnotations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string contentVersion The content version for the requested + * volume. + * @opt_param string layerId The layer ID to limit annotation by. + * @opt_param string layerIds The layer ID(s) to limit annotation by. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param bool showDeleted Set to true to return deleted annotations. + * updatedMin must be in the request to use this. Defaults to false. + * @opt_param string source String to identify the originator of this request. + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @opt_param string volumeId The volume to restrict annotations to. + * @return Google_Service_Books_Annotations + */ + public function listMylibraryAnnotations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Annotations"); + } + /** + * Gets the summary of specified layers. (annotations.summary) + * + * @param string|array $layerIds Array of layer IDs to get the summary for. + * @param string $volumeId Volume id to get the summary for. + * @param array $optParams Optional parameters. + * @return Google_Service_Books_AnnotationsSummary + */ + public function summary($layerIds, $volumeId, $optParams = array()) + { + $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary"); + } + /** + * Updates an existing annotation. (annotations.update) + * + * @param string $annotationId The ID for the annotation to update. + * @param Google_Service_Books_Annotation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Annotation + */ + public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array()) + { + $params = array('annotationId' => $annotationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Books_Annotation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php new file mode 100644 index 00000000..a88c986c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelves.php @@ -0,0 +1,125 @@ + + * $booksService = new Google_Service_Books(...); + * $bookshelves = $booksService->bookshelves; + * + */ +class Google_Service_Books_Resource_MylibraryBookshelves extends Google_Service_Resource +{ + /** + * Adds a volume to a bookshelf. (bookshelves.addVolume) + * + * @param string $shelf ID of bookshelf to which to add a volume. + * @param string $volumeId ID of volume to add. + * @param array $optParams Optional parameters. + * + * @opt_param string reason The reason for which the book is added to the + * library. + * @opt_param string source String to identify the originator of this request. + */ + public function addVolume($shelf, $volumeId, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('addVolume', array($params)); + } + /** + * Clears all volumes from a bookshelf. (bookshelves.clearVolumes) + * + * @param string $shelf ID of bookshelf from which to remove a volume. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function clearVolumes($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('clearVolumes', array($params)); + } + /** + * Retrieves metadata for a specific bookshelf belonging to the authenticated + * user. (bookshelves.get) + * + * @param string $shelf ID of bookshelf to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelf + */ + public function get($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Bookshelf"); + } + /** + * Retrieves a list of bookshelves belonging to the authenticated user. + * (bookshelves.listMylibraryBookshelves) + * + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelves + */ + public function listMylibraryBookshelves($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Bookshelves"); + } + /** + * Moves a volume within a bookshelf. (bookshelves.moveVolume) + * + * @param string $shelf ID of bookshelf with the volume. + * @param string $volumeId ID of volume to move. + * @param int $volumePosition Position on shelf to move the item (0 puts the + * item before the current first item, 1 puts it between the first and the + * second and so on.) + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition); + $params = array_merge($params, $optParams); + return $this->call('moveVolume', array($params)); + } + /** + * Removes a volume from a bookshelf. (bookshelves.removeVolume) + * + * @param string $shelf ID of bookshelf from which to remove a volume. + * @param string $volumeId ID of volume to remove. + * @param array $optParams Optional parameters. + * + * @opt_param string reason The reason for which the book is removed from the + * library. + * @opt_param string source String to identify the originator of this request. + */ + public function removeVolume($shelf, $volumeId, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('removeVolume', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php new file mode 100644 index 00000000..c1536ffc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryBookshelvesVolumes.php @@ -0,0 +1,53 @@ + + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_Resource_MylibraryBookshelvesVolumes extends Google_Service_Resource +{ + /** + * Gets volume information for volumes on a bookshelf. + * (volumes.listMylibraryBookshelvesVolumes) + * + * @param string $shelf The bookshelf ID or name retrieve volumes for. + * @param array $optParams Optional parameters. + * + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string q Full-text search query string in this bookshelf. + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first element to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listMylibraryBookshelvesVolumes($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php new file mode 100644 index 00000000..375c2ae1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/MylibraryReadingpositions.php @@ -0,0 +1,71 @@ + + * $booksService = new Google_Service_Books(...); + * $readingpositions = $booksService->readingpositions; + * + */ +class Google_Service_Books_Resource_MylibraryReadingpositions extends Google_Service_Resource +{ + /** + * Retrieves my reading position information for a volume. + * (readingpositions.get) + * + * @param string $volumeId ID of volume for which to retrieve a reading + * position. + * @param array $optParams Optional parameters. + * + * @opt_param string contentVersion Volume content version for which this + * reading position is requested. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_ReadingPosition + */ + public function get($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_ReadingPosition"); + } + /** + * Sets my reading position information for a volume. + * (readingpositions.setPosition) + * + * @param string $volumeId ID of volume for which to update the reading + * position. + * @param string $timestamp RFC 3339 UTC format timestamp associated with this + * reading position. + * @param string $position Position string for the new volume reading position. + * @param array $optParams Optional parameters. + * + * @opt_param string action Action that caused this reading position to be set. + * @opt_param string contentVersion Volume content version for which this + * reading position applies. + * @opt_param string deviceCookie Random persistent device cookie optional on + * set position. + * @opt_param string source String to identify the originator of this request. + */ + public function setPosition($volumeId, $timestamp, $position, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position); + $params = array_merge($params, $optParams); + return $this->call('setPosition', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php new file mode 100644 index 00000000..f3bae929 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Notification.php @@ -0,0 +1,45 @@ + + * $booksService = new Google_Service_Books(...); + * $notification = $booksService->notification; + * + */ +class Google_Service_Books_Resource_Notification extends Google_Service_Resource +{ + /** + * Returns notification details for a given notification id. (notification.get) + * + * @param string $notificationId String to identify the notification. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating notification title and body. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Notification + */ + public function get($notificationId, $optParams = array()) + { + $params = array('notification_id' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Notification"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php new file mode 100644 index 00000000..6ad8f753 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Onboarding.php @@ -0,0 +1,67 @@ + + * $booksService = new Google_Service_Books(...); + * $onboarding = $booksService->onboarding; + * + */ +class Google_Service_Books_Resource_Onboarding extends Google_Service_Resource +{ + /** + * List categories for onboarding experience. (onboarding.listCategories) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Default is en-US if unset. + * @return Google_Service_Books_Category + */ + public function listCategories($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listCategories', array($params), "Google_Service_Books_Category"); + } + /** + * List available volumes under categories for onboarding experience. + * (onboarding.listCategoryVolumes) + * + * @param array $optParams Optional parameters. + * + * @opt_param string categoryId List of category ids requested. + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Default is en-US if unset. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned volumes. Books with a higher maturity rating are filtered + * out. + * @opt_param string pageSize Number of maximum results per page to be included + * in the response. + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @return Google_Service_Books_Volume2 + */ + public function listCategoryVolumes($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php new file mode 100644 index 00000000..363f5edf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Personalizedstream.php @@ -0,0 +1,47 @@ + + * $booksService = new Google_Service_Books(...); + * $personalizedstream = $booksService->personalizedstream; + * + */ +class Google_Service_Books_Resource_Personalizedstream extends Google_Service_Resource +{ + /** + * Returns a stream of personalized book clusters (personalizedstream.get) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Discoveryclusters + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php new file mode 100644 index 00000000..624952f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Promooffer.php @@ -0,0 +1,86 @@ + + * $booksService = new Google_Service_Books(...); + * $promooffer = $booksService->promooffer; + * + */ +class Google_Service_Books_Resource_Promooffer extends Google_Service_Resource +{ + /** + * (promooffer.accept) + * + * @param array $optParams Optional parameters. + * + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string manufacturer device manufacturer + * @opt_param string model device model + * @opt_param string offerId + * @opt_param string product device product + * @opt_param string serial device serial + * @opt_param string volumeId Volume id to exercise the offer + */ + public function accept($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params)); + } + /** + * (promooffer.dismiss) + * + * @param array $optParams Optional parameters. + * + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string manufacturer device manufacturer + * @opt_param string model device model + * @opt_param string offerId Offer to dimiss + * @opt_param string product device product + * @opt_param string serial device serial + */ + public function dismiss($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + /** + * Returns a list of promo offers available to the user (promooffer.get) + * + * @param array $optParams Optional parameters. + * + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string manufacturer device manufacturer + * @opt_param string model device model + * @opt_param string product device product + * @opt_param string serial device serial + * @return Google_Service_Books_Offers + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Offers"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php new file mode 100644 index 00000000..a3f8bdee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Series.php @@ -0,0 +1,41 @@ + + * $booksService = new Google_Service_Books(...); + * $series = $booksService->series; + * + */ +class Google_Service_Books_Resource_Series extends Google_Service_Resource +{ + /** + * Returns Series metadata for the given series ids. (series.get) + * + * @param string|array $seriesId String that identifies the series + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Series + */ + public function get($seriesId, $optParams = array()) + { + $params = array('series_id' => $seriesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Series"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php new file mode 100644 index 00000000..28a2e410 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/SeriesMembership.php @@ -0,0 +1,46 @@ + + * $booksService = new Google_Service_Books(...); + * $membership = $booksService->membership; + * + */ +class Google_Service_Books_Resource_SeriesMembership extends Google_Service_Resource +{ + /** + * Returns Series membership data given the series id. (membership.get) + * + * @param string $seriesId String that identifies the series + * @param array $optParams Optional parameters. + * + * @opt_param string page_size Number of maximum results per page to be included + * in the response. + * @opt_param string page_token The value of the nextToken from the previous + * page. + * @return Google_Service_Books_Seriesmembership + */ + public function get($seriesId, $optParams = array()) + { + $params = array('series_id' => $seriesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Seriesmembership"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php new file mode 100644 index 00000000..1065108c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/Volumes.php @@ -0,0 +1,83 @@ + + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_Resource_Volumes extends Google_Service_Resource +{ + /** + * Gets volume information for a single volume. (volumes.get) + * + * @param string $volumeId ID of volume to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param bool includeNonComicsSeries Set to true to include non-comics + * series. Defaults to false. + * @opt_param string partner Brand results for partner ID. + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string source String to identify the originator of this request. + * @opt_param bool user_library_consistent_read + * @return Google_Service_Books_Volume + */ + public function get($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Volume"); + } + /** + * Performs a book search. (volumes.listVolumes) + * + * @param string $q Full-text search query string. + * @param array $optParams Optional parameters. + * + * @opt_param string download Restrict to volumes by download availability. + * @opt_param string filter Filter search results. + * @opt_param string langRestrict Restrict results to books with this language + * code. + * @opt_param string libraryRestrict Restrict search to this user's library. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string orderBy Sort search results. + * @opt_param string partner Restrict and brand results for partner ID. + * @opt_param string printType Restrict to books or magazines. + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param bool showPreorders Set to true to show books available for + * preorder. Defaults to false. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listVolumes($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php new file mode 100644 index 00000000..85716456 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesAssociated.php @@ -0,0 +1,49 @@ + + * $booksService = new Google_Service_Books(...); + * $associated = $booksService->associated; + * + */ +class Google_Service_Books_Resource_VolumesAssociated extends Google_Service_Resource +{ + /** + * Return a list of associated books. (associated.listVolumesAssociated) + * + * @param string $volumeId ID of the source volume. + * @param array $optParams Optional parameters. + * + * @opt_param string association Association type. + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Volumes + */ + public function listVolumesAssociated($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php new file mode 100644 index 00000000..b9897853 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesMybooks.php @@ -0,0 +1,52 @@ + + * $booksService = new Google_Service_Books(...); + * $mybooks = $booksService->mybooks; + * + */ +class Google_Service_Books_Resource_VolumesMybooks extends Google_Service_Resource +{ + /** + * Return a list of books in My Library. (mybooks.listVolumesMybooks) + * + * @param array $optParams Optional parameters. + * + * @opt_param string acquireMethod How the book was acquired + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Ex:'en_US'. Used for generating recommendations. + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string processingState The processing state of the user uploaded + * volumes to be returned. Applicable only if the UPLOADED is specified in the + * acquireMethod. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listVolumesMybooks($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php new file mode 100644 index 00000000..e8cb7241 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesRecommended.php @@ -0,0 +1,66 @@ + + * $booksService = new Google_Service_Books(...); + * $recommended = $booksService->recommended; + * + */ +class Google_Service_Books_Resource_VolumesRecommended extends Google_Service_Resource +{ + /** + * Return a list of recommended books for the current user. + * (recommended.listVolumesRecommended) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Volumes + */ + public function listVolumesRecommended($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } + /** + * Rate a recommended book for the current user. (recommended.rate) + * + * @param string $rating Rating to be given to the volume. + * @param string $volumeId ID of the source volume. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_BooksVolumesRecommendedRateResponse + */ + public function rate($rating, $volumeId, $optParams = array()) + { + $params = array('rating' => $rating, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php new file mode 100644 index 00000000..12b69f46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Resource/VolumesUseruploaded.php @@ -0,0 +1,52 @@ + + * $booksService = new Google_Service_Books(...); + * $useruploaded = $booksService->useruploaded; + * + */ +class Google_Service_Books_Resource_VolumesUseruploaded extends Google_Service_Resource +{ + /** + * Return a list of books uploaded by the current user. + * (useruploaded.listVolumesUseruploaded) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string processingState The processing state of the user uploaded + * volumes to be returned. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @opt_param string volumeId The ids of the volumes to be returned. If not + * specified all that match the processingState are returned. + * @return Google_Service_Books_Volumes + */ + public function listVolumesUseruploaded($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php new file mode 100644 index 00000000..c648e1cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Review.php @@ -0,0 +1,113 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setFullTextUrl($fullTextUrl) + { + $this->fullTextUrl = $fullTextUrl; + } + public function getFullTextUrl() + { + return $this->fullTextUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRating($rating) + { + $this->rating = $rating; + } + public function getRating() + { + return $this->rating; + } + public function setSource(Google_Service_Books_ReviewSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php new file mode 100644 index 00000000..5de1b157 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewAuthor.php @@ -0,0 +1,30 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php new file mode 100644 index 00000000..7d4c0ce9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/ReviewSource.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExtraDescription($extraDescription) + { + $this->extraDescription = $extraDescription; + } + public function getExtraDescription() + { + return $this->extraDescription; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php new file mode 100644 index 00000000..8d546289 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Series.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSeries($series) + { + $this->series = $series; + } + public function getSeries() + { + return $this->series; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php new file mode 100644 index 00000000..8fcf8fed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/SeriesSeries.php @@ -0,0 +1,66 @@ +bannerImageUrl = $bannerImageUrl; + } + public function getBannerImageUrl() + { + return $this->bannerImageUrl; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setSeriesId($seriesId) + { + $this->seriesId = $seriesId; + } + public function getSeriesId() + { + return $this->seriesId; + } + public function setSeriesType($seriesType) + { + $this->seriesType = $seriesType; + } + public function getSeriesType() + { + return $this->seriesType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php new file mode 100644 index 00000000..be25c944 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Seriesmembership.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMember($member) + { + $this->member = $member; + } + public function getMember() + { + return $this->member; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php new file mode 100644 index 00000000..919149e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Usersettings.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport) + { + $this->notesExport = $notesExport; + } + public function getNotesExport() + { + return $this->notesExport; + } + public function setNotification(Google_Service_Books_UsersettingsNotification $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php new file mode 100644 index 00000000..9d6d2e8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotesExport.php @@ -0,0 +1,39 @@ +folderName = $folderName; + } + public function getFolderName() + { + return $this->folderName; + } + public function setIsEnabled($isEnabled) + { + $this->isEnabled = $isEnabled; + } + public function getIsEnabled() + { + return $this->isEnabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php new file mode 100644 index 00000000..680742f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotification.php @@ -0,0 +1,41 @@ +moreFromAuthors = $moreFromAuthors; + } + public function getMoreFromAuthors() + { + return $this->moreFromAuthors; + } + public function setMoreFromSeries(Google_Service_Books_UsersettingsNotificationMoreFromSeries $moreFromSeries) + { + $this->moreFromSeries = $moreFromSeries; + } + public function getMoreFromSeries() + { + return $this->moreFromSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php new file mode 100644 index 00000000..fa684173 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromAuthors.php @@ -0,0 +1,33 @@ + "opted_state", + ); + public $optedState; + + public function setOptedState($optedState) + { + $this->optedState = $optedState; + } + public function getOptedState() + { + return $this->optedState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php new file mode 100644 index 00000000..d0b94d08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/UsersettingsNotificationMoreFromSeries.php @@ -0,0 +1,33 @@ + "opted_state", + ); + public $optedState; + + public function setOptedState($optedState) + { + $this->optedState = $optedState; + } + public function getOptedState() + { + return $this->optedState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php new file mode 100644 index 00000000..7017042d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume.php @@ -0,0 +1,127 @@ +accessInfo = $accessInfo; + } + public function getAccessInfo() + { + return $this->accessInfo; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo) + { + $this->layerInfo = $layerInfo; + } + public function getLayerInfo() + { + return $this->layerInfo; + } + public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo) + { + $this->recommendedInfo = $recommendedInfo; + } + public function getRecommendedInfo() + { + return $this->recommendedInfo; + } + public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo) + { + $this->saleInfo = $saleInfo; + } + public function getSaleInfo() + { + return $this->saleInfo; + } + public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo) + { + $this->searchInfo = $searchInfo; + } + public function getSearchInfo() + { + return $this->searchInfo; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo) + { + $this->userInfo = $userInfo; + } + public function getUserInfo() + { + return $this->userInfo; + } + public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo) + { + $this->volumeInfo = $volumeInfo; + } + public function getVolumeInfo() + { + return $this->volumeInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php new file mode 100644 index 00000000..f8608302 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volume2.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php new file mode 100644 index 00000000..65fa6a80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfo.php @@ -0,0 +1,150 @@ +accessViewStatus = $accessViewStatus; + } + public function getAccessViewStatus() + { + return $this->accessViewStatus; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess) + { + $this->downloadAccess = $downloadAccess; + } + public function getDownloadAccess() + { + return $this->downloadAccess; + } + public function setDriveImportedContentLink($driveImportedContentLink) + { + $this->driveImportedContentLink = $driveImportedContentLink; + } + public function getDriveImportedContentLink() + { + return $this->driveImportedContentLink; + } + public function setEmbeddable($embeddable) + { + $this->embeddable = $embeddable; + } + public function getEmbeddable() + { + return $this->embeddable; + } + public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub) + { + $this->epub = $epub; + } + public function getEpub() + { + return $this->epub; + } + public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement) + { + $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement; + } + public function getExplicitOfflineLicenseManagement() + { + return $this->explicitOfflineLicenseManagement; + } + public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf) + { + $this->pdf = $pdf; + } + public function getPdf() + { + return $this->pdf; + } + public function setPublicDomain($publicDomain) + { + $this->publicDomain = $publicDomain; + } + public function getPublicDomain() + { + return $this->publicDomain; + } + public function setQuoteSharingAllowed($quoteSharingAllowed) + { + $this->quoteSharingAllowed = $quoteSharingAllowed; + } + public function getQuoteSharingAllowed() + { + return $this->quoteSharingAllowed; + } + public function setTextToSpeechPermission($textToSpeechPermission) + { + $this->textToSpeechPermission = $textToSpeechPermission; + } + public function getTextToSpeechPermission() + { + return $this->textToSpeechPermission; + } + public function setViewOrderUrl($viewOrderUrl) + { + $this->viewOrderUrl = $viewOrderUrl; + } + public function getViewOrderUrl() + { + return $this->viewOrderUrl; + } + public function setViewability($viewability) + { + $this->viewability = $viewability; + } + public function getViewability() + { + return $this->viewability; + } + public function setWebReaderLink($webReaderLink) + { + $this->webReaderLink = $webReaderLink; + } + public function getWebReaderLink() + { + return $this->webReaderLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php new file mode 100644 index 00000000..a41c2150 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoEpub.php @@ -0,0 +1,48 @@ +acsTokenLink = $acsTokenLink; + } + public function getAcsTokenLink() + { + return $this->acsTokenLink; + } + public function setDownloadLink($downloadLink) + { + $this->downloadLink = $downloadLink; + } + public function getDownloadLink() + { + return $this->downloadLink; + } + public function setIsAvailable($isAvailable) + { + $this->isAvailable = $isAvailable; + } + public function getIsAvailable() + { + return $this->isAvailable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php new file mode 100644 index 00000000..8a0f6c4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeAccessInfoPdf.php @@ -0,0 +1,48 @@ +acsTokenLink = $acsTokenLink; + } + public function getAcsTokenLink() + { + return $this->acsTokenLink; + } + public function setDownloadLink($downloadLink) + { + $this->downloadLink = $downloadLink; + } + public function getDownloadLink() + { + return $this->downloadLink; + } + public function setIsAvailable($isAvailable) + { + $this->isAvailable = $isAvailable; + } + public function getIsAvailable() + { + return $this->isAvailable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php new file mode 100644 index 00000000..9802d0ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfo.php @@ -0,0 +1,32 @@ +layers = $layers; + } + public function getLayers() + { + return $this->layers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php new file mode 100644 index 00000000..e65080cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeLayerInfoLayers.php @@ -0,0 +1,39 @@ +layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setVolumeAnnotationsVersion($volumeAnnotationsVersion) + { + $this->volumeAnnotationsVersion = $volumeAnnotationsVersion; + } + public function getVolumeAnnotationsVersion() + { + return $this->volumeAnnotationsVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php new file mode 100644 index 00000000..67757950 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeRecommendedInfo.php @@ -0,0 +1,30 @@ +explanation = $explanation; + } + public function getExplanation() + { + return $this->explanation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php new file mode 100644 index 00000000..a772a103 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfo.php @@ -0,0 +1,97 @@ +buyLink = $buyLink; + } + public function getBuyLink() + { + return $this->buyLink; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setIsEbook($isEbook) + { + $this->isEbook = $isEbook; + } + public function getIsEbook() + { + return $this->isEbook; + } + public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice) + { + $this->listPrice = $listPrice; + } + public function getListPrice() + { + return $this->listPrice; + } + public function setOffers($offers) + { + $this->offers = $offers; + } + public function getOffers() + { + return $this->offers; + } + public function setOnSaleDate($onSaleDate) + { + $this->onSaleDate = $onSaleDate; + } + public function getOnSaleDate() + { + return $this->onSaleDate; + } + public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice) + { + $this->retailPrice = $retailPrice; + } + public function getRetailPrice() + { + return $this->retailPrice; + } + public function setSaleability($saleability) + { + $this->saleability = $saleability; + } + public function getSaleability() + { + return $this->saleability; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php new file mode 100644 index 00000000..e0ccb21e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoListPrice.php @@ -0,0 +1,39 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php new file mode 100644 index 00000000..594ba952 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffers.php @@ -0,0 +1,69 @@ +finskyOfferType = $finskyOfferType; + } + public function getFinskyOfferType() + { + return $this->finskyOfferType; + } + public function setGiftable($giftable) + { + $this->giftable = $giftable; + } + public function getGiftable() + { + return $this->giftable; + } + public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice) + { + $this->listPrice = $listPrice; + } + public function getListPrice() + { + return $this->listPrice; + } + public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration) + { + $this->rentalDuration = $rentalDuration; + } + public function getRentalDuration() + { + return $this->rentalDuration; + } + public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice) + { + $this->retailPrice = $retailPrice; + } + public function getRetailPrice() + { + return $this->retailPrice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php new file mode 100644 index 00000000..7973473f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersListPrice.php @@ -0,0 +1,39 @@ +amountInMicros = $amountInMicros; + } + public function getAmountInMicros() + { + return $this->amountInMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php new file mode 100644 index 00000000..23421ddc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRentalDuration.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php new file mode 100644 index 00000000..2928a826 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoOffersRetailPrice.php @@ -0,0 +1,39 @@ +amountInMicros = $amountInMicros; + } + public function getAmountInMicros() + { + return $this->amountInMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php new file mode 100644 index 00000000..9c9d0475 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSaleInfoRetailPrice.php @@ -0,0 +1,39 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php new file mode 100644 index 00000000..7b36118a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeSearchInfo.php @@ -0,0 +1,30 @@ +textSnippet = $textSnippet; + } + public function getTextSnippet() + { + return $this->textSnippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php new file mode 100644 index 00000000..86c80537 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfo.php @@ -0,0 +1,198 @@ +acquiredTime = $acquiredTime; + } + public function getAcquiredTime() + { + return $this->acquiredTime; + } + public function setAcquisitionType($acquisitionType) + { + $this->acquisitionType = $acquisitionType; + } + public function getAcquisitionType() + { + return $this->acquisitionType; + } + public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy) + { + $this->copy = $copy; + } + public function getCopy() + { + return $this->copy; + } + public function setEntitlementType($entitlementType) + { + $this->entitlementType = $entitlementType; + } + public function getEntitlementType() + { + return $this->entitlementType; + } + public function setFamilySharing(Google_Service_Books_VolumeUserInfoFamilySharing $familySharing) + { + $this->familySharing = $familySharing; + } + public function getFamilySharing() + { + return $this->familySharing; + } + public function setIsFamilySharedFromUser($isFamilySharedFromUser) + { + $this->isFamilySharedFromUser = $isFamilySharedFromUser; + } + public function getIsFamilySharedFromUser() + { + return $this->isFamilySharedFromUser; + } + public function setIsFamilySharedToUser($isFamilySharedToUser) + { + $this->isFamilySharedToUser = $isFamilySharedToUser; + } + public function getIsFamilySharedToUser() + { + return $this->isFamilySharedToUser; + } + public function setIsFamilySharingAllowed($isFamilySharingAllowed) + { + $this->isFamilySharingAllowed = $isFamilySharingAllowed; + } + public function getIsFamilySharingAllowed() + { + return $this->isFamilySharingAllowed; + } + public function setIsFamilySharingDisabledByFop($isFamilySharingDisabledByFop) + { + $this->isFamilySharingDisabledByFop = $isFamilySharingDisabledByFop; + } + public function getIsFamilySharingDisabledByFop() + { + return $this->isFamilySharingDisabledByFop; + } + public function setIsInMyBooks($isInMyBooks) + { + $this->isInMyBooks = $isInMyBooks; + } + public function getIsInMyBooks() + { + return $this->isInMyBooks; + } + public function setIsPreordered($isPreordered) + { + $this->isPreordered = $isPreordered; + } + public function getIsPreordered() + { + return $this->isPreordered; + } + public function setIsPurchased($isPurchased) + { + $this->isPurchased = $isPurchased; + } + public function getIsPurchased() + { + return $this->isPurchased; + } + public function setIsUploaded($isUploaded) + { + $this->isUploaded = $isUploaded; + } + public function getIsUploaded() + { + return $this->isUploaded; + } + public function setReadingPosition(Google_Service_Books_ReadingPosition $readingPosition) + { + $this->readingPosition = $readingPosition; + } + public function getReadingPosition() + { + return $this->readingPosition; + } + public function setRentalPeriod(Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod) + { + $this->rentalPeriod = $rentalPeriod; + } + public function getRentalPeriod() + { + return $this->rentalPeriod; + } + public function setRentalState($rentalState) + { + $this->rentalState = $rentalState; + } + public function getRentalState() + { + return $this->rentalState; + } + public function setReview(Google_Service_Books_Review $review) + { + $this->review = $review; + } + public function getReview() + { + return $this->review; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUserUploadedVolumeInfo(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo) + { + $this->userUploadedVolumeInfo = $userUploadedVolumeInfo; + } + public function getUserUploadedVolumeInfo() + { + return $this->userUploadedVolumeInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php new file mode 100644 index 00000000..837916af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoCopy.php @@ -0,0 +1,57 @@ +allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php new file mode 100644 index 00000000..a372b4f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoFamilySharing.php @@ -0,0 +1,48 @@ +familyRole = $familyRole; + } + public function getFamilyRole() + { + return $this->familyRole; + } + public function setIsSharingAllowed($isSharingAllowed) + { + $this->isSharingAllowed = $isSharingAllowed; + } + public function getIsSharingAllowed() + { + return $this->isSharingAllowed; + } + public function setIsSharingDisabledByFop($isSharingDisabledByFop) + { + $this->isSharingDisabledByFop = $isSharingDisabledByFop; + } + public function getIsSharingDisabledByFop() + { + return $this->isSharingDisabledByFop; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php new file mode 100644 index 00000000..6e2e050a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoRentalPeriod.php @@ -0,0 +1,39 @@ +endUtcSec = $endUtcSec; + } + public function getEndUtcSec() + { + return $this->endUtcSec; + } + public function setStartUtcSec($startUtcSec) + { + $this->startUtcSec = $startUtcSec; + } + public function getStartUtcSec() + { + return $this->startUtcSec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php new file mode 100644 index 00000000..5eddbebe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeUserInfoUserUploadedVolumeInfo.php @@ -0,0 +1,30 @@ +processingState = $processingState; + } + public function getProcessingState() + { + return $this->processingState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php new file mode 100644 index 00000000..5d40f90d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfo.php @@ -0,0 +1,270 @@ +allowAnonLogging = $allowAnonLogging; + } + public function getAllowAnonLogging() + { + return $this->allowAnonLogging; + } + public function setAuthors($authors) + { + $this->authors = $authors; + } + public function getAuthors() + { + return $this->authors; + } + public function setAverageRating($averageRating) + { + $this->averageRating = $averageRating; + } + public function getAverageRating() + { + return $this->averageRating; + } + public function setCanonicalVolumeLink($canonicalVolumeLink) + { + $this->canonicalVolumeLink = $canonicalVolumeLink; + } + public function getCanonicalVolumeLink() + { + return $this->canonicalVolumeLink; + } + public function setCategories($categories) + { + $this->categories = $categories; + } + public function getCategories() + { + return $this->categories; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDimensions(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setImageLinks(Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks) + { + $this->imageLinks = $imageLinks; + } + public function getImageLinks() + { + return $this->imageLinks; + } + public function setIndustryIdentifiers($industryIdentifiers) + { + $this->industryIdentifiers = $industryIdentifiers; + } + public function getIndustryIdentifiers() + { + return $this->industryIdentifiers; + } + public function setInfoLink($infoLink) + { + $this->infoLink = $infoLink; + } + public function getInfoLink() + { + return $this->infoLink; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setMainCategory($mainCategory) + { + $this->mainCategory = $mainCategory; + } + public function getMainCategory() + { + return $this->mainCategory; + } + public function setMaturityRating($maturityRating) + { + $this->maturityRating = $maturityRating; + } + public function getMaturityRating() + { + return $this->maturityRating; + } + public function setPageCount($pageCount) + { + $this->pageCount = $pageCount; + } + public function getPageCount() + { + return $this->pageCount; + } + public function setPanelizationSummary(Google_Service_Books_VolumeVolumeInfoPanelizationSummary $panelizationSummary) + { + $this->panelizationSummary = $panelizationSummary; + } + public function getPanelizationSummary() + { + return $this->panelizationSummary; + } + public function setPreviewLink($previewLink) + { + $this->previewLink = $previewLink; + } + public function getPreviewLink() + { + return $this->previewLink; + } + public function setPrintType($printType) + { + $this->printType = $printType; + } + public function getPrintType() + { + return $this->printType; + } + public function setPrintedPageCount($printedPageCount) + { + $this->printedPageCount = $printedPageCount; + } + public function getPrintedPageCount() + { + return $this->printedPageCount; + } + public function setPublishedDate($publishedDate) + { + $this->publishedDate = $publishedDate; + } + public function getPublishedDate() + { + return $this->publishedDate; + } + public function setPublisher($publisher) + { + $this->publisher = $publisher; + } + public function getPublisher() + { + return $this->publisher; + } + public function setRatingsCount($ratingsCount) + { + $this->ratingsCount = $ratingsCount; + } + public function getRatingsCount() + { + return $this->ratingsCount; + } + public function setReadingModes($readingModes) + { + $this->readingModes = $readingModes; + } + public function getReadingModes() + { + return $this->readingModes; + } + public function setSamplePageCount($samplePageCount) + { + $this->samplePageCount = $samplePageCount; + } + public function getSamplePageCount() + { + return $this->samplePageCount; + } + public function setSeriesInfo(Google_Service_Books_Volumeseriesinfo $seriesInfo) + { + $this->seriesInfo = $seriesInfo; + } + public function getSeriesInfo() + { + return $this->seriesInfo; + } + public function setSubtitle($subtitle) + { + $this->subtitle = $subtitle; + } + public function getSubtitle() + { + return $this->subtitle; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php new file mode 100644 index 00000000..db2b654e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoDimensions.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setThickness($thickness) + { + $this->thickness = $thickness; + } + public function getThickness() + { + return $this->thickness; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php new file mode 100644 index 00000000..cef978a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoImageLinks.php @@ -0,0 +1,75 @@ +extraLarge = $extraLarge; + } + public function getExtraLarge() + { + return $this->extraLarge; + } + public function setLarge($large) + { + $this->large = $large; + } + public function getLarge() + { + return $this->large; + } + public function setMedium($medium) + { + $this->medium = $medium; + } + public function getMedium() + { + return $this->medium; + } + public function setSmall($small) + { + $this->small = $small; + } + public function getSmall() + { + return $this->small; + } + public function setSmallThumbnail($smallThumbnail) + { + $this->smallThumbnail = $smallThumbnail; + } + public function getSmallThumbnail() + { + return $this->smallThumbnail; + } + public function setThumbnail($thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php new file mode 100644 index 00000000..cde9a418 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoIndustryIdentifiers.php @@ -0,0 +1,39 @@ +identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php new file mode 100644 index 00000000..e2806fb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeVolumeInfoPanelizationSummary.php @@ -0,0 +1,57 @@ +containsEpubBubbles = $containsEpubBubbles; + } + public function getContainsEpubBubbles() + { + return $this->containsEpubBubbles; + } + public function setContainsImageBubbles($containsImageBubbles) + { + $this->containsImageBubbles = $containsImageBubbles; + } + public function getContainsImageBubbles() + { + return $this->containsImageBubbles; + } + public function setEpubBubbleVersion($epubBubbleVersion) + { + $this->epubBubbleVersion = $epubBubbleVersion; + } + public function getEpubBubbleVersion() + { + return $this->epubBubbleVersion; + } + public function setImageBubbleVersion($imageBubbleVersion) + { + $this->imageBubbleVersion = $imageBubbleVersion; + } + public function getImageBubbleVersion() + { + return $this->imageBubbleVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php new file mode 100644 index 00000000..0dc9f6a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotation.php @@ -0,0 +1,149 @@ +annotationDataId = $annotationDataId; + } + public function getAnnotationDataId() + { + return $this->annotationDataId; + } + public function setAnnotationDataLink($annotationDataLink) + { + $this->annotationDataLink = $annotationDataLink; + } + public function getAnnotationDataLink() + { + return $this->annotationDataLink; + } + public function setAnnotationType($annotationType) + { + $this->annotationType = $annotationType; + } + public function getAnnotationType() + { + return $this->annotationType; + } + public function setContentRanges(Google_Service_Books_VolumeannotationContentRanges $contentRanges) + { + $this->contentRanges = $contentRanges; + } + public function getContentRanges() + { + return $this->contentRanges; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setPageIds($pageIds) + { + $this->pageIds = $pageIds; + } + public function getPageIds() + { + return $this->pageIds; + } + public function setSelectedText($selectedText) + { + $this->selectedText = $selectedText; + } + public function getSelectedText() + { + return $this->selectedText; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php new file mode 100644 index 00000000..5b9c720a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeannotationContentRanges.php @@ -0,0 +1,60 @@ +cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php new file mode 100644 index 00000000..f28f199a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeannotations.php @@ -0,0 +1,68 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php new file mode 100644 index 00000000..89f00ff0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumes.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php new file mode 100644 index 00000000..555cf367 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/Volumeseriesinfo.php @@ -0,0 +1,59 @@ +bookDisplayNumber = $bookDisplayNumber; + } + public function getBookDisplayNumber() + { + return $this->bookDisplayNumber; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setShortSeriesBookTitle($shortSeriesBookTitle) + { + $this->shortSeriesBookTitle = $shortSeriesBookTitle; + } + public function getShortSeriesBookTitle() + { + return $this->shortSeriesBookTitle; + } + public function setVolumeSeries($volumeSeries) + { + $this->volumeSeries = $volumeSeries; + } + public function getVolumeSeries() + { + return $this->volumeSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php new file mode 100644 index 00000000..f58238f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeries.php @@ -0,0 +1,59 @@ +issue = $issue; + } + public function getIssue() + { + return $this->issue; + } + public function setOrderNumber($orderNumber) + { + $this->orderNumber = $orderNumber; + } + public function getOrderNumber() + { + return $this->orderNumber; + } + public function setSeriesBookType($seriesBookType) + { + $this->seriesBookType = $seriesBookType; + } + public function getSeriesBookType() + { + return $this->seriesBookType; + } + public function setSeriesId($seriesId) + { + $this->seriesId = $seriesId; + } + public function getSeriesId() + { + return $this->seriesId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php new file mode 100644 index 00000000..4dd85f2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Books/VolumeseriesinfoVolumeSeriesIssue.php @@ -0,0 +1,39 @@ +issueDisplayNumber = $issueDisplayNumber; + } + public function getIssueDisplayNumber() + { + return $this->issueDisplayNumber; + } + public function setIssueOrderNumber($issueOrderNumber) + { + $this->issueOrderNumber = $issueOrderNumber; + } + public function getIssueOrderNumber() + { + return $this->issueOrderNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php new file mode 100644 index 00000000..b1241bd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar.php @@ -0,0 +1,888 @@ + + * Manipulates events and other calendar data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Calendar extends Google_Service +{ + /** Manage your calendars. */ + const CALENDAR = + "https://www.googleapis.com/auth/calendar"; + /** View your calendars. */ + const CALENDAR_READONLY = + "https://www.googleapis.com/auth/calendar.readonly"; + + public $acl; + public $calendarList; + public $calendars; + public $channels; + public $colors; + public $events; + public $freebusy; + public $settings; + + /** + * Constructs the internal representation of the Calendar service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'calendar/v3/'; + $this->version = 'v3'; + $this->serviceName = 'calendar'; + + $this->acl = new Google_Service_Calendar_Resource_Acl( + $this, + $this->serviceName, + 'acl', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'calendars/{calendarId}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'calendars/{calendarId}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => 'calendars/{calendarId}/acl/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->calendarList = new Google_Service_Calendar_Resource_CalendarList( + $this, + $this->serviceName, + 'calendarList', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/me/calendarList', + 'httpMethod' => 'POST', + 'parameters' => array( + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'users/me/calendarList', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minAccessRole' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'watch' => array( + 'path' => 'users/me/calendarList/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minAccessRole' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->calendars = new Google_Service_Calendar_Resource_Calendars( + $this, + $this->serviceName, + 'calendars', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'calendars/{calendarId}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'calendars', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Calendar_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->colors = new Google_Service_Calendar_Resource_Colors( + $this, + $this->serviceName, + 'colors', + array( + 'methods' => array( + 'get' => array( + 'path' => 'colors', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->events = new Google_Service_Calendar_Resource_Events( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'import' => array( + 'path' => 'calendars/{calendarId}/events/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => 'calendars/{calendarId}/events', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'instances' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'originalStart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'calendars/{calendarId}/events', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'iCalUID' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'privateExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sharedExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showHiddenInvitations' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'singleEvents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'move' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}/move', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destination' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'quickAdd' => array( + 'path' => 'calendars/{calendarId}/events/quickAdd', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'text' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'watch' => array( + 'path' => 'calendars/{calendarId}/events/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'iCalUID' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'privateExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sharedExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showHiddenInvitations' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'singleEvents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->freebusy = new Google_Service_Calendar_Resource_Freebusy( + $this, + $this->serviceName, + 'freebusy', + array( + 'methods' => array( + 'query' => array( + 'path' => 'freeBusy', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->settings = new Google_Service_Calendar_Resource_Settings( + $this, + $this->serviceName, + 'settings', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/me/settings/{setting}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'setting' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/me/settings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'users/me/settings/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php new file mode 100644 index 00000000..94b64d21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Acl.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php new file mode 100644 index 00000000..49402b02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRule.php @@ -0,0 +1,67 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setScope(Google_Service_Calendar_AclRuleScope $scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php new file mode 100644 index 00000000..47a10b24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/AclRuleScope.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php new file mode 100644 index 00000000..a2bc1e00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Calendar.php @@ -0,0 +1,84 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php new file mode 100644 index 00000000..79281326 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarList.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php new file mode 100644 index 00000000..eb7584b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntry.php @@ -0,0 +1,186 @@ +accessRole = $accessRole; + } + public function getAccessRole() + { + return $this->accessRole; + } + public function setBackgroundColor($backgroundColor) + { + $this->backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setColorId($colorId) + { + $this->colorId = $colorId; + } + public function getColorId() + { + return $this->colorId; + } + public function setDefaultReminders($defaultReminders) + { + $this->defaultReminders = $defaultReminders; + } + public function getDefaultReminders() + { + return $this->defaultReminders; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setForegroundColor($foregroundColor) + { + $this->foregroundColor = $foregroundColor; + } + public function getForegroundColor() + { + return $this->foregroundColor; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNotificationSettings(Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings) + { + $this->notificationSettings = $notificationSettings; + } + public function getNotificationSettings() + { + return $this->notificationSettings; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSelected($selected) + { + $this->selected = $selected; + } + public function getSelected() + { + return $this->selected; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setSummaryOverride($summaryOverride) + { + $this->summaryOverride = $summaryOverride; + } + public function getSummaryOverride() + { + return $this->summaryOverride; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php new file mode 100644 index 00000000..06a9130d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarListEntryNotificationSettings.php @@ -0,0 +1,32 @@ +notifications = $notifications; + } + public function getNotifications() + { + return $this->notifications; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php new file mode 100644 index 00000000..7afe4dc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/CalendarNotification.php @@ -0,0 +1,39 @@ +method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php new file mode 100644 index 00000000..cbf151c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Channel.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php new file mode 100644 index 00000000..f42fd3b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/ColorDefinition.php @@ -0,0 +1,39 @@ +background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setForeground($foreground) + { + $this->foreground = $foreground; + } + public function getForeground() + { + return $this->foreground; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php new file mode 100644 index 00000000..1e330ab7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Colors.php @@ -0,0 +1,59 @@ +calendar = $calendar; + } + public function getCalendar() + { + return $this->calendar; + } + public function setEvent($event) + { + $this->event = $event; + } + public function getEvent() + { + return $this->event; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php new file mode 100644 index 00000000..22d09b72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Error.php @@ -0,0 +1,39 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php new file mode 100644 index 00000000..2d0a00c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Event.php @@ -0,0 +1,366 @@ +anyoneCanAddSelf = $anyoneCanAddSelf; + } + public function getAnyoneCanAddSelf() + { + return $this->anyoneCanAddSelf; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setAttendees($attendees) + { + $this->attendees = $attendees; + } + public function getAttendees() + { + return $this->attendees; + } + public function setAttendeesOmitted($attendeesOmitted) + { + $this->attendeesOmitted = $attendeesOmitted; + } + public function getAttendeesOmitted() + { + return $this->attendeesOmitted; + } + public function setColorId($colorId) + { + $this->colorId = $colorId; + } + public function getColorId() + { + return $this->colorId; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCreator(Google_Service_Calendar_EventCreator $creator) + { + $this->creator = $creator; + } + public function getCreator() + { + return $this->creator; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnd(Google_Service_Calendar_EventDateTime $end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setEndTimeUnspecified($endTimeUnspecified) + { + $this->endTimeUnspecified = $endTimeUnspecified; + } + public function getEndTimeUnspecified() + { + return $this->endTimeUnspecified; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExtendedProperties(Google_Service_Calendar_EventExtendedProperties $extendedProperties) + { + $this->extendedProperties = $extendedProperties; + } + public function getExtendedProperties() + { + return $this->extendedProperties; + } + public function setGadget(Google_Service_Calendar_EventGadget $gadget) + { + $this->gadget = $gadget; + } + public function getGadget() + { + return $this->gadget; + } + public function setGuestsCanInviteOthers($guestsCanInviteOthers) + { + $this->guestsCanInviteOthers = $guestsCanInviteOthers; + } + public function getGuestsCanInviteOthers() + { + return $this->guestsCanInviteOthers; + } + public function setGuestsCanModify($guestsCanModify) + { + $this->guestsCanModify = $guestsCanModify; + } + public function getGuestsCanModify() + { + return $this->guestsCanModify; + } + public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests) + { + $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests; + } + public function getGuestsCanSeeOtherGuests() + { + return $this->guestsCanSeeOtherGuests; + } + public function setHangoutLink($hangoutLink) + { + $this->hangoutLink = $hangoutLink; + } + public function getHangoutLink() + { + return $this->hangoutLink; + } + public function setHtmlLink($htmlLink) + { + $this->htmlLink = $htmlLink; + } + public function getHtmlLink() + { + return $this->htmlLink; + } + public function setICalUID($iCalUID) + { + $this->iCalUID = $iCalUID; + } + public function getICalUID() + { + return $this->iCalUID; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLocked($locked) + { + $this->locked = $locked; + } + public function getLocked() + { + return $this->locked; + } + public function setOrganizer(Google_Service_Calendar_EventOrganizer $organizer) + { + $this->organizer = $organizer; + } + public function getOrganizer() + { + return $this->organizer; + } + public function setOriginalStartTime(Google_Service_Calendar_EventDateTime $originalStartTime) + { + $this->originalStartTime = $originalStartTime; + } + public function getOriginalStartTime() + { + return $this->originalStartTime; + } + public function setPrivateCopy($privateCopy) + { + $this->privateCopy = $privateCopy; + } + public function getPrivateCopy() + { + return $this->privateCopy; + } + public function setRecurrence($recurrence) + { + $this->recurrence = $recurrence; + } + public function getRecurrence() + { + return $this->recurrence; + } + public function setRecurringEventId($recurringEventId) + { + $this->recurringEventId = $recurringEventId; + } + public function getRecurringEventId() + { + return $this->recurringEventId; + } + public function setReminders(Google_Service_Calendar_EventReminders $reminders) + { + $this->reminders = $reminders; + } + public function getReminders() + { + return $this->reminders; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } + public function setSource(Google_Service_Calendar_EventSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setStart(Google_Service_Calendar_EventDateTime $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTransparency($transparency) + { + $this->transparency = $transparency; + } + public function getTransparency() + { + return $this->transparency; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php new file mode 100644 index 00000000..8f3d6e24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttachment.php @@ -0,0 +1,66 @@ +fileId = $fileId; + } + public function getFileId() + { + return $this->fileId; + } + public function setFileUrl($fileUrl) + { + $this->fileUrl = $fileUrl; + } + public function getFileUrl() + { + return $this->fileUrl; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php new file mode 100644 index 00000000..78572b03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventAttendee.php @@ -0,0 +1,111 @@ +additionalGuests = $additionalGuests; + } + public function getAdditionalGuests() + { + return $this->additionalGuests; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setOptional($optional) + { + $this->optional = $optional; + } + public function getOptional() + { + return $this->optional; + } + public function setOrganizer($organizer) + { + $this->organizer = $organizer; + } + public function getOrganizer() + { + return $this->organizer; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setResponseStatus($responseStatus) + { + $this->responseStatus = $responseStatus; + } + public function getResponseStatus() + { + return $this->responseStatus; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php new file mode 100644 index 00000000..5ab38f69 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventCreator.php @@ -0,0 +1,57 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php new file mode 100644 index 00000000..f47a3772 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventDateTime.php @@ -0,0 +1,48 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setDateTime($dateTime) + { + $this->dateTime = $dateTime; + } + public function getDateTime() + { + return $this->dateTime; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php new file mode 100644 index 00000000..7efb26d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventExtendedProperties.php @@ -0,0 +1,39 @@ +private = $private; + } + public function getPrivate() + { + return $this->private; + } + public function setShared($shared) + { + $this->shared = $shared; + } + public function getShared() + { + return $this->shared; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php new file mode 100644 index 00000000..78844e5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventGadget.php @@ -0,0 +1,93 @@ +display = $display; + } + public function getDisplay() + { + return $this->display; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setPreferences($preferences) + { + $this->preferences = $preferences; + } + public function getPreferences() + { + return $this->preferences; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php new file mode 100644 index 00000000..5f3a658b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventOrganizer.php @@ -0,0 +1,57 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php new file mode 100644 index 00000000..3ad8c1ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminder.php @@ -0,0 +1,39 @@ +method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setMinutes($minutes) + { + $this->minutes = $minutes; + } + public function getMinutes() + { + return $this->minutes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php new file mode 100644 index 00000000..d2f4c2a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventReminders.php @@ -0,0 +1,41 @@ +overrides = $overrides; + } + public function getOverrides() + { + return $this->overrides; + } + public function setUseDefault($useDefault) + { + $this->useDefault = $useDefault; + } + public function getUseDefault() + { + return $this->useDefault; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php new file mode 100644 index 00000000..f209c172 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/EventSource.php @@ -0,0 +1,39 @@ +title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php new file mode 100644 index 00000000..ee9e5be2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Events.php @@ -0,0 +1,123 @@ +accessRole = $accessRole; + } + public function getAccessRole() + { + return $this->accessRole; + } + public function setDefaultReminders($defaultReminders) + { + $this->defaultReminders = $defaultReminders; + } + public function getDefaultReminders() + { + return $this->defaultReminders; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php new file mode 100644 index 00000000..6fe872eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyCalendar.php @@ -0,0 +1,42 @@ +busy = $busy; + } + public function getBusy() + { + return $this->busy; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php new file mode 100644 index 00000000..b1f95ea8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyGroup.php @@ -0,0 +1,41 @@ +calendars = $calendars; + } + public function getCalendars() + { + return $this->calendars; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php new file mode 100644 index 00000000..c0ffd291 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequest.php @@ -0,0 +1,77 @@ +calendarExpansionMax = $calendarExpansionMax; + } + public function getCalendarExpansionMax() + { + return $this->calendarExpansionMax; + } + public function setGroupExpansionMax($groupExpansionMax) + { + $this->groupExpansionMax = $groupExpansionMax; + } + public function getGroupExpansionMax() + { + return $this->groupExpansionMax; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setTimeMax($timeMax) + { + $this->timeMax = $timeMax; + } + public function getTimeMax() + { + return $this->timeMax; + } + public function setTimeMin($timeMin) + { + $this->timeMin = $timeMin; + } + public function getTimeMin() + { + return $this->timeMin; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php new file mode 100644 index 00000000..f67c9eb2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyRequestItem.php @@ -0,0 +1,30 @@ +id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php new file mode 100644 index 00000000..cfa74d8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/FreeBusyResponse.php @@ -0,0 +1,68 @@ +calendars = $calendars; + } + public function getCalendars() + { + return $this->calendars; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimeMax($timeMax) + { + $this->timeMax = $timeMax; + } + public function getTimeMax() + { + return $this->timeMax; + } + public function setTimeMin($timeMin) + { + $this->timeMin = $timeMin; + } + public function getTimeMin() + { + return $this->timeMin; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php new file mode 100644 index 00000000..3d1b6650 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Acl.php @@ -0,0 +1,177 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $acl = $calendarService->acl; + * + */ +class Google_Service_Calendar_Resource_Acl extends Google_Service_Resource +{ + /** + * Deletes an access control rule. (acl.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $ruleId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns an access control rule. (acl.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function get($calendarId, $ruleId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_AclRule"); + } + /** + * Creates an access control rule. (acl.insert) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function insert($calendarId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_AclRule"); + } + /** + * Returns the rules in the access control list for the calendar. (acl.listAcl) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showDeleted Whether to include deleted ACLs in the result. + * Deleted ACLs are represented by role equal to "none". Deleted ACLs will + * always be included if syncToken is provided. Optional. The default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All entries deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. If the + * syncToken expires, the server will respond with a 410 GONE response code and + * the client should clear its storage and perform a full synchronization + * without any syncToken. Learn more about incremental synchronization. + * Optional. The default is to return all entries. + * @return Google_Service_Calendar_Acl + */ + public function listAcl($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Acl"); + } + /** + * Updates an access control rule. This method supports patch semantics. + * (acl.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param Google_Service_Calendar_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function patch($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_AclRule"); + } + /** + * Updates an access control rule. (acl.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param Google_Service_Calendar_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function update($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_AclRule"); + } + /** + * Watch for changes to ACL resources. (acl.watch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showDeleted Whether to include deleted ACLs in the result. + * Deleted ACLs are represented by role equal to "none". Deleted ACLs will + * always be included if syncToken is provided. Optional. The default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All entries deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. If the + * syncToken expires, the server will respond with a 410 GONE response code and + * the client should clear its storage and perform a full synchronization + * without any syncToken. Learn more about incremental synchronization. + * Optional. The default is to return all entries. + * @return Google_Service_Calendar_Channel + */ + public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php new file mode 100644 index 00000000..751b2b1a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/CalendarList.php @@ -0,0 +1,191 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $calendarList = $calendarService->calendarList; + * + */ +class Google_Service_Calendar_Resource_CalendarList extends Google_Service_Resource +{ + /** + * Deletes an entry on the user's calendar list. (calendarList.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns an entry on the user's calendar list. (calendarList.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function get($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + /** + * Adds an entry to the user's calendar list. (calendarList.insert) + * + * @param Google_Service_Calendar_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function insert(Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + /** + * Returns entries on the user's calendar list. (calendarList.listCalendarList) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string minAccessRole The minimum access role for the user in the + * returned entries. Optional. The default is no restriction. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showDeleted Whether to include deleted calendar list entries + * in the result. Optional. The default is False. + * @opt_param bool showHidden Whether to show hidden entries. Optional. The + * default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If only read-only fields such as calendar properties or ACLs have + * changed, the entry won't be returned. All entries deleted and hidden since + * the previous list request will always be in the result set and it is not + * allowed to set showDeleted neither showHidden to False. To ensure client + * state consistency minAccessRole query parameter cannot be specified together + * with nextSyncToken. If the syncToken expires, the server will respond with a + * 410 GONE response code and the client should clear its storage and perform a + * full synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_CalendarList + */ + public function listCalendarList($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_CalendarList"); + } + /** + * Updates an entry on the user's calendar list. This method supports patch + * semantics. (calendarList.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function patch($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + /** + * Updates an entry on the user's calendar list. (calendarList.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function update($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + /** + * Watch for changes to CalendarList resources. (calendarList.watch) + * + * @param Google_Service_Calendar_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string minAccessRole The minimum access role for the user in the + * returned entries. Optional. The default is no restriction. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showDeleted Whether to include deleted calendar list entries + * in the result. Optional. The default is False. + * @opt_param bool showHidden Whether to show hidden entries. Optional. The + * default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If only read-only fields such as calendar properties or ACLs have + * changed, the entry won't be returned. All entries deleted and hidden since + * the previous list request will always be in the result set and it is not + * allowed to set showDeleted neither showHidden to False. To ensure client + * state consistency minAccessRole query parameter cannot be specified together + * with nextSyncToken. If the syncToken expires, the server will respond with a + * 410 GONE response code and the client should clear its storage and perform a + * full synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_Channel + */ + public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php new file mode 100644 index 00000000..9471e9b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Calendars.php @@ -0,0 +1,119 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $calendars = $calendarService->calendars; + * + */ +class Google_Service_Calendar_Resource_Calendars extends Google_Service_Resource +{ + /** + * Clears a primary calendar. This operation deletes all events associated with + * the primary calendar of an account. (calendars.clear) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function clear($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params)); + } + /** + * Deletes a secondary calendar. Use calendars.clear for clearing all events on + * primary calendars. (calendars.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns metadata for a calendar. (calendars.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function get($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Calendar"); + } + /** + * Creates a secondary calendar. (calendars.insert) + * + * @param Google_Service_Calendar_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function insert(Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_Calendar"); + } + /** + * Updates metadata for a calendar. This method supports patch semantics. + * (calendars.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function patch($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_Calendar"); + } + /** + * Updates metadata for a calendar. (calendars.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function update($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_Calendar"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php new file mode 100644 index 00000000..35254316 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Channels.php @@ -0,0 +1,40 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $channels = $calendarService->channels; + * + */ +class Google_Service_Calendar_Resource_Channels extends Google_Service_Resource +{ + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Service_Calendar_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php new file mode 100644 index 00000000..4d281a04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Colors.php @@ -0,0 +1,40 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $colors = $calendarService->colors; + * + */ +class Google_Service_Calendar_Resource_Colors extends Google_Service_Resource +{ + /** + * Returns the color definitions for calendars and events. (colors.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Colors + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Colors"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php new file mode 100644 index 00000000..53c89ce6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php @@ -0,0 +1,440 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $events = $calendarService->events; + * + */ +class Google_Service_Calendar_Resource_Events extends Google_Service_Resource +{ + /** + * Deletes an event. (events.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * deletion of the event. Optional. The default is False. + */ + public function delete($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns an event. (events.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @return Google_Service_Calendar_Event + */ + public function get($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Event"); + } + /** + * Imports an event. This operation is used to add a private copy of an existing + * event to a calendar. (events.import) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function import($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Calendar_Event"); + } + /** + * Creates an event. (events.insert) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param bool sendNotifications Whether to send notifications about the + * creation of the new event. Optional. The default is False. + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function insert($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_Event"); + } + /** + * Returns instances of the specified recurring event. (events.instances) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Recurring event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string originalStart The original start time of the instance in + * the result. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * will still be included if singleEvents is False. Optional. The default is + * False. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @return Google_Service_Calendar_Events + */ + public function instances($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('instances', array($params), "Google_Service_Calendar_Events"); + } + /** + * Returns events on the specified calendar. (events.listEvents) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param string iCalUID Specifies event ID in the iCalendar format to be + * included in the response. Optional. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string orderBy The order of the events returned in the result. + * Optional. The default is an unspecified, stable order. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string privateExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only private properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param string q Free text search terms to find events that match these + * terms in any field, except for extended properties. Optional. + * @opt_param string sharedExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only shared properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * (but not the underlying recurring event) will still be included if + * showDeleted and singleEvents are both False. If showDeleted and singleEvents + * are both True, only single instances of deleted events (but not the + * underlying recurring events) are returned. Optional. The default is False. + * @opt_param bool showHiddenInvitations Whether to include hidden invitations + * in the result. Optional. The default is False. + * @opt_param bool singleEvents Whether to expand recurring events into + * instances and only return single one-off events and instances of recurring + * events, but not the underlying recurring events themselves. Optional. The + * default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All events deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. There are + * several query parameters that cannot be specified together with nextSyncToken + * to ensure consistency of the client state. + * + * These are: - iCalUID - orderBy - privateExtendedProperty - q - + * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken + * expires, the server will respond with a 410 GONE response code and the client + * should clear its storage and perform a full synchronization without any + * syncToken. Learn more about incremental synchronization. Optional. The + * default is to return all entries. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param string updatedMin Lower bound for an event's last modification + * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted + * since this time will always be included regardless of showDeleted. Optional. + * The default is not to filter by last modification time. + * @return Google_Service_Calendar_Events + */ + public function listEvents($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Events"); + } + /** + * Moves an event to another calendar, i.e. changes an event's organizer. + * (events.move) + * + * @param string $calendarId Calendar identifier of the source calendar where + * the event currently is on. + * @param string $eventId Event identifier. + * @param string $destination Calendar identifier of the target calendar where + * the event is to be moved to. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * change of the event's organizer. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function move($calendarId, $eventId, $destination, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination); + $params = array_merge($params, $optParams); + return $this->call('move', array($params), "Google_Service_Calendar_Event"); + } + /** + * Updates an event. This method supports patch semantics. (events.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param Google_Service_Calendar_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param bool sendNotifications Whether to send notifications about the + * event update (e.g. attendee's responses, title changes, etc.). Optional. The + * default is False. + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function patch($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_Event"); + } + /** + * Creates an event based on a simple text string. (events.quickAdd) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $text The text describing the event to be created. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * creation of the event. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function quickAdd($calendarId, $text, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'text' => $text); + $params = array_merge($params, $optParams); + return $this->call('quickAdd', array($params), "Google_Service_Calendar_Event"); + } + /** + * Updates an event. (events.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param Google_Service_Calendar_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param bool sendNotifications Whether to send notifications about the + * event update (e.g. attendee's responses, title changes, etc.). Optional. The + * default is False. + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function update($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_Event"); + } + /** + * Watch for changes to Events resources. (events.watch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Service_Calendar_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param string iCalUID Specifies event ID in the iCalendar format to be + * included in the response. Optional. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string orderBy The order of the events returned in the result. + * Optional. The default is an unspecified, stable order. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string privateExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only private properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param string q Free text search terms to find events that match these + * terms in any field, except for extended properties. Optional. + * @opt_param string sharedExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only shared properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * (but not the underlying recurring event) will still be included if + * showDeleted and singleEvents are both False. If showDeleted and singleEvents + * are both True, only single instances of deleted events (but not the + * underlying recurring events) are returned. Optional. The default is False. + * @opt_param bool showHiddenInvitations Whether to include hidden invitations + * in the result. Optional. The default is False. + * @opt_param bool singleEvents Whether to expand recurring events into + * instances and only return single one-off events and instances of recurring + * events, but not the underlying recurring events themselves. Optional. The + * default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All events deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. There are + * several query parameters that cannot be specified together with nextSyncToken + * to ensure consistency of the client state. + * + * These are: - iCalUID - orderBy - privateExtendedProperty - q - + * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken + * expires, the server will respond with a 410 GONE response code and the client + * should clear its storage and perform a full synchronization without any + * syncToken. Learn more about incremental synchronization. Optional. The + * default is to return all entries. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param string updatedMin Lower bound for an event's last modification + * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted + * since this time will always be included regardless of showDeleted. Optional. + * The default is not to filter by last modification time. + * @return Google_Service_Calendar_Channel + */ + public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php new file mode 100644 index 00000000..76791c78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Freebusy.php @@ -0,0 +1,41 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $freebusy = $calendarService->freebusy; + * + */ +class Google_Service_Calendar_Resource_Freebusy extends Google_Service_Resource +{ + /** + * Returns free/busy information for a set of calendars. (freebusy.query) + * + * @param Google_Service_Calendar_FreeBusyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_FreeBusyResponse + */ + public function query(Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Calendar_FreeBusyResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php new file mode 100644 index 00000000..1b2a9370 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Resource/Settings.php @@ -0,0 +1,92 @@ + + * $calendarService = new Google_Service_Calendar(...); + * $settings = $calendarService->settings; + * + */ +class Google_Service_Calendar_Resource_Settings extends Google_Service_Resource +{ + /** + * Returns a single user setting. (settings.get) + * + * @param string $setting The id of the user setting. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Setting + */ + public function get($setting, $optParams = array()) + { + $params = array('setting' => $setting); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Setting"); + } + /** + * Returns all user settings for the authenticated user. (settings.listSettings) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If the syncToken expires, the server will respond with a 410 GONE + * response code and the client should clear its storage and perform a full + * synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_Settings + */ + public function listSettings($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Settings"); + } + /** + * Watch for changes to Settings resources. (settings.watch) + * + * @param Google_Service_Calendar_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If the syncToken expires, the server will respond with a 410 GONE + * response code and the client should clear its storage and perform a full + * synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_Channel + */ + public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php new file mode 100644 index 00000000..3e4ae0b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Setting.php @@ -0,0 +1,57 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php new file mode 100644 index 00000000..fa0d9334 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/Settings.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php new file mode 100644 index 00000000..91bda8a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Calendar/TimePeriod.php @@ -0,0 +1,39 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php new file mode 100644 index 00000000..8f9d7b8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo.php @@ -0,0 +1,166 @@ + + * Provides polling places, early vote locations, contest data, election + * officials, and government representatives for U.S. residential addresses.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CivicInfo extends Google_Service +{ + + + public $divisions; + public $elections; + public $representatives; + + /** + * Constructs the internal representation of the CivicInfo service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'civicinfo/v2/'; + $this->version = 'v2'; + $this->serviceName = 'civicinfo'; + + $this->divisions = new Google_Service_CivicInfo_Resource_Divisions( + $this, + $this->serviceName, + 'divisions', + array( + 'methods' => array( + 'search' => array( + 'path' => 'divisions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->elections = new Google_Service_CivicInfo_Resource_Elections( + $this, + $this->serviceName, + 'elections', + array( + 'methods' => array( + 'electionQuery' => array( + 'path' => 'elections', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'voterInfoQuery' => array( + 'path' => 'voterinfo', + 'httpMethod' => 'GET', + 'parameters' => array( + 'address' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'electionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'officialOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'returnAllAvailableData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->representatives = new Google_Service_CivicInfo_Resource_Representatives( + $this, + $this->serviceName, + 'representatives', + array( + 'methods' => array( + 'representativeInfoByAddress' => array( + 'path' => 'representatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeOffices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'levels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'representativeInfoByDivision' => array( + 'path' => 'representatives/{ocdId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ocdId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'levels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'recursive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php new file mode 100644 index 00000000..ca275283 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrationRegion.php @@ -0,0 +1,73 @@ + "local_jurisdiction", + ); + protected $electionAdministrationBodyType = 'Google_Service_CivicInfo_AdministrativeBody'; + protected $electionAdministrationBodyDataType = ''; + public $id; + protected $localJurisdictionType = 'Google_Service_CivicInfo_AdministrationRegion'; + protected $localJurisdictionDataType = ''; + public $name; + protected $sourcesType = 'Google_Service_CivicInfo_Source'; + protected $sourcesDataType = 'array'; + + public function setElectionAdministrationBody(Google_Service_CivicInfo_AdministrativeBody $electionAdministrationBody) + { + $this->electionAdministrationBody = $electionAdministrationBody; + } + public function getElectionAdministrationBody() + { + return $this->electionAdministrationBody; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocalJurisdiction(Google_Service_CivicInfo_AdministrationRegion $localJurisdiction) + { + $this->localJurisdiction = $localJurisdiction; + } + public function getLocalJurisdiction() + { + return $this->localJurisdiction; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php new file mode 100644 index 00000000..60c3a4a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/AdministrativeBody.php @@ -0,0 +1,154 @@ + "voter_services", + ); + public $absenteeVotingInfoUrl; + public $addressLines; + public $ballotInfoUrl; + protected $correspondenceAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $correspondenceAddressDataType = ''; + public $electionInfoUrl; + protected $electionOfficialsType = 'Google_Service_CivicInfo_ElectionOfficial'; + protected $electionOfficialsDataType = 'array'; + public $electionRegistrationConfirmationUrl; + public $electionRegistrationUrl; + public $electionRulesUrl; + public $hoursOfOperation; + public $name; + protected $physicalAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $physicalAddressDataType = ''; + public $voterServices; + public $votingLocationFinderUrl; + + public function setAbsenteeVotingInfoUrl($absenteeVotingInfoUrl) + { + $this->absenteeVotingInfoUrl = $absenteeVotingInfoUrl; + } + public function getAbsenteeVotingInfoUrl() + { + return $this->absenteeVotingInfoUrl; + } + public function setAddressLines($addressLines) + { + $this->addressLines = $addressLines; + } + public function getAddressLines() + { + return $this->addressLines; + } + public function setBallotInfoUrl($ballotInfoUrl) + { + $this->ballotInfoUrl = $ballotInfoUrl; + } + public function getBallotInfoUrl() + { + return $this->ballotInfoUrl; + } + public function setCorrespondenceAddress(Google_Service_CivicInfo_SimpleAddressType $correspondenceAddress) + { + $this->correspondenceAddress = $correspondenceAddress; + } + public function getCorrespondenceAddress() + { + return $this->correspondenceAddress; + } + public function setElectionInfoUrl($electionInfoUrl) + { + $this->electionInfoUrl = $electionInfoUrl; + } + public function getElectionInfoUrl() + { + return $this->electionInfoUrl; + } + public function setElectionOfficials($electionOfficials) + { + $this->electionOfficials = $electionOfficials; + } + public function getElectionOfficials() + { + return $this->electionOfficials; + } + public function setElectionRegistrationConfirmationUrl($electionRegistrationConfirmationUrl) + { + $this->electionRegistrationConfirmationUrl = $electionRegistrationConfirmationUrl; + } + public function getElectionRegistrationConfirmationUrl() + { + return $this->electionRegistrationConfirmationUrl; + } + public function setElectionRegistrationUrl($electionRegistrationUrl) + { + $this->electionRegistrationUrl = $electionRegistrationUrl; + } + public function getElectionRegistrationUrl() + { + return $this->electionRegistrationUrl; + } + public function setElectionRulesUrl($electionRulesUrl) + { + $this->electionRulesUrl = $electionRulesUrl; + } + public function getElectionRulesUrl() + { + return $this->electionRulesUrl; + } + public function setHoursOfOperation($hoursOfOperation) + { + $this->hoursOfOperation = $hoursOfOperation; + } + public function getHoursOfOperation() + { + return $this->hoursOfOperation; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhysicalAddress(Google_Service_CivicInfo_SimpleAddressType $physicalAddress) + { + $this->physicalAddress = $physicalAddress; + } + public function getPhysicalAddress() + { + return $this->physicalAddress; + } + public function setVoterServices($voterServices) + { + $this->voterServices = $voterServices; + } + public function getVoterServices() + { + return $this->voterServices; + } + public function setVotingLocationFinderUrl($votingLocationFinderUrl) + { + $this->votingLocationFinderUrl = $votingLocationFinderUrl; + } + public function getVotingLocationFinderUrl() + { + return $this->votingLocationFinderUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php new file mode 100644 index 00000000..8f5ff7d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Candidate.php @@ -0,0 +1,95 @@ +candidateUrl = $candidateUrl; + } + public function getCandidateUrl() + { + return $this->candidateUrl; + } + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrderOnBallot($orderOnBallot) + { + $this->orderOnBallot = $orderOnBallot; + } + public function getOrderOnBallot() + { + return $this->orderOnBallot; + } + public function setParty($party) + { + $this->party = $party; + } + public function getParty() + { + return $this->party; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php new file mode 100644 index 00000000..3d4d6731 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Channel.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php new file mode 100644 index 00000000..c555ce04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Contest.php @@ -0,0 +1,241 @@ +ballotPlacement = $ballotPlacement; + } + public function getBallotPlacement() + { + return $this->ballotPlacement; + } + public function setCandidates($candidates) + { + $this->candidates = $candidates; + } + public function getCandidates() + { + return $this->candidates; + } + public function setDistrict(Google_Service_CivicInfo_ElectoralDistrict $district) + { + $this->district = $district; + } + public function getDistrict() + { + return $this->district; + } + public function setElectorateSpecifications($electorateSpecifications) + { + $this->electorateSpecifications = $electorateSpecifications; + } + public function getElectorateSpecifications() + { + return $this->electorateSpecifications; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setNumberElected($numberElected) + { + $this->numberElected = $numberElected; + } + public function getNumberElected() + { + return $this->numberElected; + } + public function setNumberVotingFor($numberVotingFor) + { + $this->numberVotingFor = $numberVotingFor; + } + public function getNumberVotingFor() + { + return $this->numberVotingFor; + } + public function setOffice($office) + { + $this->office = $office; + } + public function getOffice() + { + return $this->office; + } + public function setPrimaryParty($primaryParty) + { + $this->primaryParty = $primaryParty; + } + public function getPrimaryParty() + { + return $this->primaryParty; + } + public function setReferendumBallotResponses($referendumBallotResponses) + { + $this->referendumBallotResponses = $referendumBallotResponses; + } + public function getReferendumBallotResponses() + { + return $this->referendumBallotResponses; + } + public function setReferendumBrief($referendumBrief) + { + $this->referendumBrief = $referendumBrief; + } + public function getReferendumBrief() + { + return $this->referendumBrief; + } + public function setReferendumConStatement($referendumConStatement) + { + $this->referendumConStatement = $referendumConStatement; + } + public function getReferendumConStatement() + { + return $this->referendumConStatement; + } + public function setReferendumEffectOfAbstain($referendumEffectOfAbstain) + { + $this->referendumEffectOfAbstain = $referendumEffectOfAbstain; + } + public function getReferendumEffectOfAbstain() + { + return $this->referendumEffectOfAbstain; + } + public function setReferendumPassageThreshold($referendumPassageThreshold) + { + $this->referendumPassageThreshold = $referendumPassageThreshold; + } + public function getReferendumPassageThreshold() + { + return $this->referendumPassageThreshold; + } + public function setReferendumProStatement($referendumProStatement) + { + $this->referendumProStatement = $referendumProStatement; + } + public function getReferendumProStatement() + { + return $this->referendumProStatement; + } + public function setReferendumSubtitle($referendumSubtitle) + { + $this->referendumSubtitle = $referendumSubtitle; + } + public function getReferendumSubtitle() + { + return $this->referendumSubtitle; + } + public function setReferendumText($referendumText) + { + $this->referendumText = $referendumText; + } + public function getReferendumText() + { + return $this->referendumText; + } + public function setReferendumTitle($referendumTitle) + { + $this->referendumTitle = $referendumTitle; + } + public function getReferendumTitle() + { + return $this->referendumTitle; + } + public function setReferendumUrl($referendumUrl) + { + $this->referendumUrl = $referendumUrl; + } + public function getReferendumUrl() + { + return $this->referendumUrl; + } + public function setRoles($roles) + { + $this->roles = $roles; + } + public function getRoles() + { + return $this->roles; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setSpecial($special) + { + $this->special = $special; + } + public function getSpecial() + { + return $this->special; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php new file mode 100644 index 00000000..e3ac07e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ContextParams.php @@ -0,0 +1,30 @@ +clientProfile = $clientProfile; + } + public function getClientProfile() + { + return $this->clientProfile; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php new file mode 100644 index 00000000..db9fe2d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionRepresentativeInfoRequest.php @@ -0,0 +1,31 @@ +contextParams = $contextParams; + } + public function getContextParams() + { + return $this->contextParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php new file mode 100644 index 00000000..60a04708 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchRequest.php @@ -0,0 +1,31 @@ +contextParams = $contextParams; + } + public function getContextParams() + { + return $this->contextParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php new file mode 100644 index 00000000..8cee4cf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php new file mode 100644 index 00000000..390937ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/DivisionSearchResult.php @@ -0,0 +1,49 @@ +aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOcdId($ocdId) + { + $this->ocdId = $ocdId; + } + public function getOcdId() + { + return $this->ocdId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php new file mode 100644 index 00000000..aec7e7f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Election.php @@ -0,0 +1,57 @@ +electionDay = $electionDay; + } + public function getElectionDay() + { + return $this->electionDay; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOcdDivisionId($ocdDivisionId) + { + $this->ocdDivisionId = $ocdDivisionId; + } + public function getOcdDivisionId() + { + return $this->ocdDivisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php new file mode 100644 index 00000000..228f6065 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionOfficial.php @@ -0,0 +1,66 @@ +emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setFaxNumber($faxNumber) + { + $this->faxNumber = $faxNumber; + } + public function getFaxNumber() + { + return $this->faxNumber; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficePhoneNumber($officePhoneNumber) + { + $this->officePhoneNumber = $officePhoneNumber; + } + public function getOfficePhoneNumber() + { + return $this->officePhoneNumber; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php new file mode 100644 index 00000000..aa458541 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryRequest.php @@ -0,0 +1,31 @@ +contextParams = $contextParams; + } + public function getContextParams() + { + return $this->contextParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php new file mode 100644 index 00000000..a13b9867 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectionsQueryResponse.php @@ -0,0 +1,41 @@ +elections = $elections; + } + public function getElections() + { + return $this->elections; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php new file mode 100644 index 00000000..29dac57c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/ElectoralDistrict.php @@ -0,0 +1,57 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKgForeignKey($kgForeignKey) + { + $this->kgForeignKey = $kgForeignKey; + } + public function getKgForeignKey() + { + return $this->kgForeignKey; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php new file mode 100644 index 00000000..6f10d919 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/GeographicDivision.php @@ -0,0 +1,49 @@ +alsoKnownAs = $alsoKnownAs; + } + public function getAlsoKnownAs() + { + return $this->alsoKnownAs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficeIndices($officeIndices) + { + $this->officeIndices = $officeIndices; + } + public function getOfficeIndices() + { + return $this->officeIndices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php new file mode 100644 index 00000000..f5c35439 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Office.php @@ -0,0 +1,77 @@ +divisionId = $divisionId; + } + public function getDivisionId() + { + return $this->divisionId; + } + public function setLevels($levels) + { + $this->levels = $levels; + } + public function getLevels() + { + return $this->levels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficialIndices($officialIndices) + { + $this->officialIndices = $officialIndices; + } + public function getOfficialIndices() + { + return $this->officialIndices; + } + public function setRoles($roles) + { + $this->roles = $roles; + } + public function getRoles() + { + return $this->roles; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php new file mode 100644 index 00000000..ac7aa629 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Official.php @@ -0,0 +1,96 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParty($party) + { + $this->party = $party; + } + public function getParty() + { + return $this->party; + } + public function setPhones($phones) + { + $this->phones = $phones; + } + public function getPhones() + { + return $this->phones; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php new file mode 100644 index 00000000..b7f8e064 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PollingLocation.php @@ -0,0 +1,105 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPollingHours($pollingHours) + { + $this->pollingHours = $pollingHours; + } + public function getPollingHours() + { + return $this->pollingHours; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setVoterServices($voterServices) + { + $this->voterServices = $voterServices; + } + public function getVoterServices() + { + return $this->voterServices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php new file mode 100644 index 00000000..c0f85ca6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/PostalAddress.php @@ -0,0 +1,301 @@ +addressLines = $addressLines; + } + public function getAddressLines() + { + return $this->addressLines; + } + public function setAdministrativeAreaName($administrativeAreaName) + { + $this->administrativeAreaName = $administrativeAreaName; + } + public function getAdministrativeAreaName() + { + return $this->administrativeAreaName; + } + public function setCountryName($countryName) + { + $this->countryName = $countryName; + } + public function getCountryName() + { + return $this->countryName; + } + public function setCountryNameCode($countryNameCode) + { + $this->countryNameCode = $countryNameCode; + } + public function getCountryNameCode() + { + return $this->countryNameCode; + } + public function setDependentLocalityName($dependentLocalityName) + { + $this->dependentLocalityName = $dependentLocalityName; + } + public function getDependentLocalityName() + { + return $this->dependentLocalityName; + } + public function setDependentThoroughfareLeadingType($dependentThoroughfareLeadingType) + { + $this->dependentThoroughfareLeadingType = $dependentThoroughfareLeadingType; + } + public function getDependentThoroughfareLeadingType() + { + return $this->dependentThoroughfareLeadingType; + } + public function setDependentThoroughfareName($dependentThoroughfareName) + { + $this->dependentThoroughfareName = $dependentThoroughfareName; + } + public function getDependentThoroughfareName() + { + return $this->dependentThoroughfareName; + } + public function setDependentThoroughfarePostDirection($dependentThoroughfarePostDirection) + { + $this->dependentThoroughfarePostDirection = $dependentThoroughfarePostDirection; + } + public function getDependentThoroughfarePostDirection() + { + return $this->dependentThoroughfarePostDirection; + } + public function setDependentThoroughfarePreDirection($dependentThoroughfarePreDirection) + { + $this->dependentThoroughfarePreDirection = $dependentThoroughfarePreDirection; + } + public function getDependentThoroughfarePreDirection() + { + return $this->dependentThoroughfarePreDirection; + } + public function setDependentThoroughfareTrailingType($dependentThoroughfareTrailingType) + { + $this->dependentThoroughfareTrailingType = $dependentThoroughfareTrailingType; + } + public function getDependentThoroughfareTrailingType() + { + return $this->dependentThoroughfareTrailingType; + } + public function setDependentThoroughfaresConnector($dependentThoroughfaresConnector) + { + $this->dependentThoroughfaresConnector = $dependentThoroughfaresConnector; + } + public function getDependentThoroughfaresConnector() + { + return $this->dependentThoroughfaresConnector; + } + public function setDependentThoroughfaresIndicator($dependentThoroughfaresIndicator) + { + $this->dependentThoroughfaresIndicator = $dependentThoroughfaresIndicator; + } + public function getDependentThoroughfaresIndicator() + { + return $this->dependentThoroughfaresIndicator; + } + public function setDependentThoroughfaresType($dependentThoroughfaresType) + { + $this->dependentThoroughfaresType = $dependentThoroughfaresType; + } + public function getDependentThoroughfaresType() + { + return $this->dependentThoroughfaresType; + } + public function setFirmName($firmName) + { + $this->firmName = $firmName; + } + public function getFirmName() + { + return $this->firmName; + } + public function setIsDisputed($isDisputed) + { + $this->isDisputed = $isDisputed; + } + public function getIsDisputed() + { + return $this->isDisputed; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setLocalityName($localityName) + { + $this->localityName = $localityName; + } + public function getLocalityName() + { + return $this->localityName; + } + public function setPostBoxNumber($postBoxNumber) + { + $this->postBoxNumber = $postBoxNumber; + } + public function getPostBoxNumber() + { + return $this->postBoxNumber; + } + public function setPostalCodeNumber($postalCodeNumber) + { + $this->postalCodeNumber = $postalCodeNumber; + } + public function getPostalCodeNumber() + { + return $this->postalCodeNumber; + } + public function setPostalCodeNumberExtension($postalCodeNumberExtension) + { + $this->postalCodeNumberExtension = $postalCodeNumberExtension; + } + public function getPostalCodeNumberExtension() + { + return $this->postalCodeNumberExtension; + } + public function setPremiseName($premiseName) + { + $this->premiseName = $premiseName; + } + public function getPremiseName() + { + return $this->premiseName; + } + public function setRecipientName($recipientName) + { + $this->recipientName = $recipientName; + } + public function getRecipientName() + { + return $this->recipientName; + } + public function setSortingCode($sortingCode) + { + $this->sortingCode = $sortingCode; + } + public function getSortingCode() + { + return $this->sortingCode; + } + public function setSubAdministrativeAreaName($subAdministrativeAreaName) + { + $this->subAdministrativeAreaName = $subAdministrativeAreaName; + } + public function getSubAdministrativeAreaName() + { + return $this->subAdministrativeAreaName; + } + public function setSubPremiseName($subPremiseName) + { + $this->subPremiseName = $subPremiseName; + } + public function getSubPremiseName() + { + return $this->subPremiseName; + } + public function setThoroughfareLeadingType($thoroughfareLeadingType) + { + $this->thoroughfareLeadingType = $thoroughfareLeadingType; + } + public function getThoroughfareLeadingType() + { + return $this->thoroughfareLeadingType; + } + public function setThoroughfareName($thoroughfareName) + { + $this->thoroughfareName = $thoroughfareName; + } + public function getThoroughfareName() + { + return $this->thoroughfareName; + } + public function setThoroughfareNumber($thoroughfareNumber) + { + $this->thoroughfareNumber = $thoroughfareNumber; + } + public function getThoroughfareNumber() + { + return $this->thoroughfareNumber; + } + public function setThoroughfarePostDirection($thoroughfarePostDirection) + { + $this->thoroughfarePostDirection = $thoroughfarePostDirection; + } + public function getThoroughfarePostDirection() + { + return $this->thoroughfarePostDirection; + } + public function setThoroughfarePreDirection($thoroughfarePreDirection) + { + $this->thoroughfarePreDirection = $thoroughfarePreDirection; + } + public function getThoroughfarePreDirection() + { + return $this->thoroughfarePreDirection; + } + public function setThoroughfareTrailingType($thoroughfareTrailingType) + { + $this->thoroughfareTrailingType = $thoroughfareTrailingType; + } + public function getThoroughfareTrailingType() + { + return $this->thoroughfareTrailingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php new file mode 100644 index 00000000..7de91ecc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoData.php @@ -0,0 +1,52 @@ +divisions = $divisions; + } + public function getDivisions() + { + return $this->divisions; + } + public function setOffices($offices) + { + $this->offices = $offices; + } + public function getOffices() + { + return $this->offices; + } + public function setOfficials($officials) + { + $this->officials = $officials; + } + public function getOfficials() + { + return $this->officials; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php new file mode 100644 index 00000000..2545dc80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoRequest.php @@ -0,0 +1,31 @@ +contextParams = $contextParams; + } + public function getContextParams() + { + return $this->contextParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php new file mode 100644 index 00000000..167415a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/RepresentativeInfoResponse.php @@ -0,0 +1,71 @@ +divisions = $divisions; + } + public function getDivisions() + { + return $this->divisions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) + { + $this->normalizedInput = $normalizedInput; + } + public function getNormalizedInput() + { + return $this->normalizedInput; + } + public function setOffices($offices) + { + $this->offices = $offices; + } + public function getOffices() + { + return $this->offices; + } + public function setOfficials($officials) + { + $this->officials = $officials; + } + public function getOfficials() + { + return $this->officials; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php new file mode 100644 index 00000000..9214d3ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Divisions.php @@ -0,0 +1,47 @@ + + * $civicinfoService = new Google_Service_CivicInfo(...); + * $divisions = $civicinfoService->divisions; + * + */ +class Google_Service_CivicInfo_Resource_Divisions extends Google_Service_Resource +{ + /** + * Searches for political divisions by their natural name or OCD ID. + * (divisions.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string query The search query. Queries can cover any parts of a + * OCD ID or a human readable division name. All words given in the query are + * treated as required patterns. In addition to that, most query operators of + * the Apache Lucene library are supported. See + * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html + * @return Google_Service_CivicInfo_DivisionSearchResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_CivicInfo_DivisionSearchResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php new file mode 100644 index 00000000..7498db32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Elections.php @@ -0,0 +1,64 @@ + + * $civicinfoService = new Google_Service_CivicInfo(...); + * $elections = $civicinfoService->elections; + * + */ +class Google_Service_CivicInfo_Resource_Elections extends Google_Service_Resource +{ + /** + * List of available elections to query. (elections.electionQuery) + * + * @param array $optParams Optional parameters. + * @return Google_Service_CivicInfo_ElectionsQueryResponse + */ + public function electionQuery($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('electionQuery', array($params), "Google_Service_CivicInfo_ElectionsQueryResponse"); + } + /** + * Looks up information relevant to a voter based on the voter's registered + * address. (elections.voterInfoQuery) + * + * @param string $address The registered address of the voter to look up. + * @param array $optParams Optional parameters. + * + * @opt_param string electionId The unique ID of the election to look up. A list + * of election IDs can be obtained at + * https://www.googleapis.com/civicinfo/{version}/elections + * @opt_param bool officialOnly If set to true, only data from official state + * sources will be returned. + * @opt_param bool returnAllAvailableData If set to true, the query will return + * the success codeand include any partial information when it is unable to + * determine a matching address or unable to determine the election for + * electionId=0 queries. + * @return Google_Service_CivicInfo_VoterInfoResponse + */ + public function voterInfoQuery($address, $optParams = array()) + { + $params = array('address' => $address); + $params = array_merge($params, $optParams); + return $this->call('voterInfoQuery', array($params), "Google_Service_CivicInfo_VoterInfoResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php new file mode 100644 index 00000000..73fab240 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Resource/Representatives.php @@ -0,0 +1,79 @@ + + * $civicinfoService = new Google_Service_CivicInfo(...); + * $representatives = $civicinfoService->representatives; + * + */ +class Google_Service_CivicInfo_Resource_Representatives extends Google_Service_Resource +{ + /** + * Looks up political geography and representative information for a single + * address. (representatives.representativeInfoByAddress) + * + * @param array $optParams Optional parameters. + * + * @opt_param string address The address to look up. May only be specified if + * the field ocdId is not given in the URL. + * @opt_param bool includeOffices Whether to return information about offices + * and officials. If false, only the top-level district information will be + * returned. + * @opt_param string levels A list of office levels to filter by. Only offices + * that serve at least one of these levels will be returned. Divisions that + * don't contain a matching office will not be returned. + * @opt_param string roles A list of office roles to filter by. Only offices + * fulfilling one of these roles will be returned. Divisions that don't contain + * a matching office will not be returned. + * @return Google_Service_CivicInfo_RepresentativeInfoResponse + */ + public function representativeInfoByAddress($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('representativeInfoByAddress', array($params), "Google_Service_CivicInfo_RepresentativeInfoResponse"); + } + /** + * Looks up representative information for a single geographic division. + * (representatives.representativeInfoByDivision) + * + * @param string $ocdId The Open Civic Data division identifier of the division + * to look up. + * @param array $optParams Optional parameters. + * + * @opt_param string levels A list of office levels to filter by. Only offices + * that serve at least one of these levels will be returned. Divisions that + * don't contain a matching office will not be returned. + * @opt_param bool recursive If true, information about all divisions contained + * in the division requested will be included as well. For example, if querying + * ocd-division/country:us/district:dc, this would also return all DC's wards + * and ANCs. + * @opt_param string roles A list of office roles to filter by. Only offices + * fulfilling one of these roles will be returned. Divisions that don't contain + * a matching office will not be returned. + * @return Google_Service_CivicInfo_RepresentativeInfoData + */ + public function representativeInfoByDivision($ocdId, $optParams = array()) + { + $params = array('ocdId' => $ocdId); + $params = array_merge($params, $optParams); + return $this->call('representativeInfoByDivision', array($params), "Google_Service_CivicInfo_RepresentativeInfoData"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php new file mode 100644 index 00000000..7b01fd7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/SimpleAddressType.php @@ -0,0 +1,84 @@ +city = $city; + } + public function getCity() + { + return $this->city; + } + public function setLine1($line1) + { + $this->line1 = $line1; + } + public function getLine1() + { + return $this->line1; + } + public function setLine2($line2) + { + $this->line2 = $line2; + } + public function getLine2() + { + return $this->line2; + } + public function setLine3($line3) + { + $this->line3 = $line3; + } + public function getLine3() + { + return $this->line3; + } + public function setLocationName($locationName) + { + $this->locationName = $locationName; + } + public function getLocationName() + { + return $this->locationName; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setZip($zip) + { + $this->zip = $zip; + } + public function getZip() + { + return $this->zip; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php new file mode 100644 index 00000000..a183a726 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/Source.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficial($official) + { + $this->official = $official; + } + public function getOfficial() + { + return $this->official; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php new file mode 100644 index 00000000..8f6ced1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoRequest.php @@ -0,0 +1,41 @@ +contextParams = $contextParams; + } + public function getContextParams() + { + return $this->contextParams; + } + public function setVoterInfoSegmentResult(Google_Service_CivicInfo_VoterInfoSegmentResult $voterInfoSegmentResult) + { + $this->voterInfoSegmentResult = $voterInfoSegmentResult; + } + public function getVoterInfoSegmentResult() + { + return $this->voterInfoSegmentResult; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php new file mode 100644 index 00000000..e3f53709 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoResponse.php @@ -0,0 +1,129 @@ +contests = $contests; + } + public function getContests() + { + return $this->contests; + } + public function setDropOffLocations($dropOffLocations) + { + $this->dropOffLocations = $dropOffLocations; + } + public function getDropOffLocations() + { + return $this->dropOffLocations; + } + public function setEarlyVoteSites($earlyVoteSites) + { + $this->earlyVoteSites = $earlyVoteSites; + } + public function getEarlyVoteSites() + { + return $this->earlyVoteSites; + } + public function setElection(Google_Service_CivicInfo_Election $election) + { + $this->election = $election; + } + public function getElection() + { + return $this->election; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMailOnly($mailOnly) + { + $this->mailOnly = $mailOnly; + } + public function getMailOnly() + { + return $this->mailOnly; + } + public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) + { + $this->normalizedInput = $normalizedInput; + } + public function getNormalizedInput() + { + return $this->normalizedInput; + } + public function setOtherElections($otherElections) + { + $this->otherElections = $otherElections; + } + public function getOtherElections() + { + return $this->otherElections; + } + public function setPollingLocations($pollingLocations) + { + $this->pollingLocations = $pollingLocations; + } + public function getPollingLocations() + { + return $this->pollingLocations; + } + public function setPrecinctId($precinctId) + { + $this->precinctId = $precinctId; + } + public function getPrecinctId() + { + return $this->precinctId; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php new file mode 100644 index 00000000..6feceab9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CivicInfo/VoterInfoSegmentResult.php @@ -0,0 +1,60 @@ +generatedMillis = $generatedMillis; + } + public function getGeneratedMillis() + { + return $this->generatedMillis; + } + public function setPostalAddress(Google_Service_CivicInfo_PostalAddress $postalAddress) + { + $this->postalAddress = $postalAddress; + } + public function getPostalAddress() + { + return $this->postalAddress; + } + public function setRequest(Google_Service_CivicInfo_VoterInfoRequest $request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setResponse(Google_Service_CivicInfo_VoterInfoResponse $response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php new file mode 100644 index 00000000..acf8a1ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom.php @@ -0,0 +1,869 @@ + + * Manages classes, rosters, and invitations in Google Classroom.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Classroom extends Google_Service +{ + /** View instructions for teacher-assigned work in your Google Classroom classes. */ + const CLASSROOM_COURSE_WORK_READONLY = + "https://www.googleapis.com/auth/classroom.course-work.readonly"; + /** Manage your Google Classroom classes. */ + const CLASSROOM_COURSES = + "https://www.googleapis.com/auth/classroom.courses"; + /** View your Google Classroom classes. */ + const CLASSROOM_COURSES_READONLY = + "https://www.googleapis.com/auth/classroom.courses.readonly"; + /** Manage your course work and view your grades in Google Classroom. */ + const CLASSROOM_COURSEWORK_ME = + "https://www.googleapis.com/auth/classroom.coursework.me"; + /** View your course work and grades in Google Classroom. */ + const CLASSROOM_COURSEWORK_ME_READONLY = + "https://www.googleapis.com/auth/classroom.coursework.me.readonly"; + /** Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer. */ + const CLASSROOM_COURSEWORK_STUDENTS = + "https://www.googleapis.com/auth/classroom.coursework.students"; + /** View course work and grades for students in the Google Classroom classes you teach or administer. */ + const CLASSROOM_COURSEWORK_STUDENTS_READONLY = + "https://www.googleapis.com/auth/classroom.coursework.students.readonly"; + /** View the email addresses of people in your classes. */ + const CLASSROOM_PROFILE_EMAILS = + "https://www.googleapis.com/auth/classroom.profile.emails"; + /** View the profile photos of people in your classes. */ + const CLASSROOM_PROFILE_PHOTOS = + "https://www.googleapis.com/auth/classroom.profile.photos"; + /** Manage your Google Classroom class rosters. */ + const CLASSROOM_ROSTERS = + "https://www.googleapis.com/auth/classroom.rosters"; + /** View your Google Classroom class rosters. */ + const CLASSROOM_ROSTERS_READONLY = + "https://www.googleapis.com/auth/classroom.rosters.readonly"; + /** View your course work and grades in Google Classroom. */ + const CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = + "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly"; + /** View course work and grades for students in the Google Classroom classes you teach or administer. */ + const CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = + "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"; + + public $courses; + public $courses_aliases; + public $courses_courseWork; + public $courses_courseWork_studentSubmissions; + public $courses_students; + public $courses_teachers; + public $invitations; + public $userProfiles; + public $userProfiles_guardianInvitations; + public $userProfiles_guardians; + + /** + * Constructs the internal representation of the Classroom service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://classroom.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'classroom'; + + $this->courses = new Google_Service_Classroom_Resource_Courses( + $this, + $this->serviceName, + 'courses', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'studentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'teacherId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'courseStates' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->courses_aliases = new Google_Service_Classroom_Resource_CoursesAliases( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->courses_courseWork = new Google_Service_Classroom_Resource_CoursesCourseWork( + $this, + $this->serviceName, + 'courseWork', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/courseWork', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/courseWork', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkStates' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->courses_courseWork_studentSubmissions = new Google_Service_Classroom_Resource_CoursesCourseWorkStudentSubmissions( + $this, + $this->serviceName, + 'studentSubmissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'states' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'late' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modifyAttachments' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reclaim' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'return' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'turnIn' => array( + 'path' => 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'courseWorkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->courses_students = new Google_Service_Classroom_Resource_CoursesStudents( + $this, + $this->serviceName, + 'students', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/students', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'enrollmentCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/students/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{courseId}/students/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/students', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->courses_teachers = new Google_Service_Classroom_Resource_CoursesTeachers( + $this, + $this->serviceName, + 'teachers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/teachers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/teachers/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{courseId}/teachers/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/teachers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->invitations = new Google_Service_Classroom_Resource_Invitations( + $this, + $this->serviceName, + 'invitations', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'v1/invitations/{id}:accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/invitations', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/invitations/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/invitations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/invitations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'courseId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->userProfiles = new Google_Service_Classroom_Resource_UserProfiles( + $this, + $this->serviceName, + 'userProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/userProfiles/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->userProfiles_guardianInvitations = new Google_Service_Classroom_Resource_UserProfilesGuardianInvitations( + $this, + $this->serviceName, + 'guardianInvitations', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/userProfiles/{studentId}/guardianInvitations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'invitationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/userProfiles/{studentId}/guardianInvitations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'invitedEmailAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'states' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'invitationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->userProfiles_guardians = new Google_Service_Classroom_Resource_UserProfilesGuardians( + $this, + $this->serviceName, + 'guardians', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1/userProfiles/{studentId}/guardians/{guardianId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'guardianId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/userProfiles/{studentId}/guardians/{guardianId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'guardianId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/userProfiles/{studentId}/guardians', + 'httpMethod' => 'GET', + 'parameters' => array( + 'studentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'invitedEmailAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php new file mode 100644 index 00000000..b90d744f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Assignment.php @@ -0,0 +1,31 @@ +studentWorkFolder = $studentWorkFolder; + } + public function getStudentWorkFolder() + { + return $this->studentWorkFolder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php new file mode 100644 index 00000000..149aa4ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/AssignmentSubmission.php @@ -0,0 +1,32 @@ +attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php new file mode 100644 index 00000000..5fe96664 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Attachment.php @@ -0,0 +1,61 @@ +driveFile = $driveFile; + } + public function getDriveFile() + { + return $this->driveFile; + } + public function setForm(Google_Service_Classroom_Form $form) + { + $this->form = $form; + } + public function getForm() + { + return $this->form; + } + public function setLink(Google_Service_Classroom_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setYouTubeVideo(Google_Service_Classroom_YouTubeVideo $youTubeVideo) + { + $this->youTubeVideo = $youTubeVideo; + } + public function getYouTubeVideo() + { + return $this->youTubeVideo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php new file mode 100644 index 00000000..24a85010 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ClassroomEmpty.php @@ -0,0 +1,20 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setCourseGroupEmail($courseGroupEmail) + { + $this->courseGroupEmail = $courseGroupEmail; + } + public function getCourseGroupEmail() + { + return $this->courseGroupEmail; + } + public function setCourseMaterialSets($courseMaterialSets) + { + $this->courseMaterialSets = $courseMaterialSets; + } + public function getCourseMaterialSets() + { + return $this->courseMaterialSets; + } + public function setCourseState($courseState) + { + $this->courseState = $courseState; + } + public function getCourseState() + { + return $this->courseState; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDescriptionHeading($descriptionHeading) + { + $this->descriptionHeading = $descriptionHeading; + } + public function getDescriptionHeading() + { + return $this->descriptionHeading; + } + public function setEnrollmentCode($enrollmentCode) + { + $this->enrollmentCode = $enrollmentCode; + } + public function getEnrollmentCode() + { + return $this->enrollmentCode; + } + public function setGuardiansEnabled($guardiansEnabled) + { + $this->guardiansEnabled = $guardiansEnabled; + } + public function getGuardiansEnabled() + { + return $this->guardiansEnabled; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwnerId($ownerId) + { + $this->ownerId = $ownerId; + } + public function getOwnerId() + { + return $this->ownerId; + } + public function setRoom($room) + { + $this->room = $room; + } + public function getRoom() + { + return $this->room; + } + public function setSection($section) + { + $this->section = $section; + } + public function getSection() + { + return $this->section; + } + public function setTeacherFolder(Google_Service_Classroom_DriveFolder $teacherFolder) + { + $this->teacherFolder = $teacherFolder; + } + public function getTeacherFolder() + { + return $this->teacherFolder; + } + public function setTeacherGroupEmail($teacherGroupEmail) + { + $this->teacherGroupEmail = $teacherGroupEmail; + } + public function getTeacherGroupEmail() + { + return $this->teacherGroupEmail; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php new file mode 100644 index 00000000..47d27a87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseAlias.php @@ -0,0 +1,30 @@ +alias = $alias; + } + public function getAlias() + { + return $this->alias; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php new file mode 100644 index 00000000..66362fe5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterial.php @@ -0,0 +1,61 @@ +driveFile = $driveFile; + } + public function getDriveFile() + { + return $this->driveFile; + } + public function setForm(Google_Service_Classroom_Form $form) + { + $this->form = $form; + } + public function getForm() + { + return $this->form; + } + public function setLink(Google_Service_Classroom_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setYouTubeVideo(Google_Service_Classroom_YouTubeVideo $youTubeVideo) + { + $this->youTubeVideo = $youTubeVideo; + } + public function getYouTubeVideo() + { + return $this->youTubeVideo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php new file mode 100644 index 00000000..81d7ac76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseMaterialSet.php @@ -0,0 +1,41 @@ +materials = $materials; + } + public function getMaterials() + { + return $this->materials; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php new file mode 100644 index 00000000..d6f79c14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/CourseWork.php @@ -0,0 +1,180 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setAssignment(Google_Service_Classroom_Assignment $assignment) + { + $this->assignment = $assignment; + } + public function getAssignment() + { + return $this->assignment; + } + public function setAssociatedWithDeveloper($associatedWithDeveloper) + { + $this->associatedWithDeveloper = $associatedWithDeveloper; + } + public function getAssociatedWithDeveloper() + { + return $this->associatedWithDeveloper; + } + public function setCourseId($courseId) + { + $this->courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDueDate(Google_Service_Classroom_Date $dueDate) + { + $this->dueDate = $dueDate; + } + public function getDueDate() + { + return $this->dueDate; + } + public function setDueTime(Google_Service_Classroom_TimeOfDay $dueTime) + { + $this->dueTime = $dueTime; + } + public function getDueTime() + { + return $this->dueTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMaterials($materials) + { + $this->materials = $materials; + } + public function getMaterials() + { + return $this->materials; + } + public function setMaxPoints($maxPoints) + { + $this->maxPoints = $maxPoints; + } + public function getMaxPoints() + { + return $this->maxPoints; + } + public function setMultipleChoiceQuestion(Google_Service_Classroom_MultipleChoiceQuestion $multipleChoiceQuestion) + { + $this->multipleChoiceQuestion = $multipleChoiceQuestion; + } + public function getMultipleChoiceQuestion() + { + return $this->multipleChoiceQuestion; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSubmissionModificationMode($submissionModificationMode) + { + $this->submissionModificationMode = $submissionModificationMode; + } + public function getSubmissionModificationMode() + { + return $this->submissionModificationMode; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + public function setWorkType($workType) + { + $this->workType = $workType; + } + public function getWorkType() + { + return $this->workType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php new file mode 100644 index 00000000..e9872a83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php new file mode 100644 index 00000000..19303dc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFile.php @@ -0,0 +1,57 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setThumbnailUrl($thumbnailUrl) + { + $this->thumbnailUrl = $thumbnailUrl; + } + public function getThumbnailUrl() + { + return $this->thumbnailUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php new file mode 100644 index 00000000..8da31945 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/DriveFolder.php @@ -0,0 +1,48 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php new file mode 100644 index 00000000..8d942a0e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Form.php @@ -0,0 +1,57 @@ +formUrl = $formUrl; + } + public function getFormUrl() + { + return $this->formUrl; + } + public function setResponseUrl($responseUrl) + { + $this->responseUrl = $responseUrl; + } + public function getResponseUrl() + { + return $this->responseUrl; + } + public function setThumbnailUrl($thumbnailUrl) + { + $this->thumbnailUrl = $thumbnailUrl; + } + public function getThumbnailUrl() + { + return $this->thumbnailUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php new file mode 100644 index 00000000..6ac872bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GlobalPermission.php @@ -0,0 +1,30 @@ +permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php new file mode 100644 index 00000000..b6da5951 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Guardian.php @@ -0,0 +1,58 @@ +guardianId = $guardianId; + } + public function getGuardianId() + { + return $this->guardianId; + } + public function setGuardianProfile(Google_Service_Classroom_UserProfile $guardianProfile) + { + $this->guardianProfile = $guardianProfile; + } + public function getGuardianProfile() + { + return $this->guardianProfile; + } + public function setInvitedEmailAddress($invitedEmailAddress) + { + $this->invitedEmailAddress = $invitedEmailAddress; + } + public function getInvitedEmailAddress() + { + return $this->invitedEmailAddress; + } + public function setStudentId($studentId) + { + $this->studentId = $studentId; + } + public function getStudentId() + { + return $this->studentId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php new file mode 100644 index 00000000..390dee3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/GuardianInvitation.php @@ -0,0 +1,66 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setInvitationId($invitationId) + { + $this->invitationId = $invitationId; + } + public function getInvitationId() + { + return $this->invitationId; + } + public function setInvitedEmailAddress($invitedEmailAddress) + { + $this->invitedEmailAddress = $invitedEmailAddress; + } + public function getInvitedEmailAddress() + { + return $this->invitedEmailAddress; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStudentId($studentId) + { + $this->studentId = $studentId; + } + public function getStudentId() + { + return $this->studentId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php new file mode 100644 index 00000000..298bf05e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Invitation.php @@ -0,0 +1,57 @@ +courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php new file mode 100644 index 00000000..89ca037a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Link.php @@ -0,0 +1,48 @@ +thumbnailUrl = $thumbnailUrl; + } + public function getThumbnailUrl() + { + return $this->thumbnailUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php new file mode 100644 index 00000000..c04e6e4c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseAliasesResponse.php @@ -0,0 +1,41 @@ +aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php new file mode 100644 index 00000000..dea448d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCourseWorkResponse.php @@ -0,0 +1,41 @@ +courseWork = $courseWork; + } + public function getCourseWork() + { + return $this->courseWork; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php new file mode 100644 index 00000000..d48ed59b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListCoursesResponse.php @@ -0,0 +1,41 @@ +courses = $courses; + } + public function getCourses() + { + return $this->courses; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php new file mode 100644 index 00000000..6454931c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardianInvitationsResponse.php @@ -0,0 +1,41 @@ +guardianInvitations = $guardianInvitations; + } + public function getGuardianInvitations() + { + return $this->guardianInvitations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php new file mode 100644 index 00000000..4183d5e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListGuardiansResponse.php @@ -0,0 +1,41 @@ +guardians = $guardians; + } + public function getGuardians() + { + return $this->guardians; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php new file mode 100644 index 00000000..0e85390b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListInvitationsResponse.php @@ -0,0 +1,41 @@ +invitations = $invitations; + } + public function getInvitations() + { + return $this->invitations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php new file mode 100644 index 00000000..7b052d51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentSubmissionsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStudentSubmissions($studentSubmissions) + { + $this->studentSubmissions = $studentSubmissions; + } + public function getStudentSubmissions() + { + return $this->studentSubmissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php new file mode 100644 index 00000000..516a0d11 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListStudentsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStudents($students) + { + $this->students = $students; + } + public function getStudents() + { + return $this->students; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php new file mode 100644 index 00000000..ccfbdcd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ListTeachersResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTeachers($teachers) + { + $this->teachers = $teachers; + } + public function getTeachers() + { + return $this->teachers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php new file mode 100644 index 00000000..6f79c4ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Material.php @@ -0,0 +1,61 @@ +driveFile = $driveFile; + } + public function getDriveFile() + { + return $this->driveFile; + } + public function setForm(Google_Service_Classroom_Form $form) + { + $this->form = $form; + } + public function getForm() + { + return $this->form; + } + public function setLink(Google_Service_Classroom_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setYoutubeVideo(Google_Service_Classroom_YouTubeVideo $youtubeVideo) + { + $this->youtubeVideo = $youtubeVideo; + } + public function getYoutubeVideo() + { + return $this->youtubeVideo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php new file mode 100644 index 00000000..02afca76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ModifyAttachmentsRequest.php @@ -0,0 +1,32 @@ +addAttachments = $addAttachments; + } + public function getAddAttachments() + { + return $this->addAttachments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php new file mode 100644 index 00000000..623e096d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceQuestion.php @@ -0,0 +1,31 @@ +choices = $choices; + } + public function getChoices() + { + return $this->choices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php new file mode 100644 index 00000000..9e4bb806 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/MultipleChoiceSubmission.php @@ -0,0 +1,30 @@ +answer = $answer; + } + public function getAnswer() + { + return $this->answer; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php new file mode 100644 index 00000000..d0cf628a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Name.php @@ -0,0 +1,48 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php new file mode 100644 index 00000000..7b06c874 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReclaimStudentSubmissionRequest.php @@ -0,0 +1,20 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $courses = $classroomService->courses; + * + */ +class Google_Service_Classroom_Resource_Courses extends Google_Service_Resource +{ + /** + * Creates a course. The user specified in `ownerId` is the owner of the created + * course and added as a teacher. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * courses or for access errors. * `NOT_FOUND` if the primary teacher is not a + * valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled + * or for the following request errors: * UserGroupsMembershipLimitReached * + * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists. + * (courses.create) + * + * @param Google_Service_Classroom_Course $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function create(Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Course"); + } + /** + * Deletes a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested course or for access errors. * `NOT_FOUND` if no course exists with + * the requested ID. (courses.delete) + * + * @param string $id Identifier of the course to delete. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or for access errors. * `NOT_FOUND` if no course exists with + * the requested ID. (courses.get) + * + * @param string $id Identifier of the course to return. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Course"); + } + /** + * Returns a list of courses that the requesting user is permitted to view, + * restricted to those that match the request. This method returns the following + * error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if + * the query argument is malformed. * `NOT_FOUND` if any users specified in the + * query arguments do not exist. (courses.listCourses) + * + * @param array $optParams Optional parameters. + * + * @opt_param string studentId Restricts returned courses to those having a + * student with the specified identifier. The identifier can be one of the + * following: * the numeric identifier for the user * the email address of the + * user * the string literal `"me"`, indicating the requesting user + * @opt_param string teacherId Restricts returned courses to those having a + * teacher with the specified identifier. The identifier can be one of the + * following: * the numeric identifier for the user * the email address of the + * user * the string literal `"me"`, indicating the requesting user + * @opt_param string courseStates Restricts returned courses to those in one of + * the specified states + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListCoursesResponse + */ + public function listCourses($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListCoursesResponse"); + } + /** + * Updates one or more fields in a course. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * modify the requested course or for access errors. * `NOT_FOUND` if no course + * exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are + * specified in the update mask or if no update mask is supplied. * + * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable + * (courses.patch) + * + * @param string $id Identifier of the course to update. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_Course $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Mask that identifies which fields on the course + * to update. This field is required to do an update. The update will fail if + * invalid fields are specified. The following fields are valid: * `name` * + * `section` * `descriptionHeading` * `description` * `room` * `courseState` + * When set in a query parameter, this field should be specified as + * `updateMask=,,...` + * @return Google_Service_Classroom_Course + */ + public function patch($id, Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Classroom_Course"); + } + /** + * Updates a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for access errors. * `NOT_FOUND` if no course exists with + * the requested ID. * `FAILED_PRECONDITION` for the following request errors: * + * CourseNotModifiable (courses.update) + * + * @param string $id Identifier of the course to update. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_Course $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function update($id, Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Classroom_Course"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php new file mode 100644 index 00000000..8ee78852 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesAliases.php @@ -0,0 +1,91 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $aliases = $classroomService->aliases; + * + */ +class Google_Service_Classroom_Resource_CoursesAliases extends Google_Service_Resource +{ + /** + * Creates an alias for a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create the + * alias or for access errors. * `NOT_FOUND` if the course does not exist. * + * `ALREADY_EXISTS` if the alias already exists. (aliases.create) + * + * @param string $courseId Identifier of the course to alias. This identifier + * can be either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_CourseAlias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_CourseAlias + */ + public function create($courseId, Google_Service_Classroom_CourseAlias $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_CourseAlias"); + } + /** + * Deletes an alias of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the + * alias or for access errors. * `NOT_FOUND` if the alias does not exist. + * (aliases.delete) + * + * @param string $courseId Identifier of the course whose alias should be + * deleted. This identifier can be either the Classroom-assigned identifier or + * an alias. + * @param string $alias Alias to delete. This may not be the Classroom-assigned + * identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($courseId, $alias, $optParams = array()) + { + $params = array('courseId' => $courseId, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a list of aliases for a course. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the course or for access errors. * `NOT_FOUND` if the course does not + * exist. (aliases.listCoursesAliases) + * + * @param string $courseId The identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListCourseAliasesResponse + */ + public function listCoursesAliases($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListCourseAliasesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php new file mode 100644 index 00000000..a212dbc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWork.php @@ -0,0 +1,170 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $courseWork = $classroomService->courseWork; + * + */ +class Google_Service_Classroom_Resource_CoursesCourseWork extends Google_Service_Resource +{ + /** + * Creates course work. The resulting course work (and corresponding student + * submissions) are associated with the Developer Console project of the [OAuth + * client ID](https://support.google.com/cloud/answer/6158849) used to make the + * request. Classroom API requests to modify course work and student submissions + * must be made with an OAuth client ID from the associated Developer Console + * project. This method returns the following error codes: * `PERMISSION_DENIED` + * if the requesting user is not permitted to access the requested course, + * create course work in the requested course, share a Drive attachment, or for + * access errors. * `INVALID_ARGUMENT` if the request is malformed. * + * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` + * for the following request error: * AttachmentNotVisible (courseWork.create) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_CourseWork $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_CourseWork + */ + public function create($courseId, Google_Service_Classroom_CourseWork $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_CourseWork"); + } + /** + * Deletes a course work. This request must be made by the Developer Console + * project of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding course work item. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting developer project did not + * create the corresponding course work, if the requesting user is not permitted + * to delete the requested course or for access errors. * `FAILED_PRECONDITION` + * if the requested course work has already been deleted. * `NOT_FOUND` if no + * course exists with the requested ID. (courseWork.delete) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $id Identifier of the course work to delete. This identifier is + * a Classroom-assigned identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($courseId, $id, $optParams = array()) + { + $params = array('courseId' => $courseId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns course work. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, or for access errors. * `INVALID_ARGUMENT` + * if the request is malformed. * `NOT_FOUND` if the requested course or course + * work does not exist. (courseWork.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $id Identifier of the course work. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_CourseWork + */ + public function get($courseId, $id, $optParams = array()) + { + $params = array('courseId' => $courseId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_CourseWork"); + } + /** + * Returns a list of course work that the requester is permitted to view. Course + * students may only view `PUBLISHED` course work. Course teachers and domain + * administrators may view all course work. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the requested course or for access errors. * `INVALID_ARGUMENT` if the + * request is malformed. * `NOT_FOUND` if the requested course does not exist. + * (courseWork.listCoursesCourseWork) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * + * @opt_param string courseWorkStates Restriction on the work status to return. + * Only courseWork that matches is returned. If unspecified, items with a work + * status of `PUBLISHED` is returned. + * @opt_param string orderBy Optional sort ordering for results. A comma- + * separated list of fields with an optional sort direction keyword. Supported + * fields are `updateTime` and `dueDate`. Supported direction keywords are `asc` + * and `desc`. If not specified, `updateTime desc` is the default behavior. + * Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc` + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListCourseWorkResponse + */ + public function listCoursesCourseWork($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListCourseWorkResponse"); + } + /** + * Updates one or more fields of a course work. See + * google.classroom.v1.CourseWork for details of which fields may be updated and + * who may change them. This request must be made by the Developer Console + * project of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding course work item. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting developer project did not + * create the corresponding course work, if the user is not permitted to make + * the requested modification to the student submission, or for access errors. * + * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if + * the requested course work has already been deleted. * `NOT_FOUND` if the + * requested course, course work, or student submission does not exist. + * (courseWork.patch) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $id Identifier of the course work. + * @param Google_Service_Classroom_CourseWork $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Mask that identifies which fields on the course + * work to update. This field is required to do an update. The update fails if + * invalid fields are specified. If a field supports empty values, it can be + * cleared by specifying it in the update mask and not in the CourseWork object. + * If a field that does not support empty values is included in the update mask + * and not set in the CourseWork object, an `INVALID_ARGUMENT` error will be + * returned. The following fields may be specified by teachers: * `title` * + * `description` * `state` * `due_date` * `due_time` * `max_points` * + * `submission_modification_mode` + * @return Google_Service_Classroom_CourseWork + */ + public function patch($courseId, $id, Google_Service_Classroom_CourseWork $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Classroom_CourseWork"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php new file mode 100644 index 00000000..8e0b3d21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php @@ -0,0 +1,240 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $studentSubmissions = $classroomService->studentSubmissions; + * + */ +class Google_Service_Classroom_Resource_CoursesCourseWorkStudentSubmissions extends Google_Service_Resource +{ + /** + * Returns a student submission. * `PERMISSION_DENIED` if the requesting user is + * not permitted to access the requested course, course work, or student + * submission or for access errors. * `INVALID_ARGUMENT` if the request is + * malformed. * `NOT_FOUND` if the requested course, course work, or student + * submission does not exist. (studentSubmissions.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_StudentSubmission + */ + public function get($courseId, $courseWorkId, $id, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_StudentSubmission"); + } + /** + * Returns a list of student submissions that the requester is permitted to + * view, factoring in the OAuth scopes of the request. `-` may be specified as + * the `course_work_id` to include student submissions for multiple course work + * items. Course students may only view their own work. Course teachers and + * domain administrators may view all student submissions. This method returns + * the following error codes: * `PERMISSION_DENIED` if the requesting user is + * not permitted to access the requested course or course work, or for access + * errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if + * the requested course does not exist. + * (studentSubmissions.listCoursesCourseWorkStudentSubmissions) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifer of the student work to request. This + * may be set to the string literal `"-"` to request student work for all course + * work in the specified course. + * @param array $optParams Optional parameters. + * + * @opt_param string userId Optional argument to restrict returned student work + * to those owned by the student with the specified identifier. The identifier + * can be one of the following: * the numeric identifier for the user * the + * email address of the user * the string literal `"me"`, indicating the + * requesting user + * @opt_param string states Requested submission states. If specified, returned + * student submissions match one of the specified submission states. + * @opt_param string late Requested lateness value. If specified, returned + * student submissions are restricted by the requested value. If unspecified, + * submissions are returned regardless of `late` value. + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListStudentSubmissionsResponse + */ + public function listCoursesCourseWorkStudentSubmissions($courseId, $courseWorkId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListStudentSubmissionsResponse"); + } + /** + * Modifies attachments of student submission. Attachments may only be added to + * student submissions belonging to course work objects with a `workType` of + * `ASSIGNMENT`. This request must be made by the Developer Console project of + * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used + * to create the corresponding course work item. This method returns the + * following error codes: * `PERMISSION_DENIED` if the requesting user is not + * permitted to access the requested course or course work, if the user is not + * permitted to modify attachments on the requested student submission, or for + * access errors. * `INVALID_ARGUMENT` if the request is malformed. * + * `NOT_FOUND` if the requested course, course work, or student submission does + * not exist. (studentSubmissions.modifyAttachments) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param Google_Service_Classroom_ModifyAttachmentsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_StudentSubmission + */ + public function modifyAttachments($courseId, $courseWorkId, $id, Google_Service_Classroom_ModifyAttachmentsRequest $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modifyAttachments', array($params), "Google_Service_Classroom_StudentSubmission"); + } + /** + * Updates one or more fields of a student submission. See + * google.classroom.v1.StudentSubmission for details of which fields may be + * updated and who may change them. This request must be made by the Developer + * Console project of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding course work item. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting developer project did not + * create the corresponding course work, if the user is not permitted to make + * the requested modification to the student submission, or for access errors. * + * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the + * requested course, course work, or student submission does not exist. + * (studentSubmissions.patch) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param Google_Service_Classroom_StudentSubmission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Mask that identifies which fields on the student + * submission to update. This field is required to do an update. The update + * fails if invalid fields are specified. The following fields may be specified + * by teachers: * `draft_grade` * `assigned_grade` + * @return Google_Service_Classroom_StudentSubmission + */ + public function patch($courseId, $courseWorkId, $id, Google_Service_Classroom_StudentSubmission $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Classroom_StudentSubmission"); + } + /** + * Reclaims a student submission on behalf of the student that owns it. + * Reclaiming a student submission transfers ownership of attached Drive files + * to the student and update the submission state. Only the student that owns + * the requested student submission may call this method, and only for a student + * submission that has been turned in. This request must be made by the + * Developer Console project of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding course work item. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the requested course or course work, unsubmit the requested student + * submission, or for access errors. * `FAILED_PRECONDITION` if the student + * submission has not been turned in. * `INVALID_ARGUMENT` if the request is + * malformed. * `NOT_FOUND` if the requested course, course work, or student + * submission does not exist. (studentSubmissions.reclaim) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param Google_Service_Classroom_ReclaimStudentSubmissionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function reclaim($courseId, $courseWorkId, $id, Google_Service_Classroom_ReclaimStudentSubmissionRequest $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reclaim', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a student submission. Returning a student submission transfers + * ownership of attached Drive files to the student and may also update the + * submission state. Unlike the Classroom application, returning a student + * submission does not set assignedGrade to the draftGrade value. Only a teacher + * of the course that contains the requested student submission may call this + * method. This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the requested course or course work, return the requested student + * submission, or for access errors. * `INVALID_ARGUMENT` if the request is + * malformed. * `NOT_FOUND` if the requested course, course work, or student + * submission does not exist. + * (studentSubmissions.returnCoursesCourseWorkStudentSubmissions) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param Google_Service_Classroom_ReturnStudentSubmissionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function returnCoursesCourseWorkStudentSubmissions($courseId, $courseWorkId, $id, Google_Service_Classroom_ReturnStudentSubmissionRequest $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('return', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Turns in a student submission. Turning in a student submission transfers + * ownership of attached Drive files to the teacher and may also update the + * submission state. This may only be called by the student that owns the + * specified student submission. This request must be made by the Developer + * Console project of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding course work item. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the requested course or course work, turn in the requested student + * submission, or for access errors. * `INVALID_ARGUMENT` if the request is + * malformed. * `NOT_FOUND` if the requested course, course work, or student + * submission does not exist. (studentSubmissions.turnIn) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $courseWorkId Identifier of the course work. + * @param string $id Identifier of the student submission. + * @param Google_Service_Classroom_TurnInStudentSubmissionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function turnIn($courseId, $courseWorkId, $id, Google_Service_Classroom_TurnInStudentSubmissionRequest $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'courseWorkId' => $courseWorkId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('turnIn', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php new file mode 100644 index 00000000..2f6855cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesStudents.php @@ -0,0 +1,123 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $students = $classroomService->students; + * + */ +class Google_Service_Classroom_Resource_CoursesStudents extends Google_Service_Resource +{ + /** + * Adds a user as a student of a course. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * create students in this course or for access errors. * `NOT_FOUND` if the + * requested course ID does not exist. * `FAILED_PRECONDITION` if the requested + * user's account is disabled, for the following request errors: * + * CourseMemberLimitReached * CourseNotModifiable * + * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a + * student or teacher in the course. (students.create) + * + * @param string $courseId Identifier of the course to create the student in. + * This identifier can be either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_Student $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string enrollmentCode Enrollment code of the course to create the + * student in. This code is required if userId corresponds to the requesting + * user; it may be omitted if the requesting user has administrative permissions + * to create students for any user. + * @return Google_Service_Classroom_Student + */ + public function create($courseId, Google_Service_Classroom_Student $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Student"); + } + /** + * Deletes a student of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * students of this course or for access errors. * `NOT_FOUND` if no student of + * this course has the requested ID or if the course does not exist. + * (students.delete) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $userId Identifier of the student to delete. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a student of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * students of this course or for access errors. * `NOT_FOUND` if no student of + * this course has the requested ID or if the course does not exist. + * (students.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $userId Identifier of the student to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Student + */ + public function get($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Student"); + } + /** + * Returns a list of students of this course that the requester is permitted to + * view. This method returns the following error codes: * `NOT_FOUND` if the + * course does not exist. * `PERMISSION_DENIED` for access errors. + * (students.listCoursesStudents) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListStudentsResponse + */ + public function listCoursesStudents($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListStudentsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php new file mode 100644 index 00000000..881a74b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/CoursesTeachers.php @@ -0,0 +1,119 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $teachers = $classroomService->teachers; + * + */ +class Google_Service_Classroom_Resource_CoursesTeachers extends Google_Service_Resource +{ + /** + * Creates a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * teachers in this course or for access errors. * `NOT_FOUND` if the requested + * course ID does not exist. * `FAILED_PRECONDITION` if the requested user's + * account is disabled, for the following request errors: * + * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * + * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a + * teacher or student in the course. (teachers.create) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param Google_Service_Classroom_Teacher $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Teacher + */ + public function create($courseId, Google_Service_Classroom_Teacher $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Teacher"); + } + /** + * Deletes a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * teachers of this course or for access errors. * `NOT_FOUND` if no teacher of + * this course has the requested ID or if the course does not exist. * + * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of + * this course. (teachers.delete) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $userId Identifier of the teacher to delete. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * teachers of this course or for access errors. * `NOT_FOUND` if no teacher of + * this course has the requested ID or if the course does not exist. + * (teachers.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param string $userId Identifier of the teacher to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Teacher + */ + public function get($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Teacher"); + } + /** + * Returns a list of teachers of this course that the requester is permitted to + * view. This method returns the following error codes: * `NOT_FOUND` if the + * course does not exist. * `PERMISSION_DENIED` for access errors. + * (teachers.listCoursesTeachers) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an alias. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListTeachersResponse + */ + public function listCoursesTeachers($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListTeachersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php new file mode 100644 index 00000000..6c946833 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/Invitations.php @@ -0,0 +1,131 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $invitations = $classroomService->invitations; + * + */ +class Google_Service_Classroom_Resource_Invitations extends Google_Service_Resource +{ + /** + * Accepts an invitation, removing it and adding the invited user to the + * teachers or students (as appropriate) of the specified course. Only the + * invited user may accept an invitation. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * accept the requested invitation or for access errors. * `FAILED_PRECONDITION` + * for the following request errors: * CourseMemberLimitReached * + * CourseNotModifiable * CourseTeacherLimitReached * + * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with + * the requested ID. (invitations.accept) + * + * @param string $id Identifier of the invitation to accept. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function accept($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Creates an invitation. Only one invitation for a user and course may exist at + * a time. Delete and re-create an invitation to make changes. This method + * returns the following error codes: * `PERMISSION_DENIED` if the requesting + * user is not permitted to create invitations for this course or for access + * errors. * `NOT_FOUND` if the course or the user does not exist. * + * `FAILED_PRECONDITION` if the requested user's account is disabled or if the + * user already has this role or a role with greater permissions. * + * `ALREADY_EXISTS` if an invitation for the specified user and course already + * exists. (invitations.create) + * + * @param Google_Service_Classroom_Invitation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Invitation + */ + public function create(Google_Service_Classroom_Invitation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Invitation"); + } + /** + * Deletes an invitation. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested invitation or for access errors. * `NOT_FOUND` if no invitation + * exists with the requested ID. (invitations.delete) + * + * @param string $id Identifier of the invitation to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns an invitation. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to view the + * requested invitation or for access errors. * `NOT_FOUND` if no invitation + * exists with the requested ID. (invitations.get) + * + * @param string $id Identifier of the invitation to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Invitation + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Invitation"); + } + /** + * Returns a list of invitations that the requesting user is permitted to view, + * restricted to those that match the list request. *Note:* At least one of + * `user_id` or `course_id` must be supplied. Both fields can be supplied. This + * method returns the following error codes: * `PERMISSION_DENIED` for access + * errors. (invitations.listInvitations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string userId Restricts returned invitations to those for a + * specific user. The identifier can be one of the following: * the numeric + * identifier for the user * the email address of the user * the string literal + * `"me"`, indicating the requesting user + * @opt_param string courseId Restricts returned invitations to those for a + * course with the specified identifier. + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @return Google_Service_Classroom_ListInvitationsResponse + */ + public function listInvitations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListInvitationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php new file mode 100644 index 00000000..38ee3eb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfiles.php @@ -0,0 +1,47 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $userProfiles = $classroomService->userProfiles; + * + */ +class Google_Service_Classroom_Resource_UserProfiles extends Google_Service_Resource +{ + /** + * Returns a user profile. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to access this + * user profile, if no profile exists with the requested ID, or for access + * errors. (userProfiles.get) + * + * @param string $userId Identifier of the profile to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_UserProfile + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_UserProfile"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php new file mode 100644 index 00000000..a8a88224 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardianInvitations.php @@ -0,0 +1,166 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $guardianInvitations = $classroomService->guardianInvitations; + * + */ +class Google_Service_Classroom_Resource_UserProfilesGuardianInvitations extends Google_Service_Resource +{ + /** + * Creates a guardian invitation, and sends an email to the guardian asking them + * to confirm that they are the student's guardian. Once the guardian accepts + * the invitation, their `state` will change to `COMPLETED` and they will start + * receiving guardian notifications. A `Guardian` resource will also be created + * to represent the active guardian. The request object must have the + * `student_id` and `invited_email_address` fields set. Failing to set these + * fields, or setting any other fields in the request, will result in an error. + * This method returns the following error codes: * `PERMISSION_DENIED` if the + * current user does not have permission to manage guardians, if the guardian in + * question has already rejected too many requests for that student, if + * guardians are not enabled for the domain in question, or for other access + * errors. * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the + * guardian link limit. * `INVALID_ARGUMENT` if the guardian email address is + * not valid (for example, if it is too long), or if the format of the student + * ID provided cannot be recognized (it is not an email address, nor a `user_id` + * from this API). This error will also be returned if read-only fields are set, + * or if the `state` field is set to to a value other than `PENDING`. * + * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom + * has no record of that student. * `ALREADY_EXISTS` if there is already a + * pending guardian invitation for the student and `invited_email_address` + * provided, or if the provided `invited_email_address` matches the Google + * account of an existing `Guardian` for this user. (guardianInvitations.create) + * + * @param string $studentId ID of the student (in standard format) + * @param Google_Service_Classroom_GuardianInvitation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_GuardianInvitation + */ + public function create($studentId, Google_Service_Classroom_GuardianInvitation $postBody, $optParams = array()) + { + $params = array('studentId' => $studentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_GuardianInvitation"); + } + /** + * Returns a specific guardian invitation. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * view guardian invitations for the student identified by the `student_id`, if + * guardians are not enabled for the domain in question, or for other access + * errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format + * cannot be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any + * record of the given student or `invitation_id`. May also be returned if the + * student exists, but the requesting user does not have access to see that + * student. (guardianInvitations.get) + * + * @param string $studentId The ID of the student whose guardian invitation is + * being requested. + * @param string $invitationId The `id` field of the `GuardianInvitation` being + * requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_GuardianInvitation + */ + public function get($studentId, $invitationId, $optParams = array()) + { + $params = array('studentId' => $studentId, 'invitationId' => $invitationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_GuardianInvitation"); + } + /** + * Returns a list of guardian invitations that the requesting user is permitted + * to view, filtered by the parameters provided. This method returns the + * following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, + * and the requesting user is not permitted to view guardian invitations for + * that student, if `"-"` is specified as the `student_id` and the user is not a + * domain administrator, if guardians are not enabled for the domain in + * question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` + * is specified, but its format cannot be recognized (it is not an email + * address, nor a `student_id` from the API, nor the literal string `me`). May + * also be returned if an invalid `page_token` or `state` is provided. * + * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, + * but Classroom has no record of that student. + * (guardianInvitations.listUserProfilesGuardianInvitations) + * + * @param string $studentId The ID of the student whose guardian invitations are + * to be returned. The identifier can be one of the following: * the numeric + * identifier for the user * the email address of the user * the string literal + * `"me"`, indicating the requesting user * the string literal `"-"`, indicating + * that results should be returned for all students that the requesting user is + * permitted to view guardian invitations. + * @param array $optParams Optional parameters. + * + * @opt_param string invitedEmailAddress If specified, only results with the + * specified `invited_email_address` will be returned. + * @opt_param string states If specified, only results with the specified + * `state` values will be returned. Otherwise, results with a `state` of + * `PENDING` will be returned. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @return Google_Service_Classroom_ListGuardianInvitationsResponse + */ + public function listUserProfilesGuardianInvitations($studentId, $optParams = array()) + { + $params = array('studentId' => $studentId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListGuardianInvitationsResponse"); + } + /** + * Modifies a guardian invitation. Currently, the only valid modification is to + * change the `state` from `PENDING` to `COMPLETE`. This has the effect of + * withdrawing the invitation. This method returns the following error codes: * + * `PERMISSION_DENIED` if the current user does not have permission to manage + * guardians, if guardians are not enabled for the domain in question or for + * other access errors. * `FAILED_PRECONDITION` if the guardian link is not in + * the `PENDING` state. * `INVALID_ARGUMENT` if the format of the student ID + * provided cannot be recognized (it is not an email address, nor a `user_id` + * from this API), or if the passed `GuardianInvitation` has a `state` other + * than `COMPLETE`, or if it modifies fields other than `state`. * `NOT_FOUND` + * if the student ID provided is a valid student ID, but Classroom has no record + * of that student, or if the `id` field does not refer to a guardian invitation + * known to Classroom. (guardianInvitations.patch) + * + * @param string $studentId The ID of the student whose guardian invitation is + * to be modified. + * @param string $invitationId The `id` field of the `GuardianInvitation` to be + * modified. + * @param Google_Service_Classroom_GuardianInvitation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Mask that identifies which fields on the course + * to update. This field is required to do an update. The update will fail if + * invalid fields are specified. The following fields are valid: * `state` When + * set in a query parameter, this field should be specified as + * `updateMask=,,...` + * @return Google_Service_Classroom_GuardianInvitation + */ + public function patch($studentId, $invitationId, Google_Service_Classroom_GuardianInvitation $postBody, $optParams = array()) + { + $params = array('studentId' => $studentId, 'invitationId' => $invitationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Classroom_GuardianInvitation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php new file mode 100644 index 00000000..98a8371f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Resource/UserProfilesGuardians.php @@ -0,0 +1,124 @@ + + * $classroomService = new Google_Service_Classroom(...); + * $guardians = $classroomService->guardians; + * + */ +class Google_Service_Classroom_Resource_UserProfilesGuardians extends Google_Service_Resource +{ + /** + * Deletes a guardian. The guardian will no longer receive guardian + * notifications and the guardian will no longer be accessible via the API. This + * method returns the following error codes: * `PERMISSION_DENIED` if no user + * that matches the provided `student_id` is visible to the requesting user, if + * the requesting user is not permitted to manage guardians for the student + * identified by the `student_id`, if guardians are not enabled for the domain + * in question, or for other access errors. * `INVALID_ARGUMENT` if a + * `student_id` is specified, but its format cannot be recognized (it is not an + * email address, nor a `student_id` from the API). * `NOT_FOUND` if the + * requesting user is permitted to modify guardians for the requested + * `student_id`, but no `Guardian` record exists for that student with the + * provided `guardian_id`. (guardians.delete) + * + * @param string $studentId The student whose guardian is to be deleted. One of + * the following: * the numeric identifier for the user * the email address of + * the user * the string literal `"me"`, indicating the requesting user + * @param string $guardianId The `id` field from a `Guardian`. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_ClassroomEmpty + */ + public function delete($studentId, $guardianId, $optParams = array()) + { + $params = array('studentId' => $studentId, 'guardianId' => $guardianId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); + } + /** + * Returns a specific guardian. This method returns the following error codes: * + * `PERMISSION_DENIED` if no user that matches the provided `student_id` is + * visible to the requesting user, if the requesting user is not permitted to + * view guardian information for the student identified by the `student_id`, if + * guardians are not enabled for the domain in question, or for other access + * errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format + * cannot be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is + * permitted to view guardians for the requested `student_id`, but no `Guardian` + * record exists for that student that matches the provided `guardian_id`. + * (guardians.get) + * + * @param string $studentId The student whose guardian is being requested. One + * of the following: * the numeric identifier for the user * the email address + * of the user * the string literal `"me"`, indicating the requesting user + * @param string $guardianId The `id` field from a `Guardian`. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Guardian + */ + public function get($studentId, $guardianId, $optParams = array()) + { + $params = array('studentId' => $studentId, 'guardianId' => $guardianId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Guardian"); + } + /** + * Returns a list of guardians that the requesting user is permitted to view, + * restricted to those that match the request. To list guardians for any student + * that the requesting user may view guardians for, use the literal character + * `-` for the student ID. This method returns the following error codes: * + * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user + * is not permitted to view guardian information for that student, if `"-"` is + * specified as the `student_id` and the user is not a domain administrator, if + * guardians are not enabled for the domain in question, if the + * `invited_email_address` filter is set by a user who is not a domain + * administrator, or for other access errors. * `INVALID_ARGUMENT` if a + * `student_id` is specified, but its format cannot be recognized (it is not an + * email address, nor a `student_id` from the API, nor the literal string `me`). + * May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if + * a `student_id` is specified, and its format can be recognized, but Classroom + * has no record of that student. (guardians.listUserProfilesGuardians) + * + * @param string $studentId Filter results by the student who the guardian is + * linked to. The identifier can be one of the following: * the numeric + * identifier for the user * the email address of the user * the string literal + * `"me"`, indicating the requesting user * the string literal `"-"`, indicating + * that results should be returned for all students that the requesting user has + * access to view. + * @param array $optParams Optional parameters. + * + * @opt_param string invitedEmailAddress Filter results by the email address + * that the original invitation was sent to, resulting in this guardian link. + * This filter can only be used by domain administrators. + * @opt_param string pageToken nextPageToken value returned from a previous list + * call, indicating that the subsequent page of results should be returned. The + * list request must be otherwise identical to the one that resulted in this + * token. + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @return Google_Service_Classroom_ListGuardiansResponse + */ + public function listUserProfilesGuardians($studentId, $optParams = array()) + { + $params = array('studentId' => $studentId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListGuardiansResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php new file mode 100644 index 00000000..e9b41ced --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ReturnStudentSubmissionRequest.php @@ -0,0 +1,20 @@ +driveFile = $driveFile; + } + public function getDriveFile() + { + return $this->driveFile; + } + public function setShareMode($shareMode) + { + $this->shareMode = $shareMode; + } + public function getShareMode() + { + return $this->shareMode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php new file mode 100644 index 00000000..e4c59121 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/ShortAnswerSubmission.php @@ -0,0 +1,30 @@ +answer = $answer; + } + public function getAnswer() + { + return $this->answer; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php new file mode 100644 index 00000000..65e5dcdd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Student.php @@ -0,0 +1,59 @@ +courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setProfile(Google_Service_Classroom_UserProfile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setStudentWorkFolder(Google_Service_Classroom_DriveFolder $studentWorkFolder) + { + $this->studentWorkFolder = $studentWorkFolder; + } + public function getStudentWorkFolder() + { + return $this->studentWorkFolder; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php new file mode 100644 index 00000000..82262450 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/StudentSubmission.php @@ -0,0 +1,168 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setAssignedGrade($assignedGrade) + { + $this->assignedGrade = $assignedGrade; + } + public function getAssignedGrade() + { + return $this->assignedGrade; + } + public function setAssignmentSubmission(Google_Service_Classroom_AssignmentSubmission $assignmentSubmission) + { + $this->assignmentSubmission = $assignmentSubmission; + } + public function getAssignmentSubmission() + { + return $this->assignmentSubmission; + } + public function setAssociatedWithDeveloper($associatedWithDeveloper) + { + $this->associatedWithDeveloper = $associatedWithDeveloper; + } + public function getAssociatedWithDeveloper() + { + return $this->associatedWithDeveloper; + } + public function setCourseId($courseId) + { + $this->courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setCourseWorkId($courseWorkId) + { + $this->courseWorkId = $courseWorkId; + } + public function getCourseWorkId() + { + return $this->courseWorkId; + } + public function setCourseWorkType($courseWorkType) + { + $this->courseWorkType = $courseWorkType; + } + public function getCourseWorkType() + { + return $this->courseWorkType; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDraftGrade($draftGrade) + { + $this->draftGrade = $draftGrade; + } + public function getDraftGrade() + { + return $this->draftGrade; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLate($late) + { + $this->late = $late; + } + public function getLate() + { + return $this->late; + } + public function setMultipleChoiceSubmission(Google_Service_Classroom_MultipleChoiceSubmission $multipleChoiceSubmission) + { + $this->multipleChoiceSubmission = $multipleChoiceSubmission; + } + public function getMultipleChoiceSubmission() + { + return $this->multipleChoiceSubmission; + } + public function setShortAnswerSubmission(Google_Service_Classroom_ShortAnswerSubmission $shortAnswerSubmission) + { + $this->shortAnswerSubmission = $shortAnswerSubmission; + } + public function getShortAnswerSubmission() + { + return $this->shortAnswerSubmission; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php new file mode 100644 index 00000000..a8ae4511 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/Teacher.php @@ -0,0 +1,49 @@ +courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setProfile(Google_Service_Classroom_UserProfile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php new file mode 100644 index 00000000..77255e1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TimeOfDay.php @@ -0,0 +1,57 @@ +hours = $hours; + } + public function getHours() + { + return $this->hours; + } + public function setMinutes($minutes) + { + $this->minutes = $minutes; + } + public function getMinutes() + { + return $this->minutes; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php new file mode 100644 index 00000000..47f135bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/TurnInStudentSubmissionRequest.php @@ -0,0 +1,20 @@ +emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName(Google_Service_Classroom_Name $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php new file mode 100644 index 00000000..b3c33abc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Classroom/YouTubeVideo.php @@ -0,0 +1,57 @@ +alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setThumbnailUrl($thumbnailUrl) + { + $this->thumbnailUrl = $thumbnailUrl; + } + public function getThumbnailUrl() + { + return $this->thumbnailUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php new file mode 100644 index 00000000..7f483bf1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild.php @@ -0,0 +1,254 @@ + + * Builds container images in the cloud.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudBuild extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $operations; + public $projects_builds; + public $projects_triggers; + + /** + * Constructs the internal representation of the CloudBuild service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudbuild.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudbuild'; + + $this->operations = new Google_Service_CloudBuild_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_builds = new Google_Service_CloudBuild_Resource_ProjectsBuilds( + $this, + $this->serviceName, + 'builds', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/projects/{projectId}/builds/{id}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/projects/{projectId}/builds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/builds/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/builds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_triggers = new Google_Service_CloudBuild_Resource_ProjectsTriggers( + $this, + $this->serviceName, + 'triggers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/triggers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/triggers/{triggerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/triggers/{triggerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/triggers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/projects/{projectId}/triggers/{triggerId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php new file mode 100644 index 00000000..7f926793 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Build.php @@ -0,0 +1,189 @@ +buildTriggerId = $buildTriggerId; + } + public function getBuildTriggerId() + { + return $this->buildTriggerId; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setFinishTime($finishTime) + { + $this->finishTime = $finishTime; + } + public function getFinishTime() + { + return $this->finishTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } + public function setLogUrl($logUrl) + { + $this->logUrl = $logUrl; + } + public function getLogUrl() + { + return $this->logUrl; + } + public function setLogsBucket($logsBucket) + { + $this->logsBucket = $logsBucket; + } + public function getLogsBucket() + { + return $this->logsBucket; + } + public function setOptions(Google_Service_CloudBuild_BuildOptions $options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setResults(Google_Service_CloudBuild_Results $results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } + public function setSource(Google_Service_CloudBuild_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setSourceProvenance(Google_Service_CloudBuild_SourceProvenance $sourceProvenance) + { + $this->sourceProvenance = $sourceProvenance; + } + public function getSourceProvenance() + { + return $this->sourceProvenance; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusDetail($statusDetail) + { + $this->statusDetail = $statusDetail; + } + public function getStatusDetail() + { + return $this->statusDetail; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setSubstitutions($substitutions) + { + $this->substitutions = $substitutions; + } + public function getSubstitutions() + { + return $this->substitutions; + } + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + public function getTimeout() + { + return $this->timeout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php new file mode 100644 index 00000000..7eaa492c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOperationMetadata.php @@ -0,0 +1,31 @@ +build = $build; + } + public function getBuild() + { + return $this->build; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php new file mode 100644 index 00000000..a5bec28a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildOptions.php @@ -0,0 +1,40 @@ +requestedVerifyOption = $requestedVerifyOption; + } + public function getRequestedVerifyOption() + { + return $this->requestedVerifyOption; + } + public function setSourceProvenanceHash($sourceProvenanceHash) + { + $this->sourceProvenanceHash = $sourceProvenanceHash; + } + public function getSourceProvenanceHash() + { + return $this->sourceProvenanceHash; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php new file mode 100644 index 00000000..bf4b78be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildStep.php @@ -0,0 +1,85 @@ +args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setDir($dir) + { + $this->dir = $dir; + } + public function getDir() + { + return $this->dir; + } + public function setEntrypoint($entrypoint) + { + $this->entrypoint = $entrypoint; + } + public function getEntrypoint() + { + return $this->entrypoint; + } + public function setEnv($env) + { + $this->env = $env; + } + public function getEnv() + { + return $this->env; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setWaitFor($waitFor) + { + $this->waitFor = $waitFor; + } + public function getWaitFor() + { + return $this->waitFor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php new file mode 100644 index 00000000..1c9a2274 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuildTrigger.php @@ -0,0 +1,95 @@ +build = $build; + } + public function getBuild() + { + return $this->build; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisabled($disabled) + { + $this->disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSubstitutions($substitutions) + { + $this->substitutions = $substitutions; + } + public function getSubstitutions() + { + return $this->substitutions; + } + public function setTriggerTemplate(Google_Service_CloudBuild_RepoSource $triggerTemplate) + { + $this->triggerTemplate = $triggerTemplate; + } + public function getTriggerTemplate() + { + return $this->triggerTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php new file mode 100644 index 00000000..018efa99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/BuiltImage.php @@ -0,0 +1,39 @@ +digest = $digest; + } + public function getDigest() + { + return $this->digest; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php new file mode 100644 index 00000000..ffb7bbbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/CancelBuildRequest.php @@ -0,0 +1,20 @@ +fileHash = $fileHash; + } + public function getFileHash() + { + return $this->fileHash; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php new file mode 100644 index 00000000..3040ebf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Hash.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php new file mode 100644 index 00000000..73b9afaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildTriggersResponse.php @@ -0,0 +1,32 @@ +triggers = $triggers; + } + public function getTriggers() + { + return $this->triggers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php new file mode 100644 index 00000000..f6749c76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListBuildsResponse.php @@ -0,0 +1,41 @@ +builds = $builds; + } + public function getBuilds() + { + return $this->builds; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php new file mode 100644 index 00000000..ac6517dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php new file mode 100644 index 00000000..2aeb3224 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudBuild_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php new file mode 100644 index 00000000..aae7ef58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/RepoSource.php @@ -0,0 +1,66 @@ +branchName = $branchName; + } + public function getBranchName() + { + return $this->branchName; + } + public function setCommitSha($commitSha) + { + $this->commitSha = $commitSha; + } + public function getCommitSha() + { + return $this->commitSha; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRepoName($repoName) + { + $this->repoName = $repoName; + } + public function getRepoName() + { + return $this->repoName; + } + public function setTagName($tagName) + { + $this->tagName = $tagName; + } + public function getTagName() + { + return $this->tagName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php new file mode 100644 index 00000000..e4adde4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Operations.php @@ -0,0 +1,87 @@ + + * $cloudbuildService = new Google_Service_CloudBuild(...); + * $operations = $cloudbuildService->operations; + * + */ +class Google_Service_CloudBuild_Resource_Operations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param Google_Service_CloudBuild_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_CloudbuildEmpty + */ + public function cancel($name, Google_Service_CloudBuild_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudBuild_CloudbuildEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudBuild_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @return Google_Service_CloudBuild_ListOperationsResponse + */ + public function listOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudBuild_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php new file mode 100644 index 00000000..d9806091 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $cloudbuildService = new Google_Service_CloudBuild(...); + * $projects = $cloudbuildService->projects; + * + */ +class Google_Service_CloudBuild_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php new file mode 100644 index 00000000..e3f22516 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsBuilds.php @@ -0,0 +1,99 @@ + + * $cloudbuildService = new Google_Service_CloudBuild(...); + * $builds = $cloudbuildService->builds; + * + */ +class Google_Service_CloudBuild_Resource_ProjectsBuilds extends Google_Service_Resource +{ + /** + * Cancels a requested build in progress. (builds.cancel) + * + * @param string $projectId ID of the project. + * @param string $id ID of the build. + * @param Google_Service_CloudBuild_CancelBuildRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_Build + */ + public function cancel($projectId, $id, Google_Service_CloudBuild_CancelBuildRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudBuild_Build"); + } + /** + * Starts a build with the specified configuration. + * + * The long-running Operation returned by this method will include the ID of the + * build, which can be passed to GetBuild to determine its status (e.g., success + * or failure). (builds.create) + * + * @param string $projectId ID of the project. + * @param Google_Service_CloudBuild_Build $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_Operation + */ + public function create($projectId, Google_Service_CloudBuild_Build $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudBuild_Operation"); + } + /** + * Returns information about a previously requested build. + * + * The Build that is returned includes its status (e.g., success or failure, or + * in-progress), and timing information. (builds.get) + * + * @param string $projectId ID of the project. + * @param string $id ID of the build. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_Build + */ + public function get($projectId, $id, $optParams = array()) + { + $params = array('projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudBuild_Build"); + } + /** + * Lists previously requested builds. + * + * Previously requested builds may still be in-progress, or may have finished + * successfully or unsuccessfully. (builds.listProjectsBuilds) + * + * @param string $projectId ID of the project. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The raw filter text to constrain the results. + * @opt_param string pageToken Token to provide to skip to a particular spot in + * the list. + * @opt_param int pageSize Number of results to return in the list. + * @return Google_Service_CloudBuild_ListBuildsResponse + */ + public function listProjectsBuilds($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudBuild_ListBuildsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php new file mode 100644 index 00000000..d978fc4c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Resource/ProjectsTriggers.php @@ -0,0 +1,109 @@ + + * $cloudbuildService = new Google_Service_CloudBuild(...); + * $triggers = $cloudbuildService->triggers; + * + */ +class Google_Service_CloudBuild_Resource_ProjectsTriggers extends Google_Service_Resource +{ + /** + * Creates a new BuildTrigger. + * + * This API is experimental. (triggers.create) + * + * @param string $projectId ID of the project for which to configure automatic + * builds. + * @param Google_Service_CloudBuild_BuildTrigger $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_BuildTrigger + */ + public function create($projectId, Google_Service_CloudBuild_BuildTrigger $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudBuild_BuildTrigger"); + } + /** + * Deletes an BuildTrigger by its project ID and trigger ID. + * + * This API is experimental. (triggers.delete) + * + * @param string $projectId ID of the project that owns the trigger. + * @param string $triggerId ID of the BuildTrigger to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_CloudbuildEmpty + */ + public function delete($projectId, $triggerId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudBuild_CloudbuildEmpty"); + } + /** + * Gets information about a BuildTrigger. + * + * This API is experimental. (triggers.get) + * + * @param string $projectId ID of the project that owns the trigger. + * @param string $triggerId ID of the BuildTrigger to get. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_BuildTrigger + */ + public function get($projectId, $triggerId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudBuild_BuildTrigger"); + } + /** + * Lists existing BuildTrigger. + * + * This API is experimental. (triggers.listProjectsTriggers) + * + * @param string $projectId ID of the project for which to list BuildTriggers. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_ListBuildTriggersResponse + */ + public function listProjectsTriggers($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudBuild_ListBuildTriggersResponse"); + } + /** + * Updates an BuildTrigger by its project ID and trigger ID. + * + * This API is experimental. (triggers.patch) + * + * @param string $projectId ID of the project that owns the trigger. + * @param string $triggerId ID of the BuildTrigger to update. + * @param Google_Service_CloudBuild_BuildTrigger $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudBuild_BuildTrigger + */ + public function patch($projectId, $triggerId, Google_Service_CloudBuild_BuildTrigger $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'triggerId' => $triggerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_CloudBuild_BuildTrigger"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php new file mode 100644 index 00000000..a1f776d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Results.php @@ -0,0 +1,41 @@ +buildStepImages = $buildStepImages; + } + public function getBuildStepImages() + { + return $this->buildStepImages; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php new file mode 100644 index 00000000..a6e26a02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Source.php @@ -0,0 +1,41 @@ +repoSource = $repoSource; + } + public function getRepoSource() + { + return $this->repoSource; + } + public function setStorageSource(Google_Service_CloudBuild_StorageSource $storageSource) + { + $this->storageSource = $storageSource; + } + public function getStorageSource() + { + return $this->storageSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php new file mode 100644 index 00000000..a89a9c5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/SourceProvenance.php @@ -0,0 +1,51 @@ +fileHashes = $fileHashes; + } + public function getFileHashes() + { + return $this->fileHashes; + } + public function setResolvedRepoSource(Google_Service_CloudBuild_RepoSource $resolvedRepoSource) + { + $this->resolvedRepoSource = $resolvedRepoSource; + } + public function getResolvedRepoSource() + { + return $this->resolvedRepoSource; + } + public function setResolvedStorageSource(Google_Service_CloudBuild_StorageSource $resolvedStorageSource) + { + $this->resolvedStorageSource = $resolvedStorageSource; + } + public function getResolvedStorageSource() + { + return $this->resolvedStorageSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php new file mode 100644 index 00000000..66067950 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php new file mode 100644 index 00000000..3a3df0a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudBuild/StorageSource.php @@ -0,0 +1,48 @@ +bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setObject($object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php new file mode 100644 index 00000000..79744f14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger.php @@ -0,0 +1,240 @@ + + * Examines the call stack and variables of a running application without + * stopping or slowing it down.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudDebugger extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage cloud debugger. */ + const CLOUD_DEBUGGER = + "https://www.googleapis.com/auth/cloud_debugger"; + + public $controller_debuggees; + public $controller_debuggees_breakpoints; + public $debugger_debuggees; + public $debugger_debuggees_breakpoints; + + /** + * Constructs the internal representation of the CloudDebugger service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://clouddebugger.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'clouddebugger'; + + $this->controller_debuggees = new Google_Service_CloudDebugger_Resource_ControllerDebuggees( + $this, + $this->serviceName, + 'debuggees', + array( + 'methods' => array( + 'register' => array( + 'path' => 'v2/controller/debuggees/register', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->controller_debuggees_breakpoints = new Google_Service_CloudDebugger_Resource_ControllerDebuggeesBreakpoints( + $this, + $this->serviceName, + 'breakpoints', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'successOnTimeout' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'waitToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->debugger_debuggees = new Google_Service_CloudDebugger_Resource_DebuggerDebuggees( + $this, + $this->serviceName, + 'debuggees', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/debugger/debuggees', + 'httpMethod' => 'GET', + 'parameters' => array( + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'project' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->debugger_debuggees_breakpoints = new Google_Service_CloudDebugger_Resource_DebuggerDebuggeesBreakpoints( + $this, + $this->serviceName, + 'breakpoints', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'breakpointId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'breakpointId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stripResults' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'waitToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'action.value' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeAllUsers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'set' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php new file mode 100644 index 00000000..0a0d9892 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/AliasContext.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php new file mode 100644 index 00000000..146ca95a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Breakpoint.php @@ -0,0 +1,171 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEvaluatedExpressions($evaluatedExpressions) + { + $this->evaluatedExpressions = $evaluatedExpressions; + } + public function getEvaluatedExpressions() + { + return $this->evaluatedExpressions; + } + public function setExpressions($expressions) + { + $this->expressions = $expressions; + } + public function getExpressions() + { + return $this->expressions; + } + public function setFinalTime($finalTime) + { + $this->finalTime = $finalTime; + } + public function getFinalTime() + { + return $this->finalTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsFinalState($isFinalState) + { + $this->isFinalState = $isFinalState; + } + public function getIsFinalState() + { + return $this->isFinalState; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocation(Google_Service_CloudDebugger_SourceLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLogLevel($logLevel) + { + $this->logLevel = $logLevel; + } + public function getLogLevel() + { + return $this->logLevel; + } + public function setLogMessageFormat($logMessageFormat) + { + $this->logMessageFormat = $logMessageFormat; + } + public function getLogMessageFormat() + { + return $this->logMessageFormat; + } + public function setStackFrames($stackFrames) + { + $this->stackFrames = $stackFrames; + } + public function getStackFrames() + { + return $this->stackFrames; + } + public function setStatus(Google_Service_CloudDebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } + public function setVariableTable($variableTable) + { + $this->variableTable = $variableTable; + } + public function getVariableTable() + { + return $this->variableTable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php new file mode 100644 index 00000000..fcd5d8b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudRepoSourceContext.php @@ -0,0 +1,59 @@ +aliasContext = $aliasContext; + } + public function getAliasContext() + { + return $this->aliasContext; + } + public function setAliasName($aliasName) + { + $this->aliasName = $aliasName; + } + public function getAliasName() + { + return $this->aliasName; + } + public function setRepoId(Google_Service_CloudDebugger_RepoId $repoId) + { + $this->repoId = $repoId; + } + public function getRepoId() + { + return $this->repoId; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php new file mode 100644 index 00000000..30d3bd82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceId.php @@ -0,0 +1,40 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setRepoId(Google_Service_CloudDebugger_RepoId $repoId) + { + $this->repoId = $repoId; + } + public function getRepoId() + { + return $this->repoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php new file mode 100644 index 00000000..a29c6abb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/CloudWorkspaceSourceContext.php @@ -0,0 +1,40 @@ +snapshotId = $snapshotId; + } + public function getSnapshotId() + { + return $this->snapshotId; + } + public function setWorkspaceId(Google_Service_CloudDebugger_CloudWorkspaceId $workspaceId) + { + $this->workspaceId = $workspaceId; + } + public function getWorkspaceId() + { + return $this->workspaceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php new file mode 100644 index 00000000..1baaee17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ClouddebuggerEmpty.php @@ -0,0 +1,20 @@ +agentVersion = $agentVersion; + } + public function getAgentVersion() + { + return $this->agentVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExtSourceContexts($extSourceContexts) + { + $this->extSourceContexts = $extSourceContexts; + } + public function getExtSourceContexts() + { + return $this->extSourceContexts; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDisabled($isDisabled) + { + $this->isDisabled = $isDisabled; + } + public function getIsDisabled() + { + return $this->isDisabled; + } + public function setIsInactive($isInactive) + { + $this->isInactive = $isInactive; + } + public function getIsInactive() + { + return $this->isInactive; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setSourceContexts($sourceContexts) + { + $this->sourceContexts = $sourceContexts; + } + public function getSourceContexts() + { + return $this->sourceContexts; + } + public function setStatus(Google_Service_CloudDebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUniquifier($uniquifier) + { + $this->uniquifier = $uniquifier; + } + public function getUniquifier() + { + return $this->uniquifier; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php new file mode 100644 index 00000000..bdde38dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ExtendedSourceContext.php @@ -0,0 +1,40 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php new file mode 100644 index 00000000..e56e5f9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/FormatMessage.php @@ -0,0 +1,40 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php new file mode 100644 index 00000000..4cb77f83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GerritSourceContext.php @@ -0,0 +1,67 @@ +aliasContext = $aliasContext; + } + public function getAliasContext() + { + return $this->aliasContext; + } + public function setAliasName($aliasName) + { + $this->aliasName = $aliasName; + } + public function getAliasName() + { + return $this->aliasName; + } + public function setGerritProject($gerritProject) + { + $this->gerritProject = $gerritProject; + } + public function getGerritProject() + { + return $this->gerritProject; + } + public function setHostUri($hostUri) + { + $this->hostUri = $hostUri; + } + public function getHostUri() + { + return $this->hostUri; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php new file mode 100644 index 00000000..de523178 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GetBreakpointResponse.php @@ -0,0 +1,31 @@ +breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php new file mode 100644 index 00000000..2d916fc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/GitSourceContext.php @@ -0,0 +1,39 @@ +revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php new file mode 100644 index 00000000..ec0375dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListActiveBreakpointsResponse.php @@ -0,0 +1,50 @@ +breakpoints = $breakpoints; + } + public function getBreakpoints() + { + return $this->breakpoints; + } + public function setNextWaitToken($nextWaitToken) + { + $this->nextWaitToken = $nextWaitToken; + } + public function getNextWaitToken() + { + return $this->nextWaitToken; + } + public function setWaitExpired($waitExpired) + { + $this->waitExpired = $waitExpired; + } + public function getWaitExpired() + { + return $this->waitExpired; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php new file mode 100644 index 00000000..dabcf969 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListBreakpointsResponse.php @@ -0,0 +1,41 @@ +breakpoints = $breakpoints; + } + public function getBreakpoints() + { + return $this->breakpoints; + } + public function setNextWaitToken($nextWaitToken) + { + $this->nextWaitToken = $nextWaitToken; + } + public function getNextWaitToken() + { + return $this->nextWaitToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php new file mode 100644 index 00000000..2669e3cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ListDebuggeesResponse.php @@ -0,0 +1,32 @@ +debuggees = $debuggees; + } + public function getDebuggees() + { + return $this->debuggees; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php new file mode 100644 index 00000000..7036340f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/ProjectRepoId.php @@ -0,0 +1,39 @@ +projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRepoName($repoName) + { + $this->repoName = $repoName; + } + public function getRepoName() + { + return $this->repoName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php new file mode 100644 index 00000000..1e395463 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeRequest.php @@ -0,0 +1,31 @@ +debuggee = $debuggee; + } + public function getDebuggee() + { + return $this->debuggee; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php new file mode 100644 index 00000000..cbd171c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RegisterDebuggeeResponse.php @@ -0,0 +1,31 @@ +debuggee = $debuggee; + } + public function getDebuggee() + { + return $this->debuggee; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php new file mode 100644 index 00000000..c5a3b8bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/RepoId.php @@ -0,0 +1,40 @@ +projectRepoId = $projectRepoId; + } + public function getProjectRepoId() + { + return $this->projectRepoId; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php new file mode 100644 index 00000000..70699a84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Controller.php @@ -0,0 +1,28 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $controller = $clouddebuggerService->controller; + * + */ +class Google_Service_CloudDebugger_Resource_Controller extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php new file mode 100644 index 00000000..e016aabf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggees.php @@ -0,0 +1,50 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $debuggees = $clouddebuggerService->debuggees; + * + */ +class Google_Service_CloudDebugger_Resource_ControllerDebuggees extends Google_Service_Resource +{ + /** + * Registers the debuggee with the controller service. + * + * All agents attached to the same application should call this method with the + * same request content to get back the same stable `debuggee_id`. Agents should + * call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from + * any controller method. + * + * This allows the controller service to disable the agent or recover from any + * data loss. If the debuggee is disabled by the server, the response will have + * `is_disabled` set to `true`. (debuggees.register) + * + * @param Google_Service_CloudDebugger_RegisterDebuggeeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudDebugger_RegisterDebuggeeResponse + */ + public function register(Google_Service_CloudDebugger_RegisterDebuggeeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_CloudDebugger_RegisterDebuggeeResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php new file mode 100644 index 00000000..9c948c8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/ControllerDebuggeesBreakpoints.php @@ -0,0 +1,85 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $breakpoints = $clouddebuggerService->breakpoints; + * + */ +class Google_Service_CloudDebugger_Resource_ControllerDebuggeesBreakpoints extends Google_Service_Resource +{ + /** + * Returns the list of all active breakpoints for the debuggee. + * + * The breakpoint specification (location, condition, and expression fields) is + * semantically immutable, although the field values may change. For example, an + * agent may update the location line number to reflect the actual line where + * the breakpoint was set, but this doesn't change the breakpoint semantics. + * + * This means that an agent does not need to check if a breakpoint has changed + * when it encounters the same breakpoint on a successive call. Moreover, an + * agent should remember the breakpoints that are completed until the controller + * removes them from the active list to avoid setting those breakpoints again. + * (breakpoints.listControllerDebuggeesBreakpoints) + * + * @param string $debuggeeId Identifies the debuggee. + * @param array $optParams Optional parameters. + * + * @opt_param bool successOnTimeout If set to `true`, returns + * `google.rpc.Code.OK` status and sets the `wait_expired` response field to + * `true` when the server-selected timeout has expired (recommended). + * + * If set to `false`, returns `google.rpc.Code.ABORTED` status when the server- + * selected timeout has expired (deprecated). + * @opt_param string waitToken A wait token that, if specified, blocks the + * method call until the list of active breakpoints has changed, or a server + * selected timeout has expired. The value should be set from the last returned + * response. + * @return Google_Service_CloudDebugger_ListActiveBreakpointsResponse + */ + public function listControllerDebuggeesBreakpoints($debuggeeId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudDebugger_ListActiveBreakpointsResponse"); + } + /** + * Updates the breakpoint state or mutable fields. The entire Breakpoint message + * must be sent back to the controller service. + * + * Updates to active breakpoint fields are only allowed if the new value does + * not change the breakpoint specification. Updates to the `location`, + * `condition` and `expression` fields should not alter the breakpoint + * semantics. These may only make changes such as canonicalizing a value or + * snapping the location to the correct line of code. (breakpoints.update) + * + * @param string $debuggeeId Identifies the debuggee being debugged. + * @param string $id Breakpoint identifier, unique in the scope of the debuggee. + * @param Google_Service_CloudDebugger_UpdateActiveBreakpointRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudDebugger_UpdateActiveBreakpointResponse + */ + public function update($debuggeeId, $id, Google_Service_CloudDebugger_UpdateActiveBreakpointRequest $postBody, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_CloudDebugger_UpdateActiveBreakpointResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php new file mode 100644 index 00000000..955317f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/Debugger.php @@ -0,0 +1,28 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $debugger = $clouddebuggerService->debugger; + * + */ +class Google_Service_CloudDebugger_Resource_Debugger extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php new file mode 100644 index 00000000..09871712 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggees.php @@ -0,0 +1,48 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $debuggees = $clouddebuggerService->debuggees; + * + */ +class Google_Service_CloudDebugger_Resource_DebuggerDebuggees extends Google_Service_Resource +{ + /** + * Lists all the debuggees that the user can set breakpoints to. + * (debuggees.listDebuggerDebuggees) + * + * @param array $optParams Optional parameters. + * + * @opt_param string clientVersion The client version making the call. + * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + * @opt_param bool includeInactive When set to `true`, the result includes all + * debuggees. Otherwise, the result includes only debuggees that are active. + * @opt_param string project Project number of a Google Cloud project whose + * debuggees to list. + * @return Google_Service_CloudDebugger_ListDebuggeesResponse + */ + public function listDebuggerDebuggees($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudDebugger_ListDebuggeesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php new file mode 100644 index 00000000..dc07a2c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/Resource/DebuggerDebuggeesBreakpoints.php @@ -0,0 +1,113 @@ + + * $clouddebuggerService = new Google_Service_CloudDebugger(...); + * $breakpoints = $clouddebuggerService->breakpoints; + * + */ +class Google_Service_CloudDebugger_Resource_DebuggerDebuggeesBreakpoints extends Google_Service_Resource +{ + /** + * Deletes the breakpoint from the debuggee. (breakpoints.delete) + * + * @param string $debuggeeId ID of the debuggee whose breakpoint to delete. + * @param string $breakpointId ID of the breakpoint to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string clientVersion The client version making the call. + * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + * @return Google_Service_CloudDebugger_ClouddebuggerEmpty + */ + public function delete($debuggeeId, $breakpointId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudDebugger_ClouddebuggerEmpty"); + } + /** + * Gets breakpoint information. (breakpoints.get) + * + * @param string $debuggeeId ID of the debuggee whose breakpoint to get. + * @param string $breakpointId ID of the breakpoint to get. + * @param array $optParams Optional parameters. + * + * @opt_param string clientVersion The client version making the call. + * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + * @return Google_Service_CloudDebugger_GetBreakpointResponse + */ + public function get($debuggeeId, $breakpointId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudDebugger_GetBreakpointResponse"); + } + /** + * Lists all breakpoints for the debuggee. + * (breakpoints.listDebuggerDebuggeesBreakpoints) + * + * @param string $debuggeeId ID of the debuggee whose breakpoints to list. + * @param array $optParams Optional parameters. + * + * @opt_param bool stripResults This field is deprecated. The following fields + * are always stripped out of the result: `stack_frames`, + * `evaluated_expressions` and `variable_table`. + * @opt_param string waitToken A wait token that, if specified, blocks the call + * until the breakpoints list has changed, or a server selected timeout has + * expired. The value should be set from the last response. The error code + * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should be + * called again with the same `wait_token`. + * @opt_param string clientVersion The client version making the call. + * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + * @opt_param string action.value Only breakpoints with the specified action + * will pass the filter. + * @opt_param bool includeAllUsers When set to `true`, the response includes the + * list of breakpoints set by any user. Otherwise, it includes only breakpoints + * set by the caller. + * @opt_param bool includeInactive When set to `true`, the response includes + * active and inactive breakpoints. Otherwise, it includes only active + * breakpoints. + * @return Google_Service_CloudDebugger_ListBreakpointsResponse + */ + public function listDebuggerDebuggeesBreakpoints($debuggeeId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudDebugger_ListBreakpointsResponse"); + } + /** + * Sets the breakpoint to the debuggee. (breakpoints.set) + * + * @param string $debuggeeId ID of the debuggee where the breakpoint is to be + * set. + * @param Google_Service_CloudDebugger_Breakpoint $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string clientVersion The client version making the call. + * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + * @return Google_Service_CloudDebugger_SetBreakpointResponse + */ + public function set($debuggeeId, Google_Service_CloudDebugger_Breakpoint $postBody, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_CloudDebugger_SetBreakpointResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php new file mode 100644 index 00000000..4616a51d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SetBreakpointResponse.php @@ -0,0 +1,31 @@ +breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php new file mode 100644 index 00000000..e6eb484b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceContext.php @@ -0,0 +1,61 @@ +cloudRepo = $cloudRepo; + } + public function getCloudRepo() + { + return $this->cloudRepo; + } + public function setCloudWorkspace(Google_Service_CloudDebugger_CloudWorkspaceSourceContext $cloudWorkspace) + { + $this->cloudWorkspace = $cloudWorkspace; + } + public function getCloudWorkspace() + { + return $this->cloudWorkspace; + } + public function setGerrit(Google_Service_CloudDebugger_GerritSourceContext $gerrit) + { + $this->gerrit = $gerrit; + } + public function getGerrit() + { + return $this->gerrit; + } + public function setGit(Google_Service_CloudDebugger_GitSourceContext $git) + { + $this->git = $git; + } + public function getGit() + { + return $this->git; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php new file mode 100644 index 00000000..a896bb7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/SourceLocation.php @@ -0,0 +1,39 @@ +line = $line; + } + public function getLine() + { + return $this->line; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php new file mode 100644 index 00000000..a06beb7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StackFrame.php @@ -0,0 +1,61 @@ +arguments = $arguments; + } + public function getArguments() + { + return $this->arguments; + } + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setLocals($locals) + { + $this->locals = $locals; + } + public function getLocals() + { + return $this->locals; + } + public function setLocation(Google_Service_CloudDebugger_SourceLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php new file mode 100644 index 00000000..43ba9882 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/StatusMessage.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsError($isError) + { + $this->isError = $isError; + } + public function getIsError() + { + return $this->isError; + } + public function setRefersTo($refersTo) + { + $this->refersTo = $refersTo; + } + public function getRefersTo() + { + return $this->refersTo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php new file mode 100644 index 00000000..3181a61a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointRequest.php @@ -0,0 +1,31 @@ +breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php new file mode 100644 index 00000000..a65647da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudDebugger/UpdateActiveBreakpointResponse.php @@ -0,0 +1,20 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus(Google_Service_CloudDebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVarTableIndex($varTableIndex) + { + $this->varTableIndex = $varTableIndex; + } + public function getVarTableIndex() + { + return $this->varTableIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php new file mode 100644 index 00000000..2ce8b7d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions.php @@ -0,0 +1,207 @@ + + * API for managing lightweight user-provided functions executed in response to + * events.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudFunctions extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $operations; + public $projects_locations; + public $projects_locations_functions; + + /** + * Constructs the internal representation of the CloudFunctions service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudfunctions.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta2'; + $this->serviceName = 'cloudfunctions'; + + $this->operations = new Google_Service_CloudFunctions_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1beta2/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta2/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_locations = new Google_Service_CloudFunctions_Resource_ProjectsLocations( + $this, + $this->serviceName, + 'locations', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta2/{+name}/locations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_locations_functions = new Google_Service_CloudFunctions_Resource_ProjectsLocationsFunctions( + $this, + $this->serviceName, + 'functions', + array( + 'methods' => array( + 'call' => array( + 'path' => 'v1beta2/{+name}:call', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1beta2/{+location}/functions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta2/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta2/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta2/{+location}/functions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v1beta2/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php new file mode 100644 index 00000000..5ab182c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionRequest.php @@ -0,0 +1,30 @@ +data = $data; + } + public function getData() + { + return $this->data; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php new file mode 100644 index 00000000..c610940e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CallFunctionResponse.php @@ -0,0 +1,48 @@ +error = $error; + } + public function getError() + { + return $this->error; + } + public function setExecutionId($executionId) + { + $this->executionId = $executionId; + } + public function getExecutionId() + { + return $this->executionId; + } + public function setResult($result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php new file mode 100644 index 00000000..09ce0bba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/CloudFunction.php @@ -0,0 +1,132 @@ +availableMemoryMb = $availableMemoryMb; + } + public function getAvailableMemoryMb() + { + return $this->availableMemoryMb; + } + public function setEntryPoint($entryPoint) + { + $this->entryPoint = $entryPoint; + } + public function getEntryPoint() + { + return $this->entryPoint; + } + public function setEventTrigger(Google_Service_CloudFunctions_EventTrigger $eventTrigger) + { + $this->eventTrigger = $eventTrigger; + } + public function getEventTrigger() + { + return $this->eventTrigger; + } + public function setHttpsTrigger(Google_Service_CloudFunctions_HTTPSTrigger $httpsTrigger) + { + $this->httpsTrigger = $httpsTrigger; + } + public function getHttpsTrigger() + { + return $this->httpsTrigger; + } + public function setLatestOperation($latestOperation) + { + $this->latestOperation = $latestOperation; + } + public function getLatestOperation() + { + return $this->latestOperation; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setServiceAccount($serviceAccount) + { + $this->serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } + public function setSourceArchiveUrl($sourceArchiveUrl) + { + $this->sourceArchiveUrl = $sourceArchiveUrl; + } + public function getSourceArchiveUrl() + { + return $this->sourceArchiveUrl; + } + public function setSourceRepository(Google_Service_CloudFunctions_SourceRepository $sourceRepository) + { + $this->sourceRepository = $sourceRepository; + } + public function getSourceRepository() + { + return $this->sourceRepository; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + public function getTimeout() + { + return $this->timeout; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php new file mode 100644 index 00000000..03095384 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/EventTrigger.php @@ -0,0 +1,39 @@ +eventType = $eventType; + } + public function getEventType() + { + return $this->eventType; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php new file mode 100644 index 00000000..1141c4bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/HTTPSTrigger.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php new file mode 100644 index 00000000..c8ec7722 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListFunctionsResponse.php @@ -0,0 +1,41 @@ +functions = $functions; + } + public function getFunctions() + { + return $this->functions; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php new file mode 100644 index 00000000..5e4fe418 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListLocationsResponse.php @@ -0,0 +1,41 @@ +locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php new file mode 100644 index 00000000..9de98b6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php new file mode 100644 index 00000000..1cf8057d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Location.php @@ -0,0 +1,57 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php new file mode 100644 index 00000000..4385fb57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudFunctions_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php new file mode 100644 index 00000000..76430bc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/OperationMetadataV1Beta2.php @@ -0,0 +1,48 @@ +request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php new file mode 100644 index 00000000..4b431326 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Operations.php @@ -0,0 +1,65 @@ + + * $cloudfunctionsService = new Google_Service_CloudFunctions(...); + * $operations = $cloudfunctionsService->operations; + * + */ +class Google_Service_CloudFunctions_Resource_Operations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudFunctions_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string name The name of the operation collection. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_CloudFunctions_ListOperationsResponse + */ + public function listOperations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudFunctions_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php new file mode 100644 index 00000000..96f030fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $cloudfunctionsService = new Google_Service_CloudFunctions(...); + * $projects = $cloudfunctionsService->projects; + * + */ +class Google_Service_CloudFunctions_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php new file mode 100644 index 00000000..b233fcce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocations.php @@ -0,0 +1,47 @@ + + * $cloudfunctionsService = new Google_Service_CloudFunctions(...); + * $locations = $cloudfunctionsService->locations; + * + */ +class Google_Service_CloudFunctions_Resource_ProjectsLocations extends Google_Service_Resource +{ + /** + * Lists information about the supported locations for this service. + * (locations.listProjectsLocations) + * + * @param string $name The resource that owns the locations collection, if + * applicable. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_CloudFunctions_ListLocationsResponse + */ + public function listProjectsLocations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudFunctions_ListLocationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php new file mode 100644 index 00000000..bf62afc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Resource/ProjectsLocationsFunctions.php @@ -0,0 +1,126 @@ + + * $cloudfunctionsService = new Google_Service_CloudFunctions(...); + * $functions = $cloudfunctionsService->functions; + * + */ +class Google_Service_CloudFunctions_Resource_ProjectsLocationsFunctions extends Google_Service_Resource +{ + /** + * Invokes synchronously deployed function. To be used for testing, very limited + * traffic allowed. (functions.callProjectsLocationsFunctions) + * + * @param string $name The name of the function to be called. + * @param Google_Service_CloudFunctions_CallFunctionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_CallFunctionResponse + */ + public function callProjectsLocationsFunctions($name, Google_Service_CloudFunctions_CallFunctionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('call', array($params), "Google_Service_CloudFunctions_CallFunctionResponse"); + } + /** + * Creates a new function. If a function with the given name already exists in + * the specified project, the long running operation will return + * `ALREADY_EXISTS` error. (functions.create) + * + * @param string $location The project and location in which the function should + * be created, specified in the format `projects/locations` + * @param Google_Service_CloudFunctions_CloudFunction $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_Operation + */ + public function create($location, Google_Service_CloudFunctions_CloudFunction $postBody, $optParams = array()) + { + $params = array('location' => $location, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudFunctions_Operation"); + } + /** + * Deletes a function with the given name from the specified project. If the + * given function is used by some trigger, the trigger will be updated to remove + * this function. (functions.delete) + * + * @param string $name The name of the function which should be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_Operation + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudFunctions_Operation"); + } + /** + * Returns a function with the given name from the requested project. + * (functions.get) + * + * @param string $name The name of the function which details should be + * obtained. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_CloudFunction + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudFunctions_CloudFunction"); + } + /** + * Returns a list of functions that belong to the requested project. + * (functions.listProjectsLocationsFunctions) + * + * @param string $location The project and location from which the function + * should be listed, specified in the format `projects/locations` If you want to + * list functions in all locations, use "-" in place of a location. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value returned by the last + * `ListFunctionsResponse`; indicates that this is a continuation of a prior + * `ListFunctions` call, and that the system should return the next page of + * data. + * @opt_param int pageSize Maximum number of functions to return per call. + * @return Google_Service_CloudFunctions_ListFunctionsResponse + */ + public function listProjectsLocationsFunctions($location, $optParams = array()) + { + $params = array('location' => $location); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudFunctions_ListFunctionsResponse"); + } + /** + * Updates existing function. (functions.update) + * + * @param string $name The name of the function to be updated. + * @param Google_Service_CloudFunctions_CloudFunction $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudFunctions_Operation + */ + public function update($name, Google_Service_CloudFunctions_CloudFunction $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_CloudFunctions_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php new file mode 100644 index 00000000..d1727e45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/SourceRepository.php @@ -0,0 +1,75 @@ +branch = $branch; + } + public function getBranch() + { + return $this->branch; + } + public function setDeployedRevision($deployedRevision) + { + $this->deployedRevision = $deployedRevision; + } + public function getDeployedRevision() + { + return $this->deployedRevision; + } + public function setRepositoryUrl($repositoryUrl) + { + $this->repositoryUrl = $repositoryUrl; + } + public function getRepositoryUrl() + { + return $this->repositoryUrl; + } + public function setRevision($revision) + { + $this->revision = $revision; + } + public function getRevision() + { + return $this->revision; + } + public function setSourcePath($sourcePath) + { + $this->sourcePath = $sourcePath; + } + public function getSourcePath() + { + return $this->sourcePath; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php new file mode 100644 index 00000000..c0a151cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudFunctions/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php new file mode 100644 index 00000000..2ee4d958 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS.php @@ -0,0 +1,389 @@ + + * Manages encryption for your cloud services the same way you do on-premise. + * You can generate, use, rotate, and destroy AES256 encryption keys.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudKMS extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_locations; + public $projects_locations_keyRings; + public $projects_locations_keyRings_cryptoKeys; + public $projects_locations_keyRings_cryptoKeys_cryptoKeyVersions; + + /** + * Constructs the internal representation of the CloudKMS service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudkms.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudkms'; + + $this->projects_locations = new Google_Service_CloudKMS_Resource_ProjectsLocations( + $this, + $this->serviceName, + 'locations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/locations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_locations_keyRings = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRings( + $this, + $this->serviceName, + 'keyRings', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/keyRings', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'keyRingId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/keyRings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_locations_keyRings_cryptoKeys = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeys( + $this, + $this->serviceName, + 'cryptoKeys', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/cryptoKeys', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'cryptoKeyId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decrypt' => array( + 'path' => 'v1/{+name}:decrypt', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'encrypt' => array( + 'path' => 'v1/{+name}:encrypt', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/cryptoKeys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatePrimaryVersion' => array( + 'path' => 'v1/{+name}:updatePrimaryVersion', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions = new Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions( + $this, + $this->serviceName, + 'cryptoKeyVersions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/cryptoKeyVersions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'destroy' => array( + 'path' => 'v1/{+name}:destroy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/cryptoKeyVersions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'restore' => array( + 'path' => 'v1/{+name}:restore', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php new file mode 100644 index 00000000..d723d3ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditConfig.php @@ -0,0 +1,50 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setExemptedMembers($exemptedMembers) + { + $this->exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php new file mode 100644 index 00000000..1e4df3fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php new file mode 100644 index 00000000..518959df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php new file mode 100644 index 00000000..a46f146b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CloudAuditOptions.php @@ -0,0 +1,20 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php new file mode 100644 index 00000000..13bd4afb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php new file mode 100644 index 00000000..ce6443e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKey.php @@ -0,0 +1,76 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNextRotationTime($nextRotationTime) + { + $this->nextRotationTime = $nextRotationTime; + } + public function getNextRotationTime() + { + return $this->nextRotationTime; + } + public function setPrimary(Google_Service_CloudKMS_CryptoKeyVersion $primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setPurpose($purpose) + { + $this->purpose = $purpose; + } + public function getPurpose() + { + return $this->purpose; + } + public function setRotationPeriod($rotationPeriod) + { + $this->rotationPeriod = $rotationPeriod; + } + public function getRotationPeriod() + { + return $this->rotationPeriod; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php new file mode 100644 index 00000000..764a3b57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/CryptoKeyVersion.php @@ -0,0 +1,66 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDestroyEventTime($destroyEventTime) + { + $this->destroyEventTime = $destroyEventTime; + } + public function getDestroyEventTime() + { + return $this->destroyEventTime; + } + public function setDestroyTime($destroyTime) + { + $this->destroyTime = $destroyTime; + } + public function getDestroyTime() + { + return $this->destroyTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php new file mode 100644 index 00000000..616a5a64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DataAccessOptions.php @@ -0,0 +1,20 @@ +additionalAuthenticatedData = $additionalAuthenticatedData; + } + public function getAdditionalAuthenticatedData() + { + return $this->additionalAuthenticatedData; + } + public function setCiphertext($ciphertext) + { + $this->ciphertext = $ciphertext; + } + public function getCiphertext() + { + return $this->ciphertext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php new file mode 100644 index 00000000..25834642 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DecryptResponse.php @@ -0,0 +1,30 @@ +plaintext = $plaintext; + } + public function getPlaintext() + { + return $this->plaintext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php new file mode 100644 index 00000000..080dff6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/DestroyCryptoKeyVersionRequest.php @@ -0,0 +1,20 @@ +additionalAuthenticatedData = $additionalAuthenticatedData; + } + public function getAdditionalAuthenticatedData() + { + return $this->additionalAuthenticatedData; + } + public function setPlaintext($plaintext) + { + $this->plaintext = $plaintext; + } + public function getPlaintext() + { + return $this->plaintext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php new file mode 100644 index 00000000..59756352 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/EncryptResponse.php @@ -0,0 +1,39 @@ +ciphertext = $ciphertext; + } + public function getCiphertext() + { + return $this->ciphertext; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php new file mode 100644 index 00000000..0c28e6c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/KeyRing.php @@ -0,0 +1,39 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php new file mode 100644 index 00000000..e2fb03b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeyVersionsResponse.php @@ -0,0 +1,50 @@ +cryptoKeyVersions = $cryptoKeyVersions; + } + public function getCryptoKeyVersions() + { + return $this->cryptoKeyVersions; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php new file mode 100644 index 00000000..6c601d48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListCryptoKeysResponse.php @@ -0,0 +1,50 @@ +cryptoKeys = $cryptoKeys; + } + public function getCryptoKeys() + { + return $this->cryptoKeys; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php new file mode 100644 index 00000000..07b0a709 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListKeyRingsResponse.php @@ -0,0 +1,50 @@ +keyRings = $keyRings; + } + public function getKeyRings() + { + return $this->keyRings; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php new file mode 100644 index 00000000..c8d71f4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/ListLocationsResponse.php @@ -0,0 +1,41 @@ +locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php new file mode 100644 index 00000000..f9960bfd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Location.php @@ -0,0 +1,57 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php new file mode 100644 index 00000000..0e9affde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/LogConfig.php @@ -0,0 +1,51 @@ +cloudAudit = $cloudAudit; + } + public function getCloudAudit() + { + return $this->cloudAudit; + } + public function setCounter(Google_Service_CloudKMS_CounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } + public function setDataAccess(Google_Service_CloudKMS_DataAccessOptions $dataAccess) + { + $this->dataAccess = $dataAccess; + } + public function getDataAccess() + { + return $this->dataAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php new file mode 100644 index 00000000..8fbce2c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php new file mode 100644 index 00000000..e8e959e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $cloudkmsService = new Google_Service_CloudKMS(...); + * $projects = $cloudkmsService->projects; + * + */ +class Google_Service_CloudKMS_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php new file mode 100644 index 00000000..4db94ee2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocations.php @@ -0,0 +1,60 @@ + + * $cloudkmsService = new Google_Service_CloudKMS(...); + * $locations = $cloudkmsService->locations; + * + */ +class Google_Service_CloudKMS_Resource_ProjectsLocations extends Google_Service_Resource +{ + /** + * Get information about a location. (locations.get) + * + * @param string $name Resource name for the location. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_Location + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudKMS_Location"); + } + /** + * Lists information about the supported locations for this service. + * (locations.listProjectsLocations) + * + * @param string $name The resource that owns the locations collection, if + * applicable. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_CloudKMS_ListLocationsResponse + */ + public function listProjectsLocations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudKMS_ListLocationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php new file mode 100644 index 00000000..8acd8a5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRings.php @@ -0,0 +1,135 @@ + + * $cloudkmsService = new Google_Service_CloudKMS(...); + * $keyRings = $cloudkmsService->keyRings; + * + */ +class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRings extends Google_Service_Resource +{ + /** + * Create a new KeyRing in a given Project and Location. (keyRings.create) + * + * @param string $parent Required. The resource name of the location associated + * with the KeyRings, in the format `projects/locations`. + * @param Google_Service_CloudKMS_KeyRing $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string keyRingId Required. It must be unique within a location and + * match the regular expression `[a-zA-Z0-9_-]{1,63}` + * @return Google_Service_CloudKMS_KeyRing + */ + public function create($parent, Google_Service_CloudKMS_KeyRing $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudKMS_KeyRing"); + } + /** + * Returns metadata for a given KeyRing. (keyRings.get) + * + * @param string $name The name of the KeyRing to get. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_KeyRing + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudKMS_KeyRing"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (keyRings.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudKMS_Policy"); + } + /** + * Lists KeyRings. (keyRings.listProjectsLocationsKeyRings) + * + * @param string $parent Required. The resource name of the location associated + * with the KeyRings, in the format `projects/locations`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional pagination token, returned earlier via + * ListKeyRingsResponse.next_page_token. + * @opt_param int pageSize Optional limit on the number of KeyRings to include + * in the response. Further KeyRings can subsequently be obtained by including + * the ListKeyRingsResponse.next_page_token in a subsequent request. If + * unspecified, the server will pick an appropriate default. + * @return Google_Service_CloudKMS_ListKeyRingsResponse + */ + public function listProjectsLocationsKeyRings($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudKMS_ListKeyRingsResponse"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (keyRings.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudKMS_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_Policy + */ + public function setIamPolicy($resource, Google_Service_CloudKMS_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudKMS_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (keyRings.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_CloudKMS_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_CloudKMS_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudKMS_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php new file mode 100644 index 00000000..503233c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeys.php @@ -0,0 +1,204 @@ + + * $cloudkmsService = new Google_Service_CloudKMS(...); + * $cryptoKeys = $cloudkmsService->cryptoKeys; + * + */ +class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeys extends Google_Service_Resource +{ + /** + * Create a new CryptoKey within a KeyRing. + * + * CryptoKey.purpose is required. (cryptoKeys.create) + * + * @param string $parent Required. The name of the KeyRing associated with the + * CryptoKeys. + * @param Google_Service_CloudKMS_CryptoKey $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string cryptoKeyId Required. It must be unique within a KeyRing + * and match the regular expression `[a-zA-Z0-9_-]{1,63}` + * @return Google_Service_CloudKMS_CryptoKey + */ + public function create($parent, Google_Service_CloudKMS_CryptoKey $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudKMS_CryptoKey"); + } + /** + * Decrypt data that was protected by Encrypt. (cryptoKeys.decrypt) + * + * @param string $name Required. The resource name of the CryptoKey to use for + * decryption. The server will choose the appropriate version. + * @param Google_Service_CloudKMS_DecryptRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_DecryptResponse + */ + public function decrypt($name, Google_Service_CloudKMS_DecryptRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('decrypt', array($params), "Google_Service_CloudKMS_DecryptResponse"); + } + /** + * Encrypt data, so that it can only be recovered by a call to Decrypt. + * (cryptoKeys.encrypt) + * + * @param string $name Required. The resource name of the CryptoKey or + * CryptoKeyVersion to use for encryption. + * + * If a CryptoKey is specified, the server will use its primary version. + * @param Google_Service_CloudKMS_EncryptRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_EncryptResponse + */ + public function encrypt($name, Google_Service_CloudKMS_EncryptRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('encrypt', array($params), "Google_Service_CloudKMS_EncryptResponse"); + } + /** + * Returns metadata for a given CryptoKey, as well as its primary + * CryptoKeyVersion. (cryptoKeys.get) + * + * @param string $name The name of the CryptoKey to get. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKey + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudKMS_CryptoKey"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (cryptoKeys.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudKMS_Policy"); + } + /** + * Lists CryptoKeys. (cryptoKeys.listProjectsLocationsKeyRingsCryptoKeys) + * + * @param string $parent Required. The resource name of the KeyRing to list, in + * the format `projects/locations/keyRings`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional pagination token, returned earlier via + * ListCryptoKeysResponse.next_page_token. + * @opt_param int pageSize Optional limit on the number of CryptoKeys to include + * in the response. Further CryptoKeys can subsequently be obtained by + * including the ListCryptoKeysResponse.next_page_token in a subsequent request. + * If unspecified, the server will pick an appropriate default. + * @return Google_Service_CloudKMS_ListCryptoKeysResponse + */ + public function listProjectsLocationsKeyRingsCryptoKeys($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudKMS_ListCryptoKeysResponse"); + } + /** + * Update a CryptoKey. (cryptoKeys.patch) + * + * @param string $name Output only. The resource name for this CryptoKey in the + * format `projects/locations/keyRings/cryptoKeys`. + * @param Google_Service_CloudKMS_CryptoKey $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required list of fields to be updated in this + * request. + * @return Google_Service_CloudKMS_CryptoKey + */ + public function patch($name, Google_Service_CloudKMS_CryptoKey $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_CloudKMS_CryptoKey"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (cryptoKeys.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudKMS_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_Policy + */ + public function setIamPolicy($resource, Google_Service_CloudKMS_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudKMS_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (cryptoKeys.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_CloudKMS_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_CloudKMS_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudKMS_TestIamPermissionsResponse"); + } + /** + * Update the version of a CryptoKey that will be used in Encrypt + * (cryptoKeys.updatePrimaryVersion) + * + * @param string $name The resource name of the CryptoKey to update. + * @param Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKey + */ + public function updatePrimaryVersion($name, Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatePrimaryVersion', array($params), "Google_Service_CloudKMS_CryptoKey"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php new file mode 100644 index 00000000..e0f6ed75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/Resource/ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions.php @@ -0,0 +1,143 @@ + + * $cloudkmsService = new Google_Service_CloudKMS(...); + * $cryptoKeyVersions = $cloudkmsService->cryptoKeyVersions; + * + */ +class Google_Service_CloudKMS_Resource_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions extends Google_Service_Resource +{ + /** + * Create a new CryptoKeyVersion in a CryptoKey. + * + * The server will assign the next sequential id. If unset, state will be set to + * ENABLED. (cryptoKeyVersions.create) + * + * @param string $parent Required. The name of the CryptoKey associated with the + * CryptoKeyVersions. + * @param Google_Service_CloudKMS_CryptoKeyVersion $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKeyVersion + */ + public function create($parent, Google_Service_CloudKMS_CryptoKeyVersion $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudKMS_CryptoKeyVersion"); + } + /** + * Schedule a CryptoKeyVersion for destruction. + * + * Upon calling this method, CryptoKeyVersion.state will be set to + * DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the + * future, at which point the state will be changed to DESTROYED, and the key + * material will be irrevocably destroyed. + * + * Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to + * reverse the process. (cryptoKeyVersions.destroy) + * + * @param string $name The resource name of the CryptoKeyVersion to destroy. + * @param Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKeyVersion + */ + public function destroy($name, Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('destroy', array($params), "Google_Service_CloudKMS_CryptoKeyVersion"); + } + /** + * Returns metadata for a given CryptoKeyVersion. (cryptoKeyVersions.get) + * + * @param string $name The name of the CryptoKeyVersion to get. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKeyVersion + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudKMS_CryptoKeyVersion"); + } + /** + * Lists CryptoKeyVersions. + * (cryptoKeyVersions.listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions) + * + * @param string $parent Required. The resource name of the CryptoKey to list, + * in the format `projects/locations/keyRings/cryptoKeys`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional pagination token, returned earlier via + * ListCryptoKeyVersionsResponse.next_page_token. + * @opt_param int pageSize Optional limit on the number of CryptoKeyVersions to + * include in the response. Further CryptoKeyVersions can subsequently be + * obtained by including the ListCryptoKeyVersionsResponse.next_page_token in a + * subsequent request. If unspecified, the server will pick an appropriate + * default. + * @return Google_Service_CloudKMS_ListCryptoKeyVersionsResponse + */ + public function listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudKMS_ListCryptoKeyVersionsResponse"); + } + /** + * Update a CryptoKeyVersion's metadata. + * + * state may be changed between ENABLED and DISABLED using this method. See + * DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other + * states. (cryptoKeyVersions.patch) + * + * @param string $name Output only. The resource name for this CryptoKeyVersion + * in the format `projects/locations/keyRings/cryptoKeys/cryptoKeyVersions`. + * @param Google_Service_CloudKMS_CryptoKeyVersion $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required list of fields to be updated in this + * request. + * @return Google_Service_CloudKMS_CryptoKeyVersion + */ + public function patch($name, Google_Service_CloudKMS_CryptoKeyVersion $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_CloudKMS_CryptoKeyVersion"); + } + /** + * Restore a CryptoKeyVersion in the DESTROY_SCHEDULED, state. + * + * Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and + * destroy_time will be cleared. (cryptoKeyVersions.restore) + * + * @param string $name The resource name of the CryptoKeyVersion to restore. + * @param Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudKMS_CryptoKeyVersion + */ + public function restore($name, Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('restore', array($params), "Google_Service_CloudKMS_CryptoKeyVersion"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php new file mode 100644 index 00000000..5408e12f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/RestoreCryptoKeyVersionRequest.php @@ -0,0 +1,20 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIn($in) + { + $this->in = $in; + } + public function getIn() + { + return $this->in; + } + public function setLogConfig($logConfig) + { + $this->logConfig = $logConfig; + } + public function getLogConfig() + { + return $this->logConfig; + } + public function setNotIn($notIn) + { + $this->notIn = $notIn; + } + public function getNotIn() + { + return $this->notIn; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php new file mode 100644 index 00000000..cf66febc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/SetIamPolicyRequest.php @@ -0,0 +1,40 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php new file mode 100644 index 00000000..c83b1cb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php new file mode 100644 index 00000000..43f1a915 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php new file mode 100644 index 00000000..673148bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudKMS/UpdateCryptoKeyPrimaryVersionRequest.php @@ -0,0 +1,30 @@ +cryptoKeyVersionId = $cryptoKeyVersionId; + } + public function getCryptoKeyVersionId() + { + return $this->cryptoKeyVersionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php new file mode 100644 index 00000000..851a3419 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning.php @@ -0,0 +1,337 @@ + + * An API to enable creating and using machine learning models.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudMachineLearning extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects; + public $projects_jobs; + public $projects_models; + public $projects_models_versions; + public $projects_operations; + + /** + * Constructs the internal representation of the CloudMachineLearning service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://ml.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'ml'; + + $this->projects = new Google_Service_CloudMachineLearning_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'getConfig' => array( + 'path' => 'v1beta1/{+name}:getConfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'predict' => array( + 'path' => 'v1beta1/{+name}:predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_jobs = new Google_Service_CloudMachineLearning_Resource_ProjectsJobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1beta1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1beta1/{+parent}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+parent}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_models = new Google_Service_CloudMachineLearning_Resource_ProjectsModels( + $this, + $this->serviceName, + 'models', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta1/{+parent}/models', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+parent}/models', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_models_versions = new Google_Service_CloudMachineLearning_Resource_ProjectsModelsVersions( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta1/{+parent}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+parent}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setDefault' => array( + 'path' => 'v1beta1/{+name}:setDefault', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_operations = new Google_Service_CloudMachineLearning_Resource_ProjectsOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1beta1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+name}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php new file mode 100644 index 00000000..21929b73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleApiHttpBody.php @@ -0,0 +1,39 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php new file mode 100644 index 00000000..2203115f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1CancelJobRequest.php @@ -0,0 +1,20 @@ +serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } + public function setServiceAccountProject($serviceAccountProject) + { + $this->serviceAccountProject = $serviceAccountProject; + } + public function getServiceAccountProject() + { + return $this->serviceAccountProject; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php new file mode 100644 index 00000000..3c5cd116 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutput.php @@ -0,0 +1,60 @@ +allMetrics = $allMetrics; + } + public function getAllMetrics() + { + return $this->allMetrics; + } + public function setFinalMetric(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric $finalMetric) + { + $this->finalMetric = $finalMetric; + } + public function getFinalMetric() + { + return $this->finalMetric; + } + public function setHyperparameters($hyperparameters) + { + $this->hyperparameters = $hyperparameters; + } + public function getHyperparameters() + { + return $this->hyperparameters; + } + public function setTrialId($trialId) + { + $this->trialId = $trialId; + } + public function getTrialId() + { + return $this->trialId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php new file mode 100644 index 00000000..14694e4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.php @@ -0,0 +1,39 @@ +objectiveValue = $objectiveValue; + } + public function getObjectiveValue() + { + return $this->objectiveValue; + } + public function setTrainingStep($trainingStep) + { + $this->trainingStep = $trainingStep; + } + public function getTrainingStep() + { + return $this->trainingStep; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php new file mode 100644 index 00000000..c03f7274 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1HyperparameterSpec.php @@ -0,0 +1,59 @@ +goal = $goal; + } + public function getGoal() + { + return $this->goal; + } + public function setMaxParallelTrials($maxParallelTrials) + { + $this->maxParallelTrials = $maxParallelTrials; + } + public function getMaxParallelTrials() + { + return $this->maxParallelTrials; + } + public function setMaxTrials($maxTrials) + { + $this->maxTrials = $maxTrials; + } + public function getMaxTrials() + { + return $this->maxTrials; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php new file mode 100644 index 00000000..6817d8a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Job.php @@ -0,0 +1,115 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setErrorMessage($errorMessage) + { + $this->errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setPredictionInput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionInput $predictionInput) + { + $this->predictionInput = $predictionInput; + } + public function getPredictionInput() + { + return $this->predictionInput; + } + public function setPredictionOutput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictionOutput $predictionOutput) + { + $this->predictionOutput = $predictionOutput; + } + public function getPredictionOutput() + { + return $this->predictionOutput; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTrainingInput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingInput $trainingInput) + { + $this->trainingInput = $trainingInput; + } + public function getTrainingInput() + { + return $this->trainingInput; + } + public function setTrainingOutput(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1TrainingOutput $trainingOutput) + { + $this->trainingOutput = $trainingOutput; + } + public function getTrainingOutput() + { + return $this->trainingOutput; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php new file mode 100644 index 00000000..4fdb12be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListJobsResponse.php @@ -0,0 +1,41 @@ +jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php new file mode 100644 index 00000000..fdea12aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListModelsResponse.php @@ -0,0 +1,41 @@ +models = $models; + } + public function getModels() + { + return $this->models; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php new file mode 100644 index 00000000..4a0bbc87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ListVersionsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVersions($versions) + { + $this->versions = $versions; + } + public function getVersions() + { + return $this->versions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php new file mode 100644 index 00000000..a86a626b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Model.php @@ -0,0 +1,49 @@ +defaultVersion = $defaultVersion; + } + public function getDefaultVersion() + { + return $this->defaultVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php new file mode 100644 index 00000000..c434b276 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1OperationMetadata.php @@ -0,0 +1,85 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setIsCancellationRequested($isCancellationRequested) + { + $this->isCancellationRequested = $isCancellationRequested; + } + public function getIsCancellationRequested() + { + return $this->isCancellationRequested; + } + public function setModelName($modelName) + { + $this->modelName = $modelName; + } + public function getModelName() + { + return $this->modelName; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setVersion(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php new file mode 100644 index 00000000..4403e505 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1ParameterSpec.php @@ -0,0 +1,85 @@ +categoricalValues = $categoricalValues; + } + public function getCategoricalValues() + { + return $this->categoricalValues; + } + public function setDiscreteValues($discreteValues) + { + $this->discreteValues = $discreteValues; + } + public function getDiscreteValues() + { + return $this->discreteValues; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setParameterName($parameterName) + { + $this->parameterName = $parameterName; + } + public function getParameterName() + { + return $this->parameterName; + } + public function setScaleType($scaleType) + { + $this->scaleType = $scaleType; + } + public function getScaleType() + { + return $this->scaleType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php new file mode 100644 index 00000000..e27cfe46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictRequest.php @@ -0,0 +1,31 @@ +httpBody = $httpBody; + } + public function getHttpBody() + { + return $this->httpBody; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php new file mode 100644 index 00000000..1dbd8138 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionInput.php @@ -0,0 +1,85 @@ +dataFormat = $dataFormat; + } + public function getDataFormat() + { + return $this->dataFormat; + } + public function setInputPaths($inputPaths) + { + $this->inputPaths = $inputPaths; + } + public function getInputPaths() + { + return $this->inputPaths; + } + public function setMaxWorkerCount($maxWorkerCount) + { + $this->maxWorkerCount = $maxWorkerCount; + } + public function getMaxWorkerCount() + { + return $this->maxWorkerCount; + } + public function setModelName($modelName) + { + $this->modelName = $modelName; + } + public function getModelName() + { + return $this->modelName; + } + public function setOutputPath($outputPath) + { + $this->outputPath = $outputPath; + } + public function getOutputPath() + { + return $this->outputPath; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php new file mode 100644 index 00000000..7a8080c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1PredictionOutput.php @@ -0,0 +1,48 @@ +errorCount = $errorCount; + } + public function getErrorCount() + { + return $this->errorCount; + } + public function setOutputPath($outputPath) + { + $this->outputPath = $outputPath; + } + public function getOutputPath() + { + return $this->outputPath; + } + public function setPredictionCount($predictionCount) + { + $this->predictionCount = $predictionCount; + } + public function getPredictionCount() + { + return $this->predictionCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php new file mode 100644 index 00000000..71268c53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1SetDefaultVersionRequest.php @@ -0,0 +1,20 @@ +args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setHyperparameters(Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1HyperparameterSpec $hyperparameters) + { + $this->hyperparameters = $hyperparameters; + } + public function getHyperparameters() + { + return $this->hyperparameters; + } + public function setMasterType($masterType) + { + $this->masterType = $masterType; + } + public function getMasterType() + { + return $this->masterType; + } + public function setPackageUris($packageUris) + { + $this->packageUris = $packageUris; + } + public function getPackageUris() + { + return $this->packageUris; + } + public function setParameterServerCount($parameterServerCount) + { + $this->parameterServerCount = $parameterServerCount; + } + public function getParameterServerCount() + { + return $this->parameterServerCount; + } + public function setParameterServerType($parameterServerType) + { + $this->parameterServerType = $parameterServerType; + } + public function getParameterServerType() + { + return $this->parameterServerType; + } + public function setPythonModule($pythonModule) + { + $this->pythonModule = $pythonModule; + } + public function getPythonModule() + { + return $this->pythonModule; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setScaleTier($scaleTier) + { + $this->scaleTier = $scaleTier; + } + public function getScaleTier() + { + return $this->scaleTier; + } + public function setWorkerCount($workerCount) + { + $this->workerCount = $workerCount; + } + public function getWorkerCount() + { + return $this->workerCount; + } + public function setWorkerType($workerType) + { + $this->workerType = $workerType; + } + public function getWorkerType() + { + return $this->workerType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php new file mode 100644 index 00000000..a23e6ddd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1TrainingOutput.php @@ -0,0 +1,50 @@ +completedTrialCount = $completedTrialCount; + } + public function getCompletedTrialCount() + { + return $this->completedTrialCount; + } + public function setConsumedMLUnits($consumedMLUnits) + { + $this->consumedMLUnits = $consumedMLUnits; + } + public function getConsumedMLUnits() + { + return $this->consumedMLUnits; + } + public function setTrials($trials) + { + $this->trials = $trials; + } + public function getTrials() + { + return $this->trials; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php new file mode 100644 index 00000000..4e06e3f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleCloudMlV1beta1Version.php @@ -0,0 +1,75 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDeploymentUri($deploymentUri) + { + $this->deploymentUri = $deploymentUri; + } + public function getDeploymentUri() + { + return $this->deploymentUri; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setLastUseTime($lastUseTime) + { + $this->lastUseTime = $lastUseTime; + } + public function getLastUseTime() + { + return $this->lastUseTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php new file mode 100644 index 00000000..bddb8930 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php new file mode 100644 index 00000000..d9f2c4c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleLongrunningOperation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudMachineLearning_GoogleRpcStatus $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php new file mode 100644 index 00000000..3ae84da2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/GoogleProtobufEmpty.php @@ -0,0 +1,20 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php new file mode 100644 index 00000000..2f959bf2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/Projects.php @@ -0,0 +1,103 @@ + + * $mlService = new Google_Service_CloudMachineLearning(...); + * $projects = $mlService->projects; + * + */ +class Google_Service_CloudMachineLearning_Resource_Projects extends Google_Service_Resource +{ + /** + * Get the service account information associated with your project. You need + * this information in order to grant the service account persmissions for the + * Google Cloud Storage location where you put your model training code for + * training the model with Google Cloud Machine Learning. (projects.getConfig) + * + * @param string $name Required. The project name. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1GetConfigResponse + */ + public function getConfig($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('getConfig', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1GetConfigResponse"); + } + /** + * Performs prediction on the data in the request. + * + * Responses are very similar to requests. There are two top-level fields, each + * of which are JSON lists: + * + * predictions The list of predictions, one per instance in the request. + * error An error message returned instead of a prediction list if any + * instance produced an error. + * + * If the call is successful, the response body will contain one prediction + * entry per instance in the request body. If prediction fails for any instance, + * the response body will contain no predictions and will contian a single error + * entry instead. + * + * Even though there is one prediction per instance, the format of a prediction + * is not directly related to the format of an instance. Predictions take + * whatever format is specified in the outputs collection defined in the model. + * The collection of predictions is returned in a JSON list. Each member of the + * list can be a simple value, a list, or a JSON object of any complexity. If + * your model has more than one output tensor, each prediction will be a JSON + * object containing a name/value pair for each output. The names identify the + * output aliases in the graph. + * + * The following examples show some possible responses: + * + * A simple set of predictions for three input instances, where each prediction + * is an integer value: + * + * {"predictions": [5, 4, 3]} + * + * A more complex set of predictions, each containing two named values that + * correspond to output tensors, named **label** and **scores** respectively. + * The value of **label** is the predicted category ("car" or "beach") and + * **scores** contains a list of probabilities for that instance across the + * possible categories. + * + * {"predictions": [{"label": "beach", "scores": [0.1, 0.9]}, + * {"label": "car", "scores": [0.75, 0.25]}]} + * + * A response when there is an error processing an input instance: + * + * {"error": "Divide by zero"} (projects.predict) + * + * @param string $name Required. The resource name of a model or a version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleApiHttpBody + */ + public function predict($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1PredictRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_CloudMachineLearning_GoogleApiHttpBody"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php new file mode 100644 index 00000000..ba4459bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsJobs.php @@ -0,0 +1,103 @@ + + * $mlService = new Google_Service_CloudMachineLearning(...); + * $jobs = $mlService->jobs; + * + */ +class Google_Service_CloudMachineLearning_Resource_ProjectsJobs extends Google_Service_Resource +{ + /** + * Cancels a running job. (jobs.cancel) + * + * @param string $name Required. The name of the job to cancel. + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1CancelJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty + */ + public function cancel($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1CancelJobRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty"); + } + /** + * Creates a training or a batch prediction job. (jobs.create) + * + * @param string $parent Required. The project name. + * + * Authorization: requires `Editor` role on the specified project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job + */ + public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job"); + } + /** + * Describes a job. (jobs.get) + * + * @param string $name Required. The name of the job to get the description of. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Job"); + } + /** + * Lists the jobs in the project. (jobs.listProjectsJobs) + * + * @param string $parent Required. The name of the project for which to list + * jobs. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The number of jobs to retrieve per "page" + * of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @opt_param string filter Optional. Specifies the subset of jobs to retrieve. + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListJobsResponse + */ + public function listProjectsJobs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListJobsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php new file mode 100644 index 00000000..8a4a3422 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModels.php @@ -0,0 +1,114 @@ + + * $mlService = new Google_Service_CloudMachineLearning(...); + * $models = $mlService->models; + * + */ +class Google_Service_CloudMachineLearning_Resource_ProjectsModels extends Google_Service_Resource +{ + /** + * Creates a model which will later contain one or more versions. + * + * You must add at least one version before you can request predictions from the + * model. Add versions by calling [projects.models.versions.create](/ml/referenc + * e/rest/v1beta1/projects.models.versions/create). (models.create) + * + * @param string $parent Required. The project name. + * + * Authorization: requires `Editor` role on the specified project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model + */ + public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model"); + } + /** + * Deletes a model. + * + * You can only delete a model if there are no versions in it. You can delete + * versions by calling [projects.models.versions.delete](/ml/reference/rest/v1be + * ta1/projects.models.versions/delete). (models.delete) + * + * @param string $name Required. The name of the model. + * + * Authorization: requires `Editor` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation"); + } + /** + * Gets information about a model, including its name, the description (if set), + * and the default version (if at least one version of the model has been + * deployed). (models.get) + * + * @param string $name Required. The name of the model. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Model"); + } + /** + * Lists the models in a project. + * + * Each project can contain multiple models, and each model can have multiple + * versions. (models.listProjectsModels) + * + * @param string $parent Required. The name of the project whose models are to + * be listed. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The number of models to retrieve per "page" + * of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListModelsResponse + */ + public function listProjectsModels($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListModelsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php new file mode 100644 index 00000000..0f264fd8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsModelsVersions.php @@ -0,0 +1,152 @@ + + * $mlService = new Google_Service_CloudMachineLearning(...); + * $versions = $mlService->versions; + * + */ +class Google_Service_CloudMachineLearning_Resource_ProjectsModelsVersions extends Google_Service_Resource +{ + /** + * Creates a new version of a model from a trained TensorFlow model. + * + * If the version created in the cloud by this call is the first deployed + * version of the specified model, it will be made the default version of the + * model. When you add a version to a model that already has one or more + * versions, the default version does not automatically change. If you want a + * new version to be the default, you must call [projects.models.versions.setDef + * ault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault). + * (versions.create) + * + * @param string $parent Required. The name of the model. + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation + */ + public function create($parent, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation"); + } + /** + * Deletes a model version. + * + * Each model can have multiple versions deployed and in use at any given time. + * Use this method to remove a single version. + * + * Note: You cannot delete the version that is set as the default version of the + * model unless it is the only remaining version. (versions.delete) + * + * @param string $name Required. The name of the version. You can get the names + * of all the versions of a model by calling [projects.models.versions.list](/ml + * /reference/rest/v1beta1/projects.models.versions/list). + * + * Authorization: requires `Editor` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation"); + } + /** + * Gets information about a model version. + * + * Models can have multiple versions. You can call [projects.models.versions.lis + * t](/ml/reference/rest/v1beta1/projects.models.versions/list) to get the same + * information that this method returns for all of the versions of a model. + * (versions.get) + * + * @param string $name Required. The name of the version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version"); + } + /** + * Gets basic information about all the versions of a model. + * + * If you expect that a model has a lot of versions, or if you need to handle + * only a limited number of results at a time, you can request that the list be + * retrieved in batches (called pages): (versions.listProjectsModelsVersions) + * + * @param string $parent Required. The name of the model for which to list the + * version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The number of versions to retrieve per + * "page" of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListVersionsResponse + */ + public function listProjectsModelsVersions($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1ListVersionsResponse"); + } + /** + * Designates a version to be the default for the model. + * + * The default version is used for prediction requests made against the model + * that don't specify a version. + * + * The first version to be created for a model is automatically set as the + * default. You must make any subsequent changes to the default version setting + * manually using this method. (versions.setDefault) + * + * @param string $name Required. The name of the version to make the default for + * the model. You can get the names of all the versions of a model by calling [p + * rojects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.vers + * ions/list). + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version + */ + public function setDefault($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php new file mode 100644 index 00000000..3deb6405 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearning/Resource/ProjectsOperations.php @@ -0,0 +1,102 @@ + + * $mlService = new Google_Service_CloudMachineLearning(...); + * $operations = $mlService->operations; + * + */ +class Google_Service_CloudMachineLearning_Resource_ProjectsOperations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleProtobufEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearning_GoogleProtobufEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearning_GoogleLongrunningOperation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningOperation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listProjectsOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_CloudMachineLearning_GoogleLongrunningListOperationsResponse + */ + public function listProjectsOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearning_GoogleLongrunningListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php new file mode 100644 index 00000000..22cf5f6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine.php @@ -0,0 +1,338 @@ + + * An API to enable creating and using machine learning models.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudMachineLearningEngine extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects; + public $projects_jobs; + public $projects_models; + public $projects_models_versions; + public $projects_operations; + + /** + * Constructs the internal representation of the CloudMachineLearningEngine + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://ml.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'ml'; + + $this->projects = new Google_Service_CloudMachineLearningEngine_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'getConfig' => array( + 'path' => 'v1/{+name}:getConfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'predict' => array( + 'path' => 'v1/{+name}:predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_jobs = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsJobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/{+parent}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_models = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsModels( + $this, + $this->serviceName, + 'models', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/models', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/models', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_models_versions = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsModelsVersions( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setDefault' => array( + 'path' => 'v1/{+name}:setDefault', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_operations = new Google_Service_CloudMachineLearningEngine_Resource_ProjectsOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php new file mode 100644 index 00000000..9defb8c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleApiHttpBody.php @@ -0,0 +1,39 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php new file mode 100644 index 00000000..a53fd50d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1CancelJobRequest.php @@ -0,0 +1,20 @@ +serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } + public function setServiceAccountProject($serviceAccountProject) + { + $this->serviceAccountProject = $serviceAccountProject; + } + public function getServiceAccountProject() + { + return $this->serviceAccountProject; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php new file mode 100644 index 00000000..090b9545 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutput.php @@ -0,0 +1,60 @@ +allMetrics = $allMetrics; + } + public function getAllMetrics() + { + return $this->allMetrics; + } + public function setFinalMetric(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric $finalMetric) + { + $this->finalMetric = $finalMetric; + } + public function getFinalMetric() + { + return $this->finalMetric; + } + public function setHyperparameters($hyperparameters) + { + $this->hyperparameters = $hyperparameters; + } + public function getHyperparameters() + { + return $this->hyperparameters; + } + public function setTrialId($trialId) + { + $this->trialId = $trialId; + } + public function getTrialId() + { + return $this->trialId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php new file mode 100644 index 00000000..6ce8feaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.php @@ -0,0 +1,39 @@ +objectiveValue = $objectiveValue; + } + public function getObjectiveValue() + { + return $this->objectiveValue; + } + public function setTrainingStep($trainingStep) + { + $this->trainingStep = $trainingStep; + } + public function getTrainingStep() + { + return $this->trainingStep; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php new file mode 100644 index 00000000..8a5bbab8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1HyperparameterSpec.php @@ -0,0 +1,68 @@ +goal = $goal; + } + public function getGoal() + { + return $this->goal; + } + public function setHyperparameterMetricTag($hyperparameterMetricTag) + { + $this->hyperparameterMetricTag = $hyperparameterMetricTag; + } + public function getHyperparameterMetricTag() + { + return $this->hyperparameterMetricTag; + } + public function setMaxParallelTrials($maxParallelTrials) + { + $this->maxParallelTrials = $maxParallelTrials; + } + public function getMaxParallelTrials() + { + return $this->maxParallelTrials; + } + public function setMaxTrials($maxTrials) + { + $this->maxTrials = $maxTrials; + } + public function getMaxTrials() + { + return $this->maxTrials; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php new file mode 100644 index 00000000..12477968 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Job.php @@ -0,0 +1,115 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setErrorMessage($errorMessage) + { + $this->errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setPredictionInput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionInput $predictionInput) + { + $this->predictionInput = $predictionInput; + } + public function getPredictionInput() + { + return $this->predictionInput; + } + public function setPredictionOutput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput $predictionOutput) + { + $this->predictionOutput = $predictionOutput; + } + public function getPredictionOutput() + { + return $this->predictionOutput; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTrainingInput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput $trainingInput) + { + $this->trainingInput = $trainingInput; + } + public function getTrainingInput() + { + return $this->trainingInput; + } + public function setTrainingOutput(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput $trainingOutput) + { + $this->trainingOutput = $trainingOutput; + } + public function getTrainingOutput() + { + return $this->trainingOutput; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php new file mode 100644 index 00000000..64ee1e51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListJobsResponse.php @@ -0,0 +1,41 @@ +jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php new file mode 100644 index 00000000..94073eb1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListModelsResponse.php @@ -0,0 +1,41 @@ +models = $models; + } + public function getModels() + { + return $this->models; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php new file mode 100644 index 00000000..3854c313 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ListVersionsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVersions($versions) + { + $this->versions = $versions; + } + public function getVersions() + { + return $this->versions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php new file mode 100644 index 00000000..e2ce19b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ManualScaling.php @@ -0,0 +1,30 @@ +nodes = $nodes; + } + public function getNodes() + { + return $this->nodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php new file mode 100644 index 00000000..f510f862 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Model.php @@ -0,0 +1,68 @@ +defaultVersion = $defaultVersion; + } + public function getDefaultVersion() + { + return $this->defaultVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOnlinePredictionLogging($onlinePredictionLogging) + { + $this->onlinePredictionLogging = $onlinePredictionLogging; + } + public function getOnlinePredictionLogging() + { + return $this->onlinePredictionLogging; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php new file mode 100644 index 00000000..f1b33712 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1OperationMetadata.php @@ -0,0 +1,85 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setIsCancellationRequested($isCancellationRequested) + { + $this->isCancellationRequested = $isCancellationRequested; + } + public function getIsCancellationRequested() + { + return $this->isCancellationRequested; + } + public function setModelName($modelName) + { + $this->modelName = $modelName; + } + public function getModelName() + { + return $this->modelName; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setVersion(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php new file mode 100644 index 00000000..d75f5915 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1ParameterSpec.php @@ -0,0 +1,85 @@ +categoricalValues = $categoricalValues; + } + public function getCategoricalValues() + { + return $this->categoricalValues; + } + public function setDiscreteValues($discreteValues) + { + $this->discreteValues = $discreteValues; + } + public function getDiscreteValues() + { + return $this->discreteValues; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setParameterName($parameterName) + { + $this->parameterName = $parameterName; + } + public function getParameterName() + { + return $this->parameterName; + } + public function setScaleType($scaleType) + { + $this->scaleType = $scaleType; + } + public function getScaleType() + { + return $this->scaleType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php new file mode 100644 index 00000000..763b83a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictRequest.php @@ -0,0 +1,31 @@ +httpBody = $httpBody; + } + public function getHttpBody() + { + return $this->httpBody; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php new file mode 100644 index 00000000..64b3b2a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionInput.php @@ -0,0 +1,103 @@ +dataFormat = $dataFormat; + } + public function getDataFormat() + { + return $this->dataFormat; + } + public function setInputPaths($inputPaths) + { + $this->inputPaths = $inputPaths; + } + public function getInputPaths() + { + return $this->inputPaths; + } + public function setMaxWorkerCount($maxWorkerCount) + { + $this->maxWorkerCount = $maxWorkerCount; + } + public function getMaxWorkerCount() + { + return $this->maxWorkerCount; + } + public function setModelName($modelName) + { + $this->modelName = $modelName; + } + public function getModelName() + { + return $this->modelName; + } + public function setOutputPath($outputPath) + { + $this->outputPath = $outputPath; + } + public function getOutputPath() + { + return $this->outputPath; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setRuntimeVersion($runtimeVersion) + { + $this->runtimeVersion = $runtimeVersion; + } + public function getRuntimeVersion() + { + return $this->runtimeVersion; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php new file mode 100644 index 00000000..b3765585 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1PredictionOutput.php @@ -0,0 +1,57 @@ +errorCount = $errorCount; + } + public function getErrorCount() + { + return $this->errorCount; + } + public function setNodeHours($nodeHours) + { + $this->nodeHours = $nodeHours; + } + public function getNodeHours() + { + return $this->nodeHours; + } + public function setOutputPath($outputPath) + { + $this->outputPath = $outputPath; + } + public function getOutputPath() + { + return $this->outputPath; + } + public function setPredictionCount($predictionCount) + { + $this->predictionCount = $predictionCount; + } + public function getPredictionCount() + { + return $this->predictionCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php new file mode 100644 index 00000000..cc51eec8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1SetDefaultVersionRequest.php @@ -0,0 +1,20 @@ +args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setHyperparameters(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec $hyperparameters) + { + $this->hyperparameters = $hyperparameters; + } + public function getHyperparameters() + { + return $this->hyperparameters; + } + public function setJobDir($jobDir) + { + $this->jobDir = $jobDir; + } + public function getJobDir() + { + return $this->jobDir; + } + public function setMasterType($masterType) + { + $this->masterType = $masterType; + } + public function getMasterType() + { + return $this->masterType; + } + public function setPackageUris($packageUris) + { + $this->packageUris = $packageUris; + } + public function getPackageUris() + { + return $this->packageUris; + } + public function setParameterServerCount($parameterServerCount) + { + $this->parameterServerCount = $parameterServerCount; + } + public function getParameterServerCount() + { + return $this->parameterServerCount; + } + public function setParameterServerType($parameterServerType) + { + $this->parameterServerType = $parameterServerType; + } + public function getParameterServerType() + { + return $this->parameterServerType; + } + public function setPythonModule($pythonModule) + { + $this->pythonModule = $pythonModule; + } + public function getPythonModule() + { + return $this->pythonModule; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setRuntimeVersion($runtimeVersion) + { + $this->runtimeVersion = $runtimeVersion; + } + public function getRuntimeVersion() + { + return $this->runtimeVersion; + } + public function setScaleTier($scaleTier) + { + $this->scaleTier = $scaleTier; + } + public function getScaleTier() + { + return $this->scaleTier; + } + public function setWorkerCount($workerCount) + { + $this->workerCount = $workerCount; + } + public function getWorkerCount() + { + return $this->workerCount; + } + public function setWorkerType($workerType) + { + $this->workerType = $workerType; + } + public function getWorkerType() + { + return $this->workerType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php new file mode 100644 index 00000000..1e67d343 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1TrainingOutput.php @@ -0,0 +1,59 @@ +completedTrialCount = $completedTrialCount; + } + public function getCompletedTrialCount() + { + return $this->completedTrialCount; + } + public function setConsumedMLUnits($consumedMLUnits) + { + $this->consumedMLUnits = $consumedMLUnits; + } + public function getConsumedMLUnits() + { + return $this->consumedMLUnits; + } + public function setIsHyperparameterTuningJob($isHyperparameterTuningJob) + { + $this->isHyperparameterTuningJob = $isHyperparameterTuningJob; + } + public function getIsHyperparameterTuningJob() + { + return $this->isHyperparameterTuningJob; + } + public function setTrials($trials) + { + $this->trials = $trials; + } + public function getTrials() + { + return $this->trials; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php new file mode 100644 index 00000000..426b7cbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1Version.php @@ -0,0 +1,94 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDeploymentUri($deploymentUri) + { + $this->deploymentUri = $deploymentUri; + } + public function getDeploymentUri() + { + return $this->deploymentUri; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setLastUseTime($lastUseTime) + { + $this->lastUseTime = $lastUseTime; + } + public function getLastUseTime() + { + return $this->lastUseTime; + } + public function setManualScaling(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ManualScaling $manualScaling) + { + $this->manualScaling = $manualScaling; + } + public function getManualScaling() + { + return $this->manualScaling; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRuntimeVersion($runtimeVersion) + { + $this->runtimeVersion = $runtimeVersion; + } + public function getRuntimeVersion() + { + return $this->runtimeVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php new file mode 100644 index 00000000..5d0677a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1ManualScaling.php @@ -0,0 +1,30 @@ +nodes = $nodes; + } + public function getNodes() + { + return $this->nodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php new file mode 100644 index 00000000..8b5c5254 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1OperationMetadata.php @@ -0,0 +1,85 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setIsCancellationRequested($isCancellationRequested) + { + $this->isCancellationRequested = $isCancellationRequested; + } + public function getIsCancellationRequested() + { + return $this->isCancellationRequested; + } + public function setModelName($modelName) + { + $this->modelName = $modelName; + } + public function getModelName() + { + return $this->modelName; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setVersion(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1Version $version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php new file mode 100644 index 00000000..642dff3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleCloudMlV1beta1Version.php @@ -0,0 +1,94 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDeploymentUri($deploymentUri) + { + $this->deploymentUri = $deploymentUri; + } + public function getDeploymentUri() + { + return $this->deploymentUri; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setLastUseTime($lastUseTime) + { + $this->lastUseTime = $lastUseTime; + } + public function getLastUseTime() + { + return $this->lastUseTime; + } + public function setManualScaling(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1beta1ManualScaling $manualScaling) + { + $this->manualScaling = $manualScaling; + } + public function getManualScaling() + { + return $this->manualScaling; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRuntimeVersion($runtimeVersion) + { + $this->runtimeVersion = $runtimeVersion; + } + public function getRuntimeVersion() + { + return $this->runtimeVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php new file mode 100644 index 00000000..9ee43c8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php new file mode 100644 index 00000000..8438a2ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleLongrunningOperation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudMachineLearningEngine_GoogleRpcStatus $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php new file mode 100644 index 00000000..cb33b8d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/GoogleProtobufEmpty.php @@ -0,0 +1,20 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php new file mode 100644 index 00000000..fbda629d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/Projects.php @@ -0,0 +1,64 @@ + + * $mlService = new Google_Service_CloudMachineLearningEngine(...); + * $projects = $mlService->projects; + * + */ +class Google_Service_CloudMachineLearningEngine_Resource_Projects extends Google_Service_Resource +{ + /** + * Get the service account information associated with your project. You need + * this information in order to grant the service account persmissions for the + * Google Cloud Storage location where you put your model training code for + * training the model with Google Cloud Machine Learning. (projects.getConfig) + * + * @param string $name Required. The project name. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse + */ + public function getConfig($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('getConfig', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse"); + } + /** + * Performs prediction on the data in the request. + * + * **** REMOVE FROM GENERATED DOCUMENTATION (projects.predict) + * + * @param string $name Required. The resource name of a model or a version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody + */ + public function predict($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php new file mode 100644 index 00000000..ced6a517 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsJobs.php @@ -0,0 +1,103 @@ + + * $mlService = new Google_Service_CloudMachineLearningEngine(...); + * $jobs = $mlService->jobs; + * + */ +class Google_Service_CloudMachineLearningEngine_Resource_ProjectsJobs extends Google_Service_Resource +{ + /** + * Cancels a running job. (jobs.cancel) + * + * @param string $name Required. The name of the job to cancel. + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty + */ + public function cancel($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty"); + } + /** + * Creates a training or a batch prediction job. (jobs.create) + * + * @param string $parent Required. The project name. + * + * Authorization: requires `Editor` role on the specified project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job + */ + public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job"); + } + /** + * Describes a job. (jobs.get) + * + * @param string $name Required. The name of the job to get the description of. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job"); + } + /** + * Lists the jobs in the project. (jobs.listProjectsJobs) + * + * @param string $parent Required. The name of the project for which to list + * jobs. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Specifies the subset of jobs to retrieve. + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @opt_param int pageSize Optional. The number of jobs to retrieve per "page" + * of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse + */ + public function listProjectsJobs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php new file mode 100644 index 00000000..96a165c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModels.php @@ -0,0 +1,114 @@ + + * $mlService = new Google_Service_CloudMachineLearningEngine(...); + * $models = $mlService->models; + * + */ +class Google_Service_CloudMachineLearningEngine_Resource_ProjectsModels extends Google_Service_Resource +{ + /** + * Creates a model which will later contain one or more versions. + * + * You must add at least one version before you can request predictions from the + * model. Add versions by calling [projects.models.versions.create](/ml/referenc + * e/rest/v1/projects.models.versions/create). (models.create) + * + * @param string $parent Required. The project name. + * + * Authorization: requires `Editor` role on the specified project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model + */ + public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model"); + } + /** + * Deletes a model. + * + * You can only delete a model if there are no versions in it. You can delete + * versions by calling [projects.models.versions.delete](/ml/reference/rest/v1/p + * rojects.models.versions/delete). (models.delete) + * + * @param string $name Required. The name of the model. + * + * Authorization: requires `Editor` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation"); + } + /** + * Gets information about a model, including its name, the description (if set), + * and the default version (if at least one version of the model has been + * deployed). (models.get) + * + * @param string $name Required. The name of the model. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model"); + } + /** + * Lists the models in a project. + * + * Each project can contain multiple models, and each model can have multiple + * versions. (models.listProjectsModels) + * + * @param string $parent Required. The name of the project whose models are to + * be listed. + * + * Authorization: requires `Viewer` role on the specified project. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @opt_param int pageSize Optional. The number of models to retrieve per "page" + * of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse + */ + public function listProjectsModels($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php new file mode 100644 index 00000000..030482b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsModelsVersions.php @@ -0,0 +1,152 @@ + + * $mlService = new Google_Service_CloudMachineLearningEngine(...); + * $versions = $mlService->versions; + * + */ +class Google_Service_CloudMachineLearningEngine_Resource_ProjectsModelsVersions extends Google_Service_Resource +{ + /** + * Creates a new version of a model from a trained TensorFlow model. + * + * If the version created in the cloud by this call is the first deployed + * version of the specified model, it will be made the default version of the + * model. When you add a version to a model that already has one or more + * versions, the default version does not automatically change. If you want a + * new version to be the default, you must call [projects.models.versions.setDef + * ault](/ml/reference/rest/v1/projects.models.versions/setDefault). + * (versions.create) + * + * @param string $parent Required. The name of the model. + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation + */ + public function create($parent, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation"); + } + /** + * Deletes a model version. + * + * Each model can have multiple versions deployed and in use at any given time. + * Use this method to remove a single version. + * + * Note: You cannot delete the version that is set as the default version of the + * model unless it is the only remaining version. (versions.delete) + * + * @param string $name Required. The name of the version. You can get the names + * of all the versions of a model by calling [projects.models.versions.list](/ml + * /reference/rest/v1/projects.models.versions/list). + * + * Authorization: requires `Editor` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation"); + } + /** + * Gets information about a model version. + * + * Models can have multiple versions. You can call [projects.models.versions.lis + * t](/ml/reference/rest/v1/projects.models.versions/list) to get the same + * information that this method returns for all of the versions of a model. + * (versions.get) + * + * @param string $name Required. The name of the version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version"); + } + /** + * Gets basic information about all the versions of a model. + * + * If you expect that a model has a lot of versions, or if you need to handle + * only a limited number of results at a time, you can request that the list be + * retrieved in batches (called pages): (versions.listProjectsModelsVersions) + * + * @param string $parent Required. The name of the model for which to list the + * version. + * + * Authorization: requires `Viewer` role on the parent project. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. A page token to request the next page + * of results. + * + * You get the token from the `next_page_token` field of the response from the + * previous call. + * @opt_param int pageSize Optional. The number of versions to retrieve per + * "page" of results. If there are more remaining results than this number, the + * response message will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse + */ + public function listProjectsModelsVersions($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse"); + } + /** + * Designates a version to be the default for the model. + * + * The default version is used for prediction requests made against the model + * that don't specify a version. + * + * The first version to be created for a model is automatically set as the + * default. You must make any subsequent changes to the default version setting + * manually using this method. (versions.setDefault) + * + * @param string $name Required. The name of the version to make the default for + * the model. You can get the names of all the versions of a model by calling [p + * rojects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/ + * list). + * + * Authorization: requires `Editor` role on the parent project. + * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version + */ + public function setDefault($name, Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php new file mode 100644 index 00000000..d2a577c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMachineLearningEngine/Resource/ProjectsOperations.php @@ -0,0 +1,102 @@ + + * $mlService = new Google_Service_CloudMachineLearningEngine(...); + * $operations = $mlService->operations; + * + */ +class Google_Service_CloudMachineLearningEngine_Resource_ProjectsOperations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listProjectsOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @return Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse + */ + public function listProjectsOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php new file mode 100644 index 00000000..2e1560a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring.php @@ -0,0 +1,243 @@ + + * Accesses Google Cloud Monitoring data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudMonitoring extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */ + const MONITORING = + "https://www.googleapis.com/auth/monitoring"; + + public $metricDescriptors; + public $timeseries; + public $timeseriesDescriptors; + + /** + * Constructs the internal representation of the CloudMonitoring service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'cloudmonitoring/v2beta2/projects/'; + $this->version = 'v2beta2'; + $this->serviceName = 'cloudmonitoring'; + + $this->metricDescriptors = new Google_Service_CloudMonitoring_Resource_MetricDescriptors( + $this, + $this->serviceName, + 'metricDescriptors', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/metricDescriptors', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/metricDescriptors/{metric}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/metricDescriptors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->timeseries = new Google_Service_CloudMonitoring_Resource_Timeseries( + $this, + $this->serviceName, + 'timeseries', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/timeseries/{metric}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'youngest' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'aggregator' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'oldest' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timespan' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'window' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'write' => array( + 'path' => '{project}/timeseries:write', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeseriesDescriptors = new Google_Service_CloudMonitoring_Resource_TimeseriesDescriptors( + $this, + $this->serviceName, + 'timeseriesDescriptors', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/timeseriesDescriptors/{metric}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'youngest' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'aggregator' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'oldest' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timespan' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'window' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php new file mode 100644 index 00000000..4a7c777f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/DeleteMetricDescriptorResponse.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php new file mode 100644 index 00000000..660d96a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsRequest.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php new file mode 100644 index 00000000..0265b2ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListMetricDescriptorsResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php new file mode 100644 index 00000000..df36f657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsRequest.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php new file mode 100644 index 00000000..3a7c26a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesDescriptorsResponse.php @@ -0,0 +1,68 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOldest($oldest) + { + $this->oldest = $oldest; + } + public function getOldest() + { + return $this->oldest; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } + public function setYoungest($youngest) + { + $this->youngest = $youngest; + } + public function getYoungest() + { + return $this->youngest; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php new file mode 100644 index 00000000..1d6db5a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesRequest.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php new file mode 100644 index 00000000..ad11b4d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/ListTimeseriesResponse.php @@ -0,0 +1,68 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOldest($oldest) + { + $this->oldest = $oldest; + } + public function getOldest() + { + return $this->oldest; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } + public function setYoungest($youngest) + { + $this->youngest = $youngest; + } + public function getYoungest() + { + return $this->youngest; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php new file mode 100644 index 00000000..b4d47467 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptor.php @@ -0,0 +1,69 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor) + { + $this->typeDescriptor = $typeDescriptor; + } + public function getTypeDescriptor() + { + return $this->typeDescriptor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php new file mode 100644 index 00000000..a480cc32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorLabelDescriptor.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php new file mode 100644 index 00000000..54fffce5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/MetricDescriptorTypeDescriptor.php @@ -0,0 +1,39 @@ +metricType = $metricType; + } + public function getMetricType() + { + return $this->metricType; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php new file mode 100644 index 00000000..28eb9305 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Point.php @@ -0,0 +1,85 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue) + { + $this->distributionValue = $distributionValue; + } + public function getDistributionValue() + { + return $this->distributionValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + public function getInt64Value() + { + return $this->int64Value; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php new file mode 100644 index 00000000..7138dab0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistribution.php @@ -0,0 +1,52 @@ +buckets = $buckets; + } + public function getBuckets() + { + return $this->buckets; + } + public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket) + { + $this->overflowBucket = $overflowBucket; + } + public function getOverflowBucket() + { + return $this->overflowBucket; + } + public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket) + { + $this->underflowBucket = $underflowBucket; + } + public function getUnderflowBucket() + { + return $this->underflowBucket; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php new file mode 100644 index 00000000..540148e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionBucket.php @@ -0,0 +1,48 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setLowerBound($lowerBound) + { + $this->lowerBound = $lowerBound; + } + public function getLowerBound() + { + return $this->lowerBound; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php new file mode 100644 index 00000000..ec933786 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionOverflowBucket.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setLowerBound($lowerBound) + { + $this->lowerBound = $lowerBound; + } + public function getLowerBound() + { + return $this->lowerBound; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php new file mode 100644 index 00000000..dab82c7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/PointDistributionUnderflowBucket.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php new file mode 100644 index 00000000..f4088a47 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/MetricDescriptors.php @@ -0,0 +1,86 @@ + + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $metricDescriptors = $cloudmonitoringService->metricDescriptors; + * + */ +class Google_Service_CloudMonitoring_Resource_MetricDescriptors extends Google_Service_Resource +{ + /** + * Create a new metric. (metricDescriptors.create) + * + * @param string $project The project id. The value can be the numeric project + * ID or string-based project name. + * @param Google_Service_CloudMonitoring_MetricDescriptor $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_MetricDescriptor + */ + public function create($project, Google_Service_CloudMonitoring_MetricDescriptor $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMonitoring_MetricDescriptor"); + } + /** + * Delete an existing metric. (metricDescriptors.delete) + * + * @param string $project The project ID to which the metric belongs. + * @param string $metric Name of the metric. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse + */ + public function delete($project, $metric, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse"); + } + /** + * List metric descriptors that match the query. If the query is not set, then + * all of the metric descriptors will be returned. Large responses will be + * paginated, use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (metricDescriptors.listMetricDescriptors) + * + * @param string $project The project id. The value can be the numeric project + * ID or string-based project name. + * @param array $optParams Optional parameters. + * + * @opt_param int count Maximum number of metric descriptors per page. Used for + * pagination. If not specified, count = 100. + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string query The query used to search against existing metrics. + * Separate keywords with a space; the service joins all keywords with AND, + * meaning that all keywords must match for a metric to be returned. If this + * field is omitted, all metrics are returned. If an empty string is passed with + * this field, no metrics are returned. + * @return Google_Service_CloudMonitoring_ListMetricDescriptorsResponse + */ + public function listMetricDescriptors($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php new file mode 100644 index 00000000..4a647349 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/Timeseries.php @@ -0,0 +1,104 @@ + + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $timeseries = $cloudmonitoringService->timeseries; + * + */ +class Google_Service_CloudMonitoring_Resource_Timeseries extends Google_Service_Resource +{ + /** + * List the data points of the time series that match the metric and labels + * values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (timeseries.listTimeseries) + * + * @param string $project The project ID to which this time series belongs. The + * value can be the numeric project ID or string-based project name. + * @param string $metric Metric names are protocol-free URLs as listed in the + * Supported Metrics page. For example, + * compute.googleapis.com/instance/disk/read_ops_count. + * @param string $youngest End of the time interval (inclusive), which is + * expressed as an RFC 3339 timestamp. + * @param array $optParams Optional parameters. + * + * @opt_param string aggregator The aggregation function that will reduce the + * data points in each window to a single point. This parameter is only valid + * for non-cumulative metrics with a value type of INT64 or DOUBLE. + * @opt_param int count Maximum number of data points per page, which is used + * for pagination of results. + * @opt_param string labels A collection of labels for the matching time series, + * which are represented as: - key==value: key equals the value - key=~value: + * key regex matches the value - key!=value: key does not equal the value - + * key!~value: key regex does not match the value For example, to list all of + * the time series descriptors for the region us-central1, you could specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + * @opt_param string oldest Start of the time interval (exclusive), which is + * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is + * specified, the default time interval will be (youngest - 4 hours, youngest] + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string timespan Length of the time interval to query, which is an + * alternative way to declare the interval: (youngest - timespan, youngest]. The + * timespan and oldest parameters should not be used together. Units: - s: + * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w. + * Only one unit is allowed, for example: 2w3d is not allowed; you should use + * 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will + * be (youngest - 4 hours, youngest]. + * @opt_param string window The sampling window. At most one data point will be + * returned for each window in the requested time interval. This parameter is + * only valid for non-cumulative metric types. Units: - m: minute - h: hour - + * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example: + * 2w3d is not allowed; you should use 17d instead. + * @return Google_Service_CloudMonitoring_ListTimeseriesResponse + */ + public function listTimeseries($project, $metric, $youngest, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesResponse"); + } + /** + * Put data points to one or more time series for one or more metrics. If a time + * series does not exist, a new time series will be created. It is not allowed + * to write a time series point that is older than the existing youngest point + * of that time series. Points that are older than the existing youngest point + * of that time series will be discarded silently. Therefore, users should make + * sure that points of a time series are written sequentially in the order of + * their end time. (timeseries.write) + * + * @param string $project The project ID. The value can be the numeric project + * ID or string-based project name. + * @param Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_WriteTimeseriesResponse + */ + public function write($project, Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('write', array($params), "Google_Service_CloudMonitoring_WriteTimeseriesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php new file mode 100644 index 00000000..ff24d0a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Resource/TimeseriesDescriptors.php @@ -0,0 +1,83 @@ + + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors; + * + */ +class Google_Service_CloudMonitoring_Resource_TimeseriesDescriptors extends Google_Service_Resource +{ + /** + * List the descriptors of the time series that match the metric and labels + * values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors) + * + * @param string $project The project ID to which this time series belongs. The + * value can be the numeric project ID or string-based project name. + * @param string $metric Metric names are protocol-free URLs as listed in the + * Supported Metrics page. For example, + * compute.googleapis.com/instance/disk/read_ops_count. + * @param string $youngest End of the time interval (inclusive), which is + * expressed as an RFC 3339 timestamp. + * @param array $optParams Optional parameters. + * + * @opt_param string aggregator The aggregation function that will reduce the + * data points in each window to a single point. This parameter is only valid + * for non-cumulative metrics with a value type of INT64 or DOUBLE. + * @opt_param int count Maximum number of time series descriptors per page. Used + * for pagination. If not specified, count = 100. + * @opt_param string labels A collection of labels for the matching time series, + * which are represented as: - key==value: key equals the value - key=~value: + * key regex matches the value - key!=value: key does not equal the value - + * key!~value: key regex does not match the value For example, to list all of + * the time series descriptors for the region us-central1, you could specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + * @opt_param string oldest Start of the time interval (exclusive), which is + * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is + * specified, the default time interval will be (youngest - 4 hours, youngest] + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string timespan Length of the time interval to query, which is an + * alternative way to declare the interval: (youngest - timespan, youngest]. The + * timespan and oldest parameters should not be used together. Units: - s: + * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w. + * Only one unit is allowed, for example: 2w3d is not allowed; you should use + * 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will + * be (youngest - 4 hours, youngest]. + * @opt_param string window The sampling window. At most one data point will be + * returned for each window in the requested time interval. This parameter is + * only valid for non-cumulative metric types. Units: - m: minute - h: hour - + * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example: + * 2w3d is not allowed; you should use 17d instead. + * @return Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse + */ + public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php new file mode 100644 index 00000000..ed77beb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/Timeseries.php @@ -0,0 +1,42 @@ +points = $points; + } + public function getPoints() + { + return $this->points; + } + public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc) + { + $this->timeseriesDesc = $timeseriesDesc; + } + public function getTimeseriesDesc() + { + return $this->timeseriesDesc; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php new file mode 100644 index 00000000..b7de3d5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptor.php @@ -0,0 +1,48 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php new file mode 100644 index 00000000..2c46fc25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesDescriptorLabel.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php new file mode 100644 index 00000000..b447a427 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/TimeseriesPoint.php @@ -0,0 +1,41 @@ +point = $point; + } + public function getPoint() + { + return $this->point; + } + public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc) + { + $this->timeseriesDesc = $timeseriesDesc; + } + public function getTimeseriesDesc() + { + return $this->timeseriesDesc; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php new file mode 100644 index 00000000..18951de9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesRequest.php @@ -0,0 +1,41 @@ +commonLabels = $commonLabels; + } + public function getCommonLabels() + { + return $this->commonLabels; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php new file mode 100644 index 00000000..4d24fd34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudMonitoring/WriteTimeseriesResponse.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php new file mode 100644 index 00000000..ac55a21b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage.php @@ -0,0 +1,81 @@ + + * Google Cloud Natural Language API provides natural language understanding + * technologies to developers. Examples include sentiment analysis, entity + * recognition, and text annotations.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudNaturalLanguage extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $documents; + + /** + * Constructs the internal representation of the CloudNaturalLanguage service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://language.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'language'; + + $this->documents = new Google_Service_CloudNaturalLanguage_Resource_Documents( + $this, + $this->serviceName, + 'documents', + array( + 'methods' => array( + 'analyzeEntities' => array( + 'path' => 'v1/documents:analyzeEntities', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'analyzeSentiment' => array( + 'path' => 'v1/documents:analyzeSentiment', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'analyzeSyntax' => array( + 'path' => 'v1/documents:analyzeSyntax', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'annotateText' => array( + 'path' => 'v1/documents:annotateText', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php new file mode 100644 index 00000000..6317ea54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesRequest.php @@ -0,0 +1,40 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php new file mode 100644 index 00000000..376f1db0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeEntitiesResponse.php @@ -0,0 +1,41 @@ +entities = $entities; + } + public function getEntities() + { + return $this->entities; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php new file mode 100644 index 00000000..3496cda1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentRequest.php @@ -0,0 +1,40 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php new file mode 100644 index 00000000..b2b4cb09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSentimentResponse.php @@ -0,0 +1,51 @@ +documentSentiment = $documentSentiment; + } + public function getDocumentSentiment() + { + return $this->documentSentiment; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSentences($sentences) + { + $this->sentences = $sentences; + } + public function getSentences() + { + return $this->sentences; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php new file mode 100644 index 00000000..ca5a040f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxRequest.php @@ -0,0 +1,40 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php new file mode 100644 index 00000000..d11d2afd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnalyzeSyntaxResponse.php @@ -0,0 +1,51 @@ +language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSentences($sentences) + { + $this->sentences = $sentences; + } + public function getSentences() + { + return $this->sentences; + } + public function setTokens($tokens) + { + $this->tokens = $tokens; + } + public function getTokens() + { + return $this->tokens; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php new file mode 100644 index 00000000..eb19a0cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextRequest.php @@ -0,0 +1,50 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } + public function setFeatures(Google_Service_CloudNaturalLanguage_Features $features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php new file mode 100644 index 00000000..cc64170f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/AnnotateTextResponse.php @@ -0,0 +1,71 @@ +documentSentiment = $documentSentiment; + } + public function getDocumentSentiment() + { + return $this->documentSentiment; + } + public function setEntities($entities) + { + $this->entities = $entities; + } + public function getEntities() + { + return $this->entities; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSentences($sentences) + { + $this->sentences = $sentences; + } + public function getSentences() + { + return $this->sentences; + } + public function setTokens($tokens) + { + $this->tokens = $tokens; + } + public function getTokens() + { + return $this->tokens; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php new file mode 100644 index 00000000..017a344d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/DependencyEdge.php @@ -0,0 +1,39 @@ +headTokenIndex = $headTokenIndex; + } + public function getHeadTokenIndex() + { + return $this->headTokenIndex; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php new file mode 100644 index 00000000..327a84f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Document.php @@ -0,0 +1,57 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setGcsContentUri($gcsContentUri) + { + $this->gcsContentUri = $gcsContentUri; + } + public function getGcsContentUri() + { + return $this->gcsContentUri; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php new file mode 100644 index 00000000..b855e87a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Entity.php @@ -0,0 +1,68 @@ +mentions = $mentions; + } + public function getMentions() + { + return $this->mentions; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSalience($salience) + { + $this->salience = $salience; + } + public function getSalience() + { + return $this->salience; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php new file mode 100644 index 00000000..3675f328 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/EntityMention.php @@ -0,0 +1,40 @@ +text = $text; + } + public function getText() + { + return $this->text; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php new file mode 100644 index 00000000..1d2e977d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Features.php @@ -0,0 +1,48 @@ +extractDocumentSentiment = $extractDocumentSentiment; + } + public function getExtractDocumentSentiment() + { + return $this->extractDocumentSentiment; + } + public function setExtractEntities($extractEntities) + { + $this->extractEntities = $extractEntities; + } + public function getExtractEntities() + { + return $this->extractEntities; + } + public function setExtractSyntax($extractSyntax) + { + $this->extractSyntax = $extractSyntax; + } + public function getExtractSyntax() + { + return $this->extractSyntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php new file mode 100644 index 00000000..81123c08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/PartOfSpeech.php @@ -0,0 +1,129 @@ +aspect = $aspect; + } + public function getAspect() + { + return $this->aspect; + } + public function setCase($case) + { + $this->case = $case; + } + public function getCase() + { + return $this->case; + } + public function setForm($form) + { + $this->form = $form; + } + public function getForm() + { + return $this->form; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setMood($mood) + { + $this->mood = $mood; + } + public function getMood() + { + return $this->mood; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setPerson($person) + { + $this->person = $person; + } + public function getPerson() + { + return $this->person; + } + public function setProper($proper) + { + $this->proper = $proper; + } + public function getProper() + { + return $this->proper; + } + public function setReciprocity($reciprocity) + { + $this->reciprocity = $reciprocity; + } + public function getReciprocity() + { + return $this->reciprocity; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } + public function setTense($tense) + { + $this->tense = $tense; + } + public function getTense() + { + return $this->tense; + } + public function setVoice($voice) + { + $this->voice = $voice; + } + public function getVoice() + { + return $this->voice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php new file mode 100644 index 00000000..3c051a0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Resource/Documents.php @@ -0,0 +1,86 @@ + + * $languageService = new Google_Service_CloudNaturalLanguage(...); + * $documents = $languageService->documents; + * + */ +class Google_Service_CloudNaturalLanguage_Resource_Documents extends Google_Service_Resource +{ + /** + * Finds named entities (currently finds proper names) in the text, entity + * types, salience, mentions for each entity, and other properties. + * (documents.analyzeEntities) + * + * @param Google_Service_CloudNaturalLanguage_AnalyzeEntitiesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguage_AnalyzeEntitiesResponse + */ + public function analyzeEntities(Google_Service_CloudNaturalLanguage_AnalyzeEntitiesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeEntitiesResponse"); + } + /** + * Analyzes the sentiment of the provided text. (documents.analyzeSentiment) + * + * @param Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse + */ + public function analyzeSentiment(Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse"); + } + /** + * Analyzes the syntax of the text and provides sentence boundaries and + * tokenization along with part of speech tags, dependency trees, and other + * properties. (documents.analyzeSyntax) + * + * @param Google_Service_CloudNaturalLanguage_AnalyzeSyntaxRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguage_AnalyzeSyntaxResponse + */ + public function analyzeSyntax(Google_Service_CloudNaturalLanguage_AnalyzeSyntaxRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('analyzeSyntax', array($params), "Google_Service_CloudNaturalLanguage_AnalyzeSyntaxResponse"); + } + /** + * A convenience method that provides all the features that analyzeSentiment, + * analyzeEntities, and analyzeSyntax provide in one call. + * (documents.annotateText) + * + * @param Google_Service_CloudNaturalLanguage_AnnotateTextRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguage_AnnotateTextResponse + */ + public function annotateText(Google_Service_CloudNaturalLanguage_AnnotateTextRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguage_AnnotateTextResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php new file mode 100644 index 00000000..e02ad371 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentence.php @@ -0,0 +1,41 @@ +sentiment = $sentiment; + } + public function getSentiment() + { + return $this->sentiment; + } + public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php new file mode 100644 index 00000000..ec64f7e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Sentiment.php @@ -0,0 +1,39 @@ +magnitude = $magnitude; + } + public function getMagnitude() + { + return $this->magnitude; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php new file mode 100644 index 00000000..4e8a91c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php new file mode 100644 index 00000000..5ea23c55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/TextSpan.php @@ -0,0 +1,39 @@ +beginOffset = $beginOffset; + } + public function getBeginOffset() + { + return $this->beginOffset; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php new file mode 100644 index 00000000..7e38024d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguage/Token.php @@ -0,0 +1,60 @@ +dependencyEdge = $dependencyEdge; + } + public function getDependencyEdge() + { + return $this->dependencyEdge; + } + public function setLemma($lemma) + { + $this->lemma = $lemma; + } + public function getLemma() + { + return $this->lemma; + } + public function setPartOfSpeech(Google_Service_CloudNaturalLanguage_PartOfSpeech $partOfSpeech) + { + $this->partOfSpeech = $partOfSpeech; + } + public function getPartOfSpeech() + { + return $this->partOfSpeech; + } + public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php new file mode 100644 index 00000000..a1d10e14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI.php @@ -0,0 +1,78 @@ + + * Google Cloud Natural Language API provides natural language understanding + * technologies to developers. Examples include sentiment analysis, entity + * recognition, and text annotations.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudNaturalLanguageAPI extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $documents; + + /** + * Constructs the internal representation of the CloudNaturalLanguageAPI + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://language.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'language'; + + $this->documents = new Google_Service_CloudNaturalLanguageAPI_Resource_Documents( + $this, + $this->serviceName, + 'documents', + array( + 'methods' => array( + 'analyzeEntities' => array( + 'path' => 'v1beta1/documents:analyzeEntities', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'analyzeSentiment' => array( + 'path' => 'v1beta1/documents:analyzeSentiment', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'annotateText' => array( + 'path' => 'v1beta1/documents:annotateText', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php new file mode 100644 index 00000000..4a018366 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesRequest.php @@ -0,0 +1,40 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php new file mode 100644 index 00000000..545954f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeEntitiesResponse.php @@ -0,0 +1,41 @@ +entities = $entities; + } + public function getEntities() + { + return $this->entities; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php new file mode 100644 index 00000000..f404a604 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentRequest.php @@ -0,0 +1,31 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php new file mode 100644 index 00000000..a3baa1b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnalyzeSentimentResponse.php @@ -0,0 +1,40 @@ +documentSentiment = $documentSentiment; + } + public function getDocumentSentiment() + { + return $this->documentSentiment; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php new file mode 100644 index 00000000..cc3e90ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextRequest.php @@ -0,0 +1,50 @@ +document = $document; + } + public function getDocument() + { + return $this->document; + } + public function setEncodingType($encodingType) + { + $this->encodingType = $encodingType; + } + public function getEncodingType() + { + return $this->encodingType; + } + public function setFeatures(Google_Service_CloudNaturalLanguageAPI_Features $features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php new file mode 100644 index 00000000..4efb2962 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/AnnotateTextResponse.php @@ -0,0 +1,71 @@ +documentSentiment = $documentSentiment; + } + public function getDocumentSentiment() + { + return $this->documentSentiment; + } + public function setEntities($entities) + { + $this->entities = $entities; + } + public function getEntities() + { + return $this->entities; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSentences($sentences) + { + $this->sentences = $sentences; + } + public function getSentences() + { + return $this->sentences; + } + public function setTokens($tokens) + { + $this->tokens = $tokens; + } + public function getTokens() + { + return $this->tokens; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php new file mode 100644 index 00000000..bb243a0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/DependencyEdge.php @@ -0,0 +1,39 @@ +headTokenIndex = $headTokenIndex; + } + public function getHeadTokenIndex() + { + return $this->headTokenIndex; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php new file mode 100644 index 00000000..e4039aee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Document.php @@ -0,0 +1,57 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setGcsContentUri($gcsContentUri) + { + $this->gcsContentUri = $gcsContentUri; + } + public function getGcsContentUri() + { + return $this->gcsContentUri; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php new file mode 100644 index 00000000..2579c08f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Entity.php @@ -0,0 +1,68 @@ +mentions = $mentions; + } + public function getMentions() + { + return $this->mentions; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSalience($salience) + { + $this->salience = $salience; + } + public function getSalience() + { + return $this->salience; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php new file mode 100644 index 00000000..e01f0cde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/EntityMention.php @@ -0,0 +1,31 @@ +text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php new file mode 100644 index 00000000..ab0a7cbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Features.php @@ -0,0 +1,48 @@ +extractDocumentSentiment = $extractDocumentSentiment; + } + public function getExtractDocumentSentiment() + { + return $this->extractDocumentSentiment; + } + public function setExtractEntities($extractEntities) + { + $this->extractEntities = $extractEntities; + } + public function getExtractEntities() + { + return $this->extractEntities; + } + public function setExtractSyntax($extractSyntax) + { + $this->extractSyntax = $extractSyntax; + } + public function getExtractSyntax() + { + return $this->extractSyntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php new file mode 100644 index 00000000..e2593898 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/PartOfSpeech.php @@ -0,0 +1,30 @@ +tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php new file mode 100644 index 00000000..ff2470c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php @@ -0,0 +1,71 @@ + + * $languageService = new Google_Service_CloudNaturalLanguageAPI(...); + * $documents = $languageService->documents; + * + */ +class Google_Service_CloudNaturalLanguageAPI_Resource_Documents extends Google_Service_Resource +{ + /** + * Finds named entities (currently finds proper names) in the text, entity + * types, salience, mentions for each entity, and other properties. + * (documents.analyzeEntities) + * + * @param Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesResponse + */ + public function analyzeEntities(Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesResponse"); + } + /** + * Analyzes the sentiment of the provided text. (documents.analyzeSentiment) + * + * @param Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse + */ + public function analyzeSentiment(Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse"); + } + /** + * A convenience method that provides all the features that analyzeSentiment, + * analyzeEntities, and analyzeSyntax provide in one call. + * (documents.annotateText) + * + * @param Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudNaturalLanguageAPI_AnnotateTextResponse + */ + public function annotateText(Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguageAPI_AnnotateTextResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php new file mode 100644 index 00000000..20d45c41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentence.php @@ -0,0 +1,31 @@ +text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php new file mode 100644 index 00000000..2e189c6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Sentiment.php @@ -0,0 +1,39 @@ +magnitude = $magnitude; + } + public function getMagnitude() + { + return $this->magnitude; + } + public function setPolarity($polarity) + { + $this->polarity = $polarity; + } + public function getPolarity() + { + return $this->polarity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php new file mode 100644 index 00000000..6d4b0942 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php new file mode 100644 index 00000000..560aaa78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/TextSpan.php @@ -0,0 +1,39 @@ +beginOffset = $beginOffset; + } + public function getBeginOffset() + { + return $this->beginOffset; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php new file mode 100644 index 00000000..15b33b41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudNaturalLanguageAPI/Token.php @@ -0,0 +1,60 @@ +dependencyEdge = $dependencyEdge; + } + public function getDependencyEdge() + { + return $this->dependencyEdge; + } + public function setLemma($lemma) + { + $this->lemma = $lemma; + } + public function getLemma() + { + return $this->lemma; + } + public function setPartOfSpeech(Google_Service_CloudNaturalLanguageAPI_PartOfSpeech $partOfSpeech) + { + $this->partOfSpeech = $partOfSpeech; + } + public function getPartOfSpeech() + { + return $this->partOfSpeech; + } + public function setText(Google_Service_CloudNaturalLanguageAPI_TextSpan $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php new file mode 100644 index 00000000..1f5d220f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager.php @@ -0,0 +1,286 @@ + + * The Google Cloud Resource Manager API provides methods for creating, reading, + * and updating project metadata.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudResourceManager extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + + public $liens; + public $operations; + public $organizations; + public $projects; + + /** + * Constructs the internal representation of the CloudResourceManager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudresourcemanager.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudresourcemanager'; + + $this->liens = new Google_Service_CloudResourceManager_Resource_Liens( + $this, + $this->serviceName, + 'liens', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/liens', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/liens', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_CloudResourceManager_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->organizations = new Google_Service_CloudResourceManager_Resource_Organizations( + $this, + $this->serviceName, + 'organizations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/organizations:search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_CloudResourceManager_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAncestry' => array( + 'path' => 'v1/projects/{projectId}:getAncestry', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/projects/{resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/projects/{resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/projects/{resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'v1/projects/{projectId}:undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1/projects/{projectId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php new file mode 100644 index 00000000..044d2ba5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Ancestor.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php new file mode 100644 index 00000000..8e55adbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditConfig.php @@ -0,0 +1,41 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php new file mode 100644 index 00000000..9bd433bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php new file mode 100644 index 00000000..e08ea655 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php new file mode 100644 index 00000000..f4bb9538 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/CloudresourcemanagerEmpty.php @@ -0,0 +1,20 @@ +destinationParent = $destinationParent; + } + public function getDestinationParent() + { + return $this->destinationParent; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setSourceParent($sourceParent) + { + $this->sourceParent = $sourceParent; + } + public function getSourceParent() + { + return $this->sourceParent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php new file mode 100644 index 00000000..2a1c994d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/FolderOperationError.php @@ -0,0 +1,30 @@ +errorMessageId = $errorMessageId; + } + public function getErrorMessageId() + { + return $this->errorMessageId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php new file mode 100644 index 00000000..ab9ddd03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetAncestryRequest.php @@ -0,0 +1,20 @@ +ancestor = $ancestor; + } + public function getAncestor() + { + return $this->ancestor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php new file mode 100644 index 00000000..2157401c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/GetIamPolicyRequest.php @@ -0,0 +1,20 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setParent($parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setRestrictions($restrictions) + { + $this->restrictions = $restrictions; + } + public function getRestrictions() + { + return $this->restrictions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php new file mode 100644 index 00000000..93c61cf1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListLiensResponse.php @@ -0,0 +1,41 @@ +liens = $liens; + } + public function getLiens() + { + return $this->liens; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php new file mode 100644 index 00000000..571f22b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ListProjectsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php new file mode 100644 index 00000000..c86ec471 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudResourceManager_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php new file mode 100644 index 00000000..b78fc265 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Organization.php @@ -0,0 +1,67 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLifecycleState($lifecycleState) + { + $this->lifecycleState = $lifecycleState; + } + public function getLifecycleState() + { + return $this->lifecycleState; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner(Google_Service_CloudResourceManager_OrganizationOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php new file mode 100644 index 00000000..45896675 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/OrganizationOwner.php @@ -0,0 +1,30 @@ +directoryCustomerId = $directoryCustomerId; + } + public function getDirectoryCustomerId() + { + return $this->directoryCustomerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php new file mode 100644 index 00000000..bf55c2fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Policy.php @@ -0,0 +1,60 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php new file mode 100644 index 00000000..1756338b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Project.php @@ -0,0 +1,85 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLifecycleState($lifecycleState) + { + $this->lifecycleState = $lifecycleState; + } + public function getLifecycleState() + { + return $this->lifecycleState; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParent(Google_Service_CloudResourceManager_ResourceId $parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php new file mode 100644 index 00000000..5264612d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ProjectCreationStatus.php @@ -0,0 +1,48 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setGettable($gettable) + { + $this->gettable = $gettable; + } + public function getGettable() + { + return $this->gettable; + } + public function setReady($ready) + { + $this->ready = $ready; + } + public function getReady() + { + return $this->ready; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php new file mode 100644 index 00000000..69c7f435 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Liens.php @@ -0,0 +1,88 @@ + + * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...); + * $liens = $cloudresourcemanagerService->liens; + * + */ +class Google_Service_CloudResourceManager_Resource_Liens extends Google_Service_Resource +{ + /** + * Create a Lien which applies to the resource denoted by the `parent` field. + * + * Callers of this method will require permission on the `parent` resource. For + * example, applying to `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. + * + * NOTE: Some resources may limit the number of Liens which may be applied. + * (liens.create) + * + * @param Google_Service_CloudResourceManager_Lien $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Lien + */ + public function create(Google_Service_CloudResourceManager_Lien $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudResourceManager_Lien"); + } + /** + * Delete a Lien by `name`. + * + * Callers of this method will require permission on the `parent` resource. For + * example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. (liens.delete) + * + * @param string $name The name/identifier of the Lien to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty"); + } + /** + * List all Liens applied to the `parent` resource. + * + * Callers of this method will require permission on the `parent` resource. For + * example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.get`. (liens.listLiens) + * + * @param array $optParams Optional parameters. + * + * @opt_param string parent The name of the resource to list all attached Liens. + * For example, `projects/1234`. + * @opt_param string pageToken The `next_page_token` value returned from a + * previous List request, if any. + * @opt_param int pageSize The maximum number of items to return. This is a + * suggestion for the server. + * @return Google_Service_CloudResourceManager_ListLiensResponse + */ + public function listLiens($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListLiensResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php new file mode 100644 index 00000000..096b85b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Operations.php @@ -0,0 +1,43 @@ + + * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...); + * $operations = $cloudresourcemanagerService->operations; + * + */ +class Google_Service_CloudResourceManager_Resource_Operations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudResourceManager_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php new file mode 100644 index 00000000..4e04bef5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Organizations.php @@ -0,0 +1,114 @@ + + * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...); + * $organizations = $cloudresourcemanagerService->organizations; + * + */ +class Google_Service_CloudResourceManager_Resource_Organizations extends Google_Service_Resource +{ + /** + * Fetches an Organization resource identified by the specified resource name. + * (organizations.get) + * + * @param string $name The resource name of the Organization to fetch, e.g. + * "organizations/1234". + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Organization + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudResourceManager_Organization"); + } + /** + * Gets the access control policy for an Organization resource. May be empty if + * no such policy or resource exists. The `resource` field should be the + * organization's resource name, e.g. "organizations/123". + * (organizations.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Policy + */ + public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy"); + } + /** + * Searches Organization resources that are visible to the user and satisfy the + * specified filter. This method returns Organizations in an unspecified order. + * New Organizations do not necessarily appear at the end of the results. + * (organizations.search) + * + * @param Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_SearchOrganizationsResponse + */ + public function search(Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_CloudResourceManager_SearchOrganizationsResponse"); + } + /** + * Sets the access control policy on an Organization resource. Replaces any + * existing policy. The `resource` field should be the organization's resource + * name, e.g. "organizations/123". (organizations.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Policy + */ + public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy"); + } + /** + * Returns permissions that a caller has on the specified Organization. The + * `resource` field should be the organization's resource name, e.g. + * "organizations/123". (organizations.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php new file mode 100644 index 00000000..5291c3d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Resource/Projects.php @@ -0,0 +1,286 @@ + + * $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...); + * $projects = $cloudresourcemanagerService->projects; + * + */ +class Google_Service_CloudResourceManager_Resource_Projects extends Google_Service_Resource +{ + /** + * Request that a new Project be created. The result is an Operation which can + * be used to track the creation process. It is automatically deleted after a + * few hours, so there is no need to call DeleteOperation. + * + * Our SLO permits Project creation to take up to 30 seconds at the 90th + * percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile + * latency. 95th percentile latency is around 11 seconds. We recommend polling + * at the 5th second with an exponential backoff. (projects.create) + * + * @param Google_Service_CloudResourceManager_Project $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Operation + */ + public function create(Google_Service_CloudResourceManager_Project $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudResourceManager_Operation"); + } + /** + * Marks the Project identified by the specified `project_id` (for example, `my- + * project-123`) for deletion. This method will only affect the Project if the + * following criteria are met: + * + * + The Project does not have a billing account associated with it. + The + * Project has a lifecycle state of ACTIVE. + * + * This method changes the Project's lifecycle state from ACTIVE to + * DELETE_REQUESTED. The deletion starts at an unspecified time, at which point + * the Project is no longer accessible. + * + * Until the deletion completes, you can check the lifecycle state checked by + * retrieving the Project with GetProject, and the Project remains visible to + * ListProjects. However, you cannot update the project. + * + * After the deletion completes, the Project is not retrievable by the + * GetProject and ListProjects methods. + * + * The caller must have modify permissions for this Project. (projects.delete) + * + * @param string $projectId The Project ID (for example, `foo-bar-123`). + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty + */ + public function delete($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty"); + } + /** + * Retrieves the Project identified by the specified `project_id` (for example, + * `my-project-123`). + * + * The caller must have read permissions for this Project. (projects.get) + * + * @param string $projectId The Project ID (for example, `my-project-123`). + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Project + */ + public function get($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudResourceManager_Project"); + } + /** + * Gets a list of ancestors in the resource hierarchy for the Project identified + * by the specified `project_id` (for example, `my-project-123`). + * + * The caller must have read permissions for this Project. + * (projects.getAncestry) + * + * @param string $projectId The Project ID (for example, `my-project-123`). + * + * Required. + * @param Google_Service_CloudResourceManager_GetAncestryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_GetAncestryResponse + */ + public function getAncestry($projectId, Google_Service_CloudResourceManager_GetAncestryRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getAncestry', array($params), "Google_Service_CloudResourceManager_GetAncestryResponse"); + } + /** + * Returns the IAM access control policy for the specified Project. Permission + * is denied if the policy or the resource does not exist. + * (projects.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Policy + */ + public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy"); + } + /** + * Lists Projects that are visible to the user and satisfy the specified filter. + * This method returns Projects in an unspecified order. New Projects do not + * necessarily appear at the end of the list. (projects.listProjects) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter An expression for filtering the results of the + * request. Filter rules are case insensitive. The fields eligible for + * filtering are: + * + * + `name` + `id` + labels.key where *key* is the name of a label + * + * Some examples of using labels as filters: + * + * |Filter|Description| |------|-----------| |name:*|The project has a name.| + * |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to + * above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the + * label `color`.| |labels.color:red|The project's label `color` has the value + * `red`.| |labels.color:redlabel.size:big|The project's label `color` has the + * value `red` and its label `size` has the value `big`. + * + * Optional. + * @opt_param string pageToken A pagination token returned from a previous call + * to ListProjects that indicates from where listing should continue. + * + * Optional. + * @opt_param int pageSize The maximum number of Projects to return in the + * response. The server can return fewer Projects than requested. If + * unspecified, server picks an appropriate default. + * + * Optional. + * @return Google_Service_CloudResourceManager_ListProjectsResponse + */ + public function listProjects($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListProjectsResponse"); + } + /** + * Sets the IAM access control policy for the specified Project. Replaces any + * existing policy. + * + * The following constraints apply when using `setIamPolicy()`: + * + * + Project does not support `allUsers` and `allAuthenticatedUsers` as + * `members` in a `Binding` of a `Policy`. + * + * + The owner role can be granted only to `user` and `serviceAccount`. + * + * + Service accounts can be made owners of a project directly without any + * restrictions. However, to be added as an owner, a user must be invited via + * Cloud Platform console and must accept the invitation. + * + * + A user cannot be granted the owner role using `setIamPolicy()`. The user + * must be granted the owner role using the Cloud Platform Console and must + * explicitly accept the invitation. + * + * + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; + * they must be sent only using the Cloud Platform Console. + * + * + Membership changes that leave the project without any owners that have + * accepted the Terms of Service (ToS) will be rejected. + * + * + There must be at least one owner who has accepted the Terms of Service + * (ToS) agreement in the policy. Calling `setIamPolicy()` to to remove the last + * ToS-accepted owner from the policy will fail. This restriction also applies + * to legacy projects that no longer have owners who have accepted the ToS. + * Edits to IAM policies will be rejected until the lack of a ToS-accepting + * owner is rectified. + * + * + Calling this method requires enabling the App Engine Admin API. + * + * Note: Removing service accounts from policies or changing their roles can + * render services completely inoperable. It is important to understand how the + * service account is being used before removing or updating its roles. + * (projects.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Policy + */ + public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy"); + } + /** + * Returns permissions that a caller has on the specified Project. + * (projects.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse"); + } + /** + * Restores the Project identified by the specified `project_id` (for example, + * `my-project-123`). You can only use this method for a Project that has a + * lifecycle state of DELETE_REQUESTED. After deletion starts, the Project + * cannot be restored. + * + * The caller must have modify permissions for this Project. (projects.undelete) + * + * @param string $projectId The project ID (for example, `foo-bar-123`). + * + * Required. + * @param Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty + */ + public function undelete($projectId, Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty"); + } + /** + * Updates the attributes of the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * + * The caller must have modify permissions for this Project. (projects.update) + * + * @param string $projectId The project ID (for example, `my-project-123`). + * + * Required. + * @param Google_Service_CloudResourceManager_Project $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudResourceManager_Project + */ + public function update($projectId, Google_Service_CloudResourceManager_Project $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_CloudResourceManager_Project"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php new file mode 100644 index 00000000..ac1347bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/ResourceId.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php new file mode 100644 index 00000000..d682ba0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsRequest.php @@ -0,0 +1,48 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php new file mode 100644 index 00000000..d05ba06e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SearchOrganizationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php new file mode 100644 index 00000000..e84b61c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/SetIamPolicyRequest.php @@ -0,0 +1,40 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php new file mode 100644 index 00000000..b5c5b7ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php new file mode 100644 index 00000000..9f69000b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php new file mode 100644 index 00000000..252c3846 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php new file mode 100644 index 00000000..b79b4629 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudResourceManager/UndeleteProjectRequest.php @@ -0,0 +1,20 @@ + + * Provides capabilities for dynamic configuration and coordination for + * applications running on Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudRuntimeConfig extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your Google Cloud Platform services' runtime configuration. */ + const CLOUDRUNTIMECONFIG = + "https://www.googleapis.com/auth/cloudruntimeconfig"; + + public $operations; + + /** + * Constructs the internal representation of the CloudRuntimeConfig service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://runtimeconfig.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'runtimeconfig'; + + $this->operations = new Google_Service_CloudRuntimeConfig_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php new file mode 100644 index 00000000..948405c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/CancelOperationRequest.php @@ -0,0 +1,20 @@ +number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php new file mode 100644 index 00000000..e1321943 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/EndCondition.php @@ -0,0 +1,31 @@ +cardinality = $cardinality; + } + public function getCardinality() + { + return $this->cardinality; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php new file mode 100644 index 00000000..607dbbc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListConfigsResponse.php @@ -0,0 +1,41 @@ +configs = $configs; + } + public function getConfigs() + { + return $this->configs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php new file mode 100644 index 00000000..9ef11d09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php new file mode 100644 index 00000000..b063e7ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListVariablesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVariables($variables) + { + $this->variables = $variables; + } + public function getVariables() + { + return $this->variables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php new file mode 100644 index 00000000..e6b7a0d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/ListWaitersResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setWaiters($waiters) + { + $this->waiters = $waiters; + } + public function getWaiters() + { + return $this->waiters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php new file mode 100644 index 00000000..7339420d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudRuntimeConfig_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php new file mode 100644 index 00000000..25354914 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Operations.php @@ -0,0 +1,88 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $operations = $runtimeconfigService->operations; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_Operations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param Google_Service_CloudRuntimeConfig_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty + */ + public function cancel($name, Google_Service_CloudRuntimeConfig_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @return Google_Service_CloudRuntimeConfig_ListOperationsResponse + */ + public function listOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php new file mode 100644 index 00000000..10009973 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $projects = $runtimeconfigService->projects; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php new file mode 100644 index 00000000..013afd37 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigs.php @@ -0,0 +1,123 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $configs = $runtimeconfigService->configs; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigs extends Google_Service_Resource +{ + /** + * Creates a new RuntimeConfig resource. The configuration name must be unique + * within project. (configs.create) + * + * @param string $parent The [project + * ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for + * this request, in the format `projects/[PROJECT_ID]`. + * @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional unique request_id. If server receives + * two Create requests with the same request_id then second request will be + * ignored and the resource stored in the backend will be returned. Empty + * request_id fields are ignored. It is responsibility of the client to ensure + * uniqueness of the request_id strings. The strings are limited to 64 + * characters. + * @return Google_Service_CloudRuntimeConfig_RuntimeConfig + */ + public function create($parent, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig"); + } + /** + * Deletes a RuntimeConfig resource. (configs.delete) + * + * @param string $name The RuntimeConfig resource to delete, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty"); + } + /** + * Gets information about a RuntimeConfig resource. (configs.get) + * + * @param string $name The name of the RuntimeConfig resource to retrieve, in + * the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeConfig + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig"); + } + /** + * Lists all the RuntimeConfig resources within project. + * (configs.listProjectsConfigs) + * + * @param string $parent The [project + * ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for + * this request, in the format `projects/[PROJECT_ID]`. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Specifies the number of results to return per page. + * If there are fewer elements than the specified number, returns all elements. + * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to + * a `nextPageToken` returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudRuntimeConfig_ListConfigsResponse + */ + public function listProjectsConfigs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListConfigsResponse"); + } + /** + * Updates a RuntimeConfig resource. The configuration must exist beforehand. + * (configs.update) + * + * @param string $name The name of the RuntimeConfig resource to update, in the + * format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeConfig + */ + public function update($name, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php new file mode 100644 index 00000000..9e00b34d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsOperations.php @@ -0,0 +1,43 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $operations = $runtimeconfigService->operations; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsOperations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php new file mode 100644 index 00000000..23713ff3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsVariables.php @@ -0,0 +1,170 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $variables = $runtimeconfigService->variables; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsVariables extends Google_Service_Resource +{ + /** + * Creates a variable within the given configuration. You cannot create a + * variable with a name that is a prefix of an existing variable name, or a name + * that has an existing variable name as a prefix. + * + * To learn more about creating a variable, read the [Setting and Getting Data + * ](/deployment-manager/runtime-configurator/set-and-get-variables) + * documentation. (variables.create) + * + * @param string $parent The path to the RutimeConfig resource that this + * variable should belong to. The configuration must exist beforehand; the path + * must by in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param Google_Service_CloudRuntimeConfig_Variable $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional unique request_id. If server receives + * two Create requests with the same request_id then second request will be + * ignored and the resource stored in the backend will be returned. Empty + * request_id fields are ignored. It is responsibility of the client to ensure + * uniqueness of the request_id strings. The strings are limited to 64 + * characters. + * @return Google_Service_CloudRuntimeConfig_Variable + */ + public function create($parent, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Variable"); + } + /** + * Deletes a variable or multiple variables. + * + * If you specify a variable name, then that variable is deleted. If you specify + * a prefix and `recursive` is true, then all variables with that prefix are + * deleted. You must set a `recursive` to true if you delete variables by + * prefix. (variables.delete) + * + * @param string $name The name of the variable to delete, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]` + * @param array $optParams Optional parameters. + * + * @opt_param bool recursive Set to `true` to recursively delete multiple + * variables with the same prefix. + * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty"); + } + /** + * Gets information about a single variable. (variables.get) + * + * @param string $name The name of the variable to return, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]` + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_Variable + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Variable"); + } + /** + * Lists variables within given a configuration, matching any provided filters. + * This only lists variable names, not the values. + * (variables.listProjectsConfigsVariables) + * + * @param string $parent The path to the RuntimeConfig resource for which you + * want to list variables. The configuration must exist beforehand; the path + * must by in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Specifies the number of results to return per page. + * If there are fewer elements than the specified number, returns all elements. + * @opt_param string filter Filters variables by matching the specified filter. + * For example: + * + * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. + * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to + * a `nextPageToken` returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudRuntimeConfig_ListVariablesResponse + */ + public function listProjectsConfigsVariables($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListVariablesResponse"); + } + /** + * Updates an existing variable with a new value. (variables.update) + * + * @param string $name The name of the variable to update, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]` + * @param Google_Service_CloudRuntimeConfig_Variable $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_Variable + */ + public function update($name, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_Variable"); + } + /** + * Watches a specific variable and waits for a change in the variable's value. + * When there is a change, this method returns the new value or times out. + * + * If a variable is deleted while being watched, the `variableState` state is + * set to `DELETED` and the method returns the last known variable `value`. + * + * If you set the deadline for watching to a larger value than internal timeout + * (60 seconds), the current variable value is returned and the `variableState` + * will be `VARIABLE_STATE_UNSPECIFIED`. + * + * To learn more about creating a watcher, read the [Watching a Variable for + * Changes](/deployment-manager/runtime-configurator/watching-a-variable) + * documentation. (variables.watch) + * + * @param string $name The name of the variable to watch, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_Variable + */ + public function watch($name, Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_CloudRuntimeConfig_Variable"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php new file mode 100644 index 00000000..7f407cbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Resource/ProjectsConfigsWaiters.php @@ -0,0 +1,111 @@ + + * $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...); + * $waiters = $runtimeconfigService->waiters; + * + */ +class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsWaiters extends Google_Service_Resource +{ + /** + * Creates a Waiter resource. This operation returns a long-running Operation + * resource which can be polled for completion. However, a waiter with the given + * name will exist (and can be retrieved) prior to the operation completing. If + * the operation fails, the failed Waiter resource will still exist and must be + * deleted prior to subsequent creation attempts. (waiters.create) + * + * @param string $parent The path to the configuration that will own the waiter. + * The configuration must exist beforehand; the path must by in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`. + * @param Google_Service_CloudRuntimeConfig_Waiter $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId An optional unique request_id. If server receives + * two Create requests with the same request_id then second request will be + * ignored and information stored in the backend will be returned. Empty + * request_id fields are ignored. It is responsibility of the client to ensure + * uniqueness of the request_id strings. The strings are limited to 64 + * characters. + * @return Google_Service_CloudRuntimeConfig_Operation + */ + public function create($parent, Google_Service_CloudRuntimeConfig_Waiter $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Operation"); + } + /** + * Deletes the waiter with the specified name. (waiters.delete) + * + * @param string $name The Waiter resource to delete, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]` + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty"); + } + /** + * Gets information about a single waiter. (waiters.get) + * + * @param string $name The fully-qualified name of the Waiter resource object to + * retrieve, in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]` + * @param array $optParams Optional parameters. + * @return Google_Service_CloudRuntimeConfig_Waiter + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Waiter"); + } + /** + * List waiters within the given configuration. + * (waiters.listProjectsConfigsWaiters) + * + * @param string $parent The path to the configuration for which you want to get + * a list of waiters. The configuration must exist beforehand; the path must by + * in the format: + * + * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Specifies the number of results to return per page. + * If there are fewer elements than the specified number, returns all elements. + * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to + * a `nextPageToken` returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudRuntimeConfig_ListWaitersResponse + */ + public function listProjectsConfigsWaiters($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListWaitersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php new file mode 100644 index 00000000..445bade1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeConfig.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php new file mode 100644 index 00000000..a07606d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/RuntimeconfigEmpty.php @@ -0,0 +1,20 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php new file mode 100644 index 00000000..2d0159cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Variable.php @@ -0,0 +1,66 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php new file mode 100644 index 00000000..d115775b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/Waiter.php @@ -0,0 +1,87 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudRuntimeConfig_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setFailure(Google_Service_CloudRuntimeConfig_EndCondition $failure) + { + $this->failure = $failure; + } + public function getFailure() + { + return $this->failure; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSuccess(Google_Service_CloudRuntimeConfig_EndCondition $success) + { + $this->success = $success; + } + public function getSuccess() + { + return $this->success; + } + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + public function getTimeout() + { + return $this->timeout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php new file mode 100644 index 00000000..7de9800f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudRuntimeConfig/WatchVariableRequest.php @@ -0,0 +1,30 @@ +newerThan = $newerThan; + } + public function getNewerThan() + { + return $this->newerThan; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php new file mode 100644 index 00000000..4aa4def0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories.php @@ -0,0 +1,134 @@ + + * Access source code repositories hosted by Google.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudSourceRepositories extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_repos; + + /** + * Constructs the internal representation of the CloudSourceRepositories + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://sourcerepo.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'sourcerepo'; + + $this->projects_repos = new Google_Service_CloudSourceRepositories_Resource_ProjectsRepos( + $this, + $this->serviceName, + 'repos', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/repos', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/repos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php new file mode 100644 index 00000000..28d14b9b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditConfig.php @@ -0,0 +1,50 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setExemptedMembers($exemptedMembers) + { + $this->exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php new file mode 100644 index 00000000..6e518855 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php new file mode 100644 index 00000000..4cec3792 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php new file mode 100644 index 00000000..48b8fc29 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CloudAuditOptions.php @@ -0,0 +1,20 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php new file mode 100644 index 00000000..bd46c5de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/CounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php new file mode 100644 index 00000000..7ca520ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/DataAccessOptions.php @@ -0,0 +1,20 @@ +repos = $repos; + } + public function getRepos() + { + return $this->repos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php new file mode 100644 index 00000000..dd5aec75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/LogConfig.php @@ -0,0 +1,51 @@ +cloudAudit = $cloudAudit; + } + public function getCloudAudit() + { + return $this->cloudAudit; + } + public function setCounter(Google_Service_CloudSourceRepositories_CounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } + public function setDataAccess(Google_Service_CloudSourceRepositories_DataAccessOptions $dataAccess) + { + $this->dataAccess = $dataAccess; + } + public function getDataAccess() + { + return $this->dataAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php new file mode 100644 index 00000000..ed8f6f0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/MirrorConfig.php @@ -0,0 +1,48 @@ +deployKeyId = $deployKeyId; + } + public function getDeployKeyId() + { + return $this->deployKeyId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWebhookId($webhookId) + { + $this->webhookId = $webhookId; + } + public function getWebhookId() + { + return $this->webhookId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php new file mode 100644 index 00000000..8be72e81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php new file mode 100644 index 00000000..6dae23e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Repo.php @@ -0,0 +1,58 @@ +mirrorConfig = $mirrorConfig; + } + public function getMirrorConfig() + { + return $this->mirrorConfig; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php new file mode 100644 index 00000000..fcac6a61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $sourcerepoService = new Google_Service_CloudSourceRepositories(...); + * $projects = $sourcerepoService->projects; + * + */ +class Google_Service_CloudSourceRepositories_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php new file mode 100644 index 00000000..8defb71c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Resource/ProjectsRepos.php @@ -0,0 +1,139 @@ + + * $sourcerepoService = new Google_Service_CloudSourceRepositories(...); + * $repos = $sourcerepoService->repos; + * + */ +class Google_Service_CloudSourceRepositories_Resource_ProjectsRepos extends Google_Service_Resource +{ + /** + * Creates a repo in the given project with the given name.. + * + * If the named repository already exists, `CreateRepo` returns + * `ALREADY_EXISTS`. (repos.create) + * + * @param string $parent The project in which to create the repo. Values are of + * the form `projects/`. + * @param Google_Service_CloudSourceRepositories_Repo $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_Repo + */ + public function create($parent, Google_Service_CloudSourceRepositories_Repo $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudSourceRepositories_Repo"); + } + /** + * Deletes a repo. (repos.delete) + * + * @param string $name The name of the repo to delete. Values are of the form + * `projects//repos/`. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_SourcerepoEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudSourceRepositories_SourcerepoEmpty"); + } + /** + * Returns information about a repo. (repos.get) + * + * @param string $name The name of the requested repository. Values are of the + * form `projects//repos/`. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_Repo + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudSourceRepositories_Repo"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (repos.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudSourceRepositories_Policy"); + } + /** + * Returns all repos belonging to a project. (repos.listProjectsRepos) + * + * @param string $name The project ID whose repos should be listed. Values are + * of the form `projects/`. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_ListReposResponse + */ + public function listProjectsRepos($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudSourceRepositories_ListReposResponse"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (repos.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_CloudSourceRepositories_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_Policy + */ + public function setIamPolicy($resource, Google_Service_CloudSourceRepositories_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudSourceRepositories_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. (repos.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_CloudSourceRepositories_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSourceRepositories_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_CloudSourceRepositories_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudSourceRepositories_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php new file mode 100644 index 00000000..fb546cda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIn($in) + { + $this->in = $in; + } + public function getIn() + { + return $this->in; + } + public function setLogConfig($logConfig) + { + $this->logConfig = $logConfig; + } + public function getLogConfig() + { + return $this->logConfig; + } + public function setNotIn($notIn) + { + $this->notIn = $notIn; + } + public function getNotIn() + { + return $this->notIn; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php new file mode 100644 index 00000000..f3539dbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SetIamPolicyRequest.php @@ -0,0 +1,40 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php new file mode 100644 index 00000000..46cf8752 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/SourcerepoEmpty.php @@ -0,0 +1,20 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php new file mode 100644 index 00000000..f8cb728e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSourceRepositories/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php new file mode 100644 index 00000000..065ec190 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI.php @@ -0,0 +1,133 @@ + + * Google Cloud Speech API.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudSpeechAPI extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $operations; + public $speech; + + /** + * Constructs the internal representation of the CloudSpeechAPI service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://speech.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'speech'; + + $this->operations = new Google_Service_CloudSpeechAPI_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1beta1/operations/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/operations/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/operations/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->speech = new Google_Service_CloudSpeechAPI_Resource_Speech( + $this, + $this->serviceName, + 'speech', + array( + 'methods' => array( + 'asyncrecognize' => array( + 'path' => 'v1beta1/speech:asyncrecognize', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'syncrecognize' => array( + 'path' => 'v1beta1/speech:syncrecognize', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php new file mode 100644 index 00000000..cf03fbd9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/AsyncRecognizeRequest.php @@ -0,0 +1,41 @@ +audio = $audio; + } + public function getAudio() + { + return $this->audio; + } + public function setConfig(Google_Service_CloudSpeechAPI_RecognitionConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php new file mode 100644 index 00000000..123426e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/CancelOperationRequest.php @@ -0,0 +1,20 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php new file mode 100644 index 00000000..1f356d2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_CloudSpeechAPI_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php new file mode 100644 index 00000000..8b08ac8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionAudio.php @@ -0,0 +1,39 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php new file mode 100644 index 00000000..a656b8de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/RecognitionConfig.php @@ -0,0 +1,76 @@ +encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setMaxAlternatives($maxAlternatives) + { + $this->maxAlternatives = $maxAlternatives; + } + public function getMaxAlternatives() + { + return $this->maxAlternatives; + } + public function setProfanityFilter($profanityFilter) + { + $this->profanityFilter = $profanityFilter; + } + public function getProfanityFilter() + { + return $this->profanityFilter; + } + public function setSampleRate($sampleRate) + { + $this->sampleRate = $sampleRate; + } + public function getSampleRate() + { + return $this->sampleRate; + } + public function setSpeechContext(Google_Service_CloudSpeechAPI_SpeechContext $speechContext) + { + $this->speechContext = $speechContext; + } + public function getSpeechContext() + { + return $this->speechContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php new file mode 100644 index 00000000..07efe1ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Operations.php @@ -0,0 +1,100 @@ + + * $speechService = new Google_Service_CloudSpeechAPI(...); + * $operations = $speechService->operations; + * + */ +class Google_Service_CloudSpeechAPI_Resource_Operations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param Google_Service_CloudSpeechAPI_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSpeechAPI_SpeechEmpty + */ + public function cancel($name, Google_Service_CloudSpeechAPI_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_CloudSpeechAPI_SpeechEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSpeechAPI_SpeechEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudSpeechAPI_SpeechEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSpeechAPI_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudSpeechAPI_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @opt_param string name The name of the operation collection. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_CloudSpeechAPI_ListOperationsResponse + */ + public function listOperations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudSpeechAPI_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php new file mode 100644 index 00000000..694ecd44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Resource/Speech.php @@ -0,0 +1,58 @@ + + * $speechService = new Google_Service_CloudSpeechAPI(...); + * $speech = $speechService->speech; + * + */ +class Google_Service_CloudSpeechAPI_Resource_Speech extends Google_Service_Resource +{ + /** + * Perform asynchronous speech-recognition: receive results via the + * google.longrunning.Operations interface. Returns either an `Operation.error` + * or an `Operation.response` which contains an `AsyncRecognizeResponse` + * message. (speech.asyncrecognize) + * + * @param Google_Service_CloudSpeechAPI_AsyncRecognizeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSpeechAPI_Operation + */ + public function asyncrecognize(Google_Service_CloudSpeechAPI_AsyncRecognizeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('asyncrecognize', array($params), "Google_Service_CloudSpeechAPI_Operation"); + } + /** + * Perform synchronous speech-recognition: receive results after all audio has + * been sent and processed. (speech.syncrecognize) + * + * @param Google_Service_CloudSpeechAPI_SyncRecognizeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudSpeechAPI_SyncRecognizeResponse + */ + public function syncrecognize(Google_Service_CloudSpeechAPI_SyncRecognizeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('syncrecognize', array($params), "Google_Service_CloudSpeechAPI_SyncRecognizeResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php new file mode 100644 index 00000000..256dfd05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechContext.php @@ -0,0 +1,31 @@ +phrases = $phrases; + } + public function getPhrases() + { + return $this->phrases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php new file mode 100644 index 00000000..e699d424 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechEmpty.php @@ -0,0 +1,20 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setTranscript($transcript) + { + $this->transcript = $transcript; + } + public function getTranscript() + { + return $this->transcript; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php new file mode 100644 index 00000000..5bab6493 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SpeechRecognitionResult.php @@ -0,0 +1,32 @@ +alternatives = $alternatives; + } + public function getAlternatives() + { + return $this->alternatives; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php new file mode 100644 index 00000000..62ed7860 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php new file mode 100644 index 00000000..0cb07439 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeRequest.php @@ -0,0 +1,41 @@ +audio = $audio; + } + public function getAudio() + { + return $this->audio; + } + public function setConfig(Google_Service_CloudSpeechAPI_RecognitionConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php new file mode 100644 index 00000000..753753bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudSpeechAPI/SyncRecognizeResponse.php @@ -0,0 +1,32 @@ +results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php new file mode 100644 index 00000000..8a7b7876 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace.php @@ -0,0 +1,146 @@ + + * Send and retrieve trace data from Stackdriver Trace. Data is generated and + * available by default for all App Engine applications. Data from other + * applications can be written to Stackdriver Trace for display, reporting, and + * analysis.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudTrace extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Write Trace data for a project or application. */ + const TRACE_APPEND = + "https://www.googleapis.com/auth/trace.append"; + /** Read Trace data for a project or application. */ + const TRACE_READONLY = + "https://www.googleapis.com/auth/trace.readonly"; + + public $projects; + public $projects_traces; + + /** + * Constructs the internal representation of the CloudTrace service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudtrace.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudtrace'; + + $this->projects = new Google_Service_CloudTrace_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'patchTraces' => array( + 'path' => 'v1/projects/{projectId}/traces', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_traces = new Google_Service_CloudTrace_Resource_ProjectsTraces( + $this, + $this->serviceName, + 'traces', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/projects/{projectId}/traces/{traceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'traceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/traces', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php new file mode 100644 index 00000000..70f91b23 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/CloudtraceEmpty.php @@ -0,0 +1,20 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTraces($traces) + { + $this->traces = $traces; + } + public function getTraces() + { + return $this->traces; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php new file mode 100644 index 00000000..18a26dbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/Projects.php @@ -0,0 +1,47 @@ + + * $cloudtraceService = new Google_Service_CloudTrace(...); + * $projects = $cloudtraceService->projects; + * + */ +class Google_Service_CloudTrace_Resource_Projects extends Google_Service_Resource +{ + /** + * Sends new traces to Stackdriver Trace or updates existing traces. If the ID + * of a trace that you send matches that of an existing trace, any fields in the + * existing trace and its spans are overwritten by the provided values, and any + * new fields provided are merged with the existing trace data. If the ID does + * not match, a new trace is created. (projects.patchTraces) + * + * @param string $projectId ID of the Cloud project where the trace data is + * stored. + * @param Google_Service_CloudTrace_Traces $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudTrace_CloudtraceEmpty + */ + public function patchTraces($projectId, Google_Service_CloudTrace_Traces $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patchTraces', array($params), "Google_Service_CloudTrace_CloudtraceEmpty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php new file mode 100644 index 00000000..2fe3f790 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Resource/ProjectsTraces.php @@ -0,0 +1,83 @@ + + * $cloudtraceService = new Google_Service_CloudTrace(...); + * $traces = $cloudtraceService->traces; + * + */ +class Google_Service_CloudTrace_Resource_ProjectsTraces extends Google_Service_Resource +{ + /** + * Gets a single trace by its ID. (traces.get) + * + * @param string $projectId ID of the Cloud project where the trace data is + * stored. + * @param string $traceId ID of the trace to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudTrace_Trace + */ + public function get($projectId, $traceId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'traceId' => $traceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudTrace_Trace"); + } + /** + * Returns of a list of traces that match the specified filter conditions. + * (traces.listProjectsTraces) + * + * @param string $projectId ID of the Cloud project where the trace data is + * stored. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Field used to sort the returned traces. Optional. + * Can be one of the following: + * + * * `trace_id` * `name` (`name` field of root span in the trace) * + * `duration` (difference between `end_time` and `start_time` fields of the + * root span) * `start` (`start_time` field of the root span) + * + * Descending order can be specified by appending `desc` to the sort field (for + * example, `name desc`). + * + * Only one sort field is permitted. + * @opt_param string filter An optional filter for the request. + * @opt_param string endTime Start of the time interval (inclusive) during which + * the trace data was collected from the application. + * @opt_param string pageToken Token identifying the page of results to return. + * If provided, use the value of the `next_page_token` field from a previous + * request. Optional. + * @opt_param string startTime End of the time interval (inclusive) during which + * the trace data was collected from the application. + * @opt_param int pageSize Maximum number of traces to return. If not specified + * or <= 0, the implementation selects a reasonable value. The implementation + * may return fewer traces than the requested page size. Optional. + * @opt_param string view Type of data returned for traces in the list. + * Optional. Default is `MINIMAL`. + * @return Google_Service_CloudTrace_ListTracesResponse + */ + public function listProjectsTraces($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudTrace_ListTracesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php new file mode 100644 index 00000000..f44f3558 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Trace.php @@ -0,0 +1,50 @@ +projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSpans($spans) + { + $this->spans = $spans; + } + public function getSpans() + { + return $this->spans; + } + public function setTraceId($traceId) + { + $this->traceId = $traceId; + } + public function getTraceId() + { + return $this->traceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php new file mode 100644 index 00000000..d14b2f8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/TraceSpan.php @@ -0,0 +1,84 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentSpanId($parentSpanId) + { + $this->parentSpanId = $parentSpanId; + } + public function getParentSpanId() + { + return $this->parentSpanId; + } + public function setSpanId($spanId) + { + $this->spanId = $spanId; + } + public function getSpanId() + { + return $this->spanId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php new file mode 100644 index 00000000..411f545c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudTrace/Traces.php @@ -0,0 +1,32 @@ +traces = $traces; + } + public function getTraces() + { + return $this->traces; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php new file mode 100644 index 00000000..615084f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts.php @@ -0,0 +1,514 @@ + + * Creates and manages users and groups for accessing Google Compute Engine + * virtual machines.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_CloudUserAccounts extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your Google Cloud User Accounts. */ + const CLOUD_USERACCOUNTS = + "https://www.googleapis.com/auth/cloud.useraccounts"; + /** View your Google Cloud User Accounts. */ + const CLOUD_USERACCOUNTS_READONLY = + "https://www.googleapis.com/auth/cloud.useraccounts.readonly"; + + public $globalAccountsOperations; + public $groups; + public $linux; + public $users; + + /** + * Constructs the internal representation of the CloudUserAccounts service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'clouduseraccounts/vm_alpha/projects/'; + $this->version = 'vm_alpha'; + $this->serviceName = 'clouduseraccounts'; + + $this->globalAccountsOperations = new Google_Service_CloudUserAccounts_Resource_GlobalAccountsOperations( + $this, + $this->serviceName, + 'globalAccountsOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_CloudUserAccounts_Resource_Groups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'addMember' => array( + 'path' => '{project}/global/groups/{groupName}/addMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => '{project}/global/groups/{resource}/getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeMember' => array( + 'path' => '{project}/global/groups/{groupName}/removeMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => '{project}/global/groups/{resource}/setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => '{project}/global/groups/{resource}/testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->linux = new Google_Service_CloudUserAccounts_Resource_Linux( + $this, + $this->serviceName, + 'linux', + array( + 'methods' => array( + 'getAuthorizedKeysView' => array( + 'path' => '{project}/zones/{zone}/authorizedKeysView/{user}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'login' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'getLinuxAccountViews' => array( + 'path' => '{project}/zones/{zone}/linuxAccountViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_CloudUserAccounts_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'addPublicKey' => array( + 'path' => '{project}/global/users/{user}/addPublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => '{project}/global/users/{resource}/getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removePublicKey' => array( + 'path' => '{project}/global/users/{user}/removePublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => '{project}/global/users/{resource}/setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => '{project}/global/users/{resource}/testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php new file mode 100644 index 00000000..aeef16e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuditConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php new file mode 100644 index 00000000..839aa89b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/AuthorizedKeysView.php @@ -0,0 +1,40 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setSudoer($sudoer) + { + $this->sudoer = $sudoer; + } + public function getSudoer() + { + return $this->sudoer; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php new file mode 100644 index 00000000..187630d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php new file mode 100644 index 00000000..51da8763 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Condition.php @@ -0,0 +1,76 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php new file mode 100644 index 00000000..b7bb5f58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Group.php @@ -0,0 +1,85 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php new file mode 100644 index 00000000..89e71e64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php new file mode 100644 index 00000000..7683d8fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsAddMemberRequest.php @@ -0,0 +1,31 @@ +users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php new file mode 100644 index 00000000..5d5cf7c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/GroupsRemoveMemberRequest.php @@ -0,0 +1,31 @@ +users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php new file mode 100644 index 00000000..c7498762 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxAccountViews.php @@ -0,0 +1,51 @@ +groupViews = $groupViews; + } + public function getGroupViews() + { + return $this->groupViews; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserViews($userViews) + { + $this->userViews = $userViews; + } + public function getUserViews() + { + return $this->userViews; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php new file mode 100644 index 00000000..04442f27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetAuthorizedKeysViewResponse.php @@ -0,0 +1,31 @@ +resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php new file mode 100644 index 00000000..97979a16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGetLinuxAccountViewsResponse.php @@ -0,0 +1,31 @@ +resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php new file mode 100644 index 00000000..9faa5af9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxGroupView.php @@ -0,0 +1,49 @@ +gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setGroupName($groupName) + { + $this->groupName = $groupName; + } + public function getGroupName() + { + return $this->groupName; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php new file mode 100644 index 00000000..c1fedb20 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LinuxUserView.php @@ -0,0 +1,75 @@ +gecos = $gecos; + } + public function getGecos() + { + return $this->gecos; + } + public function setGid($gid) + { + $this->gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setHomeDirectory($homeDirectory) + { + $this->homeDirectory = $homeDirectory; + } + public function getHomeDirectory() + { + return $this->homeDirectory; + } + public function setShell($shell) + { + $this->shell = $shell; + } + public function getShell() + { + return $this->shell; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php new file mode 100644 index 00000000..2b4839e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfig.php @@ -0,0 +1,31 @@ +counter = $counter; + } + public function getCounter() + { + return $this->counter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php new file mode 100644 index 00000000..4efe7f1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/LogConfigCounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php new file mode 100644 index 00000000..851faf5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Operation.php @@ -0,0 +1,231 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_CloudUserAccounts_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php new file mode 100644 index 00000000..87f1583a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php new file mode 100644 index 00000000..59fccfb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php new file mode 100644 index 00000000..c60b9998 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php new file mode 100644 index 00000000..0efbc0ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php new file mode 100644 index 00000000..f93758cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php new file mode 100644 index 00000000..bc8b2b22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php new file mode 100644 index 00000000..c796f305 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/PublicKey.php @@ -0,0 +1,66 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExpirationTimestamp($expirationTimestamp) + { + $this->expirationTimestamp = $expirationTimestamp; + } + public function getExpirationTimestamp() + { + return $this->expirationTimestamp; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php new file mode 100644 index 00000000..8291b075 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/GlobalAccountsOperations.php @@ -0,0 +1,113 @@ + + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations; + * + */ +class Google_Service_CloudUserAccounts_Resource_GlobalAccountsOperations extends Google_Service_Resource +{ + /** + * Deletes the specified operation resource. (globalAccountsOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the specified operation resource. (globalAccountsOperations.get) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Retrieves the list of operation resources contained within the specified + * project. (globalAccountsOperations.listGlobalAccountsOperations) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can + * also filter on nested fields. For example, you could filter on instances that + * have set the scheduling.automaticRestart field to true. In particular, use + * filtering on nested fields to take advantage of instance labels to organize + * and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudUserAccounts_OperationList + */ + public function listGlobalAccountsOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php new file mode 100644 index 00000000..bdb4be98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Groups.php @@ -0,0 +1,206 @@ + + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $groups = $clouduseraccountsService->groups; + * + */ +class Google_Service_CloudUserAccounts_Resource_Groups extends Google_Service_Resource +{ + /** + * Adds users to the specified group. (groups.addMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Deletes the specified Group resource. (groups.delete) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the Group resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function delete($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Returns the specified Group resource. (groups.get) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the Group resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Group + */ + public function get($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group"); + } + /** + * Gets the access control policy for a resource. May be empty if no such policy + * or resource exists. (groups.getIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function getIamPolicy($project, $resource, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + /** + * Creates a Group resource in the specified project using the data included in + * the request. (groups.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_CloudUserAccounts_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Retrieves the list of groups contained within the specified project. + * (groups.listGroups) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can + * also filter on nested fields. For example, you could filter on instances that + * have set the scheduling.automaticRestart field to true. In particular, use + * filtering on nested fields to take advantage of instance labels to organize + * and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudUserAccounts_GroupList + */ + public function listGroups($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList"); + } + /** + * Removes users from the specified group. (groups.removeMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (groups.setIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_CloudUserAccounts_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. + * (groups.testIamPermissions) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_TestPermissionsResponse + */ + public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php new file mode 100644 index 00000000..b43fd1d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Linux.php @@ -0,0 +1,111 @@ + + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $linux = $clouduseraccountsService->linux; + * + */ +class Google_Service_CloudUserAccounts_Resource_Linux extends Google_Service_Resource +{ + /** + * Returns a list of authorized public keys for a specific user account. + * (linux.getAuthorizedKeysView) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $user The user account for which you want to get a list of + * authorized public keys. + * @param string $instance The fully-qualified URL of the virtual machine + * requesting the view. + * @param array $optParams Optional parameters. + * + * @opt_param bool login Whether the view was requested as part of a user- + * initiated login. + * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse + */ + public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse"); + } + /** + * Retrieves a list of user accounts for an instance within a specific project. + * (linux.getLinuxAccountViews) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $instance The fully-qualified URL of the virtual machine + * requesting the views. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can + * also filter on nested fields. For example, you could filter on instances that + * have set the scheduling.automaticRestart field to true. In particular, use + * filtering on nested fields to take advantage of instance labels to organize + * and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse + */ + public function getLinuxAccountViews($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php new file mode 100644 index 00000000..39756972 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Resource/Users.php @@ -0,0 +1,209 @@ + + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $users = $clouduseraccountsService->users; + * + */ +class Google_Service_CloudUserAccounts_Resource_Users extends Google_Service_Resource +{ + /** + * Adds a public key to the specified User resource with the data included in + * the request. (users.addPublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param Google_Service_CloudUserAccounts_PublicKey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Deletes the specified User resource. (users.delete) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function delete($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Returns the specified User resource. (users.get) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_User + */ + public function get($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User"); + } + /** + * Gets the access control policy for a resource. May be empty if no such policy + * or resource exists. (users.getIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function getIamPolicy($project, $resource, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + /** + * Creates a User resource in the specified project using the data included in + * the request. (users.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_CloudUserAccounts_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Retrieves a list of users contained within the specified project. + * (users.listUsers) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can + * also filter on nested fields. For example, you could filter on instances that + * have set the scheduling.automaticRestart field to true. In particular, use + * filtering on nested fields to take advantage of instance labels to organize + * and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_CloudUserAccounts_UserList + */ + public function listUsers($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList"); + } + /** + * Removes the specified public key from the user. (users.removePublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param string $fingerprint The fingerprint of the public key to delete. + * Public keys are identified by their fingerprint, which is defined by RFC4716 + * to be the MD5 digest of the public key. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function removePublicKey($project, $user, $fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint); + $params = array_merge($params, $optParams); + return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (users.setIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_CloudUserAccounts_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. + * (users.testIamPermissions) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_TestPermissionsResponse + */ + public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php new file mode 100644 index 00000000..8f68ad31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIns($ins) + { + $this->ins = $ins; + } + public function getIns() + { + return $this->ins; + } + public function setLogConfigs($logConfigs) + { + $this->logConfigs = $logConfigs; + } + public function getLogConfigs() + { + return $this->logConfigs; + } + public function setNotIns($notIns) + { + $this->notIns = $notIns; + } + public function getNotIns() + { + return $this->notIns; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php new file mode 100644 index 00000000..23f1e843 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php new file mode 100644 index 00000000..96307a87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/TestPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php new file mode 100644 index 00000000..06de7d06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/User.php @@ -0,0 +1,104 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner($owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setPublicKeys($publicKeys) + { + $this->publicKeys = $publicKeys; + } + public function getPublicKeys() + { + return $this->publicKeys; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php new file mode 100644 index 00000000..14ca859d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/CloudUserAccounts/UserList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php new file mode 100644 index 00000000..8ee068d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling.php @@ -0,0 +1,147 @@ + + * Allows developers to manage billing for their Google Cloud Platform projects + * programmatically.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Cloudbilling extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $billingAccounts; + public $billingAccounts_projects; + public $projects; + + /** + * Constructs the internal representation of the Cloudbilling service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudbilling.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudbilling'; + + $this->billingAccounts = new Google_Service_Cloudbilling_Resource_BillingAccounts( + $this, + $this->serviceName, + 'billingAccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/billingAccounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->billingAccounts_projects = new Google_Service_Cloudbilling_Resource_BillingAccountsProjects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/{+name}/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Cloudbilling_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'getBillingInfo' => array( + 'path' => 'v1/{+name}/billingInfo', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateBillingInfo' => array( + 'path' => 'v1/{+name}/billingInfo', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php new file mode 100644 index 00000000..89fee313 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/BillingAccount.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOpen($open) + { + $this->open = $open; + } + public function getOpen() + { + return $this->open; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php new file mode 100644 index 00000000..79165eb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListBillingAccountsResponse.php @@ -0,0 +1,41 @@ +billingAccounts = $billingAccounts; + } + public function getBillingAccounts() + { + return $this->billingAccounts; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php new file mode 100644 index 00000000..0b7ff5ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ListProjectBillingInfoResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjectBillingInfo($projectBillingInfo) + { + $this->projectBillingInfo = $projectBillingInfo; + } + public function getProjectBillingInfo() + { + return $this->projectBillingInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php new file mode 100644 index 00000000..09e2e0fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/ProjectBillingInfo.php @@ -0,0 +1,57 @@ +billingAccountName = $billingAccountName; + } + public function getBillingAccountName() + { + return $this->billingAccountName; + } + public function setBillingEnabled($billingEnabled) + { + $this->billingEnabled = $billingEnabled; + } + public function getBillingEnabled() + { + return $this->billingEnabled; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php new file mode 100644 index 00000000..3adfa84d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccounts.php @@ -0,0 +1,66 @@ + + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $billingAccounts = $cloudbillingService->billingAccounts; + * + */ +class Google_Service_Cloudbilling_Resource_BillingAccounts extends Google_Service_Resource +{ + /** + * Gets information about a billing account. The current authenticated user must + * be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + * (billingAccounts.get) + * + * @param string $name The resource name of the billing account to retrieve. For + * example, `billingAccounts/012345-567890-ABCDEF`. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_BillingAccount + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudbilling_BillingAccount"); + } + /** + * Lists the billing accounts that the current authenticated user + * [owns](https://support.google.com/cloud/answer/4430947). + * (billingAccounts.listBillingAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Requested page size. The maximum page size is 100; + * this is also the default. + * @opt_param string pageToken A token identifying a page of results to return. + * This should be a `next_page_token` value returned from a previous + * `ListBillingAccounts` call. If unspecified, the first page of results is + * returned. + * @return Google_Service_Cloudbilling_ListBillingAccountsResponse + */ + public function listBillingAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudbilling_ListBillingAccountsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php new file mode 100644 index 00000000..7cd8ce59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/BillingAccountsProjects.php @@ -0,0 +1,53 @@ + + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $projects = $cloudbillingService->projects; + * + */ +class Google_Service_Cloudbilling_Resource_BillingAccountsProjects extends Google_Service_Resource +{ + /** + * Lists the projects associated with a billing account. The current + * authenticated user must be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + * (projects.listBillingAccountsProjects) + * + * @param string $name The resource name of the billing account associated with + * the projects that you want to list. For example, + * `billingAccounts/012345-567890-ABCDEF`. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Requested page size. The maximum page size is 100; + * this is also the default. + * @opt_param string pageToken A token identifying a page of results to be + * returned. This should be a `next_page_token` value returned from a previous + * `ListProjectBillingInfo` call. If unspecified, the first page of results is + * returned. + * @return Google_Service_Cloudbilling_ListProjectBillingInfoResponse + */ + public function listBillingAccountsProjects($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudbilling_ListProjectBillingInfoResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php new file mode 100644 index 00000000..222ebccf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudbilling/Resource/Projects.php @@ -0,0 +1,89 @@ + + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $projects = $cloudbillingService->projects; + * + */ +class Google_Service_Cloudbilling_Resource_Projects extends Google_Service_Resource +{ + /** + * Gets the billing information for a project. The current authenticated user + * must have [permission to view the project](https://cloud.google.com/docs + * /permissions-overview#h.bgs0oxofvnoo ). (projects.getBillingInfo) + * + * @param string $name The resource name of the project for which billing + * information is retrieved. For example, `projects/tokyo-rain-123`. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_ProjectBillingInfo + */ + public function getBillingInfo($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('getBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo"); + } + /** + * Sets or updates the billing account associated with a project. You specify + * the new billing account by setting the `billing_account_name` in the + * `ProjectBillingInfo` resource to the resource name of a billing account. + * Associating a project with an open billing account enables billing on the + * project and allows charges for resource usage. If the project already had a + * billing account, this method changes the billing account used for resource + * usage charges. + * + * *Note:* Incurred charges that have not yet been reported in the transaction + * history of the Google Cloud Console may be billed to the new billing account, + * even if the charge occurred before the new billing account was assigned to + * the project. + * + * The current authenticated user must have ownership privileges for both the + * [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) + * and the [billing account](https://support.google.com/cloud/answer/4430947). + * + * You can disable billing on the project by setting the `billing_account_name` + * field to empty. This action disassociates the current billing account from + * the project. Any billable activity of your in-use services will stop, and + * your application could stop functioning as expected. Any unbilled charges to + * date will be billed to the previously associated account. The current + * authenticated user must be either an owner of the project or an owner of the + * billing account for the project. + * + * Note that associating a project with a *closed* billing account will have + * much the same effect as disabling billing on the project: any paid resources + * used by the project will be shut down. Thus, unless you wish to disable + * billing, you should always call this method with the name of an *open* + * billing account. (projects.updateBillingInfo) + * + * @param string $name The resource name of the project associated with the + * billing information that you want to update. For example, `projects/tokyo- + * rain-123`. + * @param Google_Service_Cloudbilling_ProjectBillingInfo $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_ProjectBillingInfo + */ + public function updateBillingInfo($name, Google_Service_Cloudbilling_ProjectBillingInfo $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php new file mode 100644 index 00000000..fce44e1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting.php @@ -0,0 +1,231 @@ + + * Stackdriver Error Reporting groups and counts similar errors from cloud + * services. The Stackdriver Error Reporting API provides a way to report new + * errors and read access to error groups and their associated errors.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Clouderrorreporting extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects; + public $projects_events; + public $projects_groupStats; + public $projects_groups; + + /** + * Constructs the internal representation of the Clouderrorreporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://clouderrorreporting.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'clouderrorreporting'; + + $this->projects = new Google_Service_Clouderrorreporting_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'deleteEvents' => array( + 'path' => 'v1beta1/{+projectName}/events', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_events = new Google_Service_Clouderrorreporting_Resource_ProjectsEvents( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/{+projectName}/events', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceFilter.service' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'serviceFilter.version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceFilter.resourceType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeRange.period' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'report' => array( + 'path' => 'v1beta1/{+projectName}/events:report', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_groupStats = new Google_Service_Clouderrorreporting_Resource_ProjectsGroupStats( + $this, + $this->serviceName, + 'groupStats', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/{+projectName}/groupStats', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timedCountDuration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeRange.period' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alignment' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'groupId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'serviceFilter.service' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'serviceFilter.version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceFilter.resourceType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alignmentTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_groups = new Google_Service_Clouderrorreporting_Resource_ProjectsGroups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1beta1/{+groupName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1beta1/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php new file mode 100644 index 00000000..967bddb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/DeleteEventsResponse.php @@ -0,0 +1,20 @@ +httpRequest = $httpRequest; + } + public function getHttpRequest() + { + return $this->httpRequest; + } + public function setReportLocation(Google_Service_Clouderrorreporting_SourceLocation $reportLocation) + { + $this->reportLocation = $reportLocation; + } + public function getReportLocation() + { + return $this->reportLocation; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php new file mode 100644 index 00000000..762f70d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorEvent.php @@ -0,0 +1,59 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setEventTime($eventTime) + { + $this->eventTime = $eventTime; + } + public function getEventTime() + { + return $this->eventTime; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setServiceContext(Google_Service_Clouderrorreporting_ServiceContext $serviceContext) + { + $this->serviceContext = $serviceContext; + } + public function getServiceContext() + { + return $this->serviceContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php new file mode 100644 index 00000000..b31a8f56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroup.php @@ -0,0 +1,50 @@ +groupId = $groupId; + } + public function getGroupId() + { + return $this->groupId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTrackingIssues($trackingIssues) + { + $this->trackingIssues = $trackingIssues; + } + public function getTrackingIssues() + { + return $this->trackingIssues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php new file mode 100644 index 00000000..d02e9ace --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ErrorGroupStats.php @@ -0,0 +1,107 @@ +affectedServices = $affectedServices; + } + public function getAffectedServices() + { + return $this->affectedServices; + } + public function setAffectedUsersCount($affectedUsersCount) + { + $this->affectedUsersCount = $affectedUsersCount; + } + public function getAffectedUsersCount() + { + return $this->affectedUsersCount; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setFirstSeenTime($firstSeenTime) + { + $this->firstSeenTime = $firstSeenTime; + } + public function getFirstSeenTime() + { + return $this->firstSeenTime; + } + public function setGroup(Google_Service_Clouderrorreporting_ErrorGroup $group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setLastSeenTime($lastSeenTime) + { + $this->lastSeenTime = $lastSeenTime; + } + public function getLastSeenTime() + { + return $this->lastSeenTime; + } + public function setNumAffectedServices($numAffectedServices) + { + $this->numAffectedServices = $numAffectedServices; + } + public function getNumAffectedServices() + { + return $this->numAffectedServices; + } + public function setRepresentative(Google_Service_Clouderrorreporting_ErrorEvent $representative) + { + $this->representative = $representative; + } + public function getRepresentative() + { + return $this->representative; + } + public function setTimedCounts($timedCounts) + { + $this->timedCounts = $timedCounts; + } + public function getTimedCounts() + { + return $this->timedCounts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php new file mode 100644 index 00000000..ef8c0125 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/HttpRequestContext.php @@ -0,0 +1,75 @@ +method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setReferrer($referrer) + { + $this->referrer = $referrer; + } + public function getReferrer() + { + return $this->referrer; + } + public function setRemoteIp($remoteIp) + { + $this->remoteIp = $remoteIp; + } + public function getRemoteIp() + { + return $this->remoteIp; + } + public function setResponseStatusCode($responseStatusCode) + { + $this->responseStatusCode = $responseStatusCode; + } + public function getResponseStatusCode() + { + return $this->responseStatusCode; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php new file mode 100644 index 00000000..8081c8b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListEventsResponse.php @@ -0,0 +1,50 @@ +errorEvents = $errorEvents; + } + public function getErrorEvents() + { + return $this->errorEvents; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTimeRangeBegin($timeRangeBegin) + { + $this->timeRangeBegin = $timeRangeBegin; + } + public function getTimeRangeBegin() + { + return $this->timeRangeBegin; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php new file mode 100644 index 00000000..a1339e0e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ListGroupStatsResponse.php @@ -0,0 +1,50 @@ +errorGroupStats = $errorGroupStats; + } + public function getErrorGroupStats() + { + return $this->errorGroupStats; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTimeRangeBegin($timeRangeBegin) + { + $this->timeRangeBegin = $timeRangeBegin; + } + public function getTimeRangeBegin() + { + return $this->timeRangeBegin; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php new file mode 100644 index 00000000..84b4ae18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ReportErrorEventResponse.php @@ -0,0 +1,20 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setEventTime($eventTime) + { + $this->eventTime = $eventTime; + } + public function getEventTime() + { + return $this->eventTime; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setServiceContext(Google_Service_Clouderrorreporting_ServiceContext $serviceContext) + { + $this->serviceContext = $serviceContext; + } + public function getServiceContext() + { + return $this->serviceContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php new file mode 100644 index 00000000..2d656604 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/Projects.php @@ -0,0 +1,44 @@ + + * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...); + * $projects = $clouderrorreportingService->projects; + * + */ +class Google_Service_Clouderrorreporting_Resource_Projects extends Google_Service_Resource +{ + /** + * Deletes all error events of a given project. (projects.deleteEvents) + * + * @param string $projectName [Required] The resource name of the Google Cloud + * Platform project. Written as `projects/` plus the [Google Cloud Platform + * project ID](https://support.google.com/cloud/answer/6158840). Example: + * `projects/my-project-123`. + * @param array $optParams Optional parameters. + * @return Google_Service_Clouderrorreporting_DeleteEventsResponse + */ + public function deleteEvents($projectName, $optParams = array()) + { + $params = array('projectName' => $projectName); + $params = array_merge($params, $optParams); + return $this->call('deleteEvents', array($params), "Google_Service_Clouderrorreporting_DeleteEventsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php new file mode 100644 index 00000000..dd6ef5ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsEvents.php @@ -0,0 +1,85 @@ + + * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...); + * $events = $clouderrorreportingService->events; + * + */ +class Google_Service_Clouderrorreporting_Resource_ProjectsEvents extends Google_Service_Resource +{ + /** + * Lists the specified events. (events.listProjectsEvents) + * + * @param string $projectName [Required] The resource name of the Google Cloud + * Platform project. Written as `projects/` plus the [Google Cloud Platform + * project ID](https://support.google.com/cloud/answer/6158840). Example: + * `projects/my-project-123`. + * @param array $optParams Optional parameters. + * + * @opt_param string groupId [Required] The group for which events shall be + * returned. + * @opt_param string pageToken [Optional] A `next_page_token` provided by a + * previous response. + * @opt_param string serviceFilter.service [Optional] The exact value to match + * against [`ServiceContext.service`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + * @opt_param int pageSize [Optional] The maximum number of results to return + * per response. + * @opt_param string serviceFilter.version [Optional] The exact value to match + * against [`ServiceContext.version`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + * @opt_param string serviceFilter.resourceType [Optional] The exact value to + * match against [`ServiceContext.resource_type`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + * @opt_param string timeRange.period Restricts the query to the specified time + * range. + * @return Google_Service_Clouderrorreporting_ListEventsResponse + */ + public function listProjectsEvents($projectName, $optParams = array()) + { + $params = array('projectName' => $projectName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Clouderrorreporting_ListEventsResponse"); + } + /** + * Report an individual error event. + * + * This endpoint accepts either an OAuth token, or an API key for + * authentication. To use an API key, append it to the URL as the value of a + * `key` parameter. For example: POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example- + * project/events:report?key=123ABC456 (events.report) + * + * @param string $projectName [Required] The resource name of the Google Cloud + * Platform project. Written as `projects/` plus the [Google Cloud Platform + * project ID](https://support.google.com/cloud/answer/6158840). Example: + * `projects/my-project-123`. + * @param Google_Service_Clouderrorreporting_ReportedErrorEvent $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Clouderrorreporting_ReportErrorEventResponse + */ + public function report($projectName, Google_Service_Clouderrorreporting_ReportedErrorEvent $postBody, $optParams = array()) + { + $params = array('projectName' => $projectName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('report', array($params), "Google_Service_Clouderrorreporting_ReportErrorEventResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php new file mode 100644 index 00000000..d1787fd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroupStats.php @@ -0,0 +1,71 @@ + + * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...); + * $groupStats = $clouderrorreportingService->groupStats; + * + */ +class Google_Service_Clouderrorreporting_Resource_ProjectsGroupStats extends Google_Service_Resource +{ + /** + * Lists the specified groups. (groupStats.listProjectsGroupStats) + * + * @param string $projectName [Required] The resource name of the Google Cloud + * Platform project. Written as projects/ plus the Google Cloud Platform project + * ID. + * + * Example: projects/my-project-123. + * @param array $optParams Optional parameters. + * + * @opt_param string timedCountDuration [Optional] The preferred duration for a + * single returned `TimedCount`. If not set, no timed counts are returned. + * @opt_param string pageToken [Optional] A `next_page_token` provided by a + * previous response. To view additional results, pass this token along with the + * identical query parameters as the first request. + * @opt_param string timeRange.period Restricts the query to the specified time + * range. + * @opt_param string alignment [Optional] The alignment of the timed counts to + * be returned. Default is `ALIGNMENT_EQUAL_AT_END`. + * @opt_param string groupId [Optional] List all ErrorGroupStats with these IDs. + * @opt_param string serviceFilter.service [Optional] The exact value to match + * against [`ServiceContext.service`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + * @opt_param int pageSize [Optional] The maximum number of results to return + * per response. Default is 20. + * @opt_param string serviceFilter.version [Optional] The exact value to match + * against [`ServiceContext.version`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + * @opt_param string order [Optional] The sort order in which the results are + * returned. Default is `COUNT_DESC`. + * @opt_param string serviceFilter.resourceType [Optional] The exact value to + * match against [`ServiceContext.resource_type`](/error- + * reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + * @opt_param string alignmentTime [Optional] Time where the timed counts shall + * be aligned if rounded alignment is chosen. Default is 00:00 UTC. + * @return Google_Service_Clouderrorreporting_ListGroupStatsResponse + */ + public function listProjectsGroupStats($projectName, $optParams = array()) + { + $params = array('projectName' => $projectName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Clouderrorreporting_ListGroupStatsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php new file mode 100644 index 00000000..a75d8a28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/Resource/ProjectsGroups.php @@ -0,0 +1,62 @@ + + * $clouderrorreportingService = new Google_Service_Clouderrorreporting(...); + * $groups = $clouderrorreportingService->groups; + * + */ +class Google_Service_Clouderrorreporting_Resource_ProjectsGroups extends Google_Service_Resource +{ + /** + * Get the specified group. (groups.get) + * + * @param string $groupName [Required] The group resource name. Written as + * projects/projectID/groups/group_name. Call + * + * groupStats.list to return a list of groups belonging to this project. + * + * Example: projects/my-project-123/groups/my-group + * @param array $optParams Optional parameters. + * @return Google_Service_Clouderrorreporting_ErrorGroup + */ + public function get($groupName, $optParams = array()) + { + $params = array('groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Clouderrorreporting_ErrorGroup"); + } + /** + * Replace the data for the specified group. Fails if the group does not exist. + * (groups.update) + * + * @param string $name The group resource name. Example: projects/my- + * project-123/groups/my-groupid + * @param Google_Service_Clouderrorreporting_ErrorGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Clouderrorreporting_ErrorGroup + */ + public function update($name, Google_Service_Clouderrorreporting_ErrorGroup $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Clouderrorreporting_ErrorGroup"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php new file mode 100644 index 00000000..5c421858 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/ServiceContext.php @@ -0,0 +1,48 @@ +resourceType = $resourceType; + } + public function getResourceType() + { + return $this->resourceType; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php new file mode 100644 index 00000000..0af36afa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/SourceLocation.php @@ -0,0 +1,48 @@ +filePath = $filePath; + } + public function getFilePath() + { + return $this->filePath; + } + public function setFunctionName($functionName) + { + $this->functionName = $functionName; + } + public function getFunctionName() + { + return $this->functionName; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php new file mode 100644 index 00000000..81bb63ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TimedCount.php @@ -0,0 +1,48 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php new file mode 100644 index 00000000..d6595405 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Clouderrorreporting/TrackingIssue.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php new file mode 100644 index 00000000..c33743ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest.php @@ -0,0 +1,71 @@ + + * Reports latency data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Cloudlatencytest extends Google_Service +{ + /** View monitoring data for all of your Google Cloud and API projects. */ + const MONITORING_READONLY = + "https://www.googleapis.com/auth/monitoring.readonly"; + + public $statscollection; + + /** + * Constructs the internal representation of the Cloudlatencytest service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudlatencytest-pa.googleapis.com/'; + $this->servicePath = 'v2/statscollection/'; + $this->version = 'v2'; + $this->serviceName = 'cloudlatencytest'; + + $this->statscollection = new Google_Service_Cloudlatencytest_StatscollectionResource( + $this, + $this->serviceName, + 'statscollection', + array( + 'methods' => array( + 'updateaggregatedstats' => array( + 'path' => 'updateaggregatedstats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'updatestats' => array( + 'path' => 'updatestats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php new file mode 100644 index 00000000..94d7d0af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStats.php @@ -0,0 +1,32 @@ +stats = $stats; + } + public function getStats() + { + return $this->stats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php new file mode 100644 index 00000000..41230f5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/AggregatedStatsReply.php @@ -0,0 +1,30 @@ +testValue = $testValue; + } + public function getTestValue() + { + return $this->testValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php new file mode 100644 index 00000000..02ec2e2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/DoubleValue.php @@ -0,0 +1,39 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php new file mode 100644 index 00000000..53c5b93e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/IntValue.php @@ -0,0 +1,39 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php new file mode 100644 index 00000000..51e62a7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/Stats.php @@ -0,0 +1,61 @@ +doubleValues = $doubleValues; + } + public function getDoubleValues() + { + return $this->doubleValues; + } + public function setIntValues($intValues) + { + $this->intValues = $intValues; + } + public function getIntValues() + { + return $this->intValues; + } + public function setStringValues($stringValues) + { + $this->stringValues = $stringValues; + } + public function getStringValues() + { + return $this->stringValues; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php new file mode 100644 index 00000000..238ae50e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatsReply.php @@ -0,0 +1,30 @@ +testValue = $testValue; + } + public function getTestValue() + { + return $this->testValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php new file mode 100644 index 00000000..3f9b41d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StatscollectionResource.php @@ -0,0 +1,54 @@ + + * $cloudlatencytestService = new Google_Service_Cloudlatencytest(...); + * $statscollection = $cloudlatencytestService->statscollection; + * + */ +class Google_Service_Cloudlatencytest_StatscollectionResource extends Google_Service_Resource +{ + /** + * RPC to update the new TCP stats. (statscollection.updateaggregatedstats) + * + * @param Google_Service_Cloudlatencytest_AggregatedStats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudlatencytest_AggregatedStatsReply + */ + public function updateaggregatedstats(Google_Service_Cloudlatencytest_AggregatedStats $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateaggregatedstats', array($params), "Google_Service_Cloudlatencytest_AggregatedStatsReply"); + } + /** + * RPC to update the new TCP stats. (statscollection.updatestats) + * + * @param Google_Service_Cloudlatencytest_Stats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudlatencytest_StatsReply + */ + public function updatestats(Google_Service_Cloudlatencytest_Stats $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatestats', array($params), "Google_Service_Cloudlatencytest_StatsReply"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php new file mode 100644 index 00000000..2d79f3ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Cloudlatencytest/StringValue.php @@ -0,0 +1,39 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php new file mode 100644 index 00000000..15627e1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute.php @@ -0,0 +1,5692 @@ + + * Creates and runs virtual machines on Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Compute extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $addresses; + public $autoscalers; + public $backendBuckets; + public $backendServices; + public $diskTypes; + public $disks; + public $firewalls; + public $forwardingRules; + public $globalAddresses; + public $globalForwardingRules; + public $globalOperations; + public $healthChecks; + public $httpHealthChecks; + public $httpsHealthChecks; + public $images; + public $instanceGroupManagers; + public $instanceGroups; + public $instanceTemplates; + public $instances; + public $licenses; + public $machineTypes; + public $networks; + public $projects; + public $regionAutoscalers; + public $regionBackendServices; + public $regionInstanceGroupManagers; + public $regionInstanceGroups; + public $regionOperations; + public $regions; + public $routers; + public $routes; + public $snapshots; + public $sslCertificates; + public $subnetworks; + public $targetHttpProxies; + public $targetHttpsProxies; + public $targetInstances; + public $targetPools; + public $targetSslProxies; + public $targetVpnGateways; + public $urlMaps; + public $vpnTunnels; + public $zoneOperations; + public $zones; + + /** + * Constructs the internal representation of the Compute service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'compute/v1/projects/'; + $this->version = 'v1'; + $this->serviceName = 'compute'; + + $this->addresses = new Google_Service_Compute_Resource_Addresses( + $this, + $this->serviceName, + 'addresses', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/addresses/{address}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/addresses/{address}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/addresses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->autoscalers = new Google_Service_Compute_Resource_Autoscalers( + $this, + $this->serviceName, + 'autoscalers', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->backendBuckets = new Google_Service_Compute_Resource_BackendBuckets( + $this, + $this->serviceName, + 'backendBuckets', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/backendBuckets/{backendBucket}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/backendBuckets/{backendBucket}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/backendBuckets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/backendBuckets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/backendBuckets/{backendBucket}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/backendBuckets/{backendBucket}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->backendServices = new Google_Service_Compute_Resource_BackendServices( + $this, + $this->serviceName, + 'backendServices', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/backendServices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getHealth' => array( + 'path' => '{project}/global/backendServices/{backendService}/getHealth', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/backendServices', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/backendServices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->diskTypes = new Google_Service_Compute_Resource_DiskTypes( + $this, + $this->serviceName, + 'diskTypes', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/diskTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/diskTypes/{diskType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'diskType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/diskTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->disks = new Google_Service_Compute_Resource_Disks( + $this, + $this->serviceName, + 'disks', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/disks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'createSnapshot' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'guestFlush' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/disks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceImage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/disks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'resize' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->firewalls = new Google_Service_Compute_Resource_Firewalls( + $this, + $this->serviceName, + 'firewalls', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/firewalls', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/firewalls', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->forwardingRules = new Google_Service_Compute_Resource_ForwardingRules( + $this, + $this->serviceName, + 'forwardingRules', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/forwardingRules', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setTarget' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->globalAddresses = new Google_Service_Compute_Resource_GlobalAddresses( + $this, + $this->serviceName, + 'globalAddresses', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/addresses/{address}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/addresses/{address}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/addresses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->globalForwardingRules = new Google_Service_Compute_Resource_GlobalForwardingRules( + $this, + $this->serviceName, + 'globalForwardingRules', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/forwardingRules', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setTarget' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->globalOperations = new Google_Service_Compute_Resource_GlobalOperations( + $this, + $this->serviceName, + 'globalOperations', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->healthChecks = new Google_Service_Compute_Resource_HealthChecks( + $this, + $this->serviceName, + 'healthChecks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/healthChecks/{healthCheck}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'healthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/healthChecks/{healthCheck}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'healthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/healthChecks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/healthChecks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/healthChecks/{healthCheck}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'healthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/healthChecks/{healthCheck}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'healthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->httpHealthChecks = new Google_Service_Compute_Resource_HttpHealthChecks( + $this, + $this->serviceName, + 'httpHealthChecks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/httpHealthChecks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/httpHealthChecks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->httpsHealthChecks = new Google_Service_Compute_Resource_HttpsHealthChecks( + $this, + $this->serviceName, + 'httpsHealthChecks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpsHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpsHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/httpsHealthChecks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/httpsHealthChecks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpsHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpsHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->images = new Google_Service_Compute_Resource_Images( + $this, + $this->serviceName, + 'images', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/images/{image}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deprecate' => array( + 'path' => '{project}/global/images/{image}/deprecate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/images/{image}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getFromFamily' => array( + 'path' => '{project}/global/images/family/{family}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'family' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/images', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/images', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->instanceGroupManagers = new Google_Service_Compute_Resource_InstanceGroupManagers( + $this, + $this->serviceName, + 'instanceGroupManagers', + array( + 'methods' => array( + 'abandonInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listManagedInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'order_by' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'recreateInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resize' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'setInstanceTemplate' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTargetPools' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->instanceGroups = new Google_Service_Compute_Resource_InstanceGroups( + $this, + $this->serviceName, + 'instanceGroups', + array( + 'methods' => array( + 'addInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instanceGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setNamedPorts' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->instanceTemplates = new Google_Service_Compute_Resource_InstanceTemplates( + $this, + $this->serviceName, + 'instanceTemplates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceTemplate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceTemplate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/instanceTemplates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/instanceTemplates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->instances = new Google_Service_Compute_Resource_Instances( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'addAccessConfig' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'networkInterface' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'attachDisk' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteAccessConfig' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accessConfig' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'networkInterface' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'detachDisk' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getSerialPortOutput' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'port' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reset' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setDiskAutoDelete' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoDelete' => array( + 'location' => 'query', + 'type' => 'boolean', + 'required' => true, + ), + 'deviceName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setMachineType' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setMachineType', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setMetadata' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setScheduling' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setServiceAccount' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setServiceAccount', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTags' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setTags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'start' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/start', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'startWithEncryptionKey' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->licenses = new Google_Service_Compute_Resource_Licenses( + $this, + $this->serviceName, + 'licenses', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/licenses/{license}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'license' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->machineTypes = new Google_Service_Compute_Resource_MachineTypes( + $this, + $this->serviceName, + 'machineTypes', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/machineTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/machineTypes/{machineType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'machineType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/machineTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->networks = new Google_Service_Compute_Resource_Networks( + $this, + $this->serviceName, + 'networks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/networks/{network}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'network' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/networks/{network}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'network' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/networks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/networks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'switchToCustomMode' => array( + 'path' => '{project}/global/networks/{network}/switchToCustomMode', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'network' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Compute_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'moveDisk' => array( + 'path' => '{project}/moveDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'moveInstance' => array( + 'path' => '{project}/moveInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setCommonInstanceMetadata' => array( + 'path' => '{project}/setCommonInstanceMetadata', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setUsageExportBucket' => array( + 'path' => '{project}/setUsageExportBucket', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->regionAutoscalers = new Google_Service_Compute_Resource_RegionAutoscalers( + $this, + $this->serviceName, + 'regionAutoscalers', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/autoscalers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/regions/{region}/autoscalers', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/regions/{region}/autoscalers', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->regionBackendServices = new Google_Service_Compute_Resource_RegionBackendServices( + $this, + $this->serviceName, + 'regionBackendServices', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/regions/{region}/backendServices/{backendService}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/backendServices/{backendService}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getHealth' => array( + 'path' => '{project}/regions/{region}/backendServices/{backendService}/getHealth', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/backendServices', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/backendServices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/regions/{region}/backendServices/{backendService}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/regions/{region}/backendServices/{backendService}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->regionInstanceGroupManagers = new Google_Service_Compute_Resource_RegionInstanceGroupManagers( + $this, + $this->serviceName, + 'regionInstanceGroupManagers', + array( + 'methods' => array( + 'abandonInstances' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteInstances' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listManagedInstances' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'order_by' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'recreateInstances' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resize' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'setInstanceTemplate' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTargetPools' => array( + 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->regionInstanceGroups = new Google_Service_Compute_Resource_RegionInstanceGroups( + $this, + $this->serviceName, + 'regionInstanceGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/instanceGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listInstances' => array( + 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setNamedPorts' => array( + 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->regionOperations = new Google_Service_Compute_Resource_RegionOperations( + $this, + $this->serviceName, + 'regionOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/regions/{region}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->regions = new Google_Service_Compute_Resource_Regions( + $this, + $this->serviceName, + 'regions', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/regions/{region}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->routers = new Google_Service_Compute_Resource_Routers( + $this, + $this->serviceName, + 'routers', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/routers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/routers/{router}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/routers/{router}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getRouterStatus' => array( + 'path' => '{project}/regions/{region}/routers/{router}/getRouterStatus', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/routers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/routers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/regions/{region}/routers/{router}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'preview' => array( + 'path' => '{project}/regions/{region}/routers/{router}/preview', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/regions/{region}/routers/{router}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'router' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->routes = new Google_Service_Compute_Resource_Routes( + $this, + $this->serviceName, + 'routes', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/routes/{route}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'route' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/routes/{route}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'route' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/routes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/routes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->snapshots = new Google_Service_Compute_Resource_Snapshots( + $this, + $this->serviceName, + 'snapshots', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/snapshots/{snapshot}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'snapshot' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/snapshots/{snapshot}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'snapshot' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/snapshots', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sslCertificates = new Google_Service_Compute_Resource_SslCertificates( + $this, + $this->serviceName, + 'sslCertificates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/sslCertificates/{sslCertificate}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sslCertificate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/sslCertificates/{sslCertificate}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sslCertificate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/sslCertificates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/sslCertificates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->subnetworks = new Google_Service_Compute_Resource_Subnetworks( + $this, + $this->serviceName, + 'subnetworks', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/subnetworks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subnetwork' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'expandIpCidrRange' => array( + 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subnetwork' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subnetwork' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/subnetworks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/subnetworks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->targetHttpProxies = new Google_Service_Compute_Resource_TargetHttpProxies( + $this, + $this->serviceName, + 'targetHttpProxies', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/targetHttpProxies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/targetHttpProxies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setUrlMap' => array( + 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetHttpsProxies = new Google_Service_Compute_Resource_TargetHttpsProxies( + $this, + $this->serviceName, + 'targetHttpsProxies', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpsProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpsProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/targetHttpsProxies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/targetHttpsProxies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setSslCertificates' => array( + 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpsProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setUrlMap' => array( + 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpsProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetInstances = new Google_Service_Compute_Resource_TargetInstances( + $this, + $this->serviceName, + 'targetInstances', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/targetInstances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetInstance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetInstance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/targetInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/targetInstances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->targetPools = new Google_Service_Compute_Resource_TargetPools( + $this, + $this->serviceName, + 'targetPools', + array( + 'methods' => array( + 'addHealthCheck' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'addInstance' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/targetPools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getHealth' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/targetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/targetPools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeHealthCheck' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removeInstance' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setBackup' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'failoverRatio' => array( + 'location' => 'query', + 'type' => 'number', + ), + ), + ), + ) + ) + ); + $this->targetSslProxies = new Google_Service_Compute_Resource_TargetSslProxies( + $this, + $this->serviceName, + 'targetSslProxies', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/targetSslProxies/{targetSslProxy}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetSslProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/targetSslProxies/{targetSslProxy}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetSslProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/targetSslProxies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/targetSslProxies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setBackendService' => array( + 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetSslProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setProxyHeader' => array( + 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetSslProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setSslCertificates' => array( + 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetSslProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetVpnGateways = new Google_Service_Compute_Resource_TargetVpnGateways( + $this, + $this->serviceName, + 'targetVpnGateways', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/targetVpnGateways', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetVpnGateway' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetVpnGateway' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->urlMaps = new Google_Service_Compute_Resource_UrlMaps( + $this, + $this->serviceName, + 'urlMaps', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/urlMaps', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'invalidateCache' => array( + 'path' => '{project}/global/urlMaps/{urlMap}/invalidateCache', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/urlMaps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'validate' => array( + 'path' => '{project}/global/urlMaps/{urlMap}/validate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->vpnTunnels = new Google_Service_Compute_Resource_VpnTunnels( + $this, + $this->serviceName, + 'vpnTunnels', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/vpnTunnels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'vpnTunnel' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'vpnTunnel' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/vpnTunnels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/vpnTunnels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Compute_Resource_ZoneOperations( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->zones = new Google_Service_Compute_Resource_Zones( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php new file mode 100644 index 00000000..a016c52e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AccessConfig.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatIP($natIP) + { + $this->natIP = $natIP; + } + public function getNatIP() + { + return $this->natIP; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php new file mode 100644 index 00000000..0c8773cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Address.php @@ -0,0 +1,112 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php new file mode 100644 index 00000000..99fbc3c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php new file mode 100644 index 00000000..2bb8cc9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php new file mode 100644 index 00000000..2789ebb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedList.php @@ -0,0 +1,42 @@ +addresses = $addresses; + } + public function getAddresses() + { + return $this->addresses; + } + public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php new file mode 100644 index 00000000..4638a137 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php new file mode 100644 index 00000000..825996cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AddressesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php new file mode 100644 index 00000000..a8f994c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDisk.php @@ -0,0 +1,132 @@ +autoDelete = $autoDelete; + } + public function getAutoDelete() + { + return $this->autoDelete; + } + public function setBoot($boot) + { + $this->boot = $boot; + } + public function getBoot() + { + return $this->boot; + } + public function setDeviceName($deviceName) + { + $this->deviceName = $deviceName; + } + public function getDeviceName() + { + return $this->deviceName; + } + public function setDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $diskEncryptionKey) + { + $this->diskEncryptionKey = $diskEncryptionKey; + } + public function getDiskEncryptionKey() + { + return $this->diskEncryptionKey; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams) + { + $this->initializeParams = $initializeParams; + } + public function getInitializeParams() + { + return $this->initializeParams; + } + public function setInterface($interface) + { + $this->interface = $interface; + } + public function getInterface() + { + return $this->interface; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setMode($mode) + { + $this->mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php new file mode 100644 index 00000000..90f8f752 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AttachedDiskInitializeParams.php @@ -0,0 +1,67 @@ +diskName = $diskName; + } + public function getDiskName() + { + return $this->diskName; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } + public function setSourceImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceImageEncryptionKey) + { + $this->sourceImageEncryptionKey = $sourceImageEncryptionKey; + } + public function getSourceImageEncryptionKey() + { + return $this->sourceImageEncryptionKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php new file mode 100644 index 00000000..f60faf8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Autoscaler.php @@ -0,0 +1,112 @@ +autoscalingPolicy = $autoscalingPolicy; + } + public function getAutoscalingPolicy() + { + return $this->autoscalingPolicy; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php new file mode 100644 index 00000000..9d980f2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php new file mode 100644 index 00000000..30c52054 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalerList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php new file mode 100644 index 00000000..41f1be32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedList.php @@ -0,0 +1,42 @@ +autoscalers = $autoscalers; + } + public function getAutoscalers() + { + return $this->autoscalers; + } + public function setWarning(Google_Service_Compute_AutoscalersScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php new file mode 100644 index 00000000..7471eda9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php new file mode 100644 index 00000000..d6139c26 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalersScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php new file mode 100644 index 00000000..80ba5188 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicy.php @@ -0,0 +1,79 @@ +coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setCpuUtilization(Google_Service_Compute_AutoscalingPolicyCpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setCustomMetricUtilizations($customMetricUtilizations) + { + $this->customMetricUtilizations = $customMetricUtilizations; + } + public function getCustomMetricUtilizations() + { + return $this->customMetricUtilizations; + } + public function setLoadBalancingUtilization(Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) + { + $this->loadBalancingUtilization = $loadBalancingUtilization; + } + public function getLoadBalancingUtilization() + { + return $this->loadBalancingUtilization; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php new file mode 100644 index 00000000..e528d597 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCpuUtilization.php @@ -0,0 +1,30 @@ +utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php new file mode 100644 index 00000000..c733d3da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyCustomMetricUtilization.php @@ -0,0 +1,48 @@ +metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } + public function setUtilizationTargetType($utilizationTargetType) + { + $this->utilizationTargetType = $utilizationTargetType; + } + public function getUtilizationTargetType() + { + return $this->utilizationTargetType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php new file mode 100644 index 00000000..f52e3e67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/AutoscalingPolicyLoadBalancingUtilization.php @@ -0,0 +1,30 @@ +utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php new file mode 100644 index 00000000..77240d08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Backend.php @@ -0,0 +1,102 @@ +balancingMode = $balancingMode; + } + public function getBalancingMode() + { + return $this->balancingMode; + } + public function setCapacityScaler($capacityScaler) + { + $this->capacityScaler = $capacityScaler; + } + public function getCapacityScaler() + { + return $this->capacityScaler; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroup($group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setMaxConnections($maxConnections) + { + $this->maxConnections = $maxConnections; + } + public function getMaxConnections() + { + return $this->maxConnections; + } + public function setMaxConnectionsPerInstance($maxConnectionsPerInstance) + { + $this->maxConnectionsPerInstance = $maxConnectionsPerInstance; + } + public function getMaxConnectionsPerInstance() + { + return $this->maxConnectionsPerInstance; + } + public function setMaxRate($maxRate) + { + $this->maxRate = $maxRate; + } + public function getMaxRate() + { + return $this->maxRate; + } + public function setMaxRatePerInstance($maxRatePerInstance) + { + $this->maxRatePerInstance = $maxRatePerInstance; + } + public function getMaxRatePerInstance() + { + return $this->maxRatePerInstance; + } + public function setMaxUtilization($maxUtilization) + { + $this->maxUtilization = $maxUtilization; + } + public function getMaxUtilization() + { + return $this->maxUtilization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php new file mode 100644 index 00000000..b0c1811b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucket.php @@ -0,0 +1,93 @@ +bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnableCdn($enableCdn) + { + $this->enableCdn = $enableCdn; + } + public function getEnableCdn() + { + return $this->enableCdn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php new file mode 100644 index 00000000..dfad709e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendBucketList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php new file mode 100644 index 00000000..0ac30517 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendService.php @@ -0,0 +1,195 @@ +affinityCookieTtlSec = $affinityCookieTtlSec; + } + public function getAffinityCookieTtlSec() + { + return $this->affinityCookieTtlSec; + } + public function setBackends($backends) + { + $this->backends = $backends; + } + public function getBackends() + { + return $this->backends; + } + public function setConnectionDraining(Google_Service_Compute_ConnectionDraining $connectionDraining) + { + $this->connectionDraining = $connectionDraining; + } + public function getConnectionDraining() + { + return $this->connectionDraining; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnableCDN($enableCDN) + { + $this->enableCDN = $enableCDN; + } + public function getEnableCDN() + { + return $this->enableCDN; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLoadBalancingScheme($loadBalancingScheme) + { + $this->loadBalancingScheme = $loadBalancingScheme; + } + public function getLoadBalancingScheme() + { + return $this->loadBalancingScheme; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } + public function setProtocol($protocol) + { + $this->protocol = $protocol; + } + public function getProtocol() + { + return $this->protocol; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSessionAffinity($sessionAffinity) + { + $this->sessionAffinity = $sessionAffinity; + } + public function getSessionAffinity() + { + return $this->sessionAffinity; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php new file mode 100644 index 00000000..c84b4081 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php new file mode 100644 index 00000000..e748b062 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceGroupHealth.php @@ -0,0 +1,41 @@ +healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php new file mode 100644 index 00000000..c0800a67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServiceList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php new file mode 100644 index 00000000..2ac8c28a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedList.php @@ -0,0 +1,42 @@ +backendServices = $backendServices; + } + public function getBackendServices() + { + return $this->backendServices; + } + public function setWarning(Google_Service_Compute_BackendServicesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php new file mode 100644 index 00000000..87b27240 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php new file mode 100644 index 00000000..a3e254cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/BackendServicesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php new file mode 100644 index 00000000..f4cf93be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CacheInvalidationRule.php @@ -0,0 +1,39 @@ +host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php new file mode 100644 index 00000000..21a63afd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ConnectionDraining.php @@ -0,0 +1,30 @@ +drainingTimeoutSec = $drainingTimeoutSec; + } + public function getDrainingTimeoutSec() + { + return $this->drainingTimeoutSec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php new file mode 100644 index 00000000..423e6d12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKey.php @@ -0,0 +1,39 @@ +rawKey = $rawKey; + } + public function getRawKey() + { + return $this->rawKey; + } + public function setSha256($sha256) + { + $this->sha256 = $sha256; + } + public function getSha256() + { + return $this->sha256; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php new file mode 100644 index 00000000..91203db0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/CustomerEncryptionKeyProtectedDisk.php @@ -0,0 +1,40 @@ +diskEncryptionKey = $diskEncryptionKey; + } + public function getDiskEncryptionKey() + { + return $this->diskEncryptionKey; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php new file mode 100644 index 00000000..90c0e85f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DeprecationStatus.php @@ -0,0 +1,66 @@ +deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDeprecated($deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setObsolete($obsolete) + { + $this->obsolete = $obsolete; + } + public function getObsolete() + { + return $this->obsolete; + } + public function setReplacement($replacement) + { + $this->replacement = $replacement; + } + public function getReplacement() + { + return $this->replacement; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php new file mode 100644 index 00000000..58c2e3ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Disk.php @@ -0,0 +1,223 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $diskEncryptionKey) + { + $this->diskEncryptionKey = $diskEncryptionKey; + } + public function getDiskEncryptionKey() + { + return $this->diskEncryptionKey; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastAttachTimestamp($lastAttachTimestamp) + { + $this->lastAttachTimestamp = $lastAttachTimestamp; + } + public function getLastAttachTimestamp() + { + return $this->lastAttachTimestamp; + } + public function setLastDetachTimestamp($lastDetachTimestamp) + { + $this->lastDetachTimestamp = $lastDetachTimestamp; + } + public function getLastDetachTimestamp() + { + return $this->lastDetachTimestamp; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSizeGb($sizeGb) + { + $this->sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } + public function setSourceImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceImageEncryptionKey) + { + $this->sourceImageEncryptionKey = $sourceImageEncryptionKey; + } + public function getSourceImageEncryptionKey() + { + return $this->sourceImageEncryptionKey; + } + public function setSourceImageId($sourceImageId) + { + $this->sourceImageId = $sourceImageId; + } + public function getSourceImageId() + { + return $this->sourceImageId; + } + public function setSourceSnapshot($sourceSnapshot) + { + $this->sourceSnapshot = $sourceSnapshot; + } + public function getSourceSnapshot() + { + return $this->sourceSnapshot; + } + public function setSourceSnapshotEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceSnapshotEncryptionKey) + { + $this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey; + } + public function getSourceSnapshotEncryptionKey() + { + return $this->sourceSnapshotEncryptionKey; + } + public function setSourceSnapshotId($sourceSnapshotId) + { + $this->sourceSnapshotId = $sourceSnapshotId; + } + public function getSourceSnapshotId() + { + return $this->sourceSnapshotId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php new file mode 100644 index 00000000..77707292 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php new file mode 100644 index 00000000..5cc85b9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php new file mode 100644 index 00000000..e95d4668 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskMoveRequest.php @@ -0,0 +1,39 @@ +destinationZone = $destinationZone; + } + public function getDestinationZone() + { + return $this->destinationZone; + } + public function setTargetDisk($targetDisk) + { + $this->targetDisk = $targetDisk; + } + public function getTargetDisk() + { + return $this->targetDisk; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php new file mode 100644 index 00000000..f283fc27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskType.php @@ -0,0 +1,112 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDefaultDiskSizeGb($defaultDiskSizeGb) + { + $this->defaultDiskSizeGb = $defaultDiskSizeGb; + } + public function getDefaultDiskSizeGb() + { + return $this->defaultDiskSizeGb; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setValidDiskSize($validDiskSize) + { + $this->validDiskSize = $validDiskSize; + } + public function getValidDiskSize() + { + return $this->validDiskSize; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php new file mode 100644 index 00000000..c866b2af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php new file mode 100644 index 00000000..4ae1c27c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypeList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php new file mode 100644 index 00000000..174396be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedList.php @@ -0,0 +1,42 @@ +diskTypes = $diskTypes; + } + public function getDiskTypes() + { + return $this->diskTypes; + } + public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php new file mode 100644 index 00000000..c12c0d7a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php new file mode 100644 index 00000000..a3b73434 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php new file mode 100644 index 00000000..3d961a60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksResizeRequest.php @@ -0,0 +1,30 @@ +sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php new file mode 100644 index 00000000..4d886495 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedList.php @@ -0,0 +1,42 @@ +disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php new file mode 100644 index 00000000..22ac1b64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php new file mode 100644 index 00000000..905acde1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/DisksScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php new file mode 100644 index 00000000..35c6bbc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Firewall.php @@ -0,0 +1,122 @@ +allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceRanges($sourceRanges) + { + $this->sourceRanges = $sourceRanges; + } + public function getSourceRanges() + { + return $this->sourceRanges; + } + public function setSourceTags($sourceTags) + { + $this->sourceTags = $sourceTags; + } + public function getSourceTags() + { + return $this->sourceTags; + } + public function setTargetTags($targetTags) + { + $this->targetTags = $targetTags; + } + public function getTargetTags() + { + return $this->targetTags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php new file mode 100644 index 00000000..8b301412 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallAllowed.php @@ -0,0 +1,43 @@ + "IPProtocol", + ); + public $iPProtocol; + public $ports; + + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setPorts($ports) + { + $this->ports = $ports; + } + public function getPorts() + { + return $this->ports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php new file mode 100644 index 00000000..6d6f46dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/FirewallList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php new file mode 100644 index 00000000..df993147 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRule.php @@ -0,0 +1,170 @@ + "IPAddress", + "iPProtocol" => "IPProtocol", + ); + public $iPAddress; + public $iPProtocol; + public $backendService; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $loadBalancingScheme; + public $name; + public $network; + public $portRange; + public $ports; + public $region; + public $selfLink; + public $subnetwork; + public $target; + + public function setIPAddress($iPAddress) + { + $this->iPAddress = $iPAddress; + } + public function getIPAddress() + { + return $this->iPAddress; + } + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setBackendService($backendService) + { + $this->backendService = $backendService; + } + public function getBackendService() + { + return $this->backendService; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLoadBalancingScheme($loadBalancingScheme) + { + $this->loadBalancingScheme = $loadBalancingScheme; + } + public function getLoadBalancingScheme() + { + return $this->loadBalancingScheme; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setPortRange($portRange) + { + $this->portRange = $portRange; + } + public function getPortRange() + { + return $this->portRange; + } + public function setPorts($ports) + { + $this->ports = $ports; + } + public function getPorts() + { + return $this->ports; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSubnetwork($subnetwork) + { + $this->subnetwork = $subnetwork; + } + public function getSubnetwork() + { + return $this->subnetwork; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php new file mode 100644 index 00000000..06994bd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php new file mode 100644 index 00000000..8c0701c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRuleList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php new file mode 100644 index 00000000..cff55a4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedList.php @@ -0,0 +1,42 @@ +forwardingRules = $forwardingRules; + } + public function getForwardingRules() + { + return $this->forwardingRules; + } + public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php new file mode 100644 index 00000000..82ff32b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php new file mode 100644 index 00000000..f330149d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ForwardingRulesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php new file mode 100644 index 00000000..60bd8857 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/GuestOsFeature.php @@ -0,0 +1,30 @@ +type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php new file mode 100644 index 00000000..d1939e79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HTTP2HealthCheck.php @@ -0,0 +1,66 @@ +host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } + public function setProxyHeader($proxyHeader) + { + $this->proxyHeader = $proxyHeader; + } + public function getProxyHeader() + { + return $this->proxyHeader; + } + public function setRequestPath($requestPath) + { + $this->requestPath = $requestPath; + } + public function getRequestPath() + { + return $this->requestPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php new file mode 100644 index 00000000..9f2d9b3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheck.php @@ -0,0 +1,160 @@ +checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHttpHealthCheck(Google_Service_Compute_HTTPHealthCheck $httpHealthCheck) + { + $this->httpHealthCheck = $httpHealthCheck; + } + public function getHttpHealthCheck() + { + return $this->httpHealthCheck; + } + public function setHttpsHealthCheck(Google_Service_Compute_HTTPSHealthCheck $httpsHealthCheck) + { + $this->httpsHealthCheck = $httpsHealthCheck; + } + public function getHttpsHealthCheck() + { + return $this->httpsHealthCheck; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSslHealthCheck(Google_Service_Compute_SSLHealthCheck $sslHealthCheck) + { + $this->sslHealthCheck = $sslHealthCheck; + } + public function getSslHealthCheck() + { + return $this->sslHealthCheck; + } + public function setTcpHealthCheck(Google_Service_Compute_TCPHealthCheck $tcpHealthCheck) + { + $this->tcpHealthCheck = $tcpHealthCheck; + } + public function getTcpHealthCheck() + { + return $this->tcpHealthCheck; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php new file mode 100644 index 00000000..9a7da005 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php new file mode 100644 index 00000000..ecd0a0b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthCheckReference.php @@ -0,0 +1,30 @@ +healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php new file mode 100644 index 00000000..264694a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HealthStatus.php @@ -0,0 +1,57 @@ +healthState = $healthState; + } + public function getHealthState() + { + return $this->healthState; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php new file mode 100644 index 00000000..345b3254 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HostRule.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHosts($hosts) + { + $this->hosts = $hosts; + } + public function getHosts() + { + return $this->hosts; + } + public function setPathMatcher($pathMatcher) + { + $this->pathMatcher = $pathMatcher; + } + public function getPathMatcher() + { + return $this->pathMatcher; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php new file mode 100644 index 00000000..d886f6bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheck.php @@ -0,0 +1,138 @@ +checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setRequestPath($requestPath) + { + $this->requestPath = $requestPath; + } + public function getRequestPath() + { + return $this->requestPath; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php new file mode 100644 index 00000000..c700cf50 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpHealthCheckList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php new file mode 100644 index 00000000..22cfe26b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheck.php @@ -0,0 +1,138 @@ +checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setRequestPath($requestPath) + { + $this->requestPath = $requestPath; + } + public function getRequestPath() + { + return $this->requestPath; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php new file mode 100644 index 00000000..6db553d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/HttpsHealthCheckList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php new file mode 100644 index 00000000..4f72521f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Image.php @@ -0,0 +1,198 @@ +archiveSizeBytes = $archiveSizeBytes; + } + public function getArchiveSizeBytes() + { + return $this->archiveSizeBytes; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setFamily($family) + { + $this->family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setGuestOsFeatures($guestOsFeatures) + { + $this->guestOsFeatures = $guestOsFeatures; + } + public function getGuestOsFeatures() + { + return $this->guestOsFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $imageEncryptionKey) + { + $this->imageEncryptionKey = $imageEncryptionKey; + } + public function getImageEncryptionKey() + { + return $this->imageEncryptionKey; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk) + { + $this->rawDisk = $rawDisk; + } + public function getRawDisk() + { + return $this->rawDisk; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceDisk($sourceDisk) + { + $this->sourceDisk = $sourceDisk; + } + public function getSourceDisk() + { + return $this->sourceDisk; + } + public function setSourceDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceDiskEncryptionKey) + { + $this->sourceDiskEncryptionKey = $sourceDiskEncryptionKey; + } + public function getSourceDiskEncryptionKey() + { + return $this->sourceDiskEncryptionKey; + } + public function setSourceDiskId($sourceDiskId) + { + $this->sourceDiskId = $sourceDiskId; + } + public function getSourceDiskId() + { + return $this->sourceDiskId; + } + public function setSourceType($sourceType) + { + $this->sourceType = $sourceType; + } + public function getSourceType() + { + return $this->sourceType; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php new file mode 100644 index 00000000..0ad2e978 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php new file mode 100644 index 00000000..80344fb9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ImageRawDisk.php @@ -0,0 +1,48 @@ +containerType = $containerType; + } + public function getContainerType() + { + return $this->containerType; + } + public function setSha1Checksum($sha1Checksum) + { + $this->sha1Checksum = $sha1Checksum; + } + public function getSha1Checksum() + { + return $this->sha1Checksum; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php new file mode 100644 index 00000000..6f7d7004 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Instance.php @@ -0,0 +1,190 @@ +canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setCpuPlatform($cpuPlatform) + { + $this->cpuPlatform = $cpuPlatform; + } + public function getCpuPlatform() + { + return $this->cpuPlatform; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisks($disks) + { + $this->disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Compute_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setScheduling(Google_Service_Compute_Scheduling $scheduling) + { + $this->scheduling = $scheduling; + } + public function getScheduling() + { + return $this->scheduling; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTags(Google_Service_Compute_Tags $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php new file mode 100644 index 00000000..91a83c56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php new file mode 100644 index 00000000..f2d83179 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroup.php @@ -0,0 +1,140 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSubnetwork($subnetwork) + { + $this->subnetwork = $subnetwork; + } + public function getSubnetwork() + { + return $this->subnetwork; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php new file mode 100644 index 00000000..1530d36e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php new file mode 100644 index 00000000..7e3a843f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php new file mode 100644 index 00000000..04a8641f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManager.php @@ -0,0 +1,168 @@ +baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setCurrentActions(Google_Service_Compute_InstanceGroupManagerActionsSummary $currentActions) + { + $this->currentActions = $currentActions; + } + public function getCurrentActions() + { + return $this->currentActions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceGroup($instanceGroup) + { + $this->instanceGroup = $instanceGroup; + } + public function getInstanceGroup() + { + return $this->instanceGroup; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setTargetSize($targetSize) + { + $this->targetSize = $targetSize; + } + public function getTargetSize() + { + return $this->targetSize; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php new file mode 100644 index 00000000..3c115ade --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerActionsSummary.php @@ -0,0 +1,93 @@ +abandoning = $abandoning; + } + public function getAbandoning() + { + return $this->abandoning; + } + public function setCreating($creating) + { + $this->creating = $creating; + } + public function getCreating() + { + return $this->creating; + } + public function setCreatingWithoutRetries($creatingWithoutRetries) + { + $this->creatingWithoutRetries = $creatingWithoutRetries; + } + public function getCreatingWithoutRetries() + { + return $this->creatingWithoutRetries; + } + public function setDeleting($deleting) + { + $this->deleting = $deleting; + } + public function getDeleting() + { + return $this->deleting; + } + public function setNone($none) + { + $this->none = $none; + } + public function getNone() + { + return $this->none; + } + public function setRecreating($recreating) + { + $this->recreating = $recreating; + } + public function getRecreating() + { + return $this->recreating; + } + public function setRefreshing($refreshing) + { + $this->refreshing = $refreshing; + } + public function getRefreshing() + { + return $this->refreshing; + } + public function setRestarting($restarting) + { + $this->restarting = $restarting; + } + public function getRestarting() + { + return $this->restarting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php new file mode 100644 index 00000000..f323d5f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php new file mode 100644 index 00000000..b477ff89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagerList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php new file mode 100644 index 00000000..003f395a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersAbandonInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php new file mode 100644 index 00000000..730134f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersDeleteInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php new file mode 100644 index 00000000..af31cdf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersListManagedInstancesResponse.php @@ -0,0 +1,32 @@ +managedInstances = $managedInstances; + } + public function getManagedInstances() + { + return $this->managedInstances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php new file mode 100644 index 00000000..33c6fdc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersRecreateInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php new file mode 100644 index 00000000..03a6c2f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedList.php @@ -0,0 +1,42 @@ +instanceGroupManagers = $instanceGroupManagers; + } + public function getInstanceGroupManagers() + { + return $this->instanceGroupManagers; + } + public function setWarning(Google_Service_Compute_InstanceGroupManagersScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php new file mode 100644 index 00000000..b5263d91 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php new file mode 100644 index 00000000..782c8669 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php new file mode 100644 index 00000000..f4eb6d4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetInstanceTemplateRequest.php @@ -0,0 +1,30 @@ +instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php new file mode 100644 index 00000000..faf92961 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupManagersSetTargetPoolsRequest.php @@ -0,0 +1,40 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php new file mode 100644 index 00000000..61f2d30a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsAddInstancesRequest.php @@ -0,0 +1,32 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php new file mode 100644 index 00000000..00d3c8ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstances.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php new file mode 100644 index 00000000..96626eba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsListInstancesRequest.php @@ -0,0 +1,30 @@ +instanceState = $instanceState; + } + public function getInstanceState() + { + return $this->instanceState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php new file mode 100644 index 00000000..90025aab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsRemoveInstancesRequest.php @@ -0,0 +1,32 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php new file mode 100644 index 00000000..3a842801 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedList.php @@ -0,0 +1,42 @@ +instanceGroups = $instanceGroups; + } + public function getInstanceGroups() + { + return $this->instanceGroups; + } + public function setWarning(Google_Service_Compute_InstanceGroupsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php new file mode 100644 index 00000000..9e66c4cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php new file mode 100644 index 00000000..5afedbde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php new file mode 100644 index 00000000..39b90bec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceGroupsSetNamedPortsRequest.php @@ -0,0 +1,41 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php new file mode 100644 index 00000000..2b4972f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php new file mode 100644 index 00000000..31128eac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceMoveRequest.php @@ -0,0 +1,39 @@ +destinationZone = $destinationZone; + } + public function getDestinationZone() + { + return $this->destinationZone; + } + public function setTargetInstance($targetInstance) + { + $this->targetInstance = $targetInstance; + } + public function getTargetInstance() + { + return $this->targetInstance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php new file mode 100644 index 00000000..80c3bc30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceProperties.php @@ -0,0 +1,109 @@ +canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisks($disks) + { + $this->disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Compute_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setScheduling(Google_Service_Compute_Scheduling $scheduling) + { + $this->scheduling = $scheduling; + } + public function getScheduling() + { + return $this->scheduling; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setTags(Google_Service_Compute_Tags $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php new file mode 100644 index 00000000..76f5da37 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceReference.php @@ -0,0 +1,30 @@ +instance = $instance; + } + public function getInstance() + { + return $this->instance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php new file mode 100644 index 00000000..5a251d31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplate.php @@ -0,0 +1,85 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties(Google_Service_Compute_InstanceProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php new file mode 100644 index 00000000..3b001023 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceTemplateList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php new file mode 100644 index 00000000..f7d57487 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstanceWithNamedPorts.php @@ -0,0 +1,50 @@ +instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php new file mode 100644 index 00000000..54aadd51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedList.php @@ -0,0 +1,42 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php new file mode 100644 index 00000000..13901e5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php new file mode 100644 index 00000000..26d37b6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php new file mode 100644 index 00000000..236b546d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetMachineTypeRequest.php @@ -0,0 +1,30 @@ +machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php new file mode 100644 index 00000000..47d01e54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesSetServiceAccountRequest.php @@ -0,0 +1,40 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php new file mode 100644 index 00000000..74908607 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/InstancesStartWithEncryptionKeyRequest.php @@ -0,0 +1,32 @@ +disks = $disks; + } + public function getDisks() + { + return $this->disks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php new file mode 100644 index 00000000..c118c70d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/License.php @@ -0,0 +1,57 @@ +chargesUseFee = $chargesUseFee; + } + public function getChargesUseFee() + { + return $this->chargesUseFee; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php new file mode 100644 index 00000000..bd6c6074 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineType.php @@ -0,0 +1,159 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGuestCpus($guestCpus) + { + $this->guestCpus = $guestCpus; + } + public function getGuestCpus() + { + return $this->guestCpus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageSpaceGb($imageSpaceGb) + { + $this->imageSpaceGb = $imageSpaceGb; + } + public function getImageSpaceGb() + { + return $this->imageSpaceGb; + } + public function setIsSharedCpu($isSharedCpu) + { + $this->isSharedCpu = $isSharedCpu; + } + public function getIsSharedCpu() + { + return $this->isSharedCpu; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumPersistentDisks($maximumPersistentDisks) + { + $this->maximumPersistentDisks = $maximumPersistentDisks; + } + public function getMaximumPersistentDisks() + { + return $this->maximumPersistentDisks; + } + public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) + { + $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; + } + public function getMaximumPersistentDisksSizeGb() + { + return $this->maximumPersistentDisksSizeGb; + } + public function setMemoryMb($memoryMb) + { + $this->memoryMb = $memoryMb; + } + public function getMemoryMb() + { + return $this->memoryMb; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScratchDisks($scratchDisks) + { + $this->scratchDisks = $scratchDisks; + } + public function getScratchDisks() + { + return $this->scratchDisks; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php new file mode 100644 index 00000000..7797003a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php new file mode 100644 index 00000000..318bc1c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php new file mode 100644 index 00000000..cb288a4e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypeScratchDisks.php @@ -0,0 +1,30 @@ +diskGb = $diskGb; + } + public function getDiskGb() + { + return $this->diskGb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php new file mode 100644 index 00000000..9837344a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedList.php @@ -0,0 +1,42 @@ +machineTypes = $machineTypes; + } + public function getMachineTypes() + { + return $this->machineTypes; + } + public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php new file mode 100644 index 00000000..a388962b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php new file mode 100644 index 00000000..bfc4bbd6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MachineTypesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php new file mode 100644 index 00000000..d4185edc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstance.php @@ -0,0 +1,67 @@ +currentAction = $currentAction; + } + public function getCurrentAction() + { + return $this->currentAction; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setInstanceStatus($instanceStatus) + { + $this->instanceStatus = $instanceStatus; + } + public function getInstanceStatus() + { + return $this->instanceStatus; + } + public function setLastAttempt(Google_Service_Compute_ManagedInstanceLastAttempt $lastAttempt) + { + $this->lastAttempt = $lastAttempt; + } + public function getLastAttempt() + { + return $this->lastAttempt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php new file mode 100644 index 00000000..659d6477 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttempt.php @@ -0,0 +1,31 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php new file mode 100644 index 00000000..52b1f880 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrors.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php new file mode 100644 index 00000000..cba3b4e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ManagedInstanceLastAttemptErrorsErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php new file mode 100644 index 00000000..f35c3842 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Metadata.php @@ -0,0 +1,50 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php new file mode 100644 index 00000000..f0244b54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/MetadataItems.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php new file mode 100644 index 00000000..d654f378 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NamedPort.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php new file mode 100644 index 00000000..c8b3a1ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Network.php @@ -0,0 +1,115 @@ + "IPv4Range", + ); + public $iPv4Range; + public $autoCreateSubnetworks; + public $creationTimestamp; + public $description; + public $gatewayIPv4; + public $id; + public $kind; + public $name; + public $selfLink; + public $subnetworks; + + public function setIPv4Range($iPv4Range) + { + $this->iPv4Range = $iPv4Range; + } + public function getIPv4Range() + { + return $this->iPv4Range; + } + public function setAutoCreateSubnetworks($autoCreateSubnetworks) + { + $this->autoCreateSubnetworks = $autoCreateSubnetworks; + } + public function getAutoCreateSubnetworks() + { + return $this->autoCreateSubnetworks; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGatewayIPv4($gatewayIPv4) + { + $this->gatewayIPv4 = $gatewayIPv4; + } + public function getGatewayIPv4() + { + return $this->gatewayIPv4; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSubnetworks($subnetworks) + { + $this->subnetworks = $subnetworks; + } + public function getSubnetworks() + { + return $this->subnetworks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php new file mode 100644 index 00000000..52529961 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkInterface.php @@ -0,0 +1,77 @@ +accessConfigs = $accessConfigs; + } + public function getAccessConfigs() + { + return $this->accessConfigs; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNetworkIP($networkIP) + { + $this->networkIP = $networkIP; + } + public function getNetworkIP() + { + return $this->networkIP; + } + public function setSubnetwork($subnetwork) + { + $this->subnetwork = $subnetwork; + } + public function getSubnetwork() + { + return $this->subnetwork; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php new file mode 100644 index 00000000..a1b084e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/NetworkList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php new file mode 100644 index 00000000..977d65d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Operation.php @@ -0,0 +1,231 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Compute_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php new file mode 100644 index 00000000..fac3ad79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php new file mode 100644 index 00000000..129e54f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php new file mode 100644 index 00000000..f2d6343e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php new file mode 100644 index 00000000..464ee133 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php new file mode 100644 index 00000000..0f926dc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php new file mode 100644 index 00000000..e780c0e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php new file mode 100644 index 00000000..a20264ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedList.php @@ -0,0 +1,42 @@ +operations = $operations; + } + public function getOperations() + { + return $this->operations; + } + public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php new file mode 100644 index 00000000..e21b32ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php new file mode 100644 index 00000000..5465df98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/OperationsScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php new file mode 100644 index 00000000..68589956 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathMatcher.php @@ -0,0 +1,59 @@ +defaultService = $defaultService; + } + public function getDefaultService() + { + return $this->defaultService; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPathRules($pathRules) + { + $this->pathRules = $pathRules; + } + public function getPathRules() + { + return $this->pathRules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php new file mode 100644 index 00000000..6e6f1a2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/PathRule.php @@ -0,0 +1,40 @@ +paths = $paths; + } + public function getPaths() + { + return $this->paths; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php new file mode 100644 index 00000000..2b287643 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Project.php @@ -0,0 +1,124 @@ +commonInstanceMetadata = $commonInstanceMetadata; + } + public function getCommonInstanceMetadata() + { + return $this->commonInstanceMetadata; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDefaultServiceAccount($defaultServiceAccount) + { + $this->defaultServiceAccount = $defaultServiceAccount; + } + public function getDefaultServiceAccount() + { + return $this->defaultServiceAccount; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnabledFeatures($enabledFeatures) + { + $this->enabledFeatures = $enabledFeatures; + } + public function getEnabledFeatures() + { + return $this->enabledFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setQuotas($quotas) + { + $this->quotas = $quotas; + } + public function getQuotas() + { + return $this->quotas; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation) + { + $this->usageExportLocation = $usageExportLocation; + } + public function getUsageExportLocation() + { + return $this->usageExportLocation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php new file mode 100644 index 00000000..a1a30905 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Quota.php @@ -0,0 +1,48 @@ +limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUsage($usage) + { + $this->usage = $usage; + } + public function getUsage() + { + return $this->usage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php new file mode 100644 index 00000000..bd4fc843 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Region.php @@ -0,0 +1,114 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setQuotas($quotas) + { + $this->quotas = $quotas; + } + public function getQuotas() + { + return $this->quotas; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setZones($zones) + { + $this->zones = $zones; + } + public function getZones() + { + return $this->zones; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php new file mode 100644 index 00000000..0cd5ad76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionAutoscalerList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php new file mode 100644 index 00000000..69931641 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php new file mode 100644 index 00000000..6d0123bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagerList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php new file mode 100644 index 00000000..a6b34ae2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersAbandonInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php new file mode 100644 index 00000000..c56fa201 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersDeleteInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php new file mode 100644 index 00000000..c8783a1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersListInstancesResponse.php @@ -0,0 +1,32 @@ +managedInstances = $managedInstances; + } + public function getManagedInstances() + { + return $this->managedInstances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php new file mode 100644 index 00000000..9be7b4e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersRecreateRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php new file mode 100644 index 00000000..fcd97d18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTargetPoolsRequest.php @@ -0,0 +1,40 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php new file mode 100644 index 00000000..1aeebcd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupManagersSetTemplateRequest.php @@ -0,0 +1,30 @@ +instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php new file mode 100644 index 00000000..739d2e27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstances.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php new file mode 100644 index 00000000..faecfb8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsListInstancesRequest.php @@ -0,0 +1,39 @@ +instanceState = $instanceState; + } + public function getInstanceState() + { + return $this->instanceState; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php new file mode 100644 index 00000000..e5ec1b7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionInstanceGroupsSetNamedPortsRequest.php @@ -0,0 +1,41 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php new file mode 100644 index 00000000..630c76b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RegionList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php new file mode 100644 index 00000000..20769450 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Addresses.php @@ -0,0 +1,188 @@ + + * $computeService = new Google_Service_Compute(...); + * $addresses = $computeService->addresses; + * + */ +class Google_Service_Compute_Resource_Addresses extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of addresses. (addresses.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_AddressAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList"); + } + /** + * Deletes the specified address resource. (addresses.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $address Name of the address resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $address, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified address resource. (addresses.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $address Name of the address resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Address + */ + public function get($project, $region, $address, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Address"); + } + /** + * Creates an address resource in the specified project using the data included + * in the request. (addresses.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param Google_Service_Compute_Address $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of addresses contained within the specified region. + * (addresses.listAddresses) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_AddressList + */ + public function listAddresses($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AddressList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php new file mode 100644 index 00000000..c0084e0a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Autoscalers.php @@ -0,0 +1,224 @@ + + * $computeService = new Google_Service_Compute(...); + * $autoscalers = $computeService->autoscalers; + * + */ +class Google_Service_Compute_Resource_Autoscalers extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of autoscalers. (autoscalers.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_AutoscalerAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_AutoscalerAggregatedList"); + } + /** + * Deletes the specified autoscaler. (autoscalers.delete) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $autoscaler Name of the autoscaler to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified autoscaler resource. Get a list of available + * autoscalers by making a list() request. (autoscalers.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $autoscaler Name of the autoscaler to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Autoscaler + */ + public function get($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Autoscaler"); + } + /** + * Creates an autoscaler in the specified project using the data included in the + * request. (autoscalers.insert) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of autoscalers contained within the specified zone. + * (autoscalers.listAutoscalers) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_AutoscalerList + */ + public function listAutoscalers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AutoscalerList"); + } + /** + * Updates an autoscaler in the specified project using the data included in the + * request. This method supports patch semantics. (autoscalers.patch) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $autoscaler Name of the autoscaler to update. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $zone, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates an autoscaler in the specified project using the data included in the + * request. (autoscalers.update) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string autoscaler Name of the autoscaler to update. + * @return Google_Service_Compute_Operation + */ + public function update($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php new file mode 100644 index 00000000..4c510e32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendBuckets.php @@ -0,0 +1,161 @@ + + * $computeService = new Google_Service_Compute(...); + * $backendBuckets = $computeService->backendBuckets; + * + */ +class Google_Service_Compute_Resource_BackendBuckets extends Google_Service_Resource +{ + /** + * Deletes the specified BackendBucket resource. (backendBuckets.delete) + * + * @param string $project Project ID for this request. + * @param string $backendBucket Name of the BackendBucket resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $backendBucket, $optParams = array()) + { + $params = array('project' => $project, 'backendBucket' => $backendBucket); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified BackendBucket resource. Get a list of available backend + * buckets by making a list() request. (backendBuckets.get) + * + * @param string $project Project ID for this request. + * @param string $backendBucket Name of the BackendBucket resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendBucket + */ + public function get($project, $backendBucket, $optParams = array()) + { + $params = array('project' => $project, 'backendBucket' => $backendBucket); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_BackendBucket"); + } + /** + * Creates a BackendBucket resource in the specified project using the data + * included in the request. (backendBuckets.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_BackendBucket $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_BackendBucket $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of BackendBucket resources available to the specified + * project. (backendBuckets.listBackendBuckets) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_BackendBucketList + */ + public function listBackendBuckets($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_BackendBucketList"); + } + /** + * Updates the specified BackendBucket resource with the data included in the + * request. This method supports patch semantics. (backendBuckets.patch) + * + * @param string $project Project ID for this request. + * @param string $backendBucket Name of the BackendBucket resource to update. + * @param Google_Service_Compute_BackendBucket $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $backendBucket, Google_Service_Compute_BackendBucket $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendBucket' => $backendBucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates the specified BackendBucket resource with the data included in the + * request. (backendBuckets.update) + * + * @param string $project Project ID for this request. + * @param string $backendBucket Name of the BackendBucket resource to update. + * @param Google_Service_Compute_BackendBucket $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $backendBucket, Google_Service_Compute_BackendBucket $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendBucket' => $backendBucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php new file mode 100644 index 00000000..b234747b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/BackendServices.php @@ -0,0 +1,241 @@ + + * $computeService = new Google_Service_Compute(...); + * $backendServices = $computeService->backendServices; + * + */ +class Google_Service_Compute_Resource_BackendServices extends Google_Service_Resource +{ + /** + * Retrieves the list of all BackendService resources, regional and global, + * available to the specified project. (backendServices.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_BackendServiceAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_BackendServiceAggregatedList"); + } + /** + * Deletes the specified BackendService resource. (backendServices.delete) + * + * @param string $project Project ID for this request. + * @param string $backendService Name of the BackendService resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified BackendService resource. Get a list of available + * backend services by making a list() request. (backendServices.get) + * + * @param string $project Project ID for this request. + * @param string $backendService Name of the BackendService resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendService + */ + public function get($project, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_BackendService"); + } + /** + * Gets the most recent health check results for this BackendService. + * (backendServices.getHealth) + * + * @param string $project + * @param string $backendService Name of the BackendService resource to which + * the queried instance belongs. + * @param Google_Service_Compute_ResourceGroupReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendServiceGroupHealth + */ + public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth"); + } + /** + * Creates a BackendService resource in the specified project using the data + * included in the request. There are several restrictions and guidelines to + * keep in mind when creating a backend service. Read Restrictions and + * Guidelines for more information. (backendServices.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of BackendService resources available to the specified + * project. (backendServices.listBackendServices) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_BackendServiceList + */ + public function listBackendServices($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList"); + } + /** + * Updates the specified BackendService resource with the data included in the + * request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more + * information. This method supports patch semantics. (backendServices.patch) + * + * @param string $project Project ID for this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates the specified BackendService resource with the data included in the + * request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more + * information. (backendServices.update) + * + * @param string $project Project ID for this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php new file mode 100644 index 00000000..83fcc523 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/DiskTypes.php @@ -0,0 +1,158 @@ + + * $computeService = new Google_Service_Compute(...); + * $diskTypes = $computeService->diskTypes; + * + */ +class Google_Service_Compute_Resource_DiskTypes extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of disk types. (diskTypes.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_DiskTypeAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList"); + } + /** + * Returns the specified disk type. Get a list of available disk types by making + * a list() request. (diskTypes.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $diskType Name of the disk type to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_DiskType + */ + public function get($project, $zone, $diskType, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_DiskType"); + } + /** + * Retrieves a list of disk types available to the specified project. + * (diskTypes.listDiskTypes) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_DiskTypeList + */ + public function listDiskTypes($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php new file mode 100644 index 00000000..be69f684 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Disks.php @@ -0,0 +1,231 @@ + + * $computeService = new Google_Service_Compute(...); + * $disks = $computeService->disks; + * + */ +class Google_Service_Compute_Resource_Disks extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of persistent disks. (disks.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_DiskAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList"); + } + /** + * Creates a snapshot of a specified persistent disk. (disks.createSnapshot) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to snapshot. + * @param Google_Service_Compute_Snapshot $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool guestFlush + * @return Google_Service_Compute_Operation + */ + public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation"); + } + /** + * Deletes the specified persistent disk. Deleting a disk removes its data + * permanently and is irreversible. However, deleting a disk does not delete any + * snapshots previously made from the disk. You must separately delete + * snapshots. (disks.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $disk, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns a specified persistent disk. Get a list of available persistent disks + * by making a list() request. (disks.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Disk + */ + public function get($project, $zone, $disk, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Disk"); + } + /** + * Creates a persistent disk in the specified project using the data in the + * request. You can create a disk with a sourceImage, a sourceSnapshot, or + * create an empty 500 GB data disk by omitting all properties. You can also + * create a disk that is larger than the default size by specifying the sizeGb + * property. (disks.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param Google_Service_Compute_Disk $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string sourceImage Optional. Source image to restore onto a disk. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of persistent disks contained within the specified zone. + * (disks.listDisks) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_DiskList + */ + public function listDisks($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_DiskList"); + } + /** + * Resizes the specified persistent disk. (disks.resize) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk The name of the persistent disk. + * @param Google_Service_Compute_DisksResizeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function resize($project, $zone, $disk, Google_Service_Compute_DisksResizeRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php new file mode 100644 index 00000000..850bbd95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Firewalls.php @@ -0,0 +1,160 @@ + + * $computeService = new Google_Service_Compute(...); + * $firewalls = $computeService->firewalls; + * + */ +class Google_Service_Compute_Resource_Firewalls extends Google_Service_Resource +{ + /** + * Deletes the specified firewall. (firewalls.delete) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall rule to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $firewall, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified firewall. (firewalls.get) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall rule to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Firewall + */ + public function get($project, $firewall, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Firewall"); + } + /** + * Creates a firewall rule in the specified project using the data included in + * the request. (firewalls.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of firewall rules available to the specified project. + * (firewalls.listFirewalls) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_FirewallList + */ + public function listFirewalls($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_FirewallList"); + } + /** + * Updates the specified firewall rule with the data included in the request. + * This method supports patch semantics. (firewalls.patch) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall rule to update. + * @param Google_Service_Compute_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates the specified firewall rule with the data included in the request. + * (firewalls.update) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall rule to update. + * @param Google_Service_Compute_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php new file mode 100644 index 00000000..9ee235b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ForwardingRules.php @@ -0,0 +1,207 @@ + + * $computeService = new Google_Service_Compute(...); + * $forwardingRules = $computeService->forwardingRules; + * + */ +class Google_Service_Compute_Resource_ForwardingRules extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of forwarding rules. + * (forwardingRules.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_ForwardingRuleAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList"); + } + /** + * Deletes the specified ForwardingRule resource. (forwardingRules.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified ForwardingRule resource. (forwardingRules.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_ForwardingRule + */ + public function get($project, $region, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); + } + /** + * Creates a ForwardingRule resource in the specified project and region using + * the data included in the request. (forwardingRules.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_ForwardingRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of ForwardingRule resources available to the specified + * project and region. (forwardingRules.listForwardingRules) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_ForwardingRuleList + */ + public function listForwardingRules($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); + } + /** + * Changes target URL for forwarding rule. The new target should be of the same + * type as the old target. (forwardingRules.setTarget) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource in which + * target is to be set. + * @param Google_Service_Compute_TargetReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php new file mode 100644 index 00000000..eb1878d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalAddresses.php @@ -0,0 +1,128 @@ + + * $computeService = new Google_Service_Compute(...); + * $globalAddresses = $computeService->globalAddresses; + * + */ +class Google_Service_Compute_Resource_GlobalAddresses extends Google_Service_Resource +{ + /** + * Deletes the specified address resource. (globalAddresses.delete) + * + * @param string $project Project ID for this request. + * @param string $address Name of the address resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $address, $optParams = array()) + { + $params = array('project' => $project, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified address resource. Get a list of available addresses by + * making a list() request. (globalAddresses.get) + * + * @param string $project Project ID for this request. + * @param string $address Name of the address resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Address + */ + public function get($project, $address, $optParams = array()) + { + $params = array('project' => $project, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Address"); + } + /** + * Creates an address resource in the specified project using the data included + * in the request. (globalAddresses.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Address $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of global addresses. (globalAddresses.listGlobalAddresses) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_AddressList + */ + public function listGlobalAddresses($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AddressList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php new file mode 100644 index 00000000..2edee631 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalForwardingRules.php @@ -0,0 +1,146 @@ + + * $computeService = new Google_Service_Compute(...); + * $globalForwardingRules = $computeService->globalForwardingRules; + * + */ +class Google_Service_Compute_Resource_GlobalForwardingRules extends Google_Service_Resource +{ + /** + * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete) + * + * @param string $project Project ID for this request. + * @param string $forwardingRule Name of the ForwardingRule resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified ForwardingRule resource. Get a list of available + * forwarding rules by making a list() request. (globalForwardingRules.get) + * + * @param string $project Project ID for this request. + * @param string $forwardingRule Name of the ForwardingRule resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_ForwardingRule + */ + public function get($project, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); + } + /** + * Creates a ForwardingRule resource in the specified project and region using + * the data included in the request. (globalForwardingRules.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_ForwardingRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of ForwardingRule resources available to the specified + * project. (globalForwardingRules.listGlobalForwardingRules) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_ForwardingRuleList + */ + public function listGlobalForwardingRules($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); + } + /** + * Changes target URL for forwarding rule. The new target should be of the same + * type as the old target. (globalForwardingRules.setTarget) + * + * @param string $project Project ID for this request. + * @param string $forwardingRule Name of the ForwardingRule resource in which + * target is to be set. + * @param Google_Service_Compute_TargetReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php new file mode 100644 index 00000000..ce1a9417 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/GlobalOperations.php @@ -0,0 +1,170 @@ + + * $computeService = new Google_Service_Compute(...); + * $globalOperations = $computeService->globalOperations; + * + */ +class Google_Service_Compute_Resource_GlobalOperations extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of all operations. + * (globalOperations.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_OperationAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList"); + } + /** + * Deletes the specified Operations resource. (globalOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the specified Operations resource. Get a list of operations by + * making a list() request. (globalOperations.get) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of Operation resources contained within the specified + * project. (globalOperations.listGlobalOperations) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_OperationList + */ + public function listGlobalOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php new file mode 100644 index 00000000..c46e7e73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HealthChecks.php @@ -0,0 +1,162 @@ + + * $computeService = new Google_Service_Compute(...); + * $healthChecks = $computeService->healthChecks; + * + */ +class Google_Service_Compute_Resource_HealthChecks extends Google_Service_Resource +{ + /** + * Deletes the specified HealthCheck resource. (healthChecks.delete) + * + * @param string $project Project ID for this request. + * @param string $healthCheck Name of the HealthCheck resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $healthCheck, $optParams = array()) + { + $params = array('project' => $project, 'healthCheck' => $healthCheck); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified HealthCheck resource. Get a list of available health + * checks by making a list() request. (healthChecks.get) + * + * @param string $project Project ID for this request. + * @param string $healthCheck Name of the HealthCheck resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_HealthCheck + */ + public function get($project, $healthCheck, $optParams = array()) + { + $params = array('project' => $project, 'healthCheck' => $healthCheck); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_HealthCheck"); + } + /** + * Creates a HealthCheck resource in the specified project using the data + * included in the request. (healthChecks.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_HealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_HealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of HealthCheck resources available to the specified + * project. (healthChecks.listHealthChecks) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_HealthCheckList + */ + public function listHealthChecks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_HealthCheckList"); + } + /** + * Updates a HealthCheck resource in the specified project using the data + * included in the request. This method supports patch semantics. + * (healthChecks.patch) + * + * @param string $project Project ID for this request. + * @param string $healthCheck Name of the HealthCheck resource to update. + * @param Google_Service_Compute_HealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $healthCheck, Google_Service_Compute_HealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'healthCheck' => $healthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates a HealthCheck resource in the specified project using the data + * included in the request. (healthChecks.update) + * + * @param string $project Project ID for this request. + * @param string $healthCheck Name of the HealthCheck resource to update. + * @param Google_Service_Compute_HealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $healthCheck, Google_Service_Compute_HealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'healthCheck' => $healthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php new file mode 100644 index 00000000..bd261fa8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpHealthChecks.php @@ -0,0 +1,166 @@ + + * $computeService = new Google_Service_Compute(...); + * $httpHealthChecks = $computeService->httpHealthChecks; + * + */ +class Google_Service_Compute_Resource_HttpHealthChecks extends Google_Service_Resource +{ + /** + * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete) + * + * @param string $project Project ID for this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $httpHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified HttpHealthCheck resource. Get a list of available HTTP + * health checks by making a list() request. (httpHealthChecks.get) + * + * @param string $project Project ID for this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_HttpHealthCheck + */ + public function get($project, $httpHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck"); + } + /** + * Creates a HttpHealthCheck resource in the specified project using the data + * included in the request. (httpHealthChecks.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of HttpHealthCheck resources available to the specified + * project. (httpHealthChecks.listHttpHealthChecks) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_HttpHealthCheckList + */ + public function listHttpHealthChecks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList"); + } + /** + * Updates a HttpHealthCheck resource in the specified project using the data + * included in the request. This method supports patch semantics. + * (httpHealthChecks.patch) + * + * @param string $project Project ID for this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * update. + * @param Google_Service_Compute_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates a HttpHealthCheck resource in the specified project using the data + * included in the request. (httpHealthChecks.update) + * + * @param string $project Project ID for this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * update. + * @param Google_Service_Compute_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php new file mode 100644 index 00000000..dcbfe55f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/HttpsHealthChecks.php @@ -0,0 +1,166 @@ + + * $computeService = new Google_Service_Compute(...); + * $httpsHealthChecks = $computeService->httpsHealthChecks; + * + */ +class Google_Service_Compute_Resource_HttpsHealthChecks extends Google_Service_Resource +{ + /** + * Deletes the specified HttpsHealthCheck resource. (httpsHealthChecks.delete) + * + * @param string $project Project ID for this request. + * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $httpsHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified HttpsHealthCheck resource. Get a list of available + * HTTPS health checks by making a list() request. (httpsHealthChecks.get) + * + * @param string $project Project ID for this request. + * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_HttpsHealthCheck + */ + public function get($project, $httpsHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_HttpsHealthCheck"); + } + /** + * Creates a HttpsHealthCheck resource in the specified project using the data + * included in the request. (httpsHealthChecks.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_HttpsHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of HttpsHealthCheck resources available to the specified + * project. (httpsHealthChecks.listHttpsHealthChecks) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_HttpsHealthCheckList + */ + public function listHttpsHealthChecks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_HttpsHealthCheckList"); + } + /** + * Updates a HttpsHealthCheck resource in the specified project using the data + * included in the request. This method supports patch semantics. + * (httpsHealthChecks.patch) + * + * @param string $project Project ID for this request. + * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to + * update. + * @param Google_Service_Compute_HttpsHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates a HttpsHealthCheck resource in the specified project using the data + * included in the request. (httpsHealthChecks.update) + * + * @param string $project Project ID for this request. + * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to + * update. + * @param Google_Service_Compute_HttpsHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php new file mode 100644 index 00000000..e3b5ac1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Images.php @@ -0,0 +1,166 @@ + + * $computeService = new Google_Service_Compute(...); + * $images = $computeService->images; + * + */ +class Google_Service_Compute_Resource_Images extends Google_Service_Resource +{ + /** + * Deletes the specified image. (images.delete) + * + * @param string $project Project ID for this request. + * @param string $image Name of the image resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $image, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets the deprecation status of an image. + * + * If an empty request body is given, clears the deprecation status instead. + * (images.deprecate) + * + * @param string $project Project ID for this request. + * @param string $image Image name. + * @param Google_Service_Compute_DeprecationStatus $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deprecate', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified image. Get a list of available images by making a + * list() request. (images.get) + * + * @param string $project Project ID for this request. + * @param string $image Name of the image resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Image + */ + public function get($project, $image, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Image"); + } + /** + * Returns the latest image that is part of an image family and is not + * deprecated. (images.getFromFamily) + * + * @param string $project Project ID for this request. + * @param string $family Name of the image family to search for. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Image + */ + public function getFromFamily($project, $family, $optParams = array()) + { + $params = array('project' => $project, 'family' => $family); + $params = array_merge($params, $optParams); + return $this->call('getFromFamily', array($params), "Google_Service_Compute_Image"); + } + /** + * Creates an image in the specified project using the data included in the + * request. (images.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Image $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of private images available to the specified project. + * Private images are images you create that belong to your project. This method + * does not get any images that belong to other projects, including publicly- + * available images, like Debian 8. If you want to get a list of publicly- + * available images, use this method to make a request to the respective image + * project, such as debian-cloud or windows-cloud. (images.listImages) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_ImageList + */ + public function listImages($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ImageList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php new file mode 100644 index 00000000..1fb564e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroupManagers.php @@ -0,0 +1,369 @@ + + * $computeService = new Google_Service_Compute(...); + * $instanceGroupManagers = $computeService->instanceGroupManagers; + * + */ +class Google_Service_Compute_Resource_InstanceGroupManagers extends Google_Service_Resource +{ + /** + * Schedules a group action to remove the specified instances from the managed + * instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the + * managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is + * marked as DONE when the action is scheduled even if the instances have not + * yet been removed from the group. You must separately verify the status of the + * abandoning action with the listmanagedinstances method. + * (instanceGroupManagers.abandonInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('abandonInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of managed instance groups and groups them by zone. + * (instanceGroupManagers.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceGroupManagerAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupManagerAggregatedList"); + } + /** + * Deletes the specified managed instance group and all of the instances in that + * group. Note that the instance group must not belong to a backend service. + * Read Deleting an instance group for more information. + * (instanceGroupManagers.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Schedules a group action to delete the specified instances in the managed + * instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed + * instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still + * being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. (instanceGroupManagers.deleteInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns all of the details about the specified managed instance group. Get a + * list of available managed instance groups by making a list() request. + * (instanceGroupManagers.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroupManager + */ + public function get($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroupManager"); + } + /** + * Creates a managed instance group using the information that you specify in + * the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation + * is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the + * individual instances with the listmanagedinstances method. + * (instanceGroupManagers.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where you want to create the managed + * instance group. + * @param Google_Service_Compute_InstanceGroupManager $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of managed instance groups that are contained within the + * specified project and zone. (instanceGroupManagers.listInstanceGroupManagers) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceGroupManagerList + */ + public function listInstanceGroupManagers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupManagerList"); + } + /** + * Lists all of the instances in the managed instance group. Each instance in + * the list has a currentAction, which indicates the action that the managed + * instance group is performing on the instance. For example, if the group is + * still creating an instance, the currentAction is CREATING. If a previous + * action failed, the list displays the errors for that failed action. + * (instanceGroupManagers.listManagedInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string maxResults + * @opt_param string order_by + * @opt_param string pageToken + * @return Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse + */ + public function listManagedInstances($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('listManagedInstances', array($params), "Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse"); + } + /** + * Schedules a group action to recreate the specified instances in the managed + * instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as + * DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action + * with the listmanagedinstances method. + * (instanceGroupManagers.recreateInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('recreateInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Resizes the managed instance group. If you increase the size, the group + * creates new instances using the current instance template. If you decrease + * the size, the group deletes instances. The resize operation is marked DONE + * when the resize actions are scheduled even if the group has not yet added or + * deleted any instances. You must separately verify the status of the creating + * or deleting actions with the listmanagedinstances method. + * (instanceGroupManagers.resize) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param int $size The number of running instances that the managed instance + * group should maintain at any given time. The group automatically adds or + * removes instances to maintain the number of instances specified by this + * parameter. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Compute_Operation"); + } + /** + * Specifies the instance template to use when creating new instances in this + * group. The templates for existing instances in the group do not change unless + * you recreate them. (instanceGroupManagers.setInstanceTemplate) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setInstanceTemplate', array($params), "Google_Service_Compute_Operation"); + } + /** + * Modifies the target pools to which all instances in this managed instance + * group are assigned. The target pools automatically apply to all of the + * instances in the managed instance group. This operation is marked DONE when + * you make the request even if the instances have not yet been added to their + * target pools. The change might take some time to apply to all of the + * instances in the group depending on the size of the group. + * (instanceGroupManagers.setTargetPools) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTargetPools', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php new file mode 100644 index 00000000..6945f6df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceGroups.php @@ -0,0 +1,309 @@ + + * $computeService = new Google_Service_Compute(...); + * $instanceGroups = $computeService->instanceGroups; + * + */ +class Google_Service_Compute_Resource_InstanceGroups extends Google_Service_Resource +{ + /** + * Adds a list of instances to the specified instance group. All of the + * instances in the instance group must be in the same network/subnetwork. Read + * Adding instances for more information. (instanceGroups.addInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where you are + * adding instances. + * @param Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of instance groups and sorts them by zone. + * (instanceGroups.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceGroupAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupAggregatedList"); + } + /** + * Deletes the specified instance group. The instances in the group are not + * deleted. Note that instance group must not belong to a backend service. Read + * Deleting an instance group for more information. (instanceGroups.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instanceGroup, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified instance group. Get a list of available instance groups + * by making a list() request. (instanceGroups.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroup + */ + public function get($project, $zone, $instanceGroup, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup"); + } + /** + * Creates an instance group in the specified project using the parameters that + * are included in the request. (instanceGroups.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where you want to create the + * instance group. + * @param Google_Service_Compute_InstanceGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_InstanceGroup $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of instance groups that are located in the specified + * project and zone. (instanceGroups.listInstanceGroups) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceGroupList + */ + public function listInstanceGroups($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupList"); + } + /** + * Lists the instances in the specified instance group. + * (instanceGroups.listInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group from which you + * want to generate a list of included instances. + * @param Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceGroupsListInstances + */ + public function listInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('listInstances', array($params), "Google_Service_Compute_InstanceGroupsListInstances"); + } + /** + * Removes one or more instances from the specified instance group, but does not + * delete those instances. (instanceGroups.removeInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where the + * specified instances will be removed. + * @param Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets the named ports for the specified instance group. + * (instanceGroups.setNamedPorts) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where the named + * ports are updated. + * @param Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setNamedPorts($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php new file mode 100644 index 00000000..e2dd0e2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/InstanceTemplates.php @@ -0,0 +1,136 @@ + + * $computeService = new Google_Service_Compute(...); + * $instanceTemplates = $computeService->instanceTemplates; + * + */ +class Google_Service_Compute_Resource_InstanceTemplates extends Google_Service_Resource +{ + /** + * Deletes the specified instance template. If you delete an instance template + * that is being referenced from another instance group, the instance group will + * not be able to create or recreate virtual machine instances. Deleting an + * instance template is permanent and cannot be undone. + * (instanceTemplates.delete) + * + * @param string $project Project ID for this request. + * @param string $instanceTemplate The name of the instance template to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $instanceTemplate, $optParams = array()) + { + $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified instance template. Get a list of available instance + * templates by making a list() request. (instanceTemplates.get) + * + * @param string $project Project ID for this request. + * @param string $instanceTemplate The name of the instance template. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceTemplate + */ + public function get($project, $instanceTemplate, $optParams = array()) + { + $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceTemplate"); + } + /** + * Creates an instance template in the specified project using the data that is + * included in the request. If you are creating a new template to update an + * existing instance group, your new instance template must use the same network + * or, if applicable, the same subnetwork as the original template. + * (instanceTemplates.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_InstanceTemplate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of instance templates that are contained within the + * specified project and zone. (instanceTemplates.listInstanceTemplates) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceTemplateList + */ + public function listInstanceTemplates($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceTemplateList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php new file mode 100644 index 00000000..4c1d6cf5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Instances.php @@ -0,0 +1,455 @@ + + * $computeService = new Google_Service_Compute(...); + * $instances = $computeService->instances; + * + */ +class Google_Service_Compute_Resource_Instances extends Google_Service_Resource +{ + /** + * Adds an access config to an instance's network interface. + * (instances.addAccessConfig) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param string $networkInterface The name of the network interface to add to + * this instance. + * @param Google_Service_Compute_AccessConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves aggregated list of instances. (instances.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList"); + } + /** + * Attaches a Disk resource to an instance. (instances.attachDisk) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param Google_Service_Compute_AttachedDisk $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation"); + } + /** + * Deletes the specified Instance resource. For more information, see Stopping + * or Deleting an Instance. (instances.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Deletes an access config from an instance's network interface. + * (instances.deleteAccessConfig) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param string $accessConfig The name of the access config to delete. + * @param string $networkInterface The name of the network interface. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface); + $params = array_merge($params, $optParams); + return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation"); + } + /** + * Detaches a disk from an instance. (instances.detachDisk) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Instance name. + * @param string $deviceName Disk device name to detach. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName); + $params = array_merge($params, $optParams); + return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified Instance resource. Get a list of available instances by + * making a list() request. (instances.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Instance + */ + public function get($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Instance"); + } + /** + * Returns the specified instance's serial port output. + * (instances.getSerialPortOutput) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param int port Specifies which COM or serial port to retrieve data from. + * @opt_param string start Returns output starting from a specific byte + * position. Use this to page through output when the output is too large to + * return in a single request. For the initial request, leave this field + * unspecified. For subsequent calls, this field should be set to the next value + * returned in the previous call. + * @return Google_Service_Compute_SerialPortOutput + */ + public function getSerialPortOutput($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput"); + } + /** + * Creates an instance resource in the specified project using the data included + * in the request. (instances.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param Google_Service_Compute_Instance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of instances contained within the specified zone. + * (instances.listInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_InstanceList + */ + public function listInstances($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceList"); + } + /** + * Performs a hard reset on the instance. (instances.reset) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function reset($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets the auto-delete flag for a disk attached to an instance. + * (instances.setDiskAutoDelete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name. + * @param bool $autoDelete Whether to auto-delete the disk when the instance is + * deleted. + * @param string $deviceName The device name of the disk to modify. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName); + $params = array_merge($params, $optParams); + return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes the machine type for a stopped instance to the machine type specified + * in the request. (instances.setMachineType) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param Google_Service_Compute_InstancesSetMachineTypeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setMachineType($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineTypeRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setMachineType', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets metadata for the specified instance to the data included in the request. + * (instances.setMetadata) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param Google_Service_Compute_Metadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets an instance's scheduling options. (instances.setScheduling) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Instance name. + * @param Google_Service_Compute_Scheduling $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets the service account on the instance. For more information, read Changing + * the service account and access scopes for an instance. + * (instances.setServiceAccount) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to start. + * @param Google_Service_Compute_InstancesSetServiceAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setServiceAccount($project, $zone, $instance, Google_Service_Compute_InstancesSetServiceAccountRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setServiceAccount', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets tags for the specified instance to the data included in the request. + * (instances.setTags) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param Google_Service_Compute_Tags $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTags', array($params), "Google_Service_Compute_Operation"); + } + /** + * Starts an instance that was stopped using the using the instances().stop + * method. For more information, see Restart an instance. (instances.start) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to start. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function start($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_Compute_Operation"); + } + /** + * Starts an instance that was stopped using the using the instances().stop + * method. For more information, see Restart an instance. + * (instances.startWithEncryptionKey) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to start. + * @param Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function startWithEncryptionKey($project, $zone, $instance, Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('startWithEncryptionKey', array($params), "Google_Service_Compute_Operation"); + } + /** + * Stops a running instance, shutting it down cleanly, and allows you to restart + * the instance at a later time. Stopped instances do not incur per-minute, + * virtual machine usage charges while they are stopped, but any resources that + * the virtual machine is using, such as persistent disks and static IP + * addresses, will continue to be charged until they are deleted. For more + * information, see Stopping an instance. (instances.stop) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to stop. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function stop($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php new file mode 100644 index 00000000..c6656a7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Licenses.php @@ -0,0 +1,43 @@ + + * $computeService = new Google_Service_Compute(...); + * $licenses = $computeService->licenses; + * + */ +class Google_Service_Compute_Resource_Licenses extends Google_Service_Resource +{ + /** + * Returns the specified License resource. Get a list of available licenses by + * making a list() request. (licenses.get) + * + * @param string $project Project ID for this request. + * @param string $license Name of the License resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_License + */ + public function get($project, $license, $optParams = array()) + { + $params = array('project' => $project, 'license' => $license); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_License"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php new file mode 100644 index 00000000..1e822f87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/MachineTypes.php @@ -0,0 +1,158 @@ + + * $computeService = new Google_Service_Compute(...); + * $machineTypes = $computeService->machineTypes; + * + */ +class Google_Service_Compute_Resource_MachineTypes extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of machine types. (machineTypes.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_MachineTypeAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList"); + } + /** + * Returns the specified machine type. Get a list of available machine types by + * making a list() request. (machineTypes.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $machineType Name of the machine type to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_MachineType + */ + public function get($project, $zone, $machineType, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_MachineType"); + } + /** + * Retrieves a list of machine types available to the specified project. + * (machineTypes.listMachineTypes) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_MachineTypeList + */ + public function listMachineTypes($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php new file mode 100644 index 00000000..6e9d4383 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Networks.php @@ -0,0 +1,144 @@ + + * $computeService = new Google_Service_Compute(...); + * $networks = $computeService->networks; + * + */ +class Google_Service_Compute_Resource_Networks extends Google_Service_Resource +{ + /** + * Deletes the specified network. (networks.delete) + * + * @param string $project Project ID for this request. + * @param string $network Name of the network to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $network, $optParams = array()) + { + $params = array('project' => $project, 'network' => $network); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified network. Get a list of available networks by making a + * list() request. (networks.get) + * + * @param string $project Project ID for this request. + * @param string $network Name of the network to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Network + */ + public function get($project, $network, $optParams = array()) + { + $params = array('project' => $project, 'network' => $network); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Network"); + } + /** + * Creates a network in the specified project using the data included in the + * request. (networks.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Network $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of networks available to the specified project. + * (networks.listNetworks) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_NetworkList + */ + public function listNetworks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_NetworkList"); + } + /** + * Switches the network mode from auto subnet mode to custom subnet mode. + * (networks.switchToCustomMode) + * + * @param string $project Project ID for this request. + * @param string $network Name of the network to be updated. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function switchToCustomMode($project, $network, $optParams = array()) + { + $params = array('project' => $project, 'network' => $network); + $params = array_merge($params, $optParams); + return $this->call('switchToCustomMode', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php new file mode 100644 index 00000000..99410cc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Projects.php @@ -0,0 +1,101 @@ + + * $computeService = new Google_Service_Compute(...); + * $projects = $computeService->projects; + * + */ +class Google_Service_Compute_Resource_Projects extends Google_Service_Resource +{ + /** + * Returns the specified Project resource. (projects.get) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Project + */ + public function get($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Project"); + } + /** + * Moves a persistent disk from one zone to another. (projects.moveDisk) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_DiskMoveRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function moveDisk($project, Google_Service_Compute_DiskMoveRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('moveDisk', array($params), "Google_Service_Compute_Operation"); + } + /** + * Moves an instance and its attached persistent disks from one zone to another. + * (projects.moveInstance) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_InstanceMoveRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function moveInstance($project, Google_Service_Compute_InstanceMoveRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('moveInstance', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets metadata common to all instances within the specified project using the + * data included in the request. (projects.setCommonInstanceMetadata) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Metadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation"); + } + /** + * Enables the usage export feature and sets the usage export bucket where + * reports are stored. If you provide an empty request body using this method, + * the usage export feature will be disabled. (projects.setUsageExportBucket) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_UsageExportLocation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php new file mode 100644 index 00000000..a9a30977 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionAutoscalers.php @@ -0,0 +1,167 @@ + + * $computeService = new Google_Service_Compute(...); + * $regionAutoscalers = $computeService->regionAutoscalers; + * + */ +class Google_Service_Compute_Resource_RegionAutoscalers extends Google_Service_Resource +{ + /** + * Deletes the specified autoscaler. (regionAutoscalers.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $autoscaler Name of the autoscaler to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified autoscaler. (regionAutoscalers.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $autoscaler Name of the autoscaler to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Autoscaler + */ + public function get($project, $region, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Autoscaler"); + } + /** + * Creates an autoscaler in the specified project using the data included in the + * request. (regionAutoscalers.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of autoscalers contained within the specified region. + * (regionAutoscalers.listRegionAutoscalers) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RegionAutoscalerList + */ + public function listRegionAutoscalers($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RegionAutoscalerList"); + } + /** + * Updates an autoscaler in the specified project using the data included in the + * request. This method supports patch semantics. (regionAutoscalers.patch) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $autoscaler Name of the autoscaler to update. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $region, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates an autoscaler in the specified project using the data included in the + * request. (regionAutoscalers.update) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_Autoscaler $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string autoscaler Name of the autoscaler to update. + * @return Google_Service_Compute_Operation + */ + public function update($project, $region, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php new file mode 100644 index 00000000..e82facce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionBackendServices.php @@ -0,0 +1,194 @@ + + * $computeService = new Google_Service_Compute(...); + * $regionBackendServices = $computeService->regionBackendServices; + * + */ +class Google_Service_Compute_Resource_RegionBackendServices extends Google_Service_Resource +{ + /** + * Deletes the specified regional BackendService resource. + * (regionBackendServices.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $backendService Name of the BackendService resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified regional BackendService resource. + * (regionBackendServices.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $backendService Name of the BackendService resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendService + */ + public function get($project, $region, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_BackendService"); + } + /** + * Gets the most recent health check results for this regional BackendService. + * (regionBackendServices.getHealth) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $backendService Name of the BackendService resource to which + * the queried instance belongs. + * @param Google_Service_Compute_ResourceGroupReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendServiceGroupHealth + */ + public function getHealth($project, $region, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth"); + } + /** + * Creates a regional BackendService resource in the specified project using the + * data included in the request. There are several restrictions and guidelines + * to keep in mind when creating a regional backend service. Read Restrictions + * and Guidelines for more information. (regionBackendServices.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of regional BackendService resources available to the + * specified project in the given region. + * (regionBackendServices.listRegionBackendServices) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_BackendServiceList + */ + public function listRegionBackendServices($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList"); + } + /** + * Updates the specified regional BackendService resource with the data included + * in the request. There are several restrictions and guidelines to keep in mind + * when updating a backend service. Read Restrictions and Guidelines for more + * information. This method supports patch semantics. + * (regionBackendServices.patch) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $region, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates the specified regional BackendService resource with the data included + * in the request. There are several restrictions and guidelines to keep in mind + * when updating a backend service. Read Restrictions and Guidelines for more + * information. (regionBackendServices.update) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_Service_Compute_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $region, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php new file mode 100644 index 00000000..94e89eda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroupManagers.php @@ -0,0 +1,294 @@ + + * $computeService = new Google_Service_Compute(...); + * $regionInstanceGroupManagers = $computeService->regionInstanceGroupManagers; + * + */ +class Google_Service_Compute_Resource_RegionInstanceGroupManagers extends Google_Service_Resource +{ + /** + * Schedules a group action to remove the specified instances from the managed + * instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the + * managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is + * marked as DONE when the action is scheduled even if the instances have not + * yet been removed from the group. You must separately verify the status of the + * abandoning action with the listmanagedinstances method. + * (regionInstanceGroupManagers.abandonInstances) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group. + * @param Google_Service_Compute_RegionInstanceGroupManagersAbandonInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function abandonInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('abandonInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Deletes the specified managed instance group and all of the instances in that + * group. (regionInstanceGroupManagers.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Schedules a group action to delete the specified instances in the managed + * instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed + * instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still + * being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. + * (regionInstanceGroupManagers.deleteInstances) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group. + * @param Google_Service_Compute_RegionInstanceGroupManagersDeleteInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deleteInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns all of the details about the specified managed instance group. + * (regionInstanceGroupManagers.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroupManager + */ + public function get($project, $region, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroupManager"); + } + /** + * Creates a managed instance group using the information that you specify in + * the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation + * is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the + * individual instances with the listmanagedinstances method. + * (regionInstanceGroupManagers.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_InstanceGroupManager $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of managed instance groups that are contained within the + * specified region. + * (regionInstanceGroupManagers.listRegionInstanceGroupManagers) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RegionInstanceGroupManagerList + */ + public function listRegionInstanceGroupManagers($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RegionInstanceGroupManagerList"); + } + /** + * Lists the instances in the managed instance group and instances that are + * scheduled to be created. The list includes any current actions that the group + * has scheduled for its instances. + * (regionInstanceGroupManagers.listManagedInstances) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager The name of the managed instance group. + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string maxResults + * @opt_param string order_by + * @opt_param string pageToken + * @return Google_Service_Compute_RegionInstanceGroupManagersListInstancesResponse + */ + public function listManagedInstances($project, $region, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('listManagedInstances', array($params), "Google_Service_Compute_RegionInstanceGroupManagersListInstancesResponse"); + } + /** + * Schedules a group action to recreate the specified instances in the managed + * instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as + * DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action + * with the listmanagedinstances method. + * (regionInstanceGroupManagers.recreateInstances) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group. + * @param Google_Service_Compute_RegionInstanceGroupManagersRecreateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function recreateInstances($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersRecreateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('recreateInstances', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes the intended size for the managed instance group. If you increase the + * size, the group schedules actions to create new instances using the current + * instance template. If you decrease the size, the group schedules delete + * actions on one or more instances. The resize operation is marked DONE when + * the resize actions are scheduled even if the group has not yet added or + * deleted any instances. You must separately verify the status of the creating + * or deleting actions with the listmanagedinstances method. + * (regionInstanceGroupManagers.resize) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group. + * @param int $size Number of instances that should exist in this instance group + * manager. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function resize($project, $region, $instanceGroupManager, $size, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Compute_Operation"); + } + /** + * Sets the instance template to use when creating new instances or recreating + * instances in this group. Existing instances are not affected. + * (regionInstanceGroupManagers.setInstanceTemplate) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_Service_Compute_RegionInstanceGroupManagersSetTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setInstanceTemplate($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersSetTemplateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setInstanceTemplate', array($params), "Google_Service_Compute_Operation"); + } + /** + * Modifies the target pools to which all new instances in this group are + * assigned. Existing instances in the group are not affected. + * (regionInstanceGroupManagers.setTargetPools) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroupManager Name of the managed instance group. + * @param Google_Service_Compute_RegionInstanceGroupManagersSetTargetPoolsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTargetPools($project, $region, $instanceGroupManager, Google_Service_Compute_RegionInstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTargetPools', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php new file mode 100644 index 00000000..27934ab4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionInstanceGroups.php @@ -0,0 +1,182 @@ + + * $computeService = new Google_Service_Compute(...); + * $regionInstanceGroups = $computeService->regionInstanceGroups; + * + */ +class Google_Service_Compute_Resource_RegionInstanceGroups extends Google_Service_Resource +{ + /** + * Returns the specified instance group resource. (regionInstanceGroups.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroup Name of the instance group resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroup + */ + public function get($project, $region, $instanceGroup, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup"); + } + /** + * Retrieves the list of instance group resources contained within the specified + * region. (regionInstanceGroups.listRegionInstanceGroups) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RegionInstanceGroupList + */ + public function listRegionInstanceGroups($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RegionInstanceGroupList"); + } + /** + * Lists the instances in the specified instance group and displays information + * about the named ports. Depending on the specified options, this method can + * list all instances or only the instances that are running. + * (regionInstanceGroups.listInstances) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroup Name of the regional instance group for which we + * want to list the instances. + * @param Google_Service_Compute_RegionInstanceGroupsListInstancesRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RegionInstanceGroupsListInstances + */ + public function listInstances($project, $region, $instanceGroup, Google_Service_Compute_RegionInstanceGroupsListInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('listInstances', array($params), "Google_Service_Compute_RegionInstanceGroupsListInstances"); + } + /** + * Sets the named ports for the specified regional instance group. + * (regionInstanceGroups.setNamedPorts) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $instanceGroup The name of the regional instance group where + * the named ports are updated. + * @param Google_Service_Compute_RegionInstanceGroupsSetNamedPortsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setNamedPorts($project, $region, $instanceGroup, Google_Service_Compute_RegionInstanceGroupsSetNamedPortsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php new file mode 100644 index 00000000..40d91319 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/RegionOperations.php @@ -0,0 +1,117 @@ + + * $computeService = new Google_Service_Compute(...); + * $regionOperations = $computeService->regionOperations; + * + */ +class Google_Service_Compute_Resource_RegionOperations extends Google_Service_Resource +{ + /** + * Deletes the specified region-specific Operations resource. + * (regionOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $region, $operation, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the specified region-specific Operations resource. + * (regionOperations.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $region, $operation, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of Operation resources contained within the specified + * region. (regionOperations.listRegionOperations) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_OperationList + */ + public function listRegionOperations($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php new file mode 100644 index 00000000..b5e859a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Regions.php @@ -0,0 +1,100 @@ + + * $computeService = new Google_Service_Compute(...); + * $regions = $computeService->regions; + * + */ +class Google_Service_Compute_Resource_Regions extends Google_Service_Resource +{ + /** + * Returns the specified Region resource. Get a list of available regions by + * making a list() request. (regions.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Region + */ + public function get($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Region"); + } + /** + * Retrieves the list of region resources available to the specified project. + * (regions.listRegions) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RegionList + */ + public function listRegions($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RegionList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php new file mode 100644 index 00000000..8ab17d0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routers.php @@ -0,0 +1,256 @@ + + * $computeService = new Google_Service_Compute(...); + * $routers = $computeService->routers; + * + */ +class Google_Service_Compute_Resource_Routers extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of routers. (routers.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RouterAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_RouterAggregatedList"); + } + /** + * Deletes the specified Router resource. (routers.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $router, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified Router resource. Get a list of available routers by + * making a list() request. (routers.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Router + */ + public function get($project, $region, $router, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Router"); + } + /** + * Retrieves runtime information of the specified router. + * (routers.getRouterStatus) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to query. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_RouterStatusResponse + */ + public function getRouterStatus($project, $region, $router, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router); + $params = array_merge($params, $optParams); + return $this->call('getRouterStatus', array($params), "Google_Service_Compute_RouterStatusResponse"); + } + /** + * Creates a Router resource in the specified project and region using the data + * included in the request. (routers.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param Google_Service_Compute_Router $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_Router $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of Router resources available to the specified project. + * (routers.listRouters) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RouterList + */ + public function listRouters($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RouterList"); + } + /** + * Updates the specified Router resource with the data included in the request. + * This method supports patch semantics. (routers.patch) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to update. + * @param Google_Service_Compute_Router $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Preview fields auto-generated during router create and update operations. + * Calling this method does NOT create or update the router. (routers.preview) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to query. + * @param Google_Service_Compute_Router $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_RoutersPreviewResponse + */ + public function preview($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('preview', array($params), "Google_Service_Compute_RoutersPreviewResponse"); + } + /** + * Updates the specified Router resource with the data included in the request. + * (routers.update) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $router Name of the Router resource to update. + * @param Google_Service_Compute_Router $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $region, $router, Google_Service_Compute_Router $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'router' => $router, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php new file mode 100644 index 00000000..2970f5e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Routes.php @@ -0,0 +1,129 @@ + + * $computeService = new Google_Service_Compute(...); + * $routes = $computeService->routes; + * + */ +class Google_Service_Compute_Resource_Routes extends Google_Service_Resource +{ + /** + * Deletes the specified Route resource. (routes.delete) + * + * @param string $project Project ID for this request. + * @param string $route Name of the Route resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $route, $optParams = array()) + { + $params = array('project' => $project, 'route' => $route); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified Route resource. Get a list of available routes by + * making a list() request. (routes.get) + * + * @param string $project Project ID for this request. + * @param string $route Name of the Route resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Route + */ + public function get($project, $route, $optParams = array()) + { + $params = array('project' => $project, 'route' => $route); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Route"); + } + /** + * Creates a Route resource in the specified project using the data included in + * the request. (routes.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_Route $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of Route resources available to the specified project. + * (routes.listRoutes) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_RouteList + */ + public function listRoutes($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RouteList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php new file mode 100644 index 00000000..30fbf0b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Snapshots.php @@ -0,0 +1,119 @@ + + * $computeService = new Google_Service_Compute(...); + * $snapshots = $computeService->snapshots; + * + */ +class Google_Service_Compute_Resource_Snapshots extends Google_Service_Resource +{ + /** + * Deletes the specified Snapshot resource. Keep in mind that deleting a single + * snapshot might not necessarily delete all the data on that snapshot. If any + * data on the snapshot that is marked for deletion is needed for subsequent + * snapshots, the data will be moved to the next corresponding snapshot. + * + * For more information, see Deleting snaphots. (snapshots.delete) + * + * @param string $project Project ID for this request. + * @param string $snapshot Name of the Snapshot resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $snapshot, $optParams = array()) + { + $params = array('project' => $project, 'snapshot' => $snapshot); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified Snapshot resource. Get a list of available snapshots by + * making a list() request. (snapshots.get) + * + * @param string $project Project ID for this request. + * @param string $snapshot Name of the Snapshot resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Snapshot + */ + public function get($project, $snapshot, $optParams = array()) + { + $params = array('project' => $project, 'snapshot' => $snapshot); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Snapshot"); + } + /** + * Retrieves the list of Snapshot resources contained within the specified + * project. (snapshots.listSnapshots) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_SnapshotList + */ + public function listSnapshots($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_SnapshotList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php new file mode 100644 index 00000000..b445378c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/SslCertificates.php @@ -0,0 +1,129 @@ + + * $computeService = new Google_Service_Compute(...); + * $sslCertificates = $computeService->sslCertificates; + * + */ +class Google_Service_Compute_Resource_SslCertificates extends Google_Service_Resource +{ + /** + * Deletes the specified SslCertificate resource. (sslCertificates.delete) + * + * @param string $project Project ID for this request. + * @param string $sslCertificate Name of the SslCertificate resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $sslCertificate, $optParams = array()) + { + $params = array('project' => $project, 'sslCertificate' => $sslCertificate); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified SslCertificate resource. Get a list of available SSL + * certificates by making a list() request. (sslCertificates.get) + * + * @param string $project Project ID for this request. + * @param string $sslCertificate Name of the SslCertificate resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_SslCertificate + */ + public function get($project, $sslCertificate, $optParams = array()) + { + $params = array('project' => $project, 'sslCertificate' => $sslCertificate); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_SslCertificate"); + } + /** + * Creates a SslCertificate resource in the specified project using the data + * included in the request. (sslCertificates.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_SslCertificate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_SslCertificate $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of SslCertificate resources available to the specified + * project. (sslCertificates.listSslCertificates) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_SslCertificateList + */ + public function listSslCertificates($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_SslCertificateList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php new file mode 100644 index 00000000..9e0fd05b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Subnetworks.php @@ -0,0 +1,206 @@ + + * $computeService = new Google_Service_Compute(...); + * $subnetworks = $computeService->subnetworks; + * + */ +class Google_Service_Compute_Resource_Subnetworks extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of subnetworks. (subnetworks.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_SubnetworkAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_SubnetworkAggregatedList"); + } + /** + * Deletes the specified subnetwork. (subnetworks.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $subnetwork Name of the Subnetwork resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $subnetwork, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Expands the IP CIDR range of the subnetwork to a specified value. + * (subnetworks.expandIpCidrRange) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $subnetwork Name of the Subnetwork resource to update. + * @param Google_Service_Compute_SubnetworksExpandIpCidrRangeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function expandIpCidrRange($project, $region, $subnetwork, Google_Service_Compute_SubnetworksExpandIpCidrRangeRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('expandIpCidrRange', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified subnetwork. Get a list of available subnetworks list() + * request. (subnetworks.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $subnetwork Name of the Subnetwork resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Subnetwork + */ + public function get($project, $region, $subnetwork, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Subnetwork"); + } + /** + * Creates a subnetwork in the specified project using the data included in the + * request. (subnetworks.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_Subnetwork $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_Subnetwork $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of subnetworks available to the specified project. + * (subnetworks.listSubnetworks) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_SubnetworkList + */ + public function listSubnetworks($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_SubnetworkList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php new file mode 100644 index 00000000..3f19cfe8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpProxies.php @@ -0,0 +1,147 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetHttpProxies = $computeService->targetHttpProxies; + * + */ +class Google_Service_Compute_Resource_TargetHttpProxies extends Google_Service_Resource +{ + /** + * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete) + * + * @param string $project Project ID for this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $targetHttpProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified TargetHttpProxy resource. Get a list of available + * target HTTP proxies by making a list() request. (targetHttpProxies.get) + * + * @param string $project Project ID for this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetHttpProxy + */ + public function get($project, $targetHttpProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy"); + } + /** + * Creates a TargetHttpProxy resource in the specified project using the data + * included in the request. (targetHttpProxies.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_TargetHttpProxy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of TargetHttpProxy resources available to the specified + * project. (targetHttpProxies.listTargetHttpProxies) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetHttpProxyList + */ + public function listTargetHttpProxies($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList"); + } + /** + * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap) + * + * @param string $project Project ID for this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy to set a URL map + * for. + * @param Google_Service_Compute_UrlMapReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php new file mode 100644 index 00000000..dd659717 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetHttpsProxies.php @@ -0,0 +1,164 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetHttpsProxies = $computeService->targetHttpsProxies; + * + */ +class Google_Service_Compute_Resource_TargetHttpsProxies extends Google_Service_Resource +{ + /** + * Deletes the specified TargetHttpsProxy resource. (targetHttpsProxies.delete) + * + * @param string $project Project ID for this request. + * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $targetHttpsProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified TargetHttpsProxy resource. Get a list of available + * target HTTPS proxies by making a list() request. (targetHttpsProxies.get) + * + * @param string $project Project ID for this request. + * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetHttpsProxy + */ + public function get($project, $targetHttpsProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetHttpsProxy"); + } + /** + * Creates a TargetHttpsProxy resource in the specified project using the data + * included in the request. (targetHttpsProxies.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_TargetHttpsProxy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_TargetHttpsProxy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of TargetHttpsProxy resources available to the specified + * project. (targetHttpsProxies.listTargetHttpsProxies) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetHttpsProxyList + */ + public function listTargetHttpsProxies($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetHttpsProxyList"); + } + /** + * Replaces SslCertificates for TargetHttpsProxy. + * (targetHttpsProxies.setSslCertificates) + * + * @param string $project Project ID for this request. + * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to set + * an SslCertificates resource for. + * @param Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setSslCertificates($project, $targetHttpsProxy, Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setSslCertificates', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes the URL map for TargetHttpsProxy. (targetHttpsProxies.setUrlMap) + * + * @param string $project Project ID for this request. + * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource whose + * URL map is to be set. + * @param Google_Service_Compute_UrlMapReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setUrlMap($project, $targetHttpsProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php new file mode 100644 index 00000000..e421bf42 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetInstances.php @@ -0,0 +1,190 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetInstances = $computeService->targetInstances; + * + */ +class Google_Service_Compute_Resource_TargetInstances extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of target instances. + * (targetInstances.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetInstanceAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList"); + } + /** + * Deletes the specified TargetInstance resource. (targetInstances.delete) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param string $targetInstance Name of the TargetInstance resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $targetInstance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified TargetInstance resource. Get a list of available target + * instances by making a list() request. (targetInstances.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param string $targetInstance Name of the TargetInstance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetInstance + */ + public function get($project, $zone, $targetInstance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetInstance"); + } + /** + * Creates a TargetInstance resource in the specified project and zone using the + * data included in the request. (targetInstances.insert) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param Google_Service_Compute_TargetInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of TargetInstance resources available to the specified + * project and zone. (targetInstances.listTargetInstances) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetInstanceList + */ + public function listTargetInstances($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php new file mode 100644 index 00000000..7d462298 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetPools.php @@ -0,0 +1,293 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetPools = $computeService->targetPools; + * + */ +class Google_Service_Compute_Resource_TargetPools extends Google_Service_Resource +{ + /** + * Adds health check URLs to a target pool. (targetPools.addHealthCheck) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the target pool to add a health check to. + * @param Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation"); + } + /** + * Adds an instance to a target pool. (targetPools.addInstance) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to add instances + * to. + * @param Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addInstance', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves an aggregated list of target pools. (targetPools.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetPoolAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList"); + } + /** + * Deletes the specified target pool. (targetPools.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $targetPool, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified target pool. Get a list of available target pools by + * making a list() request. (targetPools.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetPool + */ + public function get($project, $region, $targetPool, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetPool"); + } + /** + * Gets the most recent health check results for each IP for the instance that + * is referenced by the given target pool. (targetPools.getHealth) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which the + * queried instance belongs. + * @param Google_Service_Compute_InstanceReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetPoolInstanceHealth + */ + public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth"); + } + /** + * Creates a target pool in the specified project and region using the data + * included in the request. (targetPools.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param Google_Service_Compute_TargetPool $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of target pools available to the specified project and + * region. (targetPools.listTargetPools) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetPoolList + */ + public function listTargetPools($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList"); + } + /** + * Removes health check URL from a target pool. (targetPools.removeHealthCheck) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $targetPool Name of the target pool to remove health checks + * from. + * @param Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation"); + } + /** + * Removes instance URL from a target pool. (targetPools.removeInstance) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to remove instances + * from. + * @param Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes a backup target pool's configurations. (targetPools.setBackup) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to set a backup + * pool for. + * @param Google_Service_Compute_TargetReference $postBody + * @param array $optParams Optional parameters. + * + * @opt_param float failoverRatio New failoverRatio value for the target pool. + * @return Google_Service_Compute_Operation + */ + public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setBackup', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php new file mode 100644 index 00000000..b6e2458d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetSslProxies.php @@ -0,0 +1,180 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetSslProxies = $computeService->targetSslProxies; + * + */ +class Google_Service_Compute_Resource_TargetSslProxies extends Google_Service_Resource +{ + /** + * Deletes the specified TargetSslProxy resource. (targetSslProxies.delete) + * + * @param string $project Project ID for this request. + * @param string $targetSslProxy Name of the TargetSslProxy resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $targetSslProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified TargetSslProxy resource. Get a list of available target + * SSL proxies by making a list() request. (targetSslProxies.get) + * + * @param string $project Project ID for this request. + * @param string $targetSslProxy Name of the TargetSslProxy resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetSslProxy + */ + public function get($project, $targetSslProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetSslProxy"); + } + /** + * Creates a TargetSslProxy resource in the specified project using the data + * included in the request. (targetSslProxies.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_TargetSslProxy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_TargetSslProxy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of TargetSslProxy resources available to the specified + * project. (targetSslProxies.listTargetSslProxies) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetSslProxyList + */ + public function listTargetSslProxies($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetSslProxyList"); + } + /** + * Changes the BackendService for TargetSslProxy. + * (targetSslProxies.setBackendService) + * + * @param string $project Project ID for this request. + * @param string $targetSslProxy Name of the TargetSslProxy resource whose + * BackendService resource is to be set. + * @param Google_Service_Compute_TargetSslProxiesSetBackendServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setBackendService($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetBackendServiceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setBackendService', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes the ProxyHeaderType for TargetSslProxy. + * (targetSslProxies.setProxyHeader) + * + * @param string $project Project ID for this request. + * @param string $targetSslProxy Name of the TargetSslProxy resource whose + * ProxyHeader is to be set. + * @param Google_Service_Compute_TargetSslProxiesSetProxyHeaderRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setProxyHeader($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetProxyHeaderRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setProxyHeader', array($params), "Google_Service_Compute_Operation"); + } + /** + * Changes SslCertificates for TargetSslProxy. + * (targetSslProxies.setSslCertificates) + * + * @param string $project Project ID for this request. + * @param string $targetSslProxy Name of the TargetSslProxy resource whose + * SslCertificate resource is to be set. + * @param Google_Service_Compute_TargetSslProxiesSetSslCertificatesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setSslCertificates($project, $targetSslProxy, Google_Service_Compute_TargetSslProxiesSetSslCertificatesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetSslProxy' => $targetSslProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setSslCertificates', array($params), "Google_Service_Compute_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php new file mode 100644 index 00000000..a4dc75ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/TargetVpnGateways.php @@ -0,0 +1,190 @@ + + * $computeService = new Google_Service_Compute(...); + * $targetVpnGateways = $computeService->targetVpnGateways; + * + */ +class Google_Service_Compute_Resource_TargetVpnGateways extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of target VPN gateways. + * (targetVpnGateways.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetVpnGatewayAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList"); + } + /** + * Deletes the specified target VPN gateway. (targetVpnGateways.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $targetVpnGateway Name of the target VPN gateway to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $targetVpnGateway, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified target VPN gateway. Get a list of available target VPN + * gateways by making a list() request. (targetVpnGateways.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $targetVpnGateway Name of the target VPN gateway to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetVpnGateway + */ + public function get($project, $region, $targetVpnGateway, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway"); + } + /** + * Creates a target VPN gateway in the specified project and region using the + * data included in the request. (targetVpnGateways.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param Google_Service_Compute_TargetVpnGateway $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of target VPN gateways available to the specified project + * and region. (targetVpnGateways.listTargetVpnGateways) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_TargetVpnGatewayList + */ + public function listTargetVpnGateways($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php new file mode 100644 index 00000000..3a3460d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/UrlMaps.php @@ -0,0 +1,194 @@ + + * $computeService = new Google_Service_Compute(...); + * $urlMaps = $computeService->urlMaps; + * + */ +class Google_Service_Compute_Resource_UrlMaps extends Google_Service_Resource +{ + /** + * Deletes the specified UrlMap resource. (urlMaps.delete) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $urlMap, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified UrlMap resource. Get a list of available URL maps by + * making a list() request. (urlMaps.get) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_UrlMap + */ + public function get($project, $urlMap, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_UrlMap"); + } + /** + * Creates a UrlMap resource in the specified project using the data included in + * the request. (urlMaps.insert) + * + * @param string $project Project ID for this request. + * @param Google_Service_Compute_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Initiates a cache invalidation operation, invalidating the specified path, + * scoped to the specified UrlMap. (urlMaps.invalidateCache) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap scoping this request. + * @param Google_Service_Compute_CacheInvalidationRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function invalidateCache($project, $urlMap, Google_Service_Compute_CacheInvalidationRule $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('invalidateCache', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves the list of UrlMap resources available to the specified project. + * (urlMaps.listUrlMaps) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_UrlMapList + */ + public function listUrlMaps($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_UrlMapList"); + } + /** + * Updates the specified UrlMap resource with the data included in the request. + * This method supports patch semantics. (urlMaps.patch) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap resource to update. + * @param Google_Service_Compute_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + /** + * Updates the specified UrlMap resource with the data included in the request. + * (urlMaps.update) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap resource to update. + * @param Google_Service_Compute_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } + /** + * Runs static validation for the UrlMap. In particular, the tests of the + * provided UrlMap will be run. Calling this method does NOT create the UrlMap. + * (urlMaps.validate) + * + * @param string $project Project ID for this request. + * @param string $urlMap Name of the UrlMap resource to be validated as. + * @param Google_Service_Compute_UrlMapsValidateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_UrlMapsValidateResponse + */ + public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php new file mode 100644 index 00000000..4d9fd312 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/VpnTunnels.php @@ -0,0 +1,189 @@ + + * $computeService = new Google_Service_Compute(...); + * $vpnTunnels = $computeService->vpnTunnels; + * + */ +class Google_Service_Compute_Resource_VpnTunnels extends Google_Service_Resource +{ + /** + * Retrieves an aggregated list of VPN tunnels. (vpnTunnels.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_VpnTunnelAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_VpnTunnelAggregatedList"); + } + /** + * Deletes the specified VpnTunnel resource. (vpnTunnels.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $vpnTunnel Name of the VpnTunnel resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $vpnTunnel, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + /** + * Returns the specified VpnTunnel resource. Get a list of available VPN tunnels + * by making a list() request. (vpnTunnels.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param string $vpnTunnel Name of the VpnTunnel resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_VpnTunnel + */ + public function get($project, $region, $vpnTunnel, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_VpnTunnel"); + } + /** + * Creates a VpnTunnel resource in the specified project and region using the + * data included in the request. (vpnTunnels.insert) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param Google_Service_Compute_VpnTunnel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_VpnTunnel $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of VpnTunnel resources contained in the specified project + * and region. (vpnTunnels.listVpnTunnels) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_VpnTunnelList + */ + public function listVpnTunnels($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_VpnTunnelList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php new file mode 100644 index 00000000..2c7117ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/ZoneOperations.php @@ -0,0 +1,117 @@ + + * $computeService = new Google_Service_Compute(...); + * $zoneOperations = $computeService->zoneOperations; + * + */ +class Google_Service_Compute_Resource_ZoneOperations extends Google_Service_Resource +{ + /** + * Deletes the specified zone-specific Operations resource. + * (zoneOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the specified zone-specific Operations resource. + * (zoneOperations.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + /** + * Retrieves a list of Operation resources contained within the specified zone. + * (zoneOperations.listZoneOperations) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php new file mode 100644 index 00000000..7cb7a9ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Resource/Zones.php @@ -0,0 +1,100 @@ + + * $computeService = new Google_Service_Compute(...); + * $zones = $computeService->zones; + * + */ +class Google_Service_Compute_Resource_Zones extends Google_Service_Resource +{ + /** + * Returns the specified Zone resource. Get a list of available zones by making + * a list() request. (zones.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Zone + */ + public function get($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Zone"); + } + /** + * Retrieves the list of Zone resources available to the specified project. + * (zones.listZones) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_Compute_ZoneList + */ + public function listZones($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ZoneList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php new file mode 100644 index 00000000..aff90a0b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ResourceGroupReference.php @@ -0,0 +1,30 @@ +group = $group; + } + public function getGroup() + { + return $this->group; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php new file mode 100644 index 00000000..115d95be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Route.php @@ -0,0 +1,167 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDestRange($destRange) + { + $this->destRange = $destRange; + } + public function getDestRange() + { + return $this->destRange; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNextHopGateway($nextHopGateway) + { + $this->nextHopGateway = $nextHopGateway; + } + public function getNextHopGateway() + { + return $this->nextHopGateway; + } + public function setNextHopInstance($nextHopInstance) + { + $this->nextHopInstance = $nextHopInstance; + } + public function getNextHopInstance() + { + return $this->nextHopInstance; + } + public function setNextHopIp($nextHopIp) + { + $this->nextHopIp = $nextHopIp; + } + public function getNextHopIp() + { + return $this->nextHopIp; + } + public function setNextHopNetwork($nextHopNetwork) + { + $this->nextHopNetwork = $nextHopNetwork; + } + public function getNextHopNetwork() + { + return $this->nextHopNetwork; + } + public function setNextHopVpnTunnel($nextHopVpnTunnel) + { + $this->nextHopVpnTunnel = $nextHopVpnTunnel; + } + public function getNextHopVpnTunnel() + { + return $this->nextHopVpnTunnel; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php new file mode 100644 index 00000000..8587856c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php new file mode 100644 index 00000000..d41e2c71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php new file mode 100644 index 00000000..19826730 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouteWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php new file mode 100644 index 00000000..abcb67d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Router.php @@ -0,0 +1,124 @@ +bgp = $bgp; + } + public function getBgp() + { + return $this->bgp; + } + public function setBgpPeers($bgpPeers) + { + $this->bgpPeers = $bgpPeers; + } + public function getBgpPeers() + { + return $this->bgpPeers; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInterfaces($interfaces) + { + $this->interfaces = $interfaces; + } + public function getInterfaces() + { + return $this->interfaces; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php new file mode 100644 index 00000000..fb5d0d93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php new file mode 100644 index 00000000..c7e25f65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgp.php @@ -0,0 +1,30 @@ +asn = $asn; + } + public function getAsn() + { + return $this->asn; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php new file mode 100644 index 00000000..a65fb824 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterBgpPeer.php @@ -0,0 +1,75 @@ +advertisedRoutePriority = $advertisedRoutePriority; + } + public function getAdvertisedRoutePriority() + { + return $this->advertisedRoutePriority; + } + public function setInterfaceName($interfaceName) + { + $this->interfaceName = $interfaceName; + } + public function getInterfaceName() + { + return $this->interfaceName; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPeerAsn($peerAsn) + { + $this->peerAsn = $peerAsn; + } + public function getPeerAsn() + { + return $this->peerAsn; + } + public function setPeerIpAddress($peerIpAddress) + { + $this->peerIpAddress = $peerIpAddress; + } + public function getPeerIpAddress() + { + return $this->peerIpAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php new file mode 100644 index 00000000..af0bc908 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterInterface.php @@ -0,0 +1,48 @@ +ipRange = $ipRange; + } + public function getIpRange() + { + return $this->ipRange; + } + public function setLinkedVpnTunnel($linkedVpnTunnel) + { + $this->linkedVpnTunnel = $linkedVpnTunnel; + } + public function getLinkedVpnTunnel() + { + return $this->linkedVpnTunnel; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php new file mode 100644 index 00000000..146168d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php new file mode 100644 index 00000000..b737bc96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatus.php @@ -0,0 +1,51 @@ +bestRoutes = $bestRoutes; + } + public function getBestRoutes() + { + return $this->bestRoutes; + } + public function setBgpPeerStatus($bgpPeerStatus) + { + $this->bgpPeerStatus = $bgpPeerStatus; + } + public function getBgpPeerStatus() + { + return $this->bgpPeerStatus; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php new file mode 100644 index 00000000..bc657b2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusBgpPeerStatus.php @@ -0,0 +1,113 @@ +advertisedRoutes = $advertisedRoutes; + } + public function getAdvertisedRoutes() + { + return $this->advertisedRoutes; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setLinkedVpnTunnel($linkedVpnTunnel) + { + $this->linkedVpnTunnel = $linkedVpnTunnel; + } + public function getLinkedVpnTunnel() + { + return $this->linkedVpnTunnel; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumLearnedRoutes($numLearnedRoutes) + { + $this->numLearnedRoutes = $numLearnedRoutes; + } + public function getNumLearnedRoutes() + { + return $this->numLearnedRoutes; + } + public function setPeerIpAddress($peerIpAddress) + { + $this->peerIpAddress = $peerIpAddress; + } + public function getPeerIpAddress() + { + return $this->peerIpAddress; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUptime($uptime) + { + $this->uptime = $uptime; + } + public function getUptime() + { + return $this->uptime; + } + public function setUptimeSeconds($uptimeSeconds) + { + $this->uptimeSeconds = $uptimeSeconds; + } + public function getUptimeSeconds() + { + return $this->uptimeSeconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php new file mode 100644 index 00000000..a78812e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RouterStatusResponse.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResult(Google_Service_Compute_RouterStatus $result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php new file mode 100644 index 00000000..79372e6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersPreviewResponse.php @@ -0,0 +1,31 @@ +resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php new file mode 100644 index 00000000..7f321f15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedList.php @@ -0,0 +1,42 @@ +routers = $routers; + } + public function getRouters() + { + return $this->routers; + } + public function setWarning(Google_Service_Compute_RoutersScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php new file mode 100644 index 00000000..0aa8c3ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php new file mode 100644 index 00000000..d4c75d1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/RoutersScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php new file mode 100644 index 00000000..8ba4fdef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SSLHealthCheck.php @@ -0,0 +1,66 @@ +port = $port; + } + public function getPort() + { + return $this->port; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } + public function setProxyHeader($proxyHeader) + { + $this->proxyHeader = $proxyHeader; + } + public function getProxyHeader() + { + return $this->proxyHeader; + } + public function setRequest($request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php new file mode 100644 index 00000000..cebeebb1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Scheduling.php @@ -0,0 +1,48 @@ +automaticRestart = $automaticRestart; + } + public function getAutomaticRestart() + { + return $this->automaticRestart; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setPreemptible($preemptible) + { + $this->preemptible = $preemptible; + } + public function getPreemptible() + { + return $this->preemptible; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php new file mode 100644 index 00000000..79a96a7d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SerialPortOutput.php @@ -0,0 +1,66 @@ +contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNext($next) + { + $this->next = $next; + } + public function getNext() + { + return $this->next; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php new file mode 100644 index 00000000..c3f5df0b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ServiceAccount.php @@ -0,0 +1,40 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php new file mode 100644 index 00000000..60616e74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Snapshot.php @@ -0,0 +1,159 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSnapshotEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $snapshotEncryptionKey) + { + $this->snapshotEncryptionKey = $snapshotEncryptionKey; + } + public function getSnapshotEncryptionKey() + { + return $this->snapshotEncryptionKey; + } + public function setSourceDisk($sourceDisk) + { + $this->sourceDisk = $sourceDisk; + } + public function getSourceDisk() + { + return $this->sourceDisk; + } + public function setSourceDiskEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceDiskEncryptionKey) + { + $this->sourceDiskEncryptionKey = $sourceDiskEncryptionKey; + } + public function getSourceDiskEncryptionKey() + { + return $this->sourceDiskEncryptionKey; + } + public function setSourceDiskId($sourceDiskId) + { + $this->sourceDiskId = $sourceDiskId; + } + public function getSourceDiskId() + { + return $this->sourceDiskId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStorageBytes($storageBytes) + { + $this->storageBytes = $storageBytes; + } + public function getStorageBytes() + { + return $this->storageBytes; + } + public function setStorageBytesStatus($storageBytesStatus) + { + $this->storageBytesStatus = $storageBytesStatus; + } + public function getStorageBytesStatus() + { + return $this->storageBytesStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php new file mode 100644 index 00000000..0cce5fc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SnapshotList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php new file mode 100644 index 00000000..e1b3425e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificate.php @@ -0,0 +1,93 @@ +certificate = $certificate; + } + public function getCertificate() + { + return $this->certificate; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrivateKey($privateKey) + { + $this->privateKey = $privateKey; + } + public function getPrivateKey() + { + return $this->privateKey; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php new file mode 100644 index 00000000..14eeaf12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SslCertificateList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php new file mode 100644 index 00000000..a9253ed4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Subnetwork.php @@ -0,0 +1,111 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGatewayAddress($gatewayAddress) + { + $this->gatewayAddress = $gatewayAddress; + } + public function getGatewayAddress() + { + return $this->gatewayAddress; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIpCidrRange($ipCidrRange) + { + $this->ipCidrRange = $ipCidrRange; + } + public function getIpCidrRange() + { + return $this->ipCidrRange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php new file mode 100644 index 00000000..454b55a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php new file mode 100644 index 00000000..5dcb4cfe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworkList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php new file mode 100644 index 00000000..d8bf7116 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksExpandIpCidrRangeRequest.php @@ -0,0 +1,30 @@ +ipCidrRange = $ipCidrRange; + } + public function getIpCidrRange() + { + return $this->ipCidrRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php new file mode 100644 index 00000000..5ef2e8e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedList.php @@ -0,0 +1,42 @@ +subnetworks = $subnetworks; + } + public function getSubnetworks() + { + return $this->subnetworks; + } + public function setWarning(Google_Service_Compute_SubnetworksScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php new file mode 100644 index 00000000..298eebb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php new file mode 100644 index 00000000..f83c966b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/SubnetworksScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php new file mode 100644 index 00000000..0584c7ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TCPHealthCheck.php @@ -0,0 +1,66 @@ +port = $port; + } + public function getPort() + { + return $this->port; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } + public function setProxyHeader($proxyHeader) + { + $this->proxyHeader = $proxyHeader; + } + public function getProxyHeader() + { + return $this->proxyHeader; + } + public function setRequest($request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php new file mode 100644 index 00000000..84321b75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Tags.php @@ -0,0 +1,40 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php new file mode 100644 index 00000000..afdfe85b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxy.php @@ -0,0 +1,84 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUrlMap($urlMap) + { + $this->urlMap = $urlMap; + } + public function getUrlMap() + { + return $this->urlMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php new file mode 100644 index 00000000..d58d9dd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpProxyList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php new file mode 100644 index 00000000..73ef2fe9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxiesSetSslCertificatesRequest.php @@ -0,0 +1,31 @@ +sslCertificates = $sslCertificates; + } + public function getSslCertificates() + { + return $this->sslCertificates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php new file mode 100644 index 00000000..a945b6b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxy.php @@ -0,0 +1,94 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSslCertificates($sslCertificates) + { + $this->sslCertificates = $sslCertificates; + } + public function getSslCertificates() + { + return $this->sslCertificates; + } + public function setUrlMap($urlMap) + { + $this->urlMap = $urlMap; + } + public function getUrlMap() + { + return $this->urlMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php new file mode 100644 index 00000000..414156e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetHttpsProxyList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php new file mode 100644 index 00000000..efc5d2b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstance.php @@ -0,0 +1,102 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatPolicy($natPolicy) + { + $this->natPolicy = $natPolicy; + } + public function getNatPolicy() + { + return $this->natPolicy; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php new file mode 100644 index 00000000..fda5e3c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php new file mode 100644 index 00000000..8419c6a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstanceList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php new file mode 100644 index 00000000..fba4e82b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedList.php @@ -0,0 +1,42 @@ +targetInstances = $targetInstances; + } + public function getTargetInstances() + { + return $this->targetInstances; + } + public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php new file mode 100644 index 00000000..15538355 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php new file mode 100644 index 00000000..fa2252c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetInstancesScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php new file mode 100644 index 00000000..1e714d32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPool.php @@ -0,0 +1,130 @@ +backupPool = $backupPool; + } + public function getBackupPool() + { + return $this->backupPool; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFailoverRatio($failoverRatio) + { + $this->failoverRatio = $failoverRatio; + } + public function getFailoverRatio() + { + return $this->failoverRatio; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSessionAffinity($sessionAffinity) + { + $this->sessionAffinity = $sessionAffinity; + } + public function getSessionAffinity() + { + return $this->sessionAffinity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php new file mode 100644 index 00000000..d3d8199f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php new file mode 100644 index 00000000..2c452132 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolInstanceHealth.php @@ -0,0 +1,41 @@ +healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php new file mode 100644 index 00000000..9ef1a0bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php new file mode 100644 index 00000000..f4a05e03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddHealthCheckRequest.php @@ -0,0 +1,32 @@ +healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php new file mode 100644 index 00000000..97005f79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsAddInstanceRequest.php @@ -0,0 +1,32 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php new file mode 100644 index 00000000..964f8fa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveHealthCheckRequest.php @@ -0,0 +1,32 @@ +healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php new file mode 100644 index 00000000..ab2b5713 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsRemoveInstanceRequest.php @@ -0,0 +1,32 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php new file mode 100644 index 00000000..b444054f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedList.php @@ -0,0 +1,42 @@ +targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php new file mode 100644 index 00000000..d15ea6eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php new file mode 100644 index 00000000..907436bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetPoolsScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php new file mode 100644 index 00000000..d07481b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetReference.php @@ -0,0 +1,30 @@ +target = $target; + } + public function getTarget() + { + return $this->target; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php new file mode 100644 index 00000000..b0e7a3f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetBackendServiceRequest.php @@ -0,0 +1,30 @@ +service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php new file mode 100644 index 00000000..fd4336d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetProxyHeaderRequest.php @@ -0,0 +1,30 @@ +proxyHeader = $proxyHeader; + } + public function getProxyHeader() + { + return $this->proxyHeader; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php new file mode 100644 index 00000000..6bb01ee4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxiesSetSslCertificatesRequest.php @@ -0,0 +1,31 @@ +sslCertificates = $sslCertificates; + } + public function getSslCertificates() + { + return $this->sslCertificates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php new file mode 100644 index 00000000..f61f8bc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxy.php @@ -0,0 +1,103 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProxyHeader($proxyHeader) + { + $this->proxyHeader = $proxyHeader; + } + public function getProxyHeader() + { + return $this->proxyHeader; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } + public function setSslCertificates($sslCertificates) + { + $this->sslCertificates = $sslCertificates; + } + public function getSslCertificates() + { + return $this->sslCertificates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php new file mode 100644 index 00000000..1cbd310d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetSslProxyList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php new file mode 100644 index 00000000..08a13f7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGateway.php @@ -0,0 +1,121 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setForwardingRules($forwardingRules) + { + $this->forwardingRules = $forwardingRules; + } + public function getForwardingRules() + { + return $this->forwardingRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTunnels($tunnels) + { + $this->tunnels = $tunnels; + } + public function getTunnels() + { + return $this->tunnels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php new file mode 100644 index 00000000..e85fc8b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php new file mode 100644 index 00000000..d81e2c1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewayList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php new file mode 100644 index 00000000..b09c456d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedList.php @@ -0,0 +1,42 @@ +targetVpnGateways = $targetVpnGateways; + } + public function getTargetVpnGateways() + { + return $this->targetVpnGateways; + } + public function setWarning(Google_Service_Compute_TargetVpnGatewaysScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php new file mode 100644 index 00000000..048886fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php new file mode 100644 index 00000000..fc7b4d7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TargetVpnGatewaysScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php new file mode 100644 index 00000000..266d2b63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/TestFailure.php @@ -0,0 +1,57 @@ +actualService = $actualService; + } + public function getActualService() + { + return $this->actualService; + } + public function setExpectedService($expectedService) + { + $this->expectedService = $expectedService; + } + public function getExpectedService() + { + return $this->expectedService; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php new file mode 100644 index 00000000..9ab743ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMap.php @@ -0,0 +1,124 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDefaultService($defaultService) + { + $this->defaultService = $defaultService; + } + public function getDefaultService() + { + return $this->defaultService; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setHostRules($hostRules) + { + $this->hostRules = $hostRules; + } + public function getHostRules() + { + return $this->hostRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPathMatchers($pathMatchers) + { + $this->pathMatchers = $pathMatchers; + } + public function getPathMatchers() + { + return $this->pathMatchers; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTests($tests) + { + $this->tests = $tests; + } + public function getTests() + { + return $this->tests; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php new file mode 100644 index 00000000..c3e90e18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php new file mode 100644 index 00000000..99f5e30a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapReference.php @@ -0,0 +1,30 @@ +urlMap = $urlMap; + } + public function getUrlMap() + { + return $this->urlMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php new file mode 100644 index 00000000..2d2479e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapTest.php @@ -0,0 +1,57 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php new file mode 100644 index 00000000..6a0b5d34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapValidationResult.php @@ -0,0 +1,59 @@ +loadErrors = $loadErrors; + } + public function getLoadErrors() + { + return $this->loadErrors; + } + public function setLoadSucceeded($loadSucceeded) + { + $this->loadSucceeded = $loadSucceeded; + } + public function getLoadSucceeded() + { + return $this->loadSucceeded; + } + public function setTestFailures($testFailures) + { + $this->testFailures = $testFailures; + } + public function getTestFailures() + { + return $this->testFailures; + } + public function setTestPassed($testPassed) + { + $this->testPassed = $testPassed; + } + public function getTestPassed() + { + return $this->testPassed; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php new file mode 100644 index 00000000..5e9b6084 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateRequest.php @@ -0,0 +1,31 @@ +resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php new file mode 100644 index 00000000..8da23749 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UrlMapsValidateResponse.php @@ -0,0 +1,31 @@ +result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php new file mode 100644 index 00000000..13c7d580 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/UsageExportLocation.php @@ -0,0 +1,39 @@ +bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } + public function setReportNamePrefix($reportNamePrefix) + { + $this->reportNamePrefix = $reportNamePrefix; + } + public function getReportNamePrefix() + { + return $this->reportNamePrefix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php new file mode 100644 index 00000000..6ac775bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnel.php @@ -0,0 +1,175 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDetailedStatus($detailedStatus) + { + $this->detailedStatus = $detailedStatus; + } + public function getDetailedStatus() + { + return $this->detailedStatus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIkeVersion($ikeVersion) + { + $this->ikeVersion = $ikeVersion; + } + public function getIkeVersion() + { + return $this->ikeVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalTrafficSelector($localTrafficSelector) + { + $this->localTrafficSelector = $localTrafficSelector; + } + public function getLocalTrafficSelector() + { + return $this->localTrafficSelector; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPeerIp($peerIp) + { + $this->peerIp = $peerIp; + } + public function getPeerIp() + { + return $this->peerIp; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setRemoteTrafficSelector($remoteTrafficSelector) + { + $this->remoteTrafficSelector = $remoteTrafficSelector; + } + public function getRemoteTrafficSelector() + { + return $this->remoteTrafficSelector; + } + public function setRouter($router) + { + $this->router = $router; + } + public function getRouter() + { + return $this->router; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSharedSecret($sharedSecret) + { + $this->sharedSecret = $sharedSecret; + } + public function getSharedSecret() + { + return $this->sharedSecret; + } + public function setSharedSecretHash($sharedSecretHash) + { + $this->sharedSecretHash = $sharedSecretHash; + } + public function getSharedSecretHash() + { + return $this->sharedSecretHash; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTargetVpnGateway($targetVpnGateway) + { + $this->targetVpnGateway = $targetVpnGateway; + } + public function getTargetVpnGateway() + { + return $this->targetVpnGateway; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php new file mode 100644 index 00000000..999c68e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelAggregatedList.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php new file mode 100644 index 00000000..ce35247f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php new file mode 100644 index 00000000..2f961f7a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedList.php @@ -0,0 +1,42 @@ +vpnTunnels = $vpnTunnels; + } + public function getVpnTunnels() + { + return $this->vpnTunnels; + } + public function setWarning(Google_Service_Compute_VpnTunnelsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php new file mode 100644 index 00000000..aaae80a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarning.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php new file mode 100644 index 00000000..bee2d992 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/VpnTunnelsScopedListWarningData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php new file mode 100644 index 00000000..744e13ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/Zone.php @@ -0,0 +1,103 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php new file mode 100644 index 00000000..0cc44199 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Compute/ZoneList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php new file mode 100644 index 00000000..bcf53834 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys.php @@ -0,0 +1,210 @@ + + * Creates and conducts surveys, lists the surveys that an authenticated user + * owns, and retrieves survey results and information about specified surveys.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ConsumerSurveys extends Google_Service +{ + /** View and edit your surveys and results. */ + const CONSUMERSURVEYS = + "https://www.googleapis.com/auth/consumersurveys"; + /** View the results for your surveys. */ + const CONSUMERSURVEYS_READONLY = + "https://www.googleapis.com/auth/consumersurveys.readonly"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $mobileapppanels; + public $results; + public $surveys; + + /** + * Constructs the internal representation of the ConsumerSurveys service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'consumersurveys/v2/'; + $this->version = 'v2'; + $this->serviceName = 'consumersurveys'; + + $this->mobileapppanels = new Google_Service_ConsumerSurveys_Resource_Mobileapppanels( + $this, + $this->serviceName, + 'mobileapppanels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'mobileAppPanels/{panelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'panelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'mobileAppPanels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'mobileAppPanels/{panelId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'panelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->results = new Google_Service_ConsumerSurveys_Resource_Results( + $this, + $this->serviceName, + 'results', + array( + 'methods' => array( + 'get' => array( + 'path' => 'surveys/{surveyUrlId}/results', + 'httpMethod' => 'GET', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->surveys = new Google_Service_ConsumerSurveys_Resource_Surveys( + $this, + $this->serviceName, + 'surveys', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'surveys', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'surveys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'start' => array( + 'path' => 'surveys/{resourceId}/start', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => 'surveys/{resourceId}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php new file mode 100644 index 00000000..bad9f171 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/FieldMask.php @@ -0,0 +1,41 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php new file mode 100644 index 00000000..5e99b768 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanel.php @@ -0,0 +1,76 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setIsPublicPanel($isPublicPanel) + { + $this->isPublicPanel = $isPublicPanel; + } + public function getIsPublicPanel() + { + return $this->isPublicPanel; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setMobileAppPanelId($mobileAppPanelId) + { + $this->mobileAppPanelId = $mobileAppPanelId; + } + public function getMobileAppPanelId() + { + return $this->mobileAppPanelId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php new file mode 100644 index 00000000..3bbb595e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/MobileAppPanelsListResponse.php @@ -0,0 +1,61 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php new file mode 100644 index 00000000..1e3c526a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/PageInfo.php @@ -0,0 +1,48 @@ +resultPerPage = $resultPerPage; + } + public function getResultPerPage() + { + return $this->resultPerPage; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php new file mode 100644 index 00000000..bc6e07f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Mobileapppanels.php @@ -0,0 +1,74 @@ + + * $consumersurveysService = new Google_Service_ConsumerSurveys(...); + * $mobileapppanels = $consumersurveysService->mobileapppanels; + * + */ +class Google_Service_ConsumerSurveys_Resource_Mobileapppanels extends Google_Service_Resource +{ + /** + * Retrieves a MobileAppPanel that is available to the authenticated user. + * (mobileapppanels.get) + * + * @param string $panelId External URL ID for the panel. + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_MobileAppPanel + */ + public function get($panelId, $optParams = array()) + { + $params = array('panelId' => $panelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel"); + } + /** + * Lists the MobileAppPanels available to the authenticated user. + * (mobileapppanels.listMobileapppanels) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_ConsumerSurveys_MobileAppPanelsListResponse + */ + public function listMobileapppanels($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ConsumerSurveys_MobileAppPanelsListResponse"); + } + /** + * Updates a MobileAppPanel. Currently the only property that can be updated is + * the owners property. (mobileapppanels.update) + * + * @param string $panelId External URL ID for the panel. + * @param Google_Service_ConsumerSurveys_MobileAppPanel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_MobileAppPanel + */ + public function update($panelId, Google_Service_ConsumerSurveys_MobileAppPanel $postBody, $optParams = array()) + { + $params = array('panelId' => $panelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php new file mode 100644 index 00000000..2060052f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Results.php @@ -0,0 +1,43 @@ + + * $consumersurveysService = new Google_Service_ConsumerSurveys(...); + * $results = $consumersurveysService->results; + * + */ +class Google_Service_ConsumerSurveys_Resource_Results extends Google_Service_Resource +{ + /** + * Retrieves any survey results that have been produced so far. Results are + * formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. (results.get) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_SurveyResults + */ + public function get($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ConsumerSurveys_SurveyResults"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php new file mode 100644 index 00000000..2a14092c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Resource/Surveys.php @@ -0,0 +1,125 @@ + + * $consumersurveysService = new Google_Service_ConsumerSurveys(...); + * $surveys = $consumersurveysService->surveys; + * + */ +class Google_Service_ConsumerSurveys_Resource_Surveys extends Google_Service_Resource +{ + /** + * Removes a survey from view in all user GET requests. (surveys.delete) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_SurveysDeleteResponse + */ + public function delete($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_ConsumerSurveys_SurveysDeleteResponse"); + } + /** + * Retrieves information about the specified survey. (surveys.get) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_Survey + */ + public function get($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ConsumerSurveys_Survey"); + } + /** + * Creates a survey. (surveys.insert) + * + * @param Google_Service_ConsumerSurveys_Survey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_Survey + */ + public function insert(Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ConsumerSurveys_Survey"); + } + /** + * Lists the surveys owned by the authenticated user. (surveys.listSurveys) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_ConsumerSurveys_SurveysListResponse + */ + public function listSurveys($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ConsumerSurveys_SurveysListResponse"); + } + /** + * Begins running a survey. (surveys.start) + * + * @param string $resourceId + * @param Google_Service_ConsumerSurveys_SurveysStartRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_SurveysStartResponse + */ + public function start($resourceId, Google_Service_ConsumerSurveys_SurveysStartRequest $postBody, $optParams = array()) + { + $params = array('resourceId' => $resourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_ConsumerSurveys_SurveysStartResponse"); + } + /** + * Stops a running survey. (surveys.stop) + * + * @param string $resourceId + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_SurveysStopResponse + */ + public function stop($resourceId, $optParams = array()) + { + $params = array('resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_ConsumerSurveys_SurveysStopResponse"); + } + /** + * Updates a survey. Currently the only property that can be updated is the + * owners property. (surveys.update) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param Google_Service_ConsumerSurveys_Survey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ConsumerSurveys_Survey + */ + public function update($surveyUrlId, Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ConsumerSurveys_Survey"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php new file mode 100644 index 00000000..6016c193 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsGetRequest.php @@ -0,0 +1,31 @@ +resultMask = $resultMask; + } + public function getResultMask() + { + return $this->resultMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php new file mode 100644 index 00000000..333d934e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/ResultsMask.php @@ -0,0 +1,41 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php new file mode 100644 index 00000000..7b24d69e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/Survey.php @@ -0,0 +1,125 @@ +audience = $audience; + } + public function getAudience() + { + return $this->audience; + } + public function setCost(Google_Service_ConsumerSurveys_SurveyCost $cost) + { + $this->cost = $cost; + } + public function getCost() + { + return $this->cost; + } + public function setCustomerData($customerData) + { + $this->customerData = $customerData; + } + public function getCustomerData() + { + return $this->customerData; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setQuestions($questions) + { + $this->questions = $questions; + } + public function getQuestions() + { + return $this->questions; + } + public function setRejectionReason(Google_Service_ConsumerSurveys_SurveyRejection $rejectionReason) + { + $this->rejectionReason = $rejectionReason; + } + public function getRejectionReason() + { + return $this->rejectionReason; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSurveyUrlId($surveyUrlId) + { + $this->surveyUrlId = $surveyUrlId; + } + public function getSurveyUrlId() + { + return $this->surveyUrlId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setWantedResponseCount($wantedResponseCount) + { + $this->wantedResponseCount = $wantedResponseCount; + } + public function getWantedResponseCount() + { + return $this->wantedResponseCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php new file mode 100644 index 00000000..9ae7e0fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyAudience.php @@ -0,0 +1,85 @@ +ages = $ages; + } + public function getAges() + { + return $this->ages; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCountrySubdivision($countrySubdivision) + { + $this->countrySubdivision = $countrySubdivision; + } + public function getCountrySubdivision() + { + return $this->countrySubdivision; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setMobileAppPanelId($mobileAppPanelId) + { + $this->mobileAppPanelId = $mobileAppPanelId; + } + public function getMobileAppPanelId() + { + return $this->mobileAppPanelId; + } + public function setPopulationSource($populationSource) + { + $this->populationSource = $populationSource; + } + public function getPopulationSource() + { + return $this->populationSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php new file mode 100644 index 00000000..686a8ace --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyCost.php @@ -0,0 +1,57 @@ +costPerResponseNanos = $costPerResponseNanos; + } + public function getCostPerResponseNanos() + { + return $this->costPerResponseNanos; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setMaxCostPerResponseNanos($maxCostPerResponseNanos) + { + $this->maxCostPerResponseNanos = $maxCostPerResponseNanos; + } + public function getMaxCostPerResponseNanos() + { + return $this->maxCostPerResponseNanos; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php new file mode 100644 index 00000000..976ac510 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestion.php @@ -0,0 +1,185 @@ +answerOrder = $answerOrder; + } + public function getAnswerOrder() + { + return $this->answerOrder; + } + public function setAnswers($answers) + { + $this->answers = $answers; + } + public function getAnswers() + { + return $this->answers; + } + public function setHasOther($hasOther) + { + $this->hasOther = $hasOther; + } + public function getHasOther() + { + return $this->hasOther; + } + public function setHighValueLabel($highValueLabel) + { + $this->highValueLabel = $highValueLabel; + } + public function getHighValueLabel() + { + return $this->highValueLabel; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } + public function setLastAnswerPositionPinned($lastAnswerPositionPinned) + { + $this->lastAnswerPositionPinned = $lastAnswerPositionPinned; + } + public function getLastAnswerPositionPinned() + { + return $this->lastAnswerPositionPinned; + } + public function setLowValueLabel($lowValueLabel) + { + $this->lowValueLabel = $lowValueLabel; + } + public function getLowValueLabel() + { + return $this->lowValueLabel; + } + public function setMustPickSuggestion($mustPickSuggestion) + { + $this->mustPickSuggestion = $mustPickSuggestion; + } + public function getMustPickSuggestion() + { + return $this->mustPickSuggestion; + } + public function setNumStars($numStars) + { + $this->numStars = $numStars; + } + public function getNumStars() + { + return $this->numStars; + } + public function setOpenTextPlaceholder($openTextPlaceholder) + { + $this->openTextPlaceholder = $openTextPlaceholder; + } + public function getOpenTextPlaceholder() + { + return $this->openTextPlaceholder; + } + public function setOpenTextSuggestions($openTextSuggestions) + { + $this->openTextSuggestions = $openTextSuggestions; + } + public function getOpenTextSuggestions() + { + return $this->openTextSuggestions; + } + public function setQuestion($question) + { + $this->question = $question; + } + public function getQuestion() + { + return $this->question; + } + public function setSentimentText($sentimentText) + { + $this->sentimentText = $sentimentText; + } + public function getSentimentText() + { + return $this->sentimentText; + } + public function setSingleLineResponse($singleLineResponse) + { + $this->singleLineResponse = $singleLineResponse; + } + public function getSingleLineResponse() + { + return $this->singleLineResponse; + } + public function setThresholdAnswers($thresholdAnswers) + { + $this->thresholdAnswers = $thresholdAnswers; + } + public function getThresholdAnswers() + { + return $this->thresholdAnswers; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnitOfMeasurementLabel($unitOfMeasurementLabel) + { + $this->unitOfMeasurementLabel = $unitOfMeasurementLabel; + } + public function getUnitOfMeasurementLabel() + { + return $this->unitOfMeasurementLabel; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php new file mode 100644 index 00000000..d065e7b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyQuestionImage.php @@ -0,0 +1,48 @@ +altText = $altText; + } + public function getAltText() + { + return $this->altText; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php new file mode 100644 index 00000000..de95eab8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyRejection.php @@ -0,0 +1,39 @@ +explanation = $explanation; + } + public function getExplanation() + { + return $this->explanation; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php new file mode 100644 index 00000000..d69a9cc4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveyResults.php @@ -0,0 +1,39 @@ +status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSurveyUrlId($surveyUrlId) + { + $this->surveyUrlId = $surveyUrlId; + } + public function getSurveyUrlId() + { + return $this->surveyUrlId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php new file mode 100644 index 00000000..dc0358a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysDeleteResponse.php @@ -0,0 +1,30 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php new file mode 100644 index 00000000..e51ac29b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysListResponse.php @@ -0,0 +1,61 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php new file mode 100644 index 00000000..430de935 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartRequest.php @@ -0,0 +1,30 @@ +maxCostPerResponseNanos = $maxCostPerResponseNanos; + } + public function getMaxCostPerResponseNanos() + { + return $this->maxCostPerResponseNanos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php new file mode 100644 index 00000000..ac97933b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStartResponse.php @@ -0,0 +1,40 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource(Google_Service_ConsumerSurveys_Survey $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php new file mode 100644 index 00000000..575c385f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/SurveysStopResponse.php @@ -0,0 +1,40 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource(Google_Service_ConsumerSurveys_Survey $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php new file mode 100644 index 00000000..77b58605 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ConsumerSurveys/TokenPagination.php @@ -0,0 +1,39 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php new file mode 100644 index 00000000..68aba51d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container.php @@ -0,0 +1,397 @@ + + * Builds and manages clusters that run container-based applications, powered by + * open source Kubernetes technology.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Container extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_zones; + public $projects_zones_clusters; + public $projects_zones_clusters_nodePools; + public $projects_zones_operations; + + /** + * Constructs the internal representation of the Container service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://container.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'container'; + + $this->projects_zones = new Google_Service_Container_Resource_ProjectsZones( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'getServerconfig' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_zones_clusters = new Google_Service_Container_Resource_ProjectsZonesClusters( + $this, + $this->serviceName, + 'clusters', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_zones_clusters_nodePools = new Google_Service_Container_Resource_ProjectsZonesClustersNodePools( + $this, + $this->serviceName, + 'nodePools', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'nodePoolId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'nodePoolId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'nodePoolId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setManagement' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'nodePoolId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_zones_operations = new Google_Service_Container_Resource_ProjectsZonesOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php new file mode 100644 index 00000000..4954faf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AddonsConfig.php @@ -0,0 +1,41 @@ +horizontalPodAutoscaling = $horizontalPodAutoscaling; + } + public function getHorizontalPodAutoscaling() + { + return $this->horizontalPodAutoscaling; + } + public function setHttpLoadBalancing(Google_Service_Container_HttpLoadBalancing $httpLoadBalancing) + { + $this->httpLoadBalancing = $httpLoadBalancing; + } + public function getHttpLoadBalancing() + { + return $this->httpLoadBalancing; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php new file mode 100644 index 00000000..a65f5408 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/AutoUpgradeOptions.php @@ -0,0 +1,39 @@ +autoUpgradeStartTime = $autoUpgradeStartTime; + } + public function getAutoUpgradeStartTime() + { + return $this->autoUpgradeStartTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php new file mode 100644 index 00000000..27d7732d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CancelOperationRequest.php @@ -0,0 +1,20 @@ +addonsConfig = $addonsConfig; + } + public function getAddonsConfig() + { + return $this->addonsConfig; + } + public function setClusterIpv4Cidr($clusterIpv4Cidr) + { + $this->clusterIpv4Cidr = $clusterIpv4Cidr; + } + public function getClusterIpv4Cidr() + { + return $this->clusterIpv4Cidr; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCurrentMasterVersion($currentMasterVersion) + { + $this->currentMasterVersion = $currentMasterVersion; + } + public function getCurrentMasterVersion() + { + return $this->currentMasterVersion; + } + public function setCurrentNodeCount($currentNodeCount) + { + $this->currentNodeCount = $currentNodeCount; + } + public function getCurrentNodeCount() + { + return $this->currentNodeCount; + } + public function setCurrentNodeVersion($currentNodeVersion) + { + $this->currentNodeVersion = $currentNodeVersion; + } + public function getCurrentNodeVersion() + { + return $this->currentNodeVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnableKubernetesAlpha($enableKubernetesAlpha) + { + $this->enableKubernetesAlpha = $enableKubernetesAlpha; + } + public function getEnableKubernetesAlpha() + { + return $this->enableKubernetesAlpha; + } + public function setEndpoint($endpoint) + { + $this->endpoint = $endpoint; + } + public function getEndpoint() + { + return $this->endpoint; + } + public function setExpireTime($expireTime) + { + $this->expireTime = $expireTime; + } + public function getExpireTime() + { + return $this->expireTime; + } + public function setInitialClusterVersion($initialClusterVersion) + { + $this->initialClusterVersion = $initialClusterVersion; + } + public function getInitialClusterVersion() + { + return $this->initialClusterVersion; + } + public function setInitialNodeCount($initialNodeCount) + { + $this->initialNodeCount = $initialNodeCount; + } + public function getInitialNodeCount() + { + return $this->initialNodeCount; + } + public function setInstanceGroupUrls($instanceGroupUrls) + { + $this->instanceGroupUrls = $instanceGroupUrls; + } + public function getInstanceGroupUrls() + { + return $this->instanceGroupUrls; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setLoggingService($loggingService) + { + $this->loggingService = $loggingService; + } + public function getLoggingService() + { + return $this->loggingService; + } + public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth) + { + $this->masterAuth = $masterAuth; + } + public function getMasterAuth() + { + return $this->masterAuth; + } + public function setMonitoringService($monitoringService) + { + $this->monitoringService = $monitoringService; + } + public function getMonitoringService() + { + return $this->monitoringService; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig) + { + $this->nodeConfig = $nodeConfig; + } + public function getNodeConfig() + { + return $this->nodeConfig; + } + public function setNodeIpv4CidrSize($nodeIpv4CidrSize) + { + $this->nodeIpv4CidrSize = $nodeIpv4CidrSize; + } + public function getNodeIpv4CidrSize() + { + return $this->nodeIpv4CidrSize; + } + public function setNodePools($nodePools) + { + $this->nodePools = $nodePools; + } + public function getNodePools() + { + return $this->nodePools; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServicesIpv4Cidr($servicesIpv4Cidr) + { + $this->servicesIpv4Cidr = $servicesIpv4Cidr; + } + public function getServicesIpv4Cidr() + { + return $this->servicesIpv4Cidr; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setSubnetwork($subnetwork) + { + $this->subnetwork = $subnetwork; + } + public function getSubnetwork() + { + return $this->subnetwork; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php new file mode 100644 index 00000000..ce55c078 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ClusterUpdate.php @@ -0,0 +1,96 @@ +desiredAddonsConfig = $desiredAddonsConfig; + } + public function getDesiredAddonsConfig() + { + return $this->desiredAddonsConfig; + } + public function setDesiredImageType($desiredImageType) + { + $this->desiredImageType = $desiredImageType; + } + public function getDesiredImageType() + { + return $this->desiredImageType; + } + public function setDesiredLocations($desiredLocations) + { + $this->desiredLocations = $desiredLocations; + } + public function getDesiredLocations() + { + return $this->desiredLocations; + } + public function setDesiredMasterVersion($desiredMasterVersion) + { + $this->desiredMasterVersion = $desiredMasterVersion; + } + public function getDesiredMasterVersion() + { + return $this->desiredMasterVersion; + } + public function setDesiredMonitoringService($desiredMonitoringService) + { + $this->desiredMonitoringService = $desiredMonitoringService; + } + public function getDesiredMonitoringService() + { + return $this->desiredMonitoringService; + } + public function setDesiredNodePoolAutoscaling(Google_Service_Container_NodePoolAutoscaling $desiredNodePoolAutoscaling) + { + $this->desiredNodePoolAutoscaling = $desiredNodePoolAutoscaling; + } + public function getDesiredNodePoolAutoscaling() + { + return $this->desiredNodePoolAutoscaling; + } + public function setDesiredNodePoolId($desiredNodePoolId) + { + $this->desiredNodePoolId = $desiredNodePoolId; + } + public function getDesiredNodePoolId() + { + return $this->desiredNodePoolId; + } + public function setDesiredNodeVersion($desiredNodeVersion) + { + $this->desiredNodeVersion = $desiredNodeVersion; + } + public function getDesiredNodeVersion() + { + return $this->desiredNodeVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php new file mode 100644 index 00000000..0695e622 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ContainerEmpty.php @@ -0,0 +1,20 @@ +cluster = $cluster; + } + public function getCluster() + { + return $this->cluster; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php new file mode 100644 index 00000000..6088cb84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/CreateNodePoolRequest.php @@ -0,0 +1,31 @@ +nodePool = $nodePool; + } + public function getNodePool() + { + return $this->nodePool; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php new file mode 100644 index 00000000..8e139c55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HorizontalPodAutoscaling.php @@ -0,0 +1,30 @@ +disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php new file mode 100644 index 00000000..b8db1f2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/HttpLoadBalancing.php @@ -0,0 +1,30 @@ +disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php new file mode 100644 index 00000000..e9dc6a97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListClustersResponse.php @@ -0,0 +1,41 @@ +clusters = $clusters; + } + public function getClusters() + { + return $this->clusters; + } + public function setMissingZones($missingZones) + { + $this->missingZones = $missingZones; + } + public function getMissingZones() + { + return $this->missingZones; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php new file mode 100644 index 00000000..30f73741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListNodePoolsResponse.php @@ -0,0 +1,32 @@ +nodePools = $nodePools; + } + public function getNodePools() + { + return $this->nodePools; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php new file mode 100644 index 00000000..f5d6c3bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/ListOperationsResponse.php @@ -0,0 +1,41 @@ +missingZones = $missingZones; + } + public function getMissingZones() + { + return $this->missingZones; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php new file mode 100644 index 00000000..e5db3e92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/MasterAuth.php @@ -0,0 +1,66 @@ +clientCertificate = $clientCertificate; + } + public function getClientCertificate() + { + return $this->clientCertificate; + } + public function setClientKey($clientKey) + { + $this->clientKey = $clientKey; + } + public function getClientKey() + { + return $this->clientKey; + } + public function setClusterCaCertificate($clusterCaCertificate) + { + $this->clusterCaCertificate = $clusterCaCertificate; + } + public function getClusterCaCertificate() + { + return $this->clusterCaCertificate; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php new file mode 100644 index 00000000..9551ad12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeConfig.php @@ -0,0 +1,112 @@ +diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setImageType($imageType) + { + $this->imageType = $imageType; + } + public function getImageType() + { + return $this->imageType; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocalSsdCount($localSsdCount) + { + $this->localSsdCount = $localSsdCount; + } + public function getLocalSsdCount() + { + return $this->localSsdCount; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setOauthScopes($oauthScopes) + { + $this->oauthScopes = $oauthScopes; + } + public function getOauthScopes() + { + return $this->oauthScopes; + } + public function setPreemptible($preemptible) + { + $this->preemptible = $preemptible; + } + public function getPreemptible() + { + return $this->preemptible; + } + public function setServiceAccount($serviceAccount) + { + $this->serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php new file mode 100644 index 00000000..833c5033 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodeManagement.php @@ -0,0 +1,40 @@ +autoUpgrade = $autoUpgrade; + } + public function getAutoUpgrade() + { + return $this->autoUpgrade; + } + public function setUpgradeOptions(Google_Service_Container_AutoUpgradeOptions $upgradeOptions) + { + $this->upgradeOptions = $upgradeOptions; + } + public function getUpgradeOptions() + { + return $this->upgradeOptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php new file mode 100644 index 00000000..0be52bb0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePool.php @@ -0,0 +1,115 @@ +autoscaling = $autoscaling; + } + public function getAutoscaling() + { + return $this->autoscaling; + } + public function setConfig(Google_Service_Container_NodeConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setInitialNodeCount($initialNodeCount) + { + $this->initialNodeCount = $initialNodeCount; + } + public function getInitialNodeCount() + { + return $this->initialNodeCount; + } + public function setInstanceGroupUrls($instanceGroupUrls) + { + $this->instanceGroupUrls = $instanceGroupUrls; + } + public function getInstanceGroupUrls() + { + return $this->instanceGroupUrls; + } + public function setManagement(Google_Service_Container_NodeManagement $management) + { + $this->management = $management; + } + public function getManagement() + { + return $this->management; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php new file mode 100644 index 00000000..14386b5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/NodePoolAutoscaling.php @@ -0,0 +1,48 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setMaxNodeCount($maxNodeCount) + { + $this->maxNodeCount = $maxNodeCount; + } + public function getMaxNodeCount() + { + return $this->maxNodeCount; + } + public function setMinNodeCount($minNodeCount) + { + $this->minNodeCount = $minNodeCount; + } + public function getMinNodeCount() + { + return $this->minNodeCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php new file mode 100644 index 00000000..65421cb0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Operation.php @@ -0,0 +1,93 @@ +detail = $detail; + } + public function getDetail() + { + return $this->detail; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php new file mode 100644 index 00000000..219380b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $containerService = new Google_Service_Container(...); + * $projects = $containerService->projects; + * + */ +class Google_Service_Container_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php new file mode 100644 index 00000000..0ed185df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZones.php @@ -0,0 +1,45 @@ + + * $containerService = new Google_Service_Container(...); + * $zones = $containerService->zones; + * + */ +class Google_Service_Container_Resource_ProjectsZones extends Google_Service_Resource +{ + /** + * Returns configuration info about the Container Engine service. + * (zones.getServerconfig) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ServerConfig + */ + public function getServerconfig($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('getServerconfig', array($params), "Google_Service_Container_ServerConfig"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php new file mode 100644 index 00000000..33a47edf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClusters.php @@ -0,0 +1,126 @@ + + * $containerService = new Google_Service_Container(...); + * $clusters = $containerService->clusters; + * + */ +class Google_Service_Container_Resource_ProjectsZonesClusters extends Google_Service_Resource +{ + /** + * Creates a cluster, consisting of the specified number and type of Google + * Compute Engine instances. By default, the cluster is created in the project's + * [default network](/compute/docs/networks-and-firewalls#networks). One + * firewall is added for the cluster. After cluster creation, the cluster + * creates routes for each node to allow the containers on that node to + * communicate with all other instances in the cluster. Finally, an entry is + * added to the project's global metadata indicating which CIDR range is being + * used by the cluster. (clusters.create) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param Google_Service_Container_CreateClusterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function create($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Container_Operation"); + } + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * Firewalls and routes that were configured during cluster creation are also + * deleted. Other Google Compute Engine resources that might be in use by the + * cluster (e.g. load balancer resources) will not be deleted if they weren't + * present at the initial create time. (clusters.delete) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function delete($projectId, $zone, $clusterId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Container_Operation"); + } + /** + * Gets the details of a specific cluster. (clusters.get) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Cluster + */ + public function get($projectId, $zone, $clusterId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Container_Cluster"); + } + /** + * Lists all clusters owned by a project in either the specified zone or all + * zones. (clusters.listProjectsZonesClusters) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides, or "-" + * for all zones. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ListClustersResponse + */ + public function listProjectsZonesClusters($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse"); + } + /** + * Updates the settings of a specific cluster. (clusters.update) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to upgrade. + * @param Google_Service_Container_UpdateClusterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function update($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Container_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php new file mode 100644 index 00000000..7763c92a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesClustersNodePools.php @@ -0,0 +1,139 @@ + + * $containerService = new Google_Service_Container(...); + * $nodePools = $containerService->nodePools; + * + */ +class Google_Service_Container_Resource_ProjectsZonesClustersNodePools extends Google_Service_Resource +{ + /** + * Creates a node pool for a cluster. (nodePools.create) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster. + * @param Google_Service_Container_CreateNodePoolRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function create($projectId, $zone, $clusterId, Google_Service_Container_CreateNodePoolRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Container_Operation"); + } + /** + * Deletes a node pool from a cluster. (nodePools.delete) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster. + * @param string $nodePoolId The name of the node pool to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function delete($projectId, $zone, $clusterId, $nodePoolId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Container_Operation"); + } + /** + * Retrieves the node pool requested. (nodePools.get) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster. + * @param string $nodePoolId The name of the node pool. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_NodePool + */ + public function get($projectId, $zone, $clusterId, $nodePoolId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Container_NodePool"); + } + /** + * Lists the node pools for a cluster. + * (nodePools.listProjectsZonesClustersNodePools) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ListNodePoolsResponse + */ + public function listProjectsZonesClustersNodePools($projectId, $zone, $clusterId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Container_ListNodePoolsResponse"); + } + /** + * Roll back the previously Aborted or Failed NodePool upgrade. This will be an + * no-op if the last upgrade successfully completed. (nodePools.rollback) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to rollback. + * @param string $nodePoolId The name of the node pool to rollback. + * @param Google_Service_Container_RollbackNodePoolUpgradeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function rollback($projectId, $zone, $clusterId, $nodePoolId, Google_Service_Container_RollbackNodePoolUpgradeRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Container_Operation"); + } + /** + * Sets the NodeManagement options for a node pool. (nodePools.setManagement) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to update. + * @param string $nodePoolId The name of the node pool to update. + * @param Google_Service_Container_SetNodePoolManagementRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function setManagement($projectId, $zone, $clusterId, $nodePoolId, Google_Service_Container_SetNodePoolManagementRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'nodePoolId' => $nodePoolId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setManagement', array($params), "Google_Service_Container_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php new file mode 100644 index 00000000..2622ee32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/Resource/ProjectsZonesOperations.php @@ -0,0 +1,81 @@ + + * $containerService = new Google_Service_Container(...); + * $operations = $containerService->operations; + * + */ +class Google_Service_Container_Resource_ProjectsZonesOperations extends Google_Service_Resource +{ + /** + * Cancels the specified operation. (operations.cancel) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the operation resides. + * @param string $operationId The server-assigned `name` of the operation. + * @param Google_Service_Container_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ContainerEmpty + */ + public function cancel($projectId, $zone, $operationId, Google_Service_Container_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Container_ContainerEmpty"); + } + /** + * Gets the specified operation. (operations.get) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $operationId The server-assigned `name` of the operation. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function get($projectId, $zone, $operationId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Container_Operation"); + } + /** + * Lists all operations in a project in a specific zone or all zones. + * (operations.listProjectsZonesOperations) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or `-` for + * all zones. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ListOperationsResponse + */ + public function listProjectsZonesOperations($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php new file mode 100644 index 00000000..7054ca00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/RollbackNodePoolUpgradeRequest.php @@ -0,0 +1,20 @@ +defaultClusterVersion = $defaultClusterVersion; + } + public function getDefaultClusterVersion() + { + return $this->defaultClusterVersion; + } + public function setDefaultImageType($defaultImageType) + { + $this->defaultImageType = $defaultImageType; + } + public function getDefaultImageType() + { + return $this->defaultImageType; + } + public function setValidImageTypes($validImageTypes) + { + $this->validImageTypes = $validImageTypes; + } + public function getValidImageTypes() + { + return $this->validImageTypes; + } + public function setValidMasterVersions($validMasterVersions) + { + $this->validMasterVersions = $validMasterVersions; + } + public function getValidMasterVersions() + { + return $this->validMasterVersions; + } + public function setValidNodeVersions($validNodeVersions) + { + $this->validNodeVersions = $validNodeVersions; + } + public function getValidNodeVersions() + { + return $this->validNodeVersions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php new file mode 100644 index 00000000..591c099a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/SetNodePoolManagementRequest.php @@ -0,0 +1,31 @@ +management = $management; + } + public function getManagement() + { + return $this->management; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php new file mode 100644 index 00000000..76f262c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Container/UpdateClusterRequest.php @@ -0,0 +1,31 @@ +update = $update; + } + public function getUpdate() + { + return $this->update; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php new file mode 100644 index 00000000..5d25c17f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate.php @@ -0,0 +1,467 @@ + + * Lets you view and manage jobs in a Coordinate team.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Coordinate extends Google_Service +{ + /** View and manage your Google Maps Coordinate jobs. */ + const COORDINATE = + "https://www.googleapis.com/auth/coordinate"; + /** View your Google Coordinate jobs. */ + const COORDINATE_READONLY = + "https://www.googleapis.com/auth/coordinate.readonly"; + + public $customFieldDef; + public $jobs; + public $location; + public $schedule; + public $team; + public $worker; + + /** + * Constructs the internal representation of the Coordinate service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'coordinate/v1/'; + $this->version = 'v1'; + $this->serviceName = 'coordinate'; + + $this->customFieldDef = new Google_Service_Coordinate_Resource_CustomFieldDef( + $this, + $this->serviceName, + 'customFieldDef', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/custom_fields', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs = new Google_Service_Coordinate_Resource_Jobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'teams/{teamId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + 'required' => true, + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + 'required' => true, + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'teams/{teamId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minModifiedTimestampMs' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'omitJobChanges' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'progress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'progress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->location = new Google_Service_Coordinate_Resource_Location( + $this, + $this->serviceName, + 'location', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/workers/{workerEmail}/locations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'workerEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTimestampMs' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->schedule = new Google_Service_Coordinate_Resource_Schedule( + $this, + $this->serviceName, + 'schedule', + array( + 'methods' => array( + 'get' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allDay' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'duration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allDay' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'duration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->team = new Google_Service_Coordinate_Resource_Team( + $this, + $this->serviceName, + 'team', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams', + 'httpMethod' => 'GET', + 'parameters' => array( + 'admin' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dispatcher' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'worker' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->worker = new Google_Service_Coordinate_Resource_Worker( + $this, + $this->serviceName, + 'worker', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/workers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php new file mode 100644 index 00000000..13226bff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomField.php @@ -0,0 +1,48 @@ +customFieldId = $customFieldId; + } + public function getCustomFieldId() + { + return $this->customFieldId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php new file mode 100644 index 00000000..82a8837c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDef.php @@ -0,0 +1,86 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setEnumitems($enumitems) + { + $this->enumitems = $enumitems; + } + public function getEnumitems() + { + return $this->enumitems; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRequiredForCheckout($requiredForCheckout) + { + $this->requiredForCheckout = $requiredForCheckout; + } + public function getRequiredForCheckout() + { + return $this->requiredForCheckout; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php new file mode 100644 index 00000000..af1d038d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFieldDefListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php new file mode 100644 index 00000000..32f9900c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/CustomFields.php @@ -0,0 +1,41 @@ +customField = $customField; + } + public function getCustomField() + { + return $this->customField; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php new file mode 100644 index 00000000..2086600a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/EnumItemDef.php @@ -0,0 +1,48 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php new file mode 100644 index 00000000..4c6a337c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Job.php @@ -0,0 +1,60 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobChange($jobChange) + { + $this->jobChange = $jobChange; + } + public function getJobChange() + { + return $this->jobChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState(Google_Service_Coordinate_JobState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php new file mode 100644 index 00000000..a3e0611c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobChange.php @@ -0,0 +1,49 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState(Google_Service_Coordinate_JobState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php new file mode 100644 index 00000000..0793fc41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php new file mode 100644 index 00000000..c997d69d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/JobState.php @@ -0,0 +1,105 @@ +assignee = $assignee; + } + public function getAssignee() + { + return $this->assignee; + } + public function setCustomFields(Google_Service_Coordinate_CustomFields $customFields) + { + $this->customFields = $customFields; + } + public function getCustomFields() + { + return $this->customFields; + } + public function setCustomerName($customerName) + { + $this->customerName = $customerName; + } + public function getCustomerName() + { + return $this->customerName; + } + public function setCustomerPhoneNumber($customerPhoneNumber) + { + $this->customerPhoneNumber = $customerPhoneNumber; + } + public function getCustomerPhoneNumber() + { + return $this->customerPhoneNumber; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Coordinate_Location $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php new file mode 100644 index 00000000..1b699eec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Location.php @@ -0,0 +1,58 @@ +addressLine = $addressLine; + } + public function getAddressLine() + { + return $this->addressLine; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLat($lat) + { + $this->lat = $lat; + } + public function getLat() + { + return $this->lat; + } + public function setLng($lng) + { + $this->lng = $lng; + } + public function getLng() + { + return $this->lng; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php new file mode 100644 index 00000000..ac5334a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationListResponse.php @@ -0,0 +1,60 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTokenPagination(Google_Service_Coordinate_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php new file mode 100644 index 00000000..79a6839a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/LocationRecord.php @@ -0,0 +1,66 @@ +collectionTime = $collectionTime; + } + public function getCollectionTime() + { + return $this->collectionTime; + } + public function setConfidenceRadius($confidenceRadius) + { + $this->confidenceRadius = $confidenceRadius; + } + public function getConfidenceRadius() + { + return $this->confidenceRadius; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php new file mode 100644 index 00000000..59f814c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/CustomFieldDef.php @@ -0,0 +1,42 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $customFieldDef = $coordinateService->customFieldDef; + * + */ +class Google_Service_Coordinate_Resource_CustomFieldDef extends Google_Service_Resource +{ + /** + * Retrieves a list of custom field definitions for a team. + * (customFieldDef.listCustomFieldDef) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_CustomFieldDefListResponse + */ + public function listCustomFieldDef($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_CustomFieldDefListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php new file mode 100644 index 00000000..a6a3021a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Jobs.php @@ -0,0 +1,159 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $jobs = $coordinateService->jobs; + * + */ +class Google_Service_Coordinate_Resource_Jobs extends Google_Service_Resource +{ + /** + * Retrieves a job, including all the changes made to the job. (jobs.get) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_Job + */ + public function get($teamId, $jobId, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Coordinate_Job"); + } + /** + * Inserts a new job. Only the state field of the job should be set. + * (jobs.insert) + * + * @param string $teamId Team ID + * @param string $address Job address as newline (Unix) separated string + * @param double $lat The latitude coordinate of this job's location. + * @param double $lng The longitude coordinate of this job's location. + * @param string $title Job title + * @param Google_Service_Coordinate_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @opt_param string customerName Customer name + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param string note Job note as newline (Unix) separated string + * @return Google_Service_Coordinate_Job + */ + public function insert($teamId, $address, $lat, $lng, $title, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'address' => $address, 'lat' => $lat, 'lng' => $lng, 'title' => $title, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Coordinate_Job"); + } + /** + * Retrieves jobs created or modified since the given timestamp. (jobs.listJobs) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return in one page. + * @opt_param string minModifiedTimestampMs Minimum time a job was modified in + * milliseconds since epoch. + * @opt_param bool omitJobChanges Whether to omit detail job history + * information. + * @opt_param string pageToken Continuation token + * @return Google_Service_Coordinate_JobListResponse + */ + public function listJobs($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_JobListResponse"); + } + /** + * Updates a job. Fields that are set in the job state will be updated. This + * method supports patch semantics. (jobs.patch) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Service_Coordinate_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string address Job address as newline (Unix) separated string + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @opt_param string customerName Customer name + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param double lat The latitude coordinate of this job's location. + * @opt_param double lng The longitude coordinate of this job's location. + * @opt_param string note Job note as newline (Unix) separated string + * @opt_param string progress Job progress + * @opt_param string title Job title + * @return Google_Service_Coordinate_Job + */ + public function patch($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Coordinate_Job"); + } + /** + * Updates a job. Fields that are set in the job state will be updated. + * (jobs.update) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Service_Coordinate_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string address Job address as newline (Unix) separated string + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @opt_param string customerName Customer name + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param double lat The latitude coordinate of this job's location. + * @opt_param double lng The longitude coordinate of this job's location. + * @opt_param string note Job note as newline (Unix) separated string + * @opt_param string progress Job progress + * @opt_param string title Job title + * @return Google_Service_Coordinate_Job + */ + public function update($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Coordinate_Job"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php new file mode 100644 index 00000000..e879bdaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Location.php @@ -0,0 +1,47 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $location = $coordinateService->location; + * + */ +class Google_Service_Coordinate_Resource_Location extends Google_Service_Resource +{ + /** + * Retrieves a list of locations for a worker. (location.listLocation) + * + * @param string $teamId Team ID + * @param string $workerEmail Worker email address. + * @param string $startTimestampMs Start timestamp in milliseconds since the + * epoch. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return in one page. + * @opt_param string pageToken Continuation token + * @return Google_Service_Coordinate_LocationListResponse + */ + public function listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array()) + { + $params = array('teamId' => $teamId, 'workerEmail' => $workerEmail, 'startTimestampMs' => $startTimestampMs); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_LocationListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php new file mode 100644 index 00000000..8978e4c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Schedule.php @@ -0,0 +1,85 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $schedule = $coordinateService->schedule; + * + */ +class Google_Service_Coordinate_Resource_Schedule extends Google_Service_Resource +{ + /** + * Retrieves the schedule for a job. (schedule.get) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_Schedule + */ + public function get($teamId, $jobId, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Coordinate_Schedule"); + } + /** + * Replaces the schedule of a job with the provided schedule. This method + * supports patch semantics. (schedule.patch) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Service_Coordinate_Schedule $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool allDay Whether the job is scheduled for the whole day. Time + * of day in start/end times is ignored if this is true. + * @opt_param string duration Job duration in milliseconds. + * @opt_param string endTime Scheduled end time in milliseconds since epoch. + * @opt_param string startTime Scheduled start time in milliseconds since epoch. + * @return Google_Service_Coordinate_Schedule + */ + public function patch($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Coordinate_Schedule"); + } + /** + * Replaces the schedule of a job with the provided schedule. (schedule.update) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Service_Coordinate_Schedule $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool allDay Whether the job is scheduled for the whole day. Time + * of day in start/end times is ignored if this is true. + * @opt_param string duration Job duration in milliseconds. + * @opt_param string endTime Scheduled end time in milliseconds since epoch. + * @opt_param string startTime Scheduled start time in milliseconds since epoch. + * @return Google_Service_Coordinate_Schedule + */ + public function update($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Coordinate_Schedule"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php new file mode 100644 index 00000000..e3355321 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Team.php @@ -0,0 +1,47 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $team = $coordinateService->team; + * + */ +class Google_Service_Coordinate_Resource_Team extends Google_Service_Resource +{ + /** + * Retrieves a list of teams for a user. (team.listTeam) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool admin Whether to include teams for which the user has the + * Admin role. + * @opt_param bool dispatcher Whether to include teams for which the user has + * the Dispatcher role. + * @opt_param bool worker Whether to include teams for which the user has the + * Worker role. + * @return Google_Service_Coordinate_TeamListResponse + */ + public function listTeam($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_TeamListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php new file mode 100644 index 00000000..d01fc571 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Resource/Worker.php @@ -0,0 +1,41 @@ + + * $coordinateService = new Google_Service_Coordinate(...); + * $worker = $coordinateService->worker; + * + */ +class Google_Service_Coordinate_Resource_Worker extends Google_Service_Resource +{ + /** + * Retrieves a list of workers in a team. (worker.listWorker) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_WorkerListResponse + */ + public function listWorker($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_WorkerListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php new file mode 100644 index 00000000..dc75febe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Schedule.php @@ -0,0 +1,66 @@ +allDay = $allDay; + } + public function getAllDay() + { + return $this->allDay; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php new file mode 100644 index 00000000..0fb51956 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Team.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php new file mode 100644 index 00000000..fa86755c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TeamListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php new file mode 100644 index 00000000..e66763ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/TokenPagination.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php new file mode 100644 index 00000000..1f078063 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/Worker.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php new file mode 100644 index 00000000..39dfe75e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Coordinate/WorkerListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php new file mode 100644 index 00000000..568833c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch.php @@ -0,0 +1,195 @@ + + * Lets you search over a website or collection of websites

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Customsearch extends Google_Service +{ + + + public $cse; + + /** + * Constructs the internal representation of the Customsearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'customsearch/'; + $this->version = 'v1'; + $this->serviceName = 'customsearch'; + + $this->cse = new Google_Service_Customsearch_Resource_Cse( + $this, + $this->serviceName, + 'cse', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'c2coff' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cref' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cx' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dateRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'exactTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'excludeTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fileType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'gl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'googlehost' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'highRange' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hq' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgColorType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgDominantColor' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgSize' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'linkSite' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lowRange' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'num' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'relatedSite' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rights' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'safe' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteSearch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteSearchFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php new file mode 100644 index 00000000..e20a860c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Context.php @@ -0,0 +1,41 @@ +facets = $facets; + } + public function getFacets() + { + return $this->facets; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php new file mode 100644 index 00000000..ba8e5265 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ContextFacets.php @@ -0,0 +1,51 @@ + "label_with_op", + ); + public $anchor; + public $label; + public $labelWithOp; + + public function setAnchor($anchor) + { + $this->anchor = $anchor; + } + public function getAnchor() + { + return $this->anchor; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setLabelWithOp($labelWithOp) + { + $this->labelWithOp = $labelWithOp; + } + public function getLabelWithOp() + { + return $this->labelWithOp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php new file mode 100644 index 00000000..cda98fb0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Promotion.php @@ -0,0 +1,78 @@ +bodyLines = $bodyLines; + } + public function getBodyLines() + { + return $this->bodyLines; + } + public function setDisplayLink($displayLink) + { + $this->displayLink = $displayLink; + } + public function getDisplayLink() + { + return $this->displayLink; + } + public function setHtmlTitle($htmlTitle) + { + $this->htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setImage(Google_Service_Customsearch_PromotionImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php new file mode 100644 index 00000000..4201ddf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionBodyLines.php @@ -0,0 +1,57 @@ +htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php new file mode 100644 index 00000000..475feb52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/PromotionImage.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php new file mode 100644 index 00000000..6c0e92c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Query.php @@ -0,0 +1,354 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setCr($cr) + { + $this->cr = $cr; + } + public function getCr() + { + return $this->cr; + } + public function setCref($cref) + { + $this->cref = $cref; + } + public function getCref() + { + return $this->cref; + } + public function setCx($cx) + { + $this->cx = $cx; + } + public function getCx() + { + return $this->cx; + } + public function setDateRestrict($dateRestrict) + { + $this->dateRestrict = $dateRestrict; + } + public function getDateRestrict() + { + return $this->dateRestrict; + } + public function setDisableCnTwTranslation($disableCnTwTranslation) + { + $this->disableCnTwTranslation = $disableCnTwTranslation; + } + public function getDisableCnTwTranslation() + { + return $this->disableCnTwTranslation; + } + public function setExactTerms($exactTerms) + { + $this->exactTerms = $exactTerms; + } + public function getExactTerms() + { + return $this->exactTerms; + } + public function setExcludeTerms($excludeTerms) + { + $this->excludeTerms = $excludeTerms; + } + public function getExcludeTerms() + { + return $this->excludeTerms; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setGl($gl) + { + $this->gl = $gl; + } + public function getGl() + { + return $this->gl; + } + public function setGoogleHost($googleHost) + { + $this->googleHost = $googleHost; + } + public function getGoogleHost() + { + return $this->googleHost; + } + public function setHighRange($highRange) + { + $this->highRange = $highRange; + } + public function getHighRange() + { + return $this->highRange; + } + public function setHl($hl) + { + $this->hl = $hl; + } + public function getHl() + { + return $this->hl; + } + public function setHq($hq) + { + $this->hq = $hq; + } + public function getHq() + { + return $this->hq; + } + public function setImgColorType($imgColorType) + { + $this->imgColorType = $imgColorType; + } + public function getImgColorType() + { + return $this->imgColorType; + } + public function setImgDominantColor($imgDominantColor) + { + $this->imgDominantColor = $imgDominantColor; + } + public function getImgDominantColor() + { + return $this->imgDominantColor; + } + public function setImgSize($imgSize) + { + $this->imgSize = $imgSize; + } + public function getImgSize() + { + return $this->imgSize; + } + public function setImgType($imgType) + { + $this->imgType = $imgType; + } + public function getImgType() + { + return $this->imgType; + } + public function setInputEncoding($inputEncoding) + { + $this->inputEncoding = $inputEncoding; + } + public function getInputEncoding() + { + return $this->inputEncoding; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLinkSite($linkSite) + { + $this->linkSite = $linkSite; + } + public function getLinkSite() + { + return $this->linkSite; + } + public function setLowRange($lowRange) + { + $this->lowRange = $lowRange; + } + public function getLowRange() + { + return $this->lowRange; + } + public function setOrTerms($orTerms) + { + $this->orTerms = $orTerms; + } + public function getOrTerms() + { + return $this->orTerms; + } + public function setOutputEncoding($outputEncoding) + { + $this->outputEncoding = $outputEncoding; + } + public function getOutputEncoding() + { + return $this->outputEncoding; + } + public function setRelatedSite($relatedSite) + { + $this->relatedSite = $relatedSite; + } + public function getRelatedSite() + { + return $this->relatedSite; + } + public function setRights($rights) + { + $this->rights = $rights; + } + public function getRights() + { + return $this->rights; + } + public function setSafe($safe) + { + $this->safe = $safe; + } + public function getSafe() + { + return $this->safe; + } + public function setSearchTerms($searchTerms) + { + $this->searchTerms = $searchTerms; + } + public function getSearchTerms() + { + return $this->searchTerms; + } + public function setSearchType($searchType) + { + $this->searchType = $searchType; + } + public function getSearchType() + { + return $this->searchType; + } + public function setSiteSearch($siteSearch) + { + $this->siteSearch = $siteSearch; + } + public function getSiteSearch() + { + return $this->siteSearch; + } + public function setSiteSearchFilter($siteSearchFilter) + { + $this->siteSearchFilter = $siteSearchFilter; + } + public function getSiteSearchFilter() + { + return $this->siteSearchFilter; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setStartPage($startPage) + { + $this->startPage = $startPage; + } + public function getStartPage() + { + return $this->startPage; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php new file mode 100644 index 00000000..c70ebbf7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Resource/Cse.php @@ -0,0 +1,94 @@ + + * $customsearchService = new Google_Service_Customsearch(...); + * $cse = $customsearchService->cse; + * + */ +class Google_Service_Customsearch_Resource_Cse extends Google_Service_Resource +{ + /** + * Returns metadata about the search performed, metadata about the custom search + * engine used for the search, and the search results. (cse.listCse) + * + * @param string $q Query + * @param array $optParams Optional parameters. + * + * @opt_param string c2coff Turns off the translation between zh-CN and zh-TW. + * @opt_param string cr Country restrict(s). + * @opt_param string cref The URL of a linked custom search engine + * @opt_param string cx The custom search engine ID to scope this search query + * @opt_param string dateRestrict Specifies all search results are from a time + * period + * @opt_param string exactTerms Identifies a phrase that all documents in the + * search results must contain + * @opt_param string excludeTerms Identifies a word or phrase that should not + * appear in any documents in the search results + * @opt_param string fileType Returns images of a specified type. Some of the + * allowed values are: bmp, gif, png, jpg, svg, pdf, ... + * @opt_param string filter Controls turning on or off the duplicate content + * filter. + * @opt_param string gl Geolocation of end user. + * @opt_param string googlehost The local Google domain to use to perform the + * search. + * @opt_param string highRange Creates a range in form as_nlo value..as_nhi + * value and attempts to append it to query + * @opt_param string hl Sets the user interface language. + * @opt_param string hq Appends the extra query terms to the query. + * @opt_param string imgColorType Returns black and white, grayscale, or color + * images: mono, gray, and color. + * @opt_param string imgDominantColor Returns images of a specific dominant + * color: yellow, green, teal, blue, purple, pink, white, gray, black and brown. + * @opt_param string imgSize Returns images of a specified size, where size can + * be one of: icon, small, medium, large, xlarge, xxlarge, and huge. + * @opt_param string imgType Returns images of a type, which can be one of: + * clipart, face, lineart, news, and photo. + * @opt_param string linkSite Specifies that all search results should contain a + * link to a particular URL + * @opt_param string lowRange Creates a range in form as_nlo value..as_nhi value + * and attempts to append it to query + * @opt_param string lr The language restriction for the search results + * @opt_param string num Number of search results to return + * @opt_param string orTerms Provides additional search terms to check for in a + * document, where each document in the search results must contain at least one + * of the additional search terms + * @opt_param string relatedSite Specifies that all search results should be + * pages that are related to the specified URL + * @opt_param string rights Filters based on licensing. Supported values + * include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, + * cc_nonderived and combinations of these. + * @opt_param string safe Search safety level + * @opt_param string searchType Specifies the search type: image. + * @opt_param string siteSearch Specifies all search results should be pages + * from a given site + * @opt_param string siteSearchFilter Controls whether to include or exclude + * results from the site named in the as_sitesearch parameter + * @opt_param string sort The sort expression to apply to the results + * @opt_param string start The index of the first result to return + * @return Google_Service_Customsearch_Search + */ + public function listCse($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Customsearch_Search"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php new file mode 100644 index 00000000..8d32894f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Result.php @@ -0,0 +1,159 @@ +cacheId = $cacheId; + } + public function getCacheId() + { + return $this->cacheId; + } + public function setDisplayLink($displayLink) + { + $this->displayLink = $displayLink; + } + public function getDisplayLink() + { + return $this->displayLink; + } + public function setFileFormat($fileFormat) + { + $this->fileFormat = $fileFormat; + } + public function getFileFormat() + { + return $this->fileFormat; + } + public function setFormattedUrl($formattedUrl) + { + $this->formattedUrl = $formattedUrl; + } + public function getFormattedUrl() + { + return $this->formattedUrl; + } + public function setHtmlFormattedUrl($htmlFormattedUrl) + { + $this->htmlFormattedUrl = $htmlFormattedUrl; + } + public function getHtmlFormattedUrl() + { + return $this->htmlFormattedUrl; + } + public function setHtmlSnippet($htmlSnippet) + { + $this->htmlSnippet = $htmlSnippet; + } + public function getHtmlSnippet() + { + return $this->htmlSnippet; + } + public function setHtmlTitle($htmlTitle) + { + $this->htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setImage(Google_Service_Customsearch_ResultImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setMime($mime) + { + $this->mime = $mime; + } + public function getMime() + { + return $this->mime; + } + public function setPagemap($pagemap) + { + $this->pagemap = $pagemap; + } + public function getPagemap() + { + return $this->pagemap; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php new file mode 100644 index 00000000..d48f967f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultImage.php @@ -0,0 +1,84 @@ +byteSize = $byteSize; + } + public function getByteSize() + { + return $this->byteSize; + } + public function setContextLink($contextLink) + { + $this->contextLink = $contextLink; + } + public function getContextLink() + { + return $this->contextLink; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setThumbnailHeight($thumbnailHeight) + { + $this->thumbnailHeight = $thumbnailHeight; + } + public function getThumbnailHeight() + { + return $this->thumbnailHeight; + } + public function setThumbnailLink($thumbnailLink) + { + $this->thumbnailLink = $thumbnailLink; + } + public function getThumbnailLink() + { + return $this->thumbnailLink; + } + public function setThumbnailWidth($thumbnailWidth) + { + $this->thumbnailWidth = $thumbnailWidth; + } + public function getThumbnailWidth() + { + return $this->thumbnailWidth; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php new file mode 100644 index 00000000..8685e43e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/ResultLabels.php @@ -0,0 +1,51 @@ + "label_with_op", + ); + public $displayName; + public $labelWithOp; + public $name; + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabelWithOp($labelWithOp) + { + $this->labelWithOp = $labelWithOp; + } + public function getLabelWithOp() + { + return $this->labelWithOp; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php new file mode 100644 index 00000000..be2c6836 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/Search.php @@ -0,0 +1,101 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPromotions($promotions) + { + $this->promotions = $promotions; + } + public function getPromotions() + { + return $this->promotions; + } + public function setQueries($queries) + { + $this->queries = $queries; + } + public function getQueries() + { + return $this->queries; + } + public function setSearchInformation(Google_Service_Customsearch_SearchSearchInformation $searchInformation) + { + $this->searchInformation = $searchInformation; + } + public function getSearchInformation() + { + return $this->searchInformation; + } + public function setSpelling(Google_Service_Customsearch_SearchSpelling $spelling) + { + $this->spelling = $spelling; + } + public function getSpelling() + { + return $this->spelling; + } + public function setUrl(Google_Service_Customsearch_SearchUrl $url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php new file mode 100644 index 00000000..8c8b787d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSearchInformation.php @@ -0,0 +1,57 @@ +formattedSearchTime = $formattedSearchTime; + } + public function getFormattedSearchTime() + { + return $this->formattedSearchTime; + } + public function setFormattedTotalResults($formattedTotalResults) + { + $this->formattedTotalResults = $formattedTotalResults; + } + public function getFormattedTotalResults() + { + return $this->formattedTotalResults; + } + public function setSearchTime($searchTime) + { + $this->searchTime = $searchTime; + } + public function getSearchTime() + { + return $this->searchTime; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php new file mode 100644 index 00000000..bf5351e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchSpelling.php @@ -0,0 +1,39 @@ +correctedQuery = $correctedQuery; + } + public function getCorrectedQuery() + { + return $this->correctedQuery; + } + public function setHtmlCorrectedQuery($htmlCorrectedQuery) + { + $this->htmlCorrectedQuery = $htmlCorrectedQuery; + } + public function getHtmlCorrectedQuery() + { + return $this->htmlCorrectedQuery; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php new file mode 100644 index 00000000..a89e160f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Customsearch/SearchUrl.php @@ -0,0 +1,39 @@ +template = $template; + } + public function getTemplate() + { + return $this->template; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php new file mode 100644 index 00000000..8bb7f3b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer.php @@ -0,0 +1,147 @@ + + * Transfers user data from one user to another.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_DataTransfer extends Google_Service +{ + /** View and manage data transfers between users in your organization. */ + const ADMIN_DATATRANSFER = + "https://www.googleapis.com/auth/admin.datatransfer"; + /** View data transfers between users in your organization. */ + const ADMIN_DATATRANSFER_READONLY = + "https://www.googleapis.com/auth/admin.datatransfer.readonly"; + + public $applications; + public $transfers; + + /** + * Constructs the internal representation of the DataTransfer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/datatransfer/v1/'; + $this->version = 'datatransfer_v1'; + $this->serviceName = 'admin'; + + $this->applications = new Google_Service_DataTransfer_Resource_Applications( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'get' => array( + 'path' => 'applications/{applicationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->transfers = new Google_Service_DataTransfer_Resource_Transfers( + $this, + $this->serviceName, + 'transfers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'transfers/{dataTransferId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'dataTransferId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'transfers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'transfers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'newOwnerUserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'oldOwnerUserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php new file mode 100644 index 00000000..fe402a05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Application.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTransferParams($transferParams) + { + $this->transferParams = $transferParams; + } + public function getTransferParams() + { + return $this->transferParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php new file mode 100644 index 00000000..3b701c9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php @@ -0,0 +1,50 @@ +applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setApplicationTransferParams($applicationTransferParams) + { + $this->applicationTransferParams = $applicationTransferParams; + } + public function getApplicationTransferParams() + { + return $this->applicationTransferParams; + } + public function setApplicationTransferStatus($applicationTransferStatus) + { + $this->applicationTransferStatus = $applicationTransferStatus; + } + public function getApplicationTransferStatus() + { + return $this->applicationTransferStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php new file mode 100644 index 00000000..d9ebbf5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php @@ -0,0 +1,40 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php new file mode 100644 index 00000000..4d7f5e05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php @@ -0,0 +1,59 @@ +applications = $applications; + } + public function getApplications() + { + return $this->applications; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php new file mode 100644 index 00000000..70b666ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php @@ -0,0 +1,95 @@ +applicationDataTransfers = $applicationDataTransfers; + } + public function getApplicationDataTransfers() + { + return $this->applicationDataTransfers; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewOwnerUserId($newOwnerUserId) + { + $this->newOwnerUserId = $newOwnerUserId; + } + public function getNewOwnerUserId() + { + return $this->newOwnerUserId; + } + public function setOldOwnerUserId($oldOwnerUserId) + { + $this->oldOwnerUserId = $oldOwnerUserId; + } + public function getOldOwnerUserId() + { + return $this->oldOwnerUserId; + } + public function setOverallTransferStatusCode($overallTransferStatusCode) + { + $this->overallTransferStatusCode = $overallTransferStatusCode; + } + public function getOverallTransferStatusCode() + { + return $this->overallTransferStatusCode; + } + public function setRequestTime($requestTime) + { + $this->requestTime = $requestTime; + } + public function getRequestTime() + { + return $this->requestTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php new file mode 100644 index 00000000..e4e016b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php @@ -0,0 +1,59 @@ +dataTransfers = $dataTransfers; + } + public function getDataTransfers() + { + return $this->dataTransfers; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php new file mode 100644 index 00000000..b16b46f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php @@ -0,0 +1,60 @@ + + * $adminService = new Google_Service_DataTransfer(...); + * $applications = $adminService->applications; + * + */ +class Google_Service_DataTransfer_Resource_Applications extends Google_Service_Resource +{ + /** + * Retrieves information about an application for the given application ID. + * (applications.get) + * + * @param string $applicationId ID of the application resource to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_Application + */ + public function get($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DataTransfer_Application"); + } + /** + * Lists the applications available for data transfer for a customer. + * (applications.listApplications) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customerId Immutable ID of the Google Apps account. + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. + * @opt_param string pageToken Token to specify next page in the list. + * @return Google_Service_DataTransfer_ApplicationsListResponse + */ + public function listApplications($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DataTransfer_ApplicationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php new file mode 100644 index 00000000..34389dad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php @@ -0,0 +1,76 @@ + + * $adminService = new Google_Service_DataTransfer(...); + * $transfers = $adminService->transfers; + * + */ +class Google_Service_DataTransfer_Resource_Transfers extends Google_Service_Resource +{ + /** + * Retrieves a data transfer request by its resource ID. (transfers.get) + * + * @param string $dataTransferId ID of the resource to be retrieved. This is + * returned in the response from the insert method. + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_DataTransfer + */ + public function get($dataTransferId, $optParams = array()) + { + $params = array('dataTransferId' => $dataTransferId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DataTransfer_DataTransfer"); + } + /** + * Inserts a data transfer request. (transfers.insert) + * + * @param Google_Service_DataTransfer_DataTransfer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_DataTransfer + */ + public function insert(Google_Service_DataTransfer_DataTransfer $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_DataTransfer_DataTransfer"); + } + /** + * Lists the transfers for a customer by source user, destination user, or + * status. (transfers.listTransfers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customerId Immutable ID of the Google Apps account. + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. + * @opt_param string newOwnerUserId Destination user's profile ID. + * @opt_param string oldOwnerUserId Source user's profile ID. + * @opt_param string pageToken Token to specify the next page in the list. + * @opt_param string status Status of the transfer. + * @return Google_Service_DataTransfer_DataTransfersListResponse + */ + public function listTransfers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DataTransfer_DataTransfersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php new file mode 100644 index 00000000..a76d4dc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow.php @@ -0,0 +1,628 @@ + + * Manages Google Cloud Dataflow projects on Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Dataflow extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $projects; + public $projects_jobs; + public $projects_jobs_debug; + public $projects_jobs_messages; + public $projects_jobs_workItems; + public $projects_locations_jobs; + public $projects_locations_jobs_messages; + public $projects_locations_jobs_workItems; + public $projects_templates; + + /** + * Constructs the internal representation of the Dataflow service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://dataflow.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1b3'; + $this->serviceName = 'dataflow'; + + $this->projects = new Google_Service_Dataflow_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'workerMessages' => array( + 'path' => 'v1b3/projects/{projectId}/WorkerMessages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_jobs = new Google_Service_Dataflow_Resource_ProjectsJobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1b3/projects/{projectId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'replaceJobId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getMetrics' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1b3/projects/{projectId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_jobs_debug = new Google_Service_Dataflow_Resource_ProjectsJobsDebug( + $this, + $this->serviceName, + 'debug', + array( + 'methods' => array( + 'getConfig' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'sendCapture' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsJobsMessages( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minimumImportance' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsJobsWorkItems( + $this, + $this->serviceName, + 'workItems', + array( + 'methods' => array( + 'lease' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportStatus' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_locations_jobs = new Google_Service_Dataflow_Resource_ProjectsLocationsJobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceJobId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getMetrics' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_locations_jobs_messages = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minimumImportance' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_locations_jobs_workItems = new Google_Service_Dataflow_Resource_ProjectsLocationsJobsWorkItems( + $this, + $this->serviceName, + 'workItems', + array( + 'methods' => array( + 'lease' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportStatus' => array( + 'path' => 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'location' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_templates = new Google_Service_Dataflow_Resource_ProjectsTemplates( + $this, + $this->serviceName, + 'templates', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1b3/projects/{projectId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1b3/projects/{projectId}/templates:get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'gcsPath' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'launch' => array( + 'path' => 'v1b3/projects/{projectId}/templates:launch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'gcsPath' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php new file mode 100644 index 00000000..8cb3234d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateProgress.php @@ -0,0 +1,49 @@ +percentComplete = $percentComplete; + } + public function getPercentComplete() + { + return $this->percentComplete; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setRemainingTime($remainingTime) + { + $this->remainingTime = $remainingTime; + } + public function getRemainingTime() + { + return $this->remainingTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php new file mode 100644 index 00000000..a74e93bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateReportedProgress.php @@ -0,0 +1,60 @@ +consumedParallelism = $consumedParallelism; + } + public function getConsumedParallelism() + { + return $this->consumedParallelism; + } + public function setFractionConsumed($fractionConsumed) + { + $this->fractionConsumed = $fractionConsumed; + } + public function getFractionConsumed() + { + return $this->fractionConsumed; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setRemainingParallelism(Google_Service_Dataflow_ReportedParallelism $remainingParallelism) + { + $this->remainingParallelism = $remainingParallelism; + } + public function getRemainingParallelism() + { + return $this->remainingParallelism; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php new file mode 100644 index 00000000..f37e7ef2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ApproximateSplitRequest.php @@ -0,0 +1,40 @@ +fractionConsumed = $fractionConsumed; + } + public function getFractionConsumed() + { + return $this->fractionConsumed; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php new file mode 100644 index 00000000..457ae2e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/AutoscalingSettings.php @@ -0,0 +1,39 @@ +algorithm = $algorithm; + } + public function getAlgorithm() + { + return $this->algorithm; + } + public function setMaxNumWorkers($maxNumWorkers) + { + $this->maxNumWorkers = $maxNumWorkers; + } + public function getMaxNumWorkers() + { + return $this->maxNumWorkers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php new file mode 100644 index 00000000..346202f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CPUTime.php @@ -0,0 +1,48 @@ +rate = $rate; + } + public function getRate() + { + return $this->rate; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setTotalMs($totalMs) + { + $this->totalMs = $totalMs; + } + public function getTotalMs() + { + return $this->totalMs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php new file mode 100644 index 00000000..35860b7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentSource.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalTransformOrCollection($originalTransformOrCollection) + { + $this->originalTransformOrCollection = $originalTransformOrCollection; + } + public function getOriginalTransformOrCollection() + { + return $this->originalTransformOrCollection; + } + public function setUserName($userName) + { + $this->userName = $userName; + } + public function getUserName() + { + return $this->userName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php new file mode 100644 index 00000000..7c2f1d9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComponentTransform.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalTransform($originalTransform) + { + $this->originalTransform = $originalTransform; + } + public function getOriginalTransform() + { + return $this->originalTransform; + } + public function setUserName($userName) + { + $this->userName = $userName; + } + public function getUserName() + { + return $this->userName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php new file mode 100644 index 00000000..f6b7b06a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ComputationTopology.php @@ -0,0 +1,89 @@ +computationId = $computationId; + } + public function getComputationId() + { + return $this->computationId; + } + public function setInputs($inputs) + { + $this->inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } + public function setKeyRanges($keyRanges) + { + $this->keyRanges = $keyRanges; + } + public function getKeyRanges() + { + return $this->keyRanges; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setStateFamilies($stateFamilies) + { + $this->stateFamilies = $stateFamilies; + } + public function getStateFamilies() + { + return $this->stateFamilies; + } + public function setSystemStageName($systemStageName) + { + $this->systemStageName = $systemStageName; + } + public function getSystemStageName() + { + return $this->systemStageName; + } + public function setUserStageName($userStageName) + { + $this->userStageName = $userStageName; + } + public function getUserStageName() + { + return $this->userStageName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php new file mode 100644 index 00000000..06f884a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ConcatPosition.php @@ -0,0 +1,40 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php new file mode 100644 index 00000000..d0546068 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterMetadata.php @@ -0,0 +1,57 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOtherUnits($otherUnits) + { + $this->otherUnits = $otherUnits; + } + public function getOtherUnits() + { + return $this->otherUnits; + } + public function setStandardUnits($standardUnits) + { + $this->standardUnits = $standardUnits; + } + public function getStandardUnits() + { + return $this->standardUnits; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php new file mode 100644 index 00000000..defd6b1e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredName.php @@ -0,0 +1,93 @@ +componentStepName = $componentStepName; + } + public function getComponentStepName() + { + return $this->componentStepName; + } + public function setExecutionStepName($executionStepName) + { + $this->executionStepName = $executionStepName; + } + public function getExecutionStepName() + { + return $this->executionStepName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setOriginNamespace($originNamespace) + { + $this->originNamespace = $originNamespace; + } + public function getOriginNamespace() + { + return $this->originNamespace; + } + public function setOriginalStepName($originalStepName) + { + $this->originalStepName = $originalStepName; + } + public function getOriginalStepName() + { + return $this->originalStepName; + } + public function setPortion($portion) + { + $this->portion = $portion; + } + public function getPortion() + { + return $this->portion; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php new file mode 100644 index 00000000..4d22eaf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterStructuredNameAndMetadata.php @@ -0,0 +1,41 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName(Google_Service_Dataflow_CounterStructuredName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php new file mode 100644 index 00000000..025d61b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CounterUpdate.php @@ -0,0 +1,156 @@ +boolean = $boolean; + } + public function getBoolean() + { + return $this->boolean; + } + public function setCumulative($cumulative) + { + $this->cumulative = $cumulative; + } + public function getCumulative() + { + return $this->cumulative; + } + public function setDistribution(Google_Service_Dataflow_DistributionUpdate $distribution) + { + $this->distribution = $distribution; + } + public function getDistribution() + { + return $this->distribution; + } + public function setFloatingPoint($floatingPoint) + { + $this->floatingPoint = $floatingPoint; + } + public function getFloatingPoint() + { + return $this->floatingPoint; + } + public function setFloatingPointList(Google_Service_Dataflow_FloatingPointList $floatingPointList) + { + $this->floatingPointList = $floatingPointList; + } + public function getFloatingPointList() + { + return $this->floatingPointList; + } + public function setFloatingPointMean(Google_Service_Dataflow_FloatingPointMean $floatingPointMean) + { + $this->floatingPointMean = $floatingPointMean; + } + public function getFloatingPointMean() + { + return $this->floatingPointMean; + } + public function setInteger(Google_Service_Dataflow_SplitInt64 $integer) + { + $this->integer = $integer; + } + public function getInteger() + { + return $this->integer; + } + public function setIntegerList(Google_Service_Dataflow_IntegerList $integerList) + { + $this->integerList = $integerList; + } + public function getIntegerList() + { + return $this->integerList; + } + public function setIntegerMean(Google_Service_Dataflow_IntegerMean $integerMean) + { + $this->integerMean = $integerMean; + } + public function getIntegerMean() + { + return $this->integerMean; + } + public function setInternal($internal) + { + $this->internal = $internal; + } + public function getInternal() + { + return $this->internal; + } + public function setNameAndKind(Google_Service_Dataflow_NameAndKind $nameAndKind) + { + $this->nameAndKind = $nameAndKind; + } + public function getNameAndKind() + { + return $this->nameAndKind; + } + public function setShortId($shortId) + { + $this->shortId = $shortId; + } + public function getShortId() + { + return $this->shortId; + } + public function setStringList(Google_Service_Dataflow_StringList $stringList) + { + $this->stringList = $stringList; + } + public function getStringList() + { + return $this->stringList; + } + public function setStructuredNameAndMetadata(Google_Service_Dataflow_CounterStructuredNameAndMetadata $structuredNameAndMetadata) + { + $this->structuredNameAndMetadata = $structuredNameAndMetadata; + } + public function getStructuredNameAndMetadata() + { + return $this->structuredNameAndMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php new file mode 100644 index 00000000..5d95c17e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CreateJobFromTemplateRequest.php @@ -0,0 +1,58 @@ +environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } + public function setGcsPath($gcsPath) + { + $this->gcsPath = $gcsPath; + } + public function getGcsPath() + { + return $this->gcsPath; + } + public function setJobName($jobName) + { + $this->jobName = $jobName; + } + public function getJobName() + { + return $this->jobName; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php new file mode 100644 index 00000000..953c4d66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/CustomSourceLocation.php @@ -0,0 +1,30 @@ +stateful = $stateful; + } + public function getStateful() + { + return $this->stateful; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php new file mode 100644 index 00000000..dc94b888 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DataDiskAssignment.php @@ -0,0 +1,40 @@ +dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setVmInstance($vmInstance) + { + $this->vmInstance = $vmInstance; + } + public function getVmInstance() + { + return $this->vmInstance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php new file mode 100644 index 00000000..26c6d0ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DerivedSource.php @@ -0,0 +1,40 @@ +derivationMode = $derivationMode; + } + public function getDerivationMode() + { + return $this->derivationMode; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php new file mode 100644 index 00000000..510ab3e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Disk.php @@ -0,0 +1,48 @@ +diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setMountPoint($mountPoint) + { + $this->mountPoint = $mountPoint; + } + public function getMountPoint() + { + return $this->mountPoint; + } + public function setSizeGb($sizeGb) + { + $this->sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php new file mode 100644 index 00000000..5755a466 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DisplayData.php @@ -0,0 +1,129 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDurationValue($durationValue) + { + $this->durationValue = $durationValue; + } + public function getDurationValue() + { + return $this->durationValue; + } + public function setFloatValue($floatValue) + { + $this->floatValue = $floatValue; + } + public function getFloatValue() + { + return $this->floatValue; + } + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + public function getInt64Value() + { + return $this->int64Value; + } + public function setJavaClassValue($javaClassValue) + { + $this->javaClassValue = $javaClassValue; + } + public function getJavaClassValue() + { + return $this->javaClassValue; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setNamespace($namespace) + { + $this->namespace = $namespace; + } + public function getNamespace() + { + return $this->namespace; + } + public function setShortStrValue($shortStrValue) + { + $this->shortStrValue = $shortStrValue; + } + public function getShortStrValue() + { + return $this->shortStrValue; + } + public function setStrValue($strValue) + { + $this->strValue = $strValue; + } + public function getStrValue() + { + return $this->strValue; + } + public function setTimestampValue($timestampValue) + { + $this->timestampValue = $timestampValue; + } + public function getTimestampValue() + { + return $this->timestampValue; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php new file mode 100644 index 00000000..0776ed81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DistributionUpdate.php @@ -0,0 +1,70 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMax(Google_Service_Dataflow_SplitInt64 $max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin(Google_Service_Dataflow_SplitInt64 $min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } + public function setSum(Google_Service_Dataflow_SplitInt64 $sum) + { + $this->sum = $sum; + } + public function getSum() + { + return $this->sum; + } + public function setSumOfSquares($sumOfSquares) + { + $this->sumOfSquares = $sumOfSquares; + } + public function getSumOfSquares() + { + return $this->sumOfSquares; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php new file mode 100644 index 00000000..e7eb306e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/DynamicSourceSplit.php @@ -0,0 +1,41 @@ +primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setResidual(Google_Service_Dataflow_DerivedSource $residual) + { + $this->residual = $residual; + } + public function getResidual() + { + return $this->residual; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php new file mode 100644 index 00000000..893044cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Environment.php @@ -0,0 +1,113 @@ +clusterManagerApiService = $clusterManagerApiService; + } + public function getClusterManagerApiService() + { + return $this->clusterManagerApiService; + } + public function setDataset($dataset) + { + $this->dataset = $dataset; + } + public function getDataset() + { + return $this->dataset; + } + public function setExperiments($experiments) + { + $this->experiments = $experiments; + } + public function getExperiments() + { + return $this->experiments; + } + public function setInternalExperiments($internalExperiments) + { + $this->internalExperiments = $internalExperiments; + } + public function getInternalExperiments() + { + return $this->internalExperiments; + } + public function setSdkPipelineOptions($sdkPipelineOptions) + { + $this->sdkPipelineOptions = $sdkPipelineOptions; + } + public function getSdkPipelineOptions() + { + return $this->sdkPipelineOptions; + } + public function setServiceAccountEmail($serviceAccountEmail) + { + $this->serviceAccountEmail = $serviceAccountEmail; + } + public function getServiceAccountEmail() + { + return $this->serviceAccountEmail; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setWorkerPools($workerPools) + { + $this->workerPools = $workerPools; + } + public function getWorkerPools() + { + return $this->workerPools; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php new file mode 100644 index 00000000..0015f6ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ExecutionStageSummary.php @@ -0,0 +1,89 @@ +componentSource = $componentSource; + } + public function getComponentSource() + { + return $this->componentSource; + } + public function setComponentTransform($componentTransform) + { + $this->componentTransform = $componentTransform; + } + public function getComponentTransform() + { + return $this->componentTransform; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInputSource($inputSource) + { + $this->inputSource = $inputSource; + } + public function getInputSource() + { + return $this->inputSource; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputSource($outputSource) + { + $this->outputSource = $outputSource; + } + public function getOutputSource() + { + return $this->outputSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php new file mode 100644 index 00000000..86ad9bf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FailedLocation.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php new file mode 100644 index 00000000..b553b04f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FlattenInstruction.php @@ -0,0 +1,32 @@ +inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php new file mode 100644 index 00000000..82c587e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointList.php @@ -0,0 +1,31 @@ +elements = $elements; + } + public function getElements() + { + return $this->elements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php new file mode 100644 index 00000000..344fff82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/FloatingPointMean.php @@ -0,0 +1,40 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setSum($sum) + { + $this->sum = $sum; + } + public function getSum() + { + return $this->sum; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php new file mode 100644 index 00000000..0b9c5738 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigRequest.php @@ -0,0 +1,39 @@ +componentId = $componentId; + } + public function getComponentId() + { + return $this->componentId; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php new file mode 100644 index 00000000..e5e033e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetDebugConfigResponse.php @@ -0,0 +1,30 @@ +config = $config; + } + public function getConfig() + { + return $this->config; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php new file mode 100644 index 00000000..532ac258 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/GetTemplateResponse.php @@ -0,0 +1,41 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setStatus(Google_Service_Dataflow_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php new file mode 100644 index 00000000..cee054b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionInput.php @@ -0,0 +1,39 @@ +outputNum = $outputNum; + } + public function getOutputNum() + { + return $this->outputNum; + } + public function setProducerInstructionIndex($producerInstructionIndex) + { + $this->producerInstructionIndex = $producerInstructionIndex; + } + public function getProducerInstructionIndex() + { + return $this->producerInstructionIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php new file mode 100644 index 00000000..ceb12186 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/InstructionOutput.php @@ -0,0 +1,75 @@ +codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOnlyCountKeyBytes($onlyCountKeyBytes) + { + $this->onlyCountKeyBytes = $onlyCountKeyBytes; + } + public function getOnlyCountKeyBytes() + { + return $this->onlyCountKeyBytes; + } + public function setOnlyCountValueBytes($onlyCountValueBytes) + { + $this->onlyCountValueBytes = $onlyCountValueBytes; + } + public function getOnlyCountValueBytes() + { + return $this->onlyCountValueBytes; + } + public function setOriginalName($originalName) + { + $this->originalName = $originalName; + } + public function getOriginalName() + { + return $this->originalName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php new file mode 100644 index 00000000..98f733f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerList.php @@ -0,0 +1,32 @@ +elements = $elements; + } + public function getElements() + { + return $this->elements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php new file mode 100644 index 00000000..a82b2813 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/IntegerMean.php @@ -0,0 +1,41 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setSum(Google_Service_Dataflow_SplitInt64 $sum) + { + $this->sum = $sum; + } + public function getSum() + { + return $this->sum; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php new file mode 100644 index 00000000..151c2876 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Job.php @@ -0,0 +1,197 @@ +clientRequestId = $clientRequestId; + } + public function getClientRequestId() + { + return $this->clientRequestId; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setCurrentStateTime($currentStateTime) + { + $this->currentStateTime = $currentStateTime; + } + public function getCurrentStateTime() + { + return $this->currentStateTime; + } + public function setEnvironment(Google_Service_Dataflow_Environment $environment) + { + $this->environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } + public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo) + { + $this->executionInfo = $executionInfo; + } + public function getExecutionInfo() + { + return $this->executionInfo; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPipelineDescription(Google_Service_Dataflow_PipelineDescription $pipelineDescription) + { + $this->pipelineDescription = $pipelineDescription; + } + public function getPipelineDescription() + { + return $this->pipelineDescription; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReplaceJobId($replaceJobId) + { + $this->replaceJobId = $replaceJobId; + } + public function getReplaceJobId() + { + return $this->replaceJobId; + } + public function setReplacedByJobId($replacedByJobId) + { + $this->replacedByJobId = $replacedByJobId; + } + public function getReplacedByJobId() + { + return $this->replacedByJobId; + } + public function setRequestedState($requestedState) + { + $this->requestedState = $requestedState; + } + public function getRequestedState() + { + return $this->requestedState; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setTempFiles($tempFiles) + { + $this->tempFiles = $tempFiles; + } + public function getTempFiles() + { + return $this->tempFiles; + } + public function setTransformNameMapping($transformNameMapping) + { + $this->transformNameMapping = $transformNameMapping; + } + public function getTransformNameMapping() + { + return $this->transformNameMapping; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php new file mode 100644 index 00000000..602dc87f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionInfo.php @@ -0,0 +1,31 @@ +stages = $stages; + } + public function getStages() + { + return $this->stages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php new file mode 100644 index 00000000..765af53c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobExecutionStageInfo.php @@ -0,0 +1,31 @@ +stepName = $stepName; + } + public function getStepName() + { + return $this->stepName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php new file mode 100644 index 00000000..6ef9ad0e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMessage.php @@ -0,0 +1,57 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessageImportance($messageImportance) + { + $this->messageImportance = $messageImportance; + } + public function getMessageImportance() + { + return $this->messageImportance; + } + public function setMessageText($messageText) + { + $this->messageText = $messageText; + } + public function getMessageText() + { + return $this->messageText; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php new file mode 100644 index 00000000..c096b480 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/JobMetrics.php @@ -0,0 +1,41 @@ +metricTime = $metricTime; + } + public function getMetricTime() + { + return $this->metricTime; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php new file mode 100644 index 00000000..b4cca2b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeDataDiskAssignment.php @@ -0,0 +1,48 @@ +dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php new file mode 100644 index 00000000..0c398718 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/KeyRangeLocation.php @@ -0,0 +1,66 @@ +dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } + public function setDeliveryEndpoint($deliveryEndpoint) + { + $this->deliveryEndpoint = $deliveryEndpoint; + } + public function getDeliveryEndpoint() + { + return $this->deliveryEndpoint; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPersistentDirectory($persistentDirectory) + { + $this->persistentDirectory = $persistentDirectory; + } + public function getPersistentDirectory() + { + return $this->persistentDirectory; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php new file mode 100644 index 00000000..6d8f02af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateParameters.php @@ -0,0 +1,49 @@ +environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } + public function setJobName($jobName) + { + $this->jobName = $jobName; + } + public function getJobName() + { + return $this->jobName; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php new file mode 100644 index 00000000..04e2a323 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LaunchTemplateResponse.php @@ -0,0 +1,41 @@ +job = $job; + } + public function getJob() + { + return $this->job; + } + public function setStatus(Google_Service_Dataflow_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php new file mode 100644 index 00000000..9a193a10 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemRequest.php @@ -0,0 +1,76 @@ +currentWorkerTime = $currentWorkerTime; + } + public function getCurrentWorkerTime() + { + return $this->currentWorkerTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setRequestedLeaseDuration($requestedLeaseDuration) + { + $this->requestedLeaseDuration = $requestedLeaseDuration; + } + public function getRequestedLeaseDuration() + { + return $this->requestedLeaseDuration; + } + public function setWorkItemTypes($workItemTypes) + { + $this->workItemTypes = $workItemTypes; + } + public function getWorkItemTypes() + { + return $this->workItemTypes; + } + public function setWorkerCapabilities($workerCapabilities) + { + $this->workerCapabilities = $workerCapabilities; + } + public function getWorkerCapabilities() + { + return $this->workerCapabilities; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php new file mode 100644 index 00000000..c4df8496 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/LeaseWorkItemResponse.php @@ -0,0 +1,32 @@ +workItems = $workItems; + } + public function getWorkItems() + { + return $this->workItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php new file mode 100644 index 00000000..e71cdfb9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobMessagesResponse.php @@ -0,0 +1,41 @@ +jobMessages = $jobMessages; + } + public function getJobMessages() + { + return $this->jobMessages; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php new file mode 100644 index 00000000..65d7f213 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ListJobsResponse.php @@ -0,0 +1,51 @@ +failedLocation = $failedLocation; + } + public function getFailedLocation() + { + return $this->failedLocation; + } + public function setJobs($jobs) + { + $this->jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php new file mode 100644 index 00000000..c34ffcae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MapTask.php @@ -0,0 +1,50 @@ +instructions = $instructions; + } + public function getInstructions() + { + return $this->instructions; + } + public function setStageName($stageName) + { + $this->stageName = $stageName; + } + public function getStageName() + { + return $this->stageName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php new file mode 100644 index 00000000..f16334fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricShortId.php @@ -0,0 +1,39 @@ +metricIndex = $metricIndex; + } + public function getMetricIndex() + { + return $this->metricIndex; + } + public function setShortId($shortId) + { + $this->shortId = $shortId; + } + public function getShortId() + { + return $this->shortId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php new file mode 100644 index 00000000..93f44ee7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricStructuredName.php @@ -0,0 +1,48 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php new file mode 100644 index 00000000..d3db38c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MetricUpdate.php @@ -0,0 +1,103 @@ +cumulative = $cumulative; + } + public function getCumulative() + { + return $this->cumulative; + } + public function setInternal($internal) + { + $this->internal = $internal; + } + public function getInternal() + { + return $this->internal; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMeanCount($meanCount) + { + $this->meanCount = $meanCount; + } + public function getMeanCount() + { + return $this->meanCount; + } + public function setMeanSum($meanSum) + { + $this->meanSum = $meanSum; + } + public function getMeanSum() + { + return $this->meanSum; + } + public function setName(Google_Service_Dataflow_MetricStructuredName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScalar($scalar) + { + $this->scalar = $scalar; + } + public function getScalar() + { + return $this->scalar; + } + public function setSet($set) + { + $this->set = $set; + } + public function getSet() + { + return $this->set; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php new file mode 100644 index 00000000..d718ca84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MountedDataDisk.php @@ -0,0 +1,30 @@ +dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php new file mode 100644 index 00000000..ed025f9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/MultiOutputInfo.php @@ -0,0 +1,30 @@ +tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php new file mode 100644 index 00000000..31f3a8b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/NameAndKind.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php new file mode 100644 index 00000000..7ca41364 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Package.php @@ -0,0 +1,39 @@ +location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php new file mode 100644 index 00000000..9978da58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParDoInstruction.php @@ -0,0 +1,70 @@ +input = $input; + } + public function getInput() + { + return $this->input; + } + public function setMultiOutputInfos($multiOutputInfos) + { + $this->multiOutputInfos = $multiOutputInfos; + } + public function getMultiOutputInfos() + { + return $this->multiOutputInfos; + } + public function setNumOutputs($numOutputs) + { + $this->numOutputs = $numOutputs; + } + public function getNumOutputs() + { + return $this->numOutputs; + } + public function setSideInputs($sideInputs) + { + $this->sideInputs = $sideInputs; + } + public function getSideInputs() + { + return $this->sideInputs; + } + public function setUserFn($userFn) + { + $this->userFn = $userFn; + } + public function getUserFn() + { + return $this->userFn; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php new file mode 100644 index 00000000..1efb2afb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParallelInstruction.php @@ -0,0 +1,109 @@ +flatten = $flatten; + } + public function getFlatten() + { + return $this->flatten; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalName($originalName) + { + $this->originalName = $originalName; + } + public function getOriginalName() + { + return $this->originalName; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo) + { + $this->parDo = $parDo; + } + public function getParDo() + { + return $this->parDo; + } + public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey) + { + $this->partialGroupByKey = $partialGroupByKey; + } + public function getPartialGroupByKey() + { + return $this->partialGroupByKey; + } + public function setRead(Google_Service_Dataflow_ReadInstruction $read) + { + $this->read = $read; + } + public function getRead() + { + return $this->read; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } + public function setWrite(Google_Service_Dataflow_WriteInstruction $write) + { + $this->write = $write; + } + public function getWrite() + { + return $this->write; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php new file mode 100644 index 00000000..36038cc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ParameterMetadata.php @@ -0,0 +1,67 @@ +helpText = $helpText; + } + public function getHelpText() + { + return $this->helpText; + } + public function setIsOptional($isOptional) + { + $this->isOptional = $isOptional; + } + public function getIsOptional() + { + return $this->isOptional; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegexes($regexes) + { + $this->regexes = $regexes; + } + public function getRegexes() + { + return $this->regexes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php new file mode 100644 index 00000000..85f514f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PartialGroupByKeyInstruction.php @@ -0,0 +1,78 @@ +input = $input; + } + public function getInput() + { + return $this->input; + } + public function setInputElementCodec($inputElementCodec) + { + $this->inputElementCodec = $inputElementCodec; + } + public function getInputElementCodec() + { + return $this->inputElementCodec; + } + public function setOriginalCombineValuesInputStoreName($originalCombineValuesInputStoreName) + { + $this->originalCombineValuesInputStoreName = $originalCombineValuesInputStoreName; + } + public function getOriginalCombineValuesInputStoreName() + { + return $this->originalCombineValuesInputStoreName; + } + public function setOriginalCombineValuesStepName($originalCombineValuesStepName) + { + $this->originalCombineValuesStepName = $originalCombineValuesStepName; + } + public function getOriginalCombineValuesStepName() + { + return $this->originalCombineValuesStepName; + } + public function setSideInputs($sideInputs) + { + $this->sideInputs = $sideInputs; + } + public function getSideInputs() + { + return $this->sideInputs; + } + public function setValueCombiningFn($valueCombiningFn) + { + $this->valueCombiningFn = $valueCombiningFn; + } + public function getValueCombiningFn() + { + return $this->valueCombiningFn; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php new file mode 100644 index 00000000..289da1f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PipelineDescription.php @@ -0,0 +1,52 @@ +displayData = $displayData; + } + public function getDisplayData() + { + return $this->displayData; + } + public function setExecutionPipelineStage($executionPipelineStage) + { + $this->executionPipelineStage = $executionPipelineStage; + } + public function getExecutionPipelineStage() + { + return $this->executionPipelineStage; + } + public function setOriginalPipelineTransform($originalPipelineTransform) + { + $this->originalPipelineTransform = $originalPipelineTransform; + } + public function getOriginalPipelineTransform() + { + return $this->originalPipelineTransform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php new file mode 100644 index 00000000..9942c245 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Position.php @@ -0,0 +1,76 @@ +byteOffset = $byteOffset; + } + public function getByteOffset() + { + return $this->byteOffset; + } + public function setConcatPosition(Google_Service_Dataflow_ConcatPosition $concatPosition) + { + $this->concatPosition = $concatPosition; + } + public function getConcatPosition() + { + return $this->concatPosition; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setRecordIndex($recordIndex) + { + $this->recordIndex = $recordIndex; + } + public function getRecordIndex() + { + return $this->recordIndex; + } + public function setShufflePosition($shufflePosition) + { + $this->shufflePosition = $shufflePosition; + } + public function getShufflePosition() + { + return $this->shufflePosition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php new file mode 100644 index 00000000..775e7ed6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/PubsubLocation.php @@ -0,0 +1,84 @@ +dropLateData = $dropLateData; + } + public function getDropLateData() + { + return $this->dropLateData; + } + public function setIdLabel($idLabel) + { + $this->idLabel = $idLabel; + } + public function getIdLabel() + { + return $this->idLabel; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } + public function setTimestampLabel($timestampLabel) + { + $this->timestampLabel = $timestampLabel; + } + public function getTimestampLabel() + { + return $this->timestampLabel; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } + public function setTrackingSubscription($trackingSubscription) + { + $this->trackingSubscription = $trackingSubscription; + } + public function getTrackingSubscription() + { + return $this->trackingSubscription; + } + public function setWithAttributes($withAttributes) + { + $this->withAttributes = $withAttributes; + } + public function getWithAttributes() + { + return $this->withAttributes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php new file mode 100644 index 00000000..ed30b3de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReadInstruction.php @@ -0,0 +1,31 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php new file mode 100644 index 00000000..23cc2175 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusRequest.php @@ -0,0 +1,59 @@ +currentWorkerTime = $currentWorkerTime; + } + public function getCurrentWorkerTime() + { + return $this->currentWorkerTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setWorkItemStatuses($workItemStatuses) + { + $this->workItemStatuses = $workItemStatuses; + } + public function getWorkItemStatuses() + { + return $this->workItemStatuses; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php new file mode 100644 index 00000000..ec7e4202 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportWorkItemStatusResponse.php @@ -0,0 +1,32 @@ +workItemServiceStates = $workItemServiceStates; + } + public function getWorkItemServiceStates() + { + return $this->workItemServiceStates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php new file mode 100644 index 00000000..c0b1089e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ReportedParallelism.php @@ -0,0 +1,39 @@ +isInfinite = $isInfinite; + } + public function getIsInfinite() + { + return $this->isInfinite; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php new file mode 100644 index 00000000..cb87dc99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/Projects.php @@ -0,0 +1,42 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $projects = $dataflowService->projects; + * + */ +class Google_Service_Dataflow_Resource_Projects extends Google_Service_Resource +{ + /** + * Send a worker_message to the service. (projects.workerMessages) + * + * @param string $projectId The project to send the WorkerMessages to. + * @param Google_Service_Dataflow_SendWorkerMessagesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_SendWorkerMessagesResponse + */ + public function workerMessages($projectId, Google_Service_Dataflow_SendWorkerMessagesRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('workerMessages', array($params), "Google_Service_Dataflow_SendWorkerMessagesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php new file mode 100644 index 00000000..f7465aa8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobs.php @@ -0,0 +1,127 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $jobs = $dataflowService->jobs; + * + */ +class Google_Service_Dataflow_Resource_ProjectsJobs extends Google_Service_Resource +{ + /** + * Creates a Cloud Dataflow job. (jobs.create) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param Google_Service_Dataflow_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string location The location that contains this job. + * @opt_param string replaceJobId Deprecated. This field is now in the Job + * message. + * @opt_param string view The level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dataflow_Job"); + } + /** + * Gets the state of the specified Cloud Dataflow job. (jobs.get) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param string $jobId The job ID. + * @param array $optParams Optional parameters. + * + * @opt_param string location The location that contains this job. + * @opt_param string view The level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function get($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataflow_Job"); + } + /** + * Request the job status. (jobs.getMetrics) + * + * @param string $projectId A project id. + * @param string $jobId The job to get messages for. + * @param array $optParams Optional parameters. + * + * @opt_param string startTime Return only metric data that has changed since + * this time. Default is to return all information about all metrics for the + * job. + * @opt_param string location The location which contains the job specified by + * job_id. + * @return Google_Service_Dataflow_JobMetrics + */ + public function getMetrics($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics"); + } + /** + * List the jobs of a project. (jobs.listProjectsJobs) + * + * @param string $projectId The project which owns the jobs. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The kind of filter to use. + * @opt_param string location The location that contains this job. + * @opt_param string pageToken Set this to the 'next_page_token' field of a + * previous response to request additional results in a long list. + * @opt_param int pageSize If there are many jobs, limit response to at most + * this many. The actual number of jobs returned will be the lesser of + * max_responses and an unspecified server-defined limit. + * @opt_param string view Level of information requested in response. Default is + * `JOB_VIEW_SUMMARY`. + * @return Google_Service_Dataflow_ListJobsResponse + */ + public function listProjectsJobs($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse"); + } + /** + * Updates the state of an existing Cloud Dataflow job. (jobs.update) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param string $jobId The job ID. + * @param Google_Service_Dataflow_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string location The location that contains this job. + * @return Google_Service_Dataflow_Job + */ + public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dataflow_Job"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php new file mode 100644 index 00000000..ea70131e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsDebug.php @@ -0,0 +1,59 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $debug = $dataflowService->debug; + * + */ +class Google_Service_Dataflow_Resource_ProjectsJobsDebug extends Google_Service_Resource +{ + /** + * Get encoded debug configuration for component. Not cacheable. + * (debug.getConfig) + * + * @param string $projectId The project id. + * @param string $jobId The job id. + * @param Google_Service_Dataflow_GetDebugConfigRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_GetDebugConfigResponse + */ + public function getConfig($projectId, $jobId, Google_Service_Dataflow_GetDebugConfigRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getConfig', array($params), "Google_Service_Dataflow_GetDebugConfigResponse"); + } + /** + * Send encoded debug capture data for component. (debug.sendCapture) + * + * @param string $projectId The project id. + * @param string $jobId The job id. + * @param Google_Service_Dataflow_SendDebugCaptureRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_SendDebugCaptureResponse + */ + public function sendCapture($projectId, $jobId, Google_Service_Dataflow_SendDebugCaptureRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('sendCapture', array($params), "Google_Service_Dataflow_SendDebugCaptureResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php new file mode 100644 index 00000000..e9740951 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsMessages.php @@ -0,0 +1,58 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $messages = $dataflowService->messages; + * + */ +class Google_Service_Dataflow_Resource_ProjectsJobsMessages extends Google_Service_Resource +{ + /** + * Request the job status. (messages.listProjectsJobsMessages) + * + * @param string $projectId A project id. + * @param string $jobId The job to get messages about. + * @param array $optParams Optional parameters. + * + * @opt_param string endTime Return only messages with timestamps < end_time. + * The default is now (i.e. return up to the latest messages available). + * @opt_param string location The location which contains the job specified by + * job_id. + * @opt_param string pageToken If supplied, this should be the value of + * next_page_token returned by an earlier call. This will cause the next page of + * results to be returned. + * @opt_param string startTime If specified, return only messages with + * timestamps >= start_time. The default is the job creation time (i.e. + * beginning of messages). + * @opt_param int pageSize If specified, determines the maximum number of + * messages to return. If unspecified, the service may choose an appropriate + * default, or may return an arbitrarily large number of results. + * @opt_param string minimumImportance Filter to only get messages with + * importance >= level + * @return Google_Service_Dataflow_ListJobMessagesResponse + */ + public function listProjectsJobsMessages($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php new file mode 100644 index 00000000..82c3b780 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsJobsWorkItems.php @@ -0,0 +1,59 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $workItems = $dataflowService->workItems; + * + */ +class Google_Service_Dataflow_Resource_ProjectsJobsWorkItems extends Google_Service_Resource +{ + /** + * Leases a dataflow WorkItem to run. (workItems.lease) + * + * @param string $projectId Identifies the project this worker belongs to. + * @param string $jobId Identifies the workflow job this worker belongs to. + * @param Google_Service_Dataflow_LeaseWorkItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_LeaseWorkItemResponse + */ + public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse"); + } + /** + * Reports the status of dataflow WorkItems leased by a worker. + * (workItems.reportStatus) + * + * @param string $projectId The project which owns the WorkItem's job. + * @param string $jobId The job which the WorkItem is part of. + * @param Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_ReportWorkItemStatusResponse + */ + public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php new file mode 100644 index 00000000..ebf4947d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocations.php @@ -0,0 +1,28 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $locations = $dataflowService->locations; + * + */ +class Google_Service_Dataflow_Resource_ProjectsLocations extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php new file mode 100644 index 00000000..5c4d2679 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobs.php @@ -0,0 +1,126 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $jobs = $dataflowService->jobs; + * + */ +class Google_Service_Dataflow_Resource_ProjectsLocationsJobs extends Google_Service_Resource +{ + /** + * Creates a Cloud Dataflow job. (jobs.create) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param string $location The location that contains this job. + * @param Google_Service_Dataflow_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string replaceJobId Deprecated. This field is now in the Job + * message. + * @opt_param string view The level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function create($projectId, $location, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dataflow_Job"); + } + /** + * Gets the state of the specified Cloud Dataflow job. (jobs.get) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param string $location The location that contains this job. + * @param string $jobId The job ID. + * @param array $optParams Optional parameters. + * + * @opt_param string view The level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function get($projectId, $location, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataflow_Job"); + } + /** + * Request the job status. (jobs.getMetrics) + * + * @param string $projectId A project id. + * @param string $location The location which contains the job specified by + * job_id. + * @param string $jobId The job to get messages for. + * @param array $optParams Optional parameters. + * + * @opt_param string startTime Return only metric data that has changed since + * this time. Default is to return all information about all metrics for the + * job. + * @return Google_Service_Dataflow_JobMetrics + */ + public function getMetrics($projectId, $location, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics"); + } + /** + * List the jobs of a project. (jobs.listProjectsLocationsJobs) + * + * @param string $projectId The project which owns the jobs. + * @param string $location The location that contains this job. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The kind of filter to use. + * @opt_param string pageToken Set this to the 'next_page_token' field of a + * previous response to request additional results in a long list. + * @opt_param int pageSize If there are many jobs, limit response to at most + * this many. The actual number of jobs returned will be the lesser of + * max_responses and an unspecified server-defined limit. + * @opt_param string view Level of information requested in response. Default is + * `JOB_VIEW_SUMMARY`. + * @return Google_Service_Dataflow_ListJobsResponse + */ + public function listProjectsLocationsJobs($projectId, $location, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse"); + } + /** + * Updates the state of an existing Cloud Dataflow job. (jobs.update) + * + * @param string $projectId The ID of the Cloud Platform project that the job + * belongs to. + * @param string $location The location that contains this job. + * @param string $jobId The job ID. + * @param Google_Service_Dataflow_Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_Job + */ + public function update($projectId, $location, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dataflow_Job"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php new file mode 100644 index 00000000..822af3f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsMessages.php @@ -0,0 +1,58 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $messages = $dataflowService->messages; + * + */ +class Google_Service_Dataflow_Resource_ProjectsLocationsJobsMessages extends Google_Service_Resource +{ + /** + * Request the job status. (messages.listProjectsLocationsJobsMessages) + * + * @param string $projectId A project id. + * @param string $location The location which contains the job specified by + * job_id. + * @param string $jobId The job to get messages about. + * @param array $optParams Optional parameters. + * + * @opt_param string endTime Return only messages with timestamps < end_time. + * The default is now (i.e. return up to the latest messages available). + * @opt_param string startTime If specified, return only messages with + * timestamps >= start_time. The default is the job creation time (i.e. + * beginning of messages). + * @opt_param string pageToken If supplied, this should be the value of + * next_page_token returned by an earlier call. This will cause the next page of + * results to be returned. + * @opt_param int pageSize If specified, determines the maximum number of + * messages to return. If unspecified, the service may choose an appropriate + * default, or may return an arbitrarily large number of results. + * @opt_param string minimumImportance Filter to only get messages with + * importance >= level + * @return Google_Service_Dataflow_ListJobMessagesResponse + */ + public function listProjectsLocationsJobsMessages($projectId, $location, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php new file mode 100644 index 00000000..ca422936 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsLocationsJobsWorkItems.php @@ -0,0 +1,61 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $workItems = $dataflowService->workItems; + * + */ +class Google_Service_Dataflow_Resource_ProjectsLocationsJobsWorkItems extends Google_Service_Resource +{ + /** + * Leases a dataflow WorkItem to run. (workItems.lease) + * + * @param string $projectId Identifies the project this worker belongs to. + * @param string $location The location which contains the WorkItem's job. + * @param string $jobId Identifies the workflow job this worker belongs to. + * @param Google_Service_Dataflow_LeaseWorkItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_LeaseWorkItemResponse + */ + public function lease($projectId, $location, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse"); + } + /** + * Reports the status of dataflow WorkItems leased by a worker. + * (workItems.reportStatus) + * + * @param string $projectId The project which owns the WorkItem's job. + * @param string $location The location which contains the WorkItem's job. + * @param string $jobId The job which the WorkItem is part of. + * @param Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_ReportWorkItemStatusResponse + */ + public function reportStatus($projectId, $location, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'location' => $location, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php new file mode 100644 index 00000000..ff18cd72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Resource/ProjectsTemplates.php @@ -0,0 +1,84 @@ + + * $dataflowService = new Google_Service_Dataflow(...); + * $templates = $dataflowService->templates; + * + */ +class Google_Service_Dataflow_Resource_ProjectsTemplates extends Google_Service_Resource +{ + /** + * Creates a Cloud Dataflow job from a template. (templates.create) + * + * @param string $projectId Required. The ID of the Cloud Platform project that + * the job belongs to. + * @param Google_Service_Dataflow_CreateJobFromTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_Job + */ + public function create($projectId, Google_Service_Dataflow_CreateJobFromTemplateRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dataflow_Job"); + } + /** + * Get the template associated with a template. (templates.get) + * + * @param string $projectId Required. The ID of the Cloud Platform project that + * the job belongs to. + * @param array $optParams Optional parameters. + * + * @opt_param string view The view to retrieve. Defaults to METADATA_ONLY. + * @opt_param string gcsPath Required. A Cloud Storage path to the template from + * which to create the job. Must be a valid Cloud Storage URL, beginning with + * `gs://`. + * @return Google_Service_Dataflow_GetTemplateResponse + */ + public function get($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataflow_GetTemplateResponse"); + } + /** + * Launch a template. (templates.launch) + * + * @param string $projectId Required. The ID of the Cloud Platform project that + * the job belongs to. + * @param Google_Service_Dataflow_LaunchTemplateParameters $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string gcsPath Required. A Cloud Storage path to the template from + * which to create the job. Must be valid Cloud Storage URL, beginning with + * 'gs://'. + * @opt_param bool dryRun Whether or not the job should actually be executed + * after validating parameters. Defaults to false. Validation errors do not + * cause the HTTP request to fail if true. + * @return Google_Service_Dataflow_LaunchTemplateResponse + */ + public function launch($projectId, Google_Service_Dataflow_LaunchTemplateParameters $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('launch', array($params), "Google_Service_Dataflow_LaunchTemplateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php new file mode 100644 index 00000000..7bafe4e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReport.php @@ -0,0 +1,32 @@ +cpuTime = $cpuTime; + } + public function getCpuTime() + { + return $this->cpuTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php new file mode 100644 index 00000000..82d07b32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ResourceUtilizationReportResponse.php @@ -0,0 +1,20 @@ +bypassTempDirValidation = $bypassTempDirValidation; + } + public function getBypassTempDirValidation() + { + return $this->bypassTempDirValidation; + } + public function setMaxWorkers($maxWorkers) + { + $this->maxWorkers = $maxWorkers; + } + public function getMaxWorkers() + { + return $this->maxWorkers; + } + public function setServiceAccountEmail($serviceAccountEmail) + { + $this->serviceAccountEmail = $serviceAccountEmail; + } + public function getServiceAccountEmail() + { + return $this->serviceAccountEmail; + } + public function setTempLocation($tempLocation) + { + $this->tempLocation = $tempLocation; + } + public function getTempLocation() + { + return $this->tempLocation; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php new file mode 100644 index 00000000..07c1688f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureRequest.php @@ -0,0 +1,48 @@ +componentId = $componentId; + } + public function getComponentId() + { + return $this->componentId; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php new file mode 100644 index 00000000..99d30d74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendDebugCaptureResponse.php @@ -0,0 +1,20 @@ +workerMessages = $workerMessages; + } + public function getWorkerMessages() + { + return $this->workerMessages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php new file mode 100644 index 00000000..eab6a5d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SendWorkerMessagesResponse.php @@ -0,0 +1,32 @@ +workerMessageResponses = $workerMessageResponses; + } + public function getWorkerMessageResponses() + { + return $this->workerMessageResponses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php new file mode 100644 index 00000000..0b6450c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTask.php @@ -0,0 +1,78 @@ +inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputInfos($outputInfos) + { + $this->outputInfos = $outputInfos; + } + public function getOutputInfos() + { + return $this->outputInfos; + } + public function setStageName($stageName) + { + $this->stageName = $stageName; + } + public function getStageName() + { + return $this->stageName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } + public function setUserFn($userFn) + { + $this->userFn = $userFn; + } + public function getUserFn() + { + return $this->userFn; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php new file mode 100644 index 00000000..92049428 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SeqMapTaskOutputInfo.php @@ -0,0 +1,40 @@ +sink = $sink; + } + public function getSink() + { + return $this->sink; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php new file mode 100644 index 00000000..5ff9c107 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/ShellTask.php @@ -0,0 +1,39 @@ +command = $command; + } + public function getCommand() + { + return $this->command; + } + public function setExitCode($exitCode) + { + $this->exitCode = $exitCode; + } + public function getExitCode() + { + return $this->exitCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php new file mode 100644 index 00000000..6f863788 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SideInputInfo.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php new file mode 100644 index 00000000..18e8c52f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Sink.php @@ -0,0 +1,39 @@ +codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setSpec($spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php new file mode 100644 index 00000000..587ee0bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Source.php @@ -0,0 +1,68 @@ +baseSpecs = $baseSpecs; + } + public function getBaseSpecs() + { + return $this->baseSpecs; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setDoesNotNeedSplitting($doesNotNeedSplitting) + { + $this->doesNotNeedSplitting = $doesNotNeedSplitting; + } + public function getDoesNotNeedSplitting() + { + return $this->doesNotNeedSplitting; + } + public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setSpec($spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php new file mode 100644 index 00000000..810201f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceFork.php @@ -0,0 +1,61 @@ +primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setPrimarySource(Google_Service_Dataflow_DerivedSource $primarySource) + { + $this->primarySource = $primarySource; + } + public function getPrimarySource() + { + return $this->primarySource; + } + public function setResidual(Google_Service_Dataflow_SourceSplitShard $residual) + { + $this->residual = $residual; + } + public function getResidual() + { + return $this->residual; + } + public function setResidualSource(Google_Service_Dataflow_DerivedSource $residualSource) + { + $this->residualSource = $residualSource; + } + public function getResidualSource() + { + return $this->residualSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php new file mode 100644 index 00000000..4baff3b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataRequest.php @@ -0,0 +1,31 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php new file mode 100644 index 00000000..dda0e312 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceGetMetadataResponse.php @@ -0,0 +1,31 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php new file mode 100644 index 00000000..2512f4a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceMetadata.php @@ -0,0 +1,48 @@ +estimatedSizeBytes = $estimatedSizeBytes; + } + public function getEstimatedSizeBytes() + { + return $this->estimatedSizeBytes; + } + public function setInfinite($infinite) + { + $this->infinite = $infinite; + } + public function getInfinite() + { + return $this->infinite; + } + public function setProducesSortedKeys($producesSortedKeys) + { + $this->producesSortedKeys = $producesSortedKeys; + } + public function getProducesSortedKeys() + { + return $this->producesSortedKeys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php new file mode 100644 index 00000000..926fe71b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationRequest.php @@ -0,0 +1,41 @@ +getMetadata = $getMetadata; + } + public function getGetMetadata() + { + return $this->getMetadata; + } + public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php new file mode 100644 index 00000000..f551b522 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceOperationResponse.php @@ -0,0 +1,41 @@ +getMetadata = $getMetadata; + } + public function getGetMetadata() + { + return $this->getMetadata; + } + public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php new file mode 100644 index 00000000..68c96736 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitOptions.php @@ -0,0 +1,39 @@ +desiredBundleSizeBytes = $desiredBundleSizeBytes; + } + public function getDesiredBundleSizeBytes() + { + return $this->desiredBundleSizeBytes; + } + public function setDesiredShardSizeBytes($desiredShardSizeBytes) + { + $this->desiredShardSizeBytes = $desiredShardSizeBytes; + } + public function getDesiredShardSizeBytes() + { + return $this->desiredShardSizeBytes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php new file mode 100644 index 00000000..c819be45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitRequest.php @@ -0,0 +1,41 @@ +options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php new file mode 100644 index 00000000..abedc3c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitResponse.php @@ -0,0 +1,51 @@ +bundles = $bundles; + } + public function getBundles() + { + return $this->bundles; + } + public function setOutcome($outcome) + { + $this->outcome = $outcome; + } + public function getOutcome() + { + return $this->outcome; + } + public function setShards($shards) + { + $this->shards = $shards; + } + public function getShards() + { + return $this->shards; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php new file mode 100644 index 00000000..ed49befc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SourceSplitShard.php @@ -0,0 +1,40 @@ +derivationMode = $derivationMode; + } + public function getDerivationMode() + { + return $this->derivationMode; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php new file mode 100644 index 00000000..62934864 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/SplitInt64.php @@ -0,0 +1,39 @@ +highBits = $highBits; + } + public function getHighBits() + { + return $this->highBits; + } + public function setLowBits($lowBits) + { + $this->lowBits = $lowBits; + } + public function getLowBits() + { + return $this->lowBits; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php new file mode 100644 index 00000000..55db56b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StageSource.php @@ -0,0 +1,57 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalTransformOrCollection($originalTransformOrCollection) + { + $this->originalTransformOrCollection = $originalTransformOrCollection; + } + public function getOriginalTransformOrCollection() + { + return $this->originalTransformOrCollection; + } + public function setSizeBytes($sizeBytes) + { + $this->sizeBytes = $sizeBytes; + } + public function getSizeBytes() + { + return $this->sizeBytes; + } + public function setUserName($userName) + { + $this->userName = $userName; + } + public function getUserName() + { + return $this->userName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php new file mode 100644 index 00000000..471d23e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StateFamilyConfig.php @@ -0,0 +1,39 @@ +isRead = $isRead; + } + public function getIsRead() + { + return $this->isRead; + } + public function setStateFamily($stateFamily) + { + $this->stateFamily = $stateFamily; + } + public function getStateFamily() + { + return $this->stateFamily; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php new file mode 100644 index 00000000..19942df7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php new file mode 100644 index 00000000..e9f5bad0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/Step.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php new file mode 100644 index 00000000..feec6a28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamLocation.php @@ -0,0 +1,61 @@ +customSourceLocation = $customSourceLocation; + } + public function getCustomSourceLocation() + { + return $this->customSourceLocation; + } + public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation) + { + $this->pubsubLocation = $pubsubLocation; + } + public function getPubsubLocation() + { + return $this->pubsubLocation; + } + public function setSideInputLocation(Google_Service_Dataflow_StreamingSideInputLocation $sideInputLocation) + { + $this->sideInputLocation = $sideInputLocation; + } + public function getSideInputLocation() + { + return $this->sideInputLocation; + } + public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation) + { + $this->streamingStageLocation = $streamingStageLocation; + } + public function getStreamingStageLocation() + { + return $this->streamingStageLocation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php new file mode 100644 index 00000000..0cba9956 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationConfig.php @@ -0,0 +1,59 @@ +computationId = $computationId; + } + public function getComputationId() + { + return $this->computationId; + } + public function setInstructions($instructions) + { + $this->instructions = $instructions; + } + public function getInstructions() + { + return $this->instructions; + } + public function setStageName($stageName) + { + $this->stageName = $stageName; + } + public function getStageName() + { + return $this->stageName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php new file mode 100644 index 00000000..9d618c93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationRanges.php @@ -0,0 +1,41 @@ +computationId = $computationId; + } + public function getComputationId() + { + return $this->computationId; + } + public function setRangeAssignments($rangeAssignments) + { + $this->rangeAssignments = $rangeAssignments; + } + public function getRangeAssignments() + { + return $this->rangeAssignments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php new file mode 100644 index 00000000..e83408e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingComputationTask.php @@ -0,0 +1,51 @@ +computationRanges = $computationRanges; + } + public function getComputationRanges() + { + return $this->computationRanges; + } + public function setDataDisks($dataDisks) + { + $this->dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setTaskType($taskType) + { + $this->taskType = $taskType; + } + public function getTaskType() + { + return $this->taskType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php new file mode 100644 index 00000000..38741425 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingConfigTask.php @@ -0,0 +1,41 @@ +streamingComputationConfigs = $streamingComputationConfigs; + } + public function getStreamingComputationConfigs() + { + return $this->streamingComputationConfigs; + } + public function setUserStepToStateFamilyNameMap($userStepToStateFamilyNameMap) + { + $this->userStepToStateFamilyNameMap = $userStepToStateFamilyNameMap; + } + public function getUserStepToStateFamilyNameMap() + { + return $this->userStepToStateFamilyNameMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php new file mode 100644 index 00000000..a3786ce7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSetupTask.php @@ -0,0 +1,58 @@ +drain = $drain; + } + public function getDrain() + { + return $this->drain; + } + public function setReceiveWorkPort($receiveWorkPort) + { + $this->receiveWorkPort = $receiveWorkPort; + } + public function getReceiveWorkPort() + { + return $this->receiveWorkPort; + } + public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology) + { + $this->streamingComputationTopology = $streamingComputationTopology; + } + public function getStreamingComputationTopology() + { + return $this->streamingComputationTopology; + } + public function setWorkerHarnessPort($workerHarnessPort) + { + $this->workerHarnessPort = $workerHarnessPort; + } + public function getWorkerHarnessPort() + { + return $this->workerHarnessPort; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php new file mode 100644 index 00000000..04643d12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingSideInputLocation.php @@ -0,0 +1,39 @@ +stateFamily = $stateFamily; + } + public function getStateFamily() + { + return $this->stateFamily; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php new file mode 100644 index 00000000..2d9474e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StreamingStageLocation.php @@ -0,0 +1,30 @@ +streamId = $streamId; + } + public function getStreamId() + { + return $this->streamId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php new file mode 100644 index 00000000..04779e71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/StringList.php @@ -0,0 +1,31 @@ +elements = $elements; + } + public function getElements() + { + return $this->elements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php new file mode 100644 index 00000000..50bac084 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TaskRunnerSettings.php @@ -0,0 +1,194 @@ +alsologtostderr = $alsologtostderr; + } + public function getAlsologtostderr() + { + return $this->alsologtostderr; + } + public function setBaseTaskDir($baseTaskDir) + { + $this->baseTaskDir = $baseTaskDir; + } + public function getBaseTaskDir() + { + return $this->baseTaskDir; + } + public function setBaseUrl($baseUrl) + { + $this->baseUrl = $baseUrl; + } + public function getBaseUrl() + { + return $this->baseUrl; + } + public function setCommandlinesFileName($commandlinesFileName) + { + $this->commandlinesFileName = $commandlinesFileName; + } + public function getCommandlinesFileName() + { + return $this->commandlinesFileName; + } + public function setContinueOnException($continueOnException) + { + $this->continueOnException = $continueOnException; + } + public function getContinueOnException() + { + return $this->continueOnException; + } + public function setDataflowApiVersion($dataflowApiVersion) + { + $this->dataflowApiVersion = $dataflowApiVersion; + } + public function getDataflowApiVersion() + { + return $this->dataflowApiVersion; + } + public function setHarnessCommand($harnessCommand) + { + $this->harnessCommand = $harnessCommand; + } + public function getHarnessCommand() + { + return $this->harnessCommand; + } + public function setLanguageHint($languageHint) + { + $this->languageHint = $languageHint; + } + public function getLanguageHint() + { + return $this->languageHint; + } + public function setLogDir($logDir) + { + $this->logDir = $logDir; + } + public function getLogDir() + { + return $this->logDir; + } + public function setLogToSerialconsole($logToSerialconsole) + { + $this->logToSerialconsole = $logToSerialconsole; + } + public function getLogToSerialconsole() + { + return $this->logToSerialconsole; + } + public function setLogUploadLocation($logUploadLocation) + { + $this->logUploadLocation = $logUploadLocation; + } + public function getLogUploadLocation() + { + return $this->logUploadLocation; + } + public function setOauthScopes($oauthScopes) + { + $this->oauthScopes = $oauthScopes; + } + public function getOauthScopes() + { + return $this->oauthScopes; + } + public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings) + { + $this->parallelWorkerSettings = $parallelWorkerSettings; + } + public function getParallelWorkerSettings() + { + return $this->parallelWorkerSettings; + } + public function setStreamingWorkerMainClass($streamingWorkerMainClass) + { + $this->streamingWorkerMainClass = $streamingWorkerMainClass; + } + public function getStreamingWorkerMainClass() + { + return $this->streamingWorkerMainClass; + } + public function setTaskGroup($taskGroup) + { + $this->taskGroup = $taskGroup; + } + public function getTaskGroup() + { + return $this->taskGroup; + } + public function setTaskUser($taskUser) + { + $this->taskUser = $taskUser; + } + public function getTaskUser() + { + return $this->taskUser; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setVmId($vmId) + { + $this->vmId = $vmId; + } + public function getVmId() + { + return $this->vmId; + } + public function setWorkflowFileName($workflowFileName) + { + $this->workflowFileName = $workflowFileName; + } + public function getWorkflowFileName() + { + return $this->workflowFileName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php new file mode 100644 index 00000000..3428c67e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TemplateMetadata.php @@ -0,0 +1,59 @@ +bypassTempDirValidation = $bypassTempDirValidation; + } + public function getBypassTempDirValidation() + { + return $this->bypassTempDirValidation; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php new file mode 100644 index 00000000..0eb190b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TopologyConfig.php @@ -0,0 +1,69 @@ +computations = $computations; + } + public function getComputations() + { + return $this->computations; + } + public function setDataDiskAssignments($dataDiskAssignments) + { + $this->dataDiskAssignments = $dataDiskAssignments; + } + public function getDataDiskAssignments() + { + return $this->dataDiskAssignments; + } + public function setForwardingKeyBits($forwardingKeyBits) + { + $this->forwardingKeyBits = $forwardingKeyBits; + } + public function getForwardingKeyBits() + { + return $this->forwardingKeyBits; + } + public function setPersistentStateVersion($persistentStateVersion) + { + $this->persistentStateVersion = $persistentStateVersion; + } + public function getPersistentStateVersion() + { + return $this->persistentStateVersion; + } + public function setUserStageToComputationNameMap($userStageToComputationNameMap) + { + $this->userStageToComputationNameMap = $userStageToComputationNameMap; + } + public function getUserStageToComputationNameMap() + { + return $this->userStageToComputationNameMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php new file mode 100644 index 00000000..e967dd99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/TransformSummary.php @@ -0,0 +1,77 @@ +displayData = $displayData; + } + public function getDisplayData() + { + return $this->displayData; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInputCollectionName($inputCollectionName) + { + $this->inputCollectionName = $inputCollectionName; + } + public function getInputCollectionName() + { + return $this->inputCollectionName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputCollectionName($outputCollectionName) + { + $this->outputCollectionName = $outputCollectionName; + } + public function getOutputCollectionName() + { + return $this->outputCollectionName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php new file mode 100644 index 00000000..98a544ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItem.php @@ -0,0 +1,165 @@ +configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialReportIndex($initialReportIndex) + { + $this->initialReportIndex = $initialReportIndex; + } + public function getInitialReportIndex() + { + return $this->initialReportIndex; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setLeaseExpireTime($leaseExpireTime) + { + $this->leaseExpireTime = $leaseExpireTime; + } + public function getLeaseExpireTime() + { + return $this->leaseExpireTime; + } + public function setMapTask(Google_Service_Dataflow_MapTask $mapTask) + { + $this->mapTask = $mapTask; + } + public function getMapTask() + { + return $this->mapTask; + } + public function setPackages($packages) + { + $this->packages = $packages; + } + public function getPackages() + { + return $this->packages; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReportStatusInterval($reportStatusInterval) + { + $this->reportStatusInterval = $reportStatusInterval; + } + public function getReportStatusInterval() + { + return $this->reportStatusInterval; + } + public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask) + { + $this->seqMapTask = $seqMapTask; + } + public function getSeqMapTask() + { + return $this->seqMapTask; + } + public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask) + { + $this->shellTask = $shellTask; + } + public function getShellTask() + { + return $this->shellTask; + } + public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask) + { + $this->sourceOperationTask = $sourceOperationTask; + } + public function getSourceOperationTask() + { + return $this->sourceOperationTask; + } + public function setStreamingComputationTask(Google_Service_Dataflow_StreamingComputationTask $streamingComputationTask) + { + $this->streamingComputationTask = $streamingComputationTask; + } + public function getStreamingComputationTask() + { + return $this->streamingComputationTask; + } + public function setStreamingConfigTask(Google_Service_Dataflow_StreamingConfigTask $streamingConfigTask) + { + $this->streamingConfigTask = $streamingConfigTask; + } + public function getStreamingConfigTask() + { + return $this->streamingConfigTask; + } + public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask) + { + $this->streamingSetupTask = $streamingSetupTask; + } + public function getStreamingSetupTask() + { + return $this->streamingSetupTask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php new file mode 100644 index 00000000..3398321e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemServiceState.php @@ -0,0 +1,98 @@ +harnessData = $harnessData; + } + public function getHarnessData() + { + return $this->harnessData; + } + public function setLeaseExpireTime($leaseExpireTime) + { + $this->leaseExpireTime = $leaseExpireTime; + } + public function getLeaseExpireTime() + { + return $this->leaseExpireTime; + } + public function setMetricShortId($metricShortId) + { + $this->metricShortId = $metricShortId; + } + public function getMetricShortId() + { + return $this->metricShortId; + } + public function setNextReportIndex($nextReportIndex) + { + $this->nextReportIndex = $nextReportIndex; + } + public function getNextReportIndex() + { + return $this->nextReportIndex; + } + public function setReportStatusInterval($reportStatusInterval) + { + $this->reportStatusInterval = $reportStatusInterval; + } + public function getReportStatusInterval() + { + return $this->reportStatusInterval; + } + public function setSplitRequest(Google_Service_Dataflow_ApproximateSplitRequest $splitRequest) + { + $this->splitRequest = $splitRequest; + } + public function getSplitRequest() + { + return $this->splitRequest; + } + public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint) + { + $this->suggestedStopPoint = $suggestedStopPoint; + } + public function getSuggestedStopPoint() + { + return $this->suggestedStopPoint; + } + public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition) + { + $this->suggestedStopPosition = $suggestedStopPosition; + } + public function getSuggestedStopPosition() + { + return $this->suggestedStopPosition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php new file mode 100644 index 00000000..0eba4843 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkItemStatus.php @@ -0,0 +1,148 @@ +completed = $completed; + } + public function getCompleted() + { + return $this->completed; + } + public function setCounterUpdates($counterUpdates) + { + $this->counterUpdates = $counterUpdates; + } + public function getCounterUpdates() + { + return $this->counterUpdates; + } + public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit) + { + $this->dynamicSourceSplit = $dynamicSourceSplit; + } + public function getDynamicSourceSplit() + { + return $this->dynamicSourceSplit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setMetricUpdates($metricUpdates) + { + $this->metricUpdates = $metricUpdates; + } + public function getMetricUpdates() + { + return $this->metricUpdates; + } + public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setReportIndex($reportIndex) + { + $this->reportIndex = $reportIndex; + } + public function getReportIndex() + { + return $this->reportIndex; + } + public function setReportedProgress(Google_Service_Dataflow_ApproximateReportedProgress $reportedProgress) + { + $this->reportedProgress = $reportedProgress; + } + public function getReportedProgress() + { + return $this->reportedProgress; + } + public function setRequestedLeaseDuration($requestedLeaseDuration) + { + $this->requestedLeaseDuration = $requestedLeaseDuration; + } + public function getRequestedLeaseDuration() + { + return $this->requestedLeaseDuration; + } + public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork) + { + $this->sourceFork = $sourceFork; + } + public function getSourceFork() + { + return $this->sourceFork; + } + public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse) + { + $this->sourceOperationResponse = $sourceOperationResponse; + } + public function getSourceOperationResponse() + { + return $this->sourceOperationResponse; + } + public function setStopPosition(Google_Service_Dataflow_Position $stopPosition) + { + $this->stopPosition = $stopPosition; + } + public function getStopPosition() + { + return $this->stopPosition; + } + public function setWorkItemId($workItemId) + { + $this->workItemId = $workItemId; + } + public function getWorkItemId() + { + return $this->workItemId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php new file mode 100644 index 00000000..ee81dd17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReport.php @@ -0,0 +1,58 @@ +pods = $pods; + } + public function getPods() + { + return $this->pods; + } + public function setReportInterval($reportInterval) + { + $this->reportInterval = $reportInterval; + } + public function getReportInterval() + { + return $this->reportInterval; + } + public function setVmIsHealthy($vmIsHealthy) + { + $this->vmIsHealthy = $vmIsHealthy; + } + public function getVmIsHealthy() + { + return $this->vmIsHealthy; + } + public function setVmStartupTime($vmStartupTime) + { + $this->vmStartupTime = $vmStartupTime; + } + public function getVmStartupTime() + { + return $this->vmStartupTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php new file mode 100644 index 00000000..8ba4d47c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerHealthReportResponse.php @@ -0,0 +1,30 @@ +reportInterval = $reportInterval; + } + public function getReportInterval() + { + return $this->reportInterval; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php new file mode 100644 index 00000000..d3af1017 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessage.php @@ -0,0 +1,69 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setWorkerHealthReport(Google_Service_Dataflow_WorkerHealthReport $workerHealthReport) + { + $this->workerHealthReport = $workerHealthReport; + } + public function getWorkerHealthReport() + { + return $this->workerHealthReport; + } + public function setWorkerMessageCode(Google_Service_Dataflow_WorkerMessageCode $workerMessageCode) + { + $this->workerMessageCode = $workerMessageCode; + } + public function getWorkerMessageCode() + { + return $this->workerMessageCode; + } + public function setWorkerMetrics(Google_Service_Dataflow_ResourceUtilizationReport $workerMetrics) + { + $this->workerMetrics = $workerMetrics; + } + public function getWorkerMetrics() + { + return $this->workerMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php new file mode 100644 index 00000000..1a4a6841 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageCode.php @@ -0,0 +1,39 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php new file mode 100644 index 00000000..edd8da8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerMessageResponse.php @@ -0,0 +1,41 @@ +workerHealthReportResponse = $workerHealthReportResponse; + } + public function getWorkerHealthReportResponse() + { + return $this->workerHealthReportResponse; + } + public function setWorkerMetricsResponse(Google_Service_Dataflow_ResourceUtilizationReportResponse $workerMetricsResponse) + { + $this->workerMetricsResponse = $workerMetricsResponse; + } + public function getWorkerMetricsResponse() + { + return $this->workerMetricsResponse; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php new file mode 100644 index 00000000..a75cecc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerPool.php @@ -0,0 +1,215 @@ +autoscalingSettings = $autoscalingSettings; + } + public function getAutoscalingSettings() + { + return $this->autoscalingSettings; + } + public function setDataDisks($dataDisks) + { + $this->dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setDefaultPackageSet($defaultPackageSet) + { + $this->defaultPackageSet = $defaultPackageSet; + } + public function getDefaultPackageSet() + { + return $this->defaultPackageSet; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskSourceImage($diskSourceImage) + { + $this->diskSourceImage = $diskSourceImage; + } + public function getDiskSourceImage() + { + return $this->diskSourceImage; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setIpConfiguration($ipConfiguration) + { + $this->ipConfiguration = $ipConfiguration; + } + public function getIpConfiguration() + { + return $this->ipConfiguration; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNumThreadsPerWorker($numThreadsPerWorker) + { + $this->numThreadsPerWorker = $numThreadsPerWorker; + } + public function getNumThreadsPerWorker() + { + return $this->numThreadsPerWorker; + } + public function setNumWorkers($numWorkers) + { + $this->numWorkers = $numWorkers; + } + public function getNumWorkers() + { + return $this->numWorkers; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setPackages($packages) + { + $this->packages = $packages; + } + public function getPackages() + { + return $this->packages; + } + public function setPoolArgs($poolArgs) + { + $this->poolArgs = $poolArgs; + } + public function getPoolArgs() + { + return $this->poolArgs; + } + public function setSubnetwork($subnetwork) + { + $this->subnetwork = $subnetwork; + } + public function getSubnetwork() + { + return $this->subnetwork; + } + public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings) + { + $this->taskrunnerSettings = $taskrunnerSettings; + } + public function getTaskrunnerSettings() + { + return $this->taskrunnerSettings; + } + public function setTeardownPolicy($teardownPolicy) + { + $this->teardownPolicy = $teardownPolicy; + } + public function getTeardownPolicy() + { + return $this->teardownPolicy; + } + public function setWorkerHarnessContainerImage($workerHarnessContainerImage) + { + $this->workerHarnessContainerImage = $workerHarnessContainerImage; + } + public function getWorkerHarnessContainerImage() + { + return $this->workerHarnessContainerImage; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php new file mode 100644 index 00000000..d3a58d39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WorkerSettings.php @@ -0,0 +1,75 @@ +baseUrl = $baseUrl; + } + public function getBaseUrl() + { + return $this->baseUrl; + } + public function setReportingEnabled($reportingEnabled) + { + $this->reportingEnabled = $reportingEnabled; + } + public function getReportingEnabled() + { + return $this->reportingEnabled; + } + public function setServicePath($servicePath) + { + $this->servicePath = $servicePath; + } + public function getServicePath() + { + return $this->servicePath; + } + public function setShuffleServicePath($shuffleServicePath) + { + $this->shuffleServicePath = $shuffleServicePath; + } + public function getShuffleServicePath() + { + return $this->shuffleServicePath; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php new file mode 100644 index 00000000..62bebc75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataflow/WriteInstruction.php @@ -0,0 +1,41 @@ +input = $input; + } + public function getInput() + { + return $this->input; + } + public function setSink(Google_Service_Dataflow_Sink $sink) + { + $this->sink = $sink; + } + public function getSink() + { + return $this->sink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php new file mode 100644 index 00000000..ddd618c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc.php @@ -0,0 +1,397 @@ + + * Manages Hadoop-based clusters and jobs on Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Dataproc extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_regions_clusters; + public $projects_regions_jobs; + public $projects_regions_operations; + + /** + * Constructs the internal representation of the Dataproc service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://dataproc.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'dataproc'; + + $this->projects_regions_clusters = new Google_Service_Dataproc_Resource_ProjectsRegionsClusters( + $this, + $this->serviceName, + 'clusters', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'diagnose' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_regions_jobs = new Google_Service_Dataproc_Resource_ProjectsRegionsJobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'clusterName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'jobStateMatcher' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submit' => array( + 'path' => 'v1/projects/{projectId}/regions/{region}/jobs:submit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_regions_operations = new Google_Service_Dataproc_Resource_ProjectsRegionsOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php new file mode 100644 index 00000000..626cb25a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/AcceleratorConfig.php @@ -0,0 +1,39 @@ +acceleratorCount = $acceleratorCount; + } + public function getAcceleratorCount() + { + return $this->acceleratorCount; + } + public function setAcceleratorTypeUri($acceleratorTypeUri) + { + $this->acceleratorTypeUri = $acceleratorTypeUri; + } + public function getAcceleratorTypeUri() + { + return $this->acceleratorTypeUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php new file mode 100644 index 00000000..3eeeb947 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/CancelJobRequest.php @@ -0,0 +1,20 @@ +clusterName = $clusterName; + } + public function getClusterName() + { + return $this->clusterName; + } + public function setClusterUuid($clusterUuid) + { + $this->clusterUuid = $clusterUuid; + } + public function getClusterUuid() + { + return $this->clusterUuid; + } + public function setConfig(Google_Service_Dataproc_ClusterConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetrics(Google_Service_Dataproc_ClusterMetrics $metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setStatus(Google_Service_Dataproc_ClusterStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusHistory($statusHistory) + { + $this->statusHistory = $statusHistory; + } + public function getStatusHistory() + { + return $this->statusHistory; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php new file mode 100644 index 00000000..f70e0a13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterConfig.php @@ -0,0 +1,91 @@ +configBucket = $configBucket; + } + public function getConfigBucket() + { + return $this->configBucket; + } + public function setGceClusterConfig(Google_Service_Dataproc_GceClusterConfig $gceClusterConfig) + { + $this->gceClusterConfig = $gceClusterConfig; + } + public function getGceClusterConfig() + { + return $this->gceClusterConfig; + } + public function setInitializationActions($initializationActions) + { + $this->initializationActions = $initializationActions; + } + public function getInitializationActions() + { + return $this->initializationActions; + } + public function setMasterConfig(Google_Service_Dataproc_InstanceGroupConfig $masterConfig) + { + $this->masterConfig = $masterConfig; + } + public function getMasterConfig() + { + return $this->masterConfig; + } + public function setSecondaryWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $secondaryWorkerConfig) + { + $this->secondaryWorkerConfig = $secondaryWorkerConfig; + } + public function getSecondaryWorkerConfig() + { + return $this->secondaryWorkerConfig; + } + public function setSoftwareConfig(Google_Service_Dataproc_SoftwareConfig $softwareConfig) + { + $this->softwareConfig = $softwareConfig; + } + public function getSoftwareConfig() + { + return $this->softwareConfig; + } + public function setWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $workerConfig) + { + $this->workerConfig = $workerConfig; + } + public function getWorkerConfig() + { + return $this->workerConfig; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php new file mode 100644 index 00000000..985b469a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterMetrics.php @@ -0,0 +1,39 @@ +hdfsMetrics = $hdfsMetrics; + } + public function getHdfsMetrics() + { + return $this->hdfsMetrics; + } + public function setYarnMetrics($yarnMetrics) + { + $this->yarnMetrics = $yarnMetrics; + } + public function getYarnMetrics() + { + return $this->yarnMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php new file mode 100644 index 00000000..7c2fab7a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationMetadata.php @@ -0,0 +1,96 @@ +clusterName = $clusterName; + } + public function getClusterName() + { + return $this->clusterName; + } + public function setClusterUuid($clusterUuid) + { + $this->clusterUuid = $clusterUuid; + } + public function getClusterUuid() + { + return $this->clusterUuid; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setStatus(Google_Service_Dataproc_ClusterOperationStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusHistory($statusHistory) + { + $this->statusHistory = $statusHistory; + } + public function getStatusHistory() + { + return $this->statusHistory; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php new file mode 100644 index 00000000..8d4bc5ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterOperationStatus.php @@ -0,0 +1,57 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setInnerState($innerState) + { + $this->innerState = $innerState; + } + public function getInnerState() + { + return $this->innerState; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStateStartTime($stateStartTime) + { + $this->stateStartTime = $stateStartTime; + } + public function getStateStartTime() + { + return $this->stateStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php new file mode 100644 index 00000000..81312805 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ClusterStatus.php @@ -0,0 +1,48 @@ +detail = $detail; + } + public function getDetail() + { + return $this->detail; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStateStartTime($stateStartTime) + { + $this->stateStartTime = $stateStartTime; + } + public function getStateStartTime() + { + return $this->stateStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php new file mode 100644 index 00000000..90de61d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php @@ -0,0 +1,20 @@ +outputUri = $outputUri; + } + public function getOutputUri() + { + return $this->outputUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php new file mode 100644 index 00000000..6c50fa5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiagnoseClusterRequest.php @@ -0,0 +1,20 @@ +outputUri = $outputUri; + } + public function getOutputUri() + { + return $this->outputUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php new file mode 100644 index 00000000..2ec2379e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/DiskConfig.php @@ -0,0 +1,39 @@ +bootDiskSizeGb = $bootDiskSizeGb; + } + public function getBootDiskSizeGb() + { + return $this->bootDiskSizeGb; + } + public function setNumLocalSsds($numLocalSsds) + { + $this->numLocalSsds = $numLocalSsds; + } + public function getNumLocalSsds() + { + return $this->numLocalSsds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php new file mode 100644 index 00000000..1bad1cdb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/GceClusterConfig.php @@ -0,0 +1,94 @@ +internalIpOnly = $internalIpOnly; + } + public function getInternalIpOnly() + { + return $this->internalIpOnly; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetworkUri($networkUri) + { + $this->networkUri = $networkUri; + } + public function getNetworkUri() + { + return $this->networkUri; + } + public function setServiceAccount($serviceAccount) + { + $this->serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } + public function setServiceAccountScopes($serviceAccountScopes) + { + $this->serviceAccountScopes = $serviceAccountScopes; + } + public function getServiceAccountScopes() + { + return $this->serviceAccountScopes; + } + public function setSubnetworkUri($subnetworkUri) + { + $this->subnetworkUri = $subnetworkUri; + } + public function getSubnetworkUri() + { + return $this->subnetworkUri; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setZoneUri($zoneUri) + { + $this->zoneUri = $zoneUri; + } + public function getZoneUri() + { + return $this->zoneUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php new file mode 100644 index 00000000..fa2395c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HadoopJob.php @@ -0,0 +1,95 @@ +archiveUris = $archiveUris; + } + public function getArchiveUris() + { + return $this->archiveUris; + } + public function setArgs($args) + { + $this->args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setFileUris($fileUris) + { + $this->fileUris = $fileUris; + } + public function getFileUris() + { + return $this->fileUris; + } + public function setJarFileUris($jarFileUris) + { + $this->jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + public function getLoggingConfig() + { + return $this->loggingConfig; + } + public function setMainClass($mainClass) + { + $this->mainClass = $mainClass; + } + public function getMainClass() + { + return $this->mainClass; + } + public function setMainJarFileUri($mainJarFileUri) + { + $this->mainJarFileUri = $mainJarFileUri; + } + public function getMainJarFileUri() + { + return $this->mainJarFileUri; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php new file mode 100644 index 00000000..1e99ec2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/HiveJob.php @@ -0,0 +1,77 @@ +continueOnFailure = $continueOnFailure; + } + public function getContinueOnFailure() + { + return $this->continueOnFailure; + } + public function setJarFileUris($jarFileUris) + { + $this->jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setQueryFileUri($queryFileUri) + { + $this->queryFileUri = $queryFileUri; + } + public function getQueryFileUri() + { + return $this->queryFileUri; + } + public function setQueryList(Google_Service_Dataproc_QueryList $queryList) + { + $this->queryList = $queryList; + } + public function getQueryList() + { + return $this->queryList; + } + public function setScriptVariables($scriptVariables) + { + $this->scriptVariables = $scriptVariables; + } + public function getScriptVariables() + { + return $this->scriptVariables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php new file mode 100644 index 00000000..4c77e500 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/InstanceGroupConfig.php @@ -0,0 +1,97 @@ +accelerators = $accelerators; + } + public function getAccelerators() + { + return $this->accelerators; + } + public function setDiskConfig(Google_Service_Dataproc_DiskConfig $diskConfig) + { + $this->diskConfig = $diskConfig; + } + public function getDiskConfig() + { + return $this->diskConfig; + } + public function setImageUri($imageUri) + { + $this->imageUri = $imageUri; + } + public function getImageUri() + { + return $this->imageUri; + } + public function setInstanceNames($instanceNames) + { + $this->instanceNames = $instanceNames; + } + public function getInstanceNames() + { + return $this->instanceNames; + } + public function setIsPreemptible($isPreemptible) + { + $this->isPreemptible = $isPreemptible; + } + public function getIsPreemptible() + { + return $this->isPreemptible; + } + public function setMachineTypeUri($machineTypeUri) + { + $this->machineTypeUri = $machineTypeUri; + } + public function getMachineTypeUri() + { + return $this->machineTypeUri; + } + public function setManagedGroupConfig(Google_Service_Dataproc_ManagedGroupConfig $managedGroupConfig) + { + $this->managedGroupConfig = $managedGroupConfig; + } + public function getManagedGroupConfig() + { + return $this->managedGroupConfig; + } + public function setNumInstances($numInstances) + { + $this->numInstances = $numInstances; + } + public function getNumInstances() + { + return $this->numInstances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php new file mode 100644 index 00000000..8b9fb432 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Job.php @@ -0,0 +1,169 @@ +driverControlFilesUri = $driverControlFilesUri; + } + public function getDriverControlFilesUri() + { + return $this->driverControlFilesUri; + } + public function setDriverOutputResourceUri($driverOutputResourceUri) + { + $this->driverOutputResourceUri = $driverOutputResourceUri; + } + public function getDriverOutputResourceUri() + { + return $this->driverOutputResourceUri; + } + public function setHadoopJob(Google_Service_Dataproc_HadoopJob $hadoopJob) + { + $this->hadoopJob = $hadoopJob; + } + public function getHadoopJob() + { + return $this->hadoopJob; + } + public function setHiveJob(Google_Service_Dataproc_HiveJob $hiveJob) + { + $this->hiveJob = $hiveJob; + } + public function getHiveJob() + { + return $this->hiveJob; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setPigJob(Google_Service_Dataproc_PigJob $pigJob) + { + $this->pigJob = $pigJob; + } + public function getPigJob() + { + return $this->pigJob; + } + public function setPlacement(Google_Service_Dataproc_JobPlacement $placement) + { + $this->placement = $placement; + } + public function getPlacement() + { + return $this->placement; + } + public function setPysparkJob(Google_Service_Dataproc_PySparkJob $pysparkJob) + { + $this->pysparkJob = $pysparkJob; + } + public function getPysparkJob() + { + return $this->pysparkJob; + } + public function setReference(Google_Service_Dataproc_JobReference $reference) + { + $this->reference = $reference; + } + public function getReference() + { + return $this->reference; + } + public function setScheduling(Google_Service_Dataproc_JobScheduling $scheduling) + { + $this->scheduling = $scheduling; + } + public function getScheduling() + { + return $this->scheduling; + } + public function setSparkJob(Google_Service_Dataproc_SparkJob $sparkJob) + { + $this->sparkJob = $sparkJob; + } + public function getSparkJob() + { + return $this->sparkJob; + } + public function setSparkSqlJob(Google_Service_Dataproc_SparkSqlJob $sparkSqlJob) + { + $this->sparkSqlJob = $sparkSqlJob; + } + public function getSparkSqlJob() + { + return $this->sparkSqlJob; + } + public function setStatus(Google_Service_Dataproc_JobStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusHistory($statusHistory) + { + $this->statusHistory = $statusHistory; + } + public function getStatusHistory() + { + return $this->statusHistory; + } + public function setYarnApplications($yarnApplications) + { + $this->yarnApplications = $yarnApplications; + } + public function getYarnApplications() + { + return $this->yarnApplications; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php new file mode 100644 index 00000000..16705b8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobPlacement.php @@ -0,0 +1,39 @@ +clusterName = $clusterName; + } + public function getClusterName() + { + return $this->clusterName; + } + public function setClusterUuid($clusterUuid) + { + $this->clusterUuid = $clusterUuid; + } + public function getClusterUuid() + { + return $this->clusterUuid; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php new file mode 100644 index 00000000..977cd0d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobReference.php @@ -0,0 +1,39 @@ +jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php new file mode 100644 index 00000000..e698e4ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobScheduling.php @@ -0,0 +1,30 @@ +maxFailuresPerHour = $maxFailuresPerHour; + } + public function getMaxFailuresPerHour() + { + return $this->maxFailuresPerHour; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php new file mode 100644 index 00000000..60f8df6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/JobStatus.php @@ -0,0 +1,48 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStateStartTime($stateStartTime) + { + $this->stateStartTime = $stateStartTime; + } + public function getStateStartTime() + { + return $this->stateStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php new file mode 100644 index 00000000..d3589082 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListClustersResponse.php @@ -0,0 +1,41 @@ +clusters = $clusters; + } + public function getClusters() + { + return $this->clusters; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php new file mode 100644 index 00000000..be99793b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListJobsResponse.php @@ -0,0 +1,41 @@ +jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php new file mode 100644 index 00000000..dd749a87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php new file mode 100644 index 00000000..90e5f33d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/LoggingConfig.php @@ -0,0 +1,30 @@ +driverLogLevels = $driverLogLevels; + } + public function getDriverLogLevels() + { + return $this->driverLogLevels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php new file mode 100644 index 00000000..1725fe5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/ManagedGroupConfig.php @@ -0,0 +1,39 @@ +instanceGroupManagerName = $instanceGroupManagerName; + } + public function getInstanceGroupManagerName() + { + return $this->instanceGroupManagerName; + } + public function setInstanceTemplateName($instanceTemplateName) + { + $this->instanceTemplateName = $instanceTemplateName; + } + public function getInstanceTemplateName() + { + return $this->instanceTemplateName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php new file mode 100644 index 00000000..d7f296c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/NodeInitializationAction.php @@ -0,0 +1,39 @@ +executableFile = $executableFile; + } + public function getExecutableFile() + { + return $this->executableFile; + } + public function setExecutionTimeout($executionTimeout) + { + $this->executionTimeout = $executionTimeout; + } + public function getExecutionTimeout() + { + return $this->executionTimeout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php new file mode 100644 index 00000000..71e287c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Dataproc_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php new file mode 100644 index 00000000..e57db919 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationMetadata.php @@ -0,0 +1,141 @@ +clusterName = $clusterName; + } + public function getClusterName() + { + return $this->clusterName; + } + public function setClusterUuid($clusterUuid) + { + $this->clusterUuid = $clusterUuid; + } + public function getClusterUuid() + { + return $this->clusterUuid; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInnerState($innerState) + { + $this->innerState = $innerState; + } + public function getInnerState() + { + return $this->innerState; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStatus(Google_Service_Dataproc_OperationStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusHistory($statusHistory) + { + $this->statusHistory = $statusHistory; + } + public function getStatusHistory() + { + return $this->statusHistory; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php new file mode 100644 index 00000000..90f1143d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/OperationStatus.php @@ -0,0 +1,57 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setInnerState($innerState) + { + $this->innerState = $innerState; + } + public function getInnerState() + { + return $this->innerState; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStateStartTime($stateStartTime) + { + $this->stateStartTime = $stateStartTime; + } + public function getStateStartTime() + { + return $this->stateStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php new file mode 100644 index 00000000..e09142cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PigJob.php @@ -0,0 +1,87 @@ +continueOnFailure = $continueOnFailure; + } + public function getContinueOnFailure() + { + return $this->continueOnFailure; + } + public function setJarFileUris($jarFileUris) + { + $this->jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + public function getLoggingConfig() + { + return $this->loggingConfig; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setQueryFileUri($queryFileUri) + { + $this->queryFileUri = $queryFileUri; + } + public function getQueryFileUri() + { + return $this->queryFileUri; + } + public function setQueryList(Google_Service_Dataproc_QueryList $queryList) + { + $this->queryList = $queryList; + } + public function getQueryList() + { + return $this->queryList; + } + public function setScriptVariables($scriptVariables) + { + $this->scriptVariables = $scriptVariables; + } + public function getScriptVariables() + { + return $this->scriptVariables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php new file mode 100644 index 00000000..4ab147d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/PySparkJob.php @@ -0,0 +1,95 @@ +archiveUris = $archiveUris; + } + public function getArchiveUris() + { + return $this->archiveUris; + } + public function setArgs($args) + { + $this->args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setFileUris($fileUris) + { + $this->fileUris = $fileUris; + } + public function getFileUris() + { + return $this->fileUris; + } + public function setJarFileUris($jarFileUris) + { + $this->jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + public function getLoggingConfig() + { + return $this->loggingConfig; + } + public function setMainPythonFileUri($mainPythonFileUri) + { + $this->mainPythonFileUri = $mainPythonFileUri; + } + public function getMainPythonFileUri() + { + return $this->mainPythonFileUri; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setPythonFileUris($pythonFileUris) + { + $this->pythonFileUris = $pythonFileUris; + } + public function getPythonFileUris() + { + return $this->pythonFileUris; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php new file mode 100644 index 00000000..a14da25d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/QueryList.php @@ -0,0 +1,31 @@ +queries = $queries; + } + public function getQueries() + { + return $this->queries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php new file mode 100644 index 00000000..505f9dd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $dataprocService = new Google_Service_Dataproc(...); + * $projects = $dataprocService->projects; + * + */ +class Google_Service_Dataproc_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php new file mode 100644 index 00000000..ba626814 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegions.php @@ -0,0 +1,28 @@ + + * $dataprocService = new Google_Service_Dataproc(...); + * $regions = $dataprocService->regions; + * + */ +class Google_Service_Dataproc_Resource_ProjectsRegions extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php new file mode 100644 index 00000000..77c97dd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsClusters.php @@ -0,0 +1,162 @@ + + * $dataprocService = new Google_Service_Dataproc(...); + * $clusters = $dataprocService->clusters; + * + */ +class Google_Service_Dataproc_Resource_ProjectsRegionsClusters extends Google_Service_Resource +{ + /** + * Creates a cluster in a project. (clusters.create) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param Google_Service_Dataproc_Cluster $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Operation + */ + public function create($projectId, $region, Google_Service_Dataproc_Cluster $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dataproc_Operation"); + } + /** + * Deletes a cluster in a project. (clusters.delete) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $clusterName Required The cluster name. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Operation + */ + public function delete($projectId, $region, $clusterName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Dataproc_Operation"); + } + /** + * Gets cluster diagnostic information. After the operation completes, the + * Operation.response field contains DiagnoseClusterOutputLocation. + * (clusters.diagnose) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $clusterName Required The cluster name. + * @param Google_Service_Dataproc_DiagnoseClusterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Operation + */ + public function diagnose($projectId, $region, $clusterName, Google_Service_Dataproc_DiagnoseClusterRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('diagnose', array($params), "Google_Service_Dataproc_Operation"); + } + /** + * Gets the resource representation for a cluster in a project. (clusters.get) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $clusterName Required The cluster name. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Cluster + */ + public function get($projectId, $region, $clusterName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataproc_Cluster"); + } + /** + * Lists all regions/{region}/clusters in a project. + * (clusters.listProjectsRegionsClusters) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional A filter constraining the clusters to list. + * Filters are case-sensitive and have the following syntax:field = value AND + * field = value ...where field is one of status.state, clusterName, or + * labels.[KEY], and [KEY] is a label key. value can be * to match all values. + * status.state can be one of the following: ACTIVE, INACTIVE, CREATING, + * RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, + * UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR + * states. clusterName is the name of the cluster provided at creation time. + * Only the logical AND operator is supported; space-separated items are treated + * as having an implicit AND operator.Example filter:status.state = ACTIVE AND + * clusterName = mycluster AND labels.env = staging AND labels.starred = * + * @opt_param string pageToken Optional The standard List page token. + * @opt_param int pageSize Optional The standard List page size. + * @return Google_Service_Dataproc_ListClustersResponse + */ + public function listProjectsRegionsClusters($projectId, $region, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataproc_ListClustersResponse"); + } + /** + * Updates a cluster in a project. (clusters.patch) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * the cluster belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $clusterName Required The cluster name. + * @param Google_Service_Dataproc_Cluster $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required Specifies the path, relative to + * Cluster, of the field to update. For example, to change the number of workers + * in a cluster to 5, the update_mask parameter would be specified as + * config.worker_config.num_instances, and the PATCH request body would specify + * the new value, as follows: { "config":{ "workerConfig":{ + * "numInstances":"5" } } } Similarly, to change the number of preemptible + * workers in a cluster to 5, the update_mask parameter would be + * config.secondary_worker_config.num_instances, and the PATCH request body + * would be set as follows: { "config":{ "secondaryWorkerConfig":{ + * "numInstances":"5" } } } Note: Currently, + * config.worker_config.num_instances and + * config.secondary_worker_config.num_instances are the only fields that can be + * updated. + * @return Google_Service_Dataproc_Operation + */ + public function patch($projectId, $region, $clusterName, Google_Service_Dataproc_Cluster $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'clusterName' => $clusterName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dataproc_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php new file mode 100644 index 00000000..23cb52ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsJobs.php @@ -0,0 +1,156 @@ + + * $dataprocService = new Google_Service_Dataproc(...); + * $jobs = $dataprocService->jobs; + * + */ +class Google_Service_Dataproc_Resource_ProjectsRegionsJobs extends Google_Service_Resource +{ + /** + * Starts a job cancellation request. To access the job resource after + * cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get. + * (jobs.cancel) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $jobId Required The job ID. + * @param Google_Service_Dataproc_CancelJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Job + */ + public function cancel($projectId, $region, $jobId, Google_Service_Dataproc_CancelJobRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Dataproc_Job"); + } + /** + * Deletes the job from the project. If the job is active, the delete fails, and + * the response returns FAILED_PRECONDITION. (jobs.delete) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $jobId Required The job ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_DataprocEmpty + */ + public function delete($projectId, $region, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Dataproc_DataprocEmpty"); + } + /** + * Gets the resource representation for a job in a project. (jobs.get) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $jobId Required The job ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Job + */ + public function get($projectId, $region, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataproc_Job"); + } + /** + * Lists regions/{region}/jobs in a project. (jobs.listProjectsRegionsJobs) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional The page token, returned by a previous + * call, to request the next page of results. + * @opt_param int pageSize Optional The number of results to return in each + * response. + * @opt_param string clusterName Optional If set, the returned jobs list + * includes only jobs that were submitted to the named cluster. + * @opt_param string filter Optional A filter constraining the jobs to list. + * Filters are case-sensitive and have the following syntax:field = value AND + * field = value ...where field is status.state or labels.[KEY], and [KEY] is a + * label key. value can be * to match all values. status.state can be either + * ACTIVE or INACTIVE. Only the logical AND operator is supported; space- + * separated items are treated as having an implicit AND operator.Example + * filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = * + * @opt_param string jobStateMatcher Optional Specifies enumerated categories of + * jobs to list (default = match ALL jobs). + * @return Google_Service_Dataproc_ListJobsResponse + */ + public function listProjectsRegionsJobs($projectId, $region, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataproc_ListJobsResponse"); + } + /** + * Updates a job in a project. (jobs.patch) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param string $jobId Required The job ID. + * @param Google_Service_Dataproc_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required Specifies the path, relative to Job, of + * the field to update. For example, to update the labels of a Job the + * update_mask parameter would be specified as labels, and the PATCH request + * body would specify the new value. Note: Currently, labels is the only field + * that can be updated. + * @return Google_Service_Dataproc_Job + */ + public function patch($projectId, $region, $jobId, Google_Service_Dataproc_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dataproc_Job"); + } + /** + * Submits a job to a cluster. (jobs.submit) + * + * @param string $projectId Required The ID of the Google Cloud Platform project + * that the job belongs to. + * @param string $region Required The Cloud Dataproc region in which to handle + * the request. + * @param Google_Service_Dataproc_SubmitJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Job + */ + public function submit($projectId, $region, Google_Service_Dataproc_SubmitJobRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params), "Google_Service_Dataproc_Job"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php new file mode 100644 index 00000000..b366e26b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Resource/ProjectsRegionsOperations.php @@ -0,0 +1,101 @@ + + * $dataprocService = new Google_Service_Dataproc(...); + * $operations = $dataprocService->operations; + * + */ +class Google_Service_Dataproc_Resource_ProjectsRegionsOperations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * Code.CANCELLED. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_DataprocEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Dataproc_DataprocEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * google.rpc.Code.UNIMPLEMENTED. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_DataprocEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Dataproc_DataprocEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Dataproc_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataproc_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name + * binding below allows API services to override the binding to use different + * resource name schemes, such as users/operations. + * (operations.listProjectsRegionsOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Dataproc_ListOperationsResponse + */ + public function listProjectsRegionsOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataproc_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php new file mode 100644 index 00000000..26abe390 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SoftwareConfig.php @@ -0,0 +1,39 @@ +imageVersion = $imageVersion; + } + public function getImageVersion() + { + return $this->imageVersion; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php new file mode 100644 index 00000000..845b7e88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkJob.php @@ -0,0 +1,95 @@ +archiveUris = $archiveUris; + } + public function getArchiveUris() + { + return $this->archiveUris; + } + public function setArgs($args) + { + $this->args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setFileUris($fileUris) + { + $this->fileUris = $fileUris; + } + public function getFileUris() + { + return $this->fileUris; + } + public function setJarFileUris($jarFileUris) + { + $this->jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + public function getLoggingConfig() + { + return $this->loggingConfig; + } + public function setMainClass($mainClass) + { + $this->mainClass = $mainClass; + } + public function getMainClass() + { + return $this->mainClass; + } + public function setMainJarFileUri($mainJarFileUri) + { + $this->mainJarFileUri = $mainJarFileUri; + } + public function getMainJarFileUri() + { + return $this->mainJarFileUri; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php new file mode 100644 index 00000000..d5dba5d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SparkSqlJob.php @@ -0,0 +1,78 @@ +jarFileUris = $jarFileUris; + } + public function getJarFileUris() + { + return $this->jarFileUris; + } + public function setLoggingConfig(Google_Service_Dataproc_LoggingConfig $loggingConfig) + { + $this->loggingConfig = $loggingConfig; + } + public function getLoggingConfig() + { + return $this->loggingConfig; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setQueryFileUri($queryFileUri) + { + $this->queryFileUri = $queryFileUri; + } + public function getQueryFileUri() + { + return $this->queryFileUri; + } + public function setQueryList(Google_Service_Dataproc_QueryList $queryList) + { + $this->queryList = $queryList; + } + public function getQueryList() + { + return $this->queryList; + } + public function setScriptVariables($scriptVariables) + { + $this->scriptVariables = $scriptVariables; + } + public function getScriptVariables() + { + return $this->scriptVariables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php new file mode 100644 index 00000000..55bc1464 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php new file mode 100644 index 00000000..e35ec7c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/SubmitJobRequest.php @@ -0,0 +1,31 @@ +job = $job; + } + public function getJob() + { + return $this->job; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php new file mode 100644 index 00000000..3e9ec6b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dataproc/YarnApplication.php @@ -0,0 +1,57 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTrackingUrl($trackingUrl) + { + $this->trackingUrl = $trackingUrl; + } + public function getTrackingUrl() + { + return $this->trackingUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php new file mode 100644 index 00000000..f51d9628 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore.php @@ -0,0 +1,127 @@ + + * Accesses the schemaless NoSQL database to provide fully managed, robust, + * scalable storage for your application.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Datastore extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Datastore data. */ + const DATASTORE = + "https://www.googleapis.com/auth/datastore"; + + public $projects; + + /** + * Constructs the internal representation of the Datastore service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://datastore.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'datastore'; + + $this->projects = new Google_Service_Datastore_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'allocateIds' => array( + 'path' => 'v1/projects/{projectId}:allocateIds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'beginTransaction' => array( + 'path' => 'v1/projects/{projectId}:beginTransaction', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'commit' => array( + 'path' => 'v1/projects/{projectId}:commit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'lookup' => array( + 'path' => 'v1/projects/{projectId}:lookup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => 'v1/projects/{projectId}:rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'runQuery' => array( + 'path' => 'v1/projects/{projectId}:runQuery', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php new file mode 100644 index 00000000..a188b51e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsRequest.php @@ -0,0 +1,32 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php new file mode 100644 index 00000000..19fbe936 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/AllocateIdsResponse.php @@ -0,0 +1,32 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php new file mode 100644 index 00000000..70ce9602 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ArrayValue.php @@ -0,0 +1,32 @@ +values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php new file mode 100644 index 00000000..407ed6e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/BeginTransactionRequest.php @@ -0,0 +1,20 @@ +transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php new file mode 100644 index 00000000..cbb98544 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitRequest.php @@ -0,0 +1,50 @@ +mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setMutations($mutations) + { + $this->mutations = $mutations; + } + public function getMutations() + { + return $this->mutations; + } + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php new file mode 100644 index 00000000..93395723 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CommitResponse.php @@ -0,0 +1,41 @@ +indexUpdates = $indexUpdates; + } + public function getIndexUpdates() + { + return $this->indexUpdates; + } + public function setMutationResults($mutationResults) + { + $this->mutationResults = $mutationResults; + } + public function getMutationResults() + { + return $this->mutationResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php new file mode 100644 index 00000000..e9774d7a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/CompositeFilter.php @@ -0,0 +1,41 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php new file mode 100644 index 00000000..dbc9e52f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Entity.php @@ -0,0 +1,41 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php new file mode 100644 index 00000000..41fae807 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/EntityResult.php @@ -0,0 +1,49 @@ +cursor = $cursor; + } + public function getCursor() + { + return $this->cursor; + } + public function setEntity(Google_Service_Datastore_Entity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php new file mode 100644 index 00000000..579c95c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Filter.php @@ -0,0 +1,41 @@ +compositeFilter = $compositeFilter; + } + public function getCompositeFilter() + { + return $this->compositeFilter; + } + public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter) + { + $this->propertyFilter = $propertyFilter; + } + public function getPropertyFilter() + { + return $this->propertyFilter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php new file mode 100644 index 00000000..271d43e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQuery.php @@ -0,0 +1,60 @@ +allowLiterals = $allowLiterals; + } + public function getAllowLiterals() + { + return $this->allowLiterals; + } + public function setNamedBindings($namedBindings) + { + $this->namedBindings = $namedBindings; + } + public function getNamedBindings() + { + return $this->namedBindings; + } + public function setPositionalBindings($positionalBindings) + { + $this->positionalBindings = $positionalBindings; + } + public function getPositionalBindings() + { + return $this->positionalBindings; + } + public function setQueryString($queryString) + { + $this->queryString = $queryString; + } + public function getQueryString() + { + return $this->queryString; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php new file mode 100644 index 00000000..fa47a775 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/GqlQueryParameter.php @@ -0,0 +1,40 @@ +cursor = $cursor; + } + public function getCursor() + { + return $this->cursor; + } + public function setValue(Google_Service_Datastore_Value $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php new file mode 100644 index 00000000..0febfdf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Key.php @@ -0,0 +1,42 @@ +partitionId = $partitionId; + } + public function getPartitionId() + { + return $this->partitionId; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php new file mode 100644 index 00000000..5831a6a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/KindExpression.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php new file mode 100644 index 00000000..e5eae8fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LatLng.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php new file mode 100644 index 00000000..19a5f33e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupRequest.php @@ -0,0 +1,42 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) + { + $this->readOptions = $readOptions; + } + public function getReadOptions() + { + return $this->readOptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php new file mode 100644 index 00000000..9568c94e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/LookupResponse.php @@ -0,0 +1,52 @@ +deferred = $deferred; + } + public function getDeferred() + { + return $this->deferred; + } + public function setFound($found) + { + $this->found = $found; + } + public function getFound() + { + return $this->found; + } + public function setMissing($missing) + { + $this->missing = $missing; + } + public function getMissing() + { + return $this->missing; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php new file mode 100644 index 00000000..6be38521 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Mutation.php @@ -0,0 +1,70 @@ +baseVersion = $baseVersion; + } + public function getBaseVersion() + { + return $this->baseVersion; + } + public function setDelete(Google_Service_Datastore_Key $delete) + { + $this->delete = $delete; + } + public function getDelete() + { + return $this->delete; + } + public function setInsert(Google_Service_Datastore_Entity $insert) + { + $this->insert = $insert; + } + public function getInsert() + { + return $this->insert; + } + public function setUpdate(Google_Service_Datastore_Entity $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } + public function setUpsert(Google_Service_Datastore_Entity $upsert) + { + $this->upsert = $upsert; + } + public function getUpsert() + { + return $this->upsert; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php new file mode 100644 index 00000000..9016d38e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/MutationResult.php @@ -0,0 +1,49 @@ +conflictDetected = $conflictDetected; + } + public function getConflictDetected() + { + return $this->conflictDetected; + } + public function setKey(Google_Service_Datastore_Key $key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php new file mode 100644 index 00000000..39a95139 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PartitionId.php @@ -0,0 +1,39 @@ +namespaceId = $namespaceId; + } + public function getNamespaceId() + { + return $this->namespaceId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php new file mode 100644 index 00000000..9ff2480e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PathElement.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php new file mode 100644 index 00000000..2576f2ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Projection.php @@ -0,0 +1,31 @@ +property = $property; + } + public function getProperty() + { + return $this->property; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php new file mode 100644 index 00000000..b6331bd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyFilter.php @@ -0,0 +1,50 @@ +op = $op; + } + public function getOp() + { + return $this->op; + } + public function setProperty(Google_Service_Datastore_PropertyReference $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setValue(Google_Service_Datastore_Value $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php new file mode 100644 index 00000000..ae15b758 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyOrder.php @@ -0,0 +1,40 @@ +direction = $direction; + } + public function getDirection() + { + return $this->direction; + } + public function setProperty(Google_Service_Datastore_PropertyReference $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php new file mode 100644 index 00000000..bc565d58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/PropertyReference.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php new file mode 100644 index 00000000..c3c32780 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Query.php @@ -0,0 +1,108 @@ +distinctOn = $distinctOn; + } + public function getDistinctOn() + { + return $this->distinctOn; + } + public function setEndCursor($endCursor) + { + $this->endCursor = $endCursor; + } + public function getEndCursor() + { + return $this->endCursor; + } + public function setFilter(Google_Service_Datastore_Filter $filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLimit($limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setOrder($order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } + public function setStartCursor($startCursor) + { + $this->startCursor = $startCursor; + } + public function getStartCursor() + { + return $this->startCursor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php new file mode 100644 index 00000000..268c7737 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/QueryResultBatch.php @@ -0,0 +1,86 @@ +endCursor = $endCursor; + } + public function getEndCursor() + { + return $this->endCursor; + } + public function setEntityResultType($entityResultType) + { + $this->entityResultType = $entityResultType; + } + public function getEntityResultType() + { + return $this->entityResultType; + } + public function setEntityResults($entityResults) + { + $this->entityResults = $entityResults; + } + public function getEntityResults() + { + return $this->entityResults; + } + public function setMoreResults($moreResults) + { + $this->moreResults = $moreResults; + } + public function getMoreResults() + { + return $this->moreResults; + } + public function setSkippedCursor($skippedCursor) + { + $this->skippedCursor = $skippedCursor; + } + public function getSkippedCursor() + { + return $this->skippedCursor; + } + public function setSkippedResults($skippedResults) + { + $this->skippedResults = $skippedResults; + } + public function getSkippedResults() + { + return $this->skippedResults; + } + public function setSnapshotVersion($snapshotVersion) + { + $this->snapshotVersion = $snapshotVersion; + } + public function getSnapshotVersion() + { + return $this->snapshotVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php new file mode 100644 index 00000000..7e934ec0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/ReadOptions.php @@ -0,0 +1,39 @@ +readConsistency = $readConsistency; + } + public function getReadConsistency() + { + return $this->readConsistency; + } + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php new file mode 100644 index 00000000..e786e729 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Resource/Projects.php @@ -0,0 +1,120 @@ + + * $datastoreService = new Google_Service_Datastore(...); + * $projects = $datastoreService->projects; + * + */ +class Google_Service_Datastore_Resource_Projects extends Google_Service_Resource +{ + /** + * Allocates IDs for the given keys, which is useful for referencing an entity + * before it is inserted. (projects.allocateIds) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_AllocateIdsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_AllocateIdsResponse + */ + public function allocateIds($projectId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('allocateIds', array($params), "Google_Service_Datastore_AllocateIdsResponse"); + } + /** + * Begins a new transaction. (projects.beginTransaction) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_BeginTransactionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_BeginTransactionResponse + */ + public function beginTransaction($projectId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('beginTransaction', array($params), "Google_Service_Datastore_BeginTransactionResponse"); + } + /** + * Commits a transaction, optionally creating, deleting or modifying some + * entities. (projects.commit) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_CommitRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_CommitResponse + */ + public function commit($projectId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse"); + } + /** + * Looks up entities by key. (projects.lookup) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_LookupRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_LookupResponse + */ + public function lookup($projectId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse"); + } + /** + * Rolls back a transaction. (projects.rollback) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_RollbackRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_RollbackResponse + */ + public function rollback($projectId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Datastore_RollbackResponse"); + } + /** + * Queries for entities. (projects.runQuery) + * + * @param string $projectId The ID of the project against which to make the + * request. + * @param Google_Service_Datastore_RunQueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_RunQueryResponse + */ + public function runQuery($projectId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('runQuery', array($params), "Google_Service_Datastore_RunQueryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php new file mode 100644 index 00000000..2faa9679 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackRequest.php @@ -0,0 +1,30 @@ +transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php new file mode 100644 index 00000000..d80eb517 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RollbackResponse.php @@ -0,0 +1,20 @@ +gqlQuery = $gqlQuery; + } + public function getGqlQuery() + { + return $this->gqlQuery; + } + public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId) + { + $this->partitionId = $partitionId; + } + public function getPartitionId() + { + return $this->partitionId; + } + public function setQuery(Google_Service_Datastore_Query $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) + { + $this->readOptions = $readOptions; + } + public function getReadOptions() + { + return $this->readOptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php new file mode 100644 index 00000000..201368c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/RunQueryResponse.php @@ -0,0 +1,41 @@ +batch = $batch; + } + public function getBatch() + { + return $this->batch; + } + public function setQuery(Google_Service_Datastore_Query $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php new file mode 100644 index 00000000..6d3c32d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Datastore/Value.php @@ -0,0 +1,142 @@ +arrayValue = $arrayValue; + } + public function getArrayValue() + { + return $this->arrayValue; + } + public function setBlobValue($blobValue) + { + $this->blobValue = $blobValue; + } + public function getBlobValue() + { + return $this->blobValue; + } + public function setBooleanValue($booleanValue) + { + $this->booleanValue = $booleanValue; + } + public function getBooleanValue() + { + return $this->booleanValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEntityValue(Google_Service_Datastore_Entity $entityValue) + { + $this->entityValue = $entityValue; + } + public function getEntityValue() + { + return $this->entityValue; + } + public function setExcludeFromIndexes($excludeFromIndexes) + { + $this->excludeFromIndexes = $excludeFromIndexes; + } + public function getExcludeFromIndexes() + { + return $this->excludeFromIndexes; + } + public function setGeoPointValue(Google_Service_Datastore_LatLng $geoPointValue) + { + $this->geoPointValue = $geoPointValue; + } + public function getGeoPointValue() + { + return $this->geoPointValue; + } + public function setIntegerValue($integerValue) + { + $this->integerValue = $integerValue; + } + public function getIntegerValue() + { + return $this->integerValue; + } + public function setKeyValue(Google_Service_Datastore_Key $keyValue) + { + $this->keyValue = $keyValue; + } + public function getKeyValue() + { + return $this->keyValue; + } + public function setMeaning($meaning) + { + $this->meaning = $meaning; + } + public function getMeaning() + { + return $this->meaning; + } + public function setNullValue($nullValue) + { + $this->nullValue = $nullValue; + } + public function getNullValue() + { + return $this->nullValue; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } + public function setTimestampValue($timestampValue) + { + $this->timestampValue = $timestampValue; + } + public function getTimestampValue() + { + return $this->timestampValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php new file mode 100644 index 00000000..fe887c23 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager.php @@ -0,0 +1,488 @@ + + * Declares, configures, and deploys complex solutions on Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_DeploymentManager extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $manifests; + public $operations; + public $resources; + public $types; + + /** + * Constructs the internal representation of the DeploymentManager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'deploymentmanager/v2/projects/'; + $this->version = 'v2'; + $this->serviceName = 'deploymentmanager'; + + $this->deployments = new Google_Service_DeploymentManager_Resource_Deployments( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'cancelPreview' => array( + 'path' => '{project}/global/deployments/{deployment}/cancelPreview', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deletePolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => '{project}/global/deployments/{resource}/getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'createPolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'deletePolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'setIamPolicy' => array( + 'path' => '{project}/global/deployments/{resource}/setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => '{project}/global/deployments/{deployment}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => '{project}/global/deployments/{resource}/testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'createPolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'deletePolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->manifests = new Google_Service_DeploymentManager_Resource_Manifests( + $this, + $this->serviceName, + 'manifests', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'manifest' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_DeploymentManager_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->resources = new Google_Service_DeploymentManager_Resource_Resources( + $this, + $this->serviceName, + 'resources', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/resources/{resource}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/resources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->types = new Google_Service_DeploymentManager_Resource_Types( + $this, + $this->serviceName, + 'types', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/global/types', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php new file mode 100644 index 00000000..3dcd22fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditConfig.php @@ -0,0 +1,50 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setExemptedMembers($exemptedMembers) + { + $this->exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php new file mode 100644 index 00000000..7cb4e52d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php new file mode 100644 index 00000000..06bd6104 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php new file mode 100644 index 00000000..60097131 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Condition.php @@ -0,0 +1,76 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php new file mode 100644 index 00000000..8abb1a99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ConfigFile.php @@ -0,0 +1,30 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php new file mode 100644 index 00000000..065f0662 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Deployment.php @@ -0,0 +1,125 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperation(Google_Service_DeploymentManager_Operation $operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php new file mode 100644 index 00000000..dfefc929 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentLabelEntry.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php new file mode 100644 index 00000000..99beda8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdate.php @@ -0,0 +1,50 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php new file mode 100644 index 00000000..f7c160c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentUpdateLabelEntry.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php new file mode 100644 index 00000000..6fdc0d7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResource.php @@ -0,0 +1,133 @@ +accessControl = $accessControl; + } + public function getAccessControl() + { + return $this->accessControl; + } + public function setFinalProperties($finalProperties) + { + $this->finalProperties = $finalProperties; + } + public function getFinalProperties() + { + return $this->finalProperties; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php new file mode 100644 index 00000000..2e5c54d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php new file mode 100644 index 00000000..0ee7e71b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentmanagerResourceWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php new file mode 100644 index 00000000..7e4d1e75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsCancelPreviewRequest.php @@ -0,0 +1,30 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php new file mode 100644 index 00000000..8cbd2724 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsListResponse.php @@ -0,0 +1,41 @@ +deployments = $deployments; + } + public function getDeployments() + { + return $this->deployments; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php new file mode 100644 index 00000000..262c7b30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/DeploymentsStopRequest.php @@ -0,0 +1,30 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php new file mode 100644 index 00000000..ab85668f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ImportFile.php @@ -0,0 +1,39 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php new file mode 100644 index 00000000..3599f1ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfig.php @@ -0,0 +1,31 @@ +counter = $counter; + } + public function getCounter() + { + return $this->counter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php new file mode 100644 index 00000000..b9a9b9bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/LogConfigCounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php new file mode 100644 index 00000000..7adc20f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Manifest.php @@ -0,0 +1,96 @@ +config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setExpandedConfig($expandedConfig) + { + $this->expandedConfig = $expandedConfig; + } + public function getExpandedConfig() + { + return $this->expandedConfig; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImports($imports) + { + $this->imports = $imports; + } + public function getImports() + { + return $this->imports; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php new file mode 100644 index 00000000..6859ab30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ManifestsListResponse.php @@ -0,0 +1,41 @@ +manifests = $manifests; + } + public function getManifests() + { + return $this->manifests; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php new file mode 100644 index 00000000..a9993c6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Operation.php @@ -0,0 +1,231 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_DeploymentManager_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php new file mode 100644 index 00000000..7f37bf68 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php new file mode 100644 index 00000000..544661ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php new file mode 100644 index 00000000..342aa444 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php new file mode 100644 index 00000000..ddf46398 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php new file mode 100644 index 00000000..09f20c50 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/OperationsListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php new file mode 100644 index 00000000..c9ae1046 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php new file mode 100644 index 00000000..890bfb18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Deployments.php @@ -0,0 +1,279 @@ + + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $deployments = $deploymentmanagerService->deployments; + * + */ +class Google_Service_DeploymentManager_Resource_Deployments extends Google_Service_Resource +{ + /** + * Cancels and removes the preview currently associated with the deployment. + * (deployments.cancelPreview) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function cancelPreview($project, $deployment, Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancelPreview', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Deletes a deployment and all of the resources in the deployment. + * (deployments.delete) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string deletePolicy Sets the policy to use for deleting resources. + * @return Google_Service_DeploymentManager_Operation + */ + public function delete($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Gets information about a specific deployment. (deployments.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Deployment + */ + public function get($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment"); + } + /** + * Gets the access control policy for a resource. May be empty if no such policy + * or resource exists. (deployments.getIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Policy + */ + public function getIamPolicy($project, $resource, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_DeploymentManager_Policy"); + } + /** + * Creates a deployment and all of the resources described by the deployment + * manifest. (deployments.insert) + * + * @param string $project The project ID for this request. + * @param Google_Service_DeploymentManager_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If set to true, creates a deployment and creates + * "shell" resources but does not actually instantiate these resources. This + * allows you to preview what your deployment looks like. After previewing a + * deployment, you can deploy your resources by making a request with the + * update() method or you can use the cancelPreview() method to cancel the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @return Google_Service_DeploymentManager_Operation + */ + public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Lists all deployments for a given project. (deployments.listDeployments) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_DeploymentManager_DeploymentsListResponse + */ + public function listDeployments($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse"); + } + /** + * Updates a deployment and all of the resources described by the deployment + * manifest. This method supports patch semantics. (deployments.patch) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Service_DeploymentManager_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string createPolicy Sets the policy to use for creating new + * resources. + * @opt_param string deletePolicy Sets the policy to use for deleting resources. + * @opt_param bool preview If set to true, updates the deployment and creates + * and updates the "shell" resources but does not actually alter or instantiate + * these resources. This allows you to preview what your deployment will look + * like. You can use this intent to preview how an update would affect your + * deployment. You must provide a target.config with a configuration if this is + * set to true. After previewing a deployment, you can deploy your resources by + * making a request with the update() or you can cancelPreview() to remove the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @return Google_Service_DeploymentManager_Operation + */ + public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (deployments.setIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_DeploymentManager_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Policy + */ + public function setIamPolicy($project, $resource, Google_Service_DeploymentManager_Policy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_DeploymentManager_Policy"); + } + /** + * Stops an ongoing operation. This does not roll back any work that has already + * been completed, but prevents any new work from being started. + * (deployments.stop) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Service_DeploymentManager_DeploymentsStopRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function stop($project, $deployment, Google_Service_DeploymentManager_DeploymentsStopRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Returns permissions that a caller has on the specified resource. + * (deployments.testIamPermissions) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Service_DeploymentManager_TestPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_TestPermissionsResponse + */ + public function testIamPermissions($project, $resource, Google_Service_DeploymentManager_TestPermissionsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_DeploymentManager_TestPermissionsResponse"); + } + /** + * Updates a deployment and all of the resources described by the deployment + * manifest. (deployments.update) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Service_DeploymentManager_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string createPolicy Sets the policy to use for creating new + * resources. + * @opt_param string deletePolicy Sets the policy to use for deleting resources. + * @opt_param bool preview If set to true, updates the deployment and creates + * and updates the "shell" resources but does not actually alter or instantiate + * these resources. This allows you to preview what your deployment will look + * like. You can use this intent to preview how an update would affect your + * deployment. You must provide a target.config with a configuration if this is + * set to true. After previewing a deployment, you can deploy your resources by + * making a request with the update() or you can cancelPreview() to remove the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @return Google_Service_DeploymentManager_Operation + */ + public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php new file mode 100644 index 00000000..866783bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Manifests.php @@ -0,0 +1,100 @@ + + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $manifests = $deploymentmanagerService->manifests; + * + */ +class Google_Service_DeploymentManager_Resource_Manifests extends Google_Service_Resource +{ + /** + * Gets information about a specific manifest. (manifests.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param string $manifest The name of the manifest for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Manifest + */ + public function get($project, $deployment, $manifest, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest"); + } + /** + * Lists all manifests for a given deployment. (manifests.listManifests) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_DeploymentManager_ManifestsListResponse + */ + public function listManifests($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php new file mode 100644 index 00000000..937b87f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Operations.php @@ -0,0 +1,98 @@ + + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $operations = $deploymentmanagerService->operations; + * + */ +class Google_Service_DeploymentManager_Resource_Operations extends Google_Service_Resource +{ + /** + * Gets information about a specific operation. (operations.get) + * + * @param string $project The project ID for this request. + * @param string $operation The name of the operation for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Operation"); + } + /** + * Lists all operations for a project. (operations.listOperations) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_DeploymentManager_OperationsListResponse + */ + public function listOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php new file mode 100644 index 00000000..ed154b2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Resources.php @@ -0,0 +1,100 @@ + + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $resources = $deploymentmanagerService->resources; + * + */ +class Google_Service_DeploymentManager_Resource_Resources extends Google_Service_Resource +{ + /** + * Gets information about a single resource. (resources.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param string $resource The name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_DeploymentmanagerResource + */ + public function get($project, $deployment, $resource, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource"); + } + /** + * Lists all resources in a given deployment. (resources.listResources) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_DeploymentManager_ResourcesListResponse + */ + public function listResources($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php new file mode 100644 index 00000000..290fd50e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Resource/Types.php @@ -0,0 +1,84 @@ + + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $types = $deploymentmanagerService->types; + * + */ +class Google_Service_DeploymentManager_Resource_Types extends Google_Service_Resource +{ + /** + * Lists all resource types for Deployment Manager. (types.listTypes) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. Use filtering on + * nested fields to take advantage of labels to organize and search for results + * based on label values. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + * central1-f). Multiple expressions are treated as AND expressions, meaning + * that resources must match all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. Acceptable values are 0 + * to 500, inclusive. (Default: 500) + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_DeploymentManager_TypesListResponse + */ + public function listTypes($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php new file mode 100644 index 00000000..33a43bbf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceAccessControl.php @@ -0,0 +1,30 @@ +gcpIamPolicy = $gcpIamPolicy; + } + public function getGcpIamPolicy() + { + return $this->gcpIamPolicy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php new file mode 100644 index 00000000..5191d8f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdate.php @@ -0,0 +1,97 @@ +accessControl = $accessControl; + } + public function getAccessControl() + { + return $this->accessControl; + } + public function setError(Google_Service_DeploymentManager_ResourceUpdateError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setFinalProperties($finalProperties) + { + $this->finalProperties = $finalProperties; + } + public function getFinalProperties() + { + return $this->finalProperties; + } + public function setIntent($intent) + { + $this->intent = $intent; + } + public function getIntent() + { + return $this->intent; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php new file mode 100644 index 00000000..0d2afdc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php new file mode 100644 index 00000000..6fc49050 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php new file mode 100644 index 00000000..39f3f579 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php new file mode 100644 index 00000000..f5f43c48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourceUpdateWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php new file mode 100644 index 00000000..ec94bf3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/ResourcesListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php new file mode 100644 index 00000000..b5794ae0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIns($ins) + { + $this->ins = $ins; + } + public function getIns() + { + return $this->ins; + } + public function setLogConfigs($logConfigs) + { + $this->logConfigs = $logConfigs; + } + public function getLogConfigs() + { + return $this->logConfigs; + } + public function setNotIns($notIns) + { + $this->notIns = $notIns; + } + public function getNotIns() + { + return $this->notIns; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php new file mode 100644 index 00000000..89a758a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TargetConfiguration.php @@ -0,0 +1,42 @@ +config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setImports($imports) + { + $this->imports = $imports; + } + public function getImports() + { + return $this->imports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php new file mode 100644 index 00000000..27d0c28b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php new file mode 100644 index 00000000..c3a1ab70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TestPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php new file mode 100644 index 00000000..b4239c73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/Type.php @@ -0,0 +1,67 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperation(Google_Service_DeploymentManager_Operation $operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php new file mode 100644 index 00000000..180b0536 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DeploymentManager/TypesListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php new file mode 100644 index 00000000..5538348b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting.php @@ -0,0 +1,4816 @@ + + * Manages your DoubleClick Campaign Manager ad campaigns and reports.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Dfareporting extends Google_Service +{ + /** Manage DoubleClick Digital Marketing conversions. */ + const DDMCONVERSIONS = + "https://www.googleapis.com/auth/ddmconversions"; + /** View and manage DoubleClick for Advertisers reports. */ + const DFAREPORTING = + "https://www.googleapis.com/auth/dfareporting"; + /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns. */ + const DFATRAFFICKING = + "https://www.googleapis.com/auth/dfatrafficking"; + + public $accountActiveAdSummaries; + public $accountPermissionGroups; + public $accountPermissions; + public $accountUserProfiles; + public $accounts; + public $ads; + public $advertiserGroups; + public $advertisers; + public $browsers; + public $campaignCreativeAssociations; + public $campaigns; + public $changeLogs; + public $cities; + public $connectionTypes; + public $contentCategories; + public $conversions; + public $countries; + public $creativeAssets; + public $creativeFieldValues; + public $creativeFields; + public $creativeGroups; + public $creatives; + public $dimensionValues; + public $directorySiteContacts; + public $directorySites; + public $dynamicTargetingKeys; + public $eventTags; + public $files; + public $floodlightActivities; + public $floodlightActivityGroups; + public $floodlightConfigurations; + public $inventoryItems; + public $landingPages; + public $languages; + public $metros; + public $mobileCarriers; + public $operatingSystemVersions; + public $operatingSystems; + public $orderDocuments; + public $orders; + public $placementGroups; + public $placementStrategies; + public $placements; + public $platformTypes; + public $postalCodes; + public $projects; + public $regions; + public $remarketingListShares; + public $remarketingLists; + public $reports; + public $reports_compatibleFields; + public $reports_files; + public $sites; + public $sizes; + public $subaccounts; + public $targetableRemarketingLists; + public $targetingTemplates; + public $userProfiles; + public $userRolePermissionGroups; + public $userRolePermissions; + public $userRoles; + public $videoFormats; + + /** + * Constructs the internal representation of the Dfareporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'dfareporting/v2.7/'; + $this->version = 'v2.7'; + $this->serviceName = 'dfareporting'; + + $this->accountActiveAdSummaries = new Google_Service_Dfareporting_Resource_AccountActiveAdSummaries( + $this, + $this->serviceName, + 'accountActiveAdSummaries', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'summaryAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountPermissionGroups = new Google_Service_Dfareporting_Resource_AccountPermissionGroups( + $this, + $this->serviceName, + 'accountPermissionGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountPermissionGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountPermissionGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountPermissions = new Google_Service_Dfareporting_Resource_AccountPermissions( + $this, + $this->serviceName, + 'accountPermissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountPermissions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountPermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountUserProfiles = new Google_Service_Dfareporting_Resource_AccountUserProfiles( + $this, + $this->serviceName, + 'accountUserProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userRoleId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts = new Google_Service_Dfareporting_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->ads = new Google_Service_Dfareporting_Resource_Ads( + $this, + $this->serviceName, + 'ads', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/ads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'audienceSegmentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'compatibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creativeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'creativeOptimizationConfigurationIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'dynamicClickTracker' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'landingPageIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'overriddenEventTagId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'remarketingListIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sslCompliant' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sslRequired' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->advertiserGroups = new Google_Service_Dfareporting_Resource_AdvertiserGroups( + $this, + $this->serviceName, + 'advertiserGroups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->advertisers = new Google_Service_Dfareporting_Resource_Advertisers( + $this, + $this->serviceName, + 'advertisers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/advertisers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'floodlightConfigurationIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'includeAdvertisersWithoutGroupsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'onlyParent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->browsers = new Google_Service_Dfareporting_Resource_Browsers( + $this, + $this->serviceName, + 'browsers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/browsers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->campaignCreativeAssociations = new Google_Service_Dfareporting_Resource_CampaignCreativeAssociations( + $this, + $this->serviceName, + 'campaignCreativeAssociations', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->campaigns = new Google_Service_Dfareporting_Resource_Campaigns( + $this, + $this->serviceName, + 'campaigns', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'defaultLandingPageName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'defaultLandingPageUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'atLeastOneOptimizationActivity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'excludedIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'overriddenEventTagId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->changeLogs = new Google_Service_Dfareporting_Resource_ChangeLogs( + $this, + $this->serviceName, + 'changeLogs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/changeLogs/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/changeLogs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'action' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxChangeTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'minChangeTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'objectIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'objectType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userProfileIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->cities = new Google_Service_Dfareporting_Resource_Cities( + $this, + $this->serviceName, + 'cities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/cities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'countryDartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'dartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'namePrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionDartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->connectionTypes = new Google_Service_Dfareporting_Resource_ConnectionTypes( + $this, + $this->serviceName, + 'connectionTypes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/connectionTypes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/connectionTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->contentCategories = new Google_Service_Dfareporting_Resource_ContentCategories( + $this, + $this->serviceName, + 'contentCategories', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/contentCategories/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/contentCategories/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->conversions = new Google_Service_Dfareporting_Resource_Conversions( + $this, + $this->serviceName, + 'conversions', + array( + 'methods' => array( + 'batchinsert' => array( + 'path' => 'userprofiles/{profileId}/conversions/batchinsert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->countries = new Google_Service_Dfareporting_Resource_Countries( + $this, + $this->serviceName, + 'countries', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/countries/{dartId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dartId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/countries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeAssets = new Google_Service_Dfareporting_Resource_CreativeAssets( + $this, + $this->serviceName, + 'creativeAssets', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeFieldValues = new Google_Service_Dfareporting_Resource_CreativeFieldValues( + $this, + $this->serviceName, + 'creativeFieldValues', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeFields = new Google_Service_Dfareporting_Resource_CreativeFields( + $this, + $this->serviceName, + 'creativeFields', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeGroups = new Google_Service_Dfareporting_Resource_CreativeGroups( + $this, + $this->serviceName, + 'creativeGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'groupNumber' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creatives = new Google_Service_Dfareporting_Resource_Creatives( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/creatives/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'companionCreativeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'creativeFieldIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'renderingIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioCreativeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'types' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->dimensionValues = new Google_Service_Dfareporting_Resource_DimensionValues( + $this, + $this->serviceName, + 'dimensionValues', + array( + 'methods' => array( + 'query' => array( + 'path' => 'userprofiles/{profileId}/dimensionvalues/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->directorySiteContacts = new Google_Service_Dfareporting_Resource_DirectorySiteContacts( + $this, + $this->serviceName, + 'directorySiteContacts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/directorySiteContacts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/directorySiteContacts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->directorySites = new Google_Service_Dfareporting_Resource_DirectorySites( + $this, + $this->serviceName, + 'directorySites', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/directorySites/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/directorySites', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/directorySites', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acceptsInStreamVideoPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'acceptsInterstitialPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'acceptsPublisherPaidPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'countryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dfp_network_code' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->dynamicTargetingKeys = new Google_Service_Dfareporting_Resource_DynamicTargetingKeys( + $this, + $this->serviceName, + 'dynamicTargetingKeys', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys/{objectId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'objectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'objectType' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/dynamicTargetingKeys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'names' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'objectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'objectType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->eventTags = new Google_Service_Dfareporting_Resource_EventTags( + $this, + $this->serviceName, + 'eventTags', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/eventTags/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/eventTags/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'definitionsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'enabled' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'eventTagTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->files = new Google_Service_Dfareporting_Resource_Files( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'get' => array( + 'path' => 'reports/{reportId}/files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scope' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->floodlightActivities = new Google_Service_Dfareporting_Resource_FloodlightActivities( + $this, + $this->serviceName, + 'floodlightActivities', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generatetag' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/generatetag', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'floodlightActivityId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightActivityGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'floodlightActivityGroupName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightActivityGroupTagString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightActivityGroupType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightConfigurationId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tagString' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->floodlightActivityGroups = new Google_Service_Dfareporting_Resource_FloodlightActivityGroups( + $this, + $this->serviceName, + 'floodlightActivityGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightConfigurationId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->floodlightConfigurations = new Google_Service_Dfareporting_Resource_FloodlightConfigurations( + $this, + $this->serviceName, + 'floodlightConfigurations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->inventoryItems = new Google_Service_Dfareporting_Resource_InventoryItems( + $this, + $this->serviceName, + 'inventoryItems', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'inPlan' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->landingPages = new Google_Service_Dfareporting_Resource_LandingPages( + $this, + $this->serviceName, + 'landingPages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->languages = new Google_Service_Dfareporting_Resource_Languages( + $this, + $this->serviceName, + 'languages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/languages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->metros = new Google_Service_Dfareporting_Resource_Metros( + $this, + $this->serviceName, + 'metros', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/metros', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->mobileCarriers = new Google_Service_Dfareporting_Resource_MobileCarriers( + $this, + $this->serviceName, + 'mobileCarriers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/mobileCarriers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/mobileCarriers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operatingSystemVersions = new Google_Service_Dfareporting_Resource_OperatingSystemVersions( + $this, + $this->serviceName, + 'operatingSystemVersions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/operatingSystemVersions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/operatingSystemVersions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operatingSystems = new Google_Service_Dfareporting_Resource_OperatingSystems( + $this, + $this->serviceName, + 'operatingSystems', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/operatingSystems/{dartId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dartId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/operatingSystems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->orderDocuments = new Google_Service_Dfareporting_Resource_OrderDocuments( + $this, + $this->serviceName, + 'orderDocuments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'approved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->orders = new Google_Service_Dfareporting_Resource_Orders( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->placementGroups = new Google_Service_Dfareporting_Resource_PlacementGroups( + $this, + $this->serviceName, + 'placementGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/placementGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'contentCategoryIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxEndDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxStartDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minEndDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minStartDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementGroupType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementStrategyIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pricingTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->placementStrategies = new Google_Service_Dfareporting_Resource_PlacementStrategies( + $this, + $this->serviceName, + 'placementStrategies', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->placements = new Google_Service_Dfareporting_Resource_Placements( + $this, + $this->serviceName, + 'placements', + array( + 'methods' => array( + 'generatetags' => array( + 'path' => 'userprofiles/{profileId}/placements/generatetags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'tagFormats' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/placements/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'compatibilities' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'contentCategoryIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'groupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxEndDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxStartDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minEndDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minStartDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'paymentSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementStrategyIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pricingTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->platformTypes = new Google_Service_Dfareporting_Resource_PlatformTypes( + $this, + $this->serviceName, + 'platformTypes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/platformTypes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/platformTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->postalCodes = new Google_Service_Dfareporting_Resource_PostalCodes( + $this, + $this->serviceName, + 'postalCodes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/postalCodes/{code}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'code' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/postalCodes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Dfareporting_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->regions = new Google_Service_Dfareporting_Resource_Regions( + $this, + $this->serviceName, + 'regions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/regions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->remarketingListShares = new Google_Service_Dfareporting_Resource_RemarketingListShares( + $this, + $this->serviceName, + 'remarketingListShares', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingListId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingListId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->remarketingLists = new Google_Service_Dfareporting_Resource_RemarketingLists( + $this, + $this->serviceName, + 'remarketingLists', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'floodlightActivityId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_Dfareporting_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/reports', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scope' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'run' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/run', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'synchronous' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports_compatibleFields = new Google_Service_Dfareporting_Resource_ReportsCompatibleFields( + $this, + $this->serviceName, + 'compatibleFields', + array( + 'methods' => array( + 'query' => array( + 'path' => 'userprofiles/{profileId}/reports/compatiblefields/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports_files = new Google_Service_Dfareporting_Resource_ReportsFiles( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sites = new Google_Service_Dfareporting_Resource_Sites( + $this, + $this->serviceName, + 'sites', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/sites/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acceptsInStreamVideoPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'acceptsInterstitialPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'acceptsPublisherPaidPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'adWordsSite' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'approved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'unmappedSite' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sizes = new Google_Service_Dfareporting_Resource_Sizes( + $this, + $this->serviceName, + 'sizes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/sizes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/sizes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/sizes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'height' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'iabStandard' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'width' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->subaccounts = new Google_Service_Dfareporting_Resource_Subaccounts( + $this, + $this->serviceName, + 'subaccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/subaccounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetableRemarketingLists = new Google_Service_Dfareporting_Resource_TargetableRemarketingLists( + $this, + $this->serviceName, + 'targetableRemarketingLists', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/targetableRemarketingLists/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/targetableRemarketingLists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->targetingTemplates = new Google_Service_Dfareporting_Resource_TargetingTemplates( + $this, + $this->serviceName, + 'targetingTemplates', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/targetingTemplates/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/targetingTemplates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/targetingTemplates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/targetingTemplates', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/targetingTemplates', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->userProfiles = new Google_Service_Dfareporting_Resource_UserProfiles( + $this, + $this->serviceName, + 'userProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->userRolePermissionGroups = new Google_Service_Dfareporting_Resource_UserRolePermissionGroups( + $this, + $this->serviceName, + 'userRolePermissionGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissionGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissionGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->userRolePermissions = new Google_Service_Dfareporting_Resource_UserRolePermissions( + $this, + $this->serviceName, + 'userRolePermissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->userRoles = new Google_Service_Dfareporting_Resource_UserRoles( + $this, + $this->serviceName, + 'userRoles', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/userRoles/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/userRoles/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountUserRoleOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->videoFormats = new Google_Service_Dfareporting_Resource_VideoFormats( + $this, + $this->serviceName, + 'videoFormats', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/videoFormats/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/videoFormats', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php new file mode 100644 index 00000000..1d44a2e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Account.php @@ -0,0 +1,194 @@ +accountPermissionIds = $accountPermissionIds; + } + public function getAccountPermissionIds() + { + return $this->accountPermissionIds; + } + public function setAccountProfile($accountProfile) + { + $this->accountProfile = $accountProfile; + } + public function getAccountProfile() + { + return $this->accountProfile; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setActiveAdsLimitTier($activeAdsLimitTier) + { + $this->activeAdsLimitTier = $activeAdsLimitTier; + } + public function getActiveAdsLimitTier() + { + return $this->activeAdsLimitTier; + } + public function setActiveViewOptOut($activeViewOptOut) + { + $this->activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setAvailablePermissionIds($availablePermissionIds) + { + $this->availablePermissionIds = $availablePermissionIds; + } + public function getAvailablePermissionIds() + { + return $this->availablePermissionIds; + } + public function setCountryId($countryId) + { + $this->countryId = $countryId; + } + public function getCountryId() + { + return $this->countryId; + } + public function setCurrencyId($currencyId) + { + $this->currencyId = $currencyId; + } + public function getCurrencyId() + { + return $this->currencyId; + } + public function setDefaultCreativeSizeId($defaultCreativeSizeId) + { + $this->defaultCreativeSizeId = $defaultCreativeSizeId; + } + public function getDefaultCreativeSizeId() + { + return $this->defaultCreativeSizeId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setMaximumImageSize($maximumImageSize) + { + $this->maximumImageSize = $maximumImageSize; + } + public function getMaximumImageSize() + { + return $this->maximumImageSize; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNielsenOcrEnabled($nielsenOcrEnabled) + { + $this->nielsenOcrEnabled = $nielsenOcrEnabled; + } + public function getNielsenOcrEnabled() + { + return $this->nielsenOcrEnabled; + } + public function setReportsConfiguration(Google_Service_Dfareporting_ReportsConfiguration $reportsConfiguration) + { + $this->reportsConfiguration = $reportsConfiguration; + } + public function getReportsConfiguration() + { + return $this->reportsConfiguration; + } + public function setShareReportsWithTwitter($shareReportsWithTwitter) + { + $this->shareReportsWithTwitter = $shareReportsWithTwitter; + } + public function getShareReportsWithTwitter() + { + return $this->shareReportsWithTwitter; + } + public function setTeaserSizeLimit($teaserSizeLimit) + { + $this->teaserSizeLimit = $teaserSizeLimit; + } + public function getTeaserSizeLimit() + { + return $this->teaserSizeLimit; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php new file mode 100644 index 00000000..1fa446ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountActiveAdSummary.php @@ -0,0 +1,66 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActiveAds($activeAds) + { + $this->activeAds = $activeAds; + } + public function getActiveAds() + { + return $this->activeAds; + } + public function setActiveAdsLimitTier($activeAdsLimitTier) + { + $this->activeAdsLimitTier = $activeAdsLimitTier; + } + public function getActiveAdsLimitTier() + { + return $this->activeAdsLimitTier; + } + public function setAvailableAds($availableAds) + { + $this->availableAds = $availableAds; + } + public function getAvailableAds() + { + return $this->availableAds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php new file mode 100644 index 00000000..a2c2dfe3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermission.php @@ -0,0 +1,76 @@ +accountProfiles = $accountProfiles; + } + public function getAccountProfiles() + { + return $this->accountProfiles; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionGroupId($permissionGroupId) + { + $this->permissionGroupId = $permissionGroupId; + } + public function getPermissionGroupId() + { + return $this->permissionGroupId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php new file mode 100644 index 00000000..e8f74cba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroup.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php new file mode 100644 index 00000000..00f724ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionGroupsListResponse.php @@ -0,0 +1,41 @@ +accountPermissionGroups = $accountPermissionGroups; + } + public function getAccountPermissionGroups() + { + return $this->accountPermissionGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php new file mode 100644 index 00000000..3828ca6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountPermissionsListResponse.php @@ -0,0 +1,41 @@ +accountPermissions = $accountPermissions; + } + public function getAccountPermissions() + { + return $this->accountPermissions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php new file mode 100644 index 00000000..2c40cc88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfile.php @@ -0,0 +1,169 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserFilter(Google_Service_Dfareporting_ObjectFilter $advertiserFilter) + { + $this->advertiserFilter = $advertiserFilter; + } + public function getAdvertiserFilter() + { + return $this->advertiserFilter; + } + public function setCampaignFilter(Google_Service_Dfareporting_ObjectFilter $campaignFilter) + { + $this->campaignFilter = $campaignFilter; + } + public function getCampaignFilter() + { + return $this->campaignFilter; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteFilter(Google_Service_Dfareporting_ObjectFilter $siteFilter) + { + $this->siteFilter = $siteFilter; + } + public function getSiteFilter() + { + return $this->siteFilter; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTraffickerType($traffickerType) + { + $this->traffickerType = $traffickerType; + } + public function getTraffickerType() + { + return $this->traffickerType; + } + public function setUserAccessType($userAccessType) + { + $this->userAccessType = $userAccessType; + } + public function getUserAccessType() + { + return $this->userAccessType; + } + public function setUserRoleFilter(Google_Service_Dfareporting_ObjectFilter $userRoleFilter) + { + $this->userRoleFilter = $userRoleFilter; + } + public function getUserRoleFilter() + { + return $this->userRoleFilter; + } + public function setUserRoleId($userRoleId) + { + $this->userRoleId = $userRoleId; + } + public function getUserRoleId() + { + return $this->userRoleId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php new file mode 100644 index 00000000..5bd57051 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountUserProfilesListResponse.php @@ -0,0 +1,50 @@ +accountUserProfiles = $accountUserProfiles; + } + public function getAccountUserProfiles() + { + return $this->accountUserProfiles; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php new file mode 100644 index 00000000..7d2efbd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AccountsListResponse.php @@ -0,0 +1,50 @@ +accounts = $accounts; + } + public function getAccounts() + { + return $this->accounts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php new file mode 100644 index 00000000..1dd0b515 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Activities.php @@ -0,0 +1,50 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php new file mode 100644 index 00000000..b794138f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Ad.php @@ -0,0 +1,393 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setAudienceSegmentId($audienceSegmentId) + { + $this->audienceSegmentId = $audienceSegmentId; + } + public function getAudienceSegmentId() + { + return $this->audienceSegmentId; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties) + { + $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties; + } + public function getClickThroughUrlSuffixProperties() + { + return $this->clickThroughUrlSuffixProperties; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setCreativeGroupAssignments($creativeGroupAssignments) + { + $this->creativeGroupAssignments = $creativeGroupAssignments; + } + public function getCreativeGroupAssignments() + { + return $this->creativeGroupAssignments; + } + public function setCreativeRotation(Google_Service_Dfareporting_CreativeRotation $creativeRotation) + { + $this->creativeRotation = $creativeRotation; + } + public function getCreativeRotation() + { + return $this->creativeRotation; + } + public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting) + { + $this->dayPartTargeting = $dayPartTargeting; + } + public function getDayPartTargeting() + { + return $this->dayPartTargeting; + } + public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties) + { + $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties; + } + public function getDefaultClickThroughEventTagProperties() + { + return $this->defaultClickThroughEventTagProperties; + } + public function setDeliverySchedule(Google_Service_Dfareporting_DeliverySchedule $deliverySchedule) + { + $this->deliverySchedule = $deliverySchedule; + } + public function getDeliverySchedule() + { + return $this->deliverySchedule; + } + public function setDynamicClickTracker($dynamicClickTracker) + { + $this->dynamicClickTracker = $dynamicClickTracker; + } + public function getDynamicClickTracker() + { + return $this->dynamicClickTracker; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEventTagOverrides($eventTagOverrides) + { + $this->eventTagOverrides = $eventTagOverrides; + } + public function getEventTagOverrides() + { + return $this->eventTagOverrides; + } + public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting) + { + $this->geoTargeting = $geoTargeting; + } + public function getGeoTargeting() + { + return $this->geoTargeting; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression) + { + $this->keyValueTargetingExpression = $keyValueTargetingExpression; + } + public function getKeyValueTargetingExpression() + { + return $this->keyValueTargetingExpression; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguageTargeting(Google_Service_Dfareporting_LanguageTargeting $languageTargeting) + { + $this->languageTargeting = $languageTargeting; + } + public function getLanguageTargeting() + { + return $this->languageTargeting; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlacementAssignments($placementAssignments) + { + $this->placementAssignments = $placementAssignments; + } + public function getPlacementAssignments() + { + return $this->placementAssignments; + } + public function setRemarketingListExpression(Google_Service_Dfareporting_ListTargetingExpression $remarketingListExpression) + { + $this->remarketingListExpression = $remarketingListExpression; + } + public function getRemarketingListExpression() + { + return $this->remarketingListExpression; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTargetingTemplateId($targetingTemplateId) + { + $this->targetingTemplateId = $targetingTemplateId; + } + public function getTargetingTemplateId() + { + return $this->targetingTemplateId; + } + public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting) + { + $this->technologyTargeting = $technologyTargeting; + } + public function getTechnologyTargeting() + { + return $this->technologyTargeting; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php new file mode 100644 index 00000000..f6e2fec7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdSlot.php @@ -0,0 +1,93 @@ +comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLinkedPlacementId($linkedPlacementId) + { + $this->linkedPlacementId = $linkedPlacementId; + } + public function getLinkedPlacementId() + { + return $this->linkedPlacementId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPaymentSourceType($paymentSourceType) + { + $this->paymentSourceType = $paymentSourceType; + } + public function getPaymentSourceType() + { + return $this->paymentSourceType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php new file mode 100644 index 00000000..480ccece --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdsListResponse.php @@ -0,0 +1,50 @@ +ads = $ads; + } + public function getAds() + { + return $this->ads; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php new file mode 100644 index 00000000..f8998ef8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Advertiser.php @@ -0,0 +1,158 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserGroupId($advertiserGroupId) + { + $this->advertiserGroupId = $advertiserGroupId; + } + public function getAdvertiserGroupId() + { + return $this->advertiserGroupId; + } + public function setClickThroughUrlSuffix($clickThroughUrlSuffix) + { + $this->clickThroughUrlSuffix = $clickThroughUrlSuffix; + } + public function getClickThroughUrlSuffix() + { + return $this->clickThroughUrlSuffix; + } + public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId) + { + $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId; + } + public function getDefaultClickThroughEventTagId() + { + return $this->defaultClickThroughEventTagId; + } + public function setDefaultEmail($defaultEmail) + { + $this->defaultEmail = $defaultEmail; + } + public function getDefaultEmail() + { + return $this->defaultEmail; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalFloodlightConfigurationId($originalFloodlightConfigurationId) + { + $this->originalFloodlightConfigurationId = $originalFloodlightConfigurationId; + } + public function getOriginalFloodlightConfigurationId() + { + return $this->originalFloodlightConfigurationId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setSuspended($suspended) + { + $this->suspended = $suspended; + } + public function getSuspended() + { + return $this->suspended; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php new file mode 100644 index 00000000..f954b61f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroup.php @@ -0,0 +1,57 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php new file mode 100644 index 00000000..611a5d06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertiserGroupsListResponse.php @@ -0,0 +1,50 @@ +advertiserGroups = $advertiserGroups; + } + public function getAdvertiserGroups() + { + return $this->advertiserGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php new file mode 100644 index 00000000..b639a4c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AdvertisersListResponse.php @@ -0,0 +1,50 @@ +advertisers = $advertisers; + } + public function getAdvertisers() + { + return $this->advertisers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php new file mode 100644 index 00000000..9b42a36d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegment.php @@ -0,0 +1,48 @@ +allocation = $allocation; + } + public function getAllocation() + { + return $this->allocation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php new file mode 100644 index 00000000..411fa1c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/AudienceSegmentGroup.php @@ -0,0 +1,50 @@ +audienceSegments = $audienceSegments; + } + public function getAudienceSegments() + { + return $this->audienceSegments; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php new file mode 100644 index 00000000..acdd5a97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Browser.php @@ -0,0 +1,75 @@ +browserVersionId = $browserVersionId; + } + public function getBrowserVersionId() + { + return $this->browserVersionId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMajorVersion($majorVersion) + { + $this->majorVersion = $majorVersion; + } + public function getMajorVersion() + { + return $this->majorVersion; + } + public function setMinorVersion($minorVersion) + { + $this->minorVersion = $minorVersion; + } + public function getMinorVersion() + { + return $this->minorVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php new file mode 100644 index 00000000..c3caa3d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/BrowsersListResponse.php @@ -0,0 +1,41 @@ +browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php new file mode 100644 index 00000000..562bb71d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Campaign.php @@ -0,0 +1,276 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations) + { + $this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations; + } + public function getAdditionalCreativeOptimizationConfigurations() + { + return $this->additionalCreativeOptimizationConfigurations; + } + public function setAdvertiserGroupId($advertiserGroupId) + { + $this->advertiserGroupId = $advertiserGroupId; + } + public function getAdvertiserGroupId() + { + return $this->advertiserGroupId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setAudienceSegmentGroups($audienceSegmentGroups) + { + $this->audienceSegmentGroups = $audienceSegmentGroups; + } + public function getAudienceSegmentGroups() + { + return $this->audienceSegmentGroups; + } + public function setBillingInvoiceCode($billingInvoiceCode) + { + $this->billingInvoiceCode = $billingInvoiceCode; + } + public function getBillingInvoiceCode() + { + return $this->billingInvoiceCode; + } + public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties) + { + $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties; + } + public function getClickThroughUrlSuffixProperties() + { + return $this->clickThroughUrlSuffixProperties; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setCreativeGroupIds($creativeGroupIds) + { + $this->creativeGroupIds = $creativeGroupIds; + } + public function getCreativeGroupIds() + { + return $this->creativeGroupIds; + } + public function setCreativeOptimizationConfiguration(Google_Service_Dfareporting_CreativeOptimizationConfiguration $creativeOptimizationConfiguration) + { + $this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration; + } + public function getCreativeOptimizationConfiguration() + { + return $this->creativeOptimizationConfiguration; + } + public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties) + { + $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties; + } + public function getDefaultClickThroughEventTagProperties() + { + return $this->defaultClickThroughEventTagProperties; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setEventTagOverrides($eventTagOverrides) + { + $this->eventTagOverrides = $eventTagOverrides; + } + public function getEventTagOverrides() + { + return $this->eventTagOverrides; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNielsenOcrEnabled($nielsenOcrEnabled) + { + $this->nielsenOcrEnabled = $nielsenOcrEnabled; + } + public function getNielsenOcrEnabled() + { + return $this->nielsenOcrEnabled; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTraffickerEmails($traffickerEmails) + { + $this->traffickerEmails = $traffickerEmails; + } + public function getTraffickerEmails() + { + return $this->traffickerEmails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php new file mode 100644 index 00000000..4ff18d41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociation.php @@ -0,0 +1,39 @@ +creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php new file mode 100644 index 00000000..a3749f17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignCreativeAssociationsListResponse.php @@ -0,0 +1,50 @@ +campaignCreativeAssociations = $campaignCreativeAssociations; + } + public function getCampaignCreativeAssociations() + { + return $this->campaignCreativeAssociations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php new file mode 100644 index 00000000..5bd547f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CampaignsListResponse.php @@ -0,0 +1,50 @@ +campaigns = $campaigns; + } + public function getCampaigns() + { + return $this->campaigns; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php new file mode 100644 index 00000000..9cd64f3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLog.php @@ -0,0 +1,147 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setChangeTime($changeTime) + { + $this->changeTime = $changeTime; + } + public function getChangeTime() + { + return $this->changeTime; + } + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewValue($newValue) + { + $this->newValue = $newValue; + } + public function getNewValue() + { + return $this->newValue; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOldValue($oldValue) + { + $this->oldValue = $oldValue; + } + public function getOldValue() + { + return $this->oldValue; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTransactionId($transactionId) + { + $this->transactionId = $transactionId; + } + public function getTransactionId() + { + return $this->transactionId; + } + public function setUserProfileId($userProfileId) + { + $this->userProfileId = $userProfileId; + } + public function getUserProfileId() + { + return $this->userProfileId; + } + public function setUserProfileName($userProfileName) + { + $this->userProfileName = $userProfileName; + } + public function getUserProfileName() + { + return $this->userProfileName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php new file mode 100644 index 00000000..a90331c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ChangeLogsListResponse.php @@ -0,0 +1,50 @@ +changeLogs = $changeLogs; + } + public function getChangeLogs() + { + return $this->changeLogs; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php new file mode 100644 index 00000000..c9ba81e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CitiesListResponse.php @@ -0,0 +1,41 @@ +cities = $cities; + } + public function getCities() + { + return $this->cities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php new file mode 100644 index 00000000..6204f7b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/City.php @@ -0,0 +1,102 @@ +countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetroCode($metroCode) + { + $this->metroCode = $metroCode; + } + public function getMetroCode() + { + return $this->metroCode; + } + public function setMetroDmaId($metroDmaId) + { + $this->metroDmaId = $metroDmaId; + } + public function getMetroDmaId() + { + return $this->metroDmaId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } + public function setRegionDartId($regionDartId) + { + $this->regionDartId = $regionDartId; + } + public function getRegionDartId() + { + return $this->regionDartId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php new file mode 100644 index 00000000..943101c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickTag.php @@ -0,0 +1,48 @@ +eventName = $eventName; + } + public function getEventName() + { + return $this->eventName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php new file mode 100644 index 00000000..40b85556 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrl.php @@ -0,0 +1,57 @@ +computedClickThroughUrl = $computedClickThroughUrl; + } + public function getComputedClickThroughUrl() + { + return $this->computedClickThroughUrl; + } + public function setCustomClickThroughUrl($customClickThroughUrl) + { + $this->customClickThroughUrl = $customClickThroughUrl; + } + public function getCustomClickThroughUrl() + { + return $this->customClickThroughUrl; + } + public function setDefaultLandingPage($defaultLandingPage) + { + $this->defaultLandingPage = $defaultLandingPage; + } + public function getDefaultLandingPage() + { + return $this->defaultLandingPage; + } + public function setLandingPageId($landingPageId) + { + $this->landingPageId = $landingPageId; + } + public function getLandingPageId() + { + return $this->landingPageId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php new file mode 100644 index 00000000..a192e47c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ClickThroughUrlSuffixProperties.php @@ -0,0 +1,39 @@ +clickThroughUrlSuffix = $clickThroughUrlSuffix; + } + public function getClickThroughUrlSuffix() + { + return $this->clickThroughUrlSuffix; + } + public function setOverrideInheritedSuffix($overrideInheritedSuffix) + { + $this->overrideInheritedSuffix = $overrideInheritedSuffix; + } + public function getOverrideInheritedSuffix() + { + return $this->overrideInheritedSuffix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php new file mode 100644 index 00000000..a6333bd8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionClickThroughOverride.php @@ -0,0 +1,40 @@ +clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php new file mode 100644 index 00000000..f75ab2e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompanionSetting.php @@ -0,0 +1,59 @@ +companionsDisabled = $companionsDisabled; + } + public function getCompanionsDisabled() + { + return $this->companionsDisabled; + } + public function setEnabledSizes($enabledSizes) + { + $this->enabledSizes = $enabledSizes; + } + public function getEnabledSizes() + { + return $this->enabledSizes; + } + public function setImageOnly($imageOnly) + { + $this->imageOnly = $imageOnly; + } + public function getImageOnly() + { + return $this->imageOnly; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php new file mode 100644 index 00000000..5619b83c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CompatibleFields.php @@ -0,0 +1,80 @@ +crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields; + } + public function getCrossDimensionReachReportCompatibleFields() + { + return $this->crossDimensionReachReportCompatibleFields; + } + public function setFloodlightReportCompatibleFields(Google_Service_Dfareporting_FloodlightReportCompatibleFields $floodlightReportCompatibleFields) + { + $this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields; + } + public function getFloodlightReportCompatibleFields() + { + return $this->floodlightReportCompatibleFields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPathToConversionReportCompatibleFields(Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields) + { + $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields; + } + public function getPathToConversionReportCompatibleFields() + { + return $this->pathToConversionReportCompatibleFields; + } + public function setReachReportCompatibleFields(Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields) + { + $this->reachReportCompatibleFields = $reachReportCompatibleFields; + } + public function getReachReportCompatibleFields() + { + return $this->reachReportCompatibleFields; + } + public function setReportCompatibleFields(Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields) + { + $this->reportCompatibleFields = $reportCompatibleFields; + } + public function getReportCompatibleFields() + { + return $this->reportCompatibleFields; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php new file mode 100644 index 00000000..5a2899a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionType.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php new file mode 100644 index 00000000..2ef44105 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConnectionTypesListResponse.php @@ -0,0 +1,41 @@ +connectionTypes = $connectionTypes; + } + public function getConnectionTypes() + { + return $this->connectionTypes; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php new file mode 100644 index 00000000..2618be9d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategoriesListResponse.php @@ -0,0 +1,50 @@ +contentCategories = $contentCategories; + } + public function getContentCategories() + { + return $this->contentCategories; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php new file mode 100644 index 00000000..d3ebe712 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ContentCategory.php @@ -0,0 +1,57 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php new file mode 100644 index 00000000..c189b613 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Conversion.php @@ -0,0 +1,140 @@ +childDirectedTreatment = $childDirectedTreatment; + } + public function getChildDirectedTreatment() + { + return $this->childDirectedTreatment; + } + public function setCustomVariables($customVariables) + { + $this->customVariables = $customVariables; + } + public function getCustomVariables() + { + return $this->customVariables; + } + public function setEncryptedUserId($encryptedUserId) + { + $this->encryptedUserId = $encryptedUserId; + } + public function getEncryptedUserId() + { + return $this->encryptedUserId; + } + public function setEncryptedUserIdCandidates($encryptedUserIdCandidates) + { + $this->encryptedUserIdCandidates = $encryptedUserIdCandidates; + } + public function getEncryptedUserIdCandidates() + { + return $this->encryptedUserIdCandidates; + } + public function setFloodlightActivityId($floodlightActivityId) + { + $this->floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLimitAdTracking($limitAdTracking) + { + $this->limitAdTracking = $limitAdTracking; + } + public function getLimitAdTracking() + { + return $this->limitAdTracking; + } + public function setMobileDeviceId($mobileDeviceId) + { + $this->mobileDeviceId = $mobileDeviceId; + } + public function getMobileDeviceId() + { + return $this->mobileDeviceId; + } + public function setOrdinal($ordinal) + { + $this->ordinal = $ordinal; + } + public function getOrdinal() + { + return $this->ordinal; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setTimestampMicros($timestampMicros) + { + $this->timestampMicros = $timestampMicros; + } + public function getTimestampMicros() + { + return $this->timestampMicros; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php new file mode 100644 index 00000000..8eae13e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionError.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php new file mode 100644 index 00000000..520a0fd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionStatus.php @@ -0,0 +1,51 @@ +conversion = $conversion; + } + public function getConversion() + { + return $this->conversion; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php new file mode 100644 index 00000000..acf5e24a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertRequest.php @@ -0,0 +1,51 @@ +conversions = $conversions; + } + public function getConversions() + { + return $this->conversions; + } + public function setEncryptionInfo(Google_Service_Dfareporting_EncryptionInfo $encryptionInfo) + { + $this->encryptionInfo = $encryptionInfo; + } + public function getEncryptionInfo() + { + return $this->encryptionInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php new file mode 100644 index 00000000..b3591cc6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ConversionsBatchInsertResponse.php @@ -0,0 +1,50 @@ +hasFailures = $hasFailures; + } + public function getHasFailures() + { + return $this->hasFailures; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php new file mode 100644 index 00000000..02349753 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CountriesListResponse.php @@ -0,0 +1,41 @@ +countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php new file mode 100644 index 00000000..d1496294 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Country.php @@ -0,0 +1,66 @@ +countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSslEnabled($sslEnabled) + { + $this->sslEnabled = $sslEnabled; + } + public function getSslEnabled() + { + return $this->sslEnabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php new file mode 100644 index 00000000..1fcc633a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Creative.php @@ -0,0 +1,599 @@ + "auto_advance_images", + ); + public $accountId; + public $active; + public $adParameters; + public $adTagKeys; + public $advertiserId; + public $allowScriptAccess; + public $archived; + public $artworkType; + public $authoringSource; + public $authoringTool; + public $autoAdvanceImages; + public $backgroundColor; + public $backupImageClickThroughUrl; + public $backupImageFeatures; + public $backupImageReportingLabel; + protected $backupImageTargetWindowType = 'Google_Service_Dfareporting_TargetWindow'; + protected $backupImageTargetWindowDataType = ''; + protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag'; + protected $clickTagsDataType = 'array'; + public $commercialId; + public $companionCreatives; + public $compatibility; + public $convertFlashToHtml5; + protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $counterCustomEventsDataType = 'array'; + protected $creativeAssetSelectionType = 'Google_Service_Dfareporting_CreativeAssetSelection'; + protected $creativeAssetSelectionDataType = ''; + protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset'; + protected $creativeAssetsDataType = 'array'; + protected $creativeFieldAssignmentsType = 'Google_Service_Dfareporting_CreativeFieldAssignment'; + protected $creativeFieldAssignmentsDataType = 'array'; + public $customKeyValues; + public $dynamicAssetSelection; + protected $exitCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $exitCustomEventsDataType = 'array'; + protected $fsCommandType = 'Google_Service_Dfareporting_FsCommand'; + protected $fsCommandDataType = ''; + public $htmlCode; + public $htmlCodeLocked; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $latestTraffickedCreativeId; + public $name; + public $overrideCss; + protected $progressOffsetType = 'Google_Service_Dfareporting_VideoOffset'; + protected $progressOffsetDataType = ''; + public $redirectUrl; + public $renderingId; + protected $renderingIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $renderingIdDimensionValueDataType = ''; + public $requiredFlashPluginVersion; + public $requiredFlashVersion; + protected $sizeType = 'Google_Service_Dfareporting_Size'; + protected $sizeDataType = ''; + protected $skipOffsetType = 'Google_Service_Dfareporting_VideoOffset'; + protected $skipOffsetDataType = ''; + public $skippable; + public $sslCompliant; + public $sslOverride; + public $studioAdvertiserId; + public $studioCreativeId; + public $studioTraffickedCreativeId; + public $subaccountId; + public $thirdPartyBackupImageImpressionsUrl; + public $thirdPartyRichMediaImpressionsUrl; + protected $thirdPartyUrlsType = 'Google_Service_Dfareporting_ThirdPartyTrackingUrl'; + protected $thirdPartyUrlsDataType = 'array'; + protected $timerCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $timerCustomEventsDataType = 'array'; + public $totalFileSize; + public $type; + public $version; + public $videoDescription; + public $videoDuration; + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdParameters($adParameters) + { + $this->adParameters = $adParameters; + } + public function getAdParameters() + { + return $this->adParameters; + } + public function setAdTagKeys($adTagKeys) + { + $this->adTagKeys = $adTagKeys; + } + public function getAdTagKeys() + { + return $this->adTagKeys; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAllowScriptAccess($allowScriptAccess) + { + $this->allowScriptAccess = $allowScriptAccess; + } + public function getAllowScriptAccess() + { + return $this->allowScriptAccess; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setAuthoringSource($authoringSource) + { + $this->authoringSource = $authoringSource; + } + public function getAuthoringSource() + { + return $this->authoringSource; + } + public function setAuthoringTool($authoringTool) + { + $this->authoringTool = $authoringTool; + } + public function getAuthoringTool() + { + return $this->authoringTool; + } + public function setAutoAdvanceImages($autoAdvanceImages) + { + $this->autoAdvanceImages = $autoAdvanceImages; + } + public function getAutoAdvanceImages() + { + return $this->autoAdvanceImages; + } + public function setBackgroundColor($backgroundColor) + { + $this->backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setBackupImageClickThroughUrl($backupImageClickThroughUrl) + { + $this->backupImageClickThroughUrl = $backupImageClickThroughUrl; + } + public function getBackupImageClickThroughUrl() + { + return $this->backupImageClickThroughUrl; + } + public function setBackupImageFeatures($backupImageFeatures) + { + $this->backupImageFeatures = $backupImageFeatures; + } + public function getBackupImageFeatures() + { + return $this->backupImageFeatures; + } + public function setBackupImageReportingLabel($backupImageReportingLabel) + { + $this->backupImageReportingLabel = $backupImageReportingLabel; + } + public function getBackupImageReportingLabel() + { + return $this->backupImageReportingLabel; + } + public function setBackupImageTargetWindow(Google_Service_Dfareporting_TargetWindow $backupImageTargetWindow) + { + $this->backupImageTargetWindow = $backupImageTargetWindow; + } + public function getBackupImageTargetWindow() + { + return $this->backupImageTargetWindow; + } + public function setClickTags($clickTags) + { + $this->clickTags = $clickTags; + } + public function getClickTags() + { + return $this->clickTags; + } + public function setCommercialId($commercialId) + { + $this->commercialId = $commercialId; + } + public function getCommercialId() + { + return $this->commercialId; + } + public function setCompanionCreatives($companionCreatives) + { + $this->companionCreatives = $companionCreatives; + } + public function getCompanionCreatives() + { + return $this->companionCreatives; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setConvertFlashToHtml5($convertFlashToHtml5) + { + $this->convertFlashToHtml5 = $convertFlashToHtml5; + } + public function getConvertFlashToHtml5() + { + return $this->convertFlashToHtml5; + } + public function setCounterCustomEvents($counterCustomEvents) + { + $this->counterCustomEvents = $counterCustomEvents; + } + public function getCounterCustomEvents() + { + return $this->counterCustomEvents; + } + public function setCreativeAssetSelection(Google_Service_Dfareporting_CreativeAssetSelection $creativeAssetSelection) + { + $this->creativeAssetSelection = $creativeAssetSelection; + } + public function getCreativeAssetSelection() + { + return $this->creativeAssetSelection; + } + public function setCreativeAssets($creativeAssets) + { + $this->creativeAssets = $creativeAssets; + } + public function getCreativeAssets() + { + return $this->creativeAssets; + } + public function setCreativeFieldAssignments($creativeFieldAssignments) + { + $this->creativeFieldAssignments = $creativeFieldAssignments; + } + public function getCreativeFieldAssignments() + { + return $this->creativeFieldAssignments; + } + public function setCustomKeyValues($customKeyValues) + { + $this->customKeyValues = $customKeyValues; + } + public function getCustomKeyValues() + { + return $this->customKeyValues; + } + public function setDynamicAssetSelection($dynamicAssetSelection) + { + $this->dynamicAssetSelection = $dynamicAssetSelection; + } + public function getDynamicAssetSelection() + { + return $this->dynamicAssetSelection; + } + public function setExitCustomEvents($exitCustomEvents) + { + $this->exitCustomEvents = $exitCustomEvents; + } + public function getExitCustomEvents() + { + return $this->exitCustomEvents; + } + public function setFsCommand(Google_Service_Dfareporting_FsCommand $fsCommand) + { + $this->fsCommand = $fsCommand; + } + public function getFsCommand() + { + return $this->fsCommand; + } + public function setHtmlCode($htmlCode) + { + $this->htmlCode = $htmlCode; + } + public function getHtmlCode() + { + return $this->htmlCode; + } + public function setHtmlCodeLocked($htmlCodeLocked) + { + $this->htmlCodeLocked = $htmlCodeLocked; + } + public function getHtmlCodeLocked() + { + return $this->htmlCodeLocked; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLatestTraffickedCreativeId($latestTraffickedCreativeId) + { + $this->latestTraffickedCreativeId = $latestTraffickedCreativeId; + } + public function getLatestTraffickedCreativeId() + { + return $this->latestTraffickedCreativeId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverrideCss($overrideCss) + { + $this->overrideCss = $overrideCss; + } + public function getOverrideCss() + { + return $this->overrideCss; + } + public function setProgressOffset(Google_Service_Dfareporting_VideoOffset $progressOffset) + { + $this->progressOffset = $progressOffset; + } + public function getProgressOffset() + { + return $this->progressOffset; + } + public function setRedirectUrl($redirectUrl) + { + $this->redirectUrl = $redirectUrl; + } + public function getRedirectUrl() + { + return $this->redirectUrl; + } + public function setRenderingId($renderingId) + { + $this->renderingId = $renderingId; + } + public function getRenderingId() + { + return $this->renderingId; + } + public function setRenderingIdDimensionValue(Google_Service_Dfareporting_DimensionValue $renderingIdDimensionValue) + { + $this->renderingIdDimensionValue = $renderingIdDimensionValue; + } + public function getRenderingIdDimensionValue() + { + return $this->renderingIdDimensionValue; + } + public function setRequiredFlashPluginVersion($requiredFlashPluginVersion) + { + $this->requiredFlashPluginVersion = $requiredFlashPluginVersion; + } + public function getRequiredFlashPluginVersion() + { + return $this->requiredFlashPluginVersion; + } + public function setRequiredFlashVersion($requiredFlashVersion) + { + $this->requiredFlashVersion = $requiredFlashVersion; + } + public function getRequiredFlashVersion() + { + return $this->requiredFlashVersion; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSkipOffset(Google_Service_Dfareporting_VideoOffset $skipOffset) + { + $this->skipOffset = $skipOffset; + } + public function getSkipOffset() + { + return $this->skipOffset; + } + public function setSkippable($skippable) + { + $this->skippable = $skippable; + } + public function getSkippable() + { + return $this->skippable; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setSslOverride($sslOverride) + { + $this->sslOverride = $sslOverride; + } + public function getSslOverride() + { + return $this->sslOverride; + } + public function setStudioAdvertiserId($studioAdvertiserId) + { + $this->studioAdvertiserId = $studioAdvertiserId; + } + public function getStudioAdvertiserId() + { + return $this->studioAdvertiserId; + } + public function setStudioCreativeId($studioCreativeId) + { + $this->studioCreativeId = $studioCreativeId; + } + public function getStudioCreativeId() + { + return $this->studioCreativeId; + } + public function setStudioTraffickedCreativeId($studioTraffickedCreativeId) + { + $this->studioTraffickedCreativeId = $studioTraffickedCreativeId; + } + public function getStudioTraffickedCreativeId() + { + return $this->studioTraffickedCreativeId; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setThirdPartyBackupImageImpressionsUrl($thirdPartyBackupImageImpressionsUrl) + { + $this->thirdPartyBackupImageImpressionsUrl = $thirdPartyBackupImageImpressionsUrl; + } + public function getThirdPartyBackupImageImpressionsUrl() + { + return $this->thirdPartyBackupImageImpressionsUrl; + } + public function setThirdPartyRichMediaImpressionsUrl($thirdPartyRichMediaImpressionsUrl) + { + $this->thirdPartyRichMediaImpressionsUrl = $thirdPartyRichMediaImpressionsUrl; + } + public function getThirdPartyRichMediaImpressionsUrl() + { + return $this->thirdPartyRichMediaImpressionsUrl; + } + public function setThirdPartyUrls($thirdPartyUrls) + { + $this->thirdPartyUrls = $thirdPartyUrls; + } + public function getThirdPartyUrls() + { + return $this->thirdPartyUrls; + } + public function setTimerCustomEvents($timerCustomEvents) + { + $this->timerCustomEvents = $timerCustomEvents; + } + public function getTimerCustomEvents() + { + return $this->timerCustomEvents; + } + public function setTotalFileSize($totalFileSize) + { + $this->totalFileSize = $totalFileSize; + } + public function getTotalFileSize() + { + return $this->totalFileSize; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoDescription($videoDescription) + { + $this->videoDescription = $videoDescription; + } + public function getVideoDescription() + { + return $this->videoDescription; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php new file mode 100644 index 00000000..e2d06db5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAsset.php @@ -0,0 +1,426 @@ +actionScript3 = $actionScript3; + } + public function getActionScript3() + { + return $this->actionScript3; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAlignment($alignment) + { + $this->alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier) + { + $this->assetIdentifier = $assetIdentifier; + } + public function getAssetIdentifier() + { + return $this->assetIdentifier; + } + public function setBackupImageExit(Google_Service_Dfareporting_CreativeCustomEvent $backupImageExit) + { + $this->backupImageExit = $backupImageExit; + } + public function getBackupImageExit() + { + return $this->backupImageExit; + } + public function setBitRate($bitRate) + { + $this->bitRate = $bitRate; + } + public function getBitRate() + { + return $this->bitRate; + } + public function setChildAssetType($childAssetType) + { + $this->childAssetType = $childAssetType; + } + public function getChildAssetType() + { + return $this->childAssetType; + } + public function setCollapsedSize(Google_Service_Dfareporting_Size $collapsedSize) + { + $this->collapsedSize = $collapsedSize; + } + public function getCollapsedSize() + { + return $this->collapsedSize; + } + public function setCompanionCreativeIds($companionCreativeIds) + { + $this->companionCreativeIds = $companionCreativeIds; + } + public function getCompanionCreativeIds() + { + return $this->companionCreativeIds; + } + public function setCustomStartTimeValue($customStartTimeValue) + { + $this->customStartTimeValue = $customStartTimeValue; + } + public function getCustomStartTimeValue() + { + return $this->customStartTimeValue; + } + public function setDetectedFeatures($detectedFeatures) + { + $this->detectedFeatures = $detectedFeatures; + } + public function getDetectedFeatures() + { + return $this->detectedFeatures; + } + public function setDisplayType($displayType) + { + $this->displayType = $displayType; + } + public function getDisplayType() + { + return $this->displayType; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setDurationType($durationType) + { + $this->durationType = $durationType; + } + public function getDurationType() + { + return $this->durationType; + } + public function setExpandedDimension(Google_Service_Dfareporting_Size $expandedDimension) + { + $this->expandedDimension = $expandedDimension; + } + public function getExpandedDimension() + { + return $this->expandedDimension; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setFlashVersion($flashVersion) + { + $this->flashVersion = $flashVersion; + } + public function getFlashVersion() + { + return $this->flashVersion; + } + public function setHideFlashObjects($hideFlashObjects) + { + $this->hideFlashObjects = $hideFlashObjects; + } + public function getHideFlashObjects() + { + return $this->hideFlashObjects; + } + public function setHideSelectionBoxes($hideSelectionBoxes) + { + $this->hideSelectionBoxes = $hideSelectionBoxes; + } + public function getHideSelectionBoxes() + { + return $this->hideSelectionBoxes; + } + public function setHorizontallyLocked($horizontallyLocked) + { + $this->horizontallyLocked = $horizontallyLocked; + } + public function getHorizontallyLocked() + { + return $this->horizontallyLocked; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setOriginalBackup($originalBackup) + { + $this->originalBackup = $originalBackup; + } + public function getOriginalBackup() + { + return $this->originalBackup; + } + public function setPosition(Google_Service_Dfareporting_OffsetPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setPositionLeftUnit($positionLeftUnit) + { + $this->positionLeftUnit = $positionLeftUnit; + } + public function getPositionLeftUnit() + { + return $this->positionLeftUnit; + } + public function setPositionTopUnit($positionTopUnit) + { + $this->positionTopUnit = $positionTopUnit; + } + public function getPositionTopUnit() + { + return $this->positionTopUnit; + } + public function setProgressiveServingUrl($progressiveServingUrl) + { + $this->progressiveServingUrl = $progressiveServingUrl; + } + public function getProgressiveServingUrl() + { + return $this->progressiveServingUrl; + } + public function setPushdown($pushdown) + { + $this->pushdown = $pushdown; + } + public function getPushdown() + { + return $this->pushdown; + } + public function setPushdownDuration($pushdownDuration) + { + $this->pushdownDuration = $pushdownDuration; + } + public function getPushdownDuration() + { + return $this->pushdownDuration; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStartTimeType($startTimeType) + { + $this->startTimeType = $startTimeType; + } + public function getStartTimeType() + { + return $this->startTimeType; + } + public function setStreamingServingUrl($streamingServingUrl) + { + $this->streamingServingUrl = $streamingServingUrl; + } + public function getStreamingServingUrl() + { + return $this->streamingServingUrl; + } + public function setTransparency($transparency) + { + $this->transparency = $transparency; + } + public function getTransparency() + { + return $this->transparency; + } + public function setVerticallyLocked($verticallyLocked) + { + $this->verticallyLocked = $verticallyLocked; + } + public function getVerticallyLocked() + { + return $this->verticallyLocked; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } + public function setWindowMode($windowMode) + { + $this->windowMode = $windowMode; + } + public function getWindowMode() + { + return $this->windowMode; + } + public function setZIndex($zIndex) + { + $this->zIndex = $zIndex; + } + public function getZIndex() + { + return $this->zIndex; + } + public function setZipFilename($zipFilename) + { + $this->zipFilename = $zipFilename; + } + public function getZipFilename() + { + return $this->zipFilename; + } + public function setZipFilesize($zipFilesize) + { + $this->zipFilesize = $zipFilesize; + } + public function getZipFilesize() + { + return $this->zipFilesize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php new file mode 100644 index 00000000..593fb02b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetId.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php new file mode 100644 index 00000000..9ce9e146 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetMetadata.php @@ -0,0 +1,88 @@ +assetIdentifier = $assetIdentifier; + } + public function getAssetIdentifier() + { + return $this->assetIdentifier; + } + public function setClickTags($clickTags) + { + $this->clickTags = $clickTags; + } + public function getClickTags() + { + return $this->clickTags; + } + public function setDetectedFeatures($detectedFeatures) + { + $this->detectedFeatures = $detectedFeatures; + } + public function getDetectedFeatures() + { + return $this->detectedFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWarnedValidationRules($warnedValidationRules) + { + $this->warnedValidationRules = $warnedValidationRules; + } + public function getWarnedValidationRules() + { + return $this->warnedValidationRules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php new file mode 100644 index 00000000..14581ad1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssetSelection.php @@ -0,0 +1,41 @@ +defaultAssetId = $defaultAssetId; + } + public function getDefaultAssetId() + { + return $this->defaultAssetId; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php new file mode 100644 index 00000000..bf9c21bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeAssignment.php @@ -0,0 +1,144 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setApplyEventTags($applyEventTags) + { + $this->applyEventTags = $applyEventTags; + } + public function getApplyEventTags() + { + return $this->applyEventTags; + } + public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCompanionCreativeOverrides($companionCreativeOverrides) + { + $this->companionCreativeOverrides = $companionCreativeOverrides; + } + public function getCompanionCreativeOverrides() + { + return $this->companionCreativeOverrides; + } + public function setCreativeGroupAssignments($creativeGroupAssignments) + { + $this->creativeGroupAssignments = $creativeGroupAssignments; + } + public function getCreativeGroupAssignments() + { + return $this->creativeGroupAssignments; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setCreativeIdDimensionValue(Google_Service_Dfareporting_DimensionValue $creativeIdDimensionValue) + { + $this->creativeIdDimensionValue = $creativeIdDimensionValue; + } + public function getCreativeIdDimensionValue() + { + return $this->creativeIdDimensionValue; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setRichMediaExitOverrides($richMediaExitOverrides) + { + $this->richMediaExitOverrides = $richMediaExitOverrides; + } + public function getRichMediaExitOverrides() + { + return $this->richMediaExitOverrides; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php new file mode 100644 index 00000000..3c755bac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeCustomEvent.php @@ -0,0 +1,112 @@ +advertiserCustomEventId = $advertiserCustomEventId; + } + public function getAdvertiserCustomEventId() + { + return $this->advertiserCustomEventId; + } + public function setAdvertiserCustomEventName($advertiserCustomEventName) + { + $this->advertiserCustomEventName = $advertiserCustomEventName; + } + public function getAdvertiserCustomEventName() + { + return $this->advertiserCustomEventName; + } + public function setAdvertiserCustomEventType($advertiserCustomEventType) + { + $this->advertiserCustomEventType = $advertiserCustomEventType; + } + public function getAdvertiserCustomEventType() + { + return $this->advertiserCustomEventType; + } + public function setArtworkLabel($artworkLabel) + { + $this->artworkLabel = $artworkLabel; + } + public function getArtworkLabel() + { + return $this->artworkLabel; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setExitUrl($exitUrl) + { + $this->exitUrl = $exitUrl; + } + public function getExitUrl() + { + return $this->exitUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPopupWindowProperties(Google_Service_Dfareporting_PopupWindowProperties $popupWindowProperties) + { + $this->popupWindowProperties = $popupWindowProperties; + } + public function getPopupWindowProperties() + { + return $this->popupWindowProperties; + } + public function setTargetType($targetType) + { + $this->targetType = $targetType; + } + public function getTargetType() + { + return $this->targetType; + } + public function setVideoReportingId($videoReportingId) + { + $this->videoReportingId = $videoReportingId; + } + public function getVideoReportingId() + { + return $this->videoReportingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php new file mode 100644 index 00000000..9a88cfa5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeField.php @@ -0,0 +1,85 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php new file mode 100644 index 00000000..b5b71bd2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldAssignment.php @@ -0,0 +1,39 @@ +creativeFieldId = $creativeFieldId; + } + public function getCreativeFieldId() + { + return $this->creativeFieldId; + } + public function setCreativeFieldValueId($creativeFieldValueId) + { + $this->creativeFieldValueId = $creativeFieldValueId; + } + public function getCreativeFieldValueId() + { + return $this->creativeFieldValueId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php new file mode 100644 index 00000000..e2eb6741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValue.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php new file mode 100644 index 00000000..6f18e338 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldValuesListResponse.php @@ -0,0 +1,50 @@ +creativeFieldValues = $creativeFieldValues; + } + public function getCreativeFieldValues() + { + return $this->creativeFieldValues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php new file mode 100644 index 00000000..90270241 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeFieldsListResponse.php @@ -0,0 +1,50 @@ +creativeFields = $creativeFields; + } + public function getCreativeFields() + { + return $this->creativeFields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php new file mode 100644 index 00000000..5dc2513f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroup.php @@ -0,0 +1,94 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setGroupNumber($groupNumber) + { + $this->groupNumber = $groupNumber; + } + public function getGroupNumber() + { + return $this->groupNumber; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php new file mode 100644 index 00000000..a8ae2cc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupAssignment.php @@ -0,0 +1,39 @@ +creativeGroupId = $creativeGroupId; + } + public function getCreativeGroupId() + { + return $this->creativeGroupId; + } + public function setCreativeGroupNumber($creativeGroupNumber) + { + $this->creativeGroupNumber = $creativeGroupNumber; + } + public function getCreativeGroupNumber() + { + return $this->creativeGroupNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php new file mode 100644 index 00000000..3aec0094 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeGroupsListResponse.php @@ -0,0 +1,50 @@ +creativeGroups = $creativeGroups; + } + public function getCreativeGroups() + { + return $this->creativeGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php new file mode 100644 index 00000000..b573e93d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeOptimizationConfiguration.php @@ -0,0 +1,59 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptimizationActivitys($optimizationActivitys) + { + $this->optimizationActivitys = $optimizationActivitys; + } + public function getOptimizationActivitys() + { + return $this->optimizationActivitys; + } + public function setOptimizationModel($optimizationModel) + { + $this->optimizationModel = $optimizationModel; + } + public function getOptimizationModel() + { + return $this->optimizationModel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php new file mode 100644 index 00000000..61e12e6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeRotation.php @@ -0,0 +1,59 @@ +creativeAssignments = $creativeAssignments; + } + public function getCreativeAssignments() + { + return $this->creativeAssignments; + } + public function setCreativeOptimizationConfigurationId($creativeOptimizationConfigurationId) + { + $this->creativeOptimizationConfigurationId = $creativeOptimizationConfigurationId; + } + public function getCreativeOptimizationConfigurationId() + { + return $this->creativeOptimizationConfigurationId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWeightCalculationStrategy($weightCalculationStrategy) + { + $this->weightCalculationStrategy = $weightCalculationStrategy; + } + public function getWeightCalculationStrategy() + { + return $this->weightCalculationStrategy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php new file mode 100644 index 00000000..c9535f84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativeSettings.php @@ -0,0 +1,39 @@ +iFrameFooter = $iFrameFooter; + } + public function getIFrameFooter() + { + return $this->iFrameFooter; + } + public function setIFrameHeader($iFrameHeader) + { + $this->iFrameHeader = $iFrameHeader; + } + public function getIFrameHeader() + { + return $this->iFrameHeader; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php new file mode 100644 index 00000000..10cfce90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CreativesListResponse.php @@ -0,0 +1,50 @@ +creatives = $creatives; + } + public function getCreatives() + { + return $this->creatives; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php new file mode 100644 index 00000000..66675717 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CrossDimensionReachReportCompatibleFields.php @@ -0,0 +1,71 @@ +breakdown = $breakdown; + } + public function getBreakdown() + { + return $this->breakdown; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setOverlapMetrics($overlapMetrics) + { + $this->overlapMetrics = $overlapMetrics; + } + public function getOverlapMetrics() + { + return $this->overlapMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php new file mode 100644 index 00000000..6e7bb7d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomFloodlightVariable.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php new file mode 100644 index 00000000..26801149 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/CustomRichMediaEvents.php @@ -0,0 +1,41 @@ +filteredEventIds = $filteredEventIds; + } + public function getFilteredEventIds() + { + return $this->filteredEventIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php new file mode 100644 index 00000000..7aceccb7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DateRange.php @@ -0,0 +1,57 @@ +endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRelativeDateRange($relativeDateRange) + { + $this->relativeDateRange = $relativeDateRange; + } + public function getRelativeDateRange() + { + return $this->relativeDateRange; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php new file mode 100644 index 00000000..122a7dd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php @@ -0,0 +1,49 @@ +daysOfWeek = $daysOfWeek; + } + public function getDaysOfWeek() + { + return $this->daysOfWeek; + } + public function setHoursOfDay($hoursOfDay) + { + $this->hoursOfDay = $hoursOfDay; + } + public function getHoursOfDay() + { + return $this->hoursOfDay; + } + public function setUserLocalTime($userLocalTime) + { + $this->userLocalTime = $userLocalTime; + } + public function getUserLocalTime() + { + return $this->userLocalTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php new file mode 100644 index 00000000..fd54dfad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DefaultClickThroughEventTagProperties.php @@ -0,0 +1,39 @@ +defaultClickThroughEventTagId = $defaultClickThroughEventTagId; + } + public function getDefaultClickThroughEventTagId() + { + return $this->defaultClickThroughEventTagId; + } + public function setOverrideInheritedEventTag($overrideInheritedEventTag) + { + $this->overrideInheritedEventTag = $overrideInheritedEventTag; + } + public function getOverrideInheritedEventTag() + { + return $this->overrideInheritedEventTag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php new file mode 100644 index 00000000..8ae4dde9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DeliverySchedule.php @@ -0,0 +1,58 @@ +frequencyCap = $frequencyCap; + } + public function getFrequencyCap() + { + return $this->frequencyCap; + } + public function setHardCutoff($hardCutoff) + { + $this->hardCutoff = $hardCutoff; + } + public function getHardCutoff() + { + return $this->hardCutoff; + } + public function setImpressionRatio($impressionRatio) + { + $this->impressionRatio = $impressionRatio; + } + public function getImpressionRatio() + { + return $this->impressionRatio; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php new file mode 100644 index 00000000..f8715a3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFile.php @@ -0,0 +1,113 @@ +dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUrls(Google_Service_Dfareporting_DfareportingFileUrls $urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php new file mode 100644 index 00000000..5a293820 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfareportingFileUrls.php @@ -0,0 +1,39 @@ +apiUrl = $apiUrl; + } + public function getApiUrl() + { + return $this->apiUrl; + } + public function setBrowserUrl($browserUrl) + { + $this->browserUrl = $browserUrl; + } + public function getBrowserUrl() + { + return $this->browserUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php new file mode 100644 index 00000000..06ff5b6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DfpSettings.php @@ -0,0 +1,70 @@ + "dfp_network_code", + "dfpNetworkName" => "dfp_network_name", + ); + public $dfpNetworkCode; + public $dfpNetworkName; + public $programmaticPlacementAccepted; + public $pubPaidPlacementAccepted; + public $publisherPortalOnly; + + public function setDfpNetworkCode($dfpNetworkCode) + { + $this->dfpNetworkCode = $dfpNetworkCode; + } + public function getDfpNetworkCode() + { + return $this->dfpNetworkCode; + } + public function setDfpNetworkName($dfpNetworkName) + { + $this->dfpNetworkName = $dfpNetworkName; + } + public function getDfpNetworkName() + { + return $this->dfpNetworkName; + } + public function setProgrammaticPlacementAccepted($programmaticPlacementAccepted) + { + $this->programmaticPlacementAccepted = $programmaticPlacementAccepted; + } + public function getProgrammaticPlacementAccepted() + { + return $this->programmaticPlacementAccepted; + } + public function setPubPaidPlacementAccepted($pubPaidPlacementAccepted) + { + $this->pubPaidPlacementAccepted = $pubPaidPlacementAccepted; + } + public function getPubPaidPlacementAccepted() + { + return $this->pubPaidPlacementAccepted; + } + public function setPublisherPortalOnly($publisherPortalOnly) + { + $this->publisherPortalOnly = $publisherPortalOnly; + } + public function getPublisherPortalOnly() + { + return $this->publisherPortalOnly; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php new file mode 100644 index 00000000..74ce2a92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Dimension.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php new file mode 100644 index 00000000..5d19b820 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionFilter.php @@ -0,0 +1,48 @@ +dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php new file mode 100644 index 00000000..c02b6df8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValue.php @@ -0,0 +1,75 @@ +dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php new file mode 100644 index 00000000..473c5e5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php new file mode 100644 index 00000000..5a4dcc0f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DimensionValueRequest.php @@ -0,0 +1,68 @@ +dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php new file mode 100644 index 00000000..06505841 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySite.php @@ -0,0 +1,151 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setContactAssignments($contactAssignments) + { + $this->contactAssignments = $contactAssignments; + } + public function getContactAssignments() + { + return $this->contactAssignments; + } + public function setCountryId($countryId) + { + $this->countryId = $countryId; + } + public function getCountryId() + { + return $this->countryId; + } + public function setCurrencyId($currencyId) + { + $this->currencyId = $currencyId; + } + public function getCurrencyId() + { + return $this->currencyId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setInpageTagFormats($inpageTagFormats) + { + $this->inpageTagFormats = $inpageTagFormats; + } + public function getInpageTagFormats() + { + return $this->inpageTagFormats; + } + public function setInterstitialTagFormats($interstitialTagFormats) + { + $this->interstitialTagFormats = $interstitialTagFormats; + } + public function getInterstitialTagFormats() + { + return $this->interstitialTagFormats; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentId($parentId) + { + $this->parentId = $parentId; + } + public function getParentId() + { + return $this->parentId; + } + public function setSettings(Google_Service_Dfareporting_DirectorySiteSettings $settings) + { + $this->settings = $settings; + } + public function getSettings() + { + return $this->settings; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php new file mode 100644 index 00000000..bf9851c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContact.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php new file mode 100644 index 00000000..d0072b2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactAssignment.php @@ -0,0 +1,39 @@ +contactId = $contactId; + } + public function getContactId() + { + return $this->contactId; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php new file mode 100644 index 00000000..d7cbdd8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteContactsListResponse.php @@ -0,0 +1,50 @@ +directorySiteContacts = $directorySiteContacts; + } + public function getDirectorySiteContacts() + { + return $this->directorySiteContacts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php new file mode 100644 index 00000000..6fb0da5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySiteSettings.php @@ -0,0 +1,89 @@ + "dfp_settings", + "instreamVideoPlacementAccepted" => "instream_video_placement_accepted", + ); + public $activeViewOptOut; + protected $dfpSettingsType = 'Google_Service_Dfareporting_DfpSettings'; + protected $dfpSettingsDataType = ''; + public $instreamVideoPlacementAccepted; + public $interstitialPlacementAccepted; + public $nielsenOcrOptOut; + public $verificationTagOptOut; + public $videoActiveViewOptOut; + + public function setActiveViewOptOut($activeViewOptOut) + { + $this->activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setDfpSettings(Google_Service_Dfareporting_DfpSettings $dfpSettings) + { + $this->dfpSettings = $dfpSettings; + } + public function getDfpSettings() + { + return $this->dfpSettings; + } + public function setInstreamVideoPlacementAccepted($instreamVideoPlacementAccepted) + { + $this->instreamVideoPlacementAccepted = $instreamVideoPlacementAccepted; + } + public function getInstreamVideoPlacementAccepted() + { + return $this->instreamVideoPlacementAccepted; + } + public function setInterstitialPlacementAccepted($interstitialPlacementAccepted) + { + $this->interstitialPlacementAccepted = $interstitialPlacementAccepted; + } + public function getInterstitialPlacementAccepted() + { + return $this->interstitialPlacementAccepted; + } + public function setNielsenOcrOptOut($nielsenOcrOptOut) + { + $this->nielsenOcrOptOut = $nielsenOcrOptOut; + } + public function getNielsenOcrOptOut() + { + return $this->nielsenOcrOptOut; + } + public function setVerificationTagOptOut($verificationTagOptOut) + { + $this->verificationTagOptOut = $verificationTagOptOut; + } + public function getVerificationTagOptOut() + { + return $this->verificationTagOptOut; + } + public function setVideoActiveViewOptOut($videoActiveViewOptOut) + { + $this->videoActiveViewOptOut = $videoActiveViewOptOut; + } + public function getVideoActiveViewOptOut() + { + return $this->videoActiveViewOptOut; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php new file mode 100644 index 00000000..89990085 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DirectorySitesListResponse.php @@ -0,0 +1,50 @@ +directorySites = $directorySites; + } + public function getDirectorySites() + { + return $this->directorySites; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php new file mode 100644 index 00000000..c29d347b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKey.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php new file mode 100644 index 00000000..f38295f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/DynamicTargetingKeysListResponse.php @@ -0,0 +1,41 @@ +dynamicTargetingKeys = $dynamicTargetingKeys; + } + public function getDynamicTargetingKeys() + { + return $this->dynamicTargetingKeys; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php new file mode 100644 index 00000000..c1bccd19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EncryptionInfo.php @@ -0,0 +1,57 @@ +encryptionEntityId = $encryptionEntityId; + } + public function getEncryptionEntityId() + { + return $this->encryptionEntityId; + } + public function setEncryptionEntityType($encryptionEntityType) + { + $this->encryptionEntityType = $encryptionEntityType; + } + public function getEncryptionEntityType() + { + return $this->encryptionEntityType; + } + public function setEncryptionSource($encryptionSource) + { + $this->encryptionSource = $encryptionSource; + } + public function getEncryptionSource() + { + return $this->encryptionSource; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php new file mode 100644 index 00000000..a08a7ba8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTag.php @@ -0,0 +1,186 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setEnabledByDefault($enabledByDefault) + { + $this->enabledByDefault = $enabledByDefault; + } + public function getEnabledByDefault() + { + return $this->enabledByDefault; + } + public function setExcludeFromAdxRequests($excludeFromAdxRequests) + { + $this->excludeFromAdxRequests = $excludeFromAdxRequests; + } + public function getExcludeFromAdxRequests() + { + return $this->excludeFromAdxRequests; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteFilterType($siteFilterType) + { + $this->siteFilterType = $siteFilterType; + } + public function getSiteFilterType() + { + return $this->siteFilterType; + } + public function setSiteIds($siteIds) + { + $this->siteIds = $siteIds; + } + public function getSiteIds() + { + return $this->siteIds; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrlEscapeLevels($urlEscapeLevels) + { + $this->urlEscapeLevels = $urlEscapeLevels; + } + public function getUrlEscapeLevels() + { + return $this->urlEscapeLevels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php new file mode 100644 index 00000000..d2d4a501 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagOverride.php @@ -0,0 +1,39 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php new file mode 100644 index 00000000..bae72d7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/EventTagsListResponse.php @@ -0,0 +1,41 @@ +eventTags = $eventTags; + } + public function getEventTags() + { + return $this->eventTags; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php new file mode 100644 index 00000000..b4fab4e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FileList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php new file mode 100644 index 00000000..ec0ff945 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Flight.php @@ -0,0 +1,57 @@ +endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setRateOrCost($rateOrCost) + { + $this->rateOrCost = $rateOrCost; + } + public function getRateOrCost() + { + return $this->rateOrCost; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php new file mode 100644 index 00000000..c0ad645f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesGenerateTagResponse.php @@ -0,0 +1,39 @@ +floodlightActivityTag = $floodlightActivityTag; + } + public function getFloodlightActivityTag() + { + return $this->floodlightActivityTag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php new file mode 100644 index 00000000..12ff2c83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivitiesListResponse.php @@ -0,0 +1,50 @@ +floodlightActivities = $floodlightActivities; + } + public function getFloodlightActivities() + { + return $this->floodlightActivities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php new file mode 100644 index 00000000..4be8d151 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivity.php @@ -0,0 +1,279 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setCacheBustingType($cacheBustingType) + { + $this->cacheBustingType = $cacheBustingType; + } + public function getCacheBustingType() + { + return $this->cacheBustingType; + } + public function setCountingMethod($countingMethod) + { + $this->countingMethod = $countingMethod; + } + public function getCountingMethod() + { + return $this->countingMethod; + } + public function setDefaultTags($defaultTags) + { + $this->defaultTags = $defaultTags; + } + public function getDefaultTags() + { + return $this->defaultTags; + } + public function setExpectedUrl($expectedUrl) + { + $this->expectedUrl = $expectedUrl; + } + public function getExpectedUrl() + { + return $this->expectedUrl; + } + public function setFloodlightActivityGroupId($floodlightActivityGroupId) + { + $this->floodlightActivityGroupId = $floodlightActivityGroupId; + } + public function getFloodlightActivityGroupId() + { + return $this->floodlightActivityGroupId; + } + public function setFloodlightActivityGroupName($floodlightActivityGroupName) + { + $this->floodlightActivityGroupName = $floodlightActivityGroupName; + } + public function getFloodlightActivityGroupName() + { + return $this->floodlightActivityGroupName; + } + public function setFloodlightActivityGroupTagString($floodlightActivityGroupTagString) + { + $this->floodlightActivityGroupTagString = $floodlightActivityGroupTagString; + } + public function getFloodlightActivityGroupTagString() + { + return $this->floodlightActivityGroupTagString; + } + public function setFloodlightActivityGroupType($floodlightActivityGroupType) + { + $this->floodlightActivityGroupType = $floodlightActivityGroupType; + } + public function getFloodlightActivityGroupType() + { + return $this->floodlightActivityGroupType; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setImageTagEnabled($imageTagEnabled) + { + $this->imageTagEnabled = $imageTagEnabled; + } + public function getImageTagEnabled() + { + return $this->imageTagEnabled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPublisherTags($publisherTags) + { + $this->publisherTags = $publisherTags; + } + public function getPublisherTags() + { + return $this->publisherTags; + } + public function setSecure($secure) + { + $this->secure = $secure; + } + public function getSecure() + { + return $this->secure; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagFormat($tagFormat) + { + $this->tagFormat = $tagFormat; + } + public function getTagFormat() + { + return $this->tagFormat; + } + public function setTagString($tagString) + { + $this->tagString = $tagString; + } + public function getTagString() + { + return $this->tagString; + } + public function setUserDefinedVariableTypes($userDefinedVariableTypes) + { + $this->userDefinedVariableTypes = $userDefinedVariableTypes; + } + public function getUserDefinedVariableTypes() + { + return $this->userDefinedVariableTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php new file mode 100644 index 00000000..0235ca3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityDynamicTag.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php new file mode 100644 index 00000000..5d4fdbe6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroup.php @@ -0,0 +1,132 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagString($tagString) + { + $this->tagString = $tagString; + } + public function getTagString() + { + return $this->tagString; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php new file mode 100644 index 00000000..82def03b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityGroupsListResponse.php @@ -0,0 +1,50 @@ +floodlightActivityGroups = $floodlightActivityGroups; + } + public function getFloodlightActivityGroups() + { + return $this->floodlightActivityGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php new file mode 100644 index 00000000..032b96fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightActivityPublisherDynamicTag.php @@ -0,0 +1,77 @@ +clickThrough = $clickThrough; + } + public function getClickThrough() + { + return $this->clickThrough; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDynamicTag(Google_Service_Dfareporting_FloodlightActivityDynamicTag $dynamicTag) + { + $this->dynamicTag = $dynamicTag; + } + public function getDynamicTag() + { + return $this->dynamicTag; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setViewThrough($viewThrough) + { + $this->viewThrough = $viewThrough; + } + public function getViewThrough() + { + return $this->viewThrough; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php new file mode 100644 index 00000000..b923bd2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfiguration.php @@ -0,0 +1,191 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setAnalyticsDataSharingEnabled($analyticsDataSharingEnabled) + { + $this->analyticsDataSharingEnabled = $analyticsDataSharingEnabled; + } + public function getAnalyticsDataSharingEnabled() + { + return $this->analyticsDataSharingEnabled; + } + public function setExposureToConversionEnabled($exposureToConversionEnabled) + { + $this->exposureToConversionEnabled = $exposureToConversionEnabled; + } + public function getExposureToConversionEnabled() + { + return $this->exposureToConversionEnabled; + } + public function setFirstDayOfWeek($firstDayOfWeek) + { + $this->firstDayOfWeek = $firstDayOfWeek; + } + public function getFirstDayOfWeek() + { + return $this->firstDayOfWeek; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setInAppAttributionTrackingEnabled($inAppAttributionTrackingEnabled) + { + $this->inAppAttributionTrackingEnabled = $inAppAttributionTrackingEnabled; + } + public function getInAppAttributionTrackingEnabled() + { + return $this->inAppAttributionTrackingEnabled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setNaturalSearchConversionAttributionOption($naturalSearchConversionAttributionOption) + { + $this->naturalSearchConversionAttributionOption = $naturalSearchConversionAttributionOption; + } + public function getNaturalSearchConversionAttributionOption() + { + return $this->naturalSearchConversionAttributionOption; + } + public function setOmnitureSettings(Google_Service_Dfareporting_OmnitureSettings $omnitureSettings) + { + $this->omnitureSettings = $omnitureSettings; + } + public function getOmnitureSettings() + { + return $this->omnitureSettings; + } + public function setStandardVariableTypes($standardVariableTypes) + { + $this->standardVariableTypes = $standardVariableTypes; + } + public function getStandardVariableTypes() + { + return $this->standardVariableTypes; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagSettings(Google_Service_Dfareporting_TagSettings $tagSettings) + { + $this->tagSettings = $tagSettings; + } + public function getTagSettings() + { + return $this->tagSettings; + } + public function setThirdPartyAuthenticationTokens($thirdPartyAuthenticationTokens) + { + $this->thirdPartyAuthenticationTokens = $thirdPartyAuthenticationTokens; + } + public function getThirdPartyAuthenticationTokens() + { + return $this->thirdPartyAuthenticationTokens; + } + public function setUserDefinedVariableConfigurations($userDefinedVariableConfigurations) + { + $this->userDefinedVariableConfigurations = $userDefinedVariableConfigurations; + } + public function getUserDefinedVariableConfigurations() + { + return $this->userDefinedVariableConfigurations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php new file mode 100644 index 00000000..18e68ca7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightConfigurationsListResponse.php @@ -0,0 +1,41 @@ +floodlightConfigurations = $floodlightConfigurations; + } + public function getFloodlightConfigurations() + { + return $this->floodlightConfigurations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php new file mode 100644 index 00000000..9e9de516 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FloodlightReportCompatibleFields.php @@ -0,0 +1,61 @@ +dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php new file mode 100644 index 00000000..575b905e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FrequencyCap.php @@ -0,0 +1,39 @@ +duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setImpressions($impressions) + { + $this->impressions = $impressions; + } + public function getImpressions() + { + return $this->impressions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php new file mode 100644 index 00000000..1dc4c0c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/FsCommand.php @@ -0,0 +1,66 @@ +left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setPositionOption($positionOption) + { + $this->positionOption = $positionOption; + } + public function getPositionOption() + { + return $this->positionOption; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWindowHeight($windowHeight) + { + $this->windowHeight = $windowHeight; + } + public function getWindowHeight() + { + return $this->windowHeight; + } + public function setWindowWidth($windowWidth) + { + $this->windowWidth = $windowWidth; + } + public function getWindowWidth() + { + return $this->windowWidth; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php new file mode 100644 index 00000000..164960f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/GeoTargeting.php @@ -0,0 +1,81 @@ +cities = $cities; + } + public function getCities() + { + return $this->cities; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setExcludeCountries($excludeCountries) + { + $this->excludeCountries = $excludeCountries; + } + public function getExcludeCountries() + { + return $this->excludeCountries; + } + public function setMetros($metros) + { + $this->metros = $metros; + } + public function getMetros() + { + return $this->metros; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php new file mode 100644 index 00000000..560ea238 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItem.php @@ -0,0 +1,205 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdSlots($adSlots) + { + $this->adSlots = $adSlots; + } + public function getAdSlots() + { + return $this->adSlots; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setEstimatedClickThroughRate($estimatedClickThroughRate) + { + $this->estimatedClickThroughRate = $estimatedClickThroughRate; + } + public function getEstimatedClickThroughRate() + { + return $this->estimatedClickThroughRate; + } + public function setEstimatedConversionRate($estimatedConversionRate) + { + $this->estimatedConversionRate = $estimatedConversionRate; + } + public function getEstimatedConversionRate() + { + return $this->estimatedConversionRate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInPlan($inPlan) + { + $this->inPlan = $inPlan; + } + public function getInPlan() + { + return $this->inPlan; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNegotiationChannelId($negotiationChannelId) + { + $this->negotiationChannelId = $negotiationChannelId; + } + public function getNegotiationChannelId() + { + return $this->negotiationChannelId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricing(Google_Service_Dfareporting_Pricing $pricing) + { + $this->pricing = $pricing; + } + public function getPricing() + { + return $this->pricing; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRfpId($rfpId) + { + $this->rfpId = $rfpId; + } + public function getRfpId() + { + return $this->rfpId; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php new file mode 100644 index 00000000..07824ba3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/InventoryItemsListResponse.php @@ -0,0 +1,50 @@ +inventoryItems = $inventoryItems; + } + public function getInventoryItems() + { + return $this->inventoryItems; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php new file mode 100644 index 00000000..cce2661b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/KeyValueTargetingExpression.php @@ -0,0 +1,30 @@ +expression = $expression; + } + public function getExpression() + { + return $this->expression; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php new file mode 100644 index 00000000..b5156804 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPage.php @@ -0,0 +1,66 @@ +default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php new file mode 100644 index 00000000..b402046f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LandingPagesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLandingPages($landingPages) + { + $this->landingPages = $landingPages; + } + public function getLandingPages() + { + return $this->landingPages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php new file mode 100644 index 00000000..e9ebe424 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Language.php @@ -0,0 +1,57 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php new file mode 100644 index 00000000..3d375866 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguageTargeting.php @@ -0,0 +1,32 @@ +languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php new file mode 100644 index 00000000..db2ea185 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LanguagesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php new file mode 100644 index 00000000..985e97f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LastModifiedInfo.php @@ -0,0 +1,30 @@ +time = $time; + } + public function getTime() + { + return $this->time; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php new file mode 100644 index 00000000..c5b1cd25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationClause.php @@ -0,0 +1,32 @@ +terms = $terms; + } + public function getTerms() + { + return $this->terms; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php new file mode 100644 index 00000000..3841c63c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationRule.php @@ -0,0 +1,50 @@ +floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setFloodlightActivityName($floodlightActivityName) + { + $this->floodlightActivityName = $floodlightActivityName; + } + public function getFloodlightActivityName() + { + return $this->floodlightActivityName; + } + public function setListPopulationClauses($listPopulationClauses) + { + $this->listPopulationClauses = $listPopulationClauses; + } + public function getListPopulationClauses() + { + return $this->listPopulationClauses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php new file mode 100644 index 00000000..54f358ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListPopulationTerm.php @@ -0,0 +1,93 @@ +contains = $contains; + } + public function getContains() + { + return $this->contains; + } + public function setNegation($negation) + { + $this->negation = $negation; + } + public function getNegation() + { + return $this->negation; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setRemarketingListId($remarketingListId) + { + $this->remarketingListId = $remarketingListId; + } + public function getRemarketingListId() + { + return $this->remarketingListId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVariableFriendlyName($variableFriendlyName) + { + $this->variableFriendlyName = $variableFriendlyName; + } + public function getVariableFriendlyName() + { + return $this->variableFriendlyName; + } + public function setVariableName($variableName) + { + $this->variableName = $variableName; + } + public function getVariableName() + { + return $this->variableName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php new file mode 100644 index 00000000..b8ae7dca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ListTargetingExpression.php @@ -0,0 +1,30 @@ +expression = $expression; + } + public function getExpression() + { + return $this->expression; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php new file mode 100644 index 00000000..75529d53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/LookbackConfiguration.php @@ -0,0 +1,39 @@ +clickDuration = $clickDuration; + } + public function getClickDuration() + { + return $this->clickDuration; + } + public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration) + { + $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration; + } + public function getPostImpressionActivitiesDuration() + { + return $this->postImpressionActivitiesDuration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php new file mode 100644 index 00000000..9b2ea3a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metric.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php new file mode 100644 index 00000000..4234051c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Metro.php @@ -0,0 +1,84 @@ +countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setDmaId($dmaId) + { + $this->dmaId = $dmaId; + } + public function getDmaId() + { + return $this->dmaId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetroCode($metroCode) + { + $this->metroCode = $metroCode; + } + public function getMetroCode() + { + return $this->metroCode; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php new file mode 100644 index 00000000..5378847f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MetrosListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetros($metros) + { + $this->metros = $metros; + } + public function getMetros() + { + return $this->metros; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php new file mode 100644 index 00000000..952922d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarrier.php @@ -0,0 +1,66 @@ +countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php new file mode 100644 index 00000000..f330ea60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/MobileCarriersListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php new file mode 100644 index 00000000..a61bb339 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ObjectFilter.php @@ -0,0 +1,49 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObjectIds($objectIds) + { + $this->objectIds = $objectIds; + } + public function getObjectIds() + { + return $this->objectIds; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php new file mode 100644 index 00000000..f91e3df4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OffsetPosition.php @@ -0,0 +1,39 @@ +left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php new file mode 100644 index 00000000..461af1f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OmnitureSettings.php @@ -0,0 +1,39 @@ +omnitureCostDataEnabled = $omnitureCostDataEnabled; + } + public function getOmnitureCostDataEnabled() + { + return $this->omnitureCostDataEnabled; + } + public function setOmnitureIntegrationEnabled($omnitureIntegrationEnabled) + { + $this->omnitureIntegrationEnabled = $omnitureIntegrationEnabled; + } + public function getOmnitureIntegrationEnabled() + { + return $this->omnitureIntegrationEnabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php new file mode 100644 index 00000000..90d0b79b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystem.php @@ -0,0 +1,66 @@ +dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setDesktop($desktop) + { + $this->desktop = $desktop; + } + public function getDesktop() + { + return $this->desktop; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobile($mobile) + { + $this->mobile = $mobile; + } + public function getMobile() + { + return $this->mobile; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php new file mode 100644 index 00000000..f033d258 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersion.php @@ -0,0 +1,76 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMajorVersion($majorVersion) + { + $this->majorVersion = $majorVersion; + } + public function getMajorVersion() + { + return $this->majorVersion; + } + public function setMinorVersion($minorVersion) + { + $this->minorVersion = $minorVersion; + } + public function getMinorVersion() + { + return $this->minorVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperatingSystem(Google_Service_Dfareporting_OperatingSystem $operatingSystem) + { + $this->operatingSystem = $operatingSystem; + } + public function getOperatingSystem() + { + return $this->operatingSystem; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php new file mode 100644 index 00000000..e6930897 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemVersionsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOperatingSystemVersions($operatingSystemVersions) + { + $this->operatingSystemVersions = $operatingSystemVersions; + } + public function getOperatingSystemVersions() + { + return $this->operatingSystemVersions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php new file mode 100644 index 00000000..bdcc6a28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OperatingSystemsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOperatingSystems($operatingSystems) + { + $this->operatingSystems = $operatingSystems; + } + public function getOperatingSystems() + { + return $this->operatingSystems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php new file mode 100644 index 00000000..f9539cde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OptimizationActivity.php @@ -0,0 +1,49 @@ +floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setFloodlightActivityIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightActivityIdDimensionValue) + { + $this->floodlightActivityIdDimensionValue = $floodlightActivityIdDimensionValue; + } + public function getFloodlightActivityIdDimensionValue() + { + return $this->floodlightActivityIdDimensionValue; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php new file mode 100644 index 00000000..da665f4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Order.php @@ -0,0 +1,204 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setApproverUserProfileIds($approverUserProfileIds) + { + $this->approverUserProfileIds = $approverUserProfileIds; + } + public function getApproverUserProfileIds() + { + return $this->approverUserProfileIds; + } + public function setBuyerInvoiceId($buyerInvoiceId) + { + $this->buyerInvoiceId = $buyerInvoiceId; + } + public function getBuyerInvoiceId() + { + return $this->buyerInvoiceId; + } + public function setBuyerOrganizationName($buyerOrganizationName) + { + $this->buyerOrganizationName = $buyerOrganizationName; + } + public function getBuyerOrganizationName() + { + return $this->buyerOrganizationName; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setContacts($contacts) + { + $this->contacts = $contacts; + } + public function getContacts() + { + return $this->contacts; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPlanningTermId($planningTermId) + { + $this->planningTermId = $planningTermId; + } + public function getPlanningTermId() + { + return $this->planningTermId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSellerOrderId($sellerOrderId) + { + $this->sellerOrderId = $sellerOrderId; + } + public function getSellerOrderId() + { + return $this->sellerOrderId; + } + public function setSellerOrganizationName($sellerOrganizationName) + { + $this->sellerOrganizationName = $sellerOrganizationName; + } + public function getSellerOrganizationName() + { + return $this->sellerOrganizationName; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteNames($siteNames) + { + $this->siteNames = $siteNames; + } + public function getSiteNames() + { + return $this->siteNames; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTermsAndConditions($termsAndConditions) + { + $this->termsAndConditions = $termsAndConditions; + } + public function getTermsAndConditions() + { + return $this->termsAndConditions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php new file mode 100644 index 00000000..2166196f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderContact.php @@ -0,0 +1,66 @@ +contactInfo = $contactInfo; + } + public function getContactInfo() + { + return $this->contactInfo; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setContactTitle($contactTitle) + { + $this->contactTitle = $contactTitle; + } + public function getContactTitle() + { + return $this->contactTitle; + } + public function setContactType($contactType) + { + $this->contactType = $contactType; + } + public function getContactType() + { + return $this->contactType; + } + public function setSignatureUserProfileId($signatureUserProfileId) + { + $this->signatureUserProfileId = $signatureUserProfileId; + } + public function getSignatureUserProfileId() + { + return $this->signatureUserProfileId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php new file mode 100644 index 00000000..a7a26bf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocument.php @@ -0,0 +1,176 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAmendedOrderDocumentId($amendedOrderDocumentId) + { + $this->amendedOrderDocumentId = $amendedOrderDocumentId; + } + public function getAmendedOrderDocumentId() + { + return $this->amendedOrderDocumentId; + } + public function setApprovedByUserProfileIds($approvedByUserProfileIds) + { + $this->approvedByUserProfileIds = $approvedByUserProfileIds; + } + public function getApprovedByUserProfileIds() + { + return $this->approvedByUserProfileIds; + } + public function setCancelled($cancelled) + { + $this->cancelled = $cancelled; + } + public function getCancelled() + { + return $this->cancelled; + } + public function setCreatedInfo(Google_Service_Dfareporting_LastModifiedInfo $createdInfo) + { + $this->createdInfo = $createdInfo; + } + public function getCreatedInfo() + { + return $this->createdInfo; + } + public function setEffectiveDate($effectiveDate) + { + $this->effectiveDate = $effectiveDate; + } + public function getEffectiveDate() + { + return $this->effectiveDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastSentRecipients($lastSentRecipients) + { + $this->lastSentRecipients = $lastSentRecipients; + } + public function getLastSentRecipients() + { + return $this->lastSentRecipients; + } + public function setLastSentTime($lastSentTime) + { + $this->lastSentTime = $lastSentTime; + } + public function getLastSentTime() + { + return $this->lastSentTime; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSigned($signed) + { + $this->signed = $signed; + } + public function getSigned() + { + return $this->signed; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php new file mode 100644 index 00000000..63a41b30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrderDocumentsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrderDocuments($orderDocuments) + { + $this->orderDocuments = $orderDocuments; + } + public function getOrderDocuments() + { + return $this->orderDocuments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php new file mode 100644 index 00000000..e90bee1a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/OrdersListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php new file mode 100644 index 00000000..8583dd86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PathToConversionReportCompatibleFields.php @@ -0,0 +1,71 @@ +conversionDimensions = $conversionDimensions; + } + public function getConversionDimensions() + { + return $this->conversionDimensions; + } + public function setCustomFloodlightVariables($customFloodlightVariables) + { + $this->customFloodlightVariables = $customFloodlightVariables; + } + public function getCustomFloodlightVariables() + { + return $this->customFloodlightVariables; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPerInteractionDimensions($perInteractionDimensions) + { + $this->perInteractionDimensions = $perInteractionDimensions; + } + public function getPerInteractionDimensions() + { + return $this->perInteractionDimensions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php new file mode 100644 index 00000000..ffb824ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Placement.php @@ -0,0 +1,387 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyName($keyName) + { + $this->keyName = $keyName; + } + public function getKeyName() + { + return $this->keyName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPaymentApproved($paymentApproved) + { + $this->paymentApproved = $paymentApproved; + } + public function getPaymentApproved() + { + return $this->paymentApproved; + } + public function setPaymentSource($paymentSource) + { + $this->paymentSource = $paymentSource; + } + public function getPaymentSource() + { + return $this->paymentSource; + } + public function setPlacementGroupId($placementGroupId) + { + $this->placementGroupId = $placementGroupId; + } + public function getPlacementGroupId() + { + return $this->placementGroupId; + } + public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue) + { + $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue; + } + public function getPlacementGroupIdDimensionValue() + { + return $this->placementGroupIdDimensionValue; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule) + { + $this->pricingSchedule = $pricingSchedule; + } + public function getPricingSchedule() + { + return $this->pricingSchedule; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo) + { + $this->publisherUpdateInfo = $publisherUpdateInfo; + } + public function getPublisherUpdateInfo() + { + return $this->publisherUpdateInfo; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagFormats($tagFormats) + { + $this->tagFormats = $tagFormats; + } + public function getTagFormats() + { + return $this->tagFormats; + } + public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting) + { + $this->tagSetting = $tagSetting; + } + public function getTagSetting() + { + return $this->tagSetting; + } + public function setVideoActiveViewOptOut($videoActiveViewOptOut) + { + $this->videoActiveViewOptOut = $videoActiveViewOptOut; + } + public function getVideoActiveViewOptOut() + { + return $this->videoActiveViewOptOut; + } + public function setVideoSettings(Google_Service_Dfareporting_VideoSettings $videoSettings) + { + $this->videoSettings = $videoSettings; + } + public function getVideoSettings() + { + return $this->videoSettings; + } + public function setVpaidAdapterChoice($vpaidAdapterChoice) + { + $this->vpaidAdapterChoice = $vpaidAdapterChoice; + } + public function getVpaidAdapterChoice() + { + return $this->vpaidAdapterChoice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php new file mode 100644 index 00000000..f19b7374 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementAssignment.php @@ -0,0 +1,58 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setPlacementId($placementId) + { + $this->placementId = $placementId; + } + public function getPlacementId() + { + return $this->placementId; + } + public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue) + { + $this->placementIdDimensionValue = $placementIdDimensionValue; + } + public function getPlacementIdDimensionValue() + { + return $this->placementIdDimensionValue; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php new file mode 100644 index 00000000..266a1cf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroup.php @@ -0,0 +1,265 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setChildPlacementIds($childPlacementIds) + { + $this->childPlacementIds = $childPlacementIds; + } + public function getChildPlacementIds() + { + return $this->childPlacementIds; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlacementGroupType($placementGroupType) + { + $this->placementGroupType = $placementGroupType; + } + public function getPlacementGroupType() + { + return $this->placementGroupType; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule) + { + $this->pricingSchedule = $pricingSchedule; + } + public function getPricingSchedule() + { + return $this->pricingSchedule; + } + public function setPrimaryPlacementId($primaryPlacementId) + { + $this->primaryPlacementId = $primaryPlacementId; + } + public function getPrimaryPlacementId() + { + return $this->primaryPlacementId; + } + public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue) + { + $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue; + } + public function getPrimaryPlacementIdDimensionValue() + { + return $this->primaryPlacementIdDimensionValue; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php new file mode 100644 index 00000000..8adaa3c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementGroupsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacementGroups($placementGroups) + { + $this->placementGroups = $placementGroups; + } + public function getPlacementGroups() + { + return $this->placementGroups; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php new file mode 100644 index 00000000..d96c5b2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategiesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacementStrategies($placementStrategies) + { + $this->placementStrategies = $placementStrategies; + } + public function getPlacementStrategies() + { + return $this->placementStrategies; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php new file mode 100644 index 00000000..61aac46d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementStrategy.php @@ -0,0 +1,57 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php new file mode 100644 index 00000000..8c560674 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementTag.php @@ -0,0 +1,41 @@ +placementId = $placementId; + } + public function getPlacementId() + { + return $this->placementId; + } + public function setTagDatas($tagDatas) + { + $this->tagDatas = $tagDatas; + } + public function getTagDatas() + { + return $this->tagDatas; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php new file mode 100644 index 00000000..e2ec68bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsGenerateTagsResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlacementTags($placementTags) + { + $this->placementTags = $placementTags; + } + public function getPlacementTags() + { + return $this->placementTags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php new file mode 100644 index 00000000..d1b5b6f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlacementsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacements($placements) + { + $this->placements = $placements; + } + public function getPlacements() + { + return $this->placements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php new file mode 100644 index 00000000..da474be9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformType.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php new file mode 100644 index 00000000..0eee5f46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PlatformTypesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlatformTypes($platformTypes) + { + $this->platformTypes = $platformTypes; + } + public function getPlatformTypes() + { + return $this->platformTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php new file mode 100644 index 00000000..2cf0dbc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PopupWindowProperties.php @@ -0,0 +1,104 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setPositionType($positionType) + { + $this->positionType = $positionType; + } + public function getPositionType() + { + return $this->positionType; + } + public function setShowAddressBar($showAddressBar) + { + $this->showAddressBar = $showAddressBar; + } + public function getShowAddressBar() + { + return $this->showAddressBar; + } + public function setShowMenuBar($showMenuBar) + { + $this->showMenuBar = $showMenuBar; + } + public function getShowMenuBar() + { + return $this->showMenuBar; + } + public function setShowScrollBar($showScrollBar) + { + $this->showScrollBar = $showScrollBar; + } + public function getShowScrollBar() + { + return $this->showScrollBar; + } + public function setShowStatusBar($showStatusBar) + { + $this->showStatusBar = $showStatusBar; + } + public function getShowStatusBar() + { + return $this->showStatusBar; + } + public function setShowToolBar($showToolBar) + { + $this->showToolBar = $showToolBar; + } + public function getShowToolBar() + { + return $this->showToolBar; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php new file mode 100644 index 00000000..03cd3ede --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCode.php @@ -0,0 +1,66 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php new file mode 100644 index 00000000..93d9d799 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PostalCodesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php new file mode 100644 index 00000000..0e1abfb2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Pricing.php @@ -0,0 +1,77 @@ +capCostType = $capCostType; + } + public function getCapCostType() + { + return $this->capCostType; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFlights($flights) + { + $this->flights = $flights; + } + public function getFlights() + { + return $this->flights; + } + public function setGroupType($groupType) + { + $this->groupType = $groupType; + } + public function getGroupType() + { + return $this->groupType; + } + public function setPricingType($pricingType) + { + $this->pricingType = $pricingType; + } + public function getPricingType() + { + return $this->pricingType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php new file mode 100644 index 00000000..5ba2b971 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedule.php @@ -0,0 +1,104 @@ +capCostOption = $capCostOption; + } + public function getCapCostOption() + { + return $this->capCostOption; + } + public function setDisregardOverdelivery($disregardOverdelivery) + { + $this->disregardOverdelivery = $disregardOverdelivery; + } + public function getDisregardOverdelivery() + { + return $this->disregardOverdelivery; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFlighted($flighted) + { + $this->flighted = $flighted; + } + public function getFlighted() + { + return $this->flighted; + } + public function setFloodlightActivityId($floodlightActivityId) + { + $this->floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setPricingPeriods($pricingPeriods) + { + $this->pricingPeriods = $pricingPeriods; + } + public function getPricingPeriods() + { + return $this->pricingPeriods; + } + public function setPricingType($pricingType) + { + $this->pricingType = $pricingType; + } + public function getPricingType() + { + return $this->pricingType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTestingStartDate($testingStartDate) + { + $this->testingStartDate = $testingStartDate; + } + public function getTestingStartDate() + { + return $this->testingStartDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php new file mode 100644 index 00000000..0e55ed62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/PricingSchedulePricingPeriod.php @@ -0,0 +1,66 @@ +endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setPricingComment($pricingComment) + { + $this->pricingComment = $pricingComment; + } + public function getPricingComment() + { + return $this->pricingComment; + } + public function setRateOrCostNanos($rateOrCostNanos) + { + $this->rateOrCostNanos = $rateOrCostNanos; + } + public function getRateOrCostNanos() + { + return $this->rateOrCostNanos; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php new file mode 100644 index 00000000..a7fc809e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Project.php @@ -0,0 +1,220 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAudienceAgeGroup($audienceAgeGroup) + { + $this->audienceAgeGroup = $audienceAgeGroup; + } + public function getAudienceAgeGroup() + { + return $this->audienceAgeGroup; + } + public function setAudienceGender($audienceGender) + { + $this->audienceGender = $audienceGender; + } + public function getAudienceGender() + { + return $this->audienceGender; + } + public function setBudget($budget) + { + $this->budget = $budget; + } + public function getBudget() + { + return $this->budget; + } + public function setClientBillingCode($clientBillingCode) + { + $this->clientBillingCode = $clientBillingCode; + } + public function getClientBillingCode() + { + return $this->clientBillingCode; + } + public function setClientName($clientName) + { + $this->clientName = $clientName; + } + public function getClientName() + { + return $this->clientName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTargetClicks($targetClicks) + { + $this->targetClicks = $targetClicks; + } + public function getTargetClicks() + { + return $this->targetClicks; + } + public function setTargetConversions($targetConversions) + { + $this->targetConversions = $targetConversions; + } + public function getTargetConversions() + { + return $this->targetConversions; + } + public function setTargetCpaNanos($targetCpaNanos) + { + $this->targetCpaNanos = $targetCpaNanos; + } + public function getTargetCpaNanos() + { + return $this->targetCpaNanos; + } + public function setTargetCpcNanos($targetCpcNanos) + { + $this->targetCpcNanos = $targetCpcNanos; + } + public function getTargetCpcNanos() + { + return $this->targetCpcNanos; + } + public function setTargetCpmActiveViewNanos($targetCpmActiveViewNanos) + { + $this->targetCpmActiveViewNanos = $targetCpmActiveViewNanos; + } + public function getTargetCpmActiveViewNanos() + { + return $this->targetCpmActiveViewNanos; + } + public function setTargetCpmNanos($targetCpmNanos) + { + $this->targetCpmNanos = $targetCpmNanos; + } + public function getTargetCpmNanos() + { + return $this->targetCpmNanos; + } + public function setTargetImpressions($targetImpressions) + { + $this->targetImpressions = $targetImpressions; + } + public function getTargetImpressions() + { + return $this->targetImpressions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php new file mode 100644 index 00000000..2fa5d6bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ProjectsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php new file mode 100644 index 00000000..5909785d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReachReportCompatibleFields.php @@ -0,0 +1,81 @@ +dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPivotedActivityMetrics($pivotedActivityMetrics) + { + $this->pivotedActivityMetrics = $pivotedActivityMetrics; + } + public function getPivotedActivityMetrics() + { + return $this->pivotedActivityMetrics; + } + public function setReachByFrequencyMetrics($reachByFrequencyMetrics) + { + $this->reachByFrequencyMetrics = $reachByFrequencyMetrics; + } + public function getReachByFrequencyMetrics() + { + return $this->reachByFrequencyMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php new file mode 100644 index 00000000..a802e2d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Recipient.php @@ -0,0 +1,48 @@ +deliveryType = $deliveryType; + } + public function getDeliveryType() + { + return $this->deliveryType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php new file mode 100644 index 00000000..91d986a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Region.php @@ -0,0 +1,75 @@ +countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php new file mode 100644 index 00000000..df314e88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RegionsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php new file mode 100644 index 00000000..2a98707d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingList.php @@ -0,0 +1,140 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifeSpan($lifeSpan) + { + $this->lifeSpan = $lifeSpan; + } + public function getLifeSpan() + { + return $this->lifeSpan; + } + public function setListPopulationRule(Google_Service_Dfareporting_ListPopulationRule $listPopulationRule) + { + $this->listPopulationRule = $listPopulationRule; + } + public function getListPopulationRule() + { + return $this->listPopulationRule; + } + public function setListSize($listSize) + { + $this->listSize = $listSize; + } + public function getListSize() + { + return $this->listSize; + } + public function setListSource($listSource) + { + $this->listSource = $listSource; + } + public function getListSource() + { + return $this->listSource; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php new file mode 100644 index 00000000..17be3a9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListShare.php @@ -0,0 +1,58 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRemarketingListId($remarketingListId) + { + $this->remarketingListId = $remarketingListId; + } + public function getRemarketingListId() + { + return $this->remarketingListId; + } + public function setSharedAccountIds($sharedAccountIds) + { + $this->sharedAccountIds = $sharedAccountIds; + } + public function getSharedAccountIds() + { + return $this->sharedAccountIds; + } + public function setSharedAdvertiserIds($sharedAdvertiserIds) + { + $this->sharedAdvertiserIds = $sharedAdvertiserIds; + } + public function getSharedAdvertiserIds() + { + return $this->sharedAdvertiserIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php new file mode 100644 index 00000000..bce9de6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RemarketingListsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRemarketingLists($remarketingLists) + { + $this->remarketingLists = $remarketingLists; + } + public function getRemarketingLists() + { + return $this->remarketingLists; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php new file mode 100644 index 00000000..a31b1674 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Report.php @@ -0,0 +1,190 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCriteria(Google_Service_Dfareporting_ReportCriteria $criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setCrossDimensionReachCriteria(Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria) + { + $this->crossDimensionReachCriteria = $crossDimensionReachCriteria; + } + public function getCrossDimensionReachCriteria() + { + return $this->crossDimensionReachCriteria; + } + public function setDelivery(Google_Service_Dfareporting_ReportDelivery $delivery) + { + $this->delivery = $delivery; + } + public function getDelivery() + { + return $this->delivery; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFloodlightCriteria(Google_Service_Dfareporting_ReportFloodlightCriteria $floodlightCriteria) + { + $this->floodlightCriteria = $floodlightCriteria; + } + public function getFloodlightCriteria() + { + return $this->floodlightCriteria; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwnerProfileId($ownerProfileId) + { + $this->ownerProfileId = $ownerProfileId; + } + public function getOwnerProfileId() + { + return $this->ownerProfileId; + } + public function setPathToConversionCriteria(Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria) + { + $this->pathToConversionCriteria = $pathToConversionCriteria; + } + public function getPathToConversionCriteria() + { + return $this->pathToConversionCriteria; + } + public function setReachCriteria(Google_Service_Dfareporting_ReportReachCriteria $reachCriteria) + { + $this->reachCriteria = $reachCriteria; + } + public function getReachCriteria() + { + return $this->reachCriteria; + } + public function setSchedule(Google_Service_Dfareporting_ReportSchedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php new file mode 100644 index 00000000..c21df0aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCompatibleFields.php @@ -0,0 +1,71 @@ +dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPivotedActivityMetrics($pivotedActivityMetrics) + { + $this->pivotedActivityMetrics = $pivotedActivityMetrics; + } + public function getPivotedActivityMetrics() + { + return $this->pivotedActivityMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php new file mode 100644 index 00000000..1b740bd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCriteria.php @@ -0,0 +1,81 @@ +activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php new file mode 100644 index 00000000..e896f436 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportCrossDimensionReachCriteria.php @@ -0,0 +1,88 @@ +breakdown = $breakdown; + } + public function getBreakdown() + { + return $this->breakdown; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setOverlapMetricNames($overlapMetricNames) + { + $this->overlapMetricNames = $overlapMetricNames; + } + public function getOverlapMetricNames() + { + return $this->overlapMetricNames; + } + public function setPivoted($pivoted) + { + $this->pivoted = $pivoted; + } + public function getPivoted() + { + return $this->pivoted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php new file mode 100644 index 00000000..1788b2b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportDelivery.php @@ -0,0 +1,59 @@ +emailOwner = $emailOwner; + } + public function getEmailOwner() + { + return $this->emailOwner; + } + public function setEmailOwnerDeliveryType($emailOwnerDeliveryType) + { + $this->emailOwnerDeliveryType = $emailOwnerDeliveryType; + } + public function getEmailOwnerDeliveryType() + { + return $this->emailOwnerDeliveryType; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setRecipients($recipients) + { + $this->recipients = $recipients; + } + public function getRecipients() + { + return $this->recipients; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php new file mode 100644 index 00000000..6e82ad1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteria.php @@ -0,0 +1,91 @@ +customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId) + { + $this->floodlightConfigId = $floodlightConfigId; + } + public function getFloodlightConfigId() + { + return $this->floodlightConfigId; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setReportProperties(Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties) + { + $this->reportProperties = $reportProperties; + } + public function getReportProperties() + { + return $this->reportProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php new file mode 100644 index 00000000..5f6bb423 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportFloodlightCriteriaReportProperties.php @@ -0,0 +1,48 @@ +includeAttributedIPConversions = $includeAttributedIPConversions; + } + public function getIncludeAttributedIPConversions() + { + return $this->includeAttributedIPConversions; + } + public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions) + { + $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions; + } + public function getIncludeUnattributedCookieConversions() + { + return $this->includeUnattributedCookieConversions; + } + public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions) + { + $this->includeUnattributedIPConversions = $includeUnattributedIPConversions; + } + public function getIncludeUnattributedIPConversions() + { + return $this->includeUnattributedIPConversions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php new file mode 100644 index 00000000..d551c362 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php new file mode 100644 index 00000000..ba8f19f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteria.php @@ -0,0 +1,111 @@ +activityFilters = $activityFilters; + } + public function getActivityFilters() + { + return $this->activityFilters; + } + public function setConversionDimensions($conversionDimensions) + { + $this->conversionDimensions = $conversionDimensions; + } + public function getConversionDimensions() + { + return $this->conversionDimensions; + } + public function setCustomFloodlightVariables($customFloodlightVariables) + { + $this->customFloodlightVariables = $customFloodlightVariables; + } + public function getCustomFloodlightVariables() + { + return $this->customFloodlightVariables; + } + public function setCustomRichMediaEvents($customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId) + { + $this->floodlightConfigId = $floodlightConfigId; + } + public function getFloodlightConfigId() + { + return $this->floodlightConfigId; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setPerInteractionDimensions($perInteractionDimensions) + { + $this->perInteractionDimensions = $perInteractionDimensions; + } + public function getPerInteractionDimensions() + { + return $this->perInteractionDimensions; + } + public function setReportProperties(Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties) + { + $this->reportProperties = $reportProperties; + } + public function getReportProperties() + { + return $this->reportProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php new file mode 100644 index 00000000..f6e4ef30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportPathToConversionCriteriaReportProperties.php @@ -0,0 +1,102 @@ +clicksLookbackWindow = $clicksLookbackWindow; + } + public function getClicksLookbackWindow() + { + return $this->clicksLookbackWindow; + } + public function setImpressionsLookbackWindow($impressionsLookbackWindow) + { + $this->impressionsLookbackWindow = $impressionsLookbackWindow; + } + public function getImpressionsLookbackWindow() + { + return $this->impressionsLookbackWindow; + } + public function setIncludeAttributedIPConversions($includeAttributedIPConversions) + { + $this->includeAttributedIPConversions = $includeAttributedIPConversions; + } + public function getIncludeAttributedIPConversions() + { + return $this->includeAttributedIPConversions; + } + public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions) + { + $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions; + } + public function getIncludeUnattributedCookieConversions() + { + return $this->includeUnattributedCookieConversions; + } + public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions) + { + $this->includeUnattributedIPConversions = $includeUnattributedIPConversions; + } + public function getIncludeUnattributedIPConversions() + { + return $this->includeUnattributedIPConversions; + } + public function setMaximumClickInteractions($maximumClickInteractions) + { + $this->maximumClickInteractions = $maximumClickInteractions; + } + public function getMaximumClickInteractions() + { + return $this->maximumClickInteractions; + } + public function setMaximumImpressionInteractions($maximumImpressionInteractions) + { + $this->maximumImpressionInteractions = $maximumImpressionInteractions; + } + public function getMaximumImpressionInteractions() + { + return $this->maximumImpressionInteractions; + } + public function setMaximumInteractionGap($maximumInteractionGap) + { + $this->maximumInteractionGap = $maximumInteractionGap; + } + public function getMaximumInteractionGap() + { + return $this->maximumInteractionGap; + } + public function setPivotOnInteractionPath($pivotOnInteractionPath) + { + $this->pivotOnInteractionPath = $pivotOnInteractionPath; + } + public function getPivotOnInteractionPath() + { + return $this->pivotOnInteractionPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php new file mode 100644 index 00000000..959ed9a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportReachCriteria.php @@ -0,0 +1,99 @@ +activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEnableAllDimensionCombinations($enableAllDimensionCombinations) + { + $this->enableAllDimensionCombinations = $enableAllDimensionCombinations; + } + public function getEnableAllDimensionCombinations() + { + return $this->enableAllDimensionCombinations; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setReachByFrequencyMetricNames($reachByFrequencyMetricNames) + { + $this->reachByFrequencyMetricNames = $reachByFrequencyMetricNames; + } + public function getReachByFrequencyMetricNames() + { + return $this->reachByFrequencyMetricNames; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php new file mode 100644 index 00000000..61724d02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportSchedule.php @@ -0,0 +1,85 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setEvery($every) + { + $this->every = $every; + } + public function getEvery() + { + return $this->every; + } + public function setExpirationDate($expirationDate) + { + $this->expirationDate = $expirationDate; + } + public function getExpirationDate() + { + return $this->expirationDate; + } + public function setRepeats($repeats) + { + $this->repeats = $repeats; + } + public function getRepeats() + { + return $this->repeats; + } + public function setRepeatsOnWeekDays($repeatsOnWeekDays) + { + $this->repeatsOnWeekDays = $repeatsOnWeekDays; + } + public function getRepeatsOnWeekDays() + { + return $this->repeatsOnWeekDays; + } + public function setRunsOnDayOfMonth($runsOnDayOfMonth) + { + $this->runsOnDayOfMonth = $runsOnDayOfMonth; + } + public function getRunsOnDayOfMonth() + { + return $this->runsOnDayOfMonth; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php new file mode 100644 index 00000000..9b40a574 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ReportsConfiguration.php @@ -0,0 +1,49 @@ +exposureToConversionEnabled = $exposureToConversionEnabled; + } + public function getExposureToConversionEnabled() + { + return $this->exposureToConversionEnabled; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setReportGenerationTimeZoneId($reportGenerationTimeZoneId) + { + $this->reportGenerationTimeZoneId = $reportGenerationTimeZoneId; + } + public function getReportGenerationTimeZoneId() + { + return $this->reportGenerationTimeZoneId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php new file mode 100644 index 00000000..03afb6ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountActiveAdSummaries.php @@ -0,0 +1,43 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountActiveAdSummaries = $dfareportingService->accountActiveAdSummaries; + * + */ +class Google_Service_Dfareporting_Resource_AccountActiveAdSummaries extends Google_Service_Resource +{ + /** + * Gets the account's active ad summary by account ID. + * (accountActiveAdSummaries.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $summaryAccountId Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountActiveAdSummary + */ + public function get($profileId, $summaryAccountId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'summaryAccountId' => $summaryAccountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountActiveAdSummary"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php new file mode 100644 index 00000000..a63efce5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissionGroups.php @@ -0,0 +1,56 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountPermissionGroups = $dfareportingService->accountPermissionGroups; + * + */ +class Google_Service_Dfareporting_Resource_AccountPermissionGroups extends Google_Service_Resource +{ + /** + * Gets one account permission group by ID. (accountPermissionGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account permission group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermissionGroup"); + } + /** + * Retrieves the list of account permission groups. + * (accountPermissionGroups.listAccountPermissionGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionGroupsListResponse + */ + public function listAccountPermissionGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionGroupsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php new file mode 100644 index 00000000..ccc70f62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountPermissions.php @@ -0,0 +1,56 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountPermissions = $dfareportingService->accountPermissions; + * + */ +class Google_Service_Dfareporting_Resource_AccountPermissions extends Google_Service_Resource +{ + /** + * Gets one account permission by ID. (accountPermissions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account permission ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermission + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermission"); + } + /** + * Retrieves the list of account permissions. + * (accountPermissions.listAccountPermissions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionsListResponse + */ + public function listAccountPermissions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php new file mode 100644 index 00000000..4dbd6f9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AccountUserProfiles.php @@ -0,0 +1,119 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountUserProfiles = $dfareportingService->accountUserProfiles; + * + */ +class Google_Service_Dfareporting_Resource_AccountUserProfiles extends Google_Service_Resource +{ + /** + * Gets one account user profile by ID. (accountUserProfiles.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User profile ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + /** + * Inserts a new account user profile. (accountUserProfiles.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function insert($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + /** + * Retrieves a list of account user profiles, possibly filtered. This method + * supports paging. (accountUserProfiles.listAccountUserProfiles) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active user profiles. + * @opt_param string ids Select only user profiles with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name, ID or + * email. Wildcards (*) are allowed. For example, "user profile*2015" will + * return objects with names like "user profile June 2015", "user profile April + * 2015", or simply "user profile 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "user profile" will match objects with name "my user + * profile", "user profile 2015", or simply "user profile". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string subaccountId Select only user profiles with the specified + * subaccount ID. + * @opt_param string userRoleId Select only user profiles with the specified + * user role ID. + * @return Google_Service_Dfareporting_AccountUserProfilesListResponse + */ + public function listAccountUserProfiles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountUserProfilesListResponse"); + } + /** + * Updates an existing account user profile. This method supports patch + * semantics. (accountUserProfiles.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User profile ID. + * @param Google_Service_Dfareporting_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function patch($profileId, $id, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + /** + * Updates an existing account user profile. (accountUserProfiles.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function update($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php new file mode 100644 index 00000000..ae6b22f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Accounts.php @@ -0,0 +1,101 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accounts = $dfareportingService->accounts; + * + */ +class Google_Service_Dfareporting_Resource_Accounts extends Google_Service_Resource +{ + /** + * Gets one account by ID. (accounts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Account"); + } + /** + * Retrieves the list of accounts, possibly filtered. This method supports + * paging. (accounts.listAccounts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active accounts. Don't set this field to + * select both active and non-active accounts. + * @opt_param string ids Select only accounts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "account*2015" will return objects + * with names like "account June 2015", "account April 2015", or simply "account + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "account" will + * match objects with name "my account", "account 2015", or simply "account". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_AccountsListResponse + */ + public function listAccounts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountsListResponse"); + } + /** + * Updates an existing account. This method supports patch semantics. + * (accounts.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account ID. + * @param Google_Service_Dfareporting_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Account $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Account"); + } + /** + * Updates an existing account. (accounts.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function update($profileId, Google_Service_Dfareporting_Account $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Account"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php new file mode 100644 index 00000000..b899e84d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Ads.php @@ -0,0 +1,143 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $ads = $dfareportingService->ads; + * + */ +class Google_Service_Dfareporting_Resource_Ads extends Google_Service_Resource +{ + /** + * Gets one ad by ID. (ads.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Ad ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Ad"); + } + /** + * Inserts a new ad. (ads.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function insert($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Ad"); + } + /** + * Retrieves a list of ads, possibly filtered. This method supports paging. + * (ads.listAds) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active ads. + * @opt_param string advertiserId Select only ads with this advertiser ID. + * @opt_param bool archived Select only archived ads. + * @opt_param string audienceSegmentIds Select only ads with these audience + * segment IDs. + * @opt_param string campaignIds Select only ads with these campaign IDs. + * @opt_param string compatibility Select default ads with the specified + * compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and + * DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile + * devices for regular or interstitial ads, respectively. APP and + * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to + * rendering an in-stream video ads developed with the VAST standard. + * @opt_param string creativeIds Select only ads with these creative IDs + * assigned. + * @opt_param string creativeOptimizationConfigurationIds Select only ads with + * these creative optimization configuration IDs. + * @opt_param bool dynamicClickTracker Select only dynamic click trackers. + * Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic + * click trackers. If false, select static click trackers. Leave unset to select + * both. + * @opt_param string ids Select only ads with these IDs. + * @opt_param string landingPageIds Select only ads with these landing page IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string overriddenEventTagId Select only ads with this event tag + * override ID. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string placementIds Select only ads with these placement IDs + * assigned. + * @opt_param string remarketingListIds Select only ads whose list targeting + * expression use these remarketing list IDs. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "ad*2015" will return objects with + * names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the + * searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "ad" will match objects with name "my + * ad", "ad 2015", or simply "ad". + * @opt_param string sizeIds Select only ads with these size IDs. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool sslCompliant Select only ads that are SSL-compliant. + * @opt_param bool sslRequired Select only ads that require SSL. + * @opt_param string type Select only ads with these types. + * @return Google_Service_Dfareporting_AdsListResponse + */ + public function listAds($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdsListResponse"); + } + /** + * Updates an existing ad. This method supports patch semantics. (ads.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Ad ID. + * @param Google_Service_Dfareporting_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Ad"); + } + /** + * Updates an existing ad. (ads.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function update($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Ad"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php new file mode 100644 index 00000000..66ddb8b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/AdvertiserGroups.php @@ -0,0 +1,127 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $advertiserGroups = $dfareportingService->advertiserGroups; + * + */ +class Google_Service_Dfareporting_Resource_AdvertiserGroups extends Google_Service_Resource +{ + /** + * Deletes an existing advertiser group. (advertiserGroups.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one advertiser group by ID. (advertiserGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + /** + * Inserts a new advertiser group. (advertiserGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function insert($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + /** + * Retrieves a list of advertiser groups, possibly filtered. This method + * supports paging. (advertiserGroups.listAdvertiserGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only advertiser groups with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects + * with names like "advertiser group June 2015", "advertiser group April 2015", + * or simply "advertiser group 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "advertisergroup" will match objects with name "my + * advertisergroup", "advertisergroup 2015", or simply "advertisergroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_AdvertiserGroupsListResponse + */ + public function listAdvertiserGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertiserGroupsListResponse"); + } + /** + * Updates an existing advertiser group. This method supports patch semantics. + * (advertiserGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param Google_Service_Dfareporting_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + /** + * Updates an existing advertiser group. (advertiserGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function update($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php new file mode 100644 index 00000000..adf14824 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Advertisers.php @@ -0,0 +1,125 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $advertisers = $dfareportingService->advertisers; + * + */ +class Google_Service_Dfareporting_Resource_Advertisers extends Google_Service_Resource +{ + /** + * Gets one advertiser by ID. (advertisers.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Advertiser"); + } + /** + * Inserts a new advertiser. (advertisers.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function insert($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Advertiser"); + } + /** + * Retrieves a list of advertisers, possibly filtered. This method supports + * paging. (advertisers.listAdvertisers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserGroupIds Select only advertisers with these + * advertiser group IDs. + * @opt_param string floodlightConfigurationIds Select only advertisers with + * these floodlight configuration IDs. + * @opt_param string ids Select only advertisers with these IDs. + * @opt_param bool includeAdvertisersWithoutGroupsOnly Select only advertisers + * which do not belong to any advertiser group. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param bool onlyParent Select only advertisers which use another + * advertiser's floodlight configuration. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects + * with names like "advertiser June 2015", "advertiser April 2015", or simply + * "advertiser 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "advertiser" will match objects with name "my advertiser", "advertiser 2015", + * or simply "advertiser". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string status Select only advertisers with the specified status. + * @opt_param string subaccountId Select only advertisers with these subaccount + * IDs. + * @return Google_Service_Dfareporting_AdvertisersListResponse + */ + public function listAdvertisers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertisersListResponse"); + } + /** + * Updates an existing advertiser. This method supports patch semantics. + * (advertisers.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser ID. + * @param Google_Service_Dfareporting_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Advertiser"); + } + /** + * Updates an existing advertiser. (advertisers.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function update($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Advertiser"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php new file mode 100644 index 00000000..c1cacb90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Browsers.php @@ -0,0 +1,41 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $browsers = $dfareportingService->browsers; + * + */ +class Google_Service_Dfareporting_Resource_Browsers extends Google_Service_Resource +{ + /** + * Retrieves a list of browsers. (browsers.listBrowsers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_BrowsersListResponse + */ + public function listBrowsers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_BrowsersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php new file mode 100644 index 00000000..fe5912f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CampaignCreativeAssociations.php @@ -0,0 +1,66 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations; + * + */ +class Google_Service_Dfareporting_Resource_CampaignCreativeAssociations extends Google_Service_Resource +{ + /** + * Associates a creative with the specified campaign. This method creates a + * default ad with dimensions matching the creative in the campaign if such a + * default ad does not exist already. (campaignCreativeAssociations.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Campaign ID in this association. + * @param Google_Service_Dfareporting_CampaignCreativeAssociation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CampaignCreativeAssociation + */ + public function insert($profileId, $campaignId, Google_Service_Dfareporting_CampaignCreativeAssociation $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociation"); + } + /** + * Retrieves the list of creative IDs associated with the specified campaign. + * This method supports paging. + * (campaignCreativeAssociations.listCampaignCreativeAssociations) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Campaign ID in this association. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse + */ + public function listCampaignCreativeAssociations($profileId, $campaignId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php new file mode 100644 index 00000000..c34969bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Campaigns.php @@ -0,0 +1,131 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $campaigns = $dfareportingService->campaigns; + * + */ +class Google_Service_Dfareporting_Resource_Campaigns extends Google_Service_Resource +{ + /** + * Gets one campaign by ID. (campaigns.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Campaign ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Campaign"); + } + /** + * Inserts a new campaign. (campaigns.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $defaultLandingPageName Default landing page name for this new + * campaign. Must be less than 256 characters long. + * @param string $defaultLandingPageUrl Default landing page URL for this new + * campaign. + * @param Google_Service_Dfareporting_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function insert($profileId, $defaultLandingPageName, $defaultLandingPageUrl, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'defaultLandingPageName' => $defaultLandingPageName, 'defaultLandingPageUrl' => $defaultLandingPageUrl, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Campaign"); + } + /** + * Retrieves a list of campaigns, possibly filtered. This method supports + * paging. (campaigns.listCampaigns) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserGroupIds Select only campaigns whose advertisers + * belong to these advertiser groups. + * @opt_param string advertiserIds Select only campaigns that belong to these + * advertisers. + * @opt_param bool archived Select only archived campaigns. Don't set this field + * to select both archived and non-archived campaigns. + * @opt_param bool atLeastOneOptimizationActivity Select only campaigns that + * have at least one optimization activity. + * @opt_param string excludedIds Exclude campaigns with these IDs. + * @opt_param string ids Select only campaigns with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string overriddenEventTagId Select only campaigns that have + * overridden this event tag ID. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for campaigns by name or ID. + * Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns + * with names like "campaign June 2015", "campaign April 2015", or simply + * "campaign 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "campaign" will match campaigns with name "my campaign", "campaign 2015", or + * simply "campaign". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string subaccountId Select only campaigns that belong to this + * subaccount. + * @return Google_Service_Dfareporting_CampaignsListResponse + */ + public function listCampaigns($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignsListResponse"); + } + /** + * Updates an existing campaign. This method supports patch semantics. + * (campaigns.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Campaign ID. + * @param Google_Service_Dfareporting_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Campaign"); + } + /** + * Updates an existing campaign. (campaigns.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function update($profileId, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Campaign"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php new file mode 100644 index 00000000..f35a7c6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ChangeLogs.php @@ -0,0 +1,81 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $changeLogs = $dfareportingService->changeLogs; + * + */ +class Google_Service_Dfareporting_Resource_ChangeLogs extends Google_Service_Resource +{ + /** + * Gets one change log by ID. (changeLogs.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Change log ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ChangeLog + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ChangeLog"); + } + /** + * Retrieves a list of change logs. This method supports paging. + * (changeLogs.listChangeLogs) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string action Select only change logs with the specified action. + * @opt_param string ids Select only change logs with these IDs. + * @opt_param string maxChangeTime Select only change logs whose change time is + * before the specified maxChangeTime.The time should be formatted as an RFC3339 + * date/time string. For example, for 10:54 PM on July 18th, 2015, in the + * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In + * other words, the year, month, day, the letter T, the hour (24-hour clock + * system), minute, second, and then the time zone offset. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string minChangeTime Select only change logs whose change time is + * before the specified minChangeTime.The time should be formatted as an RFC3339 + * date/time string. For example, for 10:54 PM on July 18th, 2015, in the + * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In + * other words, the year, month, day, the letter T, the hour (24-hour clock + * system), minute, second, and then the time zone offset. + * @opt_param string objectIds Select only change logs with these object IDs. + * @opt_param string objectType Select only change logs with the specified + * object type. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Select only change logs whose object ID, user + * name, old or new values match the search string. + * @opt_param string userProfileIds Select only change logs with these user + * profile IDs. + * @return Google_Service_Dfareporting_ChangeLogsListResponse + */ + public function listChangeLogs($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ChangeLogsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php new file mode 100644 index 00000000..eb04d0d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Cities.php @@ -0,0 +1,47 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $cities = $dfareportingService->cities; + * + */ +class Google_Service_Dfareporting_Resource_Cities extends Google_Service_Resource +{ + /** + * Retrieves a list of cities, possibly filtered. (cities.listCities) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string countryDartIds Select only cities from these countries. + * @opt_param string dartIds Select only cities with these DART IDs. + * @opt_param string namePrefix Select only cities with names starting with this + * prefix. + * @opt_param string regionDartIds Select only cities from these regions. + * @return Google_Service_Dfareporting_CitiesListResponse + */ + public function listCities($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CitiesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php new file mode 100644 index 00000000..f0e60ffb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ConnectionTypes.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $connectionTypes = $dfareportingService->connectionTypes; + * + */ +class Google_Service_Dfareporting_Resource_ConnectionTypes extends Google_Service_Resource +{ + /** + * Gets one connection type by ID. (connectionTypes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Connection type ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ConnectionType + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ConnectionType"); + } + /** + * Retrieves a list of connection types. (connectionTypes.listConnectionTypes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ConnectionTypesListResponse + */ + public function listConnectionTypes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ConnectionTypesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php new file mode 100644 index 00000000..8d2bb3ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ContentCategories.php @@ -0,0 +1,127 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $contentCategories = $dfareportingService->contentCategories; + * + */ +class Google_Service_Dfareporting_Resource_ContentCategories extends Google_Service_Resource +{ + /** + * Deletes an existing content category. (contentCategories.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one content category by ID. (contentCategories.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + /** + * Inserts a new content category. (contentCategories.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function insert($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + /** + * Retrieves a list of content categories, possibly filtered. This method + * supports paging. (contentCategories.listContentCategories) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only content categories with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "contentcategory*2015" will return + * objects with names like "contentcategory June 2015", "contentcategory April + * 2015", or simply "contentcategory 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "contentcategory" will match objects with name + * "my contentcategory", "contentcategory 2015", or simply "contentcategory". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_ContentCategoriesListResponse + */ + public function listContentCategories($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ContentCategoriesListResponse"); + } + /** + * Updates an existing content category. This method supports patch semantics. + * (contentCategories.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param Google_Service_Dfareporting_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function patch($profileId, $id, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + /** + * Updates an existing content category. (contentCategories.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function update($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_ContentCategory"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php new file mode 100644 index 00000000..70f5588b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Conversions.php @@ -0,0 +1,42 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $conversions = $dfareportingService->conversions; + * + */ +class Google_Service_Dfareporting_Resource_Conversions extends Google_Service_Resource +{ + /** + * Inserts conversions. (conversions.batchinsert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_ConversionsBatchInsertRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ConversionsBatchInsertResponse + */ + public function batchinsert($profileId, Google_Service_Dfareporting_ConversionsBatchInsertRequest $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchinsert', array($params), "Google_Service_Dfareporting_ConversionsBatchInsertResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php new file mode 100644 index 00000000..92eb622d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Countries.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $countries = $dfareportingService->countries; + * + */ +class Google_Service_Dfareporting_Resource_Countries extends Google_Service_Resource +{ + /** + * Gets one country by ID. (countries.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $dartId Country DART ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Country + */ + public function get($profileId, $dartId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'dartId' => $dartId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Country"); + } + /** + * Retrieves a list of countries. (countries.listCountries) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CountriesListResponse + */ + public function listCountries($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CountriesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php new file mode 100644 index 00000000..99cb9f71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeAssets.php @@ -0,0 +1,44 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeAssets = $dfareportingService->creativeAssets; + * + */ +class Google_Service_Dfareporting_Resource_CreativeAssets extends Google_Service_Resource +{ + /** + * Inserts a new creative asset. (creativeAssets.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Advertiser ID of this creative. This is a + * required field. + * @param Google_Service_Dfareporting_CreativeAssetMetadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeAssetMetadata + */ + public function insert($profileId, $advertiserId, Google_Service_Dfareporting_CreativeAssetMetadata $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeAssetMetadata"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php new file mode 100644 index 00000000..50aa7aa0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFieldValues.php @@ -0,0 +1,134 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeFieldValues = $dfareportingService->creativeFieldValues; + * + */ +class Google_Service_Dfareporting_Resource_CreativeFieldValues extends Google_Service_Resource +{ + /** + * Deletes an existing creative field value. (creativeFieldValues.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $creativeFieldId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one creative field value by ID. (creativeFieldValues.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function get($profileId, $creativeFieldId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + /** + * Inserts a new creative field value. (creativeFieldValues.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param Google_Service_Dfareporting_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function insert($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + /** + * Retrieves a list of creative field values, possibly filtered. This method + * supports paging. (creativeFieldValues.listCreativeFieldValues) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only creative field values with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for creative field values by + * their values. Wildcards (e.g. *) are not allowed. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeFieldValuesListResponse + */ + public function listCreativeFieldValues($profileId, $creativeFieldId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldValuesListResponse"); + } + /** + * Updates an existing creative field value. This method supports patch + * semantics. (creativeFieldValues.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param Google_Service_Dfareporting_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function patch($profileId, $creativeFieldId, $id, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + /** + * Updates an existing creative field value. (creativeFieldValues.update) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param Google_Service_Dfareporting_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function update($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php new file mode 100644 index 00000000..5739828b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeFields.php @@ -0,0 +1,130 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeFields = $dfareportingService->creativeFields; + * + */ +class Google_Service_Dfareporting_Resource_CreativeFields extends Google_Service_Resource +{ + /** + * Deletes an existing creative field. (creativeFields.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one creative field by ID. (creativeFields.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeField"); + } + /** + * Inserts a new creative field. (creativeFields.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function insert($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeField"); + } + /** + * Retrieves a list of creative fields, possibly filtered. This method supports + * paging. (creativeFields.listCreativeFields) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserIds Select only creative fields that belong to + * these advertisers. + * @opt_param string ids Select only creative fields with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for creative fields by name + * or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will + * return creative fields with names like "creativefield June 2015", + * "creativefield April 2015", or simply "creativefield 2015". Most of the + * searches also add wild-cards implicitly at the start and the end of the + * search string. For example, a search string of "creativefield" will match + * creative fields with the name "my creativefield", "creativefield 2015", or + * simply "creativefield". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeFieldsListResponse + */ + public function listCreativeFields($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldsListResponse"); + } + /** + * Updates an existing creative field. This method supports patch semantics. + * (creativeFields.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param Google_Service_Dfareporting_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function patch($profileId, $id, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeField"); + } + /** + * Updates an existing creative field. (creativeFields.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function update($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeField"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php new file mode 100644 index 00000000..44d70d04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/CreativeGroups.php @@ -0,0 +1,119 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeGroups = $dfareportingService->creativeGroups; + * + */ +class Google_Service_Dfareporting_Resource_CreativeGroups extends Google_Service_Resource +{ + /** + * Gets one creative group by ID. (creativeGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + /** + * Inserts a new creative group. (creativeGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function insert($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + /** + * Retrieves a list of creative groups, possibly filtered. This method supports + * paging. (creativeGroups.listCreativeGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserIds Select only creative groups that belong to + * these advertisers. + * @opt_param int groupNumber Select only creative groups that belong to this + * subgroup. + * @opt_param string ids Select only creative groups with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for creative groups by name + * or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will + * return creative groups with names like "creativegroup June 2015", + * "creativegroup April 2015", or simply "creativegroup 2015". Most of the + * searches also add wild-cards implicitly at the start and the end of the + * search string. For example, a search string of "creativegroup" will match + * creative groups with the name "my creativegroup", "creativegroup 2015", or + * simply "creativegroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeGroupsListResponse + */ + public function listCreativeGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeGroupsListResponse"); + } + /** + * Updates an existing creative group. This method supports patch semantics. + * (creativeGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative group ID. + * @param Google_Service_Dfareporting_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + /** + * Updates an existing creative group. (creativeGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function update($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php new file mode 100644 index 00000000..9cfe4548 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Creatives.php @@ -0,0 +1,130 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creatives = $dfareportingService->creatives; + * + */ +class Google_Service_Dfareporting_Resource_Creatives extends Google_Service_Resource +{ + /** + * Gets one creative by ID. (creatives.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Creative"); + } + /** + * Inserts a new creative. (creatives.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function insert($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Creative"); + } + /** + * Retrieves a list of creatives, possibly filtered. This method supports + * paging. (creatives.listCreatives) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active creatives. Leave blank to select + * active and inactive creatives. + * @opt_param string advertiserId Select only creatives with this advertiser ID. + * @opt_param bool archived Select only archived creatives. Leave blank to + * select archived and unarchived creatives. + * @opt_param string campaignId Select only creatives with this campaign ID. + * @opt_param string companionCreativeIds Select only in-stream video creatives + * with these companion IDs. + * @opt_param string creativeFieldIds Select only creatives with these creative + * field IDs. + * @opt_param string ids Select only creatives with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string renderingIds Select only creatives with these rendering + * IDs. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "creative*2015" will return objects + * with names like "creative June 2015", "creative April 2015", or simply + * "creative 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "creative" will match objects with name "my creative", "creative 2015", or + * simply "creative". + * @opt_param string sizeIds Select only creatives with these size IDs. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string studioCreativeId Select only creatives corresponding to + * this Studio creative ID. + * @opt_param string types Select only creatives with these creative types. + * @return Google_Service_Dfareporting_CreativesListResponse + */ + public function listCreatives($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativesListResponse"); + } + /** + * Updates an existing creative. This method supports patch semantics. + * (creatives.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative ID. + * @param Google_Service_Dfareporting_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Creative"); + } + /** + * Updates an existing creative. (creatives.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function update($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Creative"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php new file mode 100644 index 00000000..c7ea3a23 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DimensionValues.php @@ -0,0 +1,47 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $dimensionValues = $dfareportingService->dimensionValues; + * + */ +class Google_Service_Dfareporting_Resource_DimensionValues extends Google_Service_Resource +{ + /** + * Retrieves list of report dimension values for a list of filters. + * (dimensionValues.query) + * + * @param string $profileId The DFA user profile ID. + * @param Google_Service_Dfareporting_DimensionValueRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @return Google_Service_Dfareporting_DimensionValueList + */ + public function query($profileId, Google_Service_Dfareporting_DimensionValueRequest $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Dfareporting_DimensionValueList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php new file mode 100644 index 00000000..fc05b0fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySiteContacts.php @@ -0,0 +1,73 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $directorySiteContacts = $dfareportingService->directorySiteContacts; + * + */ +class Google_Service_Dfareporting_Resource_DirectorySiteContacts extends Google_Service_Resource +{ + /** + * Gets one directory site contact by ID. (directorySiteContacts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Directory site contact ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySiteContact + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySiteContact"); + } + /** + * Retrieves a list of directory site contacts, possibly filtered. This method + * supports paging. (directorySiteContacts.listDirectorySiteContacts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string directorySiteIds Select only directory site contacts with + * these directory site IDs. This is a required field. + * @opt_param string ids Select only directory site contacts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name, ID or + * email. Wildcards (*) are allowed. For example, "directory site contact*2015" + * will return objects with names like "directory site contact June 2015", + * "directory site contact April 2015", or simply "directory site contact 2015". + * Most of the searches also add wildcards implicitly at the start and the end + * of the search string. For example, a search string of "directory site + * contact" will match objects with name "my directory site contact", "directory + * site contact 2015", or simply "directory site contact". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_DirectorySiteContactsListResponse + */ + public function listDirectorySiteContacts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySiteContactsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php new file mode 100644 index 00000000..ea3ac23f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DirectorySites.php @@ -0,0 +1,96 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $directorySites = $dfareportingService->directorySites; + * + */ +class Google_Service_Dfareporting_Resource_DirectorySites extends Google_Service_Resource +{ + /** + * Gets one directory site by ID. (directorySites.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Directory site ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySite + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySite"); + } + /** + * Inserts a new directory site. (directorySites.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_DirectorySite $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySite + */ + public function insert($profileId, Google_Service_Dfareporting_DirectorySite $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_DirectorySite"); + } + /** + * Retrieves a list of directory sites, possibly filtered. This method supports + * paging. (directorySites.listDirectorySites) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool acceptsInStreamVideoPlacements This search filter is no + * longer supported and will have no effect on the results returned. + * @opt_param bool acceptsInterstitialPlacements This search filter is no longer + * supported and will have no effect on the results returned. + * @opt_param bool acceptsPublisherPaidPlacements Select only directory sites + * that accept publisher paid placements. This field can be left blank. + * @opt_param bool active Select only active directory sites. Leave blank to + * retrieve both active and inactive directory sites. + * @opt_param string countryId Select only directory sites with this country ID. + * @opt_param string dfp_network_code Select only directory sites with this DFP + * network code. + * @opt_param string ids Select only directory sites with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string parentId Select only directory sites with this parent ID. + * @opt_param string searchString Allows searching for objects by name, ID or + * URL. Wildcards (*) are allowed. For example, "directory site*2015" will + * return objects with names like "directory site June 2015", "directory site + * April 2015", or simply "directory site 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "directory site" will match objects with name "my + * directory site", "directory site 2015" or simply, "directory site". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_DirectorySitesListResponse + */ + public function listDirectorySites($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySitesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php new file mode 100644 index 00000000..2b210267 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/DynamicTargetingKeys.php @@ -0,0 +1,88 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $dynamicTargetingKeys = $dfareportingService->dynamicTargetingKeys; + * + */ +class Google_Service_Dfareporting_Resource_DynamicTargetingKeys extends Google_Service_Resource +{ + /** + * Deletes an existing dynamic targeting key. (dynamicTargetingKeys.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $objectId ID of the object of this dynamic targeting key. This + * is a required field. + * @param string $name Name of this dynamic targeting key. This is a required + * field. Must be less than 256 characters long and cannot contain commas. All + * characters are converted to lowercase. + * @param string $objectType Type of the object of this dynamic targeting key. + * This is a required field. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $objectId, $name, $objectType, $optParams = array()) + { + $params = array('profileId' => $profileId, 'objectId' => $objectId, 'name' => $name, 'objectType' => $objectType); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Inserts a new dynamic targeting key. Keys must be created at the advertiser + * level before being assigned to the advertiser's ads, creatives, or + * placements. There is a maximum of 1000 keys per advertiser, out of which a + * maximum of 20 keys can be assigned per ad, creative, or placement. + * (dynamicTargetingKeys.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_DynamicTargetingKey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DynamicTargetingKey + */ + public function insert($profileId, Google_Service_Dfareporting_DynamicTargetingKey $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_DynamicTargetingKey"); + } + /** + * Retrieves a list of dynamic targeting keys. + * (dynamicTargetingKeys.listDynamicTargetingKeys) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserId Select only dynamic targeting keys whose + * object has this advertiser ID. + * @opt_param string names Select only dynamic targeting keys exactly matching + * these names. + * @opt_param string objectId Select only dynamic targeting keys with this + * object ID. + * @opt_param string objectType Select only dynamic targeting keys with this + * object type. + * @return Google_Service_Dfareporting_DynamicTargetingKeysListResponse + */ + public function listDynamicTargetingKeys($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_DynamicTargetingKeysListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php new file mode 100644 index 00000000..34ef31a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/EventTags.php @@ -0,0 +1,146 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $eventTags = $dfareportingService->eventTags; + * + */ +class Google_Service_Dfareporting_Resource_EventTags extends Google_Service_Resource +{ + /** + * Deletes an existing event tag. (eventTags.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one event tag by ID. (eventTags.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_EventTag"); + } + /** + * Inserts a new event tag. (eventTags.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function insert($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_EventTag"); + } + /** + * Retrieves a list of event tags, possibly filtered. (eventTags.listEventTags) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string adId Select only event tags that belong to this ad. + * @opt_param string advertiserId Select only event tags that belong to this + * advertiser. + * @opt_param string campaignId Select only event tags that belong to this + * campaign. + * @opt_param bool definitionsOnly Examine only the specified campaign or + * advertiser's event tags for matching selector criteria. When set to false, + * the parent advertiser and parent campaign of the specified ad or campaign is + * examined as well. In addition, when set to false, the status field is + * examined as well, along with the enabledByDefault field. This parameter can + * not be set to true when adId is specified as ads do not define their own even + * tags. + * @opt_param bool enabled Select only enabled event tags. What is considered + * enabled or disabled depends on the definitionsOnly parameter. When + * definitionsOnly is set to true, only the specified advertiser or campaign's + * event tags' enabledByDefault field is examined. When definitionsOnly is set + * to false, the specified ad or specified campaign's parent advertiser's or + * parent campaign's event tags' enabledByDefault and status fields are examined + * as well. + * @opt_param string eventTagTypes Select only event tags with the specified + * event tag types. Event tag types can be used to specify whether to use a + * third-party pixel, a third-party JavaScript URL, or a third-party click- + * through URL for either impression or click tracking. + * @opt_param string ids Select only event tags with these IDs. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "eventtag*2015" will return objects + * with names like "eventtag June 2015", "eventtag April 2015", or simply + * "eventtag 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "eventtag" will match objects with name "my eventtag", "eventtag 2015", or + * simply "eventtag". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_EventTagsListResponse + */ + public function listEventTags($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_EventTagsListResponse"); + } + /** + * Updates an existing event tag. This method supports patch semantics. + * (eventTags.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param Google_Service_Dfareporting_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function patch($profileId, $id, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_EventTag"); + } + /** + * Updates an existing event tag. (eventTags.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function update($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_EventTag"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php new file mode 100644 index 00000000..6ab986ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Files.php @@ -0,0 +1,63 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $files = $dfareportingService->files; + * + */ +class Google_Service_Dfareporting_Resource_Files extends Google_Service_Resource +{ + /** + * Retrieves a report file by its report ID and file ID. (files.get) + * + * @param string $reportId The ID of the report. + * @param string $fileId The ID of the report file. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function get($reportId, $fileId, $optParams = array()) + { + $params = array('reportId' => $reportId, 'fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + /** + * Lists files for a user profile. (files.listFiles) + * + * @param string $profileId The DFA profile ID. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string scope The scope that defines which results are returned, + * default is 'MINE'. + * @opt_param string sortField The field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @return Google_Service_Dfareporting_FileList + */ + public function listFiles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FileList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php new file mode 100644 index 00000000..ddf61e83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivities.php @@ -0,0 +1,162 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightActivities = $dfareportingService->floodlightActivities; + * + */ +class Google_Service_Dfareporting_Resource_FloodlightActivities extends Google_Service_Resource +{ + /** + * Deletes an existing floodlight activity. (floodlightActivities.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Generates a tag for a floodlight activity. (floodlightActivities.generatetag) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string floodlightActivityId Floodlight activity ID for which we + * want to generate a tag. + * @return Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse + */ + public function generatetag($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('generatetag', array($params), "Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse"); + } + /** + * Gets one floodlight activity by ID. (floodlightActivities.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + /** + * Inserts a new floodlight activity. (floodlightActivities.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function insert($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + /** + * Retrieves a list of floodlight activities, possibly filtered. This method + * supports paging. (floodlightActivities.listFloodlightActivities) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserId Select only floodlight activities for the + * specified advertiser ID. Must specify either ids, advertiserId, or + * floodlightConfigurationId for a non-empty result. + * @opt_param string floodlightActivityGroupIds Select only floodlight + * activities with the specified floodlight activity group IDs. + * @opt_param string floodlightActivityGroupName Select only floodlight + * activities with the specified floodlight activity group name. + * @opt_param string floodlightActivityGroupTagString Select only floodlight + * activities with the specified floodlight activity group tag string. + * @opt_param string floodlightActivityGroupType Select only floodlight + * activities with the specified floodlight activity group type. + * @opt_param string floodlightConfigurationId Select only floodlight activities + * for the specified floodlight configuration ID. Must specify either ids, + * advertiserId, or floodlightConfigurationId for a non-empty result. + * @opt_param string ids Select only floodlight activities with the specified + * IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for + * a non-empty result. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return + * objects with names like "floodlightactivity June 2015", "floodlightactivity + * April 2015", or simply "floodlightactivity 2015". Most of the searches also + * add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "floodlightactivity" will match objects with name + * "my floodlightactivity activity", "floodlightactivity 2015", or simply + * "floodlightactivity". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string tagString Select only floodlight activities with the + * specified tag string. + * @return Google_Service_Dfareporting_FloodlightActivitiesListResponse + */ + public function listFloodlightActivities($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivitiesListResponse"); + } + /** + * Updates an existing floodlight activity. This method supports patch + * semantics. (floodlightActivities.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param Google_Service_Dfareporting_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + /** + * Updates an existing floodlight activity. (floodlightActivities.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php new file mode 100644 index 00000000..1eb3442f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightActivityGroups.php @@ -0,0 +1,128 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightActivityGroups = $dfareportingService->floodlightActivityGroups; + * + */ +class Google_Service_Dfareporting_Resource_FloodlightActivityGroups extends Google_Service_Resource +{ + /** + * Gets one floodlight activity group by ID. (floodlightActivityGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity Group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + /** + * Inserts a new floodlight activity group. (floodlightActivityGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function insert($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + /** + * Retrieves a list of floodlight activity groups, possibly filtered. This + * method supports paging. + * (floodlightActivityGroups.listFloodlightActivityGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserId Select only floodlight activity groups with + * the specified advertiser ID. Must specify either advertiserId or + * floodlightConfigurationId for a non-empty result. + * @opt_param string floodlightConfigurationId Select only floodlight activity + * groups with the specified floodlight configuration ID. Must specify either + * advertiserId, or floodlightConfigurationId for a non-empty result. + * @opt_param string ids Select only floodlight activity groups with the + * specified IDs. Must specify either advertiserId or floodlightConfigurationId + * for a non-empty result. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will + * return objects with names like "floodlightactivitygroup June 2015", + * "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of + * "floodlightactivitygroup" will match objects with name "my + * floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply + * "floodlightactivitygroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string type Select only floodlight activity groups with the + * specified floodlight activity group type. + * @return Google_Service_Dfareporting_FloodlightActivityGroupsListResponse + */ + public function listFloodlightActivityGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivityGroupsListResponse"); + } + /** + * Updates an existing floodlight activity group. This method supports patch + * semantics. (floodlightActivityGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity Group ID. + * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + /** + * Updates an existing floodlight activity group. + * (floodlightActivityGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php new file mode 100644 index 00000000..43449332 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/FloodlightConfigurations.php @@ -0,0 +1,90 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightConfigurations = $dfareportingService->floodlightConfigurations; + * + */ +class Google_Service_Dfareporting_Resource_FloodlightConfigurations extends Google_Service_Resource +{ + /** + * Gets one floodlight configuration by ID. (floodlightConfigurations.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight configuration ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } + /** + * Retrieves a list of floodlight configurations, possibly filtered. + * (floodlightConfigurations.listFloodlightConfigurations) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Set of IDs of floodlight configurations to retrieve. + * Required field; otherwise an empty list will be returned. + * @return Google_Service_Dfareporting_FloodlightConfigurationsListResponse + */ + public function listFloodlightConfigurations($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightConfigurationsListResponse"); + } + /** + * Updates an existing floodlight configuration. This method supports patch + * semantics. (floodlightConfigurations.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight configuration ID. + * @param Google_Service_Dfareporting_FloodlightConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } + /** + * Updates an existing floodlight configuration. + * (floodlightConfigurations.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_FloodlightConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php new file mode 100644 index 00000000..39193822 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/InventoryItems.php @@ -0,0 +1,71 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $inventoryItems = $dfareportingService->inventoryItems; + * + */ +class Google_Service_Dfareporting_Resource_InventoryItems extends Google_Service_Resource +{ + /** + * Gets one inventory item by ID. (inventoryItems.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param string $id Inventory item ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_InventoryItem + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_InventoryItem"); + } + /** + * Retrieves a list of inventory items, possibly filtered. This method supports + * paging. (inventoryItems.listInventoryItems) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only inventory items with these IDs. + * @opt_param bool inPlan Select only inventory items that are in plan. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string orderId Select only inventory items that belong to + * specified orders. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string siteId Select only inventory items that are associated with + * these sites. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string type Select only inventory items with this type. + * @return Google_Service_Dfareporting_InventoryItemsListResponse + */ + public function listInventoryItems($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_InventoryItemsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php new file mode 100644 index 00000000..d067e4f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/LandingPages.php @@ -0,0 +1,119 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $landingPages = $dfareportingService->landingPages; + * + */ +class Google_Service_Dfareporting_Resource_LandingPages extends Google_Service_Resource +{ + /** + * Deletes an existing campaign landing page. (landingPages.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $campaignId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one campaign landing page by ID. (landingPages.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function get($profileId, $campaignId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_LandingPage"); + } + /** + * Inserts a new landing page for the specified campaign. (landingPages.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param Google_Service_Dfareporting_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function insert($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_LandingPage"); + } + /** + * Retrieves the list of landing pages for the specified campaign. + * (landingPages.listLandingPages) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPagesListResponse + */ + public function listLandingPages($profileId, $campaignId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_LandingPagesListResponse"); + } + /** + * Updates an existing campaign landing page. This method supports patch + * semantics. (landingPages.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param Google_Service_Dfareporting_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function patch($profileId, $campaignId, $id, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_LandingPage"); + } + /** + * Updates an existing campaign landing page. (landingPages.update) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param Google_Service_Dfareporting_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function update($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_LandingPage"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php new file mode 100644 index 00000000..79e856af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Languages.php @@ -0,0 +1,41 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $languages = $dfareportingService->languages; + * + */ +class Google_Service_Dfareporting_Resource_Languages extends Google_Service_Resource +{ + /** + * Retrieves a list of languages. (languages.listLanguages) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LanguagesListResponse + */ + public function listLanguages($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_LanguagesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php new file mode 100644 index 00000000..57cf15e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Metros.php @@ -0,0 +1,41 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $metros = $dfareportingService->metros; + * + */ +class Google_Service_Dfareporting_Resource_Metros extends Google_Service_Resource +{ + /** + * Retrieves a list of metros. (metros.listMetros) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MetrosListResponse + */ + public function listMetros($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_MetrosListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php new file mode 100644 index 00000000..a9c62290 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/MobileCarriers.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $mobileCarriers = $dfareportingService->mobileCarriers; + * + */ +class Google_Service_Dfareporting_Resource_MobileCarriers extends Google_Service_Resource +{ + /** + * Gets one mobile carrier by ID. (mobileCarriers.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Mobile carrier ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MobileCarrier + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_MobileCarrier"); + } + /** + * Retrieves a list of mobile carriers. (mobileCarriers.listMobileCarriers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MobileCarriersListResponse + */ + public function listMobileCarriers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_MobileCarriersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php new file mode 100644 index 00000000..d5b7903e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystemVersions.php @@ -0,0 +1,56 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $operatingSystemVersions = $dfareportingService->operatingSystemVersions; + * + */ +class Google_Service_Dfareporting_Resource_OperatingSystemVersions extends Google_Service_Resource +{ + /** + * Gets one operating system version by ID. (operatingSystemVersions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Operating system version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemVersion + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystemVersion"); + } + /** + * Retrieves a list of operating system versions. + * (operatingSystemVersions.listOperatingSystemVersions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemVersionsListResponse + */ + public function listOperatingSystemVersions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemVersionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php new file mode 100644 index 00000000..c17b2635 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OperatingSystems.php @@ -0,0 +1,56 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $operatingSystems = $dfareportingService->operatingSystems; + * + */ +class Google_Service_Dfareporting_Resource_OperatingSystems extends Google_Service_Resource +{ + /** + * Gets one operating system by DART ID. (operatingSystems.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $dartId Operating system DART ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystem + */ + public function get($profileId, $dartId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'dartId' => $dartId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystem"); + } + /** + * Retrieves a list of operating systems. + * (operatingSystems.listOperatingSystems) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemsListResponse + */ + public function listOperatingSystems($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php new file mode 100644 index 00000000..281d64cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/OrderDocuments.php @@ -0,0 +1,78 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $orderDocuments = $dfareportingService->orderDocuments; + * + */ +class Google_Service_Dfareporting_Resource_OrderDocuments extends Google_Service_Resource +{ + /** + * Gets one order document by ID. (orderDocuments.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param string $id Order document ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OrderDocument + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OrderDocument"); + } + /** + * Retrieves a list of order documents, possibly filtered. This method supports + * paging. (orderDocuments.listOrderDocuments) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param array $optParams Optional parameters. + * + * @opt_param bool approved Select only order documents that have been approved + * by at least one user. + * @opt_param string ids Select only order documents with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string orderId Select only order documents for specified orders. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for order documents by name + * or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will + * return order documents with names like "orderdocument June 2015", + * "orderdocument April 2015", or simply "orderdocument 2015". Most of the + * searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "orderdocument" will match order + * documents with name "my orderdocument", "orderdocument 2015", or simply + * "orderdocument". + * @opt_param string siteId Select only order documents that are associated with + * these sites. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_OrderDocumentsListResponse + */ + public function listOrderDocuments($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OrderDocumentsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php new file mode 100644 index 00000000..ce882dda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Orders.php @@ -0,0 +1,73 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $orders = $dfareportingService->orders; + * + */ +class Google_Service_Dfareporting_Resource_Orders extends Google_Service_Resource +{ + /** + * Gets one order by ID. (orders.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for orders. + * @param string $id Order ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Order + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Order"); + } + /** + * Retrieves a list of orders, possibly filtered. This method supports paging. + * (orders.listOrders) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for orders. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only orders with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for orders by name or ID. + * Wildcards (*) are allowed. For example, "order*2015" will return orders with + * names like "order June 2015", "order April 2015", or simply "order 2015". + * Most of the searches also add wildcards implicitly at the start and the end + * of the search string. For example, a search string of "order" will match + * orders with name "my order", "order 2015", or simply "order". + * @opt_param string siteId Select only orders that are associated with these + * site IDs. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_OrdersListResponse + */ + public function listOrders($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OrdersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php new file mode 100644 index 00000000..97b9a75c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementGroups.php @@ -0,0 +1,148 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placementGroups = $dfareportingService->placementGroups; + * + */ +class Google_Service_Dfareporting_Resource_PlacementGroups extends Google_Service_Resource +{ + /** + * Gets one placement group by ID. (placementGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + /** + * Inserts a new placement group. (placementGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function insert($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + /** + * Retrieves a list of placement groups, possibly filtered. This method supports + * paging. (placementGroups.listPlacementGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserIds Select only placement groups that belong to + * these advertisers. + * @opt_param bool archived Select only archived placements. Don't set this + * field to select both archived and non-archived placements. + * @opt_param string campaignIds Select only placement groups that belong to + * these campaigns. + * @opt_param string contentCategoryIds Select only placement groups that are + * associated with these content categories. + * @opt_param string directorySiteIds Select only placement groups that are + * associated with these directory sites. + * @opt_param string ids Select only placement groups with these IDs. + * @opt_param string maxEndDate Select only placements or placement groups whose + * end date is on or before the specified maxEndDate. The date should be + * formatted as "yyyy-MM-dd". + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string maxStartDate Select only placements or placement groups + * whose start date is on or before the specified maxStartDate. The date should + * be formatted as "yyyy-MM-dd". + * @opt_param string minEndDate Select only placements or placement groups whose + * end date is on or after the specified minEndDate. The date should be + * formatted as "yyyy-MM-dd". + * @opt_param string minStartDate Select only placements or placement groups + * whose start date is on or after the specified minStartDate. The date should + * be formatted as "yyyy-MM-dd". + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string placementGroupType Select only placement groups belonging + * with this group type. A package is a simple group of placements that acts as + * a single pricing point for a group of tags. A roadblock is a group of + * placements that not only acts as a single pricing point but also assumes that + * all the tags in it will be served at the same time. A roadblock requires one + * of its assigned placements to be marked as primary for reporting. + * @opt_param string placementStrategyIds Select only placement groups that are + * associated with these placement strategies. + * @opt_param string pricingTypes Select only placement groups with these + * pricing types. + * @opt_param string searchString Allows searching for placement groups by name + * or ID. Wildcards (*) are allowed. For example, "placement*2015" will return + * placement groups with names like "placement group June 2015", "placement + * group May 2015", or simply "placements 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "placementgroup" will match placement groups with + * name "my placementgroup", "placementgroup 2015", or simply "placementgroup". + * @opt_param string siteIds Select only placement groups that are associated + * with these sites. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_PlacementGroupsListResponse + */ + public function listPlacementGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementGroupsListResponse"); + } + /** + * Updates an existing placement group. This method supports patch semantics. + * (placementGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement group ID. + * @param Google_Service_Dfareporting_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + /** + * Updates an existing placement group. (placementGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function update($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php new file mode 100644 index 00000000..7ce914cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlacementStrategies.php @@ -0,0 +1,128 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placementStrategies = $dfareportingService->placementStrategies; + * + */ +class Google_Service_Dfareporting_Resource_PlacementStrategies extends Google_Service_Resource +{ + /** + * Deletes an existing placement strategy. (placementStrategies.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one placement strategy by ID. (placementStrategies.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + /** + * Inserts a new placement strategy. (placementStrategies.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function insert($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + /** + * Retrieves a list of placement strategies, possibly filtered. This method + * supports paging. (placementStrategies.listPlacementStrategies) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only placement strategies with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "placementstrategy*2015" will return + * objects with names like "placementstrategy June 2015", "placementstrategy + * April 2015", or simply "placementstrategy 2015". Most of the searches also + * add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "placementstrategy" will match objects with name + * "my placementstrategy", "placementstrategy 2015", or simply + * "placementstrategy". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_PlacementStrategiesListResponse + */ + public function listPlacementStrategies($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementStrategiesListResponse"); + } + /** + * Updates an existing placement strategy. This method supports patch semantics. + * (placementStrategies.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param Google_Service_Dfareporting_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function patch($profileId, $id, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + /** + * Updates an existing placement strategy. (placementStrategies.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function update($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php new file mode 100644 index 00000000..cf27a58a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Placements.php @@ -0,0 +1,172 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placements = $dfareportingService->placements; + * + */ +class Google_Service_Dfareporting_Resource_Placements extends Google_Service_Resource +{ + /** + * Generates tags for a placement. (placements.generatetags) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string campaignId Generate placements belonging to this campaign. + * This is a required field. + * @opt_param string placementIds Generate tags for these placements. + * @opt_param string tagFormats Tag formats to generate for these placements. + * @return Google_Service_Dfareporting_PlacementsGenerateTagsResponse + */ + public function generatetags($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('generatetags', array($params), "Google_Service_Dfareporting_PlacementsGenerateTagsResponse"); + } + /** + * Gets one placement by ID. (placements.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Placement"); + } + /** + * Inserts a new placement. (placements.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function insert($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Placement"); + } + /** + * Retrieves a list of placements, possibly filtered. This method supports + * paging. (placements.listPlacements) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserIds Select only placements that belong to these + * advertisers. + * @opt_param bool archived Select only archived placements. Don't set this + * field to select both archived and non-archived placements. + * @opt_param string campaignIds Select only placements that belong to these + * campaigns. + * @opt_param string compatibilities Select only placements that are associated + * with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to + * rendering either on desktop or on mobile devices for regular or interstitial + * ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. + * IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the + * VAST standard. + * @opt_param string contentCategoryIds Select only placements that are + * associated with these content categories. + * @opt_param string directorySiteIds Select only placements that are associated + * with these directory sites. + * @opt_param string groupIds Select only placements that belong to these + * placement groups. + * @opt_param string ids Select only placements with these IDs. + * @opt_param string maxEndDate Select only placements or placement groups whose + * end date is on or before the specified maxEndDate. The date should be + * formatted as "yyyy-MM-dd". + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string maxStartDate Select only placements or placement groups + * whose start date is on or before the specified maxStartDate. The date should + * be formatted as "yyyy-MM-dd". + * @opt_param string minEndDate Select only placements or placement groups whose + * end date is on or after the specified minEndDate. The date should be + * formatted as "yyyy-MM-dd". + * @opt_param string minStartDate Select only placements or placement groups + * whose start date is on or after the specified minStartDate. The date should + * be formatted as "yyyy-MM-dd". + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string paymentSource Select only placements with this payment + * source. + * @opt_param string placementStrategyIds Select only placements that are + * associated with these placement strategies. + * @opt_param string pricingTypes Select only placements with these pricing + * types. + * @opt_param string searchString Allows searching for placements by name or ID. + * Wildcards (*) are allowed. For example, "placement*2015" will return + * placements with names like "placement June 2015", "placement May 2015", or + * simply "placements 2015". Most of the searches also add wildcards implicitly + * at the start and the end of the search string. For example, a search string + * of "placement" will match placements with name "my placement", "placement + * 2015", or simply "placement". + * @opt_param string siteIds Select only placements that are associated with + * these sites. + * @opt_param string sizeIds Select only placements that are associated with + * these sizes. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_PlacementsListResponse + */ + public function listPlacements($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementsListResponse"); + } + /** + * Updates an existing placement. This method supports patch semantics. + * (placements.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement ID. + * @param Google_Service_Dfareporting_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Placement"); + } + /** + * Updates an existing placement. (placements.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function update($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Placement"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php new file mode 100644 index 00000000..8437cb42 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PlatformTypes.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $platformTypes = $dfareportingService->platformTypes; + * + */ +class Google_Service_Dfareporting_Resource_PlatformTypes extends Google_Service_Resource +{ + /** + * Gets one platform type by ID. (platformTypes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Platform type ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlatformType + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlatformType"); + } + /** + * Retrieves a list of platform types. (platformTypes.listPlatformTypes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlatformTypesListResponse + */ + public function listPlatformTypes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlatformTypesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php new file mode 100644 index 00000000..d5cf00ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/PostalCodes.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $postalCodes = $dfareportingService->postalCodes; + * + */ +class Google_Service_Dfareporting_Resource_PostalCodes extends Google_Service_Resource +{ + /** + * Gets one postal code by ID. (postalCodes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $code Postal code ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PostalCode + */ + public function get($profileId, $code, $optParams = array()) + { + $params = array('profileId' => $profileId, 'code' => $code); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PostalCode"); + } + /** + * Retrieves a list of postal codes. (postalCodes.listPostalCodes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PostalCodesListResponse + */ + public function listPostalCodes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PostalCodesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php new file mode 100644 index 00000000..0f396f8e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Projects.php @@ -0,0 +1,71 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $projects = $dfareportingService->projects; + * + */ +class Google_Service_Dfareporting_Resource_Projects extends Google_Service_Resource +{ + /** + * Gets one project by ID. (projects.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Project + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Project"); + } + /** + * Retrieves a list of projects, possibly filtered. This method supports paging. + * (projects.listProjects) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserIds Select only projects with these advertiser + * IDs. + * @opt_param string ids Select only projects with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for projects by name or ID. + * Wildcards (*) are allowed. For example, "project*2015" will return projects + * with names like "project June 2015", "project April 2015", or simply "project + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "project" will + * match projects with name "my project", "project 2015", or simply "project". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_ProjectsListResponse + */ + public function listProjects($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ProjectsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php new file mode 100644 index 00000000..a6e170ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Regions.php @@ -0,0 +1,41 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $regions = $dfareportingService->regions; + * + */ +class Google_Service_Dfareporting_Resource_Regions extends Google_Service_Resource +{ + /** + * Retrieves a list of regions. (regions.listRegions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RegionsListResponse + */ + public function listRegions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_RegionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php new file mode 100644 index 00000000..09123dd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingListShares.php @@ -0,0 +1,73 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $remarketingListShares = $dfareportingService->remarketingListShares; + * + */ +class Google_Service_Dfareporting_Resource_RemarketingListShares extends Google_Service_Resource +{ + /** + * Gets one remarketing list share by remarketing list ID. + * (remarketingListShares.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $remarketingListId Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function get($profileId, $remarketingListId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } + /** + * Updates an existing remarketing list share. This method supports patch + * semantics. (remarketingListShares.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $remarketingListId Remarketing list ID. + * @param Google_Service_Dfareporting_RemarketingListShare $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function patch($profileId, $remarketingListId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } + /** + * Updates an existing remarketing list share. (remarketingListShares.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_RemarketingListShare $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function update($profileId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php new file mode 100644 index 00000000..990f476a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/RemarketingLists.php @@ -0,0 +1,118 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $remarketingLists = $dfareportingService->remarketingLists; + * + */ +class Google_Service_Dfareporting_Resource_RemarketingLists extends Google_Service_Resource +{ + /** + * Gets one remarketing list by ID. (remarketingLists.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + /** + * Inserts a new remarketing list. (remarketingLists.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function insert($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + /** + * Retrieves a list of remarketing lists, possibly filtered. This method + * supports paging. (remarketingLists.listRemarketingLists) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Select only remarketing lists owned by this + * advertiser. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active or only inactive remarketing lists. + * @opt_param string floodlightActivityId Select only remarketing lists that + * have this floodlight activity ID. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string name Allows searching for objects by name or ID. Wildcards + * (*) are allowed. For example, "remarketing list*2015" will return objects + * with names like "remarketing list June 2015", "remarketing list April 2015", + * or simply "remarketing list 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "remarketing list" will match objects with name "my + * remarketing list", "remarketing list 2015", or simply "remarketing list". + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_RemarketingListsListResponse + */ + public function listRemarketingLists($profileId, $advertiserId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_RemarketingListsListResponse"); + } + /** + * Updates an existing remarketing list. This method supports patch semantics. + * (remarketingLists.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param Google_Service_Dfareporting_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function patch($profileId, $id, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + /** + * Updates an existing remarketing list. (remarketingLists.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function update($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php new file mode 100644 index 00000000..1598d799 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Reports.php @@ -0,0 +1,137 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $reports = $dfareportingService->reports; + * + */ +class Google_Service_Dfareporting_Resource_Reports extends Google_Service_Resource +{ + /** + * Deletes a report by its ID. (reports.delete) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a report by its ID. (reports.get) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function get($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Report"); + } + /** + * Creates a report. (reports.insert) + * + * @param string $profileId The DFA user profile ID. + * @param Google_Service_Dfareporting_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Report"); + } + /** + * Retrieves list of reports. (reports.listReports) + * + * @param string $profileId The DFA user profile ID. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string scope The scope that defines which results are returned, + * default is 'MINE'. + * @opt_param string sortField The field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @return Google_Service_Dfareporting_ReportList + */ + public function listReports($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ReportList"); + } + /** + * Updates a report. This method supports patch semantics. (reports.patch) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param Google_Service_Dfareporting_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function patch($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Report"); + } + /** + * Runs a report. (reports.run) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + * + * @opt_param bool synchronous If set and true, tries to run the report + * synchronously. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function run($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('run', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + /** + * Updates a report. (reports.update) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param Google_Service_Dfareporting_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function update($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Report"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php new file mode 100644 index 00000000..b6a9c9ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsCompatibleFields.php @@ -0,0 +1,44 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $compatibleFields = $dfareportingService->compatibleFields; + * + */ +class Google_Service_Dfareporting_Resource_ReportsCompatibleFields extends Google_Service_Resource +{ + /** + * Returns the fields that are compatible to be selected in the respective + * sections of a report criteria, given the fields already selected in the input + * report and user permissions. (compatibleFields.query) + * + * @param string $profileId The DFA user profile ID. + * @param Google_Service_Dfareporting_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CompatibleFields + */ + public function query($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Dfareporting_CompatibleFields"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php new file mode 100644 index 00000000..6c76e792 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/ReportsFiles.php @@ -0,0 +1,63 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $files = $dfareportingService->files; + * + */ +class Google_Service_Dfareporting_Resource_ReportsFiles extends Google_Service_Resource +{ + /** + * Retrieves a report file. (files.get) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the report. + * @param string $fileId The ID of the report file. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function get($profileId, $reportId, $fileId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + /** + * Lists files for a report. (files.listReportsFiles) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the parent report. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string sortField The field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @return Google_Service_Dfareporting_FileList + */ + public function listReportsFiles($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FileList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php new file mode 100644 index 00000000..1911c88b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sites.php @@ -0,0 +1,126 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $sites = $dfareportingService->sites; + * + */ +class Google_Service_Dfareporting_Resource_Sites extends Google_Service_Resource +{ + /** + * Gets one site by ID. (sites.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Site ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Site"); + } + /** + * Inserts a new site. (sites.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function insert($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Site"); + } + /** + * Retrieves a list of sites, possibly filtered. This method supports paging. + * (sites.listSites) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool acceptsInStreamVideoPlacements This search filter is no + * longer supported and will have no effect on the results returned. + * @opt_param bool acceptsInterstitialPlacements This search filter is no longer + * supported and will have no effect on the results returned. + * @opt_param bool acceptsPublisherPaidPlacements Select only sites that accept + * publisher paid placements. + * @opt_param bool adWordsSite Select only AdWords sites. + * @opt_param bool approved Select only approved sites. + * @opt_param string campaignIds Select only sites with these campaign IDs. + * @opt_param string directorySiteIds Select only sites with these directory + * site IDs. + * @opt_param string ids Select only sites with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name, ID or + * keyName. Wildcards (*) are allowed. For example, "site*2015" will return + * objects with names like "site June 2015", "site April 2015", or simply "site + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "site" will + * match objects with name "my site", "site 2015", or simply "site". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string subaccountId Select only sites with this subaccount ID. + * @opt_param bool unmappedSite Select only sites that have not been mapped to a + * directory site. + * @return Google_Service_Dfareporting_SitesListResponse + */ + public function listSites($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SitesListResponse"); + } + /** + * Updates an existing site. This method supports patch semantics. (sites.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Site ID. + * @param Google_Service_Dfareporting_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Site"); + } + /** + * Updates an existing site. (sites.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function update($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Site"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php new file mode 100644 index 00000000..51c9a36c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Sizes.php @@ -0,0 +1,74 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $sizes = $dfareportingService->sizes; + * + */ +class Google_Service_Dfareporting_Resource_Sizes extends Google_Service_Resource +{ + /** + * Gets one size by ID. (sizes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Size ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Size + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Size"); + } + /** + * Inserts a new size. (sizes.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Size $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Size + */ + public function insert($profileId, Google_Service_Dfareporting_Size $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Size"); + } + /** + * Retrieves a list of sizes, possibly filtered. (sizes.listSizes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param int height Select only sizes with this height. + * @opt_param bool iabStandard Select only IAB standard sizes. + * @opt_param string ids Select only sizes with these IDs. + * @opt_param int width Select only sizes with this width. + * @return Google_Service_Dfareporting_SizesListResponse + */ + public function listSizes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SizesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php new file mode 100644 index 00000000..27ac2feb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/Subaccounts.php @@ -0,0 +1,114 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $subaccounts = $dfareportingService->subaccounts; + * + */ +class Google_Service_Dfareporting_Resource_Subaccounts extends Google_Service_Resource +{ + /** + * Gets one subaccount by ID. (subaccounts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Subaccount ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Subaccount"); + } + /** + * Inserts a new subaccount. (subaccounts.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function insert($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Subaccount"); + } + /** + * Gets a list of subaccounts, possibly filtered. This method supports paging. + * (subaccounts.listSubaccounts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only subaccounts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "subaccount*2015" will return objects + * with names like "subaccount June 2015", "subaccount April 2015", or simply + * "subaccount 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "subaccount" will match objects with name "my subaccount", "subaccount 2015", + * or simply "subaccount". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_SubaccountsListResponse + */ + public function listSubaccounts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SubaccountsListResponse"); + } + /** + * Updates an existing subaccount. This method supports patch semantics. + * (subaccounts.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Subaccount ID. + * @param Google_Service_Dfareporting_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Subaccount"); + } + /** + * Updates an existing subaccount. (subaccounts.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function update($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Subaccount"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php new file mode 100644 index 00000000..43d9de4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetableRemarketingLists.php @@ -0,0 +1,74 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $targetableRemarketingLists = $dfareportingService->targetableRemarketingLists; + * + */ +class Google_Service_Dfareporting_Resource_TargetableRemarketingLists extends Google_Service_Resource +{ + /** + * Gets one remarketing list by ID. (targetableRemarketingLists.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetableRemarketingList + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_TargetableRemarketingList"); + } + /** + * Retrieves a list of targetable remarketing lists, possibly filtered. This + * method supports paging. + * (targetableRemarketingLists.listTargetableRemarketingLists) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Select only targetable remarketing lists + * targetable by these advertisers. + * @param array $optParams Optional parameters. + * + * @opt_param bool active Select only active or only inactive targetable + * remarketing lists. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string name Allows searching for objects by name or ID. Wildcards + * (*) are allowed. For example, "remarketing list*2015" will return objects + * with names like "remarketing list June 2015", "remarketing list April 2015", + * or simply "remarketing list 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "remarketing list" will match objects with name "my + * remarketing list", "remarketing list 2015", or simply "remarketing list". + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_TargetableRemarketingListsListResponse + */ + public function listTargetableRemarketingLists($profileId, $advertiserId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_TargetableRemarketingListsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php new file mode 100644 index 00000000..afe7af7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/TargetingTemplates.php @@ -0,0 +1,116 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $targetingTemplates = $dfareportingService->targetingTemplates; + * + */ +class Google_Service_Dfareporting_Resource_TargetingTemplates extends Google_Service_Resource +{ + /** + * Gets one targeting template by ID. (targetingTemplates.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Targeting template ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetingTemplate + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_TargetingTemplate"); + } + /** + * Inserts a new targeting template. (targetingTemplates.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_TargetingTemplate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetingTemplate + */ + public function insert($profileId, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_TargetingTemplate"); + } + /** + * Retrieves a list of targeting templates, optionally filtered. This method + * supports paging. (targetingTemplates.listTargetingTemplates) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string advertiserId Select only targeting templates with this + * advertiser ID. + * @opt_param string ids Select only targeting templates with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "template*2015" will return objects + * with names like "template June 2015", "template April 2015", or simply + * "template 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "template" will match objects with name "my template", "template 2015", or + * simply "template". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_TargetingTemplatesListResponse + */ + public function listTargetingTemplates($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_TargetingTemplatesListResponse"); + } + /** + * Updates an existing targeting template. This method supports patch semantics. + * (targetingTemplates.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Targeting template ID. + * @param Google_Service_Dfareporting_TargetingTemplate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetingTemplate + */ + public function patch($profileId, $id, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_TargetingTemplate"); + } + /** + * Updates an existing targeting template. (targetingTemplates.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_TargetingTemplate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetingTemplate + */ + public function update($profileId, Google_Service_Dfareporting_TargetingTemplate $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_TargetingTemplate"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php new file mode 100644 index 00000000..019ce69f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserProfiles.php @@ -0,0 +1,53 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userProfiles = $dfareportingService->userProfiles; + * + */ +class Google_Service_Dfareporting_Resource_UserProfiles extends Google_Service_Resource +{ + /** + * Gets one user profile by ID. (userProfiles.get) + * + * @param string $profileId The user profile ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserProfile + */ + public function get($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserProfile"); + } + /** + * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserProfileList + */ + public function listUserProfiles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php new file mode 100644 index 00000000..198da780 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissionGroups.php @@ -0,0 +1,56 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRolePermissionGroups = $dfareportingService->userRolePermissionGroups; + * + */ +class Google_Service_Dfareporting_Resource_UserRolePermissionGroups extends Google_Service_Resource +{ + /** + * Gets one user role permission group by ID. (userRolePermissionGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role permission group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermissionGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermissionGroup"); + } + /** + * Gets a list of all supported user role permission groups. + * (userRolePermissionGroups.listUserRolePermissionGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermissionGroupsListResponse + */ + public function listUserRolePermissionGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionGroupsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php new file mode 100644 index 00000000..4780e226 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRolePermissions.php @@ -0,0 +1,58 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRolePermissions = $dfareportingService->userRolePermissions; + * + */ +class Google_Service_Dfareporting_Resource_UserRolePermissions extends Google_Service_Resource +{ + /** + * Gets one user role permission by ID. (userRolePermissions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role permission ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermission + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermission"); + } + /** + * Gets a list of user role permissions, possibly filtered. + * (userRolePermissions.listUserRolePermissions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only user role permissions with these IDs. + * @return Google_Service_Dfareporting_UserRolePermissionsListResponse + */ + public function listUserRolePermissions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php new file mode 100644 index 00000000..a8769cd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/UserRoles.php @@ -0,0 +1,131 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRoles = $dfareportingService->userRoles; + * + */ +class Google_Service_Dfareporting_Resource_UserRoles extends Google_Service_Resource +{ + /** + * Deletes an existing user role. (userRoles.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets one user role by ID. (userRoles.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRole"); + } + /** + * Inserts a new user role. (userRoles.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function insert($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_UserRole"); + } + /** + * Retrieves a list of user roles, possibly filtered. This method supports + * paging. (userRoles.listUserRoles) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool accountUserRoleOnly Select only account level user roles not + * associated with any specific subaccount. + * @opt_param string ids Select only user roles with the specified IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "userrole*2015" will return objects + * with names like "userrole June 2015", "userrole April 2015", or simply + * "userrole 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "userrole" will match objects with name "my userrole", "userrole 2015", or + * simply "userrole". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string subaccountId Select only user roles that belong to this + * subaccount. + * @return Google_Service_Dfareporting_UserRolesListResponse + */ + public function listUserRoles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolesListResponse"); + } + /** + * Updates an existing user role. This method supports patch semantics. + * (userRoles.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param Google_Service_Dfareporting_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function patch($profileId, $id, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_UserRole"); + } + /** + * Updates an existing user role. (userRoles.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Service_Dfareporting_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function update($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_UserRole"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php new file mode 100644 index 00000000..065cadac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Resource/VideoFormats.php @@ -0,0 +1,55 @@ + + * $dfareportingService = new Google_Service_Dfareporting(...); + * $videoFormats = $dfareportingService->videoFormats; + * + */ +class Google_Service_Dfareporting_Resource_VideoFormats extends Google_Service_Resource +{ + /** + * Gets one video format by ID. (videoFormats.get) + * + * @param string $profileId User profile ID associated with this request. + * @param int $id Video format ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_VideoFormat + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_VideoFormat"); + } + /** + * Lists available video formats. (videoFormats.listVideoFormats) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_VideoFormatsListResponse + */ + public function listVideoFormats($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_VideoFormatsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php new file mode 100644 index 00000000..b53c2601 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/RichMediaExitOverride.php @@ -0,0 +1,49 @@ +clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setExitId($exitId) + { + $this->exitId = $exitId; + } + public function getExitId() + { + return $this->exitId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php new file mode 100644 index 00000000..77226d90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Rule.php @@ -0,0 +1,48 @@ +assetId = $assetId; + } + public function getAssetId() + { + return $this->assetId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetingTemplateId($targetingTemplateId) + { + $this->targetingTemplateId = $targetingTemplateId; + } + public function getTargetingTemplateId() + { + return $this->targetingTemplateId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php new file mode 100644 index 00000000..11e2630f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Site.php @@ -0,0 +1,134 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setApproved($approved) + { + $this->approved = $approved; + } + public function getApproved() + { + return $this->approved; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyName($keyName) + { + $this->keyName = $keyName; + } + public function getKeyName() + { + return $this->keyName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteContacts($siteContacts) + { + $this->siteContacts = $siteContacts; + } + public function getSiteContacts() + { + return $this->siteContacts; + } + public function setSiteSettings(Google_Service_Dfareporting_SiteSettings $siteSettings) + { + $this->siteSettings = $siteSettings; + } + public function getSiteSettings() + { + return $this->siteSettings; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php new file mode 100644 index 00000000..f2547cde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteContact.php @@ -0,0 +1,93 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setContactType($contactType) + { + $this->contactType = $contactType; + } + public function getContactType() + { + return $this->contactType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php new file mode 100644 index 00000000..ef948304 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SiteSettings.php @@ -0,0 +1,96 @@ +activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setCreativeSettings(Google_Service_Dfareporting_CreativeSettings $creativeSettings) + { + $this->creativeSettings = $creativeSettings; + } + public function getCreativeSettings() + { + return $this->creativeSettings; + } + public function setDisableBrandSafeAds($disableBrandSafeAds) + { + $this->disableBrandSafeAds = $disableBrandSafeAds; + } + public function getDisableBrandSafeAds() + { + return $this->disableBrandSafeAds; + } + public function setDisableNewCookie($disableNewCookie) + { + $this->disableNewCookie = $disableNewCookie; + } + public function getDisableNewCookie() + { + return $this->disableNewCookie; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting) + { + $this->tagSetting = $tagSetting; + } + public function getTagSetting() + { + return $this->tagSetting; + } + public function setVideoActiveViewOptOutTemplate($videoActiveViewOptOutTemplate) + { + $this->videoActiveViewOptOutTemplate = $videoActiveViewOptOutTemplate; + } + public function getVideoActiveViewOptOutTemplate() + { + return $this->videoActiveViewOptOutTemplate; + } + public function setVpaidAdapterChoiceTemplate($vpaidAdapterChoiceTemplate) + { + $this->vpaidAdapterChoiceTemplate = $vpaidAdapterChoiceTemplate; + } + public function getVpaidAdapterChoiceTemplate() + { + return $this->vpaidAdapterChoiceTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php new file mode 100644 index 00000000..649333ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SitesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSites($sites) + { + $this->sites = $sites; + } + public function getSites() + { + return $this->sites; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php new file mode 100644 index 00000000..2d175cab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Size.php @@ -0,0 +1,66 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIab($iab) + { + $this->iab = $iab; + } + public function getIab() + { + return $this->iab; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php new file mode 100644 index 00000000..6e0eb6b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SizesListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSizes($sizes) + { + $this->sizes = $sizes; + } + public function getSizes() + { + return $this->sizes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php new file mode 100644 index 00000000..f1656e86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SkippableSetting.php @@ -0,0 +1,59 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProgressOffset(Google_Service_Dfareporting_VideoOffset $progressOffset) + { + $this->progressOffset = $progressOffset; + } + public function getProgressOffset() + { + return $this->progressOffset; + } + public function setSkipOffset(Google_Service_Dfareporting_VideoOffset $skipOffset) + { + $this->skipOffset = $skipOffset; + } + public function getSkipOffset() + { + return $this->skipOffset; + } + public function setSkippable($skippable) + { + $this->skippable = $skippable; + } + public function getSkippable() + { + return $this->skippable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php new file mode 100644 index 00000000..4d6dbed9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SortedDimension.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php new file mode 100644 index 00000000..51322bb7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/Subaccount.php @@ -0,0 +1,67 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAvailablePermissionIds($availablePermissionIds) + { + $this->availablePermissionIds = $availablePermissionIds; + } + public function getAvailablePermissionIds() + { + return $this->availablePermissionIds; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php new file mode 100644 index 00000000..22a06155 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/SubaccountsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubaccounts($subaccounts) + { + $this->subaccounts = $subaccounts; + } + public function getSubaccounts() + { + return $this->subaccounts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php new file mode 100644 index 00000000..4d293b04 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagData.php @@ -0,0 +1,66 @@ +adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setClickTag($clickTag) + { + $this->clickTag = $clickTag; + } + public function getClickTag() + { + return $this->clickTag; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setImpressionTag($impressionTag) + { + $this->impressionTag = $impressionTag; + } + public function getImpressionTag() + { + return $this->impressionTag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php new file mode 100644 index 00000000..888f4ef9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSetting.php @@ -0,0 +1,57 @@ +additionalKeyValues = $additionalKeyValues; + } + public function getAdditionalKeyValues() + { + return $this->additionalKeyValues; + } + public function setIncludeClickThroughUrls($includeClickThroughUrls) + { + $this->includeClickThroughUrls = $includeClickThroughUrls; + } + public function getIncludeClickThroughUrls() + { + return $this->includeClickThroughUrls; + } + public function setIncludeClickTracking($includeClickTracking) + { + $this->includeClickTracking = $includeClickTracking; + } + public function getIncludeClickTracking() + { + return $this->includeClickTracking; + } + public function setKeywordOption($keywordOption) + { + $this->keywordOption = $keywordOption; + } + public function getKeywordOption() + { + return $this->keywordOption; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php new file mode 100644 index 00000000..954cd30d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TagSettings.php @@ -0,0 +1,39 @@ +dynamicTagEnabled = $dynamicTagEnabled; + } + public function getDynamicTagEnabled() + { + return $this->dynamicTagEnabled; + } + public function setImageTagEnabled($imageTagEnabled) + { + $this->imageTagEnabled = $imageTagEnabled; + } + public function getImageTagEnabled() + { + return $this->imageTagEnabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php new file mode 100644 index 00000000..91cb9ac7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetWindow.php @@ -0,0 +1,39 @@ +customHtml = $customHtml; + } + public function getCustomHtml() + { + return $this->customHtml; + } + public function setTargetWindowOption($targetWindowOption) + { + $this->targetWindowOption = $targetWindowOption; + } + public function getTargetWindowOption() + { + return $this->targetWindowOption; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php new file mode 100644 index 00000000..874918e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingList.php @@ -0,0 +1,130 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifeSpan($lifeSpan) + { + $this->lifeSpan = $lifeSpan; + } + public function getLifeSpan() + { + return $this->lifeSpan; + } + public function setListSize($listSize) + { + $this->listSize = $listSize; + } + public function getListSize() + { + return $this->listSize; + } + public function setListSource($listSource) + { + $this->listSource = $listSource; + } + public function getListSource() + { + return $this->listSource; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php new file mode 100644 index 00000000..3db5c694 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetableRemarketingListsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTargetableRemarketingLists($targetableRemarketingLists) + { + $this->targetableRemarketingLists = $targetableRemarketingLists; + } + public function getTargetableRemarketingLists() + { + return $this->targetableRemarketingLists; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php new file mode 100644 index 00000000..82aaae48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplate.php @@ -0,0 +1,145 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting) + { + $this->dayPartTargeting = $dayPartTargeting; + } + public function getDayPartTargeting() + { + return $this->dayPartTargeting; + } + public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting) + { + $this->geoTargeting = $geoTargeting; + } + public function getGeoTargeting() + { + return $this->geoTargeting; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression) + { + $this->keyValueTargetingExpression = $keyValueTargetingExpression; + } + public function getKeyValueTargetingExpression() + { + return $this->keyValueTargetingExpression; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguageTargeting(Google_Service_Dfareporting_LanguageTargeting $languageTargeting) + { + $this->languageTargeting = $languageTargeting; + } + public function getLanguageTargeting() + { + return $this->languageTargeting; + } + public function setListTargetingExpression(Google_Service_Dfareporting_ListTargetingExpression $listTargetingExpression) + { + $this->listTargetingExpression = $listTargetingExpression; + } + public function getListTargetingExpression() + { + return $this->listTargetingExpression; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting) + { + $this->technologyTargeting = $technologyTargeting; + } + public function getTechnologyTargeting() + { + return $this->technologyTargeting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php new file mode 100644 index 00000000..5cbe40fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TargetingTemplatesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTargetingTemplates($targetingTemplates) + { + $this->targetingTemplates = $targetingTemplates; + } + public function getTargetingTemplates() + { + return $this->targetingTemplates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php new file mode 100644 index 00000000..1284b19c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TechnologyTargeting.php @@ -0,0 +1,82 @@ +browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setConnectionTypes($connectionTypes) + { + $this->connectionTypes = $connectionTypes; + } + public function getConnectionTypes() + { + return $this->connectionTypes; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } + public function setOperatingSystemVersions($operatingSystemVersions) + { + $this->operatingSystemVersions = $operatingSystemVersions; + } + public function getOperatingSystemVersions() + { + return $this->operatingSystemVersions; + } + public function setOperatingSystems($operatingSystems) + { + $this->operatingSystems = $operatingSystems; + } + public function getOperatingSystems() + { + return $this->operatingSystems; + } + public function setPlatformTypes($platformTypes) + { + $this->platformTypes = $platformTypes; + } + public function getPlatformTypes() + { + return $this->platformTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php new file mode 100644 index 00000000..5f240020 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyAuthenticationToken.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php new file mode 100644 index 00000000..0c3afdf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/ThirdPartyTrackingUrl.php @@ -0,0 +1,39 @@ +thirdPartyUrlType = $thirdPartyUrlType; + } + public function getThirdPartyUrlType() + { + return $this->thirdPartyUrlType; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php new file mode 100644 index 00000000..dd691696 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/TranscodeSetting.php @@ -0,0 +1,40 @@ +enabledVideoFormats = $enabledVideoFormats; + } + public function getEnabledVideoFormats() + { + return $this->enabledVideoFormats; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php new file mode 100644 index 00000000..a3bf7433 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserDefinedVariableConfiguration.php @@ -0,0 +1,48 @@ +dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setReportName($reportName) + { + $this->reportName = $reportName; + } + public function getReportName() + { + return $this->reportName; + } + public function setVariableType($variableType) + { + $this->variableType = $variableType; + } + public function getVariableType() + { + return $this->variableType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php new file mode 100644 index 00000000..55dffef4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfile.php @@ -0,0 +1,93 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountName($accountName) + { + $this->accountName = $accountName; + } + public function getAccountName() + { + return $this->accountName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } + public function setSubAccountName($subAccountName) + { + $this->subAccountName = $subAccountName; + } + public function getSubAccountName() + { + return $this->subAccountName; + } + public function setUserName($userName) + { + $this->userName = $userName; + } + public function getUserName() + { + return $this->userName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php new file mode 100644 index 00000000..57217604 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserProfileList.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php new file mode 100644 index 00000000..dfb7b1eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRole.php @@ -0,0 +1,95 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setDefaultUserRole($defaultUserRole) + { + $this->defaultUserRole = $defaultUserRole; + } + public function getDefaultUserRole() + { + return $this->defaultUserRole; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentUserRoleId($parentUserRoleId) + { + $this->parentUserRoleId = $parentUserRoleId; + } + public function getParentUserRoleId() + { + return $this->parentUserRoleId; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php new file mode 100644 index 00000000..a6963c65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermission.php @@ -0,0 +1,66 @@ +availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionGroupId($permissionGroupId) + { + $this->permissionGroupId = $permissionGroupId; + } + public function getPermissionGroupId() + { + return $this->permissionGroupId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php new file mode 100644 index 00000000..2d07d1f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroup.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php new file mode 100644 index 00000000..db2370e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionGroupsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserRolePermissionGroups($userRolePermissionGroups) + { + $this->userRolePermissionGroups = $userRolePermissionGroups; + } + public function getUserRolePermissionGroups() + { + return $this->userRolePermissionGroups; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php new file mode 100644 index 00000000..8e5092e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserRolePermissions($userRolePermissions) + { + $this->userRolePermissions = $userRolePermissions; + } + public function getUserRolePermissions() + { + return $this->userRolePermissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php new file mode 100644 index 00000000..03f56d95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/UserRolesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUserRoles($userRoles) + { + $this->userRoles = $userRoles; + } + public function getUserRoles() + { + return $this->userRoles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php new file mode 100644 index 00000000..816cab22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormat.php @@ -0,0 +1,67 @@ +fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResolution(Google_Service_Dfareporting_Size $resolution) + { + $this->resolution = $resolution; + } + public function getResolution() + { + return $this->resolution; + } + public function setTargetBitRate($targetBitRate) + { + $this->targetBitRate = $targetBitRate; + } + public function getTargetBitRate() + { + return $this->targetBitRate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php new file mode 100644 index 00000000..08cba30e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoFormatsListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVideoFormats($videoFormats) + { + $this->videoFormats = $videoFormats; + } + public function getVideoFormats() + { + return $this->videoFormats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php new file mode 100644 index 00000000..0df6f9cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoOffset.php @@ -0,0 +1,39 @@ +offsetPercentage = $offsetPercentage; + } + public function getOffsetPercentage() + { + return $this->offsetPercentage; + } + public function setOffsetSeconds($offsetSeconds) + { + $this->offsetSeconds = $offsetSeconds; + } + public function getOffsetSeconds() + { + return $this->offsetSeconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php new file mode 100644 index 00000000..4e4a0330 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dfareporting/VideoSettings.php @@ -0,0 +1,60 @@ +companionSettings = $companionSettings; + } + public function getCompanionSettings() + { + return $this->companionSettings; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSkippableSettings(Google_Service_Dfareporting_SkippableSetting $skippableSettings) + { + $this->skippableSettings = $skippableSettings; + } + public function getSkippableSettings() + { + return $this->skippableSettings; + } + public function setTranscodeSettings(Google_Service_Dfareporting_TranscodeSetting $transcodeSettings) + { + $this->transcodeSettings = $transcodeSettings; + } + public function getTranscodeSettings() + { + return $this->transcodeSettings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php new file mode 100644 index 00000000..fafcfaad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory.php @@ -0,0 +1,1788 @@ + + * The Admin SDK Directory API lets you view and manage enterprise resources + * such as users and groups, administrative notifications, security features, + * and more.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Directory extends Google_Service +{ + /** View and manage customer related information. */ + const ADMIN_DIRECTORY_CUSTOMER = + "https://www.googleapis.com/auth/admin.directory.customer"; + /** View customer related information. */ + const ADMIN_DIRECTORY_CUSTOMER_READONLY = + "https://www.googleapis.com/auth/admin.directory.customer.readonly"; + /** View and manage your Chrome OS devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_CHROMEOS = + "https://www.googleapis.com/auth/admin.directory.device.chromeos"; + /** View your Chrome OS devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = + "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"; + /** View and manage your mobile devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE = + "https://www.googleapis.com/auth/admin.directory.device.mobile"; + /** Manage your mobile devices by performing administrative tasks. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = + "https://www.googleapis.com/auth/admin.directory.device.mobile.action"; + /** View your mobile devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = + "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"; + /** View and manage the provisioning of domains for your customers. */ + const ADMIN_DIRECTORY_DOMAIN = + "https://www.googleapis.com/auth/admin.directory.domain"; + /** View domains related to your customers. */ + const ADMIN_DIRECTORY_DOMAIN_READONLY = + "https://www.googleapis.com/auth/admin.directory.domain.readonly"; + /** View and manage the provisioning of groups on your domain. */ + const ADMIN_DIRECTORY_GROUP = + "https://www.googleapis.com/auth/admin.directory.group"; + /** View and manage group subscriptions on your domain. */ + const ADMIN_DIRECTORY_GROUP_MEMBER = + "https://www.googleapis.com/auth/admin.directory.group.member"; + /** View group subscriptions on your domain. */ + const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = + "https://www.googleapis.com/auth/admin.directory.group.member.readonly"; + /** View groups on your domain. */ + const ADMIN_DIRECTORY_GROUP_READONLY = + "https://www.googleapis.com/auth/admin.directory.group.readonly"; + /** View and manage notifications received on your domain. */ + const ADMIN_DIRECTORY_NOTIFICATIONS = + "https://www.googleapis.com/auth/admin.directory.notifications"; + /** View and manage organization units on your domain. */ + const ADMIN_DIRECTORY_ORGUNIT = + "https://www.googleapis.com/auth/admin.directory.orgunit"; + /** View organization units on your domain. */ + const ADMIN_DIRECTORY_ORGUNIT_READONLY = + "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"; + /** View and manage the provisioning of calendar resources on your domain. */ + const ADMIN_DIRECTORY_RESOURCE_CALENDAR = + "https://www.googleapis.com/auth/admin.directory.resource.calendar"; + /** View calendar resources on your domain. */ + const ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY = + "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"; + /** Manage delegated admin roles for your domain. */ + const ADMIN_DIRECTORY_ROLEMANAGEMENT = + "https://www.googleapis.com/auth/admin.directory.rolemanagement"; + /** View delegated admin roles for your domain. */ + const ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY = + "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"; + /** View and manage the provisioning of users on your domain. */ + const ADMIN_DIRECTORY_USER = + "https://www.googleapis.com/auth/admin.directory.user"; + /** View and manage user aliases on your domain. */ + const ADMIN_DIRECTORY_USER_ALIAS = + "https://www.googleapis.com/auth/admin.directory.user.alias"; + /** View user aliases on your domain. */ + const ADMIN_DIRECTORY_USER_ALIAS_READONLY = + "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"; + /** View users on your domain. */ + const ADMIN_DIRECTORY_USER_READONLY = + "https://www.googleapis.com/auth/admin.directory.user.readonly"; + /** Manage data access permissions for users on your domain. */ + const ADMIN_DIRECTORY_USER_SECURITY = + "https://www.googleapis.com/auth/admin.directory.user.security"; + /** View and manage the provisioning of user schemas on your domain. */ + const ADMIN_DIRECTORY_USERSCHEMA = + "https://www.googleapis.com/auth/admin.directory.userschema"; + /** View user schemas on your domain. */ + const ADMIN_DIRECTORY_USERSCHEMA_READONLY = + "https://www.googleapis.com/auth/admin.directory.userschema.readonly"; + + public $asps; + public $channels; + public $chromeosdevices; + public $customers; + public $domainAliases; + public $domains; + public $groups; + public $groups_aliases; + public $members; + public $mobiledevices; + public $notifications; + public $orgunits; + public $privileges; + public $resources_calendars; + public $roleAssignments; + public $roles; + public $schemas; + public $tokens; + public $users; + public $users_aliases; + public $users_photos; + public $verificationCodes; + + /** + * Constructs the internal representation of the Directory service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/directory/v1/'; + $this->version = 'directory_v1'; + $this->serviceName = 'admin'; + + $this->asps = new Google_Service_Directory_Resource_Asps( + $this, + $this->serviceName, + 'asps', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/asps/{codeId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'codeId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/asps/{codeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'codeId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/asps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Directory_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => '/admin/directory_v1/channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->chromeosdevices = new Google_Service_Directory_Resource_Chromeosdevices( + $this, + $this->serviceName, + 'chromeosdevices', + array( + 'methods' => array( + 'action' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{resourceId}/action', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/devices/chromeos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->customers = new Google_Service_Directory_Resource_Customers( + $this, + $this->serviceName, + 'customers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->domainAliases = new Google_Service_Directory_Resource_DomainAliases( + $this, + $this->serviceName, + 'domainAliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainAliasName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainAliasName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/domainaliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/domainaliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parentDomainName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->domains = new Google_Service_Directory_Resource_Domains( + $this, + $this->serviceName, + 'domains', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/domains/{domainName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/domains/{domainName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/domains', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/domains', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_Directory_Resource_Groups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userKey' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->groups_aliases = new Google_Service_Directory_Resource_GroupsAliases( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups/{groupKey}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'groups/{groupKey}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->members = new Google_Service_Directory_Resource_Members( + $this, + $this->serviceName, + 'members', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups/{groupKey}/members', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'groups/{groupKey}/members', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->mobiledevices = new Google_Service_Directory_Resource_Mobiledevices( + $this, + $this->serviceName, + 'mobiledevices', + array( + 'methods' => array( + 'action' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/devices/mobile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->notifications = new Google_Service_Directory_Resource_Notifications( + $this, + $this->serviceName, + 'notifications', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/notifications', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->orgunits = new Google_Service_Directory_Resource_Orgunits( + $this, + $this->serviceName, + 'orgunits', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customerId}/orgunits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/orgunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->privileges = new Google_Service_Directory_Resource_Privileges( + $this, + $this->serviceName, + 'privileges', + array( + 'methods' => array( + 'list' => array( + 'path' => 'customer/{customer}/roles/ALL/privileges', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->resources_calendars = new Google_Service_Directory_Resource_ResourcesCalendars( + $this, + $this->serviceName, + 'calendars', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'calendarResourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'calendarResourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/resources/calendars', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/resources/calendars', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'calendarResourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'calendarResourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->roleAssignments = new Google_Service_Directory_Resource_RoleAssignments( + $this, + $this->serviceName, + 'roleAssignments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleAssignmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleAssignmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/roleassignments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/roleassignments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'roleId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userKey' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->roles = new Google_Service_Directory_Resource_Roles( + $this, + $this->serviceName, + 'roles', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/roles/{roleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/roles/{roleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/roles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/roles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customer}/roles/{roleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customer}/roles/{roleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'roleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->schemas = new Google_Service_Directory_Resource_Schemas( + $this, + $this->serviceName, + 'schemas', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customerId}/schemas', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/schemas', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tokens = new Google_Service_Directory_Resource_Tokens( + $this, + $this->serviceName, + 'tokens', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/tokens/{clientId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/tokens/{clientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/tokens', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Directory_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'users', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'makeAdmin' => array( + 'path' => 'users/{userKey}/makeAdmin', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'users/{userKey}/undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => 'users/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_aliases = new Google_Service_Directory_Resource_UsersAliases( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/{userKey}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'users/{userKey}/aliases/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_photos = new Google_Service_Directory_Resource_UsersPhotos( + $this, + $this->serviceName, + 'photos', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->verificationCodes = new Google_Service_Directory_Resource_VerificationCodes( + $this, + $this->serviceName, + 'verificationCodes', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'users/{userKey}/verificationCodes/generate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'invalidate' => array( + 'path' => 'users/{userKey}/verificationCodes/invalidate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/verificationCodes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php new file mode 100644 index 00000000..f9cf8e76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Alias.php @@ -0,0 +1,66 @@ +alias = $alias; + } + public function getAlias() + { + return $this->alias; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php new file mode 100644 index 00000000..419bca95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Aliases.php @@ -0,0 +1,49 @@ +aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php new file mode 100644 index 00000000..9a6dc3bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asp.php @@ -0,0 +1,84 @@ +codeId = $codeId; + } + public function getCodeId() + { + return $this->codeId; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastTimeUsed($lastTimeUsed) + { + $this->lastTimeUsed = $lastTimeUsed; + } + public function getLastTimeUsed() + { + return $this->lastTimeUsed; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUserKey($userKey) + { + $this->userKey = $userKey; + } + public function getUserKey() + { + return $this->userKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php new file mode 100644 index 00000000..05ca38b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Asps.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php new file mode 100644 index 00000000..6a573ee6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResource.php @@ -0,0 +1,84 @@ +etags = $etags; + } + public function getEtags() + { + return $this->etags; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResourceDescription($resourceDescription) + { + $this->resourceDescription = $resourceDescription; + } + public function getResourceDescription() + { + return $this->resourceDescription; + } + public function setResourceEmail($resourceEmail) + { + $this->resourceEmail = $resourceEmail; + } + public function getResourceEmail() + { + return $this->resourceEmail; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } + public function setResourceType($resourceType) + { + $this->resourceType = $resourceType; + } + public function getResourceType() + { + return $this->resourceType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php new file mode 100644 index 00000000..a6de5992 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CalendarResources.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php new file mode 100644 index 00000000..63d6702c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Channel.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php new file mode 100644 index 00000000..c4b7492e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevice.php @@ -0,0 +1,249 @@ +activeTimeRanges = $activeTimeRanges; + } + public function getActiveTimeRanges() + { + return $this->activeTimeRanges; + } + public function setAnnotatedAssetId($annotatedAssetId) + { + $this->annotatedAssetId = $annotatedAssetId; + } + public function getAnnotatedAssetId() + { + return $this->annotatedAssetId; + } + public function setAnnotatedLocation($annotatedLocation) + { + $this->annotatedLocation = $annotatedLocation; + } + public function getAnnotatedLocation() + { + return $this->annotatedLocation; + } + public function setAnnotatedUser($annotatedUser) + { + $this->annotatedUser = $annotatedUser; + } + public function getAnnotatedUser() + { + return $this->annotatedUser; + } + public function setBootMode($bootMode) + { + $this->bootMode = $bootMode; + } + public function getBootMode() + { + return $this->bootMode; + } + public function setDeviceId($deviceId) + { + $this->deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEthernetMacAddress($ethernetMacAddress) + { + $this->ethernetMacAddress = $ethernetMacAddress; + } + public function getEthernetMacAddress() + { + return $this->ethernetMacAddress; + } + public function setFirmwareVersion($firmwareVersion) + { + $this->firmwareVersion = $firmwareVersion; + } + public function getFirmwareVersion() + { + return $this->firmwareVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastEnrollmentTime($lastEnrollmentTime) + { + $this->lastEnrollmentTime = $lastEnrollmentTime; + } + public function getLastEnrollmentTime() + { + return $this->lastEnrollmentTime; + } + public function setLastSync($lastSync) + { + $this->lastSync = $lastSync; + } + public function getLastSync() + { + return $this->lastSync; + } + public function setMacAddress($macAddress) + { + $this->macAddress = $macAddress; + } + public function getMacAddress() + { + return $this->macAddress; + } + public function setMeid($meid) + { + $this->meid = $meid; + } + public function getMeid() + { + return $this->meid; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setOrderNumber($orderNumber) + { + $this->orderNumber = $orderNumber; + } + public function getOrderNumber() + { + return $this->orderNumber; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setOsVersion($osVersion) + { + $this->osVersion = $osVersion; + } + public function getOsVersion() + { + return $this->osVersion; + } + public function setPlatformVersion($platformVersion) + { + $this->platformVersion = $platformVersion; + } + public function getPlatformVersion() + { + return $this->platformVersion; + } + public function setRecentUsers($recentUsers) + { + $this->recentUsers = $recentUsers; + } + public function getRecentUsers() + { + return $this->recentUsers; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSupportEndDate($supportEndDate) + { + $this->supportEndDate = $supportEndDate; + } + public function getSupportEndDate() + { + return $this->supportEndDate; + } + public function setWillAutoRenew($willAutoRenew) + { + $this->willAutoRenew = $willAutoRenew; + } + public function getWillAutoRenew() + { + return $this->willAutoRenew; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php new file mode 100644 index 00000000..4b27a170 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceAction.php @@ -0,0 +1,39 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setDeprovisionReason($deprovisionReason) + { + $this->deprovisionReason = $deprovisionReason; + } + public function getDeprovisionReason() + { + return $this->deprovisionReason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php new file mode 100644 index 00000000..d07a88bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceActiveTimeRanges.php @@ -0,0 +1,39 @@ +activeTime = $activeTime; + } + public function getActiveTime() + { + return $this->activeTime; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php new file mode 100644 index 00000000..7e9de091 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDeviceRecentUsers.php @@ -0,0 +1,39 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php new file mode 100644 index 00000000..ca52967a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/ChromeOsDevices.php @@ -0,0 +1,59 @@ +chromeosdevices = $chromeosdevices; + } + public function getChromeosdevices() + { + return $this->chromeosdevices; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php new file mode 100644 index 00000000..30461ac1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Customer.php @@ -0,0 +1,103 @@ +alternateEmail = $alternateEmail; + } + public function getAlternateEmail() + { + return $this->alternateEmail; + } + public function setCustomerCreationTime($customerCreationTime) + { + $this->customerCreationTime = $customerCreationTime; + } + public function getCustomerCreationTime() + { + return $this->customerCreationTime; + } + public function setCustomerDomain($customerDomain) + { + $this->customerDomain = $customerDomain; + } + public function getCustomerDomain() + { + return $this->customerDomain; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPostalAddress(Google_Service_Directory_CustomerPostalAddress $postalAddress) + { + $this->postalAddress = $postalAddress; + } + public function getPostalAddress() + { + return $this->postalAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php new file mode 100644 index 00000000..bf05a06a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/CustomerPostalAddress.php @@ -0,0 +1,102 @@ +addressLine1 = $addressLine1; + } + public function getAddressLine1() + { + return $this->addressLine1; + } + public function setAddressLine2($addressLine2) + { + $this->addressLine2 = $addressLine2; + } + public function getAddressLine2() + { + return $this->addressLine2; + } + public function setAddressLine3($addressLine3) + { + $this->addressLine3 = $addressLine3; + } + public function getAddressLine3() + { + return $this->addressLine3; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setOrganizationName($organizationName) + { + $this->organizationName = $organizationName; + } + public function getOrganizationName() + { + return $this->organizationName; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php new file mode 100644 index 00000000..5f5192b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAlias.php @@ -0,0 +1,75 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDomainAliasName($domainAliasName) + { + $this->domainAliasName = $domainAliasName; + } + public function getDomainAliasName() + { + return $this->domainAliasName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParentDomainName($parentDomainName) + { + $this->parentDomainName = $parentDomainName; + } + public function getParentDomainName() + { + return $this->parentDomainName; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php new file mode 100644 index 00000000..2b08b131 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/DomainAliases.php @@ -0,0 +1,50 @@ +domainAliases = $domainAliases; + } + public function getDomainAliases() + { + return $this->domainAliases; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php new file mode 100644 index 00000000..a1573a21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains.php @@ -0,0 +1,86 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDomainAliases($domainAliases) + { + $this->domainAliases = $domainAliases; + } + public function getDomainAliases() + { + return $this->domainAliases; + } + public function setDomainName($domainName) + { + $this->domainName = $domainName; + } + public function getDomainName() + { + return $this->domainName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIsPrimary($isPrimary) + { + $this->isPrimary = $isPrimary; + } + public function getIsPrimary() + { + return $this->isPrimary; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php new file mode 100644 index 00000000..73fbd448 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Domains2.php @@ -0,0 +1,50 @@ +domains = $domains; + } + public function getDomains() + { + return $this->domains; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php new file mode 100644 index 00000000..4d5c5534 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Group.php @@ -0,0 +1,112 @@ +adminCreated = $adminCreated; + } + public function getAdminCreated() + { + return $this->adminCreated; + } + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDirectMembersCount($directMembersCount) + { + $this->directMembersCount = $directMembersCount; + } + public function getDirectMembersCount() + { + return $this->directMembersCount; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNonEditableAliases($nonEditableAliases) + { + $this->nonEditableAliases = $nonEditableAliases; + } + public function getNonEditableAliases() + { + return $this->nonEditableAliases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php new file mode 100644 index 00000000..fcd7ef5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Groups.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php new file mode 100644 index 00000000..84713b82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Member.php @@ -0,0 +1,84 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php new file mode 100644 index 00000000..6a7206d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Members.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php new file mode 100644 index 00000000..c67448ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevice.php @@ -0,0 +1,383 @@ +adbStatus = $adbStatus; + } + public function getAdbStatus() + { + return $this->adbStatus; + } + public function setApplications($applications) + { + $this->applications = $applications; + } + public function getApplications() + { + return $this->applications; + } + public function setBasebandVersion($basebandVersion) + { + $this->basebandVersion = $basebandVersion; + } + public function getBasebandVersion() + { + return $this->basebandVersion; + } + public function setBootloaderVersion($bootloaderVersion) + { + $this->bootloaderVersion = $bootloaderVersion; + } + public function getBootloaderVersion() + { + return $this->bootloaderVersion; + } + public function setBrand($brand) + { + $this->brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setBuildNumber($buildNumber) + { + $this->buildNumber = $buildNumber; + } + public function getBuildNumber() + { + return $this->buildNumber; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDeveloperOptionsStatus($developerOptionsStatus) + { + $this->developerOptionsStatus = $developerOptionsStatus; + } + public function getDeveloperOptionsStatus() + { + return $this->developerOptionsStatus; + } + public function setDeviceCompromisedStatus($deviceCompromisedStatus) + { + $this->deviceCompromisedStatus = $deviceCompromisedStatus; + } + public function getDeviceCompromisedStatus() + { + return $this->deviceCompromisedStatus; + } + public function setDeviceId($deviceId) + { + $this->deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setDevicePasswordStatus($devicePasswordStatus) + { + $this->devicePasswordStatus = $devicePasswordStatus; + } + public function getDevicePasswordStatus() + { + return $this->devicePasswordStatus; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEncryptionStatus($encryptionStatus) + { + $this->encryptionStatus = $encryptionStatus; + } + public function getEncryptionStatus() + { + return $this->encryptionStatus; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFirstSync($firstSync) + { + $this->firstSync = $firstSync; + } + public function getFirstSync() + { + return $this->firstSync; + } + public function setHardware($hardware) + { + $this->hardware = $hardware; + } + public function getHardware() + { + return $this->hardware; + } + public function setHardwareId($hardwareId) + { + $this->hardwareId = $hardwareId; + } + public function getHardwareId() + { + return $this->hardwareId; + } + public function setImei($imei) + { + $this->imei = $imei; + } + public function getImei() + { + return $this->imei; + } + public function setKernelVersion($kernelVersion) + { + $this->kernelVersion = $kernelVersion; + } + public function getKernelVersion() + { + return $this->kernelVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastSync($lastSync) + { + $this->lastSync = $lastSync; + } + public function getLastSync() + { + return $this->lastSync; + } + public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile) + { + $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile; + } + public function getManagedAccountIsOnOwnerProfile() + { + return $this->managedAccountIsOnOwnerProfile; + } + public function setManufacturer($manufacturer) + { + $this->manufacturer = $manufacturer; + } + public function getManufacturer() + { + return $this->manufacturer; + } + public function setMeid($meid) + { + $this->meid = $meid; + } + public function getMeid() + { + return $this->meid; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetworkOperator($networkOperator) + { + $this->networkOperator = $networkOperator; + } + public function getNetworkOperator() + { + return $this->networkOperator; + } + public function setOs($os) + { + $this->os = $os; + } + public function getOs() + { + return $this->os; + } + public function setOtherAccountsInfo($otherAccountsInfo) + { + $this->otherAccountsInfo = $otherAccountsInfo; + } + public function getOtherAccountsInfo() + { + return $this->otherAccountsInfo; + } + public function setPrivilege($privilege) + { + $this->privilege = $privilege; + } + public function getPrivilege() + { + return $this->privilege; + } + public function setReleaseVersion($releaseVersion) + { + $this->releaseVersion = $releaseVersion; + } + public function getReleaseVersion() + { + return $this->releaseVersion; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setSecurityPatchLevel($securityPatchLevel) + { + $this->securityPatchLevel = $securityPatchLevel; + } + public function getSecurityPatchLevel() + { + return $this->securityPatchLevel; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSupportsWorkProfile($supportsWorkProfile) + { + $this->supportsWorkProfile = $supportsWorkProfile; + } + public function getSupportsWorkProfile() + { + return $this->supportsWorkProfile; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnknownSourcesStatus($unknownSourcesStatus) + { + $this->unknownSourcesStatus = $unknownSourcesStatus; + } + public function getUnknownSourcesStatus() + { + return $this->unknownSourcesStatus; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setWifiMacAddress($wifiMacAddress) + { + $this->wifiMacAddress = $wifiMacAddress; + } + public function getWifiMacAddress() + { + return $this->wifiMacAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php new file mode 100644 index 00000000..b829d0d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceAction.php @@ -0,0 +1,30 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php new file mode 100644 index 00000000..24f81570 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDeviceApplications.php @@ -0,0 +1,67 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php new file mode 100644 index 00000000..8d7a3761 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/MobileDevices.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobiledevices($mobiledevices) + { + $this->mobiledevices = $mobiledevices; + } + public function getMobiledevices() + { + return $this->mobiledevices; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php new file mode 100644 index 00000000..17884c12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notification.php @@ -0,0 +1,93 @@ +body = $body; + } + public function getBody() + { + return $this->body; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFromAddress($fromAddress) + { + $this->fromAddress = $fromAddress; + } + public function getFromAddress() + { + return $this->fromAddress; + } + public function setIsUnread($isUnread) + { + $this->isUnread = $isUnread; + } + public function getIsUnread() + { + return $this->isUnread; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotificationId($notificationId) + { + $this->notificationId = $notificationId; + } + public function getNotificationId() + { + return $this->notificationId; + } + public function setSendTime($sendTime) + { + $this->sendTime = $sendTime; + } + public function getSendTime() + { + return $this->sendTime; + } + public function setSubject($subject) + { + $this->subject = $subject; + } + public function getSubject() + { + return $this->subject; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php new file mode 100644 index 00000000..8b7bbd61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Notifications.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUnreadNotificationsCount($unreadNotificationsCount) + { + $this->unreadNotificationsCount = $unreadNotificationsCount; + } + public function getUnreadNotificationsCount() + { + return $this->unreadNotificationsCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php new file mode 100644 index 00000000..dfa9c3b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnit.php @@ -0,0 +1,102 @@ +blockInheritance = $blockInheritance; + } + public function getBlockInheritance() + { + return $this->blockInheritance; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrgUnitId($orgUnitId) + { + $this->orgUnitId = $orgUnitId; + } + public function getOrgUnitId() + { + return $this->orgUnitId; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setParentOrgUnitId($parentOrgUnitId) + { + $this->parentOrgUnitId = $parentOrgUnitId; + } + public function getParentOrgUnitId() + { + return $this->parentOrgUnitId; + } + public function setParentOrgUnitPath($parentOrgUnitPath) + { + $this->parentOrgUnitPath = $parentOrgUnitPath; + } + public function getParentOrgUnitPath() + { + return $this->parentOrgUnitPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php new file mode 100644 index 00000000..db604d57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/OrgUnits.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrganizationUnits($organizationUnits) + { + $this->organizationUnits = $organizationUnits; + } + public function getOrganizationUnits() + { + return $this->organizationUnits; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php new file mode 100644 index 00000000..bb275168 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privilege.php @@ -0,0 +1,86 @@ +childPrivileges = $childPrivileges; + } + public function getChildPrivileges() + { + return $this->childPrivileges; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIsOuScopable($isOuScopable) + { + $this->isOuScopable = $isOuScopable; + } + public function getIsOuScopable() + { + return $this->isOuScopable; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrivilegeName($privilegeName) + { + $this->privilegeName = $privilegeName; + } + public function getPrivilegeName() + { + return $this->privilegeName; + } + public function setServiceId($serviceId) + { + $this->serviceId = $serviceId; + } + public function getServiceId() + { + return $this->serviceId; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php new file mode 100644 index 00000000..952ff8d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Privileges.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php new file mode 100644 index 00000000..18b9c680 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Asps.php @@ -0,0 +1,71 @@ + + * $adminService = new Google_Service_Directory(...); + * $asps = $adminService->asps; + * + */ +class Google_Service_Directory_Resource_Asps extends Google_Service_Resource +{ + /** + * Delete an ASP issued by a user. (asps.delete) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param int $codeId The unique ID of the ASP to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $codeId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'codeId' => $codeId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get information about an ASP issued by a user. (asps.get) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param int $codeId The unique ID of the ASP. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Asp + */ + public function get($userKey, $codeId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'codeId' => $codeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Asp"); + } + /** + * List the ASPs issued by a user. (asps.listAsps) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Asps + */ + public function listAsps($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Asps"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php new file mode 100644 index 00000000..841a8198 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Channels.php @@ -0,0 +1,40 @@ + + * $adminService = new Google_Service_Directory(...); + * $channels = $adminService->channels; + * + */ +class Google_Service_Directory_Resource_Channels extends Google_Service_Resource +{ + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Service_Directory_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php new file mode 100644 index 00000000..d44bfd16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Chromeosdevices.php @@ -0,0 +1,120 @@ + + * $adminService = new Google_Service_Directory(...); + * $chromeosdevices = $adminService->chromeosdevices; + * + */ +class Google_Service_Directory_Resource_Chromeosdevices extends Google_Service_Resource +{ + /** + * Take action on Chrome OS Device (chromeosdevices.action) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Chrome OS Device + * @param Google_Service_Directory_ChromeOsDeviceAction $postBody + * @param array $optParams Optional parameters. + */ + public function action($customerId, $resourceId, Google_Service_Directory_ChromeOsDeviceAction $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('action', array($params)); + } + /** + * Retrieve Chrome OS Device (chromeosdevices.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function get($customerId, $deviceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice"); + } + /** + * Retrieve all Chrome OS Devices of a customer (paginated) + * (chromeosdevices.listChromeosdevices) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. Default is 100 + * @opt_param string orderBy Column to use for sorting results + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string query Search string in the format given at + * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333 + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. Only of use when orderBy is also used + * @return Google_Service_Directory_ChromeOsDevices + */ + public function listChromeosdevices($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices"); + } + /** + * Update Chrome OS Device. This method supports patch semantics. + * (chromeosdevices.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param Google_Service_Directory_ChromeOsDevice $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice"); + } + /** + * Update Chrome OS Device (chromeosdevices.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param Google_Service_Directory_ChromeOsDevice $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php new file mode 100644 index 00000000..cae53ef3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Customers.php @@ -0,0 +1,69 @@ + + * $adminService = new Google_Service_Directory(...); + * $customers = $adminService->customers; + * + */ +class Google_Service_Directory_Resource_Customers extends Google_Service_Resource +{ + /** + * Retrieves a customer. (customers.get) + * + * @param string $customerKey Id of the customer to be retrieved + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function get($customerKey, $optParams = array()) + { + $params = array('customerKey' => $customerKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Customer"); + } + /** + * Updates a customer. This method supports patch semantics. (customers.patch) + * + * @param string $customerKey Id of the customer to be updated + * @param Google_Service_Directory_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function patch($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) + { + $params = array('customerKey' => $customerKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Customer"); + } + /** + * Updates a customer. (customers.update) + * + * @param string $customerKey Id of the customer to be updated + * @param Google_Service_Directory_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function update($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) + { + $params = array('customerKey' => $customerKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Customer"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php new file mode 100644 index 00000000..9a27afa4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/DomainAliases.php @@ -0,0 +1,85 @@ + + * $adminService = new Google_Service_Directory(...); + * $domainAliases = $adminService->domainAliases; + * + */ +class Google_Service_Directory_Resource_DomainAliases extends Google_Service_Resource +{ + /** + * Deletes a Domain Alias of the customer. (domainAliases.delete) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainAliasName Name of domain alias to be retrieved. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $domainAliasName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a domain alias of the customer. (domainAliases.get) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainAliasName Name of domain alias to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_DomainAlias + */ + public function get($customer, $domainAliasName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_DomainAlias"); + } + /** + * Inserts a Domain alias of the customer. (domainAliases.insert) + * + * @param string $customer Immutable id of the Google Apps account. + * @param Google_Service_Directory_DomainAlias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_DomainAlias + */ + public function insert($customer, Google_Service_Directory_DomainAlias $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_DomainAlias"); + } + /** + * Lists the domain aliases of the customer. (domainAliases.listDomainAliases) + * + * @param string $customer Immutable id of the Google Apps account. + * @param array $optParams Optional parameters. + * + * @opt_param string parentDomainName Name of the parent domain for which domain + * aliases are to be fetched. + * @return Google_Service_Directory_DomainAliases + */ + public function listDomainAliases($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_DomainAliases"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php new file mode 100644 index 00000000..7e6fc27a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Domains.php @@ -0,0 +1,82 @@ + + * $adminService = new Google_Service_Directory(...); + * $domains = $adminService->domains; + * + */ +class Google_Service_Directory_Resource_Domains extends Google_Service_Resource +{ + /** + * Deletes a domain of the customer. (domains.delete) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainName Name of domain to be deleted + * @param array $optParams Optional parameters. + */ + public function delete($customer, $domainName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainName' => $domainName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a domain of the customer. (domains.get) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainName Name of domain to be retrieved + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains + */ + public function get($customer, $domainName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainName' => $domainName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Domains"); + } + /** + * Inserts a domain of the customer. (domains.insert) + * + * @param string $customer Immutable id of the Google Apps account. + * @param Google_Service_Directory_Domains $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains + */ + public function insert($customer, Google_Service_Directory_Domains $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Domains"); + } + /** + * Lists the domains of the customer. (domains.listDomains) + * + * @param string $customer Immutable id of the Google Apps account. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains2 + */ + public function listDomains($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Domains2"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php new file mode 100644 index 00000000..85960fd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Groups.php @@ -0,0 +1,120 @@ + + * $adminService = new Google_Service_Directory(...); + * $groups = $adminService->groups; + * + */ +class Google_Service_Directory_Resource_Groups extends Google_Service_Resource +{ + /** + * Delete Group (groups.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve Group (groups.get) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function get($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Group"); + } + /** + * Create Group (groups.insert) + * + * @param Google_Service_Directory_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function insert(Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Group"); + } + /** + * Retrieve all groups in a domain (paginated) (groups.listGroups) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all groups for a customer, fill this field instead + * of domain. + * @opt_param string domain Name of the domain. Fill this field to get groups + * from only this domain. To return all groups in a multi-domain fill customer + * field instead. + * @opt_param int maxResults Maximum number of results to return. Default is 200 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string userKey Email or immutable Id of the user if only those + * groups are to be listed, the given user is a member of. If Id, it should + * match with id of user object + * @return Google_Service_Directory_Groups + */ + public function listGroups($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Groups"); + } + /** + * Update Group. This method supports patch semantics. (groups.patch) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param Google_Service_Directory_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Group"); + } + /** + * Update Group (groups.update) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param Google_Service_Directory_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Group"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php new file mode 100644 index 00000000..2a684876 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/GroupsAliases.php @@ -0,0 +1,68 @@ + + * $adminService = new Google_Service_Directory(...); + * $aliases = $adminService->aliases; + * + */ +class Google_Service_Directory_Resource_GroupsAliases extends Google_Service_Resource +{ + /** + * Remove a alias for the group (aliases.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $alias The alias to be removed + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $alias, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Add a alias for the group (aliases.insert) + * + * @param string $groupKey Email or immutable Id of the group + * @param Google_Service_Directory_Alias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Alias + */ + public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Alias"); + } + /** + * List all aliases for a group (aliases.listGroupsAliases) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Aliases + */ + public function listGroupsAliases($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Aliases"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php new file mode 100644 index 00000000..1dbdd8aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Members.php @@ -0,0 +1,122 @@ + + * $adminService = new Google_Service_Directory(...); + * $members = $adminService->members; + * + */ +class Google_Service_Directory_Resource_Members extends Google_Service_Resource +{ + /** + * Remove membership. (members.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $memberKey Email or immutable Id of the member + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $memberKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve Group Member (members.get) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $memberKey Email or immutable Id of the member + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function get($groupKey, $memberKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Member"); + } + /** + * Add user to the specified group. (members.insert) + * + * @param string $groupKey Email or immutable Id of the group + * @param Google_Service_Directory_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Member"); + } + /** + * Retrieve all members in a group (paginated) (members.listMembers) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. Default is 200 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string roles Comma separated role values to filter list results + * on. + * @return Google_Service_Directory_Members + */ + public function listMembers($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Members"); + } + /** + * Update membership of a user in the specified group. This method supports + * patch semantics. (members.patch) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param string $memberKey Email or immutable Id of the user. If Id, it should + * match with id of member object + * @param Google_Service_Directory_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Member"); + } + /** + * Update membership of a user in the specified group. (members.update) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param string $memberKey Email or immutable Id of the user. If Id, it should + * match with id of member object + * @param Google_Service_Directory_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Member"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php new file mode 100644 index 00000000..343d622a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Mobiledevices.php @@ -0,0 +1,96 @@ + + * $adminService = new Google_Service_Directory(...); + * $mobiledevices = $adminService->mobiledevices; + * + */ +class Google_Service_Directory_Resource_Mobiledevices extends Google_Service_Resource +{ + /** + * Take action on Mobile Device (mobiledevices.action) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param Google_Service_Directory_MobileDeviceAction $postBody + * @param array $optParams Optional parameters. + */ + public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('action', array($params)); + } + /** + * Delete Mobile Device (mobiledevices.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $resourceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve Mobile Device (mobiledevices.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_MobileDevice + */ + public function get($customerId, $resourceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_MobileDevice"); + } + /** + * Retrieve all Mobile Devices of a customer (paginated) + * (mobiledevices.listMobiledevices) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. Default is 100 + * @opt_param string orderBy Column to use for sorting results + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string query Search string in the format given at + * http://support.google.com/a/bin/answer.py?hl=en=1408863#search + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. Only of use when orderBy is also used + * @return Google_Service_Directory_MobileDevices + */ + public function listMobiledevices($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_MobileDevices"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php new file mode 100644 index 00000000..6c0981e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Notifications.php @@ -0,0 +1,108 @@ + + * $adminService = new Google_Service_Directory(...); + * $notifications = $adminService->notifications; + * + */ +class Google_Service_Directory_Resource_Notifications extends Google_Service_Resource +{ + /** + * Deletes a notification (notifications.delete) + * + * @param string $customer The unique ID for the customer's Google account. The + * customerId is also returned as part of the Users resource. + * @param string $notificationId The unique ID of the notification. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $notificationId, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a notification. (notifications.get) + * + * @param string $customer The unique ID for the customer's Google account. The + * customerId is also returned as part of the Users resource. + * @param string $notificationId The unique ID of the notification. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function get($customer, $notificationId, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Notification"); + } + /** + * Retrieves a list of notifications. (notifications.listNotifications) + * + * @param string $customer The unique ID for the customer's Google account. + * @param array $optParams Optional parameters. + * + * @opt_param string language The ISO 639-1 code of the language notifications + * are returned in. The default is English (en). + * @opt_param string maxResults Maximum number of notifications to return per + * page. The default is 100. + * @opt_param string pageToken The token to specify the page of results to + * retrieve. + * @return Google_Service_Directory_Notifications + */ + public function listNotifications($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Notifications"); + } + /** + * Updates a notification. This method supports patch semantics. + * (notifications.patch) + * + * @param string $customer The unique ID for the customer's Google account. + * @param string $notificationId The unique ID of the notification. + * @param Google_Service_Directory_Notification $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Notification"); + } + /** + * Updates a notification. (notifications.update) + * + * @param string $customer The unique ID for the customer's Google account. + * @param string $notificationId The unique ID of the notification. + * @param Google_Service_Directory_Notification $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Notification"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php new file mode 100644 index 00000000..233f08b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Orgunits.php @@ -0,0 +1,118 @@ + + * $adminService = new Google_Service_Directory(...); + * $orgunits = $adminService->orgunits; + * + */ +class Google_Service_Directory_Resource_Orgunits extends Google_Service_Resource +{ + /** + * Remove Organization Unit (orgunits.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string|array $orgUnitPath Full path of the organization unit or its Id + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $orgUnitPath, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve Organization Unit (orgunits.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string|array $orgUnitPath Full path of the organization unit or its Id + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function get($customerId, $orgUnitPath, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_OrgUnit"); + } + /** + * Add Organization Unit (orgunits.insert) + * + * @param string $customerId Immutable id of the Google Apps account + * @param Google_Service_Directory_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit"); + } + /** + * Retrieve all Organization Units (orgunits.listOrgunits) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param string orgUnitPath the URL-encoded organization unit's path or its + * Id + * @opt_param string type Whether to return all sub-organizations or just + * immediate children + * @return Google_Service_Directory_OrgUnits + */ + public function listOrgunits($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_OrgUnits"); + } + /** + * Update Organization Unit. This method supports patch semantics. + * (orgunits.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string|array $orgUnitPath Full path of the organization unit or its Id + * @param Google_Service_Directory_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit"); + } + /** + * Update Organization Unit (orgunits.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string|array $orgUnitPath Full path of the organization unit or its Id + * @param Google_Service_Directory_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_OrgUnit"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php new file mode 100644 index 00000000..2e55cb62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Privileges.php @@ -0,0 +1,42 @@ + + * $adminService = new Google_Service_Directory(...); + * $privileges = $adminService->privileges; + * + */ +class Google_Service_Directory_Resource_Privileges extends Google_Service_Resource +{ + /** + * Retrieves a paginated list of all privileges for a customer. + * (privileges.listPrivileges) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Privileges + */ + public function listPrivileges($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Privileges"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php new file mode 100644 index 00000000..a725d02a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Resources.php @@ -0,0 +1,28 @@ + + * $adminService = new Google_Service_Directory(...); + * $resources = $adminService->resources; + * + */ +class Google_Service_Directory_Resource_Resources extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php new file mode 100644 index 00000000..822f20f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/ResourcesCalendars.php @@ -0,0 +1,133 @@ + + * $adminService = new Google_Service_Directory(...); + * $calendars = $adminService->calendars; + * + */ +class Google_Service_Directory_Resource_ResourcesCalendars extends Google_Service_Resource +{ + /** + * Deletes a calendar resource. (calendars.delete) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param string $calendarResourceId The unique ID of the calendar resource to + * delete. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $calendarResourceId, $optParams = array()) + { + $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a calendar resource. (calendars.get) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param string $calendarResourceId The unique ID of the calendar resource to + * retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_CalendarResource + */ + public function get($customer, $calendarResourceId, $optParams = array()) + { + $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_CalendarResource"); + } + /** + * Inserts a calendar resource. (calendars.insert) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param Google_Service_Directory_CalendarResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_CalendarResource + */ + public function insert($customer, Google_Service_Directory_CalendarResource $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_CalendarResource"); + } + /** + * Retrieves a list of calendar resources for an account. + * (calendars.listResourcesCalendars) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Token to specify the next page in the list. + * @return Google_Service_Directory_CalendarResources + */ + public function listResourcesCalendars($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_CalendarResources"); + } + /** + * Updates a calendar resource. This method supports patch semantics. + * (calendars.patch) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param string $calendarResourceId The unique ID of the calendar resource to + * update. + * @param Google_Service_Directory_CalendarResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_CalendarResource + */ + public function patch($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_CalendarResource"); + } + /** + * Updates a calendar resource. (calendars.update) + * + * @param string $customer The unique ID for the customer's Google account. As + * an account administrator, you can also use the my_customer alias to represent + * your account's customer ID. + * @param string $calendarResourceId The unique ID of the calendar resource to + * update. + * @param Google_Service_Directory_CalendarResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_CalendarResource + */ + public function update($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_CalendarResource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php new file mode 100644 index 00000000..78be4cee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/RoleAssignments.php @@ -0,0 +1,91 @@ + + * $adminService = new Google_Service_Directory(...); + * $roleAssignments = $adminService->roleAssignments; + * + */ +class Google_Service_Directory_Resource_RoleAssignments extends Google_Service_Resource +{ + /** + * Deletes a role assignment. (roleAssignments.delete) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleAssignmentId Immutable ID of the role assignment. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $roleAssignmentId, $optParams = array()) + { + $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve a role assignment. (roleAssignments.get) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleAssignmentId Immutable ID of the role assignment. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_RoleAssignment + */ + public function get($customer, $roleAssignmentId, $optParams = array()) + { + $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_RoleAssignment"); + } + /** + * Creates a role assignment. (roleAssignments.insert) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param Google_Service_Directory_RoleAssignment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_RoleAssignment + */ + public function insert($customer, Google_Service_Directory_RoleAssignment $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_RoleAssignment"); + } + /** + * Retrieves a paginated list of all roleAssignments. + * (roleAssignments.listRoleAssignments) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Token to specify the next page in the list. + * @opt_param string roleId Immutable ID of a role. If included in the request, + * returns only role assignments containing this role ID. + * @opt_param string userKey The user's primary email address, alias email + * address, or unique user ID. If included in the request, returns role + * assignments only for this user. + * @return Google_Service_Directory_RoleAssignments + */ + public function listRoleAssignments($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_RoleAssignments"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php new file mode 100644 index 00000000..93036598 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Roles.php @@ -0,0 +1,115 @@ + + * $adminService = new Google_Service_Directory(...); + * $roles = $adminService->roles; + * + */ +class Google_Service_Directory_Resource_Roles extends Google_Service_Resource +{ + /** + * Deletes a role. (roles.delete) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleId Immutable ID of the role. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $roleId, $optParams = array()) + { + $params = array('customer' => $customer, 'roleId' => $roleId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a role. (roles.get) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleId Immutable ID of the role. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Role + */ + public function get($customer, $roleId, $optParams = array()) + { + $params = array('customer' => $customer, 'roleId' => $roleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Role"); + } + /** + * Creates a role. (roles.insert) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param Google_Service_Directory_Role $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Role + */ + public function insert($customer, Google_Service_Directory_Role $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Role"); + } + /** + * Retrieves a paginated list of all the roles in a domain. (roles.listRoles) + * + * @param string $customer Immutable id of the Google Apps account. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Token to specify the next page in the list. + * @return Google_Service_Directory_Roles + */ + public function listRoles($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Roles"); + } + /** + * Updates a role. This method supports patch semantics. (roles.patch) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleId Immutable ID of the role. + * @param Google_Service_Directory_Role $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Role + */ + public function patch($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Role"); + } + /** + * Updates a role. (roles.update) + * + * @param string $customer Immutable ID of the Google Apps account. + * @param string $roleId Immutable ID of the role. + * @param Google_Service_Directory_Role $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Role + */ + public function update($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Role"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php new file mode 100644 index 00000000..4592c082 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Schemas.php @@ -0,0 +1,112 @@ + + * $adminService = new Google_Service_Directory(...); + * $schemas = $adminService->schemas; + * + */ +class Google_Service_Directory_Resource_Schemas extends Google_Service_Resource +{ + /** + * Delete schema (schemas.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $schemaKey, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve schema (schemas.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function get($customerId, $schemaKey, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Schema"); + } + /** + * Create schema. (schemas.insert) + * + * @param string $customerId Immutable id of the Google Apps account + * @param Google_Service_Directory_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Schema"); + } + /** + * Retrieve all schemas for a customer (schemas.listSchemas) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schemas + */ + public function listSchemas($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Schemas"); + } + /** + * Update schema. This method supports patch semantics. (schemas.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema. + * @param Google_Service_Directory_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Schema"); + } + /** + * Update schema (schemas.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema. + * @param Google_Service_Directory_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Schema"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php new file mode 100644 index 00000000..fed72312 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Tokens.php @@ -0,0 +1,74 @@ + + * $adminService = new Google_Service_Directory(...); + * $tokens = $adminService->tokens; + * + */ +class Google_Service_Directory_Resource_Tokens extends Google_Service_Resource +{ + /** + * Delete all access tokens issued by a user for an application. (tokens.delete) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param string $clientId The Client ID of the application the token is issued + * to. + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $clientId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'clientId' => $clientId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get information about an access token issued by a user. (tokens.get) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param string $clientId The Client ID of the application the token is issued + * to. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Token + */ + public function get($userKey, $clientId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'clientId' => $clientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Token"); + } + /** + * Returns the set of tokens specified user has issued to 3rd party + * applications. (tokens.listTokens) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Tokens + */ + public function listTokens($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Tokens"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php new file mode 100644 index 00000000..111b287e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/Users.php @@ -0,0 +1,207 @@ + + * $adminService = new Google_Service_Directory(...); + * $users = $adminService->users; + * + */ +class Google_Service_Directory_Resource_Users extends Google_Service_Resource +{ + /** + * Delete user (users.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * retrieve user (users.get) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param string projection What subset of fields to fetch for this user. + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @return Google_Service_Directory_User + */ + public function get($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_User"); + } + /** + * create user. (users.insert) + * + * @param Google_Service_Directory_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function insert(Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_User"); + } + /** + * Retrieve either deleted users or all users in a domain (paginated) + * (users.listUsers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all users for a customer, fill this field instead + * of domain. + * @opt_param string domain Name of the domain. Fill this field to get users + * from only this domain. To return all users in a multi-domain fill customer + * field instead. + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. Max allowed is 500 + * @opt_param string orderBy Column to use for sorting results + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string projection What subset of fields to fetch for this user. + * @opt_param string query Query string search. Should be of the form "". + * Complete documentation is at https://developers.google.com/admin- + * sdk/directory/v1/guides/search-users + * @opt_param string showDeleted If set to true retrieves the list of deleted + * users. Default is false + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @return Google_Service_Directory_Users + */ + public function listUsers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Users"); + } + /** + * change admin status of a user (users.makeAdmin) + * + * @param string $userKey Email or immutable Id of the user as admin + * @param Google_Service_Directory_UserMakeAdmin $postBody + * @param array $optParams Optional parameters. + */ + public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('makeAdmin', array($params)); + } + /** + * update user. This method supports patch semantics. (users.patch) + * + * @param string $userKey Email or immutable Id of the user. If Id, it should + * match with id of user object + * @param Google_Service_Directory_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_User"); + } + /** + * Undelete a deleted user (users.undelete) + * + * @param string $userKey The immutable id of the user + * @param Google_Service_Directory_UserUndelete $postBody + * @param array $optParams Optional parameters. + */ + public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params)); + } + /** + * update user (users.update) + * + * @param string $userKey Email or immutable Id of the user. If Id, it should + * match with id of user object + * @param Google_Service_Directory_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_User"); + } + /** + * Watch for changes in users list (users.watch) + * + * @param Google_Service_Directory_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all users for a customer, fill this field instead + * of domain. + * @opt_param string domain Name of the domain. Fill this field to get users + * from only this domain. To return all users in a multi-domain fill customer + * field instead. + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. Max allowed is 500 + * @opt_param string orderBy Column to use for sorting results + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string projection What subset of fields to fetch for this user. + * @opt_param string query Query string search. Should be of the form "". + * Complete documentation is at https://developers.google.com/admin- + * sdk/directory/v1/guides/search-users + * @opt_param string showDeleted If set to true retrieves the list of deleted + * users. Default is false + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @return Google_Service_Directory_Channel + */ + public function watch(Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Directory_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php new file mode 100644 index 00000000..545b4271 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersAliases.php @@ -0,0 +1,88 @@ + + * $adminService = new Google_Service_Directory(...); + * $aliases = $adminService->aliases; + * + */ +class Google_Service_Directory_Resource_UsersAliases extends Google_Service_Resource +{ + /** + * Remove a alias for the user (aliases.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param string $alias The alias to be removed + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $alias, $optParams = array()) + { + $params = array('userKey' => $userKey, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Add a alias for the user (aliases.insert) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Service_Directory_Alias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Alias + */ + public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Alias"); + } + /** + * List all aliases for a user (aliases.listUsersAliases) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Aliases + */ + public function listUsersAliases($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Aliases"); + } + /** + * Watch for changes in user aliases list (aliases.watch) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Service_Directory_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Channel + */ + public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Directory_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php new file mode 100644 index 00000000..6b3e5a32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/UsersPhotos.php @@ -0,0 +1,82 @@ + + * $adminService = new Google_Service_Directory(...); + * $photos = $adminService->photos; + * + */ +class Google_Service_Directory_Resource_UsersPhotos extends Google_Service_Resource +{ + /** + * Remove photos for the user (photos.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieve photo of a user (photos.get) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function get($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_UserPhoto"); + } + /** + * Add a photo for the user. This method supports patch semantics. + * (photos.patch) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Service_Directory_UserPhoto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto"); + } + /** + * Add a photo for the user (photos.update) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Service_Directory_UserPhoto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_UserPhoto"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php new file mode 100644 index 00000000..e67ff742 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Resource/VerificationCodes.php @@ -0,0 +1,69 @@ + + * $adminService = new Google_Service_Directory(...); + * $verificationCodes = $adminService->verificationCodes; + * + */ +class Google_Service_Directory_Resource_VerificationCodes extends Google_Service_Resource +{ + /** + * Generate new backup verification codes for the user. + * (verificationCodes.generate) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function generate($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params)); + } + /** + * Invalidate the current backup verification codes for the user. + * (verificationCodes.invalidate) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function invalidate($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('invalidate', array($params)); + } + /** + * Returns the current set of valid backup verification codes for the specified + * user. (verificationCodes.listVerificationCodes) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_VerificationCodes + */ + public function listVerificationCodes($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php new file mode 100644 index 00000000..8bc11164 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Role.php @@ -0,0 +1,95 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIsSuperAdminRole($isSuperAdminRole) + { + $this->isSuperAdminRole = $isSuperAdminRole; + } + public function getIsSuperAdminRole() + { + return $this->isSuperAdminRole; + } + public function setIsSystemRole($isSystemRole) + { + $this->isSystemRole = $isSystemRole; + } + public function getIsSystemRole() + { + return $this->isSystemRole; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRoleDescription($roleDescription) + { + $this->roleDescription = $roleDescription; + } + public function getRoleDescription() + { + return $this->roleDescription; + } + public function setRoleId($roleId) + { + $this->roleId = $roleId; + } + public function getRoleId() + { + return $this->roleId; + } + public function setRoleName($roleName) + { + $this->roleName = $roleName; + } + public function getRoleName() + { + return $this->roleName; + } + public function setRolePrivileges($rolePrivileges) + { + $this->rolePrivileges = $rolePrivileges; + } + public function getRolePrivileges() + { + return $this->rolePrivileges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php new file mode 100644 index 00000000..ed27cfc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignment.php @@ -0,0 +1,84 @@ +assignedTo = $assignedTo; + } + public function getAssignedTo() + { + return $this->assignedTo; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrgUnitId($orgUnitId) + { + $this->orgUnitId = $orgUnitId; + } + public function getOrgUnitId() + { + return $this->orgUnitId; + } + public function setRoleAssignmentId($roleAssignmentId) + { + $this->roleAssignmentId = $roleAssignmentId; + } + public function getRoleAssignmentId() + { + return $this->roleAssignmentId; + } + public function setRoleId($roleId) + { + $this->roleId = $roleId; + } + public function getRoleId() + { + return $this->roleId; + } + public function setScopeType($scopeType) + { + $this->scopeType = $scopeType; + } + public function getScopeType() + { + return $this->scopeType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php new file mode 100644 index 00000000..d1fbe4d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleAssignments.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php new file mode 100644 index 00000000..7de85b02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/RoleRolePrivileges.php @@ -0,0 +1,39 @@ +privilegeName = $privilegeName; + } + public function getPrivilegeName() + { + return $this->privilegeName; + } + public function setServiceId($serviceId) + { + $this->serviceId = $serviceId; + } + public function getServiceId() + { + return $this->serviceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php new file mode 100644 index 00000000..d65f436f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Roles.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php new file mode 100644 index 00000000..ed958bca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schema.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSchemaId($schemaId) + { + $this->schemaId = $schemaId; + } + public function getSchemaId() + { + return $this->schemaId; + } + public function setSchemaName($schemaName) + { + $this->schemaName = $schemaName; + } + public function getSchemaName() + { + return $this->schemaName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php new file mode 100644 index 00000000..c2bdac87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpec.php @@ -0,0 +1,103 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFieldId($fieldId) + { + $this->fieldId = $fieldId; + } + public function getFieldId() + { + return $this->fieldId; + } + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setFieldType($fieldType) + { + $this->fieldType = $fieldType; + } + public function getFieldType() + { + return $this->fieldType; + } + public function setIndexed($indexed) + { + $this->indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMultiValued($multiValued) + { + $this->multiValued = $multiValued; + } + public function getMultiValued() + { + return $this->multiValued; + } + public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec) + { + $this->numericIndexingSpec = $numericIndexingSpec; + } + public function getNumericIndexingSpec() + { + return $this->numericIndexingSpec; + } + public function setReadAccessType($readAccessType) + { + $this->readAccessType = $readAccessType; + } + public function getReadAccessType() + { + return $this->readAccessType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php new file mode 100644 index 00000000..26a015e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/SchemaFieldSpecNumericIndexingSpec.php @@ -0,0 +1,39 @@ +maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php new file mode 100644 index 00000000..f5ab8e3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Schemas.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSchemas($schemas) + { + $this->schemas = $schemas; + } + public function getSchemas() + { + return $this->schemas; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php new file mode 100644 index 00000000..c51391b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Token.php @@ -0,0 +1,94 @@ +anonymous = $anonymous; + } + public function getAnonymous() + { + return $this->anonymous; + } + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setDisplayText($displayText) + { + $this->displayText = $displayText; + } + public function getDisplayText() + { + return $this->displayText; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNativeApp($nativeApp) + { + $this->nativeApp = $nativeApp; + } + public function getNativeApp() + { + return $this->nativeApp; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } + public function setUserKey($userKey) + { + $this->userKey = $userKey; + } + public function getUserKey() + { + return $this->userKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php new file mode 100644 index 00000000..3174c8c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Tokens.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php new file mode 100644 index 00000000..e17d7c41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/User.php @@ -0,0 +1,356 @@ +addresses = $addresses; + } + public function getAddresses() + { + return $this->addresses; + } + public function setAgreedToTerms($agreedToTerms) + { + $this->agreedToTerms = $agreedToTerms; + } + public function getAgreedToTerms() + { + return $this->agreedToTerms; + } + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setChangePasswordAtNextLogin($changePasswordAtNextLogin) + { + $this->changePasswordAtNextLogin = $changePasswordAtNextLogin; + } + public function getChangePasswordAtNextLogin() + { + return $this->changePasswordAtNextLogin; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCustomSchemas($customSchemas) + { + $this->customSchemas = $customSchemas; + } + public function getCustomSchemas() + { + return $this->customSchemas; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setDeletionTime($deletionTime) + { + $this->deletionTime = $deletionTime; + } + public function getDeletionTime() + { + return $this->deletionTime; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExternalIds($externalIds) + { + $this->externalIds = $externalIds; + } + public function getExternalIds() + { + return $this->externalIds; + } + public function setHashFunction($hashFunction) + { + $this->hashFunction = $hashFunction; + } + public function getHashFunction() + { + return $this->hashFunction; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIms($ims) + { + $this->ims = $ims; + } + public function getIms() + { + return $this->ims; + } + public function setIncludeInGlobalAddressList($includeInGlobalAddressList) + { + $this->includeInGlobalAddressList = $includeInGlobalAddressList; + } + public function getIncludeInGlobalAddressList() + { + return $this->includeInGlobalAddressList; + } + public function setIpWhitelisted($ipWhitelisted) + { + $this->ipWhitelisted = $ipWhitelisted; + } + public function getIpWhitelisted() + { + return $this->ipWhitelisted; + } + public function setIsAdmin($isAdmin) + { + $this->isAdmin = $isAdmin; + } + public function getIsAdmin() + { + return $this->isAdmin; + } + public function setIsDelegatedAdmin($isDelegatedAdmin) + { + $this->isDelegatedAdmin = $isDelegatedAdmin; + } + public function getIsDelegatedAdmin() + { + return $this->isDelegatedAdmin; + } + public function setIsEnforcedIn2Sv($isEnforcedIn2Sv) + { + $this->isEnforcedIn2Sv = $isEnforcedIn2Sv; + } + public function getIsEnforcedIn2Sv() + { + return $this->isEnforcedIn2Sv; + } + public function setIsEnrolledIn2Sv($isEnrolledIn2Sv) + { + $this->isEnrolledIn2Sv = $isEnrolledIn2Sv; + } + public function getIsEnrolledIn2Sv() + { + return $this->isEnrolledIn2Sv; + } + public function setIsMailboxSetup($isMailboxSetup) + { + $this->isMailboxSetup = $isMailboxSetup; + } + public function getIsMailboxSetup() + { + return $this->isMailboxSetup; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastLoginTime($lastLoginTime) + { + $this->lastLoginTime = $lastLoginTime; + } + public function getLastLoginTime() + { + return $this->lastLoginTime; + } + public function setName(Google_Service_Directory_UserName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNonEditableAliases($nonEditableAliases) + { + $this->nonEditableAliases = $nonEditableAliases; + } + public function getNonEditableAliases() + { + return $this->nonEditableAliases; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPhones($phones) + { + $this->phones = $phones; + } + public function getPhones() + { + return $this->phones; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } + public function setRelations($relations) + { + $this->relations = $relations; + } + public function getRelations() + { + return $this->relations; + } + public function setSuspended($suspended) + { + $this->suspended = $suspended; + } + public function getSuspended() + { + return $this->suspended; + } + public function setSuspensionReason($suspensionReason) + { + $this->suspensionReason = $suspensionReason; + } + public function getSuspensionReason() + { + return $this->suspensionReason; + } + public function setThumbnailPhotoEtag($thumbnailPhotoEtag) + { + $this->thumbnailPhotoEtag = $thumbnailPhotoEtag; + } + public function getThumbnailPhotoEtag() + { + return $this->thumbnailPhotoEtag; + } + public function setThumbnailPhotoUrl($thumbnailPhotoUrl) + { + $this->thumbnailPhotoUrl = $thumbnailPhotoUrl; + } + public function getThumbnailPhotoUrl() + { + return $this->thumbnailPhotoUrl; + } + public function setWebsites($websites) + { + $this->websites = $websites; + } + public function getWebsites() + { + return $this->websites; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php new file mode 100644 index 00000000..10e4af5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAbout.php @@ -0,0 +1,39 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php new file mode 100644 index 00000000..0c68b39e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserAddress.php @@ -0,0 +1,138 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setExtendedAddress($extendedAddress) + { + $this->extendedAddress = $extendedAddress; + } + public function getExtendedAddress() + { + return $this->extendedAddress; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPoBox($poBox) + { + $this->poBox = $poBox; + } + public function getPoBox() + { + return $this->poBox; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSourceIsStructured($sourceIsStructured) + { + $this->sourceIsStructured = $sourceIsStructured; + } + public function getSourceIsStructured() + { + return $this->sourceIsStructured; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php new file mode 100644 index 00000000..ed684d7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserEmail.php @@ -0,0 +1,57 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php new file mode 100644 index 00000000..9eabc336 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserExternalId.php @@ -0,0 +1,48 @@ +customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php new file mode 100644 index 00000000..84522e4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserIm.php @@ -0,0 +1,75 @@ +customProtocol = $customProtocol; + } + public function getCustomProtocol() + { + return $this->customProtocol; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setIm($im) + { + $this->im = $im; + } + public function getIm() + { + return $this->im; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setProtocol($protocol) + { + $this->protocol = $protocol; + } + public function getProtocol() + { + return $this->protocol; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php new file mode 100644 index 00000000..8c5ac86b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserMakeAdmin.php @@ -0,0 +1,30 @@ +status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php new file mode 100644 index 00000000..677a5d99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserName.php @@ -0,0 +1,48 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php new file mode 100644 index 00000000..2481928b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserOrganization.php @@ -0,0 +1,120 @@ +costCenter = $costCenter; + } + public function getCostCenter() + { + return $this->costCenter; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setDepartment($department) + { + $this->department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSymbol($symbol) + { + $this->symbol = $symbol; + } + public function getSymbol() + { + return $this->symbol; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php new file mode 100644 index 00000000..2e13223c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhone.php @@ -0,0 +1,57 @@ +customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php new file mode 100644 index 00000000..f667c80b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserPhoto.php @@ -0,0 +1,93 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPhotoData($photoData) + { + $this->photoData = $photoData; + } + public function getPhotoData() + { + return $this->photoData; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php new file mode 100644 index 00000000..41e5c781 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserRelation.php @@ -0,0 +1,48 @@ +customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php new file mode 100644 index 00000000..2b166047 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserUndelete.php @@ -0,0 +1,30 @@ +orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php new file mode 100644 index 00000000..4b2d0c24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/UserWebsite.php @@ -0,0 +1,57 @@ +customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php new file mode 100644 index 00000000..ce525cf7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/Users.php @@ -0,0 +1,71 @@ + "trigger_event", + ); + public $etag; + public $kind; + public $nextPageToken; + public $triggerEvent; + protected $usersType = 'Google_Service_Directory_User'; + protected $usersDataType = 'array'; + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTriggerEvent($triggerEvent) + { + $this->triggerEvent = $triggerEvent; + } + public function getTriggerEvent() + { + return $this->triggerEvent; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php new file mode 100644 index 00000000..fbf95a3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCode.php @@ -0,0 +1,57 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } + public function setVerificationCode($verificationCode) + { + $this->verificationCode = $verificationCode; + } + public function getVerificationCode() + { + return $this->verificationCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php new file mode 100644 index 00000000..3d4a8b8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Directory/VerificationCodes.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php new file mode 100644 index 00000000..a6820eb9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns.php @@ -0,0 +1,274 @@ + + * Configures and serves authoritative DNS records.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Dns extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READONLY = + "https://www.googleapis.com/auth/ndev.clouddns.readonly"; + /** View and manage your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READWRITE = + "https://www.googleapis.com/auth/ndev.clouddns.readwrite"; + + public $changes; + public $managedZones; + public $projects; + public $resourceRecordSets; + + /** + * Constructs the internal representation of the Dns service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'dns/v1/projects/'; + $this->version = 'v1'; + $this->serviceName = 'dns'; + + $this->changes = new Google_Service_Dns_Resource_Changes( + $this, + $this->serviceName, + 'changes', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}/changes/{changeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'changeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->managedZones = new Google_Service_Dns_Resource_ManagedZones( + $this, + $this->serviceName, + 'managedZones', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dnsName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Dns_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->resourceRecordSets = new Google_Service_Dns_Resource_ResourceRecordSets( + $this, + $this->serviceName, + 'resourceRecordSets', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/managedZones/{managedZone}/rrsets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php new file mode 100644 index 00000000..7547319d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Change.php @@ -0,0 +1,78 @@ +additions = $additions; + } + public function getAdditions() + { + return $this->additions; + } + public function setDeletions($deletions) + { + $this->deletions = $deletions; + } + public function getDeletions() + { + return $this->deletions; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php new file mode 100644 index 00000000..d5966aa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ChangesListResponse.php @@ -0,0 +1,50 @@ +changes = $changes; + } + public function getChanges() + { + return $this->changes; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php new file mode 100644 index 00000000..1a325ee5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZone.php @@ -0,0 +1,94 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDnsName($dnsName) + { + $this->dnsName = $dnsName; + } + public function getDnsName() + { + return $this->dnsName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNameServerSet($nameServerSet) + { + $this->nameServerSet = $nameServerSet; + } + public function getNameServerSet() + { + return $this->nameServerSet; + } + public function setNameServers($nameServers) + { + $this->nameServers = $nameServers; + } + public function getNameServers() + { + return $this->nameServers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php new file mode 100644 index 00000000..3427f0de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ManagedZonesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedZones($managedZones) + { + $this->managedZones = $managedZones; + } + public function getManagedZones() + { + return $this->managedZones; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php new file mode 100644 index 00000000..aaa65267 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Project.php @@ -0,0 +1,58 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setQuota(Google_Service_Dns_Quota $quota) + { + $this->quota = $quota; + } + public function getQuota() + { + return $this->quota; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php new file mode 100644 index 00000000..f08f06e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Quota.php @@ -0,0 +1,84 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedZones($managedZones) + { + $this->managedZones = $managedZones; + } + public function getManagedZones() + { + return $this->managedZones; + } + public function setResourceRecordsPerRrset($resourceRecordsPerRrset) + { + $this->resourceRecordsPerRrset = $resourceRecordsPerRrset; + } + public function getResourceRecordsPerRrset() + { + return $this->resourceRecordsPerRrset; + } + public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange) + { + $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange; + } + public function getRrsetAdditionsPerChange() + { + return $this->rrsetAdditionsPerChange; + } + public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange) + { + $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange; + } + public function getRrsetDeletionsPerChange() + { + return $this->rrsetDeletionsPerChange; + } + public function setRrsetsPerManagedZone($rrsetsPerManagedZone) + { + $this->rrsetsPerManagedZone = $rrsetsPerManagedZone; + } + public function getRrsetsPerManagedZone() + { + return $this->rrsetsPerManagedZone; + } + public function setTotalRrdataSizePerChange($totalRrdataSizePerChange) + { + $this->totalRrdataSizePerChange = $totalRrdataSizePerChange; + } + public function getTotalRrdataSizePerChange() + { + return $this->totalRrdataSizePerChange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php new file mode 100644 index 00000000..49f96f93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Changes.php @@ -0,0 +1,86 @@ + + * $dnsService = new Google_Service_Dns(...); + * $changes = $dnsService->changes; + * + */ +class Google_Service_Dns_Resource_Changes extends Google_Service_Resource +{ + /** + * Atomically update the ResourceRecordSet collection. (changes.create) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param Google_Service_Dns_Change $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Change + */ + public function create($project, $managedZone, Google_Service_Dns_Change $postBody, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dns_Change"); + } + /** + * Fetch the representation of an existing Change. (changes.get) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param string $changeId The identifier of the requested change, from a + * previous ResourceRecordSetsChangeResponse. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Change + */ + public function get($project, $managedZone, $changeId, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_Change"); + } + /** + * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @opt_param string sortBy Sorting criterion. The only supported value is + * change sequence. + * @opt_param string sortOrder Sorting order direction: 'ascending' or + * 'descending'. + * @return Google_Service_Dns_ChangesListResponse + */ + public function listChanges($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ChangesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php new file mode 100644 index 00000000..bbe8316c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ManagedZones.php @@ -0,0 +1,93 @@ + + * $dnsService = new Google_Service_Dns(...); + * $managedZones = $dnsService->managedZones; + * + */ +class Google_Service_Dns_Resource_ManagedZones extends Google_Service_Resource +{ + /** + * Create a new ManagedZone. (managedZones.create) + * + * @param string $project Identifies the project addressed by this request. + * @param Google_Service_Dns_ManagedZone $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_ManagedZone + */ + public function create($project, Google_Service_Dns_ManagedZone $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dns_ManagedZone"); + } + /** + * Delete a previously created ManagedZone. (managedZones.delete) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + */ + public function delete($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Fetch the representation of an existing ManagedZone. (managedZones.get) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_ManagedZone + */ + public function get($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_ManagedZone"); + } + /** + * Enumerate ManagedZones that have been created but not yet deleted. + * (managedZones.listManagedZones) + * + * @param string $project Identifies the project addressed by this request. + * @param array $optParams Optional parameters. + * + * @opt_param string dnsName Restricts the list to return only zones with this + * domain name. + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @return Google_Service_Dns_ManagedZonesListResponse + */ + public function listManagedZones($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ManagedZonesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php new file mode 100644 index 00000000..db8ef93e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/Projects.php @@ -0,0 +1,41 @@ + + * $dnsService = new Google_Service_Dns(...); + * $projects = $dnsService->projects; + * + */ +class Google_Service_Dns_Resource_Projects extends Google_Service_Resource +{ + /** + * Fetch the representation of an existing Project. (projects.get) + * + * @param string $project Identifies the project addressed by this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Project + */ + public function get($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_Project"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php new file mode 100644 index 00000000..ee539fdf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/Resource/ResourceRecordSets.php @@ -0,0 +1,54 @@ + + * $dnsService = new Google_Service_Dns(...); + * $resourceRecordSets = $dnsService->resourceRecordSets; + * + */ +class Google_Service_Dns_Resource_ResourceRecordSets extends Google_Service_Resource +{ + /** + * Enumerate ResourceRecordSets that have been created but not yet deleted. + * (resourceRecordSets.listResourceRecordSets) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @opt_param string name Restricts the list to return only records with this + * fully qualified domain name. + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @opt_param string type Restricts the list to return only records of this + * type. If present, the "name" parameter must also be present. + * @return Google_Service_Dns_ResourceRecordSetsListResponse + */ + public function listResourceRecordSets($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ResourceRecordSetsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php new file mode 100644 index 00000000..6a057eac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSet.php @@ -0,0 +1,67 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRrdatas($rrdatas) + { + $this->rrdatas = $rrdatas; + } + public function getRrdatas() + { + return $this->rrdatas; + } + public function setTtl($ttl) + { + $this->ttl = $ttl; + } + public function getTtl() + { + return $this->ttl; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php new file mode 100644 index 00000000..e86438f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Dns/ResourceRecordSetsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRrsets($rrsets) + { + $this->rrsets = $rrsets; + } + public function getRrsets() + { + return $this->rrsets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php new file mode 100644 index 00000000..656266ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php @@ -0,0 +1,155 @@ + + * API for viewing and managing your reports in DoubleClick Bid Manager.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_DoubleClickBidManager extends Google_Service +{ + + + public $lineitems; + public $queries; + public $reports; + public $sdf; + + /** + * Constructs the internal representation of the DoubleClickBidManager + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'doubleclickbidmanager/v1/'; + $this->version = 'v1'; + $this->serviceName = 'doubleclickbidmanager'; + + $this->lineitems = new Google_Service_DoubleClickBidManager_Resource_Lineitems( + $this, + $this->serviceName, + 'lineitems', + array( + 'methods' => array( + 'downloadlineitems' => array( + 'path' => 'lineitems/downloadlineitems', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'uploadlineitems' => array( + 'path' => 'lineitems/uploadlineitems', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->queries = new Google_Service_DoubleClickBidManager_Resource_Queries( + $this, + $this->serviceName, + 'queries', + array( + 'methods' => array( + 'createquery' => array( + 'path' => 'query', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'deletequery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getquery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'listqueries' => array( + 'path' => 'queries', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'runquery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_DoubleClickBidManager_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'listreports' => array( + 'path' => 'queries/{queryId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sdf = new Google_Service_DoubleClickBidManager_Resource_Sdf( + $this, + $this->serviceName, + 'sdf', + array( + 'methods' => array( + 'download' => array( + 'path' => 'sdf/download', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php new file mode 100644 index 00000000..08bb5c9d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsRequest.php @@ -0,0 +1,58 @@ +fileSpec = $fileSpec; + } + public function getFileSpec() + { + return $this->fileSpec; + } + public function setFilterIds($filterIds) + { + $this->filterIds = $filterIds; + } + public function getFilterIds() + { + return $this->filterIds; + } + public function setFilterType($filterType) + { + $this->filterType = $filterType; + } + public function getFilterType() + { + return $this->filterType; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php new file mode 100644 index 00000000..5fcebc41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadLineItemsResponse.php @@ -0,0 +1,30 @@ +lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php new file mode 100644 index 00000000..062a89b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadRequest.php @@ -0,0 +1,58 @@ +fileTypes = $fileTypes; + } + public function getFileTypes() + { + return $this->fileTypes; + } + public function setFilterIds($filterIds) + { + $this->filterIds = $filterIds; + } + public function getFilterIds() + { + return $this->filterIds; + } + public function setFilterType($filterType) + { + $this->filterType = $filterType; + } + public function getFilterType() + { + return $this->filterType; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php new file mode 100644 index 00000000..4a289e82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/DownloadResponse.php @@ -0,0 +1,57 @@ +adGroups = $adGroups; + } + public function getAdGroups() + { + return $this->adGroups; + } + public function setAds($ads) + { + $this->ads = $ads; + } + public function getAds() + { + return $this->ads; + } + public function setInsertionOrders($insertionOrders) + { + $this->insertionOrders = $insertionOrders; + } + public function getInsertionOrders() + { + return $this->insertionOrders; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php new file mode 100644 index 00000000..af28d25d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/FilterPair.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php new file mode 100644 index 00000000..ff2d7ec7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListQueriesResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setQueries($queries) + { + $this->queries = $queries; + } + public function getQueries() + { + return $this->queries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php new file mode 100644 index 00000000..45295b01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ListReportsResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setReports($reports) + { + $this->reports = $reports; + } + public function getReports() + { + return $this->reports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php new file mode 100644 index 00000000..1443b729 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Note.php @@ -0,0 +1,66 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php new file mode 100644 index 00000000..81bf5449 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/NotifyProposalChangeRequest.php @@ -0,0 +1,68 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php new file mode 100644 index 00000000..6d16406f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Parameters.php @@ -0,0 +1,68 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setGroupBys($groupBys) + { + $this->groupBys = $groupBys; + } + public function getGroupBys() + { + return $this->groupBys; + } + public function setIncludeInviteData($includeInviteData) + { + $this->includeInviteData = $includeInviteData; + } + public function getIncludeInviteData() + { + return $this->includeInviteData; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php new file mode 100644 index 00000000..bed6d208 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Query.php @@ -0,0 +1,96 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetadata(Google_Service_DoubleClickBidManager_QueryMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setQueryId($queryId) + { + $this->queryId = $queryId; + } + public function getQueryId() + { + return $this->queryId; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setSchedule(Google_Service_DoubleClickBidManager_QuerySchedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setTimezoneCode($timezoneCode) + { + $this->timezoneCode = $timezoneCode; + } + public function getTimezoneCode() + { + return $this->timezoneCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php new file mode 100644 index 00000000..5409a6b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php @@ -0,0 +1,121 @@ +dataRange = $dataRange; + } + public function getDataRange() + { + return $this->dataRange; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setGoogleCloudStoragePathForLatestReport($googleCloudStoragePathForLatestReport) + { + $this->googleCloudStoragePathForLatestReport = $googleCloudStoragePathForLatestReport; + } + public function getGoogleCloudStoragePathForLatestReport() + { + return $this->googleCloudStoragePathForLatestReport; + } + public function setGoogleDrivePathForLatestReport($googleDrivePathForLatestReport) + { + $this->googleDrivePathForLatestReport = $googleDrivePathForLatestReport; + } + public function getGoogleDrivePathForLatestReport() + { + return $this->googleDrivePathForLatestReport; + } + public function setLatestReportRunTimeMs($latestReportRunTimeMs) + { + $this->latestReportRunTimeMs = $latestReportRunTimeMs; + } + public function getLatestReportRunTimeMs() + { + return $this->latestReportRunTimeMs; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setReportCount($reportCount) + { + $this->reportCount = $reportCount; + } + public function getReportCount() + { + return $this->reportCount; + } + public function setRunning($running) + { + $this->running = $running; + } + public function getRunning() + { + return $this->running; + } + public function setSendNotification($sendNotification) + { + $this->sendNotification = $sendNotification; + } + public function getSendNotification() + { + return $this->sendNotification; + } + public function setShareEmailAddress($shareEmailAddress) + { + $this->shareEmailAddress = $shareEmailAddress; + } + public function getShareEmailAddress() + { + return $this->shareEmailAddress; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php new file mode 100644 index 00000000..47268685 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QuerySchedule.php @@ -0,0 +1,57 @@ +endTimeMs = $endTimeMs; + } + public function getEndTimeMs() + { + return $this->endTimeMs; + } + public function setFrequency($frequency) + { + $this->frequency = $frequency; + } + public function getFrequency() + { + return $this->frequency; + } + public function setNextRunMinuteOfDay($nextRunMinuteOfDay) + { + $this->nextRunMinuteOfDay = $nextRunMinuteOfDay; + } + public function getNextRunMinuteOfDay() + { + return $this->nextRunMinuteOfDay; + } + public function setNextRunTimezoneCode($nextRunTimezoneCode) + { + $this->nextRunTimezoneCode = $nextRunTimezoneCode; + } + public function getNextRunTimezoneCode() + { + return $this->nextRunTimezoneCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php new file mode 100644 index 00000000..1a146db4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Report.php @@ -0,0 +1,51 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setMetadata(Google_Service_DoubleClickBidManager_ReportMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php new file mode 100644 index 00000000..99be54fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportFailure.php @@ -0,0 +1,30 @@ +errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php new file mode 100644 index 00000000..7c1f30dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportKey.php @@ -0,0 +1,39 @@ +queryId = $queryId; + } + public function getQueryId() + { + return $this->queryId; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php new file mode 100644 index 00000000..8f4d9342 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportMetadata.php @@ -0,0 +1,58 @@ +googleCloudStoragePath = $googleCloudStoragePath; + } + public function getGoogleCloudStoragePath() + { + return $this->googleCloudStoragePath; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setStatus(Google_Service_DoubleClickBidManager_ReportStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php new file mode 100644 index 00000000..83f35473 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/ReportStatus.php @@ -0,0 +1,58 @@ +failure = $failure; + } + public function getFailure() + { + return $this->failure; + } + public function setFinishTimeMs($finishTimeMs) + { + $this->finishTimeMs = $finishTimeMs; + } + public function getFinishTimeMs() + { + return $this->finishTimeMs; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php new file mode 100644 index 00000000..4dc8fe19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Lineitems.php @@ -0,0 +1,54 @@ + + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $lineitems = $doubleclickbidmanagerService->lineitems; + * + */ +class Google_Service_DoubleClickBidManager_Resource_Lineitems extends Google_Service_Resource +{ + /** + * Retrieves line items in CSV format. (lineitems.downloadlineitems) + * + * @param Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_DownloadLineItemsResponse + */ + public function downloadlineitems(Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('downloadlineitems', array($params), "Google_Service_DoubleClickBidManager_DownloadLineItemsResponse"); + } + /** + * Uploads line items in CSV format. (lineitems.uploadlineitems) + * + * @param Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_UploadLineItemsResponse + */ + public function uploadlineitems(Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('uploadlineitems', array($params), "Google_Service_DoubleClickBidManager_UploadLineItemsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php new file mode 100644 index 00000000..86e13458 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Queries.php @@ -0,0 +1,92 @@ + + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $queries = $doubleclickbidmanagerService->queries; + * + */ +class Google_Service_DoubleClickBidManager_Resource_Queries extends Google_Service_Resource +{ + /** + * Creates a query. (queries.createquery) + * + * @param Google_Service_DoubleClickBidManager_Query $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_Query + */ + public function createquery(Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createquery', array($params), "Google_Service_DoubleClickBidManager_Query"); + } + /** + * Deletes a stored query as well as the associated stored reports. + * (queries.deletequery) + * + * @param string $queryId Query ID to delete. + * @param array $optParams Optional parameters. + */ + public function deletequery($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('deletequery', array($params)); + } + /** + * Retrieves a stored query. (queries.getquery) + * + * @param string $queryId Query ID to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_Query + */ + public function getquery($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('getquery', array($params), "Google_Service_DoubleClickBidManager_Query"); + } + /** + * Retrieves stored queries. (queries.listqueries) + * + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_ListQueriesResponse + */ + public function listqueries($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listqueries', array($params), "Google_Service_DoubleClickBidManager_ListQueriesResponse"); + } + /** + * Runs a stored query to generate a report. (queries.runquery) + * + * @param string $queryId Query ID to run. + * @param Google_Service_DoubleClickBidManager_RunQueryRequest $postBody + * @param array $optParams Optional parameters. + */ + public function runquery($queryId, Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array()) + { + $params = array('queryId' => $queryId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('runquery', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php new file mode 100644 index 00000000..a6e3e956 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Reports.php @@ -0,0 +1,41 @@ + + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $reports = $doubleclickbidmanagerService->reports; + * + */ +class Google_Service_DoubleClickBidManager_Resource_Reports extends Google_Service_Resource +{ + /** + * Retrieves stored reports. (reports.listreports) + * + * @param string $queryId Query ID with which the reports are associated. + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_ListReportsResponse + */ + public function listreports($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('listreports', array($params), "Google_Service_DoubleClickBidManager_ListReportsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php new file mode 100644 index 00000000..e45fe907 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Rubicon.php @@ -0,0 +1,41 @@ + + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $rubicon = $doubleclickbidmanagerService->rubicon; + * + */ +class Google_Service_DoubleClickBidManager_Resource_Rubicon extends Google_Service_Resource +{ + /** + * Update proposal upon actions of Rubicon publisher. + * (rubicon.notifyproposalchange) + * + * @param Google_Service_DoubleClickBidManager_NotifyProposalChangeRequest $postBody + * @param array $optParams Optional parameters. + */ + public function notifyproposalchange(Google_Service_DoubleClickBidManager_NotifyProposalChangeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('notifyproposalchange', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php new file mode 100644 index 00000000..c94ee4a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/Resource/Sdf.php @@ -0,0 +1,41 @@ + + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $sdf = $doubleclickbidmanagerService->sdf; + * + */ +class Google_Service_DoubleClickBidManager_Resource_Sdf extends Google_Service_Resource +{ + /** + * Retrieves entities in SDF format. (sdf.download) + * + * @param Google_Service_DoubleClickBidManager_DownloadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_DownloadResponse + */ + public function download(Google_Service_DoubleClickBidManager_DownloadRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('download', array($params), "Google_Service_DoubleClickBidManager_DownloadResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php new file mode 100644 index 00000000..5644fe13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RowStatus.php @@ -0,0 +1,76 @@ +changed = $changed; + } + public function getChanged() + { + return $this->changed; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEntityName($entityName) + { + $this->entityName = $entityName; + } + public function getEntityName() + { + return $this->entityName; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setPersisted($persisted) + { + $this->persisted = $persisted; + } + public function getPersisted() + { + return $this->persisted; + } + public function setRowNumber($rowNumber) + { + $this->rowNumber = $rowNumber; + } + public function getRowNumber() + { + return $this->rowNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php new file mode 100644 index 00000000..3345b965 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/RunQueryRequest.php @@ -0,0 +1,57 @@ +dataRange = $dataRange; + } + public function getDataRange() + { + return $this->dataRange; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setTimezoneCode($timezoneCode) + { + $this->timezoneCode = $timezoneCode; + } + public function getTimezoneCode() + { + return $this->timezoneCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php new file mode 100644 index 00000000..bc26187c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsRequest.php @@ -0,0 +1,48 @@ +dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php new file mode 100644 index 00000000..ec9dc789 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadLineItemsResponse.php @@ -0,0 +1,31 @@ +uploadStatus = $uploadStatus; + } + public function getUploadStatus() + { + return $this->uploadStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php new file mode 100644 index 00000000..258519c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/DoubleClickBidManager/UploadStatus.php @@ -0,0 +1,41 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setRowStatus($rowStatus) + { + $this->rowStatus = $rowStatus; + } + public function getRowStatus() + { + return $this->rowStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php new file mode 100644 index 00000000..6df519f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch.php @@ -0,0 +1,242 @@ + + * Reports and modifies your advertising data in DoubleClick Search (for + * example, campaigns, ad groups, keywords, and conversions).

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Doubleclicksearch extends Google_Service +{ + /** View and manage your advertising data in DoubleClick Search. */ + const DOUBLECLICKSEARCH = + "https://www.googleapis.com/auth/doubleclicksearch"; + + public $conversion; + public $reports; + public $savedColumns; + + /** + * Constructs the internal representation of the Doubleclicksearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'doubleclicksearch/v2/'; + $this->version = 'v2'; + $this->serviceName = 'doubleclicksearch'; + + $this->conversion = new Google_Service_Doubleclicksearch_Resource_Conversion( + $this, + $this->serviceName, + 'conversion', + array( + 'methods' => array( + 'get' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'adGroupId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'adId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'criterionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'conversion', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'conversion', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'agencyId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'conversion', + 'httpMethod' => 'PUT', + 'parameters' => array(), + ),'updateAvailability' => array( + 'path' => 'conversion/updateAvailability', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->reports = new Google_Service_Doubleclicksearch_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports/generate', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getFile' => array( + 'path' => 'reports/{reportId}/files/{reportFragment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportFragment' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'request' => array( + 'path' => 'reports', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->savedColumns = new Google_Service_Doubleclicksearch_Resource_SavedColumns( + $this, + $this->serviceName, + 'savedColumns', + array( + 'methods' => array( + 'list' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php new file mode 100644 index 00000000..9487d037 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Availability.php @@ -0,0 +1,75 @@ +advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAvailabilityTimestamp($availabilityTimestamp) + { + $this->availabilityTimestamp = $availabilityTimestamp; + } + public function getAvailabilityTimestamp() + { + return $this->availabilityTimestamp; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php new file mode 100644 index 00000000..8ea6e5b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Conversion.php @@ -0,0 +1,321 @@ +adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAttributionModel($attributionModel) + { + $this->attributionModel = $attributionModel; + } + public function getAttributionModel() + { + return $this->attributionModel; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setClickId($clickId) + { + $this->clickId = $clickId; + } + public function getClickId() + { + return $this->clickId; + } + public function setConversionId($conversionId) + { + $this->conversionId = $conversionId; + } + public function getConversionId() + { + return $this->conversionId; + } + public function setConversionModifiedTimestamp($conversionModifiedTimestamp) + { + $this->conversionModifiedTimestamp = $conversionModifiedTimestamp; + } + public function getConversionModifiedTimestamp() + { + return $this->conversionModifiedTimestamp; + } + public function setConversionTimestamp($conversionTimestamp) + { + $this->conversionTimestamp = $conversionTimestamp; + } + public function getConversionTimestamp() + { + return $this->conversionTimestamp; + } + public function setCountMillis($countMillis) + { + $this->countMillis = $countMillis; + } + public function getCountMillis() + { + return $this->countMillis; + } + public function setCriterionId($criterionId) + { + $this->criterionId = $criterionId; + } + public function getCriterionId() + { + return $this->criterionId; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setCustomDimension($customDimension) + { + $this->customDimension = $customDimension; + } + public function getCustomDimension() + { + return $this->customDimension; + } + public function setCustomMetric($customMetric) + { + $this->customMetric = $customMetric; + } + public function getCustomMetric() + { + return $this->customMetric; + } + public function setDeviceType($deviceType) + { + $this->deviceType = $deviceType; + } + public function getDeviceType() + { + return $this->deviceType; + } + public function setDsConversionId($dsConversionId) + { + $this->dsConversionId = $dsConversionId; + } + public function getDsConversionId() + { + return $this->dsConversionId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setFloodlightOrderId($floodlightOrderId) + { + $this->floodlightOrderId = $floodlightOrderId; + } + public function getFloodlightOrderId() + { + return $this->floodlightOrderId; + } + public function setInventoryAccountId($inventoryAccountId) + { + $this->inventoryAccountId = $inventoryAccountId; + } + public function getInventoryAccountId() + { + return $this->inventoryAccountId; + } + public function setProductCountry($productCountry) + { + $this->productCountry = $productCountry; + } + public function getProductCountry() + { + return $this->productCountry; + } + public function setProductGroupId($productGroupId) + { + $this->productGroupId = $productGroupId; + } + public function getProductGroupId() + { + return $this->productGroupId; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductLanguage($productLanguage) + { + $this->productLanguage = $productLanguage; + } + public function getProductLanguage() + { + return $this->productLanguage; + } + public function setQuantityMillis($quantityMillis) + { + $this->quantityMillis = $quantityMillis; + } + public function getQuantityMillis() + { + return $this->quantityMillis; + } + public function setRevenueMicros($revenueMicros) + { + $this->revenueMicros = $revenueMicros; + } + public function getRevenueMicros() + { + return $this->revenueMicros; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStoreId($storeId) + { + $this->storeId = $storeId; + } + public function getStoreId() + { + return $this->storeId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php new file mode 100644 index 00000000..14ec937d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ConversionList.php @@ -0,0 +1,41 @@ +conversion = $conversion; + } + public function getConversion() + { + return $this->conversion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php new file mode 100644 index 00000000..2df84411 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomDimension.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php new file mode 100644 index 00000000..3f499106 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/CustomMetric.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php new file mode 100644 index 00000000..1b696dab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Report.php @@ -0,0 +1,105 @@ +files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsReportReady($isReportReady) + { + $this->isReportReady = $isReportReady; + } + public function getIsReportReady() + { + return $this->isReportReady; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequest(Google_Service_Doubleclicksearch_ReportRequest $request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStatisticsCurrencyCode($statisticsCurrencyCode) + { + $this->statisticsCurrencyCode = $statisticsCurrencyCode; + } + public function getStatisticsCurrencyCode() + { + return $this->statisticsCurrencyCode; + } + public function setStatisticsTimeZone($statisticsTimeZone) + { + $this->statisticsTimeZone = $statisticsTimeZone; + } + public function getStatisticsTimeZone() + { + return $this->statisticsTimeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php new file mode 100644 index 00000000..c4a3a4b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportApiColumnSpec.php @@ -0,0 +1,111 @@ +columnName = $columnName; + } + public function getColumnName() + { + return $this->columnName; + } + public function setCustomDimensionName($customDimensionName) + { + $this->customDimensionName = $customDimensionName; + } + public function getCustomDimensionName() + { + return $this->customDimensionName; + } + public function setCustomMetricName($customMetricName) + { + $this->customMetricName = $customMetricName; + } + public function getCustomMetricName() + { + return $this->customMetricName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setGroupByColumn($groupByColumn) + { + $this->groupByColumn = $groupByColumn; + } + public function getGroupByColumn() + { + return $this->groupByColumn; + } + public function setHeaderText($headerText) + { + $this->headerText = $headerText; + } + public function getHeaderText() + { + return $this->headerText; + } + public function setPlatformSource($platformSource) + { + $this->platformSource = $platformSource; + } + public function getPlatformSource() + { + return $this->platformSource; + } + public function setProductReportPerspective($productReportPerspective) + { + $this->productReportPerspective = $productReportPerspective; + } + public function getProductReportPerspective() + { + return $this->productReportPerspective; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php new file mode 100644 index 00000000..e0a0aaa6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportFiles.php @@ -0,0 +1,39 @@ +byteCount = $byteCount; + } + public function getByteCount() + { + return $this->byteCount; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php new file mode 100644 index 00000000..8fb74a78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequest.php @@ -0,0 +1,153 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setDownloadFormat($downloadFormat) + { + $this->downloadFormat = $downloadFormat; + } + public function getDownloadFormat() + { + return $this->downloadFormat; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIncludeDeletedEntities($includeDeletedEntities) + { + $this->includeDeletedEntities = $includeDeletedEntities; + } + public function getIncludeDeletedEntities() + { + return $this->includeDeletedEntities; + } + public function setIncludeRemovedEntities($includeRemovedEntities) + { + $this->includeRemovedEntities = $includeRemovedEntities; + } + public function getIncludeRemovedEntities() + { + return $this->includeRemovedEntities; + } + public function setMaxRowsPerFile($maxRowsPerFile) + { + $this->maxRowsPerFile = $maxRowsPerFile; + } + public function getMaxRowsPerFile() + { + return $this->maxRowsPerFile; + } + public function setOrderBy($orderBy) + { + $this->orderBy = $orderBy; + } + public function getOrderBy() + { + return $this->orderBy; + } + public function setReportScope(Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope) + { + $this->reportScope = $reportScope; + } + public function getReportScope() + { + return $this->reportScope; + } + public function setReportType($reportType) + { + $this->reportType = $reportType; + } + public function getReportType() + { + return $this->reportType; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setStartRow($startRow) + { + $this->startRow = $startRow; + } + public function getStartRow() + { + return $this->startRow; + } + public function setStatisticsCurrency($statisticsCurrency) + { + $this->statisticsCurrency = $statisticsCurrency; + } + public function getStatisticsCurrency() + { + return $this->statisticsCurrency; + } + public function setTimeRange(Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange) + { + $this->timeRange = $timeRange; + } + public function getTimeRange() + { + return $this->timeRange; + } + public function setVerifySingleTimeZone($verifySingleTimeZone) + { + $this->verifySingleTimeZone = $verifySingleTimeZone; + } + public function getVerifySingleTimeZone() + { + return $this->verifySingleTimeZone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php new file mode 100644 index 00000000..b3329743 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestFilters.php @@ -0,0 +1,50 @@ +column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php new file mode 100644 index 00000000..c2967c6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestOrderBy.php @@ -0,0 +1,40 @@ +column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php new file mode 100644 index 00000000..2323f7a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestReportScope.php @@ -0,0 +1,84 @@ +adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setKeywordId($keywordId) + { + $this->keywordId = $keywordId; + } + public function getKeywordId() + { + return $this->keywordId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php new file mode 100644 index 00000000..d8c6338e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/ReportRequestTimeRange.php @@ -0,0 +1,57 @@ +changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp; + } + public function getChangedAttributesSinceTimestamp() + { + return $this->changedAttributesSinceTimestamp; + } + public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp) + { + $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp; + } + public function getChangedMetricsSinceTimestamp() + { + return $this->changedMetricsSinceTimestamp; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php new file mode 100644 index 00000000..b7d6342e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php @@ -0,0 +1,121 @@ + + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $conversion = $doubleclicksearchService->conversion; + * + */ +class Google_Service_Doubleclicksearch_Resource_Conversion extends Google_Service_Resource +{ + /** + * Retrieves a list of conversions from a DoubleClick Search engine account. + * (conversion.get) + * + * @param string $agencyId Numeric ID of the agency. + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param array $optParams Optional parameters. + * + * @opt_param string adGroupId Numeric ID of the ad group. + * @opt_param string adId Numeric ID of the ad. + * @opt_param string campaignId Numeric ID of the campaign. + * @opt_param string criterionId Numeric ID of the criterion. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + /** + * Inserts a batch of new conversions into DoubleClick Search. + * (conversion.insert) + * + * @param Google_Service_Doubleclicksearch_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + /** + * Updates a batch of conversions in DoubleClick Search. This method supports + * patch semantics. (conversion.patch) + * + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $agencyId Numeric ID of the agency. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param Google_Service_Doubleclicksearch_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + /** + * Updates a batch of conversions in DoubleClick Search. (conversion.update) + * + * @param Google_Service_Doubleclicksearch_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + /** + * Updates the availabilities of a batch of floodlight activities in DoubleClick + * Search. (conversion.updateAvailability) + * + * @param Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse + */ + public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php new file mode 100644 index 00000000..51f76f13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php @@ -0,0 +1,80 @@ + + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $reports = $doubleclicksearchService->reports; + * + */ +class Google_Service_Doubleclicksearch_Resource_Reports extends Google_Service_Resource +{ + /** + * Generates and returns a report immediately. (reports.generate) + * + * @param Google_Service_Doubleclicksearch_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_Doubleclicksearch_Report"); + } + /** + * Polls for the status of a report request. (reports.get) + * + * @param string $reportId ID of the report request being polled. + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function get($reportId, $optParams = array()) + { + $params = array('reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Doubleclicksearch_Report"); + } + /** + * Downloads a report file encoded in UTF-8. (reports.getFile) + * + * @param string $reportId ID of the report. + * @param int $reportFragment The index of the report fragment to download. + * @param array $optParams Optional parameters. + */ + public function getFile($reportId, $reportFragment, $optParams = array()) + { + $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment); + $params = array_merge($params, $optParams); + return $this->call('getFile', array($params)); + } + /** + * Inserts a report request into the reporting system. (reports.request) + * + * @param Google_Service_Doubleclicksearch_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php new file mode 100644 index 00000000..52783ab0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php @@ -0,0 +1,43 @@ + + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $savedColumns = $doubleclicksearchService->savedColumns; + * + */ +class Google_Service_Doubleclicksearch_Resource_SavedColumns extends Google_Service_Resource +{ + /** + * Retrieve the list of saved columns for a specified advertiser. + * (savedColumns.listSavedColumns) + * + * @param string $agencyId DS ID of the agency. + * @param string $advertiserId DS ID of the advertiser. + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_SavedColumnList + */ + public function listSavedColumns($agencyId, $advertiserId, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php new file mode 100644 index 00000000..2328e440 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumn.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php new file mode 100644 index 00000000..1eab97b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/SavedColumnList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php new file mode 100644 index 00000000..aab3acbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityRequest.php @@ -0,0 +1,32 @@ +availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php new file mode 100644 index 00000000..7e43f5a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Doubleclicksearch/UpdateAvailabilityResponse.php @@ -0,0 +1,32 @@ +availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php new file mode 100644 index 00000000..8bfdfe79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive.php @@ -0,0 +1,914 @@ + + * Manages files in Drive including uploading, downloading, searching, detecting + * changes, and updating sharing permissions.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Drive extends Google_Service +{ + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage its own configuration data in your Google Drive. */ + const DRIVE_APPDATA = + "https://www.googleapis.com/auth/drive.appdata"; + /** View and manage Google Drive files and folders that you have opened or created with this app. */ + const DRIVE_FILE = + "https://www.googleapis.com/auth/drive.file"; + /** View and manage metadata of files in your Google Drive. */ + const DRIVE_METADATA = + "https://www.googleapis.com/auth/drive.metadata"; + /** View metadata for files in your Google Drive. */ + const DRIVE_METADATA_READONLY = + "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the photos, videos and albums in your Google Photos. */ + const DRIVE_PHOTOS_READONLY = + "https://www.googleapis.com/auth/drive.photos.readonly"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + /** Modify your Google Apps Script scripts' behavior. */ + const DRIVE_SCRIPTS = + "https://www.googleapis.com/auth/drive.scripts"; + + public $about; + public $changes; + public $channels; + public $comments; + public $files; + public $permissions; + public $replies; + public $revisions; + public $teamdrives; + + /** + * Constructs the internal representation of the Drive service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'drive/v3/'; + $this->version = 'v3'; + $this->serviceName = 'drive'; + + $this->about = new Google_Service_Drive_Resource_About( + $this, + $this->serviceName, + 'about', + array( + 'methods' => array( + 'get' => array( + 'path' => 'about', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->changes = new Google_Service_Drive_Resource_Changes( + $this, + $this->serviceName, + 'changes', + array( + 'methods' => array( + 'getStartPageToken' => array( + 'path' => 'changes/startPageToken', + 'httpMethod' => 'GET', + 'parameters' => array( + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'teamDriveId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'changes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'includeCorpusRemovals' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeRemoved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeTeamDriveItems' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'restrictToMyDrive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'teamDriveId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'changes/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'includeCorpusRemovals' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeRemoved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeTeamDriveItems' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'restrictToMyDrive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'teamDriveId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Drive_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->comments = new Google_Service_Drive_Resource_Comments( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'create' => array( + 'path' => 'files/{fileId}/comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startModifiedTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->files = new Google_Service_Drive_Resource_Files( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'copy' => array( + 'path' => 'files/{fileId}/copy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreDefaultVisibility' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'keepRevisionForever' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'create' => array( + 'path' => 'files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'ignoreDefaultVisibility' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'keepRevisionForever' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'useContentAsIndexableText' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'emptyTrash' => array( + 'path' => 'files/trash', + 'httpMethod' => 'DELETE', + 'parameters' => array(), + ),'export' => array( + 'path' => 'files/{fileId}/export', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'mimeType' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateIds' => array( + 'path' => 'files/generateIds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'space' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledgeAbuse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'corpora' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'corpus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeTeamDriveItems' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'teamDriveId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'addParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'keepRevisionForever' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'removeParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'useContentAsIndexableText' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'watch' => array( + 'path' => 'files/{fileId}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledgeAbuse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->permissions = new Google_Service_Drive_Resource_Permissions( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'files/{fileId}/permissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'emailMessage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sendNotificationEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'transferOwnership' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'removeExpiration' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsTeamDrives' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'transferOwnership' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->replies = new Google_Service_Drive_Resource_Replies( + $this, + $this->serviceName, + 'replies', + array( + 'methods' => array( + 'create' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->revisions = new Google_Service_Drive_Resource_Revisions( + $this, + $this->serviceName, + 'revisions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledgeAbuse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/revisions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->teamdrives = new Google_Service_Drive_Resource_Teamdrives( + $this, + $this->serviceName, + 'teamdrives', + array( + 'methods' => array( + 'create' => array( + 'path' => 'teamdrives', + 'httpMethod' => 'POST', + 'parameters' => array( + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'teamdrives/{teamDriveId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'teamDriveId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'teamdrives/{teamDriveId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamDriveId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'teamdrives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'teamdrives/{teamDriveId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'teamDriveId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php new file mode 100644 index 00000000..07d73694 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/About.php @@ -0,0 +1,105 @@ +appInstalled = $appInstalled; + } + public function getAppInstalled() + { + return $this->appInstalled; + } + public function setExportFormats($exportFormats) + { + $this->exportFormats = $exportFormats; + } + public function getExportFormats() + { + return $this->exportFormats; + } + public function setFolderColorPalette($folderColorPalette) + { + $this->folderColorPalette = $folderColorPalette; + } + public function getFolderColorPalette() + { + return $this->folderColorPalette; + } + public function setImportFormats($importFormats) + { + $this->importFormats = $importFormats; + } + public function getImportFormats() + { + return $this->importFormats; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxImportSizes($maxImportSizes) + { + $this->maxImportSizes = $maxImportSizes; + } + public function getMaxImportSizes() + { + return $this->maxImportSizes; + } + public function setMaxUploadSize($maxUploadSize) + { + $this->maxUploadSize = $maxUploadSize; + } + public function getMaxUploadSize() + { + return $this->maxUploadSize; + } + public function setStorageQuota(Google_Service_Drive_AboutStorageQuota $storageQuota) + { + $this->storageQuota = $storageQuota; + } + public function getStorageQuota() + { + return $this->storageQuota; + } + public function setUser(Google_Service_Drive_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php new file mode 100644 index 00000000..67aa7530 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/AboutStorageQuota.php @@ -0,0 +1,57 @@ +limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setUsage($usage) + { + $this->usage = $usage; + } + public function getUsage() + { + return $this->usage; + } + public function setUsageInDrive($usageInDrive) + { + $this->usageInDrive = $usageInDrive; + } + public function getUsageInDrive() + { + return $this->usageInDrive; + } + public function setUsageInDriveTrash($usageInDriveTrash) + { + $this->usageInDriveTrash = $usageInDriveTrash; + } + public function getUsageInDriveTrash() + { + return $this->usageInDriveTrash; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php new file mode 100644 index 00000000..d4755a46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Change.php @@ -0,0 +1,95 @@ +file = $file; + } + public function getFile() + { + return $this->file; + } + public function setFileId($fileId) + { + $this->fileId = $fileId; + } + public function getFileId() + { + return $this->fileId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRemoved($removed) + { + $this->removed = $removed; + } + public function getRemoved() + { + return $this->removed; + } + public function setTeamDrive(Google_Service_Drive_TeamDrive $teamDrive) + { + $this->teamDrive = $teamDrive; + } + public function getTeamDrive() + { + return $this->teamDrive; + } + public function setTeamDriveId($teamDriveId) + { + $this->teamDriveId = $teamDriveId; + } + public function getTeamDriveId() + { + return $this->teamDriveId; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php new file mode 100644 index 00000000..406447be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ChangeList.php @@ -0,0 +1,59 @@ +changes = $changes; + } + public function getChanges() + { + return $this->changes; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewStartPageToken($newStartPageToken) + { + $this->newStartPageToken = $newStartPageToken; + } + public function getNewStartPageToken() + { + return $this->newStartPageToken; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php new file mode 100644 index 00000000..e3208a3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Channel.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php new file mode 100644 index 00000000..baa836d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Comment.php @@ -0,0 +1,133 @@ +anchor = $anchor; + } + public function getAnchor() + { + return $this->anchor; + } + public function setAuthor(Google_Service_Drive_User $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setHtmlContent($htmlContent) + { + $this->htmlContent = $htmlContent; + } + public function getHtmlContent() + { + return $this->htmlContent; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTime($modifiedTime) + { + $this->modifiedTime = $modifiedTime; + } + public function getModifiedTime() + { + return $this->modifiedTime; + } + public function setQuotedFileContent(Google_Service_Drive_CommentQuotedFileContent $quotedFileContent) + { + $this->quotedFileContent = $quotedFileContent; + } + public function getQuotedFileContent() + { + return $this->quotedFileContent; + } + public function setReplies($replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setResolved($resolved) + { + $this->resolved = $resolved; + } + public function getResolved() + { + return $this->resolved; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php new file mode 100644 index 00000000..d6b49c46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentList.php @@ -0,0 +1,50 @@ +comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php new file mode 100644 index 00000000..9a257728 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/CommentQuotedFileContent.php @@ -0,0 +1,39 @@ +mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php new file mode 100644 index 00000000..36fb42d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFile.php @@ -0,0 +1,490 @@ +appProperties = $appProperties; + } + public function getAppProperties() + { + return $this->appProperties; + } + public function setCapabilities(Google_Service_Drive_DriveFileCapabilities $capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setContentHints(Google_Service_Drive_DriveFileContentHints $contentHints) + { + $this->contentHints = $contentHints; + } + public function getContentHints() + { + return $this->contentHints; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExplicitlyTrashed($explicitlyTrashed) + { + $this->explicitlyTrashed = $explicitlyTrashed; + } + public function getExplicitlyTrashed() + { + return $this->explicitlyTrashed; + } + public function setFileExtension($fileExtension) + { + $this->fileExtension = $fileExtension; + } + public function getFileExtension() + { + return $this->fileExtension; + } + public function setFolderColorRgb($folderColorRgb) + { + $this->folderColorRgb = $folderColorRgb; + } + public function getFolderColorRgb() + { + return $this->folderColorRgb; + } + public function setFullFileExtension($fullFileExtension) + { + $this->fullFileExtension = $fullFileExtension; + } + public function getFullFileExtension() + { + return $this->fullFileExtension; + } + public function setHasAugmentedPermissions($hasAugmentedPermissions) + { + $this->hasAugmentedPermissions = $hasAugmentedPermissions; + } + public function getHasAugmentedPermissions() + { + return $this->hasAugmentedPermissions; + } + public function setHasThumbnail($hasThumbnail) + { + $this->hasThumbnail = $hasThumbnail; + } + public function getHasThumbnail() + { + return $this->hasThumbnail; + } + public function setHeadRevisionId($headRevisionId) + { + $this->headRevisionId = $headRevisionId; + } + public function getHeadRevisionId() + { + return $this->headRevisionId; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageMediaMetadata(Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata) + { + $this->imageMediaMetadata = $imageMediaMetadata; + } + public function getImageMediaMetadata() + { + return $this->imageMediaMetadata; + } + public function setIsAppAuthorized($isAppAuthorized) + { + $this->isAppAuthorized = $isAppAuthorized; + } + public function getIsAppAuthorized() + { + return $this->isAppAuthorized; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser) + { + $this->lastModifyingUser = $lastModifyingUser; + } + public function getLastModifyingUser() + { + return $this->lastModifyingUser; + } + public function setMd5Checksum($md5Checksum) + { + $this->md5Checksum = $md5Checksum; + } + public function getMd5Checksum() + { + return $this->md5Checksum; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setModifiedByMe($modifiedByMe) + { + $this->modifiedByMe = $modifiedByMe; + } + public function getModifiedByMe() + { + return $this->modifiedByMe; + } + public function setModifiedByMeTime($modifiedByMeTime) + { + $this->modifiedByMeTime = $modifiedByMeTime; + } + public function getModifiedByMeTime() + { + return $this->modifiedByMeTime; + } + public function setModifiedTime($modifiedTime) + { + $this->modifiedTime = $modifiedTime; + } + public function getModifiedTime() + { + return $this->modifiedTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalFilename($originalFilename) + { + $this->originalFilename = $originalFilename; + } + public function getOriginalFilename() + { + return $this->originalFilename; + } + public function setOwnedByMe($ownedByMe) + { + $this->ownedByMe = $ownedByMe; + } + public function getOwnedByMe() + { + return $this->ownedByMe; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setParents($parents) + { + $this->parents = $parents; + } + public function getParents() + { + return $this->parents; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setQuotaBytesUsed($quotaBytesUsed) + { + $this->quotaBytesUsed = $quotaBytesUsed; + } + public function getQuotaBytesUsed() + { + return $this->quotaBytesUsed; + } + public function setShared($shared) + { + $this->shared = $shared; + } + public function getShared() + { + return $this->shared; + } + public function setSharedWithMeTime($sharedWithMeTime) + { + $this->sharedWithMeTime = $sharedWithMeTime; + } + public function getSharedWithMeTime() + { + return $this->sharedWithMeTime; + } + public function setSharingUser(Google_Service_Drive_User $sharingUser) + { + $this->sharingUser = $sharingUser; + } + public function getSharingUser() + { + return $this->sharingUser; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSpaces($spaces) + { + $this->spaces = $spaces; + } + public function getSpaces() + { + return $this->spaces; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setTeamDriveId($teamDriveId) + { + $this->teamDriveId = $teamDriveId; + } + public function getTeamDriveId() + { + return $this->teamDriveId; + } + public function setThumbnailLink($thumbnailLink) + { + $this->thumbnailLink = $thumbnailLink; + } + public function getThumbnailLink() + { + return $this->thumbnailLink; + } + public function setThumbnailVersion($thumbnailVersion) + { + $this->thumbnailVersion = $thumbnailVersion; + } + public function getThumbnailVersion() + { + return $this->thumbnailVersion; + } + public function setTrashed($trashed) + { + $this->trashed = $trashed; + } + public function getTrashed() + { + return $this->trashed; + } + public function setTrashedTime($trashedTime) + { + $this->trashedTime = $trashedTime; + } + public function getTrashedTime() + { + return $this->trashedTime; + } + public function setTrashingUser(Google_Service_Drive_User $trashingUser) + { + $this->trashingUser = $trashingUser; + } + public function getTrashingUser() + { + return $this->trashingUser; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata) + { + $this->videoMediaMetadata = $videoMediaMetadata; + } + public function getVideoMediaMetadata() + { + return $this->videoMediaMetadata; + } + public function setViewedByMe($viewedByMe) + { + $this->viewedByMe = $viewedByMe; + } + public function getViewedByMe() + { + return $this->viewedByMe; + } + public function setViewedByMeTime($viewedByMeTime) + { + $this->viewedByMeTime = $viewedByMeTime; + } + public function getViewedByMeTime() + { + return $this->viewedByMeTime; + } + public function setViewersCanCopyContent($viewersCanCopyContent) + { + $this->viewersCanCopyContent = $viewersCanCopyContent; + } + public function getViewersCanCopyContent() + { + return $this->viewersCanCopyContent; + } + public function setWebContentLink($webContentLink) + { + $this->webContentLink = $webContentLink; + } + public function getWebContentLink() + { + return $this->webContentLink; + } + public function setWebViewLink($webViewLink) + { + $this->webViewLink = $webViewLink; + } + public function getWebViewLink() + { + return $this->webViewLink; + } + public function setWritersCanShare($writersCanShare) + { + $this->writersCanShare = $writersCanShare; + } + public function getWritersCanShare() + { + return $this->writersCanShare; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php new file mode 100644 index 00000000..af3ffda7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileCapabilities.php @@ -0,0 +1,165 @@ +canAddChildren = $canAddChildren; + } + public function getCanAddChildren() + { + return $this->canAddChildren; + } + public function setCanComment($canComment) + { + $this->canComment = $canComment; + } + public function getCanComment() + { + return $this->canComment; + } + public function setCanCopy($canCopy) + { + $this->canCopy = $canCopy; + } + public function getCanCopy() + { + return $this->canCopy; + } + public function setCanDelete($canDelete) + { + $this->canDelete = $canDelete; + } + public function getCanDelete() + { + return $this->canDelete; + } + public function setCanDownload($canDownload) + { + $this->canDownload = $canDownload; + } + public function getCanDownload() + { + return $this->canDownload; + } + public function setCanEdit($canEdit) + { + $this->canEdit = $canEdit; + } + public function getCanEdit() + { + return $this->canEdit; + } + public function setCanListChildren($canListChildren) + { + $this->canListChildren = $canListChildren; + } + public function getCanListChildren() + { + return $this->canListChildren; + } + public function setCanMoveItemIntoTeamDrive($canMoveItemIntoTeamDrive) + { + $this->canMoveItemIntoTeamDrive = $canMoveItemIntoTeamDrive; + } + public function getCanMoveItemIntoTeamDrive() + { + return $this->canMoveItemIntoTeamDrive; + } + public function setCanMoveTeamDriveItem($canMoveTeamDriveItem) + { + $this->canMoveTeamDriveItem = $canMoveTeamDriveItem; + } + public function getCanMoveTeamDriveItem() + { + return $this->canMoveTeamDriveItem; + } + public function setCanReadRevisions($canReadRevisions) + { + $this->canReadRevisions = $canReadRevisions; + } + public function getCanReadRevisions() + { + return $this->canReadRevisions; + } + public function setCanReadTeamDrive($canReadTeamDrive) + { + $this->canReadTeamDrive = $canReadTeamDrive; + } + public function getCanReadTeamDrive() + { + return $this->canReadTeamDrive; + } + public function setCanRemoveChildren($canRemoveChildren) + { + $this->canRemoveChildren = $canRemoveChildren; + } + public function getCanRemoveChildren() + { + return $this->canRemoveChildren; + } + public function setCanRename($canRename) + { + $this->canRename = $canRename; + } + public function getCanRename() + { + return $this->canRename; + } + public function setCanShare($canShare) + { + $this->canShare = $canShare; + } + public function getCanShare() + { + return $this->canShare; + } + public function setCanTrash($canTrash) + { + $this->canTrash = $canTrash; + } + public function getCanTrash() + { + return $this->canTrash; + } + public function setCanUntrash($canUntrash) + { + $this->canUntrash = $canUntrash; + } + public function getCanUntrash() + { + return $this->canUntrash; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php new file mode 100644 index 00000000..ea263125 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHints.php @@ -0,0 +1,40 @@ +indexableText = $indexableText; + } + public function getIndexableText() + { + return $this->indexableText; + } + public function setThumbnail(Google_Service_Drive_DriveFileContentHintsThumbnail $thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php new file mode 100644 index 00000000..7594db55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileContentHintsThumbnail.php @@ -0,0 +1,39 @@ +image = $image; + } + public function getImage() + { + return $this->image; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php new file mode 100644 index 00000000..560aa7f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadata.php @@ -0,0 +1,211 @@ +aperture = $aperture; + } + public function getAperture() + { + return $this->aperture; + } + public function setCameraMake($cameraMake) + { + $this->cameraMake = $cameraMake; + } + public function getCameraMake() + { + return $this->cameraMake; + } + public function setCameraModel($cameraModel) + { + $this->cameraModel = $cameraModel; + } + public function getCameraModel() + { + return $this->cameraModel; + } + public function setColorSpace($colorSpace) + { + $this->colorSpace = $colorSpace; + } + public function getColorSpace() + { + return $this->colorSpace; + } + public function setExposureBias($exposureBias) + { + $this->exposureBias = $exposureBias; + } + public function getExposureBias() + { + return $this->exposureBias; + } + public function setExposureMode($exposureMode) + { + $this->exposureMode = $exposureMode; + } + public function getExposureMode() + { + return $this->exposureMode; + } + public function setExposureTime($exposureTime) + { + $this->exposureTime = $exposureTime; + } + public function getExposureTime() + { + return $this->exposureTime; + } + public function setFlashUsed($flashUsed) + { + $this->flashUsed = $flashUsed; + } + public function getFlashUsed() + { + return $this->flashUsed; + } + public function setFocalLength($focalLength) + { + $this->focalLength = $focalLength; + } + public function getFocalLength() + { + return $this->focalLength; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIsoSpeed($isoSpeed) + { + $this->isoSpeed = $isoSpeed; + } + public function getIsoSpeed() + { + return $this->isoSpeed; + } + public function setLens($lens) + { + $this->lens = $lens; + } + public function getLens() + { + return $this->lens; + } + public function setLocation(Google_Service_Drive_DriveFileImageMediaMetadataLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMaxApertureValue($maxApertureValue) + { + $this->maxApertureValue = $maxApertureValue; + } + public function getMaxApertureValue() + { + return $this->maxApertureValue; + } + public function setMeteringMode($meteringMode) + { + $this->meteringMode = $meteringMode; + } + public function getMeteringMode() + { + return $this->meteringMode; + } + public function setRotation($rotation) + { + $this->rotation = $rotation; + } + public function getRotation() + { + return $this->rotation; + } + public function setSensor($sensor) + { + $this->sensor = $sensor; + } + public function getSensor() + { + return $this->sensor; + } + public function setSubjectDistance($subjectDistance) + { + $this->subjectDistance = $subjectDistance; + } + public function getSubjectDistance() + { + return $this->subjectDistance; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setWhiteBalance($whiteBalance) + { + $this->whiteBalance = $whiteBalance; + } + public function getWhiteBalance() + { + return $this->whiteBalance; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php new file mode 100644 index 00000000..7de118a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileImageMediaMetadataLocation.php @@ -0,0 +1,48 @@ +altitude = $altitude; + } + public function getAltitude() + { + return $this->altitude; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php new file mode 100644 index 00000000..97cd5114 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/DriveFileVideoMediaMetadata.php @@ -0,0 +1,48 @@ +durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php new file mode 100644 index 00000000..ba18998c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/FileList.php @@ -0,0 +1,59 @@ +files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setIncompleteSearch($incompleteSearch) + { + $this->incompleteSearch = $incompleteSearch; + } + public function getIncompleteSearch() + { + return $this->incompleteSearch; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php new file mode 100644 index 00000000..b27fc330 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/GeneratedIds.php @@ -0,0 +1,49 @@ +ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSpace($space) + { + $this->space = $space; + } + public function getSpace() + { + return $this->space; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php new file mode 100644 index 00000000..58e1e0b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Permission.php @@ -0,0 +1,122 @@ +allowFileDiscovery = $allowFileDiscovery; + } + public function getAllowFileDiscovery() + { + return $this->allowFileDiscovery; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhotoLink($photoLink) + { + $this->photoLink = $photoLink; + } + public function getPhotoLink() + { + return $this->photoLink; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setTeamDrivePermissionDetails($teamDrivePermissionDetails) + { + $this->teamDrivePermissionDetails = $teamDrivePermissionDetails; + } + public function getTeamDrivePermissionDetails() + { + return $this->teamDrivePermissionDetails; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php new file mode 100644 index 00000000..a269f764 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionList.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php new file mode 100644 index 00000000..e7430d53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/PermissionTeamDrivePermissionDetails.php @@ -0,0 +1,57 @@ +inherited = $inherited; + } + public function getInherited() + { + return $this->inherited; + } + public function setInheritedFrom($inheritedFrom) + { + $this->inheritedFrom = $inheritedFrom; + } + public function getInheritedFrom() + { + return $this->inheritedFrom; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setTeamDrivePermissionType($teamDrivePermissionType) + { + $this->teamDrivePermissionType = $teamDrivePermissionType; + } + public function getTeamDrivePermissionType() + { + return $this->teamDrivePermissionType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php new file mode 100644 index 00000000..a8102157 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Reply.php @@ -0,0 +1,103 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setAuthor(Google_Service_Drive_User $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setHtmlContent($htmlContent) + { + $this->htmlContent = $htmlContent; + } + public function getHtmlContent() + { + return $this->htmlContent; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTime($modifiedTime) + { + $this->modifiedTime = $modifiedTime; + } + public function getModifiedTime() + { + return $this->modifiedTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php new file mode 100644 index 00000000..a68fdbcc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/ReplyList.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReplies($replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php new file mode 100644 index 00000000..67bf18a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/About.php @@ -0,0 +1,41 @@ + + * $driveService = new Google_Service_Drive(...); + * $about = $driveService->about; + * + */ +class Google_Service_Drive_Resource_About extends Google_Service_Resource +{ + /** + * Gets information about the user, the user's Drive, and system capabilities. + * (about.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_About + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_About"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php new file mode 100644 index 00000000..cfdcf8c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Changes.php @@ -0,0 +1,121 @@ + + * $driveService = new Google_Service_Drive(...); + * $changes = $driveService->changes; + * + */ +class Google_Service_Drive_Resource_Changes extends Google_Service_Resource +{ + /** + * Gets the starting pageToken for listing future changes. + * (changes.getStartPageToken) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param string teamDriveId The ID of the Team Drive for which the starting + * pageToken for listing future changes from that Team Drive will be returned. + * @return Google_Service_Drive_StartPageToken + */ + public function getStartPageToken($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getStartPageToken', array($params), "Google_Service_Drive_StartPageToken"); + } + /** + * Lists the changes for a user or Team Drive. (changes.listChanges) + * + * @param string $pageToken The token for continuing a previous list request on + * the next page. This should be set to the value of 'nextPageToken' from the + * previous response or to the response from the getStartPageToken method. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeCorpusRemovals Whether changes should include the file + * resource if the file is still accessible by the user at the time of the + * request, even when a file was removed from the list of changes and there will + * be no further change entries for this file. + * @opt_param bool includeRemoved Whether to include changes indicating that + * items have been removed from the list of changes, for example by deletion or + * loss of access. + * @opt_param bool includeTeamDriveItems Whether Team Drive files or changes + * should be included in results. + * @opt_param int pageSize The maximum number of changes to return per page. + * @opt_param bool restrictToMyDrive Whether to restrict the results to changes + * inside the My Drive hierarchy. This omits changes to files such as those in + * the Application Data folder or shared files which have not been added to My + * Drive. + * @opt_param string spaces A comma-separated list of spaces to query within the + * user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param string teamDriveId The Team Drive from which changes will be + * returned. If specified the change IDs will be reflective of the Team Drive; + * use the combined Team Drive ID and change ID as an identifier. + * @return Google_Service_Drive_ChangeList + */ + public function listChanges($pageToken, $optParams = array()) + { + $params = array('pageToken' => $pageToken); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_ChangeList"); + } + /** + * Subscribes to changes for a user. (changes.watch) + * + * @param string $pageToken The token for continuing a previous list request on + * the next page. This should be set to the value of 'nextPageToken' from the + * previous response or to the response from the getStartPageToken method. + * @param Google_Service_Drive_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool includeCorpusRemovals Whether changes should include the file + * resource if the file is still accessible by the user at the time of the + * request, even when a file was removed from the list of changes and there will + * be no further change entries for this file. + * @opt_param bool includeRemoved Whether to include changes indicating that + * items have been removed from the list of changes, for example by deletion or + * loss of access. + * @opt_param bool includeTeamDriveItems Whether Team Drive files or changes + * should be included in results. + * @opt_param int pageSize The maximum number of changes to return per page. + * @opt_param bool restrictToMyDrive Whether to restrict the results to changes + * inside the My Drive hierarchy. This omits changes to files such as those in + * the Application Data folder or shared files which have not been added to My + * Drive. + * @opt_param string spaces A comma-separated list of spaces to query within the + * user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param string teamDriveId The Team Drive from which changes will be + * returned. If specified the change IDs will be reflective of the Team Drive; + * use the combined Team Drive ID and change ID as an identifier. + * @return Google_Service_Drive_Channel + */ + public function watch($pageToken, Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('pageToken' => $pageToken, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Drive_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php new file mode 100644 index 00000000..39f9eda9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Channels.php @@ -0,0 +1,40 @@ + + * $driveService = new Google_Service_Drive(...); + * $channels = $driveService->channels; + * + */ +class Google_Service_Drive_Resource_Channels extends Google_Service_Resource +{ + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Service_Drive_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php new file mode 100644 index 00000000..2a09affd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Comments.php @@ -0,0 +1,109 @@ + + * $driveService = new Google_Service_Drive(...); + * $comments = $driveService->comments; + * + */ +class Google_Service_Drive_Resource_Comments extends Google_Service_Resource +{ + /** + * Creates a new comment on a file. (comments.create) + * + * @param string $fileId The ID of the file. + * @param Google_Service_Drive_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Comment + */ + public function create($fileId, Google_Service_Drive_Comment $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Drive_Comment"); + } + /** + * Deletes a comment. (comments.delete) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a comment by ID. (comments.get) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted Whether to return deleted comments. Deleted + * comments will not include their original content. + * @return Google_Service_Drive_Comment + */ + public function get($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Comment"); + } + /** + * Lists a file's comments. (comments.listComments) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted Whether to include deleted comments. Deleted + * comments will not include their original content. + * @opt_param int pageSize The maximum number of comments to return per page. + * @opt_param string pageToken The token for continuing a previous list request + * on the next page. This should be set to the value of 'nextPageToken' from the + * previous response. + * @opt_param string startModifiedTime The minimum value of 'modifiedTime' for + * the result comments (RFC 3339 date-time). + * @return Google_Service_Drive_CommentList + */ + public function listComments($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_CommentList"); + } + /** + * Updates a comment with patch semantics. (comments.update) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param Google_Service_Drive_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Comment + */ + public function update($fileId, $commentId, Google_Service_Drive_Comment $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Comment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php new file mode 100644 index 00000000..e8180228 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php @@ -0,0 +1,251 @@ + + * $driveService = new Google_Service_Drive(...); + * $files = $driveService->files; + * + */ +class Google_Service_Drive_Resource_Files extends Google_Service_Resource +{ + /** + * Creates a copy of a file and applies any requested updates with patch + * semantics. (files.copy) + * + * @param string $fileId The ID of the file. + * @param Google_Service_Drive_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's + * default visibility settings for the created file. Domain administrators can + * choose to make all uploaded files visible to the domain by default; this + * parameter bypasses that behavior for the request. Permissions are still + * inherited from parent folders. + * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in + * the new head revision. This is only applicable to files with binary content + * in Drive. + * @opt_param string ocrLanguage A language hint for OCR processing during image + * import (ISO 639-1 code). + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @return Google_Service_Drive_DriveFile + */ + public function copy($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Drive_DriveFile"); + } + /** + * Creates a new file. (files.create) + * + * @param Google_Service_Drive_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's + * default visibility settings for the created file. Domain administrators can + * choose to make all uploaded files visible to the domain by default; this + * parameter bypasses that behavior for the request. Permissions are still + * inherited from parent folders. + * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in + * the new head revision. This is only applicable to files with binary content + * in Drive. + * @opt_param string ocrLanguage A language hint for OCR processing during image + * import (ISO 639-1 code). + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param bool useContentAsIndexableText Whether to use the uploaded content + * as indexable text. + * @return Google_Service_Drive_DriveFile + */ + public function create(Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Drive_DriveFile"); + } + /** + * Permanently deletes a file owned by the user without moving it to the trash. + * If the file belongs to a Team Drive the user must be an organizer on the + * parent. If the target is a folder, all descendants owned by the user are also + * deleted. (files.delete) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + */ + public function delete($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Permanently deletes all of the user's trashed files. (files.emptyTrash) + * + * @param array $optParams Optional parameters. + */ + public function emptyTrash($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('emptyTrash', array($params)); + } + /** + * Exports a Google Doc to the requested MIME type and returns the exported + * content. (files.export) + * + * @param string $fileId The ID of the file. + * @param string $mimeType The MIME type of the format requested for this + * export. + * @param array $optParams Optional parameters. + */ + public function export($fileId, $mimeType, $optParams = array()) + { + $params = array('fileId' => $fileId, 'mimeType' => $mimeType); + $params = array_merge($params, $optParams); + return $this->call('export', array($params)); + } + /** + * Generates a set of file IDs which can be provided in create requests. + * (files.generateIds) + * + * @param array $optParams Optional parameters. + * + * @opt_param int count The number of IDs to return. + * @opt_param string space The space in which the IDs can be used to create new + * files. Supported values are 'drive' and 'appDataFolder'. + * @return Google_Service_Drive_GeneratedIds + */ + public function generateIds($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('generateIds', array($params), "Google_Service_Drive_GeneratedIds"); + } + /** + * Gets a file's metadata or content by ID. (files.get) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk + * of downloading known malware or other abusive files. This is only applicable + * when alt=media. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @return Google_Service_Drive_DriveFile + */ + public function get($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_DriveFile"); + } + /** + * Lists or searches files. (files.listFiles) + * + * @param array $optParams Optional parameters. + * + * @opt_param string corpora Comma-separated list of bodies of items + * (files/documents) to which the query applies. Supported bodies are 'user', + * 'domain', 'teamDrive' and 'allTeamDrives'. 'allTeamDrives' must be combined + * with 'user'; all other values must be used in isolation. Prefer 'user' or + * 'teamDrive' to 'allTeamDrives' for efficiency. + * @opt_param string corpus The source of files to list. Deprecated: use + * 'corpora' instead. + * @opt_param bool includeTeamDriveItems Whether Team Drive items should be + * included in results. + * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are + * 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', + * 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and + * 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed + * with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime + * desc,name. Please note that there is a current limitation for users with + * approximately one million files in which the requested sort order is ignored. + * @opt_param int pageSize The maximum number of files to return per page. + * @opt_param string pageToken The token for continuing a previous list request + * on the next page. This should be set to the value of 'nextPageToken' from the + * previous response. + * @opt_param string q A query for filtering the file results. See the "Search + * for Files" guide for supported syntax. + * @opt_param string spaces A comma-separated list of spaces to query within the + * corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param string teamDriveId ID of Team Drive to search. + * @return Google_Service_Drive_FileList + */ + public function listFiles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_FileList"); + } + /** + * Updates a file's metadata and/or content with patch semantics. (files.update) + * + * @param string $fileId The ID of the file. + * @param Google_Service_Drive_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string addParents A comma-separated list of parent IDs to add. + * @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in + * the new head revision. This is only applicable to files with binary content + * in Drive. + * @opt_param string ocrLanguage A language hint for OCR processing during image + * import (ISO 639-1 code). + * @opt_param string removeParents A comma-separated list of parent IDs to + * remove. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param bool useContentAsIndexableText Whether to use the uploaded content + * as indexable text. + * @return Google_Service_Drive_DriveFile + */ + public function update($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_DriveFile"); + } + /** + * Subscribes to changes to a file (files.watch) + * + * @param string $fileId The ID of the file. + * @param Google_Service_Drive_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk + * of downloading known malware or other abusive files. This is only applicable + * when alt=media. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @return Google_Service_Drive_Channel + */ + public function watch($fileId, Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Drive_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php new file mode 100644 index 00000000..76462ba2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Permissions.php @@ -0,0 +1,132 @@ + + * $driveService = new Google_Service_Drive(...); + * $permissions = $driveService->permissions; + * + */ +class Google_Service_Drive_Resource_Permissions extends Google_Service_Resource +{ + /** + * Creates a permission for a file or Team Drive. (permissions.create) + * + * @param string $fileId The ID of the file or Team Drive. + * @param Google_Service_Drive_Permission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string emailMessage A custom message to include in the + * notification email. + * @opt_param bool sendNotificationEmail Whether to send a notification email + * when sharing to users or groups. This defaults to true for users and groups, + * and is not allowed for other requests. It must not be disabled for ownership + * transfers. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param bool transferOwnership Whether to transfer ownership to the + * specified user and downgrade the current owner to a writer. This parameter is + * required as an acknowledgement of the side effect. + * @return Google_Service_Drive_Permission + */ + public function create($fileId, Google_Service_Drive_Permission $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Drive_Permission"); + } + /** + * Deletes a permission. (permissions.delete) + * + * @param string $fileId The ID of the file or Team Drive. + * @param string $permissionId The ID of the permission. + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + */ + public function delete($fileId, $permissionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a permission by ID. (permissions.get) + * + * @param string $fileId The ID of the file. + * @param string $permissionId The ID of the permission. + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @return Google_Service_Drive_Permission + */ + public function get($fileId, $permissionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Permission"); + } + /** + * Lists a file's or Team Drive's permissions. (permissions.listPermissions) + * + * @param string $fileId The ID of the file or Team Drive. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of permissions to return per page. + * When not set for files in a Team Drive, at most 100 results will be returned. + * When not set for files that are not in a Team Drive, the entire list will be + * returned. + * @opt_param string pageToken The token for continuing a previous list request + * on the next page. This should be set to the value of 'nextPageToken' from the + * previous response. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @return Google_Service_Drive_PermissionList + */ + public function listPermissions($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_PermissionList"); + } + /** + * Updates a permission with patch semantics. (permissions.update) + * + * @param string $fileId The ID of the file or Team Drive. + * @param string $permissionId The ID of the permission. + * @param Google_Service_Drive_Permission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool removeExpiration Whether to remove the expiration date. + * @opt_param bool supportsTeamDrives Whether the requesting application + * supports Team Drives. + * @opt_param bool transferOwnership Whether to transfer ownership to the + * specified user and downgrade the current owner to a writer. This parameter is + * required as an acknowledgement of the side effect. + * @return Google_Service_Drive_Permission + */ + public function update($fileId, $permissionId, Google_Service_Drive_Permission $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Permission"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php new file mode 100644 index 00000000..3db6854a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Replies.php @@ -0,0 +1,112 @@ + + * $driveService = new Google_Service_Drive(...); + * $replies = $driveService->replies; + * + */ +class Google_Service_Drive_Resource_Replies extends Google_Service_Resource +{ + /** + * Creates a new reply to a comment. (replies.create) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param Google_Service_Drive_Reply $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Reply + */ + public function create($fileId, $commentId, Google_Service_Drive_Reply $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Drive_Reply"); + } + /** + * Deletes a reply. (replies.delete) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $commentId, $replyId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a reply by ID. (replies.get) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted Whether to return deleted replies. Deleted + * replies will not include their original content. + * @return Google_Service_Drive_Reply + */ + public function get($fileId, $commentId, $replyId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Reply"); + } + /** + * Lists a comment's replies. (replies.listReplies) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted Whether to include deleted replies. Deleted + * replies will not include their original content. + * @opt_param int pageSize The maximum number of replies to return per page. + * @opt_param string pageToken The token for continuing a previous list request + * on the next page. This should be set to the value of 'nextPageToken' from the + * previous response. + * @return Google_Service_Drive_ReplyList + */ + public function listReplies($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_ReplyList"); + } + /** + * Updates a reply with patch semantics. (replies.update) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param Google_Service_Drive_Reply $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Reply + */ + public function update($fileId, $commentId, $replyId, Google_Service_Drive_Reply $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Reply"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php new file mode 100644 index 00000000..78278396 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Revisions.php @@ -0,0 +1,93 @@ + + * $driveService = new Google_Service_Drive(...); + * $revisions = $driveService->revisions; + * + */ +class Google_Service_Drive_Resource_Revisions extends Google_Service_Resource +{ + /** + * Permanently deletes a revision. This method is only applicable to files with + * binary content in Drive. (revisions.delete) + * + * @param string $fileId The ID of the file. + * @param string $revisionId The ID of the revision. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $revisionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a revision's metadata or content by ID. (revisions.get) + * + * @param string $fileId The ID of the file. + * @param string $revisionId The ID of the revision. + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk + * of downloading known malware or other abusive files. This is only applicable + * when alt=media. + * @return Google_Service_Drive_Revision + */ + public function get($fileId, $revisionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Revision"); + } + /** + * Lists a file's revisions. (revisions.listRevisions) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of revisions to return per page. + * @opt_param string pageToken The token for continuing a previous list request + * on the next page. This should be set to the value of 'nextPageToken' from the + * previous response. + * @return Google_Service_Drive_RevisionList + */ + public function listRevisions($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_RevisionList"); + } + /** + * Updates a revision with patch semantics. (revisions.update) + * + * @param string $fileId The ID of the file. + * @param string $revisionId The ID of the revision. + * @param Google_Service_Drive_Revision $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Revision + */ + public function update($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Revision"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php new file mode 100644 index 00000000..847ef4cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Resource/Teamdrives.php @@ -0,0 +1,101 @@ + + * $driveService = new Google_Service_Drive(...); + * $teamdrives = $driveService->teamdrives; + * + */ +class Google_Service_Drive_Resource_Teamdrives extends Google_Service_Resource +{ + /** + * Creates a new Team Drive. (teamdrives.create) + * + * @param string $requestId An ID, such as a random UUID, which uniquely + * identifies this user's request for idempotent creation of a Team Drive. A + * repeated request by the same user and with the same request ID will avoid + * creating duplicates by attempting to create the same Team Drive. If the Team + * Drive already exists a 409 error will be returned. + * @param Google_Service_Drive_TeamDrive $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_TeamDrive + */ + public function create($requestId, Google_Service_Drive_TeamDrive $postBody, $optParams = array()) + { + $params = array('requestId' => $requestId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Drive_TeamDrive"); + } + /** + * Permanently deletes a Team Drive for which the user is an organizer. The Team + * Drive cannot contain any untrashed items. (teamdrives.delete) + * + * @param string $teamDriveId The ID of the Team Drive + * @param array $optParams Optional parameters. + */ + public function delete($teamDriveId, $optParams = array()) + { + $params = array('teamDriveId' => $teamDriveId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a Team Drive's metadata by ID. (teamdrives.get) + * + * @param string $teamDriveId The ID of the Team Drive + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_TeamDrive + */ + public function get($teamDriveId, $optParams = array()) + { + $params = array('teamDriveId' => $teamDriveId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_TeamDrive"); + } + /** + * Lists the user's Team Drives. (teamdrives.listTeamdrives) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of Team Drives to return. + * @opt_param string pageToken Page token for Team Drives. + * @return Google_Service_Drive_TeamDriveList + */ + public function listTeamdrives($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_TeamDriveList"); + } + /** + * Updates a Team Drive's metadata (teamdrives.update) + * + * @param string $teamDriveId The ID of the Team Drive + * @param Google_Service_Drive_TeamDrive $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_TeamDrive + */ + public function update($teamDriveId, Google_Service_Drive_TeamDrive $postBody, $optParams = array()) + { + $params = array('teamDriveId' => $teamDriveId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_TeamDrive"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php new file mode 100644 index 00000000..c783e621 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/Revision.php @@ -0,0 +1,130 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKeepForever($keepForever) + { + $this->keepForever = $keepForever; + } + public function getKeepForever() + { + return $this->keepForever; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser) + { + $this->lastModifyingUser = $lastModifyingUser; + } + public function getLastModifyingUser() + { + return $this->lastModifyingUser; + } + public function setMd5Checksum($md5Checksum) + { + $this->md5Checksum = $md5Checksum; + } + public function getMd5Checksum() + { + return $this->md5Checksum; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setModifiedTime($modifiedTime) + { + $this->modifiedTime = $modifiedTime; + } + public function getModifiedTime() + { + return $this->modifiedTime; + } + public function setOriginalFilename($originalFilename) + { + $this->originalFilename = $originalFilename; + } + public function getOriginalFilename() + { + return $this->originalFilename; + } + public function setPublishAuto($publishAuto) + { + $this->publishAuto = $publishAuto; + } + public function getPublishAuto() + { + return $this->publishAuto; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setPublishedOutsideDomain($publishedOutsideDomain) + { + $this->publishedOutsideDomain = $publishedOutsideDomain; + } + public function getPublishedOutsideDomain() + { + return $this->publishedOutsideDomain; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php new file mode 100644 index 00000000..973ea951 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/RevisionList.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRevisions($revisions) + { + $this->revisions = $revisions; + } + public function getRevisions() + { + return $this->revisions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php new file mode 100644 index 00000000..cd2615ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/StartPageToken.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartPageToken($startPageToken) + { + $this->startPageToken = $startPageToken; + } + public function getStartPageToken() + { + return $this->startPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php new file mode 100644 index 00000000..716a74fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDrive.php @@ -0,0 +1,58 @@ +capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php new file mode 100644 index 00000000..69913d97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveCapabilities.php @@ -0,0 +1,138 @@ +canAddChildren = $canAddChildren; + } + public function getCanAddChildren() + { + return $this->canAddChildren; + } + public function setCanComment($canComment) + { + $this->canComment = $canComment; + } + public function getCanComment() + { + return $this->canComment; + } + public function setCanCopy($canCopy) + { + $this->canCopy = $canCopy; + } + public function getCanCopy() + { + return $this->canCopy; + } + public function setCanDeleteTeamDrive($canDeleteTeamDrive) + { + $this->canDeleteTeamDrive = $canDeleteTeamDrive; + } + public function getCanDeleteTeamDrive() + { + return $this->canDeleteTeamDrive; + } + public function setCanDownload($canDownload) + { + $this->canDownload = $canDownload; + } + public function getCanDownload() + { + return $this->canDownload; + } + public function setCanEdit($canEdit) + { + $this->canEdit = $canEdit; + } + public function getCanEdit() + { + return $this->canEdit; + } + public function setCanListChildren($canListChildren) + { + $this->canListChildren = $canListChildren; + } + public function getCanListChildren() + { + return $this->canListChildren; + } + public function setCanManageMembers($canManageMembers) + { + $this->canManageMembers = $canManageMembers; + } + public function getCanManageMembers() + { + return $this->canManageMembers; + } + public function setCanReadRevisions($canReadRevisions) + { + $this->canReadRevisions = $canReadRevisions; + } + public function getCanReadRevisions() + { + return $this->canReadRevisions; + } + public function setCanRemoveChildren($canRemoveChildren) + { + $this->canRemoveChildren = $canRemoveChildren; + } + public function getCanRemoveChildren() + { + return $this->canRemoveChildren; + } + public function setCanRename($canRename) + { + $this->canRename = $canRename; + } + public function getCanRename() + { + return $this->canRename; + } + public function setCanRenameTeamDrive($canRenameTeamDrive) + { + $this->canRenameTeamDrive = $canRenameTeamDrive; + } + public function getCanRenameTeamDrive() + { + return $this->canRenameTeamDrive; + } + public function setCanShare($canShare) + { + $this->canShare = $canShare; + } + public function getCanShare() + { + return $this->canShare; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php new file mode 100644 index 00000000..a64ba690 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/TeamDriveList.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTeamDrives($teamDrives) + { + $this->teamDrives = $teamDrives; + } + public function getTeamDrives() + { + return $this->teamDrives; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php new file mode 100644 index 00000000..aaa044d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Drive/User.php @@ -0,0 +1,75 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMe($me) + { + $this->me = $me; + } + public function getMe() + { + return $this->me; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setPhotoLink($photoLink) + { + $this->photoLink = $photoLink; + } + public function getPhotoLink() + { + return $this->photoLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php new file mode 100644 index 00000000..0f7ff87b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks.php @@ -0,0 +1,68 @@ + + * Firebase Dynamic Links API enables third party developers to programmatically + * create and manage Dynamic Links.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_FirebaseDynamicLinks extends Google_Service +{ + /** View and administer all your Firebase data and settings. */ + const FIREBASE = + "https://www.googleapis.com/auth/firebase"; + + public $shortLinks; + + /** + * Constructs the internal representation of the FirebaseDynamicLinks service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://firebasedynamiclinks.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'firebasedynamiclinks'; + + $this->shortLinks = new Google_Service_FirebaseDynamicLinks_Resource_ShortLinks( + $this, + $this->serviceName, + 'shortLinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/shortLinks', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php new file mode 100644 index 00000000..f1cd2465 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AnalyticsInfo.php @@ -0,0 +1,41 @@ +googlePlayAnalytics = $googlePlayAnalytics; + } + public function getGooglePlayAnalytics() + { + return $this->googlePlayAnalytics; + } + public function setItunesConnectAnalytics(Google_Service_FirebaseDynamicLinks_ITunesConnectAnalytics $itunesConnectAnalytics) + { + $this->itunesConnectAnalytics = $itunesConnectAnalytics; + } + public function getItunesConnectAnalytics() + { + return $this->itunesConnectAnalytics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php new file mode 100644 index 00000000..d32653e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/AndroidInfo.php @@ -0,0 +1,57 @@ +androidFallbackLink = $androidFallbackLink; + } + public function getAndroidFallbackLink() + { + return $this->androidFallbackLink; + } + public function setAndroidLink($androidLink) + { + $this->androidLink = $androidLink; + } + public function getAndroidLink() + { + return $this->androidLink; + } + public function setAndroidMinPackageVersionCode($androidMinPackageVersionCode) + { + $this->androidMinPackageVersionCode = $androidMinPackageVersionCode; + } + public function getAndroidMinPackageVersionCode() + { + return $this->androidMinPackageVersionCode; + } + public function setAndroidPackageName($androidPackageName) + { + $this->androidPackageName = $androidPackageName; + } + public function getAndroidPackageName() + { + return $this->androidPackageName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php new file mode 100644 index 00000000..8ed9aac5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkRequest.php @@ -0,0 +1,50 @@ +dynamicLinkInfo = $dynamicLinkInfo; + } + public function getDynamicLinkInfo() + { + return $this->dynamicLinkInfo; + } + public function setLongDynamicLink($longDynamicLink) + { + $this->longDynamicLink = $longDynamicLink; + } + public function getLongDynamicLink() + { + return $this->longDynamicLink; + } + public function setSuffix(Google_Service_FirebaseDynamicLinks_Suffix $suffix) + { + $this->suffix = $suffix; + } + public function getSuffix() + { + return $this->suffix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php new file mode 100644 index 00000000..4bc4f6f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/CreateShortDynamicLinkResponse.php @@ -0,0 +1,50 @@ +previewLink = $previewLink; + } + public function getPreviewLink() + { + return $this->previewLink; + } + public function setShortLink($shortLink) + { + $this->shortLink = $shortLink; + } + public function getShortLink() + { + return $this->shortLink; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php new file mode 100644 index 00000000..2d5e2989 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkInfo.php @@ -0,0 +1,89 @@ +analyticsInfo = $analyticsInfo; + } + public function getAnalyticsInfo() + { + return $this->analyticsInfo; + } + public function setAndroidInfo(Google_Service_FirebaseDynamicLinks_AndroidInfo $androidInfo) + { + $this->androidInfo = $androidInfo; + } + public function getAndroidInfo() + { + return $this->androidInfo; + } + public function setDynamicLinkDomain($dynamicLinkDomain) + { + $this->dynamicLinkDomain = $dynamicLinkDomain; + } + public function getDynamicLinkDomain() + { + return $this->dynamicLinkDomain; + } + public function setIosInfo(Google_Service_FirebaseDynamicLinks_IosInfo $iosInfo) + { + $this->iosInfo = $iosInfo; + } + public function getIosInfo() + { + return $this->iosInfo; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setNavigationInfo(Google_Service_FirebaseDynamicLinks_NavigationInfo $navigationInfo) + { + $this->navigationInfo = $navigationInfo; + } + public function getNavigationInfo() + { + return $this->navigationInfo; + } + public function setSocialMetaTagInfo(Google_Service_FirebaseDynamicLinks_SocialMetaTagInfo $socialMetaTagInfo) + { + $this->socialMetaTagInfo = $socialMetaTagInfo; + } + public function getSocialMetaTagInfo() + { + return $this->socialMetaTagInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php new file mode 100644 index 00000000..f0e0bf48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/DynamicLinkWarning.php @@ -0,0 +1,39 @@ +warningCode = $warningCode; + } + public function getWarningCode() + { + return $this->warningCode; + } + public function setWarningMessage($warningMessage) + { + $this->warningMessage = $warningMessage; + } + public function getWarningMessage() + { + return $this->warningMessage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php new file mode 100644 index 00000000..d5a67d25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/GooglePlayAnalytics.php @@ -0,0 +1,75 @@ +gclid = $gclid; + } + public function getGclid() + { + return $this->gclid; + } + public function setUtmCampaign($utmCampaign) + { + $this->utmCampaign = $utmCampaign; + } + public function getUtmCampaign() + { + return $this->utmCampaign; + } + public function setUtmContent($utmContent) + { + $this->utmContent = $utmContent; + } + public function getUtmContent() + { + return $this->utmContent; + } + public function setUtmMedium($utmMedium) + { + $this->utmMedium = $utmMedium; + } + public function getUtmMedium() + { + return $this->utmMedium; + } + public function setUtmSource($utmSource) + { + $this->utmSource = $utmSource; + } + public function getUtmSource() + { + return $this->utmSource; + } + public function setUtmTerm($utmTerm) + { + $this->utmTerm = $utmTerm; + } + public function getUtmTerm() + { + return $this->utmTerm; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php new file mode 100644 index 00000000..a922dfa5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/ITunesConnectAnalytics.php @@ -0,0 +1,57 @@ +at = $at; + } + public function getAt() + { + return $this->at; + } + public function setCt($ct) + { + $this->ct = $ct; + } + public function getCt() + { + return $this->ct; + } + public function setMt($mt) + { + $this->mt = $mt; + } + public function getMt() + { + return $this->mt; + } + public function setPt($pt) + { + $this->pt = $pt; + } + public function getPt() + { + return $this->pt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php new file mode 100644 index 00000000..3ae84bc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/IosInfo.php @@ -0,0 +1,75 @@ +iosAppStoreId = $iosAppStoreId; + } + public function getIosAppStoreId() + { + return $this->iosAppStoreId; + } + public function setIosBundleId($iosBundleId) + { + $this->iosBundleId = $iosBundleId; + } + public function getIosBundleId() + { + return $this->iosBundleId; + } + public function setIosCustomScheme($iosCustomScheme) + { + $this->iosCustomScheme = $iosCustomScheme; + } + public function getIosCustomScheme() + { + return $this->iosCustomScheme; + } + public function setIosFallbackLink($iosFallbackLink) + { + $this->iosFallbackLink = $iosFallbackLink; + } + public function getIosFallbackLink() + { + return $this->iosFallbackLink; + } + public function setIosIpadBundleId($iosIpadBundleId) + { + $this->iosIpadBundleId = $iosIpadBundleId; + } + public function getIosIpadBundleId() + { + return $this->iosIpadBundleId; + } + public function setIosIpadFallbackLink($iosIpadFallbackLink) + { + $this->iosIpadFallbackLink = $iosIpadFallbackLink; + } + public function getIosIpadFallbackLink() + { + return $this->iosIpadFallbackLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php new file mode 100644 index 00000000..fdae5f34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/NavigationInfo.php @@ -0,0 +1,30 @@ +enableForcedRedirect = $enableForcedRedirect; + } + public function getEnableForcedRedirect() + { + return $this->enableForcedRedirect; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php new file mode 100644 index 00000000..c725504f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Resource/ShortLinks.php @@ -0,0 +1,49 @@ + + * $firebasedynamiclinksService = new Google_Service_FirebaseDynamicLinks(...); + * $shortLinks = $firebasedynamiclinksService->shortLinks; + * + */ +class Google_Service_FirebaseDynamicLinks_Resource_ShortLinks extends Google_Service_Resource +{ + /** + * Creates a short Dynamic Link given either a valid long Dynamic Link or + * details such as Dynamic Link domain, Android and iOS app information. The + * created short Dynamic Link will not expire. + * + * Repeated calls with the same long Dynamic Link or Dynamic Link information + * will produce the same short Dynamic Link. + * + * The Dynamic Link domain in the request must be owned by requester's Firebase + * project. (shortLinks.create) + * + * @param Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse + */ + public function create(Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php new file mode 100644 index 00000000..efa8c5ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/SocialMetaTagInfo.php @@ -0,0 +1,48 @@ +socialDescription = $socialDescription; + } + public function getSocialDescription() + { + return $this->socialDescription; + } + public function setSocialImageLink($socialImageLink) + { + $this->socialImageLink = $socialImageLink; + } + public function getSocialImageLink() + { + return $this->socialImageLink; + } + public function setSocialTitle($socialTitle) + { + $this->socialTitle = $socialTitle; + } + public function getSocialTitle() + { + return $this->socialTitle; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php new file mode 100644 index 00000000..4e9cb2d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinks/Suffix.php @@ -0,0 +1,30 @@ +option = $option; + } + public function getOption() + { + return $this->option; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php new file mode 100644 index 00000000..4c8ade40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI.php @@ -0,0 +1,69 @@ + + * Firebase Dynamic Links API enables third party developers to create and + * manage the Dynamic Links(go/fdl).

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_FirebaseDynamicLinksAPI extends Google_Service +{ + /** View and administer all your Firebase data and settings. */ + const FIREBASE = + "https://www.googleapis.com/auth/firebase"; + + public $shortDynamicLinks; + + /** + * Constructs the internal representation of the FirebaseDynamicLinksAPI + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://firebasedynamiclinks.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'firebasedynamiclinks'; + + $this->shortDynamicLinks = new Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks( + $this, + $this->serviceName, + 'shortDynamicLinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/shortDynamicLinks', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php new file mode 100644 index 00000000..07ac37af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AnalyticsInfo.php @@ -0,0 +1,41 @@ +googlePlayAnalytics = $googlePlayAnalytics; + } + public function getGooglePlayAnalytics() + { + return $this->googlePlayAnalytics; + } + public function setItunesConnectAnalytics(Google_Service_FirebaseDynamicLinksAPI_ITunesConnectAnalytics $itunesConnectAnalytics) + { + $this->itunesConnectAnalytics = $itunesConnectAnalytics; + } + public function getItunesConnectAnalytics() + { + return $this->itunesConnectAnalytics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php new file mode 100644 index 00000000..63badeac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/AndroidInfo.php @@ -0,0 +1,57 @@ +androidFallbackLink = $androidFallbackLink; + } + public function getAndroidFallbackLink() + { + return $this->androidFallbackLink; + } + public function setAndroidLink($androidLink) + { + $this->androidLink = $androidLink; + } + public function getAndroidLink() + { + return $this->androidLink; + } + public function setAndroidMinPackageVersionCode($androidMinPackageVersionCode) + { + $this->androidMinPackageVersionCode = $androidMinPackageVersionCode; + } + public function getAndroidMinPackageVersionCode() + { + return $this->androidMinPackageVersionCode; + } + public function setAndroidPackageName($androidPackageName) + { + $this->androidPackageName = $androidPackageName; + } + public function getAndroidPackageName() + { + return $this->androidPackageName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php new file mode 100644 index 00000000..969f4ed7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkRequest.php @@ -0,0 +1,50 @@ +dynamicLinkInfo = $dynamicLinkInfo; + } + public function getDynamicLinkInfo() + { + return $this->dynamicLinkInfo; + } + public function setLongDynamicLink($longDynamicLink) + { + $this->longDynamicLink = $longDynamicLink; + } + public function getLongDynamicLink() + { + return $this->longDynamicLink; + } + public function setSuffix(Google_Service_FirebaseDynamicLinksAPI_Suffix $suffix) + { + $this->suffix = $suffix; + } + public function getSuffix() + { + return $this->suffix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php new file mode 100644 index 00000000..36d3f033 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/CreateShortDynamicLinkResponse.php @@ -0,0 +1,50 @@ +previewLink = $previewLink; + } + public function getPreviewLink() + { + return $this->previewLink; + } + public function setShortLink($shortLink) + { + $this->shortLink = $shortLink; + } + public function getShortLink() + { + return $this->shortLink; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php new file mode 100644 index 00000000..5848ca45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkInfo.php @@ -0,0 +1,88 @@ +analyticsInfo = $analyticsInfo; + } + public function getAnalyticsInfo() + { + return $this->analyticsInfo; + } + public function setAndroidInfo(Google_Service_FirebaseDynamicLinksAPI_AndroidInfo $androidInfo) + { + $this->androidInfo = $androidInfo; + } + public function getAndroidInfo() + { + return $this->androidInfo; + } + public function setDynamicLinkDomain($dynamicLinkDomain) + { + $this->dynamicLinkDomain = $dynamicLinkDomain; + } + public function getDynamicLinkDomain() + { + return $this->dynamicLinkDomain; + } + public function setIosInfo(Google_Service_FirebaseDynamicLinksAPI_IosInfo $iosInfo) + { + $this->iosInfo = $iosInfo; + } + public function getIosInfo() + { + return $this->iosInfo; + } + public function setIsAd($isAd) + { + $this->isAd = $isAd; + } + public function getIsAd() + { + return $this->isAd; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setSocialMetaTagInfo(Google_Service_FirebaseDynamicLinksAPI_SocialMetaTagInfo $socialMetaTagInfo) + { + $this->socialMetaTagInfo = $socialMetaTagInfo; + } + public function getSocialMetaTagInfo() + { + return $this->socialMetaTagInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php new file mode 100644 index 00000000..d67a925d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/DynamicLinkWarning.php @@ -0,0 +1,39 @@ +warningCode = $warningCode; + } + public function getWarningCode() + { + return $this->warningCode; + } + public function setWarningMessage($warningMessage) + { + $this->warningMessage = $warningMessage; + } + public function getWarningMessage() + { + return $this->warningMessage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php new file mode 100644 index 00000000..906acffb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/GooglePlayAnalytics.php @@ -0,0 +1,75 @@ +gclid = $gclid; + } + public function getGclid() + { + return $this->gclid; + } + public function setUtmCampaign($utmCampaign) + { + $this->utmCampaign = $utmCampaign; + } + public function getUtmCampaign() + { + return $this->utmCampaign; + } + public function setUtmContent($utmContent) + { + $this->utmContent = $utmContent; + } + public function getUtmContent() + { + return $this->utmContent; + } + public function setUtmMedium($utmMedium) + { + $this->utmMedium = $utmMedium; + } + public function getUtmMedium() + { + return $this->utmMedium; + } + public function setUtmSource($utmSource) + { + $this->utmSource = $utmSource; + } + public function getUtmSource() + { + return $this->utmSource; + } + public function setUtmTerm($utmTerm) + { + $this->utmTerm = $utmTerm; + } + public function getUtmTerm() + { + return $this->utmTerm; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php new file mode 100644 index 00000000..14f77741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/ITunesConnectAnalytics.php @@ -0,0 +1,57 @@ +at = $at; + } + public function getAt() + { + return $this->at; + } + public function setCt($ct) + { + $this->ct = $ct; + } + public function getCt() + { + return $this->ct; + } + public function setMt($mt) + { + $this->mt = $mt; + } + public function getMt() + { + return $this->mt; + } + public function setPt($pt) + { + $this->pt = $pt; + } + public function getPt() + { + return $this->pt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php new file mode 100644 index 00000000..acea3641 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/IosInfo.php @@ -0,0 +1,75 @@ +iosAppStoreId = $iosAppStoreId; + } + public function getIosAppStoreId() + { + return $this->iosAppStoreId; + } + public function setIosBundleId($iosBundleId) + { + $this->iosBundleId = $iosBundleId; + } + public function getIosBundleId() + { + return $this->iosBundleId; + } + public function setIosCustomScheme($iosCustomScheme) + { + $this->iosCustomScheme = $iosCustomScheme; + } + public function getIosCustomScheme() + { + return $this->iosCustomScheme; + } + public function setIosFallbackLink($iosFallbackLink) + { + $this->iosFallbackLink = $iosFallbackLink; + } + public function getIosFallbackLink() + { + return $this->iosFallbackLink; + } + public function setIosIpadBundleId($iosIpadBundleId) + { + $this->iosIpadBundleId = $iosIpadBundleId; + } + public function getIosIpadBundleId() + { + return $this->iosIpadBundleId; + } + public function setIosIpadFallbackLink($iosIpadFallbackLink) + { + $this->iosIpadFallbackLink = $iosIpadFallbackLink; + } + public function getIosIpadFallbackLink() + { + return $this->iosIpadFallbackLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php new file mode 100644 index 00000000..9c4a183d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php @@ -0,0 +1,49 @@ + + * $firebasedynamiclinksService = new Google_Service_FirebaseDynamicLinksAPI(...); + * $shortDynamicLinks = $firebasedynamiclinksService->shortDynamicLinks; + * + */ +class Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks extends Google_Service_Resource +{ + /** + * Creates a short Dynamic Link given either a valid long Dynamic Link or + * details such as Dynamic Link domain, Android and iOS app information. The + * created short Dynamic Link will not expire. + * + * Repeated calls with the same long Dynamic Link or Dynamic Link information + * will produce the same short Dynamic Link. + * + * The Dynamic Link domain in the request must be owned by requester's Firebase + * project. (shortDynamicLinks.create) + * + * @param Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkResponse + */ + public function create(Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php new file mode 100644 index 00000000..e7317da7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/SocialMetaTagInfo.php @@ -0,0 +1,48 @@ +socialDescription = $socialDescription; + } + public function getSocialDescription() + { + return $this->socialDescription; + } + public function setSocialImageLink($socialImageLink) + { + $this->socialImageLink = $socialImageLink; + } + public function getSocialImageLink() + { + return $this->socialImageLink; + } + public function setSocialTitle($socialTitle) + { + $this->socialTitle = $socialTitle; + } + public function getSocialTitle() + { + return $this->socialTitle; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php new file mode 100644 index 00000000..63b6f42d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseDynamicLinksAPI/Suffix.php @@ -0,0 +1,30 @@ +option = $option; + } + public function getOption() + { + return $this->option; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php new file mode 100644 index 00000000..459af977 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI.php @@ -0,0 +1,212 @@ + + * Creates and manages rules that determine when a Firebase Rules-enabled + * service should permit a request.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_FirebaseRulesAPI extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and administer all your Firebase data and settings. */ + const FIREBASE = + "https://www.googleapis.com/auth/firebase"; + /** View all your Firebase data and settings. */ + const FIREBASE_READONLY = + "https://www.googleapis.com/auth/firebase.readonly"; + + public $projects; + public $projects_releases; + public $projects_rulesets; + + /** + * Constructs the internal representation of the FirebaseRulesAPI service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://firebaserules.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'firebaserules'; + + $this->projects = new Google_Service_FirebaseRulesAPI_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'test' => array( + 'path' => 'v1/{+name}:test', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_releases = new Google_Service_FirebaseRulesAPI_Resource_ProjectsReleases( + $this, + $this->serviceName, + 'releases', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+name}/releases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/releases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_rulesets = new Google_Service_FirebaseRulesAPI_Resource_ProjectsRulesets( + $this, + $this->serviceName, + 'rulesets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+name}/rulesets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/rulesets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php new file mode 100644 index 00000000..2583a330 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/FirebaserulesEmpty.php @@ -0,0 +1,20 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php new file mode 100644 index 00000000..01b73c9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Issue.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSourcePosition(Google_Service_FirebaseRulesAPI_SourcePosition $sourcePosition) + { + $this->sourcePosition = $sourcePosition; + } + public function getSourcePosition() + { + return $this->sourcePosition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php new file mode 100644 index 00000000..a3f9575d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListReleasesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReleases($releases) + { + $this->releases = $releases; + } + public function getReleases() + { + return $this->releases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php new file mode 100644 index 00000000..c94753cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/ListRulesetsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRulesets($rulesets) + { + $this->rulesets = $rulesets; + } + public function getRulesets() + { + return $this->rulesets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php new file mode 100644 index 00000000..eff6c456 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Release.php @@ -0,0 +1,57 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRulesetName($rulesetName) + { + $this->rulesetName = $rulesetName; + } + public function getRulesetName() + { + return $this->rulesetName; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php new file mode 100644 index 00000000..344eda48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/Projects.php @@ -0,0 +1,62 @@ + + * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...); + * $projects = $firebaserulesService->projects; + * + */ +class Google_Service_FirebaseRulesAPI_Resource_Projects extends Google_Service_Resource +{ + /** + * Test `Source` for syntactic and semantic correctness. Issues present in the + * rules, if any, will be returned to the caller with a description, severity, + * and source location. + * + * The test method will typically be executed with a developer provided + * `Source`, but if regression testing is desired, this method may be executed + * against a `Ruleset` resource name and the `Source` will be retrieved from the + * persisted `Ruleset`. + * + * The following is an example of `Source` that permits users to upload images + * to a bucket bearing their user id and matching the correct metadata: + * + * _*Example*_ + * + * // Users are allowed to subscribe and unsubscribe to the blog. + * service firebase.storage { match /users/{userId}/images/{imageName} { + * allow write: if userId == request.userId && + * (imageName.endsWith('.png') || imageName.endsWith('.jpg')) && + * resource.mimeType.startsWith('image/') } } (projects.test) + * + * @param string $name Name of the project. + * + * Format: `projects/{project_id}` + * @param Google_Service_FirebaseRulesAPI_TestRulesetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_TestRulesetResponse + */ + public function test($name, Google_Service_FirebaseRulesAPI_TestRulesetRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('test', array($params), "Google_Service_FirebaseRulesAPI_TestRulesetResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php new file mode 100644 index 00000000..b0911978 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsReleases.php @@ -0,0 +1,186 @@ + + * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...); + * $releases = $firebaserulesService->releases; + * + */ +class Google_Service_FirebaseRulesAPI_Resource_ProjectsReleases extends Google_Service_Resource +{ + /** + * Create a `Release`. + * + * Release names should reflect the developer's deployment practices. For + * example, the release name may include the environment name, application name, + * application version, or any other name meaningful to the developer. Once a + * `Release` refers to a `Ruleset`, the rules can be enforced by Firebase Rules- + * enabled services. + * + * More than one `Release` may be 'live' concurrently. Consider the following + * three `Release` names for `projects/foo` and the `Ruleset` to which they + * refer. + * + * Release Name | Ruleset Name + * --------------------------------|------------- projects/foo/releases/prod + * | projects/foo/rulesets/uuid123 projects/foo/releases/prod/beta | + * projects/foo/rulesets/uuid123 projects/foo/releases/prod/v23 | + * projects/foo/rulesets/uuid456 + * + * The table reflects the `Ruleset` rollout in progress. The `prod` and + * `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23` refers + * to a new `Ruleset`. The `Ruleset` reference for a `Release` may be updated + * using the UpdateRelease method, and the custom `Release` name may be + * referenced by specifying the `X-Firebase-Rules-Release-Name` header. + * (releases.create) + * + * @param string $name Resource name for the project which owns this `Release`. + * + * Format: `projects/{project_id}` + * @param Google_Service_FirebaseRulesAPI_Release $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_Release + */ + public function create($name, Google_Service_FirebaseRulesAPI_Release $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_FirebaseRulesAPI_Release"); + } + /** + * Delete a `Release` by resource name. (releases.delete) + * + * @param string $name Resource name for the `Release` to delete. + * + * Format: `projects/{project_id}/releases/{release_id}` + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_FirebaserulesEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_FirebaseRulesAPI_FirebaserulesEmpty"); + } + /** + * Get a `Release` by name. (releases.get) + * + * @param string $name Resource name of the `Release`. + * + * Format: `projects/{project_id}/releases/{release_id}` + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_Release + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_FirebaseRulesAPI_Release"); + } + /** + * List the `Release` values for a project. This list may optionally be filtered + * by `Release` name or `Ruleset` id or both. (releases.listProjectsReleases) + * + * @param string $name Resource name for the project. + * + * Format: `projects/{project_id}` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Page size to load. Maximum of 100. Defaults to 10. + * Note: `page_size` is just a hint and the service may choose to load less than + * `page_size` due to the size of the output. To traverse all of the releases, + * caller should iterate until the `page_token` is empty. + * @opt_param string filter `Release` filter. The list method supports filters + * with restrictions on the `Release` `name` and also on the `Ruleset` + * `ruleset_name`. + * + * Example 1) A filter of 'name=prod*' might return `Release`s with names within + * 'projects/foo' prefixed with 'prod': + * + * Name | Ruleset Name + * ------------------------------|------------- projects/foo/releases/prod | + * projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v1 | + * projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v2 | + * projects/foo/rulesets/uuid8888 + * + * Example 2) A filter of `name=prod* ruleset_name=uuid1234` would return only + * `Release` instances for 'projects/foo' with names prefixed with 'prod' + * referring to the same `Ruleset` name of 'uuid1234': + * + * Name | Ruleset Name + * ------------------------------|------------- projects/foo/releases/prod | + * projects/foo/rulesets/1234 projects/foo/releases/prod/v1 | + * projects/foo/rulesets/1234 + * + * In the examples, the filter parameters refer to the search filters for + * release and ruleset names are relative to the project releases and rulesets + * collections. Fully qualified prefixed may also be used. e.g. + * `name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1` + * @opt_param string pageToken Next page token for the next batch of `Release` + * instances. + * @return Google_Service_FirebaseRulesAPI_ListReleasesResponse + */ + public function listProjectsReleases($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_FirebaseRulesAPI_ListReleasesResponse"); + } + /** + * Update a `Release`. + * + * Only updates to the `ruleset_name` field will be honored. `Release` rename is + * not supported. To create a `Release` use the CreateRelease method instead. + * (releases.update) + * + * @param string $name Resource name for the `Release`. + * + * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which + * affords developers a great deal of flexibility in mapping the name to the + * style that best fits their existing development practices. For example, a + * name could refer to an environment, an app, a version, or some combination of + * three. + * + * In the table below, for the project name `projects/foo`, the following + * relative release paths show how flat and structured names might be chosen to + * match a desired development / deployment strategy. + * + * Use Case | Flat Name | Structured Name + * -------------|---------------------|---------------- Environments | + * releases/qa | releases/qa Apps | releases/app1_qa | + * releases/app1/qa Versions | releases/app1_v2_qa | releases/app1/v2/qa + * + * The delimiter between the release name path elements can be almost anything + * and it should work equally well with the release name list filter, but in + * many ways the structured paths provide a clearer picture of the relationship + * between `Release` instances. + * + * Format: `projects/{project_id}/releases/{release_id}` + * @param Google_Service_FirebaseRulesAPI_Release $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_Release + */ + public function update($name, Google_Service_FirebaseRulesAPI_Release $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_FirebaseRulesAPI_Release"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php new file mode 100644 index 00000000..56b66c4e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Resource/ProjectsRulesets.php @@ -0,0 +1,108 @@ + + * $firebaserulesService = new Google_Service_FirebaseRulesAPI(...); + * $rulesets = $firebaserulesService->rulesets; + * + */ +class Google_Service_FirebaseRulesAPI_Resource_ProjectsRulesets extends Google_Service_Resource +{ + /** + * Create a `Ruleset` from `Source`. + * + * The `Ruleset` is given a unique generated name which is returned to the + * caller. `Source` containing syntactic or semantics errors will result in an + * error response indicating the first error encountered. For a detailed view of + * `Source` issues, use TestRuleset. (rulesets.create) + * + * @param string $name Resource name for Project which owns this `Ruleset`. + * + * Format: `projects/{project_id}` + * @param Google_Service_FirebaseRulesAPI_Ruleset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_Ruleset + */ + public function create($name, Google_Service_FirebaseRulesAPI_Ruleset $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_FirebaseRulesAPI_Ruleset"); + } + /** + * Delete a `Ruleset` by resource name. + * + * If the `Ruleset` is referenced by a `Release` the operation will fail. + * (rulesets.delete) + * + * @param string $name Resource name for the ruleset to delete. + * + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_FirebaserulesEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_FirebaseRulesAPI_FirebaserulesEmpty"); + } + /** + * Get a `Ruleset` by name including the full `Source` contents. (rulesets.get) + * + * @param string $name Resource name for the ruleset to get. + * + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + * @param array $optParams Optional parameters. + * @return Google_Service_FirebaseRulesAPI_Ruleset + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_FirebaseRulesAPI_Ruleset"); + } + /** + * List `Ruleset` metadata only and optionally filter the results by Ruleset + * name. + * + * The full `Source` contents of a `Ruleset` may be retrieved with GetRuleset. + * (rulesets.listProjectsRulesets) + * + * @param string $name Resource name for the project. + * + * Format: `projects/{project_id}` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Page size to load. Maximum of 100. Defaults to 10. + * Note: `page_size` is just a hint and the service may choose to load less than + * `page_size` due to the size of the output. To traverse all of the releases, + * caller should iterate until the `page_token` is empty. + * @opt_param string pageToken Next page token for loading the next batch of + * `Ruleset` instances. + * @return Google_Service_FirebaseRulesAPI_ListRulesetsResponse + */ + public function listProjectsRulesets($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_FirebaseRulesAPI_ListRulesetsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php new file mode 100644 index 00000000..567d1017 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Ruleset.php @@ -0,0 +1,49 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSource(Google_Service_FirebaseRulesAPI_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php new file mode 100644 index 00000000..4ad6e5bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/Source.php @@ -0,0 +1,32 @@ +files = $files; + } + public function getFiles() + { + return $this->files; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php new file mode 100644 index 00000000..4c62629e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/SourcePosition.php @@ -0,0 +1,48 @@ +column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php new file mode 100644 index 00000000..48533a52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetRequest.php @@ -0,0 +1,31 @@ +source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php new file mode 100644 index 00000000..f888d46b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/FirebaseRulesAPI/TestRulesetResponse.php @@ -0,0 +1,32 @@ +issues = $issues; + } + public function getIssues() + { + return $this->issues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php new file mode 100644 index 00000000..be8fc184 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness.php @@ -0,0 +1,386 @@ + + * Stores and accesses user data in the fitness store from apps on any platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Fitness extends Google_Service +{ + /** View your activity information in Google Fit. */ + const FITNESS_ACTIVITY_READ = + "https://www.googleapis.com/auth/fitness.activity.read"; + /** View and store your activity information in Google Fit. */ + const FITNESS_ACTIVITY_WRITE = + "https://www.googleapis.com/auth/fitness.activity.write"; + /** View blood glucose data in Google Fit. */ + const FITNESS_BLOOD_GLUCOSE_READ = + "https://www.googleapis.com/auth/fitness.blood_glucose.read"; + /** View and store blood glucose data in Google Fit. */ + const FITNESS_BLOOD_GLUCOSE_WRITE = + "https://www.googleapis.com/auth/fitness.blood_glucose.write"; + /** View blood pressure data in Google Fit. */ + const FITNESS_BLOOD_PRESSURE_READ = + "https://www.googleapis.com/auth/fitness.blood_pressure.read"; + /** View and store blood pressure data in Google Fit. */ + const FITNESS_BLOOD_PRESSURE_WRITE = + "https://www.googleapis.com/auth/fitness.blood_pressure.write"; + /** View body sensor information in Google Fit. */ + const FITNESS_BODY_READ = + "https://www.googleapis.com/auth/fitness.body.read"; + /** View and store body sensor data in Google Fit. */ + const FITNESS_BODY_WRITE = + "https://www.googleapis.com/auth/fitness.body.write"; + /** View body temperature data in Google Fit. */ + const FITNESS_BODY_TEMPERATURE_READ = + "https://www.googleapis.com/auth/fitness.body_temperature.read"; + /** View and store body temperature data in Google Fit. */ + const FITNESS_BODY_TEMPERATURE_WRITE = + "https://www.googleapis.com/auth/fitness.body_temperature.write"; + /** View your stored location data in Google Fit. */ + const FITNESS_LOCATION_READ = + "https://www.googleapis.com/auth/fitness.location.read"; + /** View and store your location data in Google Fit. */ + const FITNESS_LOCATION_WRITE = + "https://www.googleapis.com/auth/fitness.location.write"; + /** View nutrition information in Google Fit. */ + const FITNESS_NUTRITION_READ = + "https://www.googleapis.com/auth/fitness.nutrition.read"; + /** View and store nutrition information in Google Fit. */ + const FITNESS_NUTRITION_WRITE = + "https://www.googleapis.com/auth/fitness.nutrition.write"; + /** View oxygen saturation data in Google Fit. */ + const FITNESS_OXYGEN_SATURATION_READ = + "https://www.googleapis.com/auth/fitness.oxygen_saturation.read"; + /** View and store oxygen saturation data in Google Fit. */ + const FITNESS_OXYGEN_SATURATION_WRITE = + "https://www.googleapis.com/auth/fitness.oxygen_saturation.write"; + /** View reproductive health data in Google Fit. */ + const FITNESS_REPRODUCTIVE_HEALTH_READ = + "https://www.googleapis.com/auth/fitness.reproductive_health.read"; + /** View and store reproductive health data in Google Fit. */ + const FITNESS_REPRODUCTIVE_HEALTH_WRITE = + "https://www.googleapis.com/auth/fitness.reproductive_health.write"; + + public $users_dataSources; + public $users_dataSources_datasets; + public $users_dataset; + public $users_sessions; + + /** + * Constructs the internal representation of the Fitness service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'fitness/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'fitness'; + + $this->users_dataSources = new Google_Service_Fitness_Resource_UsersDataSources( + $this, + $this->serviceName, + 'dataSources', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/dataSources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/dataSources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataTypeName' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_dataSources_datasets = new Google_Service_Fitness_Resource_UsersDataSourcesDatasets( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_dataset = new Google_Service_Fitness_Resource_UsersDataset( + $this, + $this->serviceName, + 'dataset', + array( + 'methods' => array( + 'aggregate' => array( + 'path' => '{userId}/dataset:aggregate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_sessions = new Google_Service_Fitness_Resource_UsersSessions( + $this, + $this->serviceName, + 'sessions', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/sessions/{sessionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sessionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/sessions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => '{userId}/sessions/{sessionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sessionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php new file mode 100644 index 00000000..99f9430f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBucket.php @@ -0,0 +1,78 @@ +activity = $activity; + } + public function getActivity() + { + return $this->activity; + } + public function setDataset($dataset) + { + $this->dataset = $dataset; + } + public function getDataset() + { + return $this->dataset; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setSession(Google_Service_Fitness_Session $session) + { + $this->session = $session; + } + public function getSession() + { + return $this->session; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php new file mode 100644 index 00000000..f93f1b2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateBy.php @@ -0,0 +1,39 @@ +dataSourceId = $dataSourceId; + } + public function getDataSourceId() + { + return $this->dataSourceId; + } + public function setDataTypeName($dataTypeName) + { + $this->dataTypeName = $dataTypeName; + } + public function getDataTypeName() + { + return $this->dataTypeName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php new file mode 100644 index 00000000..bf8d760c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateRequest.php @@ -0,0 +1,99 @@ +aggregateBy = $aggregateBy; + } + public function getAggregateBy() + { + return $this->aggregateBy; + } + public function setBucketByActivitySegment(Google_Service_Fitness_BucketByActivity $bucketByActivitySegment) + { + $this->bucketByActivitySegment = $bucketByActivitySegment; + } + public function getBucketByActivitySegment() + { + return $this->bucketByActivitySegment; + } + public function setBucketByActivityType(Google_Service_Fitness_BucketByActivity $bucketByActivityType) + { + $this->bucketByActivityType = $bucketByActivityType; + } + public function getBucketByActivityType() + { + return $this->bucketByActivityType; + } + public function setBucketBySession(Google_Service_Fitness_BucketBySession $bucketBySession) + { + $this->bucketBySession = $bucketBySession; + } + public function getBucketBySession() + { + return $this->bucketBySession; + } + public function setBucketByTime(Google_Service_Fitness_BucketByTime $bucketByTime) + { + $this->bucketByTime = $bucketByTime; + } + public function getBucketByTime() + { + return $this->bucketByTime; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setFilteredDataQualityStandard($filteredDataQualityStandard) + { + $this->filteredDataQualityStandard = $filteredDataQualityStandard; + } + public function getFilteredDataQualityStandard() + { + return $this->filteredDataQualityStandard; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php new file mode 100644 index 00000000..d01f54a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/AggregateResponse.php @@ -0,0 +1,32 @@ +bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php new file mode 100644 index 00000000..aae83b93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Application.php @@ -0,0 +1,57 @@ +detailsUrl = $detailsUrl; + } + public function getDetailsUrl() + { + return $this->detailsUrl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php new file mode 100644 index 00000000..a4949320 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByActivity.php @@ -0,0 +1,39 @@ +activityDataSourceId = $activityDataSourceId; + } + public function getActivityDataSourceId() + { + return $this->activityDataSourceId; + } + public function setMinDurationMillis($minDurationMillis) + { + $this->minDurationMillis = $minDurationMillis; + } + public function getMinDurationMillis() + { + return $this->minDurationMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php new file mode 100644 index 00000000..45d3fdf5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketBySession.php @@ -0,0 +1,30 @@ +minDurationMillis = $minDurationMillis; + } + public function getMinDurationMillis() + { + return $this->minDurationMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php new file mode 100644 index 00000000..2ef6e9d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTime.php @@ -0,0 +1,40 @@ +durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } + public function setPeriod(Google_Service_Fitness_BucketByTimePeriod $period) + { + $this->period = $period; + } + public function getPeriod() + { + return $this->period; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php new file mode 100644 index 00000000..e24450be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/BucketByTimePeriod.php @@ -0,0 +1,48 @@ +timeZoneId = $timeZoneId; + } + public function getTimeZoneId() + { + return $this->timeZoneId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php new file mode 100644 index 00000000..fba8a4b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataPoint.php @@ -0,0 +1,95 @@ +computationTimeMillis = $computationTimeMillis; + } + public function getComputationTimeMillis() + { + return $this->computationTimeMillis; + } + public function setDataTypeName($dataTypeName) + { + $this->dataTypeName = $dataTypeName; + } + public function getDataTypeName() + { + return $this->dataTypeName; + } + public function setEndTimeNanos($endTimeNanos) + { + $this->endTimeNanos = $endTimeNanos; + } + public function getEndTimeNanos() + { + return $this->endTimeNanos; + } + public function setModifiedTimeMillis($modifiedTimeMillis) + { + $this->modifiedTimeMillis = $modifiedTimeMillis; + } + public function getModifiedTimeMillis() + { + return $this->modifiedTimeMillis; + } + public function setOriginDataSourceId($originDataSourceId) + { + $this->originDataSourceId = $originDataSourceId; + } + public function getOriginDataSourceId() + { + return $this->originDataSourceId; + } + public function setRawTimestampNanos($rawTimestampNanos) + { + $this->rawTimestampNanos = $rawTimestampNanos; + } + public function getRawTimestampNanos() + { + return $this->rawTimestampNanos; + } + public function setStartTimeNanos($startTimeNanos) + { + $this->startTimeNanos = $startTimeNanos; + } + public function getStartTimeNanos() + { + return $this->startTimeNanos; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php new file mode 100644 index 00000000..837ec6f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataSource.php @@ -0,0 +1,97 @@ +application = $application; + } + public function getApplication() + { + return $this->application; + } + public function setDataQualityStandard($dataQualityStandard) + { + $this->dataQualityStandard = $dataQualityStandard; + } + public function getDataQualityStandard() + { + return $this->dataQualityStandard; + } + public function setDataStreamId($dataStreamId) + { + $this->dataStreamId = $dataStreamId; + } + public function getDataStreamId() + { + return $this->dataStreamId; + } + public function setDataStreamName($dataStreamName) + { + $this->dataStreamName = $dataStreamName; + } + public function getDataStreamName() + { + return $this->dataStreamName; + } + public function setDataType(Google_Service_Fitness_DataType $dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setDevice(Google_Service_Fitness_Device $device) + { + $this->device = $device; + } + public function getDevice() + { + return $this->device; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php new file mode 100644 index 00000000..74042d11 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataType.php @@ -0,0 +1,41 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php new file mode 100644 index 00000000..4439ed84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/DataTypeField.php @@ -0,0 +1,48 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptional($optional) + { + $this->optional = $optional; + } + public function getOptional() + { + return $this->optional; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php new file mode 100644 index 00000000..cc005a09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Dataset.php @@ -0,0 +1,68 @@ +dataSourceId = $dataSourceId; + } + public function getDataSourceId() + { + return $this->dataSourceId; + } + public function setMaxEndTimeNs($maxEndTimeNs) + { + $this->maxEndTimeNs = $maxEndTimeNs; + } + public function getMaxEndTimeNs() + { + return $this->maxEndTimeNs; + } + public function setMinStartTimeNs($minStartTimeNs) + { + $this->minStartTimeNs = $minStartTimeNs; + } + public function getMinStartTimeNs() + { + return $this->minStartTimeNs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPoint($point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php new file mode 100644 index 00000000..f286ef1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Device.php @@ -0,0 +1,66 @@ +manufacturer = $manufacturer; + } + public function getManufacturer() + { + return $this->manufacturer; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php new file mode 100644 index 00000000..941acc9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListDataSourcesResponse.php @@ -0,0 +1,32 @@ +dataSource = $dataSource; + } + public function getDataSource() + { + return $this->dataSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php new file mode 100644 index 00000000..ef0b85f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ListSessionsResponse.php @@ -0,0 +1,60 @@ +deletedSession = $deletedSession; + } + public function getDeletedSession() + { + return $this->deletedSession; + } + public function setHasMoreData($hasMoreData) + { + $this->hasMoreData = $hasMoreData; + } + public function getHasMoreData() + { + return $this->hasMoreData; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSession($session) + { + $this->session = $session; + } + public function getSession() + { + return $this->session; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php new file mode 100644 index 00000000..5131de54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/MapValue.php @@ -0,0 +1,30 @@ +fpVal = $fpVal; + } + public function getFpVal() + { + return $this->fpVal; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php new file mode 100644 index 00000000..1137392d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/Users.php @@ -0,0 +1,28 @@ + + * $fitnessService = new Google_Service_Fitness(...); + * $users = $fitnessService->users; + * + */ +class Google_Service_Fitness_Resource_Users extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php new file mode 100644 index 00000000..7616597d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSources.php @@ -0,0 +1,143 @@ + + * $fitnessService = new Google_Service_Fitness(...); + * $dataSources = $fitnessService->dataSources; + * + */ +class Google_Service_Fitness_Resource_UsersDataSources extends Google_Service_Resource +{ + /** + * Creates a new data source that is unique across all data sources belonging to + * this user. The data stream ID field can be omitted and will be generated by + * the server with the correct format. The data stream ID is an ordered + * combination of some fields from the data source. In addition to the data + * source fields reflected into the data source ID, the developer project number + * that is authenticated when creating the data source is included. This + * developer project number is obfuscated when read by any other developer + * reading public data types. (dataSources.create) + * + * @param string $userId Create the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param Google_Service_Fitness_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function create($userId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Fitness_DataSource"); + } + /** + * Deletes the specified data source. The request will fail if the data source + * contains any data points. (dataSources.delete) + * + * @param string $userId Retrieve a data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function delete($userId, $dataSourceId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Fitness_DataSource"); + } + /** + * Returns the specified data source. (dataSources.get) + * + * @param string $userId Retrieve a data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to + * retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function get($userId, $dataSourceId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fitness_DataSource"); + } + /** + * Lists all data sources that are visible to the developer, using the OAuth + * scopes provided. The list is not exhaustive; the user may have private data + * sources that are only visible to other developers, or calls using other + * scopes. (dataSources.listUsersDataSources) + * + * @param string $userId List data sources for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param array $optParams Optional parameters. + * + * @opt_param string dataTypeName The names of data types to include in the + * list. If not specified, all data sources will be returned. + * @return Google_Service_Fitness_ListDataSourcesResponse + */ + public function listUsersDataSources($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fitness_ListDataSourcesResponse"); + } + /** + * Updates the specified data source. The dataStreamId, dataType, type, + * dataStreamName, and device properties with the exception of version, cannot + * be modified. + * + * Data sources are identified by their dataStreamId. This method supports patch + * semantics. (dataSources.patch) + * + * @param string $userId Update the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to update. + * @param Google_Service_Fitness_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function patch($userId, $dataSourceId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fitness_DataSource"); + } + /** + * Updates the specified data source. The dataStreamId, dataType, type, + * dataStreamName, and device properties with the exception of version, cannot + * be modified. + * + * Data sources are identified by their dataStreamId. (dataSources.update) + * + * @param string $userId Update the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to update. + * @param Google_Service_Fitness_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function update($userId, $dataSourceId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fitness_DataSource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php new file mode 100644 index 00000000..0fca4bd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataSourcesDatasets.php @@ -0,0 +1,119 @@ + + * $fitnessService = new Google_Service_Fitness(...); + * $datasets = $fitnessService->datasets; + * + */ +class Google_Service_Fitness_Resource_UsersDataSourcesDatasets extends Google_Service_Resource +{ + /** + * Performs an inclusive delete of all data points whose start and end times + * have any overlap with the time range specified by the dataset ID. For most + * data types, the entire data point will be deleted. For data types where the + * time span represents a consistent value (such as + * com.google.activity.segment), and a data point straddles either end point of + * the dataset, only the overlapping portion of the data point will be deleted. + * (datasets.delete) + * + * @param string $userId Delete a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + * @opt_param string modifiedTimeMillis When the operation was performed on the + * client. + */ + public function delete($userId, $dataSourceId, $datasetId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns a dataset containing all data points whose start and end times + * overlap with the specified range of the dataset minimum start time and + * maximum end time. Specifically, any data point whose start time is less than + * or equal to the dataset end time and whose end time is greater than or equal + * to the dataset start time. (datasets.get) + * + * @param string $userId Retrieve a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param array $optParams Optional parameters. + * + * @opt_param int limit If specified, no more than this many data points will be + * included in the dataset. If there are more data points in the dataset, + * nextPageToken will be set in the dataset response. + * @opt_param string pageToken The continuation token, which is used to page + * through large datasets. To get the next page of a dataset, set this parameter + * to the value of nextPageToken from the previous response. Each subsequent + * call will yield a partial dataset with data point end timestamps that are + * strictly smaller than those in the previous partial response. + * @return Google_Service_Fitness_Dataset + */ + public function get($userId, $dataSourceId, $datasetId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fitness_Dataset"); + } + /** + * Adds data points to a dataset. The dataset need not be previously created. + * All points within the given dataset will be returned with subsquent calls to + * retrieve this dataset. Data points can belong to more than one dataset. This + * method does not use patch semantics. (datasets.patch) + * + * @param string $userId Patch a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param Google_Service_Fitness_Dataset $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the + * request body are in nanoseconds instead of milliseconds. + * @return Google_Service_Fitness_Dataset + */ + public function patch($userId, $dataSourceId, $datasetId, Google_Service_Fitness_Dataset $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fitness_Dataset"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php new file mode 100644 index 00000000..76e83451 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersDataset.php @@ -0,0 +1,46 @@ + + * $fitnessService = new Google_Service_Fitness(...); + * $dataset = $fitnessService->dataset; + * + */ +class Google_Service_Fitness_Resource_UsersDataset extends Google_Service_Resource +{ + /** + * Aggregates data of a certain type or stream into buckets divided by a given + * type of boundary. Multiple data sets of multiple types and from multiple + * sources can be aggreated into exactly one bucket type per request. + * (dataset.aggregate) + * + * @param string $userId Aggregate data for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param Google_Service_Fitness_AggregateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_AggregateResponse + */ + public function aggregate($userId, Google_Service_Fitness_AggregateRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('aggregate', array($params), "Google_Service_Fitness_AggregateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php new file mode 100644 index 00000000..d610485c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Resource/UsersSessions.php @@ -0,0 +1,89 @@ + + * $fitnessService = new Google_Service_Fitness(...); + * $sessions = $fitnessService->sessions; + * + */ +class Google_Service_Fitness_Resource_UsersSessions extends Google_Service_Resource +{ + /** + * Deletes a session specified by the given session ID. (sessions.delete) + * + * @param string $userId Delete a session for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $sessionId The ID of the session to be deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + */ + public function delete($userId, $sessionId, $optParams = array()) + { + $params = array('userId' => $userId, 'sessionId' => $sessionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Lists sessions previously created. (sessions.listUsersSessions) + * + * @param string $userId List sessions for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param array $optParams Optional parameters. + * + * @opt_param string endTime An RFC3339 timestamp. Only sessions ending between + * the start and end times will be included in the response. + * @opt_param bool includeDeleted If true, deleted sessions will be returned. + * When set to true, sessions returned in this response will only have an ID and + * will not have any other fields. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of nextPageToken from the previous response. + * @opt_param string startTime An RFC3339 timestamp. Only sessions ending + * between the start and end times will be included in the response. + * @return Google_Service_Fitness_ListSessionsResponse + */ + public function listUsersSessions($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fitness_ListSessionsResponse"); + } + /** + * Updates or insert a given session. (sessions.update) + * + * @param string $userId Create sessions for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $sessionId The ID of the session to be created. + * @param Google_Service_Fitness_Session $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + * @return Google_Service_Fitness_Session + */ + public function update($userId, $sessionId, Google_Service_Fitness_Session $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'sessionId' => $sessionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fitness_Session"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php new file mode 100644 index 00000000..c1ae1290 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Session.php @@ -0,0 +1,103 @@ +activeTimeMillis = $activeTimeMillis; + } + public function getActiveTimeMillis() + { + return $this->activeTimeMillis; + } + public function setActivityType($activityType) + { + $this->activityType = $activityType; + } + public function getActivityType() + { + return $this->activityType; + } + public function setApplication(Google_Service_Fitness_Application $application) + { + $this->application = $application; + } + public function getApplication() + { + return $this->application; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setModifiedTimeMillis($modifiedTimeMillis) + { + $this->modifiedTimeMillis = $modifiedTimeMillis; + } + public function getModifiedTimeMillis() + { + return $this->modifiedTimeMillis; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php new file mode 100644 index 00000000..273ed061 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/Value.php @@ -0,0 +1,59 @@ +fpVal = $fpVal; + } + public function getFpVal() + { + return $this->fpVal; + } + public function setIntVal($intVal) + { + $this->intVal = $intVal; + } + public function getIntVal() + { + return $this->intVal; + } + public function setMapVal($mapVal) + { + $this->mapVal = $mapVal; + } + public function getMapVal() + { + return $this->mapVal; + } + public function setStringVal($stringVal) + { + $this->stringVal = $stringVal; + } + public function getStringVal() + { + return $this->stringVal; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php new file mode 100644 index 00000000..fb99ddfd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fitness/ValueMapValEntry.php @@ -0,0 +1,40 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue(Google_Service_Fitness_MapValue $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php new file mode 100644 index 00000000..2c0e9ca6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase.php @@ -0,0 +1,258 @@ + + * Find Freebase entities using textual queries and other constraints.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Freebase extends Google_Service +{ + + + + private $base_methods; + /** + * Constructs the internal representation of the Freebase service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'freebase/v1/'; + $this->version = 'v1'; + $this->serviceName = 'freebase'; + + $this->base_methods = new Google_Service_Resource( + $this, + $this->serviceName, + '', + array( + 'methods' => array( + 'reconcile' => array( + 'path' => 'reconcile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'confidence' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'kind' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'lang' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prop' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'search' => array( + 'path' => 'search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'as_of_time' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'callback' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cursor' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'encode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'exact' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'help' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'indent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'lang' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mid' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'mql_output' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'output' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prefixed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scoring' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spell' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stemmed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'with' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'without' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } + /** + * Reconcile entities to Freebase open data. (reconcile) + * + * @param array $optParams Optional parameters. + * + * @opt_param float confidence Required confidence for a candidate to match. + * Must be between .5 and 1.0 + * @opt_param string kind Classifications of entity e.g. type, category, title. + * @opt_param string lang Languages for names and values. First language is used + * for display. Default is 'en'. + * @opt_param int limit Maximum number of candidates to return. + * @opt_param string name Name of entity. + * @opt_param string prop Property values for entity formatted as : + * @return Google_Service_Freebase_ReconcileGet + */ + public function reconcile($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('reconcile', array($params), "Google_Service_Freebase_ReconcileGet"); + } + /** + * Search Freebase open data. (search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string as_of_time A mql as_of_time value to use with mql_output + * queries. + * @opt_param string callback JS method name for JSONP callbacks. + * @opt_param int cursor The cursor value to use for the next page of results. + * @opt_param string domain Restrict to topics with this Freebase domain id. + * @opt_param string encode The encoding of the response. You can use this + * parameter to enable html encoding. + * @opt_param bool exact Query on exact name and keys only. + * @opt_param string filter A filter to apply to the query. + * @opt_param string format Structural format of the json response. + * @opt_param string help The keyword to request help on. + * @opt_param bool indent Whether to indent the json results or not. + * @opt_param string lang The code of the language to run the query with. + * Default is 'en'. + * @opt_param int limit Maximum number of results to return. + * @opt_param string mid A mid to use instead of a query. + * @opt_param string mql_output The MQL query to run againist the results to + * extract more data. + * @opt_param string output An output expression to request data from matches. + * @opt_param bool prefixed Prefix match against names and aliases. + * @opt_param string query Query term to search for. + * @opt_param string scoring Relevance scoring algorithm to use. + * @opt_param string spell Request 'did you mean' suggestions + * @opt_param bool stemmed Query on stemmed names and aliases. May not be used + * with prefixed. + * @opt_param string type Restrict to topics with this Freebase type id. + * @opt_param string with A rule to match against. + * @opt_param string without A rule to not match against. + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('search', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php new file mode 100644 index 00000000..f642d16e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidate.php @@ -0,0 +1,67 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setLang($lang) + { + $this->lang = $lang; + } + public function getLang() + { + return $this->lang; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotable(Google_Service_Freebase_ReconcileCandidateNotable $notable) + { + $this->notable = $notable; + } + public function getNotable() + { + return $this->notable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php new file mode 100644 index 00000000..4a75e047 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileCandidateNotable.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php new file mode 100644 index 00000000..8abc62c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGet.php @@ -0,0 +1,62 @@ +candidate = $candidate; + } + public function getCandidate() + { + return $this->candidate; + } + public function setCosts(Google_Service_Freebase_ReconcileGetCosts $costs) + { + $this->costs = $costs; + } + public function getCosts() + { + return $this->costs; + } + public function setMatch(Google_Service_Freebase_ReconcileCandidate $match) + { + $this->match = $match; + } + public function getMatch() + { + return $this->match; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php new file mode 100644 index 00000000..9157995b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetCosts.php @@ -0,0 +1,39 @@ +hits = $hits; + } + public function getHits() + { + return $this->hits; + } + public function setMs($ms) + { + $this->ms = $ms; + } + public function getMs() + { + return $this->ms; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php new file mode 100644 index 00000000..7e5a9cec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Freebase/ReconcileGetWarning.php @@ -0,0 +1,48 @@ +location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php new file mode 100644 index 00000000..7c51871e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables.php @@ -0,0 +1,630 @@ + + * API for working with Fusion Tables data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Fusiontables extends Google_Service +{ + /** Manage your Fusion Tables. */ + const FUSIONTABLES = + "https://www.googleapis.com/auth/fusiontables"; + /** View your Fusion Tables. */ + const FUSIONTABLES_READONLY = + "https://www.googleapis.com/auth/fusiontables.readonly"; + + public $column; + public $query; + public $style; + public $table; + public $task; + public $template; + + /** + * Constructs the internal representation of the Fusiontables service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'fusiontables/v2/'; + $this->version = 'v2'; + $this->serviceName = 'fusiontables'; + + $this->column = new Google_Service_Fusiontables_Resource_Column( + $this, + $this->serviceName, + 'column', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/columns', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/columns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->query = new Google_Service_Fusiontables_Resource_Query( + $this, + $this->serviceName, + 'query', + array( + 'methods' => array( + 'sql' => array( + 'path' => 'query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sql' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hdrs' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'typed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'sqlGet' => array( + 'path' => 'query', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sql' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hdrs' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'typed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->style = new Google_Service_Fusiontables_Resource_Style( + $this, + $this->serviceName, + 'style', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/styles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/styles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->table = new Google_Service_Fusiontables_Resource_Table( + $this, + $this->serviceName, + 'table', + array( + 'methods' => array( + 'copy' => array( + 'path' => 'tables/{tableId}/copy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'copyPresentation' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'importRows' => array( + 'path' => 'tables/{tableId}/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'isStrict' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'startLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'importTable' => array( + 'path' => 'tables/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceViewDefinition' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'replaceRows' => array( + 'path' => 'tables/{tableId}/replace', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'isStrict' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'startLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceViewDefinition' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->task = new Google_Service_Fusiontables_Resource_Task( + $this, + $this->serviceName, + 'task', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/tasks/{taskId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/tasks/{taskId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->template = new Google_Service_Fusiontables_Resource_Template( + $this, + $this->serviceName, + 'template', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php new file mode 100644 index 00000000..b8d29340 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Bucket.php @@ -0,0 +1,75 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setIcon($icon) + { + $this->icon = $icon; + } + public function getIcon() + { + return $this->icon; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php new file mode 100644 index 00000000..6af64b21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Column.php @@ -0,0 +1,131 @@ +baseColumn = $baseColumn; + } + public function getBaseColumn() + { + return $this->baseColumn; + } + public function setColumnId($columnId) + { + $this->columnId = $columnId; + } + public function getColumnId() + { + return $this->columnId; + } + public function setColumnJsonSchema($columnJsonSchema) + { + $this->columnJsonSchema = $columnJsonSchema; + } + public function getColumnJsonSchema() + { + return $this->columnJsonSchema; + } + public function setColumnPropertiesJson($columnPropertiesJson) + { + $this->columnPropertiesJson = $columnPropertiesJson; + } + public function getColumnPropertiesJson() + { + return $this->columnPropertiesJson; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFormatPattern($formatPattern) + { + $this->formatPattern = $formatPattern; + } + public function getFormatPattern() + { + return $this->formatPattern; + } + public function setGraphPredicate($graphPredicate) + { + $this->graphPredicate = $graphPredicate; + } + public function getGraphPredicate() + { + return $this->graphPredicate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValidValues($validValues) + { + $this->validValues = $validValues; + } + public function getValidValues() + { + return $this->validValues; + } + public function setValidateData($validateData) + { + $this->validateData = $validateData; + } + public function getValidateData() + { + return $this->validateData; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php new file mode 100644 index 00000000..0dcd6e52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnBaseColumn.php @@ -0,0 +1,39 @@ +columnId = $columnId; + } + public function getColumnId() + { + return $this->columnId; + } + public function setTableIndex($tableIndex) + { + $this->tableIndex = $tableIndex; + } + public function getTableIndex() + { + return $this->tableIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php new file mode 100644 index 00000000..2f04ef80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/ColumnList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php new file mode 100644 index 00000000..9852b8b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Geometry.php @@ -0,0 +1,49 @@ +geometries = $geometries; + } + public function getGeometries() + { + return $this->geometries; + } + public function setGeometry($geometry) + { + $this->geometry = $geometry; + } + public function getGeometry() + { + return $this->geometry; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php new file mode 100644 index 00000000..63dd9aaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Import.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumRowsReceived($numRowsReceived) + { + $this->numRowsReceived = $numRowsReceived; + } + public function getNumRowsReceived() + { + return $this->numRowsReceived; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php new file mode 100644 index 00000000..ee490bd6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Line.php @@ -0,0 +1,40 @@ +coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php new file mode 100644 index 00000000..ff7e78f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/LineStyle.php @@ -0,0 +1,68 @@ +strokeColor = $strokeColor; + } + public function getStrokeColor() + { + return $this->strokeColor; + } + public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) + { + $this->strokeColorStyler = $strokeColorStyler; + } + public function getStrokeColorStyler() + { + return $this->strokeColorStyler; + } + public function setStrokeOpacity($strokeOpacity) + { + $this->strokeOpacity = $strokeOpacity; + } + public function getStrokeOpacity() + { + return $this->strokeOpacity; + } + public function setStrokeWeight($strokeWeight) + { + $this->strokeWeight = $strokeWeight; + } + public function getStrokeWeight() + { + return $this->strokeWeight; + } + public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) + { + $this->strokeWeightStyler = $strokeWeightStyler; + } + public function getStrokeWeightStyler() + { + return $this->strokeWeightStyler; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php new file mode 100644 index 00000000..bceb6895 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Point.php @@ -0,0 +1,40 @@ +coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php new file mode 100644 index 00000000..c00480d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PointStyle.php @@ -0,0 +1,40 @@ +iconName = $iconName; + } + public function getIconName() + { + return $this->iconName; + } + public function setIconStyler(Google_Service_Fusiontables_StyleFunction $iconStyler) + { + $this->iconStyler = $iconStyler; + } + public function getIconStyler() + { + return $this->iconStyler; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php new file mode 100644 index 00000000..519bf8ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Polygon.php @@ -0,0 +1,40 @@ +coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php new file mode 100644 index 00000000..14a3102e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/PolygonStyle.php @@ -0,0 +1,96 @@ +fillColor = $fillColor; + } + public function getFillColor() + { + return $this->fillColor; + } + public function setFillColorStyler(Google_Service_Fusiontables_StyleFunction $fillColorStyler) + { + $this->fillColorStyler = $fillColorStyler; + } + public function getFillColorStyler() + { + return $this->fillColorStyler; + } + public function setFillOpacity($fillOpacity) + { + $this->fillOpacity = $fillOpacity; + } + public function getFillOpacity() + { + return $this->fillOpacity; + } + public function setStrokeColor($strokeColor) + { + $this->strokeColor = $strokeColor; + } + public function getStrokeColor() + { + return $this->strokeColor; + } + public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) + { + $this->strokeColorStyler = $strokeColorStyler; + } + public function getStrokeColorStyler() + { + return $this->strokeColorStyler; + } + public function setStrokeOpacity($strokeOpacity) + { + $this->strokeOpacity = $strokeOpacity; + } + public function getStrokeOpacity() + { + return $this->strokeOpacity; + } + public function setStrokeWeight($strokeWeight) + { + $this->strokeWeight = $strokeWeight; + } + public function getStrokeWeight() + { + return $this->strokeWeight; + } + public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) + { + $this->strokeWeightStyler = $strokeWeightStyler; + } + public function getStrokeWeightStyler() + { + return $this->strokeWeightStyler; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php new file mode 100644 index 00000000..6cbf88bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Column.php @@ -0,0 +1,121 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $column = $fusiontablesService->column; + * + */ +class Google_Service_Fusiontables_Resource_Column extends Google_Service_Resource +{ + /** + * Deletes the specified column. (column.delete) + * + * @param string $tableId Table from which the column is being deleted. + * @param string $columnId Name or identifier for the column being deleted. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $columnId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a specific column by its ID. (column.get) + * + * @param string $tableId Table to which the column belongs. + * @param string $columnId Name or identifier for the column that is being + * requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function get($tableId, $columnId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Column"); + } + /** + * Adds a new column to the table. (column.insert) + * + * @param string $tableId Table for which a new column is being added. + * @param Google_Service_Fusiontables_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function insert($tableId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Column"); + } + /** + * Retrieves a list of columns. (column.listColumn) + * + * @param string $tableId Table whose columns are being listed. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of columns to return. Default is + * 5. + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @return Google_Service_Fusiontables_ColumnList + */ + public function listColumn($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_ColumnList"); + } + /** + * Updates the name or type of an existing column. This method supports patch + * semantics. (column.patch) + * + * @param string $tableId Table for which the column is being updated. + * @param string $columnId Name or identifier for the column that is being + * updated. + * @param Google_Service_Fusiontables_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function patch($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Column"); + } + /** + * Updates the name or type of an existing column. (column.update) + * + * @param string $tableId Table for which the column is being updated. + * @param string $columnId Name or identifier for the column that is being + * updated. + * @param Google_Service_Fusiontables_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function update($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Column"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php new file mode 100644 index 00000000..f2fb6562 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Query.php @@ -0,0 +1,70 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $query = $fusiontablesService->query; + * + */ +class Google_Service_Fusiontables_Resource_Query extends Google_Service_Resource +{ + /** + * Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT + * - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement. (query.sql) + * + * @param string $sql A Fusion Tables SQL statement, which can be any of - + * SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE + * @param array $optParams Optional parameters. + * + * @opt_param bool hdrs Whether column names are included in the first row. + * Default is true. + * @opt_param bool typed Whether typed values are returned in the (JSON) + * response: numbers for numeric values and parsed geometries for KML values. + * Default is true. + * @return Google_Service_Fusiontables_Sqlresponse + */ + public function sql($sql, $optParams = array()) + { + $params = array('sql' => $sql); + $params = array_merge($params, $optParams); + return $this->call('sql', array($params), "Google_Service_Fusiontables_Sqlresponse"); + } + /** + * Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE + * (query.sqlGet) + * + * @param string $sql A SQL statement which can be any of - SELECT - SHOW - + * DESCRIBE + * @param array $optParams Optional parameters. + * + * @opt_param bool hdrs Whether column names are included (in the first row). + * Default is true. + * @opt_param bool typed Whether typed values are returned in the (JSON) + * response: numbers for numeric values and parsed geometries for KML values. + * Default is true. + * @return Google_Service_Fusiontables_Sqlresponse + */ + public function sqlGet($sql, $optParams = array()) + { + $params = array('sql' => $sql); + $params = array_merge($params, $optParams); + return $this->call('sqlGet', array($params), "Google_Service_Fusiontables_Sqlresponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php new file mode 100644 index 00000000..a4827806 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Style.php @@ -0,0 +1,118 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $style = $fusiontablesService->style; + * + */ +class Google_Service_Fusiontables_Resource_Style extends Google_Service_Resource +{ + /** + * Deletes a style. (style.delete) + * + * @param string $tableId Table from which the style is being deleted + * @param int $styleId Identifier (within a table) for the style being deleted + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $styleId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a specific style. (style.get) + * + * @param string $tableId Table to which the requested style belongs + * @param int $styleId Identifier (integer) for a specific style in a table + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function get($tableId, $styleId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + /** + * Adds a new style for the table. (style.insert) + * + * @param string $tableId Table for which a new style is being added + * @param Google_Service_Fusiontables_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function insert($tableId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + /** + * Retrieves a list of styles. (style.listStyle) + * + * @param string $tableId Table whose styles are being listed + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of styles to return. Optional. + * Default is 5. + * @opt_param string pageToken Continuation token specifying which result page + * to return. Optional. + * @return Google_Service_Fusiontables_StyleSettingList + */ + public function listStyle($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_StyleSettingList"); + } + /** + * Updates an existing style. This method supports patch semantics. + * (style.patch) + * + * @param string $tableId Table whose style is being updated. + * @param int $styleId Identifier (within a table) for the style being updated. + * @param Google_Service_Fusiontables_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function patch($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + /** + * Updates an existing style. (style.update) + * + * @param string $tableId Table whose style is being updated. + * @param int $styleId Identifier (within a table) for the style being updated. + * @param Google_Service_Fusiontables_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function update($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_StyleSetting"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php new file mode 100644 index 00000000..a556b0d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Table.php @@ -0,0 +1,212 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $table = $fusiontablesService->table; + * + */ +class Google_Service_Fusiontables_Resource_Table extends Google_Service_Resource +{ + /** + * Copies a table. (table.copy) + * + * @param string $tableId ID of the table that is being copied. + * @param array $optParams Optional parameters. + * + * @opt_param bool copyPresentation Whether to also copy tabs, styles, and + * templates. Default is false. + * @return Google_Service_Fusiontables_Table + */ + public function copy($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Fusiontables_Table"); + } + /** + * Deletes a table. (table.delete) + * + * @param string $tableId ID of the table to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a specific table by its ID. (table.get) + * + * @param string $tableId Identifier for the table being requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Table + */ + public function get($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Table"); + } + /** + * Imports more rows into a table. (table.importRows) + * + * @param string $tableId The table into which new rows are being imported. + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * auto-detect if you are unsure of the encoding. + * @opt_param int endLine The index of the line up to which data will be + * imported. Default is to import the entire file. If endLine is negative, it is + * an offset from the end of the file; the imported content will exclude the + * last endLine lines. + * @opt_param bool isStrict Whether the imported CSV must have the same number + * of values for each row. If false, rows with fewer values will be padded with + * empty values. Default is true. + * @opt_param int startLine The index of the first line from which to start + * importing, inclusive. Default is 0. + * @return Google_Service_Fusiontables_Import + */ + public function importRows($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('importRows', array($params), "Google_Service_Fusiontables_Import"); + } + /** + * Imports a new table. (table.importTable) + * + * @param string $name The name to be assigned to the new table. + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * auto-detect if you are unsure of the encoding. + * @return Google_Service_Fusiontables_Table + */ + public function importTable($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('importTable', array($params), "Google_Service_Fusiontables_Table"); + } + /** + * Creates a new table. (table.insert) + * + * @param Google_Service_Fusiontables_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Table + */ + public function insert(Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Table"); + } + /** + * Retrieves a list of tables a user owns. (table.listTable) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of tables to return. Default is + * 5. + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @return Google_Service_Fusiontables_TableList + */ + public function listTable($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TableList"); + } + /** + * Updates an existing table. Unless explicitly requested, only the name, + * description, and attribution will be updated. This method supports patch + * semantics. (table.patch) + * + * @param string $tableId ID of the table that is being updated. + * @param Google_Service_Fusiontables_Table $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool replaceViewDefinition Whether the view definition is also + * updated. The specified view definition replaces the existing one. Only a view + * can be updated with a new definition. + * @return Google_Service_Fusiontables_Table + */ + public function patch($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Table"); + } + /** + * Replaces rows of an existing table. Current rows remain visible until all + * replacement rows are ready. (table.replaceRows) + * + * @param string $tableId Table whose rows will be replaced. + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * 'auto-detect' if you are unsure of the encoding. + * @opt_param int endLine The index of the line up to which data will be + * imported. Default is to import the entire file. If endLine is negative, it is + * an offset from the end of the file; the imported content will exclude the + * last endLine lines. + * @opt_param bool isStrict Whether the imported CSV must have the same number + * of column values for each row. If true, throws an exception if the CSV does + * not have the same number of columns. If false, rows with fewer column values + * will be padded with empty values. Default is true. + * @opt_param int startLine The index of the first line from which to start + * importing, inclusive. Default is 0. + * @return Google_Service_Fusiontables_Task + */ + public function replaceRows($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('replaceRows', array($params), "Google_Service_Fusiontables_Task"); + } + /** + * Updates an existing table. Unless explicitly requested, only the name, + * description, and attribution will be updated. (table.update) + * + * @param string $tableId ID of the table that is being updated. + * @param Google_Service_Fusiontables_Table $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool replaceViewDefinition Whether the view definition is also + * updated. The specified view definition replaces the existing one. Only a view + * can be updated with a new definition. + * @return Google_Service_Fusiontables_Table + */ + public function update($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Table"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php new file mode 100644 index 00000000..185552d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Task.php @@ -0,0 +1,75 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $task = $fusiontablesService->task; + * + */ +class Google_Service_Fusiontables_Resource_Task extends Google_Service_Resource +{ + /** + * Deletes a specific task by its ID, unless that task has already started + * running. (task.delete) + * + * @param string $tableId Table from which the task is being deleted. + * @param string $taskId The identifier of the task to delete. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $taskId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'taskId' => $taskId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a specific task by its ID. (task.get) + * + * @param string $tableId Table to which the task belongs. + * @param string $taskId The identifier of the task to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Task + */ + public function get($tableId, $taskId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'taskId' => $taskId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Task"); + } + /** + * Retrieves a list of tasks. (task.listTask) + * + * @param string $tableId Table whose tasks are being listed. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of tasks to return. Default is 5. + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @opt_param string startIndex Index of the first result returned in the + * current page. + * @return Google_Service_Fusiontables_TaskList + */ + public function listTask($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TaskList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php new file mode 100644 index 00000000..fb0bdd7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Resource/Template.php @@ -0,0 +1,119 @@ + + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $template = $fusiontablesService->template; + * + */ +class Google_Service_Fusiontables_Resource_Template extends Google_Service_Resource +{ + /** + * Deletes a template (template.delete) + * + * @param string $tableId Table from which the template is being deleted + * @param int $templateId Identifier for the template which is being deleted + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $templateId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a specific template by its id (template.get) + * + * @param string $tableId Table to which the template belongs + * @param int $templateId Identifier for the template that is being requested + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function get($tableId, $templateId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Template"); + } + /** + * Creates a new template for the table. (template.insert) + * + * @param string $tableId Table for which a new template is being created + * @param Google_Service_Fusiontables_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function insert($tableId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Template"); + } + /** + * Retrieves a list of templates. (template.listTemplate) + * + * @param string $tableId Identifier for the table whose templates are being + * requested + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of templates to return. Optional. + * Default is 5. + * @opt_param string pageToken Continuation token specifying which results page + * to return. Optional. + * @return Google_Service_Fusiontables_TemplateList + */ + public function listTemplate($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TemplateList"); + } + /** + * Updates an existing template. This method supports patch semantics. + * (template.patch) + * + * @param string $tableId Table to which the updated template belongs + * @param int $templateId Identifier for the template that is being updated + * @param Google_Service_Fusiontables_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function patch($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Template"); + } + /** + * Updates an existing template (template.update) + * + * @param string $tableId Table to which the updated template belongs + * @param int $templateId Identifier for the template that is being updated + * @param Google_Service_Fusiontables_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function update($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Template"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php new file mode 100644 index 00000000..366a0099 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Sqlresponse.php @@ -0,0 +1,49 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php new file mode 100644 index 00000000..7e47ccac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunction.php @@ -0,0 +1,60 @@ +buckets = $buckets; + } + public function getBuckets() + { + return $this->buckets; + } + public function setColumnName($columnName) + { + $this->columnName = $columnName; + } + public function getColumnName() + { + return $this->columnName; + } + public function setGradient(Google_Service_Fusiontables_StyleFunctionGradient $gradient) + { + $this->gradient = $gradient; + } + public function getGradient() + { + return $this->gradient; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php new file mode 100644 index 00000000..5926684f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradient.php @@ -0,0 +1,50 @@ +colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php new file mode 100644 index 00000000..f0f5f3dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleFunctionGradientColors.php @@ -0,0 +1,39 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php new file mode 100644 index 00000000..3e0139da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSetting.php @@ -0,0 +1,87 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMarkerOptions(Google_Service_Fusiontables_PointStyle $markerOptions) + { + $this->markerOptions = $markerOptions; + } + public function getMarkerOptions() + { + return $this->markerOptions; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPolygonOptions(Google_Service_Fusiontables_PolygonStyle $polygonOptions) + { + $this->polygonOptions = $polygonOptions; + } + public function getPolygonOptions() + { + return $this->polygonOptions; + } + public function setPolylineOptions(Google_Service_Fusiontables_LineStyle $polylineOptions) + { + $this->polylineOptions = $polylineOptions; + } + public function getPolylineOptions() + { + return $this->polylineOptions; + } + public function setStyleId($styleId) + { + $this->styleId = $styleId; + } + public function getStyleId() + { + return $this->styleId; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php new file mode 100644 index 00000000..3dfa3e3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/StyleSettingList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php new file mode 100644 index 00000000..6de27fa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Table.php @@ -0,0 +1,140 @@ +attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setAttributionLink($attributionLink) + { + $this->attributionLink = $attributionLink; + } + public function getAttributionLink() + { + return $this->attributionLink; + } + public function setBaseTableIds($baseTableIds) + { + $this->baseTableIds = $baseTableIds; + } + public function getBaseTableIds() + { + return $this->baseTableIds; + } + public function setColumnPropertiesJsonSchema($columnPropertiesJsonSchema) + { + $this->columnPropertiesJsonSchema = $columnPropertiesJsonSchema; + } + public function getColumnPropertiesJsonSchema() + { + return $this->columnPropertiesJsonSchema; + } + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsExportable($isExportable) + { + $this->isExportable = $isExportable; + } + public function getIsExportable() + { + return $this->isExportable; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSql($sql) + { + $this->sql = $sql; + } + public function getSql() + { + return $this->sql; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setTablePropertiesJson($tablePropertiesJson) + { + $this->tablePropertiesJson = $tablePropertiesJson; + } + public function getTablePropertiesJson() + { + return $this->tablePropertiesJson; + } + public function setTablePropertiesJsonSchema($tablePropertiesJsonSchema) + { + $this->tablePropertiesJsonSchema = $tablePropertiesJsonSchema; + } + public function getTablePropertiesJsonSchema() + { + return $this->tablePropertiesJsonSchema; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php new file mode 100644 index 00000000..c384dfaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TableList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php new file mode 100644 index 00000000..85a9a725 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Task.php @@ -0,0 +1,66 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setStarted($started) + { + $this->started = $started; + } + public function getStarted() + { + return $this->started; + } + public function setTaskId($taskId) + { + $this->taskId = $taskId; + } + public function getTaskId() + { + return $this->taskId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php new file mode 100644 index 00000000..9d2fcf99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TaskList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php new file mode 100644 index 00000000..67ad2d58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/Template.php @@ -0,0 +1,76 @@ +automaticColumnNames = $automaticColumnNames; + } + public function getAutomaticColumnNames() + { + return $this->automaticColumnNames; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setTemplateId($templateId) + { + $this->templateId = $templateId; + } + public function getTemplateId() + { + return $this->templateId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php new file mode 100644 index 00000000..85ce5acc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Fusiontables/TemplateList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php new file mode 100644 index 00000000..8bef6415 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games.php @@ -0,0 +1,1278 @@ + + * The API for Google Play Game Services.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Games extends Google_Service +{ + /** View and manage its own configuration data in your Google Drive. */ + const DRIVE_APPDATA = + "https://www.googleapis.com/auth/drive.appdata"; + /** Share your Google+ profile information and view and manage your game activity. */ + const GAMES = + "https://www.googleapis.com/auth/games"; + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + + public $achievementDefinitions; + public $achievements; + public $applications; + public $events; + public $leaderboards; + public $metagame; + public $players; + public $pushtokens; + public $questMilestones; + public $quests; + public $revisions; + public $rooms; + public $scores; + public $snapshots; + public $turnBasedMatches; + + /** + * Constructs the internal representation of the Games service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1/'; + $this->version = 'v1'; + $this->serviceName = 'games'; + + $this->achievementDefinitions = new Google_Service_Games_Resource_AchievementDefinitions( + $this, + $this->serviceName, + 'achievementDefinitions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->achievements = new Google_Service_Games_Resource_Achievements( + $this, + $this->serviceName, + 'achievements', + array( + 'methods' => array( + 'increment' => array( + 'path' => 'achievements/{achievementId}/increment', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepsToIncrement' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'state' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reveal' => array( + 'path' => 'achievements/{achievementId}/reveal', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setStepsAtLeast' => array( + 'path' => 'achievements/{achievementId}/setStepsAtLeast', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'steps' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'unlock' => array( + 'path' => 'achievements/{achievementId}/unlock', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'updateMultiple' => array( + 'path' => 'achievements/updateMultiple', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->applications = new Google_Service_Games_Resource_Applications( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'get' => array( + 'path' => 'applications/{applicationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'platformType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'played' => array( + 'path' => 'applications/played', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'verify' => array( + 'path' => 'applications/{applicationId}/verify', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->events = new Google_Service_Games_Resource_Events( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'listByPlayer' => array( + 'path' => 'events', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listDefinitions' => array( + 'path' => 'eventDefinitions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'record' => array( + 'path' => 'events', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->leaderboards = new Google_Service_Games_Resource_Leaderboards( + $this, + $this->serviceName, + 'leaderboards', + array( + 'methods' => array( + 'get' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'leaderboards', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->metagame = new Google_Service_Games_Resource_Metagame( + $this, + $this->serviceName, + 'metagame', + array( + 'methods' => array( + 'getMetagameConfig' => array( + 'path' => 'metagameConfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listCategoriesByPlayer' => array( + 'path' => 'players/{playerId}/categories/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->players = new Google_Service_Games_Resource_Players( + $this, + $this->serviceName, + 'players', + array( + 'methods' => array( + 'get' => array( + 'path' => 'players/{playerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/me/players/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->pushtokens = new Google_Service_Games_Resource_Pushtokens( + $this, + $this->serviceName, + 'pushtokens', + array( + 'methods' => array( + 'remove' => array( + 'path' => 'pushtokens/remove', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'pushtokens', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->questMilestones = new Google_Service_Games_Resource_QuestMilestones( + $this, + $this->serviceName, + 'questMilestones', + array( + 'methods' => array( + 'claim' => array( + 'path' => 'quests/{questId}/milestones/{milestoneId}/claim', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'milestoneId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->quests = new Google_Service_Games_Resource_Quests( + $this, + $this->serviceName, + 'quests', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'quests/{questId}/accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/quests', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->revisions = new Google_Service_Games_Resource_Revisions( + $this, + $this->serviceName, + 'revisions', + array( + 'methods' => array( + 'check' => array( + 'path' => 'revisions/check', + 'httpMethod' => 'GET', + 'parameters' => array( + 'clientRevision' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rooms = new Google_Service_Games_Resource_Rooms( + $this, + $this->serviceName, + 'rooms', + array( + 'methods' => array( + 'create' => array( + 'path' => 'rooms/create', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decline' => array( + 'path' => 'rooms/{roomId}/decline', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'rooms/{roomId}/dismiss', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'rooms/{roomId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'join' => array( + 'path' => 'rooms/{roomId}/join', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leave' => array( + 'path' => 'rooms/{roomId}/leave', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'rooms', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reportStatus' => array( + 'path' => 'rooms/{roomId}/reportstatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->scores = new Google_Service_Games_Resource_Scores( + $this, + $this->serviceName, + 'scores', + array( + 'methods' => array( + 'get' => array( + 'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeRankType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listWindow' => array( + 'path' => 'leaderboards/{leaderboardId}/window/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'resultsAbove' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'returnTopIfAbsent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'submit' => array( + 'path' => 'leaderboards/{leaderboardId}/scores', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'score' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scoreTag' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submitMultiple' => array( + 'path' => 'leaderboards/scores', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->snapshots = new Google_Service_Games_Resource_Snapshots( + $this, + $this->serviceName, + 'snapshots', + array( + 'methods' => array( + 'get' => array( + 'path' => 'snapshots/{snapshotId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'snapshotId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/snapshots', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->turnBasedMatches = new Google_Service_Games_Resource_TurnBasedMatches( + $this, + $this->serviceName, + 'turnBasedMatches', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'turnbasedmatches/{matchId}/cancel', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'create' => array( + 'path' => 'turnbasedmatches/create', + 'httpMethod' => 'POST', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decline' => array( + 'path' => 'turnbasedmatches/{matchId}/decline', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'turnbasedmatches/{matchId}/dismiss', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'finish' => array( + 'path' => 'turnbasedmatches/{matchId}/finish', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'turnbasedmatches/{matchId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'join' => array( + 'path' => 'turnbasedmatches/{matchId}/join', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leave' => array( + 'path' => 'turnbasedmatches/{matchId}/leave', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leaveTurn' => array( + 'path' => 'turnbasedmatches/{matchId}/leaveTurn', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'matchVersion' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pendingParticipantId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'turnbasedmatches', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxCompletedMatches' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rematch' => array( + 'path' => 'turnbasedmatches/{matchId}/rematch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'sync' => array( + 'path' => 'turnbasedmatches/sync', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxCompletedMatches' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'takeTurn' => array( + 'path' => 'turnbasedmatches/{matchId}/turn', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'consistencyToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php new file mode 100644 index 00000000..b0744f35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinition.php @@ -0,0 +1,138 @@ +achievementType = $achievementType; + } + public function getAchievementType() + { + return $this->achievementType; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setFormattedTotalSteps($formattedTotalSteps) + { + $this->formattedTotalSteps = $formattedTotalSteps; + } + public function getFormattedTotalSteps() + { + return $this->formattedTotalSteps; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialState($initialState) + { + $this->initialState = $initialState; + } + public function getInitialState() + { + return $this->initialState; + } + public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault) + { + $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault; + } + public function getIsRevealedIconUrlDefault() + { + return $this->isRevealedIconUrlDefault; + } + public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault) + { + $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault; + } + public function getIsUnlockedIconUrlDefault() + { + return $this->isUnlockedIconUrlDefault; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRevealedIconUrl($revealedIconUrl) + { + $this->revealedIconUrl = $revealedIconUrl; + } + public function getRevealedIconUrl() + { + return $this->revealedIconUrl; + } + public function setTotalSteps($totalSteps) + { + $this->totalSteps = $totalSteps; + } + public function getTotalSteps() + { + return $this->totalSteps; + } + public function setUnlockedIconUrl($unlockedIconUrl) + { + $this->unlockedIconUrl = $unlockedIconUrl; + } + public function getUnlockedIconUrl() + { + return $this->unlockedIconUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php new file mode 100644 index 00000000..40da8475 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementDefinitionsListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php new file mode 100644 index 00000000..7ca6348f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementIncrementResponse.php @@ -0,0 +1,48 @@ +currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php new file mode 100644 index 00000000..27792cbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementRevealResponse.php @@ -0,0 +1,39 @@ +currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php new file mode 100644 index 00000000..9662774b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementSetStepsAtLeastResponse.php @@ -0,0 +1,48 @@ +currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php new file mode 100644 index 00000000..70304cca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUnlockResponse.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php new file mode 100644 index 00000000..3bf9259e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleRequest.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php new file mode 100644 index 00000000..df19f29c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateMultipleResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdatedAchievements($updatedAchievements) + { + $this->updatedAchievements = $updatedAchievements; + } + public function getUpdatedAchievements() + { + return $this->updatedAchievements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php new file mode 100644 index 00000000..1fb41a66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateRequest.php @@ -0,0 +1,68 @@ +achievementId = $achievementId; + } + public function getAchievementId() + { + return $this->achievementId; + } + public function setIncrementPayload(Google_Service_Games_GamesAchievementIncrement $incrementPayload) + { + $this->incrementPayload = $incrementPayload; + } + public function getIncrementPayload() + { + return $this->incrementPayload; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSetStepsAtLeastPayload(Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload) + { + $this->setStepsAtLeastPayload = $setStepsAtLeastPayload; + } + public function getSetStepsAtLeastPayload() + { + return $this->setStepsAtLeastPayload; + } + public function setUpdateType($updateType) + { + $this->updateType = $updateType; + } + public function getUpdateType() + { + return $this->updateType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php new file mode 100644 index 00000000..6d2d9f9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AchievementUpdateResponse.php @@ -0,0 +1,75 @@ +achievementId = $achievementId; + } + public function getAchievementId() + { + return $this->achievementId; + } + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } + public function setUpdateOccurred($updateOccurred) + { + $this->updateOccurred = $updateOccurred; + } + public function getUpdateOccurred() + { + return $this->updateOccurred; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php new file mode 100644 index 00000000..a8a00b57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AggregateStats.php @@ -0,0 +1,66 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } + public function setSum($sum) + { + $this->sum = $sum; + } + public function getSum() + { + return $this->sum; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php new file mode 100644 index 00000000..7d1dac1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/AnonymousPlayer.php @@ -0,0 +1,48 @@ +avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php new file mode 100644 index 00000000..09248b96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Application.php @@ -0,0 +1,146 @@ + "achievement_count", + "leaderboardCount" => "leaderboard_count", + ); + public $achievementCount; + protected $assetsType = 'Google_Service_Games_ImageAsset'; + protected $assetsDataType = 'array'; + public $author; + protected $categoryType = 'Google_Service_Games_ApplicationCategory'; + protected $categoryDataType = ''; + public $description; + public $enabledFeatures; + public $id; + protected $instancesType = 'Google_Service_Games_Instance'; + protected $instancesDataType = 'array'; + public $kind; + public $lastUpdatedTimestamp; + public $leaderboardCount; + public $name; + public $themeColor; + + public function setAchievementCount($achievementCount) + { + $this->achievementCount = $achievementCount; + } + public function getAchievementCount() + { + return $this->achievementCount; + } + public function setAssets($assets) + { + $this->assets = $assets; + } + public function getAssets() + { + return $this->assets; + } + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setCategory(Google_Service_Games_ApplicationCategory $category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnabledFeatures($enabledFeatures) + { + $this->enabledFeatures = $enabledFeatures; + } + public function getEnabledFeatures() + { + return $this->enabledFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestamp($lastUpdatedTimestamp) + { + $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; + } + public function getLastUpdatedTimestamp() + { + return $this->lastUpdatedTimestamp; + } + public function setLeaderboardCount($leaderboardCount) + { + $this->leaderboardCount = $leaderboardCount; + } + public function getLeaderboardCount() + { + return $this->leaderboardCount; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setThemeColor($themeColor) + { + $this->themeColor = $themeColor; + } + public function getThemeColor() + { + return $this->themeColor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php new file mode 100644 index 00000000..f267524b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationCategory.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSecondary($secondary) + { + $this->secondary = $secondary; + } + public function getSecondary() + { + return $this->secondary; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php new file mode 100644 index 00000000..6b51e4f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ApplicationVerifyResponse.php @@ -0,0 +1,52 @@ + "alternate_player_id", + "playerId" => "player_id", + ); + public $alternatePlayerId; + public $kind; + public $playerId; + + public function setAlternatePlayerId($alternatePlayerId) + { + $this->alternatePlayerId = $alternatePlayerId; + } + public function getAlternatePlayerId() + { + return $this->alternatePlayerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php new file mode 100644 index 00000000..4f0a05f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Category.php @@ -0,0 +1,48 @@ +category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php new file mode 100644 index 00000000..d70d0020 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/CategoryListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php new file mode 100644 index 00000000..6b55ca36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventBatchRecordFailure.php @@ -0,0 +1,49 @@ +failureCause = $failureCause; + } + public function getFailureCause() + { + return $this->failureCause; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRange(Google_Service_Games_EventPeriodRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php new file mode 100644 index 00000000..2ef59454 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventChild.php @@ -0,0 +1,39 @@ +childId = $childId; + } + public function getChildId() + { + return $this->childId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php new file mode 100644 index 00000000..65c020d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinition.php @@ -0,0 +1,95 @@ +childEvents = $childEvents; + } + public function getChildEvents() + { + return $this->childEvents; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setIsDefaultImageUrl($isDefaultImageUrl) + { + $this->isDefaultImageUrl = $isDefaultImageUrl; + } + public function getIsDefaultImageUrl() + { + return $this->isDefaultImageUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php new file mode 100644 index 00000000..8eb3a1a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventDefinitionListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php new file mode 100644 index 00000000..a584711f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodRange.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPeriodEndMillis($periodEndMillis) + { + $this->periodEndMillis = $periodEndMillis; + } + public function getPeriodEndMillis() + { + return $this->periodEndMillis; + } + public function setPeriodStartMillis($periodStartMillis) + { + $this->periodStartMillis = $periodStartMillis; + } + public function getPeriodStartMillis() + { + return $this->periodStartMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php new file mode 100644 index 00000000..69e01175 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventPeriodUpdate.php @@ -0,0 +1,51 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimePeriod(Google_Service_Games_EventPeriodRange $timePeriod) + { + $this->timePeriod = $timePeriod; + } + public function getTimePeriod() + { + return $this->timePeriod; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php new file mode 100644 index 00000000..35ac4eed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordFailure.php @@ -0,0 +1,48 @@ +eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setFailureCause($failureCause) + { + $this->failureCause = $failureCause; + } + public function getFailureCause() + { + return $this->failureCause; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php new file mode 100644 index 00000000..fd3da23b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventRecordRequest.php @@ -0,0 +1,59 @@ +currentTimeMillis = $currentTimeMillis; + } + public function getCurrentTimeMillis() + { + return $this->currentTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setTimePeriods($timePeriods) + { + $this->timePeriods = $timePeriods; + } + public function getTimePeriods() + { + return $this->timePeriods; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php new file mode 100644 index 00000000..48314f70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateRequest.php @@ -0,0 +1,48 @@ +definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdateCount($updateCount) + { + $this->updateCount = $updateCount; + } + public function getUpdateCount() + { + return $this->updateCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php new file mode 100644 index 00000000..9a180f33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/EventUpdateResponse.php @@ -0,0 +1,61 @@ +batchFailures = $batchFailures; + } + public function getBatchFailures() + { + return $this->batchFailures; + } + public function setEventFailures($eventFailures) + { + $this->eventFailures = $eventFailures; + } + public function getEventFailures() + { + return $this->eventFailures; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayerEvents($playerEvents) + { + $this->playerEvents = $playerEvents; + } + public function getPlayerEvents() + { + return $this->playerEvents; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php new file mode 100644 index 00000000..863cd06a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementIncrement.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php new file mode 100644 index 00000000..121d0ec0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/GamesAchievementSetStepsAtLeast.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php new file mode 100644 index 00000000..2fbaff4f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ImageAsset.php @@ -0,0 +1,66 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php new file mode 100644 index 00000000..d9b41555 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Instance.php @@ -0,0 +1,105 @@ +acquisitionUri = $acquisitionUri; + } + public function getAcquisitionUri() + { + return $this->acquisitionUri; + } + public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance) + { + $this->androidInstance = $androidInstance; + } + public function getAndroidInstance() + { + return $this->androidInstance; + } + public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance) + { + $this->iosInstance = $iosInstance; + } + public function getIosInstance() + { + return $this->iosInstance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlatformType($platformType) + { + $this->platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setRealtimePlay($realtimePlay) + { + $this->realtimePlay = $realtimePlay; + } + public function getRealtimePlay() + { + return $this->realtimePlay; + } + public function setTurnBasedPlay($turnBasedPlay) + { + $this->turnBasedPlay = $turnBasedPlay; + } + public function getTurnBasedPlay() + { + return $this->turnBasedPlay; + } + public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance) + { + $this->webInstance = $webInstance; + } + public function getWebInstance() + { + return $this->webInstance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php new file mode 100644 index 00000000..9bd810fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceAndroidDetails.php @@ -0,0 +1,57 @@ +enablePiracyCheck = $enablePiracyCheck; + } + public function getEnablePiracyCheck() + { + return $this->enablePiracyCheck; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPreferred($preferred) + { + $this->preferred = $preferred; + } + public function getPreferred() + { + return $this->preferred; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php new file mode 100644 index 00000000..e82877cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceIosDetails.php @@ -0,0 +1,84 @@ +bundleIdentifier = $bundleIdentifier; + } + public function getBundleIdentifier() + { + return $this->bundleIdentifier; + } + public function setItunesAppId($itunesAppId) + { + $this->itunesAppId = $itunesAppId; + } + public function getItunesAppId() + { + return $this->itunesAppId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPreferredForIpad($preferredForIpad) + { + $this->preferredForIpad = $preferredForIpad; + } + public function getPreferredForIpad() + { + return $this->preferredForIpad; + } + public function setPreferredForIphone($preferredForIphone) + { + $this->preferredForIphone = $preferredForIphone; + } + public function getPreferredForIphone() + { + return $this->preferredForIphone; + } + public function setSupportIpad($supportIpad) + { + $this->supportIpad = $supportIpad; + } + public function getSupportIpad() + { + return $this->supportIpad; + } + public function setSupportIphone($supportIphone) + { + $this->supportIphone = $supportIphone; + } + public function getSupportIphone() + { + return $this->supportIphone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php new file mode 100644 index 00000000..601cd4b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/InstanceWebDetails.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLaunchUrl($launchUrl) + { + $this->launchUrl = $launchUrl; + } + public function getLaunchUrl() + { + return $this->launchUrl; + } + public function setPreferred($preferred) + { + $this->preferred = $preferred; + } + public function getPreferred() + { + return $this->preferred; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php new file mode 100644 index 00000000..8d6bc438 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Leaderboard.php @@ -0,0 +1,75 @@ +iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsIconUrlDefault($isIconUrlDefault) + { + $this->isIconUrlDefault = $isIconUrlDefault; + } + public function getIsIconUrlDefault() + { + return $this->isIconUrlDefault; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrder($order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php new file mode 100644 index 00000000..9d451a02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardEntry.php @@ -0,0 +1,103 @@ +formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setFormattedScoreRank($formattedScoreRank) + { + $this->formattedScoreRank = $formattedScoreRank; + } + public function getFormattedScoreRank() + { + return $this->formattedScoreRank; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setScoreRank($scoreRank) + { + $this->scoreRank = $scoreRank; + } + public function getScoreRank() + { + return $this->scoreRank; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setScoreValue($scoreValue) + { + $this->scoreValue = $scoreValue; + } + public function getScoreValue() + { + return $this->scoreValue; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setWriteTimestampMillis($writeTimestampMillis) + { + $this->writeTimestampMillis = $writeTimestampMillis; + } + public function getWriteTimestampMillis() + { + return $this->writeTimestampMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php new file mode 100644 index 00000000..21fdfa87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php new file mode 100644 index 00000000..8127bfd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScoreRank.php @@ -0,0 +1,66 @@ +formattedNumScores = $formattedNumScores; + } + public function getFormattedNumScores() + { + return $this->formattedNumScores; + } + public function setFormattedRank($formattedRank) + { + $this->formattedRank = $formattedRank; + } + public function getFormattedRank() + { + return $this->formattedRank; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumScores($numScores) + { + $this->numScores = $numScores; + } + public function getNumScores() + { + return $this->numScores; + } + public function setRank($rank) + { + $this->rank = $rank; + } + public function getRank() + { + return $this->rank; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php new file mode 100644 index 00000000..9381da02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/LeaderboardScores.php @@ -0,0 +1,78 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNumScores($numScores) + { + $this->numScores = $numScores; + } + public function getNumScores() + { + return $this->numScores; + } + public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore) + { + $this->playerScore = $playerScore; + } + public function getPlayerScore() + { + return $this->playerScore; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php new file mode 100644 index 00000000..cec0a436 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/MetagameConfig.php @@ -0,0 +1,50 @@ +currentVersion = $currentVersion; + } + public function getCurrentVersion() + { + return $this->currentVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayerLevels($playerLevels) + { + $this->playerLevels = $playerLevels; + } + public function getPlayerLevels() + { + return $this->playerLevels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php new file mode 100644 index 00000000..5669dbf5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/NetworkDiagnostics.php @@ -0,0 +1,84 @@ +androidNetworkSubtype = $androidNetworkSubtype; + } + public function getAndroidNetworkSubtype() + { + return $this->androidNetworkSubtype; + } + public function setAndroidNetworkType($androidNetworkType) + { + $this->androidNetworkType = $androidNetworkType; + } + public function getAndroidNetworkType() + { + return $this->androidNetworkType; + } + public function setIosNetworkType($iosNetworkType) + { + $this->iosNetworkType = $iosNetworkType; + } + public function getIosNetworkType() + { + return $this->iosNetworkType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkOperatorCode($networkOperatorCode) + { + $this->networkOperatorCode = $networkOperatorCode; + } + public function getNetworkOperatorCode() + { + return $this->networkOperatorCode; + } + public function setNetworkOperatorName($networkOperatorName) + { + $this->networkOperatorName = $networkOperatorName; + } + public function getNetworkOperatorName() + { + return $this->networkOperatorName; + } + public function setRegistrationLatencyMillis($registrationLatencyMillis) + { + $this->registrationLatencyMillis = $registrationLatencyMillis; + } + public function getRegistrationLatencyMillis() + { + return $this->registrationLatencyMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php new file mode 100644 index 00000000..8f856fbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ParticipantResult.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setPlacing($placing) + { + $this->placing = $placing; + } + public function getPlacing() + { + return $this->placing; + } + public function setResult($result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php new file mode 100644 index 00000000..f5042111 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerChannelDiagnostics.php @@ -0,0 +1,96 @@ +bytesReceived = $bytesReceived; + } + public function getBytesReceived() + { + return $this->bytesReceived; + } + public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent) + { + $this->bytesSent = $bytesSent; + } + public function getBytesSent() + { + return $this->bytesSent; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumMessagesLost($numMessagesLost) + { + $this->numMessagesLost = $numMessagesLost; + } + public function getNumMessagesLost() + { + return $this->numMessagesLost; + } + public function setNumMessagesReceived($numMessagesReceived) + { + $this->numMessagesReceived = $numMessagesReceived; + } + public function getNumMessagesReceived() + { + return $this->numMessagesReceived; + } + public function setNumMessagesSent($numMessagesSent) + { + $this->numMessagesSent = $numMessagesSent; + } + public function getNumMessagesSent() + { + return $this->numMessagesSent; + } + public function setNumSendFailures($numSendFailures) + { + $this->numSendFailures = $numSendFailures; + } + public function getNumSendFailures() + { + return $this->numSendFailures; + } + public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis) + { + $this->roundtripLatencyMillis = $roundtripLatencyMillis; + } + public function getRoundtripLatencyMillis() + { + return $this->roundtripLatencyMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php new file mode 100644 index 00000000..cdd6b507 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PeerSessionDiagnostics.php @@ -0,0 +1,68 @@ +connectedTimestampMillis = $connectedTimestampMillis; + } + public function getConnectedTimestampMillis() + { + return $this->connectedTimestampMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel) + { + $this->reliableChannel = $reliableChannel; + } + public function getReliableChannel() + { + return $this->reliableChannel; + } + public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel) + { + $this->unreliableChannel = $unreliableChannel; + } + public function getUnreliableChannel() + { + return $this->unreliableChannel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php new file mode 100644 index 00000000..eda3e5b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Played.php @@ -0,0 +1,48 @@ +autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimeMillis($timeMillis) + { + $this->timeMillis = $timeMillis; + } + public function getTimeMillis() + { + return $this->timeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php new file mode 100644 index 00000000..c5d0888b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Player.php @@ -0,0 +1,133 @@ +avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setBannerUrlLandscape($bannerUrlLandscape) + { + $this->bannerUrlLandscape = $bannerUrlLandscape; + } + public function getBannerUrlLandscape() + { + return $this->bannerUrlLandscape; + } + public function setBannerUrlPortrait($bannerUrlPortrait) + { + $this->bannerUrlPortrait = $bannerUrlPortrait; + } + public function getBannerUrlPortrait() + { + return $this->bannerUrlPortrait; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setExperienceInfo(Google_Service_Games_PlayerExperienceInfo $experienceInfo) + { + $this->experienceInfo = $experienceInfo; + } + public function getExperienceInfo() + { + return $this->experienceInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith) + { + $this->lastPlayedWith = $lastPlayedWith; + } + public function getLastPlayedWith() + { + return $this->lastPlayedWith; + } + public function setName(Google_Service_Games_PlayerName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalPlayerId($originalPlayerId) + { + $this->originalPlayerId = $originalPlayerId; + } + public function getOriginalPlayerId() + { + return $this->originalPlayerId; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } + public function setProfileSettings(Google_Service_Games_ProfileSettings $profileSettings) + { + $this->profileSettings = $profileSettings; + } + public function getProfileSettings() + { + return $this->profileSettings; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php new file mode 100644 index 00000000..0c3403cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievement.php @@ -0,0 +1,84 @@ +achievementState = $achievementState; + } + public function getAchievementState() + { + return $this->achievementState; + } + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setFormattedCurrentStepsString($formattedCurrentStepsString) + { + $this->formattedCurrentStepsString = $formattedCurrentStepsString; + } + public function getFormattedCurrentStepsString() + { + return $this->formattedCurrentStepsString; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestamp($lastUpdatedTimestamp) + { + $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; + } + public function getLastUpdatedTimestamp() + { + return $this->lastUpdatedTimestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php new file mode 100644 index 00000000..a4b73ef4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerAchievementListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php new file mode 100644 index 00000000..fdffa96d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEvent.php @@ -0,0 +1,66 @@ +definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setFormattedNumEvents($formattedNumEvents) + { + $this->formattedNumEvents = $formattedNumEvents; + } + public function getFormattedNumEvents() + { + return $this->formattedNumEvents; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumEvents($numEvents) + { + $this->numEvents = $numEvents; + } + public function getNumEvents() + { + return $this->numEvents; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php new file mode 100644 index 00000000..f2ec3aec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerEventListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php new file mode 100644 index 00000000..fa437ae3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerExperienceInfo.php @@ -0,0 +1,68 @@ +currentExperiencePoints = $currentExperiencePoints; + } + public function getCurrentExperiencePoints() + { + return $this->currentExperiencePoints; + } + public function setCurrentLevel(Google_Service_Games_PlayerLevel $currentLevel) + { + $this->currentLevel = $currentLevel; + } + public function getCurrentLevel() + { + return $this->currentLevel; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) + { + $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; + } + public function getLastLevelUpTimestampMillis() + { + return $this->lastLevelUpTimestampMillis; + } + public function setNextLevel(Google_Service_Games_PlayerLevel $nextLevel) + { + $this->nextLevel = $nextLevel; + } + public function getNextLevel() + { + return $this->nextLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php new file mode 100644 index 00000000..f3119ac0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScore.php @@ -0,0 +1,107 @@ + "leaderboard_id", + ); + public $kind; + public $leaderboardId; + protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank'; + protected $publicRankDataType = ''; + public $scoreString; + public $scoreTag; + public $scoreValue; + protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank'; + protected $socialRankDataType = ''; + public $timeSpan; + public $writeTimestamp; + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank) + { + $this->publicRank = $publicRank; + } + public function getPublicRank() + { + return $this->publicRank; + } + public function setScoreString($scoreString) + { + $this->scoreString = $scoreString; + } + public function getScoreString() + { + return $this->scoreString; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setScoreValue($scoreValue) + { + $this->scoreValue = $scoreValue; + } + public function getScoreValue() + { + return $this->scoreValue; + } + public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank) + { + $this->socialRank = $socialRank; + } + public function getSocialRank() + { + return $this->socialRank; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setWriteTimestamp($writeTimestamp) + { + $this->writeTimestamp = $writeTimestamp; + } + public function getWriteTimestamp() + { + return $this->writeTimestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php new file mode 100644 index 00000000..99bf0bc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLeaderboardScoreListResponse.php @@ -0,0 +1,60 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php new file mode 100644 index 00000000..f10a55b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerLevel.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setMaxExperiencePoints($maxExperiencePoints) + { + $this->maxExperiencePoints = $maxExperiencePoints; + } + public function getMaxExperiencePoints() + { + return $this->maxExperiencePoints; + } + public function setMinExperiencePoints($minExperiencePoints) + { + $this->minExperiencePoints = $minExperiencePoints; + } + public function getMinExperiencePoints() + { + return $this->minExperiencePoints; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php new file mode 100644 index 00000000..442910b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php new file mode 100644 index 00000000..beadfaf1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerName.php @@ -0,0 +1,39 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php new file mode 100644 index 00000000..418f80ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScore.php @@ -0,0 +1,66 @@ +formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php new file mode 100644 index 00000000..1132c67d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreListResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSubmittedScores($submittedScores) + { + $this->submittedScores = $submittedScores; + } + public function getSubmittedScores() + { + return $this->submittedScores; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php new file mode 100644 index 00000000..8d10ed55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreResponse.php @@ -0,0 +1,77 @@ +beatenScoreTimeSpans = $beatenScoreTimeSpans; + } + public function getBeatenScoreTimeSpans() + { + return $this->beatenScoreTimeSpans; + } + public function setFormattedScore($formattedScore) + { + $this->formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setUnbeatenScores($unbeatenScores) + { + $this->unbeatenScores = $unbeatenScores; + } + public function getUnbeatenScores() + { + return $this->unbeatenScores; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php new file mode 100644 index 00000000..509daeda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PlayerScoreSubmissionList.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setScores($scores) + { + $this->scores = $scores; + } + public function getScores() + { + return $this->scores; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php new file mode 100644 index 00000000..b59cd8fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ProfileSettings.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileVisible($profileVisible) + { + $this->profileVisible = $profileVisible; + } + public function getProfileVisible() + { + return $this->profileVisible; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php new file mode 100644 index 00000000..3a26d18f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushToken.php @@ -0,0 +1,58 @@ +clientRevision = $clientRevision; + } + public function getClientRevision() + { + return $this->clientRevision; + } + public function setId(Google_Service_Games_PushTokenId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php new file mode 100644 index 00000000..5781564a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenId.php @@ -0,0 +1,40 @@ +ios = $ios; + } + public function getIos() + { + return $this->ios; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php new file mode 100644 index 00000000..7a7ebbe4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/PushTokenIdIos.php @@ -0,0 +1,43 @@ + "apns_device_token", + "apnsEnvironment" => "apns_environment", + ); + public $apnsDeviceToken; + public $apnsEnvironment; + + public function setApnsDeviceToken($apnsDeviceToken) + { + $this->apnsDeviceToken = $apnsDeviceToken; + } + public function getApnsDeviceToken() + { + return $this->apnsDeviceToken; + } + public function setApnsEnvironment($apnsEnvironment) + { + $this->apnsEnvironment = $apnsEnvironment; + } + public function getApnsEnvironment() + { + return $this->apnsEnvironment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php new file mode 100644 index 00000000..9c58dcfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Quest.php @@ -0,0 +1,167 @@ +acceptedTimestampMillis = $acceptedTimestampMillis; + } + public function getAcceptedTimestampMillis() + { + return $this->acceptedTimestampMillis; + } + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setBannerUrl($bannerUrl) + { + $this->bannerUrl = $bannerUrl; + } + public function getBannerUrl() + { + return $this->bannerUrl; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTimestampMillis($endTimestampMillis) + { + $this->endTimestampMillis = $endTimestampMillis; + } + public function getEndTimestampMillis() + { + return $this->endTimestampMillis; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDefaultBannerUrl($isDefaultBannerUrl) + { + $this->isDefaultBannerUrl = $isDefaultBannerUrl; + } + public function getIsDefaultBannerUrl() + { + return $this->isDefaultBannerUrl; + } + public function setIsDefaultIconUrl($isDefaultIconUrl) + { + $this->isDefaultIconUrl = $isDefaultIconUrl; + } + public function getIsDefaultIconUrl() + { + return $this->isDefaultIconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis) + { + $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis; + } + public function getLastUpdatedTimestampMillis() + { + return $this->lastUpdatedTimestampMillis; + } + public function setMilestones($milestones) + { + $this->milestones = $milestones; + } + public function getMilestones() + { + return $this->milestones; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotifyTimestampMillis($notifyTimestampMillis) + { + $this->notifyTimestampMillis = $notifyTimestampMillis; + } + public function getNotifyTimestampMillis() + { + return $this->notifyTimestampMillis; + } + public function setStartTimestampMillis($startTimestampMillis) + { + $this->startTimestampMillis = $startTimestampMillis; + } + public function getStartTimestampMillis() + { + return $this->startTimestampMillis; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php new file mode 100644 index 00000000..357d66f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestContribution.php @@ -0,0 +1,48 @@ +formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php new file mode 100644 index 00000000..925d59bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestCriterion.php @@ -0,0 +1,69 @@ +completionContribution = $completionContribution; + } + public function getCompletionContribution() + { + return $this->completionContribution; + } + public function setCurrentContribution(Google_Service_Games_QuestContribution $currentContribution) + { + $this->currentContribution = $currentContribution; + } + public function getCurrentContribution() + { + return $this->currentContribution; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setInitialPlayerProgress(Google_Service_Games_QuestContribution $initialPlayerProgress) + { + $this->initialPlayerProgress = $initialPlayerProgress; + } + public function getInitialPlayerProgress() + { + return $this->initialPlayerProgress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php new file mode 100644 index 00000000..c683720f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php new file mode 100644 index 00000000..846f2ee3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/QuestMilestone.php @@ -0,0 +1,68 @@ +completionRewardData = $completionRewardData; + } + public function getCompletionRewardData() + { + return $this->completionRewardData; + } + public function setCriteria($criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php new file mode 100644 index 00000000..3d4b8d87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/AchievementDefinitions.php @@ -0,0 +1,49 @@ + + * $gamesService = new Google_Service_Games(...); + * $achievementDefinitions = $gamesService->achievementDefinitions; + * + */ +class Google_Service_Games_Resource_AchievementDefinitions extends Google_Service_Resource +{ + /** + * Lists all the achievement definitions for your application. + * (achievementDefinitions.listAchievementDefinitions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of achievement resources to + * return in the response, used for paging. For any response, the actual number + * of achievement resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_AchievementDefinitionsListResponse + */ + public function listAchievementDefinitions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_AchievementDefinitionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php new file mode 100644 index 00000000..aa58c5ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Achievements.php @@ -0,0 +1,141 @@ + + * $gamesService = new Google_Service_Games(...); + * $achievements = $gamesService->achievements; + * + */ +class Google_Service_Games_Resource_Achievements extends Google_Service_Resource +{ + /** + * Increments the steps of the achievement with the given ID for the currently + * authenticated player. (achievements.increment) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param int $stepsToIncrement The number of steps to increment. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string requestId A randomly generated numeric ID for each request + * specified by the caller. This number is used at the server to ensure that the + * request is handled correctly across retries. + * @return Google_Service_Games_AchievementIncrementResponse + */ + public function increment($achievementId, $stepsToIncrement, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement); + $params = array_merge($params, $optParams); + return $this->call('increment', array($params), "Google_Service_Games_AchievementIncrementResponse"); + } + /** + * Lists the progress for all your application's achievements for the currently + * authenticated player. (achievements.listAchievements) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of achievement resources to + * return in the response, used for paging. For any response, the actual number + * of achievement resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string state Tells the server to return only achievements with the + * specified state. If this parameter isn't specified, all achievements are + * returned. + * @return Google_Service_Games_PlayerAchievementListResponse + */ + public function listAchievements($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_PlayerAchievementListResponse"); + } + /** + * Sets the state of the achievement with the given ID to REVEALED for the + * currently authenticated player. (achievements.reveal) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_AchievementRevealResponse + */ + public function reveal($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('reveal', array($params), "Google_Service_Games_AchievementRevealResponse"); + } + /** + * Sets the steps for the currently authenticated player towards unlocking an + * achievement. If the steps parameter is less than the current number of steps + * that the player already gained for the achievement, the achievement is not + * modified. (achievements.setStepsAtLeast) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param int $steps The minimum value to set the steps to. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_AchievementSetStepsAtLeastResponse + */ + public function setStepsAtLeast($achievementId, $steps, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'steps' => $steps); + $params = array_merge($params, $optParams); + return $this->call('setStepsAtLeast', array($params), "Google_Service_Games_AchievementSetStepsAtLeastResponse"); + } + /** + * Unlocks this achievement for the currently authenticated player. + * (achievements.unlock) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_AchievementUnlockResponse + */ + public function unlock($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('unlock', array($params), "Google_Service_Games_AchievementUnlockResponse"); + } + /** + * Updates multiple achievements for the currently authenticated player. + * (achievements.updateMultiple) + * + * @param Google_Service_Games_AchievementUpdateMultipleRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_AchievementUpdateMultipleResponse + */ + public function updateMultiple(Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateMultiple', array($params), "Google_Service_Games_AchievementUpdateMultipleResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php new file mode 100644 index 00000000..f8acdb07 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Applications.php @@ -0,0 +1,82 @@ + + * $gamesService = new Google_Service_Games(...); + * $applications = $gamesService->applications; + * + */ +class Google_Service_Games_Resource_Applications extends Google_Service_Resource +{ + /** + * Retrieves the metadata of the application with the given ID. If the requested + * application is not available for the specified platformType, the returned + * response will not include any instance data. (applications.get) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string platformType Restrict application details returned to the + * specific platform. + * @return Google_Service_Games_Application + */ + public function get($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Application"); + } + /** + * Indicate that the the currently authenticated user is playing your + * application. (applications.played) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function played($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('played', array($params)); + } + /** + * Verifies the auth token provided with this request is for the application + * with the specified ID, and returns the ID of the player it was granted for. + * (applications.verify) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_ApplicationVerifyResponse + */ + public function verify($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('verify', array($params), "Google_Service_Games_ApplicationVerifyResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php new file mode 100644 index 00000000..b72e0656 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Events.php @@ -0,0 +1,88 @@ + + * $gamesService = new Google_Service_Games(...); + * $events = $gamesService->events; + * + */ +class Google_Service_Games_Resource_Events extends Google_Service_Resource +{ + /** + * Returns a list showing the current progress on events in this application for + * the currently authenticated user. (events.listByPlayer) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of events to return in the + * response, used for paging. For any response, the actual number of events to + * return may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_PlayerEventListResponse + */ + public function listByPlayer($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse"); + } + /** + * Returns a list of the event definitions in this application. + * (events.listDefinitions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of event definitions to return + * in the response, used for paging. For any response, the actual number of + * event definitions to return may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_EventDefinitionListResponse + */ + public function listDefinitions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse"); + } + /** + * Records a batch of changes to the number of times events have occurred for + * the currently authenticated user of this application. (events.record) + * + * @param Google_Service_Games_EventRecordRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_EventUpdateResponse + */ + public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php new file mode 100644 index 00000000..89e346c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Leaderboards.php @@ -0,0 +1,67 @@ + + * $gamesService = new Google_Service_Games(...); + * $leaderboards = $gamesService->leaderboards; + * + */ +class Google_Service_Games_Resource_Leaderboards extends Google_Service_Resource +{ + /** + * Retrieves the metadata of the leaderboard with the given ID. + * (leaderboards.get) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Leaderboard + */ + public function get($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Leaderboard"); + } + /** + * Lists all the leaderboard metadata for your application. + * (leaderboards.listLeaderboards) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboards to return in the + * response. For any response, the actual number of leaderboards returned may be + * less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_LeaderboardListResponse + */ + public function listLeaderboards($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_LeaderboardListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php new file mode 100644 index 00000000..c89f6075 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Metagame.php @@ -0,0 +1,68 @@ + + * $gamesService = new Google_Service_Games(...); + * $metagame = $gamesService->metagame; + * + */ +class Google_Service_Games_Resource_Metagame extends Google_Service_Resource +{ + /** + * Return the metagame configuration data for the calling application. + * (metagame.getMetagameConfig) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_MetagameConfig + */ + public function getMetagameConfig($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getMetagameConfig', array($params), "Google_Service_Games_MetagameConfig"); + } + /** + * List play data aggregated per category for the player corresponding to + * playerId. (metagame.listCategoriesByPlayer) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param string $collection The collection of categories for which data will be + * returned. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of category resources to return + * in the response, used for paging. For any response, the actual number of + * category resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_CategoryListResponse + */ + public function listCategoriesByPlayer($playerId, $collection, $optParams = array()) + { + $params = array('playerId' => $playerId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listCategoriesByPlayer', array($params), "Google_Service_Games_CategoryListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php new file mode 100644 index 00000000..4ed67d25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Players.php @@ -0,0 +1,69 @@ + + * $gamesService = new Google_Service_Games(...); + * $players = $gamesService->players; + * + */ +class Google_Service_Games_Resource_Players extends Google_Service_Resource +{ + /** + * Retrieves the Player resource with the given ID. To retrieve the player for + * the currently authenticated user, set playerId to me. (players.get) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Player + */ + public function get($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Player"); + } + /** + * Get the collection of players for the currently authenticated user. + * (players.listPlayers) + * + * @param string $collection Collection of players being retrieved + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of player resources to return in + * the response, used for paging. For any response, the actual number of player + * resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_PlayerListResponse + */ + public function listPlayers($collection, $optParams = array()) + { + $params = array('collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_PlayerListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php new file mode 100644 index 00000000..052edf27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Pushtokens.php @@ -0,0 +1,58 @@ + + * $gamesService = new Google_Service_Games(...); + * $pushtokens = $gamesService->pushtokens; + * + */ +class Google_Service_Games_Resource_Pushtokens extends Google_Service_Resource +{ + /** + * Removes a push token for the current user and application. Removing a non- + * existent push token will report success. (pushtokens.remove) + * + * @param Google_Service_Games_PushTokenId $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function remove(Google_Service_Games_PushTokenId $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('remove', array($params)); + } + /** + * Registers a push token for the current user and application. + * (pushtokens.update) + * + * @param Google_Service_Games_PushToken $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function update(Google_Service_Games_PushToken $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php new file mode 100644 index 00000000..5b2bcf4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/QuestMilestones.php @@ -0,0 +1,48 @@ + + * $gamesService = new Google_Service_Games(...); + * $questMilestones = $gamesService->questMilestones; + * + */ +class Google_Service_Games_Resource_QuestMilestones extends Google_Service_Resource +{ + /** + * Report that a reward for the milestone corresponding to milestoneId for the + * quest corresponding to questId has been claimed by the currently authorized + * user. (questMilestones.claim) + * + * @param string $questId The ID of the quest. + * @param string $milestoneId The ID of the milestone. + * @param string $requestId A numeric ID to ensure that the request is handled + * correctly across retries. Your client application must generate this ID + * randomly. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function claim($questId, $milestoneId, $requestId, $optParams = array()) + { + $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId); + $params = array_merge($params, $optParams); + return $this->call('claim', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php new file mode 100644 index 00000000..4ed8d679 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Quests.php @@ -0,0 +1,70 @@ + + * $gamesService = new Google_Service_Games(...); + * $quests = $gamesService->quests; + * + */ +class Google_Service_Games_Resource_Quests extends Google_Service_Resource +{ + /** + * Indicates that the currently authorized user will participate in the quest. + * (quests.accept) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Quest + */ + public function accept($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params), "Google_Service_Games_Quest"); + } + /** + * Get a list of quests for your application and the currently authenticated + * player. (quests.listQuests) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of quest resources to return in + * the response, used for paging. For any response, the actual number of quest + * resources returned may be less than the specified maxResults. Acceptable + * values are 1 to 50, inclusive. (Default: 50). + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_QuestListResponse + */ + public function listQuests($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_QuestListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php new file mode 100644 index 00000000..5370204f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Revisions.php @@ -0,0 +1,47 @@ + + * $gamesService = new Google_Service_Games(...); + * $revisions = $gamesService->revisions; + * + */ +class Google_Service_Games_Resource_Revisions extends Google_Service_Resource +{ + /** + * Checks whether the games client is out of date. (revisions.check) + * + * @param string $clientRevision The revision of the client SDK used by your + * application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of + * PLATFORM_TYPE are: - "ANDROID" - Client is running the Android SDK. - + * "IOS" - Client is running the iOS SDK. - "WEB_APP" - Client is running as a + * Web App. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @return Google_Service_Games_RevisionCheckResponse + */ + public function check($clientRevision, $optParams = array()) + { + $params = array('clientRevision' => $clientRevision); + $params = array_merge($params, $optParams); + return $this->call('check', array($params), "Google_Service_Games_RevisionCheckResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php new file mode 100644 index 00000000..cc863dfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Rooms.php @@ -0,0 +1,174 @@ + + * $gamesService = new Google_Service_Games(...); + * $rooms = $gamesService->rooms; + * + */ +class Google_Service_Games_Resource_Rooms extends Google_Service_Resource +{ + /** + * Create a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.create) + * + * @param Google_Service_Games_RoomCreateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function create(Google_Service_Games_RoomCreateRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Games_Room"); + } + /** + * Decline an invitation to join a room. For internal use by the Games SDK only. + * Calling this method directly is unsupported. (rooms.decline) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function decline($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('decline', array($params), "Google_Service_Games_Room"); + } + /** + * Dismiss an invitation to join a room. For internal use by the Games SDK only. + * Calling this method directly is unsupported. (rooms.dismiss) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function dismiss($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + /** + * Get the data for a room. (rooms.get) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function get($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Room"); + } + /** + * Join a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.join) + * + * @param string $roomId The ID of the room. + * @param Google_Service_Games_RoomJoinRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('join', array($params), "Google_Service_Games_Room"); + } + /** + * Leave a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.leave) + * + * @param string $roomId The ID of the room. + * @param Google_Service_Games_RoomLeaveRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('leave', array($params), "Google_Service_Games_Room"); + } + /** + * Returns invitations to join rooms. (rooms.listRooms) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of rooms to return in the + * response, used for paging. For any response, the actual number of rooms to + * return may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_RoomList + */ + public function listRooms($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_RoomList"); + } + /** + * Updates sent by a client reporting the status of peers in a room. For + * internal use by the Games SDK only. Calling this method directly is + * unsupported. (rooms.reportStatus) + * + * @param string $roomId The ID of the room. + * @param Google_Service_Games_RoomP2PStatuses $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_RoomStatus + */ + public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportStatus', array($params), "Google_Service_Games_RoomStatus"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php new file mode 100644 index 00000000..a6ae8bda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Scores.php @@ -0,0 +1,158 @@ + + * $gamesService = new Google_Service_Games(...); + * $scores = $gamesService->scores; + * + */ +class Google_Service_Games_Resource_Scores extends Google_Service_Resource +{ + /** + * Get high scores, and optionally ranks, in leaderboards for the currently + * authenticated player. For a specific time span, leaderboardId can be set to + * ALL to retrieve data for all leaderboards in a given time span. NOTE: You + * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; + * only one parameter may be set to 'ALL'. (scores.get) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param string $leaderboardId The ID of the leaderboard. Can be set to 'ALL' + * to retrieve data for all leaderboards for this application. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string includeRankType The types of ranks to return. If the + * parameter is omitted, no ranks will be returned. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_PlayerLeaderboardScoreListResponse + */ + public function get($playerId, $leaderboardId, $timeSpan, $optParams = array()) + { + $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_PlayerLeaderboardScoreListResponse"); + } + /** + * Lists the scores in a leaderboard, starting from the top. (scores.listScores) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $collection The collection of scores you're requesting. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_LeaderboardScores + */ + public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_LeaderboardScores"); + } + /** + * Lists the scores in a leaderboard around (and including) a player's score. + * (scores.listWindow) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $collection The collection of scores you're requesting. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int resultsAbove The preferred number of scores to return above + * the player's score. More scores may be returned if the player is at the + * bottom of the leaderboard; fewer may be returned if the player is at the top. + * Must be less than or equal to maxResults. + * @opt_param bool returnTopIfAbsent True if the top scores should be returned + * when the player is not in the leaderboard. Defaults to true. + * @return Google_Service_Games_LeaderboardScores + */ + public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('listWindow', array($params), "Google_Service_Games_LeaderboardScores"); + } + /** + * Submits a score to the specified leaderboard. (scores.submit) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $score The score you're submitting. The submitted score is + * ignored if it is worse than a previously submitted score, where worse depends + * on the leaderboard sort order. The meaning of the score value depends on the + * leaderboard format type. For fixed-point, the score represents the raw value. + * For time, the score represents elapsed time in milliseconds. For currency, + * the score represents a value in micro units. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string scoreTag Additional information about the score you're + * submitting. Values must contain no more than 64 URI-safe characters as + * defined by section 2.3 of RFC 3986. + * @return Google_Service_Games_PlayerScoreResponse + */ + public function submit($leaderboardId, $score, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'score' => $score); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params), "Google_Service_Games_PlayerScoreResponse"); + } + /** + * Submits multiple scores to leaderboards. (scores.submitMultiple) + * + * @param Google_Service_Games_PlayerScoreSubmissionList $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_PlayerScoreListResponse + */ + public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('submitMultiple', array($params), "Google_Service_Games_PlayerScoreListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php new file mode 100644 index 00000000..5655d985 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/Snapshots.php @@ -0,0 +1,68 @@ + + * $gamesService = new Google_Service_Games(...); + * $snapshots = $gamesService->snapshots; + * + */ +class Google_Service_Games_Resource_Snapshots extends Google_Service_Resource +{ + /** + * Retrieves the metadata for a given snapshot ID. (snapshots.get) + * + * @param string $snapshotId The ID of the snapshot. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Snapshot + */ + public function get($snapshotId, $optParams = array()) + { + $params = array('snapshotId' => $snapshotId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Snapshot"); + } + /** + * Retrieves a list of snapshots created by your application for the player + * corresponding to the player ID. (snapshots.listSnapshots) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of snapshot resources to return + * in the response, used for paging. For any response, the actual number of + * snapshot resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_SnapshotListResponse + */ + public function listSnapshots($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_SnapshotListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php new file mode 100644 index 00000000..e6c05a2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Resource/TurnBasedMatches.php @@ -0,0 +1,289 @@ + + * $gamesService = new Google_Service_Games(...); + * $turnBasedMatches = $gamesService->turnBasedMatches; + * + */ +class Google_Service_Games_Resource_TurnBasedMatches extends Google_Service_Resource +{ + /** + * Cancel a turn-based match. (turnBasedMatches.cancel) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function cancel($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params)); + } + /** + * Create a turn-based match. (turnBasedMatches.create) + * + * @param Google_Service_Games_TurnBasedMatchCreateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Decline an invitation to play a turn-based match. (turnBasedMatches.decline) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function decline($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('decline', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Dismiss a turn-based match from the match list. The match will no longer show + * up in the list and will not generate notifications. + * (turnBasedMatches.dismiss) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + */ + public function dismiss($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + /** + * Finish a turn-based match. Each player should make this call once, after all + * results are in. Only the player whose turn it is may make the first call to + * Finish, and can pass in the final match state. (turnBasedMatches.finish) + * + * @param string $matchId The ID of the match. + * @param Google_Service_Games_TurnBasedMatchResults $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array()) + { + $params = array('matchId' => $matchId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('finish', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Get the data for a turn-based match. (turnBasedMatches.get) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param bool includeMatchData Get match data along with metadata. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function get($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Join a turn-based match. (turnBasedMatches.join) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function join($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('join', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Leave a turn-based match when it is not the current player's turn, without + * canceling the match. (turnBasedMatches.leave) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function leave($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('leave', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Leave a turn-based match during the current player's turn, without canceling + * the match. (turnBasedMatches.leaveTurn) + * + * @param string $matchId The ID of the match. + * @param int $matchVersion The version of the match being updated. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string pendingParticipantId The ID of another participant who + * should take their turn next. If not set, the match will wait for other + * player(s) to join via automatching; this is only valid if automatch criteria + * is set on the match with remaining slots for automatched players. + * @return Google_Service_Games_TurnBasedMatch + */ + public function leaveTurn($matchId, $matchVersion, $optParams = array()) + { + $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion); + $params = array_merge($params, $optParams); + return $this->call('leaveTurn', array($params), "Google_Service_Games_TurnBasedMatch"); + } + /** + * Returns turn-based matches the player is or was involved in. + * (turnBasedMatches.listTurnBasedMatches) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param bool includeMatchData True if match data should be returned in the + * response. Note that not all data will necessarily be returned if + * include_match_data is true; the server may decide to only return data for + * some of the matches to limit download size for the client. The remainder of + * the data for these matches will be retrievable on request. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxCompletedMatches The maximum number of completed or + * canceled matches to return in the response. If not set, all matches returned + * could be completed or canceled. + * @opt_param int maxResults The maximum number of matches to return in the + * response, used for paging. For any response, the actual number of matches to + * return may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_TurnBasedMatchList + */ + public function listTurnBasedMatches($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_TurnBasedMatchList"); + } + /** + * Create a rematch of a match that was previously completed, with the same + * participants. This can be called by only one player on a match still in their + * list; the player must have called Finish first. Returns the newly created + * match; it will be the caller's turn. (turnBasedMatches.rematch) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string requestId A randomly generated numeric ID for each request + * specified by the caller. This number is used at the server to ensure that the + * request is handled correctly across retries. + * @return Google_Service_Games_TurnBasedMatchRematch + */ + public function rematch($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('rematch', array($params), "Google_Service_Games_TurnBasedMatchRematch"); + } + /** + * Returns turn-based matches the player is or was involved in that changed + * since the last sync call, with the least recent changes coming first. Matches + * that should be removed from the local cache will have a status of + * MATCH_DELETED. (turnBasedMatches.sync) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param bool includeMatchData True if match data should be returned in the + * response. Note that not all data will necessarily be returned if + * include_match_data is true; the server may decide to only return data for + * some of the matches to limit download size for the client. The remainder of + * the data for these matches will be retrievable on request. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxCompletedMatches The maximum number of completed or + * canceled matches to return in the response. If not set, all matches returned + * could be completed or canceled. + * @opt_param int maxResults The maximum number of matches to return in the + * response, used for paging. For any response, the actual number of matches to + * return may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_TurnBasedMatchSync + */ + public function sync($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync"); + } + /** + * Commit the results of a player turn. (turnBasedMatches.takeTurn) + * + * @param string $matchId The ID of the match. + * @param Google_Service_Games_TurnBasedMatchTurn $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string consistencyToken The last-seen mutation timestamp. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array()) + { + $params = array('matchId' => $matchId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php new file mode 100644 index 00000000..98696cad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RevisionCheckResponse.php @@ -0,0 +1,48 @@ +apiVersion = $apiVersion; + } + public function getApiVersion() + { + return $this->apiVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRevisionStatus($revisionStatus) + { + $this->revisionStatus = $revisionStatus; + } + public function getRevisionStatus() + { + return $this->revisionStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php new file mode 100644 index 00000000..cf3501f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Room.php @@ -0,0 +1,144 @@ +applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus) + { + $this->autoMatchingStatus = $autoMatchingStatus; + } + public function getAutoMatchingStatus() + { + return $this->autoMatchingStatus; + } + public function setCreationDetails(Google_Service_Games_RoomModification $creationDetails) + { + $this->creationDetails = $creationDetails; + } + public function getCreationDetails() + { + return $this->creationDetails; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setInviterId($inviterId) + { + $this->inviterId = $inviterId; + } + public function getInviterId() + { + return $this->inviterId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDetails(Google_Service_Games_RoomModification $lastUpdateDetails) + { + $this->lastUpdateDetails = $lastUpdateDetails; + } + public function getLastUpdateDetails() + { + return $this->lastUpdateDetails; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setRoomId($roomId) + { + $this->roomId = $roomId; + } + public function getRoomId() + { + return $this->roomId; + } + public function setRoomStatusVersion($roomStatusVersion) + { + $this->roomStatusVersion = $roomStatusVersion; + } + public function getRoomStatusVersion() + { + return $this->roomStatusVersion; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php new file mode 100644 index 00000000..d8daffae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchStatus.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWaitEstimateSeconds($waitEstimateSeconds) + { + $this->waitEstimateSeconds = $waitEstimateSeconds; + } + public function getWaitEstimateSeconds() + { + return $this->waitEstimateSeconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php new file mode 100644 index 00000000..5107dfdc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomAutoMatchingCriteria.php @@ -0,0 +1,57 @@ +exclusiveBitmask = $exclusiveBitmask; + } + public function getExclusiveBitmask() + { + return $this->exclusiveBitmask; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers) + { + $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers; + } + public function getMaxAutoMatchingPlayers() + { + return $this->maxAutoMatchingPlayers; + } + public function setMinAutoMatchingPlayers($minAutoMatchingPlayers) + { + $this->minAutoMatchingPlayers = $minAutoMatchingPlayers; + } + public function getMinAutoMatchingPlayers() + { + return $this->minAutoMatchingPlayers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php new file mode 100644 index 00000000..b65ae8e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomClientAddress.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setXmppAddress($xmppAddress) + { + $this->xmppAddress = $xmppAddress; + } + public function getXmppAddress() + { + return $this->xmppAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php new file mode 100644 index 00000000..b6bea55d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomCreateRequest.php @@ -0,0 +1,97 @@ +autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setInvitedPlayerIds($invitedPlayerIds) + { + $this->invitedPlayerIds = $invitedPlayerIds; + } + public function getInvitedPlayerIds() + { + return $this->invitedPlayerIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics) + { + $this->networkDiagnostics = $networkDiagnostics; + } + public function getNetworkDiagnostics() + { + return $this->networkDiagnostics; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php new file mode 100644 index 00000000..2f55f28e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomJoinRequest.php @@ -0,0 +1,60 @@ +capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics) + { + $this->networkDiagnostics = $networkDiagnostics; + } + public function getNetworkDiagnostics() + { + return $this->networkDiagnostics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php new file mode 100644 index 00000000..f456e9b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveDiagnostics.php @@ -0,0 +1,95 @@ +androidNetworkSubtype = $androidNetworkSubtype; + } + public function getAndroidNetworkSubtype() + { + return $this->androidNetworkSubtype; + } + public function setAndroidNetworkType($androidNetworkType) + { + $this->androidNetworkType = $androidNetworkType; + } + public function getAndroidNetworkType() + { + return $this->androidNetworkType; + } + public function setIosNetworkType($iosNetworkType) + { + $this->iosNetworkType = $iosNetworkType; + } + public function getIosNetworkType() + { + return $this->iosNetworkType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkOperatorCode($networkOperatorCode) + { + $this->networkOperatorCode = $networkOperatorCode; + } + public function getNetworkOperatorCode() + { + return $this->networkOperatorCode; + } + public function setNetworkOperatorName($networkOperatorName) + { + $this->networkOperatorName = $networkOperatorName; + } + public function getNetworkOperatorName() + { + return $this->networkOperatorName; + } + public function setPeerSession($peerSession) + { + $this->peerSession = $peerSession; + } + public function getPeerSession() + { + return $this->peerSession; + } + public function setSocketsUsed($socketsUsed) + { + $this->socketsUsed = $socketsUsed; + } + public function getSocketsUsed() + { + return $this->socketsUsed; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php new file mode 100644 index 00000000..d41eec03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomLeaveRequest.php @@ -0,0 +1,49 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaveDiagnostics(Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics) + { + $this->leaveDiagnostics = $leaveDiagnostics; + } + public function getLeaveDiagnostics() + { + return $this->leaveDiagnostics; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php new file mode 100644 index 00000000..2807aa3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php new file mode 100644 index 00000000..43ed77d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomModification.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTimestampMillis($modifiedTimestampMillis) + { + $this->modifiedTimestampMillis = $modifiedTimestampMillis; + } + public function getModifiedTimestampMillis() + { + return $this->modifiedTimestampMillis; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php new file mode 100644 index 00000000..96a16ac5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatus.php @@ -0,0 +1,87 @@ + "error_reason", + ); + public $connectionSetupLatencyMillis; + public $error; + public $errorReason; + public $kind; + public $participantId; + public $status; + public $unreliableRoundtripLatencyMillis; + + public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis) + { + $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis; + } + public function getConnectionSetupLatencyMillis() + { + return $this->connectionSetupLatencyMillis; + } + public function setError($error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setErrorReason($errorReason) + { + $this->errorReason = $errorReason; + } + public function getErrorReason() + { + return $this->errorReason; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis) + { + $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis; + } + public function getUnreliableRoundtripLatencyMillis() + { + return $this->unreliableRoundtripLatencyMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php new file mode 100644 index 00000000..fab0dca0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomP2PStatuses.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php new file mode 100644 index 00000000..1f9bcd6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomParticipant.php @@ -0,0 +1,115 @@ +autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer) + { + $this->autoMatchedPlayer = $autoMatchedPlayer; + } + public function getAutoMatchedPlayer() + { + return $this->autoMatchedPlayer; + } + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setConnected($connected) + { + $this->connected = $connected; + } + public function getConnected() + { + return $this->connected; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaveReason($leaveReason) + { + $this->leaveReason = $leaveReason; + } + public function getLeaveReason() + { + return $this->leaveReason; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php new file mode 100644 index 00000000..706221eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/RoomStatus.php @@ -0,0 +1,78 @@ +autoMatchingStatus = $autoMatchingStatus; + } + public function getAutoMatchingStatus() + { + return $this->autoMatchingStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setRoomId($roomId) + { + $this->roomId = $roomId; + } + public function getRoomId() + { + return $this->roomId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusVersion($statusVersion) + { + $this->statusVersion = $statusVersion; + } + public function getStatusVersion() + { + return $this->statusVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php new file mode 100644 index 00000000..03c09cf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/ScoreSubmission.php @@ -0,0 +1,66 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php new file mode 100644 index 00000000..2ec6ed07 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/Snapshot.php @@ -0,0 +1,121 @@ +coverImage = $coverImage; + } + public function getCoverImage() + { + return $this->coverImage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDriveId($driveId) + { + $this->driveId = $driveId; + } + public function getDriveId() + { + return $this->driveId; + } + public function setDurationMillis($durationMillis) + { + $this->durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedMillis($lastModifiedMillis) + { + $this->lastModifiedMillis = $lastModifiedMillis; + } + public function getLastModifiedMillis() + { + return $this->lastModifiedMillis; + } + public function setProgressValue($progressValue) + { + $this->progressValue = $progressValue; + } + public function getProgressValue() + { + return $this->progressValue; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUniqueName($uniqueName) + { + $this->uniqueName = $uniqueName; + } + public function getUniqueName() + { + return $this->uniqueName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php new file mode 100644 index 00000000..2755e987 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotImage.php @@ -0,0 +1,69 @@ + "mime_type", + ); + public $height; + public $kind; + public $mimeType; + public $url; + public $width; + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php new file mode 100644 index 00000000..a96009a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/SnapshotListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php new file mode 100644 index 00000000..2895ae47 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedAutoMatchingCriteria.php @@ -0,0 +1,57 @@ +exclusiveBitmask = $exclusiveBitmask; + } + public function getExclusiveBitmask() + { + return $this->exclusiveBitmask; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers) + { + $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers; + } + public function getMaxAutoMatchingPlayers() + { + return $this->maxAutoMatchingPlayers; + } + public function setMinAutoMatchingPlayers($minAutoMatchingPlayers) + { + $this->minAutoMatchingPlayers = $minAutoMatchingPlayers; + } + public function getMinAutoMatchingPlayers() + { + return $this->minAutoMatchingPlayers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php new file mode 100644 index 00000000..57b3588d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatch.php @@ -0,0 +1,209 @@ +applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails) + { + $this->creationDetails = $creationDetails; + } + public function getCreationDetails() + { + return $this->creationDetails; + } + public function setData(Google_Service_Games_TurnBasedMatchData $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setInviterId($inviterId) + { + $this->inviterId = $inviterId; + } + public function getInviterId() + { + return $this->inviterId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails) + { + $this->lastUpdateDetails = $lastUpdateDetails; + } + public function getLastUpdateDetails() + { + return $this->lastUpdateDetails; + } + public function setMatchId($matchId) + { + $this->matchId = $matchId; + } + public function getMatchId() + { + return $this->matchId; + } + public function setMatchNumber($matchNumber) + { + $this->matchNumber = $matchNumber; + } + public function getMatchNumber() + { + return $this->matchNumber; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setPendingParticipantId($pendingParticipantId) + { + $this->pendingParticipantId = $pendingParticipantId; + } + public function getPendingParticipantId() + { + return $this->pendingParticipantId; + } + public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData) + { + $this->previousMatchData = $previousMatchData; + } + public function getPreviousMatchData() + { + return $this->previousMatchData; + } + public function setRematchId($rematchId) + { + $this->rematchId = $rematchId; + } + public function getRematchId() + { + return $this->rematchId; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserMatchStatus($userMatchStatus) + { + $this->userMatchStatus = $userMatchStatus; + } + public function getUserMatchStatus() + { + return $this->userMatchStatus; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } + public function setWithParticipantId($withParticipantId) + { + $this->withParticipantId = $withParticipantId; + } + public function getWithParticipantId() + { + return $this->withParticipantId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php new file mode 100644 index 00000000..78b2f573 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchCreateRequest.php @@ -0,0 +1,68 @@ +autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setInvitedPlayerIds($invitedPlayerIds) + { + $this->invitedPlayerIds = $invitedPlayerIds; + } + public function getInvitedPlayerIds() + { + return $this->invitedPlayerIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php new file mode 100644 index 00000000..862fcdf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchData.php @@ -0,0 +1,48 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setDataAvailable($dataAvailable) + { + $this->dataAvailable = $dataAvailable; + } + public function getDataAvailable() + { + return $this->dataAvailable; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php new file mode 100644 index 00000000..2d814062 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchDataRequest.php @@ -0,0 +1,39 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php new file mode 100644 index 00000000..cbfa1dc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php new file mode 100644 index 00000000..91dcea69 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchModification.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTimestampMillis($modifiedTimestampMillis) + { + $this->modifiedTimestampMillis = $modifiedTimestampMillis; + } + public function getModifiedTimestampMillis() + { + return $this->modifiedTimestampMillis; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php new file mode 100644 index 00000000..4bd859aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchParticipant.php @@ -0,0 +1,77 @@ +autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer) + { + $this->autoMatchedPlayer = $autoMatchedPlayer; + } + public function getAutoMatchedPlayer() + { + return $this->autoMatchedPlayer; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php new file mode 100644 index 00000000..bae80ea7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchRematch.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch) + { + $this->previousMatch = $previousMatch; + } + public function getPreviousMatch() + { + return $this->previousMatch; + } + public function setRematch(Google_Service_Games_TurnBasedMatch $rematch) + { + $this->rematch = $rematch; + } + public function getRematch() + { + return $this->rematch; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php new file mode 100644 index 00000000..bc497bdd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchResults.php @@ -0,0 +1,60 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php new file mode 100644 index 00000000..466e036a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchSync.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMoreAvailable($moreAvailable) + { + $this->moreAvailable = $moreAvailable; + } + public function getMoreAvailable() + { + return $this->moreAvailable; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php new file mode 100644 index 00000000..fcc0f31a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Games/TurnBasedMatchTurn.php @@ -0,0 +1,69 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setPendingParticipantId($pendingParticipantId) + { + $this->pendingParticipantId = $pendingParticipantId; + } + public function getPendingParticipantId() + { + return $this->pendingParticipantId; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php new file mode 100644 index 00000000..178aac3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration.php @@ -0,0 +1,236 @@ + + * The Publishing API for Google Play Game Services.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_GamesConfiguration extends Google_Service +{ + /** View and manage your Google Play Developer account. */ + const ANDROIDPUBLISHER = + "https://www.googleapis.com/auth/androidpublisher"; + + public $achievementConfigurations; + public $imageConfigurations; + public $leaderboardConfigurations; + + /** + * Constructs the internal representation of the GamesConfiguration service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1configuration/'; + $this->version = 'v1configuration'; + $this->serviceName = 'gamesConfiguration'; + + $this->achievementConfigurations = new Google_Service_GamesConfiguration_Resource_AchievementConfigurations( + $this, + $this->serviceName, + 'achievementConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->imageConfigurations = new Google_Service_GamesConfiguration_Resource_ImageConfigurations( + $this, + $this->serviceName, + 'imageConfigurations', + array( + 'methods' => array( + 'upload' => array( + 'path' => 'images/{resourceId}/imageType/{imageType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations( + $this, + $this->serviceName, + 'leaderboardConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php new file mode 100644 index 00000000..4c5fb6b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfiguration.php @@ -0,0 +1,95 @@ +achievementType = $achievementType; + } + public function getAchievementType() + { + return $this->achievementType; + } + public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft) + { + $this->draft = $draft; + } + public function getDraft() + { + return $this->draft; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialState($initialState) + { + $this->initialState = $initialState; + } + public function getInitialState() + { + return $this->initialState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setStepsToUnlock($stepsToUnlock) + { + $this->stepsToUnlock = $stepsToUnlock; + } + public function getStepsToUnlock() + { + return $this->stepsToUnlock; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php new file mode 100644 index 00000000..ef8e09ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationDetail.php @@ -0,0 +1,77 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPointValue($pointValue) + { + $this->pointValue = $pointValue; + } + public function getPointValue() + { + return $this->pointValue; + } + public function setSortRank($sortRank) + { + $this->sortRank = $sortRank; + } + public function getSortRank() + { + return $this->sortRank; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php new file mode 100644 index 00000000..75c92b97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/AchievementConfigurationListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php new file mode 100644 index 00000000..8612a82f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberAffixConfiguration.php @@ -0,0 +1,81 @@ +few = $few; + } + public function getFew() + { + return $this->few; + } + public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many) + { + $this->many = $many; + } + public function getMany() + { + return $this->many; + } + public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one) + { + $this->one = $one; + } + public function getOne() + { + return $this->one; + } + public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other) + { + $this->other = $other; + } + public function getOther() + { + return $this->other; + } + public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two) + { + $this->two = $two; + } + public function getTwo() + { + return $this->two; + } + public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero) + { + $this->zero = $zero; + } + public function getZero() + { + return $this->zero; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php new file mode 100644 index 00000000..fc047dec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/GamesNumberFormatConfiguration.php @@ -0,0 +1,58 @@ +currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNumDecimalPlaces($numDecimalPlaces) + { + $this->numDecimalPlaces = $numDecimalPlaces; + } + public function getNumDecimalPlaces() + { + return $this->numDecimalPlaces; + } + public function setNumberFormatType($numberFormatType) + { + $this->numberFormatType = $numberFormatType; + } + public function getNumberFormatType() + { + return $this->numberFormatType; + } + public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix) + { + $this->suffix = $suffix; + } + public function getSuffix() + { + return $this->suffix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php new file mode 100644 index 00000000..f2c7a72b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php @@ -0,0 +1,57 @@ +imageType = $imageType; + } + public function getImageType() + { + return $this->imageType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php new file mode 100644 index 00000000..92a465d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfiguration.php @@ -0,0 +1,95 @@ +draft = $draft; + } + public function getDraft() + { + return $this->draft; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setScoreMax($scoreMax) + { + $this->scoreMax = $scoreMax; + } + public function getScoreMax() + { + return $this->scoreMax; + } + public function setScoreMin($scoreMin) + { + $this->scoreMin = $scoreMin; + } + public function getScoreMin() + { + return $this->scoreMin; + } + public function setScoreOrder($scoreOrder) + { + $this->scoreOrder = $scoreOrder; + } + public function getScoreOrder() + { + return $this->scoreOrder; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php new file mode 100644 index 00000000..461aa34c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationDetail.php @@ -0,0 +1,68 @@ +iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat) + { + $this->scoreFormat = $scoreFormat; + } + public function getScoreFormat() + { + return $this->scoreFormat; + } + public function setSortRank($sortRank) + { + $this->sortRank = $sortRank; + } + public function getSortRank() + { + return $this->sortRank; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php new file mode 100644 index 00000000..80f84741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LeaderboardConfigurationListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php new file mode 100644 index 00000000..dae44eda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php new file mode 100644 index 00000000..25f5999e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTranslations($translations) + { + $this->translations = $translations; + } + public function getTranslations() + { + return $this->translations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php new file mode 100644 index 00000000..636dede6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/AchievementConfigurations.php @@ -0,0 +1,121 @@ + + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $achievementConfigurations = $gamesConfigurationService->achievementConfigurations; + * + */ +class Google_Service_GamesConfiguration_Resource_AchievementConfigurations extends Google_Service_Resource +{ + /** + * Delete the achievement configuration with the given ID. + * (achievementConfigurations.delete) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + */ + public function delete($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the metadata of the achievement configuration with the given ID. + * (achievementConfigurations.get) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function get($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + /** + * Insert a new achievement configuration in this application. + * (achievementConfigurations.insert) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + /** + * Returns a list of the achievement configurations in this application. + * (achievementConfigurations.listAchievementConfigurations) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of resource configurations to + * return in the response, used for paging. For any response, the actual number + * of resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse + */ + public function listAchievementConfigurations($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse"); + } + /** + * Update the metadata of the achievement configuration with the given ID. This + * method supports patch semantics. (achievementConfigurations.patch) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + /** + * Update the metadata of the achievement configuration with the given ID. + * (achievementConfigurations.update) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php new file mode 100644 index 00000000..832febab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/ImageConfigurations.php @@ -0,0 +1,43 @@ + + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $imageConfigurations = $gamesConfigurationService->imageConfigurations; + * + */ +class Google_Service_GamesConfiguration_Resource_ImageConfigurations extends Google_Service_Resource +{ + /** + * Uploads an image for a resource with the given ID and image type. + * (imageConfigurations.upload) + * + * @param string $resourceId The ID of the resource used by this method. + * @param string $imageType Selects which image in a resource for this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_ImageConfiguration + */ + public function upload($resourceId, $imageType, $optParams = array()) + { + $params = array('resourceId' => $resourceId, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php new file mode 100644 index 00000000..469f653e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesConfiguration/Resource/LeaderboardConfigurations.php @@ -0,0 +1,121 @@ + + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations; + * + */ +class Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations extends Google_Service_Resource +{ + /** + * Delete the leaderboard configuration with the given ID. + * (leaderboardConfigurations.delete) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + */ + public function delete($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the metadata of the leaderboard configuration with the given ID. + * (leaderboardConfigurations.get) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function get($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + /** + * Insert a new leaderboard configuration in this application. + * (leaderboardConfigurations.insert) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + /** + * Returns a list of the leaderboard configurations in this application. + * (leaderboardConfigurations.listLeaderboardConfigurations) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of resource configurations to + * return in the response, used for paging. For any response, the actual number + * of resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse + */ + public function listLeaderboardConfigurations($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse"); + } + /** + * Update the metadata of the leaderboard configuration with the given ID. This + * method supports patch semantics. (leaderboardConfigurations.patch) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + /** + * Update the metadata of the leaderboard configuration with the given ID. + * (leaderboardConfigurations.update) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php new file mode 100644 index 00000000..404fe207 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement.php @@ -0,0 +1,335 @@ + + * The Management API for Google Play Game Services.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_GamesManagement extends Google_Service +{ + /** Share your Google+ profile information and view and manage your game activity. */ + const GAMES = + "https://www.googleapis.com/auth/games"; + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + + public $achievements; + public $applications; + public $events; + public $players; + public $quests; + public $rooms; + public $scores; + public $turnBasedMatches; + + /** + * Constructs the internal representation of the GamesManagement service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1management/'; + $this->version = 'v1management'; + $this->serviceName = 'gamesManagement'; + + $this->achievements = new Google_Service_GamesManagement_Resource_Achievements( + $this, + $this->serviceName, + 'achievements', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'achievements/{achievementId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'achievements/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'achievements/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'achievements/{achievementId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'achievements/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->applications = new Google_Service_GamesManagement_Resource_Applications( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'listHidden' => array( + 'path' => 'applications/{applicationId}/players/hidden', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->events = new Google_Service_GamesManagement_Resource_Events( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'events/{eventId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'events/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'events/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'events/{eventId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'events/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->players = new Google_Service_GamesManagement_Resource_Players( + $this, + $this->serviceName, + 'players', + array( + 'methods' => array( + 'hide' => array( + 'path' => 'applications/{applicationId}/players/hidden/{playerId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'unhide' => array( + 'path' => 'applications/{applicationId}/players/hidden/{playerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->quests = new Google_Service_GamesManagement_Resource_Quests( + $this, + $this->serviceName, + 'quests', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'quests/{questId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'quests/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'quests/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'quests/{questId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'quests/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->rooms = new Google_Service_GamesManagement_Resource_Rooms( + $this, + $this->serviceName, + 'rooms', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'rooms/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'rooms/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->scores = new Google_Service_GamesManagement_Resource_Scores( + $this, + $this->serviceName, + 'scores', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'scores/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'scores/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'scores/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->turnBasedMatches = new Google_Service_GamesManagement_Resource_TurnBasedMatches( + $this, + $this->serviceName, + 'turnBasedMatches', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'turnbasedmatches/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'turnbasedmatches/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php new file mode 100644 index 00000000..d40fa941 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetAllResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php new file mode 100644 index 00000000..a34e9d5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetMultipleForAllRequest.php @@ -0,0 +1,43 @@ + "achievement_ids", + ); + public $achievementIds; + public $kind; + + public function setAchievementIds($achievementIds) + { + $this->achievementIds = $achievementIds; + } + public function getAchievementIds() + { + return $this->achievementIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php new file mode 100644 index 00000000..492d45bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/AchievementResetResponse.php @@ -0,0 +1,57 @@ +currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setDefinitionId($definitionId) + { + $this->definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdateOccurred($updateOccurred) + { + $this->updateOccurred = $updateOccurred; + } + public function getUpdateOccurred() + { + return $this->updateOccurred; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php new file mode 100644 index 00000000..77f7b8c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/EventsResetMultipleForAllRequest.php @@ -0,0 +1,43 @@ + "event_ids", + ); + public $eventIds; + public $kind; + + public function setEventIds($eventIds) + { + $this->eventIds = $eventIds; + } + public function getEventIds() + { + return $this->eventIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php new file mode 100644 index 00000000..f2fadb36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayedResource.php @@ -0,0 +1,39 @@ +autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setTimeMillis($timeMillis) + { + $this->timeMillis = $timeMillis; + } + public function getTimeMillis() + { + return $this->timeMillis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php new file mode 100644 index 00000000..1f5f367f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerExperienceInfoResource.php @@ -0,0 +1,59 @@ +currentExperiencePoints = $currentExperiencePoints; + } + public function getCurrentExperiencePoints() + { + return $this->currentExperiencePoints; + } + public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel) + { + $this->currentLevel = $currentLevel; + } + public function getCurrentLevel() + { + return $this->currentLevel; + } + public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) + { + $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; + } + public function getLastLevelUpTimestampMillis() + { + return $this->lastLevelUpTimestampMillis; + } + public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel) + { + $this->nextLevel = $nextLevel; + } + public function getNextLevel() + { + return $this->nextLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php new file mode 100644 index 00000000..418fffe1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/GamesPlayerLevelResource.php @@ -0,0 +1,48 @@ +level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setMaxExperiencePoints($maxExperiencePoints) + { + $this->maxExperiencePoints = $maxExperiencePoints; + } + public function getMaxExperiencePoints() + { + return $this->maxExperiencePoints; + } + public function setMinExperiencePoints($minExperiencePoints) + { + $this->minExperiencePoints = $minExperiencePoints; + } + public function getMinExperiencePoints() + { + return $this->minExperiencePoints; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php new file mode 100644 index 00000000..aeb11414 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayer.php @@ -0,0 +1,49 @@ +hiddenTimeMillis = $hiddenTimeMillis; + } + public function getHiddenTimeMillis() + { + return $this->hiddenTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_GamesManagement_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php new file mode 100644 index 00000000..f765dee9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/HiddenPlayerList.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php new file mode 100644 index 00000000..d05586b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Player.php @@ -0,0 +1,133 @@ +avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setBannerUrlLandscape($bannerUrlLandscape) + { + $this->bannerUrlLandscape = $bannerUrlLandscape; + } + public function getBannerUrlLandscape() + { + return $this->bannerUrlLandscape; + } + public function setBannerUrlPortrait($bannerUrlPortrait) + { + $this->bannerUrlPortrait = $bannerUrlPortrait; + } + public function getBannerUrlPortrait() + { + return $this->bannerUrlPortrait; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo) + { + $this->experienceInfo = $experienceInfo; + } + public function getExperienceInfo() + { + return $this->experienceInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith) + { + $this->lastPlayedWith = $lastPlayedWith; + } + public function getLastPlayedWith() + { + return $this->lastPlayedWith; + } + public function setName(Google_Service_GamesManagement_PlayerName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalPlayerId($originalPlayerId) + { + $this->originalPlayerId = $originalPlayerId; + } + public function getOriginalPlayerId() + { + return $this->originalPlayerId; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } + public function setProfileSettings(Google_Service_GamesManagement_ProfileSettings $profileSettings) + { + $this->profileSettings = $profileSettings; + } + public function getProfileSettings() + { + return $this->profileSettings; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php new file mode 100644 index 00000000..b7dd909c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerName.php @@ -0,0 +1,39 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php new file mode 100644 index 00000000..f99b68b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetAllResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php new file mode 100644 index 00000000..270b3f72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/PlayerScoreResetResponse.php @@ -0,0 +1,49 @@ +definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResetScoreTimeSpans($resetScoreTimeSpans) + { + $this->resetScoreTimeSpans = $resetScoreTimeSpans; + } + public function getResetScoreTimeSpans() + { + return $this->resetScoreTimeSpans; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php new file mode 100644 index 00000000..4cfa2f5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ProfileSettings.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileVisible($profileVisible) + { + $this->profileVisible = $profileVisible; + } + public function getProfileVisible() + { + return $this->profileVisible; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php new file mode 100644 index 00000000..6a4fa81f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/QuestsResetMultipleForAllRequest.php @@ -0,0 +1,43 @@ + "quest_ids", + ); + public $kind; + public $questIds; + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setQuestIds($questIds) + { + $this->questIds = $questIds; + } + public function getQuestIds() + { + return $this->questIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php new file mode 100644 index 00000000..70ac90ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Achievements.php @@ -0,0 +1,98 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $achievements = $gamesManagementService->achievements; + * + */ +class Google_Service_GamesManagement_Resource_Achievements extends Google_Service_Resource +{ + /** + * Resets the achievement with the given ID for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. (achievements.reset) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_AchievementResetResponse + */ + public function reset($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_GamesManagement_AchievementResetResponse"); + } + /** + * Resets all achievements for the currently authenticated player for your + * application. This method is only accessible to whitelisted tester accounts + * for your application. (achievements.resetAll) + * + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_AchievementResetAllResponse + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params), "Google_Service_GamesManagement_AchievementResetAllResponse"); + } + /** + * Resets all draft achievements for all players. This method is only available + * to user accounts for your developer console. + * (achievements.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + /** + * Resets the achievement with the given ID for all players. This method is only + * available to user accounts for your developer console. Only draft + * achievements can be reset. (achievements.resetForAllPlayers) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + /** + * Resets achievements with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft + * achievements may be reset. (achievements.resetMultipleForAllPlayers) + * + * @param Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php new file mode 100644 index 00000000..2f53a34e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Applications.php @@ -0,0 +1,49 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $applications = $gamesManagementService->applications; + * + */ +class Google_Service_GamesManagement_Resource_Applications extends Google_Service_Resource +{ + /** + * Get the list of players hidden from the given application. This method is + * only available to user accounts for your developer console. + * (applications.listHidden) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults The maximum number of player resources to return in + * the response, used for paging. For any response, the actual number of player + * resources returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_GamesManagement_HiddenPlayerList + */ + public function listHidden($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('listHidden', array($params), "Google_Service_GamesManagement_HiddenPlayerList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php new file mode 100644 index 00000000..aafa71b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Events.php @@ -0,0 +1,100 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $events = $gamesManagementService->events; + * + */ +class Google_Service_GamesManagement_Resource_Events extends Google_Service_Resource +{ + /** + * Resets all player progress on the event with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. All quests for this player that use the event + * will also be reset. (events.reset) + * + * @param string $eventId The ID of the event. + * @param array $optParams Optional parameters. + */ + public function reset($eventId, $optParams = array()) + { + $params = array('eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + /** + * Resets all player progress on all events for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. All quests for this player will also be reset. + * (events.resetAll) + * + * @param array $optParams Optional parameters. + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params)); + } + /** + * Resets all draft events for all players. This method is only available to + * user accounts for your developer console. All quests that use any of these + * events will also be reset. (events.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + /** + * Resets the event with the given ID for all players. This method is only + * available to user accounts for your developer console. Only draft events can + * be reset. All quests that use the event will also be reset. + * (events.resetForAllPlayers) + * + * @param string $eventId The ID of the event. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($eventId, $optParams = array()) + { + $params = array('eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + /** + * Resets events with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft events may + * be reset. All quests that use any of the events will also be reset. + * (events.resetMultipleForAllPlayers) + * + * @param Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php new file mode 100644 index 00000000..fe9493ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Players.php @@ -0,0 +1,62 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $players = $gamesManagementService->players; + * + */ +class Google_Service_GamesManagement_Resource_Players extends Google_Service_Resource +{ + /** + * Hide the given player's leaderboard scores from the given application. This + * method is only available to user accounts for your developer console. + * (players.hide) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + */ + public function hide($applicationId, $playerId, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('hide', array($params)); + } + /** + * Unhide the given player's leaderboard scores from the given application. This + * method is only available to user accounts for your developer console. + * (players.unhide) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + */ + public function unhide($applicationId, $playerId, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('unhide', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php new file mode 100644 index 00000000..7789daf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Quests.php @@ -0,0 +1,95 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $quests = $gamesManagementService->quests; + * + */ +class Google_Service_GamesManagement_Resource_Quests extends Google_Service_Resource +{ + /** + * Resets all player progress on the quest with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. (quests.reset) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + */ + public function reset($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + /** + * Resets all player progress on all quests for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. (quests.resetAll) + * + * @param array $optParams Optional parameters. + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params)); + } + /** + * Resets all draft quests for all players. This method is only available to + * user accounts for your developer console. (quests.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + /** + * Resets all player progress on the quest with the given ID for all players. + * This method is only available to user accounts for your developer console. + * Only draft quests can be reset. (quests.resetForAllPlayers) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + /** + * Resets quests with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft quests may + * be reset. (quests.resetMultipleForAllPlayers) + * + * @param Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php new file mode 100644 index 00000000..bb5f0c3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Rooms.php @@ -0,0 +1,54 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $rooms = $gamesManagementService->rooms; + * + */ +class Google_Service_GamesManagement_Resource_Rooms extends Google_Service_Resource +{ + /** + * Reset all rooms for the currently authenticated player for your application. + * This method is only accessible to whitelisted tester accounts for your + * application. (rooms.reset) + * + * @param array $optParams Optional parameters. + */ + public function reset($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + /** + * Deletes rooms where the only room participants are from whitelisted tester + * accounts for your application. This method is only available to user accounts + * for your developer console. (rooms.resetForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php new file mode 100644 index 00000000..caff3905 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/Scores.php @@ -0,0 +1,98 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $scores = $gamesManagementService->scores; + * + */ +class Google_Service_GamesManagement_Resource_Scores extends Google_Service_Resource +{ + /** + * Resets scores for the leaderboard with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. (scores.reset) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_PlayerScoreResetResponse + */ + public function reset($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_GamesManagement_PlayerScoreResetResponse"); + } + /** + * Resets all scores for all leaderboards for the currently authenticated + * players. This method is only accessible to whitelisted tester accounts for + * your application. (scores.resetAll) + * + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_PlayerScoreResetAllResponse + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params), "Google_Service_GamesManagement_PlayerScoreResetAllResponse"); + } + /** + * Resets scores for all draft leaderboards for all players. This method is only + * available to user accounts for your developer console. + * (scores.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + /** + * Resets scores for the leaderboard with the given ID for all players. This + * method is only available to user accounts for your developer console. Only + * draft leaderboards can be reset. (scores.resetForAllPlayers) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + /** + * Resets scores for the leaderboards with the given IDs for all players. This + * method is only available to user accounts for your developer console. Only + * draft leaderboards may be reset. (scores.resetMultipleForAllPlayers) + * + * @param Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php new file mode 100644 index 00000000..62462f84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/Resource/TurnBasedMatches.php @@ -0,0 +1,54 @@ + + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $turnBasedMatches = $gamesManagementService->turnBasedMatches; + * + */ +class Google_Service_GamesManagement_Resource_TurnBasedMatches extends Google_Service_Resource +{ + /** + * Reset all turn-based match data for a user. This method is only accessible to + * whitelisted tester accounts for your application. (turnBasedMatches.reset) + * + * @param array $optParams Optional parameters. + */ + public function reset($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + /** + * Deletes turn-based matches where the only match participants are from + * whitelisted tester accounts for your application. This method is only + * available to user accounts for your developer console. + * (turnBasedMatches.resetForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php new file mode 100644 index 00000000..7a34ab9b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GamesManagement/ScoresResetMultipleForAllRequest.php @@ -0,0 +1,43 @@ + "leaderboard_ids", + ); + public $kind; + public $leaderboardIds; + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardIds($leaderboardIds) + { + $this->leaderboardIds = $leaderboardIds; + } + public function getLeaderboardIds() + { + return $this->leaderboardIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php new file mode 100644 index 00000000..1a3a6cb1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics.php @@ -0,0 +1,720 @@ + + * Upload, process, query, and search Genomics data in the cloud.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Genomics extends Google_Service +{ + /** View and manage your data in Google BigQuery. */ + const BIGQUERY = + "https://www.googleapis.com/auth/bigquery"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage Genomics data. */ + const GENOMICS = + "https://www.googleapis.com/auth/genomics"; + /** View Genomics data. */ + const GENOMICS_READONLY = + "https://www.googleapis.com/auth/genomics.readonly"; + + public $annotations; + public $annotationsets; + public $callsets; + public $datasets; + public $operations; + public $readgroupsets; + public $readgroupsets_coveragebuckets; + public $reads; + public $references; + public $references_bases; + public $referencesets; + public $variants; + public $variantsets; + + /** + * Constructs the internal representation of the Genomics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://genomics.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'genomics'; + + $this->annotations = new Google_Service_Genomics_Resource_Annotations( + $this, + $this->serviceName, + 'annotations', + array( + 'methods' => array( + 'batchCreate' => array( + 'path' => 'v1/annotations:batchCreate', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'create' => array( + 'path' => 'v1/annotations', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/annotations/{annotationId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/annotations/{annotationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/annotations/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'v1/annotations/{annotationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->annotationsets = new Google_Service_Genomics_Resource_Annotationsets( + $this, + $this->serviceName, + 'annotationsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/annotationsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/annotationsets/{annotationSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'annotationSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/annotationsets/{annotationSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'annotationSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/annotationsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'v1/annotationsets/{annotationSetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'annotationSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->callsets = new Google_Service_Genomics_Resource_Callsets( + $this, + $this->serviceName, + 'callsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/callsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/callsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->datasets = new Google_Service_Genomics_Resource_Datasets( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/datasets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'v1/datasets/{datasetId}:undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_Genomics_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->readgroupsets = new Google_Service_Genomics_Resource_Readgroupsets( + $this, + $this->serviceName, + 'readgroupsets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}:export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'v1/readgroupsets:import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/readgroupsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->readgroupsets_coveragebuckets = new Google_Service_Genomics_Resource_ReadgroupsetsCoveragebuckets( + $this, + $this->serviceName, + 'coveragebuckets', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetBucketWidth' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'referenceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'end' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->reads = new Google_Service_Genomics_Resource_Reads( + $this, + $this->serviceName, + 'reads', + array( + 'methods' => array( + 'search' => array( + 'path' => 'v1/reads/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->references = new Google_Service_Genomics_Resource_References( + $this, + $this->serviceName, + 'references', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/references/{referenceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/references/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->references_bases = new Google_Service_Genomics_Resource_ReferencesBases( + $this, + $this->serviceName, + 'bases', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/references/{referenceId}/bases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'end' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->referencesets = new Google_Service_Genomics_Resource_Referencesets( + $this, + $this->serviceName, + 'referencesets', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/referencesets/{referenceSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/referencesets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->variants = new Google_Service_Genomics_Resource_Variants( + $this, + $this->serviceName, + 'variants', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/variants', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'v1/variants:import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'merge' => array( + 'path' => 'v1/variants:merge', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/variants/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->variantsets = new Google_Service_Genomics_Resource_Variantsets( + $this, + $this->serviceName, + 'variantsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/variantsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'v1/variantsets/{variantSetId}:export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/variantsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php new file mode 100644 index 00000000..bcecbebc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Annotation.php @@ -0,0 +1,131 @@ +annotationSetId = $annotationSetId; + } + public function getAnnotationSetId() + { + return $this->annotationSetId; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReferenceId($referenceId) + { + $this->referenceId = $referenceId; + } + public function getReferenceId() + { + return $this->referenceId; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setReverseStrand($reverseStrand) + { + $this->reverseStrand = $reverseStrand; + } + public function getReverseStrand() + { + return $this->reverseStrand; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setTranscript(Google_Service_Genomics_Transcript $transcript) + { + $this->transcript = $transcript; + } + public function getTranscript() + { + return $this->transcript; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVariant(Google_Service_Genomics_VariantAnnotation $variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php new file mode 100644 index 00000000..10ae1c86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/AnnotationSet.php @@ -0,0 +1,84 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php new file mode 100644 index 00000000..3fed6c6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsRequest.php @@ -0,0 +1,41 @@ +annotations = $annotations; + } + public function getAnnotations() + { + return $this->annotations; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php new file mode 100644 index 00000000..16ea7662 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/BatchCreateAnnotationsResponse.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php new file mode 100644 index 00000000..02d17028 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php new file mode 100644 index 00000000..db8abec6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CallSet.php @@ -0,0 +1,76 @@ +created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSampleId($sampleId) + { + $this->sampleId = $sampleId; + } + public function getSampleId() + { + return $this->sampleId; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php new file mode 100644 index 00000000..84f29698 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CancelOperationRequest.php @@ -0,0 +1,20 @@ +operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setOperationLength($operationLength) + { + $this->operationLength = $operationLength; + } + public function getOperationLength() + { + return $this->operationLength; + } + public function setReferenceSequence($referenceSequence) + { + $this->referenceSequence = $referenceSequence; + } + public function getReferenceSequence() + { + return $this->referenceSequence; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php new file mode 100644 index 00000000..78387415 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ClinicalCondition.php @@ -0,0 +1,59 @@ +conceptId = $conceptId; + } + public function getConceptId() + { + return $this->conceptId; + } + public function setExternalIds($externalIds) + { + $this->externalIds = $externalIds; + } + public function getExternalIds() + { + return $this->externalIds; + } + public function setNames($names) + { + $this->names = $names; + } + public function getNames() + { + return $this->names; + } + public function setOmimId($omimId) + { + $this->omimId = $omimId; + } + public function getOmimId() + { + return $this->omimId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php new file mode 100644 index 00000000..38843a94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CodingSequence.php @@ -0,0 +1,39 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php new file mode 100644 index 00000000..a398d2dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ComputeEngine.php @@ -0,0 +1,58 @@ +diskNames = $diskNames; + } + public function getDiskNames() + { + return $this->diskNames; + } + public function setInstanceName($instanceName) + { + $this->instanceName = $instanceName; + } + public function getInstanceName() + { + return $this->instanceName; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php new file mode 100644 index 00000000..6486f45c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/CoverageBucket.php @@ -0,0 +1,40 @@ +meanCoverage = $meanCoverage; + } + public function getMeanCoverage() + { + return $this->meanCoverage; + } + public function setRange(Google_Service_Genomics_Range $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php new file mode 100644 index 00000000..dee47e7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Dataset.php @@ -0,0 +1,57 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php new file mode 100644 index 00000000..6556933e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Entry.php @@ -0,0 +1,41 @@ +annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setStatus(Google_Service_Genomics_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php new file mode 100644 index 00000000..29366c9d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Exon.php @@ -0,0 +1,48 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setFrame($frame) + { + $this->frame = $frame; + } + public function getFrame() + { + return $this->frame; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php new file mode 100644 index 00000000..cf21926c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Experiment.php @@ -0,0 +1,57 @@ +instrumentModel = $instrumentModel; + } + public function getInstrumentModel() + { + return $this->instrumentModel; + } + public function setLibraryId($libraryId) + { + $this->libraryId = $libraryId; + } + public function getLibraryId() + { + return $this->libraryId; + } + public function setPlatformUnit($platformUnit) + { + $this->platformUnit = $platformUnit; + } + public function getPlatformUnit() + { + return $this->platformUnit; + } + public function setSequencingCenter($sequencingCenter) + { + $this->sequencingCenter = $sequencingCenter; + } + public function getSequencingCenter() + { + return $this->sequencingCenter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php new file mode 100644 index 00000000..482a90e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportReadGroupSetRequest.php @@ -0,0 +1,49 @@ +exportUri = $exportUri; + } + public function getExportUri() + { + return $this->exportUri; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReferenceNames($referenceNames) + { + $this->referenceNames = $referenceNames; + } + public function getReferenceNames() + { + return $this->referenceNames; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php new file mode 100644 index 00000000..214738c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExportVariantSetRequest.php @@ -0,0 +1,67 @@ +bigqueryDataset = $bigqueryDataset; + } + public function getBigqueryDataset() + { + return $this->bigqueryDataset; + } + public function setBigqueryTable($bigqueryTable) + { + $this->bigqueryTable = $bigqueryTable; + } + public function getBigqueryTable() + { + return $this->bigqueryTable; + } + public function setCallSetIds($callSetIds) + { + $this->callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php new file mode 100644 index 00000000..5552e207 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ExternalId.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setSourceName($sourceName) + { + $this->sourceName = $sourceName; + } + public function getSourceName() + { + return $this->sourceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php new file mode 100644 index 00000000..2bf2c603 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/GenomicsEmpty.php @@ -0,0 +1,20 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setPartitionStrategy($partitionStrategy) + { + $this->partitionStrategy = $partitionStrategy; + } + public function getPartitionStrategy() + { + return $this->partitionStrategy; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php new file mode 100644 index 00000000..2ee6cf5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportReadGroupSetsResponse.php @@ -0,0 +1,31 @@ +readGroupSetIds = $readGroupSetIds; + } + public function getReadGroupSetIds() + { + return $this->readGroupSetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php new file mode 100644 index 00000000..d799ce1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsRequest.php @@ -0,0 +1,67 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setInfoMergeConfig($infoMergeConfig) + { + $this->infoMergeConfig = $infoMergeConfig; + } + public function getInfoMergeConfig() + { + return $this->infoMergeConfig; + } + public function setNormalizeReferenceNames($normalizeReferenceNames) + { + $this->normalizeReferenceNames = $normalizeReferenceNames; + } + public function getNormalizeReferenceNames() + { + return $this->normalizeReferenceNames; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php new file mode 100644 index 00000000..5ed64943 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ImportVariantsResponse.php @@ -0,0 +1,31 @@ +callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php new file mode 100644 index 00000000..a73aa5d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/LinearAlignment.php @@ -0,0 +1,51 @@ +cigar = $cigar; + } + public function getCigar() + { + return $this->cigar; + } + public function setMappingQuality($mappingQuality) + { + $this->mappingQuality = $mappingQuality; + } + public function getMappingQuality() + { + return $this->mappingQuality; + } + public function setPosition(Google_Service_Genomics_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php new file mode 100644 index 00000000..5e6dda64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListBasesResponse.php @@ -0,0 +1,48 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php new file mode 100644 index 00000000..2b98ca2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListCoverageBucketsResponse.php @@ -0,0 +1,50 @@ +bucketWidth = $bucketWidth; + } + public function getBucketWidth() + { + return $this->bucketWidth; + } + public function setCoverageBuckets($coverageBuckets) + { + $this->coverageBuckets = $coverageBuckets; + } + public function getCoverageBuckets() + { + return $this->coverageBuckets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php new file mode 100644 index 00000000..e4460911 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListDatasetsResponse.php @@ -0,0 +1,41 @@ +datasets = $datasets; + } + public function getDatasets() + { + return $this->datasets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php new file mode 100644 index 00000000..f96a1025 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php new file mode 100644 index 00000000..06dad4b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/MergeVariantsRequest.php @@ -0,0 +1,50 @@ +infoMergeConfig = $infoMergeConfig; + } + public function getInfoMergeConfig() + { + return $this->infoMergeConfig; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } + public function setVariants($variants) + { + $this->variants = $variants; + } + public function getVariants() + { + return $this->variants; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php new file mode 100644 index 00000000..1b28aa2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Genomics_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php new file mode 100644 index 00000000..0c43648e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationEvent.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php new file mode 100644 index 00000000..04268ac8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/OperationMetadata.php @@ -0,0 +1,104 @@ +clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRequest($request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setRuntimeMetadata($runtimeMetadata) + { + $this->runtimeMetadata = $runtimeMetadata; + } + public function getRuntimeMetadata() + { + return $this->runtimeMetadata; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php new file mode 100644 index 00000000..7228e7bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Policy.php @@ -0,0 +1,50 @@ +bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php new file mode 100644 index 00000000..98be9f87 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Position.php @@ -0,0 +1,48 @@ +position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setReverseStrand($reverseStrand) + { + $this->reverseStrand = $reverseStrand; + } + public function getReverseStrand() + { + return $this->reverseStrand; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php new file mode 100644 index 00000000..94438673 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Program.php @@ -0,0 +1,66 @@ +commandLine = $commandLine; + } + public function getCommandLine() + { + return $this->commandLine; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrevProgramId($prevProgramId) + { + $this->prevProgramId = $prevProgramId; + } + public function getPrevProgramId() + { + return $this->prevProgramId; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php new file mode 100644 index 00000000..04ca770b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Range.php @@ -0,0 +1,48 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php new file mode 100644 index 00000000..99aa8d60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Read.php @@ -0,0 +1,177 @@ +alignedQuality = $alignedQuality; + } + public function getAlignedQuality() + { + return $this->alignedQuality; + } + public function setAlignedSequence($alignedSequence) + { + $this->alignedSequence = $alignedSequence; + } + public function getAlignedSequence() + { + return $this->alignedSequence; + } + public function setAlignment(Google_Service_Genomics_LinearAlignment $alignment) + { + $this->alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setDuplicateFragment($duplicateFragment) + { + $this->duplicateFragment = $duplicateFragment; + } + public function getDuplicateFragment() + { + return $this->duplicateFragment; + } + public function setFailedVendorQualityChecks($failedVendorQualityChecks) + { + $this->failedVendorQualityChecks = $failedVendorQualityChecks; + } + public function getFailedVendorQualityChecks() + { + return $this->failedVendorQualityChecks; + } + public function setFragmentLength($fragmentLength) + { + $this->fragmentLength = $fragmentLength; + } + public function getFragmentLength() + { + return $this->fragmentLength; + } + public function setFragmentName($fragmentName) + { + $this->fragmentName = $fragmentName; + } + public function getFragmentName() + { + return $this->fragmentName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setNextMatePosition(Google_Service_Genomics_Position $nextMatePosition) + { + $this->nextMatePosition = $nextMatePosition; + } + public function getNextMatePosition() + { + return $this->nextMatePosition; + } + public function setNumberReads($numberReads) + { + $this->numberReads = $numberReads; + } + public function getNumberReads() + { + return $this->numberReads; + } + public function setProperPlacement($properPlacement) + { + $this->properPlacement = $properPlacement; + } + public function getProperPlacement() + { + return $this->properPlacement; + } + public function setReadGroupId($readGroupId) + { + $this->readGroupId = $readGroupId; + } + public function getReadGroupId() + { + return $this->readGroupId; + } + public function setReadGroupSetId($readGroupSetId) + { + $this->readGroupSetId = $readGroupSetId; + } + public function getReadGroupSetId() + { + return $this->readGroupSetId; + } + public function setReadNumber($readNumber) + { + $this->readNumber = $readNumber; + } + public function getReadNumber() + { + return $this->readNumber; + } + public function setSecondaryAlignment($secondaryAlignment) + { + $this->secondaryAlignment = $secondaryAlignment; + } + public function getSecondaryAlignment() + { + return $this->secondaryAlignment; + } + public function setSupplementaryAlignment($supplementaryAlignment) + { + $this->supplementaryAlignment = $supplementaryAlignment; + } + public function getSupplementaryAlignment() + { + return $this->supplementaryAlignment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php new file mode 100644 index 00000000..aa63bd32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroup.php @@ -0,0 +1,114 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExperiment(Google_Service_Genomics_Experiment $experiment) + { + $this->experiment = $experiment; + } + public function getExperiment() + { + return $this->experiment; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPredictedInsertSize($predictedInsertSize) + { + $this->predictedInsertSize = $predictedInsertSize; + } + public function getPredictedInsertSize() + { + return $this->predictedInsertSize; + } + public function setPrograms($programs) + { + $this->programs = $programs; + } + public function getPrograms() + { + return $this->programs; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setSampleId($sampleId) + { + $this->sampleId = $sampleId; + } + public function getSampleId() + { + return $this->sampleId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php new file mode 100644 index 00000000..26d8871c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReadGroupSet.php @@ -0,0 +1,86 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReadGroups($readGroups) + { + $this->readGroups = $readGroups; + } + public function getReadGroups() + { + return $this->readGroups; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php new file mode 100644 index 00000000..c9184497 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Reference.php @@ -0,0 +1,85 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setLength($length) + { + $this->length = $length; + } + public function getLength() + { + return $this->length; + } + public function setMd5checksum($md5checksum) + { + $this->md5checksum = $md5checksum; + } + public function getMd5checksum() + { + return $this->md5checksum; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNcbiTaxonId($ncbiTaxonId) + { + $this->ncbiTaxonId = $ncbiTaxonId; + } + public function getNcbiTaxonId() + { + return $this->ncbiTaxonId; + } + public function setSourceAccessions($sourceAccessions) + { + $this->sourceAccessions = $sourceAccessions; + } + public function getSourceAccessions() + { + return $this->sourceAccessions; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php new file mode 100644 index 00000000..824d0c99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceBound.php @@ -0,0 +1,39 @@ +referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php new file mode 100644 index 00000000..d52726f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/ReferenceSet.php @@ -0,0 +1,94 @@ +assemblyId = $assemblyId; + } + public function getAssemblyId() + { + return $this->assemblyId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMd5checksum($md5checksum) + { + $this->md5checksum = $md5checksum; + } + public function getMd5checksum() + { + return $this->md5checksum; + } + public function setNcbiTaxonId($ncbiTaxonId) + { + $this->ncbiTaxonId = $ncbiTaxonId; + } + public function getNcbiTaxonId() + { + return $this->ncbiTaxonId; + } + public function setReferenceIds($referenceIds) + { + $this->referenceIds = $referenceIds; + } + public function getReferenceIds() + { + return $this->referenceIds; + } + public function setSourceAccessions($sourceAccessions) + { + $this->sourceAccessions = $sourceAccessions; + } + public function getSourceAccessions() + { + return $this->sourceAccessions; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php new file mode 100644 index 00000000..04837db9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotations.php @@ -0,0 +1,149 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $annotations = $genomicsService->annotations; + * + */ +class Google_Service_Genomics_Resource_Annotations extends Google_Service_Resource +{ + /** + * Creates one or more new annotations atomically. All annotations must belong + * to the same annotation set. Caller must have WRITE permission for this + * annotation set. For optimal performance, batch positionally adjacent + * annotations together. + * + * If the request has a systemic issue, such as an attempt to write to an + * inaccessible annotation set, the entire RPC will fail accordingly. For lesser + * data issues, when possible an error will be isolated to the corresponding + * batch entry in the response; the remaining well formed annotations will be + * created normally. + * + * For details on the requirements for each individual annotation resource, see + * CreateAnnotation. (annotations.batchCreate) + * + * @param Google_Service_Genomics_BatchCreateAnnotationsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_BatchCreateAnnotationsResponse + */ + public function batchCreate(Google_Service_Genomics_BatchCreateAnnotationsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchCreate', array($params), "Google_Service_Genomics_BatchCreateAnnotationsResponse"); + } + /** + * Creates a new annotation. Caller must have WRITE permission for the + * associated annotation set. + * + * The following fields are required: + * + * * annotationSetId * referenceName or referenceId + * + * ### Transcripts + * + * For annotations of type TRANSCRIPT, the following fields of transcript must + * be provided: + * + * * exons.start * exons.end + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). The annotated range must be + * no longer than 100Mbp (mega base pairs). See the Annotation resource for + * additional restrictions on each field. (annotations.create) + * + * @param Google_Service_Genomics_Annotation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Annotation + */ + public function create(Google_Service_Genomics_Annotation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_Annotation"); + } + /** + * Deletes an annotation. Caller must have WRITE permission for the associated + * annotation set. (annotations.delete) + * + * @param string $annotationId The ID of the annotation to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($annotationId, $optParams = array()) + { + $params = array('annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets an annotation. Caller must have READ permission for the associated + * annotation set. (annotations.get) + * + * @param string $annotationId The ID of the annotation to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Annotation + */ + public function get($annotationId, $optParams = array()) + { + $params = array('annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Annotation"); + } + /** + * Searches for annotations that match the given criteria. Results are ordered + * by genomic coordinate (by reference sequence, then position). Annotations + * with equivalent genomic coordinates are returned in an unspecified order. + * This order is consistent, such that two queries for the same content + * (regardless of page size) yield annotations in the same order across their + * respective streams of paginated responses. Caller must have READ permission + * for the queried annotation sets. (annotations.search) + * + * @param Google_Service_Genomics_SearchAnnotationsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchAnnotationsResponse + */ + public function search(Google_Service_Genomics_SearchAnnotationsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationsResponse"); + } + /** + * Updates an annotation. Caller must have WRITE permission for the associated + * dataset. (annotations.update) + * + * @param string $annotationId The ID of the annotation to be updated. + * @param Google_Service_Genomics_Annotation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. Mutable fields are name, variant, transcript, and info. If + * unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_Annotation + */ + public function update($annotationId, Google_Service_Genomics_Annotation $postBody, $optParams = array()) + { + $params = array('annotationId' => $annotationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Genomics_Annotation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php new file mode 100644 index 00000000..662715ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Annotationsets.php @@ -0,0 +1,116 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $annotationsets = $genomicsService->annotationsets; + * + */ +class Google_Service_Genomics_Resource_Annotationsets extends Google_Service_Resource +{ + /** + * Creates a new annotation set. Caller must have WRITE permission for the + * associated dataset. + * + * The following fields are required: + * + * * datasetId * referenceSetId + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). (annotationsets.create) + * + * @param Google_Service_Genomics_AnnotationSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_AnnotationSet + */ + public function create(Google_Service_Genomics_AnnotationSet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_AnnotationSet"); + } + /** + * Deletes an annotation set. Caller must have WRITE permission for the + * associated annotation set. (annotationsets.delete) + * + * @param string $annotationSetId The ID of the annotation set to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($annotationSetId, $optParams = array()) + { + $params = array('annotationSetId' => $annotationSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets an annotation set. Caller must have READ permission for the associated + * dataset. (annotationsets.get) + * + * @param string $annotationSetId The ID of the annotation set to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_AnnotationSet + */ + public function get($annotationSetId, $optParams = array()) + { + $params = array('annotationSetId' => $annotationSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_AnnotationSet"); + } + /** + * Searches for annotation sets that match the given criteria. Annotation sets + * are returned in an unspecified order. This order is consistent, such that two + * queries for the same content (regardless of page size) yield annotation sets + * in the same order across their respective streams of paginated responses. + * Caller must have READ permission for the queried datasets. + * (annotationsets.search) + * + * @param Google_Service_Genomics_SearchAnnotationSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchAnnotationSetsResponse + */ + public function search(Google_Service_Genomics_SearchAnnotationSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationSetsResponse"); + } + /** + * Updates an annotation set. The update must respect all mutability + * restrictions and other invariants described on the annotation set resource. + * Caller must have WRITE permission for the associated dataset. + * (annotationsets.update) + * + * @param string $annotationSetId The ID of the annotation set to be updated. + * @param Google_Service_Genomics_AnnotationSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. Mutable fields are name, source_uri, and info. If unspecified, all + * mutable fields will be updated. + * @return Google_Service_Genomics_AnnotationSet + */ + public function update($annotationSetId, Google_Service_Genomics_AnnotationSet $postBody, $optParams = array()) + { + $params = array('annotationSetId' => $annotationSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Genomics_AnnotationSet"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php new file mode 100644 index 00000000..5d406429 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Callsets.php @@ -0,0 +1,124 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $callsets = $genomicsService->callsets; + * + */ +class Google_Service_Genomics_Resource_Callsets extends Google_Service_Resource +{ + /** + * Creates a new call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (callsets.create) + * + * @param Google_Service_Genomics_CallSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_CallSet + */ + public function create(Google_Service_Genomics_CallSet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_CallSet"); + } + /** + * Deletes a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (callsets.delete) + * + * @param string $callSetId The ID of the call set to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($callSetId, $optParams = array()) + { + $params = array('callSetId' => $callSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets a call set by ID. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (callsets.get) + * + * @param string $callSetId The ID of the call set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_CallSet + */ + public function get($callSetId, $optParams = array()) + { + $params = array('callSetId' => $callSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_CallSet"); + } + /** + * Updates a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * This method supports patch semantics. (callsets.patch) + * + * @param string $callSetId The ID of the call set to be updated. + * @param Google_Service_Genomics_CallSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, the only mutable field is name. The only acceptable + * value is "name". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_CallSet + */ + public function patch($callSetId, Google_Service_Genomics_CallSet $postBody, $optParams = array()) + { + $params = array('callSetId' => $callSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_CallSet"); + } + /** + * Gets a list of call sets matching the criteria. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schema + * s/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). + * (callsets.search) + * + * @param Google_Service_Genomics_SearchCallSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchCallSetsResponse + */ + public function search(Google_Service_Genomics_SearchCallSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchCallSetsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php new file mode 100644 index 00000000..f989c1f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Datasets.php @@ -0,0 +1,214 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $datasets = $genomicsService->datasets; + * + */ +class Google_Service_Genomics_Resource_Datasets extends Google_Service_Resource +{ + /** + * Creates a new dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.create) + * + * @param Google_Service_Genomics_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function create(Google_Service_Genomics_Dataset $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_Dataset"); + } + /** + * Deletes a dataset and all of its contents (all read group sets, reference + * sets, variant sets, call sets, annotation sets, etc.) This is reversible (up + * to one week after the deletion) via the datasets.undelete operation. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.delete) + * + * @param string $datasetId The ID of the dataset to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($datasetId, $optParams = array()) + { + $params = array('datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets a dataset by ID. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.get) + * + * @param string $datasetId The ID of the dataset. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function get($datasetId, $optParams = array()) + { + $params = array('datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Dataset"); + } + /** + * Gets the access control policy for the dataset. This is empty if the policy + * or resource does not exist. + * + * See Getting a Policy for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_Service_Genomics_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Policy + */ + public function getIamPolicy($resource, Google_Service_Genomics_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Genomics_Policy"); + } + /** + * Lists datasets within a project. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.listDatasets) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @opt_param int pageSize The maximum number of results to return in a single + * page. If unspecified, defaults to 50. The maximum value is 1024. + * @opt_param string projectId Required. The Google Cloud project ID to list + * datasets for. + * @return Google_Service_Genomics_ListDatasetsResponse + */ + public function listDatasets($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListDatasetsResponse"); + } + /** + * Updates a dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * This method supports patch semantics. (datasets.patch) + * + * @param string $datasetId The ID of the dataset to be updated. + * @param Google_Service_Genomics_Dataset $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, the only mutable field is name. The only acceptable + * value is "name". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_Dataset + */ + public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_Dataset"); + } + /** + * Sets the access control policy on the specified dataset. Replaces any + * existing policy. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * See Setting a Policy for more information. (datasets.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_Service_Genomics_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Policy + */ + public function setIamPolicy($resource, Google_Service_Genomics_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Genomics_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. See Testing + * Permissions for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (datasets.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_Service_Genomics_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Genomics_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Genomics_TestIamPermissionsResponse"); + } + /** + * Undeletes a dataset by restoring a dataset which was deleted via this API. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * This operation is only possible for a week after the deletion occurred. + * (datasets.undelete) + * + * @param string $datasetId The ID of the dataset to be undeleted. + * @param Google_Service_Genomics_UndeleteDatasetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function undelete($datasetId, Google_Service_Genomics_UndeleteDatasetRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_Genomics_Dataset"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php new file mode 100644 index 00000000..982df693 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Operations.php @@ -0,0 +1,94 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $operations = $genomicsService->operations; + * + */ +class Google_Service_Genomics_Resource_Operations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * Clients may use Operations.GetOperation or Operations.ListOperations to check + * whether the cancellation succeeded or the operation completed despite + * cancellation. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param Google_Service_Genomics_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function cancel($name, Google_Service_Genomics_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Operation"); + } + /** + * Lists operations that match the specified filter in the request. + * (operations.listOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A string for filtering Operations. The following + * filter fields are supported + * + * * projectId Required. Corresponds to OperationMetadata.projectId. * + * createTime The time this job was created, in seconds from the + * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` + * operators. * status Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. + * Only one status may be specified. * labels.key where key is a label key. + * + * Examples + * + * * `projectId = my-project AND createTime >= 1432140000` * `projectId = my- + * project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status + * = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my- + * project AND labels.color = red` + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The maximum number of results to return. If + * unspecified, defaults to 256. The maximum value is 2048. + * @return Google_Service_Genomics_ListOperationsResponse + */ + public function listOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php new file mode 100644 index 00000000..d8c1bf5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Readgroupsets.php @@ -0,0 +1,166 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $readgroupsets = $genomicsService->readgroupsets; + * + */ +class Google_Service_Genomics_Resource_Readgroupsets extends Google_Service_Resource +{ + /** + * Deletes a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (readgroupsets.delete) + * + * @param string $readGroupSetId The ID of the read group set to be deleted. The + * caller must have WRITE permissions to the dataset associated with this read + * group set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Exports a read group set to a BAM file in Google Cloud Storage. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Note that currently there may be some differences between exported BAM files + * and the original BAM file at the time of import. See ImportReadGroupSets for + * caveats. (readgroupsets.export) + * + * @param string $readGroupSetId Required. The ID of the read group set to + * export. The caller must have READ access to this read group set. + * @param Google_Service_Genomics_ExportReadGroupSetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function export($readGroupSetId, Google_Service_Genomics_ExportReadGroupSetRequest $postBody, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_Genomics_Operation"); + } + /** + * Gets a read group set by ID. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (readgroupsets.get) + * + * @param string $readGroupSetId The ID of the read group set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_ReadGroupSet + */ + public function get($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_ReadGroupSet"); + } + /** + * Creates read group sets by asynchronously importing the provided information. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * The caller must have WRITE permissions to the dataset. + * + * ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + * + * - Tags will be converted to strings - tag types are not preserved - Comments + * (`@CO`) in the input file header will not be preserved - Original header + * order of references (`@SQ`) will not be preserved - Any reverse stranded + * unmapped reads will be reverse complemented, and their qualities (also the + * "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be + * stripped of positional information (reference name and position) + * (readgroupsets.import) + * + * @param Google_Service_Genomics_ImportReadGroupSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function import(Google_Service_Genomics_ImportReadGroupSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Genomics_Operation"); + } + /** + * Updates a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * This method supports patch semantics. (readgroupsets.patch) + * + * @param string $readGroupSetId The ID of the read group set to be updated. The + * caller must have WRITE permissions to the dataset associated with this read + * group set. + * @param Google_Service_Genomics_ReadGroupSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. Supported fields: + * + * * name. * referenceSetId. + * + * Leaving `updateMask` unset is equivalent to specifying all mutable fields. + * @return Google_Service_Genomics_ReadGroupSet + */ + public function patch($readGroupSetId, Google_Service_Genomics_ReadGroupSet $postBody, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_ReadGroupSet"); + } + /** + * Searches for read group sets matching the criteria. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/s + * chemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + * (readgroupsets.search) + * + * @param Google_Service_Genomics_SearchReadGroupSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReadGroupSetsResponse + */ + public function search(Google_Service_Genomics_SearchReadGroupSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReadGroupSetsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php new file mode 100644 index 00000000..6f17a4c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReadgroupsetsCoveragebuckets.php @@ -0,0 +1,75 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $coveragebuckets = $genomicsService->coveragebuckets; + * + */ +class Google_Service_Genomics_Resource_ReadgroupsetsCoveragebuckets extends Google_Service_Resource +{ + /** + * Lists fixed width coverage buckets for a read group set, each of which + * correspond to a range of a reference sequence. Each bucket summarizes + * coverage information across its corresponding genomic range. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Coverage is defined as the number of reads which are aligned to a given base + * in the reference sequence. Coverage buckets are available at several + * precomputed bucket widths, enabling retrieval of various coverage 'zoom + * levels'. The caller must have READ permissions for the target read group set. + * (coveragebuckets.listReadgroupsetsCoveragebuckets) + * + * @param string $readGroupSetId Required. The ID of the read group set over + * which coverage is requested. + * @param array $optParams Optional parameters. + * + * @opt_param string targetBucketWidth The desired width of each reported + * coverage bucket in base pairs. This will be rounded down to the nearest + * precomputed bucket width; the value of which is returned as `bucketWidth` in + * the response. Defaults to infinity (each bucket spans an entire reference + * sequence) or the length of the target range, if specified. The smallest + * precomputed `bucketWidth` is currently 2048 base pairs; this is subject to + * change. + * @opt_param string referenceName The name of the reference to query, within + * the reference set associated with this query. Optional. + * @opt_param string end The end position of the range on the reference, 0-based + * exclusive. If specified, `referenceName` must also be specified. If unset or + * 0, defaults to the length of the reference. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @opt_param int pageSize The maximum number of results to return in a single + * page. If unspecified, defaults to 1024. The maximum value is 2048. + * @opt_param string start The start position of the range on the reference, + * 0-based inclusive. If specified, `referenceName` must also be specified. + * Defaults to 0. + * @return Google_Service_Genomics_ListCoverageBucketsResponse + */ + public function listReadgroupsetsCoveragebuckets($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListCoverageBucketsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php new file mode 100644 index 00000000..a900fa94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Reads.php @@ -0,0 +1,64 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $reads = $genomicsService->reads; + * + */ +class Google_Service_Genomics_Resource_Reads extends Google_Service_Resource +{ + /** + * Gets a list of reads for one or more read group sets. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Reads search operates over a genomic coordinate space of reference sequence & + * position defined over the reference sequences to which the requested read + * group sets are aligned. + * + * If a target positional range is specified, search returns all reads whose + * alignment to the reference genome overlap the range. A query which specifies + * only read group set IDs yields all reads in those read group sets, including + * unmapped reads. + * + * All reads returned (including reads on subsequent pages) are ordered by + * genomic coordinate (by reference sequence, then position). Reads with + * equivalent genomic coordinates are returned in an unspecified order. This + * order is consistent, such that two queries for the same content (regardless + * of page size) yield reads in the same order across their respective streams + * of paginated responses. + * + * Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/b + * lob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). (reads.search) + * + * @param Google_Service_Genomics_SearchReadsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReadsResponse + */ + public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php new file mode 100644 index 00000000..f52fd8f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/References.php @@ -0,0 +1,70 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $references = $genomicsService->references; + * + */ +class Google_Service_Genomics_Resource_References extends Google_Service_Resource +{ + /** + * Gets a reference. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/ + * blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). + * (references.get) + * + * @param string $referenceId The ID of the reference. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Reference + */ + public function get($referenceId, $optParams = array()) + { + $params = array('referenceId' => $referenceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Reference"); + } + /** + * Searches for references which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/sche + * mas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). + * (references.search) + * + * @param Google_Service_Genomics_SearchReferencesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReferencesResponse + */ + public function search(Google_Service_Genomics_SearchReferencesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReferencesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php new file mode 100644 index 00000000..0e425078 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/ReferencesBases.php @@ -0,0 +1,60 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $bases = $genomicsService->bases; + * + */ +class Google_Service_Genomics_Resource_ReferencesBases extends Google_Service_Resource +{ + /** + * Lists the bases in a reference, optionally restricted to a range. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/sch + * emas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). + * (bases.listReferencesBases) + * + * @param string $referenceId The ID of the reference. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @opt_param int pageSize The maximum number of bases to return in a single + * page. If unspecified, defaults to 200Kbp (kilo base pairs). The maximum value + * is 10Mbp (mega base pairs). + * @opt_param string start The start position (0-based) of this query. Defaults + * to 0. + * @opt_param string end The end position (0-based, exclusive) of this query. + * Defaults to the length of this reference. + * @return Google_Service_Genomics_ListBasesResponse + */ + public function listReferencesBases($referenceId, $optParams = array()) + { + $params = array('referenceId' => $referenceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListBasesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php new file mode 100644 index 00000000..4b5df535 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Referencesets.php @@ -0,0 +1,70 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $referencesets = $genomicsService->referencesets; + * + */ +class Google_Service_Genomics_Resource_Referencesets extends Google_Service_Resource +{ + /** + * Gets a reference set. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schem + * as/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). + * (referencesets.get) + * + * @param string $referenceSetId The ID of the reference set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_ReferenceSet + */ + public function get($referenceSetId, $optParams = array()) + { + $params = array('referenceSetId' => $referenceSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_ReferenceSet"); + } + /** + * Searches for reference sets which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/s + * chemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + * (referencesets.search) + * + * @param Google_Service_Genomics_SearchReferenceSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReferenceSetsResponse + */ + public function search(Google_Service_Genomics_SearchReferenceSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReferenceSetsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php new file mode 100644 index 00000000..6a13199b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variants.php @@ -0,0 +1,213 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $variants = $genomicsService->variants; + * + */ +class Google_Service_Genomics_Resource_Variants extends Google_Service_Resource +{ + /** + * Creates a new variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variants.create) + * + * @param Google_Service_Genomics_Variant $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Variant + */ + public function create(Google_Service_Genomics_Variant $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_Variant"); + } + /** + * Deletes a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variants.delete) + * + * @param string $variantId The ID of the variant to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($variantId, $optParams = array()) + { + $params = array('variantId' => $variantId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Gets a variant by ID. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variants.get) + * + * @param string $variantId The ID of the variant. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Variant + */ + public function get($variantId, $optParams = array()) + { + $params = array('variantId' => $variantId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Variant"); + } + /** + * Creates variant data by asynchronously importing the provided information. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * The variants for import will be merged with any existing variant that matches + * its reference sequence, start, end, reference bases, and alternative bases. + * If no such variant exists, a new one will be created. + * + * When variants are merged, the call information from the new variant is added + * to the existing variant, and Variant info fields are merged as specified in + * infoMergeConfig. As a special case, for single-sample VCF files, QUAL and + * FILTER fields will be moved to the call level; these are sometimes + * interpreted in a call-specific context. Imported VCF headers are appended to + * the metadata already in a variant set. (variants.import) + * + * @param Google_Service_Genomics_ImportVariantsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function import(Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Genomics_Operation"); + } + /** + * Merges the given variants with existing variants. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Each variant will be merged with an existing variant that matches its + * reference sequence, start, end, reference bases, and alternative bases. If no + * such variant exists, a new one will be created. + * + * When variants are merged, the call information from the new variant is added + * to the existing variant. Variant info fields are merged as specified in the + * infoMergeConfig field of the MergeVariantsRequest. + * + * Please exercise caution when using this method! It is easy to introduce + * mistakes in existing variants and difficult to back out of them. For + * example, suppose you were trying to merge a new variant with an existing one + * and both variants contain calls that belong to callsets with the same callset + * ID. + * + * // Existing variant - irrelevant fields trimmed for clarity { + * "variantSetId": "10473108253681171589", "referenceName": "1", + * "start": "10582", "referenceBases": "G", "alternateBases": [ + * "A" ], "calls": [ { "callSetId": + * "10473108253681171589-0", "callSetName": "CALLSET0", + * "genotype": [ 0, 1 ], + * } ] } + * + * // New variant with conflicting call information { + * "variantSetId": "10473108253681171589", "referenceName": "1", + * "start": "10582", "referenceBases": "G", "alternateBases": [ + * "A" ], "calls": [ { "callSetId": + * "10473108253681171589-0", "callSetName": "CALLSET0", + * "genotype": [ 1, 1 ], + * } ] } + * + * The resulting merged variant would overwrite the existing calls with those + * from the new variant: + * + * { "variantSetId": "10473108253681171589", + * "referenceName": "1", "start": "10582", "referenceBases": + * "G", "alternateBases": [ "A" ], "calls": + * [ { "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", "genotype": [ + * 1, 1 ], } ] } + * + * This may be the desired outcome, but it is up to the user to determine if if + * that is indeed the case. (variants.merge) + * + * @param Google_Service_Genomics_MergeVariantsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function merge(Google_Service_Genomics_MergeVariantsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('merge', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Updates a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * This method supports patch semantics. Returns the modified variant without + * its calls. (variants.patch) + * + * @param string $variantId The ID of the variant to be updated. + * @param Google_Service_Genomics_Variant $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, mutable fields are names and info. Acceptable values + * are "names" and "info". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_Variant + */ + public function patch($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array()) + { + $params = array('variantId' => $variantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_Variant"); + } + /** + * Gets a list of variants matching the criteria. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schema + * s/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). + * (variants.search) + * + * @param Google_Service_Genomics_SearchVariantsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchVariantsResponse + */ + public function search(Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php new file mode 100644 index 00000000..915be9bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Resource/Variantsets.php @@ -0,0 +1,151 @@ + + * $genomicsService = new Google_Service_Genomics(...); + * $variantsets = $genomicsService->variantsets; + * + */ +class Google_Service_Genomics_Resource_Variantsets extends Google_Service_Resource +{ + /** + * Creates a new variant set. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * The provided variant set must have a valid `datasetId` set - all other fields + * are optional. Note that the `id` field will be ignored, as this is assigned + * by the server. (variantsets.create) + * + * @param Google_Service_Genomics_VariantSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_VariantSet + */ + public function create(Google_Service_Genomics_VariantSet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_VariantSet"); + } + /** + * Deletes a variant set including all variants, call sets, and calls within. + * This is not reversible. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variantsets.delete) + * + * @param string $variantSetId The ID of the variant set to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_GenomicsEmpty + */ + public function delete($variantSetId, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_GenomicsEmpty"); + } + /** + * Exports variant set data to an external destination. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variantsets.export) + * + * @param string $variantSetId Required. The ID of the variant set that contains + * variant data which should be exported. The caller must have READ access to + * this variant set. + * @param Google_Service_Genomics_ExportVariantSetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function export($variantSetId, Google_Service_Genomics_ExportVariantSetRequest $postBody, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_Genomics_Operation"); + } + /** + * Gets a variant set by ID. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variantsets.get) + * + * @param string $variantSetId Required. The ID of the variant set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_VariantSet + */ + public function get($variantSetId, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_VariantSet"); + } + /** + * Updates a variant set using patch semantics. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) (variantsets.patch) + * + * @param string $variantSetId The ID of the variant to be updated (must already + * exist). + * @param Google_Service_Genomics_VariantSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. Supported fields: + * + * * metadata. * name. * description. + * + * Leaving `updateMask` unset is equivalent to specifying all mutable fields. + * @return Google_Service_Genomics_VariantSet + */ + public function patch($variantSetId, Google_Service_Genomics_VariantSet $postBody, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_VariantSet"); + } + /** + * Returns a list of all variant sets matching search criteria. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google Genomics](https://cloud.google.com/genomics + * /fundamentals-of-google-genomics) + * + * Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/sch + * emas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). + * (variantsets.search) + * + * @param Google_Service_Genomics_SearchVariantSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchVariantSetsResponse + */ + public function search(Google_Service_Genomics_SearchVariantSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantSetsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php new file mode 100644 index 00000000..d23b4f60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/RuntimeMetadata.php @@ -0,0 +1,31 @@ +computeEngine = $computeEngine; + } + public function getComputeEngine() + { + return $this->computeEngine; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php new file mode 100644 index 00000000..59198e4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsRequest.php @@ -0,0 +1,76 @@ +datasetIds = $datasetIds; + } + public function getDatasetIds() + { + return $this->datasetIds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php new file mode 100644 index 00000000..097be877 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationSetsResponse.php @@ -0,0 +1,41 @@ +annotationSets = $annotationSets; + } + public function getAnnotationSets() + { + return $this->annotationSets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php new file mode 100644 index 00000000..e7451bd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsRequest.php @@ -0,0 +1,85 @@ +annotationSetIds = $annotationSetIds; + } + public function getAnnotationSetIds() + { + return $this->annotationSetIds; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceId($referenceId) + { + $this->referenceId = $referenceId; + } + public function getReferenceId() + { + return $this->referenceId; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php new file mode 100644 index 00000000..4b8d8021 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchAnnotationsResponse.php @@ -0,0 +1,41 @@ +annotations = $annotations; + } + public function getAnnotations() + { + return $this->annotations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php new file mode 100644 index 00000000..0ad65657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsRequest.php @@ -0,0 +1,58 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php new file mode 100644 index 00000000..10ee9637 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchCallSetsResponse.php @@ -0,0 +1,41 @@ +callSets = $callSets; + } + public function getCallSets() + { + return $this->callSets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php new file mode 100644 index 00000000..da351ed3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsRequest.php @@ -0,0 +1,58 @@ +datasetIds = $datasetIds; + } + public function getDatasetIds() + { + return $this->datasetIds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php new file mode 100644 index 00000000..6251bb7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadGroupSetsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReadGroupSets($readGroupSets) + { + $this->readGroupSets = $readGroupSets; + } + public function getReadGroupSets() + { + return $this->readGroupSets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php new file mode 100644 index 00000000..a72a4ea7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsRequest.php @@ -0,0 +1,85 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReadGroupIds($readGroupIds) + { + $this->readGroupIds = $readGroupIds; + } + public function getReadGroupIds() + { + return $this->readGroupIds; + } + public function setReadGroupSetIds($readGroupSetIds) + { + $this->readGroupSetIds = $readGroupSetIds; + } + public function getReadGroupSetIds() + { + return $this->readGroupSetIds; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php new file mode 100644 index 00000000..841ffa57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReadsResponse.php @@ -0,0 +1,41 @@ +alignments = $alignments; + } + public function getAlignments() + { + return $this->alignments; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php new file mode 100644 index 00000000..0d984611 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsRequest.php @@ -0,0 +1,67 @@ +accessions = $accessions; + } + public function getAccessions() + { + return $this->accessions; + } + public function setAssemblyId($assemblyId) + { + $this->assemblyId = $assemblyId; + } + public function getAssemblyId() + { + return $this->assemblyId; + } + public function setMd5checksums($md5checksums) + { + $this->md5checksums = $md5checksums; + } + public function getMd5checksums() + { + return $this->md5checksums; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php new file mode 100644 index 00000000..efa61b36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferenceSetsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReferenceSets($referenceSets) + { + $this->referenceSets = $referenceSets; + } + public function getReferenceSets() + { + return $this->referenceSets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php new file mode 100644 index 00000000..ae49629b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesRequest.php @@ -0,0 +1,67 @@ +accessions = $accessions; + } + public function getAccessions() + { + return $this->accessions; + } + public function setMd5checksums($md5checksums) + { + $this->md5checksums = $md5checksums; + } + public function getMd5checksums() + { + return $this->md5checksums; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php new file mode 100644 index 00000000..2d3e9603 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchReferencesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReferences($references) + { + $this->references = $references; + } + public function getReferences() + { + return $this->references; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php new file mode 100644 index 00000000..f58dfd49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsRequest.php @@ -0,0 +1,49 @@ +datasetIds = $datasetIds; + } + public function getDatasetIds() + { + return $this->datasetIds; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php new file mode 100644 index 00000000..0636fc6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantSetsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVariantSets($variantSets) + { + $this->variantSets = $variantSets; + } + public function getVariantSets() + { + return $this->variantSets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php new file mode 100644 index 00000000..bf278baa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsRequest.php @@ -0,0 +1,103 @@ +callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setMaxCalls($maxCalls) + { + $this->maxCalls = $maxCalls; + } + public function getMaxCalls() + { + return $this->maxCalls; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setVariantName($variantName) + { + $this->variantName = $variantName; + } + public function getVariantName() + { + return $this->variantName; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php new file mode 100644 index 00000000..ec6f7fc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SearchVariantsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVariants($variants) + { + $this->variants = $variants; + } + public function getVariants() + { + return $this->variants; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php new file mode 100644 index 00000000..e5196fd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/SetIamPolicyRequest.php @@ -0,0 +1,31 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php new file mode 100644 index 00000000..2d41b8ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php new file mode 100644 index 00000000..7b770127 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsRequest.php @@ -0,0 +1,84 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReadGroupSetId($readGroupSetId) + { + $this->readGroupSetId = $readGroupSetId; + } + public function getReadGroupSetId() + { + return $this->readGroupSetId; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setShard($shard) + { + $this->shard = $shard; + } + public function getShard() + { + return $this->shard; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setTotalShards($totalShards) + { + $this->totalShards = $totalShards; + } + public function getTotalShards() + { + return $this->totalShards; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php new file mode 100644 index 00000000..e970e0d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamReadsResponse.php @@ -0,0 +1,32 @@ +alignments = $alignments; + } + public function getAlignments() + { + return $this->alignments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php new file mode 100644 index 00000000..b0671dd2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsRequest.php @@ -0,0 +1,76 @@ +callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php new file mode 100644 index 00000000..29e56448 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/StreamVariantsResponse.php @@ -0,0 +1,32 @@ +variants = $variants; + } + public function getVariants() + { + return $this->variants; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php new file mode 100644 index 00000000..0700c68c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php new file mode 100644 index 00000000..acb47ab5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php new file mode 100644 index 00000000..e82dfd28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/Transcript.php @@ -0,0 +1,51 @@ +codingSequence = $codingSequence; + } + public function getCodingSequence() + { + return $this->codingSequence; + } + public function setExons($exons) + { + $this->exons = $exons; + } + public function getExons() + { + return $this->exons; + } + public function setGeneId($geneId) + { + $this->geneId = $geneId; + } + public function getGeneId() + { + return $this->geneId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php new file mode 100644 index 00000000..4a19f383 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/UndeleteDatasetRequest.php @@ -0,0 +1,20 @@ +alternateBases = $alternateBases; + } + public function getAlternateBases() + { + return $this->alternateBases; + } + public function setCalls($calls) + { + $this->calls = $calls; + } + public function getCalls() + { + return $this->calls; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setNames($names) + { + $this->names = $names; + } + public function getNames() + { + return $this->names; + } + public function setQuality($quality) + { + $this->quality = $quality; + } + public function getQuality() + { + return $this->quality; + } + public function setReferenceBases($referenceBases) + { + $this->referenceBases = $referenceBases; + } + public function getReferenceBases() + { + return $this->referenceBases; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php new file mode 100644 index 00000000..b82f7530 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantAnnotation.php @@ -0,0 +1,86 @@ +alternateBases = $alternateBases; + } + public function getAlternateBases() + { + return $this->alternateBases; + } + public function setClinicalSignificance($clinicalSignificance) + { + $this->clinicalSignificance = $clinicalSignificance; + } + public function getClinicalSignificance() + { + return $this->clinicalSignificance; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setEffect($effect) + { + $this->effect = $effect; + } + public function getEffect() + { + return $this->effect; + } + public function setGeneId($geneId) + { + $this->geneId = $geneId; + } + public function getGeneId() + { + return $this->geneId; + } + public function setTranscriptIds($transcriptIds) + { + $this->transcriptIds = $transcriptIds; + } + public function getTranscriptIds() + { + return $this->transcriptIds; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php new file mode 100644 index 00000000..c96a2d8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantCall.php @@ -0,0 +1,76 @@ +callSetId = $callSetId; + } + public function getCallSetId() + { + return $this->callSetId; + } + public function setCallSetName($callSetName) + { + $this->callSetName = $callSetName; + } + public function getCallSetName() + { + return $this->callSetName; + } + public function setGenotype($genotype) + { + $this->genotype = $genotype; + } + public function getGenotype() + { + return $this->genotype; + } + public function setGenotypeLikelihood($genotypeLikelihood) + { + $this->genotypeLikelihood = $genotypeLikelihood; + } + public function getGenotypeLikelihood() + { + return $this->genotypeLikelihood; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setPhaseset($phaseset) + { + $this->phaseset = $phaseset; + } + public function getPhaseset() + { + return $this->phaseset; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php new file mode 100644 index 00000000..364a09f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSet.php @@ -0,0 +1,87 @@ +datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReferenceBounds($referenceBounds) + { + $this->referenceBounds = $referenceBounds; + } + public function getReferenceBounds() + { + return $this->referenceBounds; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php new file mode 100644 index 00000000..826352f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Genomics/VariantSetMetadata.php @@ -0,0 +1,84 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php new file mode 100644 index 00000000..dcb38f38 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail.php @@ -0,0 +1,1136 @@ + + * Access Gmail mailboxes including sending user email.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Gmail extends Google_Service +{ + /** Read, send, delete, and manage your email. */ + const MAIL_GOOGLE_COM = + "https://mail.google.com/"; + /** Manage drafts and send emails. */ + const GMAIL_COMPOSE = + "https://www.googleapis.com/auth/gmail.compose"; + /** Insert mail into your mailbox. */ + const GMAIL_INSERT = + "https://www.googleapis.com/auth/gmail.insert"; + /** Manage mailbox labels. */ + const GMAIL_LABELS = + "https://www.googleapis.com/auth/gmail.labels"; + /** View your email message metadata such as labels and headers, but not the email body. */ + const GMAIL_METADATA = + "https://www.googleapis.com/auth/gmail.metadata"; + /** View and modify but not delete your email. */ + const GMAIL_MODIFY = + "https://www.googleapis.com/auth/gmail.modify"; + /** View your emails messages and settings. */ + const GMAIL_READONLY = + "https://www.googleapis.com/auth/gmail.readonly"; + /** Send email on your behalf. */ + const GMAIL_SEND = + "https://www.googleapis.com/auth/gmail.send"; + /** Manage your basic mail settings. */ + const GMAIL_SETTINGS_BASIC = + "https://www.googleapis.com/auth/gmail.settings.basic"; + /** Manage your sensitive mail settings, including who can manage your mail. */ + const GMAIL_SETTINGS_SHARING = + "https://www.googleapis.com/auth/gmail.settings.sharing"; + + public $users; + public $users_drafts; + public $users_history; + public $users_labels; + public $users_messages; + public $users_messages_attachments; + public $users_settings; + public $users_settings_filters; + public $users_settings_forwardingAddresses; + public $users_settings_sendAs; + public $users_settings_sendAs_smimeInfo; + public $users_threads; + + /** + * Constructs the internal representation of the Gmail service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'gmail/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'gmail'; + + $this->users = new Google_Service_Gmail_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'getProfile' => array( + 'path' => '{userId}/profile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => '{userId}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => '{userId}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_drafts = new Google_Service_Gmail_Resource_UsersDrafts( + $this, + $this->serviceName, + 'drafts', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'send' => array( + 'path' => '{userId}/drafts/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_history = new Google_Service_Gmail_Resource_UsersHistory( + $this, + $this->serviceName, + 'history', + array( + 'methods' => array( + 'list' => array( + 'path' => '{userId}/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'labelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startHistoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_labels = new Google_Service_Gmail_Resource_UsersLabels( + $this, + $this->serviceName, + 'labels', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages = new Google_Service_Gmail_Resource_UsersMessages( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => '{userId}/messages/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchModify' => array( + 'path' => '{userId}/messages/batchModify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metadataHeaders' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'import' => array( + 'path' => '{userId}/messages/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'internalDateSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'neverMarkSpam' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'processForCalendar' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'internalDateSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modify' => array( + 'path' => '{userId}/messages/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'send' => array( + 'path' => '{userId}/messages/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/messages/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/messages/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages_attachments = new Google_Service_Gmail_Resource_UsersMessagesAttachments( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'get' => array( + 'path' => '{userId}/messages/{messageId}/attachments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'messageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_settings = new Google_Service_Gmail_Resource_UsersSettings( + $this, + $this->serviceName, + 'settings', + array( + 'methods' => array( + 'getAutoForwarding' => array( + 'path' => '{userId}/settings/autoForwarding', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getImap' => array( + 'path' => '{userId}/settings/imap', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getPop' => array( + 'path' => '{userId}/settings/pop', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getVacation' => array( + 'path' => '{userId}/settings/vacation', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateAutoForwarding' => array( + 'path' => '{userId}/settings/autoForwarding', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateImap' => array( + 'path' => '{userId}/settings/imap', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatePop' => array( + 'path' => '{userId}/settings/pop', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateVacation' => array( + 'path' => '{userId}/settings/vacation', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_settings_filters = new Google_Service_Gmail_Resource_UsersSettingsFilters( + $this, + $this->serviceName, + 'filters', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/settings/filters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/settings/filters/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/settings/filters/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/settings/filters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_settings_forwardingAddresses = new Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses( + $this, + $this->serviceName, + 'forwardingAddresses', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/settings/forwardingAddresses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/settings/forwardingAddresses/{forwardingEmail}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/settings/forwardingAddresses/{forwardingEmail}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/settings/forwardingAddresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_settings_sendAs = new Google_Service_Gmail_Resource_UsersSettingsSendAs( + $this, + $this->serviceName, + 'sendAs', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/settings/sendAs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/settings/sendAs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'verify' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/verify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_settings_sendAs_smimeInfo = new Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo( + $this, + $this->serviceName, + 'smimeInfo', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setDefault' => array( + 'path' => '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendAsEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_threads = new Google_Service_Gmail_Resource_UsersThreads( + $this, + $this->serviceName, + 'threads', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metadataHeaders' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/threads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modify' => array( + 'path' => '{userId}/threads/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/threads/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/threads/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php new file mode 100644 index 00000000..ab1ea245 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php @@ -0,0 +1,48 @@ +disposition = $disposition; + } + public function getDisposition() + { + return $this->disposition; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php new file mode 100644 index 00000000..e8f0a8d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php @@ -0,0 +1,31 @@ +ids = $ids; + } + public function getIds() + { + return $this->ids; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php new file mode 100644 index 00000000..ac6474c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php @@ -0,0 +1,49 @@ +addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php new file mode 100644 index 00000000..adcbce81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Draft.php @@ -0,0 +1,40 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php new file mode 100644 index 00000000..c0fb8455 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Filter.php @@ -0,0 +1,50 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setCriteria(Google_Service_Gmail_FilterCriteria $criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php new file mode 100644 index 00000000..2c2f7137 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php @@ -0,0 +1,49 @@ +addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setForward($forward) + { + $this->forward = $forward; + } + public function getForward() + { + return $this->forward; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php new file mode 100644 index 00000000..fd8ea442 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php @@ -0,0 +1,102 @@ +excludeChats = $excludeChats; + } + public function getExcludeChats() + { + return $this->excludeChats; + } + public function setFrom($from) + { + $this->from = $from; + } + public function getFrom() + { + return $this->from; + } + public function setHasAttachment($hasAttachment) + { + $this->hasAttachment = $hasAttachment; + } + public function getHasAttachment() + { + return $this->hasAttachment; + } + public function setNegatedQuery($negatedQuery) + { + $this->negatedQuery = $negatedQuery; + } + public function getNegatedQuery() + { + return $this->negatedQuery; + } + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSizeComparison($sizeComparison) + { + $this->sizeComparison = $sizeComparison; + } + public function getSizeComparison() + { + return $this->sizeComparison; + } + public function setSubject($subject) + { + $this->subject = $subject; + } + public function getSubject() + { + return $this->subject; + } + public function setTo($to) + { + $this->to = $to; + } + public function getTo() + { + return $this->to; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php new file mode 100644 index 00000000..30259a5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php @@ -0,0 +1,39 @@ +forwardingEmail = $forwardingEmail; + } + public function getForwardingEmail() + { + return $this->forwardingEmail; + } + public function setVerificationStatus($verificationStatus) + { + $this->verificationStatus = $verificationStatus; + } + public function getVerificationStatus() + { + return $this->verificationStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php new file mode 100644 index 00000000..c94fbacb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/History.php @@ -0,0 +1,81 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabelsAdded($labelsAdded) + { + $this->labelsAdded = $labelsAdded; + } + public function getLabelsAdded() + { + return $this->labelsAdded; + } + public function setLabelsRemoved($labelsRemoved) + { + $this->labelsRemoved = $labelsRemoved; + } + public function getLabelsRemoved() + { + return $this->labelsRemoved; + } + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setMessagesAdded($messagesAdded) + { + $this->messagesAdded = $messagesAdded; + } + public function getMessagesAdded() + { + return $this->messagesAdded; + } + public function setMessagesDeleted($messagesDeleted) + { + $this->messagesDeleted = $messagesDeleted; + } + public function getMessagesDeleted() + { + return $this->messagesDeleted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php new file mode 100644 index 00000000..98af97c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php @@ -0,0 +1,41 @@ +labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php new file mode 100644 index 00000000..8bba31ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php @@ -0,0 +1,41 @@ +labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php new file mode 100644 index 00000000..28e5aecc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php @@ -0,0 +1,31 @@ +message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php new file mode 100644 index 00000000..d8ecf450 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php @@ -0,0 +1,31 @@ +message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php new file mode 100644 index 00000000..8f467f93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php @@ -0,0 +1,57 @@ +autoExpunge = $autoExpunge; + } + public function getAutoExpunge() + { + return $this->autoExpunge; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setExpungeBehavior($expungeBehavior) + { + $this->expungeBehavior = $expungeBehavior; + } + public function getExpungeBehavior() + { + return $this->expungeBehavior; + } + public function setMaxFolderSize($maxFolderSize) + { + $this->maxFolderSize = $maxFolderSize; + } + public function getMaxFolderSize() + { + return $this->maxFolderSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php new file mode 100644 index 00000000..9595a0b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Label.php @@ -0,0 +1,102 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabelListVisibility($labelListVisibility) + { + $this->labelListVisibility = $labelListVisibility; + } + public function getLabelListVisibility() + { + return $this->labelListVisibility; + } + public function setMessageListVisibility($messageListVisibility) + { + $this->messageListVisibility = $messageListVisibility; + } + public function getMessageListVisibility() + { + return $this->messageListVisibility; + } + public function setMessagesTotal($messagesTotal) + { + $this->messagesTotal = $messagesTotal; + } + public function getMessagesTotal() + { + return $this->messagesTotal; + } + public function setMessagesUnread($messagesUnread) + { + $this->messagesUnread = $messagesUnread; + } + public function getMessagesUnread() + { + return $this->messagesUnread; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setThreadsTotal($threadsTotal) + { + $this->threadsTotal = $threadsTotal; + } + public function getThreadsTotal() + { + return $this->threadsTotal; + } + public function setThreadsUnread($threadsUnread) + { + $this->threadsUnread = $threadsUnread; + } + public function getThreadsUnread() + { + return $this->threadsUnread; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php new file mode 100644 index 00000000..4c510e47 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php @@ -0,0 +1,50 @@ +drafts = $drafts; + } + public function getDrafts() + { + return $this->drafts; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php new file mode 100644 index 00000000..20c14b19 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php @@ -0,0 +1,32 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php new file mode 100644 index 00000000..f91c0f95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php @@ -0,0 +1,32 @@ +forwardingAddresses = $forwardingAddresses; + } + public function getForwardingAddresses() + { + return $this->forwardingAddresses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php new file mode 100644 index 00000000..b2a95741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php @@ -0,0 +1,50 @@ +history = $history; + } + public function getHistory() + { + return $this->history; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php new file mode 100644 index 00000000..dcd09dbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php @@ -0,0 +1,32 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php new file mode 100644 index 00000000..18ab5603 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php @@ -0,0 +1,50 @@ +messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php new file mode 100644 index 00000000..288d2f54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php @@ -0,0 +1,32 @@ +sendAs = $sendAs; + } + public function getSendAs() + { + return $this->sendAs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php new file mode 100644 index 00000000..e8bf165d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php @@ -0,0 +1,32 @@ +smimeInfo = $smimeInfo; + } + public function getSmimeInfo() + { + return $this->smimeInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php new file mode 100644 index 00000000..990f593d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php @@ -0,0 +1,50 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } + public function setThreads($threads) + { + $this->threads = $threads; + } + public function getThreads() + { + return $this->threads; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php new file mode 100644 index 00000000..95787880 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Message.php @@ -0,0 +1,104 @@ +historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalDate($internalDate) + { + $this->internalDate = $internalDate; + } + public function getInternalDate() + { + return $this->internalDate; + } + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setPayload(Google_Service_Gmail_MessagePart $payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setRaw($raw) + { + $this->raw = $raw; + } + public function getRaw() + { + return $this->raw; + } + public function setSizeEstimate($sizeEstimate) + { + $this->sizeEstimate = $sizeEstimate; + } + public function getSizeEstimate() + { + return $this->sizeEstimate; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setThreadId($threadId) + { + $this->threadId = $threadId; + } + public function getThreadId() + { + return $this->threadId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php new file mode 100644 index 00000000..a53e1bad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php @@ -0,0 +1,79 @@ +body = $body; + } + public function getBody() + { + return $this->body; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPartId($partId) + { + $this->partId = $partId; + } + public function getPartId() + { + return $this->partId; + } + public function setParts($parts) + { + $this->parts = $parts; + } + public function getParts() + { + return $this->parts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php new file mode 100644 index 00000000..d607b307 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php @@ -0,0 +1,48 @@ +attachmentId = $attachmentId; + } + public function getAttachmentId() + { + return $this->attachmentId; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php new file mode 100644 index 00000000..b76456f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php new file mode 100644 index 00000000..96035fd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php @@ -0,0 +1,40 @@ +addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php new file mode 100644 index 00000000..9409d0d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php @@ -0,0 +1,40 @@ +addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php new file mode 100644 index 00000000..dcc92546 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php @@ -0,0 +1,39 @@ +accessWindow = $accessWindow; + } + public function getAccessWindow() + { + return $this->accessWindow; + } + public function setDisposition($disposition) + { + $this->disposition = $disposition; + } + public function getDisposition() + { + return $this->disposition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php new file mode 100644 index 00000000..15fccdfc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Profile.php @@ -0,0 +1,57 @@ +emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setMessagesTotal($messagesTotal) + { + $this->messagesTotal = $messagesTotal; + } + public function getMessagesTotal() + { + return $this->messagesTotal; + } + public function setThreadsTotal($threadsTotal) + { + $this->threadsTotal = $threadsTotal; + } + public function getThreadsTotal() + { + return $this->threadsTotal; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php new file mode 100644 index 00000000..a98be061 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php @@ -0,0 +1,71 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $users = $gmailService->users; + * + */ +class Google_Service_Gmail_Resource_Users extends Google_Service_Resource +{ + /** + * Gets the current user's Gmail profile. (users.getProfile) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Profile + */ + public function getProfile($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getProfile', array($params), "Google_Service_Gmail_Profile"); + } + /** + * Stop receiving push notifications for the given user mailbox. (users.stop) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + */ + public function stop($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } + /** + * Set up or update a push notification watch on the given user mailbox. + * (users.watch) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_WatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_WatchResponse + */ + public function watch($userId, Google_Service_Gmail_WatchRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Gmail_WatchResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php new file mode 100644 index 00000000..af78f4b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php @@ -0,0 +1,130 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $drafts = $gmailService->drafts; + * + */ +class Google_Service_Gmail_Resource_UsersDrafts extends Google_Service_Resource +{ + /** + * Creates a new draft with the DRAFT label. (drafts.create) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Draft + */ + public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_Draft"); + } + /** + * Immediately and permanently deletes the specified draft. Does not simply + * trash it. (drafts.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified draft. (drafts.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string format The format to return the draft in. + * @return Google_Service_Gmail_Draft + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Draft"); + } + /** + * Lists the drafts in the user's mailbox. (drafts.listUsersDrafts) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSpamTrash Include drafts from SPAM and TRASH in the + * results. + * @opt_param string maxResults Maximum number of drafts to return. + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string q Only return draft messages matching the specified query. + * Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". + * @return Google_Service_Gmail_ListDraftsResponse + */ + public function listUsersDrafts($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListDraftsResponse"); + } + /** + * Sends the specified, existing draft to the recipients in the To, Cc, and Bcc + * headers. (drafts.send) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('send', array($params), "Google_Service_Gmail_Message"); + } + /** + * Replaces a draft's content. (drafts.update) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to update. + * @param Google_Service_Gmail_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Draft + */ + public function update($userId, $id, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Gmail_Draft"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php new file mode 100644 index 00000000..f04f7cf7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php @@ -0,0 +1,61 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $history = $gmailService->history; + * + */ +class Google_Service_Gmail_Resource_UsersHistory extends Google_Service_Resource +{ + /** + * Lists the history of all changes to the given mailbox. History results are + * returned in chronological order (increasing historyId). + * (history.listUsersHistory) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string historyTypes History types to be returned by the function + * @opt_param string labelId Only return messages with a label matching the ID. + * @opt_param string maxResults The maximum number of history records to return. + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string startHistoryId Required. Returns history records after the + * specified startHistoryId. The supplied startHistoryId should be obtained from + * the historyId of a message, thread, or previous list response. History IDs + * increase chronologically but are not contiguous with random gaps in between + * valid IDs. Supplying an invalid or out of date startHistoryId typically + * returns an HTTP 404 error code. A historyId is typically valid for at least a + * week, but in some rare circumstances may be valid for only a few hours. If + * you receive an HTTP 404 error response, your application should perform a + * full sync. If you receive no nextPageToken in the response, there are no + * updates to retrieve and you can store the returned historyId for a future + * request. + * @return Google_Service_Gmail_ListHistoryResponse + */ + public function listUsersHistory($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListHistoryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php new file mode 100644 index 00000000..f099e5b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php @@ -0,0 +1,120 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $labels = $gmailService->labels; + * + */ +class Google_Service_Gmail_Resource_UsersLabels extends Google_Service_Resource +{ + /** + * Creates a new label. (labels.create) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_Label"); + } + /** + * Immediately and permanently deletes the specified label and removes it from + * any messages and threads that it is applied to. (labels.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified label. (labels.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Label"); + } + /** + * Lists all labels in the user's mailbox. (labels.listUsersLabels) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListLabelsResponse + */ + public function listUsersLabels($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListLabelsResponse"); + } + /** + * Updates the specified label. This method supports patch semantics. + * (labels.patch) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to update. + * @param Google_Service_Gmail_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function patch($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Gmail_Label"); + } + /** + * Updates the specified label. (labels.update) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to update. + * @param Google_Service_Gmail_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function update($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Gmail_Label"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php new file mode 100644 index 00000000..f8da91aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php @@ -0,0 +1,229 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $messages = $gmailService->messages; + * + */ +class Google_Service_Gmail_Resource_UsersMessages extends Google_Service_Resource +{ + /** + * Deletes many messages by message ID. Provides no guarantees that messages + * were not already deleted or even existed at all. (messages.batchDelete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_BatchDeleteMessagesRequest $postBody + * @param array $optParams Optional parameters. + */ + public function batchDelete($userId, Google_Service_Gmail_BatchDeleteMessagesRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params)); + } + /** + * Modifies the labels on the specified messages. (messages.batchModify) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_BatchModifyMessagesRequest $postBody + * @param array $optParams Optional parameters. + */ + public function batchModify($userId, Google_Service_Gmail_BatchModifyMessagesRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchModify', array($params)); + } + /** + * Immediately and permanently deletes the specified message. This operation + * cannot be undone. Prefer messages.trash instead. (messages.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified message. (messages.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string format The format to return the message in. + * @opt_param string metadataHeaders When given and format is METADATA, only + * include headers specified. + * @return Google_Service_Gmail_Message + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Message"); + } + /** + * Imports a message into only this user's mailbox, with standard email delivery + * scanning and classification similar to receiving via SMTP. Does not send a + * message. (messages.import) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Message $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and + * only visible in Google Vault to a Vault administrator. Only used for G Suite + * accounts. + * @opt_param string internalDateSource Source for Gmail's internal date of the + * message. + * @opt_param bool neverMarkSpam Ignore the Gmail spam classifier decision and + * never mark this email as SPAM in the mailbox. + * @opt_param bool processForCalendar Process calendar invites in the email and + * add any extracted meetings to the Google Calendar for this user. + * @return Google_Service_Gmail_Message + */ + public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Gmail_Message"); + } + /** + * Directly inserts a message into only this user's mailbox similar to IMAP + * APPEND, bypassing most scanning and classification. Does not send a message. + * (messages.insert) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Message $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and + * only visible in Google Vault to a Vault administrator. Only used for G Suite + * accounts. + * @opt_param string internalDateSource Source for Gmail's internal date of the + * message. + * @return Google_Service_Gmail_Message + */ + public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Gmail_Message"); + } + /** + * Lists the messages in the user's mailbox. (messages.listUsersMessages) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSpamTrash Include messages from SPAM and TRASH in the + * results. + * @opt_param string labelIds Only return messages with labels that match all of + * the specified label IDs. + * @opt_param string maxResults Maximum number of messages to return. + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string q Only return messages matching the specified query. + * Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". Parameter cannot be used + * when accessing the api using the gmail.metadata scope. + * @return Google_Service_Gmail_ListMessagesResponse + */ + public function listUsersMessages($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListMessagesResponse"); + } + /** + * Modifies the labels on the specified message. (messages.modify) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to modify. + * @param Google_Service_Gmail_ModifyMessageRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function modify($userId, $id, Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modify', array($params), "Google_Service_Gmail_Message"); + } + /** + * Sends the specified message to the recipients in the To, Cc, and Bcc headers. + * (messages.send) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Message $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('send', array($params), "Google_Service_Gmail_Message"); + } + /** + * Moves the specified message to the trash. (messages.trash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function trash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('trash', array($params), "Google_Service_Gmail_Message"); + } + /** + * Removes the specified message from the trash. (messages.untrash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to remove from Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function untrash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('untrash', array($params), "Google_Service_Gmail_Message"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php new file mode 100644 index 00000000..f3d1a784 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php @@ -0,0 +1,44 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $attachments = $gmailService->attachments; + * + */ +class Google_Service_Gmail_Resource_UsersMessagesAttachments extends Google_Service_Resource +{ + /** + * Gets the specified message attachment. (attachments.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $messageId The ID of the message containing the attachment. + * @param string $id The ID of the attachment. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_MessagePartBody + */ + public function get($userId, $messageId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_MessagePartBody"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php new file mode 100644 index 00000000..1f8bfa18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php @@ -0,0 +1,149 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $settings = $gmailService->settings; + * + */ +class Google_Service_Gmail_Resource_UsersSettings extends Google_Service_Resource +{ + /** + * Gets the auto-forwarding setting for the specified account. + * (settings.getAutoForwarding) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_AutoForwarding + */ + public function getAutoForwarding($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding"); + } + /** + * Gets IMAP settings. (settings.getImap) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ImapSettings + */ + public function getImap($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getImap', array($params), "Google_Service_Gmail_ImapSettings"); + } + /** + * Gets POP settings. (settings.getPop) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_PopSettings + */ + public function getPop($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getPop', array($params), "Google_Service_Gmail_PopSettings"); + } + /** + * Gets vacation responder settings. (settings.getVacation) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_VacationSettings + */ + public function getVacation($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getVacation', array($params), "Google_Service_Gmail_VacationSettings"); + } + /** + * Updates the auto-forwarding setting for the specified account. A verified + * forwarding address must be specified when auto-forwarding is enabled. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (settings.updateAutoForwarding) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_AutoForwarding $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_AutoForwarding + */ + public function updateAutoForwarding($userId, Google_Service_Gmail_AutoForwarding $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding"); + } + /** + * Updates IMAP settings. (settings.updateImap) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_ImapSettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ImapSettings + */ + public function updateImap($userId, Google_Service_Gmail_ImapSettings $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateImap', array($params), "Google_Service_Gmail_ImapSettings"); + } + /** + * Updates POP settings. (settings.updatePop) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_PopSettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_PopSettings + */ + public function updatePop($userId, Google_Service_Gmail_PopSettings $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatePop', array($params), "Google_Service_Gmail_PopSettings"); + } + /** + * Updates vacation responder settings. (settings.updateVacation) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_VacationSettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_VacationSettings + */ + public function updateVacation($userId, Google_Service_Gmail_VacationSettings $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateVacation', array($params), "Google_Service_Gmail_VacationSettings"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php new file mode 100644 index 00000000..79cc1b20 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php @@ -0,0 +1,86 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $filters = $gmailService->filters; + * + */ +class Google_Service_Gmail_Resource_UsersSettingsFilters extends Google_Service_Resource +{ + /** + * Creates a filter. (filters.create) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Filter + */ + public function create($userId, Google_Service_Gmail_Filter $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_Filter"); + } + /** + * Deletes a filter. (filters.delete) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $id The ID of the filter to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a filter. (filters.get) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $id The ID of the filter to be fetched. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Filter + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Filter"); + } + /** + * Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListFiltersResponse + */ + public function listUsersSettingsFilters($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListFiltersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php new file mode 100644 index 00000000..317383fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsForwardingAddresses.php @@ -0,0 +1,97 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $forwardingAddresses = $gmailService->forwardingAddresses; + * + */ +class Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses extends Google_Service_Resource +{ + /** + * Creates a forwarding address. If ownership verification is required, a + * message will be sent to the recipient and the resource's verification status + * will be set to pending; otherwise, the resource will be created with + * verification status set to accepted. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (forwardingAddresses.create) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_ForwardingAddress $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ForwardingAddress + */ + public function create($userId, Google_Service_Gmail_ForwardingAddress $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_ForwardingAddress"); + } + /** + * Deletes the specified forwarding address and revokes any verification that + * may have been required. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (forwardingAddresses.delete) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $forwardingEmail The forwarding address to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $forwardingEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified forwarding address. (forwardingAddresses.get) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $forwardingEmail The forwarding address to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ForwardingAddress + */ + public function get($userId, $forwardingEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_ForwardingAddress"); + } + /** + * Lists the forwarding addresses for the specified account. + * (forwardingAddresses.listUsersSettingsForwardingAddresses) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListForwardingAddressesResponse + */ + public function listUsersSettingsForwardingAddresses($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListForwardingAddressesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php new file mode 100644 index 00000000..7190aa43 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php @@ -0,0 +1,162 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $sendAs = $gmailService->sendAs; + * + */ +class Google_Service_Gmail_Resource_UsersSettingsSendAs extends Google_Service_Resource +{ + /** + * Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail + * will attempt to connect to the SMTP service to validate the configuration + * before creating the alias. If ownership verification is required for the + * alias, a message will be sent to the email address and the resource's + * verification status will be set to pending; otherwise, the resource will be + * created with verification status set to accepted. If a signature is provided, + * Gmail will sanitize the HTML before saving it with the alias. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (sendAs.create) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param Google_Service_Gmail_SendAs $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SendAs + */ + public function create($userId, Google_Service_Gmail_SendAs $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_SendAs"); + } + /** + * Deletes the specified send-as alias. Revokes any verification that may have + * been required for using it. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (sendAs.delete) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The send-as alias to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $sendAsEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified send-as alias. Fails with an HTTP 404 error if the + * specified address is not a member of the collection. (sendAs.get) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The send-as alias to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SendAs + */ + public function get($userId, $sendAsEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_SendAs"); + } + /** + * Lists the send-as aliases for the specified account. The result includes the + * primary send-as address associated with the account as well as any custom + * "from" aliases. (sendAs.listUsersSettingsSendAs) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListSendAsResponse + */ + public function listUsersSettingsSendAs($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListSendAsResponse"); + } + /** + * Updates a send-as alias. If a signature is provided, Gmail will sanitize the + * HTML before saving it with the alias. + * + * Addresses other than the primary address for the account can only be updated + * by service account clients that have been delegated domain-wide authority. + * This method supports patch semantics. (sendAs.patch) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The send-as alias to be updated. + * @param Google_Service_Gmail_SendAs $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SendAs + */ + public function patch($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Gmail_SendAs"); + } + /** + * Updates a send-as alias. If a signature is provided, Gmail will sanitize the + * HTML before saving it with the alias. + * + * Addresses other than the primary address for the account can only be updated + * by service account clients that have been delegated domain-wide authority. + * (sendAs.update) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The send-as alias to be updated. + * @param Google_Service_Gmail_SendAs $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SendAs + */ + public function update($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Gmail_SendAs"); + } + /** + * Sends a verification email to the specified send-as alias address. The + * verification status must be pending. + * + * This method is only available to service account clients that have been + * delegated domain-wide authority. (sendAs.verify) + * + * @param string $userId User's email address. The special value "me" can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The send-as alias to be verified. + * @param array $optParams Optional parameters. + */ + public function verify($userId, $sendAsEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail); + $params = array_merge($params, $optParams); + return $this->call('verify', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php new file mode 100644 index 00000000..fe09c562 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php @@ -0,0 +1,115 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $smimeInfo = $gmailService->smimeInfo; + * + */ +class Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo extends Google_Service_Resource +{ + /** + * Deletes the specified S/MIME config for the specified send-as alias. + * (smimeInfo.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The email address that appears in the "From:" + * header for mail sent using this alias. + * @param string $id The immutable ID for the SmimeInfo. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $sendAsEmail, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified S/MIME config for the specified send-as alias. + * (smimeInfo.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The email address that appears in the "From:" + * header for mail sent using this alias. + * @param string $id The immutable ID for the SmimeInfo. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SmimeInfo + */ + public function get($userId, $sendAsEmail, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_SmimeInfo"); + } + /** + * Insert (upload) the given S/MIME config for the specified send-as alias. Note + * that pkcs12 format is required for the key. (smimeInfo.insert) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The email address that appears in the "From:" + * header for mail sent using this alias. + * @param Google_Service_Gmail_SmimeInfo $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_SmimeInfo + */ + public function insert($userId, $sendAsEmail, Google_Service_Gmail_SmimeInfo $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Gmail_SmimeInfo"); + } + /** + * Lists S/MIME configs for the specified send-as alias. + * (smimeInfo.listUsersSettingsSendAsSmimeInfo) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The email address that appears in the "From:" + * header for mail sent using this alias. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListSmimeInfoResponse + */ + public function listUsersSettingsSendAsSmimeInfo($userId, $sendAsEmail, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListSmimeInfoResponse"); + } + /** + * Sets the default S/MIME config for the specified send-as alias. + * (smimeInfo.setDefault) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $sendAsEmail The email address that appears in the "From:" + * header for mail sent using this alias. + * @param string $id The immutable ID for the SmimeInfo. + * @param array $optParams Optional parameters. + */ + public function setDefault($userId, $sendAsEmail, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('setDefault', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php new file mode 100644 index 00000000..a51e541c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php @@ -0,0 +1,135 @@ + + * $gmailService = new Google_Service_Gmail(...); + * $threads = $gmailService->threads; + * + */ +class Google_Service_Gmail_Resource_UsersThreads extends Google_Service_Resource +{ + /** + * Immediately and permanently deletes the specified thread. This operation + * cannot be undone. Prefer threads.trash instead. (threads.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id ID of the Thread to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets the specified thread. (threads.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string format The format to return the messages in. + * @opt_param string metadataHeaders When given and format is METADATA, only + * include headers specified. + * @return Google_Service_Gmail_Thread + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Thread"); + } + /** + * Lists the threads in the user's mailbox. (threads.listUsersThreads) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSpamTrash Include threads from SPAM and TRASH in the + * results. + * @opt_param string labelIds Only return threads with labels that match all of + * the specified label IDs. + * @opt_param string maxResults Maximum number of threads to return. + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string q Only return threads matching the specified query. + * Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". Parameter cannot be used + * when accessing the api using the gmail.metadata scope. + * @return Google_Service_Gmail_ListThreadsResponse + */ + public function listUsersThreads($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListThreadsResponse"); + } + /** + * Modifies the labels applied to the thread. This applies to all messages in + * the thread. (threads.modify) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to modify. + * @param Google_Service_Gmail_ModifyThreadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function modify($userId, $id, Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modify', array($params), "Google_Service_Gmail_Thread"); + } + /** + * Moves the specified thread to the trash. (threads.trash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function trash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('trash', array($params), "Google_Service_Gmail_Thread"); + } + /** + * Removes the specified thread from the trash. (threads.untrash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to remove from Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function untrash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('untrash', array($params), "Google_Service_Gmail_Thread"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php new file mode 100644 index 00000000..7df3937c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SendAs.php @@ -0,0 +1,103 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setIsPrimary($isPrimary) + { + $this->isPrimary = $isPrimary; + } + public function getIsPrimary() + { + return $this->isPrimary; + } + public function setReplyToAddress($replyToAddress) + { + $this->replyToAddress = $replyToAddress; + } + public function getReplyToAddress() + { + return $this->replyToAddress; + } + public function setSendAsEmail($sendAsEmail) + { + $this->sendAsEmail = $sendAsEmail; + } + public function getSendAsEmail() + { + return $this->sendAsEmail; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } + public function setSmtpMsa(Google_Service_Gmail_SmtpMsa $smtpMsa) + { + $this->smtpMsa = $smtpMsa; + } + public function getSmtpMsa() + { + return $this->smtpMsa; + } + public function setTreatAsAlias($treatAsAlias) + { + $this->treatAsAlias = $treatAsAlias; + } + public function getTreatAsAlias() + { + return $this->treatAsAlias; + } + public function setVerificationStatus($verificationStatus) + { + $this->verificationStatus = $verificationStatus; + } + public function getVerificationStatus() + { + return $this->verificationStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php new file mode 100644 index 00000000..e8ef0792 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php @@ -0,0 +1,84 @@ +encryptedKeyPassword = $encryptedKeyPassword; + } + public function getEncryptedKeyPassword() + { + return $this->encryptedKeyPassword; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setIssuerCn($issuerCn) + { + $this->issuerCn = $issuerCn; + } + public function getIssuerCn() + { + return $this->issuerCn; + } + public function setPem($pem) + { + $this->pem = $pem; + } + public function getPem() + { + return $this->pem; + } + public function setPkcs12($pkcs12) + { + $this->pkcs12 = $pkcs12; + } + public function getPkcs12() + { + return $this->pkcs12; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php new file mode 100644 index 00000000..5d3c9847 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php @@ -0,0 +1,66 @@ +host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setSecurityMode($securityMode) + { + $this->securityMode = $securityMode; + } + public function getSecurityMode() + { + return $this->securityMode; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php new file mode 100644 index 00000000..585b562f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/Thread.php @@ -0,0 +1,59 @@ +historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php new file mode 100644 index 00000000..99985428 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php @@ -0,0 +1,93 @@ +enableAutoReply = $enableAutoReply; + } + public function getEnableAutoReply() + { + return $this->enableAutoReply; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setResponseBodyHtml($responseBodyHtml) + { + $this->responseBodyHtml = $responseBodyHtml; + } + public function getResponseBodyHtml() + { + return $this->responseBodyHtml; + } + public function setResponseBodyPlainText($responseBodyPlainText) + { + $this->responseBodyPlainText = $responseBodyPlainText; + } + public function getResponseBodyPlainText() + { + return $this->responseBodyPlainText; + } + public function setResponseSubject($responseSubject) + { + $this->responseSubject = $responseSubject; + } + public function getResponseSubject() + { + return $this->responseSubject; + } + public function setRestrictToContacts($restrictToContacts) + { + $this->restrictToContacts = $restrictToContacts; + } + public function getRestrictToContacts() + { + return $this->restrictToContacts; + } + public function setRestrictToDomain($restrictToDomain) + { + $this->restrictToDomain = $restrictToDomain; + } + public function getRestrictToDomain() + { + return $this->restrictToDomain; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php new file mode 100644 index 00000000..6be53b54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php @@ -0,0 +1,49 @@ +labelFilterAction = $labelFilterAction; + } + public function getLabelFilterAction() + { + return $this->labelFilterAction; + } + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setTopicName($topicName) + { + $this->topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php new file mode 100644 index 00000000..bcebc35a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php @@ -0,0 +1,39 @@ +expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php new file mode 100644 index 00000000..95eb6c8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration.php @@ -0,0 +1,73 @@ + + * Groups Migration Api.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_GroupsMigration extends Google_Service +{ + /** Manage messages in groups on your domain. */ + const APPS_GROUPS_MIGRATION = + "https://www.googleapis.com/auth/apps.groups.migration"; + + public $archive; + + /** + * Constructs the internal representation of the GroupsMigration service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'groups/v1/groups/'; + $this->version = 'v1'; + $this->serviceName = 'groupsmigration'; + + $this->archive = new Google_Service_GroupsMigration_Resource_Archive( + $this, + $this->serviceName, + 'archive', + array( + 'methods' => array( + 'insert' => array( + 'path' => '{groupId}/archive', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php new file mode 100644 index 00000000..e57ec84d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Groups.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php new file mode 100644 index 00000000..26227bab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/GroupsMigration/Resource/Archive.php @@ -0,0 +1,41 @@ + + * $groupsmigrationService = new Google_Service_GroupsMigration(...); + * $archive = $groupsmigrationService->archive; + * + */ +class Google_Service_GroupsMigration_Resource_Archive extends Google_Service_Resource +{ + /** + * Inserts a new mail into the archive of the Google group. (archive.insert) + * + * @param string $groupId The group ID + * @param array $optParams Optional parameters. + * @return Google_Service_GroupsMigration_Groups + */ + public function insert($groupId, $optParams = array()) + { + $params = array('groupId' => $groupId); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GroupsMigration_Groups"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php new file mode 100644 index 00000000..75f7e8ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings.php @@ -0,0 +1,93 @@ + + * Lets you manage permission levels and related settings of a group.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Groupssettings extends Google_Service +{ + /** View and manage the settings of a G Suite group. */ + const APPS_GROUPS_SETTINGS = + "https://www.googleapis.com/auth/apps.groups.settings"; + + public $groups; + + /** + * Constructs the internal representation of the Groupssettings service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'groups/v1/groups/'; + $this->version = 'v1'; + $this->serviceName = 'groupssettings'; + + $this->groups = new Google_Service_Groupssettings_Resource_Groups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'get' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php new file mode 100644 index 00000000..b83138b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Groups.php @@ -0,0 +1,300 @@ +allowExternalMembers = $allowExternalMembers; + } + public function getAllowExternalMembers() + { + return $this->allowExternalMembers; + } + public function setAllowGoogleCommunication($allowGoogleCommunication) + { + $this->allowGoogleCommunication = $allowGoogleCommunication; + } + public function getAllowGoogleCommunication() + { + return $this->allowGoogleCommunication; + } + public function setAllowWebPosting($allowWebPosting) + { + $this->allowWebPosting = $allowWebPosting; + } + public function getAllowWebPosting() + { + return $this->allowWebPosting; + } + public function setArchiveOnly($archiveOnly) + { + $this->archiveOnly = $archiveOnly; + } + public function getArchiveOnly() + { + return $this->archiveOnly; + } + public function setCustomFooterText($customFooterText) + { + $this->customFooterText = $customFooterText; + } + public function getCustomFooterText() + { + return $this->customFooterText; + } + public function setCustomReplyTo($customReplyTo) + { + $this->customReplyTo = $customReplyTo; + } + public function getCustomReplyTo() + { + return $this->customReplyTo; + } + public function setDefaultMessageDenyNotificationText($defaultMessageDenyNotificationText) + { + $this->defaultMessageDenyNotificationText = $defaultMessageDenyNotificationText; + } + public function getDefaultMessageDenyNotificationText() + { + return $this->defaultMessageDenyNotificationText; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIncludeCustomFooter($includeCustomFooter) + { + $this->includeCustomFooter = $includeCustomFooter; + } + public function getIncludeCustomFooter() + { + return $this->includeCustomFooter; + } + public function setIncludeInGlobalAddressList($includeInGlobalAddressList) + { + $this->includeInGlobalAddressList = $includeInGlobalAddressList; + } + public function getIncludeInGlobalAddressList() + { + return $this->includeInGlobalAddressList; + } + public function setIsArchived($isArchived) + { + $this->isArchived = $isArchived; + } + public function getIsArchived() + { + return $this->isArchived; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxMessageBytes($maxMessageBytes) + { + $this->maxMessageBytes = $maxMessageBytes; + } + public function getMaxMessageBytes() + { + return $this->maxMessageBytes; + } + public function setMembersCanPostAsTheGroup($membersCanPostAsTheGroup) + { + $this->membersCanPostAsTheGroup = $membersCanPostAsTheGroup; + } + public function getMembersCanPostAsTheGroup() + { + return $this->membersCanPostAsTheGroup; + } + public function setMessageDisplayFont($messageDisplayFont) + { + $this->messageDisplayFont = $messageDisplayFont; + } + public function getMessageDisplayFont() + { + return $this->messageDisplayFont; + } + public function setMessageModerationLevel($messageModerationLevel) + { + $this->messageModerationLevel = $messageModerationLevel; + } + public function getMessageModerationLevel() + { + return $this->messageModerationLevel; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimaryLanguage($primaryLanguage) + { + $this->primaryLanguage = $primaryLanguage; + } + public function getPrimaryLanguage() + { + return $this->primaryLanguage; + } + public function setReplyTo($replyTo) + { + $this->replyTo = $replyTo; + } + public function getReplyTo() + { + return $this->replyTo; + } + public function setSendMessageDenyNotification($sendMessageDenyNotification) + { + $this->sendMessageDenyNotification = $sendMessageDenyNotification; + } + public function getSendMessageDenyNotification() + { + return $this->sendMessageDenyNotification; + } + public function setShowInGroupDirectory($showInGroupDirectory) + { + $this->showInGroupDirectory = $showInGroupDirectory; + } + public function getShowInGroupDirectory() + { + return $this->showInGroupDirectory; + } + public function setSpamModerationLevel($spamModerationLevel) + { + $this->spamModerationLevel = $spamModerationLevel; + } + public function getSpamModerationLevel() + { + return $this->spamModerationLevel; + } + public function setWhoCanAdd($whoCanAdd) + { + $this->whoCanAdd = $whoCanAdd; + } + public function getWhoCanAdd() + { + return $this->whoCanAdd; + } + public function setWhoCanContactOwner($whoCanContactOwner) + { + $this->whoCanContactOwner = $whoCanContactOwner; + } + public function getWhoCanContactOwner() + { + return $this->whoCanContactOwner; + } + public function setWhoCanInvite($whoCanInvite) + { + $this->whoCanInvite = $whoCanInvite; + } + public function getWhoCanInvite() + { + return $this->whoCanInvite; + } + public function setWhoCanJoin($whoCanJoin) + { + $this->whoCanJoin = $whoCanJoin; + } + public function getWhoCanJoin() + { + return $this->whoCanJoin; + } + public function setWhoCanLeaveGroup($whoCanLeaveGroup) + { + $this->whoCanLeaveGroup = $whoCanLeaveGroup; + } + public function getWhoCanLeaveGroup() + { + return $this->whoCanLeaveGroup; + } + public function setWhoCanPostMessage($whoCanPostMessage) + { + $this->whoCanPostMessage = $whoCanPostMessage; + } + public function getWhoCanPostMessage() + { + return $this->whoCanPostMessage; + } + public function setWhoCanViewGroup($whoCanViewGroup) + { + $this->whoCanViewGroup = $whoCanViewGroup; + } + public function getWhoCanViewGroup() + { + return $this->whoCanViewGroup; + } + public function setWhoCanViewMembership($whoCanViewMembership) + { + $this->whoCanViewMembership = $whoCanViewMembership; + } + public function getWhoCanViewMembership() + { + return $this->whoCanViewMembership; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php new file mode 100644 index 00000000..b706e219 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Groupssettings/Resource/Groups.php @@ -0,0 +1,70 @@ + + * $groupssettingsService = new Google_Service_Groupssettings(...); + * $groups = $groupssettingsService->groups; + * + */ +class Google_Service_Groupssettings_Resource_Groups extends Google_Service_Resource +{ + /** + * Gets one resource by id. (groups.get) + * + * @param string $groupUniqueId The resource ID + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function get($groupUniqueId, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Groupssettings_Groups"); + } + /** + * Updates an existing resource. This method supports patch semantics. + * (groups.patch) + * + * @param string $groupUniqueId The resource ID + * @param Google_Service_Groupssettings_Groups $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function patch($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Groupssettings_Groups"); + } + /** + * Updates an existing resource. (groups.update) + * + * @param string $groupUniqueId The resource ID + * @param Google_Service_Groupssettings_Groups $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function update($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Groupssettings_Groups"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php new file mode 100644 index 00000000..9852bf2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam.php @@ -0,0 +1,248 @@ + + * Manages identity and access control for Google Cloud Platform resources, + * including the creation of service accounts, which you can use to authenticate + * to Google and make API calls.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Iam extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_serviceAccounts; + public $projects_serviceAccounts_keys; + public $roles; + + /** + * Constructs the internal representation of the Iam service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://iam.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'iam'; + + $this->projects_serviceAccounts = new Google_Service_Iam_Resource_ProjectsServiceAccounts( + $this, + $this->serviceName, + 'serviceAccounts', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+name}/serviceAccounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/serviceAccounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'signBlob' => array( + 'path' => 'v1/{+name}:signBlob', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'signJwt' => array( + 'path' => 'v1/{+name}:signJwt', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_serviceAccounts_keys = new Google_Service_Iam_Resource_ProjectsServiceAccountsKeys( + $this, + $this->serviceName, + 'keys', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+name}/keys', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'publicKeyType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}/keys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'keyTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->roles = new Google_Service_Iam_Resource_Roles( + $this, + $this->serviceName, + 'roles', + array( + 'methods' => array( + 'queryGrantableRoles' => array( + 'path' => 'v1/roles:queryGrantableRoles', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php new file mode 100644 index 00000000..d64da48a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/AuditData.php @@ -0,0 +1,31 @@ +policyDelta = $policyDelta; + } + public function getPolicyDelta() + { + return $this->policyDelta; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php new file mode 100644 index 00000000..70c5c869 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php new file mode 100644 index 00000000..55a93c74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/BindingDelta.php @@ -0,0 +1,48 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setMember($member) + { + $this->member = $member; + } + public function getMember() + { + return $this->member; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php new file mode 100644 index 00000000..1e6436cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CloudAuditOptions.php @@ -0,0 +1,20 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php new file mode 100644 index 00000000..933b5cf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php new file mode 100644 index 00000000..d85c9b32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountKeyRequest.php @@ -0,0 +1,39 @@ +keyAlgorithm = $keyAlgorithm; + } + public function getKeyAlgorithm() + { + return $this->keyAlgorithm; + } + public function setPrivateKeyType($privateKeyType) + { + $this->privateKeyType = $privateKeyType; + } + public function getPrivateKeyType() + { + return $this->privateKeyType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php new file mode 100644 index 00000000..1d0ad16a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/CreateServiceAccountRequest.php @@ -0,0 +1,40 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setServiceAccount(Google_Service_Iam_ServiceAccount $serviceAccount) + { + $this->serviceAccount = $serviceAccount; + } + public function getServiceAccount() + { + return $this->serviceAccount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php new file mode 100644 index 00000000..0e843bca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/DataAccessOptions.php @@ -0,0 +1,20 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php new file mode 100644 index 00000000..93445ebb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ListServiceAccountsResponse.php @@ -0,0 +1,41 @@ +accounts = $accounts; + } + public function getAccounts() + { + return $this->accounts; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php new file mode 100644 index 00000000..b8d479ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/LogConfig.php @@ -0,0 +1,51 @@ +cloudAudit = $cloudAudit; + } + public function getCloudAudit() + { + return $this->cloudAudit; + } + public function setCounter(Google_Service_Iam_CounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } + public function setDataAccess(Google_Service_Iam_DataAccessOptions $dataAccess) + { + $this->dataAccess = $dataAccess; + } + public function getDataAccess() + { + return $this->dataAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php new file mode 100644 index 00000000..7b8f0b5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Policy.php @@ -0,0 +1,50 @@ +bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php new file mode 100644 index 00000000..cf1ab25f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/PolicyDelta.php @@ -0,0 +1,32 @@ +bindingDeltas = $bindingDeltas; + } + public function getBindingDeltas() + { + return $this->bindingDeltas; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php new file mode 100644 index 00000000..dd63cfcf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesRequest.php @@ -0,0 +1,30 @@ +fullResourceName = $fullResourceName; + } + public function getFullResourceName() + { + return $this->fullResourceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php new file mode 100644 index 00000000..759f85f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/QueryGrantableRolesResponse.php @@ -0,0 +1,32 @@ +roles = $roles; + } + public function getRoles() + { + return $this->roles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php new file mode 100644 index 00000000..5b51eb8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $iamService = new Google_Service_Iam(...); + * $projects = $iamService->projects; + * + */ +class Google_Service_Iam_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php new file mode 100644 index 00000000..481454d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccounts.php @@ -0,0 +1,215 @@ + + * $iamService = new Google_Service_Iam(...); + * $serviceAccounts = $iamService->serviceAccounts; + * + */ +class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service_Resource +{ + /** + * Creates a ServiceAccount and returns it. (serviceAccounts.create) + * + * @param string $name Required. The resource name of the project associated + * with the service accounts, such as `projects/my-project-123`. + * @param Google_Service_Iam_CreateServiceAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_ServiceAccount + */ + public function create($name, Google_Service_Iam_CreateServiceAccountRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Iam_ServiceAccount"); + } + /** + * Deletes a ServiceAccount. (serviceAccounts.delete) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_IamEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Iam_IamEmpty"); + } + /** + * Gets a ServiceAccount. (serviceAccounts.get) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_ServiceAccount + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Iam_ServiceAccount"); + } + /** + * Returns the IAM access control policy for a ServiceAccount. + * (serviceAccounts.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Iam_Policy"); + } + /** + * Lists ServiceAccounts for a project. + * (serviceAccounts.listProjectsServiceAccounts) + * + * @param string $name Required. The resource name of the project associated + * with the service accounts, such as `projects/my-project-123`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional pagination token returned in an earlier + * ListServiceAccountsResponse.next_page_token. + * @opt_param int pageSize Optional limit on the number of service accounts to + * include in the response. Further accounts can subsequently be obtained by + * including the ListServiceAccountsResponse.next_page_token in a subsequent + * request. + * @return Google_Service_Iam_ListServiceAccountsResponse + */ + public function listProjectsServiceAccounts($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountsResponse"); + } + /** + * Sets the IAM access control policy for a ServiceAccount. + * (serviceAccounts.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param Google_Service_Iam_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_Policy + */ + public function setIamPolicy($resource, Google_Service_Iam_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Iam_Policy"); + } + /** + * Signs a blob using a service account's system-managed private key. + * (serviceAccounts.signBlob) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param Google_Service_Iam_SignBlobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_SignBlobResponse + */ + public function signBlob($name, Google_Service_Iam_SignBlobRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('signBlob', array($params), "Google_Service_Iam_SignBlobResponse"); + } + /** + * Signs a JWT using a service account's system-managed private key. + * + * If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an an + * expiry time of one hour by default. If you request an expiry time of more + * than one hour, the request will fail. (serviceAccounts.signJwt) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param Google_Service_Iam_SignJwtRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_SignJwtResponse + */ + public function signJwt($name, Google_Service_Iam_SignJwtRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('signJwt', array($params), "Google_Service_Iam_SignJwtResponse"); + } + /** + * Tests the specified permissions against the IAM access control policy for a + * ServiceAccount. (serviceAccounts.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. `resource` is usually specified as a path. For example, a + * Project resource is specified as `projects/{project}`. + * @param Google_Service_Iam_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Iam_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Iam_TestIamPermissionsResponse"); + } + /** + * Updates a ServiceAccount. + * + * Currently, only the following fields are updatable: `display_name` . The + * `etag` is mandatory. (serviceAccounts.update) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * + * Requests using `-` as a wildcard for the project will infer the project from + * the `account` and the `account` value can be the `email` address or the + * `unique_id` of the service account. + * + * In responses the resource name will always be in the format + * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * @param Google_Service_Iam_ServiceAccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_ServiceAccount + */ + public function update($name, Google_Service_Iam_ServiceAccount $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Iam_ServiceAccount"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php new file mode 100644 index 00000000..3dcb5bcf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsServiceAccountsKeys.php @@ -0,0 +1,108 @@ + + * $iamService = new Google_Service_Iam(...); + * $keys = $iamService->keys; + * + */ +class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Service_Resource +{ + /** + * Creates a ServiceAccountKey and returns it. (keys.create) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param Google_Service_Iam_CreateServiceAccountKeyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_ServiceAccountKey + */ + public function create($name, Google_Service_Iam_CreateServiceAccountKeyRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Iam_ServiceAccountKey"); + } + /** + * Deletes a ServiceAccountKey. (keys.delete) + * + * @param string $name The resource name of the service account key in the + * following format: + * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`. + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_IamEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Iam_IamEmpty"); + } + /** + * Gets the ServiceAccountKey by key id. (keys.get) + * + * @param string $name The resource name of the service account key in the + * following format: + * `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`. + * + * Using `-` as a wildcard for the project will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param array $optParams Optional parameters. + * + * @opt_param string publicKeyType The output format of the public key + * requested. X509_PEM is the default output format. + * @return Google_Service_Iam_ServiceAccountKey + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Iam_ServiceAccountKey"); + } + /** + * Lists ServiceAccountKeys. (keys.listProjectsServiceAccountsKeys) + * + * @param string $name The resource name of the service account in the following + * format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. + * + * Using `-` as a wildcard for the project, will infer the project from the + * account. The `account` value can be the `email` address or the `unique_id` of + * the service account. + * @param array $optParams Optional parameters. + * + * @opt_param string keyTypes Filters the types of keys the user wants to + * include in the list response. Duplicate key types are not allowed. If no key + * type is provided, all keys are returned. + * @return Google_Service_Iam_ListServiceAccountKeysResponse + */ + public function listProjectsServiceAccountsKeys($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountKeysResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php new file mode 100644 index 00000000..51ab8e9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Resource/Roles.php @@ -0,0 +1,43 @@ + + * $iamService = new Google_Service_Iam(...); + * $roles = $iamService->roles; + * + */ +class Google_Service_Iam_Resource_Roles extends Google_Service_Resource +{ + /** + * Queries roles that can be granted on a particular resource. A role is + * grantable if it can be used as the role in a binding for a policy for that + * resource. (roles.queryGrantableRoles) + * + * @param Google_Service_Iam_QueryGrantableRolesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Iam_QueryGrantableRolesResponse + */ + public function queryGrantableRoles(Google_Service_Iam_QueryGrantableRolesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('queryGrantableRoles', array($params), "Google_Service_Iam_QueryGrantableRolesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php new file mode 100644 index 00000000..07e3bcd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Role.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php new file mode 100644 index 00000000..46705c88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIn($in) + { + $this->in = $in; + } + public function getIn() + { + return $this->in; + } + public function setLogConfig($logConfig) + { + $this->logConfig = $logConfig; + } + public function getLogConfig() + { + return $this->logConfig; + } + public function setNotIn($notIn) + { + $this->notIn = $notIn; + } + public function getNotIn() + { + return $this->notIn; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php new file mode 100644 index 00000000..946dd856 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccount.php @@ -0,0 +1,84 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOauth2ClientId($oauth2ClientId) + { + $this->oauth2ClientId = $oauth2ClientId; + } + public function getOauth2ClientId() + { + return $this->oauth2ClientId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setUniqueId($uniqueId) + { + $this->uniqueId = $uniqueId; + } + public function getUniqueId() + { + return $this->uniqueId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php new file mode 100644 index 00000000..a65024e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/ServiceAccountKey.php @@ -0,0 +1,84 @@ +keyAlgorithm = $keyAlgorithm; + } + public function getKeyAlgorithm() + { + return $this->keyAlgorithm; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrivateKeyData($privateKeyData) + { + $this->privateKeyData = $privateKeyData; + } + public function getPrivateKeyData() + { + return $this->privateKeyData; + } + public function setPrivateKeyType($privateKeyType) + { + $this->privateKeyType = $privateKeyType; + } + public function getPrivateKeyType() + { + return $this->privateKeyType; + } + public function setPublicKeyData($publicKeyData) + { + $this->publicKeyData = $publicKeyData; + } + public function getPublicKeyData() + { + return $this->publicKeyData; + } + public function setValidAfterTime($validAfterTime) + { + $this->validAfterTime = $validAfterTime; + } + public function getValidAfterTime() + { + return $this->validAfterTime; + } + public function setValidBeforeTime($validBeforeTime) + { + $this->validBeforeTime = $validBeforeTime; + } + public function getValidBeforeTime() + { + return $this->validBeforeTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php new file mode 100644 index 00000000..179610b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SetIamPolicyRequest.php @@ -0,0 +1,31 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php new file mode 100644 index 00000000..aa1b76c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobRequest.php @@ -0,0 +1,30 @@ +bytesToSign = $bytesToSign; + } + public function getBytesToSign() + { + return $this->bytesToSign; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php new file mode 100644 index 00000000..0ae14b09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignBlobResponse.php @@ -0,0 +1,39 @@ +keyId = $keyId; + } + public function getKeyId() + { + return $this->keyId; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php new file mode 100644 index 00000000..933e4d7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtRequest.php @@ -0,0 +1,30 @@ +payload = $payload; + } + public function getPayload() + { + return $this->payload; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php new file mode 100644 index 00000000..81452db4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/SignJwtResponse.php @@ -0,0 +1,39 @@ +keyId = $keyId; + } + public function getKeyId() + { + return $this->keyId; + } + public function setSignedJwt($signedJwt) + { + $this->signedJwt = $signedJwt; + } + public function getSignedJwt() + { + return $this->signedJwt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php new file mode 100644 index 00000000..51680d13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php new file mode 100644 index 00000000..fd56c51e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Iam/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php new file mode 100644 index 00000000..a1fb0a62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit.php @@ -0,0 +1,143 @@ + + * Help the third party sites to implement federated login.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_IdentityToolkit extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and administer all your Firebase data and settings. */ + const FIREBASE = + "https://www.googleapis.com/auth/firebase"; + + public $relyingparty; + + /** + * Constructs the internal representation of the IdentityToolkit service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'identitytoolkit/v3/relyingparty/'; + $this->version = 'v3'; + $this->serviceName = 'identitytoolkit'; + + $this->relyingparty = new Google_Service_IdentityToolkit_Resource_Relyingparty( + $this, + $this->serviceName, + 'relyingparty', + array( + 'methods' => array( + 'createAuthUri' => array( + 'path' => 'createAuthUri', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'deleteAccount' => array( + 'path' => 'deleteAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'downloadAccount' => array( + 'path' => 'downloadAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getAccountInfo' => array( + 'path' => 'getAccountInfo', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getOobConfirmationCode' => array( + 'path' => 'getOobConfirmationCode', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getProjectConfig' => array( + 'path' => 'getProjectConfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'delegatedProjectNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPublicKeys' => array( + 'path' => 'publicKeys', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'getRecaptchaParam' => array( + 'path' => 'getRecaptchaParam', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'resetPassword' => array( + 'path' => 'resetPassword', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'setAccountInfo' => array( + 'path' => 'setAccountInfo', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'setProjectConfig' => array( + 'path' => 'setProjectConfig', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'signOutUser' => array( + 'path' => 'signOutUser', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'signupNewUser' => array( + 'path' => 'signupNewUser', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'uploadAccount' => array( + 'path' => 'uploadAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyAssertion' => array( + 'path' => 'verifyAssertion', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyCustomToken' => array( + 'path' => 'verifyCustomToken', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyPassword' => array( + 'path' => 'verifyPassword', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php new file mode 100644 index 00000000..8cc940bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/CreateAuthUriResponse.php @@ -0,0 +1,94 @@ +allProviders = $allProviders; + } + public function getAllProviders() + { + return $this->allProviders; + } + public function setAuthUri($authUri) + { + $this->authUri = $authUri; + } + public function getAuthUri() + { + return $this->authUri; + } + public function setCaptchaRequired($captchaRequired) + { + $this->captchaRequired = $captchaRequired; + } + public function getCaptchaRequired() + { + return $this->captchaRequired; + } + public function setForExistingProvider($forExistingProvider) + { + $this->forExistingProvider = $forExistingProvider; + } + public function getForExistingProvider() + { + return $this->forExistingProvider; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setRegistered($registered) + { + $this->registered = $registered; + } + public function getRegistered() + { + return $this->registered; + } + public function setSessionId($sessionId) + { + $this->sessionId = $sessionId; + } + public function getSessionId() + { + return $this->sessionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php new file mode 100644 index 00000000..62997d6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DeleteAccountResponse.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php new file mode 100644 index 00000000..4ea793f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/DownloadAccountResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php new file mode 100644 index 00000000..bc5f9b73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/EmailTemplate.php @@ -0,0 +1,75 @@ +body = $body; + } + public function getBody() + { + return $this->body; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setFrom($from) + { + $this->from = $from; + } + public function getFrom() + { + return $this->from; + } + public function setFromDisplayName($fromDisplayName) + { + $this->fromDisplayName = $fromDisplayName; + } + public function getFromDisplayName() + { + return $this->fromDisplayName; + } + public function setReplyTo($replyTo) + { + $this->replyTo = $replyTo; + } + public function getReplyTo() + { + return $this->replyTo; + } + public function setSubject($subject) + { + $this->subject = $subject; + } + public function getSubject() + { + return $this->subject; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php new file mode 100644 index 00000000..a9e647c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetAccountInfoResponse.php @@ -0,0 +1,41 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php new file mode 100644 index 00000000..1f5fc0f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetOobConfirmationCodeResponse.php @@ -0,0 +1,48 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php new file mode 100644 index 00000000..ae598afa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/GetRecaptchaParamResponse.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRecaptchaSiteKey($recaptchaSiteKey) + { + $this->recaptchaSiteKey = $recaptchaSiteKey; + } + public function getRecaptchaSiteKey() + { + return $this->recaptchaSiteKey; + } + public function setRecaptchaStoken($recaptchaStoken) + { + $this->recaptchaStoken = $recaptchaStoken; + } + public function getRecaptchaStoken() + { + return $this->recaptchaStoken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php new file mode 100644 index 00000000..801d638f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequest.php @@ -0,0 +1,147 @@ +appId = $appId; + } + public function getAppId() + { + return $this->appId; + } + public function setAuthFlowType($authFlowType) + { + $this->authFlowType = $authFlowType; + } + public function getAuthFlowType() + { + return $this->authFlowType; + } + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setContinueUri($continueUri) + { + $this->continueUri = $continueUri; + } + public function getContinueUri() + { + return $this->continueUri; + } + public function setCustomParameter($customParameter) + { + $this->customParameter = $customParameter; + } + public function getCustomParameter() + { + return $this->customParameter; + } + public function setHostedDomain($hostedDomain) + { + $this->hostedDomain = $hostedDomain; + } + public function getHostedDomain() + { + return $this->hostedDomain; + } + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setOauthConsumerKey($oauthConsumerKey) + { + $this->oauthConsumerKey = $oauthConsumerKey; + } + public function getOauthConsumerKey() + { + return $this->oauthConsumerKey; + } + public function setOauthScope($oauthScope) + { + $this->oauthScope = $oauthScope; + } + public function getOauthScope() + { + return $this->oauthScope; + } + public function setOpenidRealm($openidRealm) + { + $this->openidRealm = $openidRealm; + } + public function getOpenidRealm() + { + return $this->openidRealm; + } + public function setOtaApp($otaApp) + { + $this->otaApp = $otaApp; + } + public function getOtaApp() + { + return $this->otaApp; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setSessionId($sessionId) + { + $this->sessionId = $sessionId; + } + public function getSessionId() + { + return $this->sessionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php new file mode 100644 index 00000000..daf6a900 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyCreateAuthUriRequestCustomParameter.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php new file mode 100644 index 00000000..8a5cbc9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDeleteAccountRequest.php @@ -0,0 +1,48 @@ +delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php new file mode 100644 index 00000000..8f889d53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyDownloadAccountRequest.php @@ -0,0 +1,57 @@ +delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTargetProjectId($targetProjectId) + { + $this->targetProjectId = $targetProjectId; + } + public function getTargetProjectId() + { + return $this->targetProjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php new file mode 100644 index 00000000..30af08da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetAccountInfoRequest.php @@ -0,0 +1,58 @@ +delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php new file mode 100644 index 00000000..be15bc3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyGetProjectConfigResponse.php @@ -0,0 +1,135 @@ +allowPasswordUser = $allowPasswordUser; + } + public function getAllowPasswordUser() + { + return $this->allowPasswordUser; + } + public function setApiKey($apiKey) + { + $this->apiKey = $apiKey; + } + public function getApiKey() + { + return $this->apiKey; + } + public function setAuthorizedDomains($authorizedDomains) + { + $this->authorizedDomains = $authorizedDomains; + } + public function getAuthorizedDomains() + { + return $this->authorizedDomains; + } + public function setChangeEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $changeEmailTemplate) + { + $this->changeEmailTemplate = $changeEmailTemplate; + } + public function getChangeEmailTemplate() + { + return $this->changeEmailTemplate; + } + public function setDynamicLinksDomain($dynamicLinksDomain) + { + $this->dynamicLinksDomain = $dynamicLinksDomain; + } + public function getDynamicLinksDomain() + { + return $this->dynamicLinksDomain; + } + public function setEnableAnonymousUser($enableAnonymousUser) + { + $this->enableAnonymousUser = $enableAnonymousUser; + } + public function getEnableAnonymousUser() + { + return $this->enableAnonymousUser; + } + public function setIdpConfig($idpConfig) + { + $this->idpConfig = $idpConfig; + } + public function getIdpConfig() + { + return $this->idpConfig; + } + public function setLegacyResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $legacyResetPasswordTemplate) + { + $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate; + } + public function getLegacyResetPasswordTemplate() + { + return $this->legacyResetPasswordTemplate; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $resetPasswordTemplate) + { + $this->resetPasswordTemplate = $resetPasswordTemplate; + } + public function getResetPasswordTemplate() + { + return $this->resetPasswordTemplate; + } + public function setUseEmailSending($useEmailSending) + { + $this->useEmailSending = $useEmailSending; + } + public function getUseEmailSending() + { + return $this->useEmailSending; + } + public function setVerifyEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $verifyEmailTemplate) + { + $this->verifyEmailTemplate = $verifyEmailTemplate; + } + public function getVerifyEmailTemplate() + { + return $this->verifyEmailTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php new file mode 100644 index 00000000..e2a85f25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyResetPasswordRequest.php @@ -0,0 +1,57 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setNewPassword($newPassword) + { + $this->newPassword = $newPassword; + } + public function getNewPassword() + { + return $this->newPassword; + } + public function setOldPassword($oldPassword) + { + $this->oldPassword = $oldPassword; + } + public function getOldPassword() + { + return $this->oldPassword; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php new file mode 100644 index 00000000..45b0dcc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetAccountInfoRequest.php @@ -0,0 +1,211 @@ +captchaChallenge = $captchaChallenge; + } + public function getCaptchaChallenge() + { + return $this->captchaChallenge; + } + public function setCaptchaResponse($captchaResponse) + { + $this->captchaResponse = $captchaResponse; + } + public function getCaptchaResponse() + { + return $this->captchaResponse; + } + public function setCreatedAt($createdAt) + { + $this->createdAt = $createdAt; + } + public function getCreatedAt() + { + return $this->createdAt; + } + public function setDelegatedProjectNumber($delegatedProjectNumber) + { + $this->delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setDeleteAttribute($deleteAttribute) + { + $this->deleteAttribute = $deleteAttribute; + } + public function getDeleteAttribute() + { + return $this->deleteAttribute; + } + public function setDeleteProvider($deleteProvider) + { + $this->deleteProvider = $deleteProvider; + } + public function getDeleteProvider() + { + return $this->deleteProvider; + } + public function setDisableUser($disableUser) + { + $this->disableUser = $disableUser; + } + public function getDisableUser() + { + return $this->disableUser; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setLastLoginAt($lastLoginAt) + { + $this->lastLoginAt = $lastLoginAt; + } + public function getLastLoginAt() + { + return $this->lastLoginAt; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProvider($provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setReturnSecureToken($returnSecureToken) + { + $this->returnSecureToken = $returnSecureToken; + } + public function getReturnSecureToken() + { + return $this->returnSecureToken; + } + public function setUpgradeToFederatedLogin($upgradeToFederatedLogin) + { + $this->upgradeToFederatedLogin = $upgradeToFederatedLogin; + } + public function getUpgradeToFederatedLogin() + { + return $this->upgradeToFederatedLogin; + } + public function setValidSince($validSince) + { + $this->validSince = $validSince; + } + public function getValidSince() + { + return $this->validSince; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php new file mode 100644 index 00000000..9c004162 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigRequest.php @@ -0,0 +1,126 @@ +allowPasswordUser = $allowPasswordUser; + } + public function getAllowPasswordUser() + { + return $this->allowPasswordUser; + } + public function setApiKey($apiKey) + { + $this->apiKey = $apiKey; + } + public function getApiKey() + { + return $this->apiKey; + } + public function setAuthorizedDomains($authorizedDomains) + { + $this->authorizedDomains = $authorizedDomains; + } + public function getAuthorizedDomains() + { + return $this->authorizedDomains; + } + public function setChangeEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $changeEmailTemplate) + { + $this->changeEmailTemplate = $changeEmailTemplate; + } + public function getChangeEmailTemplate() + { + return $this->changeEmailTemplate; + } + public function setDelegatedProjectNumber($delegatedProjectNumber) + { + $this->delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setEnableAnonymousUser($enableAnonymousUser) + { + $this->enableAnonymousUser = $enableAnonymousUser; + } + public function getEnableAnonymousUser() + { + return $this->enableAnonymousUser; + } + public function setIdpConfig($idpConfig) + { + $this->idpConfig = $idpConfig; + } + public function getIdpConfig() + { + return $this->idpConfig; + } + public function setLegacyResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $legacyResetPasswordTemplate) + { + $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate; + } + public function getLegacyResetPasswordTemplate() + { + return $this->legacyResetPasswordTemplate; + } + public function setResetPasswordTemplate(Google_Service_IdentityToolkit_EmailTemplate $resetPasswordTemplate) + { + $this->resetPasswordTemplate = $resetPasswordTemplate; + } + public function getResetPasswordTemplate() + { + return $this->resetPasswordTemplate; + } + public function setUseEmailSending($useEmailSending) + { + $this->useEmailSending = $useEmailSending; + } + public function getUseEmailSending() + { + return $this->useEmailSending; + } + public function setVerifyEmailTemplate(Google_Service_IdentityToolkit_EmailTemplate $verifyEmailTemplate) + { + $this->verifyEmailTemplate = $verifyEmailTemplate; + } + public function getVerifyEmailTemplate() + { + return $this->verifyEmailTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php new file mode 100644 index 00000000..484a135f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySetProjectConfigResponse.php @@ -0,0 +1,30 @@ +projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php new file mode 100644 index 00000000..815aab58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserRequest.php @@ -0,0 +1,39 @@ +instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php new file mode 100644 index 00000000..28d32120 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignOutUserResponse.php @@ -0,0 +1,30 @@ +localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php new file mode 100644 index 00000000..45534b57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartySignupNewUserRequest.php @@ -0,0 +1,120 @@ +captchaChallenge = $captchaChallenge; + } + public function getCaptchaChallenge() + { + return $this->captchaChallenge; + } + public function setCaptchaResponse($captchaResponse) + { + $this->captchaResponse = $captchaResponse; + } + public function getCaptchaResponse() + { + return $this->captchaResponse; + } + public function setDisabled($disabled) + { + $this->disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php new file mode 100644 index 00000000..de963cda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyUploadAccountRequest.php @@ -0,0 +1,113 @@ +allowOverwrite = $allowOverwrite; + } + public function getAllowOverwrite() + { + return $this->allowOverwrite; + } + public function setDelegatedProjectNumber($delegatedProjectNumber) + { + $this->delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setHashAlgorithm($hashAlgorithm) + { + $this->hashAlgorithm = $hashAlgorithm; + } + public function getHashAlgorithm() + { + return $this->hashAlgorithm; + } + public function setMemoryCost($memoryCost) + { + $this->memoryCost = $memoryCost; + } + public function getMemoryCost() + { + return $this->memoryCost; + } + public function setRounds($rounds) + { + $this->rounds = $rounds; + } + public function getRounds() + { + return $this->rounds; + } + public function setSaltSeparator($saltSeparator) + { + $this->saltSeparator = $saltSeparator; + } + public function getSaltSeparator() + { + return $this->saltSeparator; + } + public function setSanityCheck($sanityCheck) + { + $this->sanityCheck = $sanityCheck; + } + public function getSanityCheck() + { + return $this->sanityCheck; + } + public function setSignerKey($signerKey) + { + $this->signerKey = $signerKey; + } + public function getSignerKey() + { + return $this->signerKey; + } + public function setTargetProjectId($targetProjectId) + { + $this->targetProjectId = $targetProjectId; + } + public function getTargetProjectId() + { + return $this->targetProjectId; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php new file mode 100644 index 00000000..d0841034 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyAssertionRequest.php @@ -0,0 +1,111 @@ +delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setPendingIdToken($pendingIdToken) + { + $this->pendingIdToken = $pendingIdToken; + } + public function getPendingIdToken() + { + return $this->pendingIdToken; + } + public function setPostBody($postBody) + { + $this->postBody = $postBody; + } + public function getPostBody() + { + return $this->postBody; + } + public function setRequestUri($requestUri) + { + $this->requestUri = $requestUri; + } + public function getRequestUri() + { + return $this->requestUri; + } + public function setReturnIdpCredential($returnIdpCredential) + { + $this->returnIdpCredential = $returnIdpCredential; + } + public function getReturnIdpCredential() + { + return $this->returnIdpCredential; + } + public function setReturnRefreshToken($returnRefreshToken) + { + $this->returnRefreshToken = $returnRefreshToken; + } + public function getReturnRefreshToken() + { + return $this->returnRefreshToken; + } + public function setReturnSecureToken($returnSecureToken) + { + $this->returnSecureToken = $returnSecureToken; + } + public function getReturnSecureToken() + { + return $this->returnSecureToken; + } + public function setSessionId($sessionId) + { + $this->sessionId = $sessionId; + } + public function getSessionId() + { + return $this->sessionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php new file mode 100644 index 00000000..f2fe712e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php @@ -0,0 +1,57 @@ +delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setReturnSecureToken($returnSecureToken) + { + $this->returnSecureToken = $returnSecureToken; + } + public function getReturnSecureToken() + { + return $this->returnSecureToken; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php new file mode 100644 index 00000000..7115a251 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdentitytoolkitRelyingpartyVerifyPasswordRequest.php @@ -0,0 +1,102 @@ +captchaChallenge = $captchaChallenge; + } + public function getCaptchaChallenge() + { + return $this->captchaChallenge; + } + public function setCaptchaResponse($captchaResponse) + { + $this->captchaResponse = $captchaResponse; + } + public function getCaptchaResponse() + { + return $this->captchaResponse; + } + public function setDelegatedProjectNumber($delegatedProjectNumber) + { + $this->delegatedProjectNumber = $delegatedProjectNumber; + } + public function getDelegatedProjectNumber() + { + return $this->delegatedProjectNumber; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPendingIdToken($pendingIdToken) + { + $this->pendingIdToken = $pendingIdToken; + } + public function getPendingIdToken() + { + return $this->pendingIdToken; + } + public function setReturnSecureToken($returnSecureToken) + { + $this->returnSecureToken = $returnSecureToken; + } + public function getReturnSecureToken() + { + return $this->returnSecureToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php new file mode 100644 index 00000000..ba4655af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/IdpConfig.php @@ -0,0 +1,76 @@ +clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setExperimentPercent($experimentPercent) + { + $this->experimentPercent = $experimentPercent; + } + public function getExperimentPercent() + { + return $this->experimentPercent; + } + public function setProvider($provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setSecret($secret) + { + $this->secret = $secret; + } + public function getSecret() + { + return $this->secret; + } + public function setWhitelistedAudiences($whitelistedAudiences) + { + $this->whitelistedAudiences = $whitelistedAudiences; + } + public function getWhitelistedAudiences() + { + return $this->whitelistedAudiences; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php new file mode 100644 index 00000000..19e2ecbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Relyingparty.php @@ -0,0 +1,93 @@ +captchaResp = $captchaResp; + } + public function getCaptchaResp() + { + return $this->captchaResp; + } + public function setChallenge($challenge) + { + $this->challenge = $challenge; + } + public function getChallenge() + { + return $this->challenge; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewEmail($newEmail) + { + $this->newEmail = $newEmail; + } + public function getNewEmail() + { + return $this->newEmail; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setUserIp($userIp) + { + $this->userIp = $userIp; + } + public function getUserIp() + { + return $this->userIp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php new file mode 100644 index 00000000..d2e30f0f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/ResetPasswordResponse.php @@ -0,0 +1,57 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewEmail($newEmail) + { + $this->newEmail = $newEmail; + } + public function getNewEmail() + { + return $this->newEmail; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php new file mode 100644 index 00000000..c6cd74db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/Resource/Relyingparty.php @@ -0,0 +1,252 @@ + + * $identitytoolkitService = new Google_Service_IdentityToolkit(...); + * $relyingparty = $identitytoolkitService->relyingparty; + * + */ +class Google_Service_IdentityToolkit_Resource_Relyingparty extends Google_Service_Resource +{ + /** + * Creates the URI used by the IdP to authenticate the user. + * (relyingparty.createAuthUri) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_CreateAuthUriResponse + */ + public function createAuthUri(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse"); + } + /** + * Delete user account. (relyingparty.deleteAccount) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_DeleteAccountResponse + */ + public function deleteAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse"); + } + /** + * Batch download user accounts. (relyingparty.downloadAccount) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_DownloadAccountResponse + */ + public function downloadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse"); + } + /** + * Returns the account info. (relyingparty.getAccountInfo) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetAccountInfoResponse + */ + public function getAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse"); + } + /** + * Get a code for user action confirmation. + * (relyingparty.getOobConfirmationCode) + * + * @param Google_Service_IdentityToolkit_Relyingparty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse + */ + public function getOobConfirmationCode(Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getOobConfirmationCode', array($params), "Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse"); + } + /** + * Get project configuration. (relyingparty.getProjectConfig) + * + * @param array $optParams Optional parameters. + * + * @opt_param string delegatedProjectNumber Delegated GCP project number of the + * request. + * @opt_param string projectNumber GCP project number of the request. + * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse + */ + public function getProjectConfig($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getProjectConfig', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse"); + } + /** + * Get token signing public key. (relyingparty.getPublicKeys) + * + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse + */ + public function getPublicKeys($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse"); + } + /** + * Get recaptcha secure param. (relyingparty.getRecaptchaParam) + * + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetRecaptchaParamResponse + */ + public function getRecaptchaParam($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getRecaptchaParam', array($params), "Google_Service_IdentityToolkit_GetRecaptchaParamResponse"); + } + /** + * Reset password for a user. (relyingparty.resetPassword) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_ResetPasswordResponse + */ + public function resetPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetPassword', array($params), "Google_Service_IdentityToolkit_ResetPasswordResponse"); + } + /** + * Set account info for a user. (relyingparty.setAccountInfo) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_SetAccountInfoResponse + */ + public function setAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAccountInfo', array($params), "Google_Service_IdentityToolkit_SetAccountInfoResponse"); + } + /** + * Set project configuration. (relyingparty.setProjectConfig) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigResponse + */ + public function setProjectConfig(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setProjectConfig', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigResponse"); + } + /** + * Sign out user. (relyingparty.signOutUser) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserResponse + */ + public function signOutUser(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('signOutUser', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignOutUserResponse"); + } + /** + * Signup new user. (relyingparty.signupNewUser) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignupNewUserRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_SignupNewUserResponse + */ + public function signupNewUser(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySignupNewUserRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('signupNewUser', array($params), "Google_Service_IdentityToolkit_SignupNewUserResponse"); + } + /** + * Batch upload existing user accounts. (relyingparty.uploadAccount) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_UploadAccountResponse + */ + public function uploadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('uploadAccount', array($params), "Google_Service_IdentityToolkit_UploadAccountResponse"); + } + /** + * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_VerifyAssertionResponse + */ + public function verifyAssertion(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyAssertion', array($params), "Google_Service_IdentityToolkit_VerifyAssertionResponse"); + } + /** + * Verifies the developer asserted ID token. (relyingparty.verifyCustomToken) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyCustomTokenRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_VerifyCustomTokenResponse + */ + public function verifyCustomToken(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyCustomTokenRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyCustomToken', array($params), "Google_Service_IdentityToolkit_VerifyCustomTokenResponse"); + } + /** + * Verifies the user entered password. (relyingparty.verifyPassword) + * + * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_VerifyPasswordResponse + */ + public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyPassword', array($params), "Google_Service_IdentityToolkit_VerifyPasswordResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php new file mode 100644 index 00000000..3500c609 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponse.php @@ -0,0 +1,131 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setNewEmail($newEmail) + { + $this->newEmail = $newEmail; + } + public function getNewEmail() + { + return $this->newEmail; + } + public function setPasswordHash($passwordHash) + { + $this->passwordHash = $passwordHash; + } + public function getPasswordHash() + { + return $this->passwordHash; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderUserInfo($providerUserInfo) + { + $this->providerUserInfo = $providerUserInfo; + } + public function getProviderUserInfo() + { + return $this->providerUserInfo; + } + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + public function getRefreshToken() + { + return $this->refreshToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php new file mode 100644 index 00000000..9b4a7bd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SetAccountInfoResponseProviderUserInfo.php @@ -0,0 +1,57 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setFederatedId($federatedId) + { + $this->federatedId = $federatedId; + } + public function getFederatedId() + { + return $this->federatedId; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php new file mode 100644 index 00000000..8517a66a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/SignupNewUserResponse.php @@ -0,0 +1,84 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + public function getRefreshToken() + { + return $this->refreshToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php new file mode 100644 index 00000000..d125c05a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponse.php @@ -0,0 +1,41 @@ +error = $error; + } + public function getError() + { + return $this->error; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php new file mode 100644 index 00000000..f3c4ed27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UploadAccountResponseError.php @@ -0,0 +1,39 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php new file mode 100644 index 00000000..056ec9fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfo.php @@ -0,0 +1,176 @@ +createdAt = $createdAt; + } + public function getCreatedAt() + { + return $this->createdAt; + } + public function setCustomAuth($customAuth) + { + $this->customAuth = $customAuth; + } + public function getCustomAuth() + { + return $this->customAuth; + } + public function setDisabled($disabled) + { + $this->disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setLastLoginAt($lastLoginAt) + { + $this->lastLoginAt = $lastLoginAt; + } + public function getLastLoginAt() + { + return $this->lastLoginAt; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setPasswordHash($passwordHash) + { + $this->passwordHash = $passwordHash; + } + public function getPasswordHash() + { + return $this->passwordHash; + } + public function setPasswordUpdatedAt($passwordUpdatedAt) + { + $this->passwordUpdatedAt = $passwordUpdatedAt; + } + public function getPasswordUpdatedAt() + { + return $this->passwordUpdatedAt; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderUserInfo($providerUserInfo) + { + $this->providerUserInfo = $providerUserInfo; + } + public function getProviderUserInfo() + { + return $this->providerUserInfo; + } + public function setRawPassword($rawPassword) + { + $this->rawPassword = $rawPassword; + } + public function getRawPassword() + { + return $this->rawPassword; + } + public function setSalt($salt) + { + $this->salt = $salt; + } + public function getSalt() + { + return $this->salt; + } + public function setScreenName($screenName) + { + $this->screenName = $screenName; + } + public function getScreenName() + { + return $this->screenName; + } + public function setValidSince($validSince) + { + $this->validSince = $validSince; + } + public function getValidSince() + { + return $this->validSince; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php new file mode 100644 index 00000000..cf333f8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/UserInfoProviderUserInfo.php @@ -0,0 +1,84 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFederatedId($federatedId) + { + $this->federatedId = $federatedId; + } + public function getFederatedId() + { + return $this->federatedId; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setRawId($rawId) + { + $this->rawId = $rawId; + } + public function getRawId() + { + return $this->rawId; + } + public function setScreenName($screenName) + { + $this->screenName = $screenName; + } + public function getScreenName() + { + return $this->screenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php new file mode 100644 index 00000000..bb3fbfb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyAssertionResponse.php @@ -0,0 +1,373 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setAppInstallationUrl($appInstallationUrl) + { + $this->appInstallationUrl = $appInstallationUrl; + } + public function getAppInstallationUrl() + { + return $this->appInstallationUrl; + } + public function setAppScheme($appScheme) + { + $this->appScheme = $appScheme; + } + public function getAppScheme() + { + return $this->appScheme; + } + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setDateOfBirth($dateOfBirth) + { + $this->dateOfBirth = $dateOfBirth; + } + public function getDateOfBirth() + { + return $this->dateOfBirth; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailRecycled($emailRecycled) + { + $this->emailRecycled = $emailRecycled; + } + public function getEmailRecycled() + { + return $this->emailRecycled; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setErrorMessage($errorMessage) + { + $this->errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setFederatedId($federatedId) + { + $this->federatedId = $federatedId; + } + public function getFederatedId() + { + return $this->federatedId; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInputEmail($inputEmail) + { + $this->inputEmail = $inputEmail; + } + public function getInputEmail() + { + return $this->inputEmail; + } + public function setIsNewUser($isNewUser) + { + $this->isNewUser = $isNewUser; + } + public function getIsNewUser() + { + return $this->isNewUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setNeedConfirmation($needConfirmation) + { + $this->needConfirmation = $needConfirmation; + } + public function getNeedConfirmation() + { + return $this->needConfirmation; + } + public function setNeedEmail($needEmail) + { + $this->needEmail = $needEmail; + } + public function getNeedEmail() + { + return $this->needEmail; + } + public function setNickName($nickName) + { + $this->nickName = $nickName; + } + public function getNickName() + { + return $this->nickName; + } + public function setOauthAccessToken($oauthAccessToken) + { + $this->oauthAccessToken = $oauthAccessToken; + } + public function getOauthAccessToken() + { + return $this->oauthAccessToken; + } + public function setOauthAuthorizationCode($oauthAuthorizationCode) + { + $this->oauthAuthorizationCode = $oauthAuthorizationCode; + } + public function getOauthAuthorizationCode() + { + return $this->oauthAuthorizationCode; + } + public function setOauthExpireIn($oauthExpireIn) + { + $this->oauthExpireIn = $oauthExpireIn; + } + public function getOauthExpireIn() + { + return $this->oauthExpireIn; + } + public function setOauthIdToken($oauthIdToken) + { + $this->oauthIdToken = $oauthIdToken; + } + public function getOauthIdToken() + { + return $this->oauthIdToken; + } + public function setOauthRequestToken($oauthRequestToken) + { + $this->oauthRequestToken = $oauthRequestToken; + } + public function getOauthRequestToken() + { + return $this->oauthRequestToken; + } + public function setOauthScope($oauthScope) + { + $this->oauthScope = $oauthScope; + } + public function getOauthScope() + { + return $this->oauthScope; + } + public function setOauthTokenSecret($oauthTokenSecret) + { + $this->oauthTokenSecret = $oauthTokenSecret; + } + public function getOauthTokenSecret() + { + return $this->oauthTokenSecret; + } + public function setOriginalEmail($originalEmail) + { + $this->originalEmail = $originalEmail; + } + public function getOriginalEmail() + { + return $this->originalEmail; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setRawUserInfo($rawUserInfo) + { + $this->rawUserInfo = $rawUserInfo; + } + public function getRawUserInfo() + { + return $this->rawUserInfo; + } + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + public function getRefreshToken() + { + return $this->refreshToken; + } + public function setScreenName($screenName) + { + $this->screenName = $screenName; + } + public function getScreenName() + { + return $this->screenName; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setVerifiedProvider($verifiedProvider) + { + $this->verifiedProvider = $verifiedProvider; + } + public function getVerifiedProvider() + { + return $this->verifiedProvider; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php new file mode 100644 index 00000000..046b1bae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyCustomTokenResponse.php @@ -0,0 +1,57 @@ +expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + public function getRefreshToken() + { + return $this->refreshToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php new file mode 100644 index 00000000..852a0b94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/IdentityToolkit/VerifyPasswordResponse.php @@ -0,0 +1,129 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setOauthAccessToken($oauthAccessToken) + { + $this->oauthAccessToken = $oauthAccessToken; + } + public function getOauthAccessToken() + { + return $this->oauthAccessToken; + } + public function setOauthAuthorizationCode($oauthAuthorizationCode) + { + $this->oauthAuthorizationCode = $oauthAuthorizationCode; + } + public function getOauthAuthorizationCode() + { + return $this->oauthAuthorizationCode; + } + public function setOauthExpireIn($oauthExpireIn) + { + $this->oauthExpireIn = $oauthExpireIn; + } + public function getOauthExpireIn() + { + return $this->oauthExpireIn; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + public function getRefreshToken() + { + return $this->refreshToken; + } + public function setRegistered($registered) + { + $this->registered = $registered; + } + public function getRegistered() + { + return $this->registered; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php new file mode 100644 index 00000000..6234175a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch.php @@ -0,0 +1,97 @@ + + * Searches the Google Knowledge Graph for entities.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Kgsearch extends Google_Service +{ + + + public $entities; + + /** + * Constructs the internal representation of the Kgsearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://kgsearch.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'kgsearch'; + + $this->entities = new Google_Service_Kgsearch_Resource_Entities( + $this, + $this->serviceName, + 'entities', + array( + 'methods' => array( + 'search' => array( + 'path' => 'v1/entities:search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'types' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'indent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'languages' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php new file mode 100644 index 00000000..f236faef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/Resource/Entities.php @@ -0,0 +1,56 @@ + + * $kgsearchService = new Google_Service_Kgsearch(...); + * $entities = $kgsearchService->entities; + * + */ +class Google_Service_Kgsearch_Resource_Entities extends Google_Service_Resource +{ + /** + * Searches Knowledge Graph for entities that match the constraints. A list of + * matched entities will be returned in response, which will be in JSON-LD + * format and compatible with http://schema.org (entities.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string types Restricts returned entities with these types, e.g. + * Person (as defined in http://schema.org/Person). If multiple types are + * specified, returned entities will contain one or more of these types. + * @opt_param bool indent Enables indenting of json results. + * @opt_param string languages The list of language codes (defined in ISO 693) + * to run the query with, e.g. 'en'. + * @opt_param string ids The list of entity id to be used for search instead of + * query string. To specify multiple ids in the HTTP request, repeat the + * parameter in the URL as in ...?ids=A=B + * @opt_param int limit Limits the number of entities to be returned. + * @opt_param bool prefix Enables prefix match against names and aliases of + * entities + * @opt_param string query The literal query string for search. + * @return Google_Service_Kgsearch_SearchResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Kgsearch_SearchResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php new file mode 100644 index 00000000..50df00da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Kgsearch/SearchResponse.php @@ -0,0 +1,53 @@ + "@context", + "type" => "@type", + ); + public $context; + public $type; + public $itemListElement; + + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setItemListElement($itemListElement) + { + $this->itemListElement = $itemListElement; + } + public function getItemListElement() + { + return $this->itemListElement; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php new file mode 100644 index 00000000..185d261a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing.php @@ -0,0 +1,209 @@ + + * Views and manages licenses for your domain.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Licensing extends Google_Service +{ + /** View and manage G Suite licenses for your domain. */ + const APPS_LICENSING = + "https://www.googleapis.com/auth/apps.licensing"; + + public $licenseAssignments; + + /** + * Constructs the internal representation of the Licensing service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'apps/licensing/v1/product/'; + $this->version = 'v1'; + $this->serviceName = 'licensing'; + + $this->licenseAssignments = new Google_Service_Licensing_Resource_LicenseAssignments( + $this, + $this->serviceName, + 'licenseAssignments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{productId}/sku/{skuId}/user', + 'httpMethod' => 'POST', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'listForProduct' => array( + 'path' => '{productId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listForProductAndSku' => array( + 'path' => '{productId}/sku/{skuId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php new file mode 100644 index 00000000..af379726 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignment.php @@ -0,0 +1,93 @@ +etags = $etags; + } + public function getEtags() + { + return $this->etags; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductName($productName) + { + $this->productName = $productName; + } + public function getProductName() + { + return $this->productName; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSkuId($skuId) + { + $this->skuId = $skuId; + } + public function getSkuId() + { + return $this->skuId; + } + public function setSkuName($skuName) + { + $this->skuName = $skuName; + } + public function getSkuName() + { + return $this->skuName; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php new file mode 100644 index 00000000..cad54f06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentInsert.php @@ -0,0 +1,30 @@ +userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php new file mode 100644 index 00000000..5ba88e52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/LicenseAssignmentList.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php new file mode 100644 index 00000000..70350d7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Licensing/Resource/LicenseAssignments.php @@ -0,0 +1,149 @@ + + * $licensingService = new Google_Service_Licensing(...); + * $licenseAssignments = $licensingService->licenseAssignments; + * + */ +class Google_Service_Licensing_Resource_LicenseAssignments extends Google_Service_Resource +{ + /** + * Revoke License. (licenseAssignments.delete) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $userId email id or unique Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($productId, $skuId, $userId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get license assignment of a particular product and sku for a user + * (licenseAssignments.get) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $userId email id or unique Id of the user + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function get($productId, $skuId, $userId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + /** + * Assign License. (licenseAssignments.insert) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param Google_Service_Licensing_LicenseAssignmentInsert $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function insert($productId, $skuId, Google_Service_Licensing_LicenseAssignmentInsert $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + /** + * List license assignments for given product of the customer. + * (licenseAssignments.listForProduct) + * + * @param string $productId Name for product + * @param string $customerId CustomerId represents the customer for whom + * licenseassignments are queried + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of campaigns to return at one + * time. Must be positive. Optional. Default value is 100. + * @opt_param string pageToken Token to fetch the next page.Optional. By default + * server will return first page + * @return Google_Service_Licensing_LicenseAssignmentList + */ + public function listForProduct($productId, $customerId, $optParams = array()) + { + $params = array('productId' => $productId, 'customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('listForProduct', array($params), "Google_Service_Licensing_LicenseAssignmentList"); + } + /** + * List license assignments for given product and sku of the customer. + * (licenseAssignments.listForProductAndSku) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $customerId CustomerId represents the customer for whom + * licenseassignments are queried + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of campaigns to return at one + * time. Must be positive. Optional. Default value is 100. + * @opt_param string pageToken Token to fetch the next page.Optional. By default + * server will return first page + * @return Google_Service_Licensing_LicenseAssignmentList + */ + public function listForProductAndSku($productId, $skuId, $customerId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('listForProductAndSku', array($params), "Google_Service_Licensing_LicenseAssignmentList"); + } + /** + * Assign License. This method supports patch semantics. + * (licenseAssignments.patch) + * + * @param string $productId Name for product + * @param string $skuId Name for sku for which license would be revoked + * @param string $userId email id or unique Id of the user + * @param Google_Service_Licensing_LicenseAssignment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function patch($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + /** + * Assign License. (licenseAssignments.update) + * + * @param string $productId Name for product + * @param string $skuId Name for sku for which license would be revoked + * @param string $userId email id or unique Id of the user + * @param Google_Service_Licensing_LicenseAssignment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function update($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Licensing_LicenseAssignment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php new file mode 100644 index 00000000..92e9d14a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging.php @@ -0,0 +1,640 @@ + + * Writes log entries and manages your Stackdriver Logging configuration.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Logging extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Administrate log data for your projects. */ + const LOGGING_ADMIN = + "https://www.googleapis.com/auth/logging.admin"; + /** View log data for your projects. */ + const LOGGING_READ = + "https://www.googleapis.com/auth/logging.read"; + /** Submit log data for your projects. */ + const LOGGING_WRITE = + "https://www.googleapis.com/auth/logging.write"; + + public $billingAccounts_logs; + public $billingAccounts_sinks; + public $entries; + public $folders_logs; + public $folders_sinks; + public $monitoredResourceDescriptors; + public $organizations_logs; + public $organizations_sinks; + public $projects_logs; + public $projects_metrics; + public $projects_sinks; + + /** + * Constructs the internal representation of the Logging service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://logging.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'logging'; + + $this->billingAccounts_logs = new Google_Service_Logging_Resource_BillingAccountsLogs( + $this, + $this->serviceName, + 'logs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/{+logName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'logName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/logs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->billingAccounts_sinks = new Google_Service_Logging_Resource_BillingAccountsSinks( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->entries = new Google_Service_Logging_Resource_Entries( + $this, + $this->serviceName, + 'entries', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/entries:list', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'write' => array( + 'path' => 'v2/entries:write', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->folders_logs = new Google_Service_Logging_Resource_FoldersLogs( + $this, + $this->serviceName, + 'logs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/{+logName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'logName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/logs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->folders_sinks = new Google_Service_Logging_Resource_FoldersSinks( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->monitoredResourceDescriptors = new Google_Service_Logging_Resource_MonitoredResourceDescriptors( + $this, + $this->serviceName, + 'monitoredResourceDescriptors', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/monitoredResourceDescriptors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->organizations_logs = new Google_Service_Logging_Resource_OrganizationsLogs( + $this, + $this->serviceName, + 'logs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/{+logName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'logName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/logs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->organizations_sinks = new Google_Service_Logging_Resource_OrganizationsSinks( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->projects_logs = new Google_Service_Logging_Resource_ProjectsLogs( + $this, + $this->serviceName, + 'logs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/{+logName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'logName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/logs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_metrics = new Google_Service_Logging_Resource_ProjectsMetrics( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/{+parent}/metrics', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v2/{+metricName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'metricName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/{+metricName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'metricName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2/{+metricName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'metricName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_sinks = new Google_Service_Logging_Resource_ProjectsSinks( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/{+parent}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v2/{+sinkName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'sinkName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uniqueWriterIdentity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php new file mode 100644 index 00000000..cb0962c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/HttpRequest.php @@ -0,0 +1,147 @@ +cacheFillBytes = $cacheFillBytes; + } + public function getCacheFillBytes() + { + return $this->cacheFillBytes; + } + public function setCacheHit($cacheHit) + { + $this->cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setCacheLookup($cacheLookup) + { + $this->cacheLookup = $cacheLookup; + } + public function getCacheLookup() + { + return $this->cacheLookup; + } + public function setCacheValidatedWithOriginServer($cacheValidatedWithOriginServer) + { + $this->cacheValidatedWithOriginServer = $cacheValidatedWithOriginServer; + } + public function getCacheValidatedWithOriginServer() + { + return $this->cacheValidatedWithOriginServer; + } + public function setLatency($latency) + { + $this->latency = $latency; + } + public function getLatency() + { + return $this->latency; + } + public function setReferer($referer) + { + $this->referer = $referer; + } + public function getReferer() + { + return $this->referer; + } + public function setRemoteIp($remoteIp) + { + $this->remoteIp = $remoteIp; + } + public function getRemoteIp() + { + return $this->remoteIp; + } + public function setRequestMethod($requestMethod) + { + $this->requestMethod = $requestMethod; + } + public function getRequestMethod() + { + return $this->requestMethod; + } + public function setRequestSize($requestSize) + { + $this->requestSize = $requestSize; + } + public function getRequestSize() + { + return $this->requestSize; + } + public function setRequestUrl($requestUrl) + { + $this->requestUrl = $requestUrl; + } + public function getRequestUrl() + { + return $this->requestUrl; + } + public function setResponseSize($responseSize) + { + $this->responseSize = $responseSize; + } + public function getResponseSize() + { + return $this->responseSize; + } + public function setServerIp($serverIp) + { + $this->serverIp = $serverIp; + } + public function getServerIp() + { + return $this->serverIp; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php new file mode 100644 index 00000000..0aa9de13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LabelDescriptor.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php new file mode 100644 index 00000000..3cd2612d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesRequest.php @@ -0,0 +1,76 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setOrderBy($orderBy) + { + $this->orderBy = $orderBy; + } + public function getOrderBy() + { + return $this->orderBy; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setProjectIds($projectIds) + { + $this->projectIds = $projectIds; + } + public function getProjectIds() + { + return $this->projectIds; + } + public function setResourceNames($resourceNames) + { + $this->resourceNames = $resourceNames; + } + public function getResourceNames() + { + return $this->resourceNames; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php new file mode 100644 index 00000000..15e9ff5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogEntriesResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php new file mode 100644 index 00000000..44b32d47 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogMetricsResponse.php @@ -0,0 +1,41 @@ +metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php new file mode 100644 index 00000000..13447c36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListLogsResponse.php @@ -0,0 +1,40 @@ +logNames = $logNames; + } + public function getLogNames() + { + return $this->logNames; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php new file mode 100644 index 00000000..0c542a22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListMonitoredResourceDescriptorsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResourceDescriptors($resourceDescriptors) + { + $this->resourceDescriptors = $resourceDescriptors; + } + public function getResourceDescriptors() + { + return $this->resourceDescriptors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php new file mode 100644 index 00000000..80d72d83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/ListSinksResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSinks($sinks) + { + $this->sinks = $sinks; + } + public function getSinks() + { + return $this->sinks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php new file mode 100644 index 00000000..8d92b5ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntry.php @@ -0,0 +1,142 @@ +httpRequest = $httpRequest; + } + public function getHttpRequest() + { + return $this->httpRequest; + } + public function setInsertId($insertId) + { + $this->insertId = $insertId; + } + public function getInsertId() + { + return $this->insertId; + } + public function setJsonPayload($jsonPayload) + { + $this->jsonPayload = $jsonPayload; + } + public function getJsonPayload() + { + return $this->jsonPayload; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLogName($logName) + { + $this->logName = $logName; + } + public function getLogName() + { + return $this->logName; + } + public function setOperation(Google_Service_Logging_LogEntryOperation $operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setProtoPayload($protoPayload) + { + $this->protoPayload = $protoPayload; + } + public function getProtoPayload() + { + return $this->protoPayload; + } + public function setResource(Google_Service_Logging_MonitoredResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSourceLocation(Google_Service_Logging_LogEntrySourceLocation $sourceLocation) + { + $this->sourceLocation = $sourceLocation; + } + public function getSourceLocation() + { + return $this->sourceLocation; + } + public function setTextPayload($textPayload) + { + $this->textPayload = $textPayload; + } + public function getTextPayload() + { + return $this->textPayload; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setTrace($trace) + { + $this->trace = $trace; + } + public function getTrace() + { + return $this->trace; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php new file mode 100644 index 00000000..53879c17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntryOperation.php @@ -0,0 +1,57 @@ +first = $first; + } + public function getFirst() + { + return $this->first; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLast($last) + { + $this->last = $last; + } + public function getLast() + { + return $this->last; + } + public function setProducer($producer) + { + $this->producer = $producer; + } + public function getProducer() + { + return $this->producer; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php new file mode 100644 index 00000000..fa8f01ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogEntrySourceLocation.php @@ -0,0 +1,48 @@ +file = $file; + } + public function getFile() + { + return $this->file; + } + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php new file mode 100644 index 00000000..3b37e402 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogLine.php @@ -0,0 +1,58 @@ +logMessage = $logMessage; + } + public function getLogMessage() + { + return $this->logMessage; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSourceLocation(Google_Service_Logging_SourceLocation $sourceLocation) + { + $this->sourceLocation = $sourceLocation; + } + public function getSourceLocation() + { + return $this->sourceLocation; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php new file mode 100644 index 00000000..42213432 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogMetric.php @@ -0,0 +1,57 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php new file mode 100644 index 00000000..2beb19da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LogSink.php @@ -0,0 +1,84 @@ +destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputVersionFormat($outputVersionFormat) + { + $this->outputVersionFormat = $outputVersionFormat; + } + public function getOutputVersionFormat() + { + return $this->outputVersionFormat; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setWriterIdentity($writerIdentity) + { + $this->writerIdentity = $writerIdentity; + } + public function getWriterIdentity() + { + return $this->writerIdentity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php new file mode 100644 index 00000000..e74cf7f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/LoggingEmpty.php @@ -0,0 +1,20 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php new file mode 100644 index 00000000..e3df9370 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceDescriptor.php @@ -0,0 +1,68 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php new file mode 100644 index 00000000..e9cbdd6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/RequestLog.php @@ -0,0 +1,312 @@ +appEngineRelease = $appEngineRelease; + } + public function getAppEngineRelease() + { + return $this->appEngineRelease; + } + public function setAppId($appId) + { + $this->appId = $appId; + } + public function getAppId() + { + return $this->appId; + } + public function setCost($cost) + { + $this->cost = $cost; + } + public function getCost() + { + return $this->cost; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setFinished($finished) + { + $this->finished = $finished; + } + public function getFinished() + { + return $this->finished; + } + public function setFirst($first) + { + $this->first = $first; + } + public function getFirst() + { + return $this->first; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setHttpVersion($httpVersion) + { + $this->httpVersion = $httpVersion; + } + public function getHttpVersion() + { + return $this->httpVersion; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setInstanceIndex($instanceIndex) + { + $this->instanceIndex = $instanceIndex; + } + public function getInstanceIndex() + { + return $this->instanceIndex; + } + public function setIp($ip) + { + $this->ip = $ip; + } + public function getIp() + { + return $this->ip; + } + public function setLatency($latency) + { + $this->latency = $latency; + } + public function getLatency() + { + return $this->latency; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } + public function setMegaCycles($megaCycles) + { + $this->megaCycles = $megaCycles; + } + public function getMegaCycles() + { + return $this->megaCycles; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setModuleId($moduleId) + { + $this->moduleId = $moduleId; + } + public function getModuleId() + { + return $this->moduleId; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setPendingTime($pendingTime) + { + $this->pendingTime = $pendingTime; + } + public function getPendingTime() + { + return $this->pendingTime; + } + public function setReferrer($referrer) + { + $this->referrer = $referrer; + } + public function getReferrer() + { + return $this->referrer; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setResponseSize($responseSize) + { + $this->responseSize = $responseSize; + } + public function getResponseSize() + { + return $this->responseSize; + } + public function setSourceReference($sourceReference) + { + $this->sourceReference = $sourceReference; + } + public function getSourceReference() + { + return $this->sourceReference; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTaskName($taskName) + { + $this->taskName = $taskName; + } + public function getTaskName() + { + return $this->taskName; + } + public function setTaskQueueName($taskQueueName) + { + $this->taskQueueName = $taskQueueName; + } + public function getTaskQueueName() + { + return $this->taskQueueName; + } + public function setTraceId($traceId) + { + $this->traceId = $traceId; + } + public function getTraceId() + { + return $this->traceId; + } + public function setUrlMapEntry($urlMapEntry) + { + $this->urlMapEntry = $urlMapEntry; + } + public function getUrlMapEntry() + { + return $this->urlMapEntry; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setVersionId($versionId) + { + $this->versionId = $versionId; + } + public function getVersionId() + { + return $this->versionId; + } + public function setWasLoadingRequest($wasLoadingRequest) + { + $this->wasLoadingRequest = $wasLoadingRequest; + } + public function getWasLoadingRequest() + { + return $this->wasLoadingRequest; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php new file mode 100644 index 00000000..9a3d49ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccounts.php @@ -0,0 +1,28 @@ + + * $loggingService = new Google_Service_Logging(...); + * $billingAccounts = $loggingService->billingAccounts; + * + */ +class Google_Service_Logging_Resource_BillingAccounts extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php new file mode 100644 index 00000000..90105a79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsLogs.php @@ -0,0 +1,74 @@ + + * $loggingService = new Google_Service_Logging(...); + * $logs = $loggingService->logs; + * + */ +class Google_Service_Logging_Resource_BillingAccountsLogs extends Google_Service_Resource +{ + /** + * Deletes all the log entries in a log. The log reappears if it receives new + * entries. Log entries written shortly before the delete operation might not be + * deleted. (logs.delete) + * + * @param string $logName Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For + * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs + * /cloudresourcemanager.googleapis.com%2Factivity". For more information about + * log names, see LogEntry. + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($logName, $optParams = array()) + { + $params = array('logName' => $logName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Lists the logs in projects, organizations, folders, or billing accounts. Only + * logs that have entries are listed. (logs.listBillingAccountsLogs) + * + * @param string $parent Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListLogsResponse + */ + public function listBillingAccountsLogs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php new file mode 100644 index 00000000..a2bf7980 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsSinks.php @@ -0,0 +1,155 @@ + + * $loggingService = new Google_Service_Logging(...); + * $sinks = $loggingService->sinks; + * + */ +class Google_Service_Logging_Resource_BillingAccountsSinks extends Google_Service_Resource +{ + /** + * Creates a sink that exports specified log entries to a destination. The + * export of newly-ingested log entries begins immediately, unless the current + * time is outside the sink's start and end times or the sink's writer_identity + * is not permitted to write to the destination. A sink can export log entries + * only from the resource owning the sink. (sinks.create) + * + * @param string $parent Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: + * "projects/my-logging-project", "organizations/123456789". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM + * identity returned as writer_identity in the new sink. If this value is + * omitted or set to false, and if the sink's parent is a project, then the + * value returned as writer_identity is the same group or service account used + * by Stackdriver Logging before the addition of writer identities to this API. + * The sink's destination must be in the same project as the sink itself.If this + * field is set to true, or if the sink is owned by a non-project resource such + * as an organization, then the value of writer_identity will be a unique + * service account used only for exports from the new sink. For more + * information, see writer_identity in LogSink. + * @return Google_Service_Logging_LogSink + */ + public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Deletes a sink. If the sink has a unique writer_identity, then that service + * account is also deleted. (sinks.delete) + * + * @param string $sinkName Required. The full resource name of the sink to + * delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Gets a sink. (sinks.get) + * + * @param string $sinkName Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogSink + */ + public function get($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Lists sinks. (sinks.listBillingAccountsSinks) + * + * @param string $parent Required. The parent resource whose sinks are to be + * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListSinksResponse + */ + public function listBillingAccountsSinks($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse"); + } + /** + * Updates a sink. If the named sink doesn't exist, then this method is + * identical to sinks.create. If the named sink does exist, then this method + * replaces the following fields in the existing sink with values from the new + * sink: destination, filter, output_version_format, start_time, and end_time. + * The updated filter might also have a new writer_identity; see the + * unique_writer_identity field. (sinks.update) + * + * @param string $sinkName Required. The full resource name of the sink to + * update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a + * description of this field. When updating a sink, the effect of this field on + * the value of writer_identity in the updated sink depends on both the old and + * new values of this field: If the old and new values of this field are both + * false or both true, then there is no change to the sink's writer_identity. If + * the old value is false and the new value is true, then writer_identity is + * changed to a unique service account. It is an error if the old value is true + * and the new value is false. + * @return Google_Service_Logging_LogSink + */ + public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('sinkName' => $sinkName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Logging_LogSink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php new file mode 100644 index 00000000..f7984800 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Entries.php @@ -0,0 +1,56 @@ + + * $loggingService = new Google_Service_Logging(...); + * $entries = $loggingService->entries; + * + */ +class Google_Service_Logging_Resource_Entries extends Google_Service_Resource +{ + /** + * Lists log entries. Use this method to retrieve log entries from Stackdriver + * Logging. For ways to export log entries, see Exporting Logs. + * (entries.listEntries) + * + * @param Google_Service_Logging_ListLogEntriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_ListLogEntriesResponse + */ + public function listEntries(Google_Service_Logging_ListLogEntriesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogEntriesResponse"); + } + /** + * Writes log entries to Stackdriver Logging. (entries.write) + * + * @param Google_Service_Logging_WriteLogEntriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_WriteLogEntriesResponse + */ + public function write(Google_Service_Logging_WriteLogEntriesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('write', array($params), "Google_Service_Logging_WriteLogEntriesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php new file mode 100644 index 00000000..e0949582 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Folders.php @@ -0,0 +1,28 @@ + + * $loggingService = new Google_Service_Logging(...); + * $folders = $loggingService->folders; + * + */ +class Google_Service_Logging_Resource_Folders extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php new file mode 100644 index 00000000..2687daba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersLogs.php @@ -0,0 +1,74 @@ + + * $loggingService = new Google_Service_Logging(...); + * $logs = $loggingService->logs; + * + */ +class Google_Service_Logging_Resource_FoldersLogs extends Google_Service_Resource +{ + /** + * Deletes all the log entries in a log. The log reappears if it receives new + * entries. Log entries written shortly before the delete operation might not be + * deleted. (logs.delete) + * + * @param string $logName Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For + * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs + * /cloudresourcemanager.googleapis.com%2Factivity". For more information about + * log names, see LogEntry. + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($logName, $optParams = array()) + { + $params = array('logName' => $logName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Lists the logs in projects, organizations, folders, or billing accounts. Only + * logs that have entries are listed. (logs.listFoldersLogs) + * + * @param string $parent Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListLogsResponse + */ + public function listFoldersLogs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php new file mode 100644 index 00000000..aec5f660 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersSinks.php @@ -0,0 +1,155 @@ + + * $loggingService = new Google_Service_Logging(...); + * $sinks = $loggingService->sinks; + * + */ +class Google_Service_Logging_Resource_FoldersSinks extends Google_Service_Resource +{ + /** + * Creates a sink that exports specified log entries to a destination. The + * export of newly-ingested log entries begins immediately, unless the current + * time is outside the sink's start and end times or the sink's writer_identity + * is not permitted to write to the destination. A sink can export log entries + * only from the resource owning the sink. (sinks.create) + * + * @param string $parent Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: + * "projects/my-logging-project", "organizations/123456789". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM + * identity returned as writer_identity in the new sink. If this value is + * omitted or set to false, and if the sink's parent is a project, then the + * value returned as writer_identity is the same group or service account used + * by Stackdriver Logging before the addition of writer identities to this API. + * The sink's destination must be in the same project as the sink itself.If this + * field is set to true, or if the sink is owned by a non-project resource such + * as an organization, then the value of writer_identity will be a unique + * service account used only for exports from the new sink. For more + * information, see writer_identity in LogSink. + * @return Google_Service_Logging_LogSink + */ + public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Deletes a sink. If the sink has a unique writer_identity, then that service + * account is also deleted. (sinks.delete) + * + * @param string $sinkName Required. The full resource name of the sink to + * delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Gets a sink. (sinks.get) + * + * @param string $sinkName Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogSink + */ + public function get($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Lists sinks. (sinks.listFoldersSinks) + * + * @param string $parent Required. The parent resource whose sinks are to be + * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListSinksResponse + */ + public function listFoldersSinks($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse"); + } + /** + * Updates a sink. If the named sink doesn't exist, then this method is + * identical to sinks.create. If the named sink does exist, then this method + * replaces the following fields in the existing sink with values from the new + * sink: destination, filter, output_version_format, start_time, and end_time. + * The updated filter might also have a new writer_identity; see the + * unique_writer_identity field. (sinks.update) + * + * @param string $sinkName Required. The full resource name of the sink to + * update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a + * description of this field. When updating a sink, the effect of this field on + * the value of writer_identity in the updated sink depends on both the old and + * new values of this field: If the old and new values of this field are both + * false or both true, then there is no change to the sink's writer_identity. If + * the old value is false and the new value is true, then writer_identity is + * changed to a unique service account. It is an error if the old value is true + * and the new value is false. + * @return Google_Service_Logging_LogSink + */ + public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('sinkName' => $sinkName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Logging_LogSink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php new file mode 100644 index 00000000..3cb8643a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/MonitoredResourceDescriptors.php @@ -0,0 +1,49 @@ + + * $loggingService = new Google_Service_Logging(...); + * $monitoredResourceDescriptors = $loggingService->monitoredResourceDescriptors; + * + */ +class Google_Service_Logging_Resource_MonitoredResourceDescriptors extends Google_Service_Resource +{ + /** + * Lists the descriptors for monitored resource types used by Stackdriver + * Logging. (monitoredResourceDescriptors.listMonitoredResourceDescriptors) + * + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @return Google_Service_Logging_ListMonitoredResourceDescriptorsResponse + */ + public function listMonitoredResourceDescriptors($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListMonitoredResourceDescriptorsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php new file mode 100644 index 00000000..016ced47 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Organizations.php @@ -0,0 +1,28 @@ + + * $loggingService = new Google_Service_Logging(...); + * $organizations = $loggingService->organizations; + * + */ +class Google_Service_Logging_Resource_Organizations extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php new file mode 100644 index 00000000..f02191a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsLogs.php @@ -0,0 +1,74 @@ + + * $loggingService = new Google_Service_Logging(...); + * $logs = $loggingService->logs; + * + */ +class Google_Service_Logging_Resource_OrganizationsLogs extends Google_Service_Resource +{ + /** + * Deletes all the log entries in a log. The log reappears if it receives new + * entries. Log entries written shortly before the delete operation might not be + * deleted. (logs.delete) + * + * @param string $logName Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For + * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs + * /cloudresourcemanager.googleapis.com%2Factivity". For more information about + * log names, see LogEntry. + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($logName, $optParams = array()) + { + $params = array('logName' => $logName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Lists the logs in projects, organizations, folders, or billing accounts. Only + * logs that have entries are listed. (logs.listOrganizationsLogs) + * + * @param string $parent Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListLogsResponse + */ + public function listOrganizationsLogs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php new file mode 100644 index 00000000..352d2f74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsSinks.php @@ -0,0 +1,155 @@ + + * $loggingService = new Google_Service_Logging(...); + * $sinks = $loggingService->sinks; + * + */ +class Google_Service_Logging_Resource_OrganizationsSinks extends Google_Service_Resource +{ + /** + * Creates a sink that exports specified log entries to a destination. The + * export of newly-ingested log entries begins immediately, unless the current + * time is outside the sink's start and end times or the sink's writer_identity + * is not permitted to write to the destination. A sink can export log entries + * only from the resource owning the sink. (sinks.create) + * + * @param string $parent Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: + * "projects/my-logging-project", "organizations/123456789". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM + * identity returned as writer_identity in the new sink. If this value is + * omitted or set to false, and if the sink's parent is a project, then the + * value returned as writer_identity is the same group or service account used + * by Stackdriver Logging before the addition of writer identities to this API. + * The sink's destination must be in the same project as the sink itself.If this + * field is set to true, or if the sink is owned by a non-project resource such + * as an organization, then the value of writer_identity will be a unique + * service account used only for exports from the new sink. For more + * information, see writer_identity in LogSink. + * @return Google_Service_Logging_LogSink + */ + public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Deletes a sink. If the sink has a unique writer_identity, then that service + * account is also deleted. (sinks.delete) + * + * @param string $sinkName Required. The full resource name of the sink to + * delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Gets a sink. (sinks.get) + * + * @param string $sinkName Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogSink + */ + public function get($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Lists sinks. (sinks.listOrganizationsSinks) + * + * @param string $parent Required. The parent resource whose sinks are to be + * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListSinksResponse + */ + public function listOrganizationsSinks($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse"); + } + /** + * Updates a sink. If the named sink doesn't exist, then this method is + * identical to sinks.create. If the named sink does exist, then this method + * replaces the following fields in the existing sink with values from the new + * sink: destination, filter, output_version_format, start_time, and end_time. + * The updated filter might also have a new writer_identity; see the + * unique_writer_identity field. (sinks.update) + * + * @param string $sinkName Required. The full resource name of the sink to + * update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a + * description of this field. When updating a sink, the effect of this field on + * the value of writer_identity in the updated sink depends on both the old and + * new values of this field: If the old and new values of this field are both + * false or both true, then there is no change to the sink's writer_identity. If + * the old value is false and the new value is true, then writer_identity is + * changed to a unique service account. It is an error if the old value is true + * and the new value is false. + * @return Google_Service_Logging_LogSink + */ + public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('sinkName' => $sinkName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Logging_LogSink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php new file mode 100644 index 00000000..22dae1b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $loggingService = new Google_Service_Logging(...); + * $projects = $loggingService->projects; + * + */ +class Google_Service_Logging_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php new file mode 100644 index 00000000..d1bd323d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsLogs.php @@ -0,0 +1,74 @@ + + * $loggingService = new Google_Service_Logging(...); + * $logs = $loggingService->logs; + * + */ +class Google_Service_Logging_Resource_ProjectsLogs extends Google_Service_Resource +{ + /** + * Deletes all the log entries in a log. The log reappears if it receives new + * entries. Log entries written shortly before the delete operation might not be + * deleted. (logs.delete) + * + * @param string $logName Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For + * example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs + * /cloudresourcemanager.googleapis.com%2Factivity". For more information about + * log names, see LogEntry. + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($logName, $optParams = array()) + { + $params = array('logName' => $logName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Lists the logs in projects, organizations, folders, or billing accounts. Only + * logs that have entries are listed. (logs.listProjectsLogs) + * + * @param string $parent Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @return Google_Service_Logging_ListLogsResponse + */ + public function listProjectsLogs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php new file mode 100644 index 00000000..b0919d84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsMetrics.php @@ -0,0 +1,111 @@ + + * $loggingService = new Google_Service_Logging(...); + * $metrics = $loggingService->metrics; + * + */ +class Google_Service_Logging_Resource_ProjectsMetrics extends Google_Service_Resource +{ + /** + * Creates a logs-based metric. (metrics.create) + * + * @param string $parent The resource name of the project in which to create the + * metric: "projects/[PROJECT_ID]" The new metric must be provided in the + * request. + * @param Google_Service_Logging_LogMetric $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogMetric + */ + public function create($parent, Google_Service_Logging_LogMetric $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Logging_LogMetric"); + } + /** + * Deletes a logs-based metric. (metrics.delete) + * + * @param string $metricName The resource name of the metric to delete: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($metricName, $optParams = array()) + { + $params = array('metricName' => $metricName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Gets a logs-based metric. (metrics.get) + * + * @param string $metricName The resource name of the desired metric: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogMetric + */ + public function get($metricName, $optParams = array()) + { + $params = array('metricName' => $metricName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Logging_LogMetric"); + } + /** + * Lists logs-based metrics. (metrics.listProjectsMetrics) + * + * @param string $parent Required. The name of the project containing the + * metrics: "projects/[PROJECT_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListLogMetricsResponse + */ + public function listProjectsMetrics($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListLogMetricsResponse"); + } + /** + * Creates or updates a logs-based metric. (metrics.update) + * + * @param string $metricName The resource name of the metric to update: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be + * provided in the request and it's name field must be the same as [METRIC_ID] + * If the metric does not exist in [PROJECT_ID], then a new metric is created. + * @param Google_Service_Logging_LogMetric $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogMetric + */ + public function update($metricName, Google_Service_Logging_LogMetric $postBody, $optParams = array()) + { + $params = array('metricName' => $metricName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Logging_LogMetric"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php new file mode 100644 index 00000000..653c03ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsSinks.php @@ -0,0 +1,155 @@ + + * $loggingService = new Google_Service_Logging(...); + * $sinks = $loggingService->sinks; + * + */ +class Google_Service_Logging_Resource_ProjectsSinks extends Google_Service_Resource +{ + /** + * Creates a sink that exports specified log entries to a destination. The + * export of newly-ingested log entries begins immediately, unless the current + * time is outside the sink's start and end times or the sink's writer_identity + * is not permitted to write to the destination. A sink can export log entries + * only from the resource owning the sink. (sinks.create) + * + * @param string $parent Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: + * "projects/my-logging-project", "organizations/123456789". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM + * identity returned as writer_identity in the new sink. If this value is + * omitted or set to false, and if the sink's parent is a project, then the + * value returned as writer_identity is the same group or service account used + * by Stackdriver Logging before the addition of writer identities to this API. + * The sink's destination must be in the same project as the sink itself.If this + * field is set to true, or if the sink is owned by a non-project resource such + * as an organization, then the value of writer_identity will be a unique + * service account used only for exports from the new sink. For more + * information, see writer_identity in LogSink. + * @return Google_Service_Logging_LogSink + */ + public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Deletes a sink. If the sink has a unique writer_identity, then that service + * account is also deleted. (sinks.delete) + * + * @param string $sinkName Required. The full resource name of the sink to + * delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LoggingEmpty + */ + public function delete($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty"); + } + /** + * Gets a sink. (sinks.get) + * + * @param string $sinkName Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param array $optParams Optional parameters. + * @return Google_Service_Logging_LogSink + */ + public function get($sinkName, $optParams = array()) + { + $params = array('sinkName' => $sinkName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Logging_LogSink"); + } + /** + * Lists sinks. (sinks.listProjectsSinks) + * + * @param string $parent Required. The parent resource whose sinks are to be + * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. If present, then retrieve the next + * batch of results from the preceding call to this method. pageToken must be + * the value of nextPageToken from the previous response. The values of other + * method parameters should be identical to those in the previous call. + * @opt_param int pageSize Optional. The maximum number of results to return + * from this request. Non-positive values are ignored. The presence of + * nextPageToken in the response indicates that more results might be available. + * @return Google_Service_Logging_ListSinksResponse + */ + public function listProjectsSinks($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse"); + } + /** + * Updates a sink. If the named sink doesn't exist, then this method is + * identical to sinks.create. If the named sink does exist, then this method + * replaces the following fields in the existing sink with values from the new + * sink: destination, filter, output_version_format, start_time, and end_time. + * The updated filter might also have a new writer_identity; see the + * unique_writer_identity field. (sinks.update) + * + * @param string $sinkName Required. The full resource name of the sink to + * update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks + * /my-sink-id". + * @param Google_Service_Logging_LogSink $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a + * description of this field. When updating a sink, the effect of this field on + * the value of writer_identity in the updated sink depends on both the old and + * new values of this field: If the old and new values of this field are both + * false or both true, then there is no change to the sink's writer_identity. If + * the old value is false and the new value is true, then writer_identity is + * changed to a unique service account. It is an error if the old value is true + * and the new value is false. + * @return Google_Service_Logging_LogSink + */ + public function update($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array()) + { + $params = array('sinkName' => $sinkName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Logging_LogSink"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php new file mode 100644 index 00000000..7a61f8e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceLocation.php @@ -0,0 +1,48 @@ +file = $file; + } + public function getFile() + { + return $this->file; + } + public function setFunctionName($functionName) + { + $this->functionName = $functionName; + } + public function getFunctionName() + { + return $this->functionName; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php new file mode 100644 index 00000000..ec61ebb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/SourceReference.php @@ -0,0 +1,39 @@ +repository = $repository; + } + public function getRepository() + { + return $this->repository; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php new file mode 100644 index 00000000..07f225a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php new file mode 100644 index 00000000..ca6a4000 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesRequest.php @@ -0,0 +1,69 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLogName($logName) + { + $this->logName = $logName; + } + public function getLogName() + { + return $this->logName; + } + public function setPartialSuccess($partialSuccess) + { + $this->partialSuccess = $partialSuccess; + } + public function getPartialSuccess() + { + return $this->partialSuccess; + } + public function setResource(Google_Service_Logging_MonitoredResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php new file mode 100644 index 00000000..1cda65d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Logging/WriteLogEntriesResponse.php @@ -0,0 +1,20 @@ + + * The Deployment Manager API allows users to declaratively configure, deploy + * and run complex solutions on the Google Cloud Platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Manager extends Google_Service +{ + /** View and manage your applications deployed on Google App Engine. */ + const APPENGINE_ADMIN = + "https://www.googleapis.com/auth/appengine.admin"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $templates; + + /** + * Constructs the internal representation of the Manager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'manager/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'manager'; + + $this->deployments = new Google_Service_Manager_DeploymentsResource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->templates = new Google_Service_Manager_TemplatesResource( + $this, + $this->serviceName, + 'templates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php new file mode 100644 index 00000000..23923afc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AccessConfig.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatIp($natIp) + { + $this->natIp = $natIp; + } + public function getNatIp() + { + return $this->natIp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php new file mode 100644 index 00000000..96ff2a02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Action.php @@ -0,0 +1,40 @@ +commands = $commands; + } + public function getCommands() + { + return $this->commands; + } + public function setTimeoutMs($timeoutMs) + { + $this->timeoutMs = $timeoutMs; + } + public function getTimeoutMs() + { + return $this->timeoutMs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php new file mode 100644 index 00000000..913a2dd8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AllowedRule.php @@ -0,0 +1,43 @@ + "IPProtocol", + ); + public $iPProtocol; + public $ports; + + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setPorts($ports) + { + $this->ports = $ports; + } + public function getPorts() + { + return $this->ports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php new file mode 100644 index 00000000..2eb8df7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModule.php @@ -0,0 +1,84 @@ +coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } + public function setSignalType($signalType) + { + $this->signalType = $signalType; + } + public function getSignalType() + { + return $this->signalType; + } + public function setTargetModule($targetModule) + { + $this->targetModule = $targetModule; + } + public function getTargetModule() + { + return $this->targetModule; + } + public function setTargetUtilization($targetUtilization) + { + $this->targetUtilization = $targetUtilization; + } + public function getTargetUtilization() + { + return $this->targetUtilization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php new file mode 100644 index 00000000..4c778240 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/AutoscalingModuleStatus.php @@ -0,0 +1,30 @@ +autoscalingConfigUrl = $autoscalingConfigUrl; + } + public function getAutoscalingConfigUrl() + { + return $this->autoscalingConfigUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php new file mode 100644 index 00000000..abdc1837 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeployState.php @@ -0,0 +1,39 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php new file mode 100644 index 00000000..88cff021 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Deployment.php @@ -0,0 +1,88 @@ +creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setModules($modules) + { + $this->modules = $modules; + } + public function getModules() + { + return $this->modules; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverrides($overrides) + { + $this->overrides = $overrides; + } + public function getOverrides() + { + return $this->overrides; + } + public function setState(Google_Service_Manager_DeployState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTemplateName($templateName) + { + $this->templateName = $templateName; + } + public function getTemplateName() + { + return $this->templateName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php new file mode 100644 index 00000000..bd16e823 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php new file mode 100644 index 00000000..7f9abcd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DeploymentsResource.php @@ -0,0 +1,92 @@ + + * $managerService = new Google_Service_Manager(...); + * $deployments = $managerService->deployments; + * + */ +class Google_Service_Manager_DeploymentsResource extends Google_Service_Resource +{ + /** + * (deployments.delete) + * + * @param string $projectId + * @param string $region + * @param string $deploymentName + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $region, $deploymentName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * (deployments.get) + * + * @param string $projectId + * @param string $region + * @param string $deploymentName + * @param array $optParams Optional parameters. + * @return Google_Service_Deployment + */ + public function get($projectId, $region, $deploymentName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Manager_Deployment"); + } + /** + * (deployments.insert) + * + * @param string $projectId + * @param string $region + * @param Google_Deployment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Deployment + */ + public function insert($projectId, $region, Google_Service_Manager_Deployment $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Manager_Deployment"); + } + /** + * (deployments.listDeployments) + * + * @param string $projectId + * @param string $region + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 100, inclusive. (Default: 50) + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @return Google_Service_DeploymentsListResponse + */ + public function listDeployments($projectId, $region, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Manager_DeploymentsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php new file mode 100644 index 00000000..53f0fb20 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/DiskAttachment.php @@ -0,0 +1,39 @@ +deviceName = $deviceName; + } + public function getDeviceName() + { + return $this->deviceName; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php new file mode 100644 index 00000000..e14a4953 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/EnvVariable.php @@ -0,0 +1,39 @@ +hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php new file mode 100644 index 00000000..ef06866d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ExistingDisk.php @@ -0,0 +1,40 @@ +attachment = $attachment; + } + public function getAttachment() + { + return $this->attachment; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php new file mode 100644 index 00000000..dd53903a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModule.php @@ -0,0 +1,77 @@ +allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setSourceRanges($sourceRanges) + { + $this->sourceRanges = $sourceRanges; + } + public function getSourceRanges() + { + return $this->sourceRanges; + } + public function setSourceTags($sourceTags) + { + $this->sourceTags = $sourceTags; + } + public function getSourceTags() + { + return $this->sourceTags; + } + public function setTargetTags($targetTags) + { + $this->targetTags = $targetTags; + } + public function getTargetTags() + { + return $this->targetTags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php new file mode 100644 index 00000000..2328cb89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/FirewallModuleStatus.php @@ -0,0 +1,30 @@ +firewallUrl = $firewallUrl; + } + public function getFirewallUrl() + { + return $this->firewallUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php new file mode 100644 index 00000000..55821ac8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModule.php @@ -0,0 +1,93 @@ +checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php new file mode 100644 index 00000000..7d2cbcf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/HealthCheckModuleStatus.php @@ -0,0 +1,30 @@ +healthCheckUrl = $healthCheckUrl; + } + public function getHealthCheckUrl() + { + return $this->healthCheckUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php new file mode 100644 index 00000000..0f7a4bc4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModule.php @@ -0,0 +1,85 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setIpProtocol($ipProtocol) + { + $this->ipProtocol = $ipProtocol; + } + public function getIpProtocol() + { + return $this->ipProtocol; + } + public function setPortRange($portRange) + { + $this->portRange = $portRange; + } + public function getPortRange() + { + return $this->portRange; + } + public function setSessionAffinity($sessionAffinity) + { + $this->sessionAffinity = $sessionAffinity; + } + public function getSessionAffinity() + { + return $this->sessionAffinity; + } + public function setTargetModules($targetModules) + { + $this->targetModules = $targetModules; + } + public function getTargetModules() + { + return $this->targetModules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php new file mode 100644 index 00000000..88a19148 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/LbModuleStatus.php @@ -0,0 +1,39 @@ +forwardingRuleUrl = $forwardingRuleUrl; + } + public function getForwardingRuleUrl() + { + return $this->forwardingRuleUrl; + } + public function setTargetPoolUrl($targetPoolUrl) + { + $this->targetPoolUrl = $targetPoolUrl; + } + public function getTargetPoolUrl() + { + return $this->targetPoolUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php new file mode 100644 index 00000000..9936e676 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Metadata.php @@ -0,0 +1,41 @@ +fingerPrint = $fingerPrint; + } + public function getFingerPrint() + { + return $this->fingerPrint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php new file mode 100644 index 00000000..906f60d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/MetadataItem.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php new file mode 100644 index 00000000..f8022151 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Module.php @@ -0,0 +1,90 @@ +autoscalingModule = $autoscalingModule; + } + public function getAutoscalingModule() + { + return $this->autoscalingModule; + } + public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule) + { + $this->firewallModule = $firewallModule; + } + public function getFirewallModule() + { + return $this->firewallModule; + } + public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule) + { + $this->healthCheckModule = $healthCheckModule; + } + public function getHealthCheckModule() + { + return $this->healthCheckModule; + } + public function setLbModule(Google_Service_Manager_LbModule $lbModule) + { + $this->lbModule = $lbModule; + } + public function getLbModule() + { + return $this->lbModule; + } + public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule) + { + $this->networkModule = $networkModule; + } + public function getNetworkModule() + { + return $this->networkModule; + } + public function setReplicaPoolModule(Google_Service_Manager_ReplicaPoolModule $replicaPoolModule) + { + $this->replicaPoolModule = $replicaPoolModule; + } + public function getReplicaPoolModule() + { + return $this->replicaPoolModule; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php new file mode 100644 index 00000000..145fb322 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ModuleStatus.php @@ -0,0 +1,100 @@ +autoscalingModuleStatus = $autoscalingModuleStatus; + } + public function getAutoscalingModuleStatus() + { + return $this->autoscalingModuleStatus; + } + public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus) + { + $this->firewallModuleStatus = $firewallModuleStatus; + } + public function getFirewallModuleStatus() + { + return $this->firewallModuleStatus; + } + public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus) + { + $this->healthCheckModuleStatus = $healthCheckModuleStatus; + } + public function getHealthCheckModuleStatus() + { + return $this->healthCheckModuleStatus; + } + public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus) + { + $this->lbModuleStatus = $lbModuleStatus; + } + public function getLbModuleStatus() + { + return $this->lbModuleStatus; + } + public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus) + { + $this->networkModuleStatus = $networkModuleStatus; + } + public function getNetworkModuleStatus() + { + return $this->networkModuleStatus; + } + public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus) + { + $this->replicaPoolModuleStatus = $replicaPoolModuleStatus; + } + public function getReplicaPoolModuleStatus() + { + return $this->replicaPoolModuleStatus; + } + public function setState(Google_Service_Manager_DeployState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php new file mode 100644 index 00000000..5fa0517e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkInterface.php @@ -0,0 +1,59 @@ +accessConfigs = $accessConfigs; + } + public function getAccessConfigs() + { + return $this->accessConfigs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNetworkIp($networkIp) + { + $this->networkIp = $networkIp; + } + public function getNetworkIp() + { + return $this->networkIp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php new file mode 100644 index 00000000..816687d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModule.php @@ -0,0 +1,51 @@ + "IPv4Range", + ); + public $iPv4Range; + public $description; + public $gatewayIPv4; + + public function setIPv4Range($iPv4Range) + { + $this->iPv4Range = $iPv4Range; + } + public function getIPv4Range() + { + return $this->iPv4Range; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGatewayIPv4($gatewayIPv4) + { + $this->gatewayIPv4 = $gatewayIPv4; + } + public function getGatewayIPv4() + { + return $this->gatewayIPv4; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php new file mode 100644 index 00000000..915c4f3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NetworkModuleStatus.php @@ -0,0 +1,30 @@ +networkUrl = $networkUrl; + } + public function getNetworkUrl() + { + return $this->networkUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php new file mode 100644 index 00000000..42b14994 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDisk.php @@ -0,0 +1,59 @@ +attachment = $attachment; + } + public function getAttachment() + { + return $this->attachment; + } + public function setAutoDelete($autoDelete) + { + $this->autoDelete = $autoDelete; + } + public function getAutoDelete() + { + return $this->autoDelete; + } + public function setBoot($boot) + { + $this->boot = $boot; + } + public function getBoot() + { + return $this->boot; + } + public function setInitializeParams(Google_Service_Manager_NewDiskInitializeParams $initializeParams) + { + $this->initializeParams = $initializeParams; + } + public function getInitializeParams() + { + return $this->initializeParams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php new file mode 100644 index 00000000..2246aa44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/NewDiskInitializeParams.php @@ -0,0 +1,48 @@ +diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php new file mode 100644 index 00000000..1c0193eb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ParamOverride.php @@ -0,0 +1,39 @@ +path = $path; + } + public function getPath() + { + return $this->path; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php new file mode 100644 index 00000000..fef7a06a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModule.php @@ -0,0 +1,69 @@ +envVariables = $envVariables; + } + public function getEnvVariables() + { + return $this->envVariables; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setNumReplicas($numReplicas) + { + $this->numReplicas = $numReplicas; + } + public function getNumReplicas() + { + return $this->numReplicas; + } + public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams) + { + $this->replicaPoolParams = $replicaPoolParams; + } + public function getReplicaPoolParams() + { + return $this->replicaPoolParams; + } + public function setResourceView($resourceView) + { + $this->resourceView = $resourceView; + } + public function getResourceView() + { + return $this->resourceView; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php new file mode 100644 index 00000000..3ff49116 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolModuleStatus.php @@ -0,0 +1,39 @@ +replicaPoolUrl = $replicaPoolUrl; + } + public function getReplicaPoolUrl() + { + return $this->replicaPoolUrl; + } + public function setResourceViewUrl($resourceViewUrl) + { + $this->resourceViewUrl = $resourceViewUrl; + } + public function getResourceViewUrl() + { + return $this->resourceViewUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php new file mode 100644 index 00000000..0e58275e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParams.php @@ -0,0 +1,31 @@ +v1beta1 = $v1beta1; + } + public function getV1beta1() + { + return $this->v1beta1; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php new file mode 100644 index 00000000..b20d58b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ReplicaPoolParamsV1Beta1.php @@ -0,0 +1,154 @@ +autoRestart = $autoRestart; + } + public function getAutoRestart() + { + return $this->autoRestart; + } + public function setBaseInstanceName($baseInstanceName) + { + $this->baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCanIpForward($canIpForward) + { + $this->canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisksToAttach($disksToAttach) + { + $this->disksToAttach = $disksToAttach; + } + public function getDisksToAttach() + { + return $this->disksToAttach; + } + public function setDisksToCreate($disksToCreate) + { + $this->disksToCreate = $disksToCreate; + } + public function getDisksToCreate() + { + return $this->disksToCreate; + } + public function setInitAction($initAction) + { + $this->initAction = $initAction; + } + public function getInitAction() + { + return $this->initAction; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Manager_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setTags(Google_Service_Manager_Tag $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php new file mode 100644 index 00000000..59aa96d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/ServiceAccount.php @@ -0,0 +1,40 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php new file mode 100644 index 00000000..0fef4180 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Tag.php @@ -0,0 +1,40 @@ +fingerPrint = $fingerPrint; + } + public function getFingerPrint() + { + return $this->fingerPrint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php new file mode 100644 index 00000000..ad21dd9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/Template.php @@ -0,0 +1,59 @@ +actions = $actions; + } + public function getActions() + { + return $this->actions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setModules($modules) + { + $this->modules = $modules; + } + public function getModules() + { + return $this->modules; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php new file mode 100644 index 00000000..515f148d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php new file mode 100644 index 00000000..b5b133a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Manager/TemplatesResource.php @@ -0,0 +1,88 @@ + + * $managerService = new Google_Service_Manager(...); + * $templates = $managerService->templates; + * + */ +class Google_Service_Manager_TemplatesResource extends Google_Service_Resource +{ + /** + * (templates.delete) + * + * @param string $projectId + * @param string $templateName + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $templateName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * (templates.get) + * + * @param string $projectId + * @param string $templateName + * @param array $optParams Optional parameters. + * @return Google_Service_Template + */ + public function get($projectId, $templateName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Manager_Template"); + } + /** + * (templates.insert) + * + * @param string $projectId + * @param Google_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Template + */ + public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Manager_Template"); + } + /** + * (templates.listTemplates) + * + * @param string $projectId + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 100, inclusive. (Default: 50) + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @return Google_Service_TemplatesListResponse + */ + public function listTemplates($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php new file mode 100644 index 00000000..d3613abb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter.php @@ -0,0 +1,96 @@ + + * Public API for managing Manufacturer Center related data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ManufacturerCenter extends Google_Service +{ + /** Manage your product listings for Google Manufacturer Center. */ + const MANUFACTURERCENTER = + "https://www.googleapis.com/auth/manufacturercenter"; + + public $accounts_products; + + /** + * Constructs the internal representation of the ManufacturerCenter service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://manufacturers.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'manufacturers'; + + $this->accounts_products = new Google_Service_ManufacturerCenter_Resource_AccountsProducts( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+parent}/products/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php new file mode 100644 index 00000000..6e546d70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Attributes.php @@ -0,0 +1,94 @@ +brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setProductLine($productLine) + { + $this->productLine = $productLine; + } + public function getProductLine() + { + return $this->productLine; + } + public function setProductName($productName) + { + $this->productName = $productName; + } + public function getProductName() + { + return $this->productName; + } + public function setProductPageUrl($productPageUrl) + { + $this->productPageUrl = $productPageUrl; + } + public function getProductPageUrl() + { + return $this->productPageUrl; + } + public function setProductType($productType) + { + $this->productType = $productType; + } + public function getProductType() + { + return $this->productType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php new file mode 100644 index 00000000..cf0c22c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Issue.php @@ -0,0 +1,57 @@ +attribute = $attribute; + } + public function getAttribute() + { + return $this->attribute; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php new file mode 100644 index 00000000..5f5452cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/ListProductsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProducts($products) + { + $this->products = $products; + } + public function getProducts() + { + return $this->products; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php new file mode 100644 index 00000000..8ba6e58b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Product.php @@ -0,0 +1,116 @@ +contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setFinalAttributes(Google_Service_ManufacturerCenter_Attributes $finalAttributes) + { + $this->finalAttributes = $finalAttributes; + } + public function getFinalAttributes() + { + return $this->finalAttributes; + } + public function setIssues($issues) + { + $this->issues = $issues; + } + public function getIssues() + { + return $this->issues; + } + public function setManuallyDeletedAttributes($manuallyDeletedAttributes) + { + $this->manuallyDeletedAttributes = $manuallyDeletedAttributes; + } + public function getManuallyDeletedAttributes() + { + return $this->manuallyDeletedAttributes; + } + public function setManuallyProvidedAttributes(Google_Service_ManufacturerCenter_Attributes $manuallyProvidedAttributes) + { + $this->manuallyProvidedAttributes = $manuallyProvidedAttributes; + } + public function getManuallyProvidedAttributes() + { + return $this->manuallyProvidedAttributes; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParent($parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setUploadedAttributes(Google_Service_ManufacturerCenter_Attributes $uploadedAttributes) + { + $this->uploadedAttributes = $uploadedAttributes; + } + public function getUploadedAttributes() + { + return $this->uploadedAttributes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php new file mode 100644 index 00000000..290a211f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/Accounts.php @@ -0,0 +1,28 @@ + + * $manufacturersService = new Google_Service_ManufacturerCenter(...); + * $accounts = $manufacturersService->accounts; + * + */ +class Google_Service_ManufacturerCenter_Resource_Accounts extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php new file mode 100644 index 00000000..5b869d08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ManufacturerCenter/Resource/AccountsProducts.php @@ -0,0 +1,75 @@ + + * $manufacturersService = new Google_Service_ManufacturerCenter(...); + * $products = $manufacturersService->products; + * + */ +class Google_Service_ManufacturerCenter_Resource_AccountsProducts extends Google_Service_Resource +{ + /** + * Gets the product from a Manufacturer Center account, including product + * issues. (products.get) + * + * @param string $parent Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + * @param string $name Name in the format + * `{target_country}:{content_language}:{product_id}`. + * + * `target_country` - The target country of the product as a CLDR territory + * code (for example, US). + * + * `content_language` - The content language of the product as a two-letter + * ISO 639-1 language code (for example, en). + * + * `product_id` - The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + * @param array $optParams Optional parameters. + * @return Google_Service_ManufacturerCenter_Product + */ + public function get($parent, $name, $optParams = array()) + { + $params = array('parent' => $parent, 'name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ManufacturerCenter_Product"); + } + /** + * Lists all the products in a Manufacturer Center account. + * (products.listAccountsProducts) + * + * @param string $parent Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of product statuses to return in the + * response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ManufacturerCenter_ListProductsResponse + */ + public function listAccountsProducts($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ManufacturerCenter_ListProductsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php new file mode 100644 index 00000000..c9d86c8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror.php @@ -0,0 +1,379 @@ + + * Interacts with Glass users via the timeline.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Mirror extends Google_Service +{ + /** View your location. */ + const GLASS_LOCATION = + "https://www.googleapis.com/auth/glass.location"; + /** View and manage your Glass timeline. */ + const GLASS_TIMELINE = + "https://www.googleapis.com/auth/glass.timeline"; + + public $accounts; + public $contacts; + public $locations; + public $settings; + public $subscriptions; + public $timeline; + public $timeline_attachments; + + /** + * Constructs the internal representation of the Mirror service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'mirror/v1/'; + $this->version = 'v1'; + $this->serviceName = 'mirror'; + + $this->accounts = new Google_Service_Mirror_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'accounts/{userToken}/{accountType}/{accountName}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userToken' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->contacts = new Google_Service_Mirror_Resource_Contacts( + $this, + $this->serviceName, + 'contacts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'contacts', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'contacts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->locations = new Google_Service_Mirror_Resource_Locations( + $this, + $this->serviceName, + 'locations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'locations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'locations', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->settings = new Google_Service_Mirror_Resource_Settings( + $this, + $this->serviceName, + 'settings', + array( + 'methods' => array( + 'get' => array( + 'path' => 'settings/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_Mirror_Resource_Subscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'subscriptions/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'update' => array( + 'path' => 'subscriptions/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeline = new Google_Service_Mirror_Resource_Timeline( + $this, + $this->serviceName, + 'timeline', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'timeline', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'timeline', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bundleId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinnedOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sourceItemId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeline_attachments = new Google_Service_Mirror_Resource_TimelineAttachments( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'timeline/{itemId}/attachments/{attachmentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'attachmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'timeline/{itemId}/attachments/{attachmentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'attachmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'timeline/{itemId}/attachments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'timeline/{itemId}/attachments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php new file mode 100644 index 00000000..b65da44b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Account.php @@ -0,0 +1,60 @@ +authTokens = $authTokens; + } + public function getAuthTokens() + { + return $this->authTokens; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setUserData($userData) + { + $this->userData = $userData; + } + public function getUserData() + { + return $this->userData; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php new file mode 100644 index 00000000..558f7c01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Attachment.php @@ -0,0 +1,57 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setContentUrl($contentUrl) + { + $this->contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsProcessingContent($isProcessingContent) + { + $this->isProcessingContent = $isProcessingContent; + } + public function getIsProcessingContent() + { + return $this->isProcessingContent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php new file mode 100644 index 00000000..e5d310c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AttachmentsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php new file mode 100644 index 00000000..fbc0107d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/AuthToken.php @@ -0,0 +1,39 @@ +authToken = $authToken; + } + public function getAuthToken() + { + return $this->authToken; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php new file mode 100644 index 00000000..f9bbc915 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Command.php @@ -0,0 +1,30 @@ +type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php new file mode 100644 index 00000000..6ae03289 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Contact.php @@ -0,0 +1,131 @@ +acceptCommands = $acceptCommands; + } + public function getAcceptCommands() + { + return $this->acceptCommands; + } + public function setAcceptTypes($acceptTypes) + { + $this->acceptTypes = $acceptTypes; + } + public function getAcceptTypes() + { + return $this->acceptTypes; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageUrls($imageUrls) + { + $this->imageUrls = $imageUrls; + } + public function getImageUrls() + { + return $this->imageUrls; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setSharingFeatures($sharingFeatures) + { + $this->sharingFeatures = $sharingFeatures; + } + public function getSharingFeatures() + { + return $this->sharingFeatures; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setSpeakableName($speakableName) + { + $this->speakableName = $speakableName; + } + public function getSpeakableName() + { + return $this->speakableName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php new file mode 100644 index 00000000..fc5ed798 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/ContactsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php new file mode 100644 index 00000000..57070bbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Location.php @@ -0,0 +1,93 @@ +accuracy = $accuracy; + } + public function getAccuracy() + { + return $this->accuracy; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php new file mode 100644 index 00000000..d6a6f06b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php new file mode 100644 index 00000000..b7a79504 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuItem.php @@ -0,0 +1,80 @@ + "contextual_command", + ); + public $action; + public $contextualCommand; + public $id; + public $payload; + public $removeWhenSelected; + protected $valuesType = 'Google_Service_Mirror_MenuValue'; + protected $valuesDataType = 'array'; + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setContextualCommand($contextualCommand) + { + $this->contextualCommand = $contextualCommand; + } + public function getContextualCommand() + { + return $this->contextualCommand; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setRemoveWhenSelected($removeWhenSelected) + { + $this->removeWhenSelected = $removeWhenSelected; + } + public function getRemoveWhenSelected() + { + return $this->removeWhenSelected; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php new file mode 100644 index 00000000..f89880ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/MenuValue.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php new file mode 100644 index 00000000..12bb369f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Notification.php @@ -0,0 +1,77 @@ +collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setItemId($itemId) + { + $this->itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setOperation($operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setUserActions($userActions) + { + $this->userActions = $userActions; + } + public function getUserActions() + { + return $this->userActions; + } + public function setUserToken($userToken) + { + $this->userToken = $userToken; + } + public function getUserToken() + { + return $this->userToken; + } + public function setVerifyToken($verifyToken) + { + $this->verifyToken = $verifyToken; + } + public function getVerifyToken() + { + return $this->verifyToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php new file mode 100644 index 00000000..74c07e64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/NotificationConfig.php @@ -0,0 +1,39 @@ +deliveryTime = $deliveryTime; + } + public function getDeliveryTime() + { + return $this->deliveryTime; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php new file mode 100644 index 00000000..bc4c2256 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Accounts.php @@ -0,0 +1,46 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $accounts = $mirrorService->accounts; + * + */ +class Google_Service_Mirror_Resource_Accounts extends Google_Service_Resource +{ + /** + * Inserts a new account for a user (accounts.insert) + * + * @param string $userToken The ID for the user. + * @param string $accountType Account type to be passed to Android Account + * Manager. + * @param string $accountName The name of the account to be passed to the + * Android Account Manager. + * @param Google_Service_Mirror_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Account + */ + public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array()) + { + $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Account"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php new file mode 100644 index 00000000..ae3356aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Contacts.php @@ -0,0 +1,108 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $contacts = $mirrorService->contacts; + * + */ +class Google_Service_Mirror_Resource_Contacts extends Google_Service_Resource +{ + /** + * Deletes a contact. (contacts.delete) + * + * @param string $id The ID of the contact. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a single contact by ID. (contacts.get) + * + * @param string $id The ID of the contact. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Contact"); + } + /** + * Inserts a new contact. (contacts.insert) + * + * @param Google_Service_Mirror_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function insert(Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Contact"); + } + /** + * Retrieves a list of contacts for the authenticated user. + * (contacts.listContacts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_ContactsListResponse + */ + public function listContacts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_ContactsListResponse"); + } + /** + * Updates a contact in place. This method supports patch semantics. + * (contacts.patch) + * + * @param string $id The ID of the contact. + * @param Google_Service_Mirror_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function patch($id, Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Mirror_Contact"); + } + /** + * Updates a contact in place. (contacts.update) + * + * @param string $id The ID of the contact. + * @param Google_Service_Mirror_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function update($id, Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_Contact"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php new file mode 100644 index 00000000..f611eff4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Locations.php @@ -0,0 +1,54 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $locations = $mirrorService->locations; + * + */ +class Google_Service_Mirror_Resource_Locations extends Google_Service_Resource +{ + /** + * Gets a single location by ID. (locations.get) + * + * @param string $id The ID of the location or latest for the last known + * location. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Location + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Location"); + } + /** + * Retrieves a list of locations for the user. (locations.listLocations) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_LocationsListResponse + */ + public function listLocations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_LocationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php new file mode 100644 index 00000000..0927bd31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Settings.php @@ -0,0 +1,45 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $settings = $mirrorService->settings; + * + */ +class Google_Service_Mirror_Resource_Settings extends Google_Service_Resource +{ + /** + * Gets a single setting by ID. (settings.get) + * + * @param string $id The ID of the setting. The following IDs are valid: - + * locale - The key to the user’s language/locale (BCP 47 identifier) that + * Glassware should use to render localized content. - timezone - The key to + * the user’s current time zone region as defined in the tz database. Example: + * America/Los_Angeles. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Setting + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Setting"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php new file mode 100644 index 00000000..8e837bd5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Subscriptions.php @@ -0,0 +1,80 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $subscriptions = $mirrorService->subscriptions; + * + */ +class Google_Service_Mirror_Resource_Subscriptions extends Google_Service_Resource +{ + /** + * Deletes a subscription. (subscriptions.delete) + * + * @param string $id The ID of the subscription. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a new subscription. (subscriptions.insert) + * + * @param Google_Service_Mirror_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Subscription + */ + public function insert(Google_Service_Mirror_Subscription $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Subscription"); + } + /** + * Retrieves a list of subscriptions for the authenticated user and service. + * (subscriptions.listSubscriptions) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_SubscriptionsListResponse + */ + public function listSubscriptions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_SubscriptionsListResponse"); + } + /** + * Updates an existing subscription in place. (subscriptions.update) + * + * @param string $id The ID of the subscription. + * @param Google_Service_Mirror_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Subscription + */ + public function update($id, Google_Service_Mirror_Subscription $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_Subscription"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php new file mode 100644 index 00000000..b172dcd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/Timeline.php @@ -0,0 +1,121 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $timeline = $mirrorService->timeline; + * + */ +class Google_Service_Mirror_Resource_Timeline extends Google_Service_Resource +{ + /** + * Deletes a timeline item. (timeline.delete) + * + * @param string $id The ID of the timeline item. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a single timeline item by ID. (timeline.get) + * + * @param string $id The ID of the timeline item. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_TimelineItem"); + } + /** + * Inserts a new item into the timeline. (timeline.insert) + * + * @param Google_Service_Mirror_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function insert(Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_TimelineItem"); + } + /** + * Retrieves a list of timeline items for the authenticated user. + * (timeline.listTimeline) + * + * @param array $optParams Optional parameters. + * + * @opt_param string bundleId If provided, only items with the given bundleId + * will be returned. + * @opt_param bool includeDeleted If true, tombstone records for deleted items + * will be returned. + * @opt_param string maxResults The maximum number of items to include in the + * response, used for paging. + * @opt_param string orderBy Controls the order in which timeline items are + * returned. + * @opt_param string pageToken Token for the page of results to return. + * @opt_param bool pinnedOnly If true, only pinned items will be returned. + * @opt_param string sourceItemId If provided, only items with the given + * sourceItemId will be returned. + * @return Google_Service_Mirror_TimelineListResponse + */ + public function listTimeline($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_TimelineListResponse"); + } + /** + * Updates a timeline item in place. This method supports patch semantics. + * (timeline.patch) + * + * @param string $id The ID of the timeline item. + * @param Google_Service_Mirror_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function patch($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Mirror_TimelineItem"); + } + /** + * Updates a timeline item in place. (timeline.update) + * + * @param string $id The ID of the timeline item. + * @param Google_Service_Mirror_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function update($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_TimelineItem"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php new file mode 100644 index 00000000..458179aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Resource/TimelineAttachments.php @@ -0,0 +1,84 @@ + + * $mirrorService = new Google_Service_Mirror(...); + * $attachments = $mirrorService->attachments; + * + */ +class Google_Service_Mirror_Resource_TimelineAttachments extends Google_Service_Resource +{ + /** + * Deletes an attachment from a timeline item. (attachments.delete) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param string $attachmentId The ID of the attachment. + * @param array $optParams Optional parameters. + */ + public function delete($itemId, $attachmentId, $optParams = array()) + { + $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves an attachment on a timeline item by item ID and attachment ID. + * (attachments.get) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param string $attachmentId The ID of the attachment. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Attachment + */ + public function get($itemId, $attachmentId, $optParams = array()) + { + $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Attachment"); + } + /** + * Adds a new attachment to a timeline item. (attachments.insert) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Attachment + */ + public function insert($itemId, $optParams = array()) + { + $params = array('itemId' => $itemId); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Attachment"); + } + /** + * Returns a list of attachments for a timeline item. + * (attachments.listTimelineAttachments) + * + * @param string $itemId The ID of the timeline item whose attachments should be + * listed. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_AttachmentsListResponse + */ + public function listTimelineAttachments($itemId, $optParams = array()) + { + $params = array('itemId' => $itemId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_AttachmentsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php new file mode 100644 index 00000000..eaeaf385 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Setting.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php new file mode 100644 index 00000000..c8887390 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/Subscription.php @@ -0,0 +1,104 @@ +callbackUrl = $callbackUrl; + } + public function getCallbackUrl() + { + return $this->callbackUrl; + } + public function setCollection($collection) + { + $this->collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotification(Google_Service_Mirror_Notification $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } + public function setOperation($operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUserToken($userToken) + { + $this->userToken = $userToken; + } + public function getUserToken() + { + return $this->userToken; + } + public function setVerifyToken($verifyToken) + { + $this->verifyToken = $verifyToken; + } + public function getVerifyToken() + { + return $this->verifyToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php new file mode 100644 index 00000000..35323f41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/SubscriptionsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php new file mode 100644 index 00000000..fcc9e115 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineItem.php @@ -0,0 +1,262 @@ +attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setBundleId($bundleId) + { + $this->bundleId = $bundleId; + } + public function getBundleId() + { + return $this->bundleId; + } + public function setCanonicalUrl($canonicalUrl) + { + $this->canonicalUrl = $canonicalUrl; + } + public function getCanonicalUrl() + { + return $this->canonicalUrl; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCreator(Google_Service_Mirror_Contact $creator) + { + $this->creator = $creator; + } + public function getCreator() + { + return $this->creator; + } + public function setDisplayTime($displayTime) + { + $this->displayTime = $displayTime; + } + public function getDisplayTime() + { + return $this->displayTime; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHtml($html) + { + $this->html = $html; + } + public function getHtml() + { + return $this->html; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setIsBundleCover($isBundleCover) + { + $this->isBundleCover = $isBundleCover; + } + public function getIsBundleCover() + { + return $this->isBundleCover; + } + public function setIsDeleted($isDeleted) + { + $this->isDeleted = $isDeleted; + } + public function getIsDeleted() + { + return $this->isDeleted; + } + public function setIsPinned($isPinned) + { + $this->isPinned = $isPinned; + } + public function getIsPinned() + { + return $this->isPinned; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Mirror_Location $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMenuItems($menuItems) + { + $this->menuItems = $menuItems; + } + public function getMenuItems() + { + return $this->menuItems; + } + public function setNotification(Google_Service_Mirror_NotificationConfig $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } + public function setPinScore($pinScore) + { + $this->pinScore = $pinScore; + } + public function getPinScore() + { + return $this->pinScore; + } + public function setRecipients($recipients) + { + $this->recipients = $recipients; + } + public function getRecipients() + { + return $this->recipients; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceItemId($sourceItemId) + { + $this->sourceItemId = $sourceItemId; + } + public function getSourceItemId() + { + return $this->sourceItemId; + } + public function setSpeakableText($speakableText) + { + $this->speakableText = $speakableText; + } + public function getSpeakableText() + { + return $this->speakableText; + } + public function setSpeakableType($speakableType) + { + $this->speakableType = $speakableType; + } + public function getSpeakableType() + { + return $this->speakableType; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php new file mode 100644 index 00000000..f19256c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/TimelineListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php new file mode 100644 index 00000000..e2f9ade5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserAction.php @@ -0,0 +1,39 @@ +payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php new file mode 100644 index 00000000..83fc2a62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Mirror/UserData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php new file mode 100644 index 00000000..69d784a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring.php @@ -0,0 +1,396 @@ + + * Manages your Stackdriver Monitoring data and configurations. Most projects + * must be associated with a Stackdriver account, with a few exceptions as noted + * on the individual method pages.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Monitoring extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */ + const MONITORING = + "https://www.googleapis.com/auth/monitoring"; + /** View monitoring data for all of your Google Cloud and third-party projects. */ + const MONITORING_READ = + "https://www.googleapis.com/auth/monitoring.read"; + /** Publish metric data to your Google Cloud projects. */ + const MONITORING_WRITE = + "https://www.googleapis.com/auth/monitoring.write"; + + public $projects_collectdTimeSeries; + public $projects_groups; + public $projects_groups_members; + public $projects_metricDescriptors; + public $projects_monitoredResourceDescriptors; + public $projects_timeSeries; + + /** + * Constructs the internal representation of the Monitoring service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://monitoring.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v3'; + $this->serviceName = 'monitoring'; + + $this->projects_collectdTimeSeries = new Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries( + $this, + $this->serviceName, + 'collectdTimeSeries', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v3/{+name}/collectdTimeSeries', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_groups = new Google_Service_Monitoring_Resource_ProjectsGroups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v3/{+name}/groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'validateOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v3/{+name}/groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'childrenOfGroup' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'descendantsOfGroup' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'ancestorsOfGroup' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'validateOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->projects_groups_members = new Google_Service_Monitoring_Resource_ProjectsGroupsMembers( + $this, + $this->serviceName, + 'members', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v3/{+name}/members', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'interval.endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'interval.startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_metricDescriptors = new Google_Service_Monitoring_Resource_ProjectsMetricDescriptors( + $this, + $this->serviceName, + 'metricDescriptors', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v3/{+name}/metricDescriptors', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v3/{+name}/metricDescriptors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_monitoredResourceDescriptors = new Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors( + $this, + $this->serviceName, + 'monitoredResourceDescriptors', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v3/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v3/{+name}/monitoredResourceDescriptors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_timeSeries = new Google_Service_Monitoring_Resource_ProjectsTimeSeries( + $this, + $this->serviceName, + 'timeSeries', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v3/{+name}/timeSeries', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v3/{+name}/timeSeries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'aggregation.crossSeriesReducer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'aggregation.perSeriesAligner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'interval.startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'aggregation.groupByFields' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'interval.endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'aggregation.alignmentPeriod' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php new file mode 100644 index 00000000..15a2b9e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php @@ -0,0 +1,51 @@ +explicitBuckets = $explicitBuckets; + } + public function getExplicitBuckets() + { + return $this->explicitBuckets; + } + public function setExponentialBuckets(Google_Service_Monitoring_Exponential $exponentialBuckets) + { + $this->exponentialBuckets = $exponentialBuckets; + } + public function getExponentialBuckets() + { + return $this->exponentialBuckets; + } + public function setLinearBuckets(Google_Service_Monitoring_Linear $linearBuckets) + { + $this->linearBuckets = $linearBuckets; + } + public function getLinearBuckets() + { + return $this->linearBuckets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php new file mode 100644 index 00000000..42564424 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php @@ -0,0 +1,96 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setPlugin($plugin) + { + $this->plugin = $plugin; + } + public function getPlugin() + { + return $this->plugin; + } + public function setPluginInstance($pluginInstance) + { + $this->pluginInstance = $pluginInstance; + } + public function getPluginInstance() + { + return $this->pluginInstance; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setTypeInstance($typeInstance) + { + $this->typeInstance = $typeInstance; + } + public function getTypeInstance() + { + return $this->typeInstance; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php new file mode 100644 index 00000000..5ce4cab8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php @@ -0,0 +1,49 @@ +dataSourceName = $dataSourceName; + } + public function getDataSourceName() + { + return $this->dataSourceName; + } + public function setDataSourceType($dataSourceType) + { + $this->dataSourceType = $dataSourceType; + } + public function getDataSourceType() + { + return $this->dataSourceType; + } + public function setValue(Google_Service_Monitoring_TypedValue $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php new file mode 100644 index 00000000..9c461bf5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateCollectdTimeSeriesRequest.php @@ -0,0 +1,51 @@ +collectdPayloads = $collectdPayloads; + } + public function getCollectdPayloads() + { + return $this->collectdPayloads; + } + public function setCollectdVersion($collectdVersion) + { + $this->collectdVersion = $collectdVersion; + } + public function getCollectdVersion() + { + return $this->collectdVersion; + } + public function setResource(Google_Service_Monitoring_MonitoredResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php new file mode 100644 index 00000000..3199053d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php @@ -0,0 +1,32 @@ +timeSeries = $timeSeries; + } + public function getTimeSeries() + { + return $this->timeSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php new file mode 100644 index 00000000..42bdc3c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php @@ -0,0 +1,78 @@ +bucketCounts = $bucketCounts; + } + public function getBucketCounts() + { + return $this->bucketCounts; + } + public function setBucketOptions(Google_Service_Monitoring_BucketOptions $bucketOptions) + { + $this->bucketOptions = $bucketOptions; + } + public function getBucketOptions() + { + return $this->bucketOptions; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setRange(Google_Service_Monitoring_Range $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setSumOfSquaredDeviation($sumOfSquaredDeviation) + { + $this->sumOfSquaredDeviation = $sumOfSquaredDeviation; + } + public function getSumOfSquaredDeviation() + { + return $this->sumOfSquaredDeviation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php new file mode 100644 index 00000000..7a65c161 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php @@ -0,0 +1,31 @@ +bounds = $bounds; + } + public function getBounds() + { + return $this->bounds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php new file mode 100644 index 00000000..bec5db2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php @@ -0,0 +1,48 @@ +growthFactor = $growthFactor; + } + public function getGrowthFactor() + { + return $this->growthFactor; + } + public function setNumFiniteBuckets($numFiniteBuckets) + { + $this->numFiniteBuckets = $numFiniteBuckets; + } + public function getNumFiniteBuckets() + { + return $this->numFiniteBuckets; + } + public function setScale($scale) + { + $this->scale = $scale; + } + public function getScale() + { + return $this->scale; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php new file mode 100644 index 00000000..8c777474 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Field.php @@ -0,0 +1,113 @@ +cardinality = $cardinality; + } + public function getCardinality() + { + return $this->cardinality; + } + public function setDefaultValue($defaultValue) + { + $this->defaultValue = $defaultValue; + } + public function getDefaultValue() + { + return $this->defaultValue; + } + public function setJsonName($jsonName) + { + $this->jsonName = $jsonName; + } + public function getJsonName() + { + return $this->jsonName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setOneofIndex($oneofIndex) + { + $this->oneofIndex = $oneofIndex; + } + public function getOneofIndex() + { + return $this->oneofIndex; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setPacked($packed) + { + $this->packed = $packed; + } + public function getPacked() + { + return $this->packed; + } + public function setTypeUrl($typeUrl) + { + $this->typeUrl = $typeUrl; + } + public function getTypeUrl() + { + return $this->typeUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php new file mode 100644 index 00000000..daba3e52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Group.php @@ -0,0 +1,66 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setIsCluster($isCluster) + { + $this->isCluster = $isCluster; + } + public function getIsCluster() + { + return $this->isCluster; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentName($parentName) + { + $this->parentName = $parentName; + } + public function getParentName() + { + return $this->parentName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php new file mode 100644 index 00000000..1cdde867 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php new file mode 100644 index 00000000..ccfc8fbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Linear.php @@ -0,0 +1,48 @@ +numFiniteBuckets = $numFiniteBuckets; + } + public function getNumFiniteBuckets() + { + return $this->numFiniteBuckets; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php new file mode 100644 index 00000000..c48880a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php @@ -0,0 +1,50 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php new file mode 100644 index 00000000..d5478fdf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php @@ -0,0 +1,41 @@ +group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php new file mode 100644 index 00000000..2c06e5ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php @@ -0,0 +1,41 @@ +metricDescriptors = $metricDescriptors; + } + public function getMetricDescriptors() + { + return $this->metricDescriptors; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php new file mode 100644 index 00000000..358881f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListMonitoredResourceDescriptorsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResourceDescriptors($resourceDescriptors) + { + $this->resourceDescriptors = $resourceDescriptors; + } + public function getResourceDescriptors() + { + return $this->resourceDescriptors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php new file mode 100644 index 00000000..8bbfcccd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTimeSeries($timeSeries) + { + $this->timeSeries = $timeSeries; + } + public function getTimeSeries() + { + return $this->timeSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php new file mode 100644 index 00000000..01bc87ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Metric.php @@ -0,0 +1,39 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php new file mode 100644 index 00000000..ccb29198 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php @@ -0,0 +1,95 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetricKind($metricKind) + { + $this->metricKind = $metricKind; + } + public function getMetricKind() + { + return $this->metricKind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php new file mode 100644 index 00000000..7845d3dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php @@ -0,0 +1,39 @@ +labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php new file mode 100644 index 00000000..c664f894 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php @@ -0,0 +1,68 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php new file mode 100644 index 00000000..e6becdc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php @@ -0,0 +1,20 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php new file mode 100644 index 00000000..b565897c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Point.php @@ -0,0 +1,41 @@ +interval = $interval; + } + public function getInterval() + { + return $this->interval; + } + public function setValue(Google_Service_Monitoring_TypedValue $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php new file mode 100644 index 00000000..ca54281f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Range.php @@ -0,0 +1,39 @@ +max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php new file mode 100644 index 00000000..92cf8f9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $projects = $monitoringService->projects; + * + */ +class Google_Service_Monitoring_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php new file mode 100644 index 00000000..da528965 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsCollectdTimeSeries.php @@ -0,0 +1,45 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $collectdTimeSeries = $monitoringService->collectdTimeSeries; + * + */ +class Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries extends Google_Service_Resource +{ + /** + * Stackdriver Monitoring Agent only: Creates a new time series.This method is + * only for use by the Stackdriver Monitoring Agent. Use + * projects.timeSeries.create instead. (collectdTimeSeries.create) + * + * @param string $name The project in which to create the time series. The + * format is "projects/PROJECT_ID_OR_NUMBER". + * @param Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MonitoringEmpty + */ + public function create($name, Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php new file mode 100644 index 00000000..75c24fd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php @@ -0,0 +1,130 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $groups = $monitoringService->groups; + * + */ +class Google_Service_Monitoring_Resource_ProjectsGroups extends Google_Service_Resource +{ + /** + * Creates a new group. (groups.create) + * + * @param string $name The project in which to create the group. The format is + * "projects/{project_id_or_number}". + * @param Google_Service_Monitoring_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool validateOnly If true, validate this request but do not create + * the group. + * @return Google_Service_Monitoring_Group + */ + public function create($name, Google_Service_Monitoring_Group $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Monitoring_Group"); + } + /** + * Deletes an existing group. (groups.delete) + * + * @param string $name The group to delete. The format is + * "projects/{project_id_or_number}/groups/{group_id}". + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MonitoringEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty"); + } + /** + * Gets a single group. (groups.get) + * + * @param string $name The group to retrieve. The format is + * "projects/{project_id_or_number}/groups/{group_id}". + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_Group + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Monitoring_Group"); + } + /** + * Lists the existing groups. (groups.listProjectsGroups) + * + * @param string $name The project whose groups are to be listed. The format is + * "projects/{project_id_or_number}". + * @param array $optParams Optional parameters. + * + * @opt_param string childrenOfGroup A group name: + * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose + * parentName field contains the group name. If no groups have this parent, the + * results are empty. + * @opt_param string descendantsOfGroup A group name: + * "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants + * of the specified group. This is a superset of the results returned by the + * childrenOfGroup filter, and includes children-of-children, and so forth. + * @opt_param string pageToken If this field is not empty then it must contain + * the nextPageToken value returned by a previous call to this method. Using + * this field causes the method to return additional results from the previous + * method call. + * @opt_param int pageSize A positive number that is the maximum number of + * results to return. + * @opt_param string ancestorsOfGroup A group name: + * "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are + * ancestors of the specified group. The groups are returned in order, starting + * with the immediate parent and ending with the most distant ancestor. If the + * specified group has no immediate parent, the results are empty. + * @return Google_Service_Monitoring_ListGroupsResponse + */ + public function listProjectsGroups($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupsResponse"); + } + /** + * Updates an existing group. You can change any group attributes except name. + * (groups.update) + * + * @param string $name Output only. The name of this group. The format is + * "projects/{project_id_or_number}/groups/{group_id}". When creating a group, + * this field is ignored and a new name is created consisting of the project + * specified in the call to CreateGroup and a unique {group_id} that is + * generated automatically. + * @param Google_Service_Monitoring_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool validateOnly If true, validate this request but do not update + * the existing group. + * @return Google_Service_Monitoring_Group + */ + public function update($name, Google_Service_Monitoring_Group $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Monitoring_Group"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php new file mode 100644 index 00000000..a0325309 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroupsMembers.php @@ -0,0 +1,59 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $members = $monitoringService->members; + * + */ +class Google_Service_Monitoring_Resource_ProjectsGroupsMembers extends Google_Service_Resource +{ + /** + * Lists the monitored resources that are members of a group. + * (members.listProjectsGroupsMembers) + * + * @param string $name The group whose members are listed. The format is + * "projects/{project_id_or_number}/groups/{group_id}". + * @param array $optParams Optional parameters. + * + * @opt_param string interval.endTime Required. The end of the time interval. + * @opt_param string filter An optional list filter describing the members to be + * returned. The filter may reference the type, labels, and metadata of + * monitored resources that comprise the group. For example, to return only + * resources representing Compute Engine VM instances, use this filter: + * resource.type = "gce_instance" + * @opt_param string pageToken If this field is not empty then it must contain + * the nextPageToken value returned by a previous call to this method. Using + * this field causes the method to return additional results from the previous + * method call. + * @opt_param int pageSize A positive number that is the maximum number of + * results to return. + * @opt_param string interval.startTime Optional. The beginning of the time + * interval. The default value for the start time is the end time. The start + * time must not be later than the end time. + * @return Google_Service_Monitoring_ListGroupMembersResponse + */ + public function listProjectsGroupsMembers($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupMembersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php new file mode 100644 index 00000000..a374b79e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMetricDescriptors.php @@ -0,0 +1,106 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $metricDescriptors = $monitoringService->metricDescriptors; + * + */ +class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Google_Service_Resource +{ + /** + * Creates a new metric descriptor. User-created metric descriptors define + * custom metrics. (metricDescriptors.create) + * + * @param string $name The project on which to execute the request. The format + * is "projects/{project_id_or_number}". + * @param Google_Service_Monitoring_MetricDescriptor $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MetricDescriptor + */ + public function create($name, Google_Service_Monitoring_MetricDescriptor $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Monitoring_MetricDescriptor"); + } + /** + * Deletes a metric descriptor. Only user-created custom metrics can be deleted. + * (metricDescriptors.delete) + * + * @param string $name The metric descriptor on which to execute the request. + * The format is + * "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example + * of {metric_id} is: "custom.googleapis.com/my_test_metric". + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MonitoringEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty"); + } + /** + * Gets a single metric descriptor. This method does not require a Stackdriver + * account. (metricDescriptors.get) + * + * @param string $name The metric descriptor on which to execute the request. + * The format is + * "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example + * value of {metric_id} is + * "compute.googleapis.com/instance/disk/read_bytes_count". + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MetricDescriptor + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Monitoring_MetricDescriptor"); + } + /** + * Lists metric descriptors that match a filter. This method does not require a + * Stackdriver account. (metricDescriptors.listProjectsMetricDescriptors) + * + * @param string $name The project on which to execute the request. The format + * is "projects/{project_id_or_number}". + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken If this field is not empty then it must contain + * the nextPageToken value returned by a previous call to this method. Using + * this field causes the method to return additional results from the previous + * method call. + * @opt_param int pageSize A positive number that is the maximum number of + * results to return. + * @opt_param string filter If this field is empty, all custom and system- + * defined metric descriptors are returned. Otherwise, the filter specifies + * which metric descriptors are to be returned. For example, the following + * filter matches all custom metrics: metric.type = + * starts_with("custom.googleapis.com/") + * @return Google_Service_Monitoring_ListMetricDescriptorsResponse + */ + public function listProjectsMetricDescriptors($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Monitoring_ListMetricDescriptorsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php new file mode 100644 index 00000000..f0c6d3f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsMonitoredResourceDescriptors.php @@ -0,0 +1,72 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $monitoredResourceDescriptors = $monitoringService->monitoredResourceDescriptors; + * + */ +class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors extends Google_Service_Resource +{ + /** + * Gets a single monitored resource descriptor. This method does not require a + * Stackdriver account. (monitoredResourceDescriptors.get) + * + * @param string $name The monitored resource descriptor to get. The format is " + * projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}" + * . The {resource_type} is a predefined type, such as cloudsql_database. + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MonitoredResourceDescriptor + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Monitoring_MonitoredResourceDescriptor"); + } + /** + * Lists monitored resource descriptors that match a filter. This method does + * not require a Stackdriver account. + * (monitoredResourceDescriptors.listProjectsMonitoredResourceDescriptors) + * + * @param string $name The project on which to execute the request. The format + * is "projects/{project_id_or_number}". + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken If this field is not empty then it must contain + * the nextPageToken value returned by a previous call to this method. Using + * this field causes the method to return additional results from the previous + * method call. + * @opt_param int pageSize A positive number that is the maximum number of + * results to return. + * @opt_param string filter An optional filter describing the descriptors to be + * returned. The filter can reference the descriptor's type and labels. For + * example, the following filter returns only Google Compute Engine descriptors + * that have an id label: resource.type = starts_with("gce_") AND + * resource.label:id + * @return Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse + */ + public function listProjectsMonitoredResourceDescriptors($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php new file mode 100644 index 00000000..8a1252d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php @@ -0,0 +1,119 @@ + + * $monitoringService = new Google_Service_Monitoring(...); + * $timeSeries = $monitoringService->timeSeries; + * + */ +class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Service_Resource +{ + /** + * Creates or adds data to one or more time series. The response is empty if all + * time series in the request were written. If any time series could not be + * written, a corresponding failure message is included in the error response. + * (timeSeries.create) + * + * @param string $name The project on which to execute the request. The format + * is "projects/{project_id_or_number}". + * @param Google_Service_Monitoring_CreateTimeSeriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Monitoring_MonitoringEmpty + */ + public function create($name, Google_Service_Monitoring_CreateTimeSeriesRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty"); + } + /** + * Lists time series that match a filter. This method does not require a + * Stackdriver account. (timeSeries.listProjectsTimeSeries) + * + * @param string $name The project on which to execute the request. The format + * is "projects/{project_id_or_number}". + * @param array $optParams Optional parameters. + * + * @opt_param string aggregation.crossSeriesReducer The approach to be used to + * combine time series. Not all reducer functions may be applied to all time + * series, depending on the metric type and the value type of the original time + * series. Reduction may change the metric type of value type of the time + * series.Time series data must be aligned in order to perform cross-time series + * reduction. If crossSeriesReducer is specified, then perSeriesAligner must be + * specified and not equal ALIGN_NONE and alignmentPeriod must be specified; + * otherwise, an error is returned. + * @opt_param string filter A monitoring filter that specifies which time series + * should be returned. The filter must specify a single metric type, and can + * additionally specify metric labels and other information. For example: + * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND + * metric.label.instance_name = "my-instance-name" + * @opt_param string aggregation.perSeriesAligner The approach to be used to + * align individual time series. Not all alignment functions may be applied to + * all time series, depending on the metric type and value type of the original + * time series. Alignment may change the metric type or the value type of the + * time series.Time series data must be aligned in order to perform cross-time + * series reduction. If crossSeriesReducer is specified, then perSeriesAligner + * must be specified and not equal ALIGN_NONE and alignmentPeriod must be + * specified; otherwise, an error is returned. + * @opt_param string pageToken If this field is not empty then it must contain + * the nextPageToken value returned by a previous call to this method. Using + * this field causes the method to return additional results from the previous + * method call. + * @opt_param string interval.startTime Optional. The beginning of the time + * interval. The default value for the start time is the end time. The start + * time must not be later than the end time. + * @opt_param string view Specifies which information is returned about the time + * series. + * @opt_param string aggregation.groupByFields The set of fields to preserve + * when crossSeriesReducer is specified. The groupByFields determine how the + * time series are partitioned into subsets prior to applying the aggregation + * function. Each subset contains time series that have the same value for each + * of the grouping fields. Each individual time series is a member of exactly + * one subset. The crossSeriesReducer is applied to each subset of time series. + * It is not possible to reduce across different resource types, so this field + * implicitly contains resource.type. Fields not specified in groupByFields are + * aggregated away. If groupByFields is not specified and all the time series + * have the same resource type, then the time series are aggregated into a + * single output time series. If crossSeriesReducer is not defined, this field + * is ignored. + * @opt_param string interval.endTime Required. The end of the time interval. + * @opt_param string aggregation.alignmentPeriod The alignment period for per- + * time series alignment. If present, alignmentPeriod must be at least 60 + * seconds. After per-time series alignment, each time series will contain data + * points only on the period boundaries. If perSeriesAligner is not specified or + * equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is + * specified and does not equal ALIGN_NONE, then this field must be defined; + * otherwise an error is returned. + * @opt_param int pageSize A positive number that is the maximum number of + * results to return. When view field sets to FULL, it limits the number of + * Points server will return; if view field is HEADERS, it limits the number of + * TimeSeries server will return. + * @opt_param string orderBy Specifies the order in which the points of the time + * series should be returned. By default, results are not ordered. Currently, + * this field must be left blank. + * @return Google_Service_Monitoring_ListTimeSeriesResponse + */ + public function listProjectsTimeSeries($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Monitoring_ListTimeSeriesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php new file mode 100644 index 00000000..ecad7a77 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php @@ -0,0 +1,30 @@ +fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php new file mode 100644 index 00000000..0c3305cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php @@ -0,0 +1,39 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php new file mode 100644 index 00000000..898a1dda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php @@ -0,0 +1,70 @@ +metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setMetricKind($metricKind) + { + $this->metricKind = $metricKind; + } + public function getMetricKind() + { + return $this->metricKind; + } + public function setPoints($points) + { + $this->points = $points; + } + public function getPoints() + { + return $this->points; + } + public function setResource(Google_Service_Monitoring_MonitoredResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php new file mode 100644 index 00000000..79eda5e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/Type.php @@ -0,0 +1,79 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOneofs($oneofs) + { + $this->oneofs = $oneofs; + } + public function getOneofs() + { + return $this->oneofs; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_Monitoring_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php new file mode 100644 index 00000000..58f9edfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php @@ -0,0 +1,67 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDistributionValue(Google_Service_Monitoring_Distribution $distributionValue) + { + $this->distributionValue = $distributionValue; + } + public function getDistributionValue() + { + return $this->distributionValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + public function getInt64Value() + { + return $this->int64Value; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php new file mode 100644 index 00000000..142f111e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2.php @@ -0,0 +1,150 @@ + + * Obtains end-user authorization grants for use with other Google APIs.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Oauth2 extends Google_Service +{ + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $userinfo; + public $userinfo_v2_me; + private $base_methods; + /** + * Constructs the internal representation of the Oauth2 service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'oauth2'; + + $this->userinfo = new Google_Service_Oauth2_Resource_Userinfo( + $this, + $this->serviceName, + 'userinfo', + array( + 'methods' => array( + 'get' => array( + 'path' => 'oauth2/v2/userinfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->userinfo_v2_me = new Google_Service_Oauth2_Resource_UserinfoV2Me( + $this, + $this->serviceName, + 'me', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userinfo/v2/me', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->base_methods = new Google_Service_Resource( + $this, + $this->serviceName, + '', + array( + 'methods' => array( + 'getCertForOpenIdConnect' => array( + 'path' => 'oauth2/v2/certs', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'tokeninfo' => array( + 'path' => 'oauth2/v2/tokeninfo', + 'httpMethod' => 'POST', + 'parameters' => array( + 'access_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'token_handle' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } + /** + * (getCertForOpenIdConnect) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Jwk + */ + public function getCertForOpenIdConnect($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('getCertForOpenIdConnect', array($params), "Google_Service_Oauth2_Jwk"); + } + /** + * (tokeninfo) + * + * @param array $optParams Optional parameters. + * + * @opt_param string access_token + * @opt_param string id_token + * @opt_param string token_handle + * @return Google_Service_Oauth2_Tokeninfo + */ + public function tokeninfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('tokeninfo', array($params), "Google_Service_Oauth2_Tokeninfo"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php new file mode 100644 index 00000000..18cf6e05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php @@ -0,0 +1,32 @@ +keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php new file mode 100644 index 00000000..1bfb5bd8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php @@ -0,0 +1,75 @@ +alg = $alg; + } + public function getAlg() + { + return $this->alg; + } + public function setE($e) + { + $this->e = $e; + } + public function getE() + { + return $this->e; + } + public function setKid($kid) + { + $this->kid = $kid; + } + public function getKid() + { + return $this->kid; + } + public function setKty($kty) + { + $this->kty = $kty; + } + public function getKty() + { + return $this->kty; + } + public function setN($n) + { + $this->n = $n; + } + public function getN() + { + return $this->n; + } + public function setUse($use) + { + $this->use = $use; + } + public function getUse() + { + return $this->use; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php new file mode 100644 index 00000000..6cba0256 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php @@ -0,0 +1,40 @@ + + * $oauth2Service = new Google_Service_Oauth2(...); + * $userinfo = $oauth2Service->userinfo; + * + */ +class Google_Service_Oauth2_Resource_Userinfo extends Google_Service_Resource +{ + /** + * (userinfo.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Userinfoplus + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php new file mode 100644 index 00000000..1ca820ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php @@ -0,0 +1,28 @@ + + * $oauth2Service = new Google_Service_Oauth2(...); + * $v2 = $oauth2Service->v2; + * + */ +class Google_Service_Oauth2_Resource_UserinfoV2 extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php new file mode 100644 index 00000000..b73b78e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php @@ -0,0 +1,40 @@ + + * $oauth2Service = new Google_Service_Oauth2(...); + * $me = $oauth2Service->me; + * + */ +class Google_Service_Oauth2_Resource_UserinfoV2Me extends Google_Service_Resource +{ + /** + * (me.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Userinfoplus + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php new file mode 100644 index 00000000..6632a24a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php @@ -0,0 +1,110 @@ + "access_type", + "expiresIn" => "expires_in", + "issuedTo" => "issued_to", + "tokenHandle" => "token_handle", + "userId" => "user_id", + "verifiedEmail" => "verified_email", + ); + public $accessType; + public $audience; + public $email; + public $expiresIn; + public $issuedTo; + public $scope; + public $tokenHandle; + public $userId; + public $verifiedEmail; + + public function setAccessType($accessType) + { + $this->accessType = $accessType; + } + public function getAccessType() + { + return $this->accessType; + } + public function setAudience($audience) + { + $this->audience = $audience; + } + public function getAudience() + { + return $this->audience; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIssuedTo($issuedTo) + { + $this->issuedTo = $issuedTo; + } + public function getIssuedTo() + { + return $this->issuedTo; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setTokenHandle($tokenHandle) + { + $this->tokenHandle = $tokenHandle; + } + public function getTokenHandle() + { + return $this->tokenHandle; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } + public function setVerifiedEmail($verifiedEmail) + { + $this->verifiedEmail = $verifiedEmail; + } + public function getVerifiedEmail() + { + return $this->verifiedEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php new file mode 100644 index 00000000..1d76dfd9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php @@ -0,0 +1,125 @@ + "family_name", + "givenName" => "given_name", + "verifiedEmail" => "verified_email", + ); + public $email; + public $familyName; + public $gender; + public $givenName; + public $hd; + public $id; + public $link; + public $locale; + public $name; + public $picture; + public $verifiedEmail; + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHd($hd) + { + $this->hd = $hd; + } + public function getHd() + { + return $this->hd; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPicture($picture) + { + $this->picture = $picture; + } + public function getPicture() + { + return $this->picture; + } + public function setVerifiedEmail($verifiedEmail) + { + $this->verifiedEmail = $verifiedEmail; + } + public function getVerifiedEmail() + { + return $this->verifiedEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php new file mode 100644 index 00000000..f3459b60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline.php @@ -0,0 +1,93 @@ + + * Analyzes the performance of a web page and provides tailored suggestions to + * make that page faster.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Pagespeedonline extends Google_Service +{ + + + public $pagespeedapi; + + /** + * Constructs the internal representation of the Pagespeedonline service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'pagespeedonline/v2/'; + $this->version = 'v2'; + $this->serviceName = 'pagespeedonline'; + + $this->pagespeedapi = new Google_Service_Pagespeedonline_Resource_Pagespeedapi( + $this, + $this->serviceName, + 'pagespeedapi', + array( + 'methods' => array( + 'runpagespeed' => array( + 'path' => 'runPagespeed', + 'httpMethod' => 'GET', + 'parameters' => array( + 'url' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'filter_third_party_resources' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rule' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'screenshot' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'strategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php new file mode 100644 index 00000000..2c375993 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2.php @@ -0,0 +1,41 @@ +args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php new file mode 100644 index 00000000..c1179e70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2Args.php @@ -0,0 +1,72 @@ + "secondary_rects", + ); + public $key; + protected $rectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects'; + protected $rectsDataType = 'array'; + protected $secondaryRectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects'; + protected $secondaryRectsDataType = 'array'; + public $type; + public $value; + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setRects($rects) + { + $this->rects = $rects; + } + public function getRects() + { + return $this->rects; + } + public function setSecondaryRects($secondaryRects) + { + $this->secondaryRects = $secondaryRects; + } + public function getSecondaryRects() + { + return $this->secondaryRects; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php new file mode 100644 index 00000000..a11240cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsRects.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php new file mode 100644 index 00000000..556a5fdb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiFormatStringV2ArgsSecondaryRects.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php new file mode 100644 index 00000000..3768fb4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2.php @@ -0,0 +1,80 @@ + "mime_type", + "pageRect" => "page_rect", + ); + public $data; + public $height; + public $key; + public $mimeType; + protected $pageRectType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect'; + protected $pageRectDataType = ''; + public $width; + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPageRect(Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect $pageRect) + { + $this->pageRect = $pageRect; + } + public function getPageRect() + { + return $this->pageRect; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php new file mode 100644 index 00000000..4adc16bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/PagespeedApiImageV2PageRect.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php new file mode 100644 index 00000000..bea52f24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Resource/Pagespeedapi.php @@ -0,0 +1,52 @@ + + * $pagespeedonlineService = new Google_Service_Pagespeedonline(...); + * $pagespeedapi = $pagespeedonlineService->pagespeedapi; + * + */ +class Google_Service_Pagespeedonline_Resource_Pagespeedapi extends Google_Service_Resource +{ + /** + * Runs PageSpeed analysis on the page at the specified URL, and returns + * PageSpeed scores, a list of suggestions to make that page faster, and other + * information. (pagespeedapi.runpagespeed) + * + * @param string $url The URL to fetch and analyze + * @param array $optParams Optional parameters. + * + * @opt_param bool filter_third_party_resources Indicates if third party + * resources should be filtered out before PageSpeed analysis. + * @opt_param string locale The locale used to localize formatted results + * @opt_param string rule A PageSpeed rule to run; if none are given, all rules + * are run + * @opt_param bool screenshot Indicates if binary data containing a screenshot + * should be included + * @opt_param string strategy The analysis strategy to use + * @return Google_Service_Pagespeedonline_Result + */ + public function runpagespeed($url, $optParams = array()) + { + $params = array('url' => $url); + $params = array_merge($params, $optParams); + return $this->call('runpagespeed', array($params), "Google_Service_Pagespeedonline_Result"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php new file mode 100644 index 00000000..b9aa3342 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/Result.php @@ -0,0 +1,117 @@ +formattedResults = $formattedResults; + } + public function getFormattedResults() + { + return $this->formattedResults; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInvalidRules($invalidRules) + { + $this->invalidRules = $invalidRules; + } + public function getInvalidRules() + { + return $this->invalidRules; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageStats(Google_Service_Pagespeedonline_ResultPageStats $pageStats) + { + $this->pageStats = $pageStats; + } + public function getPageStats() + { + return $this->pageStats; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } + public function setRuleGroups($ruleGroups) + { + $this->ruleGroups = $ruleGroups; + } + public function getRuleGroups() + { + return $this->ruleGroups; + } + public function setScreenshot(Google_Service_Pagespeedonline_PagespeedApiImageV2 $screenshot) + { + $this->screenshot = $screenshot; + } + public function getScreenshot() + { + return $this->screenshot; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVersion(Google_Service_Pagespeedonline_ResultVersion $version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php new file mode 100644 index 00000000..bf4ef288 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResults.php @@ -0,0 +1,40 @@ +locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setRuleResults($ruleResults) + { + $this->ruleResults = $ruleResults; + } + public function getRuleResults() + { + return $this->ruleResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php new file mode 100644 index 00000000..ef3d1874 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElement.php @@ -0,0 +1,69 @@ +groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setLocalizedRuleName($localizedRuleName) + { + $this->localizedRuleName = $localizedRuleName; + } + public function getLocalizedRuleName() + { + return $this->localizedRuleName; + } + public function setRuleImpact($ruleImpact) + { + $this->ruleImpact = $ruleImpact; + } + public function getRuleImpact() + { + return $this->ruleImpact; + } + public function setSummary(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setUrlBlocks($urlBlocks) + { + $this->urlBlocks = $urlBlocks; + } + public function getUrlBlocks() + { + return $this->urlBlocks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php new file mode 100644 index 00000000..d60e2f3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocks.php @@ -0,0 +1,42 @@ +header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php new file mode 100644 index 00000000..e6685217 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultFormattedResultsRuleResultsElementUrlBlocksUrls.php @@ -0,0 +1,42 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setResult(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php new file mode 100644 index 00000000..e1c152f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultPageStats.php @@ -0,0 +1,138 @@ +cssResponseBytes = $cssResponseBytes; + } + public function getCssResponseBytes() + { + return $this->cssResponseBytes; + } + public function setFlashResponseBytes($flashResponseBytes) + { + $this->flashResponseBytes = $flashResponseBytes; + } + public function getFlashResponseBytes() + { + return $this->flashResponseBytes; + } + public function setHtmlResponseBytes($htmlResponseBytes) + { + $this->htmlResponseBytes = $htmlResponseBytes; + } + public function getHtmlResponseBytes() + { + return $this->htmlResponseBytes; + } + public function setImageResponseBytes($imageResponseBytes) + { + $this->imageResponseBytes = $imageResponseBytes; + } + public function getImageResponseBytes() + { + return $this->imageResponseBytes; + } + public function setJavascriptResponseBytes($javascriptResponseBytes) + { + $this->javascriptResponseBytes = $javascriptResponseBytes; + } + public function getJavascriptResponseBytes() + { + return $this->javascriptResponseBytes; + } + public function setNumberCssResources($numberCssResources) + { + $this->numberCssResources = $numberCssResources; + } + public function getNumberCssResources() + { + return $this->numberCssResources; + } + public function setNumberHosts($numberHosts) + { + $this->numberHosts = $numberHosts; + } + public function getNumberHosts() + { + return $this->numberHosts; + } + public function setNumberJsResources($numberJsResources) + { + $this->numberJsResources = $numberJsResources; + } + public function getNumberJsResources() + { + return $this->numberJsResources; + } + public function setNumberResources($numberResources) + { + $this->numberResources = $numberResources; + } + public function getNumberResources() + { + return $this->numberResources; + } + public function setNumberStaticResources($numberStaticResources) + { + $this->numberStaticResources = $numberStaticResources; + } + public function getNumberStaticResources() + { + return $this->numberStaticResources; + } + public function setOtherResponseBytes($otherResponseBytes) + { + $this->otherResponseBytes = $otherResponseBytes; + } + public function getOtherResponseBytes() + { + return $this->otherResponseBytes; + } + public function setTextResponseBytes($textResponseBytes) + { + $this->textResponseBytes = $textResponseBytes; + } + public function getTextResponseBytes() + { + return $this->textResponseBytes; + } + public function setTotalRequestBytes($totalRequestBytes) + { + $this->totalRequestBytes = $totalRequestBytes; + } + public function getTotalRequestBytes() + { + return $this->totalRequestBytes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php new file mode 100644 index 00000000..6972a1c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultRuleGroupsElement.php @@ -0,0 +1,30 @@ +score = $score; + } + public function getScore() + { + return $this->score; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php new file mode 100644 index 00000000..b7fbee9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pagespeedonline/ResultVersion.php @@ -0,0 +1,39 @@ +major = $major; + } + public function getMajor() + { + return $this->major; + } + public function setMinor($minor) + { + $this->minor = $minor; + } + public function getMinor() + { + return $this->minor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php new file mode 100644 index 00000000..d6f23312 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners.php @@ -0,0 +1,877 @@ + + * Searches certified companies and creates contact leads with them, and also + * audits the usage of clients.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Partners extends Google_Service +{ + + + public $analytics; + public $clientMessages; + public $companies; + public $companies_leads; + public $exams; + public $leads; + public $offers; + public $offers_history; + public $userEvents; + public $userStates; + public $users; + public $v2; + + /** + * Constructs the internal representation of the Partners service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://partners.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'partners'; + + $this->analytics = new Google_Service_Partners_Resource_Analytics( + $this, + $this->serviceName, + 'analytics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/analytics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->clientMessages = new Google_Service_Partners_Resource_ClientMessages( + $this, + $this->serviceName, + 'clientMessages', + array( + 'methods' => array( + 'log' => array( + 'path' => 'v2/clientMessages:log', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->companies = new Google_Service_Partners_Resource_Companies( + $this, + $this->serviceName, + 'companies', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v2/companies/{companyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'companyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v2/companies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'companyName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'industries' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'websiteUrl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'gpsMotivations' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'languageCodes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'specializations' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxMonthlyBudget.currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minMonthlyBudget.currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minMonthlyBudget.units' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxMonthlyBudget.nanos' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'services' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxMonthlyBudget.units' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minMonthlyBudget.nanos' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->companies_leads = new Google_Service_Partners_Resource_CompaniesLeads( + $this, + $this->serviceName, + 'leads', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/companies/{companyId}/leads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'companyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->exams = new Google_Service_Partners_Resource_Exams( + $this, + $this->serviceName, + 'exams', + array( + 'methods' => array( + 'getToken' => array( + 'path' => 'v2/exams/{examType}/token', + 'httpMethod' => 'GET', + 'parameters' => array( + 'examType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->leads = new Google_Service_Partners_Resource_Leads( + $this, + $this->serviceName, + 'leads', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/leads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->offers = new Google_Service_Partners_Resource_Offers( + $this, + $this->serviceName, + 'offers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/offers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->offers_history = new Google_Service_Partners_Resource_OffersHistory( + $this, + $this->serviceName, + 'history', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/offers/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'entireCompany' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->userEvents = new Google_Service_Partners_Resource_UserEvents( + $this, + $this->serviceName, + 'userEvents', + array( + 'methods' => array( + 'log' => array( + 'path' => 'v2/userEvents:log', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->userStates = new Google_Service_Partners_Resource_UserStates( + $this, + $this->serviceName, + 'userStates', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/userStates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Partners_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'createCompanyRelation' => array( + 'path' => 'v2/users/{userId}/companyRelation', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'deleteCompanyRelation' => array( + 'path' => 'v2/users/{userId}/companyRelation', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userView' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'updateProfile' => array( + 'path' => 'v2/users/profile', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->v2 = new Google_Service_Partners_Resource_V2( + $this, + $this->serviceName, + 'v2', + array( + 'methods' => array( + 'getPartnersstatus' => array( + 'path' => 'v2/partnersstatus', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'updateCompanies' => array( + 'path' => 'v2/companies', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'updateLeads' => array( + 'path' => 'v2/leads', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php new file mode 100644 index 00000000..2141b58f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AdWordsManagerAccountInfo.php @@ -0,0 +1,39 @@ +customerName = $customerName; + } + public function getCustomerName() + { + return $this->customerName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php new file mode 100644 index 00000000..e2ba118f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Analytics.php @@ -0,0 +1,61 @@ +contacts = $contacts; + } + public function getContacts() + { + return $this->contacts; + } + public function setEventDate(Google_Service_Partners_Date $eventDate) + { + $this->eventDate = $eventDate; + } + public function getEventDate() + { + return $this->eventDate; + } + public function setProfileViews(Google_Service_Partners_AnalyticsDataPoint $profileViews) + { + $this->profileViews = $profileViews; + } + public function getProfileViews() + { + return $this->profileViews; + } + public function setSearchViews(Google_Service_Partners_AnalyticsDataPoint $searchViews) + { + $this->searchViews = $searchViews; + } + public function getSearchViews() + { + return $this->searchViews; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php new file mode 100644 index 00000000..f3bca347 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsDataPoint.php @@ -0,0 +1,41 @@ +eventCount = $eventCount; + } + public function getEventCount() + { + return $this->eventCount; + } + public function setEventLocations($eventLocations) + { + $this->eventLocations = $eventLocations; + } + public function getEventLocations() + { + return $this->eventLocations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php new file mode 100644 index 00000000..798a62b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AnalyticsSummary.php @@ -0,0 +1,48 @@ +contactsCount = $contactsCount; + } + public function getContactsCount() + { + return $this->contactsCount; + } + public function setProfileViewsCount($profileViewsCount) + { + $this->profileViewsCount = $profileViewsCount; + } + public function getProfileViewsCount() + { + return $this->profileViewsCount; + } + public function setSearchViewsCount($searchViewsCount) + { + $this->searchViewsCount = $searchViewsCount; + } + public function getSearchViewsCount() + { + return $this->searchViewsCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php new file mode 100644 index 00000000..257a83f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/AvailableOffer.php @@ -0,0 +1,132 @@ +available = $available; + } + public function getAvailable() + { + return $this->available; + } + public function setCountryOfferInfos($countryOfferInfos) + { + $this->countryOfferInfos = $countryOfferInfos; + } + public function getCountryOfferInfos() + { + return $this->countryOfferInfos; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMaxAccountAge($maxAccountAge) + { + $this->maxAccountAge = $maxAccountAge; + } + public function getMaxAccountAge() + { + return $this->maxAccountAge; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfferLevel($offerLevel) + { + $this->offerLevel = $offerLevel; + } + public function getOfferLevel() + { + return $this->offerLevel; + } + public function setOfferType($offerType) + { + $this->offerType = $offerType; + } + public function getOfferType() + { + return $this->offerType; + } + public function setQualifiedCustomer($qualifiedCustomer) + { + $this->qualifiedCustomer = $qualifiedCustomer; + } + public function getQualifiedCustomer() + { + return $this->qualifiedCustomer; + } + public function setQualifiedCustomersComplete($qualifiedCustomersComplete) + { + $this->qualifiedCustomersComplete = $qualifiedCustomersComplete; + } + public function getQualifiedCustomersComplete() + { + return $this->qualifiedCustomersComplete; + } + public function setShowSpecialOfferCopy($showSpecialOfferCopy) + { + $this->showSpecialOfferCopy = $showSpecialOfferCopy; + } + public function getShowSpecialOfferCopy() + { + return $this->showSpecialOfferCopy; + } + public function setTerms($terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php new file mode 100644 index 00000000..0fb5a5f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Certification.php @@ -0,0 +1,66 @@ +achieved = $achieved; + } + public function getAchieved() + { + return $this->achieved; + } + public function setCertificationType($certificationType) + { + $this->certificationType = $certificationType; + } + public function getCertificationType() + { + return $this->certificationType; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setLastAchieved($lastAchieved) + { + $this->lastAchieved = $lastAchieved; + } + public function getLastAchieved() + { + return $this->lastAchieved; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php new file mode 100644 index 00000000..fe7eb599 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationExamStatus.php @@ -0,0 +1,39 @@ +numberUsersPass = $numberUsersPass; + } + public function getNumberUsersPass() + { + return $this->numberUsersPass; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php new file mode 100644 index 00000000..7cc575b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CertificationStatus.php @@ -0,0 +1,59 @@ +examStatuses = $examStatuses; + } + public function getExamStatuses() + { + return $this->examStatuses; + } + public function setIsCertified($isCertified) + { + $this->isCertified = $isCertified; + } + public function getIsCertified() + { + return $this->isCertified; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUserCount($userCount) + { + $this->userCount = $userCount; + } + public function getUserCount() + { + return $this->userCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php new file mode 100644 index 00000000..8b276dc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Company.php @@ -0,0 +1,220 @@ +additionalWebsites = $additionalWebsites; + } + public function getAdditionalWebsites() + { + return $this->additionalWebsites; + } + public function setAutoApprovalEmailDomains($autoApprovalEmailDomains) + { + $this->autoApprovalEmailDomains = $autoApprovalEmailDomains; + } + public function getAutoApprovalEmailDomains() + { + return $this->autoApprovalEmailDomains; + } + public function setBadgeTier($badgeTier) + { + $this->badgeTier = $badgeTier; + } + public function getBadgeTier() + { + return $this->badgeTier; + } + public function setCertificationStatuses($certificationStatuses) + { + $this->certificationStatuses = $certificationStatuses; + } + public function getCertificationStatuses() + { + return $this->certificationStatuses; + } + public function setCompanyTypes($companyTypes) + { + $this->companyTypes = $companyTypes; + } + public function getCompanyTypes() + { + return $this->companyTypes; + } + public function setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget) + { + $this->convertedMinMonthlyBudget = $convertedMinMonthlyBudget; + } + public function getConvertedMinMonthlyBudget() + { + return $this->convertedMinMonthlyBudget; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndustries($industries) + { + $this->industries = $industries; + } + public function getIndustries() + { + return $this->industries; + } + public function setLocalizedInfos($localizedInfos) + { + $this->localizedInfos = $localizedInfos; + } + public function getLocalizedInfos() + { + return $this->localizedInfos; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget) + { + $this->originalMinMonthlyBudget = $originalMinMonthlyBudget; + } + public function getOriginalMinMonthlyBudget() + { + return $this->originalMinMonthlyBudget; + } + public function setPrimaryAdwordsManagerAccountId($primaryAdwordsManagerAccountId) + { + $this->primaryAdwordsManagerAccountId = $primaryAdwordsManagerAccountId; + } + public function getPrimaryAdwordsManagerAccountId() + { + return $this->primaryAdwordsManagerAccountId; + } + public function setPrimaryLanguageCode($primaryLanguageCode) + { + $this->primaryLanguageCode = $primaryLanguageCode; + } + public function getPrimaryLanguageCode() + { + return $this->primaryLanguageCode; + } + public function setPrimaryLocation(Google_Service_Partners_Location $primaryLocation) + { + $this->primaryLocation = $primaryLocation; + } + public function getPrimaryLocation() + { + return $this->primaryLocation; + } + public function setProfileStatus($profileStatus) + { + $this->profileStatus = $profileStatus; + } + public function getProfileStatus() + { + return $this->profileStatus; + } + public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile) + { + $this->publicProfile = $publicProfile; + } + public function getPublicProfile() + { + return $this->publicProfile; + } + public function setRanks($ranks) + { + $this->ranks = $ranks; + } + public function getRanks() + { + return $this->ranks; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } + public function setSpecializationStatus($specializationStatus) + { + $this->specializationStatus = $specializationStatus; + } + public function getSpecializationStatus() + { + return $this->specializationStatus; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php new file mode 100644 index 00000000..abc07b63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CompanyRelation.php @@ -0,0 +1,158 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setBadgeTier($badgeTier) + { + $this->badgeTier = $badgeTier; + } + public function getBadgeTier() + { + return $this->badgeTier; + } + public function setCompanyAdmin($companyAdmin) + { + $this->companyAdmin = $companyAdmin; + } + public function getCompanyAdmin() + { + return $this->companyAdmin; + } + public function setCompanyId($companyId) + { + $this->companyId = $companyId; + } + public function getCompanyId() + { + return $this->companyId; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setIsPending($isPending) + { + $this->isPending = $isPending; + } + public function getIsPending() + { + return $this->isPending; + } + public function setLogoUrl($logoUrl) + { + $this->logoUrl = $logoUrl; + } + public function getLogoUrl() + { + return $this->logoUrl; + } + public function setManagerAccount($managerAccount) + { + $this->managerAccount = $managerAccount; + } + public function getManagerAccount() + { + return $this->managerAccount; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setResolvedTimestamp($resolvedTimestamp) + { + $this->resolvedTimestamp = $resolvedTimestamp; + } + public function getResolvedTimestamp() + { + return $this->resolvedTimestamp; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSpecializationStatus($specializationStatus) + { + $this->specializationStatus = $specializationStatus; + } + public function getSpecializationStatus() + { + return $this->specializationStatus; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setWebsite($website) + { + $this->website = $website; + } + public function getWebsite() + { + return $this->website; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php new file mode 100644 index 00000000..5707192e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CountryOfferInfo.php @@ -0,0 +1,57 @@ +getYAmount = $getYAmount; + } + public function getGetYAmount() + { + return $this->getYAmount; + } + public function setOfferCountryCode($offerCountryCode) + { + $this->offerCountryCode = $offerCountryCode; + } + public function getOfferCountryCode() + { + return $this->offerCountryCode; + } + public function setOfferType($offerType) + { + $this->offerType = $offerType; + } + public function getOfferType() + { + return $this->offerType; + } + public function setSpendXAmount($spendXAmount) + { + $this->spendXAmount = $spendXAmount; + } + public function getSpendXAmount() + { + return $this->spendXAmount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php new file mode 100644 index 00000000..8d500808 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadRequest.php @@ -0,0 +1,51 @@ +lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRecaptchaChallenge(Google_Service_Partners_RecaptchaChallenge $recaptchaChallenge) + { + $this->recaptchaChallenge = $recaptchaChallenge; + } + public function getRecaptchaChallenge() + { + return $this->recaptchaChallenge; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php new file mode 100644 index 00000000..6a435771 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/CreateLeadResponse.php @@ -0,0 +1,50 @@ +lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRecaptchaStatus($recaptchaStatus) + { + $this->recaptchaStatus = $recaptchaStatus; + } + public function getRecaptchaStatus() + { + return $this->recaptchaStatus; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php new file mode 100644 index 00000000..3ad8c9db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php new file mode 100644 index 00000000..279e34a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/DebugInfo.php @@ -0,0 +1,48 @@ +serverInfo = $serverInfo; + } + public function getServerInfo() + { + return $this->serverInfo; + } + public function setServerTraceInfo($serverTraceInfo) + { + $this->serverTraceInfo = $serverTraceInfo; + } + public function getServerTraceInfo() + { + return $this->serverTraceInfo; + } + public function setServiceUrl($serviceUrl) + { + $this->serviceUrl = $serviceUrl; + } + public function getServiceUrl() + { + return $this->serviceUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php new file mode 100644 index 00000000..6acac885 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/EventData.php @@ -0,0 +1,40 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php new file mode 100644 index 00000000..ddc524e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamStatus.php @@ -0,0 +1,75 @@ +examType = $examType; + } + public function getExamType() + { + return $this->examType; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setLastPassed($lastPassed) + { + $this->lastPassed = $lastPassed; + } + public function getLastPassed() + { + return $this->lastPassed; + } + public function setPassed($passed) + { + $this->passed = $passed; + } + public function getPassed() + { + return $this->passed; + } + public function setTaken($taken) + { + $this->taken = $taken; + } + public function getTaken() + { + return $this->taken; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php new file mode 100644 index 00000000..6f9e2b65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ExamToken.php @@ -0,0 +1,48 @@ +examId = $examId; + } + public function getExamId() + { + return $this->examId; + } + public function setExamType($examType) + { + $this->examType = $examType; + } + public function getExamType() + { + return $this->examType; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php new file mode 100644 index 00000000..d16fae2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetCompanyResponse.php @@ -0,0 +1,41 @@ +company = $company; + } + public function getCompany() + { + return $this->company; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php new file mode 100644 index 00000000..c505c2e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/GetPartnersStatusResponse.php @@ -0,0 +1,31 @@ +responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php new file mode 100644 index 00000000..652ba5bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/HistoricalOffer.php @@ -0,0 +1,129 @@ +adwordsUrl = $adwordsUrl; + } + public function getAdwordsUrl() + { + return $this->adwordsUrl; + } + public function setClientEmail($clientEmail) + { + $this->clientEmail = $clientEmail; + } + public function getClientEmail() + { + return $this->clientEmail; + } + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setClientName($clientName) + { + $this->clientName = $clientName; + } + public function getClientName() + { + return $this->clientName; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setOfferCode($offerCode) + { + $this->offerCode = $offerCode; + } + public function getOfferCode() + { + return $this->offerCode; + } + public function setOfferCountryCode($offerCountryCode) + { + $this->offerCountryCode = $offerCountryCode; + } + public function getOfferCountryCode() + { + return $this->offerCountryCode; + } + public function setOfferType($offerType) + { + $this->offerType = $offerType; + } + public function getOfferType() + { + return $this->offerType; + } + public function setSenderName($senderName) + { + $this->senderName = $senderName; + } + public function getSenderName() + { + return $this->senderName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php new file mode 100644 index 00000000..70435aa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LatLng.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php new file mode 100644 index 00000000..ad72ed40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Lead.php @@ -0,0 +1,158 @@ +adwordsCustomerId = $adwordsCustomerId; + } + public function getAdwordsCustomerId() + { + return $this->adwordsCustomerId; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setGpsMotivations($gpsMotivations) + { + $this->gpsMotivations = $gpsMotivations; + } + public function getGpsMotivations() + { + return $this->gpsMotivations; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setMarketingOptIn($marketingOptIn) + { + $this->marketingOptIn = $marketingOptIn; + } + public function getMarketingOptIn() + { + return $this->marketingOptIn; + } + public function setMinMonthlyBudget(Google_Service_Partners_Money $minMonthlyBudget) + { + $this->minMonthlyBudget = $minMonthlyBudget; + } + public function getMinMonthlyBudget() + { + return $this->minMonthlyBudget; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php new file mode 100644 index 00000000..4299a5de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListAnalyticsResponse.php @@ -0,0 +1,61 @@ +analytics = $analytics; + } + public function getAnalytics() + { + return $this->analytics; + } + public function setAnalyticsSummary(Google_Service_Partners_AnalyticsSummary $analyticsSummary) + { + $this->analyticsSummary = $analyticsSummary; + } + public function getAnalyticsSummary() + { + return $this->analyticsSummary; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php new file mode 100644 index 00000000..bed980c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListCompaniesResponse.php @@ -0,0 +1,51 @@ +companies = $companies; + } + public function getCompanies() + { + return $this->companies; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php new file mode 100644 index 00000000..c48ea416 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListLeadsResponse.php @@ -0,0 +1,60 @@ +leads = $leads; + } + public function getLeads() + { + return $this->leads; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php new file mode 100644 index 00000000..382321ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersHistoryResponse.php @@ -0,0 +1,78 @@ +canShowEntireCompany = $canShowEntireCompany; + } + public function getCanShowEntireCompany() + { + return $this->canShowEntireCompany; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOffers($offers) + { + $this->offers = $offers; + } + public function getOffers() + { + return $this->offers; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } + public function setShowingEntireCompany($showingEntireCompany) + { + $this->showingEntireCompany = $showingEntireCompany; + } + public function getShowingEntireCompany() + { + return $this->showingEntireCompany; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php new file mode 100644 index 00000000..b538076b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListOffersResponse.php @@ -0,0 +1,51 @@ +availableOffers = $availableOffers; + } + public function getAvailableOffers() + { + return $this->availableOffers; + } + public function setNoOfferReason($noOfferReason) + { + $this->noOfferReason = $noOfferReason; + } + public function getNoOfferReason() + { + return $this->noOfferReason; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php new file mode 100644 index 00000000..18dda569 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ListUserStatesResponse.php @@ -0,0 +1,41 @@ +responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } + public function setUserStates($userStates) + { + $this->userStates = $userStates; + } + public function getUserStates() + { + return $this->userStates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php new file mode 100644 index 00000000..aad12cc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LocalizedCompanyInfo.php @@ -0,0 +1,58 @@ +countryCodes = $countryCodes; + } + public function getCountryCodes() + { + return $this->countryCodes; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php new file mode 100644 index 00000000..4acd0420 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Location.php @@ -0,0 +1,113 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAddressLine($addressLine) + { + $this->addressLine = $addressLine; + } + public function getAddressLine() + { + return $this->addressLine; + } + public function setAdministrativeArea($administrativeArea) + { + $this->administrativeArea = $administrativeArea; + } + public function getAdministrativeArea() + { + return $this->administrativeArea; + } + public function setDependentLocality($dependentLocality) + { + $this->dependentLocality = $dependentLocality; + } + public function getDependentLocality() + { + return $this->dependentLocality; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setLatLng(Google_Service_Partners_LatLng $latLng) + { + $this->latLng = $latLng; + } + public function getLatLng() + { + return $this->latLng; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } + public function setSortingCode($sortingCode) + { + $this->sortingCode = $sortingCode; + } + public function getSortingCode() + { + return $this->sortingCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php new file mode 100644 index 00000000..19f76180 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageRequest.php @@ -0,0 +1,58 @@ +clientInfo = $clientInfo; + } + public function getClientInfo() + { + return $this->clientInfo; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php new file mode 100644 index 00000000..e29a824b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogMessageResponse.php @@ -0,0 +1,31 @@ +responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php new file mode 100644 index 00000000..c374c91a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventRequest.php @@ -0,0 +1,88 @@ +eventAction = $eventAction; + } + public function getEventAction() + { + return $this->eventAction; + } + public function setEventCategory($eventCategory) + { + $this->eventCategory = $eventCategory; + } + public function getEventCategory() + { + return $this->eventCategory; + } + public function setEventDatas($eventDatas) + { + $this->eventDatas = $eventDatas; + } + public function getEventDatas() + { + return $this->eventDatas; + } + public function setEventScope($eventScope) + { + $this->eventScope = $eventScope; + } + public function getEventScope() + { + return $this->eventScope; + } + public function setLead(Google_Service_Partners_Lead $lead) + { + $this->lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php new file mode 100644 index 00000000..3584f2bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/LogUserEventResponse.php @@ -0,0 +1,31 @@ +responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php new file mode 100644 index 00000000..60d94e63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Money.php @@ -0,0 +1,48 @@ +currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php new file mode 100644 index 00000000..29c52631 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OfferCustomer.php @@ -0,0 +1,102 @@ +adwordsUrl = $adwordsUrl; + } + public function getAdwordsUrl() + { + return $this->adwordsUrl; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setEligibilityDaysLeft($eligibilityDaysLeft) + { + $this->eligibilityDaysLeft = $eligibilityDaysLeft; + } + public function getEligibilityDaysLeft() + { + return $this->eligibilityDaysLeft; + } + public function setExternalCid($externalCid) + { + $this->externalCid = $externalCid; + } + public function getExternalCid() + { + return $this->externalCid; + } + public function setGetYAmount($getYAmount) + { + $this->getYAmount = $getYAmount; + } + public function getGetYAmount() + { + return $this->getYAmount; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfferType($offerType) + { + $this->offerType = $offerType; + } + public function getOfferType() + { + return $this->offerType; + } + public function setSpendXAmount($spendXAmount) + { + $this->spendXAmount = $spendXAmount; + } + public function getSpendXAmount() + { + return $this->spendXAmount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php new file mode 100644 index 00000000..2553eb65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/OptIns.php @@ -0,0 +1,66 @@ +marketComm = $marketComm; + } + public function getMarketComm() + { + return $this->marketComm; + } + public function setPerformanceSuggestions($performanceSuggestions) + { + $this->performanceSuggestions = $performanceSuggestions; + } + public function getPerformanceSuggestions() + { + return $this->performanceSuggestions; + } + public function setPhoneContact($phoneContact) + { + $this->phoneContact = $phoneContact; + } + public function getPhoneContact() + { + return $this->phoneContact; + } + public function setPhysicalMail($physicalMail) + { + $this->physicalMail = $physicalMail; + } + public function getPhysicalMail() + { + return $this->physicalMail; + } + public function setSpecialOffers($specialOffers) + { + $this->specialOffers = $specialOffers; + } + public function getSpecialOffers() + { + return $this->specialOffers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php new file mode 100644 index 00000000..a960b04f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/PartnersEmpty.php @@ -0,0 +1,20 @@ +displayImageUrl = $displayImageUrl; + } + public function getDisplayImageUrl() + { + return $this->displayImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setProfileImage($profileImage) + { + $this->profileImage = $profileImage; + } + public function getProfileImage() + { + return $this->profileImage; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php new file mode 100644 index 00000000..c011abaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Rank.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php new file mode 100644 index 00000000..f66445d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RecaptchaChallenge.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php new file mode 100644 index 00000000..9801c731 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/RequestMetadata.php @@ -0,0 +1,69 @@ +experimentIds = $experimentIds; + } + public function getExperimentIds() + { + return $this->experimentIds; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setPartnersSessionId($partnersSessionId) + { + $this->partnersSessionId = $partnersSessionId; + } + public function getPartnersSessionId() + { + return $this->partnersSessionId; + } + public function setTrafficSource(Google_Service_Partners_TrafficSource $trafficSource) + { + $this->trafficSource = $trafficSource; + } + public function getTrafficSource() + { + return $this->trafficSource; + } + public function setUserOverrides(Google_Service_Partners_UserOverrides $userOverrides) + { + $this->userOverrides = $userOverrides; + } + public function getUserOverrides() + { + return $this->userOverrides; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php new file mode 100644 index 00000000..f319c215 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Analytics.php @@ -0,0 +1,70 @@ + + * $partnersService = new Google_Service_Partners(...); + * $analytics = $partnersService->analytics; + * + */ +class Google_Service_Partners_Resource_Analytics extends Google_Service_Resource +{ + /** + * Lists analytics data for a user's associated company. Should only be called + * within the context of an authorized logged in user. (analytics.listAnalytics) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string pageToken A token identifying a page of results that the + * server returns. Typically, this is the value of + * `ListAnalyticsResponse.next_page_token` returned from the previous call to + * ListAnalytics. Will be a date string in `YYYY-MM-DD` format representing the + * end date of the date range of results to return. If unspecified or set to "", + * default value is the current date. + * @opt_param int pageSize Requested page size. Server may return fewer + * analytics than requested. If unspecified or set to 0, default value is 30. + * Specifies the number of days in the date range when querying analytics. The + * `page_token` represents the end date of the date range and the start date is + * calculated using the `page_size` as the number of days BEFORE the end date. + * Must be a non-negative integer. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @return Google_Service_Partners_ListAnalyticsResponse + */ + public function listAnalytics($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListAnalyticsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php new file mode 100644 index 00000000..22d6813f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/ClientMessages.php @@ -0,0 +1,43 @@ + + * $partnersService = new Google_Service_Partners(...); + * $clientMessages = $partnersService->clientMessages; + * + */ +class Google_Service_Partners_Resource_ClientMessages extends Google_Service_Resource +{ + /** + * Logs a generic message from the client, such as `Failed to render component`, + * `Profile page is running slow`, `More than 500 users have accessed this + * result.`, etc. (clientMessages.log) + * + * @param Google_Service_Partners_LogMessageRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_LogMessageResponse + */ + public function log(Google_Service_Partners_LogMessageRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('log', array($params), "Google_Service_Partners_LogMessageResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php new file mode 100644 index 00000000..570eeb49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Companies.php @@ -0,0 +1,150 @@ + + * $partnersService = new Google_Service_Partners(...); + * $companies = $partnersService->companies; + * + */ +class Google_Service_Partners_Resource_Companies extends Google_Service_Resource +{ + /** + * Gets a company. (companies.get) + * + * @param string $companyId The ID of the company to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string currencyCode If the company's budget is in a different + * currency code than this one, then the converted budget is converted to this + * currency code. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string orderBy How to order addresses within the returned company. + * Currently, only `address` and `address desc` is supported which will sorted + * by closest to farthest in distance from given address and farthest to closest + * distance from given address respectively. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string view The view of `Company` resource to be returned. This + * must not be `COMPANY_VIEW_UNSPECIFIED`. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string address The address to use for sorting the company's + * addresses by proximity. If not given, the geo-located address of the request + * is used. Used when order_by is set. + * @return Google_Service_Partners_GetCompanyResponse + */ + public function get($companyId, $optParams = array()) + { + $params = array('companyId' => $companyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Partners_GetCompanyResponse"); + } + /** + * Lists companies. (companies.listCompanies) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string companyName Company name to search for. + * @opt_param string pageToken A token identifying a page of results that the + * server returns. Typically, this is the value of + * `ListCompaniesResponse.next_page_token` returned from the previous call to + * ListCompanies. + * @opt_param string industries List of industries the company can help with. + * @opt_param string websiteUrl Website URL that will help to find a better + * matched company. . + * @opt_param string gpsMotivations List of reasons for using Google Partner + * Search to get companies. + * @opt_param string languageCodes List of language codes that company can + * support. Only primary language subtags are accepted as defined by BCP 47 + * (IETF BCP 47, "Tags for Identifying Languages"). + * @opt_param int pageSize Requested page size. Server may return fewer + * companies than requested. If unspecified, server picks an appropriate + * default. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string orderBy How to order addresses within the returned + * companies. Currently, only `address` and `address desc` is supported which + * will sorted by closest to farthest in distance from given address and + * farthest to closest distance from given address respectively. + * @opt_param string specializations List of specializations that the returned + * agencies should provide. If this is not empty, any returned agency must have + * at least one of these specializations, or one of the services in the + * "services" field. + * @opt_param string maxMonthlyBudget.currencyCode The 3-letter currency code + * defined in ISO 4217. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string minMonthlyBudget.currencyCode The 3-letter currency code + * defined in ISO 4217. + * @opt_param string view The view of the `Company` resource to be returned. + * This must not be `COMPANY_VIEW_UNSPECIFIED`. + * @opt_param string address The address to use when searching for companies. If + * not given, the geo-located address of the request is used. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string minMonthlyBudget.units The whole units of the amount. For + * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + * @opt_param int maxMonthlyBudget.nanos Number of nano (10^-9) units of the + * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If + * `units` is positive, `nanos` must be positive or zero. If `units` is zero, + * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` + * must be negative or zero. For example $-1.75 is represented as `units`=-1 and + * `nanos`=-750,000,000. + * @opt_param string services List of services that the returned agencies should + * provide. If this is not empty, any returned agency must have at least one of + * these services, or one of the specializations in the "specializations" field. + * @opt_param string maxMonthlyBudget.units The whole units of the amount. For + * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param int minMonthlyBudget.nanos Number of nano (10^-9) units of the + * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If + * `units` is positive, `nanos` must be positive or zero. If `units` is zero, + * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` + * must be negative or zero. For example $-1.75 is represented as `units`=-1 and + * `nanos`=-750,000,000. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @return Google_Service_Partners_ListCompaniesResponse + */ + public function listCompanies($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListCompaniesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php new file mode 100644 index 00000000..50a36c22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/CompaniesLeads.php @@ -0,0 +1,42 @@ + + * $partnersService = new Google_Service_Partners(...); + * $leads = $partnersService->leads; + * + */ +class Google_Service_Partners_Resource_CompaniesLeads extends Google_Service_Resource +{ + /** + * Creates an advertiser lead for the given company ID. (leads.create) + * + * @param string $companyId The ID of the company to contact. + * @param Google_Service_Partners_CreateLeadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_CreateLeadResponse + */ + public function create($companyId, Google_Service_Partners_CreateLeadRequest $postBody, $optParams = array()) + { + $params = array('companyId' => $companyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Partners_CreateLeadResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php new file mode 100644 index 00000000..13536183 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Exams.php @@ -0,0 +1,59 @@ + + * $partnersService = new Google_Service_Partners(...); + * $exams = $partnersService->exams; + * + */ +class Google_Service_Partners_Resource_Exams extends Google_Service_Resource +{ + /** + * Gets an Exam Token for a Partner's user to take an exam in the Exams System + * (exams.getToken) + * + * @param string $examType The exam type we are requesting a token for. + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @return Google_Service_Partners_ExamToken + */ + public function getToken($examType, $optParams = array()) + { + $params = array('examType' => $examType); + $params = array_merge($params, $optParams); + return $this->call('getToken', array($params), "Google_Service_Partners_ExamToken"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php new file mode 100644 index 00000000..1ad2cf6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Leads.php @@ -0,0 +1,66 @@ + + * $partnersService = new Google_Service_Partners(...); + * $leads = $partnersService->leads; + * + */ +class Google_Service_Partners_Resource_Leads extends Google_Service_Resource +{ + /** + * Lists advertiser leads for a user's associated company. Should only be called + * within the context of an authorized logged in user. (leads.listLeads) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results that the + * server returns. Typically, this is the value of + * `ListLeadsResponse.next_page_token` returned from the previous call to + * ListLeads. + * @opt_param int pageSize Requested page size. Server may return fewer leads + * than requested. If unspecified, server picks an appropriate default. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string orderBy How to order Leads. Currently, only `create_time` + * and `create_time desc` are supported + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @return Google_Service_Partners_ListLeadsResponse + */ + public function listLeads($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListLeadsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php new file mode 100644 index 00000000..cc2622c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Offers.php @@ -0,0 +1,57 @@ + + * $partnersService = new Google_Service_Partners(...); + * $offers = $partnersService->offers; + * + */ +class Google_Service_Partners_Resource_Offers extends Google_Service_Resource +{ + /** + * Lists the Offers available for the current user (offers.listOffers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @return Google_Service_Partners_ListOffersResponse + */ + public function listOffers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListOffersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php new file mode 100644 index 00000000..5cd7a8f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/OffersHistory.php @@ -0,0 +1,66 @@ + + * $partnersService = new Google_Service_Partners(...); + * $history = $partnersService->history; + * + */ +class Google_Service_Partners_Resource_OffersHistory extends Google_Service_Resource +{ + /** + * Lists the Historical Offers for the current user (or user's entire company) + * (history.listOffersHistory) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to retrieve a specific page. + * @opt_param int pageSize Maximum number of rows to return per page. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param bool entireCompany if true, show history for the entire company. + * Requires user to be admin. + * @opt_param string orderBy Comma-separated list of fields to order by, e.g.: + * "foo,bar,baz". Use "foo desc" to sort descending. List of valid field names + * is: name, offer_code, expiration_time, status, last_modified_time, + * sender_name, creation_time, country_code, offer_type. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @return Google_Service_Partners_ListOffersHistoryResponse + */ + public function listOffersHistory($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListOffersHistoryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php new file mode 100644 index 00000000..552082ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserEvents.php @@ -0,0 +1,41 @@ + + * $partnersService = new Google_Service_Partners(...); + * $userEvents = $partnersService->userEvents; + * + */ +class Google_Service_Partners_Resource_UserEvents extends Google_Service_Resource +{ + /** + * Logs a user event. (userEvents.log) + * + * @param Google_Service_Partners_LogUserEventRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_LogUserEventResponse + */ + public function log(Google_Service_Partners_LogUserEventRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('log', array($params), "Google_Service_Partners_LogUserEventResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php new file mode 100644 index 00000000..6b1c2cf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/UserStates.php @@ -0,0 +1,57 @@ + + * $partnersService = new Google_Service_Partners(...); + * $userStates = $partnersService->userStates; + * + */ +class Google_Service_Partners_Resource_UserStates extends Google_Service_Resource +{ + /** + * Lists states for current user. (userStates.listUserStates) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @return Google_Service_Partners_ListUserStatesResponse + */ + public function listUserStates($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListUserStatesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php new file mode 100644 index 00000000..11cd10e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/Users.php @@ -0,0 +1,157 @@ + + * $partnersService = new Google_Service_Partners(...); + * $users = $partnersService->users; + * + */ +class Google_Service_Partners_Resource_Users extends Google_Service_Resource +{ + /** + * Creates a user's company relation. Affiliates the user to a company. + * (users.createCompanyRelation) + * + * @param string $userId The ID of the user. Can be set to me to mean the + * currently authenticated user. + * @param Google_Service_Partners_CompanyRelation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @return Google_Service_Partners_CompanyRelation + */ + public function createCompanyRelation($userId, Google_Service_Partners_CompanyRelation $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createCompanyRelation', array($params), "Google_Service_Partners_CompanyRelation"); + } + /** + * Deletes a user's company relation. Unaffiliaites the user from a company. + * (users.deleteCompanyRelation) + * + * @param string $userId The ID of the user. Can be set to me to mean the + * currently authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @return Google_Service_Partners_PartnersEmpty + */ + public function deleteCompanyRelation($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('deleteCompanyRelation', array($params), "Google_Service_Partners_PartnersEmpty"); + } + /** + * Gets a user. (users.get) + * + * @param string $userId Identifier of the user. Can be set to me to mean the + * currently authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string userView Specifies what parts of the user information to + * return. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @return Google_Service_Partners_User + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Partners_User"); + } + /** + * Updates a user's profile. A user can only update their own profile and should + * only be called within the context of a logged in user. (users.updateProfile) + * + * @param Google_Service_Partners_UserProfile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @return Google_Service_Partners_UserProfile + */ + public function updateProfile(Google_Service_Partners_UserProfile $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateProfile', array($params), "Google_Service_Partners_UserProfile"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php new file mode 100644 index 00000000..27d02f80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/Resource/V2.php @@ -0,0 +1,124 @@ + + * $partnersService = new Google_Service_Partners(...); + * $v2 = $partnersService->v2; + * + */ +class Google_Service_Partners_Resource_V2 extends Google_Service_Resource +{ + /** + * Gets Partners Status of the logged in user's agency. Should only be called if + * the logged in user is the admin of the agency. (v2.getPartnersstatus) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @return Google_Service_Partners_GetPartnersStatusResponse + */ + public function getPartnersstatus($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getPartnersstatus', array($params), "Google_Service_Partners_GetPartnersStatusResponse"); + } + /** + * Update company. Should only be called within the context of an authorized + * logged in user. (v2.updateCompanies) + * + * @param Google_Service_Partners_Company $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string updateMask Standard field mask for the set of fields to be + * updated. Required with at least 1 value in FieldMask's paths. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @return Google_Service_Partners_Company + */ + public function updateCompanies(Google_Service_Partners_Company $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateCompanies', array($params), "Google_Service_Partners_Company"); + } + /** + * Updates the specified lead. (v2.updateLeads) + * + * @param Google_Service_Partners_Lead $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string updateMask Standard field mask for the set of fields to be + * updated. Required with at least 1 value in FieldMask's paths. Only `state` + * and `adwords_customer_id` are currently supported. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @return Google_Service_Partners_Lead + */ + public function updateLeads(Google_Service_Partners_Lead $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateLeads', array($params), "Google_Service_Partners_Lead"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php new file mode 100644 index 00000000..bc4f72e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/ResponseMetadata.php @@ -0,0 +1,31 @@ +debugInfo = $debugInfo; + } + public function getDebugInfo() + { + return $this->debugInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php new file mode 100644 index 00000000..234b1ef6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/SpecializationStatus.php @@ -0,0 +1,39 @@ +badgeSpecialization = $badgeSpecialization; + } + public function getBadgeSpecialization() + { + return $this->badgeSpecialization; + } + public function setBadgeSpecializationState($badgeSpecializationState) + { + $this->badgeSpecializationState = $badgeSpecializationState; + } + public function getBadgeSpecializationState() + { + return $this->badgeSpecializationState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php new file mode 100644 index 00000000..14e34a59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/TrafficSource.php @@ -0,0 +1,39 @@ +trafficSourceId = $trafficSourceId; + } + public function getTrafficSourceId() + { + return $this->trafficSourceId; + } + public function setTrafficSubId($trafficSubId) + { + $this->trafficSubId = $trafficSubId; + } + public function getTrafficSubId() + { + return $this->trafficSubId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php new file mode 100644 index 00000000..83dabff5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/User.php @@ -0,0 +1,118 @@ +availableAdwordsManagerAccounts = $availableAdwordsManagerAccounts; + } + public function getAvailableAdwordsManagerAccounts() + { + return $this->availableAdwordsManagerAccounts; + } + public function setCertificationStatus($certificationStatus) + { + $this->certificationStatus = $certificationStatus; + } + public function getCertificationStatus() + { + return $this->certificationStatus; + } + public function setCompany(Google_Service_Partners_CompanyRelation $company) + { + $this->company = $company; + } + public function getCompany() + { + return $this->company; + } + public function setCompanyVerificationEmail($companyVerificationEmail) + { + $this->companyVerificationEmail = $companyVerificationEmail; + } + public function getCompanyVerificationEmail() + { + return $this->companyVerificationEmail; + } + public function setExamStatus($examStatus) + { + $this->examStatus = $examStatus; + } + public function getExamStatus() + { + return $this->examStatus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastAccessTime($lastAccessTime) + { + $this->lastAccessTime = $lastAccessTime; + } + public function getLastAccessTime() + { + return $this->lastAccessTime; + } + public function setPrimaryEmails($primaryEmails) + { + $this->primaryEmails = $primaryEmails; + } + public function getPrimaryEmails() + { + return $this->primaryEmails; + } + public function setProfile(Google_Service_Partners_UserProfile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile) + { + $this->publicProfile = $publicProfile; + } + public function getPublicProfile() + { + return $this->publicProfile; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php new file mode 100644 index 00000000..12c9e9e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserOverrides.php @@ -0,0 +1,39 @@ +ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php new file mode 100644 index 00000000..bd23cb25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Partners/UserProfile.php @@ -0,0 +1,150 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAdwordsManagerAccount($adwordsManagerAccount) + { + $this->adwordsManagerAccount = $adwordsManagerAccount; + } + public function getAdwordsManagerAccount() + { + return $this->adwordsManagerAccount; + } + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setEmailOptIns(Google_Service_Partners_OptIns $emailOptIns) + { + $this->emailOptIns = $emailOptIns; + } + public function getEmailOptIns() + { + return $this->emailOptIns; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setIndustries($industries) + { + $this->industries = $industries; + } + public function getIndustries() + { + return $this->industries; + } + public function setJobFunctions($jobFunctions) + { + $this->jobFunctions = $jobFunctions; + } + public function getJobFunctions() + { + return $this->jobFunctions; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setMarkets($markets) + { + $this->markets = $markets; + } + public function getMarkets() + { + return $this->markets; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPrimaryCountryCode($primaryCountryCode) + { + $this->primaryCountryCode = $primaryCountryCode; + } + public function getPrimaryCountryCode() + { + return $this->primaryCountryCode; + } + public function setProfilePublic($profilePublic) + { + $this->profilePublic = $profilePublic; + } + public function getProfilePublic() + { + return $this->profilePublic; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php new file mode 100644 index 00000000..30c0f795 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People.php @@ -0,0 +1,160 @@ + + * Provides access to information about profiles and contacts.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_People extends Google_Service +{ + /** Manage your contacts. */ + const CONTACTS = + "https://www.googleapis.com/auth/contacts"; + /** View your contacts. */ + const CONTACTS_READONLY = + "https://www.googleapis.com/auth/contacts.readonly"; + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** View your street addresses. */ + const USER_ADDRESSES_READ = + "https://www.googleapis.com/auth/user.addresses.read"; + /** View your complete date of birth. */ + const USER_BIRTHDAY_READ = + "https://www.googleapis.com/auth/user.birthday.read"; + /** View your email addresses. */ + const USER_EMAILS_READ = + "https://www.googleapis.com/auth/user.emails.read"; + /** View your phone numbers. */ + const USER_PHONENUMBERS_READ = + "https://www.googleapis.com/auth/user.phonenumbers.read"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $people; + public $people_connections; + + /** + * Constructs the internal representation of the People service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://people.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'people'; + + $this->people = new Google_Service_People_Resource_People( + $this, + $this->serviceName, + 'people', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+resourceName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resourceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestMask.includeField' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getBatchGet' => array( + 'path' => 'v1/people:batchGet', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMask.includeField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'resourceNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->people_connections = new Google_Service_People_Resource_PeopleConnections( + $this, + $this->serviceName, + 'connections', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/{+resourceName}/connections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resourceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestSyncToken' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMask.includeField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php new file mode 100644 index 00000000..2c0569df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Address.php @@ -0,0 +1,130 @@ +city = $city; + } + public function getCity() + { + return $this->city; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setExtendedAddress($extendedAddress) + { + $this->extendedAddress = $extendedAddress; + } + public function getExtendedAddress() + { + return $this->extendedAddress; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setFormattedValue($formattedValue) + { + $this->formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setPoBox($poBox) + { + $this->poBox = $poBox; + } + public function getPoBox() + { + return $this->poBox; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php new file mode 100644 index 00000000..96ed2b8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/AgeRangeType.php @@ -0,0 +1,40 @@ +ageRange = $ageRange; + } + public function getAgeRange() + { + return $this->ageRange; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php new file mode 100644 index 00000000..5b1676a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Biography.php @@ -0,0 +1,49 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php new file mode 100644 index 00000000..f00a7b1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Birthday.php @@ -0,0 +1,50 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php new file mode 100644 index 00000000..45f4668f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/BraggingRights.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php new file mode 100644 index 00000000..79e27575 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ContactGroupMembership.php @@ -0,0 +1,30 @@ +contactGroupId = $contactGroupId; + } + public function getContactGroupId() + { + return $this->contactGroupId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php new file mode 100644 index 00000000..b48da3ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/CoverPhoto.php @@ -0,0 +1,49 @@ +default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php new file mode 100644 index 00000000..247bdf02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php new file mode 100644 index 00000000..8956e35e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/DomainMembership.php @@ -0,0 +1,30 @@ +inViewerDomain = $inViewerDomain; + } + public function getInViewerDomain() + { + return $this->inViewerDomain; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php new file mode 100644 index 00000000..ea3bbe40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/EmailAddress.php @@ -0,0 +1,67 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php new file mode 100644 index 00000000..2b6311bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Event.php @@ -0,0 +1,59 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php new file mode 100644 index 00000000..752c9f12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/FieldMetadata.php @@ -0,0 +1,49 @@ +primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSource(Google_Service_People_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php new file mode 100644 index 00000000..6dc82630 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Gender.php @@ -0,0 +1,49 @@ +formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php new file mode 100644 index 00000000..9c6a16fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/GetPeopleResponse.php @@ -0,0 +1,32 @@ +responses = $responses; + } + public function getResponses() + { + return $this->responses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php new file mode 100644 index 00000000..cad9a438 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ImClient.php @@ -0,0 +1,76 @@ +formattedProtocol = $formattedProtocol; + } + public function getFormattedProtocol() + { + return $this->formattedProtocol; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setProtocol($protocol) + { + $this->protocol = $protocol; + } + public function getProtocol() + { + return $this->protocol; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php new file mode 100644 index 00000000..2cfa15f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Interest.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php new file mode 100644 index 00000000..c94f140b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php @@ -0,0 +1,50 @@ +connections = $connections; + } + public function getConnections() + { + return $this->connections; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php new file mode 100644 index 00000000..ace1c251 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Locale.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php new file mode 100644 index 00000000..dcba8d52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Membership.php @@ -0,0 +1,51 @@ +contactGroupMembership = $contactGroupMembership; + } + public function getContactGroupMembership() + { + return $this->contactGroupMembership; + } + public function setDomainMembership(Google_Service_People_DomainMembership $domainMembership) + { + $this->domainMembership = $domainMembership; + } + public function getDomainMembership() + { + return $this->domainMembership; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php new file mode 100644 index 00000000..76f2f80a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Name.php @@ -0,0 +1,148 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDisplayNameLastFirst($displayNameLastFirst) + { + $this->displayNameLastFirst = $displayNameLastFirst; + } + public function getDisplayNameLastFirst() + { + return $this->displayNameLastFirst; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHonorificPrefix($honorificPrefix) + { + $this->honorificPrefix = $honorificPrefix; + } + public function getHonorificPrefix() + { + return $this->honorificPrefix; + } + public function setHonorificSuffix($honorificSuffix) + { + $this->honorificSuffix = $honorificSuffix; + } + public function getHonorificSuffix() + { + return $this->honorificSuffix; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setMiddleName($middleName) + { + $this->middleName = $middleName; + } + public function getMiddleName() + { + return $this->middleName; + } + public function setPhoneticFamilyName($phoneticFamilyName) + { + $this->phoneticFamilyName = $phoneticFamilyName; + } + public function getPhoneticFamilyName() + { + return $this->phoneticFamilyName; + } + public function setPhoneticFullName($phoneticFullName) + { + $this->phoneticFullName = $phoneticFullName; + } + public function getPhoneticFullName() + { + return $this->phoneticFullName; + } + public function setPhoneticGivenName($phoneticGivenName) + { + $this->phoneticGivenName = $phoneticGivenName; + } + public function getPhoneticGivenName() + { + return $this->phoneticGivenName; + } + public function setPhoneticHonorificPrefix($phoneticHonorificPrefix) + { + $this->phoneticHonorificPrefix = $phoneticHonorificPrefix; + } + public function getPhoneticHonorificPrefix() + { + return $this->phoneticHonorificPrefix; + } + public function setPhoneticHonorificSuffix($phoneticHonorificSuffix) + { + $this->phoneticHonorificSuffix = $phoneticHonorificSuffix; + } + public function getPhoneticHonorificSuffix() + { + return $this->phoneticHonorificSuffix; + } + public function setPhoneticMiddleName($phoneticMiddleName) + { + $this->phoneticMiddleName = $phoneticMiddleName; + } + public function getPhoneticMiddleName() + { + return $this->phoneticMiddleName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php new file mode 100644 index 00000000..dd152314 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Nickname.php @@ -0,0 +1,49 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php new file mode 100644 index 00000000..0bb869ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Occupation.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php new file mode 100644 index 00000000..aa507534 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Organization.php @@ -0,0 +1,150 @@ +current = $current; + } + public function getCurrent() + { + return $this->current; + } + public function setDepartment($department) + { + $this->department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEndDate(Google_Service_People_Date $endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setJobDescription($jobDescription) + { + $this->jobDescription = $jobDescription; + } + public function getJobDescription() + { + return $this->jobDescription; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhoneticName($phoneticName) + { + $this->phoneticName = $phoneticName; + } + public function getPhoneticName() + { + return $this->phoneticName; + } + public function setStartDate(Google_Service_People_Date $startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setSymbol($symbol) + { + $this->symbol = $symbol; + } + public function getSymbol() + { + return $this->symbol; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php new file mode 100644 index 00000000..206e5280 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Person.php @@ -0,0 +1,319 @@ +addresses = $addresses; + } + public function getAddresses() + { + return $this->addresses; + } + public function setAgeRange($ageRange) + { + $this->ageRange = $ageRange; + } + public function getAgeRange() + { + return $this->ageRange; + } + public function setAgeRanges($ageRanges) + { + $this->ageRanges = $ageRanges; + } + public function getAgeRanges() + { + return $this->ageRanges; + } + public function setBiographies($biographies) + { + $this->biographies = $biographies; + } + public function getBiographies() + { + return $this->biographies; + } + public function setBirthdays($birthdays) + { + $this->birthdays = $birthdays; + } + public function getBirthdays() + { + return $this->birthdays; + } + public function setBraggingRights($braggingRights) + { + $this->braggingRights = $braggingRights; + } + public function getBraggingRights() + { + return $this->braggingRights; + } + public function setCoverPhotos($coverPhotos) + { + $this->coverPhotos = $coverPhotos; + } + public function getCoverPhotos() + { + return $this->coverPhotos; + } + public function setEmailAddresses($emailAddresses) + { + $this->emailAddresses = $emailAddresses; + } + public function getEmailAddresses() + { + return $this->emailAddresses; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setGenders($genders) + { + $this->genders = $genders; + } + public function getGenders() + { + return $this->genders; + } + public function setImClients($imClients) + { + $this->imClients = $imClients; + } + public function getImClients() + { + return $this->imClients; + } + public function setInterests($interests) + { + $this->interests = $interests; + } + public function getInterests() + { + return $this->interests; + } + public function setLocales($locales) + { + $this->locales = $locales; + } + public function getLocales() + { + return $this->locales; + } + public function setMemberships($memberships) + { + $this->memberships = $memberships; + } + public function getMemberships() + { + return $this->memberships; + } + public function setMetadata(Google_Service_People_PersonMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNames($names) + { + $this->names = $names; + } + public function getNames() + { + return $this->names; + } + public function setNicknames($nicknames) + { + $this->nicknames = $nicknames; + } + public function getNicknames() + { + return $this->nicknames; + } + public function setOccupations($occupations) + { + $this->occupations = $occupations; + } + public function getOccupations() + { + return $this->occupations; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPhoneNumbers($phoneNumbers) + { + $this->phoneNumbers = $phoneNumbers; + } + public function getPhoneNumbers() + { + return $this->phoneNumbers; + } + public function setPhotos($photos) + { + $this->photos = $photos; + } + public function getPhotos() + { + return $this->photos; + } + public function setRelations($relations) + { + $this->relations = $relations; + } + public function getRelations() + { + return $this->relations; + } + public function setRelationshipInterests($relationshipInterests) + { + $this->relationshipInterests = $relationshipInterests; + } + public function getRelationshipInterests() + { + return $this->relationshipInterests; + } + public function setRelationshipStatuses($relationshipStatuses) + { + $this->relationshipStatuses = $relationshipStatuses; + } + public function getRelationshipStatuses() + { + return $this->relationshipStatuses; + } + public function setResidences($residences) + { + $this->residences = $residences; + } + public function getResidences() + { + return $this->residences; + } + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } + public function setSkills($skills) + { + $this->skills = $skills; + } + public function getSkills() + { + return $this->skills; + } + public function setTaglines($taglines) + { + $this->taglines = $taglines; + } + public function getTaglines() + { + return $this->taglines; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php new file mode 100644 index 00000000..013d40bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonMetadata.php @@ -0,0 +1,68 @@ +deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setLinkedPeopleResourceNames($linkedPeopleResourceNames) + { + $this->linkedPeopleResourceNames = $linkedPeopleResourceNames; + } + public function getLinkedPeopleResourceNames() + { + return $this->linkedPeopleResourceNames; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setPreviousResourceNames($previousResourceNames) + { + $this->previousResourceNames = $previousResourceNames; + } + public function getPreviousResourceNames() + { + return $this->previousResourceNames; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php new file mode 100644 index 00000000..98f6bb54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PersonResponse.php @@ -0,0 +1,49 @@ +httpStatusCode = $httpStatusCode; + } + public function getHttpStatusCode() + { + return $this->httpStatusCode; + } + public function setPerson(Google_Service_People_Person $person) + { + $this->person = $person; + } + public function getPerson() + { + return $this->person; + } + public function setRequestedResourceName($requestedResourceName) + { + $this->requestedResourceName = $requestedResourceName; + } + public function getRequestedResourceName() + { + return $this->requestedResourceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php new file mode 100644 index 00000000..c71b0541 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/PhoneNumber.php @@ -0,0 +1,67 @@ +canonicalForm = $canonicalForm; + } + public function getCanonicalForm() + { + return $this->canonicalForm; + } + public function setFormattedType($formattedType) + { + $this->formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php new file mode 100644 index 00000000..749ab890 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Photo.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php new file mode 100644 index 00000000..9421febf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/ProfileMetadata.php @@ -0,0 +1,30 @@ +objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php new file mode 100644 index 00000000..406ec117 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Relation.php @@ -0,0 +1,58 @@ +formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setPerson($person) + { + $this->person = $person; + } + public function getPerson() + { + return $this->person; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php new file mode 100644 index 00000000..c8f2551b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipInterest.php @@ -0,0 +1,49 @@ +formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php new file mode 100644 index 00000000..bb81e569 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/RelationshipStatus.php @@ -0,0 +1,49 @@ +formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php new file mode 100644 index 00000000..8a056f7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Residence.php @@ -0,0 +1,49 @@ +current = $current; + } + public function getCurrent() + { + return $this->current; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php new file mode 100644 index 00000000..201b8ec6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/People.php @@ -0,0 +1,78 @@ + + * $peopleService = new Google_Service_People(...); + * $people = $peopleService->people; + * + */ +class Google_Service_People_Resource_People extends Google_Service_Resource +{ + /** + * Provides information about a person resource for a resource name. Use + * `people/me` to indicate the authenticated user. (people.get) + * + * @param string $resourceName The resource name of the person to provide + * information about. + * + * - To get information about the authenticated user, specify `people/me`. - To + * get information about any user, specify the resource name that identifies + * the user, such as the resource names returned by + * [`people.connections.list`](/people/api/rest/v1/people.connections/list). + * @param array $optParams Optional parameters. + * + * @opt_param string requestMask.includeField Comma-separated list of fields to + * be included in the response. Omitting this field will include all fields + * except for connections.list requests, which have a default mask that includes + * common fields like metadata, name, photo, and profile url. Each path should + * start with `person.`: for example, `person.names` or `person.photos`. + * @return Google_Service_People_Person + */ + public function get($resourceName, $optParams = array()) + { + $params = array('resourceName' => $resourceName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_People_Person"); + } + /** + * Provides information about a list of specific people by specifying a list of + * requested resource names. Use `people/me` to indicate the authenticated user. + * (people.getBatchGet) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMask.includeField Comma-separated list of fields to + * be included in the response. Omitting this field will include all fields + * except for connections.list requests, which have a default mask that includes + * common fields like metadata, name, photo, and profile url. Each path should + * start with `person.`: for example, `person.names` or `person.photos`. + * @opt_param string resourceNames The resource name, such as one returned by + * [`people.connections.list`](/people/api/rest/v1/people.connections/list), of + * one of the people to provide information about. You can include this + * parameter up to 50 times in one request. + * @return Google_Service_People_GetPeopleResponse + */ + public function getBatchGet($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getBatchGet', array($params), "Google_Service_People_GetPeopleResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php new file mode 100644 index 00000000..447af7c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Resource/PeopleConnections.php @@ -0,0 +1,59 @@ + + * $peopleService = new Google_Service_People(...); + * $connections = $peopleService->connections; + * + */ +class Google_Service_People_Resource_PeopleConnections extends Google_Service_Resource +{ + /** + * Provides a list of the authenticated user's contacts merged with any linked + * profiles. (connections.listPeopleConnections) + * + * @param string $resourceName The resource name to return connections for. Only + * `people/me` is valid. + * @param array $optParams Optional parameters. + * + * @opt_param bool requestSyncToken Whether the response should include a sync + * token, which can be used to get all changes since the last request. + * @opt_param string pageToken The token of the page to be returned. + * @opt_param string requestMask.includeField Comma-separated list of fields to + * be included in the response. Omitting this field will include all fields + * except for connections.list requests, which have a default mask that includes + * common fields like metadata, name, photo, and profile url. Each path should + * start with `person.`: for example, `person.names` or `person.photos`. + * @opt_param int pageSize The number of connections to include in the response. + * Valid values are between 1 and 500, inclusive. Defaults to 100. + * @opt_param string syncToken A sync token, returned by a previous call to + * `people.connections.list`. Only resources changed since the sync token was + * created will be returned. + * @opt_param string sortOrder The order in which the connections should be + * sorted. Defaults to `LAST_MODIFIED_ASCENDING`. + * @return Google_Service_People_ListConnectionsResponse + */ + public function listPeopleConnections($resourceName, $optParams = array()) + { + $params = array('resourceName' => $resourceName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_People_ListConnectionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php new file mode 100644 index 00000000..a54584d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Skill.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php new file mode 100644 index 00000000..190b0fc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Source.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setProfileMetadata(Google_Service_People_ProfileMetadata $profileMetadata) + { + $this->profileMetadata = $profileMetadata; + } + public function getProfileMetadata() + { + return $this->profileMetadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php new file mode 100644 index 00000000..f17c7e39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Tagline.php @@ -0,0 +1,40 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php new file mode 100644 index 00000000..fb42d674 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/People/Url.php @@ -0,0 +1,58 @@ +formattedType = $formattedType; + } + public function getFormattedType() + { + return $this->formattedType; + } + public function setMetadata(Google_Service_People_FieldMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php new file mode 100644 index 00000000..b6632567 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies.php @@ -0,0 +1,299 @@ + + * Gets the delivery status of titles for Google Play Movies Partners.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_PlayMovies extends Google_Service +{ + /** View the digital assets you publish on Google Play Movies and TV. */ + const PLAYMOVIES_PARTNER_READONLY = + "https://www.googleapis.com/auth/playmovies_partner.readonly"; + + public $accounts_avails; + public $accounts_orders; + public $accounts_storeInfos; + public $accounts_storeInfos_country; + + /** + * Constructs the internal representation of the PlayMovies service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'playmoviespartner'; + + $this->accounts_avails = new Google_Service_PlayMovies_Resource_AccountsAvails( + $this, + $this->serviceName, + 'avails', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/avails/{availId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'availId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/avails', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'altIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'altId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'territories' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_orders = new Google_Service_PlayMovies_Resource_AccountsOrders( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/orders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos = new Google_Service_PlayMovies_Resource_AccountsStoreInfos( + $this, + $this->serviceName, + 'storeInfos', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'seasonIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'countries' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos_country = new Google_Service_PlayMovies_Resource_AccountsStoreInfosCountry( + $this, + $this->serviceName, + 'country', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'videoId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'country' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php new file mode 100644 index 00000000..2486e4e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Avail.php @@ -0,0 +1,319 @@ +altId = $altId; + } + public function getAltId() + { + return $this->altId; + } + public function setAvailId($availId) + { + $this->availId = $availId; + } + public function getAvailId() + { + return $this->availId; + } + public function setCaptionExemption($captionExemption) + { + $this->captionExemption = $captionExemption; + } + public function getCaptionExemption() + { + return $this->captionExemption; + } + public function setCaptionIncluded($captionIncluded) + { + $this->captionIncluded = $captionIncluded; + } + public function getCaptionIncluded() + { + return $this->captionIncluded; + } + public function setContentId($contentId) + { + $this->contentId = $contentId; + } + public function getContentId() + { + return $this->contentId; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEncodeId($encodeId) + { + $this->encodeId = $encodeId; + } + public function getEncodeId() + { + return $this->encodeId; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setEpisodeAltId($episodeAltId) + { + $this->episodeAltId = $episodeAltId; + } + public function getEpisodeAltId() + { + return $this->episodeAltId; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias) + { + $this->episodeTitleInternalAlias = $episodeTitleInternalAlias; + } + public function getEpisodeTitleInternalAlias() + { + return $this->episodeTitleInternalAlias; + } + public function setFormatProfile($formatProfile) + { + $this->formatProfile = $formatProfile; + } + public function getFormatProfile() + { + return $this->formatProfile; + } + public function setLicenseType($licenseType) + { + $this->licenseType = $licenseType; + } + public function getLicenseType() + { + return $this->licenseType; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPriceType($priceType) + { + $this->priceType = $priceType; + } + public function getPriceType() + { + return $this->priceType; + } + public function setPriceValue($priceValue) + { + $this->priceValue = $priceValue; + } + public function getPriceValue() + { + return $this->priceValue; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setRatingReason($ratingReason) + { + $this->ratingReason = $ratingReason; + } + public function getRatingReason() + { + return $this->ratingReason; + } + public function setRatingSystem($ratingSystem) + { + $this->ratingSystem = $ratingSystem; + } + public function getRatingSystem() + { + return $this->ratingSystem; + } + public function setRatingValue($ratingValue) + { + $this->ratingValue = $ratingValue; + } + public function getRatingValue() + { + return $this->ratingValue; + } + public function setReleaseDate($releaseDate) + { + $this->releaseDate = $releaseDate; + } + public function getReleaseDate() + { + return $this->releaseDate; + } + public function setSeasonAltId($seasonAltId) + { + $this->seasonAltId = $seasonAltId; + } + public function getSeasonAltId() + { + return $this->seasonAltId; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setSeasonTitleInternalAlias($seasonTitleInternalAlias) + { + $this->seasonTitleInternalAlias = $seasonTitleInternalAlias; + } + public function getSeasonTitleInternalAlias() + { + return $this->seasonTitleInternalAlias; + } + public function setSeriesAltId($seriesAltId) + { + $this->seriesAltId = $seriesAltId; + } + public function getSeriesAltId() + { + return $this->seriesAltId; + } + public function setSeriesTitleInternalAlias($seriesTitleInternalAlias) + { + $this->seriesTitleInternalAlias = $seriesTitleInternalAlias; + } + public function getSeriesTitleInternalAlias() + { + return $this->seriesTitleInternalAlias; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStoreLanguage($storeLanguage) + { + $this->storeLanguage = $storeLanguage; + } + public function getStoreLanguage() + { + return $this->storeLanguage; + } + public function setSuppressionLiftDate($suppressionLiftDate) + { + $this->suppressionLiftDate = $suppressionLiftDate; + } + public function getSuppressionLiftDate() + { + return $this->suppressionLiftDate; + } + public function setTerritory($territory) + { + $this->territory = $territory; + } + public function getTerritory() + { + return $this->territory; + } + public function setTitleInternalAlias($titleInternalAlias) + { + $this->titleInternalAlias = $titleInternalAlias; + } + public function getTitleInternalAlias() + { + return $this->titleInternalAlias; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setWorkType($workType) + { + $this->workType = $workType; + } + public function getWorkType() + { + return $this->workType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php new file mode 100644 index 00000000..18254d25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Component.php @@ -0,0 +1,220 @@ +altCutIds = $altCutIds; + } + public function getAltCutIds() + { + return $this->altCutIds; + } + public function setApprovedTime($approvedTime) + { + $this->approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setComponentDetailType($componentDetailType) + { + $this->componentDetailType = $componentDetailType; + } + public function getComponentDetailType() + { + return $this->componentDetailType; + } + public function setComponentId($componentId) + { + $this->componentId = $componentId; + } + public function getComponentId() + { + return $this->componentId; + } + public function setCustomIds($customIds) + { + $this->customIds = $customIds; + } + public function getCustomIds() + { + return $this->customIds; + } + public function setEditLevelEidrs($editLevelEidrs) + { + $this->editLevelEidrs = $editLevelEidrs; + } + public function getEditLevelEidrs() + { + return $this->editLevelEidrs; + } + public function setElIds($elIds) + { + $this->elIds = $elIds; + } + public function getElIds() + { + return $this->elIds; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setPlayableUnitType($playableUnitType) + { + $this->playableUnitType = $playableUnitType; + } + public function getPlayableUnitType() + { + return $this->playableUnitType; + } + public function setPphName($pphName) + { + $this->pphName = $pphName; + } + public function getPphName() + { + return $this->pphName; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setProcessingErrors($processingErrors) + { + $this->processingErrors = $processingErrors; + } + public function getProcessingErrors() + { + return $this->processingErrors; + } + public function setReceivedTime($receivedTime) + { + $this->receivedTime = $receivedTime; + } + public function getReceivedTime() + { + return $this->receivedTime; + } + public function setRejectionNote($rejectionNote) + { + $this->rejectionNote = $rejectionNote; + } + public function getRejectionNote() + { + return $this->rejectionNote; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusDetail($statusDetail) + { + $this->statusDetail = $statusDetail; + } + public function getStatusDetail() + { + return $this->statusDetail; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setTitleLevelEidrs($titleLevelEidrs) + { + $this->titleLevelEidrs = $titleLevelEidrs; + } + public function getTitleLevelEidrs() + { + return $this->titleLevelEidrs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php new file mode 100644 index 00000000..5be5eb00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ExperienceLocale.php @@ -0,0 +1,229 @@ +altCutId = $altCutId; + } + public function getAltCutId() + { + return $this->altCutId; + } + public function setApprovedTime($approvedTime) + { + $this->approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setCustomIds($customIds) + { + $this->customIds = $customIds; + } + public function getCustomIds() + { + return $this->customIds; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setElId($elId) + { + $this->elId = $elId; + } + public function getElId() + { + return $this->elId; + } + public function setInventoryId($inventoryId) + { + $this->inventoryId = $inventoryId; + } + public function getInventoryId() + { + return $this->inventoryId; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setPlayableSequenceId($playableSequenceId) + { + $this->playableSequenceId = $playableSequenceId; + } + public function getPlayableSequenceId() + { + return $this->playableSequenceId; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPresentationId($presentationId) + { + $this->presentationId = $presentationId; + } + public function getPresentationId() + { + return $this->presentationId; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php new file mode 100644 index 00000000..d9d0b024 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListAvailsResponse.php @@ -0,0 +1,50 @@ +avails = $avails; + } + public function getAvails() + { + return $this->avails; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php new file mode 100644 index 00000000..0b7d6d1d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListComponentsResponse.php @@ -0,0 +1,50 @@ +components = $components; + } + public function getComponents() + { + return $this->components; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php new file mode 100644 index 00000000..759d168a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListExperienceLocalesResponse.php @@ -0,0 +1,50 @@ +experienceLocales = $experienceLocales; + } + public function getExperienceLocales() + { + return $this->experienceLocales; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php new file mode 100644 index 00000000..4310ffa8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListOrdersResponse.php @@ -0,0 +1,50 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php new file mode 100644 index 00000000..cf6ee714 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/ListStoreInfosResponse.php @@ -0,0 +1,50 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStoreInfos($storeInfos) + { + $this->storeInfos = $storeInfos; + } + public function getStoreInfos() + { + return $this->storeInfos; + } + public function setTotalSize($totalSize) + { + $this->totalSize = $totalSize; + } + public function getTotalSize() + { + return $this->totalSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php new file mode 100644 index 00000000..9566397d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Order.php @@ -0,0 +1,229 @@ +approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelName($channelName) + { + $this->channelName = $channelName; + } + public function getChannelName() + { + return $this->channelName; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setCustomId($customId) + { + $this->customId = $customId; + } + public function getCustomId() + { + return $this->customId; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEpisodeName($episodeName) + { + $this->episodeName = $episodeName; + } + public function getEpisodeName() + { + return $this->episodeName; + } + public function setLegacyPriority($legacyPriority) + { + $this->legacyPriority = $legacyPriority; + } + public function getLegacyPriority() + { + return $this->legacyPriority; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setOrderedTime($orderedTime) + { + $this->orderedTime = $orderedTime; + } + public function getOrderedTime() + { + return $this->orderedTime; + } + public function setPphName($pphName) + { + $this->pphName = $pphName; + } + public function getPphName() + { + return $this->pphName; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setReceivedTime($receivedTime) + { + $this->receivedTime = $receivedTime; + } + public function getReceivedTime() + { + return $this->receivedTime; + } + public function setRejectionNote($rejectionNote) + { + $this->rejectionNote = $rejectionNote; + } + public function getRejectionNote() + { + return $this->rejectionNote; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusDetail($statusDetail) + { + $this->statusDetail = $statusDetail; + } + public function getStatusDetail() + { + return $this->statusDetail; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php new file mode 100644 index 00000000..cdae3bf1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/Accounts.php @@ -0,0 +1,28 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $accounts = $playmoviespartnerService->accounts; + * + */ +class Google_Service_PlayMovies_Resource_Accounts extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php new file mode 100644 index 00000000..36e258c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsAvails.php @@ -0,0 +1,82 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $avails = $playmoviespartnerService->avails; + * + */ +class Google_Service_PlayMovies_Resource_AccountsAvails extends Google_Service_Resource +{ + /** + * Get an Avail given its avail group id and avail id. (avails.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $availId REQUIRED. Avail ID. + * @param array $optParams Optional parameters. + * @return Google_Service_PlayMovies_Avail + */ + public function get($accountId, $availId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'availId' => $availId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlayMovies_Avail"); + } + /** + * List Avails owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and _List methods rules_ for + * more information about this method. (avails.listAccountsAvails) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string title Filter that matches Avails with a + * `title_internal_alias`, `series_title_internal_alias`, + * `season_title_internal_alias`, or `episode_title_internal_alias` that + * contains the given case-insensitive title. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string videoIds Filter Avails that match any of the given + * `video_id`s. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string altIds Filter Avails that match (case-insensitive) any of + * the given partner-specific custom ids. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string altId Filter Avails that match a case-insensitive, partner- + * specific custom id. NOTE: this field is deprecated and will be removed on V2; + * `alt_ids` should be used instead. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string territories Filter Avails that match (case-insensitive) any + * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples: + * "US", "us", "Us"). + * @return Google_Service_PlayMovies_ListAvailsResponse + */ + public function listAccountsAvails($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlayMovies_ListAvailsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php new file mode 100644 index 00000000..1dcd25fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponents.php @@ -0,0 +1,69 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $components = $playmoviespartnerService->components; + * + */ +class Google_Service_PlayMovies_Resource_AccountsComponents extends Google_Service_Resource +{ + /** + * List Components owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (components.listAccountsComponents) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string titleLevelEidr Filter Components that match a given title- + * level EIDR. + * @opt_param string editLevelEidr Filter Components that match a given edit- + * level EIDR. + * @opt_param string status Filter Components that match one of the given + * status. + * @opt_param string customId Filter Components that match a case-insensitive + * partner-specific custom id. + * @opt_param string inventoryId InventoryID available in Common Manifest. + * @opt_param string presentationId PresentationID available in Common Manifest. + * @opt_param string playableSequenceId PlayableSequenceID available in Common + * Manifest. + * @opt_param string elId Experience ID, as defined by Google. + * @opt_param string altCutId Filter Components that match a case-insensitive, + * partner-specific Alternative Cut ID. + * @opt_param string filename Filter Components that match a case-insensitive + * substring of the physical name of the delivered file. + * @return Google_Service_PlayMovies_ListComponentsResponse + */ + public function listAccountsComponents($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlayMovies_ListComponentsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php new file mode 100644 index 00000000..e19aa37d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsComponentsType.php @@ -0,0 +1,44 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $type = $playmoviespartnerService->type; + * + */ +class Google_Service_PlayMovies_Resource_AccountsComponentsType extends Google_Service_Resource +{ + /** + * Get a Component given its id. (type.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $componentId REQUIRED. Component ID. + * @param string $type REQUIRED. Component Type. + * @param array $optParams Optional parameters. + * @return Google_Service_PlayMovies_Component + */ + public function get($accountId, $componentId, $type, $optParams = array()) + { + $params = array('accountId' => $accountId, 'componentId' => $componentId, 'type' => $type); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlayMovies_Component"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php new file mode 100644 index 00000000..5100b158 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsExperienceLocales.php @@ -0,0 +1,79 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $experienceLocales = $playmoviespartnerService->experienceLocales; + * + */ +class Google_Service_PlayMovies_Resource_AccountsExperienceLocales extends Google_Service_Resource +{ + /** + * Get an ExperienceLocale given its id. See _Authentication and Authorization + * rules_ and _Get methods rules_ for more information about this method. + * (experienceLocales.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google. + * @param array $optParams Optional parameters. + * @return Google_Service_PlayMovies_ExperienceLocale + */ + public function get($accountId, $elId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'elId' => $elId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlayMovies_ExperienceLocale"); + } + /** + * List ExperienceLocales owned or managed by the partner. See _Authentication + * and Authorization rules_ and _List methods rules_ for more information about + * this method. (experienceLocales.listAccountsExperienceLocales) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given + * title-level EIDR. + * @opt_param string editLevelEidr Filter ExperienceLocales that match a given + * edit-level EIDR. + * @opt_param string status Filter ExperienceLocales that match one of the given + * status. + * @opt_param string customId Filter ExperienceLocales that match a case- + * insensitive, partner-specific custom id. + * @opt_param string altCutId Filter ExperienceLocales that match a case- + * insensitive, partner-specific Alternative Cut ID. + * @return Google_Service_PlayMovies_ListExperienceLocalesResponse + */ + public function listAccountsExperienceLocales($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlayMovies_ListExperienceLocalesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php new file mode 100644 index 00000000..0909ddd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsOrders.php @@ -0,0 +1,78 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $orders = $playmoviespartnerService->orders; + * + */ +class Google_Service_PlayMovies_Resource_AccountsOrders extends Google_Service_Resource +{ + /** + * Get an Order given its id. + * + * See _Authentication and Authorization rules_ and _Get methods rules_ for more + * information about this method. (orders.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $orderId REQUIRED. Order ID. + * @param array $optParams Optional parameters. + * @return Google_Service_PlayMovies_Order + */ + public function get($accountId, $orderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlayMovies_Order"); + } + /** + * List Orders owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and _List methods rules_ for + * more information about this method. (orders.listAccountsOrders) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string videoIds Filter Orders that match any of the given + * `video_id`s. + * @opt_param string customId Filter Orders that match a case-insensitive, + * partner-specific custom id. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string status Filter Orders that match one of the given status. + * @opt_param string name Filter that matches Orders with a `name`, `show`, + * `season` or `episode` that contains the given case-insensitive name. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @return Google_Service_PlayMovies_ListOrdersResponse + */ + public function listAccountsOrders($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlayMovies_ListOrdersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php new file mode 100644 index 00000000..69754099 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfos.php @@ -0,0 +1,66 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $storeInfos = $playmoviespartnerService->storeInfos; + * + */ +class Google_Service_PlayMovies_Resource_AccountsStoreInfos extends Google_Service_Resource +{ + /** + * List StoreInfos owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and _List methods rules_ for + * more information about this method. (storeInfos.listAccountsStoreInfos) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string name Filter that matches StoreInfos with a `name` or + * `show_name` that contains the given case-insensitive name. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string seasonIds Filter StoreInfos that match any of the given + * `season_id`s. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string videoId Filter StoreInfos that match a given `video_id`. + * NOTE: this field is deprecated and will be removed on V2; `video_ids` should + * be used instead. + * @opt_param string videoIds Filter StoreInfos that match any of the given + * `video_id`s. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string mids Filter StoreInfos that match any of the given `mid`s. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string countries Filter StoreInfos that match (case-insensitive) + * any of the given country codes, using the "ISO 3166-1 alpha-2" format + * (examples: "US", "us", "Us"). + * @return Google_Service_PlayMovies_ListStoreInfosResponse + */ + public function listAccountsStoreInfos($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlayMovies_ListStoreInfosResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php new file mode 100644 index 00000000..9d1c8686 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/Resource/AccountsStoreInfosCountry.php @@ -0,0 +1,47 @@ + + * $playmoviespartnerService = new Google_Service_PlayMovies(...); + * $country = $playmoviespartnerService->country; + * + */ +class Google_Service_PlayMovies_Resource_AccountsStoreInfosCountry extends Google_Service_Resource +{ + /** + * Get a StoreInfo given its video id and country. + * + * See _Authentication and Authorization rules_ and _Get methods rules_ for more + * information about this method. (country.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $videoId REQUIRED. Video ID. + * @param string $country REQUIRED. Edit country. + * @param array $optParams Optional parameters. + * @return Google_Service_PlayMovies_StoreInfo + */ + public function get($accountId, $videoId, $country, $optParams = array()) + { + $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlayMovies_StoreInfo"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php new file mode 100644 index 00000000..2f254506 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlayMovies/StoreInfo.php @@ -0,0 +1,247 @@ +audioTracks = $audioTracks; + } + public function getAudioTracks() + { + return $this->audioTracks; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setHasAudio51($hasAudio51) + { + $this->hasAudio51 = $hasAudio51; + } + public function getHasAudio51() + { + return $this->hasAudio51; + } + public function setHasEstOffer($hasEstOffer) + { + $this->hasEstOffer = $hasEstOffer; + } + public function getHasEstOffer() + { + return $this->hasEstOffer; + } + public function setHasHdOffer($hasHdOffer) + { + $this->hasHdOffer = $hasHdOffer; + } + public function getHasHdOffer() + { + return $this->hasHdOffer; + } + public function setHasInfoCards($hasInfoCards) + { + $this->hasInfoCards = $hasInfoCards; + } + public function getHasInfoCards() + { + return $this->hasInfoCards; + } + public function setHasSdOffer($hasSdOffer) + { + $this->hasSdOffer = $hasSdOffer; + } + public function getHasSdOffer() + { + return $this->hasSdOffer; + } + public function setHasVodOffer($hasVodOffer) + { + $this->hasVodOffer = $hasVodOffer; + } + public function getHasVodOffer() + { + return $this->hasVodOffer; + } + public function setLiveTime($liveTime) + { + $this->liveTime = $liveTime; + } + public function getLiveTime() + { + return $this->liveTime; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setSeasonId($seasonId) + { + $this->seasonId = $seasonId; + } + public function getSeasonId() + { + return $this->seasonId; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setShowId($showId) + { + $this->showId = $showId; + } + public function getShowId() + { + return $this->showId; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setSubtitles($subtitles) + { + $this->subtitles = $subtitles; + } + public function getSubtitles() + { + return $this->subtitles; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php new file mode 100644 index 00000000..d86c8263 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner.php @@ -0,0 +1,339 @@ + + * Lets Google Play Movies Partners get the delivery status of their titles.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Playmoviespartner extends Google_Service +{ + /** View the digital assets you publish on Google Play Movies and TV. */ + const PLAYMOVIES_PARTNER_READONLY = + "https://www.googleapis.com/auth/playmovies_partner.readonly"; + + public $accounts_avails; + public $accounts_experienceLocales; + public $accounts_orders; + public $accounts_storeInfos; + public $accounts_storeInfos_country; + + /** + * Constructs the internal representation of the Playmoviespartner service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'playmoviespartner'; + + $this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvailsResource( + $this, + $this->serviceName, + 'avails', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/accounts/{accountId}/avails', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'territories' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'altId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocalesResource( + $this, + $this->serviceName, + 'experienceLocales', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/experienceLocales/{elId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'elId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/experienceLocales', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'titleLevelEidr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'editLevelEidr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'altCutId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrdersResource( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/orders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'customId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfosResource( + $this, + $this->serviceName, + 'storeInfos', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'countries' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountryResource( + $this, + $this->serviceName, + 'country', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'videoId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'country' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php new file mode 100644 index 00000000..24be08df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsAvailsResource.php @@ -0,0 +1,61 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $avails = $playmoviespartnerService->avails; + * + */ +class Google_Service_Playmoviespartner_AccountsAvailsResource extends Google_Service_Resource +{ + /** + * List Avails owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (avails.listAccountsAvails) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string title Filter Avails that match a case-insensitive substring + * of the default Title name. + * @opt_param string territories Filter Avails that match (case-insensitive) any + * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples: + * "US", "us", "Us"). + * @opt_param string altId Filter Avails that match a case-insensitive, partner- + * specific custom id. + * @opt_param string videoIds Filter Avails that match any of the given + * `video_id`s. + * @return Google_Service_Playmoviespartner_ListAvailsResponse + */ + public function listAccountsAvails($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListAvailsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php new file mode 100644 index 00000000..8173afa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsExperienceLocalesResource.php @@ -0,0 +1,79 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $experienceLocales = $playmoviespartnerService->experienceLocales; + * + */ +class Google_Service_Playmoviespartner_AccountsExperienceLocalesResource extends Google_Service_Resource +{ + /** + * Get an ExperienceLocale given its id. See _Authentication and Authorization + * rules_ and _Get methods rules_ for more information about this method. + * (experienceLocales.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_ExperienceLocale + */ + public function get($accountId, $elId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'elId' => $elId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_ExperienceLocale"); + } + /** + * List ExperienceLocales owned or managed by the partner. See _Authentication + * and Authorization rules_ and _List methods rules_ for more information about + * this method. (experienceLocales.listAccountsExperienceLocales) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given + * title-level EIDR. + * @opt_param string editLevelEidr Filter ExperienceLocales that match a given + * edit-level EIDR. + * @opt_param string status Filter ExperienceLocales that match one of the given + * status. + * @opt_param string customId Filter ExperienceLocales that match a case- + * insensitive, partner-specific custom id. + * @opt_param string altCutId Filter ExperienceLocales that match a case- + * insensitive, partner-specific Alternative Cut ID. + * @return Google_Service_Playmoviespartner_ListExperienceLocalesResponse + */ + public function listAccountsExperienceLocales($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListExperienceLocalesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php new file mode 100644 index 00000000..b1012d14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsOrdersResource.php @@ -0,0 +1,73 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $orders = $playmoviespartnerService->orders; + * + */ +class Google_Service_Playmoviespartner_AccountsOrdersResource extends Google_Service_Resource +{ + /** + * Get an Order given its id. See _Authentication and Authorization rules_ and + * _Get methods rules_ for more information about this method. (orders.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $orderId REQUIRED. Order ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_Order + */ + public function get($accountId, $orderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_Order"); + } + /** + * List Orders owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (orders.listAccountsOrders) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string name Filter Orders that match a title name (case- + * insensitive, sub-string match). + * @opt_param string status Filter Orders that match one of the given status. + * @opt_param string customId Filter Orders that match a case-insensitive, + * partner-specific custom id. + * @return Google_Service_Playmoviespartner_ListOrdersResponse + */ + public function listAccountsOrders($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListOrdersResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php new file mode 100644 index 00000000..36f65d25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsResource.php @@ -0,0 +1,28 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $accounts = $playmoviespartnerService->accounts; + * + */ +class Google_Service_Playmoviespartner_AccountsResource extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php new file mode 100644 index 00000000..f49667a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosCountryResource.php @@ -0,0 +1,46 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $country = $playmoviespartnerService->country; + * + */ +class Google_Service_Playmoviespartner_AccountsStoreInfosCountryResource extends Google_Service_Resource +{ + /** + * Get a StoreInfo given its video id and country. See _Authentication and + * Authorization rules_ and _Get methods rules_ for more information about this + * method. (country.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $videoId REQUIRED. Video ID. + * @param string $country REQUIRED. Edit country. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_StoreInfo + */ + public function get($accountId, $videoId, $country, $optParams = array()) + { + $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_StoreInfo"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php new file mode 100644 index 00000000..2cb9fcd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/AccountsStoreInfosResource.php @@ -0,0 +1,62 @@ + + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $storeInfos = $playmoviespartnerService->storeInfos; + * + */ +class Google_Service_Playmoviespartner_AccountsStoreInfosResource extends Google_Service_Resource +{ + /** + * List StoreInfos owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (storeInfos.listAccountsStoreInfos) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string videoId Filter StoreInfos that match a given `video_id`. + * NOTE: this field is deprecated and will be removed on V2; `video_ids` should + * be used instead. + * @opt_param string countries Filter StoreInfos that match (case-insensitive) + * any of the given country codes, using the "ISO 3166-1 alpha-2" format + * (examples: "US", "us", "Us"). + * @opt_param string name Filter StoreInfos that match a case-insensitive + * substring of the default name. + * @opt_param string videoIds Filter StoreInfos that match any of the given + * `video_id`s. + * @return Google_Service_Playmoviespartner_ListStoreInfosResponse + */ + public function listAccountsStoreInfos($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListStoreInfosResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php new file mode 100644 index 00000000..b17a5623 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Avail.php @@ -0,0 +1,310 @@ +altId = $altId; + } + public function getAltId() + { + return $this->altId; + } + public function setCaptionExemption($captionExemption) + { + $this->captionExemption = $captionExemption; + } + public function getCaptionExemption() + { + return $this->captionExemption; + } + public function setCaptionIncluded($captionIncluded) + { + $this->captionIncluded = $captionIncluded; + } + public function getCaptionIncluded() + { + return $this->captionIncluded; + } + public function setContentId($contentId) + { + $this->contentId = $contentId; + } + public function getContentId() + { + return $this->contentId; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEncodeId($encodeId) + { + $this->encodeId = $encodeId; + } + public function getEncodeId() + { + return $this->encodeId; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setEpisodeAltId($episodeAltId) + { + $this->episodeAltId = $episodeAltId; + } + public function getEpisodeAltId() + { + return $this->episodeAltId; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias) + { + $this->episodeTitleInternalAlias = $episodeTitleInternalAlias; + } + public function getEpisodeTitleInternalAlias() + { + return $this->episodeTitleInternalAlias; + } + public function setFormatProfile($formatProfile) + { + $this->formatProfile = $formatProfile; + } + public function getFormatProfile() + { + return $this->formatProfile; + } + public function setLicenseType($licenseType) + { + $this->licenseType = $licenseType; + } + public function getLicenseType() + { + return $this->licenseType; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPriceType($priceType) + { + $this->priceType = $priceType; + } + public function getPriceType() + { + return $this->priceType; + } + public function setPriceValue($priceValue) + { + $this->priceValue = $priceValue; + } + public function getPriceValue() + { + return $this->priceValue; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setRatingReason($ratingReason) + { + $this->ratingReason = $ratingReason; + } + public function getRatingReason() + { + return $this->ratingReason; + } + public function setRatingSystem($ratingSystem) + { + $this->ratingSystem = $ratingSystem; + } + public function getRatingSystem() + { + return $this->ratingSystem; + } + public function setRatingValue($ratingValue) + { + $this->ratingValue = $ratingValue; + } + public function getRatingValue() + { + return $this->ratingValue; + } + public function setReleaseDate($releaseDate) + { + $this->releaseDate = $releaseDate; + } + public function getReleaseDate() + { + return $this->releaseDate; + } + public function setSeasonAltId($seasonAltId) + { + $this->seasonAltId = $seasonAltId; + } + public function getSeasonAltId() + { + return $this->seasonAltId; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setSeasonTitleInternalAlias($seasonTitleInternalAlias) + { + $this->seasonTitleInternalAlias = $seasonTitleInternalAlias; + } + public function getSeasonTitleInternalAlias() + { + return $this->seasonTitleInternalAlias; + } + public function setSeriesAltId($seriesAltId) + { + $this->seriesAltId = $seriesAltId; + } + public function getSeriesAltId() + { + return $this->seriesAltId; + } + public function setSeriesTitleInternalAlias($seriesTitleInternalAlias) + { + $this->seriesTitleInternalAlias = $seriesTitleInternalAlias; + } + public function getSeriesTitleInternalAlias() + { + return $this->seriesTitleInternalAlias; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStoreLanguage($storeLanguage) + { + $this->storeLanguage = $storeLanguage; + } + public function getStoreLanguage() + { + return $this->storeLanguage; + } + public function setSuppressionLiftDate($suppressionLiftDate) + { + $this->suppressionLiftDate = $suppressionLiftDate; + } + public function getSuppressionLiftDate() + { + return $this->suppressionLiftDate; + } + public function setTerritory($territory) + { + $this->territory = $territory; + } + public function getTerritory() + { + return $this->territory; + } + public function setTitleInternalAlias($titleInternalAlias) + { + $this->titleInternalAlias = $titleInternalAlias; + } + public function getTitleInternalAlias() + { + return $this->titleInternalAlias; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setWorkType($workType) + { + $this->workType = $workType; + } + public function getWorkType() + { + return $this->workType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php new file mode 100644 index 00000000..d9219b51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ExperienceLocale.php @@ -0,0 +1,229 @@ +altCutId = $altCutId; + } + public function getAltCutId() + { + return $this->altCutId; + } + public function setApprovedTime($approvedTime) + { + $this->approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setCustomIds($customIds) + { + $this->customIds = $customIds; + } + public function getCustomIds() + { + return $this->customIds; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setElId($elId) + { + $this->elId = $elId; + } + public function getElId() + { + return $this->elId; + } + public function setInventoryId($inventoryId) + { + $this->inventoryId = $inventoryId; + } + public function getInventoryId() + { + return $this->inventoryId; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setPlayableSequenceId($playableSequenceId) + { + $this->playableSequenceId = $playableSequenceId; + } + public function getPlayableSequenceId() + { + return $this->playableSequenceId; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPresentationId($presentationId) + { + $this->presentationId = $presentationId; + } + public function getPresentationId() + { + return $this->presentationId; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php new file mode 100644 index 00000000..a20847e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListAvailsResponse.php @@ -0,0 +1,41 @@ +avails = $avails; + } + public function getAvails() + { + return $this->avails; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php new file mode 100644 index 00000000..3c3a475c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListExperienceLocalesResponse.php @@ -0,0 +1,41 @@ +experienceLocales = $experienceLocales; + } + public function getExperienceLocales() + { + return $this->experienceLocales; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php new file mode 100644 index 00000000..dc39cb36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListOrdersResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php new file mode 100644 index 00000000..bc953255 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/ListStoreInfosResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStoreInfos($storeInfos) + { + $this->storeInfos = $storeInfos; + } + public function getStoreInfos() + { + return $this->storeInfos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php new file mode 100644 index 00000000..44664f20 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/Order.php @@ -0,0 +1,229 @@ +approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelName($channelName) + { + $this->channelName = $channelName; + } + public function getChannelName() + { + return $this->channelName; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setCustomId($customId) + { + $this->customId = $customId; + } + public function getCustomId() + { + return $this->customId; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEpisodeName($episodeName) + { + $this->episodeName = $episodeName; + } + public function getEpisodeName() + { + return $this->episodeName; + } + public function setLegacyPriority($legacyPriority) + { + $this->legacyPriority = $legacyPriority; + } + public function getLegacyPriority() + { + return $this->legacyPriority; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setOrderedTime($orderedTime) + { + $this->orderedTime = $orderedTime; + } + public function getOrderedTime() + { + return $this->orderedTime; + } + public function setPphName($pphName) + { + $this->pphName = $pphName; + } + public function getPphName() + { + return $this->pphName; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setReceivedTime($receivedTime) + { + $this->receivedTime = $receivedTime; + } + public function getReceivedTime() + { + return $this->receivedTime; + } + public function setRejectionNote($rejectionNote) + { + $this->rejectionNote = $rejectionNote; + } + public function getRejectionNote() + { + return $this->rejectionNote; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusDetail($statusDetail) + { + $this->statusDetail = $statusDetail; + } + public function getStatusDetail() + { + return $this->statusDetail; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php new file mode 100644 index 00000000..ac24337b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Playmoviespartner/StoreInfo.php @@ -0,0 +1,247 @@ +audioTracks = $audioTracks; + } + public function getAudioTracks() + { + return $this->audioTracks; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setHasAudio51($hasAudio51) + { + $this->hasAudio51 = $hasAudio51; + } + public function getHasAudio51() + { + return $this->hasAudio51; + } + public function setHasEstOffer($hasEstOffer) + { + $this->hasEstOffer = $hasEstOffer; + } + public function getHasEstOffer() + { + return $this->hasEstOffer; + } + public function setHasHdOffer($hasHdOffer) + { + $this->hasHdOffer = $hasHdOffer; + } + public function getHasHdOffer() + { + return $this->hasHdOffer; + } + public function setHasInfoCards($hasInfoCards) + { + $this->hasInfoCards = $hasInfoCards; + } + public function getHasInfoCards() + { + return $this->hasInfoCards; + } + public function setHasSdOffer($hasSdOffer) + { + $this->hasSdOffer = $hasSdOffer; + } + public function getHasSdOffer() + { + return $this->hasSdOffer; + } + public function setHasVodOffer($hasVodOffer) + { + $this->hasVodOffer = $hasVodOffer; + } + public function getHasVodOffer() + { + return $this->hasVodOffer; + } + public function setLiveTime($liveTime) + { + $this->liveTime = $liveTime; + } + public function getLiveTime() + { + return $this->liveTime; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setSeasonId($seasonId) + { + $this->seasonId = $seasonId; + } + public function getSeasonId() + { + return $this->seasonId; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setShowId($showId) + { + $this->showId = $showId; + } + public function getShowId() + { + return $this->showId; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setSubtitles($subtitles) + { + $this->subtitles = $subtitles; + } + public function getSubtitles() + { + return $this->subtitles; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php new file mode 100644 index 00000000..df3e8029 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus.php @@ -0,0 +1,267 @@ + + * Builds on top of the Google+ platform.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Plus extends Google_Service +{ + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $activities; + public $comments; + public $people; + + /** + * Constructs the internal representation of the Plus service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'plus/v1/'; + $this->version = 'v1'; + $this->serviceName = 'plus'; + + $this->activities = new Google_Service_Plus_Resource_Activities( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'get' => array( + 'path' => 'activities/{activityId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/activities/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_Plus_Resource_Comments( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->people = new Google_Service_Plus_Resource_People( + $this, + $this->serviceName, + 'people', + array( + 'methods' => array( + 'get' => array( + 'path' => 'people/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByActivity' => array( + 'path' => 'activities/{activityId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'people', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php new file mode 100644 index 00000000..642ecf05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Acl.php @@ -0,0 +1,50 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php new file mode 100644 index 00000000..c375517b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Activity.php @@ -0,0 +1,206 @@ +access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setActor(Google_Service_Plus_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAnnotation($annotation) + { + $this->annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setCrosspostSource($crosspostSource) + { + $this->crosspostSource = $crosspostSource; + } + public function getCrosspostSource() + { + return $this->crosspostSource; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeocode($geocode) + { + $this->geocode = $geocode; + } + public function getGeocode() + { + return $this->geocode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Plus_Place $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setObject(Google_Service_Plus_ActivityObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setPlaceName($placeName) + { + $this->placeName = $placeName; + } + public function getPlaceName() + { + return $this->placeName; + } + public function setProvider(Google_Service_Plus_ActivityProvider $provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setRadius($radius) + { + $this->radius = $radius; + } + public function getRadius() + { + return $this->radius; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php new file mode 100644 index 00000000..68514e9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActor.php @@ -0,0 +1,88 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setName(Google_Service_Plus_ActivityActorName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_ActivityActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php new file mode 100644 index 00000000..22c5caa1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..0de9b6f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php new file mode 100644 index 00000000..ace967fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php new file mode 100644 index 00000000..d589ea52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorName.php @@ -0,0 +1,39 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php new file mode 100644 index 00000000..72226325 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php new file mode 100644 index 00000000..81bf62e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityFeed.php @@ -0,0 +1,104 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php new file mode 100644 index 00000000..aa682d09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObject.php @@ -0,0 +1,117 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } + public function setPlusoners(Google_Service_Plus_ActivityObjectPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setResharers(Google_Service_Plus_ActivityObjectResharers $resharers) + { + $this->resharers = $resharers; + } + public function getResharers() + { + return $this->resharers; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php new file mode 100644 index 00000000..786d35d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActor.php @@ -0,0 +1,78 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityObjectActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_ActivityObjectActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php new file mode 100644 index 00000000..0c8c8069 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..991c6d73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php new file mode 100644 index 00000000..bf949aad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php new file mode 100644 index 00000000..fe27d647 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php new file mode 100644 index 00000000..2e284160 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachments.php @@ -0,0 +1,107 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmbed(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed) + { + $this->embed = $embed; + } + public function getEmbed() + { + return $this->embed; + } + public function setFullImage(Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage) + { + $this->fullImage = $fullImage; + } + public function getFullImage() + { + return $this->fullImage; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityObjectAttachmentsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setThumbnails($thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php new file mode 100644 index 00000000..56317771 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsEmbed.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php new file mode 100644 index 00000000..b7fb28f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsFullImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php new file mode 100644 index 00000000..728c15df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php new file mode 100644 index 00000000..b0024f02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnails.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setImage(Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php new file mode 100644 index 00000000..b2355287 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectAttachmentsThumbnailsImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php new file mode 100644 index 00000000..9f6dae2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectPlusoners.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php new file mode 100644 index 00000000..9c85fdd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectReplies.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php new file mode 100644 index 00000000..1f87e81b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityObjectResharers.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php new file mode 100644 index 00000000..cf192a33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/ActivityProvider.php @@ -0,0 +1,30 @@ +title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php new file mode 100644 index 00000000..fa5c0f1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Comment.php @@ -0,0 +1,125 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject(Google_Service_Plus_CommentObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php new file mode 100644 index 00000000..e73f3bf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActor.php @@ -0,0 +1,78 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_CommentActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_CommentActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php new file mode 100644 index 00000000..836950ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..bd055736 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php new file mode 100644 index 00000000..484506cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php new file mode 100644 index 00000000..43436d9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php new file mode 100644 index 00000000..e5a94f51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentFeed.php @@ -0,0 +1,95 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php new file mode 100644 index 00000000..8181cdf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentInReplyTo.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php new file mode 100644 index 00000000..89773d4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentObject.php @@ -0,0 +1,48 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php new file mode 100644 index 00000000..2ab1ded9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/CommentPlusoners.php @@ -0,0 +1,30 @@ +totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php new file mode 100644 index 00000000..dcf19fc6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PeopleFeed.php @@ -0,0 +1,86 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php new file mode 100644 index 00000000..32592e12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Person.php @@ -0,0 +1,300 @@ +aboutMe = $aboutMe; + } + public function getAboutMe() + { + return $this->aboutMe; + } + public function setAgeRange(Google_Service_Plus_PersonAgeRange $ageRange) + { + $this->ageRange = $ageRange; + } + public function getAgeRange() + { + return $this->ageRange; + } + public function setBirthday($birthday) + { + $this->birthday = $birthday; + } + public function getBirthday() + { + return $this->birthday; + } + public function setBraggingRights($braggingRights) + { + $this->braggingRights = $braggingRights; + } + public function getBraggingRights() + { + return $this->braggingRights; + } + public function setCircledByCount($circledByCount) + { + $this->circledByCount = $circledByCount; + } + public function getCircledByCount() + { + return $this->circledByCount; + } + public function setCover(Google_Service_Plus_PersonCover $cover) + { + $this->cover = $cover; + } + public function getCover() + { + return $this->cover; + } + public function setCurrentLocation($currentLocation) + { + $this->currentLocation = $currentLocation; + } + public function getCurrentLocation() + { + return $this->currentLocation; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_PersonImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setIsPlusUser($isPlusUser) + { + $this->isPlusUser = $isPlusUser; + } + public function getIsPlusUser() + { + return $this->isPlusUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName(Google_Service_Plus_PersonName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOccupation($occupation) + { + $this->occupation = $occupation; + } + public function getOccupation() + { + return $this->occupation; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPlacesLived($placesLived) + { + $this->placesLived = $placesLived; + } + public function getPlacesLived() + { + return $this->placesLived; + } + public function setPlusOneCount($plusOneCount) + { + $this->plusOneCount = $plusOneCount; + } + public function getPlusOneCount() + { + return $this->plusOneCount; + } + public function setRelationshipStatus($relationshipStatus) + { + $this->relationshipStatus = $relationshipStatus; + } + public function getRelationshipStatus() + { + return $this->relationshipStatus; + } + public function setSkills($skills) + { + $this->skills = $skills; + } + public function getSkills() + { + return $this->skills; + } + public function setTagline($tagline) + { + $this->tagline = $tagline; + } + public function getTagline() + { + return $this->tagline; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php new file mode 100644 index 00000000..e4a00a23 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonAgeRange.php @@ -0,0 +1,39 @@ +max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php new file mode 100644 index 00000000..c8a53e7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCover.php @@ -0,0 +1,50 @@ +coverInfo = $coverInfo; + } + public function getCoverInfo() + { + return $this->coverInfo; + } + public function setCoverPhoto(Google_Service_Plus_PersonCoverCoverPhoto $coverPhoto) + { + $this->coverPhoto = $coverPhoto; + } + public function getCoverPhoto() + { + return $this->coverPhoto; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php new file mode 100644 index 00000000..d5b55da1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverInfo.php @@ -0,0 +1,39 @@ +leftImageOffset = $leftImageOffset; + } + public function getLeftImageOffset() + { + return $this->leftImageOffset; + } + public function setTopImageOffset($topImageOffset) + { + $this->topImageOffset = $topImageOffset; + } + public function getTopImageOffset() + { + return $this->topImageOffset; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php new file mode 100644 index 00000000..b22a93d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonCoverCoverPhoto.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php new file mode 100644 index 00000000..b1141224 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonEmails.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php new file mode 100644 index 00000000..cf086abe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonImage.php @@ -0,0 +1,39 @@ +isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php new file mode 100644 index 00000000..a8a4067d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonName.php @@ -0,0 +1,75 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHonorificPrefix($honorificPrefix) + { + $this->honorificPrefix = $honorificPrefix; + } + public function getHonorificPrefix() + { + return $this->honorificPrefix; + } + public function setHonorificSuffix($honorificSuffix) + { + $this->honorificSuffix = $honorificSuffix; + } + public function getHonorificSuffix() + { + return $this->honorificSuffix; + } + public function setMiddleName($middleName) + { + $this->middleName = $middleName; + } + public function getMiddleName() + { + return $this->middleName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php new file mode 100644 index 00000000..a0a6f12c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonOrganizations.php @@ -0,0 +1,102 @@ +department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php new file mode 100644 index 00000000..1055e4c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonPlacesLived.php @@ -0,0 +1,39 @@ +primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php new file mode 100644 index 00000000..aa028e79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PersonUrls.php @@ -0,0 +1,48 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php new file mode 100644 index 00000000..978bc414 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Place.php @@ -0,0 +1,68 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPosition(Google_Service_Plus_PlacePosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php new file mode 100644 index 00000000..78c4beac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlaceAddress.php @@ -0,0 +1,30 @@ +formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php new file mode 100644 index 00000000..29ef840e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlacePosition.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php new file mode 100644 index 00000000..40c07d21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/PlusAclentryResource.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php new file mode 100644 index 00000000..db22c401 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Activities.php @@ -0,0 +1,88 @@ + + * $plusService = new Google_Service_Plus(...); + * $activities = $plusService->activities; + * + */ +class Google_Service_Plus_Resource_Activities extends Google_Service_Resource +{ + /** + * Get an activity. (activities.get) + * + * @param string $activityId The ID of the activity to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Activity + */ + public function get($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Activity"); + } + /** + * List all of the activities in the specified collection for a particular user. + * (activities.listActivities) + * + * @param string $userId The ID of the user to get activities for. The special + * value "me" can be used to indicate the authenticated user. + * @param string $collection The collection of activities to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_Plus_ActivityFeed + */ + public function listActivities($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_ActivityFeed"); + } + /** + * Search public activities. (activities.search) + * + * @param string $query Full-text search query string. + * @param array $optParams Optional parameters. + * + * @opt_param string language Specify the preferred language to search with. See + * search language codes for available values. + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string orderBy Specifies how to order search results. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. This + * token can be of any length. + * @return Google_Service_Plus_ActivityFeed + */ + public function search($query, $optParams = array()) + { + $params = array('query' => $query); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Plus_ActivityFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php new file mode 100644 index 00000000..ca93d62a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/Comments.php @@ -0,0 +1,62 @@ + + * $plusService = new Google_Service_Plus(...); + * $comments = $plusService->comments; + * + */ +class Google_Service_Plus_Resource_Comments extends Google_Service_Resource +{ + /** + * Get a comment. (comments.get) + * + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Comment + */ + public function get($commentId, $optParams = array()) + { + $params = array('commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Comment"); + } + /** + * List all of the comments for an activity. (comments.listComments) + * + * @param string $activityId The ID of the activity to get comments for. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of comments to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string sortOrder The order in which to sort the list of comments. + * @return Google_Service_Plus_CommentFeed + */ + public function listComments($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_CommentFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php new file mode 100644 index 00000000..0874bb8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Plus/Resource/People.php @@ -0,0 +1,114 @@ + + * $plusService = new Google_Service_Plus(...); + * $people = $plusService->people; + * + */ +class Google_Service_Plus_Resource_People extends Google_Service_Resource +{ + /** + * Get a person's profile. If your app uses scope + * https://www.googleapis.com/auth/plus.login, this method is guaranteed to + * return ageRange and language. (people.get) + * + * @param string $userId The ID of the person to get the profile for. The + * special value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Person + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Person"); + } + /** + * List all of the people in the specified collection. (people.listPeople) + * + * @param string $userId Get the collection of people for the person identified. + * Use "me" to indicate the authenticated user. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string orderBy The order to return people in. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_Plus_PeopleFeed + */ + public function listPeople($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_PeopleFeed"); + } + /** + * List all of the people in the specified collection for a particular activity. + * (people.listByActivity) + * + * @param string $activityId The ID of the activity to get the list of people + * for. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_Plus_PeopleFeed + */ + public function listByActivity($activityId, $collection, $optParams = array()) + { + $params = array('activityId' => $activityId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listByActivity', array($params), "Google_Service_Plus_PeopleFeed"); + } + /** + * Search all public profiles. (people.search) + * + * @param string $query Specify a query string for full text search of public + * text in all profiles. + * @param array $optParams Optional parameters. + * + * @opt_param string language Specify the preferred language to search with. See + * search language codes for available values. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. This + * token can be of any length. + * @return Google_Service_Plus_PeopleFeed + */ + public function search($query, $optParams = array()) + { + $params = array('query' => $query); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Plus_PeopleFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php new file mode 100644 index 00000000..0b7ed0bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains.php @@ -0,0 +1,453 @@ + + * Builds on top of the Google+ platform for Google Apps Domains.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_PlusDomains extends Google_Service +{ + /** View your circles and the people and pages in them. */ + const PLUS_CIRCLES_READ = + "https://www.googleapis.com/auth/plus.circles.read"; + /** Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.. */ + const PLUS_CIRCLES_WRITE = + "https://www.googleapis.com/auth/plus.circles.write"; + /** Know the list of people in your circles, your age range, and language. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** Send your photos and videos to Google+. */ + const PLUS_MEDIA_UPLOAD = + "https://www.googleapis.com/auth/plus.media.upload"; + /** View your own Google+ profile and profiles visible to you. */ + const PLUS_PROFILES_READ = + "https://www.googleapis.com/auth/plus.profiles.read"; + /** View your Google+ posts, comments, and stream. */ + const PLUS_STREAM_READ = + "https://www.googleapis.com/auth/plus.stream.read"; + /** Manage your Google+ posts, comments, and stream. */ + const PLUS_STREAM_WRITE = + "https://www.googleapis.com/auth/plus.stream.write"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $activities; + public $audiences; + public $circles; + public $comments; + public $media; + public $people; + + /** + * Constructs the internal representation of the PlusDomains service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'plusDomains/v1/'; + $this->version = 'v1'; + $this->serviceName = 'plusDomains'; + + $this->activities = new Google_Service_PlusDomains_Resource_Activities( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'get' => array( + 'path' => 'activities/{activityId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'people/{userId}/activities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/activities/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->audiences = new Google_Service_PlusDomains_Resource_Audiences( + $this, + $this->serviceName, + 'audiences', + array( + 'methods' => array( + 'list' => array( + 'path' => 'people/{userId}/audiences', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->circles = new Google_Service_PlusDomains_Resource_Circles( + $this, + $this->serviceName, + 'circles', + array( + 'methods' => array( + 'addPeople' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'get' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'people/{userId}/circles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/circles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'remove' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removePeople' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'update' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_PlusDomains_Resource_Comments( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->media = new Google_Service_PlusDomains_Resource_Media( + $this, + $this->serviceName, + 'media', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'people/{userId}/media/{collection}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->people = new Google_Service_PlusDomains_Resource_People( + $this, + $this->serviceName, + 'people', + array( + 'methods' => array( + 'get' => array( + 'path' => 'people/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByActivity' => array( + 'path' => 'activities/{activityId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByCircle' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'GET', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php new file mode 100644 index 00000000..b60f0c80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Acl.php @@ -0,0 +1,59 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDomainRestricted($domainRestricted) + { + $this->domainRestricted = $domainRestricted; + } + public function getDomainRestricted() + { + return $this->domainRestricted; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php new file mode 100644 index 00000000..1f2df37e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Activity.php @@ -0,0 +1,206 @@ +access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setActor(Google_Service_PlusDomains_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAnnotation($annotation) + { + $this->annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setCrosspostSource($crosspostSource) + { + $this->crosspostSource = $crosspostSource; + } + public function getCrosspostSource() + { + return $this->crosspostSource; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeocode($geocode) + { + $this->geocode = $geocode; + } + public function getGeocode() + { + return $this->geocode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_PlusDomains_Place $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setObject(Google_Service_PlusDomains_ActivityObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setPlaceName($placeName) + { + $this->placeName = $placeName; + } + public function getPlaceName() + { + return $this->placeName; + } + public function setProvider(Google_Service_PlusDomains_ActivityProvider $provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setRadius($radius) + { + $this->radius = $radius; + } + public function getRadius() + { + return $this->radius; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php new file mode 100644 index 00000000..97e58265 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActor.php @@ -0,0 +1,88 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setName(Google_Service_PlusDomains_ActivityActorName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_ActivityActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php new file mode 100644 index 00000000..bba5a0dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..1d255ac4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php new file mode 100644 index 00000000..a752b05d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php new file mode 100644 index 00000000..ed035fea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorName.php @@ -0,0 +1,39 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php new file mode 100644 index 00000000..db86d0b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php new file mode 100644 index 00000000..9b163b44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityFeed.php @@ -0,0 +1,104 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php new file mode 100644 index 00000000..a8bc9b86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObject.php @@ -0,0 +1,127 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } + public function setPlusoners(Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setReplies(Google_Service_PlusDomains_ActivityObjectReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setResharers(Google_Service_PlusDomains_ActivityObjectResharers $resharers) + { + $this->resharers = $resharers; + } + public function getResharers() + { + return $this->resharers; + } + public function setStatusForViewer(Google_Service_PlusDomains_ActivityObjectStatusForViewer $statusForViewer) + { + $this->statusForViewer = $statusForViewer; + } + public function getStatusForViewer() + { + return $this->statusForViewer; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php new file mode 100644 index 00000000..9376ad40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActor.php @@ -0,0 +1,78 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_ActivityObjectActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php new file mode 100644 index 00000000..0188e502 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..1105e125 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php new file mode 100644 index 00000000..f0ff502c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php new file mode 100644 index 00000000..e1586982 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php new file mode 100644 index 00000000..3a0e9ebd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachments.php @@ -0,0 +1,117 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmbed(Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed) + { + $this->embed = $embed; + } + public function getEmbed() + { + return $this->embed; + } + public function setFullImage(Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage $fullImage) + { + $this->fullImage = $fullImage; + } + public function getFullImage() + { + return $this->fullImage; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setPreviewThumbnails($previewThumbnails) + { + $this->previewThumbnails = $previewThumbnails; + } + public function getPreviewThumbnails() + { + return $this->previewThumbnails; + } + public function setThumbnails($thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php new file mode 100644 index 00000000..c2c0c591 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsEmbed.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php new file mode 100644 index 00000000..f06394f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsFullImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php new file mode 100644 index 00000000..60ece099 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php new file mode 100644 index 00000000..f67f0f5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsPreviewThumbnails.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php new file mode 100644 index 00000000..3196e4d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnails.php @@ -0,0 +1,49 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php new file mode 100644 index 00000000..70e1c5de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectAttachmentsThumbnailsImage.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php new file mode 100644 index 00000000..62b2ebfd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectPlusoners.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php new file mode 100644 index 00000000..d4cbbe49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectReplies.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php new file mode 100644 index 00000000..afc2a9e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectResharers.php @@ -0,0 +1,39 @@ +selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php new file mode 100644 index 00000000..8401d62b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityObjectStatusForViewer.php @@ -0,0 +1,66 @@ +canComment = $canComment; + } + public function getCanComment() + { + return $this->canComment; + } + public function setCanPlusone($canPlusone) + { + $this->canPlusone = $canPlusone; + } + public function getCanPlusone() + { + return $this->canPlusone; + } + public function setCanUpdate($canUpdate) + { + $this->canUpdate = $canUpdate; + } + public function getCanUpdate() + { + return $this->canUpdate; + } + public function setIsPlusOned($isPlusOned) + { + $this->isPlusOned = $isPlusOned; + } + public function getIsPlusOned() + { + return $this->isPlusOned; + } + public function setResharingDisabled($resharingDisabled) + { + $this->resharingDisabled = $resharingDisabled; + } + public function getResharingDisabled() + { + return $this->resharingDisabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php new file mode 100644 index 00000000..bab95e6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/ActivityProvider.php @@ -0,0 +1,30 @@ +title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php new file mode 100644 index 00000000..7298be84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Audience.php @@ -0,0 +1,67 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItem(Google_Service_PlusDomains_PlusDomainsAclentryResource $item) + { + $this->item = $item; + } + public function getItem() + { + return $this->item; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMemberCount($memberCount) + { + $this->memberCount = $memberCount; + } + public function getMemberCount() + { + return $this->memberCount; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php new file mode 100644 index 00000000..65a3ec45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/AudiencesFeed.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php new file mode 100644 index 00000000..c21061aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Circle.php @@ -0,0 +1,85 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPeople(Google_Service_PlusDomains_CirclePeople $people) + { + $this->people = $people; + } + public function getPeople() + { + return $this->people; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php new file mode 100644 index 00000000..78eb2af4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CircleFeed.php @@ -0,0 +1,95 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php new file mode 100644 index 00000000..1d3c63c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CirclePeople.php @@ -0,0 +1,30 @@ +totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php new file mode 100644 index 00000000..8795db8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Comment.php @@ -0,0 +1,125 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject(Google_Service_PlusDomains_CommentObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlusoners(Google_Service_PlusDomains_CommentPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php new file mode 100644 index 00000000..3477f1f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActor.php @@ -0,0 +1,78 @@ +clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_CommentActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_CommentActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php new file mode 100644 index 00000000..b09cab3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfo.php @@ -0,0 +1,31 @@ +youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php new file mode 100644 index 00000000..6e1652e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorClientSpecificActorInfoYoutubeActorInfo.php @@ -0,0 +1,30 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php new file mode 100644 index 00000000..478f9d4c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php new file mode 100644 index 00000000..ebd23118 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentActorVerification.php @@ -0,0 +1,30 @@ +adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php new file mode 100644 index 00000000..2ca7cf06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentFeed.php @@ -0,0 +1,95 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php new file mode 100644 index 00000000..5d37cbeb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentInReplyTo.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php new file mode 100644 index 00000000..dc3b3e48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentObject.php @@ -0,0 +1,48 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php new file mode 100644 index 00000000..e428e5d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/CommentPlusoners.php @@ -0,0 +1,30 @@ +totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php new file mode 100644 index 00000000..f4ba8f9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Media.php @@ -0,0 +1,187 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExif(Google_Service_PlusDomains_MediaExif $exif) + { + $this->exif = $exif; + } + public function getExif() + { + return $this->exif; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMediaCreatedTime($mediaCreatedTime) + { + $this->mediaCreatedTime = $mediaCreatedTime; + } + public function getMediaCreatedTime() + { + return $this->mediaCreatedTime; + } + public function setMediaUrl($mediaUrl) + { + $this->mediaUrl = $mediaUrl; + } + public function getMediaUrl() + { + return $this->mediaUrl; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSizeBytes($sizeBytes) + { + $this->sizeBytes = $sizeBytes; + } + public function getSizeBytes() + { + return $this->sizeBytes; + } + public function setStreams($streams) + { + $this->streams = $streams; + } + public function getStreams() + { + return $this->streams; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } + public function setVideoStatus($videoStatus) + { + $this->videoStatus = $videoStatus; + } + public function getVideoStatus() + { + return $this->videoStatus; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php new file mode 100644 index 00000000..26edbf06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthor.php @@ -0,0 +1,58 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_MediaAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php new file mode 100644 index 00000000..03ee3257 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaAuthorImage.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php new file mode 100644 index 00000000..71480985 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/MediaExif.php @@ -0,0 +1,30 @@ +time = $time; + } + public function getTime() + { + return $this->time; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php new file mode 100644 index 00000000..f944a30e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PeopleFeed.php @@ -0,0 +1,86 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php new file mode 100644 index 00000000..f1f0fa78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Person.php @@ -0,0 +1,281 @@ +aboutMe = $aboutMe; + } + public function getAboutMe() + { + return $this->aboutMe; + } + public function setBirthday($birthday) + { + $this->birthday = $birthday; + } + public function getBirthday() + { + return $this->birthday; + } + public function setBraggingRights($braggingRights) + { + $this->braggingRights = $braggingRights; + } + public function getBraggingRights() + { + return $this->braggingRights; + } + public function setCircledByCount($circledByCount) + { + $this->circledByCount = $circledByCount; + } + public function getCircledByCount() + { + return $this->circledByCount; + } + public function setCover(Google_Service_PlusDomains_PersonCover $cover) + { + $this->cover = $cover; + } + public function getCover() + { + return $this->cover; + } + public function setCurrentLocation($currentLocation) + { + $this->currentLocation = $currentLocation; + } + public function getCurrentLocation() + { + return $this->currentLocation; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_PersonImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setIsPlusUser($isPlusUser) + { + $this->isPlusUser = $isPlusUser; + } + public function getIsPlusUser() + { + return $this->isPlusUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_PlusDomains_PersonName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOccupation($occupation) + { + $this->occupation = $occupation; + } + public function getOccupation() + { + return $this->occupation; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPlacesLived($placesLived) + { + $this->placesLived = $placesLived; + } + public function getPlacesLived() + { + return $this->placesLived; + } + public function setPlusOneCount($plusOneCount) + { + $this->plusOneCount = $plusOneCount; + } + public function getPlusOneCount() + { + return $this->plusOneCount; + } + public function setRelationshipStatus($relationshipStatus) + { + $this->relationshipStatus = $relationshipStatus; + } + public function getRelationshipStatus() + { + return $this->relationshipStatus; + } + public function setSkills($skills) + { + $this->skills = $skills; + } + public function getSkills() + { + return $this->skills; + } + public function setTagline($tagline) + { + $this->tagline = $tagline; + } + public function getTagline() + { + return $this->tagline; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php new file mode 100644 index 00000000..a309e77b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCover.php @@ -0,0 +1,50 @@ +coverInfo = $coverInfo; + } + public function getCoverInfo() + { + return $this->coverInfo; + } + public function setCoverPhoto(Google_Service_PlusDomains_PersonCoverCoverPhoto $coverPhoto) + { + $this->coverPhoto = $coverPhoto; + } + public function getCoverPhoto() + { + return $this->coverPhoto; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php new file mode 100644 index 00000000..f034e41e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverInfo.php @@ -0,0 +1,39 @@ +leftImageOffset = $leftImageOffset; + } + public function getLeftImageOffset() + { + return $this->leftImageOffset; + } + public function setTopImageOffset($topImageOffset) + { + $this->topImageOffset = $topImageOffset; + } + public function getTopImageOffset() + { + return $this->topImageOffset; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php new file mode 100644 index 00000000..28cf9f63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonCoverCoverPhoto.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php new file mode 100644 index 00000000..b399be36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonEmails.php @@ -0,0 +1,39 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php new file mode 100644 index 00000000..fa6e6924 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonImage.php @@ -0,0 +1,39 @@ +isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php new file mode 100644 index 00000000..8878b219 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonName.php @@ -0,0 +1,75 @@ +familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHonorificPrefix($honorificPrefix) + { + $this->honorificPrefix = $honorificPrefix; + } + public function getHonorificPrefix() + { + return $this->honorificPrefix; + } + public function setHonorificSuffix($honorificSuffix) + { + $this->honorificSuffix = $honorificSuffix; + } + public function getHonorificSuffix() + { + return $this->honorificSuffix; + } + public function setMiddleName($middleName) + { + $this->middleName = $middleName; + } + public function getMiddleName() + { + return $this->middleName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php new file mode 100644 index 00000000..29273b0a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonOrganizations.php @@ -0,0 +1,102 @@ +department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php new file mode 100644 index 00000000..fbebea3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonPlacesLived.php @@ -0,0 +1,39 @@ +primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php new file mode 100644 index 00000000..8956a68f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PersonUrls.php @@ -0,0 +1,48 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php new file mode 100644 index 00000000..3fba69fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Place.php @@ -0,0 +1,68 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPosition(Google_Service_PlusDomains_PlacePosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php new file mode 100644 index 00000000..e5cff510 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlaceAddress.php @@ -0,0 +1,30 @@ +formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php new file mode 100644 index 00000000..d7136cb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlacePosition.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php new file mode 100644 index 00000000..81f48db6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/PlusDomainsAclentryResource.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php new file mode 100644 index 00000000..59205632 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Activities.php @@ -0,0 +1,83 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $activities = $plusDomainsService->activities; + * + */ +class Google_Service_PlusDomains_Resource_Activities extends Google_Service_Resource +{ + /** + * Get an activity. (activities.get) + * + * @param string $activityId The ID of the activity to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Activity + */ + public function get($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Activity"); + } + /** + * Create a new activity for the authenticated user. (activities.insert) + * + * @param string $userId The ID of the user to create the activity on behalf of. + * Its value should be "me", to indicate the authenticated user. + * @param Google_Service_PlusDomains_Activity $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If "true", extract the potential media attachments + * for a URL. The response will include all possible attachments for a URL, + * including video, photos, and articles based on the content of the page. + * @return Google_Service_PlusDomains_Activity + */ + public function insert($userId, Google_Service_PlusDomains_Activity $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Activity"); + } + /** + * List all of the activities in the specified collection for a particular user. + * (activities.listActivities) + * + * @param string $userId The ID of the user to get activities for. The special + * value "me" can be used to indicate the authenticated user. + * @param string $collection The collection of activities to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_ActivityFeed + */ + public function listActivities($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_ActivityFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php new file mode 100644 index 00000000..39f164f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Audiences.php @@ -0,0 +1,50 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $audiences = $plusDomainsService->audiences; + * + */ +class Google_Service_PlusDomains_Resource_Audiences extends Google_Service_Resource +{ + /** + * List all of the audiences to which a user can share. + * (audiences.listAudiences) + * + * @param string $userId The ID of the user to get audiences for. The special + * value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of circles to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_AudiencesFeed + */ + public function listAudiences($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_AudiencesFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php new file mode 100644 index 00000000..2272cb01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Circles.php @@ -0,0 +1,154 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $circles = $plusDomainsService->circles; + * + */ +class Google_Service_PlusDomains_Resource_Circles extends Google_Service_Resource +{ + /** + * Add a person to a circle. Google+ limits certain circle operations, including + * the number of circle adds. Learn More. (circles.addPeople) + * + * @param string $circleId The ID of the circle to add the person to. + * @param array $optParams Optional parameters. + * + * @opt_param string email Email of the people to add to the circle. Optional, + * can be repeated. + * @opt_param string userId IDs of the people to add to the circle. Optional, + * can be repeated. + * @return Google_Service_PlusDomains_Circle + */ + public function addPeople($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('addPeople', array($params), "Google_Service_PlusDomains_Circle"); + } + /** + * Get a circle. (circles.get) + * + * @param string $circleId The ID of the circle to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function get($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Circle"); + } + /** + * Create a new circle for the authenticated user. (circles.insert) + * + * @param string $userId The ID of the user to create the circle on behalf of. + * The value "me" can be used to indicate the authenticated user. + * @param Google_Service_PlusDomains_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function insert($userId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Circle"); + } + /** + * List all of the circles for a user. (circles.listCircles) + * + * @param string $userId The ID of the user to get circles for. The special + * value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of circles to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_CircleFeed + */ + public function listCircles($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_CircleFeed"); + } + /** + * Update a circle's description. This method supports patch semantics. + * (circles.patch) + * + * @param string $circleId The ID of the circle to update. + * @param Google_Service_PlusDomains_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function patch($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('circleId' => $circleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_PlusDomains_Circle"); + } + /** + * Delete a circle. (circles.remove) + * + * @param string $circleId The ID of the circle to delete. + * @param array $optParams Optional parameters. + */ + public function remove($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('remove', array($params)); + } + /** + * Remove a person from a circle. (circles.removePeople) + * + * @param string $circleId The ID of the circle to remove the person from. + * @param array $optParams Optional parameters. + * + * @opt_param string email Email of the people to add to the circle. Optional, + * can be repeated. + * @opt_param string userId IDs of the people to remove from the circle. + * Optional, can be repeated. + */ + public function removePeople($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('removePeople', array($params)); + } + /** + * Update a circle's description. (circles.update) + * + * @param string $circleId The ID of the circle to update. + * @param Google_Service_PlusDomains_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function update($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('circleId' => $circleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_PlusDomains_Circle"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php new file mode 100644 index 00000000..0ef70efb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Comments.php @@ -0,0 +1,76 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $comments = $plusDomainsService->comments; + * + */ +class Google_Service_PlusDomains_Resource_Comments extends Google_Service_Resource +{ + /** + * Get a comment. (comments.get) + * + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Comment + */ + public function get($commentId, $optParams = array()) + { + $params = array('commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Comment"); + } + /** + * Create a new comment in reply to an activity. (comments.insert) + * + * @param string $activityId The ID of the activity to reply to. + * @param Google_Service_PlusDomains_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Comment + */ + public function insert($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams = array()) + { + $params = array('activityId' => $activityId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Comment"); + } + /** + * List all of the comments for an activity. (comments.listComments) + * + * @param string $activityId The ID of the activity to get comments for. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of comments to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string sortOrder The order in which to sort the list of comments. + * @return Google_Service_PlusDomains_CommentFeed + */ + public function listComments($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_CommentFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php new file mode 100644 index 00000000..1cf7b0a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/Media.php @@ -0,0 +1,46 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $media = $plusDomainsService->media; + * + */ +class Google_Service_PlusDomains_Resource_Media extends Google_Service_Resource +{ + /** + * Add a new media item to an album. The current upload size limitations are + * 36MB for a photo and 1GB for a video. Uploads do not count against quota if + * photos are less than 2048 pixels on their longest side or videos are less + * than 15 minutes in length. (media.insert) + * + * @param string $userId The ID of the user to create the activity on behalf of. + * @param string $collection + * @param Google_Service_PlusDomains_Media $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Media + */ + public function insert($userId, $collection, Google_Service_PlusDomains_Media $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Media"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php new file mode 100644 index 00000000..d58575c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Resource/People.php @@ -0,0 +1,108 @@ + + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $people = $plusDomainsService->people; + * + */ +class Google_Service_PlusDomains_Resource_People extends Google_Service_Resource +{ + /** + * Get a person's profile. (people.get) + * + * @param string $userId The ID of the person to get the profile for. The + * special value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Person + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Person"); + } + /** + * List all of the people in the specified collection. (people.listPeople) + * + * @param string $userId Get the collection of people for the person identified. + * Use "me" to indicate the authenticated user. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string orderBy The order to return people in. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listPeople($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } + /** + * List all of the people in the specified collection for a particular activity. + * (people.listByActivity) + * + * @param string $activityId The ID of the activity to get the list of people + * for. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listByActivity($activityId, $collection, $optParams = array()) + { + $params = array('activityId' => $activityId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listByActivity', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } + /** + * List all of the people who are members of a circle. (people.listByCircle) + * + * @param string $circleId The ID of the circle to get the members of. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listByCircle($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('listByCircle', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php new file mode 100644 index 00000000..e618d7c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/PlusDomains/Videostream.php @@ -0,0 +1,57 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php new file mode 100644 index 00000000..871465d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction.php @@ -0,0 +1,205 @@ + + * Lets you access a cloud hosted machine learning service that makes it easy to + * build smart apps

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Prediction extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** Manage your data in the Google Prediction API. */ + const PREDICTION = + "https://www.googleapis.com/auth/prediction"; + + public $hostedmodels; + public $trainedmodels; + + /** + * Constructs the internal representation of the Prediction service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'prediction/v1.6/projects/'; + $this->version = 'v1.6'; + $this->serviceName = 'prediction'; + + $this->hostedmodels = new Google_Service_Prediction_Resource_Hostedmodels( + $this, + $this->serviceName, + 'hostedmodels', + array( + 'methods' => array( + 'predict' => array( + 'path' => '{project}/hostedmodels/{hostedModelName}/predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'hostedModelName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->trainedmodels = new Google_Service_Prediction_Resource_Trainedmodels( + $this, + $this->serviceName, + 'trainedmodels', + array( + 'methods' => array( + 'analyze' => array( + 'path' => '{project}/trainedmodels/{id}/analyze', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/trainedmodels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/trainedmodels/list', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'predict' => array( + 'path' => '{project}/trainedmodels/{id}/predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php new file mode 100644 index 00000000..42bb79b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Analyze.php @@ -0,0 +1,78 @@ +dataDescription = $dataDescription; + } + public function getDataDescription() + { + return $this->dataDescription; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModelDescription(Google_Service_Prediction_AnalyzeModelDescription $modelDescription) + { + $this->modelDescription = $modelDescription; + } + public function getModelDescription() + { + return $this->modelDescription; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php new file mode 100644 index 00000000..85d3265e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescription.php @@ -0,0 +1,42 @@ +features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setOutputFeature(Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature $outputFeature) + { + $this->outputFeature = $outputFeature; + } + public function getOutputFeature() + { + return $this->outputFeature; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php new file mode 100644 index 00000000..046c980b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeatures.php @@ -0,0 +1,60 @@ +categorical = $categorical; + } + public function getCategorical() + { + return $this->categorical; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setNumeric(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric $numeric) + { + $this->numeric = $numeric; + } + public function getNumeric() + { + return $this->numeric; + } + public function setText(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php new file mode 100644 index 00000000..e8f738cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategorical.php @@ -0,0 +1,41 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php new file mode 100644 index 00000000..d3ba6872 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesCategoricalValues.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php new file mode 100644 index 00000000..a2448a81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesNumeric.php @@ -0,0 +1,48 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setVariance($variance) + { + $this->variance = $variance; + } + public function getVariance() + { + return $this->variance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php new file mode 100644 index 00000000..bb594ac5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionFeaturesText.php @@ -0,0 +1,30 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php new file mode 100644 index 00000000..b048fa2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeature.php @@ -0,0 +1,42 @@ +numeric = $numeric; + } + public function getNumeric() + { + return $this->numeric; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php new file mode 100644 index 00000000..9d9859c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureNumeric.php @@ -0,0 +1,48 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setVariance($variance) + { + $this->variance = $variance; + } + public function getVariance() + { + return $this->variance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php new file mode 100644 index 00000000..19db685b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeDataDescriptionOutputFeatureText.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php new file mode 100644 index 00000000..fbce5f6b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/AnalyzeModelDescription.php @@ -0,0 +1,49 @@ +confusionMatrix = $confusionMatrix; + } + public function getConfusionMatrix() + { + return $this->confusionMatrix; + } + public function setConfusionMatrixRowTotals($confusionMatrixRowTotals) + { + $this->confusionMatrixRowTotals = $confusionMatrixRowTotals; + } + public function getConfusionMatrixRowTotals() + { + return $this->confusionMatrixRowTotals; + } + public function setModelinfo(Google_Service_Prediction_Insert2 $modelinfo) + { + $this->modelinfo = $modelinfo; + } + public function getModelinfo() + { + return $this->modelinfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php new file mode 100644 index 00000000..ee7e6293 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Input.php @@ -0,0 +1,31 @@ +input = $input; + } + public function getInput() + { + return $this->input; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php new file mode 100644 index 00000000..e4235be7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InputInput.php @@ -0,0 +1,31 @@ +csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php new file mode 100644 index 00000000..fdf985d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert.php @@ -0,0 +1,95 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setSourceModel($sourceModel) + { + $this->sourceModel = $sourceModel; + } + public function getSourceModel() + { + return $this->sourceModel; + } + public function setStorageDataLocation($storageDataLocation) + { + $this->storageDataLocation = $storageDataLocation; + } + public function getStorageDataLocation() + { + return $this->storageDataLocation; + } + public function setStoragePMMLLocation($storagePMMLLocation) + { + $this->storagePMMLLocation = $storagePMMLLocation; + } + public function getStoragePMMLLocation() + { + return $this->storagePMMLLocation; + } + public function setStoragePMMLModelLocation($storagePMMLModelLocation) + { + $this->storagePMMLModelLocation = $storagePMMLModelLocation; + } + public function getStoragePMMLModelLocation() + { + return $this->storagePMMLModelLocation; + } + public function setTrainingInstances($trainingInstances) + { + $this->trainingInstances = $trainingInstances; + } + public function getTrainingInstances() + { + return $this->trainingInstances; + } + public function setUtility($utility) + { + $this->utility = $utility; + } + public function getUtility() + { + return $this->utility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php new file mode 100644 index 00000000..8bc3b4d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2.php @@ -0,0 +1,121 @@ +created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModelInfo(Google_Service_Prediction_Insert2ModelInfo $modelInfo) + { + $this->modelInfo = $modelInfo; + } + public function getModelInfo() + { + return $this->modelInfo; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStorageDataLocation($storageDataLocation) + { + $this->storageDataLocation = $storageDataLocation; + } + public function getStorageDataLocation() + { + return $this->storageDataLocation; + } + public function setStoragePMMLLocation($storagePMMLLocation) + { + $this->storagePMMLLocation = $storagePMMLLocation; + } + public function getStoragePMMLLocation() + { + return $this->storagePMMLLocation; + } + public function setStoragePMMLModelLocation($storagePMMLModelLocation) + { + $this->storagePMMLModelLocation = $storagePMMLModelLocation; + } + public function getStoragePMMLModelLocation() + { + return $this->storagePMMLModelLocation; + } + public function setTrainingComplete($trainingComplete) + { + $this->trainingComplete = $trainingComplete; + } + public function getTrainingComplete() + { + return $this->trainingComplete; + } + public function setTrainingStatus($trainingStatus) + { + $this->trainingStatus = $trainingStatus; + } + public function getTrainingStatus() + { + return $this->trainingStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php new file mode 100644 index 00000000..38651648 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Insert2ModelInfo.php @@ -0,0 +1,75 @@ +classWeightedAccuracy = $classWeightedAccuracy; + } + public function getClassWeightedAccuracy() + { + return $this->classWeightedAccuracy; + } + public function setClassificationAccuracy($classificationAccuracy) + { + $this->classificationAccuracy = $classificationAccuracy; + } + public function getClassificationAccuracy() + { + return $this->classificationAccuracy; + } + public function setMeanSquaredError($meanSquaredError) + { + $this->meanSquaredError = $meanSquaredError; + } + public function getMeanSquaredError() + { + return $this->meanSquaredError; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setNumberInstances($numberInstances) + { + $this->numberInstances = $numberInstances; + } + public function getNumberInstances() + { + return $this->numberInstances; + } + public function setNumberLabels($numberLabels) + { + $this->numberLabels = $numberLabels; + } + public function getNumberLabels() + { + return $this->numberLabels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php new file mode 100644 index 00000000..98b46c50 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/InsertTrainingInstances.php @@ -0,0 +1,40 @@ +csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } + public function setOutput($output) + { + $this->output = $output; + } + public function getOutput() + { + return $this->output; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php new file mode 100644 index 00000000..caf2136b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Output.php @@ -0,0 +1,77 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOutputLabel($outputLabel) + { + $this->outputLabel = $outputLabel; + } + public function getOutputLabel() + { + return $this->outputLabel; + } + public function setOutputMulti($outputMulti) + { + $this->outputMulti = $outputMulti; + } + public function getOutputMulti() + { + return $this->outputMulti; + } + public function setOutputValue($outputValue) + { + $this->outputValue = $outputValue; + } + public function getOutputValue() + { + return $this->outputValue; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php new file mode 100644 index 00000000..cbeee94d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/OutputOutputMulti.php @@ -0,0 +1,39 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php new file mode 100644 index 00000000..177cb7d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/PredictionList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php new file mode 100644 index 00000000..57ce7fae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Hostedmodels.php @@ -0,0 +1,44 @@ + + * $predictionService = new Google_Service_Prediction(...); + * $hostedmodels = $predictionService->hostedmodels; + * + */ +class Google_Service_Prediction_Resource_Hostedmodels extends Google_Service_Resource +{ + /** + * Submit input and request an output against a hosted model. + * (hostedmodels.predict) + * + * @param string $project The project associated with the model. + * @param string $hostedModelName The name of a hosted model. + * @param Google_Service_Prediction_Input $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Output + */ + public function predict($project, $hostedModelName, Google_Service_Prediction_Input $postBody, $optParams = array()) + { + $params = array('project' => $project, 'hostedModelName' => $hostedModelName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_Prediction_Output"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php new file mode 100644 index 00000000..a7de1b7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Resource/Trainedmodels.php @@ -0,0 +1,130 @@ + + * $predictionService = new Google_Service_Prediction(...); + * $trainedmodels = $predictionService->trainedmodels; + * + */ +class Google_Service_Prediction_Resource_Trainedmodels extends Google_Service_Resource +{ + /** + * Get analysis of the model and the data the model was trained on. + * (trainedmodels.analyze) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Analyze + */ + public function analyze($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('analyze', array($params), "Google_Service_Prediction_Analyze"); + } + /** + * Delete a trained model. (trainedmodels.delete) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + */ + public function delete($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Check training status of your model. (trainedmodels.get) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function get($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Prediction_Insert2"); + } + /** + * Train a Prediction API model. (trainedmodels.insert) + * + * @param string $project The project associated with the model. + * @param Google_Service_Prediction_Insert $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function insert($project, Google_Service_Prediction_Insert $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Prediction_Insert2"); + } + /** + * List available models. (trainedmodels.listTrainedmodels) + * + * @param string $project The project associated with the model. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string pageToken Pagination token. + * @return Google_Service_Prediction_PredictionList + */ + public function listTrainedmodels($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Prediction_PredictionList"); + } + /** + * Submit model id and request a prediction. (trainedmodels.predict) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param Google_Service_Prediction_Input $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Output + */ + public function predict($project, $id, Google_Service_Prediction_Input $postBody, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_Prediction_Output"); + } + /** + * Add new data to a trained model. (trainedmodels.update) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param Google_Service_Prediction_Update $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function update($project, $id, Google_Service_Prediction_Update $postBody, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Prediction_Insert2"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php new file mode 100644 index 00000000..db3f867e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Prediction/Update.php @@ -0,0 +1,40 @@ +csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } + public function setOutput($output) + { + $this->output = $output; + } + public function getOutput() + { + return $this->output; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php new file mode 100644 index 00000000..81638c22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon.php @@ -0,0 +1,353 @@ + + * Registers, manages, indexes, and searches beacons.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Proximitybeacon extends Google_Service +{ + /** View and modify your beacons. */ + const USERLOCATION_BEACON_REGISTRY = + "https://www.googleapis.com/auth/userlocation.beacon.registry"; + + public $beaconinfo; + public $beacons; + public $beacons_attachments; + public $beacons_diagnostics; + public $namespaces; + public $v1beta1; + + /** + * Constructs the internal representation of the Proximitybeacon service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://proximitybeacon.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'proximitybeacon'; + + $this->beaconinfo = new Google_Service_Proximitybeacon_Resource_Beaconinfo( + $this, + $this->serviceName, + 'beaconinfo', + array( + 'methods' => array( + 'getforobserved' => array( + 'path' => 'v1beta1/beaconinfo:getforobserved', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->beacons = new Google_Service_Proximitybeacon_Resource_Beacons( + $this, + $this->serviceName, + 'beacons', + array( + 'methods' => array( + 'activate' => array( + 'path' => 'v1beta1/{+beaconName}:activate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'deactivate' => array( + 'path' => 'v1beta1/{+beaconName}:deactivate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decommission' => array( + 'path' => 'v1beta1/{+beaconName}:decommission', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+beaconName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+beaconName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1beta1/beacons', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'register' => array( + 'path' => 'v1beta1/beacons:register', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1beta1/{+beaconName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->beacons_attachments = new Google_Service_Proximitybeacon_Resource_BeaconsAttachments( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'v1beta1/{+beaconName}/attachments:batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'namespacedType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'create' => array( + 'path' => 'v1beta1/{+beaconName}/attachments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+attachmentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'attachmentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+beaconName}/attachments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'namespacedType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->beacons_diagnostics = new Google_Service_Proximitybeacon_Resource_BeaconsDiagnostics( + $this, + $this->serviceName, + 'diagnostics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/{+beaconName}/diagnostics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'alertFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->namespaces = new Google_Service_Proximitybeacon_Resource_Namespaces( + $this, + $this->serviceName, + 'namespaces', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/namespaces', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1beta1/{+namespaceName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'namespaceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->v1beta1 = new Google_Service_Proximitybeacon_Resource_V1beta1( + $this, + $this->serviceName, + 'v1beta1', + array( + 'methods' => array( + 'getEidparams' => array( + 'path' => 'v1beta1/eidparams', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php new file mode 100644 index 00000000..de73fa61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AdvertisedId.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php new file mode 100644 index 00000000..88213c41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/AttachmentInfo.php @@ -0,0 +1,39 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setNamespacedType($namespacedType) + { + $this->namespacedType = $namespacedType; + } + public function getNamespacedType() + { + return $this->namespacedType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php new file mode 100644 index 00000000..e2713f2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Beacon.php @@ -0,0 +1,124 @@ +advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEphemeralIdRegistration(Google_Service_Proximitybeacon_EphemeralIdRegistration $ephemeralIdRegistration) + { + $this->ephemeralIdRegistration = $ephemeralIdRegistration; + } + public function getEphemeralIdRegistration() + { + return $this->ephemeralIdRegistration; + } + public function setExpectedStability($expectedStability) + { + $this->expectedStability = $expectedStability; + } + public function getExpectedStability() + { + return $this->expectedStability; + } + public function setIndoorLevel(Google_Service_Proximitybeacon_IndoorLevel $indoorLevel) + { + $this->indoorLevel = $indoorLevel; + } + public function getIndoorLevel() + { + return $this->indoorLevel; + } + public function setLatLng(Google_Service_Proximitybeacon_LatLng $latLng) + { + $this->latLng = $latLng; + } + public function getLatLng() + { + return $this->latLng; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setProvisioningKey($provisioningKey) + { + $this->provisioningKey = $provisioningKey; + } + public function getProvisioningKey() + { + return $this->provisioningKey; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php new file mode 100644 index 00000000..05d76e8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconAttachment.php @@ -0,0 +1,57 @@ +attachmentName = $attachmentName; + } + public function getAttachmentName() + { + return $this->attachmentName; + } + public function setCreationTimeMs($creationTimeMs) + { + $this->creationTimeMs = $creationTimeMs; + } + public function getCreationTimeMs() + { + return $this->creationTimeMs; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setNamespacedType($namespacedType) + { + $this->namespacedType = $namespacedType; + } + public function getNamespacedType() + { + return $this->namespacedType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php new file mode 100644 index 00000000..cd360398 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/BeaconInfo.php @@ -0,0 +1,51 @@ +advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php new file mode 100644 index 00000000..14b2ebbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php new file mode 100644 index 00000000..edccbfbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/DeleteAttachmentsResponse.php @@ -0,0 +1,30 @@ +numDeleted = $numDeleted; + } + public function getNumDeleted() + { + return $this->numDeleted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php new file mode 100644 index 00000000..6294b534 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Diagnostics.php @@ -0,0 +1,50 @@ +alerts = $alerts; + } + public function getAlerts() + { + return $this->alerts; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } + public function setEstimatedLowBatteryDate(Google_Service_Proximitybeacon_Date $estimatedLowBatteryDate) + { + $this->estimatedLowBatteryDate = $estimatedLowBatteryDate; + } + public function getEstimatedLowBatteryDate() + { + return $this->estimatedLowBatteryDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php new file mode 100644 index 00000000..0859c14b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistration.php @@ -0,0 +1,75 @@ +beaconEcdhPublicKey = $beaconEcdhPublicKey; + } + public function getBeaconEcdhPublicKey() + { + return $this->beaconEcdhPublicKey; + } + public function setBeaconIdentityKey($beaconIdentityKey) + { + $this->beaconIdentityKey = $beaconIdentityKey; + } + public function getBeaconIdentityKey() + { + return $this->beaconIdentityKey; + } + public function setInitialClockValue($initialClockValue) + { + $this->initialClockValue = $initialClockValue; + } + public function getInitialClockValue() + { + return $this->initialClockValue; + } + public function setInitialEid($initialEid) + { + $this->initialEid = $initialEid; + } + public function getInitialEid() + { + return $this->initialEid; + } + public function setRotationPeriodExponent($rotationPeriodExponent) + { + $this->rotationPeriodExponent = $rotationPeriodExponent; + } + public function getRotationPeriodExponent() + { + return $this->rotationPeriodExponent; + } + public function setServiceEcdhPublicKey($serviceEcdhPublicKey) + { + $this->serviceEcdhPublicKey = $serviceEcdhPublicKey; + } + public function getServiceEcdhPublicKey() + { + return $this->serviceEcdhPublicKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php new file mode 100644 index 00000000..38577f17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/EphemeralIdRegistrationParams.php @@ -0,0 +1,48 @@ +maxRotationPeriodExponent = $maxRotationPeriodExponent; + } + public function getMaxRotationPeriodExponent() + { + return $this->maxRotationPeriodExponent; + } + public function setMinRotationPeriodExponent($minRotationPeriodExponent) + { + $this->minRotationPeriodExponent = $minRotationPeriodExponent; + } + public function getMinRotationPeriodExponent() + { + return $this->minRotationPeriodExponent; + } + public function setServiceEcdhPublicKey($serviceEcdhPublicKey) + { + $this->serviceEcdhPublicKey = $serviceEcdhPublicKey; + } + public function getServiceEcdhPublicKey() + { + return $this->serviceEcdhPublicKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php new file mode 100644 index 00000000..e530615a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsRequest.php @@ -0,0 +1,41 @@ +namespacedTypes = $namespacedTypes; + } + public function getNamespacedTypes() + { + return $this->namespacedTypes; + } + public function setObservations($observations) + { + $this->observations = $observations; + } + public function getObservations() + { + return $this->observations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php new file mode 100644 index 00000000..8522a546 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/GetInfoForObservedBeaconsResponse.php @@ -0,0 +1,32 @@ +beacons = $beacons; + } + public function getBeacons() + { + return $this->beacons; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php new file mode 100644 index 00000000..a2506345 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/IndoorLevel.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php new file mode 100644 index 00000000..e79bdeb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/LatLng.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php new file mode 100644 index 00000000..bd04678e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconAttachmentsResponse.php @@ -0,0 +1,32 @@ +attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php new file mode 100644 index 00000000..3a9d6eaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListBeaconsResponse.php @@ -0,0 +1,50 @@ +beacons = $beacons; + } + public function getBeacons() + { + return $this->beacons; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalCount($totalCount) + { + $this->totalCount = $totalCount; + } + public function getTotalCount() + { + return $this->totalCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php new file mode 100644 index 00000000..e60e49f7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListDiagnosticsResponse.php @@ -0,0 +1,41 @@ +diagnostics = $diagnostics; + } + public function getDiagnostics() + { + return $this->diagnostics; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php new file mode 100644 index 00000000..2fc56989 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ListNamespacesResponse.php @@ -0,0 +1,32 @@ +namespaces = $namespaces; + } + public function getNamespaces() + { + return $this->namespaces; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php new file mode 100644 index 00000000..d8095521 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Observation.php @@ -0,0 +1,49 @@ +advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setTelemetry($telemetry) + { + $this->telemetry = $telemetry; + } + public function getTelemetry() + { + return $this->telemetry; + } + public function setTimestampMs($timestampMs) + { + $this->timestampMs = $timestampMs; + } + public function getTimestampMs() + { + return $this->timestampMs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php new file mode 100644 index 00000000..5bcf3afb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/ProximitybeaconEmpty.php @@ -0,0 +1,20 @@ +namespaceName = $namespaceName; + } + public function getNamespaceName() + { + return $this->namespaceName; + } + public function setServingVisibility($servingVisibility) + { + $this->servingVisibility = $servingVisibility; + } + public function getServingVisibility() + { + return $this->servingVisibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php new file mode 100644 index 00000000..0208cc15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beaconinfo.php @@ -0,0 +1,44 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $beaconinfo = $proximitybeaconService->beaconinfo; + * + */ +class Google_Service_Proximitybeacon_Resource_Beaconinfo extends Google_Service_Resource +{ + /** + * Given one or more beacon observations, returns any beacon information and + * attachments accessible to your application. Authorize by using the [API + * key](https://developers.google.com/beacons/proximity/how- + * tos/authorizing#APIKey) for the application. (beaconinfo.getforobserved) + * + * @param Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse + */ + public function getforobserved(Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getforobserved', array($params), "Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php new file mode 100644 index 00000000..1600280c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Beacons.php @@ -0,0 +1,316 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $beacons = $proximitybeaconService->beacons; + * + */ +class Google_Service_Proximitybeacon_Resource_Beacons extends Google_Service_Resource +{ + /** + * Activates a beacon. A beacon that is active will return information and + * attachment data when queried via `beaconinfo.getforobserved`. Calling this + * method on an already active beacon will do nothing (but will return a + * successful response code). + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.activate) + * + * @param string $beaconName Beacon that should be activated. A beacon name has + * the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + * by the beacon and N is a code for the beacon's type. Possible values are `3` + * for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for + * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or + * the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to activate. If the + * project id is not specified then the project making the request is used. The + * project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty + */ + public function activate($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('activate', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty"); + } + /** + * Deactivates a beacon. Once deactivated, the API will not return information + * nor attachment data for the beacon when queried via + * `beaconinfo.getforobserved`. Calling this method on an already inactive + * beacon will do nothing (but will return a successful response code). + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.deactivate) + * + * @param string $beaconName Beacon that should be deactivated. A beacon name + * has the format "beacons/N!beaconId" where the beaconId is the base16 ID + * broadcast by the beacon and N is a code for the beacon's type. Possible + * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or + * `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current + * EID or the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to deactivate. If + * the project id is not specified then the project making the request is used. + * The project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty + */ + public function deactivate($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('deactivate', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty"); + } + /** + * Decommissions the specified beacon in the service. This beacon will no longer + * be returned from `beaconinfo.getforobserved`. This operation is permanent -- + * you will not be able to re-register a beacon with this ID again. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.decommission) + * + * @param string $beaconName Beacon that should be decommissioned. A beacon name + * has the format "beacons/N!beaconId" where the beaconId is the base16 ID + * broadcast by the beacon and N is a code for the beacon's type. Possible + * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or + * `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current + * EID of the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to decommission. If + * the project id is not specified then the project making the request is used. + * The project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty + */ + public function decommission($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('decommission', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty"); + } + /** + * Deletes the specified beacon including all diagnostics data for the beacon as + * well as any attachments on the beacon (including those belonging to other + * projects). This operation cannot be undone. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.delete) + * + * @param string $beaconName Beacon that should be deleted. A beacon name has + * the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + * by the beacon and N is a code for the beacon's type. Possible values are `3` + * for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for + * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or + * the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to delete. If not + * provided, the project that is making the request is used. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty + */ + public function delete($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty"); + } + /** + * Returns detailed information about the specified beacon. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in + * the Google Developers Console project. + * + * Requests may supply an Eddystone-EID beacon name in the form: + * `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID + * broadcast by the beacon. The returned `Beacon` object will contain the + * beacon's stable Eddystone-UID. Clients not authorized to resolve the beacon's + * ephemeral Eddystone-EID broadcast will receive an error. (beacons.get) + * + * @param string $beaconName Resource name of this beacon. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are `3` for + * Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. + * For Eddystone-EID beacons, you may use either the current EID or the beacon's + * "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to request. If the + * project id is not specified then the project making the request is used. The + * project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function get($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Proximitybeacon_Beacon"); + } + /** + * Searches the beacon registry for beacons that match the given search + * criteria. Only those beacons that the client has permission to list will be + * returned. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in + * the Google Developers Console project. (beacons.listBeacons) + * + * @param array $optParams Optional parameters. + * + * @opt_param string q Filter query string that supports the following field + * filters: + * + * * **description:`""`** For example: **description:"Room 3"** Returns + * beacons whose description matches tokens in the string "Room 3" (not + * necessarily that exact string). The string must be double-quoted. * + * **status:``** For example: **status:active** Returns beacons whose status + * matches the given value. Values must be one of the Beacon.Status enum + * values (case insensitive). Accepts multiple filters which will be combined + * with OR logic. * **stability:``** For example: **stability:mobile** + * Returns beacons whose expected stability matches the given value. Values + * must be one of the Beacon.Stability enum values (case insensitive). Accepts + * multiple filters which will be combined with OR logic. * **place\_id:`""`** + * For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="** Returns beacons + * explicitly registered at the given place, expressed as a Place ID obtained + * from [Google Places API](/places/place-id). Does not match places inside + * the given place. Does not consider the beacon's actual location (which may + * be different from its registered place). Accepts multiple filters that will + * be combined with OR logic. The place ID must be double-quoted. * + * **registration\_time`[<|>|<=|>=]`** For example: + * **registration\_time>=1433116800** Returns beacons whose registration time + * matches the given filter. Supports the operators: <, >, <=, and >=. + * Timestamp must be expressed as an integer number of seconds since midnight + * January 1, 1970 UTC. Accepts at most two filters that will be combined with + * AND logic, to support "between" semantics. If more than two are supplied, + * the latter ones are ignored. * **lat:` lng: radius:`** For example: + * **lat:51.1232343 lng:-1.093852 radius:1000** Returns beacons whose + * registered location is within the given circle. When any of these fields + * are given, all are required. Latitude and longitude must be decimal degrees + * between -90.0 and 90.0 and between -180.0 and 180.0 respectively. Radius + * must be an integer number of meters between 10 and 1,000,000 (1000 km). * + * **property:`"="`** For example: **property:"battery-type=CR2032"** + * Returns beacons which have a property of the given name and value. Supports + * multiple filters which will be combined with OR logic. The entire + * name=value string must be double-quoted as one string. * + * **attachment\_type:`""`** For example: **attachment_type:"my-namespace/my- + * type"** Returns beacons having at least one attachment of the given + * namespaced type. Supports "any within this namespace" via the partial + * wildcard syntax: "my-namespace". Supports multiple filters which will be + * combined with OR logic. The string must be double-quoted. * + * **indoor\_level:`""`** For example: **indoor\_level:"1"** Returns beacons + * which are located on the given indoor level. Accepts multiple filters that + * will be combined with OR logic. + * + * Multiple filters on the same field are combined with OR logic (except + * registration_time which is combined with AND logic). Multiple filters on + * different fields are combined with AND logic. Filters should be separated by + * spaces. + * + * As with any HTTP query string parameter, the whole filter expression must be + * URL-encoded. + * + * Example REST request: `GET + * /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` + * @opt_param int pageSize The maximum number of records to return for this + * request, up to a server-defined upper limit. + * @opt_param string pageToken A pagination token obtained from a previous + * request to list beacons. + * @opt_param string projectId The project id to list beacons under. If not + * present then the project credential that made the request is used as the + * project. Optional. + * @return Google_Service_Proximitybeacon_ListBeaconsResponse + */ + public function listBeacons($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconsResponse"); + } + /** + * Registers a previously unregistered beacon given its `advertisedId`. These + * IDs are unique within the system. An ID can be registered only once. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.register) + * + * @param Google_Service_Proximitybeacon_Beacon $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the project the beacon will be + * registered to. If the project id is not specified then the project making the + * request is used. Optional. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function register(Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Proximitybeacon_Beacon"); + } + /** + * Updates the information about the specified beacon. **Any field that you do + * not populate in the submitted beacon will be permanently erased**, so you + * should follow the "read, modify, write" pattern to avoid inadvertently + * destroying data. + * + * Changes to the beacon status via this method will be silently ignored. To + * update beacon status, use the separate methods on this API for activation, + * deactivation, and decommissioning. Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (beacons.update) + * + * @param string $beaconName Resource name of this beacon. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are `3` for + * Eddystone, `1` for iBeacon, or `5` for AltBeacon. + * + * This field must be left empty when registering. After reading a beacon, + * clients can use the name for future operations. + * @param Google_Service_Proximitybeacon_Beacon $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the beacon to update. If the + * project id is not specified then the project making the request is used. The + * project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function update($beaconName, Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array()) + { + $params = array('beaconName' => $beaconName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Proximitybeacon_Beacon"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php new file mode 100644 index 00000000..694d74d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsAttachments.php @@ -0,0 +1,170 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $attachments = $proximitybeaconService->attachments; + * + */ +class Google_Service_Proximitybeacon_Resource_BeaconsAttachments extends Google_Service_Resource +{ + /** + * Deletes multiple attachments on a given beacon. This operation is permanent + * and cannot be undone. + * + * You can optionally specify `namespacedType` to choose which attachments + * should be deleted. If you do not specify `namespacedType`, all your + * attachments on the given beacon will be deleted. You also may explicitly + * specify `*` to delete all. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (attachments.batchDelete) + * + * @param string $beaconName The beacon whose attachments should be deleted. A + * beacon name has the format "beacons/N!beaconId" where the beaconId is the + * base16 ID broadcast by the beacon and N is a code for the beacon's type. + * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for + * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either + * the current EID or the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string namespacedType Specifies the namespace and type of + * attachments to delete in `namespace/type` format. Accepts `*` to specify "all + * types in all namespaces". Optional. + * @opt_param string projectId The project id to delete beacon attachments + * under. This field can be used when "*" is specified to mean all attachment + * namespaces. Projects may have multiple attachments with multiple namespaces. + * If "*" is specified and the projectId string is empty, then the project + * making the request is used. Optional. + * @return Google_Service_Proximitybeacon_DeleteAttachmentsResponse + */ + public function batchDelete($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_Proximitybeacon_DeleteAttachmentsResponse"); + } + /** + * Associates the given data with the specified beacon. Attachment data must + * contain two parts: + * + * A namespaced type. The actual attachment data itself. + * + * The namespaced type consists of two parts, the namespace and the type. The + * namespace must be one of the values returned by the `namespaces` endpoint, + * while the type can be a string of any characters except for the forward slash + * (`/`) up to 100 characters in length. + * + * Attachment data can be up to 1024 bytes long. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (attachments.create) + * + * @param string $beaconName Beacon on which the attachment should be created. A + * beacon name has the format "beacons/N!beaconId" where the beaconId is the + * base16 ID broadcast by the beacon and N is a code for the beacon's type. + * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for + * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either + * the current EID or the beacon's "stable" UID. Required. + * @param Google_Service_Proximitybeacon_BeaconAttachment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the project the attachment will + * belong to. If the project id is not specified then the project making the + * request is used. Optional. + * @return Google_Service_Proximitybeacon_BeaconAttachment + */ + public function create($beaconName, Google_Service_Proximitybeacon_BeaconAttachment $postBody, $optParams = array()) + { + $params = array('beaconName' => $beaconName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Proximitybeacon_BeaconAttachment"); + } + /** + * Deletes the specified attachment for the given beacon. Each attachment has a + * unique attachment name (`attachmentName`) which is returned when you fetch + * the attachment data via this API. You specify this with the delete request to + * control which attachment is removed. This operation cannot be undone. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **Is owner** or **Can edit** permissions in the Google + * Developers Console project. (attachments.delete) + * + * @param string $attachmentName The attachment name (`attachmentName`) of the + * attachment to remove. For example: + * `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For + * Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the + * beacon's current EID, or its "stable" Eddystone-UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the attachment to delete. If + * not provided, the project that is making the request is used. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconEmpty + */ + public function delete($attachmentName, $optParams = array()) + { + $params = array('attachmentName' => $attachmentName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Proximitybeacon_ProximitybeaconEmpty"); + } + /** + * Returns the attachments for the specified beacon that match the specified + * namespaced-type pattern. + * + * To control which namespaced types are returned, you add the `namespacedType` + * query parameter to the request. You must either use `*`, to return all + * attachments, or the namespace must be one of the ones returned from the + * `namespaces` endpoint. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in + * the Google Developers Console project. (attachments.listBeaconsAttachments) + * + * @param string $beaconName Beacon whose attachments should be fetched. A + * beacon name has the format "beacons/N!beaconId" where the beaconId is the + * base16 ID broadcast by the beacon and N is a code for the beacon's type. + * Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for + * iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either + * the current EID or the beacon's "stable" UID. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string namespacedType Specifies the namespace and type of + * attachment to include in response in namespace/type format. Accepts `*` to + * specify "all types in all namespaces". + * @opt_param string projectId The project id to list beacon attachments under. + * This field can be used when "*" is specified to mean all attachment + * namespaces. Projects may have multiple attachments with multiple namespaces. + * If "*" is specified and the projectId string is empty, then the project + * making the request is used. Optional. + * @return Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse + */ + public function listBeaconsAttachments($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php new file mode 100644 index 00000000..de301528 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/BeaconsDiagnostics.php @@ -0,0 +1,59 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $diagnostics = $proximitybeaconService->diagnostics; + * + */ +class Google_Service_Proximitybeacon_Resource_BeaconsDiagnostics extends Google_Service_Resource +{ + /** + * List the diagnostics for a single beacon. You can also list diagnostics for + * all the beacons owned by your Google Developers Console project by using the + * beacon name `beacons/-`. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in + * the Google Developers Console project. (diagnostics.listBeaconsDiagnostics) + * + * @param string $beaconName Beacon that the diagnostics are for. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Specifies the maximum number of results to return. + * Defaults to 10. Maximum 1000. Optional. + * @opt_param string alertFilter Requests only beacons that have the given + * alert. For example, to find beacons that have low batteries use + * `alert_filter=LOW_BATTERY`. + * @opt_param string pageToken Requests results that occur after the + * `page_token`, obtained from the response to a previous request. Optional. + * @opt_param string projectId Requests only diagnostic records for the given + * project id. If not set, then the project making the request will be used for + * looking up diagnostic records. Optional. + * @return Google_Service_Proximitybeacon_ListDiagnosticsResponse + */ + public function listBeaconsDiagnostics($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListDiagnosticsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php new file mode 100644 index 00000000..545a574d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/Namespaces.php @@ -0,0 +1,70 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $namespaces = $proximitybeaconService->namespaces; + * + */ +class Google_Service_Proximitybeacon_Resource_Namespaces extends Google_Service_Resource +{ + /** + * Lists all attachment namespaces owned by your Google Developers Console + * project. Attachment data associated with a beacon must include a namespaced + * type, and the namespace must be owned by your project. + * + * Authenticate using an [OAuth access + * token](https://developers.google.com/identity/protocols/OAuth2) from a + * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in + * the Google Developers Console project. (namespaces.listNamespaces) + * + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id to list namespaces under. + * Optional. + * @return Google_Service_Proximitybeacon_ListNamespacesResponse + */ + public function listNamespaces($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListNamespacesResponse"); + } + /** + * Updates the information about the specified namespace. Only the namespace + * visibility can be updated. (namespaces.update) + * + * @param string $namespaceName Resource name of this namespace. Namespaces + * names have the format: namespaces/namespace. + * @param Google_Service_Proximitybeacon_ProximitybeaconNamespace $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The project id of the namespace to update. If the + * project id is not specified then the project making the request is used. The + * project id must match the project that owns the beacon. Optional. + * @return Google_Service_Proximitybeacon_ProximitybeaconNamespace + */ + public function update($namespaceName, Google_Service_Proximitybeacon_ProximitybeaconNamespace $postBody, $optParams = array()) + { + $params = array('namespaceName' => $namespaceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Proximitybeacon_ProximitybeaconNamespace"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php new file mode 100644 index 00000000..2d1b40be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Proximitybeacon/Resource/V1beta1.php @@ -0,0 +1,46 @@ + + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $v1beta1 = $proximitybeaconService->v1beta1; + * + */ +class Google_Service_Proximitybeacon_Resource_V1beta1 extends Google_Service_Resource +{ + /** + * Gets the Proximity Beacon API's current public key and associated parameters + * used to initiate the Diffie-Hellman key exchange required to register a + * beacon that broadcasts the Eddystone-EID format. This key changes + * periodically; clients may cache it and re-use the same public key to + * provision and register multiple beacons. However, clients should be prepared + * to refresh this key when they encounter an error registering an Eddystone-EID + * beacon. (v1beta1.getEidparams) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_EphemeralIdRegistrationParams + */ + public function getEidparams($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getEidparams', array($params), "Google_Service_Proximitybeacon_EphemeralIdRegistrationParams"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php new file mode 100644 index 00000000..d6b15be1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub.php @@ -0,0 +1,353 @@ + + * Provides reliable, many-to-many, asynchronous messaging between applications.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Pubsub extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage Pub/Sub topics and subscriptions. */ + const PUBSUB = + "https://www.googleapis.com/auth/pubsub"; + + public $projects_snapshots; + public $projects_subscriptions; + public $projects_topics; + public $projects_topics_subscriptions; + + /** + * Constructs the internal representation of the Pubsub service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://pubsub.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'pubsub'; + + $this->projects_snapshots = new Google_Service_Pubsub_Resource_ProjectsSnapshots( + $this, + $this->serviceName, + 'snapshots', + array( + 'methods' => array( + 'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_subscriptions = new Google_Service_Pubsub_Resource_ProjectsSubscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => 'v1/{+subscription}:acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+subscription}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+subscription}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+project}/subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'modifyAckDeadline' => array( + 'path' => 'v1/{+subscription}:modifyAckDeadline', + 'httpMethod' => 'POST', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'modifyPushConfig' => array( + 'path' => 'v1/{+subscription}:modifyPushConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'pull' => array( + 'path' => 'v1/{+subscription}:pull', + 'httpMethod' => 'POST', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_topics = new Google_Service_Pubsub_Resource_ProjectsTopics( + $this, + $this->serviceName, + 'topics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+topic}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+topic}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+project}/topics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'publish' => array( + 'path' => 'v1/{+topic}:publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_topics_subscriptions = new Google_Service_Pubsub_Resource_ProjectsTopicsSubscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/{+topic}/subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php new file mode 100644 index 00000000..7b00a19f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/AcknowledgeRequest.php @@ -0,0 +1,31 @@ +ackIds = $ackIds; + } + public function getAckIds() + { + return $this->ackIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php new file mode 100644 index 00000000..4d35ba89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php new file mode 100644 index 00000000..278c9796 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListSubscriptionsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubscriptions($subscriptions) + { + $this->subscriptions = $subscriptions; + } + public function getSubscriptions() + { + return $this->subscriptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php new file mode 100644 index 00000000..d600e582 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicSubscriptionsResponse.php @@ -0,0 +1,40 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubscriptions($subscriptions) + { + $this->subscriptions = $subscriptions; + } + public function getSubscriptions() + { + return $this->subscriptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php new file mode 100644 index 00000000..a39b544f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ListTopicsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTopics($topics) + { + $this->topics = $topics; + } + public function getTopics() + { + return $this->topics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php new file mode 100644 index 00000000..05277801 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyAckDeadlineRequest.php @@ -0,0 +1,40 @@ +ackDeadlineSeconds = $ackDeadlineSeconds; + } + public function getAckDeadlineSeconds() + { + return $this->ackDeadlineSeconds; + } + public function setAckIds($ackIds) + { + $this->ackIds = $ackIds; + } + public function getAckIds() + { + return $this->ackIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php new file mode 100644 index 00000000..738bf73c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ModifyPushConfigRequest.php @@ -0,0 +1,31 @@ +pushConfig = $pushConfig; + } + public function getPushConfig() + { + return $this->pushConfig; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php new file mode 100644 index 00000000..556af7b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Policy.php @@ -0,0 +1,50 @@ +bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php new file mode 100644 index 00000000..a3a8db7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishRequest.php @@ -0,0 +1,32 @@ +messages = $messages; + } + public function getMessages() + { + return $this->messages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php new file mode 100644 index 00000000..c639c407 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PublishResponse.php @@ -0,0 +1,31 @@ +messageIds = $messageIds; + } + public function getMessageIds() + { + return $this->messageIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php new file mode 100644 index 00000000..07f94691 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PubsubEmpty.php @@ -0,0 +1,20 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessageId($messageId) + { + $this->messageId = $messageId; + } + public function getMessageId() + { + return $this->messageId; + } + public function setPublishTime($publishTime) + { + $this->publishTime = $publishTime; + } + public function getPublishTime() + { + return $this->publishTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php new file mode 100644 index 00000000..9d2e7afd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullRequest.php @@ -0,0 +1,39 @@ +maxMessages = $maxMessages; + } + public function getMaxMessages() + { + return $this->maxMessages; + } + public function setReturnImmediately($returnImmediately) + { + $this->returnImmediately = $returnImmediately; + } + public function getReturnImmediately() + { + return $this->returnImmediately; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php new file mode 100644 index 00000000..c7476cde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PullResponse.php @@ -0,0 +1,32 @@ +receivedMessages = $receivedMessages; + } + public function getReceivedMessages() + { + return $this->receivedMessages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php new file mode 100644 index 00000000..80c68a02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/PushConfig.php @@ -0,0 +1,39 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setPushEndpoint($pushEndpoint) + { + $this->pushEndpoint = $pushEndpoint; + } + public function getPushEndpoint() + { + return $this->pushEndpoint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php new file mode 100644 index 00000000..cd3dc87f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/ReceivedMessage.php @@ -0,0 +1,40 @@ +ackId = $ackId; + } + public function getAckId() + { + return $this->ackId; + } + public function setMessage(Google_Service_Pubsub_PubsubMessage $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php new file mode 100644 index 00000000..6b637693 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $pubsubService = new Google_Service_Pubsub(...); + * $projects = $pubsubService->projects; + * + */ +class Google_Service_Pubsub_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php new file mode 100644 index 00000000..738b18c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSnapshots.php @@ -0,0 +1,83 @@ + + * $pubsubService = new Google_Service_Pubsub(...); + * $snapshots = $pubsubService->snapshots; + * + */ +class Google_Service_Pubsub_Resource_ProjectsSnapshots extends Google_Service_Resource +{ + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (snapshots.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (snapshots.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (snapshots.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. `resource` is usually specified as a path. For example, a + * Project resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php new file mode 100644 index 00000000..f649aecc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsSubscriptions.php @@ -0,0 +1,243 @@ + + * $pubsubService = new Google_Service_Pubsub(...); + * $subscriptions = $pubsubService->subscriptions; + * + */ +class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Service_Resource +{ + /** + * Acknowledges the messages associated with the `ack_ids` in the + * `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages + * from the subscription. + * + * Acknowledging a message whose ack deadline has expired may succeed, but such + * a message may be redelivered later. Acknowledging a message more than once + * will not result in an error. (subscriptions.acknowledge) + * + * @param string $subscription The subscription whose message is being + * acknowledged. Format is `projects/{project}/subscriptions/{sub}`. + * @param Google_Service_Pubsub_AcknowledgeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PubsubEmpty + */ + public function acknowledge($subscription, Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array()) + { + $params = array('subscription' => $subscription, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('acknowledge', array($params), "Google_Service_Pubsub_PubsubEmpty"); + } + /** + * Creates a subscription to a given topic. If the subscription already exists, + * returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns + * `NOT_FOUND`. + * + * If the name is not provided in the request, the server will assign a random + * name for this subscription on the same project as the topic, conforming to + * the [resource name + * format](https://cloud.google.com/pubsub/docs/overview#names). The generated + * name is populated in the returned Subscription object. Note that for REST API + * requests, you must specify a name in the request. (subscriptions.create) + * + * @param string $name The name of the subscription. It must have the format + * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must + * start with a letter, and contain only letters (`[A-Za-z]`), numbers + * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus + * (`+`) or percent signs (`%`). It must be between 3 and 255 characters in + * length, and it must not start with `"goog"`. + * @param Google_Service_Pubsub_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Subscription + */ + public function create($name, Google_Service_Pubsub_Subscription $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Pubsub_Subscription"); + } + /** + * Deletes an existing subscription. All messages retained in the subscription + * are immediately dropped. Calls to `Pull` after deletion will return + * `NOT_FOUND`. After a subscription is deleted, a new one may be created with + * the same name, but the new one has no association with the old subscription + * or its topic unless the same topic is specified. (subscriptions.delete) + * + * @param string $subscription The subscription to delete. Format is + * `projects/{project}/subscriptions/{sub}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PubsubEmpty + */ + public function delete($subscription, $optParams = array()) + { + $params = array('subscription' => $subscription); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Pubsub_PubsubEmpty"); + } + /** + * Gets the configuration details of a subscription. (subscriptions.get) + * + * @param string $subscription The name of the subscription to get. Format is + * `projects/{project}/subscriptions/{sub}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Subscription + */ + public function get($subscription, $optParams = array()) + { + $params = array('subscription' => $subscription); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Pubsub_Subscription"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (subscriptions.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Lists matching subscriptions. (subscriptions.listProjectsSubscriptions) + * + * @param string $project The name of the cloud project that subscriptions + * belong to. Format is `projects/{project}`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value returned by the last + * `ListSubscriptionsResponse`; indicates that this is a continuation of a prior + * `ListSubscriptions` call, and that the system should return the next page of + * data. + * @opt_param int pageSize Maximum number of subscriptions to return. + * @return Google_Service_Pubsub_ListSubscriptionsResponse + */ + public function listProjectsSubscriptions($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse"); + } + /** + * Modifies the ack deadline for a specific message. This method is useful to + * indicate that more time is needed to process a message by the subscriber, or + * to make the message available for redelivery if the processing was + * interrupted. Note that this does not modify the subscription-level + * `ackDeadlineSeconds` used for subsequent messages. + * (subscriptions.modifyAckDeadline) + * + * @param string $subscription The name of the subscription. Format is + * `projects/{project}/subscriptions/{sub}`. + * @param Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PubsubEmpty + */ + public function modifyAckDeadline($subscription, Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array()) + { + $params = array('subscription' => $subscription, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_PubsubEmpty"); + } + /** + * Modifies the `PushConfig` for a specified subscription. + * + * This may be used to change a push subscription to a pull one (signified by an + * empty `PushConfig`) or vice versa, or change the endpoint URL and other + * attributes of a push subscription. Messages will accumulate for delivery + * continuously through the call regardless of changes to the `PushConfig`. + * (subscriptions.modifyPushConfig) + * + * @param string $subscription The name of the subscription. Format is + * `projects/{project}/subscriptions/{sub}`. + * @param Google_Service_Pubsub_ModifyPushConfigRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PubsubEmpty + */ + public function modifyPushConfig($subscription, Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array()) + { + $params = array('subscription' => $subscription, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_PubsubEmpty"); + } + /** + * Pulls messages from the server. Returns an empty list if there are no + * messages available in the backlog. The server may return `UNAVAILABLE` if + * there are too many concurrent pull requests pending for the given + * subscription. (subscriptions.pull) + * + * @param string $subscription The subscription from which messages should be + * pulled. Format is `projects/{project}/subscriptions/{sub}`. + * @param Google_Service_Pubsub_PullRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PullResponse + */ + public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody, $optParams = array()) + { + $params = array('subscription' => $subscription, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (subscriptions.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (subscriptions.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. `resource` is usually specified as a path. For example, a + * Project resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php new file mode 100644 index 00000000..66c123ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopics.php @@ -0,0 +1,170 @@ + + * $pubsubService = new Google_Service_Pubsub(...); + * $topics = $pubsubService->topics; + * + */ +class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resource +{ + /** + * Creates the given topic with the given name. (topics.create) + * + * @param string $name The name of the topic. It must have the format + * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, + * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs + * (`%`). It must be between 3 and 255 characters in length, and it must not + * start with `"goog"`. + * @param Google_Service_Pubsub_Topic $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Topic + */ + public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Pubsub_Topic"); + } + /** + * Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does + * not exist. After a topic is deleted, a new topic may be created with the same + * name; this is an entirely new topic with none of the old configuration or + * subscriptions. Existing subscriptions to this topic are not deleted, but + * their `topic` field is set to `_deleted-topic_`. (topics.delete) + * + * @param string $topic Name of the topic to delete. Format is + * `projects/{project}/topics/{topic}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PubsubEmpty + */ + public function delete($topic, $optParams = array()) + { + $params = array('topic' => $topic); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Pubsub_PubsubEmpty"); + } + /** + * Gets the configuration of a topic. (topics.get) + * + * @param string $topic The name of the topic to get. Format is + * `projects/{project}/topics/{topic}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Topic + */ + public function get($topic, $optParams = array()) + { + $params = array('topic' => $topic); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Pubsub_Topic"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (topics.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function getIamPolicy($resource, $optParams = array()) + { + $params = array('resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Lists matching topics. (topics.listProjectsTopics) + * + * @param string $project The name of the cloud project that topics belong to. + * Format is `projects/{project}`. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum number of topics to return. + * @opt_param string pageToken The value returned by the last + * `ListTopicsResponse`; indicates that this is a continuation of a prior + * `ListTopics` call, and that the system should return the next page of data. + * @return Google_Service_Pubsub_ListTopicsResponse + */ + public function listProjectsTopics($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse"); + } + /** + * Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does + * not exist. The message payload must not be empty; it must contain either a + * non-empty data field, or at least one attribute. (topics.publish) + * + * @param string $topic The messages in the request will be published on this + * topic. Format is `projects/{project}/topics/{topic}`. + * @param Google_Service_Pubsub_PublishRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PublishResponse + */ + public function publish($topic, Google_Service_Pubsub_PublishRequest $postBody, $optParams = array()) + { + $params = array('topic' => $topic, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (topics.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. `resource` is usually specified as a path. For example, a Project + * resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Policy + */ + public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (topics.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. `resource` is usually specified as a path. For example, a + * Project resource is specified as `projects/{project}`. + * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php new file mode 100644 index 00000000..6a1e5cc4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Resource/ProjectsTopicsSubscriptions.php @@ -0,0 +1,49 @@ + + * $pubsubService = new Google_Service_Pubsub(...); + * $subscriptions = $pubsubService->subscriptions; + * + */ +class Google_Service_Pubsub_Resource_ProjectsTopicsSubscriptions extends Google_Service_Resource +{ + /** + * Lists the name of the subscriptions for this topic. + * (subscriptions.listProjectsTopicsSubscriptions) + * + * @param string $topic The name of the topic that subscriptions are attached + * to. Format is `projects/{project}/topics/{topic}`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value returned by the last + * `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a + * prior `ListTopicSubscriptions` call, and that the system should return the + * next page of data. + * @opt_param int pageSize Maximum number of subscription names to return. + * @return Google_Service_Pubsub_ListTopicSubscriptionsResponse + */ + public function listProjectsTopicsSubscriptions($topic, $optParams = array()) + { + $params = array('topic' => $topic); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php new file mode 100644 index 00000000..3c577a95 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/SetIamPolicyRequest.php @@ -0,0 +1,31 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php new file mode 100644 index 00000000..78a3681b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Subscription.php @@ -0,0 +1,58 @@ +ackDeadlineSeconds = $ackDeadlineSeconds; + } + public function getAckDeadlineSeconds() + { + return $this->ackDeadlineSeconds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig) + { + $this->pushConfig = $pushConfig; + } + public function getPushConfig() + { + return $this->pushConfig; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php new file mode 100644 index 00000000..10bd3323 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php new file mode 100644 index 00000000..f9a096a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php new file mode 100644 index 00000000..14b6f60b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Pubsub/Topic.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php new file mode 100644 index 00000000..7ab9a25e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress.php @@ -0,0 +1,65 @@ + + * Finds the least expensive flights between an origin and a destination.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_QPXExpress extends Google_Service +{ + + + public $trips; + + /** + * Constructs the internal representation of the QPXExpress service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'qpxExpress/v1/trips/'; + $this->version = 'v1'; + $this->serviceName = 'qpxExpress'; + + $this->trips = new Google_Service_QPXExpress_Resource_Trips( + $this, + $this->serviceName, + 'trips', + array( + 'methods' => array( + 'search' => array( + 'path' => 'search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php new file mode 100644 index 00000000..1e554287 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AircraftData.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php new file mode 100644 index 00000000..1c7cf3f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/AirportData.php @@ -0,0 +1,57 @@ +city = $city; + } + public function getCity() + { + return $this->city; + } + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php new file mode 100644 index 00000000..b5b72b09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/BagDescriptor.php @@ -0,0 +1,67 @@ +commercialName = $commercialName; + } + public function getCommercialName() + { + return $this->commercialName; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSubcode($subcode) + { + $this->subcode = $subcode; + } + public function getSubcode() + { + return $this->subcode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php new file mode 100644 index 00000000..42b54f7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CarrierData.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php new file mode 100644 index 00000000..131cf424 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/CityData.php @@ -0,0 +1,57 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php new file mode 100644 index 00000000..a707205a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Data.php @@ -0,0 +1,81 @@ +aircraft = $aircraft; + } + public function getAircraft() + { + return $this->aircraft; + } + public function setAirport($airport) + { + $this->airport = $airport; + } + public function getAirport() + { + return $this->airport; + } + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCity($city) + { + $this->city = $city; + } + public function getCity() + { + return $this->city; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTax($tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php new file mode 100644 index 00000000..169cef34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FareInfo.php @@ -0,0 +1,84 @@ +basisCode = $basisCode; + } + public function getBasisCode() + { + return $this->basisCode; + } + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setPrivate($private) + { + $this->private = $private; + } + public function getPrivate() + { + return $this->private; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php new file mode 100644 index 00000000..9406e4a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FlightInfo.php @@ -0,0 +1,39 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php new file mode 100644 index 00000000..937192cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/FreeBaggageAllowance.php @@ -0,0 +1,77 @@ +bagDescriptor = $bagDescriptor; + } + public function getBagDescriptor() + { + return $this->bagDescriptor; + } + public function setKilos($kilos) + { + $this->kilos = $kilos; + } + public function getKilos() + { + return $this->kilos; + } + public function setKilosPerPiece($kilosPerPiece) + { + $this->kilosPerPiece = $kilosPerPiece; + } + public function getKilosPerPiece() + { + return $this->kilosPerPiece; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPieces($pieces) + { + $this->pieces = $pieces; + } + public function getPieces() + { + return $this->pieces; + } + public function setPounds($pounds) + { + $this->pounds = $pounds; + } + public function getPounds() + { + return $this->pounds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php new file mode 100644 index 00000000..5236889a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/LegInfo.php @@ -0,0 +1,174 @@ +aircraft = $aircraft; + } + public function getAircraft() + { + return $this->aircraft; + } + public function setArrivalTime($arrivalTime) + { + $this->arrivalTime = $arrivalTime; + } + public function getArrivalTime() + { + return $this->arrivalTime; + } + public function setChangePlane($changePlane) + { + $this->changePlane = $changePlane; + } + public function getChangePlane() + { + return $this->changePlane; + } + public function setConnectionDuration($connectionDuration) + { + $this->connectionDuration = $connectionDuration; + } + public function getConnectionDuration() + { + return $this->connectionDuration; + } + public function setDepartureTime($departureTime) + { + $this->departureTime = $departureTime; + } + public function getDepartureTime() + { + return $this->departureTime; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setDestinationTerminal($destinationTerminal) + { + $this->destinationTerminal = $destinationTerminal; + } + public function getDestinationTerminal() + { + return $this->destinationTerminal; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMeal($meal) + { + $this->meal = $meal; + } + public function getMeal() + { + return $this->meal; + } + public function setMileage($mileage) + { + $this->mileage = $mileage; + } + public function getMileage() + { + return $this->mileage; + } + public function setOnTimePerformance($onTimePerformance) + { + $this->onTimePerformance = $onTimePerformance; + } + public function getOnTimePerformance() + { + return $this->onTimePerformance; + } + public function setOperatingDisclosure($operatingDisclosure) + { + $this->operatingDisclosure = $operatingDisclosure; + } + public function getOperatingDisclosure() + { + return $this->operatingDisclosure; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setOriginTerminal($originTerminal) + { + $this->originTerminal = $originTerminal; + } + public function getOriginTerminal() + { + return $this->originTerminal; + } + public function setSecure($secure) + { + $this->secure = $secure; + } + public function getSecure() + { + return $this->secure; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php new file mode 100644 index 00000000..02cc8a83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PassengerCounts.php @@ -0,0 +1,75 @@ +adultCount = $adultCount; + } + public function getAdultCount() + { + return $this->adultCount; + } + public function setChildCount($childCount) + { + $this->childCount = $childCount; + } + public function getChildCount() + { + return $this->childCount; + } + public function setInfantInLapCount($infantInLapCount) + { + $this->infantInLapCount = $infantInLapCount; + } + public function getInfantInLapCount() + { + return $this->infantInLapCount; + } + public function setInfantInSeatCount($infantInSeatCount) + { + $this->infantInSeatCount = $infantInSeatCount; + } + public function getInfantInSeatCount() + { + return $this->infantInSeatCount; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSeniorCount($seniorCount) + { + $this->seniorCount = $seniorCount; + } + public function getSeniorCount() + { + return $this->seniorCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php new file mode 100644 index 00000000..2f2aed3b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/PricingInfo.php @@ -0,0 +1,143 @@ +baseFareTotal = $baseFareTotal; + } + public function getBaseFareTotal() + { + return $this->baseFareTotal; + } + public function setFare($fare) + { + $this->fare = $fare; + } + public function getFare() + { + return $this->fare; + } + public function setFareCalculation($fareCalculation) + { + $this->fareCalculation = $fareCalculation; + } + public function getFareCalculation() + { + return $this->fareCalculation; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatestTicketingTime($latestTicketingTime) + { + $this->latestTicketingTime = $latestTicketingTime; + } + public function getLatestTicketingTime() + { + return $this->latestTicketingTime; + } + public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) + { + $this->passengers = $passengers; + } + public function getPassengers() + { + return $this->passengers; + } + public function setPtc($ptc) + { + $this->ptc = $ptc; + } + public function getPtc() + { + return $this->ptc; + } + public function setRefundable($refundable) + { + $this->refundable = $refundable; + } + public function getRefundable() + { + return $this->refundable; + } + public function setSaleFareTotal($saleFareTotal) + { + $this->saleFareTotal = $saleFareTotal; + } + public function getSaleFareTotal() + { + return $this->saleFareTotal; + } + public function setSaleTaxTotal($saleTaxTotal) + { + $this->saleTaxTotal = $saleTaxTotal; + } + public function getSaleTaxTotal() + { + return $this->saleTaxTotal; + } + public function setSaleTotal($saleTotal) + { + $this->saleTotal = $saleTotal; + } + public function getSaleTotal() + { + return $this->saleTotal; + } + public function setSegmentPricing($segmentPricing) + { + $this->segmentPricing = $segmentPricing; + } + public function getSegmentPricing() + { + return $this->segmentPricing; + } + public function setTax($tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php new file mode 100644 index 00000000..ad988c59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/Resource/Trips.php @@ -0,0 +1,41 @@ + + * $qpxExpressService = new Google_Service_QPXExpress(...); + * $trips = $qpxExpressService->trips; + * + */ +class Google_Service_QPXExpress_Resource_Trips extends Google_Service_Resource +{ + /** + * Returns a list of flights. (trips.search) + * + * @param Google_Service_QPXExpress_TripsSearchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_QPXExpress_TripsSearchResponse + */ + public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php new file mode 100644 index 00000000..e27a7af6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentInfo.php @@ -0,0 +1,123 @@ +bookingCode = $bookingCode; + } + public function getBookingCode() + { + return $this->bookingCode; + } + public function setBookingCodeCount($bookingCodeCount) + { + $this->bookingCodeCount = $bookingCodeCount; + } + public function getBookingCodeCount() + { + return $this->bookingCodeCount; + } + public function setCabin($cabin) + { + $this->cabin = $cabin; + } + public function getCabin() + { + return $this->cabin; + } + public function setConnectionDuration($connectionDuration) + { + $this->connectionDuration = $connectionDuration; + } + public function getConnectionDuration() + { + return $this->connectionDuration; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setFlight(Google_Service_QPXExpress_FlightInfo $flight) + { + $this->flight = $flight; + } + public function getFlight() + { + return $this->flight; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeg($leg) + { + $this->leg = $leg; + } + public function getLeg() + { + return $this->leg; + } + public function setMarriedSegmentGroup($marriedSegmentGroup) + { + $this->marriedSegmentGroup = $marriedSegmentGroup; + } + public function getMarriedSegmentGroup() + { + return $this->marriedSegmentGroup; + } + public function setSubjectToGovernmentApproval($subjectToGovernmentApproval) + { + $this->subjectToGovernmentApproval = $subjectToGovernmentApproval; + } + public function getSubjectToGovernmentApproval() + { + return $this->subjectToGovernmentApproval; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php new file mode 100644 index 00000000..5c9e3a1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SegmentPricing.php @@ -0,0 +1,59 @@ +fareId = $fareId; + } + public function getFareId() + { + return $this->fareId; + } + public function setFreeBaggageOption($freeBaggageOption) + { + $this->freeBaggageOption = $freeBaggageOption; + } + public function getFreeBaggageOption() + { + return $this->freeBaggageOption; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSegmentId($segmentId) + { + $this->segmentId = $segmentId; + } + public function getSegmentId() + { + return $this->segmentId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php new file mode 100644 index 00000000..ea1ebe76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInfo.php @@ -0,0 +1,50 @@ +duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php new file mode 100644 index 00000000..ec918b4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/SliceInput.php @@ -0,0 +1,122 @@ +alliance = $alliance; + } + public function getAlliance() + { + return $this->alliance; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxConnectionDuration($maxConnectionDuration) + { + $this->maxConnectionDuration = $maxConnectionDuration; + } + public function getMaxConnectionDuration() + { + return $this->maxConnectionDuration; + } + public function setMaxStops($maxStops) + { + $this->maxStops = $maxStops; + } + public function getMaxStops() + { + return $this->maxStops; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setPermittedCarrier($permittedCarrier) + { + $this->permittedCarrier = $permittedCarrier; + } + public function getPermittedCarrier() + { + return $this->permittedCarrier; + } + public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime) + { + $this->permittedDepartureTime = $permittedDepartureTime; + } + public function getPermittedDepartureTime() + { + return $this->permittedDepartureTime; + } + public function setPreferredCabin($preferredCabin) + { + $this->preferredCabin = $preferredCabin; + } + public function getPreferredCabin() + { + return $this->preferredCabin; + } + public function setProhibitedCarrier($prohibitedCarrier) + { + $this->prohibitedCarrier = $prohibitedCarrier; + } + public function getProhibitedCarrier() + { + return $this->prohibitedCarrier; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php new file mode 100644 index 00000000..dfcf9af2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxData.php @@ -0,0 +1,48 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php new file mode 100644 index 00000000..c030e34e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TaxInfo.php @@ -0,0 +1,75 @@ +chargeType = $chargeType; + } + public function getChargeType() + { + return $this->chargeType; + } + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSalePrice($salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php new file mode 100644 index 00000000..1b802bbc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TimeOfDayRange.php @@ -0,0 +1,48 @@ +earliestTime = $earliestTime; + } + public function getEarliestTime() + { + return $this->earliestTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatestTime($latestTime) + { + $this->latestTime = $latestTime; + } + public function getLatestTime() + { + return $this->latestTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php new file mode 100644 index 00000000..2e70e788 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOption.php @@ -0,0 +1,69 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPricing($pricing) + { + $this->pricing = $pricing; + } + public function getPricing() + { + return $this->pricing; + } + public function setSaleTotal($saleTotal) + { + $this->saleTotal = $saleTotal; + } + public function getSaleTotal() + { + return $this->saleTotal; + } + public function setSlice($slice) + { + $this->slice = $slice; + } + public function getSlice() + { + return $this->slice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php new file mode 100644 index 00000000..efdd2f6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsRequest.php @@ -0,0 +1,87 @@ +maxPrice = $maxPrice; + } + public function getMaxPrice() + { + return $this->maxPrice; + } + public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) + { + $this->passengers = $passengers; + } + public function getPassengers() + { + return $this->passengers; + } + public function setRefundable($refundable) + { + $this->refundable = $refundable; + } + public function getRefundable() + { + return $this->refundable; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } + public function setSlice($slice) + { + $this->slice = $slice; + } + public function getSlice() + { + return $this->slice; + } + public function setSolutions($solutions) + { + $this->solutions = $solutions; + } + public function getSolutions() + { + return $this->solutions; + } + public function setTicketingCountry($ticketingCountry) + { + $this->ticketingCountry = $ticketingCountry; + } + public function getTicketingCountry() + { + return $this->ticketingCountry; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php new file mode 100644 index 00000000..aec30743 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripOptionsResponse.php @@ -0,0 +1,60 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setTripOption($tripOption) + { + $this->tripOption = $tripOption; + } + public function getTripOption() + { + return $this->tripOption; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php new file mode 100644 index 00000000..c6cdd3ff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchRequest.php @@ -0,0 +1,31 @@ +request = $request; + } + public function getRequest() + { + return $this->request; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php new file mode 100644 index 00000000..43f2fcce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/QPXExpress/TripsSearchResponse.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips) + { + $this->trips = $trips; + } + public function getTrips() + { + return $this->trips; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php new file mode 100644 index 00000000..866b294d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool.php @@ -0,0 +1,343 @@ + + * [Deprecated. Please use Instance Group Manager in Compute API] Provides + * groups of homogenous Compute Engine instances.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Replicapool extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + + public $instanceGroupManagers; + public $zoneOperations; + + /** + * Constructs the internal representation of the Replicapool service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'replicapool/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'replicapool'; + + $this->instanceGroupManagers = new Google_Service_Replicapool_Resource_InstanceGroupManagers( + $this, + $this->serviceName, + 'instanceGroupManagers', + array( + 'methods' => array( + 'abandonInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'recreateInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resize' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'setInstanceTemplate' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTargetPools' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Replicapool_Resource_ZoneOperations( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php new file mode 100644 index 00000000..b7b2c01e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManager.php @@ -0,0 +1,149 @@ +autoHealingPolicies = $autoHealingPolicies; + } + public function getAutoHealingPolicies() + { + return $this->autoHealingPolicies; + } + public function setBaseInstanceName($baseInstanceName) + { + $this->baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setCurrentSize($currentSize) + { + $this->currentSize = $currentSize; + } + public function getCurrentSize() + { + return $this->currentSize; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setGroup($group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setTargetSize($targetSize) + { + $this->targetSize = $targetSize; + } + public function getTargetSize() + { + return $this->targetSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php new file mode 100644 index 00000000..bfeb29da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagerList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php new file mode 100644 index 00000000..92679f67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersAbandonInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php new file mode 100644 index 00000000..d5433358 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersDeleteInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php new file mode 100644 index 00000000..9df7b3e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersRecreateInstancesRequest.php @@ -0,0 +1,31 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php new file mode 100644 index 00000000..84e88d8e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetInstanceTemplateRequest.php @@ -0,0 +1,30 @@ +instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php new file mode 100644 index 00000000..c17e5fc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/InstanceGroupManagersSetTargetPoolsRequest.php @@ -0,0 +1,40 @@ +fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php new file mode 100644 index 00000000..ba8bb13e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Operation.php @@ -0,0 +1,222 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Replicapool_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php new file mode 100644 index 00000000..e7445cc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php new file mode 100644 index 00000000..8827f7a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php new file mode 100644 index 00000000..79651b5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php new file mode 100644 index 00000000..251dd0be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php new file mode 100644 index 00000000..1f9d0913 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php new file mode 100644 index 00000000..c21ebf01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/ReplicaPoolAutoHealingPolicy.php @@ -0,0 +1,39 @@ +actionType = $actionType; + } + public function getActionType() + { + return $this->actionType; + } + public function setHealthCheck($healthCheck) + { + $this->healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php new file mode 100644 index 00000000..de735d41 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/InstanceGroupManagers.php @@ -0,0 +1,223 @@ + + * $replicapoolService = new Google_Service_Replicapool(...); + * $instanceGroupManagers = $replicapoolService->instanceGroupManagers; + * + */ +class Google_Service_Replicapool_Resource_InstanceGroupManagers extends Google_Service_Resource +{ + /** + * Removes the specified instances from the managed instance group, and from any + * target pools of which they were members, without deleting the instances. + * (instanceGroupManagers.abandonInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('abandonInstances', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Deletes the instance group manager and all instances contained within. If + * you'd like to delete the manager without deleting the instances, you must + * first abandon the instances to remove them from the group. + * (instanceGroupManagers.delete) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager Name of the Instance Group Manager + * resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function delete($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Deletes the specified instances. The instances are deleted, then removed from + * the instance group and any target pools of which they were a member. The + * targetSize of the instance group manager is reduced by the number of + * instances deleted. (instanceGroupManagers.deleteInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteInstances', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Returns the specified Instance Group Manager resource. + * (instanceGroupManagers.get) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager Name of the instance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_InstanceGroupManager + */ + public function get($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapool_InstanceGroupManager"); + } + /** + * Creates an instance group manager, as well as the instance group and the + * specified number of instances. (instanceGroupManagers.insert) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param int $size Number of instances that should exist. + * @param Google_Service_Replicapool_InstanceGroupManager $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function insert($project, $zone, $size, Google_Service_Replicapool_InstanceGroupManager $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'size' => $size, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Retrieves the list of Instance Group Manager resources contained within the + * specified zone. (instanceGroupManagers.listInstanceGroupManagers) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapool_InstanceGroupManagerList + */ + public function listInstanceGroupManagers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapool_InstanceGroupManagerList"); + } + /** + * Recreates the specified instances. The instances are deleted, then recreated + * using the instance group manager's current instance template. + * (instanceGroupManagers.recreateInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('recreateInstances', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Resizes the managed instance group up or down. If resized up, new instances + * are created using the current instance template. If resized down, instances + * are removed in the order outlined in Resizing a managed instance group. + * (instanceGroupManagers.resize) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param int $size Number of instances that should exist in this Instance Group + * Manager. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Sets the instance template to use when creating new instances in this group. + * Existing instances are not affected. + * (instanceGroupManagers.setInstanceTemplate) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setInstanceTemplate', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Modifies the target pools to which all new instances in this group are + * assigned. Existing instances in the group are not affected. + * (instanceGroupManagers.setTargetPools) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTargetPools', array($params), "Google_Service_Replicapool_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php new file mode 100644 index 00000000..8f13f026 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapool/Resource/ZoneOperations.php @@ -0,0 +1,66 @@ + + * $replicapoolService = new Google_Service_Replicapool(...); + * $zoneOperations = $replicapoolService->zoneOperations; + * + */ +class Google_Service_Replicapool_Resource_ZoneOperations extends Google_Service_Resource +{ + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapool_Operation"); + } + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapool_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapool_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php new file mode 100644 index 00000000..909d9a8d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater.php @@ -0,0 +1,306 @@ + + * [Deprecated. Please use compute.instanceGroupManagers.update method. + * replicapoolupdater API will be disabled after December 30th, 2016] Updates + * groups of Compute Engine instances.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Replicapoolupdater extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage replica pools. */ + const REPLICAPOOL = + "https://www.googleapis.com/auth/replicapool"; + /** View replica pools. */ + const REPLICAPOOL_READONLY = + "https://www.googleapis.com/auth/replicapool.readonly"; + + public $rollingUpdates; + public $zoneOperations; + + /** + * Constructs the internal representation of the Replicapoolupdater service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'replicapoolupdater'; + + $this->rollingUpdates = new Google_Service_Replicapoolupdater_Resource_RollingUpdates( + $this, + $this->serviceName, + 'rollingUpdates', + array( + 'methods' => array( + 'cancel' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listInstanceUpdates' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'pause' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resume' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Replicapoolupdater_Resource_ZoneOperations( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php new file mode 100644 index 00000000..bd05a8b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdate.php @@ -0,0 +1,49 @@ +error = $error; + } + public function getError() + { + return $this->error; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php new file mode 100644 index 00000000..22184541 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php new file mode 100644 index 00000000..f2ab73f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php new file mode 100644 index 00000000..15e0df5b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/InstanceUpdateList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php new file mode 100644 index 00000000..5db33d80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Operation.php @@ -0,0 +1,222 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Replicapoolupdater_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php new file mode 100644 index 00000000..b22a03f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php new file mode 100644 index 00000000..3f2719f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php new file mode 100644 index 00000000..3383b680 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php new file mode 100644 index 00000000..20745152 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php new file mode 100644 index 00000000..b5dd229a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php new file mode 100644 index 00000000..2899ab75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/RollingUpdates.php @@ -0,0 +1,177 @@ + + * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); + * $rollingUpdates = $replicapoolupdaterService->rollingUpdates; + * + */ +class Google_Service_Replicapoolupdater_Resource_RollingUpdates extends Google_Service_Resource +{ + /** + * Cancels an update. The update must be PAUSED before it can be cancelled. This + * has no effect if the update is already CANCELLED. (rollingUpdates.cancel) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function cancel($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + /** + * Returns information about an update. (rollingUpdates.get) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_RollingUpdate + */ + public function get($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate"); + } + /** + * Inserts and starts a new update. (rollingUpdates.insert) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param Google_Service_Replicapoolupdater_RollingUpdate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + /** + * Lists recent updates for a given managed instance group, in reverse + * chronological order and paginated format. (rollingUpdates.listRollingUpdates) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapoolupdater_RollingUpdateList + */ + public function listRollingUpdates($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList"); + } + /** + * Lists the current status for each instance within a given update. + * (rollingUpdates.listInstanceUpdates) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapoolupdater_InstanceUpdateList + */ + public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList"); + } + /** + * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no + * effect if invoked when the state of the update is PAUSED. + * (rollingUpdates.pause) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function pause($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + /** + * Continues an update in PAUSED state. Has no effect if invoked when the state + * of the update is ROLLED_OUT. (rollingUpdates.resume) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function resume($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + /** + * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect + * if invoked when the state of the update is ROLLED_BACK. + * (rollingUpdates.rollback) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function rollback($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php new file mode 100644 index 00000000..5f8a13fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/Resource/ZoneOperations.php @@ -0,0 +1,66 @@ + + * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); + * $zoneOperations = $replicapoolupdaterService->zoneOperations; + * + */ +class Google_Service_Replicapoolupdater_Resource_ZoneOperations extends Google_Service_Resource +{ + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + /** + * Retrieves the list of Operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapoolupdater_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapoolupdater_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php new file mode 100644 index 00000000..ad7ca9d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdate.php @@ -0,0 +1,167 @@ +actionType = $actionType; + } + public function getActionType() + { + return $this->actionType; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setError(Google_Service_Replicapoolupdater_RollingUpdateError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceGroup($instanceGroup) + { + $this->instanceGroup = $instanceGroup; + } + public function getInstanceGroup() + { + return $this->instanceGroup; + } + public function setInstanceGroupManager($instanceGroupManager) + { + $this->instanceGroupManager = $instanceGroupManager; + } + public function getInstanceGroupManager() + { + return $this->instanceGroupManager; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOldInstanceTemplate($oldInstanceTemplate) + { + $this->oldInstanceTemplate = $oldInstanceTemplate; + } + public function getOldInstanceTemplate() + { + return $this->oldInstanceTemplate; + } + public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy) + { + $this->policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php new file mode 100644 index 00000000..9138b3ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php new file mode 100644 index 00000000..7763a026 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php new file mode 100644 index 00000000..e16cb6d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdateList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php new file mode 100644 index 00000000..257cd67d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Replicapoolupdater/RollingUpdatePolicy.php @@ -0,0 +1,66 @@ +autoPauseAfterInstances = $autoPauseAfterInstances; + } + public function getAutoPauseAfterInstances() + { + return $this->autoPauseAfterInstances; + } + public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec) + { + $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec; + } + public function getInstanceStartupTimeoutSec() + { + return $this->instanceStartupTimeoutSec; + } + public function setMaxNumConcurrentInstances($maxNumConcurrentInstances) + { + $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; + } + public function getMaxNumConcurrentInstances() + { + return $this->maxNumConcurrentInstances; + } + public function setMaxNumFailedInstances($maxNumFailedInstances) + { + $this->maxNumFailedInstances = $maxNumFailedInstances; + } + public function getMaxNumFailedInstances() + { + return $this->maxNumFailedInstances; + } + public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec) + { + $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec; + } + public function getMinInstanceUpdateTimeSec() + { + return $this->minInstanceUpdateTimeSec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php new file mode 100644 index 00000000..f068d386 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports.php @@ -0,0 +1,255 @@ + + * Fetches reports for the administrators of Google Apps customers about the + * usage, collaboration, security, and risk for their users.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Reports extends Google_Service +{ + /** View audit reports for your G Suite domain. */ + const ADMIN_REPORTS_AUDIT_READONLY = + "https://www.googleapis.com/auth/admin.reports.audit.readonly"; + /** View usage reports for your G Suite domain. */ + const ADMIN_REPORTS_USAGE_READONLY = + "https://www.googleapis.com/auth/admin.reports.usage.readonly"; + + public $activities; + public $channels; + public $customerUsageReports; + public $userUsageReport; + + /** + * Constructs the internal representation of the Reports service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/reports/v1/'; + $this->version = 'reports_v1'; + $this->serviceName = 'admin'; + + $this->activities = new Google_Service_Reports_Resource_Activities( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activity/users/{userKey}/applications/{applicationName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'applicationName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'actorIpAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'eventName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'applicationName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'actorIpAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'eventName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Reports_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => '/admin/reports_v1/channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->customerUsageReports = new Google_Service_Reports_Resource_CustomerUsageReports( + $this, + $this->serviceName, + 'customerUsageReports', + array( + 'methods' => array( + 'get' => array( + 'path' => 'usage/dates/{date}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'date' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parameters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->userUsageReport = new Google_Service_Reports_Resource_UserUsageReport( + $this, + $this->serviceName, + 'userUsageReport', + array( + 'methods' => array( + 'get' => array( + 'path' => 'usage/users/{userKey}/dates/{date}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'date' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parameters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php new file mode 100644 index 00000000..fd2ec9f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activities.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php new file mode 100644 index 00000000..608bc02d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Activity.php @@ -0,0 +1,88 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setId(Google_Service_Reports_ActivityId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOwnerDomain($ownerDomain) + { + $this->ownerDomain = $ownerDomain; + } + public function getOwnerDomain() + { + return $this->ownerDomain; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php new file mode 100644 index 00000000..311fc13f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityActor.php @@ -0,0 +1,57 @@ +callerType = $callerType; + } + public function getCallerType() + { + return $this->callerType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php new file mode 100644 index 00000000..93e9be92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEvents.php @@ -0,0 +1,50 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php new file mode 100644 index 00000000..33ff073f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityEventsParameters.php @@ -0,0 +1,76 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setIntValue($intValue) + { + $this->intValue = $intValue; + } + public function getIntValue() + { + return $this->intValue; + } + public function setMultiIntValue($multiIntValue) + { + $this->multiIntValue = $multiIntValue; + } + public function getMultiIntValue() + { + return $this->multiIntValue; + } + public function setMultiValue($multiValue) + { + $this->multiValue = $multiValue; + } + public function getMultiValue() + { + return $this->multiValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php new file mode 100644 index 00000000..5db0ed64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/ActivityId.php @@ -0,0 +1,57 @@ +applicationName = $applicationName; + } + public function getApplicationName() + { + return $this->applicationName; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setUniqueQualifier($uniqueQualifier) + { + $this->uniqueQualifier = $uniqueQualifier; + } + public function getUniqueQualifier() + { + return $this->uniqueQualifier; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php new file mode 100644 index 00000000..96c0702e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Channel.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php new file mode 100644 index 00000000..f87b1e4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Activities.php @@ -0,0 +1,94 @@ + + * $adminService = new Google_Service_Reports(...); + * $activities = $adminService->activities; + * + */ +class Google_Service_Reports_Resource_Activities extends Google_Service_Resource +{ + /** + * Retrieves a list of activities for a specific customer and application. + * (activities.listActivities) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. When 'all' is specified as the userKey, it + * returns usageReports for all users. + * @param string $applicationName Application name for which the events are to + * be retrieved. + * @param array $optParams Optional parameters. + * + * @opt_param string actorIpAddress IP Address of host where the event was + * performed. Supports both IPv4 and IPv6 addresses. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @opt_param string endTime Return events which occured at or before this time. + * @opt_param string eventName Name of the event being queried. + * @opt_param string filters Event parameters in the form [parameter1 + * name][operator][parameter1 value],[parameter2 name][operator][parameter2 + * value],... + * @opt_param int maxResults Number of activity records to be shown in each + * page. + * @opt_param string pageToken Token to specify next page. + * @opt_param string startTime Return events which occured at or after this + * time. + * @return Google_Service_Reports_Activities + */ + public function listActivities($userKey, $applicationName, $optParams = array()) + { + $params = array('userKey' => $userKey, 'applicationName' => $applicationName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Reports_Activities"); + } + /** + * Push changes to activities (activities.watch) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. When 'all' is specified as the userKey, it + * returns usageReports for all users. + * @param string $applicationName Application name for which the events are to + * be retrieved. + * @param Google_Service_Reports_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string actorIpAddress IP Address of host where the event was + * performed. Supports both IPv4 and IPv6 addresses. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @opt_param string endTime Return events which occured at or before this time. + * @opt_param string eventName Name of the event being queried. + * @opt_param string filters Event parameters in the form [parameter1 + * name][operator][parameter1 value],[parameter2 name][operator][parameter2 + * value],... + * @opt_param int maxResults Number of activity records to be shown in each + * page. + * @opt_param string pageToken Token to specify next page. + * @opt_param string startTime Return events which occured at or after this + * time. + * @return Google_Service_Reports_Channel + */ + public function watch($userKey, $applicationName, Google_Service_Reports_Channel $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Reports_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php new file mode 100644 index 00000000..819cb561 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/Channels.php @@ -0,0 +1,40 @@ + + * $adminService = new Google_Service_Reports(...); + * $channels = $adminService->channels; + * + */ +class Google_Service_Reports_Resource_Channels extends Google_Service_Resource +{ + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Service_Reports_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Reports_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php new file mode 100644 index 00000000..f8b8959d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/CustomerUsageReports.php @@ -0,0 +1,49 @@ + + * $adminService = new Google_Service_Reports(...); + * $customerUsageReports = $adminService->customerUsageReports; + * + */ +class Google_Service_Reports_Resource_CustomerUsageReports extends Google_Service_Resource +{ + /** + * Retrieves a report which is a collection of properties / statistics for a + * specific customer. (customerUsageReports.get) + * + * @param string $date Represents the date in yyyy-mm-dd format for which the + * data is to be fetched. + * @param array $optParams Optional parameters. + * + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @opt_param string pageToken Token to specify next page. + * @opt_param string parameters Represents the application name, parameter name + * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. + * @return Google_Service_Reports_UsageReports + */ + public function get($date, $optParams = array()) + { + $params = array('date' => $date); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php new file mode 100644 index 00000000..1ec4ab96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/Resource/UserUsageReport.php @@ -0,0 +1,55 @@ + + * $adminService = new Google_Service_Reports(...); + * $userUsageReport = $adminService->userUsageReport; + * + */ +class Google_Service_Reports_Resource_UserUsageReport extends Google_Service_Resource +{ + /** + * Retrieves a report which is a collection of properties / statistics for a set + * of users. (userUsageReport.get) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. + * @param string $date Represents the date in yyyy-mm-dd format for which the + * data is to be fetched. + * @param array $optParams Optional parameters. + * + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @opt_param string filters Represents the set of filters including parameter + * operator value. + * @opt_param string maxResults Maximum number of results to return. Maximum + * allowed is 1000 + * @opt_param string pageToken Token to specify next page. + * @opt_param string parameters Represents the application name, parameter name + * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. + * @return Google_Service_Reports_UsageReports + */ + public function get($userKey, $date, $optParams = array()) + { + $params = array('userKey' => $userKey, 'date' => $date); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php new file mode 100644 index 00000000..69971b6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReport.php @@ -0,0 +1,69 @@ +date = $date; + } + public function getDate() + { + return $this->date; + } + public function setEntity(Google_Service_Reports_UsageReportEntity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php new file mode 100644 index 00000000..ee9299cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportEntity.php @@ -0,0 +1,57 @@ +customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php new file mode 100644 index 00000000..81b85c15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportParameters.php @@ -0,0 +1,76 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDatetimeValue($datetimeValue) + { + $this->datetimeValue = $datetimeValue; + } + public function getDatetimeValue() + { + return $this->datetimeValue; + } + public function setIntValue($intValue) + { + $this->intValue = $intValue; + } + public function getIntValue() + { + return $this->intValue; + } + public function setMsgValue($msgValue) + { + $this->msgValue = $msgValue; + } + public function getMsgValue() + { + return $this->msgValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php new file mode 100644 index 00000000..bd19a0c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReports.php @@ -0,0 +1,69 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUsageReports($usageReports) + { + $this->usageReports = $usageReports; + } + public function getUsageReports() + { + return $this->usageReports; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php new file mode 100644 index 00000000..397f357a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php new file mode 100644 index 00000000..2db80258 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reports/UsageReportsWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php new file mode 100644 index 00000000..66a94051 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller.php @@ -0,0 +1,313 @@ + + * Creates and manages your customers and their subscriptions.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Reseller extends Google_Service +{ + /** Manage users on your domain. */ + const APPS_ORDER = + "https://www.googleapis.com/auth/apps.order"; + /** Manage users on your domain. */ + const APPS_ORDER_READONLY = + "https://www.googleapis.com/auth/apps.order.readonly"; + + public $customers; + public $resellernotify; + public $subscriptions; + + /** + * Constructs the internal representation of the Reseller service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'apps/reseller/v1/'; + $this->version = 'v1'; + $this->serviceName = 'reseller'; + + $this->customers = new Google_Service_Reseller_Resource_Customers( + $this, + $this->serviceName, + 'customers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->resellernotify = new Google_Service_Reseller_Resource_Resellernotify( + $this, + $this->serviceName, + 'resellernotify', + array( + 'methods' => array( + 'getwatchdetails' => array( + 'path' => 'resellernotify/getwatchdetails', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'register' => array( + 'path' => 'resellernotify/register', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceAccountEmailAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'unregister' => array( + 'path' => 'resellernotify/unregister', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceAccountEmailAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_Reseller_Resource_Subscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'activate' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changePlan' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changeRenewalSettings' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changeSeats' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deletionType' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customers/{customerId}/subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerNamePrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'startPaidService' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'suspend' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php new file mode 100644 index 00000000..47d9a7d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Address.php @@ -0,0 +1,111 @@ +addressLine1 = $addressLine1; + } + public function getAddressLine1() + { + return $this->addressLine1; + } + public function setAddressLine2($addressLine2) + { + $this->addressLine2 = $addressLine2; + } + public function getAddressLine2() + { + return $this->addressLine2; + } + public function setAddressLine3($addressLine3) + { + $this->addressLine3 = $addressLine3; + } + public function getAddressLine3() + { + return $this->addressLine3; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setOrganizationName($organizationName) + { + $this->organizationName = $organizationName; + } + public function getOrganizationName() + { + return $this->organizationName; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php new file mode 100644 index 00000000..f757f0ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php @@ -0,0 +1,67 @@ +dealCode = $dealCode; + } + public function getDealCode() + { + return $this->dealCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlanName($planName) + { + $this->planName = $planName; + } + public function getPlanName() + { + return $this->planName; + } + public function setPurchaseOrderId($purchaseOrderId) + { + $this->purchaseOrderId = $purchaseOrderId; + } + public function getPurchaseOrderId() + { + return $this->purchaseOrderId; + } + public function setSeats(Google_Service_Reseller_Seats $seats) + { + $this->seats = $seats; + } + public function getSeats() + { + return $this->seats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php new file mode 100644 index 00000000..7328be2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Customer.php @@ -0,0 +1,94 @@ +alternateEmail = $alternateEmail; + } + public function getAlternateEmail() + { + return $this->alternateEmail; + } + public function setCustomerDomain($customerDomain) + { + $this->customerDomain = $customerDomain; + } + public function getCustomerDomain() + { + return $this->customerDomain; + } + public function setCustomerDomainVerified($customerDomainVerified) + { + $this->customerDomainVerified = $customerDomainVerified; + } + public function getCustomerDomainVerified() + { + return $this->customerDomainVerified; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPostalAddress(Google_Service_Reseller_Address $postalAddress) + { + $this->postalAddress = $postalAddress; + } + public function getPostalAddress() + { + return $this->postalAddress; + } + public function setResourceUiUrl($resourceUiUrl) + { + $this->resourceUiUrl = $resourceUiUrl; + } + public function getResourceUiUrl() + { + return $this->resourceUiUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php new file mode 100644 index 00000000..2e820233 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRenewalType($renewalType) + { + $this->renewalType = $renewalType; + } + public function getRenewalType() + { + return $this->renewalType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php new file mode 100644 index 00000000..d617842e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyGetwatchdetailsResponse.php @@ -0,0 +1,40 @@ +serviceAccountEmailAddresses = $serviceAccountEmailAddresses; + } + public function getServiceAccountEmailAddresses() + { + return $this->serviceAccountEmailAddresses; + } + public function setTopicName($topicName) + { + $this->topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php new file mode 100644 index 00000000..5124167e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php @@ -0,0 +1,30 @@ +topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php new file mode 100644 index 00000000..2d87a3b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php @@ -0,0 +1,99 @@ + + * $resellerService = new Google_Service_Reseller(...); + * $customers = $resellerService->customers; + * + */ +class Google_Service_Reseller_Resource_Customers extends Google_Service_Resource +{ + /** + * Get a customer account. (customers.get) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function get($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reseller_Customer"); + } + /** + * Order a new customer's account. (customers.insert) + * + * @param Google_Service_Reseller_Customer $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken The customerAuthToken query string is + * required when creating a resold account that transfers a direct customer's + * subscription or transfers another reseller customer's subscription to your + * reseller management. This is a hexadecimal authentication token needed to + * complete the subscription transfer. For more information, see the + * administrator help center. + * @return Google_Service_Reseller_Customer + */ + public function insert(Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Reseller_Customer"); + } + /** + * Update a customer account's settings. This method supports patch semantics. + * (customers.patch) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param Google_Service_Reseller_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function patch($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Reseller_Customer"); + } + /** + * Update a customer account's settings. (customers.update) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param Google_Service_Reseller_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function update($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Reseller_Customer"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php new file mode 100644 index 00000000..6bfc10fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php @@ -0,0 +1,72 @@ + + * $resellerService = new Google_Service_Reseller(...); + * $resellernotify = $resellerService->resellernotify; + * + */ +class Google_Service_Reseller_Resource_Resellernotify extends Google_Service_Resource +{ + /** + * Returns all the details of the watch corresponding to the reseller. + * (resellernotify.getwatchdetails) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse + */ + public function getwatchdetails($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getwatchdetails', array($params), "Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse"); + } + /** + * Registers a Reseller for receiving notifications. (resellernotify.register) + * + * @param array $optParams Optional parameters. + * + * @opt_param string serviceAccountEmailAddress The service account which will + * own the created Cloud-PubSub topic. + * @return Google_Service_Reseller_ResellernotifyResource + */ + public function register($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Reseller_ResellernotifyResource"); + } + /** + * Unregisters a Reseller for receiving notifications. + * (resellernotify.unregister) + * + * @param array $optParams Optional parameters. + * + * @opt_param string serviceAccountEmailAddress The service account which owns + * the Cloud-PubSub topic. + * @return Google_Service_Reseller_ResellernotifyResource + */ + public function unregister($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('unregister', array($params), "Google_Service_Reseller_ResellernotifyResource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php new file mode 100644 index 00000000..3a8b81fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php @@ -0,0 +1,265 @@ + + * $resellerService = new Google_Service_Reseller(...); + * $subscriptions = $resellerService->subscriptions; + * + */ +class Google_Service_Reseller_Resource_Subscriptions extends Google_Service_Resource +{ + /** + * Activates a subscription previously suspended by the reseller + * (subscriptions.activate) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function activate($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('activate', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Update a subscription plan. Use this method to update a plan for a 30-day + * trial or a flexible plan subscription to an annual commitment plan with + * monthly or yearly payments. (subscriptions.changePlan) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param Google_Service_Reseller_ChangePlanRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changePlan($customerId, $subscriptionId, Google_Service_Reseller_ChangePlanRequest $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changePlan', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Update a user license's renewal settings. This is applicable for accounts + * with annual commitment plans only. (subscriptions.changeRenewalSettings) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param Google_Service_Reseller_RenewalSettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changeRenewalSettings($customerId, $subscriptionId, Google_Service_Reseller_RenewalSettings $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changeRenewalSettings', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Update a subscription's user license settings. (subscriptions.changeSeats) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param Google_Service_Reseller_Seats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changeSeats($customerId, $subscriptionId, Google_Service_Reseller_Seats $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Cancel, suspend or transfer a subscription to direct. (subscriptions.delete) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param string $deletionType The deletionType query string enables the + * cancellation, downgrade, or suspension of a subscription. + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $subscriptionId, $deletionType, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get a specific subscription. (subscriptions.get) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function get($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Create or transfer a subscription. (subscriptions.insert) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param Google_Service_Reseller_Subscription $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken The customerAuthToken query string is + * required when creating a resold account that transfers a direct customer's + * subscription or transfers another reseller customer's subscription to your + * reseller management. This is a hexadecimal authentication token needed to + * complete the subscription transfer. For more information, see the + * administrator help center. + * @return Google_Service_Reseller_Subscription + */ + public function insert($customerId, Google_Service_Reseller_Subscription $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * List of subscriptions managed by the reseller. The list can be all + * subscriptions, all of a customer's subscriptions, or all of a customer's + * transferable subscriptions. (subscriptions.listSubscriptions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken The customerAuthToken query string is + * required when creating a resold account that transfers a direct customer's + * subscription or transfers another reseller customer's subscription to your + * reseller management. This is a hexadecimal authentication token needed to + * complete the subscription transfer. For more information, see the + * administrator help center. + * @opt_param string customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @opt_param string customerNamePrefix When retrieving all of your + * subscriptions and filtering for specific customers, you can enter a prefix + * for a customer name. Using an example customer group that includes exam.com, + * example20.com and example.com: - exa -- Returns all customer names that start + * with 'exa' which could include exam.com, example20.com, and example.com. A + * name prefix is similar to using a regular expression's asterisk, exa*. - + * example -- Returns example20.com and example.com. + * @opt_param string maxResults When retrieving a large list, the maxResults is + * the maximum number of results per page. The nextPageToken value takes you to + * the next page. The default is 20. + * @opt_param string pageToken Token to specify next page in the list + * @return Google_Service_Reseller_Subscriptions + */ + public function listSubscriptions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions"); + } + /** + * Immediately move a 30-day free trial subscription to a paid service + * subscription. (subscriptions.startPaidService) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function startPaidService($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('startPaidService', array($params), "Google_Service_Reseller_Subscription"); + } + /** + * Suspends an active subscription. (subscriptions.suspend) + * + * @param string $customerId Either the customer's primary domain name or the + * customer's unique identifier. If using the domain name, we do not recommend + * using a customerId as a key for persistent data. If the domain name for a + * customerId is changed, the Google system automatically updates. + * @param string $subscriptionId This is a required property. The subscriptionId + * is the subscription identifier and is unique for each customer. Since a + * subscriptionId changes when a subscription is updated, we recommend to not + * use this ID as a key for persistent data. And the subscriptionId can be found + * using the retrieve all reseller subscriptions method. + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function suspend($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('suspend', array($params), "Google_Service_Reseller_Subscription"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php new file mode 100644 index 00000000..5847a2ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Seats.php @@ -0,0 +1,57 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicensedNumberOfSeats($licensedNumberOfSeats) + { + $this->licensedNumberOfSeats = $licensedNumberOfSeats; + } + public function getLicensedNumberOfSeats() + { + return $this->licensedNumberOfSeats; + } + public function setMaximumNumberOfSeats($maximumNumberOfSeats) + { + $this->maximumNumberOfSeats = $maximumNumberOfSeats; + } + public function getMaximumNumberOfSeats() + { + return $this->maximumNumberOfSeats; + } + public function setNumberOfSeats($numberOfSeats) + { + $this->numberOfSeats = $numberOfSeats; + } + public function getNumberOfSeats() + { + return $this->numberOfSeats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php new file mode 100644 index 00000000..ab62a7ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscription.php @@ -0,0 +1,189 @@ +billingMethod = $billingMethod; + } + public function getBillingMethod() + { + return $this->billingMethod; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCustomerDomain($customerDomain) + { + $this->customerDomain = $customerDomain; + } + public function getCustomerDomain() + { + return $this->customerDomain; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setDealCode($dealCode) + { + $this->dealCode = $dealCode; + } + public function getDealCode() + { + return $this->dealCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlan(Google_Service_Reseller_SubscriptionPlan $plan) + { + $this->plan = $plan; + } + public function getPlan() + { + return $this->plan; + } + public function setPurchaseOrderId($purchaseOrderId) + { + $this->purchaseOrderId = $purchaseOrderId; + } + public function getPurchaseOrderId() + { + return $this->purchaseOrderId; + } + public function setRenewalSettings(Google_Service_Reseller_RenewalSettings $renewalSettings) + { + $this->renewalSettings = $renewalSettings; + } + public function getRenewalSettings() + { + return $this->renewalSettings; + } + public function setResourceUiUrl($resourceUiUrl) + { + $this->resourceUiUrl = $resourceUiUrl; + } + public function getResourceUiUrl() + { + return $this->resourceUiUrl; + } + public function setSeats(Google_Service_Reseller_Seats $seats) + { + $this->seats = $seats; + } + public function getSeats() + { + return $this->seats; + } + public function setSkuId($skuId) + { + $this->skuId = $skuId; + } + public function getSkuId() + { + return $this->skuId; + } + public function setSkuName($skuName) + { + $this->skuName = $skuName; + } + public function getSkuName() + { + return $this->skuName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubscriptionId($subscriptionId) + { + $this->subscriptionId = $subscriptionId; + } + public function getSubscriptionId() + { + return $this->subscriptionId; + } + public function setSuspensionReasons($suspensionReasons) + { + $this->suspensionReasons = $suspensionReasons; + } + public function getSuspensionReasons() + { + return $this->suspensionReasons; + } + public function setTransferInfo(Google_Service_Reseller_SubscriptionTransferInfo $transferInfo) + { + $this->transferInfo = $transferInfo; + } + public function getTransferInfo() + { + return $this->transferInfo; + } + public function setTrialSettings(Google_Service_Reseller_SubscriptionTrialSettings $trialSettings) + { + $this->trialSettings = $trialSettings; + } + public function getTrialSettings() + { + return $this->trialSettings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php new file mode 100644 index 00000000..e3ee1d79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php @@ -0,0 +1,49 @@ +commitmentInterval = $commitmentInterval; + } + public function getCommitmentInterval() + { + return $this->commitmentInterval; + } + public function setIsCommitmentPlan($isCommitmentPlan) + { + $this->isCommitmentPlan = $isCommitmentPlan; + } + public function getIsCommitmentPlan() + { + return $this->isCommitmentPlan; + } + public function setPlanName($planName) + { + $this->planName = $planName; + } + public function getPlanName() + { + return $this->planName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php new file mode 100644 index 00000000..69f2bccd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlanCommitmentInterval.php @@ -0,0 +1,39 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php new file mode 100644 index 00000000..75f6cfb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php @@ -0,0 +1,39 @@ +minimumTransferableSeats = $minimumTransferableSeats; + } + public function getMinimumTransferableSeats() + { + return $this->minimumTransferableSeats; + } + public function setTransferabilityExpirationTime($transferabilityExpirationTime) + { + $this->transferabilityExpirationTime = $transferabilityExpirationTime; + } + public function getTransferabilityExpirationTime() + { + return $this->transferabilityExpirationTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php new file mode 100644 index 00000000..a16afb49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php @@ -0,0 +1,39 @@ +isInTrial = $isInTrial; + } + public function getIsInTrial() + { + return $this->isInTrial; + } + public function setTrialEndTime($trialEndTime) + { + $this->trialEndTime = $trialEndTime; + } + public function getTrialEndTime() + { + return $this->trialEndTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php new file mode 100644 index 00000000..708fb5ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubscriptions($subscriptions) + { + $this->subscriptions = $subscriptions; + } + public function getSubscriptions() + { + return $this->subscriptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php new file mode 100644 index 00000000..80d3bd3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews.php @@ -0,0 +1,339 @@ + + * The Resource View API allows users to create and manage logical sets of + * Google Compute Engine instances.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Resourceviews extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $zoneOperations; + public $zoneViews; + + /** + * Constructs the internal representation of the Resourceviews service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'resourceviews/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'resourceviews'; + + $this->zoneOperations = new Google_Service_Resourceviews_Resource_ZoneOperations( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->zoneViews = new Google_Service_Resourceviews_Resource_ZoneViews( + $this, + $this->serviceName, + 'zoneViews', + array( + 'methods' => array( + 'addResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getService' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'listState' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setService' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php new file mode 100644 index 00000000..a6fdc018 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Label.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php new file mode 100644 index 00000000..6a6ad8ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ListResourceResponseItem.php @@ -0,0 +1,39 @@ +endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php new file mode 100644 index 00000000..78207f62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Operation.php @@ -0,0 +1,222 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Resourceviews_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php new file mode 100644 index 00000000..5aea2113 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php new file mode 100644 index 00000000..bcbc36ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php new file mode 100644 index 00000000..e1bc4b6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationList.php @@ -0,0 +1,68 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php new file mode 100644 index 00000000..0ba5ef48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php new file mode 100644 index 00000000..0c5fd964 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php new file mode 100644 index 00000000..7bc6bb65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneOperations.php @@ -0,0 +1,66 @@ + + * $resourceviewsService = new Google_Service_Resourceviews(...); + * $zoneOperations = $resourceviewsService->zoneOperations; + * + */ +class Google_Service_Resourceviews_Resource_ZoneOperations extends Google_Service_Resource +{ + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Resourceviews_Operation"); + } + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Resourceviews_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php new file mode 100644 index 00000000..fc4aeade --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/Resource/ZoneViews.php @@ -0,0 +1,190 @@ + + * $resourceviewsService = new Google_Service_Resourceviews(...); + * $zoneViews = $resourceviewsService->zoneViews; + * + */ +class Google_Service_Resourceviews_Resource_ZoneViews extends Google_Service_Resource +{ + /** + * Add resources to the view. (zoneViews.addResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation"); + } + /** + * Delete a resource view. (zoneViews.delete) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function delete($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation"); + } + /** + * Get the information of a zonal resource view. (zoneViews.get) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_ResourceView + */ + public function get($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); + } + /** + * Get the service information of a resource view or a resource. + * (zoneViews.getService) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param string resourceName The name of the resource if user wants to get + * the service information of the resource. + * @return Google_Service_Resourceviews_ZoneViewsGetServiceResponse + */ + public function getService($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse"); + } + /** + * Create a resource view. (zoneViews.insert) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param Google_Service_Resourceviews_ResourceView $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation"); + } + /** + * List resource views. (zoneViews.listZoneViews) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 5000, inclusive. (Default: 5000) + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @return Google_Service_Resourceviews_ZoneViewsList + */ + public function listZoneViews($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList"); + } + /** + * List the resources of the resource view. (zoneViews.listResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param string format The requested format of the return value. It can be + * URL or URL_PORT. A JSON object will be included in the response based on the + * format. The default format is NONE, which results in no JSON in the response. + * @opt_param string listState The state of the instance to list. By default, it + * lists all instances. + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 5000, inclusive. (Default: 5000) + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @opt_param string serviceName The service name to return in the response. It + * is optional and if it is not set, all the service end points will be + * returned. + * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse + */ + public function listResources($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse"); + } + /** + * Remove resources from the view. (zoneViews.removeResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation"); + } + /** + * Update the service information of a resource view or a resource. + * (zoneViews.setService) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php new file mode 100644 index 00000000..d0767580 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ResourceView.php @@ -0,0 +1,132 @@ +creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php new file mode 100644 index 00000000..8c8aeabb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ServiceEndpoint.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php new file mode 100644 index 00000000..20e615e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsAddResourcesRequest.php @@ -0,0 +1,31 @@ +resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php new file mode 100644 index 00000000..b5a61984 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsGetServiceResponse.php @@ -0,0 +1,41 @@ +endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php new file mode 100644 index 00000000..c2a62314 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsList.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php new file mode 100644 index 00000000..299c85ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsListResourcesResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php new file mode 100644 index 00000000..ccaa19bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsRemoveResourcesRequest.php @@ -0,0 +1,31 @@ +resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php new file mode 100644 index 00000000..184c8170 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Resourceviews/ZoneViewsSetServiceRequest.php @@ -0,0 +1,50 @@ +endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php new file mode 100644 index 00000000..a70911dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin.php @@ -0,0 +1,811 @@ + + * Creates and configures Cloud SQL instances, which provide fully-managed MySQL + * databases.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_SQLAdmin extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your Google SQL Service instances. */ + const SQLSERVICE_ADMIN = + "https://www.googleapis.com/auth/sqlservice.admin"; + + public $backupRuns; + public $databases; + public $flags; + public $instances; + public $operations; + public $sslCerts; + public $tiers; + public $users; + + /** + * Constructs the internal representation of the SQLAdmin service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'sql/v1beta4/'; + $this->version = 'v1beta4'; + $this->serviceName = 'sqladmin'; + + $this->backupRuns = new Google_Service_SQLAdmin_Resource_BackupRuns( + $this, + $this->serviceName, + 'backupRuns', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->databases = new Google_Service_SQLAdmin_Resource_Databases( + $this, + $this->serviceName, + 'databases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->flags = new Google_Service_SQLAdmin_Resource_Flags( + $this, + $this->serviceName, + 'flags', + array( + 'methods' => array( + 'list' => array( + 'path' => 'flags', + 'httpMethod' => 'GET', + 'parameters' => array( + 'databaseVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->instances = new Google_Service_SQLAdmin_Resource_Instances( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'clone' => array( + 'path' => 'projects/{project}/instances/{instance}/clone', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'projects/{project}/instances/{instance}/export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'failover' => array( + 'path' => 'projects/{project}/instances/{instance}/failover', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'projects/{project}/instances/{instance}/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'promoteReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/promoteReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetSslConfig' => array( + 'path' => 'projects/{project}/instances/{instance}/resetSslConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restart' => array( + 'path' => 'projects/{project}/instances/{instance}/restart', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restoreBackup' => array( + 'path' => 'projects/{project}/instances/{instance}/restoreBackup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'startReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/startReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stopReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/stopReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'truncateLog' => array( + 'path' => 'projects/{project}/instances/{instance}/truncateLog', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_SQLAdmin_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'projects/{project}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sslCerts = new Google_Service_SQLAdmin_Resource_SslCerts( + $this, + $this->serviceName, + 'sslCerts', + array( + 'methods' => array( + 'createEphemeral' => array( + 'path' => 'projects/{project}/instances/{instance}/createEphemeral', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tiers = new Google_Service_SQLAdmin_Resource_Tiers( + $this, + $this->serviceName, + 'tiers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects/{project}/tiers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_SQLAdmin_Resource_Users( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php new file mode 100644 index 00000000..33dbb082 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/AclEntry.php @@ -0,0 +1,57 @@ +expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php new file mode 100644 index 00000000..0b53bd18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupConfiguration.php @@ -0,0 +1,57 @@ +binaryLogEnabled = $binaryLogEnabled; + } + public function getBinaryLogEnabled() + { + return $this->binaryLogEnabled; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php new file mode 100644 index 00000000..86ab90cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRun.php @@ -0,0 +1,130 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEnqueuedTime($enqueuedTime) + { + $this->enqueuedTime = $enqueuedTime; + } + public function getEnqueuedTime() + { + return $this->enqueuedTime; + } + public function setError(Google_Service_SQLAdmin_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWindowStartTime($windowStartTime) + { + $this->windowStartTime = $windowStartTime; + } + public function getWindowStartTime() + { + return $this->windowStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php new file mode 100644 index 00000000..7e71cd40 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BackupRunsListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php new file mode 100644 index 00000000..e6d92e32 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/BinLogCoordinates.php @@ -0,0 +1,48 @@ +binLogFileName = $binLogFileName; + } + public function getBinLogFileName() + { + return $this->binLogFileName; + } + public function setBinLogPosition($binLogPosition) + { + $this->binLogPosition = $binLogPosition; + } + public function getBinLogPosition() + { + return $this->binLogPosition; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php new file mode 100644 index 00000000..d2f6ddc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/CloneContext.php @@ -0,0 +1,49 @@ +binLogCoordinates = $binLogCoordinates; + } + public function getBinLogCoordinates() + { + return $this->binLogCoordinates; + } + public function setDestinationInstanceName($destinationInstanceName) + { + $this->destinationInstanceName = $destinationInstanceName; + } + public function getDestinationInstanceName() + { + return $this->destinationInstanceName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php new file mode 100644 index 00000000..d9d0070b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Database.php @@ -0,0 +1,93 @@ +charset = $charset; + } + public function getCharset() + { + return $this->charset; + } + public function setCollation($collation) + { + $this->collation = $collation; + } + public function getCollation() + { + return $this->collation; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php new file mode 100644 index 00000000..f56052f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseFlags.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php new file mode 100644 index 00000000..292b7229 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstance.php @@ -0,0 +1,244 @@ +backendType = $backendType; + } + public function getBackendType() + { + return $this->backendType; + } + public function setConnectionName($connectionName) + { + $this->connectionName = $connectionName; + } + public function getConnectionName() + { + return $this->connectionName; + } + public function setCurrentDiskSize($currentDiskSize) + { + $this->currentDiskSize = $currentDiskSize; + } + public function getCurrentDiskSize() + { + return $this->currentDiskSize; + } + public function setDatabaseVersion($databaseVersion) + { + $this->databaseVersion = $databaseVersion; + } + public function getDatabaseVersion() + { + return $this->databaseVersion; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFailoverReplica(Google_Service_SQLAdmin_DatabaseInstanceFailoverReplica $failoverReplica) + { + $this->failoverReplica = $failoverReplica; + } + public function getFailoverReplica() + { + return $this->failoverReplica; + } + public function setInstanceType($instanceType) + { + $this->instanceType = $instanceType; + } + public function getInstanceType() + { + return $this->instanceType; + } + public function setIpAddresses($ipAddresses) + { + $this->ipAddresses = $ipAddresses; + } + public function getIpAddresses() + { + return $this->ipAddresses; + } + public function setIpv6Address($ipv6Address) + { + $this->ipv6Address = $ipv6Address; + } + public function getIpv6Address() + { + return $this->ipv6Address; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMasterInstanceName($masterInstanceName) + { + $this->masterInstanceName = $masterInstanceName; + } + public function getMasterInstanceName() + { + return $this->masterInstanceName; + } + public function setMaxDiskSize($maxDiskSize) + { + $this->maxDiskSize = $maxDiskSize; + } + public function getMaxDiskSize() + { + return $this->maxDiskSize; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOnPremisesConfiguration(Google_Service_SQLAdmin_OnPremisesConfiguration $onPremisesConfiguration) + { + $this->onPremisesConfiguration = $onPremisesConfiguration; + } + public function getOnPremisesConfiguration() + { + return $this->onPremisesConfiguration; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setReplicaConfiguration(Google_Service_SQLAdmin_ReplicaConfiguration $replicaConfiguration) + { + $this->replicaConfiguration = $replicaConfiguration; + } + public function getReplicaConfiguration() + { + return $this->replicaConfiguration; + } + public function setReplicaNames($replicaNames) + { + $this->replicaNames = $replicaNames; + } + public function getReplicaNames() + { + return $this->replicaNames; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert) + { + $this->serverCaCert = $serverCaCert; + } + public function getServerCaCert() + { + return $this->serverCaCert; + } + public function setServiceAccountEmailAddress($serviceAccountEmailAddress) + { + $this->serviceAccountEmailAddress = $serviceAccountEmailAddress; + } + public function getServiceAccountEmailAddress() + { + return $this->serviceAccountEmailAddress; + } + public function setSettings(Google_Service_SQLAdmin_Settings $settings) + { + $this->settings = $settings; + } + public function getSettings() + { + return $this->settings; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSuspensionReason($suspensionReason) + { + $this->suspensionReason = $suspensionReason; + } + public function getSuspensionReason() + { + return $this->suspensionReason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php new file mode 100644 index 00000000..f9a22dc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabaseInstanceFailoverReplica.php @@ -0,0 +1,39 @@ +available = $available; + } + public function getAvailable() + { + return $this->available; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php new file mode 100644 index 00000000..b74a7010 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/DatabasesListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php new file mode 100644 index 00000000..fd64961d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContext.php @@ -0,0 +1,78 @@ +csvExportOptions = $csvExportOptions; + } + public function getCsvExportOptions() + { + return $this->csvExportOptions; + } + public function setDatabases($databases) + { + $this->databases = $databases; + } + public function getDatabases() + { + return $this->databases; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions) + { + $this->sqlExportOptions = $sqlExportOptions; + } + public function getSqlExportOptions() + { + return $this->sqlExportOptions; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php new file mode 100644 index 00000000..0e4a21ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextCsvExportOptions.php @@ -0,0 +1,30 @@ +selectQuery = $selectQuery; + } + public function getSelectQuery() + { + return $this->selectQuery; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php new file mode 100644 index 00000000..8b78affe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ExportContextSqlExportOptions.php @@ -0,0 +1,40 @@ +schemaOnly = $schemaOnly; + } + public function getSchemaOnly() + { + return $this->schemaOnly; + } + public function setTables($tables) + { + $this->tables = $tables; + } + public function getTables() + { + return $this->tables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php new file mode 100644 index 00000000..07de18a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FailoverContext.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSettingsVersion($settingsVersion) + { + $this->settingsVersion = $settingsVersion; + } + public function getSettingsVersion() + { + return $this->settingsVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php new file mode 100644 index 00000000..ebe43c2f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Flag.php @@ -0,0 +1,94 @@ +allowedStringValues = $allowedStringValues; + } + public function getAllowedStringValues() + { + return $this->allowedStringValues; + } + public function setAppliesTo($appliesTo) + { + $this->appliesTo = $appliesTo; + } + public function getAppliesTo() + { + return $this->appliesTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRequiresRestart($requiresRestart) + { + $this->requiresRestart = $requiresRestart; + } + public function getRequiresRestart() + { + return $this->requiresRestart; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php new file mode 100644 index 00000000..c5616917 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/FlagsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php new file mode 100644 index 00000000..a81111c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContext.php @@ -0,0 +1,67 @@ +csvImportOptions = $csvImportOptions; + } + public function getCsvImportOptions() + { + return $this->csvImportOptions; + } + public function setDatabase($database) + { + $this->database = $database; + } + public function getDatabase() + { + return $this->database; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php new file mode 100644 index 00000000..e0bfd089 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ImportContextCsvImportOptions.php @@ -0,0 +1,40 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setTable($table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php new file mode 100644 index 00000000..8a8e5754 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesCloneRequest.php @@ -0,0 +1,31 @@ +cloneContext = $cloneContext; + } + public function getCloneContext() + { + return $this->cloneContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php new file mode 100644 index 00000000..0b00dda6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesExportRequest.php @@ -0,0 +1,31 @@ +exportContext = $exportContext; + } + public function getExportContext() + { + return $this->exportContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php new file mode 100644 index 00000000..c003108a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesFailoverRequest.php @@ -0,0 +1,31 @@ +failoverContext = $failoverContext; + } + public function getFailoverContext() + { + return $this->failoverContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php new file mode 100644 index 00000000..cdbf3d39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesImportRequest.php @@ -0,0 +1,31 @@ +importContext = $importContext; + } + public function getImportContext() + { + return $this->importContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php new file mode 100644 index 00000000..31fbb1ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php new file mode 100644 index 00000000..23cbfd5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesRestoreBackupRequest.php @@ -0,0 +1,31 @@ +restoreBackupContext = $restoreBackupContext; + } + public function getRestoreBackupContext() + { + return $this->restoreBackupContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php new file mode 100644 index 00000000..fb5e9910 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/InstancesTruncateLogRequest.php @@ -0,0 +1,31 @@ +truncateLogContext = $truncateLogContext; + } + public function getTruncateLogContext() + { + return $this->truncateLogContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php new file mode 100644 index 00000000..bf6dcdac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpConfiguration.php @@ -0,0 +1,50 @@ +authorizedNetworks = $authorizedNetworks; + } + public function getAuthorizedNetworks() + { + return $this->authorizedNetworks; + } + public function setIpv4Enabled($ipv4Enabled) + { + $this->ipv4Enabled = $ipv4Enabled; + } + public function getIpv4Enabled() + { + return $this->ipv4Enabled; + } + public function setRequireSsl($requireSsl) + { + $this->requireSsl = $requireSsl; + } + public function getRequireSsl() + { + return $this->requireSsl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php new file mode 100644 index 00000000..e63e278a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/IpMapping.php @@ -0,0 +1,48 @@ +ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setTimeToRetire($timeToRetire) + { + $this->timeToRetire = $timeToRetire; + } + public function getTimeToRetire() + { + return $this->timeToRetire; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php new file mode 100644 index 00000000..b3653abb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Labels.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php new file mode 100644 index 00000000..9a81e1d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/LocationPreference.php @@ -0,0 +1,48 @@ +followGaeApplication = $followGaeApplication; + } + public function getFollowGaeApplication() + { + return $this->followGaeApplication; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php new file mode 100644 index 00000000..970da198 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MaintenanceWindow.php @@ -0,0 +1,57 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setHour($hour) + { + $this->hour = $hour; + } + public function getHour() + { + return $this->hour; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdateTrack($updateTrack) + { + $this->updateTrack = $updateTrack; + } + public function getUpdateTrack() + { + return $this->updateTrack; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php new file mode 100644 index 00000000..f4a1e515 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/MySqlReplicaConfiguration.php @@ -0,0 +1,120 @@ +caCertificate = $caCertificate; + } + public function getCaCertificate() + { + return $this->caCertificate; + } + public function setClientCertificate($clientCertificate) + { + $this->clientCertificate = $clientCertificate; + } + public function getClientCertificate() + { + return $this->clientCertificate; + } + public function setClientKey($clientKey) + { + $this->clientKey = $clientKey; + } + public function getClientKey() + { + return $this->clientKey; + } + public function setConnectRetryInterval($connectRetryInterval) + { + $this->connectRetryInterval = $connectRetryInterval; + } + public function getConnectRetryInterval() + { + return $this->connectRetryInterval; + } + public function setDumpFilePath($dumpFilePath) + { + $this->dumpFilePath = $dumpFilePath; + } + public function getDumpFilePath() + { + return $this->dumpFilePath; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMasterHeartbeatPeriod($masterHeartbeatPeriod) + { + $this->masterHeartbeatPeriod = $masterHeartbeatPeriod; + } + public function getMasterHeartbeatPeriod() + { + return $this->masterHeartbeatPeriod; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setSslCipher($sslCipher) + { + $this->sslCipher = $sslCipher; + } + public function getSslCipher() + { + return $this->sslCipher; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } + public function setVerifyServerCertificate($verifyServerCertificate) + { + $this->verifyServerCertificate = $verifyServerCertificate; + } + public function getVerifyServerCertificate() + { + return $this->verifyServerCertificate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php new file mode 100644 index 00000000..962c8ba2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OnPremisesConfiguration.php @@ -0,0 +1,39 @@ +hostPort = $hostPort; + } + public function getHostPort() + { + return $this->hostPort; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php new file mode 100644 index 00000000..ab7797db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Operation.php @@ -0,0 +1,159 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_SQLAdmin_OperationErrors $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext) + { + $this->exportContext = $exportContext; + } + public function getExportContext() + { + return $this->exportContext; + } + public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext) + { + $this->importContext = $importContext; + } + public function getImportContext() + { + return $this->importContext; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setTargetProject($targetProject) + { + $this->targetProject = $targetProject; + } + public function getTargetProject() + { + return $this->targetProject; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php new file mode 100644 index 00000000..431da35b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationError.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php new file mode 100644 index 00000000..8bcbec4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationErrors.php @@ -0,0 +1,41 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php new file mode 100644 index 00000000..d8d9eed6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/OperationsListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php new file mode 100644 index 00000000..105758b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/ReplicaConfiguration.php @@ -0,0 +1,49 @@ +failoverTarget = $failoverTarget; + } + public function getFailoverTarget() + { + return $this->failoverTarget; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMysqlReplicaConfiguration(Google_Service_SQLAdmin_MySqlReplicaConfiguration $mysqlReplicaConfiguration) + { + $this->mysqlReplicaConfiguration = $mysqlReplicaConfiguration; + } + public function getMysqlReplicaConfiguration() + { + return $this->mysqlReplicaConfiguration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php new file mode 100644 index 00000000..f6a5fb17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/BackupRuns.php @@ -0,0 +1,100 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $backupRuns = $sqladminService->backupRuns; + * + */ +class Google_Service_SQLAdmin_Resource_BackupRuns extends Google_Service_Resource +{ + /** + * Deletes the backup taken by a backup run. (backupRuns.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $id The ID of the Backup Run to delete. To find a Backup Run + * ID, use the list method. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $id, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Retrieves a resource containing information about a backup run. + * (backupRuns.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $id The ID of this Backup Run. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_BackupRun + */ + public function get($project, $instance, $id, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun"); + } + /** + * Creates a new backup run on demand. This method is applicable only to Second + * Generation instances. (backupRuns.insert) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_BackupRun $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, $instance, Google_Service_SQLAdmin_BackupRun $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Lists all backup runs associated with a given instance and configuration in + * the reverse chronological order of the enqueued time. + * (backupRuns.listBackupRuns) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of backup runs per response. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @return Google_Service_SQLAdmin_BackupRunsListResponse + */ + public function listBackupRuns($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php new file mode 100644 index 00000000..3893b526 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Databases.php @@ -0,0 +1,131 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $databases = $sqladminService->databases; + * + */ +class Google_Service_SQLAdmin_Resource_Databases extends Google_Service_Resource +{ + /** + * Deletes a database from a Cloud SQL instance. (databases.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be deleted in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $database, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Retrieves a resource containing information about a database inside a Cloud + * SQL instance. (databases.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Database + */ + public function get($project, $instance, $database, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_Database"); + } + /** + * Inserts a resource containing information about a database inside a Cloud SQL + * instance. (databases.insert) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Lists databases in the specified Cloud SQL instance. + * (databases.listDatabases) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_DatabasesListResponse + */ + public function listDatabases($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse"); + } + /** + * Updates a resource containing information about a database inside a Cloud SQL + * instance. This method supports patch semantics. (databases.patch) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be updated in the instance. + * @param Google_Service_SQLAdmin_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Updates a resource containing information about a database inside a Cloud SQL + * instance. (databases.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be updated in the instance. + * @param Google_Service_SQLAdmin_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php new file mode 100644 index 00000000..c1a886e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Flags.php @@ -0,0 +1,44 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $flags = $sqladminService->flags; + * + */ +class Google_Service_SQLAdmin_Resource_Flags extends Google_Service_Resource +{ + /** + * List all available database flags for Google Cloud SQL instances. + * (flags.listFlags) + * + * @param array $optParams Optional parameters. + * + * @opt_param string databaseVersion Database version for flag retrieval. Flags + * are specific to the database version. + * @return Google_Service_SQLAdmin_FlagsListResponse + */ + public function listFlags($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php new file mode 100644 index 00000000..4aa20919 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Instances.php @@ -0,0 +1,311 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $instances = $sqladminService->instances; + * + */ +class Google_Service_SQLAdmin_Resource_Instances extends Google_Service_Resource +{ + /** + * Creates a Cloud SQL instance as a clone of the source instance. The API is + * not ready for Second Generation instances yet. (instances.cloneInstances) + * + * @param string $project Project ID of the source as well as the clone Cloud + * SQL instance. + * @param string $instance The ID of the Cloud SQL instance to be cloned + * (source). This does not include the project ID. + * @param Google_Service_SQLAdmin_InstancesCloneRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Deletes a Cloud SQL instance. (instances.delete) + * + * @param string $project Project ID of the project that contains the instance + * to be deleted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a + * MySQL dump file. (instances.export) + * + * @param string $project Project ID of the project that contains the instance + * to be exported. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_InstancesExportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Failover the instance to its failover replica instance. (instances.failover) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_InstancesFailoverRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function failover($project, $instance, Google_Service_SQLAdmin_InstancesFailoverRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('failover', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Retrieves a resource containing information about a Cloud SQL instance. + * (instances.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_DatabaseInstance + */ + public function get($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance"); + } + /** + * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud + * Storage. (instances.import) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_InstancesImportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Creates a new Cloud SQL instance. (instances.insert) + * + * @param string $project Project ID of the project to which the newly created + * Cloud SQL instances should belong. + * @param Google_Service_SQLAdmin_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Lists instances under a given project in the alphabetical order of the + * instance name. (instances.listInstances) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression for filtering listed instances. + * @opt_param string maxResults The maximum number of results to return per + * response. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @return Google_Service_SQLAdmin_InstancesListResponse + */ + public function listInstances($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse"); + } + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial + * update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch.. This method supports patch + * semantics. (instances.patch) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Promotes the read replica instance to be a stand-alone Cloud SQL instance. + * (instances.promoteReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function promoteReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Deletes all client certificates and generates a new server SSL certificate + * for the instance. The changes will not take effect until the instance is + * restarted. Existing instances without a server certificate will need to call + * this once to set a server certificate. (instances.resetSslConfig) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function resetSslConfig($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Restarts a Cloud SQL instance. (instances.restart) + * + * @param string $project Project ID of the project that contains the instance + * to be restarted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function restart($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Restores a backup of a Cloud SQL instance. (instances.restoreBackup) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Starts the replication in the read replica instance. (instances.startReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function startReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Stops the replication in the read replica instance. (instances.stopReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function stopReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Truncate MySQL general and slow query log tables (instances.truncateLog) + * + * @param string $project Project ID of the Cloud SQL project. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_InstancesTruncateLogRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function truncateLog($project, $instance, Google_Service_SQLAdmin_InstancesTruncateLogRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('truncateLog', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial + * update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch. (instances.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php new file mode 100644 index 00000000..e7f9684a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Operations.php @@ -0,0 +1,64 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $operations = $sqladminService->operations; + * + */ +class Google_Service_SQLAdmin_Resource_Operations extends Google_Service_Resource +{ + /** + * Retrieves an instance operation that has been performed on an instance. + * (operations.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $operation Instance operation ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Lists all instance operations that have been performed on the given Cloud SQL + * instance in the reverse chronological order of the start time. + * (operations.listOperations) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of operations per response. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @return Google_Service_SQLAdmin_OperationsListResponse + */ + public function listOperations($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php new file mode 100644 index 00000000..be44ef8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/SslCerts.php @@ -0,0 +1,119 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $sslCerts = $sqladminService->sslCerts; + * + */ +class Google_Service_SQLAdmin_Resource_SslCerts extends Google_Service_Resource +{ + /** + * Generates a short-lived X509 certificate containing the provided public key + * and signed by a private key specific to the target instance. Users may use + * the certificate to authenticate as themselves when connecting to the + * database. (sslCerts.createEphemeral) + * + * @param string $project Project ID of the Cloud SQL project. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCert + */ + public function createEphemeral($project, $instance, Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createEphemeral', array($params), "Google_Service_SQLAdmin_SslCert"); + } + /** + * Deletes the SSL certificate. The change will not take effect until the + * instance is restarted. (sslCerts.delete) + * + * @param string $project Project ID of the project that contains the instance + * to be deleted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $sha1Fingerprint Sha1 FingerPrint. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $sha1Fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Retrieves a particular SSL certificate. Does not include the private key + * (required for usage). The private key must be saved from the response to + * initial creation. (sslCerts.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $sha1Fingerprint Sha1 FingerPrint. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCert + */ + public function get($project, $instance, $sha1Fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert"); + } + /** + * Creates an SSL certificate and returns it along with the private key and + * server certificate authority. The new certificate will not be usable until + * the instance is restarted. (sslCerts.insert) + * + * @param string $project Project ID of the project to which the newly created + * Cloud SQL instances should belong. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_SslCertsInsertRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCertsInsertResponse + */ + public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse"); + } + /** + * Lists all of the current SSL certificates for the instance. + * (sslCerts.listSslCerts) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCertsListResponse + */ + public function listSslCerts($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php new file mode 100644 index 00000000..fa3d4bd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Tiers.php @@ -0,0 +1,42 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $tiers = $sqladminService->tiers; + * + */ +class Google_Service_SQLAdmin_Resource_Tiers extends Google_Service_Resource +{ + /** + * Lists all available service tiers for Google Cloud SQL, for example D1, D2. + * For related information, see Pricing. (tiers.listTiers) + * + * @param string $project Project ID of the project for which to list tiers. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_TiersListResponse + */ + public function listTiers($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php new file mode 100644 index 00000000..29ce3af0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Resource/Users.php @@ -0,0 +1,94 @@ + + * $sqladminService = new Google_Service_SQLAdmin(...); + * $users = $sqladminService->users; + * + */ +class Google_Service_SQLAdmin_Resource_Users extends Google_Service_Resource +{ + /** + * Deletes a user from a Cloud SQL instance. (users.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $host Host of the user in the instance. + * @param string $name Name of the user in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $host, $name, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Creates a new user in a Cloud SQL instance. (users.insert) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param Google_Service_SQLAdmin_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + /** + * Lists users in the specified Cloud SQL instance. (users.listUsers) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_UsersListResponse + */ + public function listUsers($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse"); + } + /** + * Updates an existing user in a Cloud SQL instance. (users.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $host Host of the user in the instance. + * @param string $name Name of the user in the instance. + * @param Google_Service_SQLAdmin_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php new file mode 100644 index 00000000..01c25d7a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/RestoreBackupContext.php @@ -0,0 +1,48 @@ +backupRunId = $backupRunId; + } + public function getBackupRunId() + { + return $this->backupRunId; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php new file mode 100644 index 00000000..6dd5b864 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Settings.php @@ -0,0 +1,208 @@ +activationPolicy = $activationPolicy; + } + public function getActivationPolicy() + { + return $this->activationPolicy; + } + public function setAuthorizedGaeApplications($authorizedGaeApplications) + { + $this->authorizedGaeApplications = $authorizedGaeApplications; + } + public function getAuthorizedGaeApplications() + { + return $this->authorizedGaeApplications; + } + public function setAvailabilityType($availabilityType) + { + $this->availabilityType = $availabilityType; + } + public function getAvailabilityType() + { + return $this->availabilityType; + } + public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration) + { + $this->backupConfiguration = $backupConfiguration; + } + public function getBackupConfiguration() + { + return $this->backupConfiguration; + } + public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled) + { + $this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled; + } + public function getCrashSafeReplicationEnabled() + { + return $this->crashSafeReplicationEnabled; + } + public function setDataDiskSizeGb($dataDiskSizeGb) + { + $this->dataDiskSizeGb = $dataDiskSizeGb; + } + public function getDataDiskSizeGb() + { + return $this->dataDiskSizeGb; + } + public function setDataDiskType($dataDiskType) + { + $this->dataDiskType = $dataDiskType; + } + public function getDataDiskType() + { + return $this->dataDiskType; + } + public function setDatabaseFlags($databaseFlags) + { + $this->databaseFlags = $databaseFlags; + } + public function getDatabaseFlags() + { + return $this->databaseFlags; + } + public function setDatabaseReplicationEnabled($databaseReplicationEnabled) + { + $this->databaseReplicationEnabled = $databaseReplicationEnabled; + } + public function getDatabaseReplicationEnabled() + { + return $this->databaseReplicationEnabled; + } + public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration) + { + $this->ipConfiguration = $ipConfiguration; + } + public function getIpConfiguration() + { + return $this->ipConfiguration; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference) + { + $this->locationPreference = $locationPreference; + } + public function getLocationPreference() + { + return $this->locationPreference; + } + public function setMaintenanceWindow(Google_Service_SQLAdmin_MaintenanceWindow $maintenanceWindow) + { + $this->maintenanceWindow = $maintenanceWindow; + } + public function getMaintenanceWindow() + { + return $this->maintenanceWindow; + } + public function setPricingPlan($pricingPlan) + { + $this->pricingPlan = $pricingPlan; + } + public function getPricingPlan() + { + return $this->pricingPlan; + } + public function setReplicationType($replicationType) + { + $this->replicationType = $replicationType; + } + public function getReplicationType() + { + return $this->replicationType; + } + public function setSettingsVersion($settingsVersion) + { + $this->settingsVersion = $settingsVersion; + } + public function getSettingsVersion() + { + return $this->settingsVersion; + } + public function setStorageAutoResize($storageAutoResize) + { + $this->storageAutoResize = $storageAutoResize; + } + public function getStorageAutoResize() + { + return $this->storageAutoResize; + } + public function setStorageAutoResizeLimit($storageAutoResizeLimit) + { + $this->storageAutoResizeLimit = $storageAutoResizeLimit; + } + public function getStorageAutoResizeLimit() + { + return $this->storageAutoResizeLimit; + } + public function setTier($tier) + { + $this->tier = $tier; + } + public function getTier() + { + return $this->tier; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php new file mode 100644 index 00000000..bfe016b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCert.php @@ -0,0 +1,102 @@ +cert = $cert; + } + public function getCert() + { + return $this->cert; + } + public function setCertSerialNumber($certSerialNumber) + { + $this->certSerialNumber = $certSerialNumber; + } + public function getCertSerialNumber() + { + return $this->certSerialNumber; + } + public function setCommonName($commonName) + { + $this->commonName = $commonName; + } + public function getCommonName() + { + return $this->commonName; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSha1Fingerprint($sha1Fingerprint) + { + $this->sha1Fingerprint = $sha1Fingerprint; + } + public function getSha1Fingerprint() + { + return $this->sha1Fingerprint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php new file mode 100644 index 00000000..8b6caa14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertDetail.php @@ -0,0 +1,40 @@ +certInfo = $certInfo; + } + public function getCertInfo() + { + return $this->certInfo; + } + public function setCertPrivateKey($certPrivateKey) + { + $this->certPrivateKey = $certPrivateKey; + } + public function getCertPrivateKey() + { + return $this->certPrivateKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php new file mode 100644 index 00000000..b649ea1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsCreateEphemeralRequest.php @@ -0,0 +1,33 @@ + "public_key", + ); + public $publicKey; + + public function setPublicKey($publicKey) + { + $this->publicKey = $publicKey; + } + public function getPublicKey() + { + return $this->publicKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php new file mode 100644 index 00000000..d3ba4771 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertRequest.php @@ -0,0 +1,30 @@ +commonName = $commonName; + } + public function getCommonName() + { + return $this->commonName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php new file mode 100644 index 00000000..023a85a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsInsertResponse.php @@ -0,0 +1,60 @@ +clientCert = $clientCert; + } + public function getClientCert() + { + return $this->clientCert; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOperation(Google_Service_SQLAdmin_Operation $operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert) + { + $this->serverCaCert = $serverCaCert; + } + public function getServerCaCert() + { + return $this->serverCaCert; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php new file mode 100644 index 00000000..e5102c1a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/SslCertsListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php new file mode 100644 index 00000000..c21d761e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/Tier.php @@ -0,0 +1,71 @@ + "DiskQuota", + "rAM" => "RAM", + ); + public $diskQuota; + public $rAM; + public $kind; + public $region; + public $tier; + + public function setDiskQuota($diskQuota) + { + $this->diskQuota = $diskQuota; + } + public function getDiskQuota() + { + return $this->diskQuota; + } + public function setRAM($rAM) + { + $this->rAM = $rAM; + } + public function getRAM() + { + return $this->rAM; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setTier($tier) + { + $this->tier = $tier; + } + public function getTier() + { + return $this->tier; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php new file mode 100644 index 00000000..eea0512a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TiersListResponse.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php new file mode 100644 index 00000000..c90d8f89 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/TruncateLogContext.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php new file mode 100644 index 00000000..90f36436 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/User.php @@ -0,0 +1,84 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php new file mode 100644 index 00000000..d5ec5772 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SQLAdmin/UsersListResponse.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php new file mode 100644 index 00000000..d4bc5055 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing.php @@ -0,0 +1,171 @@ + + * The Safe Browsing API is an experimental API that allows client applications + * to check URLs against Google's constantly-updated blacklists of suspected + * phishing and malware pages. Your client application can use the API to + * download an encrypted table for local, client-side lookups of URLs.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Safebrowsing extends Google_Service +{ + + + public $encodedFullHashes; + public $encodedUpdates; + public $fullHashes; + public $threatListUpdates; + public $threatLists; + public $threatMatches; + + /** + * Constructs the internal representation of the Safebrowsing service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://safebrowsing.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v4'; + $this->serviceName = 'safebrowsing'; + + $this->encodedFullHashes = new Google_Service_Safebrowsing_Resource_EncodedFullHashes( + $this, + $this->serviceName, + 'encodedFullHashes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v4/encodedFullHashes/{encodedRequest}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'encodedRequest' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->encodedUpdates = new Google_Service_Safebrowsing_Resource_EncodedUpdates( + $this, + $this->serviceName, + 'encodedUpdates', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v4/encodedUpdates/{encodedRequest}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'encodedRequest' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'clientVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->fullHashes = new Google_Service_Safebrowsing_Resource_FullHashes( + $this, + $this->serviceName, + 'fullHashes', + array( + 'methods' => array( + 'find' => array( + 'path' => 'v4/fullHashes:find', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->threatListUpdates = new Google_Service_Safebrowsing_Resource_ThreatListUpdates( + $this, + $this->serviceName, + 'threatListUpdates', + array( + 'methods' => array( + 'fetch' => array( + 'path' => 'v4/threatListUpdates:fetch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->threatLists = new Google_Service_Safebrowsing_Resource_ThreatLists( + $this, + $this->serviceName, + 'threatLists', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v4/threatLists', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->threatMatches = new Google_Service_Safebrowsing_Resource_ThreatMatches( + $this, + $this->serviceName, + 'threatMatches', + array( + 'methods' => array( + 'find' => array( + 'path' => 'v4/threatMatches:find', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php new file mode 100644 index 00000000..476ec48e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Checksum.php @@ -0,0 +1,30 @@ +sha256 = $sha256; + } + public function getSha256() + { + return $this->sha256; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php new file mode 100644 index 00000000..55e0eb7d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ClientInfo.php @@ -0,0 +1,39 @@ +clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setClientVersion($clientVersion) + { + $this->clientVersion = $clientVersion; + } + public function getClientVersion() + { + return $this->clientVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php new file mode 100644 index 00000000..e4846bc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Constraints.php @@ -0,0 +1,58 @@ +maxDatabaseEntries = $maxDatabaseEntries; + } + public function getMaxDatabaseEntries() + { + return $this->maxDatabaseEntries; + } + public function setMaxUpdateEntries($maxUpdateEntries) + { + $this->maxUpdateEntries = $maxUpdateEntries; + } + public function getMaxUpdateEntries() + { + return $this->maxUpdateEntries; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSupportedCompressions($supportedCompressions) + { + $this->supportedCompressions = $supportedCompressions; + } + public function getSupportedCompressions() + { + return $this->supportedCompressions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php new file mode 100644 index 00000000..b414786d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesRequest.php @@ -0,0 +1,42 @@ +client = $client; + } + public function getClient() + { + return $this->client; + } + public function setListUpdateRequests($listUpdateRequests) + { + $this->listUpdateRequests = $listUpdateRequests; + } + public function getListUpdateRequests() + { + return $this->listUpdateRequests; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php new file mode 100644 index 00000000..67db90a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FetchThreatListUpdatesResponse.php @@ -0,0 +1,41 @@ +listUpdateResponses = $listUpdateResponses; + } + public function getListUpdateResponses() + { + return $this->listUpdateResponses; + } + public function setMinimumWaitDuration($minimumWaitDuration) + { + $this->minimumWaitDuration = $minimumWaitDuration; + } + public function getMinimumWaitDuration() + { + return $this->minimumWaitDuration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php new file mode 100644 index 00000000..11f4226c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesRequest.php @@ -0,0 +1,61 @@ +apiClient = $apiClient; + } + public function getApiClient() + { + return $this->apiClient; + } + public function setClient(Google_Service_Safebrowsing_ClientInfo $client) + { + $this->client = $client; + } + public function getClient() + { + return $this->client; + } + public function setClientStates($clientStates) + { + $this->clientStates = $clientStates; + } + public function getClientStates() + { + return $this->clientStates; + } + public function setThreatInfo(Google_Service_Safebrowsing_ThreatInfo $threatInfo) + { + $this->threatInfo = $threatInfo; + } + public function getThreatInfo() + { + return $this->threatInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php new file mode 100644 index 00000000..e226d21a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindFullHashesResponse.php @@ -0,0 +1,50 @@ +matches = $matches; + } + public function getMatches() + { + return $this->matches; + } + public function setMinimumWaitDuration($minimumWaitDuration) + { + $this->minimumWaitDuration = $minimumWaitDuration; + } + public function getMinimumWaitDuration() + { + return $this->minimumWaitDuration; + } + public function setNegativeCacheDuration($negativeCacheDuration) + { + $this->negativeCacheDuration = $negativeCacheDuration; + } + public function getNegativeCacheDuration() + { + return $this->negativeCacheDuration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php new file mode 100644 index 00000000..30a1a2d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesRequest.php @@ -0,0 +1,41 @@ +client = $client; + } + public function getClient() + { + return $this->client; + } + public function setThreatInfo(Google_Service_Safebrowsing_ThreatInfo $threatInfo) + { + $this->threatInfo = $threatInfo; + } + public function getThreatInfo() + { + return $this->threatInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php new file mode 100644 index 00000000..276bdbdd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/FindThreatMatchesResponse.php @@ -0,0 +1,32 @@ +matches = $matches; + } + public function getMatches() + { + return $this->matches; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php new file mode 100644 index 00000000..4a3d3f52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListThreatListsResponse.php @@ -0,0 +1,32 @@ +threatLists = $threatLists; + } + public function getThreatLists() + { + return $this->threatLists; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php new file mode 100644 index 00000000..3d390075 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateRequest.php @@ -0,0 +1,67 @@ +constraints = $constraints; + } + public function getConstraints() + { + return $this->constraints; + } + public function setPlatformType($platformType) + { + $this->platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setThreatEntryType($threatEntryType) + { + $this->threatEntryType = $threatEntryType; + } + public function getThreatEntryType() + { + return $this->threatEntryType; + } + public function setThreatType($threatType) + { + $this->threatType = $threatType; + } + public function getThreatType() + { + return $this->threatType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php new file mode 100644 index 00000000..9c313bc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ListUpdateResponse.php @@ -0,0 +1,97 @@ +additions = $additions; + } + public function getAdditions() + { + return $this->additions; + } + public function setChecksum(Google_Service_Safebrowsing_Checksum $checksum) + { + $this->checksum = $checksum; + } + public function getChecksum() + { + return $this->checksum; + } + public function setNewClientState($newClientState) + { + $this->newClientState = $newClientState; + } + public function getNewClientState() + { + return $this->newClientState; + } + public function setPlatformType($platformType) + { + $this->platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setRemovals($removals) + { + $this->removals = $removals; + } + public function getRemovals() + { + return $this->removals; + } + public function setResponseType($responseType) + { + $this->responseType = $responseType; + } + public function getResponseType() + { + return $this->responseType; + } + public function setThreatEntryType($threatEntryType) + { + $this->threatEntryType = $threatEntryType; + } + public function getThreatEntryType() + { + return $this->threatEntryType; + } + public function setThreatType($threatType) + { + $this->threatType = $threatType; + } + public function getThreatType() + { + return $this->threatType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php new file mode 100644 index 00000000..1fbfbcd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/MetadataEntry.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php new file mode 100644 index 00000000..27e50f65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawHashes.php @@ -0,0 +1,39 @@ +prefixSize = $prefixSize; + } + public function getPrefixSize() + { + return $this->prefixSize; + } + public function setRawHashes($rawHashes) + { + $this->rawHashes = $rawHashes; + } + public function getRawHashes() + { + return $this->rawHashes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php new file mode 100644 index 00000000..6254eedd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RawIndices.php @@ -0,0 +1,31 @@ +indices = $indices; + } + public function getIndices() + { + return $this->indices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php new file mode 100644 index 00000000..39c514c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedFullHashes.php @@ -0,0 +1,45 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $encodedFullHashes = $safebrowsingService->encodedFullHashes; + * + */ +class Google_Service_Safebrowsing_Resource_EncodedFullHashes extends Google_Service_Resource +{ + /** + * (encodedFullHashes.get) + * + * @param string $encodedRequest A serialized FindFullHashesRequest proto. + * @param array $optParams Optional parameters. + * + * @opt_param string clientId A client ID that (hopefully) uniquely identifies + * the client implementation of the Safe Browsing API. + * @opt_param string clientVersion The version of the client implementation. + * @return Google_Service_Safebrowsing_FindFullHashesResponse + */ + public function get($encodedRequest, $optParams = array()) + { + $params = array('encodedRequest' => $encodedRequest); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Safebrowsing_FindFullHashesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php new file mode 100644 index 00000000..4e6e5b74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/EncodedUpdates.php @@ -0,0 +1,46 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $encodedUpdates = $safebrowsingService->encodedUpdates; + * + */ +class Google_Service_Safebrowsing_Resource_EncodedUpdates extends Google_Service_Resource +{ + /** + * (encodedUpdates.get) + * + * @param string $encodedRequest A serialized FetchThreatListUpdatesRequest + * proto. + * @param array $optParams Optional parameters. + * + * @opt_param string clientId A client ID that uniquely identifies the client + * implementation of the Safe Browsing API. + * @opt_param string clientVersion The version of the client implementation. + * @return Google_Service_Safebrowsing_FetchThreatListUpdatesResponse + */ + public function get($encodedRequest, $optParams = array()) + { + $params = array('encodedRequest' => $encodedRequest); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Safebrowsing_FetchThreatListUpdatesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php new file mode 100644 index 00000000..e50cd33f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/FullHashes.php @@ -0,0 +1,42 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $fullHashes = $safebrowsingService->fullHashes; + * + */ +class Google_Service_Safebrowsing_Resource_FullHashes extends Google_Service_Resource +{ + /** + * Finds the full hashes that match the requested hash prefixes. + * (fullHashes.find) + * + * @param Google_Service_Safebrowsing_FindFullHashesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Safebrowsing_FindFullHashesResponse + */ + public function find(Google_Service_Safebrowsing_FindFullHashesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('find', array($params), "Google_Service_Safebrowsing_FindFullHashesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php new file mode 100644 index 00000000..3fcfac7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatListUpdates.php @@ -0,0 +1,42 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $threatListUpdates = $safebrowsingService->threatListUpdates; + * + */ +class Google_Service_Safebrowsing_Resource_ThreatListUpdates extends Google_Service_Resource +{ + /** + * Fetches the most recent threat list updates. A client can request updates for + * multiple lists at once. (threatListUpdates.fetch) + * + * @param Google_Service_Safebrowsing_FetchThreatListUpdatesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Safebrowsing_FetchThreatListUpdatesResponse + */ + public function fetch(Google_Service_Safebrowsing_FetchThreatListUpdatesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('fetch', array($params), "Google_Service_Safebrowsing_FetchThreatListUpdatesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php new file mode 100644 index 00000000..68315a23 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatLists.php @@ -0,0 +1,41 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $threatLists = $safebrowsingService->threatLists; + * + */ +class Google_Service_Safebrowsing_Resource_ThreatLists extends Google_Service_Resource +{ + /** + * Lists the Safe Browsing threat lists available for download. + * (threatLists.listThreatLists) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Safebrowsing_ListThreatListsResponse + */ + public function listThreatLists($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Safebrowsing_ListThreatListsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php new file mode 100644 index 00000000..13654410 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/Resource/ThreatMatches.php @@ -0,0 +1,42 @@ + + * $safebrowsingService = new Google_Service_Safebrowsing(...); + * $threatMatches = $safebrowsingService->threatMatches; + * + */ +class Google_Service_Safebrowsing_Resource_ThreatMatches extends Google_Service_Resource +{ + /** + * Finds the threat entries that match the Safe Browsing lists. + * (threatMatches.find) + * + * @param Google_Service_Safebrowsing_FindThreatMatchesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Safebrowsing_FindThreatMatchesResponse + */ + public function find(Google_Service_Safebrowsing_FindThreatMatchesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('find', array($params), "Google_Service_Safebrowsing_FindThreatMatchesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php new file mode 100644 index 00000000..43ebb382 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/RiceDeltaEncoding.php @@ -0,0 +1,57 @@ +encodedData = $encodedData; + } + public function getEncodedData() + { + return $this->encodedData; + } + public function setFirstValue($firstValue) + { + $this->firstValue = $firstValue; + } + public function getFirstValue() + { + return $this->firstValue; + } + public function setNumEntries($numEntries) + { + $this->numEntries = $numEntries; + } + public function getNumEntries() + { + return $this->numEntries; + } + public function setRiceParameter($riceParameter) + { + $this->riceParameter = $riceParameter; + } + public function getRiceParameter() + { + return $this->riceParameter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php new file mode 100644 index 00000000..200b81c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntry.php @@ -0,0 +1,48 @@ +digest = $digest; + } + public function getDigest() + { + return $this->digest; + } + public function setHash($hash) + { + $this->hash = $hash; + } + public function getHash() + { + return $this->hash; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php new file mode 100644 index 00000000..280e245f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntryMetadata.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php new file mode 100644 index 00000000..a791aee5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatEntrySet.php @@ -0,0 +1,70 @@ +compressionType = $compressionType; + } + public function getCompressionType() + { + return $this->compressionType; + } + public function setRawHashes(Google_Service_Safebrowsing_RawHashes $rawHashes) + { + $this->rawHashes = $rawHashes; + } + public function getRawHashes() + { + return $this->rawHashes; + } + public function setRawIndices(Google_Service_Safebrowsing_RawIndices $rawIndices) + { + $this->rawIndices = $rawIndices; + } + public function getRawIndices() + { + return $this->rawIndices; + } + public function setRiceHashes(Google_Service_Safebrowsing_RiceDeltaEncoding $riceHashes) + { + $this->riceHashes = $riceHashes; + } + public function getRiceHashes() + { + return $this->riceHashes; + } + public function setRiceIndices(Google_Service_Safebrowsing_RiceDeltaEncoding $riceIndices) + { + $this->riceIndices = $riceIndices; + } + public function getRiceIndices() + { + return $this->riceIndices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php new file mode 100644 index 00000000..c570c941 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatInfo.php @@ -0,0 +1,59 @@ +platformTypes = $platformTypes; + } + public function getPlatformTypes() + { + return $this->platformTypes; + } + public function setThreatEntries($threatEntries) + { + $this->threatEntries = $threatEntries; + } + public function getThreatEntries() + { + return $this->threatEntries; + } + public function setThreatEntryTypes($threatEntryTypes) + { + $this->threatEntryTypes = $threatEntryTypes; + } + public function getThreatEntryTypes() + { + return $this->threatEntryTypes; + } + public function setThreatTypes($threatTypes) + { + $this->threatTypes = $threatTypes; + } + public function getThreatTypes() + { + return $this->threatTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php new file mode 100644 index 00000000..eb62254d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatListDescriptor.php @@ -0,0 +1,48 @@ +platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setThreatEntryType($threatEntryType) + { + $this->threatEntryType = $threatEntryType; + } + public function getThreatEntryType() + { + return $this->threatEntryType; + } + public function setThreatType($threatType) + { + $this->threatType = $threatType; + } + public function getThreatType() + { + return $this->threatType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php new file mode 100644 index 00000000..344f1511 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Safebrowsing/ThreatMatch.php @@ -0,0 +1,76 @@ +cacheDuration = $cacheDuration; + } + public function getCacheDuration() + { + return $this->cacheDuration; + } + public function setPlatformType($platformType) + { + $this->platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setThreat(Google_Service_Safebrowsing_ThreatEntry $threat) + { + $this->threat = $threat; + } + public function getThreat() + { + return $this->threat; + } + public function setThreatEntryMetadata(Google_Service_Safebrowsing_ThreatEntryMetadata $threatEntryMetadata) + { + $this->threatEntryMetadata = $threatEntryMetadata; + } + public function getThreatEntryMetadata() + { + return $this->threatEntryMetadata; + } + public function setThreatEntryType($threatEntryType) + { + $this->threatEntryType = $threatEntryType; + } + public function getThreatEntryType() + { + return $this->threatEntryType; + } + public function setThreatType($threatType) + { + $this->threatType = $threatType; + } + public function getThreatType() + { + return $this->threatType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php new file mode 100644 index 00000000..f231790e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script.php @@ -0,0 +1,103 @@ + + * Executes Google Apps Script projects.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Script extends Google_Service +{ + /** Read, send, delete, and manage your email. */ + const MAIL_GOOGLE_COM = + "https://mail.google.com/"; + /** Manage your calendars. */ + const WWW_GOOGLE_COM_CALENDAR_FEEDS = + "https://www.google.com/calendar/feeds"; + /** Manage your contacts. */ + const WWW_GOOGLE_COM_M8_FEEDS = + "https://www.google.com/m8/feeds"; + /** View and manage the provisioning of groups on your domain. */ + const ADMIN_DIRECTORY_GROUP = + "https://www.googleapis.com/auth/admin.directory.group"; + /** View and manage the provisioning of users on your domain. */ + const ADMIN_DIRECTORY_USER = + "https://www.googleapis.com/auth/admin.directory.user"; + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage your forms in Google Drive. */ + const FORMS = + "https://www.googleapis.com/auth/forms"; + /** View and manage forms that this application has been installed in. */ + const FORMS_CURRENTONLY = + "https://www.googleapis.com/auth/forms.currentonly"; + /** View and manage your Google Groups. */ + const GROUPS = + "https://www.googleapis.com/auth/groups"; + /** View and manage your spreadsheets in Google Drive. */ + const SPREADSHEETS = + "https://www.googleapis.com/auth/spreadsheets"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $scripts; + + /** + * Constructs the internal representation of the Script service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://script.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'script'; + + $this->scripts = new Google_Service_Script_Resource_Scripts( + $this, + $this->serviceName, + 'scripts', + array( + 'methods' => array( + 'run' => array( + 'path' => 'v1/scripts/{scriptId}:run', + 'httpMethod' => 'POST', + 'parameters' => array( + 'scriptId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php new file mode 100644 index 00000000..a2c9f400 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionError.php @@ -0,0 +1,50 @@ +errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setErrorType($errorType) + { + $this->errorType = $errorType; + } + public function getErrorType() + { + return $this->errorType; + } + public function setScriptStackTraceElements($scriptStackTraceElements) + { + $this->scriptStackTraceElements = $scriptStackTraceElements; + } + public function getScriptStackTraceElements() + { + return $this->scriptStackTraceElements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php new file mode 100644 index 00000000..8f08f9b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionRequest.php @@ -0,0 +1,58 @@ +devMode = $devMode; + } + public function getDevMode() + { + return $this->devMode; + } + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setSessionState($sessionState) + { + $this->sessionState = $sessionState; + } + public function getSessionState() + { + return $this->sessionState; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php new file mode 100644 index 00000000..bdc12a90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ExecutionResponse.php @@ -0,0 +1,30 @@ +result = $result; + } + public function getResult() + { + return $this->result; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php new file mode 100644 index 00000000..b818bc11 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Script_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php new file mode 100644 index 00000000..80cac1bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Resource/Scripts.php @@ -0,0 +1,52 @@ + + * $scriptService = new Google_Service_Script(...); + * $scripts = $scriptService->scripts; + * + */ +class Google_Service_Script_Resource_Scripts extends Google_Service_Resource +{ + /** + * Runs a function in an Apps Script project. The project must be deployed for + * use with the Apps Script Execution API. + * + * This method requires authorization with an OAuth 2.0 token that includes at + * least one of the scopes listed in the [Authorization](#authorization) + * section; script projects that do not require authorization cannot be executed + * through this API. To find the correct scopes to include in the authentication + * token, open the project in the script editor, then select **File > Project + * properties** and click the **Scopes** tab. (scripts.run) + * + * @param string $scriptId The project key of the script to be executed. To find + * the project key, open the project in the script editor and select **File > + * Project properties**. + * @param Google_Service_Script_ExecutionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Script_Operation + */ + public function run($scriptId, Google_Service_Script_ExecutionRequest $postBody, $optParams = array()) + { + $params = array('scriptId' => $scriptId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('run', array($params), "Google_Service_Script_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php new file mode 100644 index 00000000..e2043612 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/ScriptStackTraceElement.php @@ -0,0 +1,39 @@ +function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php new file mode 100644 index 00000000..12bd8803 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Script/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php new file mode 100644 index 00000000..560a2fed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole.php @@ -0,0 +1,65 @@ + + * Provides tools for running validation tests against single URLs

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_SearchConsole extends Google_Service +{ + + + public $urlTestingTools_mobileFriendlyTest; + + /** + * Constructs the internal representation of the SearchConsole service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://searchconsole.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'searchconsole'; + + $this->urlTestingTools_mobileFriendlyTest = new Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest( + $this, + $this->serviceName, + 'mobileFriendlyTest', + array( + 'methods' => array( + 'run' => array( + 'path' => 'v1/urlTestingTools/mobileFriendlyTest:run', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php new file mode 100644 index 00000000..bbc71cf7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/BlockedResource.php @@ -0,0 +1,30 @@ +url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php new file mode 100644 index 00000000..16601977 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Image.php @@ -0,0 +1,39 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php new file mode 100644 index 00000000..34df5fad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/MobileFriendlyIssue.php @@ -0,0 +1,30 @@ +rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php new file mode 100644 index 00000000..3508d9db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingTools.php @@ -0,0 +1,28 @@ + + * $searchconsoleService = new Google_Service_SearchConsole(...); + * $urlTestingTools = $searchconsoleService->urlTestingTools; + * + */ +class Google_Service_SearchConsole_Resource_UrlTestingTools extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php new file mode 100644 index 00000000..26544134 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/Resource/UrlTestingToolsMobileFriendlyTest.php @@ -0,0 +1,41 @@ + + * $searchconsoleService = new Google_Service_SearchConsole(...); + * $mobileFriendlyTest = $searchconsoleService->mobileFriendlyTest; + * + */ +class Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest extends Google_Service_Resource +{ + /** + * Runs Mobile-Friendly Test for a given URL. (mobileFriendlyTest.run) + * + * @param Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SearchConsole_RunMobileFriendlyTestResponse + */ + public function run(Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('run', array($params), "Google_Service_SearchConsole_RunMobileFriendlyTestResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php new file mode 100644 index 00000000..e52db726 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/ResourceIssue.php @@ -0,0 +1,31 @@ +blockedResource = $blockedResource; + } + public function getBlockedResource() + { + return $this->blockedResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php new file mode 100644 index 00000000..53cfff68 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestRequest.php @@ -0,0 +1,39 @@ +requestScreenshot = $requestScreenshot; + } + public function getRequestScreenshot() + { + return $this->requestScreenshot; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php new file mode 100644 index 00000000..95f64b3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/RunMobileFriendlyTestResponse.php @@ -0,0 +1,71 @@ +mobileFriendliness = $mobileFriendliness; + } + public function getMobileFriendliness() + { + return $this->mobileFriendliness; + } + public function setMobileFriendlyIssues($mobileFriendlyIssues) + { + $this->mobileFriendlyIssues = $mobileFriendlyIssues; + } + public function getMobileFriendlyIssues() + { + return $this->mobileFriendlyIssues; + } + public function setResourceIssues($resourceIssues) + { + $this->resourceIssues = $resourceIssues; + } + public function getResourceIssues() + { + return $this->resourceIssues; + } + public function setScreenshot(Google_Service_SearchConsole_Image $screenshot) + { + $this->screenshot = $screenshot; + } + public function getScreenshot() + { + return $this->screenshot; + } + public function setTestStatus(Google_Service_SearchConsole_TestStatus $testStatus) + { + $this->testStatus = $testStatus; + } + public function getTestStatus() + { + return $this->testStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php new file mode 100644 index 00000000..9212ac66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SearchConsole/TestStatus.php @@ -0,0 +1,39 @@ +details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php new file mode 100644 index 00000000..8ab8fc6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl.php @@ -0,0 +1,127 @@ + + * Google Service Control provides control plane functionality to managed + * services, such as logging, monitoring, and status checks.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ServiceControl extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your Google Service Control data. */ + const SERVICECONTROL = + "https://www.googleapis.com/auth/servicecontrol"; + + public $services; + + /** + * Constructs the internal representation of the ServiceControl service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://servicecontrol.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'servicecontrol'; + + $this->services = new Google_Service_ServiceControl_Resource_Services( + $this, + $this->serviceName, + 'services', + array( + 'methods' => array( + 'allocateQuota' => array( + 'path' => 'v1/services/{serviceName}:allocateQuota', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'check' => array( + 'path' => 'v1/services/{serviceName}:check', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'endReconciliation' => array( + 'path' => 'v1/services/{serviceName}:endReconciliation', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'releaseQuota' => array( + 'path' => 'v1/services/{serviceName}:releaseQuota', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'report' => array( + 'path' => 'v1/services/{serviceName}:report', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'startReconciliation' => array( + 'path' => 'v1/services/{serviceName}:startReconciliation', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php new file mode 100644 index 00000000..407662e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaRequest.php @@ -0,0 +1,49 @@ +allocateOperation = $allocateOperation; + } + public function getAllocateOperation() + { + return $this->allocateOperation; + } + public function setAllocationMode($allocationMode) + { + $this->allocationMode = $allocationMode; + } + public function getAllocationMode() + { + return $this->allocationMode; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php new file mode 100644 index 00000000..5bd7f566 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AllocateQuotaResponse.php @@ -0,0 +1,60 @@ +allocateErrors = $allocateErrors; + } + public function getAllocateErrors() + { + return $this->allocateErrors; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php new file mode 100644 index 00000000..c6c25dd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuditLog.php @@ -0,0 +1,125 @@ +authenticationInfo = $authenticationInfo; + } + public function getAuthenticationInfo() + { + return $this->authenticationInfo; + } + public function setAuthorizationInfo($authorizationInfo) + { + $this->authorizationInfo = $authorizationInfo; + } + public function getAuthorizationInfo() + { + return $this->authorizationInfo; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } + public function setNumResponseItems($numResponseItems) + { + $this->numResponseItems = $numResponseItems; + } + public function getNumResponseItems() + { + return $this->numResponseItems; + } + public function setRequest($request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setRequestMetadata(Google_Service_ServiceControl_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } + public function setServiceData($serviceData) + { + $this->serviceData = $serviceData; + } + public function getServiceData() + { + return $this->serviceData; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } + public function setStatus(Google_Service_ServiceControl_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php new file mode 100644 index 00000000..d253b170 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthenticationInfo.php @@ -0,0 +1,39 @@ +authoritySelector = $authoritySelector; + } + public function getAuthoritySelector() + { + return $this->authoritySelector; + } + public function setPrincipalEmail($principalEmail) + { + $this->principalEmail = $principalEmail; + } + public function getPrincipalEmail() + { + return $this->principalEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php new file mode 100644 index 00000000..91777eff --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/AuthorizationInfo.php @@ -0,0 +1,48 @@ +granted = $granted; + } + public function getGranted() + { + return $this->granted; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php new file mode 100644 index 00000000..a2382bb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckError.php @@ -0,0 +1,39 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetail($detail) + { + $this->detail = $detail; + } + public function getDetail() + { + return $this->detail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php new file mode 100644 index 00000000..d9f18c8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckInfo.php @@ -0,0 +1,31 @@ +unusedArguments = $unusedArguments; + } + public function getUnusedArguments() + { + return $this->unusedArguments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php new file mode 100644 index 00000000..597e6de7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckRequest.php @@ -0,0 +1,58 @@ +operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setRequestProjectSettings($requestProjectSettings) + { + $this->requestProjectSettings = $requestProjectSettings; + } + public function getRequestProjectSettings() + { + return $this->requestProjectSettings; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } + public function setSkipActivationCheck($skipActivationCheck) + { + $this->skipActivationCheck = $skipActivationCheck; + } + public function getSkipActivationCheck() + { + return $this->skipActivationCheck; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php new file mode 100644 index 00000000..c3e496cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/CheckResponse.php @@ -0,0 +1,70 @@ +checkErrors = $checkErrors; + } + public function getCheckErrors() + { + return $this->checkErrors; + } + public function setCheckInfo(Google_Service_ServiceControl_CheckInfo $checkInfo) + { + $this->checkInfo = $checkInfo; + } + public function getCheckInfo() + { + return $this->checkInfo; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaInfo(Google_Service_ServiceControl_QuotaInfo $quotaInfo) + { + $this->quotaInfo = $quotaInfo; + } + public function getQuotaInfo() + { + return $this->quotaInfo; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php new file mode 100644 index 00000000..99f45e46 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Distribution.php @@ -0,0 +1,106 @@ +bucketCounts = $bucketCounts; + } + public function getBucketCounts() + { + return $this->bucketCounts; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setExplicitBuckets(Google_Service_ServiceControl_ExplicitBuckets $explicitBuckets) + { + $this->explicitBuckets = $explicitBuckets; + } + public function getExplicitBuckets() + { + return $this->explicitBuckets; + } + public function setExponentialBuckets(Google_Service_ServiceControl_ExponentialBuckets $exponentialBuckets) + { + $this->exponentialBuckets = $exponentialBuckets; + } + public function getExponentialBuckets() + { + return $this->exponentialBuckets; + } + public function setLinearBuckets(Google_Service_ServiceControl_LinearBuckets $linearBuckets) + { + $this->linearBuckets = $linearBuckets; + } + public function getLinearBuckets() + { + return $this->linearBuckets; + } + public function setMaximum($maximum) + { + $this->maximum = $maximum; + } + public function getMaximum() + { + return $this->maximum; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setMinimum($minimum) + { + $this->minimum = $minimum; + } + public function getMinimum() + { + return $this->minimum; + } + public function setSumOfSquaredDeviation($sumOfSquaredDeviation) + { + $this->sumOfSquaredDeviation = $sumOfSquaredDeviation; + } + public function getSumOfSquaredDeviation() + { + return $this->sumOfSquaredDeviation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php new file mode 100644 index 00000000..30e3bd3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationRequest.php @@ -0,0 +1,40 @@ +reconciliationOperation = $reconciliationOperation; + } + public function getReconciliationOperation() + { + return $this->reconciliationOperation; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php new file mode 100644 index 00000000..23145bad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/EndReconciliationResponse.php @@ -0,0 +1,60 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } + public function setReconciliationErrors($reconciliationErrors) + { + $this->reconciliationErrors = $reconciliationErrors; + } + public function getReconciliationErrors() + { + return $this->reconciliationErrors; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php new file mode 100644 index 00000000..aad45478 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExplicitBuckets.php @@ -0,0 +1,31 @@ +bounds = $bounds; + } + public function getBounds() + { + return $this->bounds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php new file mode 100644 index 00000000..7872fac7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ExponentialBuckets.php @@ -0,0 +1,48 @@ +growthFactor = $growthFactor; + } + public function getGrowthFactor() + { + return $this->growthFactor; + } + public function setNumFiniteBuckets($numFiniteBuckets) + { + $this->numFiniteBuckets = $numFiniteBuckets; + } + public function getNumFiniteBuckets() + { + return $this->numFiniteBuckets; + } + public function setScale($scale) + { + $this->scale = $scale; + } + public function getScale() + { + return $this->scale; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php new file mode 100644 index 00000000..8ae7ecd8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LinearBuckets.php @@ -0,0 +1,48 @@ +numFiniteBuckets = $numFiniteBuckets; + } + public function getNumFiniteBuckets() + { + return $this->numFiniteBuckets; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php new file mode 100644 index 00000000..84a8c511 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/LogEntry.php @@ -0,0 +1,93 @@ +insertId = $insertId; + } + public function getInsertId() + { + return $this->insertId; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProtoPayload($protoPayload) + { + $this->protoPayload = $protoPayload; + } + public function getProtoPayload() + { + return $this->protoPayload; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setStructPayload($structPayload) + { + $this->structPayload = $structPayload; + } + public function getStructPayload() + { + return $this->structPayload; + } + public function setTextPayload($textPayload) + { + $this->textPayload = $textPayload; + } + public function getTextPayload() + { + return $this->textPayload; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php new file mode 100644 index 00000000..a71b8be3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValue.php @@ -0,0 +1,104 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDistributionValue(Google_Service_ServiceControl_Distribution $distributionValue) + { + $this->distributionValue = $distributionValue; + } + public function getDistributionValue() + { + return $this->distributionValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + public function getInt64Value() + { + return $this->int64Value; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMoneyValue(Google_Service_ServiceControl_Money $moneyValue) + { + $this->moneyValue = $moneyValue; + } + public function getMoneyValue() + { + return $this->moneyValue; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php new file mode 100644 index 00000000..7164abf3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/MetricValueSet.php @@ -0,0 +1,41 @@ +metricName = $metricName; + } + public function getMetricName() + { + return $this->metricName; + } + public function setMetricValues($metricValues) + { + $this->metricValues = $metricValues; + } + public function getMetricValues() + { + return $this->metricValues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php new file mode 100644 index 00000000..55b7874e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Money.php @@ -0,0 +1,48 @@ +currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php new file mode 100644 index 00000000..d58e975a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Operation.php @@ -0,0 +1,133 @@ +consumerId = $consumerId; + } + public function getConsumerId() + { + return $this->consumerId; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setImportance($importance) + { + $this->importance = $importance; + } + public function getImportance() + { + return $this->importance; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLogEntries($logEntries) + { + $this->logEntries = $logEntries; + } + public function getLogEntries() + { + return $this->logEntries; + } + public function setMetricValueSets($metricValueSets) + { + $this->metricValueSets = $metricValueSets; + } + public function getMetricValueSets() + { + return $this->metricValueSets; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setOperationName($operationName) + { + $this->operationName = $operationName; + } + public function getOperationName() + { + return $this->operationName; + } + public function setQuotaProperties(Google_Service_ServiceControl_QuotaProperties $quotaProperties) + { + $this->quotaProperties = $quotaProperties; + } + public function getQuotaProperties() + { + return $this->quotaProperties; + } + public function setResourceContainer($resourceContainer) + { + $this->resourceContainer = $resourceContainer; + } + public function getResourceContainer() + { + return $this->resourceContainer; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setUserLabels($userLabels) + { + $this->userLabels = $userLabels; + } + public function getUserLabels() + { + return $this->userLabels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php new file mode 100644 index 00000000..3ab44fb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaError.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSubject($subject) + { + $this->subject = $subject; + } + public function getSubject() + { + return $this->subject; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php new file mode 100644 index 00000000..748c2bf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaInfo.php @@ -0,0 +1,50 @@ +limitExceeded = $limitExceeded; + } + public function getLimitExceeded() + { + return $this->limitExceeded; + } + public function setQuotaConsumed($quotaConsumed) + { + $this->quotaConsumed = $quotaConsumed; + } + public function getQuotaConsumed() + { + return $this->quotaConsumed; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php new file mode 100644 index 00000000..37b4144d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaOperation.php @@ -0,0 +1,77 @@ +consumerId = $consumerId; + } + public function getConsumerId() + { + return $this->consumerId; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } + public function setQuotaMode($quotaMode) + { + $this->quotaMode = $quotaMode; + } + public function getQuotaMode() + { + return $this->quotaMode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php new file mode 100644 index 00000000..b8bb2ef2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/QuotaProperties.php @@ -0,0 +1,39 @@ +limitByIds = $limitByIds; + } + public function getLimitByIds() + { + return $this->limitByIds; + } + public function setQuotaMode($quotaMode) + { + $this->quotaMode = $quotaMode; + } + public function getQuotaMode() + { + return $this->quotaMode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php new file mode 100644 index 00000000..d6dd8fa0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaRequest.php @@ -0,0 +1,40 @@ +releaseOperation = $releaseOperation; + } + public function getReleaseOperation() + { + return $this->releaseOperation; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php new file mode 100644 index 00000000..e78b09d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReleaseQuotaResponse.php @@ -0,0 +1,60 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } + public function setReleaseErrors($releaseErrors) + { + $this->releaseErrors = $releaseErrors; + } + public function getReleaseErrors() + { + return $this->releaseErrors; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php new file mode 100644 index 00000000..d5db0b9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportError.php @@ -0,0 +1,40 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setStatus(Google_Service_ServiceControl_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php new file mode 100644 index 00000000..3ff863df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportInfo.php @@ -0,0 +1,40 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaInfo(Google_Service_ServiceControl_QuotaInfo $quotaInfo) + { + $this->quotaInfo = $quotaInfo; + } + public function getQuotaInfo() + { + return $this->quotaInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php new file mode 100644 index 00000000..5fa09d42 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportRequest.php @@ -0,0 +1,41 @@ +operations = $operations; + } + public function getOperations() + { + return $this->operations; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php new file mode 100644 index 00000000..a32a1ef9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/ReportResponse.php @@ -0,0 +1,51 @@ +reportErrors = $reportErrors; + } + public function getReportErrors() + { + return $this->reportErrors; + } + public function setReportInfos($reportInfos) + { + $this->reportInfos = $reportInfos; + } + public function getReportInfos() + { + return $this->reportInfos; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php new file mode 100644 index 00000000..3eac6ed8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/RequestMetadata.php @@ -0,0 +1,39 @@ +callerIp = $callerIp; + } + public function getCallerIp() + { + return $this->callerIp; + } + public function setCallerSuppliedUserAgent($callerSuppliedUserAgent) + { + $this->callerSuppliedUserAgent = $callerSuppliedUserAgent; + } + public function getCallerSuppliedUserAgent() + { + return $this->callerSuppliedUserAgent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php new file mode 100644 index 00000000..f88318cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Resource/Services.php @@ -0,0 +1,191 @@ + + * $servicecontrolService = new Google_Service_ServiceControl(...); + * $services = $servicecontrolService->services; + * + */ +class Google_Service_ServiceControl_Resource_Services extends Google_Service_Resource +{ + /** + * Attempts to allocate quota for the specified consumer. It should be called + * before the operation is executed. + * + * This method requires the `servicemanagement.services.quota` permission on the + * specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.allocateQuota) + * + * @param string $serviceName Name of the service as specified in the service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_AllocateQuotaRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_AllocateQuotaResponse + */ + public function allocateQuota($serviceName, Google_Service_ServiceControl_AllocateQuotaRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('allocateQuota', array($params), "Google_Service_ServiceControl_AllocateQuotaResponse"); + } + /** + * Checks an operation with Google Service Control to decide whether the given + * operation should proceed. It should be called before the operation is + * executed. + * + * If feasible, the client should cache the check results and reuse them for 60 + * seconds. In case of server errors, the client can rely on the cached results + * for longer time. + * + * NOTE: the `CheckRequest` has the size limit of 64KB. + * + * This method requires the `servicemanagement.services.check` permission on the + * specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.check) + * + * @param string $serviceName The service name as specified in its service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_CheckRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_CheckResponse + */ + public function check($serviceName, Google_Service_ServiceControl_CheckRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('check', array($params), "Google_Service_ServiceControl_CheckResponse"); + } + /** + * Signals the quota controller that service ends the ongoing usage + * reconciliation. + * + * This method requires the `servicemanagement.services.quota` permission on the + * specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.endReconciliation) + * + * @param string $serviceName Name of the service as specified in the service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_EndReconciliationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_EndReconciliationResponse + */ + public function endReconciliation($serviceName, Google_Service_ServiceControl_EndReconciliationRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('endReconciliation', array($params), "Google_Service_ServiceControl_EndReconciliationResponse"); + } + /** + * Releases previously allocated quota done through AllocateQuota method. + * + * This method requires the `servicemanagement.services.quota` permission on the + * specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.releaseQuota) + * + * @param string $serviceName Name of the service as specified in the service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_ReleaseQuotaRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_ReleaseQuotaResponse + */ + public function releaseQuota($serviceName, Google_Service_ServiceControl_ReleaseQuotaRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('releaseQuota', array($params), "Google_Service_ServiceControl_ReleaseQuotaResponse"); + } + /** + * Reports operation results to Google Service Control, such as logs and + * metrics. It should be called after an operation is completed. + * + * If feasible, the client should aggregate reporting data for up to 5 seconds + * to reduce API traffic. Limiting aggregation to 5 seconds is to reduce data + * loss during client crashes. Clients should carefully choose the aggregation + * time window to avoid data loss risk more than 0.01% for business and + * compliance reasons. + * + * NOTE: the `ReportRequest` has the size limit of 1MB. + * + * This method requires the `servicemanagement.services.report` permission on + * the specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.report) + * + * @param string $serviceName The service name as specified in its service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_ReportResponse + */ + public function report($serviceName, Google_Service_ServiceControl_ReportRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('report', array($params), "Google_Service_ServiceControl_ReportResponse"); + } + /** + * Unlike rate quota, allocation quota does not get refilled periodically. So, + * it is possible that the quota usage as seen by the service differs from what + * the One Platform considers the usage is. This is expected to happen only + * rarely, but over time this can accumulate. Services can invoke + * StartReconciliation and EndReconciliation to correct this usage drift, as + * described below: 1. Service sends StartReconciliation with a timestamp in + * future for each metric that needs to be reconciled. The timestamp being in + * future allows to account for in-flight AllocateQuota and ReleaseQuota + * requests for the same metric. 2. One Platform records this timestamp and + * starts tracking subsequent AllocateQuota and ReleaseQuota requests until + * EndReconciliation is called. 3. At or after the time specified in the + * StartReconciliation, service sends EndReconciliation with the usage that + * needs to be reconciled to. 4. One Platform adjusts its own record of usage + * for that metric to the value specified in EndReconciliation by taking in + * to account any allocation or release between StartReconciliation and + * EndReconciliation. + * + * Signals the quota controller that the service wants to perform a usage + * reconciliation as specified in the request. + * + * This method requires the `servicemanagement.services.quota` permission on the + * specified service. For more information, see [Google Cloud + * IAM](https://cloud.google.com/iam). (services.startReconciliation) + * + * @param string $serviceName Name of the service as specified in the service + * configuration. For example, `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + * @param Google_Service_ServiceControl_StartReconciliationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceControl_StartReconciliationResponse + */ + public function startReconciliation($serviceName, Google_Service_ServiceControl_StartReconciliationRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('startReconciliation', array($params), "Google_Service_ServiceControl_StartReconciliationResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php new file mode 100644 index 00000000..1bcb79af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationRequest.php @@ -0,0 +1,40 @@ +reconciliationOperation = $reconciliationOperation; + } + public function getReconciliationOperation() + { + return $this->reconciliationOperation; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php new file mode 100644 index 00000000..5c153fd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/StartReconciliationResponse.php @@ -0,0 +1,60 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuotaMetrics($quotaMetrics) + { + $this->quotaMetrics = $quotaMetrics; + } + public function getQuotaMetrics() + { + return $this->quotaMetrics; + } + public function setReconciliationErrors($reconciliationErrors) + { + $this->reconciliationErrors = $reconciliationErrors; + } + public function getReconciliationErrors() + { + return $this->reconciliationErrors; + } + public function setServiceConfigId($serviceConfigId) + { + $this->serviceConfigId = $serviceConfigId; + } + public function getServiceConfigId() + { + return $this->serviceConfigId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php new file mode 100644 index 00000000..98bf6b0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceControl/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php new file mode 100644 index 00000000..e87d359f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement.php @@ -0,0 +1,366 @@ + + * Google Service Management allows service producers to publish their services + * on Google Cloud Platform so that they can be discovered and used by service + * consumers.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ServiceManagement extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your Google API service configuration. */ + const SERVICE_MANAGEMENT = + "https://www.googleapis.com/auth/service.management"; + /** View your Google API service configuration. */ + const SERVICE_MANAGEMENT_READONLY = + "https://www.googleapis.com/auth/service.management.readonly"; + + public $operations; + public $services; + public $services_configs; + public $services_rollouts; + + /** + * Constructs the internal representation of the ServiceManagement service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://servicemanagement.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'servicemanagement'; + + $this->operations = new Google_Service_ServiceManagement_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->services = new Google_Service_ServiceManagement_Resource_Services( + $this, + $this->serviceName, + 'services', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/services', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/services/{serviceName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'disable' => array( + 'path' => 'v1/services/{serviceName}:disable', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'enable' => array( + 'path' => 'v1/services/{serviceName}:enable', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateConfigReport' => array( + 'path' => 'v1/services:generateConfigReport', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v1/services/{serviceName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getConfig' => array( + 'path' => 'v1/services/{serviceName}/config', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/services', + 'httpMethod' => 'GET', + 'parameters' => array( + 'consumerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'producerProjectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'v1/services/{serviceName}:undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->services_configs = new Google_Service_ServiceManagement_Resource_ServicesConfigs( + $this, + $this->serviceName, + 'configs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/services/{serviceName}/configs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/services/{serviceName}/configs/{configId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/services/{serviceName}/configs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'submit' => array( + 'path' => 'v1/services/{serviceName}/configs:submit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->services_rollouts = new Google_Service_ServiceManagement_Resource_ServicesRollouts( + $this, + $this->serviceName, + 'rollouts', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/services/{serviceName}/rollouts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/services/{serviceName}/rollouts/{rolloutId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rolloutId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/services/{serviceName}/rollouts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'serviceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php new file mode 100644 index 00000000..ea85b5d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Advice.php @@ -0,0 +1,30 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php new file mode 100644 index 00000000..c1f6fd09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Analytics.php @@ -0,0 +1,32 @@ +producerDestinations = $producerDestinations; + } + public function getProducerDestinations() + { + return $this->producerDestinations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php new file mode 100644 index 00000000..75172d5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AnalyticsDestination.php @@ -0,0 +1,40 @@ +metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setMonitoredResource($monitoredResource) + { + $this->monitoredResource = $monitoredResource; + } + public function getMonitoredResource() + { + return $this->monitoredResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php new file mode 100644 index 00000000..029bc79a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Api.php @@ -0,0 +1,89 @@ +methods = $methods; + } + public function getMethods() + { + return $this->methods; + } + public function setMixins($mixins) + { + $this->mixins = $mixins; + } + public function getMixins() + { + return $this->mixins; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php new file mode 100644 index 00000000..4b118b43 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditConfig.php @@ -0,0 +1,50 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setExemptedMembers($exemptedMembers) + { + $this->exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php new file mode 100644 index 00000000..7c83ca3a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php new file mode 100644 index 00000000..c88ac099 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthProvider.php @@ -0,0 +1,57 @@ +audiences = $audiences; + } + public function getAudiences() + { + return $this->audiences; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIssuer($issuer) + { + $this->issuer = $issuer; + } + public function getIssuer() + { + return $this->issuer; + } + public function setJwksUri($jwksUri) + { + $this->jwksUri = $jwksUri; + } + public function getJwksUri() + { + return $this->jwksUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php new file mode 100644 index 00000000..6ab3b963 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthRequirement.php @@ -0,0 +1,39 @@ +audiences = $audiences; + } + public function getAudiences() + { + return $this->audiences; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php new file mode 100644 index 00000000..01962ef2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Authentication.php @@ -0,0 +1,42 @@ +providers = $providers; + } + public function getProviders() + { + return $this->providers; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php new file mode 100644 index 00000000..f24ae16d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthenticationRule.php @@ -0,0 +1,60 @@ +allowWithoutCredential = $allowWithoutCredential; + } + public function getAllowWithoutCredential() + { + return $this->allowWithoutCredential; + } + public function setOauth(Google_Service_ServiceManagement_OAuthRequirements $oauth) + { + $this->oauth = $oauth; + } + public function getOauth() + { + return $this->oauth; + } + public function setRequirements($requirements) + { + $this->requirements = $requirements; + } + public function getRequirements() + { + return $this->requirements; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php new file mode 100644 index 00000000..e565cdb9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/AuthorizationConfig.php @@ -0,0 +1,30 @@ +provider = $provider; + } + public function getProvider() + { + return $this->provider; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php new file mode 100644 index 00000000..f472c079 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Backend.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php new file mode 100644 index 00000000..02b0c65c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/BackendRule.php @@ -0,0 +1,48 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDeadline($deadline) + { + $this->deadline = $deadline; + } + public function getDeadline() + { + return $this->deadline; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php new file mode 100644 index 00000000..653a8442 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php new file mode 100644 index 00000000..356d282c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ChangeReport.php @@ -0,0 +1,32 @@ +configChanges = $configChanges; + } + public function getConfigChanges() + { + return $this->configChanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php new file mode 100644 index 00000000..348d6b83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CloudAuditOptions.php @@ -0,0 +1,20 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php new file mode 100644 index 00000000..e360f097 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigChange.php @@ -0,0 +1,68 @@ +advices = $advices; + } + public function getAdvices() + { + return $this->advices; + } + public function setChangeType($changeType) + { + $this->changeType = $changeType; + } + public function getChangeType() + { + return $this->changeType; + } + public function setElement($element) + { + $this->element = $element; + } + public function getElement() + { + return $this->element; + } + public function setNewValue($newValue) + { + $this->newValue = $newValue; + } + public function getNewValue() + { + return $this->newValue; + } + public function setOldValue($oldValue) + { + $this->oldValue = $oldValue; + } + public function getOldValue() + { + return $this->oldValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php new file mode 100644 index 00000000..b34518cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigFile.php @@ -0,0 +1,48 @@ +fileContents = $fileContents; + } + public function getFileContents() + { + return $this->fileContents; + } + public function setFilePath($filePath) + { + $this->filePath = $filePath; + } + public function getFilePath() + { + return $this->filePath; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php new file mode 100644 index 00000000..53a13c72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigOptions.php @@ -0,0 +1,20 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php new file mode 100644 index 00000000..312da61d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ConfigSource.php @@ -0,0 +1,41 @@ +files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php new file mode 100644 index 00000000..d0fb9e36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Context.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php new file mode 100644 index 00000000..3d58609d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ContextRule.php @@ -0,0 +1,49 @@ +provided = $provided; + } + public function getProvided() + { + return $this->provided; + } + public function setRequested($requested) + { + $this->requested = $requested; + } + public function getRequested() + { + return $this->requested; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php new file mode 100644 index 00000000..cd384856 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Control.php @@ -0,0 +1,30 @@ +environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php new file mode 100644 index 00000000..e9887b08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php new file mode 100644 index 00000000..3cdf5f1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomError.php @@ -0,0 +1,41 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php new file mode 100644 index 00000000..4335060c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomErrorRule.php @@ -0,0 +1,39 @@ +isErrorType = $isErrorType; + } + public function getIsErrorType() + { + return $this->isErrorType; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php new file mode 100644 index 00000000..864728cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/CustomHttpPattern.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php new file mode 100644 index 00000000..e3255d92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DataAccessOptions.php @@ -0,0 +1,20 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php new file mode 100644 index 00000000..642c07dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DisableServiceRequest.php @@ -0,0 +1,30 @@ +consumerId = $consumerId; + } + public function getConsumerId() + { + return $this->consumerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php new file mode 100644 index 00000000..0815b6b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Documentation.php @@ -0,0 +1,69 @@ +documentationRootUrl = $documentationRootUrl; + } + public function getDocumentationRootUrl() + { + return $this->documentationRootUrl; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } + public function setPages($pages) + { + $this->pages = $pages; + } + public function getPages() + { + return $this->pages; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php new file mode 100644 index 00000000..be1dddb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/DocumentationRule.php @@ -0,0 +1,48 @@ +deprecationDescription = $deprecationDescription; + } + public function getDeprecationDescription() + { + return $this->deprecationDescription; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php new file mode 100644 index 00000000..a220199a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnableServiceRequest.php @@ -0,0 +1,30 @@ +consumerId = $consumerId; + } + public function getConsumerId() + { + return $this->consumerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php new file mode 100644 index 00000000..428b6e1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Endpoint.php @@ -0,0 +1,67 @@ +aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setAllowCors($allowCors) + { + $this->allowCors = $allowCors; + } + public function getAllowCors() + { + return $this->allowCors; + } + public function setApis($apis) + { + $this->apis = $apis; + } + public function getApis() + { + return $this->apis; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php new file mode 100644 index 00000000..2791e8f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Enum.php @@ -0,0 +1,70 @@ +enumvalue = $enumvalue; + } + public function getEnumvalue() + { + return $this->enumvalue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php new file mode 100644 index 00000000..50d5d481 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/EnumValue.php @@ -0,0 +1,50 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php new file mode 100644 index 00000000..cd26e618 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Experimental.php @@ -0,0 +1,31 @@ +authorization = $authorization; + } + public function getAuthorization() + { + return $this->authorization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php new file mode 100644 index 00000000..bb7ba6fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Field.php @@ -0,0 +1,113 @@ +cardinality = $cardinality; + } + public function getCardinality() + { + return $this->cardinality; + } + public function setDefaultValue($defaultValue) + { + $this->defaultValue = $defaultValue; + } + public function getDefaultValue() + { + return $this->defaultValue; + } + public function setJsonName($jsonName) + { + $this->jsonName = $jsonName; + } + public function getJsonName() + { + return $this->jsonName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setOneofIndex($oneofIndex) + { + $this->oneofIndex = $oneofIndex; + } + public function getOneofIndex() + { + return $this->oneofIndex; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setPacked($packed) + { + $this->packed = $packed; + } + public function getPacked() + { + return $this->packed; + } + public function setTypeUrl($typeUrl) + { + $this->typeUrl = $typeUrl; + } + public function getTypeUrl() + { + return $this->typeUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php new file mode 100644 index 00000000..69b2b040 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportRequest.php @@ -0,0 +1,39 @@ +newConfig = $newConfig; + } + public function getNewConfig() + { + return $this->newConfig; + } + public function setOldConfig($oldConfig) + { + $this->oldConfig = $oldConfig; + } + public function getOldConfig() + { + return $this->oldConfig; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php new file mode 100644 index 00000000..29f74874 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GenerateConfigReportResponse.php @@ -0,0 +1,60 @@ +changeReports = $changeReports; + } + public function getChangeReports() + { + return $this->changeReports; + } + public function setDiagnostics($diagnostics) + { + $this->diagnostics = $diagnostics; + } + public function getDiagnostics() + { + return $this->diagnostics; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php new file mode 100644 index 00000000..9424ea28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/GetIamPolicyRequest.php @@ -0,0 +1,20 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php new file mode 100644 index 00000000..f020e39c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/HttpRule.php @@ -0,0 +1,134 @@ +additionalBindings = $additionalBindings; + } + public function getAdditionalBindings() + { + return $this->additionalBindings; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCustom(Google_Service_ServiceManagement_CustomHttpPattern $custom) + { + $this->custom = $custom; + } + public function getCustom() + { + return $this->custom; + } + public function setDelete($delete) + { + $this->delete = $delete; + } + public function getDelete() + { + return $this->delete; + } + public function setGet($get) + { + $this->get = $get; + } + public function getGet() + { + return $this->get; + } + public function setMediaDownload(Google_Service_ServiceManagement_MediaDownload $mediaDownload) + { + $this->mediaDownload = $mediaDownload; + } + public function getMediaDownload() + { + return $this->mediaDownload; + } + public function setMediaUpload(Google_Service_ServiceManagement_MediaUpload $mediaUpload) + { + $this->mediaUpload = $mediaUpload; + } + public function getMediaUpload() + { + return $this->mediaUpload; + } + public function setPatch($patch) + { + $this->patch = $patch; + } + public function getPatch() + { + return $this->patch; + } + public function setPost($post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPut($put) + { + $this->put = $put; + } + public function getPut() + { + return $this->put; + } + public function setResponseBody($responseBody) + { + $this->responseBody = $responseBody; + } + public function getResponseBody() + { + return $this->responseBody; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php new file mode 100644 index 00000000..82d3f600 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LabelDescriptor.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php new file mode 100644 index 00000000..0065fb0b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php new file mode 100644 index 00000000..cb40067c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceConfigsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setServiceConfigs($serviceConfigs) + { + $this->serviceConfigs = $serviceConfigs; + } + public function getServiceConfigs() + { + return $this->serviceConfigs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php new file mode 100644 index 00000000..f3362657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServiceRolloutsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRollouts($rollouts) + { + $this->rollouts = $rollouts; + } + public function getRollouts() + { + return $this->rollouts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php new file mode 100644 index 00000000..d71d5236 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ListServicesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php new file mode 100644 index 00000000..e56803a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogConfig.php @@ -0,0 +1,51 @@ +cloudAudit = $cloudAudit; + } + public function getCloudAudit() + { + return $this->cloudAudit; + } + public function setCounter(Google_Service_ServiceManagement_CounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } + public function setDataAccess(Google_Service_ServiceManagement_DataAccessOptions $dataAccess) + { + $this->dataAccess = $dataAccess; + } + public function getDataAccess() + { + return $this->dataAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php new file mode 100644 index 00000000..6c1f9bac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LogDescriptor.php @@ -0,0 +1,59 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php new file mode 100644 index 00000000..6fb5798a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Logging.php @@ -0,0 +1,42 @@ +consumerDestinations = $consumerDestinations; + } + public function getConsumerDestinations() + { + return $this->consumerDestinations; + } + public function setProducerDestinations($producerDestinations) + { + $this->producerDestinations = $producerDestinations; + } + public function getProducerDestinations() + { + return $this->producerDestinations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php new file mode 100644 index 00000000..9a2138c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/LoggingDestination.php @@ -0,0 +1,40 @@ +logs = $logs; + } + public function getLogs() + { + return $this->logs; + } + public function setMonitoredResource($monitoredResource) + { + $this->monitoredResource = $monitoredResource; + } + public function getMonitoredResource() + { + return $this->monitoredResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php new file mode 100644 index 00000000..4f15460e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/ManagedService.php @@ -0,0 +1,39 @@ +producerProjectId = $producerProjectId; + } + public function getProducerProjectId() + { + return $this->producerProjectId; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php new file mode 100644 index 00000000..864a9a78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaDownload.php @@ -0,0 +1,39 @@ +downloadService = $downloadService; + } + public function getDownloadService() + { + return $this->downloadService; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php new file mode 100644 index 00000000..467cabef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MediaUpload.php @@ -0,0 +1,39 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setUploadService($uploadService) + { + $this->uploadService = $uploadService; + } + public function getUploadService() + { + return $this->uploadService; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php new file mode 100644 index 00000000..c1e6a66f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Method.php @@ -0,0 +1,86 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setRequestStreaming($requestStreaming) + { + $this->requestStreaming = $requestStreaming; + } + public function getRequestStreaming() + { + return $this->requestStreaming; + } + public function setRequestTypeUrl($requestTypeUrl) + { + $this->requestTypeUrl = $requestTypeUrl; + } + public function getRequestTypeUrl() + { + return $this->requestTypeUrl; + } + public function setResponseStreaming($responseStreaming) + { + $this->responseStreaming = $responseStreaming; + } + public function getResponseStreaming() + { + return $this->responseStreaming; + } + public function setResponseTypeUrl($responseTypeUrl) + { + $this->responseTypeUrl = $responseTypeUrl; + } + public function getResponseTypeUrl() + { + return $this->responseTypeUrl; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php new file mode 100644 index 00000000..c269d902 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MetricDescriptor.php @@ -0,0 +1,95 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetricKind($metricKind) + { + $this->metricKind = $metricKind; + } + public function getMetricKind() + { + return $this->metricKind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php new file mode 100644 index 00000000..fd3ed06d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Mixin.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setRoot($root) + { + $this->root = $root; + } + public function getRoot() + { + return $this->root; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php new file mode 100644 index 00000000..8852c0ae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoredResourceDescriptor.php @@ -0,0 +1,68 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php new file mode 100644 index 00000000..fab80287 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Monitoring.php @@ -0,0 +1,42 @@ +consumerDestinations = $consumerDestinations; + } + public function getConsumerDestinations() + { + return $this->consumerDestinations; + } + public function setProducerDestinations($producerDestinations) + { + $this->producerDestinations = $producerDestinations; + } + public function getProducerDestinations() + { + return $this->producerDestinations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php new file mode 100644 index 00000000..06ee909d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/MonitoringDestination.php @@ -0,0 +1,40 @@ +metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setMonitoredResource($monitoredResource) + { + $this->monitoredResource = $monitoredResource; + } + public function getMonitoredResource() + { + return $this->monitoredResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php new file mode 100644 index 00000000..1d75e701 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OAuthRequirements.php @@ -0,0 +1,30 @@ +canonicalScopes = $canonicalScopes; + } + public function getCanonicalScopes() + { + return $this->canonicalScopes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php new file mode 100644 index 00000000..c1e9a914 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_ServiceManagement_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php new file mode 100644 index 00000000..d77bd9de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/OperationMetadata.php @@ -0,0 +1,59 @@ +progressPercentage = $progressPercentage; + } + public function getProgressPercentage() + { + return $this->progressPercentage; + } + public function setResourceNames($resourceNames) + { + $this->resourceNames = $resourceNames; + } + public function getResourceNames() + { + return $this->resourceNames; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php new file mode 100644 index 00000000..00ad2eb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Option.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php new file mode 100644 index 00000000..ab37f03c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Page.php @@ -0,0 +1,50 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubpages($subpages) + { + $this->subpages = $subpages; + } + public function getSubpages() + { + return $this->subpages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php new file mode 100644 index 00000000..5890f138 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php new file mode 100644 index 00000000..0ea5492e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Operations.php @@ -0,0 +1,65 @@ + + * $servicemanagementService = new Google_Service_ServiceManagement(...); + * $operations = $servicemanagementService->operations; + * + */ +class Google_Service_ServiceManagement_Resource_Operations extends Google_Service_Resource +{ + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_ServiceManagement_ListOperationsResponse + */ + public function listOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceManagement_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php new file mode 100644 index 00000000..374aeceb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/Services.php @@ -0,0 +1,265 @@ + + * $servicemanagementService = new Google_Service_ServiceManagement(...); + * $services = $servicemanagementService->services; + * + */ +class Google_Service_ServiceManagement_Resource_Services extends Google_Service_Resource +{ + /** + * Creates a new managed service. Please note one producer project can own no + * more than 20 services. + * + * Operation (services.create) + * + * @param Google_Service_ServiceManagement_ManagedService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function create(Google_Service_ServiceManagement_ManagedService $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Deletes a managed service. This method will change the service to the `Soft- + * Delete` state for 30 days. Within this period, service producers may call + * UndeleteService to restore the service. After 30 days, the service will be + * permanently deleted. + * + * Operation (services.delete) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function delete($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Disables a service for a project, so it can no longer be be used for the + * project. It prevents accidental usage that may cause unexpected billing + * charges or security leaks. + * + * Operation (services.disable) + * + * @param string $serviceName Name of the service to disable. Specifying an + * unknown service name will cause the request to fail. + * @param Google_Service_ServiceManagement_DisableServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function disable($serviceName, Google_Service_ServiceManagement_DisableServiceRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('disable', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Enables a service for a project, so it can be used for the project. See + * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more + * information. + * + * Operation (services.enable) + * + * @param string $serviceName Name of the service to enable. Specifying an + * unknown service name will cause the request to fail. + * @param Google_Service_ServiceManagement_EnableServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function enable($serviceName, Google_Service_ServiceManagement_EnableServiceRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('enable', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Generates and returns a report (errors, warnings and changes from existing + * configurations) associated with GenerateConfigReportRequest.new_value + * + * If GenerateConfigReportRequest.old_value is specified, + * GenerateConfigReportRequest will contain a single ChangeReport based on the + * comparison between GenerateConfigReportRequest.new_value and + * GenerateConfigReportRequest.old_value. If + * GenerateConfigReportRequest.old_value is not specified, this method will + * compare GenerateConfigReportRequest.new_value with the last pushed service + * configuration. (services.generateConfigReport) + * + * @param Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_GenerateConfigReportResponse + */ + public function generateConfigReport(Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('generateConfigReport', array($params), "Google_Service_ServiceManagement_GenerateConfigReportResponse"); + } + /** + * Gets a managed service. Authentication is required unless the service is + * public. (services.get) + * + * @param string $serviceName The name of the service. See the `ServiceManager` + * overview for naming requirements. For example: `example.googleapis.com`. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_ManagedService + */ + public function get($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceManagement_ManagedService"); + } + /** + * Gets a service configuration (version) for a managed service. + * (services.getConfig) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param array $optParams Optional parameters. + * + * @opt_param string configId The id of the service configuration resource. + * @opt_param string view Specifies which parts of the Service Config should be + * returned in the response. + * @return Google_Service_ServiceManagement_Service + */ + public function getConfig($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('getConfig', array($params), "Google_Service_ServiceManagement_Service"); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (services.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_ServiceManagement_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Policy + */ + public function getIamPolicy($resource, Google_Service_ServiceManagement_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_ServiceManagement_Policy"); + } + /** + * Lists managed services. + * + * Returns all public services. For authenticated users, also returns all + * services the calling user has "servicemanagement.services.get" permission + * for. + * + * **BETA:** If the caller specifies the `consumer_id`, it returns only the + * services enabled on the consumer. The `consumer_id` must have the format of + * "project:{PROJECT-ID}". (services.listServices) + * + * @param array $optParams Optional parameters. + * + * @opt_param string consumerId Include services consumed by the specified + * consumer. + * + * The Google Service Management implementation accepts the following forms: - + * project: + * @opt_param string pageToken Token identifying which result to start with; + * returned by a previous list call. + * @opt_param int pageSize Requested size of the next page of data. + * @opt_param string producerProjectId Include services produced by the + * specified project. + * @return Google_Service_ServiceManagement_ListServicesResponse + */ + public function listServices($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServicesResponse"); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (services.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See the operation documentation for the appropriate value for this + * field. + * @param Google_Service_ServiceManagement_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Policy + */ + public function setIamPolicy($resource, Google_Service_ServiceManagement_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_ServiceManagement_Policy"); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware UIs + * and command-line tools, not for authorization checking. This operation may + * "fail open" without warning. (services.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See the operation documentation for the appropriate value + * for this field. + * @param Google_Service_ServiceManagement_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_ServiceManagement_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_ServiceManagement_TestIamPermissionsResponse"); + } + /** + * Revives a previously deleted managed service. The method restores the service + * using the configuration at the time the service was deleted. The target + * service must exist and must have been deleted within the last 30 days. + * + * Operation (services.undelete) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function undelete($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_ServiceManagement_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php new file mode 100644 index 00000000..0dac08dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesConfigs.php @@ -0,0 +1,108 @@ + + * $servicemanagementService = new Google_Service_ServiceManagement(...); + * $configs = $servicemanagementService->configs; + * + */ +class Google_Service_ServiceManagement_Resource_ServicesConfigs extends Google_Service_Resource +{ + /** + * Creates a new service configuration (version) for a managed service. This + * method only stores the service configuration. To roll out the service + * configuration to backend systems please call CreateServiceRollout. + * (configs.create) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param Google_Service_ServiceManagement_Service $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Service + */ + public function create($serviceName, Google_Service_ServiceManagement_Service $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ServiceManagement_Service"); + } + /** + * Gets a service configuration (version) for a managed service. (configs.get) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param string $configId The id of the service configuration resource. + * @param array $optParams Optional parameters. + * + * @opt_param string view Specifies which parts of the Service Config should be + * returned in the response. + * @return Google_Service_ServiceManagement_Service + */ + public function get($serviceName, $configId, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'configId' => $configId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceManagement_Service"); + } + /** + * Lists the history of the service configuration for a managed service, from + * the newest to the oldest. (configs.listServicesConfigs) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token of the page to retrieve. + * @opt_param int pageSize The max number of items to include in the response + * list. + * @return Google_Service_ServiceManagement_ListServiceConfigsResponse + */ + public function listServicesConfigs($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServiceConfigsResponse"); + } + /** + * Creates a new service configuration (version) for a managed service based on + * user-supplied configuration source files (for example: OpenAPI + * Specification). This method stores the source configurations as well as the + * generated service configuration. To rollout the service configuration to + * other services, please call CreateServiceRollout. + * + * Operation (configs.submit) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param Google_Service_ServiceManagement_SubmitConfigSourceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function submit($serviceName, Google_Service_ServiceManagement_SubmitConfigSourceRequest $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params), "Google_Service_ServiceManagement_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php new file mode 100644 index 00000000..c15475d2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Resource/ServicesRollouts.php @@ -0,0 +1,89 @@ + + * $servicemanagementService = new Google_Service_ServiceManagement(...); + * $rollouts = $servicemanagementService->rollouts; + * + */ +class Google_Service_ServiceManagement_Resource_ServicesRollouts extends Google_Service_Resource +{ + /** + * Creates a new service configuration rollout. Based on rollout, the Google + * Service Management will roll out the service configurations to different + * backend services. For example, the logging configuration will be pushed to + * Google Cloud Logging. + * + * Please note that any previous pending and running Rollouts and associated + * Operations will be automatically cancelled so that the latest Rollout will + * not be blocked by previous Rollouts. + * + * Operation (rollouts.create) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param Google_Service_ServiceManagement_Rollout $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Operation + */ + public function create($serviceName, Google_Service_ServiceManagement_Rollout $postBody, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation"); + } + /** + * Gets a service configuration rollout. (rollouts.get) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param string $rolloutId The id of the rollout resource. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceManagement_Rollout + */ + public function get($serviceName, $rolloutId, $optParams = array()) + { + $params = array('serviceName' => $serviceName, 'rolloutId' => $rolloutId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceManagement_Rollout"); + } + /** + * Lists the history of the service configuration rollouts for a managed + * service, from the newest to the oldest. (rollouts.listServicesRollouts) + * + * @param string $serviceName The name of the service. See the [overview + * ](/service-management/overview) for naming requirements. For example: + * `example.googleapis.com`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token of the page to retrieve. + * @opt_param int pageSize The max number of items to include in the response + * list. + * @return Google_Service_ServiceManagement_ListServiceRolloutsResponse + */ + public function listServicesRollouts($serviceName, $optParams = array()) + { + $params = array('serviceName' => $serviceName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceManagement_ListServiceRolloutsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php new file mode 100644 index 00000000..cd465993 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rollout.php @@ -0,0 +1,86 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCreatedBy($createdBy) + { + $this->createdBy = $createdBy; + } + public function getCreatedBy() + { + return $this->createdBy; + } + public function setDeleteServiceStrategy(Google_Service_ServiceManagement_DeleteServiceStrategy $deleteServiceStrategy) + { + $this->deleteServiceStrategy = $deleteServiceStrategy; + } + public function getDeleteServiceStrategy() + { + return $this->deleteServiceStrategy; + } + public function setRolloutId($rolloutId) + { + $this->rolloutId = $rolloutId; + } + public function getRolloutId() + { + return $this->rolloutId; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrafficPercentStrategy(Google_Service_ServiceManagement_TrafficPercentStrategy $trafficPercentStrategy) + { + $this->trafficPercentStrategy = $trafficPercentStrategy; + } + public function getTrafficPercentStrategy() + { + return $this->trafficPercentStrategy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php new file mode 100644 index 00000000..e31e5b43 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIn($in) + { + $this->in = $in; + } + public function getIn() + { + return $this->in; + } + public function setLogConfig($logConfig) + { + $this->logConfig = $logConfig; + } + public function getLogConfig() + { + return $this->logConfig; + } + public function setNotIn($notIn) + { + $this->notIn = $notIn; + } + public function getNotIn() + { + return $this->notIn; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php new file mode 100644 index 00000000..ee4dfa99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php @@ -0,0 +1,287 @@ +apis = $apis; + } + public function getApis() + { + return $this->apis; + } + public function setAuthentication(Google_Service_ServiceManagement_Authentication $authentication) + { + $this->authentication = $authentication; + } + public function getAuthentication() + { + return $this->authentication; + } + public function setBackend(Google_Service_ServiceManagement_Backend $backend) + { + $this->backend = $backend; + } + public function getBackend() + { + return $this->backend; + } + public function setConfigVersion($configVersion) + { + $this->configVersion = $configVersion; + } + public function getConfigVersion() + { + return $this->configVersion; + } + public function setContext(Google_Service_ServiceManagement_Context $context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setControl(Google_Service_ServiceManagement_Control $control) + { + $this->control = $control; + } + public function getControl() + { + return $this->control; + } + public function setCustomError(Google_Service_ServiceManagement_CustomError $customError) + { + $this->customError = $customError; + } + public function getCustomError() + { + return $this->customError; + } + public function setDocumentation(Google_Service_ServiceManagement_Documentation $documentation) + { + $this->documentation = $documentation; + } + public function getDocumentation() + { + return $this->documentation; + } + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setEnums($enums) + { + $this->enums = $enums; + } + public function getEnums() + { + return $this->enums; + } + public function setExperimental(Google_Service_ServiceManagement_Experimental $experimental) + { + $this->experimental = $experimental; + } + public function getExperimental() + { + return $this->experimental; + } + public function setHttp(Google_Service_ServiceManagement_Http $http) + { + $this->http = $http; + } + public function getHttp() + { + return $this->http; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLogging(Google_Service_ServiceManagement_Logging $logging) + { + $this->logging = $logging; + } + public function getLogging() + { + return $this->logging; + } + public function setLogs($logs) + { + $this->logs = $logs; + } + public function getLogs() + { + return $this->logs; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setMonitoredResources($monitoredResources) + { + $this->monitoredResources = $monitoredResources; + } + public function getMonitoredResources() + { + return $this->monitoredResources; + } + public function setMonitoring(Google_Service_ServiceManagement_Monitoring $monitoring) + { + $this->monitoring = $monitoring; + } + public function getMonitoring() + { + return $this->monitoring; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProducerProjectId($producerProjectId) + { + $this->producerProjectId = $producerProjectId; + } + public function getProducerProjectId() + { + return $this->producerProjectId; + } + public function setSourceInfo(Google_Service_ServiceManagement_SourceInfo $sourceInfo) + { + $this->sourceInfo = $sourceInfo; + } + public function getSourceInfo() + { + return $this->sourceInfo; + } + public function setSystemParameters(Google_Service_ServiceManagement_SystemParameters $systemParameters) + { + $this->systemParameters = $systemParameters; + } + public function getSystemParameters() + { + return $this->systemParameters; + } + public function setSystemTypes($systemTypes) + { + $this->systemTypes = $systemTypes; + } + public function getSystemTypes() + { + return $this->systemTypes; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } + public function setUsage(Google_Service_ServiceManagement_Usage $usage) + { + $this->usage = $usage; + } + public function getUsage() + { + return $this->usage; + } + public function setVisibility(Google_Service_ServiceManagement_Visibility $visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php new file mode 100644 index 00000000..fba45ae7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SetIamPolicyRequest.php @@ -0,0 +1,40 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php new file mode 100644 index 00000000..523a21c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceContext.php @@ -0,0 +1,30 @@ +fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php new file mode 100644 index 00000000..8432cf17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SourceInfo.php @@ -0,0 +1,31 @@ +sourceFiles = $sourceFiles; + } + public function getSourceFiles() + { + return $this->sourceFiles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php new file mode 100644 index 00000000..11e63b3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php new file mode 100644 index 00000000..18687c7e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Step.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php new file mode 100644 index 00000000..e8069c5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceRequest.php @@ -0,0 +1,40 @@ +configSource = $configSource; + } + public function getConfigSource() + { + return $this->configSource; + } + public function setValidateOnly($validateOnly) + { + $this->validateOnly = $validateOnly; + } + public function getValidateOnly() + { + return $this->validateOnly; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php new file mode 100644 index 00000000..8b89f21f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SubmitConfigSourceResponse.php @@ -0,0 +1,31 @@ +serviceConfig = $serviceConfig; + } + public function getServiceConfig() + { + return $this->serviceConfig; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php new file mode 100644 index 00000000..0c5421c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameter.php @@ -0,0 +1,48 @@ +httpHeader = $httpHeader; + } + public function getHttpHeader() + { + return $this->httpHeader; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrlQueryParameter($urlQueryParameter) + { + $this->urlQueryParameter = $urlQueryParameter; + } + public function getUrlQueryParameter() + { + return $this->urlQueryParameter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php new file mode 100644 index 00000000..7d8b879c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameterRule.php @@ -0,0 +1,41 @@ +parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php new file mode 100644 index 00000000..9e4a8b02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/SystemParameters.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php new file mode 100644 index 00000000..c98630ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php new file mode 100644 index 00000000..26dabfb9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php new file mode 100644 index 00000000..8dd7f83d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/TrafficPercentStrategy.php @@ -0,0 +1,30 @@ +percentages = $percentages; + } + public function getPercentages() + { + return $this->percentages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php new file mode 100644 index 00000000..7174f5fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Type.php @@ -0,0 +1,79 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOneofs($oneofs) + { + $this->oneofs = $oneofs; + } + public function getOneofs() + { + return $this->oneofs; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php new file mode 100644 index 00000000..2344c234 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UndeleteServiceResponse.php @@ -0,0 +1,31 @@ +service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php new file mode 100644 index 00000000..e2de7ab8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Usage.php @@ -0,0 +1,50 @@ +producerNotificationChannel = $producerNotificationChannel; + } + public function getProducerNotificationChannel() + { + return $this->producerNotificationChannel; + } + public function setRequirements($requirements) + { + $this->requirements = $requirements; + } + public function getRequirements() + { + return $this->requirements; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php new file mode 100644 index 00000000..e87e18bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/UsageRule.php @@ -0,0 +1,39 @@ +allowUnregisteredCalls = $allowUnregisteredCalls; + } + public function getAllowUnregisteredCalls() + { + return $this->allowUnregisteredCalls; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php new file mode 100644 index 00000000..1f34a01b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/Visibility.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php new file mode 100644 index 00000000..a3838e74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceManagement/VisibilityRule.php @@ -0,0 +1,39 @@ +restriction = $restriction; + } + public function getRestriction() + { + return $this->restriction; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php new file mode 100644 index 00000000..9bd67083 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry.php @@ -0,0 +1,221 @@ + + * Manages service endpoints in Service Registry and provides integration with + * DNS for service discovery and name resolution.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ServiceRegistry extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $endpoints; + public $operations; + + /** + * Constructs the internal representation of the ServiceRegistry service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'serviceregistry/alpha/projects/'; + $this->version = 'alpha'; + $this->serviceName = 'serviceregistry'; + + $this->endpoints = new Google_Service_ServiceRegistry_Resource_Endpoints( + $this, + $this->serviceName, + 'endpoints', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/endpoints/{endpoint}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endpoint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/endpoints/{endpoint}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endpoint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/endpoints', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/endpoints', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/endpoints/{endpoint}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endpoint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/endpoints/{endpoint}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endpoint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_ServiceRegistry_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php new file mode 100644 index 00000000..48ebee2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Endpoint.php @@ -0,0 +1,112 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setVisibility(Google_Service_ServiceRegistry_EndpointEndpointVisibility $visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php new file mode 100644 index 00000000..50460aba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointEndpointVisibility.php @@ -0,0 +1,40 @@ +internalDnsName = $internalDnsName; + } + public function getInternalDnsName() + { + return $this->internalDnsName; + } + public function setNetworks($networks) + { + $this->networks = $networks; + } + public function getNetworks() + { + return $this->networks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php new file mode 100644 index 00000000..c4e2e9d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/EndpointsListResponse.php @@ -0,0 +1,41 @@ +endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php new file mode 100644 index 00000000..3548e6e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Operation.php @@ -0,0 +1,231 @@ +clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_ServiceRegistry_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php new file mode 100644 index 00000000..6c39ebeb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationError.php @@ -0,0 +1,32 @@ +errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php new file mode 100644 index 00000000..d4108f12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationErrorErrors.php @@ -0,0 +1,48 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php new file mode 100644 index 00000000..d377edde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarnings.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php new file mode 100644 index 00000000..24bf06a2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationWarningsData.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php new file mode 100644 index 00000000..26e3a5f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/OperationsListResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php new file mode 100644 index 00000000..c5569668 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Endpoints.php @@ -0,0 +1,157 @@ + + * $serviceregistryService = new Google_Service_ServiceRegistry(...); + * $endpoints = $serviceregistryService->endpoints; + * + */ +class Google_Service_ServiceRegistry_Resource_Endpoints extends Google_Service_Resource +{ + /** + * Deletes an endpoint. (endpoints.delete) + * + * @param string $project The project ID for this request. + * @param string $endpoint The name of the endpoint for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Operation + */ + public function delete($project, $endpoint, $optParams = array()) + { + $params = array('project' => $project, 'endpoint' => $endpoint); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_ServiceRegistry_Operation"); + } + /** + * Gets an endpoint. (endpoints.get) + * + * @param string $project The project ID for this request. + * @param string $endpoint The name of the endpoint for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Endpoint + */ + public function get($project, $endpoint, $optParams = array()) + { + $params = array('project' => $project, 'endpoint' => $endpoint); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceRegistry_Endpoint"); + } + /** + * Creates an endpoint. (endpoints.insert) + * + * @param string $project The project ID for this request. + * @param Google_Service_ServiceRegistry_Endpoint $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Operation + */ + public function insert($project, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ServiceRegistry_Operation"); + } + /** + * Lists endpoints for a project. (endpoints.listEndpoints) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: When filtering in the Beta API, you can also + * filter on nested fields. For example, you could filter on instances that have + * set the scheduling.automaticRestart field to true. Use filtering on nested + * fields to take advantage of labels to organize and search for results based + * on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_ServiceRegistry_EndpointsListResponse + */ + public function listEndpoints($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceRegistry_EndpointsListResponse"); + } + /** + * Updates an endpoint. This method supports patch semantics. (endpoints.patch) + * + * @param string $project The project ID for this request. + * @param string $endpoint The name of the endpoint for this request. + * @param Google_Service_ServiceRegistry_Endpoint $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Operation + */ + public function patch($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array()) + { + $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ServiceRegistry_Operation"); + } + /** + * Updates an endpoint. (endpoints.update) + * + * @param string $project The project ID for this request. + * @param string $endpoint The name of the endpoint for this request. + * @param Google_Service_ServiceRegistry_Endpoint $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Operation + */ + public function update($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array()) + { + $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ServiceRegistry_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php new file mode 100644 index 00000000..17467cfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceRegistry/Resource/Operations.php @@ -0,0 +1,99 @@ + + * $serviceregistryService = new Google_Service_ServiceRegistry(...); + * $operations = $serviceregistryService->operations; + * + */ +class Google_Service_ServiceRegistry_Resource_Operations extends Google_Service_Resource +{ + /** + * Gets information about a specific operation. (operations.get) + * + * @param string $project The project ID for this request. + * @param string $operation The name of the operation for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceRegistry_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ServiceRegistry_Operation"); + } + /** + * Lists all operations for a project. (operations.listOperations) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the + * string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the + * literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example- + * instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: When filtering in the Beta API, you can also + * filter on nested fields. For example, you could filter on instances that have + * set the scheduling.automaticRestart field to true. Use filtering on nested + * fields to take advantage of labels to organize and search for results based + * on label values. + * + * The Beta API also supports filtering on multiple expressions by providing + * each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple + * expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + * @opt_param string maxResults The maximum number of results per page that + * should be returned. If the number of available results is larger than + * maxResults, Compute Engine returns a nextPageToken that can be used to get + * the next page of results in subsequent list requests. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Set pageToken to + * the nextPageToken returned by a previous list request to get the next page of + * results. + * @return Google_Service_ServiceRegistry_OperationsListResponse + */ + public function listOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceRegistry_OperationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php new file mode 100644 index 00000000..cf28a691 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser.php @@ -0,0 +1,133 @@ + + * Enables services that service consumers want to use on Google Cloud Platform, + * lists the available or enabled services, or disables services that service + * consumers no longer use.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ServiceUser extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your Google API service configuration. */ + const SERVICE_MANAGEMENT = + "https://www.googleapis.com/auth/service.management"; + + public $projects_services; + public $services; + + /** + * Constructs the internal representation of the ServiceUser service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://serviceuser.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'serviceuser'; + + $this->projects_services = new Google_Service_ServiceUser_Resource_ProjectsServices( + $this, + $this->serviceName, + 'services', + array( + 'methods' => array( + 'disable' => array( + 'path' => 'v1/{+name}:disable', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'enable' => array( + 'path' => 'v1/{+name}:enable', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/services', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->services = new Google_Service_ServiceUser_Resource_Services( + $this, + $this->serviceName, + 'services', + array( + 'methods' => array( + 'search' => array( + 'path' => 'v1/services:search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php new file mode 100644 index 00000000..efd6c8af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Api.php @@ -0,0 +1,89 @@ +methods = $methods; + } + public function getMethods() + { + return $this->methods; + } + public function setMixins($mixins) + { + $this->mixins = $mixins; + } + public function getMixins() + { + return $this->mixins; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php new file mode 100644 index 00000000..75c6e24e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthProvider.php @@ -0,0 +1,57 @@ +audiences = $audiences; + } + public function getAudiences() + { + return $this->audiences; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIssuer($issuer) + { + $this->issuer = $issuer; + } + public function getIssuer() + { + return $this->issuer; + } + public function setJwksUri($jwksUri) + { + $this->jwksUri = $jwksUri; + } + public function getJwksUri() + { + return $this->jwksUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php new file mode 100644 index 00000000..761a094b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthRequirement.php @@ -0,0 +1,39 @@ +audiences = $audiences; + } + public function getAudiences() + { + return $this->audiences; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php new file mode 100644 index 00000000..67d4481e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Authentication.php @@ -0,0 +1,42 @@ +providers = $providers; + } + public function getProviders() + { + return $this->providers; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php new file mode 100644 index 00000000..c0dc5942 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthenticationRule.php @@ -0,0 +1,60 @@ +allowWithoutCredential = $allowWithoutCredential; + } + public function getAllowWithoutCredential() + { + return $this->allowWithoutCredential; + } + public function setOauth(Google_Service_ServiceUser_OAuthRequirements $oauth) + { + $this->oauth = $oauth; + } + public function getOauth() + { + return $this->oauth; + } + public function setRequirements($requirements) + { + $this->requirements = $requirements; + } + public function getRequirements() + { + return $this->requirements; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php new file mode 100644 index 00000000..35f15a00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/AuthorizationConfig.php @@ -0,0 +1,30 @@ +provider = $provider; + } + public function getProvider() + { + return $this->provider; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php new file mode 100644 index 00000000..b42a27ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Backend.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php new file mode 100644 index 00000000..ce56a4e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/BackendRule.php @@ -0,0 +1,48 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDeadline($deadline) + { + $this->deadline = $deadline; + } + public function getDeadline() + { + return $this->deadline; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php new file mode 100644 index 00000000..76023810 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Context.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php new file mode 100644 index 00000000..e6161dae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ContextRule.php @@ -0,0 +1,49 @@ +provided = $provided; + } + public function getProvided() + { + return $this->provided; + } + public function setRequested($requested) + { + $this->requested = $requested; + } + public function getRequested() + { + return $this->requested; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php new file mode 100644 index 00000000..dd4c3583 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Control.php @@ -0,0 +1,30 @@ +environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php new file mode 100644 index 00000000..17c90f0a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomError.php @@ -0,0 +1,41 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php new file mode 100644 index 00000000..ff562edb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomErrorRule.php @@ -0,0 +1,39 @@ +isErrorType = $isErrorType; + } + public function getIsErrorType() + { + return $this->isErrorType; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php new file mode 100644 index 00000000..dc223c90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/CustomHttpPattern.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php new file mode 100644 index 00000000..51d8f336 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DisableServiceRequest.php @@ -0,0 +1,20 @@ +documentationRootUrl = $documentationRootUrl; + } + public function getDocumentationRootUrl() + { + return $this->documentationRootUrl; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } + public function setPages($pages) + { + $this->pages = $pages; + } + public function getPages() + { + return $this->pages; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php new file mode 100644 index 00000000..de4c1a34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/DocumentationRule.php @@ -0,0 +1,48 @@ +deprecationDescription = $deprecationDescription; + } + public function getDeprecationDescription() + { + return $this->deprecationDescription; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php new file mode 100644 index 00000000..cfdab0d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnableServiceRequest.php @@ -0,0 +1,20 @@ +aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setAllowCors($allowCors) + { + $this->allowCors = $allowCors; + } + public function getAllowCors() + { + return $this->allowCors; + } + public function setApis($apis) + { + $this->apis = $apis; + } + public function getApis() + { + return $this->apis; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php new file mode 100644 index 00000000..4d89024d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Enum.php @@ -0,0 +1,70 @@ +enumvalue = $enumvalue; + } + public function getEnumvalue() + { + return $this->enumvalue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php new file mode 100644 index 00000000..9c9ad449 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/EnumValue.php @@ -0,0 +1,50 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php new file mode 100644 index 00000000..93c30ec4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Experimental.php @@ -0,0 +1,31 @@ +authorization = $authorization; + } + public function getAuthorization() + { + return $this->authorization; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php new file mode 100644 index 00000000..6c65173f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Field.php @@ -0,0 +1,113 @@ +cardinality = $cardinality; + } + public function getCardinality() + { + return $this->cardinality; + } + public function setDefaultValue($defaultValue) + { + $this->defaultValue = $defaultValue; + } + public function getDefaultValue() + { + return $this->defaultValue; + } + public function setJsonName($jsonName) + { + $this->jsonName = $jsonName; + } + public function getJsonName() + { + return $this->jsonName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setOneofIndex($oneofIndex) + { + $this->oneofIndex = $oneofIndex; + } + public function getOneofIndex() + { + return $this->oneofIndex; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setPacked($packed) + { + $this->packed = $packed; + } + public function getPacked() + { + return $this->packed; + } + public function setTypeUrl($typeUrl) + { + $this->typeUrl = $typeUrl; + } + public function getTypeUrl() + { + return $this->typeUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php new file mode 100644 index 00000000..462d638d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Http.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php new file mode 100644 index 00000000..c2355e8f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/HttpRule.php @@ -0,0 +1,134 @@ +additionalBindings = $additionalBindings; + } + public function getAdditionalBindings() + { + return $this->additionalBindings; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCustom(Google_Service_ServiceUser_CustomHttpPattern $custom) + { + $this->custom = $custom; + } + public function getCustom() + { + return $this->custom; + } + public function setDelete($delete) + { + $this->delete = $delete; + } + public function getDelete() + { + return $this->delete; + } + public function setGet($get) + { + $this->get = $get; + } + public function getGet() + { + return $this->get; + } + public function setMediaDownload(Google_Service_ServiceUser_MediaDownload $mediaDownload) + { + $this->mediaDownload = $mediaDownload; + } + public function getMediaDownload() + { + return $this->mediaDownload; + } + public function setMediaUpload(Google_Service_ServiceUser_MediaUpload $mediaUpload) + { + $this->mediaUpload = $mediaUpload; + } + public function getMediaUpload() + { + return $this->mediaUpload; + } + public function setPatch($patch) + { + $this->patch = $patch; + } + public function getPatch() + { + return $this->patch; + } + public function setPost($post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPut($put) + { + $this->put = $put; + } + public function getPut() + { + return $this->put; + } + public function setResponseBody($responseBody) + { + $this->responseBody = $responseBody; + } + public function getResponseBody() + { + return $this->responseBody; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php new file mode 100644 index 00000000..f23ef890 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LabelDescriptor.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php new file mode 100644 index 00000000..4cc52d91 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/ListEnabledServicesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php new file mode 100644 index 00000000..1d8fdf4c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LogDescriptor.php @@ -0,0 +1,59 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php new file mode 100644 index 00000000..ff37b8b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Logging.php @@ -0,0 +1,42 @@ +consumerDestinations = $consumerDestinations; + } + public function getConsumerDestinations() + { + return $this->consumerDestinations; + } + public function setProducerDestinations($producerDestinations) + { + $this->producerDestinations = $producerDestinations; + } + public function getProducerDestinations() + { + return $this->producerDestinations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php new file mode 100644 index 00000000..c2361a14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/LoggingDestination.php @@ -0,0 +1,40 @@ +logs = $logs; + } + public function getLogs() + { + return $this->logs; + } + public function setMonitoredResource($monitoredResource) + { + $this->monitoredResource = $monitoredResource; + } + public function getMonitoredResource() + { + return $this->monitoredResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php new file mode 100644 index 00000000..bb320f02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaDownload.php @@ -0,0 +1,39 @@ +downloadService = $downloadService; + } + public function getDownloadService() + { + return $this->downloadService; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php new file mode 100644 index 00000000..e6a58c91 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MediaUpload.php @@ -0,0 +1,39 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setUploadService($uploadService) + { + $this->uploadService = $uploadService; + } + public function getUploadService() + { + return $this->uploadService; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php new file mode 100644 index 00000000..dbc2dea2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Method.php @@ -0,0 +1,86 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setRequestStreaming($requestStreaming) + { + $this->requestStreaming = $requestStreaming; + } + public function getRequestStreaming() + { + return $this->requestStreaming; + } + public function setRequestTypeUrl($requestTypeUrl) + { + $this->requestTypeUrl = $requestTypeUrl; + } + public function getRequestTypeUrl() + { + return $this->requestTypeUrl; + } + public function setResponseStreaming($responseStreaming) + { + $this->responseStreaming = $responseStreaming; + } + public function getResponseStreaming() + { + return $this->responseStreaming; + } + public function setResponseTypeUrl($responseTypeUrl) + { + $this->responseTypeUrl = $responseTypeUrl; + } + public function getResponseTypeUrl() + { + return $this->responseTypeUrl; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php new file mode 100644 index 00000000..7a7e33f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MetricDescriptor.php @@ -0,0 +1,95 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetricKind($metricKind) + { + $this->metricKind = $metricKind; + } + public function getMetricKind() + { + return $this->metricKind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php new file mode 100644 index 00000000..0489f985 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Mixin.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setRoot($root) + { + $this->root = $root; + } + public function getRoot() + { + return $this->root; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php new file mode 100644 index 00000000..fca17b93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoredResourceDescriptor.php @@ -0,0 +1,68 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php new file mode 100644 index 00000000..37c2c670 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Monitoring.php @@ -0,0 +1,42 @@ +consumerDestinations = $consumerDestinations; + } + public function getConsumerDestinations() + { + return $this->consumerDestinations; + } + public function setProducerDestinations($producerDestinations) + { + $this->producerDestinations = $producerDestinations; + } + public function getProducerDestinations() + { + return $this->producerDestinations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php new file mode 100644 index 00000000..b149e4cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/MonitoringDestination.php @@ -0,0 +1,40 @@ +metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setMonitoredResource($monitoredResource) + { + $this->monitoredResource = $monitoredResource; + } + public function getMonitoredResource() + { + return $this->monitoredResource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php new file mode 100644 index 00000000..ce523d55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OAuthRequirements.php @@ -0,0 +1,30 @@ +canonicalScopes = $canonicalScopes; + } + public function getCanonicalScopes() + { + return $this->canonicalScopes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php new file mode 100644 index 00000000..67ef77b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_ServiceUser_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php new file mode 100644 index 00000000..fd5081d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/OperationMetadata.php @@ -0,0 +1,59 @@ +progressPercentage = $progressPercentage; + } + public function getProgressPercentage() + { + return $this->progressPercentage; + } + public function setResourceNames($resourceNames) + { + $this->resourceNames = $resourceNames; + } + public function getResourceNames() + { + return $this->resourceNames; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php new file mode 100644 index 00000000..f6b448d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Option.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php new file mode 100644 index 00000000..2b060a36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Page.php @@ -0,0 +1,50 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubpages($subpages) + { + $this->subpages = $subpages; + } + public function getSubpages() + { + return $this->subpages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php new file mode 100644 index 00000000..04e4c4f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/PublishedService.php @@ -0,0 +1,40 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setService(Google_Service_ServiceUser_Service $service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php new file mode 100644 index 00000000..b8cd2398 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $serviceuserService = new Google_Service_ServiceUser(...); + * $projects = $serviceuserService->projects; + * + */ +class Google_Service_ServiceUser_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php new file mode 100644 index 00000000..df3ce1c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/ProjectsServices.php @@ -0,0 +1,93 @@ + + * $serviceuserService = new Google_Service_ServiceUser(...); + * $services = $serviceuserService->services; + * + */ +class Google_Service_ServiceUser_Resource_ProjectsServices extends Google_Service_Resource +{ + /** + * Disable a service so it can no longer be used with a project. This prevents + * unintended usage that may cause unexpected billing charges or security leaks. + * + * Operation (services.disable) + * + * @param string $name Name of the consumer and the service to disable for that + * consumer. + * + * The Service User implementation accepts the following forms for consumer: - + * "project:" + * + * A valid path would be: - /v1/projects/my- + * project/services/servicemanagement.googleapis.com:disable + * @param Google_Service_ServiceUser_DisableServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceUser_Operation + */ + public function disable($name, Google_Service_ServiceUser_DisableServiceRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('disable', array($params), "Google_Service_ServiceUser_Operation"); + } + /** + * Enable a service so it can be used with a project. See [Cloud Auth + * Guide](https://cloud.google.com/docs/authentication) for more information. + * + * Operation (services.enable) + * + * @param string $name Name of the consumer and the service to enable for that + * consumer. + * + * A valid path would be: - /v1/projects/my- + * project/services/servicemanagement.googleapis.com:enable + * @param Google_Service_ServiceUser_EnableServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ServiceUser_Operation + */ + public function enable($name, Google_Service_ServiceUser_EnableServiceRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('enable', array($params), "Google_Service_ServiceUser_Operation"); + } + /** + * List enabled services for the specified consumer. + * (services.listProjectsServices) + * + * @param string $parent List enabled services for the specified parent. + * + * An example valid parent would be: - projects/my-project + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token identifying which result to start with; + * returned by a previous list call. + * @opt_param int pageSize Requested size of the next page of data. + * @return Google_Service_ServiceUser_ListEnabledServicesResponse + */ + public function listProjectsServices($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ServiceUser_ListEnabledServicesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php new file mode 100644 index 00000000..c3db071f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Resource/Services.php @@ -0,0 +1,48 @@ + + * $serviceuserService = new Google_Service_ServiceUser(...); + * $services = $serviceuserService->services; + * + */ +class Google_Service_ServiceUser_Resource_Services extends Google_Service_Resource +{ + /** + * Search available services. + * + * When no filter is specified, returns all accessible services. For + * authenticated users, also returns all services the calling user has + * "servicemanagement.services.bind" permission for. (services.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token identifying which result to start with; + * returned by a previous list call. + * @opt_param int pageSize Requested size of the next page of data. + * @return Google_Service_ServiceUser_SearchServicesResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_ServiceUser_SearchServicesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php new file mode 100644 index 00000000..4ce9ad9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SearchServicesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php new file mode 100644 index 00000000..1fcc527e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Service.php @@ -0,0 +1,287 @@ +apis = $apis; + } + public function getApis() + { + return $this->apis; + } + public function setAuthentication(Google_Service_ServiceUser_Authentication $authentication) + { + $this->authentication = $authentication; + } + public function getAuthentication() + { + return $this->authentication; + } + public function setBackend(Google_Service_ServiceUser_Backend $backend) + { + $this->backend = $backend; + } + public function getBackend() + { + return $this->backend; + } + public function setConfigVersion($configVersion) + { + $this->configVersion = $configVersion; + } + public function getConfigVersion() + { + return $this->configVersion; + } + public function setContext(Google_Service_ServiceUser_Context $context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setControl(Google_Service_ServiceUser_Control $control) + { + $this->control = $control; + } + public function getControl() + { + return $this->control; + } + public function setCustomError(Google_Service_ServiceUser_CustomError $customError) + { + $this->customError = $customError; + } + public function getCustomError() + { + return $this->customError; + } + public function setDocumentation(Google_Service_ServiceUser_Documentation $documentation) + { + $this->documentation = $documentation; + } + public function getDocumentation() + { + return $this->documentation; + } + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setEnums($enums) + { + $this->enums = $enums; + } + public function getEnums() + { + return $this->enums; + } + public function setExperimental(Google_Service_ServiceUser_Experimental $experimental) + { + $this->experimental = $experimental; + } + public function getExperimental() + { + return $this->experimental; + } + public function setHttp(Google_Service_ServiceUser_Http $http) + { + $this->http = $http; + } + public function getHttp() + { + return $this->http; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLogging(Google_Service_ServiceUser_Logging $logging) + { + $this->logging = $logging; + } + public function getLogging() + { + return $this->logging; + } + public function setLogs($logs) + { + $this->logs = $logs; + } + public function getLogs() + { + return $this->logs; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setMonitoredResources($monitoredResources) + { + $this->monitoredResources = $monitoredResources; + } + public function getMonitoredResources() + { + return $this->monitoredResources; + } + public function setMonitoring(Google_Service_ServiceUser_Monitoring $monitoring) + { + $this->monitoring = $monitoring; + } + public function getMonitoring() + { + return $this->monitoring; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProducerProjectId($producerProjectId) + { + $this->producerProjectId = $producerProjectId; + } + public function getProducerProjectId() + { + return $this->producerProjectId; + } + public function setSourceInfo(Google_Service_ServiceUser_SourceInfo $sourceInfo) + { + $this->sourceInfo = $sourceInfo; + } + public function getSourceInfo() + { + return $this->sourceInfo; + } + public function setSystemParameters(Google_Service_ServiceUser_SystemParameters $systemParameters) + { + $this->systemParameters = $systemParameters; + } + public function getSystemParameters() + { + return $this->systemParameters; + } + public function setSystemTypes($systemTypes) + { + $this->systemTypes = $systemTypes; + } + public function getSystemTypes() + { + return $this->systemTypes; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } + public function setUsage(Google_Service_ServiceUser_Usage $usage) + { + $this->usage = $usage; + } + public function getUsage() + { + return $this->usage; + } + public function setVisibility(Google_Service_ServiceUser_Visibility $visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php new file mode 100644 index 00000000..fb1f7993 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceContext.php @@ -0,0 +1,30 @@ +fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php new file mode 100644 index 00000000..7d77d9e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SourceInfo.php @@ -0,0 +1,31 @@ +sourceFiles = $sourceFiles; + } + public function getSourceFiles() + { + return $this->sourceFiles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php new file mode 100644 index 00000000..2e0b2697 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php new file mode 100644 index 00000000..186d1769 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Step.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php new file mode 100644 index 00000000..80357ba6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameter.php @@ -0,0 +1,48 @@ +httpHeader = $httpHeader; + } + public function getHttpHeader() + { + return $this->httpHeader; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrlQueryParameter($urlQueryParameter) + { + $this->urlQueryParameter = $urlQueryParameter; + } + public function getUrlQueryParameter() + { + return $this->urlQueryParameter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php new file mode 100644 index 00000000..90eeea36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameterRule.php @@ -0,0 +1,41 @@ +parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php new file mode 100644 index 00000000..4a7ee021 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/SystemParameters.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php new file mode 100644 index 00000000..b5b6c763 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Type.php @@ -0,0 +1,79 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOneofs($oneofs) + { + $this->oneofs = $oneofs; + } + public function getOneofs() + { + return $this->oneofs; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext) + { + $this->sourceContext = $sourceContext; + } + public function getSourceContext() + { + return $this->sourceContext; + } + public function setSyntax($syntax) + { + $this->syntax = $syntax; + } + public function getSyntax() + { + return $this->syntax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php new file mode 100644 index 00000000..edbba99a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Usage.php @@ -0,0 +1,50 @@ +producerNotificationChannel = $producerNotificationChannel; + } + public function getProducerNotificationChannel() + { + return $this->producerNotificationChannel; + } + public function setRequirements($requirements) + { + $this->requirements = $requirements; + } + public function getRequirements() + { + return $this->requirements; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php new file mode 100644 index 00000000..488211d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/UsageRule.php @@ -0,0 +1,39 @@ +allowUnregisteredCalls = $allowUnregisteredCalls; + } + public function getAllowUnregisteredCalls() + { + return $this->allowUnregisteredCalls; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php new file mode 100644 index 00000000..02bbd8a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/Visibility.php @@ -0,0 +1,32 @@ +rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php new file mode 100644 index 00000000..89c9a4c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ServiceUser/VisibilityRule.php @@ -0,0 +1,39 @@ +restriction = $restriction; + } + public function getRestriction() + { + return $this->restriction; + } + public function setSelector($selector) + { + $this->selector = $selector; + } + public function getSelector() + { + return $this->selector; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php new file mode 100644 index 00000000..61bd238d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets.php @@ -0,0 +1,297 @@ + + * Reads and writes Google Sheets.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Sheets extends Google_Service +{ + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + /** View and manage your spreadsheets in Google Drive. */ + const SPREADSHEETS = + "https://www.googleapis.com/auth/spreadsheets"; + /** View your Google Spreadsheets. */ + const SPREADSHEETS_READONLY = + "https://www.googleapis.com/auth/spreadsheets.readonly"; + + public $spreadsheets; + public $spreadsheets_sheets; + public $spreadsheets_values; + + /** + * Constructs the internal representation of the Sheets service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://sheets.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v4'; + $this->serviceName = 'sheets'; + + $this->spreadsheets = new Google_Service_Sheets_Resource_Spreadsheets( + $this, + $this->serviceName, + 'spreadsheets', + array( + 'methods' => array( + 'batchUpdate' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}:batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v4/spreadsheets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ranges' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'includeGridData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->spreadsheets_sheets = new Google_Service_Sheets_Resource_SpreadsheetsSheets( + $this, + $this->serviceName, + 'sheets', + array( + 'methods' => array( + 'copyTo' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sheetId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->spreadsheets_values = new Google_Service_Sheets_Resource_SpreadsheetsValues( + $this, + $this->serviceName, + 'values', + array( + 'methods' => array( + 'append' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeValuesInResponse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'responseValueRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'insertDataOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'valueInputOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'responseDateTimeRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'batchClear' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchClear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchGet' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchGet', + 'httpMethod' => 'GET', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'valueRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dateTimeRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ranges' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'majorDimension' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'batchUpdate' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'clear' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'valueRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dateTimeRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'majorDimension' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v4/spreadsheets/{spreadsheetId}/values/{range}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'spreadsheetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'responseValueRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'valueInputOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'responseDateTimeRenderOption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeValuesInResponse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php new file mode 100644 index 00000000..37ebaab0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingRequest.php @@ -0,0 +1,31 @@ +bandedRange = $bandedRange; + } + public function getBandedRange() + { + return $this->bandedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php new file mode 100644 index 00000000..113cf126 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddBandingResponse.php @@ -0,0 +1,31 @@ +bandedRange = $bandedRange; + } + public function getBandedRange() + { + return $this->bandedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php new file mode 100644 index 00000000..2bfa3275 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartRequest.php @@ -0,0 +1,31 @@ +chart = $chart; + } + public function getChart() + { + return $this->chart; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php new file mode 100644 index 00000000..9d3f1302 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddChartResponse.php @@ -0,0 +1,31 @@ +chart = $chart; + } + public function getChart() + { + return $this->chart; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php new file mode 100644 index 00000000..3a182df3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddConditionalFormatRuleRequest.php @@ -0,0 +1,40 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setRule(Google_Service_Sheets_ConditionalFormatRule $rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php new file mode 100644 index 00000000..6128be09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewRequest.php @@ -0,0 +1,31 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php new file mode 100644 index 00000000..590570c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddFilterViewResponse.php @@ -0,0 +1,31 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php new file mode 100644 index 00000000..b13259d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeRequest.php @@ -0,0 +1,31 @@ +namedRange = $namedRange; + } + public function getNamedRange() + { + return $this->namedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php new file mode 100644 index 00000000..67899f1e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddNamedRangeResponse.php @@ -0,0 +1,31 @@ +namedRange = $namedRange; + } + public function getNamedRange() + { + return $this->namedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php new file mode 100644 index 00000000..09d71864 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeRequest.php @@ -0,0 +1,31 @@ +protectedRange = $protectedRange; + } + public function getProtectedRange() + { + return $this->protectedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php new file mode 100644 index 00000000..9cae479a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddProtectedRangeResponse.php @@ -0,0 +1,31 @@ +protectedRange = $protectedRange; + } + public function getProtectedRange() + { + return $this->protectedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php new file mode 100644 index 00000000..fafb3a6c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetRequest.php @@ -0,0 +1,31 @@ +properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php new file mode 100644 index 00000000..bf097025 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AddSheetResponse.php @@ -0,0 +1,31 @@ +properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php new file mode 100644 index 00000000..b4d917a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendCellsRequest.php @@ -0,0 +1,50 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php new file mode 100644 index 00000000..0fcf960c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendDimensionRequest.php @@ -0,0 +1,48 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setLength($length) + { + $this->length = $length; + } + public function getLength() + { + return $this->length; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php new file mode 100644 index 00000000..8c88ac22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AppendValuesResponse.php @@ -0,0 +1,49 @@ +spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setTableRange($tableRange) + { + $this->tableRange = $tableRange; + } + public function getTableRange() + { + return $this->tableRange; + } + public function setUpdates(Google_Service_Sheets_UpdateValuesResponse $updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php new file mode 100644 index 00000000..ef69a642 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoFillRequest.php @@ -0,0 +1,50 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } + public function setSourceAndDestination(Google_Service_Sheets_SourceAndDestination $sourceAndDestination) + { + $this->sourceAndDestination = $sourceAndDestination; + } + public function getSourceAndDestination() + { + return $this->sourceAndDestination; + } + public function setUseAlternateSeries($useAlternateSeries) + { + $this->useAlternateSeries = $useAlternateSeries; + } + public function getUseAlternateSeries() + { + return $this->useAlternateSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php new file mode 100644 index 00000000..acd9caec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/AutoResizeDimensionsRequest.php @@ -0,0 +1,31 @@ +dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php new file mode 100644 index 00000000..c3dfb2f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandedRange.php @@ -0,0 +1,60 @@ +bandedRangeId = $bandedRangeId; + } + public function getBandedRangeId() + { + return $this->bandedRangeId; + } + public function setColumnProperties(Google_Service_Sheets_BandingProperties $columnProperties) + { + $this->columnProperties = $columnProperties; + } + public function getColumnProperties() + { + return $this->columnProperties; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setRowProperties(Google_Service_Sheets_BandingProperties $rowProperties) + { + $this->rowProperties = $rowProperties; + } + public function getRowProperties() + { + return $this->rowProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php new file mode 100644 index 00000000..e146ffcb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BandingProperties.php @@ -0,0 +1,61 @@ +firstBandColor = $firstBandColor; + } + public function getFirstBandColor() + { + return $this->firstBandColor; + } + public function setFooterColor(Google_Service_Sheets_Color $footerColor) + { + $this->footerColor = $footerColor; + } + public function getFooterColor() + { + return $this->footerColor; + } + public function setHeaderColor(Google_Service_Sheets_Color $headerColor) + { + $this->headerColor = $headerColor; + } + public function getHeaderColor() + { + return $this->headerColor; + } + public function setSecondBandColor(Google_Service_Sheets_Color $secondBandColor) + { + $this->secondBandColor = $secondBandColor; + } + public function getSecondBandColor() + { + return $this->secondBandColor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php new file mode 100644 index 00000000..2c2482a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartAxis.php @@ -0,0 +1,49 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php new file mode 100644 index 00000000..4a770999 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartDomain.php @@ -0,0 +1,31 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php new file mode 100644 index 00000000..02080351 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSeries.php @@ -0,0 +1,49 @@ +series = $series; + } + public function getSeries() + { + return $this->series; + } + public function setTargetAxis($targetAxis) + { + $this->targetAxis = $targetAxis; + } + public function getTargetAxis() + { + return $this->targetAxis; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php new file mode 100644 index 00000000..e54738ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicChartSpec.php @@ -0,0 +1,79 @@ +axis = $axis; + } + public function getAxis() + { + return $this->axis; + } + public function setChartType($chartType) + { + $this->chartType = $chartType; + } + public function getChartType() + { + return $this->chartType; + } + public function setDomains($domains) + { + $this->domains = $domains; + } + public function getDomains() + { + return $this->domains; + } + public function setHeaderCount($headerCount) + { + $this->headerCount = $headerCount; + } + public function getHeaderCount() + { + return $this->headerCount; + } + public function setLegendPosition($legendPosition) + { + $this->legendPosition = $legendPosition; + } + public function getLegendPosition() + { + return $this->legendPosition; + } + public function setSeries($series) + { + $this->series = $series; + } + public function getSeries() + { + return $this->series; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php new file mode 100644 index 00000000..b6f46494 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BasicFilter.php @@ -0,0 +1,52 @@ +criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setSortSpecs($sortSpecs) + { + $this->sortSpecs = $sortSpecs; + } + public function getSortSpecs() + { + return $this->sortSpecs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php new file mode 100644 index 00000000..aa48408b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesRequest.php @@ -0,0 +1,31 @@ +ranges = $ranges; + } + public function getRanges() + { + return $this->ranges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php new file mode 100644 index 00000000..f3d5c571 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchClearValuesResponse.php @@ -0,0 +1,40 @@ +clearedRanges = $clearedRanges; + } + public function getClearedRanges() + { + return $this->clearedRanges; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php new file mode 100644 index 00000000..70da92cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchGetValuesResponse.php @@ -0,0 +1,41 @@ +spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setValueRanges($valueRanges) + { + $this->valueRanges = $valueRanges; + } + public function getValueRanges() + { + return $this->valueRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php new file mode 100644 index 00000000..a8547419 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetRequest.php @@ -0,0 +1,59 @@ +includeSpreadsheetInResponse = $includeSpreadsheetInResponse; + } + public function getIncludeSpreadsheetInResponse() + { + return $this->includeSpreadsheetInResponse; + } + public function setRequests($requests) + { + $this->requests = $requests; + } + public function getRequests() + { + return $this->requests; + } + public function setResponseIncludeGridData($responseIncludeGridData) + { + $this->responseIncludeGridData = $responseIncludeGridData; + } + public function getResponseIncludeGridData() + { + return $this->responseIncludeGridData; + } + public function setResponseRanges($responseRanges) + { + $this->responseRanges = $responseRanges; + } + public function getResponseRanges() + { + return $this->responseRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php new file mode 100644 index 00000000..adc77749 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateSpreadsheetResponse.php @@ -0,0 +1,51 @@ +replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setUpdatedSpreadsheet(Google_Service_Sheets_Spreadsheet $updatedSpreadsheet) + { + $this->updatedSpreadsheet = $updatedSpreadsheet; + } + public function getUpdatedSpreadsheet() + { + return $this->updatedSpreadsheet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php new file mode 100644 index 00000000..e7052497 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesRequest.php @@ -0,0 +1,68 @@ +data = $data; + } + public function getData() + { + return $this->data; + } + public function setIncludeValuesInResponse($includeValuesInResponse) + { + $this->includeValuesInResponse = $includeValuesInResponse; + } + public function getIncludeValuesInResponse() + { + return $this->includeValuesInResponse; + } + public function setResponseDateTimeRenderOption($responseDateTimeRenderOption) + { + $this->responseDateTimeRenderOption = $responseDateTimeRenderOption; + } + public function getResponseDateTimeRenderOption() + { + return $this->responseDateTimeRenderOption; + } + public function setResponseValueRenderOption($responseValueRenderOption) + { + $this->responseValueRenderOption = $responseValueRenderOption; + } + public function getResponseValueRenderOption() + { + return $this->responseValueRenderOption; + } + public function setValueInputOption($valueInputOption) + { + $this->valueInputOption = $valueInputOption; + } + public function getValueInputOption() + { + return $this->valueInputOption; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php new file mode 100644 index 00000000..3d9364b4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BatchUpdateValuesResponse.php @@ -0,0 +1,77 @@ +responses = $responses; + } + public function getResponses() + { + return $this->responses; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setTotalUpdatedCells($totalUpdatedCells) + { + $this->totalUpdatedCells = $totalUpdatedCells; + } + public function getTotalUpdatedCells() + { + return $this->totalUpdatedCells; + } + public function setTotalUpdatedColumns($totalUpdatedColumns) + { + $this->totalUpdatedColumns = $totalUpdatedColumns; + } + public function getTotalUpdatedColumns() + { + return $this->totalUpdatedColumns; + } + public function setTotalUpdatedRows($totalUpdatedRows) + { + $this->totalUpdatedRows = $totalUpdatedRows; + } + public function getTotalUpdatedRows() + { + return $this->totalUpdatedRows; + } + public function setTotalUpdatedSheets($totalUpdatedSheets) + { + $this->totalUpdatedSheets = $totalUpdatedSheets; + } + public function getTotalUpdatedSheets() + { + return $this->totalUpdatedSheets; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php new file mode 100644 index 00000000..d180587f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanCondition.php @@ -0,0 +1,41 @@ +type = $type; + } + public function getType() + { + return $this->type; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php new file mode 100644 index 00000000..d24200bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/BooleanRule.php @@ -0,0 +1,41 @@ +condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setFormat(Google_Service_Sheets_CellFormat $format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php new file mode 100644 index 00000000..9ddbfc0e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Border.php @@ -0,0 +1,49 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setStyle($style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php new file mode 100644 index 00000000..46308e90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Borders.php @@ -0,0 +1,61 @@ +bottom = $bottom; + } + public function getBottom() + { + return $this->bottom; + } + public function setLeft(Google_Service_Sheets_Border $left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setRight(Google_Service_Sheets_Border $right) + { + $this->right = $right; + } + public function getRight() + { + return $this->right; + } + public function setTop(Google_Service_Sheets_Border $top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php new file mode 100644 index 00000000..737155c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellData.php @@ -0,0 +1,119 @@ +dataValidation = $dataValidation; + } + public function getDataValidation() + { + return $this->dataValidation; + } + public function setEffectiveFormat(Google_Service_Sheets_CellFormat $effectiveFormat) + { + $this->effectiveFormat = $effectiveFormat; + } + public function getEffectiveFormat() + { + return $this->effectiveFormat; + } + public function setEffectiveValue(Google_Service_Sheets_ExtendedValue $effectiveValue) + { + $this->effectiveValue = $effectiveValue; + } + public function getEffectiveValue() + { + return $this->effectiveValue; + } + public function setFormattedValue($formattedValue) + { + $this->formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setHyperlink($hyperlink) + { + $this->hyperlink = $hyperlink; + } + public function getHyperlink() + { + return $this->hyperlink; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setPivotTable(Google_Service_Sheets_PivotTable $pivotTable) + { + $this->pivotTable = $pivotTable; + } + public function getPivotTable() + { + return $this->pivotTable; + } + public function setTextFormatRuns($textFormatRuns) + { + $this->textFormatRuns = $textFormatRuns; + } + public function getTextFormatRuns() + { + return $this->textFormatRuns; + } + public function setUserEnteredFormat(Google_Service_Sheets_CellFormat $userEnteredFormat) + { + $this->userEnteredFormat = $userEnteredFormat; + } + public function getUserEnteredFormat() + { + return $this->userEnteredFormat; + } + public function setUserEnteredValue(Google_Service_Sheets_ExtendedValue $userEnteredValue) + { + $this->userEnteredValue = $userEnteredValue; + } + public function getUserEnteredValue() + { + return $this->userEnteredValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php new file mode 100644 index 00000000..395fb851 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CellFormat.php @@ -0,0 +1,126 @@ +backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setBorders(Google_Service_Sheets_Borders $borders) + { + $this->borders = $borders; + } + public function getBorders() + { + return $this->borders; + } + public function setHorizontalAlignment($horizontalAlignment) + { + $this->horizontalAlignment = $horizontalAlignment; + } + public function getHorizontalAlignment() + { + return $this->horizontalAlignment; + } + public function setHyperlinkDisplayType($hyperlinkDisplayType) + { + $this->hyperlinkDisplayType = $hyperlinkDisplayType; + } + public function getHyperlinkDisplayType() + { + return $this->hyperlinkDisplayType; + } + public function setNumberFormat(Google_Service_Sheets_NumberFormat $numberFormat) + { + $this->numberFormat = $numberFormat; + } + public function getNumberFormat() + { + return $this->numberFormat; + } + public function setPadding(Google_Service_Sheets_Padding $padding) + { + $this->padding = $padding; + } + public function getPadding() + { + return $this->padding; + } + public function setTextDirection($textDirection) + { + $this->textDirection = $textDirection; + } + public function getTextDirection() + { + return $this->textDirection; + } + public function setTextFormat(Google_Service_Sheets_TextFormat $textFormat) + { + $this->textFormat = $textFormat; + } + public function getTextFormat() + { + return $this->textFormat; + } + public function setTextRotation(Google_Service_Sheets_TextRotation $textRotation) + { + $this->textRotation = $textRotation; + } + public function getTextRotation() + { + return $this->textRotation; + } + public function setVerticalAlignment($verticalAlignment) + { + $this->verticalAlignment = $verticalAlignment; + } + public function getVerticalAlignment() + { + return $this->verticalAlignment; + } + public function setWrapStrategy($wrapStrategy) + { + $this->wrapStrategy = $wrapStrategy; + } + public function getWrapStrategy() + { + return $this->wrapStrategy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php new file mode 100644 index 00000000..c9e96f12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartData.php @@ -0,0 +1,31 @@ +sourceRange = $sourceRange; + } + public function getSourceRange() + { + return $this->sourceRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php new file mode 100644 index 00000000..b8be07ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSourceRange.php @@ -0,0 +1,32 @@ +sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php new file mode 100644 index 00000000..44e0e944 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ChartSpec.php @@ -0,0 +1,59 @@ +basicChart = $basicChart; + } + public function getBasicChart() + { + return $this->basicChart; + } + public function setHiddenDimensionStrategy($hiddenDimensionStrategy) + { + $this->hiddenDimensionStrategy = $hiddenDimensionStrategy; + } + public function getHiddenDimensionStrategy() + { + return $this->hiddenDimensionStrategy; + } + public function setPieChart(Google_Service_Sheets_PieChartSpec $pieChart) + { + $this->pieChart = $pieChart; + } + public function getPieChart() + { + return $this->pieChart; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php new file mode 100644 index 00000000..e76fd116 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearBasicFilterRequest.php @@ -0,0 +1,30 @@ +sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php new file mode 100644 index 00000000..f0d93815 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ClearValuesRequest.php @@ -0,0 +1,20 @@ +clearedRange = $clearedRange; + } + public function getClearedRange() + { + return $this->clearedRange; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php new file mode 100644 index 00000000..bd8732a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Color.php @@ -0,0 +1,57 @@ +alpha = $alpha; + } + public function getAlpha() + { + return $this->alpha; + } + public function setBlue($blue) + { + $this->blue = $blue; + } + public function getBlue() + { + return $this->blue; + } + public function setGreen($green) + { + $this->green = $green; + } + public function getGreen() + { + return $this->green; + } + public function setRed($red) + { + $this->red = $red; + } + public function getRed() + { + return $this->red; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php new file mode 100644 index 00000000..6979ec2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionValue.php @@ -0,0 +1,39 @@ +relativeDate = $relativeDate; + } + public function getRelativeDate() + { + return $this->relativeDate; + } + public function setUserEnteredValue($userEnteredValue) + { + $this->userEnteredValue = $userEnteredValue; + } + public function getUserEnteredValue() + { + return $this->userEnteredValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php new file mode 100644 index 00000000..965429d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ConditionalFormatRule.php @@ -0,0 +1,52 @@ +booleanRule = $booleanRule; + } + public function getBooleanRule() + { + return $this->booleanRule; + } + public function setGradientRule(Google_Service_Sheets_GradientRule $gradientRule) + { + $this->gradientRule = $gradientRule; + } + public function getGradientRule() + { + return $this->gradientRule; + } + public function setRanges($ranges) + { + $this->ranges = $ranges; + } + public function getRanges() + { + return $this->ranges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php new file mode 100644 index 00000000..a0a890ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopyPasteRequest.php @@ -0,0 +1,59 @@ +destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setPasteOrientation($pasteOrientation) + { + $this->pasteOrientation = $pasteOrientation; + } + public function getPasteOrientation() + { + return $this->pasteOrientation; + } + public function setPasteType($pasteType) + { + $this->pasteType = $pasteType; + } + public function getPasteType() + { + return $this->pasteType; + } + public function setSource(Google_Service_Sheets_GridRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php new file mode 100644 index 00000000..13a56b1a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CopySheetToAnotherSpreadsheetRequest.php @@ -0,0 +1,30 @@ +destinationSpreadsheetId = $destinationSpreadsheetId; + } + public function getDestinationSpreadsheetId() + { + return $this->destinationSpreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php new file mode 100644 index 00000000..8e3a2e05 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/CutPasteRequest.php @@ -0,0 +1,50 @@ +destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setPasteType($pasteType) + { + $this->pasteType = $pasteType; + } + public function getPasteType() + { + return $this->pasteType; + } + public function setSource(Google_Service_Sheets_GridRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php new file mode 100644 index 00000000..35aba97d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DataValidationRule.php @@ -0,0 +1,58 @@ +condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setInputMessage($inputMessage) + { + $this->inputMessage = $inputMessage; + } + public function getInputMessage() + { + return $this->inputMessage; + } + public function setShowCustomUi($showCustomUi) + { + $this->showCustomUi = $showCustomUi; + } + public function getShowCustomUi() + { + return $this->showCustomUi; + } + public function setStrict($strict) + { + $this->strict = $strict; + } + public function getStrict() + { + return $this->strict; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php new file mode 100644 index 00000000..71463ac3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteBandingRequest.php @@ -0,0 +1,30 @@ +bandedRangeId = $bandedRangeId; + } + public function getBandedRangeId() + { + return $this->bandedRangeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php new file mode 100644 index 00000000..971327a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleRequest.php @@ -0,0 +1,39 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php new file mode 100644 index 00000000..414f9c9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteConditionalFormatRuleResponse.php @@ -0,0 +1,31 @@ +rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php new file mode 100644 index 00000000..e0c79491 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteDimensionRequest.php @@ -0,0 +1,31 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php new file mode 100644 index 00000000..9a056420 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteEmbeddedObjectRequest.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php new file mode 100644 index 00000000..0be66871 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteFilterViewRequest.php @@ -0,0 +1,30 @@ +filterId = $filterId; + } + public function getFilterId() + { + return $this->filterId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php new file mode 100644 index 00000000..1296fbce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteNamedRangeRequest.php @@ -0,0 +1,30 @@ +namedRangeId = $namedRangeId; + } + public function getNamedRangeId() + { + return $this->namedRangeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php new file mode 100644 index 00000000..cf375b7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteProtectedRangeRequest.php @@ -0,0 +1,30 @@ +protectedRangeId = $protectedRangeId; + } + public function getProtectedRangeId() + { + return $this->protectedRangeId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php new file mode 100644 index 00000000..d90b01da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteRangeRequest.php @@ -0,0 +1,40 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } + public function setShiftDimension($shiftDimension) + { + $this->shiftDimension = $shiftDimension; + } + public function getShiftDimension() + { + return $this->shiftDimension; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php new file mode 100644 index 00000000..3ac8ffac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DeleteSheetRequest.php @@ -0,0 +1,30 @@ +sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php new file mode 100644 index 00000000..154eb12e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionProperties.php @@ -0,0 +1,48 @@ +hiddenByFilter = $hiddenByFilter; + } + public function getHiddenByFilter() + { + return $this->hiddenByFilter; + } + public function setHiddenByUser($hiddenByUser) + { + $this->hiddenByUser = $hiddenByUser; + } + public function getHiddenByUser() + { + return $this->hiddenByUser; + } + public function setPixelSize($pixelSize) + { + $this->pixelSize = $pixelSize; + } + public function getPixelSize() + { + return $this->pixelSize; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php new file mode 100644 index 00000000..b21351a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DimensionRange.php @@ -0,0 +1,57 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setEndIndex($endIndex) + { + $this->endIndex = $endIndex; + } + public function getEndIndex() + { + return $this->endIndex; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php new file mode 100644 index 00000000..c9c1366d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewRequest.php @@ -0,0 +1,30 @@ +filterId = $filterId; + } + public function getFilterId() + { + return $this->filterId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php new file mode 100644 index 00000000..d220cfa7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateFilterViewResponse.php @@ -0,0 +1,31 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php new file mode 100644 index 00000000..80af6214 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetRequest.php @@ -0,0 +1,57 @@ +insertSheetIndex = $insertSheetIndex; + } + public function getInsertSheetIndex() + { + return $this->insertSheetIndex; + } + public function setNewSheetId($newSheetId) + { + $this->newSheetId = $newSheetId; + } + public function getNewSheetId() + { + return $this->newSheetId; + } + public function setNewSheetName($newSheetName) + { + $this->newSheetName = $newSheetName; + } + public function getNewSheetName() + { + return $this->newSheetName; + } + public function setSourceSheetId($sourceSheetId) + { + $this->sourceSheetId = $sourceSheetId; + } + public function getSourceSheetId() + { + return $this->sourceSheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php new file mode 100644 index 00000000..0080c3b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/DuplicateSheetResponse.php @@ -0,0 +1,31 @@ +properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php new file mode 100644 index 00000000..0fd13e5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Editors.php @@ -0,0 +1,49 @@ +domainUsersCanEdit = $domainUsersCanEdit; + } + public function getDomainUsersCanEdit() + { + return $this->domainUsersCanEdit; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php new file mode 100644 index 00000000..e727fb51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedChart.php @@ -0,0 +1,50 @@ +chartId = $chartId; + } + public function getChartId() + { + return $this->chartId; + } + public function setPosition(Google_Service_Sheets_EmbeddedObjectPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setSpec(Google_Service_Sheets_ChartSpec $spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php new file mode 100644 index 00000000..96363fd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/EmbeddedObjectPosition.php @@ -0,0 +1,49 @@ +newSheet = $newSheet; + } + public function getNewSheet() + { + return $this->newSheet; + } + public function setOverlayPosition(Google_Service_Sheets_OverlayPosition $overlayPosition) + { + $this->overlayPosition = $overlayPosition; + } + public function getOverlayPosition() + { + return $this->overlayPosition; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php new file mode 100644 index 00000000..0686b232 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ErrorValue.php @@ -0,0 +1,39 @@ +message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php new file mode 100644 index 00000000..96423d65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ExtendedValue.php @@ -0,0 +1,67 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setErrorValue(Google_Service_Sheets_ErrorValue $errorValue) + { + $this->errorValue = $errorValue; + } + public function getErrorValue() + { + return $this->errorValue; + } + public function setFormulaValue($formulaValue) + { + $this->formulaValue = $formulaValue; + } + public function getFormulaValue() + { + return $this->formulaValue; + } + public function setNumberValue($numberValue) + { + $this->numberValue = $numberValue; + } + public function getNumberValue() + { + return $this->numberValue; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php new file mode 100644 index 00000000..2760f2b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterCriteria.php @@ -0,0 +1,41 @@ +condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setHiddenValues($hiddenValues) + { + $this->hiddenValues = $hiddenValues; + } + public function getHiddenValues() + { + return $this->hiddenValues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php new file mode 100644 index 00000000..0a498f75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FilterView.php @@ -0,0 +1,79 @@ +criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setFilterViewId($filterViewId) + { + $this->filterViewId = $filterViewId; + } + public function getFilterViewId() + { + return $this->filterViewId; + } + public function setNamedRangeId($namedRangeId) + { + $this->namedRangeId = $namedRangeId; + } + public function getNamedRangeId() + { + return $this->namedRangeId; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setSortSpecs($sortSpecs) + { + $this->sortSpecs = $sortSpecs; + } + public function getSortSpecs() + { + return $this->sortSpecs; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php new file mode 100644 index 00000000..73202ce6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceRequest.php @@ -0,0 +1,103 @@ +allSheets = $allSheets; + } + public function getAllSheets() + { + return $this->allSheets; + } + public function setFind($find) + { + $this->find = $find; + } + public function getFind() + { + return $this->find; + } + public function setIncludeFormulas($includeFormulas) + { + $this->includeFormulas = $includeFormulas; + } + public function getIncludeFormulas() + { + return $this->includeFormulas; + } + public function setMatchCase($matchCase) + { + $this->matchCase = $matchCase; + } + public function getMatchCase() + { + return $this->matchCase; + } + public function setMatchEntireCell($matchEntireCell) + { + $this->matchEntireCell = $matchEntireCell; + } + public function getMatchEntireCell() + { + return $this->matchEntireCell; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setReplacement($replacement) + { + $this->replacement = $replacement; + } + public function getReplacement() + { + return $this->replacement; + } + public function setSearchByRegex($searchByRegex) + { + $this->searchByRegex = $searchByRegex; + } + public function getSearchByRegex() + { + return $this->searchByRegex; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php new file mode 100644 index 00000000..119767fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php @@ -0,0 +1,66 @@ +formulasChanged = $formulasChanged; + } + public function getFormulasChanged() + { + return $this->formulasChanged; + } + public function setOccurrencesChanged($occurrencesChanged) + { + $this->occurrencesChanged = $occurrencesChanged; + } + public function getOccurrencesChanged() + { + return $this->occurrencesChanged; + } + public function setRowsChanged($rowsChanged) + { + $this->rowsChanged = $rowsChanged; + } + public function getRowsChanged() + { + return $this->rowsChanged; + } + public function setSheetsChanged($sheetsChanged) + { + $this->sheetsChanged = $sheetsChanged; + } + public function getSheetsChanged() + { + return $this->sheetsChanged; + } + public function setValuesChanged($valuesChanged) + { + $this->valuesChanged = $valuesChanged; + } + public function getValuesChanged() + { + return $this->valuesChanged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php new file mode 100644 index 00000000..f06f9cc6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GradientRule.php @@ -0,0 +1,51 @@ +maxpoint = $maxpoint; + } + public function getMaxpoint() + { + return $this->maxpoint; + } + public function setMidpoint(Google_Service_Sheets_InterpolationPoint $midpoint) + { + $this->midpoint = $midpoint; + } + public function getMidpoint() + { + return $this->midpoint; + } + public function setMinpoint(Google_Service_Sheets_InterpolationPoint $minpoint) + { + $this->minpoint = $minpoint; + } + public function getMinpoint() + { + return $this->minpoint; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php new file mode 100644 index 00000000..c92c07bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridCoordinate.php @@ -0,0 +1,48 @@ +columnIndex = $columnIndex; + } + public function getColumnIndex() + { + return $this->columnIndex; + } + public function setRowIndex($rowIndex) + { + $this->rowIndex = $rowIndex; + } + public function getRowIndex() + { + return $this->rowIndex; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php new file mode 100644 index 00000000..dcf624de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridData.php @@ -0,0 +1,70 @@ +columnMetadata = $columnMetadata; + } + public function getColumnMetadata() + { + return $this->columnMetadata; + } + public function setRowData($rowData) + { + $this->rowData = $rowData; + } + public function getRowData() + { + return $this->rowData; + } + public function setRowMetadata($rowMetadata) + { + $this->rowMetadata = $rowMetadata; + } + public function getRowMetadata() + { + return $this->rowMetadata; + } + public function setStartColumn($startColumn) + { + $this->startColumn = $startColumn; + } + public function getStartColumn() + { + return $this->startColumn; + } + public function setStartRow($startRow) + { + $this->startRow = $startRow; + } + public function getStartRow() + { + return $this->startRow; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php new file mode 100644 index 00000000..b6692ba8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridProperties.php @@ -0,0 +1,66 @@ +columnCount = $columnCount; + } + public function getColumnCount() + { + return $this->columnCount; + } + public function setFrozenColumnCount($frozenColumnCount) + { + $this->frozenColumnCount = $frozenColumnCount; + } + public function getFrozenColumnCount() + { + return $this->frozenColumnCount; + } + public function setFrozenRowCount($frozenRowCount) + { + $this->frozenRowCount = $frozenRowCount; + } + public function getFrozenRowCount() + { + return $this->frozenRowCount; + } + public function setHideGridlines($hideGridlines) + { + $this->hideGridlines = $hideGridlines; + } + public function getHideGridlines() + { + return $this->hideGridlines; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php new file mode 100644 index 00000000..26c47b5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/GridRange.php @@ -0,0 +1,66 @@ +endColumnIndex = $endColumnIndex; + } + public function getEndColumnIndex() + { + return $this->endColumnIndex; + } + public function setEndRowIndex($endRowIndex) + { + $this->endRowIndex = $endRowIndex; + } + public function getEndRowIndex() + { + return $this->endRowIndex; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } + public function setStartColumnIndex($startColumnIndex) + { + $this->startColumnIndex = $startColumnIndex; + } + public function getStartColumnIndex() + { + return $this->startColumnIndex; + } + public function setStartRowIndex($startRowIndex) + { + $this->startRowIndex = $startRowIndex; + } + public function getStartRowIndex() + { + return $this->startRowIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php new file mode 100644 index 00000000..d8c4fb78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertDimensionRequest.php @@ -0,0 +1,40 @@ +inheritFromBefore = $inheritFromBefore; + } + public function getInheritFromBefore() + { + return $this->inheritFromBefore; + } + public function setRange(Google_Service_Sheets_DimensionRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php new file mode 100644 index 00000000..4dace9db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InsertRangeRequest.php @@ -0,0 +1,40 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } + public function setShiftDimension($shiftDimension) + { + $this->shiftDimension = $shiftDimension; + } + public function getShiftDimension() + { + return $this->shiftDimension; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php new file mode 100644 index 00000000..8468334f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/InterpolationPoint.php @@ -0,0 +1,49 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php new file mode 100644 index 00000000..297a42e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/IterativeCalculationSettings.php @@ -0,0 +1,39 @@ +convergenceThreshold = $convergenceThreshold; + } + public function getConvergenceThreshold() + { + return $this->convergenceThreshold; + } + public function setMaxIterations($maxIterations) + { + $this->maxIterations = $maxIterations; + } + public function getMaxIterations() + { + return $this->maxIterations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php new file mode 100644 index 00000000..53a18342 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MergeCellsRequest.php @@ -0,0 +1,40 @@ +mergeType = $mergeType; + } + public function getMergeType() + { + return $this->mergeType; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php new file mode 100644 index 00000000..21b409fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/MoveDimensionRequest.php @@ -0,0 +1,40 @@ +destinationIndex = $destinationIndex; + } + public function getDestinationIndex() + { + return $this->destinationIndex; + } + public function setSource(Google_Service_Sheets_DimensionRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php new file mode 100644 index 00000000..5239c68f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NamedRange.php @@ -0,0 +1,49 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNamedRangeId($namedRangeId) + { + $this->namedRangeId = $namedRangeId; + } + public function getNamedRangeId() + { + return $this->namedRangeId; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php new file mode 100644 index 00000000..52fcbc96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/NumberFormat.php @@ -0,0 +1,39 @@ +pattern = $pattern; + } + public function getPattern() + { + return $this->pattern; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php new file mode 100644 index 00000000..a7916097 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/OverlayPosition.php @@ -0,0 +1,67 @@ +anchorCell = $anchorCell; + } + public function getAnchorCell() + { + return $this->anchorCell; + } + public function setHeightPixels($heightPixels) + { + $this->heightPixels = $heightPixels; + } + public function getHeightPixels() + { + return $this->heightPixels; + } + public function setOffsetXPixels($offsetXPixels) + { + $this->offsetXPixels = $offsetXPixels; + } + public function getOffsetXPixels() + { + return $this->offsetXPixels; + } + public function setOffsetYPixels($offsetYPixels) + { + $this->offsetYPixels = $offsetYPixels; + } + public function getOffsetYPixels() + { + return $this->offsetYPixels; + } + public function setWidthPixels($widthPixels) + { + $this->widthPixels = $widthPixels; + } + public function getWidthPixels() + { + return $this->widthPixels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php new file mode 100644 index 00000000..336a105e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Padding.php @@ -0,0 +1,57 @@ +bottom = $bottom; + } + public function getBottom() + { + return $this->bottom; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setRight($right) + { + $this->right = $right; + } + public function getRight() + { + return $this->right; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php new file mode 100644 index 00000000..877e6d30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PasteDataRequest.php @@ -0,0 +1,67 @@ +coordinate = $coordinate; + } + public function getCoordinate() + { + return $this->coordinate; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDelimiter($delimiter) + { + $this->delimiter = $delimiter; + } + public function getDelimiter() + { + return $this->delimiter; + } + public function setHtml($html) + { + $this->html = $html; + } + public function getHtml() + { + return $this->html; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php new file mode 100644 index 00000000..bca13294 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PieChartSpec.php @@ -0,0 +1,68 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setLegendPosition($legendPosition) + { + $this->legendPosition = $legendPosition; + } + public function getLegendPosition() + { + return $this->legendPosition; + } + public function setPieHole($pieHole) + { + $this->pieHole = $pieHole; + } + public function getPieHole() + { + return $this->pieHole; + } + public function setSeries(Google_Service_Sheets_ChartData $series) + { + $this->series = $series; + } + public function getSeries() + { + return $this->series; + } + public function setThreeDimensional($threeDimensional) + { + $this->threeDimensional = $threeDimensional; + } + public function getThreeDimensional() + { + return $this->threeDimensional; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php new file mode 100644 index 00000000..9d5aa1ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotFilterCriteria.php @@ -0,0 +1,31 @@ +visibleValues = $visibleValues; + } + public function getVisibleValues() + { + return $this->visibleValues; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php new file mode 100644 index 00000000..9f50fa5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroup.php @@ -0,0 +1,69 @@ +showTotals = $showTotals; + } + public function getShowTotals() + { + return $this->showTotals; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } + public function setSourceColumnOffset($sourceColumnOffset) + { + $this->sourceColumnOffset = $sourceColumnOffset; + } + public function getSourceColumnOffset() + { + return $this->sourceColumnOffset; + } + public function setValueBucket(Google_Service_Sheets_PivotGroupSortValueBucket $valueBucket) + { + $this->valueBucket = $valueBucket; + } + public function getValueBucket() + { + return $this->valueBucket; + } + public function setValueMetadata($valueMetadata) + { + $this->valueMetadata = $valueMetadata; + } + public function getValueMetadata() + { + return $this->valueMetadata; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php new file mode 100644 index 00000000..9d3457e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupSortValueBucket.php @@ -0,0 +1,41 @@ +buckets = $buckets; + } + public function getBuckets() + { + return $this->buckets; + } + public function setValuesIndex($valuesIndex) + { + $this->valuesIndex = $valuesIndex; + } + public function getValuesIndex() + { + return $this->valuesIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php new file mode 100644 index 00000000..5b314d29 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotGroupValueMetadata.php @@ -0,0 +1,40 @@ +collapsed = $collapsed; + } + public function getCollapsed() + { + return $this->collapsed; + } + public function setValue(Google_Service_Sheets_ExtendedValue $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php new file mode 100644 index 00000000..3e45f9d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotTable.php @@ -0,0 +1,81 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setCriteria($criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSource(Google_Service_Sheets_GridRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setValueLayout($valueLayout) + { + $this->valueLayout = $valueLayout; + } + public function getValueLayout() + { + return $this->valueLayout; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php new file mode 100644 index 00000000..2e3312be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/PivotValue.php @@ -0,0 +1,57 @@ +formula = $formula; + } + public function getFormula() + { + return $this->formula; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSourceColumnOffset($sourceColumnOffset) + { + $this->sourceColumnOffset = $sourceColumnOffset; + } + public function getSourceColumnOffset() + { + return $this->sourceColumnOffset; + } + public function setSummarizeFunction($summarizeFunction) + { + $this->summarizeFunction = $summarizeFunction; + } + public function getSummarizeFunction() + { + return $this->summarizeFunction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php new file mode 100644 index 00000000..4f3a364f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ProtectedRange.php @@ -0,0 +1,97 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEditors(Google_Service_Sheets_Editors $editors) + { + $this->editors = $editors; + } + public function getEditors() + { + return $this->editors; + } + public function setNamedRangeId($namedRangeId) + { + $this->namedRangeId = $namedRangeId; + } + public function getNamedRangeId() + { + return $this->namedRangeId; + } + public function setProtectedRangeId($protectedRangeId) + { + $this->protectedRangeId = $protectedRangeId; + } + public function getProtectedRangeId() + { + return $this->protectedRangeId; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setRequestingUserCanEdit($requestingUserCanEdit) + { + $this->requestingUserCanEdit = $requestingUserCanEdit; + } + public function getRequestingUserCanEdit() + { + return $this->requestingUserCanEdit; + } + public function setUnprotectedRanges($unprotectedRanges) + { + $this->unprotectedRanges = $unprotectedRanges; + } + public function getUnprotectedRanges() + { + return $this->unprotectedRanges; + } + public function setWarningOnly($warningOnly) + { + $this->warningOnly = $warningOnly; + } + public function getWarningOnly() + { + return $this->warningOnly; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php new file mode 100644 index 00000000..9552256b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RepeatCellRequest.php @@ -0,0 +1,50 @@ +cell = $cell; + } + public function getCell() + { + return $this->cell; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php new file mode 100644 index 00000000..2165967f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Request.php @@ -0,0 +1,511 @@ +addBanding = $addBanding; + } + public function getAddBanding() + { + return $this->addBanding; + } + public function setAddChart(Google_Service_Sheets_AddChartRequest $addChart) + { + $this->addChart = $addChart; + } + public function getAddChart() + { + return $this->addChart; + } + public function setAddConditionalFormatRule(Google_Service_Sheets_AddConditionalFormatRuleRequest $addConditionalFormatRule) + { + $this->addConditionalFormatRule = $addConditionalFormatRule; + } + public function getAddConditionalFormatRule() + { + return $this->addConditionalFormatRule; + } + public function setAddFilterView(Google_Service_Sheets_AddFilterViewRequest $addFilterView) + { + $this->addFilterView = $addFilterView; + } + public function getAddFilterView() + { + return $this->addFilterView; + } + public function setAddNamedRange(Google_Service_Sheets_AddNamedRangeRequest $addNamedRange) + { + $this->addNamedRange = $addNamedRange; + } + public function getAddNamedRange() + { + return $this->addNamedRange; + } + public function setAddProtectedRange(Google_Service_Sheets_AddProtectedRangeRequest $addProtectedRange) + { + $this->addProtectedRange = $addProtectedRange; + } + public function getAddProtectedRange() + { + return $this->addProtectedRange; + } + public function setAddSheet(Google_Service_Sheets_AddSheetRequest $addSheet) + { + $this->addSheet = $addSheet; + } + public function getAddSheet() + { + return $this->addSheet; + } + public function setAppendCells(Google_Service_Sheets_AppendCellsRequest $appendCells) + { + $this->appendCells = $appendCells; + } + public function getAppendCells() + { + return $this->appendCells; + } + public function setAppendDimension(Google_Service_Sheets_AppendDimensionRequest $appendDimension) + { + $this->appendDimension = $appendDimension; + } + public function getAppendDimension() + { + return $this->appendDimension; + } + public function setAutoFill(Google_Service_Sheets_AutoFillRequest $autoFill) + { + $this->autoFill = $autoFill; + } + public function getAutoFill() + { + return $this->autoFill; + } + public function setAutoResizeDimensions(Google_Service_Sheets_AutoResizeDimensionsRequest $autoResizeDimensions) + { + $this->autoResizeDimensions = $autoResizeDimensions; + } + public function getAutoResizeDimensions() + { + return $this->autoResizeDimensions; + } + public function setClearBasicFilter(Google_Service_Sheets_ClearBasicFilterRequest $clearBasicFilter) + { + $this->clearBasicFilter = $clearBasicFilter; + } + public function getClearBasicFilter() + { + return $this->clearBasicFilter; + } + public function setCopyPaste(Google_Service_Sheets_CopyPasteRequest $copyPaste) + { + $this->copyPaste = $copyPaste; + } + public function getCopyPaste() + { + return $this->copyPaste; + } + public function setCutPaste(Google_Service_Sheets_CutPasteRequest $cutPaste) + { + $this->cutPaste = $cutPaste; + } + public function getCutPaste() + { + return $this->cutPaste; + } + public function setDeleteBanding(Google_Service_Sheets_DeleteBandingRequest $deleteBanding) + { + $this->deleteBanding = $deleteBanding; + } + public function getDeleteBanding() + { + return $this->deleteBanding; + } + public function setDeleteConditionalFormatRule(Google_Service_Sheets_DeleteConditionalFormatRuleRequest $deleteConditionalFormatRule) + { + $this->deleteConditionalFormatRule = $deleteConditionalFormatRule; + } + public function getDeleteConditionalFormatRule() + { + return $this->deleteConditionalFormatRule; + } + public function setDeleteDimension(Google_Service_Sheets_DeleteDimensionRequest $deleteDimension) + { + $this->deleteDimension = $deleteDimension; + } + public function getDeleteDimension() + { + return $this->deleteDimension; + } + public function setDeleteEmbeddedObject(Google_Service_Sheets_DeleteEmbeddedObjectRequest $deleteEmbeddedObject) + { + $this->deleteEmbeddedObject = $deleteEmbeddedObject; + } + public function getDeleteEmbeddedObject() + { + return $this->deleteEmbeddedObject; + } + public function setDeleteFilterView(Google_Service_Sheets_DeleteFilterViewRequest $deleteFilterView) + { + $this->deleteFilterView = $deleteFilterView; + } + public function getDeleteFilterView() + { + return $this->deleteFilterView; + } + public function setDeleteNamedRange(Google_Service_Sheets_DeleteNamedRangeRequest $deleteNamedRange) + { + $this->deleteNamedRange = $deleteNamedRange; + } + public function getDeleteNamedRange() + { + return $this->deleteNamedRange; + } + public function setDeleteProtectedRange(Google_Service_Sheets_DeleteProtectedRangeRequest $deleteProtectedRange) + { + $this->deleteProtectedRange = $deleteProtectedRange; + } + public function getDeleteProtectedRange() + { + return $this->deleteProtectedRange; + } + public function setDeleteRange(Google_Service_Sheets_DeleteRangeRequest $deleteRange) + { + $this->deleteRange = $deleteRange; + } + public function getDeleteRange() + { + return $this->deleteRange; + } + public function setDeleteSheet(Google_Service_Sheets_DeleteSheetRequest $deleteSheet) + { + $this->deleteSheet = $deleteSheet; + } + public function getDeleteSheet() + { + return $this->deleteSheet; + } + public function setDuplicateFilterView(Google_Service_Sheets_DuplicateFilterViewRequest $duplicateFilterView) + { + $this->duplicateFilterView = $duplicateFilterView; + } + public function getDuplicateFilterView() + { + return $this->duplicateFilterView; + } + public function setDuplicateSheet(Google_Service_Sheets_DuplicateSheetRequest $duplicateSheet) + { + $this->duplicateSheet = $duplicateSheet; + } + public function getDuplicateSheet() + { + return $this->duplicateSheet; + } + public function setFindReplace(Google_Service_Sheets_FindReplaceRequest $findReplace) + { + $this->findReplace = $findReplace; + } + public function getFindReplace() + { + return $this->findReplace; + } + public function setInsertDimension(Google_Service_Sheets_InsertDimensionRequest $insertDimension) + { + $this->insertDimension = $insertDimension; + } + public function getInsertDimension() + { + return $this->insertDimension; + } + public function setInsertRange(Google_Service_Sheets_InsertRangeRequest $insertRange) + { + $this->insertRange = $insertRange; + } + public function getInsertRange() + { + return $this->insertRange; + } + public function setMergeCells(Google_Service_Sheets_MergeCellsRequest $mergeCells) + { + $this->mergeCells = $mergeCells; + } + public function getMergeCells() + { + return $this->mergeCells; + } + public function setMoveDimension(Google_Service_Sheets_MoveDimensionRequest $moveDimension) + { + $this->moveDimension = $moveDimension; + } + public function getMoveDimension() + { + return $this->moveDimension; + } + public function setPasteData(Google_Service_Sheets_PasteDataRequest $pasteData) + { + $this->pasteData = $pasteData; + } + public function getPasteData() + { + return $this->pasteData; + } + public function setRepeatCell(Google_Service_Sheets_RepeatCellRequest $repeatCell) + { + $this->repeatCell = $repeatCell; + } + public function getRepeatCell() + { + return $this->repeatCell; + } + public function setSetBasicFilter(Google_Service_Sheets_SetBasicFilterRequest $setBasicFilter) + { + $this->setBasicFilter = $setBasicFilter; + } + public function getSetBasicFilter() + { + return $this->setBasicFilter; + } + public function setSetDataValidation(Google_Service_Sheets_SetDataValidationRequest $setDataValidation) + { + $this->setDataValidation = $setDataValidation; + } + public function getSetDataValidation() + { + return $this->setDataValidation; + } + public function setSortRange(Google_Service_Sheets_SortRangeRequest $sortRange) + { + $this->sortRange = $sortRange; + } + public function getSortRange() + { + return $this->sortRange; + } + public function setTextToColumns(Google_Service_Sheets_TextToColumnsRequest $textToColumns) + { + $this->textToColumns = $textToColumns; + } + public function getTextToColumns() + { + return $this->textToColumns; + } + public function setUnmergeCells(Google_Service_Sheets_UnmergeCellsRequest $unmergeCells) + { + $this->unmergeCells = $unmergeCells; + } + public function getUnmergeCells() + { + return $this->unmergeCells; + } + public function setUpdateBanding(Google_Service_Sheets_UpdateBandingRequest $updateBanding) + { + $this->updateBanding = $updateBanding; + } + public function getUpdateBanding() + { + return $this->updateBanding; + } + public function setUpdateBorders(Google_Service_Sheets_UpdateBordersRequest $updateBorders) + { + $this->updateBorders = $updateBorders; + } + public function getUpdateBorders() + { + return $this->updateBorders; + } + public function setUpdateCells(Google_Service_Sheets_UpdateCellsRequest $updateCells) + { + $this->updateCells = $updateCells; + } + public function getUpdateCells() + { + return $this->updateCells; + } + public function setUpdateChartSpec(Google_Service_Sheets_UpdateChartSpecRequest $updateChartSpec) + { + $this->updateChartSpec = $updateChartSpec; + } + public function getUpdateChartSpec() + { + return $this->updateChartSpec; + } + public function setUpdateConditionalFormatRule(Google_Service_Sheets_UpdateConditionalFormatRuleRequest $updateConditionalFormatRule) + { + $this->updateConditionalFormatRule = $updateConditionalFormatRule; + } + public function getUpdateConditionalFormatRule() + { + return $this->updateConditionalFormatRule; + } + public function setUpdateDimensionProperties(Google_Service_Sheets_UpdateDimensionPropertiesRequest $updateDimensionProperties) + { + $this->updateDimensionProperties = $updateDimensionProperties; + } + public function getUpdateDimensionProperties() + { + return $this->updateDimensionProperties; + } + public function setUpdateEmbeddedObjectPosition(Google_Service_Sheets_UpdateEmbeddedObjectPositionRequest $updateEmbeddedObjectPosition) + { + $this->updateEmbeddedObjectPosition = $updateEmbeddedObjectPosition; + } + public function getUpdateEmbeddedObjectPosition() + { + return $this->updateEmbeddedObjectPosition; + } + public function setUpdateFilterView(Google_Service_Sheets_UpdateFilterViewRequest $updateFilterView) + { + $this->updateFilterView = $updateFilterView; + } + public function getUpdateFilterView() + { + return $this->updateFilterView; + } + public function setUpdateNamedRange(Google_Service_Sheets_UpdateNamedRangeRequest $updateNamedRange) + { + $this->updateNamedRange = $updateNamedRange; + } + public function getUpdateNamedRange() + { + return $this->updateNamedRange; + } + public function setUpdateProtectedRange(Google_Service_Sheets_UpdateProtectedRangeRequest $updateProtectedRange) + { + $this->updateProtectedRange = $updateProtectedRange; + } + public function getUpdateProtectedRange() + { + return $this->updateProtectedRange; + } + public function setUpdateSheetProperties(Google_Service_Sheets_UpdateSheetPropertiesRequest $updateSheetProperties) + { + $this->updateSheetProperties = $updateSheetProperties; + } + public function getUpdateSheetProperties() + { + return $this->updateSheetProperties; + } + public function setUpdateSpreadsheetProperties(Google_Service_Sheets_UpdateSpreadsheetPropertiesRequest $updateSpreadsheetProperties) + { + $this->updateSpreadsheetProperties = $updateSpreadsheetProperties; + } + public function getUpdateSpreadsheetProperties() + { + return $this->updateSpreadsheetProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php new file mode 100644 index 00000000..178f97ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/Spreadsheets.php @@ -0,0 +1,106 @@ + + * $sheetsService = new Google_Service_Sheets(...); + * $spreadsheets = $sheetsService->spreadsheets; + * + */ +class Google_Service_Sheets_Resource_Spreadsheets extends Google_Service_Resource +{ + /** + * Applies one or more updates to the spreadsheet. + * + * Each request is validated before being applied. If any request is not valid + * then the entire request will fail and nothing will be applied. + * + * Some requests have replies to give you some information about how they are + * applied. The replies will mirror the requests. For example, if you applied 4 + * updates and the 3rd one had a reply, then the response will have 2 empty + * replies, the actual reply, and another empty reply, in that order. + * + * Due to the collaborative nature of spreadsheets, it is not guaranteed that + * the spreadsheet will reflect exactly your changes after this completes, + * however it is guaranteed that the updates in the request will be applied + * together atomically. Your changes may be altered with respect to collaborator + * changes. If there are no collaborators, the spreadsheet should reflect your + * changes. (spreadsheets.batchUpdate) + * + * @param string $spreadsheetId The spreadsheet to apply the updates to. + * @param Google_Service_Sheets_BatchUpdateSpreadsheetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_BatchUpdateSpreadsheetResponse + */ + public function batchUpdate($spreadsheetId, Google_Service_Sheets_BatchUpdateSpreadsheetRequest $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_Sheets_BatchUpdateSpreadsheetResponse"); + } + /** + * Creates a spreadsheet, returning the newly created spreadsheet. + * (spreadsheets.create) + * + * @param Google_Service_Sheets_Spreadsheet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_Spreadsheet + */ + public function create(Google_Service_Sheets_Spreadsheet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Sheets_Spreadsheet"); + } + /** + * Returns the spreadsheet at the given ID. The caller must specify the + * spreadsheet ID. + * + * By default, data within grids will not be returned. You can include grid data + * one of two ways: + * + * * Specify a field mask listing your desired fields using the `fields` URL + * parameter in HTTP + * + * * Set the includeGridData URL parameter to true. If a field mask is set, the + * `includeGridData` parameter is ignored + * + * For large spreadsheets, it is recommended to retrieve only the specific + * fields of the spreadsheet that you want. + * + * To retrieve only subsets of the spreadsheet, use the ranges URL parameter. + * Multiple ranges can be specified. Limiting the range will return only the + * portions of the spreadsheet that intersect the requested ranges. Ranges are + * specified using A1 notation. (spreadsheets.get) + * + * @param string $spreadsheetId The spreadsheet to request. + * @param array $optParams Optional parameters. + * + * @opt_param string ranges The ranges to retrieve from the spreadsheet. + * @opt_param bool includeGridData True if grid data should be returned. This + * parameter is ignored if a field mask was set in the request. + * @return Google_Service_Sheets_Spreadsheet + */ + public function get($spreadsheetId, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Sheets_Spreadsheet"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php new file mode 100644 index 00000000..5714ae58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsSheets.php @@ -0,0 +1,45 @@ + + * $sheetsService = new Google_Service_Sheets(...); + * $sheets = $sheetsService->sheets; + * + */ +class Google_Service_Sheets_Resource_SpreadsheetsSheets extends Google_Service_Resource +{ + /** + * Copies a single sheet from a spreadsheet to another spreadsheet. Returns the + * properties of the newly created sheet. (sheets.copyTo) + * + * @param string $spreadsheetId The ID of the spreadsheet containing the sheet + * to copy. + * @param int $sheetId The ID of the sheet to copy. + * @param Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_SheetProperties + */ + public function copyTo($spreadsheetId, $sheetId, Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'sheetId' => $sheetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('copyTo', array($params), "Google_Service_Sheets_SheetProperties"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php new file mode 100644 index 00000000..c3482dd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Resource/SpreadsheetsValues.php @@ -0,0 +1,203 @@ + + * $sheetsService = new Google_Service_Sheets(...); + * $values = $sheetsService->values; + * + */ +class Google_Service_Sheets_Resource_SpreadsheetsValues extends Google_Service_Resource +{ + /** + * Appends values to a spreadsheet. The input range is used to search for + * existing data and find a "table" within that range. Values will be appended + * to the next row of the table, starting with the first column of the table. + * See the [guide](/sheets/api/guides/values#appending_values) and [sample + * code](/sheets/api/samples/writing#append_values) for specific details of how + * tables are detected and data is appended. + * + * The caller must specify the spreadsheet ID, range, and a valueInputOption. + * The `valueInputOption` only controls how the input data will be added to the + * sheet (column-wise or row-wise), it does not influence what cell the data + * starts being written to. (values.append) + * + * @param string $spreadsheetId The ID of the spreadsheet to update. + * @param string $range The A1 notation of a range to search for a logical table + * of data. Values will be appended after the last row of the table. + * @param Google_Service_Sheets_ValueRange $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool includeValuesInResponse Determines if the update response + * should include the values of the cells that were appended. By default, + * responses do not include the updated values. + * @opt_param string responseValueRenderOption Determines how values in the + * response should be rendered. The default render option is + * ValueRenderOption.FORMATTED_VALUE. + * @opt_param string insertDataOption How the input data should be inserted. + * @opt_param string valueInputOption How the input data should be interpreted. + * @opt_param string responseDateTimeRenderOption Determines how dates, times, + * and durations in the response should be rendered. This is ignored if + * response_value_render_option is FORMATTED_VALUE. The default dateTime render + * option is [DateTimeRenderOption.SERIAL_NUMBER]. + * @return Google_Service_Sheets_AppendValuesResponse + */ + public function append($spreadsheetId, $range, Google_Service_Sheets_ValueRange $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('append', array($params), "Google_Service_Sheets_AppendValuesResponse"); + } + /** + * Clears one or more ranges of values from a spreadsheet. The caller must + * specify the spreadsheet ID and one or more ranges. Only values are cleared -- + * all other properties of the cell (such as formatting, data validation, etc..) + * are kept. (values.batchClear) + * + * @param string $spreadsheetId The ID of the spreadsheet to update. + * @param Google_Service_Sheets_BatchClearValuesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_BatchClearValuesResponse + */ + public function batchClear($spreadsheetId, Google_Service_Sheets_BatchClearValuesRequest $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchClear', array($params), "Google_Service_Sheets_BatchClearValuesResponse"); + } + /** + * Returns one or more ranges of values from a spreadsheet. The caller must + * specify the spreadsheet ID and one or more ranges. (values.batchGet) + * + * @param string $spreadsheetId The ID of the spreadsheet to retrieve data from. + * @param array $optParams Optional parameters. + * + * @opt_param string valueRenderOption How values should be represented in the + * output. The default render option is ValueRenderOption.FORMATTED_VALUE. + * @opt_param string dateTimeRenderOption How dates, times, and durations should + * be represented in the output. This is ignored if value_render_option is + * FORMATTED_VALUE. The default dateTime render option is + * [DateTimeRenderOption.SERIAL_NUMBER]. + * @opt_param string ranges The A1 notation of the values to retrieve. + * @opt_param string majorDimension The major dimension that results should use. + * + * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then + * requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, + * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + * @return Google_Service_Sheets_BatchGetValuesResponse + */ + public function batchGet($spreadsheetId, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId); + $params = array_merge($params, $optParams); + return $this->call('batchGet', array($params), "Google_Service_Sheets_BatchGetValuesResponse"); + } + /** + * Sets values in one or more ranges of a spreadsheet. The caller must specify + * the spreadsheet ID, a valueInputOption, and one or more ValueRanges. + * (values.batchUpdate) + * + * @param string $spreadsheetId The ID of the spreadsheet to update. + * @param Google_Service_Sheets_BatchUpdateValuesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_BatchUpdateValuesResponse + */ + public function batchUpdate($spreadsheetId, Google_Service_Sheets_BatchUpdateValuesRequest $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_Sheets_BatchUpdateValuesResponse"); + } + /** + * Clears values from a spreadsheet. The caller must specify the spreadsheet ID + * and range. Only values are cleared -- all other properties of the cell (such + * as formatting, data validation, etc..) are kept. (values.clear) + * + * @param string $spreadsheetId The ID of the spreadsheet to update. + * @param string $range The A1 notation of the values to clear. + * @param Google_Service_Sheets_ClearValuesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Sheets_ClearValuesResponse + */ + public function clear($spreadsheetId, $range, Google_Service_Sheets_ClearValuesRequest $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params), "Google_Service_Sheets_ClearValuesResponse"); + } + /** + * Returns a range of values from a spreadsheet. The caller must specify the + * spreadsheet ID and a range. (values.get) + * + * @param string $spreadsheetId The ID of the spreadsheet to retrieve data from. + * @param string $range The A1 notation of the values to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string valueRenderOption How values should be represented in the + * output. The default render option is ValueRenderOption.FORMATTED_VALUE. + * @opt_param string dateTimeRenderOption How dates, times, and durations should + * be represented in the output. This is ignored if value_render_option is + * FORMATTED_VALUE. The default dateTime render option is + * [DateTimeRenderOption.SERIAL_NUMBER]. + * @opt_param string majorDimension The major dimension that results should use. + * + * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then + * requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, + * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + * @return Google_Service_Sheets_ValueRange + */ + public function get($spreadsheetId, $range, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Sheets_ValueRange"); + } + /** + * Sets values in a range of a spreadsheet. The caller must specify the + * spreadsheet ID, range, and a valueInputOption. (values.update) + * + * @param string $spreadsheetId The ID of the spreadsheet to update. + * @param string $range The A1 notation of the values to update. + * @param Google_Service_Sheets_ValueRange $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string responseValueRenderOption Determines how values in the + * response should be rendered. The default render option is + * ValueRenderOption.FORMATTED_VALUE. + * @opt_param string valueInputOption How the input data should be interpreted. + * @opt_param string responseDateTimeRenderOption Determines how dates, times, + * and durations in the response should be rendered. This is ignored if + * response_value_render_option is FORMATTED_VALUE. The default dateTime render + * option is [DateTimeRenderOption.SERIAL_NUMBER]. + * @opt_param bool includeValuesInResponse Determines if the update response + * should include the values of the cells that were updated. By default, + * responses do not include the updated values. If the range to write was larger + * than than the range actually written, the response will include all values in + * the requested range (excluding trailing empty rows and columns). + * @return Google_Service_Sheets_UpdateValuesResponse + */ + public function update($spreadsheetId, $range, Google_Service_Sheets_ValueRange $postBody, $optParams = array()) + { + $params = array('spreadsheetId' => $spreadsheetId, 'range' => $range, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Sheets_UpdateValuesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php new file mode 100644 index 00000000..2b0e0733 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Response.php @@ -0,0 +1,141 @@ +addBanding = $addBanding; + } + public function getAddBanding() + { + return $this->addBanding; + } + public function setAddChart(Google_Service_Sheets_AddChartResponse $addChart) + { + $this->addChart = $addChart; + } + public function getAddChart() + { + return $this->addChart; + } + public function setAddFilterView(Google_Service_Sheets_AddFilterViewResponse $addFilterView) + { + $this->addFilterView = $addFilterView; + } + public function getAddFilterView() + { + return $this->addFilterView; + } + public function setAddNamedRange(Google_Service_Sheets_AddNamedRangeResponse $addNamedRange) + { + $this->addNamedRange = $addNamedRange; + } + public function getAddNamedRange() + { + return $this->addNamedRange; + } + public function setAddProtectedRange(Google_Service_Sheets_AddProtectedRangeResponse $addProtectedRange) + { + $this->addProtectedRange = $addProtectedRange; + } + public function getAddProtectedRange() + { + return $this->addProtectedRange; + } + public function setAddSheet(Google_Service_Sheets_AddSheetResponse $addSheet) + { + $this->addSheet = $addSheet; + } + public function getAddSheet() + { + return $this->addSheet; + } + public function setDeleteConditionalFormatRule(Google_Service_Sheets_DeleteConditionalFormatRuleResponse $deleteConditionalFormatRule) + { + $this->deleteConditionalFormatRule = $deleteConditionalFormatRule; + } + public function getDeleteConditionalFormatRule() + { + return $this->deleteConditionalFormatRule; + } + public function setDuplicateFilterView(Google_Service_Sheets_DuplicateFilterViewResponse $duplicateFilterView) + { + $this->duplicateFilterView = $duplicateFilterView; + } + public function getDuplicateFilterView() + { + return $this->duplicateFilterView; + } + public function setDuplicateSheet(Google_Service_Sheets_DuplicateSheetResponse $duplicateSheet) + { + $this->duplicateSheet = $duplicateSheet; + } + public function getDuplicateSheet() + { + return $this->duplicateSheet; + } + public function setFindReplace(Google_Service_Sheets_FindReplaceResponse $findReplace) + { + $this->findReplace = $findReplace; + } + public function getFindReplace() + { + return $this->findReplace; + } + public function setUpdateConditionalFormatRule(Google_Service_Sheets_UpdateConditionalFormatRuleResponse $updateConditionalFormatRule) + { + $this->updateConditionalFormatRule = $updateConditionalFormatRule; + } + public function getUpdateConditionalFormatRule() + { + return $this->updateConditionalFormatRule; + } + public function setUpdateEmbeddedObjectPosition(Google_Service_Sheets_UpdateEmbeddedObjectPositionResponse $updateEmbeddedObjectPosition) + { + $this->updateEmbeddedObjectPosition = $updateEmbeddedObjectPosition; + } + public function getUpdateEmbeddedObjectPosition() + { + return $this->updateEmbeddedObjectPosition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php new file mode 100644 index 00000000..63a44c67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/RowData.php @@ -0,0 +1,32 @@ +values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php new file mode 100644 index 00000000..86178726 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetBasicFilterRequest.php @@ -0,0 +1,31 @@ +filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php new file mode 100644 index 00000000..d1264bcc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SetDataValidationRequest.php @@ -0,0 +1,41 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } + public function setRule(Google_Service_Sheets_DataValidationRule $rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php new file mode 100644 index 00000000..8f6c92a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Sheet.php @@ -0,0 +1,112 @@ +bandedRanges = $bandedRanges; + } + public function getBandedRanges() + { + return $this->bandedRanges; + } + public function setBasicFilter(Google_Service_Sheets_BasicFilter $basicFilter) + { + $this->basicFilter = $basicFilter; + } + public function getBasicFilter() + { + return $this->basicFilter; + } + public function setCharts($charts) + { + $this->charts = $charts; + } + public function getCharts() + { + return $this->charts; + } + public function setConditionalFormats($conditionalFormats) + { + $this->conditionalFormats = $conditionalFormats; + } + public function getConditionalFormats() + { + return $this->conditionalFormats; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setFilterViews($filterViews) + { + $this->filterViews = $filterViews; + } + public function getFilterViews() + { + return $this->filterViews; + } + public function setMerges($merges) + { + $this->merges = $merges; + } + public function getMerges() + { + return $this->merges; + } + public function setProperties(Google_Service_Sheets_SheetProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setProtectedRanges($protectedRanges) + { + $this->protectedRanges = $protectedRanges; + } + public function getProtectedRanges() + { + return $this->protectedRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php new file mode 100644 index 00000000..e885b969 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SheetProperties.php @@ -0,0 +1,95 @@ +gridProperties = $gridProperties; + } + public function getGridProperties() + { + return $this->gridProperties; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setRightToLeft($rightToLeft) + { + $this->rightToLeft = $rightToLeft; + } + public function getRightToLeft() + { + return $this->rightToLeft; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } + public function setSheetType($sheetType) + { + $this->sheetType = $sheetType; + } + public function getSheetType() + { + return $this->sheetType; + } + public function setTabColor(Google_Service_Sheets_Color $tabColor) + { + $this->tabColor = $tabColor; + } + public function getTabColor() + { + return $this->tabColor; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php new file mode 100644 index 00000000..672ac463 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortRangeRequest.php @@ -0,0 +1,42 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } + public function setSortSpecs($sortSpecs) + { + $this->sortSpecs = $sortSpecs; + } + public function getSortSpecs() + { + return $this->sortSpecs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php new file mode 100644 index 00000000..23ca6643 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SortSpec.php @@ -0,0 +1,39 @@ +dimensionIndex = $dimensionIndex; + } + public function getDimensionIndex() + { + return $this->dimensionIndex; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php new file mode 100644 index 00000000..cc8ba7cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SourceAndDestination.php @@ -0,0 +1,49 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setFillLength($fillLength) + { + $this->fillLength = $fillLength; + } + public function getFillLength() + { + return $this->fillLength; + } + public function setSource(Google_Service_Sheets_GridRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php new file mode 100644 index 00000000..deb06fce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/Spreadsheet.php @@ -0,0 +1,70 @@ +namedRanges = $namedRanges; + } + public function getNamedRanges() + { + return $this->namedRanges; + } + public function setProperties(Google_Service_Sheets_SpreadsheetProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setSheets($sheets) + { + $this->sheets = $sheets; + } + public function getSheets() + { + return $this->sheets; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setSpreadsheetUrl($spreadsheetUrl) + { + $this->spreadsheetUrl = $spreadsheetUrl; + } + public function getSpreadsheetUrl() + { + return $this->spreadsheetUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php new file mode 100644 index 00000000..2b33c488 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/SpreadsheetProperties.php @@ -0,0 +1,77 @@ +autoRecalc = $autoRecalc; + } + public function getAutoRecalc() + { + return $this->autoRecalc; + } + public function setDefaultFormat(Google_Service_Sheets_CellFormat $defaultFormat) + { + $this->defaultFormat = $defaultFormat; + } + public function getDefaultFormat() + { + return $this->defaultFormat; + } + public function setIterativeCalculationSettings(Google_Service_Sheets_IterativeCalculationSettings $iterativeCalculationSettings) + { + $this->iterativeCalculationSettings = $iterativeCalculationSettings; + } + public function getIterativeCalculationSettings() + { + return $this->iterativeCalculationSettings; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php new file mode 100644 index 00000000..c51a1828 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormat.php @@ -0,0 +1,85 @@ +bold = $bold; + } + public function getBold() + { + return $this->bold; + } + public function setFontFamily($fontFamily) + { + $this->fontFamily = $fontFamily; + } + public function getFontFamily() + { + return $this->fontFamily; + } + public function setFontSize($fontSize) + { + $this->fontSize = $fontSize; + } + public function getFontSize() + { + return $this->fontSize; + } + public function setForegroundColor(Google_Service_Sheets_Color $foregroundColor) + { + $this->foregroundColor = $foregroundColor; + } + public function getForegroundColor() + { + return $this->foregroundColor; + } + public function setItalic($italic) + { + $this->italic = $italic; + } + public function getItalic() + { + return $this->italic; + } + public function setStrikethrough($strikethrough) + { + $this->strikethrough = $strikethrough; + } + public function getStrikethrough() + { + return $this->strikethrough; + } + public function setUnderline($underline) + { + $this->underline = $underline; + } + public function getUnderline() + { + return $this->underline; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php new file mode 100644 index 00000000..7ee1c236 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextFormatRun.php @@ -0,0 +1,40 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php new file mode 100644 index 00000000..55f8902f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextRotation.php @@ -0,0 +1,39 @@ +angle = $angle; + } + public function getAngle() + { + return $this->angle; + } + public function setVertical($vertical) + { + $this->vertical = $vertical; + } + public function getVertical() + { + return $this->vertical; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php new file mode 100644 index 00000000..4229cdc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/TextToColumnsRequest.php @@ -0,0 +1,49 @@ +delimiter = $delimiter; + } + public function getDelimiter() + { + return $this->delimiter; + } + public function setDelimiterType($delimiterType) + { + $this->delimiterType = $delimiterType; + } + public function getDelimiterType() + { + return $this->delimiterType; + } + public function setSource(Google_Service_Sheets_GridRange $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php new file mode 100644 index 00000000..c83ddb28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UnmergeCellsRequest.php @@ -0,0 +1,31 @@ +range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php new file mode 100644 index 00000000..f4cea769 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBandingRequest.php @@ -0,0 +1,40 @@ +bandedRange = $bandedRange; + } + public function getBandedRange() + { + return $this->bandedRange; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php new file mode 100644 index 00000000..18b53b3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateBordersRequest.php @@ -0,0 +1,91 @@ +bottom = $bottom; + } + public function getBottom() + { + return $this->bottom; + } + public function setInnerHorizontal(Google_Service_Sheets_Border $innerHorizontal) + { + $this->innerHorizontal = $innerHorizontal; + } + public function getInnerHorizontal() + { + return $this->innerHorizontal; + } + public function setInnerVertical(Google_Service_Sheets_Border $innerVertical) + { + $this->innerVertical = $innerVertical; + } + public function getInnerVertical() + { + return $this->innerVertical; + } + public function setLeft(Google_Service_Sheets_Border $left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setRight(Google_Service_Sheets_Border $right) + { + $this->right = $right; + } + public function getRight() + { + return $this->right; + } + public function setTop(Google_Service_Sheets_Border $top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php new file mode 100644 index 00000000..6d629d30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateCellsRequest.php @@ -0,0 +1,61 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setRange(Google_Service_Sheets_GridRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStart(Google_Service_Sheets_GridCoordinate $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php new file mode 100644 index 00000000..c40fd3fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateChartSpecRequest.php @@ -0,0 +1,40 @@ +chartId = $chartId; + } + public function getChartId() + { + return $this->chartId; + } + public function setSpec(Google_Service_Sheets_ChartSpec $spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php new file mode 100644 index 00000000..10aefd7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleRequest.php @@ -0,0 +1,58 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setNewIndex($newIndex) + { + $this->newIndex = $newIndex; + } + public function getNewIndex() + { + return $this->newIndex; + } + public function setRule(Google_Service_Sheets_ConditionalFormatRule $rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } + public function setSheetId($sheetId) + { + $this->sheetId = $sheetId; + } + public function getSheetId() + { + return $this->sheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php new file mode 100644 index 00000000..3313cdc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateConditionalFormatRuleResponse.php @@ -0,0 +1,59 @@ +newIndex = $newIndex; + } + public function getNewIndex() + { + return $this->newIndex; + } + public function setNewRule(Google_Service_Sheets_ConditionalFormatRule $newRule) + { + $this->newRule = $newRule; + } + public function getNewRule() + { + return $this->newRule; + } + public function setOldIndex($oldIndex) + { + $this->oldIndex = $oldIndex; + } + public function getOldIndex() + { + return $this->oldIndex; + } + public function setOldRule(Google_Service_Sheets_ConditionalFormatRule $oldRule) + { + $this->oldRule = $oldRule; + } + public function getOldRule() + { + return $this->oldRule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php new file mode 100644 index 00000000..b96c8ff0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateDimensionPropertiesRequest.php @@ -0,0 +1,50 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProperties(Google_Service_Sheets_DimensionProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setRange(Google_Service_Sheets_DimensionRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php new file mode 100644 index 00000000..153dccec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setNewPosition(Google_Service_Sheets_EmbeddedObjectPosition $newPosition) + { + $this->newPosition = $newPosition; + } + public function getNewPosition() + { + return $this->newPosition; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php new file mode 100644 index 00000000..e5bbd48d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateEmbeddedObjectPositionResponse.php @@ -0,0 +1,31 @@ +position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php new file mode 100644 index 00000000..7fe57b56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateFilterViewRequest.php @@ -0,0 +1,40 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setFilter(Google_Service_Sheets_FilterView $filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php new file mode 100644 index 00000000..7d9d8890 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateNamedRangeRequest.php @@ -0,0 +1,40 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setNamedRange(Google_Service_Sheets_NamedRange $namedRange) + { + $this->namedRange = $namedRange; + } + public function getNamedRange() + { + return $this->namedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php new file mode 100644 index 00000000..6f5b8327 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateProtectedRangeRequest.php @@ -0,0 +1,40 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProtectedRange(Google_Service_Sheets_ProtectedRange $protectedRange) + { + $this->protectedRange = $protectedRange; + } + public function getProtectedRange() + { + return $this->protectedRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php new file mode 100644 index 00000000..c14acfc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSheetPropertiesRequest.php @@ -0,0 +1,40 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProperties(Google_Service_Sheets_SheetProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php new file mode 100644 index 00000000..1bcea29e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateSpreadsheetPropertiesRequest.php @@ -0,0 +1,40 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProperties(Google_Service_Sheets_SpreadsheetProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php new file mode 100644 index 00000000..46dc85f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/UpdateValuesResponse.php @@ -0,0 +1,76 @@ +spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } + public function setUpdatedCells($updatedCells) + { + $this->updatedCells = $updatedCells; + } + public function getUpdatedCells() + { + return $this->updatedCells; + } + public function setUpdatedColumns($updatedColumns) + { + $this->updatedColumns = $updatedColumns; + } + public function getUpdatedColumns() + { + return $this->updatedColumns; + } + public function setUpdatedData(Google_Service_Sheets_ValueRange $updatedData) + { + $this->updatedData = $updatedData; + } + public function getUpdatedData() + { + return $this->updatedData; + } + public function setUpdatedRange($updatedRange) + { + $this->updatedRange = $updatedRange; + } + public function getUpdatedRange() + { + return $this->updatedRange; + } + public function setUpdatedRows($updatedRows) + { + $this->updatedRows = $updatedRows; + } + public function getUpdatedRows() + { + return $this->updatedRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php new file mode 100644 index 00000000..3bc7a4b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Sheets/ValueRange.php @@ -0,0 +1,49 @@ +majorDimension = $majorDimension; + } + public function getMajorDimension() + { + return $this->majorDimension; + } + public function setRange($range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php new file mode 100644 index 00000000..16f60c56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent.php @@ -0,0 +1,1114 @@ + + * Manages product items, inventory, and Merchant Center accounts for Google + * Shopping.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ShoppingContent extends Google_Service +{ + /** Manage your product listings and accounts for Google Shopping. */ + const CONTENT = + "https://www.googleapis.com/auth/content"; + + public $accounts; + public $accountshipping; + public $accountstatuses; + public $accounttax; + public $datafeeds; + public $datafeedstatuses; + public $inventory; + public $orders; + public $products; + public $productstatuses; + public $shippingsettings; + + /** + * Constructs the internal representation of the ShoppingContent service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'content/v2/'; + $this->version = 'v2'; + $this->serviceName = 'content'; + + $this->accounts = new Google_Service_ShoppingContent_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'authinfo' => array( + 'path' => 'accounts/authinfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'accounts/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->accountshipping = new Google_Service_ShoppingContent_Resource_Accountshipping( + $this, + $this->serviceName, + 'accountshipping', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountshipping/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountshipping', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->accountstatuses = new Google_Service_ShoppingContent_Resource_Accountstatuses( + $this, + $this->serviceName, + 'accountstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/accountstatuses/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounttax = new Google_Service_ShoppingContent_Resource_Accounttax( + $this, + $this->serviceName, + 'accounttax', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accounttax/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounttax', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->datafeeds = new Google_Service_ShoppingContent_Resource_Datafeeds( + $this, + $this->serviceName, + 'datafeeds', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'datafeeds/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->datafeedstatuses = new Google_Service_ShoppingContent_Resource_Datafeedstatuses( + $this, + $this->serviceName, + 'datafeedstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'datafeedstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeedstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->inventory = new Google_Service_ShoppingContent_Resource_Inventory( + $this, + $this->serviceName, + 'inventory', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'inventory/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'set' => array( + 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'storeCode' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->orders = new Google_Service_ShoppingContent_Resource_Orders( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => '{merchantId}/orders/{orderId}/acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'advancetestorder' => array( + 'path' => '{merchantId}/testorders/{orderId}/advance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'cancel' => array( + 'path' => '{merchantId}/orders/{orderId}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'cancellineitem' => array( + 'path' => '{merchantId}/orders/{orderId}/cancelLineItem', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'createtestorder' => array( + 'path' => '{merchantId}/testorders', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'custombatch' => array( + 'path' => 'orders/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/orders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getbymerchantorderid' => array( + 'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'merchantOrderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'gettestordertemplate' => array( + 'path' => '{merchantId}/testordertemplates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledged' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placedDateEnd' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placedDateStart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'statuses' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'refund' => array( + 'path' => '{merchantId}/orders/{orderId}/refund', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'returnlineitem' => array( + 'path' => '{merchantId}/orders/{orderId}/returnLineItem', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'shiplineitems' => array( + 'path' => '{merchantId}/orders/{orderId}/shipLineItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatemerchantorderid' => array( + 'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateshipment' => array( + 'path' => '{merchantId}/orders/{orderId}/updateShipment', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_ShoppingContent_Resource_Products( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'products/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInvalidInsertedItems' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->productstatuses = new Google_Service_ShoppingContent_Resource_Productstatuses( + $this, + $this->serviceName, + 'productstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'productstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/productstatuses/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/productstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInvalidInsertedItems' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->shippingsettings = new Google_Service_ShoppingContent_Resource_Shippingsettings( + $this, + $this->serviceName, + 'shippingsettings', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'shippingsettings/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/shippingsettings/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getsupportedcarriers' => array( + 'path' => '{merchantId}/supportedCarriers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/shippingsettings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/shippingsettings/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/shippingsettings/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php new file mode 100644 index 00000000..818b624f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Account.php @@ -0,0 +1,105 @@ +adultContent = $adultContent; + } + public function getAdultContent() + { + return $this->adultContent; + } + public function setAdwordsLinks($adwordsLinks) + { + $this->adwordsLinks = $adwordsLinks; + } + public function getAdwordsLinks() + { + return $this->adwordsLinks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReviewsUrl($reviewsUrl) + { + $this->reviewsUrl = $reviewsUrl; + } + public function getReviewsUrl() + { + return $this->reviewsUrl; + } + public function setSellerId($sellerId) + { + $this->sellerId = $sellerId; + } + public function getSellerId() + { + return $this->sellerId; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php new file mode 100644 index 00000000..7545618e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountAdwordsLink.php @@ -0,0 +1,39 @@ +adwordsId = $adwordsId; + } + public function getAdwordsId() + { + return $this->adwordsId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php new file mode 100644 index 00000000..79b5ecfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountIdentifier.php @@ -0,0 +1,39 @@ +aggregatorId = $aggregatorId; + } + public function getAggregatorId() + { + return $this->aggregatorId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php new file mode 100644 index 00000000..bd5cceb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShipping.php @@ -0,0 +1,80 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCarrierRates($carrierRates) + { + $this->carrierRates = $carrierRates; + } + public function getCarrierRates() + { + return $this->carrierRates; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocationGroups($locationGroups) + { + $this->locationGroups = $locationGroups; + } + public function getLocationGroups() + { + return $this->locationGroups; + } + public function setRateTables($rateTables) + { + $this->rateTables = $rateTables; + } + public function getRateTables() + { + return $this->rateTables; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php new file mode 100644 index 00000000..e3019122 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCarrierRate.php @@ -0,0 +1,85 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCarrierService($carrierService) + { + $this->carrierService = $carrierService; + } + public function getCarrierService() + { + return $this->carrierService; + } + public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate) + { + $this->modifierFlatRate = $modifierFlatRate; + } + public function getModifierFlatRate() + { + return $this->modifierFlatRate; + } + public function setModifierPercent($modifierPercent) + { + $this->modifierPercent = $modifierPercent; + } + public function getModifierPercent() + { + return $this->modifierPercent; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } + public function setShippingOrigin($shippingOrigin) + { + $this->shippingOrigin = $shippingOrigin; + } + public function getShippingOrigin() + { + return $this->shippingOrigin; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php new file mode 100644 index 00000000..9bd68b91 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingCondition.php @@ -0,0 +1,87 @@ +deliveryLocationGroup = $deliveryLocationGroup; + } + public function getDeliveryLocationGroup() + { + return $this->deliveryLocationGroup; + } + public function setDeliveryLocationId($deliveryLocationId) + { + $this->deliveryLocationId = $deliveryLocationId; + } + public function getDeliveryLocationId() + { + return $this->deliveryLocationId; + } + public function setDeliveryPostalCode($deliveryPostalCode) + { + $this->deliveryPostalCode = $deliveryPostalCode; + } + public function getDeliveryPostalCode() + { + return $this->deliveryPostalCode; + } + public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange) + { + $this->deliveryPostalCodeRange = $deliveryPostalCodeRange; + } + public function getDeliveryPostalCodeRange() + { + return $this->deliveryPostalCodeRange; + } + public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax) + { + $this->priceMax = $priceMax; + } + public function getPriceMax() + { + return $this->priceMax; + } + public function setShippingLabel($shippingLabel) + { + $this->shippingLabel = $shippingLabel; + } + public function getShippingLabel() + { + return $this->shippingLabel; + } + public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax) + { + $this->weightMax = $weightMax; + } + public function getWeightMax() + { + return $this->weightMax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php new file mode 100644 index 00000000..5e0ca75f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingLocationGroup.php @@ -0,0 +1,68 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationIds($locationIds) + { + $this->locationIds = $locationIds; + } + public function getLocationIds() + { + return $this->locationIds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPostalCodeRanges($postalCodeRanges) + { + $this->postalCodeRanges = $postalCodeRanges; + } + public function getPostalCodeRanges() + { + return $this->postalCodeRanges; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php new file mode 100644 index 00000000..d2151ace --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingPostalCodeRange.php @@ -0,0 +1,39 @@ +end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php new file mode 100644 index 00000000..c8b0e177 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTable.php @@ -0,0 +1,50 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php new file mode 100644 index 00000000..543395d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingRateTableCell.php @@ -0,0 +1,41 @@ +condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setRate(Google_Service_ShoppingContent_Price $rate) + { + $this->rate = $rate; + } + public function getRate() + { + return $this->rate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php new file mode 100644 index 00000000..555ef16e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingService.php @@ -0,0 +1,86 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod) + { + $this->calculationMethod = $calculationMethod; + } + public function getCalculationMethod() + { + return $this->calculationMethod; + } + public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree) + { + $this->costRuleTree = $costRuleTree; + } + public function getCostRuleTree() + { + return $this->costRuleTree; + } + public function setMaxDaysInTransit($maxDaysInTransit) + { + $this->maxDaysInTransit = $maxDaysInTransit; + } + public function getMaxDaysInTransit() + { + return $this->maxDaysInTransit; + } + public function setMinDaysInTransit($minDaysInTransit) + { + $this->minDaysInTransit = $minDaysInTransit; + } + public function getMinDaysInTransit() + { + return $this->minDaysInTransit; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php new file mode 100644 index 00000000..3540f418 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCalculationMethod.php @@ -0,0 +1,67 @@ +carrierRate = $carrierRate; + } + public function getCarrierRate() + { + return $this->carrierRate; + } + public function setExcluded($excluded) + { + $this->excluded = $excluded; + } + public function getExcluded() + { + return $this->excluded; + } + public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate) + { + $this->flatRate = $flatRate; + } + public function getFlatRate() + { + return $this->flatRate; + } + public function setPercentageRate($percentageRate) + { + $this->percentageRate = $percentageRate; + } + public function getPercentageRate() + { + return $this->percentageRate; + } + public function setRateTable($rateTable) + { + $this->rateTable = $rateTable; + } + public function getRateTable() + { + return $this->rateTable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php new file mode 100644 index 00000000..cef52308 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountShippingShippingServiceCostRule.php @@ -0,0 +1,52 @@ +calculationMethod = $calculationMethod; + } + public function getCalculationMethod() + { + return $this->calculationMethod; + } + public function setChildren($children) + { + $this->children = $children; + } + public function getChildren() + { + return $this->children; + } + public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php new file mode 100644 index 00000000..36fbb5d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatus.php @@ -0,0 +1,50 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setDataQualityIssues($dataQualityIssues) + { + $this->dataQualityIssues = $dataQualityIssues; + } + public function getDataQualityIssues() + { + return $this->dataQualityIssues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php new file mode 100644 index 00000000..300fd262 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusDataQualityIssue.php @@ -0,0 +1,113 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDetail($detail) + { + $this->detail = $detail; + } + public function getDetail() + { + return $this->detail; + } + public function setDisplayedValue($displayedValue) + { + $this->displayedValue = $displayedValue; + } + public function getDisplayedValue() + { + return $this->displayedValue; + } + public function setExampleItems($exampleItems) + { + $this->exampleItems = $exampleItems; + } + public function getExampleItems() + { + return $this->exampleItems; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastChecked($lastChecked) + { + $this->lastChecked = $lastChecked; + } + public function getLastChecked() + { + return $this->lastChecked; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNumItems($numItems) + { + $this->numItems = $numItems; + } + public function getNumItems() + { + return $this->numItems; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSubmittedValue($submittedValue) + { + $this->submittedValue = $submittedValue; + } + public function getSubmittedValue() + { + return $this->submittedValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php new file mode 100644 index 00000000..f8a5b560 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusExampleItem.php @@ -0,0 +1,66 @@ +itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setSubmittedValue($submittedValue) + { + $this->submittedValue = $submittedValue; + } + public function getSubmittedValue() + { + return $this->submittedValue; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setValueOnLandingPage($valueOnLandingPage) + { + $this->valueOnLandingPage = $valueOnLandingPage; + } + public function getValueOnLandingPage() + { + return $this->valueOnLandingPage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php new file mode 100644 index 00000000..a1fd005c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTax.php @@ -0,0 +1,50 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php new file mode 100644 index 00000000..96392bc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountTaxTaxRule.php @@ -0,0 +1,66 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setRatePercent($ratePercent) + { + $this->ratePercent = $ratePercent; + } + public function getRatePercent() + { + return $this->ratePercent; + } + public function setShippingTaxed($shippingTaxed) + { + $this->shippingTaxed = $shippingTaxed; + } + public function getShippingTaxed() + { + return $this->shippingTaxed; + } + public function setUseGlobalRate($useGlobalRate) + { + $this->useGlobalRate = $useGlobalRate; + } + public function getUseGlobalRate() + { + return $this->useGlobalRate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php new file mode 100644 index 00000000..362063b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountUser.php @@ -0,0 +1,39 @@ +admin = $admin; + } + public function getAdmin() + { + return $this->admin; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php new file mode 100644 index 00000000..e3584f51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsAuthInfoResponse.php @@ -0,0 +1,41 @@ +accountIdentifiers = $accountIdentifiers; + } + public function getAccountIdentifiers() + { + return $this->accountIdentifiers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php new file mode 100644 index 00000000..ab20c936 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php new file mode 100644 index 00000000..3dc1d680 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php new file mode 100644 index 00000000..80a842b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php new file mode 100644 index 00000000..13bf5d7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php new file mode 100644 index 00000000..bdc618f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php new file mode 100644 index 00000000..41af4e86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php new file mode 100644 index 00000000..c0848ec0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping) + { + $this->accountShipping = $accountShipping; + } + public function getAccountShipping() + { + return $this->accountShipping; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php new file mode 100644 index 00000000..62d66179 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php new file mode 100644 index 00000000..b0528ddf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +accountShipping = $accountShipping; + } + public function getAccountShipping() + { + return $this->accountShipping; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php new file mode 100644 index 00000000..bb9a7bf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountshippingListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php new file mode 100644 index 00000000..543f2a22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php new file mode 100644 index 00000000..5d81ce10 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchRequestEntry.php @@ -0,0 +1,57 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php new file mode 100644 index 00000000..122ad14c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php new file mode 100644 index 00000000..9b9b81d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesCustomBatchResponseEntry.php @@ -0,0 +1,50 @@ +accountStatus = $accountStatus; + } + public function getAccountStatus() + { + return $this->accountStatus; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php new file mode 100644 index 00000000..2ee02e44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccountstatusesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php new file mode 100644 index 00000000..74d5621f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php new file mode 100644 index 00000000..4daddcf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax) + { + $this->accountTax = $accountTax; + } + public function getAccountTax() + { + return $this->accountTax; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php new file mode 100644 index 00000000..af6cf096 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php new file mode 100644 index 00000000..47fde886 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +accountTax = $accountTax; + } + public function getAccountTax() + { + return $this->accountTax; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php new file mode 100644 index 00000000..e066451e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/AccounttaxListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php new file mode 100644 index 00000000..fdcd0ba2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarrierRate.php @@ -0,0 +1,76 @@ +carrierName = $carrierName; + } + public function getCarrierName() + { + return $this->carrierName; + } + public function setCarrierService($carrierService) + { + $this->carrierService = $carrierService; + } + public function getCarrierService() + { + return $this->carrierService; + } + public function setFlatAdjustment(Google_Service_ShoppingContent_Price $flatAdjustment) + { + $this->flatAdjustment = $flatAdjustment; + } + public function getFlatAdjustment() + { + return $this->flatAdjustment; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginPostalCode($originPostalCode) + { + $this->originPostalCode = $originPostalCode; + } + public function getOriginPostalCode() + { + return $this->originPostalCode; + } + public function setPercentageAdjustment($percentageAdjustment) + { + $this->percentageAdjustment = $percentageAdjustment; + } + public function getPercentageAdjustment() + { + return $this->percentageAdjustment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php new file mode 100644 index 00000000..1bcec7f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/CarriersCarrier.php @@ -0,0 +1,49 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php new file mode 100644 index 00000000..0666c0d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Datafeed.php @@ -0,0 +1,123 @@ +attributeLanguage = $attributeLanguage; + } + public function getAttributeLanguage() + { + return $this->attributeLanguage; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule) + { + $this->fetchSchedule = $fetchSchedule; + } + public function getFetchSchedule() + { + return $this->fetchSchedule; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIntendedDestinations($intendedDestinations) + { + $this->intendedDestinations = $intendedDestinations; + } + public function getIntendedDestinations() + { + return $this->intendedDestinations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php new file mode 100644 index 00000000..289db369 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFetchSchedule.php @@ -0,0 +1,93 @@ +dayOfMonth = $dayOfMonth; + } + public function getDayOfMonth() + { + return $this->dayOfMonth; + } + public function setFetchUrl($fetchUrl) + { + $this->fetchUrl = $fetchUrl; + } + public function getFetchUrl() + { + return $this->fetchUrl; + } + public function setHour($hour) + { + $this->hour = $hour; + } + public function getHour() + { + return $this->hour; + } + public function setMinuteOfHour($minuteOfHour) + { + $this->minuteOfHour = $minuteOfHour; + } + public function getMinuteOfHour() + { + return $this->minuteOfHour; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } + public function setWeekday($weekday) + { + $this->weekday = $weekday; + } + public function getWeekday() + { + return $this->weekday; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php new file mode 100644 index 00000000..e3f55163 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedFormat.php @@ -0,0 +1,48 @@ +columnDelimiter = $columnDelimiter; + } + public function getColumnDelimiter() + { + return $this->columnDelimiter; + } + public function setFileEncoding($fileEncoding) + { + $this->fileEncoding = $fileEncoding; + } + public function getFileEncoding() + { + return $this->fileEncoding; + } + public function setQuotingMode($quotingMode) + { + $this->quotingMode = $quotingMode; + } + public function getQuotingMode() + { + return $this->quotingMode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php new file mode 100644 index 00000000..c563297e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatus.php @@ -0,0 +1,96 @@ +datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setItemsTotal($itemsTotal) + { + $this->itemsTotal = $itemsTotal; + } + public function getItemsTotal() + { + return $this->itemsTotal; + } + public function setItemsValid($itemsValid) + { + $this->itemsValid = $itemsValid; + } + public function getItemsValid() + { + return $this->itemsValid; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUploadDate($lastUploadDate) + { + $this->lastUploadDate = $lastUploadDate; + } + public function getLastUploadDate() + { + return $this->lastUploadDate; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php new file mode 100644 index 00000000..3f276d27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusError.php @@ -0,0 +1,59 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php new file mode 100644 index 00000000..cfbeb268 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedStatusExample.php @@ -0,0 +1,48 @@ +itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php new file mode 100644 index 00000000..d0432f0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php new file mode 100644 index 00000000..8d537c30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) + { + $this->datafeed = $datafeed; + } + public function getDatafeed() + { + return $this->datafeed; + } + public function setDatafeedId($datafeedId) + { + $this->datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php new file mode 100644 index 00000000..85898c9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php new file mode 100644 index 00000000..42e0b206 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsCustomBatchResponseEntry.php @@ -0,0 +1,50 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) + { + $this->datafeed = $datafeed; + } + public function getDatafeed() + { + return $this->datafeed; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php new file mode 100644 index 00000000..0092ece7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php new file mode 100644 index 00000000..808ad5a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php new file mode 100644 index 00000000..58457c5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchRequestEntry.php @@ -0,0 +1,57 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeedId($datafeedId) + { + $this->datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php new file mode 100644 index 00000000..b85a0bc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php new file mode 100644 index 00000000..7244943a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesCustomBatchResponseEntry.php @@ -0,0 +1,50 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus) + { + $this->datafeedStatus = $datafeedStatus; + } + public function getDatafeedStatus() + { + return $this->datafeedStatus; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php new file mode 100644 index 00000000..0f272931 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DatafeedstatusesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php new file mode 100644 index 00000000..fd69f4bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/DeliveryTime.php @@ -0,0 +1,39 @@ +maxTransitTimeInDays = $maxTransitTimeInDays; + } + public function getMaxTransitTimeInDays() + { + return $this->maxTransitTimeInDays; + } + public function setMinTransitTimeInDays($minTransitTimeInDays) + { + $this->minTransitTimeInDays = $minTransitTimeInDays; + } + public function getMinTransitTimeInDays() + { + return $this->minTransitTimeInDays; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php new file mode 100644 index 00000000..0166ea57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Error.php @@ -0,0 +1,48 @@ +domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php new file mode 100644 index 00000000..751c741e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Errors.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php new file mode 100644 index 00000000..8d41b365 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Headers.php @@ -0,0 +1,70 @@ +locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setNumberOfItems($numberOfItems) + { + $this->numberOfItems = $numberOfItems; + } + public function getNumberOfItems() + { + return $this->numberOfItems; + } + public function setPostalCodeGroupNames($postalCodeGroupNames) + { + $this->postalCodeGroupNames = $postalCodeGroupNames; + } + public function getPostalCodeGroupNames() + { + return $this->postalCodeGroupNames; + } + public function setPrices($prices) + { + $this->prices = $prices; + } + public function getPrices() + { + return $this->prices; + } + public function setWeights($weights) + { + $this->weights = $weights; + } + public function getWeights() + { + return $this->weights; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php new file mode 100644 index 00000000..8444cb75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Installment.php @@ -0,0 +1,40 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setMonths($months) + { + $this->months = $months; + } + public function getMonths() + { + return $this->months; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php new file mode 100644 index 00000000..026be0d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Inventory.php @@ -0,0 +1,116 @@ +availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setInstallment(Google_Service_ShoppingContent_Installment $installment) + { + $this->installment = $installment; + } + public function getInstallment() + { + return $this->installment; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) + { + $this->loyaltyPoints = $loyaltyPoints; + } + public function getLoyaltyPoints() + { + return $this->loyaltyPoints; + } + public function setPickup(Google_Service_ShoppingContent_InventoryPickup $pickup) + { + $this->pickup = $pickup; + } + public function getPickup() + { + return $this->pickup; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php new file mode 100644 index 00000000..301966b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php new file mode 100644 index 00000000..672359fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInventory(Google_Service_ShoppingContent_Inventory $inventory) + { + $this->inventory = $inventory; + } + public function getInventory() + { + return $this->inventory; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setStoreCode($storeCode) + { + $this->storeCode = $storeCode; + } + public function getStoreCode() + { + return $this->storeCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php new file mode 100644 index 00000000..be3550cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php new file mode 100644 index 00000000..4daae555 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryCustomBatchResponseEntry.php @@ -0,0 +1,49 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php new file mode 100644 index 00000000..18ef3b0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventoryPickup.php @@ -0,0 +1,39 @@ +pickupMethod = $pickupMethod; + } + public function getPickupMethod() + { + return $this->pickupMethod; + } + public function setPickupSla($pickupSla) + { + $this->pickupSla = $pickupSla; + } + public function getPickupSla() + { + return $this->pickupSla; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php new file mode 100644 index 00000000..2f178e29 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetRequest.php @@ -0,0 +1,107 @@ +availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setInstallment(Google_Service_ShoppingContent_Installment $installment) + { + $this->installment = $installment; + } + public function getInstallment() + { + return $this->installment; + } + public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) + { + $this->loyaltyPoints = $loyaltyPoints; + } + public function getLoyaltyPoints() + { + return $this->loyaltyPoints; + } + public function setPickup(Google_Service_ShoppingContent_InventoryPickup $pickup) + { + $this->pickup = $pickup; + } + public function getPickup() + { + return $this->pickup; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php new file mode 100644 index 00000000..d96ea0d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/InventorySetResponse.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php new file mode 100644 index 00000000..b4e5fd8c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LocationIdSet.php @@ -0,0 +1,31 @@ +locationIds = $locationIds; + } + public function getLocationIds() + { + return $this->locationIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php new file mode 100644 index 00000000..4a7efdda --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/LoyaltyPoints.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setPointsValue($pointsValue) + { + $this->pointsValue = $pointsValue; + } + public function getPointsValue() + { + return $this->pointsValue; + } + public function setRatio($ratio) + { + $this->ratio = $ratio; + } + public function getRatio() + { + return $this->ratio; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php new file mode 100644 index 00000000..d728d6c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Order.php @@ -0,0 +1,212 @@ +acknowledged = $acknowledged; + } + public function getAcknowledged() + { + return $this->acknowledged; + } + public function setChannelType($channelType) + { + $this->channelType = $channelType; + } + public function getChannelType() + { + return $this->channelType; + } + public function setCustomer(Google_Service_ShoppingContent_OrderCustomer $customer) + { + $this->customer = $customer; + } + public function getCustomer() + { + return $this->customer; + } + public function setDeliveryDetails(Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails) + { + $this->deliveryDetails = $deliveryDetails; + } + public function getDeliveryDetails() + { + return $this->deliveryDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMerchantOrderId($merchantOrderId) + { + $this->merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setNetAmount(Google_Service_ShoppingContent_Price $netAmount) + { + $this->netAmount = $netAmount; + } + public function getNetAmount() + { + return $this->netAmount; + } + public function setPaymentMethod(Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod) + { + $this->paymentMethod = $paymentMethod; + } + public function getPaymentMethod() + { + return $this->paymentMethod; + } + public function setPaymentStatus($paymentStatus) + { + $this->paymentStatus = $paymentStatus; + } + public function getPaymentStatus() + { + return $this->paymentStatus; + } + public function setPlacedDate($placedDate) + { + $this->placedDate = $placedDate; + } + public function getPlacedDate() + { + return $this->placedDate; + } + public function setPromotions($promotions) + { + $this->promotions = $promotions; + } + public function getPromotions() + { + return $this->promotions; + } + public function setRefunds($refunds) + { + $this->refunds = $refunds; + } + public function getRefunds() + { + return $this->refunds; + } + public function setShipments($shipments) + { + $this->shipments = $shipments; + } + public function getShipments() + { + return $this->shipments; + } + public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) + { + $this->shippingCost = $shippingCost; + } + public function getShippingCost() + { + return $this->shippingCost; + } + public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) + { + $this->shippingCostTax = $shippingCostTax; + } + public function getShippingCostTax() + { + return $this->shippingCostTax; + } + public function setShippingOption($shippingOption) + { + $this->shippingOption = $shippingOption; + } + public function getShippingOption() + { + return $this->shippingOption; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php new file mode 100644 index 00000000..f563025a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderAddress.php @@ -0,0 +1,94 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setFullAddress($fullAddress) + { + $this->fullAddress = $fullAddress; + } + public function getFullAddress() + { + return $this->fullAddress; + } + public function setIsPostOfficeBox($isPostOfficeBox) + { + $this->isPostOfficeBox = $isPostOfficeBox; + } + public function getIsPostOfficeBox() + { + return $this->isPostOfficeBox; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRecipientName($recipientName) + { + $this->recipientName = $recipientName; + } + public function getRecipientName() + { + return $this->recipientName; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php new file mode 100644 index 00000000..7811b102 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCancellation.php @@ -0,0 +1,66 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php new file mode 100644 index 00000000..08bf0aa9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderCustomer.php @@ -0,0 +1,48 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExplicitMarketingPreference($explicitMarketingPreference) + { + $this->explicitMarketingPreference = $explicitMarketingPreference; + } + public function getExplicitMarketingPreference() + { + return $this->explicitMarketingPreference; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php new file mode 100644 index 00000000..0952f787 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderDeliveryDetails.php @@ -0,0 +1,40 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php new file mode 100644 index 00000000..1e71e8a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItem.php @@ -0,0 +1,155 @@ +cancellations = $cancellations; + } + public function getCancellations() + { + return $this->cancellations; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setProduct(Google_Service_ShoppingContent_OrderLineItemProduct $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setQuantityCanceled($quantityCanceled) + { + $this->quantityCanceled = $quantityCanceled; + } + public function getQuantityCanceled() + { + return $this->quantityCanceled; + } + public function setQuantityDelivered($quantityDelivered) + { + $this->quantityDelivered = $quantityDelivered; + } + public function getQuantityDelivered() + { + return $this->quantityDelivered; + } + public function setQuantityOrdered($quantityOrdered) + { + $this->quantityOrdered = $quantityOrdered; + } + public function getQuantityOrdered() + { + return $this->quantityOrdered; + } + public function setQuantityPending($quantityPending) + { + $this->quantityPending = $quantityPending; + } + public function getQuantityPending() + { + return $this->quantityPending; + } + public function setQuantityReturned($quantityReturned) + { + $this->quantityReturned = $quantityReturned; + } + public function getQuantityReturned() + { + return $this->quantityReturned; + } + public function setQuantityShipped($quantityShipped) + { + $this->quantityShipped = $quantityShipped; + } + public function getQuantityShipped() + { + return $this->quantityShipped; + } + public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) + { + $this->returnInfo = $returnInfo; + } + public function getReturnInfo() + { + return $this->returnInfo; + } + public function setReturns($returns) + { + $this->returns = $returns; + } + public function getReturns() + { + return $this->returns; + } + public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) + { + $this->shippingDetails = $shippingDetails; + } + public function getShippingDetails() + { + return $this->shippingDetails; + } + public function setTax(Google_Service_ShoppingContent_Price $tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php new file mode 100644 index 00000000..bcea3e5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProduct.php @@ -0,0 +1,159 @@ +brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setShownImage($shownImage) + { + $this->shownImage = $shownImage; + } + public function getShownImage() + { + return $this->shownImage; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVariantAttributes($variantAttributes) + { + $this->variantAttributes = $variantAttributes; + } + public function getVariantAttributes() + { + return $this->variantAttributes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php new file mode 100644 index 00000000..683abc5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemProductVariantAttribute.php @@ -0,0 +1,39 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php new file mode 100644 index 00000000..9a6751be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemReturnInfo.php @@ -0,0 +1,48 @@ +daysToReturn = $daysToReturn; + } + public function getDaysToReturn() + { + return $this->daysToReturn; + } + public function setIsReturnable($isReturnable) + { + $this->isReturnable = $isReturnable; + } + public function getIsReturnable() + { + return $this->isReturnable; + } + public function setPolicyUrl($policyUrl) + { + $this->policyUrl = $policyUrl; + } + public function getPolicyUrl() + { + return $this->policyUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php new file mode 100644 index 00000000..06835aae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetails.php @@ -0,0 +1,49 @@ +deliverByDate = $deliverByDate; + } + public function getDeliverByDate() + { + return $this->deliverByDate; + } + public function setMethod(Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod $method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setShipByDate($shipByDate) + { + $this->shipByDate = $shipByDate; + } + public function getShipByDate() + { + return $this->shipByDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php new file mode 100644 index 00000000..d118b871 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderLineItemShippingDetailsMethod.php @@ -0,0 +1,57 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setMaxDaysInTransit($maxDaysInTransit) + { + $this->maxDaysInTransit = $maxDaysInTransit; + } + public function getMaxDaysInTransit() + { + return $this->maxDaysInTransit; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } + public function setMinDaysInTransit($minDaysInTransit) + { + $this->minDaysInTransit = $minDaysInTransit; + } + public function getMinDaysInTransit() + { + return $this->minDaysInTransit; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php new file mode 100644 index 00000000..cdcc1a33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPaymentMethod.php @@ -0,0 +1,76 @@ +billingAddress = $billingAddress; + } + public function getBillingAddress() + { + return $this->billingAddress; + } + public function setExpirationMonth($expirationMonth) + { + $this->expirationMonth = $expirationMonth; + } + public function getExpirationMonth() + { + return $this->expirationMonth; + } + public function setExpirationYear($expirationYear) + { + $this->expirationYear = $expirationYear; + } + public function getExpirationYear() + { + return $this->expirationYear; + } + public function setLastFourDigits($lastFourDigits) + { + $this->lastFourDigits = $lastFourDigits; + } + public function getLastFourDigits() + { + return $this->lastFourDigits; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php new file mode 100644 index 00000000..f694ac57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotion.php @@ -0,0 +1,86 @@ +benefits = $benefits; + } + public function getBenefits() + { + return $this->benefits; + } + public function setEffectiveDates($effectiveDates) + { + $this->effectiveDates = $effectiveDates; + } + public function getEffectiveDates() + { + return $this->effectiveDates; + } + public function setGenericRedemptionCode($genericRedemptionCode) + { + $this->genericRedemptionCode = $genericRedemptionCode; + } + public function getGenericRedemptionCode() + { + return $this->genericRedemptionCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLongTitle($longTitle) + { + $this->longTitle = $longTitle; + } + public function getLongTitle() + { + return $this->longTitle; + } + public function setProductApplicability($productApplicability) + { + $this->productApplicability = $productApplicability; + } + public function getProductApplicability() + { + return $this->productApplicability; + } + public function setRedemptionChannel($redemptionChannel) + { + $this->redemptionChannel = $redemptionChannel; + } + public function getRedemptionChannel() + { + return $this->redemptionChannel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php new file mode 100644 index 00000000..285932e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderPromotionBenefit.php @@ -0,0 +1,69 @@ +discount = $discount; + } + public function getDiscount() + { + return $this->discount; + } + public function setOfferIds($offerIds) + { + $this->offerIds = $offerIds; + } + public function getOfferIds() + { + return $this->offerIds; + } + public function setSubType($subType) + { + $this->subType = $subType; + } + public function getSubType() + { + return $this->subType; + } + public function setTaxImpact(Google_Service_ShoppingContent_Price $taxImpact) + { + $this->taxImpact = $taxImpact; + } + public function getTaxImpact() + { + return $this->taxImpact; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php new file mode 100644 index 00000000..b277b5d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderRefund.php @@ -0,0 +1,67 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAmount(Google_Service_ShoppingContent_Price $amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php new file mode 100644 index 00000000..7af5e517 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReturn.php @@ -0,0 +1,66 @@ +actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php new file mode 100644 index 00000000..0b2aab78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php @@ -0,0 +1,86 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDeliveryDate($deliveryDate) + { + $this->deliveryDate = $deliveryDate; + } + public function getDeliveryDate() + { + return $this->deliveryDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php new file mode 100644 index 00000000..7173efc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipmentLineItemShipment.php @@ -0,0 +1,39 @@ +lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php new file mode 100644 index 00000000..ccbae30c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeRequest.php @@ -0,0 +1,30 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php new file mode 100644 index 00000000..2d586e78 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAcknowledgeResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php new file mode 100644 index 00000000..b430fd5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersAdvanceTestOrderResponse.php @@ -0,0 +1,30 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php new file mode 100644 index 00000000..489b773f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemRequest.php @@ -0,0 +1,76 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php new file mode 100644 index 00000000..30842da8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelLineItemResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php new file mode 100644 index 00000000..13dce6d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelRequest.php @@ -0,0 +1,48 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php new file mode 100644 index 00000000..125b5247 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCancelResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php new file mode 100644 index 00000000..318781df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderRequest.php @@ -0,0 +1,40 @@ +templateName = $templateName; + } + public function getTemplateName() + { + return $this->templateName; + } + public function setTestOrder(Google_Service_ShoppingContent_TestOrder $testOrder) + { + $this->testOrder = $testOrder; + } + public function getTestOrder() + { + return $this->testOrder; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php new file mode 100644 index 00000000..87d8ac84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCreateTestOrderResponse.php @@ -0,0 +1,39 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php new file mode 100644 index 00000000..2af01536 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php new file mode 100644 index 00000000..6b6e91bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntry.php @@ -0,0 +1,135 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setCancel(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel $cancel) + { + $this->cancel = $cancel; + } + public function getCancel() + { + return $this->cancel; + } + public function setCancelLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem $cancelLineItem) + { + $this->cancelLineItem = $cancelLineItem; + } + public function getCancelLineItem() + { + return $this->cancelLineItem; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMerchantOrderId($merchantOrderId) + { + $this->merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setRefund(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund $refund) + { + $this->refund = $refund; + } + public function getRefund() + { + return $this->refund; + } + public function setReturnLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem $returnLineItem) + { + $this->returnLineItem = $returnLineItem; + } + public function getReturnLineItem() + { + return $this->returnLineItem; + } + public function setShipLineItems(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems $shipLineItems) + { + $this->shipLineItems = $shipLineItems; + } + public function getShipLineItems() + { + return $this->shipLineItems; + } + public function setUpdateShipment(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment $updateShipment) + { + $this->updateShipment = $updateShipment; + } + public function getUpdateShipment() + { + return $this->updateShipment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php new file mode 100644 index 00000000..742b2ab8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancel.php @@ -0,0 +1,39 @@ +reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php new file mode 100644 index 00000000..09d00aca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryCancelLineItem.php @@ -0,0 +1,67 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php new file mode 100644 index 00000000..5ba294a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryRefund.php @@ -0,0 +1,49 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php new file mode 100644 index 00000000..81051113 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryReturnLineItem.php @@ -0,0 +1,57 @@ +lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php new file mode 100644 index 00000000..70078c3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryShipLineItems.php @@ -0,0 +1,59 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php new file mode 100644 index 00000000..5e60cda8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchRequestEntryUpdateShipment.php @@ -0,0 +1,57 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php new file mode 100644 index 00000000..14ce89c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php new file mode 100644 index 00000000..789f6fdd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersCustomBatchResponseEntry.php @@ -0,0 +1,68 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrder(Google_Service_ShoppingContent_Order $order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php new file mode 100644 index 00000000..b0259ccb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetByMerchantOrderIdResponse.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrder(Google_Service_ShoppingContent_Order $order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php new file mode 100644 index 00000000..a4f79521 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersGetTestOrderTemplateResponse.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTemplate(Google_Service_ShoppingContent_TestOrder $template) + { + $this->template = $template; + } + public function getTemplate() + { + return $this->template; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php new file mode 100644 index 00000000..37d40dec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php new file mode 100644 index 00000000..cc240840 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundRequest.php @@ -0,0 +1,58 @@ +amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php new file mode 100644 index 00000000..8c961600 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersRefundResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php new file mode 100644 index 00000000..27ed6e67 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemRequest.php @@ -0,0 +1,66 @@ +lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php new file mode 100644 index 00000000..4178a38f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersReturnLineItemResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php new file mode 100644 index 00000000..287aa028 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsRequest.php @@ -0,0 +1,68 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php new file mode 100644 index 00000000..a5240168 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersShipLineItemsResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php new file mode 100644 index 00000000..b2d27871 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdRequest.php @@ -0,0 +1,39 @@ +merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php new file mode 100644 index 00000000..56e0290b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateMerchantOrderIdResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php new file mode 100644 index 00000000..07359f4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentRequest.php @@ -0,0 +1,66 @@ +carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php new file mode 100644 index 00000000..871098e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/OrdersUpdateShipmentResponse.php @@ -0,0 +1,39 @@ +executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php new file mode 100644 index 00000000..e5497fc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeGroup.php @@ -0,0 +1,50 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPostalCodeRanges($postalCodeRanges) + { + $this->postalCodeRanges = $postalCodeRanges; + } + public function getPostalCodeRanges() + { + return $this->postalCodeRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php new file mode 100644 index 00000000..70692f31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/PostalCodeRange.php @@ -0,0 +1,39 @@ +postalCodeRangeBegin = $postalCodeRangeBegin; + } + public function getPostalCodeRangeBegin() + { + return $this->postalCodeRangeBegin; + } + public function setPostalCodeRangeEnd($postalCodeRangeEnd) + { + $this->postalCodeRangeEnd = $postalCodeRangeEnd; + } + public function getPostalCodeRangeEnd() + { + return $this->postalCodeRangeEnd; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php new file mode 100644 index 00000000..8132f85c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Price.php @@ -0,0 +1,39 @@ +currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php new file mode 100644 index 00000000..f2dd0c92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Product.php @@ -0,0 +1,687 @@ +additionalImageLinks = $additionalImageLinks; + } + public function getAdditionalImageLinks() + { + return $this->additionalImageLinks; + } + public function setAdditionalProductTypes($additionalProductTypes) + { + $this->additionalProductTypes = $additionalProductTypes; + } + public function getAdditionalProductTypes() + { + return $this->additionalProductTypes; + } + public function setAdult($adult) + { + $this->adult = $adult; + } + public function getAdult() + { + return $this->adult; + } + public function setAdwordsGrouping($adwordsGrouping) + { + $this->adwordsGrouping = $adwordsGrouping; + } + public function getAdwordsGrouping() + { + return $this->adwordsGrouping; + } + public function setAdwordsLabels($adwordsLabels) + { + $this->adwordsLabels = $adwordsLabels; + } + public function getAdwordsLabels() + { + return $this->adwordsLabels; + } + public function setAdwordsRedirect($adwordsRedirect) + { + $this->adwordsRedirect = $adwordsRedirect; + } + public function getAdwordsRedirect() + { + return $this->adwordsRedirect; + } + public function setAgeGroup($ageGroup) + { + $this->ageGroup = $ageGroup; + } + public function getAgeGroup() + { + return $this->ageGroup; + } + public function setAspects($aspects) + { + $this->aspects = $aspects; + } + public function getAspects() + { + return $this->aspects; + } + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setAvailabilityDate($availabilityDate) + { + $this->availabilityDate = $availabilityDate; + } + public function getAvailabilityDate() + { + return $this->availabilityDate; + } + public function setBrand($brand) + { + $this->brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setCustomAttributes($customAttributes) + { + $this->customAttributes = $customAttributes; + } + public function getCustomAttributes() + { + return $this->customAttributes; + } + public function setCustomGroups($customGroups) + { + $this->customGroups = $customGroups; + } + public function getCustomGroups() + { + return $this->customGroups; + } + public function setCustomLabel0($customLabel0) + { + $this->customLabel0 = $customLabel0; + } + public function getCustomLabel0() + { + return $this->customLabel0; + } + public function setCustomLabel1($customLabel1) + { + $this->customLabel1 = $customLabel1; + } + public function getCustomLabel1() + { + return $this->customLabel1; + } + public function setCustomLabel2($customLabel2) + { + $this->customLabel2 = $customLabel2; + } + public function getCustomLabel2() + { + return $this->customLabel2; + } + public function setCustomLabel3($customLabel3) + { + $this->customLabel3 = $customLabel3; + } + public function getCustomLabel3() + { + return $this->customLabel3; + } + public function setCustomLabel4($customLabel4) + { + $this->customLabel4 = $customLabel4; + } + public function getCustomLabel4() + { + return $this->customLabel4; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDestinations($destinations) + { + $this->destinations = $destinations; + } + public function getDestinations() + { + return $this->destinations; + } + public function setDisplayAdsId($displayAdsId) + { + $this->displayAdsId = $displayAdsId; + } + public function getDisplayAdsId() + { + return $this->displayAdsId; + } + public function setDisplayAdsLink($displayAdsLink) + { + $this->displayAdsLink = $displayAdsLink; + } + public function getDisplayAdsLink() + { + return $this->displayAdsLink; + } + public function setDisplayAdsSimilarIds($displayAdsSimilarIds) + { + $this->displayAdsSimilarIds = $displayAdsSimilarIds; + } + public function getDisplayAdsSimilarIds() + { + return $this->displayAdsSimilarIds; + } + public function setDisplayAdsTitle($displayAdsTitle) + { + $this->displayAdsTitle = $displayAdsTitle; + } + public function getDisplayAdsTitle() + { + return $this->displayAdsTitle; + } + public function setDisplayAdsValue($displayAdsValue) + { + $this->displayAdsValue = $displayAdsValue; + } + public function getDisplayAdsValue() + { + return $this->displayAdsValue; + } + public function setEnergyEfficiencyClass($energyEfficiencyClass) + { + $this->energyEfficiencyClass = $energyEfficiencyClass; + } + public function getEnergyEfficiencyClass() + { + return $this->energyEfficiencyClass; + } + public function setExpirationDate($expirationDate) + { + $this->expirationDate = $expirationDate; + } + public function getExpirationDate() + { + return $this->expirationDate; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setGoogleProductCategory($googleProductCategory) + { + $this->googleProductCategory = $googleProductCategory; + } + public function getGoogleProductCategory() + { + return $this->googleProductCategory; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdentifierExists($identifierExists) + { + $this->identifierExists = $identifierExists; + } + public function getIdentifierExists() + { + return $this->identifierExists; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setInstallment(Google_Service_ShoppingContent_Installment $installment) + { + $this->installment = $installment; + } + public function getInstallment() + { + return $this->installment; + } + public function setIsBundle($isBundle) + { + $this->isBundle = $isBundle; + } + public function getIsBundle() + { + return $this->isBundle; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) + { + $this->loyaltyPoints = $loyaltyPoints; + } + public function getLoyaltyPoints() + { + return $this->loyaltyPoints; + } + public function setMaterial($material) + { + $this->material = $material; + } + public function getMaterial() + { + return $this->material; + } + public function setMobileLink($mobileLink) + { + $this->mobileLink = $mobileLink; + } + public function getMobileLink() + { + return $this->mobileLink; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setMultipack($multipack) + { + $this->multipack = $multipack; + } + public function getMultipack() + { + return $this->multipack; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setOnlineOnly($onlineOnly) + { + $this->onlineOnly = $onlineOnly; + } + public function getOnlineOnly() + { + return $this->onlineOnly; + } + public function setPattern($pattern) + { + $this->pattern = $pattern; + } + public function getPattern() + { + return $this->pattern; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setProductType($productType) + { + $this->productType = $productType; + } + public function getProductType() + { + return $this->productType; + } + public function setPromotionIds($promotionIds) + { + $this->promotionIds = $promotionIds; + } + public function getPromotionIds() + { + return $this->promotionIds; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } + public function setShipping($shipping) + { + $this->shipping = $shipping; + } + public function getShipping() + { + return $this->shipping; + } + public function setShippingHeight(Google_Service_ShoppingContent_ProductShippingDimension $shippingHeight) + { + $this->shippingHeight = $shippingHeight; + } + public function getShippingHeight() + { + return $this->shippingHeight; + } + public function setShippingLabel($shippingLabel) + { + $this->shippingLabel = $shippingLabel; + } + public function getShippingLabel() + { + return $this->shippingLabel; + } + public function setShippingLength(Google_Service_ShoppingContent_ProductShippingDimension $shippingLength) + { + $this->shippingLength = $shippingLength; + } + public function getShippingLength() + { + return $this->shippingLength; + } + public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight) + { + $this->shippingWeight = $shippingWeight; + } + public function getShippingWeight() + { + return $this->shippingWeight; + } + public function setShippingWidth(Google_Service_ShoppingContent_ProductShippingDimension $shippingWidth) + { + $this->shippingWidth = $shippingWidth; + } + public function getShippingWidth() + { + return $this->shippingWidth; + } + public function setSizeSystem($sizeSystem) + { + $this->sizeSystem = $sizeSystem; + } + public function getSizeSystem() + { + return $this->sizeSystem; + } + public function setSizeType($sizeType) + { + $this->sizeType = $sizeType; + } + public function getSizeType() + { + return $this->sizeType; + } + public function setSizes($sizes) + { + $this->sizes = $sizes; + } + public function getSizes() + { + return $this->sizes; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTaxes($taxes) + { + $this->taxes = $taxes; + } + public function getTaxes() + { + return $this->taxes; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUnitPricingBaseMeasure(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure) + { + $this->unitPricingBaseMeasure = $unitPricingBaseMeasure; + } + public function getUnitPricingBaseMeasure() + { + return $this->unitPricingBaseMeasure; + } + public function setUnitPricingMeasure(Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure) + { + $this->unitPricingMeasure = $unitPricingMeasure; + } + public function getUnitPricingMeasure() + { + return $this->unitPricingMeasure; + } + public function setValidatedDestinations($validatedDestinations) + { + $this->validatedDestinations = $validatedDestinations; + } + public function getValidatedDestinations() + { + return $this->validatedDestinations; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php new file mode 100644 index 00000000..6f1f84ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductAspect.php @@ -0,0 +1,48 @@ +aspectName = $aspectName; + } + public function getAspectName() + { + return $this->aspectName; + } + public function setDestinationName($destinationName) + { + $this->destinationName = $destinationName; + } + public function getDestinationName() + { + return $this->destinationName; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php new file mode 100644 index 00000000..f7e46d66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomAttribute.php @@ -0,0 +1,57 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php new file mode 100644 index 00000000..f8e683c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductCustomGroup.php @@ -0,0 +1,41 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php new file mode 100644 index 00000000..82394cac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductDestination.php @@ -0,0 +1,39 @@ +destinationName = $destinationName; + } + public function getDestinationName() + { + return $this->destinationName; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php new file mode 100644 index 00000000..9dfe3259 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShipping.php @@ -0,0 +1,85 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationGroupName($locationGroupName) + { + $this->locationGroupName = $locationGroupName; + } + public function getLocationGroupName() + { + return $this->locationGroupName; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php new file mode 100644 index 00000000..5800f56d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingDimension.php @@ -0,0 +1,39 @@ +unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php new file mode 100644 index 00000000..843311e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductShippingWeight.php @@ -0,0 +1,39 @@ +unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php new file mode 100644 index 00000000..fffe96bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatus.php @@ -0,0 +1,105 @@ +creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDataQualityIssues($dataQualityIssues) + { + $this->dataQualityIssues = $dataQualityIssues; + } + public function getDataQualityIssues() + { + return $this->dataQualityIssues; + } + public function setDestinationStatuses($destinationStatuses) + { + $this->destinationStatuses = $destinationStatuses; + } + public function getDestinationStatuses() + { + return $this->destinationStatuses; + } + public function setGoogleExpirationDate($googleExpirationDate) + { + $this->googleExpirationDate = $googleExpirationDate; + } + public function getGoogleExpirationDate() + { + return $this->googleExpirationDate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDate($lastUpdateDate) + { + $this->lastUpdateDate = $lastUpdateDate; + } + public function getLastUpdateDate() + { + return $this->lastUpdateDate; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php new file mode 100644 index 00000000..9ed656ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDataQualityIssue.php @@ -0,0 +1,93 @@ +detail = $detail; + } + public function getDetail() + { + return $this->detail; + } + public function setFetchStatus($fetchStatus) + { + $this->fetchStatus = $fetchStatus; + } + public function getFetchStatus() + { + return $this->fetchStatus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setValueOnLandingPage($valueOnLandingPage) + { + $this->valueOnLandingPage = $valueOnLandingPage; + } + public function getValueOnLandingPage() + { + return $this->valueOnLandingPage; + } + public function setValueProvided($valueProvided) + { + $this->valueProvided = $valueProvided; + } + public function getValueProvided() + { + return $this->valueProvided; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php new file mode 100644 index 00000000..bf226817 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductStatusDestinationStatus.php @@ -0,0 +1,48 @@ +approvalStatus = $approvalStatus; + } + public function getApprovalStatus() + { + return $this->approvalStatus; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php new file mode 100644 index 00000000..9fc29aa8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductTax.php @@ -0,0 +1,75 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRate($rate) + { + $this->rate = $rate; + } + public function getRate() + { + return $this->rate; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setTaxShip($taxShip) + { + $this->taxShip = $taxShip; + } + public function getTaxShip() + { + return $this->taxShip; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php new file mode 100644 index 00000000..dc01d044 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingBaseMeasure.php @@ -0,0 +1,39 @@ +unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php new file mode 100644 index 00000000..b0ec16cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductUnitPricingMeasure.php @@ -0,0 +1,39 @@ +unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php new file mode 100644 index 00000000..f165a303 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php new file mode 100644 index 00000000..958cefed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setProduct(Google_Service_ShoppingContent_Product $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php new file mode 100644 index 00000000..163b8781 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php new file mode 100644 index 00000000..728e45fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProduct(Google_Service_ShoppingContent_Product $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php new file mode 100644 index 00000000..e8d91dbf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php new file mode 100644 index 00000000..8be0fb9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php new file mode 100644 index 00000000..5ae900a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchRequestEntry.php @@ -0,0 +1,57 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php new file mode 100644 index 00000000..869f3f80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php new file mode 100644 index 00000000..0e0f46fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus) + { + $this->productStatus = $productStatus; + } + public function getProductStatus() + { + return $this->productStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php new file mode 100644 index 00000000..0461a4bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ProductstatusesListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php new file mode 100644 index 00000000..ff8e04c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/RateGroup.php @@ -0,0 +1,71 @@ +applicableShippingLabels = $applicableShippingLabels; + } + public function getApplicableShippingLabels() + { + return $this->applicableShippingLabels; + } + public function setCarrierRates($carrierRates) + { + $this->carrierRates = $carrierRates; + } + public function getCarrierRates() + { + return $this->carrierRates; + } + public function setMainTable(Google_Service_ShoppingContent_Table $mainTable) + { + $this->mainTable = $mainTable; + } + public function getMainTable() + { + return $this->mainTable; + } + public function setSingleValue(Google_Service_ShoppingContent_Value $singleValue) + { + $this->singleValue = $singleValue; + } + public function getSingleValue() + { + return $this->singleValue; + } + public function setSubtables($subtables) + { + $this->subtables = $subtables; + } + public function getSubtables() + { + return $this->subtables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php new file mode 100644 index 00000000..65ef757b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounts.php @@ -0,0 +1,164 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $accounts = $contentService->accounts; + * + */ +class Google_Service_ShoppingContent_Resource_Accounts extends Google_Service_Resource +{ + /** + * Returns information about the authenticated user. (accounts.authinfo) + * + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountsAuthInfoResponse + */ + public function authinfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse"); + } + /** + * Retrieves, inserts, updates, and deletes multiple Merchant Center + * (sub-)accounts in a single request. (accounts.custombatch) + * + * @param Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse"); + } + /** + * Deletes a Merchant Center sub-account. This method can only be called for + * multi-client accounts. (accounts.delete) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a Merchant Center account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (accounts.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Account + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Account"); + } + /** + * Creates a Merchant Center sub-account. This method can only be called for + * multi-client accounts. (accounts.insert) + * + * @param string $merchantId The ID of the managing account. + * @param Google_Service_ShoppingContent_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account"); + } + /** + * Lists the sub-accounts in your Merchant Center account. This method can only + * be called for multi-client accounts. (accounts.listAccounts) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of accounts to return in the + * response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_AccountsListResponse + */ + public function listAccounts($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse"); + } + /** + * Updates a Merchant Center account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. This method supports patch semantics. (accounts.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param Google_Service_ShoppingContent_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account"); + } + /** + * Updates a Merchant Center account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (accounts.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param Google_Service_ShoppingContent_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_Account"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php new file mode 100644 index 00000000..a28f530a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountshipping.php @@ -0,0 +1,123 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $accountshipping = $contentService->accountshipping; + * + */ +class Google_Service_ShoppingContent_Resource_Accountshipping extends Google_Service_Resource +{ + /** + * Retrieves and updates the shipping settings of multiple accounts in a single + * request. (accountshipping.custombatch) + * + * @param Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse"); + } + /** + * Retrieves the shipping settings of the account. This method can only be + * called for accounts to which the managing account has access: either the + * managing account itself or sub-accounts if the managing account is a multi- + * client account. (accountshipping.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } + /** + * Lists the shipping settings of the sub-accounts in your Merchant Center + * account. This method can only be called for multi-client accounts. + * (accountshipping.listAccountshipping) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of shipping settings to + * return in the response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_AccountshippingListResponse + */ + public function listAccountshipping($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse"); + } + /** + * Updates the shipping settings of the account. This method can only be called + * for accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. This method supports patch semantics. (accountshipping.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param Google_Service_ShoppingContent_AccountShipping $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } + /** + * Updates the shipping settings of the account. This method can only be called + * for accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (accountshipping.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param Google_Service_ShoppingContent_AccountShipping $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php new file mode 100644 index 00000000..2abf0d9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accountstatuses.php @@ -0,0 +1,77 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $accountstatuses = $contentService->accountstatuses; + * + */ +class Google_Service_ShoppingContent_Resource_Accountstatuses extends Google_Service_Resource +{ + /** + * (accountstatuses.custombatch) + * + * @param Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse"); + } + /** + * Retrieves the status of a Merchant Center account. This method can only be + * called for accounts to which the managing account has access: either the + * managing account itself or sub-accounts if the managing account is a multi- + * client account. (accountstatuses.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountStatus + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus"); + } + /** + * Lists the statuses of the sub-accounts in your Merchant Center account. This + * method can only be called for multi-client accounts. + * (accountstatuses.listAccountstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of account statuses to return + * in the response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_AccountstatusesListResponse + */ + public function listAccountstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php new file mode 100644 index 00000000..79ee23e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Accounttax.php @@ -0,0 +1,123 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $accounttax = $contentService->accounttax; + * + */ +class Google_Service_ShoppingContent_Resource_Accounttax extends Google_Service_Resource +{ + /** + * Retrieves and updates tax settings of multiple accounts in a single request. + * (accounttax.custombatch) + * + * @param Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse"); + } + /** + * Retrieves the tax settings of the account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (accounttax.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax"); + } + /** + * Lists the tax settings of the sub-accounts in your Merchant Center account. + * This method can only be called for multi-client accounts. + * (accounttax.listAccounttax) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of tax settings to return in + * the response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_AccounttaxListResponse + */ + public function listAccounttax($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse"); + } + /** + * Updates the tax settings of the account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. This method supports patch semantics. (accounttax.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param Google_Service_ShoppingContent_AccountTax $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax"); + } + /** + * Updates the tax settings of the account. This method can only be called for + * accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (accounttax.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param Google_Service_ShoppingContent_AccountTax $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php new file mode 100644 index 00000000..4f1c058b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeeds.php @@ -0,0 +1,146 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $datafeeds = $contentService->datafeeds; + * + */ +class Google_Service_ShoppingContent_Resource_Datafeeds extends Google_Service_Resource +{ + /** + * (datafeeds.custombatch) + * + * @param Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse"); + } + /** + * Deletes a datafeed from your Merchant Center account. This method can only be + * called for non-multi-client accounts. (datafeeds.delete) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a datafeed from your Merchant Center account. This method can only + * be called for non-multi-client accounts. (datafeeds.get) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function get($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + /** + * Registers a datafeed with your Merchant Center account. This method can only + * be called for non-multi-client accounts. (datafeeds.insert) + * + * @param string $merchantId + * @param Google_Service_ShoppingContent_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + /** + * Lists the datafeeds in your Merchant Center account. This method can only be + * called for non-multi-client accounts. (datafeeds.listDatafeeds) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_DatafeedsListResponse + */ + public function listDatafeeds($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse"); + } + /** + * Updates a datafeed of your Merchant Center account. This method can only be + * called for non-multi-client accounts. This method supports patch semantics. + * (datafeeds.patch) + * + * @param string $merchantId + * @param string $datafeedId + * @param Google_Service_ShoppingContent_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + /** + * Updates a datafeed of your Merchant Center account. This method can only be + * called for non-multi-client accounts. (datafeeds.update) + * + * @param string $merchantId + * @param string $datafeedId + * @param Google_Service_ShoppingContent_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php new file mode 100644 index 00000000..520fc0fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Datafeedstatuses.php @@ -0,0 +1,76 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $datafeedstatuses = $contentService->datafeedstatuses; + * + */ +class Google_Service_ShoppingContent_Resource_Datafeedstatuses extends Google_Service_Resource +{ + /** + * (datafeedstatuses.custombatch) + * + * @param Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse"); + } + /** + * Retrieves the status of a datafeed from your Merchant Center account. This + * method can only be called for non-multi-client accounts. + * (datafeedstatuses.get) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_DatafeedStatus + */ + public function get($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus"); + } + /** + * Lists the statuses of the datafeeds in your Merchant Center account. This + * method can only be called for non-multi-client accounts. + * (datafeedstatuses.listDatafeedstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse + */ + public function listDatafeedstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php new file mode 100644 index 00000000..1b5e80cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Inventory.php @@ -0,0 +1,69 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $inventory = $contentService->inventory; + * + */ +class Google_Service_ShoppingContent_Resource_Inventory extends Google_Service_Resource +{ + /** + * Updates price and availability for multiple products or stores in a single + * request. This operation does not update the expiration date of the products. + * This method can only be called for non-multi-client accounts. + * (inventory.custombatch) + * + * @param Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse"); + } + /** + * Updates price and availability of a product in your Merchant Center account. + * This operation does not update the expiration date of the product. This + * method can only be called for non-multi-client accounts. (inventory.set) + * + * @param string $merchantId The ID of the managing account. + * @param string $storeCode The code of the store for which to update price and + * availability. Use online to update price and availability of an online + * product. + * @param string $productId The ID of the product for which to update price and + * availability. + * @param Google_Service_ShoppingContent_InventorySetRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_InventorySetResponse + */ + public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php new file mode 100644 index 00000000..962c1646 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Orders.php @@ -0,0 +1,287 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $orders = $contentService->orders; + * + */ +class Google_Service_ShoppingContent_Resource_Orders extends Google_Service_Resource +{ + /** + * Marks an order as acknowledged. This method can only be called for non-multi- + * client accounts. (orders.acknowledge) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersAcknowledgeResponse + */ + public function acknowledge($merchantId, $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('acknowledge', array($params), "Google_Service_ShoppingContent_OrdersAcknowledgeResponse"); + } + /** + * Sandbox only. Moves a test order from state "inProgress" to state + * "pendingShipment". This method can only be called for non-multi-client + * accounts. (orders.advancetestorder) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the test order to modify. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse + */ + public function advancetestorder($merchantId, $orderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('advancetestorder', array($params), "Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse"); + } + /** + * Cancels all line items in an order. This method can only be called for non- + * multi-client accounts. (orders.cancel) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order to cancel. + * @param Google_Service_ShoppingContent_OrdersCancelRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCancelResponse + */ + public function cancel($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_ShoppingContent_OrdersCancelResponse"); + } + /** + * Cancels a line item. This method can only be called for non-multi-client + * accounts. (orders.cancellineitem) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCancelLineItemResponse + */ + public function cancellineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancellineitem', array($params), "Google_Service_ShoppingContent_OrdersCancelLineItemResponse"); + } + /** + * Sandbox only. Creates a test order. This method can only be called for non- + * multi-client accounts. (orders.createtestorder) + * + * @param string $merchantId The ID of the managing account. + * @param Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCreateTestOrderResponse + */ + public function createtestorder($merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createtestorder', array($params), "Google_Service_ShoppingContent_OrdersCreateTestOrderResponse"); + } + /** + * Retrieves or modifies multiple orders in a single request. This method can + * only be called for non-multi-client accounts. (orders.custombatch) + * + * @param Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_OrdersCustomBatchResponse"); + } + /** + * Retrieves an order from your Merchant Center account. This method can only be + * called for non-multi-client accounts. (orders.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Order + */ + public function get($merchantId, $orderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Order"); + } + /** + * Retrieves an order using merchant order id. This method can only be called + * for non-multi-client accounts. (orders.getbymerchantorderid) + * + * @param string $merchantId The ID of the managing account. + * @param string $merchantOrderId The merchant order id to be looked for. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse + */ + public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId); + $params = array_merge($params, $optParams); + return $this->call('getbymerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse"); + } + /** + * Sandbox only. Retrieves an order template that can be used to quickly create + * a new order in sandbox. This method can only be called for non-multi-client + * accounts. (orders.gettestordertemplate) + * + * @param string $merchantId The ID of the managing account. + * @param string $templateName The name of the template to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse + */ + public function gettestordertemplate($merchantId, $templateName, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('gettestordertemplate', array($params), "Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse"); + } + /** + * Lists the orders in your Merchant Center account. This method can only be + * called for non-multi-client accounts. (orders.listOrders) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledged Obtains orders that match the acknowledgement + * status. When set to true, obtains orders that have been acknowledged. When + * false, obtains orders that have not been acknowledged. We recommend using + * this filter set to false, in conjunction with the acknowledge call, such that + * only un-acknowledged orders are returned. + * @opt_param string maxResults The maximum number of orders to return in the + * response, used for paging. The default value is 25 orders per page, and the + * maximum allowed value is 250 orders per page. Known issue: All List calls + * will return all Orders without limit regardless of the value of this field. + * @opt_param string orderBy The ordering of the returned list. The only + * supported value are placedDate desc and placedDate asc for now, which returns + * orders sorted by placement date. "placedDate desc" stands for listing orders + * by placement date, from oldest to most recent. "placedDate asc" stands for + * listing orders by placement date, from most recent to oldest. In future + * releases we'll support other sorting criteria. + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string placedDateEnd Obtains orders placed before this date + * (exclusively), in ISO 8601 format. + * @opt_param string placedDateStart Obtains orders placed after this date + * (inclusively), in ISO 8601 format. + * @opt_param string statuses Obtains orders that match any of the specified + * statuses. Multiple values can be specified with comma separation. + * Additionally, please note that active is a shortcut for pendingShipment and + * partiallyShipped, and completed is a shortcut for shipped , + * partiallyDelivered, delivered, partiallyReturned, returned, and canceled. + * @return Google_Service_ShoppingContent_OrdersListResponse + */ + public function listOrders($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_OrdersListResponse"); + } + /** + * Refund a portion of the order, up to the full amount paid. This method can + * only be called for non-multi-client accounts. (orders.refund) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order to refund. + * @param Google_Service_ShoppingContent_OrdersRefundRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersRefundResponse + */ + public function refund($merchantId, $orderId, Google_Service_ShoppingContent_OrdersRefundRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('refund', array($params), "Google_Service_ShoppingContent_OrdersRefundResponse"); + } + /** + * Returns a line item. This method can only be called for non-multi-client + * accounts. (orders.returnlineitem) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersReturnLineItemResponse + */ + public function returnlineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('returnlineitem', array($params), "Google_Service_ShoppingContent_OrdersReturnLineItemResponse"); + } + /** + * Marks line item(s) as shipped. This method can only be called for non-multi- + * client accounts. (orders.shiplineitems) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersShipLineItemsResponse + */ + public function shiplineitems($merchantId, $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('shiplineitems', array($params), "Google_Service_ShoppingContent_OrdersShipLineItemsResponse"); + } + /** + * Updates the merchant order ID for a given order. This method can only be + * called for non-multi-client accounts. (orders.updatemerchantorderid) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse + */ + public function updatemerchantorderid($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatemerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse"); + } + /** + * Updates a shipment's status, carrier, and/or tracking ID. This method can + * only be called for non-multi-client accounts. (orders.updateshipment) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersUpdateShipmentResponse + */ + public function updateshipment($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateshipment', array($params), "Google_Service_ShoppingContent_OrdersUpdateShipmentResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php new file mode 100644 index 00000000..1ff1e43c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php @@ -0,0 +1,116 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $products = $contentService->products; + * + */ +class Google_Service_ShoppingContent_Resource_Products extends Google_Service_Resource +{ + /** + * Retrieves, inserts, and deletes multiple products in a single request. This + * method can only be called for non-multi-client accounts. + * (products.custombatch) + * + * @param Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse"); + } + /** + * Deletes a product from your Merchant Center account. This method can only be + * called for non-multi-client accounts. (products.delete) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves a product from your Merchant Center account. This method can only + * be called for non-multi-client accounts. (products.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Product + */ + public function get($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Product"); + } + /** + * Uploads a product to your Merchant Center account. If an item with the same + * channel, contentLanguage, offerId, and targetCountry already exists, this + * method updates that entry. This method can only be called for non-multi- + * client accounts. (products.insert) + * + * @param string $merchantId The ID of the managing account. + * @param Google_Service_ShoppingContent_Product $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Product + */ + public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product"); + } + /** + * Lists the products in your Merchant Center account. This method can only be + * called for non-multi-client accounts. (products.listProducts) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInvalidInsertedItems Flag to include the invalid + * inserted items in the result of the list request. By default the invalid + * items are not shown (the default value is false). + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_ProductsListResponse + */ + public function listProducts($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php new file mode 100644 index 00000000..5e1ab09e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Productstatuses.php @@ -0,0 +1,79 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $productstatuses = $contentService->productstatuses; + * + */ +class Google_Service_ShoppingContent_Resource_Productstatuses extends Google_Service_Resource +{ + /** + * Gets the statuses of multiple products in a single request. This method can + * only be called for non-multi-client accounts. (productstatuses.custombatch) + * + * @param Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse"); + } + /** + * Gets the status of a product from your Merchant Center account. This method + * can only be called for non-multi-client accounts. (productstatuses.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ProductStatus + */ + public function get($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus"); + } + /** + * Lists the statuses of the products in your Merchant Center account. This + * method can only be called for non-multi-client accounts. + * (productstatuses.listProductstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInvalidInsertedItems Flag to include the invalid + * inserted items in the result of the list request. By default the invalid + * items are not shown (the default value is false). + * @opt_param string maxResults The maximum number of product statuses to return + * in the response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_ProductstatusesListResponse + */ + public function listProductstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php new file mode 100644 index 00000000..5bb94aa9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Shippingsettings.php @@ -0,0 +1,138 @@ + + * $contentService = new Google_Service_ShoppingContent(...); + * $shippingsettings = $contentService->shippingsettings; + * + */ +class Google_Service_ShoppingContent_Resource_Shippingsettings extends Google_Service_Resource +{ + /** + * Retrieves and updates the shipping settings of multiple accounts in a single + * request. (shippingsettings.custombatch) + * + * @param Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse"); + } + /** + * Retrieves the shipping settings of the account. This method can only be + * called for accounts to which the managing account has access: either the + * managing account itself or sub-accounts if the managing account is a multi- + * client account. (shippingsettings.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * shipping settings. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ShippingSettings + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_ShippingSettings"); + } + /** + * Retrieves supported carriers and carrier services for an account. + * (shippingsettings.getsupportedcarriers) + * + * @param string $merchantId The ID of the account for which to retrieve the + * supported carriers. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse + */ + public function getsupportedcarriers($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('getsupportedcarriers', array($params), "Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse"); + } + /** + * Lists the shipping settings of the sub-accounts in your Merchant Center + * account. This method can only be called for multi-client accounts. + * (shippingsettings.listShippingsettings) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of shipping settings to + * return in the response, used for paging. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_ShoppingContent_ShippingsettingsListResponse + */ + public function listShippingsettings($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_ShippingsettingsListResponse"); + } + /** + * Updates the shipping settings of the account. This method can only be called + * for accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. This method supports patch semantics. (shippingsettings.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * shipping settings. + * @param Google_Service_ShoppingContent_ShippingSettings $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_ShippingSettings + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_ShippingSettings $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_ShippingSettings"); + } + /** + * Updates the shipping settings of the account. This method can only be called + * for accounts to which the managing account has access: either the managing + * account itself or sub-accounts if the managing account is a multi-client + * account. (shippingsettings.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * shipping settings. + * @param Google_Service_ShoppingContent_ShippingSettings $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_ShippingSettings + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_ShippingSettings $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_ShippingSettings"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php new file mode 100644 index 00000000..911cc870 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Row.php @@ -0,0 +1,32 @@ +cells = $cells; + } + public function getCells() + { + return $this->cells; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php new file mode 100644 index 00000000..ba428e9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Service.php @@ -0,0 +1,78 @@ +active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setDeliveryCountry($deliveryCountry) + { + $this->deliveryCountry = $deliveryCountry; + } + public function getDeliveryCountry() + { + return $this->deliveryCountry; + } + public function setDeliveryTime(Google_Service_ShoppingContent_DeliveryTime $deliveryTime) + { + $this->deliveryTime = $deliveryTime; + } + public function getDeliveryTime() + { + return $this->deliveryTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRateGroups($rateGroups) + { + $this->rateGroups = $rateGroups; + } + public function getRateGroups() + { + return $this->rateGroups; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php new file mode 100644 index 00000000..8e63dfa0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingSettings.php @@ -0,0 +1,51 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setPostalCodeGroups($postalCodeGroups) + { + $this->postalCodeGroups = $postalCodeGroups; + } + public function getPostalCodeGroups() + { + return $this->postalCodeGroups; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php new file mode 100644 index 00000000..e77b003b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequest.php @@ -0,0 +1,32 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php new file mode 100644 index 00000000..b27d568a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchRequestEntry.php @@ -0,0 +1,67 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setShippingSettings(Google_Service_ShoppingContent_ShippingSettings $shippingSettings) + { + $this->shippingSettings = $shippingSettings; + } + public function getShippingSettings() + { + return $this->shippingSettings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php new file mode 100644 index 00000000..97ef6d22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponse.php @@ -0,0 +1,41 @@ +entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php new file mode 100644 index 00000000..b9690e96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsCustomBatchResponseEntry.php @@ -0,0 +1,59 @@ +batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setShippingSettings(Google_Service_ShoppingContent_ShippingSettings $shippingSettings) + { + $this->shippingSettings = $shippingSettings; + } + public function getShippingSettings() + { + return $this->shippingSettings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php new file mode 100644 index 00000000..470c0e5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsGetSupportedCarriersResponse.php @@ -0,0 +1,41 @@ +carriers = $carriers; + } + public function getCarriers() + { + return $this->carriers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php new file mode 100644 index 00000000..0f09f051 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/ShippingsettingsListResponse.php @@ -0,0 +1,50 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php new file mode 100644 index 00000000..ef4a1114 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Table.php @@ -0,0 +1,61 @@ +columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRowHeaders(Google_Service_ShoppingContent_Headers $rowHeaders) + { + $this->rowHeaders = $rowHeaders; + } + public function getRowHeaders() + { + return $this->rowHeaders; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php new file mode 100644 index 00000000..cb4ff108 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrder.php @@ -0,0 +1,109 @@ +customer = $customer; + } + public function getCustomer() + { + return $this->customer; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setPaymentMethod(Google_Service_ShoppingContent_TestOrderPaymentMethod $paymentMethod) + { + $this->paymentMethod = $paymentMethod; + } + public function getPaymentMethod() + { + return $this->paymentMethod; + } + public function setPredefinedDeliveryAddress($predefinedDeliveryAddress) + { + $this->predefinedDeliveryAddress = $predefinedDeliveryAddress; + } + public function getPredefinedDeliveryAddress() + { + return $this->predefinedDeliveryAddress; + } + public function setPromotions($promotions) + { + $this->promotions = $promotions; + } + public function getPromotions() + { + return $this->promotions; + } + public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) + { + $this->shippingCost = $shippingCost; + } + public function getShippingCost() + { + return $this->shippingCost; + } + public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) + { + $this->shippingCostTax = $shippingCostTax; + } + public function getShippingCostTax() + { + return $this->shippingCostTax; + } + public function setShippingOption($shippingOption) + { + $this->shippingOption = $shippingOption; + } + public function getShippingOption() + { + return $this->shippingOption; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php new file mode 100644 index 00000000..23a1bae8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderCustomer.php @@ -0,0 +1,48 @@ +email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExplicitMarketingPreference($explicitMarketingPreference) + { + $this->explicitMarketingPreference = $explicitMarketingPreference; + } + public function getExplicitMarketingPreference() + { + return $this->explicitMarketingPreference; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php new file mode 100644 index 00000000..cacf4f6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItem.php @@ -0,0 +1,70 @@ +product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setQuantityOrdered($quantityOrdered) + { + $this->quantityOrdered = $quantityOrdered; + } + public function getQuantityOrdered() + { + return $this->quantityOrdered; + } + public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) + { + $this->returnInfo = $returnInfo; + } + public function getReturnInfo() + { + return $this->returnInfo; + } + public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) + { + $this->shippingDetails = $shippingDetails; + } + public function getShippingDetails() + { + return $this->shippingDetails; + } + public function setUnitTax(Google_Service_ShoppingContent_Price $unitTax) + { + $this->unitTax = $unitTax; + } + public function getUnitTax() + { + return $this->unitTax; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php new file mode 100644 index 00000000..ed3d0cbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderLineItemProduct.php @@ -0,0 +1,141 @@ +brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVariantAttributes($variantAttributes) + { + $this->variantAttributes = $variantAttributes; + } + public function getVariantAttributes() + { + return $this->variantAttributes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php new file mode 100644 index 00000000..e63041f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/TestOrderPaymentMethod.php @@ -0,0 +1,66 @@ +expirationMonth = $expirationMonth; + } + public function getExpirationMonth() + { + return $this->expirationMonth; + } + public function setExpirationYear($expirationYear) + { + $this->expirationYear = $expirationYear; + } + public function getExpirationYear() + { + return $this->expirationYear; + } + public function setLastFourDigits($lastFourDigits) + { + $this->lastFourDigits = $lastFourDigits; + } + public function getLastFourDigits() + { + return $this->lastFourDigits; + } + public function setPredefinedBillingAddress($predefinedBillingAddress) + { + $this->predefinedBillingAddress = $predefinedBillingAddress; + } + public function getPredefinedBillingAddress() + { + return $this->predefinedBillingAddress; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php new file mode 100644 index 00000000..a3f550d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Value.php @@ -0,0 +1,67 @@ +carrierRateName = $carrierRateName; + } + public function getCarrierRateName() + { + return $this->carrierRateName; + } + public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate) + { + $this->flatRate = $flatRate; + } + public function getFlatRate() + { + return $this->flatRate; + } + public function setNoShipping($noShipping) + { + $this->noShipping = $noShipping; + } + public function getNoShipping() + { + return $this->noShipping; + } + public function setPricePercentage($pricePercentage) + { + $this->pricePercentage = $pricePercentage; + } + public function getPricePercentage() + { + return $this->pricePercentage; + } + public function setSubtableName($subtableName) + { + $this->subtableName = $subtableName; + } + public function getSubtableName() + { + return $this->subtableName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php new file mode 100644 index 00000000..16ef3e6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ShoppingContent/Weight.php @@ -0,0 +1,39 @@ +unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php new file mode 100644 index 00000000..f9c0fac0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification.php @@ -0,0 +1,124 @@ + + * Verifies ownership of websites or domains with Google.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_SiteVerification extends Google_Service +{ + /** Manage the list of sites and domains you control. */ + const SITEVERIFICATION = + "https://www.googleapis.com/auth/siteverification"; + /** Manage your new site verifications with Google. */ + const SITEVERIFICATION_VERIFY_ONLY = + "https://www.googleapis.com/auth/siteverification.verify_only"; + + public $webResource; + + /** + * Constructs the internal representation of the SiteVerification service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'siteVerification/v1/'; + $this->version = 'v1'; + $this->serviceName = 'siteVerification'; + + $this->webResource = new Google_Service_SiteVerification_Resource_WebResource( + $this, + $this->serviceName, + 'webResource', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getToken' => array( + 'path' => 'token', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'insert' => array( + 'path' => 'webResource', + 'httpMethod' => 'POST', + 'parameters' => array( + 'verificationMethod' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'webResource', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php new file mode 100644 index 00000000..f931e68f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/Resource/WebResource.php @@ -0,0 +1,124 @@ + + * $siteVerificationService = new Google_Service_SiteVerification(...); + * $webResource = $siteVerificationService->webResource; + * + */ +class Google_Service_SiteVerification_Resource_WebResource extends Google_Service_Resource +{ + /** + * Relinquish ownership of a website or domain. (webResource.delete) + * + * @param string $id The id of a verified site or domain. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get the most current data for a website or domain. (webResource.get) + * + * @param string $id The id of a verified site or domain. + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + /** + * Get a verification token for placing on a website or domain. + * (webResource.getToken) + * + * @param Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse + */ + public function getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getToken', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse"); + } + /** + * Attempt verification of a website or domain. (webResource.insert) + * + * @param string $verificationMethod The method to use for verifying a site or + * domain. + * @param Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function insert($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('verificationMethod' => $verificationMethod, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + /** + * Get the list of your verified websites and domains. + * (webResource.listWebResource) + * + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceListResponse + */ + public function listWebResource($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceListResponse"); + } + /** + * Modify the list of owners for your website or domain. This method supports + * patch semantics. (webResource.patch) + * + * @param string $id The id of a verified site or domain. + * @param Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function patch($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + /** + * Modify the list of owners for your website or domain. (webResource.update) + * + * @param string $id The id of a verified site or domain. + * @param Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function update($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php new file mode 100644 index 00000000..3c3f8f1e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequest.php @@ -0,0 +1,40 @@ +site = $site; + } + public function getSite() + { + return $this->site; + } + public function setVerificationMethod($verificationMethod) + { + $this->verificationMethod = $verificationMethod; + } + public function getVerificationMethod() + { + return $this->verificationMethod; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php new file mode 100644 index 00000000..2f6a965c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenRequestSite.php @@ -0,0 +1,39 @@ +identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php new file mode 100644 index 00000000..10f7f616 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceGettokenResponse.php @@ -0,0 +1,39 @@ +method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php new file mode 100644 index 00000000..437c6dcb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceListResponse.php @@ -0,0 +1,32 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php new file mode 100644 index 00000000..431bc171 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResource.php @@ -0,0 +1,50 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setSite(Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite $site) + { + $this->site = $site; + } + public function getSite() + { + return $this->site; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php new file mode 100644 index 00000000..12cd103f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/SiteVerification/SiteVerificationWebResourceResourceSite.php @@ -0,0 +1,39 @@ +identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php new file mode 100644 index 00000000..4b3b3eb7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides.php @@ -0,0 +1,128 @@ + + * An API for creating and editing Google Slides presentations.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Slides extends Google_Service +{ + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + /** View and manage your Google Slides presentations. */ + const PRESENTATIONS = + "https://www.googleapis.com/auth/presentations"; + /** View your Google Slides presentations. */ + const PRESENTATIONS_READONLY = + "https://www.googleapis.com/auth/presentations.readonly"; + /** View and manage your spreadsheets in Google Drive. */ + const SPREADSHEETS = + "https://www.googleapis.com/auth/spreadsheets"; + /** View your Google Spreadsheets. */ + const SPREADSHEETS_READONLY = + "https://www.googleapis.com/auth/spreadsheets.readonly"; + + public $presentations; + public $presentations_pages; + + /** + * Constructs the internal representation of the Slides service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://slides.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'slides'; + + $this->presentations = new Google_Service_Slides_Resource_Presentations( + $this, + $this->serviceName, + 'presentations', + array( + 'methods' => array( + 'batchUpdate' => array( + 'path' => 'v1/presentations/{presentationId}:batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'presentationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/presentations', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v1/presentations/{+presentationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'presentationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->presentations_pages = new Google_Service_Slides_Resource_PresentationsPages( + $this, + $this->serviceName, + 'pages', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/presentations/{presentationId}/pages/{pageObjectId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'presentationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageObjectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php new file mode 100644 index 00000000..519770d4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AffineTransform.php @@ -0,0 +1,84 @@ +scaleX = $scaleX; + } + public function getScaleX() + { + return $this->scaleX; + } + public function setScaleY($scaleY) + { + $this->scaleY = $scaleY; + } + public function getScaleY() + { + return $this->scaleY; + } + public function setShearX($shearX) + { + $this->shearX = $shearX; + } + public function getShearX() + { + return $this->shearX; + } + public function setShearY($shearY) + { + $this->shearY = $shearY; + } + public function getShearY() + { + return $this->shearY; + } + public function setTranslateX($translateX) + { + $this->translateX = $translateX; + } + public function getTranslateX() + { + return $this->translateX; + } + public function setTranslateY($translateY) + { + $this->translateY = $translateY; + } + public function getTranslateY() + { + return $this->translateY; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php new file mode 100644 index 00000000..c27ca0d5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/AutoText.php @@ -0,0 +1,49 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setStyle(Google_Service_Slides_TextStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php new file mode 100644 index 00000000..cc885add --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationRequest.php @@ -0,0 +1,42 @@ +requests = $requests; + } + public function getRequests() + { + return $this->requests; + } + public function setWriteControl(Google_Service_Slides_WriteControl $writeControl) + { + $this->writeControl = $writeControl; + } + public function getWriteControl() + { + return $this->writeControl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php new file mode 100644 index 00000000..08185adf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/BatchUpdatePresentationResponse.php @@ -0,0 +1,41 @@ +presentationId = $presentationId; + } + public function getPresentationId() + { + return $this->presentationId; + } + public function setReplies($replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php new file mode 100644 index 00000000..b7464996 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Bullet.php @@ -0,0 +1,58 @@ +bulletStyle = $bulletStyle; + } + public function getBulletStyle() + { + return $this->bulletStyle; + } + public function setGlyph($glyph) + { + $this->glyph = $glyph; + } + public function getGlyph() + { + return $this->glyph; + } + public function setListId($listId) + { + $this->listId = $listId; + } + public function getListId() + { + return $this->listId; + } + public function setNestingLevel($nestingLevel) + { + $this->nestingLevel = $nestingLevel; + } + public function getNestingLevel() + { + return $this->nestingLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php new file mode 100644 index 00000000..85e2c00f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorScheme.php @@ -0,0 +1,32 @@ +colors = $colors; + } + public function getColors() + { + return $this->colors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php new file mode 100644 index 00000000..fe032c79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ColorStop.php @@ -0,0 +1,49 @@ +alpha = $alpha; + } + public function getAlpha() + { + return $this->alpha; + } + public function setColor(Google_Service_Slides_OpaqueColor $color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php new file mode 100644 index 00000000..d582ce7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageRequest.php @@ -0,0 +1,49 @@ +elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php new file mode 100644 index 00000000..90db1eb7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateImageResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php new file mode 100644 index 00000000..67a88d06 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineRequest.php @@ -0,0 +1,49 @@ +elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setLineCategory($lineCategory) + { + $this->lineCategory = $lineCategory; + } + public function getLineCategory() + { + return $this->lineCategory; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php new file mode 100644 index 00000000..8083b38a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateLineResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php new file mode 100644 index 00000000..cc6654cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateParagraphBulletsRequest.php @@ -0,0 +1,59 @@ +bulletPreset = $bulletPreset; + } + public function getBulletPreset() + { + return $this->bulletPreset; + } + public function setCellLocation(Google_Service_Slides_TableCellLocation $cellLocation) + { + $this->cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setTextRange(Google_Service_Slides_Range $textRange) + { + $this->textRange = $textRange; + } + public function getTextRange() + { + return $this->textRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php new file mode 100644 index 00000000..099a48b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeRequest.php @@ -0,0 +1,49 @@ +elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setShapeType($shapeType) + { + $this->shapeType = $shapeType; + } + public function getShapeType() + { + return $this->shapeType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php new file mode 100644 index 00000000..7f4d17d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateShapeResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php new file mode 100644 index 00000000..1bdf5b74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartRequest.php @@ -0,0 +1,67 @@ +chartId = $chartId; + } + public function getChartId() + { + return $this->chartId; + } + public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties) + { + $this->elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setLinkingMode($linkingMode) + { + $this->linkingMode = $linkingMode; + } + public function getLinkingMode() + { + return $this->linkingMode; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php new file mode 100644 index 00000000..5397c6cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSheetsChartResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php new file mode 100644 index 00000000..a494cdc5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideRequest.php @@ -0,0 +1,60 @@ +insertionIndex = $insertionIndex; + } + public function getInsertionIndex() + { + return $this->insertionIndex; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setPlaceholderIdMappings($placeholderIdMappings) + { + $this->placeholderIdMappings = $placeholderIdMappings; + } + public function getPlaceholderIdMappings() + { + return $this->placeholderIdMappings; + } + public function setSlideLayoutReference(Google_Service_Slides_LayoutReference $slideLayoutReference) + { + $this->slideLayoutReference = $slideLayoutReference; + } + public function getSlideLayoutReference() + { + return $this->slideLayoutReference; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php new file mode 100644 index 00000000..b307975b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateSlideResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php new file mode 100644 index 00000000..4136352e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableRequest.php @@ -0,0 +1,58 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setElementProperties(Google_Service_Slides_PageElementProperties $elementProperties) + { + $this->elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php new file mode 100644 index 00000000..b5d4f977 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateTableResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php new file mode 100644 index 00000000..9a417d9e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoRequest.php @@ -0,0 +1,58 @@ +elementProperties = $elementProperties; + } + public function getElementProperties() + { + return $this->elementProperties; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php new file mode 100644 index 00000000..d8b3ada6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CreateVideoResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php new file mode 100644 index 00000000..4a403a2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/CropProperties.php @@ -0,0 +1,66 @@ +angle = $angle; + } + public function getAngle() + { + return $this->angle; + } + public function setBottomOffset($bottomOffset) + { + $this->bottomOffset = $bottomOffset; + } + public function getBottomOffset() + { + return $this->bottomOffset; + } + public function setLeftOffset($leftOffset) + { + $this->leftOffset = $leftOffset; + } + public function getLeftOffset() + { + return $this->leftOffset; + } + public function setRightOffset($rightOffset) + { + $this->rightOffset = $rightOffset; + } + public function getRightOffset() + { + return $this->rightOffset; + } + public function setTopOffset($topOffset) + { + $this->topOffset = $topOffset; + } + public function getTopOffset() + { + return $this->topOffset; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php new file mode 100644 index 00000000..2a738e5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteObjectRequest.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php new file mode 100644 index 00000000..66e8adbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteParagraphBulletsRequest.php @@ -0,0 +1,50 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setTextRange(Google_Service_Slides_Range $textRange) + { + $this->textRange = $textRange; + } + public function getTextRange() + { + return $this->textRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php new file mode 100644 index 00000000..d9486046 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableColumnRequest.php @@ -0,0 +1,40 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setTableObjectId($tableObjectId) + { + $this->tableObjectId = $tableObjectId; + } + public function getTableObjectId() + { + return $this->tableObjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php new file mode 100644 index 00000000..da99eee1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTableRowRequest.php @@ -0,0 +1,40 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setTableObjectId($tableObjectId) + { + $this->tableObjectId = $tableObjectId; + } + public function getTableObjectId() + { + return $this->tableObjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php new file mode 100644 index 00000000..3c3cce85 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DeleteTextRequest.php @@ -0,0 +1,50 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setTextRange(Google_Service_Slides_Range $textRange) + { + $this->textRange = $textRange; + } + public function getTextRange() + { + return $this->textRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php new file mode 100644 index 00000000..255e1c33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Dimension.php @@ -0,0 +1,39 @@ +magnitude = $magnitude; + } + public function getMagnitude() + { + return $this->magnitude; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php new file mode 100644 index 00000000..0b40d75a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectRequest.php @@ -0,0 +1,39 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setObjectIds($objectIds) + { + $this->objectIds = $objectIds; + } + public function getObjectIds() + { + return $this->objectIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php new file mode 100644 index 00000000..8088d345 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/DuplicateObjectResponse.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php new file mode 100644 index 00000000..3e304f09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Group.php @@ -0,0 +1,32 @@ +children = $children; + } + public function getChildren() + { + return $this->children; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php new file mode 100644 index 00000000..a6bef02e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Image.php @@ -0,0 +1,40 @@ +contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setImageProperties(Google_Service_Slides_ImageProperties $imageProperties) + { + $this->imageProperties = $imageProperties; + } + public function getImageProperties() + { + return $this->imageProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php new file mode 100644 index 00000000..a4e58c21 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ImageProperties.php @@ -0,0 +1,98 @@ +brightness = $brightness; + } + public function getBrightness() + { + return $this->brightness; + } + public function setContrast($contrast) + { + $this->contrast = $contrast; + } + public function getContrast() + { + return $this->contrast; + } + public function setCropProperties(Google_Service_Slides_CropProperties $cropProperties) + { + $this->cropProperties = $cropProperties; + } + public function getCropProperties() + { + return $this->cropProperties; + } + public function setLink(Google_Service_Slides_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setOutline(Google_Service_Slides_Outline $outline) + { + $this->outline = $outline; + } + public function getOutline() + { + return $this->outline; + } + public function setRecolor(Google_Service_Slides_Recolor $recolor) + { + $this->recolor = $recolor; + } + public function getRecolor() + { + return $this->recolor; + } + public function setShadow(Google_Service_Slides_Shadow $shadow) + { + $this->shadow = $shadow; + } + public function getShadow() + { + return $this->shadow; + } + public function setTransparency($transparency) + { + $this->transparency = $transparency; + } + public function getTransparency() + { + return $this->transparency; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php new file mode 100644 index 00000000..d4203744 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableColumnsRequest.php @@ -0,0 +1,58 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setInsertRight($insertRight) + { + $this->insertRight = $insertRight; + } + public function getInsertRight() + { + return $this->insertRight; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setTableObjectId($tableObjectId) + { + $this->tableObjectId = $tableObjectId; + } + public function getTableObjectId() + { + return $this->tableObjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php new file mode 100644 index 00000000..2926ed4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTableRowsRequest.php @@ -0,0 +1,58 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setInsertBelow($insertBelow) + { + $this->insertBelow = $insertBelow; + } + public function getInsertBelow() + { + return $this->insertBelow; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setTableObjectId($tableObjectId) + { + $this->tableObjectId = $tableObjectId; + } + public function getTableObjectId() + { + return $this->tableObjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php new file mode 100644 index 00000000..c5722029 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/InsertTextRequest.php @@ -0,0 +1,58 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setInsertionIndex($insertionIndex) + { + $this->insertionIndex = $insertionIndex; + } + public function getInsertionIndex() + { + return $this->insertionIndex; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php new file mode 100644 index 00000000..454f305b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutPlaceholderIdMapping.php @@ -0,0 +1,49 @@ +layoutPlaceholder = $layoutPlaceholder; + } + public function getLayoutPlaceholder() + { + return $this->layoutPlaceholder; + } + public function setLayoutPlaceholderObjectId($layoutPlaceholderObjectId) + { + $this->layoutPlaceholderObjectId = $layoutPlaceholderObjectId; + } + public function getLayoutPlaceholderObjectId() + { + return $this->layoutPlaceholderObjectId; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php new file mode 100644 index 00000000..92a9dcae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutProperties.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setMasterObjectId($masterObjectId) + { + $this->masterObjectId = $masterObjectId; + } + public function getMasterObjectId() + { + return $this->masterObjectId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php new file mode 100644 index 00000000..f616d7f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LayoutReference.php @@ -0,0 +1,39 @@ +layoutId = $layoutId; + } + public function getLayoutId() + { + return $this->layoutId; + } + public function setPredefinedLayout($predefinedLayout) + { + $this->predefinedLayout = $predefinedLayout; + } + public function getPredefinedLayout() + { + return $this->predefinedLayout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php new file mode 100644 index 00000000..4f97653f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Line.php @@ -0,0 +1,40 @@ +lineProperties = $lineProperties; + } + public function getLineProperties() + { + return $this->lineProperties; + } + public function setLineType($lineType) + { + $this->lineType = $lineType; + } + public function getLineType() + { + return $this->lineType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php new file mode 100644 index 00000000..5095de44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineFill.php @@ -0,0 +1,31 @@ +solidFill = $solidFill; + } + public function getSolidFill() + { + return $this->solidFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php new file mode 100644 index 00000000..e9f2fdd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/LineProperties.php @@ -0,0 +1,78 @@ +dashStyle = $dashStyle; + } + public function getDashStyle() + { + return $this->dashStyle; + } + public function setEndArrow($endArrow) + { + $this->endArrow = $endArrow; + } + public function getEndArrow() + { + return $this->endArrow; + } + public function setLineFill(Google_Service_Slides_LineFill $lineFill) + { + $this->lineFill = $lineFill; + } + public function getLineFill() + { + return $this->lineFill; + } + public function setLink(Google_Service_Slides_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setStartArrow($startArrow) + { + $this->startArrow = $startArrow; + } + public function getStartArrow() + { + return $this->startArrow; + } + public function setWeight(Google_Service_Slides_Dimension $weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php new file mode 100644 index 00000000..18aab419 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Link.php @@ -0,0 +1,57 @@ +pageObjectId = $pageObjectId; + } + public function getPageObjectId() + { + return $this->pageObjectId; + } + public function setRelativeLink($relativeLink) + { + $this->relativeLink = $relativeLink; + } + public function getRelativeLink() + { + return $this->relativeLink; + } + public function setSlideIndex($slideIndex) + { + $this->slideIndex = $slideIndex; + } + public function getSlideIndex() + { + return $this->slideIndex; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php new file mode 100644 index 00000000..01d97773 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NestingLevel.php @@ -0,0 +1,31 @@ +bulletStyle = $bulletStyle; + } + public function getBulletStyle() + { + return $this->bulletStyle; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php new file mode 100644 index 00000000..60fa69df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/NotesProperties.php @@ -0,0 +1,30 @@ +speakerNotesObjectId = $speakerNotesObjectId; + } + public function getSpeakerNotesObjectId() + { + return $this->speakerNotesObjectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php new file mode 100644 index 00000000..f24dda55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OpaqueColor.php @@ -0,0 +1,40 @@ +rgbColor = $rgbColor; + } + public function getRgbColor() + { + return $this->rgbColor; + } + public function setThemeColor($themeColor) + { + $this->themeColor = $themeColor; + } + public function getThemeColor() + { + return $this->themeColor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php new file mode 100644 index 00000000..2be9bdfc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OptionalColor.php @@ -0,0 +1,31 @@ +opaqueColor = $opaqueColor; + } + public function getOpaqueColor() + { + return $this->opaqueColor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php new file mode 100644 index 00000000..b8c1bb6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Outline.php @@ -0,0 +1,59 @@ +dashStyle = $dashStyle; + } + public function getDashStyle() + { + return $this->dashStyle; + } + public function setOutlineFill(Google_Service_Slides_OutlineFill $outlineFill) + { + $this->outlineFill = $outlineFill; + } + public function getOutlineFill() + { + return $this->outlineFill; + } + public function setPropertyState($propertyState) + { + $this->propertyState = $propertyState; + } + public function getPropertyState() + { + return $this->propertyState; + } + public function setWeight(Google_Service_Slides_Dimension $weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php new file mode 100644 index 00000000..f881e82b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/OutlineFill.php @@ -0,0 +1,31 @@ +solidFill = $solidFill; + } + public function getSolidFill() + { + return $this->solidFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php new file mode 100644 index 00000000..bf060dca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Page.php @@ -0,0 +1,99 @@ +layoutProperties = $layoutProperties; + } + public function getLayoutProperties() + { + return $this->layoutProperties; + } + public function setNotesProperties(Google_Service_Slides_NotesProperties $notesProperties) + { + $this->notesProperties = $notesProperties; + } + public function getNotesProperties() + { + return $this->notesProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setPageElements($pageElements) + { + $this->pageElements = $pageElements; + } + public function getPageElements() + { + return $this->pageElements; + } + public function setPageProperties(Google_Service_Slides_PageProperties $pageProperties) + { + $this->pageProperties = $pageProperties; + } + public function getPageProperties() + { + return $this->pageProperties; + } + public function setPageType($pageType) + { + $this->pageType = $pageType; + } + public function getPageType() + { + return $this->pageType; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } + public function setSlideProperties(Google_Service_Slides_SlideProperties $slideProperties) + { + $this->slideProperties = $slideProperties; + } + public function getSlideProperties() + { + return $this->slideProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php new file mode 100644 index 00000000..83ea0530 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageBackgroundFill.php @@ -0,0 +1,50 @@ +propertyState = $propertyState; + } + public function getPropertyState() + { + return $this->propertyState; + } + public function setSolidFill(Google_Service_Slides_SolidFill $solidFill) + { + $this->solidFill = $solidFill; + } + public function getSolidFill() + { + return $this->solidFill; + } + public function setStretchedPictureFill(Google_Service_Slides_StretchedPictureFill $stretchedPictureFill) + { + $this->stretchedPictureFill = $stretchedPictureFill; + } + public function getStretchedPictureFill() + { + return $this->stretchedPictureFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php new file mode 100644 index 00000000..de293ebc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElement.php @@ -0,0 +1,148 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setElementGroup(Google_Service_Slides_Group $elementGroup) + { + $this->elementGroup = $elementGroup; + } + public function getElementGroup() + { + return $this->elementGroup; + } + public function setImage(Google_Service_Slides_Image $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setLine(Google_Service_Slides_Line $line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setShape(Google_Service_Slides_Shape $shape) + { + $this->shape = $shape; + } + public function getShape() + { + return $this->shape; + } + public function setSheetsChart(Google_Service_Slides_SheetsChart $sheetsChart) + { + $this->sheetsChart = $sheetsChart; + } + public function getSheetsChart() + { + return $this->sheetsChart; + } + public function setSize(Google_Service_Slides_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setTable(Google_Service_Slides_Table $table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTransform(Google_Service_Slides_AffineTransform $transform) + { + $this->transform = $transform; + } + public function getTransform() + { + return $this->transform; + } + public function setVideo(Google_Service_Slides_Video $video) + { + $this->video = $video; + } + public function getVideo() + { + return $this->video; + } + public function setWordArt(Google_Service_Slides_WordArt $wordArt) + { + $this->wordArt = $wordArt; + } + public function getWordArt() + { + return $this->wordArt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php new file mode 100644 index 00000000..4cc2b53b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageElementProperties.php @@ -0,0 +1,50 @@ +pageObjectId = $pageObjectId; + } + public function getPageObjectId() + { + return $this->pageObjectId; + } + public function setSize(Google_Service_Slides_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setTransform(Google_Service_Slides_AffineTransform $transform) + { + $this->transform = $transform; + } + public function getTransform() + { + return $this->transform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php new file mode 100644 index 00000000..944402ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/PageProperties.php @@ -0,0 +1,41 @@ +colorScheme = $colorScheme; + } + public function getColorScheme() + { + return $this->colorScheme; + } + public function setPageBackgroundFill(Google_Service_Slides_PageBackgroundFill $pageBackgroundFill) + { + $this->pageBackgroundFill = $pageBackgroundFill; + } + public function getPageBackgroundFill() + { + return $this->pageBackgroundFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php new file mode 100644 index 00000000..4076c623 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphMarker.php @@ -0,0 +1,41 @@ +bullet = $bullet; + } + public function getBullet() + { + return $this->bullet; + } + public function setStyle(Google_Service_Slides_ParagraphStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php new file mode 100644 index 00000000..b34c6fc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ParagraphStyle.php @@ -0,0 +1,107 @@ +alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setDirection($direction) + { + $this->direction = $direction; + } + public function getDirection() + { + return $this->direction; + } + public function setIndentEnd(Google_Service_Slides_Dimension $indentEnd) + { + $this->indentEnd = $indentEnd; + } + public function getIndentEnd() + { + return $this->indentEnd; + } + public function setIndentFirstLine(Google_Service_Slides_Dimension $indentFirstLine) + { + $this->indentFirstLine = $indentFirstLine; + } + public function getIndentFirstLine() + { + return $this->indentFirstLine; + } + public function setIndentStart(Google_Service_Slides_Dimension $indentStart) + { + $this->indentStart = $indentStart; + } + public function getIndentStart() + { + return $this->indentStart; + } + public function setLineSpacing($lineSpacing) + { + $this->lineSpacing = $lineSpacing; + } + public function getLineSpacing() + { + return $this->lineSpacing; + } + public function setSpaceAbove(Google_Service_Slides_Dimension $spaceAbove) + { + $this->spaceAbove = $spaceAbove; + } + public function getSpaceAbove() + { + return $this->spaceAbove; + } + public function setSpaceBelow(Google_Service_Slides_Dimension $spaceBelow) + { + $this->spaceBelow = $spaceBelow; + } + public function getSpaceBelow() + { + return $this->spaceBelow; + } + public function setSpacingMode($spacingMode) + { + $this->spacingMode = $spacingMode; + } + public function getSpacingMode() + { + return $this->spacingMode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php new file mode 100644 index 00000000..e11f04aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Placeholder.php @@ -0,0 +1,48 @@ +index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setParentObjectId($parentObjectId) + { + $this->parentObjectId = $parentObjectId; + } + public function getParentObjectId() + { + return $this->parentObjectId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php new file mode 100644 index 00000000..186fe3b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Presentation.php @@ -0,0 +1,108 @@ +layouts = $layouts; + } + public function getLayouts() + { + return $this->layouts; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setMasters($masters) + { + $this->masters = $masters; + } + public function getMasters() + { + return $this->masters; + } + public function setNotesMaster(Google_Service_Slides_Page $notesMaster) + { + $this->notesMaster = $notesMaster; + } + public function getNotesMaster() + { + return $this->notesMaster; + } + public function setPageSize(Google_Service_Slides_Size $pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPresentationId($presentationId) + { + $this->presentationId = $presentationId; + } + public function getPresentationId() + { + return $this->presentationId; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } + public function setSlides($slides) + { + $this->slides = $slides; + } + public function getSlides() + { + return $this->slides; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php new file mode 100644 index 00000000..8c12ca83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Range.php @@ -0,0 +1,48 @@ +endIndex = $endIndex; + } + public function getEndIndex() + { + return $this->endIndex; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php new file mode 100644 index 00000000..d824fd01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Recolor.php @@ -0,0 +1,41 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setRecolorStops($recolorStops) + { + $this->recolorStops = $recolorStops; + } + public function getRecolorStops() + { + return $this->recolorStops; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php new file mode 100644 index 00000000..5fba9e4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RefreshSheetsChartRequest.php @@ -0,0 +1,30 @@ +objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php new file mode 100644 index 00000000..4ef20027 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageRequest.php @@ -0,0 +1,49 @@ +containsText = $containsText; + } + public function getContainsText() + { + return $this->containsText; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setReplaceMethod($replaceMethod) + { + $this->replaceMethod = $replaceMethod; + } + public function getReplaceMethod() + { + return $this->replaceMethod; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php new file mode 100644 index 00000000..78a538ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithImageResponse.php @@ -0,0 +1,30 @@ +occurrencesChanged = $occurrencesChanged; + } + public function getOccurrencesChanged() + { + return $this->occurrencesChanged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php new file mode 100644 index 00000000..4cef0ae4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartRequest.php @@ -0,0 +1,58 @@ +chartId = $chartId; + } + public function getChartId() + { + return $this->chartId; + } + public function setContainsText(Google_Service_Slides_SubstringMatchCriteria $containsText) + { + $this->containsText = $containsText; + } + public function getContainsText() + { + return $this->containsText; + } + public function setLinkingMode($linkingMode) + { + $this->linkingMode = $linkingMode; + } + public function getLinkingMode() + { + return $this->linkingMode; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php new file mode 100644 index 00000000..2a0add5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllShapesWithSheetsChartResponse.php @@ -0,0 +1,30 @@ +occurrencesChanged = $occurrencesChanged; + } + public function getOccurrencesChanged() + { + return $this->occurrencesChanged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php new file mode 100644 index 00000000..76e3819f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextRequest.php @@ -0,0 +1,40 @@ +containsText = $containsText; + } + public function getContainsText() + { + return $this->containsText; + } + public function setReplaceText($replaceText) + { + $this->replaceText = $replaceText; + } + public function getReplaceText() + { + return $this->replaceText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php new file mode 100644 index 00000000..fa431f9d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ReplaceAllTextResponse.php @@ -0,0 +1,30 @@ +occurrencesChanged = $occurrencesChanged; + } + public function getOccurrencesChanged() + { + return $this->occurrencesChanged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php new file mode 100644 index 00000000..caa28e2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Request.php @@ -0,0 +1,331 @@ +createImage = $createImage; + } + public function getCreateImage() + { + return $this->createImage; + } + public function setCreateLine(Google_Service_Slides_CreateLineRequest $createLine) + { + $this->createLine = $createLine; + } + public function getCreateLine() + { + return $this->createLine; + } + public function setCreateParagraphBullets(Google_Service_Slides_CreateParagraphBulletsRequest $createParagraphBullets) + { + $this->createParagraphBullets = $createParagraphBullets; + } + public function getCreateParagraphBullets() + { + return $this->createParagraphBullets; + } + public function setCreateShape(Google_Service_Slides_CreateShapeRequest $createShape) + { + $this->createShape = $createShape; + } + public function getCreateShape() + { + return $this->createShape; + } + public function setCreateSheetsChart(Google_Service_Slides_CreateSheetsChartRequest $createSheetsChart) + { + $this->createSheetsChart = $createSheetsChart; + } + public function getCreateSheetsChart() + { + return $this->createSheetsChart; + } + public function setCreateSlide(Google_Service_Slides_CreateSlideRequest $createSlide) + { + $this->createSlide = $createSlide; + } + public function getCreateSlide() + { + return $this->createSlide; + } + public function setCreateTable(Google_Service_Slides_CreateTableRequest $createTable) + { + $this->createTable = $createTable; + } + public function getCreateTable() + { + return $this->createTable; + } + public function setCreateVideo(Google_Service_Slides_CreateVideoRequest $createVideo) + { + $this->createVideo = $createVideo; + } + public function getCreateVideo() + { + return $this->createVideo; + } + public function setDeleteObject(Google_Service_Slides_DeleteObjectRequest $deleteObject) + { + $this->deleteObject = $deleteObject; + } + public function getDeleteObject() + { + return $this->deleteObject; + } + public function setDeleteParagraphBullets(Google_Service_Slides_DeleteParagraphBulletsRequest $deleteParagraphBullets) + { + $this->deleteParagraphBullets = $deleteParagraphBullets; + } + public function getDeleteParagraphBullets() + { + return $this->deleteParagraphBullets; + } + public function setDeleteTableColumn(Google_Service_Slides_DeleteTableColumnRequest $deleteTableColumn) + { + $this->deleteTableColumn = $deleteTableColumn; + } + public function getDeleteTableColumn() + { + return $this->deleteTableColumn; + } + public function setDeleteTableRow(Google_Service_Slides_DeleteTableRowRequest $deleteTableRow) + { + $this->deleteTableRow = $deleteTableRow; + } + public function getDeleteTableRow() + { + return $this->deleteTableRow; + } + public function setDeleteText(Google_Service_Slides_DeleteTextRequest $deleteText) + { + $this->deleteText = $deleteText; + } + public function getDeleteText() + { + return $this->deleteText; + } + public function setDuplicateObject(Google_Service_Slides_DuplicateObjectRequest $duplicateObject) + { + $this->duplicateObject = $duplicateObject; + } + public function getDuplicateObject() + { + return $this->duplicateObject; + } + public function setInsertTableColumns(Google_Service_Slides_InsertTableColumnsRequest $insertTableColumns) + { + $this->insertTableColumns = $insertTableColumns; + } + public function getInsertTableColumns() + { + return $this->insertTableColumns; + } + public function setInsertTableRows(Google_Service_Slides_InsertTableRowsRequest $insertTableRows) + { + $this->insertTableRows = $insertTableRows; + } + public function getInsertTableRows() + { + return $this->insertTableRows; + } + public function setInsertText(Google_Service_Slides_InsertTextRequest $insertText) + { + $this->insertText = $insertText; + } + public function getInsertText() + { + return $this->insertText; + } + public function setRefreshSheetsChart(Google_Service_Slides_RefreshSheetsChartRequest $refreshSheetsChart) + { + $this->refreshSheetsChart = $refreshSheetsChart; + } + public function getRefreshSheetsChart() + { + return $this->refreshSheetsChart; + } + public function setReplaceAllShapesWithImage(Google_Service_Slides_ReplaceAllShapesWithImageRequest $replaceAllShapesWithImage) + { + $this->replaceAllShapesWithImage = $replaceAllShapesWithImage; + } + public function getReplaceAllShapesWithImage() + { + return $this->replaceAllShapesWithImage; + } + public function setReplaceAllShapesWithSheetsChart(Google_Service_Slides_ReplaceAllShapesWithSheetsChartRequest $replaceAllShapesWithSheetsChart) + { + $this->replaceAllShapesWithSheetsChart = $replaceAllShapesWithSheetsChart; + } + public function getReplaceAllShapesWithSheetsChart() + { + return $this->replaceAllShapesWithSheetsChart; + } + public function setReplaceAllText(Google_Service_Slides_ReplaceAllTextRequest $replaceAllText) + { + $this->replaceAllText = $replaceAllText; + } + public function getReplaceAllText() + { + return $this->replaceAllText; + } + public function setUpdateImageProperties(Google_Service_Slides_UpdateImagePropertiesRequest $updateImageProperties) + { + $this->updateImageProperties = $updateImageProperties; + } + public function getUpdateImageProperties() + { + return $this->updateImageProperties; + } + public function setUpdateLineProperties(Google_Service_Slides_UpdateLinePropertiesRequest $updateLineProperties) + { + $this->updateLineProperties = $updateLineProperties; + } + public function getUpdateLineProperties() + { + return $this->updateLineProperties; + } + public function setUpdatePageElementTransform(Google_Service_Slides_UpdatePageElementTransformRequest $updatePageElementTransform) + { + $this->updatePageElementTransform = $updatePageElementTransform; + } + public function getUpdatePageElementTransform() + { + return $this->updatePageElementTransform; + } + public function setUpdatePageProperties(Google_Service_Slides_UpdatePagePropertiesRequest $updatePageProperties) + { + $this->updatePageProperties = $updatePageProperties; + } + public function getUpdatePageProperties() + { + return $this->updatePageProperties; + } + public function setUpdateParagraphStyle(Google_Service_Slides_UpdateParagraphStyleRequest $updateParagraphStyle) + { + $this->updateParagraphStyle = $updateParagraphStyle; + } + public function getUpdateParagraphStyle() + { + return $this->updateParagraphStyle; + } + public function setUpdateShapeProperties(Google_Service_Slides_UpdateShapePropertiesRequest $updateShapeProperties) + { + $this->updateShapeProperties = $updateShapeProperties; + } + public function getUpdateShapeProperties() + { + return $this->updateShapeProperties; + } + public function setUpdateSlidesPosition(Google_Service_Slides_UpdateSlidesPositionRequest $updateSlidesPosition) + { + $this->updateSlidesPosition = $updateSlidesPosition; + } + public function getUpdateSlidesPosition() + { + return $this->updateSlidesPosition; + } + public function setUpdateTableCellProperties(Google_Service_Slides_UpdateTableCellPropertiesRequest $updateTableCellProperties) + { + $this->updateTableCellProperties = $updateTableCellProperties; + } + public function getUpdateTableCellProperties() + { + return $this->updateTableCellProperties; + } + public function setUpdateTextStyle(Google_Service_Slides_UpdateTextStyleRequest $updateTextStyle) + { + $this->updateTextStyle = $updateTextStyle; + } + public function getUpdateTextStyle() + { + return $this->updateTextStyle; + } + public function setUpdateVideoProperties(Google_Service_Slides_UpdateVideoPropertiesRequest $updateVideoProperties) + { + $this->updateVideoProperties = $updateVideoProperties; + } + public function getUpdateVideoProperties() + { + return $this->updateVideoProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php new file mode 100644 index 00000000..4aea9973 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/Presentations.php @@ -0,0 +1,87 @@ + + * $slidesService = new Google_Service_Slides(...); + * $presentations = $slidesService->presentations; + * + */ +class Google_Service_Slides_Resource_Presentations extends Google_Service_Resource +{ + /** + * Applies one or more updates to the presentation. + * + * Each request is validated before being applied. If any request is not valid, + * then the entire request will fail and nothing will be applied. + * + * Some requests have replies to give you some information about how they are + * applied. Other requests do not need to return information; these each return + * an empty reply. The order of replies matches that of the requests. + * + * For example, suppose you call batchUpdate with four updates, and only the + * third one returns information. The response would have two empty replies: the + * reply to the third request, and another empty reply, in that order. + * + * Because other users may be editing the presentation, the presentation might + * not exactly reflect your changes: your changes may be altered with respect to + * collaborator changes. If there are no collaborators, the presentation should + * reflect your changes. In any case, the updates in your request are guaranteed + * to be applied together atomically. (presentations.batchUpdate) + * + * @param string $presentationId The presentation to apply the updates to. + * @param Google_Service_Slides_BatchUpdatePresentationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Slides_BatchUpdatePresentationResponse + */ + public function batchUpdate($presentationId, Google_Service_Slides_BatchUpdatePresentationRequest $postBody, $optParams = array()) + { + $params = array('presentationId' => $presentationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_Slides_BatchUpdatePresentationResponse"); + } + /** + * Creates a new presentation using the title given in the request. Other fields + * in the request are ignored. Returns the created presentation. + * (presentations.create) + * + * @param Google_Service_Slides_Presentation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Slides_Presentation + */ + public function create(Google_Service_Slides_Presentation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Slides_Presentation"); + } + /** + * Gets the latest version of the specified presentation. (presentations.get) + * + * @param string $presentationId The ID of the presentation to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Slides_Presentation + */ + public function get($presentationId, $optParams = array()) + { + $params = array('presentationId' => $presentationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Slides_Presentation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php new file mode 100644 index 00000000..8e54b516 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Resource/PresentationsPages.php @@ -0,0 +1,43 @@ + + * $slidesService = new Google_Service_Slides(...); + * $pages = $slidesService->pages; + * + */ +class Google_Service_Slides_Resource_PresentationsPages extends Google_Service_Resource +{ + /** + * Gets the latest version of the specified page in the presentation. + * (pages.get) + * + * @param string $presentationId The ID of the presentation to retrieve. + * @param string $pageObjectId The object ID of the page to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Slides_Page + */ + public function get($presentationId, $pageObjectId, $optParams = array()) + { + $params = array('presentationId' => $presentationId, 'pageObjectId' => $pageObjectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Slides_Page"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php new file mode 100644 index 00000000..eea62550 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Response.php @@ -0,0 +1,131 @@ +createImage = $createImage; + } + public function getCreateImage() + { + return $this->createImage; + } + public function setCreateLine(Google_Service_Slides_CreateLineResponse $createLine) + { + $this->createLine = $createLine; + } + public function getCreateLine() + { + return $this->createLine; + } + public function setCreateShape(Google_Service_Slides_CreateShapeResponse $createShape) + { + $this->createShape = $createShape; + } + public function getCreateShape() + { + return $this->createShape; + } + public function setCreateSheetsChart(Google_Service_Slides_CreateSheetsChartResponse $createSheetsChart) + { + $this->createSheetsChart = $createSheetsChart; + } + public function getCreateSheetsChart() + { + return $this->createSheetsChart; + } + public function setCreateSlide(Google_Service_Slides_CreateSlideResponse $createSlide) + { + $this->createSlide = $createSlide; + } + public function getCreateSlide() + { + return $this->createSlide; + } + public function setCreateTable(Google_Service_Slides_CreateTableResponse $createTable) + { + $this->createTable = $createTable; + } + public function getCreateTable() + { + return $this->createTable; + } + public function setCreateVideo(Google_Service_Slides_CreateVideoResponse $createVideo) + { + $this->createVideo = $createVideo; + } + public function getCreateVideo() + { + return $this->createVideo; + } + public function setDuplicateObject(Google_Service_Slides_DuplicateObjectResponse $duplicateObject) + { + $this->duplicateObject = $duplicateObject; + } + public function getDuplicateObject() + { + return $this->duplicateObject; + } + public function setReplaceAllShapesWithImage(Google_Service_Slides_ReplaceAllShapesWithImageResponse $replaceAllShapesWithImage) + { + $this->replaceAllShapesWithImage = $replaceAllShapesWithImage; + } + public function getReplaceAllShapesWithImage() + { + return $this->replaceAllShapesWithImage; + } + public function setReplaceAllShapesWithSheetsChart(Google_Service_Slides_ReplaceAllShapesWithSheetsChartResponse $replaceAllShapesWithSheetsChart) + { + $this->replaceAllShapesWithSheetsChart = $replaceAllShapesWithSheetsChart; + } + public function getReplaceAllShapesWithSheetsChart() + { + return $this->replaceAllShapesWithSheetsChart; + } + public function setReplaceAllText(Google_Service_Slides_ReplaceAllTextResponse $replaceAllText) + { + $this->replaceAllText = $replaceAllText; + } + public function getReplaceAllText() + { + return $this->replaceAllText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php new file mode 100644 index 00000000..80d7d24b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/RgbColor.php @@ -0,0 +1,48 @@ +blue = $blue; + } + public function getBlue() + { + return $this->blue; + } + public function setGreen($green) + { + $this->green = $green; + } + public function getGreen() + { + return $this->green; + } + public function setRed($red) + { + $this->red = $red; + } + public function getRed() + { + return $this->red; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php new file mode 100644 index 00000000..2d0aa486 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shadow.php @@ -0,0 +1,96 @@ +alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setAlpha($alpha) + { + $this->alpha = $alpha; + } + public function getAlpha() + { + return $this->alpha; + } + public function setBlurRadius(Google_Service_Slides_Dimension $blurRadius) + { + $this->blurRadius = $blurRadius; + } + public function getBlurRadius() + { + return $this->blurRadius; + } + public function setColor(Google_Service_Slides_OpaqueColor $color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setPropertyState($propertyState) + { + $this->propertyState = $propertyState; + } + public function getPropertyState() + { + return $this->propertyState; + } + public function setRotateWithShape($rotateWithShape) + { + $this->rotateWithShape = $rotateWithShape; + } + public function getRotateWithShape() + { + return $this->rotateWithShape; + } + public function setTransform(Google_Service_Slides_AffineTransform $transform) + { + $this->transform = $transform; + } + public function getTransform() + { + return $this->transform; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php new file mode 100644 index 00000000..46ed9fa9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Shape.php @@ -0,0 +1,60 @@ +placeholder = $placeholder; + } + public function getPlaceholder() + { + return $this->placeholder; + } + public function setShapeProperties(Google_Service_Slides_ShapeProperties $shapeProperties) + { + $this->shapeProperties = $shapeProperties; + } + public function getShapeProperties() + { + return $this->shapeProperties; + } + public function setShapeType($shapeType) + { + $this->shapeType = $shapeType; + } + public function getShapeType() + { + return $this->shapeType; + } + public function setText(Google_Service_Slides_TextContent $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php new file mode 100644 index 00000000..a40878c4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeBackgroundFill.php @@ -0,0 +1,40 @@ +propertyState = $propertyState; + } + public function getPropertyState() + { + return $this->propertyState; + } + public function setSolidFill(Google_Service_Slides_SolidFill $solidFill) + { + $this->solidFill = $solidFill; + } + public function getSolidFill() + { + return $this->solidFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php new file mode 100644 index 00000000..6eeaf915 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ShapeProperties.php @@ -0,0 +1,61 @@ +link = $link; + } + public function getLink() + { + return $this->link; + } + public function setOutline(Google_Service_Slides_Outline $outline) + { + $this->outline = $outline; + } + public function getOutline() + { + return $this->outline; + } + public function setShadow(Google_Service_Slides_Shadow $shadow) + { + $this->shadow = $shadow; + } + public function getShadow() + { + return $this->shadow; + } + public function setShapeBackgroundFill(Google_Service_Slides_ShapeBackgroundFill $shapeBackgroundFill) + { + $this->shapeBackgroundFill = $shapeBackgroundFill; + } + public function getShapeBackgroundFill() + { + return $this->shapeBackgroundFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php new file mode 100644 index 00000000..9117844e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChart.php @@ -0,0 +1,58 @@ +chartId = $chartId; + } + public function getChartId() + { + return $this->chartId; + } + public function setContentUrl($contentUrl) + { + $this->contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setSheetsChartProperties(Google_Service_Slides_SheetsChartProperties $sheetsChartProperties) + { + $this->sheetsChartProperties = $sheetsChartProperties; + } + public function getSheetsChartProperties() + { + return $this->sheetsChartProperties; + } + public function setSpreadsheetId($spreadsheetId) + { + $this->spreadsheetId = $spreadsheetId; + } + public function getSpreadsheetId() + { + return $this->spreadsheetId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php new file mode 100644 index 00000000..3953ab5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SheetsChartProperties.php @@ -0,0 +1,31 @@ +chartImageProperties = $chartImageProperties; + } + public function getChartImageProperties() + { + return $this->chartImageProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php new file mode 100644 index 00000000..baba3854 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Size.php @@ -0,0 +1,41 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth(Google_Service_Slides_Dimension $width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php new file mode 100644 index 00000000..dc9b5986 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlideProperties.php @@ -0,0 +1,49 @@ +layoutObjectId = $layoutObjectId; + } + public function getLayoutObjectId() + { + return $this->layoutObjectId; + } + public function setMasterObjectId($masterObjectId) + { + $this->masterObjectId = $masterObjectId; + } + public function getMasterObjectId() + { + return $this->masterObjectId; + } + public function setNotesPage(Google_Service_Slides_Page $notesPage) + { + $this->notesPage = $notesPage; + } + public function getNotesPage() + { + return $this->notesPage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php new file mode 100644 index 00000000..cf360406 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SlidesList.php @@ -0,0 +1,40 @@ +listId = $listId; + } + public function getListId() + { + return $this->listId; + } + public function setNestingLevel($nestingLevel) + { + $this->nestingLevel = $nestingLevel; + } + public function getNestingLevel() + { + return $this->nestingLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php new file mode 100644 index 00000000..beaff228 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SolidFill.php @@ -0,0 +1,40 @@ +alpha = $alpha; + } + public function getAlpha() + { + return $this->alpha; + } + public function setColor(Google_Service_Slides_OpaqueColor $color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php new file mode 100644 index 00000000..a85cda4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/StretchedPictureFill.php @@ -0,0 +1,40 @@ +contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setSize(Google_Service_Slides_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php new file mode 100644 index 00000000..7afce04f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/SubstringMatchCriteria.php @@ -0,0 +1,39 @@ +matchCase = $matchCase; + } + public function getMatchCase() + { + return $this->matchCase; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php new file mode 100644 index 00000000..fd3d7cd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Table.php @@ -0,0 +1,60 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTableColumns($tableColumns) + { + $this->tableColumns = $tableColumns; + } + public function getTableColumns() + { + return $this->tableColumns; + } + public function setTableRows($tableRows) + { + $this->tableRows = $tableRows; + } + public function getTableRows() + { + return $this->tableRows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php new file mode 100644 index 00000000..69a431c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCell.php @@ -0,0 +1,69 @@ +columnSpan = $columnSpan; + } + public function getColumnSpan() + { + return $this->columnSpan; + } + public function setLocation(Google_Service_Slides_TableCellLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setRowSpan($rowSpan) + { + $this->rowSpan = $rowSpan; + } + public function getRowSpan() + { + return $this->rowSpan; + } + public function setTableCellProperties(Google_Service_Slides_TableCellProperties $tableCellProperties) + { + $this->tableCellProperties = $tableCellProperties; + } + public function getTableCellProperties() + { + return $this->tableCellProperties; + } + public function setText(Google_Service_Slides_TextContent $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php new file mode 100644 index 00000000..38ec818b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellBackgroundFill.php @@ -0,0 +1,40 @@ +propertyState = $propertyState; + } + public function getPropertyState() + { + return $this->propertyState; + } + public function setSolidFill(Google_Service_Slides_SolidFill $solidFill) + { + $this->solidFill = $solidFill; + } + public function getSolidFill() + { + return $this->solidFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php new file mode 100644 index 00000000..fd111081 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellLocation.php @@ -0,0 +1,39 @@ +columnIndex = $columnIndex; + } + public function getColumnIndex() + { + return $this->columnIndex; + } + public function setRowIndex($rowIndex) + { + $this->rowIndex = $rowIndex; + } + public function getRowIndex() + { + return $this->rowIndex; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php new file mode 100644 index 00000000..59e6e639 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableCellProperties.php @@ -0,0 +1,31 @@ +tableCellBackgroundFill = $tableCellBackgroundFill; + } + public function getTableCellBackgroundFill() + { + return $this->tableCellBackgroundFill; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php new file mode 100644 index 00000000..99d2f10c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableColumnProperties.php @@ -0,0 +1,31 @@ +columnWidth = $columnWidth; + } + public function getColumnWidth() + { + return $this->columnWidth; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php new file mode 100644 index 00000000..bc451847 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRange.php @@ -0,0 +1,49 @@ +columnSpan = $columnSpan; + } + public function getColumnSpan() + { + return $this->columnSpan; + } + public function setLocation(Google_Service_Slides_TableCellLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setRowSpan($rowSpan) + { + $this->rowSpan = $rowSpan; + } + public function getRowSpan() + { + return $this->rowSpan; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php new file mode 100644 index 00000000..41bce0f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TableRow.php @@ -0,0 +1,42 @@ +rowHeight = $rowHeight; + } + public function getRowHeight() + { + return $this->rowHeight; + } + public function setTableCells($tableCells) + { + $this->tableCells = $tableCells; + } + public function getTableCells() + { + return $this->tableCells; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php new file mode 100644 index 00000000..e4ec285d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextContent.php @@ -0,0 +1,42 @@ +lists = $lists; + } + public function getLists() + { + return $this->lists; + } + public function setTextElements($textElements) + { + $this->textElements = $textElements; + } + public function getTextElements() + { + return $this->textElements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php new file mode 100644 index 00000000..30b5c9bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextElement.php @@ -0,0 +1,69 @@ +autoText = $autoText; + } + public function getAutoText() + { + return $this->autoText; + } + public function setEndIndex($endIndex) + { + $this->endIndex = $endIndex; + } + public function getEndIndex() + { + return $this->endIndex; + } + public function setParagraphMarker(Google_Service_Slides_ParagraphMarker $paragraphMarker) + { + $this->paragraphMarker = $paragraphMarker; + } + public function getParagraphMarker() + { + return $this->paragraphMarker; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTextRun(Google_Service_Slides_TextRun $textRun) + { + $this->textRun = $textRun; + } + public function getTextRun() + { + return $this->textRun; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php new file mode 100644 index 00000000..979318fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextRun.php @@ -0,0 +1,40 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setStyle(Google_Service_Slides_TextStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php new file mode 100644 index 00000000..407fe489 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/TextStyle.php @@ -0,0 +1,134 @@ +backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setBaselineOffset($baselineOffset) + { + $this->baselineOffset = $baselineOffset; + } + public function getBaselineOffset() + { + return $this->baselineOffset; + } + public function setBold($bold) + { + $this->bold = $bold; + } + public function getBold() + { + return $this->bold; + } + public function setFontFamily($fontFamily) + { + $this->fontFamily = $fontFamily; + } + public function getFontFamily() + { + return $this->fontFamily; + } + public function setFontSize(Google_Service_Slides_Dimension $fontSize) + { + $this->fontSize = $fontSize; + } + public function getFontSize() + { + return $this->fontSize; + } + public function setForegroundColor(Google_Service_Slides_OptionalColor $foregroundColor) + { + $this->foregroundColor = $foregroundColor; + } + public function getForegroundColor() + { + return $this->foregroundColor; + } + public function setItalic($italic) + { + $this->italic = $italic; + } + public function getItalic() + { + return $this->italic; + } + public function setLink(Google_Service_Slides_Link $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setSmallCaps($smallCaps) + { + $this->smallCaps = $smallCaps; + } + public function getSmallCaps() + { + return $this->smallCaps; + } + public function setStrikethrough($strikethrough) + { + $this->strikethrough = $strikethrough; + } + public function getStrikethrough() + { + return $this->strikethrough; + } + public function setUnderline($underline) + { + $this->underline = $underline; + } + public function getUnderline() + { + return $this->underline; + } + public function setWeightedFontFamily(Google_Service_Slides_WeightedFontFamily $weightedFontFamily) + { + $this->weightedFontFamily = $weightedFontFamily; + } + public function getWeightedFontFamily() + { + return $this->weightedFontFamily; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php new file mode 100644 index 00000000..8424997a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/ThemeColorPair.php @@ -0,0 +1,40 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php new file mode 100644 index 00000000..d4fc99d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateImagePropertiesRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setImageProperties(Google_Service_Slides_ImageProperties $imageProperties) + { + $this->imageProperties = $imageProperties; + } + public function getImageProperties() + { + return $this->imageProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php new file mode 100644 index 00000000..92c56e2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateLinePropertiesRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setLineProperties(Google_Service_Slides_LineProperties $lineProperties) + { + $this->lineProperties = $lineProperties; + } + public function getLineProperties() + { + return $this->lineProperties; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php new file mode 100644 index 00000000..b4ec320e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePageElementTransformRequest.php @@ -0,0 +1,49 @@ +applyMode = $applyMode; + } + public function getApplyMode() + { + return $this->applyMode; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setTransform(Google_Service_Slides_AffineTransform $transform) + { + $this->transform = $transform; + } + public function getTransform() + { + return $this->transform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php new file mode 100644 index 00000000..a4c33639 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdatePagePropertiesRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setPageProperties(Google_Service_Slides_PageProperties $pageProperties) + { + $this->pageProperties = $pageProperties; + } + public function getPageProperties() + { + return $this->pageProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php new file mode 100644 index 00000000..b0720d00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateParagraphStyleRequest.php @@ -0,0 +1,69 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setStyle(Google_Service_Slides_ParagraphStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setTextRange(Google_Service_Slides_Range $textRange) + { + $this->textRange = $textRange; + } + public function getTextRange() + { + return $this->textRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php new file mode 100644 index 00000000..bb3a3af5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateShapePropertiesRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setShapeProperties(Google_Service_Slides_ShapeProperties $shapeProperties) + { + $this->shapeProperties = $shapeProperties; + } + public function getShapeProperties() + { + return $this->shapeProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php new file mode 100644 index 00000000..b0f278d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateSlidesPositionRequest.php @@ -0,0 +1,40 @@ +insertionIndex = $insertionIndex; + } + public function getInsertionIndex() + { + return $this->insertionIndex; + } + public function setSlideObjectIds($slideObjectIds) + { + $this->slideObjectIds = $slideObjectIds; + } + public function getSlideObjectIds() + { + return $this->slideObjectIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php new file mode 100644 index 00000000..bf5d71fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTableCellPropertiesRequest.php @@ -0,0 +1,59 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setTableCellProperties(Google_Service_Slides_TableCellProperties $tableCellProperties) + { + $this->tableCellProperties = $tableCellProperties; + } + public function getTableCellProperties() + { + return $this->tableCellProperties; + } + public function setTableRange(Google_Service_Slides_TableRange $tableRange) + { + $this->tableRange = $tableRange; + } + public function getTableRange() + { + return $this->tableRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php new file mode 100644 index 00000000..fb1995d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateTextStyleRequest.php @@ -0,0 +1,69 @@ +cellLocation = $cellLocation; + } + public function getCellLocation() + { + return $this->cellLocation; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setStyle(Google_Service_Slides_TextStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setTextRange(Google_Service_Slides_Range $textRange) + { + $this->textRange = $textRange; + } + public function getTextRange() + { + return $this->textRange; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php new file mode 100644 index 00000000..3a0199b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/UpdateVideoPropertiesRequest.php @@ -0,0 +1,49 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setVideoProperties(Google_Service_Slides_VideoProperties $videoProperties) + { + $this->videoProperties = $videoProperties; + } + public function getVideoProperties() + { + return $this->videoProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php new file mode 100644 index 00000000..66d976c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/Video.php @@ -0,0 +1,58 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVideoProperties(Google_Service_Slides_VideoProperties $videoProperties) + { + $this->videoProperties = $videoProperties; + } + public function getVideoProperties() + { + return $this->videoProperties; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php new file mode 100644 index 00000000..9f75bcba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/VideoProperties.php @@ -0,0 +1,31 @@ +outline = $outline; + } + public function getOutline() + { + return $this->outline; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php new file mode 100644 index 00000000..324142ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WeightedFontFamily.php @@ -0,0 +1,39 @@ +fontFamily = $fontFamily; + } + public function getFontFamily() + { + return $this->fontFamily; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php new file mode 100644 index 00000000..52f84ddb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WordArt.php @@ -0,0 +1,30 @@ +renderedText = $renderedText; + } + public function getRenderedText() + { + return $this->renderedText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php new file mode 100644 index 00000000..f3d55588 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Slides/WriteControl.php @@ -0,0 +1,30 @@ +requiredRevisionId = $requiredRevisionId; + } + public function getRequiredRevisionId() + { + return $this->requiredRevisionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php new file mode 100644 index 00000000..66750806 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner.php @@ -0,0 +1,541 @@ + + * Cloud Spanner is a managed, mission-critical, globally consistent and + * scalable relational database service.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Spanner extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_instanceConfigs; + public $projects_instances; + public $projects_instances_databases; + public $projects_instances_databases_operations; + public $projects_instances_databases_sessions; + public $projects_instances_operations; + + /** + * Constructs the internal representation of the Spanner service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://spanner.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'spanner'; + + $this->projects_instanceConfigs = new Google_Service_Spanner_Resource_ProjectsInstanceConfigs( + $this, + $this->serviceName, + 'instanceConfigs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/instanceConfigs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects_instances = new Google_Service_Spanner_Resource_ProjectsInstances( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_instances_databases = new Google_Service_Spanner_Resource_ProjectsInstancesDatabases( + $this, + $this->serviceName, + 'databases', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/{+parent}/databases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'dropDatabase' => array( + 'path' => 'v1/{+database}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getDdl' => array( + 'path' => 'v1/{+database}/ddl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/databases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateDdl' => array( + 'path' => 'v1/{+database}/ddl', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_instances_databases_operations = new Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_instances_databases_sessions = new Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions( + $this, + $this->serviceName, + 'sessions', + array( + 'methods' => array( + 'beginTransaction' => array( + 'path' => 'v1/{+session}:beginTransaction', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'commit' => array( + 'path' => 'v1/{+session}:commit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/{+database}/sessions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'executeSql' => array( + 'path' => 'v1/{+session}:executeSql', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'executeStreamingSql' => array( + 'path' => 'v1/{+session}:executeStreamingSql', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'read' => array( + 'path' => 'v1/{+session}:read', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => 'v1/{+session}:rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'streamingRead' => array( + 'path' => 'v1/{+session}:streamingRead', + 'httpMethod' => 'POST', + 'parameters' => array( + 'session' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_instances_operations = new Google_Service_Spanner_Resource_ProjectsInstancesOperations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php new file mode 100644 index 00000000..ce1f192d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditConfig.php @@ -0,0 +1,50 @@ +auditLogConfigs = $auditLogConfigs; + } + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + public function setExemptedMembers($exemptedMembers) + { + $this->exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php new file mode 100644 index 00000000..78d7a059 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/AuditLogConfig.php @@ -0,0 +1,40 @@ +exemptedMembers = $exemptedMembers; + } + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + public function setLogType($logType) + { + $this->logType = $logType; + } + public function getLogType() + { + return $this->logType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php new file mode 100644 index 00000000..ceb465a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/BeginTransactionRequest.php @@ -0,0 +1,31 @@ +options = $options; + } + public function getOptions() + { + return $this->options; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php new file mode 100644 index 00000000..ad108a2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Binding.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php new file mode 100644 index 00000000..5a9025c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ChildLink.php @@ -0,0 +1,48 @@ +childIndex = $childIndex; + } + public function getChildIndex() + { + return $this->childIndex; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVariable($variable) + { + $this->variable = $variable; + } + public function getVariable() + { + return $this->variable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php new file mode 100644 index 00000000..b68c441a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CloudAuditOptions.php @@ -0,0 +1,20 @@ +mutations = $mutations; + } + public function getMutations() + { + return $this->mutations; + } + public function setSingleUseTransaction(Google_Service_Spanner_TransactionOptions $singleUseTransaction) + { + $this->singleUseTransaction = $singleUseTransaction; + } + public function getSingleUseTransaction() + { + return $this->singleUseTransaction; + } + public function setTransactionId($transactionId) + { + $this->transactionId = $transactionId; + } + public function getTransactionId() + { + return $this->transactionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php new file mode 100644 index 00000000..43b27026 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CommitResponse.php @@ -0,0 +1,30 @@ +commitTimestamp = $commitTimestamp; + } + public function getCommitTimestamp() + { + return $this->commitTimestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php new file mode 100644 index 00000000..a191309b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Condition.php @@ -0,0 +1,76 @@ +iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php new file mode 100644 index 00000000..8a66d6de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CounterOptions.php @@ -0,0 +1,39 @@ +field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php new file mode 100644 index 00000000..8d2b3796 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseMetadata.php @@ -0,0 +1,30 @@ +database = $database; + } + public function getDatabase() + { + return $this->database; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php new file mode 100644 index 00000000..829a77a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateDatabaseRequest.php @@ -0,0 +1,40 @@ +createStatement = $createStatement; + } + public function getCreateStatement() + { + return $this->createStatement; + } + public function setExtraStatements($extraStatements) + { + $this->extraStatements = $extraStatements; + } + public function getExtraStatements() + { + return $this->extraStatements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php new file mode 100644 index 00000000..85aa65c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceMetadata.php @@ -0,0 +1,58 @@ +cancelTime = $cancelTime; + } + public function getCancelTime() + { + return $this->cancelTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInstance(Google_Service_Spanner_Instance $instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php new file mode 100644 index 00000000..5d4ea1bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/CreateInstanceRequest.php @@ -0,0 +1,40 @@ +instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php new file mode 100644 index 00000000..a5d279c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/DataAccessOptions.php @@ -0,0 +1,20 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php new file mode 100644 index 00000000..be3a760c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Delete.php @@ -0,0 +1,40 @@ +keySet = $keySet; + } + public function getKeySet() + { + return $this->keySet; + } + public function setTable($table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php new file mode 100644 index 00000000..c3840061 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ExecuteSqlRequest.php @@ -0,0 +1,77 @@ +paramTypes = $paramTypes; + } + public function getParamTypes() + { + return $this->paramTypes; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setQueryMode($queryMode) + { + $this->queryMode = $queryMode; + } + public function getQueryMode() + { + return $this->queryMode; + } + public function setResumeToken($resumeToken) + { + $this->resumeToken = $resumeToken; + } + public function getResumeToken() + { + return $this->resumeToken; + } + public function setSql($sql) + { + $this->sql = $sql; + } + public function getSql() + { + return $this->sql; + } + public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php new file mode 100644 index 00000000..5e45b3c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Field.php @@ -0,0 +1,40 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setType(Google_Service_Spanner_Type $type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php new file mode 100644 index 00000000..1870d1f0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetDatabaseDdlResponse.php @@ -0,0 +1,31 @@ +statements = $statements; + } + public function getStatements() + { + return $this->statements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php new file mode 100644 index 00000000..f8dbbcc8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/GetIamPolicyRequest.php @@ -0,0 +1,20 @@ +config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNodeCount($nodeCount) + { + $this->nodeCount = $nodeCount; + } + public function getNodeCount() + { + return $this->nodeCount; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php new file mode 100644 index 00000000..38c5d9e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/InstanceConfig.php @@ -0,0 +1,39 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php new file mode 100644 index 00000000..6b74eee7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeyRange.php @@ -0,0 +1,58 @@ +endClosed = $endClosed; + } + public function getEndClosed() + { + return $this->endClosed; + } + public function setEndOpen($endOpen) + { + $this->endOpen = $endOpen; + } + public function getEndOpen() + { + return $this->endOpen; + } + public function setStartClosed($startClosed) + { + $this->startClosed = $startClosed; + } + public function getStartClosed() + { + return $this->startClosed; + } + public function setStartOpen($startOpen) + { + $this->startOpen = $startOpen; + } + public function getStartOpen() + { + return $this->startOpen; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php new file mode 100644 index 00000000..9970900a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/KeySet.php @@ -0,0 +1,50 @@ +all = $all; + } + public function getAll() + { + return $this->all; + } + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setRanges($ranges) + { + $this->ranges = $ranges; + } + public function getRanges() + { + return $this->ranges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php new file mode 100644 index 00000000..fc955dac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListDatabasesResponse.php @@ -0,0 +1,41 @@ +databases = $databases; + } + public function getDatabases() + { + return $this->databases; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php new file mode 100644 index 00000000..6900bb7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstanceConfigsResponse.php @@ -0,0 +1,41 @@ +instanceConfigs = $instanceConfigs; + } + public function getInstanceConfigs() + { + return $this->instanceConfigs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php new file mode 100644 index 00000000..89771c18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListInstancesResponse.php @@ -0,0 +1,41 @@ +instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php new file mode 100644 index 00000000..60967570 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php new file mode 100644 index 00000000..cef56047 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php @@ -0,0 +1,51 @@ +cloudAudit = $cloudAudit; + } + public function getCloudAudit() + { + return $this->cloudAudit; + } + public function setCounter(Google_Service_Spanner_CounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } + public function setDataAccess(Google_Service_Spanner_DataAccessOptions $dataAccess) + { + $this->dataAccess = $dataAccess; + } + public function getDataAccess() + { + return $this->dataAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php new file mode 100644 index 00000000..41c618c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Mutation.php @@ -0,0 +1,71 @@ +delete = $delete; + } + public function getDelete() + { + return $this->delete; + } + public function setInsert(Google_Service_Spanner_Write $insert) + { + $this->insert = $insert; + } + public function getInsert() + { + return $this->insert; + } + public function setInsertOrUpdate(Google_Service_Spanner_Write $insertOrUpdate) + { + $this->insertOrUpdate = $insertOrUpdate; + } + public function getInsertOrUpdate() + { + return $this->insertOrUpdate; + } + public function setReplace(Google_Service_Spanner_Write $replace) + { + $this->replace = $replace; + } + public function getReplace() + { + return $this->replace; + } + public function setUpdate(Google_Service_Spanner_Write $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php new file mode 100644 index 00000000..fb5b8812 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Spanner_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php new file mode 100644 index 00000000..61904c58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PartialResultSet.php @@ -0,0 +1,69 @@ +chunkedValue = $chunkedValue; + } + public function getChunkedValue() + { + return $this->chunkedValue; + } + public function setMetadata(Google_Service_Spanner_ResultSetMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setResumeToken($resumeToken) + { + $this->resumeToken = $resumeToken; + } + public function getResumeToken() + { + return $this->resumeToken; + } + public function setStats(Google_Service_Spanner_ResultSetStats $stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php new file mode 100644 index 00000000..a4d08dd2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/PlanNode.php @@ -0,0 +1,87 @@ +childLinks = $childLinks; + } + public function getChildLinks() + { + return $this->childLinks; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setExecutionStats($executionStats) + { + $this->executionStats = $executionStats; + } + public function getExecutionStats() + { + return $this->executionStats; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setShortRepresentation(Google_Service_Spanner_ShortRepresentation $shortRepresentation) + { + $this->shortRepresentation = $shortRepresentation; + } + public function getShortRepresentation() + { + return $this->shortRepresentation; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php new file mode 100644 index 00000000..4e851430 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Policy.php @@ -0,0 +1,79 @@ +auditConfigs = $auditConfigs; + } + public function getAuditConfigs() + { + return $this->auditConfigs; + } + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIamOwned($iamOwned) + { + $this->iamOwned = $iamOwned; + } + public function getIamOwned() + { + return $this->iamOwned; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php new file mode 100644 index 00000000..4f6868ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/QueryPlan.php @@ -0,0 +1,32 @@ +planNodes = $planNodes; + } + public function getPlanNodes() + { + return $this->planNodes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php new file mode 100644 index 00000000..1e770c88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadOnly.php @@ -0,0 +1,75 @@ +exactStaleness = $exactStaleness; + } + public function getExactStaleness() + { + return $this->exactStaleness; + } + public function setMaxStaleness($maxStaleness) + { + $this->maxStaleness = $maxStaleness; + } + public function getMaxStaleness() + { + return $this->maxStaleness; + } + public function setMinReadTimestamp($minReadTimestamp) + { + $this->minReadTimestamp = $minReadTimestamp; + } + public function getMinReadTimestamp() + { + return $this->minReadTimestamp; + } + public function setReadTimestamp($readTimestamp) + { + $this->readTimestamp = $readTimestamp; + } + public function getReadTimestamp() + { + return $this->readTimestamp; + } + public function setReturnReadTimestamp($returnReadTimestamp) + { + $this->returnReadTimestamp = $returnReadTimestamp; + } + public function getReturnReadTimestamp() + { + return $this->returnReadTimestamp; + } + public function setStrong($strong) + { + $this->strong = $strong; + } + public function getStrong() + { + return $this->strong; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php new file mode 100644 index 00000000..a79cb037 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadRequest.php @@ -0,0 +1,87 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKeySet(Google_Service_Spanner_KeySet $keySet) + { + $this->keySet = $keySet; + } + public function getKeySet() + { + return $this->keySet; + } + public function setLimit($limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setResumeToken($resumeToken) + { + $this->resumeToken = $resumeToken; + } + public function getResumeToken() + { + return $this->resumeToken; + } + public function setTable($table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } + public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php new file mode 100644 index 00000000..f051fa5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ReadWrite.php @@ -0,0 +1,20 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $projects = $spannerService->projects; + * + */ +class Google_Service_Spanner_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php new file mode 100644 index 00000000..f385289d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstanceConfigs.php @@ -0,0 +1,65 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $instanceConfigs = $spannerService->instanceConfigs; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstanceConfigs extends Google_Service_Resource +{ + /** + * Gets information about a particular instance configuration. + * (instanceConfigs.get) + * + * @param string $name Required. The name of the requested instance + * configuration. Values are of the form `projects//instanceConfigs/`. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_InstanceConfig + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_InstanceConfig"); + } + /** + * Lists the supported instance configurations for a given project. + * (instanceConfigs.listProjectsInstanceConfigs) + * + * @param string $parent Required. The name of the project for which a list of + * supported instance configurations is requested. Values are of the form + * `projects/`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken If non-empty, `page_token` should contain a + * next_page_token from a previous ListInstanceConfigsResponse. + * @opt_param int pageSize Number of instance configurations to be returned in + * the response. If 0 or less, defaults to the server's maximum allowed page + * size. + * @return Google_Service_Spanner_ListInstanceConfigsResponse + */ + public function listProjectsInstanceConfigs($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Spanner_ListInstanceConfigsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php new file mode 100644 index 00000000..6e11f52a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstances.php @@ -0,0 +1,253 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $instances = $spannerService->instances; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstances extends Google_Service_Resource +{ + /** + * Creates an instance and begins preparing it to begin serving. The returned + * long-running operation can be used to track the progress of preparing the new + * instance. The instance name is assigned by the caller. If the named instance + * already exists, `CreateInstance` returns `ALREADY_EXISTS`. + * + * Immediately upon completion of this request: + * + * * The instance is readable via the API, with all requested attributes + * but no allocated resources. Its state is `CREATING`. + * + * Until completion of the returned operation: + * + * * Cancelling the operation renders the instance immediately unreadable + * via the API. * The instance can be deleted. * All other attempts to + * modify the instance are rejected. + * + * Upon completion of the returned operation: + * + * * Billing for all successfully-allocated resources begins (some types + * may have lower than the requested levels). * Databases can be created in + * the instance. * The instance's allocated resource levels are readable via + * the API. * The instance's state becomes `READY`. + * + * The returned long-running operation will have a name of the format + * `/operations/` and can be used to track creation of the instance. The + * metadata field type is CreateInstanceMetadata. The response field type is + * Instance, if successful. (instances.create) + * + * @param string $parent Required. The name of the project in which to create + * the instance. Values are of the form `projects/`. + * @param Google_Service_Spanner_CreateInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function create($parent, Google_Service_Spanner_CreateInstanceRequest $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Spanner_Operation"); + } + /** + * Deletes an instance. + * + * Immediately upon completion of the request: + * + * * Billing ceases for all of the instance's reserved resources. + * + * Soon afterward: + * + * * The instance and *all of its databases* immediately and irrevocably + * disappear from the API. All data in the databases is permanently deleted. + * (instances.delete) + * + * @param string $name Required. The name of the instance to be deleted. Values + * are of the form `projects//instances/` + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Gets information about a particular instance. (instances.get) + * + * @param string $name Required. The name of the requested instance. Values are + * of the form `projects//instances/`. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Instance + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_Instance"); + } + /** + * Gets the access control policy for an instance resource. Returns an empty + * policy if an instance exists but does not have a policy set. + * + * Authorization requires `spanner.instances.getIamPolicy` on resource. + * (instances.getIamPolicy) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which the + * policy is being retrieved. The format is `projects//instances/` for instance + * resources and `projects//instances//databases/` for database resources. + * @param Google_Service_Spanner_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Policy + */ + public function getIamPolicy($resource, Google_Service_Spanner_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Spanner_Policy"); + } + /** + * Lists all instances in the given project. (instances.listProjectsInstances) + * + * @param string $parent Required. The name of the project for which a list of + * instances is requested. Values are of the form `projects/`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken If non-empty, `page_token` should contain a + * next_page_token from a previous ListInstancesResponse. + * @opt_param int pageSize Number of instances to be returned in the response. + * If 0 or less, defaults to the server's maximum allowed page size. + * @opt_param string filter An expression for filtering the results of the + * request. Filter rules are case insensitive. The fields eligible for filtering + * are: + * + * * name * display_name * labels.key where key is the name of a label + * + * Some examples of using filters are: + * + * * name:* --> The instance has a name. * name:Howl --> The instance's name + * contains the string "howl". * name:HOWL --> Equivalent to above. * + * NAME:howl --> Equivalent to above. * labels.env:* --> The instance has the + * label "env". * labels.env:dev --> The instance has the label "env" and the + * value of the label contains the string "dev". * + * name:howl labels.env:dev --> The instance's name contains "howl" and + * it has the label "env" with its value + * containing "dev". + * @return Google_Service_Spanner_ListInstancesResponse + */ + public function listProjectsInstances($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Spanner_ListInstancesResponse"); + } + /** + * Updates an instance, and begins allocating or releasing resources as + * requested. The returned long-running operation can be used to track the + * progress of updating the instance. If the named instance does not exist, + * returns `NOT_FOUND`. + * + * Immediately upon completion of this request: + * + * * For resource types for which a decrease in the instance's allocation + * has been requested, billing is based on the newly-requested level. + * + * Until completion of the returned operation: + * + * * Cancelling the operation sets its metadata's cancel_time, and begins + * restoring resources to their pre-request values. The operation is + * guaranteed to succeed at undoing all resource changes, after which point + * it terminates with a `CANCELLED` status. * All other attempts to modify the + * instance are rejected. * Reading the instance via the API continues to give + * the pre-request resource levels. + * + * Upon completion of the returned operation: + * + * * Billing begins for all successfully-allocated resources (some types + * may have lower than the requested levels). * All newly-reserved resources + * are available for serving the instance's tables. * The instance's new + * resource levels are readable via the API. + * + * The returned long-running operation will have a name of the format + * `/operations/` and can be used to track the instance modification. The + * metadata field type is UpdateInstanceMetadata. The response field type is + * Instance, if successful. + * + * Authorization requires `spanner.instances.update` permission on resource + * name. (instances.patch) + * + * @param string $name Required. A unique identifier for the instance, which + * cannot be changed after the instance is created. Values are of the form + * `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be + * between 6 and 30 characters in length. + * @param Google_Service_Spanner_UpdateInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function patch($name, Google_Service_Spanner_UpdateInstanceRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Spanner_Operation"); + } + /** + * Sets the access control policy on an instance resource. Replaces any existing + * policy. + * + * Authorization requires `spanner.instances.setIamPolicy` on resource. + * (instances.setIamPolicy) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which the + * policy is being set. The format is `projects//instances/` for instance + * resources and `projects//instances//databases/` for databases resources. + * @param Google_Service_Spanner_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Policy + */ + public function setIamPolicy($resource, Google_Service_Spanner_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Spanner_Policy"); + } + /** + * Returns permissions that the caller has on the specified instance resource. + * + * Attempting this RPC on a non-existent Cloud Spanner instance resource will + * result in a NOT_FOUND error if the user has `spanner.instances.list` + * permission on the containing Google Cloud Project. Otherwise returns an empty + * set of permissions. (instances.testIamPermissions) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which + * permissions are being tested. The format is `projects//instances/` for + * instance resources and `projects//instances//databases/` for database + * resources. + * @param Google_Service_Spanner_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Spanner_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Spanner_TestIamPermissionsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php new file mode 100644 index 00000000..c74a4fe4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabases.php @@ -0,0 +1,188 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $databases = $spannerService->databases; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstancesDatabases extends Google_Service_Resource +{ + /** + * Creates a new Cloud Spanner database and starts to prepare it for serving. + * The returned long-running operation will have a name of the format + * `/operations/` and can be used to track preparation of the database. The + * metadata field type is CreateDatabaseMetadata. The response field type is + * Database, if successful. (databases.create) + * + * @param string $parent Required. The name of the instance that will serve the + * new database. Values are of the form `projects//instances/`. + * @param Google_Service_Spanner_CreateDatabaseRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function create($parent, Google_Service_Spanner_CreateDatabaseRequest $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Spanner_Operation"); + } + /** + * Drops (aka deletes) a Cloud Spanner database. (databases.dropDatabase) + * + * @param string $database Required. The database to be dropped. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function dropDatabase($database, $optParams = array()) + { + $params = array('database' => $database); + $params = array_merge($params, $optParams); + return $this->call('dropDatabase', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Gets the state of a Cloud Spanner database. (databases.get) + * + * @param string $name Required. The name of the requested database. Values are + * of the form `projects//instances//databases/`. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Database + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_Database"); + } + /** + * Returns the schema of a Cloud Spanner database as a list of formatted DDL + * statements. This method does not show pending schema updates, those may be + * queried using the Operations API. (databases.getDdl) + * + * @param string $database Required. The database whose schema we wish to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_GetDatabaseDdlResponse + */ + public function getDdl($database, $optParams = array()) + { + $params = array('database' => $database); + $params = array_merge($params, $optParams); + return $this->call('getDdl', array($params), "Google_Service_Spanner_GetDatabaseDdlResponse"); + } + /** + * Gets the access control policy for a database resource. Returns an empty + * policy if a database exists but does not have a policy set. + * + * Authorization requires `spanner.databases.getIamPolicy` permission on + * resource. (databases.getIamPolicy) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which the + * policy is being retrieved. The format is `projects//instances/` for instance + * resources and `projects//instances//databases/` for database resources. + * @param Google_Service_Spanner_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Policy + */ + public function getIamPolicy($resource, Google_Service_Spanner_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Spanner_Policy"); + } + /** + * Lists Cloud Spanner databases. (databases.listProjectsInstancesDatabases) + * + * @param string $parent Required. The instance whose databases should be + * listed. Values are of the form `projects//instances/`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken If non-empty, `page_token` should contain a + * next_page_token from a previous ListDatabasesResponse. + * @opt_param int pageSize Number of databases to be returned in the response. + * If 0 or less, defaults to the server's maximum allowed page size. + * @return Google_Service_Spanner_ListDatabasesResponse + */ + public function listProjectsInstancesDatabases($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Spanner_ListDatabasesResponse"); + } + /** + * Sets the access control policy on a database resource. Replaces any existing + * policy. + * + * Authorization requires `spanner.databases.setIamPolicy` permission on + * resource. (databases.setIamPolicy) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which the + * policy is being set. The format is `projects//instances/` for instance + * resources and `projects//instances//databases/` for databases resources. + * @param Google_Service_Spanner_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Policy + */ + public function setIamPolicy($resource, Google_Service_Spanner_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Spanner_Policy"); + } + /** + * Returns permissions that the caller has on the specified database resource. + * + * Attempting this RPC on a non-existent Cloud Spanner database will result in a + * NOT_FOUND error if the user has `spanner.databases.list` permission on the + * containing Cloud Spanner instance. Otherwise returns an empty set of + * permissions. (databases.testIamPermissions) + * + * @param string $resource REQUIRED: The Cloud Spanner resource for which + * permissions are being tested. The format is `projects//instances/` for + * instance resources and `projects//instances//databases/` for database + * resources. + * @param Google_Service_Spanner_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Spanner_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Spanner_TestIamPermissionsResponse"); + } + /** + * Updates the schema of a Cloud Spanner database by creating/altering/dropping + * tables, columns, indexes, etc. The returned long-running operation will have + * a name of the format `/operations/` and can be used to track execution of the + * schema change(s). The metadata field type is UpdateDatabaseDdlMetadata. The + * operation has no response. (databases.updateDdl) + * + * @param string $database Required. The database to update. + * @param Google_Service_Spanner_UpdateDatabaseDdlRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function updateDdl($database, Google_Service_Spanner_UpdateDatabaseDdlRequest $postBody, $optParams = array()) + { + $params = array('database' => $database, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateDdl', array($params), "Google_Service_Spanner_Operation"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php new file mode 100644 index 00000000..1e4b6955 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php @@ -0,0 +1,102 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $operations = $spannerService->operations; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listProjectsInstancesDatabasesOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The standard list page size. + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Spanner_ListOperationsResponse + */ + public function listProjectsInstancesDatabasesOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php new file mode 100644 index 00000000..67959e0a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesSessions.php @@ -0,0 +1,231 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $sessions = $spannerService->sessions; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends Google_Service_Resource +{ + /** + * Begins a new transaction. This step can often be skipped: Read, ExecuteSql + * and Commit can begin a new transaction as a side-effect. + * (sessions.beginTransaction) + * + * @param string $session Required. The session in which the transaction runs. + * @param Google_Service_Spanner_BeginTransactionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Transaction + */ + public function beginTransaction($session, Google_Service_Spanner_BeginTransactionRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('beginTransaction', array($params), "Google_Service_Spanner_Transaction"); + } + /** + * Commits a transaction. The request includes the mutations to be applied to + * rows in the database. + * + * `Commit` might return an `ABORTED` error. This can occur at any time; + * commonly, the cause is conflicts with concurrent transactions. However, it + * can also happen for a variety of other reasons. If `Commit` returns + * `ABORTED`, the caller should re-attempt the transaction from the beginning, + * re-using the same session. (sessions.commit) + * + * @param string $session Required. The session in which the transaction to be + * committed is running. + * @param Google_Service_Spanner_CommitRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_CommitResponse + */ + public function commit($session, Google_Service_Spanner_CommitRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('commit', array($params), "Google_Service_Spanner_CommitResponse"); + } + /** + * Creates a new session. A session can be used to perform transactions that + * read and/or modify data in a Cloud Spanner database. Sessions are meant to be + * reused for many consecutive transactions. + * + * Sessions can only execute one transaction at a time. To execute multiple + * concurrent read-write/write-only transactions, create multiple sessions. Note + * that standalone reads and queries use a transaction internally, and count + * toward the one transaction limit. + * + * Cloud Spanner limits the number of sessions that can exist at any given time; + * thus, it is a good idea to delete idle and/or unneeded sessions. Aside from + * explicit deletes, Cloud Spanner can delete sessions for which no operations + * are sent for more than an hour, or due to internal errors. If a session is + * deleted, requests to it return `NOT_FOUND`. + * + * Idle sessions can be kept alive by sending a trivial SQL query periodically, + * e.g., `"SELECT 1"`. (sessions.create) + * + * @param string $database Required. The database in which the new session is + * created. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Session + */ + public function create($database, $optParams = array()) + { + $params = array('database' => $database); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Spanner_Session"); + } + /** + * Ends a session, releasing server resources associated with it. + * (sessions.delete) + * + * @param string $name Required. The name of the session to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Executes an SQL query, returning all rows in a single reply. This method + * cannot be used to return a result set larger than 10 MiB; if the query yields + * more data than that, the query fails with a `FAILED_PRECONDITION` error. + * + * Queries inside read-write transactions might return `ABORTED`. If this + * occurs, the application should restart the transaction from the beginning. + * See Transaction for more details. + * + * Larger result sets can be fetched in streaming fashion by calling + * ExecuteStreamingSql instead. (sessions.executeSql) + * + * @param string $session Required. The session in which the SQL query should be + * performed. + * @param Google_Service_Spanner_ExecuteSqlRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_ResultSet + */ + public function executeSql($session, Google_Service_Spanner_ExecuteSqlRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('executeSql', array($params), "Google_Service_Spanner_ResultSet"); + } + /** + * Like ExecuteSql, except returns the result set as a stream. Unlike + * ExecuteSql, there is no limit on the size of the returned result set. + * However, no individual row in the result set can exceed 100 MiB, and no + * column value can exceed 10 MiB. (sessions.executeStreamingSql) + * + * @param string $session Required. The session in which the SQL query should be + * performed. + * @param Google_Service_Spanner_ExecuteSqlRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_PartialResultSet + */ + public function executeStreamingSql($session, Google_Service_Spanner_ExecuteSqlRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('executeStreamingSql', array($params), "Google_Service_Spanner_PartialResultSet"); + } + /** + * Gets a session. Returns `NOT_FOUND` if the session does not exist. This is + * mainly useful for determining whether a session is still alive. + * (sessions.get) + * + * @param string $name Required. The name of the session to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Session + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_Session"); + } + /** + * Reads rows from the database using key lookups and scans, as a simple + * key/value style alternative to ExecuteSql. This method cannot be used to + * return a result set larger than 10 MiB; if the read matches more data than + * that, the read fails with a `FAILED_PRECONDITION` error. + * + * Reads inside read-write transactions might return `ABORTED`. If this occurs, + * the application should restart the transaction from the beginning. See + * Transaction for more details. + * + * Larger result sets can be yielded in streaming fashion by calling + * StreamingRead instead. (sessions.read) + * + * @param string $session Required. The session in which the read should be + * performed. + * @param Google_Service_Spanner_ReadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_ResultSet + */ + public function read($session, Google_Service_Spanner_ReadRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('read', array($params), "Google_Service_Spanner_ResultSet"); + } + /** + * Rolls back a transaction, releasing any locks it holds. It is a good idea to + * call this for any transaction that includes one or more Read or ExecuteSql + * requests and ultimately decides not to commit. + * + * `Rollback` returns `OK` if it successfully aborts the transaction, the + * transaction was already aborted, or the transaction is not found. `Rollback` + * never returns `ABORTED`. (sessions.rollback) + * + * @param string $session Required. The session in which the transaction to roll + * back is running. + * @param Google_Service_Spanner_RollbackRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function rollback($session, Google_Service_Spanner_RollbackRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Like Read, except returns the result set as a stream. Unlike Read, there is + * no limit on the size of the returned result set. However, no individual row + * in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. + * (sessions.streamingRead) + * + * @param string $session Required. The session in which the read should be + * performed. + * @param Google_Service_Spanner_ReadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_PartialResultSet + */ + public function streamingRead($session, Google_Service_Spanner_ReadRequest $postBody, $optParams = array()) + { + $params = array('session' => $session, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('streamingRead', array($params), "Google_Service_Spanner_PartialResultSet"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php new file mode 100644 index 00000000..420aff65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Resource/ProjectsInstancesOperations.php @@ -0,0 +1,102 @@ + + * $spannerService = new Google_Service_Spanner(...); + * $operations = $spannerService->operations; + * + */ +class Google_Service_Spanner_Resource_ProjectsInstancesOperations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_SpannerEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Spanner_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Spanner_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listProjectsInstancesOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_Spanner_ListOperationsResponse + */ + public function listProjectsInstancesOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php new file mode 100644 index 00000000..3a9b8f5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSet.php @@ -0,0 +1,51 @@ +metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStats(Google_Service_Spanner_ResultSetStats $stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php new file mode 100644 index 00000000..11420c85 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetMetadata.php @@ -0,0 +1,41 @@ +rowType = $rowType; + } + public function getRowType() + { + return $this->rowType; + } + public function setTransaction(Google_Service_Spanner_Transaction $transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php new file mode 100644 index 00000000..a73f1f74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ResultSetStats.php @@ -0,0 +1,40 @@ +queryPlan = $queryPlan; + } + public function getQueryPlan() + { + return $this->queryPlan; + } + public function setQueryStats($queryStats) + { + $this->queryStats = $queryStats; + } + public function getQueryStats() + { + return $this->queryStats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php new file mode 100644 index 00000000..0be0fb94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/RollbackRequest.php @@ -0,0 +1,30 @@ +transactionId = $transactionId; + } + public function getTransactionId() + { + return $this->transactionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php new file mode 100644 index 00000000..f18b4535 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Rule.php @@ -0,0 +1,87 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIn($in) + { + $this->in = $in; + } + public function getIn() + { + return $this->in; + } + public function setLogConfig($logConfig) + { + $this->logConfig = $logConfig; + } + public function getLogConfig() + { + return $this->logConfig; + } + public function setNotIn($notIn) + { + $this->notIn = $notIn; + } + public function getNotIn() + { + return $this->notIn; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php new file mode 100644 index 00000000..db026987 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Session.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php new file mode 100644 index 00000000..81e0e7d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SetIamPolicyRequest.php @@ -0,0 +1,40 @@ +policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + public function getUpdateMask() + { + return $this->updateMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php new file mode 100644 index 00000000..7237aa9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/ShortRepresentation.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setSubqueries($subqueries) + { + $this->subqueries = $subqueries; + } + public function getSubqueries() + { + return $this->subqueries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php new file mode 100644 index 00000000..5971dd81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/SpannerEmpty.php @@ -0,0 +1,20 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php new file mode 100644 index 00000000..23b6ba38 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/StructType.php @@ -0,0 +1,32 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php new file mode 100644 index 00000000..c2e7ecf0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsRequest.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php new file mode 100644 index 00000000..c8448717 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TestIamPermissionsResponse.php @@ -0,0 +1,31 @@ +permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php new file mode 100644 index 00000000..3b099486 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Transaction.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setReadTimestamp($readTimestamp) + { + $this->readTimestamp = $readTimestamp; + } + public function getReadTimestamp() + { + return $this->readTimestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php new file mode 100644 index 00000000..67996659 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionOptions.php @@ -0,0 +1,41 @@ +readOnly = $readOnly; + } + public function getReadOnly() + { + return $this->readOnly; + } + public function setReadWrite(Google_Service_Spanner_ReadWrite $readWrite) + { + $this->readWrite = $readWrite; + } + public function getReadWrite() + { + return $this->readWrite; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php new file mode 100644 index 00000000..17021fce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/TransactionSelector.php @@ -0,0 +1,50 @@ +begin = $begin; + } + public function getBegin() + { + return $this->begin; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSingleUse(Google_Service_Spanner_TransactionOptions $singleUse) + { + $this->singleUse = $singleUse; + } + public function getSingleUse() + { + return $this->singleUse; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php new file mode 100644 index 00000000..92ae0313 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Type.php @@ -0,0 +1,50 @@ +arrayElementType = $arrayElementType; + } + public function getArrayElementType() + { + return $this->arrayElementType; + } + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setStructType(Google_Service_Spanner_StructType $structType) + { + $this->structType = $structType; + } + public function getStructType() + { + return $this->structType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php new file mode 100644 index 00000000..0c848dbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlMetadata.php @@ -0,0 +1,49 @@ +commitTimestamps = $commitTimestamps; + } + public function getCommitTimestamps() + { + return $this->commitTimestamps; + } + public function setDatabase($database) + { + $this->database = $database; + } + public function getDatabase() + { + return $this->database; + } + public function setStatements($statements) + { + $this->statements = $statements; + } + public function getStatements() + { + return $this->statements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php new file mode 100644 index 00000000..9bbe073f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateDatabaseDdlRequest.php @@ -0,0 +1,40 @@ +operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setStatements($statements) + { + $this->statements = $statements; + } + public function getStatements() + { + return $this->statements; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php new file mode 100644 index 00000000..6a909d33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceMetadata.php @@ -0,0 +1,58 @@ +cancelTime = $cancelTime; + } + public function getCancelTime() + { + return $this->cancelTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInstance(Google_Service_Spanner_Instance $instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php new file mode 100644 index 00000000..d3dc0068 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/UpdateInstanceRequest.php @@ -0,0 +1,40 @@ +fieldMask = $fieldMask; + } + public function getFieldMask() + { + return $this->fieldMask; + } + public function setInstance(Google_Service_Spanner_Instance $instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php new file mode 100644 index 00000000..c4fcfe07 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spanner/Write.php @@ -0,0 +1,49 @@ +columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setTable($table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php new file mode 100644 index 00000000..7109a61b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum.php @@ -0,0 +1,85 @@ + + * API for spectrum-management functions.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Spectrum extends Google_Service +{ + + + public $paws; + + /** + * Constructs the internal representation of the Spectrum service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'spectrum/v1explorer/paws/'; + $this->version = 'v1explorer'; + $this->serviceName = 'spectrum'; + + $this->paws = new Google_Service_Spectrum_Resource_Paws( + $this, + $this->serviceName, + 'paws', + array( + 'methods' => array( + 'getSpectrum' => array( + 'path' => 'getSpectrum', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getSpectrumBatch' => array( + 'path' => 'getSpectrumBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'init' => array( + 'path' => 'init', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'notifySpectrumUse' => array( + 'path' => 'notifySpectrumUse', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'register' => array( + 'path' => 'register', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyDevice' => array( + 'path' => 'verifyDevice', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php new file mode 100644 index 00000000..ac4f9651 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/AntennaCharacteristics.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setHeightType($heightType) + { + $this->heightType = $heightType; + } + public function getHeightType() + { + return $this->heightType; + } + public function setHeightUncertainty($heightUncertainty) + { + $this->heightUncertainty = $heightUncertainty; + } + public function getHeightUncertainty() + { + return $this->heightUncertainty; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php new file mode 100644 index 00000000..eaead15d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DatabaseSpec.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php new file mode 100644 index 00000000..7252bc2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DbUpdateSpec.php @@ -0,0 +1,32 @@ +databases = $databases; + } + public function getDatabases() + { + return $this->databases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php new file mode 100644 index 00000000..3039fc9a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceCapabilities.php @@ -0,0 +1,32 @@ +frequencyRanges = $frequencyRanges; + } + public function getFrequencyRanges() + { + return $this->frequencyRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php new file mode 100644 index 00000000..555d9df1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceDescriptor.php @@ -0,0 +1,112 @@ +etsiEnDeviceCategory = $etsiEnDeviceCategory; + } + public function getEtsiEnDeviceCategory() + { + return $this->etsiEnDeviceCategory; + } + public function setEtsiEnDeviceEmissionsClass($etsiEnDeviceEmissionsClass) + { + $this->etsiEnDeviceEmissionsClass = $etsiEnDeviceEmissionsClass; + } + public function getEtsiEnDeviceEmissionsClass() + { + return $this->etsiEnDeviceEmissionsClass; + } + public function setEtsiEnDeviceType($etsiEnDeviceType) + { + $this->etsiEnDeviceType = $etsiEnDeviceType; + } + public function getEtsiEnDeviceType() + { + return $this->etsiEnDeviceType; + } + public function setEtsiEnTechnologyId($etsiEnTechnologyId) + { + $this->etsiEnTechnologyId = $etsiEnTechnologyId; + } + public function getEtsiEnTechnologyId() + { + return $this->etsiEnTechnologyId; + } + public function setFccId($fccId) + { + $this->fccId = $fccId; + } + public function getFccId() + { + return $this->fccId; + } + public function setFccTvbdDeviceType($fccTvbdDeviceType) + { + $this->fccTvbdDeviceType = $fccTvbdDeviceType; + } + public function getFccTvbdDeviceType() + { + return $this->fccTvbdDeviceType; + } + public function setManufacturerId($manufacturerId) + { + $this->manufacturerId = $manufacturerId; + } + public function getManufacturerId() + { + return $this->manufacturerId; + } + public function setModelId($modelId) + { + $this->modelId = $modelId; + } + public function getModelId() + { + return $this->modelId; + } + public function setRulesetIds($rulesetIds) + { + $this->rulesetIds = $rulesetIds; + } + public function getRulesetIds() + { + return $this->rulesetIds; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php new file mode 100644 index 00000000..9e15e502 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceOwner.php @@ -0,0 +1,41 @@ +operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setOwner(Google_Service_Spectrum_Vcard $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php new file mode 100644 index 00000000..763d9b27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/DeviceValidity.php @@ -0,0 +1,49 @@ +deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setIsValid($isValid) + { + $this->isValid = $isValid; + } + public function getIsValid() + { + return $this->isValid; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php new file mode 100644 index 00000000..16835fb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/EventTime.php @@ -0,0 +1,39 @@ +startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStopTime($stopTime) + { + $this->stopTime = $stopTime; + } + public function getStopTime() + { + return $this->stopTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php new file mode 100644 index 00000000..1c92156f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/FrequencyRange.php @@ -0,0 +1,57 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setMaxPowerDBm($maxPowerDBm) + { + $this->maxPowerDBm = $maxPowerDBm; + } + public function getMaxPowerDBm() + { + return $this->maxPowerDBm; + } + public function setStartHz($startHz) + { + $this->startHz = $startHz; + } + public function getStartHz() + { + return $this->startHz; + } + public function setStopHz($stopHz) + { + $this->stopHz = $stopHz; + } + public function getStopHz() + { + return $this->stopHz; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php new file mode 100644 index 00000000..4b6d0026 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocation.php @@ -0,0 +1,50 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setPoint(Google_Service_Spectrum_GeoLocationEllipse $point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } + public function setRegion(Google_Service_Spectrum_GeoLocationPolygon $region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php new file mode 100644 index 00000000..ab7f4346 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationEllipse.php @@ -0,0 +1,58 @@ +center = $center; + } + public function getCenter() + { + return $this->center; + } + public function setOrientation($orientation) + { + $this->orientation = $orientation; + } + public function getOrientation() + { + return $this->orientation; + } + public function setSemiMajorAxis($semiMajorAxis) + { + $this->semiMajorAxis = $semiMajorAxis; + } + public function getSemiMajorAxis() + { + return $this->semiMajorAxis; + } + public function setSemiMinorAxis($semiMinorAxis) + { + $this->semiMinorAxis = $semiMinorAxis; + } + public function getSemiMinorAxis() + { + return $this->semiMinorAxis; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php new file mode 100644 index 00000000..3d87cf7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPoint.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php new file mode 100644 index 00000000..01c3e30c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoLocationPolygon.php @@ -0,0 +1,32 @@ +exterior = $exterior; + } + public function getExterior() + { + return $this->exterior; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php new file mode 100644 index 00000000..b8babd80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/GeoSpectrumSchedule.php @@ -0,0 +1,42 @@ +location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSpectrumSchedules($spectrumSchedules) + { + $this->spectrumSchedules = $spectrumSchedules; + } + public function getSpectrumSchedules() + { + return $this->spectrumSchedules; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php new file mode 100644 index 00000000..ca0529f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchRequest.php @@ -0,0 +1,109 @@ +antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc) + { + $this->masterDeviceDesc = $masterDeviceDesc; + } + public function getMasterDeviceDesc() + { + return $this->masterDeviceDesc; + } + public function setOwner(Google_Service_Spectrum_DeviceOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php new file mode 100644 index 00000000..b0215fc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumBatchResponse.php @@ -0,0 +1,125 @@ +databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setGeoSpectrumSchedules($geoSpectrumSchedules) + { + $this->geoSpectrumSchedules = $geoSpectrumSchedules; + } + public function getGeoSpectrumSchedules() + { + return $this->geoSpectrumSchedules; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxContiguousBwHz($maxContiguousBwHz) + { + $this->maxContiguousBwHz = $maxContiguousBwHz; + } + public function getMaxContiguousBwHz() + { + return $this->maxContiguousBwHz; + } + public function setMaxTotalBwHz($maxTotalBwHz) + { + $this->maxTotalBwHz = $maxTotalBwHz; + } + public function getMaxTotalBwHz() + { + return $this->maxTotalBwHz; + } + public function setNeedsSpectrumReport($needsSpectrumReport) + { + $this->needsSpectrumReport = $needsSpectrumReport; + } + public function getNeedsSpectrumReport() + { + return $this->needsSpectrumReport; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php new file mode 100644 index 00000000..5c12166d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumRequest.php @@ -0,0 +1,108 @@ +antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc) + { + $this->masterDeviceDesc = $masterDeviceDesc; + } + public function getMasterDeviceDesc() + { + return $this->masterDeviceDesc; + } + public function setOwner(Google_Service_Spectrum_DeviceOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php new file mode 100644 index 00000000..a8ee0869 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsGetSpectrumResponse.php @@ -0,0 +1,125 @@ +databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxContiguousBwHz($maxContiguousBwHz) + { + $this->maxContiguousBwHz = $maxContiguousBwHz; + } + public function getMaxContiguousBwHz() + { + return $this->maxContiguousBwHz; + } + public function setMaxTotalBwHz($maxTotalBwHz) + { + $this->maxTotalBwHz = $maxTotalBwHz; + } + public function getMaxTotalBwHz() + { + return $this->maxTotalBwHz; + } + public function setNeedsSpectrumReport($needsSpectrumReport) + { + $this->needsSpectrumReport = $needsSpectrumReport; + } + public function getNeedsSpectrumReport() + { + return $this->needsSpectrumReport; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setSpectrumSchedules($spectrumSchedules) + { + $this->spectrumSchedules = $spectrumSchedules; + } + public function getSpectrumSchedules() + { + return $this->spectrumSchedules; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php new file mode 100644 index 00000000..ceb20f80 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitRequest.php @@ -0,0 +1,59 @@ +deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php new file mode 100644 index 00000000..444b11ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsInitResponse.php @@ -0,0 +1,68 @@ +databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php new file mode 100644 index 00000000..5d3dcf15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseRequest.php @@ -0,0 +1,70 @@ +deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSpectra($spectra) + { + $this->spectra = $spectra; + } + public function getSpectra() + { + return $this->spectra; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php new file mode 100644 index 00000000..e4480b4d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsNotifySpectrumUseResponse.php @@ -0,0 +1,48 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php new file mode 100644 index 00000000..b6a1f9d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterRequest.php @@ -0,0 +1,79 @@ +antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setDeviceOwner(Google_Service_Spectrum_DeviceOwner $deviceOwner) + { + $this->deviceOwner = $deviceOwner; + } + public function getDeviceOwner() + { + return $this->deviceOwner; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php new file mode 100644 index 00000000..99e8d08c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsRegisterResponse.php @@ -0,0 +1,58 @@ +databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php new file mode 100644 index 00000000..93d1ef35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceRequest.php @@ -0,0 +1,50 @@ +deviceDescs = $deviceDescs; + } + public function getDeviceDescs() + { + return $this->deviceDescs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php new file mode 100644 index 00000000..2ad6777e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/PawsVerifyDeviceResponse.php @@ -0,0 +1,69 @@ +databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceValidities($deviceValidities) + { + $this->deviceValidities = $deviceValidities; + } + public function getDeviceValidities() + { + return $this->deviceValidities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php new file mode 100644 index 00000000..f7e30223 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Resource/Paws.php @@ -0,0 +1,117 @@ + + * $spectrumService = new Google_Service_Spectrum(...); + * $paws = $spectrumService->paws; + * + */ +class Google_Service_Spectrum_Resource_Paws extends Google_Service_Resource +{ + /** + * Requests information about the available spectrum for a device at a location. + * Requests from a fixed-mode device must include owner information so the + * device can be registered with the database. (paws.getSpectrum) + * + * @param Google_Service_Spectrum_PawsGetSpectrumRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsGetSpectrumResponse + */ + public function getSpectrum(Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getSpectrum', array($params), "Google_Service_Spectrum_PawsGetSpectrumResponse"); + } + /** + * The Google Spectrum Database does not support batch requests, so this method + * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch) + * + * @param Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsGetSpectrumBatchResponse + */ + public function getSpectrumBatch(Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getSpectrumBatch', array($params), "Google_Service_Spectrum_PawsGetSpectrumBatchResponse"); + } + /** + * Initializes the connection between a white space device and the database. + * (paws.init) + * + * @param Google_Service_Spectrum_PawsInitRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsInitResponse + */ + public function init(Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('init', array($params), "Google_Service_Spectrum_PawsInitResponse"); + } + /** + * Notifies the database that the device has selected certain frequency ranges + * for transmission. Only to be invoked when required by the regulator. The + * Google Spectrum Database does not operate in domains that require + * notification, so this always yields an UNIMPLEMENTED error. + * (paws.notifySpectrumUse) + * + * @param Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsNotifySpectrumUseResponse + */ + public function notifySpectrumUse(Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('notifySpectrumUse', array($params), "Google_Service_Spectrum_PawsNotifySpectrumUseResponse"); + } + /** + * The Google Spectrum Database implements registration in the getSpectrum + * method. As such this always returns an UNIMPLEMENTED error. (paws.register) + * + * @param Google_Service_Spectrum_PawsRegisterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsRegisterResponse + */ + public function register(Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Spectrum_PawsRegisterResponse"); + } + /** + * Validates a device for white space use in accordance with regulatory rules. + * The Google Spectrum Database does not support master/slave configurations, so + * this always yields an UNIMPLEMENTED error. (paws.verifyDevice) + * + * @param Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsVerifyDeviceResponse + */ + public function verifyDevice(Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyDevice', array($params), "Google_Service_Spectrum_PawsVerifyDeviceResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php new file mode 100644 index 00000000..89f01215 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/RulesetInfo.php @@ -0,0 +1,58 @@ +authority = $authority; + } + public function getAuthority() + { + return $this->authority; + } + public function setMaxLocationChange($maxLocationChange) + { + $this->maxLocationChange = $maxLocationChange; + } + public function getMaxLocationChange() + { + return $this->maxLocationChange; + } + public function setMaxPollingSecs($maxPollingSecs) + { + $this->maxPollingSecs = $maxPollingSecs; + } + public function getMaxPollingSecs() + { + return $this->maxPollingSecs; + } + public function setRulesetIds($rulesetIds) + { + $this->rulesetIds = $rulesetIds; + } + public function getRulesetIds() + { + return $this->rulesetIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php new file mode 100644 index 00000000..a1cb27b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumMessage.php @@ -0,0 +1,41 @@ +bandwidth = $bandwidth; + } + public function getBandwidth() + { + return $this->bandwidth; + } + public function setFrequencyRanges($frequencyRanges) + { + $this->frequencyRanges = $frequencyRanges; + } + public function getFrequencyRanges() + { + return $this->frequencyRanges; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php new file mode 100644 index 00000000..f8085aba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/SpectrumSchedule.php @@ -0,0 +1,42 @@ +eventTime = $eventTime; + } + public function getEventTime() + { + return $this->eventTime; + } + public function setSpectra($spectra) + { + $this->spectra = $spectra; + } + public function getSpectra() + { + return $this->spectra; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php new file mode 100644 index 00000000..896bebc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/Vcard.php @@ -0,0 +1,70 @@ +adr = $adr; + } + public function getAdr() + { + return $this->adr; + } + public function setEmail(Google_Service_Spectrum_VcardTypedText $email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFn($fn) + { + $this->fn = $fn; + } + public function getFn() + { + return $this->fn; + } + public function setOrg(Google_Service_Spectrum_VcardTypedText $org) + { + $this->org = $org; + } + public function getOrg() + { + return $this->org; + } + public function setTel(Google_Service_Spectrum_VcardTelephone $tel) + { + $this->tel = $tel; + } + public function getTel() + { + return $this->tel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php new file mode 100644 index 00000000..fde77cc2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardAddress.php @@ -0,0 +1,75 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPobox($pobox) + { + $this->pobox = $pobox; + } + public function getPobox() + { + return $this->pobox; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setStreet($street) + { + $this->street = $street; + } + public function getStreet() + { + return $this->street; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php new file mode 100644 index 00000000..afe4b5c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTelephone.php @@ -0,0 +1,30 @@ +uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php new file mode 100644 index 00000000..f21f0a29 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Spectrum/VcardTypedText.php @@ -0,0 +1,30 @@ +text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php new file mode 100644 index 00000000..ce174d0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech.php @@ -0,0 +1,133 @@ + + * Google Cloud Speech API.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Speech extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $operations; + public $speech; + + /** + * Constructs the internal representation of the Speech service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://speech.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'speech'; + + $this->operations = new Google_Service_Speech_Resource_Operations( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1beta1/operations/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/operations/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/operations/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->speech = new Google_Service_Speech_Resource_Speech( + $this, + $this->serviceName, + 'speech', + array( + 'methods' => array( + 'asyncrecognize' => array( + 'path' => 'v1beta1/speech:asyncrecognize', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'syncrecognize' => array( + 'path' => 'v1beta1/speech:syncrecognize', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php new file mode 100644 index 00000000..cdbfae6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/AsyncRecognizeRequest.php @@ -0,0 +1,41 @@ +audio = $audio; + } + public function getAudio() + { + return $this->audio; + } + public function setConfig(Google_Service_Speech_RecognitionConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php new file mode 100644 index 00000000..f4692945 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/CancelOperationRequest.php @@ -0,0 +1,20 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php new file mode 100644 index 00000000..f413dadd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Speech_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php new file mode 100644 index 00000000..511a2425 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionAudio.php @@ -0,0 +1,39 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php new file mode 100644 index 00000000..03faa829 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/RecognitionConfig.php @@ -0,0 +1,76 @@ +encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setMaxAlternatives($maxAlternatives) + { + $this->maxAlternatives = $maxAlternatives; + } + public function getMaxAlternatives() + { + return $this->maxAlternatives; + } + public function setProfanityFilter($profanityFilter) + { + $this->profanityFilter = $profanityFilter; + } + public function getProfanityFilter() + { + return $this->profanityFilter; + } + public function setSampleRate($sampleRate) + { + $this->sampleRate = $sampleRate; + } + public function getSampleRate() + { + return $this->sampleRate; + } + public function setSpeechContext(Google_Service_Speech_SpeechContext $speechContext) + { + $this->speechContext = $speechContext; + } + public function getSpeechContext() + { + return $this->speechContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php new file mode 100644 index 00000000..b8adab7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Operations.php @@ -0,0 +1,102 @@ + + * $speechService = new Google_Service_Speech(...); + * $operations = $speechService->operations; + * + */ +class Google_Service_Speech_Resource_Operations extends Google_Service_Resource +{ + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Speech_SpeechEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Speech_SpeechEmpty"); + } + /** + * Deletes a long-running operation. This method indicates that the client is no + * longer interested in the operation result. It does not cancel the operation. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Speech_SpeechEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Speech_SpeechEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Speech_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Speech_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding below allows API services to override the binding to + * use different resource name schemes, such as `users/operations`. + * (operations.listOperations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string name The name of the operation collection. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_Speech_ListOperationsResponse + */ + public function listOperations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Speech_ListOperationsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php new file mode 100644 index 00000000..17ebda33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Resource/Speech.php @@ -0,0 +1,59 @@ + + * $speechService = new Google_Service_Speech(...); + * $speech = $speechService->speech; + * + */ +class Google_Service_Speech_Resource_Speech extends Google_Service_Resource +{ + /** + * Performs asynchronous speech recognition: receive results via the + * [google.longrunning.Operations] + * (/speech/reference/rest/v1beta1/operations#Operation) interface. Returns + * either an `Operation.error` or an `Operation.response` which contains an + * `AsyncRecognizeResponse` message. (speech.asyncrecognize) + * + * @param Google_Service_Speech_AsyncRecognizeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Speech_Operation + */ + public function asyncrecognize(Google_Service_Speech_AsyncRecognizeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('asyncrecognize', array($params), "Google_Service_Speech_Operation"); + } + /** + * Performs synchronous speech recognition: receive results after all audio has + * been sent and processed. (speech.syncrecognize) + * + * @param Google_Service_Speech_SyncRecognizeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Speech_SyncRecognizeResponse + */ + public function syncrecognize(Google_Service_Speech_SyncRecognizeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('syncrecognize', array($params), "Google_Service_Speech_SyncRecognizeResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php new file mode 100644 index 00000000..3069cfc7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechContext.php @@ -0,0 +1,31 @@ +phrases = $phrases; + } + public function getPhrases() + { + return $this->phrases; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php new file mode 100644 index 00000000..53008888 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechEmpty.php @@ -0,0 +1,20 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setTranscript($transcript) + { + $this->transcript = $transcript; + } + public function getTranscript() + { + return $this->transcript; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php new file mode 100644 index 00000000..28e9723f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SpeechRecognitionResult.php @@ -0,0 +1,32 @@ +alternatives = $alternatives; + } + public function getAlternatives() + { + return $this->alternatives; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php new file mode 100644 index 00000000..af62f982 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php new file mode 100644 index 00000000..e88be3e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeRequest.php @@ -0,0 +1,41 @@ +audio = $audio; + } + public function getAudio() + { + return $this->audio; + } + public function setConfig(Google_Service_Speech_RecognitionConfig $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php new file mode 100644 index 00000000..9a6c348a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Speech/SyncRecognizeResponse.php @@ -0,0 +1,32 @@ +results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php new file mode 100644 index 00000000..9e5c8349 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage.php @@ -0,0 +1,1126 @@ + + * Stores and retrieves potentially large, immutable data objects.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Storage extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $bucketAccessControls; + public $buckets; + public $channels; + public $defaultObjectAccessControls; + public $objectAccessControls; + public $objects; + + /** + * Constructs the internal representation of the Storage service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'storage/v1/'; + $this->version = 'v1'; + $this->serviceName = 'storage'; + + $this->bucketAccessControls = new Google_Service_Storage_Resource_BucketAccessControls( + $this, + $this->serviceName, + 'bucketAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->buckets = new Google_Service_Storage_Resource_Buckets( + $this, + $this->serviceName, + 'buckets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getIamPolicy' => array( + 'path' => 'b/{bucket}/iam', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'b', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'b/{bucket}/iam', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'b/{bucket}/iam/testPermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissions' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Storage_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->defaultObjectAccessControls = new Google_Service_Storage_Resource_DefaultObjectAccessControls( + $this, + $this->serviceName, + 'defaultObjectAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/defaultObjectAcl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/defaultObjectAcl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->objectAccessControls = new Google_Service_Storage_Resource_ObjectAccessControls( + $this, + $this->serviceName, + 'objectAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/o/{object}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/o/{object}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->objects = new Google_Service_Storage_Resource_Objects( + $this, + $this->serviceName, + 'objects', + array( + 'methods' => array( + 'compose' => array( + 'path' => 'b/{destinationBucket}/o/{destinationObject}/compose', + 'httpMethod' => 'POST', + 'parameters' => array( + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'copy' => array( + 'path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sourceBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sourceGeneration' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getIamPolicy' => array( + 'path' => 'b/{bucket}/o/{object}/iam', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/o', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentEncoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/o', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'versions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rewrite' => array( + 'path' => 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sourceBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxBytesRewrittenPerCall' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rewriteToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sourceGeneration' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'b/{bucket}/o/{object}/iam', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'testIamPermissions' => array( + 'path' => 'b/{bucket}/o/{object}/iam/testPermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissions' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watchAll' => array( + 'path' => 'b/{bucket}/o/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'versions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php new file mode 100644 index 00000000..3aa7a99a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Bucket.php @@ -0,0 +1,201 @@ +acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setCors($cors) + { + $this->cors = $cors; + } + public function getCors() + { + return $this->cors; + } + public function setDefaultObjectAcl($defaultObjectAcl) + { + $this->defaultObjectAcl = $defaultObjectAcl; + } + public function getDefaultObjectAcl() + { + return $this->defaultObjectAcl; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifecycle(Google_Service_Storage_BucketLifecycle $lifecycle) + { + $this->lifecycle = $lifecycle; + } + public function getLifecycle() + { + return $this->lifecycle; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLogging(Google_Service_Storage_BucketLogging $logging) + { + $this->logging = $logging; + } + public function getLogging() + { + return $this->logging; + } + public function setMetageneration($metageneration) + { + $this->metageneration = $metageneration; + } + public function getMetageneration() + { + return $this->metageneration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner(Google_Service_Storage_BucketOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStorageClass($storageClass) + { + $this->storageClass = $storageClass; + } + public function getStorageClass() + { + return $this->storageClass; + } + public function setTimeCreated($timeCreated) + { + $this->timeCreated = $timeCreated; + } + public function getTimeCreated() + { + return $this->timeCreated; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVersioning(Google_Service_Storage_BucketVersioning $versioning) + { + $this->versioning = $versioning; + } + public function getVersioning() + { + return $this->versioning; + } + public function setWebsite(Google_Service_Storage_BucketWebsite $website) + { + $this->website = $website; + } + public function getWebsite() + { + return $this->website; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php new file mode 100644 index 00000000..ead69b1f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControl.php @@ -0,0 +1,121 @@ +bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam) + { + $this->projectTeam = $projectTeam; + } + public function getProjectTeam() + { + return $this->projectTeam; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php new file mode 100644 index 00000000..bc2c9a81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControlProjectTeam.php @@ -0,0 +1,39 @@ +projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setTeam($team) + { + $this->team = $team; + } + public function getTeam() + { + return $this->team; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php new file mode 100644 index 00000000..108c4b6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketAccessControls.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php new file mode 100644 index 00000000..f63800e8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketCors.php @@ -0,0 +1,58 @@ +maxAgeSeconds = $maxAgeSeconds; + } + public function getMaxAgeSeconds() + { + return $this->maxAgeSeconds; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setResponseHeader($responseHeader) + { + $this->responseHeader = $responseHeader; + } + public function getResponseHeader() + { + return $this->responseHeader; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php new file mode 100644 index 00000000..dd0cba3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketEncryption.php @@ -0,0 +1,33 @@ + "default_kms_key_name", + ); + public $defaultKmsKeyName; + + public function setDefaultKmsKeyName($defaultKmsKeyName) + { + $this->defaultKmsKeyName = $defaultKmsKeyName; + } + public function getDefaultKmsKeyName() + { + return $this->defaultKmsKeyName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php new file mode 100644 index 00000000..1958f36b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycle.php @@ -0,0 +1,32 @@ +rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php new file mode 100644 index 00000000..d983ddfb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRule.php @@ -0,0 +1,41 @@ +action = $action; + } + public function getAction() + { + return $this->action; + } + public function setCondition(Google_Service_Storage_BucketLifecycleRuleCondition $condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php new file mode 100644 index 00000000..869a756d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleAction.php @@ -0,0 +1,39 @@ +storageClass = $storageClass; + } + public function getStorageClass() + { + return $this->storageClass; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php new file mode 100644 index 00000000..90de2837 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLifecycleRuleCondition.php @@ -0,0 +1,67 @@ +age = $age; + } + public function getAge() + { + return $this->age; + } + public function setCreatedBefore($createdBefore) + { + $this->createdBefore = $createdBefore; + } + public function getCreatedBefore() + { + return $this->createdBefore; + } + public function setIsLive($isLive) + { + $this->isLive = $isLive; + } + public function getIsLive() + { + return $this->isLive; + } + public function setMatchesStorageClass($matchesStorageClass) + { + $this->matchesStorageClass = $matchesStorageClass; + } + public function getMatchesStorageClass() + { + return $this->matchesStorageClass; + } + public function setNumNewerVersions($numNewerVersions) + { + $this->numNewerVersions = $numNewerVersions; + } + public function getNumNewerVersions() + { + return $this->numNewerVersions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php new file mode 100644 index 00000000..0bda63e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketLogging.php @@ -0,0 +1,39 @@ +logBucket = $logBucket; + } + public function getLogBucket() + { + return $this->logBucket; + } + public function setLogObjectPrefix($logObjectPrefix) + { + $this->logObjectPrefix = $logObjectPrefix; + } + public function getLogObjectPrefix() + { + return $this->logObjectPrefix; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php new file mode 100644 index 00000000..c5bfd88c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketOwner.php @@ -0,0 +1,39 @@ +entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php new file mode 100644 index 00000000..10aeb47e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketVersioning.php @@ -0,0 +1,30 @@ +enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php new file mode 100644 index 00000000..02db8c92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/BucketWebsite.php @@ -0,0 +1,39 @@ +mainPageSuffix = $mainPageSuffix; + } + public function getMainPageSuffix() + { + return $this->mainPageSuffix; + } + public function setNotFoundPage($notFoundPage) + { + $this->notFoundPage = $notFoundPage; + } + public function getNotFoundPage() + { + return $this->notFoundPage; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php new file mode 100644 index 00000000..ff4f4054 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Buckets.php @@ -0,0 +1,50 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php new file mode 100644 index 00000000..1efb8034 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Channel.php @@ -0,0 +1,111 @@ +address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php new file mode 100644 index 00000000..2564af36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequest.php @@ -0,0 +1,51 @@ +destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSourceObjects($sourceObjects) + { + $this->sourceObjects = $sourceObjects; + } + public function getSourceObjects() + { + return $this->sourceObjects; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php new file mode 100644 index 00000000..c9ced2ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjects.php @@ -0,0 +1,49 @@ +generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectPreconditions(Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions $objectPreconditions) + { + $this->objectPreconditions = $objectPreconditions; + } + public function getObjectPreconditions() + { + return $this->objectPreconditions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php new file mode 100644 index 00000000..a471179f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ComposeRequestSourceObjectsObjectPreconditions.php @@ -0,0 +1,30 @@ +ifGenerationMatch = $ifGenerationMatch; + } + public function getIfGenerationMatch() + { + return $this->ifGenerationMatch; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php new file mode 100644 index 00000000..3dcf3072 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControl.php @@ -0,0 +1,139 @@ +bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject($object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setProjectTeam(Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam) + { + $this->projectTeam = $projectTeam; + } + public function getProjectTeam() + { + return $this->projectTeam; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php new file mode 100644 index 00000000..a4dff126 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControlProjectTeam.php @@ -0,0 +1,39 @@ +projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setTeam($team) + { + $this->team = $team; + } + public function getTeam() + { + return $this->team; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php new file mode 100644 index 00000000..4007cb35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/ObjectAccessControls.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php new file mode 100644 index 00000000..e086c248 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Objects.php @@ -0,0 +1,59 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPrefixes($prefixes) + { + $this->prefixes = $prefixes; + } + public function getPrefixes() + { + return $this->prefixes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php new file mode 100644 index 00000000..b03c7190 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Policy.php @@ -0,0 +1,59 @@ +bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php new file mode 100644 index 00000000..158c6bf9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/PolicyBindings.php @@ -0,0 +1,40 @@ +members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php new file mode 100644 index 00000000..3475dbb0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/BucketAccessControls.php @@ -0,0 +1,125 @@ + + * $storageService = new Google_Service_Storage(...); + * $bucketAccessControls = $storageService->bucketAccessControls; + * + */ +class Google_Service_Storage_Resource_BucketAccessControls extends Google_Service_Resource +{ + /** + * Permanently deletes the ACL entry for the specified entity on the specified + * bucket. (bucketAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + */ + public function delete($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the ACL entry for the specified entity on the specified bucket. + * (bucketAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function get($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_BucketAccessControl"); + } + /** + * Creates a new ACL entry on the specified bucket. + * (bucketAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param Google_Service_Storage_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function insert($bucket, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_BucketAccessControl"); + } + /** + * Retrieves ACL entries on the specified bucket. + * (bucketAccessControls.listBucketAccessControls) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControls + */ + public function listBucketAccessControls($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_BucketAccessControls"); + } + /** + * Updates an ACL entry on the specified bucket. This method supports patch + * semantics. (bucketAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function patch($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_BucketAccessControl"); + } + /** + * Updates an ACL entry on the specified bucket. (bucketAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function update($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_BucketAccessControl"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php new file mode 100644 index 00000000..facfb352 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Buckets.php @@ -0,0 +1,208 @@ + + * $storageService = new Google_Service_Storage(...); + * $buckets = $storageService->buckets; + * + */ +class Google_Service_Storage_Resource_Buckets extends Google_Service_Resource +{ + /** + * Permanently deletes an empty bucket. (buckets.delete) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch If set, only deletes the bucket if + * its metageneration matches this value. + * @opt_param string ifMetagenerationNotMatch If set, only deletes the bucket if + * its metageneration does not match this value. + */ + public function delete($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns metadata for the specified bucket. (buckets.get) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @return Google_Service_Storage_Bucket + */ + public function get($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_Bucket"); + } + /** + * Returns an IAM policy for the specified bucket. (buckets.getIamPolicy) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_Policy + */ + public function getIamPolicy($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Storage_Policy"); + } + /** + * Creates a new bucket. (buckets.insert) + * + * @param string $project A valid API project identifier. + * @param Google_Service_Storage_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the bucket resource specifies acl or defaultObjectAcl properties, when + * it defaults to full. + * @return Google_Service_Storage_Bucket + */ + public function insert($project, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_Bucket"); + } + /** + * Retrieves a list of buckets for a given project. (buckets.listBuckets) + * + * @param string $project A valid API project identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of buckets to return in a single + * response. The service will use this parameter or 1,000 items, whichever is + * smaller. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string prefix Filter results to buckets whose names begin with + * this prefix. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @return Google_Service_Storage_Buckets + */ + public function listBuckets($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_Buckets"); + } + /** + * Updates a bucket. Changes to the bucket will be readable immediately after + * writing, but configuration changes may take time to propagate. This method + * supports patch semantics. (buckets.patch) + * + * @param string $bucket Name of a bucket. + * @param Google_Service_Storage_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_Bucket + */ + public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_Bucket"); + } + /** + * Updates an IAM policy for the specified bucket. (buckets.setIamPolicy) + * + * @param string $bucket Name of a bucket. + * @param Google_Service_Storage_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_Policy + */ + public function setIamPolicy($bucket, Google_Service_Storage_Policy $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Storage_Policy"); + } + /** + * Tests a set of permissions on the given bucket to see which, if any, are held + * by the caller. (buckets.testIamPermissions) + * + * @param string $bucket Name of a bucket. + * @param string|array $permissions Permissions to test. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_TestIamPermissionsResponse + */ + public function testIamPermissions($bucket, $permissions, $optParams = array()) + { + $params = array('bucket' => $bucket, 'permissions' => $permissions); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Storage_TestIamPermissionsResponse"); + } + /** + * Updates a bucket. Changes to the bucket will be readable immediately after + * writing, but configuration changes may take time to propagate. + * (buckets.update) + * + * @param string $bucket Name of a bucket. + * @param Google_Service_Storage_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_Bucket + */ + public function update($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_Bucket"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php new file mode 100644 index 00000000..8c5a1dc6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Channels.php @@ -0,0 +1,40 @@ + + * $storageService = new Google_Service_Storage(...); + * $channels = $storageService->channels; + * + */ +class Google_Service_Storage_Resource_Channels extends Google_Service_Resource +{ + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Service_Storage_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Storage_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php new file mode 100644 index 00000000..83c6c9ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/DefaultObjectAccessControls.php @@ -0,0 +1,132 @@ + + * $storageService = new Google_Service_Storage(...); + * $defaultObjectAccessControls = $storageService->defaultObjectAccessControls; + * + */ +class Google_Service_Storage_Resource_DefaultObjectAccessControls extends Google_Service_Resource +{ + /** + * Permanently deletes the default object ACL entry for the specified entity on + * the specified bucket. (defaultObjectAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + */ + public function delete($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the default object ACL entry for the specified entity on the + * specified bucket. (defaultObjectAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function get($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Creates a new default object ACL entry on the specified bucket. + * (defaultObjectAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function insert($bucket, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Retrieves default object ACL entries on the specified bucket. + * (defaultObjectAccessControls.listDefaultObjectAccessControls) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch If present, only return default ACL + * listing if the bucket's current metageneration matches this value. + * @opt_param string ifMetagenerationNotMatch If present, only return default + * ACL listing if the bucket's current metageneration does not match the given + * value. + * @return Google_Service_Storage_ObjectAccessControls + */ + public function listDefaultObjectAccessControls($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls"); + } + /** + * Updates a default object ACL entry on the specified bucket. This method + * supports patch semantics. (defaultObjectAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function patch($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Updates a default object ACL entry on the specified bucket. + * (defaultObjectAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function update($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php new file mode 100644 index 00000000..04734a83 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/ObjectAccessControls.php @@ -0,0 +1,155 @@ + + * $storageService = new Google_Service_Storage(...); + * $objectAccessControls = $storageService->objectAccessControls; + * + */ +class Google_Service_Storage_Resource_ObjectAccessControls extends Google_Service_Resource +{ + /** + * Permanently deletes the ACL entry for the specified entity on the specified + * object. (objectAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + */ + public function delete($bucket, $object, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the ACL entry for the specified entity on the specified object. + * (objectAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function get($bucket, $object, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Creates a new ACL entry on the specified object. + * (objectAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function insert($bucket, $object, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Retrieves ACL entries on the specified object. + * (objectAccessControls.listObjectAccessControls) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControls + */ + public function listObjectAccessControls($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls"); + } + /** + * Updates an ACL entry on the specified object. This method supports patch + * semantics. (objectAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function patch($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + /** + * Updates an ACL entry on the specified object. (objectAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_Service_Storage_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function update($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php new file mode 100644 index 00000000..98155f25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/Resource/Objects.php @@ -0,0 +1,444 @@ + + * $storageService = new Google_Service_Storage(...); + * $objects = $storageService->objects; + * + */ +class Google_Service_Storage_Resource_Objects extends Google_Service_Resource +{ + /** + * Concatenates a list of existing objects into a new object in the same bucket. + * (objects.compose) + * + * @param string $destinationBucket Name of the bucket in which to store the new + * object. + * @param string $destinationObject Name of the new object. For information + * about how to URL encode object names to be path safe, see Encoding URI Path + * Parts. + * @param Google_Service_Storage_ComposeRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @return Google_Service_Storage_StorageObject + */ + public function compose($destinationBucket, $destinationObject, Google_Service_Storage_ComposeRequest $postBody, $optParams = array()) + { + $params = array('destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('compose', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Copies a source object to a destination object. Optionally overrides + * metadata. (objects.copy) + * + * @param string $sourceBucket Name of the bucket in which to find the source + * object. + * @param string $sourceObject Name of the source object. For information about + * how to URL encode object names to be path safe, see Encoding URI Path Parts. + * @param string $destinationBucket Name of the bucket in which to store the new + * object. Overrides the provided object metadata's bucket value, if any.For + * information about how to URL encode object names to be path safe, see + * Encoding URI Path Parts. + * @param string $destinationObject Name of the new object. Required when the + * object metadata is not otherwise provided. Overrides the object metadata's + * name value, if any. + * @param Google_Service_Storage_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the destination object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the destination object's current generation does not match the given + * value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the destination object's current metageneration matches the given + * value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the destination object's current metageneration does not match the + * given value. + * @opt_param string ifSourceGenerationMatch Makes the operation conditional on + * whether the source object's generation matches the given value. + * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional + * on whether the source object's generation does not match the given value. + * @opt_param string ifSourceMetagenerationMatch Makes the operation conditional + * on whether the source object's current metageneration matches the given + * value. + * @opt_param string ifSourceMetagenerationNotMatch Makes the operation + * conditional on whether the source object's current metageneration does not + * match the given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @opt_param string sourceGeneration If present, selects a specific revision of + * the source object (as opposed to the latest version, the default). + * @return Google_Service_Storage_StorageObject + */ + public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Deletes an object and its metadata. Deletions are permanent if versioning is + * not enabled for the bucket, or if the generation parameter is used. + * (objects.delete) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, permanently deletes a specific + * revision of this object (as opposed to the latest version, the default). + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + */ + public function delete($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves an object or its metadata. (objects.get) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @return Google_Service_Storage_StorageObject + */ + public function get($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Returns an IAM policy for the specified object. (objects.getIamPolicy) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_Policy + */ + public function getIamPolicy($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Storage_Policy"); + } + /** + * Stores a new object and metadata. (objects.insert) + * + * @param string $bucket Name of the bucket in which to store the new object. + * Overrides the provided object metadata's bucket value, if any. + * @param Google_Service_Storage_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string contentEncoding If set, sets the contentEncoding property + * of the final object to this value. Setting this parameter is equivalent to + * setting the contentEncoding metadata property. This can be useful when + * uploading an object with uploadType=media to indicate the encoding of the + * content being uploaded. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string name Name of the object. Required when the object metadata + * is not otherwise provided. Overrides the object metadata's name value, if + * any. For information about how to URL encode object names to be path safe, + * see Encoding URI Path Parts. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @return Google_Service_Storage_StorageObject + */ + public function insert($bucket, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Retrieves a list of objects matching the criteria. (objects.listObjects) + * + * @param string $bucket Name of the bucket in which to look for objects. + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter Returns results in a directory-like mode. items + * will contain only objects whose names, aside from the prefix, do not contain + * delimiter. Objects whose names, aside from the prefix, contain delimiter will + * have their name, truncated after the delimiter, returned in prefixes. + * Duplicate prefixes are omitted. + * @opt_param string maxResults Maximum number of items plus prefixes to return + * in a single page of responses. As duplicate prefixes are omitted, fewer total + * results may be returned than requested. The service will use this parameter + * or 1,000 items, whichever is smaller. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string prefix Filter results to objects whose names begin with + * this prefix. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @opt_param bool versions If true, lists all versions of an object as distinct + * results. The default is false. For more information, see Object Versioning. + * @return Google_Service_Storage_Objects + */ + public function listObjects($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_Objects"); + } + /** + * Updates an object's metadata. This method supports patch semantics. + * (objects.patch) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_Service_Storage_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_StorageObject + */ + public function patch($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Rewrites a source object to a destination object. Optionally overrides + * metadata. (objects.rewrite) + * + * @param string $sourceBucket Name of the bucket in which to find the source + * object. + * @param string $sourceObject Name of the source object. For information about + * how to URL encode object names to be path safe, see Encoding URI Path Parts. + * @param string $destinationBucket Name of the bucket in which to store the new + * object. Overrides the provided object metadata's bucket value, if any. + * @param string $destinationObject Name of the new object. Required when the + * object metadata is not otherwise provided. Overrides the object metadata's + * name value, if any. For information about how to URL encode object names to + * be path safe, see Encoding URI Path Parts. + * @param Google_Service_Storage_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the destination object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the destination object's current generation does not match the given + * value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the destination object's current metageneration matches the given + * value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the destination object's current metageneration does not match the + * given value. + * @opt_param string ifSourceGenerationMatch Makes the operation conditional on + * whether the source object's generation matches the given value. + * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional + * on whether the source object's generation does not match the given value. + * @opt_param string ifSourceMetagenerationMatch Makes the operation conditional + * on whether the source object's current metageneration matches the given + * value. + * @opt_param string ifSourceMetagenerationNotMatch Makes the operation + * conditional on whether the source object's current metageneration does not + * match the given value. + * @opt_param string maxBytesRewrittenPerCall The maximum number of bytes that + * will be rewritten per rewrite request. Most callers shouldn't need to specify + * this parameter - it is primarily in place to support testing. If specified + * the value must be an integral multiple of 1 MiB (1048576). Also, this only + * applies to requests where the source and destination span locations and/or + * storage classes. Finally, this value must not change across rewrite calls + * else you'll get an error that the rewriteToken is invalid. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @opt_param string rewriteToken Include this field (from the previous rewrite + * response) on each rewrite request after the first one, until the rewrite + * response 'done' flag is true. Calls that provide a rewriteToken can omit all + * other request fields, but if included those fields must match the values + * provided in the first rewrite request. + * @opt_param string sourceGeneration If present, selects a specific revision of + * the source object (as opposed to the latest version, the default). + * @return Google_Service_Storage_RewriteResponse + */ + public function rewrite($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rewrite', array($params), "Google_Service_Storage_RewriteResponse"); + } + /** + * Updates an IAM policy for the specified object. (objects.setIamPolicy) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_Service_Storage_Policy $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_Policy + */ + public function setIamPolicy($bucket, $object, Google_Service_Storage_Policy $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Storage_Policy"); + } + /** + * Tests a set of permissions on the given object to see which, if any, are held + * by the caller. (objects.testIamPermissions) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string|array $permissions Permissions to test. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_TestIamPermissionsResponse + */ + public function testIamPermissions($bucket, $object, $permissions, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'permissions' => $permissions); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Storage_TestIamPermissionsResponse"); + } + /** + * Updates an object's metadata. (objects.update) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_Service_Storage_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_StorageObject + */ + public function update($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_StorageObject"); + } + /** + * Watch for changes on all objects in a bucket. (objects.watchAll) + * + * @param string $bucket Name of the bucket in which to look for objects. + * @param Google_Service_Storage_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter Returns results in a directory-like mode. items + * will contain only objects whose names, aside from the prefix, do not contain + * delimiter. Objects whose names, aside from the prefix, contain delimiter will + * have their name, truncated after the delimiter, returned in prefixes. + * Duplicate prefixes are omitted. + * @opt_param string maxResults Maximum number of items plus prefixes to return + * in a single page of responses. As duplicate prefixes are omitted, fewer total + * results may be returned than requested. The service will use this parameter + * or 1,000 items, whichever is smaller. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string prefix Filter results to objects whose names begin with + * this prefix. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @opt_param bool versions If true, lists all versions of an object as distinct + * results. The default is false. For more information, see Object Versioning. + * @return Google_Service_Storage_Channel + */ + public function watchAll($bucket, Google_Service_Storage_Channel $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watchAll', array($params), "Google_Service_Storage_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php new file mode 100644 index 00000000..aa8f1c65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/RewriteResponse.php @@ -0,0 +1,76 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObjectSize($objectSize) + { + $this->objectSize = $objectSize; + } + public function getObjectSize() + { + return $this->objectSize; + } + public function setResource(Google_Service_Storage_StorageObject $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setRewriteToken($rewriteToken) + { + $this->rewriteToken = $rewriteToken; + } + public function getRewriteToken() + { + return $this->rewriteToken; + } + public function setTotalBytesRewritten($totalBytesRewritten) + { + $this->totalBytesRewritten = $totalBytesRewritten; + } + public function getTotalBytesRewritten() + { + return $this->totalBytesRewritten; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php new file mode 100644 index 00000000..4cfb91ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObject.php @@ -0,0 +1,268 @@ +acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setBucket($bucket) + { + $this->bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setCacheControl($cacheControl) + { + $this->cacheControl = $cacheControl; + } + public function getCacheControl() + { + return $this->cacheControl; + } + public function setComponentCount($componentCount) + { + $this->componentCount = $componentCount; + } + public function getComponentCount() + { + return $this->componentCount; + } + public function setContentDisposition($contentDisposition) + { + $this->contentDisposition = $contentDisposition; + } + public function getContentDisposition() + { + return $this->contentDisposition; + } + public function setContentEncoding($contentEncoding) + { + $this->contentEncoding = $contentEncoding; + } + public function getContentEncoding() + { + return $this->contentEncoding; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setCrc32c($crc32c) + { + $this->crc32c = $crc32c; + } + public function getCrc32c() + { + return $this->crc32c; + } + public function setCustomerEncryption(Google_Service_Storage_StorageObjectCustomerEncryption $customerEncryption) + { + $this->customerEncryption = $customerEncryption; + } + public function getCustomerEncryption() + { + return $this->customerEncryption; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMd5Hash($md5Hash) + { + $this->md5Hash = $md5Hash; + } + public function getMd5Hash() + { + return $this->md5Hash; + } + public function setMediaLink($mediaLink) + { + $this->mediaLink = $mediaLink; + } + public function getMediaLink() + { + return $this->mediaLink; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setMetageneration($metageneration) + { + $this->metageneration = $metageneration; + } + public function getMetageneration() + { + return $this->metageneration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner(Google_Service_Storage_StorageObjectOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setStorageClass($storageClass) + { + $this->storageClass = $storageClass; + } + public function getStorageClass() + { + return $this->storageClass; + } + public function setTimeCreated($timeCreated) + { + $this->timeCreated = $timeCreated; + } + public function getTimeCreated() + { + return $this->timeCreated; + } + public function setTimeDeleted($timeDeleted) + { + $this->timeDeleted = $timeDeleted; + } + public function getTimeDeleted() + { + return $this->timeDeleted; + } + public function setTimeStorageClassUpdated($timeStorageClassUpdated) + { + $this->timeStorageClassUpdated = $timeStorageClassUpdated; + } + public function getTimeStorageClassUpdated() + { + return $this->timeStorageClassUpdated; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php new file mode 100644 index 00000000..8dc403cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectCustomerEncryption.php @@ -0,0 +1,39 @@ +encryptionAlgorithm = $encryptionAlgorithm; + } + public function getEncryptionAlgorithm() + { + return $this->encryptionAlgorithm; + } + public function setKeySha256($keySha256) + { + $this->keySha256 = $keySha256; + } + public function getKeySha256() + { + return $this->keySha256; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php new file mode 100644 index 00000000..f2bddfab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/StorageObjectOwner.php @@ -0,0 +1,39 @@ +entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php new file mode 100644 index 00000000..54b16af6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storage/TestIamPermissionsResponse.php @@ -0,0 +1,40 @@ +kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php new file mode 100644 index 00000000..9c16b470 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer.php @@ -0,0 +1,233 @@ + + * Transfers data from external data sources to a Google Cloud Storage bucket or + * between Google Cloud Storage buckets.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Storagetransfer extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $googleServiceAccounts; + public $transferJobs; + public $transferOperations; + public $v1; + + /** + * Constructs the internal representation of the Storagetransfer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://storagetransfer.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'storagetransfer'; + + $this->googleServiceAccounts = new Google_Service_Storagetransfer_Resource_GoogleServiceAccounts( + $this, + $this->serviceName, + 'googleServiceAccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/googleServiceAccounts/{projectId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->transferJobs = new Google_Service_Storagetransfer_Resource_TransferJobs( + $this, + $this->serviceName, + 'transferJobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/transferJobs', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v1/{+jobName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/transferJobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/{+jobName}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'jobName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->transferOperations = new Google_Service_Storagetransfer_Resource_TransferOperations( + $this, + $this->serviceName, + 'transferOperations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'pause' => array( + 'path' => 'v1/{+name}:pause', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resume' => array( + 'path' => 'v1/{+name}:resume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->v1 = new Google_Service_Storagetransfer_Resource_V1( + $this, + $this->serviceName, + 'v1', + array( + 'methods' => array( + 'getGoogleServiceAccount' => array( + 'path' => 'v1:getGoogleServiceAccount', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php new file mode 100644 index 00000000..f04f3abe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php @@ -0,0 +1,39 @@ +accessKeyId = $accessKeyId; + } + public function getAccessKeyId() + { + return $this->accessKeyId; + } + public function setSecretAccessKey($secretAccessKey) + { + $this->secretAccessKey = $secretAccessKey; + } + public function getSecretAccessKey() + { + return $this->secretAccessKey; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php new file mode 100644 index 00000000..8fa56645 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php @@ -0,0 +1,40 @@ +awsAccessKey = $awsAccessKey; + } + public function getAwsAccessKey() + { + return $this->awsAccessKey; + } + public function setBucketName($bucketName) + { + $this->bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php new file mode 100644 index 00000000..dd664def --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php @@ -0,0 +1,48 @@ +day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php new file mode 100644 index 00000000..ceb040c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php @@ -0,0 +1,40 @@ +errorDetails = $errorDetails; + } + public function getErrorDetails() + { + return $this->errorDetails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php new file mode 100644 index 00000000..2f35fa3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php @@ -0,0 +1,50 @@ +errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } + public function setErrorCount($errorCount) + { + $this->errorCount = $errorCount; + } + public function getErrorCount() + { + return $this->errorCount; + } + public function setErrorLogEntries($errorLogEntries) + { + $this->errorLogEntries = $errorLogEntries; + } + public function getErrorLogEntries() + { + return $this->errorLogEntries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php new file mode 100644 index 00000000..66c336a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php @@ -0,0 +1,30 @@ +bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php new file mode 100644 index 00000000..8bd338f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php @@ -0,0 +1,30 @@ +accountEmail = $accountEmail; + } + public function getAccountEmail() + { + return $this->accountEmail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php new file mode 100644 index 00000000..13b56c59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php @@ -0,0 +1,30 @@ +listUrl = $listUrl; + } + public function getListUrl() + { + return $this->listUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php new file mode 100644 index 00000000..fa0562bc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php new file mode 100644 index 00000000..48a95f7b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTransferJobs($transferJobs) + { + $this->transferJobs = $transferJobs; + } + public function getTransferJobs() + { + return $this->transferJobs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php new file mode 100644 index 00000000..37bee489 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php @@ -0,0 +1,58 @@ +excludePrefixes = $excludePrefixes; + } + public function getExcludePrefixes() + { + return $this->excludePrefixes; + } + public function setIncludePrefixes($includePrefixes) + { + $this->includePrefixes = $includePrefixes; + } + public function getIncludePrefixes() + { + return $this->includePrefixes; + } + public function setMaxTimeElapsedSinceLastModification($maxTimeElapsedSinceLastModification) + { + $this->maxTimeElapsedSinceLastModification = $maxTimeElapsedSinceLastModification; + } + public function getMaxTimeElapsedSinceLastModification() + { + return $this->maxTimeElapsedSinceLastModification; + } + public function setMinTimeElapsedSinceLastModification($minTimeElapsedSinceLastModification) + { + $this->minTimeElapsedSinceLastModification = $minTimeElapsedSinceLastModification; + } + public function getMinTimeElapsedSinceLastModification() + { + return $this->minTimeElapsedSinceLastModification; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php new file mode 100644 index 00000000..f80fb2a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php @@ -0,0 +1,67 @@ +done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Storagetransfer_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php new file mode 100644 index 00000000..f466122e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/PauseTransferOperationRequest.php @@ -0,0 +1,20 @@ + + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $googleServiceAccounts = $storagetransferService->googleServiceAccounts; + * + */ +class Google_Service_Storagetransfer_Resource_GoogleServiceAccounts extends Google_Service_Resource +{ + /** + * Returns the Google service account that is used by Storage Transfer Service + * to access buckets in the project where transfers run or in other projects. + * Each Google service account is associated with one Google Developers Console + * project. Users should add this service account to the Google Cloud Storage + * bucket ACLs to grant access to Storage Transfer Service. This service account + * is created and owned by Storage Transfer Service and can only be used by + * Storage Transfer Service. (googleServiceAccounts.get) + * + * @param string $projectId The ID of the Google Developers Console project that + * the Google service account is associated with. Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_GoogleServiceAccount + */ + public function get($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php new file mode 100644 index 00000000..6e910a4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php @@ -0,0 +1,96 @@ + + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $transferJobs = $storagetransferService->transferJobs; + * + */ +class Google_Service_Storagetransfer_Resource_TransferJobs extends Google_Service_Resource +{ + /** + * Creates a transfer job that runs periodically. (transferJobs.create) + * + * @param Google_Service_Storagetransfer_TransferJob $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function create(Google_Service_Storagetransfer_TransferJob $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Storagetransfer_TransferJob"); + } + /** + * Gets a transfer job. (transferJobs.get) + * + * @param string $jobName The job to get. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The ID of the Google Developers Console project + * that owns the job. Required. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function get($jobName, $optParams = array()) + { + $params = array('jobName' => $jobName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_TransferJob"); + } + /** + * Lists transfer jobs. (transferJobs.listTransferJobs) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter A list of query parameters specified as JSON text in + * the form of {"`project_id`":"my_project_id", + * "`job_names`":["jobid1","jobid2",...], + * "`job_statuses`":["status1","status2",...]}. Since `job_names` and + * `job_statuses` support multiple values, their values must be specified with + * array notation. `project_id` is required. `job_names` and `job_statuses` are + * optional. The valid values for `job_statuses` are case-insensitive: + * `ENABLED`, `DISABLED`, and `DELETED`. + * @opt_param int pageSize The list page size. The max allowed value is 256. + * @opt_param string pageToken The list page token. + * @return Google_Service_Storagetransfer_ListTransferJobsResponse + */ + public function listTransferJobs($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storagetransfer_ListTransferJobsResponse"); + } + /** + * Updates a transfer job. Updating a job's transfer spec does not affect + * transfer operations that are running already. Updating the scheduling of a + * job is not allowed. (transferJobs.patch) + * + * @param string $jobName The name of job to update. Required. + * @param Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function patch($jobName, Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody, $optParams = array()) + { + $params = array('jobName' => $jobName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storagetransfer_TransferJob"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php new file mode 100644 index 00000000..f1c9cfbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php @@ -0,0 +1,121 @@ + + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $transferOperations = $storagetransferService->transferOperations; + * + */ +class Google_Service_Storagetransfer_Resource_TransferOperations extends Google_Service_Resource +{ + /** + * Cancels a transfer. Use the get method to check whether the cancellation + * succeeded or whether the operation completed despite cancellation. + * (transferOperations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_StoragetransferEmpty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty"); + } + /** + * This method is not supported and the server returns `UNIMPLEMENTED`. + * (transferOperations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_StoragetransferEmpty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty"); + } + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (transferOperations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_Operation"); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the + * `name` binding below allows API services to override the binding to use + * different resource name schemes, such as `users/operations`. + * (transferOperations.listTransferOperations) + * + * @param string $name The value `transferOperations`. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Storagetransfer_ListOperationsResponse + */ + public function listTransferOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storagetransfer_ListOperationsResponse"); + } + /** + * Pauses a transfer operation. (transferOperations.pause) + * + * @param string $name The name of the transfer operation. Required. + * @param Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_StoragetransferEmpty + */ + public function pause($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('pause', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty"); + } + /** + * Resumes a transfer operation that is paused. (transferOperations.resume) + * + * @param string $name The name of the transfer operation. Required. + * @param Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_StoragetransferEmpty + */ + public function resume($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resume', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php new file mode 100644 index 00000000..9e9a7106 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php @@ -0,0 +1,49 @@ + + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $v1 = $storagetransferService->v1; + * + */ +class Google_Service_Storagetransfer_Resource_V1 extends Google_Service_Resource +{ + /** + * Returns the Google service account that is used by Storage Transfer Service + * to access buckets in the project where transfers run or in other projects. + * Each Google service account is associated with one Google Developers Console + * project. Users should add this service account to the Google Cloud Storage + * bucket ACLs to grant access to Storage Transfer Service. This service account + * is created and owned by Storage Transfer Service and can only be used by + * Storage Transfer Service. (v1.getGoogleServiceAccount) + * + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The ID of the Google Developers Console project + * that the Google service account is associated with. Required. + * @return Google_Service_Storagetransfer_GoogleServiceAccount + */ + public function getGoogleServiceAccount($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getGoogleServiceAccount', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php new file mode 100644 index 00000000..517b12bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/ResumeTransferOperationRequest.php @@ -0,0 +1,20 @@ +scheduleEndDate = $scheduleEndDate; + } + public function getScheduleEndDate() + { + return $this->scheduleEndDate; + } + public function setScheduleStartDate(Google_Service_Storagetransfer_Date $scheduleStartDate) + { + $this->scheduleStartDate = $scheduleStartDate; + } + public function getScheduleStartDate() + { + return $this->scheduleStartDate; + } + public function setStartTimeOfDay(Google_Service_Storagetransfer_TimeOfDay $startTimeOfDay) + { + $this->startTimeOfDay = $startTimeOfDay; + } + public function getStartTimeOfDay() + { + return $this->startTimeOfDay; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php new file mode 100644 index 00000000..fd4e4ba4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php new file mode 100644 index 00000000..f69378d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php @@ -0,0 +1,20 @@ +hours = $hours; + } + public function getHours() + { + return $this->hours; + } + public function setMinutes($minutes) + { + $this->minutes = $minutes; + } + public function getMinutes() + { + return $this->minutes; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php new file mode 100644 index 00000000..a948b81b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php @@ -0,0 +1,165 @@ +bytesCopiedToSink = $bytesCopiedToSink; + } + public function getBytesCopiedToSink() + { + return $this->bytesCopiedToSink; + } + public function setBytesDeletedFromSink($bytesDeletedFromSink) + { + $this->bytesDeletedFromSink = $bytesDeletedFromSink; + } + public function getBytesDeletedFromSink() + { + return $this->bytesDeletedFromSink; + } + public function setBytesDeletedFromSource($bytesDeletedFromSource) + { + $this->bytesDeletedFromSource = $bytesDeletedFromSource; + } + public function getBytesDeletedFromSource() + { + return $this->bytesDeletedFromSource; + } + public function setBytesFailedToDeleteFromSink($bytesFailedToDeleteFromSink) + { + $this->bytesFailedToDeleteFromSink = $bytesFailedToDeleteFromSink; + } + public function getBytesFailedToDeleteFromSink() + { + return $this->bytesFailedToDeleteFromSink; + } + public function setBytesFoundFromSource($bytesFoundFromSource) + { + $this->bytesFoundFromSource = $bytesFoundFromSource; + } + public function getBytesFoundFromSource() + { + return $this->bytesFoundFromSource; + } + public function setBytesFoundOnlyFromSink($bytesFoundOnlyFromSink) + { + $this->bytesFoundOnlyFromSink = $bytesFoundOnlyFromSink; + } + public function getBytesFoundOnlyFromSink() + { + return $this->bytesFoundOnlyFromSink; + } + public function setBytesFromSourceFailed($bytesFromSourceFailed) + { + $this->bytesFromSourceFailed = $bytesFromSourceFailed; + } + public function getBytesFromSourceFailed() + { + return $this->bytesFromSourceFailed; + } + public function setBytesFromSourceSkippedBySync($bytesFromSourceSkippedBySync) + { + $this->bytesFromSourceSkippedBySync = $bytesFromSourceSkippedBySync; + } + public function getBytesFromSourceSkippedBySync() + { + return $this->bytesFromSourceSkippedBySync; + } + public function setObjectsCopiedToSink($objectsCopiedToSink) + { + $this->objectsCopiedToSink = $objectsCopiedToSink; + } + public function getObjectsCopiedToSink() + { + return $this->objectsCopiedToSink; + } + public function setObjectsDeletedFromSink($objectsDeletedFromSink) + { + $this->objectsDeletedFromSink = $objectsDeletedFromSink; + } + public function getObjectsDeletedFromSink() + { + return $this->objectsDeletedFromSink; + } + public function setObjectsDeletedFromSource($objectsDeletedFromSource) + { + $this->objectsDeletedFromSource = $objectsDeletedFromSource; + } + public function getObjectsDeletedFromSource() + { + return $this->objectsDeletedFromSource; + } + public function setObjectsFailedToDeleteFromSink($objectsFailedToDeleteFromSink) + { + $this->objectsFailedToDeleteFromSink = $objectsFailedToDeleteFromSink; + } + public function getObjectsFailedToDeleteFromSink() + { + return $this->objectsFailedToDeleteFromSink; + } + public function setObjectsFoundFromSource($objectsFoundFromSource) + { + $this->objectsFoundFromSource = $objectsFoundFromSource; + } + public function getObjectsFoundFromSource() + { + return $this->objectsFoundFromSource; + } + public function setObjectsFoundOnlyFromSink($objectsFoundOnlyFromSink) + { + $this->objectsFoundOnlyFromSink = $objectsFoundOnlyFromSink; + } + public function getObjectsFoundOnlyFromSink() + { + return $this->objectsFoundOnlyFromSink; + } + public function setObjectsFromSourceFailed($objectsFromSourceFailed) + { + $this->objectsFromSourceFailed = $objectsFromSourceFailed; + } + public function getObjectsFromSourceFailed() + { + return $this->objectsFromSourceFailed; + } + public function setObjectsFromSourceSkippedBySync($objectsFromSourceSkippedBySync) + { + $this->objectsFromSourceSkippedBySync = $objectsFromSourceSkippedBySync; + } + public function getObjectsFromSourceSkippedBySync() + { + return $this->objectsFromSourceSkippedBySync; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php new file mode 100644 index 00000000..e362fe93 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php @@ -0,0 +1,104 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDeletionTime($deletionTime) + { + $this->deletionTime = $deletionTime; + } + public function getDeletionTime() + { + return $this->deletionTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLastModificationTime($lastModificationTime) + { + $this->lastModificationTime = $lastModificationTime; + } + public function getLastModificationTime() + { + return $this->lastModificationTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSchedule(Google_Service_Storagetransfer_Schedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec) + { + $this->transferSpec = $transferSpec; + } + public function getTransferSpec() + { + return $this->transferSpec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php new file mode 100644 index 00000000..7a93c26b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php @@ -0,0 +1,106 @@ +counters = $counters; + } + public function getCounters() + { + return $this->counters; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setErrorBreakdowns($errorBreakdowns) + { + $this->errorBreakdowns = $errorBreakdowns; + } + public function getErrorBreakdowns() + { + return $this->errorBreakdowns; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTransferJobName($transferJobName) + { + $this->transferJobName = $transferJobName; + } + public function getTransferJobName() + { + return $this->transferJobName; + } + public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec) + { + $this->transferSpec = $transferSpec; + } + public function getTransferSpec() + { + return $this->transferSpec; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php new file mode 100644 index 00000000..da15ff71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php @@ -0,0 +1,48 @@ +deleteObjectsFromSourceAfterTransfer = $deleteObjectsFromSourceAfterTransfer; + } + public function getDeleteObjectsFromSourceAfterTransfer() + { + return $this->deleteObjectsFromSourceAfterTransfer; + } + public function setDeleteObjectsUniqueInSink($deleteObjectsUniqueInSink) + { + $this->deleteObjectsUniqueInSink = $deleteObjectsUniqueInSink; + } + public function getDeleteObjectsUniqueInSink() + { + return $this->deleteObjectsUniqueInSink; + } + public function setOverwriteObjectsAlreadyExistingInSink($overwriteObjectsAlreadyExistingInSink) + { + $this->overwriteObjectsAlreadyExistingInSink = $overwriteObjectsAlreadyExistingInSink; + } + public function getOverwriteObjectsAlreadyExistingInSink() + { + return $this->overwriteObjectsAlreadyExistingInSink; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php new file mode 100644 index 00000000..1d9ea626 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php @@ -0,0 +1,81 @@ +awsS3DataSource = $awsS3DataSource; + } + public function getAwsS3DataSource() + { + return $this->awsS3DataSource; + } + public function setGcsDataSink(Google_Service_Storagetransfer_GcsData $gcsDataSink) + { + $this->gcsDataSink = $gcsDataSink; + } + public function getGcsDataSink() + { + return $this->gcsDataSink; + } + public function setGcsDataSource(Google_Service_Storagetransfer_GcsData $gcsDataSource) + { + $this->gcsDataSource = $gcsDataSource; + } + public function getGcsDataSource() + { + return $this->gcsDataSource; + } + public function setHttpDataSource(Google_Service_Storagetransfer_HttpData $httpDataSource) + { + $this->httpDataSource = $httpDataSource; + } + public function getHttpDataSource() + { + return $this->httpDataSource; + } + public function setObjectConditions(Google_Service_Storagetransfer_ObjectConditions $objectConditions) + { + $this->objectConditions = $objectConditions; + } + public function getObjectConditions() + { + return $this->objectConditions; + } + public function setTransferOptions(Google_Service_Storagetransfer_TransferOptions $transferOptions) + { + $this->transferOptions = $transferOptions; + } + public function getTransferOptions() + { + return $this->transferOptions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php new file mode 100644 index 00000000..335e299d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php @@ -0,0 +1,49 @@ +projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setTransferJob(Google_Service_Storagetransfer_TransferJob $transferJob) + { + $this->transferJob = $transferJob; + } + public function getTransferJob() + { + return $this->transferJob; + } + public function setUpdateTransferJobFieldMask($updateTransferJobFieldMask) + { + $this->updateTransferJobFieldMask = $updateTransferJobFieldMask; + } + public function getUpdateTransferJobFieldMask() + { + return $this->updateTransferJobFieldMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php new file mode 100644 index 00000000..330337be --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys.php @@ -0,0 +1,210 @@ + + * Creates and conducts surveys, lists the surveys that an authenticated user + * owns, and retrieves survey results and information about specified surveys.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Surveys extends Google_Service +{ + /** View and manage your surveys and results. */ + const SURVEYS = + "https://www.googleapis.com/auth/surveys"; + /** View your surveys and survey results. */ + const SURVEYS_READONLY = + "https://www.googleapis.com/auth/surveys.readonly"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $mobileapppanels; + public $results; + public $surveys; + + /** + * Constructs the internal representation of the Surveys service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'surveys/v2/'; + $this->version = 'v2'; + $this->serviceName = 'surveys'; + + $this->mobileapppanels = new Google_Service_Surveys_Resource_Mobileapppanels( + $this, + $this->serviceName, + 'mobileapppanels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'mobileAppPanels/{panelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'panelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'mobileAppPanels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'mobileAppPanels/{panelId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'panelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->results = new Google_Service_Surveys_Resource_Results( + $this, + $this->serviceName, + 'results', + array( + 'methods' => array( + 'get' => array( + 'path' => 'surveys/{surveyUrlId}/results', + 'httpMethod' => 'GET', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->surveys = new Google_Service_Surveys_Resource_Surveys( + $this, + $this->serviceName, + 'surveys', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'surveys', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'surveys', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'start' => array( + 'path' => 'surveys/{resourceId}/start', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => 'surveys/{resourceId}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'surveys/{surveyUrlId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'surveyUrlId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php new file mode 100644 index 00000000..76062663 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/FieldMask.php @@ -0,0 +1,41 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php new file mode 100644 index 00000000..a85b1ed7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanel.php @@ -0,0 +1,76 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setIsPublicPanel($isPublicPanel) + { + $this->isPublicPanel = $isPublicPanel; + } + public function getIsPublicPanel() + { + return $this->isPublicPanel; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setMobileAppPanelId($mobileAppPanelId) + { + $this->mobileAppPanelId = $mobileAppPanelId; + } + public function getMobileAppPanelId() + { + return $this->mobileAppPanelId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php new file mode 100644 index 00000000..942bf858 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/MobileAppPanelsListResponse.php @@ -0,0 +1,61 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_Surveys_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php new file mode 100644 index 00000000..bd07806c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/PageInfo.php @@ -0,0 +1,48 @@ +resultPerPage = $resultPerPage; + } + public function getResultPerPage() + { + return $this->resultPerPage; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php new file mode 100644 index 00000000..6e3265d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Mobileapppanels.php @@ -0,0 +1,74 @@ + + * $surveysService = new Google_Service_Surveys(...); + * $mobileapppanels = $surveysService->mobileapppanels; + * + */ +class Google_Service_Surveys_Resource_Mobileapppanels extends Google_Service_Resource +{ + /** + * Retrieves a MobileAppPanel that is available to the authenticated user. + * (mobileapppanels.get) + * + * @param string $panelId External URL ID for the panel. + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_MobileAppPanel + */ + public function get($panelId, $optParams = array()) + { + $params = array('panelId' => $panelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Surveys_MobileAppPanel"); + } + /** + * Lists the MobileAppPanels available to the authenticated user. + * (mobileapppanels.listMobileapppanels) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_Surveys_MobileAppPanelsListResponse + */ + public function listMobileapppanels($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Surveys_MobileAppPanelsListResponse"); + } + /** + * Updates a MobileAppPanel. Currently the only property that can be updated is + * the owners property. (mobileapppanels.update) + * + * @param string $panelId External URL ID for the panel. + * @param Google_Service_Surveys_MobileAppPanel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_MobileAppPanel + */ + public function update($panelId, Google_Service_Surveys_MobileAppPanel $postBody, $optParams = array()) + { + $params = array('panelId' => $panelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Surveys_MobileAppPanel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php new file mode 100644 index 00000000..ec6346dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Results.php @@ -0,0 +1,43 @@ + + * $surveysService = new Google_Service_Surveys(...); + * $results = $surveysService->results; + * + */ +class Google_Service_Surveys_Resource_Results extends Google_Service_Resource +{ + /** + * Retrieves any survey results that have been produced so far. Results are + * formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. (results.get) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_SurveyResults + */ + public function get($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Surveys_SurveyResults"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php new file mode 100644 index 00000000..86765b01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Resource/Surveys.php @@ -0,0 +1,125 @@ + + * $surveysService = new Google_Service_Surveys(...); + * $surveys = $surveysService->surveys; + * + */ +class Google_Service_Surveys_Resource_Surveys extends Google_Service_Resource +{ + /** + * Removes a survey from view in all user GET requests. (surveys.delete) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_SurveysDeleteResponse + */ + public function delete($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Surveys_SurveysDeleteResponse"); + } + /** + * Retrieves information about the specified survey. (surveys.get) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_Survey + */ + public function get($surveyUrlId, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Surveys_Survey"); + } + /** + * Creates a survey. (surveys.insert) + * + * @param Google_Service_Surveys_Survey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_Survey + */ + public function insert(Google_Service_Surveys_Survey $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Surveys_Survey"); + } + /** + * Lists the surveys owned by the authenticated user. (surveys.listSurveys) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults + * @opt_param string startIndex + * @opt_param string token + * @return Google_Service_Surveys_SurveysListResponse + */ + public function listSurveys($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Surveys_SurveysListResponse"); + } + /** + * Begins running a survey. (surveys.start) + * + * @param string $resourceId + * @param Google_Service_Surveys_SurveysStartRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_SurveysStartResponse + */ + public function start($resourceId, Google_Service_Surveys_SurveysStartRequest $postBody, $optParams = array()) + { + $params = array('resourceId' => $resourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_Surveys_SurveysStartResponse"); + } + /** + * Stops a running survey. (surveys.stop) + * + * @param string $resourceId + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_SurveysStopResponse + */ + public function stop($resourceId, $optParams = array()) + { + $params = array('resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_Surveys_SurveysStopResponse"); + } + /** + * Updates a survey. Currently the only property that can be updated is the + * owners property. (surveys.update) + * + * @param string $surveyUrlId External URL ID for the survey. + * @param Google_Service_Surveys_Survey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Surveys_Survey + */ + public function update($surveyUrlId, Google_Service_Surveys_Survey $postBody, $optParams = array()) + { + $params = array('surveyUrlId' => $surveyUrlId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Surveys_Survey"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php new file mode 100644 index 00000000..3d8324e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsGetRequest.php @@ -0,0 +1,31 @@ +resultMask = $resultMask; + } + public function getResultMask() + { + return $this->resultMask; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php new file mode 100644 index 00000000..594b86a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/ResultsMask.php @@ -0,0 +1,41 @@ +fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php new file mode 100644 index 00000000..481abf86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/Survey.php @@ -0,0 +1,125 @@ +audience = $audience; + } + public function getAudience() + { + return $this->audience; + } + public function setCost(Google_Service_Surveys_SurveyCost $cost) + { + $this->cost = $cost; + } + public function getCost() + { + return $this->cost; + } + public function setCustomerData($customerData) + { + $this->customerData = $customerData; + } + public function getCustomerData() + { + return $this->customerData; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setQuestions($questions) + { + $this->questions = $questions; + } + public function getQuestions() + { + return $this->questions; + } + public function setRejectionReason(Google_Service_Surveys_SurveyRejection $rejectionReason) + { + $this->rejectionReason = $rejectionReason; + } + public function getRejectionReason() + { + return $this->rejectionReason; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSurveyUrlId($surveyUrlId) + { + $this->surveyUrlId = $surveyUrlId; + } + public function getSurveyUrlId() + { + return $this->surveyUrlId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setWantedResponseCount($wantedResponseCount) + { + $this->wantedResponseCount = $wantedResponseCount; + } + public function getWantedResponseCount() + { + return $this->wantedResponseCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php new file mode 100644 index 00000000..b37f43bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyAudience.php @@ -0,0 +1,85 @@ +ages = $ages; + } + public function getAges() + { + return $this->ages; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCountrySubdivision($countrySubdivision) + { + $this->countrySubdivision = $countrySubdivision; + } + public function getCountrySubdivision() + { + return $this->countrySubdivision; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setMobileAppPanelId($mobileAppPanelId) + { + $this->mobileAppPanelId = $mobileAppPanelId; + } + public function getMobileAppPanelId() + { + return $this->mobileAppPanelId; + } + public function setPopulationSource($populationSource) + { + $this->populationSource = $populationSource; + } + public function getPopulationSource() + { + return $this->populationSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php new file mode 100644 index 00000000..bdbd1d71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyCost.php @@ -0,0 +1,57 @@ +costPerResponseNanos = $costPerResponseNanos; + } + public function getCostPerResponseNanos() + { + return $this->costPerResponseNanos; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setMaxCostPerResponseNanos($maxCostPerResponseNanos) + { + $this->maxCostPerResponseNanos = $maxCostPerResponseNanos; + } + public function getMaxCostPerResponseNanos() + { + return $this->maxCostPerResponseNanos; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php new file mode 100644 index 00000000..c7f60c8a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestion.php @@ -0,0 +1,185 @@ +answerOrder = $answerOrder; + } + public function getAnswerOrder() + { + return $this->answerOrder; + } + public function setAnswers($answers) + { + $this->answers = $answers; + } + public function getAnswers() + { + return $this->answers; + } + public function setHasOther($hasOther) + { + $this->hasOther = $hasOther; + } + public function getHasOther() + { + return $this->hasOther; + } + public function setHighValueLabel($highValueLabel) + { + $this->highValueLabel = $highValueLabel; + } + public function getHighValueLabel() + { + return $this->highValueLabel; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } + public function setLastAnswerPositionPinned($lastAnswerPositionPinned) + { + $this->lastAnswerPositionPinned = $lastAnswerPositionPinned; + } + public function getLastAnswerPositionPinned() + { + return $this->lastAnswerPositionPinned; + } + public function setLowValueLabel($lowValueLabel) + { + $this->lowValueLabel = $lowValueLabel; + } + public function getLowValueLabel() + { + return $this->lowValueLabel; + } + public function setMustPickSuggestion($mustPickSuggestion) + { + $this->mustPickSuggestion = $mustPickSuggestion; + } + public function getMustPickSuggestion() + { + return $this->mustPickSuggestion; + } + public function setNumStars($numStars) + { + $this->numStars = $numStars; + } + public function getNumStars() + { + return $this->numStars; + } + public function setOpenTextPlaceholder($openTextPlaceholder) + { + $this->openTextPlaceholder = $openTextPlaceholder; + } + public function getOpenTextPlaceholder() + { + return $this->openTextPlaceholder; + } + public function setOpenTextSuggestions($openTextSuggestions) + { + $this->openTextSuggestions = $openTextSuggestions; + } + public function getOpenTextSuggestions() + { + return $this->openTextSuggestions; + } + public function setQuestion($question) + { + $this->question = $question; + } + public function getQuestion() + { + return $this->question; + } + public function setSentimentText($sentimentText) + { + $this->sentimentText = $sentimentText; + } + public function getSentimentText() + { + return $this->sentimentText; + } + public function setSingleLineResponse($singleLineResponse) + { + $this->singleLineResponse = $singleLineResponse; + } + public function getSingleLineResponse() + { + return $this->singleLineResponse; + } + public function setThresholdAnswers($thresholdAnswers) + { + $this->thresholdAnswers = $thresholdAnswers; + } + public function getThresholdAnswers() + { + return $this->thresholdAnswers; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnitOfMeasurementLabel($unitOfMeasurementLabel) + { + $this->unitOfMeasurementLabel = $unitOfMeasurementLabel; + } + public function getUnitOfMeasurementLabel() + { + return $this->unitOfMeasurementLabel; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php new file mode 100644 index 00000000..5249a2f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyQuestionImage.php @@ -0,0 +1,48 @@ +altText = $altText; + } + public function getAltText() + { + return $this->altText; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php new file mode 100644 index 00000000..62efd4cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyRejection.php @@ -0,0 +1,39 @@ +explanation = $explanation; + } + public function getExplanation() + { + return $this->explanation; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php new file mode 100644 index 00000000..8a03734e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveyResults.php @@ -0,0 +1,39 @@ +status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSurveyUrlId($surveyUrlId) + { + $this->surveyUrlId = $surveyUrlId; + } + public function getSurveyUrlId() + { + return $this->surveyUrlId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php new file mode 100644 index 00000000..66a41e9c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysDeleteResponse.php @@ -0,0 +1,30 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php new file mode 100644 index 00000000..a1958989 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysListResponse.php @@ -0,0 +1,61 @@ +pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_Surveys_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php new file mode 100644 index 00000000..963512ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartRequest.php @@ -0,0 +1,30 @@ +maxCostPerResponseNanos = $maxCostPerResponseNanos; + } + public function getMaxCostPerResponseNanos() + { + return $this->maxCostPerResponseNanos; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php new file mode 100644 index 00000000..623c0e4a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStartResponse.php @@ -0,0 +1,40 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource(Google_Service_Surveys_Survey $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php new file mode 100644 index 00000000..502cf1c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/SurveysStopResponse.php @@ -0,0 +1,40 @@ +requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource(Google_Service_Surveys_Survey $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php new file mode 100644 index 00000000..74208738 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Surveys/TokenPagination.php @@ -0,0 +1,39 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php new file mode 100644 index 00000000..7e03dd5d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager.php @@ -0,0 +1,1099 @@ + + * Accesses Tag Manager accounts and containers.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_TagManager extends Google_Service +{ + /** Delete your Google Tag Manager containers. */ + const TAGMANAGER_DELETE_CONTAINERS = + "https://www.googleapis.com/auth/tagmanager.delete.containers"; + /** Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing. */ + const TAGMANAGER_EDIT_CONTAINERS = + "https://www.googleapis.com/auth/tagmanager.edit.containers"; + /** Manage your Google Tag Manager container versions. */ + const TAGMANAGER_EDIT_CONTAINERVERSIONS = + "https://www.googleapis.com/auth/tagmanager.edit.containerversions"; + /** View and manage your Google Tag Manager accounts. */ + const TAGMANAGER_MANAGE_ACCOUNTS = + "https://www.googleapis.com/auth/tagmanager.manage.accounts"; + /** Manage user permissions of your Google Tag Manager account and container. */ + const TAGMANAGER_MANAGE_USERS = + "https://www.googleapis.com/auth/tagmanager.manage.users"; + /** Publish your Google Tag Manager container versions. */ + const TAGMANAGER_PUBLISH = + "https://www.googleapis.com/auth/tagmanager.publish"; + /** View your Google Tag Manager container and its subcomponents. */ + const TAGMANAGER_READONLY = + "https://www.googleapis.com/auth/tagmanager.readonly"; + + public $accounts; + public $accounts_containers; + public $accounts_containers_environments; + public $accounts_containers_folders; + public $accounts_containers_folders_entities; + public $accounts_containers_move_folders; + public $accounts_containers_reauthorize_environments; + public $accounts_containers_tags; + public $accounts_containers_triggers; + public $accounts_containers_variables; + public $accounts_containers_versions; + public $accounts_permissions; + + /** + * Constructs the internal representation of the TagManager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'tagmanager/v1/'; + $this->version = 'v1'; + $this->serviceName = 'tagmanager'; + + $this->accounts = new Google_Service_TagManager_Resource_Accounts( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'update' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers = new Google_Service_TagManager_Resource_AccountsContainers( + $this, + $this->serviceName, + 'containers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_environments = new Google_Service_TagManager_Resource_AccountsContainersEnvironments( + $this, + $this->serviceName, + 'environments', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'environmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'environmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'environmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'environmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_folders = new Google_Service_TagManager_Resource_AccountsContainersFolders( + $this, + $this->serviceName, + 'folders', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_folders_entities = new Google_Service_TagManager_Resource_AccountsContainersFoldersEntities( + $this, + $this->serviceName, + 'entities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_containers_move_folders = new Google_Service_TagManager_Resource_AccountsContainersMoveFolders( + $this, + $this->serviceName, + 'move_folders', + array( + 'methods' => array( + 'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'triggerId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'variableId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_containers_reauthorize_environments = new Google_Service_TagManager_Resource_AccountsContainersReauthorizeEnvironments( + $this, + $this->serviceName, + 'reauthorize_environments', + array( + 'methods' => array( + 'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'environmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_containers_tags = new Google_Service_TagManager_Resource_AccountsContainersTags( + $this, + $this->serviceName, + 'tags', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_triggers = new Google_Service_TagManager_Resource_AccountsContainersTriggers( + $this, + $this->serviceName, + 'triggers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_variables = new Google_Service_TagManager_Resource_AccountsContainersVariables( + $this, + $this->serviceName, + 'variables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_versions = new Google_Service_TagManager_Resource_AccountsContainersVersions( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'headers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'restore' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_permissions = new Google_Service_TagManager_Resource_AccountsPermissions( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/permissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php new file mode 100644 index 00000000..7f55dd39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Account.php @@ -0,0 +1,57 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setShareData($shareData) + { + $this->shareData = $shareData; + } + public function getShareData() + { + return $this->shareData; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php new file mode 100644 index 00000000..7f331b38 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/AccountAccess.php @@ -0,0 +1,31 @@ +permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php new file mode 100644 index 00000000..ae346be9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Condition.php @@ -0,0 +1,41 @@ +parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php new file mode 100644 index 00000000..1b0eac31 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Container.php @@ -0,0 +1,121 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDomainName($domainName) + { + $this->domainName = $domainName; + } + public function getDomainName() + { + return $this->domainName; + } + public function setEnabledBuiltInVariable($enabledBuiltInVariable) + { + $this->enabledBuiltInVariable = $enabledBuiltInVariable; + } + public function getEnabledBuiltInVariable() + { + return $this->enabledBuiltInVariable; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPublicId($publicId) + { + $this->publicId = $publicId; + } + public function getPublicId() + { + return $this->publicId; + } + public function setTimeZoneCountryId($timeZoneCountryId) + { + $this->timeZoneCountryId = $timeZoneCountryId; + } + public function getTimeZoneCountryId() + { + return $this->timeZoneCountryId; + } + public function setTimeZoneId($timeZoneId) + { + $this->timeZoneId = $timeZoneId; + } + public function getTimeZoneId() + { + return $this->timeZoneId; + } + public function setUsageContext($usageContext) + { + $this->usageContext = $usageContext; + } + public function getUsageContext() + { + return $this->usageContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php new file mode 100644 index 00000000..14dffc35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerAccess.php @@ -0,0 +1,40 @@ +containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php new file mode 100644 index 00000000..ea14afd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersion.php @@ -0,0 +1,155 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainer(Google_Service_TagManager_Container $container) + { + $this->container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setContainerVersionId($containerVersionId) + { + $this->containerVersionId = $containerVersionId; + } + public function getContainerVersionId() + { + return $this->containerVersionId; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFolder($folder) + { + $this->folder = $folder; + } + public function getFolder() + { + return $this->folder; + } + public function setMacro($macro) + { + $this->macro = $macro; + } + public function getMacro() + { + return $this->macro; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setRule($rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } + public function setTrigger($trigger) + { + $this->trigger = $trigger; + } + public function getTrigger() + { + return $this->trigger; + } + public function setVariable($variable) + { + $this->variable = $variable; + } + public function getVariable() + { + return $this->variable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php new file mode 100644 index 00000000..44105c90 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ContainerVersionHeader.php @@ -0,0 +1,111 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setContainerVersionId($containerVersionId) + { + $this->containerVersionId = $containerVersionId; + } + public function getContainerVersionId() + { + return $this->containerVersionId; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumMacros($numMacros) + { + $this->numMacros = $numMacros; + } + public function getNumMacros() + { + return $this->numMacros; + } + public function setNumRules($numRules) + { + $this->numRules = $numRules; + } + public function getNumRules() + { + return $this->numRules; + } + public function setNumTags($numTags) + { + $this->numTags = $numTags; + } + public function getNumTags() + { + return $this->numTags; + } + public function setNumTriggers($numTriggers) + { + $this->numTriggers = $numTriggers; + } + public function getNumTriggers() + { + return $this->numTriggers; + } + public function setNumVariables($numVariables) + { + $this->numVariables = $numVariables; + } + public function getNumVariables() + { + return $this->numVariables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php new file mode 100644 index 00000000..46f73525 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionRequestVersionOptions.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setQuickPreview($quickPreview) + { + $this->quickPreview = $quickPreview; + } + public function getQuickPreview() + { + return $this->quickPreview; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php new file mode 100644 index 00000000..754eed54 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/CreateContainerVersionResponse.php @@ -0,0 +1,40 @@ +compilerError = $compilerError; + } + public function getCompilerError() + { + return $this->compilerError; + } + public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion) + { + $this->containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php new file mode 100644 index 00000000..b4368183 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Environment.php @@ -0,0 +1,129 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAuthorizationCode($authorizationCode) + { + $this->authorizationCode = $authorizationCode; + } + public function getAuthorizationCode() + { + return $this->authorizationCode; + } + public function setAuthorizationTimestampMs($authorizationTimestampMs) + { + $this->authorizationTimestampMs = $authorizationTimestampMs; + } + public function getAuthorizationTimestampMs() + { + return $this->authorizationTimestampMs; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setContainerVersionId($containerVersionId) + { + $this->containerVersionId = $containerVersionId; + } + public function getContainerVersionId() + { + return $this->containerVersionId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnableDebug($enableDebug) + { + $this->enableDebug = $enableDebug; + } + public function getEnableDebug() + { + return $this->enableDebug; + } + public function setEnvironmentId($environmentId) + { + $this->environmentId = $environmentId; + } + public function getEnvironmentId() + { + return $this->environmentId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php new file mode 100644 index 00000000..c7de2387 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Folder.php @@ -0,0 +1,66 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFolderId($folderId) + { + $this->folderId = $folderId; + } + public function getFolderId() + { + return $this->folderId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php new file mode 100644 index 00000000..e13ba62e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/FolderEntities.php @@ -0,0 +1,52 @@ +tag = $tag; + } + public function getTag() + { + return $this->tag; + } + public function setTrigger($trigger) + { + $this->trigger = $trigger; + } + public function getTrigger() + { + return $this->trigger; + } + public function setVariable($variable) + { + $this->variable = $variable; + } + public function getVariable() + { + return $this->variable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php new file mode 100644 index 00000000..ea3637ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountUsersResponse.php @@ -0,0 +1,32 @@ +userAccess = $userAccess; + } + public function getUserAccess() + { + return $this->userAccess; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php new file mode 100644 index 00000000..0b533124 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListAccountsResponse.php @@ -0,0 +1,32 @@ +accounts = $accounts; + } + public function getAccounts() + { + return $this->accounts; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php new file mode 100644 index 00000000..278de0b8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainerVersionsResponse.php @@ -0,0 +1,42 @@ +containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } + public function setContainerVersionHeader($containerVersionHeader) + { + $this->containerVersionHeader = $containerVersionHeader; + } + public function getContainerVersionHeader() + { + return $this->containerVersionHeader; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php new file mode 100644 index 00000000..7b4f449a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListContainersResponse.php @@ -0,0 +1,32 @@ +containers = $containers; + } + public function getContainers() + { + return $this->containers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php new file mode 100644 index 00000000..581c1892 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListEnvironmentsResponse.php @@ -0,0 +1,32 @@ +environments = $environments; + } + public function getEnvironments() + { + return $this->environments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php new file mode 100644 index 00000000..8b830d6e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListFoldersResponse.php @@ -0,0 +1,32 @@ +folders = $folders; + } + public function getFolders() + { + return $this->folders; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php new file mode 100644 index 00000000..95f29bd2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTagsResponse.php @@ -0,0 +1,32 @@ +tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php new file mode 100644 index 00000000..fa744c81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListTriggersResponse.php @@ -0,0 +1,32 @@ +triggers = $triggers; + } + public function getTriggers() + { + return $this->triggers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php new file mode 100644 index 00000000..e72c1f53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/ListVariablesResponse.php @@ -0,0 +1,32 @@ +variables = $variables; + } + public function getVariables() + { + return $this->variables; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php new file mode 100644 index 00000000..b04c2e45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Macro.php @@ -0,0 +1,140 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDisablingRuleId($disablingRuleId) + { + $this->disablingRuleId = $disablingRuleId; + } + public function getDisablingRuleId() + { + return $this->disablingRuleId; + } + public function setEnablingRuleId($enablingRuleId) + { + $this->enablingRuleId = $enablingRuleId; + } + public function getEnablingRuleId() + { + return $this->enablingRuleId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setMacroId($macroId) + { + $this->macroId = $macroId; + } + public function getMacroId() + { + return $this->macroId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php new file mode 100644 index 00000000..6bb3be77 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Parameter.php @@ -0,0 +1,69 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setList($list) + { + $this->list = $list; + } + public function getList() + { + return $this->list; + } + public function setMap($map) + { + $this->map = $map; + } + public function getMap() + { + return $this->map; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php new file mode 100644 index 00000000..673ea70c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/PublishContainerVersionResponse.php @@ -0,0 +1,40 @@ +compilerError = $compilerError; + } + public function getCompilerError() + { + return $this->compilerError; + } + public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion) + { + $this->containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php new file mode 100644 index 00000000..1a649394 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/Accounts.php @@ -0,0 +1,70 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $accounts = $tagmanagerService->accounts; + * + */ +class Google_Service_TagManager_Resource_Accounts extends Google_Service_Resource +{ + /** + * Gets a GTM Account. (accounts.get) + * + * @param string $accountId The GTM Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Account"); + } + /** + * Lists all GTM Accounts that a user has access to. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListAccountsResponse + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListAccountsResponse"); + } + /** + * Updates a GTM Account. (accounts.update) + * + * @param string $accountId The GTM Account ID. + * @param Google_Service_TagManager_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the account in storage. + * @return Google_Service_TagManager_Account + */ + public function update($accountId, Google_Service_TagManager_Account $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Account"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php new file mode 100644 index 00000000..9da840ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainers.php @@ -0,0 +1,101 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $containers = $tagmanagerService->containers; + * + */ +class Google_Service_TagManager_Resource_AccountsContainers extends Google_Service_Resource +{ + /** + * Creates a Container. (containers.create) + * + * @param string $accountId The GTM Account ID. + * @param Google_Service_TagManager_Container $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Container + */ + public function create($accountId, Google_Service_TagManager_Container $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Container"); + } + /** + * Deletes a Container. (containers.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a Container. (containers.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Container + */ + public function get($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Container"); + } + /** + * Lists all Containers that belongs to a GTM Account. + * (containers.listAccountsContainers) + * + * @param string $accountId The GTM Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListContainersResponse + */ + public function listAccountsContainers($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListContainersResponse"); + } + /** + * Updates a Container. (containers.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Container $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container in storage. + * @return Google_Service_TagManager_Container + */ + public function update($accountId, $containerId, Google_Service_TagManager_Container $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Container"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php new file mode 100644 index 00000000..368f8a2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersEnvironments.php @@ -0,0 +1,126 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $environments = $tagmanagerService->environments; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersEnvironments extends Google_Service_Resource +{ + /** + * Creates a GTM Environment. (environments.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Environment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Environment + */ + public function create($accountId, $containerId, Google_Service_TagManager_Environment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Environment"); + } + /** + * Deletes a GTM Environment. (environments.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $environmentId The GTM Environment ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $environmentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a GTM Environment. (environments.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $environmentId The GTM Environment ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Environment + */ + public function get($accountId, $containerId, $environmentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Environment"); + } + /** + * Lists all GTM Environments of a GTM Container. + * (environments.listAccountsContainersEnvironments) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListEnvironmentsResponse + */ + public function listAccountsContainersEnvironments($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListEnvironmentsResponse"); + } + /** + * Updates a GTM Environment. This method supports patch semantics. + * (environments.patch) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $environmentId The GTM Environment ID. + * @param Google_Service_TagManager_Environment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the environment in storage. + * @return Google_Service_TagManager_Environment + */ + public function patch($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_TagManager_Environment"); + } + /** + * Updates a GTM Environment. (environments.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $environmentId The GTM Environment ID. + * @param Google_Service_TagManager_Environment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the environment in storage. + * @return Google_Service_TagManager_Environment + */ + public function update($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Environment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php new file mode 100644 index 00000000..14dc80ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFolders.php @@ -0,0 +1,105 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $folders = $tagmanagerService->folders; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersFolders extends Google_Service_Resource +{ + /** + * Creates a GTM Folder. (folders.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Folder $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Folder + */ + public function create($accountId, $containerId, Google_Service_TagManager_Folder $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Folder"); + } + /** + * Deletes a GTM Folder. (folders.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a GTM Folder. (folders.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Folder + */ + public function get($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Folder"); + } + /** + * Lists all GTM Folders of a Container. (folders.listAccountsContainersFolders) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListFoldersResponse + */ + public function listAccountsContainersFolders($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListFoldersResponse"); + } + /** + * Updates a GTM Folder. (folders.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param Google_Service_TagManager_Folder $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the folder in storage. + * @return Google_Service_TagManager_Folder + */ + public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Folder"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php new file mode 100644 index 00000000..cc587718 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersFoldersEntities.php @@ -0,0 +1,44 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $entities = $tagmanagerService->entities; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersFoldersEntities extends Google_Service_Resource +{ + /** + * List all entities in a GTM Folder. + * (entities.listAccountsContainersFoldersEntities) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_FolderEntities + */ + public function listAccountsContainersFoldersEntities($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_FolderEntities"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php new file mode 100644 index 00000000..7e18b61c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersMoveFolders.php @@ -0,0 +1,47 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $move_folders = $tagmanagerService->move_folders; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersMoveFolders extends Google_Service_Resource +{ + /** + * Moves entities to a GTM Folder. (move_folders.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param Google_Service_TagManager_Folder $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string tagId The tags to be moved to the folder. + * @opt_param string triggerId The triggers to be moved to the folder. + * @opt_param string variableId The variables to be moved to the folder. + */ + public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php new file mode 100644 index 00000000..7d7be2a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersReauthorizeEnvironments.php @@ -0,0 +1,45 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $reauthorize_environments = $tagmanagerService->reauthorize_environments; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersReauthorizeEnvironments extends Google_Service_Resource +{ + /** + * Re-generates the authorization code for a GTM Environment. + * (reauthorize_environments.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $environmentId The GTM Environment ID. + * @param Google_Service_TagManager_Environment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Environment + */ + public function update($accountId, $containerId, $environmentId, Google_Service_TagManager_Environment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'environmentId' => $environmentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Environment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php new file mode 100644 index 00000000..f1ca469e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTags.php @@ -0,0 +1,105 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $tags = $tagmanagerService->tags; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersTags extends Google_Service_Resource +{ + /** + * Creates a GTM Tag. (tags.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Tag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Tag + */ + public function create($accountId, $containerId, Google_Service_TagManager_Tag $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Tag"); + } + /** + * Deletes a GTM Tag. (tags.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $tagId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a GTM Tag. (tags.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Tag + */ + public function get($accountId, $containerId, $tagId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Tag"); + } + /** + * Lists all GTM Tags of a Container. (tags.listAccountsContainersTags) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListTagsResponse + */ + public function listAccountsContainersTags($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse"); + } + /** + * Updates a GTM Tag. (tags.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param Google_Service_TagManager_Tag $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the tag in storage. + * @return Google_Service_TagManager_Tag + */ + public function update($accountId, $containerId, $tagId, Google_Service_TagManager_Tag $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Tag"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php new file mode 100644 index 00000000..bcd55b2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersTriggers.php @@ -0,0 +1,106 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $triggers = $tagmanagerService->triggers; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersTriggers extends Google_Service_Resource +{ + /** + * Creates a GTM Trigger. (triggers.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Trigger $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Trigger + */ + public function create($accountId, $containerId, Google_Service_TagManager_Trigger $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Trigger"); + } + /** + * Deletes a GTM Trigger. (triggers.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $triggerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a GTM Trigger. (triggers.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Trigger + */ + public function get($accountId, $containerId, $triggerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Trigger"); + } + /** + * Lists all GTM Triggers of a Container. + * (triggers.listAccountsContainersTriggers) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListTriggersResponse + */ + public function listAccountsContainersTriggers($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListTriggersResponse"); + } + /** + * Updates a GTM Trigger. (triggers.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param Google_Service_TagManager_Trigger $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the trigger in storage. + * @return Google_Service_TagManager_Trigger + */ + public function update($accountId, $containerId, $triggerId, Google_Service_TagManager_Trigger $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Trigger"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php new file mode 100644 index 00000000..52a8da84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVariables.php @@ -0,0 +1,106 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $variables = $tagmanagerService->variables; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersVariables extends Google_Service_Resource +{ + /** + * Creates a GTM Variable. (variables.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_Variable $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Variable + */ + public function create($accountId, $containerId, Google_Service_TagManager_Variable $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Variable"); + } + /** + * Deletes a GTM Variable. (variables.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $variableId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a GTM Variable. (variables.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Variable + */ + public function get($accountId, $containerId, $variableId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Variable"); + } + /** + * Lists all GTM Variables of a Container. + * (variables.listAccountsContainersVariables) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListVariablesResponse + */ + public function listAccountsContainersVariables($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListVariablesResponse"); + } + /** + * Updates a GTM Variable. (variables.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param Google_Service_TagManager_Variable $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the variable in storage. + * @return Google_Service_TagManager_Variable + */ + public function update($accountId, $containerId, $variableId, Google_Service_TagManager_Variable $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Variable"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php new file mode 100644 index 00000000..3ed0e924 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsContainersVersions.php @@ -0,0 +1,162 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $versions = $tagmanagerService->versions; + * + */ +class Google_Service_TagManager_Resource_AccountsContainersVersions extends Google_Service_Resource +{ + /** + * Creates a Container Version. (versions.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_CreateContainerVersionResponse + */ + public function create($accountId, $containerId, Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_CreateContainerVersionResponse"); + } + /** + * Deletes a Container Version. (versions.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a Container Version. (versions.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. Specify + * published to retrieve the currently published version. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function get($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_ContainerVersion"); + } + /** + * Lists all Container Versions of a GTM Container. + * (versions.listAccountsContainersVersions) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * + * @opt_param bool headers Retrieve headers only when true. + * @opt_param bool includeDeleted Also retrieve deleted (archived) versions when + * true. + * @return Google_Service_TagManager_ListContainerVersionsResponse + */ + public function listAccountsContainersVersions($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListContainerVersionsResponse"); + } + /** + * Publishes a Container Version. (versions.publish) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container version in storage. + * @return Google_Service_TagManager_PublishContainerVersionResponse + */ + public function publish($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_TagManager_PublishContainerVersionResponse"); + } + /** + * Restores a Container Version. This will overwrite the container's current + * configuration (including its variables, triggers and tags). The operation + * will not have any effect on the version that is being served (i.e. the + * published version). (versions.restore) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function restore($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('restore', array($params), "Google_Service_TagManager_ContainerVersion"); + } + /** + * Undeletes a Container Version. (versions.undelete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function undelete($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_TagManager_ContainerVersion"); + } + /** + * Updates a Container Version. (versions.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param Google_Service_TagManager_ContainerVersion $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container version in storage. + * @return Google_Service_TagManager_ContainerVersion + */ + public function update($accountId, $containerId, $containerVersionId, Google_Service_TagManager_ContainerVersion $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_ContainerVersion"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php new file mode 100644 index 00000000..009a2d65 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Resource/AccountsPermissions.php @@ -0,0 +1,101 @@ + + * $tagmanagerService = new Google_Service_TagManager(...); + * $permissions = $tagmanagerService->permissions; + * + */ +class Google_Service_TagManager_Resource_AccountsPermissions extends Google_Service_Resource +{ + /** + * Creates a user's Account & Container Permissions. (permissions.create) + * + * @param string $accountId The GTM Account ID. + * @param Google_Service_TagManager_UserAccess $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function create($accountId, Google_Service_TagManager_UserAccess $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_UserAccess"); + } + /** + * Removes a user from the account, revoking access to it and all of its + * containers. (permissions.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $permissionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Gets a user's Account & Container Permissions. (permissions.get) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function get($accountId, $permissionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_UserAccess"); + } + /** + * List all users that have access to the account along with Account and + * Container Permissions granted to each of them. + * (permissions.listAccountsPermissions) + * + * @param string $accountId The GTM Account ID. @required + * tagmanager.accounts.permissions.list + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListAccountUsersResponse + */ + public function listAccountsPermissions($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListAccountUsersResponse"); + } + /** + * Updates a user's Account & Container Permissions. (permissions.update) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param Google_Service_TagManager_UserAccess $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function update($accountId, $permissionId, Google_Service_TagManager_UserAccess $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_UserAccess"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php new file mode 100644 index 00000000..ef38ca26 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Rule.php @@ -0,0 +1,86 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setRuleId($ruleId) + { + $this->ruleId = $ruleId; + } + public function getRuleId() + { + return $this->ruleId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php new file mode 100644 index 00000000..98c24d66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/SetupTag.php @@ -0,0 +1,39 @@ +stopOnSetupFailure = $stopOnSetupFailure; + } + public function getStopOnSetupFailure() + { + return $this->stopOnSetupFailure; + } + public function setTagName($tagName) + { + $this->tagName = $tagName; + } + public function getTagName() + { + return $this->tagName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php new file mode 100644 index 00000000..92a18b72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Tag.php @@ -0,0 +1,206 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBlockingRuleId($blockingRuleId) + { + $this->blockingRuleId = $blockingRuleId; + } + public function getBlockingRuleId() + { + return $this->blockingRuleId; + } + public function setBlockingTriggerId($blockingTriggerId) + { + $this->blockingTriggerId = $blockingTriggerId; + } + public function getBlockingTriggerId() + { + return $this->blockingTriggerId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFiringRuleId($firingRuleId) + { + $this->firingRuleId = $firingRuleId; + } + public function getFiringRuleId() + { + return $this->firingRuleId; + } + public function setFiringTriggerId($firingTriggerId) + { + $this->firingTriggerId = $firingTriggerId; + } + public function getFiringTriggerId() + { + return $this->firingTriggerId; + } + public function setLiveOnly($liveOnly) + { + $this->liveOnly = $liveOnly; + } + public function getLiveOnly() + { + return $this->liveOnly; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setPriority(Google_Service_TagManager_Parameter $priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setSetupTag($setupTag) + { + $this->setupTag = $setupTag; + } + public function getSetupTag() + { + return $this->setupTag; + } + public function setTagFiringOption($tagFiringOption) + { + $this->tagFiringOption = $tagFiringOption; + } + public function getTagFiringOption() + { + return $this->tagFiringOption; + } + public function setTagId($tagId) + { + $this->tagId = $tagId; + } + public function getTagId() + { + return $this->tagId; + } + public function setTeardownTag($teardownTag) + { + $this->teardownTag = $teardownTag; + } + public function getTeardownTag() + { + return $this->teardownTag; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php new file mode 100644 index 00000000..f0a8e3c2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/TeardownTag.php @@ -0,0 +1,39 @@ +stopTeardownOnFailure = $stopTeardownOnFailure; + } + public function getStopTeardownOnFailure() + { + return $this->stopTeardownOnFailure; + } + public function setTagName($tagName) + { + $this->tagName = $tagName; + } + public function getTagName() + { + return $this->tagName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php new file mode 100644 index 00000000..5f8391a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Trigger.php @@ -0,0 +1,205 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAutoEventFilter($autoEventFilter) + { + $this->autoEventFilter = $autoEventFilter; + } + public function getAutoEventFilter() + { + return $this->autoEventFilter; + } + public function setCheckValidation(Google_Service_TagManager_Parameter $checkValidation) + { + $this->checkValidation = $checkValidation; + } + public function getCheckValidation() + { + return $this->checkValidation; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setCustomEventFilter($customEventFilter) + { + $this->customEventFilter = $customEventFilter; + } + public function getCustomEventFilter() + { + return $this->customEventFilter; + } + public function setEnableAllVideos(Google_Service_TagManager_Parameter $enableAllVideos) + { + $this->enableAllVideos = $enableAllVideos; + } + public function getEnableAllVideos() + { + return $this->enableAllVideos; + } + public function setEventName(Google_Service_TagManager_Parameter $eventName) + { + $this->eventName = $eventName; + } + public function getEventName() + { + return $this->eventName; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setInterval(Google_Service_TagManager_Parameter $interval) + { + $this->interval = $interval; + } + public function getInterval() + { + return $this->interval; + } + public function setLimit(Google_Service_TagManager_Parameter $limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setTriggerId($triggerId) + { + $this->triggerId = $triggerId; + } + public function getTriggerId() + { + return $this->triggerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUniqueTriggerId(Google_Service_TagManager_Parameter $uniqueTriggerId) + { + $this->uniqueTriggerId = $uniqueTriggerId; + } + public function getUniqueTriggerId() + { + return $this->uniqueTriggerId; + } + public function setVideoPercentageList(Google_Service_TagManager_Parameter $videoPercentageList) + { + $this->videoPercentageList = $videoPercentageList; + } + public function getVideoPercentageList() + { + return $this->videoPercentageList; + } + public function setWaitForTags(Google_Service_TagManager_Parameter $waitForTags) + { + $this->waitForTags = $waitForTags; + } + public function getWaitForTags() + { + return $this->waitForTags; + } + public function setWaitForTagsTimeout(Google_Service_TagManager_Parameter $waitForTagsTimeout) + { + $this->waitForTagsTimeout = $waitForTagsTimeout; + } + public function getWaitForTagsTimeout() + { + return $this->waitForTagsTimeout; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php new file mode 100644 index 00000000..267eefeb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/UserAccess.php @@ -0,0 +1,69 @@ +accountAccess = $accountAccess; + } + public function getAccountAccess() + { + return $this->accountAccess; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerAccess($containerAccess) + { + $this->containerAccess = $containerAccess; + } + public function getContainerAccess() + { + return $this->containerAccess; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php new file mode 100644 index 00000000..31558978 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/TagManager/Variable.php @@ -0,0 +1,140 @@ +accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDisablingTriggerId($disablingTriggerId) + { + $this->disablingTriggerId = $disablingTriggerId; + } + public function getDisablingTriggerId() + { + return $this->disablingTriggerId; + } + public function setEnablingTriggerId($enablingTriggerId) + { + $this->enablingTriggerId = $enablingTriggerId; + } + public function getEnablingTriggerId() + { + return $this->enablingTriggerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVariableId($variableId) + { + $this->variableId = $variableId; + } + public function getVariableId() + { + return $this->variableId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php new file mode 100644 index 00000000..7f3221d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue.php @@ -0,0 +1,249 @@ + + * Accesses a Google App Engine Pull Task Queue over REST.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Taskqueue extends Google_Service +{ + /** Manage your Tasks and Taskqueues. */ + const TASKQUEUE = + "https://www.googleapis.com/auth/taskqueue"; + /** Consume Tasks from your Taskqueues. */ + const TASKQUEUE_CONSUMER = + "https://www.googleapis.com/auth/taskqueue.consumer"; + + public $taskqueues; + public $tasks; + + /** + * Constructs the internal representation of the Taskqueue service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'taskqueue/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'taskqueue'; + + $this->taskqueues = new Google_Service_Taskqueue_Resource_Taskqueues( + $this, + $this->serviceName, + 'taskqueues', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/taskqueues/{taskqueue}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'getStats' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->tasks = new Google_Service_Taskqueue_Resource_Tasks( + $this, + $this->serviceName, + 'tasks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'lease' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'numTasks' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'leaseSecs' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'groupByTag' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'tag' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'newLeaseSeconds' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'newLeaseSeconds' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php new file mode 100644 index 00000000..75e6c36f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Taskqueues.php @@ -0,0 +1,44 @@ + + * $taskqueueService = new Google_Service_Taskqueue(...); + * $taskqueues = $taskqueueService->taskqueues; + * + */ +class Google_Service_Taskqueue_Resource_Taskqueues extends Google_Service_Resource +{ + /** + * Get detailed information about a TaskQueue. (taskqueues.get) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The id of the taskqueue to get the properties of. + * @param array $optParams Optional parameters. + * + * @opt_param bool getStats Whether to get stats. Optional. + * @return Google_Service_Taskqueue_TaskQueue + */ + public function get($project, $taskqueue, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Taskqueue_TaskQueue"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php new file mode 100644 index 00000000..79afd4ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Resource/Tasks.php @@ -0,0 +1,144 @@ + + * $taskqueueService = new Google_Service_Taskqueue(...); + * $tasks = $taskqueueService->tasks; + * + */ +class Google_Service_Taskqueue_Resource_Tasks extends Google_Service_Resource +{ + /** + * Delete a task from a TaskQueue. (tasks.delete) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue to delete a task from. + * @param string $task The id of the task to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $taskqueue, $task, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Get a particular task from a TaskQueue. (tasks.get) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue in which the task belongs. + * @param string $task The task to get properties of. + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function get($project, $taskqueue, $task, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Taskqueue_Task"); + } + /** + * Insert a new task in a TaskQueue (tasks.insert) + * + * @param string $project The project under which the queue lies + * @param string $taskqueue The taskqueue to insert the task into + * @param Google_Service_Taskqueue_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function insert($project, $taskqueue, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Taskqueue_Task"); + } + /** + * Lease 1 or more tasks from a TaskQueue. (tasks.lease) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue to lease a task from. + * @param int $numTasks The number of tasks to lease. + * @param int $leaseSecs The lease in seconds. + * @param array $optParams Optional parameters. + * + * @opt_param bool groupByTag When true, all returned tasks will have the same + * tag + * @opt_param string tag The tag allowed for tasks in the response. Must only be + * specified if group_by_tag is true. If group_by_tag is true and tag is not + * specified the tag will be that of the oldest task by eta, i.e. the first + * available tag + * @return Google_Service_Taskqueue_Tasks + */ + public function lease($project, $taskqueue, $numTasks, $leaseSecs, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'numTasks' => $numTasks, 'leaseSecs' => $leaseSecs); + $params = array_merge($params, $optParams); + return $this->call('lease', array($params), "Google_Service_Taskqueue_Tasks"); + } + /** + * List Tasks in a TaskQueue (tasks.listTasks) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The id of the taskqueue to list tasks from. + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Tasks2 + */ + public function listTasks($project, $taskqueue, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Taskqueue_Tasks2"); + } + /** + * Update tasks that are leased out of a TaskQueue. This method supports patch + * semantics. (tasks.patch) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue + * @param string $task + * @param int $newLeaseSeconds The new lease in seconds. + * @param Google_Service_Taskqueue_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function patch($project, $taskqueue, $task, $newLeaseSeconds, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Taskqueue_Task"); + } + /** + * Update tasks that are leased out of a TaskQueue. (tasks.update) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue + * @param string $task + * @param int $newLeaseSeconds The new lease in seconds. + * @param Google_Service_Taskqueue_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function update($project, $taskqueue, $task, $newLeaseSeconds, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Taskqueue_Task"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php new file mode 100644 index 00000000..3807b721 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Task.php @@ -0,0 +1,96 @@ + "retry_count", + ); + public $enqueueTimestamp; + public $id; + public $kind; + public $leaseTimestamp; + public $payloadBase64; + public $queueName; + public $retryCount; + public $tag; + + public function setEnqueueTimestamp($enqueueTimestamp) + { + $this->enqueueTimestamp = $enqueueTimestamp; + } + public function getEnqueueTimestamp() + { + return $this->enqueueTimestamp; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaseTimestamp($leaseTimestamp) + { + $this->leaseTimestamp = $leaseTimestamp; + } + public function getLeaseTimestamp() + { + return $this->leaseTimestamp; + } + public function setPayloadBase64($payloadBase64) + { + $this->payloadBase64 = $payloadBase64; + } + public function getPayloadBase64() + { + return $this->payloadBase64; + } + public function setQueueName($queueName) + { + $this->queueName = $queueName; + } + public function getQueueName() + { + return $this->queueName; + } + public function setRetryCount($retryCount) + { + $this->retryCount = $retryCount; + } + public function getRetryCount() + { + return $this->retryCount; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php new file mode 100644 index 00000000..dc3ea493 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueue.php @@ -0,0 +1,68 @@ +acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxLeases($maxLeases) + { + $this->maxLeases = $maxLeases; + } + public function getMaxLeases() + { + return $this->maxLeases; + } + public function setStats(Google_Service_Taskqueue_TaskQueueStats $stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php new file mode 100644 index 00000000..afbfd590 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueAcl.php @@ -0,0 +1,49 @@ +adminEmails = $adminEmails; + } + public function getAdminEmails() + { + return $this->adminEmails; + } + public function setConsumerEmails($consumerEmails) + { + $this->consumerEmails = $consumerEmails; + } + public function getConsumerEmails() + { + return $this->consumerEmails; + } + public function setProducerEmails($producerEmails) + { + $this->producerEmails = $producerEmails; + } + public function getProducerEmails() + { + return $this->producerEmails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php new file mode 100644 index 00000000..dfba1306 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/TaskQueueStats.php @@ -0,0 +1,57 @@ +leasedLastHour = $leasedLastHour; + } + public function getLeasedLastHour() + { + return $this->leasedLastHour; + } + public function setLeasedLastMinute($leasedLastMinute) + { + $this->leasedLastMinute = $leasedLastMinute; + } + public function getLeasedLastMinute() + { + return $this->leasedLastMinute; + } + public function setOldestTask($oldestTask) + { + $this->oldestTask = $oldestTask; + } + public function getOldestTask() + { + return $this->oldestTask; + } + public function setTotalTasks($totalTasks) + { + $this->totalTasks = $totalTasks; + } + public function getTotalTasks() + { + return $this->totalTasks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php new file mode 100644 index 00000000..837377e3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php new file mode 100644 index 00000000..52843027 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Taskqueue/Tasks2.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php new file mode 100644 index 00000000..23380b73 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks.php @@ -0,0 +1,295 @@ + + * Lets you manage your tasks and task lists.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Tasks extends Google_Service +{ + /** Manage your tasks. */ + const TASKS = + "https://www.googleapis.com/auth/tasks"; + /** View your tasks. */ + const TASKS_READONLY = + "https://www.googleapis.com/auth/tasks.readonly"; + + public $tasklists; + public $tasks; + + /** + * Constructs the internal representation of the Tasks service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'tasks/v1/'; + $this->version = 'v1'; + $this->serviceName = 'tasks'; + + $this->tasklists = new Google_Service_Tasks_Resource_Tasklists( + $this, + $this->serviceName, + 'tasklists', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/@me/lists', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'users/@me/lists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tasks = new Google_Service_Tasks_Resource_Tasks( + $this, + $this->serviceName, + 'tasks', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'lists/{tasklist}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'lists/{tasklist}/tasks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parent' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'previous' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'lists/{tasklist}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'completedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'completedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dueMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dueMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showCompleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'move' => array( + 'path' => 'lists/{tasklist}/tasks/{task}/move', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parent' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'previous' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php new file mode 100644 index 00000000..20d4696a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasklists.php @@ -0,0 +1,113 @@ + + * $tasksService = new Google_Service_Tasks(...); + * $tasklists = $tasksService->tasklists; + * + */ +class Google_Service_Tasks_Resource_Tasklists extends Google_Service_Resource +{ + /** + * Deletes the authenticated user's specified task list. (tasklists.delete) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + */ + public function delete($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the authenticated user's specified task list. (tasklists.get) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function get($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Tasks_TaskList"); + } + /** + * Creates a new task list and adds it to the authenticated user's task lists. + * (tasklists.insert) + * + * @param Google_Service_Tasks_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function insert(Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Tasks_TaskList"); + } + /** + * Returns all the authenticated user's task lists. (tasklists.listTasklists) + * + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of task lists returned on one + * page. Optional. The default is 100. + * @opt_param string pageToken Token specifying the result page to return. + * Optional. + * @return Google_Service_Tasks_TaskLists + */ + public function listTasklists($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Tasks_TaskLists"); + } + /** + * Updates the authenticated user's specified task list. This method supports + * patch semantics. (tasklists.patch) + * + * @param string $tasklist Task list identifier. + * @param Google_Service_Tasks_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Tasks_TaskList"); + } + /** + * Updates the authenticated user's specified task list. (tasklists.update) + * + * @param string $tasklist Task list identifier. + * @param Google_Service_Tasks_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Tasks_TaskList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php new file mode 100644 index 00000000..d6217020 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Resource/Tasks.php @@ -0,0 +1,179 @@ + + * $tasksService = new Google_Service_Tasks(...); + * $tasks = $tasksService->tasks; + * + */ +class Google_Service_Tasks_Resource_Tasks extends Google_Service_Resource +{ + /** + * Clears all completed tasks from the specified task list. The affected tasks + * will be marked as 'hidden' and no longer be returned by default when + * retrieving all tasks for a task list. (tasks.clear) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + */ + public function clear($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params)); + } + /** + * Deletes the specified task from the task list. (tasks.delete) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + */ + public function delete($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Returns the specified task. (tasks.get) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function get($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Tasks_Task"); + } + /** + * Creates a new task on the specified task list. (tasks.insert) + * + * @param string $tasklist Task list identifier. + * @param Google_Service_Tasks_Task $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string parent Parent task identifier. If the task is created at + * the top level, this parameter is omitted. Optional. + * @opt_param string previous Previous sibling task identifier. If the task is + * created at the first position among its siblings, this parameter is omitted. + * Optional. + * @return Google_Service_Tasks_Task + */ + public function insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Tasks_Task"); + } + /** + * Returns all tasks in the specified task list. (tasks.listTasks) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string completedMax Upper bound for a task's completion date (as a + * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by + * completion date. + * @opt_param string completedMin Lower bound for a task's completion date (as a + * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by + * completion date. + * @opt_param string dueMax Upper bound for a task's due date (as a RFC 3339 + * timestamp) to filter by. Optional. The default is not to filter by due date. + * @opt_param string dueMin Lower bound for a task's due date (as a RFC 3339 + * timestamp) to filter by. Optional. The default is not to filter by due date. + * @opt_param string maxResults Maximum number of task lists returned on one + * page. Optional. The default is 100. + * @opt_param string pageToken Token specifying the result page to return. + * Optional. + * @opt_param bool showCompleted Flag indicating whether completed tasks are + * returned in the result. Optional. The default is True. + * @opt_param bool showDeleted Flag indicating whether deleted tasks are + * returned in the result. Optional. The default is False. + * @opt_param bool showHidden Flag indicating whether hidden tasks are returned + * in the result. Optional. The default is False. + * @opt_param string updatedMin Lower bound for a task's last modification time + * (as a RFC 3339 timestamp) to filter by. Optional. The default is not to + * filter by last modification time. + * @return Google_Service_Tasks_Tasks + */ + public function listTasks($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Tasks_Tasks"); + } + /** + * Moves the specified task to another position in the task list. This can + * include putting it as a child task under a new parent and/or move it to a + * different position among its sibling tasks. (tasks.move) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string parent New parent task identifier. If the task is moved to + * the top level, this parameter is omitted. Optional. + * @opt_param string previous New previous sibling task identifier. If the task + * is moved to the first position among its siblings, this parameter is omitted. + * Optional. + * @return Google_Service_Tasks_Task + */ + public function move($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('move', array($params), "Google_Service_Tasks_Task"); + } + /** + * Updates the specified task. This method supports patch semantics. + * (tasks.patch) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param Google_Service_Tasks_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function patch($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Tasks_Task"); + } + /** + * Updates the specified task. (tasks.update) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param Google_Service_Tasks_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function update($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Tasks_Task"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php new file mode 100644 index 00000000..9f4742ab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Task.php @@ -0,0 +1,158 @@ +completed = $completed; + } + public function getCompleted() + { + return $this->completed; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDue($due) + { + $this->due = $due; + } + public function getDue() + { + return $this->due; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLinks($links) + { + $this->links = $links; + } + public function getLinks() + { + return $this->links; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParent($parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php new file mode 100644 index 00000000..78cffe6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLinks.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php new file mode 100644 index 00000000..6eef024b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskList.php @@ -0,0 +1,75 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php new file mode 100644 index 00000000..64e24a36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/TaskLists.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php new file mode 100644 index 00000000..01b5bb79 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tasks/Tasks.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php new file mode 100644 index 00000000..3f51b3ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults.php @@ -0,0 +1,664 @@ + + * Reads and publishes results from Firebase Test Lab.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_ToolResults extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects; + public $projects_histories; + public $projects_histories_executions; + public $projects_histories_executions_steps; + public $projects_histories_executions_steps_perfMetricsSummary; + public $projects_histories_executions_steps_perfSampleSeries; + public $projects_histories_executions_steps_perfSampleSeries_samples; + public $projects_histories_executions_steps_thumbnails; + + /** + * Constructs the internal representation of the ToolResults service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'toolresults/v1beta3/projects/'; + $this->version = 'v1beta3'; + $this->serviceName = 'toolresults'; + + $this->projects = new Google_Service_ToolResults_Resource_Projects( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'getSettings' => array( + 'path' => '{projectId}/settings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'initializeSettings' => array( + 'path' => '{projectId}:initializeSettings', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_histories = new Google_Service_ToolResults_Resource_ProjectsHistories( + $this, + $this->serviceName, + 'histories', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/histories', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{projectId}/histories/{historyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/histories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterByName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutions( + $this, + $this->serviceName, + 'executions', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/histories/{historyId}/executions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/histories/{historyId}/executions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions_steps = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps( + $this, + $this->serviceName, + 'steps', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getPerfMetricsSummary' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'publishXunitXmlFiles' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions_steps_perfMetricsSummary = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfMetricsSummary( + $this, + $this->serviceName, + 'perfMetricsSummary', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions_steps_perfSampleSeries = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeries( + $this, + $this->serviceName, + 'perfSampleSeries', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sampleSeriesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions_steps_perfSampleSeries_samples = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples( + $this, + $this->serviceName, + 'samples', + array( + 'methods' => array( + 'batchCreate' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sampleSeriesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sampleSeriesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_histories_executions_steps_thumbnails = new Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsThumbnails( + $this, + $this->serviceName, + 'thumbnails', + array( + 'methods' => array( + 'list' => array( + 'path' => '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'historyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'executionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php new file mode 100644 index 00000000..1e9ea9d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Any.php @@ -0,0 +1,39 @@ +typeUrl = $typeUrl; + } + public function getTypeUrl() + { + return $this->typeUrl; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php new file mode 100644 index 00000000..74053423 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BasicPerfSampleSeries.php @@ -0,0 +1,48 @@ +perfMetricType = $perfMetricType; + } + public function getPerfMetricType() + { + return $this->perfMetricType; + } + public function setPerfUnit($perfUnit) + { + $this->perfUnit = $perfUnit; + } + public function getPerfUnit() + { + return $this->perfUnit; + } + public function setSampleSeriesLabel($sampleSeriesLabel) + { + $this->sampleSeriesLabel = $sampleSeriesLabel; + } + public function getSampleSeriesLabel() + { + return $this->sampleSeriesLabel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php new file mode 100644 index 00000000..ecb60fc1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesRequest.php @@ -0,0 +1,32 @@ +perfSamples = $perfSamples; + } + public function getPerfSamples() + { + return $this->perfSamples; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php new file mode 100644 index 00000000..cc61e10d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/BatchCreatePerfSamplesResponse.php @@ -0,0 +1,32 @@ +perfSamples = $perfSamples; + } + public function getPerfSamples() + { + return $this->perfSamples; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php new file mode 100644 index 00000000..430d7907 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/CPUInfo.php @@ -0,0 +1,48 @@ +cpuProcessor = $cpuProcessor; + } + public function getCpuProcessor() + { + return $this->cpuProcessor; + } + public function setCpuSpeedInGhz($cpuSpeedInGhz) + { + $this->cpuSpeedInGhz = $cpuSpeedInGhz; + } + public function getCpuSpeedInGhz() + { + return $this->cpuSpeedInGhz; + } + public function setNumberOfCores($numberOfCores) + { + $this->numberOfCores = $numberOfCores; + } + public function getNumberOfCores() + { + return $this->numberOfCores; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php new file mode 100644 index 00000000..d6baa1f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Duration.php @@ -0,0 +1,39 @@ +nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php new file mode 100644 index 00000000..69ebbdd0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Execution.php @@ -0,0 +1,78 @@ +completionTime = $completionTime; + } + public function getCompletionTime() + { + return $this->completionTime; + } + public function setCreationTime(Google_Service_ToolResults_Timestamp $creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setExecutionId($executionId) + { + $this->executionId = $executionId; + } + public function getExecutionId() + { + return $this->executionId; + } + public function setOutcome(Google_Service_ToolResults_Outcome $outcome) + { + $this->outcome = $outcome; + } + public function getOutcome() + { + return $this->outcome; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTestExecutionMatrixId($testExecutionMatrixId) + { + $this->testExecutionMatrixId = $testExecutionMatrixId; + } + public function getTestExecutionMatrixId() + { + return $this->testExecutionMatrixId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php new file mode 100644 index 00000000..959f860d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FailureDetail.php @@ -0,0 +1,66 @@ +crashed = $crashed; + } + public function getCrashed() + { + return $this->crashed; + } + public function setNotInstalled($notInstalled) + { + $this->notInstalled = $notInstalled; + } + public function getNotInstalled() + { + return $this->notInstalled; + } + public function setOtherNativeCrash($otherNativeCrash) + { + $this->otherNativeCrash = $otherNativeCrash; + } + public function getOtherNativeCrash() + { + return $this->otherNativeCrash; + } + public function setTimedOut($timedOut) + { + $this->timedOut = $timedOut; + } + public function getTimedOut() + { + return $this->timedOut; + } + public function setUnableToCrawl($unableToCrawl) + { + $this->unableToCrawl = $unableToCrawl; + } + public function getUnableToCrawl() + { + return $this->unableToCrawl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php new file mode 100644 index 00000000..f54ea1e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/FileReference.php @@ -0,0 +1,30 @@ +fileUri = $fileUri; + } + public function getFileUri() + { + return $this->fileUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php new file mode 100644 index 00000000..54df1ed0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/History.php @@ -0,0 +1,48 @@ +displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php new file mode 100644 index 00000000..4d35ed25 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Image.php @@ -0,0 +1,60 @@ +error = $error; + } + public function getError() + { + return $this->error; + } + public function setSourceImage(Google_Service_ToolResults_ToolOutputReference $sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + public function getStepId() + { + return $this->stepId; + } + public function setThumbnail(Google_Service_ToolResults_Thumbnail $thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php new file mode 100644 index 00000000..b5e888a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/InconclusiveDetail.php @@ -0,0 +1,39 @@ +abortedByUser = $abortedByUser; + } + public function getAbortedByUser() + { + return $this->abortedByUser; + } + public function setInfrastructureFailure($infrastructureFailure) + { + $this->infrastructureFailure = $infrastructureFailure; + } + public function getInfrastructureFailure() + { + return $this->infrastructureFailure; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php new file mode 100644 index 00000000..479b644f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListExecutionsResponse.php @@ -0,0 +1,41 @@ +executions = $executions; + } + public function getExecutions() + { + return $this->executions; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php new file mode 100644 index 00000000..b4c5b5a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListHistoriesResponse.php @@ -0,0 +1,41 @@ +histories = $histories; + } + public function getHistories() + { + return $this->histories; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php new file mode 100644 index 00000000..360b07a7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSampleSeriesResponse.php @@ -0,0 +1,32 @@ +perfSampleSeries = $perfSampleSeries; + } + public function getPerfSampleSeries() + { + return $this->perfSampleSeries; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php new file mode 100644 index 00000000..e6670e1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListPerfSamplesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPerfSamples($perfSamples) + { + $this->perfSamples = $perfSamples; + } + public function getPerfSamples() + { + return $this->perfSamples; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php new file mode 100644 index 00000000..9ed07d75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepThumbnailsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setThumbnails($thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php new file mode 100644 index 00000000..96fe5e76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ListStepsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php new file mode 100644 index 00000000..e445bdb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/MemoryInfo.php @@ -0,0 +1,39 @@ +memoryCapInKibibyte = $memoryCapInKibibyte; + } + public function getMemoryCapInKibibyte() + { + return $this->memoryCapInKibibyte; + } + public function setMemoryTotalInKibibyte($memoryTotalInKibibyte) + { + $this->memoryTotalInKibibyte = $memoryTotalInKibibyte; + } + public function getMemoryTotalInKibibyte() + { + return $this->memoryTotalInKibibyte; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php new file mode 100644 index 00000000..f7bada97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Outcome.php @@ -0,0 +1,70 @@ +failureDetail = $failureDetail; + } + public function getFailureDetail() + { + return $this->failureDetail; + } + public function setInconclusiveDetail(Google_Service_ToolResults_InconclusiveDetail $inconclusiveDetail) + { + $this->inconclusiveDetail = $inconclusiveDetail; + } + public function getInconclusiveDetail() + { + return $this->inconclusiveDetail; + } + public function setSkippedDetail(Google_Service_ToolResults_SkippedDetail $skippedDetail) + { + $this->skippedDetail = $skippedDetail; + } + public function getSkippedDetail() + { + return $this->skippedDetail; + } + public function setSuccessDetail(Google_Service_ToolResults_SuccessDetail $successDetail) + { + $this->successDetail = $successDetail; + } + public function getSuccessDetail() + { + return $this->successDetail; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php new file mode 100644 index 00000000..2b5672aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfEnvironment.php @@ -0,0 +1,41 @@ +cpuInfo = $cpuInfo; + } + public function getCpuInfo() + { + return $this->cpuInfo; + } + public function setMemoryInfo(Google_Service_ToolResults_MemoryInfo $memoryInfo) + { + $this->memoryInfo = $memoryInfo; + } + public function getMemoryInfo() + { + return $this->memoryInfo; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php new file mode 100644 index 00000000..03bc72a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfMetricsSummary.php @@ -0,0 +1,77 @@ +executionId = $executionId; + } + public function getExecutionId() + { + return $this->executionId; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setPerfEnvironment(Google_Service_ToolResults_PerfEnvironment $perfEnvironment) + { + $this->perfEnvironment = $perfEnvironment; + } + public function getPerfEnvironment() + { + return $this->perfEnvironment; + } + public function setPerfMetrics($perfMetrics) + { + $this->perfMetrics = $perfMetrics; + } + public function getPerfMetrics() + { + return $this->perfMetrics; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + public function getStepId() + { + return $this->stepId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php new file mode 100644 index 00000000..c1ddf723 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSample.php @@ -0,0 +1,40 @@ +sampleTime = $sampleTime; + } + public function getSampleTime() + { + return $this->sampleTime; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php new file mode 100644 index 00000000..79e0364f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PerfSampleSeries.php @@ -0,0 +1,76 @@ +basicPerfSampleSeries = $basicPerfSampleSeries; + } + public function getBasicPerfSampleSeries() + { + return $this->basicPerfSampleSeries; + } + public function setExecutionId($executionId) + { + $this->executionId = $executionId; + } + public function getExecutionId() + { + return $this->executionId; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSampleSeriesId($sampleSeriesId) + { + $this->sampleSeriesId = $sampleSeriesId; + } + public function getSampleSeriesId() + { + return $this->sampleSeriesId; + } + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + public function getStepId() + { + return $this->stepId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php new file mode 100644 index 00000000..c1edd51a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ProjectSettings.php @@ -0,0 +1,39 @@ +defaultBucket = $defaultBucket; + } + public function getDefaultBucket() + { + return $this->defaultBucket; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php new file mode 100644 index 00000000..c9480516 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/PublishXunitXmlFilesRequest.php @@ -0,0 +1,32 @@ +xunitXmlFiles = $xunitXmlFiles; + } + public function getXunitXmlFiles() + { + return $this->xunitXmlFiles; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php new file mode 100644 index 00000000..506811c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/Projects.php @@ -0,0 +1,86 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $projects = $toolresultsService->projects; + * + */ +class Google_Service_ToolResults_Resource_Projects extends Google_Service_Resource +{ + /** + * Gets the Tool Results settings for a project. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read from project + * (projects.getSettings) + * + * @param string $projectId A Project id. + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_ProjectSettings + */ + public function getSettings($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('getSettings', array($params), "Google_Service_ToolResults_ProjectSettings"); + } + /** + * Creates resources for settings which have not yet been set. + * + * Currently, this creates a single resource: a Google Cloud Storage bucket, to + * be used as the default bucket for this project. The bucket is created in the + * name of the user calling. Except in rare cases, calling this method in + * parallel from multiple clients will only create a single bucket. In order to + * avoid unnecessary storage charges, the bucket is configured to automatically + * delete objects older than 90 days. + * + * The bucket is created with the project-private ACL: All project team members + * are given permissions to the bucket and objects created within it according + * to their roles. Project owners have owners rights, and so on. The default ACL + * on objects created in the bucket is project-private as well. See Google Cloud + * Storage documentation for more details. + * + * If there is already a default bucket set and the project can access the + * bucket, this call does nothing. However, if the project doesn't have the + * permission to access the bucket or the bucket is deteleted, a new bucket will + * be created. + * + * May return any canonical error codes, including the following: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - Any + * error code raised by Google Cloud Storage (projects.initializeSettings) + * + * @param string $projectId A Project id. + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_ProjectSettings + */ + public function initializeSettings($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('initializeSettings', array($params), "Google_Service_ToolResults_ProjectSettings"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php new file mode 100644 index 00000000..801a938a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistories.php @@ -0,0 +1,121 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $histories = $toolresultsService->histories; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistories extends Google_Service_Resource +{ + /** + * Creates a History. + * + * The returned History will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * containing project does not exist (histories.create) + * + * @param string $projectId A Project id. + * + * Required. + * @param Google_Service_ToolResults_History $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A unique request ID for server to detect + * duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + * @return Google_Service_ToolResults_History + */ + public function create($projectId, Google_Service_ToolResults_History $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ToolResults_History"); + } + /** + * Gets a History. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History + * does not exist (histories.get) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_History + */ + public function get($projectId, $historyId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ToolResults_History"); + } + /** + * Lists Histories for a given Project. + * + * The histories are sorted by modification time in descending order. The + * history_id key will be used to order the history with the same modification + * time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History + * does not exist (histories.listProjectsHistories) + * + * @param string $projectId A Project id. + * + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param string filterByName If set, only return histories with the given + * name. + * + * Optional. + * @opt_param int pageSize The maximum number of Histories to fetch. + * + * Default value: 20. The server will use this default if the field is not set + * or has a value of 0. Any value greater than 100 will be treated as 100. + * + * Optional. + * @opt_param string pageToken A continuation token to resume the query at the + * next item. + * + * Optional. + * @return Google_Service_ToolResults_ListHistoriesResponse + */ + public function listProjectsHistories($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListHistoriesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php new file mode 100644 index 00000000..b1641597 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutions.php @@ -0,0 +1,155 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $executions = $toolresultsService->executions; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutions extends Google_Service_Resource +{ + /** + * Creates an Execution. + * + * The returned Execution will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * containing History does not exist (executions.create) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param Google_Service_ToolResults_Execution $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A unique request ID for server to detect + * duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + * @return Google_Service_ToolResults_Execution + */ + public function create($projectId, $historyId, Google_Service_ToolResults_Execution $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ToolResults_Execution"); + } + /** + * Gets an Execution. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution + * does not exist (executions.get) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId An Execution id. + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_Execution + */ + public function get($projectId, $historyId, $executionId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ToolResults_Execution"); + } + /** + * Lists Histories for a given Project. + * + * The executions are sorted by creation_time in descending order. The + * execution_id key will be used to order the executions with the same + * creation_time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * containing History does not exist + * (executions.listProjectsHistoriesExecutions) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of Executions to fetch. + * + * Default value: 25. The server will use this default if the field is not set + * or has a value of 0. + * + * Optional. + * @opt_param string pageToken A continuation token to resume the query at the + * next item. + * + * Optional. + * @return Google_Service_ToolResults_ListExecutionsResponse + */ + public function listProjectsHistoriesExecutions($projectId, $historyId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListExecutionsResponse"); + } + /** + * Updates an existing Execution with the supplied partial entity. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - + * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal - NOT_FOUND - if the containing History + * does not exist (executions.patch) + * + * @param string $projectId A Project id. Required. + * @param string $historyId Required. + * @param string $executionId Required. + * @param Google_Service_ToolResults_Execution $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A unique request ID for server to detect + * duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + * @return Google_Service_ToolResults_Execution + */ + public function patch($projectId, $historyId, $executionId, Google_Service_ToolResults_Execution $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ToolResults_Execution"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php new file mode 100644 index 00000000..b7e11095 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php @@ -0,0 +1,228 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $steps = $toolresultsService->steps; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps extends Google_Service_Resource +{ + /** + * Creates a Step. + * + * The returned Step will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - + * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution + * does not exist (steps.create) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId A Execution id. + * + * Required. + * @param Google_Service_ToolResults_Step $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A unique request ID for server to detect + * duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + * @return Google_Service_ToolResults_Step + */ + public function create($projectId, $historyId, $executionId, Google_Service_ToolResults_Step $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ToolResults_Step"); + } + /** + * Gets a Step. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - + * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does + * not exist (steps.get) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId A Execution id. + * + * Required. + * @param string $stepId A Step id. + * + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_Step + */ + public function get($projectId, $historyId, $executionId, $stepId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ToolResults_Step"); + } + /** + * Retrieves a PerfMetricsSummary. + * + * May return any of the following error code(s): - NOT_FOUND - The specified + * PerfMetricsSummary does not exist (steps.getPerfMetricsSummary) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_PerfMetricsSummary + */ + public function getPerfMetricsSummary($projectId, $historyId, $executionId, $stepId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId); + $params = array_merge($params, $optParams); + return $this->call('getPerfMetricsSummary', array($params), "Google_Service_ToolResults_PerfMetricsSummary"); + } + /** + * Lists Steps for a given Execution. + * + * The steps are sorted by creation_time in descending order. The step_id key + * will be used to order the steps with the same creation_time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - + * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an + * argument in the request happens to be invalid; e.g. if an attempt is made to + * list the children of a nonexistent Step - NOT_FOUND - if the containing + * Execution does not exist (steps.listProjectsHistoriesExecutionsSteps) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId A Execution id. + * + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of Steps to fetch. + * + * Default value: 25. The server will use this default if the field is not set + * or has a value of 0. + * + * Optional. + * @opt_param string pageToken A continuation token to resume the query at the + * next item. + * + * Optional. + * @return Google_Service_ToolResults_ListStepsResponse + */ + public function listProjectsHistoriesExecutionsSteps($projectId, $historyId, $executionId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListStepsResponse"); + } + /** + * Updates an existing Step with the supplied partial entity. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write project - + * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal (e.g try to upload a duplicate xml + * file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if + * the containing Execution does not exist (steps.patch) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId A Execution id. + * + * Required. + * @param string $stepId A Step id. + * + * Required. + * @param Google_Service_ToolResults_Step $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A unique request ID for server to detect + * duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + * @return Google_Service_ToolResults_Step + */ + public function patch($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_Step $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ToolResults_Step"); + } + /** + * Publish xml files to an existing Step. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write project - + * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal, e.g try to upload a duplicate xml file + * or a file too large. - NOT_FOUND - if the containing Execution does not exist + * (steps.publishXunitXmlFiles) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId A Execution id. + * + * Required. + * @param string $stepId A Step id. Note: This step must include a + * TestExecutionStep. + * + * Required. + * @param Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_Step + */ + public function publishXunitXmlFiles($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('publishXunitXmlFiles', array($params), "Google_Service_ToolResults_Step"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php new file mode 100644 index 00000000..dbde0b5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfMetricsSummary.php @@ -0,0 +1,49 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $perfMetricsSummary = $toolresultsService->perfMetricsSummary; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfMetricsSummary extends Google_Service_Resource +{ + /** + * Creates a PerfMetricsSummary resource. + * + * May return any of the following error code(s): - ALREADY_EXISTS - A + * PerfMetricSummary already exists for the given Step - NOT_FOUND - The + * containing Step does not exist (perfMetricsSummary.create) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param Google_Service_ToolResults_PerfMetricsSummary $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_PerfMetricsSummary + */ + public function create($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PerfMetricsSummary $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ToolResults_PerfMetricsSummary"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php new file mode 100644 index 00000000..84779a15 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeries.php @@ -0,0 +1,96 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $perfSampleSeries = $toolresultsService->perfSampleSeries; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeries extends Google_Service_Resource +{ + /** + * Creates a PerfSampleSeries. + * + * May return any of the following error code(s): - ALREADY_EXISTS - + * PerfMetricSummary already exists for the given Step - NOT_FOUND - The + * containing Step does not exist (perfSampleSeries.create) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param Google_Service_ToolResults_PerfSampleSeries $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_PerfSampleSeries + */ + public function create($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PerfSampleSeries $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_ToolResults_PerfSampleSeries"); + } + /** + * Gets a PerfSampleSeries. + * + * May return any of the following error code(s): - NOT_FOUND - The specified + * PerfSampleSeries does not exist (perfSampleSeries.get) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param string $sampleSeriesId A sample series id + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_PerfSampleSeries + */ + public function get($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ToolResults_PerfSampleSeries"); + } + /** + * Lists PerfSampleSeries for a given Step. + * + * The request provides an optional filter which specifies one or more + * PerfMetricsType to include in the result; if none returns all. The resulting + * PerfSampleSeries are sorted by ids. + * + * May return any of the following canonical error codes: - NOT_FOUND - The + * containing Step does not exist + * (perfSampleSeries.listProjectsHistoriesExecutionsStepsPerfSampleSeries) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Specify one or more PerfMetricType values such as + * CPU to filter the result + * @return Google_Service_ToolResults_ListPerfSampleSeriesResponse + */ + public function listProjectsHistoriesExecutionsStepsPerfSampleSeries($projectId, $historyId, $executionId, $stepId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListPerfSampleSeriesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php new file mode 100644 index 00000000..1c4a55b7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples.php @@ -0,0 +1,87 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $samples = $toolresultsService->samples; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples extends Google_Service_Resource +{ + /** + * Creates a batch of PerfSamples - a client can submit multiple batches of Perf + * Samples through repeated calls to this method in order to split up a large + * request payload - duplicates and existing timestamp entries will be ignored. + * - the batch operation may partially succeed - the set of elements + * successfully inserted is returned in the response (omits items which already + * existed in the database). + * + * May return any of the following canonical error codes: - NOT_FOUND - The + * containing PerfSampleSeries does not exist (samples.batchCreate) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param string $sampleSeriesId A sample series id + * @param Google_Service_ToolResults_BatchCreatePerfSamplesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ToolResults_BatchCreatePerfSamplesResponse + */ + public function batchCreate($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, Google_Service_ToolResults_BatchCreatePerfSamplesRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchCreate', array($params), "Google_Service_ToolResults_BatchCreatePerfSamplesResponse"); + } + /** + * Lists the Performance Samples of a given Sample Series - The list results are + * sorted by timestamps ascending - The default page size is 500 samples; and + * maximum size allowed 5000 - The response token indicates the last returned + * PerfSample timestamp - When the results size exceeds the page size, submit a + * subsequent request including the page token to return the rest of the samples + * up to the page limit + * + * May return any of the following canonical error codes: - OUT_OF_RANGE - The + * specified request page_token is out of valid range - NOT_FOUND - The + * containing PerfSampleSeries does not exist + * (samples.listProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples) + * + * @param string $projectId The cloud project + * @param string $historyId A tool results history ID. + * @param string $executionId A tool results execution ID. + * @param string $stepId A tool results step ID. + * @param string $sampleSeriesId A sample series id + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The default page size is 500 samples, and the maximum + * size is 5000. If the page_size is greater than 5000, the effective page size + * will be 5000 + * @opt_param string pageToken Optional, the next_page_token returned in the + * previous response + * @return Google_Service_ToolResults_ListPerfSamplesResponse + */ + public function listProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples($projectId, $historyId, $executionId, $stepId, $sampleSeriesId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'sampleSeriesId' => $sampleSeriesId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListPerfSamplesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php new file mode 100644 index 00000000..c4fdfd74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsStepsThumbnails.php @@ -0,0 +1,69 @@ + + * $toolresultsService = new Google_Service_ToolResults(...); + * $thumbnails = $toolresultsService->thumbnails; + * + */ +class Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsThumbnails extends Google_Service_Resource +{ + /** + * Lists thumbnails of images attached to a step. + * + * May return any of the following canonical error codes: - PERMISSION_DENIED - + * if the user is not authorized to read from the project, or from any of the + * images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * step does not exist, or if any of the images do not exist + * (thumbnails.listProjectsHistoriesExecutionsStepsThumbnails) + * + * @param string $projectId A Project id. + * + * Required. + * @param string $historyId A History id. + * + * Required. + * @param string $executionId An Execution id. + * + * Required. + * @param string $stepId A Step id. + * + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of thumbnails to fetch. + * + * Default value: 50. The server will use this default if the field is not set + * or has a value of 0. + * + * Optional. + * @opt_param string pageToken A continuation token to resume the query at the + * next item. + * + * Optional. + * @return Google_Service_ToolResults_ListStepThumbnailsResponse + */ + public function listProjectsHistoriesExecutionsStepsThumbnails($projectId, $historyId, $executionId, $stepId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ToolResults_ListStepThumbnailsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php new file mode 100644 index 00000000..eceaab36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SkippedDetail.php @@ -0,0 +1,48 @@ +incompatibleAppVersion = $incompatibleAppVersion; + } + public function getIncompatibleAppVersion() + { + return $this->incompatibleAppVersion; + } + public function setIncompatibleArchitecture($incompatibleArchitecture) + { + $this->incompatibleArchitecture = $incompatibleArchitecture; + } + public function getIncompatibleArchitecture() + { + return $this->incompatibleArchitecture; + } + public function setIncompatibleDevice($incompatibleDevice) + { + $this->incompatibleDevice = $incompatibleDevice; + } + public function getIncompatibleDevice() + { + return $this->incompatibleDevice; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php new file mode 100644 index 00000000..7a86b325 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StackTrace.php @@ -0,0 +1,30 @@ +exception = $exception; + } + public function getException() + { + return $this->exception; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php new file mode 100644 index 00000000..679c1001 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Status.php @@ -0,0 +1,50 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php new file mode 100644 index 00000000..34cf165b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Step.php @@ -0,0 +1,157 @@ +completionTime = $completionTime; + } + public function getCompletionTime() + { + return $this->completionTime; + } + public function setCreationTime(Google_Service_ToolResults_Timestamp $creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDeviceUsageDuration(Google_Service_ToolResults_Duration $deviceUsageDuration) + { + $this->deviceUsageDuration = $deviceUsageDuration; + } + public function getDeviceUsageDuration() + { + return $this->deviceUsageDuration; + } + public function setDimensionValue($dimensionValue) + { + $this->dimensionValue = $dimensionValue; + } + public function getDimensionValue() + { + return $this->dimensionValue; + } + public function setHasImages($hasImages) + { + $this->hasImages = $hasImages; + } + public function getHasImages() + { + return $this->hasImages; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutcome(Google_Service_ToolResults_Outcome $outcome) + { + $this->outcome = $outcome; + } + public function getOutcome() + { + return $this->outcome; + } + public function setRunDuration(Google_Service_ToolResults_Duration $runDuration) + { + $this->runDuration = $runDuration; + } + public function getRunDuration() + { + return $this->runDuration; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + public function getStepId() + { + return $this->stepId; + } + public function setTestExecutionStep(Google_Service_ToolResults_TestExecutionStep $testExecutionStep) + { + $this->testExecutionStep = $testExecutionStep; + } + public function getTestExecutionStep() + { + return $this->testExecutionStep; + } + public function setToolExecutionStep(Google_Service_ToolResults_ToolExecutionStep $toolExecutionStep) + { + $this->toolExecutionStep = $toolExecutionStep; + } + public function getToolExecutionStep() + { + return $this->toolExecutionStep; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php new file mode 100644 index 00000000..ea9eaafa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepDimensionValueEntry.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php new file mode 100644 index 00000000..465e82de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/StepLabelsEntry.php @@ -0,0 +1,39 @@ +key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php new file mode 100644 index 00000000..40ecfdec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/SuccessDetail.php @@ -0,0 +1,30 @@ +otherNativeCrash = $otherNativeCrash; + } + public function getOtherNativeCrash() + { + return $this->otherNativeCrash; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php new file mode 100644 index 00000000..09a02a5a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestCaseReference.php @@ -0,0 +1,48 @@ +className = $className; + } + public function getClassName() + { + return $this->className; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTestSuiteName($testSuiteName) + { + $this->testSuiteName = $testSuiteName; + } + public function getTestSuiteName() + { + return $this->testSuiteName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php new file mode 100644 index 00000000..905c89ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestExecutionStep.php @@ -0,0 +1,62 @@ +testIssues = $testIssues; + } + public function getTestIssues() + { + return $this->testIssues; + } + public function setTestSuiteOverviews($testSuiteOverviews) + { + $this->testSuiteOverviews = $testSuiteOverviews; + } + public function getTestSuiteOverviews() + { + return $this->testSuiteOverviews; + } + public function setTestTiming(Google_Service_ToolResults_TestTiming $testTiming) + { + $this->testTiming = $testTiming; + } + public function getTestTiming() + { + return $this->testTiming; + } + public function setToolExecution(Google_Service_ToolResults_ToolExecution $toolExecution) + { + $this->toolExecution = $toolExecution; + } + public function getToolExecution() + { + return $this->toolExecution; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php new file mode 100644 index 00000000..249b1401 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestIssue.php @@ -0,0 +1,40 @@ +errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setStackTrace(Google_Service_ToolResults_StackTrace $stackTrace) + { + $this->stackTrace = $stackTrace; + } + public function getStackTrace() + { + return $this->stackTrace; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php new file mode 100644 index 00000000..1d414d48 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestSuiteOverview.php @@ -0,0 +1,76 @@ +errorCount = $errorCount; + } + public function getErrorCount() + { + return $this->errorCount; + } + public function setFailureCount($failureCount) + { + $this->failureCount = $failureCount; + } + public function getFailureCount() + { + return $this->failureCount; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSkippedCount($skippedCount) + { + $this->skippedCount = $skippedCount; + } + public function getSkippedCount() + { + return $this->skippedCount; + } + public function setTotalCount($totalCount) + { + $this->totalCount = $totalCount; + } + public function getTotalCount() + { + return $this->totalCount; + } + public function setXmlSource(Google_Service_ToolResults_FileReference $xmlSource) + { + $this->xmlSource = $xmlSource; + } + public function getXmlSource() + { + return $this->xmlSource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php new file mode 100644 index 00000000..c423ad0b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/TestTiming.php @@ -0,0 +1,31 @@ +testProcessDuration = $testProcessDuration; + } + public function getTestProcessDuration() + { + return $this->testProcessDuration; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php new file mode 100644 index 00000000..d25ce8a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Thumbnail.php @@ -0,0 +1,57 @@ +contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setHeightPx($heightPx) + { + $this->heightPx = $heightPx; + } + public function getHeightPx() + { + return $this->heightPx; + } + public function setWidthPx($widthPx) + { + $this->widthPx = $widthPx; + } + public function getWidthPx() + { + return $this->widthPx; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php new file mode 100644 index 00000000..4e329bfe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/Timestamp.php @@ -0,0 +1,39 @@ +nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php new file mode 100644 index 00000000..f462f129 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecution.php @@ -0,0 +1,61 @@ +commandLineArguments = $commandLineArguments; + } + public function getCommandLineArguments() + { + return $this->commandLineArguments; + } + public function setExitCode(Google_Service_ToolResults_ToolExitCode $exitCode) + { + $this->exitCode = $exitCode; + } + public function getExitCode() + { + return $this->exitCode; + } + public function setToolLogs($toolLogs) + { + $this->toolLogs = $toolLogs; + } + public function getToolLogs() + { + return $this->toolLogs; + } + public function setToolOutputs($toolOutputs) + { + $this->toolOutputs = $toolOutputs; + } + public function getToolOutputs() + { + return $this->toolOutputs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php new file mode 100644 index 00000000..32a0e013 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExecutionStep.php @@ -0,0 +1,31 @@ +toolExecution = $toolExecution; + } + public function getToolExecution() + { + return $this->toolExecution; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php new file mode 100644 index 00000000..8d25d55e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolExitCode.php @@ -0,0 +1,30 @@ +number = $number; + } + public function getNumber() + { + return $this->number; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php new file mode 100644 index 00000000..4d2f255d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/ToolResults/ToolOutputReference.php @@ -0,0 +1,51 @@ +creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setOutput(Google_Service_ToolResults_FileReference $output) + { + $this->output = $output; + } + public function getOutput() + { + return $this->output; + } + public function setTestCase(Google_Service_ToolResults_TestCaseReference $testCase) + { + $this->testCase = $testCase; + } + public function getTestCase() + { + return $this->testCase; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php new file mode 100644 index 00000000..75dc0e22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing.php @@ -0,0 +1,137 @@ + + * Send and retrieve trace data from Google Stackdriver Trace.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Tracing extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Write Trace data for a project or application. */ + const TRACE_APPEND = + "https://www.googleapis.com/auth/trace.append"; + /** Read Trace data for a project or application. */ + const TRACE_READONLY = + "https://www.googleapis.com/auth/trace.readonly"; + + public $projects_traces; + + /** + * Constructs the internal representation of the Tracing service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://tracing.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'tracing'; + + $this->projects_traces = new Google_Service_Tracing_Resource_ProjectsTraces( + $this, + $this->serviceName, + 'traces', + array( + 'methods' => array( + 'batchUpdate' => array( + 'path' => 'v1/{+parent}/traces:batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+parent}/traces', + 'httpMethod' => 'GET', + 'parameters' => array( + 'parent' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listSpans' => array( + 'path' => 'v1/{+name}:listSpans', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php new file mode 100644 index 00000000..7f13a0fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Annotation.php @@ -0,0 +1,40 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php new file mode 100644 index 00000000..4f106b2a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/AttributeValue.php @@ -0,0 +1,48 @@ +boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setIntValue($intValue) + { + $this->intValue = $intValue; + } + public function getIntValue() + { + return $this->intValue; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php new file mode 100644 index 00000000..35b349f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/BatchUpdateSpansRequest.php @@ -0,0 +1,31 @@ +spanUpdates = $spanUpdates; + } + public function getSpanUpdates() + { + return $this->spanUpdates; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php new file mode 100644 index 00000000..0eaad74a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Link.php @@ -0,0 +1,48 @@ +spanId = $spanId; + } + public function getSpanId() + { + return $this->spanId; + } + public function setTraceId($traceId) + { + $this->traceId = $traceId; + } + public function getTraceId() + { + return $this->traceId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php new file mode 100644 index 00000000..70903e55 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListSpansResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSpans($spans) + { + $this->spans = $spans; + } + public function getSpans() + { + return $this->spans; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php new file mode 100644 index 00000000..82b58491 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/ListTracesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTraces($traces) + { + $this->traces = $traces; + } + public function getTraces() + { + return $this->traces; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php new file mode 100644 index 00000000..88d87b88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Module.php @@ -0,0 +1,39 @@ +buildId = $buildId; + } + public function getBuildId() + { + return $this->buildId; + } + public function setModule($module) + { + $this->module = $module; + } + public function getModule() + { + return $this->module; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php new file mode 100644 index 00000000..4c71f090 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/NetworkEvent.php @@ -0,0 +1,57 @@ +kernelTime = $kernelTime; + } + public function getKernelTime() + { + return $this->kernelTime; + } + public function setMessageId($messageId) + { + $this->messageId = $messageId; + } + public function getMessageId() + { + return $this->messageId; + } + public function setMessageSize($messageSize) + { + $this->messageSize = $messageSize; + } + public function getMessageSize() + { + return $this->messageSize; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php new file mode 100644 index 00000000..40f60eaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/Projects.php @@ -0,0 +1,28 @@ + + * $tracingService = new Google_Service_Tracing(...); + * $projects = $tracingService->projects; + * + */ +class Google_Service_Tracing_Resource_Projects extends Google_Service_Resource +{ +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php new file mode 100644 index 00000000..b92f2420 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Resource/ProjectsTraces.php @@ -0,0 +1,116 @@ + + * $tracingService = new Google_Service_Tracing(...); + * $traces = $tracingService->traces; + * + */ +class Google_Service_Tracing_Resource_ProjectsTraces extends Google_Service_Resource +{ + /** + * Sends new spans to Stackdriver Trace or updates existing spans. If the name + * of a trace that you send matches that of an existing trace, any fields in the + * existing trace and its spans are overwritten by the provided values, and any + * new fields provided are merged with the existing trace data. If the name does + * not match, a new trace is created with given set of spans. + * (traces.batchUpdate) + * + * @param string $parent ID of the Cloud project where the trace data is stored. + * @param Google_Service_Tracing_BatchUpdateSpansRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tracing_TracingEmpty + */ + public function batchUpdate($parent, Google_Service_Tracing_BatchUpdateSpansRequest $postBody, $optParams = array()) + { + $params = array('parent' => $parent, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_Tracing_TracingEmpty"); + } + /** + * Returns a specific trace. (traces.get) + * + * @param string $name ID of the trace which is "projects//traces/". + * @param array $optParams Optional parameters. + * @return Google_Service_Tracing_Trace + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Tracing_Trace"); + } + /** + * Returns of a list of traces that match the specified filter conditions. + * (traces.listProjectsTraces) + * + * @param string $parent ID of the Cloud project where the trace data is stored. + * @param array $optParams Optional parameters. + * + * @opt_param string filter An optional filter for the request. Example: + * "version_label_key:a some_label:some_label_key" returns traces from version a + * and has some_label with some_label_key. + * @opt_param string endTime End of the time interval (inclusive) during which + * the trace data was collected from the application. + * @opt_param string pageToken Token identifying the page of results to return. + * If provided, use the value of the `next_page_token` field from a previous + * request. Optional. + * @opt_param string startTime Start of the time interval (inclusive) during + * which the trace data was collected from the application. + * @opt_param int pageSize Maximum number of traces to return. If not specified + * or <= 0, the implementation selects a reasonable value. The implementation + * may return fewer traces than the requested page size. Optional. + * @opt_param string orderBy Field used to sort the returned traces. Optional. + * Can be one of the following: + * + * * `trace_id` * `name` (`name` field of root span in the trace) * + * `duration` (difference between `end_time` and `start_time` fields of the + * root span) * `start` (`start_time` field of the root span) + * + * Descending order can be specified by appending `desc` to the sort field (for + * example, `name desc`). + * + * Only one sort field is permitted. + * @return Google_Service_Tracing_ListTracesResponse + */ + public function listProjectsTraces($parent, $optParams = array()) + { + $params = array('parent' => $parent); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Tracing_ListTracesResponse"); + } + /** + * Returns a list of spans within a trace. (traces.listSpans) + * + * @param string $name ID of the span set where is "projects//traces/". + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token identifying the page of results to return. + * If provided, use the value of the `page_token` field from a previous request. + * Optional. + * @return Google_Service_Tracing_ListSpansResponse + */ + public function listSpans($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('listSpans', array($params), "Google_Service_Tracing_ListSpansResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php new file mode 100644 index 00000000..f10fb7ce --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Span.php @@ -0,0 +1,126 @@ +attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setHasRemoteParent($hasRemoteParent) + { + $this->hasRemoteParent = $hasRemoteParent; + } + public function getHasRemoteParent() + { + return $this->hasRemoteParent; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLinks($links) + { + $this->links = $links; + } + public function getLinks() + { + return $this->links; + } + public function setLocalEndTime($localEndTime) + { + $this->localEndTime = $localEndTime; + } + public function getLocalEndTime() + { + return $this->localEndTime; + } + public function setLocalStartTime($localStartTime) + { + $this->localStartTime = $localStartTime; + } + public function getLocalStartTime() + { + return $this->localStartTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentId($parentId) + { + $this->parentId = $parentId; + } + public function getParentId() + { + return $this->parentId; + } + public function setStackTrace(Google_Service_Tracing_StackTrace $stackTrace) + { + $this->stackTrace = $stackTrace; + } + public function getStackTrace() + { + return $this->stackTrace; + } + public function setStatus(Google_Service_Tracing_Status $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTimeEvents($timeEvents) + { + $this->timeEvents = $timeEvents; + } + public function getTimeEvents() + { + return $this->timeEvents; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php new file mode 100644 index 00000000..189adbca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/SpanUpdates.php @@ -0,0 +1,32 @@ +spans = $spans; + } + public function getSpans() + { + return $this->spans; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php new file mode 100644 index 00000000..c415bd26 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackFrame.php @@ -0,0 +1,85 @@ +columnNumber = $columnNumber; + } + public function getColumnNumber() + { + return $this->columnNumber; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFunctionName($functionName) + { + $this->functionName = $functionName; + } + public function getFunctionName() + { + return $this->functionName; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } + public function setLoadModule(Google_Service_Tracing_Module $loadModule) + { + $this->loadModule = $loadModule; + } + public function getLoadModule() + { + return $this->loadModule; + } + public function setOriginalFunctionName($originalFunctionName) + { + $this->originalFunctionName = $originalFunctionName; + } + public function getOriginalFunctionName() + { + return $this->originalFunctionName; + } + public function setSourceVersion($sourceVersion) + { + $this->sourceVersion = $sourceVersion; + } + public function getSourceVersion() + { + return $this->sourceVersion; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php new file mode 100644 index 00000000..83e70068 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/StackTrace.php @@ -0,0 +1,41 @@ +stackFrame = $stackFrame; + } + public function getStackFrame() + { + return $this->stackFrame; + } + public function setStackTraceHashId($stackTraceHashId) + { + $this->stackTraceHashId = $stackTraceHashId; + } + public function getStackTraceHashId() + { + return $this->stackTraceHashId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php new file mode 100644 index 00000000..37d913d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php new file mode 100644 index 00000000..21c9b2c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TimeEvent.php @@ -0,0 +1,50 @@ +annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setLocalTime($localTime) + { + $this->localTime = $localTime; + } + public function getLocalTime() + { + return $this->localTime; + } + public function setNetworkEvent(Google_Service_Tracing_NetworkEvent $networkEvent) + { + $this->networkEvent = $networkEvent; + } + public function getNetworkEvent() + { + return $this->networkEvent; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php new file mode 100644 index 00000000..732912c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/Trace.php @@ -0,0 +1,30 @@ +name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php new file mode 100644 index 00000000..21a5e473 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Tracing/TracingEmpty.php @@ -0,0 +1,20 @@ + + * Translates text from one language to another.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Translate extends Google_Service +{ + + + public $detections; + public $languages; + public $translations; + + /** + * Constructs the internal representation of the Translate service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'language/translate/'; + $this->version = 'v2'; + $this->serviceName = 'translate'; + + $this->detections = new Google_Service_Translate_Resource_Detections( + $this, + $this->serviceName, + 'detections', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/detect', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->languages = new Google_Service_Translate_Resource_Languages( + $this, + $this->serviceName, + 'languages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/languages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'target' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->translations = new Google_Service_Translate_Resource_Translations( + $this, + $this->serviceName, + 'translations', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'target' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'cid' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php new file mode 100644 index 00000000..c336dd68 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsListResponse.php @@ -0,0 +1,32 @@ +detections = $detections; + } + public function getDetections() + { + return $this->detections; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php new file mode 100644 index 00000000..c36f65d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/DetectionsResourceItems.php @@ -0,0 +1,48 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setIsReliable($isReliable) + { + $this->isReliable = $isReliable; + } + public function getIsReliable() + { + return $this->isReliable; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php new file mode 100644 index 00000000..d884671a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesListResponse.php @@ -0,0 +1,32 @@ +languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php new file mode 100644 index 00000000..1b711286 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/LanguagesResource.php @@ -0,0 +1,39 @@ +language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php new file mode 100644 index 00000000..9c534293 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Detections.php @@ -0,0 +1,41 @@ + + * $translateService = new Google_Service_Translate(...); + * $detections = $translateService->detections; + * + */ +class Google_Service_Translate_Resource_Detections extends Google_Service_Resource +{ + /** + * Detect the language of text. (detections.listDetections) + * + * @param string|array $q The text to detect + * @param array $optParams Optional parameters. + * @return Google_Service_Translate_DetectionsListResponse + */ + public function listDetections($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_DetectionsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php new file mode 100644 index 00000000..f1ee702a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Languages.php @@ -0,0 +1,44 @@ + + * $translateService = new Google_Service_Translate(...); + * $languages = $translateService->languages; + * + */ +class Google_Service_Translate_Resource_Languages extends Google_Service_Resource +{ + /** + * List the source/target languages supported by the API + * (languages.listLanguages) + * + * @param array $optParams Optional parameters. + * + * @opt_param string target the language and collation in which the localized + * results should be returned + * @return Google_Service_Translate_LanguagesListResponse + */ + public function listLanguages($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php new file mode 100644 index 00000000..771d576e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/Resource/Translations.php @@ -0,0 +1,48 @@ + + * $translateService = new Google_Service_Translate(...); + * $translations = $translateService->translations; + * + */ +class Google_Service_Translate_Resource_Translations extends Google_Service_Resource +{ + /** + * Returns text translations from one language to another. + * (translations.listTranslations) + * + * @param string|array $q The text to translate + * @param string $target The target language into which the text should be + * translated + * @param array $optParams Optional parameters. + * + * @opt_param string cid The customization id for translate + * @opt_param string format The format of the text + * @opt_param string source The source language of the text + * @return Google_Service_Translate_TranslationsListResponse + */ + public function listTranslations($q, $target, $optParams = array()) + { + $params = array('q' => $q, 'target' => $target); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_TranslationsListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php new file mode 100644 index 00000000..0a402cc3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsListResponse.php @@ -0,0 +1,32 @@ +translations = $translations; + } + public function getTranslations() + { + return $this->translations; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php new file mode 100644 index 00000000..f68731f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Translate/TranslationsResource.php @@ -0,0 +1,39 @@ +detectedSourceLanguage = $detectedSourceLanguage; + } + public function getDetectedSourceLanguage() + { + return $this->detectedSourceLanguage; + } + public function setTranslatedText($translatedText) + { + $this->translatedText = $translatedText; + } + public function getTranslatedText() + { + return $this->translatedText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php new file mode 100644 index 00000000..9780c28d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener.php @@ -0,0 +1,94 @@ + + * Lets you create, inspect, and manage goo.gl short URLs

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Urlshortener extends Google_Service +{ + /** Manage your goo.gl short URLs. */ + const URLSHORTENER = + "https://www.googleapis.com/auth/urlshortener"; + + public $url; + + /** + * Constructs the internal representation of the Urlshortener service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'urlshortener/v1/'; + $this->version = 'v1'; + $this->serviceName = 'urlshortener'; + + $this->url = new Google_Service_Urlshortener_Resource_Url( + $this, + $this->serviceName, + 'url', + array( + 'methods' => array( + 'get' => array( + 'path' => 'url', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shortUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'url', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'url/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-token' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php new file mode 100644 index 00000000..fcfa736c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSnapshot.php @@ -0,0 +1,80 @@ +browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setLongUrlClicks($longUrlClicks) + { + $this->longUrlClicks = $longUrlClicks; + } + public function getLongUrlClicks() + { + return $this->longUrlClicks; + } + public function setPlatforms($platforms) + { + $this->platforms = $platforms; + } + public function getPlatforms() + { + return $this->platforms; + } + public function setReferrers($referrers) + { + $this->referrers = $referrers; + } + public function getReferrers() + { + return $this->referrers; + } + public function setShortUrlClicks($shortUrlClicks) + { + $this->shortUrlClicks = $shortUrlClicks; + } + public function getShortUrlClicks() + { + return $this->shortUrlClicks; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php new file mode 100644 index 00000000..308ba121 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/AnalyticsSummary.php @@ -0,0 +1,71 @@ +allTime = $allTime; + } + public function getAllTime() + { + return $this->allTime; + } + public function setDay(Google_Service_Urlshortener_AnalyticsSnapshot $day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth(Google_Service_Urlshortener_AnalyticsSnapshot $month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setTwoHours(Google_Service_Urlshortener_AnalyticsSnapshot $twoHours) + { + $this->twoHours = $twoHours; + } + public function getTwoHours() + { + return $this->twoHours; + } + public function setWeek(Google_Service_Urlshortener_AnalyticsSnapshot $week) + { + $this->week = $week; + } + public function getWeek() + { + return $this->week; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php new file mode 100644 index 00000000..f016a7c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Resource/Url.php @@ -0,0 +1,72 @@ + + * $urlshortenerService = new Google_Service_Urlshortener(...); + * $url = $urlshortenerService->url; + * + */ +class Google_Service_Urlshortener_Resource_Url extends Google_Service_Resource +{ + /** + * Expands a short URL or gets creation time and analytics. (url.get) + * + * @param string $shortUrl The short URL, including the protocol. + * @param array $optParams Optional parameters. + * + * @opt_param string projection Additional information to return. + * @return Google_Service_Urlshortener_Url + */ + public function get($shortUrl, $optParams = array()) + { + $params = array('shortUrl' => $shortUrl); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Urlshortener_Url"); + } + /** + * Creates a new short URL. (url.insert) + * + * @param Google_Service_Urlshortener_Url $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Urlshortener_Url + */ + public function insert(Google_Service_Urlshortener_Url $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Urlshortener_Url"); + } + /** + * Retrieves a list of URLs shortened by a user. (url.listUrl) + * + * @param array $optParams Optional parameters. + * + * @opt_param string projection Additional information to return. + * @opt_param string start-token Token for requesting successive pages of + * results. + * @return Google_Service_Urlshortener_UrlHistory + */ + public function listUrl($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Urlshortener_UrlHistory"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php new file mode 100644 index 00000000..c6284d1b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/StringCount.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php new file mode 100644 index 00000000..c70d4972 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/Url.php @@ -0,0 +1,76 @@ +analytics = $analytics; + } + public function getAnalytics() + { + return $this->analytics; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLongUrl($longUrl) + { + $this->longUrl = $longUrl; + } + public function getLongUrl() + { + return $this->longUrl; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php new file mode 100644 index 00000000..e406d4a6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Urlshortener/UrlHistory.php @@ -0,0 +1,68 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php new file mode 100644 index 00000000..23613136 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision.php @@ -0,0 +1,69 @@ + + * Integrates Google Vision features, including image labeling, face, logo, and + * landmark detection, optical character recognition (OCR), and detection of + * explicit content, into applications.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Vision extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $images; + + /** + * Constructs the internal representation of the Vision service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://vision.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'vision'; + + $this->images = new Google_Service_Vision_Resource_Images( + $this, + $this->serviceName, + 'images', + array( + 'methods' => array( + 'annotate' => array( + 'path' => 'v1/images:annotate', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php new file mode 100644 index 00000000..06d8673a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageRequest.php @@ -0,0 +1,52 @@ +features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setImage(Google_Service_Vision_Image $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setImageContext(Google_Service_Vision_ImageContext $imageContext) + { + $this->imageContext = $imageContext; + } + public function getImageContext() + { + return $this->imageContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php new file mode 100644 index 00000000..6c9aa54c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/AnnotateImageResponse.php @@ -0,0 +1,132 @@ +cropHintsAnnotation = $cropHintsAnnotation; + } + public function getCropHintsAnnotation() + { + return $this->cropHintsAnnotation; + } + public function setError(Google_Service_Vision_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setFaceAnnotations($faceAnnotations) + { + $this->faceAnnotations = $faceAnnotations; + } + public function getFaceAnnotations() + { + return $this->faceAnnotations; + } + public function setFullTextAnnotation(Google_Service_Vision_TextAnnotation $fullTextAnnotation) + { + $this->fullTextAnnotation = $fullTextAnnotation; + } + public function getFullTextAnnotation() + { + return $this->fullTextAnnotation; + } + public function setImagePropertiesAnnotation(Google_Service_Vision_ImageProperties $imagePropertiesAnnotation) + { + $this->imagePropertiesAnnotation = $imagePropertiesAnnotation; + } + public function getImagePropertiesAnnotation() + { + return $this->imagePropertiesAnnotation; + } + public function setLabelAnnotations($labelAnnotations) + { + $this->labelAnnotations = $labelAnnotations; + } + public function getLabelAnnotations() + { + return $this->labelAnnotations; + } + public function setLandmarkAnnotations($landmarkAnnotations) + { + $this->landmarkAnnotations = $landmarkAnnotations; + } + public function getLandmarkAnnotations() + { + return $this->landmarkAnnotations; + } + public function setLogoAnnotations($logoAnnotations) + { + $this->logoAnnotations = $logoAnnotations; + } + public function getLogoAnnotations() + { + return $this->logoAnnotations; + } + public function setSafeSearchAnnotation(Google_Service_Vision_SafeSearchAnnotation $safeSearchAnnotation) + { + $this->safeSearchAnnotation = $safeSearchAnnotation; + } + public function getSafeSearchAnnotation() + { + return $this->safeSearchAnnotation; + } + public function setTextAnnotations($textAnnotations) + { + $this->textAnnotations = $textAnnotations; + } + public function getTextAnnotations() + { + return $this->textAnnotations; + } + public function setWebDetection(Google_Service_Vision_WebDetection $webDetection) + { + $this->webDetection = $webDetection; + } + public function getWebDetection() + { + return $this->webDetection; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php new file mode 100644 index 00000000..2ad78a61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesRequest.php @@ -0,0 +1,32 @@ +requests = $requests; + } + public function getRequests() + { + return $this->requests; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php new file mode 100644 index 00000000..4a7f0222 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BatchAnnotateImagesResponse.php @@ -0,0 +1,32 @@ +responses = $responses; + } + public function getResponses() + { + return $this->responses; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php new file mode 100644 index 00000000..1935aac9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Block.php @@ -0,0 +1,61 @@ +blockType = $blockType; + } + public function getBlockType() + { + return $this->blockType; + } + public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox) + { + $this->boundingBox = $boundingBox; + } + public function getBoundingBox() + { + return $this->boundingBox; + } + public function setParagraphs($paragraphs) + { + $this->paragraphs = $paragraphs; + } + public function getParagraphs() + { + return $this->paragraphs; + } + public function setProperty(Google_Service_Vision_TextProperty $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php new file mode 100644 index 00000000..d987d617 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/BoundingPoly.php @@ -0,0 +1,32 @@ +vertices = $vertices; + } + public function getVertices() + { + return $this->vertices; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php new file mode 100644 index 00000000..b65813bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Color.php @@ -0,0 +1,57 @@ +alpha = $alpha; + } + public function getAlpha() + { + return $this->alpha; + } + public function setBlue($blue) + { + $this->blue = $blue; + } + public function getBlue() + { + return $this->blue; + } + public function setGreen($green) + { + $this->green = $green; + } + public function getGreen() + { + return $this->green; + } + public function setRed($red) + { + $this->red = $red; + } + public function getRed() + { + return $this->red; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php new file mode 100644 index 00000000..7add72d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ColorInfo.php @@ -0,0 +1,49 @@ +color = $color; + } + public function getColor() + { + return $this->color; + } + public function setPixelFraction($pixelFraction) + { + $this->pixelFraction = $pixelFraction; + } + public function getPixelFraction() + { + return $this->pixelFraction; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php new file mode 100644 index 00000000..39bf9f09 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHint.php @@ -0,0 +1,49 @@ +boundingPoly = $boundingPoly; + } + public function getBoundingPoly() + { + return $this->boundingPoly; + } + public function setConfidence($confidence) + { + $this->confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setImportanceFraction($importanceFraction) + { + $this->importanceFraction = $importanceFraction; + } + public function getImportanceFraction() + { + return $this->importanceFraction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php new file mode 100644 index 00000000..2d3167b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsAnnotation.php @@ -0,0 +1,32 @@ +cropHints = $cropHints; + } + public function getCropHints() + { + return $this->cropHints; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php new file mode 100644 index 00000000..92844265 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/CropHintsParams.php @@ -0,0 +1,31 @@ +aspectRatios = $aspectRatios; + } + public function getAspectRatios() + { + return $this->aspectRatios; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php new file mode 100644 index 00000000..8dae7df7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedBreak.php @@ -0,0 +1,39 @@ +isPrefix = $isPrefix; + } + public function getIsPrefix() + { + return $this->isPrefix; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php new file mode 100644 index 00000000..024ed967 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DetectedLanguage.php @@ -0,0 +1,39 @@ +confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php new file mode 100644 index 00000000..6e7d803b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/DominantColorsAnnotation.php @@ -0,0 +1,32 @@ +colors = $colors; + } + public function getColors() + { + return $this->colors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php new file mode 100644 index 00000000..19512918 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/EntityAnnotation.php @@ -0,0 +1,106 @@ +boundingPoly = $boundingPoly; + } + public function getBoundingPoly() + { + return $this->boundingPoly; + } + public function setConfidence($confidence) + { + $this->confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } + public function setTopicality($topicality) + { + $this->topicality = $topicality; + } + public function getTopicality() + { + return $this->topicality; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php new file mode 100644 index 00000000..7a28066b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/FaceAnnotation.php @@ -0,0 +1,160 @@ +angerLikelihood = $angerLikelihood; + } + public function getAngerLikelihood() + { + return $this->angerLikelihood; + } + public function setBlurredLikelihood($blurredLikelihood) + { + $this->blurredLikelihood = $blurredLikelihood; + } + public function getBlurredLikelihood() + { + return $this->blurredLikelihood; + } + public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly) + { + $this->boundingPoly = $boundingPoly; + } + public function getBoundingPoly() + { + return $this->boundingPoly; + } + public function setDetectionConfidence($detectionConfidence) + { + $this->detectionConfidence = $detectionConfidence; + } + public function getDetectionConfidence() + { + return $this->detectionConfidence; + } + public function setFdBoundingPoly(Google_Service_Vision_BoundingPoly $fdBoundingPoly) + { + $this->fdBoundingPoly = $fdBoundingPoly; + } + public function getFdBoundingPoly() + { + return $this->fdBoundingPoly; + } + public function setHeadwearLikelihood($headwearLikelihood) + { + $this->headwearLikelihood = $headwearLikelihood; + } + public function getHeadwearLikelihood() + { + return $this->headwearLikelihood; + } + public function setJoyLikelihood($joyLikelihood) + { + $this->joyLikelihood = $joyLikelihood; + } + public function getJoyLikelihood() + { + return $this->joyLikelihood; + } + public function setLandmarkingConfidence($landmarkingConfidence) + { + $this->landmarkingConfidence = $landmarkingConfidence; + } + public function getLandmarkingConfidence() + { + return $this->landmarkingConfidence; + } + public function setLandmarks($landmarks) + { + $this->landmarks = $landmarks; + } + public function getLandmarks() + { + return $this->landmarks; + } + public function setPanAngle($panAngle) + { + $this->panAngle = $panAngle; + } + public function getPanAngle() + { + return $this->panAngle; + } + public function setRollAngle($rollAngle) + { + $this->rollAngle = $rollAngle; + } + public function getRollAngle() + { + return $this->rollAngle; + } + public function setSorrowLikelihood($sorrowLikelihood) + { + $this->sorrowLikelihood = $sorrowLikelihood; + } + public function getSorrowLikelihood() + { + return $this->sorrowLikelihood; + } + public function setSurpriseLikelihood($surpriseLikelihood) + { + $this->surpriseLikelihood = $surpriseLikelihood; + } + public function getSurpriseLikelihood() + { + return $this->surpriseLikelihood; + } + public function setTiltAngle($tiltAngle) + { + $this->tiltAngle = $tiltAngle; + } + public function getTiltAngle() + { + return $this->tiltAngle; + } + public function setUnderExposedLikelihood($underExposedLikelihood) + { + $this->underExposedLikelihood = $underExposedLikelihood; + } + public function getUnderExposedLikelihood() + { + return $this->underExposedLikelihood; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php new file mode 100644 index 00000000..5e65b0fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Feature.php @@ -0,0 +1,39 @@ +maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php new file mode 100644 index 00000000..60ed158a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Image.php @@ -0,0 +1,40 @@ +content = $content; + } + public function getContent() + { + return $this->content; + } + public function setSource(Google_Service_Vision_ImageSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php new file mode 100644 index 00000000..1949b904 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageContext.php @@ -0,0 +1,51 @@ +cropHintsParams = $cropHintsParams; + } + public function getCropHintsParams() + { + return $this->cropHintsParams; + } + public function setLanguageHints($languageHints) + { + $this->languageHints = $languageHints; + } + public function getLanguageHints() + { + return $this->languageHints; + } + public function setLatLongRect(Google_Service_Vision_LatLongRect $latLongRect) + { + $this->latLongRect = $latLongRect; + } + public function getLatLongRect() + { + return $this->latLongRect; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php new file mode 100644 index 00000000..9b6f1ba2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageProperties.php @@ -0,0 +1,31 @@ +dominantColors = $dominantColors; + } + public function getDominantColors() + { + return $this->dominantColors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php new file mode 100644 index 00000000..5d9de3c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/ImageSource.php @@ -0,0 +1,39 @@ +gcsImageUri = $gcsImageUri; + } + public function getGcsImageUri() + { + return $this->gcsImageUri; + } + public function setImageUri($imageUri) + { + $this->imageUri = $imageUri; + } + public function getImageUri() + { + return $this->imageUri; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php new file mode 100644 index 00000000..b16eb51b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Landmark.php @@ -0,0 +1,40 @@ +position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php new file mode 100644 index 00000000..06911233 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLng.php @@ -0,0 +1,39 @@ +latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php new file mode 100644 index 00000000..f9544a85 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LatLongRect.php @@ -0,0 +1,41 @@ +maxLatLng = $maxLatLng; + } + public function getMaxLatLng() + { + return $this->maxLatLng; + } + public function setMinLatLng(Google_Service_Vision_LatLng $minLatLng) + { + $this->minLatLng = $minLatLng; + } + public function getMinLatLng() + { + return $this->minLatLng; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php new file mode 100644 index 00000000..1fb3fca9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/LocationInfo.php @@ -0,0 +1,31 @@ +latLng = $latLng; + } + public function getLatLng() + { + return $this->latLng; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php new file mode 100644 index 00000000..ccb0c2f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Page.php @@ -0,0 +1,60 @@ +blocks = $blocks; + } + public function getBlocks() + { + return $this->blocks; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setProperty(Google_Service_Vision_TextProperty $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php new file mode 100644 index 00000000..e045ebf6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Paragraph.php @@ -0,0 +1,52 @@ +boundingBox = $boundingBox; + } + public function getBoundingBox() + { + return $this->boundingBox; + } + public function setProperty(Google_Service_Vision_TextProperty $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setWords($words) + { + $this->words = $words; + } + public function getWords() + { + return $this->words; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php new file mode 100644 index 00000000..c362b1e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Position.php @@ -0,0 +1,48 @@ +x = $x; + } + public function getX() + { + return $this->x; + } + public function setY($y) + { + $this->y = $y; + } + public function getY() + { + return $this->y; + } + public function setZ($z) + { + $this->z = $z; + } + public function getZ() + { + return $this->z; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php new file mode 100644 index 00000000..074a7051 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Property.php @@ -0,0 +1,48 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setUint64Value($uint64Value) + { + $this->uint64Value = $uint64Value; + } + public function getUint64Value() + { + return $this->uint64Value; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php new file mode 100644 index 00000000..0da6915e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Resource/Images.php @@ -0,0 +1,41 @@ + + * $visionService = new Google_Service_Vision(...); + * $images = $visionService->images; + * + */ +class Google_Service_Vision_Resource_Images extends Google_Service_Resource +{ + /** + * Run image detection and annotation for a batch of images. (images.annotate) + * + * @param Google_Service_Vision_BatchAnnotateImagesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Vision_BatchAnnotateImagesResponse + */ + public function annotate(Google_Service_Vision_BatchAnnotateImagesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('annotate', array($params), "Google_Service_Vision_BatchAnnotateImagesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php new file mode 100644 index 00000000..f945252a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/SafeSearchAnnotation.php @@ -0,0 +1,57 @@ +adult = $adult; + } + public function getAdult() + { + return $this->adult; + } + public function setMedical($medical) + { + $this->medical = $medical; + } + public function getMedical() + { + return $this->medical; + } + public function setSpoof($spoof) + { + $this->spoof = $spoof; + } + public function getSpoof() + { + return $this->spoof; + } + public function setViolence($violence) + { + $this->violence = $violence; + } + public function getViolence() + { + return $this->violence; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php new file mode 100644 index 00000000..d82689fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Status.php @@ -0,0 +1,49 @@ +code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php new file mode 100644 index 00000000..0f455035 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Symbol.php @@ -0,0 +1,50 @@ +boundingBox = $boundingBox; + } + public function getBoundingBox() + { + return $this->boundingBox; + } + public function setProperty(Google_Service_Vision_TextProperty $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php new file mode 100644 index 00000000..4e8fc461 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextAnnotation.php @@ -0,0 +1,41 @@ +pages = $pages; + } + public function getPages() + { + return $this->pages; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php new file mode 100644 index 00000000..0e259339 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/TextProperty.php @@ -0,0 +1,42 @@ +detectedBreak = $detectedBreak; + } + public function getDetectedBreak() + { + return $this->detectedBreak; + } + public function setDetectedLanguages($detectedLanguages) + { + $this->detectedLanguages = $detectedLanguages; + } + public function getDetectedLanguages() + { + return $this->detectedLanguages; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php new file mode 100644 index 00000000..3c03e088 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Vertex.php @@ -0,0 +1,39 @@ +x = $x; + } + public function getX() + { + return $this->x; + } + public function setY($y) + { + $this->y = $y; + } + public function getY() + { + return $this->y; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php new file mode 100644 index 00000000..326c040f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebDetection.php @@ -0,0 +1,62 @@ +fullMatchingImages = $fullMatchingImages; + } + public function getFullMatchingImages() + { + return $this->fullMatchingImages; + } + public function setPagesWithMatchingImages($pagesWithMatchingImages) + { + $this->pagesWithMatchingImages = $pagesWithMatchingImages; + } + public function getPagesWithMatchingImages() + { + return $this->pagesWithMatchingImages; + } + public function setPartialMatchingImages($partialMatchingImages) + { + $this->partialMatchingImages = $partialMatchingImages; + } + public function getPartialMatchingImages() + { + return $this->partialMatchingImages; + } + public function setWebEntities($webEntities) + { + $this->webEntities = $webEntities; + } + public function getWebEntities() + { + return $this->webEntities; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php new file mode 100644 index 00000000..fa425fdb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebEntity.php @@ -0,0 +1,48 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php new file mode 100644 index 00000000..a5d06e2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebImage.php @@ -0,0 +1,39 @@ +score = $score; + } + public function getScore() + { + return $this->score; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php new file mode 100644 index 00000000..7187e0d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/WebPage.php @@ -0,0 +1,39 @@ +score = $score; + } + public function getScore() + { + return $this->score; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php new file mode 100644 index 00000000..e688655f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Vision/Word.php @@ -0,0 +1,52 @@ +boundingBox = $boundingBox; + } + public function getBoundingBox() + { + return $this->boundingBox; + } + public function setProperty(Google_Service_Vision_TextProperty $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setSymbols($symbols) + { + $this->symbols = $symbols; + } + public function getSymbols() + { + return $this->symbols; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php new file mode 100644 index 00000000..282c9ace --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts.php @@ -0,0 +1,72 @@ + + * Accesses the metadata for all families served by Google Fonts, providing a + * list of families currently available (including available styles and a list + * of supported script subsets).

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Webfonts extends Google_Service +{ + + + public $webfonts; + + /** + * Constructs the internal representation of the Webfonts service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'webfonts/v1/'; + $this->version = 'v1'; + $this->serviceName = 'webfonts'; + + $this->webfonts = new Google_Service_Webfonts_Resource_Webfonts( + $this, + $this->serviceName, + 'webfonts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'webfonts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php new file mode 100644 index 00000000..e13afa3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Resource/Webfonts.php @@ -0,0 +1,43 @@ + + * $webfontsService = new Google_Service_Webfonts(...); + * $webfonts = $webfontsService->webfonts; + * + */ +class Google_Service_Webfonts_Resource_Webfonts extends Google_Service_Resource +{ + /** + * Retrieves the list of fonts currently served by the Google Fonts Developer + * API (webfonts.listWebfonts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string sort Enables sorting of the list + * @return Google_Service_Webfonts_WebfontList + */ + public function listWebfonts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webfonts_WebfontList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php new file mode 100644 index 00000000..3168302b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/Webfont.php @@ -0,0 +1,94 @@ +category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setFamily($family) + { + $this->family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModified($lastModified) + { + $this->lastModified = $lastModified; + } + public function getLastModified() + { + return $this->lastModified; + } + public function setSubsets($subsets) + { + $this->subsets = $subsets; + } + public function getSubsets() + { + return $this->subsets; + } + public function setVariants($variants) + { + $this->variants = $variants; + } + public function getVariants() + { + return $this->variants; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php new file mode 100644 index 00000000..59e5b684 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webfonts/WebfontList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php new file mode 100644 index 00000000..936b48a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters.php @@ -0,0 +1,305 @@ + + * View Google Search Console data for your verified sites.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_Webmasters extends Google_Service +{ + /** View and manage Search Console data for your verified sites. */ + const WEBMASTERS = + "https://www.googleapis.com/auth/webmasters"; + /** View Search Console data for your verified sites. */ + const WEBMASTERS_READONLY = + "https://www.googleapis.com/auth/webmasters.readonly"; + + public $searchanalytics; + public $sitemaps; + public $sites; + public $urlcrawlerrorscounts; + public $urlcrawlerrorssamples; + + /** + * Constructs the internal representation of the Webmasters service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'webmasters/v3/'; + $this->version = 'v3'; + $this->serviceName = 'webmasters'; + + $this->searchanalytics = new Google_Service_Webmasters_Resource_Searchanalytics( + $this, + $this->serviceName, + 'searchanalytics', + array( + 'methods' => array( + 'query' => array( + 'path' => 'sites/{siteUrl}/searchAnalytics/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sitemaps = new Google_Service_Webmasters_Resource_Sitemaps( + $this, + $this->serviceName, + 'sitemaps', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/sitemaps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sitemapIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submit' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sites = new Google_Service_Webmasters_Resource_Sites( + $this, + $this->serviceName, + 'sites', + array( + 'methods' => array( + 'add' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->urlcrawlerrorscounts = new Google_Service_Webmasters_Resource_Urlcrawlerrorscounts( + $this, + $this->serviceName, + 'urlcrawlerrorscounts', + array( + 'methods' => array( + 'query' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'latestCountsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->urlcrawlerrorssamples = new Google_Service_Webmasters_Resource_Urlcrawlerrorssamples( + $this, + $this->serviceName, + 'urlcrawlerrorssamples', + array( + 'methods' => array( + 'get' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'markAsFixed' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php new file mode 100644 index 00000000..869b76c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDataRow.php @@ -0,0 +1,67 @@ +clicks = $clicks; + } + public function getClicks() + { + return $this->clicks; + } + public function setCtr($ctr) + { + $this->ctr = $ctr; + } + public function getCtr() + { + return $this->ctr; + } + public function setImpressions($impressions) + { + $this->impressions = $impressions; + } + public function getImpressions() + { + return $this->impressions; + } + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php new file mode 100644 index 00000000..49e83645 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilter.php @@ -0,0 +1,48 @@ +dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php new file mode 100644 index 00000000..1b18a888 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/ApiDimensionFilterGroup.php @@ -0,0 +1,41 @@ +filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setGroupType($groupType) + { + $this->groupType = $groupType; + } + public function getGroupType() + { + return $this->groupType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php new file mode 100644 index 00000000..865a404a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Searchanalytics.php @@ -0,0 +1,50 @@ + + * $webmastersService = new Google_Service_Webmasters(...); + * $searchanalytics = $webmastersService->searchanalytics; + * + */ +class Google_Service_Webmasters_Resource_Searchanalytics extends Google_Service_Resource +{ + /** + * Query your data with filters and parameters that you define. Returns zero or + * more rows grouped by the row keys that you define. You must define a date + * range of one or more days. + * + * When date is one of the group by values, any days without data are omitted + * from the result list. If you need to know which days have data, issue a broad + * date range query grouped by date for any metric, and see which day rows are + * returned. (searchanalytics.query) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_SearchAnalyticsQueryResponse + */ + public function query($siteUrl, Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Webmasters_SearchAnalyticsQueryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php new file mode 100644 index 00000000..b0e69fdf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sitemaps.php @@ -0,0 +1,93 @@ + + * $webmastersService = new Google_Service_Webmasters(...); + * $sitemaps = $webmastersService->sitemaps; + * + */ +class Google_Service_Webmasters_Resource_Sitemaps extends Google_Service_Resource +{ + /** + * Deletes a sitemap from this site. (sitemaps.delete) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the actual sitemap. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + */ + public function delete($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves information about a specific sitemap. (sitemaps.get) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the actual sitemap. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_WmxSitemap + */ + public function get($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_WmxSitemap"); + } + /** + * Lists the sitemaps-entries submitted for this site, or included in the + * sitemap index file (if sitemapIndex is specified in the request). + * (sitemaps.listSitemaps) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param array $optParams Optional parameters. + * + * @opt_param string sitemapIndex A URL of a site's sitemap index. For example: + * http://www.example.com/sitemapindex.xml + * @return Google_Service_Webmasters_SitemapsListResponse + */ + public function listSitemaps($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_SitemapsListResponse"); + } + /** + * Submits a sitemap for a site. (sitemaps.submit) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the sitemap to add. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + */ + public function submit($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php new file mode 100644 index 00000000..7af6cc72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Sites.php @@ -0,0 +1,80 @@ + + * $webmastersService = new Google_Service_Webmasters(...); + * $sites = $webmastersService->sites; + * + */ +class Google_Service_Webmasters_Resource_Sites extends Google_Service_Resource +{ + /** + * Adds a site to the set of the user's sites in Search Console. (sites.add) + * + * @param string $siteUrl The URL of the site to add. + * @param array $optParams Optional parameters. + */ + public function add($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('add', array($params)); + } + /** + * Removes a site from the set of the user's Search Console sites. + * (sites.delete) + * + * @param string $siteUrl The URI of the property as defined in Search Console. + * Examples: http://www.example.com/ or android-app://com.example/ + * @param array $optParams Optional parameters. + */ + public function delete($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves information about specific site. (sites.get) + * + * @param string $siteUrl The URI of the property as defined in Search Console. + * Examples: http://www.example.com/ or android-app://com.example/ + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_WmxSite + */ + public function get($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_WmxSite"); + } + /** + * Lists the user's Search Console sites. (sites.listSites) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_SitesListResponse + */ + public function listSites($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_SitesListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php new file mode 100644 index 00000000..c86bd72d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorscounts.php @@ -0,0 +1,51 @@ + + * $webmastersService = new Google_Service_Webmasters(...); + * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts; + * + */ +class Google_Service_Webmasters_Resource_Urlcrawlerrorscounts extends Google_Service_Resource +{ + /** + * Retrieves a time series of the number of URL crawl errors per error category + * and platform. (urlcrawlerrorscounts.query) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param array $optParams Optional parameters. + * + * @opt_param string category The crawl error category. For example: + * serverError. If not specified, returns results for all categories. + * @opt_param bool latestCountsOnly If true, returns only the latest crawl error + * counts. + * @opt_param string platform The user agent type (platform) that made the + * request. For example: web. If not specified, returns results for all + * platforms. + * @return Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse + */ + public function query($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php new file mode 100644 index 00000000..647656d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/Resource/Urlcrawlerrorssamples.php @@ -0,0 +1,92 @@ + + * $webmastersService = new Google_Service_Webmasters(...); + * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples; + * + */ +class Google_Service_Webmasters_Resource_Urlcrawlerrorssamples extends Google_Service_Resource +{ + /** + * Retrieves details about crawl errors for a site's sample URL. + * (urlcrawlerrorssamples.get) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $url The relative path (without the site) of the sample URL. It + * must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the + * url value is pagename + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_UrlCrawlErrorsSample + */ + public function get($siteUrl, $url, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSample"); + } + /** + * Lists a site's sample URLs for the specified crawl error category and + * platform. (urlcrawlerrorssamples.listUrlcrawlerrorssamples) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse + */ + public function listUrlcrawlerrorssamples($siteUrl, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse"); + } + /** + * Marks the provided site's sample URL as fixed, and removes it from the + * samples list. (urlcrawlerrorssamples.markAsFixed) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $url The relative path (without the site) of the sample URL. It + * must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the + * url value is pagename + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + */ + public function markAsFixed($siteUrl, $url, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('markAsFixed', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php new file mode 100644 index 00000000..2f12765a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryRequest.php @@ -0,0 +1,95 @@ +aggregationType = $aggregationType; + } + public function getAggregationType() + { + return $this->aggregationType; + } + public function setDimensionFilterGroups($dimensionFilterGroups) + { + $this->dimensionFilterGroups = $dimensionFilterGroups; + } + public function getDimensionFilterGroups() + { + return $this->dimensionFilterGroups; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setRowLimit($rowLimit) + { + $this->rowLimit = $rowLimit; + } + public function getRowLimit() + { + return $this->rowLimit; + } + public function setSearchType($searchType) + { + $this->searchType = $searchType; + } + public function getSearchType() + { + return $this->searchType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStartRow($startRow) + { + $this->startRow = $startRow; + } + public function getStartRow() + { + return $this->startRow; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php new file mode 100644 index 00000000..1674d175 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SearchAnalyticsQueryResponse.php @@ -0,0 +1,41 @@ +responseAggregationType = $responseAggregationType; + } + public function getResponseAggregationType() + { + return $this->responseAggregationType; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php new file mode 100644 index 00000000..c458f576 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitemapsListResponse.php @@ -0,0 +1,32 @@ +sitemap = $sitemap; + } + public function getSitemap() + { + return $this->sitemap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php new file mode 100644 index 00000000..52fdc667 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/SitesListResponse.php @@ -0,0 +1,32 @@ +siteEntry = $siteEntry; + } + public function getSiteEntry() + { + return $this->siteEntry; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php new file mode 100644 index 00000000..fd128f94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCount.php @@ -0,0 +1,39 @@ +count = $count; + } + public function getCount() + { + return $this->count; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php new file mode 100644 index 00000000..57e3e2ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorCountsPerType.php @@ -0,0 +1,50 @@ +category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setPlatform($platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php new file mode 100644 index 00000000..40590d75 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsCountsQueryResponse.php @@ -0,0 +1,32 @@ +countPerTypes = $countPerTypes; + } + public function getCountPerTypes() + { + return $this->countPerTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php new file mode 100644 index 00000000..5291a57d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSample.php @@ -0,0 +1,71 @@ + "first_detected", + "lastCrawled" => "last_crawled", + ); + public $firstDetected; + public $lastCrawled; + public $pageUrl; + public $responseCode; + protected $urlDetailsType = 'Google_Service_Webmasters_UrlSampleDetails'; + protected $urlDetailsDataType = ''; + + public function setFirstDetected($firstDetected) + { + $this->firstDetected = $firstDetected; + } + public function getFirstDetected() + { + return $this->firstDetected; + } + public function setLastCrawled($lastCrawled) + { + $this->lastCrawled = $lastCrawled; + } + public function getLastCrawled() + { + return $this->lastCrawled; + } + public function setPageUrl($pageUrl) + { + $this->pageUrl = $pageUrl; + } + public function getPageUrl() + { + return $this->pageUrl; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } + public function setUrlDetails(Google_Service_Webmasters_UrlSampleDetails $urlDetails) + { + $this->urlDetails = $urlDetails; + } + public function getUrlDetails() + { + return $this->urlDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php new file mode 100644 index 00000000..5835d3f1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlCrawlErrorsSamplesListResponse.php @@ -0,0 +1,32 @@ +urlCrawlErrorSample = $urlCrawlErrorSample; + } + public function getUrlCrawlErrorSample() + { + return $this->urlCrawlErrorSample; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php new file mode 100644 index 00000000..3d50187b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/UrlSampleDetails.php @@ -0,0 +1,40 @@ +containingSitemaps = $containingSitemaps; + } + public function getContainingSitemaps() + { + return $this->containingSitemaps; + } + public function setLinkedFromUrls($linkedFromUrls) + { + $this->linkedFromUrls = $linkedFromUrls; + } + public function getLinkedFromUrls() + { + return $this->linkedFromUrls; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php new file mode 100644 index 00000000..6d0dc5f5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSite.php @@ -0,0 +1,39 @@ +permissionLevel = $permissionLevel; + } + public function getPermissionLevel() + { + return $this->permissionLevel; + } + public function setSiteUrl($siteUrl) + { + $this->siteUrl = $siteUrl; + } + public function getSiteUrl() + { + return $this->siteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php new file mode 100644 index 00000000..493bd27c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemap.php @@ -0,0 +1,104 @@ +contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setIsPending($isPending) + { + $this->isPending = $isPending; + } + public function getIsPending() + { + return $this->isPending; + } + public function setIsSitemapsIndex($isSitemapsIndex) + { + $this->isSitemapsIndex = $isSitemapsIndex; + } + public function getIsSitemapsIndex() + { + return $this->isSitemapsIndex; + } + public function setLastDownloaded($lastDownloaded) + { + $this->lastDownloaded = $lastDownloaded; + } + public function getLastDownloaded() + { + return $this->lastDownloaded; + } + public function setLastSubmitted($lastSubmitted) + { + $this->lastSubmitted = $lastSubmitted; + } + public function getLastSubmitted() + { + return $this->lastSubmitted; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php new file mode 100644 index 00000000..904a377c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/Webmasters/WmxSitemapContent.php @@ -0,0 +1,48 @@ +indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setSubmitted($submitted) + { + $this->submitted = $submitted; + } + public function getSubmitted() + { + return $this->submitted; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php new file mode 100644 index 00000000..17a45cfd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube.php @@ -0,0 +1,1944 @@ + + * Supports core YouTube features, such as uploading videos, creating and + * managing playlists, searching for content, and much more.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_YouTube extends Google_Service +{ + /** Manage your YouTube account. */ + const YOUTUBE = + "https://www.googleapis.com/auth/youtube"; + /** Manage your YouTube account. */ + const YOUTUBE_FORCE_SSL = + "https://www.googleapis.com/auth/youtube.force-ssl"; + /** View your YouTube account. */ + const YOUTUBE_READONLY = + "https://www.googleapis.com/auth/youtube.readonly"; + /** Manage your YouTube videos. */ + const YOUTUBE_UPLOAD = + "https://www.googleapis.com/auth/youtube.upload"; + /** View and manage your assets and associated content on YouTube. */ + const YOUTUBEPARTNER = + "https://www.googleapis.com/auth/youtubepartner"; + /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */ + const YOUTUBEPARTNER_CHANNEL_AUDIT = + "https://www.googleapis.com/auth/youtubepartner-channel-audit"; + + public $activities; + public $captions; + public $channelBanners; + public $channelSections; + public $channels; + public $commentThreads; + public $comments; + public $fanFundingEvents; + public $guideCategories; + public $i18nLanguages; + public $i18nRegions; + public $liveBroadcasts; + public $liveChatBans; + public $liveChatMessages; + public $liveChatModerators; + public $liveStreams; + public $playlistItems; + public $playlists; + public $search; + public $sponsors; + public $subscriptions; + public $superChatEvents; + public $thumbnails; + public $videoAbuseReportReasons; + public $videoCategories; + public $videos; + public $watermarks; + + /** + * Constructs the internal representation of the YouTube service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'youtube/v3/'; + $this->version = 'v3'; + $this->serviceName = 'youtube'; + + $this->activities = new Google_Service_YouTube_Resource_Activities( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'activities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'home' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->captions = new Google_Service_YouTube_Resource_Captions( + $this, + $this->serviceName, + 'captions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'captions', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'download' => array( + 'path' => 'captions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tfmt' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tlang' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'captions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sync' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'captions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'captions', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sync' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->channelBanners = new Google_Service_YouTube_Resource_ChannelBanners( + $this, + $this->serviceName, + 'channelBanners', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'channelBanners/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channelSections = new Google_Service_YouTube_Resource_ChannelSections( + $this, + $this->serviceName, + 'channelSections', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'channelSections', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'channelSections', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'channelSections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'channelSections', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_YouTube_Resource_Channels( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'channels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'categoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forUsername' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'managedByMe' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'mySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'channels', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->commentThreads = new Google_Service_YouTube_Resource_CommentThreads( + $this, + $this->serviceName, + 'commentThreads', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'allThreadsRelatedToChannelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'moderationStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'textFormat' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_YouTube_Resource_Comments( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'comments', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'textFormat' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'markAsSpam' => array( + 'path' => 'comments/markAsSpam', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setModerationStatus' => array( + 'path' => 'comments/setModerationStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'moderationStatus' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'banAuthor' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'comments', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->fanFundingEvents = new Google_Service_YouTube_Resource_FanFundingEvents( + $this, + $this->serviceName, + 'fanFundingEvents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'fanFundingEvents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->guideCategories = new Google_Service_YouTube_Resource_GuideCategories( + $this, + $this->serviceName, + 'guideCategories', + array( + 'methods' => array( + 'list' => array( + 'path' => 'guideCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->i18nLanguages = new Google_Service_YouTube_Resource_I18nLanguages( + $this, + $this->serviceName, + 'i18nLanguages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'i18nLanguages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->i18nRegions = new Google_Service_YouTube_Resource_I18nRegions( + $this, + $this->serviceName, + 'i18nRegions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'i18nRegions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->liveBroadcasts = new Google_Service_YouTube_Resource_LiveBroadcasts( + $this, + $this->serviceName, + 'liveBroadcasts', + array( + 'methods' => array( + 'bind' => array( + 'path' => 'liveBroadcasts/bind', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'streamId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'control' => array( + 'path' => 'liveBroadcasts/control', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'displaySlate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'offsetTimeMs' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'walltime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'broadcastStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'broadcastType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'transition' => array( + 'path' => 'liveBroadcasts/transition', + 'httpMethod' => 'POST', + 'parameters' => array( + 'broadcastStatus' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->liveChatBans = new Google_Service_YouTube_Resource_LiveChatBans( + $this, + $this->serviceName, + 'liveChatBans', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'liveChat/bans', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'liveChat/bans', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->liveChatMessages = new Google_Service_YouTube_Resource_LiveChatMessages( + $this, + $this->serviceName, + 'liveChatMessages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'liveChat/messages', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'liveChat/messages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'liveChat/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'liveChatId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'profileImageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->liveChatModerators = new Google_Service_YouTube_Resource_LiveChatModerators( + $this, + $this->serviceName, + 'liveChatModerators', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'liveChat/moderators', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'liveChat/moderators', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'liveChat/moderators', + 'httpMethod' => 'GET', + 'parameters' => array( + 'liveChatId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->liveStreams = new Google_Service_YouTube_Resource_LiveStreams( + $this, + $this->serviceName, + 'liveStreams', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->playlistItems = new Google_Service_YouTube_Resource_PlaylistItems( + $this, + $this->serviceName, + 'playlistItems', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'playlistId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->playlists = new Google_Service_YouTube_Resource_Playlists( + $this, + $this->serviceName, + 'playlists', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'playlists', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'playlists', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'playlists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'playlists', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->search = new Google_Service_YouTube_Resource_Search( + $this, + $this->serviceName, + 'search', + array( + 'methods' => array( + 'list' => array( + 'path' => 'search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'eventType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forContentOwner' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'forDeveloper' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'forMine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locationRadius' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'relatedToVideoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'relevanceLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'safeSearch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'topicId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCaption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCategoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDefinition' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDimension' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDuration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoEmbeddable' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoLicense' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoSyndicated' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sponsors = new Google_Service_YouTube_Resource_Sponsors( + $this, + $this->serviceName, + 'sponsors', + array( + 'methods' => array( + 'list' => array( + 'path' => 'sponsors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_YouTube_Resource_Subscriptions( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forChannelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'myRecentSubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'mySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->superChatEvents = new Google_Service_YouTube_Resource_SuperChatEvents( + $this, + $this->serviceName, + 'superChatEvents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'superChatEvents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->thumbnails = new Google_Service_YouTube_Resource_Thumbnails( + $this, + $this->serviceName, + 'thumbnails', + array( + 'methods' => array( + 'set' => array( + 'path' => 'thumbnails/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videoAbuseReportReasons = new Google_Service_YouTube_Resource_VideoAbuseReportReasons( + $this, + $this->serviceName, + 'videoAbuseReportReasons', + array( + 'methods' => array( + 'list' => array( + 'path' => 'videoAbuseReportReasons', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videoCategories = new Google_Service_YouTube_Resource_VideoCategories( + $this, + $this->serviceName, + 'videoCategories', + array( + 'methods' => array( + 'list' => array( + 'path' => 'videoCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videos = new Google_Service_YouTube_Resource_Videos( + $this, + $this->serviceName, + 'videos', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'videos', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getRating' => array( + 'path' => 'videos/getRating', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'videos', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'autoLevels' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'notifySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stabilize' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'videos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'chart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxHeight' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxWidth' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'myRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCategoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rate' => array( + 'path' => 'videos/rate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'rating' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportAbuse' => array( + 'path' => 'videos/reportAbuse', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'videos', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->watermarks = new Google_Service_YouTube_Resource_Watermarks( + $this, + $this->serviceName, + 'watermarks', + array( + 'methods' => array( + 'set' => array( + 'path' => 'watermarks/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'unset' => array( + 'path' => 'watermarks/unset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php new file mode 100644 index 00000000..0d0dd350 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/AccessPolicy.php @@ -0,0 +1,40 @@ +allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setException($exception) + { + $this->exception = $exception; + } + public function getException() + { + return $this->exception; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php new file mode 100644 index 00000000..6fe1f6dc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Activity.php @@ -0,0 +1,68 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_ActivitySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php new file mode 100644 index 00000000..58fe8e34 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetails.php @@ -0,0 +1,131 @@ +bulletin = $bulletin; + } + public function getBulletin() + { + return $this->bulletin; + } + public function setChannelItem(Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem) + { + $this->channelItem = $channelItem; + } + public function getChannelItem() + { + return $this->channelItem; + } + public function setComment(Google_Service_YouTube_ActivityContentDetailsComment $comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setFavorite(Google_Service_YouTube_ActivityContentDetailsFavorite $favorite) + { + $this->favorite = $favorite; + } + public function getFavorite() + { + return $this->favorite; + } + public function setLike(Google_Service_YouTube_ActivityContentDetailsLike $like) + { + $this->like = $like; + } + public function getLike() + { + return $this->like; + } + public function setPlaylistItem(Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem) + { + $this->playlistItem = $playlistItem; + } + public function getPlaylistItem() + { + return $this->playlistItem; + } + public function setPromotedItem(Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem) + { + $this->promotedItem = $promotedItem; + } + public function getPromotedItem() + { + return $this->promotedItem; + } + public function setRecommendation(Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation) + { + $this->recommendation = $recommendation; + } + public function getRecommendation() + { + return $this->recommendation; + } + public function setSocial(Google_Service_YouTube_ActivityContentDetailsSocial $social) + { + $this->social = $social; + } + public function getSocial() + { + return $this->social; + } + public function setSubscription(Google_Service_YouTube_ActivityContentDetailsSubscription $subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } + public function setUpload(Google_Service_YouTube_ActivityContentDetailsUpload $upload) + { + $this->upload = $upload; + } + public function getUpload() + { + return $this->upload; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php new file mode 100644 index 00000000..781ac027 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsBulletin.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php new file mode 100644 index 00000000..4880bd12 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsChannelItem.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php new file mode 100644 index 00000000..5d3c0f76 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsComment.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php new file mode 100644 index 00000000..3a20df97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsFavorite.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php new file mode 100644 index 00000000..565f74a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsLike.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php new file mode 100644 index 00000000..ab73188e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPlaylistItem.php @@ -0,0 +1,49 @@ +playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setPlaylistItemId($playlistItemId) + { + $this->playlistItemId = $playlistItemId; + } + public function getPlaylistItemId() + { + return $this->playlistItemId; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php new file mode 100644 index 00000000..4c385b8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsPromotedItem.php @@ -0,0 +1,112 @@ +adTag = $adTag; + } + public function getAdTag() + { + return $this->adTag; + } + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + } + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + public function setCreativeViewUrl($creativeViewUrl) + { + $this->creativeViewUrl = $creativeViewUrl; + } + public function getCreativeViewUrl() + { + return $this->creativeViewUrl; + } + public function setCtaType($ctaType) + { + $this->ctaType = $ctaType; + } + public function getCtaType() + { + return $this->ctaType; + } + public function setCustomCtaButtonText($customCtaButtonText) + { + $this->customCtaButtonText = $customCtaButtonText; + } + public function getCustomCtaButtonText() + { + return $this->customCtaButtonText; + } + public function setDescriptionText($descriptionText) + { + $this->descriptionText = $descriptionText; + } + public function getDescriptionText() + { + return $this->descriptionText; + } + public function setDestinationUrl($destinationUrl) + { + $this->destinationUrl = $destinationUrl; + } + public function getDestinationUrl() + { + return $this->destinationUrl; + } + public function setForecastingUrl($forecastingUrl) + { + $this->forecastingUrl = $forecastingUrl; + } + public function getForecastingUrl() + { + return $this->forecastingUrl; + } + public function setImpressionUrl($impressionUrl) + { + $this->impressionUrl = $impressionUrl; + } + public function getImpressionUrl() + { + return $this->impressionUrl; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php new file mode 100644 index 00000000..db75327c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsRecommendation.php @@ -0,0 +1,50 @@ +reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setSeedResourceId(Google_Service_YouTube_ResourceId $seedResourceId) + { + $this->seedResourceId = $seedResourceId; + } + public function getSeedResourceId() + { + return $this->seedResourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php new file mode 100644 index 00000000..c2aeb6dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSocial.php @@ -0,0 +1,67 @@ +author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setReferenceUrl($referenceUrl) + { + $this->referenceUrl = $referenceUrl; + } + public function getReferenceUrl() + { + return $this->referenceUrl; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php new file mode 100644 index 00000000..d394ef33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsSubscription.php @@ -0,0 +1,31 @@ +resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php new file mode 100644 index 00000000..c642753d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityContentDetailsUpload.php @@ -0,0 +1,30 @@ +videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php new file mode 100644 index 00000000..4c8f1db2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivityListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php new file mode 100644 index 00000000..5e67c25e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ActivitySnippet.php @@ -0,0 +1,94 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroupId($groupId) + { + $this->groupId = $groupId; + } + public function getGroupId() + { + return $this->groupId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php new file mode 100644 index 00000000..9fe9edaa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Caption.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_CaptionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php new file mode 100644 index 00000000..6d1eba6a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionListResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php new file mode 100644 index 00000000..c37ce942 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CaptionSnippet.php @@ -0,0 +1,138 @@ +audioTrackType = $audioTrackType; + } + public function getAudioTrackType() + { + return $this->audioTrackType; + } + public function setFailureReason($failureReason) + { + $this->failureReason = $failureReason; + } + public function getFailureReason() + { + return $this->failureReason; + } + public function setIsAutoSynced($isAutoSynced) + { + $this->isAutoSynced = $isAutoSynced; + } + public function getIsAutoSynced() + { + return $this->isAutoSynced; + } + public function setIsCC($isCC) + { + $this->isCC = $isCC; + } + public function getIsCC() + { + return $this->isCC; + } + public function setIsDraft($isDraft) + { + $this->isDraft = $isDraft; + } + public function getIsDraft() + { + return $this->isDraft; + } + public function setIsEasyReader($isEasyReader) + { + $this->isEasyReader = $isEasyReader; + } + public function getIsEasyReader() + { + return $this->isEasyReader; + } + public function setIsLarge($isLarge) + { + $this->isLarge = $isLarge; + } + public function getIsLarge() + { + return $this->isLarge; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLastUpdated($lastUpdated) + { + $this->lastUpdated = $lastUpdated; + } + public function getLastUpdated() + { + return $this->lastUpdated; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackKind($trackKind) + { + $this->trackKind = $trackKind; + } + public function getTrackKind() + { + return $this->trackKind; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php new file mode 100644 index 00000000..4c334b35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CdnSettings.php @@ -0,0 +1,67 @@ +format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setFrameRate($frameRate) + { + $this->frameRate = $frameRate; + } + public function getFrameRate() + { + return $this->frameRate; + } + public function setIngestionInfo(Google_Service_YouTube_IngestionInfo $ingestionInfo) + { + $this->ingestionInfo = $ingestionInfo; + } + public function getIngestionInfo() + { + return $this->ingestionInfo; + } + public function setIngestionType($ingestionType) + { + $this->ingestionType = $ingestionType; + } + public function getIngestionType() + { + return $this->ingestionType; + } + public function setResolution($resolution) + { + $this->resolution = $resolution; + } + public function getResolution() + { + return $this->resolution; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php new file mode 100644 index 00000000..9800cd59 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Channel.php @@ -0,0 +1,158 @@ +auditDetails = $auditDetails; + } + public function getAuditDetails() + { + return $this->auditDetails; + } + public function setBrandingSettings(Google_Service_YouTube_ChannelBrandingSettings $brandingSettings) + { + $this->brandingSettings = $brandingSettings; + } + public function getBrandingSettings() + { + return $this->brandingSettings; + } + public function setContentDetails(Google_Service_YouTube_ChannelContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setContentOwnerDetails(Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails) + { + $this->contentOwnerDetails = $contentOwnerDetails; + } + public function getContentOwnerDetails() + { + return $this->contentOwnerDetails; + } + public function setConversionPings(Google_Service_YouTube_ChannelConversionPings $conversionPings) + { + $this->conversionPings = $conversionPings; + } + public function getConversionPings() + { + return $this->conversionPings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInvideoPromotion(Google_Service_YouTube_InvideoPromotion $invideoPromotion) + { + $this->invideoPromotion = $invideoPromotion; + } + public function getInvideoPromotion() + { + return $this->invideoPromotion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setSnippet(Google_Service_YouTube_ChannelSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_ChannelStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_ChannelStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTopicDetails(Google_Service_YouTube_ChannelTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php new file mode 100644 index 00000000..2a6907cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelAuditDetails.php @@ -0,0 +1,57 @@ +communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding; + } + public function getCommunityGuidelinesGoodStanding() + { + return $this->communityGuidelinesGoodStanding; + } + public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding) + { + $this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding; + } + public function getContentIdClaimsGoodStanding() + { + return $this->contentIdClaimsGoodStanding; + } + public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding) + { + $this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding; + } + public function getCopyrightStrikesGoodStanding() + { + return $this->copyrightStrikesGoodStanding; + } + public function setOverallGoodStanding($overallGoodStanding) + { + $this->overallGoodStanding = $overallGoodStanding; + } + public function getOverallGoodStanding() + { + return $this->overallGoodStanding; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php new file mode 100644 index 00000000..58f48d58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBannerResource.php @@ -0,0 +1,48 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php new file mode 100644 index 00000000..e2d4a935 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelBrandingSettings.php @@ -0,0 +1,62 @@ +channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setHints($hints) + { + $this->hints = $hints; + } + public function getHints() + { + return $this->hints; + } + public function setImage(Google_Service_YouTube_ImageSettings $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setWatch(Google_Service_YouTube_WatchSettings $watch) + { + $this->watch = $watch; + } + public function getWatch() + { + return $this->watch; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php new file mode 100644 index 00000000..d397e718 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetails.php @@ -0,0 +1,31 @@ +relatedPlaylists = $relatedPlaylists; + } + public function getRelatedPlaylists() + { + return $this->relatedPlaylists; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php new file mode 100644 index 00000000..efb14984 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentDetailsRelatedPlaylists.php @@ -0,0 +1,66 @@ +favorites = $favorites; + } + public function getFavorites() + { + return $this->favorites; + } + public function setLikes($likes) + { + $this->likes = $likes; + } + public function getLikes() + { + return $this->likes; + } + public function setUploads($uploads) + { + $this->uploads = $uploads; + } + public function getUploads() + { + return $this->uploads; + } + public function setWatchHistory($watchHistory) + { + $this->watchHistory = $watchHistory; + } + public function getWatchHistory() + { + return $this->watchHistory; + } + public function setWatchLater($watchLater) + { + $this->watchLater = $watchLater; + } + public function getWatchLater() + { + return $this->watchLater; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php new file mode 100644 index 00000000..0a0bfaf4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelContentOwnerDetails.php @@ -0,0 +1,39 @@ +contentOwner = $contentOwner; + } + public function getContentOwner() + { + return $this->contentOwner; + } + public function setTimeLinked($timeLinked) + { + $this->timeLinked = $timeLinked; + } + public function getTimeLinked() + { + return $this->timeLinked; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php new file mode 100644 index 00000000..16cd26a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPing.php @@ -0,0 +1,39 @@ +context = $context; + } + public function getContext() + { + return $this->context; + } + public function setConversionUrl($conversionUrl) + { + $this->conversionUrl = $conversionUrl; + } + public function getConversionUrl() + { + return $this->conversionUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php new file mode 100644 index 00000000..801e11bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelConversionPings.php @@ -0,0 +1,32 @@ +pings = $pings; + } + public function getPings() + { + return $this->pings; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php new file mode 100644 index 00000000..89f9d08d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php new file mode 100644 index 00000000..388ed7d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelLocalization.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php new file mode 100644 index 00000000..ec10ae72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelProfileDetails.php @@ -0,0 +1,57 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelUrl($channelUrl) + { + $this->channelUrl = $channelUrl; + } + public function getChannelUrl() + { + return $this->channelUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setProfileImageUrl($profileImageUrl) + { + $this->profileImageUrl = $profileImageUrl; + } + public function getProfileImageUrl() + { + return $this->profileImageUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php new file mode 100644 index 00000000..83218e96 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSection.php @@ -0,0 +1,88 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting) + { + $this->targeting = $targeting; + } + public function getTargeting() + { + return $this->targeting; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php new file mode 100644 index 00000000..8bcb8e98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionContentDetails.php @@ -0,0 +1,40 @@ +channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setPlaylists($playlists) + { + $this->playlists = $playlists; + } + public function getPlaylists() + { + return $this->playlists; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php new file mode 100644 index 00000000..eccac741 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionListResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php new file mode 100644 index 00000000..6fb5e23a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionLocalization.php @@ -0,0 +1,30 @@ +title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php new file mode 100644 index 00000000..3209a4c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionSnippet.php @@ -0,0 +1,85 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setStyle($style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php new file mode 100644 index 00000000..f72036bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSectionTargeting.php @@ -0,0 +1,49 @@ +countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php new file mode 100644 index 00000000..24669344 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSettings.php @@ -0,0 +1,148 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDefaultTab($defaultTab) + { + $this->defaultTab = $defaultTab; + } + public function getDefaultTab() + { + return $this->defaultTab; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFeaturedChannelsTitle($featuredChannelsTitle) + { + $this->featuredChannelsTitle = $featuredChannelsTitle; + } + public function getFeaturedChannelsTitle() + { + return $this->featuredChannelsTitle; + } + public function setFeaturedChannelsUrls($featuredChannelsUrls) + { + $this->featuredChannelsUrls = $featuredChannelsUrls; + } + public function getFeaturedChannelsUrls() + { + return $this->featuredChannelsUrls; + } + public function setKeywords($keywords) + { + $this->keywords = $keywords; + } + public function getKeywords() + { + return $this->keywords; + } + public function setModerateComments($moderateComments) + { + $this->moderateComments = $moderateComments; + } + public function getModerateComments() + { + return $this->moderateComments; + } + public function setProfileColor($profileColor) + { + $this->profileColor = $profileColor; + } + public function getProfileColor() + { + return $this->profileColor; + } + public function setShowBrowseView($showBrowseView) + { + $this->showBrowseView = $showBrowseView; + } + public function getShowBrowseView() + { + return $this->showBrowseView; + } + public function setShowRelatedChannels($showRelatedChannels) + { + $this->showRelatedChannels = $showRelatedChannels; + } + public function getShowRelatedChannels() + { + return $this->showRelatedChannels; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId) + { + $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId; + } + public function getTrackingAnalyticsAccountId() + { + return $this->trackingAnalyticsAccountId; + } + public function setUnsubscribedTrailer($unsubscribedTrailer) + { + $this->unsubscribedTrailer = $unsubscribedTrailer; + } + public function getUnsubscribedTrailer() + { + return $this->unsubscribedTrailer; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php new file mode 100644 index 00000000..318d3b45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelSnippet.php @@ -0,0 +1,95 @@ +country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCustomUrl($customUrl) + { + $this->customUrl = $customUrl; + } + public function getCustomUrl() + { + return $this->customUrl; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocalized(Google_Service_YouTube_ChannelLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php new file mode 100644 index 00000000..f5c07786 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatistics.php @@ -0,0 +1,66 @@ +commentCount = $commentCount; + } + public function getCommentCount() + { + return $this->commentCount; + } + public function setHiddenSubscriberCount($hiddenSubscriberCount) + { + $this->hiddenSubscriberCount = $hiddenSubscriberCount; + } + public function getHiddenSubscriberCount() + { + return $this->hiddenSubscriberCount; + } + public function setSubscriberCount($subscriberCount) + { + $this->subscriberCount = $subscriberCount; + } + public function getSubscriberCount() + { + return $this->subscriberCount; + } + public function setVideoCount($videoCount) + { + $this->videoCount = $videoCount; + } + public function getVideoCount() + { + return $this->videoCount; + } + public function setViewCount($viewCount) + { + $this->viewCount = $viewCount; + } + public function getViewCount() + { + return $this->viewCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php new file mode 100644 index 00000000..ff4bcaaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelStatus.php @@ -0,0 +1,48 @@ +isLinked = $isLinked; + } + public function getIsLinked() + { + return $this->isLinked; + } + public function setLongUploadsStatus($longUploadsStatus) + { + $this->longUploadsStatus = $longUploadsStatus; + } + public function getLongUploadsStatus() + { + return $this->longUploadsStatus; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php new file mode 100644 index 00000000..8c2b336c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ChannelTopicDetails.php @@ -0,0 +1,40 @@ +topicCategories = $topicCategories; + } + public function getTopicCategories() + { + return $this->topicCategories; + } + public function setTopicIds($topicIds) + { + $this->topicIds = $topicIds; + } + public function getTopicIds() + { + return $this->topicIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php new file mode 100644 index 00000000..f0bc3332 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Comment.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_CommentSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php new file mode 100644 index 00000000..710a32e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentListResponse.php @@ -0,0 +1,97 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php new file mode 100644 index 00000000..8f44790a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentSnippet.php @@ -0,0 +1,156 @@ +authorChannelId = $authorChannelId; + } + public function getAuthorChannelId() + { + return $this->authorChannelId; + } + public function setAuthorChannelUrl($authorChannelUrl) + { + $this->authorChannelUrl = $authorChannelUrl; + } + public function getAuthorChannelUrl() + { + return $this->authorChannelUrl; + } + public function setAuthorDisplayName($authorDisplayName) + { + $this->authorDisplayName = $authorDisplayName; + } + public function getAuthorDisplayName() + { + return $this->authorDisplayName; + } + public function setAuthorProfileImageUrl($authorProfileImageUrl) + { + $this->authorProfileImageUrl = $authorProfileImageUrl; + } + public function getAuthorProfileImageUrl() + { + return $this->authorProfileImageUrl; + } + public function setCanRate($canRate) + { + $this->canRate = $canRate; + } + public function getCanRate() + { + return $this->canRate; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setLikeCount($likeCount) + { + $this->likeCount = $likeCount; + } + public function getLikeCount() + { + return $this->likeCount; + } + public function setModerationStatus($moderationStatus) + { + $this->moderationStatus = $moderationStatus; + } + public function getModerationStatus() + { + return $this->moderationStatus; + } + public function setParentId($parentId) + { + $this->parentId = $parentId; + } + public function getParentId() + { + return $this->parentId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTextDisplay($textDisplay) + { + $this->textDisplay = $textDisplay; + } + public function getTextDisplay() + { + return $this->textDisplay; + } + public function setTextOriginal($textOriginal) + { + $this->textOriginal = $textOriginal; + } + public function getTextOriginal() + { + return $this->textOriginal; + } + public function setUpdatedAt($updatedAt) + { + $this->updatedAt = $updatedAt; + } + public function getUpdatedAt() + { + return $this->updatedAt; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setViewerRating($viewerRating) + { + $this->viewerRating = $viewerRating; + } + public function getViewerRating() + { + return $this->viewerRating; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php new file mode 100644 index 00000000..f5e85fae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThread.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setReplies(Google_Service_YouTube_CommentThreadReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php new file mode 100644 index 00000000..eeab0f03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadListResponse.php @@ -0,0 +1,97 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php new file mode 100644 index 00000000..1077c6b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadReplies.php @@ -0,0 +1,32 @@ +comments = $comments; + } + public function getComments() + { + return $this->comments; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php new file mode 100644 index 00000000..21f22ade --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/CommentThreadSnippet.php @@ -0,0 +1,76 @@ +canReply = $canReply; + } + public function getCanReply() + { + return $this->canReply; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setIsPublic($isPublic) + { + $this->isPublic = $isPublic; + } + public function getIsPublic() + { + return $this->isPublic; + } + public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment) + { + $this->topLevelComment = $topLevelComment; + } + public function getTopLevelComment() + { + return $this->topLevelComment; + } + public function setTotalReplyCount($totalReplyCount) + { + $this->totalReplyCount = $totalReplyCount; + } + public function getTotalReplyCount() + { + return $this->totalReplyCount; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php new file mode 100644 index 00000000..77652392 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ContentRating.php @@ -0,0 +1,634 @@ +acbRating = $acbRating; + } + public function getAcbRating() + { + return $this->acbRating; + } + public function setAgcomRating($agcomRating) + { + $this->agcomRating = $agcomRating; + } + public function getAgcomRating() + { + return $this->agcomRating; + } + public function setAnatelRating($anatelRating) + { + $this->anatelRating = $anatelRating; + } + public function getAnatelRating() + { + return $this->anatelRating; + } + public function setBbfcRating($bbfcRating) + { + $this->bbfcRating = $bbfcRating; + } + public function getBbfcRating() + { + return $this->bbfcRating; + } + public function setBfvcRating($bfvcRating) + { + $this->bfvcRating = $bfvcRating; + } + public function getBfvcRating() + { + return $this->bfvcRating; + } + public function setBmukkRating($bmukkRating) + { + $this->bmukkRating = $bmukkRating; + } + public function getBmukkRating() + { + return $this->bmukkRating; + } + public function setCatvRating($catvRating) + { + $this->catvRating = $catvRating; + } + public function getCatvRating() + { + return $this->catvRating; + } + public function setCatvfrRating($catvfrRating) + { + $this->catvfrRating = $catvfrRating; + } + public function getCatvfrRating() + { + return $this->catvfrRating; + } + public function setCbfcRating($cbfcRating) + { + $this->cbfcRating = $cbfcRating; + } + public function getCbfcRating() + { + return $this->cbfcRating; + } + public function setCccRating($cccRating) + { + $this->cccRating = $cccRating; + } + public function getCccRating() + { + return $this->cccRating; + } + public function setCceRating($cceRating) + { + $this->cceRating = $cceRating; + } + public function getCceRating() + { + return $this->cceRating; + } + public function setChfilmRating($chfilmRating) + { + $this->chfilmRating = $chfilmRating; + } + public function getChfilmRating() + { + return $this->chfilmRating; + } + public function setChvrsRating($chvrsRating) + { + $this->chvrsRating = $chvrsRating; + } + public function getChvrsRating() + { + return $this->chvrsRating; + } + public function setCicfRating($cicfRating) + { + $this->cicfRating = $cicfRating; + } + public function getCicfRating() + { + return $this->cicfRating; + } + public function setCnaRating($cnaRating) + { + $this->cnaRating = $cnaRating; + } + public function getCnaRating() + { + return $this->cnaRating; + } + public function setCncRating($cncRating) + { + $this->cncRating = $cncRating; + } + public function getCncRating() + { + return $this->cncRating; + } + public function setCsaRating($csaRating) + { + $this->csaRating = $csaRating; + } + public function getCsaRating() + { + return $this->csaRating; + } + public function setCscfRating($cscfRating) + { + $this->cscfRating = $cscfRating; + } + public function getCscfRating() + { + return $this->cscfRating; + } + public function setCzfilmRating($czfilmRating) + { + $this->czfilmRating = $czfilmRating; + } + public function getCzfilmRating() + { + return $this->czfilmRating; + } + public function setDjctqRating($djctqRating) + { + $this->djctqRating = $djctqRating; + } + public function getDjctqRating() + { + return $this->djctqRating; + } + public function setDjctqRatingReasons($djctqRatingReasons) + { + $this->djctqRatingReasons = $djctqRatingReasons; + } + public function getDjctqRatingReasons() + { + return $this->djctqRatingReasons; + } + public function setEcbmctRating($ecbmctRating) + { + $this->ecbmctRating = $ecbmctRating; + } + public function getEcbmctRating() + { + return $this->ecbmctRating; + } + public function setEefilmRating($eefilmRating) + { + $this->eefilmRating = $eefilmRating; + } + public function getEefilmRating() + { + return $this->eefilmRating; + } + public function setEgfilmRating($egfilmRating) + { + $this->egfilmRating = $egfilmRating; + } + public function getEgfilmRating() + { + return $this->egfilmRating; + } + public function setEirinRating($eirinRating) + { + $this->eirinRating = $eirinRating; + } + public function getEirinRating() + { + return $this->eirinRating; + } + public function setFcbmRating($fcbmRating) + { + $this->fcbmRating = $fcbmRating; + } + public function getFcbmRating() + { + return $this->fcbmRating; + } + public function setFcoRating($fcoRating) + { + $this->fcoRating = $fcoRating; + } + public function getFcoRating() + { + return $this->fcoRating; + } + public function setFmocRating($fmocRating) + { + $this->fmocRating = $fmocRating; + } + public function getFmocRating() + { + return $this->fmocRating; + } + public function setFpbRating($fpbRating) + { + $this->fpbRating = $fpbRating; + } + public function getFpbRating() + { + return $this->fpbRating; + } + public function setFpbRatingReasons($fpbRatingReasons) + { + $this->fpbRatingReasons = $fpbRatingReasons; + } + public function getFpbRatingReasons() + { + return $this->fpbRatingReasons; + } + public function setFskRating($fskRating) + { + $this->fskRating = $fskRating; + } + public function getFskRating() + { + return $this->fskRating; + } + public function setGrfilmRating($grfilmRating) + { + $this->grfilmRating = $grfilmRating; + } + public function getGrfilmRating() + { + return $this->grfilmRating; + } + public function setIcaaRating($icaaRating) + { + $this->icaaRating = $icaaRating; + } + public function getIcaaRating() + { + return $this->icaaRating; + } + public function setIfcoRating($ifcoRating) + { + $this->ifcoRating = $ifcoRating; + } + public function getIfcoRating() + { + return $this->ifcoRating; + } + public function setIlfilmRating($ilfilmRating) + { + $this->ilfilmRating = $ilfilmRating; + } + public function getIlfilmRating() + { + return $this->ilfilmRating; + } + public function setIncaaRating($incaaRating) + { + $this->incaaRating = $incaaRating; + } + public function getIncaaRating() + { + return $this->incaaRating; + } + public function setKfcbRating($kfcbRating) + { + $this->kfcbRating = $kfcbRating; + } + public function getKfcbRating() + { + return $this->kfcbRating; + } + public function setKijkwijzerRating($kijkwijzerRating) + { + $this->kijkwijzerRating = $kijkwijzerRating; + } + public function getKijkwijzerRating() + { + return $this->kijkwijzerRating; + } + public function setKmrbRating($kmrbRating) + { + $this->kmrbRating = $kmrbRating; + } + public function getKmrbRating() + { + return $this->kmrbRating; + } + public function setLsfRating($lsfRating) + { + $this->lsfRating = $lsfRating; + } + public function getLsfRating() + { + return $this->lsfRating; + } + public function setMccaaRating($mccaaRating) + { + $this->mccaaRating = $mccaaRating; + } + public function getMccaaRating() + { + return $this->mccaaRating; + } + public function setMccypRating($mccypRating) + { + $this->mccypRating = $mccypRating; + } + public function getMccypRating() + { + return $this->mccypRating; + } + public function setMcstRating($mcstRating) + { + $this->mcstRating = $mcstRating; + } + public function getMcstRating() + { + return $this->mcstRating; + } + public function setMdaRating($mdaRating) + { + $this->mdaRating = $mdaRating; + } + public function getMdaRating() + { + return $this->mdaRating; + } + public function setMedietilsynetRating($medietilsynetRating) + { + $this->medietilsynetRating = $medietilsynetRating; + } + public function getMedietilsynetRating() + { + return $this->medietilsynetRating; + } + public function setMekuRating($mekuRating) + { + $this->mekuRating = $mekuRating; + } + public function getMekuRating() + { + return $this->mekuRating; + } + public function setMibacRating($mibacRating) + { + $this->mibacRating = $mibacRating; + } + public function getMibacRating() + { + return $this->mibacRating; + } + public function setMocRating($mocRating) + { + $this->mocRating = $mocRating; + } + public function getMocRating() + { + return $this->mocRating; + } + public function setMoctwRating($moctwRating) + { + $this->moctwRating = $moctwRating; + } + public function getMoctwRating() + { + return $this->moctwRating; + } + public function setMpaaRating($mpaaRating) + { + $this->mpaaRating = $mpaaRating; + } + public function getMpaaRating() + { + return $this->mpaaRating; + } + public function setMtrcbRating($mtrcbRating) + { + $this->mtrcbRating = $mtrcbRating; + } + public function getMtrcbRating() + { + return $this->mtrcbRating; + } + public function setNbcRating($nbcRating) + { + $this->nbcRating = $nbcRating; + } + public function getNbcRating() + { + return $this->nbcRating; + } + public function setNbcplRating($nbcplRating) + { + $this->nbcplRating = $nbcplRating; + } + public function getNbcplRating() + { + return $this->nbcplRating; + } + public function setNfrcRating($nfrcRating) + { + $this->nfrcRating = $nfrcRating; + } + public function getNfrcRating() + { + return $this->nfrcRating; + } + public function setNfvcbRating($nfvcbRating) + { + $this->nfvcbRating = $nfvcbRating; + } + public function getNfvcbRating() + { + return $this->nfvcbRating; + } + public function setNkclvRating($nkclvRating) + { + $this->nkclvRating = $nkclvRating; + } + public function getNkclvRating() + { + return $this->nkclvRating; + } + public function setOflcRating($oflcRating) + { + $this->oflcRating = $oflcRating; + } + public function getOflcRating() + { + return $this->oflcRating; + } + public function setPefilmRating($pefilmRating) + { + $this->pefilmRating = $pefilmRating; + } + public function getPefilmRating() + { + return $this->pefilmRating; + } + public function setRcnofRating($rcnofRating) + { + $this->rcnofRating = $rcnofRating; + } + public function getRcnofRating() + { + return $this->rcnofRating; + } + public function setResorteviolenciaRating($resorteviolenciaRating) + { + $this->resorteviolenciaRating = $resorteviolenciaRating; + } + public function getResorteviolenciaRating() + { + return $this->resorteviolenciaRating; + } + public function setRtcRating($rtcRating) + { + $this->rtcRating = $rtcRating; + } + public function getRtcRating() + { + return $this->rtcRating; + } + public function setRteRating($rteRating) + { + $this->rteRating = $rteRating; + } + public function getRteRating() + { + return $this->rteRating; + } + public function setRussiaRating($russiaRating) + { + $this->russiaRating = $russiaRating; + } + public function getRussiaRating() + { + return $this->russiaRating; + } + public function setSkfilmRating($skfilmRating) + { + $this->skfilmRating = $skfilmRating; + } + public function getSkfilmRating() + { + return $this->skfilmRating; + } + public function setSmaisRating($smaisRating) + { + $this->smaisRating = $smaisRating; + } + public function getSmaisRating() + { + return $this->smaisRating; + } + public function setSmsaRating($smsaRating) + { + $this->smsaRating = $smsaRating; + } + public function getSmsaRating() + { + return $this->smsaRating; + } + public function setTvpgRating($tvpgRating) + { + $this->tvpgRating = $tvpgRating; + } + public function getTvpgRating() + { + return $this->tvpgRating; + } + public function setYtRating($ytRating) + { + $this->ytRating = $ytRating; + } + public function getYtRating() + { + return $this->ytRating; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php new file mode 100644 index 00000000..77d04b03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEvent.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_FanFundingEventSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php new file mode 100644 index 00000000..46ddef64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventListResponse.php @@ -0,0 +1,97 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php new file mode 100644 index 00000000..4006cd74 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/FanFundingEventSnippet.php @@ -0,0 +1,85 @@ +amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setCommentText($commentText) + { + $this->commentText = $commentText; + } + public function getCommentText() + { + return $this->commentText; + } + public function setCreatedAt($createdAt) + { + $this->createdAt = $createdAt; + } + public function getCreatedAt() + { + return $this->createdAt; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setDisplayString($displayString) + { + $this->displayString = $displayString; + } + public function getDisplayString() + { + return $this->displayString; + } + public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails) + { + $this->supporterDetails = $supporterDetails; + } + public function getSupporterDetails() + { + return $this->supporterDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php new file mode 100644 index 00000000..b80b0367 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GeoPoint.php @@ -0,0 +1,48 @@ +altitude = $altitude; + } + public function getAltitude() + { + return $this->altitude; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php new file mode 100644 index 00000000..e5ab0fa0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategory.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_GuideCategorySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php new file mode 100644 index 00000000..74b7c53a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategoryListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php new file mode 100644 index 00000000..10faecaf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/GuideCategorySnippet.php @@ -0,0 +1,39 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php new file mode 100644 index 00000000..35d1f4e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguage.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_I18nLanguageSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php new file mode 100644 index 00000000..e6dbeee4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageListResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php new file mode 100644 index 00000000..c3800383 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nLanguageSnippet.php @@ -0,0 +1,39 @@ +hl = $hl; + } + public function getHl() + { + return $this->hl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php new file mode 100644 index 00000000..752e4654 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegion.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_I18nRegionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php new file mode 100644 index 00000000..6803eed9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionListResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php new file mode 100644 index 00000000..8170918e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/I18nRegionSnippet.php @@ -0,0 +1,39 @@ +gl = $gl; + } + public function getGl() + { + return $this->gl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php new file mode 100644 index 00000000..c2bfc9c0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ImageSettings.php @@ -0,0 +1,224 @@ +backgroundImageUrl = $backgroundImageUrl; + } + public function getBackgroundImageUrl() + { + return $this->backgroundImageUrl; + } + public function setBannerExternalUrl($bannerExternalUrl) + { + $this->bannerExternalUrl = $bannerExternalUrl; + } + public function getBannerExternalUrl() + { + return $this->bannerExternalUrl; + } + public function setBannerImageUrl($bannerImageUrl) + { + $this->bannerImageUrl = $bannerImageUrl; + } + public function getBannerImageUrl() + { + return $this->bannerImageUrl; + } + public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl) + { + $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl; + } + public function getBannerMobileExtraHdImageUrl() + { + return $this->bannerMobileExtraHdImageUrl; + } + public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl) + { + $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl; + } + public function getBannerMobileHdImageUrl() + { + return $this->bannerMobileHdImageUrl; + } + public function setBannerMobileImageUrl($bannerMobileImageUrl) + { + $this->bannerMobileImageUrl = $bannerMobileImageUrl; + } + public function getBannerMobileImageUrl() + { + return $this->bannerMobileImageUrl; + } + public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl) + { + $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl; + } + public function getBannerMobileLowImageUrl() + { + return $this->bannerMobileLowImageUrl; + } + public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl) + { + $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl; + } + public function getBannerMobileMediumHdImageUrl() + { + return $this->bannerMobileMediumHdImageUrl; + } + public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl) + { + $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl; + } + public function getBannerTabletExtraHdImageUrl() + { + return $this->bannerTabletExtraHdImageUrl; + } + public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl) + { + $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl; + } + public function getBannerTabletHdImageUrl() + { + return $this->bannerTabletHdImageUrl; + } + public function setBannerTabletImageUrl($bannerTabletImageUrl) + { + $this->bannerTabletImageUrl = $bannerTabletImageUrl; + } + public function getBannerTabletImageUrl() + { + return $this->bannerTabletImageUrl; + } + public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl) + { + $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl; + } + public function getBannerTabletLowImageUrl() + { + return $this->bannerTabletLowImageUrl; + } + public function setBannerTvHighImageUrl($bannerTvHighImageUrl) + { + $this->bannerTvHighImageUrl = $bannerTvHighImageUrl; + } + public function getBannerTvHighImageUrl() + { + return $this->bannerTvHighImageUrl; + } + public function setBannerTvImageUrl($bannerTvImageUrl) + { + $this->bannerTvImageUrl = $bannerTvImageUrl; + } + public function getBannerTvImageUrl() + { + return $this->bannerTvImageUrl; + } + public function setBannerTvLowImageUrl($bannerTvLowImageUrl) + { + $this->bannerTvLowImageUrl = $bannerTvLowImageUrl; + } + public function getBannerTvLowImageUrl() + { + return $this->bannerTvLowImageUrl; + } + public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl) + { + $this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl; + } + public function getBannerTvMediumImageUrl() + { + return $this->bannerTvMediumImageUrl; + } + public function setLargeBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript) + { + $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript; + } + public function getLargeBrandedBannerImageImapScript() + { + return $this->largeBrandedBannerImageImapScript; + } + public function setLargeBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl) + { + $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl; + } + public function getLargeBrandedBannerImageUrl() + { + return $this->largeBrandedBannerImageUrl; + } + public function setSmallBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript) + { + $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript; + } + public function getSmallBrandedBannerImageImapScript() + { + return $this->smallBrandedBannerImageImapScript; + } + public function setSmallBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl) + { + $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl; + } + public function getSmallBrandedBannerImageUrl() + { + return $this->smallBrandedBannerImageUrl; + } + public function setTrackingImageUrl($trackingImageUrl) + { + $this->trackingImageUrl = $trackingImageUrl; + } + public function getTrackingImageUrl() + { + return $this->trackingImageUrl; + } + public function setWatchIconImageUrl($watchIconImageUrl) + { + $this->watchIconImageUrl = $watchIconImageUrl; + } + public function getWatchIconImageUrl() + { + return $this->watchIconImageUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php new file mode 100644 index 00000000..aaac80c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/IngestionInfo.php @@ -0,0 +1,48 @@ +backupIngestionAddress = $backupIngestionAddress; + } + public function getBackupIngestionAddress() + { + return $this->backupIngestionAddress; + } + public function setIngestionAddress($ingestionAddress) + { + $this->ingestionAddress = $ingestionAddress; + } + public function getIngestionAddress() + { + return $this->ingestionAddress; + } + public function setStreamName($streamName) + { + $this->streamName = $streamName; + } + public function getStreamName() + { + return $this->streamName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php new file mode 100644 index 00000000..1fc32ae8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoBranding.php @@ -0,0 +1,68 @@ +imageBytes = $imageBytes; + } + public function getImageBytes() + { + return $this->imageBytes; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setPosition(Google_Service_YouTube_InvideoPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setTargetChannelId($targetChannelId) + { + $this->targetChannelId = $targetChannelId; + } + public function getTargetChannelId() + { + return $this->targetChannelId; + } + public function setTiming(Google_Service_YouTube_InvideoTiming $timing) + { + $this->timing = $timing; + } + public function getTiming() + { + return $this->timing; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php new file mode 100644 index 00000000..8ebf440c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPosition.php @@ -0,0 +1,39 @@ +cornerPosition = $cornerPosition; + } + public function getCornerPosition() + { + return $this->cornerPosition; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php new file mode 100644 index 00000000..451634d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoPromotion.php @@ -0,0 +1,61 @@ +defaultTiming = $defaultTiming; + } + public function getDefaultTiming() + { + return $this->defaultTiming; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setPosition(Google_Service_YouTube_InvideoPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setUseSmartTiming($useSmartTiming) + { + $this->useSmartTiming = $useSmartTiming; + } + public function getUseSmartTiming() + { + return $this->useSmartTiming; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php new file mode 100644 index 00000000..d6d99ea9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/InvideoTiming.php @@ -0,0 +1,48 @@ +durationMs = $durationMs; + } + public function getDurationMs() + { + return $this->durationMs; + } + public function setOffsetMs($offsetMs) + { + $this->offsetMs = $offsetMs; + } + public function getOffsetMs() + { + return $this->offsetMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php new file mode 100644 index 00000000..8f033e3b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LanguageTag.php @@ -0,0 +1,30 @@ +value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php new file mode 100644 index 00000000..c87763d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcast.php @@ -0,0 +1,98 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveBroadcastSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_LiveBroadcastStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_LiveBroadcastStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTopicDetails(Google_Service_YouTube_LiveBroadcastTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php new file mode 100644 index 00000000..ea790e0d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastContentDetails.php @@ -0,0 +1,130 @@ +boundStreamId = $boundStreamId; + } + public function getBoundStreamId() + { + return $this->boundStreamId; + } + public function setBoundStreamLastUpdateTimeMs($boundStreamLastUpdateTimeMs) + { + $this->boundStreamLastUpdateTimeMs = $boundStreamLastUpdateTimeMs; + } + public function getBoundStreamLastUpdateTimeMs() + { + return $this->boundStreamLastUpdateTimeMs; + } + public function setClosedCaptionsType($closedCaptionsType) + { + $this->closedCaptionsType = $closedCaptionsType; + } + public function getClosedCaptionsType() + { + return $this->closedCaptionsType; + } + public function setEnableClosedCaptions($enableClosedCaptions) + { + $this->enableClosedCaptions = $enableClosedCaptions; + } + public function getEnableClosedCaptions() + { + return $this->enableClosedCaptions; + } + public function setEnableContentEncryption($enableContentEncryption) + { + $this->enableContentEncryption = $enableContentEncryption; + } + public function getEnableContentEncryption() + { + return $this->enableContentEncryption; + } + public function setEnableDvr($enableDvr) + { + $this->enableDvr = $enableDvr; + } + public function getEnableDvr() + { + return $this->enableDvr; + } + public function setEnableEmbed($enableEmbed) + { + $this->enableEmbed = $enableEmbed; + } + public function getEnableEmbed() + { + return $this->enableEmbed; + } + public function setEnableLowLatency($enableLowLatency) + { + $this->enableLowLatency = $enableLowLatency; + } + public function getEnableLowLatency() + { + return $this->enableLowLatency; + } + public function setMonitorStream(Google_Service_YouTube_MonitorStreamInfo $monitorStream) + { + $this->monitorStream = $monitorStream; + } + public function getMonitorStream() + { + return $this->monitorStream; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } + public function setRecordFromStart($recordFromStart) + { + $this->recordFromStart = $recordFromStart; + } + public function getRecordFromStart() + { + return $this->recordFromStart; + } + public function setStartWithSlate($startWithSlate) + { + $this->startWithSlate = $startWithSlate; + } + public function getStartWithSlate() + { + return $this->startWithSlate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php new file mode 100644 index 00000000..f3a9725e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php new file mode 100644 index 00000000..950e7776 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastSnippet.php @@ -0,0 +1,121 @@ +actualEndTime = $actualEndTime; + } + public function getActualEndTime() + { + return $this->actualEndTime; + } + public function setActualStartTime($actualStartTime) + { + $this->actualStartTime = $actualStartTime; + } + public function getActualStartTime() + { + return $this->actualStartTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefaultBroadcast($isDefaultBroadcast) + { + $this->isDefaultBroadcast = $isDefaultBroadcast; + } + public function getIsDefaultBroadcast() + { + return $this->isDefaultBroadcast; + } + public function setLiveChatId($liveChatId) + { + $this->liveChatId = $liveChatId; + } + public function getLiveChatId() + { + return $this->liveChatId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setScheduledEndTime($scheduledEndTime) + { + $this->scheduledEndTime = $scheduledEndTime; + } + public function getScheduledEndTime() + { + return $this->scheduledEndTime; + } + public function setScheduledStartTime($scheduledStartTime) + { + $this->scheduledStartTime = $scheduledStartTime; + } + public function getScheduledStartTime() + { + return $this->scheduledStartTime; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php new file mode 100644 index 00000000..6a4f8f3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatistics.php @@ -0,0 +1,39 @@ +concurrentViewers = $concurrentViewers; + } + public function getConcurrentViewers() + { + return $this->concurrentViewers; + } + public function setTotalChatCount($totalChatCount) + { + $this->totalChatCount = $totalChatCount; + } + public function getTotalChatCount() + { + return $this->totalChatCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php new file mode 100644 index 00000000..74e17468 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastStatus.php @@ -0,0 +1,57 @@ +lifeCycleStatus = $lifeCycleStatus; + } + public function getLifeCycleStatus() + { + return $this->lifeCycleStatus; + } + public function setLiveBroadcastPriority($liveBroadcastPriority) + { + $this->liveBroadcastPriority = $liveBroadcastPriority; + } + public function getLiveBroadcastPriority() + { + return $this->liveBroadcastPriority; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } + public function setRecordingStatus($recordingStatus) + { + $this->recordingStatus = $recordingStatus; + } + public function getRecordingStatus() + { + return $this->recordingStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php new file mode 100644 index 00000000..247b433f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopic.php @@ -0,0 +1,49 @@ +snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnmatched($unmatched) + { + $this->unmatched = $unmatched; + } + public function getUnmatched() + { + return $this->unmatched; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php new file mode 100644 index 00000000..8cc4578e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicDetails.php @@ -0,0 +1,32 @@ +topics = $topics; + } + public function getTopics() + { + return $this->topics; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php new file mode 100644 index 00000000..ad6724ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveBroadcastTopicSnippet.php @@ -0,0 +1,39 @@ +name = $name; + } + public function getName() + { + return $this->name; + } + public function setReleaseDate($releaseDate) + { + $this->releaseDate = $releaseDate; + } + public function getReleaseDate() + { + return $this->releaseDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php new file mode 100644 index 00000000..d835437d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBan.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveChatBanSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php new file mode 100644 index 00000000..cc595994 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatBanSnippet.php @@ -0,0 +1,58 @@ +banDurationSeconds = $banDurationSeconds; + } + public function getBanDurationSeconds() + { + return $this->banDurationSeconds; + } + public function setBannedUserDetails(Google_Service_YouTube_ChannelProfileDetails $bannedUserDetails) + { + $this->bannedUserDetails = $bannedUserDetails; + } + public function getBannedUserDetails() + { + return $this->bannedUserDetails; + } + public function setLiveChatId($liveChatId) + { + $this->liveChatId = $liveChatId; + } + public function getLiveChatId() + { + return $this->liveChatId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php new file mode 100644 index 00000000..b7f316d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatFanFundingEventDetails.php @@ -0,0 +1,57 @@ +amountDisplayString = $amountDisplayString; + } + public function getAmountDisplayString() + { + return $this->amountDisplayString; + } + public function setAmountMicros($amountMicros) + { + $this->amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setUserComment($userComment) + { + $this->userComment = $userComment; + } + public function getUserComment() + { + return $this->userComment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php new file mode 100644 index 00000000..01bf15c7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessage.php @@ -0,0 +1,68 @@ +authorDetails = $authorDetails; + } + public function getAuthorDetails() + { + return $this->authorDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveChatMessageSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php new file mode 100644 index 00000000..0f77bf66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageAuthorDetails.php @@ -0,0 +1,93 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelUrl($channelUrl) + { + $this->channelUrl = $channelUrl; + } + public function getChannelUrl() + { + return $this->channelUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setIsChatModerator($isChatModerator) + { + $this->isChatModerator = $isChatModerator; + } + public function getIsChatModerator() + { + return $this->isChatModerator; + } + public function setIsChatOwner($isChatOwner) + { + $this->isChatOwner = $isChatOwner; + } + public function getIsChatOwner() + { + return $this->isChatOwner; + } + public function setIsChatSponsor($isChatSponsor) + { + $this->isChatSponsor = $isChatSponsor; + } + public function getIsChatSponsor() + { + return $this->isChatSponsor; + } + public function setIsVerified($isVerified) + { + $this->isVerified = $isVerified; + } + public function getIsVerified() + { + return $this->isVerified; + } + public function setProfileImageUrl($profileImageUrl) + { + $this->profileImageUrl = $profileImageUrl; + } + public function getProfileImageUrl() + { + return $this->profileImageUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php new file mode 100644 index 00000000..8d5b7ecb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageDeletedDetails.php @@ -0,0 +1,30 @@ +deletedMessageId = $deletedMessageId; + } + public function getDeletedMessageId() + { + return $this->deletedMessageId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php new file mode 100644 index 00000000..c3e5b326 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageListResponse.php @@ -0,0 +1,115 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOfflineAt($offlineAt) + { + $this->offlineAt = $offlineAt; + } + public function getOfflineAt() + { + return $this->offlineAt; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPollingIntervalMillis($pollingIntervalMillis) + { + $this->pollingIntervalMillis = $pollingIntervalMillis; + } + public function getPollingIntervalMillis() + { + return $this->pollingIntervalMillis; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php new file mode 100644 index 00000000..9a84f4f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageRetractedDetails.php @@ -0,0 +1,30 @@ +retractedMessageId = $retractedMessageId; + } + public function getRetractedMessageId() + { + return $this->retractedMessageId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php new file mode 100644 index 00000000..b7f6250b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatMessageSnippet.php @@ -0,0 +1,175 @@ +authorChannelId = $authorChannelId; + } + public function getAuthorChannelId() + { + return $this->authorChannelId; + } + public function setDisplayMessage($displayMessage) + { + $this->displayMessage = $displayMessage; + } + public function getDisplayMessage() + { + return $this->displayMessage; + } + public function setFanFundingEventDetails(Google_Service_YouTube_LiveChatFanFundingEventDetails $fanFundingEventDetails) + { + $this->fanFundingEventDetails = $fanFundingEventDetails; + } + public function getFanFundingEventDetails() + { + return $this->fanFundingEventDetails; + } + public function setHasDisplayContent($hasDisplayContent) + { + $this->hasDisplayContent = $hasDisplayContent; + } + public function getHasDisplayContent() + { + return $this->hasDisplayContent; + } + public function setLiveChatId($liveChatId) + { + $this->liveChatId = $liveChatId; + } + public function getLiveChatId() + { + return $this->liveChatId; + } + public function setMessageDeletedDetails(Google_Service_YouTube_LiveChatMessageDeletedDetails $messageDeletedDetails) + { + $this->messageDeletedDetails = $messageDeletedDetails; + } + public function getMessageDeletedDetails() + { + return $this->messageDeletedDetails; + } + public function setMessageRetractedDetails(Google_Service_YouTube_LiveChatMessageRetractedDetails $messageRetractedDetails) + { + $this->messageRetractedDetails = $messageRetractedDetails; + } + public function getMessageRetractedDetails() + { + return $this->messageRetractedDetails; + } + public function setPollClosedDetails(Google_Service_YouTube_LiveChatPollClosedDetails $pollClosedDetails) + { + $this->pollClosedDetails = $pollClosedDetails; + } + public function getPollClosedDetails() + { + return $this->pollClosedDetails; + } + public function setPollEditedDetails(Google_Service_YouTube_LiveChatPollEditedDetails $pollEditedDetails) + { + $this->pollEditedDetails = $pollEditedDetails; + } + public function getPollEditedDetails() + { + return $this->pollEditedDetails; + } + public function setPollOpenedDetails(Google_Service_YouTube_LiveChatPollOpenedDetails $pollOpenedDetails) + { + $this->pollOpenedDetails = $pollOpenedDetails; + } + public function getPollOpenedDetails() + { + return $this->pollOpenedDetails; + } + public function setPollVotedDetails(Google_Service_YouTube_LiveChatPollVotedDetails $pollVotedDetails) + { + $this->pollVotedDetails = $pollVotedDetails; + } + public function getPollVotedDetails() + { + return $this->pollVotedDetails; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setSuperChatDetails(Google_Service_YouTube_LiveChatSuperChatDetails $superChatDetails) + { + $this->superChatDetails = $superChatDetails; + } + public function getSuperChatDetails() + { + return $this->superChatDetails; + } + public function setTextMessageDetails(Google_Service_YouTube_LiveChatTextMessageDetails $textMessageDetails) + { + $this->textMessageDetails = $textMessageDetails; + } + public function getTextMessageDetails() + { + return $this->textMessageDetails; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUserBannedDetails(Google_Service_YouTube_LiveChatUserBannedMessageDetails $userBannedDetails) + { + $this->userBannedDetails = $userBannedDetails; + } + public function getUserBannedDetails() + { + return $this->userBannedDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php new file mode 100644 index 00000000..29b77e03 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModerator.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveChatModeratorSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php new file mode 100644 index 00000000..7655eb94 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php new file mode 100644 index 00000000..b3581c77 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatModeratorSnippet.php @@ -0,0 +1,40 @@ +liveChatId = $liveChatId; + } + public function getLiveChatId() + { + return $this->liveChatId; + } + public function setModeratorDetails(Google_Service_YouTube_ChannelProfileDetails $moderatorDetails) + { + $this->moderatorDetails = $moderatorDetails; + } + public function getModeratorDetails() + { + return $this->moderatorDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php new file mode 100644 index 00000000..a720614b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollClosedDetails.php @@ -0,0 +1,30 @@ +pollId = $pollId; + } + public function getPollId() + { + return $this->pollId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php new file mode 100644 index 00000000..d34084fa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollEditedDetails.php @@ -0,0 +1,50 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setPrompt($prompt) + { + $this->prompt = $prompt; + } + public function getPrompt() + { + return $this->prompt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php new file mode 100644 index 00000000..cfc23838 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollItem.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setItemId($itemId) + { + $this->itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php new file mode 100644 index 00000000..b63881d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollOpenedDetails.php @@ -0,0 +1,50 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setPrompt($prompt) + { + $this->prompt = $prompt; + } + public function getPrompt() + { + return $this->prompt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php new file mode 100644 index 00000000..5ffc4229 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatPollVotedDetails.php @@ -0,0 +1,39 @@ +itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setPollId($pollId) + { + $this->pollId = $pollId; + } + public function getPollId() + { + return $this->pollId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php new file mode 100644 index 00000000..0d66d058 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatSuperChatDetails.php @@ -0,0 +1,66 @@ +amountDisplayString = $amountDisplayString; + } + public function getAmountDisplayString() + { + return $this->amountDisplayString; + } + public function setAmountMicros($amountMicros) + { + $this->amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setTier($tier) + { + $this->tier = $tier; + } + public function getTier() + { + return $this->tier; + } + public function setUserComment($userComment) + { + $this->userComment = $userComment; + } + public function getUserComment() + { + return $this->userComment; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php new file mode 100644 index 00000000..c3708022 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatTextMessageDetails.php @@ -0,0 +1,30 @@ +messageText = $messageText; + } + public function getMessageText() + { + return $this->messageText; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php new file mode 100644 index 00000000..317bcea2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveChatUserBannedMessageDetails.php @@ -0,0 +1,49 @@ +banDurationSeconds = $banDurationSeconds; + } + public function getBanDurationSeconds() + { + return $this->banDurationSeconds; + } + public function setBanType($banType) + { + $this->banType = $banType; + } + public function getBanType() + { + return $this->banType; + } + public function setBannedUserDetails(Google_Service_YouTube_ChannelProfileDetails $bannedUserDetails) + { + $this->bannedUserDetails = $bannedUserDetails; + } + public function getBannedUserDetails() + { + return $this->bannedUserDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php new file mode 100644 index 00000000..a768fa85 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStream.php @@ -0,0 +1,88 @@ +cdn = $cdn; + } + public function getCdn() + { + return $this->cdn; + } + public function setContentDetails(Google_Service_YouTube_LiveStreamContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveStreamSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_LiveStreamStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php new file mode 100644 index 00000000..dc8e55aa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamConfigurationIssue.php @@ -0,0 +1,57 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php new file mode 100644 index 00000000..d6ad34e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamContentDetails.php @@ -0,0 +1,39 @@ +closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl; + } + public function getClosedCaptionsIngestionUrl() + { + return $this->closedCaptionsIngestionUrl; + } + public function setIsReusable($isReusable) + { + $this->isReusable = $isReusable; + } + public function getIsReusable() + { + return $this->isReusable; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php new file mode 100644 index 00000000..5d1f3ae4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamHealthStatus.php @@ -0,0 +1,50 @@ +configurationIssues = $configurationIssues; + } + public function getConfigurationIssues() + { + return $this->configurationIssues; + } + public function setLastUpdateTimeSeconds($lastUpdateTimeSeconds) + { + $this->lastUpdateTimeSeconds = $lastUpdateTimeSeconds; + } + public function getLastUpdateTimeSeconds() + { + return $this->lastUpdateTimeSeconds; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php new file mode 100644 index 00000000..d6b312b5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php new file mode 100644 index 00000000..8b2a2ba0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamSnippet.php @@ -0,0 +1,66 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefaultStream($isDefaultStream) + { + $this->isDefaultStream = $isDefaultStream; + } + public function getIsDefaultStream() + { + return $this->isDefaultStream; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php new file mode 100644 index 00000000..fe1084a1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LiveStreamStatus.php @@ -0,0 +1,40 @@ +healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setStreamStatus($streamStatus) + { + $this->streamStatus = $streamStatus; + } + public function getStreamStatus() + { + return $this->streamStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php new file mode 100644 index 00000000..fd69cd81 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedProperty.php @@ -0,0 +1,51 @@ +default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setDefaultLanguage(Google_Service_YouTube_LanguageTag $defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setLocalized($localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php new file mode 100644 index 00000000..49c26622 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/LocalizedString.php @@ -0,0 +1,39 @@ +language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php new file mode 100644 index 00000000..abaf875f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/MonitorStreamInfo.php @@ -0,0 +1,48 @@ +broadcastStreamDelayMs = $broadcastStreamDelayMs; + } + public function getBroadcastStreamDelayMs() + { + return $this->broadcastStreamDelayMs; + } + public function setEmbedHtml($embedHtml) + { + $this->embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } + public function setEnableMonitorStream($enableMonitorStream) + { + $this->enableMonitorStream = $enableMonitorStream; + } + public function getEnableMonitorStream() + { + return $this->enableMonitorStream; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php new file mode 100644 index 00000000..186195dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PageInfo.php @@ -0,0 +1,39 @@ +resultsPerPage = $resultsPerPage; + } + public function getResultsPerPage() + { + return $this->resultsPerPage; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php new file mode 100644 index 00000000..ae07be22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Playlist.php @@ -0,0 +1,98 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setPlayer(Google_Service_YouTube_PlaylistPlayer $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setSnippet(Google_Service_YouTube_PlaylistSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_PlaylistStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php new file mode 100644 index 00000000..bd6ba396 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistContentDetails.php @@ -0,0 +1,30 @@ +itemCount = $itemCount; + } + public function getItemCount() + { + return $this->itemCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php new file mode 100644 index 00000000..04682ef9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItem.php @@ -0,0 +1,78 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_PlaylistItemSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_PlaylistItemStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php new file mode 100644 index 00000000..2799050d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemContentDetails.php @@ -0,0 +1,66 @@ +endAt = $endAt; + } + public function getEndAt() + { + return $this->endAt; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setStartAt($startAt) + { + $this->startAt = $startAt; + } + public function getStartAt() + { + return $this->startAt; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setVideoPublishedAt($videoPublishedAt) + { + $this->videoPublishedAt = $videoPublishedAt; + } + public function getVideoPublishedAt() + { + return $this->videoPublishedAt; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php new file mode 100644 index 00000000..ae601848 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php new file mode 100644 index 00000000..c837145f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemSnippet.php @@ -0,0 +1,104 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setPlaylistId($playlistId) + { + $this->playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php new file mode 100644 index 00000000..369bea1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistItemStatus.php @@ -0,0 +1,30 @@ +privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php new file mode 100644 index 00000000..1728d214 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php new file mode 100644 index 00000000..15dc4243 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistLocalization.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php new file mode 100644 index 00000000..2689dc13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistPlayer.php @@ -0,0 +1,30 @@ +embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php new file mode 100644 index 00000000..89e191cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistSnippet.php @@ -0,0 +1,105 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocalized(Google_Service_YouTube_PlaylistLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php new file mode 100644 index 00000000..3d9ddb5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PlaylistStatus.php @@ -0,0 +1,30 @@ +privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php new file mode 100644 index 00000000..7d39b65d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItem.php @@ -0,0 +1,59 @@ +customMessage = $customMessage; + } + public function getCustomMessage() + { + return $this->customMessage; + } + public function setId(Google_Service_YouTube_PromotedItemId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPromotedByContentOwner($promotedByContentOwner) + { + $this->promotedByContentOwner = $promotedByContentOwner; + } + public function getPromotedByContentOwner() + { + return $this->promotedByContentOwner; + } + public function setTiming(Google_Service_YouTube_InvideoTiming $timing) + { + $this->timing = $timing; + } + public function getTiming() + { + return $this->timing; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php new file mode 100644 index 00000000..64f3b33c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PromotedItemId.php @@ -0,0 +1,57 @@ +recentlyUploadedBy = $recentlyUploadedBy; + } + public function getRecentlyUploadedBy() + { + return $this->recentlyUploadedBy; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php new file mode 100644 index 00000000..23e2a2bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/PropertyValue.php @@ -0,0 +1,39 @@ +property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php new file mode 100644 index 00000000..eb30ba16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Activities.php @@ -0,0 +1,109 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $activities = $youtubeService->activities; + * + */ +class Google_Service_YouTube_Resource_Activities extends Google_Service_Resource +{ + /** + * Posts a bulletin for a specific channel. (The user submitting the request + * must be authorized to act on the channel's behalf.) + * + * Note: Even though an activity resource can contain information about actions + * like a user rating a video or marking a video as a favorite, you need to use + * other API methods to generate those activity resources. For example, you + * would use the API's videos.rate() method to rate a video and the + * playlistItems.insert() method to mark a video as a favorite. + * (activities.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Service_YouTube_Activity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Activity + */ + public function insert($part, Google_Service_YouTube_Activity $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Activity"); + } + /** + * Returns a list of channel activity events that match the request criteria. + * For example, you can retrieve events associated with a particular channel, + * events associated with the user's subscriptions and Google+ friends, or the + * YouTube home page feed, which is customized for each user. + * (activities.listActivities) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more activity resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in an + * activity resource, the snippet property contains other properties that + * identify the type of activity, a display title for the activity, and so + * forth. If you set part=snippet, the API response will also contain all of + * those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string channelId The channelId parameter specifies a unique + * YouTube channel ID. The API will then return a list of that channel's + * activities. + * @opt_param bool home Set this parameter's value to true to retrieve the + * activity feed that displays on the YouTube home page for the currently + * authenticated user. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's activities. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string publishedAfter The publishedAfter parameter specifies the + * earliest date and time that an activity could have occurred for that activity + * to be included in the API response. If the parameter value specifies a day, + * but not a time, then any activities that occurred that day will be included + * in the result set. The value is specified in ISO 8601 (YYYY-MM- + * DDThh:mm:ss.sZ) format. + * @opt_param string publishedBefore The publishedBefore parameter specifies the + * date and time before which an activity must have occurred for that activity + * to be included in the API response. If the parameter value specifies a day, + * but not a time, then any activities that occurred that day will be excluded + * from the result set. The value is specified in ISO 8601 (YYYY-MM- + * DDThh:mm:ss.sZ) format. + * @opt_param string regionCode The regionCode parameter instructs the API to + * return results for the specified country. The parameter value is an ISO + * 3166-1 alpha-2 country code. YouTube uses this value when the authorized + * user's previous activity on YouTube does not provide enough information to + * generate the activity feed. + * @return Google_Service_YouTube_ActivityListResponse + */ + public function listActivities($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ActivityListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php new file mode 100644 index 00000000..3335b6ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Captions.php @@ -0,0 +1,215 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $captions = $youtubeService->captions; + * + */ +class Google_Service_YouTube_Resource_Captions extends Google_Service_Resource +{ + /** + * Deletes a specified caption track. (captions.delete) + * + * @param string $id The id parameter identifies the caption track that is being + * deleted. The value is a caption track ID as identified by the id property in + * a caption resource. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Downloads a caption track. The caption track is returned in its original + * format unless the request specifies a value for the tfmt parameter and in its + * original language unless the request specifies a value for the tlang + * parameter. (captions.download) + * + * @param string $id The id parameter identifies the caption track that is being + * retrieved. The value is a caption track ID as identified by the id property + * in a caption resource. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @opt_param string tfmt The tfmt parameter specifies that the caption track + * should be returned in a specific format. If the parameter is not included in + * the request, the track is returned in its original format. + * @opt_param string tlang The tlang parameter specifies that the API response + * should return a translation of the specified caption track. The parameter + * value is an ISO 639-1 two-letter language code that identifies the desired + * caption language. The translation is generated by using machine translation, + * such as Google Translate. + */ + public function download($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('download', array($params)); + } + /** + * Uploads a caption track. (captions.insert) + * + * @param string $part The part parameter specifies the caption resource parts + * that the API response will include. Set the parameter value to snippet. + * @param Google_Service_YouTube_Caption $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @opt_param bool sync The sync parameter indicates whether YouTube should + * automatically synchronize the caption file with the audio track of the video. + * If you set the value to true, YouTube will disregard any time codes that are + * in the uploaded caption file and generate new time codes for the captions. + * + * You should set the sync parameter to true if you are uploading a transcript, + * which has no time codes, or if you suspect the time codes in your file are + * incorrect and want YouTube to try to fix them. + * @return Google_Service_YouTube_Caption + */ + public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Caption"); + } + /** + * Returns a list of caption tracks that are associated with a specified video. + * Note that the API response does not contain the actual captions and that the + * captions.download method provides the ability to retrieve a caption track. + * (captions.listCaptions) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more caption resource parts that the API response will include. The + * part names that you can include in the parameter value are id and snippet. + * @param string $videoId The videoId parameter specifies the YouTube video ID + * of the video for which the API should return caption tracks. + * @param array $optParams Optional parameters. + * + * @opt_param string id The id parameter specifies a comma-separated list of IDs + * that identify the caption resources that should be retrieved. Each ID must + * identify a caption track associated with the specified video. + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is on behalf of. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_CaptionListResponse + */ + public function listCaptions($part, $videoId, $optParams = array()) + { + $params = array('part' => $part, 'videoId' => $videoId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse"); + } + /** + * Updates a caption track. When updating a caption track, you can change the + * track's draft status, upload a new caption file for the track, or both. + * (captions.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. Set the property value to + * snippet if you are updating the track's draft status. Otherwise, set the + * property value to id. + * @param Google_Service_YouTube_Caption $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @opt_param bool sync Note: The API server only processes the parameter value + * if the request contains an updated caption file. + * + * The sync parameter indicates whether YouTube should automatically synchronize + * the caption file with the audio track of the video. If you set the value to + * true, YouTube will automatically synchronize the caption track with the audio + * track. + * @return Google_Service_YouTube_Caption + */ + public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Caption"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php new file mode 100644 index 00000000..c03b33d0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelBanners.php @@ -0,0 +1,62 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $channelBanners = $youtubeService->channelBanners; + * + */ +class Google_Service_YouTube_Resource_ChannelBanners extends Google_Service_Resource +{ + /** + * Uploads a channel banner image to YouTube. This method represents the first + * two steps in a three-step process to update the banner image for a channel: + * + * - Call the channelBanners.insert method to upload the binary image data to + * YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 + * pixels. - Extract the url property's value from the response that the API + * returns for step 1. - Call the channels.update method to update the channel's + * branding settings. Set the brandingSettings.image.bannerExternalUrl + * property's value to the URL obtained in step 2. (channelBanners.insert) + * + * @param Google_Service_YouTube_ChannelBannerResource $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelBannerResource + */ + public function insert(Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_ChannelBannerResource"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php new file mode 100644 index 00000000..2ad138f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/ChannelSections.php @@ -0,0 +1,190 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $channelSections = $youtubeService->channelSections; + * + */ +class Google_Service_YouTube_Resource_ChannelSections extends Google_Service_Resource +{ + /** + * Deletes a channelSection. (channelSections.delete) + * + * @param string $id The id parameter specifies the YouTube channelSection ID + * for the resource that is being deleted. In a channelSection resource, the id + * property specifies the YouTube channelSection ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a channelSection for the authenticated user's channel. + * (channelSections.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part names that you can include in the parameter value are snippet and + * contentDetails. + * @param Google_Service_YouTube_ChannelSection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_ChannelSection + */ + public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection"); + } + /** + * Returns channelSection resources that match the API request criteria. + * (channelSections.listChannelSections) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more channelSection resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, and contentDetails. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * channelSection resource, the snippet property contains other properties, such + * as a display title for the channelSection. If you set part=snippet, the API + * response will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string channelId The channelId parameter specifies a YouTube + * channel ID. The API will only return that channel's channelSections. + * @opt_param string hl The hl parameter indicates that the snippet.localized + * property values in the returned channelSection resources should be in the + * specified language if localized values for that language are available. For + * example, if the API request specifies hl=de, the snippet.localized properties + * in the API response will contain German titles if German titles are + * available. Channel owners can provide localized channel section titles using + * either the channelSections.insert or channelSections.update method. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channelSection ID(s) for the resource(s) that are being retrieved. In + * a channelSection resource, the id property specifies the YouTube + * channelSection ID. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's channelSections. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelSectionListResponse + */ + public function listChannelSections($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse"); + } + /** + * Update a channelSection. (channelSections.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part names that you can include in the parameter value are snippet and + * contentDetails. + * @param Google_Service_YouTube_ChannelSection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelSection + */ + public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php new file mode 100644 index 00000000..cc79713c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Channels.php @@ -0,0 +1,126 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $channels = $youtubeService->channels; + * + */ +class Google_Service_YouTube_Resource_Channels extends Google_Service_Resource +{ + /** + * Returns a collection of zero or more channel resources that match the request + * criteria. (channels.listChannels) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more channel resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a channel + * resource, the contentDetails property contains other properties, such as the + * uploads properties. As such, if you set part=contentDetails, the API response + * will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string categoryId The categoryId parameter specifies a YouTube + * guide category, thereby requesting YouTube channels associated with that + * category. + * @opt_param string forUsername The forUsername parameter specifies a YouTube + * username, thereby requesting the channel associated with that username. + * @opt_param string hl The hl parameter should be used for filter out the + * properties that are not in the given language. Used for the brandingSettings + * part. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channel ID(s) for the resource(s) that are being retrieved. In a + * channel resource, the id property specifies the channel's YouTube channel ID. + * @opt_param bool managedByMe Note: This parameter is intended exclusively for + * YouTube content partners. + * + * Set this parameter's value to true to instruct the API to only return + * channels managed by the content owner that the onBehalfOfContentOwner + * parameter specifies. The user must be authenticated as a CMS account linked + * to the specified content owner and onBehalfOfContentOwner must be provided. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return channels owned by the authenticated user. + * @opt_param bool mySubscribers Use the subscriptions.list method and its + * mySubscribers parameter to retrieve a list of subscribers to the + * authenticated user's channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_ChannelListResponse + */ + public function listChannels($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ChannelListResponse"); + } + /** + * Updates a channel's metadata. Note that this method currently only supports + * updates to the channel resource's brandingSettings and invideoPromotion + * objects and their child properties. (channels.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The API currently only allows the parameter value to be set to either + * brandingSettings or invideoPromotion. (You cannot update both of those parts + * with a single request.) + * + * Note that this method overrides the existing values for all of the mutable + * properties that are contained in any parts that the parameter value + * specifies. + * @param Google_Service_YouTube_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * indicates that the authenticated user is acting on behalf of the content + * owner specified in the parameter value. This parameter is intended for + * YouTube content partners that own and manage many different YouTube channels. + * It allows content owners to authenticate once and get access to all their + * video and channel data, without having to provide authentication credentials + * for each individual channel. The actual CMS account that the user + * authenticates with needs to be linked to the specified YouTube content owner. + * @return Google_Service_YouTube_Channel + */ + public function update($part, Google_Service_YouTube_Channel $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Channel"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php new file mode 100644 index 00000000..4e09a3ad --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/CommentThreads.php @@ -0,0 +1,121 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $commentThreads = $youtubeService->commentThreads; + * + */ +class Google_Service_YouTube_Resource_CommentThreads extends Google_Service_Resource +{ + /** + * Creates a new top-level comment. To add a reply to an existing comment, use + * the comments.insert method instead. (commentThreads.insert) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. Set the parameter value to snippet. The snippet part + * has a quota cost of 2 units. + * @param Google_Service_YouTube_CommentThread $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_CommentThread + */ + public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread"); + } + /** + * Returns a list of comment threads that match the API request parameters. + * (commentThreads.listCommentThreads) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more commentThread resource properties that the API response will + * include. + * @param array $optParams Optional parameters. + * + * @opt_param string allThreadsRelatedToChannelId The + * allThreadsRelatedToChannelId parameter instructs the API to return all + * comment threads associated with the specified channel. The response can + * include comments about the channel or about the channel's videos. + * @opt_param string channelId The channelId parameter instructs the API to + * return comment threads containing comments about the specified channel. (The + * response will not include comments left on videos that the channel uploaded.) + * @opt_param string id The id parameter specifies a comma-separated list of + * comment thread IDs for the resources that should be retrieved. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string moderationStatus Set this parameter to limit the returned + * comment threads to a particular moderation state. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string order The order parameter specifies the order in which the + * API response should list comment threads. Valid values are: - time - Comment + * threads are ordered by time. This is the default behavior. - relevance - + * Comment threads are ordered by relevance.Note: This parameter is not + * supported for use in conjunction with the id parameter. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identifies the next page of the result that can be + * retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string searchTerms The searchTerms parameter instructs the API to + * limit the API response to only contain comments that contain the specified + * search terms. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string textFormat Set this parameter's value to html or plainText + * to instruct the API to return the comments left by users in html formatted or + * in plain text. + * @opt_param string videoId The videoId parameter instructs the API to return + * comment threads associated with the specified video ID. + * @return Google_Service_YouTube_CommentThreadListResponse + */ + public function listCommentThreads($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse"); + } + /** + * Modifies the top-level comment in a comment thread. (commentThreads.update) + * + * @param string $part The part parameter specifies a comma-separated list of + * commentThread resource properties that the API response will include. You + * must at least include the snippet part in the parameter value since that part + * contains all of the properties that the API request can update. + * @param Google_Service_YouTube_CommentThread $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_CommentThread + */ + public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_CommentThread"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php new file mode 100644 index 00000000..44bb7f61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Comments.php @@ -0,0 +1,151 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $comments = $youtubeService->comments; + * + */ +class Google_Service_YouTube_Resource_Comments extends Google_Service_Resource +{ + /** + * Deletes a comment. (comments.delete) + * + * @param string $id The id parameter specifies the comment ID for the resource + * that is being deleted. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a reply to an existing comment. Note: To create a top-level comment, + * use the commentThreads.insert method. (comments.insert) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. Set the parameter value to snippet. The snippet part + * has a quota cost of 2 units. + * @param Google_Service_YouTube_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Comment + */ + public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Comment"); + } + /** + * Returns a list of comments that match the API request parameters. + * (comments.listComments) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more comment resource properties that the API response will include. + * @param array $optParams Optional parameters. + * + * @opt_param string id The id parameter specifies a comma-separated list of + * comment IDs for the resources that are being retrieved. In a comment + * resource, the id property specifies the comment's ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identifies the next page of the result that can be + * retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string parentId The parentId parameter specifies the ID of the + * comment for which replies should be retrieved. + * + * Note: YouTube currently supports replies only for top-level comments. + * However, replies to replies may be supported in the future. + * @opt_param string textFormat This parameter indicates whether the API should + * return comments formatted as HTML or as plain text. + * @return Google_Service_YouTube_CommentListResponse + */ + public function listComments($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse"); + } + /** + * Expresses the caller's opinion that one or more comments should be flagged as + * spam. (comments.markAsSpam) + * + * @param string $id The id parameter specifies a comma-separated list of IDs of + * comments that the caller believes should be classified as spam. + * @param array $optParams Optional parameters. + */ + public function markAsSpam($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('markAsSpam', array($params)); + } + /** + * Sets the moderation status of one or more comments. The API request must be + * authorized by the owner of the channel or video associated with the comments. + * (comments.setModerationStatus) + * + * @param string $id The id parameter specifies a comma-separated list of IDs + * that identify the comments for which you are updating the moderation status. + * @param string $moderationStatus Identifies the new moderation status of the + * specified comments. + * @param array $optParams Optional parameters. + * + * @opt_param bool banAuthor The banAuthor parameter lets you indicate that you + * want to automatically reject any additional comments written by the comment's + * author. Set the parameter value to true to ban the author. + * + * Note: This parameter is only valid if the moderationStatus parameter is also + * set to rejected. + */ + public function setModerationStatus($id, $moderationStatus, $optParams = array()) + { + $params = array('id' => $id, 'moderationStatus' => $moderationStatus); + $params = array_merge($params, $optParams); + return $this->call('setModerationStatus', array($params)); + } + /** + * Modifies a comment. (comments.update) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. You must at least include the snippet part in the + * parameter value since that part contains all of the properties that the API + * request can update. + * @param Google_Service_YouTube_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Comment + */ + public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Comment"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php new file mode 100644 index 00000000..1a52421b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/FanFundingEvents.php @@ -0,0 +1,60 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $fanFundingEvents = $youtubeService->fanFundingEvents; + * + */ +class Google_Service_YouTube_Resource_FanFundingEvents extends Google_Service_Resource +{ + /** + * Lists fan funding events for a channel. + * (fanFundingEvents.listFanFundingEvents) + * + * @param string $part The part parameter specifies the fanFundingEvent resource + * parts that the API response will include. Supported values are id and + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter instructs the API to retrieve localized + * resource metadata for a specific application language that the YouTube + * website supports. The parameter value must be a language code included in the + * list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's + * snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will + * contain resource details in the resource's default language. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_FanFundingEventListResponse + */ + public function listFanFundingEvents($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_FanFundingEventListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php new file mode 100644 index 00000000..6ca0020c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/GuideCategories.php @@ -0,0 +1,54 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $guideCategories = $youtubeService->guideCategories; + * + */ +class Google_Service_YouTube_Resource_GuideCategories extends Google_Service_Resource +{ + /** + * Returns a list of categories that can be associated with YouTube channels. + * (guideCategories.listGuideCategories) + * + * @param string $part The part parameter specifies the guideCategory resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that will be + * used for text values in the API response. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channel category ID(s) for the resource(s) that are being retrieved. + * In a guideCategory resource, the id property specifies the YouTube channel + * category ID. + * @opt_param string regionCode The regionCode parameter instructs the API to + * return the list of guide categories available in the specified country. The + * parameter value is an ISO 3166-1 alpha-2 country code. + * @return Google_Service_YouTube_GuideCategoryListResponse + */ + public function listGuideCategories($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php new file mode 100644 index 00000000..d6b11761 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nLanguages.php @@ -0,0 +1,47 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $i18nLanguages = $youtubeService->i18nLanguages; + * + */ +class Google_Service_YouTube_Resource_I18nLanguages extends Google_Service_Resource +{ + /** + * Returns a list of application languages that the YouTube website supports. + * (i18nLanguages.listI18nLanguages) + * + * @param string $part The part parameter specifies the i18nLanguage resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_I18nLanguageListResponse + */ + public function listI18nLanguages($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php new file mode 100644 index 00000000..107f39fd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/I18nRegions.php @@ -0,0 +1,47 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $i18nRegions = $youtubeService->i18nRegions; + * + */ +class Google_Service_YouTube_Resource_I18nRegions extends Google_Service_Resource +{ + /** + * Returns a list of content regions that the YouTube website supports. + * (i18nRegions.listI18nRegions) + * + * @param string $part The part parameter specifies the i18nRegion resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_I18nRegionListResponse + */ + public function listI18nRegions($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php new file mode 100644 index 00000000..ae19831b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveBroadcasts.php @@ -0,0 +1,438 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $liveBroadcasts = $youtubeService->liveBroadcasts; + * + */ +class Google_Service_YouTube_Resource_LiveBroadcasts extends Google_Service_Resource +{ + /** + * Binds a YouTube broadcast to a stream or removes an existing binding between + * a broadcast and a stream. A broadcast can only be bound to one video stream, + * though a video stream may be bound to more than one broadcast. + * (liveBroadcasts.bind) + * + * @param string $id The id parameter specifies the unique ID of the broadcast + * that is being bound to a video stream. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string streamId The streamId parameter specifies the unique ID of + * the video stream that is being bound to a broadcast. If this parameter is + * omitted, the API will remove any existing binding between the broadcast and a + * video stream. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function bind($id, $part, $optParams = array()) + { + $params = array('id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('bind', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + /** + * Controls the settings for a slate that can be displayed in the broadcast + * stream. (liveBroadcasts.control) + * + * @param string $id The id parameter specifies the YouTube live broadcast ID + * that uniquely identifies the broadcast in which the slate is being updated. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param bool displaySlate The displaySlate parameter specifies whether the + * slate is being enabled or disabled. + * @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a + * positive time offset when the specified slate change will occur. The value is + * measured in milliseconds from the beginning of the broadcast's monitor + * stream, which is the time that the testing phase for the broadcast began. + * Even though it is specified in milliseconds, the value is actually an + * approximation, and YouTube completes the requested action as closely as + * possible to that time. + * + * If you do not specify a value for this parameter, then YouTube performs the + * action as soon as possible. See the Getting started guide for more details. + * + * Important: You should only specify a value for this parameter if your + * broadcast stream is delayed. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string walltime The walltime parameter specifies the wall clock + * time at which the specified slate change will occur. The value is specified + * in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function control($id, $part, $optParams = array()) + { + $params = array('id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('control', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + /** + * Deletes a broadcast. (liveBroadcasts.delete) + * + * @param string $id The id parameter specifies the YouTube live broadcast ID + * for the resource that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a broadcast. (liveBroadcasts.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param Google_Service_YouTube_LiveBroadcast $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function insert($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + /** + * Returns a list of YouTube broadcasts that match the API request parameters. + * (liveBroadcasts.listLiveBroadcasts) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string broadcastStatus The broadcastStatus parameter filters the + * API response to only include broadcasts with the specified status. + * @opt_param string broadcastType The broadcastType parameter filters the API + * response to only include broadcasts with the specified type. This is only + * compatible with the mine filter for now. + * @opt_param string id The id parameter specifies a comma-separated list of + * YouTube broadcast IDs that identify the broadcasts being retrieved. In a + * liveBroadcast resource, the id property specifies the broadcast's ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine The mine parameter can be used to instruct the API to + * only return broadcasts owned by the authenticated user. Set the parameter + * value to true to only retrieve your own broadcasts. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_LiveBroadcastListResponse + */ + public function listLiveBroadcasts($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveBroadcastListResponse"); + } + /** + * Changes the status of a YouTube live broadcast and initiates any processes + * associated with the new status. For example, when you transition a + * broadcast's status to testing, YouTube starts to transmit video to that + * broadcast's monitor stream. Before calling this method, you should confirm + * that the value of the status.streamStatus property for the stream bound to + * your broadcast is active. (liveBroadcasts.transition) + * + * @param string $broadcastStatus The broadcastStatus parameter identifies the + * state to which the broadcast is changing. Note that to transition a broadcast + * to either the testing or live state, the status.streamStatus must be active + * for the stream that the broadcast is bound to. + * @param string $id The id parameter specifies the unique ID of the broadcast + * that is transitioning to another status. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function transition($broadcastStatus, $id, $part, $optParams = array()) + { + $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('transition', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + /** + * Updates a broadcast. For example, you could modify the broadcast settings + * defined in the liveBroadcast resource's contentDetails object. + * (liveBroadcasts.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a broadcast's privacy status is defined in the status + * part. As such, if your request is updating a private or unlisted broadcast, + * and the request's part parameter value includes the status part, the + * broadcast's privacy setting will be updated to whatever value the request + * body specifies. If the request body does not specify a value, the existing + * privacy setting will be removed and the broadcast will revert to the default + * privacy setting. + * @param Google_Service_YouTube_LiveBroadcast $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function update($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_LiveBroadcast"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php new file mode 100644 index 00000000..629393a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatBans.php @@ -0,0 +1,57 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $liveChatBans = $youtubeService->liveChatBans; + * + */ +class Google_Service_YouTube_Resource_LiveChatBans extends Google_Service_Resource +{ + /** + * Removes a chat ban. (liveChatBans.delete) + * + * @param string $id The id parameter identifies the chat ban to remove. The + * value uniquely identifies both the ban and the chat. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a new ban to the chat. (liveChatBans.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response returns. Set the parameter value to snippet. + * @param Google_Service_YouTube_LiveChatBan $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_LiveChatBan + */ + public function insert($part, Google_Service_YouTube_LiveChatBan $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatBan"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php new file mode 100644 index 00000000..46033d51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatMessages.php @@ -0,0 +1,93 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $liveChatMessages = $youtubeService->liveChatMessages; + * + */ +class Google_Service_YouTube_Resource_LiveChatMessages extends Google_Service_Resource +{ + /** + * Deletes a chat message. (liveChatMessages.delete) + * + * @param string $id The id parameter specifies the YouTube chat message ID of + * the resource that is being deleted. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a message to a live chat. (liveChatMessages.insert) + * + * @param string $part The part parameter serves two purposes. It identifies the + * properties that the write operation will set as well as the properties that + * the API response will include. Set the parameter value to snippet. + * @param Google_Service_YouTube_LiveChatMessage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_LiveChatMessage + */ + public function insert($part, Google_Service_YouTube_LiveChatMessage $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatMessage"); + } + /** + * Lists live chat messages for a specific chat. + * (liveChatMessages.listLiveChatMessages) + * + * @param string $liveChatId The liveChatId parameter specifies the ID of the + * chat whose messages will be returned. + * @param string $part The part parameter specifies the liveChatComment resource + * parts that the API response will include. Supported values are id and + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter instructs the API to retrieve localized + * resource metadata for a specific application language that the YouTube + * website supports. The parameter value must be a language code included in the + * list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's + * snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will + * contain resource details in the resource's default language. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of messages that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identify other pages that could be retrieved. + * @opt_param string profileImageSize The profileImageSize parameter specifies + * the size of the user profile pictures that should be returned in the result + * set. Default: 88. + * @return Google_Service_YouTube_LiveChatMessageListResponse + */ + public function listLiveChatMessages($liveChatId, $part, $optParams = array()) + { + $params = array('liveChatId' => $liveChatId, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveChatMessageListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php new file mode 100644 index 00000000..e9bd09f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveChatModerators.php @@ -0,0 +1,81 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $liveChatModerators = $youtubeService->liveChatModerators; + * + */ +class Google_Service_YouTube_Resource_LiveChatModerators extends Google_Service_Resource +{ + /** + * Removes a chat moderator. (liveChatModerators.delete) + * + * @param string $id The id parameter identifies the chat moderator to remove. + * The value uniquely identifies both the moderator and the chat. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a new moderator for the chat. (liveChatModerators.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response returns. Set the parameter value to snippet. + * @param Google_Service_YouTube_LiveChatModerator $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_LiveChatModerator + */ + public function insert($part, Google_Service_YouTube_LiveChatModerator $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatModerator"); + } + /** + * Lists moderators for a live chat. (liveChatModerators.listLiveChatModerators) + * + * @param string $liveChatId The liveChatId parameter specifies the YouTube live + * chat for which the API should return moderators. + * @param string $part The part parameter specifies the liveChatModerator + * resource parts that the API response will include. Supported values are id + * and snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_LiveChatModeratorListResponse + */ + public function listLiveChatModerators($liveChatId, $part, $optParams = array()) + { + $params = array('liveChatId' => $liveChatId, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveChatModeratorListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php new file mode 100644 index 00000000..002da409 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/LiveStreams.php @@ -0,0 +1,244 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $liveStreams = $youtubeService->liveStreams; + * + */ +class Google_Service_YouTube_Resource_LiveStreams extends Google_Service_Resource +{ + /** + * Deletes a video stream. (liveStreams.delete) + * + * @param string $id The id parameter specifies the YouTube live stream ID for + * the resource that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a video stream. The stream enables you to send your video to YouTube, + * which can then broadcast the video to your audience. (liveStreams.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, cdn, and status. + * @param Google_Service_YouTube_LiveStream $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_LiveStream + */ + public function insert($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveStream"); + } + /** + * Returns a list of video streams that match the API request parameters. + * (liveStreams.listLiveStreams) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveStream resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, cdn, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string id The id parameter specifies a comma-separated list of + * YouTube stream IDs that identify the streams being retrieved. In a liveStream + * resource, the id property specifies the stream's ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine The mine parameter can be used to instruct the API to + * only return streams owned by the authenticated user. Set the parameter value + * to true to only retrieve your own streams. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_LiveStreamListResponse + */ + public function listLiveStreams($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveStreamListResponse"); + } + /** + * Updates a video stream. If the properties that you want to change cannot be + * updated, then you need to create a new stream with the proper settings. + * (liveStreams.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, cdn, and status. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. If the request body does not specify a value for a mutable + * property, the existing value for that property will be removed. + * @param Google_Service_YouTube_LiveStream $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_LiveStream + */ + public function update($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_LiveStream"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php new file mode 100644 index 00000000..1b2cc29d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php @@ -0,0 +1,178 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $playlistItems = $youtubeService->playlistItems; + * + */ +class Google_Service_YouTube_Resource_PlaylistItems extends Google_Service_Resource +{ + /** + * Deletes a playlist item. (playlistItems.delete) + * + * @param string $id The id parameter specifies the YouTube playlist item ID for + * the playlist item that is being deleted. In a playlistItem resource, the id + * property specifies the playlist item's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a resource to a playlist. (playlistItems.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Service_YouTube_PlaylistItem $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_PlaylistItem + */ + public function insert($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_PlaylistItem"); + } + /** + * Returns a collection of playlist items that match the API request parameters. + * You can retrieve all of the playlist items in a specified playlist or + * retrieve one or more playlist items by their unique IDs. + * (playlistItems.listPlaylistItems) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more playlistItem resource properties that the API response will + * include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * playlistItem resource, the snippet property contains numerous fields, + * including the title, description, position, and resourceId properties. As + * such, if you set part=snippet, the API response will contain all of those + * properties. + * @param array $optParams Optional parameters. + * + * @opt_param string id The id parameter specifies a comma-separated list of one + * or more unique playlist item IDs. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string playlistId The playlistId parameter specifies the unique ID + * of the playlist for which you want to retrieve playlist items. Note that even + * though this is an optional parameter, every request to retrieve playlist + * items must specify a value for either the id parameter or the playlistId + * parameter. + * @opt_param string videoId The videoId parameter specifies that the request + * should return only the playlist items that contain the specified video. + * @return Google_Service_YouTube_PlaylistItemListResponse + */ + public function listPlaylistItems($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_PlaylistItemListResponse"); + } + /** + * Modifies a playlist item. For example, you could update the item's position + * in the playlist. (playlistItems.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a playlist item can specify a start time and end + * time, which identify the times portion of the video that should play when + * users watch the video in the playlist. If your request is updating a playlist + * item that sets these values, and the request's part parameter value includes + * the contentDetails part, the playlist item's start and end times will be + * updated to whatever value the request body specifies. If the request body + * does not specify values, the existing start and end times will be removed and + * replaced with the default settings. + * @param Google_Service_YouTube_PlaylistItem $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_PlaylistItem + */ + public function update($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_PlaylistItem"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php new file mode 100644 index 00000000..cba9b15a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Playlists.php @@ -0,0 +1,211 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $playlists = $youtubeService->playlists; + * + */ +class Google_Service_YouTube_Resource_Playlists extends Google_Service_Resource +{ + /** + * Deletes a playlist. (playlists.delete) + * + * @param string $id The id parameter specifies the YouTube playlist ID for the + * playlist that is being deleted. In a playlist resource, the id property + * specifies the playlist's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a playlist. (playlists.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Service_YouTube_Playlist $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @return Google_Service_YouTube_Playlist + */ + public function insert($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Playlist"); + } + /** + * Returns a collection of playlists that match the API request parameters. For + * example, you can retrieve all playlists that the authenticated user owns, or + * you can retrieve one or more playlists by their unique IDs. + * (playlists.listPlaylists) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more playlist resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a playlist + * resource, the snippet property contains properties like author, title, + * description, tags, and timeCreated. As such, if you set part=snippet, the API + * response will contain all of those properties. + * @param array $optParams Optional parameters. + * + * @opt_param string channelId This value indicates that the API should only + * return the specified channel's playlists. + * @opt_param string hl The hl parameter should be used for filter out the + * properties that are not in the given language. Used for the snippet part. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube playlist ID(s) for the resource(s) that are being retrieved. In a + * playlist resource, the id property specifies the playlist's YouTube playlist + * ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return playlists owned by the authenticated user. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_PlaylistListResponse + */ + public function listPlaylists($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_PlaylistListResponse"); + } + /** + * Modifies a playlist. For example, you could change a playlist's title, + * description, or privacy status. (playlists.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for mutable + * properties that are contained in any parts that the request body specifies. + * For example, a playlist's description is contained in the snippet part, which + * must be included in the request body. If the request does not specify a value + * for the snippet.description property, the playlist's existing description + * will be deleted. + * @param Google_Service_YouTube_Playlist $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_Playlist + */ + public function update($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Playlist"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php new file mode 100644 index 00000000..aa7dd4de --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Search.php @@ -0,0 +1,185 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $search = $youtubeService->search; + * + */ +class Google_Service_YouTube_Resource_Search extends Google_Service_Resource +{ + /** + * Returns a collection of search results that match the query parameters + * specified in the API request. By default, a search result set identifies + * matching video, channel, and playlist resources, but you can also configure + * queries to only retrieve a specific type of resource. (search.listSearch) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more search resource properties that the API response will include. + * Set the parameter value to snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string channelId The channelId parameter indicates that the API + * response should only contain resources created by the channel + * @opt_param string channelType The channelType parameter lets you restrict a + * search to a particular type of channel. + * @opt_param string eventType The eventType parameter restricts a search to + * broadcast events. If you specify a value for this parameter, you must also + * set the type parameter's value to video. + * @opt_param bool forContentOwner Note: This parameter is intended exclusively + * for YouTube content partners. + * + * The forContentOwner parameter restricts the search to only retrieve resources + * owned by the content owner specified by the onBehalfOfContentOwner parameter. + * The user must be authenticated using a CMS account linked to the specified + * content owner and onBehalfOfContentOwner must be provided. + * @opt_param bool forDeveloper The forDeveloper parameter restricts the search + * to only retrieve videos uploaded via the developer's application or website. + * The API server uses the request's authorization credentials to identify the + * developer. Therefore, a developer can restrict results to videos uploaded + * through the developer's own app or website but not to videos uploaded through + * other apps or sites. + * @opt_param bool forMine The forMine parameter restricts the search to only + * retrieve videos owned by the authenticated user. If you set this parameter to + * true, then the type parameter's value must also be set to video. + * @opt_param string location The location parameter, in conjunction with the + * locationRadius parameter, defines a circular geographic area and also + * restricts a search to videos that specify, in their metadata, a geographic + * location that falls within that area. The parameter value is a string that + * specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). + * + * - The location parameter value identifies the point at the center of the + * area. - The locationRadius parameter specifies the maximum distance that the + * location associated with a video can be from that point for the video to + * still be included in the search results.The API returns an error if your + * request specifies a value for the location parameter but does not also + * specify a value for the locationRadius parameter. + * @opt_param string locationRadius The locationRadius parameter, in conjunction + * with the location parameter, defines a circular geographic area. + * + * The parameter value must be a floating point number followed by a measurement + * unit. Valid measurement units are m, km, ft, and mi. For example, valid + * parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not + * support locationRadius parameter values larger than 1000 kilometers. + * + * Note: See the definition of the location parameter for more information. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string order The order parameter specifies the method that will be + * used to order resources in the API response. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string publishedAfter The publishedAfter parameter indicates that + * the API response should only contain resources created after the specified + * time. The value is an RFC 3339 formatted date-time value + * (1970-01-01T00:00:00Z). + * @opt_param string publishedBefore The publishedBefore parameter indicates + * that the API response should only contain resources created before the + * specified time. The value is an RFC 3339 formatted date-time value + * (1970-01-01T00:00:00Z). + * @opt_param string q The q parameter specifies the query term to search for. + * + * Your request can also use the Boolean NOT (-) and OR (|) operators to exclude + * videos or to find videos that are associated with one of several search + * terms. For example, to search for videos matching either "boating" or + * "sailing", set the q parameter value to boating|sailing. Similarly, to search + * for videos matching either "boating" or "sailing" but not "fishing", set the + * q parameter value to boating|sailing -fishing. Note that the pipe character + * must be URL-escaped when it is sent in your API request. The URL-escaped + * value for the pipe character is %7C. + * @opt_param string regionCode The regionCode parameter instructs the API to + * return search results for the specified country. The parameter value is an + * ISO 3166-1 alpha-2 country code. + * @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a + * list of videos that are related to the video that the parameter value + * identifies. The parameter value must be set to a YouTube video ID and, if you + * are using this parameter, the type parameter must be set to video. + * @opt_param string relevanceLanguage The relevanceLanguage parameter instructs + * the API to return search results that are most relevant to the specified + * language. The parameter value is typically an ISO 639-1 two-letter language + * code. However, you should use the values zh-Hans for simplified Chinese and + * zh-Hant for traditional Chinese. Please note that results in other languages + * will still be returned if they are highly relevant to the search query term. + * @opt_param string safeSearch The safeSearch parameter indicates whether the + * search results should include restricted content as well as standard content. + * @opt_param string topicId The topicId parameter indicates that the API + * response should only contain resources associated with the specified topic. + * The value identifies a Freebase topic ID. + * @opt_param string type The type parameter restricts a search query to only + * retrieve a particular type of resource. The value is a comma-separated list + * of resource types. + * @opt_param string videoCaption The videoCaption parameter indicates whether + * the API should filter video search results based on whether they have + * captions. If you specify a value for this parameter, you must also set the + * type parameter's value to video. + * @opt_param string videoCategoryId The videoCategoryId parameter filters video + * search results based on their category. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @opt_param string videoDefinition The videoDefinition parameter lets you + * restrict a search to only include either high definition (HD) or standard + * definition (SD) videos. HD videos are available for playback in at least + * 720p, though higher resolutions, like 1080p, might also be available. If you + * specify a value for this parameter, you must also set the type parameter's + * value to video. + * @opt_param string videoDimension The videoDimension parameter lets you + * restrict a search to only retrieve 2D or 3D videos. If you specify a value + * for this parameter, you must also set the type parameter's value to video. + * @opt_param string videoDuration The videoDuration parameter filters video + * search results based on their duration. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to + * restrict a search to only videos that can be embedded into a webpage. If you + * specify a value for this parameter, you must also set the type parameter's + * value to video. + * @opt_param string videoLicense The videoLicense parameter filters search + * results to only include videos with a particular license. YouTube lets video + * uploaders choose to attach either the Creative Commons license or the + * standard YouTube license to each of their videos. If you specify a value for + * this parameter, you must also set the type parameter's value to video. + * @opt_param string videoSyndicated The videoSyndicated parameter lets you to + * restrict a search to only videos that can be played outside youtube.com. If + * you specify a value for this parameter, you must also set the type + * parameter's value to video. + * @opt_param string videoType The videoType parameter lets you restrict a + * search to a particular type of videos. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @return Google_Service_YouTube_SearchListResponse + */ + public function listSearch($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SearchListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php new file mode 100644 index 00000000..50590de3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Sponsors.php @@ -0,0 +1,51 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $sponsors = $youtubeService->sponsors; + * + */ +class Google_Service_YouTube_Resource_Sponsors extends Google_Service_Resource +{ + /** + * Lists sponsors for a channel. (sponsors.listSponsors) + * + * @param string $part The part parameter specifies the sponsor resource parts + * that the API response will include. Supported values are id and snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The filter parameter specifies which channel + * sponsors to return. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_SponsorListResponse + */ + public function listSponsors($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SponsorListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php new file mode 100644 index 00000000..712ad99b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Subscriptions.php @@ -0,0 +1,136 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $subscriptions = $youtubeService->subscriptions; + * + */ +class Google_Service_YouTube_Resource_Subscriptions extends Google_Service_Resource +{ + /** + * Deletes a subscription. (subscriptions.delete) + * + * @param string $id The id parameter specifies the YouTube subscription ID for + * the resource that is being deleted. In a subscription resource, the id + * property specifies the YouTube subscription ID. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Adds a subscription for the authenticated user's channel. + * (subscriptions.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Service_YouTube_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Subscription + */ + public function insert($part, Google_Service_YouTube_Subscription $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Subscription"); + } + /** + * Returns subscription resources that match the API request criteria. + * (subscriptions.listSubscriptions) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more subscription resource properties that the API response will + * include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * subscription resource, the snippet property contains other properties, such + * as a display title for the subscription. If you set part=snippet, the API + * response will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string channelId The channelId parameter specifies a YouTube + * channel ID. The API will only return that channel's subscriptions. + * @opt_param string forChannelId The forChannelId parameter specifies a comma- + * separated list of channel IDs. The API response will then only contain + * subscriptions matching those channels. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube subscription ID(s) for the resource(s) that are being retrieved. In a + * subscription resource, the id property specifies the YouTube subscription ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's subscriptions. + * @opt_param bool myRecentSubscribers Set this parameter's value to true to + * retrieve a feed of the subscribers of the authenticated user in reverse + * chronological order (newest first). + * @opt_param bool mySubscribers Set this parameter's value to true to retrieve + * a feed of the subscribers of the authenticated user in no particular order. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string order The order parameter specifies the method that will be + * used to sort resources in the API response. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_SubscriptionListResponse + */ + public function listSubscriptions($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SubscriptionListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php new file mode 100644 index 00000000..1e796c30 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/SuperChatEvents.php @@ -0,0 +1,59 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $superChatEvents = $youtubeService->superChatEvents; + * + */ +class Google_Service_YouTube_Resource_SuperChatEvents extends Google_Service_Resource +{ + /** + * Lists Super Chat events for a channel. (superChatEvents.listSuperChatEvents) + * + * @param string $part The part parameter specifies the superChatEvent resource + * parts that the API response will include. Supported values are id and + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter instructs the API to retrieve localized + * resource metadata for a specific application language that the YouTube + * website supports. The parameter value must be a language code included in the + * list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's + * snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will + * contain resource details in the resource's default language. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @return Google_Service_YouTube_SuperChatEventListResponse + */ + public function listSuperChatEvents($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SuperChatEventListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php new file mode 100644 index 00000000..774ca9da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Thumbnails.php @@ -0,0 +1,56 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $thumbnails = $youtubeService->thumbnails; + * + */ +class Google_Service_YouTube_Resource_Thumbnails extends Google_Service_Resource +{ + /** + * Uploads a custom video thumbnail to YouTube and sets it for a video. + * (thumbnails.set) + * + * @param string $videoId The videoId parameter specifies a YouTube video ID for + * which the custom video thumbnail is being provided. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_ThumbnailSetResponse + */ + public function set($videoId, $optParams = array()) + { + $params = array('videoId' => $videoId); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_YouTube_ThumbnailSetResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php new file mode 100644 index 00000000..234c1122 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php @@ -0,0 +1,47 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons; + * + */ +class Google_Service_YouTube_Resource_VideoAbuseReportReasons extends Google_Service_Resource +{ + /** + * Returns a list of abuse reasons that can be used for reporting abusive + * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons) + * + * @param string $part The part parameter specifies the videoCategory resource + * parts that the API response will include. Supported values are id and + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse + */ + public function listVideoAbuseReportReasons($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php new file mode 100644 index 00000000..fe46542a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoCategories.php @@ -0,0 +1,52 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $videoCategories = $youtubeService->videoCategories; + * + */ +class Google_Service_YouTube_Resource_VideoCategories extends Google_Service_Resource +{ + /** + * Returns a list of categories that can be associated with YouTube videos. + * (videoCategories.listVideoCategories) + * + * @param string $part The part parameter specifies the videoCategory resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @opt_param string id The id parameter specifies a comma-separated list of + * video category IDs for the resources that you are retrieving. + * @opt_param string regionCode The regionCode parameter instructs the API to + * return the list of video categories available in the specified country. The + * parameter value is an ISO 3166-1 alpha-2 country code. + * @return Google_Service_YouTube_VideoCategoryListResponse + */ + public function listVideoCategories($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoCategoryListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php new file mode 100644 index 00000000..69b02890 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Videos.php @@ -0,0 +1,315 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $videos = $youtubeService->videos; + * + */ +class Google_Service_YouTube_Resource_Videos extends Google_Service_Resource +{ + /** + * Deletes a YouTube video. (videos.delete) + * + * @param string $id The id parameter specifies the YouTube video ID for the + * resource that is being deleted. In a video resource, the id property + * specifies the video's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Retrieves the ratings that the authorized user gave to a list of specified + * videos. (videos.getRating) + * + * @param string $id The id parameter specifies a comma-separated list of the + * YouTube video ID(s) for the resource(s) for which you are retrieving rating + * data. In a video resource, the id property specifies the video's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_VideoGetRatingResponse + */ + public function getRating($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('getRating', array($params), "Google_Service_YouTube_VideoGetRatingResponse"); + } + /** + * Uploads a video to YouTube and optionally sets the video's metadata. + * (videos.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that not all parts contain properties that can be set when inserting or + * updating a video. For example, the statistics object encapsulates statistics + * that YouTube calculates for a video and does not contain values that you can + * set or modify. If the parameter value specifies a part that does not contain + * mutable values, that part will still be included in the API response. + * @param Google_Service_YouTube_Video $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube + * should automatically enhance the video's lighting and color. + * @opt_param bool notifySubscribers The notifySubscribers parameter indicates + * whether YouTube should send a notification about the new video to users who + * subscribe to the video's channel. A parameter value of True indicates that + * subscribers will be notified of newly uploaded videos. However, a channel + * owner who is uploading many videos might prefer to set the value to False to + * avoid sending a notification about each new video to the channel's + * subscribers. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param bool stabilize The stabilize parameter indicates whether YouTube + * should adjust the video to remove shaky camera motions. + * @return Google_Service_YouTube_Video + */ + public function insert($part, Google_Service_YouTube_Video $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Video"); + } + /** + * Returns a list of videos that match the API request parameters. + * (videos.listVideos) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more video resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a video + * resource, the snippet property contains the channelId, title, description, + * tags, and categoryId properties. As such, if you set part=snippet, the API + * response will contain all of those properties. + * @param array $optParams Optional parameters. + * + * @opt_param string chart The chart parameter identifies the chart that you + * want to retrieve. + * @opt_param string hl The hl parameter instructs the API to retrieve localized + * resource metadata for a specific application language that the YouTube + * website supports. The parameter value must be a language code included in the + * list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's + * snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will + * contain resource details in the resource's default language. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube video ID(s) for the resource(s) that are being retrieved. In a video + * resource, the id property specifies the video's ID. + * @opt_param string locale DEPRECATED + * @opt_param string maxHeight The maxHeight parameter specifies a maximum + * height of the embedded player. If maxWidth is provided, maxHeight may not be + * reached in order to not violate the width request. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is supported for use in conjunction with the myRating + * and chart parameters, but it is not supported for use in conjunction with the + * id parameter. + * @opt_param string maxWidth The maxWidth parameter specifies a maximum width + * of the embedded player. If maxHeight is provided, maxWidth may not be reached + * in order to not violate the height request. + * @opt_param string myRating Set this parameter's value to like or dislike to + * instruct the API to only return videos liked or disliked by the authenticated + * user. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * + * Note: This parameter is supported for use in conjunction with the myRating + * and chart parameters, but it is not supported for use in conjunction with the + * id parameter. + * @opt_param string regionCode The regionCode parameter instructs the API to + * select a video chart available in the specified region. This parameter can + * only be used in conjunction with the chart parameter. The parameter value is + * an ISO 3166-1 alpha-2 country code. + * @opt_param string videoCategoryId The videoCategoryId parameter identifies + * the video category for which the chart should be retrieved. This parameter + * can only be used in conjunction with the chart parameter. By default, charts + * are not restricted to a particular category. + * @return Google_Service_YouTube_VideoListResponse + */ + public function listVideos($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoListResponse"); + } + /** + * Add a like or dislike rating to a video or remove a rating from a video. + * (videos.rate) + * + * @param string $id The id parameter specifies the YouTube video ID of the + * video that is being rated or having its rating removed. + * @param string $rating Specifies the rating to record. + * @param array $optParams Optional parameters. + */ + public function rate($id, $rating, $optParams = array()) + { + $params = array('id' => $id, 'rating' => $rating); + $params = array_merge($params, $optParams); + return $this->call('rate', array($params)); + } + /** + * Report abuse for a video. (videos.reportAbuse) + * + * @param Google_Service_YouTube_VideoAbuseReport $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportAbuse', array($params)); + } + /** + * Updates a video's metadata. (videos.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a video's privacy setting is contained in the status + * part. As such, if your request is updating a private video, and the request's + * part parameter value includes the status part, the video's privacy setting + * will be updated to whatever value the request body specifies. If the request + * body does not specify a value, the existing privacy setting will be removed + * and the video will revert to the default privacy setting. + * + * In addition, not all parts contain properties that can be set when inserting + * or updating a video. For example, the statistics object encapsulates + * statistics that YouTube calculates for a video and does not contain values + * that you can set or modify. If the parameter value specifies a part that does + * not contain mutable values, that part will still be included in the API + * response. + * @param Google_Service_YouTube_Video $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_Video + */ + public function update($part, Google_Service_YouTube_Video $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Video"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php new file mode 100644 index 00000000..2f7735ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Resource/Watermarks.php @@ -0,0 +1,82 @@ + + * $youtubeService = new Google_Service_YouTube(...); + * $watermarks = $youtubeService->watermarks; + * + */ +class Google_Service_YouTube_Resource_Watermarks extends Google_Service_Resource +{ + /** + * Uploads a watermark image to YouTube and sets it for a channel. + * (watermarks.set) + * + * @param string $channelId The channelId parameter specifies the YouTube + * channel ID for which the watermark is being provided. + * @param Google_Service_YouTube_InvideoBranding $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function set($channelId, Google_Service_YouTube_InvideoBranding $postBody, $optParams = array()) + { + $params = array('channelId' => $channelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params)); + } + /** + * Deletes a channel's watermark image. (watermarks.unsetWatermarks) + * + * @param string $channelId The channelId parameter specifies the YouTube + * channel ID for which the watermark is being unset. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function unsetWatermarks($channelId, $optParams = array()) + { + $params = array('channelId' => $channelId); + $params = array_merge($params, $optParams); + return $this->call('unset', array($params)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php new file mode 100644 index 00000000..0e924c88 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ResourceId.php @@ -0,0 +1,57 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlaylistId($playlistId) + { + $this->playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php new file mode 100644 index 00000000..61a69ed2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchListResponse.php @@ -0,0 +1,115 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php new file mode 100644 index 00000000..35e8a2b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResult.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId(Google_Service_YouTube_ResourceId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SearchResultSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php new file mode 100644 index 00000000..f40562e4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SearchResultSnippet.php @@ -0,0 +1,85 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLiveBroadcastContent($liveBroadcastContent) + { + $this->liveBroadcastContent = $liveBroadcastContent; + } + public function getLiveBroadcastContent() + { + return $this->liveBroadcastContent; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php new file mode 100644 index 00000000..7c91fd2d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Sponsor.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SponsorSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php new file mode 100644 index 00000000..f85333f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorListResponse.php @@ -0,0 +1,97 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php new file mode 100644 index 00000000..3cbdfd56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SponsorSnippet.php @@ -0,0 +1,49 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setSponsorDetails(Google_Service_YouTube_ChannelProfileDetails $sponsorDetails) + { + $this->sponsorDetails = $sponsorDetails; + } + public function getSponsorDetails() + { + return $this->sponsorDetails; + } + public function setSponsorSince($sponsorSince) + { + $this->sponsorSince = $sponsorSince; + } + public function getSponsorSince() + { + return $this->sponsorSince; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php new file mode 100644 index 00000000..6a299f57 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Subscription.php @@ -0,0 +1,78 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SubscriptionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setSubscriberSnippet(Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet) + { + $this->subscriberSnippet = $subscriberSnippet; + } + public function getSubscriberSnippet() + { + return $this->subscriberSnippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php new file mode 100644 index 00000000..09d5d830 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionContentDetails.php @@ -0,0 +1,48 @@ +activityType = $activityType; + } + public function getActivityType() + { + return $this->activityType; + } + public function setNewItemCount($newItemCount) + { + $this->newItemCount = $newItemCount; + } + public function getNewItemCount() + { + return $this->newItemCount; + } + public function setTotalItemCount($totalItemCount) + { + $this->totalItemCount = $totalItemCount; + } + public function getTotalItemCount() + { + return $this->totalItemCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php new file mode 100644 index 00000000..83af0cae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php new file mode 100644 index 00000000..87981a18 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSnippet.php @@ -0,0 +1,86 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php new file mode 100644 index 00000000..131f6901 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SubscriptionSubscriberSnippet.php @@ -0,0 +1,58 @@ +channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php new file mode 100644 index 00000000..efba5c14 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEvent.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SuperChatEventSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php new file mode 100644 index 00000000..b5119dab --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventListResponse.php @@ -0,0 +1,97 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php new file mode 100644 index 00000000..466aec3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/SuperChatEventSnippet.php @@ -0,0 +1,94 @@ +amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setCommentText($commentText) + { + $this->commentText = $commentText; + } + public function getCommentText() + { + return $this->commentText; + } + public function setCreatedAt($createdAt) + { + $this->createdAt = $createdAt; + } + public function getCreatedAt() + { + return $this->createdAt; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setDisplayString($displayString) + { + $this->displayString = $displayString; + } + public function getDisplayString() + { + return $this->displayString; + } + public function setMessageType($messageType) + { + $this->messageType = $messageType; + } + public function getMessageType() + { + return $this->messageType; + } + public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails) + { + $this->supporterDetails = $supporterDetails; + } + public function getSupporterDetails() + { + return $this->supporterDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php new file mode 100644 index 00000000..ce02b03e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/Thumbnail.php @@ -0,0 +1,48 @@ +height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php new file mode 100644 index 00000000..2c391af5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailDetails.php @@ -0,0 +1,71 @@ +default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setHigh(Google_Service_YouTube_Thumbnail $high) + { + $this->high = $high; + } + public function getHigh() + { + return $this->high; + } + public function setMaxres(Google_Service_YouTube_Thumbnail $maxres) + { + $this->maxres = $maxres; + } + public function getMaxres() + { + return $this->maxres; + } + public function setMedium(Google_Service_YouTube_Thumbnail $medium) + { + $this->medium = $medium; + } + public function getMedium() + { + return $this->medium; + } + public function setStandard(Google_Service_YouTube_Thumbnail $standard) + { + $this->standard = $standard; + } + public function getStandard() + { + return $this->standard; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php new file mode 100644 index 00000000..0c7893a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/ThumbnailSetResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php new file mode 100644 index 00000000..ead77041 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/TokenPagination.php @@ -0,0 +1,20 @@ +ageGating = $ageGating; + } + public function getAgeGating() + { + return $this->ageGating; + } + public function setContentDetails(Google_Service_YouTube_VideoContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileDetails(Google_Service_YouTube_VideoFileDetails $fileDetails) + { + $this->fileDetails = $fileDetails; + } + public function getFileDetails() + { + return $this->fileDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLiveStreamingDetails(Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails) + { + $this->liveStreamingDetails = $liveStreamingDetails; + } + public function getLiveStreamingDetails() + { + return $this->liveStreamingDetails; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setMonetizationDetails(Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails) + { + $this->monetizationDetails = $monetizationDetails; + } + public function getMonetizationDetails() + { + return $this->monetizationDetails; + } + public function setPlayer(Google_Service_YouTube_VideoPlayer $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setProcessingDetails(Google_Service_YouTube_VideoProcessingDetails $processingDetails) + { + $this->processingDetails = $processingDetails; + } + public function getProcessingDetails() + { + return $this->processingDetails; + } + public function setProjectDetails(Google_Service_YouTube_VideoProjectDetails $projectDetails) + { + $this->projectDetails = $projectDetails; + } + public function getProjectDetails() + { + return $this->projectDetails; + } + public function setRecordingDetails(Google_Service_YouTube_VideoRecordingDetails $recordingDetails) + { + $this->recordingDetails = $recordingDetails; + } + public function getRecordingDetails() + { + return $this->recordingDetails; + } + public function setSnippet(Google_Service_YouTube_VideoSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_VideoStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_VideoStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSuggestions(Google_Service_YouTube_VideoSuggestions $suggestions) + { + $this->suggestions = $suggestions; + } + public function getSuggestions() + { + return $this->suggestions; + } + public function setTopicDetails(Google_Service_YouTube_VideoTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php new file mode 100644 index 00000000..d8c36670 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReport.php @@ -0,0 +1,66 @@ +comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setReasonId($reasonId) + { + $this->reasonId = $reasonId; + } + public function getReasonId() + { + return $this->reasonId; + } + public function setSecondaryReasonId($secondaryReasonId) + { + $this->secondaryReasonId = $secondaryReasonId; + } + public function getSecondaryReasonId() + { + return $this->secondaryReasonId; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php new file mode 100644 index 00000000..50007d7c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReason.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php new file mode 100644 index 00000000..cb3b8acd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonListResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php new file mode 100644 index 00000000..ae0e2c0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportReasonSnippet.php @@ -0,0 +1,41 @@ +label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setSecondaryReasons($secondaryReasons) + { + $this->secondaryReasons = $secondaryReasons; + } + public function getSecondaryReasons() + { + return $this->secondaryReasons; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php new file mode 100644 index 00000000..03cff4ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAbuseReportSecondaryReason.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php new file mode 100644 index 00000000..51994787 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoAgeGating.php @@ -0,0 +1,48 @@ +alcoholContent = $alcoholContent; + } + public function getAlcoholContent() + { + return $this->alcoholContent; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setVideoGameRating($videoGameRating) + { + $this->videoGameRating = $videoGameRating; + } + public function getVideoGameRating() + { + return $this->videoGameRating; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php new file mode 100644 index 00000000..e909d75e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategory.php @@ -0,0 +1,58 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_VideoCategorySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php new file mode 100644 index 00000000..6759c9a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategoryListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php new file mode 100644 index 00000000..09452e13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoCategorySnippet.php @@ -0,0 +1,48 @@ +assignable = $assignable; + } + public function getAssignable() + { + return $this->assignable; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php new file mode 100644 index 00000000..52c0a1a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetails.php @@ -0,0 +1,114 @@ +caption = $caption; + } + public function getCaption() + { + return $this->caption; + } + public function setContentRating(Google_Service_YouTube_ContentRating $contentRating) + { + $this->contentRating = $contentRating; + } + public function getContentRating() + { + return $this->contentRating; + } + public function setCountryRestriction(Google_Service_YouTube_AccessPolicy $countryRestriction) + { + $this->countryRestriction = $countryRestriction; + } + public function getCountryRestriction() + { + return $this->countryRestriction; + } + public function setDefinition($definition) + { + $this->definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setHasCustomThumbnail($hasCustomThumbnail) + { + $this->hasCustomThumbnail = $hasCustomThumbnail; + } + public function getHasCustomThumbnail() + { + return $this->hasCustomThumbnail; + } + public function setLicensedContent($licensedContent) + { + $this->licensedContent = $licensedContent; + } + public function getLicensedContent() + { + return $this->licensedContent; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } + public function setRegionRestriction(Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction) + { + $this->regionRestriction = $regionRestriction; + } + public function getRegionRestriction() + { + return $this->regionRestriction; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php new file mode 100644 index 00000000..8a276d01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoContentDetailsRegionRestriction.php @@ -0,0 +1,40 @@ +allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setBlocked($blocked) + { + $this->blocked = $blocked; + } + public function getBlocked() + { + return $this->blocked; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php new file mode 100644 index 00000000..eb04edf2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetails.php @@ -0,0 +1,105 @@ +audioStreams = $audioStreams; + } + public function getAudioStreams() + { + return $this->audioStreams; + } + public function setBitrateBps($bitrateBps) + { + $this->bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setContainer($container) + { + $this->container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDurationMs($durationMs) + { + $this->durationMs = $durationMs; + } + public function getDurationMs() + { + return $this->durationMs; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setVideoStreams($videoStreams) + { + $this->videoStreams = $videoStreams; + } + public function getVideoStreams() + { + return $this->videoStreams; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php new file mode 100644 index 00000000..3220b52e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsAudioStream.php @@ -0,0 +1,57 @@ +bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setChannelCount($channelCount) + { + $this->channelCount = $channelCount; + } + public function getChannelCount() + { + return $this->channelCount; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setVendor($vendor) + { + $this->vendor = $vendor; + } + public function getVendor() + { + return $this->vendor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php new file mode 100644 index 00000000..89a88237 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoFileDetailsVideoStream.php @@ -0,0 +1,93 @@ +aspectRatio = $aspectRatio; + } + public function getAspectRatio() + { + return $this->aspectRatio; + } + public function setBitrateBps($bitrateBps) + { + $this->bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setFrameRateFps($frameRateFps) + { + $this->frameRateFps = $frameRateFps; + } + public function getFrameRateFps() + { + return $this->frameRateFps; + } + public function setHeightPixels($heightPixels) + { + $this->heightPixels = $heightPixels; + } + public function getHeightPixels() + { + return $this->heightPixels; + } + public function setRotation($rotation) + { + $this->rotation = $rotation; + } + public function getRotation() + { + return $this->rotation; + } + public function setVendor($vendor) + { + $this->vendor = $vendor; + } + public function getVendor() + { + return $this->vendor; + } + public function setWidthPixels($widthPixels) + { + $this->widthPixels = $widthPixels; + } + public function getWidthPixels() + { + return $this->widthPixels; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php new file mode 100644 index 00000000..d8d9f033 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoGetRatingResponse.php @@ -0,0 +1,68 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php new file mode 100644 index 00000000..2f1f4df0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoListResponse.php @@ -0,0 +1,106 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php new file mode 100644 index 00000000..14de20da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLiveStreamingDetails.php @@ -0,0 +1,75 @@ +activeLiveChatId = $activeLiveChatId; + } + public function getActiveLiveChatId() + { + return $this->activeLiveChatId; + } + public function setActualEndTime($actualEndTime) + { + $this->actualEndTime = $actualEndTime; + } + public function getActualEndTime() + { + return $this->actualEndTime; + } + public function setActualStartTime($actualStartTime) + { + $this->actualStartTime = $actualStartTime; + } + public function getActualStartTime() + { + return $this->actualStartTime; + } + public function setConcurrentViewers($concurrentViewers) + { + $this->concurrentViewers = $concurrentViewers; + } + public function getConcurrentViewers() + { + return $this->concurrentViewers; + } + public function setScheduledEndTime($scheduledEndTime) + { + $this->scheduledEndTime = $scheduledEndTime; + } + public function getScheduledEndTime() + { + return $this->scheduledEndTime; + } + public function setScheduledStartTime($scheduledStartTime) + { + $this->scheduledStartTime = $scheduledStartTime; + } + public function getScheduledStartTime() + { + return $this->scheduledStartTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php new file mode 100644 index 00000000..6947da5c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoLocalization.php @@ -0,0 +1,39 @@ +description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php new file mode 100644 index 00000000..8352fcb6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoMonetizationDetails.php @@ -0,0 +1,31 @@ +access = $access; + } + public function getAccess() + { + return $this->access; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php new file mode 100644 index 00000000..025dbadf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoPlayer.php @@ -0,0 +1,48 @@ +embedHeight = $embedHeight; + } + public function getEmbedHeight() + { + return $this->embedHeight; + } + public function setEmbedHtml($embedHtml) + { + $this->embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } + public function setEmbedWidth($embedWidth) + { + $this->embedWidth = $embedWidth; + } + public function getEmbedWidth() + { + return $this->embedWidth; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php new file mode 100644 index 00000000..1db7f2a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetails.php @@ -0,0 +1,94 @@ +editorSuggestionsAvailability = $editorSuggestionsAvailability; + } + public function getEditorSuggestionsAvailability() + { + return $this->editorSuggestionsAvailability; + } + public function setFileDetailsAvailability($fileDetailsAvailability) + { + $this->fileDetailsAvailability = $fileDetailsAvailability; + } + public function getFileDetailsAvailability() + { + return $this->fileDetailsAvailability; + } + public function setProcessingFailureReason($processingFailureReason) + { + $this->processingFailureReason = $processingFailureReason; + } + public function getProcessingFailureReason() + { + return $this->processingFailureReason; + } + public function setProcessingIssuesAvailability($processingIssuesAvailability) + { + $this->processingIssuesAvailability = $processingIssuesAvailability; + } + public function getProcessingIssuesAvailability() + { + return $this->processingIssuesAvailability; + } + public function setProcessingProgress(Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress) + { + $this->processingProgress = $processingProgress; + } + public function getProcessingProgress() + { + return $this->processingProgress; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setTagSuggestionsAvailability($tagSuggestionsAvailability) + { + $this->tagSuggestionsAvailability = $tagSuggestionsAvailability; + } + public function getTagSuggestionsAvailability() + { + return $this->tagSuggestionsAvailability; + } + public function setThumbnailsAvailability($thumbnailsAvailability) + { + $this->thumbnailsAvailability = $thumbnailsAvailability; + } + public function getThumbnailsAvailability() + { + return $this->thumbnailsAvailability; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php new file mode 100644 index 00000000..0a93151d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProcessingDetailsProcessingProgress.php @@ -0,0 +1,48 @@ +partsProcessed = $partsProcessed; + } + public function getPartsProcessed() + { + return $this->partsProcessed; + } + public function setPartsTotal($partsTotal) + { + $this->partsTotal = $partsTotal; + } + public function getPartsTotal() + { + return $this->partsTotal; + } + public function setTimeLeftMs($timeLeftMs) + { + $this->timeLeftMs = $timeLeftMs; + } + public function getTimeLeftMs() + { + return $this->timeLeftMs; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php new file mode 100644 index 00000000..22e5f1ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoProjectDetails.php @@ -0,0 +1,31 @@ +tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php new file mode 100644 index 00000000..b396f6b3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRating.php @@ -0,0 +1,39 @@ +rating = $rating; + } + public function getRating() + { + return $this->rating; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php new file mode 100644 index 00000000..eda99ea0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoRecordingDetails.php @@ -0,0 +1,49 @@ +location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLocationDescription($locationDescription) + { + $this->locationDescription = $locationDescription; + } + public function getLocationDescription() + { + return $this->locationDescription; + } + public function setRecordingDate($recordingDate) + { + $this->recordingDate = $recordingDate; + } + public function getRecordingDate() + { + return $this->recordingDate; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php new file mode 100644 index 00000000..67e33d45 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSnippet.php @@ -0,0 +1,132 @@ +categoryId = $categoryId; + } + public function getCategoryId() + { + return $this->categoryId; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDefaultAudioLanguage($defaultAudioLanguage) + { + $this->defaultAudioLanguage = $defaultAudioLanguage; + } + public function getDefaultAudioLanguage() + { + return $this->defaultAudioLanguage; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLiveBroadcastContent($liveBroadcastContent) + { + $this->liveBroadcastContent = $liveBroadcastContent; + } + public function getLiveBroadcastContent() + { + return $this->liveBroadcastContent; + } + public function setLocalized(Google_Service_YouTube_VideoLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php new file mode 100644 index 00000000..18c20900 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatistics.php @@ -0,0 +1,66 @@ +commentCount = $commentCount; + } + public function getCommentCount() + { + return $this->commentCount; + } + public function setDislikeCount($dislikeCount) + { + $this->dislikeCount = $dislikeCount; + } + public function getDislikeCount() + { + return $this->dislikeCount; + } + public function setFavoriteCount($favoriteCount) + { + $this->favoriteCount = $favoriteCount; + } + public function getFavoriteCount() + { + return $this->favoriteCount; + } + public function setLikeCount($likeCount) + { + $this->likeCount = $likeCount; + } + public function getLikeCount() + { + return $this->likeCount; + } + public function setViewCount($viewCount) + { + $this->viewCount = $viewCount; + } + public function getViewCount() + { + return $this->viewCount; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php new file mode 100644 index 00000000..d367f3c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoStatus.php @@ -0,0 +1,93 @@ +embeddable = $embeddable; + } + public function getEmbeddable() + { + return $this->embeddable; + } + public function setFailureReason($failureReason) + { + $this->failureReason = $failureReason; + } + public function getFailureReason() + { + return $this->failureReason; + } + public function setLicense($license) + { + $this->license = $license; + } + public function getLicense() + { + return $this->license; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } + public function setPublicStatsViewable($publicStatsViewable) + { + $this->publicStatsViewable = $publicStatsViewable; + } + public function getPublicStatsViewable() + { + return $this->publicStatsViewable; + } + public function setPublishAt($publishAt) + { + $this->publishAt = $publishAt; + } + public function getPublishAt() + { + return $this->publishAt; + } + public function setRejectionReason($rejectionReason) + { + $this->rejectionReason = $rejectionReason; + } + public function getRejectionReason() + { + return $this->rejectionReason; + } + public function setUploadStatus($uploadStatus) + { + $this->uploadStatus = $uploadStatus; + } + public function getUploadStatus() + { + return $this->uploadStatus; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php new file mode 100644 index 00000000..e2b96d8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestions.php @@ -0,0 +1,68 @@ +editorSuggestions = $editorSuggestions; + } + public function getEditorSuggestions() + { + return $this->editorSuggestions; + } + public function setProcessingErrors($processingErrors) + { + $this->processingErrors = $processingErrors; + } + public function getProcessingErrors() + { + return $this->processingErrors; + } + public function setProcessingHints($processingHints) + { + $this->processingHints = $processingHints; + } + public function getProcessingHints() + { + return $this->processingHints; + } + public function setProcessingWarnings($processingWarnings) + { + $this->processingWarnings = $processingWarnings; + } + public function getProcessingWarnings() + { + return $this->processingWarnings; + } + public function setTagSuggestions($tagSuggestions) + { + $this->tagSuggestions = $tagSuggestions; + } + public function getTagSuggestions() + { + return $this->tagSuggestions; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php new file mode 100644 index 00000000..fef8bfbd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoSuggestionsTagSuggestion.php @@ -0,0 +1,40 @@ +categoryRestricts = $categoryRestricts; + } + public function getCategoryRestricts() + { + return $this->categoryRestricts; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php new file mode 100644 index 00000000..f2f2fec0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/VideoTopicDetails.php @@ -0,0 +1,49 @@ +relevantTopicIds = $relevantTopicIds; + } + public function getRelevantTopicIds() + { + return $this->relevantTopicIds; + } + public function setTopicCategories($topicCategories) + { + $this->topicCategories = $topicCategories; + } + public function getTopicCategories() + { + return $this->topicCategories; + } + public function setTopicIds($topicIds) + { + $this->topicIds = $topicIds; + } + public function getTopicIds() + { + return $this->topicIds; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php new file mode 100644 index 00000000..bfc29521 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTube/WatchSettings.php @@ -0,0 +1,48 @@ +backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setFeaturedPlaylistId($featuredPlaylistId) + { + $this->featuredPlaylistId = $featuredPlaylistId; + } + public function getFeaturedPlaylistId() + { + return $this->featuredPlaylistId; + } + public function setTextColor($textColor) + { + $this->textColor = $textColor; + } + public function getTextColor() + { + return $this->textColor; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php new file mode 100644 index 00000000..9d30f156 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics.php @@ -0,0 +1,240 @@ + + * Retrieves your YouTube Analytics data.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_YouTubeAnalytics extends Google_Service +{ + /** Manage your YouTube account. */ + const YOUTUBE = + "https://www.googleapis.com/auth/youtube"; + /** View your YouTube account. */ + const YOUTUBE_READONLY = + "https://www.googleapis.com/auth/youtube.readonly"; + /** View and manage your assets and associated content on YouTube. */ + const YOUTUBEPARTNER = + "https://www.googleapis.com/auth/youtubepartner"; + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_MONETARY_READONLY = + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"; + /** View YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_READONLY = + "https://www.googleapis.com/auth/yt-analytics.readonly"; + + public $groupItems; + public $groups; + public $reports; + + /** + * Constructs the internal representation of the YouTubeAnalytics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'youtube/analytics/v1/'; + $this->version = 'v1'; + $this->serviceName = 'youtubeAnalytics'; + + $this->groupItems = new Google_Service_YouTubeAnalytics_Resource_GroupItems( + $this, + $this->serviceName, + 'groupItems', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groupItems', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'groupItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'groupItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_YouTubeAnalytics_Resource_Groups( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'groups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_YouTubeAnalytics_Resource_Reports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'query' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'include-historical-channel-data' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php new file mode 100644 index 00000000..d0193100 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReport.php @@ -0,0 +1,78 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } + public function setTimeSpan(Google_Service_YouTubeAnalytics_BatchReportTimeSpan $timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setTimeUpdated($timeUpdated) + { + $this->timeUpdated = $timeUpdated; + } + public function getTimeUpdated() + { + return $this->timeUpdated; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php new file mode 100644 index 00000000..233b2560 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinition.php @@ -0,0 +1,66 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php new file mode 100644 index 00000000..116f141b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportDefinitionList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php new file mode 100644 index 00000000..5119337b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportList.php @@ -0,0 +1,41 @@ +items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php new file mode 100644 index 00000000..9d95f26e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportOutputs.php @@ -0,0 +1,48 @@ +downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php new file mode 100644 index 00000000..33a952a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/BatchReportTimeSpan.php @@ -0,0 +1,39 @@ +endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php new file mode 100644 index 00000000..4f767bd3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Group.php @@ -0,0 +1,68 @@ +contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTubeAnalytics_GroupSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php new file mode 100644 index 00000000..acb50c3f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupContentDetails.php @@ -0,0 +1,39 @@ +itemCount = $itemCount; + } + public function getItemCount() + { + return $this->itemCount; + } + public function setItemType($itemType) + { + $this->itemType = $itemType; + } + public function getItemType() + { + return $this->itemType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php new file mode 100644 index 00000000..988c6206 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItem.php @@ -0,0 +1,67 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGroupId($groupId) + { + $this->groupId = $groupId; + } + public function getGroupId() + { + return $this->groupId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResource(Google_Service_YouTubeAnalytics_GroupItemResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php new file mode 100644 index 00000000..5fd9f6e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemListResponse.php @@ -0,0 +1,50 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php new file mode 100644 index 00000000..2e5c220b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupItemResource.php @@ -0,0 +1,39 @@ +id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php new file mode 100644 index 00000000..dfdf12fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupListResponse.php @@ -0,0 +1,59 @@ +etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php new file mode 100644 index 00000000..46e9b765 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/GroupSnippet.php @@ -0,0 +1,39 @@ +publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php new file mode 100644 index 00000000..08a95a72 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReportDefinitions.php @@ -0,0 +1,43 @@ + + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions; + * + */ +class Google_Service_YouTubeAnalytics_Resource_BatchReportDefinitions extends Google_Service_Resource +{ + /** + * Retrieves a list of available batch report definitions. + * (batchReportDefinitions.listBatchReportDefinitions) + * + * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * identifies the content owner that the user is acting on behalf of. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeAnalytics_BatchReportDefinitionList + */ + public function listBatchReportDefinitions($onBehalfOfContentOwner, $optParams = array()) + { + $params = array('onBehalfOfContentOwner' => $onBehalfOfContentOwner); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportDefinitionList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php new file mode 100644 index 00000000..852ae2c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/BatchReports.php @@ -0,0 +1,45 @@ + + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $batchReports = $youtubeAnalyticsService->batchReports; + * + */ +class Google_Service_YouTubeAnalytics_Resource_BatchReports extends Google_Service_Resource +{ + /** + * Retrieves a list of processed batch reports. (batchReports.listBatchReports) + * + * @param string $batchReportDefinitionId The batchReportDefinitionId parameter + * specifies the ID of the batch reportort definition for which you are + * retrieving reports. + * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * identifies the content owner that the user is acting on behalf of. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeAnalytics_BatchReportList + */ + public function listBatchReports($batchReportDefinitionId, $onBehalfOfContentOwner, $optParams = array()) + { + $params = array('batchReportDefinitionId' => $batchReportDefinitionId, 'onBehalfOfContentOwner' => $onBehalfOfContentOwner); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportList"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php new file mode 100644 index 00000000..a0302c62 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/GroupItems.php @@ -0,0 +1,108 @@ + + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $groupItems = $youtubeAnalyticsService->groupItems; + * + */ +class Google_Service_YouTubeAnalytics_Resource_GroupItems extends Google_Service_Resource +{ + /** + * Removes an item from a group. (groupItems.delete) + * + * @param string $id The id parameter specifies the YouTube group item ID for + * the group that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a group item. (groupItems.insert) + * + * @param Google_Service_YouTubeAnalytics_GroupItem $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_GroupItem + */ + public function insert(Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_GroupItem"); + } + /** + * Returns a collection of group items that match the API request parameters. + * (groupItems.listGroupItems) + * + * @param string $groupId The id parameter specifies the unique ID of the group + * for which you want to retrieve group items. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_GroupItemListResponse + */ + public function listGroupItems($groupId, $optParams = array()) + { + $params = array('groupId' => $groupId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupItemListResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php new file mode 100644 index 00000000..9c983ba5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Groups.php @@ -0,0 +1,142 @@ + + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $groups = $youtubeAnalyticsService->groups; + * + */ +class Google_Service_YouTubeAnalytics_Resource_Groups extends Google_Service_Resource +{ + /** + * Deletes a group. (groups.delete) + * + * @param string $id The id parameter specifies the YouTube group ID for the + * group that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + /** + * Creates a group. (groups.insert) + * + * @param Google_Service_YouTubeAnalytics_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_Group + */ + public function insert(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_Group"); + } + /** + * Returns a collection of groups that match the API request parameters. For + * example, you can retrieve all groups that the authenticated user owns, or you + * can retrieve one or more groups by their unique IDs. (groups.listGroups) + * + * @param array $optParams Optional parameters. + * + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube group ID(s) for the resource(s) that are being retrieved. In a group + * resource, the id property specifies the group's YouTube group ID. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return groups owned by the authenticated user. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identifies the next page that can be retrieved. + * @return Google_Service_YouTubeAnalytics_GroupListResponse + */ + public function listGroups($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupListResponse"); + } + /** + * Modifies a group. For example, you could change a group's title. + * (groups.update) + * + * @param Google_Service_YouTubeAnalytics_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_Group + */ + public function update(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTubeAnalytics_Group"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php new file mode 100644 index 00000000..6f6f116f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/Resource/Reports.php @@ -0,0 +1,83 @@ + + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $reports = $youtubeAnalyticsService->reports; + * + */ +class Google_Service_YouTubeAnalytics_Resource_Reports extends Google_Service_Resource +{ + /** + * Retrieve your YouTube Analytics reports. (reports.query) + * + * @param string $ids Identifies the YouTube channel or content owner for which + * you are retrieving YouTube Analytics data. - To request data for a YouTube + * user, set the ids parameter value to channel==CHANNEL_ID, where CHANNEL_ID + * specifies the unique YouTube channel ID. - To request data for a YouTube CMS + * content owner, set the ids parameter value to contentOwner==OWNER_NAME, where + * OWNER_NAME is the CMS name of the content owner. + * @param string $startDate The start date for fetching YouTube Analytics data. + * The value should be in YYYY-MM-DD format. + * @param string $endDate The end date for fetching YouTube Analytics data. The + * value should be in YYYY-MM-DD format. + * @param string $metrics A comma-separated list of YouTube Analytics metrics, + * such as views or likes,dislikes. See the Available Reports document for a + * list of the reports that you can retrieve and the metrics available in each + * report, and see the Metrics document for definitions of those metrics. + * @param array $optParams Optional parameters. + * + * @opt_param string currency The currency to which financial metrics should be + * converted. The default is US Dollar (USD). If the result contains no + * financial metrics, this flag will be ignored. Responds with an error if the + * specified currency is not recognized. + * @opt_param string dimensions A comma-separated list of YouTube Analytics + * dimensions, such as views or ageGroup,gender. See the Available Reports + * document for a list of the reports that you can retrieve and the dimensions + * used for those reports. Also see the Dimensions document for definitions of + * those dimensions. + * @opt_param string filters A list of filters that should be applied when + * retrieving YouTube Analytics data. The Available Reports document identifies + * the dimensions that can be used to filter each report, and the Dimensions + * document defines those dimensions. If a request uses multiple filters, join + * them together with a semicolon (;), and the returned result table will + * satisfy both filters. For example, a filters parameter value of + * video==dMH0bHeiRNg;country==IT restricts the result set to include data for + * the given video in Italy. + * @opt_param bool include-historical-channel-data If set to true historical + * data (i.e. channel data from before the linking of the channel to the content + * owner) will be retrieved. + * @opt_param int max-results The maximum number of rows to include in the + * response. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for YouTube Analytics data. By default the sort + * order is ascending. The '-' prefix causes descending sort order. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter + * (one-based, inclusive). + * @return Google_Service_YouTubeAnalytics_ResultTable + */ + public function query($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_YouTubeAnalytics_ResultTable"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php new file mode 100644 index 00000000..0accde01 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTable.php @@ -0,0 +1,50 @@ +columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php new file mode 100644 index 00000000..1798672a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeAnalytics/ResultTableColumnHeaders.php @@ -0,0 +1,48 @@ +columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php new file mode 100644 index 00000000..f7932338 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting.php @@ -0,0 +1,242 @@ + + * Schedules reporting jobs containing your YouTube Analytics data and downloads + * the resulting bulk data reports in the form of CSV files.

+ * + *

+ * For more information about this service, see the API + * Documentation + *

+ * + * @author Google, Inc. + */ +class Google_Service_YouTubeReporting extends Google_Service +{ + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_MONETARY_READONLY = + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"; + /** View YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_READONLY = + "https://www.googleapis.com/auth/yt-analytics.readonly"; + + public $jobs; + public $jobs_reports; + public $media; + public $reportTypes; + + /** + * Constructs the internal representation of the YouTubeReporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://youtubereporting.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'youtubereporting'; + + $this->jobs = new Google_Service_YouTubeReporting_Resource_Jobs( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1/jobs/{jobId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSystemManaged' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->jobs_reports = new Google_Service_YouTubeReporting_Resource_JobsReports( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/jobs/{jobId}/reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/jobs/{jobId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTimeBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTimeAtOrAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->media = new Google_Service_YouTubeReporting_Resource_Media( + $this, + $this->serviceName, + 'media', + array( + 'methods' => array( + 'download' => array( + 'path' => 'v1/media/{+resourceName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resourceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reportTypes = new Google_Service_YouTubeReporting_Resource_ReportTypes( + $this, + $this->serviceName, + 'reportTypes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/reportTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSystemManaged' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php new file mode 100644 index 00000000..290613fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Job.php @@ -0,0 +1,75 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setExpireTime($expireTime) + { + $this->expireTime = $expireTime; + } + public function getExpireTime() + { + return $this->expireTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReportTypeId($reportTypeId) + { + $this->reportTypeId = $reportTypeId; + } + public function getReportTypeId() + { + return $this->reportTypeId; + } + public function setSystemManaged($systemManaged) + { + $this->systemManaged = $systemManaged; + } + public function getSystemManaged() + { + return $this->systemManaged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php new file mode 100644 index 00000000..e5052171 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListJobsResponse.php @@ -0,0 +1,41 @@ +jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php new file mode 100644 index 00000000..08d87d71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportTypesResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReportTypes($reportTypes) + { + $this->reportTypes = $reportTypes; + } + public function getReportTypes() + { + return $this->reportTypes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php new file mode 100644 index 00000000..d5c66055 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ListReportsResponse.php @@ -0,0 +1,41 @@ +nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReports($reports) + { + $this->reports = $reports; + } + public function getReports() + { + return $this->reports; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php new file mode 100644 index 00000000..2035d8bd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Media.php @@ -0,0 +1,30 @@ +resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php new file mode 100644 index 00000000..60f26843 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Report.php @@ -0,0 +1,84 @@ +createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobExpireTime($jobExpireTime) + { + $this->jobExpireTime = $jobExpireTime; + } + public function getJobExpireTime() + { + return $this->jobExpireTime; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php new file mode 100644 index 00000000..6c027afe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/ReportType.php @@ -0,0 +1,57 @@ +deprecateTime = $deprecateTime; + } + public function getDeprecateTime() + { + return $this->deprecateTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSystemManaged($systemManaged) + { + $this->systemManaged = $systemManaged; + } + public function getSystemManaged() + { + return $this->systemManaged; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php new file mode 100644 index 00000000..f8707f9b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Jobs.php @@ -0,0 +1,104 @@ + + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $jobs = $youtubereportingService->jobs; + * + */ +class Google_Service_YouTubeReporting_Resource_Jobs extends Google_Service_Resource +{ + /** + * Creates a job and returns it. (jobs.create) + * + * @param Google_Service_YouTubeReporting_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Job + */ + public function create(Google_Service_YouTubeReporting_Job $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_YouTubeReporting_Job"); + } + /** + * Deletes a job. (jobs.delete) + * + * @param string $jobId The ID of the job to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_YoutubereportingEmpty + */ + public function delete($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_YouTubeReporting_YoutubereportingEmpty"); + } + /** + * Gets a job. (jobs.get) + * + * @param string $jobId The ID of the job to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Job + */ + public function get($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_YouTubeReporting_Job"); + } + /** + * Lists jobs. (jobs.listJobs) + * + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportTypesResponse.next_page_token returned in response to the previous + * call to the `ListJobs` method. + * @opt_param bool includeSystemManaged If set to true, also system-managed jobs + * will be returned; otherwise only user-created jobs will be returned. System- + * managed jobs can neither be modified nor deleted. + * @opt_param int pageSize Requested page size. Server may return fewer jobs + * than requested. If unspecified, server will pick an appropriate default. + * @return Google_Service_YouTubeReporting_ListJobsResponse + */ + public function listJobs($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListJobsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php new file mode 100644 index 00000000..27b92a2c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/JobsReports.php @@ -0,0 +1,77 @@ + + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $reports = $youtubereportingService->reports; + * + */ +class Google_Service_YouTubeReporting_Resource_JobsReports extends Google_Service_Resource +{ + /** + * Gets the metadata of a specific report. (reports.get) + * + * @param string $jobId The ID of the job. + * @param string $reportId The ID of the report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Report + */ + public function get($jobId, $reportId, $optParams = array()) + { + $params = array('jobId' => $jobId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_YouTubeReporting_Report"); + } + /** + * Lists reports created by a specific job. Returns NOT_FOUND if the job does + * not exist. (reports.listJobsReports) + * + * @param string $jobId The ID of the job. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param string startTimeBefore If set, only reports whose start time is + * smaller than the specified date/time are returned. + * @opt_param string createdAfter If set, only reports created after the + * specified date/time are returned. + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportsResponse.next_page_token returned in response to the previous call + * to the `ListReports` method. + * @opt_param string startTimeAtOrAfter If set, only reports whose start time is + * greater than or equal the specified date/time are returned. + * @opt_param int pageSize Requested page size. Server may return fewer report + * types than requested. If unspecified, server will pick an appropriate + * default. + * @return Google_Service_YouTubeReporting_ListReportsResponse + */ + public function listJobsReports($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportsResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php new file mode 100644 index 00000000..9c9a947e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/Media.php @@ -0,0 +1,43 @@ + + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $media = $youtubereportingService->media; + * + */ +class Google_Service_YouTubeReporting_Resource_Media extends Google_Service_Resource +{ + /** + * Method for media download. Download is supported on the URI + * `/v1/media/{+name}?alt=media`. (media.download) + * + * @param string $resourceName Name of the media that is being downloaded. See + * ReadRequest.resource_name. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeReporting_Media + */ + public function download($resourceName, $optParams = array()) + { + $params = array('resourceName' => $resourceName); + $params = array_merge($params, $optParams); + return $this->call('download', array($params), "Google_Service_YouTubeReporting_Media"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php new file mode 100644 index 00000000..724db661 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/Resource/ReportTypes.php @@ -0,0 +1,54 @@ + + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $reportTypes = $youtubereportingService->reportTypes; + * + */ +class Google_Service_YouTubeReporting_Resource_ReportTypes extends Google_Service_Resource +{ + /** + * Lists report types. (reportTypes.listReportTypes) + * + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportTypesResponse.next_page_token returned in response to the previous + * call to the `ListReportTypes` method. + * @opt_param bool includeSystemManaged If set to true, also system-managed + * report types will be returned; otherwise only the report types that can be + * used to create new reporting jobs will be returned. + * @opt_param int pageSize Requested page size. Server may return fewer report + * types than requested. If unspecified, server will pick an appropriate + * default. + * @return Google_Service_YouTubeReporting_ListReportTypesResponse + */ + public function listReportTypes($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportTypesResponse"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php new file mode 100644 index 00000000..9ca9fbbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/src/Google/Service/YouTubeReporting/YoutubereportingEmpty.php @@ -0,0 +1,20 @@ +getMock('Google_Service'); + $this->getMock('Google_Model'); + $this->getMock('Google_Collection'); + $this->getMock('Google_Service_Resource'); + } + /** + * @dataProvider serviceProvider + */ + public function testIncludes($class) + { + $this->assertTrue( + class_exists($class), + sprintf('Failed asserting class %s exists.', $class) + ); + } + + public function serviceProvider() + { + $classes = array(); + $path = __DIR__ . '/../src/Google/Service/'; + foreach (glob($path . "*.php") as $file) { + $service = basename($file, '.php'); + $classes[] = array('Google_Service_' . $service); + foreach (glob($path . "{$service}/*.php") as $file) { + $classes[] = array("Google_Service_{$service}_" . basename($file, '.php')); + } + foreach (glob($path . "{$service}/Resource/*.php") as $file) { + $classes[] = array("Google_Service_{$service}_Resource_" . basename($file, '.php')); + } + } + + return $classes; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php b/mayor-orig/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php new file mode 100644 index 00000000..e15933af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient-services/tests/bootstrap.php @@ -0,0 +1,3 @@ +setApplicationName("Client_Library_Examples"); +$client->setDeveloperKey("YOUR_APP_KEY"); + +$service = new Google_Service_Books($client); +$optParams = array('filter' => 'free-ebooks'); +$results = $service->volumes->listVolumes('Henry David Thoreau', $optParams); + +foreach ($results as $item) { + echo $item['volumeInfo']['title'], "
\n"; +} +``` + +### Authentication with OAuth ### + +> An example of this can be seen in [`examples/simple-file-upload.php`](examples/simple-file-upload.php). + +1. Follow the instructions to [Create Web Application Credentials](https://developers.google.com/api-client-library/php/auth/web-app#creatingcred) +1. Download the JSON credentials +1. Set the path to these credentials using `Google_Client::setAuthConfig`: + + ```php + $client = new Google_Client(); + $client->setAuthConfig('/path/to/client_credentials.json'); + ``` + +1. Set the scopes required for the API you are going to call + + ```php + $client->addScope(Google_Service_Drive::DRIVE); + ``` + +1. Set your application's redirect URI + + ```php + // Your redirect URI can be any registered URI, but in this example + // we redirect back to this same page + $redirect_uri = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + $client->setRedirectUri($redirect_uri); + ``` + +1. In the script handling the redirect URI, exchange the authorization code for an access token: + + ```php + if (isset($_GET['code'])) { + $token = $client->fetchAccessTokenWithAuthCode($_GET['code']); + $client->setAccessToken($token); + } + ``` + +### Authentication with Service Accounts ### + +> An example of this can be seen in [`examples/service-account.php`](examples/service-account.php). + +1. Follow the instructions to [Create a Service Account](https://developers.google.com/api-client-library/php/auth/service-accounts#creatinganaccount) +1. Download the JSON credentials +1. Set the path to these credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable: + + ```php + putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json'); + ``` + +1. Tell the Google client to use your service account credentials to authenticate: + + ```php + $client = new Google_Client(); + $client->useApplicationDefaultCredentials(); + ``` + +1. Set the scopes required for the API you are going to call + + ```php + $client->addScope(Google_Service_Drive::DRIVE); + ``` + +1. If you have delegated domain-wide access to the service account and you want to impersonate a user account, specify the email address of the user account using the method setSubject: + + ```php + $client->setSubject($user_to_impersonate); + ``` + +### Making Requests ### + +The classes used to call the API in [google-api-php-client-services](https://github.com/Google/google-api-php-client-services) are autogenerated. They map directly to the JSON requests and responses found in the [APIs Explorer](https://developers.google.com/apis-explorer/#p/). + +A JSON request to the [Datastore API](https://developers.google.com/apis-explorer/#p/datastore/v1beta3/datastore.projects.runQuery) would look like this: + +```json +POST https://datastore.googleapis.com/v1beta3/projects/YOUR_PROJECT_ID:runQuery?key=YOUR_API_KEY + +{ + "query": { + "kind": [{ + "name": "Book" + }], + "order": [{ + "property": { + "name": "title" + }, + "direction": "descending" + }], + "limit": 10 + } +} +``` + +Using this library, the same call would look something like this: + +```php +// create the datastore service class +$datastore = new Google_Service_Datastore($client); + +// build the query - this maps directly to the JSON +$query = new Google_Service_Datastore_Query([ + 'kind' => [ + [ + 'name' => 'Book', + ], + ], + 'order' => [ + 'property' => [ + 'name' => 'title', + ], + 'direction' => 'descending', + ], + 'limit' => 10, +]); + +// build the request and response +$request = new Google_Service_Datastore_RunQueryRequest(['query' => $query]); +$response = $datastore->projects->runQuery('YOUR_DATASET_ID', $request); +``` + +However, as each property of the JSON API has a corresponding generated class, the above code could also be written like this: + +```php +// create the datastore service class +$datastore = new Google_Service_Datastore($client); + +// build the query +$request = new Google_Service_Datastore_RunQueryRequest(); +$query = new Google_Service_Datastore_Query(); +// - set the order +$order = new Google_Service_Datastore_PropertyOrder(); +$order->setDirection('descending'); +$property = new Google_Service_Datastore_PropertyReference(); +$property->setName('title'); +$order->setProperty($property); +$query->setOrder([$order]); +// - set the kinds +$kind = new Google_Service_Datastore_KindExpression(); +$kind->setName('Book'); +$query->setKinds([$kind]); +// - set the limit +$query->setLimit(10); + +// add the query to the request and make the request +$request->setQuery($query); +$response = $datastore->projects->runQuery('YOUR_DATASET_ID', $request); +``` + +The method used is a matter of preference, but *it will be very difficult to use this library without first understanding the JSON syntax for the API*, so it is recommended to look at the [APIs Explorer](https://developers.google.com/apis-explorer/#p/) before using any of the services here. + +### Making HTTP Requests Directly ### + +If Google Authentication is desired for external applications, or a Google API is not available yet in this library, HTTP requests can be made directly. + +The `authorize` method returns an authorized [Guzzle Client](http://docs.guzzlephp.org/), so any request made using the client will contain the corresponding authorization. + +```php +// create the Google client +$client = new Google_Client(); + +/** + * Set your method for authentication. Depending on the API, This could be + * directly with an access token, API key, or (recommended) using + * Application Default Credentials. + */ +$client->useApplicationDefaultCredentials(); +$client->addScope(Google_Service_Plus::PLUS_ME); + +// returns a Guzzle HTTP Client +$httpClient = $client->authorize(); + +// make an HTTP request +$response = $httpClient->get('https://www.googleapis.com/plus/v1/people/me'); +``` + +### Caching ### + +It is recommended to use another caching library to improve performance. This can be done by passing a [PSR-6](http://www.php-fig.org/psr/psr-6/) compatible library to the client: + +```php +$cache = new Stash\Pool(new Stash\Driver\FileSystem); +$client->setCache($cache); +``` + +In this example we use [StashPHP](http://www.stashphp.com/). Add this to your project with composer: + +``` +composer require tedivm/stash +``` + +### Updating Tokens ### + +When using [Refresh Tokens](https://developers.google.com/identity/protocols/OAuth2InstalledApp#refresh) or [Service Account Credentials](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#overview), it may be useful to perform some action when a new access token is granted. To do this, pass a callable to the `setTokenCallback` method on the client: + +```php +$logger = new Monolog\Logger; +$tokenCallback = function ($cacheKey, $accessToken) use ($logger) { + $logger->debug(sprintf('new access token received at cache key %s', $cacheKey)); +}; +$client->setTokenCallback($tokenCallback); +``` + +### Debugging Your HTTP Request using Charles ### + +It is often very useful to debug your API calls by viewing the raw HTTP request. This library supports the use of [Charles Web Proxy](https://www.charlesproxy.com/documentation/getting-started/). Download and run Charles, and then capture all HTTP traffic through Charles with the following code: + +```php +// FOR DEBUGGING ONLY +$httpClient = new GuzzleHttp\Client([ + 'proxy' => 'localhost:8888', // by default, Charles runs on localhost port 8888 + 'verify' => false, // otherwise HTTPS requests will fail. +]); + +$client = new Google_Client(); +$client->setHttpClient($httpClient); +``` + +Now all calls made by this library will appear in the Charles UI. + +One additional step is required in Charles to view SSL requests. Go to **Charles > Proxy > SSL Proxying Settings** and add the domain you'd like captured. In the case of the Google APIs, this is usually `*.googleapis.com`. + +### Service Specific Examples ### + +YouTube: https://github.com/youtube/api-samples/tree/master/php + +## How Do I Contribute? ## + +Please see the [contributing](CONTRIBUTING.md) page for more information. In particular, we love pull requests - but please make sure to sign the [contributor license agreement](https://developers.google.com/api-client-library/php/contribute). + +## Frequently Asked Questions ## + +### What do I do if something isn't working? ### + +For support with the library the best place to ask is via the google-api-php-client tag on StackOverflow: http://stackoverflow.com/questions/tagged/google-api-php-client + +If there is a specific bug with the library, please [file a issue](https://github.com/google/google-api-php-client/issues) in the Github issues tracker, including an example of the failing code and any specific errors retrieved. Feature requests can also be filed, as long as they are core library requests, and not-API specific: for those, refer to the documentation for the individual APIs for the best place to file requests. Please try to provide a clear statement of the problem that the feature would address. + +### I want an example of X! ### + +If X is a feature of the library, file away! If X is an example of using a specific service, the best place to go is to the teams for those specific APIs - our preference is to link to their examples rather than add them to the library, as they can then pin to specific versions of the library. If you have any examples for other APIs, let us know and we will happily add a link to the README above! + +### Why do you still support 5.2? ### + +When we started working on the 1.0.0 branch we knew there were several fundamental issues to fix with the 0.6 releases of the library. At that time we looked at the usage of the library, and other related projects, and determined that there was still a large and active base of PHP 5.2 installs. You can see this in statistics such as the PHP versions chart in the WordPress stats: http://wordpress.org/about/stats/. We will keep looking at the types of usage we see, and try to take advantage of newer PHP features where possible. + +### Why does Google_..._Service have weird names? ### + +The _Service classes are generally automatically generated from the API discovery documents: https://developers.google.com/discovery/. Sometimes new features are added to APIs with unusual names, which can cause some unexpected or non-standard style naming in the PHP classes. + +### How do I deal with non-JSON response types? ### + +Some services return XML or similar by default, rather than JSON, which is what the library supports. You can request a JSON response by adding an 'alt' argument to optional params that is normally the last argument to a method call: + +``` +$opt_params = array( + 'alt' => "json" +); +``` + +### How do I set a field to null? ### + +The library strips out nulls from the objects sent to the Google APIs as its the default value of all of the uninitialized properties. To work around this, set the field you want to null to `Google_Model::NULL_VALUE`. This is a placeholder that will be replaced with a true null when sent over the wire. + +## Code Quality ## + +Run the PHPUnit tests with PHPUnit. You can configure an API key and token in BaseTest.php to run all calls, but this will require some setup on the Google Developer Console. + + phpunit tests/ + +### Coding Style + +To check for coding style violations, run + +``` +vendor/bin/phpcs src --standard=style/ruleset.xml -np +``` + +To automatically fix (fixable) coding style violations, run + +``` +vendor/bin/phpcbf src --standard=style/ruleset.xml +``` diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/composer.json b/mayor-orig/www/include/share/googleapi/google/apiclient/composer.json new file mode 100644 index 00000000..3f0619c1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/composer.json @@ -0,0 +1,41 @@ +{ + "name": "google/apiclient", + "type": "library", + "description": "Client library for Google APIs", + "keywords": ["google"], + "homepage": "http://developers.google.com/api-client-library/php", + "license": "Apache-2.0", + "require": { + "php": ">=5.4", + "google/auth": "^0.11", + "google/apiclient-services": "^0.11", + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "monolog/monolog": "^1.17", + "phpseclib/phpseclib": "~0.3.10|~2.0", + "guzzlehttp/guzzle": "~5.2|~6.0", + "guzzlehttp/psr7": "^1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4", + "squizlabs/php_codesniffer": "~2.3", + "symfony/dom-crawler": "~2.1", + "symfony/css-selector": "~2.1", + "cache/filesystem-adapter": "^0.3.2" + }, + "suggest": { + "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)" + }, + "autoload": { + "psr-0": { + "Google_": "src/" + }, + "classmap": [ + "src/Google/Service/" + ] + }, + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php new file mode 100644 index 00000000..29eb3fb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Revoke.php @@ -0,0 +1,78 @@ +http = $http; + } + + /** + * Revoke an OAuth2 access token or refresh token. This method will revoke the current access + * token, if a token isn't provided. + * + * @param string|array $token The token (access token or a refresh token) that should be revoked. + * @return boolean Returns True if the revocation was successful, otherwise False. + */ + public function revokeToken($token) + { + if (is_array($token)) { + if (isset($token['refresh_token'])) { + $token = $token['refresh_token']; + } else { + $token = $token['access_token']; + } + } + + $body = Psr7\stream_for(http_build_query(array('token' => $token))); + $request = new Request( + 'POST', + Google_Client::OAUTH2_REVOKE_URI, + [ + 'Cache-Control' => 'no-store', + 'Content-Type' => 'application/x-www-form-urlencoded', + ], + $body + ); + + $httpHandler = HttpHandlerFactory::build($this->http); + + $response = $httpHandler($request); + + return $response->getStatusCode() == 200; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php new file mode 100644 index 00000000..748aa3df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AccessToken/Verify.php @@ -0,0 +1,269 @@ +http = $http; + $this->cache = $cache; + $this->jwt = $jwt ?: $this->getJwtService(); + } + + /** + * Verifies an id token and returns the authenticated apiLoginTicket. + * Throws an exception if the id token is not valid. + * The audience parameter can be used to control which id tokens are + * accepted. By default, the id token must have been issued to this OAuth2 client. + * + * @param $audience + * @return array the token payload, if successful + */ + public function verifyIdToken($idToken, $audience = null) + { + if (empty($idToken)) { + throw new LogicException('id_token cannot be null'); + } + + // set phpseclib constants if applicable + $this->setPhpsecConstants(); + + // Check signature + $certs = $this->getFederatedSignOnCerts(); + foreach ($certs as $cert) { + $bigIntClass = $this->getBigIntClass(); + $rsaClass = $this->getRsaClass(); + $modulus = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['n']), 256); + $exponent = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['e']), 256); + + $rsa = new $rsaClass(); + $rsa->loadKey(array('n' => $modulus, 'e' => $exponent)); + + try { + $payload = $this->jwt->decode( + $idToken, + $rsa->getPublicKey(), + array('RS256') + ); + + if (property_exists($payload, 'aud')) { + if ($audience && $payload->aud != $audience) { + return false; + } + } + + // support HTTP and HTTPS issuers + // @see https://developers.google.com/identity/sign-in/web/backend-auth + $issuers = array(self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS); + if (!isset($payload->iss) || !in_array($payload->iss, $issuers)) { + return false; + } + + return (array) $payload; + } catch (ExpiredException $e) { + return false; + } catch (ExpiredExceptionV3 $e) { + return false; + } catch (DomainException $e) { + // continue + } + } + + return false; + } + + private function getCache() + { + return $this->cache; + } + + /** + * Retrieve and cache a certificates file. + * + * @param $url string location + * @throws Google_Exception + * @return array certificates + */ + private function retrieveCertsFromLocation($url) + { + // If we're retrieving a local file, just grab it. + if (0 !== strpos($url, 'http')) { + if (!$file = file_get_contents($url)) { + throw new Google_Exception( + "Failed to retrieve verification certificates: '" . + $url . "'." + ); + } + + return json_decode($file, true); + } + + $response = $this->http->get($url); + + if ($response->getStatusCode() == 200) { + return json_decode((string) $response->getBody(), true); + } + throw new Google_Exception( + sprintf( + 'Failed to retrieve verification certificates: "%s".', + $response->getBody()->getContents() + ), + $response->getStatusCode() + ); + } + + // Gets federated sign-on certificates to use for verifying identity tokens. + // Returns certs as array structure, where keys are key ids, and values + // are PEM encoded certificates. + private function getFederatedSignOnCerts() + { + $certs = null; + if ($cache = $this->getCache()) { + $cacheItem = $cache->getItem('federated_signon_certs_v3', 3600); + $certs = $cacheItem->get(); + } + + + if (!$certs) { + $certs = $this->retrieveCertsFromLocation( + self::FEDERATED_SIGNON_CERT_URL + ); + + if ($cache) { + $cacheItem->set($certs); + $cache->save($cacheItem); + } + } + + if (!isset($certs['keys'])) { + throw new InvalidArgumentException( + 'federated sign-on certs expects "keys" to be set' + ); + } + + return $certs['keys']; + } + + private function getJwtService() + { + $jwtClass = 'JWT'; + if (class_exists('\Firebase\JWT\JWT')) { + $jwtClass = 'Firebase\JWT\JWT'; + } + + if (property_exists($jwtClass, 'leeway')) { + // adds 1 second to JWT leeway + // @see https://github.com/google/google-api-php-client/issues/827 + $jwtClass::$leeway = 1; + } + + return new $jwtClass; + } + + private function getRsaClass() + { + if (class_exists('phpseclib\Crypt\RSA')) { + return 'phpseclib\Crypt\RSA'; + } + + return 'Crypt_RSA'; + } + + private function getBigIntClass() + { + if (class_exists('phpseclib\Math\BigInteger')) { + return 'phpseclib\Math\BigInteger'; + } + + return 'Math_BigInteger'; + } + + private function getOpenSslConstant() + { + if (class_exists('phpseclib\Crypt\RSA')) { + return 'phpseclib\Crypt\RSA::MODE_OPENSSL'; + } + + if (class_exists('Crypt_RSA')) { + return 'CRYPT_RSA_MODE_OPENSSL'; + } + + throw new \Exception('Cannot find RSA class'); + } + + /** + * phpseclib calls "phpinfo" by default, which requires special + * whitelisting in the AppEngine VM environment. This function + * sets constants to bypass the need for phpseclib to check phpinfo + * + * @see phpseclib/Math/BigInteger + * @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85 + */ + private function setPhpsecConstants() + { + if (filter_var(getenv('GAE_VM'), FILTER_VALIDATE_BOOLEAN)) { + if (!defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) { + define('MATH_BIGINTEGER_OPENSSL_ENABLED', true); + } + if (!defined('CRYPT_RSA_MODE')) { + define('CRYPT_RSA_MODE', constant($this->getOpenSslConstant())); + } + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php new file mode 100644 index 00000000..f1a3229a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/AuthHandlerFactory.php @@ -0,0 +1,42 @@ +cache = $cache; + $this->cacheConfig = $cacheConfig; + } + + public function attachCredentials( + ClientInterface $http, + CredentialsLoader $credentials, + callable $tokenCallback = null + ) { + // use the provided cache + if ($this->cache) { + $credentials = new FetchAuthTokenCache( + $credentials, + $this->cacheConfig, + $this->cache + ); + } + // if we end up needing to make an HTTP request to retrieve credentials, we + // can use our existing one, but we need to throw exceptions so the error + // bubbles up. + $authHttp = $this->createAuthHttp($http); + $authHttpHandler = HttpHandlerFactory::build($authHttp); + $subscriber = new AuthTokenSubscriber( + $credentials, + $authHttpHandler, + $tokenCallback + ); + + $http->setDefaultOption('auth', 'google_auth'); + $http->getEmitter()->attach($subscriber); + + return $http; + } + + public function attachToken(ClientInterface $http, array $token, array $scopes) + { + $tokenFunc = function ($scopes) use ($token) { + return $token['access_token']; + }; + + $subscriber = new ScopedAccessTokenSubscriber( + $tokenFunc, + $scopes, + $this->cacheConfig, + $this->cache + ); + + $http->setDefaultOption('auth', 'scoped'); + $http->getEmitter()->attach($subscriber); + + return $http; + } + + public function attachKey(ClientInterface $http, $key) + { + $subscriber = new SimpleSubscriber(['key' => $key]); + + $http->setDefaultOption('auth', 'simple'); + $http->getEmitter()->attach($subscriber); + + return $http; + } + + private function createAuthHttp(ClientInterface $http) + { + return new Client( + [ + 'base_url' => $http->getBaseUrl(), + 'defaults' => [ + 'exceptions' => true, + 'verify' => $http->getDefaultOption('verify'), + 'proxy' => $http->getDefaultOption('proxy'), + ] + ] + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php new file mode 100644 index 00000000..fcdfb3b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/AuthHandler/Guzzle6AuthHandler.php @@ -0,0 +1,106 @@ +cache = $cache; + $this->cacheConfig = $cacheConfig; + } + + public function attachCredentials( + ClientInterface $http, + CredentialsLoader $credentials, + callable $tokenCallback = null + ) { + // use the provided cache + if ($this->cache) { + $credentials = new FetchAuthTokenCache( + $credentials, + $this->cacheConfig, + $this->cache + ); + } + // if we end up needing to make an HTTP request to retrieve credentials, we + // can use our existing one, but we need to throw exceptions so the error + // bubbles up. + $authHttp = $this->createAuthHttp($http); + $authHttpHandler = HttpHandlerFactory::build($authHttp); + $middleware = new AuthTokenMiddleware( + $credentials, + $authHttpHandler, + $tokenCallback + ); + + $config = $http->getConfig(); + $config['handler']->remove('google_auth'); + $config['handler']->push($middleware, 'google_auth'); + $config['auth'] = 'google_auth'; + $http = new Client($config); + + return $http; + } + + public function attachToken(ClientInterface $http, array $token, array $scopes) + { + $tokenFunc = function ($scopes) use ($token) { + return $token['access_token']; + }; + + $middleware = new ScopedAccessTokenMiddleware( + $tokenFunc, + $scopes, + $this->cacheConfig, + $this->cache + ); + + $config = $http->getConfig(); + $config['handler']->remove('google_auth'); + $config['handler']->push($middleware, 'google_auth'); + $config['auth'] = 'scoped'; + $http = new Client($config); + + return $http; + } + + public function attachKey(ClientInterface $http, $key) + { + $middleware = new SimpleMiddleware(['key' => $key]); + + $config = $http->getConfig(); + $config['handler']->remove('google_auth'); + $config['handler']->push($middleware, 'google_auth'); + $config['auth'] = 'simple'; + $http = new Client($config); + + return $http; + } + + private function createAuthHttp(ClientInterface $http) + { + return new Client( + [ + 'base_uri' => $http->getConfig('base_uri'), + 'exceptions' => true, + 'verify' => $http->getConfig('verify'), + 'proxy' => $http->getConfig('proxy'), + ] + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Client.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Client.php new file mode 100644 index 00000000..2fb29578 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Client.php @@ -0,0 +1,1118 @@ +config = array_merge( + [ + 'application_name' => '', + + // Don't change these unless you're working against a special development + // or testing environment. + 'base_path' => self::API_BASE_PATH, + + // https://developers.google.com/console + 'client_id' => '', + 'client_secret' => '', + 'redirect_uri' => null, + 'state' => null, + + // Simple API access key, also from the API console. Ensure you get + // a Server key, and not a Browser key. + 'developer_key' => '', + + // For use with Google Cloud Platform + // fetch the ApplicationDefaultCredentials, if applicable + // @see https://developers.google.com/identity/protocols/application-default-credentials + 'use_application_default_credentials' => false, + 'signing_key' => null, + 'signing_algorithm' => null, + 'subject' => null, + + // Other OAuth2 parameters. + 'hd' => '', + 'prompt' => '', + 'openid.realm' => '', + 'include_granted_scopes' => null, + 'login_hint' => '', + 'request_visible_actions' => '', + 'access_type' => 'online', + 'approval_prompt' => 'auto', + + // Task Runner retry configuration + // @see Google_Task_Runner + 'retry' => array(), + + // cache config for downstream auth caching + 'cache_config' => [], + + // function to be called when an access token is fetched + // follows the signature function ($cacheKey, $accessToken) + 'token_callback' => null, + + // Service class used in Google_Client::verifyIdToken. + // Explicitly pass this in to avoid setting JWT::$leeway + 'jwt' => null, + ], + $config + ); + } + + /** + * Get a string containing the version of the library. + * + * @return string + */ + public function getLibraryVersion() + { + return self::LIBVER; + } + + /** + * For backwards compatibility + * alias for fetchAccessTokenWithAuthCode + * + * @param $code string code from accounts.google.com + * @return array access token + * @deprecated + */ + public function authenticate($code) + { + return $this->fetchAccessTokenWithAuthCode($code); + } + + /** + * Attempt to exchange a code for an valid authentication token. + * Helper wrapped around the OAuth 2.0 implementation. + * + * @param $code string code from accounts.google.com + * @return array access token + */ + public function fetchAccessTokenWithAuthCode($code) + { + if (strlen($code) == 0) { + throw new InvalidArgumentException("Invalid code"); + } + + $auth = $this->getOAuth2Service(); + $auth->setCode($code); + $auth->setRedirectUri($this->getRedirectUri()); + + $httpHandler = HttpHandlerFactory::build($this->getHttpClient()); + $creds = $auth->fetchAuthToken($httpHandler); + if ($creds && isset($creds['access_token'])) { + $creds['created'] = time(); + $this->setAccessToken($creds); + } + + return $creds; + } + + /** + * For backwards compatibility + * alias for fetchAccessTokenWithAssertion + * + * @return array access token + * @deprecated + */ + public function refreshTokenWithAssertion() + { + return $this->fetchAccessTokenWithAssertion(); + } + + /** + * Fetches a fresh access token with a given assertion token. + * @param $assertionCredentials optional. + * @return array access token + */ + public function fetchAccessTokenWithAssertion(ClientInterface $authHttp = null) + { + if (!$this->isUsingApplicationDefaultCredentials()) { + throw new DomainException( + 'set the JSON service account credentials using' + . ' Google_Client::setAuthConfig or set the path to your JSON file' + . ' with the "GOOGLE_APPLICATION_CREDENTIALS" environment variable' + . ' and call Google_Client::useApplicationDefaultCredentials to' + . ' refresh a token with assertion.' + ); + } + + $this->getLogger()->log( + 'info', + 'OAuth2 access token refresh with Signed JWT assertion grants.' + ); + + $credentials = $this->createApplicationDefaultCredentials(); + + $httpHandler = HttpHandlerFactory::build($authHttp); + $creds = $credentials->fetchAuthToken($httpHandler); + if ($creds && isset($creds['access_token'])) { + $creds['created'] = time(); + $this->setAccessToken($creds); + } + + return $creds; + } + + /** + * For backwards compatibility + * alias for fetchAccessTokenWithRefreshToken + * + * @param string $refreshToken + * @return array access token + */ + public function refreshToken($refreshToken) + { + return $this->fetchAccessTokenWithRefreshToken($refreshToken); + } + + /** + * Fetches a fresh OAuth 2.0 access token with the given refresh token. + * @param string $refreshToken + * @return array access token + */ + public function fetchAccessTokenWithRefreshToken($refreshToken = null) + { + if (null === $refreshToken) { + if (!isset($this->token['refresh_token'])) { + throw new LogicException( + 'refresh token must be passed in or set as part of setAccessToken' + ); + } + $refreshToken = $this->token['refresh_token']; + } + $this->getLogger()->info('OAuth2 access token refresh'); + $auth = $this->getOAuth2Service(); + $auth->setRefreshToken($refreshToken); + + $httpHandler = HttpHandlerFactory::build($this->getHttpClient()); + $creds = $auth->fetchAuthToken($httpHandler); + if ($creds && isset($creds['access_token'])) { + $creds['created'] = time(); + if (!isset($creds['refresh_token'])) { + $creds['refresh_token'] = $refreshToken; + } + $this->setAccessToken($creds); + } + + return $creds; + } + + /** + * Create a URL to obtain user authorization. + * The authorization endpoint allows the user to first + * authenticate, and then grant/deny the access request. + * @param string|array $scope The scope is expressed as an array or list of space-delimited strings. + * @return string + */ + public function createAuthUrl($scope = null) + { + if (empty($scope)) { + $scope = $this->prepareScopes(); + } + if (is_array($scope)) { + $scope = implode(' ', $scope); + } + + // only accept one of prompt or approval_prompt + $approvalPrompt = $this->config['prompt'] + ? null + : $this->config['approval_prompt']; + + // include_granted_scopes should be string "true", string "false", or null + $includeGrantedScopes = $this->config['include_granted_scopes'] === null + ? null + : var_export($this->config['include_granted_scopes'], true); + + $params = array_filter( + [ + 'access_type' => $this->config['access_type'], + 'approval_prompt' => $approvalPrompt, + 'hd' => $this->config['hd'], + 'include_granted_scopes' => $includeGrantedScopes, + 'login_hint' => $this->config['login_hint'], + 'openid.realm' => $this->config['openid.realm'], + 'prompt' => $this->config['prompt'], + 'response_type' => 'code', + 'scope' => $scope, + 'state' => $this->config['state'], + ] + ); + + // If the list of scopes contains plus.login, add request_visible_actions + // to auth URL. + $rva = $this->config['request_visible_actions']; + if (strlen($rva) > 0 && false !== strpos($scope, 'plus.login')) { + $params['request_visible_actions'] = $rva; + } + + $auth = $this->getOAuth2Service(); + + return (string) $auth->buildFullAuthorizationUri($params); + } + + /** + * Adds auth listeners to the HTTP client based on the credentials + * set in the Google API Client object + * + * @param GuzzleHttp\ClientInterface $http the http client object. + * @return GuzzleHttp\ClientInterface the http client object + */ + public function authorize(ClientInterface $http = null) + { + $credentials = null; + $token = null; + $scopes = null; + if (null === $http) { + $http = $this->getHttpClient(); + } + + // These conditionals represent the decision tree for authentication + // 1. Check for Application Default Credentials + // 2. Check for API Key + // 3a. Check for an Access Token + // 3b. If access token exists but is expired, try to refresh it + if ($this->isUsingApplicationDefaultCredentials()) { + $credentials = $this->createApplicationDefaultCredentials(); + } elseif ($token = $this->getAccessToken()) { + $scopes = $this->prepareScopes(); + // add refresh subscriber to request a new token + if (isset($token['refresh_token']) && $this->isAccessTokenExpired()) { + $credentials = $this->createUserRefreshCredentials( + $scopes, + $token['refresh_token'] + ); + } + } + + $authHandler = $this->getAuthHandler(); + + if ($credentials) { + $callback = $this->config['token_callback']; + $http = $authHandler->attachCredentials($http, $credentials, $callback); + } elseif ($token) { + $http = $authHandler->attachToken($http, $token, (array) $scopes); + } elseif ($key = $this->config['developer_key']) { + $http = $authHandler->attachKey($http, $key); + } + + return $http; + } + + /** + * Set the configuration to use application default credentials for + * authentication + * + * @see https://developers.google.com/identity/protocols/application-default-credentials + * @param boolean $useAppCreds + */ + public function useApplicationDefaultCredentials($useAppCreds = true) + { + $this->config['use_application_default_credentials'] = $useAppCreds; + } + + /** + * To prevent useApplicationDefaultCredentials from inappropriately being + * called in a conditional + * + * @see https://developers.google.com/identity/protocols/application-default-credentials + */ + public function isUsingApplicationDefaultCredentials() + { + return $this->config['use_application_default_credentials']; + } + + /** + * @param string|array $token + * @throws InvalidArgumentException + */ + public function setAccessToken($token) + { + if (is_string($token)) { + if ($json = json_decode($token, true)) { + $token = $json; + } else { + // assume $token is just the token string + $token = array( + 'access_token' => $token, + ); + } + } + if ($token == null) { + throw new InvalidArgumentException('invalid json token'); + } + if (!isset($token['access_token'])) { + throw new InvalidArgumentException("Invalid token format"); + } + $this->token = $token; + } + + public function getAccessToken() + { + return $this->token; + } + + public function getRefreshToken() + { + if (isset($this->token['refresh_token'])) { + return $this->token['refresh_token']; + } + } + + /** + * Returns if the access_token is expired. + * @return bool Returns True if the access_token is expired. + */ + public function isAccessTokenExpired() + { + if (!$this->token) { + return true; + } + + $created = 0; + if (isset($this->token['created'])) { + $created = $this->token['created']; + } elseif (isset($this->token['id_token'])) { + // check the ID token for "iat" + // signature verification is not required here, as we are just + // using this for convenience to save a round trip request + // to the Google API server + $idToken = $this->token['id_token']; + if (substr_count($idToken, '.') == 2) { + $parts = explode('.', $idToken); + $payload = json_decode(base64_decode($parts[1]), true); + if ($payload && isset($payload['iat'])) { + $created = $payload['iat']; + } + } + } + + // If the token is set to expire in the next 30 seconds. + return ($created + ($this->token['expires_in'] - 30)) < time(); + } + + public function getAuth() + { + throw new BadMethodCallException( + 'This function no longer exists. See UPGRADING.md for more information' + ); + } + + public function setAuth($auth) + { + throw new BadMethodCallException( + 'This function no longer exists. See UPGRADING.md for more information' + ); + } + + /** + * Set the OAuth 2.0 Client ID. + * @param string $clientId + */ + public function setClientId($clientId) + { + $this->config['client_id'] = $clientId; + } + + public function getClientId() + { + return $this->config['client_id']; + } + + /** + * Set the OAuth 2.0 Client Secret. + * @param string $clientSecret + */ + public function setClientSecret($clientSecret) + { + $this->config['client_secret'] = $clientSecret; + } + + public function getClientSecret() + { + return $this->config['client_secret']; + } + + /** + * Set the OAuth 2.0 Redirect URI. + * @param string $redirectUri + */ + public function setRedirectUri($redirectUri) + { + $this->config['redirect_uri'] = $redirectUri; + } + + public function getRedirectUri() + { + return $this->config['redirect_uri']; + } + + /** + * Set OAuth 2.0 "state" parameter to achieve per-request customization. + * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2 + * @param string $state + */ + public function setState($state) + { + $this->config['state'] = $state; + } + + /** + * @param string $accessType Possible values for access_type include: + * {@code "offline"} to request offline access from the user. + * {@code "online"} to request online access from the user. + */ + public function setAccessType($accessType) + { + $this->config['access_type'] = $accessType; + } + + /** + * @param string $approvalPrompt Possible values for approval_prompt include: + * {@code "force"} to force the approval UI to appear. + * {@code "auto"} to request auto-approval when possible. (This is the default value) + */ + public function setApprovalPrompt($approvalPrompt) + { + $this->config['approval_prompt'] = $approvalPrompt; + } + + /** + * Set the login hint, email address or sub id. + * @param string $loginHint + */ + public function setLoginHint($loginHint) + { + $this->config['login_hint'] = $loginHint; + } + + /** + * Set the application name, this is included in the User-Agent HTTP header. + * @param string $applicationName + */ + public function setApplicationName($applicationName) + { + $this->config['application_name'] = $applicationName; + } + + /** + * If 'plus.login' is included in the list of requested scopes, you can use + * this method to define types of app activities that your app will write. + * You can find a list of available types here: + * @link https://developers.google.com/+/api/moment-types + * + * @param array $requestVisibleActions Array of app activity types + */ + public function setRequestVisibleActions($requestVisibleActions) + { + if (is_array($requestVisibleActions)) { + $requestVisibleActions = implode(" ", $requestVisibleActions); + } + $this->config['request_visible_actions'] = $requestVisibleActions; + } + + /** + * Set the developer key to use, these are obtained through the API Console. + * @see http://code.google.com/apis/console-help/#generatingdevkeys + * @param string $developerKey + */ + public function setDeveloperKey($developerKey) + { + $this->config['developer_key'] = $developerKey; + } + + /** + * Set the hd (hosted domain) parameter streamlines the login process for + * Google Apps hosted accounts. By including the domain of the user, you + * restrict sign-in to accounts at that domain. + * @param $hd string - the domain to use. + */ + public function setHostedDomain($hd) + { + $this->config['hd'] = $hd; + } + + /** + * Set the prompt hint. Valid values are none, consent and select_account. + * If no value is specified and the user has not previously authorized + * access, then the user is shown a consent screen. + * @param $prompt string + */ + public function setPrompt($prompt) + { + $this->config['prompt'] = $prompt; + } + + /** + * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth + * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which + * an authentication request is valid. + * @param $realm string - the URL-space to use. + */ + public function setOpenidRealm($realm) + { + $this->config['openid.realm'] = $realm; + } + + /** + * If this is provided with the value true, and the authorization request is + * granted, the authorization will include any previous authorizations + * granted to this user/application combination for other scopes. + * @param $include boolean - the URL-space to use. + */ + public function setIncludeGrantedScopes($include) + { + $this->config['include_granted_scopes'] = $include; + } + + /** + * sets function to be called when an access token is fetched + * @param callable $tokenCallback - function ($cacheKey, $accessToken) + */ + public function setTokenCallback(callable $tokenCallback) + { + $this->config['token_callback'] = $tokenCallback; + } + + /** + * Revoke an OAuth2 access token or refresh token. This method will revoke the current access + * token, if a token isn't provided. + * + * @param string|null $token The token (access token or a refresh token) that should be revoked. + * @return boolean Returns True if the revocation was successful, otherwise False. + */ + public function revokeToken($token = null) + { + $tokenRevoker = new Google_AccessToken_Revoke( + $this->getHttpClient() + ); + + return $tokenRevoker->revokeToken($token ?: $this->getAccessToken()); + } + + /** + * Verify an id_token. This method will verify the current id_token, if one + * isn't provided. + * + * @throws LogicException + * @param string|null $idToken The token (id_token) that should be verified. + * @return array|false Returns the token payload as an array if the verification was + * successful, false otherwise. + */ + public function verifyIdToken($idToken = null) + { + $tokenVerifier = new Google_AccessToken_Verify( + $this->getHttpClient(), + $this->getCache(), + $this->config['jwt'] + ); + + if (null === $idToken) { + $token = $this->getAccessToken(); + if (!isset($token['id_token'])) { + throw new LogicException( + 'id_token must be passed in or set as part of setAccessToken' + ); + } + $idToken = $token['id_token']; + } + + return $tokenVerifier->verifyIdToken( + $idToken, + $this->getClientId() + ); + } + + /** + * Set the scopes to be requested. Must be called before createAuthUrl(). + * Will remove any previously configured scopes. + * @param array $scopes, ie: array('https://www.googleapis.com/auth/plus.login', + * 'https://www.googleapis.com/auth/moderator') + */ + public function setScopes($scopes) + { + $this->requestedScopes = array(); + $this->addScope($scopes); + } + + /** + * This functions adds a scope to be requested as part of the OAuth2.0 flow. + * Will append any scopes not previously requested to the scope parameter. + * A single string will be treated as a scope to request. An array of strings + * will each be appended. + * @param $scope_or_scopes string|array e.g. "profile" + */ + public function addScope($scope_or_scopes) + { + if (is_string($scope_or_scopes) && !in_array($scope_or_scopes, $this->requestedScopes)) { + $this->requestedScopes[] = $scope_or_scopes; + } else if (is_array($scope_or_scopes)) { + foreach ($scope_or_scopes as $scope) { + $this->addScope($scope); + } + } + } + + /** + * Returns the list of scopes requested by the client + * @return array the list of scopes + * + */ + public function getScopes() + { + return $this->requestedScopes; + } + + /** + * @return array + * @visible For Testing + */ + public function prepareScopes() + { + if (empty($this->requestedScopes)) { + return null; + } + + return implode(' ', $this->requestedScopes); + } + + /** + * Helper method to execute deferred HTTP requests. + * + * @param $request Psr\Http\Message\RequestInterface|Google_Http_Batch + * @throws Google_Exception + * @return object of the type of the expected class or Psr\Http\Message\ResponseInterface. + */ + public function execute(RequestInterface $request, $expectedClass = null) + { + $request = $request->withHeader( + 'User-Agent', + $this->config['application_name'] + . " " . self::USER_AGENT_SUFFIX + . $this->getLibraryVersion() + ); + + // call the authorize method + // this is where most of the grunt work is done + $http = $this->authorize(); + + return Google_Http_REST::execute($http, $request, $expectedClass, $this->config['retry']); + } + + /** + * Declare whether batch calls should be used. This may increase throughput + * by making multiple requests in one connection. + * + * @param boolean $useBatch True if the batch support should + * be enabled. Defaults to False. + */ + public function setUseBatch($useBatch) + { + // This is actually an alias for setDefer. + $this->setDefer($useBatch); + } + + /** + * Are we running in Google AppEngine? + * return bool + */ + public function isAppEngine() + { + return (isset($_SERVER['SERVER_SOFTWARE']) && + strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false); + } + + public function setConfig($name, $value) + { + $this->config[$name] = $value; + } + + public function getConfig($name, $default = null) + { + return isset($this->config[$name]) ? $this->config[$name] : $default; + } + + /** + * For backwards compatibility + * alias for setAuthConfig + * + * @param string $file the configuration file + * @throws Google_Exception + * @deprecated + */ + public function setAuthConfigFile($file) + { + $this->setAuthConfig($file); + } + + /** + * Set the auth config from new or deprecated JSON config. + * This structure should match the file downloaded from + * the "Download JSON" button on in the Google Developer + * Console. + * @param string|array $config the configuration json + * @throws Google_Exception + */ + public function setAuthConfig($config) + { + if (is_string($config)) { + if (!file_exists($config)) { + throw new InvalidArgumentException('file does not exist'); + } + + $json = file_get_contents($config); + + if (!$config = json_decode($json, true)) { + throw new LogicException('invalid json for auth config'); + } + } + + $key = isset($config['installed']) ? 'installed' : 'web'; + if (isset($config['type']) && $config['type'] == 'service_account') { + // application default credentials + $this->useApplicationDefaultCredentials(); + + // set the information from the config + $this->setClientId($config['client_id']); + $this->config['client_email'] = $config['client_email']; + $this->config['signing_key'] = $config['private_key']; + $this->config['signing_algorithm'] = 'HS256'; + } elseif (isset($config[$key])) { + // old-style + $this->setClientId($config[$key]['client_id']); + $this->setClientSecret($config[$key]['client_secret']); + if (isset($config[$key]['redirect_uris'])) { + $this->setRedirectUri($config[$key]['redirect_uris'][0]); + } + } else { + // new-style + $this->setClientId($config['client_id']); + $this->setClientSecret($config['client_secret']); + if (isset($config['redirect_uris'])) { + $this->setRedirectUri($config['redirect_uris'][0]); + } + } + } + + /** + * Use when the service account has been delegated domain wide access. + * + * @param string subject an email address account to impersonate + */ + public function setSubject($subject) + { + $this->config['subject'] = $subject; + } + + /** + * Declare whether making API calls should make the call immediately, or + * return a request which can be called with ->execute(); + * + * @param boolean $defer True if calls should not be executed right away. + */ + public function setDefer($defer) + { + $this->deferExecution = $defer; + } + + /** + * Whether or not to return raw requests + * @return boolean + */ + public function shouldDefer() + { + return $this->deferExecution; + } + + /** + * @return Google\Auth\OAuth2 implementation + */ + public function getOAuth2Service() + { + if (!isset($this->auth)) { + $this->auth = $this->createOAuth2Service(); + } + + return $this->auth; + } + + /** + * create a default google auth object + */ + protected function createOAuth2Service() + { + $auth = new OAuth2( + [ + 'clientId' => $this->getClientId(), + 'clientSecret' => $this->getClientSecret(), + 'authorizationUri' => self::OAUTH2_AUTH_URL, + 'tokenCredentialUri' => self::OAUTH2_TOKEN_URI, + 'redirectUri' => $this->getRedirectUri(), + 'issuer' => $this->config['client_id'], + 'signingKey' => $this->config['signing_key'], + 'signingAlgorithm' => $this->config['signing_algorithm'], + ] + ); + + return $auth; + } + + /** + * Set the Cache object + * @param Psr\Cache\CacheItemPoolInterface $cache + */ + public function setCache(CacheItemPoolInterface $cache) + { + $this->cache = $cache; + } + + /** + * @return Psr\Cache\CacheItemPoolInterface Cache implementation + */ + public function getCache() + { + if (!$this->cache) { + $this->cache = $this->createDefaultCache(); + } + + return $this->cache; + } + + /** + * @return Google\Auth\CacheInterface Cache implementation + */ + public function setCacheConfig(array $cacheConfig) + { + $this->config['cache_config'] = $cacheConfig; + } + + /** + * Set the Logger object + * @param Psr\Log\LoggerInterface $logger + */ + public function setLogger(LoggerInterface $logger) + { + $this->logger = $logger; + } + + /** + * @return Psr\Log\LoggerInterface implementation + */ + public function getLogger() + { + if (!isset($this->logger)) { + $this->logger = $this->createDefaultLogger(); + } + + return $this->logger; + } + + protected function createDefaultLogger() + { + $logger = new Logger('google-api-php-client'); + if ($this->isAppEngine()) { + $handler = new MonologSyslogHandler('app', LOG_USER, Logger::NOTICE); + } else { + $handler = new MonologStreamHandler('php://stderr', Logger::NOTICE); + } + $logger->pushHandler($handler); + + return $logger; + } + + protected function createDefaultCache() + { + return new MemoryCacheItemPool; + } + + /** + * Set the Http Client object + * @param GuzzleHttp\ClientInterface $http + */ + public function setHttpClient(ClientInterface $http) + { + $this->http = $http; + } + + /** + * @return GuzzleHttp\ClientInterface implementation + */ + public function getHttpClient() + { + if (null === $this->http) { + $this->http = $this->createDefaultHttpClient(); + } + + return $this->http; + } + + protected function createDefaultHttpClient() + { + $options = ['exceptions' => false]; + + $version = ClientInterface::VERSION; + if ('5' === $version[0]) { + $options = [ + 'base_url' => $this->config['base_path'], + 'defaults' => $options, + ]; + if ($this->isAppEngine()) { + // set StreamHandler on AppEngine by default + $options['handler'] = new StreamHandler(); + $options['defaults']['verify'] = '/etc/ca-certificates.crt'; + } + } else { + // guzzle 6 + $options['base_uri'] = $this->config['base_path']; + } + + return new Client($options); + } + + private function createApplicationDefaultCredentials() + { + $scopes = $this->prepareScopes(); + $sub = $this->config['subject']; + $signingKey = $this->config['signing_key']; + + // create credentials using values supplied in setAuthConfig + if ($signingKey) { + $serviceAccountCredentials = array( + 'client_id' => $this->config['client_id'], + 'client_email' => $this->config['client_email'], + 'private_key' => $signingKey, + 'type' => 'service_account', + ); + $credentials = CredentialsLoader::makeCredentials($scopes, $serviceAccountCredentials); + } else { + $credentials = ApplicationDefaultCredentials::getCredentials($scopes); + } + + // for service account domain-wide authority (impersonating a user) + // @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount + if ($sub) { + if (!$credentials instanceof ServiceAccountCredentials) { + throw new DomainException('domain-wide authority requires service account credentials'); + } + + $credentials->setSub($sub); + } + + return $credentials; + } + + protected function getAuthHandler() + { + // Be very careful using the cache, as the underlying auth library's cache + // implementation is naive, and the cache keys do not account for user + // sessions. + // + // @see https://github.com/google/google-api-php-client/issues/821 + return Google_AuthHandler_AuthHandlerFactory::build( + $this->getCache(), + $this->config['cache_config'] + ); + } + + private function createUserRefreshCredentials($scope, $refreshToken) + { + $creds = array_filter( + array( + 'client_id' => $this->getClientId(), + 'client_secret' => $this->getClientSecret(), + 'refresh_token' => $refreshToken, + ) + ); + + return new UserRefreshCredentials($scope, $creds); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Collection.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Collection.php new file mode 100644 index 00000000..7c478bc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Collection.php @@ -0,0 +1,101 @@ +modelData[$this->collection_key]) + && is_array($this->modelData[$this->collection_key])) { + reset($this->modelData[$this->collection_key]); + } + } + + public function current() + { + $this->coerceType($this->key()); + if (is_array($this->modelData[$this->collection_key])) { + return current($this->modelData[$this->collection_key]); + } + } + + public function key() + { + if (isset($this->modelData[$this->collection_key]) + && is_array($this->modelData[$this->collection_key])) { + return key($this->modelData[$this->collection_key]); + } + } + + public function next() + { + return next($this->modelData[$this->collection_key]); + } + + public function valid() + { + $key = $this->key(); + return $key !== null && $key !== false; + } + + public function count() + { + if (!isset($this->modelData[$this->collection_key])) { + return 0; + } + return count($this->modelData[$this->collection_key]); + } + + public function offsetExists($offset) + { + if (!is_numeric($offset)) { + return parent::offsetExists($offset); + } + return isset($this->modelData[$this->collection_key][$offset]); + } + + public function offsetGet($offset) + { + if (!is_numeric($offset)) { + return parent::offsetGet($offset); + } + $this->coerceType($offset); + return $this->modelData[$this->collection_key][$offset]; + } + + public function offsetSet($offset, $value) + { + if (!is_numeric($offset)) { + return parent::offsetSet($offset, $value); + } + $this->modelData[$this->collection_key][$offset] = $value; + } + + public function offsetUnset($offset) + { + if (!is_numeric($offset)) { + return parent::offsetUnset($offset); + } + unset($this->modelData[$this->collection_key][$offset]); + } + + private function coerceType($offset) + { + $typeKey = $this->keyType($this->collection_key); + if (isset($this->$typeKey) && !is_object($this->modelData[$this->collection_key][$offset])) { + $type = $this->$typeKey; + $this->modelData[$this->collection_key][$offset] = + new $type($this->modelData[$this->collection_key][$offset]); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Exception.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Exception.php new file mode 100644 index 00000000..af802697 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Exception.php @@ -0,0 +1,20 @@ +client = $client; + $this->boundary = $boundary ?: mt_rand(); + $this->rootUrl = rtrim($rootUrl ?: $this->client->getConfig('base_path'), '/'); + $this->batchPath = $batchPath ?: self::BATCH_PATH; + } + + public function add(RequestInterface $request, $key = false) + { + if (false == $key) { + $key = mt_rand(); + } + + $this->requests[$key] = $request; + } + + public function execute() + { + $body = ''; + $classes = array(); + $batchHttpTemplate = <<requests as $key => $request) { + $firstLine = sprintf( + '%s %s HTTP/%s', + $request->getMethod(), + $request->getRequestTarget(), + $request->getProtocolVersion() + ); + + $content = (string) $request->getBody(); + + $headers = ''; + foreach ($request->getHeaders() as $name => $values) { + $headers .= sprintf("%s:%s\r\n", $name, implode(', ', $values)); + } + + $body .= sprintf( + $batchHttpTemplate, + $this->boundary, + $key, + $firstLine, + $headers, + $content ? "\n".$content : '' + ); + + $classes['response-' . $key] = $request->getHeaderLine('X-Php-Expected-Class'); + } + + $body .= "--{$this->boundary}--"; + $body = trim($body); + $url = $this->rootUrl . '/' . $this->batchPath; + $headers = array( + 'Content-Type' => sprintf('multipart/mixed; boundary=%s', $this->boundary), + 'Content-Length' => strlen($body), + ); + + $request = new Request( + 'POST', + $url, + $headers, + $body + ); + + $response = $this->client->execute($request); + + return $this->parseResponse($response, $classes); + } + + public function parseResponse(ResponseInterface $response, $classes = array()) + { + $contentType = $response->getHeaderLine('content-type'); + $contentType = explode(';', $contentType); + $boundary = false; + foreach ($contentType as $part) { + $part = explode('=', $part, 2); + if (isset($part[0]) && 'boundary' == trim($part[0])) { + $boundary = $part[1]; + } + } + + $body = (string) $response->getBody(); + if (!empty($body)) { + $body = str_replace("--$boundary--", "--$boundary", $body); + $parts = explode("--$boundary", $body); + $responses = array(); + $requests = array_values($this->requests); + + foreach ($parts as $i => $part) { + $part = trim($part); + if (!empty($part)) { + list($rawHeaders, $part) = explode("\r\n\r\n", $part, 2); + $headers = $this->parseRawHeaders($rawHeaders); + + $status = substr($part, 0, strpos($part, "\n")); + $status = explode(" ", $status); + $status = $status[1]; + + list($partHeaders, $partBody) = $this->parseHttpResponse($part, false); + $response = new Response( + $status, + $partHeaders, + Psr7\stream_for($partBody) + ); + + // Need content id. + $key = $headers['content-id']; + + try { + $response = Google_Http_REST::decodeHttpResponse($response, $requests[$i-1]); + } catch (Google_Service_Exception $e) { + // Store the exception as the response, so successful responses + // can be processed. + $response = $e; + } + + $responses[$key] = $response; + } + } + + return $responses; + } + + return null; + } + + private function parseRawHeaders($rawHeaders) + { + $headers = array(); + $responseHeaderLines = explode("\r\n", $rawHeaders); + foreach ($responseHeaderLines as $headerLine) { + if ($headerLine && strpos($headerLine, ':') !== false) { + list($header, $value) = explode(': ', $headerLine, 2); + $header = strtolower($header); + if (isset($headers[$header])) { + $headers[$header] .= "\n" . $value; + } else { + $headers[$header] = $value; + } + } + } + return $headers; + } + + /** + * Used by the IO lib and also the batch processing. + * + * @param $respData + * @param $headerSize + * @return array + */ + private function parseHttpResponse($respData, $headerSize) + { + // check proxy header + foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) { + if (stripos($respData, $established_header) !== false) { + // existed, remove it + $respData = str_ireplace($established_header, '', $respData); + // Subtract the proxy header size unless the cURL bug prior to 7.30.0 + // is present which prevented the proxy header size from being taken into + // account. + // @TODO look into this + // if (!$this->needsQuirk()) { + // $headerSize -= strlen($established_header); + // } + break; + } + } + + if ($headerSize) { + $responseBody = substr($respData, $headerSize); + $responseHeaders = substr($respData, 0, $headerSize); + } else { + $responseSegments = explode("\r\n\r\n", $respData, 2); + $responseHeaders = $responseSegments[0]; + $responseBody = isset($responseSegments[1]) ? $responseSegments[1] : + null; + } + + $responseHeaders = $this->parseRawHeaders($responseHeaders); + + return array($responseHeaders, $responseBody); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php new file mode 100644 index 00000000..bd38a71b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/MediaFileUpload.php @@ -0,0 +1,348 @@ +client = $client; + $this->request = $request; + $this->mimeType = $mimeType; + $this->data = $data; + $this->resumable = $resumable; + $this->chunkSize = $chunkSize; + $this->progress = 0; + + $this->process(); + } + + /** + * Set the size of the file that is being uploaded. + * @param $size - int file size in bytes + */ + public function setFileSize($size) + { + $this->size = $size; + } + + /** + * Return the progress on the upload + * @return int progress in bytes uploaded. + */ + public function getProgress() + { + return $this->progress; + } + + /** + * Send the next part of the file to upload. + * @param [$chunk] the next set of bytes to send. If false will used $data passed + * at construct time. + */ + public function nextChunk($chunk = false) + { + $resumeUri = $this->getResumeUri(); + + if (false == $chunk) { + $chunk = substr($this->data, $this->progress, $this->chunkSize); + } + + $lastBytePos = $this->progress + strlen($chunk) - 1; + $headers = array( + 'content-range' => "bytes $this->progress-$lastBytePos/$this->size", + 'content-length' => strlen($chunk), + 'expect' => '', + ); + + $request = new Request( + 'PUT', + $resumeUri, + $headers, + Psr7\stream_for($chunk) + ); + + return $this->makePutRequest($request); + } + + /** + * Return the HTTP result code from the last call made. + * @return int code + */ + public function getHttpResultCode() + { + return $this->httpResultCode; + } + + /** + * Sends a PUT-Request to google drive and parses the response, + * setting the appropiate variables from the response() + * + * @param Google_Http_Request $httpRequest the Reuqest which will be send + * + * @return false|mixed false when the upload is unfinished or the decoded http response + * + */ + private function makePutRequest(RequestInterface $request) + { + $response = $this->client->execute($request); + $this->httpResultCode = $response->getStatusCode(); + + if (308 == $this->httpResultCode) { + // Track the amount uploaded. + $range = explode('-', $response->getHeaderLine('range')); + $this->progress = $range[1] + 1; + + // Allow for changing upload URLs. + $location = $response->getHeaderLine('location'); + if ($location) { + $this->resumeUri = $location; + } + + // No problems, but upload not complete. + return false; + } + + return Google_Http_REST::decodeHttpResponse($response, $this->request); + } + + /** + * Resume a previously unfinished upload + * @param $resumeUri the resume-URI of the unfinished, resumable upload. + */ + public function resume($resumeUri) + { + $this->resumeUri = $resumeUri; + $headers = array( + 'content-range' => "bytes */$this->size", + 'content-length' => 0, + ); + $httpRequest = new Request( + 'PUT', + $this->resumeUri, + $headers + ); + + return $this->makePutRequest($httpRequest); + } + + /** + * @return Psr\Http\Message\RequestInterface $request + * @visible for testing + */ + private function process() + { + $this->transformToUploadUrl(); + $request = $this->request; + + $postBody = ''; + $contentType = false; + + $meta = (string) $request->getBody(); + $meta = is_string($meta) ? json_decode($meta, true) : $meta; + + $uploadType = $this->getUploadType($meta); + $request = $request->withUri( + Uri::withQueryValue($request->getUri(), 'uploadType', $uploadType) + ); + + $mimeType = $this->mimeType ?: $request->getHeaderLine('content-type'); + + if (self::UPLOAD_RESUMABLE_TYPE == $uploadType) { + $contentType = $mimeType; + $postBody = is_string($meta) ? $meta : json_encode($meta); + } else if (self::UPLOAD_MEDIA_TYPE == $uploadType) { + $contentType = $mimeType; + $postBody = $this->data; + } else if (self::UPLOAD_MULTIPART_TYPE == $uploadType) { + // This is a multipart/related upload. + $boundary = $this->boundary ?: mt_rand(); + $boundary = str_replace('"', '', $boundary); + $contentType = 'multipart/related; boundary=' . $boundary; + $related = "--$boundary\r\n"; + $related .= "Content-Type: application/json; charset=UTF-8\r\n"; + $related .= "\r\n" . json_encode($meta) . "\r\n"; + $related .= "--$boundary\r\n"; + $related .= "Content-Type: $mimeType\r\n"; + $related .= "Content-Transfer-Encoding: base64\r\n"; + $related .= "\r\n" . base64_encode($this->data) . "\r\n"; + $related .= "--$boundary--"; + $postBody = $related; + } + + $request = $request->withBody(Psr7\stream_for($postBody)); + + if (isset($contentType) && $contentType) { + $request = $request->withHeader('content-type', $contentType); + } + + return $this->request = $request; + } + + /** + * Valid upload types: + * - resumable (UPLOAD_RESUMABLE_TYPE) + * - media (UPLOAD_MEDIA_TYPE) + * - multipart (UPLOAD_MULTIPART_TYPE) + * @param $meta + * @return string + * @visible for testing + */ + public function getUploadType($meta) + { + if ($this->resumable) { + return self::UPLOAD_RESUMABLE_TYPE; + } + + if (false == $meta && $this->data) { + return self::UPLOAD_MEDIA_TYPE; + } + + return self::UPLOAD_MULTIPART_TYPE; + } + + public function getResumeUri() + { + if (null === $this->resumeUri) { + $this->resumeUri = $this->fetchResumeUri(); + } + + return $this->resumeUri; + } + + private function fetchResumeUri() + { + $body = $this->request->getBody(); + if ($body) { + $headers = array( + 'content-type' => 'application/json; charset=UTF-8', + 'content-length' => $body->getSize(), + 'x-upload-content-type' => $this->mimeType, + 'x-upload-content-length' => $this->size, + 'expect' => '', + ); + foreach ($headers as $key => $value) { + $this->request = $this->request->withHeader($key, $value); + } + } + + $response = $this->client->execute($this->request, false); + $location = $response->getHeaderLine('location'); + $code = $response->getStatusCode(); + + if (200 == $code && true == $location) { + return $location; + } + + $message = $code; + $body = json_decode((string) $this->request->getBody(), true); + if (isset($body['error']['errors'])) { + $message .= ': '; + foreach ($body['error']['errors'] as $error) { + $message .= "{$error[domain]}, {$error[message]};"; + } + $message = rtrim($message, ';'); + } + + $error = "Failed to start the resumable upload (HTTP {$message})"; + $this->client->getLogger()->error($error); + + throw new Google_Exception($error); + } + + private function transformToUploadUrl() + { + $parts = parse_url((string) $this->request->getUri()); + if (!isset($parts['path'])) { + $parts['path'] = ''; + } + $parts['path'] = '/upload' . $parts['path']; + $uri = Uri::fromParts($parts); + $this->request = $this->request->withUri($uri); + } + + public function setChunkSize($chunkSize) + { + $this->chunkSize = $chunkSize; + } + + public function getRequest() + { + return $this->request; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php new file mode 100644 index 00000000..c2156a2e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Http/REST.php @@ -0,0 +1,182 @@ +getMethod(), (string) $request->getUri()), + array(get_class(), 'doExecute'), + array($client, $request, $expectedClass) + ); + + if (null !== $retryMap) { + $runner->setRetryMap($retryMap); + } + + return $runner->run(); + } + + /** + * Executes a Psr\Http\Message\RequestInterface + * + * @param Google_Client $client + * @param Psr\Http\Message\RequestInterface $request + * @return array decoded result + * @throws Google_Service_Exception on server side error (ie: not authenticated, + * invalid or malformed post body, invalid url) + */ + public static function doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null) + { + try { + $httpHandler = HttpHandlerFactory::build($client); + $response = $httpHandler($request); + } catch (RequestException $e) { + // if Guzzle throws an exception, catch it and handle the response + if (!$e->hasResponse()) { + throw $e; + } + + $response = $e->getResponse(); + // specific checking for Guzzle 5: convert to PSR7 response + if ($response instanceof \GuzzleHttp\Message\ResponseInterface) { + $response = new Response( + $response->getStatusCode(), + $response->getHeaders() ?: [], + $response->getBody(), + $response->getProtocolVersion(), + $response->getReasonPhrase() + ); + } + } + + return self::decodeHttpResponse($response, $request, $expectedClass); + } + + /** + * Decode an HTTP Response. + * @static + * @throws Google_Service_Exception + * @param Psr\Http\Message\RequestInterface $response The http response to be decoded. + * @param Psr\Http\Message\ResponseInterface $response + * @return mixed|null + */ + public static function decodeHttpResponse( + ResponseInterface $response, + RequestInterface $request = null, + $expectedClass = null + ) { + $code = $response->getStatusCode(); + + // retry strategy + if (intVal($code) >= 400) { + // if we errored out, it should be safe to grab the response body + $body = (string) $response->getBody(); + + // Check if we received errors, and add those to the Exception for convenience + throw new Google_Service_Exception($body, $code, null, self::getResponseErrors($body)); + } + + // Ensure we only pull the entire body into memory if the request is not + // of media type + $body = self::decodeBody($response, $request); + + if ($expectedClass = self::determineExpectedClass($expectedClass, $request)) { + $json = json_decode($body, true); + + return new $expectedClass($json); + } + + return $response; + } + + private static function decodeBody(ResponseInterface $response, RequestInterface $request = null) + { + if (self::isAltMedia($request)) { + // don't decode the body, it's probably a really long string + return ''; + } + + return (string) $response->getBody(); + } + + private static function determineExpectedClass($expectedClass, RequestInterface $request = null) + { + // "false" is used to explicitly prevent an expected class from being returned + if (false === $expectedClass) { + return null; + } + + // if we don't have a request, we just use what's passed in + if (null === $request) { + return $expectedClass; + } + + // return what we have in the request header if one was not supplied + return $expectedClass ?: $request->getHeaderLine('X-Php-Expected-Class'); + } + + private static function getResponseErrors($body) + { + $json = json_decode($body, true); + + if (isset($json['error']['errors'])) { + return $json['error']['errors']; + } + + return null; + } + + private static function isAltMedia(RequestInterface $request = null) + { + if ($request && $qs = $request->getUri()->getQuery()) { + parse_str($qs, $query); + if (isset($query['alt']) && $query['alt'] == 'media') { + return true; + } + } + + return false; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Model.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Model.php new file mode 100644 index 00000000..cd50c9a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Model.php @@ -0,0 +1,307 @@ +mapTypes($array); + } + $this->gapiInit(); + } + + /** + * Getter that handles passthrough access to the data array, and lazy object creation. + * @param string $key Property name. + * @return mixed The value if any, or null. + */ + public function __get($key) + { + $keyTypeName = $this->keyType($key); + $keyDataType = $this->dataType($key); + if (isset($this->$keyTypeName) && !isset($this->processed[$key])) { + if (isset($this->modelData[$key])) { + $val = $this->modelData[$key]; + } else if (isset($this->$keyDataType) && + ($this->$keyDataType == 'array' || $this->$keyDataType == 'map')) { + $val = array(); + } else { + $val = null; + } + + if ($this->isAssociativeArray($val)) { + if (isset($this->$keyDataType) && 'map' == $this->$keyDataType) { + foreach ($val as $arrayKey => $arrayItem) { + $this->modelData[$key][$arrayKey] = + $this->createObjectFromName($keyTypeName, $arrayItem); + } + } else { + $this->modelData[$key] = $this->createObjectFromName($keyTypeName, $val); + } + } else if (is_array($val)) { + $arrayObject = array(); + foreach ($val as $arrayIndex => $arrayItem) { + $arrayObject[$arrayIndex] = + $this->createObjectFromName($keyTypeName, $arrayItem); + } + $this->modelData[$key] = $arrayObject; + } + $this->processed[$key] = true; + } + + return isset($this->modelData[$key]) ? $this->modelData[$key] : null; + } + + /** + * Initialize this object's properties from an array. + * + * @param array $array Used to seed this object's properties. + * @return void + */ + protected function mapTypes($array) + { + // Hard initialise simple types, lazy load more complex ones. + foreach ($array as $key => $val) { + if ( !property_exists($this, $this->keyType($key)) && + property_exists($this, $key)) { + $this->$key = $val; + unset($array[$key]); + } elseif (property_exists($this, $camelKey = $this->camelCase($key))) { + // This checks if property exists as camelCase, leaving it in array as snake_case + // in case of backwards compatibility issues. + $this->$camelKey = $val; + } + } + $this->modelData = $array; + } + + /** + * Blank initialiser to be used in subclasses to do post-construction initialisation - this + * avoids the need for subclasses to have to implement the variadics handling in their + * constructors. + */ + protected function gapiInit() + { + return; + } + + /** + * Create a simplified object suitable for straightforward + * conversion to JSON. This is relatively expensive + * due to the usage of reflection, but shouldn't be called + * a whole lot, and is the most straightforward way to filter. + */ + public function toSimpleObject() + { + $object = new stdClass(); + + // Process all other data. + foreach ($this->modelData as $key => $val) { + $result = $this->getSimpleValue($val); + if ($result !== null) { + $object->$key = $this->nullPlaceholderCheck($result); + } + } + + // Process all public properties. + $reflect = new ReflectionObject($this); + $props = $reflect->getProperties(ReflectionProperty::IS_PUBLIC); + foreach ($props as $member) { + $name = $member->getName(); + $result = $this->getSimpleValue($this->$name); + if ($result !== null) { + $name = $this->getMappedName($name); + $object->$name = $this->nullPlaceholderCheck($result); + } + } + + return $object; + } + + /** + * Handle different types of values, primarily + * other objects and map and array data types. + */ + private function getSimpleValue($value) + { + if ($value instanceof Google_Model) { + return $value->toSimpleObject(); + } else if (is_array($value)) { + $return = array(); + foreach ($value as $key => $a_value) { + $a_value = $this->getSimpleValue($a_value); + if ($a_value !== null) { + $key = $this->getMappedName($key); + $return[$key] = $this->nullPlaceholderCheck($a_value); + } + } + return $return; + } + return $value; + } + + /** + * Check whether the value is the null placeholder and return true null. + */ + private function nullPlaceholderCheck($value) + { + if ($value === self::NULL_VALUE) { + return null; + } + return $value; + } + + /** + * If there is an internal name mapping, use that. + */ + private function getMappedName($key) + { + if (isset($this->internal_gapi_mappings, $this->internal_gapi_mappings[$key])) { + $key = $this->internal_gapi_mappings[$key]; + } + return $key; + } + + /** + * Returns true only if the array is associative. + * @param array $array + * @return bool True if the array is associative. + */ + protected function isAssociativeArray($array) + { + if (!is_array($array)) { + return false; + } + $keys = array_keys($array); + foreach ($keys as $key) { + if (is_string($key)) { + return true; + } + } + return false; + } + + /** + * Given a variable name, discover its type. + * + * @param $name + * @param $item + * @return object The object from the item. + */ + private function createObjectFromName($name, $item) + { + $type = $this->$name; + return new $type($item); + } + + /** + * Verify if $obj is an array. + * @throws Google_Exception Thrown if $obj isn't an array. + * @param array $obj Items that should be validated. + * @param string $method Method expecting an array as an argument. + */ + public function assertIsArray($obj, $method) + { + if ($obj && !is_array($obj)) { + throw new Google_Exception( + "Incorrect parameter type passed to $method(). Expected an array." + ); + } + } + + public function offsetExists($offset) + { + return isset($this->$offset) || isset($this->modelData[$offset]); + } + + public function offsetGet($offset) + { + return isset($this->$offset) ? + $this->$offset : + $this->__get($offset); + } + + public function offsetSet($offset, $value) + { + if (property_exists($this, $offset)) { + $this->$offset = $value; + } else { + $this->modelData[$offset] = $value; + $this->processed[$offset] = true; + } + } + + public function offsetUnset($offset) + { + unset($this->modelData[$offset]); + } + + protected function keyType($key) + { + return $key . "Type"; + } + + protected function dataType($key) + { + return $key . "DataType"; + } + + public function __isset($key) + { + return isset($this->modelData[$key]); + } + + public function __unset($key) + { + unset($this->modelData[$key]); + } + + /** + * Convert a string to camelCase + * @param string $value + * @return string + */ + private function camelCase($value) + { + $value = ucwords(str_replace(array('-', '_'), ' ', $value)); + $value = str_replace(' ', '', $value); + $value[0] = strtolower($value[0]); + return $value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service.php new file mode 100644 index 00000000..d3fd3b49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service.php @@ -0,0 +1,56 @@ +client = $client; + } + + /** + * Return the associated Google_Client class. + * @return Google_Client + */ + public function getClient() + { + return $this->client; + } + + /** + * Create a new HTTP Batch handler for this service + * + * @return Google_Http_Batch + */ + public function createBatch() + { + return new Google_Http_Batch( + $this->client, + false, + $this->rootUrl, + $this->batchPath + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php new file mode 100644 index 00000000..abfd3f7f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Exception.php @@ -0,0 +1,68 @@ += 0) { + parent::__construct($message, $code, $previous); + } else { + parent::__construct($message, $code); + } + + $this->errors = $errors; + } + + /** + * An example of the possible errors returned. + * + * { + * "domain": "global", + * "reason": "authError", + * "message": "Invalid Credentials", + * "locationType": "header", + * "location": "Authorization", + * } + * + * @return [{string, string}] List of errors return in an HTTP response or []. + */ + public function getErrors() + { + return $this->errors; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md new file mode 100644 index 00000000..0de48620 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/README.md @@ -0,0 +1,5 @@ +# Google API Client Services + +Google API Client Service classes have been moved to the +[google-api-php-client-services](https://github.com/google/google-api-php-client-services) +repository. diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php new file mode 100644 index 00000000..a3c57ee2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Service/Resource.php @@ -0,0 +1,296 @@ + array('type' => 'string', 'location' => 'query'), + 'fields' => array('type' => 'string', 'location' => 'query'), + 'trace' => array('type' => 'string', 'location' => 'query'), + 'userIp' => array('type' => 'string', 'location' => 'query'), + 'quotaUser' => array('type' => 'string', 'location' => 'query'), + 'data' => array('type' => 'string', 'location' => 'body'), + 'mimeType' => array('type' => 'string', 'location' => 'header'), + 'uploadType' => array('type' => 'string', 'location' => 'query'), + 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), + 'prettyPrint' => array('type' => 'string', 'location' => 'query'), + ); + + /** @var string $rootUrl */ + private $rootUrl; + + /** @var Google_Client $client */ + private $client; + + /** @var string $serviceName */ + private $serviceName; + + /** @var string $servicePath */ + private $servicePath; + + /** @var string $resourceName */ + private $resourceName; + + /** @var array $methods */ + private $methods; + + public function __construct($service, $serviceName, $resourceName, $resource) + { + $this->rootUrl = $service->rootUrl; + $this->client = $service->getClient(); + $this->servicePath = $service->servicePath; + $this->serviceName = $serviceName; + $this->resourceName = $resourceName; + $this->methods = is_array($resource) && isset($resource['methods']) ? + $resource['methods'] : + array($resourceName => $resource); + } + + /** + * TODO: This function needs simplifying. + * @param $name + * @param $arguments + * @param $expectedClass - optional, the expected class name + * @return Google_Http_Request|expectedClass + * @throws Google_Exception + */ + public function call($name, $arguments, $expectedClass = null) + { + if (! isset($this->methods[$name])) { + $this->client->getLogger()->error( + 'Service method unknown', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name + ) + ); + + throw new Google_Exception( + "Unknown function: " . + "{$this->serviceName}->{$this->resourceName}->{$name}()" + ); + } + $method = $this->methods[$name]; + $parameters = $arguments[0]; + + // postBody is a special case since it's not defined in the discovery + // document as parameter, but we abuse the param entry for storing it. + $postBody = null; + if (isset($parameters['postBody'])) { + if ($parameters['postBody'] instanceof Google_Model) { + // In the cases the post body is an existing object, we want + // to use the smart method to create a simple object for + // for JSONification. + $parameters['postBody'] = $parameters['postBody']->toSimpleObject(); + } else if (is_object($parameters['postBody'])) { + // If the post body is another kind of object, we will try and + // wrangle it into a sensible format. + $parameters['postBody'] = + $this->convertToArrayAndStripNulls($parameters['postBody']); + } + $postBody = (array) $parameters['postBody']; + unset($parameters['postBody']); + } + + // TODO: optParams here probably should have been + // handled already - this may well be redundant code. + if (isset($parameters['optParams'])) { + $optParams = $parameters['optParams']; + unset($parameters['optParams']); + $parameters = array_merge($parameters, $optParams); + } + + if (!isset($method['parameters'])) { + $method['parameters'] = array(); + } + + $method['parameters'] = array_merge( + $this->stackParameters, + $method['parameters'] + ); + + foreach ($parameters as $key => $val) { + if ($key != 'postBody' && ! isset($method['parameters'][$key])) { + $this->client->getLogger()->error( + 'Service parameter unknown', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'parameter' => $key + ) + ); + throw new Google_Exception("($name) unknown parameter: '$key'"); + } + } + + foreach ($method['parameters'] as $paramName => $paramSpec) { + if (isset($paramSpec['required']) && + $paramSpec['required'] && + ! isset($parameters[$paramName]) + ) { + $this->client->getLogger()->error( + 'Service parameter missing', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'parameter' => $paramName + ) + ); + throw new Google_Exception("($name) missing required param: '$paramName'"); + } + if (isset($parameters[$paramName])) { + $value = $parameters[$paramName]; + $parameters[$paramName] = $paramSpec; + $parameters[$paramName]['value'] = $value; + unset($parameters[$paramName]['required']); + } else { + // Ensure we don't pass nulls. + unset($parameters[$paramName]); + } + } + + $this->client->getLogger()->info( + 'Service Call', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'arguments' => $parameters, + ) + ); + + // build the service uri + $url = $this->createRequestUri( + $method['path'], + $parameters + ); + + // NOTE: because we're creating the request by hand, + // and because the service has a rootUrl property + // the "base_uri" of the Http Client is not accounted for + $request = new Request( + $method['httpMethod'], + $url, + ['content-type' => 'application/json'], + $postBody ? json_encode($postBody) : '' + ); + + // support uploads + if (isset($parameters['data'])) { + $mimeType = isset($parameters['mimeType']) + ? $parameters['mimeType']['value'] + : 'application/octet-stream'; + $data = $parameters['data']['value']; + $upload = new Google_Http_MediaFileUpload($this->client, $request, $mimeType, $data); + + // pull down the modified request + $request = $upload->getRequest(); + } + + // if this is a media type, we will return the raw response + // rather than using an expected class + if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') { + $expectedClass = null; + } + + // if the client is marked for deferring, rather than + // execute the request, return the response + if ($this->client->shouldDefer()) { + // @TODO find a better way to do this + $request = $request + ->withHeader('X-Php-Expected-Class', $expectedClass); + + return $request; + } + + return $this->client->execute($request, $expectedClass); + } + + protected function convertToArrayAndStripNulls($o) + { + $o = (array) $o; + foreach ($o as $k => $v) { + if ($v === null) { + unset($o[$k]); + } elseif (is_object($v) || is_array($v)) { + $o[$k] = $this->convertToArrayAndStripNulls($o[$k]); + } + } + return $o; + } + + /** + * Parse/expand request parameters and create a fully qualified + * request uri. + * @static + * @param string $restPath + * @param array $params + * @return string $requestUrl + */ + public function createRequestUri($restPath, $params) + { + // code for leading slash + $requestUrl = $this->servicePath . $restPath; + if ($this->rootUrl) { + if ('/' !== substr($this->rootUrl, -1) && '/' !== substr($requestUrl, 0, 1)) { + $requestUrl = '/' . $requestUrl; + } + $requestUrl = $this->rootUrl . $requestUrl; + } + $uriTemplateVars = array(); + $queryVars = array(); + foreach ($params as $paramName => $paramSpec) { + if ($paramSpec['type'] == 'boolean') { + $paramSpec['value'] = $paramSpec['value'] ? 'true' : 'false'; + } + if ($paramSpec['location'] == 'path') { + $uriTemplateVars[$paramName] = $paramSpec['value']; + } else if ($paramSpec['location'] == 'query') { + if (isset($paramSpec['repeated']) && is_array($paramSpec['value'])) { + foreach ($paramSpec['value'] as $value) { + $queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($value)); + } + } else { + $queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($paramSpec['value'])); + } + } + } + + if (count($uriTemplateVars)) { + $uriTemplateParser = new Google_Utils_UriTemplate(); + $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars); + } + + if (count($queryVars)) { + $requestUrl .= '?' . implode($queryVars, '&'); + } + + return $requestUrl; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php new file mode 100644 index 00000000..5422e6fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Task/Exception.php @@ -0,0 +1,20 @@ + self::TASK_RETRY_ALWAYS, + '503' => self::TASK_RETRY_ALWAYS, + 'rateLimitExceeded' => self::TASK_RETRY_ALWAYS, + 'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS, + 6 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_RESOLVE_HOST + 7 => self::TASK_RETRY_ALWAYS, // CURLE_COULDNT_CONNECT + 28 => self::TASK_RETRY_ALWAYS, // CURLE_OPERATION_TIMEOUTED + 35 => self::TASK_RETRY_ALWAYS, // CURLE_SSL_CONNECT_ERROR + 52 => self::TASK_RETRY_ALWAYS // CURLE_GOT_NOTHING + ]; + + /** + * Creates a new task runner with exponential backoff support. + * + * @param array $config The task runner config + * @param string $name The name of the current task (used for logging) + * @param callable $action The task to run and possibly retry + * @param array $arguments The task arguments + * @throws Google_Task_Exception when misconfigured + */ + public function __construct( + $config, + $name, + $action, + array $arguments = array() + ) { + if (isset($config['initial_delay'])) { + if ($config['initial_delay'] < 0) { + throw new Google_Task_Exception( + 'Task configuration `initial_delay` must not be negative.' + ); + } + + $this->delay = $config['initial_delay']; + } + + if (isset($config['max_delay'])) { + if ($config['max_delay'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `max_delay` must be greater than 0.' + ); + } + + $this->maxDelay = $config['max_delay']; + } + + if (isset($config['factor'])) { + if ($config['factor'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `factor` must be greater than 0.' + ); + } + + $this->factor = $config['factor']; + } + + if (isset($config['jitter'])) { + if ($config['jitter'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `jitter` must be greater than 0.' + ); + } + + $this->jitter = $config['jitter']; + } + + if (isset($config['retries'])) { + if ($config['retries'] < 0) { + throw new Google_Task_Exception( + 'Task configuration `retries` must not be negative.' + ); + } + $this->maxAttempts += $config['retries']; + } + + if (!is_callable($action)) { + throw new Google_Task_Exception( + 'Task argument `$action` must be a valid callable.' + ); + } + + $this->action = $action; + $this->arguments = $arguments; + } + + /** + * Checks if a retry can be attempted. + * + * @return boolean + */ + public function canAttempt() + { + return $this->attempts < $this->maxAttempts; + } + + /** + * Runs the task and (if applicable) automatically retries when errors occur. + * + * @return mixed + * @throws Google_Task_Retryable on failure when no retries are available. + */ + public function run() + { + while ($this->attempt()) { + try { + return call_user_func_array($this->action, $this->arguments); + } catch (Google_Service_Exception $exception) { + $allowedRetries = $this->allowedRetries( + $exception->getCode(), + $exception->getErrors() + ); + + if (!$this->canAttempt() || !$allowedRetries) { + throw $exception; + } + + if ($allowedRetries > 0) { + $this->maxAttempts = min( + $this->maxAttempts, + $this->attempts + $allowedRetries + ); + } + } + } + } + + /** + * Runs a task once, if possible. This is useful for bypassing the `run()` + * loop. + * + * NOTE: If this is not the first attempt, this function will sleep in + * accordance to the backoff configurations before running the task. + * + * @return boolean + */ + public function attempt() + { + if (!$this->canAttempt()) { + return false; + } + + if ($this->attempts > 0) { + $this->backOff(); + } + + $this->attempts++; + return true; + } + + /** + * Sleeps in accordance to the backoff configurations. + */ + private function backOff() + { + $delay = $this->getDelay(); + + usleep($delay * 1000000); + } + + /** + * Gets the delay (in seconds) for the current backoff period. + * + * @return float + */ + private function getDelay() + { + $jitter = $this->getJitter(); + $factor = $this->attempts > 1 ? $this->factor + $jitter : 1 + abs($jitter); + + return $this->delay = min($this->maxDelay, $this->delay * $factor); + } + + /** + * Gets the current jitter (random number between -$this->jitter and + * $this->jitter). + * + * @return float + */ + private function getJitter() + { + return $this->jitter * 2 * mt_rand() / mt_getrandmax() - $this->jitter; + } + + /** + * Gets the number of times the associated task can be retried. + * + * NOTE: -1 is returned if the task can be retried indefinitely + * + * @return integer + */ + public function allowedRetries($code, $errors = array()) + { + if (isset($this->retryMap[$code])) { + return $this->retryMap[$code]; + } + + if ( + !empty($errors) && + isset($errors[0]['reason'], $this->retryMap[$errors[0]['reason']]) + ) { + return $this->retryMap[$errors[0]['reason']]; + } + + return 0; + } + + public function setRetryMap($retryMap) + { + $this->retryMap = $retryMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php new file mode 100644 index 00000000..e59fe9f2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/Utils/UriTemplate.php @@ -0,0 +1,333 @@ + "reserved", + "/" => "segments", + "." => "dotprefix", + "#" => "fragment", + ";" => "semicolon", + "?" => "form", + "&" => "continuation" + ); + + /** + * @var reserved array + * These are the characters which should not be URL encoded in reserved + * strings. + */ + private $reserved = array( + "=", ",", "!", "@", "|", ":", "/", "?", "#", + "[", "]",'$', "&", "'", "(", ")", "*", "+", ";" + ); + private $reservedEncoded = array( + "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", + "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", + "%2A", "%2B", "%3B" + ); + + public function parse($string, array $parameters) + { + return $this->resolveNextSection($string, $parameters); + } + + /** + * This function finds the first matching {...} block and + * executes the replacement. It then calls itself to find + * subsequent blocks, if any. + */ + private function resolveNextSection($string, $parameters) + { + $start = strpos($string, "{"); + if ($start === false) { + return $string; + } + $end = strpos($string, "}"); + if ($end === false) { + return $string; + } + $string = $this->replace($string, $start, $end, $parameters); + return $this->resolveNextSection($string, $parameters); + } + + private function replace($string, $start, $end, $parameters) + { + // We know a data block will have {} round it, so we can strip that. + $data = substr($string, $start + 1, $end - $start - 1); + + // If the first character is one of the reserved operators, it effects + // the processing of the stream. + if (isset($this->operators[$data[0]])) { + $op = $this->operators[$data[0]]; + $data = substr($data, 1); + $prefix = ""; + $prefix_on_missing = false; + + switch ($op) { + case "reserved": + // Reserved means certain characters should not be URL encoded + $data = $this->replaceVars($data, $parameters, ",", null, true); + break; + case "fragment": + // Comma separated with fragment prefix. Bare values only. + $prefix = "#"; + $prefix_on_missing = true; + $data = $this->replaceVars($data, $parameters, ",", null, true); + break; + case "segments": + // Slash separated data. Bare values only. + $prefix = "/"; + $data =$this->replaceVars($data, $parameters, "/"); + break; + case "dotprefix": + // Dot separated data. Bare values only. + $prefix = "."; + $prefix_on_missing = true; + $data = $this->replaceVars($data, $parameters, "."); + break; + case "semicolon": + // Semicolon prefixed and separated. Uses the key name + $prefix = ";"; + $data = $this->replaceVars($data, $parameters, ";", "=", false, true, false); + break; + case "form": + // Standard URL format. Uses the key name + $prefix = "?"; + $data = $this->replaceVars($data, $parameters, "&", "="); + break; + case "continuation": + // Standard URL, but with leading ampersand. Uses key name. + $prefix = "&"; + $data = $this->replaceVars($data, $parameters, "&", "="); + break; + } + + // Add the initial prefix character if data is valid. + if ($data || ($data !== false && $prefix_on_missing)) { + $data = $prefix . $data; + } + + } else { + // If no operator we replace with the defaults. + $data = $this->replaceVars($data, $parameters); + } + // This is chops out the {...} and replaces with the new section. + return substr($string, 0, $start) . $data . substr($string, $end + 1); + } + + private function replaceVars( + $section, + $parameters, + $sep = ",", + $combine = null, + $reserved = false, + $tag_empty = false, + $combine_on_empty = true + ) { + if (strpos($section, ",") === false) { + // If we only have a single value, we can immediately process. + return $this->combine( + $section, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ); + } else { + // If we have multiple values, we need to split and loop over them. + // Each is treated individually, then glued together with the + // separator character. + $vars = explode(",", $section); + return $this->combineList( + $vars, + $sep, + $parameters, + $combine, + $reserved, + false, // Never emit empty strings in multi-param replacements + $combine_on_empty + ); + } + } + + public function combine( + $key, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ) { + $length = false; + $explode = false; + $skip_final_combine = false; + $value = false; + + // Check for length restriction. + if (strpos($key, ":") !== false) { + list($key, $length) = explode(":", $key); + } + + // Check for explode parameter. + if ($key[strlen($key) - 1] == "*") { + $explode = true; + $key = substr($key, 0, -1); + $skip_final_combine = true; + } + + // Define the list separator. + $list_sep = $explode ? $sep : ","; + + if (isset($parameters[$key])) { + $data_type = $this->getDataType($parameters[$key]); + switch ($data_type) { + case self::TYPE_SCALAR: + $value = $this->getValue($parameters[$key], $length); + break; + case self::TYPE_LIST: + $values = array(); + foreach ($parameters[$key] as $pkey => $pvalue) { + $pvalue = $this->getValue($pvalue, $length); + if ($combine && $explode) { + $values[$pkey] = $key . $combine . $pvalue; + } else { + $values[$pkey] = $pvalue; + } + } + $value = implode($list_sep, $values); + if ($value == '') { + return ''; + } + break; + case self::TYPE_MAP: + $values = array(); + foreach ($parameters[$key] as $pkey => $pvalue) { + $pvalue = $this->getValue($pvalue, $length); + if ($explode) { + $pkey = $this->getValue($pkey, $length); + $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. + } else { + $values[] = $pkey; + $values[] = $pvalue; + } + } + $value = implode($list_sep, $values); + if ($value == '') { + return false; + } + break; + } + } else if ($tag_empty) { + // If we are just indicating empty values with their key name, return that. + return $key; + } else { + // Otherwise we can skip this variable due to not being defined. + return false; + } + + if ($reserved) { + $value = str_replace($this->reservedEncoded, $this->reserved, $value); + } + + // If we do not need to include the key name, we just return the raw + // value. + if (!$combine || $skip_final_combine) { + return $value; + } + + // Else we combine the key name: foo=bar, if value is not the empty string. + return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); + } + + /** + * Return the type of a passed in value + */ + private function getDataType($data) + { + if (is_array($data)) { + reset($data); + if (key($data) !== 0) { + return self::TYPE_MAP; + } + return self::TYPE_LIST; + } + return self::TYPE_SCALAR; + } + + /** + * Utility function that merges multiple combine calls + * for multi-key templates. + */ + private function combineList( + $vars, + $sep, + $parameters, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ) { + $ret = array(); + foreach ($vars as $var) { + $response = $this->combine( + $var, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ); + if ($response === false) { + continue; + } + $ret[] = $response; + } + return implode($sep, $ret); + } + + /** + * Utility function to encode and trim values + */ + private function getValue($value, $length) + { + if ($length) { + $value = substr($value, 0, $length); + } + $value = rawurlencode($value); + return $value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/autoload.php b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/autoload.php new file mode 100644 index 00000000..8b493010 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/apiclient/src/Google/autoload.php @@ -0,0 +1,21 @@ +exclude('vendor') + ->in(__DIR__); + +// Return a Code Sniffing configuration using +// all sniffers needed for PSR-2 +// and additionally: +// - Remove leading slashes in use clauses. +// - PHP single-line arrays should not have trailing comma. +// - Single-line whitespace before closing semicolon are prohibited. +// - Remove unused use statements in the PHP source code +// - Ensure Concatenation to have at least one whitespace around +// - Remove trailing whitespace at the end of blank lines. +return Symfony\CS\Config\Config::create() + ->level(Symfony\CS\FixerInterface::PSR2_LEVEL) + ->fixers([ + 'remove_leading_slash_use', + 'single_array_no_trailing_comma', + 'spaces_before_semicolon', + 'unused_use', + 'concat_with_spaces', + 'whitespacy_lines', + 'ordered_use', + 'single_quote', + 'duplicate_semicolon', + 'extra_empty_lines', + 'phpdoc_no_package', + 'phpdoc_scalar', + 'no_empty_lines_after_phpdocs' + ]) + ->finder($finder); diff --git a/mayor-orig/www/include/share/googleapi/google/auth/.travis.yml b/mayor-orig/www/include/share/googleapi/google/auth/.travis.yml new file mode 100644 index 00000000..c51e2c33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/.travis.yml @@ -0,0 +1,31 @@ +language: php + +branches: + only: [master] + +sudo: false + +php: + - 5.4 + - 5.5 + - 5.6 + - 7.0 + - hhvm + +env: + - COMPOSER_CMD="composer install" + - COMPOSER_CMD="composer update --prefer-lowest" +matrix: + include: + - php: "7.0" + env: RUN_CS_FIXER=true COMPOSER_CMD="composer install" + +before_script: + - $(echo $COMPOSER_CMD) + +script: + - if [ "${RUN_CS_FIXER}" = "true" ]; then + vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=.php_cs .; + else + vendor/bin/phpunit; + fi diff --git a/mayor-orig/www/include/share/googleapi/google/auth/CHANGELOG.md b/mayor-orig/www/include/share/googleapi/google/auth/CHANGELOG.md new file mode 100644 index 00000000..1628dc51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/CHANGELOG.md @@ -0,0 +1,8 @@ +## 0.4.0 (23/04/2015) + +### Changes + +* Export callback function to update auth metadata ([@stanley-cheung][]) +* Adds an implementation of User Refresh Token auth ([@stanley-cheung][]) + +[@stanley-cheung]: https://github.com/stanley-cheung diff --git a/mayor-orig/www/include/share/googleapi/google/auth/CONTRIBUTING.md b/mayor-orig/www/include/share/googleapi/google/auth/CONTRIBUTING.md new file mode 100644 index 00000000..0cfb74b6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/CONTRIBUTING.md @@ -0,0 +1,73 @@ +# How to become a contributor and submit your own code + +## Contributor License Agreements + +We'd love to accept your sample apps and patches! Before we can take them, we +have to jump a couple of legal hurdles. + +Please fill out either the individual or corporate Contributor License Agreement +(CLA). + + * If you are an individual writing original source code and you're sure you + own the intellectual property, then you'll need to sign an [individual CLA] + (http://code.google.com/legal/individual-cla-v1.0.html). + * If you work for a company that wants to allow you to contribute your work, + then you'll need to sign a [corporate CLA] + (http://code.google.com/legal/corporate-cla-v1.0.html). + +Follow either of the two links above to access the appropriate CLA and +instructions for how to sign and return it. Once we receive it, we'll be able to +accept your pull requests. + +## Issue reporting + +* Check that the issue has not already been reported. +* Check that the issue has not already been fixed in the latest code + (a.k.a. `master`). +* Be clear, concise and precise in your description of the problem. +* Open an issue with a descriptive title and a summary in grammatically correct, + complete sentences. +* Include any relevant code to the issue summary. + +## Pull requests + +* Read [how to properly contribute to open source projects on Github][2]. +* Fork the project. +* Use a topic/feature branch to easily amend a pull request later, if necessary. +* Write [good commit messages][3]. +* Use the same coding conventions as the rest of the project. +* Commit and push until you are happy with your contribution. +* Make sure to add tests for it. This is important so I don't break it + in a future version unintentionally. +* Add an entry to the [Changelog](CHANGELOG.md) accordingly. See [changelog entry format](#changelog-entry-format). +* Please try not to mess with the Rakefile, version, or history. If you want to + have your own version, or is otherwise necessary, that is fine, but please + isolate to its own commit so I can cherry-pick around it. +* Make sure the test suite is passing and the code you wrote doesn't produce + phpunit or phplint offenses. +* [Squash related commits together][5]. +* Open a [pull request][4] that relates to *only* one subject with a clear title + and description in grammatically correct, complete sentences. + +### Changelog entry format + +Here are a few examples: + +``` +* ADC Support for User Refresh Tokens (@tbetbetbe[]) +* [#16](https://github.com/google/google-auth-library-php/issues/16): ADC Support for User Refresh Tokens ([@tbetbetbe][]) +``` + +* Mark it up in [Markdown syntax][6]. +* The entry line should start with `* ` (an asterisk and a space). +* If the change has a related GitHub issue (e.g. a bug fix for a reported issue), put a link to the issue as `[#16](https://github.com/google/google-auth-library-php/issues/16): `. +* Describe the brief of the change. The sentence should end with a punctuation. +* At the end of the entry, add an implicit link to your GitHub user page as `([@username][])`. +* If this is your first contribution to google-auth-library-php project, add a link definition for the implicit link to the bottom of the changelog as `[@username]: https://github.com/username`. + +[1]: https://github.com/google/google-auth-php-library/issues +[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request +[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html +[4]: https://help.github.com/articles/using-pull-requests +[5]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html +[6]: http://daringfireball.net/projects/markdown/syntax diff --git a/mayor-orig/www/include/share/googleapi/google/auth/COPYING b/mayor-orig/www/include/share/googleapi/google/auth/COPYING new file mode 100644 index 00000000..b5d5055a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/COPYING @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2015 Google Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/mayor-orig/www/include/share/googleapi/google/auth/LICENSE b/mayor-orig/www/include/share/googleapi/google/auth/LICENSE new file mode 100644 index 00000000..a148ba56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/LICENSE @@ -0,0 +1,203 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, +and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by +the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all +other entities that control, are controlled by, or are under common +control with that entity. For the purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or +otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity +exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation +source, and configuration files. + +"Object" form shall mean any form resulting from mechanical +transformation or translation of a Source form, including but +not limited to compiled object code, generated documentation, +and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or +Object form, made available under the License, as indicated by a +copyright notice that is included in or attached to the work +(an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object +form, that is based on (or derived from) the Work and for which the +editorial revisions, annotations, elaborations, or other modifications +represent, as a whole, an original work of authorship. For the purposes +of this License, Derivative Works shall not include works that remain +separable from, or merely link (or bind by name) to the interfaces of, +the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including +the original version of the Work and any modifications or additions +to that Work or Derivative Works thereof, that is intentionally +submitted to Licensor for inclusion in the Work by the copyright owner +or by an individual or Legal Entity authorized to submit on behalf of +the copyright owner. For the purposes of this definition, "submitted" +means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, +and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but +excluding communication that is conspicuously marked or otherwise +designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity +on behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the +Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, +use, offer to sell, sell, import, and otherwise transfer the Work, +where such license applies only to those patent claims licensable +by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) +with the Work to which such Contribution(s) was submitted. If You +institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work +or a Contribution incorporated within the Work constitutes direct +or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate +as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the +Work or Derivative Works thereof in any medium, with or without +modifications, and in Source or Object form, provided that You +meet the following conditions: + +(a) You must give any other recipients of the Work or +Derivative Works a copy of this License; and + +(b) You must cause any modified files to carry prominent notices +stating that You changed the files; and + +(c) You must retain, in the Source form of any Derivative Works +that You distribute, all copyright, patent, trademark, and +attribution notices from the Source form of the Work, +excluding those notices that do not pertain to any part of +the Derivative Works; and + +(d) If the Work includes a "NOTICE" text file as part of its +distribution, then any Derivative Works that You distribute must +include a readable copy of the attribution notices contained +within such NOTICE file, excluding those notices that do not +pertain to any part of the Derivative Works, in at least one +of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or +documentation, if provided along with the Derivative Works; or, +within a display generated by the Derivative Works, if and +wherever such third-party notices normally appear. The contents +of the NOTICE file are for informational purposes only and +do not modify the License. You may add Your own attribution +notices within Derivative Works that You distribute, alongside +or as an addendum to the NOTICE text from the Work, provided +that such additional attribution notices cannot be construed +as modifying the License. + +You may add Your own copyright statement to Your modifications and +may provide additional or different license terms and conditions +for use, reproduction, or distribution of Your modifications, or +for any such Derivative Works as a whole, provided Your use, +reproduction, and distribution of the Work otherwise complies with +the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, +any Contribution intentionally submitted for inclusion in the Work +by You to the Licensor shall be under the terms and conditions of +this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify +the terms of any separate license agreement you may have executed +with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade +names, trademarks, service marks, or product names of the Licensor, +except as required for reasonable and customary use in describing the +origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or +agreed to in writing, Licensor provides the Work (and each +Contributor provides its Contributions) on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied, including, without limitation, any warranties or conditions +of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any +risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, +whether in tort (including negligence), contract, or otherwise, +unless required by applicable law (such as deliberate and grossly +negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a +result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, +work stoppage, computer failure or malfunction, or any and all +other commercial damages or losses), even if such Contributor +has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing +the Work or Derivative Works thereof, You may choose to offer, +and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this +License. However, in accepting such obligations, You may act only +on Your own behalf and on Your sole responsibility, not on behalf +of any other Contributor, and only if You agree to indemnify, +defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason +of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following +boilerplate notice, with the fields enclosed by brackets "[]" +replaced with your own identifying information. (Don't include +the brackets!) The text should be enclosed in the appropriate +comment syntax for the file format. We also recommend that a +file or class name and description of purpose be included on the +same "printed page" as the copyright notice for easier +identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + diff --git a/mayor-orig/www/include/share/googleapi/google/auth/README.md b/mayor-orig/www/include/share/googleapi/google/auth/README.md new file mode 100644 index 00000000..05265f71 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/README.md @@ -0,0 +1,150 @@ +# Google Auth Library for PHP + +
+
Homepage
http://www.github.com/google/google-auth-library-php
+
Authors
+
Tim Emiola
+
Stanley Cheung
+
Brent Shaffer
+
Copyright
Copyright © 2015 Google, Inc.
+
License
Apache 2.0
+
+ +## Description + +This is Google's officially supported PHP client library for using OAuth 2.0 +authorization and authentication with Google APIs. + +### Installing via Composer + +The recommended way to install the google auth library is through +[Composer](http://getcomposer.org). + +```bash +# Install Composer +curl -sS https://getcomposer.org/installer | php +``` + +Next, run the Composer command to install the latest stable version: + +```bash +composer.phar require google/auth +``` + +## Application Default Credentials + +This library provides an implementation of +[application default credentials][application default credentials] for PHP. + +The Application Default Credentials provide a simple way to get authorization +credentials for use in calling Google APIs. + +They are best suited for cases when the call needs to have the same identity +and authorization level for the application independent of the user. This is +the recommended approach to authorize calls to Cloud APIs, particularly when +you're building an application that uses Google Compute Engine. + +#### Download your Service Account Credentials JSON file + +To use `Application Default Credentials`, You first need to download a set of +JSON credentials for your project. Go to **APIs & Auth** > **Credentials** in +the [Google Developers Console][developer console] and select +**Service account** from the **Add credentials** dropdown. + +> This file is your *only copy* of these credentials. It should never be +> committed with your source code, and should be stored securely. + +Once downloaded, store the path to this file in the +`GOOGLE_APPLICATION_CREDENTIALS` environment variable. + +```php +putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/credentials.json'); +``` + +> PHP's `putenv` function is just one way to set an environment variable. +> Consider using `.htaccess` or apache configuration files as well. + +#### Enable the API you want to use + +Before making your API call, you must be sure the API you're calling has been +enabled. Go to **APIs & Auth** > **APIs** in the +[Google Developers Console][developer console] and enable the APIs you'd like to +call. For the example below, you must enable the `Drive API`. + +#### Call the APIs + +As long as you update the environment variable below to point to *your* JSON +credentials file, the following code should output a list of your Drive files. + +```php +use Google\Auth\ApplicationDefaultCredentials; +use GuzzleHttp\Client; +use GuzzleHttp\HandlerStack; + +// specify the path to your application credentials +putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/credentials.json'); + +// define the scopes for your API call +$scopes = ['https://www.googleapis.com/auth/drive.readonly']; + +// create middleware +$middleware = ApplicationDefaultCredentials::getMiddleware($scopes); +$stack = HandlerStack::create(); +$stack->push($middleware); + +// create the HTTP client +$client = new Client([ + 'handler' => $stack, + 'base_url' => 'https://www.googleapis.com', + 'auth' => 'google_auth' // authorize all requests +]); + +// make the request +$response = $client->get('drive/v2/files'); + +// show the result! +print_r((string) $response->getBody()); +``` + +##### Guzzle 5 Compatibility + +If you are using [Guzzle 5][Guzzle 5], replace the `create middleware` and +`create the HTTP Client` steps with the following: + +```php +// create the HTTP client +$client = new Client([ + 'base_url' => 'https://www.googleapis.com', + 'auth' => 'google_auth' // authorize all requests +]); + +// create subscriber +$subscriber = ApplicationDefaultCredentials::getSubscriber($scopes); +$client->getEmitter()->attach($subscriber); + +``` + +## License + +This library is licensed under Apache 2.0. Full license text is +available in [COPYING][copying]. + +## Contributing + +See [CONTRIBUTING][contributing]. + +## Support + +Please +[report bugs at the project on Github](https://github.com/google/google-auth-library-php/issues). Don't +hesitate to +[ask questions](http://stackoverflow.com/questions/tagged/google-auth-library-php) +about the client or APIs on [StackOverflow](http://stackoverflow.com). + +[google-apis-php-client]: https://github.com/google/google-api-php-client +[application default credentials]: https://developers.google.com/accounts/docs/application-default-credentials +[contributing]: https://github.com/google/google-auth-library-php/tree/master/CONTRIBUTING.md +[copying]: https://github.com/google/google-auth-library-php/tree/master/COPYING +[Guzzle]: https://github.com/guzzle/guzzle +[Guzzle 5]: http://docs.guzzlephp.org/en/5.3 +[developer console]: https://console.developers.google.com diff --git a/mayor-orig/www/include/share/googleapi/google/auth/autoload.php b/mayor-orig/www/include/share/googleapi/google/auth/autoload.php new file mode 100644 index 00000000..f5473378 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/autoload.php @@ -0,0 +1,34 @@ + 3) { + // Maximum class file path depth in this project is 3. + $classPath = array_slice($classPath, 0, 3); + } + $filePath = dirname(__FILE__) . '/src/' . implode('/', $classPath) . '.php'; + if (file_exists($filePath)) { + require_once $filePath; + } +} + +spl_autoload_register('oauth2client_php_autoload'); diff --git a/mayor-orig/www/include/share/googleapi/google/auth/composer.json b/mayor-orig/www/include/share/googleapi/google/auth/composer.json new file mode 100644 index 00000000..c528ada1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/composer.json @@ -0,0 +1,28 @@ +{ + "name": "google/auth", + "type": "library", + "description": "Google Auth Library for PHP", + "keywords": ["google", "oauth2", "authentication"], + "homepage": "http://github.com/google/google-auth-library-php", + "license": "Apache-2.0", + "require": { + "php": ">=5.4", + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "guzzlehttp/guzzle": "~5.3|~6.0", + "guzzlehttp/psr7": "~1.2", + "psr/http-message": "^1.0", + "psr/cache": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*", + "friendsofphp/php-cs-fixer": "^1.11" + }, + "autoload": { + "classmap": [ + "src/" + ], + "psr-4": { + "Google\\Auth\\": "src" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/phpunit.xml.dist b/mayor-orig/www/include/share/googleapi/google/auth/phpunit.xml.dist new file mode 100644 index 00000000..bace58bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/phpunit.xml.dist @@ -0,0 +1,16 @@ + + + + + tests + + + + + src + + src/ + + + + diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php new file mode 100644 index 00000000..5d944db9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/ApplicationDefaultCredentials.php @@ -0,0 +1,173 @@ +push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'auth' => 'google_auth' // authorize all requests + * ]); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + */ +class ApplicationDefaultCredentials +{ + /** + * Obtains an AuthTokenSubscriber that uses the default FetchAuthTokenInterface + * implementation to use in this environment. + * + * If supplied, $scope is used to in creating the credentials instance if + * this does not fallback to the compute engine defaults. + * + * @param string|array scope the scope of the access request, expressed + * either as an Array or as a space-delimited String. + * @param callable $httpHandler callback which delivers psr7 request + * @param array $cacheConfig configuration for the cache when it's present + * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface + * + * @return AuthTokenSubscriber + * + * @throws DomainException if no implementation can be obtained. + */ + public static function getSubscriber( + $scope = null, + callable $httpHandler = null, + array $cacheConfig = null, + CacheItemPoolInterface $cache = null + ) { + $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache); + + return new AuthTokenSubscriber($creds, $cacheConfig); + } + + /** + * Obtains an AuthTokenMiddleware that uses the default FetchAuthTokenInterface + * implementation to use in this environment. + * + * If supplied, $scope is used to in creating the credentials instance if + * this does not fallback to the compute engine defaults. + * + * @param string|array scope the scope of the access request, expressed + * either as an Array or as a space-delimited String. + * @param callable $httpHandler callback which delivers psr7 request + * @param array $cacheConfig configuration for the cache when it's present + * @param CacheItemPoolInterface $cache + * + * @return AuthTokenMiddleware + * + * @throws DomainException if no implementation can be obtained. + */ + public static function getMiddleware( + $scope = null, + callable $httpHandler = null, + array $cacheConfig = null, + CacheItemPoolInterface $cache = null + ) { + $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache); + + return new AuthTokenMiddleware($creds, $cacheConfig); + } + + /** + * Obtains the default FetchAuthTokenInterface implementation to use + * in this environment. + * + * If supplied, $scope is used to in creating the credentials instance if + * this does not fallback to the Compute Engine defaults. + * + * @param string|array scope the scope of the access request, expressed + * either as an Array or as a space-delimited String. + * @param callable $httpHandler callback which delivers psr7 request + * @param array $cacheConfig configuration for the cache when it's present + * @param CacheItemPoolInterface $cache + * + * @return CredentialsLoader + * + * @throws DomainException if no implementation can be obtained. + */ + public static function getCredentials( + $scope = null, + callable $httpHandler = null, + array $cacheConfig = null, + CacheItemPoolInterface $cache = null + ) { + $creds = null; + $jsonKey = CredentialsLoader::fromEnv() + ?: CredentialsLoader::fromWellKnownFile(); + + if (!is_null($jsonKey)) { + $creds = CredentialsLoader::makeCredentials($scope, $jsonKey); + } elseif (AppIdentityCredentials::onAppEngine() && !GCECredentials::onAppEngineFlexible()) { + $creds = new AppIdentityCredentials($scope); + } elseif (GCECredentials::onGce($httpHandler)) { + $creds = new GCECredentials(); + } + + if (is_null($creds)) { + throw new \DomainException(self::notFound()); + } + if (!is_null($cache)) { + $creds = new FetchAuthTokenCache($creds, $cacheConfig, $cache); + } + return $creds; + } + + private static function notFound() + { + $msg = 'Could not load the default credentials. Browse to '; + $msg .= 'https://developers.google.com'; + $msg .= '/accounts/docs/application-default-credentials'; + $msg .= ' for more information'; + + return $msg; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php new file mode 100644 index 00000000..331e5611 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/InvalidArgumentException.php @@ -0,0 +1,24 @@ +key = $key; + } + + /** + * {@inheritdoc} + */ + public function getKey() + { + return $this->key; + } + + /** + * {@inheritdoc} + */ + public function get() + { + return $this->isHit() ? $this->value : null; + } + + /** + * {@inheritdoc} + */ + public function isHit() + { + if (!$this->isHit) { + return false; + } + + if ($this->expiration === null) { + return true; + } + + return new \DateTime() < $this->expiration; + } + + /** + * {@inheritdoc} + */ + public function set($value) + { + $this->isHit = true; + $this->value = $value; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function expiresAt($expiration) + { + if ($this->isValidExpiration($expiration)) { + $this->expiration = $expiration; + + return $this; + } + + $implementationMessage = interface_exists('DateTimeInterface') + ? 'implement interface DateTimeInterface' + : 'be an instance of DateTime'; + + $error = sprintf( + 'Argument 1 passed to %s::expiresAt() must %s, %s given', + get_class($this), + $implementationMessage, + gettype($expiration) + ); + + $this->handleError($error); + } + + /** + * {@inheritdoc} + */ + public function expiresAfter($time) + { + if (is_int($time)) { + $this->expiration = new \DateTime("now + $time seconds"); + } elseif ($time instanceof \DateInterval) { + $this->expiration = (new \DateTime())->add($time); + } elseif ($time === null) { + $this->expiration = $time; + } else { + $message = 'Argument 1 passed to %s::expiresAfter() must be an ' . + 'instance of DateInterval or of the type integer, %s given'; + $error = sprintf($message, get_class($this), gettype($expiration)); + + $this->handleError($error); + } + + return $this; + } + + /** + * Handles an error. + * + * @param string $error + * @throws \TypeError + */ + private function handleError($error) + { + if (class_exists('TypeError')) { + throw new \TypeError($error); + } + + trigger_error($error, E_USER_ERROR); + } + + /** + * Determines if an expiration is valid based on the rules defined by PSR6. + * + * @param mixed $expiration + * @return bool + */ + private function isValidExpiration($expiration) + { + if ($expiration === null) { + return true; + } + + // We test for two types here due to the fact the DateTimeInterface + // was not introduced until PHP 5.5. Checking for the DateTime type as + // well allows us to support 5.4. + if ($expiration instanceof \DateTimeInterface) { + return true; + } + + if ($expiration instanceof \DateTime) { + return true; + } + + return false; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php new file mode 100644 index 00000000..9533c2cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Cache/MemoryCacheItemPool.php @@ -0,0 +1,155 @@ +getItems([$key])); + } + + /** + * {@inheritdoc} + */ + public function getItems(array $keys = []) + { + $items = []; + + foreach ($keys as $key) { + $this->isValidKey($key); + $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new Item($key); + } + + return $items; + } + + /** + * {@inheritdoc} + */ + public function hasItem($key) + { + $this->isValidKey($key); + + return isset($this->items[$key]) && $this->items[$key]->isHit(); + } + + /** + * {@inheritdoc} + */ + public function clear() + { + $this->items = []; + $this->deferred = []; + + return true; + } + + /** + * {@inheritdoc} + */ + public function deleteItem($key) + { + return $this->deleteItems([$key]); + } + + /** + * {@inheritdoc} + */ + public function deleteItems(array $keys) + { + array_walk($keys, [$this, 'isValidKey']); + + foreach ($keys as $key) { + unset($this->items[$key]); + } + + return true; + } + + /** + * {@inheritdoc} + */ + public function save(CacheItemInterface $item) + { + $this->items[$item->getKey()] = $item; + + return true; + } + + /** + * {@inheritdoc} + */ + public function saveDeferred(CacheItemInterface $item) + { + $this->deferredItems[$item->getKey()] = $item; + + return true; + } + + /** + * {@inheritdoc} + */ + public function commit() + { + foreach ($this->deferredItems as $item) { + $this->save($item); + } + + $this->deferredItems = []; + + return true; + } + + /** + * Determines if the provided key is valid. + * + * @param string $key + * @return bool + * @throws InvalidArgumentException + */ + private function isValidKey($key) + { + $invalidCharacters = '{}()/\\\\@:'; + + if (!is_string($key) || preg_match("#[$invalidCharacters]#", $key)) { + throw new InvalidArgumentException('The provided key is not valid: ' . var_export($key, true)); + } + + return true; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/CacheTrait.php b/mayor-orig/www/include/share/googleapi/google/auth/src/CacheTrait.php new file mode 100644 index 00000000..02b4b923 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/CacheTrait.php @@ -0,0 +1,72 @@ +cache)) { + return; + } + + $key = $this->getFullCacheKey($k); + if (is_null($key)) { + return; + } + + $cacheItem = $this->cache->getItem($key); + return $cacheItem->get(); + } + + /** + * Saves the value in the cache when that is available. + */ + private function setCachedValue($k, $v) + { + if (is_null($this->cache)) { + return; + } + + $key = $this->getFullCacheKey($k); + if (is_null($key)) { + return; + } + + $cacheItem = $this->cache->getItem($key); + $cacheItem->set($v); + $cacheItem->expiresAfter($this->cacheConfig['lifetime']); + return $this->cache->save($cacheItem); + } + + private function getFullCacheKey($key) + { + if (is_null($key)) { + return; + } + + $key = $this->cacheConfig['prefix'] . $key; + + // ensure we do not have illegal characters + return preg_replace('|[^a-zA-Z0-9_\.!]|', '', $key); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php new file mode 100644 index 00000000..661c64c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/AppIdentityCredentials.php @@ -0,0 +1,149 @@ +push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/books/v1', + * 'auth' => 'google_auth' + * ]); + * + * $res = $client->get('volumes?q=Henry+David+Thoreau&country=US'); + */ +class AppIdentityCredentials extends CredentialsLoader +{ + /** + * Result of fetchAuthToken. + * + * @array + */ + protected $lastReceivedToken; + + /** + * Array of OAuth2 scopes to be requested. + */ + private $scope; + + public function __construct($scope = array()) + { + $this->scope = $scope; + } + + /** + * Determines if this an App Engine instance, by accessing the SERVER_SOFTWARE + * environment variable. + * + * @return true if this an App Engine Instance, false otherwise + */ + public static function onAppEngine() + { + return isset($_SERVER['SERVER_SOFTWARE']) && + strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false; + } + + /** + * Implements FetchAuthTokenInterface#fetchAuthToken. + * + * Fetches the auth tokens using the AppIdentityService if available. + * As the AppIdentityService uses protobufs to fetch the access token, + * the GuzzleHttp\ClientInterface instance passed in will not be used. + * + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array the auth metadata: + * array(2) { + * ["access_token"]=> + * string(3) "xyz" + * ["expiration_time"]=> + * string(10) "1444339905" + * } + * + * @throws \Exception + */ + public function fetchAuthToken(callable $httpHandler = null) + { + if (!self::onAppEngine()) { + return array(); + } + + if (!class_exists('google\appengine\api\app_identity\AppIdentityService')) { + throw new \Exception( + 'This class must be run in App Engine, or you must include the AppIdentityService ' + . 'mock class defined in tests/mocks/AppIdentityService.php' + ); + } + + // AppIdentityService expects an array when multiple scopes are supplied + $scope = is_array($this->scope) ? $this->scope : explode(' ', $this->scope); + + $token = AppIdentityService::getAccessToken($scope); + $this->lastReceivedToken = $token; + + return $token; + } + + /** + * @return array|null + */ + public function getLastReceivedToken() + { + if ($this->lastReceivedToken) { + return [ + 'access_token' => $this->lastReceivedToken['access_token'], + 'expires_at' => $this->lastReceivedToken['expiration_time'], + ]; + } + + return null; + } + + /** + * Caching is handled by the underlying AppIdentityService, return empty string + * to prevent caching. + * + * @return string + */ + public function getCacheKey() + { + return ''; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php new file mode 100644 index 00000000..43115290 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/GCECredentials.php @@ -0,0 +1,219 @@ +push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'auth' => 'google_auth' + * ]); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + */ +class GCECredentials extends CredentialsLoader +{ + const cacheKey = 'GOOGLE_AUTH_PHP_GCE'; + /** + * The metadata IP address on appengine instances. + * + * The IP is used instead of the domain 'metadata' to avoid slow responses + * when not on Compute Engine. + */ + const METADATA_IP = '169.254.169.254'; + + /** + * The metadata path of the default token. + */ + const TOKEN_URI_PATH = 'v1/instance/service-accounts/default/token'; + + /** + * The header whose presence indicates GCE presence. + */ + const FLAVOR_HEADER = 'Metadata-Flavor'; + + /** + * Flag used to ensure that the onGCE test is only done once;. + * + * @var bool + */ + private $hasCheckedOnGce = false; + + /** + * Flag that stores the value of the onGCE check. + * + * @var bool + */ + private $isOnGce = false; + + /** + * Result of fetchAuthToken. + */ + protected $lastReceivedToken; + + /** + * The full uri for accessing the default token. + * + * @return string + */ + public static function getTokenUri() + { + $base = 'http://' . self::METADATA_IP . '/computeMetadata/'; + + return $base . self::TOKEN_URI_PATH; + } + + /** + * Determines if this an App Engine Flexible instance, by accessing the + * GAE_VM environment variable. + * + * @return true if this an App Engine Flexible Instance, false otherwise + */ + public static function onAppEngineFlexible() + { + return isset($_SERVER['GAE_VM']) && 'true' === $_SERVER['GAE_VM']; + } + + /** + * Determines if this a GCE instance, by accessing the expected metadata + * host. + * If $httpHandler is not specified a the default HttpHandler is used. + * + * @param callable $httpHandler callback which delivers psr7 request + * + * @return true if this a GCEInstance false otherwise + */ + public static function onGce(callable $httpHandler = null) + { + if (is_null($httpHandler)) { + $httpHandler = HttpHandlerFactory::build(); + } + $checkUri = 'http://' . self::METADATA_IP; + try { + // Comment from: oauth2client/client.py + // + // Note: the explicit `timeout` below is a workaround. The underlying + // issue is that resolving an unknown host on some networks will take + // 20-30 seconds; making this timeout short fixes the issue, but + // could lead to false negatives in the event that we are on GCE, but + // the metadata resolution was particularly slow. The latter case is + // "unlikely". + $resp = $httpHandler( + new Request('GET', $checkUri), + ['timeout' => 0.3] + ); + + return $resp->getHeaderLine(self::FLAVOR_HEADER) == 'Google'; + } catch (ClientException $e) { + return false; + } catch (ServerException $e) { + return false; + } catch (RequestException $e) { + return false; + } + } + + /** + * Implements FetchAuthTokenInterface#fetchAuthToken. + * + * Fetches the auth tokens from the GCE metadata host if it is available. + * If $httpHandler is not specified a the default HttpHandler is used. + * + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array the response + * + * @throws \Exception + */ + public function fetchAuthToken(callable $httpHandler = null) + { + if (is_null($httpHandler)) { + $httpHandler = HttpHandlerFactory::build(); + } + if (!$this->hasCheckedOnGce) { + $this->isOnGce = self::onGce($httpHandler); + } + if (!$this->isOnGce) { + return array(); // return an empty array with no access token + } + $resp = $httpHandler( + new Request( + 'GET', + self::getTokenUri(), + [self::FLAVOR_HEADER => 'Google'] + ) + ); + $body = (string)$resp->getBody(); + + // Assume it's JSON; if it's not throw an exception + if (null === $json = json_decode($body, true)) { + throw new \Exception('Invalid JSON response'); + } + + // store this so we can retrieve it later + $this->lastReceivedToken = $json; + $this->lastReceivedToken['expires_at'] = time() + $json['expires_in']; + + return $json; + } + + /** + * @return string + */ + public function getCacheKey() + { + return self::cacheKey; + } + + /** + * @return array|null + */ + public function getLastReceivedToken() + { + if ($this->lastReceivedToken) { + return [ + 'access_token' => $this->lastReceivedToken['access_token'], + 'expires_at' => $this->lastReceivedToken['expires_at'], + ]; + } + + return null; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php new file mode 100644 index 00000000..0d2a37d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/IAMCredentials.php @@ -0,0 +1,89 @@ +selector = $selector; + $this->token = $token; + } + + /** + * export a callback function which updates runtime metadata. + * + * @return array updateMetadata function + */ + public function getUpdateMetadataFunc() + { + return array($this, 'updateMetadata'); + } + + /** + * Updates metadata with the appropriate header metadata. + * + * @param array $metadata metadata hashmap + * @param string $unusedAuthUri optional auth uri + * @param callable $httpHandler callback which delivers psr7 request + * Note: this param is unused here, only included here for + * consistency with other credentials class + * + * @return array updated metadata hashmap + */ + public function updateMetadata( + $metadata, + $unusedAuthUri = null, + callable $httpHandler = null + ) { + $metadata_copy = $metadata; + $metadata_copy[self::SELECTOR_KEY] = $this->selector; + $metadata_copy[self::TOKEN_KEY] = $this->token; + + return $metadata_copy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php new file mode 100644 index 00000000..db391ecf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountCredentials.php @@ -0,0 +1,177 @@ +push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'auth' => 'google_auth' // authorize all requests + * ]); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + */ +class ServiceAccountCredentials extends CredentialsLoader +{ + /** + * The OAuth2 instance used to conduct authorization. + * + * @var OAuth2 + */ + protected $auth; + + /** + * Create a new ServiceAccountCredentials. + * + * @param string|array $scope the scope of the access request, expressed + * either as an Array or as a space-delimited String. + * @param string|array $jsonKey JSON credential file path or JSON credentials + * as an associative array + * @param string $sub an email address account to impersonate, in situations when + * the service account has been delegated domain wide access. + */ + public function __construct( + $scope, + $jsonKey, + $sub = null + ) { + if (is_string($jsonKey)) { + if (!file_exists($jsonKey)) { + throw new \InvalidArgumentException('file does not exist'); + } + $jsonKeyStream = file_get_contents($jsonKey); + if (!$jsonKey = json_decode($jsonKeyStream, true)) { + throw new \LogicException('invalid json for auth config'); + } + } + if (!array_key_exists('client_email', $jsonKey)) { + throw new \InvalidArgumentException( + 'json key is missing the client_email field'); + } + if (!array_key_exists('private_key', $jsonKey)) { + throw new \InvalidArgumentException( + 'json key is missing the private_key field'); + } + $this->auth = new OAuth2([ + 'audience' => self::TOKEN_CREDENTIAL_URI, + 'issuer' => $jsonKey['client_email'], + 'scope' => $scope, + 'signingAlgorithm' => 'RS256', + 'signingKey' => $jsonKey['private_key'], + 'sub' => $sub, + 'tokenCredentialUri' => self::TOKEN_CREDENTIAL_URI, + ]); + } + + /** + * @param callable $httpHandler + * + * @return array + */ + public function fetchAuthToken(callable $httpHandler = null) + { + return $this->auth->fetchAuthToken($httpHandler); + } + + /** + * @return string + */ + public function getCacheKey() + { + $key = $this->auth->getIssuer() . ':' . $this->auth->getCacheKey(); + if ($sub = $this->auth->getSub()) { + $key .= ':' . $sub; + } + + return $key; + } + + /** + * @return array + */ + public function getLastReceivedToken() + { + return $this->auth->getLastReceivedToken(); + } + + /** + * Updates metadata with the authorization token. + * + * @param array $metadata metadata hashmap + * @param string $authUri optional auth uri + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array updated metadata hashmap + */ + public function updateMetadata( + $metadata, + $authUri = null, + callable $httpHandler = null + ) { + // scope exists. use oauth implementation + $scope = $this->auth->getScope(); + if (!is_null($scope)) { + return parent::updateMetadata($metadata, $authUri, $httpHandler); + } + + // no scope found. create jwt with the auth uri + $credJson = array( + 'private_key' => $this->auth->getSigningKey(), + 'client_email' => $this->auth->getIssuer(), + ); + $jwtCreds = new ServiceAccountJwtAccessCredentials($credJson); + + return $jwtCreds->updateMetadata($metadata, $authUri, $httpHandler); + } + + /** + * @param string $sub an email address account to impersonate, in situations when + * the service account has been delegated domain wide access. + */ + public function setSub($sub) + { + $this->auth->setSub($sub); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php new file mode 100644 index 00000000..28cc7096 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php @@ -0,0 +1,131 @@ +auth = new OAuth2([ + 'issuer' => $jsonKey['client_email'], + 'sub' => $jsonKey['client_email'], + 'signingAlgorithm' => 'RS256', + 'signingKey' => $jsonKey['private_key'], + ]); + } + + /** + * Updates metadata with the authorization token. + * + * @param array $metadata metadata hashmap + * @param string $authUri optional auth uri + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array updated metadata hashmap + */ + public function updateMetadata( + $metadata, + $authUri = null, + callable $httpHandler = null + ) { + if (empty($authUri)) { + return $metadata; + } + + $this->auth->setAudience($authUri); + + return parent::updateMetadata($metadata, $authUri, $httpHandler); + } + + /** + * Implements FetchAuthTokenInterface#fetchAuthToken. + * + * @param callable $httpHandler + * + * @return array|void + */ + public function fetchAuthToken(callable $httpHandler = null) + { + $audience = $this->auth->getAudience(); + if (empty($audience)) { + return null; + } + + $access_token = $this->auth->toJwt(); + + return array('access_token' => $access_token); + } + + /** + * @return string + */ + public function getCacheKey() + { + return $this->auth->getCacheKey(); + } + + /** + * @return array + */ + public function getLastReceivedToken() + { + return $this->auth->getLastReceivedToken(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php new file mode 100644 index 00000000..6c7e5cfa --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Credentials/UserRefreshCredentials.php @@ -0,0 +1,110 @@ +auth = new OAuth2([ + 'clientId' => $jsonKey['client_id'], + 'clientSecret' => $jsonKey['client_secret'], + 'refresh_token' => $jsonKey['refresh_token'], + 'scope' => $scope, + 'tokenCredentialUri' => self::TOKEN_CREDENTIAL_URI, + ]); + } + + /** + * @param callable $httpHandler + * + * @return array + */ + public function fetchAuthToken(callable $httpHandler = null) + { + return $this->auth->fetchAuthToken($httpHandler); + } + + /** + * @return string + */ + public function getCacheKey() + { + return $this->auth->getClientId() . ':' . $this->auth->getCacheKey(); + } + + /** + * @return array + */ + public function getLastReceivedToken() + { + return $this->auth->getLastReceivedToken(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/CredentialsLoader.php b/mayor-orig/www/include/share/googleapi/google/auth/src/CredentialsLoader.php new file mode 100644 index 00000000..5ddeda5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/CredentialsLoader.php @@ -0,0 +1,163 @@ +fetchAuthToken($httpHandler); + if (!isset($result['access_token'])) { + return $metadata; + } + $metadata_copy = $metadata; + $metadata_copy[self::AUTH_METADATA_KEY] = array('Bearer ' . $result['access_token']); + + return $metadata_copy; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php b/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php new file mode 100644 index 00000000..5b8e01b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenCache.php @@ -0,0 +1,108 @@ +fetcher = $fetcher; + $this->cache = $cache; + $this->cacheConfig = array_merge([ + 'lifetime' => 1500, + 'prefix' => '', + ], (array) $cacheConfig); + } + + /** + * Implements FetchAuthTokenInterface#fetchAuthToken. + * + * Checks the cache for a valid auth token and fetches the auth tokens + * from the supplied fetcher. + * + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array the response + * + * @throws \Exception + */ + public function fetchAuthToken(callable $httpHandler = null) + { + // Use the cached value if its available. + // + // TODO: correct caching; update the call to setCachedValue to set the expiry + // to the value returned with the auth token. + // + // TODO: correct caching; enable the cache to be cleared. + $cacheKey = $this->fetcher->getCacheKey(); + $cached = $this->getCachedValue($cacheKey); + if (!empty($cached)) { + return ['access_token' => $cached]; + } + + $auth_token = $this->fetcher->fetchAuthToken($httpHandler); + + if (isset($auth_token['access_token'])) { + $this->setCachedValue($cacheKey, $auth_token['access_token']); + } + + return $auth_token; + } + + /** + * @return string + */ + public function getCacheKey() + { + return $this->getFullCacheKey($this->fetcher->getCacheKey()); + } + + /** + * @return array|null + */ + public function getLastReceivedToken() + { + return $this->fetcher->getLastReceivedToken(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php b/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php new file mode 100644 index 00000000..e3d8d28b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/FetchAuthTokenInterface.php @@ -0,0 +1,55 @@ +client = $client; + } + + /** + * Accepts a PSR-7 Request and an array of options and returns a PSR-7 response. + * + * @param RequestInterface $request + * @param array $options + * + * @return ResponseInterface + */ + public function __invoke(RequestInterface $request, array $options = []) + { + $request = $this->client->createRequest( + $request->getMethod(), + $request->getUri(), + array_merge([ + 'headers' => $request->getHeaders(), + 'body' => $request->getBody(), + ], $options) + ); + + $response = $this->client->send($request); + + return new Response( + $response->getStatusCode(), + $response->getHeaders() ?: [], + $response->getBody(), + $response->getProtocolVersion(), + $response->getReasonPhrase() + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php b/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php new file mode 100644 index 00000000..79cc7954 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/Guzzle6HttpHandler.php @@ -0,0 +1,36 @@ +client = $client; + } + + /** + * Accepts a PSR-7 request and an array of options and returns a PSR-7 response. + * + * @param RequestInterface $request + * @param array $options + * + * @return ResponseInterface + */ + public function __invoke(RequestInterface $request, array $options = []) + { + return $this->client->send($request, $options); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php b/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php new file mode 100644 index 00000000..1ede7982 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/HttpHandler/HttpHandlerFactory.php @@ -0,0 +1,47 @@ +' + */ +class AuthTokenMiddleware +{ + /** + * @var callback + */ + private $httpHandler; + + /** + * @var FetchAuthTokenInterface + */ + private $fetcher; + + /** + * @var callable + */ + private $tokenCallback; + + /** + * Creates a new AuthTokenMiddleware. + * + * @param FetchAuthTokenInterface $fetcher is used to fetch the auth token + * @param callable $httpHandler (optional) callback which delivers psr7 request + * @param callable $tokenCallback (optional) function to be called when a new token is fetched. + */ + public function __construct( + FetchAuthTokenInterface $fetcher, + callable $httpHandler = null, + callable $tokenCallback = null + ) { + $this->fetcher = $fetcher; + $this->httpHandler = $httpHandler; + $this->tokenCallback = $tokenCallback; + } + + /** + * Updates the request with an Authorization header when auth is 'google_auth'. + * + * use Google\Auth\Middleware\AuthTokenMiddleware; + * use Google\Auth\OAuth2; + * use GuzzleHttp\Client; + * use GuzzleHttp\HandlerStack; + * + * $config = [...]; + * $oauth2 = new OAuth2($config) + * $middleware = new AuthTokenMiddleware($oauth2); + * $stack = HandlerStack::create(); + * $stack->push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'auth' => 'google_auth' // authorize all requests + * ]); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + * + * @param callable $handler + * + * @return \Closure + */ + public function __invoke(callable $handler) + { + return function (RequestInterface $request, array $options) use ($handler) { + // Requests using "auth"="google_auth" will be authorized. + if (!isset($options['auth']) || $options['auth'] !== 'google_auth') { + return $handler($request, $options); + } + + $request = $request->withHeader('Authorization', 'Bearer ' . $this->fetchToken()); + + return $handler($request, $options); + }; + } + + /** + * Call fetcher to fetch the token. + * + * @return string + */ + private function fetchToken() + { + $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler); + + if (array_key_exists('access_token', $auth_tokens)) { + // notify the callback if applicable + if ($this->tokenCallback) { + call_user_func($this->tokenCallback, $this->fetcher->getCacheKey(), $auth_tokens['access_token']); + } + + return $auth_tokens['access_token']; + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php new file mode 100644 index 00000000..f0d533cf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php @@ -0,0 +1,175 @@ +' + */ +class ScopedAccessTokenMiddleware +{ + use CacheTrait; + + const DEFAULT_CACHE_LIFETIME = 1500; + + /** + * @var CacheItemPoolInterface + */ + private $cache; + + /** + * @var array configuration + */ + private $cacheConfig; + + /** + * @var callable + */ + private $tokenFunc; + + /** + * @var array|string + */ + private $scopes; + + /** + * Creates a new ScopedAccessTokenMiddleware. + * + * @param callable $tokenFunc a token generator function + * @param array|string $scopes the token authentication scopes + * @param array $cacheConfig configuration for the cache when it's present + * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface + */ + public function __construct( + callable $tokenFunc, + $scopes, + array $cacheConfig = null, + CacheItemPoolInterface $cache = null + ) { + $this->tokenFunc = $tokenFunc; + if (!(is_string($scopes) || is_array($scopes))) { + throw new \InvalidArgumentException( + 'wants scope should be string or array'); + } + $this->scopes = $scopes; + + if (!is_null($cache)) { + $this->cache = $cache; + $this->cacheConfig = array_merge([ + 'lifetime' => self::DEFAULT_CACHE_LIFETIME, + 'prefix' => '', + ], $cacheConfig); + } + } + + /** + * Updates the request with an Authorization header when auth is 'scoped'. + * + * E.g this could be used to authenticate using the AppEngine + * AppIdentityService. + * + * use google\appengine\api\app_identity\AppIdentityService; + * use Google\Auth\Middleware\ScopedAccessTokenMiddleware; + * use GuzzleHttp\Client; + * use GuzzleHttp\HandlerStack; + * + * $scope = 'https://www.googleapis.com/auth/taskqueue' + * $middleware = new ScopedAccessTokenMiddleware( + * 'AppIdentityService::getAccessToken', + * $scope, + * [ 'prefix' => 'Google\Auth\ScopedAccessToken::' ], + * $cache = new Memcache() + * ); + * $stack = HandlerStack::create(); + * $stack->push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'auth' => 'google_auth' // authorize all requests + * ]); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + * + * @param callable $handler + * + * @return \Closure + */ + public function __invoke(callable $handler) + { + return function (RequestInterface $request, array $options) use ($handler) { + // Requests using "auth"="scoped" will be authorized. + if (!isset($options['auth']) || $options['auth'] !== 'scoped') { + return $handler($request, $options); + } + + $request = $request->withHeader('Authorization', 'Bearer ' . $this->fetchToken()); + + return $handler($request, $options); + }; + } + + /** + * @return string + */ + private function getCacheKey() + { + $key = null; + + if (is_string($this->scopes)) { + $key .= $this->scopes; + } elseif (is_array($this->scopes)) { + $key .= implode(':', $this->scopes); + } + + return $key; + } + + /** + * Determine if token is available in the cache, if not call tokenFunc to + * fetch it. + * + * @return string + */ + private function fetchToken() + { + $cacheKey = $this->getCacheKey(); + $cached = $this->getCachedValue($cacheKey); + + if (!empty($cached)) { + return $cached; + } + + $token = call_user_func($this->tokenFunc, $this->scopes); + $this->setCachedValue($cacheKey, $token); + + return $token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php new file mode 100644 index 00000000..c31fc657 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Middleware/SimpleMiddleware.php @@ -0,0 +1,93 @@ +config = array_merge(['key' => null], $config); + } + + /** + * Updates the request query with the developer key if auth is set to simple. + * + * use Google\Auth\Middleware\SimpleMiddleware; + * use GuzzleHttp\Client; + * use GuzzleHttp\HandlerStack; + * + * $my_key = 'is not the same as yours'; + * $middleware = new SimpleMiddleware(['key' => $my_key]); + * $stack = HandlerStack::create(); + * $stack->push($middleware); + * + * $client = new Client([ + * 'handler' => $stack, + * 'base_uri' => 'https://www.googleapis.com/discovery/v1/', + * 'auth' => 'simple' + * ]); + * + * $res = $client->get('drive/v2/rest'); + * + * @param callable $handler + * + * @return \Closure + */ + public function __invoke(callable $handler) + { + return function (RequestInterface $request, array $options) use ($handler) { + // Requests using "auth"="scoped" will be authorized. + if (!isset($options['auth']) || $options['auth'] !== 'simple') { + return $handler($request, $options); + } + + $query = Psr7\parse_query($request->getUri()->getQuery()); + $params = array_merge($query, $this->config); + $uri = $request->getUri()->withQuery(Psr7\build_query($params)); + $request = $request->withUri($uri); + + return $handler($request, $options); + }; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/OAuth2.php b/mayor-orig/www/include/share/googleapi/google/auth/src/OAuth2.php new file mode 100644 index 00000000..d5378239 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/OAuth2.php @@ -0,0 +1,1306 @@ + self::DEFAULT_EXPIRY_SECONDS, + 'extensionParams' => [], + 'authorizationUri' => null, + 'redirectUri' => null, + 'tokenCredentialUri' => null, + 'state' => null, + 'username' => null, + 'password' => null, + 'clientId' => null, + 'clientSecret' => null, + 'issuer' => null, + 'sub' => null, + 'audience' => null, + 'signingKey' => null, + 'signingAlgorithm' => null, + 'scope' => null, + ], $config); + + $this->setAuthorizationUri($opts['authorizationUri']); + $this->setRedirectUri($opts['redirectUri']); + $this->setTokenCredentialUri($opts['tokenCredentialUri']); + $this->setState($opts['state']); + $this->setUsername($opts['username']); + $this->setPassword($opts['password']); + $this->setClientId($opts['clientId']); + $this->setClientSecret($opts['clientSecret']); + $this->setIssuer($opts['issuer']); + $this->setSub($opts['sub']); + $this->setExpiry($opts['expiry']); + $this->setAudience($opts['audience']); + $this->setSigningKey($opts['signingKey']); + $this->setSigningAlgorithm($opts['signingAlgorithm']); + $this->setScope($opts['scope']); + $this->setExtensionParams($opts['extensionParams']); + $this->updateToken($opts); + } + + /** + * Verifies the idToken if present. + * + * - if none is present, return null + * - if present, but invalid, raises DomainException. + * - otherwise returns the payload in the idtoken as a PHP object. + * + * if $publicKey is null, the key is decoded without being verified. + * + * @param string $publicKey The public key to use to authenticate the token + * @param array $allowed_algs List of supported verification algorithms + * + * @return null|object + */ + public function verifyIdToken($publicKey = null, $allowed_algs = array()) + { + $idToken = $this->getIdToken(); + if (is_null($idToken)) { + return null; + } + + $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs); + if (!property_exists($resp, 'aud')) { + throw new \DomainException('No audience found the id token'); + } + if ($resp->aud != $this->getAudience()) { + throw new \DomainException('Wrong audience present in the id token'); + } + + return $resp; + } + + /** + * Obtains the encoded jwt from the instance data. + * + * @param array $config array optional configuration parameters + * + * @return string + */ + public function toJwt(array $config = []) + { + if (is_null($this->getSigningKey())) { + throw new \DomainException('No signing key available'); + } + if (is_null($this->getSigningAlgorithm())) { + throw new \DomainException('No signing algorithm specified'); + } + $now = time(); + + $opts = array_merge([ + 'skew' => self::DEFAULT_SKEW_SECONDS, + ], $config); + + $assertion = [ + 'iss' => $this->getIssuer(), + 'aud' => $this->getAudience(), + 'exp' => ($now + $this->getExpiry()), + 'iat' => ($now - $opts['skew']), + ]; + foreach ($assertion as $k => $v) { + if (is_null($v)) { + throw new \DomainException($k . ' should not be null'); + } + } + if (!(is_null($this->getScope()))) { + $assertion['scope'] = $this->getScope(); + } + if (!(is_null($this->getSub()))) { + $assertion['sub'] = $this->getSub(); + } + + return $this->jwtEncode($assertion, $this->getSigningKey(), + $this->getSigningAlgorithm()); + } + + /** + * Generates a request for token credentials. + * + * @return RequestInterface the authorization Url. + */ + public function generateCredentialsRequest() + { + $uri = $this->getTokenCredentialUri(); + if (is_null($uri)) { + throw new \DomainException('No token credential URI was set.'); + } + + $grantType = $this->getGrantType(); + $params = array('grant_type' => $grantType); + switch ($grantType) { + case 'authorization_code': + $params['code'] = $this->getCode(); + $params['redirect_uri'] = $this->getRedirectUri(); + $this->addClientCredentials($params); + break; + case 'password': + $params['username'] = $this->getUsername(); + $params['password'] = $this->getPassword(); + $this->addClientCredentials($params); + break; + case 'refresh_token': + $params['refresh_token'] = $this->getRefreshToken(); + $this->addClientCredentials($params); + break; + case self::JWT_URN: + $params['assertion'] = $this->toJwt(); + break; + default: + if (!is_null($this->getRedirectUri())) { + # Grant type was supposed to be 'authorization_code', as there + # is a redirect URI. + throw new \DomainException('Missing authorization code'); + } + unset($params['grant_type']); + if (!is_null($grantType)) { + $params['grant_type'] = $grantType; + } + $params = array_merge($params, $this->getExtensionParams()); + } + + $headers = [ + 'Cache-Control' => 'no-store', + 'Content-Type' => 'application/x-www-form-urlencoded', + ]; + + return new Request( + 'POST', + $uri, + $headers, + Psr7\build_query($params) + ); + } + + /** + * Fetches the auth tokens based on the current state. + * + * @param callable $httpHandler callback which delivers psr7 request + * + * @return array the response + */ + public function fetchAuthToken(callable $httpHandler = null) + { + if (is_null($httpHandler)) { + $httpHandler = HttpHandlerFactory::build(); + } + + $response = $httpHandler($this->generateCredentialsRequest()); + $credentials = $this->parseTokenResponse($response); + $this->updateToken($credentials); + + return $credentials; + } + + /** + * Obtains a key that can used to cache the results of #fetchAuthToken. + * + * The key is derived from the scopes. + * + * @return string a key that may be used to cache the auth token. + */ + public function getCacheKey() + { + if (is_string($this->scope)) { + return $this->scope; + } elseif (is_array($this->scope)) { + return implode(':', $this->scope); + } + + // If scope has not set, return null to indicate no caching. + return null; + } + + /** + * Parses the fetched tokens. + * + * @param ResponseInterface $resp the response. + * + * @return array the tokens parsed from the response body. + * + * @throws \Exception + */ + public function parseTokenResponse(ResponseInterface $resp) + { + $body = (string)$resp->getBody(); + if ($resp->hasHeader('Content-Type') && + $resp->getHeaderLine('Content-Type') == 'application/x-www-form-urlencoded' + ) { + $res = array(); + parse_str($body, $res); + + return $res; + } else { + // Assume it's JSON; if it's not throw an exception + if (null === $res = json_decode($body, true)) { + throw new \Exception('Invalid JSON response'); + } + + return $res; + } + } + + /** + * Updates an OAuth 2.0 client. + * + * @example + * client.updateToken([ + * 'refresh_token' => 'n4E9O119d', + * 'access_token' => 'FJQbwq9', + * 'expires_in' => 3600 + * ]) + * + * @param array $config + * The configuration parameters related to the token. + * + * - refresh_token + * The refresh token associated with the access token + * to be refreshed. + * + * - access_token + * The current access token for this client. + * + * - id_token + * The current ID token for this client. + * + * - expires_in + * The time in seconds until access token expiration. + * + * - expires_at + * The time as an integer number of seconds since the Epoch + * + * - issued_at + * The timestamp that the token was issued at. + */ + public function updateToken(array $config) + { + $opts = array_merge([ + 'extensionParams' => [], + 'access_token' => null, + 'id_token' => null, + 'expires_in' => null, + 'expires_at' => null, + 'issued_at' => null, + ], $config); + + $this->setExpiresAt($opts['expires_at']); + $this->setExpiresIn($opts['expires_in']); + // By default, the token is issued at `Time.now` when `expiresIn` is set, + // but this can be used to supply a more precise time. + if (!is_null($opts['issued_at'])) { + $this->setIssuedAt($opts['issued_at']); + } + + $this->setAccessToken($opts['access_token']); + $this->setIdToken($opts['id_token']); + // The refresh token should only be updated if a value is explicitly + // passed in, as some access token responses do not include a refresh + // token. + if (array_key_exists('refresh_token', $opts)) { + $this->setRefreshToken($opts['refresh_token']); + } + } + + /** + * Builds the authorization Uri that the user should be redirected to. + * + * @param array $config configuration options that customize the return url + * + * @return UriInterface the authorization Url. + * + * @throws InvalidArgumentException + */ + public function buildFullAuthorizationUri(array $config = []) + { + if (is_null($this->getAuthorizationUri())) { + throw new InvalidArgumentException( + 'requires an authorizationUri to have been set'); + } + + $params = array_merge([ + 'response_type' => 'code', + 'access_type' => 'offline', + 'client_id' => $this->clientId, + 'redirect_uri' => $this->redirectUri, + 'state' => $this->state, + 'scope' => $this->getScope(), + ], $config); + + // Validate the auth_params + if (is_null($params['client_id'])) { + throw new InvalidArgumentException( + 'missing the required client identifier'); + } + if (is_null($params['redirect_uri'])) { + throw new InvalidArgumentException('missing the required redirect URI'); + } + if (!empty($params['prompt']) && !empty($params['approval_prompt'])) { + throw new InvalidArgumentException( + 'prompt and approval_prompt are mutually exclusive'); + } + + // Construct the uri object; return it if it is valid. + $result = clone $this->authorizationUri; + $existingParams = Psr7\parse_query($result->getQuery()); + + $result = $result->withQuery( + Psr7\build_query(array_merge($existingParams, $params)) + ); + + if ($result->getScheme() != 'https') { + throw new InvalidArgumentException( + 'Authorization endpoint must be protected by TLS'); + } + + return $result; + } + + /** + * Sets the authorization server's HTTP endpoint capable of authenticating + * the end-user and obtaining authorization. + * + * @param string $uri + */ + public function setAuthorizationUri($uri) + { + $this->authorizationUri = $this->coerceUri($uri); + } + + /** + * Gets the authorization server's HTTP endpoint capable of authenticating + * the end-user and obtaining authorization. + * + * @return UriInterface + */ + public function getAuthorizationUri() + { + return $this->authorizationUri; + } + + /** + * Gets the authorization server's HTTP endpoint capable of issuing tokens + * and refreshing expired tokens. + * + * @return string + */ + public function getTokenCredentialUri() + { + return $this->tokenCredentialUri; + } + + /** + * Sets the authorization server's HTTP endpoint capable of issuing tokens + * and refreshing expired tokens. + * + * @param string $uri + */ + public function setTokenCredentialUri($uri) + { + $this->tokenCredentialUri = $this->coerceUri($uri); + } + + /** + * Gets the redirection URI used in the initial request. + * + * @return string + */ + public function getRedirectUri() + { + return $this->redirectUri; + } + + /** + * Sets the redirection URI used in the initial request. + * + * @param string $uri + */ + public function setRedirectUri($uri) + { + if (is_null($uri)) { + $this->redirectUri = null; + + return; + } + // redirect URI must be absolute + if (!$this->isAbsoluteUri($uri)) { + // "postmessage" is a reserved URI string in Google-land + // @see https://developers.google.com/identity/sign-in/web/server-side-flow + if ('postmessage' !== (string)$uri) { + throw new InvalidArgumentException( + 'Redirect URI must be absolute'); + } + } + $this->redirectUri = (string)$uri; + } + + /** + * Gets the scope of the access requests as a space-delimited String. + * + * @return string + */ + public function getScope() + { + if (is_null($this->scope)) { + return $this->scope; + } + + return implode(' ', $this->scope); + } + + /** + * Sets the scope of the access request, expressed either as an Array or as + * a space-delimited String. + * + * @param string|array $scope + * + * @throws InvalidArgumentException + */ + public function setScope($scope) + { + if (is_null($scope)) { + $this->scope = null; + } elseif (is_string($scope)) { + $this->scope = explode(' ', $scope); + } elseif (is_array($scope)) { + foreach ($scope as $s) { + $pos = strpos($s, ' '); + if ($pos !== false) { + throw new InvalidArgumentException( + 'array scope values should not contain spaces'); + } + } + $this->scope = $scope; + } else { + throw new InvalidArgumentException( + 'scopes should be a string or array of strings'); + } + } + + /** + * Gets the current grant type. + * + * @return string + */ + public function getGrantType() + { + if (!is_null($this->grantType)) { + return $this->grantType; + } + + // Returns the inferred grant type, based on the current object instance + // state. + if (!is_null($this->code)) { + return 'authorization_code'; + } elseif (!is_null($this->refreshToken)) { + return 'refresh_token'; + } elseif (!is_null($this->username) && !is_null($this->password)) { + return 'password'; + } elseif (!is_null($this->issuer) && !is_null($this->signingKey)) { + return self::JWT_URN; + } else { + return null; + } + } + + /** + * Sets the current grant type. + * + * @param $grantType + * + * @throws InvalidArgumentException + */ + public function setGrantType($grantType) + { + if (in_array($grantType, self::$knownGrantTypes)) { + $this->grantType = $grantType; + } else { + // validate URI + if (!$this->isAbsoluteUri($grantType)) { + throw new InvalidArgumentException( + 'invalid grant type'); + } + $this->grantType = (string)$grantType; + } + } + + /** + * Gets an arbitrary string designed to allow the client to maintain state. + * + * @return string + */ + public function getState() + { + return $this->state; + } + + /** + * Sets an arbitrary string designed to allow the client to maintain state. + * + * @param string $state + */ + public function setState($state) + { + $this->state = $state; + } + + /** + * Gets the authorization code issued to this client. + */ + public function getCode() + { + return $this->code; + } + + /** + * Sets the authorization code issued to this client. + * + * @param string $code + */ + public function setCode($code) + { + $this->code = $code; + } + + /** + * Gets the resource owner's username. + */ + public function getUsername() + { + return $this->username; + } + + /** + * Sets the resource owner's username. + * + * @param string $username + */ + public function setUsername($username) + { + $this->username = $username; + } + + /** + * Gets the resource owner's password. + */ + public function getPassword() + { + return $this->password; + } + + /** + * Sets the resource owner's password. + * + * @param $password + */ + public function setPassword($password) + { + $this->password = $password; + } + + /** + * Sets a unique identifier issued to the client to identify itself to the + * authorization server. + */ + public function getClientId() + { + return $this->clientId; + } + + /** + * Sets a unique identifier issued to the client to identify itself to the + * authorization server. + * + * @param $clientId + */ + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + + /** + * Gets a shared symmetric secret issued by the authorization server, which + * is used to authenticate the client. + */ + public function getClientSecret() + { + return $this->clientSecret; + } + + /** + * Sets a shared symmetric secret issued by the authorization server, which + * is used to authenticate the client. + * + * @param $clientSecret + */ + public function setClientSecret($clientSecret) + { + $this->clientSecret = $clientSecret; + } + + /** + * Gets the Issuer ID when using assertion profile. + */ + public function getIssuer() + { + return $this->issuer; + } + + /** + * Sets the Issuer ID when using assertion profile. + * + * @param string $issuer + */ + public function setIssuer($issuer) + { + $this->issuer = $issuer; + } + + /** + * Gets the target sub when issuing assertions. + */ + public function getSub() + { + return $this->sub; + } + + /** + * Sets the target sub when issuing assertions. + * + * @param string $sub + */ + public function setSub($sub) + { + $this->sub = $sub; + } + + /** + * Gets the target audience when issuing assertions. + */ + public function getAudience() + { + return $this->audience; + } + + /** + * Sets the target audience when issuing assertions. + * + * @param string $audience + */ + public function setAudience($audience) + { + $this->audience = $audience; + } + + /** + * Gets the signing key when using an assertion profile. + */ + public function getSigningKey() + { + return $this->signingKey; + } + + /** + * Sets the signing key when using an assertion profile. + * + * @param string $signingKey + */ + public function setSigningKey($signingKey) + { + $this->signingKey = $signingKey; + } + + /** + * Gets the signing algorithm when using an assertion profile. + * + * @return string + */ + public function getSigningAlgorithm() + { + return $this->signingAlgorithm; + } + + /** + * Sets the signing algorithm when using an assertion profile. + * + * @param string $signingAlgorithm + */ + public function setSigningAlgorithm($signingAlgorithm) + { + if (is_null($signingAlgorithm)) { + $this->signingAlgorithm = null; + } elseif (!in_array($signingAlgorithm, self::$knownSigningAlgorithms)) { + throw new InvalidArgumentException('unknown signing algorithm'); + } else { + $this->signingAlgorithm = $signingAlgorithm; + } + } + + /** + * Gets the set of parameters used by extension when using an extension + * grant type. + */ + public function getExtensionParams() + { + return $this->extensionParams; + } + + /** + * Sets the set of parameters used by extension when using an extension + * grant type. + * + * @param $extensionParams + */ + public function setExtensionParams($extensionParams) + { + $this->extensionParams = $extensionParams; + } + + /** + * Gets the number of seconds assertions are valid for. + */ + public function getExpiry() + { + return $this->expiry; + } + + /** + * Sets the number of seconds assertions are valid for. + * + * @param int $expiry + */ + public function setExpiry($expiry) + { + $this->expiry = $expiry; + } + + /** + * Gets the lifetime of the access token in seconds. + */ + public function getExpiresIn() + { + return $this->expiresIn; + } + + /** + * Sets the lifetime of the access token in seconds. + * + * @param int $expiresIn + */ + public function setExpiresIn($expiresIn) + { + if (is_null($expiresIn)) { + $this->expiresIn = null; + $this->issuedAt = null; + } else { + $this->issuedAt = time(); + $this->expiresIn = (int)$expiresIn; + } + } + + /** + * Gets the time the current access token expires at. + * + * @return int + */ + public function getExpiresAt() + { + if (!is_null($this->expiresAt)) { + return $this->expiresAt; + } elseif (!is_null($this->issuedAt) && !is_null($this->expiresIn)) { + return $this->issuedAt + $this->expiresIn; + } + + return null; + } + + /** + * Returns true if the acccess token has expired. + * + * @return bool + */ + public function isExpired() + { + $expiration = $this->getExpiresAt(); + $now = time(); + + return !is_null($expiration) && $now >= $expiration; + } + + /** + * Sets the time the current access token expires at. + * + * @param int $expiresAt + */ + public function setExpiresAt($expiresAt) + { + $this->expiresAt = $expiresAt; + } + + /** + * Gets the time the current access token was issued at. + */ + public function getIssuedAt() + { + return $this->issuedAt; + } + + /** + * Sets the time the current access token was issued at. + * + * @param int $issuedAt + */ + public function setIssuedAt($issuedAt) + { + $this->issuedAt = $issuedAt; + } + + /** + * Gets the current access token. + */ + public function getAccessToken() + { + return $this->accessToken; + } + + /** + * Sets the current access token. + * + * @param string $accessToken + */ + public function setAccessToken($accessToken) + { + $this->accessToken = $accessToken; + } + + /** + * Gets the current ID token. + */ + public function getIdToken() + { + return $this->idToken; + } + + /** + * Sets the current ID token. + * + * @param $idToken + */ + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + + /** + * Gets the refresh token associated with the current access token. + */ + public function getRefreshToken() + { + return $this->refreshToken; + } + + /** + * Sets the refresh token associated with the current access token. + * + * @param $refreshToken + */ + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + + /** + * The expiration of the last received token. + * + * @return array + */ + public function getLastReceivedToken() + { + if ($token = $this->getAccessToken()) { + return [ + 'access_token' => $token, + 'expires_at' => $this->getExpiresAt(), + ]; + } + + return null; + } + + /** + * @todo handle uri as array + * + * @param string $uri + * + * @return null|UriInterface + */ + private function coerceUri($uri) + { + if (is_null($uri)) { + return; + } + + return Psr7\uri_for($uri); + } + + /** + * @param string $idToken + * @param string|array|null $publicKey + * @param array $allowedAlgs + * + * @return object + */ + private function jwtDecode($idToken, $publicKey, $allowedAlgs) + { + if (class_exists('Firebase\JWT\JWT')) { + return \Firebase\JWT\JWT::decode($idToken, $publicKey, $allowedAlgs); + } + + return \JWT::decode($idToken, $publicKey, $allowedAlgs); + } + + private function jwtEncode($assertion, $signingKey, $signingAlgorithm) + { + if (class_exists('Firebase\JWT\JWT')) { + return \Firebase\JWT\JWT::encode($assertion, $signingKey, + $signingAlgorithm); + } + + return \JWT::encode($assertion, $signingKey, $signingAlgorithm); + } + + /** + * Determines if the URI is absolute based on its scheme and host or path + * (RFC 3986). + * + * @param string $uri + * + * @return bool + */ + private function isAbsoluteUri($uri) + { + $uri = $this->coerceUri($uri); + + return $uri->getScheme() && ($uri->getHost() || $uri->getPath()); + } + + /** + * @param array $params + * + * @return array + */ + private function addClientCredentials(&$params) + { + $clientId = $this->getClientId(); + $clientSecret = $this->getClientSecret(); + + if ($clientId && $clientSecret) { + $params['client_id'] = $clientId; + $params['client_secret'] = $clientSecret; + } + + return $params; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php new file mode 100644 index 00000000..0df8027f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/AuthTokenSubscriber.php @@ -0,0 +1,118 @@ +' + */ +class AuthTokenSubscriber implements SubscriberInterface +{ + /** + * @var callable + */ + private $httpHandler; + + /** + * @var FetchAuthTokenInterface + */ + private $fetcher; + + /** + * @var callable + */ + private $tokenCallback; + + /** + * Creates a new AuthTokenSubscriber. + * + * @param FetchAuthTokenInterface $fetcher is used to fetch the auth token + * @param callable $httpHandler (optional) http client to fetch the token. + * @param callable $tokenCallback (optional) function to be called when a new token is fetched. + */ + public function __construct( + FetchAuthTokenInterface $fetcher, + callable $httpHandler = null, + callable $tokenCallback = null + ) { + $this->fetcher = $fetcher; + $this->httpHandler = $httpHandler; + $this->tokenCallback = $tokenCallback; + } + + /** + * @return array + */ + public function getEvents() + { + return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]]; + } + + /** + * Updates the request with an Authorization header when auth is 'fetched_auth_token'. + * + * use GuzzleHttp\Client; + * use Google\Auth\OAuth2; + * use Google\Auth\Subscriber\AuthTokenSubscriber; + * + * $config = [...]; + * $oauth2 = new OAuth2($config) + * $subscriber = new AuthTokenSubscriber($oauth2); + * + * $client = new Client([ + * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'defaults' => ['auth' => 'google_auth'] + * ]); + * $client->getEmitter()->attach($subscriber); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + * + * @param BeforeEvent $event + */ + public function onBefore(BeforeEvent $event) + { + // Requests using "auth"="google_auth" will be authorized. + $request = $event->getRequest(); + if ($request->getConfig()['auth'] != 'google_auth') { + return; + } + + // Fetch the auth token. + $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler); + if (array_key_exists('access_token', $auth_tokens)) { + $request->setHeader('Authorization', 'Bearer ' . $auth_tokens['access_token']); + + // notify the callback if applicable + if ($this->tokenCallback) { + call_user_func($this->tokenCallback, $this->fetcher->getCacheKey(), $auth_tokens['access_token']); + } + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php new file mode 100644 index 00000000..ad744ead --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php @@ -0,0 +1,177 @@ +' + */ +class ScopedAccessTokenSubscriber implements SubscriberInterface +{ + use CacheTrait; + + const DEFAULT_CACHE_LIFETIME = 1500; + + /** + * @var CacheItemPoolInterface + */ + private $cache; + + /** + * @var callable The access token generator function + */ + private $tokenFunc; + + /** + * @var array|string The scopes used to generate the token + */ + private $scopes; + + /** + * @var array + */ + private $cacheConfig; + + /** + * Creates a new ScopedAccessTokenSubscriber. + * + * @param callable $tokenFunc a token generator function + * @param array|string $scopes the token authentication scopes + * @param array $cacheConfig configuration for the cache when it's present + * @param CacheItemPoolInterface $cache an implementation of CacheItemPoolInterface + */ + public function __construct( + callable $tokenFunc, + $scopes, + array $cacheConfig = null, + CacheItemPoolInterface $cache = null + ) { + $this->tokenFunc = $tokenFunc; + if (!(is_string($scopes) || is_array($scopes))) { + throw new \InvalidArgumentException( + 'wants scope should be string or array'); + } + $this->scopes = $scopes; + + if (!is_null($cache)) { + $this->cache = $cache; + $this->cacheConfig = array_merge([ + 'lifetime' => self::DEFAULT_CACHE_LIFETIME, + 'prefix' => '', + ], $cacheConfig); + } + } + + /** + * @return array + */ + public function getEvents() + { + return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]]; + } + + /** + * Updates the request with an Authorization header when auth is 'scoped'. + * + * E.g this could be used to authenticate using the AppEngine + * AppIdentityService. + * + * use google\appengine\api\app_identity\AppIdentityService; + * use Google\Auth\Subscriber\ScopedAccessTokenSubscriber; + * use GuzzleHttp\Client; + * + * $scope = 'https://www.googleapis.com/auth/taskqueue' + * $subscriber = new ScopedAccessToken( + * 'AppIdentityService::getAccessToken', + * $scope, + * ['prefix' => 'Google\Auth\ScopedAccessToken::'], + * $cache = new Memcache() + * ); + * + * $client = new Client([ + * 'base_url' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/', + * 'defaults' => ['auth' => 'scoped'] + * ]); + * $client->getEmitter()->attach($subscriber); + * + * $res = $client->get('myproject/taskqueues/myqueue'); + * + * @param BeforeEvent $event + */ + public function onBefore(BeforeEvent $event) + { + // Requests using "auth"="scoped" will be authorized. + $request = $event->getRequest(); + if ($request->getConfig()['auth'] != 'scoped') { + return; + } + $auth_header = 'Bearer ' . $this->fetchToken(); + $request->setHeader('Authorization', $auth_header); + } + + /** + * @return string + */ + private function getCacheKey() + { + $key = null; + + if (is_string($this->scopes)) { + $key .= $this->scopes; + } elseif (is_array($this->scopes)) { + $key .= implode(':', $this->scopes); + } + + return $key; + } + + /** + * Determine if token is available in the cache, if not call tokenFunc to + * fetch it. + * + * @return string + */ + private function fetchToken() + { + $cacheKey = $this->getCacheKey(); + $cached = $this->getCachedValue($cacheKey); + + if (!empty($cached)) { + return $cached; + } + + $token = call_user_func($this->tokenFunc, $this->scopes); + $this->setCachedValue($cacheKey, $token); + + return $token; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php new file mode 100644 index 00000000..0c567313 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/src/Subscriber/SimpleSubscriber.php @@ -0,0 +1,90 @@ +config = array_merge([], $config); + } + + /** + * @return array + */ + public function getEvents() + { + return ['before' => ['onBefore', RequestEvents::SIGN_REQUEST]]; + } + + /** + * Updates the request query with the developer key if auth is set to simple. + * + * use Google\Auth\Subscriber\SimpleSubscriber; + * use GuzzleHttp\Client; + * + * $my_key = 'is not the same as yours'; + * $subscriber = new SimpleSubscriber(['key' => $my_key]); + * + * $client = new Client([ + * 'base_url' => 'https://www.googleapis.com/discovery/v1/', + * 'defaults' => ['auth' => 'simple'] + * ]); + * $client->getEmitter()->attach($subscriber); + * + * $res = $client->get('drive/v2/rest'); + * + * @param BeforeEvent $event + */ + public function onBefore(BeforeEvent $event) + { + // Requests using "auth"="simple" with the developer key. + $request = $event->getRequest(); + if ($request->getConfig()['auth'] != 'simple') { + return; + } + $request->getQuery()->overwriteWith($this->config); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php new file mode 100644 index 00000000..b7cda07e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/ApplicationDefaultCredentialsTest.php @@ -0,0 +1,299 @@ +originalHome = getenv('HOME'); + } + + protected function tearDown() + { + if ($this->originalHome != getenv('HOME')) { + putenv('HOME=' . $this->originalHome); + } + putenv(ServiceAccountCredentials::ENV_VAR); // removes it from + } + + /** + * @expectedException DomainException + */ + public function testIsFailsEnvSpecifiesNonExistentFile() + { + $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + ApplicationDefaultCredentials::getCredentials('a scope'); + } + + public function testLoadsOKIfEnvSpecifiedIsValid() + { + $keyFile = __DIR__ . '/fixtures' . '/private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + $this->assertNotNull( + ApplicationDefaultCredentials::getCredentials('a scope') + ); + } + + public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet() + { + putenv('HOME=' . __DIR__ . '/fixtures'); + $this->assertNotNull( + ApplicationDefaultCredentials::getCredentials('a scope') + ); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfNotOnGceAndNoDefaultFileFound() + { + putenv('HOME=' . __DIR__ . '/not_exist_fixtures'); + // simulate not being GCE by return 500 + $httpHandler = getHandler([ + buildResponse(500), + ]); + + ApplicationDefaultCredentials::getCredentials('a scope', $httpHandler); + } + + public function testSuccedsIfNoDefaultFilesButIsOnGCE() + { + $wantedTokens = [ + 'access_token' => '1/abdef1234567890', + 'expires_in' => '57', + 'token_type' => 'Bearer', + ]; + $jsonTokens = json_encode($wantedTokens); + + // simulate the response from GCE. + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + buildResponse(200, [], Psr7\stream_for($jsonTokens)), + ]); + + $this->assertNotNull( + ApplicationDefaultCredentials::getCredentials('a scope', $httpHandler) + ); + } +} + +class ADCGetMiddlewareTest extends \PHPUnit_Framework_TestCase +{ + private $originalHome; + + protected function setUp() + { + $this->originalHome = getenv('HOME'); + } + + protected function tearDown() + { + if ($this->originalHome != getenv('HOME')) { + putenv('HOME=' . $this->originalHome); + } + putenv(ServiceAccountCredentials::ENV_VAR); // removes it if assigned + } + + /** + * @expectedException DomainException + */ + public function testIsFailsEnvSpecifiesNonExistentFile() + { + $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + ApplicationDefaultCredentials::getMiddleware('a scope'); + } + + public function testLoadsOKIfEnvSpecifiedIsValid() + { + $keyFile = __DIR__ . '/fixtures' . '/private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope')); + } + + public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet() + { + putenv('HOME=' . __DIR__ . '/fixtures'); + $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope')); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfNotOnGceAndNoDefaultFileFound() + { + putenv('HOME=' . __DIR__ . '/not_exist_fixtures'); + + // simulate not being GCE by return 500 + $httpHandler = getHandler([ + buildResponse(500), + ]); + + ApplicationDefaultCredentials::getMiddleware('a scope', $httpHandler); + } + + public function testSuccedsIfNoDefaultFilesButIsOnGCE() + { + $wantedTokens = [ + 'access_token' => '1/abdef1234567890', + 'expires_in' => '57', + 'token_type' => 'Bearer', + ]; + $jsonTokens = json_encode($wantedTokens); + + // simulate the response from GCE. + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + buildResponse(200, [], Psr7\stream_for($jsonTokens)), + ]); + + $this->assertNotNull(ApplicationDefaultCredentials::getMiddleware('a scope', $httpHandler)); + } +} + +class ADCGetCredentialsAppEngineTest extends BaseTest +{ + private $originalHome; + private $originalServiceAccount; + + protected function setUp() + { + // set home to be somewhere else + $this->originalHome = getenv('HOME'); + putenv('HOME=' . __DIR__ . '/not_exist_fixtures'); + + // remove service account path + $this->originalServiceAccount = getenv(ServiceAccountCredentials::ENV_VAR); + putenv(ServiceAccountCredentials::ENV_VAR); + } + + protected function tearDown() + { + // removes it if assigned + putenv('HOME=' . $this->originalHome); + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $this->originalServiceAccount); + } + + public function testAppEngineStandard() + { + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + $this->assertInstanceOf( + 'Google\Auth\Credentials\AppIdentityCredentials', + ApplicationDefaultCredentials::getCredentials() + ); + } + + public function testAppEngineFlexible() + { + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + $_SERVER['GAE_VM'] = 'true'; + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + ]); + $this->assertInstanceOf( + 'Google\Auth\Credentials\GCECredentials', + ApplicationDefaultCredentials::getCredentials(null, $httpHandler) + ); + } +} + +// @todo consider a way to DRY this and above class up +class ADCGetSubscriberTest extends BaseTest +{ + private $originalHome; + + protected function setUp() + { + $this->onlyGuzzle5(); + + $this->originalHome = getenv('HOME'); + } + + protected function tearDown() + { + if ($this->originalHome != getenv('HOME')) { + putenv('HOME=' . $this->originalHome); + } + putenv(ServiceAccountCredentials::ENV_VAR); // removes it if assigned + } + + /** + * @expectedException DomainException + */ + public function testIsFailsEnvSpecifiesNonExistentFile() + { + $keyFile = __DIR__ . '/fixtures' . '/does-not-exist-private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + ApplicationDefaultCredentials::getSubscriber('a scope'); + } + + public function testLoadsOKIfEnvSpecifiedIsValid() + { + $keyFile = __DIR__ . '/fixtures' . '/private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope')); + } + + public function testLoadsDefaultFileIfPresentAndEnvVarIsNotSet() + { + putenv('HOME=' . __DIR__ . '/fixtures'); + $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope')); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfNotOnGceAndNoDefaultFileFound() + { + putenv('HOME=' . __DIR__ . '/not_exist_fixtures'); + + // simulate not being GCE by return 500 + $httpHandler = getHandler([ + buildResponse(500), + ]); + + ApplicationDefaultCredentials::getSubscriber('a scope', $httpHandler); + } + + public function testSuccedsIfNoDefaultFilesButIsOnGCE() + { + $wantedTokens = [ + 'access_token' => '1/abdef1234567890', + 'expires_in' => '57', + 'token_type' => 'Bearer', + ]; + $jsonTokens = json_encode($wantedTokens); + + // simulate the response from GCE. + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + buildResponse(200, [], Psr7\stream_for($jsonTokens)), + ]); + + $this->assertNotNull(ApplicationDefaultCredentials::getSubscriber('a scope', $httpHandler)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/BaseTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/BaseTest.php new file mode 100644 index 00000000..b005e341 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/BaseTest.php @@ -0,0 +1,32 @@ +markTestSkipped('Guzzle 6 only'); + } + } + + public function onlyGuzzle5() + { + $version = ClientInterface::VERSION; + if ('5' !== $version[0]) { + $this->markTestSkipped('Guzzle 5 only'); + } + } + + /** + * @see Google\Auth\$this->getValidKeyName + */ + public function getValidKeyName($key) + { + return preg_replace('|[^a-zA-Z0-9_\.! ]|', '', $key); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php new file mode 100644 index 00000000..2d00f36c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/ItemTest.php @@ -0,0 +1,125 @@ +assertEquals($key, $this->getItem($key)->getKey()); + } + + public function testGetsNull() + { + $item = $this->getItem('item'); + + $this->assertNull($item->get()); + $this->assertFalse($item->isHit()); + } + + public function testGetsValue() + { + $value = 'value'; + $item = $this->getItem('item'); + $item->set($value); + + $this->assertEquals('value', $item->get()); + } + + /** + * @dataProvider values + */ + public function testSetsValue($value) + { + $item = $this->getItem('item'); + $item->set($value); + + $this->assertEquals($value, $item->get()); + } + + public function values() + { + return [ + [1], + [1.5], + [true], + [null], + [new \DateTime()], + [['test']], + ['value'] + ]; + } + + public function testIsHit() + { + $item = $this->getItem('item'); + + $this->assertFalse($item->isHit()); + + $item->set('value'); + + $this->assertTrue($item->isHit()); + } + + public function testExpiresAt() + { + $item = $this->getItem('item'); + $item->set('value'); + $item->expiresAt(new \DateTime('now + 1 hour')); + + $this->assertTrue($item->isHit()); + + $item->expiresAt(null); + + $this->assertTrue($item->isHit()); + + $item->expiresAt(new \DateTime('yesterday')); + + $this->assertFalse($item->isHit()); + } + + public function testExpiresAfter() + { + $item = $this->getItem('item'); + $item->set('value'); + $item->expiresAfter(30); + + $this->assertTrue($item->isHit()); + + $item->expiresAfter(0); + + $this->assertFalse($item->isHit()); + + $item->expiresAfter(new \DateInterval('PT30S')); + + $this->assertTrue($item->isHit()); + + $item->expiresAfter(null); + + $this->assertTrue($item->isHit()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php new file mode 100644 index 00000000..950d614a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Cache/MemoryCacheItemPoolTest.php @@ -0,0 +1,189 @@ +pool = new MemoryCacheItemPool(); + } + + public function saveItem($key, $value) + { + $item = $this->pool->getItem($key); + $item->set($value); + $this->assertTrue($this->pool->save($item)); + + return $item; + } + + public function testGetsFreshItem() + { + $item = $this->pool->getItem('item'); + + $this->assertInstanceOf('Google\Auth\Cache\Item', $item); + $this->assertNull($item->get()); + $this->assertFalse($item->isHit()); + } + + public function testGetsExistingItem() + { + $key = 'item'; + $value = 'value'; + $this->saveItem($key, $value); + $item = $this->pool->getItem($key); + + $this->assertInstanceOf('Google\Auth\Cache\Item', $item); + $this->assertEquals($value, $item->get()); + $this->assertTrue($item->isHit()); + } + + public function testGetsMultipleItems() + { + $keys = ['item1', 'item2']; + $items = $this->pool->getItems($keys); + + $this->assertEquals($keys, array_keys($items)); + $this->assertContainsOnlyInstancesOf('Google\Auth\Cache\Item', $items); + } + + public function testHasItem() + { + $existsKey = 'does-exist'; + $this->saveItem($existsKey, 'value'); + + $this->assertTrue($this->pool->hasItem($existsKey)); + $this->assertFalse($this->pool->hasItem('does-not-exist')); + } + + public function testClear() + { + $key = 'item'; + $this->saveItem($key, 'value'); + + $this->assertTrue($this->pool->hasItem($key)); + $this->assertTrue($this->pool->clear()); + $this->assertFalse($this->pool->hasItem($key)); + } + + public function testDeletesItem() + { + $key = 'item'; + $this->saveItem($key, 'value'); + + $this->assertTrue($this->pool->deleteItem($key)); + $this->assertFalse($this->pool->hasItem($key)); + } + + public function testDeletesItems() + { + $keys = ['item1', 'item2']; + + foreach ($keys as $key) { + $this->saveItem($key, 'value'); + } + + $this->assertTrue($this->pool->deleteItems($keys)); + $this->assertFalse($this->pool->hasItem($keys[0])); + $this->assertFalse($this->pool->hasItem($keys[1])); + } + + public function testDoesNotDeleteItemsWithInvalidKey() + { + $keys = ['item1', '{item2}', 'item3']; + $value = 'value'; + $this->saveItem($keys[0], $value); + $this->saveItem($keys[2], $value); + + try { + $this->pool->deleteItems($keys); + } catch (InvalidArgumentException $ex) { + // continue execution + } + + $this->assertTrue($this->pool->hasItem($keys[0])); + $this->assertTrue($this->pool->hasItem($keys[2])); + } + + public function testSavesItem() + { + $key = 'item'; + $this->saveItem($key, 'value'); + + $this->assertTrue($this->pool->hasItem($key)); + } + + public function testSavesDeferredItem() + { + $item = $this->pool->getItem('item'); + $this->assertTrue($this->pool->saveDeferred($item)); + } + + public function testCommitsDeferredItems() + { + $keys = ['item1', 'item2']; + + foreach ($keys as $key) { + $item = $this->pool->getItem($key); + $item->set('value'); + $this->pool->saveDeferred($item); + } + + $this->assertTrue($this->pool->commit()); + $this->assertTrue($this->pool->hasItem($keys[0])); + $this->assertTrue($this->pool->hasItem($keys[1])); + } + + /** + * @expectedException \Psr\Cache\InvalidArgumentException + * @dataProvider invalidKeys + */ + public function testCheckInvalidKeys($key) + { + $this->pool->getItem($key); + $this->pool->getItems([$key]); + $this->pool->hasItem($key); + $this->pool->deleteItem($key); + $this->pool->deleteItems([$key]); + } + + public function invalidKeys() + { + return [ + [1], + [true], + [null], + [new \DateTime()], + ['{'], + ['}'], + ['('], + [')'], + ['/'], + ['\\'], + ['@'], + [':'], + [[]] + ]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php new file mode 100644 index 00000000..6946cdbe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/CacheTraitTest.php @@ -0,0 +1,151 @@ +mockFetcher = + $this + ->getMockBuilder('Google\Auth\FetchAuthTokenInterface') + ->getMock(); + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + } + + public function testSuccessfullyPullsFromCache() + { + $expectedValue = '1234'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($expectedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->will($this->returnValue($this->mockCacheItem)); + + $implementation = new CacheTraitImplementation([ + 'cache' => $this->mockCache, + ]); + + $cachedValue = $implementation->gCachedValue(); + $this->assertEquals($expectedValue, $cachedValue); + } + + public function testFailsPullFromCacheWithNoCache() + { + $implementation = new CacheTraitImplementation(); + + $cachedValue = $implementation->gCachedValue(); + $this->assertEquals(null, $cachedValue); + } + + public function testFailsPullFromCacheWithoutKey() + { + $implementation = new CacheTraitImplementation([ + 'cache' => $this->mockCache, + 'key' => null, + ]); + + $cachedValue = $implementation->gCachedValue(); + } + + public function testSuccessfullySetsToCache() + { + $value = '1234'; + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($value); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo('key')) + ->will($this->returnValue($this->mockCacheItem)); + + $implementation = new CacheTraitImplementation([ + 'cache' => $this->mockCache, + ]); + + $implementation->sCachedValue($value); + } + + public function testFailsSetToCacheWithNoCache() + { + $implementation = new CacheTraitImplementation(); + + $implementation->sCachedValue('1234'); + + $cachedValue = $implementation->sCachedValue('1234'); + $this->assertNull($cachedValue); + } + + public function testFailsSetToCacheWithoutKey() + { + $implementation = new CacheTraitImplementation([ + 'cache' => $this->mockCache, + 'key' => null, + ]); + + $cachedValue = $implementation->sCachedValue('1234'); + $this->assertNull($cachedValue); + } +} + +class CacheTraitImplementation +{ + use CacheTrait; + + private $cache; + private $cacheConfig; + + public function __construct(array $config = []) + { + $this->key = array_key_exists('key', $config) ? $config['key'] : 'key'; + $this->cache = isset($config['cache']) ? $config['cache'] : null; + $this->cacheConfig = [ + 'prefix' => '', + 'lifetime' => 1000, + ]; + } + + // allows us to keep trait methods private + public function gCachedValue() + { + return $this->getCachedValue($this->key); + } + + public function sCachedValue($v) + { + $this->setCachedValue($this->key, $v); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php new file mode 100644 index 00000000..a47db8d3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/AppIndentityCredentialsTest.php @@ -0,0 +1,104 @@ +assertFalse(AppIdentityCredentials::onAppEngine()); + } + + public function testIsTrueWhenServerSoftwareIsGoogleAppEngine() + { + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + $this->assertTrue(AppIdentityCredentials::onAppEngine()); + } +} + +class AppIdentityCredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldBeEmpty() + { + $g = new AppIdentityCredentials(); + $this->assertEmpty($g->getCacheKey()); + } +} + +class AppIdentityCredentialsFetchAuthTokenTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldBeEmptyIfNotOnAppEngine() + { + $g = new AppIdentityCredentials(); + $this->assertEquals(array(), $g->fetchAuthToken()); + } + + /* @expectedException */ + public function testThrowsExceptionIfClassDoesntExist() + { + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + $g = new AppIdentityCredentials(); + } + + public function testReturnsExpectedToken() + { + // include the mock AppIdentityService class + require_once __DIR__ . '/../mocks/AppIdentityService.php'; + + $wantedToken = [ + 'access_token' => '1/abdef1234567890', + 'expires_in' => '57', + 'token_type' => 'Bearer', + ]; + + AppIdentityService::$accessToken = $wantedToken; + + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + + $g = new AppIdentityCredentials(); + $this->assertEquals($wantedToken, $g->fetchAuthToken()); + } + + public function testScopeIsAlwaysArray() + { + // include the mock AppIdentityService class + require_once __DIR__ . '/../mocks/AppIdentityService.php'; + + $scope1 = ['scopeA', 'scopeB']; + $scope2 = 'scopeA scopeB'; + $scope3 = 'scopeA'; + + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + + $g = new AppIdentityCredentials($scope1); + $g->fetchAuthToken(); + $this->assertEquals($scope1, AppIdentityService::$scope); + + $g = new AppIdentityCredentials($scope2); + $g->fetchAuthToken(); + $this->assertEquals(explode(' ', $scope2), AppIdentityService::$scope); + + $g = new AppIdentityCredentials($scope3); + $g->fetchAuthToken(); + $this->assertEquals([$scope3], AppIdentityService::$scope); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php new file mode 100644 index 00000000..fe2bb25a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/GCECredentialsTest.php @@ -0,0 +1,124 @@ +assertFalse(GCECredentials::onGCE($httpHandler)); + } + + public function testIsFalseOnServerErrorStatus() + { + $httpHandler = getHandler([ + buildResponse(500), + ]); + $this->assertFalse(GCECredentials::onGCE($httpHandler)); + } + + public function testIsFalseOnOkStatusWithoutExpectedHeader() + { + $httpHandler = getHandler([ + buildResponse(200), + ]); + $this->assertFalse(GCECredentials::onGCE($httpHandler)); + } + + public function testIsOkIfGoogleIsTheFlavor() + { + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + ]); + $this->assertTrue(GCECredentials::onGCE($httpHandler)); + } +} + +class GCECredentialsOnAppEngineFlexibleTest extends \PHPUnit_Framework_TestCase +{ + public function testIsFalseByDefault() + { + $this->assertFalse(GCECredentials::onAppEngineFlexible()); + } + + public function testIsTrueWhenGaeVmIsTrue() + { + $_SERVER['GAE_VM'] = 'true'; + $this->assertTrue(GCECredentials::onAppEngineFlexible()); + } +} + +class GCECredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldNotBeEmpty() + { + $g = new GCECredentials(); + $this->assertNotEmpty($g->getCacheKey()); + } +} + +class GCECredentialsFetchAuthTokenTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldBeEmptyIfNotOnGCE() + { + $httpHandler = getHandler([ + buildResponse(500), + ]); + $g = new GCECredentials(); + $this->assertEquals(array(), $g->fetchAuthToken($httpHandler)); + } + + /** + * @expectedException Exception + * @expectedExceptionMessage Invalid JSON response + */ + public function testShouldFailIfResponseIsNotJson() + { + $notJson = '{"foo": , this is cannot be passed as json" "bar"}'; + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + buildResponse(200, [], $notJson), + ]); + $g = new GCECredentials(); + $g->fetchAuthToken($httpHandler); + } + + public function testShouldReturnTokenInfo() + { + $wantedTokens = [ + 'access_token' => '1/abdef1234567890', + 'expires_in' => '57', + 'token_type' => 'Bearer', + ]; + $jsonTokens = json_encode($wantedTokens); + $httpHandler = getHandler([ + buildResponse(200, [GCECredentials::FLAVOR_HEADER => 'Google']), + buildResponse(200, [], Psr7\stream_for($jsonTokens)), + ]); + $g = new GCECredentials(); + $this->assertEquals($wantedTokens, $g->fetchAuthToken($httpHandler)); + $this->assertEquals(time() + 57, $g->getLastReceivedToken()['expires_at']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php new file mode 100644 index 00000000..fc9c8650 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/IAMCredentialsTest.php @@ -0,0 +1,83 @@ +assertNotNull( + new IAMCredentials('iam-selector', 'iam-token') + ); + } +} + +class IAMUpdateMetadataCallbackTest extends \PHPUnit_Framework_TestCase +{ + public function testUpdateMetadataFunc() + { + $selector = 'iam-selector'; + $token = 'iam-token'; + $iam = new IAMCredentials( + $selector, + $token + ); + + $update_metadata = $iam->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar')); + $this->assertTrue( + isset($actual_metadata[IAMCredentials::SELECTOR_KEY])); + $this->assertEquals( + $actual_metadata[IAMCredentials::SELECTOR_KEY], + $selector); + $this->assertTrue( + isset($actual_metadata[IAMCredentials::TOKEN_KEY])); + $this->assertEquals( + $actual_metadata[IAMCredentials::TOKEN_KEY], + $token); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php new file mode 100644 index 00000000..d7066dac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/ServiceAccountCredentialsTest.php @@ -0,0 +1,508 @@ + 'key123', + 'private_key' => 'privatekey', + 'client_email' => 'test@example.com', + 'client_id' => 'client123', + 'type' => 'service_account', + ]; +} + +class SACGetCacheKeyTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldBeTheSameAsOAuth2WithTheSameScope() + { + $testJson = createTestJson(); + $scope = ['scope/1', 'scope/2']; + $sa = new ServiceAccountCredentials( + $scope, + $testJson); + $o = new OAuth2(['scope' => $scope]); + $this->assertSame( + $testJson['client_email'] . ':' . $o->getCacheKey(), + $sa->getCacheKey() + ); + } + + public function testShouldBeTheSameAsOAuth2WithTheSameScopeWithSub() + { + $testJson = createTestJson(); + $scope = ['scope/1', 'scope/2']; + $sub = 'sub123'; + $sa = new ServiceAccountCredentials( + $scope, + $testJson, + $sub); + $o = new OAuth2(['scope' => $scope]); + $this->assertSame( + $testJson['client_email'] . ':' . $o->getCacheKey() . ':' . $sub, + $sa->getCacheKey() + ); + } + + public function testShouldBeTheSameAsOAuth2WithTheSameScopeWithSubAddedLater() + { + $testJson = createTestJson(); + $scope = ['scope/1', 'scope/2']; + $sub = 'sub123'; + $sa = new ServiceAccountCredentials( + $scope, + $testJson, + null); + $sa->setSub($sub); + + $o = new OAuth2(['scope' => $scope]); + $this->assertSame( + $testJson['client_email'] . ':' . $o->getCacheKey() . ':' . $sub, + $sa->getCacheKey() + ); + } +} + +class SACConstructorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfScopeIsNotAValidType() + { + $testJson = createTestJson(); + $notAnArrayOrString = new \stdClass(); + $sa = new ServiceAccountCredentials( + $notAnArrayOrString, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfJsonDoesNotHaveClientEmail() + { + $testJson = createTestJson(); + unset($testJson['client_email']); + $scope = ['scope/1', 'scope/2']; + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfJsonDoesNotHavePrivateKey() + { + $testJson = createTestJson(); + unset($testJson['private_key']); + $scope = ['scope/1', 'scope/2']; + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsToInitalizeFromANonExistentFile() + { + $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json'; + new ServiceAccountCredentials('scope/1', $keyFile); + } + + public function testInitalizeFromAFile() + { + $keyFile = __DIR__ . '/../fixtures' . '/private.json'; + $this->assertNotNull( + new ServiceAccountCredentials('scope/1', $keyFile) + ); + } +} + +class SACFromEnvTest extends \PHPUnit_Framework_TestCase +{ + protected function tearDown() + { + putenv(ServiceAccountCredentials::ENV_VAR); // removes it from + } + + public function testIsNullIfEnvVarIsNotSet() + { + $this->assertNull(ServiceAccountCredentials::fromEnv()); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfEnvSpecifiesNonExistentFile() + { + $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + ApplicationDefaultCredentials::getCredentials('a scope'); + } + + public function testSucceedIfFileExists() + { + $keyFile = __DIR__ . '/../fixtures' . '/private.json'; + putenv(ServiceAccountCredentials::ENV_VAR . '=' . $keyFile); + $this->assertNotNull(ApplicationDefaultCredentials::getCredentials('a scope')); + } +} + +class SACFromWellKnownFileTest extends \PHPUnit_Framework_TestCase +{ + private $originalHome; + + protected function setUp() + { + $this->originalHome = getenv('HOME'); + } + + protected function tearDown() + { + if ($this->originalHome != getenv('HOME')) { + putenv('HOME=' . $this->originalHome); + } + } + + public function testIsNullIfFileDoesNotExist() + { + putenv('HOME=' . __DIR__ . '/../not_exists_fixtures'); + $this->assertNull( + ServiceAccountCredentials::fromWellKnownFile() + ); + } + + public function testSucceedIfFileIsPresent() + { + putenv('HOME=' . __DIR__ . '/../fixtures'); + $this->assertNotNull( + ApplicationDefaultCredentials::getCredentials('a scope') + ); + } +} + +class SACFetchAuthTokenTest extends \PHPUnit_Framework_TestCase +{ + private $privateKey; + + public function setUp() + { + $this->privateKey = + file_get_contents(__DIR__ . '/../fixtures' . '/private.pem'); + } + + private function createTestJson() + { + $testJson = createTestJson(); + $testJson['private_key'] = $this->privateKey; + + return $testJson; + } + + /** + * @expectedException GuzzleHttp\Exception\ClientException + */ + public function testFailsOnClientErrors() + { + $testJson = $this->createTestJson(); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(400), + ]); + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $sa->fetchAuthToken($httpHandler); + } + + /** + * @expectedException GuzzleHttp\Exception\ServerException + */ + public function testFailsOnServerErrors() + { + $testJson = $this->createTestJson(); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(500), + ]); + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $sa->fetchAuthToken($httpHandler); + } + + public function testCanFetchCredsOK() + { + $testJson = $this->createTestJson(); + $testJsonText = json_encode($testJson); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($testJsonText)), + ]); + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $tokens = $sa->fetchAuthToken($httpHandler); + $this->assertEquals($testJson, $tokens); + } + + public function testUpdateMetadataFunc() + { + $testJson = $this->createTestJson(); + $scope = ['scope/1', 'scope/2']; + $access_token = 'accessToken123'; + $responseText = json_encode(array('access_token' => $access_token)); + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($responseText)), + ]); + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $update_metadata = $sa->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = null, + $httpHandler); + $this->assertTrue( + isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY])); + $this->assertEquals( + $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY], + array('Bearer ' . $access_token)); + } +} + +class SACJwtAccessTest extends \PHPUnit_Framework_TestCase +{ + private $privateKey; + + public function setUp() + { + $this->privateKey = + file_get_contents(__DIR__ . '/../fixtures' . '/private.pem'); + } + + private function createTestJson() + { + $testJson = createTestJson(); + $testJson['private_key'] = $this->privateKey; + + return $testJson; + } + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsOnMissingClientEmail() + { + $testJson = $this->createTestJson(); + unset($testJson['client_email']); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsOnMissingPrivateKey() + { + $testJson = $this->createTestJson(); + unset($testJson['private_key']); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + } + + public function testCanInitializeFromJson() + { + $testJson = $this->createTestJson(); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + $this->assertNotNull($sa); + } + + public function testNoOpOnFetchAuthToken() + { + $testJson = $this->createTestJson(); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + $this->assertNotNull($sa); + + $httpHandler = getHandler([ + buildResponse(200), + ]); + $result = $sa->fetchAuthToken($httpHandler); // authUri has not been set + $this->assertNull($result); + } + + public function testAuthUriIsNotSet() + { + $testJson = $this->createTestJson(); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + $this->assertNotNull($sa); + + $update_metadata = $sa->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = null); + $this->assertTrue( + !isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY])); + } + + public function testUpdateMetadataFunc() + { + $testJson = $this->createTestJson(); + $sa = new ServiceAccountJwtAccessCredentials( + $testJson + ); + $this->assertNotNull($sa); + + $update_metadata = $sa->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = 'https://example.com/service'); + $this->assertTrue( + isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY])); + + $authorization = $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]; + $this->assertTrue(is_array($authorization)); + + $bearer_token = current($authorization); + $this->assertTrue(is_string($bearer_token)); + $this->assertTrue(strpos($bearer_token, 'Bearer ') == 0); + $this->assertTrue(strlen($bearer_token) > 30); + + $actual_metadata2 = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = 'https://example.com/anotherService'); + $this->assertTrue( + isset($actual_metadata2[CredentialsLoader::AUTH_METADATA_KEY])); + + $authorization2 = $actual_metadata2[CredentialsLoader::AUTH_METADATA_KEY]; + $this->assertTrue(is_array($authorization2)); + + $bearer_token2 = current($authorization2); + $this->assertTrue(is_string($bearer_token2)); + $this->assertTrue(strpos($bearer_token2, 'Bearer ') == 0); + $this->assertTrue(strlen($bearer_token2) > 30); + $this->assertTrue($bearer_token != $bearer_token2); + } +} + +class SACJwtAccessComboTest extends \PHPUnit_Framework_TestCase +{ + private $privateKey; + + public function setUp() + { + $this->privateKey = + file_get_contents(__DIR__ . '/../fixtures' . '/private.pem'); + } + + private function createTestJson() + { + $testJson = createTestJson(); + $testJson['private_key'] = $this->privateKey; + + return $testJson; + } + + public function testNoScopeUseJwtAccess() + { + $testJson = $this->createTestJson(); + // no scope, jwt access should be used, no outbound + // call should be made + $scope = null; + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $this->assertNotNull($sa); + + $update_metadata = $sa->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = 'https://example.com/service'); + $this->assertTrue( + isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY])); + + $authorization = $actual_metadata[CredentialsLoader::AUTH_METADATA_KEY]; + $this->assertTrue(is_array($authorization)); + + $bearer_token = current($authorization); + $this->assertTrue(is_string($bearer_token)); + $this->assertTrue(strpos($bearer_token, 'Bearer ') == 0); + $this->assertTrue(strlen($bearer_token) > 30); + } + + public function testNoScopeAndNoAuthUri() + { + $testJson = $this->createTestJson(); + // no scope, jwt access should be used, no outbound + // call should be made + $scope = null; + $sa = new ServiceAccountCredentials( + $scope, + $testJson + ); + $this->assertNotNull($sa); + + $update_metadata = $sa->getUpdateMetadataFunc(); + $this->assertTrue(is_callable($update_metadata)); + + $actual_metadata = call_user_func($update_metadata, + $metadata = array('foo' => 'bar'), + $authUri = null); + // no access_token is added to the metadata hash + // but also, no error should be thrown + $this->assertTrue(is_array($actual_metadata)); + $this->assertTrue( + !isset($actual_metadata[CredentialsLoader::AUTH_METADATA_KEY])); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php new file mode 100644 index 00000000..accf448d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Credentials/UserRefreshCredentialsTest.php @@ -0,0 +1,228 @@ + 'client123', + 'client_secret' => 'clientSecret123', + 'refresh_token' => 'refreshToken123', + 'type' => 'authorized_user', + ]; +} + +class URCGetCacheKeyTest extends \PHPUnit_Framework_TestCase +{ + public function testShouldBeTheSameAsOAuth2WithTheSameScope() + { + $testJson = createURCTestJson(); + $scope = ['scope/1', 'scope/2']; + $sa = new UserRefreshCredentials( + $scope, + $testJson); + $o = new OAuth2(['scope' => $scope]); + $this->assertSame( + $testJson['client_id'] . ':' . $o->getCacheKey(), + $sa->getCacheKey() + ); + } +} + +class URCConstructorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfScopeIsNotAValidType() + { + $testJson = createURCTestJson(); + $notAnArrayOrString = new \stdClass(); + $sa = new UserRefreshCredentials( + $notAnArrayOrString, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfJsonDoesNotHaveClientSecret() + { + $testJson = createURCTestJson(); + unset($testJson['client_secret']); + $scope = ['scope/1', 'scope/2']; + $sa = new UserRefreshCredentials( + $scope, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testShouldFailIfJsonDoesNotHaveRefreshToken() + { + $testJson = createURCTestJson(); + unset($testJson['refresh_token']); + $scope = ['scope/1', 'scope/2']; + $sa = new UserRefreshCredentials( + $scope, + $testJson + ); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsToInitalizeFromANonExistentFile() + { + $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json'; + new UserRefreshCredentials('scope/1', $keyFile); + } + + public function testInitalizeFromAFile() + { + $keyFile = __DIR__ . '/../fixtures2' . '/private.json'; + $this->assertNotNull( + new UserRefreshCredentials('scope/1', $keyFile) + ); + } +} + +class URCFromEnvTest extends \PHPUnit_Framework_TestCase +{ + protected function tearDown() + { + putenv(UserRefreshCredentials::ENV_VAR); // removes it from + } + + public function testIsNullIfEnvVarIsNotSet() + { + $this->assertNull(UserRefreshCredentials::fromEnv('a scope')); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfEnvSpecifiesNonExistentFile() + { + $keyFile = __DIR__ . '/../fixtures' . '/does-not-exist-private.json'; + putenv(UserRefreshCredentials::ENV_VAR . '=' . $keyFile); + UserRefreshCredentials::fromEnv('a scope'); + } + + public function testSucceedIfFileExists() + { + $keyFile = __DIR__ . '/../fixtures2' . '/private.json'; + putenv(UserRefreshCredentials::ENV_VAR . '=' . $keyFile); + $this->assertNotNull(ApplicationDefaultCredentials::getCredentials('a scope')); + } +} + +class URCFromWellKnownFileTest extends \PHPUnit_Framework_TestCase +{ + private $originalHome; + + protected function setUp() + { + $this->originalHome = getenv('HOME'); + } + + protected function tearDown() + { + if ($this->originalHome != getenv('HOME')) { + putenv('HOME=' . $this->originalHome); + } + } + + public function testIsNullIfFileDoesNotExist() + { + putenv('HOME=' . __DIR__ . '/../not_exist_fixtures'); + $this->assertNull( + UserRefreshCredentials::fromWellKnownFile('a scope') + ); + } + + public function testSucceedIfFileIsPresent() + { + putenv('HOME=' . __DIR__ . '/../fixtures2'); + $this->assertNotNull( + ApplicationDefaultCredentials::getCredentials('a scope') + ); + } +} + +class URCFetchAuthTokenTest extends \PHPUnit_Framework_TestCase +{ + /** + * @expectedException GuzzleHttp\Exception\ClientException + */ + public function testFailsOnClientErrors() + { + $testJson = createURCTestJson(); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(400), + ]); + $sa = new UserRefreshCredentials( + $scope, + $testJson + ); + $sa->fetchAuthToken($httpHandler); + } + + /** + * @expectedException GuzzleHttp\Exception\ServerException + */ + public function testFailsOnServerErrors() + { + $testJson = createURCTestJson(); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(500), + ]); + $sa = new UserRefreshCredentials( + $scope, + $testJson + ); + $sa->fetchAuthToken($httpHandler); + } + + public function testCanFetchCredsOK() + { + $testJson = createURCTestJson(); + $testJsonText = json_encode($testJson); + $scope = ['scope/1', 'scope/2']; + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($testJsonText)), + ]); + $sa = new UserRefreshCredentials( + $scope, + $testJson + ); + $tokens = $sa->fetchAuthToken($httpHandler); + $this->assertEquals($testJson, $tokens); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php new file mode 100644 index 00000000..359094a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenCacheTest.php @@ -0,0 +1,146 @@ +mockFetcher = + $this + ->getMockBuilder('Google\Auth\FetchAuthTokenInterface') + ->getMock(); + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + } + + public function testUsesCachedAuthToken() + { + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + null, + $this->mockCache + ); + $accessToken = $cachedFetcher->fetchAuthToken(); + $this->assertEquals($accessToken, ['access_token' => $cachedValue]); + } + + public function testGetsCachedAuthTokenUsingCachePrefix() + { + $prefix = 'test_prefix_'; + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + + // Run the test + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix], + $this->mockCache + ); + $accessToken = $cachedFetcher->fetchAuthToken(); + $this->assertEquals($accessToken, ['access_token' => $cachedValue]); + } + + public function testShouldSaveValueInCacheWithCacheOptions() + { + $prefix = 'test_prefix_'; + $lifetime = '70707'; + $cacheKey = 'myKey'; + $token = '1/abcdef1234567890'; + $authResult = ['access_token' => $token]; + $this->mockCacheItem + ->expects($this->any()) + ->method('get') + ->will($this->returnValue(null)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('expiresAfter') + ->with($this->equalTo($lifetime)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + + // Run the test + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix, 'lifetime' => $lifetime], + $this->mockCache + ); + $accessToken = $cachedFetcher->fetchAuthToken(); + $this->assertEquals($accessToken, ['access_token' => $token]); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php new file mode 100644 index 00000000..8616993b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/FetchAuthTokenTest.php @@ -0,0 +1,170 @@ +getLastReceivedToken(); + + $this->assertNotNull($accessToken); + $this->assertArrayHasKey('access_token', $accessToken); + $this->assertArrayHasKey('expires_at', $accessToken); + + $this->assertEquals('xyz', $accessToken['access_token']); + $this->assertEquals(strtotime('2001'), $accessToken['expires_at']); + } + + public function provideAuthTokenFetcher() + { + $scopes = ['https://www.googleapis.com/auth/drive.readonly']; + $jsonPath = sprintf( + '%s/fixtures/.config/%s', + __DIR__, + CredentialsLoader::WELL_KNOWN_PATH + ); + $jsonPath2 = sprintf( + '%s/fixtures2/.config/%s', + __DIR__, + CredentialsLoader::WELL_KNOWN_PATH + ); + + return [ + [$this->getAppIdentityCredentials()], + [$this->getGCECredentials()], + [$this->getServiceAccountCredentials($scopes, $jsonPath)], + [$this->getServiceAccountJwtAccessCredentials($jsonPath)], + [$this->getUserRefreshCredentials($scopes, $jsonPath2)], + [$this->getOAuth2()], + ]; + } + + private function getAppIdentityCredentials() + { + $class = new \ReflectionClass( + 'Google\Auth\Credentials\AppIdentityCredentials' + ); + $property = $class->getProperty('lastReceivedToken'); + $property->setAccessible(true); + + $credentials = new AppIdentityCredentials(); + $property->setValue($credentials, [ + 'access_token' => 'xyz', + 'expiration_time' => strtotime('2001'), + ]); + + return $credentials; + } + + private function getGCECredentials() + { + $class = new \ReflectionClass( + 'Google\Auth\Credentials\GCECredentials' + ); + $property = $class->getProperty('lastReceivedToken'); + $property->setAccessible(true); + + $credentials = new GCECredentials(); + $property->setValue($credentials, [ + 'access_token' => 'xyz', + 'expires_at' => strtotime('2001'), + ]); + + return $credentials; + } + + private function getServiceAccountCredentials($scopes, $jsonPath) + { + $class = new \ReflectionClass( + 'Google\Auth\Credentials\ServiceAccountCredentials' + ); + $property = $class->getProperty('auth'); + $property->setAccessible(true); + + $credentials = new ServiceAccountCredentials($scopes, $jsonPath); + $property->setValue($credentials, $this->getOAuth2Mock()); + + return $credentials; + } + + private function getServiceAccountJwtAccessCredentials($jsonPath) + { + $class = new \ReflectionClass( + 'Google\Auth\Credentials\ServiceAccountJwtAccessCredentials' + ); + $property = $class->getProperty('auth'); + $property->setAccessible(true); + + $credentials = new ServiceAccountJwtAccessCredentials($jsonPath); + $property->setValue($credentials, $this->getOAuth2Mock()); + + return $credentials; + } + + private function getUserRefreshCredentials($scopes, $jsonPath) + { + $class = new \ReflectionClass( + 'Google\Auth\Credentials\UserRefreshCredentials' + ); + $property = $class->getProperty('auth'); + $property->setAccessible(true); + + $credentials = new UserRefreshCredentials($scopes, $jsonPath); + $property->setValue($credentials, $this->getOAuth2Mock()); + + return $credentials; + } + + private function getOAuth2() + { + $oauth = new OAuth2([ + 'access_token' => 'xyz', + 'expires_at' => strtotime('2001'), + ]); + + return $oauth; + } + + private function getOAuth2Mock() + { + $mock = $this->getMockBuilder('Google\Auth\OAuth2') + ->disableOriginalConstructor() + ->getMock(); + + $mock + ->expects($this->once()) + ->method('getLastReceivedToken') + ->will($this->returnValue([ + 'access_token' => 'xyz', + 'expires_at' => strtotime('2001'), + ])); + + return $mock; + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php new file mode 100644 index 00000000..f8560b17 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle5HttpHandlerTest.php @@ -0,0 +1,59 @@ +onlyGuzzle5(); + + $this->mockPsr7Request = + $this + ->getMockBuilder('Psr\Http\Message\RequestInterface') + ->getMock(); + $this->mockRequest = + $this + ->getMockBuilder('GuzzleHttp\Message\RequestInterface') + ->getMock(); + $this->mockClient = + $this + ->getMockBuilder('GuzzleHttp\Client') + ->disableOriginalConstructor() + ->getMock(); + } + + public function testSuccessfullySendsRequest() + { + $this->mockClient + ->expects($this->any()) + ->method('send') + ->will($this->returnValue(new Response(200))); + $this->mockClient + ->expects($this->any()) + ->method('createRequest') + ->will($this->returnValue($this->mockRequest)); + + $handler = new Guzzle5HttpHandler($this->mockClient); + $response = $handler($this->mockPsr7Request); + $this->assertInstanceOf('Psr\Http\Message\ResponseInterface', $response); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php new file mode 100644 index 00000000..dfd90db9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/Guzzle6HttpHandlerTest.php @@ -0,0 +1,50 @@ +onlyGuzzle6(); + + $this->mockRequest = + $this + ->getMockBuilder('Psr\Http\Message\RequestInterface') + ->getMock(); + $this->mockClient = + $this + ->getMockBuilder('GuzzleHttp\Client') + ->getMock(); + } + + public function testSuccessfullySendsRequest() + { + $this->mockClient + ->expects($this->any()) + ->method('send') + ->will($this->returnValue(new Response(200))); + + $handler = new Guzzle6HttpHandler($this->mockClient); + $response = $handler($this->mockRequest); + $this->assertInstanceOf('Psr\Http\Message\ResponseInterface', $response); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php new file mode 100644 index 00000000..73126e60 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/HttpHandler/HttpHandlerFactoryTest.php @@ -0,0 +1,39 @@ +onlyGuzzle5(); + + $handler = HttpHandlerFactory::build(); + $this->assertInstanceOf('Google\Auth\HttpHandler\Guzzle5HttpHandler', $handler); + } + + public function testBuildsGuzzle6Handler() + { + $this->onlyGuzzle6(); + + $handler = HttpHandlerFactory::build(); + $this->assertInstanceOf('Google\Auth\HttpHandler\Guzzle6HttpHandler', $handler); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php new file mode 100644 index 00000000..43f03705 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/AuthTokenMiddlewareTest.php @@ -0,0 +1,336 @@ +onlyGuzzle6(); + + $this->mockFetcher = + $this + ->getMockBuilder('Google\Auth\FetchAuthTokenInterface') + ->getMock(); + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + $this->mockRequest = + $this + ->getMockBuilder('GuzzleHttp\Psr7\Request') + ->disableOriginalConstructor() + ->getMock(); + } + + public function testOnlyTouchesWhenAuthConfigScoped() + { + $this->mockFetcher + ->expects($this->any()) + ->method('fetchAuthToken') + ->will($this->returnValue([])); + $this->mockRequest + ->expects($this->never()) + ->method('withHeader'); + + $middleware = new AuthTokenMiddleware($this->mockFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'not_google_auth']); + } + + public function testAddsTheTokenAsAnAuthorizationHeader() + { + $authResult = ['access_token' => '1/abcdef1234567890']; + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $authResult['access_token']) + ->will($this->returnValue($this->mockRequest)); + + // Run the test. + $middleware = new AuthTokenMiddleware($this->mockFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + } + + public function testDoesNotAddAnAuthorizationHeaderOnNoAccessToken() + { + $authResult = ['not_access_token' => '1/abcdef1234567890']; + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ') + ->will($this->returnValue($this->mockRequest)); + + // Run the test. + $middleware = new AuthTokenMiddleware($this->mockFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + } + + public function testUsesCachedAuthToken() + { + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $cachedValue) + ->will($this->returnValue($this->mockRequest)); + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + null, + $this->mockCache + ); + $middleware = new AuthTokenMiddleware($cachedFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + } + + public function testGetsCachedAuthTokenUsingCacheOptions() + { + $prefix = 'test_prefix_'; + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $cachedValue) + ->will($this->returnValue($this->mockRequest)); + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix], + $this->mockCache + ); + $middleware = new AuthTokenMiddleware($cachedFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + } + + public function testShouldSaveValueInCacheWithSpecifiedPrefix() + { + $prefix = 'test_prefix_'; + $lifetime = '70707'; + $cacheKey = 'myKey'; + $token = '1/abcdef1234567890'; + $authResult = ['access_token' => $token]; + $this->mockCacheItem + ->expects($this->any()) + ->method('get') + ->will($this->returnValue(null)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('expiresAfter') + ->with($this->equalTo($lifetime)); + $this->mockCache + ->expects($this->any()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $token) + ->will($this->returnValue($this->mockRequest)); + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix, 'lifetime' => $lifetime], + $this->mockCache + ); + $middleware = new AuthTokenMiddleware($cachedFetcher); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + } + + /** @dataProvider provideShouldNotifyTokenCallback */ + public function testShouldNotifyTokenCallback(callable $tokenCallback) + { + $prefix = 'test_prefix_'; + $cacheKey = 'myKey'; + $token = '1/abcdef1234567890'; + $authResult = ['access_token' => $token]; + $this->mockCacheItem + ->expects($this->any()) + ->method('get') + ->will($this->returnValue(null)); + $this->mockCache + ->expects($this->any()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->will($this->returnValue($this->mockRequest)); + + MiddlewareCallback::$expectedKey = $this->getValidKeyName($prefix . $cacheKey); + MiddlewareCallback::$expectedValue = $token; + MiddlewareCallback::$called = false; + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix], + $this->mockCache + ); + $middleware = new AuthTokenMiddleware( + $cachedFetcher, + null, + $tokenCallback + ); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'google_auth']); + $this->assertTrue(MiddlewareCallback::$called); + } + + public function provideShouldNotifyTokenCallback() + { + MiddlewareCallback::$phpunit = $this; + $anonymousFunc = function ($key, $value) { + MiddlewareCallback::staticInvoke($key, $value); + }; + return [ + ['Google\Auth\Tests\MiddlewareCallbackFunction'], + ['Google\Auth\Tests\MiddlewareCallback::staticInvoke'], + [['Google\Auth\Tests\MiddlewareCallback', 'staticInvoke']], + [$anonymousFunc], + [[new MiddlewareCallback, 'staticInvoke']], + [[new MiddlewareCallback, 'methodInvoke']], + [new MiddlewareCallback], + ]; + } +} + +class MiddlewareCallback +{ + public static $phpunit; + public static $expectedKey; + public static $expectedValue; + public static $called = false; + + public function __invoke($key, $value) + { + self::$phpunit->assertEquals(self::$expectedKey, $key); + self::$phpunit->assertEquals(self::$expectedValue, $value); + self::$called = true; + } + + public function methodInvoke($key, $value) + { + return $this($key, $value); + } + + public static function staticInvoke($key, $value) + { + $instance = new self(); + return $instance($key, $value); + } +} + +function MiddlewareCallbackFunction($key, $value) +{ + return MiddlewareCallback::staticInvoke($key, $value); +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php new file mode 100644 index 00000000..27182e0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/ScopedAccessTokenMiddlewareTest.php @@ -0,0 +1,245 @@ +onlyGuzzle6(); + + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + $this->mockRequest = + $this + ->getMockBuilder('GuzzleHttp\Psr7\Request') + ->disableOriginalConstructor() + ->getMock(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testRequiresScopeAsAStringOrArray() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + new ScopedAccessTokenMiddleware($fakeAuthFunc, new \stdClass()); + } + + public function testAddsTheTokenAsAnAuthorizationHeader() + { + $token = '1/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) use ($token) { + return $token; + }; + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $token) + ->will($this->returnValue($this->mockRequest)); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware($fakeAuthFunc, self::TEST_SCOPE); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'scoped']); + } + + public function testUsesCachedAuthToken() + { + $cachedValue = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) { + return ''; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($this->getValidKeyName(self::TEST_SCOPE))) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $cachedValue) + ->will($this->returnValue($this->mockRequest)); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware( + $fakeAuthFunc, + self::TEST_SCOPE, + [], + $this->mockCache + ); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'scoped']); + } + + public function testGetsCachedAuthTokenUsingCachePrefix() + { + $prefix = 'test_prefix_'; + $cachedValue = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) { + return ''; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($prefix . $this->getValidKeyName(self::TEST_SCOPE))) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $cachedValue) + ->will($this->returnValue($this->mockRequest)); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware( + $fakeAuthFunc, + self::TEST_SCOPE, + ['prefix' => $prefix], + $this->mockCache + ); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'scoped']); + } + + public function testShouldSaveValueInCache() + { + $token = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) use ($token) { + return $token; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($this->equalTo($this->getValidKeyName(self::TEST_SCOPE))) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $token) + ->will($this->returnValue($this->mockRequest)); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware( + $fakeAuthFunc, + self::TEST_SCOPE, + [], + $this->mockCache + ); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'scoped']); + } + + public function testShouldSaveValueInCacheWithCacheOptions() + { + $token = '2/abcdef1234567890'; + $prefix = 'test_prefix_'; + $lifetime = '70707'; + $fakeAuthFunc = function ($unused_scopes) use ($token) { + return $token; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('expiresAfter') + ->with($this->equalTo($lifetime)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($this->equalTo($prefix . $this->getValidKeyName(self::TEST_SCOPE))) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockRequest + ->expects($this->once()) + ->method('withHeader') + ->with('Authorization', 'Bearer ' . $token) + ->will($this->returnValue($this->mockRequest)); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware( + $fakeAuthFunc, + self::TEST_SCOPE, + ['prefix' => $prefix, 'lifetime' => $lifetime], + $this->mockCache + ); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'scoped']); + } + + public function testOnlyTouchesWhenAuthConfigScoped() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + $this->mockRequest + ->expects($this->never()) + ->method('withHeader'); + + // Run the test + $middleware = new ScopedAccessTokenMiddleware($fakeAuthFunc, self::TEST_SCOPE); + $mock = new MockHandler([new Response(200)]); + $callable = $middleware($mock); + $callable($this->mockRequest, ['auth' => 'not_scoped']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php new file mode 100644 index 00000000..61807aa5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Middleware/SimpleMiddlewareTest.php @@ -0,0 +1,41 @@ +onlyGuzzle6(); + + $this->mockRequest = + $this + ->getMockBuilder('GuzzleHttp\Psr7\Request') + ->disableOriginalConstructor() + ->getMock(); + } + + public function testTest() + { + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/OAuth2Test.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/OAuth2Test.php new file mode 100644 index 00000000..59492986 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/OAuth2Test.php @@ -0,0 +1,858 @@ + 'https://accounts.test.org/insecure/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + 'clientId' => 'aClientID', + ]; + + /** + * @expectedException InvalidArgumentException + */ + public function testIsNullIfAuthorizationUriIsNull() + { + $o = new OAuth2([]); + $this->assertNull($o->buildFullAuthorizationUri()); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testRequiresTheClientId() + { + $o = new OAuth2([ + 'authorizationUri' => 'https://accounts.test.org/auth/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + ]); + $o->buildFullAuthorizationUri(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testRequiresTheRedirectUri() + { + $o = new OAuth2([ + 'authorizationUri' => 'https://accounts.test.org/auth/url', + 'clientId' => 'aClientID', + ]); + $o->buildFullAuthorizationUri(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testCannotHavePromptAndApprovalPrompt() + { + $o = new OAuth2([ + 'authorizationUri' => 'https://accounts.test.org/auth/url', + 'clientId' => 'aClientID', + ]); + $o->buildFullAuthorizationUri([ + 'approval_prompt' => 'an approval prompt', + 'prompt' => 'a prompt', + ]); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testCannotHaveInsecureAuthorizationUri() + { + $o = new OAuth2([ + 'authorizationUri' => 'http://accounts.test.org/insecure/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + 'clientId' => 'aClientID', + ]); + $o->buildFullAuthorizationUri(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testCannotHaveRelativeRedirectUri() + { + $o = new OAuth2([ + 'authorizationUri' => 'http://accounts.test.org/insecure/url', + 'redirectUri' => '/redirect/url', + 'clientId' => 'aClientID', + ]); + $o->buildFullAuthorizationUri(); + } + + public function testHasDefaultXXXTypeParams() + { + $o = new OAuth2($this->minimal); + $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery()); + $this->assertEquals('code', $q['response_type']); + $this->assertEquals('offline', $q['access_type']); + } + + public function testCanBeUrlObject() + { + $config = array_merge($this->minimal, [ + 'authorizationUri' => Psr7\uri_for('https://another/uri'), + ]); + $o = new OAuth2($config); + $this->assertEquals('/uri', $o->buildFullAuthorizationUri()->getPath()); + } + + public function testCanOverrideParams() + { + $overrides = [ + 'access_type' => 'o_access_type', + 'client_id' => 'o_client_id', + 'redirect_uri' => 'o_redirect_uri', + 'response_type' => 'o_response_type', + 'state' => 'o_state', + ]; + $config = array_merge($this->minimal, ['state' => 'the_state']); + $o = new OAuth2($config); + $q = Psr7\parse_query($o->buildFullAuthorizationUri($overrides)->getQuery()); + $this->assertEquals('o_access_type', $q['access_type']); + $this->assertEquals('o_client_id', $q['client_id']); + $this->assertEquals('o_redirect_uri', $q['redirect_uri']); + $this->assertEquals('o_response_type', $q['response_type']); + $this->assertEquals('o_state', $q['state']); + } + + public function testIncludesTheScope() + { + $with_strings = array_merge($this->minimal, ['scope' => 'scope1 scope2']); + $o = new OAuth2($with_strings); + $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery()); + $this->assertEquals('scope1 scope2', $q['scope']); + + $with_array = array_merge($this->minimal, [ + 'scope' => ['scope1', 'scope2'], + ]); + $o = new OAuth2($with_array); + $q = Psr7\parse_query($o->buildFullAuthorizationUri()->getQuery()); + $this->assertEquals('scope1 scope2', $q['scope']); + } + + public function testRedirectUriPostmessageIsAllowed() + { + $o = new OAuth2([ + 'authorizationUri' => 'https://accounts.test.org/insecure/url', + 'redirectUri' => 'postmessage', + 'clientId' => 'aClientID', + ]); + $this->assertEquals('postmessage', $o->getRedirectUri()); + $url = $o->buildFullAuthorizationUri(); + $parts = parse_url((string)$url); + parse_str($parts['query'], $query); + $this->assertArrayHasKey('redirect_uri', $query); + $this->assertEquals('postmessage', $query['redirect_uri']); + } +} + +class OAuth2GrantTypeTest extends \PHPUnit_Framework_TestCase +{ + private $minimal = [ + 'authorizationUri' => 'https://accounts.test.org/insecure/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + 'clientId' => 'aClientID', + ]; + + public function testReturnsNullIfCannotBeInferred() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getGrantType()); + } + + public function testInfersAuthorizationCode() + { + $o = new OAuth2($this->minimal); + $o->setCode('an auth code'); + $this->assertEquals('authorization_code', $o->getGrantType()); + } + + public function testInfersRefreshToken() + { + $o = new OAuth2($this->minimal); + $o->setRefreshToken('a refresh token'); + $this->assertEquals('refresh_token', $o->getGrantType()); + } + + public function testInfersPassword() + { + $o = new OAuth2($this->minimal); + $o->setPassword('a password'); + $o->setUsername('a username'); + $this->assertEquals('password', $o->getGrantType()); + } + + public function testInfersJwtBearer() + { + $o = new OAuth2($this->minimal); + $o->setIssuer('an issuer'); + $o->setSigningKey('a key'); + $this->assertEquals('urn:ietf:params:oauth:grant-type:jwt-bearer', + $o->getGrantType()); + } + + public function testSetsKnownTypes() + { + $o = new OAuth2($this->minimal); + foreach (OAuth2::$knownGrantTypes as $t) { + $o->setGrantType($t); + $this->assertEquals($t, $o->getGrantType()); + } + } + + public function testSetsUrlAsGrantType() + { + $o = new OAuth2($this->minimal); + $o->setGrantType('http://a/grant/url'); + $this->assertEquals('http://a/grant/url', $o->getGrantType()); + } +} + +class OAuth2GetCacheKeyTest extends \PHPUnit_Framework_TestCase +{ + private $minimal = [ + 'clientID' => 'aClientID', + ]; + + public function testIsNullWithNoScopes() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getCacheKey()); + } + + public function testIsScopeIfSingleScope() + { + $o = new OAuth2($this->minimal); + $o->setScope('test/scope/1'); + $this->assertEquals('test/scope/1', $o->getCacheKey()); + } + + public function testIsAllScopesWhenScopeIsArray() + { + $o = new OAuth2($this->minimal); + $o->setScope(['test/scope/1', 'test/scope/2']); + $this->assertEquals('test/scope/1:test/scope/2', $o->getCacheKey()); + } +} + +class OAuth2TimingTest extends \PHPUnit_Framework_TestCase +{ + private $minimal = [ + 'authorizationUri' => 'https://accounts.test.org/insecure/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + 'clientId' => 'aClientID', + ]; + + public function testIssuedAtDefaultsToNull() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getIssuedAt()); + } + + public function testExpiresAtDefaultsToNull() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getExpiresAt()); + } + + public function testExpiresInDefaultsToNull() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getExpiresIn()); + } + + public function testSettingExpiresInSetsIssuedAt() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getIssuedAt()); + $aShortWhile = 5; + $o->setExpiresIn($aShortWhile); + $this->assertEquals($aShortWhile, $o->getExpiresIn()); + $this->assertNotNull($o->getIssuedAt()); + } + + public function testSettingExpiresInSetsExpireAt() + { + $o = new OAuth2($this->minimal); + $this->assertNull($o->getExpiresAt()); + $aShortWhile = 5; + $o->setExpiresIn($aShortWhile); + $this->assertNotNull($o->getExpiresAt()); + $this->assertEquals($aShortWhile, $o->getExpiresAt() - $o->getIssuedAt()); + } + + public function testIsNotExpiredByDefault() + { + $o = new OAuth2($this->minimal); + $this->assertFalse($o->isExpired()); + } + + public function testIsNotExpiredIfExpiresAtIsOld() + { + $o = new OAuth2($this->minimal); + $o->setExpiresAt(time() - 2); + $this->assertTrue($o->isExpired()); + } +} + +class OAuth2GeneralTest extends \PHPUnit_Framework_TestCase +{ + private $minimal = [ + 'authorizationUri' => 'https://accounts.test.org/insecure/url', + 'redirectUri' => 'https://accounts.test.org/redirect/url', + 'clientId' => 'aClientID', + ]; + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsOnUnknownSigningAlgorithm() + { + $o = new OAuth2($this->minimal); + $o->setSigningAlgorithm('this is definitely not an algorithm name'); + } + + public function testAllowsKnownSigningAlgorithms() + { + $o = new OAuth2($this->minimal); + foreach (OAuth2::$knownSigningAlgorithms as $a) { + $o->setSigningAlgorithm($a); + $this->assertEquals($a, $o->getSigningAlgorithm()); + } + } + + /** + * @expectedException InvalidArgumentException + */ + public function testFailsOnRelativeRedirectUri() + { + $o = new OAuth2($this->minimal); + $o->setRedirectUri('/relative/url'); + } + + public function testAllowsUrnRedirectUri() + { + $urn = 'urn:ietf:wg:oauth:2.0:oob'; + $o = new OAuth2($this->minimal); + $o->setRedirectUri($urn); + $this->assertEquals($urn, $o->getRedirectUri()); + } +} + +class OAuth2JwtTest extends \PHPUnit_Framework_TestCase +{ + private $signingMinimal = [ + 'signingKey' => 'example_key', + 'signingAlgorithm' => 'HS256', + 'scope' => 'https://www.googleapis.com/auth/userinfo.profile', + 'issuer' => 'app@example.com', + 'audience' => 'accounts.google.com', + 'clientId' => 'aClientID', + ]; + + /** + * @expectedException DomainException + */ + public function testFailsWithMissingAudience() + { + $testConfig = $this->signingMinimal; + unset($testConfig['audience']); + $o = new OAuth2($testConfig); + $o->toJwt(); + } + + /** + * @expectedException DomainException + */ + public function testFailsWithMissingIssuer() + { + $testConfig = $this->signingMinimal; + unset($testConfig['issuer']); + $o = new OAuth2($testConfig); + $o->toJwt(); + } + + /** + */ + public function testCanHaveNoScope() + { + $testConfig = $this->signingMinimal; + unset($testConfig['scope']); + $o = new OAuth2($testConfig); + $o->toJwt(); + } + + /** + * @expectedException DomainException + */ + public function testFailsWithMissingSigningKey() + { + $testConfig = $this->signingMinimal; + unset($testConfig['signingKey']); + $o = new OAuth2($testConfig); + $o->toJwt(); + } + + /** + * @expectedException DomainException + */ + public function testFailsWithMissingSigningAlgorithm() + { + $testConfig = $this->signingMinimal; + unset($testConfig['signingAlgorithm']); + $o = new OAuth2($testConfig); + $o->toJwt(); + } + + public function testCanHS256EncodeAValidPayload() + { + $testConfig = $this->signingMinimal; + $o = new OAuth2($testConfig); + $payload = $o->toJwt(); + $roundTrip = $this->jwtDecode($payload, $testConfig['signingKey'], array('HS256')); + $this->assertEquals($roundTrip->iss, $testConfig['issuer']); + $this->assertEquals($roundTrip->aud, $testConfig['audience']); + $this->assertEquals($roundTrip->scope, $testConfig['scope']); + } + + public function testCanRS256EncodeAValidPayload() + { + $publicKey = file_get_contents(__DIR__ . '/fixtures' . '/public.pem'); + $privateKey = file_get_contents(__DIR__ . '/fixtures' . '/private.pem'); + $testConfig = $this->signingMinimal; + $o = new OAuth2($testConfig); + $o->setSigningAlgorithm('RS256'); + $o->setSigningKey($privateKey); + $payload = $o->toJwt(); + $roundTrip = $this->jwtDecode($payload, $publicKey, array('RS256')); + $this->assertEquals($roundTrip->iss, $testConfig['issuer']); + $this->assertEquals($roundTrip->aud, $testConfig['audience']); + $this->assertEquals($roundTrip->scope, $testConfig['scope']); + } + + private function jwtDecode() + { + $args = func_get_args(); + $class = 'JWT'; + if (class_exists('Firebase\JWT\JWT')) { + $class = 'Firebase\JWT\JWT'; + } + + return call_user_func_array("$class::decode", $args); + } +} + +class OAuth2GenerateAccessTokenRequestTest extends \PHPUnit_Framework_TestCase +{ + private $tokenRequestMinimal = [ + 'tokenCredentialUri' => 'https://tokens_r_us/test', + 'scope' => 'https://www.googleapis.com/auth/userinfo.profile', + 'issuer' => 'app@example.com', + 'audience' => 'accounts.google.com', + 'clientId' => 'aClientID', + ]; + + /** + * @expectedException DomainException + */ + public function testFailsIfNoTokenCredentialUri() + { + $testConfig = $this->tokenRequestMinimal; + unset($testConfig['tokenCredentialUri']); + $o = new OAuth2($testConfig); + $o->generateCredentialsRequest(); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfAuthorizationCodeIsMissing() + { + $testConfig = $this->tokenRequestMinimal; + $testConfig['redirectUri'] = 'https://has/redirect/uri'; + $o = new OAuth2($testConfig); + $o->generateCredentialsRequest(); + } + + public function testGeneratesAuthorizationCodeRequests() + { + $testConfig = $this->tokenRequestMinimal; + $testConfig['redirectUri'] = 'https://has/redirect/uri'; + $o = new OAuth2($testConfig); + $o->setCode('an_auth_code'); + + // Generate the request and confirm that it's correct. + $req = $o->generateCredentialsRequest(); + $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req); + $this->assertEquals('POST', $req->getMethod()); + $fields = Psr7\parse_query((string)$req->getBody()); + $this->assertEquals('authorization_code', $fields['grant_type']); + $this->assertEquals('an_auth_code', $fields['code']); + } + + public function testGeneratesPasswordRequests() + { + $testConfig = $this->tokenRequestMinimal; + $o = new OAuth2($testConfig); + $o->setUsername('a_username'); + $o->setPassword('a_password'); + + // Generate the request and confirm that it's correct. + $req = $o->generateCredentialsRequest(); + $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req); + $this->assertEquals('POST', $req->getMethod()); + $fields = Psr7\parse_query((string)$req->getBody()); + $this->assertEquals('password', $fields['grant_type']); + $this->assertEquals('a_password', $fields['password']); + $this->assertEquals('a_username', $fields['username']); + } + + public function testGeneratesRefreshTokenRequests() + { + $testConfig = $this->tokenRequestMinimal; + $o = new OAuth2($testConfig); + $o->setRefreshToken('a_refresh_token'); + + // Generate the request and confirm that it's correct. + $req = $o->generateCredentialsRequest(); + $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req); + $this->assertEquals('POST', $req->getMethod()); + $fields = Psr7\parse_query((string)$req->getBody()); + $this->assertEquals('refresh_token', $fields['grant_type']); + $this->assertEquals('a_refresh_token', $fields['refresh_token']); + } + + public function testClientSecretAddedIfSetForAuthorizationCodeRequests() + { + $testConfig = $this->tokenRequestMinimal; + $testConfig['clientSecret'] = 'a_client_secret'; + $testConfig['redirectUri'] = 'https://has/redirect/uri'; + $o = new OAuth2($testConfig); + $o->setCode('an_auth_code'); + $request = $o->generateCredentialsRequest(); + $fields = Psr7\parse_query((string)$request->getBody()); + $this->assertEquals('a_client_secret', $fields['client_secret']); + } + + public function testClientSecretAddedIfSetForRefreshTokenRequests() + { + $testConfig = $this->tokenRequestMinimal; + $testConfig['clientSecret'] = 'a_client_secret'; + $o = new OAuth2($testConfig); + $o->setRefreshToken('a_refresh_token'); + $request = $o->generateCredentialsRequest(); + $fields = Psr7\parse_query((string)$request->getBody()); + $this->assertEquals('a_client_secret', $fields['client_secret']); + } + + public function testClientSecretAddedIfSetForPasswordRequests() + { + $testConfig = $this->tokenRequestMinimal; + $testConfig['clientSecret'] = 'a_client_secret'; + $o = new OAuth2($testConfig); + $o->setUsername('a_username'); + $o->setPassword('a_password'); + $request = $o->generateCredentialsRequest(); + $fields = Psr7\parse_query((string)$request->getBody()); + $this->assertEquals('a_client_secret', $fields['client_secret']); + } + + public function testGeneratesAssertionRequests() + { + $testConfig = $this->tokenRequestMinimal; + $o = new OAuth2($testConfig); + $o->setSigningKey('a_key'); + $o->setSigningAlgorithm('HS256'); + + // Generate the request and confirm that it's correct. + $req = $o->generateCredentialsRequest(); + $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req); + $this->assertEquals('POST', $req->getMethod()); + $fields = Psr7\parse_query((string)$req->getBody()); + $this->assertEquals(OAuth2::JWT_URN, $fields['grant_type']); + $this->assertTrue(array_key_exists('assertion', $fields)); + } + + public function testGeneratesExtendedRequests() + { + $testConfig = $this->tokenRequestMinimal; + $o = new OAuth2($testConfig); + $o->setGrantType('urn:my_test_grant_type'); + $o->setExtensionParams(['my_param' => 'my_value']); + + // Generate the request and confirm that it's correct. + $req = $o->generateCredentialsRequest(); + $this->assertInstanceOf('Psr\Http\Message\RequestInterface', $req); + $this->assertEquals('POST', $req->getMethod()); + $fields = Psr7\parse_query((string)$req->getBody()); + $this->assertEquals('my_value', $fields['my_param']); + $this->assertEquals('urn:my_test_grant_type', $fields['grant_type']); + } +} + +class OAuth2FetchAuthTokenTest extends \PHPUnit_Framework_TestCase +{ + private $fetchAuthTokenMinimal = [ + 'tokenCredentialUri' => 'https://tokens_r_us/test', + 'scope' => 'https://www.googleapis.com/auth/userinfo.profile', + 'signingKey' => 'example_key', + 'signingAlgorithm' => 'HS256', + 'issuer' => 'app@example.com', + 'audience' => 'accounts.google.com', + 'clientId' => 'aClientID', + ]; + + /** + * @expectedException GuzzleHttp\Exception\ClientException + */ + public function testFailsOn400() + { + $testConfig = $this->fetchAuthTokenMinimal; + $httpHandler = getHandler([ + buildResponse(400), + ]); + $o = new OAuth2($testConfig); + $o->fetchAuthToken($httpHandler); + } + + /** + * @expectedException GuzzleHttp\Exception\ServerException + */ + public function testFailsOn500() + { + $testConfig = $this->fetchAuthTokenMinimal; + $httpHandler = getHandler([ + buildResponse(500), + ]); + $o = new OAuth2($testConfig); + $o->fetchAuthToken($httpHandler); + } + + /** + * @expectedException Exception + * @expectedExceptionMessage Invalid JSON response + */ + public function testFailsOnNoContentTypeIfResponseIsNotJSON() + { + $testConfig = $this->fetchAuthTokenMinimal; + $notJson = '{"foo": , this is cannot be passed as json" "bar"}'; + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($notJson)), + ]); + $o = new OAuth2($testConfig); + $o->fetchAuthToken($httpHandler); + } + + public function testFetchesJsonResponseOnNoContentTypeOK() + { + $testConfig = $this->fetchAuthTokenMinimal; + $json = '{"foo": "bar"}'; + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($json)), + ]); + $o = new OAuth2($testConfig); + $tokens = $o->fetchAuthToken($httpHandler); + $this->assertEquals($tokens['foo'], 'bar'); + } + + public function testFetchesFromFormEncodedResponseOK() + { + $testConfig = $this->fetchAuthTokenMinimal; + $json = 'foo=bar&spice=nice'; + $httpHandler = getHandler([ + buildResponse( + 200, + ['Content-Type' => 'application/x-www-form-urlencoded'], + Psr7\stream_for($json) + ), + ]); + $o = new OAuth2($testConfig); + $tokens = $o->fetchAuthToken($httpHandler); + $this->assertEquals($tokens['foo'], 'bar'); + $this->assertEquals($tokens['spice'], 'nice'); + } + + public function testUpdatesTokenFieldsOnFetch() + { + $testConfig = $this->fetchAuthTokenMinimal; + $wanted_updates = [ + 'expires_at' => '1', + 'expires_in' => '57', + 'issued_at' => '2', + 'access_token' => 'an_access_token', + 'id_token' => 'an_id_token', + 'refresh_token' => 'a_refresh_token', + ]; + $json = json_encode($wanted_updates); + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($json)), + ]); + $o = new OAuth2($testConfig); + $this->assertNull($o->getExpiresAt()); + $this->assertNull($o->getExpiresIn()); + $this->assertNull($o->getIssuedAt()); + $this->assertNull($o->getAccessToken()); + $this->assertNull($o->getIdToken()); + $this->assertNull($o->getRefreshToken()); + $tokens = $o->fetchAuthToken($httpHandler); + $this->assertEquals(1, $o->getExpiresAt()); + $this->assertEquals(57, $o->getExpiresIn()); + $this->assertEquals(2, $o->getIssuedAt()); + $this->assertEquals('an_access_token', $o->getAccessToken()); + $this->assertEquals('an_id_token', $o->getIdToken()); + $this->assertEquals('a_refresh_token', $o->getRefreshToken()); + } + + public function testUpdatesTokenFieldsOnFetchMissingRefreshToken() + { + $testConfig = $this->fetchAuthTokenMinimal; + $testConfig['refresh_token'] = 'a_refresh_token'; + $wanted_updates = [ + 'expires_at' => '1', + 'expires_in' => '57', + 'issued_at' => '2', + 'access_token' => 'an_access_token', + 'id_token' => 'an_id_token', + ]; + $json = json_encode($wanted_updates); + $httpHandler = getHandler([ + buildResponse(200, [], Psr7\stream_for($json)), + ]); + $o = new OAuth2($testConfig); + $this->assertNull($o->getExpiresAt()); + $this->assertNull($o->getExpiresIn()); + $this->assertNull($o->getIssuedAt()); + $this->assertNull($o->getAccessToken()); + $this->assertNull($o->getIdToken()); + $this->assertEquals('a_refresh_token', $o->getRefreshToken()); + $tokens = $o->fetchAuthToken($httpHandler); + $this->assertEquals(1, $o->getExpiresAt()); + $this->assertEquals(57, $o->getExpiresIn()); + $this->assertEquals(2, $o->getIssuedAt()); + $this->assertEquals('an_access_token', $o->getAccessToken()); + $this->assertEquals('an_id_token', $o->getIdToken()); + $this->assertEquals('a_refresh_token', $o->getRefreshToken()); + } +} + +class OAuth2VerifyIdTokenTest extends \PHPUnit_Framework_TestCase +{ + private $publicKey; + private $privateKey; + private $verifyIdTokenMinimal = [ + 'scope' => 'https://www.googleapis.com/auth/userinfo.profile', + 'audience' => 'myaccount.on.host.issuer.com', + 'issuer' => 'an.issuer.com', + 'clientId' => 'myaccount.on.host.issuer.com', + ]; + + public function setUp() + { + $this->publicKey = + file_get_contents(__DIR__ . '/fixtures' . '/public.pem'); + $this->privateKey = + file_get_contents(__DIR__ . '/fixtures' . '/private.pem'); + } + + /** + * @expectedException UnexpectedValueException + */ + public function testFailsIfIdTokenIsInvalid() + { + $testConfig = $this->verifyIdTokenMinimal; + $not_a_jwt = 'not a jot'; + $o = new OAuth2($testConfig); + $o->setIdToken($not_a_jwt); + $o->verifyIdToken($this->publicKey); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfAudienceIsMissing() + { + $testConfig = $this->verifyIdTokenMinimal; + $now = time(); + $origIdToken = [ + 'issuer' => $testConfig['issuer'], + 'exp' => $now + 65, // arbitrary + 'iat' => $now, + ]; + $o = new OAuth2($testConfig); + $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, 'RS256'); + $o->setIdToken($jwtIdToken); + $o->verifyIdToken($this->publicKey, ['RS256']); + } + + /** + * @expectedException DomainException + */ + public function testFailsIfAudienceIsWrong() + { + $now = time(); + $testConfig = $this->verifyIdTokenMinimal; + $origIdToken = [ + 'aud' => 'a different audience', + 'iss' => $testConfig['issuer'], + 'exp' => $now + 65, // arbitrary + 'iat' => $now, + ]; + $o = new OAuth2($testConfig); + $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, 'RS256'); + $o->setIdToken($jwtIdToken); + $o->verifyIdToken($this->publicKey, ['RS256']); + } + + public function testShouldReturnAValidIdToken() + { + $testConfig = $this->verifyIdTokenMinimal; + $now = time(); + $origIdToken = [ + 'aud' => $testConfig['audience'], + 'iss' => $testConfig['issuer'], + 'exp' => $now + 65, // arbitrary + 'iat' => $now, + ]; + $o = new OAuth2($testConfig); + $alg = 'RS256'; + $jwtIdToken = $this->jwtEncode($origIdToken, $this->privateKey, $alg); + $o->setIdToken($jwtIdToken); + $roundTrip = $o->verifyIdToken($this->publicKey, array($alg)); + $this->assertEquals($origIdToken['aud'], $roundTrip->aud); + } + + private function jwtEncode() + { + $args = func_get_args(); + $class = 'JWT'; + if (class_exists('Firebase\JWT\JWT')) { + $class = 'Firebase\JWT\JWT'; + } + + return call_user_func_array("$class::encode", $args); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php new file mode 100644 index 00000000..287692b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/AuthTokenSubscriberTest.php @@ -0,0 +1,325 @@ +onlyGuzzle5(); + + $this->mockFetcher = + $this + ->getMockBuilder('Google\Auth\FetchAuthTokenInterface') + ->getMock(); + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + } + + public function testSubscribesToEvents() + { + $a = new AuthTokenSubscriber($this->mockFetcher); + $this->assertArrayHasKey('before', $a->getEvents()); + } + + public function testOnlyTouchesWhenAuthConfigScoped() + { + $s = new AuthTokenSubscriber($this->mockFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'not_google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), ''); + } + + public function testAddsTheTokenAsAnAuthorizationHeader() + { + $authResult = ['access_token' => '1/abcdef1234567890']; + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + + // Run the test. + $a = new AuthTokenSubscriber($this->mockFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), + 'Bearer 1/abcdef1234567890'); + } + + public function testDoesNotAddAnAuthorizationHeaderOnNoAccessToken() + { + $authResult = ['not_access_token' => '1/abcdef1234567890']; + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + + // Run the test. + $a = new AuthTokenSubscriber($this->mockFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), ''); + } + + public function testUsesCachedAuthToken() + { + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + + // Run the test. + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + null, + $this->mockCache + ); + $a = new AuthTokenSubscriber($cachedFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), + 'Bearer 2/abcdef1234567890'); + } + + public function testGetsCachedAuthTokenUsingCachePrefix() + { + $prefix = 'test_prefix_'; + $cacheKey = 'myKey'; + $cachedValue = '2/abcdef1234567890'; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->never()) + ->method('fetchAuthToken'); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + + // Run the test + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix], + $this->mockCache + ); + $a = new AuthTokenSubscriber($cachedFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), + 'Bearer 2/abcdef1234567890'); + } + + public function testShouldSaveValueInCacheWithCacheOptions() + { + $prefix = 'test_prefix_'; + $lifetime = '70707'; + $cacheKey = 'myKey'; + $token = '1/abcdef1234567890'; + $authResult = ['access_token' => $token]; + $this->mockCacheItem + ->expects($this->any()) + ->method('get') + ->will($this->returnValue(null)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('expiresAfter') + ->with($this->equalTo($lifetime)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + + // Run the test + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix, 'lifetime' => $lifetime], + $this->mockCache + ); + $a = new AuthTokenSubscriber($cachedFetcher); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertSame($request->getHeader('Authorization'), + 'Bearer 1/abcdef1234567890'); + } + + /** @dataProvider provideShouldNotifyTokenCallback */ + public function testShouldNotifyTokenCallback(callable $tokenCallback) + { + $prefix = 'test_prefix_'; + $cacheKey = 'myKey'; + $token = '1/abcdef1234567890'; + $authResult = ['access_token' => $token]; + $this->mockCacheItem + ->expects($this->any()) + ->method('get') + ->will($this->returnValue(null)); + $this->mockCache + ->expects($this->any()) + ->method('getItem') + ->with($this->equalTo($prefix . $cacheKey)) + ->will($this->returnValue($this->mockCacheItem)); + $this->mockFetcher + ->expects($this->any()) + ->method('getCacheKey') + ->will($this->returnValue($cacheKey)); + $this->mockFetcher + ->expects($this->once()) + ->method('fetchAuthToken') + ->will($this->returnValue($authResult)); + + SubscriberCallback::$expectedKey = $this->getValidKeyName($prefix . $cacheKey); + SubscriberCallback::$expectedValue = $token; + SubscriberCallback::$called = false; + + // Run the test + $cachedFetcher = new FetchAuthTokenCache( + $this->mockFetcher, + ['prefix' => $prefix], + $this->mockCache + ); + $a = new AuthTokenSubscriber( + $cachedFetcher, + null, + $tokenCallback + ); + + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'google_auth']); + $before = new BeforeEvent(new Transaction($client, $request)); + $a->onBefore($before); + $this->assertTrue(SubscriberCallback::$called); + } + + public function provideShouldNotifyTokenCallback() + { + SubscriberCallback::$phpunit = $this; + $anonymousFunc = function ($key, $value) { + SubscriberCallback::staticInvoke($key, $value); + }; + return [ + ['Google\Auth\Tests\SubscriberCallbackFunction'], + ['Google\Auth\Tests\SubscriberCallback::staticInvoke'], + [['Google\Auth\Tests\SubscriberCallback', 'staticInvoke']], + [$anonymousFunc], + [[new SubscriberCallback, 'staticInvoke']], + [[new SubscriberCallback, 'methodInvoke']], + [new SubscriberCallback], + ]; + } +} + +class SubscriberCallback +{ + public static $phpunit; + public static $expectedKey; + public static $expectedValue; + public static $called = false; + + public function __invoke($key, $value) + { + self::$phpunit->assertEquals(self::$expectedKey, $key); + self::$phpunit->assertEquals(self::$expectedValue, $value); + self::$called = true; + } + + public function methodInvoke($key, $value) + { + return $this($key, $value); + } + + public static function staticInvoke($key, $value) + { + $instance = new self(); + return $instance($key, $value); + } +} + +function SubscriberCallbackFunction($key, $value) +{ + return SubscriberCallback::staticInvoke($key, $value); +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php new file mode 100644 index 00000000..b85dda56 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php @@ -0,0 +1,238 @@ +onlyGuzzle5(); + + $this->mockCacheItem = + $this + ->getMockBuilder('Psr\Cache\CacheItemInterface') + ->getMock(); + $this->mockCache = + $this + ->getMockBuilder('Psr\Cache\CacheItemPoolInterface') + ->getMock(); + $this->mockRequest = + $this + ->getMockBuilder('GuzzleHttp\Psr7\Request') + ->disableOriginalConstructor() + ->getMock(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testRequiresScopeAsAStringOrArray() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + new ScopedAccessTokenSubscriber($fakeAuthFunc, new \stdClass(), array()); + } + + public function testSubscribesToEvents() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array()); + $this->assertArrayHasKey('before', $s->getEvents()); + } + + public function testAddsTheTokenAsAnAuthorizationHeader() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array()); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'scoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame( + 'Bearer 1/abcdef1234567890', + $request->getHeader('Authorization') + ); + } + + public function testUsesCachedAuthToken() + { + $cachedValue = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) { + return ''; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($this->getValidKeyName(self::TEST_SCOPE)) + ->will($this->returnValue($this->mockCacheItem)); + + // Run the test + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array(), + $this->mockCache); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'scoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame( + 'Bearer 2/abcdef1234567890', + $request->getHeader('Authorization') + ); + } + + public function testGetsCachedAuthTokenUsingCachePrefix() + { + $prefix = 'test_prefix_'; + $cachedValue = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) { + return ''; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue($cachedValue)); + $this->mockCache + ->expects($this->once()) + ->method('getItem') + ->with($prefix . $this->getValidKeyName(self::TEST_SCOPE)) + ->will($this->returnValue($this->mockCacheItem)); + + // Run the test + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, + ['prefix' => $prefix], + $this->mockCache); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'scoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame( + 'Bearer 2/abcdef1234567890', + $request->getHeader('Authorization') + ); + } + + public function testShouldSaveValueInCache() + { + $token = '2/abcdef1234567890'; + $fakeAuthFunc = function ($unused_scopes) { + return '2/abcdef1234567890'; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)) + ->will($this->returnValue(false)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($this->getValidKeyName(self::TEST_SCOPE)) + ->will($this->returnValue($this->mockCacheItem)); + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array(), + $this->mockCache); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'scoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame( + 'Bearer 2/abcdef1234567890', + $request->getHeader('Authorization') + ); + } + + public function testShouldSaveValueInCacheWithCacheOptions() + { + $token = '2/abcdef1234567890'; + $prefix = 'test_prefix_'; + $lifetime = '70707'; + $fakeAuthFunc = function ($unused_scopes) { + return '2/abcdef1234567890'; + }; + $this->mockCacheItem + ->expects($this->once()) + ->method('get') + ->will($this->returnValue(false)); + $this->mockCacheItem + ->expects($this->once()) + ->method('set') + ->with($this->equalTo($token)); + $this->mockCacheItem + ->expects($this->once()) + ->method('expiresAfter') + ->with($this->equalTo($lifetime)); + $this->mockCache + ->expects($this->exactly(2)) + ->method('getItem') + ->with($prefix . $this->getValidKeyName(self::TEST_SCOPE)) + ->will($this->returnValue($this->mockCacheItem)); + + // Run the test + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, + ['prefix' => $prefix, 'lifetime' => $lifetime], + $this->mockCache); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'scoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame( + 'Bearer 2/abcdef1234567890', + $request->getHeader('Authorization') + ); + } + + public function testOnlyTouchesWhenAuthConfigScoped() + { + $fakeAuthFunc = function ($unused_scopes) { + return '1/abcdef1234567890'; + }; + $s = new ScopedAccessTokenSubscriber($fakeAuthFunc, self::TEST_SCOPE, array()); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'notscoped']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertSame('', $request->getHeader('Authorization')); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php new file mode 100644 index 00000000..6c392e66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/Subscriber/SimpleSubscriberTest.php @@ -0,0 +1,69 @@ +onlyGuzzle5(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testRequiresADeveloperKey() + { + new SimpleSubscriber(['not_key' => 'a test key']); + } + + public function testSubscribesToEvents() + { + $events = (new SimpleSubscriber(['key' => 'a test key']))->getEvents(); + $this->assertArrayHasKey('before', $events); + } + + public function testAddsTheKeyToTheQuery() + { + $s = new SimpleSubscriber(['key' => 'test_key']); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'simple']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertCount(1, $request->getQuery()); + $this->assertTrue($request->getQuery()->hasKey('key')); + $this->assertSame($request->getQuery()->get('key'), 'test_key'); + } + + public function testOnlyTouchesWhenAuthConfigIsSimple() + { + $s = new SimpleSubscriber(['key' => 'test_key']); + $client = new Client(); + $request = $client->createRequest('GET', 'http://testing.org', + ['auth' => 'notsimple']); + $before = new BeforeEvent(new Transaction($client, $request)); + $s->onBefore($before); + $this->assertCount(0, $request->getQuery()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/bootstrap.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/bootstrap.php new file mode 100644 index 00000000..6e7b7d5f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/bootstrap.php @@ -0,0 +1,55 @@ + $handler]); + + return new \Google\Auth\HttpHandler\Guzzle6HttpHandler($client); + } + + $client = new \GuzzleHttp\Client(); + $client->getEmitter()->attach( + new \GuzzleHttp\Subscriber\Mock($mockResponses) + ); + + return new \Google\Auth\HttpHandler\Guzzle5HttpHandler($client); +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json new file mode 100644 index 00000000..608d325c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/.config/gcloud/application_default_credentials.json @@ -0,0 +1,7 @@ +{ + "private_key_id": "key123", + "private_key": "privatekey", + "client_email": "hello@youarecool.com", + "client_id": "client123", + "type": "service_account" +} \ No newline at end of file diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.json b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.json new file mode 100644 index 00000000..608d325c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.json @@ -0,0 +1,7 @@ +{ + "private_key_id": "key123", + "private_key": "privatekey", + "client_email": "hello@youarecool.com", + "client_id": "client123", + "type": "service_account" +} \ No newline at end of file diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.pem b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.pem new file mode 100644 index 00000000..00a658fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/private.pem @@ -0,0 +1,15 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXQIBAAKBgQDzU+jLTzW6154Joezxrd2+5pCNYP0HcaMoYqEyXfNRpkNE7wrQ +UEG830o4Qcaae2BhqZoujwSW7RkR6h0Fkd0WTR8h5J8rSGNHv/1jJoUUjP9iZ/5S +FAyIIyEYfDPqtnA4iF1QWO2lXWlEFSuZjwM/8jBmeGzoiw17akNThIw8NwIDAQAB +AoGATpboVloEAY/IdFX/QGOmfhTb1T3hG3lheBa695iOkO2BRo9qT7PMN6NqxlbA +PX7ht0lfCfCZS+HSOg4CR50/6WXHMSmwlvcjGuDIDKWjviQTTYE77MlVBQHw9WzY +PfiRBbtouyPGQtO4rk42zkIILC6exBZ1vKpRPOmTAnxrjCECQQD+56r6hYcS6GNp +NOWyv0eVFMBX4iNWAsRf9JVVvGDz2rVuhnkNiN73vfffDWvSXkCydL1jFmalgdQD +gm77UZQHAkEA9F+CauU0aZsJ1SthQ6H0sDQ+eNRUgnz4itnkSC2C20fZ3DaSpCMC +0go81CcZOhftNO730ILqiS67C3d3rqLqUQJBAP10ROHMmz4Fq7MUUcClyPtHIuk/ +hXskTTZL76DMKmrN8NDxDLSUf38+eJRkt+z4osPOp/E6eN3gdXr32nox50kCQCl8 +hXGMU+eR0IuF/88xkY7Qb8KnmWlFuhQohZ7TSyHbAttl0GNZJkNuRYFm2duI8FZK +M3wMnbCIZGy/7WuScOECQQCV+0yrf5dL1M2GHjJfwuTb00wRKalKQEH1v/kvE5vS +FmdN7BPK5Ra50MaecMNoYqu9rmtyWRBn93dcvKrL57nY +-----END RSA PRIVATE KEY----- diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/public.pem b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/public.pem new file mode 100644 index 00000000..00a8f7af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures/public.pem @@ -0,0 +1,6 @@ +-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDzU+jLTzW6154Joezxrd2+5pCN +YP0HcaMoYqEyXfNRpkNE7wrQUEG830o4Qcaae2BhqZoujwSW7RkR6h0Fkd0WTR8h +5J8rSGNHv/1jJoUUjP9iZ/5SFAyIIyEYfDPqtnA4iF1QWO2lXWlEFSuZjwM/8jBm +eGzoiw17akNThIw8NwIDAQAB +-----END PUBLIC KEY----- diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json new file mode 100644 index 00000000..5b5063d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/.config/gcloud/application_default_credentials.json @@ -0,0 +1,6 @@ +{ + "client_id": "client123", + "client_secret": "clientSecret123", + "refresh_token": "refreshToken123", + "type": "authorized_user" +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/private.json b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/private.json new file mode 100644 index 00000000..5b5063d8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/fixtures2/private.json @@ -0,0 +1,6 @@ +{ + "client_id": "client123", + "client_secret": "clientSecret123", + "refresh_token": "refreshToken123", + "type": "authorized_user" +} diff --git a/mayor-orig/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php b/mayor-orig/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php new file mode 100644 index 00000000..324292a9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/google/auth/tests/mocks/AppIdentityService.php @@ -0,0 +1,19 @@ + 'xyz', + 'expiration_time' => '2147483646', + ); + + public static function getAccessToken($scope) + { + self::$scope = $scope; + + return self::$accessToken; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md new file mode 100644 index 00000000..b265cbcd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/CHANGELOG.md @@ -0,0 +1,1264 @@ +# CHANGELOG + +## 6.3.0 - 2017-06-22 + +* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659) +* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621) +* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580) +* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609) +* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641) +* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611) +* Bug fix: PHP 7.x fixes [#1685](https://github.com/guzzle/guzzle/pull/1685), [#1686](https://github.com/guzzle/guzzle/pull/1686), [#1811](https://github.com/guzzle/guzzle/pull/1811) +* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642) +* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569) +* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711) +* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745) +* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721) +* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318) +* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684) +* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827) + + ++ Minor code cleanups, documentation fixes and clarifications. + +## 6.2.3 - 2017-02-28 + +* Fix deprecations with guzzle/psr7 version 1.4 + +## 6.2.2 - 2016-10-08 + +* Allow to pass nullable Response to delay callable +* Only add scheme when host is present +* Fix drain case where content-length is the literal string zero +* Obfuscate in-URL credentials in exceptions + +## 6.2.1 - 2016-07-18 + +* Address HTTP_PROXY security vulnerability, CVE-2016-5385: + https://httpoxy.org/ +* Fixing timeout bug with StreamHandler: + https://github.com/guzzle/guzzle/pull/1488 +* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when + a server does not honor `Connection: close`. +* Ignore URI fragment when sending requests. + +## 6.2.0 - 2016-03-21 + +* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`. + https://github.com/guzzle/guzzle/pull/1389 +* Bug fix: Fix sleep calculation when waiting for delayed requests. + https://github.com/guzzle/guzzle/pull/1324 +* Feature: More flexible history containers. + https://github.com/guzzle/guzzle/pull/1373 +* Bug fix: defer sink stream opening in StreamHandler. + https://github.com/guzzle/guzzle/pull/1377 +* Bug fix: do not attempt to escape cookie values. + https://github.com/guzzle/guzzle/pull/1406 +* Feature: report original content encoding and length on decoded responses. + https://github.com/guzzle/guzzle/pull/1409 +* Bug fix: rewind seekable request bodies before dispatching to cURL. + https://github.com/guzzle/guzzle/pull/1422 +* Bug fix: provide an empty string to `http_build_query` for HHVM workaround. + https://github.com/guzzle/guzzle/pull/1367 + +## 6.1.1 - 2015-11-22 + +* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler + https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4 +* Feature: HandlerStack is now more generic. + https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e +* Bug fix: setting verify to false in the StreamHandler now disables peer + verification. https://github.com/guzzle/guzzle/issues/1256 +* Feature: Middleware now uses an exception factory, including more error + context. https://github.com/guzzle/guzzle/pull/1282 +* Feature: better support for disabled functions. + https://github.com/guzzle/guzzle/pull/1287 +* Bug fix: fixed regression where MockHandler was not using `sink`. + https://github.com/guzzle/guzzle/pull/1292 + +## 6.1.0 - 2015-09-08 + +* Feature: Added the `on_stats` request option to provide access to transfer + statistics for requests. https://github.com/guzzle/guzzle/pull/1202 +* Feature: Added the ability to persist session cookies in CookieJars. + https://github.com/guzzle/guzzle/pull/1195 +* Feature: Some compatibility updates for Google APP Engine + https://github.com/guzzle/guzzle/pull/1216 +* Feature: Added support for NO_PROXY to prevent the use of a proxy based on + a simple set of rules. https://github.com/guzzle/guzzle/pull/1197 +* Feature: Cookies can now contain square brackets. + https://github.com/guzzle/guzzle/pull/1237 +* Bug fix: Now correctly parsing `=` inside of quotes in Cookies. + https://github.com/guzzle/guzzle/pull/1232 +* Bug fix: Cusotm cURL options now correctly override curl options of the + same name. https://github.com/guzzle/guzzle/pull/1221 +* Bug fix: Content-Type header is now added when using an explicitly provided + multipart body. https://github.com/guzzle/guzzle/pull/1218 +* Bug fix: Now ignoring Set-Cookie headers that have no name. +* Bug fix: Reason phrase is no longer cast to an int in some cases in the + cURL handler. https://github.com/guzzle/guzzle/pull/1187 +* Bug fix: Remove the Authorization header when redirecting if the Host + header changes. https://github.com/guzzle/guzzle/pull/1207 +* Bug fix: Cookie path matching fixes + https://github.com/guzzle/guzzle/issues/1129 +* Bug fix: Fixing the cURL `body_as_string` setting + https://github.com/guzzle/guzzle/pull/1201 +* Bug fix: quotes are no longer stripped when parsing cookies. + https://github.com/guzzle/guzzle/issues/1172 +* Bug fix: `form_params` and `query` now always uses the `&` separator. + https://github.com/guzzle/guzzle/pull/1163 +* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set. + https://github.com/guzzle/guzzle/pull/1189 + +## 6.0.2 - 2015-07-04 + +* Fixed a memory leak in the curl handlers in which references to callbacks + were not being removed by `curl_reset`. +* Cookies are now extracted properly before redirects. +* Cookies now allow more character ranges. +* Decoded Content-Encoding responses are now modified to correctly reflect + their state if the encoding was automatically removed by a handler. This + means that the `Content-Encoding` header may be removed an the + `Content-Length` modified to reflect the message size after removing the + encoding. +* Added a more explicit error message when trying to use `form_params` and + `multipart` in the same request. +* Several fixes for HHVM support. +* Functions are now conditionally required using an additional level of + indirection to help with global Composer installations. + +## 6.0.1 - 2015-05-27 + +* Fixed a bug with serializing the `query` request option where the `&` + separator was missing. +* Added a better error message for when `body` is provided as an array. Please + use `form_params` or `multipart` instead. +* Various doc fixes. + +## 6.0.0 - 2015-05-26 + +* See the UPGRADING.md document for more information. +* Added `multipart` and `form_params` request options. +* Added `synchronous` request option. +* Added the `on_headers` request option. +* Fixed `expect` handling. +* No longer adding default middlewares in the client ctor. These need to be + present on the provided handler in order to work. +* Requests are no longer initiated when sending async requests with the + CurlMultiHandler. This prevents unexpected recursion from requests completing + while ticking the cURL loop. +* Removed the semantics of setting `default` to `true`. This is no longer + required now that the cURL loop is not ticked for async requests. +* Added request and response logging middleware. +* No longer allowing self signed certificates when using the StreamHandler. +* Ensuring that `sink` is valid if saving to a file. +* Request exceptions now include a "handler context" which provides handler + specific contextual information. +* Added `GuzzleHttp\RequestOptions` to allow request options to be applied + using constants. +* `$maxHandles` has been removed from CurlMultiHandler. +* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package. + +## 5.3.0 - 2015-05-19 + +* Mock now supports `save_to` +* Marked `AbstractRequestEvent::getTransaction()` as public. +* Fixed a bug in which multiple headers using different casing would overwrite + previous headers in the associative array. +* Added `Utils::getDefaultHandler()` +* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated. +* URL scheme is now always lowercased. + +## 6.0.0-beta.1 + +* Requires PHP >= 5.5 +* Updated to use PSR-7 + * Requires immutable messages, which basically means an event based system + owned by a request instance is no longer possible. + * Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7). + * Removed the dependency on `guzzlehttp/streams`. These stream abstractions + are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7` + namespace. +* Added middleware and handler system + * Replaced the Guzzle event and subscriber system with a middleware system. + * No longer depends on RingPHP, but rather places the HTTP handlers directly + in Guzzle, operating on PSR-7 messages. + * Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which + means the `guzzlehttp/retry-subscriber` is now obsolete. + * Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`. +* Asynchronous responses + * No longer supports the `future` request option to send an async request. + Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`, + `getAsync`, etc.). + * Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid + recursion required by chaining and forwarding react promises. See + https://github.com/guzzle/promises + * Added `requestAsync` and `sendAsync` to send request asynchronously. + * Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests + asynchronously. +* Request options + * POST and form updates + * Added the `form_fields` and `form_files` request options. + * Removed the `GuzzleHttp\Post` namespace. + * The `body` request option no longer accepts an array for POST requests. + * The `exceptions` request option has been deprecated in favor of the + `http_errors` request options. + * The `save_to` request option has been deprecated in favor of `sink` request + option. +* Clients no longer accept an array of URI template string and variables for + URI variables. You will need to expand URI templates before passing them + into a client constructor or request method. +* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are + now magic methods that will send synchronous requests. +* Replaced `Utils.php` with plain functions in `functions.php`. +* Removed `GuzzleHttp\Collection`. +* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as + an array. +* Removed `GuzzleHttp\Query`. Query string handling is now handled using an + associative array passed into the `query` request option. The query string + is serialized using PHP's `http_build_query`. If you need more control, you + can pass the query string in as a string. +* `GuzzleHttp\QueryParser` has been replaced with the + `GuzzleHttp\Psr7\parse_query`. + +## 5.2.0 - 2015-01-27 + +* Added `AppliesHeadersInterface` to make applying headers to a request based + on the body more generic and not specific to `PostBodyInterface`. +* Reduced the number of stack frames needed to send requests. +* Nested futures are now resolved in the client rather than the RequestFsm +* Finishing state transitions is now handled in the RequestFsm rather than the + RingBridge. +* Added a guard in the Pool class to not use recursion for request retries. + +## 5.1.0 - 2014-12-19 + +* Pool class no longer uses recursion when a request is intercepted. +* The size of a Pool can now be dynamically adjusted using a callback. + See https://github.com/guzzle/guzzle/pull/943. +* Setting a request option to `null` when creating a request with a client will + ensure that the option is not set. This allows you to overwrite default + request options on a per-request basis. + See https://github.com/guzzle/guzzle/pull/937. +* Added the ability to limit which protocols are allowed for redirects by + specifying a `protocols` array in the `allow_redirects` request option. +* Nested futures due to retries are now resolved when waiting for synchronous + responses. See https://github.com/guzzle/guzzle/pull/947. +* `"0"` is now an allowed URI path. See + https://github.com/guzzle/guzzle/pull/935. +* `Query` no longer typehints on the `$query` argument in the constructor, + allowing for strings and arrays. +* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle + specific exceptions if necessary. + +## 5.0.3 - 2014-11-03 + +This change updates query strings so that they are treated as un-encoded values +by default where the value represents an un-encoded value to send over the +wire. A Query object then encodes the value before sending over the wire. This +means that even value query string values (e.g., ":") are url encoded. This +makes the Query class match PHP's http_build_query function. However, if you +want to send requests over the wire using valid query string characters that do +not need to be encoded, then you can provide a string to Url::setQuery() and +pass true as the second argument to specify that the query string is a raw +string that should not be parsed or encoded (unless a call to getQuery() is +subsequently made, forcing the query-string to be converted into a Query +object). + +## 5.0.2 - 2014-10-30 + +* Added a trailing `\r\n` to multipart/form-data payloads. See + https://github.com/guzzle/guzzle/pull/871 +* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs. +* Status codes are now returned as integers. See + https://github.com/guzzle/guzzle/issues/881 +* No longer overwriting an existing `application/x-www-form-urlencoded` header + when sending POST requests, allowing for customized headers. See + https://github.com/guzzle/guzzle/issues/877 +* Improved path URL serialization. + + * No longer double percent-encoding characters in the path or query string if + they are already encoded. + * Now properly encoding the supplied path to a URL object, instead of only + encoding ' ' and '?'. + * Note: This has been changed in 5.0.3 to now encode query string values by + default unless the `rawString` argument is provided when setting the query + string on a URL: Now allowing many more characters to be present in the + query string without being percent encoded. See http://tools.ietf.org/html/rfc3986#appendix-A + +## 5.0.1 - 2014-10-16 + +Bugfix release. + +* Fixed an issue where connection errors still returned response object in + error and end events event though the response is unusable. This has been + corrected so that a response is not returned in the `getResponse` method of + these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867 +* Fixed an issue where transfer statistics were not being populated in the + RingBridge. https://github.com/guzzle/guzzle/issues/866 + +## 5.0.0 - 2014-10-12 + +Adding support for non-blocking responses and some minor API cleanup. + +### New Features + +* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`. +* Added a public API for creating a default HTTP adapter. +* Updated the redirect plugin to be non-blocking so that redirects are sent + concurrently. Other plugins like this can now be updated to be non-blocking. +* Added a "progress" event so that you can get upload and download progress + events. +* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers + requests concurrently using a capped pool size as efficiently as possible. +* Added `hasListeners()` to EmitterInterface. +* Removed `GuzzleHttp\ClientInterface::sendAll` and marked + `GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the + recommended way). + +### Breaking changes + +The breaking changes in this release are relatively minor. The biggest thing to +look out for is that request and response objects no longer implement fluent +interfaces. + +* Removed the fluent interfaces (i.e., `return $this`) from requests, + responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`, + `GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and + `GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of + why I did this: http://ocramius.github.io/blog/fluent-interfaces-are-evil/. + This also makes the Guzzle message interfaces compatible with the current + PSR-7 message proposal. +* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except + for the HTTP request functions from function.php, these functions are now + implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode` + moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to + `GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to + `GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be + `GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php + caused problems for many users: they aren't PSR-4 compliant, require an + explicit include, and needed an if-guard to ensure that the functions are not + declared multiple times. +* Rewrote adapter layer. + * Removing all classes from `GuzzleHttp\Adapter`, these are now + implemented as callables that are stored in `GuzzleHttp\Ring\Client`. + * Removed the concept of "parallel adapters". Sending requests serially or + concurrently is now handled using a single adapter. + * Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The + Transaction object now exposes the request, response, and client as public + properties. The getters and setters have been removed. +* Removed the "headers" event. This event was only useful for changing the + body a response once the headers of the response were known. You can implement + a similar behavior in a number of ways. One example might be to use a + FnStream that has access to the transaction being sent. For example, when the + first byte is written, you could check if the response headers match your + expectations, and if so, change the actual stream body that is being + written to. +* Removed the `asArray` parameter from + `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header + value as an array, then use the newly added `getHeaderAsArray()` method of + `MessageInterface`. This change makes the Guzzle interfaces compatible with + the PSR-7 interfaces. +* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add + custom request options using double-dispatch (this was an implementation + detail). Instead, you should now provide an associative array to the + constructor which is a mapping of the request option name mapping to a + function that applies the option value to a request. +* Removed the concept of "throwImmediately" from exceptions and error events. + This control mechanism was used to stop a transfer of concurrent requests + from completing. This can now be handled by throwing the exception or by + cancelling a pool of requests or each outstanding future request individually. +* Updated to "GuzzleHttp\Streams" 3.0. + * `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a + `maxLen` parameter. This update makes the Guzzle streams project + compatible with the current PSR-7 proposal. + * `GuzzleHttp\Stream\Stream::__construct`, + `GuzzleHttp\Stream\Stream::factory`, and + `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second + argument. They now accept an associative array of options, including the + "size" key and "metadata" key which can be used to provide custom metadata. + +## 4.2.2 - 2014-09-08 + +* Fixed a memory leak in the CurlAdapter when reusing cURL handles. +* No longer using `request_fulluri` in stream adapter proxies. +* Relative redirects are now based on the last response, not the first response. + +## 4.2.1 - 2014-08-19 + +* Ensuring that the StreamAdapter does not always add a Content-Type header +* Adding automated github releases with a phar and zip + +## 4.2.0 - 2014-08-17 + +* Now merging in default options using a case-insensitive comparison. + Closes https://github.com/guzzle/guzzle/issues/767 +* Added the ability to automatically decode `Content-Encoding` response bodies + using the `decode_content` request option. This is set to `true` by default + to decode the response body if it comes over the wire with a + `Content-Encoding`. Set this value to `false` to disable decoding the + response content, and pass a string to provide a request `Accept-Encoding` + header and turn on automatic response decoding. This feature now allows you + to pass an `Accept-Encoding` header in the headers of a request but still + disable automatic response decoding. + Closes https://github.com/guzzle/guzzle/issues/764 +* Added the ability to throw an exception immediately when transferring + requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760 +* Updating guzzlehttp/streams dependency to ~2.1 +* No longer utilizing the now deprecated namespaced methods from the stream + package. + +## 4.1.8 - 2014-08-14 + +* Fixed an issue in the CurlFactory that caused setting the `stream=false` + request option to throw an exception. + See: https://github.com/guzzle/guzzle/issues/769 +* TransactionIterator now calls rewind on the inner iterator. + See: https://github.com/guzzle/guzzle/pull/765 +* You can now set the `Content-Type` header to `multipart/form-data` + when creating POST requests to force multipart bodies. + See https://github.com/guzzle/guzzle/issues/768 + +## 4.1.7 - 2014-08-07 + +* Fixed an error in the HistoryPlugin that caused the same request and response + to be logged multiple times when an HTTP protocol error occurs. +* Ensuring that cURL does not add a default Content-Type when no Content-Type + has been supplied by the user. This prevents the adapter layer from modifying + the request that is sent over the wire after any listeners may have already + put the request in a desired state (e.g., signed the request). +* Throwing an exception when you attempt to send requests that have the + "stream" set to true in parallel using the MultiAdapter. +* Only calling curl_multi_select when there are active cURL handles. This was + previously changed and caused performance problems on some systems due to PHP + always selecting until the maximum select timeout. +* Fixed a bug where multipart/form-data POST fields were not correctly + aggregated (e.g., values with "&"). + +## 4.1.6 - 2014-08-03 + +* Added helper methods to make it easier to represent messages as strings, + including getting the start line and getting headers as a string. + +## 4.1.5 - 2014-08-02 + +* Automatically retrying cURL "Connection died, retrying a fresh connect" + errors when possible. +* cURL implementation cleanup +* Allowing multiple event subscriber listeners to be registered per event by + passing an array of arrays of listener configuration. + +## 4.1.4 - 2014-07-22 + +* Fixed a bug that caused multi-part POST requests with more than one field to + serialize incorrectly. +* Paths can now be set to "0" +* `ResponseInterface::xml` now accepts a `libxml_options` option and added a + missing default argument that was required when parsing XML response bodies. +* A `save_to` stream is now created lazily, which means that files are not + created on disk unless a request succeeds. + +## 4.1.3 - 2014-07-15 + +* Various fixes to multipart/form-data POST uploads +* Wrapping function.php in an if-statement to ensure Guzzle can be used + globally and in a Composer install +* Fixed an issue with generating and merging in events to an event array +* POST headers are only applied before sending a request to allow you to change + the query aggregator used before uploading +* Added much more robust query string parsing +* Fixed various parsing and normalization issues with URLs +* Fixing an issue where multi-valued headers were not being utilized correctly + in the StreamAdapter + +## 4.1.2 - 2014-06-18 + +* Added support for sending payloads with GET requests + +## 4.1.1 - 2014-06-08 + +* Fixed an issue related to using custom message factory options in subclasses +* Fixed an issue with nested form fields in a multi-part POST +* Fixed an issue with using the `json` request option for POST requests +* Added `ToArrayInterface` to `GuzzleHttp\Cookie\CookieJar` + +## 4.1.0 - 2014-05-27 + +* Added a `json` request option to easily serialize JSON payloads. +* Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON. +* Added `setPort()` and `getPort()` to `GuzzleHttp\Message\RequestInterface`. +* Added the ability to provide an emitter to a client in the client constructor. +* Added the ability to persist a cookie session using $_SESSION. +* Added a trait that can be used to add event listeners to an iterator. +* Removed request method constants from RequestInterface. +* Fixed warning when invalid request start-lines are received. +* Updated MessageFactory to work with custom request option methods. +* Updated cacert bundle to latest build. + +4.0.2 (2014-04-16) +------------------ + +* Proxy requests using the StreamAdapter now properly use request_fulluri (#632) +* Added the ability to set scalars as POST fields (#628) + +## 4.0.1 - 2014-04-04 + +* The HTTP status code of a response is now set as the exception code of + RequestException objects. +* 303 redirects will now correctly switch from POST to GET requests. +* The default parallel adapter of a client now correctly uses the MultiAdapter. +* HasDataTrait now initializes the internal data array as an empty array so + that the toArray() method always returns an array. + +## 4.0.0 - 2014-03-29 + +* For more information on the 4.0 transition, see: + http://mtdowling.com/blog/2014/03/15/guzzle-4-rc/ +* For information on changes and upgrading, see: + https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 +* Added `GuzzleHttp\batch()` as a convenience function for sending requests in + parallel without needing to write asynchronous code. +* Restructured how events are added to `GuzzleHttp\ClientInterface::sendAll()`. + You can now pass a callable or an array of associative arrays where each + associative array contains the "fn", "priority", and "once" keys. + +## 4.0.0.rc-2 - 2014-03-25 + +* Removed `getConfig()` and `setConfig()` from clients to avoid confusion + around whether things like base_url, message_factory, etc. should be able to + be retrieved or modified. +* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface +* functions.php functions were renamed using snake_case to match PHP idioms +* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and + `GUZZLE_CURL_SELECT_TIMEOUT` environment variables +* Added the ability to specify custom `sendAll()` event priorities +* Added the ability to specify custom stream context options to the stream + adapter. +* Added a functions.php function for `get_path()` and `set_path()` +* CurlAdapter and MultiAdapter now use a callable to generate curl resources +* MockAdapter now properly reads a body and emits a `headers` event +* Updated Url class to check if a scheme and host are set before adding ":" + and "//". This allows empty Url (e.g., "") to be serialized as "". +* Parsing invalid XML no longer emits warnings +* Curl classes now properly throw AdapterExceptions +* Various performance optimizations +* Streams are created with the faster `Stream\create()` function +* Marked deprecation_proxy() as internal +* Test server is now a collection of static methods on a class + +## 4.0.0-rc.1 - 2014-03-15 + +* See https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 + +## 3.8.1 - 2014-01-28 + +* Bug: Always using GET requests when redirecting from a 303 response +* Bug: CURLOPT_SSL_VERIFYHOST is now correctly set to false when setting `$certificateAuthority` to false in + `Guzzle\Http\ClientInterface::setSslVerification()` +* Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative URL +* Bug: The body of a request can now be set to `"0"` +* Sending PHP stream requests no longer forces `HTTP/1.0` +* Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of + each sub-exception +* Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a schema (rather than + clobbering everything). +* Merging URLs will now use the query string object from the relative URL (thus allowing custom query aggregators) +* Query strings are now parsed in a way that they do no convert empty keys with no value to have a dangling `=`. + For example `foo&bar=baz` is now correctly parsed and recognized as `foo&bar=baz` rather than `foo=&bar=baz`. +* Now properly escaping the regular expression delimiter when matching Cookie domains. +* Network access is now disabled when loading XML documents + +## 3.8.0 - 2013-12-05 + +* Added the ability to define a POST name for a file +* JSON response parsing now properly walks additionalProperties +* cURL error code 18 is now retried automatically in the BackoffPlugin +* Fixed a cURL error when URLs contain fragments +* Fixed an issue in the BackoffPlugin retry event where it was trying to access all exceptions as if they were + CurlExceptions +* CURLOPT_PROGRESS function fix for PHP 5.5 (69fcc1e) +* Added the ability for Guzzle to work with older versions of cURL that do not support `CURLOPT_TIMEOUT_MS` +* Fixed a bug that was encountered when parsing empty header parameters +* UriTemplate now has a `setRegex()` method to match the docs +* The `debug` request parameter now checks if it is truthy rather than if it exists +* Setting the `debug` request parameter to true shows verbose cURL output instead of using the LogPlugin +* Added the ability to combine URLs using strict RFC 3986 compliance +* Command objects can now return the validation errors encountered by the command +* Various fixes to cache revalidation (#437 and 29797e5) +* Various fixes to the AsyncPlugin +* Cleaned up build scripts + +## 3.7.4 - 2013-10-02 + +* Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430) +* Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp + (see https://github.com/aws/aws-sdk-php/issues/147) +* Bug fix: Cleaned up and fixed URL dot segment removal to properly resolve internal dots +* Minimum PHP version is now properly specified as 5.3.3 (up from 5.3.2) (#420) +* Updated the bundled cacert.pem (#419) +* OauthPlugin now supports adding authentication to headers or query string (#425) + +## 3.7.3 - 2013-09-08 + +* Added the ability to get the exception associated with a request/command when using `MultiTransferException` and + `CommandTransferException`. +* Setting `additionalParameters` of a response to false is now honored when parsing responses with a service description +* Schemas are only injected into response models when explicitly configured. +* No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed based on the path of + an EntityBody. +* Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator. +* Bug fix: FilterIterator now relies on `\Iterator` instead of `\Traversable`. +* Bug fix: Gracefully handling malformed responses in RequestMediator::writeResponseBody() +* Bug fix: Replaced call to canCache with canCacheRequest in the CallbackCanCacheStrategy of the CachePlugin +* Bug fix: Visiting XML attributes first before visiting XML children when serializing requests +* Bug fix: Properly parsing headers that contain commas contained in quotes +* Bug fix: mimetype guessing based on a filename is now case-insensitive + +## 3.7.2 - 2013-08-02 + +* Bug fix: Properly URL encoding paths when using the PHP-only version of the UriTemplate expander + See https://github.com/guzzle/guzzle/issues/371 +* Bug fix: Cookie domains are now matched correctly according to RFC 6265 + See https://github.com/guzzle/guzzle/issues/377 +* Bug fix: GET parameters are now used when calculating an OAuth signature +* Bug fix: Fixed an issue with cache revalidation where the If-None-Match header was being double quoted +* `Guzzle\Common\AbstractHasDispatcher::dispatch()` now returns the event that was dispatched +* `Guzzle\Http\QueryString::factory()` now guesses the most appropriate query aggregator to used based on the input. + See https://github.com/guzzle/guzzle/issues/379 +* Added a way to add custom domain objects to service description parsing using the `operation.parse_class` event. See + https://github.com/guzzle/guzzle/pull/380 +* cURL multi cleanup and optimizations + +## 3.7.1 - 2013-07-05 + +* Bug fix: Setting default options on a client now works +* Bug fix: Setting options on HEAD requests now works. See #352 +* Bug fix: Moving stream factory before send event to before building the stream. See #353 +* Bug fix: Cookies no longer match on IP addresses per RFC 6265 +* Bug fix: Correctly parsing header parameters that are in `<>` and quotes +* Added `cert` and `ssl_key` as request options +* `Host` header can now diverge from the host part of a URL if the header is set manually +* `Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor` was rewritten to change from using SimpleXML to XMLWriter +* OAuth parameters are only added via the plugin if they aren't already set +* Exceptions are now thrown when a URL cannot be parsed +* Returning `false` if `Guzzle\Http\EntityBody::getContentMd5()` fails +* Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin + +## 3.7.0 - 2013-06-10 + +* See UPGRADING.md for more information on how to upgrade. +* Requests now support the ability to specify an array of $options when creating a request to more easily modify a + request. You can pass a 'request.options' configuration setting to a client to apply default request options to + every request created by a client (e.g. default query string variables, headers, curl options, etc.). +* Added a static facade class that allows you to use Guzzle with static methods and mount the class to `\Guzzle`. + See `Guzzle\Http\StaticClient::mount`. +* Added `command.request_options` to `Guzzle\Service\Command\AbstractCommand` to pass request options to requests + created by a command (e.g. custom headers, query string variables, timeout settings, etc.). +* Stream size in `Guzzle\Stream\PhpStreamRequestFactory` will now be set if Content-Length is returned in the + headers of a response +* Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nested key + (e.g. `$collection->setPath('foo/baz/bar', 'test'); echo $collection['foo']['bar']['bar'];`) +* ServiceBuilders now support storing and retrieving arbitrary data +* CachePlugin can now purge all resources for a given URI +* CachePlugin can automatically purge matching cached items when a non-idempotent request is sent to a resource +* CachePlugin now uses the Vary header to determine if a resource is a cache hit +* `Guzzle\Http\Message\Response` now implements `\Serializable` +* Added `Guzzle\Cache\CacheAdapterFactory::fromCache()` to more easily create cache adapters +* `Guzzle\Service\ClientInterface::execute()` now accepts an array, single command, or Traversable +* Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()` +* Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and caching the size +* `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message +* Fixing BC break: Added back the MonologLogAdapter implementation rather than extending from PsrLog so that older + Symfony users can still use the old version of Monolog. +* Fixing BC break: Added the implementation back in for `Guzzle\Http\Message\AbstractMessage::getTokenizedHeader()`. + Now triggering an E_USER_DEPRECATED warning when used. Use `$message->getHeader()->parseParams()`. +* Several performance improvements to `Guzzle\Common\Collection` +* Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: + createRequest, head, delete, put, patch, post, options, prepareRequest +* Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` +* Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` +* Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to + `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a + resource, string, or EntityBody into the $options parameter to specify the download location of the response. +* Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a + default `array()` +* Added `Guzzle\Stream\StreamInterface::isRepeatable` +* Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use + $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or + $client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))`. +* Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use $client->getConfig()->getPath('request.options/headers')`. +* Removed `Guzzle\Http\ClientInterface::expandTemplate()` +* Removed `Guzzle\Http\ClientInterface::setRequestFactory()` +* Removed `Guzzle\Http\ClientInterface::getCurlMulti()` +* Removed `Guzzle\Http\Message\RequestInterface::canCache` +* Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect` +* Removed `Guzzle\Http\Message\RequestInterface::isRedirect` +* Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. +* You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by setting + `Guzzle\Common\Version::$emitWarnings` to true. +* Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use + `$request->getResponseBody()->isRepeatable()` instead. +* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use + `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use + `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +* Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. +* Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. +* Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated +* Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. + These will work through Guzzle 4.0 +* Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use [request.options][params]. +* Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. +* Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use $client->getConfig()->getPath('request.options/headers')`. +* Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. +* Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. +* Marked `Guzzle\Common\Collection::inject()` as deprecated. +* Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest');` +* CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a + CacheStorageInterface. These two objects and interface will be removed in a future version. +* Always setting X-cache headers on cached responses +* Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin +* `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface + $request, Response $response);` +* `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` +* `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` +* Added `CacheStorageInterface::purge($url)` +* `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin + $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, + CanCacheStrategyInterface $canCache = null)` +* Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` + +## 3.6.0 - 2013-05-29 + +* ServiceDescription now implements ToArrayInterface +* Added command.hidden_params to blacklist certain headers from being treated as additionalParameters +* Guzzle can now correctly parse incomplete URLs +* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. +* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution +* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). +* Specific header implementations can be created for complex headers. When a message creates a header, it uses a + HeaderFactory which can map specific headers to specific header classes. There is now a Link header and + CacheControl header implementation. +* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate +* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() +* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in + Guzzle\Http\Curl\RequestMediator +* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. +* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface +* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() +* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() +* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). +* All response header helper functions return a string rather than mixing Header objects and strings inconsistently +* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle + directly via interfaces +* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist + but are a no-op until removed. +* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a + `Guzzle\Service\Command\ArrayCommandInterface`. +* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response + on a request while the request is still being transferred +* The ability to case-insensitively search for header values +* Guzzle\Http\Message\Header::hasExactHeader +* Guzzle\Http\Message\Header::raw. Use getAll() +* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object + instead. +* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess +* Added the ability to cast Model objects to a string to view debug information. + +## 3.5.0 - 2013-05-13 + +* Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times +* Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove + itself from the EventDispatcher) +* Bug: `Guzzle\Log\MessageFormatter` now properly writes "total_time" and "connect_time" values +* Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too +* Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a + non-existent key +* Bug: All __call() method arguments are now required (helps with mocking frameworks) +* Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference + to help with refcount based garbage collection of resources created by sending a request +* Deprecating ZF1 cache and log adapters. These will be removed in the next major version. +* Deprecating `Response::getPreviousResponse()` (method signature still exists, but it's deprecated). Use the + HistoryPlugin for a history. +* Added a `responseBody` alias for the `response_body` location +* Refactored internals to no longer rely on Response::getRequest() +* HistoryPlugin can now be cast to a string +* HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests + and responses that are sent over the wire +* Added `getEffectiveUrl()` and `getRedirectCount()` to Response objects + +## 3.4.3 - 2013-04-30 + +* Bug fix: Fixing bug introduced in 3.4.2 where redirect responses are duplicated on the final redirected response +* Added a check to re-extract the temp cacert bundle from the phar before sending each request + +## 3.4.2 - 2013-04-29 + +* Bug fix: Stream objects now work correctly with "a" and "a+" modes +* Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present +* Bug fix: AsyncPlugin no longer forces HEAD requests +* Bug fix: DateTime timezones are now properly handled when using the service description schema formatter +* Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin server fails +* Setting a response on a request will write to the custom request body from the response body if one is specified +* LogPlugin now writes to php://output when STDERR is undefined +* Added the ability to set multiple POST files for the same key in a single call +* application/x-www-form-urlencoded POSTs now use the utf-8 charset by default +* Added the ability to queue CurlExceptions to the MockPlugin +* Cleaned up how manual responses are queued on requests (removed "queued_response" and now using request.before_send) +* Configuration loading now allows remote files + +## 3.4.1 - 2013-04-16 + +* Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a pool of CurlMulti + handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small performance boost. +* Exceptions are now properly grouped when sending requests in parallel +* Redirects are now properly aggregated when a multi transaction fails +* Redirects now set the response on the original object even in the event of a failure +* Bug fix: Model names are now properly set even when using $refs +* Added support for PHP 5.5's CurlFile to prevent warnings with the deprecated @ syntax +* Added support for oauth_callback in OAuth signatures +* Added support for oauth_verifier in OAuth signatures +* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection + +## 3.4.0 - 2013-04-11 + +* Bug fix: URLs are now resolved correctly based on http://tools.ietf.org/html/rfc3986#section-5.2. #289 +* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289 +* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263 +* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264. +* Bug fix: Added `number` type to service descriptions. +* Bug fix: empty parameters are removed from an OAuth signature +* Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header +* Bug fix: Fixed "array to string" error when validating a union of types in a service description +* Bug fix: Removed code that attempted to determine the size of a stream when data is written to the stream +* Bug fix: Not including an `oauth_token` if the value is null in the OauthPlugin. +* Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a redirect occurs. +* The new default CURLOPT_TIMEOUT setting has been increased to 150 seconds so that Guzzle works on poor connections. +* Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type of the request if + the Content-Type can be determined based on the entity body or the path of the request. +* Added the ability to overwrite configuration settings in a client when grabbing a throwaway client from a builder. +* Added support for a PSR-3 LogAdapter. +* Added a `command.after_prepare` event +* Added `oauth_callback` parameter to the OauthPlugin +* Added the ability to create a custom stream class when using a stream factory +* Added a CachingEntityBody decorator +* Added support for `additionalParameters` in service descriptions to define how custom parameters are serialized. +* The bundled SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar. +* You can now send any EntityEnclosingRequest with POST fields or POST files and cURL will handle creating bodies +* POST requests using a custom entity body are now treated exactly like PUT requests but with a custom cURL method. This + means that the redirect behavior of POST requests with custom bodies will not be the same as POST requests that use + POST fields or files (the latter is only used when emulating a form POST in the browser). +* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest + +## 3.3.1 - 2013-03-10 + +* Added the ability to create PHP streaming responses from HTTP requests +* Bug fix: Running any filters when parsing response headers with service descriptions +* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing +* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across + response location visitors. +* Bug fix: Removed the possibility of creating configuration files with circular dependencies +* RequestFactory::create() now uses the key of a POST file when setting the POST file name +* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set + +## 3.3.0 - 2013-03-03 + +* A large number of performance optimizations have been made +* Bug fix: Added 'wb' as a valid write mode for streams +* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned +* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()` +* BC: Removed `Guzzle\Http\Utils` class +* BC: Setting a service description on a client will no longer modify the client's command factories. +* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using + the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' +* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to + lowercase +* Operation parameter objects are now lazy loaded internally +* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses +* Added support for instantiating responseType=class responseClass classes. Classes must implement + `Guzzle\Service\Command\ResponseClassInterface` +* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These + additional properties also support locations and can be used to parse JSON responses where the outermost part of the + JSON is an array +* Added support for nested renaming of JSON models (rename sentAs to name) +* CachePlugin + * Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error + * Debug headers can now added to cached response in the CachePlugin + +## 3.2.0 - 2013-02-14 + +* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients. +* URLs with no path no longer contain a "/" by default +* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url. +* BadResponseException no longer includes the full request and response message +* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface +* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface +* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription +* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list +* xmlEncoding can now be customized for the XML declaration of a XML service description operation +* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value + aggregation and no longer uses callbacks +* The URL encoding implementation of Guzzle\Http\QueryString can now be customized +* Bug fix: Filters were not always invoked for array service description parameters +* Bug fix: Redirects now use a target response body rather than a temporary response body +* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded +* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives + +## 3.1.2 - 2013-01-27 + +* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the + response body. For example, the XmlVisitor now parses the XML response into an array in the before() method. +* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent +* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444) +* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse() +* Setting default headers on a client after setting the user-agent will not erase the user-agent setting + +## 3.1.1 - 2013-01-20 + +* Adding wildcard support to Guzzle\Common\Collection::getPath() +* Adding alias support to ServiceBuilder configs +* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface + +## 3.1.0 - 2013-01-12 + +* BC: CurlException now extends from RequestException rather than BadResponseException +* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse() +* Added getData to ServiceDescriptionInterface +* Added context array to RequestInterface::setState() +* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http +* Bug: Adding required content-type when JSON request visitor adds JSON to a command +* Bug: Fixing the serialization of a service description with custom data +* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing + an array of successful and failed responses +* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection +* Added Guzzle\Http\IoEmittingEntityBody +* Moved command filtration from validators to location visitors +* Added `extends` attributes to service description parameters +* Added getModels to ServiceDescriptionInterface + +## 3.0.7 - 2012-12-19 + +* Fixing phar detection when forcing a cacert to system if null or true +* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()` +* Cleaning up `Guzzle\Common\Collection::inject` method +* Adding a response_body location to service descriptions + +## 3.0.6 - 2012-12-09 + +* CurlMulti performance improvements +* Adding setErrorResponses() to Operation +* composer.json tweaks + +## 3.0.5 - 2012-11-18 + +* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin +* Bug: Response body can now be a string containing "0" +* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert +* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs +* Added support for XML attributes in service description responses +* DefaultRequestSerializer now supports array URI parameter values for URI template expansion +* Added better mimetype guessing to requests and post files + +## 3.0.4 - 2012-11-11 + +* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value +* Bug: Cookies can now be added that have a name, domain, or value set to "0" +* Bug: Using the system cacert bundle when using the Phar +* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures +* Enhanced cookie jar de-duplication +* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added +* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies +* Added the ability to create any sort of hash for a stream rather than just an MD5 hash + +## 3.0.3 - 2012-11-04 + +* Implementing redirects in PHP rather than cURL +* Added PECL URI template extension and using as default parser if available +* Bug: Fixed Content-Length parsing of Response factory +* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams. +* Adding ToArrayInterface throughout library +* Fixing OauthPlugin to create unique nonce values per request + +## 3.0.2 - 2012-10-25 + +* Magic methods are enabled by default on clients +* Magic methods return the result of a command +* Service clients no longer require a base_url option in the factory +* Bug: Fixed an issue with URI templates where null template variables were being expanded + +## 3.0.1 - 2012-10-22 + +* Models can now be used like regular collection objects by calling filter, map, etc. +* Models no longer require a Parameter structure or initial data in the constructor +* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator` + +## 3.0.0 - 2012-10-15 + +* Rewrote service description format to be based on Swagger + * Now based on JSON schema + * Added nested input structures and nested response models + * Support for JSON and XML input and output models + * Renamed `commands` to `operations` + * Removed dot class notation + * Removed custom types +* Broke the project into smaller top-level namespaces to be more component friendly +* Removed support for XML configs and descriptions. Use arrays or JSON files. +* Removed the Validation component and Inspector +* Moved all cookie code to Guzzle\Plugin\Cookie +* Magic methods on a Guzzle\Service\Client now return the command un-executed. +* Calling getResult() or getResponse() on a command will lazily execute the command if needed. +* Now shipping with cURL's CA certs and using it by default +* Added previousResponse() method to response objects +* No longer sending Accept and Accept-Encoding headers on every request +* Only sending an Expect header by default when a payload is greater than 1MB +* Added/moved client options: + * curl.blacklist to curl.option.blacklist + * Added ssl.certificate_authority +* Added a Guzzle\Iterator component +* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin +* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin) +* Added a more robust caching plugin +* Added setBody to response objects +* Updating LogPlugin to use a more flexible MessageFormatter +* Added a completely revamped build process +* Cleaning up Collection class and removing default values from the get method +* Fixed ZF2 cache adapters + +## 2.8.8 - 2012-10-15 + +* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did + +## 2.8.7 - 2012-09-30 + +* Bug: Fixed config file aliases for JSON includes +* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests +* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload +* Bug: Hardening request and response parsing to account for missing parts +* Bug: Fixed PEAR packaging +* Bug: Fixed Request::getInfo +* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail +* Adding the ability for the namespace Iterator factory to look in multiple directories +* Added more getters/setters/removers from service descriptions +* Added the ability to remove POST fields from OAuth signatures +* OAuth plugin now supports 2-legged OAuth + +## 2.8.6 - 2012-09-05 + +* Added the ability to modify and build service descriptions +* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command +* Added a `json` parameter location +* Now allowing dot notation for classes in the CacheAdapterFactory +* Using the union of two arrays rather than an array_merge when extending service builder services and service params +* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references + in service builder config files. +* Services defined in two different config files that include one another will by default replace the previously + defined service, but you can now create services that extend themselves and merge their settings over the previous +* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like + '_default' with a default JSON configuration file. + +## 2.8.5 - 2012-08-29 + +* Bug: Suppressed empty arrays from URI templates +* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching +* Added support for HTTP responses that do not contain a reason phrase in the start-line +* AbstractCommand commands are now invokable +* Added a way to get the data used when signing an Oauth request before a request is sent + +## 2.8.4 - 2012-08-15 + +* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin +* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable. +* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream +* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream +* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5()) +* Added additional response status codes +* Removed SSL information from the default User-Agent header +* DELETE requests can now send an entity body +* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries +* Added the ability of the MockPlugin to consume mocked request bodies +* LogPlugin now exposes request and response objects in the extras array + +## 2.8.3 - 2012-07-30 + +* Bug: Fixed a case where empty POST requests were sent as GET requests +* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body +* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new +* Added multiple inheritance to service description commands +* Added an ApiCommandInterface and added `getParamNames()` and `hasParam()` +* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything +* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles + +## 2.8.2 - 2012-07-24 + +* Bug: Query string values set to 0 are no longer dropped from the query string +* Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command\AbstractCommand::getRequestHeaders()` +* Bug: `+` is now treated as an encoded space when parsing query strings +* QueryString and Collection performance improvements +* Allowing dot notation for class paths in filters attribute of a service descriptions + +## 2.8.1 - 2012-07-16 + +* Loosening Event Dispatcher dependency +* POST redirects can now be customized using CURLOPT_POSTREDIR + +## 2.8.0 - 2012-07-15 + +* BC: Guzzle\Http\Query + * Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl) + * Changed isEncodingValues() and isEncodingFields() to isUrlEncoding() + * Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool) + * Changed the aggregation functions of QueryString to be static methods + * Can now use fromString() with querystrings that have a leading ? +* cURL configuration values can be specified in service descriptions using `curl.` prefixed parameters +* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body +* Cookies are no longer URL decoded by default +* Bug: URI template variables set to null are no longer expanded + +## 2.7.2 - 2012-07-02 + +* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser. +* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty() +* CachePlugin now allows for a custom request parameter function to check if a request can be cached +* Bug fix: CachePlugin now only caches GET and HEAD requests by default +* Bug fix: Using header glue when transferring headers over the wire +* Allowing deeply nested arrays for composite variables in URI templates +* Batch divisors can now return iterators or arrays + +## 2.7.1 - 2012-06-26 + +* Minor patch to update version number in UA string +* Updating build process + +## 2.7.0 - 2012-06-25 + +* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes. +* BC: Removed magic setX methods from commands +* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method +* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable. +* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity) +* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace +* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin +* Added the ability to set POST fields and files in a service description +* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method +* Adding a command.before_prepare event to clients +* Added BatchClosureTransfer and BatchClosureDivisor +* BatchTransferException now includes references to the batch divisor and transfer strategies +* Fixed some tests so that they pass more reliably +* Added Guzzle\Common\Log\ArrayLogAdapter + +## 2.6.6 - 2012-06-10 + +* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin +* BC: Removing Guzzle\Service\Command\CommandSet +* Adding generic batching system (replaces the batch queue plugin and command set) +* Updating ZF cache and log adapters and now using ZF's composer repository +* Bug: Setting the name of each ApiParam when creating through an ApiCommand +* Adding result_type, result_doc, deprecated, and doc_url to service descriptions +* Bug: Changed the default cookie header casing back to 'Cookie' + +## 2.6.5 - 2012-06-03 + +* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource() +* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from +* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data +* BC: Renaming methods in the CookieJarInterface +* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations +* Making the default glue for HTTP headers ';' instead of ',' +* Adding a removeValue to Guzzle\Http\Message\Header +* Adding getCookies() to request interface. +* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber() + +## 2.6.4 - 2012-05-30 + +* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class. +* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand +* Bug: Fixing magic method command calls on clients +* Bug: Email constraint only validates strings +* Bug: Aggregate POST fields when POST files are present in curl handle +* Bug: Fixing default User-Agent header +* Bug: Only appending or prepending parameters in commands if they are specified +* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes +* Allowing the use of dot notation for class namespaces when using instance_of constraint +* Added any_match validation constraint +* Added an AsyncPlugin +* Passing request object to the calculateWait method of the ExponentialBackoffPlugin +* Allowing the result of a command object to be changed +* Parsing location and type sub values when instantiating a service description rather than over and over at runtime + +## 2.6.3 - 2012-05-23 + +* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options. +* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields. +* You can now use an array of data when creating PUT request bodies in the request factory. +* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable. +* [Http] Adding support for Content-Type in multipart POST uploads per upload +* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1]) +* Adding more POST data operations for easier manipulation of POST data. +* You can now set empty POST fields. +* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files. +* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate. +* CS updates + +## 2.6.2 - 2012-05-19 + +* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method. + +## 2.6.1 - 2012-05-19 + +* [BC] Removing 'path' support in service descriptions. Use 'uri'. +* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache. +* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it. +* [BC] Removing Guzzle\Common\XmlElement. +* All commands, both dynamic and concrete, have ApiCommand objects. +* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits. +* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored. +* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible. + +## 2.6.0 - 2012-05-15 + +* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder +* [BC] Executing a Command returns the result of the command rather than the command +* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed. +* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args. +* [BC] Moving ResourceIterator* to Guzzle\Service\Resource +* [BC] Completely refactored ResourceIterators to iterate over a cloned command object +* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate +* [BC] Guzzle\Guzzle is now deprecated +* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject +* Adding Guzzle\Version class to give version information about Guzzle +* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate() +* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data +* ServiceDescription and ServiceBuilder are now cacheable using similar configs +* Changing the format of XML and JSON service builder configs. Backwards compatible. +* Cleaned up Cookie parsing +* Trimming the default Guzzle User-Agent header +* Adding a setOnComplete() method to Commands that is called when a command completes +* Keeping track of requests that were mocked in the MockPlugin +* Fixed a caching bug in the CacheAdapterFactory +* Inspector objects can be injected into a Command object +* Refactoring a lot of code and tests to be case insensitive when dealing with headers +* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL +* Adding the ability to set global option overrides to service builder configs +* Adding the ability to include other service builder config files from within XML and JSON files +* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method. + +## 2.5.0 - 2012-05-08 + +* Major performance improvements +* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated. +* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component. +* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}" +* Added the ability to passed parameters to all requests created by a client +* Added callback functionality to the ExponentialBackoffPlugin +* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies. +* Rewinding request stream bodies when retrying requests +* Exception is thrown when JSON response body cannot be decoded +* Added configurable magic method calls to clients and commands. This is off by default. +* Fixed a defect that added a hash to every parsed URL part +* Fixed duplicate none generation for OauthPlugin. +* Emitting an event each time a client is generated by a ServiceBuilder +* Using an ApiParams object instead of a Collection for parameters of an ApiCommand +* cache.* request parameters should be renamed to params.cache.* +* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc.). See CurlHandle. +* Added the ability to disable type validation of service descriptions +* ServiceDescriptions and ServiceBuilders are now Serializable diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE new file mode 100644 index 00000000..ea7f07c5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/README.md b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/README.md new file mode 100644 index 00000000..2f614d6f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/README.md @@ -0,0 +1,89 @@ +Guzzle, PHP HTTP client +======================= + +[![Build Status](https://travis-ci.org/guzzle/guzzle.svg?branch=master)](https://travis-ci.org/guzzle/guzzle) + +Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and +trivial to integrate with web services. + +- Simple interface for building query strings, POST requests, streaming large + uploads, streaming large downloads, using HTTP cookies, uploading JSON data, + etc... +- Can send both synchronous and asynchronous requests using the same interface. +- Uses PSR-7 interfaces for requests, responses, and streams. This allows you + to utilize other PSR-7 compatible libraries with Guzzle. +- Abstracts away the underlying HTTP transport, allowing you to write + environment and transport agnostic code; i.e., no hard dependency on cURL, + PHP streams, sockets, or non-blocking event loops. +- Middleware system allows you to augment and compose client behavior. + +```php +$client = new \GuzzleHttp\Client(); +$res = $client->request('GET', 'https://api.github.com/repos/guzzle/guzzle'); +echo $res->getStatusCode(); +// 200 +echo $res->getHeaderLine('content-type'); +// 'application/json; charset=utf8' +echo $res->getBody(); +// '{"id": 1420053, "name": "guzzle", ...}' + +// Send an asynchronous request. +$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); +$promise = $client->sendAsync($request)->then(function ($response) { + echo 'I completed! ' . $response->getBody(); +}); +$promise->wait(); +``` + +## Help and docs + +- [Documentation](http://guzzlephp.org/) +- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle) +- [Gitter](https://gitter.im/guzzle/guzzle) + + +## Installing Guzzle + +The recommended way to install Guzzle is through +[Composer](http://getcomposer.org). + +```bash +# Install Composer +curl -sS https://getcomposer.org/installer | php +``` + +Next, run the Composer command to install the latest stable version of Guzzle: + +```bash +php composer.phar require guzzlehttp/guzzle +``` + +After installing, you need to require Composer's autoloader: + +```php +require 'vendor/autoload.php'; +``` + +You can then later update Guzzle using composer: + + ```bash +composer.phar update + ``` + + +## Version Guidance + +| Version | Status | Packagist | Namespace | Repo | Docs | PSR-7 | PHP Version | +|---------|------------|---------------------|--------------|---------------------|---------------------|-------|-------------| +| 3.x | EOL | `guzzle/guzzle` | `Guzzle` | [v3][guzzle-3-repo] | [v3][guzzle-3-docs] | No | >= 5.3.3 | +| 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >= 5.4 | +| 5.x | Maintained | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >= 5.4 | +| 6.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >= 5.5 | + +[guzzle-3-repo]: https://github.com/guzzle/guzzle3 +[guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x +[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3 +[guzzle-6-repo]: https://github.com/guzzle/guzzle +[guzzle-3-docs]: http://guzzle3.readthedocs.org/en/latest/ +[guzzle-5-docs]: http://guzzle.readthedocs.org/en/5.3/ +[guzzle-6-docs]: http://guzzle.readthedocs.org/en/latest/ diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md new file mode 100644 index 00000000..91d1dcc9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/UPGRADING.md @@ -0,0 +1,1203 @@ +Guzzle Upgrade Guide +==================== + +5.0 to 6.0 +---------- + +Guzzle now uses [PSR-7](http://www.php-fig.org/psr/psr-7/) for HTTP messages. +Due to the fact that these messages are immutable, this prompted a refactoring +of Guzzle to use a middleware based system rather than an event system. Any +HTTP message interaction (e.g., `GuzzleHttp\Message\Request`) need to be +updated to work with the new immutable PSR-7 request and response objects. Any +event listeners or subscribers need to be updated to become middleware +functions that wrap handlers (or are injected into a +`GuzzleHttp\HandlerStack`). + +- Removed `GuzzleHttp\BatchResults` +- Removed `GuzzleHttp\Collection` +- Removed `GuzzleHttp\HasDataTrait` +- Removed `GuzzleHttp\ToArrayInterface` +- The `guzzlehttp/streams` dependency has been removed. Stream functionality + is now present in the `GuzzleHttp\Psr7` namespace provided by the + `guzzlehttp/psr7` package. +- Guzzle no longer uses ReactPHP promises and now uses the + `guzzlehttp/promises` library. We use a custom promise library for three + significant reasons: + 1. React promises (at the time of writing this) are recursive. Promise + chaining and promise resolution will eventually blow the stack. Guzzle + promises are not recursive as they use a sort of trampolining technique. + Note: there has been movement in the React project to modify promises to + no longer utilize recursion. + 2. Guzzle needs to have the ability to synchronously block on a promise to + wait for a result. Guzzle promises allows this functionality (and does + not require the use of recursion). + 3. Because we need to be able to wait on a result, doing so using React + promises requires wrapping react promises with RingPHP futures. This + overhead is no longer needed, reducing stack sizes, reducing complexity, + and improving performance. +- `GuzzleHttp\Mimetypes` has been moved to a function in + `GuzzleHttp\Psr7\mimetype_from_extension` and + `GuzzleHttp\Psr7\mimetype_from_filename`. +- `GuzzleHttp\Query` and `GuzzleHttp\QueryParser` have been removed. Query + strings must now be passed into request objects as strings, or provided to + the `query` request option when creating requests with clients. The `query` + option uses PHP's `http_build_query` to convert an array to a string. If you + need a different serialization technique, you will need to pass the query + string in as a string. There are a couple helper functions that will make + working with query strings easier: `GuzzleHttp\Psr7\parse_query` and + `GuzzleHttp\Psr7\build_query`. +- Guzzle no longer has a dependency on RingPHP. Due to the use of a middleware + system based on PSR-7, using RingPHP and it's middleware system as well adds + more complexity than the benefits it provides. All HTTP handlers that were + present in RingPHP have been modified to work directly with PSR-7 messages + and placed in the `GuzzleHttp\Handler` namespace. This significantly reduces + complexity in Guzzle, removes a dependency, and improves performance. RingPHP + will be maintained for Guzzle 5 support, but will no longer be a part of + Guzzle 6. +- As Guzzle now uses a middleware based systems the event system and RingPHP + integration has been removed. Note: while the event system has been removed, + it is possible to add your own type of event system that is powered by the + middleware system. + - Removed the `Event` namespace. + - Removed the `Subscriber` namespace. + - Removed `Transaction` class + - Removed `RequestFsm` + - Removed `RingBridge` + - `GuzzleHttp\Subscriber\Cookie` is now provided by + `GuzzleHttp\Middleware::cookies` + - `GuzzleHttp\Subscriber\HttpError` is now provided by + `GuzzleHttp\Middleware::httpError` + - `GuzzleHttp\Subscriber\History` is now provided by + `GuzzleHttp\Middleware::history` + - `GuzzleHttp\Subscriber\Mock` is now provided by + `GuzzleHttp\Handler\MockHandler` + - `GuzzleHttp\Subscriber\Prepare` is now provided by + `GuzzleHttp\PrepareBodyMiddleware` + - `GuzzleHttp\Subscriber\Redirect` is now provided by + `GuzzleHttp\RedirectMiddleware` +- Guzzle now uses `Psr\Http\Message\UriInterface` (implements in + `GuzzleHttp\Psr7\Uri`) for URI support. `GuzzleHttp\Url` is now gone. +- Static functions in `GuzzleHttp\Utils` have been moved to namespaced + functions under the `GuzzleHttp` namespace. This requires either a Composer + based autoloader or you to include functions.php. +- `GuzzleHttp\ClientInterface::getDefaultOption` has been renamed to + `GuzzleHttp\ClientInterface::getConfig`. +- `GuzzleHttp\ClientInterface::setDefaultOption` has been removed. +- The `json` and `xml` methods of response objects has been removed. With the + migration to strictly adhering to PSR-7 as the interface for Guzzle messages, + adding methods to message interfaces would actually require Guzzle messages + to extend from PSR-7 messages rather then work with them directly. + +## Migrating to middleware + +The change to PSR-7 unfortunately required significant refactoring to Guzzle +due to the fact that PSR-7 messages are immutable. Guzzle 5 relied on an event +system from plugins. The event system relied on mutability of HTTP messages and +side effects in order to work. With immutable messages, you have to change your +workflow to become more about either returning a value (e.g., functional +middlewares) or setting a value on an object. Guzzle v6 has chosen the +functional middleware approach. + +Instead of using the event system to listen for things like the `before` event, +you now create a stack based middleware function that intercepts a request on +the way in and the promise of the response on the way out. This is a much +simpler and more predictable approach than the event system and works nicely +with PSR-7 middleware. Due to the use of promises, the middleware system is +also asynchronous. + +v5: + +```php +use GuzzleHttp\Event\BeforeEvent; +$client = new GuzzleHttp\Client(); +// Get the emitter and listen to the before event. +$client->getEmitter()->on('before', function (BeforeEvent $e) { + // Guzzle v5 events relied on mutation + $e->getRequest()->setHeader('X-Foo', 'Bar'); +}); +``` + +v6: + +In v6, you can modify the request before it is sent using the `mapRequest` +middleware. The idiomatic way in v6 to modify the request/response lifecycle is +to setup a handler middleware stack up front and inject the handler into a +client. + +```php +use GuzzleHttp\Middleware; +// Create a handler stack that has all of the default middlewares attached +$handler = GuzzleHttp\HandlerStack::create(); +// Push the handler onto the handler stack +$handler->push(Middleware::mapRequest(function (RequestInterface $request) { + // Notice that we have to return a request object + return $request->withHeader('X-Foo', 'Bar'); +})); +// Inject the handler into the client +$client = new GuzzleHttp\Client(['handler' => $handler]); +``` + +## POST Requests + +This version added the [`form_params`](http://guzzle.readthedocs.org/en/latest/request-options.html#form_params) +and `multipart` request options. `form_params` is an associative array of +strings or array of strings and is used to serialize an +`application/x-www-form-urlencoded` POST request. The +[`multipart`](http://guzzle.readthedocs.org/en/latest/request-options.html#multipart) +option is now used to send a multipart/form-data POST request. + +`GuzzleHttp\Post\PostFile` has been removed. Use the `multipart` option to add +POST files to a multipart/form-data request. + +The `body` option no longer accepts an array to send POST requests. Please use +`multipart` or `form_params` instead. + +The `base_url` option has been renamed to `base_uri`. + +4.x to 5.0 +---------- + +## Rewritten Adapter Layer + +Guzzle now uses [RingPHP](http://ringphp.readthedocs.org/en/latest) to send +HTTP requests. The `adapter` option in a `GuzzleHttp\Client` constructor +is still supported, but it has now been renamed to `handler`. Instead of +passing a `GuzzleHttp\Adapter\AdapterInterface`, you must now pass a PHP +`callable` that follows the RingPHP specification. + +## Removed Fluent Interfaces + +[Fluent interfaces were removed](http://ocramius.github.io/blog/fluent-interfaces-are-evil) +from the following classes: + +- `GuzzleHttp\Collection` +- `GuzzleHttp\Url` +- `GuzzleHttp\Query` +- `GuzzleHttp\Post\PostBody` +- `GuzzleHttp\Cookie\SetCookie` + +## Removed functions.php + +Removed "functions.php", so that Guzzle is truly PSR-4 compliant. The following +functions can be used as replacements. + +- `GuzzleHttp\json_decode` -> `GuzzleHttp\Utils::jsonDecode` +- `GuzzleHttp\get_path` -> `GuzzleHttp\Utils::getPath` +- `GuzzleHttp\Utils::setPath` -> `GuzzleHttp\set_path` +- `GuzzleHttp\Pool::batch` -> `GuzzleHttp\batch`. This function is, however, + deprecated in favor of using `GuzzleHttp\Pool::batch()`. + +The "procedural" global client has been removed with no replacement (e.g., +`GuzzleHttp\get()`, `GuzzleHttp\post()`, etc.). Use a `GuzzleHttp\Client` +object as a replacement. + +## `throwImmediately` has been removed + +The concept of "throwImmediately" has been removed from exceptions and error +events. This control mechanism was used to stop a transfer of concurrent +requests from completing. This can now be handled by throwing the exception or +by cancelling a pool of requests or each outstanding future request +individually. + +## headers event has been removed + +Removed the "headers" event. This event was only useful for changing the +body a response once the headers of the response were known. You can implement +a similar behavior in a number of ways. One example might be to use a +FnStream that has access to the transaction being sent. For example, when the +first byte is written, you could check if the response headers match your +expectations, and if so, change the actual stream body that is being +written to. + +## Updates to HTTP Messages + +Removed the `asArray` parameter from +`GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header +value as an array, then use the newly added `getHeaderAsArray()` method of +`MessageInterface`. This change makes the Guzzle interfaces compatible with +the PSR-7 interfaces. + +3.x to 4.0 +---------- + +## Overarching changes: + +- Now requires PHP 5.4 or greater. +- No longer requires cURL to send requests. +- Guzzle no longer wraps every exception it throws. Only exceptions that are + recoverable are now wrapped by Guzzle. +- Various namespaces have been removed or renamed. +- No longer requiring the Symfony EventDispatcher. A custom event dispatcher + based on the Symfony EventDispatcher is + now utilized in `GuzzleHttp\Event\EmitterInterface` (resulting in significant + speed and functionality improvements). + +Changes per Guzzle 3.x namespace are described below. + +## Batch + +The `Guzzle\Batch` namespace has been removed. This is best left to +third-parties to implement on top of Guzzle's core HTTP library. + +## Cache + +The `Guzzle\Cache` namespace has been removed. (Todo: No suitable replacement +has been implemented yet, but hoping to utilize a PSR cache interface). + +## Common + +- Removed all of the wrapped exceptions. It's better to use the standard PHP + library for unrecoverable exceptions. +- `FromConfigInterface` has been removed. +- `Guzzle\Common\Version` has been removed. The VERSION constant can be found + at `GuzzleHttp\ClientInterface::VERSION`. + +### Collection + +- `getAll` has been removed. Use `toArray` to convert a collection to an array. +- `inject` has been removed. +- `keySearch` has been removed. +- `getPath` no longer supports wildcard expressions. Use something better like + JMESPath for this. +- `setPath` now supports appending to an existing array via the `[]` notation. + +### Events + +Guzzle no longer requires Symfony's EventDispatcher component. Guzzle now uses +`GuzzleHttp\Event\Emitter`. + +- `Symfony\Component\EventDispatcher\EventDispatcherInterface` is replaced by + `GuzzleHttp\Event\EmitterInterface`. +- `Symfony\Component\EventDispatcher\EventDispatcher` is replaced by + `GuzzleHttp\Event\Emitter`. +- `Symfony\Component\EventDispatcher\Event` is replaced by + `GuzzleHttp\Event\Event`, and Guzzle now has an EventInterface in + `GuzzleHttp\Event\EventInterface`. +- `AbstractHasDispatcher` has moved to a trait, `HasEmitterTrait`, and + `HasDispatcherInterface` has moved to `HasEmitterInterface`. Retrieving the + event emitter of a request, client, etc. now uses the `getEmitter` method + rather than the `getDispatcher` method. + +#### Emitter + +- Use the `once()` method to add a listener that automatically removes itself + the first time it is invoked. +- Use the `listeners()` method to retrieve a list of event listeners rather than + the `getListeners()` method. +- Use `emit()` instead of `dispatch()` to emit an event from an emitter. +- Use `attach()` instead of `addSubscriber()` and `detach()` instead of + `removeSubscriber()`. + +```php +$mock = new Mock(); +// 3.x +$request->getEventDispatcher()->addSubscriber($mock); +$request->getEventDispatcher()->removeSubscriber($mock); +// 4.x +$request->getEmitter()->attach($mock); +$request->getEmitter()->detach($mock); +``` + +Use the `on()` method to add a listener rather than the `addListener()` method. + +```php +// 3.x +$request->getEventDispatcher()->addListener('foo', function (Event $event) { /* ... */ } ); +// 4.x +$request->getEmitter()->on('foo', function (Event $event, $name) { /* ... */ } ); +``` + +## Http + +### General changes + +- The cacert.pem certificate has been moved to `src/cacert.pem`. +- Added the concept of adapters that are used to transfer requests over the + wire. +- Simplified the event system. +- Sending requests in parallel is still possible, but batching is no longer a + concept of the HTTP layer. Instead, you must use the `complete` and `error` + events to asynchronously manage parallel request transfers. +- `Guzzle\Http\Url` has moved to `GuzzleHttp\Url`. +- `Guzzle\Http\QueryString` has moved to `GuzzleHttp\Query`. +- QueryAggregators have been rewritten so that they are simply callable + functions. +- `GuzzleHttp\StaticClient` has been removed. Use the functions provided in + `functions.php` for an easy to use static client instance. +- Exceptions in `GuzzleHttp\Exception` have been updated to all extend from + `GuzzleHttp\Exception\TransferException`. + +### Client + +Calling methods like `get()`, `post()`, `head()`, etc. no longer create and +return a request, but rather creates a request, sends the request, and returns +the response. + +```php +// 3.0 +$request = $client->get('/'); +$response = $request->send(); + +// 4.0 +$response = $client->get('/'); + +// or, to mirror the previous behavior +$request = $client->createRequest('GET', '/'); +$response = $client->send($request); +``` + +`GuzzleHttp\ClientInterface` has changed. + +- The `send` method no longer accepts more than one request. Use `sendAll` to + send multiple requests in parallel. +- `setUserAgent()` has been removed. Use a default request option instead. You + could, for example, do something like: + `$client->setConfig('defaults/headers/User-Agent', 'Foo/Bar ' . $client::getDefaultUserAgent())`. +- `setSslVerification()` has been removed. Use default request options instead, + like `$client->setConfig('defaults/verify', true)`. + +`GuzzleHttp\Client` has changed. + +- The constructor now accepts only an associative array. You can include a + `base_url` string or array to use a URI template as the base URL of a client. + You can also specify a `defaults` key that is an associative array of default + request options. You can pass an `adapter` to use a custom adapter, + `batch_adapter` to use a custom adapter for sending requests in parallel, or + a `message_factory` to change the factory used to create HTTP requests and + responses. +- The client no longer emits a `client.create_request` event. +- Creating requests with a client no longer automatically utilize a URI + template. You must pass an array into a creational method (e.g., + `createRequest`, `get`, `put`, etc.) in order to expand a URI template. + +### Messages + +Messages no longer have references to their counterparts (i.e., a request no +longer has a reference to it's response, and a response no loger has a +reference to its request). This association is now managed through a +`GuzzleHttp\Adapter\TransactionInterface` object. You can get references to +these transaction objects using request events that are emitted over the +lifecycle of a request. + +#### Requests with a body + +- `GuzzleHttp\Message\EntityEnclosingRequest` and + `GuzzleHttp\Message\EntityEnclosingRequestInterface` have been removed. The + separation between requests that contain a body and requests that do not + contain a body has been removed, and now `GuzzleHttp\Message\RequestInterface` + handles both use cases. +- Any method that previously accepts a `GuzzleHttp\Response` object now accept a + `GuzzleHttp\Message\ResponseInterface`. +- `GuzzleHttp\Message\RequestFactoryInterface` has been renamed to + `GuzzleHttp\Message\MessageFactoryInterface`. This interface is used to create + both requests and responses and is implemented in + `GuzzleHttp\Message\MessageFactory`. +- POST field and file methods have been removed from the request object. You + must now use the methods made available to `GuzzleHttp\Post\PostBodyInterface` + to control the format of a POST body. Requests that are created using a + standard `GuzzleHttp\Message\MessageFactoryInterface` will automatically use + a `GuzzleHttp\Post\PostBody` body if the body was passed as an array or if + the method is POST and no body is provided. + +```php +$request = $client->createRequest('POST', '/'); +$request->getBody()->setField('foo', 'bar'); +$request->getBody()->addFile(new PostFile('file_key', fopen('/path/to/content', 'r'))); +``` + +#### Headers + +- `GuzzleHttp\Message\Header` has been removed. Header values are now simply + represented by an array of values or as a string. Header values are returned + as a string by default when retrieving a header value from a message. You can + pass an optional argument of `true` to retrieve a header value as an array + of strings instead of a single concatenated string. +- `GuzzleHttp\PostFile` and `GuzzleHttp\PostFileInterface` have been moved to + `GuzzleHttp\Post`. This interface has been simplified and now allows the + addition of arbitrary headers. +- Custom headers like `GuzzleHttp\Message\Header\Link` have been removed. Most + of the custom headers are now handled separately in specific + subscribers/plugins, and `GuzzleHttp\Message\HeaderValues::parseParams()` has + been updated to properly handle headers that contain parameters (like the + `Link` header). + +#### Responses + +- `GuzzleHttp\Message\Response::getInfo()` and + `GuzzleHttp\Message\Response::setInfo()` have been removed. Use the event + system to retrieve this type of information. +- `GuzzleHttp\Message\Response::getRawHeaders()` has been removed. +- `GuzzleHttp\Message\Response::getMessage()` has been removed. +- `GuzzleHttp\Message\Response::calculateAge()` and other cache specific + methods have moved to the CacheSubscriber. +- Header specific helper functions like `getContentMd5()` have been removed. + Just use `getHeader('Content-MD5')` instead. +- `GuzzleHttp\Message\Response::setRequest()` and + `GuzzleHttp\Message\Response::getRequest()` have been removed. Use the event + system to work with request and response objects as a transaction. +- `GuzzleHttp\Message\Response::getRedirectCount()` has been removed. Use the + Redirect subscriber instead. +- `GuzzleHttp\Message\Response::isSuccessful()` and other related methods have + been removed. Use `getStatusCode()` instead. + +#### Streaming responses + +Streaming requests can now be created by a client directly, returning a +`GuzzleHttp\Message\ResponseInterface` object that contains a body stream +referencing an open PHP HTTP stream. + +```php +// 3.0 +use Guzzle\Stream\PhpStreamRequestFactory; +$request = $client->get('/'); +$factory = new PhpStreamRequestFactory(); +$stream = $factory->fromRequest($request); +$data = $stream->read(1024); + +// 4.0 +$response = $client->get('/', ['stream' => true]); +// Read some data off of the stream in the response body +$data = $response->getBody()->read(1024); +``` + +#### Redirects + +The `configureRedirects()` method has been removed in favor of a +`allow_redirects` request option. + +```php +// Standard redirects with a default of a max of 5 redirects +$request = $client->createRequest('GET', '/', ['allow_redirects' => true]); + +// Strict redirects with a custom number of redirects +$request = $client->createRequest('GET', '/', [ + 'allow_redirects' => ['max' => 5, 'strict' => true] +]); +``` + +#### EntityBody + +EntityBody interfaces and classes have been removed or moved to +`GuzzleHttp\Stream`. All classes and interfaces that once required +`GuzzleHttp\EntityBodyInterface` now require +`GuzzleHttp\Stream\StreamInterface`. Creating a new body for a request no +longer uses `GuzzleHttp\EntityBody::factory` but now uses +`GuzzleHttp\Stream\Stream::factory` or even better: +`GuzzleHttp\Stream\create()`. + +- `Guzzle\Http\EntityBodyInterface` is now `GuzzleHttp\Stream\StreamInterface` +- `Guzzle\Http\EntityBody` is now `GuzzleHttp\Stream\Stream` +- `Guzzle\Http\CachingEntityBody` is now `GuzzleHttp\Stream\CachingStream` +- `Guzzle\Http\ReadLimitEntityBody` is now `GuzzleHttp\Stream\LimitStream` +- `Guzzle\Http\IoEmittyinEntityBody` has been removed. + +#### Request lifecycle events + +Requests previously submitted a large number of requests. The number of events +emitted over the lifecycle of a request has been significantly reduced to make +it easier to understand how to extend the behavior of a request. All events +emitted during the lifecycle of a request now emit a custom +`GuzzleHttp\Event\EventInterface` object that contains context providing +methods and a way in which to modify the transaction at that specific point in +time (e.g., intercept the request and set a response on the transaction). + +- `request.before_send` has been renamed to `before` and now emits a + `GuzzleHttp\Event\BeforeEvent` +- `request.complete` has been renamed to `complete` and now emits a + `GuzzleHttp\Event\CompleteEvent`. +- `request.sent` has been removed. Use `complete`. +- `request.success` has been removed. Use `complete`. +- `error` is now an event that emits a `GuzzleHttp\Event\ErrorEvent`. +- `request.exception` has been removed. Use `error`. +- `request.receive.status_line` has been removed. +- `curl.callback.progress` has been removed. Use a custom `StreamInterface` to + maintain a status update. +- `curl.callback.write` has been removed. Use a custom `StreamInterface` to + intercept writes. +- `curl.callback.read` has been removed. Use a custom `StreamInterface` to + intercept reads. + +`headers` is a new event that is emitted after the response headers of a +request have been received before the body of the response is downloaded. This +event emits a `GuzzleHttp\Event\HeadersEvent`. + +You can intercept a request and inject a response using the `intercept()` event +of a `GuzzleHttp\Event\BeforeEvent`, `GuzzleHttp\Event\CompleteEvent`, and +`GuzzleHttp\Event\ErrorEvent` event. + +See: http://docs.guzzlephp.org/en/latest/events.html + +## Inflection + +The `Guzzle\Inflection` namespace has been removed. This is not a core concern +of Guzzle. + +## Iterator + +The `Guzzle\Iterator` namespace has been removed. + +- `Guzzle\Iterator\AppendIterator`, `Guzzle\Iterator\ChunkedIterator`, and + `Guzzle\Iterator\MethodProxyIterator` are nice, but not a core requirement of + Guzzle itself. +- `Guzzle\Iterator\FilterIterator` is no longer needed because an equivalent + class is shipped with PHP 5.4. +- `Guzzle\Iterator\MapIterator` is not really needed when using PHP 5.5 because + it's easier to just wrap an iterator in a generator that maps values. + +For a replacement of these iterators, see https://github.com/nikic/iter + +## Log + +The LogPlugin has moved to https://github.com/guzzle/log-subscriber. The +`Guzzle\Log` namespace has been removed. Guzzle now relies on +`Psr\Log\LoggerInterface` for all logging. The MessageFormatter class has been +moved to `GuzzleHttp\Subscriber\Log\Formatter`. + +## Parser + +The `Guzzle\Parser` namespace has been removed. This was previously used to +make it possible to plug in custom parsers for cookies, messages, URI +templates, and URLs; however, this level of complexity is not needed in Guzzle +so it has been removed. + +- Cookie: Cookie parsing logic has been moved to + `GuzzleHttp\Cookie\SetCookie::fromString`. +- Message: Message parsing logic for both requests and responses has been moved + to `GuzzleHttp\Message\MessageFactory::fromMessage`. Message parsing is only + used in debugging or deserializing messages, so it doesn't make sense for + Guzzle as a library to add this level of complexity to parsing messages. +- UriTemplate: URI template parsing has been moved to + `GuzzleHttp\UriTemplate`. The Guzzle library will automatically use the PECL + URI template library if it is installed. +- Url: URL parsing is now performed in `GuzzleHttp\Url::fromString` (previously + it was `Guzzle\Http\Url::factory()`). If custom URL parsing is necessary, + then developers are free to subclass `GuzzleHttp\Url`. + +## Plugin + +The `Guzzle\Plugin` namespace has been renamed to `GuzzleHttp\Subscriber`. +Several plugins are shipping with the core Guzzle library under this namespace. + +- `GuzzleHttp\Subscriber\Cookie`: Replaces the old CookiePlugin. Cookie jar + code has moved to `GuzzleHttp\Cookie`. +- `GuzzleHttp\Subscriber\History`: Replaces the old HistoryPlugin. +- `GuzzleHttp\Subscriber\HttpError`: Throws errors when a bad HTTP response is + received. +- `GuzzleHttp\Subscriber\Mock`: Replaces the old MockPlugin. +- `GuzzleHttp\Subscriber\Prepare`: Prepares the body of a request just before + sending. This subscriber is attached to all requests by default. +- `GuzzleHttp\Subscriber\Redirect`: Replaces the RedirectPlugin. + +The following plugins have been removed (third-parties are free to re-implement +these if needed): + +- `GuzzleHttp\Plugin\Async` has been removed. +- `GuzzleHttp\Plugin\CurlAuth` has been removed. +- `GuzzleHttp\Plugin\ErrorResponse\ErrorResponsePlugin` has been removed. This + functionality should instead be implemented with event listeners that occur + after normal response parsing occurs in the guzzle/command package. + +The following plugins are not part of the core Guzzle package, but are provided +in separate repositories: + +- `Guzzle\Http\Plugin\BackoffPlugin` has been rewritten to be much simpler + to build custom retry policies using simple functions rather than various + chained classes. See: https://github.com/guzzle/retry-subscriber +- `Guzzle\Http\Plugin\Cache\CachePlugin` has moved to + https://github.com/guzzle/cache-subscriber +- `Guzzle\Http\Plugin\Log\LogPlugin` has moved to + https://github.com/guzzle/log-subscriber +- `Guzzle\Http\Plugin\Md5\Md5Plugin` has moved to + https://github.com/guzzle/message-integrity-subscriber +- `Guzzle\Http\Plugin\Mock\MockPlugin` has moved to + `GuzzleHttp\Subscriber\MockSubscriber`. +- `Guzzle\Http\Plugin\Oauth\OauthPlugin` has moved to + https://github.com/guzzle/oauth-subscriber + +## Service + +The service description layer of Guzzle has moved into two separate packages: + +- http://github.com/guzzle/command Provides a high level abstraction over web + services by representing web service operations using commands. +- http://github.com/guzzle/guzzle-services Provides an implementation of + guzzle/command that provides request serialization and response parsing using + Guzzle service descriptions. + +## Stream + +Stream have moved to a separate package available at +https://github.com/guzzle/streams. + +`Guzzle\Stream\StreamInterface` has been given a large update to cleanly take +on the responsibilities of `Guzzle\Http\EntityBody` and +`Guzzle\Http\EntityBodyInterface` now that they have been removed. The number +of methods implemented by the `StreamInterface` has been drastically reduced to +allow developers to more easily extend and decorate stream behavior. + +## Removed methods from StreamInterface + +- `getStream` and `setStream` have been removed to better encapsulate streams. +- `getMetadata` and `setMetadata` have been removed in favor of + `GuzzleHttp\Stream\MetadataStreamInterface`. +- `getWrapper`, `getWrapperData`, `getStreamType`, and `getUri` have all been + removed. This data is accessible when + using streams that implement `GuzzleHttp\Stream\MetadataStreamInterface`. +- `rewind` has been removed. Use `seek(0)` for a similar behavior. + +## Renamed methods + +- `detachStream` has been renamed to `detach`. +- `feof` has been renamed to `eof`. +- `ftell` has been renamed to `tell`. +- `readLine` has moved from an instance method to a static class method of + `GuzzleHttp\Stream\Stream`. + +## Metadata streams + +`GuzzleHttp\Stream\MetadataStreamInterface` has been added to denote streams +that contain additional metadata accessible via `getMetadata()`. +`GuzzleHttp\Stream\StreamInterface::getMetadata` and +`GuzzleHttp\Stream\StreamInterface::setMetadata` have been removed. + +## StreamRequestFactory + +The entire concept of the StreamRequestFactory has been removed. The way this +was used in Guzzle 3 broke the actual interface of sending streaming requests +(instead of getting back a Response, you got a StreamInterface). Streaming +PHP requests are now implemented through the `GuzzleHttp\Adapter\StreamAdapter`. + +3.6 to 3.7 +---------- + +### Deprecations + +- You can now enable E_USER_DEPRECATED warnings to see if you are using any deprecated methods.: + +```php +\Guzzle\Common\Version::$emitWarnings = true; +``` + +The following APIs and options have been marked as deprecated: + +- Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use `$request->getResponseBody()->isRepeatable()` instead. +- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +- Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. +- Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. +- Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated +- Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. +- Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. +- Marked `Guzzle\Common\Collection::inject()` as deprecated. +- Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use + `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));` or + `$client->setDefaultOption('auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));` + +3.7 introduces `request.options` as a parameter for a client configuration and as an optional argument to all creational +request methods. When paired with a client's configuration settings, these options allow you to specify default settings +for various aspects of a request. Because these options make other previous configuration options redundant, several +configuration options and methods of a client and AbstractCommand have been deprecated. + +- Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use `$client->getDefaultOption('headers')`. +- Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use `$client->setDefaultOption('headers/{header_name}', 'value')`. +- Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use `$client->setDefaultOption('params/{param_name}', 'value')` +- Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. These will work through Guzzle 4.0 + + $command = $client->getCommand('foo', array( + 'command.headers' => array('Test' => '123'), + 'command.response_body' => '/path/to/file' + )); + + // Should be changed to: + + $command = $client->getCommand('foo', array( + 'command.request_options' => array( + 'headers' => array('Test' => '123'), + 'save_as' => '/path/to/file' + ) + )); + +### Interface changes + +Additions and changes (you will need to update any implementations or subclasses you may have created): + +- Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: + createRequest, head, delete, put, patch, post, options, prepareRequest +- Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` +- Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` +- Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to + `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a + resource, string, or EntityBody into the $options parameter to specify the download location of the response. +- Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a + default `array()` +- Added `Guzzle\Stream\StreamInterface::isRepeatable` +- Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. + +The following methods were removed from interfaces. All of these methods are still available in the concrete classes +that implement them, but you should update your code to use alternative methods: + +- Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use + `$client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or + `$client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))` or + `$client->setDefaultOption('headers/{header_name}', 'value')`. or + `$client->setDefaultOption('headers', array('header_name' => 'value'))`. +- Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use `$client->getConfig()->getPath('request.options/headers')`. +- Removed `Guzzle\Http\ClientInterface::expandTemplate()`. This is an implementation detail. +- Removed `Guzzle\Http\ClientInterface::setRequestFactory()`. This is an implementation detail. +- Removed `Guzzle\Http\ClientInterface::getCurlMulti()`. This is a very specific implementation detail. +- Removed `Guzzle\Http\Message\RequestInterface::canCache`. Use the CachePlugin. +- Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect`. Use the HistoryPlugin. +- Removed `Guzzle\Http\Message\RequestInterface::isRedirect`. Use the HistoryPlugin. + +### Cache plugin breaking changes + +- CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a + CacheStorageInterface. These two objects and interface will be removed in a future version. +- Always setting X-cache headers on cached responses +- Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin +- `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface + $request, Response $response);` +- `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` +- `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` +- Added `CacheStorageInterface::purge($url)` +- `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin + $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, + CanCacheStrategyInterface $canCache = null)` +- Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` + +3.5 to 3.6 +---------- + +* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. +* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution +* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). + For example, setHeader() first removes the header using unset on a HeaderCollection and then calls addHeader(). + Keeping the Host header and URL host in sync is now handled by overriding the addHeader method in Request. +* Specific header implementations can be created for complex headers. When a message creates a header, it uses a + HeaderFactory which can map specific headers to specific header classes. There is now a Link header and + CacheControl header implementation. +* Moved getLinks() from Response to just be used on a Link header object. + +If you previously relied on Guzzle\Http\Message\Header::raw(), then you will need to update your code to use the +HeaderInterface (e.g. toArray(), getAll(), etc.). + +### Interface changes + +* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate +* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() +* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in + Guzzle\Http\Curl\RequestMediator +* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. +* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface +* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() + +### Removed deprecated functions + +* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() +* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). + +### Deprecations + +* The ability to case-insensitively search for header values +* Guzzle\Http\Message\Header::hasExactHeader +* Guzzle\Http\Message\Header::raw. Use getAll() +* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object + instead. + +### Other changes + +* All response header helper functions return a string rather than mixing Header objects and strings inconsistently +* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle + directly via interfaces +* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist + but are a no-op until removed. +* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a + `Guzzle\Service\Command\ArrayCommandInterface`. +* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response + on a request while the request is still being transferred +* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess + +3.3 to 3.4 +---------- + +Base URLs of a client now follow the rules of http://tools.ietf.org/html/rfc3986#section-5.2.2 when merging URLs. + +3.2 to 3.3 +---------- + +### Response::getEtag() quote stripping removed + +`Guzzle\Http\Message\Response::getEtag()` no longer strips quotes around the ETag response header + +### Removed `Guzzle\Http\Utils` + +The `Guzzle\Http\Utils` class was removed. This class was only used for testing. + +### Stream wrapper and type + +`Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getStreamType()` are no longer converted to lowercase. + +### curl.emit_io became emit_io + +Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using the +'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' + +3.1 to 3.2 +---------- + +### CurlMulti is no longer reused globally + +Before 3.2, the same CurlMulti object was reused globally for each client. This can cause issue where plugins added +to a single client can pollute requests dispatched from other clients. + +If you still wish to reuse the same CurlMulti object with each client, then you can add a listener to the +ServiceBuilder's `service_builder.create_client` event to inject a custom CurlMulti object into each client as it is +created. + +```php +$multi = new Guzzle\Http\Curl\CurlMulti(); +$builder = Guzzle\Service\Builder\ServiceBuilder::factory('/path/to/config.json'); +$builder->addListener('service_builder.create_client', function ($event) use ($multi) { + $event['client']->setCurlMulti($multi); +} +}); +``` + +### No default path + +URLs no longer have a default path value of '/' if no path was specified. + +Before: + +```php +$request = $client->get('http://www.foo.com'); +echo $request->getUrl(); +// >> http://www.foo.com/ +``` + +After: + +```php +$request = $client->get('http://www.foo.com'); +echo $request->getUrl(); +// >> http://www.foo.com +``` + +### Less verbose BadResponseException + +The exception message for `Guzzle\Http\Exception\BadResponseException` no longer contains the full HTTP request and +response information. You can, however, get access to the request and response object by calling `getRequest()` or +`getResponse()` on the exception object. + +### Query parameter aggregation + +Multi-valued query parameters are no longer aggregated using a callback function. `Guzzle\Http\Query` now has a +setAggregator() method that accepts a `Guzzle\Http\QueryAggregator\QueryAggregatorInterface` object. This object is +responsible for handling the aggregation of multi-valued query string variables into a flattened hash. + +2.8 to 3.x +---------- + +### Guzzle\Service\Inspector + +Change `\Guzzle\Service\Inspector::fromConfig` to `\Guzzle\Common\Collection::fromConfig` + +**Before** + +```php +use Guzzle\Service\Inspector; + +class YourClient extends \Guzzle\Service\Client +{ + public static function factory($config = array()) + { + $default = array(); + $required = array('base_url', 'username', 'api_key'); + $config = Inspector::fromConfig($config, $default, $required); + + $client = new self( + $config->get('base_url'), + $config->get('username'), + $config->get('api_key') + ); + $client->setConfig($config); + + $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); + + return $client; + } +``` + +**After** + +```php +use Guzzle\Common\Collection; + +class YourClient extends \Guzzle\Service\Client +{ + public static function factory($config = array()) + { + $default = array(); + $required = array('base_url', 'username', 'api_key'); + $config = Collection::fromConfig($config, $default, $required); + + $client = new self( + $config->get('base_url'), + $config->get('username'), + $config->get('api_key') + ); + $client->setConfig($config); + + $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); + + return $client; + } +``` + +### Convert XML Service Descriptions to JSON + +**Before** + +```xml + + + + + + Get a list of groups + + + Uses a search query to get a list of groups + + + + Create a group + + + + + Delete a group by ID + + + + + + + Update a group + + + + + + +``` + +**After** + +```json +{ + "name": "Zendesk REST API v2", + "apiVersion": "2012-12-31", + "description":"Provides access to Zendesk views, groups, tickets, ticket fields, and users", + "operations": { + "list_groups": { + "httpMethod":"GET", + "uri": "groups.json", + "summary": "Get a list of groups" + }, + "search_groups":{ + "httpMethod":"GET", + "uri": "search.json?query=\"{query} type:group\"", + "summary": "Uses a search query to get a list of groups", + "parameters":{ + "query":{ + "location": "uri", + "description":"Zendesk Search Query", + "type": "string", + "required": true + } + } + }, + "create_group": { + "httpMethod":"POST", + "uri": "groups.json", + "summary": "Create a group", + "parameters":{ + "data": { + "type": "array", + "location": "body", + "description":"Group JSON", + "filters": "json_encode", + "required": true + }, + "Content-Type":{ + "type": "string", + "location":"header", + "static": "application/json" + } + } + }, + "delete_group": { + "httpMethod":"DELETE", + "uri": "groups/{id}.json", + "summary": "Delete a group", + "parameters":{ + "id":{ + "location": "uri", + "description":"Group to delete by ID", + "type": "integer", + "required": true + } + } + }, + "get_group": { + "httpMethod":"GET", + "uri": "groups/{id}.json", + "summary": "Get a ticket", + "parameters":{ + "id":{ + "location": "uri", + "description":"Group to get by ID", + "type": "integer", + "required": true + } + } + }, + "update_group": { + "httpMethod":"PUT", + "uri": "groups/{id}.json", + "summary": "Update a group", + "parameters":{ + "id": { + "location": "uri", + "description":"Group to update by ID", + "type": "integer", + "required": true + }, + "data": { + "type": "array", + "location": "body", + "description":"Group JSON", + "filters": "json_encode", + "required": true + }, + "Content-Type":{ + "type": "string", + "location":"header", + "static": "application/json" + } + } + } +} +``` + +### Guzzle\Service\Description\ServiceDescription + +Commands are now called Operations + +**Before** + +```php +use Guzzle\Service\Description\ServiceDescription; + +$sd = new ServiceDescription(); +$sd->getCommands(); // @returns ApiCommandInterface[] +$sd->hasCommand($name); +$sd->getCommand($name); // @returns ApiCommandInterface|null +$sd->addCommand($command); // @param ApiCommandInterface $command +``` + +**After** + +```php +use Guzzle\Service\Description\ServiceDescription; + +$sd = new ServiceDescription(); +$sd->getOperations(); // @returns OperationInterface[] +$sd->hasOperation($name); +$sd->getOperation($name); // @returns OperationInterface|null +$sd->addOperation($operation); // @param OperationInterface $operation +``` + +### Guzzle\Common\Inflection\Inflector + +Namespace is now `Guzzle\Inflection\Inflector` + +### Guzzle\Http\Plugin + +Namespace is now `Guzzle\Plugin`. Many other changes occur within this namespace and are detailed in their own sections below. + +### Guzzle\Http\Plugin\LogPlugin and Guzzle\Common\Log + +Now `Guzzle\Plugin\Log\LogPlugin` and `Guzzle\Log` respectively. + +**Before** + +```php +use Guzzle\Common\Log\ClosureLogAdapter; +use Guzzle\Http\Plugin\LogPlugin; + +/** @var \Guzzle\Http\Client */ +$client; + +// $verbosity is an integer indicating desired message verbosity level +$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $verbosity = LogPlugin::LOG_VERBOSE); +``` + +**After** + +```php +use Guzzle\Log\ClosureLogAdapter; +use Guzzle\Log\MessageFormatter; +use Guzzle\Plugin\Log\LogPlugin; + +/** @var \Guzzle\Http\Client */ +$client; + +// $format is a string indicating desired message format -- @see MessageFormatter +$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $format = MessageFormatter::DEBUG_FORMAT); +``` + +### Guzzle\Http\Plugin\CurlAuthPlugin + +Now `Guzzle\Plugin\CurlAuth\CurlAuthPlugin`. + +### Guzzle\Http\Plugin\ExponentialBackoffPlugin + +Now `Guzzle\Plugin\Backoff\BackoffPlugin`, and other changes. + +**Before** + +```php +use Guzzle\Http\Plugin\ExponentialBackoffPlugin; + +$backoffPlugin = new ExponentialBackoffPlugin($maxRetries, array_merge( + ExponentialBackoffPlugin::getDefaultFailureCodes(), array(429) + )); + +$client->addSubscriber($backoffPlugin); +``` + +**After** + +```php +use Guzzle\Plugin\Backoff\BackoffPlugin; +use Guzzle\Plugin\Backoff\HttpBackoffStrategy; + +// Use convenient factory method instead -- see implementation for ideas of what +// you can do with chaining backoff strategies +$backoffPlugin = BackoffPlugin::getExponentialBackoff($maxRetries, array_merge( + HttpBackoffStrategy::getDefaultFailureCodes(), array(429) + )); +$client->addSubscriber($backoffPlugin); +``` + +### Known Issues + +#### [BUG] Accept-Encoding header behavior changed unintentionally. + +(See #217) (Fixed in 09daeb8c666fb44499a0646d655a8ae36456575e) + +In version 2.8 setting the `Accept-Encoding` header would set the CURLOPT_ENCODING option, which permitted cURL to +properly handle gzip/deflate compressed responses from the server. In versions affected by this bug this does not happen. +See issue #217 for a workaround, or use a version containing the fix. diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/composer.json b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/composer.json new file mode 100644 index 00000000..65687a58 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/composer.json @@ -0,0 +1,44 @@ +{ + "name": "guzzlehttp/guzzle", + "type": "library", + "description": "Guzzle is a PHP HTTP client library", + "keywords": ["framework", "http", "rest", "web service", "curl", "client", "HTTP client"], + "homepage": "http://guzzlephp.org/", + "license": "MIT", + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "require": { + "php": ">=5.5", + "guzzlehttp/psr7": "^1.4", + "guzzlehttp/promises": "^1.0" + }, + "require-dev": { + "ext-curl": "*", + "phpunit/phpunit": "^4.0 || ^5.0", + "psr/log": "^1.0" + }, + "autoload": { + "files": ["src/functions_include.php"], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "GuzzleHttp\\Tests\\": "tests/" + } + }, + "suggest": { + "psr/log": "Required for using the Log middleware" + }, + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php new file mode 100644 index 00000000..de4df8a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Client.php @@ -0,0 +1,414 @@ + 'http://www.foo.com/1.0/', + * 'timeout' => 0, + * 'allow_redirects' => false, + * 'proxy' => '192.168.16.1:10' + * ]); + * + * Client configuration settings include the following options: + * + * - handler: (callable) Function that transfers HTTP requests over the + * wire. The function is called with a Psr7\Http\Message\RequestInterface + * and array of transfer options, and must return a + * GuzzleHttp\Promise\PromiseInterface that is fulfilled with a + * Psr7\Http\Message\ResponseInterface on success. "handler" is a + * constructor only option that cannot be overridden in per/request + * options. If no handler is provided, a default handler will be created + * that enables all of the request options below by attaching all of the + * default middleware to the handler. + * - base_uri: (string|UriInterface) Base URI of the client that is merged + * into relative URIs. Can be a string or instance of UriInterface. + * - **: any request option + * + * @param array $config Client configuration settings. + * + * @see \GuzzleHttp\RequestOptions for a list of available request options. + */ + public function __construct(array $config = []) + { + if (!isset($config['handler'])) { + $config['handler'] = HandlerStack::create(); + } elseif (!is_callable($config['handler'])) { + throw new \InvalidArgumentException('handler must be a callable'); + } + + // Convert the base_uri to a UriInterface + if (isset($config['base_uri'])) { + $config['base_uri'] = Psr7\uri_for($config['base_uri']); + } + + $this->configureDefaults($config); + } + + public function __call($method, $args) + { + if (count($args) < 1) { + throw new \InvalidArgumentException('Magic request methods require a URI and optional options array'); + } + + $uri = $args[0]; + $opts = isset($args[1]) ? $args[1] : []; + + return substr($method, -5) === 'Async' + ? $this->requestAsync(substr($method, 0, -5), $uri, $opts) + : $this->request($method, $uri, $opts); + } + + public function sendAsync(RequestInterface $request, array $options = []) + { + // Merge the base URI into the request URI if needed. + $options = $this->prepareDefaults($options); + + return $this->transfer( + $request->withUri($this->buildUri($request->getUri(), $options), $request->hasHeader('Host')), + $options + ); + } + + public function send(RequestInterface $request, array $options = []) + { + $options[RequestOptions::SYNCHRONOUS] = true; + return $this->sendAsync($request, $options)->wait(); + } + + public function requestAsync($method, $uri = '', array $options = []) + { + $options = $this->prepareDefaults($options); + // Remove request modifying parameter because it can be done up-front. + $headers = isset($options['headers']) ? $options['headers'] : []; + $body = isset($options['body']) ? $options['body'] : null; + $version = isset($options['version']) ? $options['version'] : '1.1'; + // Merge the URI into the base URI. + $uri = $this->buildUri($uri, $options); + if (is_array($body)) { + $this->invalidBody(); + } + $request = new Psr7\Request($method, $uri, $headers, $body, $version); + // Remove the option so that they are not doubly-applied. + unset($options['headers'], $options['body'], $options['version']); + + return $this->transfer($request, $options); + } + + public function request($method, $uri = '', array $options = []) + { + $options[RequestOptions::SYNCHRONOUS] = true; + return $this->requestAsync($method, $uri, $options)->wait(); + } + + public function getConfig($option = null) + { + return $option === null + ? $this->config + : (isset($this->config[$option]) ? $this->config[$option] : null); + } + + private function buildUri($uri, array $config) + { + // for BC we accept null which would otherwise fail in uri_for + $uri = Psr7\uri_for($uri === null ? '' : $uri); + + if (isset($config['base_uri'])) { + $uri = Psr7\UriResolver::resolve(Psr7\uri_for($config['base_uri']), $uri); + } + + return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri; + } + + /** + * Configures the default options for a client. + * + * @param array $config + */ + private function configureDefaults(array $config) + { + $defaults = [ + 'allow_redirects' => RedirectMiddleware::$defaultSettings, + 'http_errors' => true, + 'decode_content' => true, + 'verify' => true, + 'cookies' => false + ]; + + // Use the standard Linux HTTP_PROXY and HTTPS_PROXY if set. + + // We can only trust the HTTP_PROXY environment variable in a CLI + // process due to the fact that PHP has no reliable mechanism to + // get environment variables that start with "HTTP_". + if (php_sapi_name() == 'cli' && getenv('HTTP_PROXY')) { + $defaults['proxy']['http'] = getenv('HTTP_PROXY'); + } + + if ($proxy = getenv('HTTPS_PROXY')) { + $defaults['proxy']['https'] = $proxy; + } + + if ($noProxy = getenv('NO_PROXY')) { + $cleanedNoProxy = str_replace(' ', '', $noProxy); + $defaults['proxy']['no'] = explode(',', $cleanedNoProxy); + } + + $this->config = $config + $defaults; + + if (!empty($config['cookies']) && $config['cookies'] === true) { + $this->config['cookies'] = new CookieJar(); + } + + // Add the default user-agent header. + if (!isset($this->config['headers'])) { + $this->config['headers'] = ['User-Agent' => default_user_agent()]; + } else { + // Add the User-Agent header if one was not already set. + foreach (array_keys($this->config['headers']) as $name) { + if (strtolower($name) === 'user-agent') { + return; + } + } + $this->config['headers']['User-Agent'] = default_user_agent(); + } + } + + /** + * Merges default options into the array. + * + * @param array $options Options to modify by reference + * + * @return array + */ + private function prepareDefaults($options) + { + $defaults = $this->config; + + if (!empty($defaults['headers'])) { + // Default headers are only added if they are not present. + $defaults['_conditional'] = $defaults['headers']; + unset($defaults['headers']); + } + + // Special handling for headers is required as they are added as + // conditional headers and as headers passed to a request ctor. + if (array_key_exists('headers', $options)) { + // Allows default headers to be unset. + if ($options['headers'] === null) { + $defaults['_conditional'] = null; + unset($options['headers']); + } elseif (!is_array($options['headers'])) { + throw new \InvalidArgumentException('headers must be an array'); + } + } + + // Shallow merge defaults underneath options. + $result = $options + $defaults; + + // Remove null values. + foreach ($result as $k => $v) { + if ($v === null) { + unset($result[$k]); + } + } + + return $result; + } + + /** + * Transfers the given request and applies request options. + * + * The URI of the request is not modified and the request options are used + * as-is without merging in default options. + * + * @param RequestInterface $request + * @param array $options + * + * @return Promise\PromiseInterface + */ + private function transfer(RequestInterface $request, array $options) + { + // save_to -> sink + if (isset($options['save_to'])) { + $options['sink'] = $options['save_to']; + unset($options['save_to']); + } + + // exceptions -> http_errors + if (isset($options['exceptions'])) { + $options['http_errors'] = $options['exceptions']; + unset($options['exceptions']); + } + + $request = $this->applyOptions($request, $options); + $handler = $options['handler']; + + try { + return Promise\promise_for($handler($request, $options)); + } catch (\Exception $e) { + return Promise\rejection_for($e); + } + } + + /** + * Applies the array of request options to a request. + * + * @param RequestInterface $request + * @param array $options + * + * @return RequestInterface + */ + private function applyOptions(RequestInterface $request, array &$options) + { + $modify = []; + + if (isset($options['form_params'])) { + if (isset($options['multipart'])) { + throw new \InvalidArgumentException('You cannot use ' + . 'form_params and multipart at the same time. Use the ' + . 'form_params option if you want to send application/' + . 'x-www-form-urlencoded requests, and the multipart ' + . 'option to send multipart/form-data requests.'); + } + $options['body'] = http_build_query($options['form_params'], '', '&'); + unset($options['form_params']); + $options['_conditional']['Content-Type'] = 'application/x-www-form-urlencoded'; + } + + if (isset($options['multipart'])) { + $options['body'] = new Psr7\MultipartStream($options['multipart']); + unset($options['multipart']); + } + + if (isset($options['json'])) { + $options['body'] = \GuzzleHttp\json_encode($options['json']); + unset($options['json']); + $options['_conditional']['Content-Type'] = 'application/json'; + } + + if (!empty($options['decode_content']) + && $options['decode_content'] !== true + ) { + $modify['set_headers']['Accept-Encoding'] = $options['decode_content']; + } + + if (isset($options['headers'])) { + if (isset($modify['set_headers'])) { + $modify['set_headers'] = $options['headers'] + $modify['set_headers']; + } else { + $modify['set_headers'] = $options['headers']; + } + unset($options['headers']); + } + + if (isset($options['body'])) { + if (is_array($options['body'])) { + $this->invalidBody(); + } + $modify['body'] = Psr7\stream_for($options['body']); + unset($options['body']); + } + + if (!empty($options['auth']) && is_array($options['auth'])) { + $value = $options['auth']; + $type = isset($value[2]) ? strtolower($value[2]) : 'basic'; + switch ($type) { + case 'basic': + $modify['set_headers']['Authorization'] = 'Basic ' + . base64_encode("$value[0]:$value[1]"); + break; + case 'digest': + // @todo: Do not rely on curl + $options['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_DIGEST; + $options['curl'][CURLOPT_USERPWD] = "$value[0]:$value[1]"; + break; + case 'ntlm': + $options['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_NTLM; + $options['curl'][CURLOPT_USERPWD] = "$value[0]:$value[1]"; + break; + } + } + + if (isset($options['query'])) { + $value = $options['query']; + if (is_array($value)) { + $value = http_build_query($value, null, '&', PHP_QUERY_RFC3986); + } + if (!is_string($value)) { + throw new \InvalidArgumentException('query must be a string or array'); + } + $modify['query'] = $value; + unset($options['query']); + } + + // Ensure that sink is not an invalid value. + if (isset($options['sink'])) { + // TODO: Add more sink validation? + if (is_bool($options['sink'])) { + throw new \InvalidArgumentException('sink must not be a boolean'); + } + } + + $request = Psr7\modify_request($request, $modify); + if ($request->getBody() instanceof Psr7\MultipartStream) { + // Use a multipart/form-data POST if a Content-Type is not set. + $options['_conditional']['Content-Type'] = 'multipart/form-data; boundary=' + . $request->getBody()->getBoundary(); + } + + // Merge in conditional headers if they are not present. + if (isset($options['_conditional'])) { + // Build up the changes so it's in a single clone of the message. + $modify = []; + foreach ($options['_conditional'] as $k => $v) { + if (!$request->hasHeader($k)) { + $modify['set_headers'][$k] = $v; + } + } + $request = Psr7\modify_request($request, $modify); + // Don't pass this internal value along to middleware/handlers. + unset($options['_conditional']); + } + + return $request; + } + + private function invalidBody() + { + throw new \InvalidArgumentException('Passing in the "body" request ' + . 'option as an array to send a POST request has been deprecated. ' + . 'Please use the "form_params" request option to send a ' + . 'application/x-www-form-urlencoded request, or the "multipart" ' + . 'request option to send a multipart/form-data request.'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php new file mode 100644 index 00000000..5a67b66b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/ClientInterface.php @@ -0,0 +1,84 @@ +strictMode = $strictMode; + + foreach ($cookieArray as $cookie) { + if (!($cookie instanceof SetCookie)) { + $cookie = new SetCookie($cookie); + } + $this->setCookie($cookie); + } + } + + /** + * Create a new Cookie jar from an associative array and domain. + * + * @param array $cookies Cookies to create the jar from + * @param string $domain Domain to set the cookies to + * + * @return self + */ + public static function fromArray(array $cookies, $domain) + { + $cookieJar = new self(); + foreach ($cookies as $name => $value) { + $cookieJar->setCookie(new SetCookie([ + 'Domain' => $domain, + 'Name' => $name, + 'Value' => $value, + 'Discard' => true + ])); + } + + return $cookieJar; + } + + /** + * @deprecated + */ + public static function getCookieValue($value) + { + return $value; + } + + /** + * Evaluate if this cookie should be persisted to storage + * that survives between requests. + * + * @param SetCookie $cookie Being evaluated. + * @param bool $allowSessionCookies If we should persist session cookies + * @return bool + */ + public static function shouldPersist( + SetCookie $cookie, + $allowSessionCookies = false + ) { + if ($cookie->getExpires() || $allowSessionCookies) { + if (!$cookie->getDiscard()) { + return true; + } + } + + return false; + } + + /** + * Finds and returns the cookie based on the name + * + * @param string $name cookie name to search for + * @return SetCookie|null cookie that was found or null if not found + */ + public function getCookieByName($name) + { + // don't allow a null name + if($name === null) { + return null; + } + foreach($this->cookies as $cookie) { + if($cookie->getName() !== null && strcasecmp($cookie->getName(), $name) === 0) { + return $cookie; + } + } + } + + public function toArray() + { + return array_map(function (SetCookie $cookie) { + return $cookie->toArray(); + }, $this->getIterator()->getArrayCopy()); + } + + public function clear($domain = null, $path = null, $name = null) + { + if (!$domain) { + $this->cookies = []; + return; + } elseif (!$path) { + $this->cookies = array_filter( + $this->cookies, + function (SetCookie $cookie) use ($path, $domain) { + return !$cookie->matchesDomain($domain); + } + ); + } elseif (!$name) { + $this->cookies = array_filter( + $this->cookies, + function (SetCookie $cookie) use ($path, $domain) { + return !($cookie->matchesPath($path) && + $cookie->matchesDomain($domain)); + } + ); + } else { + $this->cookies = array_filter( + $this->cookies, + function (SetCookie $cookie) use ($path, $domain, $name) { + return !($cookie->getName() == $name && + $cookie->matchesPath($path) && + $cookie->matchesDomain($domain)); + } + ); + } + } + + public function clearSessionCookies() + { + $this->cookies = array_filter( + $this->cookies, + function (SetCookie $cookie) { + return !$cookie->getDiscard() && $cookie->getExpires(); + } + ); + } + + public function setCookie(SetCookie $cookie) + { + // If the name string is empty (but not 0), ignore the set-cookie + // string entirely. + $name = $cookie->getName(); + if (!$name && $name !== '0') { + return false; + } + + // Only allow cookies with set and valid domain, name, value + $result = $cookie->validate(); + if ($result !== true) { + if ($this->strictMode) { + throw new \RuntimeException('Invalid cookie: ' . $result); + } else { + $this->removeCookieIfEmpty($cookie); + return false; + } + } + + // Resolve conflicts with previously set cookies + foreach ($this->cookies as $i => $c) { + + // Two cookies are identical, when their path, and domain are + // identical. + if ($c->getPath() != $cookie->getPath() || + $c->getDomain() != $cookie->getDomain() || + $c->getName() != $cookie->getName() + ) { + continue; + } + + // The previously set cookie is a discard cookie and this one is + // not so allow the new cookie to be set + if (!$cookie->getDiscard() && $c->getDiscard()) { + unset($this->cookies[$i]); + continue; + } + + // If the new cookie's expiration is further into the future, then + // replace the old cookie + if ($cookie->getExpires() > $c->getExpires()) { + unset($this->cookies[$i]); + continue; + } + + // If the value has changed, we better change it + if ($cookie->getValue() !== $c->getValue()) { + unset($this->cookies[$i]); + continue; + } + + // The cookie exists, so no need to continue + return false; + } + + $this->cookies[] = $cookie; + + return true; + } + + public function count() + { + return count($this->cookies); + } + + public function getIterator() + { + return new \ArrayIterator(array_values($this->cookies)); + } + + public function extractCookies( + RequestInterface $request, + ResponseInterface $response + ) { + if ($cookieHeader = $response->getHeader('Set-Cookie')) { + foreach ($cookieHeader as $cookie) { + $sc = SetCookie::fromString($cookie); + if (!$sc->getDomain()) { + $sc->setDomain($request->getUri()->getHost()); + } + if (0 !== strpos($sc->getPath(), '/')) { + $sc->setPath($this->getCookiePathFromRequest($request)); + } + $this->setCookie($sc); + } + } + } + + /** + * Computes cookie path following RFC 6265 section 5.1.4 + * + * @link https://tools.ietf.org/html/rfc6265#section-5.1.4 + * + * @param RequestInterface $request + * @return string + */ + private function getCookiePathFromRequest(RequestInterface $request) + { + $uriPath = $request->getUri()->getPath(); + if ('' === $uriPath) { + return '/'; + } + if (0 !== strpos($uriPath, '/')) { + return '/'; + } + if ('/' === $uriPath) { + return '/'; + } + if (0 === $lastSlashPos = strrpos($uriPath, '/')) { + return '/'; + } + + return substr($uriPath, 0, $lastSlashPos); + } + + public function withCookieHeader(RequestInterface $request) + { + $values = []; + $uri = $request->getUri(); + $scheme = $uri->getScheme(); + $host = $uri->getHost(); + $path = $uri->getPath() ?: '/'; + + foreach ($this->cookies as $cookie) { + if ($cookie->matchesPath($path) && + $cookie->matchesDomain($host) && + !$cookie->isExpired() && + (!$cookie->getSecure() || $scheme === 'https') + ) { + $values[] = $cookie->getName() . '=' + . $cookie->getValue(); + } + } + + return $values + ? $request->withHeader('Cookie', implode('; ', $values)) + : $request; + } + + /** + * If a cookie already exists and the server asks to set it again with a + * null value, the cookie must be deleted. + * + * @param SetCookie $cookie + */ + private function removeCookieIfEmpty(SetCookie $cookie) + { + $cookieValue = $cookie->getValue(); + if ($cookieValue === null || $cookieValue === '') { + $this->clear( + $cookie->getDomain(), + $cookie->getPath(), + $cookie->getName() + ); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php new file mode 100644 index 00000000..2cf298a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php @@ -0,0 +1,84 @@ +filename = $cookieFile; + $this->storeSessionCookies = $storeSessionCookies; + + if (file_exists($cookieFile)) { + $this->load($cookieFile); + } + } + + /** + * Saves the file when shutting down + */ + public function __destruct() + { + $this->save($this->filename); + } + + /** + * Saves the cookies to a file. + * + * @param string $filename File to save + * @throws \RuntimeException if the file cannot be found or created + */ + public function save($filename) + { + $json = []; + foreach ($this as $cookie) { + /** @var SetCookie $cookie */ + if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) { + $json[] = $cookie->toArray(); + } + } + + $jsonStr = \GuzzleHttp\json_encode($json); + if (false === file_put_contents($filename, $jsonStr)) { + throw new \RuntimeException("Unable to save file {$filename}"); + } + } + + /** + * Load cookies from a JSON formatted file. + * + * Old cookies are kept unless overwritten by newly loaded ones. + * + * @param string $filename Cookie file to load. + * @throws \RuntimeException if the file cannot be loaded. + */ + public function load($filename) + { + $json = file_get_contents($filename); + if (false === $json) { + throw new \RuntimeException("Unable to load file {$filename}"); + } elseif ($json === '') { + return; + } + + $data = \GuzzleHttp\json_decode($json, true); + if (is_array($data)) { + foreach (json_decode($json, true) as $cookie) { + $this->setCookie(new SetCookie($cookie)); + } + } elseif (strlen($data)) { + throw new \RuntimeException("Invalid cookie file: {$filename}"); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php new file mode 100644 index 00000000..e4bfafd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php @@ -0,0 +1,71 @@ +sessionKey = $sessionKey; + $this->storeSessionCookies = $storeSessionCookies; + $this->load(); + } + + /** + * Saves cookies to session when shutting down + */ + public function __destruct() + { + $this->save(); + } + + /** + * Save cookies to the client session + */ + public function save() + { + $json = []; + foreach ($this as $cookie) { + /** @var SetCookie $cookie */ + if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) { + $json[] = $cookie->toArray(); + } + } + + $_SESSION[$this->sessionKey] = json_encode($json); + } + + /** + * Load the contents of the client session into the data array + */ + protected function load() + { + if (!isset($_SESSION[$this->sessionKey])) { + return; + } + $data = json_decode($_SESSION[$this->sessionKey], true); + if (is_array($data)) { + foreach ($data as $cookie) { + $this->setCookie(new SetCookie($cookie)); + } + } elseif (strlen($data)) { + throw new \RuntimeException("Invalid cookie data"); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php new file mode 100644 index 00000000..c911e2a3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Cookie/SetCookie.php @@ -0,0 +1,404 @@ + null, + 'Value' => null, + 'Domain' => null, + 'Path' => '/', + 'Max-Age' => null, + 'Expires' => null, + 'Secure' => false, + 'Discard' => false, + 'HttpOnly' => false + ]; + + /** @var array Cookie data */ + private $data; + + /** + * Create a new SetCookie object from a string + * + * @param string $cookie Set-Cookie header string + * + * @return self + */ + public static function fromString($cookie) + { + // Create the default return array + $data = self::$defaults; + // Explode the cookie string using a series of semicolons + $pieces = array_filter(array_map('trim', explode(';', $cookie))); + // The name of the cookie (first kvp) must include an equal sign. + if (empty($pieces) || !strpos($pieces[0], '=')) { + return new self($data); + } + + // Add the cookie pieces into the parsed data array + foreach ($pieces as $part) { + + $cookieParts = explode('=', $part, 2); + $key = trim($cookieParts[0]); + $value = isset($cookieParts[1]) + ? trim($cookieParts[1], " \n\r\t\0\x0B") + : true; + + // Only check for non-cookies when cookies have been found + if (empty($data['Name'])) { + $data['Name'] = $key; + $data['Value'] = $value; + } else { + foreach (array_keys(self::$defaults) as $search) { + if (!strcasecmp($search, $key)) { + $data[$search] = $value; + continue 2; + } + } + $data[$key] = $value; + } + } + + return new self($data); + } + + /** + * @param array $data Array of cookie data provided by a Cookie parser + */ + public function __construct(array $data = []) + { + $this->data = array_replace(self::$defaults, $data); + // Extract the Expires value and turn it into a UNIX timestamp if needed + if (!$this->getExpires() && $this->getMaxAge()) { + // Calculate the Expires date + $this->setExpires(time() + $this->getMaxAge()); + } elseif ($this->getExpires() && !is_numeric($this->getExpires())) { + $this->setExpires($this->getExpires()); + } + } + + public function __toString() + { + $str = $this->data['Name'] . '=' . $this->data['Value'] . '; '; + foreach ($this->data as $k => $v) { + if ($k !== 'Name' && $k !== 'Value' && $v !== null && $v !== false) { + if ($k === 'Expires') { + $str .= 'Expires=' . gmdate('D, d M Y H:i:s \G\M\T', $v) . '; '; + } else { + $str .= ($v === true ? $k : "{$k}={$v}") . '; '; + } + } + } + + return rtrim($str, '; '); + } + + public function toArray() + { + return $this->data; + } + + /** + * Get the cookie name + * + * @return string + */ + public function getName() + { + return $this->data['Name']; + } + + /** + * Set the cookie name + * + * @param string $name Cookie name + */ + public function setName($name) + { + $this->data['Name'] = $name; + } + + /** + * Get the cookie value + * + * @return string + */ + public function getValue() + { + return $this->data['Value']; + } + + /** + * Set the cookie value + * + * @param string $value Cookie value + */ + public function setValue($value) + { + $this->data['Value'] = $value; + } + + /** + * Get the domain + * + * @return string|null + */ + public function getDomain() + { + return $this->data['Domain']; + } + + /** + * Set the domain of the cookie + * + * @param string $domain + */ + public function setDomain($domain) + { + $this->data['Domain'] = $domain; + } + + /** + * Get the path + * + * @return string + */ + public function getPath() + { + return $this->data['Path']; + } + + /** + * Set the path of the cookie + * + * @param string $path Path of the cookie + */ + public function setPath($path) + { + $this->data['Path'] = $path; + } + + /** + * Maximum lifetime of the cookie in seconds + * + * @return int|null + */ + public function getMaxAge() + { + return $this->data['Max-Age']; + } + + /** + * Set the max-age of the cookie + * + * @param int $maxAge Max age of the cookie in seconds + */ + public function setMaxAge($maxAge) + { + $this->data['Max-Age'] = $maxAge; + } + + /** + * The UNIX timestamp when the cookie Expires + * + * @return mixed + */ + public function getExpires() + { + return $this->data['Expires']; + } + + /** + * Set the unix timestamp for which the cookie will expire + * + * @param int $timestamp Unix timestamp + */ + public function setExpires($timestamp) + { + $this->data['Expires'] = is_numeric($timestamp) + ? (int) $timestamp + : strtotime($timestamp); + } + + /** + * Get whether or not this is a secure cookie + * + * @return null|bool + */ + public function getSecure() + { + return $this->data['Secure']; + } + + /** + * Set whether or not the cookie is secure + * + * @param bool $secure Set to true or false if secure + */ + public function setSecure($secure) + { + $this->data['Secure'] = $secure; + } + + /** + * Get whether or not this is a session cookie + * + * @return null|bool + */ + public function getDiscard() + { + return $this->data['Discard']; + } + + /** + * Set whether or not this is a session cookie + * + * @param bool $discard Set to true or false if this is a session cookie + */ + public function setDiscard($discard) + { + $this->data['Discard'] = $discard; + } + + /** + * Get whether or not this is an HTTP only cookie + * + * @return bool + */ + public function getHttpOnly() + { + return $this->data['HttpOnly']; + } + + /** + * Set whether or not this is an HTTP only cookie + * + * @param bool $httpOnly Set to true or false if this is HTTP only + */ + public function setHttpOnly($httpOnly) + { + $this->data['HttpOnly'] = $httpOnly; + } + + /** + * Check if the cookie matches a path value. + * + * A request-path path-matches a given cookie-path if at least one of + * the following conditions holds: + * + * - The cookie-path and the request-path are identical. + * - The cookie-path is a prefix of the request-path, and the last + * character of the cookie-path is %x2F ("/"). + * - The cookie-path is a prefix of the request-path, and the first + * character of the request-path that is not included in the cookie- + * path is a %x2F ("/") character. + * + * @param string $requestPath Path to check against + * + * @return bool + */ + public function matchesPath($requestPath) + { + $cookiePath = $this->getPath(); + + // Match on exact matches or when path is the default empty "/" + if ($cookiePath === '/' || $cookiePath == $requestPath) { + return true; + } + + // Ensure that the cookie-path is a prefix of the request path. + if (0 !== strpos($requestPath, $cookiePath)) { + return false; + } + + // Match if the last character of the cookie-path is "/" + if (substr($cookiePath, -1, 1) === '/') { + return true; + } + + // Match if the first character not included in cookie path is "/" + return substr($requestPath, strlen($cookiePath), 1) === '/'; + } + + /** + * Check if the cookie matches a domain value + * + * @param string $domain Domain to check against + * + * @return bool + */ + public function matchesDomain($domain) + { + // Remove the leading '.' as per spec in RFC 6265. + // http://tools.ietf.org/html/rfc6265#section-5.2.3 + $cookieDomain = ltrim($this->getDomain(), '.'); + + // Domain not set or exact match. + if (!$cookieDomain || !strcasecmp($domain, $cookieDomain)) { + return true; + } + + // Matching the subdomain according to RFC 6265. + // http://tools.ietf.org/html/rfc6265#section-5.1.3 + if (filter_var($domain, FILTER_VALIDATE_IP)) { + return false; + } + + return (bool) preg_match('/\.' . preg_quote($cookieDomain) . '$/', $domain); + } + + /** + * Check if the cookie is expired + * + * @return bool + */ + public function isExpired() + { + return $this->getExpires() && time() > $this->getExpires(); + } + + /** + * Check if the cookie is valid according to RFC 6265 + * + * @return bool|string Returns true if valid or an error message if invalid + */ + public function validate() + { + // Names must not be empty, but can be 0 + $name = $this->getName(); + if (empty($name) && !is_numeric($name)) { + return 'The cookie name must not be empty'; + } + + // Check if any of the invalid characters are present in the cookie name + if (preg_match( + '/[\x00-\x20\x22\x28-\x29\x2c\x2f\x3a-\x40\x5c\x7b\x7d\x7f]/', + $name) + ) { + return 'Cookie name must not contain invalid characters: ASCII ' + . 'Control characters (0-31;127), space, tab and the ' + . 'following characters: ()<>@,;:\"/?={}'; + } + + // Value must not be empty, but can be 0 + $value = $this->getValue(); + if (empty($value) && !is_numeric($value)) { + return 'The cookie value must not be empty'; + } + + // Domains must not be empty, but can be 0 + // A "0" is not a valid internet domain, but may be used as server name + // in a private network. + $domain = $this->getDomain(); + if (empty($domain) && !is_numeric($domain)) { + return 'The cookie domain must not be empty'; + } + + return true; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php new file mode 100644 index 00000000..427d896f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/BadResponseException.php @@ -0,0 +1,27 @@ +getStatusCode() + : 0; + parent::__construct($message, $code, $previous); + $this->request = $request; + $this->response = $response; + $this->handlerContext = $handlerContext; + } + + /** + * Wrap non-RequestExceptions with a RequestException + * + * @param RequestInterface $request + * @param \Exception $e + * + * @return RequestException + */ + public static function wrapException(RequestInterface $request, \Exception $e) + { + return $e instanceof RequestException + ? $e + : new RequestException($e->getMessage(), $request, null, $e); + } + + /** + * Factory method to create a new exception with a normalized error message + * + * @param RequestInterface $request Request + * @param ResponseInterface $response Response received + * @param \Exception $previous Previous exception + * @param array $ctx Optional handler context. + * + * @return self + */ + public static function create( + RequestInterface $request, + ResponseInterface $response = null, + \Exception $previous = null, + array $ctx = [] + ) { + if (!$response) { + return new self( + 'Error completing request', + $request, + null, + $previous, + $ctx + ); + } + + $level = (int) floor($response->getStatusCode() / 100); + if ($level === 4) { + $label = 'Client error'; + $className = ClientException::class; + } elseif ($level === 5) { + $label = 'Server error'; + $className = ServerException::class; + } else { + $label = 'Unsuccessful request'; + $className = __CLASS__; + } + + $uri = $request->getUri(); + $uri = static::obfuscateUri($uri); + + // Client Error: `GET /` resulted in a `404 Not Found` response: + // ... (truncated) + $message = sprintf( + '%s: `%s %s` resulted in a `%s %s` response', + $label, + $request->getMethod(), + $uri, + $response->getStatusCode(), + $response->getReasonPhrase() + ); + + $summary = static::getResponseBodySummary($response); + + if ($summary !== null) { + $message .= ":\n{$summary}\n"; + } + + return new $className($message, $request, $response, $previous, $ctx); + } + + /** + * Get a short summary of the response + * + * Will return `null` if the response is not printable. + * + * @param ResponseInterface $response + * + * @return string|null + */ + public static function getResponseBodySummary(ResponseInterface $response) + { + $body = $response->getBody(); + + if (!$body->isSeekable()) { + return null; + } + + $size = $body->getSize(); + + if ($size === 0) { + return null; + } + + $summary = $body->read(120); + $body->rewind(); + + if ($size > 120) { + $summary .= ' (truncated...)'; + } + + // Matches any printable character, including unicode characters: + // letters, marks, numbers, punctuation, spacing, and separators. + if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/', $summary)) { + return null; + } + + return $summary; + } + + /** + * Obfuscates URI if there is an username and a password present + * + * @param UriInterface $uri + * + * @return UriInterface + */ + private static function obfuscateUri($uri) + { + $userInfo = $uri->getUserInfo(); + + if (false !== ($pos = strpos($userInfo, ':'))) { + return $uri->withUserInfo(substr($userInfo, 0, $pos), '***'); + } + + return $uri; + } + + /** + * Get the request that caused the exception + * + * @return RequestInterface + */ + public function getRequest() + { + return $this->request; + } + + /** + * Get the associated response + * + * @return ResponseInterface|null + */ + public function getResponse() + { + return $this->response; + } + + /** + * Check if a response was received + * + * @return bool + */ + public function hasResponse() + { + return $this->response !== null; + } + + /** + * Get contextual information about the error from the underlying handler. + * + * The contents of this array will vary depending on which handler you are + * using. It may also be just an empty array. Relying on this data will + * couple you to a specific handler, but can give more debug information + * when needed. + * + * @return array + */ + public function getHandlerContext() + { + return $this->handlerContext; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php new file mode 100644 index 00000000..a77c2892 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/SeekException.php @@ -0,0 +1,27 @@ +stream = $stream; + $msg = $msg ?: 'Could not seek the stream to position ' . $pos; + parent::__construct($msg); + } + + /** + * @return StreamInterface + */ + public function getStream() + { + return $this->stream; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php new file mode 100644 index 00000000..7cdd3408 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Exception/ServerException.php @@ -0,0 +1,7 @@ +maxHandles = $maxHandles; + } + + public function create(RequestInterface $request, array $options) + { + if (isset($options['curl']['body_as_string'])) { + $options['_body_as_string'] = $options['curl']['body_as_string']; + unset($options['curl']['body_as_string']); + } + + $easy = new EasyHandle; + $easy->request = $request; + $easy->options = $options; + $conf = $this->getDefaultConf($easy); + $this->applyMethod($easy, $conf); + $this->applyHandlerOptions($easy, $conf); + $this->applyHeaders($easy, $conf); + unset($conf['_headers']); + + // Add handler options from the request configuration options + if (isset($options['curl'])) { + $conf = array_replace($conf, $options['curl']); + } + + $conf[CURLOPT_HEADERFUNCTION] = $this->createHeaderFn($easy); + $easy->handle = $this->handles + ? array_pop($this->handles) + : curl_init(); + curl_setopt_array($easy->handle, $conf); + + return $easy; + } + + public function release(EasyHandle $easy) + { + $resource = $easy->handle; + unset($easy->handle); + + if (count($this->handles) >= $this->maxHandles) { + curl_close($resource); + } else { + // Remove all callback functions as they can hold onto references + // and are not cleaned up by curl_reset. Using curl_setopt_array + // does not work for some reason, so removing each one + // individually. + curl_setopt($resource, CURLOPT_HEADERFUNCTION, null); + curl_setopt($resource, CURLOPT_READFUNCTION, null); + curl_setopt($resource, CURLOPT_WRITEFUNCTION, null); + curl_setopt($resource, CURLOPT_PROGRESSFUNCTION, null); + curl_reset($resource); + $this->handles[] = $resource; + } + } + + /** + * Completes a cURL transaction, either returning a response promise or a + * rejected promise. + * + * @param callable $handler + * @param EasyHandle $easy + * @param CurlFactoryInterface $factory Dictates how the handle is released + * + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public static function finish( + callable $handler, + EasyHandle $easy, + CurlFactoryInterface $factory + ) { + if (isset($easy->options['on_stats'])) { + self::invokeStats($easy); + } + + if (!$easy->response || $easy->errno) { + return self::finishError($handler, $easy, $factory); + } + + // Return the response if it is present and there is no error. + $factory->release($easy); + + // Rewind the body of the response if possible. + $body = $easy->response->getBody(); + if ($body->isSeekable()) { + $body->rewind(); + } + + return new FulfilledPromise($easy->response); + } + + private static function invokeStats(EasyHandle $easy) + { + $curlStats = curl_getinfo($easy->handle); + $stats = new TransferStats( + $easy->request, + $easy->response, + $curlStats['total_time'], + $easy->errno, + $curlStats + ); + call_user_func($easy->options['on_stats'], $stats); + } + + private static function finishError( + callable $handler, + EasyHandle $easy, + CurlFactoryInterface $factory + ) { + // Get error information and release the handle to the factory. + $ctx = [ + 'errno' => $easy->errno, + 'error' => curl_error($easy->handle), + ] + curl_getinfo($easy->handle); + $factory->release($easy); + + // Retry when nothing is present or when curl failed to rewind. + if (empty($easy->options['_err_message']) + && (!$easy->errno || $easy->errno == 65) + ) { + return self::retryFailedRewind($handler, $easy, $ctx); + } + + return self::createRejection($easy, $ctx); + } + + private static function createRejection(EasyHandle $easy, array $ctx) + { + static $connectionErrors = [ + CURLE_OPERATION_TIMEOUTED => true, + CURLE_COULDNT_RESOLVE_HOST => true, + CURLE_COULDNT_CONNECT => true, + CURLE_SSL_CONNECT_ERROR => true, + CURLE_GOT_NOTHING => true, + ]; + + // If an exception was encountered during the onHeaders event, then + // return a rejected promise that wraps that exception. + if ($easy->onHeadersException) { + return \GuzzleHttp\Promise\rejection_for( + new RequestException( + 'An error was encountered during the on_headers event', + $easy->request, + $easy->response, + $easy->onHeadersException, + $ctx + ) + ); + } + + $message = sprintf( + 'cURL error %s: %s (%s)', + $ctx['errno'], + $ctx['error'], + 'see http://curl.haxx.se/libcurl/c/libcurl-errors.html' + ); + + // Create a connection exception if it was a specific error code. + $error = isset($connectionErrors[$easy->errno]) + ? new ConnectException($message, $easy->request, null, $ctx) + : new RequestException($message, $easy->request, $easy->response, null, $ctx); + + return \GuzzleHttp\Promise\rejection_for($error); + } + + private function getDefaultConf(EasyHandle $easy) + { + $conf = [ + '_headers' => $easy->request->getHeaders(), + CURLOPT_CUSTOMREQUEST => $easy->request->getMethod(), + CURLOPT_URL => (string) $easy->request->getUri()->withFragment(''), + CURLOPT_RETURNTRANSFER => false, + CURLOPT_HEADER => false, + CURLOPT_CONNECTTIMEOUT => 150, + ]; + + if (defined('CURLOPT_PROTOCOLS')) { + $conf[CURLOPT_PROTOCOLS] = CURLPROTO_HTTP | CURLPROTO_HTTPS; + } + + $version = $easy->request->getProtocolVersion(); + if ($version == 1.1) { + $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_1; + } elseif ($version == 2.0) { + $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_2_0; + } else { + $conf[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0; + } + + return $conf; + } + + private function applyMethod(EasyHandle $easy, array &$conf) + { + $body = $easy->request->getBody(); + $size = $body->getSize(); + + if ($size === null || $size > 0) { + $this->applyBody($easy->request, $easy->options, $conf); + return; + } + + $method = $easy->request->getMethod(); + if ($method === 'PUT' || $method === 'POST') { + // See http://tools.ietf.org/html/rfc7230#section-3.3.2 + if (!$easy->request->hasHeader('Content-Length')) { + $conf[CURLOPT_HTTPHEADER][] = 'Content-Length: 0'; + } + } elseif ($method === 'HEAD') { + $conf[CURLOPT_NOBODY] = true; + unset( + $conf[CURLOPT_WRITEFUNCTION], + $conf[CURLOPT_READFUNCTION], + $conf[CURLOPT_FILE], + $conf[CURLOPT_INFILE] + ); + } + } + + private function applyBody(RequestInterface $request, array $options, array &$conf) + { + $size = $request->hasHeader('Content-Length') + ? (int) $request->getHeaderLine('Content-Length') + : null; + + // Send the body as a string if the size is less than 1MB OR if the + // [curl][body_as_string] request value is set. + if (($size !== null && $size < 1000000) || + !empty($options['_body_as_string']) + ) { + $conf[CURLOPT_POSTFIELDS] = (string) $request->getBody(); + // Don't duplicate the Content-Length header + $this->removeHeader('Content-Length', $conf); + $this->removeHeader('Transfer-Encoding', $conf); + } else { + $conf[CURLOPT_UPLOAD] = true; + if ($size !== null) { + $conf[CURLOPT_INFILESIZE] = $size; + $this->removeHeader('Content-Length', $conf); + } + $body = $request->getBody(); + if ($body->isSeekable()) { + $body->rewind(); + } + $conf[CURLOPT_READFUNCTION] = function ($ch, $fd, $length) use ($body) { + return $body->read($length); + }; + } + + // If the Expect header is not present, prevent curl from adding it + if (!$request->hasHeader('Expect')) { + $conf[CURLOPT_HTTPHEADER][] = 'Expect:'; + } + + // cURL sometimes adds a content-type by default. Prevent this. + if (!$request->hasHeader('Content-Type')) { + $conf[CURLOPT_HTTPHEADER][] = 'Content-Type:'; + } + } + + private function applyHeaders(EasyHandle $easy, array &$conf) + { + foreach ($conf['_headers'] as $name => $values) { + foreach ($values as $value) { + $conf[CURLOPT_HTTPHEADER][] = "$name: $value"; + } + } + + // Remove the Accept header if one was not set + if (!$easy->request->hasHeader('Accept')) { + $conf[CURLOPT_HTTPHEADER][] = 'Accept:'; + } + } + + /** + * Remove a header from the options array. + * + * @param string $name Case-insensitive header to remove + * @param array $options Array of options to modify + */ + private function removeHeader($name, array &$options) + { + foreach (array_keys($options['_headers']) as $key) { + if (!strcasecmp($key, $name)) { + unset($options['_headers'][$key]); + return; + } + } + } + + private function applyHandlerOptions(EasyHandle $easy, array &$conf) + { + $options = $easy->options; + if (isset($options['verify'])) { + if ($options['verify'] === false) { + unset($conf[CURLOPT_CAINFO]); + $conf[CURLOPT_SSL_VERIFYHOST] = 0; + $conf[CURLOPT_SSL_VERIFYPEER] = false; + } else { + $conf[CURLOPT_SSL_VERIFYHOST] = 2; + $conf[CURLOPT_SSL_VERIFYPEER] = true; + if (is_string($options['verify'])) { + // Throw an error if the file/folder/link path is not valid or doesn't exist. + if (!file_exists($options['verify'])) { + throw new \InvalidArgumentException( + "SSL CA bundle not found: {$options['verify']}" + ); + } + // If it's a directory or a link to a directory use CURLOPT_CAPATH. + // If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO. + if (is_dir($options['verify']) || + (is_link($options['verify']) && is_dir(readlink($options['verify'])))) { + $conf[CURLOPT_CAPATH] = $options['verify']; + } else { + $conf[CURLOPT_CAINFO] = $options['verify']; + } + } + } + } + + if (!empty($options['decode_content'])) { + $accept = $easy->request->getHeaderLine('Accept-Encoding'); + if ($accept) { + $conf[CURLOPT_ENCODING] = $accept; + } else { + $conf[CURLOPT_ENCODING] = ''; + // Don't let curl send the header over the wire + $conf[CURLOPT_HTTPHEADER][] = 'Accept-Encoding:'; + } + } + + if (isset($options['sink'])) { + $sink = $options['sink']; + if (!is_string($sink)) { + $sink = \GuzzleHttp\Psr7\stream_for($sink); + } elseif (!is_dir(dirname($sink))) { + // Ensure that the directory exists before failing in curl. + throw new \RuntimeException(sprintf( + 'Directory %s does not exist for sink value of %s', + dirname($sink), + $sink + )); + } else { + $sink = new LazyOpenStream($sink, 'w+'); + } + $easy->sink = $sink; + $conf[CURLOPT_WRITEFUNCTION] = function ($ch, $write) use ($sink) { + return $sink->write($write); + }; + } else { + // Use a default temp stream if no sink was set. + $conf[CURLOPT_FILE] = fopen('php://temp', 'w+'); + $easy->sink = Psr7\stream_for($conf[CURLOPT_FILE]); + } + $timeoutRequiresNoSignal = false; + if (isset($options['timeout'])) { + $timeoutRequiresNoSignal |= $options['timeout'] < 1; + $conf[CURLOPT_TIMEOUT_MS] = $options['timeout'] * 1000; + } + + // CURL default value is CURL_IPRESOLVE_WHATEVER + if (isset($options['force_ip_resolve'])) { + if ('v4' === $options['force_ip_resolve']) { + $conf[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4; + } else if ('v6' === $options['force_ip_resolve']) { + $conf[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V6; + } + } + + if (isset($options['connect_timeout'])) { + $timeoutRequiresNoSignal |= $options['connect_timeout'] < 1; + $conf[CURLOPT_CONNECTTIMEOUT_MS] = $options['connect_timeout'] * 1000; + } + + if ($timeoutRequiresNoSignal && strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') { + $conf[CURLOPT_NOSIGNAL] = true; + } + + if (isset($options['proxy'])) { + if (!is_array($options['proxy'])) { + $conf[CURLOPT_PROXY] = $options['proxy']; + } else { + $scheme = $easy->request->getUri()->getScheme(); + if (isset($options['proxy'][$scheme])) { + $host = $easy->request->getUri()->getHost(); + if (!isset($options['proxy']['no']) || + !\GuzzleHttp\is_host_in_noproxy($host, $options['proxy']['no']) + ) { + $conf[CURLOPT_PROXY] = $options['proxy'][$scheme]; + } + } + } + } + + if (isset($options['cert'])) { + $cert = $options['cert']; + if (is_array($cert)) { + $conf[CURLOPT_SSLCERTPASSWD] = $cert[1]; + $cert = $cert[0]; + } + if (!file_exists($cert)) { + throw new \InvalidArgumentException( + "SSL certificate not found: {$cert}" + ); + } + $conf[CURLOPT_SSLCERT] = $cert; + } + + if (isset($options['ssl_key'])) { + $sslKey = $options['ssl_key']; + if (is_array($sslKey)) { + $conf[CURLOPT_SSLKEYPASSWD] = $sslKey[1]; + $sslKey = $sslKey[0]; + } + if (!file_exists($sslKey)) { + throw new \InvalidArgumentException( + "SSL private key not found: {$sslKey}" + ); + } + $conf[CURLOPT_SSLKEY] = $sslKey; + } + + if (isset($options['progress'])) { + $progress = $options['progress']; + if (!is_callable($progress)) { + throw new \InvalidArgumentException( + 'progress client option must be callable' + ); + } + $conf[CURLOPT_NOPROGRESS] = false; + $conf[CURLOPT_PROGRESSFUNCTION] = function () use ($progress) { + $args = func_get_args(); + // PHP 5.5 pushed the handle onto the start of the args + if (is_resource($args[0])) { + array_shift($args); + } + call_user_func_array($progress, $args); + }; + } + + if (!empty($options['debug'])) { + $conf[CURLOPT_STDERR] = \GuzzleHttp\debug_resource($options['debug']); + $conf[CURLOPT_VERBOSE] = true; + } + } + + /** + * This function ensures that a response was set on a transaction. If one + * was not set, then the request is retried if possible. This error + * typically means you are sending a payload, curl encountered a + * "Connection died, retrying a fresh connect" error, tried to rewind the + * stream, and then encountered a "necessary data rewind wasn't possible" + * error, causing the request to be sent through curl_multi_info_read() + * without an error status. + */ + private static function retryFailedRewind( + callable $handler, + EasyHandle $easy, + array $ctx + ) { + try { + // Only rewind if the body has been read from. + $body = $easy->request->getBody(); + if ($body->tell() > 0) { + $body->rewind(); + } + } catch (\RuntimeException $e) { + $ctx['error'] = 'The connection unexpectedly failed without ' + . 'providing an error. The request would have been retried, ' + . 'but attempting to rewind the request body failed. ' + . 'Exception: ' . $e; + return self::createRejection($easy, $ctx); + } + + // Retry no more than 3 times before giving up. + if (!isset($easy->options['_curl_retries'])) { + $easy->options['_curl_retries'] = 1; + } elseif ($easy->options['_curl_retries'] == 2) { + $ctx['error'] = 'The cURL request was retried 3 times ' + . 'and did not succeed. The most likely reason for the failure ' + . 'is that cURL was unable to rewind the body of the request ' + . 'and subsequent retries resulted in the same error. Turn on ' + . 'the debug option to see what went wrong. See ' + . 'https://bugs.php.net/bug.php?id=47204 for more information.'; + return self::createRejection($easy, $ctx); + } else { + $easy->options['_curl_retries']++; + } + + return $handler($easy->request, $easy->options); + } + + private function createHeaderFn(EasyHandle $easy) + { + if (isset($easy->options['on_headers'])) { + $onHeaders = $easy->options['on_headers']; + + if (!is_callable($onHeaders)) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + } else { + $onHeaders = null; + } + + return function ($ch, $h) use ( + $onHeaders, + $easy, + &$startingResponse + ) { + $value = trim($h); + if ($value === '') { + $startingResponse = true; + $easy->createResponse(); + if ($onHeaders !== null) { + try { + $onHeaders($easy->response); + } catch (\Exception $e) { + // Associate the exception with the handle and trigger + // a curl header write error by returning 0. + $easy->onHeadersException = $e; + return -1; + } + } + } elseif ($startingResponse) { + $startingResponse = false; + $easy->headers = [$value]; + } else { + $easy->headers[] = $value; + } + return strlen($h); + }; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php new file mode 100644 index 00000000..b0fc2368 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php @@ -0,0 +1,27 @@ +factory = isset($options['handle_factory']) + ? $options['handle_factory'] + : new CurlFactory(3); + } + + public function __invoke(RequestInterface $request, array $options) + { + if (isset($options['delay'])) { + usleep($options['delay'] * 1000); + } + + $easy = $this->factory->create($request, $options); + curl_exec($easy->handle); + $easy->errno = curl_errno($easy->handle); + + return CurlFactory::finish($this, $easy, $this->factory); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php new file mode 100644 index 00000000..945d06ee --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php @@ -0,0 +1,197 @@ +factory = isset($options['handle_factory']) + ? $options['handle_factory'] : new CurlFactory(50); + $this->selectTimeout = isset($options['select_timeout']) + ? $options['select_timeout'] : 1; + } + + public function __get($name) + { + if ($name === '_mh') { + return $this->_mh = curl_multi_init(); + } + + throw new \BadMethodCallException(); + } + + public function __destruct() + { + if (isset($this->_mh)) { + curl_multi_close($this->_mh); + unset($this->_mh); + } + } + + public function __invoke(RequestInterface $request, array $options) + { + $easy = $this->factory->create($request, $options); + $id = (int) $easy->handle; + + $promise = new Promise( + [$this, 'execute'], + function () use ($id) { return $this->cancel($id); } + ); + + $this->addRequest(['easy' => $easy, 'deferred' => $promise]); + + return $promise; + } + + /** + * Ticks the curl event loop. + */ + public function tick() + { + // Add any delayed handles if needed. + if ($this->delays) { + $currentTime = microtime(true); + foreach ($this->delays as $id => $delay) { + if ($currentTime >= $delay) { + unset($this->delays[$id]); + curl_multi_add_handle( + $this->_mh, + $this->handles[$id]['easy']->handle + ); + } + } + } + + // Step through the task queue which may add additional requests. + P\queue()->run(); + + if ($this->active && + curl_multi_select($this->_mh, $this->selectTimeout) === -1 + ) { + // Perform a usleep if a select returns -1. + // See: https://bugs.php.net/bug.php?id=61141 + usleep(250); + } + + while (curl_multi_exec($this->_mh, $this->active) === CURLM_CALL_MULTI_PERFORM); + + $this->processMessages(); + } + + /** + * Runs until all outstanding connections have completed. + */ + public function execute() + { + $queue = P\queue(); + + while ($this->handles || !$queue->isEmpty()) { + // If there are no transfers, then sleep for the next delay + if (!$this->active && $this->delays) { + usleep($this->timeToNext()); + } + $this->tick(); + } + } + + private function addRequest(array $entry) + { + $easy = $entry['easy']; + $id = (int) $easy->handle; + $this->handles[$id] = $entry; + if (empty($easy->options['delay'])) { + curl_multi_add_handle($this->_mh, $easy->handle); + } else { + $this->delays[$id] = microtime(true) + ($easy->options['delay'] / 1000); + } + } + + /** + * Cancels a handle from sending and removes references to it. + * + * @param int $id Handle ID to cancel and remove. + * + * @return bool True on success, false on failure. + */ + private function cancel($id) + { + // Cannot cancel if it has been processed. + if (!isset($this->handles[$id])) { + return false; + } + + $handle = $this->handles[$id]['easy']->handle; + unset($this->delays[$id], $this->handles[$id]); + curl_multi_remove_handle($this->_mh, $handle); + curl_close($handle); + + return true; + } + + private function processMessages() + { + while ($done = curl_multi_info_read($this->_mh)) { + $id = (int) $done['handle']; + curl_multi_remove_handle($this->_mh, $done['handle']); + + if (!isset($this->handles[$id])) { + // Probably was cancelled. + continue; + } + + $entry = $this->handles[$id]; + unset($this->handles[$id], $this->delays[$id]); + $entry['easy']->errno = $done['result']; + $entry['deferred']->resolve( + CurlFactory::finish( + $this, + $entry['easy'], + $this->factory + ) + ); + } + } + + private function timeToNext() + { + $currentTime = microtime(true); + $nextTime = PHP_INT_MAX; + foreach ($this->delays as $time) { + if ($time < $nextTime) { + $nextTime = $time; + } + } + + return max(0, $nextTime - $currentTime) * 1000000; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php new file mode 100644 index 00000000..7754e911 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/EasyHandle.php @@ -0,0 +1,92 @@ +headers)) { + throw new \RuntimeException('No headers have been received'); + } + + // HTTP-version SP status-code SP reason-phrase + $startLine = explode(' ', array_shift($this->headers), 3); + $headers = \GuzzleHttp\headers_from_lines($this->headers); + $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers); + + if (!empty($this->options['decode_content']) + && isset($normalizedKeys['content-encoding']) + ) { + $headers['x-encoded-content-encoding'] + = $headers[$normalizedKeys['content-encoding']]; + unset($headers[$normalizedKeys['content-encoding']]); + if (isset($normalizedKeys['content-length'])) { + $headers['x-encoded-content-length'] + = $headers[$normalizedKeys['content-length']]; + + $bodyLength = (int) $this->sink->getSize(); + if ($bodyLength) { + $headers[$normalizedKeys['content-length']] = $bodyLength; + } else { + unset($headers[$normalizedKeys['content-length']]); + } + } + } + + // Attach a response to the easy handle with the parsed headers. + $this->response = new Response( + $startLine[1], + $headers, + $this->sink, + substr($startLine[0], 5), + isset($startLine[2]) ? (string) $startLine[2] : null + ); + } + + public function __get($name) + { + $msg = $name === 'handle' + ? 'The EasyHandle has been released' + : 'Invalid property: ' . $name; + throw new \BadMethodCallException($msg); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php new file mode 100644 index 00000000..d892061c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/MockHandler.php @@ -0,0 +1,189 @@ +onFulfilled = $onFulfilled; + $this->onRejected = $onRejected; + + if ($queue) { + call_user_func_array([$this, 'append'], $queue); + } + } + + public function __invoke(RequestInterface $request, array $options) + { + if (!$this->queue) { + throw new \OutOfBoundsException('Mock queue is empty'); + } + + if (isset($options['delay'])) { + usleep($options['delay'] * 1000); + } + + $this->lastRequest = $request; + $this->lastOptions = $options; + $response = array_shift($this->queue); + + if (isset($options['on_headers'])) { + if (!is_callable($options['on_headers'])) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + try { + $options['on_headers']($response); + } catch (\Exception $e) { + $msg = 'An error was encountered during the on_headers event'; + $response = new RequestException($msg, $request, $response, $e); + } + } + + if (is_callable($response)) { + $response = call_user_func($response, $request, $options); + } + + $response = $response instanceof \Exception + ? \GuzzleHttp\Promise\rejection_for($response) + : \GuzzleHttp\Promise\promise_for($response); + + return $response->then( + function ($value) use ($request, $options) { + $this->invokeStats($request, $options, $value); + if ($this->onFulfilled) { + call_user_func($this->onFulfilled, $value); + } + if (isset($options['sink'])) { + $contents = (string) $value->getBody(); + $sink = $options['sink']; + + if (is_resource($sink)) { + fwrite($sink, $contents); + } elseif (is_string($sink)) { + file_put_contents($sink, $contents); + } elseif ($sink instanceof \Psr\Http\Message\StreamInterface) { + $sink->write($contents); + } + } + + return $value; + }, + function ($reason) use ($request, $options) { + $this->invokeStats($request, $options, null, $reason); + if ($this->onRejected) { + call_user_func($this->onRejected, $reason); + } + return \GuzzleHttp\Promise\rejection_for($reason); + } + ); + } + + /** + * Adds one or more variadic requests, exceptions, callables, or promises + * to the queue. + */ + public function append() + { + foreach (func_get_args() as $value) { + if ($value instanceof ResponseInterface + || $value instanceof \Exception + || $value instanceof PromiseInterface + || is_callable($value) + ) { + $this->queue[] = $value; + } else { + throw new \InvalidArgumentException('Expected a response or ' + . 'exception. Found ' . \GuzzleHttp\describe_type($value)); + } + } + } + + /** + * Get the last received request. + * + * @return RequestInterface + */ + public function getLastRequest() + { + return $this->lastRequest; + } + + /** + * Get the last received request options. + * + * @return array + */ + public function getLastOptions() + { + return $this->lastOptions; + } + + /** + * Returns the number of remaining items in the queue. + * + * @return int + */ + public function count() + { + return count($this->queue); + } + + private function invokeStats( + RequestInterface $request, + array $options, + ResponseInterface $response = null, + $reason = null + ) { + if (isset($options['on_stats'])) { + $stats = new TransferStats($request, $response, 0, $reason); + call_user_func($options['on_stats'], $stats); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php new file mode 100644 index 00000000..f8b00be0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Handler/Proxy.php @@ -0,0 +1,55 @@ +withoutHeader('Expect'); + + // Append a content-length header if body size is zero to match + // cURL's behavior. + if (0 === $request->getBody()->getSize()) { + $request = $request->withHeader('Content-Length', 0); + } + + return $this->createResponse( + $request, + $options, + $this->createStream($request, $options), + $startTime + ); + } catch (\InvalidArgumentException $e) { + throw $e; + } catch (\Exception $e) { + // Determine if the error was a networking error. + $message = $e->getMessage(); + // This list can probably get more comprehensive. + if (strpos($message, 'getaddrinfo') // DNS lookup failed + || strpos($message, 'Connection refused') + || strpos($message, "couldn't connect to host") // error on HHVM + ) { + $e = new ConnectException($e->getMessage(), $request, $e); + } + $e = RequestException::wrapException($request, $e); + $this->invokeStats($options, $request, $startTime, null, $e); + + return \GuzzleHttp\Promise\rejection_for($e); + } + } + + private function invokeStats( + array $options, + RequestInterface $request, + $startTime, + ResponseInterface $response = null, + $error = null + ) { + if (isset($options['on_stats'])) { + $stats = new TransferStats( + $request, + $response, + microtime(true) - $startTime, + $error, + [] + ); + call_user_func($options['on_stats'], $stats); + } + } + + private function createResponse( + RequestInterface $request, + array $options, + $stream, + $startTime + ) { + $hdrs = $this->lastHeaders; + $this->lastHeaders = []; + $parts = explode(' ', array_shift($hdrs), 3); + $ver = explode('/', $parts[0])[1]; + $status = $parts[1]; + $reason = isset($parts[2]) ? $parts[2] : null; + $headers = \GuzzleHttp\headers_from_lines($hdrs); + list ($stream, $headers) = $this->checkDecode($options, $headers, $stream); + $stream = Psr7\stream_for($stream); + $sink = $stream; + + if (strcasecmp('HEAD', $request->getMethod())) { + $sink = $this->createSink($stream, $options); + } + + $response = new Psr7\Response($status, $headers, $sink, $ver, $reason); + + if (isset($options['on_headers'])) { + try { + $options['on_headers']($response); + } catch (\Exception $e) { + $msg = 'An error was encountered during the on_headers event'; + $ex = new RequestException($msg, $request, $response, $e); + return \GuzzleHttp\Promise\rejection_for($ex); + } + } + + // Do not drain when the request is a HEAD request because they have + // no body. + if ($sink !== $stream) { + $this->drain( + $stream, + $sink, + $response->getHeaderLine('Content-Length') + ); + } + + $this->invokeStats($options, $request, $startTime, $response, null); + + return new FulfilledPromise($response); + } + + private function createSink(StreamInterface $stream, array $options) + { + if (!empty($options['stream'])) { + return $stream; + } + + $sink = isset($options['sink']) + ? $options['sink'] + : fopen('php://temp', 'r+'); + + return is_string($sink) + ? new Psr7\LazyOpenStream($sink, 'w+') + : Psr7\stream_for($sink); + } + + private function checkDecode(array $options, array $headers, $stream) + { + // Automatically decode responses when instructed. + if (!empty($options['decode_content'])) { + $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers); + if (isset($normalizedKeys['content-encoding'])) { + $encoding = $headers[$normalizedKeys['content-encoding']]; + if ($encoding[0] === 'gzip' || $encoding[0] === 'deflate') { + $stream = new Psr7\InflateStream( + Psr7\stream_for($stream) + ); + $headers['x-encoded-content-encoding'] + = $headers[$normalizedKeys['content-encoding']]; + // Remove content-encoding header + unset($headers[$normalizedKeys['content-encoding']]); + // Fix content-length header + if (isset($normalizedKeys['content-length'])) { + $headers['x-encoded-content-length'] + = $headers[$normalizedKeys['content-length']]; + + $length = (int) $stream->getSize(); + if ($length === 0) { + unset($headers[$normalizedKeys['content-length']]); + } else { + $headers[$normalizedKeys['content-length']] = [$length]; + } + } + } + } + } + + return [$stream, $headers]; + } + + /** + * Drains the source stream into the "sink" client option. + * + * @param StreamInterface $source + * @param StreamInterface $sink + * @param string $contentLength Header specifying the amount of + * data to read. + * + * @return StreamInterface + * @throws \RuntimeException when the sink option is invalid. + */ + private function drain( + StreamInterface $source, + StreamInterface $sink, + $contentLength + ) { + // If a content-length header is provided, then stop reading once + // that number of bytes has been read. This can prevent infinitely + // reading from a stream when dealing with servers that do not honor + // Connection: Close headers. + Psr7\copy_to_stream( + $source, + $sink, + (strlen($contentLength) > 0 && (int) $contentLength > 0) ? (int) $contentLength : -1 + ); + + $sink->seek(0); + $source->close(); + + return $sink; + } + + /** + * Create a resource and check to ensure it was created successfully + * + * @param callable $callback Callable that returns stream resource + * + * @return resource + * @throws \RuntimeException on error + */ + private function createResource(callable $callback) + { + $errors = null; + set_error_handler(function ($_, $msg, $file, $line) use (&$errors) { + $errors[] = [ + 'message' => $msg, + 'file' => $file, + 'line' => $line + ]; + return true; + }); + + $resource = $callback(); + restore_error_handler(); + + if (!$resource) { + $message = 'Error creating resource: '; + foreach ($errors as $err) { + foreach ($err as $key => $value) { + $message .= "[$key] $value" . PHP_EOL; + } + } + throw new \RuntimeException(trim($message)); + } + + return $resource; + } + + private function createStream(RequestInterface $request, array $options) + { + static $methods; + if (!$methods) { + $methods = array_flip(get_class_methods(__CLASS__)); + } + + // HTTP/1.1 streams using the PHP stream wrapper require a + // Connection: close header + if ($request->getProtocolVersion() == '1.1' + && !$request->hasHeader('Connection') + ) { + $request = $request->withHeader('Connection', 'close'); + } + + // Ensure SSL is verified by default + if (!isset($options['verify'])) { + $options['verify'] = true; + } + + $params = []; + $context = $this->getDefaultContext($request, $options); + + if (isset($options['on_headers']) && !is_callable($options['on_headers'])) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + + if (!empty($options)) { + foreach ($options as $key => $value) { + $method = "add_{$key}"; + if (isset($methods[$method])) { + $this->{$method}($request, $context, $value, $params); + } + } + } + + if (isset($options['stream_context'])) { + if (!is_array($options['stream_context'])) { + throw new \InvalidArgumentException('stream_context must be an array'); + } + $context = array_replace_recursive( + $context, + $options['stream_context'] + ); + } + + // Microsoft NTLM authentication only supported with curl handler + if (isset($options['auth']) + && is_array($options['auth']) + && isset($options['auth'][2]) + && 'ntlm' == $options['auth'][2] + ) { + + throw new \InvalidArgumentException('Microsoft NTLM authentication only supported with curl handler'); + } + + $uri = $this->resolveHost($request, $options); + + $context = $this->createResource( + function () use ($context, $params) { + return stream_context_create($context, $params); + } + ); + + return $this->createResource( + function () use ($uri, &$http_response_header, $context, $options) { + $resource = fopen((string) $uri, 'r', null, $context); + $this->lastHeaders = $http_response_header; + + if (isset($options['read_timeout'])) { + $readTimeout = $options['read_timeout']; + $sec = (int) $readTimeout; + $usec = ($readTimeout - $sec) * 100000; + stream_set_timeout($resource, $sec, $usec); + } + + return $resource; + } + ); + } + + private function resolveHost(RequestInterface $request, array $options) + { + $uri = $request->getUri(); + + if (isset($options['force_ip_resolve']) && !filter_var($uri->getHost(), FILTER_VALIDATE_IP)) { + if ('v4' === $options['force_ip_resolve']) { + $records = dns_get_record($uri->getHost(), DNS_A); + if (!isset($records[0]['ip'])) { + throw new ConnectException(sprintf("Could not resolve IPv4 address for host '%s'", $uri->getHost()), $request); + } + $uri = $uri->withHost($records[0]['ip']); + } elseif ('v6' === $options['force_ip_resolve']) { + $records = dns_get_record($uri->getHost(), DNS_AAAA); + if (!isset($records[0]['ipv6'])) { + throw new ConnectException(sprintf("Could not resolve IPv6 address for host '%s'", $uri->getHost()), $request); + } + $uri = $uri->withHost('[' . $records[0]['ipv6'] . ']'); + } + } + + return $uri; + } + + private function getDefaultContext(RequestInterface $request) + { + $headers = ''; + foreach ($request->getHeaders() as $name => $value) { + foreach ($value as $val) { + $headers .= "$name: $val\r\n"; + } + } + + $context = [ + 'http' => [ + 'method' => $request->getMethod(), + 'header' => $headers, + 'protocol_version' => $request->getProtocolVersion(), + 'ignore_errors' => true, + 'follow_location' => 0, + ], + ]; + + $body = (string) $request->getBody(); + + if (!empty($body)) { + $context['http']['content'] = $body; + // Prevent the HTTP handler from adding a Content-Type header. + if (!$request->hasHeader('Content-Type')) { + $context['http']['header'] .= "Content-Type:\r\n"; + } + } + + $context['http']['header'] = rtrim($context['http']['header']); + + return $context; + } + + private function add_proxy(RequestInterface $request, &$options, $value, &$params) + { + if (!is_array($value)) { + $options['http']['proxy'] = $value; + } else { + $scheme = $request->getUri()->getScheme(); + if (isset($value[$scheme])) { + if (!isset($value['no']) + || !\GuzzleHttp\is_host_in_noproxy( + $request->getUri()->getHost(), + $value['no'] + ) + ) { + $options['http']['proxy'] = $value[$scheme]; + } + } + } + } + + private function add_timeout(RequestInterface $request, &$options, $value, &$params) + { + if ($value > 0) { + $options['http']['timeout'] = $value; + } + } + + private function add_verify(RequestInterface $request, &$options, $value, &$params) + { + if ($value === true) { + // PHP 5.6 or greater will find the system cert by default. When + // < 5.6, use the Guzzle bundled cacert. + if (PHP_VERSION_ID < 50600) { + $options['ssl']['cafile'] = \GuzzleHttp\default_ca_bundle(); + } + } elseif (is_string($value)) { + $options['ssl']['cafile'] = $value; + if (!file_exists($value)) { + throw new \RuntimeException("SSL CA bundle not found: $value"); + } + } elseif ($value === false) { + $options['ssl']['verify_peer'] = false; + $options['ssl']['verify_peer_name'] = false; + return; + } else { + throw new \InvalidArgumentException('Invalid verify request option'); + } + + $options['ssl']['verify_peer'] = true; + $options['ssl']['verify_peer_name'] = true; + $options['ssl']['allow_self_signed'] = false; + } + + private function add_cert(RequestInterface $request, &$options, $value, &$params) + { + if (is_array($value)) { + $options['ssl']['passphrase'] = $value[1]; + $value = $value[0]; + } + + if (!file_exists($value)) { + throw new \RuntimeException("SSL certificate not found: {$value}"); + } + + $options['ssl']['local_cert'] = $value; + } + + private function add_progress(RequestInterface $request, &$options, $value, &$params) + { + $this->addNotification( + $params, + function ($code, $a, $b, $c, $transferred, $total) use ($value) { + if ($code == STREAM_NOTIFY_PROGRESS) { + $value($total, $transferred, null, null); + } + } + ); + } + + private function add_debug(RequestInterface $request, &$options, $value, &$params) + { + if ($value === false) { + return; + } + + static $map = [ + STREAM_NOTIFY_CONNECT => 'CONNECT', + STREAM_NOTIFY_AUTH_REQUIRED => 'AUTH_REQUIRED', + STREAM_NOTIFY_AUTH_RESULT => 'AUTH_RESULT', + STREAM_NOTIFY_MIME_TYPE_IS => 'MIME_TYPE_IS', + STREAM_NOTIFY_FILE_SIZE_IS => 'FILE_SIZE_IS', + STREAM_NOTIFY_REDIRECTED => 'REDIRECTED', + STREAM_NOTIFY_PROGRESS => 'PROGRESS', + STREAM_NOTIFY_FAILURE => 'FAILURE', + STREAM_NOTIFY_COMPLETED => 'COMPLETED', + STREAM_NOTIFY_RESOLVE => 'RESOLVE', + ]; + static $args = ['severity', 'message', 'message_code', + 'bytes_transferred', 'bytes_max']; + + $value = \GuzzleHttp\debug_resource($value); + $ident = $request->getMethod() . ' ' . $request->getUri()->withFragment(''); + $this->addNotification( + $params, + function () use ($ident, $value, $map, $args) { + $passed = func_get_args(); + $code = array_shift($passed); + fprintf($value, '<%s> [%s] ', $ident, $map[$code]); + foreach (array_filter($passed) as $i => $v) { + fwrite($value, $args[$i] . ': "' . $v . '" '); + } + fwrite($value, "\n"); + } + ); + } + + private function addNotification(array &$params, callable $notify) + { + // Wrap the existing function if needed. + if (!isset($params['notification'])) { + $params['notification'] = $notify; + } else { + $params['notification'] = $this->callArray([ + $params['notification'], + $notify + ]); + } + } + + private function callArray(array $functions) + { + return function () use ($functions) { + $args = func_get_args(); + foreach ($functions as $fn) { + call_user_func_array($fn, $args); + } + }; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php new file mode 100644 index 00000000..a72e38a5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/HandlerStack.php @@ -0,0 +1,273 @@ +push(Middleware::httpErrors(), 'http_errors'); + $stack->push(Middleware::redirect(), 'allow_redirects'); + $stack->push(Middleware::cookies(), 'cookies'); + $stack->push(Middleware::prepareBody(), 'prepare_body'); + + return $stack; + } + + /** + * @param callable $handler Underlying HTTP handler. + */ + public function __construct(callable $handler = null) + { + $this->handler = $handler; + } + + /** + * Invokes the handler stack as a composed handler + * + * @param RequestInterface $request + * @param array $options + */ + public function __invoke(RequestInterface $request, array $options) + { + $handler = $this->resolve(); + + return $handler($request, $options); + } + + /** + * Dumps a string representation of the stack. + * + * @return string + */ + public function __toString() + { + $depth = 0; + $stack = []; + if ($this->handler) { + $stack[] = "0) Handler: " . $this->debugCallable($this->handler); + } + + $result = ''; + foreach (array_reverse($this->stack) as $tuple) { + $depth++; + $str = "{$depth}) Name: '{$tuple[1]}', "; + $str .= "Function: " . $this->debugCallable($tuple[0]); + $result = "> {$str}\n{$result}"; + $stack[] = $str; + } + + foreach (array_keys($stack) as $k) { + $result .= "< {$stack[$k]}\n"; + } + + return $result; + } + + /** + * Set the HTTP handler that actually returns a promise. + * + * @param callable $handler Accepts a request and array of options and + * returns a Promise. + */ + public function setHandler(callable $handler) + { + $this->handler = $handler; + $this->cached = null; + } + + /** + * Returns true if the builder has a handler. + * + * @return bool + */ + public function hasHandler() + { + return (bool) $this->handler; + } + + /** + * Unshift a middleware to the bottom of the stack. + * + * @param callable $middleware Middleware function + * @param string $name Name to register for this middleware. + */ + public function unshift(callable $middleware, $name = null) + { + array_unshift($this->stack, [$middleware, $name]); + $this->cached = null; + } + + /** + * Push a middleware to the top of the stack. + * + * @param callable $middleware Middleware function + * @param string $name Name to register for this middleware. + */ + public function push(callable $middleware, $name = '') + { + $this->stack[] = [$middleware, $name]; + $this->cached = null; + } + + /** + * Add a middleware before another middleware by name. + * + * @param string $findName Middleware to find + * @param callable $middleware Middleware function + * @param string $withName Name to register for this middleware. + */ + public function before($findName, callable $middleware, $withName = '') + { + $this->splice($findName, $withName, $middleware, true); + } + + /** + * Add a middleware after another middleware by name. + * + * @param string $findName Middleware to find + * @param callable $middleware Middleware function + * @param string $withName Name to register for this middleware. + */ + public function after($findName, callable $middleware, $withName = '') + { + $this->splice($findName, $withName, $middleware, false); + } + + /** + * Remove a middleware by instance or name from the stack. + * + * @param callable|string $remove Middleware to remove by instance or name. + */ + public function remove($remove) + { + $this->cached = null; + $idx = is_callable($remove) ? 0 : 1; + $this->stack = array_values(array_filter( + $this->stack, + function ($tuple) use ($idx, $remove) { + return $tuple[$idx] !== $remove; + } + )); + } + + /** + * Compose the middleware and handler into a single callable function. + * + * @return callable + */ + public function resolve() + { + if (!$this->cached) { + if (!($prev = $this->handler)) { + throw new \LogicException('No handler has been specified'); + } + + foreach (array_reverse($this->stack) as $fn) { + $prev = $fn[0]($prev); + } + + $this->cached = $prev; + } + + return $this->cached; + } + + /** + * @param $name + * @return int + */ + private function findByName($name) + { + foreach ($this->stack as $k => $v) { + if ($v[1] === $name) { + return $k; + } + } + + throw new \InvalidArgumentException("Middleware not found: $name"); + } + + /** + * Splices a function into the middleware list at a specific position. + * + * @param $findName + * @param $withName + * @param callable $middleware + * @param $before + */ + private function splice($findName, $withName, callable $middleware, $before) + { + $this->cached = null; + $idx = $this->findByName($findName); + $tuple = [$middleware, $withName]; + + if ($before) { + if ($idx === 0) { + array_unshift($this->stack, $tuple); + } else { + $replacement = [$tuple, $this->stack[$idx]]; + array_splice($this->stack, $idx, 1, $replacement); + } + } elseif ($idx === count($this->stack) - 1) { + $this->stack[] = $tuple; + } else { + $replacement = [$this->stack[$idx], $tuple]; + array_splice($this->stack, $idx, 1, $replacement); + } + } + + /** + * Provides a debug string for a given callable. + * + * @param array|callable $fn Function to write as a string. + * + * @return string + */ + private function debugCallable($fn) + { + if (is_string($fn)) { + return "callable({$fn})"; + } + + if (is_array($fn)) { + return is_string($fn[0]) + ? "callable({$fn[0]}::{$fn[1]})" + : "callable(['" . get_class($fn[0]) . "', '{$fn[1]}'])"; + } + + return 'callable(' . spl_object_hash($fn) . ')'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php new file mode 100644 index 00000000..6b090a97 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/MessageFormatter.php @@ -0,0 +1,182 @@ +>>>>>>>\n{request}\n<<<<<<<<\n{response}\n--------\n{error}"; + const SHORT = '[{ts}] "{method} {target} HTTP/{version}" {code}'; + + /** @var string Template used to format log messages */ + private $template; + + /** + * @param string $template Log message template + */ + public function __construct($template = self::CLF) + { + $this->template = $template ?: self::CLF; + } + + /** + * Returns a formatted message string. + * + * @param RequestInterface $request Request that was sent + * @param ResponseInterface $response Response that was received + * @param \Exception $error Exception that was received + * + * @return string + */ + public function format( + RequestInterface $request, + ResponseInterface $response = null, + \Exception $error = null + ) { + $cache = []; + + return preg_replace_callback( + '/{\s*([A-Za-z_\-\.0-9]+)\s*}/', + function (array $matches) use ($request, $response, $error, &$cache) { + + if (isset($cache[$matches[1]])) { + return $cache[$matches[1]]; + } + + $result = ''; + switch ($matches[1]) { + case 'request': + $result = Psr7\str($request); + break; + case 'response': + $result = $response ? Psr7\str($response) : ''; + break; + case 'req_headers': + $result = trim($request->getMethod() + . ' ' . $request->getRequestTarget()) + . ' HTTP/' . $request->getProtocolVersion() . "\r\n" + . $this->headers($request); + break; + case 'res_headers': + $result = $response ? + sprintf( + 'HTTP/%s %d %s', + $response->getProtocolVersion(), + $response->getStatusCode(), + $response->getReasonPhrase() + ) . "\r\n" . $this->headers($response) + : 'NULL'; + break; + case 'req_body': + $result = $request->getBody(); + break; + case 'res_body': + $result = $response ? $response->getBody() : 'NULL'; + break; + case 'ts': + case 'date_iso_8601': + $result = gmdate('c'); + break; + case 'date_common_log': + $result = date('d/M/Y:H:i:s O'); + break; + case 'method': + $result = $request->getMethod(); + break; + case 'version': + $result = $request->getProtocolVersion(); + break; + case 'uri': + case 'url': + $result = $request->getUri(); + break; + case 'target': + $result = $request->getRequestTarget(); + break; + case 'req_version': + $result = $request->getProtocolVersion(); + break; + case 'res_version': + $result = $response + ? $response->getProtocolVersion() + : 'NULL'; + break; + case 'host': + $result = $request->getHeaderLine('Host'); + break; + case 'hostname': + $result = gethostname(); + break; + case 'code': + $result = $response ? $response->getStatusCode() : 'NULL'; + break; + case 'phrase': + $result = $response ? $response->getReasonPhrase() : 'NULL'; + break; + case 'error': + $result = $error ? $error->getMessage() : 'NULL'; + break; + default: + // handle prefixed dynamic headers + if (strpos($matches[1], 'req_header_') === 0) { + $result = $request->getHeaderLine(substr($matches[1], 11)); + } elseif (strpos($matches[1], 'res_header_') === 0) { + $result = $response + ? $response->getHeaderLine(substr($matches[1], 11)) + : 'NULL'; + } + } + + $cache[$matches[1]] = $result; + return $result; + }, + $this->template + ); + } + + private function headers(MessageInterface $message) + { + $result = ''; + foreach ($message->getHeaders() as $name => $values) { + $result .= $name . ': ' . implode(', ', $values) . "\r\n"; + } + + return trim($result); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php new file mode 100644 index 00000000..9d79bd26 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Middleware.php @@ -0,0 +1,254 @@ +withCookieHeader($request); + return $handler($request, $options) + ->then(function ($response) use ($cookieJar, $request) { + $cookieJar->extractCookies($request, $response); + return $response; + } + ); + }; + }; + } + + /** + * Middleware that throws exceptions for 4xx or 5xx responses when the + * "http_error" request option is set to true. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function httpErrors() + { + return function (callable $handler) { + return function ($request, array $options) use ($handler) { + if (empty($options['http_errors'])) { + return $handler($request, $options); + } + return $handler($request, $options)->then( + function (ResponseInterface $response) use ($request, $handler) { + $code = $response->getStatusCode(); + if ($code < 400) { + return $response; + } + throw RequestException::create($request, $response); + } + ); + }; + }; + } + + /** + * Middleware that pushes history data to an ArrayAccess container. + * + * @param array $container Container to hold the history (by reference). + * + * @return callable Returns a function that accepts the next handler. + * @throws \InvalidArgumentException if container is not an array or ArrayAccess. + */ + public static function history(&$container) + { + if (!is_array($container) && !$container instanceof \ArrayAccess) { + throw new \InvalidArgumentException('history container must be an array or object implementing ArrayAccess'); + } + + return function (callable $handler) use (&$container) { + return function ($request, array $options) use ($handler, &$container) { + return $handler($request, $options)->then( + function ($value) use ($request, &$container, $options) { + $container[] = [ + 'request' => $request, + 'response' => $value, + 'error' => null, + 'options' => $options + ]; + return $value; + }, + function ($reason) use ($request, &$container, $options) { + $container[] = [ + 'request' => $request, + 'response' => null, + 'error' => $reason, + 'options' => $options + ]; + return \GuzzleHttp\Promise\rejection_for($reason); + } + ); + }; + }; + } + + /** + * Middleware that invokes a callback before and after sending a request. + * + * The provided listener cannot modify or alter the response. It simply + * "taps" into the chain to be notified before returning the promise. The + * before listener accepts a request and options array, and the after + * listener accepts a request, options array, and response promise. + * + * @param callable $before Function to invoke before forwarding the request. + * @param callable $after Function invoked after forwarding. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function tap(callable $before = null, callable $after = null) + { + return function (callable $handler) use ($before, $after) { + return function ($request, array $options) use ($handler, $before, $after) { + if ($before) { + $before($request, $options); + } + $response = $handler($request, $options); + if ($after) { + $after($request, $options, $response); + } + return $response; + }; + }; + } + + /** + * Middleware that handles request redirects. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function redirect() + { + return function (callable $handler) { + return new RedirectMiddleware($handler); + }; + } + + /** + * Middleware that retries requests based on the boolean result of + * invoking the provided "decider" function. + * + * If no delay function is provided, a simple implementation of exponential + * backoff will be utilized. + * + * @param callable $decider Function that accepts the number of retries, + * a request, [response], and [exception] and + * returns true if the request is to be retried. + * @param callable $delay Function that accepts the number of retries and + * returns the number of milliseconds to delay. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function retry(callable $decider, callable $delay = null) + { + return function (callable $handler) use ($decider, $delay) { + return new RetryMiddleware($decider, $handler, $delay); + }; + } + + /** + * Middleware that logs requests, responses, and errors using a message + * formatter. + * + * @param LoggerInterface $logger Logs messages. + * @param MessageFormatter $formatter Formatter used to create message strings. + * @param string $logLevel Level at which to log requests. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function log(LoggerInterface $logger, MessageFormatter $formatter, $logLevel = LogLevel::INFO) + { + return function (callable $handler) use ($logger, $formatter, $logLevel) { + return function ($request, array $options) use ($handler, $logger, $formatter, $logLevel) { + return $handler($request, $options)->then( + function ($response) use ($logger, $request, $formatter, $logLevel) { + $message = $formatter->format($request, $response); + $logger->log($logLevel, $message); + return $response; + }, + function ($reason) use ($logger, $request, $formatter) { + $response = $reason instanceof RequestException + ? $reason->getResponse() + : null; + $message = $formatter->format($request, $response, $reason); + $logger->notice($message); + return \GuzzleHttp\Promise\rejection_for($reason); + } + ); + }; + }; + } + + /** + * This middleware adds a default content-type if possible, a default + * content-length or transfer-encoding header, and the expect header. + * + * @return callable + */ + public static function prepareBody() + { + return function (callable $handler) { + return new PrepareBodyMiddleware($handler); + }; + } + + /** + * Middleware that applies a map function to the request before passing to + * the next handler. + * + * @param callable $fn Function that accepts a RequestInterface and returns + * a RequestInterface. + * @return callable + */ + public static function mapRequest(callable $fn) + { + return function (callable $handler) use ($fn) { + return function ($request, array $options) use ($handler, $fn) { + return $handler($fn($request), $options); + }; + }; + } + + /** + * Middleware that applies a map function to the resolved promise's + * response. + * + * @param callable $fn Function that accepts a ResponseInterface and + * returns a ResponseInterface. + * @return callable + */ + public static function mapResponse(callable $fn) + { + return function (callable $handler) use ($fn) { + return function ($request, array $options) use ($handler, $fn) { + return $handler($request, $options)->then($fn); + }; + }; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php new file mode 100644 index 00000000..8f1be33c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/Pool.php @@ -0,0 +1,123 @@ + $rfn) { + if ($rfn instanceof RequestInterface) { + yield $key => $client->sendAsync($rfn, $opts); + } elseif (is_callable($rfn)) { + yield $key => $rfn($opts); + } else { + throw new \InvalidArgumentException('Each value yielded by ' + . 'the iterator must be a Psr7\Http\Message\RequestInterface ' + . 'or a callable that returns a promise that fulfills ' + . 'with a Psr7\Message\Http\ResponseInterface object.'); + } + } + }; + + $this->each = new EachPromise($requests(), $config); + } + + public function promise() + { + return $this->each->promise(); + } + + /** + * Sends multiple requests concurrently and returns an array of responses + * and exceptions that uses the same ordering as the provided requests. + * + * IMPORTANT: This method keeps every request and response in memory, and + * as such, is NOT recommended when sending a large number or an + * indeterminate number of requests concurrently. + * + * @param ClientInterface $client Client used to send the requests + * @param array|\Iterator $requests Requests to send concurrently. + * @param array $options Passes through the options available in + * {@see GuzzleHttp\Pool::__construct} + * + * @return array Returns an array containing the response or an exception + * in the same order that the requests were sent. + * @throws \InvalidArgumentException if the event format is incorrect. + */ + public static function batch( + ClientInterface $client, + $requests, + array $options = [] + ) { + $res = []; + self::cmpCallback($options, 'fulfilled', $res); + self::cmpCallback($options, 'rejected', $res); + $pool = new static($client, $requests, $options); + $pool->promise()->wait(); + ksort($res); + + return $res; + } + + private static function cmpCallback(array &$options, $name, array &$results) + { + if (!isset($options[$name])) { + $options[$name] = function ($v, $k) use (&$results) { + $results[$k] = $v; + }; + } else { + $currentFn = $options[$name]; + $options[$name] = function ($v, $k) use (&$results, $currentFn) { + $currentFn($v, $k); + $results[$k] = $v; + }; + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php new file mode 100644 index 00000000..2eb95f9b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php @@ -0,0 +1,106 @@ +nextHandler = $nextHandler; + } + + /** + * @param RequestInterface $request + * @param array $options + * + * @return PromiseInterface + */ + public function __invoke(RequestInterface $request, array $options) + { + $fn = $this->nextHandler; + + // Don't do anything if the request has no body. + if ($request->getBody()->getSize() === 0) { + return $fn($request, $options); + } + + $modify = []; + + // Add a default content-type if possible. + if (!$request->hasHeader('Content-Type')) { + if ($uri = $request->getBody()->getMetadata('uri')) { + if ($type = Psr7\mimetype_from_filename($uri)) { + $modify['set_headers']['Content-Type'] = $type; + } + } + } + + // Add a default content-length or transfer-encoding header. + if (!$request->hasHeader('Content-Length') + && !$request->hasHeader('Transfer-Encoding') + ) { + $size = $request->getBody()->getSize(); + if ($size !== null) { + $modify['set_headers']['Content-Length'] = $size; + } else { + $modify['set_headers']['Transfer-Encoding'] = 'chunked'; + } + } + + // Add the expect header if needed. + $this->addExpectHeader($request, $options, $modify); + + return $fn(Psr7\modify_request($request, $modify), $options); + } + + private function addExpectHeader( + RequestInterface $request, + array $options, + array &$modify + ) { + // Determine if the Expect header should be used + if ($request->hasHeader('Expect')) { + return; + } + + $expect = isset($options['expect']) ? $options['expect'] : null; + + // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0 + if ($expect === false || $request->getProtocolVersion() < 1.1) { + return; + } + + // The expect header is unconditionally enabled + if ($expect === true) { + $modify['set_headers']['Expect'] = '100-Continue'; + return; + } + + // By default, send the expect header when the payload is > 1mb + if ($expect === null) { + $expect = 1048576; + } + + // Always add if the body cannot be rewound, the size cannot be + // determined, or the size is greater than the cutoff threshold + $body = $request->getBody(); + $size = $body->getSize(); + + if ($size === null || $size >= (int) $expect || !$body->isSeekable()) { + $modify['set_headers']['Expect'] = '100-Continue'; + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php new file mode 100644 index 00000000..131b7717 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RedirectMiddleware.php @@ -0,0 +1,237 @@ + 5, + 'protocols' => ['http', 'https'], + 'strict' => false, + 'referer' => false, + 'track_redirects' => false, + ]; + + /** @var callable */ + private $nextHandler; + + /** + * @param callable $nextHandler Next handler to invoke. + */ + public function __construct(callable $nextHandler) + { + $this->nextHandler = $nextHandler; + } + + /** + * @param RequestInterface $request + * @param array $options + * + * @return PromiseInterface + */ + public function __invoke(RequestInterface $request, array $options) + { + $fn = $this->nextHandler; + + if (empty($options['allow_redirects'])) { + return $fn($request, $options); + } + + if ($options['allow_redirects'] === true) { + $options['allow_redirects'] = self::$defaultSettings; + } elseif (!is_array($options['allow_redirects'])) { + throw new \InvalidArgumentException('allow_redirects must be true, false, or array'); + } else { + // Merge the default settings with the provided settings + $options['allow_redirects'] += self::$defaultSettings; + } + + if (empty($options['allow_redirects']['max'])) { + return $fn($request, $options); + } + + return $fn($request, $options) + ->then(function (ResponseInterface $response) use ($request, $options) { + return $this->checkRedirect($request, $options, $response); + }); + } + + /** + * @param RequestInterface $request + * @param array $options + * @param ResponseInterface|PromiseInterface $response + * + * @return ResponseInterface|PromiseInterface + */ + public function checkRedirect( + RequestInterface $request, + array $options, + ResponseInterface $response + ) { + if (substr($response->getStatusCode(), 0, 1) != '3' + || !$response->hasHeader('Location') + ) { + return $response; + } + + $this->guardMax($request, $options); + $nextRequest = $this->modifyRequest($request, $options, $response); + + if (isset($options['allow_redirects']['on_redirect'])) { + call_user_func( + $options['allow_redirects']['on_redirect'], + $request, + $response, + $nextRequest->getUri() + ); + } + + /** @var PromiseInterface|ResponseInterface $promise */ + $promise = $this($nextRequest, $options); + + // Add headers to be able to track history of redirects. + if (!empty($options['allow_redirects']['track_redirects'])) { + return $this->withTracking( + $promise, + (string) $nextRequest->getUri(), + $response->getStatusCode() + ); + } + + return $promise; + } + + private function withTracking(PromiseInterface $promise, $uri, $statusCode) + { + return $promise->then( + function (ResponseInterface $response) use ($uri, $statusCode) { + // Note that we are pushing to the front of the list as this + // would be an earlier response than what is currently present + // in the history header. + $historyHeader = $response->getHeader(self::HISTORY_HEADER); + $statusHeader = $response->getHeader(self::STATUS_HISTORY_HEADER); + array_unshift($historyHeader, $uri); + array_unshift($statusHeader, $statusCode); + return $response->withHeader(self::HISTORY_HEADER, $historyHeader) + ->withHeader(self::STATUS_HISTORY_HEADER, $statusHeader); + } + ); + } + + private function guardMax(RequestInterface $request, array &$options) + { + $current = isset($options['__redirect_count']) + ? $options['__redirect_count'] + : 0; + $options['__redirect_count'] = $current + 1; + $max = $options['allow_redirects']['max']; + + if ($options['__redirect_count'] > $max) { + throw new TooManyRedirectsException( + "Will not follow more than {$max} redirects", + $request + ); + } + } + + /** + * @param RequestInterface $request + * @param array $options + * @param ResponseInterface $response + * + * @return RequestInterface + */ + public function modifyRequest( + RequestInterface $request, + array $options, + ResponseInterface $response + ) { + // Request modifications to apply. + $modify = []; + $protocols = $options['allow_redirects']['protocols']; + + // Use a GET request if this is an entity enclosing request and we are + // not forcing RFC compliance, but rather emulating what all browsers + // would do. + $statusCode = $response->getStatusCode(); + if ($statusCode == 303 || + ($statusCode <= 302 && $request->getBody() && !$options['allow_redirects']['strict']) + ) { + $modify['method'] = 'GET'; + $modify['body'] = ''; + } + + $modify['uri'] = $this->redirectUri($request, $response, $protocols); + Psr7\rewind_body($request); + + // Add the Referer header if it is told to do so and only + // add the header if we are not redirecting from https to http. + if ($options['allow_redirects']['referer'] + && $modify['uri']->getScheme() === $request->getUri()->getScheme() + ) { + $uri = $request->getUri()->withUserInfo('', ''); + $modify['set_headers']['Referer'] = (string) $uri; + } else { + $modify['remove_headers'][] = 'Referer'; + } + + // Remove Authorization header if host is different. + if ($request->getUri()->getHost() !== $modify['uri']->getHost()) { + $modify['remove_headers'][] = 'Authorization'; + } + + return Psr7\modify_request($request, $modify); + } + + /** + * Set the appropriate URL on the request based on the location header + * + * @param RequestInterface $request + * @param ResponseInterface $response + * @param array $protocols + * + * @return UriInterface + */ + private function redirectUri( + RequestInterface $request, + ResponseInterface $response, + array $protocols + ) { + $location = Psr7\UriResolver::resolve( + $request->getUri(), + new Psr7\Uri($response->getHeaderLine('Location')) + ); + + // Ensure that the redirect URI is allowed based on the protocols. + if (!in_array($location->getScheme(), $protocols)) { + throw new BadResponseException( + sprintf( + 'Redirect URI, %s, does not use one of the allowed redirect protocols: %s', + $location, + implode(', ', $protocols) + ), + $request, + $response + ); + } + + return $location; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php new file mode 100644 index 00000000..c6aacfb1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/RequestOptions.php @@ -0,0 +1,255 @@ +decider = $decider; + $this->nextHandler = $nextHandler; + $this->delay = $delay ?: __CLASS__ . '::exponentialDelay'; + } + + /** + * Default exponential backoff delay function. + * + * @param $retries + * + * @return int + */ + public static function exponentialDelay($retries) + { + return (int) pow(2, $retries - 1); + } + + /** + * @param RequestInterface $request + * @param array $options + * + * @return PromiseInterface + */ + public function __invoke(RequestInterface $request, array $options) + { + if (!isset($options['retries'])) { + $options['retries'] = 0; + } + + $fn = $this->nextHandler; + return $fn($request, $options) + ->then( + $this->onFulfilled($request, $options), + $this->onRejected($request, $options) + ); + } + + private function onFulfilled(RequestInterface $req, array $options) + { + return function ($value) use ($req, $options) { + if (!call_user_func( + $this->decider, + $options['retries'], + $req, + $value, + null + )) { + return $value; + } + return $this->doRetry($req, $options, $value); + }; + } + + private function onRejected(RequestInterface $req, array $options) + { + return function ($reason) use ($req, $options) { + if (!call_user_func( + $this->decider, + $options['retries'], + $req, + null, + $reason + )) { + return \GuzzleHttp\Promise\rejection_for($reason); + } + return $this->doRetry($req, $options); + }; + } + + private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null) + { + $options['delay'] = call_user_func($this->delay, ++$options['retries'], $response); + + return $this($request, $options); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php new file mode 100644 index 00000000..15f717e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/TransferStats.php @@ -0,0 +1,126 @@ +request = $request; + $this->response = $response; + $this->transferTime = $transferTime; + $this->handlerErrorData = $handlerErrorData; + $this->handlerStats = $handlerStats; + } + + /** + * @return RequestInterface + */ + public function getRequest() + { + return $this->request; + } + + /** + * Returns the response that was received (if any). + * + * @return ResponseInterface|null + */ + public function getResponse() + { + return $this->response; + } + + /** + * Returns true if a response was received. + * + * @return bool + */ + public function hasResponse() + { + return $this->response !== null; + } + + /** + * Gets handler specific error data. + * + * This might be an exception, a integer representing an error code, or + * anything else. Relying on this value assumes that you know what handler + * you are using. + * + * @return mixed + */ + public function getHandlerErrorData() + { + return $this->handlerErrorData; + } + + /** + * Get the effective URI the request was sent to. + * + * @return UriInterface + */ + public function getEffectiveUri() + { + return $this->request->getUri(); + } + + /** + * Get the estimated time the request was being transferred by the handler. + * + * @return float Time in seconds. + */ + public function getTransferTime() + { + return $this->transferTime; + } + + /** + * Gets an array of all of the handler specific transfer data. + * + * @return array + */ + public function getHandlerStats() + { + return $this->handlerStats; + } + + /** + * Get a specific handler statistic from the handler by name. + * + * @param string $stat Handler specific transfer stat to retrieve. + * + * @return mixed|null + */ + public function getHandlerStat($stat) + { + return isset($this->handlerStats[$stat]) + ? $this->handlerStats[$stat] + : null; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php new file mode 100644 index 00000000..0b1623ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/UriTemplate.php @@ -0,0 +1,241 @@ + ['prefix' => '', 'joiner' => ',', 'query' => false], + '+' => ['prefix' => '', 'joiner' => ',', 'query' => false], + '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false], + '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false], + '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false], + ';' => ['prefix' => ';', 'joiner' => ';', 'query' => true], + '?' => ['prefix' => '?', 'joiner' => '&', 'query' => true], + '&' => ['prefix' => '&', 'joiner' => '&', 'query' => true] + ]; + + /** @var array Delimiters */ + private static $delims = [':', '/', '?', '#', '[', ']', '@', '!', '$', + '&', '\'', '(', ')', '*', '+', ',', ';', '=']; + + /** @var array Percent encoded delimiters */ + private static $delimsPct = ['%3A', '%2F', '%3F', '%23', '%5B', '%5D', + '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C', + '%3B', '%3D']; + + public function expand($template, array $variables) + { + if (false === strpos($template, '{')) { + return $template; + } + + $this->template = $template; + $this->variables = $variables; + + return preg_replace_callback( + '/\{([^\}]+)\}/', + [$this, 'expandMatch'], + $this->template + ); + } + + /** + * Parse an expression into parts + * + * @param string $expression Expression to parse + * + * @return array Returns an associative array of parts + */ + private function parseExpression($expression) + { + $result = []; + + if (isset(self::$operatorHash[$expression[0]])) { + $result['operator'] = $expression[0]; + $expression = substr($expression, 1); + } else { + $result['operator'] = ''; + } + + foreach (explode(',', $expression) as $value) { + $value = trim($value); + $varspec = []; + if ($colonPos = strpos($value, ':')) { + $varspec['value'] = substr($value, 0, $colonPos); + $varspec['modifier'] = ':'; + $varspec['position'] = (int) substr($value, $colonPos + 1); + } elseif (substr($value, -1) === '*') { + $varspec['modifier'] = '*'; + $varspec['value'] = substr($value, 0, -1); + } else { + $varspec['value'] = (string) $value; + $varspec['modifier'] = ''; + } + $result['values'][] = $varspec; + } + + return $result; + } + + /** + * Process an expansion + * + * @param array $matches Matches met in the preg_replace_callback + * + * @return string Returns the replacement string + */ + private function expandMatch(array $matches) + { + static $rfc1738to3986 = ['+' => '%20', '%7e' => '~']; + + $replacements = []; + $parsed = self::parseExpression($matches[1]); + $prefix = self::$operatorHash[$parsed['operator']]['prefix']; + $joiner = self::$operatorHash[$parsed['operator']]['joiner']; + $useQuery = self::$operatorHash[$parsed['operator']]['query']; + + foreach ($parsed['values'] as $value) { + + if (!isset($this->variables[$value['value']])) { + continue; + } + + $variable = $this->variables[$value['value']]; + $actuallyUseQuery = $useQuery; + $expanded = ''; + + if (is_array($variable)) { + + $isAssoc = $this->isAssoc($variable); + $kvp = []; + foreach ($variable as $key => $var) { + + if ($isAssoc) { + $key = rawurlencode($key); + $isNestedArray = is_array($var); + } else { + $isNestedArray = false; + } + + if (!$isNestedArray) { + $var = rawurlencode($var); + if ($parsed['operator'] === '+' || + $parsed['operator'] === '#' + ) { + $var = $this->decodeReserved($var); + } + } + + if ($value['modifier'] === '*') { + if ($isAssoc) { + if ($isNestedArray) { + // Nested arrays must allow for deeply nested + // structures. + $var = strtr( + http_build_query([$key => $var]), + $rfc1738to3986 + ); + } else { + $var = $key . '=' . $var; + } + } elseif ($key > 0 && $actuallyUseQuery) { + $var = $value['value'] . '=' . $var; + } + } + + $kvp[$key] = $var; + } + + if (empty($variable)) { + $actuallyUseQuery = false; + } elseif ($value['modifier'] === '*') { + $expanded = implode($joiner, $kvp); + if ($isAssoc) { + // Don't prepend the value name when using the explode + // modifier with an associative array. + $actuallyUseQuery = false; + } + } else { + if ($isAssoc) { + // When an associative array is encountered and the + // explode modifier is not set, then the result must be + // a comma separated list of keys followed by their + // respective values. + foreach ($kvp as $k => &$v) { + $v = $k . ',' . $v; + } + } + $expanded = implode(',', $kvp); + } + + } else { + if ($value['modifier'] === ':') { + $variable = substr($variable, 0, $value['position']); + } + $expanded = rawurlencode($variable); + if ($parsed['operator'] === '+' || $parsed['operator'] === '#') { + $expanded = $this->decodeReserved($expanded); + } + } + + if ($actuallyUseQuery) { + if (!$expanded && $joiner !== '&') { + $expanded = $value['value']; + } else { + $expanded = $value['value'] . '=' . $expanded; + } + } + + $replacements[] = $expanded; + } + + $ret = implode($joiner, $replacements); + if ($ret && $prefix) { + return $prefix . $ret; + } + + return $ret; + } + + /** + * Determines if an array is associative. + * + * This makes the assumption that input arrays are sequences or hashes. + * This assumption is a tradeoff for accuracy in favor of speed, but it + * should work in almost every case where input is supplied for a URI + * template. + * + * @param array $array Array to check + * + * @return bool + */ + private function isAssoc(array $array) + { + return $array && array_keys($array)[0] !== 0; + } + + /** + * Removes percent encoding on reserved characters (used with + and # + * modifiers). + * + * @param string $string String to fix + * + * @return string + */ + private function decodeReserved($string) + { + return str_replace(self::$delimsPct, self::$delims, $string); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php new file mode 100644 index 00000000..59e212ed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions.php @@ -0,0 +1,331 @@ +expand($template, $variables); +} + +/** + * Debug function used to describe the provided value type and class. + * + * @param mixed $input + * + * @return string Returns a string containing the type of the variable and + * if a class is provided, the class name. + */ +function describe_type($input) +{ + switch (gettype($input)) { + case 'object': + return 'object(' . get_class($input) . ')'; + case 'array': + return 'array(' . count($input) . ')'; + default: + ob_start(); + var_dump($input); + // normalize float vs double + return str_replace('double(', 'float(', rtrim(ob_get_clean())); + } +} + +/** + * Parses an array of header lines into an associative array of headers. + * + * @param array $lines Header lines array of strings in the following + * format: "Name: Value" + * @return array + */ +function headers_from_lines($lines) +{ + $headers = []; + + foreach ($lines as $line) { + $parts = explode(':', $line, 2); + $headers[trim($parts[0])][] = isset($parts[1]) + ? trim($parts[1]) + : null; + } + + return $headers; +} + +/** + * Returns a debug stream based on the provided variable. + * + * @param mixed $value Optional value + * + * @return resource + */ +function debug_resource($value = null) +{ + if (is_resource($value)) { + return $value; + } elseif (defined('STDOUT')) { + return STDOUT; + } + + return fopen('php://output', 'w'); +} + +/** + * Chooses and creates a default handler to use based on the environment. + * + * The returned handler is not wrapped by any default middlewares. + * + * @throws \RuntimeException if no viable Handler is available. + * @return callable Returns the best handler for the given system. + */ +function choose_handler() +{ + $handler = null; + if (function_exists('curl_multi_exec') && function_exists('curl_exec')) { + $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); + } elseif (function_exists('curl_exec')) { + $handler = new CurlHandler(); + } elseif (function_exists('curl_multi_exec')) { + $handler = new CurlMultiHandler(); + } + + if (ini_get('allow_url_fopen')) { + $handler = $handler + ? Proxy::wrapStreaming($handler, new StreamHandler()) + : new StreamHandler(); + } elseif (!$handler) { + throw new \RuntimeException('GuzzleHttp requires cURL, the ' + . 'allow_url_fopen ini setting, or a custom HTTP handler.'); + } + + return $handler; +} + +/** + * Get the default User-Agent string to use with Guzzle + * + * @return string + */ +function default_user_agent() +{ + static $defaultAgent = ''; + + if (!$defaultAgent) { + $defaultAgent = 'GuzzleHttp/' . Client::VERSION; + if (extension_loaded('curl') && function_exists('curl_version')) { + $defaultAgent .= ' curl/' . \curl_version()['version']; + } + $defaultAgent .= ' PHP/' . PHP_VERSION; + } + + return $defaultAgent; +} + +/** + * Returns the default cacert bundle for the current system. + * + * First, the openssl.cafile and curl.cainfo php.ini settings are checked. + * If those settings are not configured, then the common locations for + * bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X + * and Windows are checked. If any of these file locations are found on + * disk, they will be utilized. + * + * Note: the result of this function is cached for subsequent calls. + * + * @return string + * @throws \RuntimeException if no bundle can be found. + */ +function default_ca_bundle() +{ + static $cached = null; + static $cafiles = [ + // Red Hat, CentOS, Fedora (provided by the ca-certificates package) + '/etc/pki/tls/certs/ca-bundle.crt', + // Ubuntu, Debian (provided by the ca-certificates package) + '/etc/ssl/certs/ca-certificates.crt', + // FreeBSD (provided by the ca_root_nss package) + '/usr/local/share/certs/ca-root-nss.crt', + // SLES 12 (provided by the ca-certificates package) + '/var/lib/ca-certificates/ca-bundle.pem', + // OS X provided by homebrew (using the default path) + '/usr/local/etc/openssl/cert.pem', + // Google app engine + '/etc/ca-certificates.crt', + // Windows? + 'C:\\windows\\system32\\curl-ca-bundle.crt', + 'C:\\windows\\curl-ca-bundle.crt', + ]; + + if ($cached) { + return $cached; + } + + if ($ca = ini_get('openssl.cafile')) { + return $cached = $ca; + } + + if ($ca = ini_get('curl.cainfo')) { + return $cached = $ca; + } + + foreach ($cafiles as $filename) { + if (file_exists($filename)) { + return $cached = $filename; + } + } + + throw new \RuntimeException(<<< EOT +No system CA bundle could be found in any of the the common system locations. +PHP versions earlier than 5.6 are not properly configured to use the system's +CA bundle by default. In order to verify peer certificates, you will need to +supply the path on disk to a certificate bundle to the 'verify' request +option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not +need a specific certificate bundle, then Mozilla provides a commonly used CA +bundle which can be downloaded here (provided by the maintainer of cURL): +https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once +you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP +ini setting to point to the path to the file, allowing you to omit the 'verify' +request option. See http://curl.haxx.se/docs/sslcerts.html for more +information. +EOT + ); +} + +/** + * Creates an associative array of lowercase header names to the actual + * header casing. + * + * @param array $headers + * + * @return array + */ +function normalize_header_keys(array $headers) +{ + $result = []; + foreach (array_keys($headers) as $key) { + $result[strtolower($key)] = $key; + } + + return $result; +} + +/** + * Returns true if the provided host matches any of the no proxy areas. + * + * This method will strip a port from the host if it is present. Each pattern + * can be matched with an exact match (e.g., "foo.com" == "foo.com") or a + * partial match: (e.g., "foo.com" == "baz.foo.com" and ".foo.com" == + * "baz.foo.com", but ".foo.com" != "foo.com"). + * + * Areas are matched in the following cases: + * 1. "*" (without quotes) always matches any hosts. + * 2. An exact match. + * 3. The area starts with "." and the area is the last part of the host. e.g. + * '.mit.edu' will match any host that ends with '.mit.edu'. + * + * @param string $host Host to check against the patterns. + * @param array $noProxyArray An array of host patterns. + * + * @return bool + */ +function is_host_in_noproxy($host, array $noProxyArray) +{ + if (strlen($host) === 0) { + throw new \InvalidArgumentException('Empty host provided'); + } + + // Strip port if present. + if (strpos($host, ':')) { + $host = explode($host, ':', 2)[0]; + } + + foreach ($noProxyArray as $area) { + // Always match on wildcards. + if ($area === '*') { + return true; + } elseif (empty($area)) { + // Don't match on empty values. + continue; + } elseif ($area === $host) { + // Exact matches. + return true; + } else { + // Special match if the area when prefixed with ".". Remove any + // existing leading "." and add a new leading ".". + $area = '.' . ltrim($area, '.'); + if (substr($host, -(strlen($area))) === $area) { + return true; + } + } + } + + return false; +} + +/** + * Wrapper for json_decode that throws when an error occurs. + * + * @param string $json JSON data to parse + * @param bool $assoc When true, returned objects will be converted + * into associative arrays. + * @param int $depth User specified recursion depth. + * @param int $options Bitmask of JSON decode options. + * + * @return mixed + * @throws \InvalidArgumentException if the JSON cannot be decoded. + * @link http://www.php.net/manual/en/function.json-decode.php + */ +function json_decode($json, $assoc = false, $depth = 512, $options = 0) +{ + $data = \json_decode($json, $assoc, $depth, $options); + if (JSON_ERROR_NONE !== json_last_error()) { + throw new \InvalidArgumentException( + 'json_decode error: ' . json_last_error_msg()); + } + + return $data; +} + +/** + * Wrapper for JSON encoding that throws when an error occurs. + * + * @param mixed $value The value being encoded + * @param int $options JSON encode option bitmask + * @param int $depth Set the maximum depth. Must be greater than zero. + * + * @return string + * @throws \InvalidArgumentException if the JSON cannot be encoded. + * @link http://www.php.net/manual/en/function.json-encode.php + */ +function json_encode($value, $options = 0, $depth = 512) +{ + $json = \json_encode($value, $options, $depth); + if (JSON_ERROR_NONE !== json_last_error()) { + throw new \InvalidArgumentException( + 'json_encode error: ' . json_last_error_msg()); + } + + return $json; +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php new file mode 100644 index 00000000..a93393ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/guzzle/src/functions_include.php @@ -0,0 +1,6 @@ + + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/Makefile b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/Makefile new file mode 100644 index 00000000..8d5b3ef9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/Makefile @@ -0,0 +1,13 @@ +all: clean test + +test: + vendor/bin/phpunit + +coverage: + vendor/bin/phpunit --coverage-html=artifacts/coverage + +view-coverage: + open artifacts/coverage/index.html + +clean: + rm -rf artifacts/* diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/README.md b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/README.md new file mode 100644 index 00000000..7b607e28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/README.md @@ -0,0 +1,504 @@ +# Guzzle Promises + +[Promises/A+](https://promisesaplus.com/) implementation that handles promise +chaining and resolution iteratively, allowing for "infinite" promise chaining +while keeping the stack size constant. Read [this blog post](https://blog.domenic.me/youre-missing-the-point-of-promises/) +for a general introduction to promises. + +- [Features](#features) +- [Quick start](#quick-start) +- [Synchronous wait](#synchronous-wait) +- [Cancellation](#cancellation) +- [API](#api) + - [Promise](#promise) + - [FulfilledPromise](#fulfilledpromise) + - [RejectedPromise](#rejectedpromise) +- [Promise interop](#promise-interop) +- [Implementation notes](#implementation-notes) + + +# Features + +- [Promises/A+](https://promisesaplus.com/) implementation. +- Promise resolution and chaining is handled iteratively, allowing for + "infinite" promise chaining. +- Promises have a synchronous `wait` method. +- Promises can be cancelled. +- Works with any object that has a `then` function. +- C# style async/await coroutine promises using + `GuzzleHttp\Promise\coroutine()`. + + +# Quick start + +A *promise* represents the eventual result of an asynchronous operation. The +primary way of interacting with a promise is through its `then` method, which +registers callbacks to receive either a promise's eventual value or the reason +why the promise cannot be fulfilled. + + +## Callbacks + +Callbacks are registered with the `then` method by providing an optional +`$onFulfilled` followed by an optional `$onRejected` function. + + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then( + // $onFulfilled + function ($value) { + echo 'The promise was fulfilled.'; + }, + // $onRejected + function ($reason) { + echo 'The promise was rejected.'; + } +); +``` + +*Resolving* a promise means that you either fulfill a promise with a *value* or +reject a promise with a *reason*. Resolving a promises triggers callbacks +registered with the promises's `then` method. These callbacks are triggered +only once and in the order in which they were added. + + +## Resolving a promise + +Promises are fulfilled using the `resolve($value)` method. Resolving a promise +with any value other than a `GuzzleHttp\Promise\RejectedPromise` will trigger +all of the onFulfilled callbacks (resolving a promise with a rejected promise +will reject the promise and trigger the `$onRejected` callbacks). + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise + ->then(function ($value) { + // Return a value and don't break the chain + return "Hello, " . $value; + }) + // This then is executed after the first then and receives the value + // returned from the first then. + ->then(function ($value) { + echo $value; + }); + +// Resolving the promise triggers the $onFulfilled callbacks and outputs +// "Hello, reader". +$promise->resolve('reader.'); +``` + + +## Promise forwarding + +Promises can be chained one after the other. Each then in the chain is a new +promise. The return value of a promise is what's forwarded to the next +promise in the chain. Returning a promise in a `then` callback will cause the +subsequent promises in the chain to only be fulfilled when the returned promise +has been fulfilled. The next promise in the chain will be invoked with the +resolved value of the promise. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$nextPromise = new Promise(); + +$promise + ->then(function ($value) use ($nextPromise) { + echo $value; + return $nextPromise; + }) + ->then(function ($value) { + echo $value; + }); + +// Triggers the first callback and outputs "A" +$promise->resolve('A'); +// Triggers the second callback and outputs "B" +$nextPromise->resolve('B'); +``` + +## Promise rejection + +When a promise is rejected, the `$onRejected` callbacks are invoked with the +rejection reason. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + echo $reason; +}); + +$promise->reject('Error!'); +// Outputs "Error!" +``` + +## Rejection forwarding + +If an exception is thrown in an `$onRejected` callback, subsequent +`$onRejected` callbacks are invoked with the thrown exception as the reason. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + throw new \Exception($reason); +})->then(null, function ($reason) { + assert($reason->getMessage() === 'Error!'); +}); + +$promise->reject('Error!'); +``` + +You can also forward a rejection down the promise chain by returning a +`GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or +`$onRejected` callback. + +```php +use GuzzleHttp\Promise\Promise; +use GuzzleHttp\Promise\RejectedPromise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + return new RejectedPromise($reason); +})->then(null, function ($reason) { + assert($reason === 'Error!'); +}); + +$promise->reject('Error!'); +``` + +If an exception is not thrown in a `$onRejected` callback and the callback +does not return a rejected promise, downstream `$onFulfilled` callbacks are +invoked using the value returned from the `$onRejected` callback. + +```php +use GuzzleHttp\Promise\Promise; +use GuzzleHttp\Promise\RejectedPromise; + +$promise = new Promise(); +$promise + ->then(null, function ($reason) { + return "It's ok"; + }) + ->then(function ($value) { + assert($value === "It's ok"); + }); + +$promise->reject('Error!'); +``` + +# Synchronous wait + +You can synchronously force promises to complete using a promise's `wait` +method. When creating a promise, you can provide a wait function that is used +to synchronously force a promise to complete. When a wait function is invoked +it is expected to deliver a value to the promise or reject the promise. If the +wait function does not deliver a value, then an exception is thrown. The wait +function provided to a promise constructor is invoked when the `wait` function +of the promise is called. + +```php +$promise = new Promise(function () use (&$promise) { + $promise->resolve('foo'); +}); + +// Calling wait will return the value of the promise. +echo $promise->wait(); // outputs "foo" +``` + +If an exception is encountered while invoking the wait function of a promise, +the promise is rejected with the exception and the exception is thrown. + +```php +$promise = new Promise(function () use (&$promise) { + throw new \Exception('foo'); +}); + +$promise->wait(); // throws the exception. +``` + +Calling `wait` on a promise that has been fulfilled will not trigger the wait +function. It will simply return the previously resolved value. + +```php +$promise = new Promise(function () { die('this is not called!'); }); +$promise->resolve('foo'); +echo $promise->wait(); // outputs "foo" +``` + +Calling `wait` on a promise that has been rejected will throw an exception. If +the rejection reason is an instance of `\Exception` the reason is thrown. +Otherwise, a `GuzzleHttp\Promise\RejectionException` is thrown and the reason +can be obtained by calling the `getReason` method of the exception. + +```php +$promise = new Promise(); +$promise->reject('foo'); +$promise->wait(); +``` + +> PHP Fatal error: Uncaught exception 'GuzzleHttp\Promise\RejectionException' with message 'The promise was rejected with value: foo' + + +## Unwrapping a promise + +When synchronously waiting on a promise, you are joining the state of the +promise into the current state of execution (i.e., return the value of the +promise if it was fulfilled or throw an exception if it was rejected). This is +called "unwrapping" the promise. Waiting on a promise will by default unwrap +the promise state. + +You can force a promise to resolve and *not* unwrap the state of the promise +by passing `false` to the first argument of the `wait` function: + +```php +$promise = new Promise(); +$promise->reject('foo'); +// This will not throw an exception. It simply ensures the promise has +// been resolved. +$promise->wait(false); +``` + +When unwrapping a promise, the resolved value of the promise will be waited +upon until the unwrapped value is not a promise. This means that if you resolve +promise A with a promise B and unwrap promise A, the value returned by the +wait function will be the value delivered to promise B. + +**Note**: when you do not unwrap the promise, no value is returned. + + +# Cancellation + +You can cancel a promise that has not yet been fulfilled using the `cancel()` +method of a promise. When creating a promise you can provide an optional +cancel function that when invoked cancels the action of computing a resolution +of the promise. + + +# API + + +## Promise + +When creating a promise object, you can provide an optional `$waitFn` and +`$cancelFn`. `$waitFn` is a function that is invoked with no arguments and is +expected to resolve the promise. `$cancelFn` is a function with no arguments +that is expected to cancel the computation of a promise. It is invoked when the +`cancel()` method of a promise is called. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise( + function () use (&$promise) { + $promise->resolve('waited'); + }, + function () { + // do something that will cancel the promise computation (e.g., close + // a socket, cancel a database query, etc...) + } +); + +assert('waited' === $promise->wait()); +``` + +A promise has the following methods: + +- `then(callable $onFulfilled, callable $onRejected) : PromiseInterface` + + Appends fulfillment and rejection handlers to the promise, and returns a new promise resolving to the return value of the called handler. + +- `otherwise(callable $onRejected) : PromiseInterface` + + Appends a rejection handler callback to the promise, and returns a new promise resolving to the return value of the callback if it is called, or to its original fulfillment value if the promise is instead fulfilled. + +- `wait($unwrap = true) : mixed` + + Synchronously waits on the promise to complete. + + `$unwrap` controls whether or not the value of the promise is returned for a + fulfilled promise or if an exception is thrown if the promise is rejected. + This is set to `true` by default. + +- `cancel()` + + Attempts to cancel the promise if possible. The promise being cancelled and + the parent most ancestor that has not yet been resolved will also be + cancelled. Any promises waiting on the cancelled promise to resolve will also + be cancelled. + +- `getState() : string` + + Returns the state of the promise. One of `pending`, `fulfilled`, or + `rejected`. + +- `resolve($value)` + + Fulfills the promise with the given `$value`. + +- `reject($reason)` + + Rejects the promise with the given `$reason`. + + +## FulfilledPromise + +A fulfilled promise can be created to represent a promise that has been +fulfilled. + +```php +use GuzzleHttp\Promise\FulfilledPromise; + +$promise = new FulfilledPromise('value'); + +// Fulfilled callbacks are immediately invoked. +$promise->then(function ($value) { + echo $value; +}); +``` + + +## RejectedPromise + +A rejected promise can be created to represent a promise that has been +rejected. + +```php +use GuzzleHttp\Promise\RejectedPromise; + +$promise = new RejectedPromise('Error'); + +// Rejected callbacks are immediately invoked. +$promise->then(null, function ($reason) { + echo $reason; +}); +``` + + +# Promise interop + +This library works with foreign promises that have a `then` method. This means +you can use Guzzle promises with [React promises](https://github.com/reactphp/promise) +for example. When a foreign promise is returned inside of a then method +callback, promise resolution will occur recursively. + +```php +// Create a React promise +$deferred = new React\Promise\Deferred(); +$reactPromise = $deferred->promise(); + +// Create a Guzzle promise that is fulfilled with a React promise. +$guzzlePromise = new \GuzzleHttp\Promise\Promise(); +$guzzlePromise->then(function ($value) use ($reactPromise) { + // Do something something with the value... + // Return the React promise + return $reactPromise; +}); +``` + +Please note that wait and cancel chaining is no longer possible when forwarding +a foreign promise. You will need to wrap a third-party promise with a Guzzle +promise in order to utilize wait and cancel functions with foreign promises. + + +## Event Loop Integration + +In order to keep the stack size constant, Guzzle promises are resolved +asynchronously using a task queue. When waiting on promises synchronously, the +task queue will be automatically run to ensure that the blocking promise and +any forwarded promises are resolved. When using promises asynchronously in an +event loop, you will need to run the task queue on each tick of the loop. If +you do not run the task queue, then promises will not be resolved. + +You can run the task queue using the `run()` method of the global task queue +instance. + +```php +// Get the global task queue +$queue = \GuzzleHttp\Promise\queue(); +$queue->run(); +``` + +For example, you could use Guzzle promises with React using a periodic timer: + +```php +$loop = React\EventLoop\Factory::create(); +$loop->addPeriodicTimer(0, [$queue, 'run']); +``` + +*TODO*: Perhaps adding a `futureTick()` on each tick would be faster? + + +# Implementation notes + + +## Promise resolution and chaining is handled iteratively + +By shuffling pending handlers from one owner to another, promises are +resolved iteratively, allowing for "infinite" then chaining. + +```php +then(function ($v) { + // The stack size remains constant (a good thing) + echo xdebug_get_stack_depth() . ', '; + return $v + 1; + }); +} + +$parent->resolve(0); +var_dump($p->wait()); // int(1000) + +``` + +When a promise is fulfilled or rejected with a non-promise value, the promise +then takes ownership of the handlers of each child promise and delivers values +down the chain without using recursion. + +When a promise is resolved with another promise, the original promise transfers +all of its pending handlers to the new promise. When the new promise is +eventually resolved, all of the pending handlers are delivered the forwarded +value. + + +## A promise is the deferred. + +Some promise libraries implement promises using a deferred object to represent +a computation and a promise object to represent the delivery of the result of +the computation. This is a nice separation of computation and delivery because +consumers of the promise cannot modify the value that will be eventually +delivered. + +One side effect of being able to implement promise resolution and chaining +iteratively is that you need to be able for one promise to reach into the state +of another promise to shuffle around ownership of handlers. In order to achieve +this without making the handlers of a promise publicly mutable, a promise is +also the deferred value, allowing promises of the same parent class to reach +into and modify the private properties of promises of the same type. While this +does allow consumers of the value to modify the resolution or rejection of the +deferred, it is a small price to pay for keeping the stack size constant. + +```php +$promise = new Promise(); +$promise->then(function ($value) { echo $value; }); +// The promise is the deferred value, so you can deliver a value to it. +$promise->resolve('foo'); +// prints "foo" +``` diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/composer.json b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/composer.json new file mode 100644 index 00000000..ec41a61e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/composer.json @@ -0,0 +1,34 @@ +{ + "name": "guzzlehttp/promises", + "description": "Guzzle promises library", + "keywords": ["promise"], + "license": "MIT", + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "require": { + "php": ">=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0" + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": ["src/functions_include.php"] + }, + "scripts": { + "test": "vendor/bin/phpunit", + "test-ci": "vendor/bin/phpunit --coverage-text" + }, + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php new file mode 100644 index 00000000..6a5690c3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/AggregateException.php @@ -0,0 +1,16 @@ +then(function ($v) { echo $v; }); + * + * @param callable $generatorFn Generator function to wrap into a promise. + * + * @return Promise + * @link https://github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration + */ +final class Coroutine implements PromiseInterface +{ + /** + * @var PromiseInterface|null + */ + private $currentPromise; + + /** + * @var Generator + */ + private $generator; + + /** + * @var Promise + */ + private $result; + + public function __construct(callable $generatorFn) + { + $this->generator = $generatorFn(); + $this->result = new Promise(function () { + while (isset($this->currentPromise)) { + $this->currentPromise->wait(); + } + }); + $this->nextCoroutine($this->generator->current()); + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + return $this->result->then($onFulfilled, $onRejected); + } + + public function otherwise(callable $onRejected) + { + return $this->result->otherwise($onRejected); + } + + public function wait($unwrap = true) + { + return $this->result->wait($unwrap); + } + + public function getState() + { + return $this->result->getState(); + } + + public function resolve($value) + { + $this->result->resolve($value); + } + + public function reject($reason) + { + $this->result->reject($reason); + } + + public function cancel() + { + $this->currentPromise->cancel(); + $this->result->cancel(); + } + + private function nextCoroutine($yielded) + { + $this->currentPromise = promise_for($yielded) + ->then([$this, '_handleSuccess'], [$this, '_handleFailure']); + } + + /** + * @internal + */ + public function _handleSuccess($value) + { + unset($this->currentPromise); + try { + $next = $this->generator->send($value); + if ($this->generator->valid()) { + $this->nextCoroutine($next); + } else { + $this->result->resolve($value); + } + } catch (Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } + + /** + * @internal + */ + public function _handleFailure($reason) + { + unset($this->currentPromise); + try { + $nextYield = $this->generator->throw(exception_for($reason)); + // The throw was caught, so keep iterating on the coroutine + $this->nextCoroutine($nextYield); + } catch (Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php new file mode 100644 index 00000000..d0ddf603 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/EachPromise.php @@ -0,0 +1,229 @@ +iterable = iter_for($iterable); + + if (isset($config['concurrency'])) { + $this->concurrency = $config['concurrency']; + } + + if (isset($config['fulfilled'])) { + $this->onFulfilled = $config['fulfilled']; + } + + if (isset($config['rejected'])) { + $this->onRejected = $config['rejected']; + } + } + + public function promise() + { + if ($this->aggregate) { + return $this->aggregate; + } + + try { + $this->createPromise(); + $this->iterable->rewind(); + $this->refillPending(); + } catch (\Throwable $e) { + $this->aggregate->reject($e); + } catch (\Exception $e) { + $this->aggregate->reject($e); + } + + return $this->aggregate; + } + + private function createPromise() + { + $this->mutex = false; + $this->aggregate = new Promise(function () { + reset($this->pending); + if (empty($this->pending) && !$this->iterable->valid()) { + $this->aggregate->resolve(null); + return; + } + + // Consume a potentially fluctuating list of promises while + // ensuring that indexes are maintained (precluding array_shift). + while ($promise = current($this->pending)) { + next($this->pending); + $promise->wait(); + if ($this->aggregate->getState() !== PromiseInterface::PENDING) { + return; + } + } + }); + + // Clear the references when the promise is resolved. + $clearFn = function () { + $this->iterable = $this->concurrency = $this->pending = null; + $this->onFulfilled = $this->onRejected = null; + }; + + $this->aggregate->then($clearFn, $clearFn); + } + + private function refillPending() + { + if (!$this->concurrency) { + // Add all pending promises. + while ($this->addPending() && $this->advanceIterator()); + return; + } + + // Add only up to N pending promises. + $concurrency = is_callable($this->concurrency) + ? call_user_func($this->concurrency, count($this->pending)) + : $this->concurrency; + $concurrency = max($concurrency - count($this->pending), 0); + // Concurrency may be set to 0 to disallow new promises. + if (!$concurrency) { + return; + } + // Add the first pending promise. + $this->addPending(); + // Note this is special handling for concurrency=1 so that we do + // not advance the iterator after adding the first promise. This + // helps work around issues with generators that might not have the + // next value to yield until promise callbacks are called. + while (--$concurrency + && $this->advanceIterator() + && $this->addPending()); + } + + private function addPending() + { + if (!$this->iterable || !$this->iterable->valid()) { + return false; + } + + $promise = promise_for($this->iterable->current()); + $idx = $this->iterable->key(); + + $this->pending[$idx] = $promise->then( + function ($value) use ($idx) { + if ($this->onFulfilled) { + call_user_func( + $this->onFulfilled, $value, $idx, $this->aggregate + ); + } + $this->step($idx); + }, + function ($reason) use ($idx) { + if ($this->onRejected) { + call_user_func( + $this->onRejected, $reason, $idx, $this->aggregate + ); + } + $this->step($idx); + } + ); + + return true; + } + + private function advanceIterator() + { + // Place a lock on the iterator so that we ensure to not recurse, + // preventing fatal generator errors. + if ($this->mutex) { + return false; + } + + $this->mutex = true; + + try { + $this->iterable->next(); + $this->mutex = false; + return true; + } catch (\Throwable $e) { + $this->aggregate->reject($e); + $this->mutex = false; + return false; + } catch (\Exception $e) { + $this->aggregate->reject($e); + $this->mutex = false; + return false; + } + } + + private function step($idx) + { + // If the promise was already resolved, then ignore this step. + if ($this->aggregate->getState() !== PromiseInterface::PENDING) { + return; + } + + unset($this->pending[$idx]); + + // Only refill pending promises if we are not locked, preventing the + // EachPromise to recursively invoke the provided iterator, which + // cause a fatal error: "Cannot resume an already running generator" + if ($this->advanceIterator() && !$this->checkIfFinished()) { + // Add more pending promises if possible. + $this->refillPending(); + } + } + + private function checkIfFinished() + { + if (!$this->pending && !$this->iterable->valid()) { + // Resolve the promise if there's nothing left to do. + $this->aggregate->resolve(null); + return true; + } + + return false; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php new file mode 100644 index 00000000..dbbeeb9f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/FulfilledPromise.php @@ -0,0 +1,82 @@ +value = $value; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + // Return itself if there is no onFulfilled function. + if (!$onFulfilled) { + return $this; + } + + $queue = queue(); + $p = new Promise([$queue, 'run']); + $value = $this->value; + $queue->add(static function () use ($p, $value, $onFulfilled) { + if ($p->getState() === self::PENDING) { + try { + $p->resolve($onFulfilled($value)); + } catch (\Throwable $e) { + $p->reject($e); + } catch (\Exception $e) { + $p->reject($e); + } + } + }); + + return $p; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true, $defaultDelivery = null) + { + return $unwrap ? $this->value : null; + } + + public function getState() + { + return self::FULFILLED; + } + + public function resolve($value) + { + if ($value !== $this->value) { + throw new \LogicException("Cannot resolve a fulfilled promise"); + } + } + + public function reject($reason) + { + throw new \LogicException("Cannot reject a fulfilled promise"); + } + + public function cancel() + { + // pass + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php new file mode 100644 index 00000000..844ada07 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/Promise.php @@ -0,0 +1,280 @@ +waitFn = $waitFn; + $this->cancelFn = $cancelFn; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + if ($this->state === self::PENDING) { + $p = new Promise(null, [$this, 'cancel']); + $this->handlers[] = [$p, $onFulfilled, $onRejected]; + $p->waitList = $this->waitList; + $p->waitList[] = $this; + return $p; + } + + // Return a fulfilled promise and immediately invoke any callbacks. + if ($this->state === self::FULFILLED) { + return $onFulfilled + ? promise_for($this->result)->then($onFulfilled) + : promise_for($this->result); + } + + // It's either cancelled or rejected, so return a rejected promise + // and immediately invoke any callbacks. + $rejection = rejection_for($this->result); + return $onRejected ? $rejection->then(null, $onRejected) : $rejection; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true) + { + $this->waitIfPending(); + + $inner = $this->result instanceof PromiseInterface + ? $this->result->wait($unwrap) + : $this->result; + + if ($unwrap) { + if ($this->result instanceof PromiseInterface + || $this->state === self::FULFILLED + ) { + return $inner; + } else { + // It's rejected so "unwrap" and throw an exception. + throw exception_for($inner); + } + } + } + + public function getState() + { + return $this->state; + } + + public function cancel() + { + if ($this->state !== self::PENDING) { + return; + } + + $this->waitFn = $this->waitList = null; + + if ($this->cancelFn) { + $fn = $this->cancelFn; + $this->cancelFn = null; + try { + $fn(); + } catch (\Throwable $e) { + $this->reject($e); + } catch (\Exception $e) { + $this->reject($e); + } + } + + // Reject the promise only if it wasn't rejected in a then callback. + if ($this->state === self::PENDING) { + $this->reject(new CancellationException('Promise has been cancelled')); + } + } + + public function resolve($value) + { + $this->settle(self::FULFILLED, $value); + } + + public function reject($reason) + { + $this->settle(self::REJECTED, $reason); + } + + private function settle($state, $value) + { + if ($this->state !== self::PENDING) { + // Ignore calls with the same resolution. + if ($state === $this->state && $value === $this->result) { + return; + } + throw $this->state === $state + ? new \LogicException("The promise is already {$state}.") + : new \LogicException("Cannot change a {$this->state} promise to {$state}"); + } + + if ($value === $this) { + throw new \LogicException('Cannot fulfill or reject a promise with itself'); + } + + // Clear out the state of the promise but stash the handlers. + $this->state = $state; + $this->result = $value; + $handlers = $this->handlers; + $this->handlers = null; + $this->waitList = $this->waitFn = null; + $this->cancelFn = null; + + if (!$handlers) { + return; + } + + // If the value was not a settled promise or a thenable, then resolve + // it in the task queue using the correct ID. + if (!method_exists($value, 'then')) { + $id = $state === self::FULFILLED ? 1 : 2; + // It's a success, so resolve the handlers in the queue. + queue()->add(static function () use ($id, $value, $handlers) { + foreach ($handlers as $handler) { + self::callHandler($id, $value, $handler); + } + }); + } elseif ($value instanceof Promise + && $value->getState() === self::PENDING + ) { + // We can just merge our handlers onto the next promise. + $value->handlers = array_merge($value->handlers, $handlers); + } else { + // Resolve the handlers when the forwarded promise is resolved. + $value->then( + static function ($value) use ($handlers) { + foreach ($handlers as $handler) { + self::callHandler(1, $value, $handler); + } + }, + static function ($reason) use ($handlers) { + foreach ($handlers as $handler) { + self::callHandler(2, $reason, $handler); + } + } + ); + } + } + + /** + * Call a stack of handlers using a specific callback index and value. + * + * @param int $index 1 (resolve) or 2 (reject). + * @param mixed $value Value to pass to the callback. + * @param array $handler Array of handler data (promise and callbacks). + * + * @return array Returns the next group to resolve. + */ + private static function callHandler($index, $value, array $handler) + { + /** @var PromiseInterface $promise */ + $promise = $handler[0]; + + // The promise may have been cancelled or resolved before placing + // this thunk in the queue. + if ($promise->getState() !== self::PENDING) { + return; + } + + try { + if (isset($handler[$index])) { + $promise->resolve($handler[$index]($value)); + } elseif ($index === 1) { + // Forward resolution values as-is. + $promise->resolve($value); + } else { + // Forward rejections down the chain. + $promise->reject($value); + } + } catch (\Throwable $reason) { + $promise->reject($reason); + } catch (\Exception $reason) { + $promise->reject($reason); + } + } + + private function waitIfPending() + { + if ($this->state !== self::PENDING) { + return; + } elseif ($this->waitFn) { + $this->invokeWaitFn(); + } elseif ($this->waitList) { + $this->invokeWaitList(); + } else { + // If there's not wait function, then reject the promise. + $this->reject('Cannot wait on a promise that has ' + . 'no internal wait function. You must provide a wait ' + . 'function when constructing the promise to be able to ' + . 'wait on a promise.'); + } + + queue()->run(); + + if ($this->state === self::PENDING) { + $this->reject('Invoking the wait callback did not resolve the promise'); + } + } + + private function invokeWaitFn() + { + try { + $wfn = $this->waitFn; + $this->waitFn = null; + $wfn(true); + } catch (\Exception $reason) { + if ($this->state === self::PENDING) { + // The promise has not been resolved yet, so reject the promise + // with the exception. + $this->reject($reason); + } else { + // The promise was already resolved, so there's a problem in + // the application. + throw $reason; + } + } + } + + private function invokeWaitList() + { + $waitList = $this->waitList; + $this->waitList = null; + + foreach ($waitList as $result) { + while (true) { + $result->waitIfPending(); + + if ($result->result instanceof Promise) { + $result = $result->result; + } else { + if ($result->result instanceof PromiseInterface) { + $result->result->wait(false); + } + break; + } + } + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php new file mode 100644 index 00000000..8f5f4b99 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/PromiseInterface.php @@ -0,0 +1,93 @@ +reason = $reason; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + // If there's no onRejected callback then just return self. + if (!$onRejected) { + return $this; + } + + $queue = queue(); + $reason = $this->reason; + $p = new Promise([$queue, 'run']); + $queue->add(static function () use ($p, $reason, $onRejected) { + if ($p->getState() === self::PENDING) { + try { + // Return a resolved promise if onRejected does not throw. + $p->resolve($onRejected($reason)); + } catch (\Throwable $e) { + // onRejected threw, so return a rejected promise. + $p->reject($e); + } catch (\Exception $e) { + // onRejected threw, so return a rejected promise. + $p->reject($e); + } + } + }); + + return $p; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true, $defaultDelivery = null) + { + if ($unwrap) { + throw exception_for($this->reason); + } + } + + public function getState() + { + return self::REJECTED; + } + + public function resolve($value) + { + throw new \LogicException("Cannot resolve a rejected promise"); + } + + public function reject($reason) + { + if ($reason !== $this->reason) { + throw new \LogicException("Cannot reject a rejected promise"); + } + } + + public function cancel() + { + // pass + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php new file mode 100644 index 00000000..07c1136d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/RejectionException.php @@ -0,0 +1,47 @@ +reason = $reason; + + $message = 'The promise was rejected'; + + if ($description) { + $message .= ' with reason: ' . $description; + } elseif (is_string($reason) + || (is_object($reason) && method_exists($reason, '__toString')) + ) { + $message .= ' with reason: ' . $this->reason; + } elseif ($reason instanceof \JsonSerializable) { + $message .= ' with reason: ' + . json_encode($this->reason, JSON_PRETTY_PRINT); + } + + parent::__construct($message); + } + + /** + * Returns the rejection reason. + * + * @return mixed + */ + public function getReason() + { + return $this->reason; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php new file mode 100644 index 00000000..6e8a2a08 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueue.php @@ -0,0 +1,66 @@ +run(); + */ +class TaskQueue implements TaskQueueInterface +{ + private $enableShutdown = true; + private $queue = []; + + public function __construct($withShutdown = true) + { + if ($withShutdown) { + register_shutdown_function(function () { + if ($this->enableShutdown) { + // Only run the tasks if an E_ERROR didn't occur. + $err = error_get_last(); + if (!$err || ($err['type'] ^ E_ERROR)) { + $this->run(); + } + } + }); + } + } + + public function isEmpty() + { + return !$this->queue; + } + + public function add(callable $task) + { + $this->queue[] = $task; + } + + public function run() + { + /** @var callable $task */ + while ($task = array_shift($this->queue)) { + $task(); + } + } + + /** + * The task queue will be run and exhausted by default when the process + * exits IFF the exit is not the result of a PHP E_ERROR error. + * + * You can disable running the automatic shutdown of the queue by calling + * this function. If you disable the task queue shutdown process, then you + * MUST either run the task queue (as a result of running your event loop + * or manually using the run() method) or wait on each outstanding promise. + * + * Note: This shutdown will occur before any destructors are triggered. + */ + public function disableShutdown() + { + $this->enableShutdown = false; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php new file mode 100644 index 00000000..ac8306e1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/TaskQueueInterface.php @@ -0,0 +1,25 @@ + + * while ($eventLoop->isRunning()) { + * GuzzleHttp\Promise\queue()->run(); + * } + * + * + * @param TaskQueueInterface $assign Optionally specify a new queue instance. + * + * @return TaskQueueInterface + */ +function queue(TaskQueueInterface $assign = null) +{ + static $queue; + + if ($assign) { + $queue = $assign; + } elseif (!$queue) { + $queue = new TaskQueue(); + } + + return $queue; +} + +/** + * Adds a function to run in the task queue when it is next `run()` and returns + * a promise that is fulfilled or rejected with the result. + * + * @param callable $task Task function to run. + * + * @return PromiseInterface + */ +function task(callable $task) +{ + $queue = queue(); + $promise = new Promise([$queue, 'run']); + $queue->add(function () use ($task, $promise) { + try { + $promise->resolve($task()); + } catch (\Throwable $e) { + $promise->reject($e); + } catch (\Exception $e) { + $promise->reject($e); + } + }); + + return $promise; +} + +/** + * Creates a promise for a value if the value is not a promise. + * + * @param mixed $value Promise or value. + * + * @return PromiseInterface + */ +function promise_for($value) +{ + if ($value instanceof PromiseInterface) { + return $value; + } + + // Return a Guzzle promise that shadows the given promise. + if (method_exists($value, 'then')) { + $wfn = method_exists($value, 'wait') ? [$value, 'wait'] : null; + $cfn = method_exists($value, 'cancel') ? [$value, 'cancel'] : null; + $promise = new Promise($wfn, $cfn); + $value->then([$promise, 'resolve'], [$promise, 'reject']); + return $promise; + } + + return new FulfilledPromise($value); +} + +/** + * Creates a rejected promise for a reason if the reason is not a promise. If + * the provided reason is a promise, then it is returned as-is. + * + * @param mixed $reason Promise or reason. + * + * @return PromiseInterface + */ +function rejection_for($reason) +{ + if ($reason instanceof PromiseInterface) { + return $reason; + } + + return new RejectedPromise($reason); +} + +/** + * Create an exception for a rejected promise value. + * + * @param mixed $reason + * + * @return \Exception|\Throwable + */ +function exception_for($reason) +{ + return $reason instanceof \Exception || $reason instanceof \Throwable + ? $reason + : new RejectionException($reason); +} + +/** + * Returns an iterator for the given value. + * + * @param mixed $value + * + * @return \Iterator + */ +function iter_for($value) +{ + if ($value instanceof \Iterator) { + return $value; + } elseif (is_array($value)) { + return new \ArrayIterator($value); + } else { + return new \ArrayIterator([$value]); + } +} + +/** + * Synchronously waits on a promise to resolve and returns an inspection state + * array. + * + * Returns a state associative array containing a "state" key mapping to a + * valid promise state. If the state of the promise is "fulfilled", the array + * will contain a "value" key mapping to the fulfilled value of the promise. If + * the promise is rejected, the array will contain a "reason" key mapping to + * the rejection reason of the promise. + * + * @param PromiseInterface $promise Promise or value. + * + * @return array + */ +function inspect(PromiseInterface $promise) +{ + try { + return [ + 'state' => PromiseInterface::FULFILLED, + 'value' => $promise->wait() + ]; + } catch (RejectionException $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e->getReason()]; + } catch (\Throwable $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e]; + } catch (\Exception $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e]; + } +} + +/** + * Waits on all of the provided promises, but does not unwrap rejected promises + * as thrown exception. + * + * Returns an array of inspection state arrays. + * + * @param PromiseInterface[] $promises Traversable of promises to wait upon. + * + * @return array + * @see GuzzleHttp\Promise\inspect for the inspection state array format. + */ +function inspect_all($promises) +{ + $results = []; + foreach ($promises as $key => $promise) { + $results[$key] = inspect($promise); + } + + return $results; +} + +/** + * Waits on all of the provided promises and returns the fulfilled values. + * + * Returns an array that contains the value of each promise (in the same order + * the promises were provided). An exception is thrown if any of the promises + * are rejected. + * + * @param mixed $promises Iterable of PromiseInterface objects to wait on. + * + * @return array + * @throws \Exception on error + * @throws \Throwable on error in PHP >=7 + */ +function unwrap($promises) +{ + $results = []; + foreach ($promises as $key => $promise) { + $results[$key] = $promise->wait(); + } + + return $results; +} + +/** + * Given an array of promises, return a promise that is fulfilled when all the + * items in the array are fulfilled. + * + * The promise's fulfillment value is an array with fulfillment values at + * respective positions to the original array. If any promise in the array + * rejects, the returned promise is rejected with the rejection reason. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ +function all($promises) +{ + $results = []; + return each( + $promises, + function ($value, $idx) use (&$results) { + $results[$idx] = $value; + }, + function ($reason, $idx, Promise $aggregate) { + $aggregate->reject($reason); + } + )->then(function () use (&$results) { + ksort($results); + return $results; + }); +} + +/** + * Initiate a competitive race between multiple promises or values (values will + * become immediately fulfilled promises). + * + * When count amount of promises have been fulfilled, the returned promise is + * fulfilled with an array that contains the fulfillment values of the winners + * in order of resolution. + * + * This prommise is rejected with a {@see GuzzleHttp\Promise\AggregateException} + * if the number of fulfilled promises is less than the desired $count. + * + * @param int $count Total number of promises. + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ +function some($count, $promises) +{ + $results = []; + $rejections = []; + + return each( + $promises, + function ($value, $idx, PromiseInterface $p) use (&$results, $count) { + if ($p->getState() !== PromiseInterface::PENDING) { + return; + } + $results[$idx] = $value; + if (count($results) >= $count) { + $p->resolve(null); + } + }, + function ($reason) use (&$rejections) { + $rejections[] = $reason; + } + )->then( + function () use (&$results, &$rejections, $count) { + if (count($results) !== $count) { + throw new AggregateException( + 'Not enough promises to fulfill count', + $rejections + ); + } + ksort($results); + return array_values($results); + } + ); +} + +/** + * Like some(), with 1 as count. However, if the promise fulfills, the + * fulfillment value is not an array of 1 but the value directly. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ +function any($promises) +{ + return some(1, $promises)->then(function ($values) { return $values[0]; }); +} + +/** + * Returns a promise that is fulfilled when all of the provided promises have + * been fulfilled or rejected. + * + * The returned promise is fulfilled with an array of inspection state arrays. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + * @see GuzzleHttp\Promise\inspect for the inspection state array format. + */ +function settle($promises) +{ + $results = []; + + return each( + $promises, + function ($value, $idx) use (&$results) { + $results[$idx] = ['state' => PromiseInterface::FULFILLED, 'value' => $value]; + }, + function ($reason, $idx) use (&$results) { + $results[$idx] = ['state' => PromiseInterface::REJECTED, 'reason' => $reason]; + } + )->then(function () use (&$results) { + ksort($results); + return $results; + }); +} + +/** + * Given an iterator that yields promises or values, returns a promise that is + * fulfilled with a null value when the iterator has been consumed or the + * aggregate promise has been fulfilled or rejected. + * + * $onFulfilled is a function that accepts the fulfilled value, iterator + * index, and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate promise if needed. + * + * $onRejected is a function that accepts the rejection reason, iterator + * index, and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate promise if needed. + * + * @param mixed $iterable Iterator or array to iterate over. + * @param callable $onFulfilled + * @param callable $onRejected + * + * @return PromiseInterface + */ +function each( + $iterable, + callable $onFulfilled = null, + callable $onRejected = null +) { + return (new EachPromise($iterable, [ + 'fulfilled' => $onFulfilled, + 'rejected' => $onRejected + ]))->promise(); +} + +/** + * Like each, but only allows a certain number of outstanding promises at any + * given time. + * + * $concurrency may be an integer or a function that accepts the number of + * pending promises and returns a numeric concurrency limit value to allow for + * dynamic a concurrency size. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * @param callable $onRejected + * + * @return PromiseInterface + */ +function each_limit( + $iterable, + $concurrency, + callable $onFulfilled = null, + callable $onRejected = null +) { + return (new EachPromise($iterable, [ + 'fulfilled' => $onFulfilled, + 'rejected' => $onRejected, + 'concurrency' => $concurrency + ]))->promise(); +} + +/** + * Like each_limit, but ensures that no promise in the given $iterable argument + * is rejected. If any promise is rejected, then the aggregate promise is + * rejected with the encountered rejection. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * + * @return PromiseInterface + */ +function each_limit_all( + $iterable, + $concurrency, + callable $onFulfilled = null +) { + return each_limit( + $iterable, + $concurrency, + $onFulfilled, + function ($reason, $idx, PromiseInterface $aggregate) { + $aggregate->reject($reason); + } + ); +} + +/** + * Returns true if a promise is fulfilled. + * + * @param PromiseInterface $promise + * + * @return bool + */ +function is_fulfilled(PromiseInterface $promise) +{ + return $promise->getState() === PromiseInterface::FULFILLED; +} + +/** + * Returns true if a promise is rejected. + * + * @param PromiseInterface $promise + * + * @return bool + */ +function is_rejected(PromiseInterface $promise) +{ + return $promise->getState() === PromiseInterface::REJECTED; +} + +/** + * Returns true if a promise is fulfilled or rejected. + * + * @param PromiseInterface $promise + * + * @return bool + */ +function is_settled(PromiseInterface $promise) +{ + return $promise->getState() !== PromiseInterface::PENDING; +} + +/** + * @see Coroutine + * + * @param callable $generatorFn + * + * @return PromiseInterface + */ +function coroutine(callable $generatorFn) +{ + return new Coroutine($generatorFn); +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php new file mode 100644 index 00000000..34cd1710 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/promises/src/functions_include.php @@ -0,0 +1,6 @@ +withPath('foo')->withHost('example.com')` will throw an exception + because the path of a URI with an authority must start with a slash "/" or be empty + - `(new Uri())->withScheme('http')` will return `'http://localhost'` +* Fix compatibility of URIs with `file` scheme and empty host. +* Added common URI utility methods based on RFC 3986 (see documentation in the readme): + - `Uri::isDefaultPort` + - `Uri::isAbsolute` + - `Uri::isNetworkPathReference` + - `Uri::isAbsolutePathReference` + - `Uri::isRelativePathReference` + - `Uri::isSameDocumentReference` + - `Uri::composeComponents` + - `UriNormalizer::normalize` + - `UriNormalizer::isEquivalent` + - `UriResolver::relativize` +* Deprecated `Uri::resolve` in favor of `UriResolver::resolve` +* Deprecated `Uri::removeDotSegments` in favor of `UriResolver::removeDotSegments` + +## 1.3.1 - 2016-06-25 + +* Fix `Uri::__toString` for network path references, e.g. `//example.org`. +* Fix missing lowercase normalization for host. +* Fix handling of URI components in case they are `'0'` in a lot of places, + e.g. as a user info password. +* Fix `Uri::withAddedHeader` to correctly merge headers with different case. +* Fix trimming of header values in `Uri::withAddedHeader`. Header values may + be surrounded by whitespace which should be ignored according to RFC 7230 + Section 3.2.4. This does not apply to header names. +* Fix `Uri::withAddedHeader` with an array of header values. +* Fix `Uri::resolve` when base path has no slash and handling of fragment. +* Fix handling of encoding in `Uri::with(out)QueryValue` so one can pass the + key/value both in encoded as well as decoded form to those methods. This is + consistent with withPath, withQuery etc. +* Fix `ServerRequest::withoutAttribute` when attribute value is null. + +## 1.3.0 - 2016-04-13 + +* Added remaining interfaces needed for full PSR7 compatibility + (ServerRequestInterface, UploadedFileInterface, etc.). +* Added support for stream_for from scalars. +* Can now extend Uri. +* Fixed a bug in validating request methods by making it more permissive. + +## 1.2.3 - 2016-02-18 + +* Fixed support in `GuzzleHttp\Psr7\CachingStream` for seeking forward on remote + streams, which can sometimes return fewer bytes than requested with `fread`. +* Fixed handling of gzipped responses with FNAME headers. + +## 1.2.2 - 2016-01-22 + +* Added support for URIs without any authority. +* Added support for HTTP 451 'Unavailable For Legal Reasons.' +* Added support for using '0' as a filename. +* Added support for including non-standard ports in Host headers. + +## 1.2.1 - 2015-11-02 + +* Now supporting negative offsets when seeking to SEEK_END. + +## 1.2.0 - 2015-08-15 + +* Body as `"0"` is now properly added to a response. +* Now allowing forward seeking in CachingStream. +* Now properly parsing HTTP requests that contain proxy targets in + `parse_request`. +* functions.php is now conditionally required. +* user-info is no longer dropped when resolving URIs. + +## 1.1.0 - 2015-06-24 + +* URIs can now be relative. +* `multipart/form-data` headers are now overridden case-insensitively. +* URI paths no longer encode the following characters because they are allowed + in URIs: "(", ")", "*", "!", "'" +* A port is no longer added to a URI when the scheme is missing and no port is + present. + +## 1.0.0 - 2015-05-19 + +Initial release. + +Currently unsupported: + +- `Psr\Http\Message\ServerRequestInterface` +- `Psr\Http\Message\UploadedFileInterface` diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/LICENSE b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/LICENSE new file mode 100644 index 00000000..581d95f9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/README.md b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/README.md new file mode 100644 index 00000000..16499358 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/README.md @@ -0,0 +1,739 @@ +# PSR-7 Message Implementation + +This repository contains a full [PSR-7](http://www.php-fig.org/psr/psr-7/) +message implementation, several stream decorators, and some helpful +functionality like query string parsing. + + +[![Build Status](https://travis-ci.org/guzzle/psr7.svg?branch=master)](https://travis-ci.org/guzzle/psr7) + + +# Stream implementation + +This package comes with a number of stream implementations and stream +decorators. + + +## AppendStream + +`GuzzleHttp\Psr7\AppendStream` + +Reads from multiple streams, one after the other. + +```php +use GuzzleHttp\Psr7; + +$a = Psr7\stream_for('abc, '); +$b = Psr7\stream_for('123.'); +$composed = new Psr7\AppendStream([$a, $b]); + +$composed->addStream(Psr7\stream_for(' Above all listen to me')); + +echo $composed; // abc, 123. Above all listen to me. +``` + + +## BufferStream + +`GuzzleHttp\Psr7\BufferStream` + +Provides a buffer stream that can be written to fill a buffer, and read +from to remove bytes from the buffer. + +This stream returns a "hwm" metadata value that tells upstream consumers +what the configured high water mark of the stream is, or the maximum +preferred size of the buffer. + +```php +use GuzzleHttp\Psr7; + +// When more than 1024 bytes are in the buffer, it will begin returning +// false to writes. This is an indication that writers should slow down. +$buffer = new Psr7\BufferStream(1024); +``` + + +## CachingStream + +The CachingStream is used to allow seeking over previously read bytes on +non-seekable streams. This can be useful when transferring a non-seekable +entity body fails due to needing to rewind the stream (for example, resulting +from a redirect). Data that is read from the remote stream will be buffered in +a PHP temp stream so that previously read bytes are cached first in memory, +then on disk. + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\stream_for(fopen('http://www.google.com', 'r')); +$stream = new Psr7\CachingStream($original); + +$stream->read(1024); +echo $stream->tell(); +// 1024 + +$stream->seek(0); +echo $stream->tell(); +// 0 +``` + + +## DroppingStream + +`GuzzleHttp\Psr7\DroppingStream` + +Stream decorator that begins dropping data once the size of the underlying +stream becomes too full. + +```php +use GuzzleHttp\Psr7; + +// Create an empty stream +$stream = Psr7\stream_for(); + +// Start dropping data when the stream has more than 10 bytes +$dropping = new Psr7\DroppingStream($stream, 10); + +$dropping->write('01234567890123456789'); +echo $stream; // 0123456789 +``` + + +## FnStream + +`GuzzleHttp\Psr7\FnStream` + +Compose stream implementations based on a hash of functions. + +Allows for easy testing and extension of a provided stream without needing +to create a concrete class for a simple extension point. + +```php + +use GuzzleHttp\Psr7; + +$stream = Psr7\stream_for('hi'); +$fnStream = Psr7\FnStream::decorate($stream, [ + 'rewind' => function () use ($stream) { + echo 'About to rewind - '; + $stream->rewind(); + echo 'rewound!'; + } +]); + +$fnStream->rewind(); +// Outputs: About to rewind - rewound! +``` + + +## InflateStream + +`GuzzleHttp\Psr7\InflateStream` + +Uses PHP's zlib.inflate filter to inflate deflate or gzipped content. + +This stream decorator skips the first 10 bytes of the given stream to remove +the gzip header, converts the provided stream to a PHP stream resource, +then appends the zlib.inflate filter. The stream is then converted back +to a Guzzle stream resource to be used as a Guzzle stream. + + +## LazyOpenStream + +`GuzzleHttp\Psr7\LazyOpenStream` + +Lazily reads or writes to a file that is opened only after an IO operation +take place on the stream. + +```php +use GuzzleHttp\Psr7; + +$stream = new Psr7\LazyOpenStream('/path/to/file', 'r'); +// The file has not yet been opened... + +echo $stream->read(10); +// The file is opened and read from only when needed. +``` + + +## LimitStream + +`GuzzleHttp\Psr7\LimitStream` + +LimitStream can be used to read a subset or slice of an existing stream object. +This can be useful for breaking a large file into smaller pieces to be sent in +chunks (e.g. Amazon S3's multipart upload API). + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\stream_for(fopen('/tmp/test.txt', 'r+')); +echo $original->getSize(); +// >>> 1048576 + +// Limit the size of the body to 1024 bytes and start reading from byte 2048 +$stream = new Psr7\LimitStream($original, 1024, 2048); +echo $stream->getSize(); +// >>> 1024 +echo $stream->tell(); +// >>> 0 +``` + + +## MultipartStream + +`GuzzleHttp\Psr7\MultipartStream` + +Stream that when read returns bytes for a streaming multipart or +multipart/form-data stream. + + +## NoSeekStream + +`GuzzleHttp\Psr7\NoSeekStream` + +NoSeekStream wraps a stream and does not allow seeking. + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\stream_for('foo'); +$noSeek = new Psr7\NoSeekStream($original); + +echo $noSeek->read(3); +// foo +var_export($noSeek->isSeekable()); +// false +$noSeek->seek(0); +var_export($noSeek->read(3)); +// NULL +``` + + +## PumpStream + +`GuzzleHttp\Psr7\PumpStream` + +Provides a read only stream that pumps data from a PHP callable. + +When invoking the provided callable, the PumpStream will pass the amount of +data requested to read to the callable. The callable can choose to ignore +this value and return fewer or more bytes than requested. Any extra data +returned by the provided callable is buffered internally until drained using +the read() function of the PumpStream. The provided callable MUST return +false when there is no more data to read. + + +## Implementing stream decorators + +Creating a stream decorator is very easy thanks to the +`GuzzleHttp\Psr7\StreamDecoratorTrait`. This trait provides methods that +implement `Psr\Http\Message\StreamInterface` by proxying to an underlying +stream. Just `use` the `StreamDecoratorTrait` and implement your custom +methods. + +For example, let's say we wanted to call a specific function each time the last +byte is read from a stream. This could be implemented by overriding the +`read()` method. + +```php +use Psr\Http\Message\StreamInterface; +use GuzzleHttp\Psr7\StreamDecoratorTrait; + +class EofCallbackStream implements StreamInterface +{ + use StreamDecoratorTrait; + + private $callback; + + public function __construct(StreamInterface $stream, callable $cb) + { + $this->stream = $stream; + $this->callback = $cb; + } + + public function read($length) + { + $result = $this->stream->read($length); + + // Invoke the callback when EOF is hit. + if ($this->eof()) { + call_user_func($this->callback); + } + + return $result; + } +} +``` + +This decorator could be added to any existing stream and used like so: + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\stream_for('foo'); + +$eofStream = new EofCallbackStream($original, function () { + echo 'EOF!'; +}); + +$eofStream->read(2); +$eofStream->read(1); +// echoes "EOF!" +$eofStream->seek(0); +$eofStream->read(3); +// echoes "EOF!" +``` + + +## PHP StreamWrapper + +You can use the `GuzzleHttp\Psr7\StreamWrapper` class if you need to use a +PSR-7 stream as a PHP stream resource. + +Use the `GuzzleHttp\Psr7\StreamWrapper::getResource()` method to create a PHP +stream from a PSR-7 stream. + +```php +use GuzzleHttp\Psr7\StreamWrapper; + +$stream = GuzzleHttp\Psr7\stream_for('hello!'); +$resource = StreamWrapper::getResource($stream); +echo fread($resource, 6); // outputs hello! +``` + + +# Function API + +There are various functions available under the `GuzzleHttp\Psr7` namespace. + + +## `function str` + +`function str(MessageInterface $message)` + +Returns the string representation of an HTTP message. + +```php +$request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com'); +echo GuzzleHttp\Psr7\str($request); +``` + + +## `function uri_for` + +`function uri_for($uri)` + +This function accepts a string or `Psr\Http\Message\UriInterface` and returns a +UriInterface for the given value. If the value is already a `UriInterface`, it +is returned as-is. + +```php +$uri = GuzzleHttp\Psr7\uri_for('http://example.com'); +assert($uri === GuzzleHttp\Psr7\uri_for($uri)); +``` + + +## `function stream_for` + +`function stream_for($resource = '', array $options = [])` + +Create a new stream based on the input type. + +Options is an associative array that can contain the following keys: + +* - metadata: Array of custom metadata. +* - size: Size of the stream. + +This method accepts the following `$resource` types: + +- `Psr\Http\Message\StreamInterface`: Returns the value as-is. +- `string`: Creates a stream object that uses the given string as the contents. +- `resource`: Creates a stream object that wraps the given PHP stream resource. +- `Iterator`: If the provided value implements `Iterator`, then a read-only + stream object will be created that wraps the given iterable. Each time the + stream is read from, data from the iterator will fill a buffer and will be + continuously called until the buffer is equal to the requested read size. + Subsequent read calls will first read from the buffer and then call `next` + on the underlying iterator until it is exhausted. +- `object` with `__toString()`: If the object has the `__toString()` method, + the object will be cast to a string and then a stream will be returned that + uses the string value. +- `NULL`: When `null` is passed, an empty stream object is returned. +- `callable` When a callable is passed, a read-only stream object will be + created that invokes the given callable. The callable is invoked with the + number of suggested bytes to read. The callable can return any number of + bytes, but MUST return `false` when there is no more data to return. The + stream object that wraps the callable will invoke the callable until the + number of requested bytes are available. Any additional bytes will be + buffered and used in subsequent reads. + +```php +$stream = GuzzleHttp\Psr7\stream_for('foo'); +$stream = GuzzleHttp\Psr7\stream_for(fopen('/path/to/file', 'r')); + +$generator function ($bytes) { + for ($i = 0; $i < $bytes; $i++) { + yield ' '; + } +} + +$stream = GuzzleHttp\Psr7\stream_for($generator(100)); +``` + + +## `function parse_header` + +`function parse_header($header)` + +Parse an array of header values containing ";" separated data into an array of +associative arrays representing the header key value pair data of the header. +When a parameter does not contain a value, but just contains a key, this +function will inject a key with a '' string value. + + +## `function normalize_header` + +`function normalize_header($header)` + +Converts an array of header values that may contain comma separated headers +into an array of headers with no comma separated values. + + +## `function modify_request` + +`function modify_request(RequestInterface $request, array $changes)` + +Clone and modify a request with the given changes. This method is useful for +reducing the number of clones needed to mutate a message. + +The changes can be one of: + +- method: (string) Changes the HTTP method. +- set_headers: (array) Sets the given headers. +- remove_headers: (array) Remove the given headers. +- body: (mixed) Sets the given body. +- uri: (UriInterface) Set the URI. +- query: (string) Set the query string value of the URI. +- version: (string) Set the protocol version. + + +## `function rewind_body` + +`function rewind_body(MessageInterface $message)` + +Attempts to rewind a message body and throws an exception on failure. The body +of the message will only be rewound if a call to `tell()` returns a value other +than `0`. + + +## `function try_fopen` + +`function try_fopen($filename, $mode)` + +Safely opens a PHP stream resource using a filename. + +When fopen fails, PHP normally raises a warning. This function adds an error +handler that checks for errors and throws an exception instead. + + +## `function copy_to_string` + +`function copy_to_string(StreamInterface $stream, $maxLen = -1)` + +Copy the contents of a stream into a string until the given number of bytes +have been read. + + +## `function copy_to_stream` + +`function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1)` + +Copy the contents of a stream into another stream until the given number of +bytes have been read. + + +## `function hash` + +`function hash(StreamInterface $stream, $algo, $rawOutput = false)` + +Calculate a hash of a Stream. This method reads the entire stream to calculate +a rolling hash (based on PHP's hash_init functions). + + +## `function readline` + +`function readline(StreamInterface $stream, $maxLength = null)` + +Read a line from the stream up to the maximum allowed buffer length. + + +## `function parse_request` + +`function parse_request($message)` + +Parses a request message string into a request object. + + +## `function parse_response` + +`function parse_response($message)` + +Parses a response message string into a response object. + + +## `function parse_query` + +`function parse_query($str, $urlEncoding = true)` + +Parse a query string into an associative array. + +If multiple values are found for the same key, the value of that key value pair +will become an array. This function does not parse nested PHP style arrays into +an associative array (e.g., `foo[a]=1&foo[b]=2` will be parsed into +`['foo[a]' => '1', 'foo[b]' => '2']`). + + +## `function build_query` + +`function build_query(array $params, $encoding = PHP_QUERY_RFC3986)` + +Build a query string from an array of key value pairs. + +This function can use the return value of parse_query() to build a query string. +This function does not modify the provided keys when an array is encountered +(like http_build_query would). + + +## `function mimetype_from_filename` + +`function mimetype_from_filename($filename)` + +Determines the mimetype of a file by looking at its extension. + + +## `function mimetype_from_extension` + +`function mimetype_from_extension($extension)` + +Maps a file extensions to a mimetype. + + +# Additional URI Methods + +Aside from the standard `Psr\Http\Message\UriInterface` implementation in form of the `GuzzleHttp\Psr7\Uri` class, +this library also provides additional functionality when working with URIs as static methods. + +## URI Types + +An instance of `Psr\Http\Message\UriInterface` can either be an absolute URI or a relative reference. +An absolute URI has a scheme. A relative reference is used to express a URI relative to another URI, +the base URI. Relative references can be divided into several forms according to +[RFC 3986 Section 4.2](https://tools.ietf.org/html/rfc3986#section-4.2): + +- network-path references, e.g. `//example.com/path` +- absolute-path references, e.g. `/path` +- relative-path references, e.g. `subpath` + +The following methods can be used to identify the type of the URI. + +### `GuzzleHttp\Psr7\Uri::isAbsolute` + +`public static function isAbsolute(UriInterface $uri): bool` + +Whether the URI is absolute, i.e. it has a scheme. + +### `GuzzleHttp\Psr7\Uri::isNetworkPathReference` + +`public static function isNetworkPathReference(UriInterface $uri): bool` + +Whether the URI is a network-path reference. A relative reference that begins with two slash characters is +termed an network-path reference. + +### `GuzzleHttp\Psr7\Uri::isAbsolutePathReference` + +`public static function isAbsolutePathReference(UriInterface $uri): bool` + +Whether the URI is a absolute-path reference. A relative reference that begins with a single slash character is +termed an absolute-path reference. + +### `GuzzleHttp\Psr7\Uri::isRelativePathReference` + +`public static function isRelativePathReference(UriInterface $uri): bool` + +Whether the URI is a relative-path reference. A relative reference that does not begin with a slash character is +termed a relative-path reference. + +### `GuzzleHttp\Psr7\Uri::isSameDocumentReference` + +`public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool` + +Whether the URI is a same-document reference. A same-document reference refers to a URI that is, aside from its +fragment component, identical to the base URI. When no base URI is given, only an empty URI reference +(apart from its fragment) is considered a same-document reference. + +## URI Components + +Additional methods to work with URI components. + +### `GuzzleHttp\Psr7\Uri::isDefaultPort` + +`public static function isDefaultPort(UriInterface $uri): bool` + +Whether the URI has the default port of the current scheme. `Psr\Http\Message\UriInterface::getPort` may return null +or the standard port. This method can be used independently of the implementation. + +### `GuzzleHttp\Psr7\Uri::composeComponents` + +`public static function composeComponents($scheme, $authority, $path, $query, $fragment): string` + +Composes a URI reference string from its various components according to +[RFC 3986 Section 5.3](https://tools.ietf.org/html/rfc3986#section-5.3). Usually this method does not need to be called +manually but instead is used indirectly via `Psr\Http\Message\UriInterface::__toString`. + +### `GuzzleHttp\Psr7\Uri::fromParts` + +`public static function fromParts(array $parts): UriInterface` + +Creates a URI from a hash of [`parse_url`](http://php.net/manual/en/function.parse-url.php) components. + + +### `GuzzleHttp\Psr7\Uri::withQueryValue` + +`public static function withQueryValue(UriInterface $uri, $key, $value): UriInterface` + +Creates a new URI with a specific query string value. Any existing query string values that exactly match the +provided key are removed and replaced with the given key value pair. A value of null will set the query string +key without a value, e.g. "key" instead of "key=value". + + +### `GuzzleHttp\Psr7\Uri::withoutQueryValue` + +`public static function withoutQueryValue(UriInterface $uri, $key): UriInterface` + +Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the +provided key are removed. + +## Reference Resolution + +`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according +to [RFC 3986 Section 5](https://tools.ietf.org/html/rfc3986#section-5). This is for example also what web browsers +do when resolving a link in a website based on the current request URI. + +### `GuzzleHttp\Psr7\UriResolver::resolve` + +`public static function resolve(UriInterface $base, UriInterface $rel): UriInterface` + +Converts the relative URI into a new URI that is resolved against the base URI. + +### `GuzzleHttp\Psr7\UriResolver::removeDotSegments` + +`public static function removeDotSegments(string $path): string` + +Removes dot segments from a path and returns the new path according to +[RFC 3986 Section 5.2.4](https://tools.ietf.org/html/rfc3986#section-5.2.4). + +### `GuzzleHttp\Psr7\UriResolver::relativize` + +`public static function relativize(UriInterface $base, UriInterface $target): UriInterface` + +Returns the target URI as a relative reference from the base URI. This method is the counterpart to resolve(): + +```php +(string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target)) +``` + +One use-case is to use the current request URI as base URI and then generate relative links in your documents +to reduce the document size or offer self-contained downloadable document archives. + +```php +$base = new Uri('http://example.com/a/b/'); +echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'. +echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'. +echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'. +echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'. +``` + +## Normalization and Comparison + +`GuzzleHttp\Psr7\UriNormalizer` provides methods to normalize and compare URIs according to +[RFC 3986 Section 6](https://tools.ietf.org/html/rfc3986#section-6). + +### `GuzzleHttp\Psr7\UriNormalizer::normalize` + +`public static function normalize(UriInterface $uri, $flags = self::PRESERVING_NORMALIZATIONS): UriInterface` + +Returns a normalized URI. The scheme and host component are already normalized to lowercase per PSR-7 UriInterface. +This methods adds additional normalizations that can be configured with the `$flags` parameter which is a bitmask +of normalizations to apply. The following normalizations are available: + +- `UriNormalizer::PRESERVING_NORMALIZATIONS` + + Default normalizations which only include the ones that preserve semantics. + +- `UriNormalizer::CAPITALIZE_PERCENT_ENCODING` + + All letters within a percent-encoding triplet (e.g., "%3A") are case-insensitive, and should be capitalized. + + Example: `http://example.org/a%c2%b1b` → `http://example.org/a%C2%B1b` + +- `UriNormalizer::DECODE_UNRESERVED_CHARACTERS` + + Decodes percent-encoded octets of unreserved characters. For consistency, percent-encoded octets in the ranges of + ALPHA (%41–%5A and %61–%7A), DIGIT (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should + not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved + characters by URI normalizers. + + Example: `http://example.org/%7Eusern%61me/` → `http://example.org/~username/` + +- `UriNormalizer::CONVERT_EMPTY_PATH` + + Converts the empty path to "/" for http and https URIs. + + Example: `http://example.org` → `http://example.org/` + +- `UriNormalizer::REMOVE_DEFAULT_HOST` + + Removes the default host of the given URI scheme from the URI. Only the "file" scheme defines the default host + "localhost". All of `file:/myfile`, `file:///myfile`, and `file://localhost/myfile` are equivalent according to + RFC 3986. + + Example: `file://localhost/myfile` → `file:///myfile` + +- `UriNormalizer::REMOVE_DEFAULT_PORT` + + Removes the default port of the given URI scheme from the URI. + + Example: `http://example.org:80/` → `http://example.org/` + +- `UriNormalizer::REMOVE_DOT_SEGMENTS` + + Removes unnecessary dot-segments. Dot-segments in relative-path references are not removed as it would + change the semantics of the URI reference. + + Example: `http://example.org/../a/b/../c/./d.html` → `http://example.org/a/c/d.html` + +- `UriNormalizer::REMOVE_DUPLICATE_SLASHES` + + Paths which include two or more adjacent slashes are converted to one. Webservers usually ignore duplicate slashes + and treat those URIs equivalent. But in theory those URIs do not need to be equivalent. So this normalization + may change the semantics. Encoded slashes (%2F) are not removed. + + Example: `http://example.org//foo///bar.html` → `http://example.org/foo/bar.html` + +- `UriNormalizer::SORT_QUERY_PARAMETERS` + + Sort query parameters with their values in alphabetical order. However, the order of parameters in a URI may be + significant (this is not defined by the standard). So this normalization is not safe and may change the semantics + of the URI. + + Example: `?lang=en&article=fred` → `?article=fred&lang=en` + +### `GuzzleHttp\Psr7\UriNormalizer::isEquivalent` + +`public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS): bool` + +Whether two URIs can be considered equivalent. Both URIs are normalized automatically before comparison with the given +`$normalizations` bitmask. The method also accepts relative URI references and returns true when they are equivalent. +This of course assumes they will be resolved against the same base URI. If this is not the case, determination of +equivalence or difference of relative references does not mean anything. diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/composer.json b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/composer.json new file mode 100644 index 00000000..b1c5a90b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/composer.json @@ -0,0 +1,39 @@ +{ + "name": "guzzlehttp/psr7", + "type": "library", + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": ["request", "response", "message", "stream", "http", "uri", "url"], + "license": "MIT", + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" + } + ], + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": ["src/functions_include.php"] + }, + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php new file mode 100644 index 00000000..23039fd7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/AppendStream.php @@ -0,0 +1,233 @@ +addStream($stream); + } + } + + public function __toString() + { + try { + $this->rewind(); + return $this->getContents(); + } catch (\Exception $e) { + return ''; + } + } + + /** + * Add a stream to the AppendStream + * + * @param StreamInterface $stream Stream to append. Must be readable. + * + * @throws \InvalidArgumentException if the stream is not readable + */ + public function addStream(StreamInterface $stream) + { + if (!$stream->isReadable()) { + throw new \InvalidArgumentException('Each stream must be readable'); + } + + // The stream is only seekable if all streams are seekable + if (!$stream->isSeekable()) { + $this->seekable = false; + } + + $this->streams[] = $stream; + } + + public function getContents() + { + return copy_to_string($this); + } + + /** + * Closes each attached stream. + * + * {@inheritdoc} + */ + public function close() + { + $this->pos = $this->current = 0; + + foreach ($this->streams as $stream) { + $stream->close(); + } + + $this->streams = []; + } + + /** + * Detaches each attached stream + * + * {@inheritdoc} + */ + public function detach() + { + $this->close(); + $this->detached = true; + } + + public function tell() + { + return $this->pos; + } + + /** + * Tries to calculate the size by adding the size of each stream. + * + * If any of the streams do not return a valid number, then the size of the + * append stream cannot be determined and null is returned. + * + * {@inheritdoc} + */ + public function getSize() + { + $size = 0; + + foreach ($this->streams as $stream) { + $s = $stream->getSize(); + if ($s === null) { + return null; + } + $size += $s; + } + + return $size; + } + + public function eof() + { + return !$this->streams || + ($this->current >= count($this->streams) - 1 && + $this->streams[$this->current]->eof()); + } + + public function rewind() + { + $this->seek(0); + } + + /** + * Attempts to seek to the given position. Only supports SEEK_SET. + * + * {@inheritdoc} + */ + public function seek($offset, $whence = SEEK_SET) + { + if (!$this->seekable) { + throw new \RuntimeException('This AppendStream is not seekable'); + } elseif ($whence !== SEEK_SET) { + throw new \RuntimeException('The AppendStream can only seek with SEEK_SET'); + } + + $this->pos = $this->current = 0; + + // Rewind each stream + foreach ($this->streams as $i => $stream) { + try { + $stream->rewind(); + } catch (\Exception $e) { + throw new \RuntimeException('Unable to seek stream ' + . $i . ' of the AppendStream', 0, $e); + } + } + + // Seek to the actual position by reading from each stream + while ($this->pos < $offset && !$this->eof()) { + $result = $this->read(min(8096, $offset - $this->pos)); + if ($result === '') { + break; + } + } + } + + /** + * Reads from all of the appended streams until the length is met or EOF. + * + * {@inheritdoc} + */ + public function read($length) + { + $buffer = ''; + $total = count($this->streams) - 1; + $remaining = $length; + $progressToNext = false; + + while ($remaining > 0) { + + // Progress to the next stream if needed. + if ($progressToNext || $this->streams[$this->current]->eof()) { + $progressToNext = false; + if ($this->current === $total) { + break; + } + $this->current++; + } + + $result = $this->streams[$this->current]->read($remaining); + + // Using a loose comparison here to match on '', false, and null + if ($result == null) { + $progressToNext = true; + continue; + } + + $buffer .= $result; + $remaining = $length - strlen($buffer); + } + + $this->pos += strlen($buffer); + + return $buffer; + } + + public function isReadable() + { + return true; + } + + public function isWritable() + { + return false; + } + + public function isSeekable() + { + return $this->seekable; + } + + public function write($string) + { + throw new \RuntimeException('Cannot write to an AppendStream'); + } + + public function getMetadata($key = null) + { + return $key ? null : []; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php new file mode 100644 index 00000000..af4d4c22 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/BufferStream.php @@ -0,0 +1,137 @@ +hwm = $hwm; + } + + public function __toString() + { + return $this->getContents(); + } + + public function getContents() + { + $buffer = $this->buffer; + $this->buffer = ''; + + return $buffer; + } + + public function close() + { + $this->buffer = ''; + } + + public function detach() + { + $this->close(); + } + + public function getSize() + { + return strlen($this->buffer); + } + + public function isReadable() + { + return true; + } + + public function isWritable() + { + return true; + } + + public function isSeekable() + { + return false; + } + + public function rewind() + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET) + { + throw new \RuntimeException('Cannot seek a BufferStream'); + } + + public function eof() + { + return strlen($this->buffer) === 0; + } + + public function tell() + { + throw new \RuntimeException('Cannot determine the position of a BufferStream'); + } + + /** + * Reads data from the buffer. + */ + public function read($length) + { + $currentLength = strlen($this->buffer); + + if ($length >= $currentLength) { + // No need to slice the buffer because we don't have enough data. + $result = $this->buffer; + $this->buffer = ''; + } else { + // Slice up the result to provide a subset of the buffer. + $result = substr($this->buffer, 0, $length); + $this->buffer = substr($this->buffer, $length); + } + + return $result; + } + + /** + * Writes data to the buffer. + */ + public function write($string) + { + $this->buffer .= $string; + + // TODO: What should happen here? + if (strlen($this->buffer) >= $this->hwm) { + return false; + } + + return strlen($string); + } + + public function getMetadata($key = null) + { + if ($key == 'hwm') { + return $this->hwm; + } + + return $key ? null : []; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php new file mode 100644 index 00000000..ed68f086 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/CachingStream.php @@ -0,0 +1,138 @@ +remoteStream = $stream; + $this->stream = $target ?: new Stream(fopen('php://temp', 'r+')); + } + + public function getSize() + { + return max($this->stream->getSize(), $this->remoteStream->getSize()); + } + + public function rewind() + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET) + { + if ($whence == SEEK_SET) { + $byte = $offset; + } elseif ($whence == SEEK_CUR) { + $byte = $offset + $this->tell(); + } elseif ($whence == SEEK_END) { + $size = $this->remoteStream->getSize(); + if ($size === null) { + $size = $this->cacheEntireStream(); + } + $byte = $size + $offset; + } else { + throw new \InvalidArgumentException('Invalid whence'); + } + + $diff = $byte - $this->stream->getSize(); + + if ($diff > 0) { + // Read the remoteStream until we have read in at least the amount + // of bytes requested, or we reach the end of the file. + while ($diff > 0 && !$this->remoteStream->eof()) { + $this->read($diff); + $diff = $byte - $this->stream->getSize(); + } + } else { + // We can just do a normal seek since we've already seen this byte. + $this->stream->seek($byte); + } + } + + public function read($length) + { + // Perform a regular read on any previously read data from the buffer + $data = $this->stream->read($length); + $remaining = $length - strlen($data); + + // More data was requested so read from the remote stream + if ($remaining) { + // If data was written to the buffer in a position that would have + // been filled from the remote stream, then we must skip bytes on + // the remote stream to emulate overwriting bytes from that + // position. This mimics the behavior of other PHP stream wrappers. + $remoteData = $this->remoteStream->read( + $remaining + $this->skipReadBytes + ); + + if ($this->skipReadBytes) { + $len = strlen($remoteData); + $remoteData = substr($remoteData, $this->skipReadBytes); + $this->skipReadBytes = max(0, $this->skipReadBytes - $len); + } + + $data .= $remoteData; + $this->stream->write($remoteData); + } + + return $data; + } + + public function write($string) + { + // When appending to the end of the currently read stream, you'll want + // to skip bytes from being read from the remote stream to emulate + // other stream wrappers. Basically replacing bytes of data of a fixed + // length. + $overflow = (strlen($string) + $this->tell()) - $this->remoteStream->tell(); + if ($overflow > 0) { + $this->skipReadBytes += $overflow; + } + + return $this->stream->write($string); + } + + public function eof() + { + return $this->stream->eof() && $this->remoteStream->eof(); + } + + /** + * Close both the remote stream and buffer stream + */ + public function close() + { + $this->remoteStream->close() && $this->stream->close(); + } + + private function cacheEntireStream() + { + $target = new FnStream(['write' => 'strlen']); + copy_to_stream($this, $target); + + return $this->tell(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php new file mode 100644 index 00000000..8935c80d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/DroppingStream.php @@ -0,0 +1,42 @@ +stream = $stream; + $this->maxLength = $maxLength; + } + + public function write($string) + { + $diff = $this->maxLength - $this->stream->getSize(); + + // Begin returning 0 when the underlying stream is too large. + if ($diff <= 0) { + return 0; + } + + // Write the stream or a subset of the stream if needed. + if (strlen($string) < $diff) { + return $this->stream->write($string); + } + + return $this->stream->write(substr($string, 0, $diff)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php new file mode 100644 index 00000000..cc9b4453 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/FnStream.php @@ -0,0 +1,149 @@ +methods = $methods; + + // Create the functions on the class + foreach ($methods as $name => $fn) { + $this->{'_fn_' . $name} = $fn; + } + } + + /** + * Lazily determine which methods are not implemented. + * @throws \BadMethodCallException + */ + public function __get($name) + { + throw new \BadMethodCallException(str_replace('_fn_', '', $name) + . '() is not implemented in the FnStream'); + } + + /** + * The close method is called on the underlying stream only if possible. + */ + public function __destruct() + { + if (isset($this->_fn_close)) { + call_user_func($this->_fn_close); + } + } + + /** + * Adds custom functionality to an underlying stream by intercepting + * specific method calls. + * + * @param StreamInterface $stream Stream to decorate + * @param array $methods Hash of method name to a closure + * + * @return FnStream + */ + public static function decorate(StreamInterface $stream, array $methods) + { + // If any of the required methods were not provided, then simply + // proxy to the decorated stream. + foreach (array_diff(self::$slots, array_keys($methods)) as $diff) { + $methods[$diff] = [$stream, $diff]; + } + + return new self($methods); + } + + public function __toString() + { + return call_user_func($this->_fn___toString); + } + + public function close() + { + return call_user_func($this->_fn_close); + } + + public function detach() + { + return call_user_func($this->_fn_detach); + } + + public function getSize() + { + return call_user_func($this->_fn_getSize); + } + + public function tell() + { + return call_user_func($this->_fn_tell); + } + + public function eof() + { + return call_user_func($this->_fn_eof); + } + + public function isSeekable() + { + return call_user_func($this->_fn_isSeekable); + } + + public function rewind() + { + call_user_func($this->_fn_rewind); + } + + public function seek($offset, $whence = SEEK_SET) + { + call_user_func($this->_fn_seek, $offset, $whence); + } + + public function isWritable() + { + return call_user_func($this->_fn_isWritable); + } + + public function write($string) + { + return call_user_func($this->_fn_write, $string); + } + + public function isReadable() + { + return call_user_func($this->_fn_isReadable); + } + + public function read($length) + { + return call_user_func($this->_fn_read, $length); + } + + public function getContents() + { + return call_user_func($this->_fn_getContents); + } + + public function getMetadata($key = null) + { + return call_user_func($this->_fn_getMetadata, $key); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php new file mode 100644 index 00000000..0051d3fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/InflateStream.php @@ -0,0 +1,52 @@ +read(10); + $filenameHeaderLength = $this->getLengthOfPossibleFilenameHeader($stream, $header); + // Skip the header, that is 10 + length of filename + 1 (nil) bytes + $stream = new LimitStream($stream, -1, 10 + $filenameHeaderLength); + $resource = StreamWrapper::getResource($stream); + stream_filter_append($resource, 'zlib.inflate', STREAM_FILTER_READ); + $this->stream = new Stream($resource); + } + + /** + * @param StreamInterface $stream + * @param $header + * @return int + */ + private function getLengthOfPossibleFilenameHeader(StreamInterface $stream, $header) + { + $filename_header_length = 0; + + if (substr(bin2hex($header), 6, 2) === '08') { + // we have a filename, read until nil + $filename_header_length = 1; + while ($stream->read(1) !== chr(0)) { + $filename_header_length++; + } + } + + return $filename_header_length; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php new file mode 100644 index 00000000..02cec3af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LazyOpenStream.php @@ -0,0 +1,39 @@ +filename = $filename; + $this->mode = $mode; + } + + /** + * Creates the underlying stream lazily when required. + * + * @return StreamInterface + */ + protected function createStream() + { + return stream_for(try_fopen($this->filename, $this->mode)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php new file mode 100644 index 00000000..3c13d4f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/LimitStream.php @@ -0,0 +1,155 @@ +stream = $stream; + $this->setLimit($limit); + $this->setOffset($offset); + } + + public function eof() + { + // Always return true if the underlying stream is EOF + if ($this->stream->eof()) { + return true; + } + + // No limit and the underlying stream is not at EOF + if ($this->limit == -1) { + return false; + } + + return $this->stream->tell() >= $this->offset + $this->limit; + } + + /** + * Returns the size of the limited subset of data + * {@inheritdoc} + */ + public function getSize() + { + if (null === ($length = $this->stream->getSize())) { + return null; + } elseif ($this->limit == -1) { + return $length - $this->offset; + } else { + return min($this->limit, $length - $this->offset); + } + } + + /** + * Allow for a bounded seek on the read limited stream + * {@inheritdoc} + */ + public function seek($offset, $whence = SEEK_SET) + { + if ($whence !== SEEK_SET || $offset < 0) { + throw new \RuntimeException(sprintf( + 'Cannot seek to offset % with whence %s', + $offset, + $whence + )); + } + + $offset += $this->offset; + + if ($this->limit !== -1) { + if ($offset > $this->offset + $this->limit) { + $offset = $this->offset + $this->limit; + } + } + + $this->stream->seek($offset); + } + + /** + * Give a relative tell() + * {@inheritdoc} + */ + public function tell() + { + return $this->stream->tell() - $this->offset; + } + + /** + * Set the offset to start limiting from + * + * @param int $offset Offset to seek to and begin byte limiting from + * + * @throws \RuntimeException if the stream cannot be seeked. + */ + public function setOffset($offset) + { + $current = $this->stream->tell(); + + if ($current !== $offset) { + // If the stream cannot seek to the offset position, then read to it + if ($this->stream->isSeekable()) { + $this->stream->seek($offset); + } elseif ($current > $offset) { + throw new \RuntimeException("Could not seek to stream offset $offset"); + } else { + $this->stream->read($offset - $current); + } + } + + $this->offset = $offset; + } + + /** + * Set the limit of bytes that the decorator allows to be read from the + * stream. + * + * @param int $limit Number of bytes to allow to be read from the stream. + * Use -1 for no limit. + */ + public function setLimit($limit) + { + $this->limit = $limit; + } + + public function read($length) + { + if ($this->limit == -1) { + return $this->stream->read($length); + } + + // Check if the current position is less than the total allowed + // bytes + original offset + $remaining = ($this->offset + $this->limit) - $this->stream->tell(); + if ($remaining > 0) { + // Only return the amount of requested data, ensuring that the byte + // limit is not exceeded + return $this->stream->read(min($remaining, $length)); + } + + return ''; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php new file mode 100644 index 00000000..1e4da649 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MessageTrait.php @@ -0,0 +1,183 @@ + array of values */ + private $headers = []; + + /** @var array Map of lowercase header name => original name at registration */ + private $headerNames = []; + + /** @var string */ + private $protocol = '1.1'; + + /** @var StreamInterface */ + private $stream; + + public function getProtocolVersion() + { + return $this->protocol; + } + + public function withProtocolVersion($version) + { + if ($this->protocol === $version) { + return $this; + } + + $new = clone $this; + $new->protocol = $version; + return $new; + } + + public function getHeaders() + { + return $this->headers; + } + + public function hasHeader($header) + { + return isset($this->headerNames[strtolower($header)]); + } + + public function getHeader($header) + { + $header = strtolower($header); + + if (!isset($this->headerNames[$header])) { + return []; + } + + $header = $this->headerNames[$header]; + + return $this->headers[$header]; + } + + public function getHeaderLine($header) + { + return implode(', ', $this->getHeader($header)); + } + + public function withHeader($header, $value) + { + if (!is_array($value)) { + $value = [$value]; + } + + $value = $this->trimHeaderValues($value); + $normalized = strtolower($header); + + $new = clone $this; + if (isset($new->headerNames[$normalized])) { + unset($new->headers[$new->headerNames[$normalized]]); + } + $new->headerNames[$normalized] = $header; + $new->headers[$header] = $value; + + return $new; + } + + public function withAddedHeader($header, $value) + { + if (!is_array($value)) { + $value = [$value]; + } + + $value = $this->trimHeaderValues($value); + $normalized = strtolower($header); + + $new = clone $this; + if (isset($new->headerNames[$normalized])) { + $header = $this->headerNames[$normalized]; + $new->headers[$header] = array_merge($this->headers[$header], $value); + } else { + $new->headerNames[$normalized] = $header; + $new->headers[$header] = $value; + } + + return $new; + } + + public function withoutHeader($header) + { + $normalized = strtolower($header); + + if (!isset($this->headerNames[$normalized])) { + return $this; + } + + $header = $this->headerNames[$normalized]; + + $new = clone $this; + unset($new->headers[$header], $new->headerNames[$normalized]); + + return $new; + } + + public function getBody() + { + if (!$this->stream) { + $this->stream = stream_for(''); + } + + return $this->stream; + } + + public function withBody(StreamInterface $body) + { + if ($body === $this->stream) { + return $this; + } + + $new = clone $this; + $new->stream = $body; + return $new; + } + + private function setHeaders(array $headers) + { + $this->headerNames = $this->headers = []; + foreach ($headers as $header => $value) { + if (!is_array($value)) { + $value = [$value]; + } + + $value = $this->trimHeaderValues($value); + $normalized = strtolower($header); + if (isset($this->headerNames[$normalized])) { + $header = $this->headerNames[$normalized]; + $this->headers[$header] = array_merge($this->headers[$header], $value); + } else { + $this->headerNames[$normalized] = $header; + $this->headers[$header] = $value; + } + } + } + + /** + * Trims whitespace from the header values. + * + * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. + * + * header-field = field-name ":" OWS field-value OWS + * OWS = *( SP / HTAB ) + * + * @param string[] $values Header values + * + * @return string[] Trimmed header values + * + * @see https://tools.ietf.org/html/rfc7230#section-3.2.4 + */ + private function trimHeaderValues(array $values) + { + return array_map(function ($value) { + return trim($value, " \t"); + }, $values); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php new file mode 100644 index 00000000..c0fd584f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/MultipartStream.php @@ -0,0 +1,153 @@ +boundary = $boundary ?: sha1(uniqid('', true)); + $this->stream = $this->createStream($elements); + } + + /** + * Get the boundary + * + * @return string + */ + public function getBoundary() + { + return $this->boundary; + } + + public function isWritable() + { + return false; + } + + /** + * Get the headers needed before transferring the content of a POST file + */ + private function getHeaders(array $headers) + { + $str = ''; + foreach ($headers as $key => $value) { + $str .= "{$key}: {$value}\r\n"; + } + + return "--{$this->boundary}\r\n" . trim($str) . "\r\n\r\n"; + } + + /** + * Create the aggregate stream that will be used to upload the POST data + */ + protected function createStream(array $elements) + { + $stream = new AppendStream(); + + foreach ($elements as $element) { + $this->addElement($stream, $element); + } + + // Add the trailing boundary with CRLF + $stream->addStream(stream_for("--{$this->boundary}--\r\n")); + + return $stream; + } + + private function addElement(AppendStream $stream, array $element) + { + foreach (['contents', 'name'] as $key) { + if (!array_key_exists($key, $element)) { + throw new \InvalidArgumentException("A '{$key}' key is required"); + } + } + + $element['contents'] = stream_for($element['contents']); + + if (empty($element['filename'])) { + $uri = $element['contents']->getMetadata('uri'); + if (substr($uri, 0, 6) !== 'php://') { + $element['filename'] = $uri; + } + } + + list($body, $headers) = $this->createElement( + $element['name'], + $element['contents'], + isset($element['filename']) ? $element['filename'] : null, + isset($element['headers']) ? $element['headers'] : [] + ); + + $stream->addStream(stream_for($this->getHeaders($headers))); + $stream->addStream($body); + $stream->addStream(stream_for("\r\n")); + } + + /** + * @return array + */ + private function createElement($name, StreamInterface $stream, $filename, array $headers) + { + // Set a default content-disposition header if one was no provided + $disposition = $this->getHeader($headers, 'content-disposition'); + if (!$disposition) { + $headers['Content-Disposition'] = ($filename === '0' || $filename) + ? sprintf('form-data; name="%s"; filename="%s"', + $name, + basename($filename)) + : "form-data; name=\"{$name}\""; + } + + // Set a default content-length header if one was no provided + $length = $this->getHeader($headers, 'content-length'); + if (!$length) { + if ($length = $stream->getSize()) { + $headers['Content-Length'] = (string) $length; + } + } + + // Set a default Content-Type if one was not supplied + $type = $this->getHeader($headers, 'content-type'); + if (!$type && ($filename === '0' || $filename)) { + if ($type = mimetype_from_filename($filename)) { + $headers['Content-Type'] = $type; + } + } + + return [$stream, $headers]; + } + + private function getHeader(array $headers, $key) + { + $lowercaseHeader = strtolower($key); + foreach ($headers as $k => $v) { + if (strtolower($k) === $lowercaseHeader) { + return $v; + } + } + + return null; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php new file mode 100644 index 00000000..23322180 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/NoSeekStream.php @@ -0,0 +1,22 @@ +source = $source; + $this->size = isset($options['size']) ? $options['size'] : null; + $this->metadata = isset($options['metadata']) ? $options['metadata'] : []; + $this->buffer = new BufferStream(); + } + + public function __toString() + { + try { + return copy_to_string($this); + } catch (\Exception $e) { + return ''; + } + } + + public function close() + { + $this->detach(); + } + + public function detach() + { + $this->tellPos = false; + $this->source = null; + } + + public function getSize() + { + return $this->size; + } + + public function tell() + { + return $this->tellPos; + } + + public function eof() + { + return !$this->source; + } + + public function isSeekable() + { + return false; + } + + public function rewind() + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET) + { + throw new \RuntimeException('Cannot seek a PumpStream'); + } + + public function isWritable() + { + return false; + } + + public function write($string) + { + throw new \RuntimeException('Cannot write to a PumpStream'); + } + + public function isReadable() + { + return true; + } + + public function read($length) + { + $data = $this->buffer->read($length); + $readLen = strlen($data); + $this->tellPos += $readLen; + $remaining = $length - $readLen; + + if ($remaining) { + $this->pump($remaining); + $data .= $this->buffer->read($remaining); + $this->tellPos += strlen($data) - $readLen; + } + + return $data; + } + + public function getContents() + { + $result = ''; + while (!$this->eof()) { + $result .= $this->read(1000000); + } + + return $result; + } + + public function getMetadata($key = null) + { + if (!$key) { + return $this->metadata; + } + + return isset($this->metadata[$key]) ? $this->metadata[$key] : null; + } + + private function pump($length) + { + if ($this->source) { + do { + $data = call_user_func($this->source, $length); + if ($data === false || $data === null) { + $this->source = null; + return; + } + $this->buffer->write($data); + $length -= strlen($data); + } while ($length > 0); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php new file mode 100644 index 00000000..08285484 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Request.php @@ -0,0 +1,142 @@ +method = strtoupper($method); + $this->uri = $uri; + $this->setHeaders($headers); + $this->protocol = $version; + + if (!$this->hasHeader('Host')) { + $this->updateHostFromUri(); + } + + if ($body !== '' && $body !== null) { + $this->stream = stream_for($body); + } + } + + public function getRequestTarget() + { + if ($this->requestTarget !== null) { + return $this->requestTarget; + } + + $target = $this->uri->getPath(); + if ($target == '') { + $target = '/'; + } + if ($this->uri->getQuery() != '') { + $target .= '?' . $this->uri->getQuery(); + } + + return $target; + } + + public function withRequestTarget($requestTarget) + { + if (preg_match('#\s#', $requestTarget)) { + throw new InvalidArgumentException( + 'Invalid request target provided; cannot contain whitespace' + ); + } + + $new = clone $this; + $new->requestTarget = $requestTarget; + return $new; + } + + public function getMethod() + { + return $this->method; + } + + public function withMethod($method) + { + $new = clone $this; + $new->method = strtoupper($method); + return $new; + } + + public function getUri() + { + return $this->uri; + } + + public function withUri(UriInterface $uri, $preserveHost = false) + { + if ($uri === $this->uri) { + return $this; + } + + $new = clone $this; + $new->uri = $uri; + + if (!$preserveHost) { + $new->updateHostFromUri(); + } + + return $new; + } + + private function updateHostFromUri() + { + $host = $this->uri->getHost(); + + if ($host == '') { + return; + } + + if (($port = $this->uri->getPort()) !== null) { + $host .= ':' . $port; + } + + if (isset($this->headerNames['host'])) { + $header = $this->headerNames['host']; + } else { + $header = 'Host'; + $this->headerNames['host'] = 'Host'; + } + // Ensure Host is the first header. + // See: http://tools.ietf.org/html/rfc7230#section-5.4 + $this->headers = [$header => [$host]] + $this->headers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php new file mode 100644 index 00000000..2830c6c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Response.php @@ -0,0 +1,132 @@ + 'Continue', + 101 => 'Switching Protocols', + 102 => 'Processing', + 200 => 'OK', + 201 => 'Created', + 202 => 'Accepted', + 203 => 'Non-Authoritative Information', + 204 => 'No Content', + 205 => 'Reset Content', + 206 => 'Partial Content', + 207 => 'Multi-status', + 208 => 'Already Reported', + 300 => 'Multiple Choices', + 301 => 'Moved Permanently', + 302 => 'Found', + 303 => 'See Other', + 304 => 'Not Modified', + 305 => 'Use Proxy', + 306 => 'Switch Proxy', + 307 => 'Temporary Redirect', + 400 => 'Bad Request', + 401 => 'Unauthorized', + 402 => 'Payment Required', + 403 => 'Forbidden', + 404 => 'Not Found', + 405 => 'Method Not Allowed', + 406 => 'Not Acceptable', + 407 => 'Proxy Authentication Required', + 408 => 'Request Time-out', + 409 => 'Conflict', + 410 => 'Gone', + 411 => 'Length Required', + 412 => 'Precondition Failed', + 413 => 'Request Entity Too Large', + 414 => 'Request-URI Too Large', + 415 => 'Unsupported Media Type', + 416 => 'Requested range not satisfiable', + 417 => 'Expectation Failed', + 418 => 'I\'m a teapot', + 422 => 'Unprocessable Entity', + 423 => 'Locked', + 424 => 'Failed Dependency', + 425 => 'Unordered Collection', + 426 => 'Upgrade Required', + 428 => 'Precondition Required', + 429 => 'Too Many Requests', + 431 => 'Request Header Fields Too Large', + 451 => 'Unavailable For Legal Reasons', + 500 => 'Internal Server Error', + 501 => 'Not Implemented', + 502 => 'Bad Gateway', + 503 => 'Service Unavailable', + 504 => 'Gateway Time-out', + 505 => 'HTTP Version not supported', + 506 => 'Variant Also Negotiates', + 507 => 'Insufficient Storage', + 508 => 'Loop Detected', + 511 => 'Network Authentication Required', + ]; + + /** @var string */ + private $reasonPhrase = ''; + + /** @var int */ + private $statusCode = 200; + + /** + * @param int $status Status code + * @param array $headers Response headers + * @param string|null|resource|StreamInterface $body Response body + * @param string $version Protocol version + * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) + */ + public function __construct( + $status = 200, + array $headers = [], + $body = null, + $version = '1.1', + $reason = null + ) { + $this->statusCode = (int) $status; + + if ($body !== '' && $body !== null) { + $this->stream = stream_for($body); + } + + $this->setHeaders($headers); + if ($reason == '' && isset(self::$phrases[$this->statusCode])) { + $this->reasonPhrase = self::$phrases[$this->statusCode]; + } else { + $this->reasonPhrase = (string) $reason; + } + + $this->protocol = $version; + } + + public function getStatusCode() + { + return $this->statusCode; + } + + public function getReasonPhrase() + { + return $this->reasonPhrase; + } + + public function withStatus($code, $reasonPhrase = '') + { + $new = clone $this; + $new->statusCode = (int) $code; + if ($reasonPhrase == '' && isset(self::$phrases[$new->statusCode])) { + $reasonPhrase = self::$phrases[$new->statusCode]; + } + $new->reasonPhrase = $reasonPhrase; + return $new; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php new file mode 100644 index 00000000..575aab84 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/ServerRequest.php @@ -0,0 +1,358 @@ +serverParams = $serverParams; + + parent::__construct($method, $uri, $headers, $body, $version); + } + + /** + * Return an UploadedFile instance array. + * + * @param array $files A array which respect $_FILES structure + * @throws InvalidArgumentException for unrecognized values + * @return array + */ + public static function normalizeFiles(array $files) + { + $normalized = []; + + foreach ($files as $key => $value) { + if ($value instanceof UploadedFileInterface) { + $normalized[$key] = $value; + } elseif (is_array($value) && isset($value['tmp_name'])) { + $normalized[$key] = self::createUploadedFileFromSpec($value); + } elseif (is_array($value)) { + $normalized[$key] = self::normalizeFiles($value); + continue; + } else { + throw new InvalidArgumentException('Invalid value in files specification'); + } + } + + return $normalized; + } + + /** + * Create and return an UploadedFile instance from a $_FILES specification. + * + * If the specification represents an array of values, this method will + * delegate to normalizeNestedFileSpec() and return that return value. + * + * @param array $value $_FILES struct + * @return array|UploadedFileInterface + */ + private static function createUploadedFileFromSpec(array $value) + { + if (is_array($value['tmp_name'])) { + return self::normalizeNestedFileSpec($value); + } + + return new UploadedFile( + $value['tmp_name'], + (int) $value['size'], + (int) $value['error'], + $value['name'], + $value['type'] + ); + } + + /** + * Normalize an array of file specifications. + * + * Loops through all nested files and returns a normalized array of + * UploadedFileInterface instances. + * + * @param array $files + * @return UploadedFileInterface[] + */ + private static function normalizeNestedFileSpec(array $files = []) + { + $normalizedFiles = []; + + foreach (array_keys($files['tmp_name']) as $key) { + $spec = [ + 'tmp_name' => $files['tmp_name'][$key], + 'size' => $files['size'][$key], + 'error' => $files['error'][$key], + 'name' => $files['name'][$key], + 'type' => $files['type'][$key], + ]; + $normalizedFiles[$key] = self::createUploadedFileFromSpec($spec); + } + + return $normalizedFiles; + } + + /** + * Return a ServerRequest populated with superglobals: + * $_GET + * $_POST + * $_COOKIE + * $_FILES + * $_SERVER + * + * @return ServerRequestInterface + */ + public static function fromGlobals() + { + $method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET'; + $headers = function_exists('getallheaders') ? getallheaders() : []; + $uri = self::getUriFromGlobals(); + $body = new LazyOpenStream('php://input', 'r+'); + $protocol = isset($_SERVER['SERVER_PROTOCOL']) ? str_replace('HTTP/', '', $_SERVER['SERVER_PROTOCOL']) : '1.1'; + + $serverRequest = new ServerRequest($method, $uri, $headers, $body, $protocol, $_SERVER); + + return $serverRequest + ->withCookieParams($_COOKIE) + ->withQueryParams($_GET) + ->withParsedBody($_POST) + ->withUploadedFiles(self::normalizeFiles($_FILES)); + } + + /** + * Get a Uri populated with values from $_SERVER. + * + * @return UriInterface + */ + public static function getUriFromGlobals() { + $uri = new Uri(''); + + $uri = $uri->withScheme(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' ? 'https' : 'http'); + + $hasPort = false; + if (isset($_SERVER['HTTP_HOST'])) { + $hostHeaderParts = explode(':', $_SERVER['HTTP_HOST']); + $uri = $uri->withHost($hostHeaderParts[0]); + if (isset($hostHeaderParts[1])) { + $hasPort = true; + $uri = $uri->withPort($hostHeaderParts[1]); + } + } elseif (isset($_SERVER['SERVER_NAME'])) { + $uri = $uri->withHost($_SERVER['SERVER_NAME']); + } elseif (isset($_SERVER['SERVER_ADDR'])) { + $uri = $uri->withHost($_SERVER['SERVER_ADDR']); + } + + if (!$hasPort && isset($_SERVER['SERVER_PORT'])) { + $uri = $uri->withPort($_SERVER['SERVER_PORT']); + } + + $hasQuery = false; + if (isset($_SERVER['REQUEST_URI'])) { + $requestUriParts = explode('?', $_SERVER['REQUEST_URI']); + $uri = $uri->withPath($requestUriParts[0]); + if (isset($requestUriParts[1])) { + $hasQuery = true; + $uri = $uri->withQuery($requestUriParts[1]); + } + } + + if (!$hasQuery && isset($_SERVER['QUERY_STRING'])) { + $uri = $uri->withQuery($_SERVER['QUERY_STRING']); + } + + return $uri; + } + + + /** + * {@inheritdoc} + */ + public function getServerParams() + { + return $this->serverParams; + } + + /** + * {@inheritdoc} + */ + public function getUploadedFiles() + { + return $this->uploadedFiles; + } + + /** + * {@inheritdoc} + */ + public function withUploadedFiles(array $uploadedFiles) + { + $new = clone $this; + $new->uploadedFiles = $uploadedFiles; + + return $new; + } + + /** + * {@inheritdoc} + */ + public function getCookieParams() + { + return $this->cookieParams; + } + + /** + * {@inheritdoc} + */ + public function withCookieParams(array $cookies) + { + $new = clone $this; + $new->cookieParams = $cookies; + + return $new; + } + + /** + * {@inheritdoc} + */ + public function getQueryParams() + { + return $this->queryParams; + } + + /** + * {@inheritdoc} + */ + public function withQueryParams(array $query) + { + $new = clone $this; + $new->queryParams = $query; + + return $new; + } + + /** + * {@inheritdoc} + */ + public function getParsedBody() + { + return $this->parsedBody; + } + + /** + * {@inheritdoc} + */ + public function withParsedBody($data) + { + $new = clone $this; + $new->parsedBody = $data; + + return $new; + } + + /** + * {@inheritdoc} + */ + public function getAttributes() + { + return $this->attributes; + } + + /** + * {@inheritdoc} + */ + public function getAttribute($attribute, $default = null) + { + if (false === array_key_exists($attribute, $this->attributes)) { + return $default; + } + + return $this->attributes[$attribute]; + } + + /** + * {@inheritdoc} + */ + public function withAttribute($attribute, $value) + { + $new = clone $this; + $new->attributes[$attribute] = $value; + + return $new; + } + + /** + * {@inheritdoc} + */ + public function withoutAttribute($attribute) + { + if (false === array_key_exists($attribute, $this->attributes)) { + return $this; + } + + $new = clone $this; + unset($new->attributes[$attribute]); + + return $new; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php new file mode 100644 index 00000000..e3366287 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Stream.php @@ -0,0 +1,257 @@ + [ + 'r' => true, 'w+' => true, 'r+' => true, 'x+' => true, 'c+' => true, + 'rb' => true, 'w+b' => true, 'r+b' => true, 'x+b' => true, + 'c+b' => true, 'rt' => true, 'w+t' => true, 'r+t' => true, + 'x+t' => true, 'c+t' => true, 'a+' => true + ], + 'write' => [ + 'w' => true, 'w+' => true, 'rw' => true, 'r+' => true, 'x+' => true, + 'c+' => true, 'wb' => true, 'w+b' => true, 'r+b' => true, + 'x+b' => true, 'c+b' => true, 'w+t' => true, 'r+t' => true, + 'x+t' => true, 'c+t' => true, 'a' => true, 'a+' => true + ] + ]; + + /** + * This constructor accepts an associative array of options. + * + * - size: (int) If a read stream would otherwise have an indeterminate + * size, but the size is known due to foreknowledge, then you can + * provide that size, in bytes. + * - metadata: (array) Any additional metadata to return when the metadata + * of the stream is accessed. + * + * @param resource $stream Stream resource to wrap. + * @param array $options Associative array of options. + * + * @throws \InvalidArgumentException if the stream is not a stream resource + */ + public function __construct($stream, $options = []) + { + if (!is_resource($stream)) { + throw new \InvalidArgumentException('Stream must be a resource'); + } + + if (isset($options['size'])) { + $this->size = $options['size']; + } + + $this->customMetadata = isset($options['metadata']) + ? $options['metadata'] + : []; + + $this->stream = $stream; + $meta = stream_get_meta_data($this->stream); + $this->seekable = $meta['seekable']; + $this->readable = isset(self::$readWriteHash['read'][$meta['mode']]); + $this->writable = isset(self::$readWriteHash['write'][$meta['mode']]); + $this->uri = $this->getMetadata('uri'); + } + + public function __get($name) + { + if ($name == 'stream') { + throw new \RuntimeException('The stream is detached'); + } + + throw new \BadMethodCallException('No value for ' . $name); + } + + /** + * Closes the stream when the destructed + */ + public function __destruct() + { + $this->close(); + } + + public function __toString() + { + try { + $this->seek(0); + return (string) stream_get_contents($this->stream); + } catch (\Exception $e) { + return ''; + } + } + + public function getContents() + { + $contents = stream_get_contents($this->stream); + + if ($contents === false) { + throw new \RuntimeException('Unable to read stream contents'); + } + + return $contents; + } + + public function close() + { + if (isset($this->stream)) { + if (is_resource($this->stream)) { + fclose($this->stream); + } + $this->detach(); + } + } + + public function detach() + { + if (!isset($this->stream)) { + return null; + } + + $result = $this->stream; + unset($this->stream); + $this->size = $this->uri = null; + $this->readable = $this->writable = $this->seekable = false; + + return $result; + } + + public function getSize() + { + if ($this->size !== null) { + return $this->size; + } + + if (!isset($this->stream)) { + return null; + } + + // Clear the stat cache if the stream has a URI + if ($this->uri) { + clearstatcache(true, $this->uri); + } + + $stats = fstat($this->stream); + if (isset($stats['size'])) { + $this->size = $stats['size']; + return $this->size; + } + + return null; + } + + public function isReadable() + { + return $this->readable; + } + + public function isWritable() + { + return $this->writable; + } + + public function isSeekable() + { + return $this->seekable; + } + + public function eof() + { + return !$this->stream || feof($this->stream); + } + + public function tell() + { + $result = ftell($this->stream); + + if ($result === false) { + throw new \RuntimeException('Unable to determine stream position'); + } + + return $result; + } + + public function rewind() + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET) + { + if (!$this->seekable) { + throw new \RuntimeException('Stream is not seekable'); + } elseif (fseek($this->stream, $offset, $whence) === -1) { + throw new \RuntimeException('Unable to seek to stream position ' + . $offset . ' with whence ' . var_export($whence, true)); + } + } + + public function read($length) + { + if (!$this->readable) { + throw new \RuntimeException('Cannot read from non-readable stream'); + } + if ($length < 0) { + throw new \RuntimeException('Length parameter cannot be negative'); + } + + if (0 === $length) { + return ''; + } + + $string = fread($this->stream, $length); + if (false === $string) { + throw new \RuntimeException('Unable to read from stream'); + } + + return $string; + } + + public function write($string) + { + if (!$this->writable) { + throw new \RuntimeException('Cannot write to a non-writable stream'); + } + + // We can't know the size after writing anything + $this->size = null; + $result = fwrite($this->stream, $string); + + if ($result === false) { + throw new \RuntimeException('Unable to write to stream'); + } + + return $result; + } + + public function getMetadata($key = null) + { + if (!isset($this->stream)) { + return $key ? null : []; + } elseif (!$key) { + return $this->customMetadata + stream_get_meta_data($this->stream); + } elseif (isset($this->customMetadata[$key])) { + return $this->customMetadata[$key]; + } + + $meta = stream_get_meta_data($this->stream); + + return isset($meta[$key]) ? $meta[$key] : null; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php new file mode 100644 index 00000000..daec6f52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamDecoratorTrait.php @@ -0,0 +1,149 @@ +stream = $stream; + } + + /** + * Magic method used to create a new stream if streams are not added in + * the constructor of a decorator (e.g., LazyOpenStream). + * + * @param string $name Name of the property (allows "stream" only). + * + * @return StreamInterface + */ + public function __get($name) + { + if ($name == 'stream') { + $this->stream = $this->createStream(); + return $this->stream; + } + + throw new \UnexpectedValueException("$name not found on class"); + } + + public function __toString() + { + try { + if ($this->isSeekable()) { + $this->seek(0); + } + return $this->getContents(); + } catch (\Exception $e) { + // Really, PHP? https://bugs.php.net/bug.php?id=53648 + trigger_error('StreamDecorator::__toString exception: ' + . (string) $e, E_USER_ERROR); + return ''; + } + } + + public function getContents() + { + return copy_to_string($this); + } + + /** + * Allow decorators to implement custom methods + * + * @param string $method Missing method name + * @param array $args Method arguments + * + * @return mixed + */ + public function __call($method, array $args) + { + $result = call_user_func_array([$this->stream, $method], $args); + + // Always return the wrapped object if the result is a return $this + return $result === $this->stream ? $this : $result; + } + + public function close() + { + $this->stream->close(); + } + + public function getMetadata($key = null) + { + return $this->stream->getMetadata($key); + } + + public function detach() + { + return $this->stream->detach(); + } + + public function getSize() + { + return $this->stream->getSize(); + } + + public function eof() + { + return $this->stream->eof(); + } + + public function tell() + { + return $this->stream->tell(); + } + + public function isReadable() + { + return $this->stream->isReadable(); + } + + public function isWritable() + { + return $this->stream->isWritable(); + } + + public function isSeekable() + { + return $this->stream->isSeekable(); + } + + public function rewind() + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET) + { + $this->stream->seek($offset, $whence); + } + + public function read($length) + { + return $this->stream->read($length); + } + + public function write($string) + { + return $this->stream->write($string); + } + + /** + * Implement in subclasses to dynamically create streams when requested. + * + * @return StreamInterface + * @throws \BadMethodCallException + */ + protected function createStream() + { + throw new \BadMethodCallException('Not implemented'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php new file mode 100644 index 00000000..cf7b2232 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/StreamWrapper.php @@ -0,0 +1,121 @@ +isReadable()) { + $mode = $stream->isWritable() ? 'r+' : 'r'; + } elseif ($stream->isWritable()) { + $mode = 'w'; + } else { + throw new \InvalidArgumentException('The stream must be readable, ' + . 'writable, or both.'); + } + + return fopen('guzzle://stream', $mode, null, stream_context_create([ + 'guzzle' => ['stream' => $stream] + ])); + } + + /** + * Registers the stream wrapper if needed + */ + public static function register() + { + if (!in_array('guzzle', stream_get_wrappers())) { + stream_wrapper_register('guzzle', __CLASS__); + } + } + + public function stream_open($path, $mode, $options, &$opened_path) + { + $options = stream_context_get_options($this->context); + + if (!isset($options['guzzle']['stream'])) { + return false; + } + + $this->mode = $mode; + $this->stream = $options['guzzle']['stream']; + + return true; + } + + public function stream_read($count) + { + return $this->stream->read($count); + } + + public function stream_write($data) + { + return (int) $this->stream->write($data); + } + + public function stream_tell() + { + return $this->stream->tell(); + } + + public function stream_eof() + { + return $this->stream->eof(); + } + + public function stream_seek($offset, $whence) + { + $this->stream->seek($offset, $whence); + + return true; + } + + public function stream_stat() + { + static $modeMap = [ + 'r' => 33060, + 'r+' => 33206, + 'w' => 33188 + ]; + + return [ + 'dev' => 0, + 'ino' => 0, + 'mode' => $modeMap[$this->mode], + 'nlink' => 0, + 'uid' => 0, + 'gid' => 0, + 'rdev' => 0, + 'size' => $this->stream->getSize() ?: 0, + 'atime' => 0, + 'mtime' => 0, + 'ctime' => 0, + 'blksize' => 0, + 'blocks' => 0 + ]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php new file mode 100644 index 00000000..e62bd5c8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UploadedFile.php @@ -0,0 +1,316 @@ +setError($errorStatus); + $this->setSize($size); + $this->setClientFilename($clientFilename); + $this->setClientMediaType($clientMediaType); + + if ($this->isOk()) { + $this->setStreamOrFile($streamOrFile); + } + } + + /** + * Depending on the value set file or stream variable + * + * @param mixed $streamOrFile + * @throws InvalidArgumentException + */ + private function setStreamOrFile($streamOrFile) + { + if (is_string($streamOrFile)) { + $this->file = $streamOrFile; + } elseif (is_resource($streamOrFile)) { + $this->stream = new Stream($streamOrFile); + } elseif ($streamOrFile instanceof StreamInterface) { + $this->stream = $streamOrFile; + } else { + throw new InvalidArgumentException( + 'Invalid stream or file provided for UploadedFile' + ); + } + } + + /** + * @param int $error + * @throws InvalidArgumentException + */ + private function setError($error) + { + if (false === is_int($error)) { + throw new InvalidArgumentException( + 'Upload file error status must be an integer' + ); + } + + if (false === in_array($error, UploadedFile::$errors)) { + throw new InvalidArgumentException( + 'Invalid error status for UploadedFile' + ); + } + + $this->error = $error; + } + + /** + * @param int $size + * @throws InvalidArgumentException + */ + private function setSize($size) + { + if (false === is_int($size)) { + throw new InvalidArgumentException( + 'Upload file size must be an integer' + ); + } + + $this->size = $size; + } + + /** + * @param mixed $param + * @return boolean + */ + private function isStringOrNull($param) + { + return in_array(gettype($param), ['string', 'NULL']); + } + + /** + * @param mixed $param + * @return boolean + */ + private function isStringNotEmpty($param) + { + return is_string($param) && false === empty($param); + } + + /** + * @param string|null $clientFilename + * @throws InvalidArgumentException + */ + private function setClientFilename($clientFilename) + { + if (false === $this->isStringOrNull($clientFilename)) { + throw new InvalidArgumentException( + 'Upload file client filename must be a string or null' + ); + } + + $this->clientFilename = $clientFilename; + } + + /** + * @param string|null $clientMediaType + * @throws InvalidArgumentException + */ + private function setClientMediaType($clientMediaType) + { + if (false === $this->isStringOrNull($clientMediaType)) { + throw new InvalidArgumentException( + 'Upload file client media type must be a string or null' + ); + } + + $this->clientMediaType = $clientMediaType; + } + + /** + * Return true if there is no upload error + * + * @return boolean + */ + private function isOk() + { + return $this->error === UPLOAD_ERR_OK; + } + + /** + * @return boolean + */ + public function isMoved() + { + return $this->moved; + } + + /** + * @throws RuntimeException if is moved or not ok + */ + private function validateActive() + { + if (false === $this->isOk()) { + throw new RuntimeException('Cannot retrieve stream due to upload error'); + } + + if ($this->isMoved()) { + throw new RuntimeException('Cannot retrieve stream after it has already been moved'); + } + } + + /** + * {@inheritdoc} + * @throws RuntimeException if the upload was not successful. + */ + public function getStream() + { + $this->validateActive(); + + if ($this->stream instanceof StreamInterface) { + return $this->stream; + } + + return new LazyOpenStream($this->file, 'r+'); + } + + /** + * {@inheritdoc} + * + * @see http://php.net/is_uploaded_file + * @see http://php.net/move_uploaded_file + * @param string $targetPath Path to which to move the uploaded file. + * @throws RuntimeException if the upload was not successful. + * @throws InvalidArgumentException if the $path specified is invalid. + * @throws RuntimeException on any error during the move operation, or on + * the second or subsequent call to the method. + */ + public function moveTo($targetPath) + { + $this->validateActive(); + + if (false === $this->isStringNotEmpty($targetPath)) { + throw new InvalidArgumentException( + 'Invalid path provided for move operation; must be a non-empty string' + ); + } + + if ($this->file) { + $this->moved = php_sapi_name() == 'cli' + ? rename($this->file, $targetPath) + : move_uploaded_file($this->file, $targetPath); + } else { + copy_to_stream( + $this->getStream(), + new LazyOpenStream($targetPath, 'w') + ); + + $this->moved = true; + } + + if (false === $this->moved) { + throw new RuntimeException( + sprintf('Uploaded file could not be moved to %s', $targetPath) + ); + } + } + + /** + * {@inheritdoc} + * + * @return int|null The file size in bytes or null if unknown. + */ + public function getSize() + { + return $this->size; + } + + /** + * {@inheritdoc} + * + * @see http://php.net/manual/en/features.file-upload.errors.php + * @return int One of PHP's UPLOAD_ERR_XXX constants. + */ + public function getError() + { + return $this->error; + } + + /** + * {@inheritdoc} + * + * @return string|null The filename sent by the client or null if none + * was provided. + */ + public function getClientFilename() + { + return $this->clientFilename; + } + + /** + * {@inheritdoc} + */ + public function getClientMediaType() + { + return $this->clientMediaType; + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php new file mode 100644 index 00000000..f46c1db9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/Uri.php @@ -0,0 +1,702 @@ + 80, + 'https' => 443, + 'ftp' => 21, + 'gopher' => 70, + 'nntp' => 119, + 'news' => 119, + 'telnet' => 23, + 'tn3270' => 23, + 'imap' => 143, + 'pop' => 110, + 'ldap' => 389, + ]; + + private static $charUnreserved = 'a-zA-Z0-9_\-\.~'; + private static $charSubDelims = '!\$&\'\(\)\*\+,;='; + private static $replaceQuery = ['=' => '%3D', '&' => '%26']; + + /** @var string Uri scheme. */ + private $scheme = ''; + + /** @var string Uri user info. */ + private $userInfo = ''; + + /** @var string Uri host. */ + private $host = ''; + + /** @var int|null Uri port. */ + private $port; + + /** @var string Uri path. */ + private $path = ''; + + /** @var string Uri query string. */ + private $query = ''; + + /** @var string Uri fragment. */ + private $fragment = ''; + + /** + * @param string $uri URI to parse + */ + public function __construct($uri = '') + { + // weak type check to also accept null until we can add scalar type hints + if ($uri != '') { + $parts = parse_url($uri); + if ($parts === false) { + throw new \InvalidArgumentException("Unable to parse URI: $uri"); + } + $this->applyParts($parts); + } + } + + public function __toString() + { + return self::composeComponents( + $this->scheme, + $this->getAuthority(), + $this->path, + $this->query, + $this->fragment + ); + } + + /** + * Composes a URI reference string from its various components. + * + * Usually this method does not need to be called manually but instead is used indirectly via + * `Psr\Http\Message\UriInterface::__toString`. + * + * PSR-7 UriInterface treats an empty component the same as a missing component as + * getQuery(), getFragment() etc. always return a string. This explains the slight + * difference to RFC 3986 Section 5.3. + * + * Another adjustment is that the authority separator is added even when the authority is missing/empty + * for the "file" scheme. This is because PHP stream functions like `file_get_contents` only work with + * `file:///myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But + * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to + * that format). + * + * @param string $scheme + * @param string $authority + * @param string $path + * @param string $query + * @param string $fragment + * + * @return string + * + * @link https://tools.ietf.org/html/rfc3986#section-5.3 + */ + public static function composeComponents($scheme, $authority, $path, $query, $fragment) + { + $uri = ''; + + // weak type checks to also accept null until we can add scalar type hints + if ($scheme != '') { + $uri .= $scheme . ':'; + } + + if ($authority != ''|| $scheme === 'file') { + $uri .= '//' . $authority; + } + + $uri .= $path; + + if ($query != '') { + $uri .= '?' . $query; + } + + if ($fragment != '') { + $uri .= '#' . $fragment; + } + + return $uri; + } + + /** + * Whether the URI has the default port of the current scheme. + * + * `Psr\Http\Message\UriInterface::getPort` may return null or the standard port. This method can be used + * independently of the implementation. + * + * @param UriInterface $uri + * + * @return bool + */ + public static function isDefaultPort(UriInterface $uri) + { + return $uri->getPort() === null + || (isset(self::$defaultPorts[$uri->getScheme()]) && $uri->getPort() === self::$defaultPorts[$uri->getScheme()]); + } + + /** + * Whether the URI is absolute, i.e. it has a scheme. + * + * An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true + * if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative + * to another URI, the base URI. Relative references can be divided into several forms: + * - network-path references, e.g. '//example.com/path' + * - absolute-path references, e.g. '/path' + * - relative-path references, e.g. 'subpath' + * + * @param UriInterface $uri + * + * @return bool + * @see Uri::isNetworkPathReference + * @see Uri::isAbsolutePathReference + * @see Uri::isRelativePathReference + * @link https://tools.ietf.org/html/rfc3986#section-4 + */ + public static function isAbsolute(UriInterface $uri) + { + return $uri->getScheme() !== ''; + } + + /** + * Whether the URI is a network-path reference. + * + * A relative reference that begins with two slash characters is termed an network-path reference. + * + * @param UriInterface $uri + * + * @return bool + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isNetworkPathReference(UriInterface $uri) + { + return $uri->getScheme() === '' && $uri->getAuthority() !== ''; + } + + /** + * Whether the URI is a absolute-path reference. + * + * A relative reference that begins with a single slash character is termed an absolute-path reference. + * + * @param UriInterface $uri + * + * @return bool + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isAbsolutePathReference(UriInterface $uri) + { + return $uri->getScheme() === '' + && $uri->getAuthority() === '' + && isset($uri->getPath()[0]) + && $uri->getPath()[0] === '/'; + } + + /** + * Whether the URI is a relative-path reference. + * + * A relative reference that does not begin with a slash character is termed a relative-path reference. + * + * @param UriInterface $uri + * + * @return bool + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isRelativePathReference(UriInterface $uri) + { + return $uri->getScheme() === '' + && $uri->getAuthority() === '' + && (!isset($uri->getPath()[0]) || $uri->getPath()[0] !== '/'); + } + + /** + * Whether the URI is a same-document reference. + * + * A same-document reference refers to a URI that is, aside from its fragment + * component, identical to the base URI. When no base URI is given, only an empty + * URI reference (apart from its fragment) is considered a same-document reference. + * + * @param UriInterface $uri The URI to check + * @param UriInterface|null $base An optional base URI to compare against + * + * @return bool + * @link https://tools.ietf.org/html/rfc3986#section-4.4 + */ + public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null) + { + if ($base !== null) { + $uri = UriResolver::resolve($base, $uri); + + return ($uri->getScheme() === $base->getScheme()) + && ($uri->getAuthority() === $base->getAuthority()) + && ($uri->getPath() === $base->getPath()) + && ($uri->getQuery() === $base->getQuery()); + } + + return $uri->getScheme() === '' && $uri->getAuthority() === '' && $uri->getPath() === '' && $uri->getQuery() === ''; + } + + /** + * Removes dot segments from a path and returns the new path. + * + * @param string $path + * + * @return string + * + * @deprecated since version 1.4. Use UriResolver::removeDotSegments instead. + * @see UriResolver::removeDotSegments + */ + public static function removeDotSegments($path) + { + return UriResolver::removeDotSegments($path); + } + + /** + * Converts the relative URI into a new URI that is resolved against the base URI. + * + * @param UriInterface $base Base URI + * @param string|UriInterface $rel Relative URI + * + * @return UriInterface + * + * @deprecated since version 1.4. Use UriResolver::resolve instead. + * @see UriResolver::resolve + */ + public static function resolve(UriInterface $base, $rel) + { + if (!($rel instanceof UriInterface)) { + $rel = new self($rel); + } + + return UriResolver::resolve($base, $rel); + } + + /** + * Creates a new URI with a specific query string value removed. + * + * Any existing query string values that exactly match the provided key are + * removed. + * + * @param UriInterface $uri URI to use as a base. + * @param string $key Query string key to remove. + * + * @return UriInterface + */ + public static function withoutQueryValue(UriInterface $uri, $key) + { + $current = $uri->getQuery(); + if ($current === '') { + return $uri; + } + + $decodedKey = rawurldecode($key); + $result = array_filter(explode('&', $current), function ($part) use ($decodedKey) { + return rawurldecode(explode('=', $part)[0]) !== $decodedKey; + }); + + return $uri->withQuery(implode('&', $result)); + } + + /** + * Creates a new URI with a specific query string value. + * + * Any existing query string values that exactly match the provided key are + * removed and replaced with the given key value pair. + * + * A value of null will set the query string key without a value, e.g. "key" + * instead of "key=value". + * + * @param UriInterface $uri URI to use as a base. + * @param string $key Key to set. + * @param string|null $value Value to set + * + * @return UriInterface + */ + public static function withQueryValue(UriInterface $uri, $key, $value) + { + $current = $uri->getQuery(); + + if ($current === '') { + $result = []; + } else { + $decodedKey = rawurldecode($key); + $result = array_filter(explode('&', $current), function ($part) use ($decodedKey) { + return rawurldecode(explode('=', $part)[0]) !== $decodedKey; + }); + } + + // Query string separators ("=", "&") within the key or value need to be encoded + // (while preventing double-encoding) before setting the query string. All other + // chars that need percent-encoding will be encoded by withQuery(). + $key = strtr($key, self::$replaceQuery); + + if ($value !== null) { + $result[] = $key . '=' . strtr($value, self::$replaceQuery); + } else { + $result[] = $key; + } + + return $uri->withQuery(implode('&', $result)); + } + + /** + * Creates a URI from a hash of `parse_url` components. + * + * @param array $parts + * + * @return UriInterface + * @link http://php.net/manual/en/function.parse-url.php + * + * @throws \InvalidArgumentException If the components do not form a valid URI. + */ + public static function fromParts(array $parts) + { + $uri = new self(); + $uri->applyParts($parts); + $uri->validateState(); + + return $uri; + } + + public function getScheme() + { + return $this->scheme; + } + + public function getAuthority() + { + $authority = $this->host; + if ($this->userInfo !== '') { + $authority = $this->userInfo . '@' . $authority; + } + + if ($this->port !== null) { + $authority .= ':' . $this->port; + } + + return $authority; + } + + public function getUserInfo() + { + return $this->userInfo; + } + + public function getHost() + { + return $this->host; + } + + public function getPort() + { + return $this->port; + } + + public function getPath() + { + return $this->path; + } + + public function getQuery() + { + return $this->query; + } + + public function getFragment() + { + return $this->fragment; + } + + public function withScheme($scheme) + { + $scheme = $this->filterScheme($scheme); + + if ($this->scheme === $scheme) { + return $this; + } + + $new = clone $this; + $new->scheme = $scheme; + $new->removeDefaultPort(); + $new->validateState(); + + return $new; + } + + public function withUserInfo($user, $password = null) + { + $info = $user; + if ($password != '') { + $info .= ':' . $password; + } + + if ($this->userInfo === $info) { + return $this; + } + + $new = clone $this; + $new->userInfo = $info; + $new->validateState(); + + return $new; + } + + public function withHost($host) + { + $host = $this->filterHost($host); + + if ($this->host === $host) { + return $this; + } + + $new = clone $this; + $new->host = $host; + $new->validateState(); + + return $new; + } + + public function withPort($port) + { + $port = $this->filterPort($port); + + if ($this->port === $port) { + return $this; + } + + $new = clone $this; + $new->port = $port; + $new->removeDefaultPort(); + $new->validateState(); + + return $new; + } + + public function withPath($path) + { + $path = $this->filterPath($path); + + if ($this->path === $path) { + return $this; + } + + $new = clone $this; + $new->path = $path; + $new->validateState(); + + return $new; + } + + public function withQuery($query) + { + $query = $this->filterQueryAndFragment($query); + + if ($this->query === $query) { + return $this; + } + + $new = clone $this; + $new->query = $query; + + return $new; + } + + public function withFragment($fragment) + { + $fragment = $this->filterQueryAndFragment($fragment); + + if ($this->fragment === $fragment) { + return $this; + } + + $new = clone $this; + $new->fragment = $fragment; + + return $new; + } + + /** + * Apply parse_url parts to a URI. + * + * @param array $parts Array of parse_url parts to apply. + */ + private function applyParts(array $parts) + { + $this->scheme = isset($parts['scheme']) + ? $this->filterScheme($parts['scheme']) + : ''; + $this->userInfo = isset($parts['user']) ? $parts['user'] : ''; + $this->host = isset($parts['host']) + ? $this->filterHost($parts['host']) + : ''; + $this->port = isset($parts['port']) + ? $this->filterPort($parts['port']) + : null; + $this->path = isset($parts['path']) + ? $this->filterPath($parts['path']) + : ''; + $this->query = isset($parts['query']) + ? $this->filterQueryAndFragment($parts['query']) + : ''; + $this->fragment = isset($parts['fragment']) + ? $this->filterQueryAndFragment($parts['fragment']) + : ''; + if (isset($parts['pass'])) { + $this->userInfo .= ':' . $parts['pass']; + } + + $this->removeDefaultPort(); + } + + /** + * @param string $scheme + * + * @return string + * + * @throws \InvalidArgumentException If the scheme is invalid. + */ + private function filterScheme($scheme) + { + if (!is_string($scheme)) { + throw new \InvalidArgumentException('Scheme must be a string'); + } + + return strtolower($scheme); + } + + /** + * @param string $host + * + * @return string + * + * @throws \InvalidArgumentException If the host is invalid. + */ + private function filterHost($host) + { + if (!is_string($host)) { + throw new \InvalidArgumentException('Host must be a string'); + } + + return strtolower($host); + } + + /** + * @param int|null $port + * + * @return int|null + * + * @throws \InvalidArgumentException If the port is invalid. + */ + private function filterPort($port) + { + if ($port === null) { + return null; + } + + $port = (int) $port; + if (1 > $port || 0xffff < $port) { + throw new \InvalidArgumentException( + sprintf('Invalid port: %d. Must be between 1 and 65535', $port) + ); + } + + return $port; + } + + private function removeDefaultPort() + { + if ($this->port !== null && self::isDefaultPort($this)) { + $this->port = null; + } + } + + /** + * Filters the path of a URI + * + * @param string $path + * + * @return string + * + * @throws \InvalidArgumentException If the path is invalid. + */ + private function filterPath($path) + { + if (!is_string($path)) { + throw new \InvalidArgumentException('Path must be a string'); + } + + return preg_replace_callback( + '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/]++|%(?![A-Fa-f0-9]{2}))/', + [$this, 'rawurlencodeMatchZero'], + $path + ); + } + + /** + * Filters the query string or fragment of a URI. + * + * @param string $str + * + * @return string + * + * @throws \InvalidArgumentException If the query or fragment is invalid. + */ + private function filterQueryAndFragment($str) + { + if (!is_string($str)) { + throw new \InvalidArgumentException('Query and fragment must be a string'); + } + + return preg_replace_callback( + '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/', + [$this, 'rawurlencodeMatchZero'], + $str + ); + } + + private function rawurlencodeMatchZero(array $match) + { + return rawurlencode($match[0]); + } + + private function validateState() + { + if ($this->host === '' && ($this->scheme === 'http' || $this->scheme === 'https')) { + $this->host = self::HTTP_DEFAULT_HOST; + } + + if ($this->getAuthority() === '') { + if (0 === strpos($this->path, '//')) { + throw new \InvalidArgumentException('The path of a URI without an authority must not start with two slashes "//"'); + } + if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) { + throw new \InvalidArgumentException('A relative URI must not have a path beginning with a segment containing a colon'); + } + } elseif (isset($this->path[0]) && $this->path[0] !== '/') { + @trigger_error( + 'The path of a URI with an authority must start with a slash "/" or be empty. Automagically fixing the URI ' . + 'by adding a leading slash to the path is deprecated since version 1.4 and will throw an exception instead.', + E_USER_DEPRECATED + ); + $this->path = '/'. $this->path; + //throw new \InvalidArgumentException('The path of a URI with an authority must start with a slash "/" or be empty'); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php new file mode 100644 index 00000000..384c29e5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriNormalizer.php @@ -0,0 +1,216 @@ +getPath() === '' && + ($uri->getScheme() === 'http' || $uri->getScheme() === 'https') + ) { + $uri = $uri->withPath('/'); + } + + if ($flags & self::REMOVE_DEFAULT_HOST && $uri->getScheme() === 'file' && $uri->getHost() === 'localhost') { + $uri = $uri->withHost(''); + } + + if ($flags & self::REMOVE_DEFAULT_PORT && $uri->getPort() !== null && Uri::isDefaultPort($uri)) { + $uri = $uri->withPort(null); + } + + if ($flags & self::REMOVE_DOT_SEGMENTS && !Uri::isRelativePathReference($uri)) { + $uri = $uri->withPath(UriResolver::removeDotSegments($uri->getPath())); + } + + if ($flags & self::REMOVE_DUPLICATE_SLASHES) { + $uri = $uri->withPath(preg_replace('#//++#', '/', $uri->getPath())); + } + + if ($flags & self::SORT_QUERY_PARAMETERS && $uri->getQuery() !== '') { + $queryKeyValues = explode('&', $uri->getQuery()); + sort($queryKeyValues); + $uri = $uri->withQuery(implode('&', $queryKeyValues)); + } + + return $uri; + } + + /** + * Whether two URIs can be considered equivalent. + * + * Both URIs are normalized automatically before comparison with the given $normalizations bitmask. The method also + * accepts relative URI references and returns true when they are equivalent. This of course assumes they will be + * resolved against the same base URI. If this is not the case, determination of equivalence or difference of + * relative references does not mean anything. + * + * @param UriInterface $uri1 An URI to compare + * @param UriInterface $uri2 An URI to compare + * @param int $normalizations A bitmask of normalizations to apply, see constants + * + * @return bool + * @link https://tools.ietf.org/html/rfc3986#section-6.1 + */ + public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS) + { + return (string) self::normalize($uri1, $normalizations) === (string) self::normalize($uri2, $normalizations); + } + + private static function capitalizePercentEncoding(UriInterface $uri) + { + $regex = '/(?:%[A-Fa-f0-9]{2})++/'; + + $callback = function (array $match) { + return strtoupper($match[0]); + }; + + return + $uri->withPath( + preg_replace_callback($regex, $callback, $uri->getPath()) + )->withQuery( + preg_replace_callback($regex, $callback, $uri->getQuery()) + ); + } + + private static function decodeUnreservedCharacters(UriInterface $uri) + { + $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i'; + + $callback = function (array $match) { + return rawurldecode($match[0]); + }; + + return + $uri->withPath( + preg_replace_callback($regex, $callback, $uri->getPath()) + )->withQuery( + preg_replace_callback($regex, $callback, $uri->getQuery()) + ); + } + + private function __construct() + { + // cannot be instantiated + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php new file mode 100644 index 00000000..c1cb8a27 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/UriResolver.php @@ -0,0 +1,219 @@ +getScheme() != '') { + return $rel->withPath(self::removeDotSegments($rel->getPath())); + } + + if ($rel->getAuthority() != '') { + $targetAuthority = $rel->getAuthority(); + $targetPath = self::removeDotSegments($rel->getPath()); + $targetQuery = $rel->getQuery(); + } else { + $targetAuthority = $base->getAuthority(); + if ($rel->getPath() === '') { + $targetPath = $base->getPath(); + $targetQuery = $rel->getQuery() != '' ? $rel->getQuery() : $base->getQuery(); + } else { + if ($rel->getPath()[0] === '/') { + $targetPath = $rel->getPath(); + } else { + if ($targetAuthority != '' && $base->getPath() === '') { + $targetPath = '/' . $rel->getPath(); + } else { + $lastSlashPos = strrpos($base->getPath(), '/'); + if ($lastSlashPos === false) { + $targetPath = $rel->getPath(); + } else { + $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) . $rel->getPath(); + } + } + } + $targetPath = self::removeDotSegments($targetPath); + $targetQuery = $rel->getQuery(); + } + } + + return new Uri(Uri::composeComponents( + $base->getScheme(), + $targetAuthority, + $targetPath, + $targetQuery, + $rel->getFragment() + )); + } + + /** + * Returns the target URI as a relative reference from the base URI. + * + * This method is the counterpart to resolve(): + * + * (string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target)) + * + * One use-case is to use the current request URI as base URI and then generate relative links in your documents + * to reduce the document size or offer self-contained downloadable document archives. + * + * $base = new Uri('http://example.com/a/b/'); + * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'. + * echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'. + * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'. + * echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'. + * + * This method also accepts a target that is already relative and will try to relativize it further. Only a + * relative-path reference will be returned as-is. + * + * echo UriResolver::relativize($base, new Uri('/a/b/c')); // prints 'c' as well + * + * @param UriInterface $base Base URI + * @param UriInterface $target Target URI + * + * @return UriInterface The relative URI reference + */ + public static function relativize(UriInterface $base, UriInterface $target) + { + if ($target->getScheme() !== '' && + ($base->getScheme() !== $target->getScheme() || $target->getAuthority() === '' && $base->getAuthority() !== '') + ) { + return $target; + } + + if (Uri::isRelativePathReference($target)) { + // As the target is already highly relative we return it as-is. It would be possible to resolve + // the target with `$target = self::resolve($base, $target);` and then try make it more relative + // by removing a duplicate query. But let's not do that automatically. + return $target; + } + + if ($target->getAuthority() !== '' && $base->getAuthority() !== $target->getAuthority()) { + return $target->withScheme(''); + } + + // We must remove the path before removing the authority because if the path starts with two slashes, the URI + // would turn invalid. And we also cannot set a relative path before removing the authority, as that is also + // invalid. + $emptyPathUri = $target->withScheme('')->withPath('')->withUserInfo('')->withPort(null)->withHost(''); + + if ($base->getPath() !== $target->getPath()) { + return $emptyPathUri->withPath(self::getRelativePath($base, $target)); + } + + if ($base->getQuery() === $target->getQuery()) { + // Only the target fragment is left. And it must be returned even if base and target fragment are the same. + return $emptyPathUri->withQuery(''); + } + + // If the base URI has a query but the target has none, we cannot return an empty path reference as it would + // inherit the base query component when resolving. + if ($target->getQuery() === '') { + $segments = explode('/', $target->getPath()); + $lastSegment = end($segments); + + return $emptyPathUri->withPath($lastSegment === '' ? './' : $lastSegment); + } + + return $emptyPathUri; + } + + private static function getRelativePath(UriInterface $base, UriInterface $target) + { + $sourceSegments = explode('/', $base->getPath()); + $targetSegments = explode('/', $target->getPath()); + array_pop($sourceSegments); + $targetLastSegment = array_pop($targetSegments); + foreach ($sourceSegments as $i => $segment) { + if (isset($targetSegments[$i]) && $segment === $targetSegments[$i]) { + unset($sourceSegments[$i], $targetSegments[$i]); + } else { + break; + } + } + $targetSegments[] = $targetLastSegment; + $relativePath = str_repeat('../', count($sourceSegments)) . implode('/', $targetSegments); + + // A reference to am empty last segment or an empty first sub-segment must be prefixed with "./". + // This also applies to a segment with a colon character (e.g., "file:colon") that cannot be used + // as the first segment of a relative-path reference, as it would be mistaken for a scheme name. + if ('' === $relativePath || false !== strpos(explode('/', $relativePath, 2)[0], ':')) { + $relativePath = "./$relativePath"; + } elseif ('/' === $relativePath[0]) { + if ($base->getAuthority() != '' && $base->getPath() === '') { + // In this case an extra slash is added by resolve() automatically. So we must not add one here. + $relativePath = ".$relativePath"; + } else { + $relativePath = "./$relativePath"; + } + } + + return $relativePath; + } + + private function __construct() + { + // cannot be instantiated + } +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php new file mode 100644 index 00000000..e40348d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions.php @@ -0,0 +1,828 @@ +getMethod() . ' ' + . $message->getRequestTarget()) + . ' HTTP/' . $message->getProtocolVersion(); + if (!$message->hasHeader('host')) { + $msg .= "\r\nHost: " . $message->getUri()->getHost(); + } + } elseif ($message instanceof ResponseInterface) { + $msg = 'HTTP/' . $message->getProtocolVersion() . ' ' + . $message->getStatusCode() . ' ' + . $message->getReasonPhrase(); + } else { + throw new \InvalidArgumentException('Unknown message type'); + } + + foreach ($message->getHeaders() as $name => $values) { + $msg .= "\r\n{$name}: " . implode(', ', $values); + } + + return "{$msg}\r\n\r\n" . $message->getBody(); +} + +/** + * Returns a UriInterface for the given value. + * + * This function accepts a string or {@see Psr\Http\Message\UriInterface} and + * returns a UriInterface for the given value. If the value is already a + * `UriInterface`, it is returned as-is. + * + * @param string|UriInterface $uri + * + * @return UriInterface + * @throws \InvalidArgumentException + */ +function uri_for($uri) +{ + if ($uri instanceof UriInterface) { + return $uri; + } elseif (is_string($uri)) { + return new Uri($uri); + } + + throw new \InvalidArgumentException('URI must be a string or UriInterface'); +} + +/** + * Create a new stream based on the input type. + * + * Options is an associative array that can contain the following keys: + * - metadata: Array of custom metadata. + * - size: Size of the stream. + * + * @param resource|string|null|int|float|bool|StreamInterface|callable $resource Entity body data + * @param array $options Additional options + * + * @return Stream + * @throws \InvalidArgumentException if the $resource arg is not valid. + */ +function stream_for($resource = '', array $options = []) +{ + if (is_scalar($resource)) { + $stream = fopen('php://temp', 'r+'); + if ($resource !== '') { + fwrite($stream, $resource); + fseek($stream, 0); + } + return new Stream($stream, $options); + } + + switch (gettype($resource)) { + case 'resource': + return new Stream($resource, $options); + case 'object': + if ($resource instanceof StreamInterface) { + return $resource; + } elseif ($resource instanceof \Iterator) { + return new PumpStream(function () use ($resource) { + if (!$resource->valid()) { + return false; + } + $result = $resource->current(); + $resource->next(); + return $result; + }, $options); + } elseif (method_exists($resource, '__toString')) { + return stream_for((string) $resource, $options); + } + break; + case 'NULL': + return new Stream(fopen('php://temp', 'r+'), $options); + } + + if (is_callable($resource)) { + return new PumpStream($resource, $options); + } + + throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource)); +} + +/** + * Parse an array of header values containing ";" separated data into an + * array of associative arrays representing the header key value pair + * data of the header. When a parameter does not contain a value, but just + * contains a key, this function will inject a key with a '' string value. + * + * @param string|array $header Header to parse into components. + * + * @return array Returns the parsed header values. + */ +function parse_header($header) +{ + static $trimmed = "\"' \n\t\r"; + $params = $matches = []; + + foreach (normalize_header($header) as $val) { + $part = []; + foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) { + if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) { + $m = $matches[0]; + if (isset($m[1])) { + $part[trim($m[0], $trimmed)] = trim($m[1], $trimmed); + } else { + $part[] = trim($m[0], $trimmed); + } + } + } + if ($part) { + $params[] = $part; + } + } + + return $params; +} + +/** + * Converts an array of header values that may contain comma separated + * headers into an array of headers with no comma separated values. + * + * @param string|array $header Header to normalize. + * + * @return array Returns the normalized header field values. + */ +function normalize_header($header) +{ + if (!is_array($header)) { + return array_map('trim', explode(',', $header)); + } + + $result = []; + foreach ($header as $value) { + foreach ((array) $value as $v) { + if (strpos($v, ',') === false) { + $result[] = $v; + continue; + } + foreach (preg_split('/,(?=([^"]*"[^"]*")*[^"]*$)/', $v) as $vv) { + $result[] = trim($vv); + } + } + } + + return $result; +} + +/** + * Clone and modify a request with the given changes. + * + * The changes can be one of: + * - method: (string) Changes the HTTP method. + * - set_headers: (array) Sets the given headers. + * - remove_headers: (array) Remove the given headers. + * - body: (mixed) Sets the given body. + * - uri: (UriInterface) Set the URI. + * - query: (string) Set the query string value of the URI. + * - version: (string) Set the protocol version. + * + * @param RequestInterface $request Request to clone and modify. + * @param array $changes Changes to apply. + * + * @return RequestInterface + */ +function modify_request(RequestInterface $request, array $changes) +{ + if (!$changes) { + return $request; + } + + $headers = $request->getHeaders(); + + if (!isset($changes['uri'])) { + $uri = $request->getUri(); + } else { + // Remove the host header if one is on the URI + if ($host = $changes['uri']->getHost()) { + $changes['set_headers']['Host'] = $host; + + if ($port = $changes['uri']->getPort()) { + $standardPorts = ['http' => 80, 'https' => 443]; + $scheme = $changes['uri']->getScheme(); + if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) { + $changes['set_headers']['Host'] .= ':'.$port; + } + } + } + $uri = $changes['uri']; + } + + if (!empty($changes['remove_headers'])) { + $headers = _caseless_remove($changes['remove_headers'], $headers); + } + + if (!empty($changes['set_headers'])) { + $headers = _caseless_remove(array_keys($changes['set_headers']), $headers); + $headers = $changes['set_headers'] + $headers; + } + + if (isset($changes['query'])) { + $uri = $uri->withQuery($changes['query']); + } + + if ($request instanceof ServerRequestInterface) { + return new ServerRequest( + isset($changes['method']) ? $changes['method'] : $request->getMethod(), + $uri, + $headers, + isset($changes['body']) ? $changes['body'] : $request->getBody(), + isset($changes['version']) + ? $changes['version'] + : $request->getProtocolVersion(), + $request->getServerParams() + ); + } + + return new Request( + isset($changes['method']) ? $changes['method'] : $request->getMethod(), + $uri, + $headers, + isset($changes['body']) ? $changes['body'] : $request->getBody(), + isset($changes['version']) + ? $changes['version'] + : $request->getProtocolVersion() + ); +} + +/** + * Attempts to rewind a message body and throws an exception on failure. + * + * The body of the message will only be rewound if a call to `tell()` returns a + * value other than `0`. + * + * @param MessageInterface $message Message to rewind + * + * @throws \RuntimeException + */ +function rewind_body(MessageInterface $message) +{ + $body = $message->getBody(); + + if ($body->tell()) { + $body->rewind(); + } +} + +/** + * Safely opens a PHP stream resource using a filename. + * + * When fopen fails, PHP normally raises a warning. This function adds an + * error handler that checks for errors and throws an exception instead. + * + * @param string $filename File to open + * @param string $mode Mode used to open the file + * + * @return resource + * @throws \RuntimeException if the file cannot be opened + */ +function try_fopen($filename, $mode) +{ + $ex = null; + set_error_handler(function () use ($filename, $mode, &$ex) { + $ex = new \RuntimeException(sprintf( + 'Unable to open %s using mode %s: %s', + $filename, + $mode, + func_get_args()[1] + )); + }); + + $handle = fopen($filename, $mode); + restore_error_handler(); + + if ($ex) { + /** @var $ex \RuntimeException */ + throw $ex; + } + + return $handle; +} + +/** + * Copy the contents of a stream into a string until the given number of + * bytes have been read. + * + * @param StreamInterface $stream Stream to read + * @param int $maxLen Maximum number of bytes to read. Pass -1 + * to read the entire stream. + * @return string + * @throws \RuntimeException on error. + */ +function copy_to_string(StreamInterface $stream, $maxLen = -1) +{ + $buffer = ''; + + if ($maxLen === -1) { + while (!$stream->eof()) { + $buf = $stream->read(1048576); + // Using a loose equality here to match on '' and false. + if ($buf == null) { + break; + } + $buffer .= $buf; + } + return $buffer; + } + + $len = 0; + while (!$stream->eof() && $len < $maxLen) { + $buf = $stream->read($maxLen - $len); + // Using a loose equality here to match on '' and false. + if ($buf == null) { + break; + } + $buffer .= $buf; + $len = strlen($buffer); + } + + return $buffer; +} + +/** + * Copy the contents of a stream into another stream until the given number + * of bytes have been read. + * + * @param StreamInterface $source Stream to read from + * @param StreamInterface $dest Stream to write to + * @param int $maxLen Maximum number of bytes to read. Pass -1 + * to read the entire stream. + * + * @throws \RuntimeException on error. + */ +function copy_to_stream( + StreamInterface $source, + StreamInterface $dest, + $maxLen = -1 +) { + $bufferSize = 8192; + + if ($maxLen === -1) { + while (!$source->eof()) { + if (!$dest->write($source->read($bufferSize))) { + break; + } + } + } else { + $remaining = $maxLen; + while ($remaining > 0 && !$source->eof()) { + $buf = $source->read(min($bufferSize, $remaining)); + $len = strlen($buf); + if (!$len) { + break; + } + $remaining -= $len; + $dest->write($buf); + } + } +} + +/** + * Calculate a hash of a Stream + * + * @param StreamInterface $stream Stream to calculate the hash for + * @param string $algo Hash algorithm (e.g. md5, crc32, etc) + * @param bool $rawOutput Whether or not to use raw output + * + * @return string Returns the hash of the stream + * @throws \RuntimeException on error. + */ +function hash( + StreamInterface $stream, + $algo, + $rawOutput = false +) { + $pos = $stream->tell(); + + if ($pos > 0) { + $stream->rewind(); + } + + $ctx = hash_init($algo); + while (!$stream->eof()) { + hash_update($ctx, $stream->read(1048576)); + } + + $out = hash_final($ctx, (bool) $rawOutput); + $stream->seek($pos); + + return $out; +} + +/** + * Read a line from the stream up to the maximum allowed buffer length + * + * @param StreamInterface $stream Stream to read from + * @param int $maxLength Maximum buffer length + * + * @return string|bool + */ +function readline(StreamInterface $stream, $maxLength = null) +{ + $buffer = ''; + $size = 0; + + while (!$stream->eof()) { + // Using a loose equality here to match on '' and false. + if (null == ($byte = $stream->read(1))) { + return $buffer; + } + $buffer .= $byte; + // Break when a new line is found or the max length - 1 is reached + if ($byte === "\n" || ++$size === $maxLength - 1) { + break; + } + } + + return $buffer; +} + +/** + * Parses a request message string into a request object. + * + * @param string $message Request message string. + * + * @return Request + */ +function parse_request($message) +{ + $data = _parse_message($message); + $matches = []; + if (!preg_match('/^[\S]+\s+([a-zA-Z]+:\/\/|\/).*/', $data['start-line'], $matches)) { + throw new \InvalidArgumentException('Invalid request string'); + } + $parts = explode(' ', $data['start-line'], 3); + $version = isset($parts[2]) ? explode('/', $parts[2])[1] : '1.1'; + + $request = new Request( + $parts[0], + $matches[1] === '/' ? _parse_request_uri($parts[1], $data['headers']) : $parts[1], + $data['headers'], + $data['body'], + $version + ); + + return $matches[1] === '/' ? $request : $request->withRequestTarget($parts[1]); +} + +/** + * Parses a response message string into a response object. + * + * @param string $message Response message string. + * + * @return Response + */ +function parse_response($message) +{ + $data = _parse_message($message); + // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space + // between status-code and reason-phrase is required. But browsers accept + // responses without space and reason as well. + if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) { + throw new \InvalidArgumentException('Invalid response string'); + } + $parts = explode(' ', $data['start-line'], 3); + + return new Response( + $parts[1], + $data['headers'], + $data['body'], + explode('/', $parts[0])[1], + isset($parts[2]) ? $parts[2] : null + ); +} + +/** + * Parse a query string into an associative array. + * + * If multiple values are found for the same key, the value of that key + * value pair will become an array. This function does not parse nested + * PHP style arrays into an associative array (e.g., foo[a]=1&foo[b]=2 will + * be parsed into ['foo[a]' => '1', 'foo[b]' => '2']). + * + * @param string $str Query string to parse + * @param bool|string $urlEncoding How the query string is encoded + * + * @return array + */ +function parse_query($str, $urlEncoding = true) +{ + $result = []; + + if ($str === '') { + return $result; + } + + if ($urlEncoding === true) { + $decoder = function ($value) { + return rawurldecode(str_replace('+', ' ', $value)); + }; + } elseif ($urlEncoding == PHP_QUERY_RFC3986) { + $decoder = 'rawurldecode'; + } elseif ($urlEncoding == PHP_QUERY_RFC1738) { + $decoder = 'urldecode'; + } else { + $decoder = function ($str) { return $str; }; + } + + foreach (explode('&', $str) as $kvp) { + $parts = explode('=', $kvp, 2); + $key = $decoder($parts[0]); + $value = isset($parts[1]) ? $decoder($parts[1]) : null; + if (!isset($result[$key])) { + $result[$key] = $value; + } else { + if (!is_array($result[$key])) { + $result[$key] = [$result[$key]]; + } + $result[$key][] = $value; + } + } + + return $result; +} + +/** + * Build a query string from an array of key value pairs. + * + * This function can use the return value of parse_query() to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like http_build_query would). + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. + * @return string + */ +function build_query(array $params, $encoding = PHP_QUERY_RFC3986) +{ + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function ($str) { return $str; }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder($k); + if (!is_array($v)) { + $qs .= $k; + if ($v !== null) { + $qs .= '=' . $encoder($v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + if ($vv !== null) { + $qs .= '=' . $encoder($vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; +} + +/** + * Determines the mimetype of a file by looking at its extension. + * + * @param $filename + * + * @return null|string + */ +function mimetype_from_filename($filename) +{ + return mimetype_from_extension(pathinfo($filename, PATHINFO_EXTENSION)); +} + +/** + * Maps a file extensions to a mimetype. + * + * @param $extension string The file extension. + * + * @return string|null + * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types + */ +function mimetype_from_extension($extension) +{ + static $mimetypes = [ + '7z' => 'application/x-7z-compressed', + 'aac' => 'audio/x-aac', + 'ai' => 'application/postscript', + 'aif' => 'audio/x-aiff', + 'asc' => 'text/plain', + 'asf' => 'video/x-ms-asf', + 'atom' => 'application/atom+xml', + 'avi' => 'video/x-msvideo', + 'bmp' => 'image/bmp', + 'bz2' => 'application/x-bzip2', + 'cer' => 'application/pkix-cert', + 'crl' => 'application/pkix-crl', + 'crt' => 'application/x-x509-ca-cert', + 'css' => 'text/css', + 'csv' => 'text/csv', + 'cu' => 'application/cu-seeme', + 'deb' => 'application/x-debian-package', + 'doc' => 'application/msword', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'dvi' => 'application/x-dvi', + 'eot' => 'application/vnd.ms-fontobject', + 'eps' => 'application/postscript', + 'epub' => 'application/epub+zip', + 'etx' => 'text/x-setext', + 'flac' => 'audio/flac', + 'flv' => 'video/x-flv', + 'gif' => 'image/gif', + 'gz' => 'application/gzip', + 'htm' => 'text/html', + 'html' => 'text/html', + 'ico' => 'image/x-icon', + 'ics' => 'text/calendar', + 'ini' => 'text/plain', + 'iso' => 'application/x-iso9660-image', + 'jar' => 'application/java-archive', + 'jpe' => 'image/jpeg', + 'jpeg' => 'image/jpeg', + 'jpg' => 'image/jpeg', + 'js' => 'text/javascript', + 'json' => 'application/json', + 'latex' => 'application/x-latex', + 'log' => 'text/plain', + 'm4a' => 'audio/mp4', + 'm4v' => 'video/mp4', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mov' => 'video/quicktime', + 'mp3' => 'audio/mpeg', + 'mp4' => 'video/mp4', + 'mp4a' => 'audio/mp4', + 'mp4v' => 'video/mp4', + 'mpe' => 'video/mpeg', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpg4' => 'video/mp4', + 'oga' => 'audio/ogg', + 'ogg' => 'audio/ogg', + 'ogv' => 'video/ogg', + 'ogx' => 'application/ogg', + 'pbm' => 'image/x-portable-bitmap', + 'pdf' => 'application/pdf', + 'pgm' => 'image/x-portable-graymap', + 'png' => 'image/png', + 'pnm' => 'image/x-portable-anymap', + 'ppm' => 'image/x-portable-pixmap', + 'ppt' => 'application/vnd.ms-powerpoint', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'ps' => 'application/postscript', + 'qt' => 'video/quicktime', + 'rar' => 'application/x-rar-compressed', + 'ras' => 'image/x-cmu-raster', + 'rss' => 'application/rss+xml', + 'rtf' => 'application/rtf', + 'sgm' => 'text/sgml', + 'sgml' => 'text/sgml', + 'svg' => 'image/svg+xml', + 'swf' => 'application/x-shockwave-flash', + 'tar' => 'application/x-tar', + 'tif' => 'image/tiff', + 'tiff' => 'image/tiff', + 'torrent' => 'application/x-bittorrent', + 'ttf' => 'application/x-font-ttf', + 'txt' => 'text/plain', + 'wav' => 'audio/x-wav', + 'webm' => 'video/webm', + 'wma' => 'audio/x-ms-wma', + 'wmv' => 'video/x-ms-wmv', + 'woff' => 'application/x-font-woff', + 'wsdl' => 'application/wsdl+xml', + 'xbm' => 'image/x-xbitmap', + 'xls' => 'application/vnd.ms-excel', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'xml' => 'application/xml', + 'xpm' => 'image/x-xpixmap', + 'xwd' => 'image/x-xwindowdump', + 'yaml' => 'text/yaml', + 'yml' => 'text/yaml', + 'zip' => 'application/zip', + ]; + + $extension = strtolower($extension); + + return isset($mimetypes[$extension]) + ? $mimetypes[$extension] + : null; +} + +/** + * Parses an HTTP message into an associative array. + * + * The array contains the "start-line" key containing the start line of + * the message, "headers" key containing an associative array of header + * array values, and a "body" key containing the body of the message. + * + * @param string $message HTTP request or response to parse. + * + * @return array + * @internal + */ +function _parse_message($message) +{ + if (!$message) { + throw new \InvalidArgumentException('Invalid message'); + } + + // Iterate over each line in the message, accounting for line endings + $lines = preg_split('/(\\r?\\n)/', $message, -1, PREG_SPLIT_DELIM_CAPTURE); + $result = ['start-line' => array_shift($lines), 'headers' => [], 'body' => '']; + array_shift($lines); + + for ($i = 0, $totalLines = count($lines); $i < $totalLines; $i += 2) { + $line = $lines[$i]; + // If two line breaks were encountered, then this is the end of body + if (empty($line)) { + if ($i < $totalLines - 1) { + $result['body'] = implode('', array_slice($lines, $i + 2)); + } + break; + } + if (strpos($line, ':')) { + $parts = explode(':', $line, 2); + $key = trim($parts[0]); + $value = isset($parts[1]) ? trim($parts[1]) : ''; + $result['headers'][$key][] = $value; + } + } + + return $result; +} + +/** + * Constructs a URI for an HTTP request message. + * + * @param string $path Path from the start-line + * @param array $headers Array of headers (each value an array). + * + * @return string + * @internal + */ +function _parse_request_uri($path, array $headers) +{ + $hostKey = array_filter(array_keys($headers), function ($k) { + return strtolower($k) === 'host'; + }); + + // If no host is found, then a full URI cannot be constructed. + if (!$hostKey) { + return $path; + } + + $host = $headers[reset($hostKey)][0]; + $scheme = substr($host, -4) === ':443' ? 'https' : 'http'; + + return $scheme . '://' . $host . '/' . ltrim($path, '/'); +} + +/** @internal */ +function _caseless_remove($keys, array $data) +{ + $result = []; + + foreach ($keys as &$key) { + $key = strtolower($key); + } + + foreach ($data as $k => $v) { + if (!in_array(strtolower($k), $keys)) { + $result[$k] = $v; + } + } + + return $result; +} diff --git a/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php new file mode 100644 index 00000000..96a4a83a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/guzzlehttp/psr7/src/functions_include.php @@ -0,0 +1,6 @@ + + +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. +EOF; + +$finder = Symfony\CS\Finder::create() + ->files() + ->name('*.php') + ->exclude('Fixtures') + ->in(__DIR__.'/src') + ->in(__DIR__.'/tests') +; + +return Symfony\CS\Config::create() + ->setUsingCache(true) + //->setUsingLinter(false) + ->setRiskyAllowed(true) + ->setRules(array( + '@PSR2' => true, + 'binary_operator_spaces' => true, + 'blank_line_before_return' => true, + 'header_comment' => array('header' => $header), + 'include' => true, + 'long_array_syntax' => true, + 'method_separation' => true, + 'no_blank_lines_after_class_opening' => true, + 'no_blank_lines_after_phpdoc' => true, + 'no_blank_lines_between_uses' => true, + 'no_duplicate_semicolons' => true, + 'no_extra_consecutive_blank_lines' => true, + 'no_leading_import_slash' => true, + 'no_leading_namespace_whitespace' => true, + 'no_trailing_comma_in_singleline_array' => true, + 'no_unused_imports' => true, + 'object_operator_without_whitespace' => true, + 'phpdoc_align' => true, + 'phpdoc_indent' => true, + 'phpdoc_no_access' => true, + 'phpdoc_no_package' => true, + 'phpdoc_order' => true, + 'phpdoc_scalar' => true, + 'phpdoc_trim' => true, + 'phpdoc_type_to_var' => true, + 'psr0' => true, + 'single_blank_line_before_namespace' => true, + 'spaces_cast' => true, + 'standardize_not_equals' => true, + 'ternary_operator_spaces' => true, + 'trailing_comma_in_multiline_array' => true, + 'whitespacy_lines' => true, + )) + ->finder($finder) +; diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/CHANGELOG.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/CHANGELOG.md new file mode 100644 index 00000000..cd1142d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/CHANGELOG.md @@ -0,0 +1,342 @@ +### 1.23.0 (2017-06-19) + + * Improved SyslogUdpHandler's support for RFC5424 and added optional `$ident` argument + * Fixed GelfHandler truncation to be per field and not per message + * Fixed compatibility issue with PHP <5.3.6 + * Fixed support for headless Chrome in ChromePHPHandler + * Fixed support for latest Aws SDK in DynamoDbHandler + * Fixed support for SwiftMailer 6.0+ in SwiftMailerHandler + +### 1.22.1 (2017-03-13) + + * Fixed lots of minor issues in the new Slack integrations + * Fixed support for allowInlineLineBreaks in LineFormatter when formatting exception backtraces + +### 1.22.0 (2016-11-26) + + * Added SlackbotHandler and SlackWebhookHandler to set up Slack integration more easily + * Added MercurialProcessor to add mercurial revision and branch names to log records + * Added support for AWS SDK v3 in DynamoDbHandler + * Fixed fatal errors occuring when normalizing generators that have been fully consumed + * Fixed RollbarHandler to include a level (rollbar level), monolog_level (original name), channel and datetime (unix) + * Fixed RollbarHandler not flushing records automatically, calling close() explicitly is not necessary anymore + * Fixed SyslogUdpHandler to avoid sending empty frames + * Fixed a few PHP 7.0 and 7.1 compatibility issues + +### 1.21.0 (2016-07-29) + + * Break: Reverted the addition of $context when the ErrorHandler handles regular php errors from 1.20.0 as it was causing issues + * Added support for more formats in RotatingFileHandler::setFilenameFormat as long as they have Y, m and d in order + * Added ability to format the main line of text the SlackHandler sends by explictly setting a formatter on the handler + * Added information about SoapFault instances in NormalizerFormatter + * Added $handleOnlyReportedErrors option on ErrorHandler::registerErrorHandler (default true) to allow logging of all errors no matter the error_reporting level + +### 1.20.0 (2016-07-02) + + * Added FingersCrossedHandler::activate() to manually trigger the handler regardless of the activation policy + * Added StreamHandler::getUrl to retrieve the stream's URL + * Added ability to override addRow/addTitle in HtmlFormatter + * Added the $context to context information when the ErrorHandler handles a regular php error + * Deprecated RotatingFileHandler::setFilenameFormat to only support 3 formats: Y, Y-m and Y-m-d + * Fixed WhatFailureGroupHandler to work with PHP7 throwables + * Fixed a few minor bugs + +### 1.19.0 (2016-04-12) + + * Break: StreamHandler will not close streams automatically that it does not own. If you pass in a stream (not a path/url), then it will not close it for you. You can retrieve those using getStream() if needed + * Added DeduplicationHandler to remove duplicate records from notifications across multiple requests, useful for email or other notifications on errors + * Added ability to use `%message%` and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandler + * Fixed HipChatHandler handling of long messages + +### 1.18.2 (2016-04-02) + + * Fixed ElasticaFormatter to use more precise dates + * Fixed GelfMessageFormatter sending too long messages + +### 1.18.1 (2016-03-13) + + * Fixed SlackHandler bug where slack dropped messages randomly + * Fixed RedisHandler issue when using with the PHPRedis extension + * Fixed AmqpHandler content-type being incorrectly set when using with the AMQP extension + * Fixed BrowserConsoleHandler regression + +### 1.18.0 (2016-03-01) + + * Added optional reduction of timestamp precision via `Logger->useMicrosecondTimestamps(false)`, disabling it gets you a bit of performance boost but reduces the precision to the second instead of microsecond + * Added possibility to skip some extra stack frames in IntrospectionProcessor if you have some library wrapping Monolog that is always adding frames + * Added `Logger->withName` to clone a logger (keeping all handlers) with a new name + * Added FluentdFormatter for the Fluentd unix socket protocol + * Added HandlerWrapper base class to ease the creation of handler wrappers, just extend it and override as needed + * Added support for replacing context sub-keys using `%context.*%` in LineFormatter + * Added support for `payload` context value in RollbarHandler + * Added setRelease to RavenHandler to describe the application version, sent with every log + * Added support for `fingerprint` context value in RavenHandler + * Fixed JSON encoding errors that would gobble up the whole log record, we now handle those more gracefully by dropping chars as needed + * Fixed write timeouts in SocketHandler and derivatives, set to 10sec by default, lower it with `setWritingTimeout()` + * Fixed PHP7 compatibility with regard to Exception/Throwable handling in a few places + +### 1.17.2 (2015-10-14) + + * Fixed ErrorHandler compatibility with non-Monolog PSR-3 loggers + * Fixed SlackHandler handling to use slack functionalities better + * Fixed SwiftMailerHandler bug when sending multiple emails they all had the same id + * Fixed 5.3 compatibility regression + +### 1.17.1 (2015-08-31) + + * Fixed RollbarHandler triggering PHP notices + +### 1.17.0 (2015-08-30) + + * Added support for `checksum` and `release` context/extra values in RavenHandler + * Added better support for exceptions in RollbarHandler + * Added UidProcessor::getUid + * Added support for showing the resource type in NormalizedFormatter + * Fixed IntrospectionProcessor triggering PHP notices + +### 1.16.0 (2015-08-09) + + * Added IFTTTHandler to notify ifttt.com triggers + * Added Logger::setHandlers() to allow setting/replacing all handlers + * Added $capSize in RedisHandler to cap the log size + * Fixed StreamHandler creation of directory to only trigger when the first log write happens + * Fixed bug in the handling of curl failures + * Fixed duplicate logging of fatal errors when both error and fatal error handlers are registered in monolog's ErrorHandler + * Fixed missing fatal errors records with handlers that need to be closed to flush log records + * Fixed TagProcessor::addTags support for associative arrays + +### 1.15.0 (2015-07-12) + + * Added addTags and setTags methods to change a TagProcessor + * Added automatic creation of directories if they are missing for a StreamHandler to open a log file + * Added retry functionality to Loggly, Cube and Mandrill handlers so they retry up to 5 times in case of network failure + * Fixed process exit code being incorrectly reset to 0 if ErrorHandler::registerExceptionHandler was used + * Fixed HTML/JS escaping in BrowserConsoleHandler + * Fixed JSON encoding errors being silently suppressed (PHP 5.5+ only) + +### 1.14.0 (2015-06-19) + + * Added PHPConsoleHandler to send record to Chrome's PHP Console extension and library + * Added support for objects implementing __toString in the NormalizerFormatter + * Added support for HipChat's v2 API in HipChatHandler + * Added Logger::setTimezone() to initialize the timezone monolog should use in case date.timezone isn't correct for your app + * Added an option to send formatted message instead of the raw record on PushoverHandler via ->useFormattedMessage(true) + * Fixed curl errors being silently suppressed + +### 1.13.1 (2015-03-09) + + * Fixed regression in HipChat requiring a new token to be created + +### 1.13.0 (2015-03-05) + + * Added Registry::hasLogger to check for the presence of a logger instance + * Added context.user support to RavenHandler + * Added HipChat API v2 support in the HipChatHandler + * Added NativeMailerHandler::addParameter to pass params to the mail() process + * Added context data to SlackHandler when $includeContextAndExtra is true + * Added ability to customize the Swift_Message per-email in SwiftMailerHandler + * Fixed SwiftMailerHandler to lazily create message instances if a callback is provided + * Fixed serialization of INF and NaN values in Normalizer and LineFormatter + +### 1.12.0 (2014-12-29) + + * Break: HandlerInterface::isHandling now receives a partial record containing only a level key. This was always the intent and does not break any Monolog handler but is strictly speaking a BC break and you should check if you relied on any other field in your own handlers. + * Added PsrHandler to forward records to another PSR-3 logger + * Added SamplingHandler to wrap around a handler and include only every Nth record + * Added MongoDBFormatter to support better storage with MongoDBHandler (it must be enabled manually for now) + * Added exception codes in the output of most formatters + * Added LineFormatter::includeStacktraces to enable exception stack traces in logs (uses more than one line) + * Added $useShortAttachment to SlackHandler to minify attachment size and $includeExtra to append extra data + * Added $host to HipChatHandler for users of private instances + * Added $transactionName to NewRelicHandler and support for a transaction_name context value + * Fixed MandrillHandler to avoid outputing API call responses + * Fixed some non-standard behaviors in SyslogUdpHandler + +### 1.11.0 (2014-09-30) + + * Break: The NewRelicHandler extra and context data are now prefixed with extra_ and context_ to avoid clashes. Watch out if you have scripts reading those from the API and rely on names + * Added WhatFailureGroupHandler to suppress any exception coming from the wrapped handlers and avoid chain failures if a logging service fails + * Added MandrillHandler to send emails via the Mandrillapp.com API + * Added SlackHandler to log records to a Slack.com account + * Added FleepHookHandler to log records to a Fleep.io account + * Added LogglyHandler::addTag to allow adding tags to an existing handler + * Added $ignoreEmptyContextAndExtra to LineFormatter to avoid empty [] at the end + * Added $useLocking to StreamHandler and RotatingFileHandler to enable flock() while writing + * Added support for PhpAmqpLib in the AmqpHandler + * Added FingersCrossedHandler::clear and BufferHandler::clear to reset them between batches in long running jobs + * Added support for adding extra fields from $_SERVER in the WebProcessor + * Fixed support for non-string values in PrsLogMessageProcessor + * Fixed SwiftMailer messages being sent with the wrong date in long running scripts + * Fixed minor PHP 5.6 compatibility issues + * Fixed BufferHandler::close being called twice + +### 1.10.0 (2014-06-04) + + * Added Logger::getHandlers() and Logger::getProcessors() methods + * Added $passthruLevel argument to FingersCrossedHandler to let it always pass some records through even if the trigger level is not reached + * Added support for extra data in NewRelicHandler + * Added $expandNewlines flag to the ErrorLogHandler to create multiple log entries when a message has multiple lines + +### 1.9.1 (2014-04-24) + + * Fixed regression in RotatingFileHandler file permissions + * Fixed initialization of the BufferHandler to make sure it gets flushed after receiving records + * Fixed ChromePHPHandler and FirePHPHandler's activation strategies to be more conservative + +### 1.9.0 (2014-04-20) + + * Added LogEntriesHandler to send logs to a LogEntries account + * Added $filePermissions to tweak file mode on StreamHandler and RotatingFileHandler + * Added $useFormatting flag to MemoryProcessor to make it send raw data in bytes + * Added support for table formatting in FirePHPHandler via the table context key + * Added a TagProcessor to add tags to records, and support for tags in RavenHandler + * Added $appendNewline flag to the JsonFormatter to enable using it when logging to files + * Added sound support to the PushoverHandler + * Fixed multi-threading support in StreamHandler + * Fixed empty headers issue when ChromePHPHandler received no records + * Fixed default format of the ErrorLogHandler + +### 1.8.0 (2014-03-23) + + * Break: the LineFormatter now strips newlines by default because this was a bug, set $allowInlineLineBreaks to true if you need them + * Added BrowserConsoleHandler to send logs to any browser's console via console.log() injection in the output + * Added FilterHandler to filter records and only allow those of a given list of levels through to the wrapped handler + * Added FlowdockHandler to send logs to a Flowdock account + * Added RollbarHandler to send logs to a Rollbar account + * Added HtmlFormatter to send prettier log emails with colors for each log level + * Added GitProcessor to add the current branch/commit to extra record data + * Added a Monolog\Registry class to allow easier global access to pre-configured loggers + * Added support for the new official graylog2/gelf-php lib for GelfHandler, upgrade if you can by replacing the mlehner/gelf-php requirement + * Added support for HHVM + * Added support for Loggly batch uploads + * Added support for tweaking the content type and encoding in NativeMailerHandler + * Added $skipClassesPartials to tweak the ignored classes in the IntrospectionProcessor + * Fixed batch request support in GelfHandler + +### 1.7.0 (2013-11-14) + + * Added ElasticSearchHandler to send logs to an Elastic Search server + * Added DynamoDbHandler and ScalarFormatter to send logs to Amazon's Dynamo DB + * Added SyslogUdpHandler to send logs to a remote syslogd server + * Added LogglyHandler to send logs to a Loggly account + * Added $level to IntrospectionProcessor so it only adds backtraces when needed + * Added $version to LogstashFormatter to allow using the new v1 Logstash format + * Added $appName to NewRelicHandler + * Added configuration of Pushover notification retries/expiry + * Added $maxColumnWidth to NativeMailerHandler to change the 70 chars default + * Added chainability to most setters for all handlers + * Fixed RavenHandler batch processing so it takes the message from the record with highest priority + * Fixed HipChatHandler batch processing so it sends all messages at once + * Fixed issues with eAccelerator + * Fixed and improved many small things + +### 1.6.0 (2013-07-29) + + * Added HipChatHandler to send logs to a HipChat chat room + * Added ErrorLogHandler to send logs to PHP's error_log function + * Added NewRelicHandler to send logs to NewRelic's service + * Added Monolog\ErrorHandler helper class to register a Logger as exception/error/fatal handler + * Added ChannelLevelActivationStrategy for the FingersCrossedHandler to customize levels by channel + * Added stack traces output when normalizing exceptions (json output & co) + * Added Monolog\Logger::API constant (currently 1) + * Added support for ChromePHP's v4.0 extension + * Added support for message priorities in PushoverHandler, see $highPriorityLevel and $emergencyLevel + * Added support for sending messages to multiple users at once with the PushoverHandler + * Fixed RavenHandler's support for batch sending of messages (when behind a Buffer or FingersCrossedHandler) + * Fixed normalization of Traversables with very large data sets, only the first 1000 items are shown now + * Fixed issue in RotatingFileHandler when an open_basedir restriction is active + * Fixed minor issues in RavenHandler and bumped the API to Raven 0.5.0 + * Fixed SyslogHandler issue when many were used concurrently with different facilities + +### 1.5.0 (2013-04-23) + + * Added ProcessIdProcessor to inject the PID in log records + * Added UidProcessor to inject a unique identifier to all log records of one request/run + * Added support for previous exceptions in the LineFormatter exception serialization + * Added Monolog\Logger::getLevels() to get all available levels + * Fixed ChromePHPHandler so it avoids sending headers larger than Chrome can handle + +### 1.4.1 (2013-04-01) + + * Fixed exception formatting in the LineFormatter to be more minimalistic + * Fixed RavenHandler's handling of context/extra data, requires Raven client >0.1.0 + * Fixed log rotation in RotatingFileHandler to work with long running scripts spanning multiple days + * Fixed WebProcessor array access so it checks for data presence + * Fixed Buffer, Group and FingersCrossed handlers to make use of their processors + +### 1.4.0 (2013-02-13) + + * Added RedisHandler to log to Redis via the Predis library or the phpredis extension + * Added ZendMonitorHandler to log to the Zend Server monitor + * Added the possibility to pass arrays of handlers and processors directly in the Logger constructor + * Added `$useSSL` option to the PushoverHandler which is enabled by default + * Fixed ChromePHPHandler and FirePHPHandler issue when multiple instances are used simultaneously + * Fixed header injection capability in the NativeMailHandler + +### 1.3.1 (2013-01-11) + + * Fixed LogstashFormatter to be usable with stream handlers + * Fixed GelfMessageFormatter levels on Windows + +### 1.3.0 (2013-01-08) + + * Added PSR-3 compliance, the `Monolog\Logger` class is now an instance of `Psr\Log\LoggerInterface` + * Added PsrLogMessageProcessor that you can selectively enable for full PSR-3 compliance + * Added LogstashFormatter (combine with SocketHandler or StreamHandler to send logs to Logstash) + * Added PushoverHandler to send mobile notifications + * Added CouchDBHandler and DoctrineCouchDBHandler + * Added RavenHandler to send data to Sentry servers + * Added support for the new MongoClient class in MongoDBHandler + * Added microsecond precision to log records' timestamps + * Added `$flushOnOverflow` param to BufferHandler to flush by batches instead of losing + the oldest entries + * Fixed normalization of objects with cyclic references + +### 1.2.1 (2012-08-29) + + * Added new $logopts arg to SyslogHandler to provide custom openlog options + * Fixed fatal error in SyslogHandler + +### 1.2.0 (2012-08-18) + + * Added AmqpHandler (for use with AMQP servers) + * Added CubeHandler + * Added NativeMailerHandler::addHeader() to send custom headers in mails + * Added the possibility to specify more than one recipient in NativeMailerHandler + * Added the possibility to specify float timeouts in SocketHandler + * Added NOTICE and EMERGENCY levels to conform with RFC 5424 + * Fixed the log records to use the php default timezone instead of UTC + * Fixed BufferHandler not being flushed properly on PHP fatal errors + * Fixed normalization of exotic resource types + * Fixed the default format of the SyslogHandler to avoid duplicating datetimes in syslog + +### 1.1.0 (2012-04-23) + + * Added Monolog\Logger::isHandling() to check if a handler will + handle the given log level + * Added ChromePHPHandler + * Added MongoDBHandler + * Added GelfHandler (for use with Graylog2 servers) + * Added SocketHandler (for use with syslog-ng for example) + * Added NormalizerFormatter + * Added the possibility to change the activation strategy of the FingersCrossedHandler + * Added possibility to show microseconds in logs + * Added `server` and `referer` to WebProcessor output + +### 1.0.2 (2011-10-24) + + * Fixed bug in IE with large response headers and FirePHPHandler + +### 1.0.1 (2011-08-25) + + * Added MemoryPeakUsageProcessor and MemoryUsageProcessor + * Added Monolog\Logger::getName() to get a logger's channel name + +### 1.0.0 (2011-07-06) + + * Added IntrospectionProcessor to get info from where the logger was called + * Fixed WebProcessor in CLI + +### 1.0.0-RC1 (2011-07-01) + + * Initial release diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/LICENSE b/mayor-orig/www/include/share/googleapi/monolog/monolog/LICENSE new file mode 100644 index 00000000..16473219 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2011-2016 Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/README.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/README.md new file mode 100644 index 00000000..7d8ade52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/README.md @@ -0,0 +1,95 @@ +# Monolog - Logging for PHP [![Build Status](https://img.shields.io/travis/Seldaek/monolog.svg)](https://travis-ci.org/Seldaek/monolog) + +[![Total Downloads](https://img.shields.io/packagist/dt/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog) +[![Latest Stable Version](https://img.shields.io/packagist/v/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog) +[![Reference Status](https://www.versioneye.com/php/monolog:monolog/reference_badge.svg)](https://www.versioneye.com/php/monolog:monolog/references) + + +Monolog sends your logs to files, sockets, inboxes, databases and various +web services. See the complete list of handlers below. Special handlers +allow you to build advanced logging strategies. + +This library implements the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) +interface that you can type-hint against in your own libraries to keep +a maximum of interoperability. You can also use it in your applications to +make sure you can always use another compatible logger at a later time. +As of 1.11.0 Monolog public APIs will also accept PSR-3 log levels. +Internally Monolog still uses its own level scheme since it predates PSR-3. + +## Installation + +Install the latest version with + +```bash +$ composer require monolog/monolog +``` + +## Basic Usage + +```php +pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING)); + +// add records to the log +$log->addWarning('Foo'); +$log->addError('Bar'); +``` + +## Documentation + +- [Usage Instructions](doc/01-usage.md) +- [Handlers, Formatters and Processors](doc/02-handlers-formatters-processors.md) +- [Utility classes](doc/03-utilities.md) +- [Extending Monolog](doc/04-extending.md) + +## Third Party Packages + +Third party handlers, formatters and processors are +[listed in the wiki](https://github.com/Seldaek/monolog/wiki/Third-Party-Packages). You +can also add your own there if you publish one. + +## About + +### Requirements + +- Monolog works with PHP 5.3 or above, and is also tested to work with HHVM. + +### Submitting bugs and feature requests + +Bugs and feature request are tracked on [GitHub](https://github.com/Seldaek/monolog/issues) + +### Framework Integrations + +- Frameworks and libraries using [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) + can be used very easily with Monolog since it implements the interface. +- [Symfony2](http://symfony.com) comes out of the box with Monolog. +- [Silex](http://silex.sensiolabs.org/) comes out of the box with Monolog. +- [Laravel 4 & 5](http://laravel.com/) come out of the box with Monolog. +- [Lumen](http://lumen.laravel.com/) comes out of the box with Monolog. +- [PPI](http://www.ppi.io/) comes out of the box with Monolog. +- [CakePHP](http://cakephp.org/) is usable with Monolog via the [cakephp-monolog](https://github.com/jadb/cakephp-monolog) plugin. +- [Slim](http://www.slimframework.com/) is usable with Monolog via the [Slim-Monolog](https://github.com/Flynsarmy/Slim-Monolog) log writer. +- [XOOPS 2.6](http://xoops.org/) comes out of the box with Monolog. +- [Aura.Web_Project](https://github.com/auraphp/Aura.Web_Project) comes out of the box with Monolog. +- [Nette Framework](http://nette.org/en/) can be used with Monolog via [Kdyby/Monolog](https://github.com/Kdyby/Monolog) extension. +- [Proton Micro Framework](https://github.com/alexbilbie/Proton) comes out of the box with Monolog. + +### Author + +Jordi Boggiano - -
+See also the list of [contributors](https://github.com/Seldaek/monolog/contributors) which participated in this project. + +### License + +Monolog is licensed under the MIT License - see the `LICENSE` file for details + +### Acknowledgements + +This library is heavily inspired by Python's [Logbook](http://packages.python.org/Logbook/) +library, although most concepts have been adjusted to fit to the PHP world. diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/composer.json b/mayor-orig/www/include/share/googleapi/monolog/monolog/composer.json new file mode 100644 index 00000000..3b0c8805 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/composer.json @@ -0,0 +1,66 @@ +{ + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": ["log", "logging", "psr-3"], + "homepage": "http://github.com/Seldaek/monolog", + "type": "library", + "license": "MIT", + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "_": "phpunit/phpunit-mock-objects required in 2.3.0 due to https://github.com/sebastianbergmann/phpunit-mock-objects/issues/223 - needs hhvm 3.8+ on travis", + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "autoload": { + "psr-4": {"Monolog\\": "src/Monolog"} + }, + "autoload-dev": { + "psr-4": {"Monolog\\": "tests/Monolog"} + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "scripts": { + "test": [ + "parallel-lint . --exclude vendor", + "phpunit" + ] + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/01-usage.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/01-usage.md new file mode 100644 index 00000000..8e2551f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/01-usage.md @@ -0,0 +1,231 @@ +# Using Monolog + +- [Installation](#installation) +- [Core Concepts](#core-concepts) +- [Log Levels](#log-levels) +- [Configuring a logger](#configuring-a-logger) +- [Adding extra data in the records](#adding-extra-data-in-the-records) +- [Leveraging channels](#leveraging-channels) +- [Customizing the log format](#customizing-the-log-format) + +## Installation + +Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog)) +and as such installable via [Composer](http://getcomposer.org/). + +```bash +composer require monolog/monolog +``` + +If you do not use Composer, you can grab the code from GitHub, and use any +PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader)) +to load Monolog classes. + +## Core Concepts + +Every `Logger` instance has a channel (name) and a stack of handlers. Whenever +you add a record to the logger, it traverses the handler stack. Each handler +decides whether it fully handled the record, and if so, the propagation of the +record ends there. + +This allows for flexible logging setups, for example having a `StreamHandler` at +the bottom of the stack that will log anything to disk, and on top of that add +a `MailHandler` that will send emails only when an error message is logged. +Handlers also have a `$bubble` property which defines whether they block the +record or not if they handled it. In this example, setting the `MailHandler`'s +`$bubble` argument to false means that records handled by the `MailHandler` will +not propagate to the `StreamHandler` anymore. + +You can create many `Logger`s, each defining a channel (e.g.: db, request, +router, ..) and each of them combining various handlers, which can be shared +or not. The channel is reflected in the logs and allows you to easily see or +filter records. + +Each Handler also has a Formatter, a default one with settings that make sense +will be created if you don't set one. The formatters normalize and format +incoming records so that they can be used by the handlers to output useful +information. + +Custom severity levels are not available. Only the eight +[RFC 5424](http://tools.ietf.org/html/rfc5424) levels (debug, info, notice, +warning, error, critical, alert, emergency) are present for basic filtering +purposes, but for sorting and other use cases that would require +flexibility, you should add Processors to the Logger that can add extra +information (tags, user ip, ..) to the records before they are handled. + +## Log Levels + +Monolog supports the logging levels described by [RFC 5424](http://tools.ietf.org/html/rfc5424). + +- **DEBUG** (100): Detailed debug information. + +- **INFO** (200): Interesting events. Examples: User logs in, SQL logs. + +- **NOTICE** (250): Normal but significant events. + +- **WARNING** (300): Exceptional occurrences that are not errors. Examples: + Use of deprecated APIs, poor use of an API, undesirable things that are not + necessarily wrong. + +- **ERROR** (400): Runtime errors that do not require immediate action but + should typically be logged and monitored. + +- **CRITICAL** (500): Critical conditions. Example: Application component + unavailable, unexpected exception. + +- **ALERT** (550): Action must be taken immediately. Example: Entire website + down, database unavailable, etc. This should trigger the SMS alerts and wake + you up. + +- **EMERGENCY** (600): Emergency: system is unusable. + +## Configuring a logger + +Here is a basic setup to log to a file and to firephp on the DEBUG level: + +```php +pushHandler(new StreamHandler(__DIR__.'/my_app.log', Logger::DEBUG)); +$logger->pushHandler(new FirePHPHandler()); + +// You can now use your logger +$logger->addInfo('My logger is now ready'); +``` + +Let's explain it. The first step is to create the logger instance which will +be used in your code. The argument is a channel name, which is useful when +you use several loggers (see below for more details about it). + +The logger itself does not know how to handle a record. It delegates it to +some handlers. The code above registers two handlers in the stack to allow +handling records in two different ways. + +Note that the FirePHPHandler is called first as it is added on top of the +stack. This allows you to temporarily add a logger with bubbling disabled if +you want to override other configured loggers. + +> If you use Monolog standalone and are looking for an easy way to +> configure many handlers, the [theorchard/monolog-cascade](https://github.com/theorchard/monolog-cascade) +> can help you build complex logging configs via PHP arrays, yaml or json configs. + +## Adding extra data in the records + +Monolog provides two different ways to add extra informations along the simple +textual message. + +### Using the logging context + +The first way is the context, allowing to pass an array of data along the +record: + +```php +addInfo('Adding a new user', array('username' => 'Seldaek')); +``` + +Simple handlers (like the StreamHandler for instance) will simply format +the array to a string but richer handlers can take advantage of the context +(FirePHP is able to display arrays in pretty way for instance). + +### Using processors + +The second way is to add extra data for all records by using a processor. +Processors can be any callable. They will get the record as parameter and +must return it after having eventually changed the `extra` part of it. Let's +write a processor adding some dummy data in the record: + +```php +pushProcessor(function ($record) { + $record['extra']['dummy'] = 'Hello world!'; + + return $record; +}); +``` + +Monolog provides some built-in processors that can be used in your project. +Look at the [dedicated chapter](https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md#processors) for the list. + +> Tip: processors can also be registered on a specific handler instead of + the logger to apply only for this handler. + +## Leveraging channels + +Channels are a great way to identify to which part of the application a record +is related. This is useful in big applications (and is leveraged by +MonologBundle in Symfony2). + +Picture two loggers sharing a handler that writes to a single log file. +Channels would allow you to identify the logger that issued every record. +You can easily grep through the log files filtering this or that channel. + +```php +pushHandler($stream); +$logger->pushHandler($firephp); + +// Create a logger for the security-related stuff with a different channel +$securityLogger = new Logger('security'); +$securityLogger->pushHandler($stream); +$securityLogger->pushHandler($firephp); + +// Or clone the first one to only change the channel +$securityLogger = $logger->withName('security'); +``` + +## Customizing the log format + +In Monolog it's easy to customize the format of the logs written into files, +sockets, mails, databases and other handlers. Most of the handlers use the + +```php +$record['formatted'] +``` + +value to be automatically put into the log device. This value depends on the +formatter settings. You can choose between predefined formatter classes or +write your own (e.g. a multiline text file for human-readable output). + +To configure a predefined formatter class, just set it as the handler's field: + +```php +// the default date format is "Y-m-d H:i:s" +$dateFormat = "Y n j, g:i a"; +// the default output format is "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" +$output = "%datetime% > %level_name% > %message% %context% %extra%\n"; +// finally, create a formatter +$formatter = new LineFormatter($output, $dateFormat); + +// Create a handler +$stream = new StreamHandler(__DIR__.'/my_app.log', Logger::DEBUG); +$stream->setFormatter($formatter); +// bind it to a logger object +$securityLogger = new Logger('security'); +$securityLogger->pushHandler($stream); +``` + +You may also reuse the same formatter between multiple handlers and share those +handlers between multiple loggers. + +[Handlers, Formatters and Processors](02-handlers-formatters-processors.md) → diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md new file mode 100644 index 00000000..bea968ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/02-handlers-formatters-processors.md @@ -0,0 +1,157 @@ +# Handlers, Formatters and Processors + +- [Handlers](#handlers) + - [Log to files and syslog](#log-to-files-and-syslog) + - [Send alerts and emails](#send-alerts-and-emails) + - [Log specific servers and networked logging](#log-specific-servers-and-networked-logging) + - [Logging in development](#logging-in-development) + - [Log to databases](#log-to-databases) + - [Wrappers / Special Handlers](#wrappers--special-handlers) +- [Formatters](#formatters) +- [Processors](#processors) +- [Third Party Packages](#third-party-packages) + +## Handlers + +### Log to files and syslog + +- _StreamHandler_: Logs records into any PHP stream, use this for log files. +- _RotatingFileHandler_: Logs records to a file and creates one logfile per day. + It will also delete files older than `$maxFiles`. You should use + [logrotate](http://linuxcommand.org/man_pages/logrotate8.html) for high profile + setups though, this is just meant as a quick and dirty solution. +- _SyslogHandler_: Logs records to the syslog. +- _ErrorLogHandler_: Logs records to PHP's + [`error_log()`](http://docs.php.net/manual/en/function.error-log.php) function. + +### Send alerts and emails + +- _NativeMailerHandler_: Sends emails using PHP's + [`mail()`](http://php.net/manual/en/function.mail.php) function. +- _SwiftMailerHandler_: Sends emails using a [`Swift_Mailer`](http://swiftmailer.org/) instance. +- _PushoverHandler_: Sends mobile notifications via the [Pushover](https://www.pushover.net/) API. +- _HipChatHandler_: Logs records to a [HipChat](http://hipchat.com) chat room using its API. +- _FlowdockHandler_: Logs records to a [Flowdock](https://www.flowdock.com/) account. +- _SlackHandler_: Logs records to a [Slack](https://www.slack.com/) account using the Slack API. +- _SlackbotHandler_: Logs records to a [Slack](https://www.slack.com/) account using the Slackbot incoming hook. +- _SlackWebhookHandler_: Logs records to a [Slack](https://www.slack.com/) account using Slack Webhooks. +- _MandrillHandler_: Sends emails via the Mandrill API using a [`Swift_Message`](http://swiftmailer.org/) instance. +- _FleepHookHandler_: Logs records to a [Fleep](https://fleep.io/) conversation using Webhooks. +- _IFTTTHandler_: Notifies an [IFTTT](https://ifttt.com/maker) trigger with the log channel, level name and message. + +### Log specific servers and networked logging + +- _SocketHandler_: Logs records to [sockets](http://php.net/fsockopen), use this + for UNIX and TCP sockets. See an [example](sockets.md). +- _AmqpHandler_: Logs records to an [amqp](http://www.amqp.org/) compatible + server. Requires the [php-amqp](http://pecl.php.net/package/amqp) extension (1.0+). +- _GelfHandler_: Logs records to a [Graylog2](http://www.graylog2.org) server. +- _CubeHandler_: Logs records to a [Cube](http://square.github.com/cube/) server. +- _RavenHandler_: Logs records to a [Sentry](http://getsentry.com/) server using + [raven](https://packagist.org/packages/raven/raven). +- _ZendMonitorHandler_: Logs records to the Zend Monitor present in Zend Server. +- _NewRelicHandler_: Logs records to a [NewRelic](http://newrelic.com/) application. +- _LogglyHandler_: Logs records to a [Loggly](http://www.loggly.com/) account. +- _RollbarHandler_: Logs records to a [Rollbar](https://rollbar.com/) account. +- _SyslogUdpHandler_: Logs records to a remote [Syslogd](http://www.rsyslog.com/) server. +- _LogEntriesHandler_: Logs records to a [LogEntries](http://logentries.com/) account. + +### Logging in development + +- _FirePHPHandler_: Handler for [FirePHP](http://www.firephp.org/), providing + inline `console` messages within [FireBug](http://getfirebug.com/). +- _ChromePHPHandler_: Handler for [ChromePHP](http://www.chromephp.com/), providing + inline `console` messages within Chrome. +- _BrowserConsoleHandler_: Handler to send logs to browser's Javascript `console` with + no browser extension required. Most browsers supporting `console` API are supported. +- _PHPConsoleHandler_: Handler for [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef), providing + inline `console` and notification popup messages within Chrome. + +### Log to databases + +- _RedisHandler_: Logs records to a [redis](http://redis.io) server. +- _MongoDBHandler_: Handler to write records in MongoDB via a + [Mongo](http://pecl.php.net/package/mongo) extension connection. +- _CouchDBHandler_: Logs records to a CouchDB server. +- _DoctrineCouchDBHandler_: Logs records to a CouchDB server via the Doctrine CouchDB ODM. +- _ElasticSearchHandler_: Logs records to an Elastic Search server. +- _DynamoDbHandler_: Logs records to a DynamoDB table with the [AWS SDK](https://github.com/aws/aws-sdk-php). + +### Wrappers / Special Handlers + +- _FingersCrossedHandler_: A very interesting wrapper. It takes a logger as + parameter and will accumulate log records of all levels until a record + exceeds the defined severity level. At which point it delivers all records, + including those of lower severity, to the handler it wraps. This means that + until an error actually happens you will not see anything in your logs, but + when it happens you will have the full information, including debug and info + records. This provides you with all the information you need, but only when + you need it. +- _DeduplicationHandler_: Useful if you are sending notifications or emails + when critical errors occur. It takes a logger as parameter and will + accumulate log records of all levels until the end of the request (or + `flush()` is called). At that point it delivers all records to the handler + it wraps, but only if the records are unique over a given time period + (60seconds by default). If the records are duplicates they are simply + discarded. The main use of this is in case of critical failure like if your + database is unreachable for example all your requests will fail and that + can result in a lot of notifications being sent. Adding this handler reduces + the amount of notifications to a manageable level. +- _WhatFailureGroupHandler_: This handler extends the _GroupHandler_ ignoring + exceptions raised by each child handler. This allows you to ignore issues + where a remote tcp connection may have died but you do not want your entire + application to crash and may wish to continue to log to other handlers. +- _BufferHandler_: This handler will buffer all the log records it receives + until `close()` is called at which point it will call `handleBatch()` on the + handler it wraps with all the log messages at once. This is very useful to + send an email with all records at once for example instead of having one mail + for every log record. +- _GroupHandler_: This handler groups other handlers. Every record received is + sent to all the handlers it is configured with. +- _FilterHandler_: This handler only lets records of the given levels through + to the wrapped handler. +- _SamplingHandler_: Wraps around another handler and lets you sample records + if you only want to store some of them. +- _NullHandler_: Any record it can handle will be thrown away. This can be used + to put on top of an existing handler stack to disable it temporarily. +- _PsrHandler_: Can be used to forward log records to an existing PSR-3 logger +- _TestHandler_: Used for testing, it records everything that is sent to it and + has accessors to read out the information. +- _HandlerWrapper_: A simple handler wrapper you can inherit from to create + your own wrappers easily. + +## Formatters + +- _LineFormatter_: Formats a log record into a one-line string. +- _HtmlFormatter_: Used to format log records into a human readable html table, mainly suitable for emails. +- _NormalizerFormatter_: Normalizes objects/resources down to strings so a record can easily be serialized/encoded. +- _ScalarFormatter_: Used to format log records into an associative array of scalar values. +- _JsonFormatter_: Encodes a log record into json. +- _WildfireFormatter_: Used to format log records into the Wildfire/FirePHP protocol, only useful for the FirePHPHandler. +- _ChromePHPFormatter_: Used to format log records into the ChromePHP format, only useful for the ChromePHPHandler. +- _GelfMessageFormatter_: Used to format log records into Gelf message instances, only useful for the GelfHandler. +- _LogstashFormatter_: Used to format log records into [logstash](http://logstash.net/) event json, useful for any handler listed under inputs [here](http://logstash.net/docs/latest). +- _ElasticaFormatter_: Used to format log records into an Elastica\Document object, only useful for the ElasticSearchHandler. +- _LogglyFormatter_: Used to format log records into Loggly messages, only useful for the LogglyHandler. +- _FlowdockFormatter_: Used to format log records into Flowdock messages, only useful for the FlowdockHandler. +- _MongoDBFormatter_: Converts \DateTime instances to \MongoDate and objects recursively to arrays, only useful with the MongoDBHandler. + +## Processors + +- _PsrLogMessageProcessor_: Processes a log record's message according to PSR-3 rules, replacing `{foo}` with the value from `$context['foo']`. +- _IntrospectionProcessor_: Adds the line/file/class/method from which the log call originated. +- _WebProcessor_: Adds the current request URI, request method and client IP to a log record. +- _MemoryUsageProcessor_: Adds the current memory usage to a log record. +- _MemoryPeakUsageProcessor_: Adds the peak memory usage to a log record. +- _ProcessIdProcessor_: Adds the process id to a log record. +- _UidProcessor_: Adds a unique identifier to a log record. +- _GitProcessor_: Adds the current git branch and commit to a log record. +- _TagProcessor_: Adds an array of predefined tags to a log record. + +## Third Party Packages + +Third party handlers, formatters and processors are +[listed in the wiki](https://github.com/Seldaek/monolog/wiki/Third-Party-Packages). You +can also add your own there if you publish one. + +← [Usage](01-usage.md) | [Utility classes](03-utilities.md) → diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md new file mode 100644 index 00000000..c62aa416 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/03-utilities.md @@ -0,0 +1,13 @@ +# Utilities + +- _Registry_: The `Monolog\Registry` class lets you configure global loggers that you + can then statically access from anywhere. It is not really a best practice but can + help in some older codebases or for ease of use. +- _ErrorHandler_: The `Monolog\ErrorHandler` class allows you to easily register + a Logger instance as an exception handler, error handler or fatal error handler. +- _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log + level is reached. +- _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain + log level is reached, depending on which channel received the log record. + +← [Handlers, Formatters and Processors](02-handlers-formatters-processors.md) | [Extending Monolog](04-extending.md) → diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/04-extending.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/04-extending.md new file mode 100644 index 00000000..ebd9104d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/04-extending.md @@ -0,0 +1,76 @@ +# Extending Monolog + +Monolog is fully extensible, allowing you to adapt your logger to your needs. + +## Writing your own handler + +Monolog provides many built-in handlers. But if the one you need does not +exist, you can write it and use it in your logger. The only requirement is +to implement `Monolog\Handler\HandlerInterface`. + +Let's write a PDOHandler to log records to a database. We will extend the +abstract class provided by Monolog to keep things DRY. + +```php +pdo = $pdo; + parent::__construct($level, $bubble); + } + + protected function write(array $record) + { + if (!$this->initialized) { + $this->initialize(); + } + + $this->statement->execute(array( + 'channel' => $record['channel'], + 'level' => $record['level'], + 'message' => $record['formatted'], + 'time' => $record['datetime']->format('U'), + )); + } + + private function initialize() + { + $this->pdo->exec( + 'CREATE TABLE IF NOT EXISTS monolog ' + .'(channel VARCHAR(255), level INTEGER, message LONGTEXT, time INTEGER UNSIGNED)' + ); + $this->statement = $this->pdo->prepare( + 'INSERT INTO monolog (channel, level, message, time) VALUES (:channel, :level, :message, :time)' + ); + + $this->initialized = true; + } +} +``` + +You can now use this handler in your logger: + +```php +pushHandler(new PDOHandler(new PDO('sqlite:logs.sqlite'))); + +// You can now use your logger +$logger->addInfo('My logger is now ready'); +``` + +The `Monolog\Handler\AbstractProcessingHandler` class provides most of the +logic needed for the handler, including the use of processors and the formatting +of the record (which is why we use ``$record['formatted']`` instead of ``$record['message']``). + +← [Utility classes](03-utilities.md) diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/sockets.md b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/sockets.md new file mode 100644 index 00000000..ea9cf0ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/doc/sockets.md @@ -0,0 +1,39 @@ +Sockets Handler +=============== + +This handler allows you to write your logs to sockets using [fsockopen](http://php.net/fsockopen) +or [pfsockopen](http://php.net/pfsockopen). + +Persistent sockets are mainly useful in web environments where you gain some performance not closing/opening +the connections between requests. + +You can use a `unix://` prefix to access unix sockets and `udp://` to open UDP sockets instead of the default TCP. + +Basic Example +------------- + +```php +setPersistent(true); + +// Now add the handler +$logger->pushHandler($handler, Logger::DEBUG); + +// You can now use your logger +$logger->addInfo('My logger is now ready'); + +``` + +In this example, using syslog-ng, you should see the log on the log server: + + cweb1 [2012-02-26 00:12:03] my_logger.INFO: My logger is now ready [] [] + diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist b/mayor-orig/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist new file mode 100644 index 00000000..20d82b63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/phpunit.xml.dist @@ -0,0 +1,19 @@ + + + + + + tests/Monolog/ + + + + + + src/Monolog/ + + + + + + + diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php new file mode 100644 index 00000000..7bfcd833 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/ErrorHandler.php @@ -0,0 +1,230 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use Psr\Log\LoggerInterface; +use Psr\Log\LogLevel; +use Monolog\Handler\AbstractHandler; + +/** + * Monolog error handler + * + * A facility to enable logging of runtime errors, exceptions and fatal errors. + * + * Quick setup: ErrorHandler::register($logger); + * + * @author Jordi Boggiano + */ +class ErrorHandler +{ + private $logger; + + private $previousExceptionHandler; + private $uncaughtExceptionLevel; + + private $previousErrorHandler; + private $errorLevelMap; + private $handleOnlyReportedErrors; + + private $hasFatalErrorHandler; + private $fatalLevel; + private $reservedMemory; + private static $fatalErrors = array(E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR); + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + + /** + * Registers a new ErrorHandler for a given Logger + * + * By default it will handle errors, exceptions and fatal errors + * + * @param LoggerInterface $logger + * @param array|false $errorLevelMap an array of E_* constant to LogLevel::* constant mapping, or false to disable error handling + * @param int|false $exceptionLevel a LogLevel::* constant, or false to disable exception handling + * @param int|false $fatalLevel a LogLevel::* constant, or false to disable fatal error handling + * @return ErrorHandler + */ + public static function register(LoggerInterface $logger, $errorLevelMap = array(), $exceptionLevel = null, $fatalLevel = null) + { + //Forces the autoloader to run for LogLevel. Fixes an autoload issue at compile-time on PHP5.3. See https://github.com/Seldaek/monolog/pull/929 + class_exists('\\Psr\\Log\\LogLevel', true); + + $handler = new static($logger); + if ($errorLevelMap !== false) { + $handler->registerErrorHandler($errorLevelMap); + } + if ($exceptionLevel !== false) { + $handler->registerExceptionHandler($exceptionLevel); + } + if ($fatalLevel !== false) { + $handler->registerFatalHandler($fatalLevel); + } + + return $handler; + } + + public function registerExceptionHandler($level = null, $callPrevious = true) + { + $prev = set_exception_handler(array($this, 'handleException')); + $this->uncaughtExceptionLevel = $level; + if ($callPrevious && $prev) { + $this->previousExceptionHandler = $prev; + } + } + + public function registerErrorHandler(array $levelMap = array(), $callPrevious = true, $errorTypes = -1, $handleOnlyReportedErrors = true) + { + $prev = set_error_handler(array($this, 'handleError'), $errorTypes); + $this->errorLevelMap = array_replace($this->defaultErrorLevelMap(), $levelMap); + if ($callPrevious) { + $this->previousErrorHandler = $prev ?: true; + } + + $this->handleOnlyReportedErrors = $handleOnlyReportedErrors; + } + + public function registerFatalHandler($level = null, $reservedMemorySize = 20) + { + register_shutdown_function(array($this, 'handleFatalError')); + + $this->reservedMemory = str_repeat(' ', 1024 * $reservedMemorySize); + $this->fatalLevel = $level; + $this->hasFatalErrorHandler = true; + } + + protected function defaultErrorLevelMap() + { + return array( + E_ERROR => LogLevel::CRITICAL, + E_WARNING => LogLevel::WARNING, + E_PARSE => LogLevel::ALERT, + E_NOTICE => LogLevel::NOTICE, + E_CORE_ERROR => LogLevel::CRITICAL, + E_CORE_WARNING => LogLevel::WARNING, + E_COMPILE_ERROR => LogLevel::ALERT, + E_COMPILE_WARNING => LogLevel::WARNING, + E_USER_ERROR => LogLevel::ERROR, + E_USER_WARNING => LogLevel::WARNING, + E_USER_NOTICE => LogLevel::NOTICE, + E_STRICT => LogLevel::NOTICE, + E_RECOVERABLE_ERROR => LogLevel::ERROR, + E_DEPRECATED => LogLevel::NOTICE, + E_USER_DEPRECATED => LogLevel::NOTICE, + ); + } + + /** + * @private + */ + public function handleException($e) + { + $this->logger->log( + $this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel, + sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()), + array('exception' => $e) + ); + + if ($this->previousExceptionHandler) { + call_user_func($this->previousExceptionHandler, $e); + } + + exit(255); + } + + /** + * @private + */ + public function handleError($code, $message, $file = '', $line = 0, $context = array()) + { + if ($this->handleOnlyReportedErrors && !(error_reporting() & $code)) { + return; + } + + // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries + if (!$this->hasFatalErrorHandler || !in_array($code, self::$fatalErrors, true)) { + $level = isset($this->errorLevelMap[$code]) ? $this->errorLevelMap[$code] : LogLevel::CRITICAL; + $this->logger->log($level, self::codeToString($code).': '.$message, array('code' => $code, 'message' => $message, 'file' => $file, 'line' => $line)); + } + + if ($this->previousErrorHandler === true) { + return false; + } elseif ($this->previousErrorHandler) { + return call_user_func($this->previousErrorHandler, $code, $message, $file, $line, $context); + } + } + + /** + * @private + */ + public function handleFatalError() + { + $this->reservedMemory = null; + + $lastError = error_get_last(); + if ($lastError && in_array($lastError['type'], self::$fatalErrors, true)) { + $this->logger->log( + $this->fatalLevel === null ? LogLevel::ALERT : $this->fatalLevel, + 'Fatal Error ('.self::codeToString($lastError['type']).'): '.$lastError['message'], + array('code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line']) + ); + + if ($this->logger instanceof Logger) { + foreach ($this->logger->getHandlers() as $handler) { + if ($handler instanceof AbstractHandler) { + $handler->close(); + } + } + } + } + } + + private static function codeToString($code) + { + switch ($code) { + case E_ERROR: + return 'E_ERROR'; + case E_WARNING: + return 'E_WARNING'; + case E_PARSE: + return 'E_PARSE'; + case E_NOTICE: + return 'E_NOTICE'; + case E_CORE_ERROR: + return 'E_CORE_ERROR'; + case E_CORE_WARNING: + return 'E_CORE_WARNING'; + case E_COMPILE_ERROR: + return 'E_COMPILE_ERROR'; + case E_COMPILE_WARNING: + return 'E_COMPILE_WARNING'; + case E_USER_ERROR: + return 'E_USER_ERROR'; + case E_USER_WARNING: + return 'E_USER_WARNING'; + case E_USER_NOTICE: + return 'E_USER_NOTICE'; + case E_STRICT: + return 'E_STRICT'; + case E_RECOVERABLE_ERROR: + return 'E_RECOVERABLE_ERROR'; + case E_DEPRECATED: + return 'E_DEPRECATED'; + case E_USER_DEPRECATED: + return 'E_USER_DEPRECATED'; + } + + return 'Unknown PHP error'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php new file mode 100644 index 00000000..9beda1e7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php @@ -0,0 +1,78 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +/** + * Formats a log message according to the ChromePHP array format + * + * @author Christophe Coevoet + */ +class ChromePHPFormatter implements FormatterInterface +{ + /** + * Translates Monolog log levels to Wildfire levels. + */ + private $logLevels = array( + Logger::DEBUG => 'log', + Logger::INFO => 'info', + Logger::NOTICE => 'info', + Logger::WARNING => 'warn', + Logger::ERROR => 'error', + Logger::CRITICAL => 'error', + Logger::ALERT => 'error', + Logger::EMERGENCY => 'error', + ); + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + // Retrieve the line and file if set and remove them from the formatted extra + $backtrace = 'unknown'; + if (isset($record['extra']['file'], $record['extra']['line'])) { + $backtrace = $record['extra']['file'].' : '.$record['extra']['line']; + unset($record['extra']['file'], $record['extra']['line']); + } + + $message = array('message' => $record['message']); + if ($record['context']) { + $message['context'] = $record['context']; + } + if ($record['extra']) { + $message['extra'] = $record['extra']; + } + if (count($message) === 1) { + $message = reset($message); + } + + return array( + $record['channel'], + $message, + $backtrace, + $this->logLevels[$record['level']], + ); + } + + public function formatBatch(array $records) + { + $formatted = array(); + + foreach ($records as $record) { + $formatted[] = $this->format($record); + } + + return $formatted; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php new file mode 100644 index 00000000..4c556cf1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php @@ -0,0 +1,89 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Elastica\Document; + +/** + * Format a log message into an Elastica Document + * + * @author Jelle Vink + */ +class ElasticaFormatter extends NormalizerFormatter +{ + /** + * @var string Elastic search index name + */ + protected $index; + + /** + * @var string Elastic search document type + */ + protected $type; + + /** + * @param string $index Elastic Search index name + * @param string $type Elastic Search document type + */ + public function __construct($index, $type) + { + // elasticsearch requires a ISO 8601 format date with optional millisecond precision. + parent::__construct('Y-m-d\TH:i:s.uP'); + + $this->index = $index; + $this->type = $type; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $record = parent::format($record); + + return $this->getDocument($record); + } + + /** + * Getter index + * @return string + */ + public function getIndex() + { + return $this->index; + } + + /** + * Getter type + * @return string + */ + public function getType() + { + return $this->type; + } + + /** + * Convert a log message into an Elastica Document + * + * @param array $record Log message + * @return Document + */ + protected function getDocument($record) + { + $document = new Document(); + $document->setData($record); + $document->setType($this->type); + $document->setIndex($this->index); + + return $document; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php new file mode 100644 index 00000000..5094af3c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php @@ -0,0 +1,116 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * formats the record to be used in the FlowdockHandler + * + * @author Dominik Liebler + */ +class FlowdockFormatter implements FormatterInterface +{ + /** + * @var string + */ + private $source; + + /** + * @var string + */ + private $sourceEmail; + + /** + * @param string $source + * @param string $sourceEmail + */ + public function __construct($source, $sourceEmail) + { + $this->source = $source; + $this->sourceEmail = $sourceEmail; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $tags = array( + '#logs', + '#' . strtolower($record['level_name']), + '#' . $record['channel'], + ); + + foreach ($record['extra'] as $value) { + $tags[] = '#' . $value; + } + + $subject = sprintf( + 'in %s: %s - %s', + $this->source, + $record['level_name'], + $this->getShortMessage($record['message']) + ); + + $record['flowdock'] = array( + 'source' => $this->source, + 'from_address' => $this->sourceEmail, + 'subject' => $subject, + 'content' => $record['message'], + 'tags' => $tags, + 'project' => $this->source, + ); + + return $record; + } + + /** + * {@inheritdoc} + */ + public function formatBatch(array $records) + { + $formatted = array(); + + foreach ($records as $record) { + $formatted[] = $this->format($record); + } + + return $formatted; + } + + /** + * @param string $message + * + * @return string + */ + public function getShortMessage($message) + { + static $hasMbString; + + if (null === $hasMbString) { + $hasMbString = function_exists('mb_strlen'); + } + + $maxLength = 45; + + if ($hasMbString) { + if (mb_strlen($message, 'UTF-8') > $maxLength) { + $message = mb_substr($message, 0, $maxLength - 4, 'UTF-8') . ' ...'; + } + } else { + if (strlen($message) > $maxLength) { + $message = substr($message, 0, $maxLength - 4) . ' ...'; + } + } + + return $message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php new file mode 100644 index 00000000..02632bb5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php @@ -0,0 +1,85 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Class FluentdFormatter + * + * Serializes a log message to Fluentd unix socket protocol + * + * Fluentd config: + * + * + * type unix + * path /var/run/td-agent/td-agent.sock + * + * + * Monolog setup: + * + * $logger = new Monolog\Logger('fluent.tag'); + * $fluentHandler = new Monolog\Handler\SocketHandler('unix:///var/run/td-agent/td-agent.sock'); + * $fluentHandler->setFormatter(new Monolog\Formatter\FluentdFormatter()); + * $logger->pushHandler($fluentHandler); + * + * @author Andrius Putna + */ +class FluentdFormatter implements FormatterInterface +{ + /** + * @var bool $levelTag should message level be a part of the fluentd tag + */ + protected $levelTag = false; + + public function __construct($levelTag = false) + { + if (!function_exists('json_encode')) { + throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s FluentdUnixFormatter'); + } + + $this->levelTag = (bool) $levelTag; + } + + public function isUsingLevelsInTag() + { + return $this->levelTag; + } + + public function format(array $record) + { + $tag = $record['channel']; + if ($this->levelTag) { + $tag .= '.' . strtolower($record['level_name']); + } + + $message = array( + 'message' => $record['message'], + 'extra' => $record['extra'], + ); + + if (!$this->levelTag) { + $message['level'] = $record['level']; + $message['level_name'] = $record['level_name']; + } + + return json_encode(array($tag, $record['datetime']->getTimestamp(), $message)); + } + + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php new file mode 100644 index 00000000..b5de7511 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php @@ -0,0 +1,36 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Interface for formatters + * + * @author Jordi Boggiano + */ +interface FormatterInterface +{ + /** + * Formats a log record. + * + * @param array $record A record to format + * @return mixed The formatted record + */ + public function format(array $record); + + /** + * Formats a set of log records. + * + * @param array $records A set of records to format + * @return mixed The formatted set of records + */ + public function formatBatch(array $records); +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php new file mode 100644 index 00000000..2c1b0e86 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php @@ -0,0 +1,138 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; +use Gelf\Message; + +/** + * Serializes a log message to GELF + * @see http://www.graylog2.org/about/gelf + * + * @author Matt Lehner + */ +class GelfMessageFormatter extends NormalizerFormatter +{ + const DEFAULT_MAX_LENGTH = 32766; + + /** + * @var string the name of the system for the Gelf log message + */ + protected $systemName; + + /** + * @var string a prefix for 'extra' fields from the Monolog record (optional) + */ + protected $extraPrefix; + + /** + * @var string a prefix for 'context' fields from the Monolog record (optional) + */ + protected $contextPrefix; + + /** + * @var int max length per field + */ + protected $maxLength; + + /** + * Translates Monolog log levels to Graylog2 log priorities. + */ + private $logLevels = array( + Logger::DEBUG => 7, + Logger::INFO => 6, + Logger::NOTICE => 5, + Logger::WARNING => 4, + Logger::ERROR => 3, + Logger::CRITICAL => 2, + Logger::ALERT => 1, + Logger::EMERGENCY => 0, + ); + + public function __construct($systemName = null, $extraPrefix = null, $contextPrefix = 'ctxt_', $maxLength = null) + { + parent::__construct('U.u'); + + $this->systemName = $systemName ?: gethostname(); + + $this->extraPrefix = $extraPrefix; + $this->contextPrefix = $contextPrefix; + $this->maxLength = is_null($maxLength) ? self::DEFAULT_MAX_LENGTH : $maxLength; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $record = parent::format($record); + + if (!isset($record['datetime'], $record['message'], $record['level'])) { + throw new \InvalidArgumentException('The record should at least contain datetime, message and level keys, '.var_export($record, true).' given'); + } + + $message = new Message(); + $message + ->setTimestamp($record['datetime']) + ->setShortMessage((string) $record['message']) + ->setHost($this->systemName) + ->setLevel($this->logLevels[$record['level']]); + + // message length + system name length + 200 for padding / metadata + $len = 200 + strlen((string) $record['message']) + strlen($this->systemName); + + if ($len > $this->maxLength) { + $message->setShortMessage(substr($record['message'], 0, $this->maxLength)); + } + + if (isset($record['channel'])) { + $message->setFacility($record['channel']); + } + if (isset($record['extra']['line'])) { + $message->setLine($record['extra']['line']); + unset($record['extra']['line']); + } + if (isset($record['extra']['file'])) { + $message->setFile($record['extra']['file']); + unset($record['extra']['file']); + } + + foreach ($record['extra'] as $key => $val) { + $val = is_scalar($val) || null === $val ? $val : $this->toJson($val); + $len = strlen($this->extraPrefix . $key . $val); + if ($len > $this->maxLength) { + $message->setAdditional($this->extraPrefix . $key, substr($val, 0, $this->maxLength)); + break; + } + $message->setAdditional($this->extraPrefix . $key, $val); + } + + foreach ($record['context'] as $key => $val) { + $val = is_scalar($val) || null === $val ? $val : $this->toJson($val); + $len = strlen($this->contextPrefix . $key . $val); + if ($len > $this->maxLength) { + $message->setAdditional($this->contextPrefix . $key, substr($val, 0, $this->maxLength)); + break; + } + $message->setAdditional($this->contextPrefix . $key, $val); + } + + if (null === $message->getFile() && isset($record['context']['exception']['file'])) { + if (preg_match("/^(.+):([0-9]+)$/", $record['context']['exception']['file'], $matches)) { + $message->setFile($matches[1]); + $message->setLine($matches[2]); + } + } + + return $message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php new file mode 100644 index 00000000..3eec95f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php @@ -0,0 +1,141 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +/** + * Formats incoming records into an HTML table + * + * This is especially useful for html email logging + * + * @author Tiago Brito + */ +class HtmlFormatter extends NormalizerFormatter +{ + /** + * Translates Monolog log levels to html color priorities. + */ + protected $logLevels = array( + Logger::DEBUG => '#cccccc', + Logger::INFO => '#468847', + Logger::NOTICE => '#3a87ad', + Logger::WARNING => '#c09853', + Logger::ERROR => '#f0ad4e', + Logger::CRITICAL => '#FF7708', + Logger::ALERT => '#C12A19', + Logger::EMERGENCY => '#000000', + ); + + /** + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + */ + public function __construct($dateFormat = null) + { + parent::__construct($dateFormat); + } + + /** + * Creates an HTML table row + * + * @param string $th Row header content + * @param string $td Row standard cell content + * @param bool $escapeTd false if td content must not be html escaped + * @return string + */ + protected function addRow($th, $td = ' ', $escapeTd = true) + { + $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8'); + if ($escapeTd) { + $td = '
'.htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8').'
'; + } + + return "\n$th:\n".$td."\n"; + } + + /** + * Create a HTML h1 tag + * + * @param string $title Text to be in the h1 + * @param int $level Error level + * @return string + */ + protected function addTitle($title, $level) + { + $title = htmlspecialchars($title, ENT_NOQUOTES, 'UTF-8'); + + return '

'.$title.'

'; + } + + /** + * Formats a log record. + * + * @param array $record A record to format + * @return mixed The formatted record + */ + public function format(array $record) + { + $output = $this->addTitle($record['level_name'], $record['level']); + $output .= ''; + + $output .= $this->addRow('Message', (string) $record['message']); + $output .= $this->addRow('Time', $record['datetime']->format($this->dateFormat)); + $output .= $this->addRow('Channel', $record['channel']); + if ($record['context']) { + $embeddedTable = '
'; + foreach ($record['context'] as $key => $value) { + $embeddedTable .= $this->addRow($key, $this->convertToString($value)); + } + $embeddedTable .= '
'; + $output .= $this->addRow('Context', $embeddedTable, false); + } + if ($record['extra']) { + $embeddedTable = ''; + foreach ($record['extra'] as $key => $value) { + $embeddedTable .= $this->addRow($key, $this->convertToString($value)); + } + $embeddedTable .= '
'; + $output .= $this->addRow('Extra', $embeddedTable, false); + } + + return $output.''; + } + + /** + * Formats a set of log records. + * + * @param array $records A set of records to format + * @return mixed The formatted set of records + */ + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } + + protected function convertToString($data) + { + if (null === $data || is_scalar($data)) { + return (string) $data; + } + + $data = $this->normalize($data); + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + + return str_replace('\\/', '/', json_encode($data)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php new file mode 100644 index 00000000..0782f149 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php @@ -0,0 +1,208 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Exception; +use Throwable; + +/** + * Encodes whatever record data is passed to it as json + * + * This can be useful to log to databases or remote APIs + * + * @author Jordi Boggiano + */ +class JsonFormatter extends NormalizerFormatter +{ + const BATCH_MODE_JSON = 1; + const BATCH_MODE_NEWLINES = 2; + + protected $batchMode; + protected $appendNewline; + + /** + * @var bool + */ + protected $includeStacktraces = false; + + /** + * @param int $batchMode + * @param bool $appendNewline + */ + public function __construct($batchMode = self::BATCH_MODE_JSON, $appendNewline = true) + { + $this->batchMode = $batchMode; + $this->appendNewline = $appendNewline; + } + + /** + * The batch mode option configures the formatting style for + * multiple records. By default, multiple records will be + * formatted as a JSON-encoded array. However, for + * compatibility with some API endpoints, alternative styles + * are available. + * + * @return int + */ + public function getBatchMode() + { + return $this->batchMode; + } + + /** + * True if newlines are appended to every formatted record + * + * @return bool + */ + public function isAppendingNewlines() + { + return $this->appendNewline; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + return $this->toJson($this->normalize($record), true) . ($this->appendNewline ? "\n" : ''); + } + + /** + * {@inheritdoc} + */ + public function formatBatch(array $records) + { + switch ($this->batchMode) { + case static::BATCH_MODE_NEWLINES: + return $this->formatBatchNewlines($records); + + case static::BATCH_MODE_JSON: + default: + return $this->formatBatchJson($records); + } + } + + /** + * @param bool $include + */ + public function includeStacktraces($include = true) + { + $this->includeStacktraces = $include; + } + + /** + * Return a JSON-encoded array of records. + * + * @param array $records + * @return string + */ + protected function formatBatchJson(array $records) + { + return $this->toJson($this->normalize($records), true); + } + + /** + * Use new lines to separate records instead of a + * JSON-encoded array. + * + * @param array $records + * @return string + */ + protected function formatBatchNewlines(array $records) + { + $instance = $this; + + $oldNewline = $this->appendNewline; + $this->appendNewline = false; + array_walk($records, function (&$value, $key) use ($instance) { + $value = $instance->format($value); + }); + $this->appendNewline = $oldNewline; + + return implode("\n", $records); + } + + /** + * Normalizes given $data. + * + * @param mixed $data + * + * @return mixed + */ + protected function normalize($data) + { + if (is_array($data) || $data instanceof \Traversable) { + $normalized = array(); + + $count = 1; + foreach ($data as $key => $value) { + if ($count++ >= 1000) { + $normalized['...'] = 'Over 1000 items, aborting normalization'; + break; + } + $normalized[$key] = $this->normalize($value); + } + + return $normalized; + } + + if ($data instanceof Exception || $data instanceof Throwable) { + return $this->normalizeException($data); + } + + return $data; + } + + /** + * Normalizes given exception with or without its own stack trace based on + * `includeStacktraces` property. + * + * @param Exception|Throwable $e + * + * @return array + */ + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof Exception && !$e instanceof Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + + $data = array( + 'class' => get_class($e), + 'message' => $e->getMessage(), + 'code' => $e->getCode(), + 'file' => $e->getFile().':'.$e->getLine(), + ); + + if ($this->includeStacktraces) { + $trace = $e->getTrace(); + foreach ($trace as $frame) { + if (isset($frame['file'])) { + $data['trace'][] = $frame['file'].':'.$frame['line']; + } elseif (isset($frame['function']) && $frame['function'] === '{closure}') { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $frame['function']; + } else { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $this->normalize($frame); + } + } + } + + if ($previous = $e->getPrevious()) { + $data['previous'] = $this->normalizeException($previous); + } + + return $data; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php new file mode 100644 index 00000000..d3e209e6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LineFormatter.php @@ -0,0 +1,179 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Formats incoming records into a one-line string + * + * This is especially useful for logging to files + * + * @author Jordi Boggiano + * @author Christophe Coevoet + */ +class LineFormatter extends NormalizerFormatter +{ + const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n"; + + protected $format; + protected $allowInlineLineBreaks; + protected $ignoreEmptyContextAndExtra; + protected $includeStacktraces; + + /** + * @param string $format The format of the message + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + * @param bool $allowInlineLineBreaks Whether to allow inline line breaks in log entries + * @param bool $ignoreEmptyContextAndExtra + */ + public function __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = false) + { + $this->format = $format ?: static::SIMPLE_FORMAT; + $this->allowInlineLineBreaks = $allowInlineLineBreaks; + $this->ignoreEmptyContextAndExtra = $ignoreEmptyContextAndExtra; + parent::__construct($dateFormat); + } + + public function includeStacktraces($include = true) + { + $this->includeStacktraces = $include; + if ($this->includeStacktraces) { + $this->allowInlineLineBreaks = true; + } + } + + public function allowInlineLineBreaks($allow = true) + { + $this->allowInlineLineBreaks = $allow; + } + + public function ignoreEmptyContextAndExtra($ignore = true) + { + $this->ignoreEmptyContextAndExtra = $ignore; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $vars = parent::format($record); + + $output = $this->format; + + foreach ($vars['extra'] as $var => $val) { + if (false !== strpos($output, '%extra.'.$var.'%')) { + $output = str_replace('%extra.'.$var.'%', $this->stringify($val), $output); + unset($vars['extra'][$var]); + } + } + + + foreach ($vars['context'] as $var => $val) { + if (false !== strpos($output, '%context.'.$var.'%')) { + $output = str_replace('%context.'.$var.'%', $this->stringify($val), $output); + unset($vars['context'][$var]); + } + } + + if ($this->ignoreEmptyContextAndExtra) { + if (empty($vars['context'])) { + unset($vars['context']); + $output = str_replace('%context%', '', $output); + } + + if (empty($vars['extra'])) { + unset($vars['extra']); + $output = str_replace('%extra%', '', $output); + } + } + + foreach ($vars as $var => $val) { + if (false !== strpos($output, '%'.$var.'%')) { + $output = str_replace('%'.$var.'%', $this->stringify($val), $output); + } + } + + // remove leftover %extra.xxx% and %context.xxx% if any + if (false !== strpos($output, '%')) { + $output = preg_replace('/%(?:extra|context)\..+?%/', '', $output); + } + + return $output; + } + + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } + + public function stringify($value) + { + return $this->replaceNewlines($this->convertToString($value)); + } + + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof \Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + + $previousText = ''; + if ($previous = $e->getPrevious()) { + do { + $previousText .= ', '.get_class($previous).'(code: '.$previous->getCode().'): '.$previous->getMessage().' at '.$previous->getFile().':'.$previous->getLine(); + } while ($previous = $previous->getPrevious()); + } + + $str = '[object] ('.get_class($e).'(code: '.$e->getCode().'): '.$e->getMessage().' at '.$e->getFile().':'.$e->getLine().$previousText.')'; + if ($this->includeStacktraces) { + $str .= "\n[stacktrace]\n".$e->getTraceAsString()."\n"; + } + + return $str; + } + + protected function convertToString($data) + { + if (null === $data || is_bool($data)) { + return var_export($data, true); + } + + if (is_scalar($data)) { + return (string) $data; + } + + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return $this->toJson($data, true); + } + + return str_replace('\\/', '/', @json_encode($data)); + } + + protected function replaceNewlines($str) + { + if ($this->allowInlineLineBreaks) { + if (0 === strpos($str, '{')) { + return str_replace(array('\r', '\n'), array("\r", "\n"), $str); + } + + return $str; + } + + return str_replace(array("\r\n", "\r", "\n"), ' ', $str); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php new file mode 100644 index 00000000..401859bb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php @@ -0,0 +1,47 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Encodes message information into JSON in a format compatible with Loggly. + * + * @author Adam Pancutt + */ +class LogglyFormatter extends JsonFormatter +{ + /** + * Overrides the default batch mode to new lines for compatibility with the + * Loggly bulk API. + * + * @param int $batchMode + */ + public function __construct($batchMode = self::BATCH_MODE_NEWLINES, $appendNewline = false) + { + parent::__construct($batchMode, $appendNewline); + } + + /** + * Appends the 'timestamp' parameter for indexing by Loggly. + * + * @see https://www.loggly.com/docs/automated-parsing/#json + * @see \Monolog\Formatter\JsonFormatter::format() + */ + public function format(array $record) + { + if (isset($record["datetime"]) && ($record["datetime"] instanceof \DateTime)) { + $record["timestamp"] = $record["datetime"]->format("Y-m-d\TH:i:s.uO"); + // TODO 2.0 unset the 'datetime' parameter, retained for BC + } + + return parent::format($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php new file mode 100644 index 00000000..8f83bec0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php @@ -0,0 +1,166 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Serializes a log message to Logstash Event Format + * + * @see http://logstash.net/ + * @see https://github.com/logstash/logstash/blob/master/lib/logstash/event.rb + * + * @author Tim Mower + */ +class LogstashFormatter extends NormalizerFormatter +{ + const V0 = 0; + const V1 = 1; + + /** + * @var string the name of the system for the Logstash log message, used to fill the @source field + */ + protected $systemName; + + /** + * @var string an application name for the Logstash log message, used to fill the @type field + */ + protected $applicationName; + + /** + * @var string a prefix for 'extra' fields from the Monolog record (optional) + */ + protected $extraPrefix; + + /** + * @var string a prefix for 'context' fields from the Monolog record (optional) + */ + protected $contextPrefix; + + /** + * @var int logstash format version to use + */ + protected $version; + + /** + * @param string $applicationName the application that sends the data, used as the "type" field of logstash + * @param string $systemName the system/machine name, used as the "source" field of logstash, defaults to the hostname of the machine + * @param string $extraPrefix prefix for extra keys inside logstash "fields" + * @param string $contextPrefix prefix for context keys inside logstash "fields", defaults to ctxt_ + * @param int $version the logstash format version to use, defaults to 0 + */ + public function __construct($applicationName, $systemName = null, $extraPrefix = null, $contextPrefix = 'ctxt_', $version = self::V0) + { + // logstash requires a ISO 8601 format date with optional millisecond precision. + parent::__construct('Y-m-d\TH:i:s.uP'); + + $this->systemName = $systemName ?: gethostname(); + $this->applicationName = $applicationName; + $this->extraPrefix = $extraPrefix; + $this->contextPrefix = $contextPrefix; + $this->version = $version; + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + $record = parent::format($record); + + if ($this->version === self::V1) { + $message = $this->formatV1($record); + } else { + $message = $this->formatV0($record); + } + + return $this->toJson($message) . "\n"; + } + + protected function formatV0(array $record) + { + if (empty($record['datetime'])) { + $record['datetime'] = gmdate('c'); + } + $message = array( + '@timestamp' => $record['datetime'], + '@source' => $this->systemName, + '@fields' => array(), + ); + if (isset($record['message'])) { + $message['@message'] = $record['message']; + } + if (isset($record['channel'])) { + $message['@tags'] = array($record['channel']); + $message['@fields']['channel'] = $record['channel']; + } + if (isset($record['level'])) { + $message['@fields']['level'] = $record['level']; + } + if ($this->applicationName) { + $message['@type'] = $this->applicationName; + } + if (isset($record['extra']['server'])) { + $message['@source_host'] = $record['extra']['server']; + } + if (isset($record['extra']['url'])) { + $message['@source_path'] = $record['extra']['url']; + } + if (!empty($record['extra'])) { + foreach ($record['extra'] as $key => $val) { + $message['@fields'][$this->extraPrefix . $key] = $val; + } + } + if (!empty($record['context'])) { + foreach ($record['context'] as $key => $val) { + $message['@fields'][$this->contextPrefix . $key] = $val; + } + } + + return $message; + } + + protected function formatV1(array $record) + { + if (empty($record['datetime'])) { + $record['datetime'] = gmdate('c'); + } + $message = array( + '@timestamp' => $record['datetime'], + '@version' => 1, + 'host' => $this->systemName, + ); + if (isset($record['message'])) { + $message['message'] = $record['message']; + } + if (isset($record['channel'])) { + $message['type'] = $record['channel']; + $message['channel'] = $record['channel']; + } + if (isset($record['level_name'])) { + $message['level'] = $record['level_name']; + } + if ($this->applicationName) { + $message['type'] = $this->applicationName; + } + if (!empty($record['extra'])) { + foreach ($record['extra'] as $key => $val) { + $message[$this->extraPrefix . $key] = $val; + } + } + if (!empty($record['context'])) { + foreach ($record['context'] as $key => $val) { + $message[$this->contextPrefix . $key] = $val; + } + } + + return $message; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php new file mode 100644 index 00000000..eb067bb7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php @@ -0,0 +1,105 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Formats a record for use with the MongoDBHandler. + * + * @author Florian Plattner + */ +class MongoDBFormatter implements FormatterInterface +{ + private $exceptionTraceAsString; + private $maxNestingLevel; + + /** + * @param int $maxNestingLevel 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2 + * @param bool $exceptionTraceAsString set to false to log exception traces as a sub documents instead of strings + */ + public function __construct($maxNestingLevel = 3, $exceptionTraceAsString = true) + { + $this->maxNestingLevel = max($maxNestingLevel, 0); + $this->exceptionTraceAsString = (bool) $exceptionTraceAsString; + } + + /** + * {@inheritDoc} + */ + public function format(array $record) + { + return $this->formatArray($record); + } + + /** + * {@inheritDoc} + */ + public function formatBatch(array $records) + { + foreach ($records as $key => $record) { + $records[$key] = $this->format($record); + } + + return $records; + } + + protected function formatArray(array $record, $nestingLevel = 0) + { + if ($this->maxNestingLevel == 0 || $nestingLevel <= $this->maxNestingLevel) { + foreach ($record as $name => $value) { + if ($value instanceof \DateTime) { + $record[$name] = $this->formatDate($value, $nestingLevel + 1); + } elseif ($value instanceof \Exception) { + $record[$name] = $this->formatException($value, $nestingLevel + 1); + } elseif (is_array($value)) { + $record[$name] = $this->formatArray($value, $nestingLevel + 1); + } elseif (is_object($value)) { + $record[$name] = $this->formatObject($value, $nestingLevel + 1); + } + } + } else { + $record = '[...]'; + } + + return $record; + } + + protected function formatObject($value, $nestingLevel) + { + $objectVars = get_object_vars($value); + $objectVars['class'] = get_class($value); + + return $this->formatArray($objectVars, $nestingLevel); + } + + protected function formatException(\Exception $exception, $nestingLevel) + { + $formattedException = array( + 'class' => get_class($exception), + 'message' => $exception->getMessage(), + 'code' => $exception->getCode(), + 'file' => $exception->getFile() . ':' . $exception->getLine(), + ); + + if ($this->exceptionTraceAsString === true) { + $formattedException['trace'] = $exception->getTraceAsString(); + } else { + $formattedException['trace'] = $exception->getTrace(); + } + + return $this->formatArray($formattedException, $nestingLevel); + } + + protected function formatDate(\DateTime $value, $nestingLevel) + { + return new \MongoDate($value->getTimestamp()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php new file mode 100644 index 00000000..d4414882 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php @@ -0,0 +1,297 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Exception; + +/** + * Normalizes incoming records to remove objects/resources so it's easier to dump to various targets + * + * @author Jordi Boggiano + */ +class NormalizerFormatter implements FormatterInterface +{ + const SIMPLE_DATE = "Y-m-d H:i:s"; + + protected $dateFormat; + + /** + * @param string $dateFormat The format of the timestamp: one supported by DateTime::format + */ + public function __construct($dateFormat = null) + { + $this->dateFormat = $dateFormat ?: static::SIMPLE_DATE; + if (!function_exists('json_encode')) { + throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s NormalizerFormatter'); + } + } + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + return $this->normalize($record); + } + + /** + * {@inheritdoc} + */ + public function formatBatch(array $records) + { + foreach ($records as $key => $record) { + $records[$key] = $this->format($record); + } + + return $records; + } + + protected function normalize($data) + { + if (null === $data || is_scalar($data)) { + if (is_float($data)) { + if (is_infinite($data)) { + return ($data > 0 ? '' : '-') . 'INF'; + } + if (is_nan($data)) { + return 'NaN'; + } + } + + return $data; + } + + if (is_array($data)) { + $normalized = array(); + + $count = 1; + foreach ($data as $key => $value) { + if ($count++ >= 1000) { + $normalized['...'] = 'Over 1000 items ('.count($data).' total), aborting normalization'; + break; + } + $normalized[$key] = $this->normalize($value); + } + + return $normalized; + } + + if ($data instanceof \DateTime) { + return $data->format($this->dateFormat); + } + + if (is_object($data)) { + // TODO 2.0 only check for Throwable + if ($data instanceof Exception || (PHP_VERSION_ID > 70000 && $data instanceof \Throwable)) { + return $this->normalizeException($data); + } + + // non-serializable objects that implement __toString stringified + if (method_exists($data, '__toString') && !$data instanceof \JsonSerializable) { + $value = $data->__toString(); + } else { + // the rest is json-serialized in some way + $value = $this->toJson($data, true); + } + + return sprintf("[object] (%s: %s)", get_class($data), $value); + } + + if (is_resource($data)) { + return sprintf('[resource] (%s)', get_resource_type($data)); + } + + return '[unknown('.gettype($data).')]'; + } + + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + + $data = array( + 'class' => get_class($e), + 'message' => $e->getMessage(), + 'code' => $e->getCode(), + 'file' => $e->getFile().':'.$e->getLine(), + ); + + if ($e instanceof \SoapFault) { + if (isset($e->faultcode)) { + $data['faultcode'] = $e->faultcode; + } + + if (isset($e->faultactor)) { + $data['faultactor'] = $e->faultactor; + } + + if (isset($e->detail)) { + $data['detail'] = $e->detail; + } + } + + $trace = $e->getTrace(); + foreach ($trace as $frame) { + if (isset($frame['file'])) { + $data['trace'][] = $frame['file'].':'.$frame['line']; + } elseif (isset($frame['function']) && $frame['function'] === '{closure}') { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $frame['function']; + } else { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $this->toJson($this->normalize($frame), true); + } + } + + if ($previous = $e->getPrevious()) { + $data['previous'] = $this->normalizeException($previous); + } + + return $data; + } + + /** + * Return the JSON representation of a value + * + * @param mixed $data + * @param bool $ignoreErrors + * @throws \RuntimeException if encoding fails and errors are not ignored + * @return string + */ + protected function toJson($data, $ignoreErrors = false) + { + // suppress json_encode errors since it's twitchy with some inputs + if ($ignoreErrors) { + return @$this->jsonEncode($data); + } + + $json = $this->jsonEncode($data); + + if ($json === false) { + $json = $this->handleJsonError(json_last_error(), $data); + } + + return $json; + } + + /** + * @param mixed $data + * @return string JSON encoded data or null on failure + */ + private function jsonEncode($data) + { + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + + return json_encode($data); + } + + /** + * Handle a json_encode failure. + * + * If the failure is due to invalid string encoding, try to clean the + * input and encode again. If the second encoding attempt fails, the + * inital error is not encoding related or the input can't be cleaned then + * raise a descriptive exception. + * + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded + * @throws \RuntimeException if failure can't be corrected + * @return string JSON encoded data after error correction + */ + private function handleJsonError($code, $data) + { + if ($code !== JSON_ERROR_UTF8) { + $this->throwEncodeError($code, $data); + } + + if (is_string($data)) { + $this->detectAndCleanUtf8($data); + } elseif (is_array($data)) { + array_walk_recursive($data, array($this, 'detectAndCleanUtf8')); + } else { + $this->throwEncodeError($code, $data); + } + + $json = $this->jsonEncode($data); + + if ($json === false) { + $this->throwEncodeError(json_last_error(), $data); + } + + return $json; + } + + /** + * Throws an exception according to a given code with a customized message + * + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded + * @throws \RuntimeException + */ + private function throwEncodeError($code, $data) + { + switch ($code) { + case JSON_ERROR_DEPTH: + $msg = 'Maximum stack depth exceeded'; + break; + case JSON_ERROR_STATE_MISMATCH: + $msg = 'Underflow or the modes mismatch'; + break; + case JSON_ERROR_CTRL_CHAR: + $msg = 'Unexpected control character found'; + break; + case JSON_ERROR_UTF8: + $msg = 'Malformed UTF-8 characters, possibly incorrectly encoded'; + break; + default: + $msg = 'Unknown error'; + } + + throw new \RuntimeException('JSON encoding failed: '.$msg.'. Encoding: '.var_export($data, true)); + } + + /** + * Detect invalid UTF-8 string characters and convert to valid UTF-8. + * + * Valid UTF-8 input will be left unmodified, but strings containing + * invalid UTF-8 codepoints will be reencoded as UTF-8 with an assumed + * original encoding of ISO-8859-15. This conversion may result in + * incorrect output if the actual encoding was not ISO-8859-15, but it + * will be clean UTF-8 output and will not rely on expensive and fragile + * detection algorithms. + * + * Function converts the input in place in the passed variable so that it + * can be used as a callback for array_walk_recursive. + * + * @param mixed &$data Input to check and convert if needed + * @private + */ + public function detectAndCleanUtf8(&$data) + { + if (is_string($data) && !preg_match('//u', $data)) { + $data = preg_replace_callback( + '/[\x80-\xFF]+/', + function ($m) { return utf8_encode($m[0]); }, + $data + ); + $data = str_replace( + array('¤', '¦', '¨', '´', '¸', '¼', '½', '¾'), + array('€', 'Š', 'š', 'Ž', 'ž', 'Œ', 'œ', 'Ÿ'), + $data + ); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php new file mode 100644 index 00000000..5d345d53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php @@ -0,0 +1,48 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Formats data into an associative array of scalar values. + * Objects and arrays will be JSON encoded. + * + * @author Andrew Lawson + */ +class ScalarFormatter extends NormalizerFormatter +{ + /** + * {@inheritdoc} + */ + public function format(array $record) + { + foreach ($record as $key => $value) { + $record[$key] = $this->normalizeValue($value); + } + + return $record; + } + + /** + * @param mixed $value + * @return mixed + */ + protected function normalizeValue($value) + { + $normalized = $this->normalize($value); + + if (is_array($normalized) || is_object($normalized)) { + return $this->toJson($normalized, true); + } + + return $normalized; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php new file mode 100644 index 00000000..654710a8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php @@ -0,0 +1,113 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +/** + * Serializes a log message according to Wildfire's header requirements + * + * @author Eric Clemmons (@ericclemmons) + * @author Christophe Coevoet + * @author Kirill chEbba Chebunin + */ +class WildfireFormatter extends NormalizerFormatter +{ + const TABLE = 'table'; + + /** + * Translates Monolog log levels to Wildfire levels. + */ + private $logLevels = array( + Logger::DEBUG => 'LOG', + Logger::INFO => 'INFO', + Logger::NOTICE => 'INFO', + Logger::WARNING => 'WARN', + Logger::ERROR => 'ERROR', + Logger::CRITICAL => 'ERROR', + Logger::ALERT => 'ERROR', + Logger::EMERGENCY => 'ERROR', + ); + + /** + * {@inheritdoc} + */ + public function format(array $record) + { + // Retrieve the line and file if set and remove them from the formatted extra + $file = $line = ''; + if (isset($record['extra']['file'])) { + $file = $record['extra']['file']; + unset($record['extra']['file']); + } + if (isset($record['extra']['line'])) { + $line = $record['extra']['line']; + unset($record['extra']['line']); + } + + $record = $this->normalize($record); + $message = array('message' => $record['message']); + $handleError = false; + if ($record['context']) { + $message['context'] = $record['context']; + $handleError = true; + } + if ($record['extra']) { + $message['extra'] = $record['extra']; + $handleError = true; + } + if (count($message) === 1) { + $message = reset($message); + } + + if (isset($record['context'][self::TABLE])) { + $type = 'TABLE'; + $label = $record['channel'] .': '. $record['message']; + $message = $record['context'][self::TABLE]; + } else { + $type = $this->logLevels[$record['level']]; + $label = $record['channel']; + } + + // Create JSON object describing the appearance of the message in the console + $json = $this->toJson(array( + array( + 'Type' => $type, + 'File' => $file, + 'Line' => $line, + 'Label' => $label, + ), + $message, + ), $handleError); + + // The message itself is a serialization of the above JSON object + it's length + return sprintf( + '%s|%s|', + strlen($json), + $json + ); + } + + public function formatBatch(array $records) + { + throw new \BadMethodCallException('Batch formatting does not make sense for the WildfireFormatter'); + } + + protected function normalize($data) + { + if (is_object($data) && !$data instanceof \DateTime) { + return $data; + } + + return parent::normalize($data); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php new file mode 100644 index 00000000..758a425c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractHandler.php @@ -0,0 +1,186 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\FormatterInterface; +use Monolog\Formatter\LineFormatter; + +/** + * Base Handler class providing the Handler structure + * + * @author Jordi Boggiano + */ +abstract class AbstractHandler implements HandlerInterface +{ + protected $level = Logger::DEBUG; + protected $bubble = true; + + /** + * @var FormatterInterface + */ + protected $formatter; + protected $processors = array(); + + /** + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($level = Logger::DEBUG, $bubble = true) + { + $this->setLevel($level); + $this->bubble = $bubble; + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return $record['level'] >= $this->level; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + foreach ($records as $record) { + $this->handle($record); + } + } + + /** + * Closes the handler. + * + * This will be called automatically when the object is destroyed + */ + public function close() + { + } + + /** + * {@inheritdoc} + */ + public function pushProcessor($callback) + { + if (!is_callable($callback)) { + throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given'); + } + array_unshift($this->processors, $callback); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function popProcessor() + { + if (!$this->processors) { + throw new \LogicException('You tried to pop from an empty processor stack.'); + } + + return array_shift($this->processors); + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + $this->formatter = $formatter; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getFormatter() + { + if (!$this->formatter) { + $this->formatter = $this->getDefaultFormatter(); + } + + return $this->formatter; + } + + /** + * Sets minimum logging level at which this handler will be triggered. + * + * @param int|string $level Level or level name + * @return self + */ + public function setLevel($level) + { + $this->level = Logger::toMonologLevel($level); + + return $this; + } + + /** + * Gets minimum logging level at which this handler will be triggered. + * + * @return int + */ + public function getLevel() + { + return $this->level; + } + + /** + * Sets the bubbling behavior. + * + * @param Boolean $bubble true means that this handler allows bubbling. + * false means that bubbling is not permitted. + * @return self + */ + public function setBubble($bubble) + { + $this->bubble = $bubble; + + return $this; + } + + /** + * Gets the bubbling behavior. + * + * @return Boolean true means that this handler allows bubbling. + * false means that bubbling is not permitted. + */ + public function getBubble() + { + return $this->bubble; + } + + public function __destruct() + { + try { + $this->close(); + } catch (\Exception $e) { + // do nothing + } catch (\Throwable $e) { + // do nothing + } + } + + /** + * Gets the default formatter. + * + * @return FormatterInterface + */ + protected function getDefaultFormatter() + { + return new LineFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php new file mode 100644 index 00000000..6f18f72e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php @@ -0,0 +1,66 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Base Handler class providing the Handler structure + * + * Classes extending it should (in most cases) only implement write($record) + * + * @author Jordi Boggiano + * @author Christophe Coevoet + */ +abstract class AbstractProcessingHandler extends AbstractHandler +{ + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if (!$this->isHandling($record)) { + return false; + } + + $record = $this->processRecord($record); + + $record['formatted'] = $this->getFormatter()->format($record); + + $this->write($record); + + return false === $this->bubble; + } + + /** + * Writes the record down to the log of the implementing handler + * + * @param array $record + * @return void + */ + abstract protected function write(array $record); + + /** + * Processes a record. + * + * @param array $record + * @return array + */ + protected function processRecord(array $record) + { + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php new file mode 100644 index 00000000..e2b2832d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php @@ -0,0 +1,101 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; + +/** + * Common syslog functionality + */ +abstract class AbstractSyslogHandler extends AbstractProcessingHandler +{ + protected $facility; + + /** + * Translates Monolog log levels to syslog log priorities. + */ + protected $logLevels = array( + Logger::DEBUG => LOG_DEBUG, + Logger::INFO => LOG_INFO, + Logger::NOTICE => LOG_NOTICE, + Logger::WARNING => LOG_WARNING, + Logger::ERROR => LOG_ERR, + Logger::CRITICAL => LOG_CRIT, + Logger::ALERT => LOG_ALERT, + Logger::EMERGENCY => LOG_EMERG, + ); + + /** + * List of valid log facility names. + */ + protected $facilities = array( + 'auth' => LOG_AUTH, + 'authpriv' => LOG_AUTHPRIV, + 'cron' => LOG_CRON, + 'daemon' => LOG_DAEMON, + 'kern' => LOG_KERN, + 'lpr' => LOG_LPR, + 'mail' => LOG_MAIL, + 'news' => LOG_NEWS, + 'syslog' => LOG_SYSLOG, + 'user' => LOG_USER, + 'uucp' => LOG_UUCP, + ); + + /** + * @param mixed $facility + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + + if (!defined('PHP_WINDOWS_VERSION_BUILD')) { + $this->facilities['local0'] = LOG_LOCAL0; + $this->facilities['local1'] = LOG_LOCAL1; + $this->facilities['local2'] = LOG_LOCAL2; + $this->facilities['local3'] = LOG_LOCAL3; + $this->facilities['local4'] = LOG_LOCAL4; + $this->facilities['local5'] = LOG_LOCAL5; + $this->facilities['local6'] = LOG_LOCAL6; + $this->facilities['local7'] = LOG_LOCAL7; + } else { + $this->facilities['local0'] = 128; // LOG_LOCAL0 + $this->facilities['local1'] = 136; // LOG_LOCAL1 + $this->facilities['local2'] = 144; // LOG_LOCAL2 + $this->facilities['local3'] = 152; // LOG_LOCAL3 + $this->facilities['local4'] = 160; // LOG_LOCAL4 + $this->facilities['local5'] = 168; // LOG_LOCAL5 + $this->facilities['local6'] = 176; // LOG_LOCAL6 + $this->facilities['local7'] = 184; // LOG_LOCAL7 + } + + // convert textual description of facility to syslog constant + if (array_key_exists(strtolower($facility), $this->facilities)) { + $facility = $this->facilities[strtolower($facility)]; + } elseif (!in_array($facility, array_values($this->facilities), true)) { + throw new \UnexpectedValueException('Unknown facility value "'.$facility.'" given'); + } + + $this->facility = $facility; + } + + /** + * {@inheritdoc} + */ + protected function getDefaultFormatter() + { + return new LineFormatter('%channel%.%level_name%: %message% %context% %extra%'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php new file mode 100644 index 00000000..e5a46bc0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/AmqpHandler.php @@ -0,0 +1,148 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\JsonFormatter; +use PhpAmqpLib\Message\AMQPMessage; +use PhpAmqpLib\Channel\AMQPChannel; +use AMQPExchange; + +class AmqpHandler extends AbstractProcessingHandler +{ + /** + * @var AMQPExchange|AMQPChannel $exchange + */ + protected $exchange; + + /** + * @var string + */ + protected $exchangeName; + + /** + * @param AMQPExchange|AMQPChannel $exchange AMQPExchange (php AMQP ext) or PHP AMQP lib channel, ready for use + * @param string $exchangeName + * @param int $level + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($exchange, $exchangeName = 'log', $level = Logger::DEBUG, $bubble = true) + { + if ($exchange instanceof AMQPExchange) { + $exchange->setName($exchangeName); + } elseif ($exchange instanceof AMQPChannel) { + $this->exchangeName = $exchangeName; + } else { + throw new \InvalidArgumentException('PhpAmqpLib\Channel\AMQPChannel or AMQPExchange instance required'); + } + $this->exchange = $exchange; + + parent::__construct($level, $bubble); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + $data = $record["formatted"]; + $routingKey = $this->getRoutingKey($record); + + if ($this->exchange instanceof AMQPExchange) { + $this->exchange->publish( + $data, + $routingKey, + 0, + array( + 'delivery_mode' => 2, + 'content_type' => 'application/json', + ) + ); + } else { + $this->exchange->basic_publish( + $this->createAmqpMessage($data), + $this->exchangeName, + $routingKey + ); + } + } + + /** + * {@inheritDoc} + */ + public function handleBatch(array $records) + { + if ($this->exchange instanceof AMQPExchange) { + parent::handleBatch($records); + + return; + } + + foreach ($records as $record) { + if (!$this->isHandling($record)) { + continue; + } + + $record = $this->processRecord($record); + $data = $this->getFormatter()->format($record); + + $this->exchange->batch_basic_publish( + $this->createAmqpMessage($data), + $this->exchangeName, + $this->getRoutingKey($record) + ); + } + + $this->exchange->publish_batch(); + } + + /** + * Gets the routing key for the AMQP exchange + * + * @param array $record + * @return string + */ + protected function getRoutingKey(array $record) + { + $routingKey = sprintf( + '%s.%s', + // TODO 2.0 remove substr call + substr($record['level_name'], 0, 4), + $record['channel'] + ); + + return strtolower($routingKey); + } + + /** + * @param string $data + * @return AMQPMessage + */ + private function createAmqpMessage($data) + { + return new AMQPMessage( + (string) $data, + array( + 'delivery_mode' => 2, + 'content_type' => 'application/json', + ) + ); + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php new file mode 100644 index 00000000..b3a21bd4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php @@ -0,0 +1,230 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; + +/** + * Handler sending logs to browser's javascript console with no browser extension required + * + * @author Olivier Poitrey + */ +class BrowserConsoleHandler extends AbstractProcessingHandler +{ + protected static $initialized = false; + protected static $records = array(); + + /** + * {@inheritDoc} + * + * Formatted output may contain some formatting markers to be transferred to `console.log` using the %c format. + * + * Example of formatted string: + * + * You can do [[blue text]]{color: blue} or [[green background]]{background-color: green; color: white} + */ + protected function getDefaultFormatter() + { + return new LineFormatter('[[%channel%]]{macro: autolabel} [[%level_name%]]{font-weight: bold} %message%'); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + // Accumulate records + self::$records[] = $record; + + // Register shutdown handler if not already done + if (!self::$initialized) { + self::$initialized = true; + $this->registerShutdownFunction(); + } + } + + /** + * Convert records to javascript console commands and send it to the browser. + * This method is automatically called on PHP shutdown if output is HTML or Javascript. + */ + public static function send() + { + $format = self::getResponseFormat(); + if ($format === 'unknown') { + return; + } + + if (count(self::$records)) { + if ($format === 'html') { + self::writeOutput(''); + } elseif ($format === 'js') { + self::writeOutput(self::generateScript()); + } + self::reset(); + } + } + + /** + * Forget all logged records + */ + public static function reset() + { + self::$records = array(); + } + + /** + * Wrapper for register_shutdown_function to allow overriding + */ + protected function registerShutdownFunction() + { + if (PHP_SAPI !== 'cli') { + register_shutdown_function(array('Monolog\Handler\BrowserConsoleHandler', 'send')); + } + } + + /** + * Wrapper for echo to allow overriding + * + * @param string $str + */ + protected static function writeOutput($str) + { + echo $str; + } + + /** + * Checks the format of the response + * + * If Content-Type is set to application/javascript or text/javascript -> js + * If Content-Type is set to text/html, or is unset -> html + * If Content-Type is anything else -> unknown + * + * @return string One of 'js', 'html' or 'unknown' + */ + protected static function getResponseFormat() + { + // Check content type + foreach (headers_list() as $header) { + if (stripos($header, 'content-type:') === 0) { + // This handler only works with HTML and javascript outputs + // text/javascript is obsolete in favour of application/javascript, but still used + if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) { + return 'js'; + } + if (stripos($header, 'text/html') === false) { + return 'unknown'; + } + break; + } + } + + return 'html'; + } + + private static function generateScript() + { + $script = array(); + foreach (self::$records as $record) { + $context = self::dump('Context', $record['context']); + $extra = self::dump('Extra', $record['extra']); + + if (empty($context) && empty($extra)) { + $script[] = self::call_array('log', self::handleStyles($record['formatted'])); + } else { + $script = array_merge($script, + array(self::call_array('groupCollapsed', self::handleStyles($record['formatted']))), + $context, + $extra, + array(self::call('groupEnd')) + ); + } + } + + return "(function (c) {if (c && c.groupCollapsed) {\n" . implode("\n", $script) . "\n}})(console);"; + } + + private static function handleStyles($formatted) + { + $args = array(self::quote('font-weight: normal')); + $format = '%c' . $formatted; + preg_match_all('/\[\[(.*?)\]\]\{([^}]*)\}/s', $format, $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER); + + foreach (array_reverse($matches) as $match) { + $args[] = self::quote(self::handleCustomStyles($match[2][0], $match[1][0])); + $args[] = '"font-weight: normal"'; + + $pos = $match[0][1]; + $format = substr($format, 0, $pos) . '%c' . $match[1][0] . '%c' . substr($format, $pos + strlen($match[0][0])); + } + + array_unshift($args, self::quote($format)); + + return $args; + } + + private static function handleCustomStyles($style, $string) + { + static $colors = array('blue', 'green', 'red', 'magenta', 'orange', 'black', 'grey'); + static $labels = array(); + + return preg_replace_callback('/macro\s*:(.*?)(?:;|$)/', function ($m) use ($string, &$colors, &$labels) { + if (trim($m[1]) === 'autolabel') { + // Format the string as a label with consistent auto assigned background color + if (!isset($labels[$string])) { + $labels[$string] = $colors[count($labels) % count($colors)]; + } + $color = $labels[$string]; + + return "background-color: $color; color: white; border-radius: 3px; padding: 0 2px 0 2px"; + } + + return $m[1]; + }, $style); + } + + private static function dump($title, array $dict) + { + $script = array(); + $dict = array_filter($dict); + if (empty($dict)) { + return $script; + } + $script[] = self::call('log', self::quote('%c%s'), self::quote('font-weight: bold'), self::quote($title)); + foreach ($dict as $key => $value) { + $value = json_encode($value); + if (empty($value)) { + $value = self::quote(''); + } + $script[] = self::call('log', self::quote('%s: %o'), self::quote($key), $value); + } + + return $script; + } + + private static function quote($arg) + { + return '"' . addcslashes($arg, "\"\n\\") . '"'; + } + + private static function call() + { + $args = func_get_args(); + $method = array_shift($args); + + return self::call_array($method, $args); + } + + private static function call_array($method, array $args) + { + return 'c.' . $method . '(' . implode(', ', $args) . ');'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php new file mode 100644 index 00000000..72f89535 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/BufferHandler.php @@ -0,0 +1,117 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Buffers all records until closing the handler and then pass them as batch. + * + * This is useful for a MailHandler to send only one mail per request instead of + * sending one per log message. + * + * @author Christophe Coevoet + */ +class BufferHandler extends AbstractHandler +{ + protected $handler; + protected $bufferSize = 0; + protected $bufferLimit; + protected $flushOnOverflow; + protected $buffer = array(); + protected $initialized = false; + + /** + * @param HandlerInterface $handler Handler. + * @param int $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param Boolean $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded + */ + public function __construct(HandlerInterface $handler, $bufferLimit = 0, $level = Logger::DEBUG, $bubble = true, $flushOnOverflow = false) + { + parent::__construct($level, $bubble); + $this->handler = $handler; + $this->bufferLimit = (int) $bufferLimit; + $this->flushOnOverflow = $flushOnOverflow; + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if ($record['level'] < $this->level) { + return false; + } + + if (!$this->initialized) { + // __destructor() doesn't get called on Fatal errors + register_shutdown_function(array($this, 'close')); + $this->initialized = true; + } + + if ($this->bufferLimit > 0 && $this->bufferSize === $this->bufferLimit) { + if ($this->flushOnOverflow) { + $this->flush(); + } else { + array_shift($this->buffer); + $this->bufferSize--; + } + } + + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + $this->buffer[] = $record; + $this->bufferSize++; + + return false === $this->bubble; + } + + public function flush() + { + if ($this->bufferSize === 0) { + return; + } + + $this->handler->handleBatch($this->buffer); + $this->clear(); + } + + public function __destruct() + { + // suppress the parent behavior since we already have register_shutdown_function() + // to call close(), and the reference contained there will prevent this from being + // GC'd until the end of the request + } + + /** + * {@inheritdoc} + */ + public function close() + { + $this->flush(); + } + + /** + * Clears the buffer without flushing any messages down to the wrapped handler. + */ + public function clear() + { + $this->bufferSize = 0; + $this->buffer = array(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php new file mode 100644 index 00000000..785cb0c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php @@ -0,0 +1,211 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\ChromePHPFormatter; +use Monolog\Logger; + +/** + * Handler sending logs to the ChromePHP extension (http://www.chromephp.com/) + * + * This also works out of the box with Firefox 43+ + * + * @author Christophe Coevoet + */ +class ChromePHPHandler extends AbstractProcessingHandler +{ + /** + * Version of the extension + */ + const VERSION = '4.0'; + + /** + * Header name + */ + const HEADER_NAME = 'X-ChromeLogger-Data'; + + /** + * Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+) + */ + const USER_AGENT_REGEX = '{\b(?:Chrome/\d+(?:\.\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}'; + + protected static $initialized = false; + + /** + * Tracks whether we sent too much data + * + * Chrome limits the headers to 256KB, so when we sent 240KB we stop sending + * + * @var Boolean + */ + protected static $overflowed = false; + + protected static $json = array( + 'version' => self::VERSION, + 'columns' => array('label', 'log', 'backtrace', 'type'), + 'rows' => array(), + ); + + protected static $sendHeaders = true; + + /** + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + if (!function_exists('json_encode')) { + throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s ChromePHPHandler'); + } + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + $messages = array(); + + foreach ($records as $record) { + if ($record['level'] < $this->level) { + continue; + } + $messages[] = $this->processRecord($record); + } + + if (!empty($messages)) { + $messages = $this->getFormatter()->formatBatch($messages); + self::$json['rows'] = array_merge(self::$json['rows'], $messages); + $this->send(); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new ChromePHPFormatter(); + } + + /** + * Creates & sends header for a record + * + * @see sendHeader() + * @see send() + * @param array $record + */ + protected function write(array $record) + { + self::$json['rows'][] = $record['formatted']; + + $this->send(); + } + + /** + * Sends the log header + * + * @see sendHeader() + */ + protected function send() + { + if (self::$overflowed || !self::$sendHeaders) { + return; + } + + if (!self::$initialized) { + self::$initialized = true; + + self::$sendHeaders = $this->headersAccepted(); + if (!self::$sendHeaders) { + return; + } + + self::$json['request_uri'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; + } + + $json = @json_encode(self::$json); + $data = base64_encode(utf8_encode($json)); + if (strlen($data) > 240 * 1024) { + self::$overflowed = true; + + $record = array( + 'message' => 'Incomplete logs, chrome header size limit reached', + 'context' => array(), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'monolog', + 'datetime' => new \DateTime(), + 'extra' => array(), + ); + self::$json['rows'][count(self::$json['rows']) - 1] = $this->getFormatter()->format($record); + $json = @json_encode(self::$json); + $data = base64_encode(utf8_encode($json)); + } + + if (trim($data) !== '') { + $this->sendHeader(self::HEADER_NAME, $data); + } + } + + /** + * Send header string to the client + * + * @param string $header + * @param string $content + */ + protected function sendHeader($header, $content) + { + if (!headers_sent() && self::$sendHeaders) { + header(sprintf('%s: %s', $header, $content)); + } + } + + /** + * Verifies if the headers are accepted by the current user agent + * + * @return Boolean + */ + protected function headersAccepted() + { + if (empty($_SERVER['HTTP_USER_AGENT'])) { + return false; + } + + return preg_match(self::USER_AGENT_REGEX, $_SERVER['HTTP_USER_AGENT']); + } + + /** + * BC getter for the sendHeaders property that has been made static + */ + public function __get($property) + { + if ('sendHeaders' !== $property) { + throw new \InvalidArgumentException('Undefined property '.$property); + } + + return static::$sendHeaders; + } + + /** + * BC setter for the sendHeaders property that has been made static + */ + public function __set($property, $value) + { + if ('sendHeaders' !== $property) { + throw new \InvalidArgumentException('Undefined property '.$property); + } + + static::$sendHeaders = $value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php new file mode 100644 index 00000000..cc986971 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php @@ -0,0 +1,72 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\JsonFormatter; +use Monolog\Logger; + +/** + * CouchDB handler + * + * @author Markus Bachmann + */ +class CouchDBHandler extends AbstractProcessingHandler +{ + private $options; + + public function __construct(array $options = array(), $level = Logger::DEBUG, $bubble = true) + { + $this->options = array_merge(array( + 'host' => 'localhost', + 'port' => 5984, + 'dbname' => 'logger', + 'username' => null, + 'password' => null, + ), $options); + + parent::__construct($level, $bubble); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + $basicAuth = null; + if ($this->options['username']) { + $basicAuth = sprintf('%s:%s@', $this->options['username'], $this->options['password']); + } + + $url = 'http://'.$basicAuth.$this->options['host'].':'.$this->options['port'].'/'.$this->options['dbname']; + $context = stream_context_create(array( + 'http' => array( + 'method' => 'POST', + 'content' => $record['formatted'], + 'ignore_errors' => true, + 'max_redirects' => 0, + 'header' => 'Content-type: application/json', + ), + )); + + if (false === @file_get_contents($url, null, $context)) { + throw new \RuntimeException(sprintf('Could not connect to %s', $url)); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php new file mode 100644 index 00000000..96b3ca0c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/CubeHandler.php @@ -0,0 +1,151 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Logs to Cube. + * + * @link http://square.github.com/cube/ + * @author Wan Chen + */ +class CubeHandler extends AbstractProcessingHandler +{ + private $udpConnection; + private $httpConnection; + private $scheme; + private $host; + private $port; + private $acceptedSchemes = array('http', 'udp'); + + /** + * Create a Cube handler + * + * @throws \UnexpectedValueException when given url is not a valid url. + * A valid url must consist of three parts : protocol://host:port + * Only valid protocols used by Cube are http and udp + */ + public function __construct($url, $level = Logger::DEBUG, $bubble = true) + { + $urlInfo = parse_url($url); + + if (!isset($urlInfo['scheme'], $urlInfo['host'], $urlInfo['port'])) { + throw new \UnexpectedValueException('URL "'.$url.'" is not valid'); + } + + if (!in_array($urlInfo['scheme'], $this->acceptedSchemes)) { + throw new \UnexpectedValueException( + 'Invalid protocol (' . $urlInfo['scheme'] . ').' + . ' Valid options are ' . implode(', ', $this->acceptedSchemes)); + } + + $this->scheme = $urlInfo['scheme']; + $this->host = $urlInfo['host']; + $this->port = $urlInfo['port']; + + parent::__construct($level, $bubble); + } + + /** + * Establish a connection to an UDP socket + * + * @throws \LogicException when unable to connect to the socket + * @throws MissingExtensionException when there is no socket extension + */ + protected function connectUdp() + { + if (!extension_loaded('sockets')) { + throw new MissingExtensionException('The sockets extension is required to use udp URLs with the CubeHandler'); + } + + $this->udpConnection = socket_create(AF_INET, SOCK_DGRAM, 0); + if (!$this->udpConnection) { + throw new \LogicException('Unable to create a socket'); + } + + if (!socket_connect($this->udpConnection, $this->host, $this->port)) { + throw new \LogicException('Unable to connect to the socket at ' . $this->host . ':' . $this->port); + } + } + + /** + * Establish a connection to a http server + * @throws \LogicException when no curl extension + */ + protected function connectHttp() + { + if (!extension_loaded('curl')) { + throw new \LogicException('The curl extension is needed to use http URLs with the CubeHandler'); + } + + $this->httpConnection = curl_init('http://'.$this->host.':'.$this->port.'/1.0/event/put'); + + if (!$this->httpConnection) { + throw new \LogicException('Unable to connect to ' . $this->host . ':' . $this->port); + } + + curl_setopt($this->httpConnection, CURLOPT_CUSTOMREQUEST, "POST"); + curl_setopt($this->httpConnection, CURLOPT_RETURNTRANSFER, true); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $date = $record['datetime']; + + $data = array('time' => $date->format('Y-m-d\TH:i:s.uO')); + unset($record['datetime']); + + if (isset($record['context']['type'])) { + $data['type'] = $record['context']['type']; + unset($record['context']['type']); + } else { + $data['type'] = $record['channel']; + } + + $data['data'] = $record['context']; + $data['data']['level'] = $record['level']; + + if ($this->scheme === 'http') { + $this->writeHttp(json_encode($data)); + } else { + $this->writeUdp(json_encode($data)); + } + } + + private function writeUdp($data) + { + if (!$this->udpConnection) { + $this->connectUdp(); + } + + socket_send($this->udpConnection, $data, strlen($data), 0); + } + + private function writeHttp($data) + { + if (!$this->httpConnection) { + $this->connectHttp(); + } + + curl_setopt($this->httpConnection, CURLOPT_POSTFIELDS, '['.$data.']'); + curl_setopt($this->httpConnection, CURLOPT_HTTPHEADER, array( + 'Content-Type: application/json', + 'Content-Length: ' . strlen('['.$data.']'), + )); + + Curl\Util::execute($this->httpConnection, 5, false); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php new file mode 100644 index 00000000..48d30b35 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Curl/Util.php @@ -0,0 +1,57 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\Curl; + +class Util +{ + private static $retriableErrorCodes = array( + CURLE_COULDNT_RESOLVE_HOST, + CURLE_COULDNT_CONNECT, + CURLE_HTTP_NOT_FOUND, + CURLE_READ_ERROR, + CURLE_OPERATION_TIMEOUTED, + CURLE_HTTP_POST_ERROR, + CURLE_SSL_CONNECT_ERROR, + ); + + /** + * Executes a CURL request with optional retries and exception on failure + * + * @param resource $ch curl handler + * @throws \RuntimeException + */ + public static function execute($ch, $retries = 5, $closeAfterDone = true) + { + while ($retries--) { + if (curl_exec($ch) === false) { + $curlErrno = curl_errno($ch); + + if (false === in_array($curlErrno, self::$retriableErrorCodes, true) || !$retries) { + $curlError = curl_error($ch); + + if ($closeAfterDone) { + curl_close($ch); + } + + throw new \RuntimeException(sprintf('Curl error (code %s): %s', $curlErrno, $curlError)); + } + + continue; + } + + if ($closeAfterDone) { + curl_close($ch); + } + break; + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php new file mode 100644 index 00000000..7778c22a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php @@ -0,0 +1,169 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Simple handler wrapper that deduplicates log records across multiple requests + * + * It also includes the BufferHandler functionality and will buffer + * all messages until the end of the request or flush() is called. + * + * This works by storing all log records' messages above $deduplicationLevel + * to the file specified by $deduplicationStore. When further logs come in at the end of the + * request (or when flush() is called), all those above $deduplicationLevel are checked + * against the existing stored logs. If they match and the timestamps in the stored log is + * not older than $time seconds, the new log record is discarded. If no log record is new, the + * whole data set is discarded. + * + * This is mainly useful in combination with Mail handlers or things like Slack or HipChat handlers + * that send messages to people, to avoid spamming with the same message over and over in case of + * a major component failure like a database server being down which makes all requests fail in the + * same way. + * + * @author Jordi Boggiano + */ +class DeduplicationHandler extends BufferHandler +{ + /** + * @var string + */ + protected $deduplicationStore; + + /** + * @var int + */ + protected $deduplicationLevel; + + /** + * @var int + */ + protected $time; + + /** + * @var bool + */ + private $gc = false; + + /** + * @param HandlerInterface $handler Handler. + * @param string $deduplicationStore The file/path where the deduplication log should be kept + * @param int $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes + * @param int $time The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(HandlerInterface $handler, $deduplicationStore = null, $deduplicationLevel = Logger::ERROR, $time = 60, $bubble = true) + { + parent::__construct($handler, 0, Logger::DEBUG, $bubble, false); + + $this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore; + $this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel); + $this->time = $time; + } + + public function flush() + { + if ($this->bufferSize === 0) { + return; + } + + $passthru = null; + + foreach ($this->buffer as $record) { + if ($record['level'] >= $this->deduplicationLevel) { + + $passthru = $passthru || !$this->isDuplicate($record); + if ($passthru) { + $this->appendRecord($record); + } + } + } + + // default of null is valid as well as if no record matches duplicationLevel we just pass through + if ($passthru === true || $passthru === null) { + $this->handler->handleBatch($this->buffer); + } + + $this->clear(); + + if ($this->gc) { + $this->collectLogs(); + } + } + + private function isDuplicate(array $record) + { + if (!file_exists($this->deduplicationStore)) { + return false; + } + + $store = file($this->deduplicationStore, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); + if (!is_array($store)) { + return false; + } + + $yesterday = time() - 86400; + $timestampValidity = $record['datetime']->getTimestamp() - $this->time; + $expectedMessage = preg_replace('{[\r\n].*}', '', $record['message']); + + for ($i = count($store) - 1; $i >= 0; $i--) { + list($timestamp, $level, $message) = explode(':', $store[$i], 3); + + if ($level === $record['level_name'] && $message === $expectedMessage && $timestamp > $timestampValidity) { + return true; + } + + if ($timestamp < $yesterday) { + $this->gc = true; + } + } + + return false; + } + + private function collectLogs() + { + if (!file_exists($this->deduplicationStore)) { + return false; + } + + $handle = fopen($this->deduplicationStore, 'rw+'); + flock($handle, LOCK_EX); + $validLogs = array(); + + $timestampValidity = time() - $this->time; + + while (!feof($handle)) { + $log = fgets($handle); + if (substr($log, 0, 10) >= $timestampValidity) { + $validLogs[] = $log; + } + } + + ftruncate($handle, 0); + rewind($handle); + foreach ($validLogs as $log) { + fwrite($handle, $log); + } + + flock($handle, LOCK_UN); + fclose($handle); + + $this->gc = false; + } + + private function appendRecord(array $record) + { + file_put_contents($this->deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . preg_replace('{[\r\n].*}', '', $record['message']) . "\n", FILE_APPEND); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php new file mode 100644 index 00000000..b91ffec9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php @@ -0,0 +1,45 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\NormalizerFormatter; +use Doctrine\CouchDB\CouchDBClient; + +/** + * CouchDB handler for Doctrine CouchDB ODM + * + * @author Markus Bachmann + */ +class DoctrineCouchDBHandler extends AbstractProcessingHandler +{ + private $client; + + public function __construct(CouchDBClient $client, $level = Logger::DEBUG, $bubble = true) + { + $this->client = $client; + parent::__construct($level, $bubble); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + $this->client->postDocument($record['formatted']); + } + + protected function getDefaultFormatter() + { + return new NormalizerFormatter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php new file mode 100644 index 00000000..237b71f6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php @@ -0,0 +1,107 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Aws\Sdk; +use Aws\DynamoDb\DynamoDbClient; +use Aws\DynamoDb\Marshaler; +use Monolog\Formatter\ScalarFormatter; +use Monolog\Logger; + +/** + * Amazon DynamoDB handler (http://aws.amazon.com/dynamodb/) + * + * @link https://github.com/aws/aws-sdk-php/ + * @author Andrew Lawson + */ +class DynamoDbHandler extends AbstractProcessingHandler +{ + const DATE_FORMAT = 'Y-m-d\TH:i:s.uO'; + + /** + * @var DynamoDbClient + */ + protected $client; + + /** + * @var string + */ + protected $table; + + /** + * @var int + */ + protected $version; + + /** + * @var Marshaler + */ + protected $marshaler; + + /** + * @param DynamoDbClient $client + * @param string $table + * @param int $level + * @param bool $bubble + */ + public function __construct(DynamoDbClient $client, $table, $level = Logger::DEBUG, $bubble = true) + { + if (defined('Aws\Sdk::VERSION') && version_compare(Sdk::VERSION, '3.0', '>=')) { + $this->version = 3; + $this->marshaler = new Marshaler; + } else { + $this->version = 2; + } + + $this->client = $client; + $this->table = $table; + + parent::__construct($level, $bubble); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $filtered = $this->filterEmptyFields($record['formatted']); + if ($this->version === 3) { + $formatted = $this->marshaler->marshalItem($filtered); + } else { + $formatted = $this->client->formatAttributes($filtered); + } + + $this->client->putItem(array( + 'TableName' => $this->table, + 'Item' => $formatted, + )); + } + + /** + * @param array $record + * @return array + */ + protected function filterEmptyFields(array $record) + { + return array_filter($record, function ($value) { + return !empty($value) || false === $value || 0 === $value; + }); + } + + /** + * {@inheritdoc} + */ + protected function getDefaultFormatter() + { + return new ScalarFormatter(self::DATE_FORMAT); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php new file mode 100644 index 00000000..81967406 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php @@ -0,0 +1,128 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; +use Monolog\Formatter\ElasticaFormatter; +use Monolog\Logger; +use Elastica\Client; +use Elastica\Exception\ExceptionInterface; + +/** + * Elastic Search handler + * + * Usage example: + * + * $client = new \Elastica\Client(); + * $options = array( + * 'index' => 'elastic_index_name', + * 'type' => 'elastic_doc_type', + * ); + * $handler = new ElasticSearchHandler($client, $options); + * $log = new Logger('application'); + * $log->pushHandler($handler); + * + * @author Jelle Vink + */ +class ElasticSearchHandler extends AbstractProcessingHandler +{ + /** + * @var Client + */ + protected $client; + + /** + * @var array Handler config options + */ + protected $options = array(); + + /** + * @param Client $client Elastica Client object + * @param array $options Handler configuration + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(Client $client, array $options = array(), $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + $this->client = $client; + $this->options = array_merge( + array( + 'index' => 'monolog', // Elastic index name + 'type' => 'record', // Elastic document type + 'ignore_error' => false, // Suppress Elastica exceptions + ), + $options + ); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + $this->bulkSend(array($record['formatted'])); + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + if ($formatter instanceof ElasticaFormatter) { + return parent::setFormatter($formatter); + } + throw new \InvalidArgumentException('ElasticSearchHandler is only compatible with ElasticaFormatter'); + } + + /** + * Getter options + * @return array + */ + public function getOptions() + { + return $this->options; + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new ElasticaFormatter($this->options['index'], $this->options['type']); + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + $documents = $this->getFormatter()->formatBatch($records); + $this->bulkSend($documents); + } + + /** + * Use Elasticsearch bulk API to send list of documents + * @param array $documents + * @throws \RuntimeException + */ + protected function bulkSend(array $documents) + { + try { + $this->client->addDocuments($documents); + } catch (ExceptionInterface $e) { + if (!$this->options['ignore_error']) { + throw new \RuntimeException("Error sending messages to Elasticsearch", 0, $e); + } + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php new file mode 100644 index 00000000..1447a584 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php @@ -0,0 +1,82 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\Logger; + +/** + * Stores to PHP error_log() handler. + * + * @author Elan Ruusamäe + */ +class ErrorLogHandler extends AbstractProcessingHandler +{ + const OPERATING_SYSTEM = 0; + const SAPI = 4; + + protected $messageType; + protected $expandNewlines; + + /** + * @param int $messageType Says where the error should go. + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param Boolean $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries + */ + public function __construct($messageType = self::OPERATING_SYSTEM, $level = Logger::DEBUG, $bubble = true, $expandNewlines = false) + { + parent::__construct($level, $bubble); + + if (false === in_array($messageType, self::getAvailableTypes())) { + $message = sprintf('The given message type "%s" is not supported', print_r($messageType, true)); + throw new \InvalidArgumentException($message); + } + + $this->messageType = $messageType; + $this->expandNewlines = $expandNewlines; + } + + /** + * @return array With all available types + */ + public static function getAvailableTypes() + { + return array( + self::OPERATING_SYSTEM, + self::SAPI, + ); + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new LineFormatter('[%datetime%] %channel%.%level_name%: %message% %context% %extra%'); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + if ($this->expandNewlines) { + $lines = preg_split('{[\r\n]+}', (string) $record['formatted']); + foreach ($lines as $line) { + error_log($line, $this->messageType); + } + } else { + error_log((string) $record['formatted'], $this->messageType); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php new file mode 100644 index 00000000..2a0f7fd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FilterHandler.php @@ -0,0 +1,140 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Simple handler wrapper that filters records based on a list of levels + * + * It can be configured with an exact list of levels to allow, or a min/max level. + * + * @author Hennadiy Verkh + * @author Jordi Boggiano + */ +class FilterHandler extends AbstractHandler +{ + /** + * Handler or factory callable($record, $this) + * + * @var callable|\Monolog\Handler\HandlerInterface + */ + protected $handler; + + /** + * Minimum level for logs that are passed to handler + * + * @var int[] + */ + protected $acceptedLevels; + + /** + * Whether the messages that are handled can bubble up the stack or not + * + * @var Boolean + */ + protected $bubble; + + /** + * @param callable|HandlerInterface $handler Handler or factory callable($record, $this). + * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided + * @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true) + { + $this->handler = $handler; + $this->bubble = $bubble; + $this->setAcceptedLevels($minLevelOrList, $maxLevel); + + if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) { + throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object"); + } + } + + /** + * @return array + */ + public function getAcceptedLevels() + { + return array_flip($this->acceptedLevels); + } + + /** + * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided + * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array + */ + public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY) + { + if (is_array($minLevelOrList)) { + $acceptedLevels = array_map('Monolog\Logger::toMonologLevel', $minLevelOrList); + } else { + $minLevelOrList = Logger::toMonologLevel($minLevelOrList); + $maxLevel = Logger::toMonologLevel($maxLevel); + $acceptedLevels = array_values(array_filter(Logger::getLevels(), function ($level) use ($minLevelOrList, $maxLevel) { + return $level >= $minLevelOrList && $level <= $maxLevel; + })); + } + $this->acceptedLevels = array_flip($acceptedLevels); + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return isset($this->acceptedLevels[$record['level']]); + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if (!$this->isHandling($record)) { + return false; + } + + // The same logic as in FingersCrossedHandler + if (!$this->handler instanceof HandlerInterface) { + $this->handler = call_user_func($this->handler, $record, $this); + if (!$this->handler instanceof HandlerInterface) { + throw new \RuntimeException("The factory callable should return a HandlerInterface"); + } + } + + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + $this->handler->handle($record); + + return false === $this->bubble; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + $filtered = array(); + foreach ($records as $record) { + if ($this->isHandling($record)) { + $filtered[] = $record; + } + } + + $this->handler->handleBatch($filtered); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php new file mode 100644 index 00000000..c3e42efe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\FingersCrossed; + +/** + * Interface for activation strategies for the FingersCrossedHandler. + * + * @author Johannes M. Schmitt + */ +interface ActivationStrategyInterface +{ + /** + * Returns whether the given record activates the handler. + * + * @param array $record + * @return Boolean + */ + public function isHandlerActivated(array $record); +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php new file mode 100644 index 00000000..2a2a64d9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php @@ -0,0 +1,59 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\FingersCrossed; + +use Monolog\Logger; + +/** + * Channel and Error level based monolog activation strategy. Allows to trigger activation + * based on level per channel. e.g. trigger activation on level 'ERROR' by default, except + * for records of the 'sql' channel; those should trigger activation on level 'WARN'. + * + * Example: + * + * + * $activationStrategy = new ChannelLevelActivationStrategy( + * Logger::CRITICAL, + * array( + * 'request' => Logger::ALERT, + * 'sensitive' => Logger::ERROR, + * ) + * ); + * $handler = new FingersCrossedHandler(new StreamHandler('php://stderr'), $activationStrategy); + * + * + * @author Mike Meessen + */ +class ChannelLevelActivationStrategy implements ActivationStrategyInterface +{ + private $defaultActionLevel; + private $channelToActionLevel; + + /** + * @param int $defaultActionLevel The default action level to be used if the record's category doesn't match any + * @param array $channelToActionLevel An array that maps channel names to action levels. + */ + public function __construct($defaultActionLevel, $channelToActionLevel = array()) + { + $this->defaultActionLevel = Logger::toMonologLevel($defaultActionLevel); + $this->channelToActionLevel = array_map('Monolog\Logger::toMonologLevel', $channelToActionLevel); + } + + public function isHandlerActivated(array $record) + { + if (isset($this->channelToActionLevel[$record['channel']])) { + return $record['level'] >= $this->channelToActionLevel[$record['channel']]; + } + + return $record['level'] >= $this->defaultActionLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php new file mode 100644 index 00000000..6e630852 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php @@ -0,0 +1,34 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\FingersCrossed; + +use Monolog\Logger; + +/** + * Error level based activation strategy. + * + * @author Johannes M. Schmitt + */ +class ErrorLevelActivationStrategy implements ActivationStrategyInterface +{ + private $actionLevel; + + public function __construct($actionLevel) + { + $this->actionLevel = Logger::toMonologLevel($actionLevel); + } + + public function isHandlerActivated(array $record) + { + return $record['level'] >= $this->actionLevel; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php new file mode 100644 index 00000000..d1dcaacf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php @@ -0,0 +1,163 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy; +use Monolog\Handler\FingersCrossed\ActivationStrategyInterface; +use Monolog\Logger; + +/** + * Buffers all records until a certain level is reached + * + * The advantage of this approach is that you don't get any clutter in your log files. + * Only requests which actually trigger an error (or whatever your actionLevel is) will be + * in the logs, but they will contain all records, not only those above the level threshold. + * + * You can find the various activation strategies in the + * Monolog\Handler\FingersCrossed\ namespace. + * + * @author Jordi Boggiano + */ +class FingersCrossedHandler extends AbstractHandler +{ + protected $handler; + protected $activationStrategy; + protected $buffering = true; + protected $bufferSize; + protected $buffer = array(); + protected $stopBuffering; + protected $passthruLevel; + + /** + * @param callable|HandlerInterface $handler Handler or factory callable($record, $fingersCrossedHandler). + * @param int|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action + * @param int $bufferSize How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param Boolean $stopBuffering Whether the handler should stop buffering after being triggered (default true) + * @param int $passthruLevel Minimum level to always flush to handler on close, even if strategy not triggered + */ + public function __construct($handler, $activationStrategy = null, $bufferSize = 0, $bubble = true, $stopBuffering = true, $passthruLevel = null) + { + if (null === $activationStrategy) { + $activationStrategy = new ErrorLevelActivationStrategy(Logger::WARNING); + } + + // convert simple int activationStrategy to an object + if (!$activationStrategy instanceof ActivationStrategyInterface) { + $activationStrategy = new ErrorLevelActivationStrategy($activationStrategy); + } + + $this->handler = $handler; + $this->activationStrategy = $activationStrategy; + $this->bufferSize = $bufferSize; + $this->bubble = $bubble; + $this->stopBuffering = $stopBuffering; + + if ($passthruLevel !== null) { + $this->passthruLevel = Logger::toMonologLevel($passthruLevel); + } + + if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) { + throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object"); + } + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return true; + } + + /** + * Manually activate this logger regardless of the activation strategy + */ + public function activate() + { + if ($this->stopBuffering) { + $this->buffering = false; + } + if (!$this->handler instanceof HandlerInterface) { + $record = end($this->buffer) ?: null; + + $this->handler = call_user_func($this->handler, $record, $this); + if (!$this->handler instanceof HandlerInterface) { + throw new \RuntimeException("The factory callable should return a HandlerInterface"); + } + } + $this->handler->handleBatch($this->buffer); + $this->buffer = array(); + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + if ($this->buffering) { + $this->buffer[] = $record; + if ($this->bufferSize > 0 && count($this->buffer) > $this->bufferSize) { + array_shift($this->buffer); + } + if ($this->activationStrategy->isHandlerActivated($record)) { + $this->activate(); + } + } else { + $this->handler->handle($record); + } + + return false === $this->bubble; + } + + /** + * {@inheritdoc} + */ + public function close() + { + if (null !== $this->passthruLevel) { + $level = $this->passthruLevel; + $this->buffer = array_filter($this->buffer, function ($record) use ($level) { + return $record['level'] >= $level; + }); + if (count($this->buffer) > 0) { + $this->handler->handleBatch($this->buffer); + $this->buffer = array(); + } + } + } + + /** + * Resets the state of the handler. Stops forwarding records to the wrapped handler. + */ + public function reset() + { + $this->buffering = true; + } + + /** + * Clears the buffer without flushing any messages down to the wrapped handler. + * + * It also resets the handler to its initial buffering state. + */ + public function clear() + { + $this->buffer = array(); + $this->reset(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php new file mode 100644 index 00000000..fee47950 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php @@ -0,0 +1,195 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\WildfireFormatter; + +/** + * Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol. + * + * @author Eric Clemmons (@ericclemmons) + */ +class FirePHPHandler extends AbstractProcessingHandler +{ + /** + * WildFire JSON header message format + */ + const PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2'; + + /** + * FirePHP structure for parsing messages & their presentation + */ + const STRUCTURE_URI = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'; + + /** + * Must reference a "known" plugin, otherwise headers won't display in FirePHP + */ + const PLUGIN_URI = 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3'; + + /** + * Header prefix for Wildfire to recognize & parse headers + */ + const HEADER_PREFIX = 'X-Wf'; + + /** + * Whether or not Wildfire vendor-specific headers have been generated & sent yet + */ + protected static $initialized = false; + + /** + * Shared static message index between potentially multiple handlers + * @var int + */ + protected static $messageIndex = 1; + + protected static $sendHeaders = true; + + /** + * Base header creation function used by init headers & record headers + * + * @param array $meta Wildfire Plugin, Protocol & Structure Indexes + * @param string $message Log message + * @return array Complete header string ready for the client as key and message as value + */ + protected function createHeader(array $meta, $message) + { + $header = sprintf('%s-%s', self::HEADER_PREFIX, join('-', $meta)); + + return array($header => $message); + } + + /** + * Creates message header from record + * + * @see createHeader() + * @param array $record + * @return string + */ + protected function createRecordHeader(array $record) + { + // Wildfire is extensible to support multiple protocols & plugins in a single request, + // but we're not taking advantage of that (yet), so we're using "1" for simplicity's sake. + return $this->createHeader( + array(1, 1, 1, self::$messageIndex++), + $record['formatted'] + ); + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new WildfireFormatter(); + } + + /** + * Wildfire initialization headers to enable message parsing + * + * @see createHeader() + * @see sendHeader() + * @return array + */ + protected function getInitHeaders() + { + // Initial payload consists of required headers for Wildfire + return array_merge( + $this->createHeader(array('Protocol', 1), self::PROTOCOL_URI), + $this->createHeader(array(1, 'Structure', 1), self::STRUCTURE_URI), + $this->createHeader(array(1, 'Plugin', 1), self::PLUGIN_URI) + ); + } + + /** + * Send header string to the client + * + * @param string $header + * @param string $content + */ + protected function sendHeader($header, $content) + { + if (!headers_sent() && self::$sendHeaders) { + header(sprintf('%s: %s', $header, $content)); + } + } + + /** + * Creates & sends header for a record, ensuring init headers have been sent prior + * + * @see sendHeader() + * @see sendInitHeaders() + * @param array $record + */ + protected function write(array $record) + { + if (!self::$sendHeaders) { + return; + } + + // WildFire-specific headers must be sent prior to any messages + if (!self::$initialized) { + self::$initialized = true; + + self::$sendHeaders = $this->headersAccepted(); + if (!self::$sendHeaders) { + return; + } + + foreach ($this->getInitHeaders() as $header => $content) { + $this->sendHeader($header, $content); + } + } + + $header = $this->createRecordHeader($record); + if (trim(current($header)) !== '') { + $this->sendHeader(key($header), current($header)); + } + } + + /** + * Verifies if the headers are accepted by the current user agent + * + * @return Boolean + */ + protected function headersAccepted() + { + if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('{\bFirePHP/\d+\.\d+\b}', $_SERVER['HTTP_USER_AGENT'])) { + return true; + } + + return isset($_SERVER['HTTP_X_FIREPHP_VERSION']); + } + + /** + * BC getter for the sendHeaders property that has been made static + */ + public function __get($property) + { + if ('sendHeaders' !== $property) { + throw new \InvalidArgumentException('Undefined property '.$property); + } + + return static::$sendHeaders; + } + + /** + * BC setter for the sendHeaders property that has been made static + */ + public function __set($property, $value) + { + if ('sendHeaders' !== $property) { + throw new \InvalidArgumentException('Undefined property '.$property); + } + + static::$sendHeaders = $value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php new file mode 100644 index 00000000..c43c0134 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php @@ -0,0 +1,126 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\Logger; + +/** + * Sends logs to Fleep.io using Webhook integrations + * + * You'll need a Fleep.io account to use this handler. + * + * @see https://fleep.io/integrations/webhooks/ Fleep Webhooks Documentation + * @author Ando Roots + */ +class FleepHookHandler extends SocketHandler +{ + const FLEEP_HOST = 'fleep.io'; + + const FLEEP_HOOK_URI = '/hook/'; + + /** + * @var string Webhook token (specifies the conversation where logs are sent) + */ + protected $token; + + /** + * Construct a new Fleep.io Handler. + * + * For instructions on how to create a new web hook in your conversations + * see https://fleep.io/integrations/webhooks/ + * + * @param string $token Webhook token + * @param bool|int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @throws MissingExtensionException + */ + public function __construct($token, $level = Logger::DEBUG, $bubble = true) + { + if (!extension_loaded('openssl')) { + throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FleepHookHandler'); + } + + $this->token = $token; + + $connectionString = 'ssl://' . self::FLEEP_HOST . ':443'; + parent::__construct($connectionString, $level, $bubble); + } + + /** + * Returns the default formatter to use with this handler + * + * Overloaded to remove empty context and extra arrays from the end of the log message. + * + * @return LineFormatter + */ + protected function getDefaultFormatter() + { + return new LineFormatter(null, null, true, true); + } + + /** + * Handles a log record + * + * @param array $record + */ + public function write(array $record) + { + parent::write($record); + $this->closeSocket(); + } + + /** + * {@inheritdoc} + * + * @param array $record + * @return string + */ + protected function generateDataStream($record) + { + $content = $this->buildContent($record); + + return $this->buildHeader($content) . $content; + } + + /** + * Builds the header of the API Call + * + * @param string $content + * @return string + */ + private function buildHeader($content) + { + $header = "POST " . self::FLEEP_HOOK_URI . $this->token . " HTTP/1.1\r\n"; + $header .= "Host: " . self::FLEEP_HOST . "\r\n"; + $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; + $header .= "Content-Length: " . strlen($content) . "\r\n"; + $header .= "\r\n"; + + return $header; + } + + /** + * Builds the body of API call + * + * @param array $record + * @return string + */ + private function buildContent($record) + { + $dataArray = array( + 'message' => $record['formatted'], + ); + + return http_build_query($dataArray); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php new file mode 100644 index 00000000..dd9a361c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php @@ -0,0 +1,127 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\FlowdockFormatter; +use Monolog\Formatter\FormatterInterface; + +/** + * Sends notifications through the Flowdock push API + * + * This must be configured with a FlowdockFormatter instance via setFormatter() + * + * Notes: + * API token - Flowdock API token + * + * @author Dominik Liebler + * @see https://www.flowdock.com/api/push + */ +class FlowdockHandler extends SocketHandler +{ + /** + * @var string + */ + protected $apiToken; + + /** + * @param string $apiToken + * @param bool|int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * + * @throws MissingExtensionException if OpenSSL is missing + */ + public function __construct($apiToken, $level = Logger::DEBUG, $bubble = true) + { + if (!extension_loaded('openssl')) { + throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FlowdockHandler'); + } + + parent::__construct('ssl://api.flowdock.com:443', $level, $bubble); + $this->apiToken = $apiToken; + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + if (!$formatter instanceof FlowdockFormatter) { + throw new \InvalidArgumentException('The FlowdockHandler requires an instance of Monolog\Formatter\FlowdockFormatter to function correctly'); + } + + return parent::setFormatter($formatter); + } + + /** + * Gets the default formatter. + * + * @return FormatterInterface + */ + protected function getDefaultFormatter() + { + throw new \InvalidArgumentException('The FlowdockHandler must be configured (via setFormatter) with an instance of Monolog\Formatter\FlowdockFormatter to function correctly'); + } + + /** + * {@inheritdoc} + * + * @param array $record + */ + protected function write(array $record) + { + parent::write($record); + + $this->closeSocket(); + } + + /** + * {@inheritdoc} + * + * @param array $record + * @return string + */ + protected function generateDataStream($record) + { + $content = $this->buildContent($record); + + return $this->buildHeader($content) . $content; + } + + /** + * Builds the body of API call + * + * @param array $record + * @return string + */ + private function buildContent($record) + { + return json_encode($record['formatted']['flowdock']); + } + + /** + * Builds the header of the API Call + * + * @param string $content + * @return string + */ + private function buildHeader($content) + { + $header = "POST /v1/messages/team_inbox/" . $this->apiToken . " HTTP/1.1\r\n"; + $header .= "Host: api.flowdock.com\r\n"; + $header .= "Content-Type: application/json\r\n"; + $header .= "Content-Length: " . strlen($content) . "\r\n"; + $header .= "\r\n"; + + return $header; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php new file mode 100644 index 00000000..d3847d82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GelfHandler.php @@ -0,0 +1,73 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Gelf\IMessagePublisher; +use Gelf\PublisherInterface; +use Gelf\Publisher; +use InvalidArgumentException; +use Monolog\Logger; +use Monolog\Formatter\GelfMessageFormatter; + +/** + * Handler to send messages to a Graylog2 (http://www.graylog2.org) server + * + * @author Matt Lehner + * @author Benjamin Zikarsky + */ +class GelfHandler extends AbstractProcessingHandler +{ + /** + * @var Publisher the publisher object that sends the message to the server + */ + protected $publisher; + + /** + * @param PublisherInterface|IMessagePublisher|Publisher $publisher a publisher object + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($publisher, $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + + if (!$publisher instanceof Publisher && !$publisher instanceof IMessagePublisher && !$publisher instanceof PublisherInterface) { + throw new InvalidArgumentException('Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance'); + } + + $this->publisher = $publisher; + } + + /** + * {@inheritdoc} + */ + public function close() + { + $this->publisher = null; + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $this->publisher->publish($record['formatted']); + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new GelfMessageFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php new file mode 100644 index 00000000..663f5a92 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/GroupHandler.php @@ -0,0 +1,104 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; + +/** + * Forwards records to multiple handlers + * + * @author Lenar Lõhmus + */ +class GroupHandler extends AbstractHandler +{ + protected $handlers; + + /** + * @param array $handlers Array of Handlers. + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(array $handlers, $bubble = true) + { + foreach ($handlers as $handler) { + if (!$handler instanceof HandlerInterface) { + throw new \InvalidArgumentException('The first argument of the GroupHandler must be an array of HandlerInterface instances.'); + } + } + + $this->handlers = $handlers; + $this->bubble = $bubble; + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + foreach ($this->handlers as $handler) { + if ($handler->isHandling($record)) { + return true; + } + } + + return false; + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + foreach ($this->handlers as $handler) { + $handler->handle($record); + } + + return false === $this->bubble; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + if ($this->processors) { + $processed = array(); + foreach ($records as $record) { + foreach ($this->processors as $processor) { + $processed[] = call_user_func($processor, $record); + } + } + $records = $processed; + } + + foreach ($this->handlers as $handler) { + $handler->handleBatch($records); + } + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + foreach ($this->handlers as $handler) { + $handler->setFormatter($formatter); + } + + return $this; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php new file mode 100644 index 00000000..d920c4ba --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerInterface.php @@ -0,0 +1,90 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; + +/** + * Interface that all Monolog Handlers must implement + * + * @author Jordi Boggiano + */ +interface HandlerInterface +{ + /** + * Checks whether the given record will be handled by this handler. + * + * This is mostly done for performance reasons, to avoid calling processors for nothing. + * + * Handlers should still check the record levels within handle(), returning false in isHandling() + * is no guarantee that handle() will not be called, and isHandling() might not be called + * for a given record. + * + * @param array $record Partial log record containing only a level key + * + * @return Boolean + */ + public function isHandling(array $record); + + /** + * Handles a record. + * + * All records may be passed to this method, and the handler should discard + * those that it does not want to handle. + * + * The return value of this function controls the bubbling process of the handler stack. + * Unless the bubbling is interrupted (by returning true), the Logger class will keep on + * calling further handlers in the stack with a given log record. + * + * @param array $record The record to handle + * @return Boolean true means that this handler handled the record, and that bubbling is not permitted. + * false means the record was either not processed or that this handler allows bubbling. + */ + public function handle(array $record); + + /** + * Handles a set of records at once. + * + * @param array $records The records to handle (an array of record arrays) + */ + public function handleBatch(array $records); + + /** + * Adds a processor in the stack. + * + * @param callable $callback + * @return self + */ + public function pushProcessor($callback); + + /** + * Removes the processor on top of the stack and returns it. + * + * @return callable + */ + public function popProcessor(); + + /** + * Sets the formatter. + * + * @param FormatterInterface $formatter + * @return self + */ + public function setFormatter(FormatterInterface $formatter); + + /** + * Gets the formatter. + * + * @return FormatterInterface + */ + public function getFormatter(); +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php new file mode 100644 index 00000000..e540d80f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php @@ -0,0 +1,108 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; + +/** + * This simple wrapper class can be used to extend handlers functionality. + * + * Example: A custom filtering that can be applied to any handler. + * + * Inherit from this class and override handle() like this: + * + * public function handle(array $record) + * { + * if ($record meets certain conditions) { + * return false; + * } + * return $this->handler->handle($record); + * } + * + * @author Alexey Karapetov + */ +class HandlerWrapper implements HandlerInterface +{ + /** + * @var HandlerInterface + */ + protected $handler; + + /** + * HandlerWrapper constructor. + * @param HandlerInterface $handler + */ + public function __construct(HandlerInterface $handler) + { + $this->handler = $handler; + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return $this->handler->isHandling($record); + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + return $this->handler->handle($record); + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + return $this->handler->handleBatch($records); + } + + /** + * {@inheritdoc} + */ + public function pushProcessor($callback) + { + $this->handler->pushProcessor($callback); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function popProcessor() + { + return $this->handler->popProcessor(); + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + $this->handler->setFormatter($formatter); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getFormatter() + { + return $this->handler->getFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php new file mode 100644 index 00000000..73049f36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/HipChatHandler.php @@ -0,0 +1,350 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Sends notifications through the hipchat api to a hipchat room + * + * Notes: + * API token - HipChat API token + * Room - HipChat Room Id or name, where messages are sent + * Name - Name used to send the message (from) + * notify - Should the message trigger a notification in the clients + * version - The API version to use (HipChatHandler::API_V1 | HipChatHandler::API_V2) + * + * @author Rafael Dohms + * @see https://www.hipchat.com/docs/api + */ +class HipChatHandler extends SocketHandler +{ + /** + * Use API version 1 + */ + const API_V1 = 'v1'; + + /** + * Use API version v2 + */ + const API_V2 = 'v2'; + + /** + * The maximum allowed length for the name used in the "from" field. + */ + const MAXIMUM_NAME_LENGTH = 15; + + /** + * The maximum allowed length for the message. + */ + const MAXIMUM_MESSAGE_LENGTH = 9500; + + /** + * @var string + */ + private $token; + + /** + * @var string + */ + private $room; + + /** + * @var string + */ + private $name; + + /** + * @var bool + */ + private $notify; + + /** + * @var string + */ + private $format; + + /** + * @var string + */ + private $host; + + /** + * @var string + */ + private $version; + + /** + * @param string $token HipChat API Token + * @param string $room The room that should be alerted of the message (Id or Name) + * @param string $name Name used in the "from" field. + * @param bool $notify Trigger a notification in clients or not + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param bool $useSSL Whether to connect via SSL. + * @param string $format The format of the messages (default to text, can be set to html if you have html in the messages) + * @param string $host The HipChat server hostname. + * @param string $version The HipChat API version (default HipChatHandler::API_V1) + */ + public function __construct($token, $room, $name = 'Monolog', $notify = false, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $format = 'text', $host = 'api.hipchat.com', $version = self::API_V1) + { + if ($version == self::API_V1 && !$this->validateStringLength($name, static::MAXIMUM_NAME_LENGTH)) { + throw new \InvalidArgumentException('The supplied name is too long. HipChat\'s v1 API supports names up to 15 UTF-8 characters.'); + } + + $connectionString = $useSSL ? 'ssl://'.$host.':443' : $host.':80'; + parent::__construct($connectionString, $level, $bubble); + + $this->token = $token; + $this->name = $name; + $this->notify = $notify; + $this->room = $room; + $this->format = $format; + $this->host = $host; + $this->version = $version; + } + + /** + * {@inheritdoc} + * + * @param array $record + * @return string + */ + protected function generateDataStream($record) + { + $content = $this->buildContent($record); + + return $this->buildHeader($content) . $content; + } + + /** + * Builds the body of API call + * + * @param array $record + * @return string + */ + private function buildContent($record) + { + $dataArray = array( + 'notify' => $this->version == self::API_V1 ? + ($this->notify ? 1 : 0) : + ($this->notify ? 'true' : 'false'), + 'message' => $record['formatted'], + 'message_format' => $this->format, + 'color' => $this->getAlertColor($record['level']), + ); + + if (!$this->validateStringLength($dataArray['message'], static::MAXIMUM_MESSAGE_LENGTH)) { + if (function_exists('mb_substr')) { + $dataArray['message'] = mb_substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]'; + } else { + $dataArray['message'] = substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]'; + } + } + + // if we are using the legacy API then we need to send some additional information + if ($this->version == self::API_V1) { + $dataArray['room_id'] = $this->room; + } + + // append the sender name if it is set + // always append it if we use the v1 api (it is required in v1) + if ($this->version == self::API_V1 || $this->name !== null) { + $dataArray['from'] = (string) $this->name; + } + + return http_build_query($dataArray); + } + + /** + * Builds the header of the API Call + * + * @param string $content + * @return string + */ + private function buildHeader($content) + { + if ($this->version == self::API_V1) { + $header = "POST /v1/rooms/message?format=json&auth_token={$this->token} HTTP/1.1\r\n"; + } else { + // needed for rooms with special (spaces, etc) characters in the name + $room = rawurlencode($this->room); + $header = "POST /v2/room/{$room}/notification?auth_token={$this->token} HTTP/1.1\r\n"; + } + + $header .= "Host: {$this->host}\r\n"; + $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; + $header .= "Content-Length: " . strlen($content) . "\r\n"; + $header .= "\r\n"; + + return $header; + } + + /** + * Assigns a color to each level of log records. + * + * @param int $level + * @return string + */ + protected function getAlertColor($level) + { + switch (true) { + case $level >= Logger::ERROR: + return 'red'; + case $level >= Logger::WARNING: + return 'yellow'; + case $level >= Logger::INFO: + return 'green'; + case $level == Logger::DEBUG: + return 'gray'; + default: + return 'yellow'; + } + } + + /** + * {@inheritdoc} + * + * @param array $record + */ + protected function write(array $record) + { + parent::write($record); + $this->closeSocket(); + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + if (count($records) == 0) { + return true; + } + + $batchRecords = $this->combineRecords($records); + + $handled = false; + foreach ($batchRecords as $batchRecord) { + if ($this->isHandling($batchRecord)) { + $this->write($batchRecord); + $handled = true; + } + } + + if (!$handled) { + return false; + } + + return false === $this->bubble; + } + + /** + * Combines multiple records into one. Error level of the combined record + * will be the highest level from the given records. Datetime will be taken + * from the first record. + * + * @param $records + * @return array + */ + private function combineRecords($records) + { + $batchRecord = null; + $batchRecords = array(); + $messages = array(); + $formattedMessages = array(); + $level = 0; + $levelName = null; + $datetime = null; + + foreach ($records as $record) { + $record = $this->processRecord($record); + + if ($record['level'] > $level) { + $level = $record['level']; + $levelName = $record['level_name']; + } + + if (null === $datetime) { + $datetime = $record['datetime']; + } + + $messages[] = $record['message']; + $messageStr = implode(PHP_EOL, $messages); + $formattedMessages[] = $this->getFormatter()->format($record); + $formattedMessageStr = implode('', $formattedMessages); + + $batchRecord = array( + 'message' => $messageStr, + 'formatted' => $formattedMessageStr, + 'context' => array(), + 'extra' => array(), + ); + + if (!$this->validateStringLength($batchRecord['formatted'], static::MAXIMUM_MESSAGE_LENGTH)) { + // Pop the last message and implode the remaining messages + $lastMessage = array_pop($messages); + $lastFormattedMessage = array_pop($formattedMessages); + $batchRecord['message'] = implode(PHP_EOL, $messages); + $batchRecord['formatted'] = implode('', $formattedMessages); + + $batchRecords[] = $batchRecord; + $messages = array($lastMessage); + $formattedMessages = array($lastFormattedMessage); + + $batchRecord = null; + } + } + + if (null !== $batchRecord) { + $batchRecords[] = $batchRecord; + } + + // Set the max level and datetime for all records + foreach ($batchRecords as &$batchRecord) { + $batchRecord = array_merge( + $batchRecord, + array( + 'level' => $level, + 'level_name' => $levelName, + 'datetime' => $datetime, + ) + ); + } + + return $batchRecords; + } + + /** + * Validates the length of a string. + * + * If the `mb_strlen()` function is available, it will use that, as HipChat + * allows UTF-8 characters. Otherwise, it will fall back to `strlen()`. + * + * Note that this might cause false failures in the specific case of using + * a valid name with less than 16 characters, but 16 or more bytes, on a + * system where `mb_strlen()` is unavailable. + * + * @param string $str + * @param int $length + * + * @return bool + */ + private function validateStringLength($str, $length) + { + if (function_exists('mb_strlen')) { + return (mb_strlen($str) <= $length); + } + + return (strlen($str) <= $length); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php new file mode 100644 index 00000000..d60a3c82 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php @@ -0,0 +1,69 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * IFTTTHandler uses cURL to trigger IFTTT Maker actions + * + * Register a secret key and trigger/event name at https://ifttt.com/maker + * + * value1 will be the channel from monolog's Logger constructor, + * value2 will be the level name (ERROR, WARNING, ..) + * value3 will be the log record's message + * + * @author Nehal Patel + */ +class IFTTTHandler extends AbstractProcessingHandler +{ + private $eventName; + private $secretKey; + + /** + * @param string $eventName The name of the IFTTT Maker event that should be triggered + * @param string $secretKey A valid IFTTT secret key + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($eventName, $secretKey, $level = Logger::ERROR, $bubble = true) + { + $this->eventName = $eventName; + $this->secretKey = $secretKey; + + parent::__construct($level, $bubble); + } + + /** + * {@inheritdoc} + */ + public function write(array $record) + { + $postData = array( + "value1" => $record["channel"], + "value2" => $record["level_name"], + "value3" => $record["message"], + ); + $postString = json_encode($postData); + + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, "https://maker.ifttt.com/trigger/" . $this->eventName . "/with/key/" . $this->secretKey); + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, $postString); + curl_setopt($ch, CURLOPT_HTTPHEADER, array( + "Content-Type: application/json", + )); + + Curl\Util::execute($ch); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php new file mode 100644 index 00000000..494c605b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php @@ -0,0 +1,55 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * @author Robert Kaufmann III + */ +class LogEntriesHandler extends SocketHandler +{ + /** + * @var string + */ + protected $logToken; + + /** + * @param string $token Log token supplied by LogEntries + * @param bool $useSSL Whether or not SSL encryption should be used. + * @param int $level The minimum logging level to trigger this handler + * @param bool $bubble Whether or not messages that are handled should bubble up the stack. + * + * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing + */ + public function __construct($token, $useSSL = true, $level = Logger::DEBUG, $bubble = true) + { + if ($useSSL && !extension_loaded('openssl')) { + throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler'); + } + + $endpoint = $useSSL ? 'ssl://data.logentries.com:443' : 'data.logentries.com:80'; + parent::__construct($endpoint, $level, $bubble); + $this->logToken = $token; + } + + /** + * {@inheritdoc} + * + * @param array $record + * @return string + */ + protected function generateDataStream($record) + { + return $this->logToken . ' ' . $record['formatted']; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php new file mode 100644 index 00000000..bcd62e1c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/LogglyHandler.php @@ -0,0 +1,102 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\LogglyFormatter; + +/** + * Sends errors to Loggly. + * + * @author Przemek Sobstel + * @author Adam Pancutt + * @author Gregory Barchard + */ +class LogglyHandler extends AbstractProcessingHandler +{ + const HOST = 'logs-01.loggly.com'; + const ENDPOINT_SINGLE = 'inputs'; + const ENDPOINT_BATCH = 'bulk'; + + protected $token; + + protected $tag = array(); + + public function __construct($token, $level = Logger::DEBUG, $bubble = true) + { + if (!extension_loaded('curl')) { + throw new \LogicException('The curl extension is needed to use the LogglyHandler'); + } + + $this->token = $token; + + parent::__construct($level, $bubble); + } + + public function setTag($tag) + { + $tag = !empty($tag) ? $tag : array(); + $this->tag = is_array($tag) ? $tag : array($tag); + } + + public function addTag($tag) + { + if (!empty($tag)) { + $tag = is_array($tag) ? $tag : array($tag); + $this->tag = array_unique(array_merge($this->tag, $tag)); + } + } + + protected function write(array $record) + { + $this->send($record["formatted"], self::ENDPOINT_SINGLE); + } + + public function handleBatch(array $records) + { + $level = $this->level; + + $records = array_filter($records, function ($record) use ($level) { + return ($record['level'] >= $level); + }); + + if ($records) { + $this->send($this->getFormatter()->formatBatch($records), self::ENDPOINT_BATCH); + } + } + + protected function send($data, $endpoint) + { + $url = sprintf("https://%s/%s/%s/", self::HOST, $endpoint, $this->token); + + $headers = array('Content-Type: application/json'); + + if (!empty($this->tag)) { + $headers[] = 'X-LOGGLY-TAG: '.implode(',', $this->tag); + } + + $ch = curl_init(); + + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, $data); + curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + + Curl\Util::execute($ch); + } + + protected function getDefaultFormatter() + { + return new LogglyFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php new file mode 100644 index 00000000..9e232838 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MailHandler.php @@ -0,0 +1,67 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Base class for all mail handlers + * + * @author Gyula Sallai + */ +abstract class MailHandler extends AbstractProcessingHandler +{ + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + $messages = array(); + + foreach ($records as $record) { + if ($record['level'] < $this->level) { + continue; + } + $messages[] = $this->processRecord($record); + } + + if (!empty($messages)) { + $this->send((string) $this->getFormatter()->formatBatch($messages), $messages); + } + } + + /** + * Send a mail with the given content + * + * @param string $content formatted email body to be sent + * @param array $records the array of log records that formed this content + */ + abstract protected function send($content, array $records); + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $this->send((string) $record['formatted'], array($record)); + } + + protected function getHighestRecord(array $records) + { + $highestRecord = null; + foreach ($records as $record) { + if ($highestRecord === null || $highestRecord['level'] < $record['level']) { + $highestRecord = $record; + } + } + + return $highestRecord; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php new file mode 100644 index 00000000..ab95924f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MandrillHandler.php @@ -0,0 +1,68 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * MandrillHandler uses cURL to send the emails to the Mandrill API + * + * @author Adam Nicholson + */ +class MandrillHandler extends MailHandler +{ + protected $message; + protected $apiKey; + + /** + * @param string $apiKey A valid Mandrill API key + * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($apiKey, $message, $level = Logger::ERROR, $bubble = true) + { + parent::__construct($level, $bubble); + + if (!$message instanceof \Swift_Message && is_callable($message)) { + $message = call_user_func($message); + } + if (!$message instanceof \Swift_Message) { + throw new \InvalidArgumentException('You must provide either a Swift_Message instance or a callable returning it'); + } + $this->message = $message; + $this->apiKey = $apiKey; + } + + /** + * {@inheritdoc} + */ + protected function send($content, array $records) + { + $message = clone $this->message; + $message->setBody($content); + $message->setDate(time()); + + $ch = curl_init(); + + curl_setopt($ch, CURLOPT_URL, 'https://mandrillapp.com/api/1.0/messages/send-raw.json'); + curl_setopt($ch, CURLOPT_POST, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array( + 'key' => $this->apiKey, + 'raw_message' => (string) $message, + 'async' => false, + ))); + + Curl\Util::execute($ch); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php new file mode 100644 index 00000000..4724a7e2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php @@ -0,0 +1,21 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Exception can be thrown if an extension for an handler is missing + * + * @author Christian Bergau + */ +class MissingExtensionException extends \Exception +{ +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php new file mode 100644 index 00000000..56fe755b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php @@ -0,0 +1,59 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\NormalizerFormatter; + +/** + * Logs to a MongoDB database. + * + * usage example: + * + * $log = new Logger('application'); + * $mongodb = new MongoDBHandler(new \Mongo("mongodb://localhost:27017"), "logs", "prod"); + * $log->pushHandler($mongodb); + * + * @author Thomas Tourlourat + */ +class MongoDBHandler extends AbstractProcessingHandler +{ + protected $mongoCollection; + + public function __construct($mongo, $database, $collection, $level = Logger::DEBUG, $bubble = true) + { + if (!($mongo instanceof \MongoClient || $mongo instanceof \Mongo || $mongo instanceof \MongoDB\Client)) { + throw new \InvalidArgumentException('MongoClient, Mongo or MongoDB\Client instance required'); + } + + $this->mongoCollection = $mongo->selectCollection($database, $collection); + + parent::__construct($level, $bubble); + } + + protected function write(array $record) + { + if ($this->mongoCollection instanceof \MongoDB\Collection) { + $this->mongoCollection->insertOne($record["formatted"]); + } else { + $this->mongoCollection->save($record["formatted"]); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new NormalizerFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php new file mode 100644 index 00000000..d7807fd1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php @@ -0,0 +1,185 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; + +/** + * NativeMailerHandler uses the mail() function to send the emails + * + * @author Christophe Coevoet + * @author Mark Garrett + */ +class NativeMailerHandler extends MailHandler +{ + /** + * The email addresses to which the message will be sent + * @var array + */ + protected $to; + + /** + * The subject of the email + * @var string + */ + protected $subject; + + /** + * Optional headers for the message + * @var array + */ + protected $headers = array(); + + /** + * Optional parameters for the message + * @var array + */ + protected $parameters = array(); + + /** + * The wordwrap length for the message + * @var int + */ + protected $maxColumnWidth; + + /** + * The Content-type for the message + * @var string + */ + protected $contentType = 'text/plain'; + + /** + * The encoding for the message + * @var string + */ + protected $encoding = 'utf-8'; + + /** + * @param string|array $to The receiver of the mail + * @param string $subject The subject of the mail + * @param string $from The sender of the mail + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $maxColumnWidth The maximum column width that the message lines will have + */ + public function __construct($to, $subject, $from, $level = Logger::ERROR, $bubble = true, $maxColumnWidth = 70) + { + parent::__construct($level, $bubble); + $this->to = is_array($to) ? $to : array($to); + $this->subject = $subject; + $this->addHeader(sprintf('From: %s', $from)); + $this->maxColumnWidth = $maxColumnWidth; + } + + /** + * Add headers to the message + * + * @param string|array $headers Custom added headers + * @return self + */ + public function addHeader($headers) + { + foreach ((array) $headers as $header) { + if (strpos($header, "\n") !== false || strpos($header, "\r") !== false) { + throw new \InvalidArgumentException('Headers can not contain newline characters for security reasons'); + } + $this->headers[] = $header; + } + + return $this; + } + + /** + * Add parameters to the message + * + * @param string|array $parameters Custom added parameters + * @return self + */ + public function addParameter($parameters) + { + $this->parameters = array_merge($this->parameters, (array) $parameters); + + return $this; + } + + /** + * {@inheritdoc} + */ + protected function send($content, array $records) + { + $content = wordwrap($content, $this->maxColumnWidth); + $headers = ltrim(implode("\r\n", $this->headers) . "\r\n", "\r\n"); + $headers .= 'Content-type: ' . $this->getContentType() . '; charset=' . $this->getEncoding() . "\r\n"; + if ($this->getContentType() == 'text/html' && false === strpos($headers, 'MIME-Version:')) { + $headers .= 'MIME-Version: 1.0' . "\r\n"; + } + + $subject = $this->subject; + if ($records) { + $subjectFormatter = new LineFormatter($this->subject); + $subject = $subjectFormatter->format($this->getHighestRecord($records)); + } + + $parameters = implode(' ', $this->parameters); + foreach ($this->to as $to) { + mail($to, $subject, $content, $headers, $parameters); + } + } + + /** + * @return string $contentType + */ + public function getContentType() + { + return $this->contentType; + } + + /** + * @return string $encoding + */ + public function getEncoding() + { + return $this->encoding; + } + + /** + * @param string $contentType The content type of the email - Defaults to text/plain. Use text/html for HTML + * messages. + * @return self + */ + public function setContentType($contentType) + { + if (strpos($contentType, "\n") !== false || strpos($contentType, "\r") !== false) { + throw new \InvalidArgumentException('The content type can not contain newline characters to prevent email header injection'); + } + + $this->contentType = $contentType; + + return $this; + } + + /** + * @param string $encoding + * @return self + */ + public function setEncoding($encoding) + { + if (strpos($encoding, "\n") !== false || strpos($encoding, "\r") !== false) { + throw new \InvalidArgumentException('The encoding can not contain newline characters to prevent email header injection'); + } + + $this->encoding = $encoding; + + return $this; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php new file mode 100644 index 00000000..6718e9e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php @@ -0,0 +1,202 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\NormalizerFormatter; + +/** + * Class to record a log on a NewRelic application. + * Enabling New Relic High Security mode may prevent capture of useful information. + * + * @see https://docs.newrelic.com/docs/agents/php-agent + * @see https://docs.newrelic.com/docs/accounts-partnerships/accounts/security/high-security + */ +class NewRelicHandler extends AbstractProcessingHandler +{ + /** + * Name of the New Relic application that will receive logs from this handler. + * + * @var string + */ + protected $appName; + + /** + * Name of the current transaction + * + * @var string + */ + protected $transactionName; + + /** + * Some context and extra data is passed into the handler as arrays of values. Do we send them as is + * (useful if we are using the API), or explode them for display on the NewRelic RPM website? + * + * @var bool + */ + protected $explodeArrays; + + /** + * {@inheritDoc} + * + * @param string $appName + * @param bool $explodeArrays + * @param string $transactionName + */ + public function __construct( + $level = Logger::ERROR, + $bubble = true, + $appName = null, + $explodeArrays = false, + $transactionName = null + ) { + parent::__construct($level, $bubble); + + $this->appName = $appName; + $this->explodeArrays = $explodeArrays; + $this->transactionName = $transactionName; + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + if (!$this->isNewRelicEnabled()) { + throw new MissingExtensionException('The newrelic PHP extension is required to use the NewRelicHandler'); + } + + if ($appName = $this->getAppName($record['context'])) { + $this->setNewRelicAppName($appName); + } + + if ($transactionName = $this->getTransactionName($record['context'])) { + $this->setNewRelicTransactionName($transactionName); + unset($record['formatted']['context']['transaction_name']); + } + + if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) { + newrelic_notice_error($record['message'], $record['context']['exception']); + unset($record['formatted']['context']['exception']); + } else { + newrelic_notice_error($record['message']); + } + + if (isset($record['formatted']['context']) && is_array($record['formatted']['context'])) { + foreach ($record['formatted']['context'] as $key => $parameter) { + if (is_array($parameter) && $this->explodeArrays) { + foreach ($parameter as $paramKey => $paramValue) { + $this->setNewRelicParameter('context_' . $key . '_' . $paramKey, $paramValue); + } + } else { + $this->setNewRelicParameter('context_' . $key, $parameter); + } + } + } + + if (isset($record['formatted']['extra']) && is_array($record['formatted']['extra'])) { + foreach ($record['formatted']['extra'] as $key => $parameter) { + if (is_array($parameter) && $this->explodeArrays) { + foreach ($parameter as $paramKey => $paramValue) { + $this->setNewRelicParameter('extra_' . $key . '_' . $paramKey, $paramValue); + } + } else { + $this->setNewRelicParameter('extra_' . $key, $parameter); + } + } + } + } + + /** + * Checks whether the NewRelic extension is enabled in the system. + * + * @return bool + */ + protected function isNewRelicEnabled() + { + return extension_loaded('newrelic'); + } + + /** + * Returns the appname where this log should be sent. Each log can override the default appname, set in this + * handler's constructor, by providing the appname in it's context. + * + * @param array $context + * @return null|string + */ + protected function getAppName(array $context) + { + if (isset($context['appname'])) { + return $context['appname']; + } + + return $this->appName; + } + + /** + * Returns the name of the current transaction. Each log can override the default transaction name, set in this + * handler's constructor, by providing the transaction_name in it's context + * + * @param array $context + * + * @return null|string + */ + protected function getTransactionName(array $context) + { + if (isset($context['transaction_name'])) { + return $context['transaction_name']; + } + + return $this->transactionName; + } + + /** + * Sets the NewRelic application that should receive this log. + * + * @param string $appName + */ + protected function setNewRelicAppName($appName) + { + newrelic_set_appname($appName); + } + + /** + * Overwrites the name of the current transaction + * + * @param string $transactionName + */ + protected function setNewRelicTransactionName($transactionName) + { + newrelic_name_transaction($transactionName); + } + + /** + * @param string $key + * @param mixed $value + */ + protected function setNewRelicParameter($key, $value) + { + if (null === $value || is_scalar($value)) { + newrelic_add_custom_parameter($key, $value); + } else { + newrelic_add_custom_parameter($key, @json_encode($value)); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new NormalizerFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php new file mode 100644 index 00000000..4b845883 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/NullHandler.php @@ -0,0 +1,45 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Blackhole + * + * Any record it can handle will be thrown away. This can be used + * to put on top of an existing stack to override it temporarily. + * + * @author Jordi Boggiano + */ +class NullHandler extends AbstractHandler +{ + /** + * @param int $level The minimum logging level at which this handler will be triggered + */ + public function __construct($level = Logger::DEBUG) + { + parent::__construct($level, false); + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if ($record['level'] < $this->level) { + return false; + } + + return true; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php new file mode 100644 index 00000000..1f2076a4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php @@ -0,0 +1,242 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Exception; +use Monolog\Formatter\LineFormatter; +use Monolog\Logger; +use PhpConsole\Connector; +use PhpConsole\Handler; +use PhpConsole\Helper; + +/** + * Monolog handler for Google Chrome extension "PHP Console" + * + * Display PHP error/debug log messages in Google Chrome console and notification popups, executes PHP code remotely + * + * Usage: + * 1. Install Google Chrome extension https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef + * 2. See overview https://github.com/barbushin/php-console#overview + * 3. Install PHP Console library https://github.com/barbushin/php-console#installation + * 4. Example (result will looks like http://i.hizliresim.com/vg3Pz4.png) + * + * $logger = new \Monolog\Logger('all', array(new \Monolog\Handler\PHPConsoleHandler())); + * \Monolog\ErrorHandler::register($logger); + * echo $undefinedVar; + * $logger->addDebug('SELECT * FROM users', array('db', 'time' => 0.012)); + * PC::debug($_SERVER); // PHP Console debugger for any type of vars + * + * @author Sergey Barbushin https://www.linkedin.com/in/barbushin + */ +class PHPConsoleHandler extends AbstractProcessingHandler +{ + private $options = array( + 'enabled' => true, // bool Is PHP Console server enabled + 'classesPartialsTraceIgnore' => array('Monolog\\'), // array Hide calls of classes started with... + 'debugTagsKeysInContext' => array(0, 'tag'), // bool Is PHP Console server enabled + 'useOwnErrorsHandler' => false, // bool Enable errors handling + 'useOwnExceptionsHandler' => false, // bool Enable exceptions handling + 'sourcesBasePath' => null, // string Base path of all project sources to strip in errors source paths + 'registerHelper' => true, // bool Register PhpConsole\Helper that allows short debug calls like PC::debug($var, 'ta.g.s') + 'serverEncoding' => null, // string|null Server internal encoding + 'headersLimit' => null, // int|null Set headers size limit for your web-server + 'password' => null, // string|null Protect PHP Console connection by password + 'enableSslOnlyMode' => false, // bool Force connection by SSL for clients with PHP Console installed + 'ipMasks' => array(), // array Set IP masks of clients that will be allowed to connect to PHP Console: array('192.168.*.*', '127.0.0.1') + 'enableEvalListener' => false, // bool Enable eval request to be handled by eval dispatcher(if enabled, 'password' option is also required) + 'dumperDetectCallbacks' => false, // bool Convert callback items in dumper vars to (callback SomeClass::someMethod) strings + 'dumperLevelLimit' => 5, // int Maximum dumped vars array or object nested dump level + 'dumperItemsCountLimit' => 100, // int Maximum dumped var same level array items or object properties number + 'dumperItemSizeLimit' => 5000, // int Maximum length of any string or dumped array item + 'dumperDumpSizeLimit' => 500000, // int Maximum approximate size of dumped vars result formatted in JSON + 'detectDumpTraceAndSource' => false, // bool Autodetect and append trace data to debug + 'dataStorage' => null, // PhpConsole\Storage|null Fixes problem with custom $_SESSION handler(see http://goo.gl/Ne8juJ) + ); + + /** @var Connector */ + private $connector; + + /** + * @param array $options See \Monolog\Handler\PHPConsoleHandler::$options for more details + * @param Connector|null $connector Instance of \PhpConsole\Connector class (optional) + * @param int $level + * @param bool $bubble + * @throws Exception + */ + public function __construct(array $options = array(), Connector $connector = null, $level = Logger::DEBUG, $bubble = true) + { + if (!class_exists('PhpConsole\Connector')) { + throw new Exception('PHP Console library not found. See https://github.com/barbushin/php-console#installation'); + } + parent::__construct($level, $bubble); + $this->options = $this->initOptions($options); + $this->connector = $this->initConnector($connector); + } + + private function initOptions(array $options) + { + $wrongOptions = array_diff(array_keys($options), array_keys($this->options)); + if ($wrongOptions) { + throw new Exception('Unknown options: ' . implode(', ', $wrongOptions)); + } + + return array_replace($this->options, $options); + } + + private function initConnector(Connector $connector = null) + { + if (!$connector) { + if ($this->options['dataStorage']) { + Connector::setPostponeStorage($this->options['dataStorage']); + } + $connector = Connector::getInstance(); + } + + if ($this->options['registerHelper'] && !Helper::isRegistered()) { + Helper::register(); + } + + if ($this->options['enabled'] && $connector->isActiveClient()) { + if ($this->options['useOwnErrorsHandler'] || $this->options['useOwnExceptionsHandler']) { + $handler = Handler::getInstance(); + $handler->setHandleErrors($this->options['useOwnErrorsHandler']); + $handler->setHandleExceptions($this->options['useOwnExceptionsHandler']); + $handler->start(); + } + if ($this->options['sourcesBasePath']) { + $connector->setSourcesBasePath($this->options['sourcesBasePath']); + } + if ($this->options['serverEncoding']) { + $connector->setServerEncoding($this->options['serverEncoding']); + } + if ($this->options['password']) { + $connector->setPassword($this->options['password']); + } + if ($this->options['enableSslOnlyMode']) { + $connector->enableSslOnlyMode(); + } + if ($this->options['ipMasks']) { + $connector->setAllowedIpMasks($this->options['ipMasks']); + } + if ($this->options['headersLimit']) { + $connector->setHeadersLimit($this->options['headersLimit']); + } + if ($this->options['detectDumpTraceAndSource']) { + $connector->getDebugDispatcher()->detectTraceAndSource = true; + } + $dumper = $connector->getDumper(); + $dumper->levelLimit = $this->options['dumperLevelLimit']; + $dumper->itemsCountLimit = $this->options['dumperItemsCountLimit']; + $dumper->itemSizeLimit = $this->options['dumperItemSizeLimit']; + $dumper->dumpSizeLimit = $this->options['dumperDumpSizeLimit']; + $dumper->detectCallbacks = $this->options['dumperDetectCallbacks']; + if ($this->options['enableEvalListener']) { + $connector->startEvalRequestsListener(); + } + } + + return $connector; + } + + public function getConnector() + { + return $this->connector; + } + + public function getOptions() + { + return $this->options; + } + + public function handle(array $record) + { + if ($this->options['enabled'] && $this->connector->isActiveClient()) { + return parent::handle($record); + } + + return !$this->bubble; + } + + /** + * Writes the record down to the log of the implementing handler + * + * @param array $record + * @return void + */ + protected function write(array $record) + { + if ($record['level'] < Logger::NOTICE) { + $this->handleDebugRecord($record); + } elseif (isset($record['context']['exception']) && $record['context']['exception'] instanceof Exception) { + $this->handleExceptionRecord($record); + } else { + $this->handleErrorRecord($record); + } + } + + private function handleDebugRecord(array $record) + { + $tags = $this->getRecordTags($record); + $message = $record['message']; + if ($record['context']) { + $message .= ' ' . json_encode($this->connector->getDumper()->dump(array_filter($record['context']))); + } + $this->connector->getDebugDispatcher()->dispatchDebug($message, $tags, $this->options['classesPartialsTraceIgnore']); + } + + private function handleExceptionRecord(array $record) + { + $this->connector->getErrorsDispatcher()->dispatchException($record['context']['exception']); + } + + private function handleErrorRecord(array $record) + { + $context = $record['context']; + + $this->connector->getErrorsDispatcher()->dispatchError( + isset($context['code']) ? $context['code'] : null, + isset($context['message']) ? $context['message'] : $record['message'], + isset($context['file']) ? $context['file'] : null, + isset($context['line']) ? $context['line'] : null, + $this->options['classesPartialsTraceIgnore'] + ); + } + + private function getRecordTags(array &$record) + { + $tags = null; + if (!empty($record['context'])) { + $context = & $record['context']; + foreach ($this->options['debugTagsKeysInContext'] as $key) { + if (!empty($context[$key])) { + $tags = $context[$key]; + if ($key === 0) { + array_shift($context); + } else { + unset($context[$key]); + } + break; + } + } + } + + return $tags ?: strtolower($record['level_name']); + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new LineFormatter('%message%'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php new file mode 100644 index 00000000..1ae85845 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PsrHandler.php @@ -0,0 +1,56 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Psr\Log\LoggerInterface; + +/** + * Proxies log messages to an existing PSR-3 compliant logger. + * + * @author Michael Moussa + */ +class PsrHandler extends AbstractHandler +{ + /** + * PSR-3 compliant logger + * + * @var LoggerInterface + */ + protected $logger; + + /** + * @param LoggerInterface $logger The underlying PSR-3 compliant logger to which messages will be proxied + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(LoggerInterface $logger, $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + + $this->logger = $logger; + } + + /** + * {@inheritDoc} + */ + public function handle(array $record) + { + if (!$this->isHandling($record)) { + return false; + } + + $this->logger->log(strtolower($record['level_name']), $record['message'], $record['context']); + + return false === $this->bubble; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php new file mode 100644 index 00000000..bba72005 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/PushoverHandler.php @@ -0,0 +1,185 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Sends notifications through the pushover api to mobile phones + * + * @author Sebastian Göttschkes + * @see https://www.pushover.net/api + */ +class PushoverHandler extends SocketHandler +{ + private $token; + private $users; + private $title; + private $user; + private $retry; + private $expire; + + private $highPriorityLevel; + private $emergencyLevel; + private $useFormattedMessage = false; + + /** + * All parameters that can be sent to Pushover + * @see https://pushover.net/api + * @var array + */ + private $parameterNames = array( + 'token' => true, + 'user' => true, + 'message' => true, + 'device' => true, + 'title' => true, + 'url' => true, + 'url_title' => true, + 'priority' => true, + 'timestamp' => true, + 'sound' => true, + 'retry' => true, + 'expire' => true, + 'callback' => true, + ); + + /** + * Sounds the api supports by default + * @see https://pushover.net/api#sounds + * @var array + */ + private $sounds = array( + 'pushover', 'bike', 'bugle', 'cashregister', 'classical', 'cosmic', 'falling', 'gamelan', 'incoming', + 'intermission', 'magic', 'mechanical', 'pianobar', 'siren', 'spacealarm', 'tugboat', 'alien', 'climb', + 'persistent', 'echo', 'updown', 'none', + ); + + /** + * @param string $token Pushover api token + * @param string|array $users Pushover user id or array of ids the message will be sent to + * @param string $title Title sent to the Pushover API + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param Boolean $useSSL Whether to connect via SSL. Required when pushing messages to users that are not + * the pushover.net app owner. OpenSSL is required for this option. + * @param int $highPriorityLevel The minimum logging level at which this handler will start + * sending "high priority" requests to the Pushover API + * @param int $emergencyLevel The minimum logging level at which this handler will start + * sending "emergency" requests to the Pushover API + * @param int $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user. + * @param int $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds). + */ + public function __construct($token, $users, $title = null, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $highPriorityLevel = Logger::CRITICAL, $emergencyLevel = Logger::EMERGENCY, $retry = 30, $expire = 25200) + { + $connectionString = $useSSL ? 'ssl://api.pushover.net:443' : 'api.pushover.net:80'; + parent::__construct($connectionString, $level, $bubble); + + $this->token = $token; + $this->users = (array) $users; + $this->title = $title ?: gethostname(); + $this->highPriorityLevel = Logger::toMonologLevel($highPriorityLevel); + $this->emergencyLevel = Logger::toMonologLevel($emergencyLevel); + $this->retry = $retry; + $this->expire = $expire; + } + + protected function generateDataStream($record) + { + $content = $this->buildContent($record); + + return $this->buildHeader($content) . $content; + } + + private function buildContent($record) + { + // Pushover has a limit of 512 characters on title and message combined. + $maxMessageLength = 512 - strlen($this->title); + + $message = ($this->useFormattedMessage) ? $record['formatted'] : $record['message']; + $message = substr($message, 0, $maxMessageLength); + + $timestamp = $record['datetime']->getTimestamp(); + + $dataArray = array( + 'token' => $this->token, + 'user' => $this->user, + 'message' => $message, + 'title' => $this->title, + 'timestamp' => $timestamp, + ); + + if (isset($record['level']) && $record['level'] >= $this->emergencyLevel) { + $dataArray['priority'] = 2; + $dataArray['retry'] = $this->retry; + $dataArray['expire'] = $this->expire; + } elseif (isset($record['level']) && $record['level'] >= $this->highPriorityLevel) { + $dataArray['priority'] = 1; + } + + // First determine the available parameters + $context = array_intersect_key($record['context'], $this->parameterNames); + $extra = array_intersect_key($record['extra'], $this->parameterNames); + + // Least important info should be merged with subsequent info + $dataArray = array_merge($extra, $context, $dataArray); + + // Only pass sounds that are supported by the API + if (isset($dataArray['sound']) && !in_array($dataArray['sound'], $this->sounds)) { + unset($dataArray['sound']); + } + + return http_build_query($dataArray); + } + + private function buildHeader($content) + { + $header = "POST /1/messages.json HTTP/1.1\r\n"; + $header .= "Host: api.pushover.net\r\n"; + $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; + $header .= "Content-Length: " . strlen($content) . "\r\n"; + $header .= "\r\n"; + + return $header; + } + + protected function write(array $record) + { + foreach ($this->users as $user) { + $this->user = $user; + + parent::write($record); + $this->closeSocket(); + } + + $this->user = null; + } + + public function setHighPriorityLevel($value) + { + $this->highPriorityLevel = $value; + } + + public function setEmergencyLevel($value) + { + $this->emergencyLevel = $value; + } + + /** + * Use the formatted message? + * @param bool $value + */ + public function useFormattedMessage($value) + { + $this->useFormattedMessage = (boolean) $value; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php new file mode 100644 index 00000000..53a8b391 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RavenHandler.php @@ -0,0 +1,232 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\Formatter\FormatterInterface; +use Monolog\Logger; +use Raven_Client; + +/** + * Handler to send messages to a Sentry (https://github.com/getsentry/sentry) server + * using raven-php (https://github.com/getsentry/raven-php) + * + * @author Marc Abramowitz + */ +class RavenHandler extends AbstractProcessingHandler +{ + /** + * Translates Monolog log levels to Raven log levels. + */ + private $logLevels = array( + Logger::DEBUG => Raven_Client::DEBUG, + Logger::INFO => Raven_Client::INFO, + Logger::NOTICE => Raven_Client::INFO, + Logger::WARNING => Raven_Client::WARNING, + Logger::ERROR => Raven_Client::ERROR, + Logger::CRITICAL => Raven_Client::FATAL, + Logger::ALERT => Raven_Client::FATAL, + Logger::EMERGENCY => Raven_Client::FATAL, + ); + + /** + * @var string should represent the current version of the calling + * software. Can be any string (git commit, version number) + */ + private $release; + + /** + * @var Raven_Client the client object that sends the message to the server + */ + protected $ravenClient; + + /** + * @var LineFormatter The formatter to use for the logs generated via handleBatch() + */ + protected $batchFormatter; + + /** + * @param Raven_Client $ravenClient + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + + $this->ravenClient = $ravenClient; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + $level = $this->level; + + // filter records based on their level + $records = array_filter($records, function ($record) use ($level) { + return $record['level'] >= $level; + }); + + if (!$records) { + return; + } + + // the record with the highest severity is the "main" one + $record = array_reduce($records, function ($highest, $record) { + if ($record['level'] > $highest['level']) { + return $record; + } + + return $highest; + }); + + // the other ones are added as a context item + $logs = array(); + foreach ($records as $r) { + $logs[] = $this->processRecord($r); + } + + if ($logs) { + $record['context']['logs'] = (string) $this->getBatchFormatter()->formatBatch($logs); + } + + $this->handle($record); + } + + /** + * Sets the formatter for the logs generated by handleBatch(). + * + * @param FormatterInterface $formatter + */ + public function setBatchFormatter(FormatterInterface $formatter) + { + $this->batchFormatter = $formatter; + } + + /** + * Gets the formatter for the logs generated by handleBatch(). + * + * @return FormatterInterface + */ + public function getBatchFormatter() + { + if (!$this->batchFormatter) { + $this->batchFormatter = $this->getDefaultBatchFormatter(); + } + + return $this->batchFormatter; + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $previousUserContext = false; + $options = array(); + $options['level'] = $this->logLevels[$record['level']]; + $options['tags'] = array(); + if (!empty($record['extra']['tags'])) { + $options['tags'] = array_merge($options['tags'], $record['extra']['tags']); + unset($record['extra']['tags']); + } + if (!empty($record['context']['tags'])) { + $options['tags'] = array_merge($options['tags'], $record['context']['tags']); + unset($record['context']['tags']); + } + if (!empty($record['context']['fingerprint'])) { + $options['fingerprint'] = $record['context']['fingerprint']; + unset($record['context']['fingerprint']); + } + if (!empty($record['context']['logger'])) { + $options['logger'] = $record['context']['logger']; + unset($record['context']['logger']); + } else { + $options['logger'] = $record['channel']; + } + foreach ($this->getExtraParameters() as $key) { + foreach (array('extra', 'context') as $source) { + if (!empty($record[$source][$key])) { + $options[$key] = $record[$source][$key]; + unset($record[$source][$key]); + } + } + } + if (!empty($record['context'])) { + $options['extra']['context'] = $record['context']; + if (!empty($record['context']['user'])) { + $previousUserContext = $this->ravenClient->context->user; + $this->ravenClient->user_context($record['context']['user']); + unset($options['extra']['context']['user']); + } + } + if (!empty($record['extra'])) { + $options['extra']['extra'] = $record['extra']; + } + + if (!empty($this->release) && !isset($options['release'])) { + $options['release'] = $this->release; + } + + if (isset($record['context']['exception']) && ($record['context']['exception'] instanceof \Exception || (PHP_VERSION_ID >= 70000 && $record['context']['exception'] instanceof \Throwable))) { + $options['extra']['message'] = $record['formatted']; + $this->ravenClient->captureException($record['context']['exception'], $options); + } else { + $this->ravenClient->captureMessage($record['formatted'], array(), $options); + } + + if ($previousUserContext !== false) { + $this->ravenClient->user_context($previousUserContext); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new LineFormatter('[%channel%] %message%'); + } + + /** + * Gets the default formatter for the logs generated by handleBatch(). + * + * @return FormatterInterface + */ + protected function getDefaultBatchFormatter() + { + return new LineFormatter(); + } + + /** + * Gets extra parameters supported by Raven that can be found in "extra" and "context" + * + * @return array + */ + protected function getExtraParameters() + { + return array('checksum', 'release', 'event_id'); + } + + /** + * @param string $value + * @return self + */ + public function setRelease($value) + { + $this->release = $value; + + return $this; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php new file mode 100644 index 00000000..590f9965 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RedisHandler.php @@ -0,0 +1,97 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\Logger; + +/** + * Logs to a Redis key using rpush + * + * usage example: + * + * $log = new Logger('application'); + * $redis = new RedisHandler(new Predis\Client("tcp://localhost:6379"), "logs", "prod"); + * $log->pushHandler($redis); + * + * @author Thomas Tourlourat + */ +class RedisHandler extends AbstractProcessingHandler +{ + private $redisClient; + private $redisKey; + protected $capSize; + + /** + * @param \Predis\Client|\Redis $redis The redis instance + * @param string $key The key name to push records to + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $capSize Number of entries to limit list size to + */ + public function __construct($redis, $key, $level = Logger::DEBUG, $bubble = true, $capSize = false) + { + if (!(($redis instanceof \Predis\Client) || ($redis instanceof \Redis))) { + throw new \InvalidArgumentException('Predis\Client or Redis instance required'); + } + + $this->redisClient = $redis; + $this->redisKey = $key; + $this->capSize = $capSize; + + parent::__construct($level, $bubble); + } + + /** + * {@inheritDoc} + */ + protected function write(array $record) + { + if ($this->capSize) { + $this->writeCapped($record); + } else { + $this->redisClient->rpush($this->redisKey, $record["formatted"]); + } + } + + /** + * Write and cap the collection + * Writes the record to the redis list and caps its + * + * @param array $record associative record array + * @return void + */ + protected function writeCapped(array $record) + { + if ($this->redisClient instanceof \Redis) { + $this->redisClient->multi() + ->rpush($this->redisKey, $record["formatted"]) + ->ltrim($this->redisKey, -$this->capSize, -1) + ->exec(); + } else { + $redisKey = $this->redisKey; + $capSize = $this->capSize; + $this->redisClient->transaction(function ($tx) use ($record, $redisKey, $capSize) { + $tx->rpush($redisKey, $record["formatted"]); + $tx->ltrim($redisKey, -$capSize, -1); + }); + } + } + + /** + * {@inheritDoc} + */ + protected function getDefaultFormatter() + { + return new LineFormatter(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php new file mode 100644 index 00000000..6c8a3e3e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RollbarHandler.php @@ -0,0 +1,132 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use RollbarNotifier; +use Exception; +use Monolog\Logger; + +/** + * Sends errors to Rollbar + * + * If the context data contains a `payload` key, that is used as an array + * of payload options to RollbarNotifier's report_message/report_exception methods. + * + * Rollbar's context info will contain the context + extra keys from the log record + * merged, and then on top of that a few keys: + * + * - level (rollbar level name) + * - monolog_level (monolog level name, raw level, as rollbar only has 5 but monolog 8) + * - channel + * - datetime (unix timestamp) + * + * @author Paul Statezny + */ +class RollbarHandler extends AbstractProcessingHandler +{ + /** + * Rollbar notifier + * + * @var RollbarNotifier + */ + protected $rollbarNotifier; + + protected $levelMap = array( + Logger::DEBUG => 'debug', + Logger::INFO => 'info', + Logger::NOTICE => 'info', + Logger::WARNING => 'warning', + Logger::ERROR => 'error', + Logger::CRITICAL => 'critical', + Logger::ALERT => 'critical', + Logger::EMERGENCY => 'critical', + ); + + /** + * Records whether any log records have been added since the last flush of the rollbar notifier + * + * @var bool + */ + private $hasRecords = false; + + protected $initialized = false; + + /** + * @param RollbarNotifier $rollbarNotifier RollbarNotifier object constructed with valid token + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(RollbarNotifier $rollbarNotifier, $level = Logger::ERROR, $bubble = true) + { + $this->rollbarNotifier = $rollbarNotifier; + + parent::__construct($level, $bubble); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + if (!$this->initialized) { + // __destructor() doesn't get called on Fatal errors + register_shutdown_function(array($this, 'close')); + $this->initialized = true; + } + + $context = $record['context']; + $payload = array(); + if (isset($context['payload'])) { + $payload = $context['payload']; + unset($context['payload']); + } + $context = array_merge($context, $record['extra'], array( + 'level' => $this->levelMap[$record['level']], + 'monolog_level' => $record['level_name'], + 'channel' => $record['channel'], + 'datetime' => $record['datetime']->format('U'), + )); + + if (isset($context['exception']) && $context['exception'] instanceof Exception) { + $payload['level'] = $context['level']; + $exception = $context['exception']; + unset($context['exception']); + + $this->rollbarNotifier->report_exception($exception, $context, $payload); + } else { + $this->rollbarNotifier->report_message( + $record['message'], + $context['level'], + $context, + $payload + ); + } + + $this->hasRecords = true; + } + + public function flush() + { + if ($this->hasRecords) { + $this->rollbarNotifier->flush(); + $this->hasRecords = false; + } + } + + /** + * {@inheritdoc} + */ + public function close() + { + $this->flush(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php new file mode 100644 index 00000000..3b60b3d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php @@ -0,0 +1,178 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Stores logs to files that are rotated every day and a limited number of files are kept. + * + * This rotation is only intended to be used as a workaround. Using logrotate to + * handle the rotation is strongly encouraged when you can use it. + * + * @author Christophe Coevoet + * @author Jordi Boggiano + */ +class RotatingFileHandler extends StreamHandler +{ + const FILE_PER_DAY = 'Y-m-d'; + const FILE_PER_MONTH = 'Y-m'; + const FILE_PER_YEAR = 'Y'; + + protected $filename; + protected $maxFiles; + protected $mustRotate; + protected $nextRotation; + protected $filenameFormat; + protected $dateFormat; + + /** + * @param string $filename + * @param int $maxFiles The maximal amount of files to keep (0 means unlimited) + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write) + * @param Boolean $useLocking Try to lock log file before doing any writes + */ + public function __construct($filename, $maxFiles = 0, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false) + { + $this->filename = $filename; + $this->maxFiles = (int) $maxFiles; + $this->nextRotation = new \DateTime('tomorrow'); + $this->filenameFormat = '{filename}-{date}'; + $this->dateFormat = 'Y-m-d'; + + parent::__construct($this->getTimedFilename(), $level, $bubble, $filePermission, $useLocking); + } + + /** + * {@inheritdoc} + */ + public function close() + { + parent::close(); + + if (true === $this->mustRotate) { + $this->rotate(); + } + } + + public function setFilenameFormat($filenameFormat, $dateFormat) + { + if (!preg_match('{^Y(([/_.-]?m)([/_.-]?d)?)?$}', $dateFormat)) { + trigger_error( + 'Invalid date format - format must be one of '. + 'RotatingFileHandler::FILE_PER_DAY ("Y-m-d"), RotatingFileHandler::FILE_PER_MONTH ("Y-m") '. + 'or RotatingFileHandler::FILE_PER_YEAR ("Y"), or you can set one of the '. + 'date formats using slashes, underscores and/or dots instead of dashes.', + E_USER_DEPRECATED + ); + } + if (substr_count($filenameFormat, '{date}') === 0) { + trigger_error( + 'Invalid filename format - format should contain at least `{date}`, because otherwise rotating is impossible.', + E_USER_DEPRECATED + ); + } + $this->filenameFormat = $filenameFormat; + $this->dateFormat = $dateFormat; + $this->url = $this->getTimedFilename(); + $this->close(); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + // on the first record written, if the log is new, we should rotate (once per day) + if (null === $this->mustRotate) { + $this->mustRotate = !file_exists($this->url); + } + + if ($this->nextRotation < $record['datetime']) { + $this->mustRotate = true; + $this->close(); + } + + parent::write($record); + } + + /** + * Rotates the files. + */ + protected function rotate() + { + // update filename + $this->url = $this->getTimedFilename(); + $this->nextRotation = new \DateTime('tomorrow'); + + // skip GC of old logs if files are unlimited + if (0 === $this->maxFiles) { + return; + } + + $logFiles = glob($this->getGlobPattern()); + if ($this->maxFiles >= count($logFiles)) { + // no files to remove + return; + } + + // Sorting the files by name to remove the older ones + usort($logFiles, function ($a, $b) { + return strcmp($b, $a); + }); + + foreach (array_slice($logFiles, $this->maxFiles) as $file) { + if (is_writable($file)) { + // suppress errors here as unlink() might fail if two processes + // are cleaning up/rotating at the same time + set_error_handler(function ($errno, $errstr, $errfile, $errline) {}); + unlink($file); + restore_error_handler(); + } + } + + $this->mustRotate = false; + } + + protected function getTimedFilename() + { + $fileInfo = pathinfo($this->filename); + $timedFilename = str_replace( + array('{filename}', '{date}'), + array($fileInfo['filename'], date($this->dateFormat)), + $fileInfo['dirname'] . '/' . $this->filenameFormat + ); + + if (!empty($fileInfo['extension'])) { + $timedFilename .= '.'.$fileInfo['extension']; + } + + return $timedFilename; + } + + protected function getGlobPattern() + { + $fileInfo = pathinfo($this->filename); + $glob = str_replace( + array('{filename}', '{date}'), + array($fileInfo['filename'], '*'), + $fileInfo['dirname'] . '/' . $this->filenameFormat + ); + if (!empty($fileInfo['extension'])) { + $glob .= '.'.$fileInfo['extension']; + } + + return $glob; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php new file mode 100644 index 00000000..9509ae37 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SamplingHandler.php @@ -0,0 +1,82 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Sampling handler + * + * A sampled event stream can be useful for logging high frequency events in + * a production environment where you only need an idea of what is happening + * and are not concerned with capturing every occurrence. Since the decision to + * handle or not handle a particular event is determined randomly, the + * resulting sampled log is not guaranteed to contain 1/N of the events that + * occurred in the application, but based on the Law of large numbers, it will + * tend to be close to this ratio with a large number of attempts. + * + * @author Bryan Davis + * @author Kunal Mehta + */ +class SamplingHandler extends AbstractHandler +{ + /** + * @var callable|HandlerInterface $handler + */ + protected $handler; + + /** + * @var int $factor + */ + protected $factor; + + /** + * @param callable|HandlerInterface $handler Handler or factory callable($record, $fingersCrossedHandler). + * @param int $factor Sample factor + */ + public function __construct($handler, $factor) + { + parent::__construct(); + $this->handler = $handler; + $this->factor = $factor; + + if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) { + throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable nor a Monolog\Handler\HandlerInterface object"); + } + } + + public function isHandling(array $record) + { + return $this->handler->isHandling($record); + } + + public function handle(array $record) + { + if ($this->isHandling($record) && mt_rand(1, $this->factor) === 1) { + // The same logic as in FingersCrossedHandler + if (!$this->handler instanceof HandlerInterface) { + $this->handler = call_user_func($this->handler, $record, $this); + if (!$this->handler instanceof HandlerInterface) { + throw new \RuntimeException("The factory callable should return a HandlerInterface"); + } + } + + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + $this->handler->handle($record); + } + + return false === $this->bubble; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php new file mode 100644 index 00000000..38bc838a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php @@ -0,0 +1,294 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\Slack; + +use Monolog\Logger; +use Monolog\Formatter\NormalizerFormatter; +use Monolog\Formatter\FormatterInterface; + +/** + * Slack record utility helping to log to Slack webhooks or API. + * + * @author Greg Kedzierski + * @author Haralan Dobrev + * @see https://api.slack.com/incoming-webhooks + * @see https://api.slack.com/docs/message-attachments + */ +class SlackRecord +{ + const COLOR_DANGER = 'danger'; + + const COLOR_WARNING = 'warning'; + + const COLOR_GOOD = 'good'; + + const COLOR_DEFAULT = '#e3e4e6'; + + /** + * Slack channel (encoded ID or name) + * @var string|null + */ + private $channel; + + /** + * Name of a bot + * @var string|null + */ + private $username; + + /** + * User icon e.g. 'ghost', 'http://example.com/user.png' + * @var string + */ + private $userIcon; + + /** + * Whether the message should be added to Slack as attachment (plain text otherwise) + * @var bool + */ + private $useAttachment; + + /** + * Whether the the context/extra messages added to Slack as attachments are in a short style + * @var bool + */ + private $useShortAttachment; + + /** + * Whether the attachment should include context and extra data + * @var bool + */ + private $includeContextAndExtra; + + /** + * Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2'] + * @var array + */ + private $excludeFields; + + /** + * @var FormatterInterface + */ + private $formatter; + + /** + * @var NormalizerFormatter + */ + private $normalizerFormatter; + + public function __construct($channel = null, $username = null, $useAttachment = true, $userIcon = null, $useShortAttachment = false, $includeContextAndExtra = false, array $excludeFields = array(), FormatterInterface $formatter = null) + { + $this->channel = $channel; + $this->username = $username; + $this->userIcon = trim($userIcon, ':'); + $this->useAttachment = $useAttachment; + $this->useShortAttachment = $useShortAttachment; + $this->includeContextAndExtra = $includeContextAndExtra; + $this->excludeFields = $excludeFields; + $this->formatter = $formatter; + + if ($this->includeContextAndExtra) { + $this->normalizerFormatter = new NormalizerFormatter(); + } + } + + public function getSlackData(array $record) + { + $dataArray = array(); + $record = $this->excludeFields($record); + + if ($this->username) { + $dataArray['username'] = $this->username; + } + + if ($this->channel) { + $dataArray['channel'] = $this->channel; + } + + if ($this->formatter && !$this->useAttachment) { + $message = $this->formatter->format($record); + } else { + $message = $record['message']; + } + + if ($this->useAttachment) { + $attachment = array( + 'fallback' => $message, + 'text' => $message, + 'color' => $this->getAttachmentColor($record['level']), + 'fields' => array(), + 'mrkdwn_in' => array('fields'), + 'ts' => $record['datetime']->getTimestamp() + ); + + if ($this->useShortAttachment) { + $attachment['title'] = $record['level_name']; + } else { + $attachment['title'] = 'Message'; + $attachment['fields'][] = $this->generateAttachmentField('Level', $record['level_name']); + } + + + if ($this->includeContextAndExtra) { + foreach (array('extra', 'context') as $key) { + if (empty($record[$key])) { + continue; + } + + if ($this->useShortAttachment) { + $attachment['fields'][] = $this->generateAttachmentField( + ucfirst($key), + $record[$key] + ); + } else { + // Add all extra fields as individual fields in attachment + $attachment['fields'] = array_merge( + $attachment['fields'], + $this->generateAttachmentFields($record[$key]) + ); + } + } + } + + $dataArray['attachments'] = array($attachment); + } else { + $dataArray['text'] = $message; + } + + if ($this->userIcon) { + if (filter_var($this->userIcon, FILTER_VALIDATE_URL)) { + $dataArray['icon_url'] = $this->userIcon; + } else { + $dataArray['icon_emoji'] = ":{$this->userIcon}:"; + } + } + + return $dataArray; + } + + /** + * Returned a Slack message attachment color associated with + * provided level. + * + * @param int $level + * @return string + */ + public function getAttachmentColor($level) + { + switch (true) { + case $level >= Logger::ERROR: + return self::COLOR_DANGER; + case $level >= Logger::WARNING: + return self::COLOR_WARNING; + case $level >= Logger::INFO: + return self::COLOR_GOOD; + default: + return self::COLOR_DEFAULT; + } + } + + /** + * Stringifies an array of key/value pairs to be used in attachment fields + * + * @param array $fields + * + * @return string + */ + public function stringify($fields) + { + $normalized = $this->normalizerFormatter->format($fields); + $prettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128; + + $hasSecondDimension = count(array_filter($normalized, 'is_array')); + $hasNonNumericKeys = !count(array_filter(array_keys($normalized), 'is_numeric')); + + return $hasSecondDimension || $hasNonNumericKeys + ? json_encode($normalized, $prettyPrintFlag) + : json_encode($normalized); + } + + /** + * Sets the formatter + * + * @param FormatterInterface $formatter + */ + public function setFormatter(FormatterInterface $formatter) + { + $this->formatter = $formatter; + } + + /** + * Generates attachment field + * + * @param string $title + * @param string|array $value\ + * + * @return array + */ + private function generateAttachmentField($title, $value) + { + $value = is_array($value) + ? sprintf('```%s```', $this->stringify($value)) + : $value; + + return array( + 'title' => $title, + 'value' => $value, + 'short' => false + ); + } + + /** + * Generates a collection of attachment fields from array + * + * @param array $data + * + * @return array + */ + private function generateAttachmentFields(array $data) + { + $fields = array(); + foreach ($data as $key => $value) { + $fields[] = $this->generateAttachmentField($key, $value); + } + + return $fields; + } + + /** + * Get a copy of record with fields excluded according to $this->excludeFields + * + * @param array $record + * + * @return array + */ + private function excludeFields(array $record) + { + foreach ($this->excludeFields as $field) { + $keys = explode('.', $field); + $node = &$record; + $lastKey = end($keys); + foreach ($keys as $key) { + if (!isset($node[$key])) { + break; + } + if ($lastKey === $key) { + unset($node[$key]); + break; + } + $node = &$node[$key]; + } + } + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php new file mode 100644 index 00000000..3ac4d836 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackHandler.php @@ -0,0 +1,215 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; +use Monolog\Logger; +use Monolog\Handler\Slack\SlackRecord; + +/** + * Sends notifications through Slack API + * + * @author Greg Kedzierski + * @see https://api.slack.com/ + */ +class SlackHandler extends SocketHandler +{ + /** + * Slack API token + * @var string + */ + private $token; + + /** + * Instance of the SlackRecord util class preparing data for Slack API. + * @var SlackRecord + */ + private $slackRecord; + + /** + * @param string $token Slack API token + * @param string $channel Slack channel (encoded ID or name) + * @param string|null $username Name of a bot + * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise) + * @param string|null $iconEmoji The emoji name to use (or null) + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style + * @param bool $includeContextAndExtra Whether the attachment should include context and extra data + * @param array $excludeFields Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2'] + * @throws MissingExtensionException If no OpenSSL PHP extension configured + */ + public function __construct($token, $channel, $username = null, $useAttachment = true, $iconEmoji = null, $level = Logger::CRITICAL, $bubble = true, $useShortAttachment = false, $includeContextAndExtra = false, array $excludeFields = array()) + { + if (!extension_loaded('openssl')) { + throw new MissingExtensionException('The OpenSSL PHP extension is required to use the SlackHandler'); + } + + parent::__construct('ssl://slack.com:443', $level, $bubble); + + $this->slackRecord = new SlackRecord( + $channel, + $username, + $useAttachment, + $iconEmoji, + $useShortAttachment, + $includeContextAndExtra, + $excludeFields, + $this->formatter + ); + + $this->token = $token; + } + + public function getSlackRecord() + { + return $this->slackRecord; + } + + /** + * {@inheritdoc} + * + * @param array $record + * @return string + */ + protected function generateDataStream($record) + { + $content = $this->buildContent($record); + + return $this->buildHeader($content) . $content; + } + + /** + * Builds the body of API call + * + * @param array $record + * @return string + */ + private function buildContent($record) + { + $dataArray = $this->prepareContentData($record); + + return http_build_query($dataArray); + } + + /** + * Prepares content data + * + * @param array $record + * @return array + */ + protected function prepareContentData($record) + { + $dataArray = $this->slackRecord->getSlackData($record); + $dataArray['token'] = $this->token; + + if (!empty($dataArray['attachments'])) { + $dataArray['attachments'] = json_encode($dataArray['attachments']); + } + + return $dataArray; + } + + /** + * Builds the header of the API Call + * + * @param string $content + * @return string + */ + private function buildHeader($content) + { + $header = "POST /api/chat.postMessage HTTP/1.1\r\n"; + $header .= "Host: slack.com\r\n"; + $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; + $header .= "Content-Length: " . strlen($content) . "\r\n"; + $header .= "\r\n"; + + return $header; + } + + /** + * {@inheritdoc} + * + * @param array $record + */ + protected function write(array $record) + { + parent::write($record); + $this->finalizeWrite(); + } + + /** + * Finalizes the request by reading some bytes and then closing the socket + * + * If we do not read some but close the socket too early, slack sometimes + * drops the request entirely. + */ + protected function finalizeWrite() + { + $res = $this->getResource(); + if (is_resource($res)) { + @fread($res, 2048); + } + $this->closeSocket(); + } + + /** + * Returned a Slack message attachment color associated with + * provided level. + * + * @param int $level + * @return string + * @deprecated Use underlying SlackRecord instead + */ + protected function getAttachmentColor($level) + { + trigger_error( + 'SlackHandler::getAttachmentColor() is deprecated. Use underlying SlackRecord instead.', + E_USER_DEPRECATED + ); + + return $this->slackRecord->getAttachmentColor($level); + } + + /** + * Stringifies an array of key/value pairs to be used in attachment fields + * + * @param array $fields + * @return string + * @deprecated Use underlying SlackRecord instead + */ + protected function stringify($fields) + { + trigger_error( + 'SlackHandler::stringify() is deprecated. Use underlying SlackRecord instead.', + E_USER_DEPRECATED + ); + + return $this->slackRecord->stringify($fields); + } + + public function setFormatter(FormatterInterface $formatter) + { + parent::setFormatter($formatter); + $this->slackRecord->setFormatter($formatter); + + return $this; + } + + public function getFormatter() + { + $formatter = parent::getFormatter(); + $this->slackRecord->setFormatter($formatter); + + return $formatter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php new file mode 100644 index 00000000..9a1bbb44 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php @@ -0,0 +1,115 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; +use Monolog\Logger; +use Monolog\Handler\Slack\SlackRecord; + +/** + * Sends notifications through Slack Webhooks + * + * @author Haralan Dobrev + * @see https://api.slack.com/incoming-webhooks + */ +class SlackWebhookHandler extends AbstractProcessingHandler +{ + /** + * Slack Webhook token + * @var string + */ + private $webhookUrl; + + /** + * Instance of the SlackRecord util class preparing data for Slack API. + * @var SlackRecord + */ + private $slackRecord; + + /** + * @param string $webhookUrl Slack Webhook URL + * @param string|null $channel Slack channel (encoded ID or name) + * @param string|null $username Name of a bot + * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise) + * @param string|null $iconEmoji The emoji name to use (or null) + * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style + * @param bool $includeContextAndExtra Whether the attachment should include context and extra data + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param array $excludeFields Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2'] + */ + public function __construct($webhookUrl, $channel = null, $username = null, $useAttachment = true, $iconEmoji = null, $useShortAttachment = false, $includeContextAndExtra = false, $level = Logger::CRITICAL, $bubble = true, array $excludeFields = array()) + { + parent::__construct($level, $bubble); + + $this->webhookUrl = $webhookUrl; + + $this->slackRecord = new SlackRecord( + $channel, + $username, + $useAttachment, + $iconEmoji, + $useShortAttachment, + $includeContextAndExtra, + $excludeFields, + $this->formatter + ); + } + + public function getSlackRecord() + { + return $this->slackRecord; + } + + /** + * {@inheritdoc} + * + * @param array $record + */ + protected function write(array $record) + { + $postData = $this->slackRecord->getSlackData($record); + $postString = json_encode($postData); + + $ch = curl_init(); + $options = array( + CURLOPT_URL => $this->webhookUrl, + CURLOPT_POST => true, + CURLOPT_RETURNTRANSFER => true, + CURLOPT_HTTPHEADER => array('Content-type: application/json'), + CURLOPT_POSTFIELDS => $postString + ); + if (defined('CURLOPT_SAFE_UPLOAD')) { + $options[CURLOPT_SAFE_UPLOAD] = true; + } + + curl_setopt_array($ch, $options); + + Curl\Util::execute($ch); + } + + public function setFormatter(FormatterInterface $formatter) + { + parent::setFormatter($formatter); + $this->slackRecord->setFormatter($formatter); + + return $this; + } + + public function getFormatter() + { + $formatter = parent::getFormatter(); + $this->slackRecord->setFormatter($formatter); + + return $formatter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php new file mode 100644 index 00000000..baead525 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php @@ -0,0 +1,80 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Sends notifications through Slack's Slackbot + * + * @author Haralan Dobrev + * @see https://slack.com/apps/A0F81R8ET-slackbot + */ +class SlackbotHandler extends AbstractProcessingHandler +{ + /** + * The slug of the Slack team + * @var string + */ + private $slackTeam; + + /** + * Slackbot token + * @var string + */ + private $token; + + /** + * Slack channel name + * @var string + */ + private $channel; + + /** + * @param string $slackTeam Slack team slug + * @param string $token Slackbot token + * @param string $channel Slack channel (encoded ID or name) + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($slackTeam, $token, $channel, $level = Logger::CRITICAL, $bubble = true) + { + parent::__construct($level, $bubble); + + $this->slackTeam = $slackTeam; + $this->token = $token; + $this->channel = $channel; + } + + /** + * {@inheritdoc} + * + * @param array $record + */ + protected function write(array $record) + { + $slackbotUrl = sprintf( + 'https://%s.slack.com/services/hooks/slackbot?token=%s&channel=%s', + $this->slackTeam, + $this->token, + $this->channel + ); + + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $slackbotUrl); + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, $record['message']); + + Curl\Util::execute($ch); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php new file mode 100644 index 00000000..7a61bf4e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SocketHandler.php @@ -0,0 +1,346 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Stores to any socket - uses fsockopen() or pfsockopen(). + * + * @author Pablo de Leon Belloc + * @see http://php.net/manual/en/function.fsockopen.php + */ +class SocketHandler extends AbstractProcessingHandler +{ + private $connectionString; + private $connectionTimeout; + private $resource; + private $timeout = 0; + private $writingTimeout = 10; + private $lastSentBytes = null; + private $persistent = false; + private $errno; + private $errstr; + private $lastWritingAt; + + /** + * @param string $connectionString Socket connection string + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct($connectionString, $level = Logger::DEBUG, $bubble = true) + { + parent::__construct($level, $bubble); + $this->connectionString = $connectionString; + $this->connectionTimeout = (float) ini_get('default_socket_timeout'); + } + + /** + * Connect (if necessary) and write to the socket + * + * @param array $record + * + * @throws \UnexpectedValueException + * @throws \RuntimeException + */ + protected function write(array $record) + { + $this->connectIfNotConnected(); + $data = $this->generateDataStream($record); + $this->writeToSocket($data); + } + + /** + * We will not close a PersistentSocket instance so it can be reused in other requests. + */ + public function close() + { + if (!$this->isPersistent()) { + $this->closeSocket(); + } + } + + /** + * Close socket, if open + */ + public function closeSocket() + { + if (is_resource($this->resource)) { + fclose($this->resource); + $this->resource = null; + } + } + + /** + * Set socket connection to nbe persistent. It only has effect before the connection is initiated. + * + * @param bool $persistent + */ + public function setPersistent($persistent) + { + $this->persistent = (boolean) $persistent; + } + + /** + * Set connection timeout. Only has effect before we connect. + * + * @param float $seconds + * + * @see http://php.net/manual/en/function.fsockopen.php + */ + public function setConnectionTimeout($seconds) + { + $this->validateTimeout($seconds); + $this->connectionTimeout = (float) $seconds; + } + + /** + * Set write timeout. Only has effect before we connect. + * + * @param float $seconds + * + * @see http://php.net/manual/en/function.stream-set-timeout.php + */ + public function setTimeout($seconds) + { + $this->validateTimeout($seconds); + $this->timeout = (float) $seconds; + } + + /** + * Set writing timeout. Only has effect during connection in the writing cycle. + * + * @param float $seconds 0 for no timeout + */ + public function setWritingTimeout($seconds) + { + $this->validateTimeout($seconds); + $this->writingTimeout = (float) $seconds; + } + + /** + * Get current connection string + * + * @return string + */ + public function getConnectionString() + { + return $this->connectionString; + } + + /** + * Get persistent setting + * + * @return bool + */ + public function isPersistent() + { + return $this->persistent; + } + + /** + * Get current connection timeout setting + * + * @return float + */ + public function getConnectionTimeout() + { + return $this->connectionTimeout; + } + + /** + * Get current in-transfer timeout + * + * @return float + */ + public function getTimeout() + { + return $this->timeout; + } + + /** + * Get current local writing timeout + * + * @return float + */ + public function getWritingTimeout() + { + return $this->writingTimeout; + } + + /** + * Check to see if the socket is currently available. + * + * UDP might appear to be connected but might fail when writing. See http://php.net/fsockopen for details. + * + * @return bool + */ + public function isConnected() + { + return is_resource($this->resource) + && !feof($this->resource); // on TCP - other party can close connection. + } + + /** + * Wrapper to allow mocking + */ + protected function pfsockopen() + { + return @pfsockopen($this->connectionString, -1, $this->errno, $this->errstr, $this->connectionTimeout); + } + + /** + * Wrapper to allow mocking + */ + protected function fsockopen() + { + return @fsockopen($this->connectionString, -1, $this->errno, $this->errstr, $this->connectionTimeout); + } + + /** + * Wrapper to allow mocking + * + * @see http://php.net/manual/en/function.stream-set-timeout.php + */ + protected function streamSetTimeout() + { + $seconds = floor($this->timeout); + $microseconds = round(($this->timeout - $seconds) * 1e6); + + return stream_set_timeout($this->resource, $seconds, $microseconds); + } + + /** + * Wrapper to allow mocking + */ + protected function fwrite($data) + { + return @fwrite($this->resource, $data); + } + + /** + * Wrapper to allow mocking + */ + protected function streamGetMetadata() + { + return stream_get_meta_data($this->resource); + } + + private function validateTimeout($value) + { + $ok = filter_var($value, FILTER_VALIDATE_FLOAT); + if ($ok === false || $value < 0) { + throw new \InvalidArgumentException("Timeout must be 0 or a positive float (got $value)"); + } + } + + private function connectIfNotConnected() + { + if ($this->isConnected()) { + return; + } + $this->connect(); + } + + protected function generateDataStream($record) + { + return (string) $record['formatted']; + } + + /** + * @return resource|null + */ + protected function getResource() + { + return $this->resource; + } + + private function connect() + { + $this->createSocketResource(); + $this->setSocketTimeout(); + } + + private function createSocketResource() + { + if ($this->isPersistent()) { + $resource = $this->pfsockopen(); + } else { + $resource = $this->fsockopen(); + } + if (!$resource) { + throw new \UnexpectedValueException("Failed connecting to $this->connectionString ($this->errno: $this->errstr)"); + } + $this->resource = $resource; + } + + private function setSocketTimeout() + { + if (!$this->streamSetTimeout()) { + throw new \UnexpectedValueException("Failed setting timeout with stream_set_timeout()"); + } + } + + private function writeToSocket($data) + { + $length = strlen($data); + $sent = 0; + $this->lastSentBytes = $sent; + while ($this->isConnected() && $sent < $length) { + if (0 == $sent) { + $chunk = $this->fwrite($data); + } else { + $chunk = $this->fwrite(substr($data, $sent)); + } + if ($chunk === false) { + throw new \RuntimeException("Could not write to socket"); + } + $sent += $chunk; + $socketInfo = $this->streamGetMetadata(); + if ($socketInfo['timed_out']) { + throw new \RuntimeException("Write timed-out"); + } + + if ($this->writingIsTimedOut($sent)) { + throw new \RuntimeException("Write timed-out, no data sent for `{$this->writingTimeout}` seconds, probably we got disconnected (sent $sent of $length)"); + } + } + if (!$this->isConnected() && $sent < $length) { + throw new \RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)"); + } + } + + private function writingIsTimedOut($sent) + { + $writingTimeout = (int) floor($this->writingTimeout); + if (0 === $writingTimeout) { + return false; + } + + if ($sent !== $this->lastSentBytes) { + $this->lastWritingAt = time(); + $this->lastSentBytes = $sent; + + return false; + } else { + usleep(100); + } + + if ((time() - $this->lastWritingAt) >= $writingTimeout) { + $this->closeSocket(); + + return true; + } + + return false; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php new file mode 100644 index 00000000..09a15738 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/StreamHandler.php @@ -0,0 +1,176 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Stores to any stream resource + * + * Can be used to store into php://stderr, remote and local files, etc. + * + * @author Jordi Boggiano + */ +class StreamHandler extends AbstractProcessingHandler +{ + protected $stream; + protected $url; + private $errorMessage; + protected $filePermission; + protected $useLocking; + private $dirCreated; + + /** + * @param resource|string $stream + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write) + * @param Boolean $useLocking Try to lock log file before doing any writes + * + * @throws \Exception If a missing directory is not buildable + * @throws \InvalidArgumentException If stream is not a resource or string + */ + public function __construct($stream, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false) + { + parent::__construct($level, $bubble); + if (is_resource($stream)) { + $this->stream = $stream; + } elseif (is_string($stream)) { + $this->url = $stream; + } else { + throw new \InvalidArgumentException('A stream must either be a resource or a string.'); + } + + $this->filePermission = $filePermission; + $this->useLocking = $useLocking; + } + + /** + * {@inheritdoc} + */ + public function close() + { + if ($this->url && is_resource($this->stream)) { + fclose($this->stream); + } + $this->stream = null; + } + + /** + * Return the currently active stream if it is open + * + * @return resource|null + */ + public function getStream() + { + return $this->stream; + } + + /** + * Return the stream URL if it was configured with a URL and not an active resource + * + * @return string|null + */ + public function getUrl() + { + return $this->url; + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + if (!is_resource($this->stream)) { + if (null === $this->url || '' === $this->url) { + throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().'); + } + $this->createDir(); + $this->errorMessage = null; + set_error_handler(array($this, 'customErrorHandler')); + $this->stream = fopen($this->url, 'a'); + if ($this->filePermission !== null) { + @chmod($this->url, $this->filePermission); + } + restore_error_handler(); + if (!is_resource($this->stream)) { + $this->stream = null; + throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url)); + } + } + + if ($this->useLocking) { + // ignoring errors here, there's not much we can do about them + flock($this->stream, LOCK_EX); + } + + $this->streamWrite($this->stream, $record); + + if ($this->useLocking) { + flock($this->stream, LOCK_UN); + } + } + + /** + * Write to stream + * @param resource $stream + * @param array $record + */ + protected function streamWrite($stream, array $record) + { + fwrite($stream, (string) $record['formatted']); + } + + private function customErrorHandler($code, $msg) + { + $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg); + } + + /** + * @param string $stream + * + * @return null|string + */ + private function getDirFromStream($stream) + { + $pos = strpos($stream, '://'); + if ($pos === false) { + return dirname($stream); + } + + if ('file://' === substr($stream, 0, 7)) { + return dirname(substr($stream, 7)); + } + + return; + } + + private function createDir() + { + // Do not try to create dir if it has already been tried. + if ($this->dirCreated) { + return; + } + + $dir = $this->getDirFromStream($this->url); + if (null !== $dir && !is_dir($dir)) { + $this->errorMessage = null; + set_error_handler(array($this, 'customErrorHandler')); + $status = mkdir($dir, 0777, true); + restore_error_handler(); + if (false === $status) { + throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir)); + } + } + $this->dirCreated = true; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php new file mode 100644 index 00000000..72f44a53 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php @@ -0,0 +1,99 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; +use Swift; + +/** + * SwiftMailerHandler uses Swift_Mailer to send the emails + * + * @author Gyula Sallai + */ +class SwiftMailerHandler extends MailHandler +{ + protected $mailer; + private $messageTemplate; + + /** + * @param \Swift_Mailer $mailer The mailer to use + * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(\Swift_Mailer $mailer, $message, $level = Logger::ERROR, $bubble = true) + { + parent::__construct($level, $bubble); + + $this->mailer = $mailer; + $this->messageTemplate = $message; + } + + /** + * {@inheritdoc} + */ + protected function send($content, array $records) + { + $this->mailer->send($this->buildMessage($content, $records)); + } + + /** + * Creates instance of Swift_Message to be sent + * + * @param string $content formatted email body to be sent + * @param array $records Log records that formed the content + * @return \Swift_Message + */ + protected function buildMessage($content, array $records) + { + $message = null; + if ($this->messageTemplate instanceof \Swift_Message) { + $message = clone $this->messageTemplate; + $message->generateId(); + } elseif (is_callable($this->messageTemplate)) { + $message = call_user_func($this->messageTemplate, $content, $records); + } + + if (!$message instanceof \Swift_Message) { + throw new \InvalidArgumentException('Could not resolve message as instance of Swift_Message or a callable returning it'); + } + + if ($records) { + $subjectFormatter = new LineFormatter($message->getSubject()); + $message->setSubject($subjectFormatter->format($this->getHighestRecord($records))); + } + + $message->setBody($content); + if (version_compare(Swift::VERSION, '6.0.0', '>=')) { + $message->setDate(new \DateTimeImmutable()); + } else { + $message->setDate(time()); + } + + return $message; + } + + /** + * BC getter, to be removed in 2.0 + */ + public function __get($name) + { + if ($name === 'message') { + trigger_error('SwiftMailerHandler->message is deprecated, use ->buildMessage() instead to retrieve the message', E_USER_DEPRECATED); + + return $this->buildMessage(null, array()); + } + + throw new \InvalidArgumentException('Invalid property '.$name); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php new file mode 100644 index 00000000..376bc3b2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogHandler.php @@ -0,0 +1,67 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Logs to syslog service. + * + * usage example: + * + * $log = new Logger('application'); + * $syslog = new SyslogHandler('myfacility', 'local6'); + * $formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%"); + * $syslog->setFormatter($formatter); + * $log->pushHandler($syslog); + * + * @author Sven Paulus + */ +class SyslogHandler extends AbstractSyslogHandler +{ + protected $ident; + protected $logopts; + + /** + * @param string $ident + * @param mixed $facility + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $logopts Option flags for the openlog() call, defaults to LOG_PID + */ + public function __construct($ident, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID) + { + parent::__construct($facility, $level, $bubble); + + $this->ident = $ident; + $this->logopts = $logopts; + } + + /** + * {@inheritdoc} + */ + public function close() + { + closelog(); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + if (!openlog($this->ident, $this->logopts, $this->facility)) { + throw new \LogicException('Can\'t open syslog for ident "'.$this->ident.'" and facility "'.$this->facility.'"'); + } + syslog($this->logLevels[$record['level']], (string) $record['formatted']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php new file mode 100644 index 00000000..3bff085b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php @@ -0,0 +1,56 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\SyslogUdp; + +class UdpSocket +{ + const DATAGRAM_MAX_LENGTH = 65023; + + protected $ip; + protected $port; + protected $socket; + + public function __construct($ip, $port = 514) + { + $this->ip = $ip; + $this->port = $port; + $this->socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); + } + + public function write($line, $header = "") + { + $this->send($this->assembleMessage($line, $header)); + } + + public function close() + { + if (is_resource($this->socket)) { + socket_close($this->socket); + $this->socket = null; + } + } + + protected function send($chunk) + { + if (!is_resource($this->socket)) { + throw new \LogicException('The UdpSocket to '.$this->ip.':'.$this->port.' has been closed and can not be written to anymore'); + } + socket_sendto($this->socket, $chunk, strlen($chunk), $flags = 0, $this->ip, $this->port); + } + + protected function assembleMessage($line, $header) + { + $chunkSize = self::DATAGRAM_MAX_LENGTH - strlen($header); + + return $header . substr($line, 0, $chunkSize); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php new file mode 100644 index 00000000..4718711b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php @@ -0,0 +1,103 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\Handler\SyslogUdp\UdpSocket; + +/** + * A Handler for logging to a remote syslogd server. + * + * @author Jesper Skovgaard Nielsen + */ +class SyslogUdpHandler extends AbstractSyslogHandler +{ + protected $socket; + protected $ident; + + /** + * @param string $host + * @param int $port + * @param mixed $facility + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param string $ident Program name or tag for each log message. + */ + public function __construct($host, $port = 514, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $ident = 'php') + { + parent::__construct($facility, $level, $bubble); + + $this->ident = $ident; + + $this->socket = new UdpSocket($host, $port ?: 514); + } + + protected function write(array $record) + { + $lines = $this->splitMessageIntoLines($record['formatted']); + + $header = $this->makeCommonSyslogHeader($this->logLevels[$record['level']]); + + foreach ($lines as $line) { + $this->socket->write($line, $header); + } + } + + public function close() + { + $this->socket->close(); + } + + private function splitMessageIntoLines($message) + { + if (is_array($message)) { + $message = implode("\n", $message); + } + + return preg_split('/$\R?^/m', $message, -1, PREG_SPLIT_NO_EMPTY); + } + + /** + * Make common syslog header (see rfc5424) + */ + protected function makeCommonSyslogHeader($severity) + { + $priority = $severity + $this->facility; + + if (!$pid = getmypid()) { + $pid = '-'; + } + + if (!$hostname = gethostname()) { + $hostname = '-'; + } + + return "<$priority>1 " . + $this->getDateTime() . " " . + $hostname . " " . + $this->ident . " " . + $pid . " - - "; + } + + protected function getDateTime() + { + return date(\DateTime::RFC3339); + } + + /** + * Inject your own socket, mainly used for testing + */ + public function setSocket($socket) + { + $this->socket = $socket; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php new file mode 100644 index 00000000..e39cfc66 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/TestHandler.php @@ -0,0 +1,154 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Used for testing purposes. + * + * It records all records and gives you access to them for verification. + * + * @author Jordi Boggiano + * + * @method bool hasEmergency($record) + * @method bool hasAlert($record) + * @method bool hasCritical($record) + * @method bool hasError($record) + * @method bool hasWarning($record) + * @method bool hasNotice($record) + * @method bool hasInfo($record) + * @method bool hasDebug($record) + * + * @method bool hasEmergencyRecords() + * @method bool hasAlertRecords() + * @method bool hasCriticalRecords() + * @method bool hasErrorRecords() + * @method bool hasWarningRecords() + * @method bool hasNoticeRecords() + * @method bool hasInfoRecords() + * @method bool hasDebugRecords() + * + * @method bool hasEmergencyThatContains($message) + * @method bool hasAlertThatContains($message) + * @method bool hasCriticalThatContains($message) + * @method bool hasErrorThatContains($message) + * @method bool hasWarningThatContains($message) + * @method bool hasNoticeThatContains($message) + * @method bool hasInfoThatContains($message) + * @method bool hasDebugThatContains($message) + * + * @method bool hasEmergencyThatMatches($message) + * @method bool hasAlertThatMatches($message) + * @method bool hasCriticalThatMatches($message) + * @method bool hasErrorThatMatches($message) + * @method bool hasWarningThatMatches($message) + * @method bool hasNoticeThatMatches($message) + * @method bool hasInfoThatMatches($message) + * @method bool hasDebugThatMatches($message) + * + * @method bool hasEmergencyThatPasses($message) + * @method bool hasAlertThatPasses($message) + * @method bool hasCriticalThatPasses($message) + * @method bool hasErrorThatPasses($message) + * @method bool hasWarningThatPasses($message) + * @method bool hasNoticeThatPasses($message) + * @method bool hasInfoThatPasses($message) + * @method bool hasDebugThatPasses($message) + */ +class TestHandler extends AbstractProcessingHandler +{ + protected $records = array(); + protected $recordsByLevel = array(); + + public function getRecords() + { + return $this->records; + } + + public function clear() + { + $this->records = array(); + $this->recordsByLevel = array(); + } + + public function hasRecords($level) + { + return isset($this->recordsByLevel[$level]); + } + + public function hasRecord($record, $level) + { + if (is_array($record)) { + $record = $record['message']; + } + + return $this->hasRecordThatPasses(function ($rec) use ($record) { + return $rec['message'] === $record; + }, $level); + } + + public function hasRecordThatContains($message, $level) + { + return $this->hasRecordThatPasses(function ($rec) use ($message) { + return strpos($rec['message'], $message) !== false; + }, $level); + } + + public function hasRecordThatMatches($regex, $level) + { + return $this->hasRecordThatPasses(function ($rec) use ($regex) { + return preg_match($regex, $rec['message']) > 0; + }, $level); + } + + public function hasRecordThatPasses($predicate, $level) + { + if (!is_callable($predicate)) { + throw new \InvalidArgumentException("Expected a callable for hasRecordThatSucceeds"); + } + + if (!isset($this->recordsByLevel[$level])) { + return false; + } + + foreach ($this->recordsByLevel[$level] as $i => $rec) { + if (call_user_func($predicate, $rec, $i)) { + return true; + } + } + + return false; + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $this->recordsByLevel[$record['level']][] = $record; + $this->records[] = $record; + } + + public function __call($method, $args) + { + if (preg_match('/(.*)(Debug|Info|Notice|Warning|Error|Critical|Alert|Emergency)(.*)/', $method, $matches) > 0) { + $genericMethod = $matches[1] . ('Records' !== $matches[3] ? 'Record' : '') . $matches[3]; + $level = constant('Monolog\Logger::' . strtoupper($matches[2])); + if (method_exists($this, $genericMethod)) { + $args[] = $level; + + return call_user_func_array(array($this, $genericMethod), $args); + } + } + + throw new \BadMethodCallException('Call to undefined method ' . get_class($this) . '::' . $method . '()'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php new file mode 100644 index 00000000..2732ba3d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php @@ -0,0 +1,61 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +/** + * Forwards records to multiple handlers suppressing failures of each handler + * and continuing through to give every handler a chance to succeed. + * + * @author Craig D'Amelio + */ +class WhatFailureGroupHandler extends GroupHandler +{ + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + if ($this->processors) { + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + } + + foreach ($this->handlers as $handler) { + try { + $handler->handle($record); + } catch (\Exception $e) { + // What failure? + } catch (\Throwable $e) { + // What failure? + } + } + + return false === $this->bubble; + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + foreach ($this->handlers as $handler) { + try { + $handler->handleBatch($records); + } catch (\Exception $e) { + // What failure? + } catch (\Throwable $e) { + // What failure? + } + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php new file mode 100644 index 00000000..f22cf218 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php @@ -0,0 +1,95 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\NormalizerFormatter; +use Monolog\Logger; + +/** + * Handler sending logs to Zend Monitor + * + * @author Christian Bergau + */ +class ZendMonitorHandler extends AbstractProcessingHandler +{ + /** + * Monolog level / ZendMonitor Custom Event priority map + * + * @var array + */ + protected $levelMap = array( + Logger::DEBUG => 1, + Logger::INFO => 2, + Logger::NOTICE => 3, + Logger::WARNING => 4, + Logger::ERROR => 5, + Logger::CRITICAL => 6, + Logger::ALERT => 7, + Logger::EMERGENCY => 0, + ); + + /** + * Construct + * + * @param int $level + * @param bool $bubble + * @throws MissingExtensionException + */ + public function __construct($level = Logger::DEBUG, $bubble = true) + { + if (!function_exists('zend_monitor_custom_event')) { + throw new MissingExtensionException('You must have Zend Server installed in order to use this handler'); + } + parent::__construct($level, $bubble); + } + + /** + * {@inheritdoc} + */ + protected function write(array $record) + { + $this->writeZendMonitorCustomEvent( + $this->levelMap[$record['level']], + $record['message'], + $record['formatted'] + ); + } + + /** + * Write a record to Zend Monitor + * + * @param int $level + * @param string $message + * @param array $formatted + */ + protected function writeZendMonitorCustomEvent($level, $message, $formatted) + { + zend_monitor_custom_event($level, $message, $formatted); + } + + /** + * {@inheritdoc} + */ + public function getDefaultFormatter() + { + return new NormalizerFormatter(); + } + + /** + * Get the level map + * + * @return array + */ + public function getLevelMap() + { + return $this->levelMap; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php new file mode 100644 index 00000000..49d00af1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Logger.php @@ -0,0 +1,700 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use Monolog\Handler\HandlerInterface; +use Monolog\Handler\StreamHandler; +use Psr\Log\LoggerInterface; +use Psr\Log\InvalidArgumentException; + +/** + * Monolog log channel + * + * It contains a stack of Handlers and a stack of Processors, + * and uses them to store records that are added to it. + * + * @author Jordi Boggiano + */ +class Logger implements LoggerInterface +{ + /** + * Detailed debug information + */ + const DEBUG = 100; + + /** + * Interesting events + * + * Examples: User logs in, SQL logs. + */ + const INFO = 200; + + /** + * Uncommon events + */ + const NOTICE = 250; + + /** + * Exceptional occurrences that are not errors + * + * Examples: Use of deprecated APIs, poor use of an API, + * undesirable things that are not necessarily wrong. + */ + const WARNING = 300; + + /** + * Runtime errors + */ + const ERROR = 400; + + /** + * Critical conditions + * + * Example: Application component unavailable, unexpected exception. + */ + const CRITICAL = 500; + + /** + * Action must be taken immediately + * + * Example: Entire website down, database unavailable, etc. + * This should trigger the SMS alerts and wake you up. + */ + const ALERT = 550; + + /** + * Urgent alert. + */ + const EMERGENCY = 600; + + /** + * Monolog API version + * + * This is only bumped when API breaks are done and should + * follow the major version of the library + * + * @var int + */ + const API = 1; + + /** + * Logging levels from syslog protocol defined in RFC 5424 + * + * @var array $levels Logging levels + */ + protected static $levels = array( + self::DEBUG => 'DEBUG', + self::INFO => 'INFO', + self::NOTICE => 'NOTICE', + self::WARNING => 'WARNING', + self::ERROR => 'ERROR', + self::CRITICAL => 'CRITICAL', + self::ALERT => 'ALERT', + self::EMERGENCY => 'EMERGENCY', + ); + + /** + * @var \DateTimeZone + */ + protected static $timezone; + + /** + * @var string + */ + protected $name; + + /** + * The handler stack + * + * @var HandlerInterface[] + */ + protected $handlers; + + /** + * Processors that will process all log records + * + * To process records of a single handler instead, add the processor on that specific handler + * + * @var callable[] + */ + protected $processors; + + /** + * @var bool + */ + protected $microsecondTimestamps = true; + + /** + * @param string $name The logging channel + * @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. + * @param callable[] $processors Optional array of processors + */ + public function __construct($name, array $handlers = array(), array $processors = array()) + { + $this->name = $name; + $this->handlers = $handlers; + $this->processors = $processors; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Return a new cloned instance with the name changed + * + * @return static + */ + public function withName($name) + { + $new = clone $this; + $new->name = $name; + + return $new; + } + + /** + * Pushes a handler on to the stack. + * + * @param HandlerInterface $handler + * @return $this + */ + public function pushHandler(HandlerInterface $handler) + { + array_unshift($this->handlers, $handler); + + return $this; + } + + /** + * Pops a handler from the stack + * + * @return HandlerInterface + */ + public function popHandler() + { + if (!$this->handlers) { + throw new \LogicException('You tried to pop from an empty handler stack.'); + } + + return array_shift($this->handlers); + } + + /** + * Set handlers, replacing all existing ones. + * + * If a map is passed, keys will be ignored. + * + * @param HandlerInterface[] $handlers + * @return $this + */ + public function setHandlers(array $handlers) + { + $this->handlers = array(); + foreach (array_reverse($handlers) as $handler) { + $this->pushHandler($handler); + } + + return $this; + } + + /** + * @return HandlerInterface[] + */ + public function getHandlers() + { + return $this->handlers; + } + + /** + * Adds a processor on to the stack. + * + * @param callable $callback + * @return $this + */ + public function pushProcessor($callback) + { + if (!is_callable($callback)) { + throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given'); + } + array_unshift($this->processors, $callback); + + return $this; + } + + /** + * Removes the processor on top of the stack and returns it. + * + * @return callable + */ + public function popProcessor() + { + if (!$this->processors) { + throw new \LogicException('You tried to pop from an empty processor stack.'); + } + + return array_shift($this->processors); + } + + /** + * @return callable[] + */ + public function getProcessors() + { + return $this->processors; + } + + /** + * Control the use of microsecond resolution timestamps in the 'datetime' + * member of new records. + * + * Generating microsecond resolution timestamps by calling + * microtime(true), formatting the result via sprintf() and then parsing + * the resulting string via \DateTime::createFromFormat() can incur + * a measurable runtime overhead vs simple usage of DateTime to capture + * a second resolution timestamp in systems which generate a large number + * of log events. + * + * @param bool $micro True to use microtime() to create timestamps + */ + public function useMicrosecondTimestamps($micro) + { + $this->microsecondTimestamps = (bool) $micro; + } + + /** + * Adds a log record. + * + * @param int $level The logging level + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addRecord($level, $message, array $context = array()) + { + if (!$this->handlers) { + $this->pushHandler(new StreamHandler('php://stderr', static::DEBUG)); + } + + $levelName = static::getLevelName($level); + + // check if any handler will handle this message so we can return early and save cycles + $handlerKey = null; + reset($this->handlers); + while ($handler = current($this->handlers)) { + if ($handler->isHandling(array('level' => $level))) { + $handlerKey = key($this->handlers); + break; + } + + next($this->handlers); + } + + if (null === $handlerKey) { + return false; + } + + if (!static::$timezone) { + static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC'); + } + + // php7.1+ always has microseconds enabled, so we do not need this hack + if ($this->microsecondTimestamps && PHP_VERSION_ID < 70100) { + $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone); + } else { + $ts = new \DateTime(null, static::$timezone); + } + $ts->setTimezone(static::$timezone); + + $record = array( + 'message' => (string) $message, + 'context' => $context, + 'level' => $level, + 'level_name' => $levelName, + 'channel' => $this->name, + 'datetime' => $ts, + 'extra' => array(), + ); + + foreach ($this->processors as $processor) { + $record = call_user_func($processor, $record); + } + + while ($handler = current($this->handlers)) { + if (true === $handler->handle($record)) { + break; + } + + next($this->handlers); + } + + return true; + } + + /** + * Adds a log record at the DEBUG level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addDebug($message, array $context = array()) + { + return $this->addRecord(static::DEBUG, $message, $context); + } + + /** + * Adds a log record at the INFO level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addInfo($message, array $context = array()) + { + return $this->addRecord(static::INFO, $message, $context); + } + + /** + * Adds a log record at the NOTICE level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addNotice($message, array $context = array()) + { + return $this->addRecord(static::NOTICE, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addWarning($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addError($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addCritical($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the ALERT level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addAlert($message, array $context = array()) + { + return $this->addRecord(static::ALERT, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function addEmergency($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Gets all supported logging levels. + * + * @return array Assoc array with human-readable level names => level codes. + */ + public static function getLevels() + { + return array_flip(static::$levels); + } + + /** + * Gets the name of the logging level. + * + * @param int $level + * @return string + */ + public static function getLevelName($level) + { + if (!isset(static::$levels[$level])) { + throw new InvalidArgumentException('Level "'.$level.'" is not defined, use one of: '.implode(', ', array_keys(static::$levels))); + } + + return static::$levels[$level]; + } + + /** + * Converts PSR-3 levels to Monolog ones if necessary + * + * @param string|int Level number (monolog) or name (PSR-3) + * @return int + */ + public static function toMonologLevel($level) + { + if (is_string($level) && defined(__CLASS__.'::'.strtoupper($level))) { + return constant(__CLASS__.'::'.strtoupper($level)); + } + + return $level; + } + + /** + * Checks whether the Logger has a handler that listens on the given level + * + * @param int $level + * @return Boolean + */ + public function isHandling($level) + { + $record = array( + 'level' => $level, + ); + + foreach ($this->handlers as $handler) { + if ($handler->isHandling($record)) { + return true; + } + } + + return false; + } + + /** + * Adds a log record at an arbitrary level. + * + * This method allows for compatibility with common interfaces. + * + * @param mixed $level The log level + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function log($level, $message, array $context = array()) + { + $level = static::toMonologLevel($level); + + return $this->addRecord($level, $message, $context); + } + + /** + * Adds a log record at the DEBUG level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function debug($message, array $context = array()) + { + return $this->addRecord(static::DEBUG, $message, $context); + } + + /** + * Adds a log record at the INFO level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function info($message, array $context = array()) + { + return $this->addRecord(static::INFO, $message, $context); + } + + /** + * Adds a log record at the NOTICE level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function notice($message, array $context = array()) + { + return $this->addRecord(static::NOTICE, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function warn($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the WARNING level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function warning($message, array $context = array()) + { + return $this->addRecord(static::WARNING, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function err($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the ERROR level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function error($message, array $context = array()) + { + return $this->addRecord(static::ERROR, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function crit($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the CRITICAL level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function critical($message, array $context = array()) + { + return $this->addRecord(static::CRITICAL, $message, $context); + } + + /** + * Adds a log record at the ALERT level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function alert($message, array $context = array()) + { + return $this->addRecord(static::ALERT, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function emerg($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Adds a log record at the EMERGENCY level. + * + * This method allows for compatibility with common interfaces. + * + * @param string $message The log message + * @param array $context The log context + * @return Boolean Whether the record has been processed + */ + public function emergency($message, array $context = array()) + { + return $this->addRecord(static::EMERGENCY, $message, $context); + } + + /** + * Set the timezone to be used for the timestamp of log records. + * + * This is stored globally for all Logger instances + * + * @param \DateTimeZone $tz Timezone object + */ + public static function setTimezone(\DateTimeZone $tz) + { + self::$timezone = $tz; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php new file mode 100644 index 00000000..1899400d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/GitProcessor.php @@ -0,0 +1,64 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\Logger; + +/** + * Injects Git branch and Git commit SHA in all records + * + * @author Nick Otter + * @author Jordi Boggiano + */ +class GitProcessor +{ + private $level; + private static $cache; + + public function __construct($level = Logger::DEBUG) + { + $this->level = Logger::toMonologLevel($level); + } + + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + // return if the level is not high enough + if ($record['level'] < $this->level) { + return $record; + } + + $record['extra']['git'] = self::getGitInfo(); + + return $record; + } + + private static function getGitInfo() + { + if (self::$cache) { + return self::$cache; + } + + $branches = `git branch -v --no-abbrev`; + if (preg_match('{^\* (.+?)\s+([a-f0-9]{40})(?:\s|$)}m', $branches, $matches)) { + return self::$cache = array( + 'branch' => $matches[1], + 'commit' => $matches[2], + ); + } + + return self::$cache = array(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php new file mode 100644 index 00000000..2c07caed --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php @@ -0,0 +1,112 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\Logger; + +/** + * Injects line/file:class/function where the log message came from + * + * Warning: This only works if the handler processes the logs directly. + * If you put the processor on a handler that is behind a FingersCrossedHandler + * for example, the processor will only be called once the trigger level is reached, + * and all the log records will have the same file/line/.. data from the call that + * triggered the FingersCrossedHandler. + * + * @author Jordi Boggiano + */ +class IntrospectionProcessor +{ + private $level; + + private $skipClassesPartials; + + private $skipStackFramesCount; + + private $skipFunctions = array( + 'call_user_func', + 'call_user_func_array', + ); + + public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0) + { + $this->level = Logger::toMonologLevel($level); + $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials); + $this->skipStackFramesCount = $skipStackFramesCount; + } + + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + // return if the level is not high enough + if ($record['level'] < $this->level) { + return $record; + } + + /* + * http://php.net/manual/en/function.debug-backtrace.php + * As of 5.3.6, DEBUG_BACKTRACE_IGNORE_ARGS option was added. + * Any version less than 5.3.6 must use the DEBUG_BACKTRACE_IGNORE_ARGS constant value '2'. + */ + $trace = debug_backtrace((PHP_VERSION_ID < 50306) ? 2 : DEBUG_BACKTRACE_IGNORE_ARGS); + + // skip first since it's always the current method + array_shift($trace); + // the call_user_func call is also skipped + array_shift($trace); + + $i = 0; + + while ($this->isTraceClassOrSkippedFunction($trace, $i)) { + if (isset($trace[$i]['class'])) { + foreach ($this->skipClassesPartials as $part) { + if (strpos($trace[$i]['class'], $part) !== false) { + $i++; + continue 2; + } + } + } elseif (in_array($trace[$i]['function'], $this->skipFunctions)) { + $i++; + continue; + } + + break; + } + + $i += $this->skipStackFramesCount; + + // we should have the call source now + $record['extra'] = array_merge( + $record['extra'], + array( + 'file' => isset($trace[$i - 1]['file']) ? $trace[$i - 1]['file'] : null, + 'line' => isset($trace[$i - 1]['line']) ? $trace[$i - 1]['line'] : null, + 'class' => isset($trace[$i]['class']) ? $trace[$i]['class'] : null, + 'function' => isset($trace[$i]['function']) ? $trace[$i]['function'] : null, + ) + ); + + return $record; + } + + private function isTraceClassOrSkippedFunction(array $trace, $index) + { + if (!isset($trace[$index])) { + return false; + } + + return isset($trace[$index]['class']) || in_array($trace[$index]['function'], $this->skipFunctions); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php new file mode 100644 index 00000000..0543e929 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php @@ -0,0 +1,35 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Injects memory_get_peak_usage in all records + * + * @see Monolog\Processor\MemoryProcessor::__construct() for options + * @author Rob Jensen + */ +class MemoryPeakUsageProcessor extends MemoryProcessor +{ + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + $bytes = memory_get_peak_usage($this->realUsage); + $formatted = $this->formatBytes($bytes); + + $record['extra']['memory_peak_usage'] = $formatted; + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php new file mode 100644 index 00000000..85f9dc5e --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php @@ -0,0 +1,63 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Some methods that are common for all memory processors + * + * @author Rob Jensen + */ +abstract class MemoryProcessor +{ + /** + * @var bool If true, get the real size of memory allocated from system. Else, only the memory used by emalloc() is reported. + */ + protected $realUsage; + + /** + * @var bool If true, then format memory size to human readable string (MB, KB, B depending on size) + */ + protected $useFormatting; + + /** + * @param bool $realUsage Set this to true to get the real size of memory allocated from system. + * @param bool $useFormatting If true, then format memory size to human readable string (MB, KB, B depending on size) + */ + public function __construct($realUsage = true, $useFormatting = true) + { + $this->realUsage = (boolean) $realUsage; + $this->useFormatting = (boolean) $useFormatting; + } + + /** + * Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is + * + * @param int $bytes + * @return string|int Formatted string if $this->useFormatting is true, otherwise return $bytes as is + */ + protected function formatBytes($bytes) + { + $bytes = (int) $bytes; + + if (!$this->useFormatting) { + return $bytes; + } + + if ($bytes > 1024 * 1024) { + return round($bytes / 1024 / 1024, 2).' MB'; + } elseif ($bytes > 1024) { + return round($bytes / 1024, 2).' KB'; + } + + return $bytes . ' B'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php new file mode 100644 index 00000000..2783d656 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php @@ -0,0 +1,35 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Injects memory_get_usage in all records + * + * @see Monolog\Processor\MemoryProcessor::__construct() for options + * @author Rob Jensen + */ +class MemoryUsageProcessor extends MemoryProcessor +{ + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + $bytes = memory_get_usage($this->realUsage); + $formatted = $this->formatBytes($bytes); + + $record['extra']['memory_usage'] = $formatted; + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php new file mode 100644 index 00000000..7c07a7e9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php @@ -0,0 +1,63 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\Logger; + +/** + * Injects Hg branch and Hg revision number in all records + * + * @author Jonathan A. Schweder + */ +class MercurialProcessor +{ + private $level; + private static $cache; + + public function __construct($level = Logger::DEBUG) + { + $this->level = Logger::toMonologLevel($level); + } + + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + // return if the level is not high enough + if ($record['level'] < $this->level) { + return $record; + } + + $record['extra']['hg'] = self::getMercurialInfo(); + + return $record; + } + + private static function getMercurialInfo() + { + if (self::$cache) { + return self::$cache; + } + + $result = explode(' ', trim(`hg id -nb`)); + if (count($result) >= 3) { + return self::$cache = array( + 'branch' => $result[1], + 'revision' => $result[2], + ); + } + + return self::$cache = array(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php new file mode 100644 index 00000000..9d3f5590 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Adds value of getmypid into records + * + * @author Andreas Hörnicke + */ +class ProcessIdProcessor +{ + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + $record['extra']['process_id'] = getmypid(); + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php new file mode 100644 index 00000000..c2686ce5 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php @@ -0,0 +1,48 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Processes a record's message according to PSR-3 rules + * + * It replaces {foo} with the value from $context['foo'] + * + * @author Jordi Boggiano + */ +class PsrLogMessageProcessor +{ + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + if (false === strpos($record['message'], '{')) { + return $record; + } + + $replacements = array(); + foreach ($record['context'] as $key => $val) { + if (is_null($val) || is_scalar($val) || (is_object($val) && method_exists($val, "__toString"))) { + $replacements['{'.$key.'}'] = $val; + } elseif (is_object($val)) { + $replacements['{'.$key.'}'] = '[object '.get_class($val).']'; + } else { + $replacements['{'.$key.'}'] = '['.gettype($val).']'; + } + } + + $record['message'] = strtr($record['message'], $replacements); + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php new file mode 100644 index 00000000..7e2df2ac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/TagProcessor.php @@ -0,0 +1,44 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Adds a tags array into record + * + * @author Martijn Riemers + */ +class TagProcessor +{ + private $tags; + + public function __construct(array $tags = array()) + { + $this->setTags($tags); + } + + public function addTags(array $tags = array()) + { + $this->tags = array_merge($this->tags, $tags); + } + + public function setTags(array $tags = array()) + { + $this->tags = $tags; + } + + public function __invoke(array $record) + { + $record['extra']['tags'] = $this->tags; + + return $record; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php new file mode 100644 index 00000000..812707cd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/UidProcessor.php @@ -0,0 +1,46 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Adds a unique identifier into records + * + * @author Simon Mönch + */ +class UidProcessor +{ + private $uid; + + public function __construct($length = 7) + { + if (!is_int($length) || $length > 32 || $length < 1) { + throw new \InvalidArgumentException('The uid length must be an integer between 1 and 32'); + } + + $this->uid = substr(hash('md5', uniqid('', true)), 0, $length); + } + + public function __invoke(array $record) + { + $record['extra']['uid'] = $this->uid; + + return $record; + } + + /** + * @return string + */ + public function getUid() + { + return $this->uid; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php new file mode 100644 index 00000000..ea1d8978 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Processor/WebProcessor.php @@ -0,0 +1,113 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +/** + * Injects url/method and remote IP of the current web request in all records + * + * @author Jordi Boggiano + */ +class WebProcessor +{ + /** + * @var array|\ArrayAccess + */ + protected $serverData; + + /** + * Default fields + * + * Array is structured as [key in record.extra => key in $serverData] + * + * @var array + */ + protected $extraFields = array( + 'url' => 'REQUEST_URI', + 'ip' => 'REMOTE_ADDR', + 'http_method' => 'REQUEST_METHOD', + 'server' => 'SERVER_NAME', + 'referrer' => 'HTTP_REFERER', + ); + + /** + * @param array|\ArrayAccess $serverData Array or object w/ ArrayAccess that provides access to the $_SERVER data + * @param array|null $extraFields Field names and the related key inside $serverData to be added. If not provided it defaults to: url, ip, http_method, server, referrer + */ + public function __construct($serverData = null, array $extraFields = null) + { + if (null === $serverData) { + $this->serverData = &$_SERVER; + } elseif (is_array($serverData) || $serverData instanceof \ArrayAccess) { + $this->serverData = $serverData; + } else { + throw new \UnexpectedValueException('$serverData must be an array or object implementing ArrayAccess.'); + } + + if (null !== $extraFields) { + if (isset($extraFields[0])) { + foreach (array_keys($this->extraFields) as $fieldName) { + if (!in_array($fieldName, $extraFields)) { + unset($this->extraFields[$fieldName]); + } + } + } else { + $this->extraFields = $extraFields; + } + } + } + + /** + * @param array $record + * @return array + */ + public function __invoke(array $record) + { + // skip processing if for some reason request data + // is not present (CLI or wonky SAPIs) + if (!isset($this->serverData['REQUEST_URI'])) { + return $record; + } + + $record['extra'] = $this->appendExtraFields($record['extra']); + + return $record; + } + + /** + * @param string $extraName + * @param string $serverName + * @return $this + */ + public function addExtraField($extraName, $serverName) + { + $this->extraFields[$extraName] = $serverName; + + return $this; + } + + /** + * @param array $extra + * @return array + */ + private function appendExtraFields(array $extra) + { + foreach ($this->extraFields as $extraName => $serverName) { + $extra[$extraName] = isset($this->serverData[$serverName]) ? $this->serverData[$serverName] : null; + } + + if (isset($this->serverData['UNIQUE_ID'])) { + $extra['unique_id'] = $this->serverData['UNIQUE_ID']; + } + + return $extra; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php new file mode 100644 index 00000000..159b751c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/src/Monolog/Registry.php @@ -0,0 +1,134 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use InvalidArgumentException; + +/** + * Monolog log registry + * + * Allows to get `Logger` instances in the global scope + * via static method calls on this class. + * + * + * $application = new Monolog\Logger('application'); + * $api = new Monolog\Logger('api'); + * + * Monolog\Registry::addLogger($application); + * Monolog\Registry::addLogger($api); + * + * function testLogger() + * { + * Monolog\Registry::api()->addError('Sent to $api Logger instance'); + * Monolog\Registry::application()->addError('Sent to $application Logger instance'); + * } + * + * + * @author Tomas Tatarko + */ +class Registry +{ + /** + * List of all loggers in the registry (by named indexes) + * + * @var Logger[] + */ + private static $loggers = array(); + + /** + * Adds new logging channel to the registry + * + * @param Logger $logger Instance of the logging channel + * @param string|null $name Name of the logging channel ($logger->getName() by default) + * @param bool $overwrite Overwrite instance in the registry if the given name already exists? + * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists + */ + public static function addLogger(Logger $logger, $name = null, $overwrite = false) + { + $name = $name ?: $logger->getName(); + + if (isset(self::$loggers[$name]) && !$overwrite) { + throw new InvalidArgumentException('Logger with the given name already exists'); + } + + self::$loggers[$name] = $logger; + } + + /** + * Checks if such logging channel exists by name or instance + * + * @param string|Logger $logger Name or logger instance + */ + public static function hasLogger($logger) + { + if ($logger instanceof Logger) { + $index = array_search($logger, self::$loggers, true); + + return false !== $index; + } else { + return isset(self::$loggers[$logger]); + } + } + + /** + * Removes instance from registry by name or instance + * + * @param string|Logger $logger Name or logger instance + */ + public static function removeLogger($logger) + { + if ($logger instanceof Logger) { + if (false !== ($idx = array_search($logger, self::$loggers, true))) { + unset(self::$loggers[$idx]); + } + } else { + unset(self::$loggers[$logger]); + } + } + + /** + * Clears the registry + */ + public static function clear() + { + self::$loggers = array(); + } + + /** + * Gets Logger instance from the registry + * + * @param string $name Name of the requested Logger instance + * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger + */ + public static function getInstance($name) + { + if (!isset(self::$loggers[$name])) { + throw new InvalidArgumentException(sprintf('Requested "%s" logger instance is not in the registry', $name)); + } + + return self::$loggers[$name]; + } + + /** + * Gets Logger instance from the registry via static method call + * + * @param string $name Name of the requested Logger instance + * @param array $arguments Arguments passed to static method call + * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger + */ + public static function __callStatic($name, $arguments) + { + return self::getInstance($name); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php new file mode 100644 index 00000000..a9a3f301 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/ErrorHandlerTest.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use Monolog\Handler\TestHandler; + +class ErrorHandlerTest extends \PHPUnit_Framework_TestCase +{ + public function testHandleError() + { + $logger = new Logger('test', array($handler = new TestHandler)); + $errHandler = new ErrorHandler($logger); + + $errHandler->registerErrorHandler(array(E_USER_NOTICE => Logger::EMERGENCY), false); + trigger_error('Foo', E_USER_ERROR); + $this->assertCount(1, $handler->getRecords()); + $this->assertTrue($handler->hasErrorRecords()); + trigger_error('Foo', E_USER_NOTICE); + $this->assertCount(2, $handler->getRecords()); + $this->assertTrue($handler->hasEmergencyRecords()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php new file mode 100644 index 00000000..71c42046 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php @@ -0,0 +1,158 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +class ChromePHPFormatterTest extends \PHPUnit_Framework_TestCase +{ + /** + * @covers Monolog\Formatter\ChromePHPFormatter::format + */ + public function testDefaultFormat() + { + $formatter = new ChromePHPFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('ip' => '127.0.0.1'), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertEquals( + array( + 'meh', + array( + 'message' => 'log', + 'context' => array('from' => 'logger'), + 'extra' => array('ip' => '127.0.0.1'), + ), + 'unknown', + 'error', + ), + $message + ); + } + + /** + * @covers Monolog\Formatter\ChromePHPFormatter::format + */ + public function testFormatWithFileAndLine() + { + $formatter = new ChromePHPFormatter(); + $record = array( + 'level' => Logger::CRITICAL, + 'level_name' => 'CRITICAL', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('ip' => '127.0.0.1', 'file' => 'test', 'line' => 14), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertEquals( + array( + 'meh', + array( + 'message' => 'log', + 'context' => array('from' => 'logger'), + 'extra' => array('ip' => '127.0.0.1'), + ), + 'test : 14', + 'error', + ), + $message + ); + } + + /** + * @covers Monolog\Formatter\ChromePHPFormatter::format + */ + public function testFormatWithoutContext() + { + $formatter = new ChromePHPFormatter(); + $record = array( + 'level' => Logger::DEBUG, + 'level_name' => 'DEBUG', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertEquals( + array( + 'meh', + 'log', + 'unknown', + 'log', + ), + $message + ); + } + + /** + * @covers Monolog\Formatter\ChromePHPFormatter::formatBatch + */ + public function testBatchFormatThrowException() + { + $formatter = new ChromePHPFormatter(); + $records = array( + array( + 'level' => Logger::INFO, + 'level_name' => 'INFO', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ), + array( + 'level' => Logger::WARNING, + 'level_name' => 'WARNING', + 'channel' => 'foo', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log2', + ), + ); + + $this->assertEquals( + array( + array( + 'meh', + 'log', + 'unknown', + 'info', + ), + array( + 'foo', + 'log2', + 'unknown', + 'warn', + ), + ), + $formatter->formatBatch($records) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php new file mode 100644 index 00000000..90cc48dd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php @@ -0,0 +1,79 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +class ElasticaFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function setUp() + { + if (!class_exists("Elastica\Document")) { + $this->markTestSkipped("ruflin/elastica not installed"); + } + } + + /** + * @covers Monolog\Formatter\ElasticaFormatter::__construct + * @covers Monolog\Formatter\ElasticaFormatter::format + * @covers Monolog\Formatter\ElasticaFormatter::getDocument + */ + public function testFormat() + { + // test log message + $msg = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + // expected values + $expected = $msg; + $expected['datetime'] = '1970-01-01T00:00:00.000000+00:00'; + $expected['context'] = array( + 'class' => '[object] (stdClass: {})', + 'foo' => 7, + 0 => 'bar', + ); + + // format log message + $formatter = new ElasticaFormatter('my_index', 'doc_type'); + $doc = $formatter->format($msg); + $this->assertInstanceOf('Elastica\Document', $doc); + + // Document parameters + $params = $doc->getParams(); + $this->assertEquals('my_index', $params['_index']); + $this->assertEquals('doc_type', $params['_type']); + + // Document data values + $data = $doc->getData(); + foreach (array_keys($expected) as $key) { + $this->assertEquals($expected[$key], $data[$key]); + } + } + + /** + * @covers Monolog\Formatter\ElasticaFormatter::getIndex + * @covers Monolog\Formatter\ElasticaFormatter::getType + */ + public function testGetters() + { + $formatter = new ElasticaFormatter('my_index', 'doc_type'); + $this->assertEquals('my_index', $formatter->getIndex()); + $this->assertEquals('doc_type', $formatter->getType()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php new file mode 100644 index 00000000..1b2fd97a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php @@ -0,0 +1,55 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; +use Monolog\TestCase; + +class FlowdockFormatterTest extends TestCase +{ + /** + * @covers Monolog\Formatter\FlowdockFormatter::format + */ + public function testFormat() + { + $formatter = new FlowdockFormatter('test_source', 'source@test.com'); + $record = $this->getRecord(); + + $expected = array( + 'source' => 'test_source', + 'from_address' => 'source@test.com', + 'subject' => 'in test_source: WARNING - test', + 'content' => 'test', + 'tags' => array('#logs', '#warning', '#test'), + 'project' => 'test_source', + ); + $formatted = $formatter->format($record); + + $this->assertEquals($expected, $formatted['flowdock']); + } + + /** + * @ covers Monolog\Formatter\FlowdockFormatter::formatBatch + */ + public function testFormatBatch() + { + $formatter = new FlowdockFormatter('test_source', 'source@test.com'); + $records = array( + $this->getRecord(Logger::WARNING), + $this->getRecord(Logger::DEBUG), + ); + $formatted = $formatter->formatBatch($records); + + $this->assertArrayHasKey('flowdock', $formatted[0]); + $this->assertArrayHasKey('flowdock', $formatted[1]); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php new file mode 100644 index 00000000..622b2bae --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/FluentdFormatterTest.php @@ -0,0 +1,62 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; +use Monolog\TestCase; + +class FluentdFormatterTest extends TestCase +{ + /** + * @covers Monolog\Formatter\FluentdFormatter::__construct + * @covers Monolog\Formatter\FluentdFormatter::isUsingLevelsInTag + */ + public function testConstruct() + { + $formatter = new FluentdFormatter(); + $this->assertEquals(false, $formatter->isUsingLevelsInTag()); + $formatter = new FluentdFormatter(false); + $this->assertEquals(false, $formatter->isUsingLevelsInTag()); + $formatter = new FluentdFormatter(true); + $this->assertEquals(true, $formatter->isUsingLevelsInTag()); + } + + /** + * @covers Monolog\Formatter\FluentdFormatter::format + */ + public function testFormat() + { + $record = $this->getRecord(Logger::WARNING); + $record['datetime'] = new \DateTime("@0"); + + $formatter = new FluentdFormatter(); + $this->assertEquals( + '["test",0,{"message":"test","extra":[],"level":300,"level_name":"WARNING"}]', + $formatter->format($record) + ); + } + + /** + * @covers Monolog\Formatter\FluentdFormatter::format + */ + public function testFormatWithTag() + { + $record = $this->getRecord(Logger::ERROR); + $record['datetime'] = new \DateTime("@0"); + + $formatter = new FluentdFormatter(true); + $this->assertEquals( + '["test.error",0,{"message":"test","extra":[]}]', + $formatter->format($record) + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php new file mode 100644 index 00000000..4a247616 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php @@ -0,0 +1,258 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function setUp() + { + if (!class_exists('\Gelf\Message')) { + $this->markTestSkipped("graylog2/gelf-php or mlehner/gelf-php is not installed"); + } + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + */ + public function testDefaultFormatter() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + $this->assertEquals(0, $message->getTimestamp()); + $this->assertEquals('log', $message->getShortMessage()); + $this->assertEquals('meh', $message->getFacility()); + $this->assertEquals(null, $message->getLine()); + $this->assertEquals(null, $message->getFile()); + $this->assertEquals($this->isLegacy() ? 3 : 'error', $message->getLevel()); + $this->assertNotEmpty($message->getHost()); + + $formatter = new GelfMessageFormatter('mysystem'); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + $this->assertEquals('mysystem', $message->getHost()); + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + */ + public function testFormatWithFileAndLine() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('file' => 'test', 'line' => 14), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + $this->assertEquals('test', $message->getFile()); + $this->assertEquals(14, $message->getLine()); + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + * @expectedException InvalidArgumentException + */ + public function testFormatInvalidFails() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + ); + + $formatter->format($record); + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + */ + public function testFormatWithContext() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + + $message_array = $message->toArray(); + + $this->assertArrayHasKey('_ctxt_from', $message_array); + $this->assertEquals('logger', $message_array['_ctxt_from']); + + // Test with extraPrefix + $formatter = new GelfMessageFormatter(null, null, 'CTX'); + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + + $message_array = $message->toArray(); + + $this->assertArrayHasKey('_CTXfrom', $message_array); + $this->assertEquals('logger', $message_array['_CTXfrom']); + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + */ + public function testFormatWithContextContainingException() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger', 'exception' => array( + 'class' => '\Exception', + 'file' => '/some/file/in/dir.php:56', + 'trace' => array('/some/file/1.php:23', '/some/file/2.php:3'), + )), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + + $this->assertEquals("/some/file/in/dir.php", $message->getFile()); + $this->assertEquals("56", $message->getLine()); + } + + /** + * @covers Monolog\Formatter\GelfMessageFormatter::format + */ + public function testFormatWithExtra() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + + $message_array = $message->toArray(); + + $this->assertArrayHasKey('_key', $message_array); + $this->assertEquals('pair', $message_array['_key']); + + // Test with extraPrefix + $formatter = new GelfMessageFormatter(null, 'EXT'); + $message = $formatter->format($record); + + $this->assertInstanceOf('Gelf\Message', $message); + + $message_array = $message->toArray(); + + $this->assertArrayHasKey('_EXTkey', $message_array); + $this->assertEquals('pair', $message_array['_EXTkey']); + } + + public function testFormatWithLargeData() + { + $formatter = new GelfMessageFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('exception' => str_repeat(' ', 32767)), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => str_repeat(' ', 32767)), + 'message' => 'log' + ); + $message = $formatter->format($record); + $messageArray = $message->toArray(); + + // 200 for padding + metadata + $length = 200; + + foreach ($messageArray as $key => $value) { + if (!in_array($key, array('level', 'timestamp'))) { + $length += strlen($value); + } + } + + $this->assertLessThanOrEqual(65792, $length, 'The message length is no longer than the maximum allowed length'); + } + + public function testFormatWithUnlimitedLength() + { + $formatter = new GelfMessageFormatter('LONG_SYSTEM_NAME', null, 'ctxt_', PHP_INT_MAX); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('exception' => str_repeat(' ', 32767 * 2)), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => str_repeat(' ', 32767 * 2)), + 'message' => 'log' + ); + $message = $formatter->format($record); + $messageArray = $message->toArray(); + + // 200 for padding + metadata + $length = 200; + + foreach ($messageArray as $key => $value) { + if (!in_array($key, array('level', 'timestamp'))) { + $length += strlen($value); + } + } + + $this->assertGreaterThanOrEqual(131289, $length, 'The message should not be truncated'); + } + + private function isLegacy() + { + return interface_exists('\Gelf\IMessagePublisher'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php new file mode 100644 index 00000000..c9445f36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php @@ -0,0 +1,183 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; +use Monolog\TestCase; + +class JsonFormatterTest extends TestCase +{ + /** + * @covers Monolog\Formatter\JsonFormatter::__construct + * @covers Monolog\Formatter\JsonFormatter::getBatchMode + * @covers Monolog\Formatter\JsonFormatter::isAppendingNewlines + */ + public function testConstruct() + { + $formatter = new JsonFormatter(); + $this->assertEquals(JsonFormatter::BATCH_MODE_JSON, $formatter->getBatchMode()); + $this->assertEquals(true, $formatter->isAppendingNewlines()); + $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_NEWLINES, false); + $this->assertEquals(JsonFormatter::BATCH_MODE_NEWLINES, $formatter->getBatchMode()); + $this->assertEquals(false, $formatter->isAppendingNewlines()); + } + + /** + * @covers Monolog\Formatter\JsonFormatter::format + */ + public function testFormat() + { + $formatter = new JsonFormatter(); + $record = $this->getRecord(); + $this->assertEquals(json_encode($record)."\n", $formatter->format($record)); + + $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_JSON, false); + $record = $this->getRecord(); + $this->assertEquals(json_encode($record), $formatter->format($record)); + } + + /** + * @covers Monolog\Formatter\JsonFormatter::formatBatch + * @covers Monolog\Formatter\JsonFormatter::formatBatchJson + */ + public function testFormatBatch() + { + $formatter = new JsonFormatter(); + $records = array( + $this->getRecord(Logger::WARNING), + $this->getRecord(Logger::DEBUG), + ); + $this->assertEquals(json_encode($records), $formatter->formatBatch($records)); + } + + /** + * @covers Monolog\Formatter\JsonFormatter::formatBatch + * @covers Monolog\Formatter\JsonFormatter::formatBatchNewlines + */ + public function testFormatBatchNewlines() + { + $formatter = new JsonFormatter(JsonFormatter::BATCH_MODE_NEWLINES); + $records = $expected = array( + $this->getRecord(Logger::WARNING), + $this->getRecord(Logger::DEBUG), + ); + array_walk($expected, function (&$value, $key) { + $value = json_encode($value); + }); + $this->assertEquals(implode("\n", $expected), $formatter->formatBatch($records)); + } + + public function testDefFormatWithException() + { + $formatter = new JsonFormatter(); + $exception = new \RuntimeException('Foo'); + $formattedException = $this->formatException($exception); + + $message = $this->formatRecordWithExceptionInContext($formatter, $exception); + + $this->assertContextContainsFormattedException($formattedException, $message); + } + + public function testDefFormatWithPreviousException() + { + $formatter = new JsonFormatter(); + $exception = new \RuntimeException('Foo', 0, new \LogicException('Wut?')); + $formattedPrevException = $this->formatException($exception->getPrevious()); + $formattedException = $this->formatException($exception, $formattedPrevException); + + $message = $this->formatRecordWithExceptionInContext($formatter, $exception); + + $this->assertContextContainsFormattedException($formattedException, $message); + } + + public function testDefFormatWithThrowable() + { + if (!class_exists('Error') || !is_subclass_of('Error', 'Throwable')) { + $this->markTestSkipped('Requires PHP >=7'); + } + + $formatter = new JsonFormatter(); + $throwable = new \Error('Foo'); + $formattedThrowable = $this->formatException($throwable); + + $message = $this->formatRecordWithExceptionInContext($formatter, $throwable); + + $this->assertContextContainsFormattedException($formattedThrowable, $message); + } + + /** + * @param string $expected + * @param string $actual + * + * @internal param string $exception + */ + private function assertContextContainsFormattedException($expected, $actual) + { + $this->assertEquals( + '{"level_name":"CRITICAL","channel":"core","context":{"exception":'.$expected.'},"datetime":null,"extra":[],"message":"foobar"}'."\n", + $actual + ); + } + + /** + * @param JsonFormatter $formatter + * @param \Exception|\Throwable $exception + * + * @return string + */ + private function formatRecordWithExceptionInContext(JsonFormatter $formatter, $exception) + { + $message = $formatter->format(array( + 'level_name' => 'CRITICAL', + 'channel' => 'core', + 'context' => array('exception' => $exception), + 'datetime' => null, + 'extra' => array(), + 'message' => 'foobar', + )); + return $message; + } + + /** + * @param \Exception|\Throwable $exception + * + * @return string + */ + private function formatExceptionFilePathWithLine($exception) + { + $options = 0; + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; + } + $path = substr(json_encode($exception->getFile(), $options), 1, -1); + return $path . ':' . $exception->getLine(); + } + + /** + * @param \Exception|\Throwable $exception + * + * @param null|string $previous + * + * @return string + */ + private function formatException($exception, $previous = null) + { + $formattedException = + '{"class":"' . get_class($exception) . + '","message":"' . $exception->getMessage() . + '","code":' . $exception->getCode() . + ',"file":"' . $this->formatExceptionFilePathWithLine($exception) . + ($previous ? '","previous":' . $previous : '"') . + '}'; + return $formattedException; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php new file mode 100644 index 00000000..310d93ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php @@ -0,0 +1,222 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * @covers Monolog\Formatter\LineFormatter + */ +class LineFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function testDefFormatWithString() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'WARNING', + 'channel' => 'log', + 'context' => array(), + 'message' => 'foo', + 'datetime' => new \DateTime, + 'extra' => array(), + )); + $this->assertEquals('['.date('Y-m-d').'] log.WARNING: foo [] []'."\n", $message); + } + + public function testDefFormatWithArrayContext() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'message' => 'foo', + 'datetime' => new \DateTime, + 'extra' => array(), + 'context' => array( + 'foo' => 'bar', + 'baz' => 'qux', + 'bool' => false, + 'null' => null, + ), + )); + $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: foo {"foo":"bar","baz":"qux","bool":false,"null":null} []'."\n", $message); + } + + public function testDefFormatExtras() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array('ip' => '127.0.0.1'), + 'message' => 'log', + )); + $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log [] {"ip":"127.0.0.1"}'."\n", $message); + } + + public function testFormatExtras() + { + $formatter = new LineFormatter("[%datetime%] %channel%.%level_name%: %message% %context% %extra.file% %extra%\n", 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array('ip' => '127.0.0.1', 'file' => 'test'), + 'message' => 'log', + )); + $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log [] test {"ip":"127.0.0.1"}'."\n", $message); + } + + public function testContextAndExtraOptionallyNotShownIfEmpty() + { + $formatter = new LineFormatter(null, 'Y-m-d', false, true); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array(), + 'message' => 'log', + )); + $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: log '."\n", $message); + } + + public function testContextAndExtraReplacement() + { + $formatter = new LineFormatter('%context.foo% => %extra.foo%'); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('foo' => 'bar'), + 'datetime' => new \DateTime, + 'extra' => array('foo' => 'xbar'), + 'message' => 'log', + )); + $this->assertEquals('bar => xbar', $message); + } + + public function testDefFormatWithObject() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array('foo' => new TestFoo, 'bar' => new TestBar, 'baz' => array(), 'res' => fopen('php://memory', 'rb')), + 'message' => 'foobar', + )); + + $this->assertEquals('['.date('Y-m-d').'] meh.ERROR: foobar [] {"foo":"[object] (Monolog\\\\Formatter\\\\TestFoo: {\\"foo\\":\\"foo\\"})","bar":"[object] (Monolog\\\\Formatter\\\\TestBar: bar)","baz":[],"res":"[resource] (stream)"}'."\n", $message); + } + + public function testDefFormatWithException() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format(array( + 'level_name' => 'CRITICAL', + 'channel' => 'core', + 'context' => array('exception' => new \RuntimeException('Foo')), + 'datetime' => new \DateTime, + 'extra' => array(), + 'message' => 'foobar', + )); + + $path = str_replace('\\/', '/', json_encode(__FILE__)); + + $this->assertEquals('['.date('Y-m-d').'] core.CRITICAL: foobar {"exception":"[object] (RuntimeException(code: 0): Foo at '.substr($path, 1, -1).':'.(__LINE__ - 8).')"} []'."\n", $message); + } + + public function testDefFormatWithPreviousException() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $previous = new \LogicException('Wut?'); + $message = $formatter->format(array( + 'level_name' => 'CRITICAL', + 'channel' => 'core', + 'context' => array('exception' => new \RuntimeException('Foo', 0, $previous)), + 'datetime' => new \DateTime, + 'extra' => array(), + 'message' => 'foobar', + )); + + $path = str_replace('\\/', '/', json_encode(__FILE__)); + + $this->assertEquals('['.date('Y-m-d').'] core.CRITICAL: foobar {"exception":"[object] (RuntimeException(code: 0): Foo at '.substr($path, 1, -1).':'.(__LINE__ - 8).', LogicException(code: 0): Wut? at '.substr($path, 1, -1).':'.(__LINE__ - 12).')"} []'."\n", $message); + } + + public function testBatchFormat() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->formatBatch(array( + array( + 'level_name' => 'CRITICAL', + 'channel' => 'test', + 'message' => 'bar', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array(), + ), + array( + 'level_name' => 'WARNING', + 'channel' => 'log', + 'message' => 'foo', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array(), + ), + )); + $this->assertEquals('['.date('Y-m-d').'] test.CRITICAL: bar [] []'."\n".'['.date('Y-m-d').'] log.WARNING: foo [] []'."\n", $message); + } + + public function testFormatShouldStripInlineLineBreaks() + { + $formatter = new LineFormatter(null, 'Y-m-d'); + $message = $formatter->format( + array( + 'message' => "foo\nbar", + 'context' => array(), + 'extra' => array(), + ) + ); + + $this->assertRegExp('/foo bar/', $message); + } + + public function testFormatShouldNotStripInlineLineBreaksWhenFlagIsSet() + { + $formatter = new LineFormatter(null, 'Y-m-d', true); + $message = $formatter->format( + array( + 'message' => "foo\nbar", + 'context' => array(), + 'extra' => array(), + ) + ); + + $this->assertRegExp('/foo\nbar/', $message); + } +} + +class TestFoo +{ + public $foo = 'foo'; +} + +class TestBar +{ + public function __toString() + { + return 'bar'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php new file mode 100644 index 00000000..6d59b3f3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php @@ -0,0 +1,40 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\TestCase; + +class LogglyFormatterTest extends TestCase +{ + /** + * @covers Monolog\Formatter\LogglyFormatter::__construct + */ + public function testConstruct() + { + $formatter = new LogglyFormatter(); + $this->assertEquals(LogglyFormatter::BATCH_MODE_NEWLINES, $formatter->getBatchMode()); + $formatter = new LogglyFormatter(LogglyFormatter::BATCH_MODE_JSON); + $this->assertEquals(LogglyFormatter::BATCH_MODE_JSON, $formatter->getBatchMode()); + } + + /** + * @covers Monolog\Formatter\LogglyFormatter::format + */ + public function testFormat() + { + $formatter = new LogglyFormatter(); + $record = $this->getRecord(); + $formatted_decoded = json_decode($formatter->format($record), true); + $this->assertArrayHasKey("timestamp", $formatted_decoded); + $this->assertEquals(new \DateTime($formatted_decoded["timestamp"]), $record["datetime"]); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php new file mode 100644 index 00000000..9f6b1cc4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php @@ -0,0 +1,333 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +class LogstashFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function tearDown() + { + \PHPUnit_Framework_Error_Warning::$enabled = true; + + return parent::tearDown(); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testDefaultFormatter() + { + $formatter = new LogstashFormatter('test', 'hostname'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']); + $this->assertEquals('log', $message['@message']); + $this->assertEquals('meh', $message['@fields']['channel']); + $this->assertContains('meh', $message['@tags']); + $this->assertEquals(Logger::ERROR, $message['@fields']['level']); + $this->assertEquals('test', $message['@type']); + $this->assertEquals('hostname', $message['@source']); + + $formatter = new LogstashFormatter('mysystem'); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals('mysystem', $message['@type']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithFileAndLine() + { + $formatter = new LogstashFormatter('test'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('file' => 'test', 'line' => 14), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals('test', $message['@fields']['file']); + $this->assertEquals(14, $message['@fields']['line']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithContext() + { + $formatter = new LogstashFormatter('test'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $message_array = $message['@fields']; + + $this->assertArrayHasKey('ctxt_from', $message_array); + $this->assertEquals('logger', $message_array['ctxt_from']); + + // Test with extraPrefix + $formatter = new LogstashFormatter('test', null, null, 'CTX'); + $message = json_decode($formatter->format($record), true); + + $message_array = $message['@fields']; + + $this->assertArrayHasKey('CTXfrom', $message_array); + $this->assertEquals('logger', $message_array['CTXfrom']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithExtra() + { + $formatter = new LogstashFormatter('test'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $message_array = $message['@fields']; + + $this->assertArrayHasKey('key', $message_array); + $this->assertEquals('pair', $message_array['key']); + + // Test with extraPrefix + $formatter = new LogstashFormatter('test', null, 'EXT'); + $message = json_decode($formatter->format($record), true); + + $message_array = $message['@fields']; + + $this->assertArrayHasKey('EXTkey', $message_array); + $this->assertEquals('pair', $message_array['EXTkey']); + } + + public function testFormatWithApplicationName() + { + $formatter = new LogstashFormatter('app', 'test'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('@type', $message); + $this->assertEquals('app', $message['@type']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testDefaultFormatterV1() + { + $formatter = new LogstashFormatter('test', 'hostname', null, 'ctxt_', LogstashFormatter::V1); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']); + $this->assertEquals("1", $message['@version']); + $this->assertEquals('log', $message['message']); + $this->assertEquals('meh', $message['channel']); + $this->assertEquals('ERROR', $message['level']); + $this->assertEquals('test', $message['type']); + $this->assertEquals('hostname', $message['host']); + + $formatter = new LogstashFormatter('mysystem', null, null, 'ctxt_', LogstashFormatter::V1); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals('mysystem', $message['type']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithFileAndLineV1() + { + $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('file' => 'test', 'line' => 14), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals('test', $message['file']); + $this->assertEquals(14, $message['line']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithContextV1() + { + $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('ctxt_from', $message); + $this->assertEquals('logger', $message['ctxt_from']); + + // Test with extraPrefix + $formatter = new LogstashFormatter('test', null, null, 'CTX', LogstashFormatter::V1); + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('CTXfrom', $message); + $this->assertEquals('logger', $message['CTXfrom']); + } + + /** + * @covers Monolog\Formatter\LogstashFormatter::format + */ + public function testFormatWithExtraV1() + { + $formatter = new LogstashFormatter('test', null, null, 'ctxt_', LogstashFormatter::V1); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('key', $message); + $this->assertEquals('pair', $message['key']); + + // Test with extraPrefix + $formatter = new LogstashFormatter('test', null, 'EXT', 'ctxt_', LogstashFormatter::V1); + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('EXTkey', $message); + $this->assertEquals('pair', $message['EXTkey']); + } + + public function testFormatWithApplicationNameV1() + { + $formatter = new LogstashFormatter('app', 'test', null, 'ctxt_', LogstashFormatter::V1); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('key' => 'pair'), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertArrayHasKey('type', $message); + $this->assertEquals('app', $message['type']); + } + + public function testFormatWithLatin9Data() + { + if (version_compare(PHP_VERSION, '5.5.0', '<')) { + // Ignore the warning that will be emitted by PHP <5.5.0 + \PHPUnit_Framework_Error_Warning::$enabled = false; + } + $formatter = new LogstashFormatter('test', 'hostname'); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => '¯\_(ツ)_/¯', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array( + 'user_agent' => "\xD6WN; FBCR/OrangeEspa\xF1a; Vers\xE3o/4.0; F\xE4rist", + ), + 'message' => 'log', + ); + + $message = json_decode($formatter->format($record), true); + + $this->assertEquals("1970-01-01T00:00:00.000000+00:00", $message['@timestamp']); + $this->assertEquals('log', $message['@message']); + $this->assertEquals('¯\_(ツ)_/¯', $message['@fields']['channel']); + $this->assertContains('¯\_(ツ)_/¯', $message['@tags']); + $this->assertEquals(Logger::ERROR, $message['@fields']['level']); + $this->assertEquals('test', $message['@type']); + $this->assertEquals('hostname', $message['@source']); + if (version_compare(PHP_VERSION, '5.5.0', '>=')) { + $this->assertEquals('ÖWN; FBCR/OrangeEspaña; Versão/4.0; Färist', $message['@fields']['user_agent']); + } else { + // PHP <5.5 does not return false for an element encoding failure, + // instead it emits a warning (possibly) and nulls the value. + $this->assertEquals(null, $message['@fields']['user_agent']); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php new file mode 100644 index 00000000..52e699e0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php @@ -0,0 +1,262 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +/** + * @author Florian Plattner + */ +class MongoDBFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function setUp() + { + if (!class_exists('MongoDate')) { + $this->markTestSkipped('mongo extension not installed'); + } + } + + public function constructArgumentProvider() + { + return array( + array(1, true, 1, true), + array(0, false, 0, false), + ); + } + + /** + * @param $traceDepth + * @param $traceAsString + * @param $expectedTraceDepth + * @param $expectedTraceAsString + * + * @dataProvider constructArgumentProvider + */ + public function testConstruct($traceDepth, $traceAsString, $expectedTraceDepth, $expectedTraceAsString) + { + $formatter = new MongoDBFormatter($traceDepth, $traceAsString); + + $reflTrace = new \ReflectionProperty($formatter, 'exceptionTraceAsString'); + $reflTrace->setAccessible(true); + $this->assertEquals($expectedTraceAsString, $reflTrace->getValue($formatter)); + + $reflDepth = new\ReflectionProperty($formatter, 'maxNestingLevel'); + $reflDepth->setAccessible(true); + $this->assertEquals($expectedTraceDepth, $reflDepth->getValue($formatter)); + } + + public function testSimpleFormat() + { + $record = array( + 'message' => 'some log message', + 'context' => array(), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(); + $formattedRecord = $formatter->format($record); + + $this->assertCount(7, $formattedRecord); + $this->assertEquals('some log message', $formattedRecord['message']); + $this->assertEquals(array(), $formattedRecord['context']); + $this->assertEquals(Logger::WARNING, $formattedRecord['level']); + $this->assertEquals(Logger::getLevelName(Logger::WARNING), $formattedRecord['level_name']); + $this->assertEquals('test', $formattedRecord['channel']); + $this->assertInstanceOf('\MongoDate', $formattedRecord['datetime']); + $this->assertEquals('0.00000000 1391212800', $formattedRecord['datetime']->__toString()); + $this->assertEquals(array(), $formattedRecord['extra']); + } + + public function testRecursiveFormat() + { + $someObject = new \stdClass(); + $someObject->foo = 'something'; + $someObject->bar = 'stuff'; + + $record = array( + 'message' => 'some log message', + 'context' => array( + 'stuff' => new \DateTime('2014-02-01 02:31:33'), + 'some_object' => $someObject, + 'context_string' => 'some string', + 'context_int' => 123456, + 'except' => new \Exception('exception message', 987), + ), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(); + $formattedRecord = $formatter->format($record); + + $this->assertCount(5, $formattedRecord['context']); + $this->assertInstanceOf('\MongoDate', $formattedRecord['context']['stuff']); + $this->assertEquals('0.00000000 1391221893', $formattedRecord['context']['stuff']->__toString()); + $this->assertEquals( + array( + 'foo' => 'something', + 'bar' => 'stuff', + 'class' => 'stdClass', + ), + $formattedRecord['context']['some_object'] + ); + $this->assertEquals('some string', $formattedRecord['context']['context_string']); + $this->assertEquals(123456, $formattedRecord['context']['context_int']); + + $this->assertCount(5, $formattedRecord['context']['except']); + $this->assertEquals('exception message', $formattedRecord['context']['except']['message']); + $this->assertEquals(987, $formattedRecord['context']['except']['code']); + $this->assertInternalType('string', $formattedRecord['context']['except']['file']); + $this->assertInternalType('integer', $formattedRecord['context']['except']['code']); + $this->assertInternalType('string', $formattedRecord['context']['except']['trace']); + $this->assertEquals('Exception', $formattedRecord['context']['except']['class']); + } + + public function testFormatDepthArray() + { + $record = array( + 'message' => 'some log message', + 'context' => array( + 'nest2' => array( + 'property' => 'anything', + 'nest3' => array( + 'nest4' => 'value', + 'property' => 'nothing', + ), + ), + ), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(2); + $formattedResult = $formatter->format($record); + + $this->assertEquals( + array( + 'nest2' => array( + 'property' => 'anything', + 'nest3' => '[...]', + ), + ), + $formattedResult['context'] + ); + } + + public function testFormatDepthArrayInfiniteNesting() + { + $record = array( + 'message' => 'some log message', + 'context' => array( + 'nest2' => array( + 'property' => 'something', + 'nest3' => array( + 'property' => 'anything', + 'nest4' => array( + 'property' => 'nothing', + ), + ), + ), + ), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(0); + $formattedResult = $formatter->format($record); + + $this->assertEquals( + array( + 'nest2' => array( + 'property' => 'something', + 'nest3' => array( + 'property' => 'anything', + 'nest4' => array( + 'property' => 'nothing', + ), + ), + ), + ), + $formattedResult['context'] + ); + } + + public function testFormatDepthObjects() + { + $someObject = new \stdClass(); + $someObject->property = 'anything'; + $someObject->nest3 = new \stdClass(); + $someObject->nest3->property = 'nothing'; + $someObject->nest3->nest4 = 'invisible'; + + $record = array( + 'message' => 'some log message', + 'context' => array( + 'nest2' => $someObject, + ), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(2, true); + $formattedResult = $formatter->format($record); + + $this->assertEquals( + array( + 'nest2' => array( + 'property' => 'anything', + 'nest3' => '[...]', + 'class' => 'stdClass', + ), + ), + $formattedResult['context'] + ); + } + + public function testFormatDepthException() + { + $record = array( + 'message' => 'some log message', + 'context' => array( + 'nest2' => new \Exception('exception message', 987), + ), + 'level' => Logger::WARNING, + 'level_name' => Logger::getLevelName(Logger::WARNING), + 'channel' => 'test', + 'datetime' => new \DateTime('2014-02-01 00:00:00'), + 'extra' => array(), + ); + + $formatter = new MongoDBFormatter(2, false); + $formattedRecord = $formatter->format($record); + + $this->assertEquals('exception message', $formattedRecord['context']['nest2']['message']); + $this->assertEquals(987, $formattedRecord['context']['nest2']['code']); + $this->assertEquals('[...]', $formattedRecord['context']['nest2']['trace']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php new file mode 100644 index 00000000..57bcdf98 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php @@ -0,0 +1,423 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * @covers Monolog\Formatter\NormalizerFormatter + */ +class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase +{ + public function tearDown() + { + \PHPUnit_Framework_Error_Warning::$enabled = true; + + return parent::tearDown(); + } + + public function testFormat() + { + $formatter = new NormalizerFormatter('Y-m-d'); + $formatted = $formatter->format(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'message' => 'foo', + 'datetime' => new \DateTime, + 'extra' => array('foo' => new TestFooNorm, 'bar' => new TestBarNorm, 'baz' => array(), 'res' => fopen('php://memory', 'rb')), + 'context' => array( + 'foo' => 'bar', + 'baz' => 'qux', + 'inf' => INF, + '-inf' => -INF, + 'nan' => acos(4), + ), + )); + + $this->assertEquals(array( + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'message' => 'foo', + 'datetime' => date('Y-m-d'), + 'extra' => array( + 'foo' => '[object] (Monolog\\Formatter\\TestFooNorm: {"foo":"foo"})', + 'bar' => '[object] (Monolog\\Formatter\\TestBarNorm: bar)', + 'baz' => array(), + 'res' => '[resource] (stream)', + ), + 'context' => array( + 'foo' => 'bar', + 'baz' => 'qux', + 'inf' => 'INF', + '-inf' => '-INF', + 'nan' => 'NaN', + ), + ), $formatted); + } + + public function testFormatExceptions() + { + $formatter = new NormalizerFormatter('Y-m-d'); + $e = new \LogicException('bar'); + $e2 = new \RuntimeException('foo', 0, $e); + $formatted = $formatter->format(array( + 'exception' => $e2, + )); + + $this->assertGreaterThan(5, count($formatted['exception']['trace'])); + $this->assertTrue(isset($formatted['exception']['previous'])); + unset($formatted['exception']['trace'], $formatted['exception']['previous']); + + $this->assertEquals(array( + 'exception' => array( + 'class' => get_class($e2), + 'message' => $e2->getMessage(), + 'code' => $e2->getCode(), + 'file' => $e2->getFile().':'.$e2->getLine(), + ), + ), $formatted); + } + + public function testFormatSoapFaultException() + { + if (!class_exists('SoapFault')) { + $this->markTestSkipped('Requires the soap extension'); + } + + $formatter = new NormalizerFormatter('Y-m-d'); + $e = new \SoapFault('foo', 'bar', 'hello', 'world'); + $formatted = $formatter->format(array( + 'exception' => $e, + )); + + unset($formatted['exception']['trace']); + + $this->assertEquals(array( + 'exception' => array( + 'class' => 'SoapFault', + 'message' => 'bar', + 'code' => 0, + 'file' => $e->getFile().':'.$e->getLine(), + 'faultcode' => 'foo', + 'faultactor' => 'hello', + 'detail' => 'world', + ), + ), $formatted); + } + + public function testFormatToStringExceptionHandle() + { + $formatter = new NormalizerFormatter('Y-m-d'); + $this->setExpectedException('RuntimeException', 'Could not convert to string'); + $formatter->format(array( + 'myObject' => new TestToStringError(), + )); + } + + public function testBatchFormat() + { + $formatter = new NormalizerFormatter('Y-m-d'); + $formatted = $formatter->formatBatch(array( + array( + 'level_name' => 'CRITICAL', + 'channel' => 'test', + 'message' => 'bar', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array(), + ), + array( + 'level_name' => 'WARNING', + 'channel' => 'log', + 'message' => 'foo', + 'context' => array(), + 'datetime' => new \DateTime, + 'extra' => array(), + ), + )); + $this->assertEquals(array( + array( + 'level_name' => 'CRITICAL', + 'channel' => 'test', + 'message' => 'bar', + 'context' => array(), + 'datetime' => date('Y-m-d'), + 'extra' => array(), + ), + array( + 'level_name' => 'WARNING', + 'channel' => 'log', + 'message' => 'foo', + 'context' => array(), + 'datetime' => date('Y-m-d'), + 'extra' => array(), + ), + ), $formatted); + } + + /** + * Test issue #137 + */ + public function testIgnoresRecursiveObjectReferences() + { + // set up the recursion + $foo = new \stdClass(); + $bar = new \stdClass(); + + $foo->bar = $bar; + $bar->foo = $foo; + + // set an error handler to assert that the error is not raised anymore + $that = $this; + set_error_handler(function ($level, $message, $file, $line, $context) use ($that) { + if (error_reporting() & $level) { + restore_error_handler(); + $that->fail("$message should not be raised"); + } + }); + + $formatter = new NormalizerFormatter(); + $reflMethod = new \ReflectionMethod($formatter, 'toJson'); + $reflMethod->setAccessible(true); + $res = $reflMethod->invoke($formatter, array($foo, $bar), true); + + restore_error_handler(); + + $this->assertEquals(@json_encode(array($foo, $bar)), $res); + } + + public function testIgnoresInvalidTypes() + { + // set up the recursion + $resource = fopen(__FILE__, 'r'); + + // set an error handler to assert that the error is not raised anymore + $that = $this; + set_error_handler(function ($level, $message, $file, $line, $context) use ($that) { + if (error_reporting() & $level) { + restore_error_handler(); + $that->fail("$message should not be raised"); + } + }); + + $formatter = new NormalizerFormatter(); + $reflMethod = new \ReflectionMethod($formatter, 'toJson'); + $reflMethod->setAccessible(true); + $res = $reflMethod->invoke($formatter, array($resource), true); + + restore_error_handler(); + + $this->assertEquals(@json_encode(array($resource)), $res); + } + + public function testNormalizeHandleLargeArrays() + { + $formatter = new NormalizerFormatter(); + $largeArray = range(1, 2000); + + $res = $formatter->format(array( + 'level_name' => 'CRITICAL', + 'channel' => 'test', + 'message' => 'bar', + 'context' => array($largeArray), + 'datetime' => new \DateTime, + 'extra' => array(), + )); + + $this->assertCount(1000, $res['context'][0]); + $this->assertEquals('Over 1000 items (2000 total), aborting normalization', $res['context'][0]['...']); + } + + /** + * @expectedException RuntimeException + */ + public function testThrowsOnInvalidEncoding() + { + if (version_compare(PHP_VERSION, '5.5.0', '<')) { + // Ignore the warning that will be emitted by PHP <5.5.0 + \PHPUnit_Framework_Error_Warning::$enabled = false; + } + $formatter = new NormalizerFormatter(); + $reflMethod = new \ReflectionMethod($formatter, 'toJson'); + $reflMethod->setAccessible(true); + + // send an invalid unicode sequence as a object that can't be cleaned + $record = new \stdClass; + $record->message = "\xB1\x31"; + $res = $reflMethod->invoke($formatter, $record); + if (PHP_VERSION_ID < 50500 && $res === '{"message":null}') { + throw new \RuntimeException('PHP 5.3/5.4 throw a warning and null the value instead of returning false entirely'); + } + } + + public function testConvertsInvalidEncodingAsLatin9() + { + if (version_compare(PHP_VERSION, '5.5.0', '<')) { + // Ignore the warning that will be emitted by PHP <5.5.0 + \PHPUnit_Framework_Error_Warning::$enabled = false; + } + $formatter = new NormalizerFormatter(); + $reflMethod = new \ReflectionMethod($formatter, 'toJson'); + $reflMethod->setAccessible(true); + + $res = $reflMethod->invoke($formatter, array('message' => "\xA4\xA6\xA8\xB4\xB8\xBC\xBD\xBE")); + + if (version_compare(PHP_VERSION, '5.5.0', '>=')) { + $this->assertSame('{"message":"€ŠšŽžŒœŸ"}', $res); + } else { + // PHP <5.5 does not return false for an element encoding failure, + // instead it emits a warning (possibly) and nulls the value. + $this->assertSame('{"message":null}', $res); + } + } + + /** + * @param mixed $in Input + * @param mixed $expect Expected output + * @covers Monolog\Formatter\NormalizerFormatter::detectAndCleanUtf8 + * @dataProvider providesDetectAndCleanUtf8 + */ + public function testDetectAndCleanUtf8($in, $expect) + { + $formatter = new NormalizerFormatter(); + $formatter->detectAndCleanUtf8($in); + $this->assertSame($expect, $in); + } + + public function providesDetectAndCleanUtf8() + { + $obj = new \stdClass; + + return array( + 'null' => array(null, null), + 'int' => array(123, 123), + 'float' => array(123.45, 123.45), + 'bool false' => array(false, false), + 'bool true' => array(true, true), + 'ascii string' => array('abcdef', 'abcdef'), + 'latin9 string' => array("\xB1\x31\xA4\xA6\xA8\xB4\xB8\xBC\xBD\xBE\xFF", '±1€ŠšŽžŒœŸÿ'), + 'unicode string' => array('¤¦¨´¸¼½¾€ŠšŽžŒœŸ', '¤¦¨´¸¼½¾€ŠšŽžŒœŸ'), + 'empty array' => array(array(), array()), + 'array' => array(array('abcdef'), array('abcdef')), + 'object' => array($obj, $obj), + ); + } + + /** + * @param int $code + * @param string $msg + * @dataProvider providesHandleJsonErrorFailure + */ + public function testHandleJsonErrorFailure($code, $msg) + { + $formatter = new NormalizerFormatter(); + $reflMethod = new \ReflectionMethod($formatter, 'handleJsonError'); + $reflMethod->setAccessible(true); + + $this->setExpectedException('RuntimeException', $msg); + $reflMethod->invoke($formatter, $code, 'faked'); + } + + public function providesHandleJsonErrorFailure() + { + return array( + 'depth' => array(JSON_ERROR_DEPTH, 'Maximum stack depth exceeded'), + 'state' => array(JSON_ERROR_STATE_MISMATCH, 'Underflow or the modes mismatch'), + 'ctrl' => array(JSON_ERROR_CTRL_CHAR, 'Unexpected control character found'), + 'default' => array(-1, 'Unknown error'), + ); + } + + public function testExceptionTraceWithArgs() + { + if (defined('HHVM_VERSION')) { + $this->markTestSkipped('Not supported in HHVM since it detects errors differently'); + } + + // This happens i.e. in React promises or Guzzle streams where stream wrappers are registered + // and no file or line are included in the trace because it's treated as internal function + set_error_handler(function ($errno, $errstr, $errfile, $errline) { + throw new \ErrorException($errstr, 0, $errno, $errfile, $errline); + }); + + try { + // This will contain $resource and $wrappedResource as arguments in the trace item + $resource = fopen('php://memory', 'rw+'); + fwrite($resource, 'test_resource'); + $wrappedResource = new TestFooNorm; + $wrappedResource->foo = $resource; + // Just do something stupid with a resource/wrapped resource as argument + array_keys($wrappedResource); + } catch (\Exception $e) { + restore_error_handler(); + } + + $formatter = new NormalizerFormatter(); + $record = array('context' => array('exception' => $e)); + $result = $formatter->format($record); + + $this->assertRegExp( + '%"resource":"\[resource\] \(stream\)"%', + $result['context']['exception']['trace'][0] + ); + + if (version_compare(PHP_VERSION, '5.5.0', '>=')) { + $pattern = '%"wrappedResource":"\[object\] \(Monolog\\\\\\\\Formatter\\\\\\\\TestFooNorm: \)"%'; + } else { + $pattern = '%\\\\"foo\\\\":null%'; + } + + // Tests that the wrapped resource is ignored while encoding, only works for PHP <= 5.4 + $this->assertRegExp( + $pattern, + $result['context']['exception']['trace'][0] + ); + } +} + +class TestFooNorm +{ + public $foo = 'foo'; +} + +class TestBarNorm +{ + public function __toString() + { + return 'bar'; + } +} + +class TestStreamFoo +{ + public $foo; + public $resource; + + public function __construct($resource) + { + $this->resource = $resource; + $this->foo = 'BAR'; + } + + public function __toString() + { + fseek($this->resource, 0); + + return $this->foo . ' - ' . (string) stream_get_contents($this->resource); + } +} + +class TestToStringError +{ + public function __toString() + { + throw new \RuntimeException('Could not convert to string'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php new file mode 100644 index 00000000..b1c8fd49 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php @@ -0,0 +1,110 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +class ScalarFormatterTest extends \PHPUnit_Framework_TestCase +{ + private $formatter; + + public function setUp() + { + $this->formatter = new ScalarFormatter(); + } + + public function buildTrace(\Exception $e) + { + $data = array(); + $trace = $e->getTrace(); + foreach ($trace as $frame) { + if (isset($frame['file'])) { + $data[] = $frame['file'].':'.$frame['line']; + } else { + $data[] = json_encode($frame); + } + } + + return $data; + } + + public function encodeJson($data) + { + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + + return json_encode($data); + } + + public function testFormat() + { + $exception = new \Exception('foo'); + $formatted = $this->formatter->format(array( + 'foo' => 'string', + 'bar' => 1, + 'baz' => false, + 'bam' => array(1, 2, 3), + 'bat' => array('foo' => 'bar'), + 'bap' => \DateTime::createFromFormat(\DateTime::ISO8601, '1970-01-01T00:00:00+0000'), + 'ban' => $exception, + )); + + $this->assertSame(array( + 'foo' => 'string', + 'bar' => 1, + 'baz' => false, + 'bam' => $this->encodeJson(array(1, 2, 3)), + 'bat' => $this->encodeJson(array('foo' => 'bar')), + 'bap' => '1970-01-01 00:00:00', + 'ban' => $this->encodeJson(array( + 'class' => get_class($exception), + 'message' => $exception->getMessage(), + 'code' => $exception->getCode(), + 'file' => $exception->getFile() . ':' . $exception->getLine(), + 'trace' => $this->buildTrace($exception), + )), + ), $formatted); + } + + public function testFormatWithErrorContext() + { + $context = array('file' => 'foo', 'line' => 1); + $formatted = $this->formatter->format(array( + 'context' => $context, + )); + + $this->assertSame(array( + 'context' => $this->encodeJson($context), + ), $formatted); + } + + public function testFormatWithExceptionContext() + { + $exception = new \Exception('foo'); + $formatted = $this->formatter->format(array( + 'context' => array( + 'exception' => $exception, + ), + )); + + $this->assertSame(array( + 'context' => $this->encodeJson(array( + 'exception' => array( + 'class' => get_class($exception), + 'message' => $exception->getMessage(), + 'code' => $exception->getCode(), + 'file' => $exception->getFile() . ':' . $exception->getLine(), + 'trace' => $this->buildTrace($exception), + ), + )), + ), $formatted); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php new file mode 100644 index 00000000..52f15a36 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php @@ -0,0 +1,142 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +use Monolog\Logger; + +class WildfireFormatterTest extends \PHPUnit_Framework_TestCase +{ + /** + * @covers Monolog\Formatter\WildfireFormatter::format + */ + public function testDefaultFormat() + { + $wildfire = new WildfireFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('ip' => '127.0.0.1'), + 'message' => 'log', + ); + + $message = $wildfire->format($record); + + $this->assertEquals( + '125|[{"Type":"ERROR","File":"","Line":"","Label":"meh"},' + .'{"message":"log","context":{"from":"logger"},"extra":{"ip":"127.0.0.1"}}]|', + $message + ); + } + + /** + * @covers Monolog\Formatter\WildfireFormatter::format + */ + public function testFormatWithFileAndLine() + { + $wildfire = new WildfireFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('from' => 'logger'), + 'datetime' => new \DateTime("@0"), + 'extra' => array('ip' => '127.0.0.1', 'file' => 'test', 'line' => 14), + 'message' => 'log', + ); + + $message = $wildfire->format($record); + + $this->assertEquals( + '129|[{"Type":"ERROR","File":"test","Line":14,"Label":"meh"},' + .'{"message":"log","context":{"from":"logger"},"extra":{"ip":"127.0.0.1"}}]|', + $message + ); + } + + /** + * @covers Monolog\Formatter\WildfireFormatter::format + */ + public function testFormatWithoutContext() + { + $wildfire = new WildfireFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $message = $wildfire->format($record); + + $this->assertEquals( + '58|[{"Type":"ERROR","File":"","Line":"","Label":"meh"},"log"]|', + $message + ); + } + + /** + * @covers Monolog\Formatter\WildfireFormatter::formatBatch + * @expectedException BadMethodCallException + */ + public function testBatchFormatThrowException() + { + $wildfire = new WildfireFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array(), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $wildfire->formatBatch(array($record)); + } + + /** + * @covers Monolog\Formatter\WildfireFormatter::format + */ + public function testTableFormat() + { + $wildfire = new WildfireFormatter(); + $record = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'table-channel', + 'context' => array( + WildfireFormatter::TABLE => array( + array('col1', 'col2', 'col3'), + array('val1', 'val2', 'val3'), + array('foo1', 'foo2', 'foo3'), + array('bar1', 'bar2', 'bar3'), + ), + ), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'table-message', + ); + + $message = $wildfire->format($record); + + $this->assertEquals( + '171|[{"Type":"TABLE","File":"","Line":"","Label":"table-channel: table-message"},[["col1","col2","col3"],["val1","val2","val3"],["foo1","foo2","foo3"],["bar1","bar2","bar3"]]]|', + $message + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php new file mode 100644 index 00000000..568eb9da --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php @@ -0,0 +1,115 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; +use Monolog\Processor\WebProcessor; + +class AbstractHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\AbstractHandler::__construct + * @covers Monolog\Handler\AbstractHandler::getLevel + * @covers Monolog\Handler\AbstractHandler::setLevel + * @covers Monolog\Handler\AbstractHandler::getBubble + * @covers Monolog\Handler\AbstractHandler::setBubble + * @covers Monolog\Handler\AbstractHandler::getFormatter + * @covers Monolog\Handler\AbstractHandler::setFormatter + */ + public function testConstructAndGetSet() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array(Logger::WARNING, false)); + $this->assertEquals(Logger::WARNING, $handler->getLevel()); + $this->assertEquals(false, $handler->getBubble()); + + $handler->setLevel(Logger::ERROR); + $handler->setBubble(true); + $handler->setFormatter($formatter = new LineFormatter); + $this->assertEquals(Logger::ERROR, $handler->getLevel()); + $this->assertEquals(true, $handler->getBubble()); + $this->assertSame($formatter, $handler->getFormatter()); + } + + /** + * @covers Monolog\Handler\AbstractHandler::handleBatch + */ + public function testHandleBatch() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler'); + $handler->expects($this->exactly(2)) + ->method('handle'); + $handler->handleBatch(array($this->getRecord(), $this->getRecord())); + } + + /** + * @covers Monolog\Handler\AbstractHandler::isHandling + */ + public function testIsHandling() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array(Logger::WARNING, false)); + $this->assertTrue($handler->isHandling($this->getRecord())); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\AbstractHandler::__construct + */ + public function testHandlesPsrStyleLevels() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler', array('warning', false)); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG))); + $handler->setLevel('debug'); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\AbstractHandler::getFormatter + * @covers Monolog\Handler\AbstractHandler::getDefaultFormatter + */ + public function testGetFormatterInitializesDefault() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler'); + $this->assertInstanceOf('Monolog\Formatter\LineFormatter', $handler->getFormatter()); + } + + /** + * @covers Monolog\Handler\AbstractHandler::pushProcessor + * @covers Monolog\Handler\AbstractHandler::popProcessor + * @expectedException LogicException + */ + public function testPushPopProcessor() + { + $logger = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler'); + $processor1 = new WebProcessor; + $processor2 = new WebProcessor; + + $logger->pushProcessor($processor1); + $logger->pushProcessor($processor2); + + $this->assertEquals($processor2, $logger->popProcessor()); + $this->assertEquals($processor1, $logger->popProcessor()); + $logger->popProcessor(); + } + + /** + * @covers Monolog\Handler\AbstractHandler::pushProcessor + * @expectedException InvalidArgumentException + */ + public function testPushProcessorWithNonCallable() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractHandler'); + + $handler->pushProcessor(new \stdClass()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php new file mode 100644 index 00000000..24d4f63c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php @@ -0,0 +1,80 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Processor\WebProcessor; + +class AbstractProcessingHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\AbstractProcessingHandler::handle + */ + public function testHandleLowerLevelMessage() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::WARNING, true)); + $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\AbstractProcessingHandler::handle + */ + public function testHandleBubbling() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::DEBUG, true)); + $this->assertFalse($handler->handle($this->getRecord())); + } + + /** + * @covers Monolog\Handler\AbstractProcessingHandler::handle + */ + public function testHandleNotBubbling() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::DEBUG, false)); + $this->assertTrue($handler->handle($this->getRecord())); + } + + /** + * @covers Monolog\Handler\AbstractProcessingHandler::handle + */ + public function testHandleIsFalseWhenNotHandled() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler', array(Logger::WARNING, false)); + $this->assertTrue($handler->handle($this->getRecord())); + $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\AbstractProcessingHandler::processRecord + */ + public function testProcessRecord() + { + $handler = $this->getMockForAbstractClass('Monolog\Handler\AbstractProcessingHandler'); + $handler->pushProcessor(new WebProcessor(array( + 'REQUEST_URI' => '', + 'REQUEST_METHOD' => '', + 'REMOTE_ADDR' => '', + 'SERVER_NAME' => '', + 'UNIQUE_ID' => '', + ))); + $handledRecord = null; + $handler->expects($this->once()) + ->method('write') + ->will($this->returnCallback(function ($record) use (&$handledRecord) { + $handledRecord = $record; + })) + ; + $handler->handle($this->getRecord()); + $this->assertEquals(6, count($handledRecord['extra'])); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php new file mode 100644 index 00000000..8e0e7237 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php @@ -0,0 +1,136 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use PhpAmqpLib\Message\AMQPMessage; +use PhpAmqpLib\Connection\AMQPConnection; + +/** + * @covers Monolog\Handler\RotatingFileHandler + */ +class AmqpHandlerTest extends TestCase +{ + public function testHandleAmqpExt() + { + if (!class_exists('AMQPConnection') || !class_exists('AMQPExchange')) { + $this->markTestSkipped("amqp-php not installed"); + } + + if (!class_exists('AMQPChannel')) { + $this->markTestSkipped("Please update AMQP to version >= 1.0"); + } + + $messages = array(); + + $exchange = $this->getMock('AMQPExchange', array('publish', 'setName'), array(), '', false); + $exchange->expects($this->once()) + ->method('setName') + ->with('log') + ; + $exchange->expects($this->any()) + ->method('publish') + ->will($this->returnCallback(function ($message, $routing_key, $flags = 0, $attributes = array()) use (&$messages) { + $messages[] = array($message, $routing_key, $flags, $attributes); + })) + ; + + $handler = new AmqpHandler($exchange, 'log'); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $expected = array( + array( + 'message' => 'test', + 'context' => array( + 'data' => array(), + 'foo' => 34, + ), + 'level' => 300, + 'level_name' => 'WARNING', + 'channel' => 'test', + 'extra' => array(), + ), + 'warn.test', + 0, + array( + 'delivery_mode' => 2, + 'content_type' => 'application/json', + ), + ); + + $handler->handle($record); + + $this->assertCount(1, $messages); + $messages[0][0] = json_decode($messages[0][0], true); + unset($messages[0][0]['datetime']); + $this->assertEquals($expected, $messages[0]); + } + + public function testHandlePhpAmqpLib() + { + if (!class_exists('PhpAmqpLib\Connection\AMQPConnection')) { + $this->markTestSkipped("php-amqplib not installed"); + } + + $messages = array(); + + $exchange = $this->getMock('PhpAmqpLib\Channel\AMQPChannel', array('basic_publish', '__destruct'), array(), '', false); + + $exchange->expects($this->any()) + ->method('basic_publish') + ->will($this->returnCallback(function (AMQPMessage $msg, $exchange = "", $routing_key = "", $mandatory = false, $immediate = false, $ticket = null) use (&$messages) { + $messages[] = array($msg, $exchange, $routing_key, $mandatory, $immediate, $ticket); + })) + ; + + $handler = new AmqpHandler($exchange, 'log'); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $expected = array( + array( + 'message' => 'test', + 'context' => array( + 'data' => array(), + 'foo' => 34, + ), + 'level' => 300, + 'level_name' => 'WARNING', + 'channel' => 'test', + 'extra' => array(), + ), + 'log', + 'warn.test', + false, + false, + null, + array( + 'delivery_mode' => 2, + 'content_type' => 'application/json', + ), + ); + + $handler->handle($record); + + $this->assertCount(1, $messages); + + /* @var $msg AMQPMessage */ + $msg = $messages[0][0]; + $messages[0][0] = json_decode($msg->body, true); + $messages[0][] = $msg->get_properties(); + unset($messages[0][0]['datetime']); + + $this->assertEquals($expected, $messages[0]); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php new file mode 100644 index 00000000..ffb1d746 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php @@ -0,0 +1,130 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\BrowserConsoleHandlerTest + */ +class BrowserConsoleHandlerTest extends TestCase +{ + protected function setUp() + { + BrowserConsoleHandler::reset(); + } + + protected function generateScript() + { + $reflMethod = new \ReflectionMethod('Monolog\Handler\BrowserConsoleHandler', 'generateScript'); + $reflMethod->setAccessible(true); + + return $reflMethod->invoke(null); + } + + public function testStyling() + { + $handler = new BrowserConsoleHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + + $handler->handle($this->getRecord(Logger::DEBUG, 'foo[[bar]]{color: red}')); + + $expected = <<assertEquals($expected, $this->generateScript()); + } + + public function testEscaping() + { + $handler = new BrowserConsoleHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + + $handler->handle($this->getRecord(Logger::DEBUG, "[foo] [[\"bar\n[baz]\"]]{color: red}")); + + $expected = <<assertEquals($expected, $this->generateScript()); + } + + public function testAutolabel() + { + $handler = new BrowserConsoleHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + + $handler->handle($this->getRecord(Logger::DEBUG, '[[foo]]{macro: autolabel}')); + $handler->handle($this->getRecord(Logger::DEBUG, '[[bar]]{macro: autolabel}')); + $handler->handle($this->getRecord(Logger::DEBUG, '[[foo]]{macro: autolabel}')); + + $expected = <<assertEquals($expected, $this->generateScript()); + } + + public function testContext() + { + $handler = new BrowserConsoleHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + + $handler->handle($this->getRecord(Logger::DEBUG, 'test', array('foo' => 'bar'))); + + $expected = <<assertEquals($expected, $this->generateScript()); + } + + public function testConcurrentHandlers() + { + $handler1 = new BrowserConsoleHandler(); + $handler1->setFormatter($this->getIdentityFormatter()); + + $handler2 = new BrowserConsoleHandler(); + $handler2->setFormatter($this->getIdentityFormatter()); + + $handler1->handle($this->getRecord(Logger::DEBUG, 'test1')); + $handler2->handle($this->getRecord(Logger::DEBUG, 'test2')); + $handler1->handle($this->getRecord(Logger::DEBUG, 'test3')); + $handler2->handle($this->getRecord(Logger::DEBUG, 'test4')); + + $expected = <<assertEquals($expected, $this->generateScript()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php new file mode 100644 index 00000000..da8b3c39 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php @@ -0,0 +1,158 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class BufferHandlerTest extends TestCase +{ + private $shutdownCheckHandler; + + /** + * @covers Monolog\Handler\BufferHandler::__construct + * @covers Monolog\Handler\BufferHandler::handle + * @covers Monolog\Handler\BufferHandler::close + */ + public function testHandleBuffers() + { + $test = new TestHandler(); + $handler = new BufferHandler($test); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertFalse($test->hasDebugRecords()); + $this->assertFalse($test->hasInfoRecords()); + $handler->close(); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + } + + /** + * @covers Monolog\Handler\BufferHandler::close + * @covers Monolog\Handler\BufferHandler::flush + */ + public function testPropagatesRecordsAtEndOfRequest() + { + $test = new TestHandler(); + $handler = new BufferHandler($test); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->shutdownCheckHandler = $test; + register_shutdown_function(array($this, 'checkPropagation')); + } + + public function checkPropagation() + { + if (!$this->shutdownCheckHandler->hasWarningRecords() || !$this->shutdownCheckHandler->hasDebugRecords()) { + echo '!!! BufferHandlerTest::testPropagatesRecordsAtEndOfRequest failed to verify that the messages have been propagated' . PHP_EOL; + exit(1); + } + } + + /** + * @covers Monolog\Handler\BufferHandler::handle + */ + public function testHandleBufferLimit() + { + $test = new TestHandler(); + $handler = new BufferHandler($test, 2); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->close(); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertFalse($test->hasDebugRecords()); + } + + /** + * @covers Monolog\Handler\BufferHandler::handle + */ + public function testHandleBufferLimitWithFlushOnOverflow() + { + $test = new TestHandler(); + $handler = new BufferHandler($test, 3, Logger::DEBUG, true, true); + + // send two records + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + $this->assertCount(0, $test->getRecords()); + + // overflow + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertTrue($test->hasDebugRecords()); + $this->assertCount(3, $test->getRecords()); + + // should buffer again + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertCount(3, $test->getRecords()); + + $handler->close(); + $this->assertCount(5, $test->getRecords()); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\BufferHandler::handle + */ + public function testHandleLevel() + { + $test = new TestHandler(); + $handler = new BufferHandler($test, 0, Logger::INFO); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->close(); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertFalse($test->hasDebugRecords()); + } + + /** + * @covers Monolog\Handler\BufferHandler::flush + */ + public function testFlush() + { + $test = new TestHandler(); + $handler = new BufferHandler($test, 0); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->flush(); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue($test->hasDebugRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\BufferHandler::handle + */ + public function testHandleUsesProcessors() + { + $test = new TestHandler(); + $handler = new BufferHandler($test); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->flush(); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php new file mode 100644 index 00000000..0449f8b1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php @@ -0,0 +1,156 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\ChromePHPHandler + */ +class ChromePHPHandlerTest extends TestCase +{ + protected function setUp() + { + TestChromePHPHandler::reset(); + $_SERVER['HTTP_USER_AGENT'] = 'Monolog Test; Chrome/1.0'; + } + + /** + * @dataProvider agentsProvider + */ + public function testHeaders($agent) + { + $_SERVER['HTTP_USER_AGENT'] = $agent; + + $handler = new TestChromePHPHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING)); + + $expected = array( + 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array( + 'version' => ChromePHPHandler::VERSION, + 'columns' => array('label', 'log', 'backtrace', 'type'), + 'rows' => array( + 'test', + 'test', + ), + 'request_uri' => '', + )))), + ); + + $this->assertEquals($expected, $handler->getHeaders()); + } + + public static function agentsProvider() + { + return array( + array('Monolog Test; Chrome/1.0'), + array('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0'), + array('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36'), + array('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome Safari/537.36'), + ); + } + + public function testHeadersOverflow() + { + $handler = new TestChromePHPHandler(); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 150 * 1024))); + + // overflow chrome headers limit + $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 100 * 1024))); + + $expected = array( + 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array( + 'version' => ChromePHPHandler::VERSION, + 'columns' => array('label', 'log', 'backtrace', 'type'), + 'rows' => array( + array( + 'test', + 'test', + 'unknown', + 'log', + ), + array( + 'test', + str_repeat('a', 150 * 1024), + 'unknown', + 'warn', + ), + array( + 'monolog', + 'Incomplete logs, chrome header size limit reached', + 'unknown', + 'warn', + ), + ), + 'request_uri' => '', + )))), + ); + + $this->assertEquals($expected, $handler->getHeaders()); + } + + public function testConcurrentHandlers() + { + $handler = new TestChromePHPHandler(); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING)); + + $handler2 = new TestChromePHPHandler(); + $handler2->setFormatter($this->getIdentityFormatter()); + $handler2->handle($this->getRecord(Logger::DEBUG)); + $handler2->handle($this->getRecord(Logger::WARNING)); + + $expected = array( + 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array( + 'version' => ChromePHPHandler::VERSION, + 'columns' => array('label', 'log', 'backtrace', 'type'), + 'rows' => array( + 'test', + 'test', + 'test', + 'test', + ), + 'request_uri' => '', + )))), + ); + + $this->assertEquals($expected, $handler2->getHeaders()); + } +} + +class TestChromePHPHandler extends ChromePHPHandler +{ + protected $headers = array(); + + public static function reset() + { + self::$initialized = false; + self::$overflowed = false; + self::$sendHeaders = true; + self::$json['rows'] = array(); + } + + protected function sendHeader($header, $content) + { + $this->headers[$header] = $content; + } + + public function getHeaders() + { + return $this->headers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php new file mode 100644 index 00000000..9fc4b388 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class CouchDBHandlerTest extends TestCase +{ + public function testHandle() + { + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $handler = new CouchDBHandler(); + + try { + $handler->handle($record); + } catch (\RuntimeException $e) { + $this->markTestSkipped('Could not connect to couchdb server on http://localhost:5984'); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php new file mode 100644 index 00000000..e2aff868 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DeduplicationHandlerTest.php @@ -0,0 +1,165 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class DeduplicationHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\DeduplicationHandler::flush + */ + public function testFlushPassthruIfAllRecordsUnderTrigger() + { + $test = new TestHandler(); + @unlink(sys_get_temp_dir().'/monolog_dedup.log'); + $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0); + + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + + $handler->flush(); + + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue($test->hasDebugRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\DeduplicationHandler::flush + * @covers Monolog\Handler\DeduplicationHandler::appendRecord + */ + public function testFlushPassthruIfEmptyLog() + { + $test = new TestHandler(); + @unlink(sys_get_temp_dir().'/monolog_dedup.log'); + $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0); + + $handler->handle($this->getRecord(Logger::ERROR, 'Foo:bar')); + $handler->handle($this->getRecord(Logger::CRITICAL, "Foo\nbar")); + + $handler->flush(); + + $this->assertTrue($test->hasErrorRecords()); + $this->assertTrue($test->hasCriticalRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\DeduplicationHandler::flush + * @covers Monolog\Handler\DeduplicationHandler::appendRecord + * @covers Monolog\Handler\DeduplicationHandler::isDuplicate + * @depends testFlushPassthruIfEmptyLog + */ + public function testFlushSkipsIfLogExists() + { + $test = new TestHandler(); + $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0); + + $handler->handle($this->getRecord(Logger::ERROR, 'Foo:bar')); + $handler->handle($this->getRecord(Logger::CRITICAL, "Foo\nbar")); + + $handler->flush(); + + $this->assertFalse($test->hasErrorRecords()); + $this->assertFalse($test->hasCriticalRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\DeduplicationHandler::flush + * @covers Monolog\Handler\DeduplicationHandler::appendRecord + * @covers Monolog\Handler\DeduplicationHandler::isDuplicate + * @depends testFlushPassthruIfEmptyLog + */ + public function testFlushPassthruIfLogTooOld() + { + $test = new TestHandler(); + $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0); + + $record = $this->getRecord(Logger::ERROR); + $record['datetime']->modify('+62seconds'); + $handler->handle($record); + $record = $this->getRecord(Logger::CRITICAL); + $record['datetime']->modify('+62seconds'); + $handler->handle($record); + + $handler->flush(); + + $this->assertTrue($test->hasErrorRecords()); + $this->assertTrue($test->hasCriticalRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\DeduplicationHandler::flush + * @covers Monolog\Handler\DeduplicationHandler::appendRecord + * @covers Monolog\Handler\DeduplicationHandler::isDuplicate + * @covers Monolog\Handler\DeduplicationHandler::collectLogs + */ + public function testGcOldLogs() + { + $test = new TestHandler(); + @unlink(sys_get_temp_dir().'/monolog_dedup.log'); + $handler = new DeduplicationHandler($test, sys_get_temp_dir().'/monolog_dedup.log', 0); + + // handle two records from yesterday, and one recent + $record = $this->getRecord(Logger::ERROR); + $record['datetime']->modify('-1day -10seconds'); + $handler->handle($record); + $record2 = $this->getRecord(Logger::CRITICAL); + $record2['datetime']->modify('-1day -10seconds'); + $handler->handle($record2); + $record3 = $this->getRecord(Logger::CRITICAL); + $record3['datetime']->modify('-30seconds'); + $handler->handle($record3); + + // log is written as none of them are duplicate + $handler->flush(); + $this->assertSame( + $record['datetime']->getTimestamp() . ":ERROR:test\n" . + $record2['datetime']->getTimestamp() . ":CRITICAL:test\n" . + $record3['datetime']->getTimestamp() . ":CRITICAL:test\n", + file_get_contents(sys_get_temp_dir() . '/monolog_dedup.log') + ); + $this->assertTrue($test->hasErrorRecords()); + $this->assertTrue($test->hasCriticalRecords()); + $this->assertFalse($test->hasWarningRecords()); + + // clear test handler + $test->clear(); + $this->assertFalse($test->hasErrorRecords()); + $this->assertFalse($test->hasCriticalRecords()); + + // log new records, duplicate log gets GC'd at the end of this flush call + $handler->handle($record = $this->getRecord(Logger::ERROR)); + $handler->handle($record2 = $this->getRecord(Logger::CRITICAL)); + $handler->flush(); + + // log should now contain the new errors and the previous one that was recent enough + $this->assertSame( + $record3['datetime']->getTimestamp() . ":CRITICAL:test\n" . + $record['datetime']->getTimestamp() . ":ERROR:test\n" . + $record2['datetime']->getTimestamp() . ":CRITICAL:test\n", + file_get_contents(sys_get_temp_dir() . '/monolog_dedup.log') + ); + $this->assertTrue($test->hasErrorRecords()); + $this->assertTrue($test->hasCriticalRecords()); + $this->assertFalse($test->hasWarningRecords()); + } + + public static function tearDownAfterClass() + { + @unlink(sys_get_temp_dir().'/monolog_dedup.log'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php new file mode 100644 index 00000000..d67da90a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php @@ -0,0 +1,52 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class DoctrineCouchDBHandlerTest extends TestCase +{ + protected function setup() + { + if (!class_exists('Doctrine\CouchDB\CouchDBClient')) { + $this->markTestSkipped('The "doctrine/couchdb" package is not installed'); + } + } + + public function testHandle() + { + $client = $this->getMockBuilder('Doctrine\\CouchDB\\CouchDBClient') + ->setMethods(array('postDocument')) + ->disableOriginalConstructor() + ->getMock(); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $expected = array( + 'message' => 'test', + 'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34), + 'level' => Logger::WARNING, + 'level_name' => 'WARNING', + 'channel' => 'test', + 'datetime' => $record['datetime']->format('Y-m-d H:i:s'), + 'extra' => array(), + ); + + $client->expects($this->once()) + ->method('postDocument') + ->with($expected); + + $handler = new DoctrineCouchDBHandler($client); + $handler->handle($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php new file mode 100644 index 00000000..2e6c348d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php @@ -0,0 +1,82 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; + +class DynamoDbHandlerTest extends TestCase +{ + private $client; + + public function setUp() + { + if (!class_exists('Aws\DynamoDb\DynamoDbClient')) { + $this->markTestSkipped('aws/aws-sdk-php not installed'); + } + + $this->client = $this->getMockBuilder('Aws\DynamoDb\DynamoDbClient') + ->setMethods(array('formatAttributes', '__call')) + ->disableOriginalConstructor()->getMock(); + } + + public function testConstruct() + { + $this->assertInstanceOf('Monolog\Handler\DynamoDbHandler', new DynamoDbHandler($this->client, 'foo')); + } + + public function testInterface() + { + $this->assertInstanceOf('Monolog\Handler\HandlerInterface', new DynamoDbHandler($this->client, 'foo')); + } + + public function testGetFormatter() + { + $handler = new DynamoDbHandler($this->client, 'foo'); + $this->assertInstanceOf('Monolog\Formatter\ScalarFormatter', $handler->getFormatter()); + } + + public function testHandle() + { + $record = $this->getRecord(); + $formatter = $this->getMock('Monolog\Formatter\FormatterInterface'); + $formatted = array('foo' => 1, 'bar' => 2); + $handler = new DynamoDbHandler($this->client, 'foo'); + $handler->setFormatter($formatter); + + $isV3 = defined('Aws\Sdk::VERSION') && version_compare(\Aws\Sdk::VERSION, '3.0', '>='); + if ($isV3) { + $expFormatted = array('foo' => array('N' => 1), 'bar' => array('N' => 2)); + } else { + $expFormatted = $formatted; + } + + $formatter + ->expects($this->once()) + ->method('format') + ->with($record) + ->will($this->returnValue($formatted)); + $this->client + ->expects($isV3 ? $this->never() : $this->once()) + ->method('formatAttributes') + ->with($this->isType('array')) + ->will($this->returnValue($formatted)); + $this->client + ->expects($this->once()) + ->method('__call') + ->with('putItem', array(array( + 'TableName' => 'foo', + 'Item' => $expFormatted, + ))); + + $handler->handle($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php new file mode 100644 index 00000000..1687074b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php @@ -0,0 +1,239 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\ElasticaFormatter; +use Monolog\Formatter\NormalizerFormatter; +use Monolog\TestCase; +use Monolog\Logger; +use Elastica\Client; +use Elastica\Request; +use Elastica\Response; + +class ElasticSearchHandlerTest extends TestCase +{ + /** + * @var Client mock + */ + protected $client; + + /** + * @var array Default handler options + */ + protected $options = array( + 'index' => 'my_index', + 'type' => 'doc_type', + ); + + public function setUp() + { + // Elastica lib required + if (!class_exists("Elastica\Client")) { + $this->markTestSkipped("ruflin/elastica not installed"); + } + + // base mock Elastica Client object + $this->client = $this->getMockBuilder('Elastica\Client') + ->setMethods(array('addDocuments')) + ->disableOriginalConstructor() + ->getMock(); + } + + /** + * @covers Monolog\Handler\ElasticSearchHandler::write + * @covers Monolog\Handler\ElasticSearchHandler::handleBatch + * @covers Monolog\Handler\ElasticSearchHandler::bulkSend + * @covers Monolog\Handler\ElasticSearchHandler::getDefaultFormatter + */ + public function testHandle() + { + // log message + $msg = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + // format expected result + $formatter = new ElasticaFormatter($this->options['index'], $this->options['type']); + $expected = array($formatter->format($msg)); + + // setup ES client mock + $this->client->expects($this->any()) + ->method('addDocuments') + ->with($expected); + + // perform tests + $handler = new ElasticSearchHandler($this->client, $this->options); + $handler->handle($msg); + $handler->handleBatch(array($msg)); + } + + /** + * @covers Monolog\Handler\ElasticSearchHandler::setFormatter + */ + public function testSetFormatter() + { + $handler = new ElasticSearchHandler($this->client); + $formatter = new ElasticaFormatter('index_new', 'type_new'); + $handler->setFormatter($formatter); + $this->assertInstanceOf('Monolog\Formatter\ElasticaFormatter', $handler->getFormatter()); + $this->assertEquals('index_new', $handler->getFormatter()->getIndex()); + $this->assertEquals('type_new', $handler->getFormatter()->getType()); + } + + /** + * @covers Monolog\Handler\ElasticSearchHandler::setFormatter + * @expectedException InvalidArgumentException + * @expectedExceptionMessage ElasticSearchHandler is only compatible with ElasticaFormatter + */ + public function testSetFormatterInvalid() + { + $handler = new ElasticSearchHandler($this->client); + $formatter = new NormalizerFormatter(); + $handler->setFormatter($formatter); + } + + /** + * @covers Monolog\Handler\ElasticSearchHandler::__construct + * @covers Monolog\Handler\ElasticSearchHandler::getOptions + */ + public function testOptions() + { + $expected = array( + 'index' => $this->options['index'], + 'type' => $this->options['type'], + 'ignore_error' => false, + ); + $handler = new ElasticSearchHandler($this->client, $this->options); + $this->assertEquals($expected, $handler->getOptions()); + } + + /** + * @covers Monolog\Handler\ElasticSearchHandler::bulkSend + * @dataProvider providerTestConnectionErrors + */ + public function testConnectionErrors($ignore, $expectedError) + { + $clientOpts = array('host' => '127.0.0.1', 'port' => 1); + $client = new Client($clientOpts); + $handlerOpts = array('ignore_error' => $ignore); + $handler = new ElasticSearchHandler($client, $handlerOpts); + + if ($expectedError) { + $this->setExpectedException($expectedError[0], $expectedError[1]); + $handler->handle($this->getRecord()); + } else { + $this->assertFalse($handler->handle($this->getRecord())); + } + } + + /** + * @return array + */ + public function providerTestConnectionErrors() + { + return array( + array(false, array('RuntimeException', 'Error sending messages to Elasticsearch')), + array(true, false), + ); + } + + /** + * Integration test using localhost Elastic Search server + * + * @covers Monolog\Handler\ElasticSearchHandler::__construct + * @covers Monolog\Handler\ElasticSearchHandler::handleBatch + * @covers Monolog\Handler\ElasticSearchHandler::bulkSend + * @covers Monolog\Handler\ElasticSearchHandler::getDefaultFormatter + */ + public function testHandleIntegration() + { + $msg = array( + 'level' => Logger::ERROR, + 'level_name' => 'ERROR', + 'channel' => 'meh', + 'context' => array('foo' => 7, 'bar', 'class' => new \stdClass), + 'datetime' => new \DateTime("@0"), + 'extra' => array(), + 'message' => 'log', + ); + + $expected = $msg; + $expected['datetime'] = $msg['datetime']->format(\DateTime::ISO8601); + $expected['context'] = array( + 'class' => '[object] (stdClass: {})', + 'foo' => 7, + 0 => 'bar', + ); + + $client = new Client(); + $handler = new ElasticSearchHandler($client, $this->options); + try { + $handler->handleBatch(array($msg)); + } catch (\RuntimeException $e) { + $this->markTestSkipped("Cannot connect to Elastic Search server on localhost"); + } + + // check document id from ES server response + $documentId = $this->getCreatedDocId($client->getLastResponse()); + $this->assertNotEmpty($documentId, 'No elastic document id received'); + + // retrieve document source from ES and validate + $document = $this->getDocSourceFromElastic( + $client, + $this->options['index'], + $this->options['type'], + $documentId + ); + $this->assertEquals($expected, $document); + + // remove test index from ES + $client->request("/{$this->options['index']}", Request::DELETE); + } + + /** + * Return last created document id from ES response + * @param Response $response Elastica Response object + * @return string|null + */ + protected function getCreatedDocId(Response $response) + { + $data = $response->getData(); + if (!empty($data['items'][0]['create']['_id'])) { + return $data['items'][0]['create']['_id']; + } + } + + /** + * Retrieve document by id from Elasticsearch + * @param Client $client Elastica client + * @param string $index + * @param string $type + * @param string $documentId + * @return array + */ + protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId) + { + $resp = $client->request("/{$index}/{$type}/{$documentId}", Request::GET); + $data = $resp->getData(); + if (!empty($data['_source'])) { + return $data['_source']; + } + + return array(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php new file mode 100644 index 00000000..99785cbb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php @@ -0,0 +1,66 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; + +function error_log() +{ + $GLOBALS['error_log'][] = func_get_args(); +} + +class ErrorLogHandlerTest extends TestCase +{ + protected function setUp() + { + $GLOBALS['error_log'] = array(); + } + + /** + * @covers Monolog\Handler\ErrorLogHandler::__construct + * @expectedException InvalidArgumentException + * @expectedExceptionMessage The given message type "42" is not supported + */ + public function testShouldNotAcceptAnInvalidTypeOnContructor() + { + new ErrorLogHandler(42); + } + + /** + * @covers Monolog\Handler\ErrorLogHandler::write + */ + public function testShouldLogMessagesUsingErrorLogFuncion() + { + $type = ErrorLogHandler::OPERATING_SYSTEM; + $handler = new ErrorLogHandler($type); + $handler->setFormatter(new LineFormatter('%channel%.%level_name%: %message% %context% %extra%', null, true)); + $handler->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz")); + + $this->assertSame("test.ERROR: Foo\nBar\r\n\r\nBaz [] []", $GLOBALS['error_log'][0][0]); + $this->assertSame($GLOBALS['error_log'][0][1], $type); + + $handler = new ErrorLogHandler($type, Logger::DEBUG, true, true); + $handler->setFormatter(new LineFormatter(null, null, true)); + $handler->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz")); + + $this->assertStringMatchesFormat('[%s] test.ERROR: Foo', $GLOBALS['error_log'][1][0]); + $this->assertSame($GLOBALS['error_log'][1][1], $type); + + $this->assertStringMatchesFormat('Bar', $GLOBALS['error_log'][2][0]); + $this->assertSame($GLOBALS['error_log'][2][1], $type); + + $this->assertStringMatchesFormat('Baz [] []', $GLOBALS['error_log'][3][0]); + $this->assertSame($GLOBALS['error_log'][3][1], $type); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php new file mode 100644 index 00000000..31b7686a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php @@ -0,0 +1,170 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\TestCase; + +class FilterHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\FilterHandler::isHandling + */ + public function testIsHandling() + { + $test = new TestHandler(); + $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG))); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::INFO))); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::NOTICE))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::WARNING))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::ERROR))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::CRITICAL))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::ALERT))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::EMERGENCY))); + } + + /** + * @covers Monolog\Handler\FilterHandler::handle + * @covers Monolog\Handler\FilterHandler::setAcceptedLevels + * @covers Monolog\Handler\FilterHandler::isHandling + */ + public function testHandleProcessOnlyNeededLevels() + { + $test = new TestHandler(); + $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE); + + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertTrue($test->hasInfoRecords()); + $handler->handle($this->getRecord(Logger::NOTICE)); + $this->assertTrue($test->hasNoticeRecords()); + + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertFalse($test->hasWarningRecords()); + $handler->handle($this->getRecord(Logger::ERROR)); + $this->assertFalse($test->hasErrorRecords()); + $handler->handle($this->getRecord(Logger::CRITICAL)); + $this->assertFalse($test->hasCriticalRecords()); + $handler->handle($this->getRecord(Logger::ALERT)); + $this->assertFalse($test->hasAlertRecords()); + $handler->handle($this->getRecord(Logger::EMERGENCY)); + $this->assertFalse($test->hasEmergencyRecords()); + + $test = new TestHandler(); + $handler = new FilterHandler($test, array(Logger::INFO, Logger::ERROR)); + + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertTrue($test->hasInfoRecords()); + $handler->handle($this->getRecord(Logger::NOTICE)); + $this->assertFalse($test->hasNoticeRecords()); + $handler->handle($this->getRecord(Logger::ERROR)); + $this->assertTrue($test->hasErrorRecords()); + $handler->handle($this->getRecord(Logger::CRITICAL)); + $this->assertFalse($test->hasCriticalRecords()); + } + + /** + * @covers Monolog\Handler\FilterHandler::setAcceptedLevels + * @covers Monolog\Handler\FilterHandler::getAcceptedLevels + */ + public function testAcceptedLevelApi() + { + $test = new TestHandler(); + $handler = new FilterHandler($test); + + $levels = array(Logger::INFO, Logger::ERROR); + $handler->setAcceptedLevels($levels); + $this->assertSame($levels, $handler->getAcceptedLevels()); + + $handler->setAcceptedLevels(array('info', 'error')); + $this->assertSame($levels, $handler->getAcceptedLevels()); + + $levels = array(Logger::CRITICAL, Logger::ALERT, Logger::EMERGENCY); + $handler->setAcceptedLevels(Logger::CRITICAL, Logger::EMERGENCY); + $this->assertSame($levels, $handler->getAcceptedLevels()); + + $handler->setAcceptedLevels('critical', 'emergency'); + $this->assertSame($levels, $handler->getAcceptedLevels()); + } + + /** + * @covers Monolog\Handler\FilterHandler::handle + */ + public function testHandleUsesProcessors() + { + $test = new TestHandler(); + $handler = new FilterHandler($test, Logger::DEBUG, Logger::EMERGENCY); + $handler->pushProcessor( + function ($record) { + $record['extra']['foo'] = true; + + return $record; + } + ); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } + + /** + * @covers Monolog\Handler\FilterHandler::handle + */ + public function testHandleRespectsBubble() + { + $test = new TestHandler(); + + $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE, false); + $this->assertTrue($handler->handle($this->getRecord(Logger::INFO))); + $this->assertFalse($handler->handle($this->getRecord(Logger::WARNING))); + + $handler = new FilterHandler($test, Logger::INFO, Logger::NOTICE, true); + $this->assertFalse($handler->handle($this->getRecord(Logger::INFO))); + $this->assertFalse($handler->handle($this->getRecord(Logger::WARNING))); + } + + /** + * @covers Monolog\Handler\FilterHandler::handle + */ + public function testHandleWithCallback() + { + $test = new TestHandler(); + $handler = new FilterHandler( + function ($record, $handler) use ($test) { + return $test; + }, Logger::INFO, Logger::NOTICE, false + ); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertFalse($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\FilterHandler::handle + * @expectedException \RuntimeException + */ + public function testHandleWithBadCallbackThrowsException() + { + $handler = new FilterHandler( + function ($record, $handler) { + return 'foo'; + } + ); + $handler->handle($this->getRecord(Logger::WARNING)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php new file mode 100644 index 00000000..b92bf437 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php @@ -0,0 +1,279 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy; +use Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy; +use Psr\Log\LogLevel; + +class FingersCrossedHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\FingersCrossedHandler::__construct + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleBuffers() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertFalse($test->hasDebugRecords()); + $this->assertFalse($test->hasInfoRecords()); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->close(); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 3); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleStopsBufferingAfterTrigger() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->close(); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasDebugRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + * @covers Monolog\Handler\FingersCrossedHandler::reset + */ + public function testHandleRestartBufferingAfterReset() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->reset(); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->close(); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasDebugRecords()); + $this->assertFalse($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleRestartBufferingAfterBeingTriggeredWhenStopBufferingIsDisabled() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, Logger::WARNING, 0, false, false); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->close(); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasDebugRecords()); + $this->assertFalse($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleBufferLimit() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, Logger::WARNING, 2); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertFalse($test->hasDebugRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleWithCallback() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler(function ($record, $handler) use ($test) { + return $test; + }); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertFalse($test->hasDebugRecords()); + $this->assertFalse($test->hasInfoRecords()); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 3); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + * @expectedException RuntimeException + */ + public function testHandleWithBadCallbackThrowsException() + { + $handler = new FingersCrossedHandler(function ($record, $handler) { + return 'foo'; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::isHandling + */ + public function testIsHandlingAlways() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, Logger::ERROR); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::__construct + * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::__construct + * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::isHandlerActivated + */ + public function testErrorLevelActivationStrategy() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING)); + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::__construct + * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::__construct + * @covers Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::isHandlerActivated + */ + public function testErrorLevelActivationStrategyWithPsrLevel() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy('warning')); + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::__construct + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testOverrideActivationStrategy() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy('warning')); + $handler->handle($this->getRecord(Logger::DEBUG)); + $this->assertFalse($test->hasDebugRecords()); + $handler->activate(); + $this->assertTrue($test->hasDebugRecords()); + $handler->handle($this->getRecord(Logger::INFO)); + $this->assertTrue($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::__construct + * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::isHandlerActivated + */ + public function testChannelLevelActivationStrategy() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ChannelLevelActivationStrategy(Logger::ERROR, array('othertest' => Logger::DEBUG))); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertFalse($test->hasWarningRecords()); + $record = $this->getRecord(Logger::DEBUG); + $record['channel'] = 'othertest'; + $handler->handle($record); + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::__construct + * @covers Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy::isHandlerActivated + */ + public function testChannelLevelActivationStrategyWithPsrLevels() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ChannelLevelActivationStrategy('error', array('othertest' => 'debug'))); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertFalse($test->hasWarningRecords()); + $record = $this->getRecord(Logger::DEBUG); + $record['channel'] = 'othertest'; + $handler->handle($record); + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasWarningRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::handle + * @covers Monolog\Handler\FingersCrossedHandler::activate + */ + public function testHandleUsesProcessors() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, Logger::INFO); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::close + */ + public function testPassthruOnClose() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING), 0, true, true, Logger::INFO); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->close(); + $this->assertFalse($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + } + + /** + * @covers Monolog\Handler\FingersCrossedHandler::close + */ + public function testPsrLevelPassthruOnClose() + { + $test = new TestHandler(); + $handler = new FingersCrossedHandler($test, new ErrorLevelActivationStrategy(Logger::WARNING), 0, true, true, LogLevel::INFO); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + $handler->close(); + $this->assertFalse($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php new file mode 100644 index 00000000..0eb10a63 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php @@ -0,0 +1,96 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\FirePHPHandler + */ +class FirePHPHandlerTest extends TestCase +{ + public function setUp() + { + TestFirePHPHandler::reset(); + $_SERVER['HTTP_USER_AGENT'] = 'Monolog Test; FirePHP/1.0'; + } + + public function testHeaders() + { + $handler = new TestFirePHPHandler; + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING)); + + $expected = array( + 'X-Wf-Protocol-1' => 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2', + 'X-Wf-1-Structure-1' => 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1', + 'X-Wf-1-Plugin-1' => 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3', + 'X-Wf-1-1-1-1' => 'test', + 'X-Wf-1-1-1-2' => 'test', + ); + + $this->assertEquals($expected, $handler->getHeaders()); + } + + public function testConcurrentHandlers() + { + $handler = new TestFirePHPHandler; + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::WARNING)); + + $handler2 = new TestFirePHPHandler; + $handler2->setFormatter($this->getIdentityFormatter()); + $handler2->handle($this->getRecord(Logger::DEBUG)); + $handler2->handle($this->getRecord(Logger::WARNING)); + + $expected = array( + 'X-Wf-Protocol-1' => 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2', + 'X-Wf-1-Structure-1' => 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1', + 'X-Wf-1-Plugin-1' => 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3', + 'X-Wf-1-1-1-1' => 'test', + 'X-Wf-1-1-1-2' => 'test', + ); + + $expected2 = array( + 'X-Wf-1-1-1-3' => 'test', + 'X-Wf-1-1-1-4' => 'test', + ); + + $this->assertEquals($expected, $handler->getHeaders()); + $this->assertEquals($expected2, $handler2->getHeaders()); + } +} + +class TestFirePHPHandler extends FirePHPHandler +{ + protected $headers = array(); + + public static function reset() + { + self::$initialized = false; + self::$sendHeaders = true; + self::$messageIndex = 1; + } + + protected function sendHeader($header, $content) + { + $this->headers[$header] = $content; + } + + public function getHeaders() + { + return $this->headers; + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php new file mode 100644 index 00000000..91cdd312 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php @@ -0,0 +1,85 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\Logger; +use Monolog\TestCase; + +/** + * @coversDefaultClass \Monolog\Handler\FleepHookHandler + */ +class FleepHookHandlerTest extends TestCase +{ + /** + * Default token to use in tests + */ + const TOKEN = '123abc'; + + /** + * @var FleepHookHandler + */ + private $handler; + + public function setUp() + { + parent::setUp(); + + if (!extension_loaded('openssl')) { + $this->markTestSkipped('This test requires openssl extension to run'); + } + + // Create instances of the handler and logger for convenience + $this->handler = new FleepHookHandler(self::TOKEN); + } + + /** + * @covers ::__construct + */ + public function testConstructorSetsExpectedDefaults() + { + $this->assertEquals(Logger::DEBUG, $this->handler->getLevel()); + $this->assertEquals(true, $this->handler->getBubble()); + } + + /** + * @covers ::getDefaultFormatter + */ + public function testHandlerUsesLineFormatterWhichIgnoresEmptyArrays() + { + $record = array( + 'message' => 'msg', + 'context' => array(), + 'level' => Logger::DEBUG, + 'level_name' => Logger::getLevelName(Logger::DEBUG), + 'channel' => 'channel', + 'datetime' => new \DateTime(), + 'extra' => array(), + ); + + $expectedFormatter = new LineFormatter(null, null, true, true); + $expected = $expectedFormatter->format($record); + + $handlerFormatter = $this->handler->getFormatter(); + $actual = $handlerFormatter->format($record); + + $this->assertEquals($expected, $actual, 'Empty context and extra arrays should not be rendered'); + } + + /** + * @covers ::__construct + */ + public function testConnectionStringisConstructedCorrectly() + { + $this->assertEquals('ssl://' . FleepHookHandler::FLEEP_HOST . ':443', $this->handler->getConnectionString()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php new file mode 100644 index 00000000..4b120d51 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php @@ -0,0 +1,88 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FlowdockFormatter; +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @author Dominik Liebler + * @see https://www.hipchat.com/docs/api + */ +class FlowdockHandlerTest extends TestCase +{ + /** + * @var resource + */ + private $res; + + /** + * @var FlowdockHandler + */ + private $handler; + + public function setUp() + { + if (!extension_loaded('openssl')) { + $this->markTestSkipped('This test requires openssl to run'); + } + } + + public function testWriteHeader() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v1\/messages\/team_inbox\/.* HTTP\/1.1\\r\\nHost: api.flowdock.com\\r\\nContent-Type: application\/json\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + /** + * @depends testWriteHeader + */ + public function testWriteContent($content) + { + $this->assertRegexp('/"source":"test_source"/', $content); + $this->assertRegexp('/"from_address":"source@test\.com"/', $content); + } + + private function createHandler($token = 'myToken') + { + $constructorArgs = array($token, Logger::DEBUG); + $this->res = fopen('php://memory', 'a'); + $this->handler = $this->getMock( + '\Monolog\Handler\FlowdockHandler', + array('fsockopen', 'streamSetTimeout', 'closeSocket'), + $constructorArgs + ); + + $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString'); + $reflectionProperty->setAccessible(true); + $reflectionProperty->setValue($this->handler, 'localhost:1234'); + + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + $this->handler->expects($this->any()) + ->method('closeSocket') + ->will($this->returnValue(true)); + + $this->handler->setFormatter(new FlowdockFormatter('test_source', 'source@test.com')); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php new file mode 100644 index 00000000..9d007b13 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php @@ -0,0 +1,95 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Gelf\Message; +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\GelfMessageFormatter; + +class GelfHandlerLegacyTest extends TestCase +{ + public function setUp() + { + if (!class_exists('Gelf\MessagePublisher') || !class_exists('Gelf\Message')) { + $this->markTestSkipped("mlehner/gelf-php not installed"); + } + + require_once __DIR__ . '/GelfMockMessagePublisher.php'; + } + + /** + * @covers Monolog\Handler\GelfHandler::__construct + */ + public function testConstruct() + { + $handler = new GelfHandler($this->getMessagePublisher()); + $this->assertInstanceOf('Monolog\Handler\GelfHandler', $handler); + } + + protected function getHandler($messagePublisher) + { + $handler = new GelfHandler($messagePublisher); + + return $handler; + } + + protected function getMessagePublisher() + { + return new GelfMockMessagePublisher('localhost'); + } + + public function testDebug() + { + $messagePublisher = $this->getMessagePublisher(); + $handler = $this->getHandler($messagePublisher); + + $record = $this->getRecord(Logger::DEBUG, "A test debug message"); + $handler->handle($record); + + $this->assertEquals(7, $messagePublisher->lastMessage->getLevel()); + $this->assertEquals('test', $messagePublisher->lastMessage->getFacility()); + $this->assertEquals($record['message'], $messagePublisher->lastMessage->getShortMessage()); + $this->assertEquals(null, $messagePublisher->lastMessage->getFullMessage()); + } + + public function testWarning() + { + $messagePublisher = $this->getMessagePublisher(); + $handler = $this->getHandler($messagePublisher); + + $record = $this->getRecord(Logger::WARNING, "A test warning message"); + $handler->handle($record); + + $this->assertEquals(4, $messagePublisher->lastMessage->getLevel()); + $this->assertEquals('test', $messagePublisher->lastMessage->getFacility()); + $this->assertEquals($record['message'], $messagePublisher->lastMessage->getShortMessage()); + $this->assertEquals(null, $messagePublisher->lastMessage->getFullMessage()); + } + + public function testInjectedGelfMessageFormatter() + { + $messagePublisher = $this->getMessagePublisher(); + $handler = $this->getHandler($messagePublisher); + + $handler->setFormatter(new GelfMessageFormatter('mysystem', 'EXT', 'CTX')); + + $record = $this->getRecord(Logger::WARNING, "A test warning message"); + $record['extra']['blarg'] = 'yep'; + $record['context']['from'] = 'logger'; + $handler->handle($record); + + $this->assertEquals('mysystem', $messagePublisher->lastMessage->getHost()); + $this->assertArrayHasKey('_EXTblarg', $messagePublisher->lastMessage->toArray()); + $this->assertArrayHasKey('_CTXfrom', $messagePublisher->lastMessage->toArray()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php new file mode 100644 index 00000000..8cdd64f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php @@ -0,0 +1,117 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Gelf\Message; +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\GelfMessageFormatter; + +class GelfHandlerTest extends TestCase +{ + public function setUp() + { + if (!class_exists('Gelf\Publisher') || !class_exists('Gelf\Message')) { + $this->markTestSkipped("graylog2/gelf-php not installed"); + } + } + + /** + * @covers Monolog\Handler\GelfHandler::__construct + */ + public function testConstruct() + { + $handler = new GelfHandler($this->getMessagePublisher()); + $this->assertInstanceOf('Monolog\Handler\GelfHandler', $handler); + } + + protected function getHandler($messagePublisher) + { + $handler = new GelfHandler($messagePublisher); + + return $handler; + } + + protected function getMessagePublisher() + { + return $this->getMock('Gelf\Publisher', array('publish'), array(), '', false); + } + + public function testDebug() + { + $record = $this->getRecord(Logger::DEBUG, "A test debug message"); + $expectedMessage = new Message(); + $expectedMessage + ->setLevel(7) + ->setFacility("test") + ->setShortMessage($record['message']) + ->setTimestamp($record['datetime']) + ; + + $messagePublisher = $this->getMessagePublisher(); + $messagePublisher->expects($this->once()) + ->method('publish') + ->with($expectedMessage); + + $handler = $this->getHandler($messagePublisher); + + $handler->handle($record); + } + + public function testWarning() + { + $record = $this->getRecord(Logger::WARNING, "A test warning message"); + $expectedMessage = new Message(); + $expectedMessage + ->setLevel(4) + ->setFacility("test") + ->setShortMessage($record['message']) + ->setTimestamp($record['datetime']) + ; + + $messagePublisher = $this->getMessagePublisher(); + $messagePublisher->expects($this->once()) + ->method('publish') + ->with($expectedMessage); + + $handler = $this->getHandler($messagePublisher); + + $handler->handle($record); + } + + public function testInjectedGelfMessageFormatter() + { + $record = $this->getRecord(Logger::WARNING, "A test warning message"); + $record['extra']['blarg'] = 'yep'; + $record['context']['from'] = 'logger'; + + $expectedMessage = new Message(); + $expectedMessage + ->setLevel(4) + ->setFacility("test") + ->setHost("mysystem") + ->setShortMessage($record['message']) + ->setTimestamp($record['datetime']) + ->setAdditional("EXTblarg", 'yep') + ->setAdditional("CTXfrom", 'logger') + ; + + $messagePublisher = $this->getMessagePublisher(); + $messagePublisher->expects($this->once()) + ->method('publish') + ->with($expectedMessage); + + $handler = $this->getHandler($messagePublisher); + $handler->setFormatter(new GelfMessageFormatter('mysystem', 'EXT', 'CTX')); + $handler->handle($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php new file mode 100644 index 00000000..873d92fb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php @@ -0,0 +1,25 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Gelf\MessagePublisher; +use Gelf\Message; + +class GelfMockMessagePublisher extends MessagePublisher +{ + public function publish(Message $message) + { + $this->lastMessage = $message; + } + + public $lastMessage = null; +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php new file mode 100644 index 00000000..a1b86176 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php @@ -0,0 +1,112 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class GroupHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\GroupHandler::__construct + * @expectedException InvalidArgumentException + */ + public function testConstructorOnlyTakesHandler() + { + new GroupHandler(array(new TestHandler(), "foo")); + } + + /** + * @covers Monolog\Handler\GroupHandler::__construct + * @covers Monolog\Handler\GroupHandler::handle + */ + public function testHandle() + { + $testHandlers = array(new TestHandler(), new TestHandler()); + $handler = new GroupHandler($testHandlers); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + foreach ($testHandlers as $test) { + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + } + } + + /** + * @covers Monolog\Handler\GroupHandler::handleBatch + */ + public function testHandleBatch() + { + $testHandlers = array(new TestHandler(), new TestHandler()); + $handler = new GroupHandler($testHandlers); + $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO))); + foreach ($testHandlers as $test) { + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + } + } + + /** + * @covers Monolog\Handler\GroupHandler::isHandling + */ + public function testIsHandling() + { + $testHandlers = array(new TestHandler(Logger::ERROR), new TestHandler(Logger::WARNING)); + $handler = new GroupHandler($testHandlers); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::ERROR))); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::WARNING))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\GroupHandler::handle + */ + public function testHandleUsesProcessors() + { + $test = new TestHandler(); + $handler = new GroupHandler(array($test)); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } + + /** + * @covers Monolog\Handler\GroupHandler::handle + */ + public function testHandleBatchUsesProcessors() + { + $testHandlers = array(new TestHandler(), new TestHandler()); + $handler = new GroupHandler($testHandlers); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO))); + foreach ($testHandlers as $test) { + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + $this->assertTrue($records[1]['extra']['foo']); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php new file mode 100644 index 00000000..d8d0452c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HandlerWrapperTest.php @@ -0,0 +1,130 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; + +/** + * @author Alexey Karapetov + */ +class HandlerWrapperTest extends TestCase +{ + /** + * @var HandlerWrapper + */ + private $wrapper; + + private $handler; + + public function setUp() + { + parent::setUp(); + $this->handler = $this->getMock('Monolog\\Handler\\HandlerInterface'); + $this->wrapper = new HandlerWrapper($this->handler); + } + + /** + * @return array + */ + public function trueFalseDataProvider() + { + return array( + array(true), + array(false), + ); + } + + /** + * @param $result + * @dataProvider trueFalseDataProvider + */ + public function testIsHandling($result) + { + $record = $this->getRecord(); + $this->handler->expects($this->once()) + ->method('isHandling') + ->with($record) + ->willReturn($result); + + $this->assertEquals($result, $this->wrapper->isHandling($record)); + } + + /** + * @param $result + * @dataProvider trueFalseDataProvider + */ + public function testHandle($result) + { + $record = $this->getRecord(); + $this->handler->expects($this->once()) + ->method('handle') + ->with($record) + ->willReturn($result); + + $this->assertEquals($result, $this->wrapper->handle($record)); + } + + /** + * @param $result + * @dataProvider trueFalseDataProvider + */ + public function testHandleBatch($result) + { + $records = $this->getMultipleRecords(); + $this->handler->expects($this->once()) + ->method('handleBatch') + ->with($records) + ->willReturn($result); + + $this->assertEquals($result, $this->wrapper->handleBatch($records)); + } + + public function testPushProcessor() + { + $processor = function () {}; + $this->handler->expects($this->once()) + ->method('pushProcessor') + ->with($processor); + + $this->assertEquals($this->wrapper, $this->wrapper->pushProcessor($processor)); + } + + public function testPopProcessor() + { + $processor = function () {}; + $this->handler->expects($this->once()) + ->method('popProcessor') + ->willReturn($processor); + + $this->assertEquals($processor, $this->wrapper->popProcessor()); + } + + public function testSetFormatter() + { + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $this->handler->expects($this->once()) + ->method('setFormatter') + ->with($formatter); + + $this->assertEquals($this->wrapper, $this->wrapper->setFormatter($formatter)); + } + + public function testGetFormatter() + { + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $this->handler->expects($this->once()) + ->method('getFormatter') + ->willReturn($formatter); + + $this->assertEquals($formatter, $this->wrapper->getFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php new file mode 100644 index 00000000..52dc9dac --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php @@ -0,0 +1,279 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @author Rafael Dohms + * @see https://www.hipchat.com/docs/api + */ +class HipChatHandlerTest extends TestCase +{ + private $res; + /** @var HipChatHandler */ + private $handler; + + public function testWriteHeader() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v1\/rooms\/message\?format=json&auth_token=.* HTTP\/1.1\\r\\nHost: api.hipchat.com\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + public function testWriteCustomHostHeader() + { + $this->createHandler('myToken', 'room1', 'Monolog', true, 'hipchat.foo.bar'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v1\/rooms\/message\?format=json&auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + public function testWriteV2() + { + $this->createHandler('myToken', 'room1', 'Monolog', false, 'hipchat.foo.bar', 'v2'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v2\/room\/room1\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + public function testWriteV2Notify() + { + $this->createHandler('myToken', 'room1', 'Monolog', true, 'hipchat.foo.bar', 'v2'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v2\/room\/room1\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + public function testRoomSpaces() + { + $this->createHandler('myToken', 'room name', 'Monolog', false, 'hipchat.foo.bar', 'v2'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/v2\/room\/room%20name\/notification\?auth_token=.* HTTP\/1.1\\r\\nHost: hipchat.foo.bar\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + /** + * @depends testWriteHeader + */ + public function testWriteContent($content) + { + $this->assertRegexp('/notify=0&message=test1&message_format=text&color=red&room_id=room1&from=Monolog$/', $content); + } + + public function testWriteContentV1WithoutName() + { + $this->createHandler('myToken', 'room1', null, false, 'hipchat.foo.bar', 'v1'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/notify=0&message=test1&message_format=text&color=red&room_id=room1&from=$/', $content); + + return $content; + } + + /** + * @depends testWriteCustomHostHeader + */ + public function testWriteContentNotify($content) + { + $this->assertRegexp('/notify=1&message=test1&message_format=text&color=red&room_id=room1&from=Monolog$/', $content); + } + + /** + * @depends testWriteV2 + */ + public function testWriteContentV2($content) + { + $this->assertRegexp('/notify=false&message=test1&message_format=text&color=red&from=Monolog$/', $content); + } + + /** + * @depends testWriteV2Notify + */ + public function testWriteContentV2Notify($content) + { + $this->assertRegexp('/notify=true&message=test1&message_format=text&color=red&from=Monolog$/', $content); + } + + public function testWriteContentV2WithoutName() + { + $this->createHandler('myToken', 'room1', null, false, 'hipchat.foo.bar', 'v2'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/notify=false&message=test1&message_format=text&color=red$/', $content); + + return $content; + } + + public function testWriteWithComplexMessage() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Backup of database "example" finished in 16 minutes.')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/message=Backup\+of\+database\+%22example%22\+finished\+in\+16\+minutes\./', $content); + } + + public function testWriteTruncatesLongMessage() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, str_repeat('abcde', 2000))); + fseek($this->res, 0); + $content = fread($this->res, 12000); + + $this->assertRegexp('/message='.str_repeat('abcde', 1900).'\+%5Btruncated%5D/', $content); + } + + /** + * @dataProvider provideLevelColors + */ + public function testWriteWithErrorLevelsAndColors($level, $expectedColor) + { + $this->createHandler(); + $this->handler->handle($this->getRecord($level, 'Backup of database "example" finished in 16 minutes.')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/color='.$expectedColor.'/', $content); + } + + public function provideLevelColors() + { + return array( + array(Logger::DEBUG, 'gray'), + array(Logger::INFO, 'green'), + array(Logger::WARNING, 'yellow'), + array(Logger::ERROR, 'red'), + array(Logger::CRITICAL, 'red'), + array(Logger::ALERT, 'red'), + array(Logger::EMERGENCY,'red'), + array(Logger::NOTICE, 'green'), + ); + } + + /** + * @dataProvider provideBatchRecords + */ + public function testHandleBatch($records, $expectedColor) + { + $this->createHandler(); + + $this->handler->handleBatch($records); + + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/color='.$expectedColor.'/', $content); + } + + public function provideBatchRecords() + { + return array( + array( + array( + array('level' => Logger::WARNING, 'message' => 'Oh bugger!', 'level_name' => 'warning', 'datetime' => new \DateTime()), + array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()), + array('level' => Logger::CRITICAL, 'message' => 'Everything is broken!', 'level_name' => 'critical', 'datetime' => new \DateTime()), + ), + 'red', + ), + array( + array( + array('level' => Logger::WARNING, 'message' => 'Oh bugger!', 'level_name' => 'warning', 'datetime' => new \DateTime()), + array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()), + ), + 'yellow', + ), + array( + array( + array('level' => Logger::DEBUG, 'message' => 'Just debugging.', 'level_name' => 'debug', 'datetime' => new \DateTime()), + array('level' => Logger::NOTICE, 'message' => 'Something noticeable happened.', 'level_name' => 'notice', 'datetime' => new \DateTime()), + ), + 'green', + ), + array( + array( + array('level' => Logger::DEBUG, 'message' => 'Just debugging.', 'level_name' => 'debug', 'datetime' => new \DateTime()), + ), + 'gray', + ), + ); + } + + private function createHandler($token = 'myToken', $room = 'room1', $name = 'Monolog', $notify = false, $host = 'api.hipchat.com', $version = 'v1') + { + $constructorArgs = array($token, $room, $name, $notify, Logger::DEBUG, true, true, 'text', $host, $version); + $this->res = fopen('php://memory', 'a'); + $this->handler = $this->getMock( + '\Monolog\Handler\HipChatHandler', + array('fsockopen', 'streamSetTimeout', 'closeSocket'), + $constructorArgs + ); + + $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString'); + $reflectionProperty->setAccessible(true); + $reflectionProperty->setValue($this->handler, 'localhost:1234'); + + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + $this->handler->expects($this->any()) + ->method('closeSocket') + ->will($this->returnValue(true)); + + $this->handler->setFormatter($this->getIdentityFormatter()); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testCreateWithTooLongName() + { + $hipChatHandler = new HipChatHandler('token', 'room', 'SixteenCharsHere'); + } + + public function testCreateWithTooLongNameV2() + { + // creating a handler with too long of a name but using the v2 api doesn't matter. + $hipChatHandler = new HipChatHandler('token', 'room', 'SixteenCharsHere', false, Logger::CRITICAL, true, true, 'test', 'api.hipchat.com', 'v2'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php new file mode 100644 index 00000000..b2deb40a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php @@ -0,0 +1,84 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @author Robert Kaufmann III + */ +class LogEntriesHandlerTest extends TestCase +{ + /** + * @var resource + */ + private $res; + + /** + * @var LogEntriesHandler + */ + private $handler; + + public function testWriteContent() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Critical write test')); + + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/testToken \[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] test.CRITICAL: Critical write test/', $content); + } + + public function testWriteBatchContent() + { + $records = array( + $this->getRecord(), + $this->getRecord(), + $this->getRecord(), + ); + $this->createHandler(); + $this->handler->handleBatch($records); + + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/(testToken \[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] .* \[\] \[\]\n){3}/', $content); + } + + private function createHandler() + { + $useSSL = extension_loaded('openssl'); + $args = array('testToken', $useSSL, Logger::DEBUG, true); + $this->res = fopen('php://memory', 'a'); + $this->handler = $this->getMock( + '\Monolog\Handler\LogEntriesHandler', + array('fsockopen', 'streamSetTimeout', 'closeSocket'), + $args + ); + + $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString'); + $reflectionProperty->setAccessible(true); + $reflectionProperty->setValue($this->handler, 'localhost:1234'); + + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + $this->handler->expects($this->any()) + ->method('closeSocket') + ->will($this->returnValue(true)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php new file mode 100644 index 00000000..6754f3d6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php @@ -0,0 +1,75 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\TestCase; + +class MailHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\MailHandler::handleBatch + */ + public function testHandleBatch() + { + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter->expects($this->once()) + ->method('formatBatch'); // Each record is formatted + + $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler'); + $handler->expects($this->once()) + ->method('send'); + $handler->expects($this->never()) + ->method('write'); // write is for individual records + + $handler->setFormatter($formatter); + + $handler->handleBatch($this->getMultipleRecords()); + } + + /** + * @covers Monolog\Handler\MailHandler::handleBatch + */ + public function testHandleBatchNotSendsMailIfMessagesAreBelowLevel() + { + $records = array( + $this->getRecord(Logger::DEBUG, 'debug message 1'), + $this->getRecord(Logger::DEBUG, 'debug message 2'), + $this->getRecord(Logger::INFO, 'information'), + ); + + $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler'); + $handler->expects($this->never()) + ->method('send'); + $handler->setLevel(Logger::ERROR); + + $handler->handleBatch($records); + } + + /** + * @covers Monolog\Handler\MailHandler::write + */ + public function testHandle() + { + $handler = $this->getMockForAbstractClass('Monolog\\Handler\\MailHandler'); + + $record = $this->getRecord(); + $records = array($record); + $records[0]['formatted'] = '['.$record['datetime']->format('Y-m-d H:i:s').'] test.WARNING: test [] []'."\n"; + + $handler->expects($this->once()) + ->method('send') + ->with($records[0]['formatted'], $records); + + $handler->handle($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php new file mode 100644 index 00000000..a0833225 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Raven_Client; + +class MockRavenClient extends Raven_Client +{ + public function capture($data, $stack, $vars = null) + { + $data = array_merge($this->get_user_data(), $data); + $this->lastData = $data; + $this->lastStack = $stack; + } + + public $lastData; + public $lastStack; +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php new file mode 100644 index 00000000..0fdef63a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php @@ -0,0 +1,65 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class MongoDBHandlerTest extends TestCase +{ + /** + * @expectedException InvalidArgumentException + */ + public function testConstructorShouldThrowExceptionForInvalidMongo() + { + new MongoDBHandler(new \stdClass(), 'DB', 'Collection'); + } + + public function testHandle() + { + $mongo = $this->getMock('Mongo', array('selectCollection'), array(), '', false); + $collection = $this->getMock('stdClass', array('save')); + + $mongo->expects($this->once()) + ->method('selectCollection') + ->with('DB', 'Collection') + ->will($this->returnValue($collection)); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $expected = array( + 'message' => 'test', + 'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34), + 'level' => Logger::WARNING, + 'level_name' => 'WARNING', + 'channel' => 'test', + 'datetime' => $record['datetime']->format('Y-m-d H:i:s'), + 'extra' => array(), + ); + + $collection->expects($this->once()) + ->method('save') + ->with($expected); + + $handler = new MongoDBHandler($mongo, 'DB', 'Collection'); + $handler->handle($record); + } +} + +if (!class_exists('Mongo')) { + class Mongo + { + public function selectCollection() + { + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php new file mode 100644 index 00000000..ddf545db --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php @@ -0,0 +1,111 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use InvalidArgumentException; + +function mail($to, $subject, $message, $additional_headers = null, $additional_parameters = null) +{ + $GLOBALS['mail'][] = func_get_args(); +} + +class NativeMailerHandlerTest extends TestCase +{ + protected function setUp() + { + $GLOBALS['mail'] = array(); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testConstructorHeaderInjection() + { + $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', "receiver@example.org\r\nFrom: faked@attacker.org"); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testSetterHeaderInjection() + { + $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org'); + $mailer->addHeader("Content-Type: text/html\r\nFrom: faked@attacker.org"); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testSetterArrayHeaderInjection() + { + $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org'); + $mailer->addHeader(array("Content-Type: text/html\r\nFrom: faked@attacker.org")); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testSetterContentTypeInjection() + { + $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org'); + $mailer->setContentType("text/html\r\nFrom: faked@attacker.org"); + } + + /** + * @expectedException InvalidArgumentException + */ + public function testSetterEncodingInjection() + { + $mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org'); + $mailer->setEncoding("utf-8\r\nFrom: faked@attacker.org"); + } + + public function testSend() + { + $to = 'spammer@example.org'; + $subject = 'dear victim'; + $from = 'receiver@example.org'; + + $mailer = new NativeMailerHandler($to, $subject, $from); + $mailer->handleBatch(array()); + + // batch is empty, nothing sent + $this->assertEmpty($GLOBALS['mail']); + + // non-empty batch + $mailer->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz")); + $this->assertNotEmpty($GLOBALS['mail']); + $this->assertInternalType('array', $GLOBALS['mail']); + $this->assertArrayHasKey('0', $GLOBALS['mail']); + $params = $GLOBALS['mail'][0]; + $this->assertCount(5, $params); + $this->assertSame($to, $params[0]); + $this->assertSame($subject, $params[1]); + $this->assertStringEndsWith(" test.ERROR: Foo Bar Baz [] []\n", $params[2]); + $this->assertSame("From: $from\r\nContent-type: text/plain; charset=utf-8\r\n", $params[3]); + $this->assertSame('', $params[4]); + } + + public function testMessageSubjectFormatting() + { + $mailer = new NativeMailerHandler('to@example.org', 'Alert: %level_name% %message%', 'from@example.org'); + $mailer->handle($this->getRecord(Logger::ERROR, "Foo\nBar\r\n\r\nBaz")); + $this->assertNotEmpty($GLOBALS['mail']); + $this->assertInternalType('array', $GLOBALS['mail']); + $this->assertArrayHasKey('0', $GLOBALS['mail']); + $params = $GLOBALS['mail'][0]; + $this->assertCount(5, $params); + $this->assertSame('Alert: ERROR Foo Bar Baz', $params[1]); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php new file mode 100644 index 00000000..4d3a615f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php @@ -0,0 +1,200 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\LineFormatter; +use Monolog\TestCase; +use Monolog\Logger; + +class NewRelicHandlerTest extends TestCase +{ + public static $appname; + public static $customParameters; + public static $transactionName; + + public function setUp() + { + self::$appname = null; + self::$customParameters = array(); + self::$transactionName = null; + } + + /** + * @expectedException Monolog\Handler\MissingExtensionException + */ + public function testThehandlerThrowsAnExceptionIfTheNRExtensionIsNotLoaded() + { + $handler = new StubNewRelicHandlerWithoutExtension(); + $handler->handle($this->getRecord(Logger::ERROR)); + } + + public function testThehandlerCanHandleTheRecord() + { + $handler = new StubNewRelicHandler(); + $handler->handle($this->getRecord(Logger::ERROR)); + } + + public function testThehandlerCanAddContextParamsToTheNewRelicTrace() + { + $handler = new StubNewRelicHandler(); + $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('a' => 'b'))); + $this->assertEquals(array('context_a' => 'b'), self::$customParameters); + } + + public function testThehandlerCanAddExplodedContextParamsToTheNewRelicTrace() + { + $handler = new StubNewRelicHandler(Logger::ERROR, true, self::$appname, true); + $handler->handle($this->getRecord( + Logger::ERROR, + 'log message', + array('a' => array('key1' => 'value1', 'key2' => 'value2')) + )); + $this->assertEquals( + array('context_a_key1' => 'value1', 'context_a_key2' => 'value2'), + self::$customParameters + ); + } + + public function testThehandlerCanAddExtraParamsToTheNewRelicTrace() + { + $record = $this->getRecord(Logger::ERROR, 'log message'); + $record['extra'] = array('c' => 'd'); + + $handler = new StubNewRelicHandler(); + $handler->handle($record); + + $this->assertEquals(array('extra_c' => 'd'), self::$customParameters); + } + + public function testThehandlerCanAddExplodedExtraParamsToTheNewRelicTrace() + { + $record = $this->getRecord(Logger::ERROR, 'log message'); + $record['extra'] = array('c' => array('key1' => 'value1', 'key2' => 'value2')); + + $handler = new StubNewRelicHandler(Logger::ERROR, true, self::$appname, true); + $handler->handle($record); + + $this->assertEquals( + array('extra_c_key1' => 'value1', 'extra_c_key2' => 'value2'), + self::$customParameters + ); + } + + public function testThehandlerCanAddExtraContextAndParamsToTheNewRelicTrace() + { + $record = $this->getRecord(Logger::ERROR, 'log message', array('a' => 'b')); + $record['extra'] = array('c' => 'd'); + + $handler = new StubNewRelicHandler(); + $handler->handle($record); + + $expected = array( + 'context_a' => 'b', + 'extra_c' => 'd', + ); + + $this->assertEquals($expected, self::$customParameters); + } + + public function testThehandlerCanHandleTheRecordsFormattedUsingTheLineFormatter() + { + $handler = new StubNewRelicHandler(); + $handler->setFormatter(new LineFormatter()); + $handler->handle($this->getRecord(Logger::ERROR)); + } + + public function testTheAppNameIsNullByDefault() + { + $handler = new StubNewRelicHandler(); + $handler->handle($this->getRecord(Logger::ERROR, 'log message')); + + $this->assertEquals(null, self::$appname); + } + + public function testTheAppNameCanBeInjectedFromtheConstructor() + { + $handler = new StubNewRelicHandler(Logger::DEBUG, false, 'myAppName'); + $handler->handle($this->getRecord(Logger::ERROR, 'log message')); + + $this->assertEquals('myAppName', self::$appname); + } + + public function testTheAppNameCanBeOverriddenFromEachLog() + { + $handler = new StubNewRelicHandler(Logger::DEBUG, false, 'myAppName'); + $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('appname' => 'logAppName'))); + + $this->assertEquals('logAppName', self::$appname); + } + + public function testTheTransactionNameIsNullByDefault() + { + $handler = new StubNewRelicHandler(); + $handler->handle($this->getRecord(Logger::ERROR, 'log message')); + + $this->assertEquals(null, self::$transactionName); + } + + public function testTheTransactionNameCanBeInjectedFromTheConstructor() + { + $handler = new StubNewRelicHandler(Logger::DEBUG, false, null, false, 'myTransaction'); + $handler->handle($this->getRecord(Logger::ERROR, 'log message')); + + $this->assertEquals('myTransaction', self::$transactionName); + } + + public function testTheTransactionNameCanBeOverriddenFromEachLog() + { + $handler = new StubNewRelicHandler(Logger::DEBUG, false, null, false, 'myTransaction'); + $handler->handle($this->getRecord(Logger::ERROR, 'log message', array('transaction_name' => 'logTransactName'))); + + $this->assertEquals('logTransactName', self::$transactionName); + } +} + +class StubNewRelicHandlerWithoutExtension extends NewRelicHandler +{ + protected function isNewRelicEnabled() + { + return false; + } +} + +class StubNewRelicHandler extends NewRelicHandler +{ + protected function isNewRelicEnabled() + { + return true; + } +} + +function newrelic_notice_error() +{ + return true; +} + +function newrelic_set_appname($appname) +{ + return NewRelicHandlerTest::$appname = $appname; +} + +function newrelic_name_transaction($transactionName) +{ + return NewRelicHandlerTest::$transactionName = $transactionName; +} + +function newrelic_add_custom_parameter($key, $value) +{ + NewRelicHandlerTest::$customParameters[$key] = $value; + + return true; +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php new file mode 100644 index 00000000..292df78c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php @@ -0,0 +1,33 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\NullHandler::handle + */ +class NullHandlerTest extends TestCase +{ + public function testHandle() + { + $handler = new NullHandler(); + $this->assertTrue($handler->handle($this->getRecord())); + } + + public function testHandleLowerLevelRecord() + { + $handler = new NullHandler(Logger::WARNING); + $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG))); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php new file mode 100644 index 00000000..152573ef --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php @@ -0,0 +1,273 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Exception; +use Monolog\ErrorHandler; +use Monolog\Logger; +use Monolog\TestCase; +use PhpConsole\Connector; +use PhpConsole\Dispatcher\Debug as DebugDispatcher; +use PhpConsole\Dispatcher\Errors as ErrorDispatcher; +use PhpConsole\Handler; +use PHPUnit_Framework_MockObject_MockObject; + +/** + * @covers Monolog\Handler\PHPConsoleHandler + * @author Sergey Barbushin https://www.linkedin.com/in/barbushin + */ +class PHPConsoleHandlerTest extends TestCase +{ + /** @var Connector|PHPUnit_Framework_MockObject_MockObject */ + protected $connector; + /** @var DebugDispatcher|PHPUnit_Framework_MockObject_MockObject */ + protected $debugDispatcher; + /** @var ErrorDispatcher|PHPUnit_Framework_MockObject_MockObject */ + protected $errorDispatcher; + + protected function setUp() + { + if (!class_exists('PhpConsole\Connector')) { + $this->markTestSkipped('PHP Console library not found. See https://github.com/barbushin/php-console#installation'); + } + $this->connector = $this->initConnectorMock(); + + $this->debugDispatcher = $this->initDebugDispatcherMock($this->connector); + $this->connector->setDebugDispatcher($this->debugDispatcher); + + $this->errorDispatcher = $this->initErrorDispatcherMock($this->connector); + $this->connector->setErrorsDispatcher($this->errorDispatcher); + } + + protected function initDebugDispatcherMock(Connector $connector) + { + return $this->getMockBuilder('PhpConsole\Dispatcher\Debug') + ->disableOriginalConstructor() + ->setMethods(array('dispatchDebug')) + ->setConstructorArgs(array($connector, $connector->getDumper())) + ->getMock(); + } + + protected function initErrorDispatcherMock(Connector $connector) + { + return $this->getMockBuilder('PhpConsole\Dispatcher\Errors') + ->disableOriginalConstructor() + ->setMethods(array('dispatchError', 'dispatchException')) + ->setConstructorArgs(array($connector, $connector->getDumper())) + ->getMock(); + } + + protected function initConnectorMock() + { + $connector = $this->getMockBuilder('PhpConsole\Connector') + ->disableOriginalConstructor() + ->setMethods(array( + 'sendMessage', + 'onShutDown', + 'isActiveClient', + 'setSourcesBasePath', + 'setServerEncoding', + 'setPassword', + 'enableSslOnlyMode', + 'setAllowedIpMasks', + 'setHeadersLimit', + 'startEvalRequestsListener', + )) + ->getMock(); + + $connector->expects($this->any()) + ->method('isActiveClient') + ->will($this->returnValue(true)); + + return $connector; + } + + protected function getHandlerDefaultOption($name) + { + $handler = new PHPConsoleHandler(array(), $this->connector); + $options = $handler->getOptions(); + + return $options[$name]; + } + + protected function initLogger($handlerOptions = array(), $level = Logger::DEBUG) + { + return new Logger('test', array( + new PHPConsoleHandler($handlerOptions, $this->connector, $level), + )); + } + + public function testInitWithDefaultConnector() + { + $handler = new PHPConsoleHandler(); + $this->assertEquals(spl_object_hash(Connector::getInstance()), spl_object_hash($handler->getConnector())); + } + + public function testInitWithCustomConnector() + { + $handler = new PHPConsoleHandler(array(), $this->connector); + $this->assertEquals(spl_object_hash($this->connector), spl_object_hash($handler->getConnector())); + } + + public function testDebug() + { + $this->debugDispatcher->expects($this->once())->method('dispatchDebug')->with($this->equalTo('test')); + $this->initLogger()->addDebug('test'); + } + + public function testDebugContextInMessage() + { + $message = 'test'; + $tag = 'tag'; + $context = array($tag, 'custom' => mt_rand()); + $expectedMessage = $message . ' ' . json_encode(array_slice($context, 1)); + $this->debugDispatcher->expects($this->once())->method('dispatchDebug')->with( + $this->equalTo($expectedMessage), + $this->equalTo($tag) + ); + $this->initLogger()->addDebug($message, $context); + } + + public function testDebugTags($tagsContextKeys = null) + { + $expectedTags = mt_rand(); + $logger = $this->initLogger($tagsContextKeys ? array('debugTagsKeysInContext' => $tagsContextKeys) : array()); + if (!$tagsContextKeys) { + $tagsContextKeys = $this->getHandlerDefaultOption('debugTagsKeysInContext'); + } + foreach ($tagsContextKeys as $key) { + $debugDispatcher = $this->initDebugDispatcherMock($this->connector); + $debugDispatcher->expects($this->once())->method('dispatchDebug')->with( + $this->anything(), + $this->equalTo($expectedTags) + ); + $this->connector->setDebugDispatcher($debugDispatcher); + $logger->addDebug('test', array($key => $expectedTags)); + } + } + + public function testError($classesPartialsTraceIgnore = null) + { + $code = E_USER_NOTICE; + $message = 'message'; + $file = __FILE__; + $line = __LINE__; + $this->errorDispatcher->expects($this->once())->method('dispatchError')->with( + $this->equalTo($code), + $this->equalTo($message), + $this->equalTo($file), + $this->equalTo($line), + $classesPartialsTraceIgnore ?: $this->equalTo($this->getHandlerDefaultOption('classesPartialsTraceIgnore')) + ); + $errorHandler = ErrorHandler::register($this->initLogger($classesPartialsTraceIgnore ? array('classesPartialsTraceIgnore' => $classesPartialsTraceIgnore) : array()), false); + $errorHandler->registerErrorHandler(array(), false, E_USER_WARNING); + $errorHandler->handleError($code, $message, $file, $line); + } + + public function testException() + { + $e = new Exception(); + $this->errorDispatcher->expects($this->once())->method('dispatchException')->with( + $this->equalTo($e) + ); + $handler = $this->initLogger(); + $handler->log( + \Psr\Log\LogLevel::ERROR, + sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()), + array('exception' => $e) + ); + } + + /** + * @expectedException Exception + */ + public function testWrongOptionsThrowsException() + { + new PHPConsoleHandler(array('xxx' => 1)); + } + + public function testOptionEnabled() + { + $this->debugDispatcher->expects($this->never())->method('dispatchDebug'); + $this->initLogger(array('enabled' => false))->addDebug('test'); + } + + public function testOptionClassesPartialsTraceIgnore() + { + $this->testError(array('Class', 'Namespace\\')); + } + + public function testOptionDebugTagsKeysInContext() + { + $this->testDebugTags(array('key1', 'key2')); + } + + public function testOptionUseOwnErrorsAndExceptionsHandler() + { + $this->initLogger(array('useOwnErrorsHandler' => true, 'useOwnExceptionsHandler' => true)); + $this->assertEquals(array(Handler::getInstance(), 'handleError'), set_error_handler(function () { + })); + $this->assertEquals(array(Handler::getInstance(), 'handleException'), set_exception_handler(function () { + })); + } + + public static function provideConnectorMethodsOptionsSets() + { + return array( + array('sourcesBasePath', 'setSourcesBasePath', __DIR__), + array('serverEncoding', 'setServerEncoding', 'cp1251'), + array('password', 'setPassword', '******'), + array('enableSslOnlyMode', 'enableSslOnlyMode', true, false), + array('ipMasks', 'setAllowedIpMasks', array('127.0.0.*')), + array('headersLimit', 'setHeadersLimit', 2500), + array('enableEvalListener', 'startEvalRequestsListener', true, false), + ); + } + + /** + * @dataProvider provideConnectorMethodsOptionsSets + */ + public function testOptionCallsConnectorMethod($option, $method, $value, $isArgument = true) + { + $expectCall = $this->connector->expects($this->once())->method($method); + if ($isArgument) { + $expectCall->with($value); + } + new PHPConsoleHandler(array($option => $value), $this->connector); + } + + public function testOptionDetectDumpTraceAndSource() + { + new PHPConsoleHandler(array('detectDumpTraceAndSource' => true), $this->connector); + $this->assertTrue($this->connector->getDebugDispatcher()->detectTraceAndSource); + } + + public static function provideDumperOptionsValues() + { + return array( + array('dumperLevelLimit', 'levelLimit', 1001), + array('dumperItemsCountLimit', 'itemsCountLimit', 1002), + array('dumperItemSizeLimit', 'itemSizeLimit', 1003), + array('dumperDumpSizeLimit', 'dumpSizeLimit', 1004), + array('dumperDetectCallbacks', 'detectCallbacks', true), + ); + } + + /** + * @dataProvider provideDumperOptionsValues + */ + public function testDumperOptions($option, $dumperProperty, $value) + { + new PHPConsoleHandler(array($option => $value), $this->connector); + $this->assertEquals($value, $this->connector->getDumper()->$dumperProperty); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php new file mode 100644 index 00000000..64eaab16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php @@ -0,0 +1,50 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\PsrHandler::handle + */ +class PsrHandlerTest extends TestCase +{ + public function logLevelProvider() + { + $levels = array(); + $monologLogger = new Logger(''); + + foreach ($monologLogger->getLevels() as $levelName => $level) { + $levels[] = array($levelName, $level); + } + + return $levels; + } + + /** + * @dataProvider logLevelProvider + */ + public function testHandlesAllLevels($levelName, $level) + { + $message = 'Hello, world! ' . $level; + $context = array('foo' => 'bar', 'level' => $level); + + $psrLogger = $this->getMock('Psr\Log\NullLogger'); + $psrLogger->expects($this->once()) + ->method('log') + ->with(strtolower($levelName), $message, $context); + + $handler = new PsrHandler($psrLogger); + $handler->handle(array('level' => $level, 'level_name' => $levelName, 'message' => $message, 'context' => $context)); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php new file mode 100644 index 00000000..56df474a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php @@ -0,0 +1,141 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * Almost all examples (expected header, titles, messages) taken from + * https://www.pushover.net/api + * @author Sebastian Göttschkes + * @see https://www.pushover.net/api + */ +class PushoverHandlerTest extends TestCase +{ + private $res; + private $handler; + + public function testWriteHeader() + { + $this->createHandler(); + $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/1\/messages.json HTTP\/1.1\\r\\nHost: api.pushover.net\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + + return $content; + } + + /** + * @depends testWriteHeader + */ + public function testWriteContent($content) + { + $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog×tamp=\d{10}$/', $content); + } + + public function testWriteWithComplexTitle() + { + $this->createHandler('myToken', 'myUser', 'Backup finished - SQL1'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/title=Backup\+finished\+-\+SQL1/', $content); + } + + public function testWriteWithComplexMessage() + { + $this->createHandler(); + $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'Backup of database "example" finished in 16 minutes.')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/message=Backup\+of\+database\+%22example%22\+finished\+in\+16\+minutes\./', $content); + } + + public function testWriteWithTooLongMessage() + { + $message = str_pad('test', 520, 'a'); + $this->createHandler(); + $this->handler->setHighPriorityLevel(Logger::EMERGENCY); // skip priority notifications + $this->handler->handle($this->getRecord(Logger::CRITICAL, $message)); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $expectedMessage = substr($message, 0, 505); + + $this->assertRegexp('/message=' . $expectedMessage . '&title/', $content); + } + + public function testWriteWithHighPriority() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog×tamp=\d{10}&priority=1$/', $content); + } + + public function testWriteWithEmergencyPriority() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::EMERGENCY, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/token=myToken&user=myUser&message=test1&title=Monolog×tamp=\d{10}&priority=2&retry=30&expire=25200$/', $content); + } + + public function testWriteToMultipleUsers() + { + $this->createHandler('myToken', array('userA', 'userB')); + $this->handler->handle($this->getRecord(Logger::EMERGENCY, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/token=myToken&user=userA&message=test1&title=Monolog×tamp=\d{10}&priority=2&retry=30&expire=25200POST/', $content); + $this->assertRegexp('/token=myToken&user=userB&message=test1&title=Monolog×tamp=\d{10}&priority=2&retry=30&expire=25200$/', $content); + } + + private function createHandler($token = 'myToken', $user = 'myUser', $title = 'Monolog') + { + $constructorArgs = array($token, $user, $title); + $this->res = fopen('php://memory', 'a'); + $this->handler = $this->getMock( + '\Monolog\Handler\PushoverHandler', + array('fsockopen', 'streamSetTimeout', 'closeSocket'), + $constructorArgs + ); + + $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString'); + $reflectionProperty->setAccessible(true); + $reflectionProperty->setValue($this->handler, 'localhost:1234'); + + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + $this->handler->expects($this->any()) + ->method('closeSocket') + ->will($this->returnValue(true)); + + $this->handler->setFormatter($this->getIdentityFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php new file mode 100644 index 00000000..26d212b9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php @@ -0,0 +1,255 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; + +class RavenHandlerTest extends TestCase +{ + public function setUp() + { + if (!class_exists('Raven_Client')) { + $this->markTestSkipped('raven/raven not installed'); + } + + require_once __DIR__ . '/MockRavenClient.php'; + } + + /** + * @covers Monolog\Handler\RavenHandler::__construct + */ + public function testConstruct() + { + $handler = new RavenHandler($this->getRavenClient()); + $this->assertInstanceOf('Monolog\Handler\RavenHandler', $handler); + } + + protected function getHandler($ravenClient) + { + $handler = new RavenHandler($ravenClient); + + return $handler; + } + + protected function getRavenClient() + { + $dsn = 'http://43f6017361224d098402974103bfc53d:a6a0538fc2934ba2bed32e08741b2cd3@marca.python.live.cheggnet.com:9000/1'; + + return new MockRavenClient($dsn); + } + + public function testDebug() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $record = $this->getRecord(Logger::DEBUG, 'A test debug message'); + $handler->handle($record); + + $this->assertEquals($ravenClient::DEBUG, $ravenClient->lastData['level']); + $this->assertContains($record['message'], $ravenClient->lastData['message']); + } + + public function testWarning() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $record = $this->getRecord(Logger::WARNING, 'A test warning message'); + $handler->handle($record); + + $this->assertEquals($ravenClient::WARNING, $ravenClient->lastData['level']); + $this->assertContains($record['message'], $ravenClient->lastData['message']); + } + + public function testTag() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $tags = array(1, 2, 'foo'); + $record = $this->getRecord(Logger::INFO, 'test', array('tags' => $tags)); + $handler->handle($record); + + $this->assertEquals($tags, $ravenClient->lastData['tags']); + } + + public function testExtraParameters() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $checksum = '098f6bcd4621d373cade4e832627b4f6'; + $release = '05a671c66aefea124cc08b76ea6d30bb'; + $eventId = '31423'; + $record = $this->getRecord(Logger::INFO, 'test', array('checksum' => $checksum, 'release' => $release, 'event_id' => $eventId)); + $handler->handle($record); + + $this->assertEquals($checksum, $ravenClient->lastData['checksum']); + $this->assertEquals($release, $ravenClient->lastData['release']); + $this->assertEquals($eventId, $ravenClient->lastData['event_id']); + } + + public function testFingerprint() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $fingerprint = array('{{ default }}', 'other value'); + $record = $this->getRecord(Logger::INFO, 'test', array('fingerprint' => $fingerprint)); + $handler->handle($record); + + $this->assertEquals($fingerprint, $ravenClient->lastData['fingerprint']); + } + + public function testUserContext() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $recordWithNoContext = $this->getRecord(Logger::INFO, 'test with default user context'); + // set user context 'externally' + + $user = array( + 'id' => '123', + 'email' => 'test@test.com', + ); + + $recordWithContext = $this->getRecord(Logger::INFO, 'test', array('user' => $user)); + + $ravenClient->user_context(array('id' => 'test_user_id')); + // handle context + $handler->handle($recordWithContext); + $this->assertEquals($user, $ravenClient->lastData['user']); + + // check to see if its reset + $handler->handle($recordWithNoContext); + $this->assertInternalType('array', $ravenClient->context->user); + $this->assertSame('test_user_id', $ravenClient->context->user['id']); + + // handle with null context + $ravenClient->user_context(null); + $handler->handle($recordWithContext); + $this->assertEquals($user, $ravenClient->lastData['user']); + + // check to see if its reset + $handler->handle($recordWithNoContext); + $this->assertNull($ravenClient->context->user); + } + + public function testException() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + try { + $this->methodThatThrowsAnException(); + } catch (\Exception $e) { + $record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e)); + $handler->handle($record); + } + + $this->assertEquals($record['message'], $ravenClient->lastData['message']); + } + + public function testHandleBatch() + { + $records = $this->getMultipleRecords(); + $records[] = $this->getRecord(Logger::WARNING, 'warning'); + $records[] = $this->getRecord(Logger::WARNING, 'warning'); + + $logFormatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $logFormatter->expects($this->once())->method('formatBatch'); + + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter->expects($this->once())->method('format')->with($this->callback(function ($record) { + return $record['level'] == 400; + })); + + $handler = $this->getHandler($this->getRavenClient()); + $handler->setBatchFormatter($logFormatter); + $handler->setFormatter($formatter); + $handler->handleBatch($records); + } + + public function testHandleBatchDoNothingIfRecordsAreBelowLevel() + { + $records = array( + $this->getRecord(Logger::DEBUG, 'debug message 1'), + $this->getRecord(Logger::DEBUG, 'debug message 2'), + $this->getRecord(Logger::INFO, 'information'), + ); + + $handler = $this->getMock('Monolog\Handler\RavenHandler', null, array($this->getRavenClient())); + $handler->expects($this->never())->method('handle'); + $handler->setLevel(Logger::ERROR); + $handler->handleBatch($records); + } + + public function testHandleBatchPicksProperMessage() + { + $records = array( + $this->getRecord(Logger::DEBUG, 'debug message 1'), + $this->getRecord(Logger::DEBUG, 'debug message 2'), + $this->getRecord(Logger::INFO, 'information 1'), + $this->getRecord(Logger::ERROR, 'error 1'), + $this->getRecord(Logger::WARNING, 'warning'), + $this->getRecord(Logger::ERROR, 'error 2'), + $this->getRecord(Logger::INFO, 'information 2'), + ); + + $logFormatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $logFormatter->expects($this->once())->method('formatBatch'); + + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter->expects($this->once())->method('format')->with($this->callback(function ($record) use ($records) { + return $record['message'] == 'error 1'; + })); + + $handler = $this->getHandler($this->getRavenClient()); + $handler->setBatchFormatter($logFormatter); + $handler->setFormatter($formatter); + $handler->handleBatch($records); + } + + public function testGetSetBatchFormatter() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $handler->setBatchFormatter($formatter = new LineFormatter()); + $this->assertSame($formatter, $handler->getBatchFormatter()); + } + + public function testRelease() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + $release = 'v42.42.42'; + $handler->setRelease($release); + $record = $this->getRecord(Logger::INFO, 'test'); + $handler->handle($record); + $this->assertEquals($release, $ravenClient->lastData['release']); + + $localRelease = 'v41.41.41'; + $record = $this->getRecord(Logger::INFO, 'test', array('release' => $localRelease)); + $handler->handle($record); + $this->assertEquals($localRelease, $ravenClient->lastData['release']); + } + + private function methodThatThrowsAnException() + { + throw new \Exception('This is an exception'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php new file mode 100644 index 00000000..689d5278 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php @@ -0,0 +1,127 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; + +class RedisHandlerTest extends TestCase +{ + /** + * @expectedException InvalidArgumentException + */ + public function testConstructorShouldThrowExceptionForInvalidRedis() + { + new RedisHandler(new \stdClass(), 'key'); + } + + public function testConstructorShouldWorkWithPredis() + { + $redis = $this->getMock('Predis\Client'); + $this->assertInstanceof('Monolog\Handler\RedisHandler', new RedisHandler($redis, 'key')); + } + + public function testConstructorShouldWorkWithRedis() + { + $redis = $this->getMock('Redis'); + $this->assertInstanceof('Monolog\Handler\RedisHandler', new RedisHandler($redis, 'key')); + } + + public function testPredisHandle() + { + $redis = $this->getMock('Predis\Client', array('rpush')); + + // Predis\Client uses rpush + $redis->expects($this->once()) + ->method('rpush') + ->with('key', 'test'); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $handler = new RedisHandler($redis, 'key'); + $handler->setFormatter(new LineFormatter("%message%")); + $handler->handle($record); + } + + public function testRedisHandle() + { + $redis = $this->getMock('Redis', array('rpush')); + + // Redis uses rPush + $redis->expects($this->once()) + ->method('rPush') + ->with('key', 'test'); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $handler = new RedisHandler($redis, 'key'); + $handler->setFormatter(new LineFormatter("%message%")); + $handler->handle($record); + } + + public function testRedisHandleCapped() + { + $redis = $this->getMock('Redis', array('multi', 'rpush', 'ltrim', 'exec')); + + // Redis uses multi + $redis->expects($this->once()) + ->method('multi') + ->will($this->returnSelf()); + + $redis->expects($this->once()) + ->method('rpush') + ->will($this->returnSelf()); + + $redis->expects($this->once()) + ->method('ltrim') + ->will($this->returnSelf()); + + $redis->expects($this->once()) + ->method('exec') + ->will($this->returnSelf()); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $handler = new RedisHandler($redis, 'key', Logger::DEBUG, true, 10); + $handler->setFormatter(new LineFormatter("%message%")); + $handler->handle($record); + } + + public function testPredisHandleCapped() + { + $redis = $this->getMock('Predis\Client', array('transaction')); + + $redisTransaction = $this->getMock('Predis\Client', array('rpush', 'ltrim')); + + $redisTransaction->expects($this->once()) + ->method('rpush') + ->will($this->returnSelf()); + + $redisTransaction->expects($this->once()) + ->method('ltrim') + ->will($this->returnSelf()); + + // Redis uses multi + $redis->expects($this->once()) + ->method('transaction') + ->will($this->returnCallback(function ($cb) use ($redisTransaction) { + $cb($redisTransaction); + })); + + $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); + + $handler = new RedisHandler($redis, 'key', Logger::DEBUG, true, 10); + $handler->setFormatter(new LineFormatter("%message%")); + $handler->handle($record); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php new file mode 100644 index 00000000..f302e917 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RollbarHandlerTest.php @@ -0,0 +1,84 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Exception; +use Monolog\TestCase; +use Monolog\Logger; +use PHPUnit_Framework_MockObject_MockObject as MockObject; + +/** + * @author Erik Johansson + * @see https://rollbar.com/docs/notifier/rollbar-php/ + * + * @coversDefaultClass Monolog\Handler\RollbarHandler + */ +class RollbarHandlerTest extends TestCase +{ + /** + * @var MockObject + */ + private $rollbarNotifier; + + /** + * @var array + */ + public $reportedExceptionArguments = null; + + protected function setUp() + { + parent::setUp(); + + $this->setupRollbarNotifierMock(); + } + + /** + * When reporting exceptions to Rollbar the + * level has to be set in the payload data + */ + public function testExceptionLogLevel() + { + $handler = $this->createHandler(); + + $handler->handle($this->createExceptionRecord(Logger::DEBUG)); + + $this->assertEquals('debug', $this->reportedExceptionArguments['payload']['level']); + } + + private function setupRollbarNotifierMock() + { + $this->rollbarNotifier = $this->getMockBuilder('RollbarNotifier') + ->setMethods(array('report_message', 'report_exception', 'flush')) + ->getMock(); + + $that = $this; + + $this->rollbarNotifier + ->expects($this->any()) + ->method('report_exception') + ->willReturnCallback(function ($exception, $context, $payload) use ($that) { + $that->reportedExceptionArguments = compact('exception', 'context', 'payload'); + }); + } + + private function createHandler() + { + return new RollbarHandler($this->rollbarNotifier, Logger::DEBUG); + } + + private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null) + { + return $this->getRecord($level, $message, array( + 'exception' => $exception ?: new Exception() + )); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php new file mode 100644 index 00000000..f1feb228 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php @@ -0,0 +1,211 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use PHPUnit_Framework_Error_Deprecated; + +/** + * @covers Monolog\Handler\RotatingFileHandler + */ +class RotatingFileHandlerTest extends TestCase +{ + /** + * This var should be private but then the anonymous function + * in the `setUp` method won't be able to set it. `$this` cant't + * be used in the anonymous function in `setUp` because PHP 5.3 + * does not support it. + */ + public $lastError; + + public function setUp() + { + $dir = __DIR__.'/Fixtures'; + chmod($dir, 0777); + if (!is_writable($dir)) { + $this->markTestSkipped($dir.' must be writable to test the RotatingFileHandler.'); + } + $this->lastError = null; + $self = $this; + // workaround with &$self used for PHP 5.3 + set_error_handler(function($code, $message) use (&$self) { + $self->lastError = array( + 'code' => $code, + 'message' => $message, + ); + }); + } + + private function assertErrorWasTriggered($code, $message) + { + if (empty($this->lastError)) { + $this->fail( + sprintf( + 'Failed asserting that error with code `%d` and message `%s` was triggered', + $code, + $message + ) + ); + } + $this->assertEquals($code, $this->lastError['code'], sprintf('Expected an error with code %d to be triggered, got `%s` instead', $code, $this->lastError['code'])); + $this->assertEquals($message, $this->lastError['message'], sprintf('Expected an error with message `%d` to be triggered, got `%s` instead', $message, $this->lastError['message'])); + } + + public function testRotationCreatesNewFile() + { + touch(__DIR__.'/Fixtures/foo-'.date('Y-m-d', time() - 86400).'.rot'); + + $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot'); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord()); + + $log = __DIR__.'/Fixtures/foo-'.date('Y-m-d').'.rot'; + $this->assertTrue(file_exists($log)); + $this->assertEquals('test', file_get_contents($log)); + } + + /** + * @dataProvider rotationTests + */ + public function testRotation($createFile, $dateFormat, $timeCallback) + { + touch($old1 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-1)).'.rot'); + touch($old2 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-2)).'.rot'); + touch($old3 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-3)).'.rot'); + touch($old4 = __DIR__.'/Fixtures/foo-'.date($dateFormat, $timeCallback(-4)).'.rot'); + + $log = __DIR__.'/Fixtures/foo-'.date($dateFormat).'.rot'; + + if ($createFile) { + touch($log); + } + + $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->setFilenameFormat('{filename}-{date}', $dateFormat); + $handler->handle($this->getRecord()); + + $handler->close(); + + $this->assertTrue(file_exists($log)); + $this->assertTrue(file_exists($old1)); + $this->assertEquals($createFile, file_exists($old2)); + $this->assertEquals($createFile, file_exists($old3)); + $this->assertEquals($createFile, file_exists($old4)); + $this->assertEquals('test', file_get_contents($log)); + } + + public function rotationTests() + { + $now = time(); + $dayCallback = function($ago) use ($now) { + return $now + 86400 * $ago; + }; + $monthCallback = function($ago) { + return gmmktime(0, 0, 0, date('n') + $ago, 1, date('Y')); + }; + $yearCallback = function($ago) { + return gmmktime(0, 0, 0, 1, 1, date('Y') + $ago); + }; + + return array( + 'Rotation is triggered when the file of the current day is not present' + => array(true, RotatingFileHandler::FILE_PER_DAY, $dayCallback), + 'Rotation is not triggered when the file of the current day is already present' + => array(false, RotatingFileHandler::FILE_PER_DAY, $dayCallback), + + 'Rotation is triggered when the file of the current month is not present' + => array(true, RotatingFileHandler::FILE_PER_MONTH, $monthCallback), + 'Rotation is not triggered when the file of the current month is already present' + => array(false, RotatingFileHandler::FILE_PER_MONTH, $monthCallback), + + 'Rotation is triggered when the file of the current year is not present' + => array(true, RotatingFileHandler::FILE_PER_YEAR, $yearCallback), + 'Rotation is not triggered when the file of the current year is already present' + => array(false, RotatingFileHandler::FILE_PER_YEAR, $yearCallback), + ); + } + + /** + * @dataProvider dateFormatProvider + */ + public function testAllowOnlyFixedDefinedDateFormats($dateFormat, $valid) + { + $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2); + $handler->setFilenameFormat('{filename}-{date}', $dateFormat); + if (!$valid) { + $this->assertErrorWasTriggered( + E_USER_DEPRECATED, + 'Invalid date format - format must be one of RotatingFileHandler::FILE_PER_DAY ("Y-m-d"), '. + 'RotatingFileHandler::FILE_PER_MONTH ("Y-m") or RotatingFileHandler::FILE_PER_YEAR ("Y"), '. + 'or you can set one of the date formats using slashes, underscores and/or dots instead of dashes.' + ); + } + } + + public function dateFormatProvider() + { + return array( + array(RotatingFileHandler::FILE_PER_DAY, true), + array(RotatingFileHandler::FILE_PER_MONTH, true), + array(RotatingFileHandler::FILE_PER_YEAR, true), + array('m-d-Y', false), + array('Y-m-d-h-i', false) + ); + } + + /** + * @dataProvider filenameFormatProvider + */ + public function testDisallowFilenameFormatsWithoutDate($filenameFormat, $valid) + { + $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot', 2); + $handler->setFilenameFormat($filenameFormat, RotatingFileHandler::FILE_PER_DAY); + if (!$valid) { + $this->assertErrorWasTriggered( + E_USER_DEPRECATED, + 'Invalid filename format - format should contain at least `{date}`, because otherwise rotating is impossible.' + ); + } + } + + public function filenameFormatProvider() + { + return array( + array('{filename}', false), + array('{filename}-{date}', true), + array('{date}', true), + array('foobar-{date}', true), + array('foo-{date}-bar', true), + array('{date}-foobar', true), + array('foobar', false), + ); + } + + public function testReuseCurrentFile() + { + $log = __DIR__.'/Fixtures/foo-'.date('Y-m-d').'.rot'; + file_put_contents($log, "foo"); + $handler = new RotatingFileHandler(__DIR__.'/Fixtures/foo.rot'); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord()); + $this->assertEquals('footest', file_get_contents($log)); + } + + public function tearDown() + { + foreach (glob(__DIR__.'/Fixtures/*.rot') as $file) { + unlink($file); + } + restore_error_handler(); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php new file mode 100644 index 00000000..b354cee1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php @@ -0,0 +1,33 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; + +/** + * @covers Monolog\Handler\SamplingHandler::handle + */ +class SamplingHandlerTest extends TestCase +{ + public function testHandle() + { + $testHandler = new TestHandler(); + $handler = new SamplingHandler($testHandler, 2); + for ($i = 0; $i < 10000; $i++) { + $handler->handle($this->getRecord()); + } + $count = count($testHandler->getRecords()); + // $count should be half of 10k, so between 4k and 6k + $this->assertLessThan(6000, $count); + $this->assertGreaterThan(4000, $count); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php new file mode 100644 index 00000000..e1aa96d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/Slack/SlackRecordTest.php @@ -0,0 +1,387 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler\Slack; + +use Monolog\Logger; +use Monolog\TestCase; + +/** + * @coversDefaultClass Monolog\Handler\Slack\SlackRecord + */ +class SlackRecordTest extends TestCase +{ + private $jsonPrettyPrintFlag; + + protected function setUp() + { + $this->jsonPrettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128; + } + + public function dataGetAttachmentColor() + { + return array( + array(Logger::DEBUG, SlackRecord::COLOR_DEFAULT), + array(Logger::INFO, SlackRecord::COLOR_GOOD), + array(Logger::NOTICE, SlackRecord::COLOR_GOOD), + array(Logger::WARNING, SlackRecord::COLOR_WARNING), + array(Logger::ERROR, SlackRecord::COLOR_DANGER), + array(Logger::CRITICAL, SlackRecord::COLOR_DANGER), + array(Logger::ALERT, SlackRecord::COLOR_DANGER), + array(Logger::EMERGENCY, SlackRecord::COLOR_DANGER), + ); + } + + /** + * @dataProvider dataGetAttachmentColor + * @param int $logLevel + * @param string $expectedColour RGB hex color or name of Slack color + * @covers ::getAttachmentColor + */ + public function testGetAttachmentColor($logLevel, $expectedColour) + { + $slackRecord = new SlackRecord(); + $this->assertSame( + $expectedColour, + $slackRecord->getAttachmentColor($logLevel) + ); + } + + public function testAddsChannel() + { + $channel = '#test'; + $record = new SlackRecord($channel); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayHasKey('channel', $data); + $this->assertSame($channel, $data['channel']); + } + + public function testNoUsernameByDefault() + { + $record = new SlackRecord(); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayNotHasKey('username', $data); + } + + /** + * @return array + */ + public function dataStringify() + { + $jsonPrettyPrintFlag = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 128; + + $multipleDimensions = array(array(1, 2)); + $numericKeys = array('library' => 'monolog'); + $singleDimension = array(1, 'Hello', 'Jordi'); + + return array( + array(array(), '[]'), + array($multipleDimensions, json_encode($multipleDimensions, $jsonPrettyPrintFlag)), + array($numericKeys, json_encode($numericKeys, $jsonPrettyPrintFlag)), + array($singleDimension, json_encode($singleDimension)) + ); + } + + /** + * @dataProvider dataStringify + */ + public function testStringify($fields, $expectedResult) + { + $slackRecord = new SlackRecord( + '#test', + 'test', + true, + null, + true, + true + ); + + $this->assertSame($expectedResult, $slackRecord->stringify($fields)); + } + + public function testAddsCustomUsername() + { + $username = 'Monolog bot'; + $record = new SlackRecord(null, $username); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayHasKey('username', $data); + $this->assertSame($username, $data['username']); + } + + public function testNoIcon() + { + $record = new SlackRecord(); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayNotHasKey('icon_emoji', $data); + } + + public function testAddsIcon() + { + $record = $this->getRecord(); + $slackRecord = new SlackRecord(null, null, false, 'ghost'); + $data = $slackRecord->getSlackData($record); + + $slackRecord2 = new SlackRecord(null, null, false, 'http://github.com/Seldaek/monolog'); + $data2 = $slackRecord2->getSlackData($record); + + $this->assertArrayHasKey('icon_emoji', $data); + $this->assertSame(':ghost:', $data['icon_emoji']); + $this->assertArrayHasKey('icon_url', $data2); + $this->assertSame('http://github.com/Seldaek/monolog', $data2['icon_url']); + } + + public function testAttachmentsNotPresentIfNoAttachment() + { + $record = new SlackRecord(null, null, false); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayNotHasKey('attachments', $data); + } + + public function testAddsOneAttachment() + { + $record = new SlackRecord(); + $data = $record->getSlackData($this->getRecord()); + + $this->assertArrayHasKey('attachments', $data); + $this->assertArrayHasKey(0, $data['attachments']); + $this->assertInternalType('array', $data['attachments'][0]); + } + + public function testTextEqualsMessageIfNoAttachment() + { + $message = 'Test message'; + $record = new SlackRecord(null, null, false); + $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message)); + + $this->assertArrayHasKey('text', $data); + $this->assertSame($message, $data['text']); + } + + public function testTextEqualsFormatterOutput() + { + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter + ->expects($this->any()) + ->method('format') + ->will($this->returnCallback(function ($record) { return $record['message'] . 'test'; })); + + $formatter2 = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter2 + ->expects($this->any()) + ->method('format') + ->will($this->returnCallback(function ($record) { return $record['message'] . 'test1'; })); + + $message = 'Test message'; + $record = new SlackRecord(null, null, false, null, false, false, array(), $formatter); + $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message)); + + $this->assertArrayHasKey('text', $data); + $this->assertSame($message . 'test', $data['text']); + + $record->setFormatter($formatter2); + $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message)); + + $this->assertArrayHasKey('text', $data); + $this->assertSame($message . 'test1', $data['text']); + } + + public function testAddsFallbackAndTextToAttachment() + { + $message = 'Test message'; + $record = new SlackRecord(null); + $data = $record->getSlackData($this->getRecord(Logger::WARNING, $message)); + + $this->assertSame($message, $data['attachments'][0]['text']); + $this->assertSame($message, $data['attachments'][0]['fallback']); + } + + public function testMapsLevelToColorAttachmentColor() + { + $record = new SlackRecord(null); + $errorLoggerRecord = $this->getRecord(Logger::ERROR); + $emergencyLoggerRecord = $this->getRecord(Logger::EMERGENCY); + $warningLoggerRecord = $this->getRecord(Logger::WARNING); + $infoLoggerRecord = $this->getRecord(Logger::INFO); + $debugLoggerRecord = $this->getRecord(Logger::DEBUG); + + $data = $record->getSlackData($errorLoggerRecord); + $this->assertSame(SlackRecord::COLOR_DANGER, $data['attachments'][0]['color']); + + $data = $record->getSlackData($emergencyLoggerRecord); + $this->assertSame(SlackRecord::COLOR_DANGER, $data['attachments'][0]['color']); + + $data = $record->getSlackData($warningLoggerRecord); + $this->assertSame(SlackRecord::COLOR_WARNING, $data['attachments'][0]['color']); + + $data = $record->getSlackData($infoLoggerRecord); + $this->assertSame(SlackRecord::COLOR_GOOD, $data['attachments'][0]['color']); + + $data = $record->getSlackData($debugLoggerRecord); + $this->assertSame(SlackRecord::COLOR_DEFAULT, $data['attachments'][0]['color']); + } + + public function testAddsShortAttachmentWithoutContextAndExtra() + { + $level = Logger::ERROR; + $levelName = Logger::getLevelName($level); + $record = new SlackRecord(null, null, true, null, true); + $data = $record->getSlackData($this->getRecord($level, 'test', array('test' => 1))); + + $attachment = $data['attachments'][0]; + $this->assertArrayHasKey('title', $attachment); + $this->assertArrayHasKey('fields', $attachment); + $this->assertSame($levelName, $attachment['title']); + $this->assertSame(array(), $attachment['fields']); + } + + public function testAddsShortAttachmentWithContextAndExtra() + { + $level = Logger::ERROR; + $levelName = Logger::getLevelName($level); + $context = array('test' => 1); + $extra = array('tags' => array('web')); + $record = new SlackRecord(null, null, true, null, true, true); + $loggerRecord = $this->getRecord($level, 'test', $context); + $loggerRecord['extra'] = $extra; + $data = $record->getSlackData($loggerRecord); + + $attachment = $data['attachments'][0]; + $this->assertArrayHasKey('title', $attachment); + $this->assertArrayHasKey('fields', $attachment); + $this->assertCount(2, $attachment['fields']); + $this->assertSame($levelName, $attachment['title']); + $this->assertSame( + array( + array( + 'title' => 'Extra', + 'value' => sprintf('```%s```', json_encode($extra, $this->jsonPrettyPrintFlag)), + 'short' => false + ), + array( + 'title' => 'Context', + 'value' => sprintf('```%s```', json_encode($context, $this->jsonPrettyPrintFlag)), + 'short' => false + ) + ), + $attachment['fields'] + ); + } + + public function testAddsLongAttachmentWithoutContextAndExtra() + { + $level = Logger::ERROR; + $levelName = Logger::getLevelName($level); + $record = new SlackRecord(null, null, true, null); + $data = $record->getSlackData($this->getRecord($level, 'test', array('test' => 1))); + + $attachment = $data['attachments'][0]; + $this->assertArrayHasKey('title', $attachment); + $this->assertArrayHasKey('fields', $attachment); + $this->assertCount(1, $attachment['fields']); + $this->assertSame('Message', $attachment['title']); + $this->assertSame( + array(array( + 'title' => 'Level', + 'value' => $levelName, + 'short' => false + )), + $attachment['fields'] + ); + } + + public function testAddsLongAttachmentWithContextAndExtra() + { + $level = Logger::ERROR; + $levelName = Logger::getLevelName($level); + $context = array('test' => 1); + $extra = array('tags' => array('web')); + $record = new SlackRecord(null, null, true, null, false, true); + $loggerRecord = $this->getRecord($level, 'test', $context); + $loggerRecord['extra'] = $extra; + $data = $record->getSlackData($loggerRecord); + + $expectedFields = array( + array( + 'title' => 'Level', + 'value' => $levelName, + 'short' => false, + ), + array( + 'title' => 'tags', + 'value' => sprintf('```%s```', json_encode($extra['tags'])), + 'short' => false + ), + array( + 'title' => 'test', + 'value' => $context['test'], + 'short' => false + ) + ); + + $attachment = $data['attachments'][0]; + $this->assertArrayHasKey('title', $attachment); + $this->assertArrayHasKey('fields', $attachment); + $this->assertCount(3, $attachment['fields']); + $this->assertSame('Message', $attachment['title']); + $this->assertSame( + $expectedFields, + $attachment['fields'] + ); + } + + public function testAddsTimestampToAttachment() + { + $record = $this->getRecord(); + $slackRecord = new SlackRecord(); + $data = $slackRecord->getSlackData($this->getRecord()); + + $attachment = $data['attachments'][0]; + $this->assertArrayHasKey('ts', $attachment); + $this->assertSame($record['datetime']->getTimestamp(), $attachment['ts']); + } + + public function testExcludeExtraAndContextFields() + { + $record = $this->getRecord( + Logger::WARNING, + 'test', + array('info' => array('library' => 'monolog', 'author' => 'Jordi')) + ); + $record['extra'] = array('tags' => array('web', 'cli')); + + $slackRecord = new SlackRecord(null, null, true, null, false, true, array('context.info.library', 'extra.tags.1')); + $data = $slackRecord->getSlackData($record); + $attachment = $data['attachments'][0]; + + $expected = array( + array( + 'title' => 'info', + 'value' => sprintf('```%s```', json_encode(array('author' => 'Jordi'), $this->jsonPrettyPrintFlag)), + 'short' => false + ), + array( + 'title' => 'tags', + 'value' => sprintf('```%s```', json_encode(array('web'))), + 'short' => false + ), + ); + + foreach ($expected as $field) { + $this->assertNotFalse(array_search($field, $attachment['fields'])); + break; + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php new file mode 100644 index 00000000..b12b01f4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php @@ -0,0 +1,155 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; +use Monolog\Handler\Slack\SlackRecord; + +/** + * @author Greg Kedzierski + * @see https://api.slack.com/ + */ +class SlackHandlerTest extends TestCase +{ + /** + * @var resource + */ + private $res; + + /** + * @var SlackHandler + */ + private $handler; + + public function setUp() + { + if (!extension_loaded('openssl')) { + $this->markTestSkipped('This test requires openssl to run'); + } + } + + public function testWriteHeader() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/POST \/api\/chat.postMessage HTTP\/1.1\\r\\nHost: slack.com\\r\\nContent-Type: application\/x-www-form-urlencoded\\r\\nContent-Length: \d{2,4}\\r\\n\\r\\n/', $content); + } + + public function testWriteContent() + { + $this->createHandler(); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegExp('/username=Monolog/', $content); + $this->assertRegExp('/channel=channel1/', $content); + $this->assertRegExp('/token=myToken/', $content); + $this->assertRegExp('/attachments/', $content); + } + + public function testWriteContentUsesFormatterIfProvided() + { + $this->createHandler('myToken', 'channel1', 'Monolog', false); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->createHandler('myToken', 'channel1', 'Monolog', false); + $this->handler->setFormatter(new LineFormatter('foo--%message%')); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test2')); + fseek($this->res, 0); + $content2 = fread($this->res, 1024); + + $this->assertRegexp('/text=test1/', $content); + $this->assertRegexp('/text=foo--test2/', $content2); + } + + public function testWriteContentWithEmoji() + { + $this->createHandler('myToken', 'channel1', 'Monolog', true, 'alien'); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/icon_emoji=%3Aalien%3A/', $content); + } + + /** + * @dataProvider provideLevelColors + */ + public function testWriteContentWithColors($level, $expectedColor) + { + $this->createHandler(); + $this->handler->handle($this->getRecord($level, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/%22color%22%3A%22'.$expectedColor.'/', $content); + } + + public function testWriteContentWithPlainTextMessage() + { + $this->createHandler('myToken', 'channel1', 'Monolog', false); + $this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1')); + fseek($this->res, 0); + $content = fread($this->res, 1024); + + $this->assertRegexp('/text=test1/', $content); + } + + public function provideLevelColors() + { + return array( + array(Logger::DEBUG, urlencode(SlackRecord::COLOR_DEFAULT)), + array(Logger::INFO, SlackRecord::COLOR_GOOD), + array(Logger::NOTICE, SlackRecord::COLOR_GOOD), + array(Logger::WARNING, SlackRecord::COLOR_WARNING), + array(Logger::ERROR, SlackRecord::COLOR_DANGER), + array(Logger::CRITICAL, SlackRecord::COLOR_DANGER), + array(Logger::ALERT, SlackRecord::COLOR_DANGER), + array(Logger::EMERGENCY,SlackRecord::COLOR_DANGER), + ); + } + + private function createHandler($token = 'myToken', $channel = 'channel1', $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $useShortAttachment = false, $includeExtra = false) + { + $constructorArgs = array($token, $channel, $username, $useAttachment, $iconEmoji, Logger::DEBUG, true, $useShortAttachment, $includeExtra); + $this->res = fopen('php://memory', 'a'); + $this->handler = $this->getMock( + '\Monolog\Handler\SlackHandler', + array('fsockopen', 'streamSetTimeout', 'closeSocket'), + $constructorArgs + ); + + $reflectionProperty = new \ReflectionProperty('\Monolog\Handler\SocketHandler', 'connectionString'); + $reflectionProperty->setAccessible(true); + $reflectionProperty->setValue($this->handler, 'localhost:1234'); + + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + $this->handler->expects($this->any()) + ->method('closeSocket') + ->will($this->returnValue(true)); + + $this->handler->setFormatter($this->getIdentityFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php new file mode 100644 index 00000000..c9229e26 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackWebhookHandlerTest.php @@ -0,0 +1,107 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; +use Monolog\Formatter\LineFormatter; +use Monolog\Handler\Slack\SlackRecord; + +/** + * @author Haralan Dobrev + * @see https://api.slack.com/incoming-webhooks + * @coversDefaultClass Monolog\Handler\SlackWebhookHandler + */ +class SlackWebhookHandlerTest extends TestCase +{ + const WEBHOOK_URL = 'https://hooks.slack.com/services/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E'; + + /** + * @covers ::__construct + * @covers ::getSlackRecord + */ + public function testConstructorMinimal() + { + $handler = new SlackWebhookHandler(self::WEBHOOK_URL); + $record = $this->getRecord(); + $slackRecord = $handler->getSlackRecord(); + $this->assertInstanceOf('Monolog\Handler\Slack\SlackRecord', $slackRecord); + $this->assertEquals(array( + 'attachments' => array( + array( + 'fallback' => 'test', + 'text' => 'test', + 'color' => SlackRecord::COLOR_WARNING, + 'fields' => array( + array( + 'title' => 'Level', + 'value' => 'WARNING', + 'short' => false, + ), + ), + 'title' => 'Message', + 'mrkdwn_in' => array('fields'), + 'ts' => $record['datetime']->getTimestamp(), + ), + ), + ), $slackRecord->getSlackData($record)); + } + + /** + * @covers ::__construct + * @covers ::getSlackRecord + */ + public function testConstructorFull() + { + $handler = new SlackWebhookHandler( + self::WEBHOOK_URL, + 'test-channel', + 'test-username', + false, + ':ghost:', + false, + false, + Logger::DEBUG, + false + ); + + $slackRecord = $handler->getSlackRecord(); + $this->assertInstanceOf('Monolog\Handler\Slack\SlackRecord', $slackRecord); + $this->assertEquals(array( + 'username' => 'test-username', + 'text' => 'test', + 'channel' => 'test-channel', + 'icon_emoji' => ':ghost:', + ), $slackRecord->getSlackData($this->getRecord())); + } + + /** + * @covers ::getFormatter + */ + public function testGetFormatter() + { + $handler = new SlackWebhookHandler(self::WEBHOOK_URL); + $formatter = $handler->getFormatter(); + $this->assertInstanceOf('Monolog\Formatter\FormatterInterface', $formatter); + } + + /** + * @covers ::setFormatter + */ + public function testSetFormatter() + { + $handler = new SlackWebhookHandler(self::WEBHOOK_URL); + $formatter = new LineFormatter(); + $handler->setFormatter($formatter); + $this->assertSame($formatter, $handler->getFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php new file mode 100644 index 00000000..b1b02bde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php @@ -0,0 +1,47 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @author Haralan Dobrev + * @see https://slack.com/apps/A0F81R8ET-slackbot + * @coversDefaultClass Monolog\Handler\SlackbotHandler + */ +class SlackbotHandlerTest extends TestCase +{ + /** + * @covers ::__construct + */ + public function testConstructorMinimal() + { + $handler = new SlackbotHandler('test-team', 'test-token', 'test-channel'); + $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler); + } + + /** + * @covers ::__construct + */ + public function testConstructorFull() + { + $handler = new SlackbotHandler( + 'test-team', + 'test-token', + 'test-channel', + Logger::DEBUG, + false + ); + $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php new file mode 100644 index 00000000..1f9c1f28 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php @@ -0,0 +1,309 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @author Pablo de Leon Belloc + */ +class SocketHandlerTest extends TestCase +{ + /** + * @var Monolog\Handler\SocketHandler + */ + private $handler; + + /** + * @var resource + */ + private $res; + + /** + * @expectedException UnexpectedValueException + */ + public function testInvalidHostname() + { + $this->createHandler('garbage://here'); + $this->writeRecord('data'); + } + + /** + * @expectedException \InvalidArgumentException + */ + public function testBadConnectionTimeout() + { + $this->createHandler('localhost:1234'); + $this->handler->setConnectionTimeout(-1); + } + + public function testSetConnectionTimeout() + { + $this->createHandler('localhost:1234'); + $this->handler->setConnectionTimeout(10.1); + $this->assertEquals(10.1, $this->handler->getConnectionTimeout()); + } + + /** + * @expectedException \InvalidArgumentException + */ + public function testBadTimeout() + { + $this->createHandler('localhost:1234'); + $this->handler->setTimeout(-1); + } + + public function testSetTimeout() + { + $this->createHandler('localhost:1234'); + $this->handler->setTimeout(10.25); + $this->assertEquals(10.25, $this->handler->getTimeout()); + } + + public function testSetWritingTimeout() + { + $this->createHandler('localhost:1234'); + $this->handler->setWritingTimeout(10.25); + $this->assertEquals(10.25, $this->handler->getWritingTimeout()); + } + + public function testSetConnectionString() + { + $this->createHandler('tcp://localhost:9090'); + $this->assertEquals('tcp://localhost:9090', $this->handler->getConnectionString()); + } + + /** + * @expectedException UnexpectedValueException + */ + public function testExceptionIsThrownOnFsockopenError() + { + $this->setMockHandler(array('fsockopen')); + $this->handler->expects($this->once()) + ->method('fsockopen') + ->will($this->returnValue(false)); + $this->writeRecord('Hello world'); + } + + /** + * @expectedException UnexpectedValueException + */ + public function testExceptionIsThrownOnPfsockopenError() + { + $this->setMockHandler(array('pfsockopen')); + $this->handler->expects($this->once()) + ->method('pfsockopen') + ->will($this->returnValue(false)); + $this->handler->setPersistent(true); + $this->writeRecord('Hello world'); + } + + /** + * @expectedException UnexpectedValueException + */ + public function testExceptionIsThrownIfCannotSetTimeout() + { + $this->setMockHandler(array('streamSetTimeout')); + $this->handler->expects($this->once()) + ->method('streamSetTimeout') + ->will($this->returnValue(false)); + $this->writeRecord('Hello world'); + } + + /** + * @expectedException RuntimeException + */ + public function testWriteFailsOnIfFwriteReturnsFalse() + { + $this->setMockHandler(array('fwrite')); + + $callback = function ($arg) { + $map = array( + 'Hello world' => 6, + 'world' => false, + ); + + return $map[$arg]; + }; + + $this->handler->expects($this->exactly(2)) + ->method('fwrite') + ->will($this->returnCallback($callback)); + + $this->writeRecord('Hello world'); + } + + /** + * @expectedException RuntimeException + */ + public function testWriteFailsIfStreamTimesOut() + { + $this->setMockHandler(array('fwrite', 'streamGetMetadata')); + + $callback = function ($arg) { + $map = array( + 'Hello world' => 6, + 'world' => 5, + ); + + return $map[$arg]; + }; + + $this->handler->expects($this->exactly(1)) + ->method('fwrite') + ->will($this->returnCallback($callback)); + $this->handler->expects($this->exactly(1)) + ->method('streamGetMetadata') + ->will($this->returnValue(array('timed_out' => true))); + + $this->writeRecord('Hello world'); + } + + /** + * @expectedException RuntimeException + */ + public function testWriteFailsOnIncompleteWrite() + { + $this->setMockHandler(array('fwrite', 'streamGetMetadata')); + + $res = $this->res; + $callback = function ($string) use ($res) { + fclose($res); + + return strlen('Hello'); + }; + + $this->handler->expects($this->exactly(1)) + ->method('fwrite') + ->will($this->returnCallback($callback)); + $this->handler->expects($this->exactly(1)) + ->method('streamGetMetadata') + ->will($this->returnValue(array('timed_out' => false))); + + $this->writeRecord('Hello world'); + } + + public function testWriteWithMemoryFile() + { + $this->setMockHandler(); + $this->writeRecord('test1'); + $this->writeRecord('test2'); + $this->writeRecord('test3'); + fseek($this->res, 0); + $this->assertEquals('test1test2test3', fread($this->res, 1024)); + } + + public function testWriteWithMock() + { + $this->setMockHandler(array('fwrite')); + + $callback = function ($arg) { + $map = array( + 'Hello world' => 6, + 'world' => 5, + ); + + return $map[$arg]; + }; + + $this->handler->expects($this->exactly(2)) + ->method('fwrite') + ->will($this->returnCallback($callback)); + + $this->writeRecord('Hello world'); + } + + public function testClose() + { + $this->setMockHandler(); + $this->writeRecord('Hello world'); + $this->assertInternalType('resource', $this->res); + $this->handler->close(); + $this->assertFalse(is_resource($this->res), "Expected resource to be closed after closing handler"); + } + + public function testCloseDoesNotClosePersistentSocket() + { + $this->setMockHandler(); + $this->handler->setPersistent(true); + $this->writeRecord('Hello world'); + $this->assertTrue(is_resource($this->res)); + $this->handler->close(); + $this->assertTrue(is_resource($this->res)); + } + + /** + * @expectedException \RuntimeException + */ + public function testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds() + { + $this->setMockHandler(array('fwrite', 'streamGetMetadata')); + + $this->handler->expects($this->any()) + ->method('fwrite') + ->will($this->returnValue(0)); + + $this->handler->expects($this->any()) + ->method('streamGetMetadata') + ->will($this->returnValue(array('timed_out' => false))); + + $this->handler->setWritingTimeout(1); + + $this->writeRecord('Hello world'); + } + + private function createHandler($connectionString) + { + $this->handler = new SocketHandler($connectionString); + $this->handler->setFormatter($this->getIdentityFormatter()); + } + + private function writeRecord($string) + { + $this->handler->handle($this->getRecord(Logger::WARNING, $string)); + } + + private function setMockHandler(array $methods = array()) + { + $this->res = fopen('php://memory', 'a'); + + $defaultMethods = array('fsockopen', 'pfsockopen', 'streamSetTimeout'); + $newMethods = array_diff($methods, $defaultMethods); + + $finalMethods = array_merge($defaultMethods, $newMethods); + + $this->handler = $this->getMock( + '\Monolog\Handler\SocketHandler', $finalMethods, array('localhost:1234') + ); + + if (!in_array('fsockopen', $methods)) { + $this->handler->expects($this->any()) + ->method('fsockopen') + ->will($this->returnValue($this->res)); + } + + if (!in_array('pfsockopen', $methods)) { + $this->handler->expects($this->any()) + ->method('pfsockopen') + ->will($this->returnValue($this->res)); + } + + if (!in_array('streamSetTimeout', $methods)) { + $this->handler->expects($this->any()) + ->method('streamSetTimeout') + ->will($this->returnValue(true)); + } + + $this->handler->setFormatter($this->getIdentityFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php new file mode 100644 index 00000000..487030fe --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php @@ -0,0 +1,184 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class StreamHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWrite() + { + $handle = fopen('php://memory', 'a+'); + $handler = new StreamHandler($handle); + $handler->setFormatter($this->getIdentityFormatter()); + $handler->handle($this->getRecord(Logger::WARNING, 'test')); + $handler->handle($this->getRecord(Logger::WARNING, 'test2')); + $handler->handle($this->getRecord(Logger::WARNING, 'test3')); + fseek($handle, 0); + $this->assertEquals('testtest2test3', fread($handle, 100)); + } + + /** + * @covers Monolog\Handler\StreamHandler::close + */ + public function testCloseKeepsExternalHandlersOpen() + { + $handle = fopen('php://memory', 'a+'); + $handler = new StreamHandler($handle); + $this->assertTrue(is_resource($handle)); + $handler->close(); + $this->assertTrue(is_resource($handle)); + } + + /** + * @covers Monolog\Handler\StreamHandler::close + */ + public function testClose() + { + $handler = new StreamHandler('php://memory'); + $handler->handle($this->getRecord(Logger::WARNING, 'test')); + $streamProp = new \ReflectionProperty('Monolog\Handler\StreamHandler', 'stream'); + $streamProp->setAccessible(true); + $handle = $streamProp->getValue($handler); + + $this->assertTrue(is_resource($handle)); + $handler->close(); + $this->assertFalse(is_resource($handle)); + } + + /** + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteCreatesTheStreamResource() + { + $handler = new StreamHandler('php://memory'); + $handler->handle($this->getRecord()); + } + + /** + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteLocking() + { + $temp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'monolog_locked_log'; + $handler = new StreamHandler($temp, Logger::DEBUG, true, null, true); + $handler->handle($this->getRecord()); + } + + /** + * @expectedException LogicException + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteMissingResource() + { + $handler = new StreamHandler(null); + $handler->handle($this->getRecord()); + } + + public function invalidArgumentProvider() + { + return array( + array(1), + array(array()), + array(array('bogus://url')), + ); + } + + /** + * @dataProvider invalidArgumentProvider + * @expectedException InvalidArgumentException + * @covers Monolog\Handler\StreamHandler::__construct + */ + public function testWriteInvalidArgument($invalidArgument) + { + $handler = new StreamHandler($invalidArgument); + } + + /** + * @expectedException UnexpectedValueException + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteInvalidResource() + { + $handler = new StreamHandler('bogus://url'); + $handler->handle($this->getRecord()); + } + + /** + * @expectedException UnexpectedValueException + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteNonExistingResource() + { + $handler = new StreamHandler('ftp://foo/bar/baz/'.rand(0, 10000)); + $handler->handle($this->getRecord()); + } + + /** + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteNonExistingPath() + { + $handler = new StreamHandler(sys_get_temp_dir().'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000)); + $handler->handle($this->getRecord()); + } + + /** + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteNonExistingFileResource() + { + $handler = new StreamHandler('file://'.sys_get_temp_dir().'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000)); + $handler->handle($this->getRecord()); + } + + /** + * @expectedException Exception + * @expectedExceptionMessageRegExp /There is no existing directory at/ + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteNonExistingAndNotCreatablePath() + { + if (defined('PHP_WINDOWS_VERSION_BUILD')) { + $this->markTestSkipped('Permissions checks can not run on windows'); + } + $handler = new StreamHandler('/foo/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000)); + $handler->handle($this->getRecord()); + } + + /** + * @expectedException Exception + * @expectedExceptionMessageRegExp /There is no existing directory at/ + * @covers Monolog\Handler\StreamHandler::__construct + * @covers Monolog\Handler\StreamHandler::write + */ + public function testWriteNonExistingAndNotCreatableFileResource() + { + if (defined('PHP_WINDOWS_VERSION_BUILD')) { + $this->markTestSkipped('Permissions checks can not run on windows'); + } + $handler = new StreamHandler('file:///foo/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000)); + $handler->handle($this->getRecord()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php new file mode 100644 index 00000000..1d62940f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SwiftMailerHandlerTest.php @@ -0,0 +1,113 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; +use Monolog\TestCase; + +class SwiftMailerHandlerTest extends TestCase +{ + /** @var \Swift_Mailer|\PHPUnit_Framework_MockObject_MockObject */ + private $mailer; + + public function setUp() + { + $this->mailer = $this + ->getMockBuilder('Swift_Mailer') + ->disableOriginalConstructor() + ->getMock(); + } + + public function testMessageCreationIsLazyWhenUsingCallback() + { + $this->mailer->expects($this->never()) + ->method('send'); + + $callback = function () { + throw new \RuntimeException('Swift_Message creation callback should not have been called in this test'); + }; + $handler = new SwiftMailerHandler($this->mailer, $callback); + + $records = array( + $this->getRecord(Logger::DEBUG), + $this->getRecord(Logger::INFO), + ); + $handler->handleBatch($records); + } + + public function testMessageCanBeCustomizedGivenLoggedData() + { + // Wire Mailer to expect a specific Swift_Message with a customized Subject + $expectedMessage = new \Swift_Message(); + $this->mailer->expects($this->once()) + ->method('send') + ->with($this->callback(function ($value) use ($expectedMessage) { + return $value instanceof \Swift_Message + && $value->getSubject() === 'Emergency' + && $value === $expectedMessage; + })); + + // Callback dynamically changes subject based on number of logged records + $callback = function ($content, array $records) use ($expectedMessage) { + $subject = count($records) > 0 ? 'Emergency' : 'Normal'; + $expectedMessage->setSubject($subject); + + return $expectedMessage; + }; + $handler = new SwiftMailerHandler($this->mailer, $callback); + + // Logging 1 record makes this an Emergency + $records = array( + $this->getRecord(Logger::EMERGENCY), + ); + $handler->handleBatch($records); + } + + public function testMessageSubjectFormatting() + { + // Wire Mailer to expect a specific Swift_Message with a customized Subject + $messageTemplate = new \Swift_Message(); + $messageTemplate->setSubject('Alert: %level_name% %message%'); + $receivedMessage = null; + + $this->mailer->expects($this->once()) + ->method('send') + ->with($this->callback(function ($value) use (&$receivedMessage) { + $receivedMessage = $value; + return true; + })); + + $handler = new SwiftMailerHandler($this->mailer, $messageTemplate); + + $records = array( + $this->getRecord(Logger::EMERGENCY), + ); + $handler->handleBatch($records); + + $this->assertEquals('Alert: EMERGENCY test', $receivedMessage->getSubject()); + } + + public function testMessageHaveUniqueId() + { + $messageTemplate = new \Swift_Message(); + $handler = new SwiftMailerHandler($this->mailer, $messageTemplate); + + $method = new \ReflectionMethod('Monolog\Handler\SwiftMailerHandler', 'buildMessage'); + $method->setAccessible(true); + $method->invokeArgs($handler, array($messageTemplate, array())); + + $builtMessage1 = $method->invoke($handler, $messageTemplate, array()); + $builtMessage2 = $method->invoke($handler, $messageTemplate, array()); + + $this->assertFalse($builtMessage1->getId() === $builtMessage2->getId(), 'Two different messages have the same id'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php new file mode 100644 index 00000000..8f9e46bf --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php @@ -0,0 +1,44 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +class SyslogHandlerTest extends \PHPUnit_Framework_TestCase +{ + /** + * @covers Monolog\Handler\SyslogHandler::__construct + */ + public function testConstruct() + { + $handler = new SyslogHandler('test'); + $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler); + + $handler = new SyslogHandler('test', LOG_USER); + $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler); + + $handler = new SyslogHandler('test', 'user'); + $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler); + + $handler = new SyslogHandler('test', LOG_USER, Logger::DEBUG, true, LOG_PERROR); + $this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler); + } + + /** + * @covers Monolog\Handler\SyslogHandler::__construct + */ + public function testConstructInvalidFacility() + { + $this->setExpectedException('UnexpectedValueException'); + $handler = new SyslogHandler('test', 'unknown'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php new file mode 100644 index 00000000..7ee8a985 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php @@ -0,0 +1,76 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; + +/** + * @requires extension sockets + */ +class SyslogUdpHandlerTest extends TestCase +{ + /** + * @expectedException UnexpectedValueException + */ + public function testWeValidateFacilities() + { + $handler = new SyslogUdpHandler("ip", null, "invalidFacility"); + } + + public function testWeSplitIntoLines() + { + $time = '2014-01-07T12:34'; + $pid = getmypid(); + $host = gethostname(); + + $handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler') + ->setConstructorArgs(array("127.0.0.1", 514, "authpriv")) + ->setMethods(array('getDateTime')) + ->getMock(); + + $handler->method('getDateTime') + ->willReturn($time); + + $handler->setFormatter(new \Monolog\Formatter\ChromePHPFormatter()); + + $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('write'), array('lol', 'lol')); + $socket->expects($this->at(0)) + ->method('write') + ->with("lol", "<".(LOG_AUTHPRIV + LOG_WARNING).">1 $time $host php $pid - - "); + $socket->expects($this->at(1)) + ->method('write') + ->with("hej", "<".(LOG_AUTHPRIV + LOG_WARNING).">1 $time $host php $pid - - "); + + $handler->setSocket($socket); + + $handler->handle($this->getRecordWithMessage("hej\nlol")); + } + + public function testSplitWorksOnEmptyMsg() + { + $handler = new SyslogUdpHandler("127.0.0.1", 514, "authpriv"); + $handler->setFormatter($this->getIdentityFormatter()); + + $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('write'), array('lol', 'lol')); + $socket->expects($this->never()) + ->method('write'); + + $handler->setSocket($socket); + + $handler->handle($this->getRecordWithMessage(null)); + } + + protected function getRecordWithMessage($msg) + { + return array('message' => $msg, 'level' => \Monolog\Logger::WARNING, 'context' => null, 'extra' => array(), 'channel' => 'lol'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php new file mode 100644 index 00000000..bfb8d3df --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php @@ -0,0 +1,70 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +/** + * @covers Monolog\Handler\TestHandler + */ +class TestHandlerTest extends TestCase +{ + /** + * @dataProvider methodProvider + */ + public function testHandler($method, $level) + { + $handler = new TestHandler; + $record = $this->getRecord($level, 'test'.$method); + $this->assertFalse($handler->hasRecords($level)); + $this->assertFalse($handler->hasRecord($record, $level)); + $this->assertFalse($handler->{'has'.$method}($record), 'has'.$method); + $this->assertFalse($handler->{'has'.$method.'ThatContains'}('test'), 'has'.$method.'ThatContains'); + $this->assertFalse($handler->{'has'.$method.'ThatPasses'}(function ($rec) { + return true; + }), 'has'.$method.'ThatPasses'); + $this->assertFalse($handler->{'has'.$method.'ThatMatches'}('/test\w+/')); + $this->assertFalse($handler->{'has'.$method.'Records'}(), 'has'.$method.'Records'); + $handler->handle($record); + + $this->assertFalse($handler->{'has'.$method}('bar'), 'has'.$method); + $this->assertTrue($handler->hasRecords($level)); + $this->assertTrue($handler->hasRecord($record, $level)); + $this->assertTrue($handler->{'has'.$method}($record), 'has'.$method); + $this->assertTrue($handler->{'has'.$method}('test'.$method), 'has'.$method); + $this->assertTrue($handler->{'has'.$method.'ThatContains'}('test'), 'has'.$method.'ThatContains'); + $this->assertTrue($handler->{'has'.$method.'ThatPasses'}(function ($rec) { + return true; + }), 'has'.$method.'ThatPasses'); + $this->assertTrue($handler->{'has'.$method.'ThatMatches'}('/test\w+/')); + $this->assertTrue($handler->{'has'.$method.'Records'}(), 'has'.$method.'Records'); + + $records = $handler->getRecords(); + unset($records[0]['formatted']); + $this->assertEquals(array($record), $records); + } + + public function methodProvider() + { + return array( + array('Emergency', Logger::EMERGENCY), + array('Alert' , Logger::ALERT), + array('Critical' , Logger::CRITICAL), + array('Error' , Logger::ERROR), + array('Warning' , Logger::WARNING), + array('Info' , Logger::INFO), + array('Notice' , Logger::NOTICE), + array('Debug' , Logger::DEBUG), + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php new file mode 100644 index 00000000..fa524d00 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php @@ -0,0 +1,64 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Handler\SyslogUdp\UdpSocket; + +/** + * @requires extension sockets + */ +class UdpSocketTest extends TestCase +{ + public function testWeDoNotTruncateShortMessages() + { + $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('send'), array('lol', 'lol')); + + $socket->expects($this->at(0)) + ->method('send') + ->with("HEADER: The quick brown fox jumps over the lazy dog"); + + $socket->write("The quick brown fox jumps over the lazy dog", "HEADER: "); + } + + public function testLongMessagesAreTruncated() + { + $socket = $this->getMock('\Monolog\Handler\SyslogUdp\UdpSocket', array('send'), array('lol', 'lol')); + + $truncatedString = str_repeat("derp", 16254).'d'; + + $socket->expects($this->exactly(1)) + ->method('send') + ->with("HEADER" . $truncatedString); + + $longString = str_repeat("derp", 20000); + + $socket->write($longString, "HEADER"); + } + + public function testDoubleCloseDoesNotError() + { + $socket = new UdpSocket('127.0.0.1', 514); + $socket->close(); + $socket->close(); + } + + /** + * @expectedException LogicException + */ + public function testWriteAfterCloseErrors() + { + $socket = new UdpSocket('127.0.0.1', 514); + $socket->close(); + $socket->write('foo', "HEADER"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php new file mode 100644 index 00000000..8d37a1fc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php @@ -0,0 +1,121 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; +use Monolog\Logger; + +class WhatFailureGroupHandlerTest extends TestCase +{ + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::__construct + * @expectedException InvalidArgumentException + */ + public function testConstructorOnlyTakesHandler() + { + new WhatFailureGroupHandler(array(new TestHandler(), "foo")); + } + + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::__construct + * @covers Monolog\Handler\WhatFailureGroupHandler::handle + */ + public function testHandle() + { + $testHandlers = array(new TestHandler(), new TestHandler()); + $handler = new WhatFailureGroupHandler($testHandlers); + $handler->handle($this->getRecord(Logger::DEBUG)); + $handler->handle($this->getRecord(Logger::INFO)); + foreach ($testHandlers as $test) { + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + } + } + + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::handleBatch + */ + public function testHandleBatch() + { + $testHandlers = array(new TestHandler(), new TestHandler()); + $handler = new WhatFailureGroupHandler($testHandlers); + $handler->handleBatch(array($this->getRecord(Logger::DEBUG), $this->getRecord(Logger::INFO))); + foreach ($testHandlers as $test) { + $this->assertTrue($test->hasDebugRecords()); + $this->assertTrue($test->hasInfoRecords()); + $this->assertTrue(count($test->getRecords()) === 2); + } + } + + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::isHandling + */ + public function testIsHandling() + { + $testHandlers = array(new TestHandler(Logger::ERROR), new TestHandler(Logger::WARNING)); + $handler = new WhatFailureGroupHandler($testHandlers); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::ERROR))); + $this->assertTrue($handler->isHandling($this->getRecord(Logger::WARNING))); + $this->assertFalse($handler->isHandling($this->getRecord(Logger::DEBUG))); + } + + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::handle + */ + public function testHandleUsesProcessors() + { + $test = new TestHandler(); + $handler = new WhatFailureGroupHandler(array($test)); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } + + /** + * @covers Monolog\Handler\WhatFailureGroupHandler::handle + */ + public function testHandleException() + { + $test = new TestHandler(); + $exception = new ExceptionTestHandler(); + $handler = new WhatFailureGroupHandler(array($exception, $test, $exception)); + $handler->pushProcessor(function ($record) { + $record['extra']['foo'] = true; + + return $record; + }); + $handler->handle($this->getRecord(Logger::WARNING)); + $this->assertTrue($test->hasWarningRecords()); + $records = $test->getRecords(); + $this->assertTrue($records[0]['extra']['foo']); + } +} + +class ExceptionTestHandler extends TestHandler +{ + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + parent::handle($record); + + throw new \Exception("ExceptionTestHandler::handle"); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php new file mode 100644 index 00000000..69b001ea --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php @@ -0,0 +1,69 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\TestCase; + +class ZendMonitorHandlerTest extends TestCase +{ + protected $zendMonitorHandler; + + public function setUp() + { + if (!function_exists('zend_monitor_custom_event')) { + $this->markTestSkipped('ZendServer is not installed'); + } + } + + /** + * @covers Monolog\Handler\ZendMonitorHandler::write + */ + public function testWrite() + { + $record = $this->getRecord(); + $formatterResult = array( + 'message' => $record['message'], + ); + + $zendMonitor = $this->getMockBuilder('Monolog\Handler\ZendMonitorHandler') + ->setMethods(array('writeZendMonitorCustomEvent', 'getDefaultFormatter')) + ->getMock(); + + $formatterMock = $this->getMockBuilder('Monolog\Formatter\NormalizerFormatter') + ->disableOriginalConstructor() + ->getMock(); + + $formatterMock->expects($this->once()) + ->method('format') + ->will($this->returnValue($formatterResult)); + + $zendMonitor->expects($this->once()) + ->method('getDefaultFormatter') + ->will($this->returnValue($formatterMock)); + + $levelMap = $zendMonitor->getLevelMap(); + + $zendMonitor->expects($this->once()) + ->method('writeZendMonitorCustomEvent') + ->with($levelMap[$record['level']], $record['message'], $formatterResult); + + $zendMonitor->handle($record); + } + + /** + * @covers Monolog\Handler\ZendMonitorHandler::getDefaultFormatter + */ + public function testGetDefaultFormatterReturnsNormalizerFormatter() + { + $zendMonitor = new ZendMonitorHandler(); + $this->assertInstanceOf('Monolog\Formatter\NormalizerFormatter', $zendMonitor->getDefaultFormatter()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php new file mode 100644 index 00000000..1ecc34a0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/LoggerTest.php @@ -0,0 +1,548 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use Monolog\Processor\WebProcessor; +use Monolog\Handler\TestHandler; + +class LoggerTest extends \PHPUnit_Framework_TestCase +{ + /** + * @covers Monolog\Logger::getName + */ + public function testGetName() + { + $logger = new Logger('foo'); + $this->assertEquals('foo', $logger->getName()); + } + + /** + * @covers Monolog\Logger::getLevelName + */ + public function testGetLevelName() + { + $this->assertEquals('ERROR', Logger::getLevelName(Logger::ERROR)); + } + + /** + * @covers Monolog\Logger::withName + */ + public function testWithName() + { + $first = new Logger('first', array($handler = new TestHandler())); + $second = $first->withName('second'); + + $this->assertSame('first', $first->getName()); + $this->assertSame('second', $second->getName()); + $this->assertSame($handler, $second->popHandler()); + } + + /** + * @covers Monolog\Logger::toMonologLevel + */ + public function testConvertPSR3ToMonologLevel() + { + $this->assertEquals(Logger::toMonologLevel('debug'), 100); + $this->assertEquals(Logger::toMonologLevel('info'), 200); + $this->assertEquals(Logger::toMonologLevel('notice'), 250); + $this->assertEquals(Logger::toMonologLevel('warning'), 300); + $this->assertEquals(Logger::toMonologLevel('error'), 400); + $this->assertEquals(Logger::toMonologLevel('critical'), 500); + $this->assertEquals(Logger::toMonologLevel('alert'), 550); + $this->assertEquals(Logger::toMonologLevel('emergency'), 600); + } + + /** + * @covers Monolog\Logger::getLevelName + * @expectedException InvalidArgumentException + */ + public function testGetLevelNameThrows() + { + Logger::getLevelName(5); + } + + /** + * @covers Monolog\Logger::__construct + */ + public function testChannel() + { + $logger = new Logger('foo'); + $handler = new TestHandler; + $logger->pushHandler($handler); + $logger->addWarning('test'); + list($record) = $handler->getRecords(); + $this->assertEquals('foo', $record['channel']); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testLog() + { + $logger = new Logger(__METHOD__); + + $handler = $this->getMock('Monolog\Handler\NullHandler', array('handle')); + $handler->expects($this->once()) + ->method('handle'); + $logger->pushHandler($handler); + + $this->assertTrue($logger->addWarning('test')); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testLogNotHandled() + { + $logger = new Logger(__METHOD__); + + $handler = $this->getMock('Monolog\Handler\NullHandler', array('handle'), array(Logger::ERROR)); + $handler->expects($this->never()) + ->method('handle'); + $logger->pushHandler($handler); + + $this->assertFalse($logger->addWarning('test')); + } + + public function testHandlersInCtor() + { + $handler1 = new TestHandler; + $handler2 = new TestHandler; + $logger = new Logger(__METHOD__, array($handler1, $handler2)); + + $this->assertEquals($handler1, $logger->popHandler()); + $this->assertEquals($handler2, $logger->popHandler()); + } + + public function testProcessorsInCtor() + { + $processor1 = new WebProcessor; + $processor2 = new WebProcessor; + $logger = new Logger(__METHOD__, array(), array($processor1, $processor2)); + + $this->assertEquals($processor1, $logger->popProcessor()); + $this->assertEquals($processor2, $logger->popProcessor()); + } + + /** + * @covers Monolog\Logger::pushHandler + * @covers Monolog\Logger::popHandler + * @expectedException LogicException + */ + public function testPushPopHandler() + { + $logger = new Logger(__METHOD__); + $handler1 = new TestHandler; + $handler2 = new TestHandler; + + $logger->pushHandler($handler1); + $logger->pushHandler($handler2); + + $this->assertEquals($handler2, $logger->popHandler()); + $this->assertEquals($handler1, $logger->popHandler()); + $logger->popHandler(); + } + + /** + * @covers Monolog\Logger::setHandlers + */ + public function testSetHandlers() + { + $logger = new Logger(__METHOD__); + $handler1 = new TestHandler; + $handler2 = new TestHandler; + + $logger->pushHandler($handler1); + $logger->setHandlers(array($handler2)); + + // handler1 has been removed + $this->assertEquals(array($handler2), $logger->getHandlers()); + + $logger->setHandlers(array( + "AMapKey" => $handler1, + "Woop" => $handler2, + )); + + // Keys have been scrubbed + $this->assertEquals(array($handler1, $handler2), $logger->getHandlers()); + } + + /** + * @covers Monolog\Logger::pushProcessor + * @covers Monolog\Logger::popProcessor + * @expectedException LogicException + */ + public function testPushPopProcessor() + { + $logger = new Logger(__METHOD__); + $processor1 = new WebProcessor; + $processor2 = new WebProcessor; + + $logger->pushProcessor($processor1); + $logger->pushProcessor($processor2); + + $this->assertEquals($processor2, $logger->popProcessor()); + $this->assertEquals($processor1, $logger->popProcessor()); + $logger->popProcessor(); + } + + /** + * @covers Monolog\Logger::pushProcessor + * @expectedException InvalidArgumentException + */ + public function testPushProcessorWithNonCallable() + { + $logger = new Logger(__METHOD__); + + $logger->pushProcessor(new \stdClass()); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testProcessorsAreExecuted() + { + $logger = new Logger(__METHOD__); + $handler = new TestHandler; + $logger->pushHandler($handler); + $logger->pushProcessor(function ($record) { + $record['extra']['win'] = true; + + return $record; + }); + $logger->addError('test'); + list($record) = $handler->getRecords(); + $this->assertTrue($record['extra']['win']); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testProcessorsAreCalledOnlyOnce() + { + $logger = new Logger(__METHOD__); + $handler = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler->expects($this->any()) + ->method('handle') + ->will($this->returnValue(true)) + ; + $logger->pushHandler($handler); + + $processor = $this->getMockBuilder('Monolog\Processor\WebProcessor') + ->disableOriginalConstructor() + ->setMethods(array('__invoke')) + ->getMock() + ; + $processor->expects($this->once()) + ->method('__invoke') + ->will($this->returnArgument(0)) + ; + $logger->pushProcessor($processor); + + $logger->addError('test'); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testProcessorsNotCalledWhenNotHandled() + { + $logger = new Logger(__METHOD__); + $handler = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler->expects($this->once()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + $logger->pushHandler($handler); + $that = $this; + $logger->pushProcessor(function ($record) use ($that) { + $that->fail('The processor should not be called'); + }); + $logger->addAlert('test'); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testHandlersNotCalledBeforeFirstHandling() + { + $logger = new Logger(__METHOD__); + + $handler1 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler1->expects($this->never()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + $handler1->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + $logger->pushHandler($handler1); + + $handler2 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler2->expects($this->once()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler2->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + $logger->pushHandler($handler2); + + $handler3 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler3->expects($this->once()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + $handler3->expects($this->never()) + ->method('handle') + ; + $logger->pushHandler($handler3); + + $logger->debug('test'); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testHandlersNotCalledBeforeFirstHandlingWithAssocArray() + { + $handler1 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler1->expects($this->never()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + $handler1->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + + $handler2 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler2->expects($this->once()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler2->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + + $handler3 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler3->expects($this->once()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + $handler3->expects($this->never()) + ->method('handle') + ; + + $logger = new Logger(__METHOD__, array('last' => $handler3, 'second' => $handler2, 'first' => $handler1)); + + $logger->debug('test'); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testBubblingWhenTheHandlerReturnsFalse() + { + $logger = new Logger(__METHOD__); + + $handler1 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler1->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler1->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + $logger->pushHandler($handler1); + + $handler2 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler2->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler2->expects($this->once()) + ->method('handle') + ->will($this->returnValue(false)) + ; + $logger->pushHandler($handler2); + + $logger->debug('test'); + } + + /** + * @covers Monolog\Logger::addRecord + */ + public function testNotBubblingWhenTheHandlerReturnsTrue() + { + $logger = new Logger(__METHOD__); + + $handler1 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler1->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler1->expects($this->never()) + ->method('handle') + ; + $logger->pushHandler($handler1); + + $handler2 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler2->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + $handler2->expects($this->once()) + ->method('handle') + ->will($this->returnValue(true)) + ; + $logger->pushHandler($handler2); + + $logger->debug('test'); + } + + /** + * @covers Monolog\Logger::isHandling + */ + public function testIsHandling() + { + $logger = new Logger(__METHOD__); + + $handler1 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler1->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(false)) + ; + + $logger->pushHandler($handler1); + $this->assertFalse($logger->isHandling(Logger::DEBUG)); + + $handler2 = $this->getMock('Monolog\Handler\HandlerInterface'); + $handler2->expects($this->any()) + ->method('isHandling') + ->will($this->returnValue(true)) + ; + + $logger->pushHandler($handler2); + $this->assertTrue($logger->isHandling(Logger::DEBUG)); + } + + /** + * @dataProvider logMethodProvider + * @covers Monolog\Logger::addDebug + * @covers Monolog\Logger::addInfo + * @covers Monolog\Logger::addNotice + * @covers Monolog\Logger::addWarning + * @covers Monolog\Logger::addError + * @covers Monolog\Logger::addCritical + * @covers Monolog\Logger::addAlert + * @covers Monolog\Logger::addEmergency + * @covers Monolog\Logger::debug + * @covers Monolog\Logger::info + * @covers Monolog\Logger::notice + * @covers Monolog\Logger::warn + * @covers Monolog\Logger::err + * @covers Monolog\Logger::crit + * @covers Monolog\Logger::alert + * @covers Monolog\Logger::emerg + */ + public function testLogMethods($method, $expectedLevel) + { + $logger = new Logger('foo'); + $handler = new TestHandler; + $logger->pushHandler($handler); + $logger->{$method}('test'); + list($record) = $handler->getRecords(); + $this->assertEquals($expectedLevel, $record['level']); + } + + public function logMethodProvider() + { + return array( + // monolog methods + array('addDebug', Logger::DEBUG), + array('addInfo', Logger::INFO), + array('addNotice', Logger::NOTICE), + array('addWarning', Logger::WARNING), + array('addError', Logger::ERROR), + array('addCritical', Logger::CRITICAL), + array('addAlert', Logger::ALERT), + array('addEmergency', Logger::EMERGENCY), + + // ZF/Sf2 compat methods + array('debug', Logger::DEBUG), + array('info', Logger::INFO), + array('notice', Logger::NOTICE), + array('warn', Logger::WARNING), + array('err', Logger::ERROR), + array('crit', Logger::CRITICAL), + array('alert', Logger::ALERT), + array('emerg', Logger::EMERGENCY), + ); + } + + /** + * @dataProvider setTimezoneProvider + * @covers Monolog\Logger::setTimezone + */ + public function testSetTimezone($tz) + { + Logger::setTimezone($tz); + $logger = new Logger('foo'); + $handler = new TestHandler; + $logger->pushHandler($handler); + $logger->info('test'); + list($record) = $handler->getRecords(); + $this->assertEquals($tz, $record['datetime']->getTimezone()); + } + + public function setTimezoneProvider() + { + return array_map( + function ($tz) { return array(new \DateTimeZone($tz)); }, + \DateTimeZone::listIdentifiers() + ); + } + + /** + * @dataProvider useMicrosecondTimestampsProvider + * @covers Monolog\Logger::useMicrosecondTimestamps + * @covers Monolog\Logger::addRecord + */ + public function testUseMicrosecondTimestamps($micro, $assert) + { + $logger = new Logger('foo'); + $logger->useMicrosecondTimestamps($micro); + $handler = new TestHandler; + $logger->pushHandler($handler); + $logger->info('test'); + list($record) = $handler->getRecords(); + $this->{$assert}('000000', $record['datetime']->format('u')); + } + + public function useMicrosecondTimestampsProvider() + { + return array( + // this has a very small chance of a false negative (1/10^6) + 'with microseconds' => array(true, 'assertNotSame'), + 'without microseconds' => array(false, PHP_VERSION_ID >= 70100 ? 'assertNotSame' : 'assertSame'), + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php new file mode 100644 index 00000000..5adb505d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class GitProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\GitProcessor::__invoke + */ + public function testProcessor() + { + $processor = new GitProcessor(); + $record = $processor($this->getRecord()); + + $this->assertArrayHasKey('git', $record['extra']); + $this->assertTrue(!is_array($record['extra']['git']['branch'])); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php new file mode 100644 index 00000000..0dd411d7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php @@ -0,0 +1,123 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Acme; + +class Tester +{ + public function test($handler, $record) + { + $handler->handle($record); + } +} + +function tester($handler, $record) +{ + $handler->handle($record); +} + +namespace Monolog\Processor; + +use Monolog\Logger; +use Monolog\TestCase; +use Monolog\Handler\TestHandler; + +class IntrospectionProcessorTest extends TestCase +{ + public function getHandler() + { + $processor = new IntrospectionProcessor(); + $handler = new TestHandler(); + $handler->pushProcessor($processor); + + return $handler; + } + + public function testProcessorFromClass() + { + $handler = $this->getHandler(); + $tester = new \Acme\Tester; + $tester->test($handler, $this->getRecord()); + list($record) = $handler->getRecords(); + $this->assertEquals(__FILE__, $record['extra']['file']); + $this->assertEquals(18, $record['extra']['line']); + $this->assertEquals('Acme\Tester', $record['extra']['class']); + $this->assertEquals('test', $record['extra']['function']); + } + + public function testProcessorFromFunc() + { + $handler = $this->getHandler(); + \Acme\tester($handler, $this->getRecord()); + list($record) = $handler->getRecords(); + $this->assertEquals(__FILE__, $record['extra']['file']); + $this->assertEquals(24, $record['extra']['line']); + $this->assertEquals(null, $record['extra']['class']); + $this->assertEquals('Acme\tester', $record['extra']['function']); + } + + public function testLevelTooLow() + { + $input = array( + 'level' => Logger::DEBUG, + 'extra' => array(), + ); + + $expected = $input; + + $processor = new IntrospectionProcessor(Logger::CRITICAL); + $actual = $processor($input); + + $this->assertEquals($expected, $actual); + } + + public function testLevelEqual() + { + $input = array( + 'level' => Logger::CRITICAL, + 'extra' => array(), + ); + + $expected = $input; + $expected['extra'] = array( + 'file' => null, + 'line' => null, + 'class' => 'ReflectionMethod', + 'function' => 'invokeArgs', + ); + + $processor = new IntrospectionProcessor(Logger::CRITICAL); + $actual = $processor($input); + + $this->assertEquals($expected, $actual); + } + + public function testLevelHigher() + { + $input = array( + 'level' => Logger::EMERGENCY, + 'extra' => array(), + ); + + $expected = $input; + $expected['extra'] = array( + 'file' => null, + 'line' => null, + 'class' => 'ReflectionMethod', + 'function' => 'invokeArgs', + ); + + $processor = new IntrospectionProcessor(Logger::CRITICAL); + $actual = $processor($input); + + $this->assertEquals($expected, $actual); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php new file mode 100644 index 00000000..eb666144 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php @@ -0,0 +1,42 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class MemoryPeakUsageProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\MemoryPeakUsageProcessor::__invoke + * @covers Monolog\Processor\MemoryProcessor::formatBytes + */ + public function testProcessor() + { + $processor = new MemoryPeakUsageProcessor(); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('memory_peak_usage', $record['extra']); + $this->assertRegExp('#[0-9.]+ (M|K)?B$#', $record['extra']['memory_peak_usage']); + } + + /** + * @covers Monolog\Processor\MemoryPeakUsageProcessor::__invoke + * @covers Monolog\Processor\MemoryProcessor::formatBytes + */ + public function testProcessorWithoutFormatting() + { + $processor = new MemoryPeakUsageProcessor(true, false); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('memory_peak_usage', $record['extra']); + $this->assertInternalType('int', $record['extra']['memory_peak_usage']); + $this->assertGreaterThan(0, $record['extra']['memory_peak_usage']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php new file mode 100644 index 00000000..4692dbfc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php @@ -0,0 +1,42 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class MemoryUsageProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\MemoryUsageProcessor::__invoke + * @covers Monolog\Processor\MemoryProcessor::formatBytes + */ + public function testProcessor() + { + $processor = new MemoryUsageProcessor(); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('memory_usage', $record['extra']); + $this->assertRegExp('#[0-9.]+ (M|K)?B$#', $record['extra']['memory_usage']); + } + + /** + * @covers Monolog\Processor\MemoryUsageProcessor::__invoke + * @covers Monolog\Processor\MemoryProcessor::formatBytes + */ + public function testProcessorWithoutFormatting() + { + $processor = new MemoryUsageProcessor(true, false); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('memory_usage', $record['extra']); + $this->assertInternalType('int', $record['extra']['memory_usage']); + $this->assertGreaterThan(0, $record['extra']['memory_usage']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php new file mode 100644 index 00000000..11f2b35a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/MercurialProcessorTest.php @@ -0,0 +1,41 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class MercurialProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\MercurialProcessor::__invoke + */ + public function testProcessor() + { + if (defined('PHP_WINDOWS_VERSION_BUILD')) { + exec("where hg 2>NUL", $output, $result); + } else { + exec("which hg 2>/dev/null >/dev/null", $output, $result); + } + if ($result != 0) { + $this->markTestSkipped('hg is missing'); + return; + } + + `hg init`; + $processor = new MercurialProcessor(); + $record = $processor($this->getRecord()); + + $this->assertArrayHasKey('hg', $record['extra']); + $this->assertTrue(!is_array($record['extra']['hg']['branch'])); + $this->assertTrue(!is_array($record['extra']['hg']['revision'])); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php new file mode 100644 index 00000000..458d2a33 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php @@ -0,0 +1,30 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class ProcessIdProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\ProcessIdProcessor::__invoke + */ + public function testProcessor() + { + $processor = new ProcessIdProcessor(); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('process_id', $record['extra']); + $this->assertInternalType('int', $record['extra']['process_id']); + $this->assertGreaterThan(0, $record['extra']['process_id']); + $this->assertEquals(getmypid(), $record['extra']['process_id']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php new file mode 100644 index 00000000..029a0c02 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php @@ -0,0 +1,43 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +class PsrLogMessageProcessorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider getPairs + */ + public function testReplacement($val, $expected) + { + $proc = new PsrLogMessageProcessor; + + $message = $proc(array( + 'message' => '{foo}', + 'context' => array('foo' => $val), + )); + $this->assertEquals($expected, $message['message']); + } + + public function getPairs() + { + return array( + array('foo', 'foo'), + array('3', '3'), + array(3, '3'), + array(null, ''), + array(true, '1'), + array(false, ''), + array(new \stdClass, '[object stdClass]'), + array(array(), '[array]'), + ); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php new file mode 100644 index 00000000..0d860c61 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php @@ -0,0 +1,49 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class TagProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\TagProcessor::__invoke + */ + public function testProcessor() + { + $tags = array(1, 2, 3); + $processor = new TagProcessor($tags); + $record = $processor($this->getRecord()); + + $this->assertEquals($tags, $record['extra']['tags']); + } + + /** + * @covers Monolog\Processor\TagProcessor::__invoke + */ + public function testProcessorTagModification() + { + $tags = array(1, 2, 3); + $processor = new TagProcessor($tags); + + $record = $processor($this->getRecord()); + $this->assertEquals($tags, $record['extra']['tags']); + + $processor->setTags(array('a', 'b')); + $record = $processor($this->getRecord()); + $this->assertEquals(array('a', 'b'), $record['extra']['tags']); + + $processor->addTags(array('a', 'c', 'foo' => 'bar')); + $record = $processor($this->getRecord()); + $this->assertEquals(array('a', 'b', 'a', 'c', 'foo' => 'bar'), $record['extra']['tags']); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php new file mode 100644 index 00000000..5d13058f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php @@ -0,0 +1,33 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class UidProcessorTest extends TestCase +{ + /** + * @covers Monolog\Processor\UidProcessor::__invoke + */ + public function testProcessor() + { + $processor = new UidProcessor(); + $record = $processor($this->getRecord()); + $this->assertArrayHasKey('uid', $record['extra']); + } + + public function testGetUid() + { + $processor = new UidProcessor(10); + $this->assertEquals(10, strlen($processor->getUid())); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php new file mode 100644 index 00000000..4105baf7 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php @@ -0,0 +1,113 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Processor; + +use Monolog\TestCase; + +class WebProcessorTest extends TestCase +{ + public function testProcessor() + { + $server = array( + 'REQUEST_URI' => 'A', + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + 'HTTP_REFERER' => 'D', + 'SERVER_NAME' => 'F', + 'UNIQUE_ID' => 'G', + ); + + $processor = new WebProcessor($server); + $record = $processor($this->getRecord()); + $this->assertEquals($server['REQUEST_URI'], $record['extra']['url']); + $this->assertEquals($server['REMOTE_ADDR'], $record['extra']['ip']); + $this->assertEquals($server['REQUEST_METHOD'], $record['extra']['http_method']); + $this->assertEquals($server['HTTP_REFERER'], $record['extra']['referrer']); + $this->assertEquals($server['SERVER_NAME'], $record['extra']['server']); + $this->assertEquals($server['UNIQUE_ID'], $record['extra']['unique_id']); + } + + public function testProcessorDoNothingIfNoRequestUri() + { + $server = array( + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + ); + $processor = new WebProcessor($server); + $record = $processor($this->getRecord()); + $this->assertEmpty($record['extra']); + } + + public function testProcessorReturnNullIfNoHttpReferer() + { + $server = array( + 'REQUEST_URI' => 'A', + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + 'SERVER_NAME' => 'F', + ); + $processor = new WebProcessor($server); + $record = $processor($this->getRecord()); + $this->assertNull($record['extra']['referrer']); + } + + public function testProcessorDoesNotAddUniqueIdIfNotPresent() + { + $server = array( + 'REQUEST_URI' => 'A', + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + 'SERVER_NAME' => 'F', + ); + $processor = new WebProcessor($server); + $record = $processor($this->getRecord()); + $this->assertFalse(isset($record['extra']['unique_id'])); + } + + public function testProcessorAddsOnlyRequestedExtraFields() + { + $server = array( + 'REQUEST_URI' => 'A', + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + 'SERVER_NAME' => 'F', + ); + + $processor = new WebProcessor($server, array('url', 'http_method')); + $record = $processor($this->getRecord()); + + $this->assertSame(array('url' => 'A', 'http_method' => 'C'), $record['extra']); + } + + public function testProcessorConfiguringOfExtraFields() + { + $server = array( + 'REQUEST_URI' => 'A', + 'REMOTE_ADDR' => 'B', + 'REQUEST_METHOD' => 'C', + 'SERVER_NAME' => 'F', + ); + + $processor = new WebProcessor($server, array('url' => 'REMOTE_ADDR')); + $record = $processor($this->getRecord()); + + $this->assertSame(array('url' => 'B'), $record['extra']); + } + + /** + * @expectedException UnexpectedValueException + */ + public function testInvalidData() + { + new WebProcessor(new \stdClass); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php new file mode 100644 index 00000000..ab899449 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/PsrLogCompatTest.php @@ -0,0 +1,47 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +use Monolog\Handler\TestHandler; +use Monolog\Formatter\LineFormatter; +use Monolog\Processor\PsrLogMessageProcessor; +use Psr\Log\Test\LoggerInterfaceTest; + +class PsrLogCompatTest extends LoggerInterfaceTest +{ + private $handler; + + public function getLogger() + { + $logger = new Logger('foo'); + $logger->pushHandler($handler = new TestHandler); + $logger->pushProcessor(new PsrLogMessageProcessor); + $handler->setFormatter(new LineFormatter('%level_name% %message%')); + + $this->handler = $handler; + + return $logger; + } + + public function getLogs() + { + $convert = function ($record) { + $lower = function ($match) { + return strtolower($match[0]); + }; + + return preg_replace_callback('{^[A-Z]+}', $lower, $record['formatted']); + }; + + return array_map($convert, $this->handler->getRecords()); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php new file mode 100644 index 00000000..15fdfbd2 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/RegistryTest.php @@ -0,0 +1,153 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +class RegistryTest extends \PHPUnit_Framework_TestCase +{ + protected function setUp() + { + Registry::clear(); + } + + /** + * @dataProvider hasLoggerProvider + * @covers Monolog\Registry::hasLogger + */ + public function testHasLogger(array $loggersToAdd, array $loggersToCheck, array $expectedResult) + { + foreach ($loggersToAdd as $loggerToAdd) { + Registry::addLogger($loggerToAdd); + } + foreach ($loggersToCheck as $index => $loggerToCheck) { + $this->assertSame($expectedResult[$index], Registry::hasLogger($loggerToCheck)); + } + } + + public function hasLoggerProvider() + { + $logger1 = new Logger('test1'); + $logger2 = new Logger('test2'); + $logger3 = new Logger('test3'); + + return array( + // only instances + array( + array($logger1), + array($logger1, $logger2), + array(true, false), + ), + // only names + array( + array($logger1), + array('test1', 'test2'), + array(true, false), + ), + // mixed case + array( + array($logger1, $logger2), + array('test1', $logger2, 'test3', $logger3), + array(true, true, false, false), + ), + ); + } + + /** + * @covers Monolog\Registry::clear + */ + public function testClearClears() + { + Registry::addLogger(new Logger('test1'), 'log'); + Registry::clear(); + + $this->setExpectedException('\InvalidArgumentException'); + Registry::getInstance('log'); + } + + /** + * @dataProvider removedLoggerProvider + * @covers Monolog\Registry::addLogger + * @covers Monolog\Registry::removeLogger + */ + public function testRemovesLogger($loggerToAdd, $remove) + { + Registry::addLogger($loggerToAdd); + Registry::removeLogger($remove); + + $this->setExpectedException('\InvalidArgumentException'); + Registry::getInstance($loggerToAdd->getName()); + } + + public function removedLoggerProvider() + { + $logger1 = new Logger('test1'); + + return array( + array($logger1, $logger1), + array($logger1, 'test1'), + ); + } + + /** + * @covers Monolog\Registry::addLogger + * @covers Monolog\Registry::getInstance + * @covers Monolog\Registry::__callStatic + */ + public function testGetsSameLogger() + { + $logger1 = new Logger('test1'); + $logger2 = new Logger('test2'); + + Registry::addLogger($logger1, 'test1'); + Registry::addLogger($logger2); + + $this->assertSame($logger1, Registry::getInstance('test1')); + $this->assertSame($logger2, Registry::test2()); + } + + /** + * @expectedException \InvalidArgumentException + * @covers Monolog\Registry::getInstance + */ + public function testFailsOnNonExistantLogger() + { + Registry::getInstance('test1'); + } + + /** + * @covers Monolog\Registry::addLogger + */ + public function testReplacesLogger() + { + $log1 = new Logger('test1'); + $log2 = new Logger('test2'); + + Registry::addLogger($log1, 'log'); + + Registry::addLogger($log2, 'log', true); + + $this->assertSame($log2, Registry::getInstance('log')); + } + + /** + * @expectedException \InvalidArgumentException + * @covers Monolog\Registry::addLogger + */ + public function testFailsOnUnspecifiedReplacement() + { + $log1 = new Logger('test1'); + $log2 = new Logger('test2'); + + Registry::addLogger($log1, 'log'); + + Registry::addLogger($log2, 'log'); + } +} diff --git a/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php new file mode 100644 index 00000000..4eb7b4c9 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/monolog/monolog/tests/Monolog/TestCase.php @@ -0,0 +1,58 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog; + +class TestCase extends \PHPUnit_Framework_TestCase +{ + /** + * @return array Record + */ + protected function getRecord($level = Logger::WARNING, $message = 'test', $context = array()) + { + return array( + 'message' => $message, + 'context' => $context, + 'level' => $level, + 'level_name' => Logger::getLevelName($level), + 'channel' => 'test', + 'datetime' => \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true))), + 'extra' => array(), + ); + } + + /** + * @return array + */ + protected function getMultipleRecords() + { + return array( + $this->getRecord(Logger::DEBUG, 'debug message 1'), + $this->getRecord(Logger::DEBUG, 'debug message 2'), + $this->getRecord(Logger::INFO, 'information'), + $this->getRecord(Logger::WARNING, 'warning'), + $this->getRecord(Logger::ERROR, 'error'), + ); + } + + /** + * @return Monolog\Formatter\FormatterInterface + */ + protected function getIdentityFormatter() + { + $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface'); + $formatter->expects($this->any()) + ->method('format') + ->will($this->returnCallback(function ($record) { return $record['message']; })); + + return $formatter; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS new file mode 100644 index 00000000..a08b3099 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/AUTHORS @@ -0,0 +1,6 @@ +phpseclib Lead Developer: TerraFrost (Jim Wigginton) + +phpseclib Developers: monnerat (Patrick Monnerat) + bantu (Andreas Fischer) + petrich (Hans-Jürgen Petrich) + GrahamCampbell (Graham Campbell) diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/LICENSE b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/LICENSE new file mode 100644 index 00000000..a8ec8ebd --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/LICENSE @@ -0,0 +1,21 @@ +Copyright 2007-2016 TerraFrost and other contributors +http://phpseclib.sourceforge.net/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/README.md b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/README.md new file mode 100644 index 00000000..89f84c24 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/README.md @@ -0,0 +1,74 @@ +# phpseclib - PHP Secure Communications Library + +[![Build Status](https://travis-ci.org/phpseclib/phpseclib.svg?branch=2.0)](https://travis-ci.org/phpseclib/phpseclib) + +MIT-licensed pure-PHP implementations of an arbitrary-precision integer +arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, +AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509 + +* [Browse Git](https://github.com/phpseclib/phpseclib) +* [Code Coverage Report](https://coverage.phpseclib.org/2.0/latest/) + +## Documentation + +* [Documentation / Manual](http://phpseclib.sourceforge.net/) +* [API Documentation](https://api.phpseclib.org/2.0/) (generated by Sami) + +## Branches + +### master + +* Development Branch +* Unstable API +* Do not use in production + +### 2.0 + +* Modernized version of 1.0 +* Minimum PHP version: 5.3.3 +* PSR-4 autoloading with namespace rooted at `\phpseclib` +* Install via Composer: `composer require phpseclib/phpseclib ~2.0` + +### 1.0 + +* Long term support (LTS) release +* PHP4 compatible +* Composer compatible (PSR-0 autoloading) +* Install using Composer: `composer require phpseclib/phpseclib ~1.0` +* Install using PEAR: See [phpseclib PEAR Channel Documentation](http://phpseclib.sourceforge.net/pear.htm) +* [Download 1.0.7 as ZIP](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.7.zip/download) + +## Support + +Need Support? + +* [Checkout Questions and Answers on Stack Overflow](http://stackoverflow.com/questions/tagged/phpseclib) +* [Create a Support Ticket on GitHub](https://github.com/phpseclib/phpseclib/issues/new) +* [Browse the Support Forum](http://www.frostjedi.com/phpbb/viewforum.php?f=46) (no longer in use) + +## Contributing + +1. Fork the Project + +2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/)) + +3. Install Development Dependencies + + ``` sh + composer install + ``` + +4. Create a Feature Branch + +5. (Recommended) Run the Test Suite + + ``` sh + vendor/bin/phpunit + ``` +6. (Recommended) Check whether your code conforms to our Coding Standards by running + + ``` sh + vendor/bin/phing -f build/build.xml sniff + ``` + +7. Send us a Pull Request diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.json b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.json new file mode 100644 index 00000000..4b84b110 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.json @@ -0,0 +1,76 @@ +{ + "name": "phpseclib/phpseclib", + "type": "library", + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "keywords": [ + "security", + "crypto", + "cryptography", + "encryption", + "signature", + "signing", + "rsa", + "aes", + "blowfish", + "twofish", + "ssh", + "sftp", + "x509", + "x.509", + "asn1", + "asn.1", + "BigInteger" + ], + "homepage": "http://phpseclib.sourceforge.net", + "license": "MIT", + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "~4.0", + "sami/sami": "~2.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations." + }, + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.lock b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.lock new file mode 100644 index 00000000..beda2d64 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/composer.lock @@ -0,0 +1,1819 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "hash": "8599992bf6058a9da82372eb8bcae2c2", + "content-hash": "fde47c84178c55c06de858a2128e3d07", + "packages": [], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2015-06-14 21:17:01" + }, + { + "name": "michelf/php-markdown", + "version": "1.6.0", + "source": { + "type": "git", + "url": "https://github.com/michelf/php-markdown.git", + "reference": "156e56ee036505ec637d761ee62dc425d807183c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/michelf/php-markdown/zipball/156e56ee036505ec637d761ee62dc425d807183c", + "reference": "156e56ee036505ec637d761ee62dc425d807183c", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-lib": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Michelf": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Michel Fortin", + "email": "michel.fortin@michelf.ca", + "homepage": "https://michelf.ca/", + "role": "Developer" + }, + { + "name": "John Gruber", + "homepage": "https://daringfireball.net/" + } + ], + "description": "PHP Markdown", + "homepage": "https://michelf.ca/projects/php-markdown/", + "keywords": [ + "markdown" + ], + "time": "2015-12-24 01:37:31" + }, + { + "name": "nikic/php-parser", + "version": "v0.9.5", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ef70767475434bdb3615b43c327e2cae17ef12eb", + "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.9-dev" + } + }, + "autoload": { + "psr-0": { + "PHPParser": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "time": "2014-07-23 18:24:17" + }, + { + "name": "phing/phing", + "version": "2.14.0", + "source": { + "type": "git", + "url": "https://github.com/phingofficial/phing.git", + "reference": "7dd73c83c377623def54b58121f46b4dcb35dd61" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phingofficial/phing/zipball/7dd73c83c377623def54b58121f46b4dcb35dd61", + "reference": "7dd73c83c377623def54b58121f46b4dcb35dd61", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "ext-pdo_sqlite": "*", + "lastcraft/simpletest": "@dev", + "mikey179/vfsstream": "^1.6", + "pdepend/pdepend": "2.x", + "pear/archive_tar": "1.4.x", + "pear/http_request2": "dev-trunk", + "pear/net_growl": "dev-trunk", + "pear/pear-core-minimal": "1.10.1", + "pear/versioncontrol_git": "@dev", + "pear/versioncontrol_svn": "~0.5", + "phpdocumentor/phpdocumentor": "2.x", + "phploc/phploc": "~2.0.6", + "phpmd/phpmd": "~2.2", + "phpunit/phpunit": ">=3.7", + "sebastian/git": "~1.0", + "sebastian/phpcpd": "2.x", + "squizlabs/php_codesniffer": "~2.2", + "symfony/yaml": "~2.7" + }, + "suggest": { + "pdepend/pdepend": "PHP version of JDepend", + "pear/archive_tar": "Tar file management class", + "pear/versioncontrol_git": "A library that provides OO interface to handle Git repository", + "pear/versioncontrol_svn": "A simple OO-style interface for Subversion, the free/open-source version control system", + "phpdocumentor/phpdocumentor": "Documentation Generator for PHP", + "phploc/phploc": "A tool for quickly measuring the size of a PHP project", + "phpmd/phpmd": "PHP version of PMD tool", + "phpunit/php-code-coverage": "Library that provides collection, processing, and rendering functionality for PHP code coverage information", + "phpunit/phpunit": "The PHP Unit Testing Framework", + "sebastian/phpcpd": "Copy/Paste Detector (CPD) for PHP code", + "tedivm/jshrink": "Javascript Minifier built in PHP" + }, + "bin": [ + "bin/phing" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.14.x-dev" + } + }, + "autoload": { + "classmap": [ + "classes/phing/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "classes" + ], + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Michiel Rook", + "email": "mrook@php.net" + }, + { + "name": "Phing Community", + "homepage": "https://www.phing.info/trac/wiki/Development/Contributors" + } + ], + "description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.", + "homepage": "https://www.phing.info/", + "keywords": [ + "build", + "phing", + "task", + "tool" + ], + "time": "2016-03-10 21:39:23" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2015-12-27 11:43:31" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-06-10 09:48:41" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.2", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2016-06-10 07:14:17" + }, + { + "name": "phpspec/prophecy", + "version": "v1.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "sebastian/comparator": "^1.1", + "sebastian/recursion-context": "^1.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2016-06-07 08:13:47" + }, + { + "name": "phpunit/php-code-coverage", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979", + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "phpunit/php-file-iterator": "~1.3", + "phpunit/php-text-template": "~1.2", + "phpunit/php-token-stream": "~1.3", + "sebastian/environment": "^1.3.2", + "sebastian/version": "~1.0" + }, + "require-dev": { + "ext-xdebug": ">=2.1.4", + "phpunit/phpunit": "~4" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.2.1", + "ext-xmlwriter": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2015-10-06 15:47:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2015-06-21 13:08:43" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2015-06-21 13:50:34" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4|~5" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2016-05-12 18:03:57" + }, + { + "name": "phpunit/php-token-stream", + "version": "1.4.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2015-09-15 10:49:45" + }, + { + "name": "phpunit/phpunit", + "version": "4.8.26", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fc1d8cd5b5de11625979125c5639347896ac2c74", + "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=5.3.3", + "phpspec/prophecy": "^1.3.1", + "phpunit/php-code-coverage": "~2.1", + "phpunit/php-file-iterator": "~1.4", + "phpunit/php-text-template": "~1.2", + "phpunit/php-timer": "^1.0.6", + "phpunit/phpunit-mock-objects": "~2.3", + "sebastian/comparator": "~1.1", + "sebastian/diff": "~1.2", + "sebastian/environment": "~1.3", + "sebastian/exporter": "~1.2", + "sebastian/global-state": "~1.0", + "sebastian/version": "~1.0", + "symfony/yaml": "~2.1|~3.0" + }, + "suggest": { + "phpunit/php-invoker": "~1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.8.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2016-05-17 03:09:28" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "2.3.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983", + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": ">=5.3.3", + "phpunit/php-text-template": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "time": "2015-10-02 06:51:40" + }, + { + "name": "pimple/pimple", + "version": "v2.1.1", + "source": { + "type": "git", + "url": "https://github.com/silexphp/Pimple.git", + "reference": "ea22fb2880faf7b7b0e17c9809c6fe25b071fd76" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/ea22fb2880faf7b7b0e17c9809c6fe25b071fd76", + "reference": "ea22fb2880faf7b7b0e17c9809c6fe25b071fd76", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, + "autoload": { + "psr-0": { + "Pimple": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Pimple is a simple Dependency Injection Container for PHP 5.3", + "homepage": "http://pimple.sensiolabs.org", + "keywords": [ + "container", + "dependency injection" + ], + "time": "2014-07-24 07:10:08" + }, + { + "name": "sami/sami", + "version": "v2.0.0", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfPHP/Sami.git", + "reference": "fa58b324f41aa2aefe21dac4f22d8c98965fc012" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfPHP/Sami/zipball/fa58b324f41aa2aefe21dac4f22d8c98965fc012", + "reference": "fa58b324f41aa2aefe21dac4f22d8c98965fc012", + "shasum": "" + }, + "require": { + "michelf/php-markdown": "~1.3", + "nikic/php-parser": "0.9.*", + "php": ">=5.3.0", + "pimple/pimple": "2.*", + "symfony/console": "~2.1", + "symfony/filesystem": "~2.1", + "symfony/finder": "~2.1", + "symfony/process": "~2.1", + "symfony/yaml": "~2.1", + "twig/twig": "1.*" + }, + "bin": [ + "sami.php" + ], + "type": "application", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-0": { + "Sami": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Sami, an API documentation generator", + "homepage": "http://sami.sensiolabs.org", + "keywords": [ + "phpdoc" + ], + "time": "2014-06-25 12:05:18" + }, + { + "name": "sebastian/comparator", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2015-07-26 15:48:44" + }, + { + "name": "sebastian/diff", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2015-12-08 07:14:41" + }, + { + "name": "sebastian/environment", + "version": "1.3.7", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/4e8f0da10ac5802913afc151413bc8c53b6c2716", + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2016-05-17 03:18:57" + }, + { + "name": "sebastian/exporter", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2016-06-17 09:04:28" + }, + { + "name": "sebastian/global-state", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2015-10-12 03:26:01" + }, + { + "name": "sebastian/recursion-context", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2015-11-11 19:50:13" + }, + { + "name": "sebastian/version", + "version": "1.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", + "shasum": "" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2015-06-21 13:59:46" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "2.6.1", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "fb72ed32f8418db5e7770be1653e62e0d6f5dd3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/fb72ed32f8418db5e7770be1653e62e0d6f5dd3d", + "reference": "fb72ed32f8418db5e7770be1653e62e0d6f5dd3d", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "bin": [ + "scripts/phpcs", + "scripts/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "classmap": [ + "CodeSniffer.php", + "CodeSniffer/CLI.php", + "CodeSniffer/Exception.php", + "CodeSniffer/File.php", + "CodeSniffer/Fixer.php", + "CodeSniffer/Report.php", + "CodeSniffer/Reporting.php", + "CodeSniffer/Sniff.php", + "CodeSniffer/Tokens.php", + "CodeSniffer/Reports/", + "CodeSniffer/Tokenizers/", + "CodeSniffer/DocGenerators/", + "CodeSniffer/Standards/AbstractPatternSniff.php", + "CodeSniffer/Standards/AbstractScopeSniff.php", + "CodeSniffer/Standards/AbstractVariableSniff.php", + "CodeSniffer/Standards/IncorrectPatternException.php", + "CodeSniffer/Standards/Generic/Sniffs/", + "CodeSniffer/Standards/MySource/Sniffs/", + "CodeSniffer/Standards/PEAR/Sniffs/", + "CodeSniffer/Standards/PSR1/Sniffs/", + "CodeSniffer/Standards/PSR2/Sniffs/", + "CodeSniffer/Standards/Squiz/Sniffs/", + "CodeSniffer/Standards/Zend/Sniffs/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "http://www.squizlabs.com/php-codesniffer", + "keywords": [ + "phpcs", + "standards" + ], + "time": "2016-05-30 22:24:32" + }, + { + "name": "symfony/console", + "version": "v2.8.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3", + "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/event-dispatcher": "~2.1|~3.0.0", + "symfony/process": "~2.1|~3.0.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com", + "time": "2016-06-06 15:06:25" + }, + { + "name": "symfony/filesystem", + "version": "v2.8.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "dee379131dceed90a429e951546b33edfe7dccbb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/dee379131dceed90a429e951546b33edfe7dccbb", + "reference": "dee379131dceed90a429e951546b33edfe7dccbb", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2016-04-12 18:01:21" + }, + { + "name": "symfony/finder", + "version": "v2.8.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "3ec095fab1800222732ca522a95dce8fa124007b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/3ec095fab1800222732ca522a95dce8fa124007b", + "reference": "3ec095fab1800222732ca522a95dce8fa124007b", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "time": "2016-06-06 11:11:27" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "dff51f72b0706335131b00a7f49606168c582594" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", + "reference": "dff51f72b0706335131b00a7f49606168c582594", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2016-05-18 14:26:46" + }, + { + "name": "symfony/process", + "version": "v2.8.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "115347d00c342198cdc52a7bd8bc15b5ab43500c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/115347d00c342198cdc52a7bd8bc15b5ab43500c", + "reference": "115347d00c342198cdc52a7bd8bc15b5ab43500c", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Process Component", + "homepage": "https://symfony.com", + "time": "2016-06-06 11:11:27" + }, + { + "name": "symfony/yaml", + "version": "v2.8.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "815fabf3f48c7d1df345a69d1ad1a88f59757b34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/815fabf3f48c7d1df345a69d1ad1a88f59757b34", + "reference": "815fabf3f48c7d1df345a69d1ad1a88f59757b34", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2016-06-06 11:11:27" + }, + { + "name": "twig/twig", + "version": "v1.24.1", + "source": { + "type": "git", + "url": "https://github.com/twigphp/Twig.git", + "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/3566d311a92aae4deec6e48682dc5a4528c4a512", + "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512", + "shasum": "" + }, + "require": { + "php": ">=5.2.7" + }, + "require-dev": { + "symfony/debug": "~2.7", + "symfony/phpunit-bridge": "~2.7" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.24-dev" + } + }, + "autoload": { + "psr-0": { + "Twig_": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com", + "homepage": "http://fabien.potencier.org", + "role": "Lead Developer" + }, + { + "name": "Armin Ronacher", + "email": "armin.ronacher@active-4.com", + "role": "Project Founder" + }, + { + "name": "Twig Team", + "homepage": "http://twig.sensiolabs.org/contributors", + "role": "Contributors" + } + ], + "description": "Twig, the flexible, fast, and secure template language for PHP", + "homepage": "http://twig.sensiolabs.org", + "keywords": [ + "templating" + ], + "time": "2016-05-30 09:11:59" + }, + { + "name": "webmozart/assert", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2015-08-24 13:29:44" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=5.3.3" + }, + "platform-dev": [] +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php new file mode 100644 index 00000000..7d8cb8b0 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/AES.php @@ -0,0 +1,126 @@ + + * setKey('abcdefghijklmnop'); + * + * $size = 10 * 1024; + * $plaintext = ''; + * for ($i = 0; $i < $size; $i++) { + * $plaintext.= 'a'; + * } + * + * echo $aes->decrypt($aes->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package AES + * @author Jim Wigginton + * @copyright 2008 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of AES. + * + * @package AES + * @author Jim Wigginton + * @access public + */ +class AES extends Rijndael +{ + /** + * Dummy function + * + * Since \phpseclib\Crypt\AES extends \phpseclib\Crypt\Rijndael, this function is, technically, available, but it doesn't do anything. + * + * @see \phpseclib\Crypt\Rijndael::setBlockLength() + * @access public + * @param int $length + */ + function setBlockLength($length) + { + return; + } + + /** + * Sets the key length + * + * Valid key lengths are 128, 192, and 256. If the length is less than 128, it will be rounded up to + * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount. + * + * @see \phpseclib\Crypt\Rijndael:setKeyLength() + * @access public + * @param int $length + */ + function setKeyLength($length) + { + switch ($length) { + case 160: + $length = 192; + break; + case 224: + $length = 256; + } + parent::setKeyLength($length); + } + + /** + * Sets the key. + * + * Rijndael supports five different key lengths, AES only supports three. + * + * @see \phpseclib\Crypt\Rijndael:setKey() + * @see setKeyLength() + * @access public + * @param string $key + */ + function setKey($key) + { + parent::setKey($key); + + if (!$this->explicit_key_length) { + $length = strlen($key); + switch (true) { + case $length <= 16: + $this->key_length = 16; + break; + case $length <= 24: + $this->key_length = 24; + break; + default: + $this->key_length = 32; + } + $this->_setEngine(); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php new file mode 100644 index 00000000..fd99c44f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Base.php @@ -0,0 +1,2553 @@ + + * @author Hans-Juergen Petrich + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Base Class for all \phpseclib\Crypt\* cipher classes + * + * @package Base + * @author Jim Wigginton + * @author Hans-Juergen Petrich + */ +abstract class Base +{ + /**#@+ + * @access public + * @see \phpseclib\Crypt\Base::encrypt() + * @see \phpseclib\Crypt\Base::decrypt() + */ + /** + * Encrypt / decrypt using the Counter mode. + * + * Set to -1 since that's what Crypt/Random.php uses to index the CTR mode. + * + * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Counter_.28CTR.29 + */ + const MODE_CTR = -1; + /** + * Encrypt / decrypt using the Electronic Code Book mode. + * + * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29 + */ + const MODE_ECB = 1; + /** + * Encrypt / decrypt using the Code Book Chaining mode. + * + * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29 + */ + const MODE_CBC = 2; + /** + * Encrypt / decrypt using the Cipher Feedback mode. + * + * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher_feedback_.28CFB.29 + */ + const MODE_CFB = 3; + /** + * Encrypt / decrypt using the Output Feedback mode. + * + * @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Output_feedback_.28OFB.29 + */ + const MODE_OFB = 4; + /** + * Encrypt / decrypt using streaming mode. + */ + const MODE_STREAM = 5; + /**#@-*/ + + /** + * Whirlpool available flag + * + * @see \phpseclib\Crypt\Base::_hashInlineCryptFunction() + * @var bool + * @access private + */ + static $WHIRLPOOL_AVAILABLE; + + /**#@+ + * @access private + * @see \phpseclib\Crypt\Base::__construct() + */ + /** + * Base value for the internal implementation $engine switch + */ + const ENGINE_INTERNAL = 1; + /** + * Base value for the mcrypt implementation $engine switch + */ + const ENGINE_MCRYPT = 2; + /** + * Base value for the mcrypt implementation $engine switch + */ + const ENGINE_OPENSSL = 3; + /**#@-*/ + + /** + * The Encryption Mode + * + * @see self::__construct() + * @var int + * @access private + */ + var $mode; + + /** + * The Block Length of the block cipher + * + * @var int + * @access private + */ + var $block_size = 16; + + /** + * The Key + * + * @see self::setKey() + * @var string + * @access private + */ + var $key = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; + + /** + * The Initialization Vector + * + * @see self::setIV() + * @var string + * @access private + */ + var $iv; + + /** + * A "sliding" Initialization Vector + * + * @see self::enableContinuousBuffer() + * @see self::_clearBuffers() + * @var string + * @access private + */ + var $encryptIV; + + /** + * A "sliding" Initialization Vector + * + * @see self::enableContinuousBuffer() + * @see self::_clearBuffers() + * @var string + * @access private + */ + var $decryptIV; + + /** + * Continuous Buffer status + * + * @see self::enableContinuousBuffer() + * @var bool + * @access private + */ + var $continuousBuffer = false; + + /** + * Encryption buffer for CTR, OFB and CFB modes + * + * @see self::encrypt() + * @see self::_clearBuffers() + * @var array + * @access private + */ + var $enbuffer; + + /** + * Decryption buffer for CTR, OFB and CFB modes + * + * @see self::decrypt() + * @see self::_clearBuffers() + * @var array + * @access private + */ + var $debuffer; + + /** + * mcrypt resource for encryption + * + * The mcrypt resource can be recreated every time something needs to be created or it can be created just once. + * Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode. + * + * @see self::encrypt() + * @var resource + * @access private + */ + var $enmcrypt; + + /** + * mcrypt resource for decryption + * + * The mcrypt resource can be recreated every time something needs to be created or it can be created just once. + * Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode. + * + * @see self::decrypt() + * @var resource + * @access private + */ + var $demcrypt; + + /** + * Does the enmcrypt resource need to be (re)initialized? + * + * @see \phpseclib\Crypt\Twofish::setKey() + * @see \phpseclib\Crypt\Twofish::setIV() + * @var bool + * @access private + */ + var $enchanged = true; + + /** + * Does the demcrypt resource need to be (re)initialized? + * + * @see \phpseclib\Crypt\Twofish::setKey() + * @see \phpseclib\Crypt\Twofish::setIV() + * @var bool + * @access private + */ + var $dechanged = true; + + /** + * mcrypt resource for CFB mode + * + * mcrypt's CFB mode, in (and only in) buffered context, + * is broken, so phpseclib implements the CFB mode by it self, + * even when the mcrypt php extension is available. + * + * In order to do the CFB-mode work (fast) phpseclib + * use a separate ECB-mode mcrypt resource. + * + * @link http://phpseclib.sourceforge.net/cfb-demo.phps + * @see self::encrypt() + * @see self::decrypt() + * @see self::_setupMcrypt() + * @var resource + * @access private + */ + var $ecb; + + /** + * Optimizing value while CFB-encrypting + * + * Only relevant if $continuousBuffer enabled + * and $engine == self::ENGINE_MCRYPT + * + * It's faster to re-init $enmcrypt if + * $buffer bytes > $cfb_init_len than + * using the $ecb resource furthermore. + * + * This value depends of the chosen cipher + * and the time it would be needed for it's + * initialization [by mcrypt_generic_init()] + * which, typically, depends on the complexity + * on its internaly Key-expanding algorithm. + * + * @see self::encrypt() + * @var int + * @access private + */ + var $cfb_init_len = 600; + + /** + * Does internal cipher state need to be (re)initialized? + * + * @see self::setKey() + * @see self::setIV() + * @see self::disableContinuousBuffer() + * @var bool + * @access private + */ + var $changed = true; + + /** + * Padding status + * + * @see self::enablePadding() + * @var bool + * @access private + */ + var $padding = true; + + /** + * Is the mode one that is paddable? + * + * @see self::__construct() + * @var bool + * @access private + */ + var $paddable = false; + + /** + * Holds which crypt engine internaly should be use, + * which will be determined automatically on __construct() + * + * Currently available $engines are: + * - self::ENGINE_OPENSSL (very fast, php-extension: openssl, extension_loaded('openssl') required) + * - self::ENGINE_MCRYPT (fast, php-extension: mcrypt, extension_loaded('mcrypt') required) + * - self::ENGINE_INTERNAL (slower, pure php-engine, no php-extension required) + * + * @see self::_setEngine() + * @see self::encrypt() + * @see self::decrypt() + * @var int + * @access private + */ + var $engine; + + /** + * Holds the preferred crypt engine + * + * @see self::_setEngine() + * @see self::setPreferredEngine() + * @var int + * @access private + */ + var $preferredEngine; + + /** + * The mcrypt specific name of the cipher + * + * Only used if $engine == self::ENGINE_MCRYPT + * + * @link http://www.php.net/mcrypt_module_open + * @link http://www.php.net/mcrypt_list_algorithms + * @see self::_setupMcrypt() + * @var string + * @access private + */ + var $cipher_name_mcrypt; + + /** + * The openssl specific name of the cipher + * + * Only used if $engine == self::ENGINE_OPENSSL + * + * @link http://www.php.net/openssl-get-cipher-methods + * @var string + * @access private + */ + var $cipher_name_openssl; + + /** + * The openssl specific name of the cipher in ECB mode + * + * If OpenSSL does not support the mode we're trying to use (CTR) + * it can still be emulated with ECB mode. + * + * @link http://www.php.net/openssl-get-cipher-methods + * @var string + * @access private + */ + var $cipher_name_openssl_ecb; + + /** + * The default salt used by setPassword() + * + * @see self::setPassword() + * @var string + * @access private + */ + var $password_default_salt = 'phpseclib/salt'; + + /** + * The name of the performance-optimized callback function + * + * Used by encrypt() / decrypt() + * only if $engine == self::ENGINE_INTERNAL + * + * @see self::encrypt() + * @see self::decrypt() + * @see self::_setupInlineCrypt() + * @see self::$use_inline_crypt + * @var Callback + * @access private + */ + var $inline_crypt; + + /** + * Holds whether performance-optimized $inline_crypt() can/should be used. + * + * @see self::encrypt() + * @see self::decrypt() + * @see self::inline_crypt + * @var mixed + * @access private + */ + var $use_inline_crypt; + + /** + * If OpenSSL can be used in ECB but not in CTR we can emulate CTR + * + * @see self::_openssl_ctr_process() + * @var bool + * @access private + */ + var $openssl_emulate_ctr = false; + + /** + * Determines what options are passed to openssl_encrypt/decrypt + * + * @see self::isValidEngine() + * @var mixed + * @access private + */ + var $openssl_options; + + /** + * Has the key length explicitly been set or should it be derived from the key, itself? + * + * @see self::setKeyLength() + * @var bool + * @access private + */ + var $explicit_key_length = false; + + /** + * Don't truncate / null pad key + * + * @see self::_clearBuffers() + * @var bool + * @access private + */ + var $skip_key_adjustment = false; + + /** + * Default Constructor. + * + * Determines whether or not the mcrypt extension should be used. + * + * $mode could be: + * + * - self::MODE_ECB + * + * - self::MODE_CBC + * + * - self::MODE_CTR + * + * - self::MODE_CFB + * + * - self::MODE_OFB + * + * If not explicitly set, self::MODE_CBC will be used. + * + * @param int $mode + * @access public + */ + function __construct($mode = self::MODE_CBC) + { + // $mode dependent settings + switch ($mode) { + case self::MODE_ECB: + $this->paddable = true; + $this->mode = self::MODE_ECB; + break; + case self::MODE_CTR: + case self::MODE_CFB: + case self::MODE_OFB: + case self::MODE_STREAM: + $this->mode = $mode; + break; + case self::MODE_CBC: + default: + $this->paddable = true; + $this->mode = self::MODE_CBC; + } + + $this->_setEngine(); + + // Determining whether inline crypting can be used by the cipher + if ($this->use_inline_crypt !== false && function_exists('create_function')) { + $this->use_inline_crypt = true; + } + } + + /** + * Sets the initialization vector. (optional) + * + * SetIV is not required when self::MODE_ECB (or ie for AES: \phpseclib\Crypt\AES::MODE_ECB) is being used. If not explicitly set, it'll be assumed + * to be all zero's. + * + * @access public + * @param string $iv + * @internal Can be overwritten by a sub class, but does not have to be + */ + function setIV($iv) + { + if ($this->mode == self::MODE_ECB) { + return; + } + + $this->iv = $iv; + $this->changed = true; + } + + /** + * Sets the key length. + * + * Keys with explicitly set lengths need to be treated accordingly + * + * @access public + * @param int $length + */ + function setKeyLength($length) + { + $this->explicit_key_length = true; + $this->changed = true; + $this->_setEngine(); + } + + /** + * Returns the current key length in bits + * + * @access public + * @return int + */ + function getKeyLength() + { + return $this->key_length << 3; + } + + /** + * Returns the current block length in bits + * + * @access public + * @return int + */ + function getBlockLength() + { + return $this->block_size << 3; + } + + /** + * Sets the key. + * + * The min/max length(s) of the key depends on the cipher which is used. + * If the key not fits the length(s) of the cipher it will paded with null bytes + * up to the closest valid key length. If the key is more than max length, + * we trim the excess bits. + * + * If the key is not explicitly set, it'll be assumed to be all null bytes. + * + * @access public + * @param string $key + * @internal Could, but not must, extend by the child Crypt_* class + */ + function setKey($key) + { + if (!$this->explicit_key_length) { + $this->setKeyLength(strlen($key) << 3); + $this->explicit_key_length = false; + } + + $this->key = $key; + $this->changed = true; + $this->_setEngine(); + } + + /** + * Sets the password. + * + * Depending on what $method is set to, setPassword()'s (optional) parameters are as follows: + * {@link http://en.wikipedia.org/wiki/PBKDF2 pbkdf2} or pbkdf1: + * $hash, $salt, $count, $dkLen + * + * Where $hash (default = sha1) currently supports the following hashes: see: Crypt/Hash.php + * + * @see Crypt/Hash.php + * @param string $password + * @param string $method + * @return bool + * @access public + * @internal Could, but not must, extend by the child Crypt_* class + */ + function setPassword($password, $method = 'pbkdf2') + { + $key = ''; + + switch ($method) { + default: // 'pbkdf2' or 'pbkdf1' + $func_args = func_get_args(); + + // Hash function + $hash = isset($func_args[2]) ? $func_args[2] : 'sha1'; + + // WPA and WPA2 use the SSID as the salt + $salt = isset($func_args[3]) ? $func_args[3] : $this->password_default_salt; + + // RFC2898#section-4.2 uses 1,000 iterations by default + // WPA and WPA2 use 4,096. + $count = isset($func_args[4]) ? $func_args[4] : 1000; + + // Keylength + if (isset($func_args[5])) { + $dkLen = $func_args[5]; + } else { + $dkLen = $method == 'pbkdf1' ? 2 * $this->key_length : $this->key_length; + } + + switch (true) { + case $method == 'pbkdf1': + $hashObj = new Hash(); + $hashObj->setHash($hash); + if ($dkLen > $hashObj->getLength()) { + user_error('Derived key too long'); + return false; + } + $t = $password . $salt; + for ($i = 0; $i < $count; ++$i) { + $t = $hashObj->hash($t); + } + $key = substr($t, 0, $dkLen); + + $this->setKey(substr($key, 0, $dkLen >> 1)); + $this->setIV(substr($key, $dkLen >> 1)); + + return true; + // Determining if php[>=5.5.0]'s hash_pbkdf2() function avail- and useable + case !function_exists('hash_pbkdf2'): + case !function_exists('hash_algos'): + case !in_array($hash, hash_algos()): + $i = 1; + while (strlen($key) < $dkLen) { + $hmac = new Hash(); + $hmac->setHash($hash); + $hmac->setKey($password); + $f = $u = $hmac->hash($salt . pack('N', $i++)); + for ($j = 2; $j <= $count; ++$j) { + $u = $hmac->hash($u); + $f^= $u; + } + $key.= $f; + } + $key = substr($key, 0, $dkLen); + break; + default: + $key = hash_pbkdf2($hash, $password, $salt, $count, $dkLen, true); + } + } + + $this->setKey($key); + + return true; + } + + /** + * Encrypts a message. + * + * $plaintext will be padded with additional bytes such that it's length is a multiple of the block size. Other cipher + * implementations may or may not pad in the same manner. Other common approaches to padding and the reasons why it's + * necessary are discussed in the following + * URL: + * + * {@link http://www.di-mgt.com.au/cryptopad.html http://www.di-mgt.com.au/cryptopad.html} + * + * An alternative to padding is to, separately, send the length of the file. This is what SSH, in fact, does. + * strlen($plaintext) will still need to be a multiple of the block size, however, arbitrary values can be added to make it that + * length. + * + * @see self::decrypt() + * @access public + * @param string $plaintext + * @return string $ciphertext + * @internal Could, but not must, extend by the child Crypt_* class + */ + function encrypt($plaintext) + { + if ($this->paddable) { + $plaintext = $this->_pad($plaintext); + } + + if ($this->engine === self::ENGINE_OPENSSL) { + if ($this->changed) { + $this->_clearBuffers(); + $this->changed = false; + } + switch ($this->mode) { + case self::MODE_STREAM: + return openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options); + case self::MODE_ECB: + $result = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options); + return !defined('OPENSSL_RAW_DATA') ? substr($result, 0, -$this->block_size) : $result; + case self::MODE_CBC: + $result = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $this->encryptIV); + if (!defined('OPENSSL_RAW_DATA')) { + $result = substr($result, 0, -$this->block_size); + } + if ($this->continuousBuffer) { + $this->encryptIV = substr($result, -$this->block_size); + } + return $result; + case self::MODE_CTR: + return $this->_openssl_ctr_process($plaintext, $this->encryptIV, $this->enbuffer); + case self::MODE_CFB: + // cfb loosely routines inspired by openssl's: + // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} + $ciphertext = ''; + if ($this->continuousBuffer) { + $iv = &$this->encryptIV; + $pos = &$this->enbuffer['pos']; + } else { + $iv = $this->encryptIV; + $pos = 0; + } + $len = strlen($plaintext); + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $this->block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize + $ciphertext = substr($iv, $orig_pos) ^ $plaintext; + $iv = substr_replace($iv, $ciphertext, $orig_pos, $i); + $plaintext = substr($plaintext, $i); + } + + $overflow = $len % $this->block_size; + + if ($overflow) { + $ciphertext.= openssl_encrypt(substr($plaintext, 0, -$overflow) . str_repeat("\0", $this->block_size), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv); + $iv = $this->_string_pop($ciphertext, $this->block_size); + + $size = $len - $overflow; + $block = $iv ^ substr($plaintext, -$overflow); + $iv = substr_replace($iv, $block, 0, $overflow); + $ciphertext.= $block; + $pos = $overflow; + } elseif ($len) { + $ciphertext = openssl_encrypt($plaintext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv); + $iv = substr($ciphertext, -$this->block_size); + } + + return $ciphertext; + case self::MODE_OFB: + return $this->_openssl_ofb_process($plaintext, $this->encryptIV, $this->enbuffer); + } + } + + if ($this->engine === self::ENGINE_MCRYPT) { + if ($this->changed) { + $this->_setupMcrypt(); + $this->changed = false; + } + if ($this->enchanged) { + @mcrypt_generic_init($this->enmcrypt, $this->key, $this->encryptIV); + $this->enchanged = false; + } + + // re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps} + // using mcrypt's default handing of CFB the above would output two different things. using phpseclib's + // rewritten CFB implementation the above outputs the same thing twice. + if ($this->mode == self::MODE_CFB && $this->continuousBuffer) { + $block_size = $this->block_size; + $iv = &$this->encryptIV; + $pos = &$this->enbuffer['pos']; + $len = strlen($plaintext); + $ciphertext = ''; + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + $ciphertext = substr($iv, $orig_pos) ^ $plaintext; + $iv = substr_replace($iv, $ciphertext, $orig_pos, $i); + $this->enbuffer['enmcrypt_init'] = true; + } + if ($len >= $block_size) { + if ($this->enbuffer['enmcrypt_init'] === false || $len > $this->cfb_init_len) { + if ($this->enbuffer['enmcrypt_init'] === true) { + @mcrypt_generic_init($this->enmcrypt, $this->key, $iv); + $this->enbuffer['enmcrypt_init'] = false; + } + $ciphertext.= @mcrypt_generic($this->enmcrypt, substr($plaintext, $i, $len - $len % $block_size)); + $iv = substr($ciphertext, -$block_size); + $len%= $block_size; + } else { + while ($len >= $block_size) { + $iv = @mcrypt_generic($this->ecb, $iv) ^ substr($plaintext, $i, $block_size); + $ciphertext.= $iv; + $len-= $block_size; + $i+= $block_size; + } + } + } + + if ($len) { + $iv = @mcrypt_generic($this->ecb, $iv); + $block = $iv ^ substr($plaintext, -$len); + $iv = substr_replace($iv, $block, 0, $len); + $ciphertext.= $block; + $pos = $len; + } + + return $ciphertext; + } + + $ciphertext = @mcrypt_generic($this->enmcrypt, $plaintext); + + if (!$this->continuousBuffer) { + @mcrypt_generic_init($this->enmcrypt, $this->key, $this->encryptIV); + } + + return $ciphertext; + } + + if ($this->changed) { + $this->_setup(); + $this->changed = false; + } + if ($this->use_inline_crypt) { + $inline = $this->inline_crypt; + return $inline('encrypt', $this, $plaintext); + } + + $buffer = &$this->enbuffer; + $block_size = $this->block_size; + $ciphertext = ''; + switch ($this->mode) { + case self::MODE_ECB: + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $ciphertext.= $this->_encryptBlock(substr($plaintext, $i, $block_size)); + } + break; + case self::MODE_CBC: + $xor = $this->encryptIV; + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + $block = $this->_encryptBlock($block ^ $xor); + $xor = $block; + $ciphertext.= $block; + } + if ($this->continuousBuffer) { + $this->encryptIV = $xor; + } + break; + case self::MODE_CTR: + $xor = $this->encryptIV; + if (strlen($buffer['ciphertext'])) { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + if (strlen($block) > strlen($buffer['ciphertext'])) { + $buffer['ciphertext'].= $this->_encryptBlock($xor); + } + $this->_increment_str($xor); + $key = $this->_string_shift($buffer['ciphertext'], $block_size); + $ciphertext.= $block ^ $key; + } + } else { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + $key = $this->_encryptBlock($xor); + $this->_increment_str($xor); + $ciphertext.= $block ^ $key; + } + } + if ($this->continuousBuffer) { + $this->encryptIV = $xor; + if ($start = strlen($plaintext) % $block_size) { + $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext']; + } + } + break; + case self::MODE_CFB: + // cfb loosely routines inspired by openssl's: + // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} + if ($this->continuousBuffer) { + $iv = &$this->encryptIV; + $pos = &$buffer['pos']; + } else { + $iv = $this->encryptIV; + $pos = 0; + } + $len = strlen($plaintext); + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize + $ciphertext = substr($iv, $orig_pos) ^ $plaintext; + $iv = substr_replace($iv, $ciphertext, $orig_pos, $i); + } + while ($len >= $block_size) { + $iv = $this->_encryptBlock($iv) ^ substr($plaintext, $i, $block_size); + $ciphertext.= $iv; + $len-= $block_size; + $i+= $block_size; + } + if ($len) { + $iv = $this->_encryptBlock($iv); + $block = $iv ^ substr($plaintext, $i); + $iv = substr_replace($iv, $block, 0, $len); + $ciphertext.= $block; + $pos = $len; + } + break; + case self::MODE_OFB: + $xor = $this->encryptIV; + if (strlen($buffer['xor'])) { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + if (strlen($block) > strlen($buffer['xor'])) { + $xor = $this->_encryptBlock($xor); + $buffer['xor'].= $xor; + } + $key = $this->_string_shift($buffer['xor'], $block_size); + $ciphertext.= $block ^ $key; + } + } else { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $xor = $this->_encryptBlock($xor); + $ciphertext.= substr($plaintext, $i, $block_size) ^ $xor; + } + $key = $xor; + } + if ($this->continuousBuffer) { + $this->encryptIV = $xor; + if ($start = strlen($plaintext) % $block_size) { + $buffer['xor'] = substr($key, $start) . $buffer['xor']; + } + } + break; + case self::MODE_STREAM: + $ciphertext = $this->_encryptBlock($plaintext); + break; + } + + return $ciphertext; + } + + /** + * Decrypts a message. + * + * If strlen($ciphertext) is not a multiple of the block size, null bytes will be added to the end of the string until + * it is. + * + * @see self::encrypt() + * @access public + * @param string $ciphertext + * @return string $plaintext + * @internal Could, but not must, extend by the child Crypt_* class + */ + function decrypt($ciphertext) + { + if ($this->paddable) { + // we pad with chr(0) since that's what mcrypt_generic does. to quote from {@link http://www.php.net/function.mcrypt-generic}: + // "The data is padded with "\0" to make sure the length of the data is n * blocksize." + $ciphertext = str_pad($ciphertext, strlen($ciphertext) + ($this->block_size - strlen($ciphertext) % $this->block_size) % $this->block_size, chr(0)); + } + + if ($this->engine === self::ENGINE_OPENSSL) { + if ($this->changed) { + $this->_clearBuffers(); + $this->changed = false; + } + switch ($this->mode) { + case self::MODE_STREAM: + $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options); + break; + case self::MODE_ECB: + if (!defined('OPENSSL_RAW_DATA')) { + $ciphertext.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $this->key, true); + } + $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options); + break; + case self::MODE_CBC: + if (!defined('OPENSSL_RAW_DATA')) { + $padding = str_repeat(chr($this->block_size), $this->block_size) ^ substr($ciphertext, -$this->block_size); + $ciphertext.= substr(openssl_encrypt($padding, $this->cipher_name_openssl_ecb, $this->key, true), 0, $this->block_size); + $offset = 2 * $this->block_size; + } else { + $offset = $this->block_size; + } + $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $this->decryptIV); + if ($this->continuousBuffer) { + $this->decryptIV = substr($ciphertext, -$offset, $this->block_size); + } + break; + case self::MODE_CTR: + $plaintext = $this->_openssl_ctr_process($ciphertext, $this->decryptIV, $this->debuffer); + break; + case self::MODE_CFB: + // cfb loosely routines inspired by openssl's: + // {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} + $plaintext = ''; + if ($this->continuousBuffer) { + $iv = &$this->decryptIV; + $pos = &$this->buffer['pos']; + } else { + $iv = $this->decryptIV; + $pos = 0; + } + $len = strlen($ciphertext); + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $this->block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $this->blocksize + $plaintext = substr($iv, $orig_pos) ^ $ciphertext; + $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i); + $ciphertext = substr($ciphertext, $i); + } + $overflow = $len % $this->block_size; + if ($overflow) { + $plaintext.= openssl_decrypt(substr($ciphertext, 0, -$overflow), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv); + if ($len - $overflow) { + $iv = substr($ciphertext, -$overflow - $this->block_size, -$overflow); + } + $iv = openssl_encrypt(str_repeat("\0", $this->block_size), $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv); + $plaintext.= $iv ^ substr($ciphertext, -$overflow); + $iv = substr_replace($iv, substr($ciphertext, -$overflow), 0, $overflow); + $pos = $overflow; + } elseif ($len) { + $plaintext.= openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options, $iv); + $iv = substr($ciphertext, -$this->block_size); + } + break; + case self::MODE_OFB: + $plaintext = $this->_openssl_ofb_process($ciphertext, $this->decryptIV, $this->debuffer); + } + + return $this->paddable ? $this->_unpad($plaintext) : $plaintext; + } + + if ($this->engine === self::ENGINE_MCRYPT) { + $block_size = $this->block_size; + if ($this->changed) { + $this->_setupMcrypt(); + $this->changed = false; + } + if ($this->dechanged) { + @mcrypt_generic_init($this->demcrypt, $this->key, $this->decryptIV); + $this->dechanged = false; + } + + if ($this->mode == self::MODE_CFB && $this->continuousBuffer) { + $iv = &$this->decryptIV; + $pos = &$this->debuffer['pos']; + $len = strlen($ciphertext); + $plaintext = ''; + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize + $plaintext = substr($iv, $orig_pos) ^ $ciphertext; + $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i); + } + if ($len >= $block_size) { + $cb = substr($ciphertext, $i, $len - $len % $block_size); + $plaintext.= @mcrypt_generic($this->ecb, $iv . $cb) ^ $cb; + $iv = substr($cb, -$block_size); + $len%= $block_size; + } + if ($len) { + $iv = @mcrypt_generic($this->ecb, $iv); + $plaintext.= $iv ^ substr($ciphertext, -$len); + $iv = substr_replace($iv, substr($ciphertext, -$len), 0, $len); + $pos = $len; + } + + return $plaintext; + } + + $plaintext = @mdecrypt_generic($this->demcrypt, $ciphertext); + + if (!$this->continuousBuffer) { + @mcrypt_generic_init($this->demcrypt, $this->key, $this->decryptIV); + } + + return $this->paddable ? $this->_unpad($plaintext) : $plaintext; + } + + if ($this->changed) { + $this->_setup(); + $this->changed = false; + } + if ($this->use_inline_crypt) { + $inline = $this->inline_crypt; + return $inline('decrypt', $this, $ciphertext); + } + + $block_size = $this->block_size; + + $buffer = &$this->debuffer; + $plaintext = ''; + switch ($this->mode) { + case self::MODE_ECB: + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $plaintext.= $this->_decryptBlock(substr($ciphertext, $i, $block_size)); + } + break; + case self::MODE_CBC: + $xor = $this->decryptIV; + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $block = substr($ciphertext, $i, $block_size); + $plaintext.= $this->_decryptBlock($block) ^ $xor; + $xor = $block; + } + if ($this->continuousBuffer) { + $this->decryptIV = $xor; + } + break; + case self::MODE_CTR: + $xor = $this->decryptIV; + if (strlen($buffer['ciphertext'])) { + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $block = substr($ciphertext, $i, $block_size); + if (strlen($block) > strlen($buffer['ciphertext'])) { + $buffer['ciphertext'].= $this->_encryptBlock($xor); + $this->_increment_str($xor); + } + $key = $this->_string_shift($buffer['ciphertext'], $block_size); + $plaintext.= $block ^ $key; + } + } else { + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $block = substr($ciphertext, $i, $block_size); + $key = $this->_encryptBlock($xor); + $this->_increment_str($xor); + $plaintext.= $block ^ $key; + } + } + if ($this->continuousBuffer) { + $this->decryptIV = $xor; + if ($start = strlen($ciphertext) % $block_size) { + $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext']; + } + } + break; + case self::MODE_CFB: + if ($this->continuousBuffer) { + $iv = &$this->decryptIV; + $pos = &$buffer['pos']; + } else { + $iv = $this->decryptIV; + $pos = 0; + } + $len = strlen($ciphertext); + $i = 0; + if ($pos) { + $orig_pos = $pos; + $max = $block_size - $pos; + if ($len >= $max) { + $i = $max; + $len-= $max; + $pos = 0; + } else { + $i = $len; + $pos+= $len; + $len = 0; + } + // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize + $plaintext = substr($iv, $orig_pos) ^ $ciphertext; + $iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i); + } + while ($len >= $block_size) { + $iv = $this->_encryptBlock($iv); + $cb = substr($ciphertext, $i, $block_size); + $plaintext.= $iv ^ $cb; + $iv = $cb; + $len-= $block_size; + $i+= $block_size; + } + if ($len) { + $iv = $this->_encryptBlock($iv); + $plaintext.= $iv ^ substr($ciphertext, $i); + $iv = substr_replace($iv, substr($ciphertext, $i), 0, $len); + $pos = $len; + } + break; + case self::MODE_OFB: + $xor = $this->decryptIV; + if (strlen($buffer['xor'])) { + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $block = substr($ciphertext, $i, $block_size); + if (strlen($block) > strlen($buffer['xor'])) { + $xor = $this->_encryptBlock($xor); + $buffer['xor'].= $xor; + } + $key = $this->_string_shift($buffer['xor'], $block_size); + $plaintext.= $block ^ $key; + } + } else { + for ($i = 0; $i < strlen($ciphertext); $i+=$block_size) { + $xor = $this->_encryptBlock($xor); + $plaintext.= substr($ciphertext, $i, $block_size) ^ $xor; + } + $key = $xor; + } + if ($this->continuousBuffer) { + $this->decryptIV = $xor; + if ($start = strlen($ciphertext) % $block_size) { + $buffer['xor'] = substr($key, $start) . $buffer['xor']; + } + } + break; + case self::MODE_STREAM: + $plaintext = $this->_decryptBlock($ciphertext); + break; + } + return $this->paddable ? $this->_unpad($plaintext) : $plaintext; + } + + /** + * OpenSSL CTR Processor + * + * PHP's OpenSSL bindings do not operate in continuous mode so we'll wrap around it. Since the keystream + * for CTR is the same for both encrypting and decrypting this function is re-used by both Base::encrypt() + * and Base::decrypt(). Also, OpenSSL doesn't implement CTR for all of it's symmetric ciphers so this + * function will emulate CTR with ECB when necessary. + * + * @see self::encrypt() + * @see self::decrypt() + * @param string $plaintext + * @param string $encryptIV + * @param array $buffer + * @return string + * @access private + */ + function _openssl_ctr_process($plaintext, &$encryptIV, &$buffer) + { + $ciphertext = ''; + + $block_size = $this->block_size; + $key = $this->key; + + if ($this->openssl_emulate_ctr) { + $xor = $encryptIV; + if (strlen($buffer['ciphertext'])) { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + if (strlen($block) > strlen($buffer['ciphertext'])) { + $result = openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, $this->openssl_options); + $result = !defined('OPENSSL_RAW_DATA') ? substr($result, 0, -$this->block_size) : $result; + $buffer['ciphertext'].= $result; + } + $this->_increment_str($xor); + $otp = $this->_string_shift($buffer['ciphertext'], $block_size); + $ciphertext.= $block ^ $otp; + } + } else { + for ($i = 0; $i < strlen($plaintext); $i+=$block_size) { + $block = substr($plaintext, $i, $block_size); + $otp = openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, $this->openssl_options); + $otp = !defined('OPENSSL_RAW_DATA') ? substr($otp, 0, -$this->block_size) : $otp; + $this->_increment_str($xor); + $ciphertext.= $block ^ $otp; + } + } + if ($this->continuousBuffer) { + $encryptIV = $xor; + if ($start = strlen($plaintext) % $block_size) { + $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext']; + } + } + + return $ciphertext; + } + + if (strlen($buffer['ciphertext'])) { + $ciphertext = $plaintext ^ $this->_string_shift($buffer['ciphertext'], strlen($plaintext)); + $plaintext = substr($plaintext, strlen($ciphertext)); + + if (!strlen($plaintext)) { + return $ciphertext; + } + } + + $overflow = strlen($plaintext) % $block_size; + if ($overflow) { + $plaintext2 = $this->_string_pop($plaintext, $overflow); // ie. trim $plaintext to a multiple of $block_size and put rest of $plaintext in $plaintext2 + $encrypted = openssl_encrypt($plaintext . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV); + $temp = $this->_string_pop($encrypted, $block_size); + $ciphertext.= $encrypted . ($plaintext2 ^ $temp); + if ($this->continuousBuffer) { + $buffer['ciphertext'] = substr($temp, $overflow); + $encryptIV = $temp; + } + } elseif (!strlen($buffer['ciphertext'])) { + $ciphertext.= openssl_encrypt($plaintext . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV); + $temp = $this->_string_pop($ciphertext, $block_size); + if ($this->continuousBuffer) { + $encryptIV = $temp; + } + } + if ($this->continuousBuffer) { + if (!defined('OPENSSL_RAW_DATA')) { + $encryptIV.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $key, $this->openssl_options); + } + $encryptIV = openssl_decrypt($encryptIV, $this->cipher_name_openssl_ecb, $key, $this->openssl_options); + if ($overflow) { + $this->_increment_str($encryptIV); + } + } + + return $ciphertext; + } + + /** + * OpenSSL OFB Processor + * + * PHP's OpenSSL bindings do not operate in continuous mode so we'll wrap around it. Since the keystream + * for OFB is the same for both encrypting and decrypting this function is re-used by both Base::encrypt() + * and Base::decrypt(). + * + * @see self::encrypt() + * @see self::decrypt() + * @param string $plaintext + * @param string $encryptIV + * @param array $buffer + * @return string + * @access private + */ + function _openssl_ofb_process($plaintext, &$encryptIV, &$buffer) + { + if (strlen($buffer['xor'])) { + $ciphertext = $plaintext ^ $buffer['xor']; + $buffer['xor'] = substr($buffer['xor'], strlen($ciphertext)); + $plaintext = substr($plaintext, strlen($ciphertext)); + } else { + $ciphertext = ''; + } + + $block_size = $this->block_size; + + $len = strlen($plaintext); + $key = $this->key; + $overflow = $len % $block_size; + + if (strlen($plaintext)) { + if ($overflow) { + $ciphertext.= openssl_encrypt(substr($plaintext, 0, -$overflow) . str_repeat("\0", $block_size), $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV); + $xor = $this->_string_pop($ciphertext, $block_size); + if ($this->continuousBuffer) { + $encryptIV = $xor; + } + $ciphertext.= $this->_string_shift($xor, $overflow) ^ substr($plaintext, -$overflow); + if ($this->continuousBuffer) { + $buffer['xor'] = $xor; + } + } else { + $ciphertext = openssl_encrypt($plaintext, $this->cipher_name_openssl, $key, $this->openssl_options, $encryptIV); + if ($this->continuousBuffer) { + $encryptIV = substr($ciphertext, -$block_size) ^ substr($plaintext, -$block_size); + } + } + } + + return $ciphertext; + } + + /** + * phpseclib <-> OpenSSL Mode Mapper + * + * May need to be overwritten by classes extending this one in some cases + * + * @return int + * @access private + */ + function _openssl_translate_mode() + { + switch ($this->mode) { + case self::MODE_ECB: + return 'ecb'; + case self::MODE_CBC: + return 'cbc'; + case self::MODE_CTR: + return 'ctr'; + case self::MODE_CFB: + return 'cfb'; + case self::MODE_OFB: + return 'ofb'; + } + } + + /** + * Pad "packets". + * + * Block ciphers working by encrypting between their specified [$this->]block_size at a time + * If you ever need to encrypt or decrypt something that isn't of the proper length, it becomes necessary to + * pad the input so that it is of the proper length. + * + * Padding is enabled by default. Sometimes, however, it is undesirable to pad strings. Such is the case in SSH, + * where "packets" are padded with random bytes before being encrypted. Unpad these packets and you risk stripping + * away characters that shouldn't be stripped away. (SSH knows how many bytes are added because the length is + * transmitted separately) + * + * @see self::disablePadding() + * @access public + */ + function enablePadding() + { + $this->padding = true; + } + + /** + * Do not pad packets. + * + * @see self::enablePadding() + * @access public + */ + function disablePadding() + { + $this->padding = false; + } + + /** + * Treat consecutive "packets" as if they are a continuous buffer. + * + * Say you have a 32-byte plaintext $plaintext. Using the default behavior, the two following code snippets + * will yield different outputs: + * + * + * echo $rijndael->encrypt(substr($plaintext, 0, 16)); + * echo $rijndael->encrypt(substr($plaintext, 16, 16)); + * + * + * echo $rijndael->encrypt($plaintext); + * + * + * The solution is to enable the continuous buffer. Although this will resolve the above discrepancy, it creates + * another, as demonstrated with the following: + * + * + * $rijndael->encrypt(substr($plaintext, 0, 16)); + * echo $rijndael->decrypt($rijndael->encrypt(substr($plaintext, 16, 16))); + * + * + * echo $rijndael->decrypt($rijndael->encrypt(substr($plaintext, 16, 16))); + * + * + * With the continuous buffer disabled, these would yield the same output. With it enabled, they yield different + * outputs. The reason is due to the fact that the initialization vector's change after every encryption / + * decryption round when the continuous buffer is enabled. When it's disabled, they remain constant. + * + * Put another way, when the continuous buffer is enabled, the state of the \phpseclib\Crypt\*() object changes after each + * encryption / decryption round, whereas otherwise, it'd remain constant. For this reason, it's recommended that + * continuous buffers not be used. They do offer better security and are, in fact, sometimes required (SSH uses them), + * however, they are also less intuitive and more likely to cause you problems. + * + * @see self::disableContinuousBuffer() + * @access public + * @internal Could, but not must, extend by the child Crypt_* class + */ + function enableContinuousBuffer() + { + if ($this->mode == self::MODE_ECB) { + return; + } + + $this->continuousBuffer = true; + + $this->_setEngine(); + } + + /** + * Treat consecutive packets as if they are a discontinuous buffer. + * + * The default behavior. + * + * @see self::enableContinuousBuffer() + * @access public + * @internal Could, but not must, extend by the child Crypt_* class + */ + function disableContinuousBuffer() + { + if ($this->mode == self::MODE_ECB) { + return; + } + if (!$this->continuousBuffer) { + return; + } + + $this->continuousBuffer = false; + $this->changed = true; + + $this->_setEngine(); + } + + /** + * Test for engine validity + * + * @see self::__construct() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + switch ($engine) { + case self::ENGINE_OPENSSL: + if ($this->mode == self::MODE_STREAM && $this->continuousBuffer) { + return false; + } + $this->openssl_emulate_ctr = false; + $result = $this->cipher_name_openssl && + extension_loaded('openssl') && + // PHP 5.3.0 - 5.3.2 did not let you set IV's + version_compare(PHP_VERSION, '5.3.3', '>='); + if (!$result) { + return false; + } + + // prior to PHP 5.4.0 OPENSSL_RAW_DATA and OPENSSL_ZERO_PADDING were not defined. instead of expecting an integer + // $options openssl_encrypt expected a boolean $raw_data. + if (!defined('OPENSSL_RAW_DATA')) { + $this->openssl_options = true; + } else { + $this->openssl_options = OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING; + } + + $methods = openssl_get_cipher_methods(); + if (in_array($this->cipher_name_openssl, $methods)) { + return true; + } + // not all of openssl's symmetric cipher's support ctr. for those + // that don't we'll emulate it + switch ($this->mode) { + case self::MODE_CTR: + if (in_array($this->cipher_name_openssl_ecb, $methods)) { + $this->openssl_emulate_ctr = true; + return true; + } + } + return false; + case self::ENGINE_MCRYPT: + return $this->cipher_name_mcrypt && + extension_loaded('mcrypt') && + in_array($this->cipher_name_mcrypt, @mcrypt_list_algorithms()); + case self::ENGINE_INTERNAL: + return true; + } + + return false; + } + + /** + * Sets the preferred crypt engine + * + * Currently, $engine could be: + * + * - \phpseclib\Crypt\Base::ENGINE_OPENSSL [very fast] + * + * - \phpseclib\Crypt\Base::ENGINE_MCRYPT [fast] + * + * - \phpseclib\Crypt\Base::ENGINE_INTERNAL [slow] + * + * If the preferred crypt engine is not available the fastest available one will be used + * + * @see self::__construct() + * @param int $engine + * @access public + */ + function setPreferredEngine($engine) + { + switch ($engine) { + //case self::ENGINE_OPENSSL; + case self::ENGINE_MCRYPT: + case self::ENGINE_INTERNAL: + $this->preferredEngine = $engine; + break; + default: + $this->preferredEngine = self::ENGINE_OPENSSL; + } + + $this->_setEngine(); + } + + /** + * Returns the engine currently being utilized + * + * @see self::_setEngine() + * @access public + */ + function getEngine() + { + return $this->engine; + } + + /** + * Sets the engine as appropriate + * + * @see self::__construct() + * @access private + */ + function _setEngine() + { + $this->engine = null; + + $candidateEngines = array( + $this->preferredEngine, + self::ENGINE_OPENSSL, + self::ENGINE_MCRYPT + ); + foreach ($candidateEngines as $engine) { + if ($this->isValidEngine($engine)) { + $this->engine = $engine; + break; + } + } + if (!$this->engine) { + $this->engine = self::ENGINE_INTERNAL; + } + + if ($this->engine != self::ENGINE_MCRYPT && $this->enmcrypt) { + // Closing the current mcrypt resource(s). _mcryptSetup() will, if needed, + // (re)open them with the module named in $this->cipher_name_mcrypt + @mcrypt_module_close($this->enmcrypt); + @mcrypt_module_close($this->demcrypt); + $this->enmcrypt = null; + $this->demcrypt = null; + + if ($this->ecb) { + @mcrypt_module_close($this->ecb); + $this->ecb = null; + } + } + + $this->changed = true; + } + + /** + * Encrypts a block + * + * Note: Must be extended by the child \phpseclib\Crypt\* class + * + * @access private + * @param string $in + * @return string + */ + abstract function _encryptBlock($in); + + /** + * Decrypts a block + * + * Note: Must be extended by the child \phpseclib\Crypt\* class + * + * @access private + * @param string $in + * @return string + */ + abstract function _decryptBlock($in); + + /** + * Setup the key (expansion) + * + * Only used if $engine == self::ENGINE_INTERNAL + * + * Note: Must extend by the child \phpseclib\Crypt\* class + * + * @see self::_setup() + * @access private + */ + abstract function _setupKey(); + + /** + * Setup the self::ENGINE_INTERNAL $engine + * + * (re)init, if necessary, the internal cipher $engine and flush all $buffers + * Used (only) if $engine == self::ENGINE_INTERNAL + * + * _setup() will be called each time if $changed === true + * typically this happens when using one or more of following public methods: + * + * - setKey() + * + * - setIV() + * + * - disableContinuousBuffer() + * + * - First run of encrypt() / decrypt() with no init-settings + * + * @see self::setKey() + * @see self::setIV() + * @see self::disableContinuousBuffer() + * @access private + * @internal _setup() is always called before en/decryption. + * @internal Could, but not must, extend by the child Crypt_* class + */ + function _setup() + { + $this->_clearBuffers(); + $this->_setupKey(); + + if ($this->use_inline_crypt) { + $this->_setupInlineCrypt(); + } + } + + /** + * Setup the self::ENGINE_MCRYPT $engine + * + * (re)init, if necessary, the (ext)mcrypt resources and flush all $buffers + * Used (only) if $engine = self::ENGINE_MCRYPT + * + * _setupMcrypt() will be called each time if $changed === true + * typically this happens when using one or more of following public methods: + * + * - setKey() + * + * - setIV() + * + * - disableContinuousBuffer() + * + * - First run of encrypt() / decrypt() + * + * @see self::setKey() + * @see self::setIV() + * @see self::disableContinuousBuffer() + * @access private + * @internal Could, but not must, extend by the child Crypt_* class + */ + function _setupMcrypt() + { + $this->_clearBuffers(); + $this->enchanged = $this->dechanged = true; + + if (!isset($this->enmcrypt)) { + static $mcrypt_modes = array( + self::MODE_CTR => 'ctr', + self::MODE_ECB => MCRYPT_MODE_ECB, + self::MODE_CBC => MCRYPT_MODE_CBC, + self::MODE_CFB => 'ncfb', + self::MODE_OFB => MCRYPT_MODE_NOFB, + self::MODE_STREAM => MCRYPT_MODE_STREAM, + ); + + $this->demcrypt = @mcrypt_module_open($this->cipher_name_mcrypt, '', $mcrypt_modes[$this->mode], ''); + $this->enmcrypt = @mcrypt_module_open($this->cipher_name_mcrypt, '', $mcrypt_modes[$this->mode], ''); + + // we need the $ecb mcrypt resource (only) in MODE_CFB with enableContinuousBuffer() + // to workaround mcrypt's broken ncfb implementation in buffered mode + // see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps} + if ($this->mode == self::MODE_CFB) { + $this->ecb = @mcrypt_module_open($this->cipher_name_mcrypt, '', MCRYPT_MODE_ECB, ''); + } + } // else should mcrypt_generic_deinit be called? + + if ($this->mode == self::MODE_CFB) { + @mcrypt_generic_init($this->ecb, $this->key, str_repeat("\0", $this->block_size)); + } + } + + /** + * Pads a string + * + * Pads a string using the RSA PKCS padding standards so that its length is a multiple of the blocksize. + * $this->block_size - (strlen($text) % $this->block_size) bytes are added, each of which is equal to + * chr($this->block_size - (strlen($text) % $this->block_size) + * + * If padding is disabled and $text is not a multiple of the blocksize, the string will be padded regardless + * and padding will, hence forth, be enabled. + * + * @see self::_unpad() + * @param string $text + * @access private + * @return string + */ + function _pad($text) + { + $length = strlen($text); + + if (!$this->padding) { + if ($length % $this->block_size == 0) { + return $text; + } else { + user_error("The plaintext's length ($length) is not a multiple of the block size ({$this->block_size})"); + $this->padding = true; + } + } + + $pad = $this->block_size - ($length % $this->block_size); + + return str_pad($text, $length + $pad, chr($pad)); + } + + /** + * Unpads a string. + * + * If padding is enabled and the reported padding length is invalid the encryption key will be assumed to be wrong + * and false will be returned. + * + * @see self::_pad() + * @param string $text + * @access private + * @return string + */ + function _unpad($text) + { + if (!$this->padding) { + return $text; + } + + $length = ord($text[strlen($text) - 1]); + + if (!$length || $length > $this->block_size) { + return false; + } + + return substr($text, 0, -$length); + } + + /** + * Clears internal buffers + * + * Clearing/resetting the internal buffers is done everytime + * after disableContinuousBuffer() or on cipher $engine (re)init + * ie after setKey() or setIV() + * + * @access public + * @internal Could, but not must, extend by the child Crypt_* class + */ + function _clearBuffers() + { + $this->enbuffer = $this->debuffer = array('ciphertext' => '', 'xor' => '', 'pos' => 0, 'enmcrypt_init' => true); + + // mcrypt's handling of invalid's $iv: + // $this->encryptIV = $this->decryptIV = strlen($this->iv) == $this->block_size ? $this->iv : str_repeat("\0", $this->block_size); + $this->encryptIV = $this->decryptIV = str_pad(substr($this->iv, 0, $this->block_size), $this->block_size, "\0"); + + if (!$this->skip_key_adjustment) { + $this->key = str_pad(substr($this->key, 0, $this->key_length), $this->key_length, "\0"); + } + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @access private + * @return string + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } + + /** + * String Pop + * + * Inspired by array_pop + * + * @param string $string + * @param int $index + * @access private + * @return string + */ + function _string_pop(&$string, $index = 1) + { + $substr = substr($string, -$index); + $string = substr($string, 0, -$index); + return $substr; + } + + /** + * Increment the current string + * + * @see self::decrypt() + * @see self::encrypt() + * @param string $var + * @access private + */ + function _increment_str(&$var) + { + for ($i = 4; $i <= strlen($var); $i+= 4) { + $temp = substr($var, -$i, 4); + switch ($temp) { + case "\xFF\xFF\xFF\xFF": + $var = substr_replace($var, "\x00\x00\x00\x00", -$i, 4); + break; + case "\x7F\xFF\xFF\xFF": + $var = substr_replace($var, "\x80\x00\x00\x00", -$i, 4); + return; + default: + $temp = unpack('Nnum', $temp); + $var = substr_replace($var, pack('N', $temp['num'] + 1), -$i, 4); + return; + } + } + + $remainder = strlen($var) % 4; + + if ($remainder == 0) { + return; + } + + $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT)); + $temp = substr(pack('N', $temp['num'] + 1), -$remainder); + $var = substr_replace($var, $temp, 0, $remainder); + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * Stores the created (or existing) callback function-name + * in $this->inline_crypt + * + * Internally for phpseclib developers: + * + * _setupInlineCrypt() would be called only if: + * + * - $engine == self::ENGINE_INTERNAL and + * + * - $use_inline_crypt === true + * + * - each time on _setup(), after(!) _setupKey() + * + * + * This ensures that _setupInlineCrypt() has always a + * full ready2go initializated internal cipher $engine state + * where, for example, the keys allready expanded, + * keys/block_size calculated and such. + * + * It is, each time if called, the responsibility of _setupInlineCrypt(): + * + * - to set $this->inline_crypt to a valid and fully working callback function + * as a (faster) replacement for encrypt() / decrypt() + * + * - NOT to create unlimited callback functions (for memory reasons!) + * no matter how often _setupInlineCrypt() would be called. At some + * point of amount they must be generic re-useable. + * + * - the code of _setupInlineCrypt() it self, + * and the generated callback code, + * must be, in following order: + * - 100% safe + * - 100% compatible to encrypt()/decrypt() + * - using only php5+ features/lang-constructs/php-extensions if + * compatibility (down to php4) or fallback is provided + * - readable/maintainable/understandable/commented and... not-cryptic-styled-code :-) + * - >= 10% faster than encrypt()/decrypt() [which is, by the way, + * the reason for the existence of _setupInlineCrypt() :-)] + * - memory-nice + * - short (as good as possible) + * + * Note: - _setupInlineCrypt() is using _createInlineCryptFunction() to create the full callback function code. + * - In case of using inline crypting, _setupInlineCrypt() must extend by the child \phpseclib\Crypt\* class. + * - The following variable names are reserved: + * - $_* (all variable names prefixed with an underscore) + * - $self (object reference to it self. Do not use $this, but $self instead) + * - $in (the content of $in has to en/decrypt by the generated code) + * - The callback function should not use the 'return' statement, but en/decrypt'ing the content of $in only + * + * + * @see self::_setup() + * @see self::_createInlineCryptFunction() + * @see self::encrypt() + * @see self::decrypt() + * @access private + * @internal If a Crypt_* class providing inline crypting it must extend _setupInlineCrypt() + */ + function _setupInlineCrypt() + { + // If, for any reason, an extending \phpseclib\Crypt\Base() \phpseclib\Crypt\* class + // not using inline crypting then it must be ensured that: $this->use_inline_crypt = false + // ie in the class var declaration of $use_inline_crypt in general for the \phpseclib\Crypt\* class, + // in the constructor at object instance-time + // or, if it's runtime-specific, at runtime + + $this->use_inline_crypt = false; + } + + /** + * Creates the performance-optimized function for en/decrypt() + * + * Internally for phpseclib developers: + * + * _createInlineCryptFunction(): + * + * - merge the $cipher_code [setup'ed by _setupInlineCrypt()] + * with the current [$this->]mode of operation code + * + * - create the $inline function, which called by encrypt() / decrypt() + * as its replacement to speed up the en/decryption operations. + * + * - return the name of the created $inline callback function + * + * - used to speed up en/decryption + * + * + * + * The main reason why can speed up things [up to 50%] this way are: + * + * - using variables more effective then regular. + * (ie no use of expensive arrays but integers $k_0, $k_1 ... + * or even, for example, the pure $key[] values hardcoded) + * + * - avoiding 1000's of function calls of ie _encryptBlock() + * but inlining the crypt operations. + * in the mode of operation for() loop. + * + * - full loop unroll the (sometimes key-dependent) rounds + * avoiding this way ++$i counters and runtime-if's etc... + * + * The basic code architectur of the generated $inline en/decrypt() + * lambda function, in pseudo php, is: + * + * + * +----------------------------------------------------------------------------------------------+ + * | callback $inline = create_function: | + * | lambda_function_0001_crypt_ECB($action, $text) | + * | { | + * | INSERT PHP CODE OF: | + * | $cipher_code['init_crypt']; // general init code. | + * | // ie: $sbox'es declarations used for | + * | // encrypt and decrypt'ing. | + * | | + * | switch ($action) { | + * | case 'encrypt': | + * | INSERT PHP CODE OF: | + * | $cipher_code['init_encrypt']; // encrypt sepcific init code. | + * | ie: specified $key or $box | + * | declarations for encrypt'ing. | + * | | + * | foreach ($ciphertext) { | + * | $in = $block_size of $ciphertext; | + * | | + * | INSERT PHP CODE OF: | + * | $cipher_code['encrypt_block']; // encrypt's (string) $in, which is always: | + * | // strlen($in) == $this->block_size | + * | // here comes the cipher algorithm in action | + * | // for encryption. | + * | // $cipher_code['encrypt_block'] has to | + * | // encrypt the content of the $in variable | + * | | + * | $plaintext .= $in; | + * | } | + * | return $plaintext; | + * | | + * | case 'decrypt': | + * | INSERT PHP CODE OF: | + * | $cipher_code['init_decrypt']; // decrypt sepcific init code | + * | ie: specified $key or $box | + * | declarations for decrypt'ing. | + * | foreach ($plaintext) { | + * | $in = $block_size of $plaintext; | + * | | + * | INSERT PHP CODE OF: | + * | $cipher_code['decrypt_block']; // decrypt's (string) $in, which is always | + * | // strlen($in) == $this->block_size | + * | // here comes the cipher algorithm in action | + * | // for decryption. | + * | // $cipher_code['decrypt_block'] has to | + * | // decrypt the content of the $in variable | + * | $ciphertext .= $in; | + * | } | + * | return $ciphertext; | + * | } | + * | } | + * +----------------------------------------------------------------------------------------------+ + * + * + * See also the \phpseclib\Crypt\*::_setupInlineCrypt()'s for + * productive inline $cipher_code's how they works. + * + * Structure of: + * + * $cipher_code = array( + * 'init_crypt' => (string) '', // optional + * 'init_encrypt' => (string) '', // optional + * 'init_decrypt' => (string) '', // optional + * 'encrypt_block' => (string) '', // required + * 'decrypt_block' => (string) '' // required + * ); + * + * + * @see self::_setupInlineCrypt() + * @see self::encrypt() + * @see self::decrypt() + * @param array $cipher_code + * @access private + * @return string (the name of the created callback function) + */ + function _createInlineCryptFunction($cipher_code) + { + $block_size = $this->block_size; + + // optional + $init_crypt = isset($cipher_code['init_crypt']) ? $cipher_code['init_crypt'] : ''; + $init_encrypt = isset($cipher_code['init_encrypt']) ? $cipher_code['init_encrypt'] : ''; + $init_decrypt = isset($cipher_code['init_decrypt']) ? $cipher_code['init_decrypt'] : ''; + // required + $encrypt_block = $cipher_code['encrypt_block']; + $decrypt_block = $cipher_code['decrypt_block']; + + // Generating mode of operation inline code, + // merged with the $cipher_code algorithm + // for encrypt- and decryption. + switch ($this->mode) { + case self::MODE_ECB: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + $_plaintext_len = strlen($_text); + + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $in = substr($_text, $_i, '.$block_size.'); + '.$encrypt_block.' + $_ciphertext.= $in; + } + + return $_ciphertext; + '; + + $decrypt = $init_decrypt . ' + $_plaintext = ""; + $_text = str_pad($_text, strlen($_text) + ('.$block_size.' - strlen($_text) % '.$block_size.') % '.$block_size.', chr(0)); + $_ciphertext_len = strlen($_text); + + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $in = substr($_text, $_i, '.$block_size.'); + '.$decrypt_block.' + $_plaintext.= $in; + } + + return $self->_unpad($_plaintext); + '; + break; + case self::MODE_CTR: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + $_plaintext_len = strlen($_text); + $_xor = $self->encryptIV; + $_buffer = &$self->enbuffer; + if (strlen($_buffer["ciphertext"])) { + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + if (strlen($_block) > strlen($_buffer["ciphertext"])) { + $in = $_xor; + '.$encrypt_block.' + $self->_increment_str($_xor); + $_buffer["ciphertext"].= $in; + } + $_key = $self->_string_shift($_buffer["ciphertext"], '.$block_size.'); + $_ciphertext.= $_block ^ $_key; + } + } else { + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + $in = $_xor; + '.$encrypt_block.' + $self->_increment_str($_xor); + $_key = $in; + $_ciphertext.= $_block ^ $_key; + } + } + if ($self->continuousBuffer) { + $self->encryptIV = $_xor; + if ($_start = $_plaintext_len % '.$block_size.') { + $_buffer["ciphertext"] = substr($_key, $_start) . $_buffer["ciphertext"]; + } + } + + return $_ciphertext; + '; + + $decrypt = $init_encrypt . ' + $_plaintext = ""; + $_ciphertext_len = strlen($_text); + $_xor = $self->decryptIV; + $_buffer = &$self->debuffer; + + if (strlen($_buffer["ciphertext"])) { + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + if (strlen($_block) > strlen($_buffer["ciphertext"])) { + $in = $_xor; + '.$encrypt_block.' + $self->_increment_str($_xor); + $_buffer["ciphertext"].= $in; + } + $_key = $self->_string_shift($_buffer["ciphertext"], '.$block_size.'); + $_plaintext.= $_block ^ $_key; + } + } else { + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + $in = $_xor; + '.$encrypt_block.' + $self->_increment_str($_xor); + $_key = $in; + $_plaintext.= $_block ^ $_key; + } + } + if ($self->continuousBuffer) { + $self->decryptIV = $_xor; + if ($_start = $_ciphertext_len % '.$block_size.') { + $_buffer["ciphertext"] = substr($_key, $_start) . $_buffer["ciphertext"]; + } + } + + return $_plaintext; + '; + break; + case self::MODE_CFB: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + $_buffer = &$self->enbuffer; + + if ($self->continuousBuffer) { + $_iv = &$self->encryptIV; + $_pos = &$_buffer["pos"]; + } else { + $_iv = $self->encryptIV; + $_pos = 0; + } + $_len = strlen($_text); + $_i = 0; + if ($_pos) { + $_orig_pos = $_pos; + $_max = '.$block_size.' - $_pos; + if ($_len >= $_max) { + $_i = $_max; + $_len-= $_max; + $_pos = 0; + } else { + $_i = $_len; + $_pos+= $_len; + $_len = 0; + } + $_ciphertext = substr($_iv, $_orig_pos) ^ $_text; + $_iv = substr_replace($_iv, $_ciphertext, $_orig_pos, $_i); + } + while ($_len >= '.$block_size.') { + $in = $_iv; + '.$encrypt_block.'; + $_iv = $in ^ substr($_text, $_i, '.$block_size.'); + $_ciphertext.= $_iv; + $_len-= '.$block_size.'; + $_i+= '.$block_size.'; + } + if ($_len) { + $in = $_iv; + '.$encrypt_block.' + $_iv = $in; + $_block = $_iv ^ substr($_text, $_i); + $_iv = substr_replace($_iv, $_block, 0, $_len); + $_ciphertext.= $_block; + $_pos = $_len; + } + return $_ciphertext; + '; + + $decrypt = $init_encrypt . ' + $_plaintext = ""; + $_buffer = &$self->debuffer; + + if ($self->continuousBuffer) { + $_iv = &$self->decryptIV; + $_pos = &$_buffer["pos"]; + } else { + $_iv = $self->decryptIV; + $_pos = 0; + } + $_len = strlen($_text); + $_i = 0; + if ($_pos) { + $_orig_pos = $_pos; + $_max = '.$block_size.' - $_pos; + if ($_len >= $_max) { + $_i = $_max; + $_len-= $_max; + $_pos = 0; + } else { + $_i = $_len; + $_pos+= $_len; + $_len = 0; + } + $_plaintext = substr($_iv, $_orig_pos) ^ $_text; + $_iv = substr_replace($_iv, substr($_text, 0, $_i), $_orig_pos, $_i); + } + while ($_len >= '.$block_size.') { + $in = $_iv; + '.$encrypt_block.' + $_iv = $in; + $cb = substr($_text, $_i, '.$block_size.'); + $_plaintext.= $_iv ^ $cb; + $_iv = $cb; + $_len-= '.$block_size.'; + $_i+= '.$block_size.'; + } + if ($_len) { + $in = $_iv; + '.$encrypt_block.' + $_iv = $in; + $_plaintext.= $_iv ^ substr($_text, $_i); + $_iv = substr_replace($_iv, substr($_text, $_i), 0, $_len); + $_pos = $_len; + } + + return $_plaintext; + '; + break; + case self::MODE_OFB: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + $_plaintext_len = strlen($_text); + $_xor = $self->encryptIV; + $_buffer = &$self->enbuffer; + + if (strlen($_buffer["xor"])) { + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + if (strlen($_block) > strlen($_buffer["xor"])) { + $in = $_xor; + '.$encrypt_block.' + $_xor = $in; + $_buffer["xor"].= $_xor; + } + $_key = $self->_string_shift($_buffer["xor"], '.$block_size.'); + $_ciphertext.= $_block ^ $_key; + } + } else { + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $in = $_xor; + '.$encrypt_block.' + $_xor = $in; + $_ciphertext.= substr($_text, $_i, '.$block_size.') ^ $_xor; + } + $_key = $_xor; + } + if ($self->continuousBuffer) { + $self->encryptIV = $_xor; + if ($_start = $_plaintext_len % '.$block_size.') { + $_buffer["xor"] = substr($_key, $_start) . $_buffer["xor"]; + } + } + return $_ciphertext; + '; + + $decrypt = $init_encrypt . ' + $_plaintext = ""; + $_ciphertext_len = strlen($_text); + $_xor = $self->decryptIV; + $_buffer = &$self->debuffer; + + if (strlen($_buffer["xor"])) { + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $_block = substr($_text, $_i, '.$block_size.'); + if (strlen($_block) > strlen($_buffer["xor"])) { + $in = $_xor; + '.$encrypt_block.' + $_xor = $in; + $_buffer["xor"].= $_xor; + } + $_key = $self->_string_shift($_buffer["xor"], '.$block_size.'); + $_plaintext.= $_block ^ $_key; + } + } else { + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $in = $_xor; + '.$encrypt_block.' + $_xor = $in; + $_plaintext.= substr($_text, $_i, '.$block_size.') ^ $_xor; + } + $_key = $_xor; + } + if ($self->continuousBuffer) { + $self->decryptIV = $_xor; + if ($_start = $_ciphertext_len % '.$block_size.') { + $_buffer["xor"] = substr($_key, $_start) . $_buffer["xor"]; + } + } + return $_plaintext; + '; + break; + case self::MODE_STREAM: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + '.$encrypt_block.' + return $_ciphertext; + '; + $decrypt = $init_decrypt . ' + $_plaintext = ""; + '.$decrypt_block.' + return $_plaintext; + '; + break; + // case self::MODE_CBC: + default: + $encrypt = $init_encrypt . ' + $_ciphertext = ""; + $_plaintext_len = strlen($_text); + + $in = $self->encryptIV; + + for ($_i = 0; $_i < $_plaintext_len; $_i+= '.$block_size.') { + $in = substr($_text, $_i, '.$block_size.') ^ $in; + '.$encrypt_block.' + $_ciphertext.= $in; + } + + if ($self->continuousBuffer) { + $self->encryptIV = $in; + } + + return $_ciphertext; + '; + + $decrypt = $init_decrypt . ' + $_plaintext = ""; + $_text = str_pad($_text, strlen($_text) + ('.$block_size.' - strlen($_text) % '.$block_size.') % '.$block_size.', chr(0)); + $_ciphertext_len = strlen($_text); + + $_iv = $self->decryptIV; + + for ($_i = 0; $_i < $_ciphertext_len; $_i+= '.$block_size.') { + $in = $_block = substr($_text, $_i, '.$block_size.'); + '.$decrypt_block.' + $_plaintext.= $in ^ $_iv; + $_iv = $_block; + } + + if ($self->continuousBuffer) { + $self->decryptIV = $_iv; + } + + return $self->_unpad($_plaintext); + '; + break; + } + + // Create the $inline function and return its name as string. Ready to run! + return create_function('$_action, &$self, $_text', $init_crypt . 'if ($_action == "encrypt") { ' . $encrypt . ' } else { ' . $decrypt . ' }'); + } + + /** + * Holds the lambda_functions table (classwide) + * + * Each name of the lambda function, created from + * _setupInlineCrypt() && _createInlineCryptFunction() + * is stored, classwide (!), here for reusing. + * + * The string-based index of $function is a classwide + * unique value representing, at least, the $mode of + * operation (or more... depends of the optimizing level) + * for which $mode the lambda function was created. + * + * @access private + * @return array &$functions + */ + function &_getLambdaFunctions() + { + static $functions = array(); + return $functions; + } + + /** + * Generates a digest from $bytes + * + * @see self::_setupInlineCrypt() + * @access private + * @param $bytes + * @return string + */ + function _hashInlineCryptFunction($bytes) + { + if (!isset(self::$WHIRLPOOL_AVAILABLE)) { + self::$WHIRLPOOL_AVAILABLE = extension_loaded('hash') && in_array('whirlpool', hash_algos()); + } + + $result = ''; + $hash = $bytes; + + switch (true) { + case self::$WHIRLPOOL_AVAILABLE: + foreach (str_split($bytes, 64) as $t) { + $hash = hash('whirlpool', $hash, true); + $result .= $t ^ $hash; + } + return $result . hash('whirlpool', $hash, true); + default: + $len = strlen($bytes); + for ($i = 0; $i < $len; $i+=20) { + $t = substr($bytes, $i, 20); + $hash = pack('H*', sha1($hash)); + $result .= $t ^ $hash; + } + return $result . pack('H*', sha1($hash)); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php new file mode 100644 index 00000000..19d0a020 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php @@ -0,0 +1,577 @@ + + * setKey('12345678901234567890123456789012'); + * + * $plaintext = str_repeat('a', 1024); + * + * echo $blowfish->decrypt($blowfish->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package Blowfish + * @author Jim Wigginton + * @author Hans-Juergen Petrich + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of Blowfish. + * + * @package Blowfish + * @author Jim Wigginton + * @author Hans-Juergen Petrich + * @access public + */ +class Blowfish extends Base +{ + /** + * Block Length of the cipher + * + * @see \phpseclib\Crypt\Base::block_size + * @var int + * @access private + */ + var $block_size = 8; + + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'blowfish'; + + /** + * Optimizing value while CFB-encrypting + * + * @see \phpseclib\Crypt\Base::cfb_init_len + * @var int + * @access private + */ + var $cfb_init_len = 500; + + /** + * The fixed subkeys boxes ($sbox0 - $sbox3) with 256 entries each + * + * S-Box 0 + * + * @access private + * @var array + */ + var $sbox0 = array( + 0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7, 0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99, + 0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16, 0x636920d8, 0x71574e69, 0xa458fea3, 0xf4933d7e, + 0x0d95748f, 0x728eb658, 0x718bcd58, 0x82154aee, 0x7b54a41d, 0xc25a59b5, 0x9c30d539, 0x2af26013, + 0xc5d1b023, 0x286085f0, 0xca417918, 0xb8db38ef, 0x8e79dcb0, 0x603a180e, 0x6c9e0e8b, 0xb01e8a3e, + 0xd71577c1, 0xbd314b27, 0x78af2fda, 0x55605c60, 0xe65525f3, 0xaa55ab94, 0x57489862, 0x63e81440, + 0x55ca396a, 0x2aab10b6, 0xb4cc5c34, 0x1141e8ce, 0xa15486af, 0x7c72e993, 0xb3ee1411, 0x636fbc2a, + 0x2ba9c55d, 0x741831f6, 0xce5c3e16, 0x9b87931e, 0xafd6ba33, 0x6c24cf5c, 0x7a325381, 0x28958677, + 0x3b8f4898, 0x6b4bb9af, 0xc4bfe81b, 0x66282193, 0x61d809cc, 0xfb21a991, 0x487cac60, 0x5dec8032, + 0xef845d5d, 0xe98575b1, 0xdc262302, 0xeb651b88, 0x23893e81, 0xd396acc5, 0x0f6d6ff3, 0x83f44239, + 0x2e0b4482, 0xa4842004, 0x69c8f04a, 0x9e1f9b5e, 0x21c66842, 0xf6e96c9a, 0x670c9c61, 0xabd388f0, + 0x6a51a0d2, 0xd8542f68, 0x960fa728, 0xab5133a3, 0x6eef0b6c, 0x137a3be4, 0xba3bf050, 0x7efb2a98, + 0xa1f1651d, 0x39af0176, 0x66ca593e, 0x82430e88, 0x8cee8619, 0x456f9fb4, 0x7d84a5c3, 0x3b8b5ebe, + 0xe06f75d8, 0x85c12073, 0x401a449f, 0x56c16aa6, 0x4ed3aa62, 0x363f7706, 0x1bfedf72, 0x429b023d, + 0x37d0d724, 0xd00a1248, 0xdb0fead3, 0x49f1c09b, 0x075372c9, 0x80991b7b, 0x25d479d8, 0xf6e8def7, + 0xe3fe501a, 0xb6794c3b, 0x976ce0bd, 0x04c006ba, 0xc1a94fb6, 0x409f60c4, 0x5e5c9ec2, 0x196a2463, + 0x68fb6faf, 0x3e6c53b5, 0x1339b2eb, 0x3b52ec6f, 0x6dfc511f, 0x9b30952c, 0xcc814544, 0xaf5ebd09, + 0xbee3d004, 0xde334afd, 0x660f2807, 0x192e4bb3, 0xc0cba857, 0x45c8740f, 0xd20b5f39, 0xb9d3fbdb, + 0x5579c0bd, 0x1a60320a, 0xd6a100c6, 0x402c7279, 0x679f25fe, 0xfb1fa3cc, 0x8ea5e9f8, 0xdb3222f8, + 0x3c7516df, 0xfd616b15, 0x2f501ec8, 0xad0552ab, 0x323db5fa, 0xfd238760, 0x53317b48, 0x3e00df82, + 0x9e5c57bb, 0xca6f8ca0, 0x1a87562e, 0xdf1769db, 0xd542a8f6, 0x287effc3, 0xac6732c6, 0x8c4f5573, + 0x695b27b0, 0xbbca58c8, 0xe1ffa35d, 0xb8f011a0, 0x10fa3d98, 0xfd2183b8, 0x4afcb56c, 0x2dd1d35b, + 0x9a53e479, 0xb6f84565, 0xd28e49bc, 0x4bfb9790, 0xe1ddf2da, 0xa4cb7e33, 0x62fb1341, 0xcee4c6e8, + 0xef20cada, 0x36774c01, 0xd07e9efe, 0x2bf11fb4, 0x95dbda4d, 0xae909198, 0xeaad8e71, 0x6b93d5a0, + 0xd08ed1d0, 0xafc725e0, 0x8e3c5b2f, 0x8e7594b7, 0x8ff6e2fb, 0xf2122b64, 0x8888b812, 0x900df01c, + 0x4fad5ea0, 0x688fc31c, 0xd1cff191, 0xb3a8c1ad, 0x2f2f2218, 0xbe0e1777, 0xea752dfe, 0x8b021fa1, + 0xe5a0cc0f, 0xb56f74e8, 0x18acf3d6, 0xce89e299, 0xb4a84fe0, 0xfd13e0b7, 0x7cc43b81, 0xd2ada8d9, + 0x165fa266, 0x80957705, 0x93cc7314, 0x211a1477, 0xe6ad2065, 0x77b5fa86, 0xc75442f5, 0xfb9d35cf, + 0xebcdaf0c, 0x7b3e89a0, 0xd6411bd3, 0xae1e7e49, 0x00250e2d, 0x2071b35e, 0x226800bb, 0x57b8e0af, + 0x2464369b, 0xf009b91e, 0x5563911d, 0x59dfa6aa, 0x78c14389, 0xd95a537f, 0x207d5ba2, 0x02e5b9c5, + 0x83260376, 0x6295cfa9, 0x11c81968, 0x4e734a41, 0xb3472dca, 0x7b14a94a, 0x1b510052, 0x9a532915, + 0xd60f573f, 0xbc9bc6e4, 0x2b60a476, 0x81e67400, 0x08ba6fb5, 0x571be91f, 0xf296ec6b, 0x2a0dd915, + 0xb6636521, 0xe7b9f9b6, 0xff34052e, 0xc5855664, 0x53b02d5d, 0xa99f8fa1, 0x08ba4799, 0x6e85076a + ); + + /** + * S-Box 1 + * + * @access private + * @var array + */ + var $sbox1 = array( + 0x4b7a70e9, 0xb5b32944, 0xdb75092e, 0xc4192623, 0xad6ea6b0, 0x49a7df7d, 0x9cee60b8, 0x8fedb266, + 0xecaa8c71, 0x699a17ff, 0x5664526c, 0xc2b19ee1, 0x193602a5, 0x75094c29, 0xa0591340, 0xe4183a3e, + 0x3f54989a, 0x5b429d65, 0x6b8fe4d6, 0x99f73fd6, 0xa1d29c07, 0xefe830f5, 0x4d2d38e6, 0xf0255dc1, + 0x4cdd2086, 0x8470eb26, 0x6382e9c6, 0x021ecc5e, 0x09686b3f, 0x3ebaefc9, 0x3c971814, 0x6b6a70a1, + 0x687f3584, 0x52a0e286, 0xb79c5305, 0xaa500737, 0x3e07841c, 0x7fdeae5c, 0x8e7d44ec, 0x5716f2b8, + 0xb03ada37, 0xf0500c0d, 0xf01c1f04, 0x0200b3ff, 0xae0cf51a, 0x3cb574b2, 0x25837a58, 0xdc0921bd, + 0xd19113f9, 0x7ca92ff6, 0x94324773, 0x22f54701, 0x3ae5e581, 0x37c2dadc, 0xc8b57634, 0x9af3dda7, + 0xa9446146, 0x0fd0030e, 0xecc8c73e, 0xa4751e41, 0xe238cd99, 0x3bea0e2f, 0x3280bba1, 0x183eb331, + 0x4e548b38, 0x4f6db908, 0x6f420d03, 0xf60a04bf, 0x2cb81290, 0x24977c79, 0x5679b072, 0xbcaf89af, + 0xde9a771f, 0xd9930810, 0xb38bae12, 0xdccf3f2e, 0x5512721f, 0x2e6b7124, 0x501adde6, 0x9f84cd87, + 0x7a584718, 0x7408da17, 0xbc9f9abc, 0xe94b7d8c, 0xec7aec3a, 0xdb851dfa, 0x63094366, 0xc464c3d2, + 0xef1c1847, 0x3215d908, 0xdd433b37, 0x24c2ba16, 0x12a14d43, 0x2a65c451, 0x50940002, 0x133ae4dd, + 0x71dff89e, 0x10314e55, 0x81ac77d6, 0x5f11199b, 0x043556f1, 0xd7a3c76b, 0x3c11183b, 0x5924a509, + 0xf28fe6ed, 0x97f1fbfa, 0x9ebabf2c, 0x1e153c6e, 0x86e34570, 0xeae96fb1, 0x860e5e0a, 0x5a3e2ab3, + 0x771fe71c, 0x4e3d06fa, 0x2965dcb9, 0x99e71d0f, 0x803e89d6, 0x5266c825, 0x2e4cc978, 0x9c10b36a, + 0xc6150eba, 0x94e2ea78, 0xa5fc3c53, 0x1e0a2df4, 0xf2f74ea7, 0x361d2b3d, 0x1939260f, 0x19c27960, + 0x5223a708, 0xf71312b6, 0xebadfe6e, 0xeac31f66, 0xe3bc4595, 0xa67bc883, 0xb17f37d1, 0x018cff28, + 0xc332ddef, 0xbe6c5aa5, 0x65582185, 0x68ab9802, 0xeecea50f, 0xdb2f953b, 0x2aef7dad, 0x5b6e2f84, + 0x1521b628, 0x29076170, 0xecdd4775, 0x619f1510, 0x13cca830, 0xeb61bd96, 0x0334fe1e, 0xaa0363cf, + 0xb5735c90, 0x4c70a239, 0xd59e9e0b, 0xcbaade14, 0xeecc86bc, 0x60622ca7, 0x9cab5cab, 0xb2f3846e, + 0x648b1eaf, 0x19bdf0ca, 0xa02369b9, 0x655abb50, 0x40685a32, 0x3c2ab4b3, 0x319ee9d5, 0xc021b8f7, + 0x9b540b19, 0x875fa099, 0x95f7997e, 0x623d7da8, 0xf837889a, 0x97e32d77, 0x11ed935f, 0x16681281, + 0x0e358829, 0xc7e61fd6, 0x96dedfa1, 0x7858ba99, 0x57f584a5, 0x1b227263, 0x9b83c3ff, 0x1ac24696, + 0xcdb30aeb, 0x532e3054, 0x8fd948e4, 0x6dbc3128, 0x58ebf2ef, 0x34c6ffea, 0xfe28ed61, 0xee7c3c73, + 0x5d4a14d9, 0xe864b7e3, 0x42105d14, 0x203e13e0, 0x45eee2b6, 0xa3aaabea, 0xdb6c4f15, 0xfacb4fd0, + 0xc742f442, 0xef6abbb5, 0x654f3b1d, 0x41cd2105, 0xd81e799e, 0x86854dc7, 0xe44b476a, 0x3d816250, + 0xcf62a1f2, 0x5b8d2646, 0xfc8883a0, 0xc1c7b6a3, 0x7f1524c3, 0x69cb7492, 0x47848a0b, 0x5692b285, + 0x095bbf00, 0xad19489d, 0x1462b174, 0x23820e00, 0x58428d2a, 0x0c55f5ea, 0x1dadf43e, 0x233f7061, + 0x3372f092, 0x8d937e41, 0xd65fecf1, 0x6c223bdb, 0x7cde3759, 0xcbee7460, 0x4085f2a7, 0xce77326e, + 0xa6078084, 0x19f8509e, 0xe8efd855, 0x61d99735, 0xa969a7aa, 0xc50c06c2, 0x5a04abfc, 0x800bcadc, + 0x9e447a2e, 0xc3453484, 0xfdd56705, 0x0e1e9ec9, 0xdb73dbd3, 0x105588cd, 0x675fda79, 0xe3674340, + 0xc5c43465, 0x713e38d8, 0x3d28f89e, 0xf16dff20, 0x153e21e7, 0x8fb03d4a, 0xe6e39f2b, 0xdb83adf7 + ); + + /** + * S-Box 2 + * + * @access private + * @var array + */ + var $sbox2 = array( + 0xe93d5a68, 0x948140f7, 0xf64c261c, 0x94692934, 0x411520f7, 0x7602d4f7, 0xbcf46b2e, 0xd4a20068, + 0xd4082471, 0x3320f46a, 0x43b7d4b7, 0x500061af, 0x1e39f62e, 0x97244546, 0x14214f74, 0xbf8b8840, + 0x4d95fc1d, 0x96b591af, 0x70f4ddd3, 0x66a02f45, 0xbfbc09ec, 0x03bd9785, 0x7fac6dd0, 0x31cb8504, + 0x96eb27b3, 0x55fd3941, 0xda2547e6, 0xabca0a9a, 0x28507825, 0x530429f4, 0x0a2c86da, 0xe9b66dfb, + 0x68dc1462, 0xd7486900, 0x680ec0a4, 0x27a18dee, 0x4f3ffea2, 0xe887ad8c, 0xb58ce006, 0x7af4d6b6, + 0xaace1e7c, 0xd3375fec, 0xce78a399, 0x406b2a42, 0x20fe9e35, 0xd9f385b9, 0xee39d7ab, 0x3b124e8b, + 0x1dc9faf7, 0x4b6d1856, 0x26a36631, 0xeae397b2, 0x3a6efa74, 0xdd5b4332, 0x6841e7f7, 0xca7820fb, + 0xfb0af54e, 0xd8feb397, 0x454056ac, 0xba489527, 0x55533a3a, 0x20838d87, 0xfe6ba9b7, 0xd096954b, + 0x55a867bc, 0xa1159a58, 0xcca92963, 0x99e1db33, 0xa62a4a56, 0x3f3125f9, 0x5ef47e1c, 0x9029317c, + 0xfdf8e802, 0x04272f70, 0x80bb155c, 0x05282ce3, 0x95c11548, 0xe4c66d22, 0x48c1133f, 0xc70f86dc, + 0x07f9c9ee, 0x41041f0f, 0x404779a4, 0x5d886e17, 0x325f51eb, 0xd59bc0d1, 0xf2bcc18f, 0x41113564, + 0x257b7834, 0x602a9c60, 0xdff8e8a3, 0x1f636c1b, 0x0e12b4c2, 0x02e1329e, 0xaf664fd1, 0xcad18115, + 0x6b2395e0, 0x333e92e1, 0x3b240b62, 0xeebeb922, 0x85b2a20e, 0xe6ba0d99, 0xde720c8c, 0x2da2f728, + 0xd0127845, 0x95b794fd, 0x647d0862, 0xe7ccf5f0, 0x5449a36f, 0x877d48fa, 0xc39dfd27, 0xf33e8d1e, + 0x0a476341, 0x992eff74, 0x3a6f6eab, 0xf4f8fd37, 0xa812dc60, 0xa1ebddf8, 0x991be14c, 0xdb6e6b0d, + 0xc67b5510, 0x6d672c37, 0x2765d43b, 0xdcd0e804, 0xf1290dc7, 0xcc00ffa3, 0xb5390f92, 0x690fed0b, + 0x667b9ffb, 0xcedb7d9c, 0xa091cf0b, 0xd9155ea3, 0xbb132f88, 0x515bad24, 0x7b9479bf, 0x763bd6eb, + 0x37392eb3, 0xcc115979, 0x8026e297, 0xf42e312d, 0x6842ada7, 0xc66a2b3b, 0x12754ccc, 0x782ef11c, + 0x6a124237, 0xb79251e7, 0x06a1bbe6, 0x4bfb6350, 0x1a6b1018, 0x11caedfa, 0x3d25bdd8, 0xe2e1c3c9, + 0x44421659, 0x0a121386, 0xd90cec6e, 0xd5abea2a, 0x64af674e, 0xda86a85f, 0xbebfe988, 0x64e4c3fe, + 0x9dbc8057, 0xf0f7c086, 0x60787bf8, 0x6003604d, 0xd1fd8346, 0xf6381fb0, 0x7745ae04, 0xd736fccc, + 0x83426b33, 0xf01eab71, 0xb0804187, 0x3c005e5f, 0x77a057be, 0xbde8ae24, 0x55464299, 0xbf582e61, + 0x4e58f48f, 0xf2ddfda2, 0xf474ef38, 0x8789bdc2, 0x5366f9c3, 0xc8b38e74, 0xb475f255, 0x46fcd9b9, + 0x7aeb2661, 0x8b1ddf84, 0x846a0e79, 0x915f95e2, 0x466e598e, 0x20b45770, 0x8cd55591, 0xc902de4c, + 0xb90bace1, 0xbb8205d0, 0x11a86248, 0x7574a99e, 0xb77f19b6, 0xe0a9dc09, 0x662d09a1, 0xc4324633, + 0xe85a1f02, 0x09f0be8c, 0x4a99a025, 0x1d6efe10, 0x1ab93d1d, 0x0ba5a4df, 0xa186f20f, 0x2868f169, + 0xdcb7da83, 0x573906fe, 0xa1e2ce9b, 0x4fcd7f52, 0x50115e01, 0xa70683fa, 0xa002b5c4, 0x0de6d027, + 0x9af88c27, 0x773f8641, 0xc3604c06, 0x61a806b5, 0xf0177a28, 0xc0f586e0, 0x006058aa, 0x30dc7d62, + 0x11e69ed7, 0x2338ea63, 0x53c2dd94, 0xc2c21634, 0xbbcbee56, 0x90bcb6de, 0xebfc7da1, 0xce591d76, + 0x6f05e409, 0x4b7c0188, 0x39720a3d, 0x7c927c24, 0x86e3725f, 0x724d9db9, 0x1ac15bb4, 0xd39eb8fc, + 0xed545578, 0x08fca5b5, 0xd83d7cd3, 0x4dad0fc4, 0x1e50ef5e, 0xb161e6f8, 0xa28514d9, 0x6c51133c, + 0x6fd5c7e7, 0x56e14ec4, 0x362abfce, 0xddc6c837, 0xd79a3234, 0x92638212, 0x670efa8e, 0x406000e0 + ); + + /** + * S-Box 3 + * + * @access private + * @var array + */ + var $sbox3 = array( + 0x3a39ce37, 0xd3faf5cf, 0xabc27737, 0x5ac52d1b, 0x5cb0679e, 0x4fa33742, 0xd3822740, 0x99bc9bbe, + 0xd5118e9d, 0xbf0f7315, 0xd62d1c7e, 0xc700c47b, 0xb78c1b6b, 0x21a19045, 0xb26eb1be, 0x6a366eb4, + 0x5748ab2f, 0xbc946e79, 0xc6a376d2, 0x6549c2c8, 0x530ff8ee, 0x468dde7d, 0xd5730a1d, 0x4cd04dc6, + 0x2939bbdb, 0xa9ba4650, 0xac9526e8, 0xbe5ee304, 0xa1fad5f0, 0x6a2d519a, 0x63ef8ce2, 0x9a86ee22, + 0xc089c2b8, 0x43242ef6, 0xa51e03aa, 0x9cf2d0a4, 0x83c061ba, 0x9be96a4d, 0x8fe51550, 0xba645bd6, + 0x2826a2f9, 0xa73a3ae1, 0x4ba99586, 0xef5562e9, 0xc72fefd3, 0xf752f7da, 0x3f046f69, 0x77fa0a59, + 0x80e4a915, 0x87b08601, 0x9b09e6ad, 0x3b3ee593, 0xe990fd5a, 0x9e34d797, 0x2cf0b7d9, 0x022b8b51, + 0x96d5ac3a, 0x017da67d, 0xd1cf3ed6, 0x7c7d2d28, 0x1f9f25cf, 0xadf2b89b, 0x5ad6b472, 0x5a88f54c, + 0xe029ac71, 0xe019a5e6, 0x47b0acfd, 0xed93fa9b, 0xe8d3c48d, 0x283b57cc, 0xf8d56629, 0x79132e28, + 0x785f0191, 0xed756055, 0xf7960e44, 0xe3d35e8c, 0x15056dd4, 0x88f46dba, 0x03a16125, 0x0564f0bd, + 0xc3eb9e15, 0x3c9057a2, 0x97271aec, 0xa93a072a, 0x1b3f6d9b, 0x1e6321f5, 0xf59c66fb, 0x26dcf319, + 0x7533d928, 0xb155fdf5, 0x03563482, 0x8aba3cbb, 0x28517711, 0xc20ad9f8, 0xabcc5167, 0xccad925f, + 0x4de81751, 0x3830dc8e, 0x379d5862, 0x9320f991, 0xea7a90c2, 0xfb3e7bce, 0x5121ce64, 0x774fbe32, + 0xa8b6e37e, 0xc3293d46, 0x48de5369, 0x6413e680, 0xa2ae0810, 0xdd6db224, 0x69852dfd, 0x09072166, + 0xb39a460a, 0x6445c0dd, 0x586cdecf, 0x1c20c8ae, 0x5bbef7dd, 0x1b588d40, 0xccd2017f, 0x6bb4e3bb, + 0xdda26a7e, 0x3a59ff45, 0x3e350a44, 0xbcb4cdd5, 0x72eacea8, 0xfa6484bb, 0x8d6612ae, 0xbf3c6f47, + 0xd29be463, 0x542f5d9e, 0xaec2771b, 0xf64e6370, 0x740e0d8d, 0xe75b1357, 0xf8721671, 0xaf537d5d, + 0x4040cb08, 0x4eb4e2cc, 0x34d2466a, 0x0115af84, 0xe1b00428, 0x95983a1d, 0x06b89fb4, 0xce6ea048, + 0x6f3f3b82, 0x3520ab82, 0x011a1d4b, 0x277227f8, 0x611560b1, 0xe7933fdc, 0xbb3a792b, 0x344525bd, + 0xa08839e1, 0x51ce794b, 0x2f32c9b7, 0xa01fbac9, 0xe01cc87e, 0xbcc7d1f6, 0xcf0111c3, 0xa1e8aac7, + 0x1a908749, 0xd44fbd9a, 0xd0dadecb, 0xd50ada38, 0x0339c32a, 0xc6913667, 0x8df9317c, 0xe0b12b4f, + 0xf79e59b7, 0x43f5bb3a, 0xf2d519ff, 0x27d9459c, 0xbf97222c, 0x15e6fc2a, 0x0f91fc71, 0x9b941525, + 0xfae59361, 0xceb69ceb, 0xc2a86459, 0x12baa8d1, 0xb6c1075e, 0xe3056a0c, 0x10d25065, 0xcb03a442, + 0xe0ec6e0e, 0x1698db3b, 0x4c98a0be, 0x3278e964, 0x9f1f9532, 0xe0d392df, 0xd3a0342b, 0x8971f21e, + 0x1b0a7441, 0x4ba3348c, 0xc5be7120, 0xc37632d8, 0xdf359f8d, 0x9b992f2e, 0xe60b6f47, 0x0fe3f11d, + 0xe54cda54, 0x1edad891, 0xce6279cf, 0xcd3e7e6f, 0x1618b166, 0xfd2c1d05, 0x848fd2c5, 0xf6fb2299, + 0xf523f357, 0xa6327623, 0x93a83531, 0x56cccd02, 0xacf08162, 0x5a75ebb5, 0x6e163697, 0x88d273cc, + 0xde966292, 0x81b949d0, 0x4c50901b, 0x71c65614, 0xe6c6c7bd, 0x327a140a, 0x45e1d006, 0xc3f27b9a, + 0xc9aa53fd, 0x62a80f00, 0xbb25bfe2, 0x35bdd2f6, 0x71126905, 0xb2040222, 0xb6cbcf7c, 0xcd769c2b, + 0x53113ec0, 0x1640e3d3, 0x38abbd60, 0x2547adf0, 0xba38209c, 0xf746ce76, 0x77afa1c5, 0x20756060, + 0x85cbfe4e, 0x8ae88dd8, 0x7aaaf9b0, 0x4cf9aa7e, 0x1948c25c, 0x02fb8a8c, 0x01c36ae4, 0xd6ebe1f9, + 0x90d4f869, 0xa65cdea0, 0x3f09252d, 0xc208e69f, 0xb74e6132, 0xce77e25b, 0x578fdfe3, 0x3ac372e6 + ); + + /** + * P-Array consists of 18 32-bit subkeys + * + * @var array + * @access private + */ + var $parray = array( + 0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344, 0xa4093822, 0x299f31d0, + 0x082efa98, 0xec4e6c89, 0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c, + 0xc0ac29b7, 0xc97c50dd, 0x3f84d5b5, 0xb5470917, 0x9216d5d9, 0x8979fb1b + ); + + /** + * The BCTX-working Array + * + * Holds the expanded key [p] and the key-depended s-boxes [sb] + * + * @var array + * @access private + */ + var $bctx; + + /** + * Holds the last used key + * + * @var array + * @access private + */ + var $kl; + + /** + * The Key Length (in bytes) + * + * @see \phpseclib\Crypt\Base::setKeyLength() + * @var int + * @access private + * @internal The max value is 256 / 8 = 32, the min value is 128 / 8 = 16. Exists in conjunction with $Nk + * because the encryption / decryption / key schedule creation requires this number and not $key_length. We could + * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu + * of that, we'll just precompute it once. + */ + var $key_length = 16; + + /** + * Sets the key length. + * + * Key lengths can be between 32 and 448 bits. + * + * @access public + * @param int $length + */ + function setKeyLength($length) + { + if ($length < 32) { + $this->key_length = 7; + } elseif ($length > 448) { + $this->key_length = 56; + } else { + $this->key_length = $length >> 3; + } + + parent::setKeyLength($length); + } + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::isValidEngine() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + if ($engine == self::ENGINE_OPENSSL) { + if (version_compare(PHP_VERSION, '5.3.7') < 0 && $this->key_length != 16) { + return false; + } + if ($this->key_length < 16) { + return false; + } + $this->cipher_name_openssl_ecb = 'bf-ecb'; + $this->cipher_name_openssl = 'bf-' . $this->_openssl_translate_mode(); + } + + return parent::isValidEngine($engine); + } + + /** + * Setup the key (expansion) + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + if (isset($this->kl['key']) && $this->key === $this->kl['key']) { + // already expanded + return; + } + $this->kl = array('key' => $this->key); + + /* key-expanding p[] and S-Box building sb[] */ + $this->bctx = array( + 'p' => array(), + 'sb' => array( + $this->sbox0, + $this->sbox1, + $this->sbox2, + $this->sbox3 + ) + ); + + // unpack binary string in unsigned chars + $key = array_values(unpack('C*', $this->key)); + $keyl = count($key); + for ($j = 0, $i = 0; $i < 18; ++$i) { + // xor P1 with the first 32-bits of the key, xor P2 with the second 32-bits ... + for ($data = 0, $k = 0; $k < 4; ++$k) { + $data = ($data << 8) | $key[$j]; + if (++$j >= $keyl) { + $j = 0; + } + } + $this->bctx['p'][] = $this->parray[$i] ^ $data; + } + + // encrypt the zero-string, replace P1 and P2 with the encrypted data, + // encrypt P3 and P4 with the new P1 and P2, do it with all P-array and subkeys + $data = "\0\0\0\0\0\0\0\0"; + for ($i = 0; $i < 18; $i += 2) { + list($l, $r) = array_values(unpack('N*', $data = $this->_encryptBlock($data))); + $this->bctx['p'][$i ] = $l; + $this->bctx['p'][$i + 1] = $r; + } + for ($i = 0; $i < 4; ++$i) { + for ($j = 0; $j < 256; $j += 2) { + list($l, $r) = array_values(unpack('N*', $data = $this->_encryptBlock($data))); + $this->bctx['sb'][$i][$j ] = $l; + $this->bctx['sb'][$i][$j + 1] = $r; + } + } + } + + /** + * Encrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _encryptBlock($in) + { + $p = $this->bctx["p"]; + // extract($this->bctx["sb"], EXTR_PREFIX_ALL, "sb"); // slower + $sb_0 = $this->bctx["sb"][0]; + $sb_1 = $this->bctx["sb"][1]; + $sb_2 = $this->bctx["sb"][2]; + $sb_3 = $this->bctx["sb"][3]; + + $in = unpack("N*", $in); + $l = $in[1]; + $r = $in[2]; + + for ($i = 0; $i < 16; $i+= 2) { + $l^= $p[$i]; + $r^= ($sb_0[$l >> 24 & 0xff] + + $sb_1[$l >> 16 & 0xff] ^ + $sb_2[$l >> 8 & 0xff]) + + $sb_3[$l & 0xff]; + + $r^= $p[$i + 1]; + $l^= ($sb_0[$r >> 24 & 0xff] + + $sb_1[$r >> 16 & 0xff] ^ + $sb_2[$r >> 8 & 0xff]) + + $sb_3[$r & 0xff]; + } + return pack("N*", $r ^ $p[17], $l ^ $p[16]); + } + + /** + * Decrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _decryptBlock($in) + { + $p = $this->bctx["p"]; + $sb_0 = $this->bctx["sb"][0]; + $sb_1 = $this->bctx["sb"][1]; + $sb_2 = $this->bctx["sb"][2]; + $sb_3 = $this->bctx["sb"][3]; + + $in = unpack("N*", $in); + $l = $in[1]; + $r = $in[2]; + + for ($i = 17; $i > 2; $i-= 2) { + $l^= $p[$i]; + $r^= ($sb_0[$l >> 24 & 0xff] + + $sb_1[$l >> 16 & 0xff] ^ + $sb_2[$l >> 8 & 0xff]) + + $sb_3[$l & 0xff]; + + $r^= $p[$i - 1]; + $l^= ($sb_0[$r >> 24 & 0xff] + + $sb_1[$r >> 16 & 0xff] ^ + $sb_2[$r >> 8 & 0xff]) + + $sb_3[$r & 0xff]; + } + return pack("N*", $r ^ $p[0], $l ^ $p[1]); + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * @see \phpseclib\Crypt\Base::_setupInlineCrypt() + * @access private + */ + function _setupInlineCrypt() + { + $lambda_functions =& self::_getLambdaFunctions(); + + // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function. + // (Currently, for Blowfish, one generated $lambda_function cost on php5.5@32bit ~100kb unfreeable mem and ~180kb on php5.5@64bit) + // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one. + $gen_hi_opt_code = (bool)(count($lambda_functions) < 10); + + // Generation of a unique hash for our generated code + $code_hash = "Crypt_Blowfish, {$this->mode}"; + if ($gen_hi_opt_code) { + $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key); + } + + if (!isset($lambda_functions[$code_hash])) { + switch (true) { + case $gen_hi_opt_code: + $p = $this->bctx['p']; + $init_crypt = ' + static $sb_0, $sb_1, $sb_2, $sb_3; + if (!$sb_0) { + $sb_0 = $self->bctx["sb"][0]; + $sb_1 = $self->bctx["sb"][1]; + $sb_2 = $self->bctx["sb"][2]; + $sb_3 = $self->bctx["sb"][3]; + } + '; + break; + default: + $p = array(); + for ($i = 0; $i < 18; ++$i) { + $p[] = '$p_' . $i; + } + $init_crypt = ' + list($sb_0, $sb_1, $sb_2, $sb_3) = $self->bctx["sb"]; + list(' . implode(',', $p) . ') = $self->bctx["p"]; + + '; + } + + // Generating encrypt code: + $encrypt_block = ' + $in = unpack("N*", $in); + $l = $in[1]; + $r = $in[2]; + '; + for ($i = 0; $i < 16; $i+= 2) { + $encrypt_block.= ' + $l^= ' . $p[$i] . '; + $r^= ($sb_0[$l >> 24 & 0xff] + + $sb_1[$l >> 16 & 0xff] ^ + $sb_2[$l >> 8 & 0xff]) + + $sb_3[$l & 0xff]; + + $r^= ' . $p[$i + 1] . '; + $l^= ($sb_0[$r >> 24 & 0xff] + + $sb_1[$r >> 16 & 0xff] ^ + $sb_2[$r >> 8 & 0xff]) + + $sb_3[$r & 0xff]; + '; + } + $encrypt_block.= ' + $in = pack("N*", + $r ^ ' . $p[17] . ', + $l ^ ' . $p[16] . ' + ); + '; + + // Generating decrypt code: + $decrypt_block = ' + $in = unpack("N*", $in); + $l = $in[1]; + $r = $in[2]; + '; + + for ($i = 17; $i > 2; $i-= 2) { + $decrypt_block.= ' + $l^= ' . $p[$i] . '; + $r^= ($sb_0[$l >> 24 & 0xff] + + $sb_1[$l >> 16 & 0xff] ^ + $sb_2[$l >> 8 & 0xff]) + + $sb_3[$l & 0xff]; + + $r^= ' . $p[$i - 1] . '; + $l^= ($sb_0[$r >> 24 & 0xff] + + $sb_1[$r >> 16 & 0xff] ^ + $sb_2[$r >> 8 & 0xff]) + + $sb_3[$r & 0xff]; + '; + } + + $decrypt_block.= ' + $in = pack("N*", + $r ^ ' . $p[0] . ', + $l ^ ' . $p[1] . ' + ); + '; + + $lambda_functions[$code_hash] = $this->_createInlineCryptFunction( + array( + 'init_crypt' => $init_crypt, + 'init_encrypt' => '', + 'init_decrypt' => '', + 'encrypt_block' => $encrypt_block, + 'decrypt_block' => $decrypt_block + ) + ); + } + $this->inline_crypt = $lambda_functions[$code_hash]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php new file mode 100644 index 00000000..51220469 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/DES.php @@ -0,0 +1,1443 @@ + + * setKey('abcdefgh'); + * + * $size = 10 * 1024; + * $plaintext = ''; + * for ($i = 0; $i < $size; $i++) { + * $plaintext.= 'a'; + * } + * + * echo $des->decrypt($des->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package DES + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of DES. + * + * @package DES + * @author Jim Wigginton + * @access public + */ +class DES extends Base +{ + /**#@+ + * @access private + * @see \phpseclib\Crypt\DES::_setupKey() + * @see \phpseclib\Crypt\DES::_processBlock() + */ + /** + * Contains $keys[self::ENCRYPT] + */ + const ENCRYPT = 0; + /** + * Contains $keys[self::DECRYPT] + */ + const DECRYPT = 1; + /**#@-*/ + + /** + * Block Length of the cipher + * + * @see \phpseclib\Crypt\Base::block_size + * @var int + * @access private + */ + var $block_size = 8; + + /** + * Key Length (in bytes) + * + * @see \phpseclib\Crypt\Base::setKeyLength() + * @var int + * @access private + */ + var $key_length = 8; + + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'des'; + + /** + * The OpenSSL names of the cipher / modes + * + * @see \phpseclib\Crypt\Base::openssl_mode_names + * @var array + * @access private + */ + var $openssl_mode_names = array( + self::MODE_ECB => 'des-ecb', + self::MODE_CBC => 'des-cbc', + self::MODE_CFB => 'des-cfb', + self::MODE_OFB => 'des-ofb' + // self::MODE_CTR is undefined for DES + ); + + /** + * Optimizing value while CFB-encrypting + * + * @see \phpseclib\Crypt\Base::cfb_init_len + * @var int + * @access private + */ + var $cfb_init_len = 500; + + /** + * Switch for DES/3DES encryption + * + * Used only if $engine == self::ENGINE_INTERNAL + * + * @see self::_setupKey() + * @see self::_processBlock() + * @var int + * @access private + */ + var $des_rounds = 1; + + /** + * max possible size of $key + * + * @see self::setKey() + * @var string + * @access private + */ + var $key_length_max = 8; + + /** + * The Key Schedule + * + * @see self::_setupKey() + * @var array + * @access private + */ + var $keys; + + /** + * Shuffle table. + * + * For each byte value index, the entry holds an 8-byte string + * with each byte containing all bits in the same state as the + * corresponding bit in the index value. + * + * @see self::_processBlock() + * @see self::_setupKey() + * @var array + * @access private + */ + var $shuffle = array( + "\x00\x00\x00\x00\x00\x00\x00\x00", "\x00\x00\x00\x00\x00\x00\x00\xFF", + "\x00\x00\x00\x00\x00\x00\xFF\x00", "\x00\x00\x00\x00\x00\x00\xFF\xFF", + "\x00\x00\x00\x00\x00\xFF\x00\x00", "\x00\x00\x00\x00\x00\xFF\x00\xFF", + "\x00\x00\x00\x00\x00\xFF\xFF\x00", "\x00\x00\x00\x00\x00\xFF\xFF\xFF", + "\x00\x00\x00\x00\xFF\x00\x00\x00", "\x00\x00\x00\x00\xFF\x00\x00\xFF", + "\x00\x00\x00\x00\xFF\x00\xFF\x00", "\x00\x00\x00\x00\xFF\x00\xFF\xFF", + "\x00\x00\x00\x00\xFF\xFF\x00\x00", "\x00\x00\x00\x00\xFF\xFF\x00\xFF", + "\x00\x00\x00\x00\xFF\xFF\xFF\x00", "\x00\x00\x00\x00\xFF\xFF\xFF\xFF", + "\x00\x00\x00\xFF\x00\x00\x00\x00", "\x00\x00\x00\xFF\x00\x00\x00\xFF", + "\x00\x00\x00\xFF\x00\x00\xFF\x00", "\x00\x00\x00\xFF\x00\x00\xFF\xFF", + "\x00\x00\x00\xFF\x00\xFF\x00\x00", "\x00\x00\x00\xFF\x00\xFF\x00\xFF", + "\x00\x00\x00\xFF\x00\xFF\xFF\x00", "\x00\x00\x00\xFF\x00\xFF\xFF\xFF", + "\x00\x00\x00\xFF\xFF\x00\x00\x00", "\x00\x00\x00\xFF\xFF\x00\x00\xFF", + "\x00\x00\x00\xFF\xFF\x00\xFF\x00", "\x00\x00\x00\xFF\xFF\x00\xFF\xFF", + "\x00\x00\x00\xFF\xFF\xFF\x00\x00", "\x00\x00\x00\xFF\xFF\xFF\x00\xFF", + "\x00\x00\x00\xFF\xFF\xFF\xFF\x00", "\x00\x00\x00\xFF\xFF\xFF\xFF\xFF", + "\x00\x00\xFF\x00\x00\x00\x00\x00", "\x00\x00\xFF\x00\x00\x00\x00\xFF", + "\x00\x00\xFF\x00\x00\x00\xFF\x00", "\x00\x00\xFF\x00\x00\x00\xFF\xFF", + "\x00\x00\xFF\x00\x00\xFF\x00\x00", "\x00\x00\xFF\x00\x00\xFF\x00\xFF", + "\x00\x00\xFF\x00\x00\xFF\xFF\x00", "\x00\x00\xFF\x00\x00\xFF\xFF\xFF", + "\x00\x00\xFF\x00\xFF\x00\x00\x00", "\x00\x00\xFF\x00\xFF\x00\x00\xFF", + "\x00\x00\xFF\x00\xFF\x00\xFF\x00", "\x00\x00\xFF\x00\xFF\x00\xFF\xFF", + "\x00\x00\xFF\x00\xFF\xFF\x00\x00", "\x00\x00\xFF\x00\xFF\xFF\x00\xFF", + "\x00\x00\xFF\x00\xFF\xFF\xFF\x00", "\x00\x00\xFF\x00\xFF\xFF\xFF\xFF", + "\x00\x00\xFF\xFF\x00\x00\x00\x00", "\x00\x00\xFF\xFF\x00\x00\x00\xFF", + "\x00\x00\xFF\xFF\x00\x00\xFF\x00", "\x00\x00\xFF\xFF\x00\x00\xFF\xFF", + "\x00\x00\xFF\xFF\x00\xFF\x00\x00", "\x00\x00\xFF\xFF\x00\xFF\x00\xFF", + "\x00\x00\xFF\xFF\x00\xFF\xFF\x00", "\x00\x00\xFF\xFF\x00\xFF\xFF\xFF", + "\x00\x00\xFF\xFF\xFF\x00\x00\x00", "\x00\x00\xFF\xFF\xFF\x00\x00\xFF", + "\x00\x00\xFF\xFF\xFF\x00\xFF\x00", "\x00\x00\xFF\xFF\xFF\x00\xFF\xFF", + "\x00\x00\xFF\xFF\xFF\xFF\x00\x00", "\x00\x00\xFF\xFF\xFF\xFF\x00\xFF", + "\x00\x00\xFF\xFF\xFF\xFF\xFF\x00", "\x00\x00\xFF\xFF\xFF\xFF\xFF\xFF", + "\x00\xFF\x00\x00\x00\x00\x00\x00", "\x00\xFF\x00\x00\x00\x00\x00\xFF", + "\x00\xFF\x00\x00\x00\x00\xFF\x00", "\x00\xFF\x00\x00\x00\x00\xFF\xFF", + "\x00\xFF\x00\x00\x00\xFF\x00\x00", "\x00\xFF\x00\x00\x00\xFF\x00\xFF", + "\x00\xFF\x00\x00\x00\xFF\xFF\x00", "\x00\xFF\x00\x00\x00\xFF\xFF\xFF", + "\x00\xFF\x00\x00\xFF\x00\x00\x00", "\x00\xFF\x00\x00\xFF\x00\x00\xFF", + "\x00\xFF\x00\x00\xFF\x00\xFF\x00", "\x00\xFF\x00\x00\xFF\x00\xFF\xFF", + "\x00\xFF\x00\x00\xFF\xFF\x00\x00", "\x00\xFF\x00\x00\xFF\xFF\x00\xFF", + "\x00\xFF\x00\x00\xFF\xFF\xFF\x00", "\x00\xFF\x00\x00\xFF\xFF\xFF\xFF", + "\x00\xFF\x00\xFF\x00\x00\x00\x00", "\x00\xFF\x00\xFF\x00\x00\x00\xFF", + "\x00\xFF\x00\xFF\x00\x00\xFF\x00", "\x00\xFF\x00\xFF\x00\x00\xFF\xFF", + "\x00\xFF\x00\xFF\x00\xFF\x00\x00", "\x00\xFF\x00\xFF\x00\xFF\x00\xFF", + "\x00\xFF\x00\xFF\x00\xFF\xFF\x00", "\x00\xFF\x00\xFF\x00\xFF\xFF\xFF", + "\x00\xFF\x00\xFF\xFF\x00\x00\x00", "\x00\xFF\x00\xFF\xFF\x00\x00\xFF", + "\x00\xFF\x00\xFF\xFF\x00\xFF\x00", "\x00\xFF\x00\xFF\xFF\x00\xFF\xFF", + "\x00\xFF\x00\xFF\xFF\xFF\x00\x00", "\x00\xFF\x00\xFF\xFF\xFF\x00\xFF", + "\x00\xFF\x00\xFF\xFF\xFF\xFF\x00", "\x00\xFF\x00\xFF\xFF\xFF\xFF\xFF", + "\x00\xFF\xFF\x00\x00\x00\x00\x00", "\x00\xFF\xFF\x00\x00\x00\x00\xFF", + "\x00\xFF\xFF\x00\x00\x00\xFF\x00", "\x00\xFF\xFF\x00\x00\x00\xFF\xFF", + "\x00\xFF\xFF\x00\x00\xFF\x00\x00", "\x00\xFF\xFF\x00\x00\xFF\x00\xFF", + "\x00\xFF\xFF\x00\x00\xFF\xFF\x00", "\x00\xFF\xFF\x00\x00\xFF\xFF\xFF", + "\x00\xFF\xFF\x00\xFF\x00\x00\x00", "\x00\xFF\xFF\x00\xFF\x00\x00\xFF", + "\x00\xFF\xFF\x00\xFF\x00\xFF\x00", "\x00\xFF\xFF\x00\xFF\x00\xFF\xFF", + "\x00\xFF\xFF\x00\xFF\xFF\x00\x00", "\x00\xFF\xFF\x00\xFF\xFF\x00\xFF", + "\x00\xFF\xFF\x00\xFF\xFF\xFF\x00", "\x00\xFF\xFF\x00\xFF\xFF\xFF\xFF", + "\x00\xFF\xFF\xFF\x00\x00\x00\x00", "\x00\xFF\xFF\xFF\x00\x00\x00\xFF", + "\x00\xFF\xFF\xFF\x00\x00\xFF\x00", "\x00\xFF\xFF\xFF\x00\x00\xFF\xFF", + "\x00\xFF\xFF\xFF\x00\xFF\x00\x00", "\x00\xFF\xFF\xFF\x00\xFF\x00\xFF", + "\x00\xFF\xFF\xFF\x00\xFF\xFF\x00", "\x00\xFF\xFF\xFF\x00\xFF\xFF\xFF", + "\x00\xFF\xFF\xFF\xFF\x00\x00\x00", "\x00\xFF\xFF\xFF\xFF\x00\x00\xFF", + "\x00\xFF\xFF\xFF\xFF\x00\xFF\x00", "\x00\xFF\xFF\xFF\xFF\x00\xFF\xFF", + "\x00\xFF\xFF\xFF\xFF\xFF\x00\x00", "\x00\xFF\xFF\xFF\xFF\xFF\x00\xFF", + "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", "\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF", + "\xFF\x00\x00\x00\x00\x00\x00\x00", "\xFF\x00\x00\x00\x00\x00\x00\xFF", + "\xFF\x00\x00\x00\x00\x00\xFF\x00", "\xFF\x00\x00\x00\x00\x00\xFF\xFF", + "\xFF\x00\x00\x00\x00\xFF\x00\x00", "\xFF\x00\x00\x00\x00\xFF\x00\xFF", + "\xFF\x00\x00\x00\x00\xFF\xFF\x00", "\xFF\x00\x00\x00\x00\xFF\xFF\xFF", + "\xFF\x00\x00\x00\xFF\x00\x00\x00", "\xFF\x00\x00\x00\xFF\x00\x00\xFF", + "\xFF\x00\x00\x00\xFF\x00\xFF\x00", "\xFF\x00\x00\x00\xFF\x00\xFF\xFF", + "\xFF\x00\x00\x00\xFF\xFF\x00\x00", "\xFF\x00\x00\x00\xFF\xFF\x00\xFF", + "\xFF\x00\x00\x00\xFF\xFF\xFF\x00", "\xFF\x00\x00\x00\xFF\xFF\xFF\xFF", + "\xFF\x00\x00\xFF\x00\x00\x00\x00", "\xFF\x00\x00\xFF\x00\x00\x00\xFF", + "\xFF\x00\x00\xFF\x00\x00\xFF\x00", "\xFF\x00\x00\xFF\x00\x00\xFF\xFF", + "\xFF\x00\x00\xFF\x00\xFF\x00\x00", "\xFF\x00\x00\xFF\x00\xFF\x00\xFF", + "\xFF\x00\x00\xFF\x00\xFF\xFF\x00", "\xFF\x00\x00\xFF\x00\xFF\xFF\xFF", + "\xFF\x00\x00\xFF\xFF\x00\x00\x00", "\xFF\x00\x00\xFF\xFF\x00\x00\xFF", + "\xFF\x00\x00\xFF\xFF\x00\xFF\x00", "\xFF\x00\x00\xFF\xFF\x00\xFF\xFF", + "\xFF\x00\x00\xFF\xFF\xFF\x00\x00", "\xFF\x00\x00\xFF\xFF\xFF\x00\xFF", + "\xFF\x00\x00\xFF\xFF\xFF\xFF\x00", "\xFF\x00\x00\xFF\xFF\xFF\xFF\xFF", + "\xFF\x00\xFF\x00\x00\x00\x00\x00", "\xFF\x00\xFF\x00\x00\x00\x00\xFF", + "\xFF\x00\xFF\x00\x00\x00\xFF\x00", "\xFF\x00\xFF\x00\x00\x00\xFF\xFF", + "\xFF\x00\xFF\x00\x00\xFF\x00\x00", "\xFF\x00\xFF\x00\x00\xFF\x00\xFF", + "\xFF\x00\xFF\x00\x00\xFF\xFF\x00", "\xFF\x00\xFF\x00\x00\xFF\xFF\xFF", + "\xFF\x00\xFF\x00\xFF\x00\x00\x00", "\xFF\x00\xFF\x00\xFF\x00\x00\xFF", + "\xFF\x00\xFF\x00\xFF\x00\xFF\x00", "\xFF\x00\xFF\x00\xFF\x00\xFF\xFF", + "\xFF\x00\xFF\x00\xFF\xFF\x00\x00", "\xFF\x00\xFF\x00\xFF\xFF\x00\xFF", + "\xFF\x00\xFF\x00\xFF\xFF\xFF\x00", "\xFF\x00\xFF\x00\xFF\xFF\xFF\xFF", + "\xFF\x00\xFF\xFF\x00\x00\x00\x00", "\xFF\x00\xFF\xFF\x00\x00\x00\xFF", + "\xFF\x00\xFF\xFF\x00\x00\xFF\x00", "\xFF\x00\xFF\xFF\x00\x00\xFF\xFF", + "\xFF\x00\xFF\xFF\x00\xFF\x00\x00", "\xFF\x00\xFF\xFF\x00\xFF\x00\xFF", + "\xFF\x00\xFF\xFF\x00\xFF\xFF\x00", "\xFF\x00\xFF\xFF\x00\xFF\xFF\xFF", + "\xFF\x00\xFF\xFF\xFF\x00\x00\x00", "\xFF\x00\xFF\xFF\xFF\x00\x00\xFF", + "\xFF\x00\xFF\xFF\xFF\x00\xFF\x00", "\xFF\x00\xFF\xFF\xFF\x00\xFF\xFF", + "\xFF\x00\xFF\xFF\xFF\xFF\x00\x00", "\xFF\x00\xFF\xFF\xFF\xFF\x00\xFF", + "\xFF\x00\xFF\xFF\xFF\xFF\xFF\x00", "\xFF\x00\xFF\xFF\xFF\xFF\xFF\xFF", + "\xFF\xFF\x00\x00\x00\x00\x00\x00", "\xFF\xFF\x00\x00\x00\x00\x00\xFF", + "\xFF\xFF\x00\x00\x00\x00\xFF\x00", "\xFF\xFF\x00\x00\x00\x00\xFF\xFF", + "\xFF\xFF\x00\x00\x00\xFF\x00\x00", "\xFF\xFF\x00\x00\x00\xFF\x00\xFF", + "\xFF\xFF\x00\x00\x00\xFF\xFF\x00", "\xFF\xFF\x00\x00\x00\xFF\xFF\xFF", + "\xFF\xFF\x00\x00\xFF\x00\x00\x00", "\xFF\xFF\x00\x00\xFF\x00\x00\xFF", + "\xFF\xFF\x00\x00\xFF\x00\xFF\x00", "\xFF\xFF\x00\x00\xFF\x00\xFF\xFF", + "\xFF\xFF\x00\x00\xFF\xFF\x00\x00", "\xFF\xFF\x00\x00\xFF\xFF\x00\xFF", + "\xFF\xFF\x00\x00\xFF\xFF\xFF\x00", "\xFF\xFF\x00\x00\xFF\xFF\xFF\xFF", + "\xFF\xFF\x00\xFF\x00\x00\x00\x00", "\xFF\xFF\x00\xFF\x00\x00\x00\xFF", + "\xFF\xFF\x00\xFF\x00\x00\xFF\x00", "\xFF\xFF\x00\xFF\x00\x00\xFF\xFF", + "\xFF\xFF\x00\xFF\x00\xFF\x00\x00", "\xFF\xFF\x00\xFF\x00\xFF\x00\xFF", + "\xFF\xFF\x00\xFF\x00\xFF\xFF\x00", "\xFF\xFF\x00\xFF\x00\xFF\xFF\xFF", + "\xFF\xFF\x00\xFF\xFF\x00\x00\x00", "\xFF\xFF\x00\xFF\xFF\x00\x00\xFF", + "\xFF\xFF\x00\xFF\xFF\x00\xFF\x00", "\xFF\xFF\x00\xFF\xFF\x00\xFF\xFF", + "\xFF\xFF\x00\xFF\xFF\xFF\x00\x00", "\xFF\xFF\x00\xFF\xFF\xFF\x00\xFF", + "\xFF\xFF\x00\xFF\xFF\xFF\xFF\x00", "\xFF\xFF\x00\xFF\xFF\xFF\xFF\xFF", + "\xFF\xFF\xFF\x00\x00\x00\x00\x00", "\xFF\xFF\xFF\x00\x00\x00\x00\xFF", + "\xFF\xFF\xFF\x00\x00\x00\xFF\x00", "\xFF\xFF\xFF\x00\x00\x00\xFF\xFF", + "\xFF\xFF\xFF\x00\x00\xFF\x00\x00", "\xFF\xFF\xFF\x00\x00\xFF\x00\xFF", + "\xFF\xFF\xFF\x00\x00\xFF\xFF\x00", "\xFF\xFF\xFF\x00\x00\xFF\xFF\xFF", + "\xFF\xFF\xFF\x00\xFF\x00\x00\x00", "\xFF\xFF\xFF\x00\xFF\x00\x00\xFF", + "\xFF\xFF\xFF\x00\xFF\x00\xFF\x00", "\xFF\xFF\xFF\x00\xFF\x00\xFF\xFF", + "\xFF\xFF\xFF\x00\xFF\xFF\x00\x00", "\xFF\xFF\xFF\x00\xFF\xFF\x00\xFF", + "\xFF\xFF\xFF\x00\xFF\xFF\xFF\x00", "\xFF\xFF\xFF\x00\xFF\xFF\xFF\xFF", + "\xFF\xFF\xFF\xFF\x00\x00\x00\x00", "\xFF\xFF\xFF\xFF\x00\x00\x00\xFF", + "\xFF\xFF\xFF\xFF\x00\x00\xFF\x00", "\xFF\xFF\xFF\xFF\x00\x00\xFF\xFF", + "\xFF\xFF\xFF\xFF\x00\xFF\x00\x00", "\xFF\xFF\xFF\xFF\x00\xFF\x00\xFF", + "\xFF\xFF\xFF\xFF\x00\xFF\xFF\x00", "\xFF\xFF\xFF\xFF\x00\xFF\xFF\xFF", + "\xFF\xFF\xFF\xFF\xFF\x00\x00\x00", "\xFF\xFF\xFF\xFF\xFF\x00\x00\xFF", + "\xFF\xFF\xFF\xFF\xFF\x00\xFF\x00", "\xFF\xFF\xFF\xFF\xFF\x00\xFF\xFF", + "\xFF\xFF\xFF\xFF\xFF\xFF\x00\x00", "\xFF\xFF\xFF\xFF\xFF\xFF\x00\xFF", + "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00", "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" + ); + + /** + * IP mapping helper table. + * + * Indexing this table with each source byte performs the initial bit permutation. + * + * @var array + * @access private + */ + var $ipmap = array( + 0x00, 0x10, 0x01, 0x11, 0x20, 0x30, 0x21, 0x31, + 0x02, 0x12, 0x03, 0x13, 0x22, 0x32, 0x23, 0x33, + 0x40, 0x50, 0x41, 0x51, 0x60, 0x70, 0x61, 0x71, + 0x42, 0x52, 0x43, 0x53, 0x62, 0x72, 0x63, 0x73, + 0x04, 0x14, 0x05, 0x15, 0x24, 0x34, 0x25, 0x35, + 0x06, 0x16, 0x07, 0x17, 0x26, 0x36, 0x27, 0x37, + 0x44, 0x54, 0x45, 0x55, 0x64, 0x74, 0x65, 0x75, + 0x46, 0x56, 0x47, 0x57, 0x66, 0x76, 0x67, 0x77, + 0x80, 0x90, 0x81, 0x91, 0xA0, 0xB0, 0xA1, 0xB1, + 0x82, 0x92, 0x83, 0x93, 0xA2, 0xB2, 0xA3, 0xB3, + 0xC0, 0xD0, 0xC1, 0xD1, 0xE0, 0xF0, 0xE1, 0xF1, + 0xC2, 0xD2, 0xC3, 0xD3, 0xE2, 0xF2, 0xE3, 0xF3, + 0x84, 0x94, 0x85, 0x95, 0xA4, 0xB4, 0xA5, 0xB5, + 0x86, 0x96, 0x87, 0x97, 0xA6, 0xB6, 0xA7, 0xB7, + 0xC4, 0xD4, 0xC5, 0xD5, 0xE4, 0xF4, 0xE5, 0xF5, + 0xC6, 0xD6, 0xC7, 0xD7, 0xE6, 0xF6, 0xE7, 0xF7, + 0x08, 0x18, 0x09, 0x19, 0x28, 0x38, 0x29, 0x39, + 0x0A, 0x1A, 0x0B, 0x1B, 0x2A, 0x3A, 0x2B, 0x3B, + 0x48, 0x58, 0x49, 0x59, 0x68, 0x78, 0x69, 0x79, + 0x4A, 0x5A, 0x4B, 0x5B, 0x6A, 0x7A, 0x6B, 0x7B, + 0x0C, 0x1C, 0x0D, 0x1D, 0x2C, 0x3C, 0x2D, 0x3D, + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4C, 0x5C, 0x4D, 0x5D, 0x6C, 0x7C, 0x6D, 0x7D, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x88, 0x98, 0x89, 0x99, 0xA8, 0xB8, 0xA9, 0xB9, + 0x8A, 0x9A, 0x8B, 0x9B, 0xAA, 0xBA, 0xAB, 0xBB, + 0xC8, 0xD8, 0xC9, 0xD9, 0xE8, 0xF8, 0xE9, 0xF9, + 0xCA, 0xDA, 0xCB, 0xDB, 0xEA, 0xFA, 0xEB, 0xFB, + 0x8C, 0x9C, 0x8D, 0x9D, 0xAC, 0xBC, 0xAD, 0xBD, + 0x8E, 0x9E, 0x8F, 0x9F, 0xAE, 0xBE, 0xAF, 0xBF, + 0xCC, 0xDC, 0xCD, 0xDD, 0xEC, 0xFC, 0xED, 0xFD, + 0xCE, 0xDE, 0xCF, 0xDF, 0xEE, 0xFE, 0xEF, 0xFF + ); + + /** + * Inverse IP mapping helper table. + * Indexing this table with a byte value reverses the bit order. + * + * @var array + * @access private + */ + var $invipmap = array( + 0x00, 0x80, 0x40, 0xC0, 0x20, 0xA0, 0x60, 0xE0, + 0x10, 0x90, 0x50, 0xD0, 0x30, 0xB0, 0x70, 0xF0, + 0x08, 0x88, 0x48, 0xC8, 0x28, 0xA8, 0x68, 0xE8, + 0x18, 0x98, 0x58, 0xD8, 0x38, 0xB8, 0x78, 0xF8, + 0x04, 0x84, 0x44, 0xC4, 0x24, 0xA4, 0x64, 0xE4, + 0x14, 0x94, 0x54, 0xD4, 0x34, 0xB4, 0x74, 0xF4, + 0x0C, 0x8C, 0x4C, 0xCC, 0x2C, 0xAC, 0x6C, 0xEC, + 0x1C, 0x9C, 0x5C, 0xDC, 0x3C, 0xBC, 0x7C, 0xFC, + 0x02, 0x82, 0x42, 0xC2, 0x22, 0xA2, 0x62, 0xE2, + 0x12, 0x92, 0x52, 0xD2, 0x32, 0xB2, 0x72, 0xF2, + 0x0A, 0x8A, 0x4A, 0xCA, 0x2A, 0xAA, 0x6A, 0xEA, + 0x1A, 0x9A, 0x5A, 0xDA, 0x3A, 0xBA, 0x7A, 0xFA, + 0x06, 0x86, 0x46, 0xC6, 0x26, 0xA6, 0x66, 0xE6, + 0x16, 0x96, 0x56, 0xD6, 0x36, 0xB6, 0x76, 0xF6, + 0x0E, 0x8E, 0x4E, 0xCE, 0x2E, 0xAE, 0x6E, 0xEE, + 0x1E, 0x9E, 0x5E, 0xDE, 0x3E, 0xBE, 0x7E, 0xFE, + 0x01, 0x81, 0x41, 0xC1, 0x21, 0xA1, 0x61, 0xE1, + 0x11, 0x91, 0x51, 0xD1, 0x31, 0xB1, 0x71, 0xF1, + 0x09, 0x89, 0x49, 0xC9, 0x29, 0xA9, 0x69, 0xE9, + 0x19, 0x99, 0x59, 0xD9, 0x39, 0xB9, 0x79, 0xF9, + 0x05, 0x85, 0x45, 0xC5, 0x25, 0xA5, 0x65, 0xE5, + 0x15, 0x95, 0x55, 0xD5, 0x35, 0xB5, 0x75, 0xF5, + 0x0D, 0x8D, 0x4D, 0xCD, 0x2D, 0xAD, 0x6D, 0xED, + 0x1D, 0x9D, 0x5D, 0xDD, 0x3D, 0xBD, 0x7D, 0xFD, + 0x03, 0x83, 0x43, 0xC3, 0x23, 0xA3, 0x63, 0xE3, + 0x13, 0x93, 0x53, 0xD3, 0x33, 0xB3, 0x73, 0xF3, + 0x0B, 0x8B, 0x4B, 0xCB, 0x2B, 0xAB, 0x6B, 0xEB, + 0x1B, 0x9B, 0x5B, 0xDB, 0x3B, 0xBB, 0x7B, 0xFB, + 0x07, 0x87, 0x47, 0xC7, 0x27, 0xA7, 0x67, 0xE7, + 0x17, 0x97, 0x57, 0xD7, 0x37, 0xB7, 0x77, 0xF7, + 0x0F, 0x8F, 0x4F, 0xCF, 0x2F, 0xAF, 0x6F, 0xEF, + 0x1F, 0x9F, 0x5F, 0xDF, 0x3F, 0xBF, 0x7F, 0xFF + ); + + /** + * Pre-permuted S-box1 + * + * Each box ($sbox1-$sbox8) has been vectorized, then each value pre-permuted using the + * P table: concatenation can then be replaced by exclusive ORs. + * + * @var array + * @access private + */ + var $sbox1 = array( + 0x00808200, 0x00000000, 0x00008000, 0x00808202, + 0x00808002, 0x00008202, 0x00000002, 0x00008000, + 0x00000200, 0x00808200, 0x00808202, 0x00000200, + 0x00800202, 0x00808002, 0x00800000, 0x00000002, + 0x00000202, 0x00800200, 0x00800200, 0x00008200, + 0x00008200, 0x00808000, 0x00808000, 0x00800202, + 0x00008002, 0x00800002, 0x00800002, 0x00008002, + 0x00000000, 0x00000202, 0x00008202, 0x00800000, + 0x00008000, 0x00808202, 0x00000002, 0x00808000, + 0x00808200, 0x00800000, 0x00800000, 0x00000200, + 0x00808002, 0x00008000, 0x00008200, 0x00800002, + 0x00000200, 0x00000002, 0x00800202, 0x00008202, + 0x00808202, 0x00008002, 0x00808000, 0x00800202, + 0x00800002, 0x00000202, 0x00008202, 0x00808200, + 0x00000202, 0x00800200, 0x00800200, 0x00000000, + 0x00008002, 0x00008200, 0x00000000, 0x00808002 + ); + + /** + * Pre-permuted S-box2 + * + * @var array + * @access private + */ + var $sbox2 = array( + 0x40084010, 0x40004000, 0x00004000, 0x00084010, + 0x00080000, 0x00000010, 0x40080010, 0x40004010, + 0x40000010, 0x40084010, 0x40084000, 0x40000000, + 0x40004000, 0x00080000, 0x00000010, 0x40080010, + 0x00084000, 0x00080010, 0x40004010, 0x00000000, + 0x40000000, 0x00004000, 0x00084010, 0x40080000, + 0x00080010, 0x40000010, 0x00000000, 0x00084000, + 0x00004010, 0x40084000, 0x40080000, 0x00004010, + 0x00000000, 0x00084010, 0x40080010, 0x00080000, + 0x40004010, 0x40080000, 0x40084000, 0x00004000, + 0x40080000, 0x40004000, 0x00000010, 0x40084010, + 0x00084010, 0x00000010, 0x00004000, 0x40000000, + 0x00004010, 0x40084000, 0x00080000, 0x40000010, + 0x00080010, 0x40004010, 0x40000010, 0x00080010, + 0x00084000, 0x00000000, 0x40004000, 0x00004010, + 0x40000000, 0x40080010, 0x40084010, 0x00084000 + ); + + /** + * Pre-permuted S-box3 + * + * @var array + * @access private + */ + var $sbox3 = array( + 0x00000104, 0x04010100, 0x00000000, 0x04010004, + 0x04000100, 0x00000000, 0x00010104, 0x04000100, + 0x00010004, 0x04000004, 0x04000004, 0x00010000, + 0x04010104, 0x00010004, 0x04010000, 0x00000104, + 0x04000000, 0x00000004, 0x04010100, 0x00000100, + 0x00010100, 0x04010000, 0x04010004, 0x00010104, + 0x04000104, 0x00010100, 0x00010000, 0x04000104, + 0x00000004, 0x04010104, 0x00000100, 0x04000000, + 0x04010100, 0x04000000, 0x00010004, 0x00000104, + 0x00010000, 0x04010100, 0x04000100, 0x00000000, + 0x00000100, 0x00010004, 0x04010104, 0x04000100, + 0x04000004, 0x00000100, 0x00000000, 0x04010004, + 0x04000104, 0x00010000, 0x04000000, 0x04010104, + 0x00000004, 0x00010104, 0x00010100, 0x04000004, + 0x04010000, 0x04000104, 0x00000104, 0x04010000, + 0x00010104, 0x00000004, 0x04010004, 0x00010100 + ); + + /** + * Pre-permuted S-box4 + * + * @var array + * @access private + */ + var $sbox4 = array( + 0x80401000, 0x80001040, 0x80001040, 0x00000040, + 0x00401040, 0x80400040, 0x80400000, 0x80001000, + 0x00000000, 0x00401000, 0x00401000, 0x80401040, + 0x80000040, 0x00000000, 0x00400040, 0x80400000, + 0x80000000, 0x00001000, 0x00400000, 0x80401000, + 0x00000040, 0x00400000, 0x80001000, 0x00001040, + 0x80400040, 0x80000000, 0x00001040, 0x00400040, + 0x00001000, 0x00401040, 0x80401040, 0x80000040, + 0x00400040, 0x80400000, 0x00401000, 0x80401040, + 0x80000040, 0x00000000, 0x00000000, 0x00401000, + 0x00001040, 0x00400040, 0x80400040, 0x80000000, + 0x80401000, 0x80001040, 0x80001040, 0x00000040, + 0x80401040, 0x80000040, 0x80000000, 0x00001000, + 0x80400000, 0x80001000, 0x00401040, 0x80400040, + 0x80001000, 0x00001040, 0x00400000, 0x80401000, + 0x00000040, 0x00400000, 0x00001000, 0x00401040 + ); + + /** + * Pre-permuted S-box5 + * + * @var array + * @access private + */ + var $sbox5 = array( + 0x00000080, 0x01040080, 0x01040000, 0x21000080, + 0x00040000, 0x00000080, 0x20000000, 0x01040000, + 0x20040080, 0x00040000, 0x01000080, 0x20040080, + 0x21000080, 0x21040000, 0x00040080, 0x20000000, + 0x01000000, 0x20040000, 0x20040000, 0x00000000, + 0x20000080, 0x21040080, 0x21040080, 0x01000080, + 0x21040000, 0x20000080, 0x00000000, 0x21000000, + 0x01040080, 0x01000000, 0x21000000, 0x00040080, + 0x00040000, 0x21000080, 0x00000080, 0x01000000, + 0x20000000, 0x01040000, 0x21000080, 0x20040080, + 0x01000080, 0x20000000, 0x21040000, 0x01040080, + 0x20040080, 0x00000080, 0x01000000, 0x21040000, + 0x21040080, 0x00040080, 0x21000000, 0x21040080, + 0x01040000, 0x00000000, 0x20040000, 0x21000000, + 0x00040080, 0x01000080, 0x20000080, 0x00040000, + 0x00000000, 0x20040000, 0x01040080, 0x20000080 + ); + + /** + * Pre-permuted S-box6 + * + * @var array + * @access private + */ + var $sbox6 = array( + 0x10000008, 0x10200000, 0x00002000, 0x10202008, + 0x10200000, 0x00000008, 0x10202008, 0x00200000, + 0x10002000, 0x00202008, 0x00200000, 0x10000008, + 0x00200008, 0x10002000, 0x10000000, 0x00002008, + 0x00000000, 0x00200008, 0x10002008, 0x00002000, + 0x00202000, 0x10002008, 0x00000008, 0x10200008, + 0x10200008, 0x00000000, 0x00202008, 0x10202000, + 0x00002008, 0x00202000, 0x10202000, 0x10000000, + 0x10002000, 0x00000008, 0x10200008, 0x00202000, + 0x10202008, 0x00200000, 0x00002008, 0x10000008, + 0x00200000, 0x10002000, 0x10000000, 0x00002008, + 0x10000008, 0x10202008, 0x00202000, 0x10200000, + 0x00202008, 0x10202000, 0x00000000, 0x10200008, + 0x00000008, 0x00002000, 0x10200000, 0x00202008, + 0x00002000, 0x00200008, 0x10002008, 0x00000000, + 0x10202000, 0x10000000, 0x00200008, 0x10002008 + ); + + /** + * Pre-permuted S-box7 + * + * @var array + * @access private + */ + var $sbox7 = array( + 0x00100000, 0x02100001, 0x02000401, 0x00000000, + 0x00000400, 0x02000401, 0x00100401, 0x02100400, + 0x02100401, 0x00100000, 0x00000000, 0x02000001, + 0x00000001, 0x02000000, 0x02100001, 0x00000401, + 0x02000400, 0x00100401, 0x00100001, 0x02000400, + 0x02000001, 0x02100000, 0x02100400, 0x00100001, + 0x02100000, 0x00000400, 0x00000401, 0x02100401, + 0x00100400, 0x00000001, 0x02000000, 0x00100400, + 0x02000000, 0x00100400, 0x00100000, 0x02000401, + 0x02000401, 0x02100001, 0x02100001, 0x00000001, + 0x00100001, 0x02000000, 0x02000400, 0x00100000, + 0x02100400, 0x00000401, 0x00100401, 0x02100400, + 0x00000401, 0x02000001, 0x02100401, 0x02100000, + 0x00100400, 0x00000000, 0x00000001, 0x02100401, + 0x00000000, 0x00100401, 0x02100000, 0x00000400, + 0x02000001, 0x02000400, 0x00000400, 0x00100001 + ); + + /** + * Pre-permuted S-box8 + * + * @var array + * @access private + */ + var $sbox8 = array( + 0x08000820, 0x00000800, 0x00020000, 0x08020820, + 0x08000000, 0x08000820, 0x00000020, 0x08000000, + 0x00020020, 0x08020000, 0x08020820, 0x00020800, + 0x08020800, 0x00020820, 0x00000800, 0x00000020, + 0x08020000, 0x08000020, 0x08000800, 0x00000820, + 0x00020800, 0x00020020, 0x08020020, 0x08020800, + 0x00000820, 0x00000000, 0x00000000, 0x08020020, + 0x08000020, 0x08000800, 0x00020820, 0x00020000, + 0x00020820, 0x00020000, 0x08020800, 0x00000800, + 0x00000020, 0x08020020, 0x00000800, 0x00020820, + 0x08000800, 0x00000020, 0x08000020, 0x08020000, + 0x08020020, 0x08000000, 0x00020000, 0x08000820, + 0x00000000, 0x08020820, 0x00020020, 0x08000020, + 0x08020000, 0x08000800, 0x08000820, 0x00000000, + 0x08020820, 0x00020800, 0x00020800, 0x00000820, + 0x00000820, 0x00020020, 0x08000000, 0x08020800 + ); + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::isValidEngine() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + if ($this->key_length_max == 8) { + if ($engine == self::ENGINE_OPENSSL) { + $this->cipher_name_openssl_ecb = 'des-ecb'; + $this->cipher_name_openssl = 'des-' . $this->_openssl_translate_mode(); + } + } + + return parent::isValidEngine($engine); + } + + /** + * Sets the key. + * + * Keys can be of any length. DES, itself, uses 64-bit keys (eg. strlen($key) == 8), however, we + * only use the first eight, if $key has more then eight characters in it, and pad $key with the + * null byte if it is less then eight characters long. + * + * DES also requires that every eighth bit be a parity bit, however, we'll ignore that. + * + * If the key is not explicitly set, it'll be assumed to be all zero's. + * + * @see \phpseclib\Crypt\Base::setKey() + * @access public + * @param string $key + */ + function setKey($key) + { + // We check/cut here only up to max length of the key. + // Key padding to the proper length will be done in _setupKey() + if (strlen($key) > $this->key_length_max) { + $key = substr($key, 0, $this->key_length_max); + } + + // Sets the key + parent::setKey($key); + } + + /** + * Encrypts a block + * + * @see \phpseclib\Crypt\Base::_encryptBlock() + * @see \phpseclib\Crypt\Base::encrypt() + * @see self::encrypt() + * @access private + * @param string $in + * @return string + */ + function _encryptBlock($in) + { + return $this->_processBlock($in, self::ENCRYPT); + } + + /** + * Decrypts a block + * + * @see \phpseclib\Crypt\Base::_decryptBlock() + * @see \phpseclib\Crypt\Base::decrypt() + * @see self::decrypt() + * @access private + * @param string $in + * @return string + */ + function _decryptBlock($in) + { + return $this->_processBlock($in, self::DECRYPT); + } + + /** + * Encrypts or decrypts a 64-bit block + * + * $mode should be either self::ENCRYPT or self::DECRYPT. See + * {@link http://en.wikipedia.org/wiki/Image:Feistel.png Feistel.png} to get a general + * idea of what this function does. + * + * @see self::_encryptBlock() + * @see self::_decryptBlock() + * @access private + * @param string $block + * @param int $mode + * @return string + */ + function _processBlock($block, $mode) + { + static $sbox1, $sbox2, $sbox3, $sbox4, $sbox5, $sbox6, $sbox7, $sbox8, $shuffleip, $shuffleinvip; + if (!$sbox1) { + $sbox1 = array_map("intval", $this->sbox1); + $sbox2 = array_map("intval", $this->sbox2); + $sbox3 = array_map("intval", $this->sbox3); + $sbox4 = array_map("intval", $this->sbox4); + $sbox5 = array_map("intval", $this->sbox5); + $sbox6 = array_map("intval", $this->sbox6); + $sbox7 = array_map("intval", $this->sbox7); + $sbox8 = array_map("intval", $this->sbox8); + /* Merge $shuffle with $[inv]ipmap */ + for ($i = 0; $i < 256; ++$i) { + $shuffleip[] = $this->shuffle[$this->ipmap[$i]]; + $shuffleinvip[] = $this->shuffle[$this->invipmap[$i]]; + } + } + + $keys = $this->keys[$mode]; + $ki = -1; + + // Do the initial IP permutation. + $t = unpack('Nl/Nr', $block); + list($l, $r) = array($t['l'], $t['r']); + $block = ($shuffleip[ $r & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") | + ($shuffleip[($r >> 8) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") | + ($shuffleip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") | + ($shuffleip[($r >> 24) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") | + ($shuffleip[ $l & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") | + ($shuffleip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") | + ($shuffleip[($l >> 16) & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") | + ($shuffleip[($l >> 24) & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01"); + + // Extract L0 and R0. + $t = unpack('Nl/Nr', $block); + list($l, $r) = array($t['l'], $t['r']); + + for ($des_round = 0; $des_round < $this->des_rounds; ++$des_round) { + // Perform the 16 steps. + for ($i = 0; $i < 16; $i++) { + // start of "the Feistel (F) function" - see the following URL: + // http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png + // Merge key schedule. + $b1 = (($r >> 3) & 0x1FFFFFFF) ^ ($r << 29) ^ $keys[++$ki]; + $b2 = (($r >> 31) & 0x00000001) ^ ($r << 1) ^ $keys[++$ki]; + + // S-box indexing. + $t = $sbox1[($b1 >> 24) & 0x3F] ^ $sbox2[($b2 >> 24) & 0x3F] ^ + $sbox3[($b1 >> 16) & 0x3F] ^ $sbox4[($b2 >> 16) & 0x3F] ^ + $sbox5[($b1 >> 8) & 0x3F] ^ $sbox6[($b2 >> 8) & 0x3F] ^ + $sbox7[ $b1 & 0x3F] ^ $sbox8[ $b2 & 0x3F] ^ $l; + // end of "the Feistel (F) function" + + $l = $r; + $r = $t; + } + + // Last step should not permute L & R. + $t = $l; + $l = $r; + $r = $t; + } + + // Perform the inverse IP permutation. + return ($shuffleinvip[($r >> 24) & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") | + ($shuffleinvip[($l >> 24) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") | + ($shuffleinvip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") | + ($shuffleinvip[($l >> 16) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") | + ($shuffleinvip[($r >> 8) & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") | + ($shuffleinvip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") | + ($shuffleinvip[ $r & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") | + ($shuffleinvip[ $l & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01"); + } + + /** + * Creates the key schedule + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->des_rounds === $this->kl['des_rounds']) { + // already expanded + return; + } + $this->kl = array('key' => $this->key, 'des_rounds' => $this->des_rounds); + + static $shifts = array( // number of key bits shifted per round + 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1 + ); + + static $pc1map = array( + 0x00, 0x00, 0x08, 0x08, 0x04, 0x04, 0x0C, 0x0C, + 0x02, 0x02, 0x0A, 0x0A, 0x06, 0x06, 0x0E, 0x0E, + 0x10, 0x10, 0x18, 0x18, 0x14, 0x14, 0x1C, 0x1C, + 0x12, 0x12, 0x1A, 0x1A, 0x16, 0x16, 0x1E, 0x1E, + 0x20, 0x20, 0x28, 0x28, 0x24, 0x24, 0x2C, 0x2C, + 0x22, 0x22, 0x2A, 0x2A, 0x26, 0x26, 0x2E, 0x2E, + 0x30, 0x30, 0x38, 0x38, 0x34, 0x34, 0x3C, 0x3C, + 0x32, 0x32, 0x3A, 0x3A, 0x36, 0x36, 0x3E, 0x3E, + 0x40, 0x40, 0x48, 0x48, 0x44, 0x44, 0x4C, 0x4C, + 0x42, 0x42, 0x4A, 0x4A, 0x46, 0x46, 0x4E, 0x4E, + 0x50, 0x50, 0x58, 0x58, 0x54, 0x54, 0x5C, 0x5C, + 0x52, 0x52, 0x5A, 0x5A, 0x56, 0x56, 0x5E, 0x5E, + 0x60, 0x60, 0x68, 0x68, 0x64, 0x64, 0x6C, 0x6C, + 0x62, 0x62, 0x6A, 0x6A, 0x66, 0x66, 0x6E, 0x6E, + 0x70, 0x70, 0x78, 0x78, 0x74, 0x74, 0x7C, 0x7C, + 0x72, 0x72, 0x7A, 0x7A, 0x76, 0x76, 0x7E, 0x7E, + 0x80, 0x80, 0x88, 0x88, 0x84, 0x84, 0x8C, 0x8C, + 0x82, 0x82, 0x8A, 0x8A, 0x86, 0x86, 0x8E, 0x8E, + 0x90, 0x90, 0x98, 0x98, 0x94, 0x94, 0x9C, 0x9C, + 0x92, 0x92, 0x9A, 0x9A, 0x96, 0x96, 0x9E, 0x9E, + 0xA0, 0xA0, 0xA8, 0xA8, 0xA4, 0xA4, 0xAC, 0xAC, + 0xA2, 0xA2, 0xAA, 0xAA, 0xA6, 0xA6, 0xAE, 0xAE, + 0xB0, 0xB0, 0xB8, 0xB8, 0xB4, 0xB4, 0xBC, 0xBC, + 0xB2, 0xB2, 0xBA, 0xBA, 0xB6, 0xB6, 0xBE, 0xBE, + 0xC0, 0xC0, 0xC8, 0xC8, 0xC4, 0xC4, 0xCC, 0xCC, + 0xC2, 0xC2, 0xCA, 0xCA, 0xC6, 0xC6, 0xCE, 0xCE, + 0xD0, 0xD0, 0xD8, 0xD8, 0xD4, 0xD4, 0xDC, 0xDC, + 0xD2, 0xD2, 0xDA, 0xDA, 0xD6, 0xD6, 0xDE, 0xDE, + 0xE0, 0xE0, 0xE8, 0xE8, 0xE4, 0xE4, 0xEC, 0xEC, + 0xE2, 0xE2, 0xEA, 0xEA, 0xE6, 0xE6, 0xEE, 0xEE, + 0xF0, 0xF0, 0xF8, 0xF8, 0xF4, 0xF4, 0xFC, 0xFC, + 0xF2, 0xF2, 0xFA, 0xFA, 0xF6, 0xF6, 0xFE, 0xFE + ); + + // Mapping tables for the PC-2 transformation. + static $pc2mapc1 = array( + 0x00000000, 0x00000400, 0x00200000, 0x00200400, + 0x00000001, 0x00000401, 0x00200001, 0x00200401, + 0x02000000, 0x02000400, 0x02200000, 0x02200400, + 0x02000001, 0x02000401, 0x02200001, 0x02200401 + ); + static $pc2mapc2 = array( + 0x00000000, 0x00000800, 0x08000000, 0x08000800, + 0x00010000, 0x00010800, 0x08010000, 0x08010800, + 0x00000000, 0x00000800, 0x08000000, 0x08000800, + 0x00010000, 0x00010800, 0x08010000, 0x08010800, + 0x00000100, 0x00000900, 0x08000100, 0x08000900, + 0x00010100, 0x00010900, 0x08010100, 0x08010900, + 0x00000100, 0x00000900, 0x08000100, 0x08000900, + 0x00010100, 0x00010900, 0x08010100, 0x08010900, + 0x00000010, 0x00000810, 0x08000010, 0x08000810, + 0x00010010, 0x00010810, 0x08010010, 0x08010810, + 0x00000010, 0x00000810, 0x08000010, 0x08000810, + 0x00010010, 0x00010810, 0x08010010, 0x08010810, + 0x00000110, 0x00000910, 0x08000110, 0x08000910, + 0x00010110, 0x00010910, 0x08010110, 0x08010910, + 0x00000110, 0x00000910, 0x08000110, 0x08000910, + 0x00010110, 0x00010910, 0x08010110, 0x08010910, + 0x00040000, 0x00040800, 0x08040000, 0x08040800, + 0x00050000, 0x00050800, 0x08050000, 0x08050800, + 0x00040000, 0x00040800, 0x08040000, 0x08040800, + 0x00050000, 0x00050800, 0x08050000, 0x08050800, + 0x00040100, 0x00040900, 0x08040100, 0x08040900, + 0x00050100, 0x00050900, 0x08050100, 0x08050900, + 0x00040100, 0x00040900, 0x08040100, 0x08040900, + 0x00050100, 0x00050900, 0x08050100, 0x08050900, + 0x00040010, 0x00040810, 0x08040010, 0x08040810, + 0x00050010, 0x00050810, 0x08050010, 0x08050810, + 0x00040010, 0x00040810, 0x08040010, 0x08040810, + 0x00050010, 0x00050810, 0x08050010, 0x08050810, + 0x00040110, 0x00040910, 0x08040110, 0x08040910, + 0x00050110, 0x00050910, 0x08050110, 0x08050910, + 0x00040110, 0x00040910, 0x08040110, 0x08040910, + 0x00050110, 0x00050910, 0x08050110, 0x08050910, + 0x01000000, 0x01000800, 0x09000000, 0x09000800, + 0x01010000, 0x01010800, 0x09010000, 0x09010800, + 0x01000000, 0x01000800, 0x09000000, 0x09000800, + 0x01010000, 0x01010800, 0x09010000, 0x09010800, + 0x01000100, 0x01000900, 0x09000100, 0x09000900, + 0x01010100, 0x01010900, 0x09010100, 0x09010900, + 0x01000100, 0x01000900, 0x09000100, 0x09000900, + 0x01010100, 0x01010900, 0x09010100, 0x09010900, + 0x01000010, 0x01000810, 0x09000010, 0x09000810, + 0x01010010, 0x01010810, 0x09010010, 0x09010810, + 0x01000010, 0x01000810, 0x09000010, 0x09000810, + 0x01010010, 0x01010810, 0x09010010, 0x09010810, + 0x01000110, 0x01000910, 0x09000110, 0x09000910, + 0x01010110, 0x01010910, 0x09010110, 0x09010910, + 0x01000110, 0x01000910, 0x09000110, 0x09000910, + 0x01010110, 0x01010910, 0x09010110, 0x09010910, + 0x01040000, 0x01040800, 0x09040000, 0x09040800, + 0x01050000, 0x01050800, 0x09050000, 0x09050800, + 0x01040000, 0x01040800, 0x09040000, 0x09040800, + 0x01050000, 0x01050800, 0x09050000, 0x09050800, + 0x01040100, 0x01040900, 0x09040100, 0x09040900, + 0x01050100, 0x01050900, 0x09050100, 0x09050900, + 0x01040100, 0x01040900, 0x09040100, 0x09040900, + 0x01050100, 0x01050900, 0x09050100, 0x09050900, + 0x01040010, 0x01040810, 0x09040010, 0x09040810, + 0x01050010, 0x01050810, 0x09050010, 0x09050810, + 0x01040010, 0x01040810, 0x09040010, 0x09040810, + 0x01050010, 0x01050810, 0x09050010, 0x09050810, + 0x01040110, 0x01040910, 0x09040110, 0x09040910, + 0x01050110, 0x01050910, 0x09050110, 0x09050910, + 0x01040110, 0x01040910, 0x09040110, 0x09040910, + 0x01050110, 0x01050910, 0x09050110, 0x09050910 + ); + static $pc2mapc3 = array( + 0x00000000, 0x00000004, 0x00001000, 0x00001004, + 0x00000000, 0x00000004, 0x00001000, 0x00001004, + 0x10000000, 0x10000004, 0x10001000, 0x10001004, + 0x10000000, 0x10000004, 0x10001000, 0x10001004, + 0x00000020, 0x00000024, 0x00001020, 0x00001024, + 0x00000020, 0x00000024, 0x00001020, 0x00001024, + 0x10000020, 0x10000024, 0x10001020, 0x10001024, + 0x10000020, 0x10000024, 0x10001020, 0x10001024, + 0x00080000, 0x00080004, 0x00081000, 0x00081004, + 0x00080000, 0x00080004, 0x00081000, 0x00081004, + 0x10080000, 0x10080004, 0x10081000, 0x10081004, + 0x10080000, 0x10080004, 0x10081000, 0x10081004, + 0x00080020, 0x00080024, 0x00081020, 0x00081024, + 0x00080020, 0x00080024, 0x00081020, 0x00081024, + 0x10080020, 0x10080024, 0x10081020, 0x10081024, + 0x10080020, 0x10080024, 0x10081020, 0x10081024, + 0x20000000, 0x20000004, 0x20001000, 0x20001004, + 0x20000000, 0x20000004, 0x20001000, 0x20001004, + 0x30000000, 0x30000004, 0x30001000, 0x30001004, + 0x30000000, 0x30000004, 0x30001000, 0x30001004, + 0x20000020, 0x20000024, 0x20001020, 0x20001024, + 0x20000020, 0x20000024, 0x20001020, 0x20001024, + 0x30000020, 0x30000024, 0x30001020, 0x30001024, + 0x30000020, 0x30000024, 0x30001020, 0x30001024, + 0x20080000, 0x20080004, 0x20081000, 0x20081004, + 0x20080000, 0x20080004, 0x20081000, 0x20081004, + 0x30080000, 0x30080004, 0x30081000, 0x30081004, + 0x30080000, 0x30080004, 0x30081000, 0x30081004, + 0x20080020, 0x20080024, 0x20081020, 0x20081024, + 0x20080020, 0x20080024, 0x20081020, 0x20081024, + 0x30080020, 0x30080024, 0x30081020, 0x30081024, + 0x30080020, 0x30080024, 0x30081020, 0x30081024, + 0x00000002, 0x00000006, 0x00001002, 0x00001006, + 0x00000002, 0x00000006, 0x00001002, 0x00001006, + 0x10000002, 0x10000006, 0x10001002, 0x10001006, + 0x10000002, 0x10000006, 0x10001002, 0x10001006, + 0x00000022, 0x00000026, 0x00001022, 0x00001026, + 0x00000022, 0x00000026, 0x00001022, 0x00001026, + 0x10000022, 0x10000026, 0x10001022, 0x10001026, + 0x10000022, 0x10000026, 0x10001022, 0x10001026, + 0x00080002, 0x00080006, 0x00081002, 0x00081006, + 0x00080002, 0x00080006, 0x00081002, 0x00081006, + 0x10080002, 0x10080006, 0x10081002, 0x10081006, + 0x10080002, 0x10080006, 0x10081002, 0x10081006, + 0x00080022, 0x00080026, 0x00081022, 0x00081026, + 0x00080022, 0x00080026, 0x00081022, 0x00081026, + 0x10080022, 0x10080026, 0x10081022, 0x10081026, + 0x10080022, 0x10080026, 0x10081022, 0x10081026, + 0x20000002, 0x20000006, 0x20001002, 0x20001006, + 0x20000002, 0x20000006, 0x20001002, 0x20001006, + 0x30000002, 0x30000006, 0x30001002, 0x30001006, + 0x30000002, 0x30000006, 0x30001002, 0x30001006, + 0x20000022, 0x20000026, 0x20001022, 0x20001026, + 0x20000022, 0x20000026, 0x20001022, 0x20001026, + 0x30000022, 0x30000026, 0x30001022, 0x30001026, + 0x30000022, 0x30000026, 0x30001022, 0x30001026, + 0x20080002, 0x20080006, 0x20081002, 0x20081006, + 0x20080002, 0x20080006, 0x20081002, 0x20081006, + 0x30080002, 0x30080006, 0x30081002, 0x30081006, + 0x30080002, 0x30080006, 0x30081002, 0x30081006, + 0x20080022, 0x20080026, 0x20081022, 0x20081026, + 0x20080022, 0x20080026, 0x20081022, 0x20081026, + 0x30080022, 0x30080026, 0x30081022, 0x30081026, + 0x30080022, 0x30080026, 0x30081022, 0x30081026 + ); + static $pc2mapc4 = array( + 0x00000000, 0x00100000, 0x00000008, 0x00100008, + 0x00000200, 0x00100200, 0x00000208, 0x00100208, + 0x00000000, 0x00100000, 0x00000008, 0x00100008, + 0x00000200, 0x00100200, 0x00000208, 0x00100208, + 0x04000000, 0x04100000, 0x04000008, 0x04100008, + 0x04000200, 0x04100200, 0x04000208, 0x04100208, + 0x04000000, 0x04100000, 0x04000008, 0x04100008, + 0x04000200, 0x04100200, 0x04000208, 0x04100208, + 0x00002000, 0x00102000, 0x00002008, 0x00102008, + 0x00002200, 0x00102200, 0x00002208, 0x00102208, + 0x00002000, 0x00102000, 0x00002008, 0x00102008, + 0x00002200, 0x00102200, 0x00002208, 0x00102208, + 0x04002000, 0x04102000, 0x04002008, 0x04102008, + 0x04002200, 0x04102200, 0x04002208, 0x04102208, + 0x04002000, 0x04102000, 0x04002008, 0x04102008, + 0x04002200, 0x04102200, 0x04002208, 0x04102208, + 0x00000000, 0x00100000, 0x00000008, 0x00100008, + 0x00000200, 0x00100200, 0x00000208, 0x00100208, + 0x00000000, 0x00100000, 0x00000008, 0x00100008, + 0x00000200, 0x00100200, 0x00000208, 0x00100208, + 0x04000000, 0x04100000, 0x04000008, 0x04100008, + 0x04000200, 0x04100200, 0x04000208, 0x04100208, + 0x04000000, 0x04100000, 0x04000008, 0x04100008, + 0x04000200, 0x04100200, 0x04000208, 0x04100208, + 0x00002000, 0x00102000, 0x00002008, 0x00102008, + 0x00002200, 0x00102200, 0x00002208, 0x00102208, + 0x00002000, 0x00102000, 0x00002008, 0x00102008, + 0x00002200, 0x00102200, 0x00002208, 0x00102208, + 0x04002000, 0x04102000, 0x04002008, 0x04102008, + 0x04002200, 0x04102200, 0x04002208, 0x04102208, + 0x04002000, 0x04102000, 0x04002008, 0x04102008, + 0x04002200, 0x04102200, 0x04002208, 0x04102208, + 0x00020000, 0x00120000, 0x00020008, 0x00120008, + 0x00020200, 0x00120200, 0x00020208, 0x00120208, + 0x00020000, 0x00120000, 0x00020008, 0x00120008, + 0x00020200, 0x00120200, 0x00020208, 0x00120208, + 0x04020000, 0x04120000, 0x04020008, 0x04120008, + 0x04020200, 0x04120200, 0x04020208, 0x04120208, + 0x04020000, 0x04120000, 0x04020008, 0x04120008, + 0x04020200, 0x04120200, 0x04020208, 0x04120208, + 0x00022000, 0x00122000, 0x00022008, 0x00122008, + 0x00022200, 0x00122200, 0x00022208, 0x00122208, + 0x00022000, 0x00122000, 0x00022008, 0x00122008, + 0x00022200, 0x00122200, 0x00022208, 0x00122208, + 0x04022000, 0x04122000, 0x04022008, 0x04122008, + 0x04022200, 0x04122200, 0x04022208, 0x04122208, + 0x04022000, 0x04122000, 0x04022008, 0x04122008, + 0x04022200, 0x04122200, 0x04022208, 0x04122208, + 0x00020000, 0x00120000, 0x00020008, 0x00120008, + 0x00020200, 0x00120200, 0x00020208, 0x00120208, + 0x00020000, 0x00120000, 0x00020008, 0x00120008, + 0x00020200, 0x00120200, 0x00020208, 0x00120208, + 0x04020000, 0x04120000, 0x04020008, 0x04120008, + 0x04020200, 0x04120200, 0x04020208, 0x04120208, + 0x04020000, 0x04120000, 0x04020008, 0x04120008, + 0x04020200, 0x04120200, 0x04020208, 0x04120208, + 0x00022000, 0x00122000, 0x00022008, 0x00122008, + 0x00022200, 0x00122200, 0x00022208, 0x00122208, + 0x00022000, 0x00122000, 0x00022008, 0x00122008, + 0x00022200, 0x00122200, 0x00022208, 0x00122208, + 0x04022000, 0x04122000, 0x04022008, 0x04122008, + 0x04022200, 0x04122200, 0x04022208, 0x04122208, + 0x04022000, 0x04122000, 0x04022008, 0x04122008, + 0x04022200, 0x04122200, 0x04022208, 0x04122208 + ); + static $pc2mapd1 = array( + 0x00000000, 0x00000001, 0x08000000, 0x08000001, + 0x00200000, 0x00200001, 0x08200000, 0x08200001, + 0x00000002, 0x00000003, 0x08000002, 0x08000003, + 0x00200002, 0x00200003, 0x08200002, 0x08200003 + ); + static $pc2mapd2 = array( + 0x00000000, 0x00100000, 0x00000800, 0x00100800, + 0x00000000, 0x00100000, 0x00000800, 0x00100800, + 0x04000000, 0x04100000, 0x04000800, 0x04100800, + 0x04000000, 0x04100000, 0x04000800, 0x04100800, + 0x00000004, 0x00100004, 0x00000804, 0x00100804, + 0x00000004, 0x00100004, 0x00000804, 0x00100804, + 0x04000004, 0x04100004, 0x04000804, 0x04100804, + 0x04000004, 0x04100004, 0x04000804, 0x04100804, + 0x00000000, 0x00100000, 0x00000800, 0x00100800, + 0x00000000, 0x00100000, 0x00000800, 0x00100800, + 0x04000000, 0x04100000, 0x04000800, 0x04100800, + 0x04000000, 0x04100000, 0x04000800, 0x04100800, + 0x00000004, 0x00100004, 0x00000804, 0x00100804, + 0x00000004, 0x00100004, 0x00000804, 0x00100804, + 0x04000004, 0x04100004, 0x04000804, 0x04100804, + 0x04000004, 0x04100004, 0x04000804, 0x04100804, + 0x00000200, 0x00100200, 0x00000A00, 0x00100A00, + 0x00000200, 0x00100200, 0x00000A00, 0x00100A00, + 0x04000200, 0x04100200, 0x04000A00, 0x04100A00, + 0x04000200, 0x04100200, 0x04000A00, 0x04100A00, + 0x00000204, 0x00100204, 0x00000A04, 0x00100A04, + 0x00000204, 0x00100204, 0x00000A04, 0x00100A04, + 0x04000204, 0x04100204, 0x04000A04, 0x04100A04, + 0x04000204, 0x04100204, 0x04000A04, 0x04100A04, + 0x00000200, 0x00100200, 0x00000A00, 0x00100A00, + 0x00000200, 0x00100200, 0x00000A00, 0x00100A00, + 0x04000200, 0x04100200, 0x04000A00, 0x04100A00, + 0x04000200, 0x04100200, 0x04000A00, 0x04100A00, + 0x00000204, 0x00100204, 0x00000A04, 0x00100A04, + 0x00000204, 0x00100204, 0x00000A04, 0x00100A04, + 0x04000204, 0x04100204, 0x04000A04, 0x04100A04, + 0x04000204, 0x04100204, 0x04000A04, 0x04100A04, + 0x00020000, 0x00120000, 0x00020800, 0x00120800, + 0x00020000, 0x00120000, 0x00020800, 0x00120800, + 0x04020000, 0x04120000, 0x04020800, 0x04120800, + 0x04020000, 0x04120000, 0x04020800, 0x04120800, + 0x00020004, 0x00120004, 0x00020804, 0x00120804, + 0x00020004, 0x00120004, 0x00020804, 0x00120804, + 0x04020004, 0x04120004, 0x04020804, 0x04120804, + 0x04020004, 0x04120004, 0x04020804, 0x04120804, + 0x00020000, 0x00120000, 0x00020800, 0x00120800, + 0x00020000, 0x00120000, 0x00020800, 0x00120800, + 0x04020000, 0x04120000, 0x04020800, 0x04120800, + 0x04020000, 0x04120000, 0x04020800, 0x04120800, + 0x00020004, 0x00120004, 0x00020804, 0x00120804, + 0x00020004, 0x00120004, 0x00020804, 0x00120804, + 0x04020004, 0x04120004, 0x04020804, 0x04120804, + 0x04020004, 0x04120004, 0x04020804, 0x04120804, + 0x00020200, 0x00120200, 0x00020A00, 0x00120A00, + 0x00020200, 0x00120200, 0x00020A00, 0x00120A00, + 0x04020200, 0x04120200, 0x04020A00, 0x04120A00, + 0x04020200, 0x04120200, 0x04020A00, 0x04120A00, + 0x00020204, 0x00120204, 0x00020A04, 0x00120A04, + 0x00020204, 0x00120204, 0x00020A04, 0x00120A04, + 0x04020204, 0x04120204, 0x04020A04, 0x04120A04, + 0x04020204, 0x04120204, 0x04020A04, 0x04120A04, + 0x00020200, 0x00120200, 0x00020A00, 0x00120A00, + 0x00020200, 0x00120200, 0x00020A00, 0x00120A00, + 0x04020200, 0x04120200, 0x04020A00, 0x04120A00, + 0x04020200, 0x04120200, 0x04020A00, 0x04120A00, + 0x00020204, 0x00120204, 0x00020A04, 0x00120A04, + 0x00020204, 0x00120204, 0x00020A04, 0x00120A04, + 0x04020204, 0x04120204, 0x04020A04, 0x04120A04, + 0x04020204, 0x04120204, 0x04020A04, 0x04120A04 + ); + static $pc2mapd3 = array( + 0x00000000, 0x00010000, 0x02000000, 0x02010000, + 0x00000020, 0x00010020, 0x02000020, 0x02010020, + 0x00040000, 0x00050000, 0x02040000, 0x02050000, + 0x00040020, 0x00050020, 0x02040020, 0x02050020, + 0x00002000, 0x00012000, 0x02002000, 0x02012000, + 0x00002020, 0x00012020, 0x02002020, 0x02012020, + 0x00042000, 0x00052000, 0x02042000, 0x02052000, + 0x00042020, 0x00052020, 0x02042020, 0x02052020, + 0x00000000, 0x00010000, 0x02000000, 0x02010000, + 0x00000020, 0x00010020, 0x02000020, 0x02010020, + 0x00040000, 0x00050000, 0x02040000, 0x02050000, + 0x00040020, 0x00050020, 0x02040020, 0x02050020, + 0x00002000, 0x00012000, 0x02002000, 0x02012000, + 0x00002020, 0x00012020, 0x02002020, 0x02012020, + 0x00042000, 0x00052000, 0x02042000, 0x02052000, + 0x00042020, 0x00052020, 0x02042020, 0x02052020, + 0x00000010, 0x00010010, 0x02000010, 0x02010010, + 0x00000030, 0x00010030, 0x02000030, 0x02010030, + 0x00040010, 0x00050010, 0x02040010, 0x02050010, + 0x00040030, 0x00050030, 0x02040030, 0x02050030, + 0x00002010, 0x00012010, 0x02002010, 0x02012010, + 0x00002030, 0x00012030, 0x02002030, 0x02012030, + 0x00042010, 0x00052010, 0x02042010, 0x02052010, + 0x00042030, 0x00052030, 0x02042030, 0x02052030, + 0x00000010, 0x00010010, 0x02000010, 0x02010010, + 0x00000030, 0x00010030, 0x02000030, 0x02010030, + 0x00040010, 0x00050010, 0x02040010, 0x02050010, + 0x00040030, 0x00050030, 0x02040030, 0x02050030, + 0x00002010, 0x00012010, 0x02002010, 0x02012010, + 0x00002030, 0x00012030, 0x02002030, 0x02012030, + 0x00042010, 0x00052010, 0x02042010, 0x02052010, + 0x00042030, 0x00052030, 0x02042030, 0x02052030, + 0x20000000, 0x20010000, 0x22000000, 0x22010000, + 0x20000020, 0x20010020, 0x22000020, 0x22010020, + 0x20040000, 0x20050000, 0x22040000, 0x22050000, + 0x20040020, 0x20050020, 0x22040020, 0x22050020, + 0x20002000, 0x20012000, 0x22002000, 0x22012000, + 0x20002020, 0x20012020, 0x22002020, 0x22012020, + 0x20042000, 0x20052000, 0x22042000, 0x22052000, + 0x20042020, 0x20052020, 0x22042020, 0x22052020, + 0x20000000, 0x20010000, 0x22000000, 0x22010000, + 0x20000020, 0x20010020, 0x22000020, 0x22010020, + 0x20040000, 0x20050000, 0x22040000, 0x22050000, + 0x20040020, 0x20050020, 0x22040020, 0x22050020, + 0x20002000, 0x20012000, 0x22002000, 0x22012000, + 0x20002020, 0x20012020, 0x22002020, 0x22012020, + 0x20042000, 0x20052000, 0x22042000, 0x22052000, + 0x20042020, 0x20052020, 0x22042020, 0x22052020, + 0x20000010, 0x20010010, 0x22000010, 0x22010010, + 0x20000030, 0x20010030, 0x22000030, 0x22010030, + 0x20040010, 0x20050010, 0x22040010, 0x22050010, + 0x20040030, 0x20050030, 0x22040030, 0x22050030, + 0x20002010, 0x20012010, 0x22002010, 0x22012010, + 0x20002030, 0x20012030, 0x22002030, 0x22012030, + 0x20042010, 0x20052010, 0x22042010, 0x22052010, + 0x20042030, 0x20052030, 0x22042030, 0x22052030, + 0x20000010, 0x20010010, 0x22000010, 0x22010010, + 0x20000030, 0x20010030, 0x22000030, 0x22010030, + 0x20040010, 0x20050010, 0x22040010, 0x22050010, + 0x20040030, 0x20050030, 0x22040030, 0x22050030, + 0x20002010, 0x20012010, 0x22002010, 0x22012010, + 0x20002030, 0x20012030, 0x22002030, 0x22012030, + 0x20042010, 0x20052010, 0x22042010, 0x22052010, + 0x20042030, 0x20052030, 0x22042030, 0x22052030 + ); + static $pc2mapd4 = array( + 0x00000000, 0x00000400, 0x01000000, 0x01000400, + 0x00000000, 0x00000400, 0x01000000, 0x01000400, + 0x00000100, 0x00000500, 0x01000100, 0x01000500, + 0x00000100, 0x00000500, 0x01000100, 0x01000500, + 0x10000000, 0x10000400, 0x11000000, 0x11000400, + 0x10000000, 0x10000400, 0x11000000, 0x11000400, + 0x10000100, 0x10000500, 0x11000100, 0x11000500, + 0x10000100, 0x10000500, 0x11000100, 0x11000500, + 0x00080000, 0x00080400, 0x01080000, 0x01080400, + 0x00080000, 0x00080400, 0x01080000, 0x01080400, + 0x00080100, 0x00080500, 0x01080100, 0x01080500, + 0x00080100, 0x00080500, 0x01080100, 0x01080500, + 0x10080000, 0x10080400, 0x11080000, 0x11080400, + 0x10080000, 0x10080400, 0x11080000, 0x11080400, + 0x10080100, 0x10080500, 0x11080100, 0x11080500, + 0x10080100, 0x10080500, 0x11080100, 0x11080500, + 0x00000008, 0x00000408, 0x01000008, 0x01000408, + 0x00000008, 0x00000408, 0x01000008, 0x01000408, + 0x00000108, 0x00000508, 0x01000108, 0x01000508, + 0x00000108, 0x00000508, 0x01000108, 0x01000508, + 0x10000008, 0x10000408, 0x11000008, 0x11000408, + 0x10000008, 0x10000408, 0x11000008, 0x11000408, + 0x10000108, 0x10000508, 0x11000108, 0x11000508, + 0x10000108, 0x10000508, 0x11000108, 0x11000508, + 0x00080008, 0x00080408, 0x01080008, 0x01080408, + 0x00080008, 0x00080408, 0x01080008, 0x01080408, + 0x00080108, 0x00080508, 0x01080108, 0x01080508, + 0x00080108, 0x00080508, 0x01080108, 0x01080508, + 0x10080008, 0x10080408, 0x11080008, 0x11080408, + 0x10080008, 0x10080408, 0x11080008, 0x11080408, + 0x10080108, 0x10080508, 0x11080108, 0x11080508, + 0x10080108, 0x10080508, 0x11080108, 0x11080508, + 0x00001000, 0x00001400, 0x01001000, 0x01001400, + 0x00001000, 0x00001400, 0x01001000, 0x01001400, + 0x00001100, 0x00001500, 0x01001100, 0x01001500, + 0x00001100, 0x00001500, 0x01001100, 0x01001500, + 0x10001000, 0x10001400, 0x11001000, 0x11001400, + 0x10001000, 0x10001400, 0x11001000, 0x11001400, + 0x10001100, 0x10001500, 0x11001100, 0x11001500, + 0x10001100, 0x10001500, 0x11001100, 0x11001500, + 0x00081000, 0x00081400, 0x01081000, 0x01081400, + 0x00081000, 0x00081400, 0x01081000, 0x01081400, + 0x00081100, 0x00081500, 0x01081100, 0x01081500, + 0x00081100, 0x00081500, 0x01081100, 0x01081500, + 0x10081000, 0x10081400, 0x11081000, 0x11081400, + 0x10081000, 0x10081400, 0x11081000, 0x11081400, + 0x10081100, 0x10081500, 0x11081100, 0x11081500, + 0x10081100, 0x10081500, 0x11081100, 0x11081500, + 0x00001008, 0x00001408, 0x01001008, 0x01001408, + 0x00001008, 0x00001408, 0x01001008, 0x01001408, + 0x00001108, 0x00001508, 0x01001108, 0x01001508, + 0x00001108, 0x00001508, 0x01001108, 0x01001508, + 0x10001008, 0x10001408, 0x11001008, 0x11001408, + 0x10001008, 0x10001408, 0x11001008, 0x11001408, + 0x10001108, 0x10001508, 0x11001108, 0x11001508, + 0x10001108, 0x10001508, 0x11001108, 0x11001508, + 0x00081008, 0x00081408, 0x01081008, 0x01081408, + 0x00081008, 0x00081408, 0x01081008, 0x01081408, + 0x00081108, 0x00081508, 0x01081108, 0x01081508, + 0x00081108, 0x00081508, 0x01081108, 0x01081508, + 0x10081008, 0x10081408, 0x11081008, 0x11081408, + 0x10081008, 0x10081408, 0x11081008, 0x11081408, + 0x10081108, 0x10081508, 0x11081108, 0x11081508, + 0x10081108, 0x10081508, 0x11081108, 0x11081508 + ); + + $keys = array(); + for ($des_round = 0; $des_round < $this->des_rounds; ++$des_round) { + // pad the key and remove extra characters as appropriate. + $key = str_pad(substr($this->key, $des_round * 8, 8), 8, "\0"); + + // Perform the PC/1 transformation and compute C and D. + $t = unpack('Nl/Nr', $key); + list($l, $r) = array($t['l'], $t['r']); + $key = ($this->shuffle[$pc1map[ $r & 0xFF]] & "\x80\x80\x80\x80\x80\x80\x80\x00") | + ($this->shuffle[$pc1map[($r >> 8) & 0xFF]] & "\x40\x40\x40\x40\x40\x40\x40\x00") | + ($this->shuffle[$pc1map[($r >> 16) & 0xFF]] & "\x20\x20\x20\x20\x20\x20\x20\x00") | + ($this->shuffle[$pc1map[($r >> 24) & 0xFF]] & "\x10\x10\x10\x10\x10\x10\x10\x00") | + ($this->shuffle[$pc1map[ $l & 0xFF]] & "\x08\x08\x08\x08\x08\x08\x08\x00") | + ($this->shuffle[$pc1map[($l >> 8) & 0xFF]] & "\x04\x04\x04\x04\x04\x04\x04\x00") | + ($this->shuffle[$pc1map[($l >> 16) & 0xFF]] & "\x02\x02\x02\x02\x02\x02\x02\x00") | + ($this->shuffle[$pc1map[($l >> 24) & 0xFF]] & "\x01\x01\x01\x01\x01\x01\x01\x00"); + $key = unpack('Nc/Nd', $key); + $c = ( $key['c'] >> 4) & 0x0FFFFFFF; + $d = (($key['d'] >> 4) & 0x0FFFFFF0) | ($key['c'] & 0x0F); + + $keys[$des_round] = array( + self::ENCRYPT => array(), + self::DECRYPT => array_fill(0, 32, 0) + ); + for ($i = 0, $ki = 31; $i < 16; ++$i, $ki-= 2) { + $c <<= $shifts[$i]; + $c = ($c | ($c >> 28)) & 0x0FFFFFFF; + $d <<= $shifts[$i]; + $d = ($d | ($d >> 28)) & 0x0FFFFFFF; + + // Perform the PC-2 transformation. + $cp = $pc2mapc1[ $c >> 24 ] | $pc2mapc2[($c >> 16) & 0xFF] | + $pc2mapc3[($c >> 8) & 0xFF] | $pc2mapc4[ $c & 0xFF]; + $dp = $pc2mapd1[ $d >> 24 ] | $pc2mapd2[($d >> 16) & 0xFF] | + $pc2mapd3[($d >> 8) & 0xFF] | $pc2mapd4[ $d & 0xFF]; + + // Reorder: odd bytes/even bytes. Push the result in key schedule. + $val1 = ( $cp & 0xFF000000) | (($cp << 8) & 0x00FF0000) | + (($dp >> 16) & 0x0000FF00) | (($dp >> 8) & 0x000000FF); + $val2 = (($cp << 8) & 0xFF000000) | (($cp << 16) & 0x00FF0000) | + (($dp >> 8) & 0x0000FF00) | ( $dp & 0x000000FF); + $keys[$des_round][self::ENCRYPT][ ] = $val1; + $keys[$des_round][self::DECRYPT][$ki - 1] = $val1; + $keys[$des_round][self::ENCRYPT][ ] = $val2; + $keys[$des_round][self::DECRYPT][$ki ] = $val2; + } + } + + switch ($this->des_rounds) { + case 3: // 3DES keys + $this->keys = array( + self::ENCRYPT => array_merge( + $keys[0][self::ENCRYPT], + $keys[1][self::DECRYPT], + $keys[2][self::ENCRYPT] + ), + self::DECRYPT => array_merge( + $keys[2][self::DECRYPT], + $keys[1][self::ENCRYPT], + $keys[0][self::DECRYPT] + ) + ); + break; + // case 1: // DES keys + default: + $this->keys = array( + self::ENCRYPT => $keys[0][self::ENCRYPT], + self::DECRYPT => $keys[0][self::DECRYPT] + ); + } + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * @see \phpseclib\Crypt\Base::_setupInlineCrypt() + * @access private + */ + function _setupInlineCrypt() + { + $lambda_functions =& self::_getLambdaFunctions(); + + // Engine configuration for: + // - DES ($des_rounds == 1) or + // - 3DES ($des_rounds == 3) + $des_rounds = $this->des_rounds; + + // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function. + // (Currently, for DES, one generated $lambda_function cost on php5.5@32bit ~135kb unfreeable mem and ~230kb on php5.5@64bit) + // (Currently, for TripleDES, one generated $lambda_function cost on php5.5@32bit ~240kb unfreeable mem and ~340kb on php5.5@64bit) + // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one + $gen_hi_opt_code = (bool)( count($lambda_functions) < 10 ); + + // Generation of a unique hash for our generated code + $code_hash = "Crypt_DES, $des_rounds, {$this->mode}"; + if ($gen_hi_opt_code) { + // For hi-optimized code, we create for each combination of + // $mode, $des_rounds and $this->key its own encrypt/decrypt function. + // After max 10 hi-optimized functions, we create generic + // (still very fast.. but not ultra) functions for each $mode/$des_rounds + // Currently 2 * 5 generic functions will be then max. possible. + $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key); + } + + // Is there a re-usable $lambda_functions in there? If not, we have to create it. + if (!isset($lambda_functions[$code_hash])) { + // Init code for both, encrypt and decrypt. + $init_crypt = 'static $sbox1, $sbox2, $sbox3, $sbox4, $sbox5, $sbox6, $sbox7, $sbox8, $shuffleip, $shuffleinvip; + if (!$sbox1) { + $sbox1 = array_map("intval", $self->sbox1); + $sbox2 = array_map("intval", $self->sbox2); + $sbox3 = array_map("intval", $self->sbox3); + $sbox4 = array_map("intval", $self->sbox4); + $sbox5 = array_map("intval", $self->sbox5); + $sbox6 = array_map("intval", $self->sbox6); + $sbox7 = array_map("intval", $self->sbox7); + $sbox8 = array_map("intval", $self->sbox8);' + /* Merge $shuffle with $[inv]ipmap */ . ' + for ($i = 0; $i < 256; ++$i) { + $shuffleip[] = $self->shuffle[$self->ipmap[$i]]; + $shuffleinvip[] = $self->shuffle[$self->invipmap[$i]]; + } + } + '; + + switch (true) { + case $gen_hi_opt_code: + // In Hi-optimized code mode, we use our [3]DES key schedule as hardcoded integers. + // No futher initialisation of the $keys schedule is necessary. + // That is the extra performance boost. + $k = array( + self::ENCRYPT => $this->keys[self::ENCRYPT], + self::DECRYPT => $this->keys[self::DECRYPT] + ); + $init_encrypt = ''; + $init_decrypt = ''; + break; + default: + // In generic optimized code mode, we have to use, as the best compromise [currently], + // our key schedule as $ke/$kd arrays. (with hardcoded indexes...) + $k = array( + self::ENCRYPT => array(), + self::DECRYPT => array() + ); + for ($i = 0, $c = count($this->keys[self::ENCRYPT]); $i < $c; ++$i) { + $k[self::ENCRYPT][$i] = '$ke[' . $i . ']'; + $k[self::DECRYPT][$i] = '$kd[' . $i . ']'; + } + $init_encrypt = '$ke = $self->keys[self::ENCRYPT];'; + $init_decrypt = '$kd = $self->keys[self::DECRYPT];'; + break; + } + + // Creating code for en- and decryption. + $crypt_block = array(); + foreach (array(self::ENCRYPT, self::DECRYPT) as $c) { + /* Do the initial IP permutation. */ + $crypt_block[$c] = ' + $in = unpack("N*", $in); + $l = $in[1]; + $r = $in[2]; + $in = unpack("N*", + ($shuffleip[ $r & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") | + ($shuffleip[($r >> 8) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") | + ($shuffleip[($r >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") | + ($shuffleip[($r >> 24) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") | + ($shuffleip[ $l & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") | + ($shuffleip[($l >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") | + ($shuffleip[($l >> 16) & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") | + ($shuffleip[($l >> 24) & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01") + ); + ' . /* Extract L0 and R0 */ ' + $l = $in[1]; + $r = $in[2]; + '; + + $l = '$l'; + $r = '$r'; + + // Perform DES or 3DES. + for ($ki = -1, $des_round = 0; $des_round < $des_rounds; ++$des_round) { + // Perform the 16 steps. + for ($i = 0; $i < 16; ++$i) { + // start of "the Feistel (F) function" - see the following URL: + // http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png + // Merge key schedule. + $crypt_block[$c].= ' + $b1 = ((' . $r . ' >> 3) & 0x1FFFFFFF) ^ (' . $r . ' << 29) ^ ' . $k[$c][++$ki] . '; + $b2 = ((' . $r . ' >> 31) & 0x00000001) ^ (' . $r . ' << 1) ^ ' . $k[$c][++$ki] . ';' . + /* S-box indexing. */ + $l . ' = $sbox1[($b1 >> 24) & 0x3F] ^ $sbox2[($b2 >> 24) & 0x3F] ^ + $sbox3[($b1 >> 16) & 0x3F] ^ $sbox4[($b2 >> 16) & 0x3F] ^ + $sbox5[($b1 >> 8) & 0x3F] ^ $sbox6[($b2 >> 8) & 0x3F] ^ + $sbox7[ $b1 & 0x3F] ^ $sbox8[ $b2 & 0x3F] ^ ' . $l . '; + '; + // end of "the Feistel (F) function" + + // swap L & R + list($l, $r) = array($r, $l); + } + list($l, $r) = array($r, $l); + } + + // Perform the inverse IP permutation. + $crypt_block[$c].= '$in = + ($shuffleinvip[($l >> 24) & 0xFF] & "\x80\x80\x80\x80\x80\x80\x80\x80") | + ($shuffleinvip[($r >> 24) & 0xFF] & "\x40\x40\x40\x40\x40\x40\x40\x40") | + ($shuffleinvip[($l >> 16) & 0xFF] & "\x20\x20\x20\x20\x20\x20\x20\x20") | + ($shuffleinvip[($r >> 16) & 0xFF] & "\x10\x10\x10\x10\x10\x10\x10\x10") | + ($shuffleinvip[($l >> 8) & 0xFF] & "\x08\x08\x08\x08\x08\x08\x08\x08") | + ($shuffleinvip[($r >> 8) & 0xFF] & "\x04\x04\x04\x04\x04\x04\x04\x04") | + ($shuffleinvip[ $l & 0xFF] & "\x02\x02\x02\x02\x02\x02\x02\x02") | + ($shuffleinvip[ $r & 0xFF] & "\x01\x01\x01\x01\x01\x01\x01\x01"); + '; + } + + // Creates the inline-crypt function + $lambda_functions[$code_hash] = $this->_createInlineCryptFunction( + array( + 'init_crypt' => $init_crypt, + 'init_encrypt' => $init_encrypt, + 'init_decrypt' => $init_decrypt, + 'encrypt_block' => $crypt_block[self::ENCRYPT], + 'decrypt_block' => $crypt_block[self::DECRYPT] + ) + ); + } + + // Set the inline-crypt function as callback in: $this->inline_crypt + $this->inline_crypt = $lambda_functions[$code_hash]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php new file mode 100644 index 00000000..07665a16 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Hash.php @@ -0,0 +1,824 @@ + + * setKey('abcdefg'); + * + * echo base64_encode($hash->hash('abcdefg')); + * ?> + * + * + * @category Crypt + * @package Hash + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +use phpseclib\Math\BigInteger; + +/** + * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions. + * + * @package Hash + * @author Jim Wigginton + * @access public + */ +class Hash +{ + /**#@+ + * @access private + * @see \phpseclib\Crypt\Hash::__construct() + */ + /** + * Toggles the internal implementation + */ + const MODE_INTERNAL = 1; + /** + * Toggles the mhash() implementation, which has been deprecated on PHP 5.3.0+. + */ + const MODE_MHASH = 2; + /** + * Toggles the hash() implementation, which works on PHP 5.1.2+. + */ + const MODE_HASH = 3; + /**#@-*/ + + /** + * Hash Parameter + * + * @see self::setHash() + * @var int + * @access private + */ + var $hashParam; + + /** + * Byte-length of compression blocks / key (Internal HMAC) + * + * @see self::setAlgorithm() + * @var int + * @access private + */ + var $b; + + /** + * Byte-length of hash output (Internal HMAC) + * + * @see self::setHash() + * @var int + * @access private + */ + var $l = false; + + /** + * Hash Algorithm + * + * @see self::setHash() + * @var string + * @access private + */ + var $hash; + + /** + * Key + * + * @see self::setKey() + * @var string + * @access private + */ + var $key = false; + + /** + * Outer XOR (Internal HMAC) + * + * @see self::setKey() + * @var string + * @access private + */ + var $opad; + + /** + * Inner XOR (Internal HMAC) + * + * @see self::setKey() + * @var string + * @access private + */ + var $ipad; + + /** + * Default Constructor. + * + * @param string $hash + * @return \phpseclib\Crypt\Hash + * @access public + */ + function __construct($hash = 'sha1') + { + if (!defined('CRYPT_HASH_MODE')) { + switch (true) { + case extension_loaded('hash'): + define('CRYPT_HASH_MODE', self::MODE_HASH); + break; + case extension_loaded('mhash'): + define('CRYPT_HASH_MODE', self::MODE_MHASH); + break; + default: + define('CRYPT_HASH_MODE', self::MODE_INTERNAL); + } + } + + $this->setHash($hash); + } + + /** + * Sets the key for HMACs + * + * Keys can be of any length. + * + * @access public + * @param string $key + */ + function setKey($key = false) + { + $this->key = $key; + } + + /** + * Gets the hash function. + * + * As set by the constructor or by the setHash() method. + * + * @access public + * @return string + */ + function getHash() + { + return $this->hashParam; + } + + /** + * Sets the hash function. + * + * @access public + * @param string $hash + */ + function setHash($hash) + { + $this->hashParam = $hash = strtolower($hash); + switch ($hash) { + case 'md5-96': + case 'sha1-96': + case 'sha256-96': + case 'sha512-96': + $hash = substr($hash, 0, -3); + $this->l = 12; // 96 / 8 = 12 + break; + case 'md2': + case 'md5': + $this->l = 16; + break; + case 'sha1': + $this->l = 20; + break; + case 'sha256': + $this->l = 32; + break; + case 'sha384': + $this->l = 48; + break; + case 'sha512': + $this->l = 64; + } + + switch ($hash) { + case 'md2': + $mode = CRYPT_HASH_MODE == self::MODE_HASH && in_array('md2', hash_algos()) ? + self::MODE_HASH : self::MODE_INTERNAL; + break; + case 'sha384': + case 'sha512': + $mode = CRYPT_HASH_MODE == self::MODE_MHASH ? self::MODE_INTERNAL : CRYPT_HASH_MODE; + break; + default: + $mode = CRYPT_HASH_MODE; + } + + switch ($mode) { + case self::MODE_MHASH: + switch ($hash) { + case 'md5': + $this->hash = MHASH_MD5; + break; + case 'sha256': + $this->hash = MHASH_SHA256; + break; + case 'sha1': + default: + $this->hash = MHASH_SHA1; + } + return; + case self::MODE_HASH: + switch ($hash) { + case 'md5': + $this->hash = 'md5'; + return; + case 'md2': + case 'sha256': + case 'sha384': + case 'sha512': + $this->hash = $hash; + return; + case 'sha1': + default: + $this->hash = 'sha1'; + } + return; + } + + switch ($hash) { + case 'md2': + $this->b = 16; + $this->hash = array($this, '_md2'); + break; + case 'md5': + $this->b = 64; + $this->hash = array($this, '_md5'); + break; + case 'sha256': + $this->b = 64; + $this->hash = array($this, '_sha256'); + break; + case 'sha384': + case 'sha512': + $this->b = 128; + $this->hash = array($this, '_sha512'); + break; + case 'sha1': + default: + $this->b = 64; + $this->hash = array($this, '_sha1'); + } + + $this->ipad = str_repeat(chr(0x36), $this->b); + $this->opad = str_repeat(chr(0x5C), $this->b); + } + + /** + * Compute the HMAC. + * + * @access public + * @param string $text + * @return string + */ + function hash($text) + { + $mode = is_array($this->hash) ? self::MODE_INTERNAL : CRYPT_HASH_MODE; + + if (!empty($this->key) || is_string($this->key)) { + switch ($mode) { + case self::MODE_MHASH: + $output = mhash($this->hash, $text, $this->key); + break; + case self::MODE_HASH: + $output = hash_hmac($this->hash, $text, $this->key, true); + break; + case self::MODE_INTERNAL: + /* "Applications that use keys longer than B bytes will first hash the key using H and then use the + resultant L byte string as the actual key to HMAC." + + -- http://tools.ietf.org/html/rfc2104#section-2 */ + $key = strlen($this->key) > $this->b ? call_user_func($this->hash, $this->key) : $this->key; + + $key = str_pad($key, $this->b, chr(0)); // step 1 + $temp = $this->ipad ^ $key; // step 2 + $temp .= $text; // step 3 + $temp = call_user_func($this->hash, $temp); // step 4 + $output = $this->opad ^ $key; // step 5 + $output.= $temp; // step 6 + $output = call_user_func($this->hash, $output); // step 7 + } + } else { + switch ($mode) { + case self::MODE_MHASH: + $output = mhash($this->hash, $text); + break; + case self::MODE_HASH: + $output = hash($this->hash, $text, true); + break; + case self::MODE_INTERNAL: + $output = call_user_func($this->hash, $text); + } + } + + return substr($output, 0, $this->l); + } + + /** + * Returns the hash length (in bytes) + * + * @access public + * @return int + */ + function getLength() + { + return $this->l; + } + + /** + * Wrapper for MD5 + * + * @access private + * @param string $m + */ + function _md5($m) + { + return pack('H*', md5($m)); + } + + /** + * Wrapper for SHA1 + * + * @access private + * @param string $m + */ + function _sha1($m) + { + return pack('H*', sha1($m)); + } + + /** + * Pure-PHP implementation of MD2 + * + * See {@link http://tools.ietf.org/html/rfc1319 RFC1319}. + * + * @access private + * @param string $m + */ + function _md2($m) + { + static $s = array( + 41, 46, 67, 201, 162, 216, 124, 1, 61, 54, 84, 161, 236, 240, 6, + 19, 98, 167, 5, 243, 192, 199, 115, 140, 152, 147, 43, 217, 188, + 76, 130, 202, 30, 155, 87, 60, 253, 212, 224, 22, 103, 66, 111, 24, + 138, 23, 229, 18, 190, 78, 196, 214, 218, 158, 222, 73, 160, 251, + 245, 142, 187, 47, 238, 122, 169, 104, 121, 145, 21, 178, 7, 63, + 148, 194, 16, 137, 11, 34, 95, 33, 128, 127, 93, 154, 90, 144, 50, + 39, 53, 62, 204, 231, 191, 247, 151, 3, 255, 25, 48, 179, 72, 165, + 181, 209, 215, 94, 146, 42, 172, 86, 170, 198, 79, 184, 56, 210, + 150, 164, 125, 182, 118, 252, 107, 226, 156, 116, 4, 241, 69, 157, + 112, 89, 100, 113, 135, 32, 134, 91, 207, 101, 230, 45, 168, 2, 27, + 96, 37, 173, 174, 176, 185, 246, 28, 70, 97, 105, 52, 64, 126, 15, + 85, 71, 163, 35, 221, 81, 175, 58, 195, 92, 249, 206, 186, 197, + 234, 38, 44, 83, 13, 110, 133, 40, 132, 9, 211, 223, 205, 244, 65, + 129, 77, 82, 106, 220, 55, 200, 108, 193, 171, 250, 36, 225, 123, + 8, 12, 189, 177, 74, 120, 136, 149, 139, 227, 99, 232, 109, 233, + 203, 213, 254, 59, 0, 29, 57, 242, 239, 183, 14, 102, 88, 208, 228, + 166, 119, 114, 248, 235, 117, 75, 10, 49, 68, 80, 180, 143, 237, + 31, 26, 219, 153, 141, 51, 159, 17, 131, 20 + ); + + // Step 1. Append Padding Bytes + $pad = 16 - (strlen($m) & 0xF); + $m.= str_repeat(chr($pad), $pad); + + $length = strlen($m); + + // Step 2. Append Checksum + $c = str_repeat(chr(0), 16); + $l = chr(0); + for ($i = 0; $i < $length; $i+= 16) { + for ($j = 0; $j < 16; $j++) { + // RFC1319 incorrectly states that C[j] should be set to S[c xor L] + //$c[$j] = chr($s[ord($m[$i + $j] ^ $l)]); + // per , however, C[j] should be set to S[c xor L] xor C[j] + $c[$j] = chr($s[ord($m[$i + $j] ^ $l)] ^ ord($c[$j])); + $l = $c[$j]; + } + } + $m.= $c; + + $length+= 16; + + // Step 3. Initialize MD Buffer + $x = str_repeat(chr(0), 48); + + // Step 4. Process Message in 16-Byte Blocks + for ($i = 0; $i < $length; $i+= 16) { + for ($j = 0; $j < 16; $j++) { + $x[$j + 16] = $m[$i + $j]; + $x[$j + 32] = $x[$j + 16] ^ $x[$j]; + } + $t = chr(0); + for ($j = 0; $j < 18; $j++) { + for ($k = 0; $k < 48; $k++) { + $x[$k] = $t = $x[$k] ^ chr($s[ord($t)]); + //$t = $x[$k] = $x[$k] ^ chr($s[ord($t)]); + } + $t = chr(ord($t) + $j); + } + } + + // Step 5. Output + return substr($x, 0, 16); + } + + /** + * Pure-PHP implementation of SHA256 + * + * See {@link http://en.wikipedia.org/wiki/SHA_hash_functions#SHA-256_.28a_SHA-2_variant.29_pseudocode SHA-256 (a SHA-2 variant) pseudocode - Wikipedia}. + * + * @access private + * @param string $m + */ + function _sha256($m) + { + if (extension_loaded('suhosin')) { + return pack('H*', sha256($m)); + } + + // Initialize variables + $hash = array( + 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 + ); + // Initialize table of round constants + // (first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311) + static $k = array( + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 + ); + + // Pre-processing + $length = strlen($m); + // to round to nearest 56 mod 64, we'll add 64 - (length + (64 - 56)) % 64 + $m.= str_repeat(chr(0), 64 - (($length + 8) & 0x3F)); + $m[$length] = chr(0x80); + // we don't support hashing strings 512MB long + $m.= pack('N2', 0, $length << 3); + + // Process the message in successive 512-bit chunks + $chunks = str_split($m, 64); + foreach ($chunks as $chunk) { + $w = array(); + for ($i = 0; $i < 16; $i++) { + extract(unpack('Ntemp', $this->_string_shift($chunk, 4))); + $w[] = $temp; + } + + // Extend the sixteen 32-bit words into sixty-four 32-bit words + for ($i = 16; $i < 64; $i++) { + // @codingStandardsIgnoreStart + $s0 = $this->_rightRotate($w[$i - 15], 7) ^ + $this->_rightRotate($w[$i - 15], 18) ^ + $this->_rightShift( $w[$i - 15], 3); + $s1 = $this->_rightRotate($w[$i - 2], 17) ^ + $this->_rightRotate($w[$i - 2], 19) ^ + $this->_rightShift( $w[$i - 2], 10); + // @codingStandardsIgnoreEnd + $w[$i] = $this->_add($w[$i - 16], $s0, $w[$i - 7], $s1); + } + + // Initialize hash value for this chunk + list($a, $b, $c, $d, $e, $f, $g, $h) = $hash; + + // Main loop + for ($i = 0; $i < 64; $i++) { + $s0 = $this->_rightRotate($a, 2) ^ + $this->_rightRotate($a, 13) ^ + $this->_rightRotate($a, 22); + $maj = ($a & $b) ^ + ($a & $c) ^ + ($b & $c); + $t2 = $this->_add($s0, $maj); + + $s1 = $this->_rightRotate($e, 6) ^ + $this->_rightRotate($e, 11) ^ + $this->_rightRotate($e, 25); + $ch = ($e & $f) ^ + ($this->_not($e) & $g); + $t1 = $this->_add($h, $s1, $ch, $k[$i], $w[$i]); + + $h = $g; + $g = $f; + $f = $e; + $e = $this->_add($d, $t1); + $d = $c; + $c = $b; + $b = $a; + $a = $this->_add($t1, $t2); + } + + // Add this chunk's hash to result so far + $hash = array( + $this->_add($hash[0], $a), + $this->_add($hash[1], $b), + $this->_add($hash[2], $c), + $this->_add($hash[3], $d), + $this->_add($hash[4], $e), + $this->_add($hash[5], $f), + $this->_add($hash[6], $g), + $this->_add($hash[7], $h) + ); + } + + // Produce the final hash value (big-endian) + return pack('N8', $hash[0], $hash[1], $hash[2], $hash[3], $hash[4], $hash[5], $hash[6], $hash[7]); + } + + /** + * Pure-PHP implementation of SHA384 and SHA512 + * + * @access private + * @param string $m + */ + function _sha512($m) + { + static $init384, $init512, $k; + + if (!isset($k)) { + // Initialize variables + $init384 = array( // initial values for SHA384 + 'cbbb9d5dc1059ed8', '629a292a367cd507', '9159015a3070dd17', '152fecd8f70e5939', + '67332667ffc00b31', '8eb44a8768581511', 'db0c2e0d64f98fa7', '47b5481dbefa4fa4' + ); + $init512 = array( // initial values for SHA512 + '6a09e667f3bcc908', 'bb67ae8584caa73b', '3c6ef372fe94f82b', 'a54ff53a5f1d36f1', + '510e527fade682d1', '9b05688c2b3e6c1f', '1f83d9abfb41bd6b', '5be0cd19137e2179' + ); + + for ($i = 0; $i < 8; $i++) { + $init384[$i] = new BigInteger($init384[$i], 16); + $init384[$i]->setPrecision(64); + $init512[$i] = new BigInteger($init512[$i], 16); + $init512[$i]->setPrecision(64); + } + + // Initialize table of round constants + // (first 64 bits of the fractional parts of the cube roots of the first 80 primes 2..409) + $k = array( + '428a2f98d728ae22', '7137449123ef65cd', 'b5c0fbcfec4d3b2f', 'e9b5dba58189dbbc', + '3956c25bf348b538', '59f111f1b605d019', '923f82a4af194f9b', 'ab1c5ed5da6d8118', + 'd807aa98a3030242', '12835b0145706fbe', '243185be4ee4b28c', '550c7dc3d5ffb4e2', + '72be5d74f27b896f', '80deb1fe3b1696b1', '9bdc06a725c71235', 'c19bf174cf692694', + 'e49b69c19ef14ad2', 'efbe4786384f25e3', '0fc19dc68b8cd5b5', '240ca1cc77ac9c65', + '2de92c6f592b0275', '4a7484aa6ea6e483', '5cb0a9dcbd41fbd4', '76f988da831153b5', + '983e5152ee66dfab', 'a831c66d2db43210', 'b00327c898fb213f', 'bf597fc7beef0ee4', + 'c6e00bf33da88fc2', 'd5a79147930aa725', '06ca6351e003826f', '142929670a0e6e70', + '27b70a8546d22ffc', '2e1b21385c26c926', '4d2c6dfc5ac42aed', '53380d139d95b3df', + '650a73548baf63de', '766a0abb3c77b2a8', '81c2c92e47edaee6', '92722c851482353b', + 'a2bfe8a14cf10364', 'a81a664bbc423001', 'c24b8b70d0f89791', 'c76c51a30654be30', + 'd192e819d6ef5218', 'd69906245565a910', 'f40e35855771202a', '106aa07032bbd1b8', + '19a4c116b8d2d0c8', '1e376c085141ab53', '2748774cdf8eeb99', '34b0bcb5e19b48a8', + '391c0cb3c5c95a63', '4ed8aa4ae3418acb', '5b9cca4f7763e373', '682e6ff3d6b2b8a3', + '748f82ee5defb2fc', '78a5636f43172f60', '84c87814a1f0ab72', '8cc702081a6439ec', + '90befffa23631e28', 'a4506cebde82bde9', 'bef9a3f7b2c67915', 'c67178f2e372532b', + 'ca273eceea26619c', 'd186b8c721c0c207', 'eada7dd6cde0eb1e', 'f57d4f7fee6ed178', + '06f067aa72176fba', '0a637dc5a2c898a6', '113f9804bef90dae', '1b710b35131c471b', + '28db77f523047d84', '32caab7b40c72493', '3c9ebe0a15c9bebc', '431d67c49c100d4c', + '4cc5d4becb3e42b6', '597f299cfc657e2a', '5fcb6fab3ad6faec', '6c44198c4a475817' + ); + + for ($i = 0; $i < 80; $i++) { + $k[$i] = new BigInteger($k[$i], 16); + } + } + + $hash = $this->l == 48 ? $init384 : $init512; + + // Pre-processing + $length = strlen($m); + // to round to nearest 112 mod 128, we'll add 128 - (length + (128 - 112)) % 128 + $m.= str_repeat(chr(0), 128 - (($length + 16) & 0x7F)); + $m[$length] = chr(0x80); + // we don't support hashing strings 512MB long + $m.= pack('N4', 0, 0, 0, $length << 3); + + // Process the message in successive 1024-bit chunks + $chunks = str_split($m, 128); + foreach ($chunks as $chunk) { + $w = array(); + for ($i = 0; $i < 16; $i++) { + $temp = new BigInteger($this->_string_shift($chunk, 8), 256); + $temp->setPrecision(64); + $w[] = $temp; + } + + // Extend the sixteen 32-bit words into eighty 32-bit words + for ($i = 16; $i < 80; $i++) { + $temp = array( + $w[$i - 15]->bitwise_rightRotate(1), + $w[$i - 15]->bitwise_rightRotate(8), + $w[$i - 15]->bitwise_rightShift(7) + ); + $s0 = $temp[0]->bitwise_xor($temp[1]); + $s0 = $s0->bitwise_xor($temp[2]); + $temp = array( + $w[$i - 2]->bitwise_rightRotate(19), + $w[$i - 2]->bitwise_rightRotate(61), + $w[$i - 2]->bitwise_rightShift(6) + ); + $s1 = $temp[0]->bitwise_xor($temp[1]); + $s1 = $s1->bitwise_xor($temp[2]); + $w[$i] = $w[$i - 16]->copy(); + $w[$i] = $w[$i]->add($s0); + $w[$i] = $w[$i]->add($w[$i - 7]); + $w[$i] = $w[$i]->add($s1); + } + + // Initialize hash value for this chunk + $a = $hash[0]->copy(); + $b = $hash[1]->copy(); + $c = $hash[2]->copy(); + $d = $hash[3]->copy(); + $e = $hash[4]->copy(); + $f = $hash[5]->copy(); + $g = $hash[6]->copy(); + $h = $hash[7]->copy(); + + // Main loop + for ($i = 0; $i < 80; $i++) { + $temp = array( + $a->bitwise_rightRotate(28), + $a->bitwise_rightRotate(34), + $a->bitwise_rightRotate(39) + ); + $s0 = $temp[0]->bitwise_xor($temp[1]); + $s0 = $s0->bitwise_xor($temp[2]); + $temp = array( + $a->bitwise_and($b), + $a->bitwise_and($c), + $b->bitwise_and($c) + ); + $maj = $temp[0]->bitwise_xor($temp[1]); + $maj = $maj->bitwise_xor($temp[2]); + $t2 = $s0->add($maj); + + $temp = array( + $e->bitwise_rightRotate(14), + $e->bitwise_rightRotate(18), + $e->bitwise_rightRotate(41) + ); + $s1 = $temp[0]->bitwise_xor($temp[1]); + $s1 = $s1->bitwise_xor($temp[2]); + $temp = array( + $e->bitwise_and($f), + $g->bitwise_and($e->bitwise_not()) + ); + $ch = $temp[0]->bitwise_xor($temp[1]); + $t1 = $h->add($s1); + $t1 = $t1->add($ch); + $t1 = $t1->add($k[$i]); + $t1 = $t1->add($w[$i]); + + $h = $g->copy(); + $g = $f->copy(); + $f = $e->copy(); + $e = $d->add($t1); + $d = $c->copy(); + $c = $b->copy(); + $b = $a->copy(); + $a = $t1->add($t2); + } + + // Add this chunk's hash to result so far + $hash = array( + $hash[0]->add($a), + $hash[1]->add($b), + $hash[2]->add($c), + $hash[3]->add($d), + $hash[4]->add($e), + $hash[5]->add($f), + $hash[6]->add($g), + $hash[7]->add($h) + ); + } + + // Produce the final hash value (big-endian) + // (\phpseclib\Crypt\Hash::hash() trims the output for hashes but not for HMACs. as such, we trim the output here) + $temp = $hash[0]->toBytes() . $hash[1]->toBytes() . $hash[2]->toBytes() . $hash[3]->toBytes() . + $hash[4]->toBytes() . $hash[5]->toBytes(); + if ($this->l != 48) { + $temp.= $hash[6]->toBytes() . $hash[7]->toBytes(); + } + + return $temp; + } + + /** + * Right Rotate + * + * @access private + * @param int $int + * @param int $amt + * @see self::_sha256() + * @return int + */ + function _rightRotate($int, $amt) + { + $invamt = 32 - $amt; + $mask = (1 << $invamt) - 1; + return (($int << $invamt) & 0xFFFFFFFF) | (($int >> $amt) & $mask); + } + + /** + * Right Shift + * + * @access private + * @param int $int + * @param int $amt + * @see self::_sha256() + * @return int + */ + function _rightShift($int, $amt) + { + $mask = (1 << (32 - $amt)) - 1; + return ($int >> $amt) & $mask; + } + + /** + * Not + * + * @access private + * @param int $int + * @see self::_sha256() + * @return int + */ + function _not($int) + { + return ~$int & 0xFFFFFFFF; + } + + /** + * Add + * + * _sha256() adds multiple unsigned 32-bit integers. Since PHP doesn't support unsigned integers and since the + * possibility of overflow exists, care has to be taken. BigInteger could be used but this should be faster. + * + * @param int $... + * @return int + * @see self::_sha256() + * @access private + */ + function _add() + { + static $mod; + if (!isset($mod)) { + $mod = pow(2, 32); + } + + $result = 0; + $arguments = func_get_args(); + foreach ($arguments as $argument) { + $result+= $argument < 0 ? ($argument & 0x7FFFFFFF) + 0x80000000 : $argument; + } + + return fmod($result, $mod); + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @return string + * @access private + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php new file mode 100644 index 00000000..e9cfa3f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC2.php @@ -0,0 +1,688 @@ + + * setKey('abcdefgh'); + * + * $plaintext = str_repeat('a', 1024); + * + * echo $rc2->decrypt($rc2->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package RC2 + * @author Patrick Monnerat + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of RC2. + * + * @package RC2 + * @access public + */ +class RC2 extends Base +{ + /** + * Block Length of the cipher + * + * @see \phpseclib\Crypt\Base::block_size + * @var int + * @access private + */ + var $block_size = 8; + + /** + * The Key + * + * @see \phpseclib\Crypt\Base::key + * @see self::setKey() + * @var string + * @access private + */ + var $key; + + /** + * The Original (unpadded) Key + * + * @see \phpseclib\Crypt\Base::key + * @see self::setKey() + * @see self::encrypt() + * @see self::decrypt() + * @var string + * @access private + */ + var $orig_key; + + /** + * Don't truncate / null pad key + * + * @see \phpseclib\Crypt\Base::_clearBuffers() + * @var bool + * @access private + */ + var $skip_key_adjustment = true; + + /** + * Key Length (in bytes) + * + * @see \phpseclib\Crypt\RC2::setKeyLength() + * @var int + * @access private + */ + var $key_length = 16; // = 128 bits + + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'rc2'; + + /** + * Optimizing value while CFB-encrypting + * + * @see \phpseclib\Crypt\Base::cfb_init_len + * @var int + * @access private + */ + var $cfb_init_len = 500; + + /** + * The key length in bits. + * + * @see self::setKeyLength() + * @see self::setKey() + * @var int + * @access private + * @internal Should be in range [1..1024]. + * @internal Changing this value after setting the key has no effect. + */ + var $default_key_length = 1024; + + /** + * The key length in bits. + * + * @see self::isValidEnine() + * @see self::setKey() + * @var int + * @access private + * @internal Should be in range [1..1024]. + */ + var $current_key_length; + + /** + * The Key Schedule + * + * @see self::_setupKey() + * @var array + * @access private + */ + var $keys; + + /** + * Key expansion randomization table. + * Twice the same 256-value sequence to save a modulus in key expansion. + * + * @see self::setKey() + * @var array + * @access private + */ + var $pitable = array( + 0xD9, 0x78, 0xF9, 0xC4, 0x19, 0xDD, 0xB5, 0xED, + 0x28, 0xE9, 0xFD, 0x79, 0x4A, 0xA0, 0xD8, 0x9D, + 0xC6, 0x7E, 0x37, 0x83, 0x2B, 0x76, 0x53, 0x8E, + 0x62, 0x4C, 0x64, 0x88, 0x44, 0x8B, 0xFB, 0xA2, + 0x17, 0x9A, 0x59, 0xF5, 0x87, 0xB3, 0x4F, 0x13, + 0x61, 0x45, 0x6D, 0x8D, 0x09, 0x81, 0x7D, 0x32, + 0xBD, 0x8F, 0x40, 0xEB, 0x86, 0xB7, 0x7B, 0x0B, + 0xF0, 0x95, 0x21, 0x22, 0x5C, 0x6B, 0x4E, 0x82, + 0x54, 0xD6, 0x65, 0x93, 0xCE, 0x60, 0xB2, 0x1C, + 0x73, 0x56, 0xC0, 0x14, 0xA7, 0x8C, 0xF1, 0xDC, + 0x12, 0x75, 0xCA, 0x1F, 0x3B, 0xBE, 0xE4, 0xD1, + 0x42, 0x3D, 0xD4, 0x30, 0xA3, 0x3C, 0xB6, 0x26, + 0x6F, 0xBF, 0x0E, 0xDA, 0x46, 0x69, 0x07, 0x57, + 0x27, 0xF2, 0x1D, 0x9B, 0xBC, 0x94, 0x43, 0x03, + 0xF8, 0x11, 0xC7, 0xF6, 0x90, 0xEF, 0x3E, 0xE7, + 0x06, 0xC3, 0xD5, 0x2F, 0xC8, 0x66, 0x1E, 0xD7, + 0x08, 0xE8, 0xEA, 0xDE, 0x80, 0x52, 0xEE, 0xF7, + 0x84, 0xAA, 0x72, 0xAC, 0x35, 0x4D, 0x6A, 0x2A, + 0x96, 0x1A, 0xD2, 0x71, 0x5A, 0x15, 0x49, 0x74, + 0x4B, 0x9F, 0xD0, 0x5E, 0x04, 0x18, 0xA4, 0xEC, + 0xC2, 0xE0, 0x41, 0x6E, 0x0F, 0x51, 0xCB, 0xCC, + 0x24, 0x91, 0xAF, 0x50, 0xA1, 0xF4, 0x70, 0x39, + 0x99, 0x7C, 0x3A, 0x85, 0x23, 0xB8, 0xB4, 0x7A, + 0xFC, 0x02, 0x36, 0x5B, 0x25, 0x55, 0x97, 0x31, + 0x2D, 0x5D, 0xFA, 0x98, 0xE3, 0x8A, 0x92, 0xAE, + 0x05, 0xDF, 0x29, 0x10, 0x67, 0x6C, 0xBA, 0xC9, + 0xD3, 0x00, 0xE6, 0xCF, 0xE1, 0x9E, 0xA8, 0x2C, + 0x63, 0x16, 0x01, 0x3F, 0x58, 0xE2, 0x89, 0xA9, + 0x0D, 0x38, 0x34, 0x1B, 0xAB, 0x33, 0xFF, 0xB0, + 0xBB, 0x48, 0x0C, 0x5F, 0xB9, 0xB1, 0xCD, 0x2E, + 0xC5, 0xF3, 0xDB, 0x47, 0xE5, 0xA5, 0x9C, 0x77, + 0x0A, 0xA6, 0x20, 0x68, 0xFE, 0x7F, 0xC1, 0xAD, + 0xD9, 0x78, 0xF9, 0xC4, 0x19, 0xDD, 0xB5, 0xED, + 0x28, 0xE9, 0xFD, 0x79, 0x4A, 0xA0, 0xD8, 0x9D, + 0xC6, 0x7E, 0x37, 0x83, 0x2B, 0x76, 0x53, 0x8E, + 0x62, 0x4C, 0x64, 0x88, 0x44, 0x8B, 0xFB, 0xA2, + 0x17, 0x9A, 0x59, 0xF5, 0x87, 0xB3, 0x4F, 0x13, + 0x61, 0x45, 0x6D, 0x8D, 0x09, 0x81, 0x7D, 0x32, + 0xBD, 0x8F, 0x40, 0xEB, 0x86, 0xB7, 0x7B, 0x0B, + 0xF0, 0x95, 0x21, 0x22, 0x5C, 0x6B, 0x4E, 0x82, + 0x54, 0xD6, 0x65, 0x93, 0xCE, 0x60, 0xB2, 0x1C, + 0x73, 0x56, 0xC0, 0x14, 0xA7, 0x8C, 0xF1, 0xDC, + 0x12, 0x75, 0xCA, 0x1F, 0x3B, 0xBE, 0xE4, 0xD1, + 0x42, 0x3D, 0xD4, 0x30, 0xA3, 0x3C, 0xB6, 0x26, + 0x6F, 0xBF, 0x0E, 0xDA, 0x46, 0x69, 0x07, 0x57, + 0x27, 0xF2, 0x1D, 0x9B, 0xBC, 0x94, 0x43, 0x03, + 0xF8, 0x11, 0xC7, 0xF6, 0x90, 0xEF, 0x3E, 0xE7, + 0x06, 0xC3, 0xD5, 0x2F, 0xC8, 0x66, 0x1E, 0xD7, + 0x08, 0xE8, 0xEA, 0xDE, 0x80, 0x52, 0xEE, 0xF7, + 0x84, 0xAA, 0x72, 0xAC, 0x35, 0x4D, 0x6A, 0x2A, + 0x96, 0x1A, 0xD2, 0x71, 0x5A, 0x15, 0x49, 0x74, + 0x4B, 0x9F, 0xD0, 0x5E, 0x04, 0x18, 0xA4, 0xEC, + 0xC2, 0xE0, 0x41, 0x6E, 0x0F, 0x51, 0xCB, 0xCC, + 0x24, 0x91, 0xAF, 0x50, 0xA1, 0xF4, 0x70, 0x39, + 0x99, 0x7C, 0x3A, 0x85, 0x23, 0xB8, 0xB4, 0x7A, + 0xFC, 0x02, 0x36, 0x5B, 0x25, 0x55, 0x97, 0x31, + 0x2D, 0x5D, 0xFA, 0x98, 0xE3, 0x8A, 0x92, 0xAE, + 0x05, 0xDF, 0x29, 0x10, 0x67, 0x6C, 0xBA, 0xC9, + 0xD3, 0x00, 0xE6, 0xCF, 0xE1, 0x9E, 0xA8, 0x2C, + 0x63, 0x16, 0x01, 0x3F, 0x58, 0xE2, 0x89, 0xA9, + 0x0D, 0x38, 0x34, 0x1B, 0xAB, 0x33, 0xFF, 0xB0, + 0xBB, 0x48, 0x0C, 0x5F, 0xB9, 0xB1, 0xCD, 0x2E, + 0xC5, 0xF3, 0xDB, 0x47, 0xE5, 0xA5, 0x9C, 0x77, + 0x0A, 0xA6, 0x20, 0x68, 0xFE, 0x7F, 0xC1, 0xAD + ); + + /** + * Inverse key expansion randomization table. + * + * @see self::setKey() + * @var array + * @access private + */ + var $invpitable = array( + 0xD1, 0xDA, 0xB9, 0x6F, 0x9C, 0xC8, 0x78, 0x66, + 0x80, 0x2C, 0xF8, 0x37, 0xEA, 0xE0, 0x62, 0xA4, + 0xCB, 0x71, 0x50, 0x27, 0x4B, 0x95, 0xD9, 0x20, + 0x9D, 0x04, 0x91, 0xE3, 0x47, 0x6A, 0x7E, 0x53, + 0xFA, 0x3A, 0x3B, 0xB4, 0xA8, 0xBC, 0x5F, 0x68, + 0x08, 0xCA, 0x8F, 0x14, 0xD7, 0xC0, 0xEF, 0x7B, + 0x5B, 0xBF, 0x2F, 0xE5, 0xE2, 0x8C, 0xBA, 0x12, + 0xE1, 0xAF, 0xB2, 0x54, 0x5D, 0x59, 0x76, 0xDB, + 0x32, 0xA2, 0x58, 0x6E, 0x1C, 0x29, 0x64, 0xF3, + 0xE9, 0x96, 0x0C, 0x98, 0x19, 0x8D, 0x3E, 0x26, + 0xAB, 0xA5, 0x85, 0x16, 0x40, 0xBD, 0x49, 0x67, + 0xDC, 0x22, 0x94, 0xBB, 0x3C, 0xC1, 0x9B, 0xEB, + 0x45, 0x28, 0x18, 0xD8, 0x1A, 0x42, 0x7D, 0xCC, + 0xFB, 0x65, 0x8E, 0x3D, 0xCD, 0x2A, 0xA3, 0x60, + 0xAE, 0x93, 0x8A, 0x48, 0x97, 0x51, 0x15, 0xF7, + 0x01, 0x0B, 0xB7, 0x36, 0xB1, 0x2E, 0x11, 0xFD, + 0x84, 0x2D, 0x3F, 0x13, 0x88, 0xB3, 0x34, 0x24, + 0x1B, 0xDE, 0xC5, 0x1D, 0x4D, 0x2B, 0x17, 0x31, + 0x74, 0xA9, 0xC6, 0x43, 0x6D, 0x39, 0x90, 0xBE, + 0xC3, 0xB0, 0x21, 0x6B, 0xF6, 0x0F, 0xD5, 0x99, + 0x0D, 0xAC, 0x1F, 0x5C, 0x9E, 0xF5, 0xF9, 0x4C, + 0xD6, 0xDF, 0x89, 0xE4, 0x8B, 0xFF, 0xC7, 0xAA, + 0xE7, 0xED, 0x46, 0x25, 0xB6, 0x06, 0x5E, 0x35, + 0xB5, 0xEC, 0xCE, 0xE8, 0x6C, 0x30, 0x55, 0x61, + 0x4A, 0xFE, 0xA0, 0x79, 0x03, 0xF0, 0x10, 0x72, + 0x7C, 0xCF, 0x52, 0xA6, 0xA7, 0xEE, 0x44, 0xD3, + 0x9A, 0x57, 0x92, 0xD0, 0x5A, 0x7A, 0x41, 0x7F, + 0x0E, 0x00, 0x63, 0xF2, 0x4F, 0x05, 0x83, 0xC9, + 0xA1, 0xD4, 0xDD, 0xC4, 0x56, 0xF4, 0xD2, 0x77, + 0x81, 0x09, 0x82, 0x33, 0x9F, 0x07, 0x86, 0x75, + 0x38, 0x4E, 0x69, 0xF1, 0xAD, 0x23, 0x73, 0x87, + 0x70, 0x02, 0xC2, 0x1E, 0xB8, 0x0A, 0xFC, 0xE6 + ); + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::__construct() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + switch ($engine) { + case self::ENGINE_OPENSSL: + if ($this->current_key_length != 128 || strlen($this->orig_key) < 16) { + return false; + } + $this->cipher_name_openssl_ecb = 'rc2-ecb'; + $this->cipher_name_openssl = 'rc2-' . $this->_openssl_translate_mode(); + } + + return parent::isValidEngine($engine); + } + + /** + * Sets the key length. + * + * Valid key lengths are 8 to 1024. + * Calling this function after setting the key has no effect until the next + * \phpseclib\Crypt\RC2::setKey() call. + * + * @access public + * @param int $length in bits + */ + function setKeyLength($length) + { + if ($length < 8) { + $this->default_key_length = 8; + } elseif ($length > 1024) { + $this->default_key_length = 128; + } else { + $this->default_key_length = $length; + } + $this->current_key_length = $this->default_key_length; + + parent::setKeyLength($length); + } + + /** + * Returns the current key length + * + * @access public + * @return int + */ + function getKeyLength() + { + return $this->current_key_length; + } + + /** + * Sets the key. + * + * Keys can be of any length. RC2, itself, uses 8 to 1024 bit keys (eg. + * strlen($key) <= 128), however, we only use the first 128 bytes if $key + * has more then 128 bytes in it, and set $key to a single null byte if + * it is empty. + * + * If the key is not explicitly set, it'll be assumed to be a single + * null byte. + * + * @see \phpseclib\Crypt\Base::setKey() + * @access public + * @param string $key + * @param int $t1 optional Effective key length in bits. + */ + function setKey($key, $t1 = 0) + { + $this->orig_key = $key; + + if ($t1 <= 0) { + $t1 = $this->default_key_length; + } elseif ($t1 > 1024) { + $t1 = 1024; + } + $this->current_key_length = $t1; + // Key byte count should be 1..128. + $key = strlen($key) ? substr($key, 0, 128) : "\x00"; + $t = strlen($key); + + // The mcrypt RC2 implementation only supports effective key length + // of 1024 bits. It is however possible to handle effective key + // lengths in range 1..1024 by expanding the key and applying + // inverse pitable mapping to the first byte before submitting it + // to mcrypt. + + // Key expansion. + $l = array_values(unpack('C*', $key)); + $t8 = ($t1 + 7) >> 3; + $tm = 0xFF >> (8 * $t8 - $t1); + + // Expand key. + $pitable = $this->pitable; + for ($i = $t; $i < 128; $i++) { + $l[$i] = $pitable[$l[$i - 1] + $l[$i - $t]]; + } + $i = 128 - $t8; + $l[$i] = $pitable[$l[$i] & $tm]; + while ($i--) { + $l[$i] = $pitable[$l[$i + 1] ^ $l[$i + $t8]]; + } + + // Prepare the key for mcrypt. + $l[0] = $this->invpitable[$l[0]]; + array_unshift($l, 'C*'); + + parent::setKey(call_user_func_array('pack', $l)); + } + + /** + * Encrypts a message. + * + * Mostly a wrapper for \phpseclib\Crypt\Base::encrypt, with some additional OpenSSL handling code + * + * @see self::decrypt() + * @access public + * @param string $plaintext + * @return string $ciphertext + */ + function encrypt($plaintext) + { + if ($this->engine == self::ENGINE_OPENSSL) { + $temp = $this->key; + $this->key = $this->orig_key; + $result = parent::encrypt($plaintext); + $this->key = $temp; + return $result; + } + + return parent::encrypt($plaintext); + } + + /** + * Decrypts a message. + * + * Mostly a wrapper for \phpseclib\Crypt\Base::decrypt, with some additional OpenSSL handling code + * + * @see self::encrypt() + * @access public + * @param string $ciphertext + * @return string $plaintext + */ + function decrypt($ciphertext) + { + if ($this->engine == self::ENGINE_OPENSSL) { + $temp = $this->key; + $this->key = $this->orig_key; + $result = parent::decrypt($ciphertext); + $this->key = $temp; + return $result; + } + + return parent::decrypt($ciphertext); + } + + /** + * Encrypts a block + * + * @see \phpseclib\Crypt\Base::_encryptBlock() + * @see \phpseclib\Crypt\Base::encrypt() + * @access private + * @param string $in + * @return string + */ + function _encryptBlock($in) + { + list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in)); + $keys = $this->keys; + $limit = 20; + $actions = array($limit => 44, 44 => 64); + $j = 0; + + for (;;) { + // Mixing round. + $r0 = (($r0 + $keys[$j++] + ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF) << 1; + $r0 |= $r0 >> 16; + $r1 = (($r1 + $keys[$j++] + ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF) << 2; + $r1 |= $r1 >> 16; + $r2 = (($r2 + $keys[$j++] + ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF) << 3; + $r2 |= $r2 >> 16; + $r3 = (($r3 + $keys[$j++] + ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF) << 5; + $r3 |= $r3 >> 16; + + if ($j === $limit) { + if ($limit === 64) { + break; + } + + // Mashing round. + $r0 += $keys[$r3 & 0x3F]; + $r1 += $keys[$r0 & 0x3F]; + $r2 += $keys[$r1 & 0x3F]; + $r3 += $keys[$r2 & 0x3F]; + $limit = $actions[$limit]; + } + } + + return pack('vvvv', $r0, $r1, $r2, $r3); + } + + /** + * Decrypts a block + * + * @see \phpseclib\Crypt\Base::_decryptBlock() + * @see \phpseclib\Crypt\Base::decrypt() + * @access private + * @param string $in + * @return string + */ + function _decryptBlock($in) + { + list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in)); + $keys = $this->keys; + $limit = 44; + $actions = array($limit => 20, 20 => 0); + $j = 64; + + for (;;) { + // R-mixing round. + $r3 = ($r3 | ($r3 << 16)) >> 5; + $r3 = ($r3 - $keys[--$j] - ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF; + $r2 = ($r2 | ($r2 << 16)) >> 3; + $r2 = ($r2 - $keys[--$j] - ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF; + $r1 = ($r1 | ($r1 << 16)) >> 2; + $r1 = ($r1 - $keys[--$j] - ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF; + $r0 = ($r0 | ($r0 << 16)) >> 1; + $r0 = ($r0 - $keys[--$j] - ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF; + + if ($j === $limit) { + if ($limit === 0) { + break; + } + + // R-mashing round. + $r3 = ($r3 - $keys[$r2 & 0x3F]) & 0xFFFF; + $r2 = ($r2 - $keys[$r1 & 0x3F]) & 0xFFFF; + $r1 = ($r1 - $keys[$r0 & 0x3F]) & 0xFFFF; + $r0 = ($r0 - $keys[$r3 & 0x3F]) & 0xFFFF; + $limit = $actions[$limit]; + } + } + + return pack('vvvv', $r0, $r1, $r2, $r3); + } + + /** + * Setup the \phpseclib\Crypt\Base::ENGINE_MCRYPT $engine + * + * @see \phpseclib\Crypt\Base::_setupMcrypt() + * @access private + */ + function _setupMcrypt() + { + if (!isset($this->key)) { + $this->setKey(''); + } + + parent::_setupMcrypt(); + } + + /** + * Creates the key schedule + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + if (!isset($this->key)) { + $this->setKey(''); + } + + // Key has already been expanded in \phpseclib\Crypt\RC2::setKey(): + // Only the first value must be altered. + $l = unpack('Ca/Cb/v*', $this->key); + array_unshift($l, $this->pitable[$l['a']] | ($l['b'] << 8)); + unset($l['a']); + unset($l['b']); + $this->keys = $l; + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * @see \phpseclib\Crypt\Base::_setupInlineCrypt() + * @access private + */ + function _setupInlineCrypt() + { + $lambda_functions =& self::_getLambdaFunctions(); + + // The first 10 generated $lambda_functions will use the $keys hardcoded as integers + // for the mixing rounds, for better inline crypt performance [~20% faster]. + // But for memory reason we have to limit those ultra-optimized $lambda_functions to an amount of 10. + // (Currently, for Crypt_RC2, one generated $lambda_function cost on php5.5@32bit ~60kb unfreeable mem and ~100kb on php5.5@64bit) + $gen_hi_opt_code = (bool)(count($lambda_functions) < 10); + + // Generation of a unique hash for our generated code + $code_hash = "Crypt_RC2, {$this->mode}"; + if ($gen_hi_opt_code) { + $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key); + } + + // Is there a re-usable $lambda_functions in there? + // If not, we have to create it. + if (!isset($lambda_functions[$code_hash])) { + // Init code for both, encrypt and decrypt. + $init_crypt = '$keys = $self->keys;'; + + switch (true) { + case $gen_hi_opt_code: + $keys = $this->keys; + default: + $keys = array(); + foreach ($this->keys as $k => $v) { + $keys[$k] = '$keys[' . $k . ']'; + } + } + + // $in is the current 8 bytes block which has to be en/decrypt + $encrypt_block = $decrypt_block = ' + $in = unpack("v4", $in); + $r0 = $in[1]; + $r1 = $in[2]; + $r2 = $in[3]; + $r3 = $in[4]; + '; + + // Create code for encryption. + $limit = 20; + $actions = array($limit => 44, 44 => 64); + $j = 0; + + for (;;) { + // Mixing round. + $encrypt_block .= ' + $r0 = (($r0 + ' . $keys[$j++] . ' + + ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF) << 1; + $r0 |= $r0 >> 16; + $r1 = (($r1 + ' . $keys[$j++] . ' + + ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF) << 2; + $r1 |= $r1 >> 16; + $r2 = (($r2 + ' . $keys[$j++] . ' + + ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF) << 3; + $r2 |= $r2 >> 16; + $r3 = (($r3 + ' . $keys[$j++] . ' + + ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF) << 5; + $r3 |= $r3 >> 16;'; + + if ($j === $limit) { + if ($limit === 64) { + break; + } + + // Mashing round. + $encrypt_block .= ' + $r0 += $keys[$r3 & 0x3F]; + $r1 += $keys[$r0 & 0x3F]; + $r2 += $keys[$r1 & 0x3F]; + $r3 += $keys[$r2 & 0x3F];'; + $limit = $actions[$limit]; + } + } + + $encrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);'; + + // Create code for decryption. + $limit = 44; + $actions = array($limit => 20, 20 => 0); + $j = 64; + + for (;;) { + // R-mixing round. + $decrypt_block .= ' + $r3 = ($r3 | ($r3 << 16)) >> 5; + $r3 = ($r3 - ' . $keys[--$j] . ' - + ((($r0 ^ $r1) & $r2) ^ $r0)) & 0xFFFF; + $r2 = ($r2 | ($r2 << 16)) >> 3; + $r2 = ($r2 - ' . $keys[--$j] . ' - + ((($r3 ^ $r0) & $r1) ^ $r3)) & 0xFFFF; + $r1 = ($r1 | ($r1 << 16)) >> 2; + $r1 = ($r1 - ' . $keys[--$j] . ' - + ((($r2 ^ $r3) & $r0) ^ $r2)) & 0xFFFF; + $r0 = ($r0 | ($r0 << 16)) >> 1; + $r0 = ($r0 - ' . $keys[--$j] . ' - + ((($r1 ^ $r2) & $r3) ^ $r1)) & 0xFFFF;'; + + if ($j === $limit) { + if ($limit === 0) { + break; + } + + // R-mashing round. + $decrypt_block .= ' + $r3 = ($r3 - $keys[$r2 & 0x3F]) & 0xFFFF; + $r2 = ($r2 - $keys[$r1 & 0x3F]) & 0xFFFF; + $r1 = ($r1 - $keys[$r0 & 0x3F]) & 0xFFFF; + $r0 = ($r0 - $keys[$r3 & 0x3F]) & 0xFFFF;'; + $limit = $actions[$limit]; + } + } + + $decrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);'; + + // Creates the inline-crypt function + $lambda_functions[$code_hash] = $this->_createInlineCryptFunction( + array( + 'init_crypt' => $init_crypt, + 'encrypt_block' => $encrypt_block, + 'decrypt_block' => $decrypt_block + ) + ); + } + + // Set the inline-crypt function as callback in: $this->inline_crypt + $this->inline_crypt = $lambda_functions[$code_hash]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php new file mode 100644 index 00000000..4812010c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RC4.php @@ -0,0 +1,342 @@ + + * setKey('abcdefgh'); + * + * $size = 10 * 1024; + * $plaintext = ''; + * for ($i = 0; $i < $size; $i++) { + * $plaintext.= 'a'; + * } + * + * echo $rc4->decrypt($rc4->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package RC4 + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of RC4. + * + * @package RC4 + * @author Jim Wigginton + * @access public + */ +class RC4 extends Base +{ + /**#@+ + * @access private + * @see \phpseclib\Crypt\RC4::_crypt() + */ + const ENCRYPT = 0; + const DECRYPT = 1; + /**#@-*/ + + /** + * Block Length of the cipher + * + * RC4 is a stream cipher + * so we the block_size to 0 + * + * @see \phpseclib\Crypt\Base::block_size + * @var int + * @access private + */ + var $block_size = 0; + + /** + * Key Length (in bytes) + * + * @see \phpseclib\Crypt\RC4::setKeyLength() + * @var int + * @access private + */ + var $key_length = 128; // = 1024 bits + + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'arcfour'; + + /** + * Holds whether performance-optimized $inline_crypt() can/should be used. + * + * @see \phpseclib\Crypt\Base::inline_crypt + * @var mixed + * @access private + */ + var $use_inline_crypt = false; // currently not available + + /** + * The Key + * + * @see self::setKey() + * @var string + * @access private + */ + var $key = "\0"; + + /** + * The Key Stream for decryption and encryption + * + * @see self::setKey() + * @var array + * @access private + */ + var $stream; + + /** + * Default Constructor. + * + * Determines whether or not the mcrypt extension should be used. + * + * @see \phpseclib\Crypt\Base::__construct() + * @return \phpseclib\Crypt\RC4 + * @access public + */ + function __construct() + { + parent::__construct(Base::MODE_STREAM); + } + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::__construct() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + if ($engine == Base::ENGINE_OPENSSL) { + if (version_compare(PHP_VERSION, '5.3.7') >= 0) { + $this->cipher_name_openssl = 'rc4-40'; + } else { + switch (strlen($this->key)) { + case 5: + $this->cipher_name_openssl = 'rc4-40'; + break; + case 8: + $this->cipher_name_openssl = 'rc4-64'; + break; + case 16: + $this->cipher_name_openssl = 'rc4'; + break; + default: + return false; + } + } + } + + return parent::isValidEngine($engine); + } + + /** + * Dummy function. + * + * Some protocols, such as WEP, prepend an "initialization vector" to the key, effectively creating a new key [1]. + * If you need to use an initialization vector in this manner, feel free to prepend it to the key, yourself, before + * calling setKey(). + * + * [1] WEP's initialization vectors (IV's) are used in a somewhat insecure way. Since, in that protocol, + * the IV's are relatively easy to predict, an attack described by + * {@link http://www.drizzle.com/~aboba/IEEE/rc4_ksaproc.pdf Scott Fluhrer, Itsik Mantin, and Adi Shamir} + * can be used to quickly guess at the rest of the key. The following links elaborate: + * + * {@link http://www.rsa.com/rsalabs/node.asp?id=2009 http://www.rsa.com/rsalabs/node.asp?id=2009} + * {@link http://en.wikipedia.org/wiki/Related_key_attack http://en.wikipedia.org/wiki/Related_key_attack} + * + * @param string $iv + * @see self::setKey() + * @access public + */ + function setIV($iv) + { + } + + /** + * Sets the key length + * + * Keys can be between 1 and 256 bytes long. + * + * @access public + * @param int $length + */ + function setKeyLength($length) + { + if ($length < 8) { + $this->key_length = 1; + } elseif ($length > 2048) { + $this->key_length = 256; + } else { + $this->key_length = $length >> 3; + } + + parent::setKeyLength($length); + } + + /** + * Encrypts a message. + * + * @see \phpseclib\Crypt\Base::decrypt() + * @see self::_crypt() + * @access public + * @param string $plaintext + * @return string $ciphertext + */ + function encrypt($plaintext) + { + if ($this->engine != Base::ENGINE_INTERNAL) { + return parent::encrypt($plaintext); + } + return $this->_crypt($plaintext, self::ENCRYPT); + } + + /** + * Decrypts a message. + * + * $this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)). + * At least if the continuous buffer is disabled. + * + * @see \phpseclib\Crypt\Base::encrypt() + * @see self::_crypt() + * @access public + * @param string $ciphertext + * @return string $plaintext + */ + function decrypt($ciphertext) + { + if ($this->engine != Base::ENGINE_INTERNAL) { + return parent::decrypt($ciphertext); + } + return $this->_crypt($ciphertext, self::DECRYPT); + } + + /** + * Encrypts a block + * + * @access private + * @param string $in + */ + function _encryptBlock($in) + { + // RC4 does not utilize this method + } + + /** + * Decrypts a block + * + * @access private + * @param string $in + */ + function _decryptBlock($in) + { + // RC4 does not utilize this method + } + + /** + * Setup the key (expansion) + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + $key = $this->key; + $keyLength = strlen($key); + $keyStream = range(0, 255); + $j = 0; + for ($i = 0; $i < 256; $i++) { + $j = ($j + $keyStream[$i] + ord($key[$i % $keyLength])) & 255; + $temp = $keyStream[$i]; + $keyStream[$i] = $keyStream[$j]; + $keyStream[$j] = $temp; + } + + $this->stream = array(); + $this->stream[self::DECRYPT] = $this->stream[self::ENCRYPT] = array( + 0, // index $i + 0, // index $j + $keyStream + ); + } + + /** + * Encrypts or decrypts a message. + * + * @see self::encrypt() + * @see self::decrypt() + * @access private + * @param string $text + * @param int $mode + * @return string $text + */ + function _crypt($text, $mode) + { + if ($this->changed) { + $this->_setup(); + $this->changed = false; + } + + $stream = &$this->stream[$mode]; + if ($this->continuousBuffer) { + $i = &$stream[0]; + $j = &$stream[1]; + $keyStream = &$stream[2]; + } else { + $i = $stream[0]; + $j = $stream[1]; + $keyStream = $stream[2]; + } + + $len = strlen($text); + for ($k = 0; $k < $len; ++$k) { + $i = ($i + 1) & 255; + $ksi = $keyStream[$i]; + $j = ($j + $ksi) & 255; + $ksj = $keyStream[$j]; + + $keyStream[$i] = $ksj; + $keyStream[$j] = $ksi; + $text[$k] = $text[$k] ^ chr($keyStream[($ksj + $ksi) & 255]); + } + + return $text; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php new file mode 100644 index 00000000..9670c01a --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/RSA.php @@ -0,0 +1,3053 @@ + + * createKey()); + * + * $plaintext = 'terrafrost'; + * + * $rsa->loadKey($privatekey); + * $ciphertext = $rsa->encrypt($plaintext); + * + * $rsa->loadKey($publickey); + * echo $rsa->decrypt($ciphertext); + * ?> + * + * + * Here's an example of how to create signatures and verify signatures with this library: + * + * createKey()); + * + * $plaintext = 'terrafrost'; + * + * $rsa->loadKey($privatekey); + * $signature = $rsa->sign($plaintext); + * + * $rsa->loadKey($publickey); + * echo $rsa->verify($plaintext, $signature) ? 'verified' : 'unverified'; + * ?> + * + * + * @category Crypt + * @package RSA + * @author Jim Wigginton + * @copyright 2009 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +use phpseclib\Math\BigInteger; + +/** + * Pure-PHP PKCS#1 compliant implementation of RSA. + * + * @package RSA + * @author Jim Wigginton + * @access public + */ +class RSA +{ + /**#@+ + * @access public + * @see self::encrypt() + * @see self::decrypt() + */ + /** + * Use {@link http://en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding Optimal Asymmetric Encryption Padding} + * (OAEP) for encryption / decryption. + * + * Uses sha1 by default. + * + * @see self::setHash() + * @see self::setMGFHash() + */ + const ENCRYPTION_OAEP = 1; + /** + * Use PKCS#1 padding. + * + * Although self::ENCRYPTION_OAEP offers more security, including PKCS#1 padding is necessary for purposes of backwards + * compatibility with protocols (like SSH-1) written before OAEP's introduction. + */ + const ENCRYPTION_PKCS1 = 2; + /** + * Do not use any padding + * + * Although this method is not recommended it can none-the-less sometimes be useful if you're trying to decrypt some legacy + * stuff, if you're trying to diagnose why an encrypted message isn't decrypting, etc. + */ + const ENCRYPTION_NONE = 3; + /**#@-*/ + + /**#@+ + * @access public + * @see self::sign() + * @see self::verify() + * @see self::setHash() + */ + /** + * Use the Probabilistic Signature Scheme for signing + * + * Uses sha1 by default. + * + * @see self::setSaltLength() + * @see self::setMGFHash() + */ + const SIGNATURE_PSS = 1; + /** + * Use the PKCS#1 scheme by default. + * + * Although self::SIGNATURE_PSS offers more security, including PKCS#1 signing is necessary for purposes of backwards + * compatibility with protocols (like SSH-2) written before PSS's introduction. + */ + const SIGNATURE_PKCS1 = 2; + /**#@-*/ + + /**#@+ + * @access private + * @see \phpseclib\Crypt\RSA::createKey() + */ + /** + * ASN1 Integer + */ + const ASN1_INTEGER = 2; + /** + * ASN1 Bit String + */ + const ASN1_BITSTRING = 3; + /** + * ASN1 Octet String + */ + const ASN1_OCTETSTRING = 4; + /** + * ASN1 Object Identifier + */ + const ASN1_OBJECT = 6; + /** + * ASN1 Sequence (with the constucted bit set) + */ + const ASN1_SEQUENCE = 48; + /**#@-*/ + + /**#@+ + * @access private + * @see \phpseclib\Crypt\RSA::__construct() + */ + /** + * To use the pure-PHP implementation + */ + const MODE_INTERNAL = 1; + /** + * To use the OpenSSL library + * + * (if enabled; otherwise, the internal implementation will be used) + */ + const MODE_OPENSSL = 2; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Crypt\RSA::createKey() + * @see \phpseclib\Crypt\RSA::setPrivateKeyFormat() + */ + /** + * PKCS#1 formatted private key + * + * Used by OpenSSH + */ + const PRIVATE_FORMAT_PKCS1 = 0; + /** + * PuTTY formatted private key + */ + const PRIVATE_FORMAT_PUTTY = 1; + /** + * XML formatted private key + */ + const PRIVATE_FORMAT_XML = 2; + /** + * PKCS#8 formatted private key + */ + const PRIVATE_FORMAT_PKCS8 = 8; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Crypt\RSA::createKey() + * @see \phpseclib\Crypt\RSA::setPublicKeyFormat() + */ + /** + * Raw public key + * + * An array containing two \phpseclib\Math\BigInteger objects. + * + * The exponent can be indexed with any of the following: + * + * 0, e, exponent, publicExponent + * + * The modulus can be indexed with any of the following: + * + * 1, n, modulo, modulus + */ + const PUBLIC_FORMAT_RAW = 3; + /** + * PKCS#1 formatted public key (raw) + * + * Used by File/X509.php + * + * Has the following header: + * + * -----BEGIN RSA PUBLIC KEY----- + * + * Analogous to ssh-keygen's pem format (as specified by -m) + */ + const PUBLIC_FORMAT_PKCS1 = 4; + const PUBLIC_FORMAT_PKCS1_RAW = 4; + /** + * XML formatted public key + */ + const PUBLIC_FORMAT_XML = 5; + /** + * OpenSSH formatted public key + * + * Place in $HOME/.ssh/authorized_keys + */ + const PUBLIC_FORMAT_OPENSSH = 6; + /** + * PKCS#1 formatted public key (encapsulated) + * + * Used by PHP's openssl_public_encrypt() and openssl's rsautl (when -pubin is set) + * + * Has the following header: + * + * -----BEGIN PUBLIC KEY----- + * + * Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8 + * is specific to private keys it's basically creating a DER-encoded wrapper + * for keys. This just extends that same concept to public keys (much like ssh-keygen) + */ + const PUBLIC_FORMAT_PKCS8 = 7; + /**#@-*/ + + /** + * Precomputed Zero + * + * @var \phpseclib\Math\BigInteger + * @access private + */ + var $zero; + + /** + * Precomputed One + * + * @var \phpseclib\Math\BigInteger + * @access private + */ + var $one; + + /** + * Private Key Format + * + * @var int + * @access private + */ + var $privateKeyFormat = self::PRIVATE_FORMAT_PKCS1; + + /** + * Public Key Format + * + * @var int + * @access public + */ + var $publicKeyFormat = self::PUBLIC_FORMAT_PKCS8; + + /** + * Modulus (ie. n) + * + * @var \phpseclib\Math\BigInteger + * @access private + */ + var $modulus; + + /** + * Modulus length + * + * @var \phpseclib\Math\BigInteger + * @access private + */ + var $k; + + /** + * Exponent (ie. e or d) + * + * @var \phpseclib\Math\BigInteger + * @access private + */ + var $exponent; + + /** + * Primes for Chinese Remainder Theorem (ie. p and q) + * + * @var array + * @access private + */ + var $primes; + + /** + * Exponents for Chinese Remainder Theorem (ie. dP and dQ) + * + * @var array + * @access private + */ + var $exponents; + + /** + * Coefficients for Chinese Remainder Theorem (ie. qInv) + * + * @var array + * @access private + */ + var $coefficients; + + /** + * Hash name + * + * @var string + * @access private + */ + var $hashName; + + /** + * Hash function + * + * @var \phpseclib\Crypt\Hash + * @access private + */ + var $hash; + + /** + * Length of hash function output + * + * @var int + * @access private + */ + var $hLen; + + /** + * Length of salt + * + * @var int + * @access private + */ + var $sLen; + + /** + * Hash function for the Mask Generation Function + * + * @var \phpseclib\Crypt\Hash + * @access private + */ + var $mgfHash; + + /** + * Length of MGF hash function output + * + * @var int + * @access private + */ + var $mgfHLen; + + /** + * Encryption mode + * + * @var int + * @access private + */ + var $encryptionMode = self::ENCRYPTION_OAEP; + + /** + * Signature mode + * + * @var int + * @access private + */ + var $signatureMode = self::SIGNATURE_PSS; + + /** + * Public Exponent + * + * @var mixed + * @access private + */ + var $publicExponent = false; + + /** + * Password + * + * @var string + * @access private + */ + var $password = false; + + /** + * Components + * + * For use with parsing XML formatted keys. PHP's XML Parser functions use utilized - instead of PHP's DOM functions - + * because PHP's XML Parser functions work on PHP4 whereas PHP's DOM functions - although surperior - don't. + * + * @see self::_start_element_handler() + * @var array + * @access private + */ + var $components = array(); + + /** + * Current String + * + * For use with parsing XML formatted keys. + * + * @see self::_character_handler() + * @see self::_stop_element_handler() + * @var mixed + * @access private + */ + var $current; + + /** + * OpenSSL configuration file name. + * + * Set to null to use system configuration file. + * @see self::createKey() + * @var mixed + * @Access public + */ + var $configFile; + + /** + * Public key comment field. + * + * @var string + * @access private + */ + var $comment = 'phpseclib-generated-key'; + + /** + * The constructor + * + * If you want to make use of the openssl extension, you'll need to set the mode manually, yourself. The reason + * \phpseclib\Crypt\RSA doesn't do it is because OpenSSL doesn't fail gracefully. openssl_pkey_new(), in particular, requires + * openssl.cnf be present somewhere and, unfortunately, the only real way to find out is too late. + * + * @return \phpseclib\Crypt\RSA + * @access public + */ + function __construct() + { + $this->configFile = dirname(__FILE__) . '/../openssl.cnf'; + + if (!defined('CRYPT_RSA_MODE')) { + switch (true) { + // Math/BigInteger's openssl requirements are a little less stringent than Crypt/RSA's. in particular, + // Math/BigInteger doesn't require an openssl.cfg file whereas Crypt/RSA does. so if Math/BigInteger + // can't use OpenSSL it can be pretty trivially assumed, then, that Crypt/RSA can't either. + case defined('MATH_BIGINTEGER_OPENSSL_DISABLE'): + define('CRYPT_RSA_MODE', self::MODE_INTERNAL); + break; + case extension_loaded('openssl') && file_exists($this->configFile): + // some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work + ob_start(); + @phpinfo(); + $content = ob_get_contents(); + ob_end_clean(); + + preg_match_all('#OpenSSL (Header|Library) Version(.*)#im', $content, $matches); + + $versions = array(); + if (!empty($matches[1])) { + for ($i = 0; $i < count($matches[1]); $i++) { + $fullVersion = trim(str_replace('=>', '', strip_tags($matches[2][$i]))); + + // Remove letter part in OpenSSL version + if (!preg_match('/(\d+\.\d+\.\d+)/i', $fullVersion, $m)) { + $versions[$matches[1][$i]] = $fullVersion; + } else { + $versions[$matches[1][$i]] = $m[0]; + } + } + } + + // it doesn't appear that OpenSSL versions were reported upon until PHP 5.3+ + switch (true) { + case !isset($versions['Header']): + case !isset($versions['Library']): + case $versions['Header'] == $versions['Library']: + case version_compare($versions['Header'], '1.0.0') >= 0 && version_compare($versions['Library'], '1.0.0') >= 0: + define('CRYPT_RSA_MODE', self::MODE_OPENSSL); + break; + default: + define('CRYPT_RSA_MODE', self::MODE_INTERNAL); + define('MATH_BIGINTEGER_OPENSSL_DISABLE', true); + } + break; + default: + define('CRYPT_RSA_MODE', self::MODE_INTERNAL); + } + } + + $this->zero = new BigInteger(); + $this->one = new BigInteger(1); + + $this->hash = new Hash('sha1'); + $this->hLen = $this->hash->getLength(); + $this->hashName = 'sha1'; + $this->mgfHash = new Hash('sha1'); + $this->mgfHLen = $this->mgfHash->getLength(); + } + + /** + * Create public / private key pair + * + * Returns an array with the following three elements: + * - 'privatekey': The private key. + * - 'publickey': The public key. + * - 'partialkey': A partially computed key (if the execution time exceeded $timeout). + * Will need to be passed back to \phpseclib\Crypt\RSA::createKey() as the third parameter for further processing. + * + * @access public + * @param int $bits + * @param int $timeout + * @param array $p + */ + function createKey($bits = 1024, $timeout = false, $partial = array()) + { + if (!defined('CRYPT_RSA_EXPONENT')) { + // http://en.wikipedia.org/wiki/65537_%28number%29 + define('CRYPT_RSA_EXPONENT', '65537'); + } + // per , this number ought not result in primes smaller + // than 256 bits. as a consequence if the key you're trying to create is 1024 bits and you've set CRYPT_RSA_SMALLEST_PRIME + // to 384 bits then you're going to get a 384 bit prime and a 640 bit prime (384 + 1024 % 384). at least if + // CRYPT_RSA_MODE is set to self::MODE_INTERNAL. if CRYPT_RSA_MODE is set to self::MODE_OPENSSL then + // CRYPT_RSA_SMALLEST_PRIME is ignored (ie. multi-prime RSA support is more intended as a way to speed up RSA key + // generation when there's a chance neither gmp nor OpenSSL are installed) + if (!defined('CRYPT_RSA_SMALLEST_PRIME')) { + define('CRYPT_RSA_SMALLEST_PRIME', 4096); + } + + // OpenSSL uses 65537 as the exponent and requires RSA keys be 384 bits minimum + if (CRYPT_RSA_MODE == self::MODE_OPENSSL && $bits >= 384 && CRYPT_RSA_EXPONENT == 65537) { + $config = array(); + if (isset($this->configFile)) { + $config['config'] = $this->configFile; + } + $rsa = openssl_pkey_new(array('private_key_bits' => $bits) + $config); + openssl_pkey_export($rsa, $privatekey, null, $config); + $publickey = openssl_pkey_get_details($rsa); + $publickey = $publickey['key']; + + $privatekey = call_user_func_array(array($this, '_convertPrivateKey'), array_values($this->_parseKey($privatekey, self::PRIVATE_FORMAT_PKCS1))); + $publickey = call_user_func_array(array($this, '_convertPublicKey'), array_values($this->_parseKey($publickey, self::PUBLIC_FORMAT_PKCS1))); + + // clear the buffer of error strings stemming from a minimalistic openssl.cnf + while (openssl_error_string() !== false) { + } + + return array( + 'privatekey' => $privatekey, + 'publickey' => $publickey, + 'partialkey' => false + ); + } + + static $e; + if (!isset($e)) { + $e = new BigInteger(CRYPT_RSA_EXPONENT); + } + + extract($this->_generateMinMax($bits)); + $absoluteMin = $min; + $temp = $bits >> 1; // divide by two to see how many bits P and Q would be + if ($temp > CRYPT_RSA_SMALLEST_PRIME) { + $num_primes = floor($bits / CRYPT_RSA_SMALLEST_PRIME); + $temp = CRYPT_RSA_SMALLEST_PRIME; + } else { + $num_primes = 2; + } + extract($this->_generateMinMax($temp + $bits % $temp)); + $finalMax = $max; + extract($this->_generateMinMax($temp)); + + $generator = new BigInteger(); + + $n = $this->one->copy(); + if (!empty($partial)) { + extract(unserialize($partial)); + } else { + $exponents = $coefficients = $primes = array(); + $lcm = array( + 'top' => $this->one->copy(), + 'bottom' => false + ); + } + + $start = time(); + $i0 = count($primes) + 1; + + do { + for ($i = $i0; $i <= $num_primes; $i++) { + if ($timeout !== false) { + $timeout-= time() - $start; + $start = time(); + if ($timeout <= 0) { + return array( + 'privatekey' => '', + 'publickey' => '', + 'partialkey' => serialize(array( + 'primes' => $primes, + 'coefficients' => $coefficients, + 'lcm' => $lcm, + 'exponents' => $exponents + )) + ); + } + } + + if ($i == $num_primes) { + list($min, $temp) = $absoluteMin->divide($n); + if (!$temp->equals($this->zero)) { + $min = $min->add($this->one); // ie. ceil() + } + $primes[$i] = $generator->randomPrime($min, $finalMax, $timeout); + } else { + $primes[$i] = $generator->randomPrime($min, $max, $timeout); + } + + if ($primes[$i] === false) { // if we've reached the timeout + if (count($primes) > 1) { + $partialkey = ''; + } else { + array_pop($primes); + $partialkey = serialize(array( + 'primes' => $primes, + 'coefficients' => $coefficients, + 'lcm' => $lcm, + 'exponents' => $exponents + )); + } + + return array( + 'privatekey' => '', + 'publickey' => '', + 'partialkey' => $partialkey + ); + } + + // the first coefficient is calculated differently from the rest + // ie. instead of being $primes[1]->modInverse($primes[2]), it's $primes[2]->modInverse($primes[1]) + if ($i > 2) { + $coefficients[$i] = $n->modInverse($primes[$i]); + } + + $n = $n->multiply($primes[$i]); + + $temp = $primes[$i]->subtract($this->one); + + // textbook RSA implementations use Euler's totient function instead of the least common multiple. + // see http://en.wikipedia.org/wiki/Euler%27s_totient_function + $lcm['top'] = $lcm['top']->multiply($temp); + $lcm['bottom'] = $lcm['bottom'] === false ? $temp : $lcm['bottom']->gcd($temp); + + $exponents[$i] = $e->modInverse($temp); + } + + list($temp) = $lcm['top']->divide($lcm['bottom']); + $gcd = $temp->gcd($e); + $i0 = 1; + } while (!$gcd->equals($this->one)); + + $d = $e->modInverse($temp); + + $coefficients[2] = $primes[2]->modInverse($primes[1]); + + // from : + // RSAPrivateKey ::= SEQUENCE { + // version Version, + // modulus INTEGER, -- n + // publicExponent INTEGER, -- e + // privateExponent INTEGER, -- d + // prime1 INTEGER, -- p + // prime2 INTEGER, -- q + // exponent1 INTEGER, -- d mod (p-1) + // exponent2 INTEGER, -- d mod (q-1) + // coefficient INTEGER, -- (inverse of q) mod p + // otherPrimeInfos OtherPrimeInfos OPTIONAL + // } + + return array( + 'privatekey' => $this->_convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients), + 'publickey' => $this->_convertPublicKey($n, $e), + 'partialkey' => false + ); + } + + /** + * Convert a private key to the appropriate format. + * + * @access private + * @see self::setPrivateKeyFormat() + * @param string $RSAPrivateKey + * @return string + */ + function _convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients) + { + $signed = $this->privateKeyFormat != self::PRIVATE_FORMAT_XML; + $num_primes = count($primes); + $raw = array( + 'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi + 'modulus' => $n->toBytes($signed), + 'publicExponent' => $e->toBytes($signed), + 'privateExponent' => $d->toBytes($signed), + 'prime1' => $primes[1]->toBytes($signed), + 'prime2' => $primes[2]->toBytes($signed), + 'exponent1' => $exponents[1]->toBytes($signed), + 'exponent2' => $exponents[2]->toBytes($signed), + 'coefficient' => $coefficients[2]->toBytes($signed) + ); + + // if the format in question does not support multi-prime rsa and multi-prime rsa was used, + // call _convertPublicKey() instead. + switch ($this->privateKeyFormat) { + case self::PRIVATE_FORMAT_XML: + if ($num_primes != 2) { + return false; + } + return "\r\n" . + ' ' . base64_encode($raw['modulus']) . "\r\n" . + ' ' . base64_encode($raw['publicExponent']) . "\r\n" . + '

' . base64_encode($raw['prime1']) . "

\r\n" . + ' ' . base64_encode($raw['prime2']) . "\r\n" . + ' ' . base64_encode($raw['exponent1']) . "\r\n" . + ' ' . base64_encode($raw['exponent2']) . "\r\n" . + ' ' . base64_encode($raw['coefficient']) . "\r\n" . + ' ' . base64_encode($raw['privateExponent']) . "\r\n" . + '
'; + break; + case self::PRIVATE_FORMAT_PUTTY: + if ($num_primes != 2) { + return false; + } + $key = "PuTTY-User-Key-File-2: ssh-rsa\r\nEncryption: "; + $encryption = (!empty($this->password) || is_string($this->password)) ? 'aes256-cbc' : 'none'; + $key.= $encryption; + $key.= "\r\nComment: " . $this->comment . "\r\n"; + $public = pack( + 'Na*Na*Na*', + strlen('ssh-rsa'), + 'ssh-rsa', + strlen($raw['publicExponent']), + $raw['publicExponent'], + strlen($raw['modulus']), + $raw['modulus'] + ); + $source = pack( + 'Na*Na*Na*Na*', + strlen('ssh-rsa'), + 'ssh-rsa', + strlen($encryption), + $encryption, + strlen($this->comment), + $this->comment, + strlen($public), + $public + ); + $public = base64_encode($public); + $key.= "Public-Lines: " . ((strlen($public) + 63) >> 6) . "\r\n"; + $key.= chunk_split($public, 64); + $private = pack( + 'Na*Na*Na*Na*', + strlen($raw['privateExponent']), + $raw['privateExponent'], + strlen($raw['prime1']), + $raw['prime1'], + strlen($raw['prime2']), + $raw['prime2'], + strlen($raw['coefficient']), + $raw['coefficient'] + ); + if (empty($this->password) && !is_string($this->password)) { + $source.= pack('Na*', strlen($private), $private); + $hashkey = 'putty-private-key-file-mac-key'; + } else { + $private.= Random::string(16 - (strlen($private) & 15)); + $source.= pack('Na*', strlen($private), $private); + $sequence = 0; + $symkey = ''; + while (strlen($symkey) < 32) { + $temp = pack('Na*', $sequence++, $this->password); + $symkey.= pack('H*', sha1($temp)); + } + $symkey = substr($symkey, 0, 32); + $crypto = new AES(); + + $crypto->setKey($symkey); + $crypto->disablePadding(); + $private = $crypto->encrypt($private); + $hashkey = 'putty-private-key-file-mac-key' . $this->password; + } + + $private = base64_encode($private); + $key.= 'Private-Lines: ' . ((strlen($private) + 63) >> 6) . "\r\n"; + $key.= chunk_split($private, 64); + $hash = new Hash('sha1'); + $hash->setKey(pack('H*', sha1($hashkey))); + $key.= 'Private-MAC: ' . bin2hex($hash->hash($source)) . "\r\n"; + + return $key; + default: // eg. self::PRIVATE_FORMAT_PKCS1 + $components = array(); + foreach ($raw as $name => $value) { + $components[$name] = pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($value)), $value); + } + + $RSAPrivateKey = implode('', $components); + + if ($num_primes > 2) { + $OtherPrimeInfos = ''; + for ($i = 3; $i <= $num_primes; $i++) { + // OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo + // + // OtherPrimeInfo ::= SEQUENCE { + // prime INTEGER, -- ri + // exponent INTEGER, -- di + // coefficient INTEGER -- ti + // } + $OtherPrimeInfo = pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($primes[$i]->toBytes(true))), $primes[$i]->toBytes(true)); + $OtherPrimeInfo.= pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($exponents[$i]->toBytes(true))), $exponents[$i]->toBytes(true)); + $OtherPrimeInfo.= pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($coefficients[$i]->toBytes(true))), $coefficients[$i]->toBytes(true)); + $OtherPrimeInfos.= pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($OtherPrimeInfo)), $OtherPrimeInfo); + } + $RSAPrivateKey.= pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($OtherPrimeInfos)), $OtherPrimeInfos); + } + + $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey); + + if ($this->privateKeyFormat == self::PRIVATE_FORMAT_PKCS8) { + $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA + $RSAPrivateKey = pack( + 'Ca*a*Ca*a*', + self::ASN1_INTEGER, + "\01\00", + $rsaOID, + 4, + $this->_encodeLength(strlen($RSAPrivateKey)), + $RSAPrivateKey + ); + $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey); + if (!empty($this->password) || is_string($this->password)) { + $salt = Random::string(8); + $iterationCount = 2048; + + $crypto = new DES(); + $crypto->setPassword($this->password, 'pbkdf1', 'md5', $salt, $iterationCount); + $RSAPrivateKey = $crypto->encrypt($RSAPrivateKey); + + $parameters = pack( + 'Ca*a*Ca*N', + self::ASN1_OCTETSTRING, + $this->_encodeLength(strlen($salt)), + $salt, + self::ASN1_INTEGER, + $this->_encodeLength(4), + $iterationCount + ); + $pbeWithMD5AndDES_CBC = "\x2a\x86\x48\x86\xf7\x0d\x01\x05\x03"; + + $encryptionAlgorithm = pack( + 'Ca*a*Ca*a*', + self::ASN1_OBJECT, + $this->_encodeLength(strlen($pbeWithMD5AndDES_CBC)), + $pbeWithMD5AndDES_CBC, + self::ASN1_SEQUENCE, + $this->_encodeLength(strlen($parameters)), + $parameters + ); + + $RSAPrivateKey = pack( + 'Ca*a*Ca*a*', + self::ASN1_SEQUENCE, + $this->_encodeLength(strlen($encryptionAlgorithm)), + $encryptionAlgorithm, + self::ASN1_OCTETSTRING, + $this->_encodeLength(strlen($RSAPrivateKey)), + $RSAPrivateKey + ); + + $RSAPrivateKey = pack('Ca*a*', self::ASN1_SEQUENCE, $this->_encodeLength(strlen($RSAPrivateKey)), $RSAPrivateKey); + + $RSAPrivateKey = "-----BEGIN ENCRYPTED PRIVATE KEY-----\r\n" . + chunk_split(base64_encode($RSAPrivateKey), 64) . + '-----END ENCRYPTED PRIVATE KEY-----'; + } else { + $RSAPrivateKey = "-----BEGIN PRIVATE KEY-----\r\n" . + chunk_split(base64_encode($RSAPrivateKey), 64) . + '-----END PRIVATE KEY-----'; + } + return $RSAPrivateKey; + } + + if (!empty($this->password) || is_string($this->password)) { + $iv = Random::string(8); + $symkey = pack('H*', md5($this->password . $iv)); // symkey is short for symmetric key + $symkey.= substr(pack('H*', md5($symkey . $this->password . $iv)), 0, 8); + $des = new TripleDES(); + $des->setKey($symkey); + $des->setIV($iv); + $iv = strtoupper(bin2hex($iv)); + $RSAPrivateKey = "-----BEGIN RSA PRIVATE KEY-----\r\n" . + "Proc-Type: 4,ENCRYPTED\r\n" . + "DEK-Info: DES-EDE3-CBC,$iv\r\n" . + "\r\n" . + chunk_split(base64_encode($des->encrypt($RSAPrivateKey)), 64) . + '-----END RSA PRIVATE KEY-----'; + } else { + $RSAPrivateKey = "-----BEGIN RSA PRIVATE KEY-----\r\n" . + chunk_split(base64_encode($RSAPrivateKey), 64) . + '-----END RSA PRIVATE KEY-----'; + } + + return $RSAPrivateKey; + } + } + + /** + * Convert a public key to the appropriate format + * + * @access private + * @see self::setPublicKeyFormat() + * @param string $RSAPrivateKey + * @return string + */ + function _convertPublicKey($n, $e) + { + $signed = $this->publicKeyFormat != self::PUBLIC_FORMAT_XML; + + $modulus = $n->toBytes($signed); + $publicExponent = $e->toBytes($signed); + + switch ($this->publicKeyFormat) { + case self::PUBLIC_FORMAT_RAW: + return array('e' => $e->copy(), 'n' => $n->copy()); + case self::PUBLIC_FORMAT_XML: + return "\r\n" . + ' ' . base64_encode($modulus) . "\r\n" . + ' ' . base64_encode($publicExponent) . "\r\n" . + ''; + break; + case self::PUBLIC_FORMAT_OPENSSH: + // from : + // string "ssh-rsa" + // mpint e + // mpint n + $RSAPublicKey = pack('Na*Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publicExponent), $publicExponent, strlen($modulus), $modulus); + $RSAPublicKey = 'ssh-rsa ' . base64_encode($RSAPublicKey) . ' ' . $this->comment; + + return $RSAPublicKey; + default: // eg. self::PUBLIC_FORMAT_PKCS1_RAW or self::PUBLIC_FORMAT_PKCS1 + // from : + // RSAPublicKey ::= SEQUENCE { + // modulus INTEGER, -- n + // publicExponent INTEGER -- e + // } + $components = array( + 'modulus' => pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($modulus)), $modulus), + 'publicExponent' => pack('Ca*a*', self::ASN1_INTEGER, $this->_encodeLength(strlen($publicExponent)), $publicExponent) + ); + + $RSAPublicKey = pack( + 'Ca*a*a*', + self::ASN1_SEQUENCE, + $this->_encodeLength(strlen($components['modulus']) + strlen($components['publicExponent'])), + $components['modulus'], + $components['publicExponent'] + ); + + if ($this->publicKeyFormat == self::PUBLIC_FORMAT_PKCS1_RAW) { + $RSAPublicKey = "-----BEGIN RSA PUBLIC KEY-----\r\n" . + chunk_split(base64_encode($RSAPublicKey), 64) . + '-----END RSA PUBLIC KEY-----'; + } else { + // sequence(oid(1.2.840.113549.1.1.1), null)) = rsaEncryption. + $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA + $RSAPublicKey = chr(0) . $RSAPublicKey; + $RSAPublicKey = chr(3) . $this->_encodeLength(strlen($RSAPublicKey)) . $RSAPublicKey; + + $RSAPublicKey = pack( + 'Ca*a*', + self::ASN1_SEQUENCE, + $this->_encodeLength(strlen($rsaOID . $RSAPublicKey)), + $rsaOID . $RSAPublicKey + ); + + $RSAPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" . + chunk_split(base64_encode($RSAPublicKey), 64) . + '-----END PUBLIC KEY-----'; + } + + return $RSAPublicKey; + } + } + + /** + * Break a public or private key down into its constituant components + * + * @access private + * @see self::_convertPublicKey() + * @see self::_convertPrivateKey() + * @param string $key + * @param int $type + * @return array + */ + function _parseKey($key, $type) + { + if ($type != self::PUBLIC_FORMAT_RAW && !is_string($key)) { + return false; + } + + switch ($type) { + case self::PUBLIC_FORMAT_RAW: + if (!is_array($key)) { + return false; + } + $components = array(); + switch (true) { + case isset($key['e']): + $components['publicExponent'] = $key['e']->copy(); + break; + case isset($key['exponent']): + $components['publicExponent'] = $key['exponent']->copy(); + break; + case isset($key['publicExponent']): + $components['publicExponent'] = $key['publicExponent']->copy(); + break; + case isset($key[0]): + $components['publicExponent'] = $key[0]->copy(); + } + switch (true) { + case isset($key['n']): + $components['modulus'] = $key['n']->copy(); + break; + case isset($key['modulo']): + $components['modulus'] = $key['modulo']->copy(); + break; + case isset($key['modulus']): + $components['modulus'] = $key['modulus']->copy(); + break; + case isset($key[1]): + $components['modulus'] = $key[1]->copy(); + } + return isset($components['modulus']) && isset($components['publicExponent']) ? $components : false; + case self::PRIVATE_FORMAT_PKCS1: + case self::PRIVATE_FORMAT_PKCS8: + case self::PUBLIC_FORMAT_PKCS1: + /* Although PKCS#1 proposes a format that public and private keys can use, encrypting them is + "outside the scope" of PKCS#1. PKCS#1 then refers you to PKCS#12 and PKCS#15 if you're wanting to + protect private keys, however, that's not what OpenSSL* does. OpenSSL protects private keys by adding + two new "fields" to the key - DEK-Info and Proc-Type. These fields are discussed here: + + http://tools.ietf.org/html/rfc1421#section-4.6.1.1 + http://tools.ietf.org/html/rfc1421#section-4.6.1.3 + + DES-EDE3-CBC as an algorithm, however, is not discussed anywhere, near as I can tell. + DES-CBC and DES-EDE are discussed in RFC1423, however, DES-EDE3-CBC isn't, nor is its key derivation + function. As is, the definitive authority on this encoding scheme isn't the IETF but rather OpenSSL's + own implementation. ie. the implementation *is* the standard and any bugs that may exist in that + implementation are part of the standard, as well. + + * OpenSSL is the de facto standard. It's utilized by OpenSSH and other projects */ + if (preg_match('#DEK-Info: (.+),(.+)#', $key, $matches)) { + $iv = pack('H*', trim($matches[2])); + $symkey = pack('H*', md5($this->password . substr($iv, 0, 8))); // symkey is short for symmetric key + $symkey.= pack('H*', md5($symkey . $this->password . substr($iv, 0, 8))); + // remove the Proc-Type / DEK-Info sections as they're no longer needed + $key = preg_replace('#^(?:Proc-Type|DEK-Info): .*#m', '', $key); + $ciphertext = $this->_extractBER($key); + if ($ciphertext === false) { + $ciphertext = $key; + } + switch ($matches[1]) { + case 'AES-256-CBC': + $crypto = new AES(); + break; + case 'AES-128-CBC': + $symkey = substr($symkey, 0, 16); + $crypto = new AES(); + break; + case 'DES-EDE3-CFB': + $crypto = new TripleDES(Base::MODE_CFB); + break; + case 'DES-EDE3-CBC': + $symkey = substr($symkey, 0, 24); + $crypto = new TripleDES(); + break; + case 'DES-CBC': + $crypto = new DES(); + break; + default: + return false; + } + $crypto->setKey($symkey); + $crypto->setIV($iv); + $decoded = $crypto->decrypt($ciphertext); + } else { + $decoded = $this->_extractBER($key); + } + + if ($decoded !== false) { + $key = $decoded; + } + + $components = array(); + + if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) { + return false; + } + if ($this->_decodeLength($key) != strlen($key)) { + return false; + } + + $tag = ord($this->_string_shift($key)); + /* intended for keys for which OpenSSL's asn1parse returns the following: + + 0:d=0 hl=4 l= 631 cons: SEQUENCE + 4:d=1 hl=2 l= 1 prim: INTEGER :00 + 7:d=1 hl=2 l= 13 cons: SEQUENCE + 9:d=2 hl=2 l= 9 prim: OBJECT :rsaEncryption + 20:d=2 hl=2 l= 0 prim: NULL + 22:d=1 hl=4 l= 609 prim: OCTET STRING + + ie. PKCS8 keys*/ + + if ($tag == self::ASN1_INTEGER && substr($key, 0, 3) == "\x01\x00\x30") { + $this->_string_shift($key, 3); + $tag = self::ASN1_SEQUENCE; + } + + if ($tag == self::ASN1_SEQUENCE) { + $temp = $this->_string_shift($key, $this->_decodeLength($key)); + if (ord($this->_string_shift($temp)) != self::ASN1_OBJECT) { + return false; + } + $length = $this->_decodeLength($temp); + switch ($this->_string_shift($temp, $length)) { + case "\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01": // rsaEncryption + break; + case "\x2a\x86\x48\x86\xf7\x0d\x01\x05\x03": // pbeWithMD5AndDES-CBC + /* + PBEParameter ::= SEQUENCE { + salt OCTET STRING (SIZE(8)), + iterationCount INTEGER } + */ + if (ord($this->_string_shift($temp)) != self::ASN1_SEQUENCE) { + return false; + } + if ($this->_decodeLength($temp) != strlen($temp)) { + return false; + } + $this->_string_shift($temp); // assume it's an octet string + $salt = $this->_string_shift($temp, $this->_decodeLength($temp)); + if (ord($this->_string_shift($temp)) != self::ASN1_INTEGER) { + return false; + } + $this->_decodeLength($temp); + list(, $iterationCount) = unpack('N', str_pad($temp, 4, chr(0), STR_PAD_LEFT)); + $this->_string_shift($key); // assume it's an octet string + $length = $this->_decodeLength($key); + if (strlen($key) != $length) { + return false; + } + + $crypto = new DES(); + $crypto->setPassword($this->password, 'pbkdf1', 'md5', $salt, $iterationCount); + $key = $crypto->decrypt($key); + if ($key === false) { + return false; + } + return $this->_parseKey($key, self::PRIVATE_FORMAT_PKCS1); + default: + return false; + } + /* intended for keys for which OpenSSL's asn1parse returns the following: + + 0:d=0 hl=4 l= 290 cons: SEQUENCE + 4:d=1 hl=2 l= 13 cons: SEQUENCE + 6:d=2 hl=2 l= 9 prim: OBJECT :rsaEncryption + 17:d=2 hl=2 l= 0 prim: NULL + 19:d=1 hl=4 l= 271 prim: BIT STRING */ + $tag = ord($this->_string_shift($key)); // skip over the BIT STRING / OCTET STRING tag + $this->_decodeLength($key); // skip over the BIT STRING / OCTET STRING length + // "The initial octet shall encode, as an unsigned binary integer wtih bit 1 as the least significant bit, the number of + // unused bits in the final subsequent octet. The number shall be in the range zero to seven." + // -- http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf (section 8.6.2.2) + if ($tag == self::ASN1_BITSTRING) { + $this->_string_shift($key); + } + if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) { + return false; + } + if ($this->_decodeLength($key) != strlen($key)) { + return false; + } + $tag = ord($this->_string_shift($key)); + } + if ($tag != self::ASN1_INTEGER) { + return false; + } + + $length = $this->_decodeLength($key); + $temp = $this->_string_shift($key, $length); + if (strlen($temp) != 1 || ord($temp) > 2) { + $components['modulus'] = new BigInteger($temp, 256); + $this->_string_shift($key); // skip over self::ASN1_INTEGER + $length = $this->_decodeLength($key); + $components[$type == self::PUBLIC_FORMAT_PKCS1 ? 'publicExponent' : 'privateExponent'] = new BigInteger($this->_string_shift($key, $length), 256); + + return $components; + } + if (ord($this->_string_shift($key)) != self::ASN1_INTEGER) { + return false; + } + $length = $this->_decodeLength($key); + $components['modulus'] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['publicExponent'] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['privateExponent'] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['primes'] = array(1 => new BigInteger($this->_string_shift($key, $length), 256)); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['primes'][] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['exponents'] = array(1 => new BigInteger($this->_string_shift($key, $length), 256)); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['exponents'][] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['coefficients'] = array(2 => new BigInteger($this->_string_shift($key, $length), 256)); + + if (!empty($key)) { + if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) { + return false; + } + $this->_decodeLength($key); + while (!empty($key)) { + if (ord($this->_string_shift($key)) != self::ASN1_SEQUENCE) { + return false; + } + $this->_decodeLength($key); + $key = substr($key, 1); + $length = $this->_decodeLength($key); + $components['primes'][] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['exponents'][] = new BigInteger($this->_string_shift($key, $length), 256); + $this->_string_shift($key); + $length = $this->_decodeLength($key); + $components['coefficients'][] = new BigInteger($this->_string_shift($key, $length), 256); + } + } + + return $components; + case self::PUBLIC_FORMAT_OPENSSH: + $parts = explode(' ', $key, 3); + + $key = isset($parts[1]) ? base64_decode($parts[1]) : false; + if ($key === false) { + return false; + } + + $comment = isset($parts[2]) ? $parts[2] : false; + + $cleanup = substr($key, 0, 11) == "\0\0\0\7ssh-rsa"; + + if (strlen($key) <= 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($key, 4))); + $publicExponent = new BigInteger($this->_string_shift($key, $length), -256); + if (strlen($key) <= 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($key, 4))); + $modulus = new BigInteger($this->_string_shift($key, $length), -256); + + if ($cleanup && strlen($key)) { + if (strlen($key) <= 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($key, 4))); + $realModulus = new BigInteger($this->_string_shift($key, $length), -256); + return strlen($key) ? false : array( + 'modulus' => $realModulus, + 'publicExponent' => $modulus, + 'comment' => $comment + ); + } else { + return strlen($key) ? false : array( + 'modulus' => $modulus, + 'publicExponent' => $publicExponent, + 'comment' => $comment + ); + } + // http://www.w3.org/TR/xmldsig-core/#sec-RSAKeyValue + // http://en.wikipedia.org/wiki/XML_Signature + case self::PRIVATE_FORMAT_XML: + case self::PUBLIC_FORMAT_XML: + $this->components = array(); + + $xml = xml_parser_create('UTF-8'); + xml_set_object($xml, $this); + xml_set_element_handler($xml, '_start_element_handler', '_stop_element_handler'); + xml_set_character_data_handler($xml, '_data_handler'); + // add to account for "dangling" tags like ... that are sometimes added + if (!xml_parse($xml, '' . $key . '')) { + return false; + } + + return isset($this->components['modulus']) && isset($this->components['publicExponent']) ? $this->components : false; + // from PuTTY's SSHPUBK.C + case self::PRIVATE_FORMAT_PUTTY: + $components = array(); + $key = preg_split('#\r\n|\r|\n#', $key); + $type = trim(preg_replace('#PuTTY-User-Key-File-2: (.+)#', '$1', $key[0])); + if ($type != 'ssh-rsa') { + return false; + } + $encryption = trim(preg_replace('#Encryption: (.+)#', '$1', $key[1])); + $comment = trim(preg_replace('#Comment: (.+)#', '$1', $key[2])); + + $publicLength = trim(preg_replace('#Public-Lines: (\d+)#', '$1', $key[3])); + $public = base64_decode(implode('', array_map('trim', array_slice($key, 4, $publicLength)))); + $public = substr($public, 11); + extract(unpack('Nlength', $this->_string_shift($public, 4))); + $components['publicExponent'] = new BigInteger($this->_string_shift($public, $length), -256); + extract(unpack('Nlength', $this->_string_shift($public, 4))); + $components['modulus'] = new BigInteger($this->_string_shift($public, $length), -256); + + $privateLength = trim(preg_replace('#Private-Lines: (\d+)#', '$1', $key[$publicLength + 4])); + $private = base64_decode(implode('', array_map('trim', array_slice($key, $publicLength + 5, $privateLength)))); + + switch ($encryption) { + case 'aes256-cbc': + $symkey = ''; + $sequence = 0; + while (strlen($symkey) < 32) { + $temp = pack('Na*', $sequence++, $this->password); + $symkey.= pack('H*', sha1($temp)); + } + $symkey = substr($symkey, 0, 32); + $crypto = new AES(); + } + + if ($encryption != 'none') { + $crypto->setKey($symkey); + $crypto->disablePadding(); + $private = $crypto->decrypt($private); + if ($private === false) { + return false; + } + } + + extract(unpack('Nlength', $this->_string_shift($private, 4))); + if (strlen($private) < $length) { + return false; + } + $components['privateExponent'] = new BigInteger($this->_string_shift($private, $length), -256); + extract(unpack('Nlength', $this->_string_shift($private, 4))); + if (strlen($private) < $length) { + return false; + } + $components['primes'] = array(1 => new BigInteger($this->_string_shift($private, $length), -256)); + extract(unpack('Nlength', $this->_string_shift($private, 4))); + if (strlen($private) < $length) { + return false; + } + $components['primes'][] = new BigInteger($this->_string_shift($private, $length), -256); + + $temp = $components['primes'][1]->subtract($this->one); + $components['exponents'] = array(1 => $components['publicExponent']->modInverse($temp)); + $temp = $components['primes'][2]->subtract($this->one); + $components['exponents'][] = $components['publicExponent']->modInverse($temp); + + extract(unpack('Nlength', $this->_string_shift($private, 4))); + if (strlen($private) < $length) { + return false; + } + $components['coefficients'] = array(2 => new BigInteger($this->_string_shift($private, $length), -256)); + + return $components; + } + } + + /** + * Returns the key size + * + * More specifically, this returns the size of the modulo in bits. + * + * @access public + * @return int + */ + function getSize() + { + return !isset($this->modulus) ? 0 : strlen($this->modulus->toBits()); + } + + /** + * Start Element Handler + * + * Called by xml_set_element_handler() + * + * @access private + * @param resource $parser + * @param string $name + * @param array $attribs + */ + function _start_element_handler($parser, $name, $attribs) + { + //$name = strtoupper($name); + switch ($name) { + case 'MODULUS': + $this->current = &$this->components['modulus']; + break; + case 'EXPONENT': + $this->current = &$this->components['publicExponent']; + break; + case 'P': + $this->current = &$this->components['primes'][1]; + break; + case 'Q': + $this->current = &$this->components['primes'][2]; + break; + case 'DP': + $this->current = &$this->components['exponents'][1]; + break; + case 'DQ': + $this->current = &$this->components['exponents'][2]; + break; + case 'INVERSEQ': + $this->current = &$this->components['coefficients'][2]; + break; + case 'D': + $this->current = &$this->components['privateExponent']; + } + $this->current = ''; + } + + /** + * Stop Element Handler + * + * Called by xml_set_element_handler() + * + * @access private + * @param resource $parser + * @param string $name + */ + function _stop_element_handler($parser, $name) + { + if (isset($this->current)) { + $this->current = new BigInteger(base64_decode($this->current), 256); + unset($this->current); + } + } + + /** + * Data Handler + * + * Called by xml_set_character_data_handler() + * + * @access private + * @param resource $parser + * @param string $data + */ + function _data_handler($parser, $data) + { + if (!isset($this->current) || is_object($this->current)) { + return; + } + $this->current.= trim($data); + } + + /** + * Loads a public or private key + * + * Returns true on success and false on failure (ie. an incorrect password was provided or the key was malformed) + * + * @access public + * @param string $key + * @param int $type optional + */ + function loadKey($key, $type = false) + { + if ($key instanceof RSA) { + $this->privateKeyFormat = $key->privateKeyFormat; + $this->publicKeyFormat = $key->publicKeyFormat; + $this->k = $key->k; + $this->hLen = $key->hLen; + $this->sLen = $key->sLen; + $this->mgfHLen = $key->mgfHLen; + $this->encryptionMode = $key->encryptionMode; + $this->signatureMode = $key->signatureMode; + $this->password = $key->password; + $this->configFile = $key->configFile; + $this->comment = $key->comment; + + if (is_object($key->hash)) { + $this->hash = new Hash($key->hash->getHash()); + } + if (is_object($key->mgfHash)) { + $this->mgfHash = new Hash($key->mgfHash->getHash()); + } + + if (is_object($key->modulus)) { + $this->modulus = $key->modulus->copy(); + } + if (is_object($key->exponent)) { + $this->exponent = $key->exponent->copy(); + } + if (is_object($key->publicExponent)) { + $this->publicExponent = $key->publicExponent->copy(); + } + + $this->primes = array(); + $this->exponents = array(); + $this->coefficients = array(); + + foreach ($this->primes as $prime) { + $this->primes[] = $prime->copy(); + } + foreach ($this->exponents as $exponent) { + $this->exponents[] = $exponent->copy(); + } + foreach ($this->coefficients as $coefficient) { + $this->coefficients[] = $coefficient->copy(); + } + + return true; + } + + if ($type === false) { + $types = array( + self::PUBLIC_FORMAT_RAW, + self::PRIVATE_FORMAT_PKCS1, + self::PRIVATE_FORMAT_XML, + self::PRIVATE_FORMAT_PUTTY, + self::PUBLIC_FORMAT_OPENSSH + ); + foreach ($types as $type) { + $components = $this->_parseKey($key, $type); + if ($components !== false) { + break; + } + } + } else { + $components = $this->_parseKey($key, $type); + } + + if ($components === false) { + $this->comment = null; + $this->modulus = null; + $this->k = null; + $this->exponent = null; + $this->primes = null; + $this->exponents = null; + $this->coefficients = null; + $this->publicExponent = null; + + return false; + } + + if (isset($components['comment']) && $components['comment'] !== false) { + $this->comment = $components['comment']; + } + $this->modulus = $components['modulus']; + $this->k = strlen($this->modulus->toBytes()); + $this->exponent = isset($components['privateExponent']) ? $components['privateExponent'] : $components['publicExponent']; + if (isset($components['primes'])) { + $this->primes = $components['primes']; + $this->exponents = $components['exponents']; + $this->coefficients = $components['coefficients']; + $this->publicExponent = $components['publicExponent']; + } else { + $this->primes = array(); + $this->exponents = array(); + $this->coefficients = array(); + $this->publicExponent = false; + } + + switch ($type) { + case self::PUBLIC_FORMAT_OPENSSH: + case self::PUBLIC_FORMAT_RAW: + $this->setPublicKey(); + break; + case self::PRIVATE_FORMAT_PKCS1: + switch (true) { + case strpos($key, '-BEGIN PUBLIC KEY-') !== false: + case strpos($key, '-BEGIN RSA PUBLIC KEY-') !== false: + $this->setPublicKey(); + } + } + + return true; + } + + /** + * Sets the password + * + * Private keys can be encrypted with a password. To unset the password, pass in the empty string or false. + * Or rather, pass in $password such that empty($password) && !is_string($password) is true. + * + * @see self::createKey() + * @see self::loadKey() + * @access public + * @param string $password + */ + function setPassword($password = false) + { + $this->password = $password; + } + + /** + * Defines the public key + * + * Some private key formats define the public exponent and some don't. Those that don't define it are problematic when + * used in certain contexts. For example, in SSH-2, RSA authentication works by sending the public key along with a + * message signed by the private key to the server. The SSH-2 server looks the public key up in an index of public keys + * and if it's present then proceeds to verify the signature. Problem is, if your private key doesn't include the public + * exponent this won't work unless you manually add the public exponent. phpseclib tries to guess if the key being used + * is the public key but in the event that it guesses incorrectly you might still want to explicitly set the key as being + * public. + * + * Do note that when a new key is loaded the index will be cleared. + * + * Returns true on success, false on failure + * + * @see self::getPublicKey() + * @access public + * @param string $key optional + * @param int $type optional + * @return bool + */ + function setPublicKey($key = false, $type = false) + { + // if a public key has already been loaded return false + if (!empty($this->publicExponent)) { + return false; + } + + if ($key === false && !empty($this->modulus)) { + $this->publicExponent = $this->exponent; + return true; + } + + if ($type === false) { + $types = array( + self::PUBLIC_FORMAT_RAW, + self::PUBLIC_FORMAT_PKCS1, + self::PUBLIC_FORMAT_XML, + self::PUBLIC_FORMAT_OPENSSH + ); + foreach ($types as $type) { + $components = $this->_parseKey($key, $type); + if ($components !== false) { + break; + } + } + } else { + $components = $this->_parseKey($key, $type); + } + + if ($components === false) { + return false; + } + + if (empty($this->modulus) || !$this->modulus->equals($components['modulus'])) { + $this->modulus = $components['modulus']; + $this->exponent = $this->publicExponent = $components['publicExponent']; + return true; + } + + $this->publicExponent = $components['publicExponent']; + + return true; + } + + /** + * Defines the private key + * + * If phpseclib guessed a private key was a public key and loaded it as such it might be desirable to force + * phpseclib to treat the key as a private key. This function will do that. + * + * Do note that when a new key is loaded the index will be cleared. + * + * Returns true on success, false on failure + * + * @see self::getPublicKey() + * @access public + * @param string $key optional + * @param int $type optional + * @return bool + */ + function setPrivateKey($key = false, $type = false) + { + if ($key === false && !empty($this->publicExponent)) { + $this->publicExponent = false; + return true; + } + + $rsa = new RSA(); + if (!$rsa->loadKey($key, $type)) { + return false; + } + $rsa->publicExponent = false; + + // don't overwrite the old key if the new key is invalid + $this->loadKey($rsa); + return true; + } + + /** + * Returns the public key + * + * The public key is only returned under two circumstances - if the private key had the public key embedded within it + * or if the public key was set via setPublicKey(). If the currently loaded key is supposed to be the public key this + * function won't return it since this library, for the most part, doesn't distinguish between public and private keys. + * + * @see self::getPublicKey() + * @access public + * @param string $key + * @param int $type optional + */ + function getPublicKey($type = self::PUBLIC_FORMAT_PKCS8) + { + if (empty($this->modulus) || empty($this->publicExponent)) { + return false; + } + + $oldFormat = $this->publicKeyFormat; + $this->publicKeyFormat = $type; + $temp = $this->_convertPublicKey($this->modulus, $this->publicExponent); + $this->publicKeyFormat = $oldFormat; + return $temp; + } + + /** + * Returns the public key's fingerprint + * + * The public key's fingerprint is returned, which is equivalent to running `ssh-keygen -lf rsa.pub`. If there is + * no public key currently loaded, false is returned. + * Example output (md5): "c1:b1:30:29:d7:b8:de:6c:97:77:10:d7:46:41:63:87" (as specified by RFC 4716) + * + * @access public + * @param string $algorithm The hashing algorithm to be used. Valid options are 'md5' and 'sha256'. False is returned + * for invalid values. + * @return mixed + */ + function getPublicKeyFingerprint($algorithm = 'md5') + { + if (empty($this->modulus) || empty($this->publicExponent)) { + return false; + } + + $modulus = $this->modulus->toBytes(true); + $publicExponent = $this->publicExponent->toBytes(true); + + $RSAPublicKey = pack('Na*Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publicExponent), $publicExponent, strlen($modulus), $modulus); + + switch ($algorithm) { + case 'sha256': + $hash = new Hash('sha256'); + $base = base64_encode($hash->hash($RSAPublicKey)); + return substr($base, 0, strlen($base) - 1); + case 'md5': + return substr(chunk_split(md5($RSAPublicKey), 2, ':'), 0, -1); + default: + return false; + } + } + + /** + * Returns the private key + * + * The private key is only returned if the currently loaded key contains the constituent prime numbers. + * + * @see self::getPublicKey() + * @access public + * @param string $key + * @param int $type optional + * @return mixed + */ + function getPrivateKey($type = self::PUBLIC_FORMAT_PKCS1) + { + if (empty($this->primes)) { + return false; + } + + $oldFormat = $this->privateKeyFormat; + $this->privateKeyFormat = $type; + $temp = $this->_convertPrivateKey($this->modulus, $this->publicExponent, $this->exponent, $this->primes, $this->exponents, $this->coefficients); + $this->privateKeyFormat = $oldFormat; + return $temp; + } + + /** + * Returns a minimalistic private key + * + * Returns the private key without the prime number constituants. Structurally identical to a public key that + * hasn't been set as the public key + * + * @see self::getPrivateKey() + * @access private + * @param string $key + * @param int $type optional + */ + function _getPrivatePublicKey($mode = self::PUBLIC_FORMAT_PKCS8) + { + if (empty($this->modulus) || empty($this->exponent)) { + return false; + } + + $oldFormat = $this->publicKeyFormat; + $this->publicKeyFormat = $mode; + $temp = $this->_convertPublicKey($this->modulus, $this->exponent); + $this->publicKeyFormat = $oldFormat; + return $temp; + } + + /** + * __toString() magic method + * + * @access public + * @return string + */ + function __toString() + { + $key = $this->getPrivateKey($this->privateKeyFormat); + if ($key !== false) { + return $key; + } + $key = $this->_getPrivatePublicKey($this->publicKeyFormat); + return $key !== false ? $key : ''; + } + + /** + * __clone() magic method + * + * @access public + * @return Crypt_RSA + */ + function __clone() + { + $key = new RSA(); + $key->loadKey($this); + return $key; + } + + /** + * Generates the smallest and largest numbers requiring $bits bits + * + * @access private + * @param int $bits + * @return array + */ + function _generateMinMax($bits) + { + $bytes = $bits >> 3; + $min = str_repeat(chr(0), $bytes); + $max = str_repeat(chr(0xFF), $bytes); + $msb = $bits & 7; + if ($msb) { + $min = chr(1 << ($msb - 1)) . $min; + $max = chr((1 << $msb) - 1) . $max; + } else { + $min[0] = chr(0x80); + } + + return array( + 'min' => new BigInteger($min, 256), + 'max' => new BigInteger($max, 256) + ); + } + + /** + * DER-decode the length + * + * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See + * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. + * + * @access private + * @param string $string + * @return int + */ + function _decodeLength(&$string) + { + $length = ord($this->_string_shift($string)); + if ($length & 0x80) { // definite length, long form + $length&= 0x7F; + $temp = $this->_string_shift($string, $length); + list(, $length) = unpack('N', substr(str_pad($temp, 4, chr(0), STR_PAD_LEFT), -4)); + } + return $length; + } + + /** + * DER-encode the length + * + * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See + * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. + * + * @access private + * @param int $length + * @return string + */ + function _encodeLength($length) + { + if ($length <= 0x7F) { + return chr($length); + } + + $temp = ltrim(pack('N', $length), chr(0)); + return pack('Ca*', 0x80 | strlen($temp), $temp); + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @return string + * @access private + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } + + /** + * Determines the private key format + * + * @see self::createKey() + * @access public + * @param int $format + */ + function setPrivateKeyFormat($format) + { + $this->privateKeyFormat = $format; + } + + /** + * Determines the public key format + * + * @see self::createKey() + * @access public + * @param int $format + */ + function setPublicKeyFormat($format) + { + $this->publicKeyFormat = $format; + } + + /** + * Determines which hashing function should be used + * + * Used with signature production / verification and (if the encryption mode is self::ENCRYPTION_OAEP) encryption and + * decryption. If $hash isn't supported, sha1 is used. + * + * @access public + * @param string $hash + */ + function setHash($hash) + { + // \phpseclib\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example. + switch ($hash) { + case 'md2': + case 'md5': + case 'sha1': + case 'sha256': + case 'sha384': + case 'sha512': + $this->hash = new Hash($hash); + $this->hashName = $hash; + break; + default: + $this->hash = new Hash('sha1'); + $this->hashName = 'sha1'; + } + $this->hLen = $this->hash->getLength(); + } + + /** + * Determines which hashing function should be used for the mask generation function + * + * The mask generation function is used by self::ENCRYPTION_OAEP and self::SIGNATURE_PSS and although it's + * best if Hash and MGFHash are set to the same thing this is not a requirement. + * + * @access public + * @param string $hash + */ + function setMGFHash($hash) + { + // \phpseclib\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example. + switch ($hash) { + case 'md2': + case 'md5': + case 'sha1': + case 'sha256': + case 'sha384': + case 'sha512': + $this->mgfHash = new Hash($hash); + break; + default: + $this->mgfHash = new Hash('sha1'); + } + $this->mgfHLen = $this->mgfHash->getLength(); + } + + /** + * Determines the salt length + * + * To quote from {@link http://tools.ietf.org/html/rfc3447#page-38 RFC3447#page-38}: + * + * Typical salt lengths in octets are hLen (the length of the output + * of the hash function Hash) and 0. + * + * @access public + * @param int $format + */ + function setSaltLength($sLen) + { + $this->sLen = $sLen; + } + + /** + * Integer-to-Octet-String primitive + * + * See {@link http://tools.ietf.org/html/rfc3447#section-4.1 RFC3447#section-4.1}. + * + * @access private + * @param \phpseclib\Math\BigInteger $x + * @param int $xLen + * @return string + */ + function _i2osp($x, $xLen) + { + $x = $x->toBytes(); + if (strlen($x) > $xLen) { + user_error('Integer too large'); + return false; + } + return str_pad($x, $xLen, chr(0), STR_PAD_LEFT); + } + + /** + * Octet-String-to-Integer primitive + * + * See {@link http://tools.ietf.org/html/rfc3447#section-4.2 RFC3447#section-4.2}. + * + * @access private + * @param string $x + * @return \phpseclib\Math\BigInteger + */ + function _os2ip($x) + { + return new BigInteger($x, 256); + } + + /** + * Exponentiate with or without Chinese Remainder Theorem + * + * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.1 RFC3447#section-5.1.2}. + * + * @access private + * @param \phpseclib\Math\BigInteger $x + * @return \phpseclib\Math\BigInteger + */ + function _exponentiate($x) + { + switch (true) { + case empty($this->primes): + case $this->primes[1]->equals($this->zero): + case empty($this->coefficients): + case $this->coefficients[2]->equals($this->zero): + case empty($this->exponents): + case $this->exponents[1]->equals($this->zero): + return $x->modPow($this->exponent, $this->modulus); + } + + $num_primes = count($this->primes); + + if (defined('CRYPT_RSA_DISABLE_BLINDING')) { + $m_i = array( + 1 => $x->modPow($this->exponents[1], $this->primes[1]), + 2 => $x->modPow($this->exponents[2], $this->primes[2]) + ); + $h = $m_i[1]->subtract($m_i[2]); + $h = $h->multiply($this->coefficients[2]); + list(, $h) = $h->divide($this->primes[1]); + $m = $m_i[2]->add($h->multiply($this->primes[2])); + + $r = $this->primes[1]; + for ($i = 3; $i <= $num_primes; $i++) { + $m_i = $x->modPow($this->exponents[$i], $this->primes[$i]); + + $r = $r->multiply($this->primes[$i - 1]); + + $h = $m_i->subtract($m); + $h = $h->multiply($this->coefficients[$i]); + list(, $h) = $h->divide($this->primes[$i]); + + $m = $m->add($r->multiply($h)); + } + } else { + $smallest = $this->primes[1]; + for ($i = 2; $i <= $num_primes; $i++) { + if ($smallest->compare($this->primes[$i]) > 0) { + $smallest = $this->primes[$i]; + } + } + + $one = new BigInteger(1); + + $r = $one->random($one, $smallest->subtract($one)); + + $m_i = array( + 1 => $this->_blind($x, $r, 1), + 2 => $this->_blind($x, $r, 2) + ); + $h = $m_i[1]->subtract($m_i[2]); + $h = $h->multiply($this->coefficients[2]); + list(, $h) = $h->divide($this->primes[1]); + $m = $m_i[2]->add($h->multiply($this->primes[2])); + + $r = $this->primes[1]; + for ($i = 3; $i <= $num_primes; $i++) { + $m_i = $this->_blind($x, $r, $i); + + $r = $r->multiply($this->primes[$i - 1]); + + $h = $m_i->subtract($m); + $h = $h->multiply($this->coefficients[$i]); + list(, $h) = $h->divide($this->primes[$i]); + + $m = $m->add($r->multiply($h)); + } + } + + return $m; + } + + /** + * Performs RSA Blinding + * + * Protects against timing attacks by employing RSA Blinding. + * Returns $x->modPow($this->exponents[$i], $this->primes[$i]) + * + * @access private + * @param \phpseclib\Math\BigInteger $x + * @param \phpseclib\Math\BigInteger $r + * @param int $i + * @return \phpseclib\Math\BigInteger + */ + function _blind($x, $r, $i) + { + $x = $x->multiply($r->modPow($this->publicExponent, $this->primes[$i])); + $x = $x->modPow($this->exponents[$i], $this->primes[$i]); + + $r = $r->modInverse($this->primes[$i]); + $x = $x->multiply($r); + list(, $x) = $x->divide($this->primes[$i]); + + return $x; + } + + /** + * Performs blinded RSA equality testing + * + * Protects against a particular type of timing attack described. + * + * See {@link http://codahale.com/a-lesson-in-timing-attacks/ A Lesson In Timing Attacks (or, Don't use MessageDigest.isEquals)} + * + * Thanks for the heads up singpolyma! + * + * @access private + * @param string $x + * @param string $y + * @return bool + */ + function _equals($x, $y) + { + if (strlen($x) != strlen($y)) { + return false; + } + + $result = 0; + for ($i = 0; $i < strlen($x); $i++) { + $result |= ord($x[$i]) ^ ord($y[$i]); + } + + return $result == 0; + } + + /** + * RSAEP + * + * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.1 RFC3447#section-5.1.1}. + * + * @access private + * @param \phpseclib\Math\BigInteger $m + * @return \phpseclib\Math\BigInteger + */ + function _rsaep($m) + { + if ($m->compare($this->zero) < 0 || $m->compare($this->modulus) > 0) { + user_error('Message representative out of range'); + return false; + } + return $this->_exponentiate($m); + } + + /** + * RSADP + * + * See {@link http://tools.ietf.org/html/rfc3447#section-5.1.2 RFC3447#section-5.1.2}. + * + * @access private + * @param \phpseclib\Math\BigInteger $c + * @return \phpseclib\Math\BigInteger + */ + function _rsadp($c) + { + if ($c->compare($this->zero) < 0 || $c->compare($this->modulus) > 0) { + user_error('Ciphertext representative out of range'); + return false; + } + return $this->_exponentiate($c); + } + + /** + * RSASP1 + * + * See {@link http://tools.ietf.org/html/rfc3447#section-5.2.1 RFC3447#section-5.2.1}. + * + * @access private + * @param \phpseclib\Math\BigInteger $m + * @return \phpseclib\Math\BigInteger + */ + function _rsasp1($m) + { + if ($m->compare($this->zero) < 0 || $m->compare($this->modulus) > 0) { + user_error('Message representative out of range'); + return false; + } + return $this->_exponentiate($m); + } + + /** + * RSAVP1 + * + * See {@link http://tools.ietf.org/html/rfc3447#section-5.2.2 RFC3447#section-5.2.2}. + * + * @access private + * @param \phpseclib\Math\BigInteger $s + * @return \phpseclib\Math\BigInteger + */ + function _rsavp1($s) + { + if ($s->compare($this->zero) < 0 || $s->compare($this->modulus) > 0) { + user_error('Signature representative out of range'); + return false; + } + return $this->_exponentiate($s); + } + + /** + * MGF1 + * + * See {@link http://tools.ietf.org/html/rfc3447#appendix-B.2.1 RFC3447#appendix-B.2.1}. + * + * @access private + * @param string $mgfSeed + * @param int $mgfLen + * @return string + */ + function _mgf1($mgfSeed, $maskLen) + { + // if $maskLen would yield strings larger than 4GB, PKCS#1 suggests a "Mask too long" error be output. + + $t = ''; + $count = ceil($maskLen / $this->mgfHLen); + for ($i = 0; $i < $count; $i++) { + $c = pack('N', $i); + $t.= $this->mgfHash->hash($mgfSeed . $c); + } + + return substr($t, 0, $maskLen); + } + + /** + * RSAES-OAEP-ENCRYPT + * + * See {@link http://tools.ietf.org/html/rfc3447#section-7.1.1 RFC3447#section-7.1.1} and + * {http://en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding OAES}. + * + * @access private + * @param string $m + * @param string $l + * @return string + */ + function _rsaes_oaep_encrypt($m, $l = '') + { + $mLen = strlen($m); + + // Length checking + + // if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error + // be output. + + if ($mLen > $this->k - 2 * $this->hLen - 2) { + user_error('Message too long'); + return false; + } + + // EME-OAEP encoding + + $lHash = $this->hash->hash($l); + $ps = str_repeat(chr(0), $this->k - $mLen - 2 * $this->hLen - 2); + $db = $lHash . $ps . chr(1) . $m; + $seed = Random::string($this->hLen); + $dbMask = $this->_mgf1($seed, $this->k - $this->hLen - 1); + $maskedDB = $db ^ $dbMask; + $seedMask = $this->_mgf1($maskedDB, $this->hLen); + $maskedSeed = $seed ^ $seedMask; + $em = chr(0) . $maskedSeed . $maskedDB; + + // RSA encryption + + $m = $this->_os2ip($em); + $c = $this->_rsaep($m); + $c = $this->_i2osp($c, $this->k); + + // Output the ciphertext C + + return $c; + } + + /** + * RSAES-OAEP-DECRYPT + * + * See {@link http://tools.ietf.org/html/rfc3447#section-7.1.2 RFC3447#section-7.1.2}. The fact that the error + * messages aren't distinguishable from one another hinders debugging, but, to quote from RFC3447#section-7.1.2: + * + * Note. Care must be taken to ensure that an opponent cannot + * distinguish the different error conditions in Step 3.g, whether by + * error message or timing, or, more generally, learn partial + * information about the encoded message EM. Otherwise an opponent may + * be able to obtain useful information about the decryption of the + * ciphertext C, leading to a chosen-ciphertext attack such as the one + * observed by Manger [36]. + * + * As for $l... to quote from {@link http://tools.ietf.org/html/rfc3447#page-17 RFC3447#page-17}: + * + * Both the encryption and the decryption operations of RSAES-OAEP take + * the value of a label L as input. In this version of PKCS #1, L is + * the empty string; other uses of the label are outside the scope of + * this document. + * + * @access private + * @param string $c + * @param string $l + * @return string + */ + function _rsaes_oaep_decrypt($c, $l = '') + { + // Length checking + + // if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error + // be output. + + if (strlen($c) != $this->k || $this->k < 2 * $this->hLen + 2) { + user_error('Decryption error'); + return false; + } + + // RSA decryption + + $c = $this->_os2ip($c); + $m = $this->_rsadp($c); + if ($m === false) { + user_error('Decryption error'); + return false; + } + $em = $this->_i2osp($m, $this->k); + + // EME-OAEP decoding + + $lHash = $this->hash->hash($l); + $y = ord($em[0]); + $maskedSeed = substr($em, 1, $this->hLen); + $maskedDB = substr($em, $this->hLen + 1); + $seedMask = $this->_mgf1($maskedDB, $this->hLen); + $seed = $maskedSeed ^ $seedMask; + $dbMask = $this->_mgf1($seed, $this->k - $this->hLen - 1); + $db = $maskedDB ^ $dbMask; + $lHash2 = substr($db, 0, $this->hLen); + $m = substr($db, $this->hLen); + if ($lHash != $lHash2) { + user_error('Decryption error'); + return false; + } + $m = ltrim($m, chr(0)); + if (ord($m[0]) != 1) { + user_error('Decryption error'); + return false; + } + + // Output the message M + + return substr($m, 1); + } + + /** + * Raw Encryption / Decryption + * + * Doesn't use padding and is not recommended. + * + * @access private + * @param string $m + * @return string + */ + function _raw_encrypt($m) + { + $temp = $this->_os2ip($m); + $temp = $this->_rsaep($temp); + return $this->_i2osp($temp, $this->k); + } + + /** + * RSAES-PKCS1-V1_5-ENCRYPT + * + * See {@link http://tools.ietf.org/html/rfc3447#section-7.2.1 RFC3447#section-7.2.1}. + * + * @access private + * @param string $m + * @return string + */ + function _rsaes_pkcs1_v1_5_encrypt($m) + { + $mLen = strlen($m); + + // Length checking + + if ($mLen > $this->k - 11) { + user_error('Message too long'); + return false; + } + + // EME-PKCS1-v1_5 encoding + + $psLen = $this->k - $mLen - 3; + $ps = ''; + while (strlen($ps) != $psLen) { + $temp = Random::string($psLen - strlen($ps)); + $temp = str_replace("\x00", '', $temp); + $ps.= $temp; + } + $type = 2; + // see the comments of _rsaes_pkcs1_v1_5_decrypt() to understand why this is being done + if (defined('CRYPT_RSA_PKCS15_COMPAT') && (!isset($this->publicExponent) || $this->exponent !== $this->publicExponent)) { + $type = 1; + // "The padding string PS shall consist of k-3-||D|| octets. ... for block type 01, they shall have value FF" + $ps = str_repeat("\xFF", $psLen); + } + $em = chr(0) . chr($type) . $ps . chr(0) . $m; + + // RSA encryption + $m = $this->_os2ip($em); + $c = $this->_rsaep($m); + $c = $this->_i2osp($c, $this->k); + + // Output the ciphertext C + + return $c; + } + + /** + * RSAES-PKCS1-V1_5-DECRYPT + * + * See {@link http://tools.ietf.org/html/rfc3447#section-7.2.2 RFC3447#section-7.2.2}. + * + * For compatibility purposes, this function departs slightly from the description given in RFC3447. + * The reason being that RFC2313#section-8.1 (PKCS#1 v1.5) states that ciphertext's encrypted by the + * private key should have the second byte set to either 0 or 1 and that ciphertext's encrypted by the + * public key should have the second byte set to 2. In RFC3447 (PKCS#1 v2.1), the second byte is supposed + * to be 2 regardless of which key is used. For compatibility purposes, we'll just check to make sure the + * second byte is 2 or less. If it is, we'll accept the decrypted string as valid. + * + * As a consequence of this, a private key encrypted ciphertext produced with \phpseclib\Crypt\RSA may not decrypt + * with a strictly PKCS#1 v1.5 compliant RSA implementation. Public key encrypted ciphertext's should but + * not private key encrypted ciphertext's. + * + * @access private + * @param string $c + * @return string + */ + function _rsaes_pkcs1_v1_5_decrypt($c) + { + // Length checking + + if (strlen($c) != $this->k) { // or if k < 11 + user_error('Decryption error'); + return false; + } + + // RSA decryption + + $c = $this->_os2ip($c); + $m = $this->_rsadp($c); + + if ($m === false) { + user_error('Decryption error'); + return false; + } + $em = $this->_i2osp($m, $this->k); + + // EME-PKCS1-v1_5 decoding + + if (ord($em[0]) != 0 || ord($em[1]) > 2) { + user_error('Decryption error'); + return false; + } + + $ps = substr($em, 2, strpos($em, chr(0), 2) - 2); + $m = substr($em, strlen($ps) + 3); + + if (strlen($ps) < 8) { + user_error('Decryption error'); + return false; + } + + // Output M + + return $m; + } + + /** + * EMSA-PSS-ENCODE + * + * See {@link http://tools.ietf.org/html/rfc3447#section-9.1.1 RFC3447#section-9.1.1}. + * + * @access private + * @param string $m + * @param int $emBits + */ + function _emsa_pss_encode($m, $emBits) + { + // if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error + // be output. + + $emLen = ($emBits + 1) >> 3; // ie. ceil($emBits / 8) + $sLen = $this->sLen !== null ? $this->sLen : $this->hLen; + + $mHash = $this->hash->hash($m); + if ($emLen < $this->hLen + $sLen + 2) { + user_error('Encoding error'); + return false; + } + + $salt = Random::string($sLen); + $m2 = "\0\0\0\0\0\0\0\0" . $mHash . $salt; + $h = $this->hash->hash($m2); + $ps = str_repeat(chr(0), $emLen - $sLen - $this->hLen - 2); + $db = $ps . chr(1) . $salt; + $dbMask = $this->_mgf1($h, $emLen - $this->hLen - 1); + $maskedDB = $db ^ $dbMask; + $maskedDB[0] = ~chr(0xFF << ($emBits & 7)) & $maskedDB[0]; + $em = $maskedDB . $h . chr(0xBC); + + return $em; + } + + /** + * EMSA-PSS-VERIFY + * + * See {@link http://tools.ietf.org/html/rfc3447#section-9.1.2 RFC3447#section-9.1.2}. + * + * @access private + * @param string $m + * @param string $em + * @param int $emBits + * @return string + */ + function _emsa_pss_verify($m, $em, $emBits) + { + // if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error + // be output. + + $emLen = ($emBits + 1) >> 3; // ie. ceil($emBits / 8); + $sLen = $this->sLen !== null ? $this->sLen : $this->hLen; + + $mHash = $this->hash->hash($m); + if ($emLen < $this->hLen + $sLen + 2) { + return false; + } + + if ($em[strlen($em) - 1] != chr(0xBC)) { + return false; + } + + $maskedDB = substr($em, 0, -$this->hLen - 1); + $h = substr($em, -$this->hLen - 1, $this->hLen); + $temp = chr(0xFF << ($emBits & 7)); + if ((~$maskedDB[0] & $temp) != $temp) { + return false; + } + $dbMask = $this->_mgf1($h, $emLen - $this->hLen - 1); + $db = $maskedDB ^ $dbMask; + $db[0] = ~chr(0xFF << ($emBits & 7)) & $db[0]; + $temp = $emLen - $this->hLen - $sLen - 2; + if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) { + return false; + } + $salt = substr($db, $temp + 1); // should be $sLen long + $m2 = "\0\0\0\0\0\0\0\0" . $mHash . $salt; + $h2 = $this->hash->hash($m2); + return $this->_equals($h, $h2); + } + + /** + * RSASSA-PSS-SIGN + * + * See {@link http://tools.ietf.org/html/rfc3447#section-8.1.1 RFC3447#section-8.1.1}. + * + * @access private + * @param string $m + * @return string + */ + function _rsassa_pss_sign($m) + { + // EMSA-PSS encoding + + $em = $this->_emsa_pss_encode($m, 8 * $this->k - 1); + + // RSA signature + + $m = $this->_os2ip($em); + $s = $this->_rsasp1($m); + $s = $this->_i2osp($s, $this->k); + + // Output the signature S + + return $s; + } + + /** + * RSASSA-PSS-VERIFY + * + * See {@link http://tools.ietf.org/html/rfc3447#section-8.1.2 RFC3447#section-8.1.2}. + * + * @access private + * @param string $m + * @param string $s + * @return string + */ + function _rsassa_pss_verify($m, $s) + { + // Length checking + + if (strlen($s) != $this->k) { + user_error('Invalid signature'); + return false; + } + + // RSA verification + + $modBits = 8 * $this->k; + + $s2 = $this->_os2ip($s); + $m2 = $this->_rsavp1($s2); + if ($m2 === false) { + user_error('Invalid signature'); + return false; + } + $em = $this->_i2osp($m2, $modBits >> 3); + if ($em === false) { + user_error('Invalid signature'); + return false; + } + + // EMSA-PSS verification + + return $this->_emsa_pss_verify($m, $em, $modBits - 1); + } + + /** + * EMSA-PKCS1-V1_5-ENCODE + * + * See {@link http://tools.ietf.org/html/rfc3447#section-9.2 RFC3447#section-9.2}. + * + * @access private + * @param string $m + * @param int $emLen + * @return string + */ + function _emsa_pkcs1_v1_5_encode($m, $emLen) + { + $h = $this->hash->hash($m); + if ($h === false) { + return false; + } + + // see http://tools.ietf.org/html/rfc3447#page-43 + switch ($this->hashName) { + case 'md2': + $t = pack('H*', '3020300c06082a864886f70d020205000410'); + break; + case 'md5': + $t = pack('H*', '3020300c06082a864886f70d020505000410'); + break; + case 'sha1': + $t = pack('H*', '3021300906052b0e03021a05000414'); + break; + case 'sha256': + $t = pack('H*', '3031300d060960864801650304020105000420'); + break; + case 'sha384': + $t = pack('H*', '3041300d060960864801650304020205000430'); + break; + case 'sha512': + $t = pack('H*', '3051300d060960864801650304020305000440'); + } + $t.= $h; + $tLen = strlen($t); + + if ($emLen < $tLen + 11) { + user_error('Intended encoded message length too short'); + return false; + } + + $ps = str_repeat(chr(0xFF), $emLen - $tLen - 3); + + $em = "\0\1$ps\0$t"; + + return $em; + } + + /** + * RSASSA-PKCS1-V1_5-SIGN + * + * See {@link http://tools.ietf.org/html/rfc3447#section-8.2.1 RFC3447#section-8.2.1}. + * + * @access private + * @param string $m + * @return string + */ + function _rsassa_pkcs1_v1_5_sign($m) + { + // EMSA-PKCS1-v1_5 encoding + + $em = $this->_emsa_pkcs1_v1_5_encode($m, $this->k); + if ($em === false) { + user_error('RSA modulus too short'); + return false; + } + + // RSA signature + + $m = $this->_os2ip($em); + $s = $this->_rsasp1($m); + $s = $this->_i2osp($s, $this->k); + + // Output the signature S + + return $s; + } + + /** + * RSASSA-PKCS1-V1_5-VERIFY + * + * See {@link http://tools.ietf.org/html/rfc3447#section-8.2.2 RFC3447#section-8.2.2}. + * + * @access private + * @param string $m + * @return string + */ + function _rsassa_pkcs1_v1_5_verify($m, $s) + { + // Length checking + + if (strlen($s) != $this->k) { + user_error('Invalid signature'); + return false; + } + + // RSA verification + + $s = $this->_os2ip($s); + $m2 = $this->_rsavp1($s); + if ($m2 === false) { + user_error('Invalid signature'); + return false; + } + $em = $this->_i2osp($m2, $this->k); + if ($em === false) { + user_error('Invalid signature'); + return false; + } + + // EMSA-PKCS1-v1_5 encoding + + $em2 = $this->_emsa_pkcs1_v1_5_encode($m, $this->k); + if ($em2 === false) { + user_error('RSA modulus too short'); + return false; + } + + // Compare + return $this->_equals($em, $em2); + } + + /** + * Set Encryption Mode + * + * Valid values include self::ENCRYPTION_OAEP and self::ENCRYPTION_PKCS1. + * + * @access public + * @param int $mode + */ + function setEncryptionMode($mode) + { + $this->encryptionMode = $mode; + } + + /** + * Set Signature Mode + * + * Valid values include self::SIGNATURE_PSS and self::SIGNATURE_PKCS1 + * + * @access public + * @param int $mode + */ + function setSignatureMode($mode) + { + $this->signatureMode = $mode; + } + + /** + * Set public key comment. + * + * @access public + * @param string $comment + */ + function setComment($comment) + { + $this->comment = $comment; + } + + /** + * Get public key comment. + * + * @access public + * @return string + */ + function getComment() + { + return $this->comment; + } + + /** + * Encryption + * + * Both self::ENCRYPTION_OAEP and self::ENCRYPTION_PKCS1 both place limits on how long $plaintext can be. + * If $plaintext exceeds those limits it will be broken up so that it does and the resultant ciphertext's will + * be concatenated together. + * + * @see self::decrypt() + * @access public + * @param string $plaintext + * @return string + */ + function encrypt($plaintext) + { + switch ($this->encryptionMode) { + case self::ENCRYPTION_NONE: + $plaintext = str_split($plaintext, $this->k); + $ciphertext = ''; + foreach ($plaintext as $m) { + $ciphertext.= $this->_raw_encrypt($m); + } + return $ciphertext; + case self::ENCRYPTION_PKCS1: + $length = $this->k - 11; + if ($length <= 0) { + return false; + } + + $plaintext = str_split($plaintext, $length); + $ciphertext = ''; + foreach ($plaintext as $m) { + $ciphertext.= $this->_rsaes_pkcs1_v1_5_encrypt($m); + } + return $ciphertext; + //case self::ENCRYPTION_OAEP: + default: + $length = $this->k - 2 * $this->hLen - 2; + if ($length <= 0) { + return false; + } + + $plaintext = str_split($plaintext, $length); + $ciphertext = ''; + foreach ($plaintext as $m) { + $ciphertext.= $this->_rsaes_oaep_encrypt($m); + } + return $ciphertext; + } + } + + /** + * Decryption + * + * @see self::encrypt() + * @access public + * @param string $plaintext + * @return string + */ + function decrypt($ciphertext) + { + if ($this->k <= 0) { + return false; + } + + $ciphertext = str_split($ciphertext, $this->k); + $ciphertext[count($ciphertext) - 1] = str_pad($ciphertext[count($ciphertext) - 1], $this->k, chr(0), STR_PAD_LEFT); + + $plaintext = ''; + + switch ($this->encryptionMode) { + case self::ENCRYPTION_NONE: + $decrypt = '_raw_encrypt'; + break; + case self::ENCRYPTION_PKCS1: + $decrypt = '_rsaes_pkcs1_v1_5_decrypt'; + break; + //case self::ENCRYPTION_OAEP: + default: + $decrypt = '_rsaes_oaep_decrypt'; + } + + foreach ($ciphertext as $c) { + $temp = $this->$decrypt($c); + if ($temp === false) { + return false; + } + $plaintext.= $temp; + } + + return $plaintext; + } + + /** + * Create a signature + * + * @see self::verify() + * @access public + * @param string $message + * @return string + */ + function sign($message) + { + if (empty($this->modulus) || empty($this->exponent)) { + return false; + } + + switch ($this->signatureMode) { + case self::SIGNATURE_PKCS1: + return $this->_rsassa_pkcs1_v1_5_sign($message); + //case self::SIGNATURE_PSS: + default: + return $this->_rsassa_pss_sign($message); + } + } + + /** + * Verifies a signature + * + * @see self::sign() + * @access public + * @param string $message + * @param string $signature + * @return bool + */ + function verify($message, $signature) + { + if (empty($this->modulus) || empty($this->exponent)) { + return false; + } + + switch ($this->signatureMode) { + case self::SIGNATURE_PKCS1: + return $this->_rsassa_pkcs1_v1_5_verify($message, $signature); + //case self::SIGNATURE_PSS: + default: + return $this->_rsassa_pss_verify($message, $signature); + } + } + + /** + * Extract raw BER from Base64 encoding + * + * @access private + * @param string $str + * @return string + */ + function _extractBER($str) + { + /* X.509 certs are assumed to be base64 encoded but sometimes they'll have additional things in them + * above and beyond the ceritificate. + * ie. some may have the following preceding the -----BEGIN CERTIFICATE----- line: + * + * Bag Attributes + * localKeyID: 01 00 00 00 + * subject=/O=organization/OU=org unit/CN=common name + * issuer=/O=organization/CN=common name + */ + $temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1); + // remove the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- stuff + $temp = preg_replace('#-+[^-]+-+#', '', $temp); + // remove new lines + $temp = str_replace(array("\r", "\n", ' '), '', $temp); + $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false; + return $temp != false ? $temp : $str; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php new file mode 100644 index 00000000..6b29e751 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Random.php @@ -0,0 +1,270 @@ + + * + * + * + * @category Crypt + * @package Random + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP Random Number Generator + * + * @package Random + * @author Jim Wigginton + * @access public + */ +class Random +{ + /** + * Generate a random string. + * + * Although microoptimizations are generally discouraged as they impair readability this function is ripe with + * microoptimizations because this function has the potential of being called a huge number of times. + * eg. for RSA key generation. + * + * @param int $length + * @return string + */ + static function string($length) + { + if (version_compare(PHP_VERSION, '7.0.0', '>=')) { + try { + return \random_bytes($length); + } catch (\Throwable $e) { + // If a sufficient source of randomness is unavailable, random_bytes() will throw an + // object that implements the Throwable interface (Exception, TypeError, Error). + // We don't actually need to do anything here. The string() method should just continue + // as normal. Note, however, that if we don't have a sufficient source of randomness for + // random_bytes(), most of the other calls here will fail too, so we'll end up using + // the PHP implementation. + } + } + + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { + // method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call. + // ie. class_alias is a function that was introduced in PHP 5.3 + if (extension_loaded('mcrypt') && function_exists('class_alias')) { + return @mcrypt_create_iv($length); + } + // method 2. openssl_random_pseudo_bytes was introduced in PHP 5.3.0 but prior to PHP 5.3.4 there was, + // to quote , "possible blocking behavior". as of 5.3.4 + // openssl_random_pseudo_bytes and mcrypt_create_iv do the exact same thing on Windows. ie. they both + // call php_win32_get_random_bytes(): + // + // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/openssl/openssl.c#L5008 + // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1392 + // + // php_win32_get_random_bytes() is defined thusly: + // + // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/win32/winutil.c#L80 + // + // we're calling it, all the same, in the off chance that the mcrypt extension is not available + if (extension_loaded('openssl') && version_compare(PHP_VERSION, '5.3.4', '>=')) { + return openssl_random_pseudo_bytes($length); + } + } else { + // method 1. the fastest + if (extension_loaded('openssl')) { + return openssl_random_pseudo_bytes($length); + } + // method 2 + static $fp = true; + if ($fp === true) { + // warning's will be output unles the error suppression operator is used. errors such as + // "open_basedir restriction in effect", "Permission denied", "No such file or directory", etc. + $fp = @fopen('/dev/urandom', 'rb'); + } + if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource() + return fread($fp, $length); + } + // method 3. pretty much does the same thing as method 2 per the following url: + // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1391 + // surprisingly slower than method 2. maybe that's because mcrypt_create_iv does a bunch of error checking that we're + // not doing. regardless, this'll only be called if this PHP script couldn't open /dev/urandom due to open_basedir + // restrictions or some such + if (extension_loaded('mcrypt')) { + return @mcrypt_create_iv($length, MCRYPT_DEV_URANDOM); + } + } + // at this point we have no choice but to use a pure-PHP CSPRNG + + // cascade entropy across multiple PHP instances by fixing the session and collecting all + // environmental variables, including the previous session data and the current session + // data. + // + // mt_rand seeds itself by looking at the PID and the time, both of which are (relatively) + // easy to guess at. linux uses mouse clicks, keyboard timings, etc, as entropy sources, but + // PHP isn't low level to be able to use those as sources and on a web server there's not likely + // going to be a ton of keyboard or mouse action. web servers do have one thing that we can use + // however, a ton of people visiting the website. obviously you don't want to base your seeding + // soley on parameters a potential attacker sends but (1) not everything in $_SERVER is controlled + // by the user and (2) this isn't just looking at the data sent by the current user - it's based + // on the data sent by all users. one user requests the page and a hash of their info is saved. + // another user visits the page and the serialization of their data is utilized along with the + // server envirnment stuff and a hash of the previous http request data (which itself utilizes + // a hash of the session data before that). certainly an attacker should be assumed to have + // full control over his own http requests. he, however, is not going to have control over + // everyone's http requests. + static $crypto = false, $v; + if ($crypto === false) { + // save old session data + $old_session_id = session_id(); + $old_use_cookies = ini_get('session.use_cookies'); + $old_session_cache_limiter = session_cache_limiter(); + $_OLD_SESSION = isset($_SESSION) ? $_SESSION : false; + if ($old_session_id != '') { + session_write_close(); + } + + session_id(1); + ini_set('session.use_cookies', 0); + session_cache_limiter(''); + session_start(); + + $v = $seed = $_SESSION['seed'] = pack('H*', sha1( + (isset($_SERVER) ? phpseclib_safe_serialize($_SERVER) : '') . + (isset($_POST) ? phpseclib_safe_serialize($_POST) : '') . + (isset($_GET) ? phpseclib_safe_serialize($_GET) : '') . + (isset($_COOKIE) ? phpseclib_safe_serialize($_COOKIE) : '') . + phpseclib_safe_serialize($GLOBALS) . + phpseclib_safe_serialize($_SESSION) . + phpseclib_safe_serialize($_OLD_SESSION) + )); + if (!isset($_SESSION['count'])) { + $_SESSION['count'] = 0; + } + $_SESSION['count']++; + + session_write_close(); + + // restore old session data + if ($old_session_id != '') { + session_id($old_session_id); + session_start(); + ini_set('session.use_cookies', $old_use_cookies); + session_cache_limiter($old_session_cache_limiter); + } else { + if ($_OLD_SESSION !== false) { + $_SESSION = $_OLD_SESSION; + unset($_OLD_SESSION); + } else { + unset($_SESSION); + } + } + + // in SSH2 a shared secret and an exchange hash are generated through the key exchange process. + // the IV client to server is the hash of that "nonce" with the letter A and for the encryption key it's the letter C. + // if the hash doesn't produce enough a key or an IV that's long enough concat successive hashes of the + // original hash and the current hash. we'll be emulating that. for more info see the following URL: + // + // http://tools.ietf.org/html/rfc4253#section-7.2 + // + // see the is_string($crypto) part for an example of how to expand the keys + $key = pack('H*', sha1($seed . 'A')); + $iv = pack('H*', sha1($seed . 'C')); + + // ciphers are used as per the nist.gov link below. also, see this link: + // + // http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator#Designs_based_on_cryptographic_primitives + switch (true) { + case class_exists('\phpseclib\Crypt\AES'): + $crypto = new AES(Base::MODE_CTR); + break; + case class_exists('\phpseclib\Crypt\Twofish'): + $crypto = new Twofish(Base::MODE_CTR); + break; + case class_exists('\phpseclib\Crypt\Blowfish'): + $crypto = new Blowfish(Base::MODE_CTR); + break; + case class_exists('\phpseclib\Crypt\TripleDES'): + $crypto = new TripleDES(Base::MODE_CTR); + break; + case class_exists('\phpseclib\Crypt\DES'): + $crypto = new DES(Base::MODE_CTR); + break; + case class_exists('\phpseclib\Crypt\RC4'): + $crypto = new RC4(); + break; + default: + user_error(__CLASS__ . ' requires at least one symmetric cipher be loaded'); + return false; + } + + $crypto->setKey($key); + $crypto->setIV($iv); + $crypto->enableContinuousBuffer(); + } + + //return $crypto->encrypt(str_repeat("\0", $length)); + + // the following is based off of ANSI X9.31: + // + // http://csrc.nist.gov/groups/STM/cavp/documents/rng/931rngext.pdf + // + // OpenSSL uses that same standard for it's random numbers: + // + // http://www.opensource.apple.com/source/OpenSSL/OpenSSL-38/openssl/fips-1.0/rand/fips_rand.c + // (do a search for "ANS X9.31 A.2.4") + $result = ''; + while (strlen($result) < $length) { + $i = $crypto->encrypt(microtime()); // strlen(microtime()) == 21 + $r = $crypto->encrypt($i ^ $v); // strlen($v) == 20 + $v = $crypto->encrypt($r ^ $i); // strlen($r) == 20 + $result.= $r; + } + return substr($result, 0, $length); + } +} + +if (!function_exists('phpseclib_safe_serialize')) { + /** + * Safely serialize variables + * + * If a class has a private __sleep() method it'll give a fatal error on PHP 5.2 and earlier. + * PHP 5.3 will emit a warning. + * + * @param mixed $arr + * @access public + */ + function phpseclib_safe_serialize(&$arr) + { + if (is_object($arr)) { + return ''; + } + if (!is_array($arr)) { + return serialize($arr); + } + // prevent circular array recursion + if (isset($arr['__phpseclib_marker'])) { + return ''; + } + $safearr = array(); + $arr['__phpseclib_marker'] = true; + foreach (array_keys($arr) as $key) { + // do not recurse on the '__phpseclib_marker' key itself, for smaller memory usage + if ($key !== '__phpseclib_marker') { + $safearr[$key] = phpseclib_safe_serialize($arr[$key]); + } + } + unset($arr['__phpseclib_marker']); + return serialize($safearr); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php new file mode 100644 index 00000000..3648a197 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php @@ -0,0 +1,936 @@ + + * setKey('abcdefghijklmnop'); + * + * $size = 10 * 1024; + * $plaintext = ''; + * for ($i = 0; $i < $size; $i++) { + * $plaintext.= 'a'; + * } + * + * echo $rijndael->decrypt($rijndael->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package Rijndael + * @author Jim Wigginton + * @copyright 2008 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of Rijndael. + * + * @package Rijndael + * @author Jim Wigginton + * @access public + */ +class Rijndael extends Base +{ + /** + * The mcrypt specific name of the cipher + * + * Mcrypt is useable for 128/192/256-bit $block_size/$key_length. For 160/224 not. + * \phpseclib\Crypt\Rijndael determines automatically whether mcrypt is useable + * or not for the current $block_size/$key_length. + * In case of, $cipher_name_mcrypt will be set dynamically at run time accordingly. + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @see \phpseclib\Crypt\Base::engine + * @see self::isValidEngine() + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'rijndael-128'; + + /** + * The default salt used by setPassword() + * + * @see \phpseclib\Crypt\Base::password_default_salt + * @see \phpseclib\Crypt\Base::setPassword() + * @var string + * @access private + */ + var $password_default_salt = 'phpseclib'; + + /** + * The Key Schedule + * + * @see self::_setup() + * @var array + * @access private + */ + var $w; + + /** + * The Inverse Key Schedule + * + * @see self::_setup() + * @var array + * @access private + */ + var $dw; + + /** + * The Block Length divided by 32 + * + * @see self::setBlockLength() + * @var int + * @access private + * @internal The max value is 256 / 32 = 8, the min value is 128 / 32 = 4. Exists in conjunction with $block_size + * because the encryption / decryption / key schedule creation requires this number and not $block_size. We could + * derive this from $block_size or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu + * of that, we'll just precompute it once. + */ + var $Nb = 4; + + /** + * The Key Length (in bytes) + * + * @see self::setKeyLength() + * @var int + * @access private + * @internal The max value is 256 / 8 = 32, the min value is 128 / 8 = 16. Exists in conjunction with $Nk + * because the encryption / decryption / key schedule creation requires this number and not $key_length. We could + * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu + * of that, we'll just precompute it once. + */ + var $key_length = 16; + + /** + * The Key Length divided by 32 + * + * @see self::setKeyLength() + * @var int + * @access private + * @internal The max value is 256 / 32 = 8, the min value is 128 / 32 = 4 + */ + var $Nk = 4; + + /** + * The Number of Rounds + * + * @var int + * @access private + * @internal The max value is 14, the min value is 10. + */ + var $Nr; + + /** + * Shift offsets + * + * @var array + * @access private + */ + var $c; + + /** + * Holds the last used key- and block_size information + * + * @var array + * @access private + */ + var $kl; + + /** + * Sets the key length. + * + * Valid key lengths are 128, 160, 192, 224, and 256. If the length is less than 128, it will be rounded up to + * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount. + * + * Note: phpseclib extends Rijndael (and AES) for using 160- and 224-bit keys but they are officially not defined + * and the most (if not all) implementations are not able using 160/224-bit keys but round/pad them up to + * 192/256 bits as, for example, mcrypt will do. + * + * That said, if you want be compatible with other Rijndael and AES implementations, + * you should not setKeyLength(160) or setKeyLength(224). + * + * Additional: In case of 160- and 224-bit keys, phpseclib will/can, for that reason, not use + * the mcrypt php extension, even if available. + * This results then in slower encryption. + * + * @access public + * @param int $length + */ + function setKeyLength($length) + { + switch (true) { + case $length <= 128: + $this->key_length = 16; + break; + case $length <= 160: + $this->key_length = 20; + break; + case $length <= 192: + $this->key_length = 24; + break; + case $length <= 224: + $this->key_length = 28; + break; + default: + $this->key_length = 32; + } + + parent::setKeyLength($length); + } + + /** + * Sets the block length + * + * Valid block lengths are 128, 160, 192, 224, and 256. If the length is less than 128, it will be rounded up to + * 128. If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount. + * + * @access public + * @param int $length + */ + function setBlockLength($length) + { + $length >>= 5; + if ($length > 8) { + $length = 8; + } elseif ($length < 4) { + $length = 4; + } + $this->Nb = $length; + $this->block_size = $length << 2; + $this->changed = true; + $this->_setEngine(); + } + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::__construct() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + switch ($engine) { + case self::ENGINE_OPENSSL: + if ($this->block_size != 16) { + return false; + } + $this->cipher_name_openssl_ecb = 'aes-' . ($this->key_length << 3) . '-ecb'; + $this->cipher_name_openssl = 'aes-' . ($this->key_length << 3) . '-' . $this->_openssl_translate_mode(); + break; + case self::ENGINE_MCRYPT: + $this->cipher_name_mcrypt = 'rijndael-' . ($this->block_size << 3); + if ($this->key_length % 8) { // is it a 160/224-bit key? + // mcrypt is not usable for them, only for 128/192/256-bit keys + return false; + } + } + + return parent::isValidEngine($engine); + } + + /** + * Encrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _encryptBlock($in) + { + static $tables; + if (empty($tables)) { + $tables = &$this->_getTables(); + } + $t0 = $tables[0]; + $t1 = $tables[1]; + $t2 = $tables[2]; + $t3 = $tables[3]; + $sbox = $tables[4]; + + $state = array(); + $words = unpack('N*', $in); + + $c = $this->c; + $w = $this->w; + $Nb = $this->Nb; + $Nr = $this->Nr; + + // addRoundKey + $wc = $Nb - 1; + foreach ($words as $word) { + $state[] = $word ^ $w[++$wc]; + } + + // fips-197.pdf#page=19, "Figure 5. Pseudo Code for the Cipher", states that this loop has four components - + // subBytes, shiftRows, mixColumns, and addRoundKey. fips-197.pdf#page=30, "Implementation Suggestions Regarding + // Various Platforms" suggests that performs enhanced implementations are described in Rijndael-ammended.pdf. + // Rijndael-ammended.pdf#page=20, "Implementation aspects / 32-bit processor", discusses such an optimization. + // Unfortunately, the description given there is not quite correct. Per aes.spec.v316.pdf#page=19 [1], + // equation (7.4.7) is supposed to use addition instead of subtraction, so we'll do that here, as well. + + // [1] http://fp.gladman.plus.com/cryptography_technology/rijndael/aes.spec.v316.pdf + $temp = array(); + for ($round = 1; $round < $Nr; ++$round) { + $i = 0; // $c[0] == 0 + $j = $c[1]; + $k = $c[2]; + $l = $c[3]; + + while ($i < $Nb) { + $temp[$i] = $t0[$state[$i] >> 24 & 0x000000FF] ^ + $t1[$state[$j] >> 16 & 0x000000FF] ^ + $t2[$state[$k] >> 8 & 0x000000FF] ^ + $t3[$state[$l] & 0x000000FF] ^ + $w[++$wc]; + ++$i; + $j = ($j + 1) % $Nb; + $k = ($k + 1) % $Nb; + $l = ($l + 1) % $Nb; + } + $state = $temp; + } + + // subWord + for ($i = 0; $i < $Nb; ++$i) { + $state[$i] = $sbox[$state[$i] & 0x000000FF] | + ($sbox[$state[$i] >> 8 & 0x000000FF] << 8) | + ($sbox[$state[$i] >> 16 & 0x000000FF] << 16) | + ($sbox[$state[$i] >> 24 & 0x000000FF] << 24); + } + + // shiftRows + addRoundKey + $i = 0; // $c[0] == 0 + $j = $c[1]; + $k = $c[2]; + $l = $c[3]; + while ($i < $Nb) { + $temp[$i] = ($state[$i] & 0xFF000000) ^ + ($state[$j] & 0x00FF0000) ^ + ($state[$k] & 0x0000FF00) ^ + ($state[$l] & 0x000000FF) ^ + $w[$i]; + ++$i; + $j = ($j + 1) % $Nb; + $k = ($k + 1) % $Nb; + $l = ($l + 1) % $Nb; + } + + switch ($Nb) { + case 8: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6], $temp[7]); + case 7: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6]); + case 6: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5]); + case 5: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4]); + default: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3]); + } + } + + /** + * Decrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _decryptBlock($in) + { + static $invtables; + if (empty($invtables)) { + $invtables = &$this->_getInvTables(); + } + $dt0 = $invtables[0]; + $dt1 = $invtables[1]; + $dt2 = $invtables[2]; + $dt3 = $invtables[3]; + $isbox = $invtables[4]; + + $state = array(); + $words = unpack('N*', $in); + + $c = $this->c; + $dw = $this->dw; + $Nb = $this->Nb; + $Nr = $this->Nr; + + // addRoundKey + $wc = $Nb - 1; + foreach ($words as $word) { + $state[] = $word ^ $dw[++$wc]; + } + + $temp = array(); + for ($round = $Nr - 1; $round > 0; --$round) { + $i = 0; // $c[0] == 0 + $j = $Nb - $c[1]; + $k = $Nb - $c[2]; + $l = $Nb - $c[3]; + + while ($i < $Nb) { + $temp[$i] = $dt0[$state[$i] >> 24 & 0x000000FF] ^ + $dt1[$state[$j] >> 16 & 0x000000FF] ^ + $dt2[$state[$k] >> 8 & 0x000000FF] ^ + $dt3[$state[$l] & 0x000000FF] ^ + $dw[++$wc]; + ++$i; + $j = ($j + 1) % $Nb; + $k = ($k + 1) % $Nb; + $l = ($l + 1) % $Nb; + } + $state = $temp; + } + + // invShiftRows + invSubWord + addRoundKey + $i = 0; // $c[0] == 0 + $j = $Nb - $c[1]; + $k = $Nb - $c[2]; + $l = $Nb - $c[3]; + + while ($i < $Nb) { + $word = ($state[$i] & 0xFF000000) | + ($state[$j] & 0x00FF0000) | + ($state[$k] & 0x0000FF00) | + ($state[$l] & 0x000000FF); + + $temp[$i] = $dw[$i] ^ ($isbox[$word & 0x000000FF] | + ($isbox[$word >> 8 & 0x000000FF] << 8) | + ($isbox[$word >> 16 & 0x000000FF] << 16) | + ($isbox[$word >> 24 & 0x000000FF] << 24)); + ++$i; + $j = ($j + 1) % $Nb; + $k = ($k + 1) % $Nb; + $l = ($l + 1) % $Nb; + } + + switch ($Nb) { + case 8: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6], $temp[7]); + case 7: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5], $temp[6]); + case 6: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4], $temp[5]); + case 5: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3], $temp[4]); + default: + return pack('N*', $temp[0], $temp[1], $temp[2], $temp[3]); + } + } + + /** + * Setup the key (expansion) + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + // Each number in $rcon is equal to the previous number multiplied by two in Rijndael's finite field. + // See http://en.wikipedia.org/wiki/Finite_field_arithmetic#Multiplicative_inverse + static $rcon = array(0, + 0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000, + 0x20000000, 0x40000000, 0x80000000, 0x1B000000, 0x36000000, + 0x6C000000, 0xD8000000, 0xAB000000, 0x4D000000, 0x9A000000, + 0x2F000000, 0x5E000000, 0xBC000000, 0x63000000, 0xC6000000, + 0x97000000, 0x35000000, 0x6A000000, 0xD4000000, 0xB3000000, + 0x7D000000, 0xFA000000, 0xEF000000, 0xC5000000, 0x91000000 + ); + + if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->key_length === $this->kl['key_length'] && $this->block_size === $this->kl['block_size']) { + // already expanded + return; + } + $this->kl = array('key' => $this->key, 'key_length' => $this->key_length, 'block_size' => $this->block_size); + + $this->Nk = $this->key_length >> 2; + // see Rijndael-ammended.pdf#page=44 + $this->Nr = max($this->Nk, $this->Nb) + 6; + + // shift offsets for Nb = 5, 7 are defined in Rijndael-ammended.pdf#page=44, + // "Table 8: Shift offsets in Shiftrow for the alternative block lengths" + // shift offsets for Nb = 4, 6, 8 are defined in Rijndael-ammended.pdf#page=14, + // "Table 2: Shift offsets for different block lengths" + switch ($this->Nb) { + case 4: + case 5: + case 6: + $this->c = array(0, 1, 2, 3); + break; + case 7: + $this->c = array(0, 1, 2, 4); + break; + case 8: + $this->c = array(0, 1, 3, 4); + } + + $w = array_values(unpack('N*words', $this->key)); + + $length = $this->Nb * ($this->Nr + 1); + for ($i = $this->Nk; $i < $length; $i++) { + $temp = $w[$i - 1]; + if ($i % $this->Nk == 0) { + // according to , "the size of an integer is platform-dependent". + // on a 32-bit machine, it's 32-bits, and on a 64-bit machine, it's 64-bits. on a 32-bit machine, + // 0xFFFFFFFF << 8 == 0xFFFFFF00, but on a 64-bit machine, it equals 0xFFFFFFFF00. as such, doing 'and' + // with 0xFFFFFFFF (or 0xFFFFFF00) on a 32-bit machine is unnecessary, but on a 64-bit machine, it is. + $temp = (($temp << 8) & 0xFFFFFF00) | (($temp >> 24) & 0x000000FF); // rotWord + $temp = $this->_subWord($temp) ^ $rcon[$i / $this->Nk]; + } elseif ($this->Nk > 6 && $i % $this->Nk == 4) { + $temp = $this->_subWord($temp); + } + $w[$i] = $w[$i - $this->Nk] ^ $temp; + } + + // convert the key schedule from a vector of $Nb * ($Nr + 1) length to a matrix with $Nr + 1 rows and $Nb columns + // and generate the inverse key schedule. more specifically, + // according to (section 5.3.3), + // "The key expansion for the Inverse Cipher is defined as follows: + // 1. Apply the Key Expansion. + // 2. Apply InvMixColumn to all Round Keys except the first and the last one." + // also, see fips-197.pdf#page=27, "5.3.5 Equivalent Inverse Cipher" + list($dt0, $dt1, $dt2, $dt3) = $this->_getInvTables(); + $temp = $this->w = $this->dw = array(); + for ($i = $row = $col = 0; $i < $length; $i++, $col++) { + if ($col == $this->Nb) { + if ($row == 0) { + $this->dw[0] = $this->w[0]; + } else { + // subWord + invMixColumn + invSubWord = invMixColumn + $j = 0; + while ($j < $this->Nb) { + $dw = $this->_subWord($this->w[$row][$j]); + $temp[$j] = $dt0[$dw >> 24 & 0x000000FF] ^ + $dt1[$dw >> 16 & 0x000000FF] ^ + $dt2[$dw >> 8 & 0x000000FF] ^ + $dt3[$dw & 0x000000FF]; + $j++; + } + $this->dw[$row] = $temp; + } + + $col = 0; + $row++; + } + $this->w[$row][$col] = $w[$i]; + } + + $this->dw[$row] = $this->w[$row]; + + // Converting to 1-dim key arrays (both ascending) + $this->dw = array_reverse($this->dw); + $w = array_pop($this->w); + $dw = array_pop($this->dw); + foreach ($this->w as $r => $wr) { + foreach ($wr as $c => $wc) { + $w[] = $wc; + $dw[] = $this->dw[$r][$c]; + } + } + $this->w = $w; + $this->dw = $dw; + } + + /** + * Performs S-Box substitutions + * + * @access private + * @param int $word + */ + function _subWord($word) + { + static $sbox; + if (empty($sbox)) { + list(, , , , $sbox) = $this->_getTables(); + } + + return $sbox[$word & 0x000000FF] | + ($sbox[$word >> 8 & 0x000000FF] << 8) | + ($sbox[$word >> 16 & 0x000000FF] << 16) | + ($sbox[$word >> 24 & 0x000000FF] << 24); + } + + /** + * Provides the mixColumns and sboxes tables + * + * @see self::_encryptBlock() + * @see self::_setupInlineCrypt() + * @see self::_subWord() + * @access private + * @return array &$tables + */ + function &_getTables() + { + static $tables; + if (empty($tables)) { + // according to (section 5.2.1), + // precomputed tables can be used in the mixColumns phase. in that example, they're assigned t0...t3, so + // those are the names we'll use. + $t3 = array_map('intval', array( + // with array_map('intval', ...) we ensure we have only int's and not + // some slower floats converted by php automatically on high values + 0x6363A5C6, 0x7C7C84F8, 0x777799EE, 0x7B7B8DF6, 0xF2F20DFF, 0x6B6BBDD6, 0x6F6FB1DE, 0xC5C55491, + 0x30305060, 0x01010302, 0x6767A9CE, 0x2B2B7D56, 0xFEFE19E7, 0xD7D762B5, 0xABABE64D, 0x76769AEC, + 0xCACA458F, 0x82829D1F, 0xC9C94089, 0x7D7D87FA, 0xFAFA15EF, 0x5959EBB2, 0x4747C98E, 0xF0F00BFB, + 0xADADEC41, 0xD4D467B3, 0xA2A2FD5F, 0xAFAFEA45, 0x9C9CBF23, 0xA4A4F753, 0x727296E4, 0xC0C05B9B, + 0xB7B7C275, 0xFDFD1CE1, 0x9393AE3D, 0x26266A4C, 0x36365A6C, 0x3F3F417E, 0xF7F702F5, 0xCCCC4F83, + 0x34345C68, 0xA5A5F451, 0xE5E534D1, 0xF1F108F9, 0x717193E2, 0xD8D873AB, 0x31315362, 0x15153F2A, + 0x04040C08, 0xC7C75295, 0x23236546, 0xC3C35E9D, 0x18182830, 0x9696A137, 0x05050F0A, 0x9A9AB52F, + 0x0707090E, 0x12123624, 0x80809B1B, 0xE2E23DDF, 0xEBEB26CD, 0x2727694E, 0xB2B2CD7F, 0x75759FEA, + 0x09091B12, 0x83839E1D, 0x2C2C7458, 0x1A1A2E34, 0x1B1B2D36, 0x6E6EB2DC, 0x5A5AEEB4, 0xA0A0FB5B, + 0x5252F6A4, 0x3B3B4D76, 0xD6D661B7, 0xB3B3CE7D, 0x29297B52, 0xE3E33EDD, 0x2F2F715E, 0x84849713, + 0x5353F5A6, 0xD1D168B9, 0x00000000, 0xEDED2CC1, 0x20206040, 0xFCFC1FE3, 0xB1B1C879, 0x5B5BEDB6, + 0x6A6ABED4, 0xCBCB468D, 0xBEBED967, 0x39394B72, 0x4A4ADE94, 0x4C4CD498, 0x5858E8B0, 0xCFCF4A85, + 0xD0D06BBB, 0xEFEF2AC5, 0xAAAAE54F, 0xFBFB16ED, 0x4343C586, 0x4D4DD79A, 0x33335566, 0x85859411, + 0x4545CF8A, 0xF9F910E9, 0x02020604, 0x7F7F81FE, 0x5050F0A0, 0x3C3C4478, 0x9F9FBA25, 0xA8A8E34B, + 0x5151F3A2, 0xA3A3FE5D, 0x4040C080, 0x8F8F8A05, 0x9292AD3F, 0x9D9DBC21, 0x38384870, 0xF5F504F1, + 0xBCBCDF63, 0xB6B6C177, 0xDADA75AF, 0x21216342, 0x10103020, 0xFFFF1AE5, 0xF3F30EFD, 0xD2D26DBF, + 0xCDCD4C81, 0x0C0C1418, 0x13133526, 0xECEC2FC3, 0x5F5FE1BE, 0x9797A235, 0x4444CC88, 0x1717392E, + 0xC4C45793, 0xA7A7F255, 0x7E7E82FC, 0x3D3D477A, 0x6464ACC8, 0x5D5DE7BA, 0x19192B32, 0x737395E6, + 0x6060A0C0, 0x81819819, 0x4F4FD19E, 0xDCDC7FA3, 0x22226644, 0x2A2A7E54, 0x9090AB3B, 0x8888830B, + 0x4646CA8C, 0xEEEE29C7, 0xB8B8D36B, 0x14143C28, 0xDEDE79A7, 0x5E5EE2BC, 0x0B0B1D16, 0xDBDB76AD, + 0xE0E03BDB, 0x32325664, 0x3A3A4E74, 0x0A0A1E14, 0x4949DB92, 0x06060A0C, 0x24246C48, 0x5C5CE4B8, + 0xC2C25D9F, 0xD3D36EBD, 0xACACEF43, 0x6262A6C4, 0x9191A839, 0x9595A431, 0xE4E437D3, 0x79798BF2, + 0xE7E732D5, 0xC8C8438B, 0x3737596E, 0x6D6DB7DA, 0x8D8D8C01, 0xD5D564B1, 0x4E4ED29C, 0xA9A9E049, + 0x6C6CB4D8, 0x5656FAAC, 0xF4F407F3, 0xEAEA25CF, 0x6565AFCA, 0x7A7A8EF4, 0xAEAEE947, 0x08081810, + 0xBABAD56F, 0x787888F0, 0x25256F4A, 0x2E2E725C, 0x1C1C2438, 0xA6A6F157, 0xB4B4C773, 0xC6C65197, + 0xE8E823CB, 0xDDDD7CA1, 0x74749CE8, 0x1F1F213E, 0x4B4BDD96, 0xBDBDDC61, 0x8B8B860D, 0x8A8A850F, + 0x707090E0, 0x3E3E427C, 0xB5B5C471, 0x6666AACC, 0x4848D890, 0x03030506, 0xF6F601F7, 0x0E0E121C, + 0x6161A3C2, 0x35355F6A, 0x5757F9AE, 0xB9B9D069, 0x86869117, 0xC1C15899, 0x1D1D273A, 0x9E9EB927, + 0xE1E138D9, 0xF8F813EB, 0x9898B32B, 0x11113322, 0x6969BBD2, 0xD9D970A9, 0x8E8E8907, 0x9494A733, + 0x9B9BB62D, 0x1E1E223C, 0x87879215, 0xE9E920C9, 0xCECE4987, 0x5555FFAA, 0x28287850, 0xDFDF7AA5, + 0x8C8C8F03, 0xA1A1F859, 0x89898009, 0x0D0D171A, 0xBFBFDA65, 0xE6E631D7, 0x4242C684, 0x6868B8D0, + 0x4141C382, 0x9999B029, 0x2D2D775A, 0x0F0F111E, 0xB0B0CB7B, 0x5454FCA8, 0xBBBBD66D, 0x16163A2C + )); + + foreach ($t3 as $t3i) { + $t0[] = (($t3i << 24) & 0xFF000000) | (($t3i >> 8) & 0x00FFFFFF); + $t1[] = (($t3i << 16) & 0xFFFF0000) | (($t3i >> 16) & 0x0000FFFF); + $t2[] = (($t3i << 8) & 0xFFFFFF00) | (($t3i >> 24) & 0x000000FF); + } + + $tables = array( + // The Precomputed mixColumns tables t0 - t3 + $t0, + $t1, + $t2, + $t3, + // The SubByte S-Box + array( + 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76, + 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0, + 0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15, + 0x04, 0xC7, 0x23, 0xC3, 0x18, 0x96, 0x05, 0x9A, 0x07, 0x12, 0x80, 0xE2, 0xEB, 0x27, 0xB2, 0x75, + 0x09, 0x83, 0x2C, 0x1A, 0x1B, 0x6E, 0x5A, 0xA0, 0x52, 0x3B, 0xD6, 0xB3, 0x29, 0xE3, 0x2F, 0x84, + 0x53, 0xD1, 0x00, 0xED, 0x20, 0xFC, 0xB1, 0x5B, 0x6A, 0xCB, 0xBE, 0x39, 0x4A, 0x4C, 0x58, 0xCF, + 0xD0, 0xEF, 0xAA, 0xFB, 0x43, 0x4D, 0x33, 0x85, 0x45, 0xF9, 0x02, 0x7F, 0x50, 0x3C, 0x9F, 0xA8, + 0x51, 0xA3, 0x40, 0x8F, 0x92, 0x9D, 0x38, 0xF5, 0xBC, 0xB6, 0xDA, 0x21, 0x10, 0xFF, 0xF3, 0xD2, + 0xCD, 0x0C, 0x13, 0xEC, 0x5F, 0x97, 0x44, 0x17, 0xC4, 0xA7, 0x7E, 0x3D, 0x64, 0x5D, 0x19, 0x73, + 0x60, 0x81, 0x4F, 0xDC, 0x22, 0x2A, 0x90, 0x88, 0x46, 0xEE, 0xB8, 0x14, 0xDE, 0x5E, 0x0B, 0xDB, + 0xE0, 0x32, 0x3A, 0x0A, 0x49, 0x06, 0x24, 0x5C, 0xC2, 0xD3, 0xAC, 0x62, 0x91, 0x95, 0xE4, 0x79, + 0xE7, 0xC8, 0x37, 0x6D, 0x8D, 0xD5, 0x4E, 0xA9, 0x6C, 0x56, 0xF4, 0xEA, 0x65, 0x7A, 0xAE, 0x08, + 0xBA, 0x78, 0x25, 0x2E, 0x1C, 0xA6, 0xB4, 0xC6, 0xE8, 0xDD, 0x74, 0x1F, 0x4B, 0xBD, 0x8B, 0x8A, + 0x70, 0x3E, 0xB5, 0x66, 0x48, 0x03, 0xF6, 0x0E, 0x61, 0x35, 0x57, 0xB9, 0x86, 0xC1, 0x1D, 0x9E, + 0xE1, 0xF8, 0x98, 0x11, 0x69, 0xD9, 0x8E, 0x94, 0x9B, 0x1E, 0x87, 0xE9, 0xCE, 0x55, 0x28, 0xDF, + 0x8C, 0xA1, 0x89, 0x0D, 0xBF, 0xE6, 0x42, 0x68, 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16 + ) + ); + } + return $tables; + } + + /** + * Provides the inverse mixColumns and inverse sboxes tables + * + * @see self::_decryptBlock() + * @see self::_setupInlineCrypt() + * @see self::_setupKey() + * @access private + * @return array &$tables + */ + function &_getInvTables() + { + static $tables; + if (empty($tables)) { + $dt3 = array_map('intval', array( + 0xF4A75051, 0x4165537E, 0x17A4C31A, 0x275E963A, 0xAB6BCB3B, 0x9D45F11F, 0xFA58ABAC, 0xE303934B, + 0x30FA5520, 0x766DF6AD, 0xCC769188, 0x024C25F5, 0xE5D7FC4F, 0x2ACBD7C5, 0x35448026, 0x62A38FB5, + 0xB15A49DE, 0xBA1B6725, 0xEA0E9845, 0xFEC0E15D, 0x2F7502C3, 0x4CF01281, 0x4697A38D, 0xD3F9C66B, + 0x8F5FE703, 0x929C9515, 0x6D7AEBBF, 0x5259DA95, 0xBE832DD4, 0x7421D358, 0xE0692949, 0xC9C8448E, + 0xC2896A75, 0x8E7978F4, 0x583E6B99, 0xB971DD27, 0xE14FB6BE, 0x88AD17F0, 0x20AC66C9, 0xCE3AB47D, + 0xDF4A1863, 0x1A3182E5, 0x51336097, 0x537F4562, 0x6477E0B1, 0x6BAE84BB, 0x81A01CFE, 0x082B94F9, + 0x48685870, 0x45FD198F, 0xDE6C8794, 0x7BF8B752, 0x73D323AB, 0x4B02E272, 0x1F8F57E3, 0x55AB2A66, + 0xEB2807B2, 0xB5C2032F, 0xC57B9A86, 0x3708A5D3, 0x2887F230, 0xBFA5B223, 0x036ABA02, 0x16825CED, + 0xCF1C2B8A, 0x79B492A7, 0x07F2F0F3, 0x69E2A14E, 0xDAF4CD65, 0x05BED506, 0x34621FD1, 0xA6FE8AC4, + 0x2E539D34, 0xF355A0A2, 0x8AE13205, 0xF6EB75A4, 0x83EC390B, 0x60EFAA40, 0x719F065E, 0x6E1051BD, + 0x218AF93E, 0xDD063D96, 0x3E05AEDD, 0xE6BD464D, 0x548DB591, 0xC45D0571, 0x06D46F04, 0x5015FF60, + 0x98FB2419, 0xBDE997D6, 0x4043CC89, 0xD99E7767, 0xE842BDB0, 0x898B8807, 0x195B38E7, 0xC8EEDB79, + 0x7C0A47A1, 0x420FE97C, 0x841EC9F8, 0x00000000, 0x80868309, 0x2BED4832, 0x1170AC1E, 0x5A724E6C, + 0x0EFFFBFD, 0x8538560F, 0xAED51E3D, 0x2D392736, 0x0FD9640A, 0x5CA62168, 0x5B54D19B, 0x362E3A24, + 0x0A67B10C, 0x57E70F93, 0xEE96D2B4, 0x9B919E1B, 0xC0C54F80, 0xDC20A261, 0x774B695A, 0x121A161C, + 0x93BA0AE2, 0xA02AE5C0, 0x22E0433C, 0x1B171D12, 0x090D0B0E, 0x8BC7ADF2, 0xB6A8B92D, 0x1EA9C814, + 0xF1198557, 0x75074CAF, 0x99DDBBEE, 0x7F60FDA3, 0x01269FF7, 0x72F5BC5C, 0x663BC544, 0xFB7E345B, + 0x4329768B, 0x23C6DCCB, 0xEDFC68B6, 0xE4F163B8, 0x31DCCAD7, 0x63851042, 0x97224013, 0xC6112084, + 0x4A247D85, 0xBB3DF8D2, 0xF93211AE, 0x29A16DC7, 0x9E2F4B1D, 0xB230F3DC, 0x8652EC0D, 0xC1E3D077, + 0xB3166C2B, 0x70B999A9, 0x9448FA11, 0xE9642247, 0xFC8CC4A8, 0xF03F1AA0, 0x7D2CD856, 0x3390EF22, + 0x494EC787, 0x38D1C1D9, 0xCAA2FE8C, 0xD40B3698, 0xF581CFA6, 0x7ADE28A5, 0xB78E26DA, 0xADBFA43F, + 0x3A9DE42C, 0x78920D50, 0x5FCC9B6A, 0x7E466254, 0x8D13C2F6, 0xD8B8E890, 0x39F75E2E, 0xC3AFF582, + 0x5D80BE9F, 0xD0937C69, 0xD52DA96F, 0x2512B3CF, 0xAC993BC8, 0x187DA710, 0x9C636EE8, 0x3BBB7BDB, + 0x267809CD, 0x5918F46E, 0x9AB701EC, 0x4F9AA883, 0x956E65E6, 0xFFE67EAA, 0xBCCF0821, 0x15E8E6EF, + 0xE79BD9BA, 0x6F36CE4A, 0x9F09D4EA, 0xB07CD629, 0xA4B2AF31, 0x3F23312A, 0xA59430C6, 0xA266C035, + 0x4EBC3774, 0x82CAA6FC, 0x90D0B0E0, 0xA7D81533, 0x04984AF1, 0xECDAF741, 0xCD500E7F, 0x91F62F17, + 0x4DD68D76, 0xEFB04D43, 0xAA4D54CC, 0x9604DFE4, 0xD1B5E39E, 0x6A881B4C, 0x2C1FB8C1, 0x65517F46, + 0x5EEA049D, 0x8C355D01, 0x877473FA, 0x0B412EFB, 0x671D5AB3, 0xDBD25292, 0x105633E9, 0xD647136D, + 0xD7618C9A, 0xA10C7A37, 0xF8148E59, 0x133C89EB, 0xA927EECE, 0x61C935B7, 0x1CE5EDE1, 0x47B13C7A, + 0xD2DF599C, 0xF2733F55, 0x14CE7918, 0xC737BF73, 0xF7CDEA53, 0xFDAA5B5F, 0x3D6F14DF, 0x44DB8678, + 0xAFF381CA, 0x68C43EB9, 0x24342C38, 0xA3405FC2, 0x1DC37216, 0xE2250CBC, 0x3C498B28, 0x0D9541FF, + 0xA8017139, 0x0CB3DE08, 0xB4E49CD8, 0x56C19064, 0xCB84617B, 0x32B670D5, 0x6C5C7448, 0xB85742D0 + )); + + foreach ($dt3 as $dt3i) { + $dt0[] = (($dt3i << 24) & 0xFF000000) | (($dt3i >> 8) & 0x00FFFFFF); + $dt1[] = (($dt3i << 16) & 0xFFFF0000) | (($dt3i >> 16) & 0x0000FFFF); + $dt2[] = (($dt3i << 8) & 0xFFFFFF00) | (($dt3i >> 24) & 0x000000FF); + }; + + $tables = array( + // The Precomputed inverse mixColumns tables dt0 - dt3 + $dt0, + $dt1, + $dt2, + $dt3, + // The inverse SubByte S-Box + array( + 0x52, 0x09, 0x6A, 0xD5, 0x30, 0x36, 0xA5, 0x38, 0xBF, 0x40, 0xA3, 0x9E, 0x81, 0xF3, 0xD7, 0xFB, + 0x7C, 0xE3, 0x39, 0x82, 0x9B, 0x2F, 0xFF, 0x87, 0x34, 0x8E, 0x43, 0x44, 0xC4, 0xDE, 0xE9, 0xCB, + 0x54, 0x7B, 0x94, 0x32, 0xA6, 0xC2, 0x23, 0x3D, 0xEE, 0x4C, 0x95, 0x0B, 0x42, 0xFA, 0xC3, 0x4E, + 0x08, 0x2E, 0xA1, 0x66, 0x28, 0xD9, 0x24, 0xB2, 0x76, 0x5B, 0xA2, 0x49, 0x6D, 0x8B, 0xD1, 0x25, + 0x72, 0xF8, 0xF6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xD4, 0xA4, 0x5C, 0xCC, 0x5D, 0x65, 0xB6, 0x92, + 0x6C, 0x70, 0x48, 0x50, 0xFD, 0xED, 0xB9, 0xDA, 0x5E, 0x15, 0x46, 0x57, 0xA7, 0x8D, 0x9D, 0x84, + 0x90, 0xD8, 0xAB, 0x00, 0x8C, 0xBC, 0xD3, 0x0A, 0xF7, 0xE4, 0x58, 0x05, 0xB8, 0xB3, 0x45, 0x06, + 0xD0, 0x2C, 0x1E, 0x8F, 0xCA, 0x3F, 0x0F, 0x02, 0xC1, 0xAF, 0xBD, 0x03, 0x01, 0x13, 0x8A, 0x6B, + 0x3A, 0x91, 0x11, 0x41, 0x4F, 0x67, 0xDC, 0xEA, 0x97, 0xF2, 0xCF, 0xCE, 0xF0, 0xB4, 0xE6, 0x73, + 0x96, 0xAC, 0x74, 0x22, 0xE7, 0xAD, 0x35, 0x85, 0xE2, 0xF9, 0x37, 0xE8, 0x1C, 0x75, 0xDF, 0x6E, + 0x47, 0xF1, 0x1A, 0x71, 0x1D, 0x29, 0xC5, 0x89, 0x6F, 0xB7, 0x62, 0x0E, 0xAA, 0x18, 0xBE, 0x1B, + 0xFC, 0x56, 0x3E, 0x4B, 0xC6, 0xD2, 0x79, 0x20, 0x9A, 0xDB, 0xC0, 0xFE, 0x78, 0xCD, 0x5A, 0xF4, + 0x1F, 0xDD, 0xA8, 0x33, 0x88, 0x07, 0xC7, 0x31, 0xB1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xEC, 0x5F, + 0x60, 0x51, 0x7F, 0xA9, 0x19, 0xB5, 0x4A, 0x0D, 0x2D, 0xE5, 0x7A, 0x9F, 0x93, 0xC9, 0x9C, 0xEF, + 0xA0, 0xE0, 0x3B, 0x4D, 0xAE, 0x2A, 0xF5, 0xB0, 0xC8, 0xEB, 0xBB, 0x3C, 0x83, 0x53, 0x99, 0x61, + 0x17, 0x2B, 0x04, 0x7E, 0xBA, 0x77, 0xD6, 0x26, 0xE1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0C, 0x7D + ) + ); + } + return $tables; + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * @see \phpseclib\Crypt\Base::_setupInlineCrypt() + * @access private + */ + function _setupInlineCrypt() + { + // Note: _setupInlineCrypt() will be called only if $this->changed === true + // So here we are'nt under the same heavy timing-stress as we are in _de/encryptBlock() or de/encrypt(). + // However...the here generated function- $code, stored as php callback in $this->inline_crypt, must work as fast as even possible. + + $lambda_functions =& self::_getLambdaFunctions(); + + // We create max. 10 hi-optimized code for memory reason. Means: For each $key one ultra fast inline-crypt function. + // (Currently, for Crypt_Rijndael/AES, one generated $lambda_function cost on php5.5@32bit ~80kb unfreeable mem and ~130kb on php5.5@64bit) + // After that, we'll still create very fast optimized code but not the hi-ultimative code, for each $mode one. + $gen_hi_opt_code = (bool)(count($lambda_functions) < 10); + + // Generation of a uniqe hash for our generated code + $code_hash = "Crypt_Rijndael, {$this->mode}, {$this->Nr}, {$this->Nb}"; + if ($gen_hi_opt_code) { + $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key); + } + + if (!isset($lambda_functions[$code_hash])) { + switch (true) { + case $gen_hi_opt_code: + // The hi-optimized $lambda_functions will use the key-words hardcoded for better performance. + $w = $this->w; + $dw = $this->dw; + $init_encrypt = ''; + $init_decrypt = ''; + break; + default: + for ($i = 0, $cw = count($this->w); $i < $cw; ++$i) { + $w[] = '$w[' . $i . ']'; + $dw[] = '$dw[' . $i . ']'; + } + $init_encrypt = '$w = $self->w;'; + $init_decrypt = '$dw = $self->dw;'; + } + + $Nr = $this->Nr; + $Nb = $this->Nb; + $c = $this->c; + + // Generating encrypt code: + $init_encrypt.= ' + static $tables; + if (empty($tables)) { + $tables = &$self->_getTables(); + } + $t0 = $tables[0]; + $t1 = $tables[1]; + $t2 = $tables[2]; + $t3 = $tables[3]; + $sbox = $tables[4]; + '; + + $s = 'e'; + $e = 's'; + $wc = $Nb - 1; + + // Preround: addRoundKey + $encrypt_block = '$in = unpack("N*", $in);'."\n"; + for ($i = 0; $i < $Nb; ++$i) { + $encrypt_block .= '$s'.$i.' = $in['.($i + 1).'] ^ '.$w[++$wc].";\n"; + } + + // Mainrounds: shiftRows + subWord + mixColumns + addRoundKey + for ($round = 1; $round < $Nr; ++$round) { + list($s, $e) = array($e, $s); + for ($i = 0; $i < $Nb; ++$i) { + $encrypt_block.= + '$'.$e.$i.' = + $t0[($'.$s.$i .' >> 24) & 0xff] ^ + $t1[($'.$s.(($i + $c[1]) % $Nb).' >> 16) & 0xff] ^ + $t2[($'.$s.(($i + $c[2]) % $Nb).' >> 8) & 0xff] ^ + $t3[ $'.$s.(($i + $c[3]) % $Nb).' & 0xff] ^ + '.$w[++$wc].";\n"; + } + } + + // Finalround: subWord + shiftRows + addRoundKey + for ($i = 0; $i < $Nb; ++$i) { + $encrypt_block.= + '$'.$e.$i.' = + $sbox[ $'.$e.$i.' & 0xff] | + ($sbox[($'.$e.$i.' >> 8) & 0xff] << 8) | + ($sbox[($'.$e.$i.' >> 16) & 0xff] << 16) | + ($sbox[($'.$e.$i.' >> 24) & 0xff] << 24);'."\n"; + } + $encrypt_block .= '$in = pack("N*"'."\n"; + for ($i = 0; $i < $Nb; ++$i) { + $encrypt_block.= ', + ($'.$e.$i .' & '.((int)0xFF000000).') ^ + ($'.$e.(($i + $c[1]) % $Nb).' & 0x00FF0000 ) ^ + ($'.$e.(($i + $c[2]) % $Nb).' & 0x0000FF00 ) ^ + ($'.$e.(($i + $c[3]) % $Nb).' & 0x000000FF ) ^ + '.$w[$i]."\n"; + } + $encrypt_block .= ');'; + + // Generating decrypt code: + $init_decrypt.= ' + static $invtables; + if (empty($invtables)) { + $invtables = &$self->_getInvTables(); + } + $dt0 = $invtables[0]; + $dt1 = $invtables[1]; + $dt2 = $invtables[2]; + $dt3 = $invtables[3]; + $isbox = $invtables[4]; + '; + + $s = 'e'; + $e = 's'; + $wc = $Nb - 1; + + // Preround: addRoundKey + $decrypt_block = '$in = unpack("N*", $in);'."\n"; + for ($i = 0; $i < $Nb; ++$i) { + $decrypt_block .= '$s'.$i.' = $in['.($i + 1).'] ^ '.$dw[++$wc].';'."\n"; + } + + // Mainrounds: shiftRows + subWord + mixColumns + addRoundKey + for ($round = 1; $round < $Nr; ++$round) { + list($s, $e) = array($e, $s); + for ($i = 0; $i < $Nb; ++$i) { + $decrypt_block.= + '$'.$e.$i.' = + $dt0[($'.$s.$i .' >> 24) & 0xff] ^ + $dt1[($'.$s.(($Nb + $i - $c[1]) % $Nb).' >> 16) & 0xff] ^ + $dt2[($'.$s.(($Nb + $i - $c[2]) % $Nb).' >> 8) & 0xff] ^ + $dt3[ $'.$s.(($Nb + $i - $c[3]) % $Nb).' & 0xff] ^ + '.$dw[++$wc].";\n"; + } + } + + // Finalround: subWord + shiftRows + addRoundKey + for ($i = 0; $i < $Nb; ++$i) { + $decrypt_block.= + '$'.$e.$i.' = + $isbox[ $'.$e.$i.' & 0xff] | + ($isbox[($'.$e.$i.' >> 8) & 0xff] << 8) | + ($isbox[($'.$e.$i.' >> 16) & 0xff] << 16) | + ($isbox[($'.$e.$i.' >> 24) & 0xff] << 24);'."\n"; + } + $decrypt_block .= '$in = pack("N*"'."\n"; + for ($i = 0; $i < $Nb; ++$i) { + $decrypt_block.= ', + ($'.$e.$i. ' & '.((int)0xFF000000).') ^ + ($'.$e.(($Nb + $i - $c[1]) % $Nb).' & 0x00FF0000 ) ^ + ($'.$e.(($Nb + $i - $c[2]) % $Nb).' & 0x0000FF00 ) ^ + ($'.$e.(($Nb + $i - $c[3]) % $Nb).' & 0x000000FF ) ^ + '.$dw[$i]."\n"; + } + $decrypt_block .= ');'; + + $lambda_functions[$code_hash] = $this->_createInlineCryptFunction( + array( + 'init_crypt' => '', + 'init_encrypt' => $init_encrypt, + 'init_decrypt' => $init_decrypt, + 'encrypt_block' => $encrypt_block, + 'decrypt_block' => $decrypt_block + ) + ); + } + $this->inline_crypt = $lambda_functions[$code_hash]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php new file mode 100644 index 00000000..a2c41668 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php @@ -0,0 +1,460 @@ + + * setKey('abcdefghijklmnopqrstuvwx'); + * + * $size = 10 * 1024; + * $plaintext = ''; + * for ($i = 0; $i < $size; $i++) { + * $plaintext.= 'a'; + * } + * + * echo $des->decrypt($des->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package TripleDES + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of Triple DES. + * + * @package TripleDES + * @author Jim Wigginton + * @access public + */ +class TripleDES extends DES +{ + /** + * Encrypt / decrypt using inner chaining + * + * Inner chaining is used by SSH-1 and is generally considered to be less secure then outer chaining (self::MODE_CBC3). + */ + const MODE_3CBC = -2; + + /** + * Encrypt / decrypt using outer chaining + * + * Outer chaining is used by SSH-2 and when the mode is set to \phpseclib\Crypt\Base::MODE_CBC. + */ + const MODE_CBC3 = Base::MODE_CBC; + + /** + * Key Length (in bytes) + * + * @see \phpseclib\Crypt\TripleDES::setKeyLength() + * @var int + * @access private + */ + var $key_length = 24; + + /** + * The default salt used by setPassword() + * + * @see \phpseclib\Crypt\Base::password_default_salt + * @see \phpseclib\Crypt\Base::setPassword() + * @var string + * @access private + */ + var $password_default_salt = 'phpseclib'; + + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\DES::cipher_name_mcrypt + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'tripledes'; + + /** + * Optimizing value while CFB-encrypting + * + * @see \phpseclib\Crypt\Base::cfb_init_len + * @var int + * @access private + */ + var $cfb_init_len = 750; + + /** + * max possible size of $key + * + * @see self::setKey() + * @see \phpseclib\Crypt\DES::setKey() + * @var string + * @access private + */ + var $key_length_max = 24; + + /** + * Internal flag whether using self::MODE_3CBC or not + * + * @var bool + * @access private + */ + var $mode_3cbc; + + /** + * The \phpseclib\Crypt\DES objects + * + * Used only if $mode_3cbc === true + * + * @var array + * @access private + */ + var $des; + + /** + * Default Constructor. + * + * Determines whether or not the mcrypt extension should be used. + * + * $mode could be: + * + * - \phpseclib\Crypt\Base::MODE_ECB + * + * - \phpseclib\Crypt\Base::MODE_CBC + * + * - \phpseclib\Crypt\Base::MODE_CTR + * + * - \phpseclib\Crypt\Base::MODE_CFB + * + * - \phpseclib\Crypt\Base::MODE_OFB + * + * - \phpseclib\Crypt\TripleDES::MODE_3CBC + * + * If not explicitly set, \phpseclib\Crypt\Base::MODE_CBC will be used. + * + * @see \phpseclib\Crypt\DES::__construct() + * @see \phpseclib\Crypt\Base::__construct() + * @param int $mode + * @access public + */ + function __construct($mode = Base::MODE_CBC) + { + switch ($mode) { + // In case of self::MODE_3CBC, we init as CRYPT_DES_MODE_CBC + // and additional flag us internally as 3CBC + case self::MODE_3CBC: + parent::__construct(Base::MODE_CBC); + $this->mode_3cbc = true; + + // This three $des'es will do the 3CBC work (if $key > 64bits) + $this->des = array( + new DES(Base::MODE_CBC), + new DES(Base::MODE_CBC), + new DES(Base::MODE_CBC), + ); + + // we're going to be doing the padding, ourselves, so disable it in the \phpseclib\Crypt\DES objects + $this->des[0]->disablePadding(); + $this->des[1]->disablePadding(); + $this->des[2]->disablePadding(); + break; + // If not 3CBC, we init as usual + default: + parent::__construct($mode); + } + } + + /** + * Test for engine validity + * + * This is mainly just a wrapper to set things up for \phpseclib\Crypt\Base::isValidEngine() + * + * @see \phpseclib\Crypt\Base::__construct() + * @param int $engine + * @access public + * @return bool + */ + function isValidEngine($engine) + { + if ($engine == self::ENGINE_OPENSSL) { + $this->cipher_name_openssl_ecb = 'des-ede3'; + $mode = $this->_openssl_translate_mode(); + $this->cipher_name_openssl = $mode == 'ecb' ? 'des-ede3' : 'des-ede3-' . $mode; + } + + return parent::isValidEngine($engine); + } + + /** + * Sets the initialization vector. (optional) + * + * SetIV is not required when \phpseclib\Crypt\Base::MODE_ECB is being used. If not explicitly set, it'll be assumed + * to be all zero's. + * + * @see \phpseclib\Crypt\Base::setIV() + * @access public + * @param string $iv + */ + function setIV($iv) + { + parent::setIV($iv); + if ($this->mode_3cbc) { + $this->des[0]->setIV($iv); + $this->des[1]->setIV($iv); + $this->des[2]->setIV($iv); + } + } + + /** + * Sets the key length. + * + * Valid key lengths are 64, 128 and 192 + * + * @see \phpseclib\Crypt\Base:setKeyLength() + * @access public + * @param int $length + */ + function setKeyLength($length) + { + $length >>= 3; + switch (true) { + case $length <= 8: + $this->key_length = 8; + break; + case $length <= 16: + $this->key_length = 16; + break; + default: + $this->key_length = 24; + } + + parent::setKeyLength($length); + } + + /** + * Sets the key. + * + * Keys can be of any length. Triple DES, itself, can use 128-bit (eg. strlen($key) == 16) or + * 192-bit (eg. strlen($key) == 24) keys. This function pads and truncates $key as appropriate. + * + * DES also requires that every eighth bit be a parity bit, however, we'll ignore that. + * + * If the key is not explicitly set, it'll be assumed to be all null bytes. + * + * @access public + * @see \phpseclib\Crypt\DES::setKey() + * @see \phpseclib\Crypt\Base::setKey() + * @param string $key + */ + function setKey($key) + { + $length = $this->explicit_key_length ? $this->key_length : strlen($key); + if ($length > 8) { + $key = str_pad(substr($key, 0, 24), 24, chr(0)); + // if $key is between 64 and 128-bits, use the first 64-bits as the last, per this: + // http://php.net/function.mcrypt-encrypt#47973 + $key = $length <= 16 ? substr_replace($key, substr($key, 0, 8), 16) : substr($key, 0, 24); + } else { + $key = str_pad($key, 8, chr(0)); + } + parent::setKey($key); + + // And in case of self::MODE_3CBC: + // if key <= 64bits we not need the 3 $des to work, + // because we will then act as regular DES-CBC with just a <= 64bit key. + // So only if the key > 64bits (> 8 bytes) we will call setKey() for the 3 $des. + if ($this->mode_3cbc && $length > 8) { + $this->des[0]->setKey(substr($key, 0, 8)); + $this->des[1]->setKey(substr($key, 8, 8)); + $this->des[2]->setKey(substr($key, 16, 8)); + } + } + + /** + * Encrypts a message. + * + * @see \phpseclib\Crypt\Base::encrypt() + * @access public + * @param string $plaintext + * @return string $cipertext + */ + function encrypt($plaintext) + { + // parent::en/decrypt() is able to do all the work for all modes and keylengths, + // except for: self::MODE_3CBC (inner chaining CBC) with a key > 64bits + + // if the key is smaller then 8, do what we'd normally do + if ($this->mode_3cbc && strlen($this->key) > 8) { + return $this->des[2]->encrypt( + $this->des[1]->decrypt( + $this->des[0]->encrypt( + $this->_pad($plaintext) + ) + ) + ); + } + + return parent::encrypt($plaintext); + } + + /** + * Decrypts a message. + * + * @see \phpseclib\Crypt\Base::decrypt() + * @access public + * @param string $ciphertext + * @return string $plaintext + */ + function decrypt($ciphertext) + { + if ($this->mode_3cbc && strlen($this->key) > 8) { + return $this->_unpad( + $this->des[0]->decrypt( + $this->des[1]->encrypt( + $this->des[2]->decrypt( + str_pad($ciphertext, (strlen($ciphertext) + 7) & 0xFFFFFFF8, "\0") + ) + ) + ) + ); + } + + return parent::decrypt($ciphertext); + } + + /** + * Treat consecutive "packets" as if they are a continuous buffer. + * + * Say you have a 16-byte plaintext $plaintext. Using the default behavior, the two following code snippets + * will yield different outputs: + * + * + * echo $des->encrypt(substr($plaintext, 0, 8)); + * echo $des->encrypt(substr($plaintext, 8, 8)); + * + * + * echo $des->encrypt($plaintext); + * + * + * The solution is to enable the continuous buffer. Although this will resolve the above discrepancy, it creates + * another, as demonstrated with the following: + * + * + * $des->encrypt(substr($plaintext, 0, 8)); + * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8))); + * + * + * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8))); + * + * + * With the continuous buffer disabled, these would yield the same output. With it enabled, they yield different + * outputs. The reason is due to the fact that the initialization vector's change after every encryption / + * decryption round when the continuous buffer is enabled. When it's disabled, they remain constant. + * + * Put another way, when the continuous buffer is enabled, the state of the \phpseclib\Crypt\DES() object changes after each + * encryption / decryption round, whereas otherwise, it'd remain constant. For this reason, it's recommended that + * continuous buffers not be used. They do offer better security and are, in fact, sometimes required (SSH uses them), + * however, they are also less intuitive and more likely to cause you problems. + * + * @see \phpseclib\Crypt\Base::enableContinuousBuffer() + * @see self::disableContinuousBuffer() + * @access public + */ + function enableContinuousBuffer() + { + parent::enableContinuousBuffer(); + if ($this->mode_3cbc) { + $this->des[0]->enableContinuousBuffer(); + $this->des[1]->enableContinuousBuffer(); + $this->des[2]->enableContinuousBuffer(); + } + } + + /** + * Treat consecutive packets as if they are a discontinuous buffer. + * + * The default behavior. + * + * @see \phpseclib\Crypt\Base::disableContinuousBuffer() + * @see self::enableContinuousBuffer() + * @access public + */ + function disableContinuousBuffer() + { + parent::disableContinuousBuffer(); + if ($this->mode_3cbc) { + $this->des[0]->disableContinuousBuffer(); + $this->des[1]->disableContinuousBuffer(); + $this->des[2]->disableContinuousBuffer(); + } + } + + /** + * Creates the key schedule + * + * @see \phpseclib\Crypt\DES::_setupKey() + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + switch (true) { + // if $key <= 64bits we configure our internal pure-php cipher engine + // to act as regular [1]DES, not as 3DES. mcrypt.so::tripledes does the same. + case strlen($this->key) <= 8: + $this->des_rounds = 1; + break; + + // otherwise, if $key > 64bits, we configure our engine to work as 3DES. + default: + $this->des_rounds = 3; + + // (only) if 3CBC is used we have, of course, to setup the $des[0-2] keys also separately. + if ($this->mode_3cbc) { + $this->des[0]->_setupKey(); + $this->des[1]->_setupKey(); + $this->des[2]->_setupKey(); + + // because $des[0-2] will, now, do all the work we can return here + // not need unnecessary stress parent::_setupKey() with our, now unused, $key. + return; + } + } + // setup our key + parent::_setupKey(); + } + + /** + * Sets the internal crypt engine + * + * @see \phpseclib\Crypt\Base::__construct() + * @see \phpseclib\Crypt\Base::setPreferredEngine() + * @param int $engine + * @access public + * @return int + */ + function setPreferredEngine($engine) + { + if ($this->mode_3cbc) { + $this->des[0]->setPreferredEngine($engine); + $this->des[1]->setPreferredEngine($engine); + $this->des[2]->setPreferredEngine($engine); + } + + return parent::setPreferredEngine($engine); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php new file mode 100644 index 00000000..3dd4ea1d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php @@ -0,0 +1,808 @@ + + * setKey('12345678901234567890123456789012'); + * + * $plaintext = str_repeat('a', 1024); + * + * echo $twofish->decrypt($twofish->encrypt($plaintext)); + * ?> + * + * + * @category Crypt + * @package Twofish + * @author Jim Wigginton + * @author Hans-Juergen Petrich + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Crypt; + +/** + * Pure-PHP implementation of Twofish. + * + * @package Twofish + * @author Jim Wigginton + * @author Hans-Juergen Petrich + * @access public + */ +class Twofish extends Base +{ + /** + * The mcrypt specific name of the cipher + * + * @see \phpseclib\Crypt\Base::cipher_name_mcrypt + * @var string + * @access private + */ + var $cipher_name_mcrypt = 'twofish'; + + /** + * Optimizing value while CFB-encrypting + * + * @see \phpseclib\Crypt\Base::cfb_init_len + * @var int + * @access private + */ + var $cfb_init_len = 800; + + /** + * Q-Table + * + * @var array + * @access private + */ + var $q0 = array( + 0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76, + 0x9A, 0x92, 0x80, 0x78, 0xE4, 0xDD, 0xD1, 0x38, + 0x0D, 0xC6, 0x35, 0x98, 0x18, 0xF7, 0xEC, 0x6C, + 0x43, 0x75, 0x37, 0x26, 0xFA, 0x13, 0x94, 0x48, + 0xF2, 0xD0, 0x8B, 0x30, 0x84, 0x54, 0xDF, 0x23, + 0x19, 0x5B, 0x3D, 0x59, 0xF3, 0xAE, 0xA2, 0x82, + 0x63, 0x01, 0x83, 0x2E, 0xD9, 0x51, 0x9B, 0x7C, + 0xA6, 0xEB, 0xA5, 0xBE, 0x16, 0x0C, 0xE3, 0x61, + 0xC0, 0x8C, 0x3A, 0xF5, 0x73, 0x2C, 0x25, 0x0B, + 0xBB, 0x4E, 0x89, 0x6B, 0x53, 0x6A, 0xB4, 0xF1, + 0xE1, 0xE6, 0xBD, 0x45, 0xE2, 0xF4, 0xB6, 0x66, + 0xCC, 0x95, 0x03, 0x56, 0xD4, 0x1C, 0x1E, 0xD7, + 0xFB, 0xC3, 0x8E, 0xB5, 0xE9, 0xCF, 0xBF, 0xBA, + 0xEA, 0x77, 0x39, 0xAF, 0x33, 0xC9, 0x62, 0x71, + 0x81, 0x79, 0x09, 0xAD, 0x24, 0xCD, 0xF9, 0xD8, + 0xE5, 0xC5, 0xB9, 0x4D, 0x44, 0x08, 0x86, 0xE7, + 0xA1, 0x1D, 0xAA, 0xED, 0x06, 0x70, 0xB2, 0xD2, + 0x41, 0x7B, 0xA0, 0x11, 0x31, 0xC2, 0x27, 0x90, + 0x20, 0xF6, 0x60, 0xFF, 0x96, 0x5C, 0xB1, 0xAB, + 0x9E, 0x9C, 0x52, 0x1B, 0x5F, 0x93, 0x0A, 0xEF, + 0x91, 0x85, 0x49, 0xEE, 0x2D, 0x4F, 0x8F, 0x3B, + 0x47, 0x87, 0x6D, 0x46, 0xD6, 0x3E, 0x69, 0x64, + 0x2A, 0xCE, 0xCB, 0x2F, 0xFC, 0x97, 0x05, 0x7A, + 0xAC, 0x7F, 0xD5, 0x1A, 0x4B, 0x0E, 0xA7, 0x5A, + 0x28, 0x14, 0x3F, 0x29, 0x88, 0x3C, 0x4C, 0x02, + 0xB8, 0xDA, 0xB0, 0x17, 0x55, 0x1F, 0x8A, 0x7D, + 0x57, 0xC7, 0x8D, 0x74, 0xB7, 0xC4, 0x9F, 0x72, + 0x7E, 0x15, 0x22, 0x12, 0x58, 0x07, 0x99, 0x34, + 0x6E, 0x50, 0xDE, 0x68, 0x65, 0xBC, 0xDB, 0xF8, + 0xC8, 0xA8, 0x2B, 0x40, 0xDC, 0xFE, 0x32, 0xA4, + 0xCA, 0x10, 0x21, 0xF0, 0xD3, 0x5D, 0x0F, 0x00, + 0x6F, 0x9D, 0x36, 0x42, 0x4A, 0x5E, 0xC1, 0xE0 + ); + + /** + * Q-Table + * + * @var array + * @access private + */ + var $q1 = array( + 0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8, + 0x4A, 0xD3, 0xE6, 0x6B, 0x45, 0x7D, 0xE8, 0x4B, + 0xD6, 0x32, 0xD8, 0xFD, 0x37, 0x71, 0xF1, 0xE1, + 0x30, 0x0F, 0xF8, 0x1B, 0x87, 0xFA, 0x06, 0x3F, + 0x5E, 0xBA, 0xAE, 0x5B, 0x8A, 0x00, 0xBC, 0x9D, + 0x6D, 0xC1, 0xB1, 0x0E, 0x80, 0x5D, 0xD2, 0xD5, + 0xA0, 0x84, 0x07, 0x14, 0xB5, 0x90, 0x2C, 0xA3, + 0xB2, 0x73, 0x4C, 0x54, 0x92, 0x74, 0x36, 0x51, + 0x38, 0xB0, 0xBD, 0x5A, 0xFC, 0x60, 0x62, 0x96, + 0x6C, 0x42, 0xF7, 0x10, 0x7C, 0x28, 0x27, 0x8C, + 0x13, 0x95, 0x9C, 0xC7, 0x24, 0x46, 0x3B, 0x70, + 0xCA, 0xE3, 0x85, 0xCB, 0x11, 0xD0, 0x93, 0xB8, + 0xA6, 0x83, 0x20, 0xFF, 0x9F, 0x77, 0xC3, 0xCC, + 0x03, 0x6F, 0x08, 0xBF, 0x40, 0xE7, 0x2B, 0xE2, + 0x79, 0x0C, 0xAA, 0x82, 0x41, 0x3A, 0xEA, 0xB9, + 0xE4, 0x9A, 0xA4, 0x97, 0x7E, 0xDA, 0x7A, 0x17, + 0x66, 0x94, 0xA1, 0x1D, 0x3D, 0xF0, 0xDE, 0xB3, + 0x0B, 0x72, 0xA7, 0x1C, 0xEF, 0xD1, 0x53, 0x3E, + 0x8F, 0x33, 0x26, 0x5F, 0xEC, 0x76, 0x2A, 0x49, + 0x81, 0x88, 0xEE, 0x21, 0xC4, 0x1A, 0xEB, 0xD9, + 0xC5, 0x39, 0x99, 0xCD, 0xAD, 0x31, 0x8B, 0x01, + 0x18, 0x23, 0xDD, 0x1F, 0x4E, 0x2D, 0xF9, 0x48, + 0x4F, 0xF2, 0x65, 0x8E, 0x78, 0x5C, 0x58, 0x19, + 0x8D, 0xE5, 0x98, 0x57, 0x67, 0x7F, 0x05, 0x64, + 0xAF, 0x63, 0xB6, 0xFE, 0xF5, 0xB7, 0x3C, 0xA5, + 0xCE, 0xE9, 0x68, 0x44, 0xE0, 0x4D, 0x43, 0x69, + 0x29, 0x2E, 0xAC, 0x15, 0x59, 0xA8, 0x0A, 0x9E, + 0x6E, 0x47, 0xDF, 0x34, 0x35, 0x6A, 0xCF, 0xDC, + 0x22, 0xC9, 0xC0, 0x9B, 0x89, 0xD4, 0xED, 0xAB, + 0x12, 0xA2, 0x0D, 0x52, 0xBB, 0x02, 0x2F, 0xA9, + 0xD7, 0x61, 0x1E, 0xB4, 0x50, 0x04, 0xF6, 0xC2, + 0x16, 0x25, 0x86, 0x56, 0x55, 0x09, 0xBE, 0x91 + ); + + /** + * M-Table + * + * @var array + * @access private + */ + var $m0 = array( + 0xBCBC3275, 0xECEC21F3, 0x202043C6, 0xB3B3C9F4, 0xDADA03DB, 0x02028B7B, 0xE2E22BFB, 0x9E9EFAC8, + 0xC9C9EC4A, 0xD4D409D3, 0x18186BE6, 0x1E1E9F6B, 0x98980E45, 0xB2B2387D, 0xA6A6D2E8, 0x2626B74B, + 0x3C3C57D6, 0x93938A32, 0x8282EED8, 0x525298FD, 0x7B7BD437, 0xBBBB3771, 0x5B5B97F1, 0x474783E1, + 0x24243C30, 0x5151E20F, 0xBABAC6F8, 0x4A4AF31B, 0xBFBF4887, 0x0D0D70FA, 0xB0B0B306, 0x7575DE3F, + 0xD2D2FD5E, 0x7D7D20BA, 0x666631AE, 0x3A3AA35B, 0x59591C8A, 0x00000000, 0xCDCD93BC, 0x1A1AE09D, + 0xAEAE2C6D, 0x7F7FABC1, 0x2B2BC7B1, 0xBEBEB90E, 0xE0E0A080, 0x8A8A105D, 0x3B3B52D2, 0x6464BAD5, + 0xD8D888A0, 0xE7E7A584, 0x5F5FE807, 0x1B1B1114, 0x2C2CC2B5, 0xFCFCB490, 0x3131272C, 0x808065A3, + 0x73732AB2, 0x0C0C8173, 0x79795F4C, 0x6B6B4154, 0x4B4B0292, 0x53536974, 0x94948F36, 0x83831F51, + 0x2A2A3638, 0xC4C49CB0, 0x2222C8BD, 0xD5D5F85A, 0xBDBDC3FC, 0x48487860, 0xFFFFCE62, 0x4C4C0796, + 0x4141776C, 0xC7C7E642, 0xEBEB24F7, 0x1C1C1410, 0x5D5D637C, 0x36362228, 0x6767C027, 0xE9E9AF8C, + 0x4444F913, 0x1414EA95, 0xF5F5BB9C, 0xCFCF18C7, 0x3F3F2D24, 0xC0C0E346, 0x7272DB3B, 0x54546C70, + 0x29294CCA, 0xF0F035E3, 0x0808FE85, 0xC6C617CB, 0xF3F34F11, 0x8C8CE4D0, 0xA4A45993, 0xCACA96B8, + 0x68683BA6, 0xB8B84D83, 0x38382820, 0xE5E52EFF, 0xADAD569F, 0x0B0B8477, 0xC8C81DC3, 0x9999FFCC, + 0x5858ED03, 0x19199A6F, 0x0E0E0A08, 0x95957EBF, 0x70705040, 0xF7F730E7, 0x6E6ECF2B, 0x1F1F6EE2, + 0xB5B53D79, 0x09090F0C, 0x616134AA, 0x57571682, 0x9F9F0B41, 0x9D9D803A, 0x111164EA, 0x2525CDB9, + 0xAFAFDDE4, 0x4545089A, 0xDFDF8DA4, 0xA3A35C97, 0xEAEAD57E, 0x353558DA, 0xEDEDD07A, 0x4343FC17, + 0xF8F8CB66, 0xFBFBB194, 0x3737D3A1, 0xFAFA401D, 0xC2C2683D, 0xB4B4CCF0, 0x32325DDE, 0x9C9C71B3, + 0x5656E70B, 0xE3E3DA72, 0x878760A7, 0x15151B1C, 0xF9F93AEF, 0x6363BFD1, 0x3434A953, 0x9A9A853E, + 0xB1B1428F, 0x7C7CD133, 0x88889B26, 0x3D3DA65F, 0xA1A1D7EC, 0xE4E4DF76, 0x8181942A, 0x91910149, + 0x0F0FFB81, 0xEEEEAA88, 0x161661EE, 0xD7D77321, 0x9797F5C4, 0xA5A5A81A, 0xFEFE3FEB, 0x6D6DB5D9, + 0x7878AEC5, 0xC5C56D39, 0x1D1DE599, 0x7676A4CD, 0x3E3EDCAD, 0xCBCB6731, 0xB6B6478B, 0xEFEF5B01, + 0x12121E18, 0x6060C523, 0x6A6AB0DD, 0x4D4DF61F, 0xCECEE94E, 0xDEDE7C2D, 0x55559DF9, 0x7E7E5A48, + 0x2121B24F, 0x03037AF2, 0xA0A02665, 0x5E5E198E, 0x5A5A6678, 0x65654B5C, 0x62624E58, 0xFDFD4519, + 0x0606F48D, 0x404086E5, 0xF2F2BE98, 0x3333AC57, 0x17179067, 0x05058E7F, 0xE8E85E05, 0x4F4F7D64, + 0x89896AAF, 0x10109563, 0x74742FB6, 0x0A0A75FE, 0x5C5C92F5, 0x9B9B74B7, 0x2D2D333C, 0x3030D6A5, + 0x2E2E49CE, 0x494989E9, 0x46467268, 0x77775544, 0xA8A8D8E0, 0x9696044D, 0x2828BD43, 0xA9A92969, + 0xD9D97929, 0x8686912E, 0xD1D187AC, 0xF4F44A15, 0x8D8D1559, 0xD6D682A8, 0xB9B9BC0A, 0x42420D9E, + 0xF6F6C16E, 0x2F2FB847, 0xDDDD06DF, 0x23233934, 0xCCCC6235, 0xF1F1C46A, 0xC1C112CF, 0x8585EBDC, + 0x8F8F9E22, 0x7171A1C9, 0x9090F0C0, 0xAAAA539B, 0x0101F189, 0x8B8BE1D4, 0x4E4E8CED, 0x8E8E6FAB, + 0xABABA212, 0x6F6F3EA2, 0xE6E6540D, 0xDBDBF252, 0x92927BBB, 0xB7B7B602, 0x6969CA2F, 0x3939D9A9, + 0xD3D30CD7, 0xA7A72361, 0xA2A2AD1E, 0xC3C399B4, 0x6C6C4450, 0x07070504, 0x04047FF6, 0x272746C2, + 0xACACA716, 0xD0D07625, 0x50501386, 0xDCDCF756, 0x84841A55, 0xE1E15109, 0x7A7A25BE, 0x1313EF91 + ); + + /** + * M-Table + * + * @var array + * @access private + */ + var $m1 = array( + 0xA9D93939, 0x67901717, 0xB3719C9C, 0xE8D2A6A6, 0x04050707, 0xFD985252, 0xA3658080, 0x76DFE4E4, + 0x9A084545, 0x92024B4B, 0x80A0E0E0, 0x78665A5A, 0xE4DDAFAF, 0xDDB06A6A, 0xD1BF6363, 0x38362A2A, + 0x0D54E6E6, 0xC6432020, 0x3562CCCC, 0x98BEF2F2, 0x181E1212, 0xF724EBEB, 0xECD7A1A1, 0x6C774141, + 0x43BD2828, 0x7532BCBC, 0x37D47B7B, 0x269B8888, 0xFA700D0D, 0x13F94444, 0x94B1FBFB, 0x485A7E7E, + 0xF27A0303, 0xD0E48C8C, 0x8B47B6B6, 0x303C2424, 0x84A5E7E7, 0x54416B6B, 0xDF06DDDD, 0x23C56060, + 0x1945FDFD, 0x5BA33A3A, 0x3D68C2C2, 0x59158D8D, 0xF321ECEC, 0xAE316666, 0xA23E6F6F, 0x82165757, + 0x63951010, 0x015BEFEF, 0x834DB8B8, 0x2E918686, 0xD9B56D6D, 0x511F8383, 0x9B53AAAA, 0x7C635D5D, + 0xA63B6868, 0xEB3FFEFE, 0xA5D63030, 0xBE257A7A, 0x16A7ACAC, 0x0C0F0909, 0xE335F0F0, 0x6123A7A7, + 0xC0F09090, 0x8CAFE9E9, 0x3A809D9D, 0xF5925C5C, 0x73810C0C, 0x2C273131, 0x2576D0D0, 0x0BE75656, + 0xBB7B9292, 0x4EE9CECE, 0x89F10101, 0x6B9F1E1E, 0x53A93434, 0x6AC4F1F1, 0xB499C3C3, 0xF1975B5B, + 0xE1834747, 0xE66B1818, 0xBDC82222, 0x450E9898, 0xE26E1F1F, 0xF4C9B3B3, 0xB62F7474, 0x66CBF8F8, + 0xCCFF9999, 0x95EA1414, 0x03ED5858, 0x56F7DCDC, 0xD4E18B8B, 0x1C1B1515, 0x1EADA2A2, 0xD70CD3D3, + 0xFB2BE2E2, 0xC31DC8C8, 0x8E195E5E, 0xB5C22C2C, 0xE9894949, 0xCF12C1C1, 0xBF7E9595, 0xBA207D7D, + 0xEA641111, 0x77840B0B, 0x396DC5C5, 0xAF6A8989, 0x33D17C7C, 0xC9A17171, 0x62CEFFFF, 0x7137BBBB, + 0x81FB0F0F, 0x793DB5B5, 0x0951E1E1, 0xADDC3E3E, 0x242D3F3F, 0xCDA47676, 0xF99D5555, 0xD8EE8282, + 0xE5864040, 0xC5AE7878, 0xB9CD2525, 0x4D049696, 0x44557777, 0x080A0E0E, 0x86135050, 0xE730F7F7, + 0xA1D33737, 0x1D40FAFA, 0xAA346161, 0xED8C4E4E, 0x06B3B0B0, 0x706C5454, 0xB22A7373, 0xD2523B3B, + 0x410B9F9F, 0x7B8B0202, 0xA088D8D8, 0x114FF3F3, 0x3167CBCB, 0xC2462727, 0x27C06767, 0x90B4FCFC, + 0x20283838, 0xF67F0404, 0x60784848, 0xFF2EE5E5, 0x96074C4C, 0x5C4B6565, 0xB1C72B2B, 0xAB6F8E8E, + 0x9E0D4242, 0x9CBBF5F5, 0x52F2DBDB, 0x1BF34A4A, 0x5FA63D3D, 0x9359A4A4, 0x0ABCB9B9, 0xEF3AF9F9, + 0x91EF1313, 0x85FE0808, 0x49019191, 0xEE611616, 0x2D7CDEDE, 0x4FB22121, 0x8F42B1B1, 0x3BDB7272, + 0x47B82F2F, 0x8748BFBF, 0x6D2CAEAE, 0x46E3C0C0, 0xD6573C3C, 0x3E859A9A, 0x6929A9A9, 0x647D4F4F, + 0x2A948181, 0xCE492E2E, 0xCB17C6C6, 0x2FCA6969, 0xFCC3BDBD, 0x975CA3A3, 0x055EE8E8, 0x7AD0EDED, + 0xAC87D1D1, 0x7F8E0505, 0xD5BA6464, 0x1AA8A5A5, 0x4BB72626, 0x0EB9BEBE, 0xA7608787, 0x5AF8D5D5, + 0x28223636, 0x14111B1B, 0x3FDE7575, 0x2979D9D9, 0x88AAEEEE, 0x3C332D2D, 0x4C5F7979, 0x02B6B7B7, + 0xB896CACA, 0xDA583535, 0xB09CC4C4, 0x17FC4343, 0x551A8484, 0x1FF64D4D, 0x8A1C5959, 0x7D38B2B2, + 0x57AC3333, 0xC718CFCF, 0x8DF40606, 0x74695353, 0xB7749B9B, 0xC4F59797, 0x9F56ADAD, 0x72DAE3E3, + 0x7ED5EAEA, 0x154AF4F4, 0x229E8F8F, 0x12A2ABAB, 0x584E6262, 0x07E85F5F, 0x99E51D1D, 0x34392323, + 0x6EC1F6F6, 0x50446C6C, 0xDE5D3232, 0x68724646, 0x6526A0A0, 0xBC93CDCD, 0xDB03DADA, 0xF8C6BABA, + 0xC8FA9E9E, 0xA882D6D6, 0x2BCF6E6E, 0x40507070, 0xDCEB8585, 0xFE750A0A, 0x328A9393, 0xA48DDFDF, + 0xCA4C2929, 0x10141C1C, 0x2173D7D7, 0xF0CCB4B4, 0xD309D4D4, 0x5D108A8A, 0x0FE25151, 0x00000000, + 0x6F9A1919, 0x9DE01A1A, 0x368F9494, 0x42E6C7C7, 0x4AECC9C9, 0x5EFDD2D2, 0xC1AB7F7F, 0xE0D8A8A8 + ); + + /** + * M-Table + * + * @var array + * @access private + */ + var $m2 = array( + 0xBC75BC32, 0xECF3EC21, 0x20C62043, 0xB3F4B3C9, 0xDADBDA03, 0x027B028B, 0xE2FBE22B, 0x9EC89EFA, + 0xC94AC9EC, 0xD4D3D409, 0x18E6186B, 0x1E6B1E9F, 0x9845980E, 0xB27DB238, 0xA6E8A6D2, 0x264B26B7, + 0x3CD63C57, 0x9332938A, 0x82D882EE, 0x52FD5298, 0x7B377BD4, 0xBB71BB37, 0x5BF15B97, 0x47E14783, + 0x2430243C, 0x510F51E2, 0xBAF8BAC6, 0x4A1B4AF3, 0xBF87BF48, 0x0DFA0D70, 0xB006B0B3, 0x753F75DE, + 0xD25ED2FD, 0x7DBA7D20, 0x66AE6631, 0x3A5B3AA3, 0x598A591C, 0x00000000, 0xCDBCCD93, 0x1A9D1AE0, + 0xAE6DAE2C, 0x7FC17FAB, 0x2BB12BC7, 0xBE0EBEB9, 0xE080E0A0, 0x8A5D8A10, 0x3BD23B52, 0x64D564BA, + 0xD8A0D888, 0xE784E7A5, 0x5F075FE8, 0x1B141B11, 0x2CB52CC2, 0xFC90FCB4, 0x312C3127, 0x80A38065, + 0x73B2732A, 0x0C730C81, 0x794C795F, 0x6B546B41, 0x4B924B02, 0x53745369, 0x9436948F, 0x8351831F, + 0x2A382A36, 0xC4B0C49C, 0x22BD22C8, 0xD55AD5F8, 0xBDFCBDC3, 0x48604878, 0xFF62FFCE, 0x4C964C07, + 0x416C4177, 0xC742C7E6, 0xEBF7EB24, 0x1C101C14, 0x5D7C5D63, 0x36283622, 0x672767C0, 0xE98CE9AF, + 0x441344F9, 0x149514EA, 0xF59CF5BB, 0xCFC7CF18, 0x3F243F2D, 0xC046C0E3, 0x723B72DB, 0x5470546C, + 0x29CA294C, 0xF0E3F035, 0x088508FE, 0xC6CBC617, 0xF311F34F, 0x8CD08CE4, 0xA493A459, 0xCAB8CA96, + 0x68A6683B, 0xB883B84D, 0x38203828, 0xE5FFE52E, 0xAD9FAD56, 0x0B770B84, 0xC8C3C81D, 0x99CC99FF, + 0x580358ED, 0x196F199A, 0x0E080E0A, 0x95BF957E, 0x70407050, 0xF7E7F730, 0x6E2B6ECF, 0x1FE21F6E, + 0xB579B53D, 0x090C090F, 0x61AA6134, 0x57825716, 0x9F419F0B, 0x9D3A9D80, 0x11EA1164, 0x25B925CD, + 0xAFE4AFDD, 0x459A4508, 0xDFA4DF8D, 0xA397A35C, 0xEA7EEAD5, 0x35DA3558, 0xED7AEDD0, 0x431743FC, + 0xF866F8CB, 0xFB94FBB1, 0x37A137D3, 0xFA1DFA40, 0xC23DC268, 0xB4F0B4CC, 0x32DE325D, 0x9CB39C71, + 0x560B56E7, 0xE372E3DA, 0x87A78760, 0x151C151B, 0xF9EFF93A, 0x63D163BF, 0x345334A9, 0x9A3E9A85, + 0xB18FB142, 0x7C337CD1, 0x8826889B, 0x3D5F3DA6, 0xA1ECA1D7, 0xE476E4DF, 0x812A8194, 0x91499101, + 0x0F810FFB, 0xEE88EEAA, 0x16EE1661, 0xD721D773, 0x97C497F5, 0xA51AA5A8, 0xFEEBFE3F, 0x6DD96DB5, + 0x78C578AE, 0xC539C56D, 0x1D991DE5, 0x76CD76A4, 0x3EAD3EDC, 0xCB31CB67, 0xB68BB647, 0xEF01EF5B, + 0x1218121E, 0x602360C5, 0x6ADD6AB0, 0x4D1F4DF6, 0xCE4ECEE9, 0xDE2DDE7C, 0x55F9559D, 0x7E487E5A, + 0x214F21B2, 0x03F2037A, 0xA065A026, 0x5E8E5E19, 0x5A785A66, 0x655C654B, 0x6258624E, 0xFD19FD45, + 0x068D06F4, 0x40E54086, 0xF298F2BE, 0x335733AC, 0x17671790, 0x057F058E, 0xE805E85E, 0x4F644F7D, + 0x89AF896A, 0x10631095, 0x74B6742F, 0x0AFE0A75, 0x5CF55C92, 0x9BB79B74, 0x2D3C2D33, 0x30A530D6, + 0x2ECE2E49, 0x49E94989, 0x46684672, 0x77447755, 0xA8E0A8D8, 0x964D9604, 0x284328BD, 0xA969A929, + 0xD929D979, 0x862E8691, 0xD1ACD187, 0xF415F44A, 0x8D598D15, 0xD6A8D682, 0xB90AB9BC, 0x429E420D, + 0xF66EF6C1, 0x2F472FB8, 0xDDDFDD06, 0x23342339, 0xCC35CC62, 0xF16AF1C4, 0xC1CFC112, 0x85DC85EB, + 0x8F228F9E, 0x71C971A1, 0x90C090F0, 0xAA9BAA53, 0x018901F1, 0x8BD48BE1, 0x4EED4E8C, 0x8EAB8E6F, + 0xAB12ABA2, 0x6FA26F3E, 0xE60DE654, 0xDB52DBF2, 0x92BB927B, 0xB702B7B6, 0x692F69CA, 0x39A939D9, + 0xD3D7D30C, 0xA761A723, 0xA21EA2AD, 0xC3B4C399, 0x6C506C44, 0x07040705, 0x04F6047F, 0x27C22746, + 0xAC16ACA7, 0xD025D076, 0x50865013, 0xDC56DCF7, 0x8455841A, 0xE109E151, 0x7ABE7A25, 0x139113EF + ); + + /** + * M-Table + * + * @var array + * @access private + */ + var $m3 = array( + 0xD939A9D9, 0x90176790, 0x719CB371, 0xD2A6E8D2, 0x05070405, 0x9852FD98, 0x6580A365, 0xDFE476DF, + 0x08459A08, 0x024B9202, 0xA0E080A0, 0x665A7866, 0xDDAFE4DD, 0xB06ADDB0, 0xBF63D1BF, 0x362A3836, + 0x54E60D54, 0x4320C643, 0x62CC3562, 0xBEF298BE, 0x1E12181E, 0x24EBF724, 0xD7A1ECD7, 0x77416C77, + 0xBD2843BD, 0x32BC7532, 0xD47B37D4, 0x9B88269B, 0x700DFA70, 0xF94413F9, 0xB1FB94B1, 0x5A7E485A, + 0x7A03F27A, 0xE48CD0E4, 0x47B68B47, 0x3C24303C, 0xA5E784A5, 0x416B5441, 0x06DDDF06, 0xC56023C5, + 0x45FD1945, 0xA33A5BA3, 0x68C23D68, 0x158D5915, 0x21ECF321, 0x3166AE31, 0x3E6FA23E, 0x16578216, + 0x95106395, 0x5BEF015B, 0x4DB8834D, 0x91862E91, 0xB56DD9B5, 0x1F83511F, 0x53AA9B53, 0x635D7C63, + 0x3B68A63B, 0x3FFEEB3F, 0xD630A5D6, 0x257ABE25, 0xA7AC16A7, 0x0F090C0F, 0x35F0E335, 0x23A76123, + 0xF090C0F0, 0xAFE98CAF, 0x809D3A80, 0x925CF592, 0x810C7381, 0x27312C27, 0x76D02576, 0xE7560BE7, + 0x7B92BB7B, 0xE9CE4EE9, 0xF10189F1, 0x9F1E6B9F, 0xA93453A9, 0xC4F16AC4, 0x99C3B499, 0x975BF197, + 0x8347E183, 0x6B18E66B, 0xC822BDC8, 0x0E98450E, 0x6E1FE26E, 0xC9B3F4C9, 0x2F74B62F, 0xCBF866CB, + 0xFF99CCFF, 0xEA1495EA, 0xED5803ED, 0xF7DC56F7, 0xE18BD4E1, 0x1B151C1B, 0xADA21EAD, 0x0CD3D70C, + 0x2BE2FB2B, 0x1DC8C31D, 0x195E8E19, 0xC22CB5C2, 0x8949E989, 0x12C1CF12, 0x7E95BF7E, 0x207DBA20, + 0x6411EA64, 0x840B7784, 0x6DC5396D, 0x6A89AF6A, 0xD17C33D1, 0xA171C9A1, 0xCEFF62CE, 0x37BB7137, + 0xFB0F81FB, 0x3DB5793D, 0x51E10951, 0xDC3EADDC, 0x2D3F242D, 0xA476CDA4, 0x9D55F99D, 0xEE82D8EE, + 0x8640E586, 0xAE78C5AE, 0xCD25B9CD, 0x04964D04, 0x55774455, 0x0A0E080A, 0x13508613, 0x30F7E730, + 0xD337A1D3, 0x40FA1D40, 0x3461AA34, 0x8C4EED8C, 0xB3B006B3, 0x6C54706C, 0x2A73B22A, 0x523BD252, + 0x0B9F410B, 0x8B027B8B, 0x88D8A088, 0x4FF3114F, 0x67CB3167, 0x4627C246, 0xC06727C0, 0xB4FC90B4, + 0x28382028, 0x7F04F67F, 0x78486078, 0x2EE5FF2E, 0x074C9607, 0x4B655C4B, 0xC72BB1C7, 0x6F8EAB6F, + 0x0D429E0D, 0xBBF59CBB, 0xF2DB52F2, 0xF34A1BF3, 0xA63D5FA6, 0x59A49359, 0xBCB90ABC, 0x3AF9EF3A, + 0xEF1391EF, 0xFE0885FE, 0x01914901, 0x6116EE61, 0x7CDE2D7C, 0xB2214FB2, 0x42B18F42, 0xDB723BDB, + 0xB82F47B8, 0x48BF8748, 0x2CAE6D2C, 0xE3C046E3, 0x573CD657, 0x859A3E85, 0x29A96929, 0x7D4F647D, + 0x94812A94, 0x492ECE49, 0x17C6CB17, 0xCA692FCA, 0xC3BDFCC3, 0x5CA3975C, 0x5EE8055E, 0xD0ED7AD0, + 0x87D1AC87, 0x8E057F8E, 0xBA64D5BA, 0xA8A51AA8, 0xB7264BB7, 0xB9BE0EB9, 0x6087A760, 0xF8D55AF8, + 0x22362822, 0x111B1411, 0xDE753FDE, 0x79D92979, 0xAAEE88AA, 0x332D3C33, 0x5F794C5F, 0xB6B702B6, + 0x96CAB896, 0x5835DA58, 0x9CC4B09C, 0xFC4317FC, 0x1A84551A, 0xF64D1FF6, 0x1C598A1C, 0x38B27D38, + 0xAC3357AC, 0x18CFC718, 0xF4068DF4, 0x69537469, 0x749BB774, 0xF597C4F5, 0x56AD9F56, 0xDAE372DA, + 0xD5EA7ED5, 0x4AF4154A, 0x9E8F229E, 0xA2AB12A2, 0x4E62584E, 0xE85F07E8, 0xE51D99E5, 0x39233439, + 0xC1F66EC1, 0x446C5044, 0x5D32DE5D, 0x72466872, 0x26A06526, 0x93CDBC93, 0x03DADB03, 0xC6BAF8C6, + 0xFA9EC8FA, 0x82D6A882, 0xCF6E2BCF, 0x50704050, 0xEB85DCEB, 0x750AFE75, 0x8A93328A, 0x8DDFA48D, + 0x4C29CA4C, 0x141C1014, 0x73D72173, 0xCCB4F0CC, 0x09D4D309, 0x108A5D10, 0xE2510FE2, 0x00000000, + 0x9A196F9A, 0xE01A9DE0, 0x8F94368F, 0xE6C742E6, 0xECC94AEC, 0xFDD25EFD, 0xAB7FC1AB, 0xD8A8E0D8 + ); + + /** + * The Key Schedule Array + * + * @var array + * @access private + */ + var $K = array(); + + /** + * The Key depended S-Table 0 + * + * @var array + * @access private + */ + var $S0 = array(); + + /** + * The Key depended S-Table 1 + * + * @var array + * @access private + */ + var $S1 = array(); + + /** + * The Key depended S-Table 2 + * + * @var array + * @access private + */ + var $S2 = array(); + + /** + * The Key depended S-Table 3 + * + * @var array + * @access private + */ + var $S3 = array(); + + /** + * Holds the last used key + * + * @var array + * @access private + */ + var $kl; + + /** + * The Key Length (in bytes) + * + * @see Crypt_Twofish::setKeyLength() + * @var int + * @access private + */ + var $key_length = 16; + + /** + * Sets the key length. + * + * Valid key lengths are 128, 192 or 256 bits + * + * @access public + * @param int $length + */ + function setKeyLength($length) + { + switch (true) { + case $length <= 128: + $this->key_length = 16; + break; + case $length <= 192: + $this->key_length = 24; + break; + default: + $this->key_length = 32; + } + + parent::setKeyLength($length); + } + + /** + * Setup the key (expansion) + * + * @see \phpseclib\Crypt\Base::_setupKey() + * @access private + */ + function _setupKey() + { + if (isset($this->kl['key']) && $this->key === $this->kl['key']) { + // already expanded + return; + } + $this->kl = array('key' => $this->key); + + /* Key expanding and generating the key-depended s-boxes */ + $le_longs = unpack('V*', $this->key); + $key = unpack('C*', $this->key); + $m0 = $this->m0; + $m1 = $this->m1; + $m2 = $this->m2; + $m3 = $this->m3; + $q0 = $this->q0; + $q1 = $this->q1; + + $K = $S0 = $S1 = $S2 = $S3 = array(); + + switch (strlen($this->key)) { + case 16: + list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[1], $le_longs[2]); + list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[3], $le_longs[4]); + for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) { + $A = $m0[$q0[$q0[$i] ^ $key[ 9]] ^ $key[1]] ^ + $m1[$q0[$q1[$i] ^ $key[10]] ^ $key[2]] ^ + $m2[$q1[$q0[$i] ^ $key[11]] ^ $key[3]] ^ + $m3[$q1[$q1[$i] ^ $key[12]] ^ $key[4]]; + $B = $m0[$q0[$q0[$j] ^ $key[13]] ^ $key[5]] ^ + $m1[$q0[$q1[$j] ^ $key[14]] ^ $key[6]] ^ + $m2[$q1[$q0[$j] ^ $key[15]] ^ $key[7]] ^ + $m3[$q1[$q1[$j] ^ $key[16]] ^ $key[8]]; + $B = ($B << 8) | ($B >> 24 & 0xff); + $K[] = $A+= $B; + $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff); + } + for ($i = 0; $i < 256; ++$i) { + $S0[$i] = $m0[$q0[$q0[$i] ^ $s4] ^ $s0]; + $S1[$i] = $m1[$q0[$q1[$i] ^ $s5] ^ $s1]; + $S2[$i] = $m2[$q1[$q0[$i] ^ $s6] ^ $s2]; + $S3[$i] = $m3[$q1[$q1[$i] ^ $s7] ^ $s3]; + } + break; + case 24: + list($sb, $sa, $s9, $s8) = $this->_mdsrem($le_longs[1], $le_longs[2]); + list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[3], $le_longs[4]); + list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[5], $le_longs[6]); + for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) { + $A = $m0[$q0[$q0[$q1[$i] ^ $key[17]] ^ $key[ 9]] ^ $key[1]] ^ + $m1[$q0[$q1[$q1[$i] ^ $key[18]] ^ $key[10]] ^ $key[2]] ^ + $m2[$q1[$q0[$q0[$i] ^ $key[19]] ^ $key[11]] ^ $key[3]] ^ + $m3[$q1[$q1[$q0[$i] ^ $key[20]] ^ $key[12]] ^ $key[4]]; + $B = $m0[$q0[$q0[$q1[$j] ^ $key[21]] ^ $key[13]] ^ $key[5]] ^ + $m1[$q0[$q1[$q1[$j] ^ $key[22]] ^ $key[14]] ^ $key[6]] ^ + $m2[$q1[$q0[$q0[$j] ^ $key[23]] ^ $key[15]] ^ $key[7]] ^ + $m3[$q1[$q1[$q0[$j] ^ $key[24]] ^ $key[16]] ^ $key[8]]; + $B = ($B << 8) | ($B >> 24 & 0xff); + $K[] = $A+= $B; + $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff); + } + for ($i = 0; $i < 256; ++$i) { + $S0[$i] = $m0[$q0[$q0[$q1[$i] ^ $s8] ^ $s4] ^ $s0]; + $S1[$i] = $m1[$q0[$q1[$q1[$i] ^ $s9] ^ $s5] ^ $s1]; + $S2[$i] = $m2[$q1[$q0[$q0[$i] ^ $sa] ^ $s6] ^ $s2]; + $S3[$i] = $m3[$q1[$q1[$q0[$i] ^ $sb] ^ $s7] ^ $s3]; + } + break; + default: // 32 + list($sf, $se, $sd, $sc) = $this->_mdsrem($le_longs[1], $le_longs[2]); + list($sb, $sa, $s9, $s8) = $this->_mdsrem($le_longs[3], $le_longs[4]); + list($s7, $s6, $s5, $s4) = $this->_mdsrem($le_longs[5], $le_longs[6]); + list($s3, $s2, $s1, $s0) = $this->_mdsrem($le_longs[7], $le_longs[8]); + for ($i = 0, $j = 1; $i < 40; $i+= 2, $j+= 2) { + $A = $m0[$q0[$q0[$q1[$q1[$i] ^ $key[25]] ^ $key[17]] ^ $key[ 9]] ^ $key[1]] ^ + $m1[$q0[$q1[$q1[$q0[$i] ^ $key[26]] ^ $key[18]] ^ $key[10]] ^ $key[2]] ^ + $m2[$q1[$q0[$q0[$q0[$i] ^ $key[27]] ^ $key[19]] ^ $key[11]] ^ $key[3]] ^ + $m3[$q1[$q1[$q0[$q1[$i] ^ $key[28]] ^ $key[20]] ^ $key[12]] ^ $key[4]]; + $B = $m0[$q0[$q0[$q1[$q1[$j] ^ $key[29]] ^ $key[21]] ^ $key[13]] ^ $key[5]] ^ + $m1[$q0[$q1[$q1[$q0[$j] ^ $key[30]] ^ $key[22]] ^ $key[14]] ^ $key[6]] ^ + $m2[$q1[$q0[$q0[$q0[$j] ^ $key[31]] ^ $key[23]] ^ $key[15]] ^ $key[7]] ^ + $m3[$q1[$q1[$q0[$q1[$j] ^ $key[32]] ^ $key[24]] ^ $key[16]] ^ $key[8]]; + $B = ($B << 8) | ($B >> 24 & 0xff); + $K[] = $A+= $B; + $K[] = (($A+= $B) << 9 | $A >> 23 & 0x1ff); + } + for ($i = 0; $i < 256; ++$i) { + $S0[$i] = $m0[$q0[$q0[$q1[$q1[$i] ^ $sc] ^ $s8] ^ $s4] ^ $s0]; + $S1[$i] = $m1[$q0[$q1[$q1[$q0[$i] ^ $sd] ^ $s9] ^ $s5] ^ $s1]; + $S2[$i] = $m2[$q1[$q0[$q0[$q0[$i] ^ $se] ^ $sa] ^ $s6] ^ $s2]; + $S3[$i] = $m3[$q1[$q1[$q0[$q1[$i] ^ $sf] ^ $sb] ^ $s7] ^ $s3]; + } + } + + $this->K = $K; + $this->S0 = $S0; + $this->S1 = $S1; + $this->S2 = $S2; + $this->S3 = $S3; + } + + /** + * _mdsrem function using by the twofish cipher algorithm + * + * @access private + * @param string $A + * @param string $B + * @return array + */ + function _mdsrem($A, $B) + { + // No gain by unrolling this loop. + for ($i = 0; $i < 8; ++$i) { + // Get most significant coefficient. + $t = 0xff & ($B >> 24); + + // Shift the others up. + $B = ($B << 8) | (0xff & ($A >> 24)); + $A<<= 8; + + $u = $t << 1; + + // Subtract the modular polynomial on overflow. + if ($t & 0x80) { + $u^= 0x14d; + } + + // Remove t * (a * x^2 + 1). + $B ^= $t ^ ($u << 16); + + // Form u = a*t + t/a = t*(a + 1/a). + $u^= 0x7fffffff & ($t >> 1); + + // Add the modular polynomial on underflow. + if ($t & 0x01) { + $u^= 0xa6 ; + } + + // Remove t * (a + 1/a) * (x^3 + x). + $B^= ($u << 24) | ($u << 8); + } + + return array( + 0xff & $B >> 24, + 0xff & $B >> 16, + 0xff & $B >> 8, + 0xff & $B); + } + + /** + * Encrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _encryptBlock($in) + { + $S0 = $this->S0; + $S1 = $this->S1; + $S2 = $this->S2; + $S3 = $this->S3; + $K = $this->K; + + $in = unpack("V4", $in); + $R0 = $K[0] ^ $in[1]; + $R1 = $K[1] ^ $in[2]; + $R2 = $K[2] ^ $in[3]; + $R3 = $K[3] ^ $in[4]; + + $ki = 7; + while ($ki < 39) { + $t0 = $S0[ $R0 & 0xff] ^ + $S1[($R0 >> 8) & 0xff] ^ + $S2[($R0 >> 16) & 0xff] ^ + $S3[($R0 >> 24) & 0xff]; + $t1 = $S0[($R1 >> 24) & 0xff] ^ + $S1[ $R1 & 0xff] ^ + $S2[($R1 >> 8) & 0xff] ^ + $S3[($R1 >> 16) & 0xff]; + $R2^= $t0 + $t1 + $K[++$ki]; + $R2 = ($R2 >> 1 & 0x7fffffff) | ($R2 << 31); + $R3 = ((($R3 >> 31) & 1) | ($R3 << 1)) ^ ($t0 + ($t1 << 1) + $K[++$ki]); + + $t0 = $S0[ $R2 & 0xff] ^ + $S1[($R2 >> 8) & 0xff] ^ + $S2[($R2 >> 16) & 0xff] ^ + $S3[($R2 >> 24) & 0xff]; + $t1 = $S0[($R3 >> 24) & 0xff] ^ + $S1[ $R3 & 0xff] ^ + $S2[($R3 >> 8) & 0xff] ^ + $S3[($R3 >> 16) & 0xff]; + $R0^= ($t0 + $t1 + $K[++$ki]); + $R0 = ($R0 >> 1 & 0x7fffffff) | ($R0 << 31); + $R1 = ((($R1 >> 31) & 1) | ($R1 << 1)) ^ ($t0 + ($t1 << 1) + $K[++$ki]); + } + + // @codingStandardsIgnoreStart + return pack("V4", $K[4] ^ $R2, + $K[5] ^ $R3, + $K[6] ^ $R0, + $K[7] ^ $R1); + // @codingStandardsIgnoreEnd + } + + /** + * Decrypts a block + * + * @access private + * @param string $in + * @return string + */ + function _decryptBlock($in) + { + $S0 = $this->S0; + $S1 = $this->S1; + $S2 = $this->S2; + $S3 = $this->S3; + $K = $this->K; + + $in = unpack("V4", $in); + $R0 = $K[4] ^ $in[1]; + $R1 = $K[5] ^ $in[2]; + $R2 = $K[6] ^ $in[3]; + $R3 = $K[7] ^ $in[4]; + + $ki = 40; + while ($ki > 8) { + $t0 = $S0[$R0 & 0xff] ^ + $S1[$R0 >> 8 & 0xff] ^ + $S2[$R0 >> 16 & 0xff] ^ + $S3[$R0 >> 24 & 0xff]; + $t1 = $S0[$R1 >> 24 & 0xff] ^ + $S1[$R1 & 0xff] ^ + $S2[$R1 >> 8 & 0xff] ^ + $S3[$R1 >> 16 & 0xff]; + $R3^= $t0 + ($t1 << 1) + $K[--$ki]; + $R3 = $R3 >> 1 & 0x7fffffff | $R3 << 31; + $R2 = ($R2 >> 31 & 0x1 | $R2 << 1) ^ ($t0 + $t1 + $K[--$ki]); + + $t0 = $S0[$R2 & 0xff] ^ + $S1[$R2 >> 8 & 0xff] ^ + $S2[$R2 >> 16 & 0xff] ^ + $S3[$R2 >> 24 & 0xff]; + $t1 = $S0[$R3 >> 24 & 0xff] ^ + $S1[$R3 & 0xff] ^ + $S2[$R3 >> 8 & 0xff] ^ + $S3[$R3 >> 16 & 0xff]; + $R1^= $t0 + ($t1 << 1) + $K[--$ki]; + $R1 = $R1 >> 1 & 0x7fffffff | $R1 << 31; + $R0 = ($R0 >> 31 & 0x1 | $R0 << 1) ^ ($t0 + $t1 + $K[--$ki]); + } + + // @codingStandardsIgnoreStart + return pack("V4", $K[0] ^ $R2, + $K[1] ^ $R3, + $K[2] ^ $R0, + $K[3] ^ $R1); + // @codingStandardsIgnoreEnd + } + + /** + * Setup the performance-optimized function for de/encrypt() + * + * @see \phpseclib\Crypt\Base::_setupInlineCrypt() + * @access private + */ + function _setupInlineCrypt() + { + $lambda_functions =& self::_getLambdaFunctions(); + + // Max. 10 Ultra-Hi-optimized inline-crypt functions. After that, we'll (still) create very fast code, but not the ultimate fast one. + // (Currently, for Crypt_Twofish, one generated $lambda_function cost on php5.5@32bit ~140kb unfreeable mem and ~240kb on php5.5@64bit) + $gen_hi_opt_code = (bool)(count($lambda_functions) < 10); + + // Generation of a unique hash for our generated code + $code_hash = "Crypt_Twofish, {$this->mode}"; + if ($gen_hi_opt_code) { + $code_hash = str_pad($code_hash, 32) . $this->_hashInlineCryptFunction($this->key); + } + + if (!isset($lambda_functions[$code_hash])) { + switch (true) { + case $gen_hi_opt_code: + $K = $this->K; + $init_crypt = ' + static $S0, $S1, $S2, $S3; + if (!$S0) { + for ($i = 0; $i < 256; ++$i) { + $S0[] = (int)$self->S0[$i]; + $S1[] = (int)$self->S1[$i]; + $S2[] = (int)$self->S2[$i]; + $S3[] = (int)$self->S3[$i]; + } + } + '; + break; + default: + $K = array(); + for ($i = 0; $i < 40; ++$i) { + $K[] = '$K_' . $i; + } + $init_crypt = ' + $S0 = $self->S0; + $S1 = $self->S1; + $S2 = $self->S2; + $S3 = $self->S3; + list(' . implode(',', $K) . ') = $self->K; + '; + } + + // Generating encrypt code: + $encrypt_block = ' + $in = unpack("V4", $in); + $R0 = '.$K[0].' ^ $in[1]; + $R1 = '.$K[1].' ^ $in[2]; + $R2 = '.$K[2].' ^ $in[3]; + $R3 = '.$K[3].' ^ $in[4]; + '; + for ($ki = 7, $i = 0; $i < 8; ++$i) { + $encrypt_block.= ' + $t0 = $S0[ $R0 & 0xff] ^ + $S1[($R0 >> 8) & 0xff] ^ + $S2[($R0 >> 16) & 0xff] ^ + $S3[($R0 >> 24) & 0xff]; + $t1 = $S0[($R1 >> 24) & 0xff] ^ + $S1[ $R1 & 0xff] ^ + $S2[($R1 >> 8) & 0xff] ^ + $S3[($R1 >> 16) & 0xff]; + $R2^= ($t0 + $t1 + '.$K[++$ki].'); + $R2 = ($R2 >> 1 & 0x7fffffff) | ($R2 << 31); + $R3 = ((($R3 >> 31) & 1) | ($R3 << 1)) ^ ($t0 + ($t1 << 1) + '.$K[++$ki].'); + + $t0 = $S0[ $R2 & 0xff] ^ + $S1[($R2 >> 8) & 0xff] ^ + $S2[($R2 >> 16) & 0xff] ^ + $S3[($R2 >> 24) & 0xff]; + $t1 = $S0[($R3 >> 24) & 0xff] ^ + $S1[ $R3 & 0xff] ^ + $S2[($R3 >> 8) & 0xff] ^ + $S3[($R3 >> 16) & 0xff]; + $R0^= ($t0 + $t1 + '.$K[++$ki].'); + $R0 = ($R0 >> 1 & 0x7fffffff) | ($R0 << 31); + $R1 = ((($R1 >> 31) & 1) | ($R1 << 1)) ^ ($t0 + ($t1 << 1) + '.$K[++$ki].'); + '; + } + $encrypt_block.= ' + $in = pack("V4", '.$K[4].' ^ $R2, + '.$K[5].' ^ $R3, + '.$K[6].' ^ $R0, + '.$K[7].' ^ $R1); + '; + + // Generating decrypt code: + $decrypt_block = ' + $in = unpack("V4", $in); + $R0 = '.$K[4].' ^ $in[1]; + $R1 = '.$K[5].' ^ $in[2]; + $R2 = '.$K[6].' ^ $in[3]; + $R3 = '.$K[7].' ^ $in[4]; + '; + for ($ki = 40, $i = 0; $i < 8; ++$i) { + $decrypt_block.= ' + $t0 = $S0[$R0 & 0xff] ^ + $S1[$R0 >> 8 & 0xff] ^ + $S2[$R0 >> 16 & 0xff] ^ + $S3[$R0 >> 24 & 0xff]; + $t1 = $S0[$R1 >> 24 & 0xff] ^ + $S1[$R1 & 0xff] ^ + $S2[$R1 >> 8 & 0xff] ^ + $S3[$R1 >> 16 & 0xff]; + $R3^= $t0 + ($t1 << 1) + '.$K[--$ki].'; + $R3 = $R3 >> 1 & 0x7fffffff | $R3 << 31; + $R2 = ($R2 >> 31 & 0x1 | $R2 << 1) ^ ($t0 + $t1 + '.$K[--$ki].'); + + $t0 = $S0[$R2 & 0xff] ^ + $S1[$R2 >> 8 & 0xff] ^ + $S2[$R2 >> 16 & 0xff] ^ + $S3[$R2 >> 24 & 0xff]; + $t1 = $S0[$R3 >> 24 & 0xff] ^ + $S1[$R3 & 0xff] ^ + $S2[$R3 >> 8 & 0xff] ^ + $S3[$R3 >> 16 & 0xff]; + $R1^= $t0 + ($t1 << 1) + '.$K[--$ki].'; + $R1 = $R1 >> 1 & 0x7fffffff | $R1 << 31; + $R0 = ($R0 >> 31 & 0x1 | $R0 << 1) ^ ($t0 + $t1 + '.$K[--$ki].'); + '; + } + $decrypt_block.= ' + $in = pack("V4", '.$K[0].' ^ $R2, + '.$K[1].' ^ $R3, + '.$K[2].' ^ $R0, + '.$K[3].' ^ $R1); + '; + + $lambda_functions[$code_hash] = $this->_createInlineCryptFunction( + array( + 'init_crypt' => $init_crypt, + 'init_encrypt' => '', + 'init_decrypt' => '', + 'encrypt_block' => $encrypt_block, + 'decrypt_block' => $decrypt_block + ) + ); + } + $this->inline_crypt = $lambda_functions[$code_hash]; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php new file mode 100644 index 00000000..1f3eecb3 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ANSI.php @@ -0,0 +1,574 @@ + + * @copyright 2012 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\File; + +/** + * Pure-PHP ANSI Decoder + * + * @package ANSI + * @author Jim Wigginton + * @access public + */ +class ANSI +{ + /** + * Max Width + * + * @var int + * @access private + */ + var $max_x; + + /** + * Max Height + * + * @var int + * @access private + */ + var $max_y; + + /** + * Max History + * + * @var int + * @access private + */ + var $max_history; + + /** + * History + * + * @var array + * @access private + */ + var $history; + + /** + * History Attributes + * + * @var array + * @access private + */ + var $history_attrs; + + /** + * Current Column + * + * @var int + * @access private + */ + var $x; + + /** + * Current Row + * + * @var int + * @access private + */ + var $y; + + /** + * Old Column + * + * @var int + * @access private + */ + var $old_x; + + /** + * Old Row + * + * @var int + * @access private + */ + var $old_y; + + /** + * An empty attribute cell + * + * @var object + * @access private + */ + var $base_attr_cell; + + /** + * The current attribute cell + * + * @var object + * @access private + */ + var $attr_cell; + + /** + * An empty attribute row + * + * @var array + * @access private + */ + var $attr_row; + + /** + * The current screen text + * + * @var array + * @access private + */ + var $screen; + + /** + * The current screen attributes + * + * @var array + * @access private + */ + var $attrs; + + /** + * Current ANSI code + * + * @var string + * @access private + */ + var $ansi; + + /** + * Tokenization + * + * @var array + * @access private + */ + var $tokenization; + + /** + * Default Constructor. + * + * @return \phpseclib\File\ANSI + * @access public + */ + function __construct() + { + $attr_cell = new \stdClass(); + $attr_cell->bold = false; + $attr_cell->underline = false; + $attr_cell->blink = false; + $attr_cell->background = 'black'; + $attr_cell->foreground = 'white'; + $attr_cell->reverse = false; + $this->base_attr_cell = clone $attr_cell; + $this->attr_cell = clone $attr_cell; + + $this->setHistory(200); + $this->setDimensions(80, 24); + } + + /** + * Set terminal width and height + * + * Resets the screen as well + * + * @param int $x + * @param int $y + * @access public + */ + function setDimensions($x, $y) + { + $this->max_x = $x - 1; + $this->max_y = $y - 1; + $this->x = $this->y = 0; + $this->history = $this->history_attrs = array(); + $this->attr_row = array_fill(0, $this->max_x + 2, $this->base_attr_cell); + $this->screen = array_fill(0, $this->max_y + 1, ''); + $this->attrs = array_fill(0, $this->max_y + 1, $this->attr_row); + $this->ansi = ''; + } + + /** + * Set the number of lines that should be logged past the terminal height + * + * @param int $x + * @param int $y + * @access public + */ + function setHistory($history) + { + $this->max_history = $history; + } + + /** + * Load a string + * + * @param string $source + * @access public + */ + function loadString($source) + { + $this->setDimensions($this->max_x + 1, $this->max_y + 1); + $this->appendString($source); + } + + /** + * Appdend a string + * + * @param string $source + * @access public + */ + function appendString($source) + { + $this->tokenization = array(''); + for ($i = 0; $i < strlen($source); $i++) { + if (strlen($this->ansi)) { + $this->ansi.= $source[$i]; + $chr = ord($source[$i]); + // http://en.wikipedia.org/wiki/ANSI_escape_code#Sequence_elements + // single character CSI's not currently supported + switch (true) { + case $this->ansi == "\x1B=": + $this->ansi = ''; + continue 2; + case strlen($this->ansi) == 2 && $chr >= 64 && $chr <= 95 && $chr != ord('['): + case strlen($this->ansi) > 2 && $chr >= 64 && $chr <= 126: + break; + default: + continue 2; + } + $this->tokenization[] = $this->ansi; + $this->tokenization[] = ''; + // http://ascii-table.com/ansi-escape-sequences-vt-100.php + switch ($this->ansi) { + case "\x1B[H": // Move cursor to upper left corner + $this->old_x = $this->x; + $this->old_y = $this->y; + $this->x = $this->y = 0; + break; + case "\x1B[J": // Clear screen from cursor down + $this->history = array_merge($this->history, array_slice(array_splice($this->screen, $this->y + 1), 0, $this->old_y)); + $this->screen = array_merge($this->screen, array_fill($this->y, $this->max_y, '')); + + $this->history_attrs = array_merge($this->history_attrs, array_slice(array_splice($this->attrs, $this->y + 1), 0, $this->old_y)); + $this->attrs = array_merge($this->attrs, array_fill($this->y, $this->max_y, $this->attr_row)); + + if (count($this->history) == $this->max_history) { + array_shift($this->history); + array_shift($this->history_attrs); + } + case "\x1B[K": // Clear screen from cursor right + $this->screen[$this->y] = substr($this->screen[$this->y], 0, $this->x); + + array_splice($this->attrs[$this->y], $this->x + 1, $this->max_x - $this->x, array_fill($this->x, $this->max_x - $this->x - 1, $this->base_attr_cell)); + break; + case "\x1B[2K": // Clear entire line + $this->screen[$this->y] = str_repeat(' ', $this->x); + $this->attrs[$this->y] = $this->attr_row; + break; + case "\x1B[?1h": // set cursor key to application + case "\x1B[?25h": // show the cursor + case "\x1B(B": // set united states g0 character set + break; + case "\x1BE": // Move to next line + $this->_newLine(); + $this->x = 0; + break; + default: + switch (true) { + case preg_match('#\x1B\[(\d+)B#', $this->ansi, $match): // Move cursor down n lines + $this->old_y = $this->y; + $this->y+= $match[1]; + break; + case preg_match('#\x1B\[(\d+);(\d+)H#', $this->ansi, $match): // Move cursor to screen location v,h + $this->old_x = $this->x; + $this->old_y = $this->y; + $this->x = $match[2] - 1; + $this->y = $match[1] - 1; + break; + case preg_match('#\x1B\[(\d+)C#', $this->ansi, $match): // Move cursor right n lines + $this->old_x = $this->x; + $this->x+= $match[1]; + break; + case preg_match('#\x1B\[(\d+)D#', $this->ansi, $match): // Move cursor left n lines + $this->old_x = $this->x; + $this->x-= $match[1]; + break; + case preg_match('#\x1B\[(\d+);(\d+)r#', $this->ansi, $match): // Set top and bottom lines of a window + break; + case preg_match('#\x1B\[(\d*(?:;\d*)*)m#', $this->ansi, $match): // character attributes + $attr_cell = &$this->attr_cell; + $mods = explode(';', $match[1]); + foreach ($mods as $mod) { + switch ($mod) { + case 0: // Turn off character attributes + $attr_cell = clone $this->base_attr_cell; + break; + case 1: // Turn bold mode on + $attr_cell->bold = true; + break; + case 4: // Turn underline mode on + $attr_cell->underline = true; + break; + case 5: // Turn blinking mode on + $attr_cell->blink = true; + break; + case 7: // Turn reverse video on + $attr_cell->reverse = !$attr_cell->reverse; + $temp = $attr_cell->background; + $attr_cell->background = $attr_cell->foreground; + $attr_cell->foreground = $temp; + break; + default: // set colors + //$front = $attr_cell->reverse ? &$attr_cell->background : &$attr_cell->foreground; + $front = &$attr_cell->{ $attr_cell->reverse ? 'background' : 'foreground' }; + //$back = $attr_cell->reverse ? &$attr_cell->foreground : &$attr_cell->background; + $back = &$attr_cell->{ $attr_cell->reverse ? 'foreground' : 'background' }; + switch ($mod) { + // @codingStandardsIgnoreStart + case 30: $front = 'black'; break; + case 31: $front = 'red'; break; + case 32: $front = 'green'; break; + case 33: $front = 'yellow'; break; + case 34: $front = 'blue'; break; + case 35: $front = 'magenta'; break; + case 36: $front = 'cyan'; break; + case 37: $front = 'white'; break; + + case 40: $back = 'black'; break; + case 41: $back = 'red'; break; + case 42: $back = 'green'; break; + case 43: $back = 'yellow'; break; + case 44: $back = 'blue'; break; + case 45: $back = 'magenta'; break; + case 46: $back = 'cyan'; break; + case 47: $back = 'white'; break; + // @codingStandardsIgnoreEnd + + default: + //user_error('Unsupported attribute: ' . $mod); + $this->ansi = ''; + break 2; + } + } + } + break; + default: + //user_error("{$this->ansi} is unsupported\r\n"); + } + } + $this->ansi = ''; + continue; + } + + $this->tokenization[count($this->tokenization) - 1].= $source[$i]; + switch ($source[$i]) { + case "\r": + $this->x = 0; + break; + case "\n": + $this->_newLine(); + break; + case "\x08": // backspace + if ($this->x) { + $this->x--; + $this->attrs[$this->y][$this->x] = clone $this->base_attr_cell; + $this->screen[$this->y] = substr_replace( + $this->screen[$this->y], + $source[$i], + $this->x, + 1 + ); + } + break; + case "\x0F": // shift + break; + case "\x1B": // start ANSI escape code + $this->tokenization[count($this->tokenization) - 1] = substr($this->tokenization[count($this->tokenization) - 1], 0, -1); + //if (!strlen($this->tokenization[count($this->tokenization) - 1])) { + // array_pop($this->tokenization); + //} + $this->ansi.= "\x1B"; + break; + default: + $this->attrs[$this->y][$this->x] = clone $this->attr_cell; + if ($this->x > strlen($this->screen[$this->y])) { + $this->screen[$this->y] = str_repeat(' ', $this->x); + } + $this->screen[$this->y] = substr_replace( + $this->screen[$this->y], + $source[$i], + $this->x, + 1 + ); + + if ($this->x > $this->max_x) { + $this->x = 0; + $this->y++; + } else { + $this->x++; + } + } + } + } + + /** + * Add a new line + * + * Also update the $this->screen and $this->history buffers + * + * @access private + */ + function _newLine() + { + //if ($this->y < $this->max_y) { + // $this->y++; + //} + + while ($this->y >= $this->max_y) { + $this->history = array_merge($this->history, array(array_shift($this->screen))); + $this->screen[] = ''; + + $this->history_attrs = array_merge($this->history_attrs, array(array_shift($this->attrs))); + $this->attrs[] = $this->attr_row; + + if (count($this->history) >= $this->max_history) { + array_shift($this->history); + array_shift($this->history_attrs); + } + + $this->y--; + } + $this->y++; + } + + /** + * Returns the current coordinate without preformating + * + * @access private + * @return string + */ + function _processCoordinate($last_attr, $cur_attr, $char) + { + $output = ''; + + if ($last_attr != $cur_attr) { + $close = $open = ''; + if ($last_attr->foreground != $cur_attr->foreground) { + if ($cur_attr->foreground != 'white') { + $open.= ''; + } + if ($last_attr->foreground != 'white') { + $close = '' . $close; + } + } + if ($last_attr->background != $cur_attr->background) { + if ($cur_attr->background != 'black') { + $open.= ''; + } + if ($last_attr->background != 'black') { + $close = '' . $close; + } + } + if ($last_attr->bold != $cur_attr->bold) { + if ($cur_attr->bold) { + $open.= ''; + } else { + $close = '' . $close; + } + } + if ($last_attr->underline != $cur_attr->underline) { + if ($cur_attr->underline) { + $open.= ''; + } else { + $close = '' . $close; + } + } + if ($last_attr->blink != $cur_attr->blink) { + if ($cur_attr->blink) { + $open.= ''; + } else { + $close = '' . $close; + } + } + $output.= $close . $open; + } + + $output.= htmlspecialchars($char); + + return $output; + } + + /** + * Returns the current screen without preformating + * + * @access private + * @return string + */ + function _getScreen() + { + $output = ''; + $last_attr = $this->base_attr_cell; + for ($i = 0; $i <= $this->max_y; $i++) { + for ($j = 0; $j <= $this->max_x; $j++) { + $cur_attr = $this->attrs[$i][$j]; + $output.= $this->_processCoordinate($last_attr, $cur_attr, isset($this->screen[$i][$j]) ? $this->screen[$i][$j] : ''); + $last_attr = $this->attrs[$i][$j]; + } + $output.= "\r\n"; + } + $output = substr($output, 0, -2); + // close any remaining open tags + $output.= $this->_processCoordinate($last_attr, $this->base_attr_cell, ''); + return rtrim($output); + } + + /** + * Returns the current screen + * + * @access public + * @return string + */ + function getScreen() + { + return '
' . $this->_getScreen() . '
'; + } + + /** + * Returns the current screen and the x previous lines + * + * @access public + * @return string + */ + function getHistory() + { + $scrollback = ''; + $last_attr = $this->base_attr_cell; + for ($i = 0; $i < count($this->history); $i++) { + for ($j = 0; $j <= $this->max_x + 1; $j++) { + $cur_attr = $this->history_attrs[$i][$j]; + $scrollback.= $this->_processCoordinate($last_attr, $cur_attr, isset($this->history[$i][$j]) ? $this->history[$i][$j] : ''); + $last_attr = $this->history_attrs[$i][$j]; + } + $scrollback.= "\r\n"; + } + $base_attr_cell = $this->base_attr_cell; + $this->base_attr_cell = $last_attr; + $scrollback.= $this->_getScreen(); + $this->base_attr_cell = $base_attr_cell; + + return '
' . $scrollback . '
'; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php new file mode 100644 index 00000000..504dbe8b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1.php @@ -0,0 +1,1323 @@ + + * @copyright 2012 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\File; + +use phpseclib\File\ASN1\Element; +use phpseclib\Math\BigInteger; + +/** + * Pure-PHP ASN.1 Parser + * + * @package ASN1 + * @author Jim Wigginton + * @access public + */ +class ASN1 +{ + /**#@+ + * Tag Classes + * + * @access private + * @link http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=12 + */ + const CLASS_UNIVERSAL = 0; + const CLASS_APPLICATION = 1; + const CLASS_CONTEXT_SPECIFIC = 2; + const CLASS_PRIVATE = 3; + /**#@-*/ + + /**#@+ + * Tag Classes + * + * @access private + * @link http://www.obj-sys.com/asn1tutorial/node124.html + */ + const TYPE_BOOLEAN = 1; + const TYPE_INTEGER = 2; + const TYPE_BIT_STRING = 3; + const TYPE_OCTET_STRING = 4; + const TYPE_NULL = 5; + const TYPE_OBJECT_IDENTIFIER = 6; + //const TYPE_OBJECT_DESCRIPTOR = 7; + //const TYPE_INSTANCE_OF = 8; // EXTERNAL + const TYPE_REAL = 9; + const TYPE_ENUMERATED = 10; + //const TYPE_EMBEDDED = 11; + const TYPE_UTF8_STRING = 12; + //const TYPE_RELATIVE_OID = 13; + const TYPE_SEQUENCE = 16; // SEQUENCE OF + const TYPE_SET = 17; // SET OF + /**#@-*/ + /**#@+ + * More Tag Classes + * + * @access private + * @link http://www.obj-sys.com/asn1tutorial/node10.html + */ + const TYPE_NUMERIC_STRING = 18; + const TYPE_PRINTABLE_STRING = 19; + const TYPE_TELETEX_STRING = 20; // T61String + const TYPE_VIDEOTEX_STRING = 21; + const TYPE_IA5_STRING = 22; + const TYPE_UTC_TIME = 23; + const TYPE_GENERALIZED_TIME = 24; + const TYPE_GRAPHIC_STRING = 25; + const TYPE_VISIBLE_STRING = 26; // ISO646String + const TYPE_GENERAL_STRING = 27; + const TYPE_UNIVERSAL_STRING = 28; + //const TYPE_CHARACTER_STRING = 29; + const TYPE_BMP_STRING = 30; + /**#@-*/ + + /**#@+ + * Tag Aliases + * + * These tags are kinda place holders for other tags. + * + * @access private + */ + const TYPE_CHOICE = -1; + const TYPE_ANY = -2; + /**#@-*/ + + /** + * ASN.1 object identifier + * + * @var array + * @access private + * @link http://en.wikipedia.org/wiki/Object_identifier + */ + var $oids = array(); + + /** + * Default date format + * + * @var string + * @access private + * @link http://php.net/class.datetime + */ + var $format = 'D, d M Y H:i:s O'; + + /** + * Default date format + * + * @var array + * @access private + * @see self::setTimeFormat() + * @see self::asn1map() + * @link http://php.net/class.datetime + */ + var $encoded; + + /** + * Filters + * + * If the mapping type is self::TYPE_ANY what do we actually encode it as? + * + * @var array + * @access private + * @see self::_encode_der() + */ + var $filters; + + /** + * Type mapping table for the ANY type. + * + * Structured or unknown types are mapped to a \phpseclib\File\ASN1\Element. + * Unambiguous types get the direct mapping (int/real/bool). + * Others are mapped as a choice, with an extra indexing level. + * + * @var array + * @access public + */ + var $ANYmap = array( + self::TYPE_BOOLEAN => true, + self::TYPE_INTEGER => true, + self::TYPE_BIT_STRING => 'bitString', + self::TYPE_OCTET_STRING => 'octetString', + self::TYPE_NULL => 'null', + self::TYPE_OBJECT_IDENTIFIER => 'objectIdentifier', + self::TYPE_REAL => true, + self::TYPE_ENUMERATED => 'enumerated', + self::TYPE_UTF8_STRING => 'utf8String', + self::TYPE_NUMERIC_STRING => 'numericString', + self::TYPE_PRINTABLE_STRING => 'printableString', + self::TYPE_TELETEX_STRING => 'teletexString', + self::TYPE_VIDEOTEX_STRING => 'videotexString', + self::TYPE_IA5_STRING => 'ia5String', + self::TYPE_UTC_TIME => 'utcTime', + self::TYPE_GENERALIZED_TIME => 'generalTime', + self::TYPE_GRAPHIC_STRING => 'graphicString', + self::TYPE_VISIBLE_STRING => 'visibleString', + self::TYPE_GENERAL_STRING => 'generalString', + self::TYPE_UNIVERSAL_STRING => 'universalString', + //self::TYPE_CHARACTER_STRING => 'characterString', + self::TYPE_BMP_STRING => 'bmpString' + ); + + /** + * String type to character size mapping table. + * + * Non-convertable types are absent from this table. + * size == 0 indicates variable length encoding. + * + * @var array + * @access public + */ + var $stringTypeSize = array( + self::TYPE_UTF8_STRING => 0, + self::TYPE_BMP_STRING => 2, + self::TYPE_UNIVERSAL_STRING => 4, + self::TYPE_PRINTABLE_STRING => 1, + self::TYPE_TELETEX_STRING => 1, + self::TYPE_IA5_STRING => 1, + self::TYPE_VISIBLE_STRING => 1, + ); + + /** + * Parse BER-encoding + * + * Serves a similar purpose to openssl's asn1parse + * + * @param string $encoded + * @return array + * @access public + */ + function decodeBER($encoded) + { + if ($encoded instanceof Element) { + $encoded = $encoded->element; + } + + $this->encoded = $encoded; + // encapsulate in an array for BC with the old decodeBER + return array($this->_decode_ber($encoded)); + } + + /** + * Parse BER-encoding (Helper function) + * + * Sometimes we want to get the BER encoding of a particular tag. $start lets us do that without having to reencode. + * $encoded is passed by reference for the recursive calls done for self::TYPE_BIT_STRING and + * self::TYPE_OCTET_STRING. In those cases, the indefinite length is used. + * + * @param string $encoded + * @param int $start + * @param int $encoded_pos + * @return array + * @access private + */ + function _decode_ber($encoded, $start = 0, $encoded_pos = 0) + { + $current = array('start' => $start); + + $type = ord($encoded[$encoded_pos++]); + $start++; + + $constructed = ($type >> 5) & 1; + + $tag = $type & 0x1F; + if ($tag == 0x1F) { + $tag = 0; + // process septets (since the eighth bit is ignored, it's not an octet) + do { + $loop = ord($encoded[0]) >> 7; + $tag <<= 7; + $tag |= ord($encoded[$encoded_pos++]) & 0x7F; + $start++; + } while ($loop); + } + + // Length, as discussed in paragraph 8.1.3 of X.690-0207.pdf#page=13 + $length = ord($encoded[$encoded_pos++]); + $start++; + if ($length == 0x80) { // indefinite length + // "[A sender shall] use the indefinite form (see 8.1.3.6) if the encoding is constructed and is not all + // immediately available." -- paragraph 8.1.3.2.c + $length = strlen($encoded) - $encoded_pos; + } elseif ($length & 0x80) { // definite length, long form + // technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only + // support it up to four. + $length&= 0x7F; + $temp = substr($encoded, $encoded_pos, $length); + $encoded_pos += $length; + // tags of indefinte length don't really have a header length; this length includes the tag + $current+= array('headerlength' => $length + 2); + $start+= $length; + extract(unpack('Nlength', substr(str_pad($temp, 4, chr(0), STR_PAD_LEFT), -4))); + } else { + $current+= array('headerlength' => 2); + } + + if ($length > (strlen($encoded) - $encoded_pos)) { + return false; + } + + $content = substr($encoded, $encoded_pos, $length); + $content_pos = 0; + + // at this point $length can be overwritten. it's only accurate for definite length things as is + + /* Class is UNIVERSAL, APPLICATION, PRIVATE, or CONTEXT-SPECIFIC. The UNIVERSAL class is restricted to the ASN.1 + built-in types. It defines an application-independent data type that must be distinguishable from all other + data types. The other three classes are user defined. The APPLICATION class distinguishes data types that + have a wide, scattered use within a particular presentation context. PRIVATE distinguishes data types within + a particular organization or country. CONTEXT-SPECIFIC distinguishes members of a sequence or set, the + alternatives of a CHOICE, or universally tagged set members. Only the class number appears in braces for this + data type; the term CONTEXT-SPECIFIC does not appear. + + -- http://www.obj-sys.com/asn1tutorial/node12.html */ + $class = ($type >> 6) & 3; + switch ($class) { + case self::CLASS_APPLICATION: + case self::CLASS_PRIVATE: + case self::CLASS_CONTEXT_SPECIFIC: + if (!$constructed) { + return array( + 'type' => $class, + 'constant' => $tag, + 'content' => $content, + 'length' => $length + $start - $current['start'] + ); + } + + $newcontent = array(); + $remainingLength = $length; + while ($remainingLength > 0) { + $temp = $this->_decode_ber($content, $start, $content_pos); + $length = $temp['length']; + // end-of-content octets - see paragraph 8.1.5 + if (substr($content, $content_pos + $length, 2) == "\0\0") { + $length+= 2; + $start+= $length; + $newcontent[] = $temp; + break; + } + $start+= $length; + $remainingLength-= $length; + $newcontent[] = $temp; + $content_pos += $length; + } + + return array( + 'type' => $class, + 'constant' => $tag, + // the array encapsulation is for BC with the old format + 'content' => $newcontent, + // the only time when $content['headerlength'] isn't defined is when the length is indefinite. + // the absence of $content['headerlength'] is how we know if something is indefinite or not. + // technically, it could be defined to be 2 and then another indicator could be used but whatever. + 'length' => $start - $current['start'] + ) + $current; + } + + $current+= array('type' => $tag); + + // decode UNIVERSAL tags + switch ($tag) { + case self::TYPE_BOOLEAN: + // "The contents octets shall consist of a single octet." -- paragraph 8.2.1 + //if (strlen($content) != 1) { + // return false; + //} + $current['content'] = (bool) ord($content[$content_pos]); + break; + case self::TYPE_INTEGER: + case self::TYPE_ENUMERATED: + $current['content'] = new BigInteger(substr($content, $content_pos), -256); + break; + case self::TYPE_REAL: // not currently supported + return false; + case self::TYPE_BIT_STRING: + // The initial octet shall encode, as an unsigned binary integer with bit 1 as the least significant bit, + // the number of unused bits in the final subsequent octet. The number shall be in the range zero to + // seven. + if (!$constructed) { + $current['content'] = substr($content, $content_pos); + } else { + $temp = $this->_decode_ber($content, $start, $content_pos); + $length-= (strlen($content) - $content_pos); + $last = count($temp) - 1; + for ($i = 0; $i < $last; $i++) { + // all subtags should be bit strings + //if ($temp[$i]['type'] != self::TYPE_BIT_STRING) { + // return false; + //} + $current['content'].= substr($temp[$i]['content'], 1); + } + // all subtags should be bit strings + //if ($temp[$last]['type'] != self::TYPE_BIT_STRING) { + // return false; + //} + $current['content'] = $temp[$last]['content'][0] . $current['content'] . substr($temp[$i]['content'], 1); + } + break; + case self::TYPE_OCTET_STRING: + if (!$constructed) { + $current['content'] = substr($content, $content_pos); + } else { + $current['content'] = ''; + $length = 0; + while (substr($content, $content_pos, 2) != "\0\0") { + $temp = $this->_decode_ber($content, $length + $start, $content_pos); + $content_pos += $temp['length']; + // all subtags should be octet strings + //if ($temp['type'] != self::TYPE_OCTET_STRING) { + // return false; + //} + $current['content'].= $temp['content']; + $length+= $temp['length']; + } + if (substr($content, $content_pos, 2) == "\0\0") { + $length+= 2; // +2 for the EOC + } + } + break; + case self::TYPE_NULL: + // "The contents octets shall not contain any octets." -- paragraph 8.8.2 + //if (strlen($content)) { + // return false; + //} + break; + case self::TYPE_SEQUENCE: + case self::TYPE_SET: + $offset = 0; + $current['content'] = array(); + $content_len = strlen($content); + while ($content_pos < $content_len) { + // if indefinite length construction was used and we have an end-of-content string next + // see paragraphs 8.1.1.3, 8.1.3.2, 8.1.3.6, 8.1.5, and (for an example) 8.6.4.2 + if (!isset($current['headerlength']) && substr($content, $content_pos, 2) == "\0\0") { + $length = $offset + 2; // +2 for the EOC + break 2; + } + $temp = $this->_decode_ber($content, $start + $offset, $content_pos); + $content_pos += $temp['length']; + $current['content'][] = $temp; + $offset+= $temp['length']; + } + break; + case self::TYPE_OBJECT_IDENTIFIER: + $temp = ord($content[$content_pos++]); + $current['content'] = sprintf('%d.%d', floor($temp / 40), $temp % 40); + $valuen = 0; + // process septets + $content_len = strlen($content); + while ($content_pos < $content_len) { + $temp = ord($content[$content_pos++]); + $valuen <<= 7; + $valuen |= $temp & 0x7F; + if (~$temp & 0x80) { + $current['content'].= ".$valuen"; + $valuen = 0; + } + } + // the eighth bit of the last byte should not be 1 + //if ($temp >> 7) { + // return false; + //} + break; + /* Each character string type shall be encoded as if it had been declared: + [UNIVERSAL x] IMPLICIT OCTET STRING + + -- X.690-0207.pdf#page=23 (paragraph 8.21.3) + + Per that, we're not going to do any validation. If there are any illegal characters in the string, + we don't really care */ + case self::TYPE_NUMERIC_STRING: + // 0,1,2,3,4,5,6,7,8,9, and space + case self::TYPE_PRINTABLE_STRING: + // Upper and lower case letters, digits, space, apostrophe, left/right parenthesis, plus sign, comma, + // hyphen, full stop, solidus, colon, equal sign, question mark + case self::TYPE_TELETEX_STRING: + // The Teletex character set in CCITT's T61, space, and delete + // see http://en.wikipedia.org/wiki/Teletex#Character_sets + case self::TYPE_VIDEOTEX_STRING: + // The Videotex character set in CCITT's T.100 and T.101, space, and delete + case self::TYPE_VISIBLE_STRING: + // Printing character sets of international ASCII, and space + case self::TYPE_IA5_STRING: + // International Alphabet 5 (International ASCII) + case self::TYPE_GRAPHIC_STRING: + // All registered G sets, and space + case self::TYPE_GENERAL_STRING: + // All registered C and G sets, space and delete + case self::TYPE_UTF8_STRING: + // ???? + case self::TYPE_BMP_STRING: + $current['content'] = substr($content, $content_pos); + break; + case self::TYPE_UTC_TIME: + case self::TYPE_GENERALIZED_TIME: + $current['content'] = $this->_decodeTime(substr($content, $content_pos), $tag); + default: + } + + $start+= $length; + + // ie. length is the length of the full TLV encoding - it's not just the length of the value + return $current + array('length' => $start - $current['start']); + } + + /** + * ASN.1 Map + * + * Provides an ASN.1 semantic mapping ($mapping) from a parsed BER-encoding to a human readable format. + * + * "Special" mappings may be applied on a per tag-name basis via $special. + * + * @param array $decoded + * @param array $mapping + * @param array $special + * @return array + * @access public + */ + function asn1map($decoded, $mapping, $special = array()) + { + if (isset($mapping['explicit']) && is_array($decoded['content'])) { + $decoded = $decoded['content'][0]; + } + + switch (true) { + case $mapping['type'] == self::TYPE_ANY: + $intype = $decoded['type']; + if (isset($decoded['constant']) || !isset($this->ANYmap[$intype]) || (ord($this->encoded[$decoded['start']]) & 0x20)) { + return new Element(substr($this->encoded, $decoded['start'], $decoded['length'])); + } + $inmap = $this->ANYmap[$intype]; + if (is_string($inmap)) { + return array($inmap => $this->asn1map($decoded, array('type' => $intype) + $mapping, $special)); + } + break; + case $mapping['type'] == self::TYPE_CHOICE: + foreach ($mapping['children'] as $key => $option) { + switch (true) { + case isset($option['constant']) && $option['constant'] == $decoded['constant']: + case !isset($option['constant']) && $option['type'] == $decoded['type']: + $value = $this->asn1map($decoded, $option, $special); + break; + case !isset($option['constant']) && $option['type'] == self::TYPE_CHOICE: + $v = $this->asn1map($decoded, $option, $special); + if (isset($v)) { + $value = $v; + } + } + if (isset($value)) { + if (isset($special[$key])) { + $value = call_user_func($special[$key], $value); + } + return array($key => $value); + } + } + return null; + case isset($mapping['implicit']): + case isset($mapping['explicit']): + case $decoded['type'] == $mapping['type']: + break; + default: + // if $decoded['type'] and $mapping['type'] are both strings, but different types of strings, + // let it through + switch (true) { + case $decoded['type'] < 18: // self::TYPE_NUMERIC_STRING == 18 + case $decoded['type'] > 30: // self::TYPE_BMP_STRING == 30 + case $mapping['type'] < 18: + case $mapping['type'] > 30: + return null; + } + } + + if (isset($mapping['implicit'])) { + $decoded['type'] = $mapping['type']; + } + + switch ($decoded['type']) { + case self::TYPE_SEQUENCE: + $map = array(); + + // ignore the min and max + if (isset($mapping['min']) && isset($mapping['max'])) { + $child = $mapping['children']; + foreach ($decoded['content'] as $content) { + if (($map[] = $this->asn1map($content, $child, $special)) === null) { + return null; + } + } + + return $map; + } + + $n = count($decoded['content']); + $i = 0; + + foreach ($mapping['children'] as $key => $child) { + $maymatch = $i < $n; // Match only existing input. + if ($maymatch) { + $temp = $decoded['content'][$i]; + + if ($child['type'] != self::TYPE_CHOICE) { + // Get the mapping and input class & constant. + $childClass = $tempClass = self::CLASS_UNIVERSAL; + $constant = null; + if (isset($temp['constant'])) { + $tempClass = isset($temp['class']) ? $temp['class'] : self::CLASS_CONTEXT_SPECIFIC; + } + if (isset($child['class'])) { + $childClass = $child['class']; + $constant = $child['cast']; + } elseif (isset($child['constant'])) { + $childClass = self::CLASS_CONTEXT_SPECIFIC; + $constant = $child['constant']; + } + + if (isset($constant) && isset($temp['constant'])) { + // Can only match if constants and class match. + $maymatch = $constant == $temp['constant'] && $childClass == $tempClass; + } else { + // Can only match if no constant expected and type matches or is generic. + $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false; + } + } + } + + if ($maymatch) { + // Attempt submapping. + $candidate = $this->asn1map($temp, $child, $special); + $maymatch = $candidate !== null; + } + + if ($maymatch) { + // Got the match: use it. + if (isset($special[$key])) { + $candidate = call_user_func($special[$key], $candidate); + } + $map[$key] = $candidate; + $i++; + } elseif (isset($child['default'])) { + $map[$key] = $child['default']; // Use default. + } elseif (!isset($child['optional'])) { + return null; // Syntax error. + } + } + + // Fail mapping if all input items have not been consumed. + return $i < $n ? null: $map; + + // the main diff between sets and sequences is the encapsulation of the foreach in another for loop + case self::TYPE_SET: + $map = array(); + + // ignore the min and max + if (isset($mapping['min']) && isset($mapping['max'])) { + $child = $mapping['children']; + foreach ($decoded['content'] as $content) { + if (($map[] = $this->asn1map($content, $child, $special)) === null) { + return null; + } + } + + return $map; + } + + for ($i = 0; $i < count($decoded['content']); $i++) { + $temp = $decoded['content'][$i]; + $tempClass = self::CLASS_UNIVERSAL; + if (isset($temp['constant'])) { + $tempClass = isset($temp['class']) ? $temp['class'] : self::CLASS_CONTEXT_SPECIFIC; + } + + foreach ($mapping['children'] as $key => $child) { + if (isset($map[$key])) { + continue; + } + $maymatch = true; + if ($child['type'] != self::TYPE_CHOICE) { + $childClass = self::CLASS_UNIVERSAL; + $constant = null; + if (isset($child['class'])) { + $childClass = $child['class']; + $constant = $child['cast']; + } elseif (isset($child['constant'])) { + $childClass = self::CLASS_CONTEXT_SPECIFIC; + $constant = $child['constant']; + } + + if (isset($constant) && isset($temp['constant'])) { + // Can only match if constants and class match. + $maymatch = $constant == $temp['constant'] && $childClass == $tempClass; + } else { + // Can only match if no constant expected and type matches or is generic. + $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false; + } + } + + if ($maymatch) { + // Attempt submapping. + $candidate = $this->asn1map($temp, $child, $special); + $maymatch = $candidate !== null; + } + + if (!$maymatch) { + break; + } + + // Got the match: use it. + if (isset($special[$key])) { + $candidate = call_user_func($special[$key], $candidate); + } + $map[$key] = $candidate; + break; + } + } + + foreach ($mapping['children'] as $key => $child) { + if (!isset($map[$key])) { + if (isset($child['default'])) { + $map[$key] = $child['default']; + } elseif (!isset($child['optional'])) { + return null; + } + } + } + return $map; + case self::TYPE_OBJECT_IDENTIFIER: + return isset($this->oids[$decoded['content']]) ? $this->oids[$decoded['content']] : $decoded['content']; + case self::TYPE_UTC_TIME: + case self::TYPE_GENERALIZED_TIME: + if (isset($mapping['implicit'])) { + $decoded['content'] = $this->_decodeTime($decoded['content'], $decoded['type']); + } + return @date($this->format, $decoded['content']); + case self::TYPE_BIT_STRING: + if (isset($mapping['mapping'])) { + $offset = ord($decoded['content'][0]); + $size = (strlen($decoded['content']) - 1) * 8 - $offset; + /* + From X.680-0207.pdf#page=46 (21.7): + + "When a "NamedBitList" is used in defining a bitstring type ASN.1 encoding rules are free to add (or remove) + arbitrarily any trailing 0 bits to (or from) values that are being encoded or decoded. Application designers should + therefore ensure that different semantics are not associated with such values which differ only in the number of trailing + 0 bits." + */ + $bits = count($mapping['mapping']) == $size ? array() : array_fill(0, count($mapping['mapping']) - $size, false); + for ($i = strlen($decoded['content']) - 1; $i > 0; $i--) { + $current = ord($decoded['content'][$i]); + for ($j = $offset; $j < 8; $j++) { + $bits[] = (bool) ($current & (1 << $j)); + } + $offset = 0; + } + $values = array(); + $map = array_reverse($mapping['mapping']); + foreach ($map as $i => $value) { + if ($bits[$i]) { + $values[] = $value; + } + } + return $values; + } + case self::TYPE_OCTET_STRING: + return base64_encode($decoded['content']); + case self::TYPE_NULL: + return ''; + case self::TYPE_BOOLEAN: + return $decoded['content']; + case self::TYPE_NUMERIC_STRING: + case self::TYPE_PRINTABLE_STRING: + case self::TYPE_TELETEX_STRING: + case self::TYPE_VIDEOTEX_STRING: + case self::TYPE_IA5_STRING: + case self::TYPE_GRAPHIC_STRING: + case self::TYPE_VISIBLE_STRING: + case self::TYPE_GENERAL_STRING: + case self::TYPE_UNIVERSAL_STRING: + case self::TYPE_UTF8_STRING: + case self::TYPE_BMP_STRING: + return $decoded['content']; + case self::TYPE_INTEGER: + case self::TYPE_ENUMERATED: + $temp = $decoded['content']; + if (isset($mapping['implicit'])) { + $temp = new BigInteger($decoded['content'], -256); + } + if (isset($mapping['mapping'])) { + $temp = (int) $temp->toString(); + return isset($mapping['mapping'][$temp]) ? + $mapping['mapping'][$temp] : + false; + } + return $temp; + } + } + + /** + * ASN.1 Encode + * + * DER-encodes an ASN.1 semantic mapping ($mapping). Some libraries would probably call this function + * an ASN.1 compiler. + * + * "Special" mappings can be applied via $special. + * + * @param string $source + * @param string $mapping + * @param int $idx + * @return string + * @access public + */ + function encodeDER($source, $mapping, $special = array()) + { + $this->location = array(); + return $this->_encode_der($source, $mapping, null, $special); + } + + /** + * ASN.1 Encode (Helper function) + * + * @param string $source + * @param string $mapping + * @param int $idx + * @return string + * @access private + */ + function _encode_der($source, $mapping, $idx = null, $special = array()) + { + if ($source instanceof Element) { + return $source->element; + } + + // do not encode (implicitly optional) fields with value set to default + if (isset($mapping['default']) && $source === $mapping['default']) { + return ''; + } + + if (isset($idx)) { + if (isset($special[$idx])) { + $source = call_user_func($special[$idx], $source); + } + $this->location[] = $idx; + } + + $tag = $mapping['type']; + + switch ($tag) { + case self::TYPE_SET: // Children order is not important, thus process in sequence. + case self::TYPE_SEQUENCE: + $tag|= 0x20; // set the constructed bit + + // ignore the min and max + if (isset($mapping['min']) && isset($mapping['max'])) { + $value = array(); + $child = $mapping['children']; + + foreach ($source as $content) { + $temp = $this->_encode_der($content, $child, null, $special); + if ($temp === false) { + return false; + } + $value[]= $temp; + } + /* "The encodings of the component values of a set-of value shall appear in ascending order, the encodings being compared + as octet strings with the shorter components being padded at their trailing end with 0-octets. + NOTE - The padding octets are for comparison purposes only and do not appear in the encodings." + + -- sec 11.6 of http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf */ + if ($mapping['type'] == self::TYPE_SET) { + sort($value); + } + $value = implode($value, ''); + break; + } + + $value = ''; + foreach ($mapping['children'] as $key => $child) { + if (!array_key_exists($key, $source)) { + if (!isset($child['optional'])) { + return false; + } + continue; + } + + $temp = $this->_encode_der($source[$key], $child, $key, $special); + if ($temp === false) { + return false; + } + + // An empty child encoding means it has been optimized out. + // Else we should have at least one tag byte. + if ($temp === '') { + continue; + } + + // if isset($child['constant']) is true then isset($child['optional']) should be true as well + if (isset($child['constant'])) { + /* + From X.680-0207.pdf#page=58 (30.6): + + "The tagging construction specifies explicit tagging if any of the following holds: + ... + c) the "Tag Type" alternative is used and the value of "TagDefault" for the module is IMPLICIT TAGS or + AUTOMATIC TAGS, but the type defined by "Type" is an untagged choice type, an untagged open type, or + an untagged "DummyReference" (see ITU-T Rec. X.683 | ISO/IEC 8824-4, 8.3)." + */ + if (isset($child['explicit']) || $child['type'] == self::TYPE_CHOICE) { + $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']); + $temp = $subtag . $this->_encodeLength(strlen($temp)) . $temp; + } else { + $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']); + $temp = $subtag . substr($temp, 1); + } + } + $value.= $temp; + } + break; + case self::TYPE_CHOICE: + $temp = false; + + foreach ($mapping['children'] as $key => $child) { + if (!isset($source[$key])) { + continue; + } + + $temp = $this->_encode_der($source[$key], $child, $key, $special); + if ($temp === false) { + return false; + } + + // An empty child encoding means it has been optimized out. + // Else we should have at least one tag byte. + if ($temp === '') { + continue; + } + + $tag = ord($temp[0]); + + // if isset($child['constant']) is true then isset($child['optional']) should be true as well + if (isset($child['constant'])) { + if (isset($child['explicit']) || $child['type'] == self::TYPE_CHOICE) { + $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']); + $temp = $subtag . $this->_encodeLength(strlen($temp)) . $temp; + } else { + $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']); + $temp = $subtag . substr($temp, 1); + } + } + } + + if (isset($idx)) { + array_pop($this->location); + } + + if ($temp && isset($mapping['cast'])) { + $temp[0] = chr(($mapping['class'] << 6) | ($tag & 0x20) | $mapping['cast']); + } + + return $temp; + case self::TYPE_INTEGER: + case self::TYPE_ENUMERATED: + if (!isset($mapping['mapping'])) { + if (is_numeric($source)) { + $source = new BigInteger($source); + } + $value = $source->toBytes(true); + } else { + $value = array_search($source, $mapping['mapping']); + if ($value === false) { + return false; + } + $value = new BigInteger($value); + $value = $value->toBytes(true); + } + if (!strlen($value)) { + $value = chr(0); + } + break; + case self::TYPE_UTC_TIME: + case self::TYPE_GENERALIZED_TIME: + $format = $mapping['type'] == self::TYPE_UTC_TIME ? 'y' : 'Y'; + $format.= 'mdHis'; + $value = @gmdate($format, strtotime($source)) . 'Z'; + break; + case self::TYPE_BIT_STRING: + if (isset($mapping['mapping'])) { + $bits = array_fill(0, count($mapping['mapping']), 0); + $size = 0; + for ($i = 0; $i < count($mapping['mapping']); $i++) { + if (in_array($mapping['mapping'][$i], $source)) { + $bits[$i] = 1; + $size = $i; + } + } + + if (isset($mapping['min']) && $mapping['min'] >= 1 && $size < $mapping['min']) { + $size = $mapping['min'] - 1; + } + + $offset = 8 - (($size + 1) & 7); + $offset = $offset !== 8 ? $offset : 0; + + $value = chr($offset); + + for ($i = $size + 1; $i < count($mapping['mapping']); $i++) { + unset($bits[$i]); + } + + $bits = implode('', array_pad($bits, $size + $offset + 1, 0)); + $bytes = explode(' ', rtrim(chunk_split($bits, 8, ' '))); + foreach ($bytes as $byte) { + $value.= chr(bindec($byte)); + } + + break; + } + case self::TYPE_OCTET_STRING: + /* The initial octet shall encode, as an unsigned binary integer with bit 1 as the least significant bit, + the number of unused bits in the final subsequent octet. The number shall be in the range zero to seven. + + -- http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=16 */ + $value = base64_decode($source); + break; + case self::TYPE_OBJECT_IDENTIFIER: + $oid = preg_match('#(?:\d+\.)+#', $source) ? $source : array_search($source, $this->oids); + if ($oid === false) { + user_error('Invalid OID'); + return false; + } + $value = ''; + $parts = explode('.', $oid); + $value = chr(40 * $parts[0] + $parts[1]); + for ($i = 2; $i < count($parts); $i++) { + $temp = ''; + if (!$parts[$i]) { + $temp = "\0"; + } else { + while ($parts[$i]) { + $temp = chr(0x80 | ($parts[$i] & 0x7F)) . $temp; + $parts[$i] >>= 7; + } + $temp[strlen($temp) - 1] = $temp[strlen($temp) - 1] & chr(0x7F); + } + $value.= $temp; + } + break; + case self::TYPE_ANY: + $loc = $this->location; + if (isset($idx)) { + array_pop($this->location); + } + + switch (true) { + case !isset($source): + return $this->_encode_der(null, array('type' => self::TYPE_NULL) + $mapping, null, $special); + case is_int($source): + case $source instanceof BigInteger: + return $this->_encode_der($source, array('type' => self::TYPE_INTEGER) + $mapping, null, $special); + case is_float($source): + return $this->_encode_der($source, array('type' => self::TYPE_REAL) + $mapping, null, $special); + case is_bool($source): + return $this->_encode_der($source, array('type' => self::TYPE_BOOLEAN) + $mapping, null, $special); + case is_array($source) && count($source) == 1: + $typename = implode('', array_keys($source)); + $outtype = array_search($typename, $this->ANYmap, true); + if ($outtype !== false) { + return $this->_encode_der($source[$typename], array('type' => $outtype) + $mapping, null, $special); + } + } + + $filters = $this->filters; + foreach ($loc as $part) { + if (!isset($filters[$part])) { + $filters = false; + break; + } + $filters = $filters[$part]; + } + if ($filters === false) { + user_error('No filters defined for ' . implode('/', $loc)); + return false; + } + return $this->_encode_der($source, $filters + $mapping, null, $special); + case self::TYPE_NULL: + $value = ''; + break; + case self::TYPE_NUMERIC_STRING: + case self::TYPE_TELETEX_STRING: + case self::TYPE_PRINTABLE_STRING: + case self::TYPE_UNIVERSAL_STRING: + case self::TYPE_UTF8_STRING: + case self::TYPE_BMP_STRING: + case self::TYPE_IA5_STRING: + case self::TYPE_VISIBLE_STRING: + case self::TYPE_VIDEOTEX_STRING: + case self::TYPE_GRAPHIC_STRING: + case self::TYPE_GENERAL_STRING: + $value = $source; + break; + case self::TYPE_BOOLEAN: + $value = $source ? "\xFF" : "\x00"; + break; + default: + user_error('Mapping provides no type definition for ' . implode('/', $this->location)); + return false; + } + + if (isset($idx)) { + array_pop($this->location); + } + + if (isset($mapping['cast'])) { + if (isset($mapping['explicit']) || $mapping['type'] == self::TYPE_CHOICE) { + $value = chr($tag) . $this->_encodeLength(strlen($value)) . $value; + $tag = ($mapping['class'] << 6) | 0x20 | $mapping['cast']; + } else { + $tag = ($mapping['class'] << 6) | (ord($temp[0]) & 0x20) | $mapping['cast']; + } + } + + return chr($tag) . $this->_encodeLength(strlen($value)) . $value; + } + + /** + * DER-encode the length + * + * DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See + * {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. + * + * @access private + * @param int $length + * @return string + */ + function _encodeLength($length) + { + if ($length <= 0x7F) { + return chr($length); + } + + $temp = ltrim(pack('N', $length), chr(0)); + return pack('Ca*', 0x80 | strlen($temp), $temp); + } + + /** + * BER-decode the time + * + * Called by _decode_ber() and in the case of implicit tags asn1map(). + * + * @access private + * @param string $content + * @param int $tag + * @return string + */ + function _decodeTime($content, $tag) + { + /* UTCTime: + http://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 + http://www.obj-sys.com/asn1tutorial/node15.html + + GeneralizedTime: + http://tools.ietf.org/html/rfc5280#section-4.1.2.5.2 + http://www.obj-sys.com/asn1tutorial/node14.html */ + + $pattern = $tag == self::TYPE_UTC_TIME ? + '#^(..)(..)(..)(..)(..)(..)?(.*)$#' : + '#(....)(..)(..)(..)(..)(..).*([Z+-].*)$#'; + + preg_match($pattern, $content, $matches); + + list(, $year, $month, $day, $hour, $minute, $second, $timezone) = $matches; + + if ($tag == self::TYPE_UTC_TIME) { + $year = $year >= 50 ? "19$year" : "20$year"; + } + + if ($timezone == 'Z') { + $mktime = 'gmmktime'; + $timezone = 0; + } elseif (preg_match('#([+-])(\d\d)(\d\d)#', $timezone, $matches)) { + $mktime = 'gmmktime'; + $timezone = 60 * $matches[3] + 3600 * $matches[2]; + if ($matches[1] == '-') { + $timezone = -$timezone; + } + } else { + $mktime = 'mktime'; + $timezone = 0; + } + + return @$mktime((int)$hour, (int)$minute, (int)$second, (int)$month, (int)$day, (int)$year) + $timezone; + } + + /** + * Set the time format + * + * Sets the time / date format for asn1map(). + * + * @access public + * @param string $format + */ + function setTimeFormat($format) + { + $this->format = $format; + } + + /** + * Load OIDs + * + * Load the relevant OIDs for a particular ASN.1 semantic mapping. + * + * @access public + * @param array $oids + */ + function loadOIDs($oids) + { + $this->oids = $oids; + } + + /** + * Load filters + * + * See \phpseclib\File\X509, etc, for an example. + * + * @access public + * @param array $filters + */ + function loadFilters($filters) + { + $this->filters = $filters; + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @return string + * @access private + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } + + /** + * String type conversion + * + * This is a lazy conversion, dealing only with character size. + * No real conversion table is used. + * + * @param string $in + * @param int $from + * @param int $to + * @return string + * @access public + */ + function convert($in, $from = self::TYPE_UTF8_STRING, $to = self::TYPE_UTF8_STRING) + { + if (!isset($this->stringTypeSize[$from]) || !isset($this->stringTypeSize[$to])) { + return false; + } + $insize = $this->stringTypeSize[$from]; + $outsize = $this->stringTypeSize[$to]; + $inlength = strlen($in); + $out = ''; + + for ($i = 0; $i < $inlength;) { + if ($inlength - $i < $insize) { + return false; + } + + // Get an input character as a 32-bit value. + $c = ord($in[$i++]); + switch (true) { + case $insize == 4: + $c = ($c << 8) | ord($in[$i++]); + $c = ($c << 8) | ord($in[$i++]); + case $insize == 2: + $c = ($c << 8) | ord($in[$i++]); + case $insize == 1: + break; + case ($c & 0x80) == 0x00: + break; + case ($c & 0x40) == 0x00: + return false; + default: + $bit = 6; + do { + if ($bit > 25 || $i >= $inlength || (ord($in[$i]) & 0xC0) != 0x80) { + return false; + } + $c = ($c << 6) | (ord($in[$i++]) & 0x3F); + $bit += 5; + $mask = 1 << $bit; + } while ($c & $bit); + $c &= $mask - 1; + break; + } + + // Convert and append the character to output string. + $v = ''; + switch (true) { + case $outsize == 4: + $v .= chr($c & 0xFF); + $c >>= 8; + $v .= chr($c & 0xFF); + $c >>= 8; + case $outsize == 2: + $v .= chr($c & 0xFF); + $c >>= 8; + case $outsize == 1: + $v .= chr($c & 0xFF); + $c >>= 8; + if ($c) { + return false; + } + break; + case ($c & 0x80000000) != 0: + return false; + case $c >= 0x04000000: + $v .= chr(0x80 | ($c & 0x3F)); + $c = ($c >> 6) | 0x04000000; + case $c >= 0x00200000: + $v .= chr(0x80 | ($c & 0x3F)); + $c = ($c >> 6) | 0x00200000; + case $c >= 0x00010000: + $v .= chr(0x80 | ($c & 0x3F)); + $c = ($c >> 6) | 0x00010000; + case $c >= 0x00000800: + $v .= chr(0x80 | ($c & 0x3F)); + $c = ($c >> 6) | 0x00000800; + case $c >= 0x00000080: + $v .= chr(0x80 | ($c & 0x3F)); + $c = ($c >> 6) | 0x000000C0; + default: + $v .= chr($c); + break; + } + $out .= strrev($v); + } + return $out; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php new file mode 100644 index 00000000..68246e2b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php @@ -0,0 +1,47 @@ + + * @copyright 2012 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\File\ASN1; + +/** + * ASN.1 Element + * + * Bypass normal encoding rules in phpseclib\File\ASN1::encodeDER() + * + * @package ASN1 + * @author Jim Wigginton + * @access public + */ +class Element +{ + /** + * Raw element value + * + * @var string + * @access private + */ + var $element; + + /** + * Constructor + * + * @param string $encoded + * @return \phpseclib\File\ASN1\Element + * @access public + */ + function __construct($encoded) + { + $this->element = $encoded; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php new file mode 100644 index 00000000..9a70457b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/File/X509.php @@ -0,0 +1,4823 @@ + + * @copyright 2012 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\File; + +use phpseclib\Crypt\Hash; +use phpseclib\Crypt\Random; +use phpseclib\Crypt\RSA; +use phpseclib\File\ASN1\Element; +use phpseclib\Math\BigInteger; + +/** + * Pure-PHP X.509 Parser + * + * @package X509 + * @author Jim Wigginton + * @access public + */ +class X509 +{ + /** + * Flag to only accept signatures signed by certificate authorities + * + * Not really used anymore but retained all the same to suppress E_NOTICEs from old installs + * + * @access public + */ + const VALIDATE_SIGNATURE_BY_CA = 1; + + /**#@+ + * @access public + * @see \phpseclib\File\X509::getDN() + */ + /** + * Return internal array representation + */ + const DN_ARRAY = 0; + /** + * Return string + */ + const DN_STRING = 1; + /** + * Return ASN.1 name string + */ + const DN_ASN1 = 2; + /** + * Return OpenSSL compatible array + */ + const DN_OPENSSL = 3; + /** + * Return canonical ASN.1 RDNs string + */ + const DN_CANON = 4; + /** + * Return name hash for file indexing + */ + const DN_HASH = 5; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\File\X509::saveX509() + * @see \phpseclib\File\X509::saveCSR() + * @see \phpseclib\File\X509::saveCRL() + */ + /** + * Save as PEM + * + * ie. a base64-encoded PEM with a header and a footer + */ + const FORMAT_PEM = 0; + /** + * Save as DER + */ + const FORMAT_DER = 1; + /** + * Save as a SPKAC + * + * Only works on CSRs. Not currently supported. + */ + const FORMAT_SPKAC = 2; + /** + * Auto-detect the format + * + * Used only by the load*() functions + */ + const FORMAT_AUTO_DETECT = 3; + /**#@-*/ + + /** + * Attribute value disposition. + * If disposition is >= 0, this is the index of the target value. + */ + const ATTR_ALL = -1; // All attribute values (array). + const ATTR_APPEND = -2; // Add a value. + const ATTR_REPLACE = -3; // Clear first, then add a value. + + /** + * ASN.1 syntax for X.509 certificates + * + * @var array + * @access private + */ + var $Certificate; + + /**#@+ + * ASN.1 syntax for various extensions + * + * @access private + */ + var $DirectoryString; + var $PKCS9String; + var $AttributeValue; + var $Extensions; + var $KeyUsage; + var $ExtKeyUsageSyntax; + var $BasicConstraints; + var $KeyIdentifier; + var $CRLDistributionPoints; + var $AuthorityKeyIdentifier; + var $CertificatePolicies; + var $AuthorityInfoAccessSyntax; + var $SubjectAltName; + var $SubjectDirectoryAttributes; + var $PrivateKeyUsagePeriod; + var $IssuerAltName; + var $PolicyMappings; + var $NameConstraints; + + var $CPSuri; + var $UserNotice; + + var $netscape_cert_type; + var $netscape_comment; + var $netscape_ca_policy_url; + + var $Name; + var $RelativeDistinguishedName; + var $CRLNumber; + var $CRLReason; + var $IssuingDistributionPoint; + var $InvalidityDate; + var $CertificateIssuer; + var $HoldInstructionCode; + var $SignedPublicKeyAndChallenge; + /**#@-*/ + + /**#@+ + * ASN.1 syntax for various DN attributes + * + * @access private + */ + var $PostalAddress; + /**#@-*/ + + /** + * ASN.1 syntax for Certificate Signing Requests (RFC2986) + * + * @var array + * @access private + */ + var $CertificationRequest; + + /** + * ASN.1 syntax for Certificate Revocation Lists (RFC5280) + * + * @var array + * @access private + */ + var $CertificateList; + + /** + * Distinguished Name + * + * @var array + * @access private + */ + var $dn; + + /** + * Public key + * + * @var string + * @access private + */ + var $publicKey; + + /** + * Private key + * + * @var string + * @access private + */ + var $privateKey; + + /** + * Object identifiers for X.509 certificates + * + * @var array + * @access private + * @link http://en.wikipedia.org/wiki/Object_identifier + */ + var $oids; + + /** + * The certificate authorities + * + * @var array + * @access private + */ + var $CAs; + + /** + * The currently loaded certificate + * + * @var array + * @access private + */ + var $currentCert; + + /** + * The signature subject + * + * There's no guarantee \phpseclib\File\X509 is going to re-encode an X.509 cert in the same way it was originally + * encoded so we take save the portion of the original cert that the signature would have made for. + * + * @var string + * @access private + */ + var $signatureSubject; + + /** + * Certificate Start Date + * + * @var string + * @access private + */ + var $startDate; + + /** + * Certificate End Date + * + * @var string + * @access private + */ + var $endDate; + + /** + * Serial Number + * + * @var string + * @access private + */ + var $serialNumber; + + /** + * Key Identifier + * + * See {@link http://tools.ietf.org/html/rfc5280#section-4.2.1.1 RFC5280#section-4.2.1.1} and + * {@link http://tools.ietf.org/html/rfc5280#section-4.2.1.2 RFC5280#section-4.2.1.2}. + * + * @var string + * @access private + */ + var $currentKeyIdentifier; + + /** + * CA Flag + * + * @var bool + * @access private + */ + var $caFlag = false; + + /** + * SPKAC Challenge + * + * @var string + * @access private + */ + var $challenge; + + /** + * Default Constructor. + * + * @return \phpseclib\File\X509 + * @access public + */ + function __construct() + { + // Explicitly Tagged Module, 1988 Syntax + // http://tools.ietf.org/html/rfc5280#appendix-A.1 + + $this->DirectoryString = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'teletexString' => array('type' => ASN1::TYPE_TELETEX_STRING), + 'printableString' => array('type' => ASN1::TYPE_PRINTABLE_STRING), + 'universalString' => array('type' => ASN1::TYPE_UNIVERSAL_STRING), + 'utf8String' => array('type' => ASN1::TYPE_UTF8_STRING), + 'bmpString' => array('type' => ASN1::TYPE_BMP_STRING) + ) + ); + + $this->PKCS9String = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'ia5String' => array('type' => ASN1::TYPE_IA5_STRING), + 'directoryString' => $this->DirectoryString + ) + ); + + $this->AttributeValue = array('type' => ASN1::TYPE_ANY); + + $AttributeType = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER); + + $AttributeTypeAndValue = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'type' => $AttributeType, + 'value'=> $this->AttributeValue + ) + ); + + /* + In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare, + but they can be useful at times when either there is no unique attribute in the entry or you + want to ensure that the entry's DN contains some useful identifying information. + + - https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName + */ + $this->RelativeDistinguishedName = array( + 'type' => ASN1::TYPE_SET, + 'min' => 1, + 'max' => -1, + 'children' => $AttributeTypeAndValue + ); + + // http://tools.ietf.org/html/rfc5280#section-4.1.2.4 + $RDNSequence = array( + 'type' => ASN1::TYPE_SEQUENCE, + // RDNSequence does not define a min or a max, which means it doesn't have one + 'min' => 0, + 'max' => -1, + 'children' => $this->RelativeDistinguishedName + ); + + $this->Name = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'rdnSequence' => $RDNSequence + ) + ); + + // http://tools.ietf.org/html/rfc5280#section-4.1.1.2 + $AlgorithmIdentifier = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'algorithm' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER), + 'parameters' => array( + 'type' => ASN1::TYPE_ANY, + 'optional' => true + ) + ) + ); + + /* + A certificate using system MUST reject the certificate if it encounters + a critical extension it does not recognize; however, a non-critical + extension may be ignored if it is not recognized. + + http://tools.ietf.org/html/rfc5280#section-4.2 + */ + $Extension = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'extnId' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER), + 'critical' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'optional' => true, + 'default' => false + ), + 'extnValue' => array('type' => ASN1::TYPE_OCTET_STRING) + ) + ); + + $this->Extensions = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + // technically, it's MAX, but we'll assume anything < 0 is MAX + 'max' => -1, + // if 'children' isn't an array then 'min' and 'max' must be defined + 'children' => $Extension + ); + + $SubjectPublicKeyInfo = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'algorithm' => $AlgorithmIdentifier, + 'subjectPublicKey' => array('type' => ASN1::TYPE_BIT_STRING) + ) + ); + + $UniqueIdentifier = array('type' => ASN1::TYPE_BIT_STRING); + + $Time = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'utcTime' => array('type' => ASN1::TYPE_UTC_TIME), + 'generalTime' => array('type' => ASN1::TYPE_GENERALIZED_TIME) + ) + ); + + // http://tools.ietf.org/html/rfc5280#section-4.1.2.5 + $Validity = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'notBefore' => $Time, + 'notAfter' => $Time + ) + ); + + $CertificateSerialNumber = array('type' => ASN1::TYPE_INTEGER); + + $Version = array( + 'type' => ASN1::TYPE_INTEGER, + 'mapping' => array('v1', 'v2', 'v3') + ); + + // assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm']) + $TBSCertificate = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + // technically, default implies optional, but we'll define it as being optional, none-the-less, just to + // reenforce that fact + 'version' => array( + 'constant' => 0, + 'optional' => true, + 'explicit' => true, + 'default' => 'v1' + ) + $Version, + 'serialNumber' => $CertificateSerialNumber, + 'signature' => $AlgorithmIdentifier, + 'issuer' => $this->Name, + 'validity' => $Validity, + 'subject' => $this->Name, + 'subjectPublicKeyInfo' => $SubjectPublicKeyInfo, + // implicit means that the T in the TLV structure is to be rewritten, regardless of the type + 'issuerUniqueID' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $UniqueIdentifier, + 'subjectUniqueID' => array( + 'constant' => 2, + 'optional' => true, + 'implicit' => true + ) + $UniqueIdentifier, + // doesn't use the EXPLICIT keyword but if + // it's not IMPLICIT, it's EXPLICIT + 'extensions' => array( + 'constant' => 3, + 'optional' => true, + 'explicit' => true + ) + $this->Extensions + ) + ); + + $this->Certificate = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'tbsCertificate' => $TBSCertificate, + 'signatureAlgorithm' => $AlgorithmIdentifier, + 'signature' => array('type' => ASN1::TYPE_BIT_STRING) + ) + ); + + $this->KeyUsage = array( + 'type' => ASN1::TYPE_BIT_STRING, + 'mapping' => array( + 'digitalSignature', + 'nonRepudiation', + 'keyEncipherment', + 'dataEncipherment', + 'keyAgreement', + 'keyCertSign', + 'cRLSign', + 'encipherOnly', + 'decipherOnly' + ) + ); + + $this->BasicConstraints = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'cA' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'optional' => true, + 'default' => false + ), + 'pathLenConstraint' => array( + 'type' => ASN1::TYPE_INTEGER, + 'optional' => true + ) + ) + ); + + $this->KeyIdentifier = array('type' => ASN1::TYPE_OCTET_STRING); + + $OrganizationalUnitNames = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => 4, // ub-organizational-units + 'children' => array('type' => ASN1::TYPE_PRINTABLE_STRING) + ); + + $PersonalName = array( + 'type' => ASN1::TYPE_SET, + 'children' => array( + 'surname' => array( + 'type' => ASN1::TYPE_PRINTABLE_STRING, + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ), + 'given-name' => array( + 'type' => ASN1::TYPE_PRINTABLE_STRING, + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ), + 'initials' => array( + 'type' => ASN1::TYPE_PRINTABLE_STRING, + 'constant' => 2, + 'optional' => true, + 'implicit' => true + ), + 'generation-qualifier' => array( + 'type' => ASN1::TYPE_PRINTABLE_STRING, + 'constant' => 3, + 'optional' => true, + 'implicit' => true + ) + ) + ); + + $NumericUserIdentifier = array('type' => ASN1::TYPE_NUMERIC_STRING); + + $OrganizationName = array('type' => ASN1::TYPE_PRINTABLE_STRING); + + $PrivateDomainName = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'numeric' => array('type' => ASN1::TYPE_NUMERIC_STRING), + 'printable' => array('type' => ASN1::TYPE_PRINTABLE_STRING) + ) + ); + + $TerminalIdentifier = array('type' => ASN1::TYPE_PRINTABLE_STRING); + + $NetworkAddress = array('type' => ASN1::TYPE_NUMERIC_STRING); + + $AdministrationDomainName = array( + 'type' => ASN1::TYPE_CHOICE, + // if class isn't present it's assumed to be \phpseclib\File\ASN1::CLASS_UNIVERSAL or + // (if constant is present) \phpseclib\File\ASN1::CLASS_CONTEXT_SPECIFIC + 'class' => ASN1::CLASS_APPLICATION, + 'cast' => 2, + 'children' => array( + 'numeric' => array('type' => ASN1::TYPE_NUMERIC_STRING), + 'printable' => array('type' => ASN1::TYPE_PRINTABLE_STRING) + ) + ); + + $CountryName = array( + 'type' => ASN1::TYPE_CHOICE, + // if class isn't present it's assumed to be \phpseclib\File\ASN1::CLASS_UNIVERSAL or + // (if constant is present) \phpseclib\File\ASN1::CLASS_CONTEXT_SPECIFIC + 'class' => ASN1::CLASS_APPLICATION, + 'cast' => 1, + 'children' => array( + 'x121-dcc-code' => array('type' => ASN1::TYPE_NUMERIC_STRING), + 'iso-3166-alpha2-code' => array('type' => ASN1::TYPE_PRINTABLE_STRING) + ) + ); + + $AnotherName = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'type-id' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER), + 'value' => array( + 'type' => ASN1::TYPE_ANY, + 'constant' => 0, + 'optional' => true, + 'explicit' => true + ) + ) + ); + + $ExtensionAttribute = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'extension-attribute-type' => array( + 'type' => ASN1::TYPE_PRINTABLE_STRING, + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ), + 'extension-attribute-value' => array( + 'type' => ASN1::TYPE_ANY, + 'constant' => 1, + 'optional' => true, + 'explicit' => true + ) + ) + ); + + $ExtensionAttributes = array( + 'type' => ASN1::TYPE_SET, + 'min' => 1, + 'max' => 256, // ub-extension-attributes + 'children' => $ExtensionAttribute + ); + + $BuiltInDomainDefinedAttribute = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'type' => array('type' => ASN1::TYPE_PRINTABLE_STRING), + 'value' => array('type' => ASN1::TYPE_PRINTABLE_STRING) + ) + ); + + $BuiltInDomainDefinedAttributes = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => 4, // ub-domain-defined-attributes + 'children' => $BuiltInDomainDefinedAttribute + ); + + $BuiltInStandardAttributes = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'country-name' => array('optional' => true) + $CountryName, + 'administration-domain-name' => array('optional' => true) + $AdministrationDomainName, + 'network-address' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $NetworkAddress, + 'terminal-identifier' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $TerminalIdentifier, + 'private-domain-name' => array( + 'constant' => 2, + 'optional' => true, + 'explicit' => true + ) + $PrivateDomainName, + 'organization-name' => array( + 'constant' => 3, + 'optional' => true, + 'implicit' => true + ) + $OrganizationName, + 'numeric-user-identifier' => array( + 'constant' => 4, + 'optional' => true, + 'implicit' => true + ) + $NumericUserIdentifier, + 'personal-name' => array( + 'constant' => 5, + 'optional' => true, + 'implicit' => true + ) + $PersonalName, + 'organizational-unit-names' => array( + 'constant' => 6, + 'optional' => true, + 'implicit' => true + ) + $OrganizationalUnitNames + ) + ); + + $ORAddress = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'built-in-standard-attributes' => $BuiltInStandardAttributes, + 'built-in-domain-defined-attributes' => array('optional' => true) + $BuiltInDomainDefinedAttributes, + 'extension-attributes' => array('optional' => true) + $ExtensionAttributes + ) + ); + + $EDIPartyName = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'nameAssigner' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $this->DirectoryString, + // partyName is technically required but \phpseclib\File\ASN1 doesn't currently support non-optional constants and + // setting it to optional gets the job done in any event. + 'partyName' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $this->DirectoryString + ) + ); + + $GeneralName = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'otherName' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $AnotherName, + 'rfc822Name' => array( + 'type' => ASN1::TYPE_IA5_STRING, + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ), + 'dNSName' => array( + 'type' => ASN1::TYPE_IA5_STRING, + 'constant' => 2, + 'optional' => true, + 'implicit' => true + ), + 'x400Address' => array( + 'constant' => 3, + 'optional' => true, + 'implicit' => true + ) + $ORAddress, + 'directoryName' => array( + 'constant' => 4, + 'optional' => true, + 'explicit' => true + ) + $this->Name, + 'ediPartyName' => array( + 'constant' => 5, + 'optional' => true, + 'implicit' => true + ) + $EDIPartyName, + 'uniformResourceIdentifier' => array( + 'type' => ASN1::TYPE_IA5_STRING, + 'constant' => 6, + 'optional' => true, + 'implicit' => true + ), + 'iPAddress' => array( + 'type' => ASN1::TYPE_OCTET_STRING, + 'constant' => 7, + 'optional' => true, + 'implicit' => true + ), + 'registeredID' => array( + 'type' => ASN1::TYPE_OBJECT_IDENTIFIER, + 'constant' => 8, + 'optional' => true, + 'implicit' => true + ) + ) + ); + + $GeneralNames = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $GeneralName + ); + + $this->IssuerAltName = $GeneralNames; + + $ReasonFlags = array( + 'type' => ASN1::TYPE_BIT_STRING, + 'mapping' => array( + 'unused', + 'keyCompromise', + 'cACompromise', + 'affiliationChanged', + 'superseded', + 'cessationOfOperation', + 'certificateHold', + 'privilegeWithdrawn', + 'aACompromise' + ) + ); + + $DistributionPointName = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'fullName' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $GeneralNames, + 'nameRelativeToCRLIssuer' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $this->RelativeDistinguishedName + ) + ); + + $DistributionPoint = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'distributionPoint' => array( + 'constant' => 0, + 'optional' => true, + 'explicit' => true + ) + $DistributionPointName, + 'reasons' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $ReasonFlags, + 'cRLIssuer' => array( + 'constant' => 2, + 'optional' => true, + 'implicit' => true + ) + $GeneralNames + ) + ); + + $this->CRLDistributionPoints = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $DistributionPoint + ); + + $this->AuthorityKeyIdentifier = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'keyIdentifier' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $this->KeyIdentifier, + 'authorityCertIssuer' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $GeneralNames, + 'authorityCertSerialNumber' => array( + 'constant' => 2, + 'optional' => true, + 'implicit' => true + ) + $CertificateSerialNumber + ) + ); + + $PolicyQualifierId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER); + + $PolicyQualifierInfo = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'policyQualifierId' => $PolicyQualifierId, + 'qualifier' => array('type' => ASN1::TYPE_ANY) + ) + ); + + $CertPolicyId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER); + + $PolicyInformation = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'policyIdentifier' => $CertPolicyId, + 'policyQualifiers' => array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 0, + 'max' => -1, + 'optional' => true, + 'children' => $PolicyQualifierInfo + ) + ) + ); + + $this->CertificatePolicies = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $PolicyInformation + ); + + $this->PolicyMappings = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'issuerDomainPolicy' => $CertPolicyId, + 'subjectDomainPolicy' => $CertPolicyId + ) + ) + ); + + $KeyPurposeId = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER); + + $this->ExtKeyUsageSyntax = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $KeyPurposeId + ); + + $AccessDescription = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'accessMethod' => array('type' => ASN1::TYPE_OBJECT_IDENTIFIER), + 'accessLocation' => $GeneralName + ) + ); + + $this->AuthorityInfoAccessSyntax = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $AccessDescription + ); + + $this->SubjectAltName = $GeneralNames; + + $this->PrivateKeyUsagePeriod = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'notBefore' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true, + 'type' => ASN1::TYPE_GENERALIZED_TIME), + 'notAfter' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true, + 'type' => ASN1::TYPE_GENERALIZED_TIME) + ) + ); + + $BaseDistance = array('type' => ASN1::TYPE_INTEGER); + + $GeneralSubtree = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'base' => $GeneralName, + 'minimum' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true, + 'default' => new BigInteger(0) + ) + $BaseDistance, + 'maximum' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true, + ) + $BaseDistance + ) + ); + + $GeneralSubtrees = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $GeneralSubtree + ); + + $this->NameConstraints = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'permittedSubtrees' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $GeneralSubtrees, + 'excludedSubtrees' => array( + 'constant' => 1, + 'optional' => true, + 'implicit' => true + ) + $GeneralSubtrees + ) + ); + + $this->CPSuri = array('type' => ASN1::TYPE_IA5_STRING); + + $DisplayText = array( + 'type' => ASN1::TYPE_CHOICE, + 'children' => array( + 'ia5String' => array('type' => ASN1::TYPE_IA5_STRING), + 'visibleString' => array('type' => ASN1::TYPE_VISIBLE_STRING), + 'bmpString' => array('type' => ASN1::TYPE_BMP_STRING), + 'utf8String' => array('type' => ASN1::TYPE_UTF8_STRING) + ) + ); + + $NoticeReference = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'organization' => $DisplayText, + 'noticeNumbers' => array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => 200, + 'children' => array('type' => ASN1::TYPE_INTEGER) + ) + ) + ); + + $this->UserNotice = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'noticeRef' => array( + 'optional' => true, + 'implicit' => true + ) + $NoticeReference, + 'explicitText' => array( + 'optional' => true, + 'implicit' => true + ) + $DisplayText + ) + ); + + // mapping is from + $this->netscape_cert_type = array( + 'type' => ASN1::TYPE_BIT_STRING, + 'mapping' => array( + 'SSLClient', + 'SSLServer', + 'Email', + 'ObjectSigning', + 'Reserved', + 'SSLCA', + 'EmailCA', + 'ObjectSigningCA' + ) + ); + + $this->netscape_comment = array('type' => ASN1::TYPE_IA5_STRING); + $this->netscape_ca_policy_url = array('type' => ASN1::TYPE_IA5_STRING); + + // attribute is used in RFC2986 but we're using the RFC5280 definition + + $Attribute = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'type' => $AttributeType, + 'value'=> array( + 'type' => ASN1::TYPE_SET, + 'min' => 1, + 'max' => -1, + 'children' => $this->AttributeValue + ) + ) + ); + + $this->SubjectDirectoryAttributes = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'min' => 1, + 'max' => -1, + 'children' => $Attribute + ); + + // adapted from + + $Attributes = array( + 'type' => ASN1::TYPE_SET, + 'min' => 1, + 'max' => -1, + 'children' => $Attribute + ); + + $CertificationRequestInfo = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'version' => array( + 'type' => ASN1::TYPE_INTEGER, + 'mapping' => array('v1') + ), + 'subject' => $this->Name, + 'subjectPKInfo' => $SubjectPublicKeyInfo, + 'attributes' => array( + 'constant' => 0, + 'optional' => true, + 'implicit' => true + ) + $Attributes, + ) + ); + + $this->CertificationRequest = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'certificationRequestInfo' => $CertificationRequestInfo, + 'signatureAlgorithm' => $AlgorithmIdentifier, + 'signature' => array('type' => ASN1::TYPE_BIT_STRING) + ) + ); + + $RevokedCertificate = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'userCertificate' => $CertificateSerialNumber, + 'revocationDate' => $Time, + 'crlEntryExtensions' => array( + 'optional' => true + ) + $this->Extensions + ) + ); + + $TBSCertList = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'version' => array( + 'optional' => true, + 'default' => 'v1' + ) + $Version, + 'signature' => $AlgorithmIdentifier, + 'issuer' => $this->Name, + 'thisUpdate' => $Time, + 'nextUpdate' => array( + 'optional' => true + ) + $Time, + 'revokedCertificates' => array( + 'type' => ASN1::TYPE_SEQUENCE, + 'optional' => true, + 'min' => 0, + 'max' => -1, + 'children' => $RevokedCertificate + ), + 'crlExtensions' => array( + 'constant' => 0, + 'optional' => true, + 'explicit' => true + ) + $this->Extensions + ) + ); + + $this->CertificateList = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'tbsCertList' => $TBSCertList, + 'signatureAlgorithm' => $AlgorithmIdentifier, + 'signature' => array('type' => ASN1::TYPE_BIT_STRING) + ) + ); + + $this->CRLNumber = array('type' => ASN1::TYPE_INTEGER); + + $this->CRLReason = array('type' => ASN1::TYPE_ENUMERATED, + 'mapping' => array( + 'unspecified', + 'keyCompromise', + 'cACompromise', + 'affiliationChanged', + 'superseded', + 'cessationOfOperation', + 'certificateHold', + // Value 7 is not used. + 8 => 'removeFromCRL', + 'privilegeWithdrawn', + 'aACompromise' + ) + ); + + $this->IssuingDistributionPoint = array('type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'distributionPoint' => array( + 'constant' => 0, + 'optional' => true, + 'explicit' => true + ) + $DistributionPointName, + 'onlyContainsUserCerts' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'constant' => 1, + 'optional' => true, + 'default' => false, + 'implicit' => true + ), + 'onlyContainsCACerts' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'constant' => 2, + 'optional' => true, + 'default' => false, + 'implicit' => true + ), + 'onlySomeReasons' => array( + 'constant' => 3, + 'optional' => true, + 'implicit' => true + ) + $ReasonFlags, + 'indirectCRL' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'constant' => 4, + 'optional' => true, + 'default' => false, + 'implicit' => true + ), + 'onlyContainsAttributeCerts' => array( + 'type' => ASN1::TYPE_BOOLEAN, + 'constant' => 5, + 'optional' => true, + 'default' => false, + 'implicit' => true + ) + ) + ); + + $this->InvalidityDate = array('type' => ASN1::TYPE_GENERALIZED_TIME); + + $this->CertificateIssuer = $GeneralNames; + + $this->HoldInstructionCode = array('type' => ASN1::TYPE_OBJECT_IDENTIFIER); + + $PublicKeyAndChallenge = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'spki' => $SubjectPublicKeyInfo, + 'challenge' => array('type' => ASN1::TYPE_IA5_STRING) + ) + ); + + $this->SignedPublicKeyAndChallenge = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'children' => array( + 'publicKeyAndChallenge' => $PublicKeyAndChallenge, + 'signatureAlgorithm' => $AlgorithmIdentifier, + 'signature' => array('type' => ASN1::TYPE_BIT_STRING) + ) + ); + + $this->PostalAddress = array( + 'type' => ASN1::TYPE_SEQUENCE, + 'optional' => true, + 'min' => 1, + 'max' => -1, + 'children' => $this->DirectoryString + ); + + // OIDs from RFC5280 and those RFCs mentioned in RFC5280#section-4.1.1.2 + $this->oids = array( + '1.3.6.1.5.5.7' => 'id-pkix', + '1.3.6.1.5.5.7.1' => 'id-pe', + '1.3.6.1.5.5.7.2' => 'id-qt', + '1.3.6.1.5.5.7.3' => 'id-kp', + '1.3.6.1.5.5.7.48' => 'id-ad', + '1.3.6.1.5.5.7.2.1' => 'id-qt-cps', + '1.3.6.1.5.5.7.2.2' => 'id-qt-unotice', + '1.3.6.1.5.5.7.48.1' =>'id-ad-ocsp', + '1.3.6.1.5.5.7.48.2' => 'id-ad-caIssuers', + '1.3.6.1.5.5.7.48.3' => 'id-ad-timeStamping', + '1.3.6.1.5.5.7.48.5' => 'id-ad-caRepository', + '2.5.4' => 'id-at', + '2.5.4.41' => 'id-at-name', + '2.5.4.4' => 'id-at-surname', + '2.5.4.42' => 'id-at-givenName', + '2.5.4.43' => 'id-at-initials', + '2.5.4.44' => 'id-at-generationQualifier', + '2.5.4.3' => 'id-at-commonName', + '2.5.4.7' => 'id-at-localityName', + '2.5.4.8' => 'id-at-stateOrProvinceName', + '2.5.4.10' => 'id-at-organizationName', + '2.5.4.11' => 'id-at-organizationalUnitName', + '2.5.4.12' => 'id-at-title', + '2.5.4.13' => 'id-at-description', + '2.5.4.46' => 'id-at-dnQualifier', + '2.5.4.6' => 'id-at-countryName', + '2.5.4.5' => 'id-at-serialNumber', + '2.5.4.65' => 'id-at-pseudonym', + '2.5.4.17' => 'id-at-postalCode', + '2.5.4.9' => 'id-at-streetAddress', + '2.5.4.45' => 'id-at-uniqueIdentifier', + '2.5.4.72' => 'id-at-role', + '2.5.4.16' => 'id-at-postalAddress', + + '0.9.2342.19200300.100.1.25' => 'id-domainComponent', + '1.2.840.113549.1.9' => 'pkcs-9', + '1.2.840.113549.1.9.1' => 'pkcs-9-at-emailAddress', + '2.5.29' => 'id-ce', + '2.5.29.35' => 'id-ce-authorityKeyIdentifier', + '2.5.29.14' => 'id-ce-subjectKeyIdentifier', + '2.5.29.15' => 'id-ce-keyUsage', + '2.5.29.16' => 'id-ce-privateKeyUsagePeriod', + '2.5.29.32' => 'id-ce-certificatePolicies', + '2.5.29.32.0' => 'anyPolicy', + + '2.5.29.33' => 'id-ce-policyMappings', + '2.5.29.17' => 'id-ce-subjectAltName', + '2.5.29.18' => 'id-ce-issuerAltName', + '2.5.29.9' => 'id-ce-subjectDirectoryAttributes', + '2.5.29.19' => 'id-ce-basicConstraints', + '2.5.29.30' => 'id-ce-nameConstraints', + '2.5.29.36' => 'id-ce-policyConstraints', + '2.5.29.31' => 'id-ce-cRLDistributionPoints', + '2.5.29.37' => 'id-ce-extKeyUsage', + '2.5.29.37.0' => 'anyExtendedKeyUsage', + '1.3.6.1.5.5.7.3.1' => 'id-kp-serverAuth', + '1.3.6.1.5.5.7.3.2' => 'id-kp-clientAuth', + '1.3.6.1.5.5.7.3.3' => 'id-kp-codeSigning', + '1.3.6.1.5.5.7.3.4' => 'id-kp-emailProtection', + '1.3.6.1.5.5.7.3.8' => 'id-kp-timeStamping', + '1.3.6.1.5.5.7.3.9' => 'id-kp-OCSPSigning', + '2.5.29.54' => 'id-ce-inhibitAnyPolicy', + '2.5.29.46' => 'id-ce-freshestCRL', + '1.3.6.1.5.5.7.1.1' => 'id-pe-authorityInfoAccess', + '1.3.6.1.5.5.7.1.11' => 'id-pe-subjectInfoAccess', + '2.5.29.20' => 'id-ce-cRLNumber', + '2.5.29.28' => 'id-ce-issuingDistributionPoint', + '2.5.29.27' => 'id-ce-deltaCRLIndicator', + '2.5.29.21' => 'id-ce-cRLReasons', + '2.5.29.29' => 'id-ce-certificateIssuer', + '2.5.29.23' => 'id-ce-holdInstructionCode', + '1.2.840.10040.2' => 'holdInstruction', + '1.2.840.10040.2.1' => 'id-holdinstruction-none', + '1.2.840.10040.2.2' => 'id-holdinstruction-callissuer', + '1.2.840.10040.2.3' => 'id-holdinstruction-reject', + '2.5.29.24' => 'id-ce-invalidityDate', + + '1.2.840.113549.2.2' => 'md2', + '1.2.840.113549.2.5' => 'md5', + '1.3.14.3.2.26' => 'id-sha1', + '1.2.840.10040.4.1' => 'id-dsa', + '1.2.840.10040.4.3' => 'id-dsa-with-sha1', + '1.2.840.113549.1.1' => 'pkcs-1', + '1.2.840.113549.1.1.1' => 'rsaEncryption', + '1.2.840.113549.1.1.2' => 'md2WithRSAEncryption', + '1.2.840.113549.1.1.4' => 'md5WithRSAEncryption', + '1.2.840.113549.1.1.5' => 'sha1WithRSAEncryption', + '1.2.840.10046.2.1' => 'dhpublicnumber', + '2.16.840.1.101.2.1.1.22' => 'id-keyExchangeAlgorithm', + '1.2.840.10045' => 'ansi-X9-62', + '1.2.840.10045.4' => 'id-ecSigType', + '1.2.840.10045.4.1' => 'ecdsa-with-SHA1', + '1.2.840.10045.1' => 'id-fieldType', + '1.2.840.10045.1.1' => 'prime-field', + '1.2.840.10045.1.2' => 'characteristic-two-field', + '1.2.840.10045.1.2.3' => 'id-characteristic-two-basis', + '1.2.840.10045.1.2.3.1' => 'gnBasis', + '1.2.840.10045.1.2.3.2' => 'tpBasis', + '1.2.840.10045.1.2.3.3' => 'ppBasis', + '1.2.840.10045.2' => 'id-publicKeyType', + '1.2.840.10045.2.1' => 'id-ecPublicKey', + '1.2.840.10045.3' => 'ellipticCurve', + '1.2.840.10045.3.0' => 'c-TwoCurve', + '1.2.840.10045.3.0.1' => 'c2pnb163v1', + '1.2.840.10045.3.0.2' => 'c2pnb163v2', + '1.2.840.10045.3.0.3' => 'c2pnb163v3', + '1.2.840.10045.3.0.4' => 'c2pnb176w1', + '1.2.840.10045.3.0.5' => 'c2pnb191v1', + '1.2.840.10045.3.0.6' => 'c2pnb191v2', + '1.2.840.10045.3.0.7' => 'c2pnb191v3', + '1.2.840.10045.3.0.8' => 'c2pnb191v4', + '1.2.840.10045.3.0.9' => 'c2pnb191v5', + '1.2.840.10045.3.0.10' => 'c2pnb208w1', + '1.2.840.10045.3.0.11' => 'c2pnb239v1', + '1.2.840.10045.3.0.12' => 'c2pnb239v2', + '1.2.840.10045.3.0.13' => 'c2pnb239v3', + '1.2.840.10045.3.0.14' => 'c2pnb239v4', + '1.2.840.10045.3.0.15' => 'c2pnb239v5', + '1.2.840.10045.3.0.16' => 'c2pnb272w1', + '1.2.840.10045.3.0.17' => 'c2pnb304w1', + '1.2.840.10045.3.0.18' => 'c2pnb359v1', + '1.2.840.10045.3.0.19' => 'c2pnb368w1', + '1.2.840.10045.3.0.20' => 'c2pnb431r1', + '1.2.840.10045.3.1' => 'primeCurve', + '1.2.840.10045.3.1.1' => 'prime192v1', + '1.2.840.10045.3.1.2' => 'prime192v2', + '1.2.840.10045.3.1.3' => 'prime192v3', + '1.2.840.10045.3.1.4' => 'prime239v1', + '1.2.840.10045.3.1.5' => 'prime239v2', + '1.2.840.10045.3.1.6' => 'prime239v3', + '1.2.840.10045.3.1.7' => 'prime256v1', + '1.2.840.113549.1.1.7' => 'id-RSAES-OAEP', + '1.2.840.113549.1.1.9' => 'id-pSpecified', + '1.2.840.113549.1.1.10' => 'id-RSASSA-PSS', + '1.2.840.113549.1.1.8' => 'id-mgf1', + '1.2.840.113549.1.1.14' => 'sha224WithRSAEncryption', + '1.2.840.113549.1.1.11' => 'sha256WithRSAEncryption', + '1.2.840.113549.1.1.12' => 'sha384WithRSAEncryption', + '1.2.840.113549.1.1.13' => 'sha512WithRSAEncryption', + '2.16.840.1.101.3.4.2.4' => 'id-sha224', + '2.16.840.1.101.3.4.2.1' => 'id-sha256', + '2.16.840.1.101.3.4.2.2' => 'id-sha384', + '2.16.840.1.101.3.4.2.3' => 'id-sha512', + '1.2.643.2.2.4' => 'id-GostR3411-94-with-GostR3410-94', + '1.2.643.2.2.3' => 'id-GostR3411-94-with-GostR3410-2001', + '1.2.643.2.2.20' => 'id-GostR3410-2001', + '1.2.643.2.2.19' => 'id-GostR3410-94', + // Netscape Object Identifiers from "Netscape Certificate Extensions" + '2.16.840.1.113730' => 'netscape', + '2.16.840.1.113730.1' => 'netscape-cert-extension', + '2.16.840.1.113730.1.1' => 'netscape-cert-type', + '2.16.840.1.113730.1.13' => 'netscape-comment', + '2.16.840.1.113730.1.8' => 'netscape-ca-policy-url', + // the following are X.509 extensions not supported by phpseclib + '1.3.6.1.5.5.7.1.12' => 'id-pe-logotype', + '1.2.840.113533.7.65.0' => 'entrustVersInfo', + '2.16.840.1.113733.1.6.9' => 'verisignPrivate', + // for Certificate Signing Requests + // see http://tools.ietf.org/html/rfc2985 + '1.2.840.113549.1.9.2' => 'pkcs-9-at-unstructuredName', // PKCS #9 unstructured name + '1.2.840.113549.1.9.7' => 'pkcs-9-at-challengePassword', // Challenge password for certificate revocations + '1.2.840.113549.1.9.14' => 'pkcs-9-at-extensionRequest' // Certificate extension request + ); + } + + /** + * Load X.509 certificate + * + * Returns an associative array describing the X.509 cert or a false if the cert failed to load + * + * @param string $cert + * @param int $mode + * @access public + * @return mixed + */ + function loadX509($cert, $mode = self::FORMAT_AUTO_DETECT) + { + if (is_array($cert) && isset($cert['tbsCertificate'])) { + unset($this->currentCert); + unset($this->currentKeyIdentifier); + $this->dn = $cert['tbsCertificate']['subject']; + if (!isset($this->dn)) { + return false; + } + $this->currentCert = $cert; + + $currentKeyIdentifier = $this->getExtension('id-ce-subjectKeyIdentifier'); + $this->currentKeyIdentifier = is_string($currentKeyIdentifier) ? $currentKeyIdentifier : null; + + unset($this->signatureSubject); + + return $cert; + } + + $asn1 = new ASN1(); + + if ($mode != self::FORMAT_DER) { + $newcert = $this->_extractBER($cert); + if ($mode == self::FORMAT_PEM && $cert == $newcert) { + return false; + } + $cert = $newcert; + } + + if ($cert === false) { + $this->currentCert = false; + return false; + } + + $asn1->loadOIDs($this->oids); + $decoded = $asn1->decodeBER($cert); + + if (!empty($decoded)) { + $x509 = $asn1->asn1map($decoded[0], $this->Certificate); + } + if (!isset($x509) || $x509 === false) { + $this->currentCert = false; + return false; + } + + $this->signatureSubject = substr($cert, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']); + + if ($this->_isSubArrayValid($x509, 'tbsCertificate/extensions')) { + $this->_mapInExtensions($x509, 'tbsCertificate/extensions', $asn1); + } + $this->_mapInDNs($x509, 'tbsCertificate/issuer/rdnSequence', $asn1); + $this->_mapInDNs($x509, 'tbsCertificate/subject/rdnSequence', $asn1); + + $key = &$x509['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']; + $key = $this->_reformatKey($x509['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'], $key); + + $this->currentCert = $x509; + $this->dn = $x509['tbsCertificate']['subject']; + + $currentKeyIdentifier = $this->getExtension('id-ce-subjectKeyIdentifier'); + $this->currentKeyIdentifier = is_string($currentKeyIdentifier) ? $currentKeyIdentifier : null; + + return $x509; + } + + /** + * Save X.509 certificate + * + * @param array $cert + * @param int $format optional + * @access public + * @return string + */ + function saveX509($cert, $format = self::FORMAT_PEM) + { + if (!is_array($cert) || !isset($cert['tbsCertificate'])) { + return false; + } + + switch (true) { + // "case !$a: case !$b: break; default: whatever();" is the same thing as "if ($a && $b) whatever()" + case !($algorithm = $this->_subArray($cert, 'tbsCertificate/subjectPublicKeyInfo/algorithm/algorithm')): + case is_object($cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']): + break; + default: + switch ($algorithm) { + case 'rsaEncryption': + $cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'] + = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $cert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']))); + /* "[For RSA keys] the parameters field MUST have ASN.1 type NULL for this algorithm identifier." + -- https://tools.ietf.org/html/rfc3279#section-2.3.1 + + given that and the fact that RSA keys appear ot be the only key type for which the parameters field can be blank, + it seems like perhaps the ASN.1 description ought not say the parameters field is OPTIONAL, but whatever. + */ + $cert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['parameters'] = null; + // https://tools.ietf.org/html/rfc3279#section-2.2.1 + $cert['signatureAlgorithm']['parameters'] = null; + $cert['tbsCertificate']['signature']['parameters'] = null; + } + } + + $asn1 = new ASN1(); + $asn1->loadOIDs($this->oids); + + $filters = array(); + $type_utf8_string = array('type' => ASN1::TYPE_UTF8_STRING); + $filters['tbsCertificate']['signature']['parameters'] = $type_utf8_string; + $filters['tbsCertificate']['signature']['issuer']['rdnSequence']['value'] = $type_utf8_string; + $filters['tbsCertificate']['issuer']['rdnSequence']['value'] = $type_utf8_string; + $filters['tbsCertificate']['subject']['rdnSequence']['value'] = $type_utf8_string; + $filters['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['parameters'] = $type_utf8_string; + $filters['signatureAlgorithm']['parameters'] = $type_utf8_string; + $filters['authorityCertIssuer']['directoryName']['rdnSequence']['value'] = $type_utf8_string; + //$filters['policyQualifiers']['qualifier'] = $type_utf8_string; + $filters['distributionPoint']['fullName']['directoryName']['rdnSequence']['value'] = $type_utf8_string; + $filters['directoryName']['rdnSequence']['value'] = $type_utf8_string; + + /* in the case of policyQualifiers/qualifier, the type has to be \phpseclib\File\ASN1::TYPE_IA5_STRING. + \phpseclib\File\ASN1::TYPE_PRINTABLE_STRING will cause OpenSSL's X.509 parser to spit out random + characters. + */ + $filters['policyQualifiers']['qualifier'] + = array('type' => ASN1::TYPE_IA5_STRING); + + $asn1->loadFilters($filters); + + $this->_mapOutExtensions($cert, 'tbsCertificate/extensions', $asn1); + $this->_mapOutDNs($cert, 'tbsCertificate/issuer/rdnSequence', $asn1); + $this->_mapOutDNs($cert, 'tbsCertificate/subject/rdnSequence', $asn1); + + $cert = $asn1->encodeDER($cert, $this->Certificate); + + switch ($format) { + case self::FORMAT_DER: + return $cert; + // case self::FORMAT_PEM: + default: + return "-----BEGIN CERTIFICATE-----\r\n" . chunk_split(base64_encode($cert), 64) . '-----END CERTIFICATE-----'; + } + } + + /** + * Map extension values from octet string to extension-specific internal + * format. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapInExtensions(&$root, $path, $asn1) + { + $extensions = &$this->_subArrayUnchecked($root, $path); + + if ($extensions) { + for ($i = 0; $i < count($extensions); $i++) { + $id = $extensions[$i]['extnId']; + $value = &$extensions[$i]['extnValue']; + $value = base64_decode($value); + $decoded = $asn1->decodeBER($value); + /* [extnValue] contains the DER encoding of an ASN.1 value + corresponding to the extension type identified by extnID */ + $map = $this->_getMapping($id); + if (!is_bool($map)) { + $mapped = $asn1->asn1map($decoded[0], $map, array('iPAddress' => array($this, '_decodeIP'))); + $value = $mapped === false ? $decoded[0] : $mapped; + + if ($id == 'id-ce-certificatePolicies') { + for ($j = 0; $j < count($value); $j++) { + if (!isset($value[$j]['policyQualifiers'])) { + continue; + } + for ($k = 0; $k < count($value[$j]['policyQualifiers']); $k++) { + $subid = $value[$j]['policyQualifiers'][$k]['policyQualifierId']; + $map = $this->_getMapping($subid); + $subvalue = &$value[$j]['policyQualifiers'][$k]['qualifier']; + if ($map !== false) { + $decoded = $asn1->decodeBER($subvalue); + $mapped = $asn1->asn1map($decoded[0], $map); + $subvalue = $mapped === false ? $decoded[0] : $mapped; + } + } + } + } + } else { + $value = base64_encode($value); + } + } + } + } + + /** + * Map extension values from extension-specific internal format to + * octet string. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapOutExtensions(&$root, $path, $asn1) + { + $extensions = &$this->_subArray($root, $path); + + if (is_array($extensions)) { + $size = count($extensions); + for ($i = 0; $i < $size; $i++) { + if ($extensions[$i] instanceof Element) { + continue; + } + + $id = $extensions[$i]['extnId']; + $value = &$extensions[$i]['extnValue']; + + switch ($id) { + case 'id-ce-certificatePolicies': + for ($j = 0; $j < count($value); $j++) { + if (!isset($value[$j]['policyQualifiers'])) { + continue; + } + for ($k = 0; $k < count($value[$j]['policyQualifiers']); $k++) { + $subid = $value[$j]['policyQualifiers'][$k]['policyQualifierId']; + $map = $this->_getMapping($subid); + $subvalue = &$value[$j]['policyQualifiers'][$k]['qualifier']; + if ($map !== false) { + // by default \phpseclib\File\ASN1 will try to render qualifier as a \phpseclib\File\ASN1::TYPE_IA5_STRING since it's + // actual type is \phpseclib\File\ASN1::TYPE_ANY + $subvalue = new Element($asn1->encodeDER($subvalue, $map)); + } + } + } + break; + case 'id-ce-authorityKeyIdentifier': // use 00 as the serial number instead of an empty string + if (isset($value['authorityCertSerialNumber'])) { + if ($value['authorityCertSerialNumber']->toBytes() == '') { + $temp = chr((ASN1::CLASS_CONTEXT_SPECIFIC << 6) | 2) . "\1\0"; + $value['authorityCertSerialNumber'] = new Element($temp); + } + } + } + + /* [extnValue] contains the DER encoding of an ASN.1 value + corresponding to the extension type identified by extnID */ + $map = $this->_getMapping($id); + if (is_bool($map)) { + if (!$map) { + user_error($id . ' is not a currently supported extension'); + unset($extensions[$i]); + } + } else { + $temp = $asn1->encodeDER($value, $map, array('iPAddress' => array($this, '_encodeIP'))); + $value = base64_encode($temp); + } + } + } + } + + /** + * Map attribute values from ANY type to attribute-specific internal + * format. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapInAttributes(&$root, $path, $asn1) + { + $attributes = &$this->_subArray($root, $path); + + if (is_array($attributes)) { + for ($i = 0; $i < count($attributes); $i++) { + $id = $attributes[$i]['type']; + /* $value contains the DER encoding of an ASN.1 value + corresponding to the attribute type identified by type */ + $map = $this->_getMapping($id); + if (is_array($attributes[$i]['value'])) { + $values = &$attributes[$i]['value']; + for ($j = 0; $j < count($values); $j++) { + $value = $asn1->encodeDER($values[$j], $this->AttributeValue); + $decoded = $asn1->decodeBER($value); + if (!is_bool($map)) { + $mapped = $asn1->asn1map($decoded[0], $map); + if ($mapped !== false) { + $values[$j] = $mapped; + } + if ($id == 'pkcs-9-at-extensionRequest' && $this->_isSubArrayValid($values, $j)) { + $this->_mapInExtensions($values, $j, $asn1); + } + } elseif ($map) { + $values[$j] = base64_encode($value); + } + } + } + } + } + } + + /** + * Map attribute values from attribute-specific internal format to + * ANY type. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapOutAttributes(&$root, $path, $asn1) + { + $attributes = &$this->_subArray($root, $path); + + if (is_array($attributes)) { + $size = count($attributes); + for ($i = 0; $i < $size; $i++) { + /* [value] contains the DER encoding of an ASN.1 value + corresponding to the attribute type identified by type */ + $id = $attributes[$i]['type']; + $map = $this->_getMapping($id); + if ($map === false) { + user_error($id . ' is not a currently supported attribute', E_USER_NOTICE); + unset($attributes[$i]); + } elseif (is_array($attributes[$i]['value'])) { + $values = &$attributes[$i]['value']; + for ($j = 0; $j < count($values); $j++) { + switch ($id) { + case 'pkcs-9-at-extensionRequest': + $this->_mapOutExtensions($values, $j, $asn1); + break; + } + + if (!is_bool($map)) { + $temp = $asn1->encodeDER($values[$j], $map); + $decoded = $asn1->decodeBER($temp); + $values[$j] = $asn1->asn1map($decoded[0], $this->AttributeValue); + } + } + } + } + } + } + + /** + * Map DN values from ANY type to DN-specific internal + * format. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapInDNs(&$root, $path, $asn1) + { + $dns = &$this->_subArray($root, $path); + + if (is_array($dns)) { + for ($i = 0; $i < count($dns); $i++) { + for ($j = 0; $j < count($dns[$i]); $j++) { + $type = $dns[$i][$j]['type']; + $value = &$dns[$i][$j]['value']; + if (is_object($value) && $value instanceof Element) { + $map = $this->_getMapping($type); + if (!is_bool($map)) { + $decoded = $asn1->decodeBER($value); + $value = $asn1->asn1map($decoded[0], $map); + } + } + } + } + } + } + + /** + * Map DN values from DN-specific internal format to + * ANY type. + * + * @param array ref $root + * @param string $path + * @param object $asn1 + * @access private + */ + function _mapOutDNs(&$root, $path, $asn1) + { + $dns = &$this->_subArray($root, $path); + + if (is_array($dns)) { + $size = count($dns); + for ($i = 0; $i < $size; $i++) { + for ($j = 0; $j < count($dns[$i]); $j++) { + $type = $dns[$i][$j]['type']; + $value = &$dns[$i][$j]['value']; + if (is_object($value) && $value instanceof Element) { + continue; + } + + $map = $this->_getMapping($type); + if (!is_bool($map)) { + $value = new Element($asn1->encodeDER($value, $map)); + } + } + } + } + } + + /** + * Associate an extension ID to an extension mapping + * + * @param string $extnId + * @access private + * @return mixed + */ + function _getMapping($extnId) + { + if (!is_string($extnId)) { // eg. if it's a \phpseclib\File\ASN1\Element object + return true; + } + + switch ($extnId) { + case 'id-ce-keyUsage': + return $this->KeyUsage; + case 'id-ce-basicConstraints': + return $this->BasicConstraints; + case 'id-ce-subjectKeyIdentifier': + return $this->KeyIdentifier; + case 'id-ce-cRLDistributionPoints': + return $this->CRLDistributionPoints; + case 'id-ce-authorityKeyIdentifier': + return $this->AuthorityKeyIdentifier; + case 'id-ce-certificatePolicies': + return $this->CertificatePolicies; + case 'id-ce-extKeyUsage': + return $this->ExtKeyUsageSyntax; + case 'id-pe-authorityInfoAccess': + return $this->AuthorityInfoAccessSyntax; + case 'id-ce-subjectAltName': + return $this->SubjectAltName; + case 'id-ce-subjectDirectoryAttributes': + return $this->SubjectDirectoryAttributes; + case 'id-ce-privateKeyUsagePeriod': + return $this->PrivateKeyUsagePeriod; + case 'id-ce-issuerAltName': + return $this->IssuerAltName; + case 'id-ce-policyMappings': + return $this->PolicyMappings; + case 'id-ce-nameConstraints': + return $this->NameConstraints; + + case 'netscape-cert-type': + return $this->netscape_cert_type; + case 'netscape-comment': + return $this->netscape_comment; + case 'netscape-ca-policy-url': + return $this->netscape_ca_policy_url; + + // since id-qt-cps isn't a constructed type it will have already been decoded as a string by the time it gets + // back around to asn1map() and we don't want it decoded again. + //case 'id-qt-cps': + // return $this->CPSuri; + case 'id-qt-unotice': + return $this->UserNotice; + + // the following OIDs are unsupported but we don't want them to give notices when calling saveX509(). + case 'id-pe-logotype': // http://www.ietf.org/rfc/rfc3709.txt + case 'entrustVersInfo': + // http://support.microsoft.com/kb/287547 + case '1.3.6.1.4.1.311.20.2': // szOID_ENROLL_CERTTYPE_EXTENSION + case '1.3.6.1.4.1.311.21.1': // szOID_CERTSRV_CA_VERSION + // "SET Secure Electronic Transaction Specification" + // http://www.maithean.com/docs/set_bk3.pdf + case '2.23.42.7.0': // id-set-hashedRootKey + // "Certificate Transparency" + // https://tools.ietf.org/html/rfc6962 + case '1.3.6.1.4.1.11129.2.4.2': + return true; + + // CSR attributes + case 'pkcs-9-at-unstructuredName': + return $this->PKCS9String; + case 'pkcs-9-at-challengePassword': + return $this->DirectoryString; + case 'pkcs-9-at-extensionRequest': + return $this->Extensions; + + // CRL extensions. + case 'id-ce-cRLNumber': + return $this->CRLNumber; + case 'id-ce-deltaCRLIndicator': + return $this->CRLNumber; + case 'id-ce-issuingDistributionPoint': + return $this->IssuingDistributionPoint; + case 'id-ce-freshestCRL': + return $this->CRLDistributionPoints; + case 'id-ce-cRLReasons': + return $this->CRLReason; + case 'id-ce-invalidityDate': + return $this->InvalidityDate; + case 'id-ce-certificateIssuer': + return $this->CertificateIssuer; + case 'id-ce-holdInstructionCode': + return $this->HoldInstructionCode; + case 'id-at-postalAddress': + return $this->PostalAddress; + } + + return false; + } + + /** + * Load an X.509 certificate as a certificate authority + * + * @param string $cert + * @access public + * @return bool + */ + function loadCA($cert) + { + $olddn = $this->dn; + $oldcert = $this->currentCert; + $oldsigsubj = $this->signatureSubject; + $oldkeyid = $this->currentKeyIdentifier; + + $cert = $this->loadX509($cert); + if (!$cert) { + $this->dn = $olddn; + $this->currentCert = $oldcert; + $this->signatureSubject = $oldsigsubj; + $this->currentKeyIdentifier = $oldkeyid; + + return false; + } + + /* From RFC5280 "PKIX Certificate and CRL Profile": + + If the keyUsage extension is present, then the subject public key + MUST NOT be used to verify signatures on certificates or CRLs unless + the corresponding keyCertSign or cRLSign bit is set. */ + //$keyUsage = $this->getExtension('id-ce-keyUsage'); + //if ($keyUsage && !in_array('keyCertSign', $keyUsage)) { + // return false; + //} + + /* From RFC5280 "PKIX Certificate and CRL Profile": + + The cA boolean indicates whether the certified public key may be used + to verify certificate signatures. If the cA boolean is not asserted, + then the keyCertSign bit in the key usage extension MUST NOT be + asserted. If the basic constraints extension is not present in a + version 3 certificate, or the extension is present but the cA boolean + is not asserted, then the certified public key MUST NOT be used to + verify certificate signatures. */ + //$basicConstraints = $this->getExtension('id-ce-basicConstraints'); + //if (!$basicConstraints || !$basicConstraints['cA']) { + // return false; + //} + + $this->CAs[] = $cert; + + $this->dn = $olddn; + $this->currentCert = $oldcert; + $this->signatureSubject = $oldsigsubj; + + return true; + } + + /** + * Validate an X.509 certificate against a URL + * + * From RFC2818 "HTTP over TLS": + * + * Matching is performed using the matching rules specified by + * [RFC2459]. If more than one identity of a given type is present in + * the certificate (e.g., more than one dNSName name, a match in any one + * of the set is considered acceptable.) Names may contain the wildcard + * character * which is considered to match any single domain name + * component or component fragment. E.g., *.a.com matches foo.a.com but + * not bar.foo.a.com. f*.com matches foo.com but not bar.com. + * + * @param string $url + * @access public + * @return bool + */ + function validateURL($url) + { + if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) { + return false; + } + + $components = parse_url($url); + if (!isset($components['host'])) { + return false; + } + + if ($names = $this->getExtension('id-ce-subjectAltName')) { + foreach ($names as $key => $value) { + $value = str_replace(array('.', '*'), array('\.', '[^.]*'), $value); + switch ($key) { + case 'dNSName': + /* From RFC2818 "HTTP over TLS": + + If a subjectAltName extension of type dNSName is present, that MUST + be used as the identity. Otherwise, the (most specific) Common Name + field in the Subject field of the certificate MUST be used. Although + the use of the Common Name is existing practice, it is deprecated and + Certification Authorities are encouraged to use the dNSName instead. */ + if (preg_match('#^' . $value . '$#', $components['host'])) { + return true; + } + break; + case 'iPAddress': + /* From RFC2818 "HTTP over TLS": + + In some cases, the URI is specified as an IP address rather than a + hostname. In this case, the iPAddress subjectAltName must be present + in the certificate and must exactly match the IP in the URI. */ + if (preg_match('#(?:\d{1-3}\.){4}#', $components['host'] . '.') && preg_match('#^' . $value . '$#', $components['host'])) { + return true; + } + } + } + return false; + } + + if ($value = $this->getDNProp('id-at-commonName')) { + $value = str_replace(array('.', '*'), array('\.', '[^.]*'), $value[0]); + return preg_match('#^' . $value . '$#', $components['host']); + } + + return false; + } + + /** + * Validate a date + * + * If $date isn't defined it is assumed to be the current date. + * + * @param int $date optional + * @access public + */ + function validateDate($date = null) + { + if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) { + return false; + } + + if (!isset($date)) { + $date = time(); + } + + $notBefore = $this->currentCert['tbsCertificate']['validity']['notBefore']; + $notBefore = isset($notBefore['generalTime']) ? $notBefore['generalTime'] : $notBefore['utcTime']; + + $notAfter = $this->currentCert['tbsCertificate']['validity']['notAfter']; + $notAfter = isset($notAfter['generalTime']) ? $notAfter['generalTime'] : $notAfter['utcTime']; + + switch (true) { + case $date < @strtotime($notBefore): + case $date > @strtotime($notAfter): + return false; + } + + return true; + } + + /** + * Validate a signature + * + * Works on X.509 certs, CSR's and CRL's. + * Returns true if the signature is verified, false if it is not correct or null on error + * + * By default returns false for self-signed certs. Call validateSignature(false) to make this support + * self-signed. + * + * The behavior of this function is inspired by {@link http://php.net/openssl-verify openssl_verify}. + * + * @param bool $caonly optional + * @access public + * @return mixed + */ + function validateSignature($caonly = true) + { + if (!is_array($this->currentCert) || !isset($this->signatureSubject)) { + return null; + } + + /* TODO: + "emailAddress attribute values are not case-sensitive (e.g., "subscriber@example.com" is the same as "SUBSCRIBER@EXAMPLE.COM")." + -- http://tools.ietf.org/html/rfc5280#section-4.1.2.6 + + implement pathLenConstraint in the id-ce-basicConstraints extension */ + + switch (true) { + case isset($this->currentCert['tbsCertificate']): + // self-signed cert + switch (true) { + case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertificate']['issuer'] === $this->currentCert['tbsCertificate']['subject']: + case defined('FILE_X509_IGNORE_TYPE') && $this->getIssuerDN(self::DN_STRING) === $this->getDN(self::DN_STRING): + $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier'); + $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier'); + switch (true) { + case !is_array($authorityKey): + case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID: + $signingCert = $this->currentCert; // working cert + } + } + + if (!empty($this->CAs)) { + for ($i = 0; $i < count($this->CAs); $i++) { + // even if the cert is a self-signed one we still want to see if it's a CA; + // if not, we'll conditionally return an error + $ca = $this->CAs[$i]; + switch (true) { + case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertificate']['issuer'] === $ca['tbsCertificate']['subject']: + case defined('FILE_X509_IGNORE_TYPE') && $this->getDN(self::DN_STRING, $this->currentCert['tbsCertificate']['issuer']) === $this->getDN(self::DN_STRING, $ca['tbsCertificate']['subject']): + $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier'); + $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca); + switch (true) { + case !is_array($authorityKey): + case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID: + $signingCert = $ca; // working cert + break 3; + } + } + } + if (count($this->CAs) == $i && $caonly) { + return false; + } + } elseif (!isset($signingCert) || $caonly) { + return false; + } + return $this->_validateSignature( + $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'], + $signingCert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'], + $this->currentCert['signatureAlgorithm']['algorithm'], + substr(base64_decode($this->currentCert['signature']), 1), + $this->signatureSubject + ); + case isset($this->currentCert['certificationRequestInfo']): + return $this->_validateSignature( + $this->currentCert['certificationRequestInfo']['subjectPKInfo']['algorithm']['algorithm'], + $this->currentCert['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'], + $this->currentCert['signatureAlgorithm']['algorithm'], + substr(base64_decode($this->currentCert['signature']), 1), + $this->signatureSubject + ); + case isset($this->currentCert['publicKeyAndChallenge']): + return $this->_validateSignature( + $this->currentCert['publicKeyAndChallenge']['spki']['algorithm']['algorithm'], + $this->currentCert['publicKeyAndChallenge']['spki']['subjectPublicKey'], + $this->currentCert['signatureAlgorithm']['algorithm'], + substr(base64_decode($this->currentCert['signature']), 1), + $this->signatureSubject + ); + case isset($this->currentCert['tbsCertList']): + if (!empty($this->CAs)) { + for ($i = 0; $i < count($this->CAs); $i++) { + $ca = $this->CAs[$i]; + switch (true) { + case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertList']['issuer'] === $ca['tbsCertificate']['subject']: + case defined('FILE_X509_IGNORE_TYPE') && $this->getDN(self::DN_STRING, $this->currentCert['tbsCertList']['issuer']) === $this->getDN(self::DN_STRING, $ca['tbsCertificate']['subject']): + $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier'); + $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca); + switch (true) { + case !is_array($authorityKey): + case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID: + $signingCert = $ca; // working cert + break 3; + } + } + } + } + if (!isset($signingCert)) { + return false; + } + return $this->_validateSignature( + $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'], + $signingCert['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'], + $this->currentCert['signatureAlgorithm']['algorithm'], + substr(base64_decode($this->currentCert['signature']), 1), + $this->signatureSubject + ); + default: + return false; + } + } + + /** + * Validates a signature + * + * Returns true if the signature is verified, false if it is not correct or null on error + * + * @param string $publicKeyAlgorithm + * @param string $publicKey + * @param string $signatureAlgorithm + * @param string $signature + * @param string $signatureSubject + * @access private + * @return int + */ + function _validateSignature($publicKeyAlgorithm, $publicKey, $signatureAlgorithm, $signature, $signatureSubject) + { + switch ($publicKeyAlgorithm) { + case 'rsaEncryption': + $rsa = new RSA(); + $rsa->loadKey($publicKey); + + switch ($signatureAlgorithm) { + case 'md2WithRSAEncryption': + case 'md5WithRSAEncryption': + case 'sha1WithRSAEncryption': + case 'sha224WithRSAEncryption': + case 'sha256WithRSAEncryption': + case 'sha384WithRSAEncryption': + case 'sha512WithRSAEncryption': + $rsa->setHash(preg_replace('#WithRSAEncryption$#', '', $signatureAlgorithm)); + $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1); + if (!@$rsa->verify($signatureSubject, $signature)) { + return false; + } + break; + default: + return null; + } + break; + default: + return null; + } + + return true; + } + + /** + * Reformat public keys + * + * Reformats a public key to a format supported by phpseclib (if applicable) + * + * @param string $algorithm + * @param string $key + * @access private + * @return string + */ + function _reformatKey($algorithm, $key) + { + switch ($algorithm) { + case 'rsaEncryption': + return + "-----BEGIN RSA PUBLIC KEY-----\r\n" . + // subjectPublicKey is stored as a bit string in X.509 certs. the first byte of a bit string represents how many bits + // in the last byte should be ignored. the following only supports non-zero stuff but as none of the X.509 certs Firefox + // uses as a cert authority actually use a non-zero bit I think it's safe to assume that none do. + chunk_split(base64_encode(substr(base64_decode($key), 1)), 64) . + '-----END RSA PUBLIC KEY-----'; + default: + return $key; + } + } + + /** + * Decodes an IP address + * + * Takes in a base64 encoded "blob" and returns a human readable IP address + * + * @param string $ip + * @access private + * @return string + */ + function _decodeIP($ip) + { + return inet_ntop(base64_decode($ip)); + } + + /** + * Encodes an IP address + * + * Takes a human readable IP address into a base64-encoded "blob" + * + * @param string $ip + * @access private + * @return string + */ + function _encodeIP($ip) + { + return base64_encode(inet_pton($ip)); + } + + /** + * "Normalizes" a Distinguished Name property + * + * @param string $propName + * @access private + * @return mixed + */ + function _translateDNProp($propName) + { + switch (strtolower($propName)) { + case 'id-at-countryname': + case 'countryname': + case 'c': + return 'id-at-countryName'; + case 'id-at-organizationname': + case 'organizationname': + case 'o': + return 'id-at-organizationName'; + case 'id-at-dnqualifier': + case 'dnqualifier': + return 'id-at-dnQualifier'; + case 'id-at-commonname': + case 'commonname': + case 'cn': + return 'id-at-commonName'; + case 'id-at-stateorprovincename': + case 'stateorprovincename': + case 'state': + case 'province': + case 'provincename': + case 'st': + return 'id-at-stateOrProvinceName'; + case 'id-at-localityname': + case 'localityname': + case 'l': + return 'id-at-localityName'; + case 'id-emailaddress': + case 'emailaddress': + return 'pkcs-9-at-emailAddress'; + case 'id-at-serialnumber': + case 'serialnumber': + return 'id-at-serialNumber'; + case 'id-at-postalcode': + case 'postalcode': + return 'id-at-postalCode'; + case 'id-at-streetaddress': + case 'streetaddress': + return 'id-at-streetAddress'; + case 'id-at-name': + case 'name': + return 'id-at-name'; + case 'id-at-givenname': + case 'givenname': + return 'id-at-givenName'; + case 'id-at-surname': + case 'surname': + case 'sn': + return 'id-at-surname'; + case 'id-at-initials': + case 'initials': + return 'id-at-initials'; + case 'id-at-generationqualifier': + case 'generationqualifier': + return 'id-at-generationQualifier'; + case 'id-at-organizationalunitname': + case 'organizationalunitname': + case 'ou': + return 'id-at-organizationalUnitName'; + case 'id-at-pseudonym': + case 'pseudonym': + return 'id-at-pseudonym'; + case 'id-at-title': + case 'title': + return 'id-at-title'; + case 'id-at-description': + case 'description': + return 'id-at-description'; + case 'id-at-role': + case 'role': + return 'id-at-role'; + case 'id-at-uniqueidentifier': + case 'uniqueidentifier': + case 'x500uniqueidentifier': + return 'id-at-uniqueIdentifier'; + case 'postaladdress': + case 'id-at-postaladdress': + return 'id-at-postalAddress'; + default: + return false; + } + } + + /** + * Set a Distinguished Name property + * + * @param string $propName + * @param mixed $propValue + * @param string $type optional + * @access public + * @return bool + */ + function setDNProp($propName, $propValue, $type = 'utf8String') + { + if (empty($this->dn)) { + $this->dn = array('rdnSequence' => array()); + } + + if (($propName = $this->_translateDNProp($propName)) === false) { + return false; + } + + foreach ((array) $propValue as $v) { + if (!is_array($v) && isset($type)) { + $v = array($type => $v); + } + $this->dn['rdnSequence'][] = array( + array( + 'type' => $propName, + 'value'=> $v + ) + ); + } + + return true; + } + + /** + * Remove Distinguished Name properties + * + * @param string $propName + * @access public + */ + function removeDNProp($propName) + { + if (empty($this->dn)) { + return; + } + + if (($propName = $this->_translateDNProp($propName)) === false) { + return; + } + + $dn = &$this->dn['rdnSequence']; + $size = count($dn); + for ($i = 0; $i < $size; $i++) { + if ($dn[$i][0]['type'] == $propName) { + unset($dn[$i]); + } + } + + $dn = array_values($dn); + } + + /** + * Get Distinguished Name properties + * + * @param string $propName + * @param array $dn optional + * @param bool $withType optional + * @return mixed + * @access public + */ + function getDNProp($propName, $dn = null, $withType = false) + { + if (!isset($dn)) { + $dn = $this->dn; + } + + if (empty($dn)) { + return false; + } + + if (($propName = $this->_translateDNProp($propName)) === false) { + return false; + } + + $asn1 = new ASN1(); + $asn1->loadOIDs($this->oids); + $filters = array(); + $filters['value'] = array('type' => ASN1::TYPE_UTF8_STRING); + $asn1->loadFilters($filters); + $this->_mapOutDNs($dn, 'rdnSequence', $asn1); + $dn = $dn['rdnSequence']; + $result = array(); + for ($i = 0; $i < count($dn); $i++) { + if ($dn[$i][0]['type'] == $propName) { + $v = $dn[$i][0]['value']; + if (!$withType) { + if (is_array($v)) { + foreach ($v as $type => $s) { + $type = array_search($type, $asn1->ANYmap, true); + if ($type !== false && isset($asn1->stringTypeSize[$type])) { + $s = $asn1->convert($s, $type); + if ($s !== false) { + $v = $s; + break; + } + } + } + if (is_array($v)) { + $v = array_pop($v); // Always strip data type. + } + } elseif (is_object($v) && $v instanceof Element) { + $map = $this->_getMapping($propName); + if (!is_bool($map)) { + $decoded = $asn1->decodeBER($v); + $v = $asn1->asn1map($decoded[0], $map); + } + } + } + $result[] = $v; + } + } + + return $result; + } + + /** + * Set a Distinguished Name + * + * @param mixed $dn + * @param bool $merge optional + * @param string $type optional + * @access public + * @return bool + */ + function setDN($dn, $merge = false, $type = 'utf8String') + { + if (!$merge) { + $this->dn = null; + } + + if (is_array($dn)) { + if (isset($dn['rdnSequence'])) { + $this->dn = $dn; // No merge here. + return true; + } + + // handles stuff generated by openssl_x509_parse() + foreach ($dn as $prop => $value) { + if (!$this->setDNProp($prop, $value, $type)) { + return false; + } + } + return true; + } + + // handles everything else + $results = preg_split('#((?:^|, *|/)(?:C=|O=|OU=|CN=|L=|ST=|SN=|postalCode=|streetAddress=|emailAddress=|serialNumber=|organizationalUnitName=|title=|description=|role=|x500UniqueIdentifier=|postalAddress=))#', $dn, -1, PREG_SPLIT_DELIM_CAPTURE); + for ($i = 1; $i < count($results); $i+=2) { + $prop = trim($results[$i], ', =/'); + $value = $results[$i + 1]; + if (!$this->setDNProp($prop, $value, $type)) { + return false; + } + } + + return true; + } + + /** + * Get the Distinguished Name for a certificates subject + * + * @param mixed $format optional + * @param array $dn optional + * @access public + * @return bool + */ + function getDN($format = self::DN_ARRAY, $dn = null) + { + if (!isset($dn)) { + $dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn; + } + + switch ((int) $format) { + case self::DN_ARRAY: + return $dn; + case self::DN_ASN1: + $asn1 = new ASN1(); + $asn1->loadOIDs($this->oids); + $filters = array(); + $filters['rdnSequence']['value'] = array('type' => ASN1::TYPE_UTF8_STRING); + $asn1->loadFilters($filters); + $this->_mapOutDNs($dn, 'rdnSequence', $asn1); + return $asn1->encodeDER($dn, $this->Name); + case self::DN_CANON: + // No SEQUENCE around RDNs and all string values normalized as + // trimmed lowercase UTF-8 with all spacing as one blank. + // constructed RDNs will not be canonicalized + $asn1 = new ASN1(); + $asn1->loadOIDs($this->oids); + $filters = array(); + $filters['value'] = array('type' => ASN1::TYPE_UTF8_STRING); + $asn1->loadFilters($filters); + $result = ''; + $this->_mapOutDNs($dn, 'rdnSequence', $asn1); + foreach ($dn['rdnSequence'] as $rdn) { + foreach ($rdn as $i => $attr) { + $attr = &$rdn[$i]; + if (is_array($attr['value'])) { + foreach ($attr['value'] as $type => $v) { + $type = array_search($type, $asn1->ANYmap, true); + if ($type !== false && isset($asn1->stringTypeSize[$type])) { + $v = $asn1->convert($v, $type); + if ($v !== false) { + $v = preg_replace('/\s+/', ' ', $v); + $attr['value'] = strtolower(trim($v)); + break; + } + } + } + } + } + $result .= $asn1->encodeDER($rdn, $this->RelativeDistinguishedName); + } + return $result; + case self::DN_HASH: + $dn = $this->getDN(self::DN_CANON, $dn); + $hash = new Hash('sha1'); + $hash = $hash->hash($dn); + extract(unpack('Vhash', $hash)); + return strtolower(bin2hex(pack('N', $hash))); + } + + // Default is to return a string. + $start = true; + $output = ''; + + $result = array(); + $asn1 = new ASN1(); + $asn1->loadOIDs($this->oids); + $filters = array(); + $filters['rdnSequence']['value'] = array('type' => ASN1::TYPE_UTF8_STRING); + $asn1->loadFilters($filters); + $this->_mapOutDNs($dn, 'rdnSequence', $asn1); + + foreach ($dn['rdnSequence'] as $field) { + $prop = $field[0]['type']; + $value = $field[0]['value']; + + $delim = ', '; + switch ($prop) { + case 'id-at-countryName': + $desc = 'C'; + break; + case 'id-at-stateOrProvinceName': + $desc = 'ST'; + break; + case 'id-at-organizationName': + $desc = 'O'; + break; + case 'id-at-organizationalUnitName': + $desc = 'OU'; + break; + case 'id-at-commonName': + $desc = 'CN'; + break; + case 'id-at-localityName': + $desc = 'L'; + break; + case 'id-at-surname': + $desc = 'SN'; + break; + case 'id-at-uniqueIdentifier': + $delim = '/'; + $desc = 'x500UniqueIdentifier'; + break; + case 'id-at-postalAddress': + $delim = '/'; + $desc = 'postalAddress'; + break; + default: + $delim = '/'; + $desc = preg_replace('#.+-([^-]+)$#', '$1', $prop); + } + + if (!$start) { + $output.= $delim; + } + if (is_array($value)) { + foreach ($value as $type => $v) { + $type = array_search($type, $asn1->ANYmap, true); + if ($type !== false && isset($asn1->stringTypeSize[$type])) { + $v = $asn1->convert($v, $type); + if ($v !== false) { + $value = $v; + break; + } + } + } + if (is_array($value)) { + $value = array_pop($value); // Always strip data type. + } + } elseif (is_object($value) && $value instanceof Element) { + $callback = create_function('$x', 'return "\x" . bin2hex($x[0]);'); + $value = strtoupper(preg_replace_callback('#[^\x20-\x7E]#', $callback, $value->element)); + } + $output.= $desc . '=' . $value; + $result[$desc] = isset($result[$desc]) ? + array_merge((array) $dn[$prop], array($value)) : + $value; + $start = false; + } + + return $format == self::DN_OPENSSL ? $result : $output; + } + + /** + * Get the Distinguished Name for a certificate/crl issuer + * + * @param int $format optional + * @access public + * @return mixed + */ + function getIssuerDN($format = self::DN_ARRAY) + { + switch (true) { + case !isset($this->currentCert) || !is_array($this->currentCert): + break; + case isset($this->currentCert['tbsCertificate']): + return $this->getDN($format, $this->currentCert['tbsCertificate']['issuer']); + case isset($this->currentCert['tbsCertList']): + return $this->getDN($format, $this->currentCert['tbsCertList']['issuer']); + } + + return false; + } + + /** + * Get the Distinguished Name for a certificate/csr subject + * Alias of getDN() + * + * @param int $format optional + * @access public + * @return mixed + */ + function getSubjectDN($format = self::DN_ARRAY) + { + switch (true) { + case !empty($this->dn): + return $this->getDN($format); + case !isset($this->currentCert) || !is_array($this->currentCert): + break; + case isset($this->currentCert['tbsCertificate']): + return $this->getDN($format, $this->currentCert['tbsCertificate']['subject']); + case isset($this->currentCert['certificationRequestInfo']): + return $this->getDN($format, $this->currentCert['certificationRequestInfo']['subject']); + } + + return false; + } + + /** + * Get an individual Distinguished Name property for a certificate/crl issuer + * + * @param string $propName + * @param bool $withType optional + * @access public + * @return mixed + */ + function getIssuerDNProp($propName, $withType = false) + { + switch (true) { + case !isset($this->currentCert) || !is_array($this->currentCert): + break; + case isset($this->currentCert['tbsCertificate']): + return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['issuer'], $withType); + case isset($this->currentCert['tbsCertList']): + return $this->getDNProp($propName, $this->currentCert['tbsCertList']['issuer'], $withType); + } + + return false; + } + + /** + * Get an individual Distinguished Name property for a certificate/csr subject + * + * @param string $propName + * @param bool $withType optional + * @access public + * @return mixed + */ + function getSubjectDNProp($propName, $withType = false) + { + switch (true) { + case !empty($this->dn): + return $this->getDNProp($propName, null, $withType); + case !isset($this->currentCert) || !is_array($this->currentCert): + break; + case isset($this->currentCert['tbsCertificate']): + return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['subject'], $withType); + case isset($this->currentCert['certificationRequestInfo']): + return $this->getDNProp($propName, $this->currentCert['certificationRequestInfo']['subject'], $withType); + } + + return false; + } + + /** + * Get the certificate chain for the current cert + * + * @access public + * @return mixed + */ + function getChain() + { + $chain = array($this->currentCert); + + if (!is_array($this->currentCert) || !isset($this->currentCert['tbsCertificate'])) { + return false; + } + if (empty($this->CAs)) { + return $chain; + } + while (true) { + $currentCert = $chain[count($chain) - 1]; + for ($i = 0; $i < count($this->CAs); $i++) { + $ca = $this->CAs[$i]; + if ($currentCert['tbsCertificate']['issuer'] === $ca['tbsCertificate']['subject']) { + $authorityKey = $this->getExtension('id-ce-authorityKeyIdentifier', $currentCert); + $subjectKeyID = $this->getExtension('id-ce-subjectKeyIdentifier', $ca); + switch (true) { + case !is_array($authorityKey): + case is_array($authorityKey) && isset($authorityKey['keyIdentifier']) && $authorityKey['keyIdentifier'] === $subjectKeyID: + if ($currentCert === $ca) { + break 3; + } + $chain[] = $ca; + break 2; + } + } + } + if ($i == count($this->CAs)) { + break; + } + } + foreach ($chain as $key => $value) { + $chain[$key] = new X509(); + $chain[$key]->loadX509($value); + } + return $chain; + } + + /** + * Set public key + * + * Key needs to be a \phpseclib\Crypt\RSA object + * + * @param object $key + * @access public + * @return bool + */ + function setPublicKey($key) + { + $key->setPublicKey(); + $this->publicKey = $key; + } + + /** + * Set private key + * + * Key needs to be a \phpseclib\Crypt\RSA object + * + * @param object $key + * @access public + */ + function setPrivateKey($key) + { + $this->privateKey = $key; + } + + /** + * Set challenge + * + * Used for SPKAC CSR's + * + * @param string $challenge + * @access public + */ + function setChallenge($challenge) + { + $this->challenge = $challenge; + } + + /** + * Gets the public key + * + * Returns a \phpseclib\Crypt\RSA object or a false. + * + * @access public + * @return mixed + */ + function getPublicKey() + { + if (isset($this->publicKey)) { + return $this->publicKey; + } + + if (isset($this->currentCert) && is_array($this->currentCert)) { + foreach (array('tbsCertificate/subjectPublicKeyInfo', 'certificationRequestInfo/subjectPKInfo') as $path) { + $keyinfo = $this->_subArray($this->currentCert, $path); + if (!empty($keyinfo)) { + break; + } + } + } + if (empty($keyinfo)) { + return false; + } + + $key = $keyinfo['subjectPublicKey']; + + switch ($keyinfo['algorithm']['algorithm']) { + case 'rsaEncryption': + $publicKey = new RSA(); + $publicKey->loadKey($key); + $publicKey->setPublicKey(); + break; + default: + return false; + } + + return $publicKey; + } + + /** + * Load a Certificate Signing Request + * + * @param string $csr + * @access public + * @return mixed + */ + function loadCSR($csr, $mode = self::FORMAT_AUTO_DETECT) + { + if (is_array($csr) && isset($csr['certificationRequestInfo'])) { + unset($this->currentCert); + unset($this->currentKeyIdentifier); + unset($this->signatureSubject); + $this->dn = $csr['certificationRequestInfo']['subject']; + if (!isset($this->dn)) { + return false; + } + + $this->currentCert = $csr; + return $csr; + } + + // see http://tools.ietf.org/html/rfc2986 + + $asn1 = new ASN1(); + + if ($mode != self::FORMAT_DER) { + $newcsr = $this->_extractBER($csr); + if ($mode == self::FORMAT_PEM && $csr == $newcsr) { + return false; + } + $csr = $newcsr; + } + $orig = $csr; + + if ($csr === false) { + $this->currentCert = false; + return false; + } + + $asn1->loadOIDs($this->oids); + $decoded = $asn1->decodeBER($csr); + + if (empty($decoded)) { + $this->currentCert = false; + return false; + } + + $csr = $asn1->asn1map($decoded[0], $this->CertificationRequest); + if (!isset($csr) || $csr === false) { + $this->currentCert = false; + return false; + } + + $this->_mapInAttributes($csr, 'certificationRequestInfo/attributes', $asn1); + $this->_mapInDNs($csr, 'certificationRequestInfo/subject/rdnSequence', $asn1); + + $this->dn = $csr['certificationRequestInfo']['subject']; + + $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']); + + $algorithm = &$csr['certificationRequestInfo']['subjectPKInfo']['algorithm']['algorithm']; + $key = &$csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']; + $key = $this->_reformatKey($algorithm, $key); + + switch ($algorithm) { + case 'rsaEncryption': + $this->publicKey = new RSA(); + $this->publicKey->loadKey($key); + $this->publicKey->setPublicKey(); + break; + default: + $this->publicKey = null; + } + + $this->currentKeyIdentifier = null; + $this->currentCert = $csr; + + return $csr; + } + + /** + * Save CSR request + * + * @param array $csr + * @param int $format optional + * @access public + * @return string + */ + function saveCSR($csr, $format = self::FORMAT_PEM) + { + if (!is_array($csr) || !isset($csr['certificationRequestInfo'])) { + return false; + } + + switch (true) { + case !($algorithm = $this->_subArray($csr, 'certificationRequestInfo/subjectPKInfo/algorithm/algorithm')): + case is_object($csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']): + break; + default: + switch ($algorithm) { + case 'rsaEncryption': + $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'] + = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']))); + $csr['certificationRequestInfo']['subjectPKInfo']['algorithm']['parameters'] = null; + $csr['signatureAlgorithm']['parameters'] = null; + $csr['certificationRequestInfo']['signature']['parameters'] = null; + } + } + + $asn1 = new ASN1(); + + $asn1->loadOIDs($this->oids); + + $filters = array(); + $filters['certificationRequestInfo']['subject']['rdnSequence']['value'] + = array('type' => ASN1::TYPE_UTF8_STRING); + + $asn1->loadFilters($filters); + + $this->_mapOutDNs($csr, 'certificationRequestInfo/subject/rdnSequence', $asn1); + $this->_mapOutAttributes($csr, 'certificationRequestInfo/attributes', $asn1); + $csr = $asn1->encodeDER($csr, $this->CertificationRequest); + + switch ($format) { + case self::FORMAT_DER: + return $csr; + // case self::FORMAT_PEM: + default: + return "-----BEGIN CERTIFICATE REQUEST-----\r\n" . chunk_split(base64_encode($csr), 64) . '-----END CERTIFICATE REQUEST-----'; + } + } + + /** + * Load a SPKAC CSR + * + * SPKAC's are produced by the HTML5 keygen element: + * + * https://developer.mozilla.org/en-US/docs/HTML/Element/keygen + * + * @param string $csr + * @access public + * @return mixed + */ + function loadSPKAC($spkac) + { + if (is_array($spkac) && isset($spkac['publicKeyAndChallenge'])) { + unset($this->currentCert); + unset($this->currentKeyIdentifier); + unset($this->signatureSubject); + $this->currentCert = $spkac; + return $spkac; + } + + // see http://www.w3.org/html/wg/drafts/html/master/forms.html#signedpublickeyandchallenge + + $asn1 = new ASN1(); + + // OpenSSL produces SPKAC's that are preceded by the string SPKAC= + $temp = preg_replace('#(?:SPKAC=)|[ \r\n\\\]#', '', $spkac); + $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false; + if ($temp != false) { + $spkac = $temp; + } + $orig = $spkac; + + if ($spkac === false) { + $this->currentCert = false; + return false; + } + + $asn1->loadOIDs($this->oids); + $decoded = $asn1->decodeBER($spkac); + + if (empty($decoded)) { + $this->currentCert = false; + return false; + } + + $spkac = $asn1->asn1map($decoded[0], $this->SignedPublicKeyAndChallenge); + + if (!isset($spkac) || $spkac === false) { + $this->currentCert = false; + return false; + } + + $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']); + + $algorithm = &$spkac['publicKeyAndChallenge']['spki']['algorithm']['algorithm']; + $key = &$spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']; + $key = $this->_reformatKey($algorithm, $key); + + switch ($algorithm) { + case 'rsaEncryption': + $this->publicKey = new RSA(); + $this->publicKey->loadKey($key); + $this->publicKey->setPublicKey(); + break; + default: + $this->publicKey = null; + } + + $this->currentKeyIdentifier = null; + $this->currentCert = $spkac; + + return $spkac; + } + + /** + * Save a SPKAC CSR request + * + * @param array $csr + * @param int $format optional + * @access public + * @return string + */ + function saveSPKAC($spkac, $format = self::FORMAT_PEM) + { + if (!is_array($spkac) || !isset($spkac['publicKeyAndChallenge'])) { + return false; + } + + $algorithm = $this->_subArray($spkac, 'publicKeyAndChallenge/spki/algorithm/algorithm'); + switch (true) { + case !$algorithm: + case is_object($spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']): + break; + default: + switch ($algorithm) { + case 'rsaEncryption': + $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey'] + = base64_encode("\0" . base64_decode(preg_replace('#-.+-|[\r\n]#', '', $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']))); + } + } + + $asn1 = new ASN1(); + + $asn1->loadOIDs($this->oids); + $spkac = $asn1->encodeDER($spkac, $this->SignedPublicKeyAndChallenge); + + switch ($format) { + case self::FORMAT_DER: + return $spkac; + // case self::FORMAT_PEM: + default: + // OpenSSL's implementation of SPKAC requires the SPKAC be preceded by SPKAC= and since there are pretty much + // no other SPKAC decoders phpseclib will use that same format + return 'SPKAC=' . base64_encode($spkac); + } + } + + /** + * Load a Certificate Revocation List + * + * @param string $crl + * @access public + * @return mixed + */ + function loadCRL($crl, $mode = self::FORMAT_AUTO_DETECT) + { + if (is_array($crl) && isset($crl['tbsCertList'])) { + $this->currentCert = $crl; + unset($this->signatureSubject); + return $crl; + } + + $asn1 = new ASN1(); + + if ($mode != self::FORMAT_DER) { + $newcrl = $this->_extractBER($crl); + if ($mode == self::FORMAT_PEM && $crl == $newcrl) { + return false; + } + $crl = $newcrl; + } + $orig = $crl; + + if ($crl === false) { + $this->currentCert = false; + return false; + } + + $asn1->loadOIDs($this->oids); + $decoded = $asn1->decodeBER($crl); + + if (empty($decoded)) { + $this->currentCert = false; + return false; + } + + $crl = $asn1->asn1map($decoded[0], $this->CertificateList); + if (!isset($crl) || $crl === false) { + $this->currentCert = false; + return false; + } + + $this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content'][0]['length']); + + $this->_mapInDNs($crl, 'tbsCertList/issuer/rdnSequence', $asn1); + if ($this->_isSubArrayValid($crl, 'tbsCertList/crlExtensions')) { + $this->_mapInExtensions($crl, 'tbsCertList/crlExtensions', $asn1); + } + if ($this->_isSubArrayValid($crl, 'tbsCertList/revokedCertificates')) { + $rclist_ref = &$this->_subArrayUnchecked($crl, 'tbsCertList/revokedCertificates'); + if ($rclist_ref) { + $rclist = $crl['tbsCertList']['revokedCertificates']; + foreach ($rclist as $i => $extension) { + if ($this->_isSubArrayValid($rclist, "$i/crlEntryExtensions", $asn1)) { + $this->_mapInExtensions($rclist_ref, "$i/crlEntryExtensions", $asn1); + } + } + } + } + + $this->currentKeyIdentifier = null; + $this->currentCert = $crl; + + return $crl; + } + + /** + * Save Certificate Revocation List. + * + * @param array $crl + * @param int $format optional + * @access public + * @return string + */ + function saveCRL($crl, $format = self::FORMAT_PEM) + { + if (!is_array($crl) || !isset($crl['tbsCertList'])) { + return false; + } + + $asn1 = new ASN1(); + + $asn1->loadOIDs($this->oids); + + $filters = array(); + $filters['tbsCertList']['issuer']['rdnSequence']['value'] + = array('type' => ASN1::TYPE_UTF8_STRING); + $filters['tbsCertList']['signature']['parameters'] + = array('type' => ASN1::TYPE_UTF8_STRING); + $filters['signatureAlgorithm']['parameters'] + = array('type' => ASN1::TYPE_UTF8_STRING); + + if (empty($crl['tbsCertList']['signature']['parameters'])) { + $filters['tbsCertList']['signature']['parameters'] + = array('type' => ASN1::TYPE_NULL); + } + + if (empty($crl['signatureAlgorithm']['parameters'])) { + $filters['signatureAlgorithm']['parameters'] + = array('type' => ASN1::TYPE_NULL); + } + + $asn1->loadFilters($filters); + + $this->_mapOutDNs($crl, 'tbsCertList/issuer/rdnSequence', $asn1); + $this->_mapOutExtensions($crl, 'tbsCertList/crlExtensions', $asn1); + $rclist = &$this->_subArray($crl, 'tbsCertList/revokedCertificates'); + if (is_array($rclist)) { + foreach ($rclist as $i => $extension) { + $this->_mapOutExtensions($rclist, "$i/crlEntryExtensions", $asn1); + } + } + + $crl = $asn1->encodeDER($crl, $this->CertificateList); + + switch ($format) { + case self::FORMAT_DER: + return $crl; + // case self::FORMAT_PEM: + default: + return "-----BEGIN X509 CRL-----\r\n" . chunk_split(base64_encode($crl), 64) . '-----END X509 CRL-----'; + } + } + + /** + * Helper function to build a time field according to RFC 3280 section + * - 4.1.2.5 Validity + * - 5.1.2.4 This Update + * - 5.1.2.5 Next Update + * - 5.1.2.6 Revoked Certificates + * by choosing utcTime iff year of date given is before 2050 and generalTime else. + * + * @param string $date in format date('D, d M Y H:i:s O') + * @access private + * @return array + */ + function _timeField($date) + { + $year = @gmdate("Y", @strtotime($date)); // the same way ASN1.php parses this + if ($year < 2050) { + return array('utcTime' => $date); + } else { + return array('generalTime' => $date); + } + } + + /** + * Sign an X.509 certificate + * + * $issuer's private key needs to be loaded. + * $subject can be either an existing X.509 cert (if you want to resign it), + * a CSR or something with the DN and public key explicitly set. + * + * @param \phpseclib\File\X509 $issuer + * @param \phpseclib\File\X509 $subject + * @param string $signatureAlgorithm optional + * @access public + * @return mixed + */ + function sign($issuer, $subject, $signatureAlgorithm = 'sha1WithRSAEncryption') + { + if (!is_object($issuer->privateKey) || empty($issuer->dn)) { + return false; + } + + if (isset($subject->publicKey) && !($subjectPublicKey = $subject->_formatSubjectPublicKey())) { + return false; + } + + $currentCert = isset($this->currentCert) ? $this->currentCert : null; + $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null; + + if (isset($subject->currentCert) && is_array($subject->currentCert) && isset($subject->currentCert['tbsCertificate'])) { + $this->currentCert = $subject->currentCert; + $this->currentCert['tbsCertificate']['signature']['algorithm'] = $signatureAlgorithm; + $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm; + + if (!empty($this->startDate)) { + $this->currentCert['tbsCertificate']['validity']['notBefore'] = $this->_timeField($this->startDate); + } + if (!empty($this->endDate)) { + $this->currentCert['tbsCertificate']['validity']['notAfter'] = $this->_timeField($this->endDate); + } + if (!empty($this->serialNumber)) { + $this->currentCert['tbsCertificate']['serialNumber'] = $this->serialNumber; + } + if (!empty($subject->dn)) { + $this->currentCert['tbsCertificate']['subject'] = $subject->dn; + } + if (!empty($subject->publicKey)) { + $this->currentCert['tbsCertificate']['subjectPublicKeyInfo'] = $subjectPublicKey; + } + $this->removeExtension('id-ce-authorityKeyIdentifier'); + if (isset($subject->domains)) { + $this->removeExtension('id-ce-subjectAltName'); + } + } elseif (isset($subject->currentCert) && is_array($subject->currentCert) && isset($subject->currentCert['tbsCertList'])) { + return false; + } else { + if (!isset($subject->publicKey)) { + return false; + } + + $startDate = !empty($this->startDate) ? $this->startDate : @date('D, d M Y H:i:s O'); + $endDate = !empty($this->endDate) ? $this->endDate : @date('D, d M Y H:i:s O', strtotime('+1 year')); + /* "The serial number MUST be a positive integer" + "Conforming CAs MUST NOT use serialNumber values longer than 20 octets." + -- https://tools.ietf.org/html/rfc5280#section-4.1.2.2 + + for the integer to be positive the leading bit needs to be 0 hence the + application of a bitmap + */ + $serialNumber = !empty($this->serialNumber) ? + $this->serialNumber : + new BigInteger(Random::string(20) & ("\x7F" . str_repeat("\xFF", 19)), 256); + + $this->currentCert = array( + 'tbsCertificate' => + array( + 'version' => 'v3', + 'serialNumber' => $serialNumber, // $this->setserialNumber() + 'signature' => array('algorithm' => $signatureAlgorithm), + 'issuer' => false, // this is going to be overwritten later + 'validity' => array( + 'notBefore' => $this->_timeField($startDate), // $this->setStartDate() + 'notAfter' => $this->_timeField($endDate) // $this->setEndDate() + ), + 'subject' => $subject->dn, + 'subjectPublicKeyInfo' => $subjectPublicKey + ), + 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm), + 'signature' => false // this is going to be overwritten later + ); + + // Copy extensions from CSR. + $csrexts = $subject->getAttribute('pkcs-9-at-extensionRequest', 0); + + if (!empty($csrexts)) { + $this->currentCert['tbsCertificate']['extensions'] = $csrexts; + } + } + + $this->currentCert['tbsCertificate']['issuer'] = $issuer->dn; + + if (isset($issuer->currentKeyIdentifier)) { + $this->setExtension('id-ce-authorityKeyIdentifier', array( + //'authorityCertIssuer' => array( + // array( + // 'directoryName' => $issuer->dn + // ) + //), + 'keyIdentifier' => $issuer->currentKeyIdentifier + )); + //$extensions = &$this->currentCert['tbsCertificate']['extensions']; + //if (isset($issuer->serialNumber)) { + // $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber; + //} + //unset($extensions); + } + + if (isset($subject->currentKeyIdentifier)) { + $this->setExtension('id-ce-subjectKeyIdentifier', $subject->currentKeyIdentifier); + } + + $altName = array(); + + if (isset($subject->domains) && count($subject->domains)) { + $altName = array_map(array('\phpseclib\File\X509', '_dnsName'), $subject->domains); + } + + if (isset($subject->ipAddresses) && count($subject->ipAddresses)) { + // should an IP address appear as the CN if no domain name is specified? idk + //$ips = count($subject->domains) ? $subject->ipAddresses : array_slice($subject->ipAddresses, 1); + $ipAddresses = array(); + foreach ($subject->ipAddresses as $ipAddress) { + $encoded = $subject->_ipAddress($ipAddress); + if ($encoded !== false) { + $ipAddresses[] = $encoded; + } + } + if (count($ipAddresses)) { + $altName = array_merge($altName, $ipAddresses); + } + } + + if (!empty($altName)) { + $this->setExtension('id-ce-subjectAltName', $altName); + } + + if ($this->caFlag) { + $keyUsage = $this->getExtension('id-ce-keyUsage'); + if (!$keyUsage) { + $keyUsage = array(); + } + + $this->setExtension( + 'id-ce-keyUsage', + array_values(array_unique(array_merge($keyUsage, array('cRLSign', 'keyCertSign')))) + ); + + $basicConstraints = $this->getExtension('id-ce-basicConstraints'); + if (!$basicConstraints) { + $basicConstraints = array(); + } + + $this->setExtension( + 'id-ce-basicConstraints', + array_unique(array_merge(array('cA' => true), $basicConstraints)), + true + ); + + if (!isset($subject->currentKeyIdentifier)) { + $this->setExtension('id-ce-subjectKeyIdentifier', base64_encode($this->computeKeyIdentifier($this->currentCert)), false, false); + } + } + + // resync $this->signatureSubject + // save $tbsCertificate in case there are any \phpseclib\File\ASN1\Element objects in it + $tbsCertificate = $this->currentCert['tbsCertificate']; + $this->loadX509($this->saveX509($this->currentCert)); + + $result = $this->_sign($issuer->privateKey, $signatureAlgorithm); + $result['tbsCertificate'] = $tbsCertificate; + + $this->currentCert = $currentCert; + $this->signatureSubject = $signatureSubject; + + return $result; + } + + /** + * Sign a CSR + * + * @access public + * @return mixed + */ + function signCSR($signatureAlgorithm = 'sha1WithRSAEncryption') + { + if (!is_object($this->privateKey) || empty($this->dn)) { + return false; + } + + $origPublicKey = $this->publicKey; + $class = get_class($this->privateKey); + $this->publicKey = new $class(); + $this->publicKey->loadKey($this->privateKey->getPublicKey()); + $this->publicKey->setPublicKey(); + if (!($publicKey = $this->_formatSubjectPublicKey())) { + return false; + } + $this->publicKey = $origPublicKey; + + $currentCert = isset($this->currentCert) ? $this->currentCert : null; + $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null; + + if (isset($this->currentCert) && is_array($this->currentCert) && isset($this->currentCert['certificationRequestInfo'])) { + $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm; + if (!empty($this->dn)) { + $this->currentCert['certificationRequestInfo']['subject'] = $this->dn; + } + $this->currentCert['certificationRequestInfo']['subjectPKInfo'] = $publicKey; + } else { + $this->currentCert = array( + 'certificationRequestInfo' => + array( + 'version' => 'v1', + 'subject' => $this->dn, + 'subjectPKInfo' => $publicKey + ), + 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm), + 'signature' => false // this is going to be overwritten later + ); + } + + // resync $this->signatureSubject + // save $certificationRequestInfo in case there are any \phpseclib\File\ASN1\Element objects in it + $certificationRequestInfo = $this->currentCert['certificationRequestInfo']; + $this->loadCSR($this->saveCSR($this->currentCert)); + + $result = $this->_sign($this->privateKey, $signatureAlgorithm); + $result['certificationRequestInfo'] = $certificationRequestInfo; + + $this->currentCert = $currentCert; + $this->signatureSubject = $signatureSubject; + + return $result; + } + + /** + * Sign a SPKAC + * + * @access public + * @return mixed + */ + function signSPKAC($signatureAlgorithm = 'sha1WithRSAEncryption') + { + if (!is_object($this->privateKey)) { + return false; + } + + $origPublicKey = $this->publicKey; + $class = get_class($this->privateKey); + $this->publicKey = new $class(); + $this->publicKey->loadKey($this->privateKey->getPublicKey()); + $this->publicKey->setPublicKey(); + $publicKey = $this->_formatSubjectPublicKey(); + if (!$publicKey) { + return false; + } + $this->publicKey = $origPublicKey; + + $currentCert = isset($this->currentCert) ? $this->currentCert : null; + $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject: null; + + // re-signing a SPKAC seems silly but since everything else supports re-signing why not? + if (isset($this->currentCert) && is_array($this->currentCert) && isset($this->currentCert['publicKeyAndChallenge'])) { + $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm; + $this->currentCert['publicKeyAndChallenge']['spki'] = $publicKey; + if (!empty($this->challenge)) { + // the bitwise AND ensures that the output is a valid IA5String + $this->currentCert['publicKeyAndChallenge']['challenge'] = $this->challenge & str_repeat("\x7F", strlen($this->challenge)); + } + } else { + $this->currentCert = array( + 'publicKeyAndChallenge' => + array( + 'spki' => $publicKey, + // quoting , + // "A challenge string that is submitted along with the public key. Defaults to an empty string if not specified." + // both Firefox and OpenSSL ("openssl spkac -key private.key") behave this way + // we could alternatively do this instead if we ignored the specs: + // Random::string(8) & str_repeat("\x7F", 8) + 'challenge' => !empty($this->challenge) ? $this->challenge : '' + ), + 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm), + 'signature' => false // this is going to be overwritten later + ); + } + + // resync $this->signatureSubject + // save $publicKeyAndChallenge in case there are any \phpseclib\File\ASN1\Element objects in it + $publicKeyAndChallenge = $this->currentCert['publicKeyAndChallenge']; + $this->loadSPKAC($this->saveSPKAC($this->currentCert)); + + $result = $this->_sign($this->privateKey, $signatureAlgorithm); + $result['publicKeyAndChallenge'] = $publicKeyAndChallenge; + + $this->currentCert = $currentCert; + $this->signatureSubject = $signatureSubject; + + return $result; + } + + /** + * Sign a CRL + * + * $issuer's private key needs to be loaded. + * + * @param \phpseclib\File\X509 $issuer + * @param \phpseclib\File\X509 $crl + * @param string $signatureAlgorithm optional + * @access public + * @return mixed + */ + function signCRL($issuer, $crl, $signatureAlgorithm = 'sha1WithRSAEncryption') + { + if (!is_object($issuer->privateKey) || empty($issuer->dn)) { + return false; + } + + $currentCert = isset($this->currentCert) ? $this->currentCert : null; + $signatureSubject = isset($this->signatureSubject) ? $this->signatureSubject : null; + $thisUpdate = !empty($this->startDate) ? $this->startDate : @date('D, d M Y H:i:s O'); + + if (isset($crl->currentCert) && is_array($crl->currentCert) && isset($crl->currentCert['tbsCertList'])) { + $this->currentCert = $crl->currentCert; + $this->currentCert['tbsCertList']['signature']['algorithm'] = $signatureAlgorithm; + $this->currentCert['signatureAlgorithm']['algorithm'] = $signatureAlgorithm; + } else { + $this->currentCert = array( + 'tbsCertList' => + array( + 'version' => 'v2', + 'signature' => array('algorithm' => $signatureAlgorithm), + 'issuer' => false, // this is going to be overwritten later + 'thisUpdate' => $this->_timeField($thisUpdate) // $this->setStartDate() + ), + 'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm), + 'signature' => false // this is going to be overwritten later + ); + } + + $tbsCertList = &$this->currentCert['tbsCertList']; + $tbsCertList['issuer'] = $issuer->dn; + $tbsCertList['thisUpdate'] = $this->_timeField($thisUpdate); + + if (!empty($this->endDate)) { + $tbsCertList['nextUpdate'] = $this->_timeField($this->endDate); // $this->setEndDate() + } else { + unset($tbsCertList['nextUpdate']); + } + + if (!empty($this->serialNumber)) { + $crlNumber = $this->serialNumber; + } else { + $crlNumber = $this->getExtension('id-ce-cRLNumber'); + // "The CRL number is a non-critical CRL extension that conveys a + // monotonically increasing sequence number for a given CRL scope and + // CRL issuer. This extension allows users to easily determine when a + // particular CRL supersedes another CRL." + // -- https://tools.ietf.org/html/rfc5280#section-5.2.3 + $crlNumber = $crlNumber !== false ? $crlNumber->add(new BigInteger(1)) : null; + } + + $this->removeExtension('id-ce-authorityKeyIdentifier'); + $this->removeExtension('id-ce-issuerAltName'); + + // Be sure version >= v2 if some extension found. + $version = isset($tbsCertList['version']) ? $tbsCertList['version'] : 0; + if (!$version) { + if (!empty($tbsCertList['crlExtensions'])) { + $version = 1; // v2. + } elseif (!empty($tbsCertList['revokedCertificates'])) { + foreach ($tbsCertList['revokedCertificates'] as $cert) { + if (!empty($cert['crlEntryExtensions'])) { + $version = 1; // v2. + } + } + } + + if ($version) { + $tbsCertList['version'] = $version; + } + } + + // Store additional extensions. + if (!empty($tbsCertList['version'])) { // At least v2. + if (!empty($crlNumber)) { + $this->setExtension('id-ce-cRLNumber', $crlNumber); + } + + if (isset($issuer->currentKeyIdentifier)) { + $this->setExtension('id-ce-authorityKeyIdentifier', array( + //'authorityCertIssuer' => array( + // array( + // 'directoryName' => $issuer->dn + // ) + //), + 'keyIdentifier' => $issuer->currentKeyIdentifier + )); + //$extensions = &$tbsCertList['crlExtensions']; + //if (isset($issuer->serialNumber)) { + // $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber; + //} + //unset($extensions); + } + + $issuerAltName = $this->getExtension('id-ce-subjectAltName', $issuer->currentCert); + + if ($issuerAltName !== false) { + $this->setExtension('id-ce-issuerAltName', $issuerAltName); + } + } + + if (empty($tbsCertList['revokedCertificates'])) { + unset($tbsCertList['revokedCertificates']); + } + + unset($tbsCertList); + + // resync $this->signatureSubject + // save $tbsCertList in case there are any \phpseclib\File\ASN1\Element objects in it + $tbsCertList = $this->currentCert['tbsCertList']; + $this->loadCRL($this->saveCRL($this->currentCert)); + + $result = $this->_sign($issuer->privateKey, $signatureAlgorithm); + $result['tbsCertList'] = $tbsCertList; + + $this->currentCert = $currentCert; + $this->signatureSubject = $signatureSubject; + + return $result; + } + + /** + * X.509 certificate signing helper function. + * + * @param object $key + * @param \phpseclib\File\X509 $subject + * @param string $signatureAlgorithm + * @access public + * @return mixed + */ + function _sign($key, $signatureAlgorithm) + { + if ($key instanceof RSA) { + switch ($signatureAlgorithm) { + case 'md2WithRSAEncryption': + case 'md5WithRSAEncryption': + case 'sha1WithRSAEncryption': + case 'sha224WithRSAEncryption': + case 'sha256WithRSAEncryption': + case 'sha384WithRSAEncryption': + case 'sha512WithRSAEncryption': + $key->setHash(preg_replace('#WithRSAEncryption$#', '', $signatureAlgorithm)); + $key->setSignatureMode(RSA::SIGNATURE_PKCS1); + + $this->currentCert['signature'] = base64_encode("\0" . $key->sign($this->signatureSubject)); + return $this->currentCert; + } + } + + return false; + } + + /** + * Set certificate start date + * + * @param string $date + * @access public + */ + function setStartDate($date) + { + $this->startDate = @date('D, d M Y H:i:s O', @strtotime($date)); + } + + /** + * Set certificate end date + * + * @param string $date + * @access public + */ + function setEndDate($date) + { + /* + To indicate that a certificate has no well-defined expiration date, + the notAfter SHOULD be assigned the GeneralizedTime value of + 99991231235959Z. + + -- http://tools.ietf.org/html/rfc5280#section-4.1.2.5 + */ + if (strtolower($date) == 'lifetime') { + $temp = '99991231235959Z'; + $asn1 = new ASN1(); + $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . $asn1->_encodeLength(strlen($temp)) . $temp; + $this->endDate = new Element($temp); + } else { + $this->endDate = @date('D, d M Y H:i:s O', @strtotime($date)); + } + } + + /** + * Set Serial Number + * + * @param string $serial + * @param $base optional + * @access public + */ + function setSerialNumber($serial, $base = -256) + { + $this->serialNumber = new BigInteger($serial, $base); + } + + /** + * Turns the certificate into a certificate authority + * + * @access public + */ + function makeCA() + { + $this->caFlag = true; + } + + /** + * Check for validity of subarray + * + * This is intended for use in conjunction with _subArrayUnchecked(), + * implementing the checks included in _subArray() but without copying + * a potentially large array by passing its reference by-value to is_array(). + * + * @param array $root + * @param string $path + * @return boolean + * @access private + */ + function _isSubArrayValid($root, $path) + { + if (!is_array($root)) { + return false; + } + + foreach (explode('/', $path) as $i) { + if (!is_array($root)) { + return false; + } + + if (!isset($root[$i])) { + return true; + } + + $root = $root[$i]; + } + + return true; + } + + /** + * Get a reference to a subarray + * + * This variant of _subArray() does no is_array() checking, + * so $root should be checked with _isSubArrayValid() first. + * + * This is here for performance reasons: + * Passing a reference (i.e. $root) by-value (i.e. to is_array()) + * creates a copy. If $root is an especially large array, this is expensive. + * + * @param array $root + * @param string $path absolute path with / as component separator + * @param bool $create optional + * @access private + * @return array|false + */ + function &_subArrayUnchecked(&$root, $path, $create = false) + { + $false = false; + + foreach (explode('/', $path) as $i) { + if (!isset($root[$i])) { + if (!$create) { + return $false; + } + + $root[$i] = array(); + } + + $root = &$root[$i]; + } + + return $root; + } + + /** + * Get a reference to a subarray + * + * @param array $root + * @param string $path absolute path with / as component separator + * @param bool $create optional + * @access private + * @return array|false + */ + function &_subArray(&$root, $path, $create = false) + { + $false = false; + + if (!is_array($root)) { + return $false; + } + + foreach (explode('/', $path) as $i) { + if (!is_array($root)) { + return $false; + } + + if (!isset($root[$i])) { + if (!$create) { + return $false; + } + + $root[$i] = array(); + } + + $root = &$root[$i]; + } + + return $root; + } + + /** + * Get a reference to an extension subarray + * + * @param array $root + * @param string $path optional absolute path with / as component separator + * @param bool $create optional + * @access private + * @return array|false + */ + function &_extensions(&$root, $path = null, $create = false) + { + if (!isset($root)) { + $root = $this->currentCert; + } + + switch (true) { + case !empty($path): + case !is_array($root): + break; + case isset($root['tbsCertificate']): + $path = 'tbsCertificate/extensions'; + break; + case isset($root['tbsCertList']): + $path = 'tbsCertList/crlExtensions'; + break; + case isset($root['certificationRequestInfo']): + $pth = 'certificationRequestInfo/attributes'; + $attributes = &$this->_subArray($root, $pth, $create); + + if (is_array($attributes)) { + foreach ($attributes as $key => $value) { + if ($value['type'] == 'pkcs-9-at-extensionRequest') { + $path = "$pth/$key/value/0"; + break 2; + } + } + if ($create) { + $key = count($attributes); + $attributes[] = array('type' => 'pkcs-9-at-extensionRequest', 'value' => array()); + $path = "$pth/$key/value/0"; + } + } + break; + } + + $extensions = &$this->_subArray($root, $path, $create); + + if (!is_array($extensions)) { + $false = false; + return $false; + } + + return $extensions; + } + + /** + * Remove an Extension + * + * @param string $id + * @param string $path optional + * @access private + * @return bool + */ + function _removeExtension($id, $path = null) + { + $extensions = &$this->_extensions($this->currentCert, $path); + + if (!is_array($extensions)) { + return false; + } + + $result = false; + foreach ($extensions as $key => $value) { + if ($value['extnId'] == $id) { + unset($extensions[$key]); + $result = true; + } + } + + $extensions = array_values($extensions); + return $result; + } + + /** + * Get an Extension + * + * Returns the extension if it exists and false if not + * + * @param string $id + * @param array $cert optional + * @param string $path optional + * @access private + * @return mixed + */ + function _getExtension($id, $cert = null, $path = null) + { + $extensions = $this->_extensions($cert, $path); + + if (!is_array($extensions)) { + return false; + } + + foreach ($extensions as $key => $value) { + if ($value['extnId'] == $id) { + return $value['extnValue']; + } + } + + return false; + } + + /** + * Returns a list of all extensions in use + * + * @param array $cert optional + * @param string $path optional + * @access private + * @return array + */ + function _getExtensions($cert = null, $path = null) + { + $exts = $this->_extensions($cert, $path); + $extensions = array(); + + if (is_array($exts)) { + foreach ($exts as $extension) { + $extensions[] = $extension['extnId']; + } + } + + return $extensions; + } + + /** + * Set an Extension + * + * @param string $id + * @param mixed $value + * @param bool $critical optional + * @param bool $replace optional + * @param string $path optional + * @access private + * @return bool + */ + function _setExtension($id, $value, $critical = false, $replace = true, $path = null) + { + $extensions = &$this->_extensions($this->currentCert, $path, true); + + if (!is_array($extensions)) { + return false; + } + + $newext = array('extnId' => $id, 'critical' => $critical, 'extnValue' => $value); + + foreach ($extensions as $key => $value) { + if ($value['extnId'] == $id) { + if (!$replace) { + return false; + } + + $extensions[$key] = $newext; + return true; + } + } + + $extensions[] = $newext; + return true; + } + + /** + * Remove a certificate, CSR or CRL Extension + * + * @param string $id + * @access public + * @return bool + */ + function removeExtension($id) + { + return $this->_removeExtension($id); + } + + /** + * Get a certificate, CSR or CRL Extension + * + * Returns the extension if it exists and false if not + * + * @param string $id + * @param array $cert optional + * @access public + * @return mixed + */ + function getExtension($id, $cert = null) + { + return $this->_getExtension($id, $cert); + } + + /** + * Returns a list of all extensions in use in certificate, CSR or CRL + * + * @param array $cert optional + * @access public + * @return array + */ + function getExtensions($cert = null) + { + return $this->_getExtensions($cert); + } + + /** + * Set a certificate, CSR or CRL Extension + * + * @param string $id + * @param mixed $value + * @param bool $critical optional + * @param bool $replace optional + * @access public + * @return bool + */ + function setExtension($id, $value, $critical = false, $replace = true) + { + return $this->_setExtension($id, $value, $critical, $replace); + } + + /** + * Remove a CSR attribute. + * + * @param string $id + * @param int $disposition optional + * @access public + * @return bool + */ + function removeAttribute($id, $disposition = self::ATTR_ALL) + { + $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes'); + + if (!is_array($attributes)) { + return false; + } + + $result = false; + foreach ($attributes as $key => $attribute) { + if ($attribute['type'] == $id) { + $n = count($attribute['value']); + switch (true) { + case $disposition == self::ATTR_APPEND: + case $disposition == self::ATTR_REPLACE: + return false; + case $disposition >= $n: + $disposition -= $n; + break; + case $disposition == self::ATTR_ALL: + case $n == 1: + unset($attributes[$key]); + $result = true; + break; + default: + unset($attributes[$key]['value'][$disposition]); + $attributes[$key]['value'] = array_values($attributes[$key]['value']); + $result = true; + break; + } + if ($result && $disposition != self::ATTR_ALL) { + break; + } + } + } + + $attributes = array_values($attributes); + return $result; + } + + /** + * Get a CSR attribute + * + * Returns the attribute if it exists and false if not + * + * @param string $id + * @param int $disposition optional + * @param array $csr optional + * @access public + * @return mixed + */ + function getAttribute($id, $disposition = self::ATTR_ALL, $csr = null) + { + if (empty($csr)) { + $csr = $this->currentCert; + } + + $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes'); + + if (!is_array($attributes)) { + return false; + } + + foreach ($attributes as $key => $attribute) { + if ($attribute['type'] == $id) { + $n = count($attribute['value']); + switch (true) { + case $disposition == self::ATTR_APPEND: + case $disposition == self::ATTR_REPLACE: + return false; + case $disposition == self::ATTR_ALL: + return $attribute['value']; + case $disposition >= $n: + $disposition -= $n; + break; + default: + return $attribute['value'][$disposition]; + } + } + } + + return false; + } + + /** + * Returns a list of all CSR attributes in use + * + * @param array $csr optional + * @access public + * @return array + */ + function getAttributes($csr = null) + { + if (empty($csr)) { + $csr = $this->currentCert; + } + + $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes'); + $attrs = array(); + + if (is_array($attributes)) { + foreach ($attributes as $attribute) { + $attrs[] = $attribute['type']; + } + } + + return $attrs; + } + + /** + * Set a CSR attribute + * + * @param string $id + * @param mixed $value + * @param bool $disposition optional + * @access public + * @return bool + */ + function setAttribute($id, $value, $disposition = self::ATTR_ALL) + { + $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes', true); + + if (!is_array($attributes)) { + return false; + } + + switch ($disposition) { + case self::ATTR_REPLACE: + $disposition = self::ATTR_APPEND; + case self::ATTR_ALL: + $this->removeAttribute($id); + break; + } + + foreach ($attributes as $key => $attribute) { + if ($attribute['type'] == $id) { + $n = count($attribute['value']); + switch (true) { + case $disposition == self::ATTR_APPEND: + $last = $key; + break; + case $disposition >= $n: + $disposition -= $n; + break; + default: + $attributes[$key]['value'][$disposition] = $value; + return true; + } + } + } + + switch (true) { + case $disposition >= 0: + return false; + case isset($last): + $attributes[$last]['value'][] = $value; + break; + default: + $attributes[] = array('type' => $id, 'value' => $disposition == self::ATTR_ALL ? $value: array($value)); + break; + } + + return true; + } + + /** + * Sets the subject key identifier + * + * This is used by the id-ce-authorityKeyIdentifier and the id-ce-subjectKeyIdentifier extensions. + * + * @param string $value + * @access public + */ + function setKeyIdentifier($value) + { + if (empty($value)) { + unset($this->currentKeyIdentifier); + } else { + $this->currentKeyIdentifier = base64_encode($value); + } + } + + /** + * Compute a public key identifier. + * + * Although key identifiers may be set to any unique value, this function + * computes key identifiers from public key according to the two + * recommended methods (4.2.1.2 RFC 3280). + * Highly polymorphic: try to accept all possible forms of key: + * - Key object + * - \phpseclib\File\X509 object with public or private key defined + * - Certificate or CSR array + * - \phpseclib\File\ASN1\Element object + * - PEM or DER string + * + * @param mixed $key optional + * @param int $method optional + * @access public + * @return string binary key identifier + */ + function computeKeyIdentifier($key = null, $method = 1) + { + if (is_null($key)) { + $key = $this; + } + + switch (true) { + case is_string($key): + break; + case is_array($key) && isset($key['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey']): + return $this->computeKeyIdentifier($key['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'], $method); + case is_array($key) && isset($key['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']): + return $this->computeKeyIdentifier($key['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'], $method); + case !is_object($key): + return false; + case $key instanceof Element: + // Assume the element is a bitstring-packed key. + $asn1 = new ASN1(); + $decoded = $asn1->decodeBER($key->element); + if (empty($decoded)) { + return false; + } + $raw = $asn1->asn1map($decoded[0], array('type' => ASN1::TYPE_BIT_STRING)); + if (empty($raw)) { + return false; + } + $raw = base64_decode($raw); + // If the key is private, compute identifier from its corresponding public key. + $key = new RSA(); + if (!$key->loadKey($raw)) { + return false; // Not an unencrypted RSA key. + } + if ($key->getPrivateKey() !== false) { // If private. + return $this->computeKeyIdentifier($key, $method); + } + $key = $raw; // Is a public key. + break; + case $key instanceof X509: + if (isset($key->publicKey)) { + return $this->computeKeyIdentifier($key->publicKey, $method); + } + if (isset($key->privateKey)) { + return $this->computeKeyIdentifier($key->privateKey, $method); + } + if (isset($key->currentCert['tbsCertificate']) || isset($key->currentCert['certificationRequestInfo'])) { + return $this->computeKeyIdentifier($key->currentCert, $method); + } + return false; + default: // Should be a key object (i.e.: \phpseclib\Crypt\RSA). + $key = $key->getPublicKey(RSA::PUBLIC_FORMAT_PKCS1); + break; + } + + // If in PEM format, convert to binary. + $key = $this->_extractBER($key); + + // Now we have the key string: compute its sha-1 sum. + $hash = new Hash('sha1'); + $hash = $hash->hash($key); + + if ($method == 2) { + $hash = substr($hash, -8); + $hash[0] = chr((ord($hash[0]) & 0x0F) | 0x40); + } + + return $hash; + } + + /** + * Format a public key as appropriate + * + * @access private + * @return array + */ + function _formatSubjectPublicKey() + { + if ($this->publicKey instanceof RSA) { + // the following two return statements do the same thing. i dunno.. i just prefer the later for some reason. + // the former is a good example of how to do fuzzing on the public key + //return new Element(base64_decode(preg_replace('#-.+-|[\r\n]#', '', $this->publicKey->getPublicKey()))); + return array( + 'algorithm' => array('algorithm' => 'rsaEncryption'), + 'subjectPublicKey' => $this->publicKey->getPublicKey(RSA::PUBLIC_FORMAT_PKCS1) + ); + } + + return false; + } + + /** + * Set the domain name's which the cert is to be valid for + * + * @access public + * @return array + */ + function setDomain() + { + $this->domains = func_get_args(); + $this->removeDNProp('id-at-commonName'); + $this->setDNProp('id-at-commonName', $this->domains[0]); + } + + /** + * Set the IP Addresses's which the cert is to be valid for + * + * @access public + * @param string $ipAddress optional + */ + function setIPAddress() + { + $this->ipAddresses = func_get_args(); + /* + if (!isset($this->domains)) { + $this->removeDNProp('id-at-commonName'); + $this->setDNProp('id-at-commonName', $this->ipAddresses[0]); + } + */ + } + + /** + * Helper function to build domain array + * + * @access private + * @param string $domain + * @return array + */ + function _dnsName($domain) + { + return array('dNSName' => $domain); + } + + /** + * Helper function to build IP Address array + * + * (IPv6 is not currently supported) + * + * @access private + * @param string $address + * @return array + */ + function _iPAddress($address) + { + return array('iPAddress' => $address); + } + + /** + * Get the index of a revoked certificate. + * + * @param array $rclist + * @param string $serial + * @param bool $create optional + * @access private + * @return int|false + */ + function _revokedCertificate(&$rclist, $serial, $create = false) + { + $serial = new BigInteger($serial); + + foreach ($rclist as $i => $rc) { + if (!($serial->compare($rc['userCertificate']))) { + return $i; + } + } + + if (!$create) { + return false; + } + + $i = count($rclist); + $rclist[] = array('userCertificate' => $serial, + 'revocationDate' => $this->_timeField(@date('D, d M Y H:i:s O'))); + return $i; + } + + /** + * Revoke a certificate. + * + * @param string $serial + * @param string $date optional + * @access public + * @return bool + */ + function revoke($serial, $date = null) + { + if (isset($this->currentCert['tbsCertList'])) { + if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) { + if ($this->_revokedCertificate($rclist, $serial) === false) { // If not yet revoked + if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) { + if (!empty($date)) { + $rclist[$i]['revocationDate'] = $this->_timeField($date); + } + + return true; + } + } + } + } + + return false; + } + + /** + * Unrevoke a certificate. + * + * @param string $serial + * @access public + * @return bool + */ + function unrevoke($serial) + { + if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) { + if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) { + unset($rclist[$i]); + $rclist = array_values($rclist); + return true; + } + } + + return false; + } + + /** + * Get a revoked certificate. + * + * @param string $serial + * @access public + * @return mixed + */ + function getRevoked($serial) + { + if (is_array($rclist = $this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) { + if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) { + return $rclist[$i]; + } + } + + return false; + } + + /** + * List revoked certificates + * + * @param array $crl optional + * @access public + * @return array + */ + function listRevoked($crl = null) + { + if (!isset($crl)) { + $crl = $this->currentCert; + } + + if (!isset($crl['tbsCertList'])) { + return false; + } + + $result = array(); + + if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) { + foreach ($rclist as $rc) { + $result[] = $rc['userCertificate']->toString(); + } + } + + return $result; + } + + /** + * Remove a Revoked Certificate Extension + * + * @param string $serial + * @param string $id + * @access public + * @return bool + */ + function removeRevokedCertificateExtension($serial, $id) + { + if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) { + if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) { + return $this->_removeExtension($id, "tbsCertList/revokedCertificates/$i/crlEntryExtensions"); + } + } + + return false; + } + + /** + * Get a Revoked Certificate Extension + * + * Returns the extension if it exists and false if not + * + * @param string $serial + * @param string $id + * @param array $crl optional + * @access public + * @return mixed + */ + function getRevokedCertificateExtension($serial, $id, $crl = null) + { + if (!isset($crl)) { + $crl = $this->currentCert; + } + + if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) { + if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) { + return $this->_getExtension($id, $crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions"); + } + } + + return false; + } + + /** + * Returns a list of all extensions in use for a given revoked certificate + * + * @param string $serial + * @param array $crl optional + * @access public + * @return array + */ + function getRevokedCertificateExtensions($serial, $crl = null) + { + if (!isset($crl)) { + $crl = $this->currentCert; + } + + if (is_array($rclist = $this->_subArray($crl, 'tbsCertList/revokedCertificates'))) { + if (($i = $this->_revokedCertificate($rclist, $serial)) !== false) { + return $this->_getExtensions($crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions"); + } + } + + return false; + } + + /** + * Set a Revoked Certificate Extension + * + * @param string $serial + * @param string $id + * @param mixed $value + * @param bool $critical optional + * @param bool $replace optional + * @access public + * @return bool + */ + function setRevokedCertificateExtension($serial, $id, $value, $critical = false, $replace = true) + { + if (isset($this->currentCert['tbsCertList'])) { + if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) { + if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) { + return $this->_setExtension($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/crlEntryExtensions"); + } + } + } + + return false; + } + + /** + * Extract raw BER from Base64 encoding + * + * @access private + * @param string $str + * @return string + */ + function _extractBER($str) + { + /* X.509 certs are assumed to be base64 encoded but sometimes they'll have additional things in them + * above and beyond the ceritificate. + * ie. some may have the following preceding the -----BEGIN CERTIFICATE----- line: + * + * Bag Attributes + * localKeyID: 01 00 00 00 + * subject=/O=organization/OU=org unit/CN=common name + * issuer=/O=organization/CN=common name + */ + $temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1); + // remove the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- stuff + $temp = preg_replace('#-+[^-]+-+#', '', $temp); + // remove new lines + $temp = str_replace(array("\r", "\n", ' '), '', $temp); + $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? base64_decode($temp) : false; + return $temp != false ? $temp : $str; + } + + /** + * Returns the OID corresponding to a name + * + * What's returned in the associative array returned by loadX509() (or load*()) is either a name or an OID if + * no OID to name mapping is available. The problem with this is that what may be an unmapped OID in one version + * of phpseclib may not be unmapped in the next version, so apps that are looking at this OID may not be able + * to work from version to version. + * + * This method will return the OID if a name is passed to it and if no mapping is avialable it'll assume that + * what's being passed to it already is an OID and return that instead. A few examples. + * + * getOID('2.16.840.1.101.3.4.2.1') == '2.16.840.1.101.3.4.2.1' + * getOID('id-sha256') == '2.16.840.1.101.3.4.2.1' + * getOID('zzz') == 'zzz' + * + * @access public + * @return string + */ + function getOID($name) + { + static $reverseMap; + if (!isset($reverseMap)) { + $reverseMap = array_flip($this->oids); + } + return isset($reverseMap[$name]) ? $reverseMap[$name] : $name; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php new file mode 100644 index 00000000..4b13d7c6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Math/BigInteger.php @@ -0,0 +1,3755 @@ +> and << cannot be used, nor can the modulo operator %, + * which only supports integers. Although this fact will slow this library down, the fact that such a high + * base is being used should more than compensate. + * + * Numbers are stored in {@link http://en.wikipedia.org/wiki/Endianness little endian} format. ie. + * (new \phpseclib\Math\BigInteger(pow(2, 26)))->value = array(0, 1) + * + * Useful resources are as follows: + * + * - {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf Handbook of Applied Cryptography (HAC)} + * - {@link http://math.libtomcrypt.com/files/tommath.pdf Multi-Precision Math (MPM)} + * - Java's BigInteger classes. See /j2se/src/share/classes/java/math in jdk-1_5_0-src-jrl.zip + * + * Here's an example of how to use this library: + * + * add($b); + * + * echo $c->toString(); // outputs 5 + * ?> + * + * + * @category Math + * @package BigInteger + * @author Jim Wigginton + * @copyright 2006 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://pear.php.net/package/Math_BigInteger + */ + +namespace phpseclib\Math; + +use phpseclib\Crypt\Random; + +/** + * Pure-PHP arbitrary precision integer arithmetic library. Supports base-2, base-10, base-16, and base-256 + * numbers. + * + * @package BigInteger + * @author Jim Wigginton + * @access public + */ +class BigInteger +{ + /**#@+ + * Reduction constants + * + * @access private + * @see BigInteger::_reduce() + */ + /** + * @see BigInteger::_montgomery() + * @see BigInteger::_prepMontgomery() + */ + const MONTGOMERY = 0; + /** + * @see BigInteger::_barrett() + */ + const BARRETT = 1; + /** + * @see BigInteger::_mod2() + */ + const POWEROF2 = 2; + /** + * @see BigInteger::_remainder() + */ + const CLASSIC = 3; + /** + * @see BigInteger::__clone() + */ + const NONE = 4; + /**#@-*/ + + /**#@+ + * Array constants + * + * Rather than create a thousands and thousands of new BigInteger objects in repeated function calls to add() and + * multiply() or whatever, we'll just work directly on arrays, taking them in as parameters and returning them. + * + * @access private + */ + /** + * $result[self::VALUE] contains the value. + */ + const VALUE = 0; + /** + * $result[self::SIGN] contains the sign. + */ + const SIGN = 1; + /**#@-*/ + + /**#@+ + * @access private + * @see BigInteger::_montgomery() + * @see BigInteger::_barrett() + */ + /** + * Cache constants + * + * $cache[self::VARIABLE] tells us whether or not the cached data is still valid. + */ + const VARIABLE = 0; + /** + * $cache[self::DATA] contains the cached data. + */ + const DATA = 1; + /**#@-*/ + + /**#@+ + * Mode constants. + * + * @access private + * @see BigInteger::__construct() + */ + /** + * To use the pure-PHP implementation + */ + const MODE_INTERNAL = 1; + /** + * To use the BCMath library + * + * (if enabled; otherwise, the internal implementation will be used) + */ + const MODE_BCMATH = 2; + /** + * To use the GMP library + * + * (if present; otherwise, either the BCMath or the internal implementation will be used) + */ + const MODE_GMP = 3; + /**#@-*/ + + /** + * Karatsuba Cutoff + * + * At what point do we switch between Karatsuba multiplication and schoolbook long multiplication? + * + * @access private + */ + const KARATSUBA_CUTOFF = 25; + + /**#@+ + * Static properties used by the pure-PHP implementation. + * + * @see __construct() + */ + protected static $base; + protected static $baseFull; + protected static $maxDigit; + protected static $msb; + + /** + * $max10 in greatest $max10Len satisfying + * $max10 = 10**$max10Len <= 2**$base. + */ + protected static $max10; + + /** + * $max10Len in greatest $max10Len satisfying + * $max10 = 10**$max10Len <= 2**$base. + */ + protected static $max10Len; + protected static $maxDigit2; + /**#@-*/ + + /** + * Holds the BigInteger's value. + * + * @var array + * @access private + */ + var $value; + + /** + * Holds the BigInteger's magnitude. + * + * @var bool + * @access private + */ + var $is_negative = false; + + /** + * Precision + * + * @see self::setPrecision() + * @access private + */ + var $precision = -1; + + /** + * Precision Bitmask + * + * @see self::setPrecision() + * @access private + */ + var $bitmask = false; + + /** + * Mode independent value used for serialization. + * + * If the bcmath or gmp extensions are installed $this->value will be a non-serializable resource, hence the need for + * a variable that'll be serializable regardless of whether or not extensions are being used. Unlike $this->value, + * however, $this->hex is only calculated when $this->__sleep() is called. + * + * @see self::__sleep() + * @see self::__wakeup() + * @var string + * @access private + */ + var $hex; + + /** + * Converts base-2, base-10, base-16, and binary strings (base-256) to BigIntegers. + * + * If the second parameter - $base - is negative, then it will be assumed that the number's are encoded using + * two's compliment. The sole exception to this is -10, which is treated the same as 10 is. + * + * Here's an example: + * + * toString(); // outputs 50 + * ?> + * + * + * @param $x base-10 number or base-$base number if $base set. + * @param int $base + * @return \phpseclib\Math\BigInteger + * @access public + */ + function __construct($x = 0, $base = 10) + { + if (!defined('MATH_BIGINTEGER_MODE')) { + switch (true) { + case extension_loaded('gmp'): + define('MATH_BIGINTEGER_MODE', self::MODE_GMP); + break; + case extension_loaded('bcmath'): + define('MATH_BIGINTEGER_MODE', self::MODE_BCMATH); + break; + default: + define('MATH_BIGINTEGER_MODE', self::MODE_INTERNAL); + } + } + + if (extension_loaded('openssl') && !defined('MATH_BIGINTEGER_OPENSSL_DISABLE') && !defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) { + // some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work + ob_start(); + @phpinfo(); + $content = ob_get_contents(); + ob_end_clean(); + + preg_match_all('#OpenSSL (Header|Library) Version(.*)#im', $content, $matches); + + $versions = array(); + if (!empty($matches[1])) { + for ($i = 0; $i < count($matches[1]); $i++) { + $fullVersion = trim(str_replace('=>', '', strip_tags($matches[2][$i]))); + + // Remove letter part in OpenSSL version + if (!preg_match('/(\d+\.\d+\.\d+)/i', $fullVersion, $m)) { + $versions[$matches[1][$i]] = $fullVersion; + } else { + $versions[$matches[1][$i]] = $m[0]; + } + } + } + + // it doesn't appear that OpenSSL versions were reported upon until PHP 5.3+ + switch (true) { + case !isset($versions['Header']): + case !isset($versions['Library']): + case $versions['Header'] == $versions['Library']: + case version_compare($versions['Header'], '1.0.0') >= 0 && version_compare($versions['Library'], '1.0.0') >= 0: + define('MATH_BIGINTEGER_OPENSSL_ENABLED', true); + break; + default: + define('MATH_BIGINTEGER_OPENSSL_DISABLE', true); + } + } + + if (!defined('PHP_INT_SIZE')) { + define('PHP_INT_SIZE', 4); + } + + if (empty(self::$base) && MATH_BIGINTEGER_MODE == self::MODE_INTERNAL) { + switch (PHP_INT_SIZE) { + case 8: // use 64-bit integers if int size is 8 bytes + self::$base = 31; + self::$baseFull = 0x80000000; + self::$maxDigit = 0x7FFFFFFF; + self::$msb = 0x40000000; + self::$max10 = 1000000000; + self::$max10Len = 9; + self::$maxDigit2 = pow(2, 62); + break; + //case 4: // use 64-bit floats if int size is 4 bytes + default: + self::$base = 26; + self::$baseFull = 0x4000000; + self::$maxDigit = 0x3FFFFFF; + self::$msb = 0x2000000; + self::$max10 = 10000000; + self::$max10Len = 7; + self::$maxDigit2 = pow(2, 52); // pow() prevents truncation + } + } + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + switch (true) { + case is_resource($x) && get_resource_type($x) == 'GMP integer': + // PHP 5.6 switched GMP from using resources to objects + case $x instanceof \GMP: + $this->value = $x; + return; + } + $this->value = gmp_init(0); + break; + case self::MODE_BCMATH: + $this->value = '0'; + break; + default: + $this->value = array(); + } + + // '0' counts as empty() but when the base is 256 '0' is equal to ord('0') or 48 + // '0' is the only value like this per http://php.net/empty + if (empty($x) && (abs($base) != 256 || $x !== '0')) { + return; + } + + switch ($base) { + case -256: + if (ord($x[0]) & 0x80) { + $x = ~$x; + $this->is_negative = true; + } + case 256: + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $sign = $this->is_negative ? '-' : ''; + $this->value = gmp_init($sign . '0x' . bin2hex($x)); + break; + case self::MODE_BCMATH: + // round $len to the nearest 4 (thanks, DavidMJ!) + $len = (strlen($x) + 3) & 0xFFFFFFFC; + + $x = str_pad($x, $len, chr(0), STR_PAD_LEFT); + + for ($i = 0; $i < $len; $i+= 4) { + $this->value = bcmul($this->value, '4294967296', 0); // 4294967296 == 2**32 + $this->value = bcadd($this->value, 0x1000000 * ord($x[$i]) + ((ord($x[$i + 1]) << 16) | (ord($x[$i + 2]) << 8) | ord($x[$i + 3])), 0); + } + + if ($this->is_negative) { + $this->value = '-' . $this->value; + } + + break; + // converts a base-2**8 (big endian / msb) number to base-2**26 (little endian / lsb) + default: + while (strlen($x)) { + $this->value[] = $this->_bytes2int($this->_base256_rshift($x, self::$base)); + } + } + + if ($this->is_negative) { + if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) { + $this->is_negative = false; + } + $temp = $this->add(new static('-1')); + $this->value = $temp->value; + } + break; + case 16: + case -16: + if ($base > 0 && $x[0] == '-') { + $this->is_negative = true; + $x = substr($x, 1); + } + + $x = preg_replace('#^(?:0x)?([A-Fa-f0-9]*).*#', '$1', $x); + + $is_negative = false; + if ($base < 0 && hexdec($x[0]) >= 8) { + $this->is_negative = $is_negative = true; + $x = bin2hex(~pack('H*', $x)); + } + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = $this->is_negative ? '-0x' . $x : '0x' . $x; + $this->value = gmp_init($temp); + $this->is_negative = false; + break; + case self::MODE_BCMATH: + $x = (strlen($x) & 1) ? '0' . $x : $x; + $temp = new static(pack('H*', $x), 256); + $this->value = $this->is_negative ? '-' . $temp->value : $temp->value; + $this->is_negative = false; + break; + default: + $x = (strlen($x) & 1) ? '0' . $x : $x; + $temp = new static(pack('H*', $x), 256); + $this->value = $temp->value; + } + + if ($is_negative) { + $temp = $this->add(new static('-1')); + $this->value = $temp->value; + } + break; + case 10: + case -10: + // (?value = gmp_init($x); + break; + case self::MODE_BCMATH: + // explicitly casting $x to a string is necessary, here, since doing $x[0] on -1 yields different + // results then doing it on '-1' does (modInverse does $x[0]) + $this->value = $x === '-' ? '0' : (string) $x; + break; + default: + $temp = new static(); + + $multiplier = new static(); + $multiplier->value = array(self::$max10); + + if ($x[0] == '-') { + $this->is_negative = true; + $x = substr($x, 1); + } + + $x = str_pad($x, strlen($x) + ((self::$max10Len - 1) * strlen($x)) % self::$max10Len, 0, STR_PAD_LEFT); + while (strlen($x)) { + $temp = $temp->multiply($multiplier); + $temp = $temp->add(new static($this->_int2bytes(substr($x, 0, self::$max10Len)), 256)); + $x = substr($x, self::$max10Len); + } + + $this->value = $temp->value; + } + break; + case 2: // base-2 support originally implemented by Lluis Pamies - thanks! + case -2: + if ($base > 0 && $x[0] == '-') { + $this->is_negative = true; + $x = substr($x, 1); + } + + $x = preg_replace('#^([01]*).*#', '$1', $x); + $x = str_pad($x, strlen($x) + (3 * strlen($x)) % 4, 0, STR_PAD_LEFT); + + $str = '0x'; + while (strlen($x)) { + $part = substr($x, 0, 4); + $str.= dechex(bindec($part)); + $x = substr($x, 4); + } + + if ($this->is_negative) { + $str = '-' . $str; + } + + $temp = new static($str, 8 * $base); // ie. either -16 or +16 + $this->value = $temp->value; + $this->is_negative = $temp->is_negative; + + break; + default: + // base not supported, so we'll let $this == 0 + } + } + + /** + * Converts a BigInteger to a byte string (eg. base-256). + * + * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're + * saved as two's compliment. + * + * Here's an example: + * + * toBytes(); // outputs chr(65) + * ?> + * + * + * @param bool $twos_compliment + * @return string + * @access public + * @internal Converts a base-2**26 number to base-2**8 + */ + function toBytes($twos_compliment = false) + { + if ($twos_compliment) { + $comparison = $this->compare(new static()); + if ($comparison == 0) { + return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; + } + + $temp = $comparison < 0 ? $this->add(new static(1)) : $this->copy(); + $bytes = $temp->toBytes(); + + if (empty($bytes)) { // eg. if the number we're trying to convert is -1 + $bytes = chr(0); + } + + if (ord($bytes[0]) & 0x80) { + $bytes = chr(0) . $bytes; + } + + return $comparison < 0 ? ~$bytes : $bytes; + } + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + if (gmp_cmp($this->value, gmp_init(0)) == 0) { + return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; + } + + $temp = gmp_strval(gmp_abs($this->value), 16); + $temp = (strlen($temp) & 1) ? '0' . $temp : $temp; + $temp = pack('H*', $temp); + + return $this->precision > 0 ? + substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) : + ltrim($temp, chr(0)); + case self::MODE_BCMATH: + if ($this->value === '0') { + return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; + } + + $value = ''; + $current = $this->value; + + if ($current[0] == '-') { + $current = substr($current, 1); + } + + while (bccomp($current, '0', 0) > 0) { + $temp = bcmod($current, '16777216'); + $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value; + $current = bcdiv($current, '16777216', 0); + } + + return $this->precision > 0 ? + substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) : + ltrim($value, chr(0)); + } + + if (!count($this->value)) { + return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; + } + $result = $this->_int2bytes($this->value[count($this->value) - 1]); + + $temp = $this->copy(); + + for ($i = count($temp->value) - 2; $i >= 0; --$i) { + $temp->_base256_lshift($result, self::$base); + $result = $result | str_pad($temp->_int2bytes($temp->value[$i]), strlen($result), chr(0), STR_PAD_LEFT); + } + + return $this->precision > 0 ? + str_pad(substr($result, -(($this->precision + 7) >> 3)), ($this->precision + 7) >> 3, chr(0), STR_PAD_LEFT) : + $result; + } + + /** + * Converts a BigInteger to a hex string (eg. base-16)). + * + * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're + * saved as two's compliment. + * + * Here's an example: + * + * toHex(); // outputs '41' + * ?> + * + * + * @param bool $twos_compliment + * @return string + * @access public + * @internal Converts a base-2**26 number to base-2**8 + */ + function toHex($twos_compliment = false) + { + return bin2hex($this->toBytes($twos_compliment)); + } + + /** + * Converts a BigInteger to a bit string (eg. base-2). + * + * Negative numbers are saved as positive numbers, unless $twos_compliment is set to true, at which point, they're + * saved as two's compliment. + * + * Here's an example: + * + * toBits(); // outputs '1000001' + * ?> + * + * + * @param bool $twos_compliment + * @return string + * @access public + * @internal Converts a base-2**26 number to base-2**2 + */ + function toBits($twos_compliment = false) + { + $hex = $this->toHex($twos_compliment); + $bits = ''; + for ($i = strlen($hex) - 8, $start = strlen($hex) & 7; $i >= $start; $i-=8) { + $bits = str_pad(decbin(hexdec(substr($hex, $i, 8))), 32, '0', STR_PAD_LEFT) . $bits; + } + if ($start) { // hexdec('') == 0 + $bits = str_pad(decbin(hexdec(substr($hex, 0, $start))), 8, '0', STR_PAD_LEFT) . $bits; + } + $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0'); + + if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) { + return '0' . $result; + } + + return $result; + } + + /** + * Converts a BigInteger to a base-10 number. + * + * Here's an example: + * + * toString(); // outputs 50 + * ?> + * + * + * @return string + * @access public + * @internal Converts a base-2**26 number to base-10**7 (which is pretty much base-10) + */ + function toString() + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + return gmp_strval($this->value); + case self::MODE_BCMATH: + if ($this->value === '0') { + return '0'; + } + + return ltrim($this->value, '0'); + } + + if (!count($this->value)) { + return '0'; + } + + $temp = $this->copy(); + $temp->is_negative = false; + + $divisor = new static(); + $divisor->value = array(self::$max10); + $result = ''; + while (count($temp->value)) { + list($temp, $mod) = $temp->divide($divisor); + $result = str_pad(isset($mod->value[0]) ? $mod->value[0] : '', self::$max10Len, '0', STR_PAD_LEFT) . $result; + } + $result = ltrim($result, '0'); + if (empty($result)) { + $result = '0'; + } + + if ($this->is_negative) { + $result = '-' . $result; + } + + return $result; + } + + /** + * Copy an object + * + * PHP5 passes objects by reference while PHP4 passes by value. As such, we need a function to guarantee + * that all objects are passed by value, when appropriate. More information can be found here: + * + * {@link http://php.net/language.oop5.basic#51624} + * + * @access public + * @see self::__clone() + * @return \phpseclib\Math\BigInteger + */ + function copy() + { + $temp = new static(); + $temp->value = $this->value; + $temp->is_negative = $this->is_negative; + $temp->precision = $this->precision; + $temp->bitmask = $this->bitmask; + return $temp; + } + + /** + * __toString() magic method + * + * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call + * toString(). + * + * @access public + * @internal Implemented per a suggestion by Techie-Michael - thanks! + */ + function __toString() + { + return $this->toString(); + } + + /** + * __clone() magic method + * + * Although you can call BigInteger::__toString() directly in PHP5, you cannot call BigInteger::__clone() directly + * in PHP5. You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5 + * only syntax of $y = clone $x. As such, if you're trying to write an application that works on both PHP4 and + * PHP5, call BigInteger::copy(), instead. + * + * @access public + * @see self::copy() + * @return \phpseclib\Math\BigInteger + */ + function __clone() + { + return $this->copy(); + } + + /** + * __sleep() magic method + * + * Will be called, automatically, when serialize() is called on a BigInteger object. + * + * @see self::__wakeup() + * @access public + */ + function __sleep() + { + $this->hex = $this->toHex(true); + $vars = array('hex'); + if ($this->precision > 0) { + $vars[] = 'precision'; + } + return $vars; + } + + /** + * __wakeup() magic method + * + * Will be called, automatically, when unserialize() is called on a BigInteger object. + * + * @see self::__sleep() + * @access public + */ + function __wakeup() + { + $temp = new static($this->hex, -16); + $this->value = $temp->value; + $this->is_negative = $temp->is_negative; + if ($this->precision > 0) { + // recalculate $this->bitmask + $this->setPrecision($this->precision); + } + } + + /** + * __debugInfo() magic method + * + * Will be called, automatically, when print_r() or var_dump() are called + * + * @access public + */ + function __debugInfo() + { + $opts = array(); + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $engine = 'gmp'; + break; + case self::MODE_BCMATH: + $engine = 'bcmath'; + break; + case self::MODE_INTERNAL: + $engine = 'internal'; + $opts[] = PHP_INT_SIZE == 8 ? '64-bit' : '32-bit'; + } + if (MATH_BIGINTEGER_MODE != self::MODE_GMP && defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) { + $opts[] = 'OpenSSL'; + } + if (!empty($opts)) { + $engine.= ' (' . implode($opts, ', ') . ')'; + } + return array( + 'value' => '0x' . $this->toHex(true), + 'engine' => $engine + ); + } + + /** + * Adds two BigIntegers. + * + * Here's an example: + * + * add($b); + * + * echo $c->toString(); // outputs 30 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $y + * @return \phpseclib\Math\BigInteger + * @access public + * @internal Performs base-2**52 addition + */ + function add($y) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_add($this->value, $y->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $temp = new static(); + $temp->value = bcadd($this->value, $y->value, 0); + + return $this->_normalize($temp); + } + + $temp = $this->_add($this->value, $this->is_negative, $y->value, $y->is_negative); + + $result = new static(); + $result->value = $temp[self::VALUE]; + $result->is_negative = $temp[self::SIGN]; + + return $this->_normalize($result); + } + + /** + * Performs addition. + * + * @param array $x_value + * @param bool $x_negative + * @param array $y_value + * @param bool $y_negative + * @return array + * @access private + */ + function _add($x_value, $x_negative, $y_value, $y_negative) + { + $x_size = count($x_value); + $y_size = count($y_value); + + if ($x_size == 0) { + return array( + self::VALUE => $y_value, + self::SIGN => $y_negative + ); + } elseif ($y_size == 0) { + return array( + self::VALUE => $x_value, + self::SIGN => $x_negative + ); + } + + // subtract, if appropriate + if ($x_negative != $y_negative) { + if ($x_value == $y_value) { + return array( + self::VALUE => array(), + self::SIGN => false + ); + } + + $temp = $this->_subtract($x_value, false, $y_value, false); + $temp[self::SIGN] = $this->_compare($x_value, false, $y_value, false) > 0 ? + $x_negative : $y_negative; + + return $temp; + } + + if ($x_size < $y_size) { + $size = $x_size; + $value = $y_value; + } else { + $size = $y_size; + $value = $x_value; + } + + $value[count($value)] = 0; // just in case the carry adds an extra digit + + $carry = 0; + for ($i = 0, $j = 1; $j < $size; $i+=2, $j+=2) { + $sum = $x_value[$j] * self::$baseFull + $x_value[$i] + $y_value[$j] * self::$baseFull + $y_value[$i] + $carry; + $carry = $sum >= self::$maxDigit2; // eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1 + $sum = $carry ? $sum - self::$maxDigit2 : $sum; + + $temp = self::$base === 26 ? intval($sum / 0x4000000) : ($sum >> 31); + + $value[$i] = (int) ($sum - self::$baseFull * $temp); // eg. a faster alternative to fmod($sum, 0x4000000) + $value[$j] = $temp; + } + + if ($j == $size) { // ie. if $y_size is odd + $sum = $x_value[$i] + $y_value[$i] + $carry; + $carry = $sum >= self::$baseFull; + $value[$i] = $carry ? $sum - self::$baseFull : $sum; + ++$i; // ie. let $i = $j since we've just done $value[$i] + } + + if ($carry) { + for (; $value[$i] == self::$maxDigit; ++$i) { + $value[$i] = 0; + } + ++$value[$i]; + } + + return array( + self::VALUE => $this->_trim($value), + self::SIGN => $x_negative + ); + } + + /** + * Subtracts two BigIntegers. + * + * Here's an example: + * + * subtract($b); + * + * echo $c->toString(); // outputs -10 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $y + * @return \phpseclib\Math\BigInteger + * @access public + * @internal Performs base-2**52 subtraction + */ + function subtract($y) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_sub($this->value, $y->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $temp = new static(); + $temp->value = bcsub($this->value, $y->value, 0); + + return $this->_normalize($temp); + } + + $temp = $this->_subtract($this->value, $this->is_negative, $y->value, $y->is_negative); + + $result = new static(); + $result->value = $temp[self::VALUE]; + $result->is_negative = $temp[self::SIGN]; + + return $this->_normalize($result); + } + + /** + * Performs subtraction. + * + * @param array $x_value + * @param bool $x_negative + * @param array $y_value + * @param bool $y_negative + * @return array + * @access private + */ + function _subtract($x_value, $x_negative, $y_value, $y_negative) + { + $x_size = count($x_value); + $y_size = count($y_value); + + if ($x_size == 0) { + return array( + self::VALUE => $y_value, + self::SIGN => !$y_negative + ); + } elseif ($y_size == 0) { + return array( + self::VALUE => $x_value, + self::SIGN => $x_negative + ); + } + + // add, if appropriate (ie. -$x - +$y or +$x - -$y) + if ($x_negative != $y_negative) { + $temp = $this->_add($x_value, false, $y_value, false); + $temp[self::SIGN] = $x_negative; + + return $temp; + } + + $diff = $this->_compare($x_value, $x_negative, $y_value, $y_negative); + + if (!$diff) { + return array( + self::VALUE => array(), + self::SIGN => false + ); + } + + // switch $x and $y around, if appropriate. + if ((!$x_negative && $diff < 0) || ($x_negative && $diff > 0)) { + $temp = $x_value; + $x_value = $y_value; + $y_value = $temp; + + $x_negative = !$x_negative; + + $x_size = count($x_value); + $y_size = count($y_value); + } + + // at this point, $x_value should be at least as big as - if not bigger than - $y_value + + $carry = 0; + for ($i = 0, $j = 1; $j < $y_size; $i+=2, $j+=2) { + $sum = $x_value[$j] * self::$baseFull + $x_value[$i] - $y_value[$j] * self::$baseFull - $y_value[$i] - $carry; + $carry = $sum < 0; // eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1 + $sum = $carry ? $sum + self::$maxDigit2 : $sum; + + $temp = self::$base === 26 ? intval($sum / 0x4000000) : ($sum >> 31); + + $x_value[$i] = (int) ($sum - self::$baseFull * $temp); + $x_value[$j] = $temp; + } + + if ($j == $y_size) { // ie. if $y_size is odd + $sum = $x_value[$i] - $y_value[$i] - $carry; + $carry = $sum < 0; + $x_value[$i] = $carry ? $sum + self::$baseFull : $sum; + ++$i; + } + + if ($carry) { + for (; !$x_value[$i]; ++$i) { + $x_value[$i] = self::$maxDigit; + } + --$x_value[$i]; + } + + return array( + self::VALUE => $this->_trim($x_value), + self::SIGN => $x_negative + ); + } + + /** + * Multiplies two BigIntegers + * + * Here's an example: + * + * multiply($b); + * + * echo $c->toString(); // outputs 200 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $x + * @return \phpseclib\Math\BigInteger + * @access public + */ + function multiply($x) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_mul($this->value, $x->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $temp = new static(); + $temp->value = bcmul($this->value, $x->value, 0); + + return $this->_normalize($temp); + } + + $temp = $this->_multiply($this->value, $this->is_negative, $x->value, $x->is_negative); + + $product = new static(); + $product->value = $temp[self::VALUE]; + $product->is_negative = $temp[self::SIGN]; + + return $this->_normalize($product); + } + + /** + * Performs multiplication. + * + * @param array $x_value + * @param bool $x_negative + * @param array $y_value + * @param bool $y_negative + * @return array + * @access private + */ + function _multiply($x_value, $x_negative, $y_value, $y_negative) + { + //if ( $x_value == $y_value ) { + // return array( + // self::VALUE => $this->_square($x_value), + // self::SIGN => $x_sign != $y_value + // ); + //} + + $x_length = count($x_value); + $y_length = count($y_value); + + if (!$x_length || !$y_length) { // a 0 is being multiplied + return array( + self::VALUE => array(), + self::SIGN => false + ); + } + + return array( + self::VALUE => min($x_length, $y_length) < 2 * self::KARATSUBA_CUTOFF ? + $this->_trim($this->_regularMultiply($x_value, $y_value)) : + $this->_trim($this->_karatsuba($x_value, $y_value)), + self::SIGN => $x_negative != $y_negative + ); + } + + /** + * Performs long multiplication on two BigIntegers + * + * Modeled after 'multiply' in MutableBigInteger.java. + * + * @param array $x_value + * @param array $y_value + * @return array + * @access private + */ + function _regularMultiply($x_value, $y_value) + { + $x_length = count($x_value); + $y_length = count($y_value); + + if (!$x_length || !$y_length) { // a 0 is being multiplied + return array(); + } + + if ($x_length < $y_length) { + $temp = $x_value; + $x_value = $y_value; + $y_value = $temp; + + $x_length = count($x_value); + $y_length = count($y_value); + } + + $product_value = $this->_array_repeat(0, $x_length + $y_length); + + // the following for loop could be removed if the for loop following it + // (the one with nested for loops) initially set $i to 0, but + // doing so would also make the result in one set of unnecessary adds, + // since on the outermost loops first pass, $product->value[$k] is going + // to always be 0 + + $carry = 0; + + for ($j = 0; $j < $x_length; ++$j) { // ie. $i = 0 + $temp = $x_value[$j] * $y_value[0] + $carry; // $product_value[$k] == 0 + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $product_value[$j] = (int) ($temp - self::$baseFull * $carry); + } + + $product_value[$j] = $carry; + + // the above for loop is what the previous comment was talking about. the + // following for loop is the "one with nested for loops" + for ($i = 1; $i < $y_length; ++$i) { + $carry = 0; + + for ($j = 0, $k = $i; $j < $x_length; ++$j, ++$k) { + $temp = $product_value[$k] + $x_value[$j] * $y_value[$i] + $carry; + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $product_value[$k] = (int) ($temp - self::$baseFull * $carry); + } + + $product_value[$k] = $carry; + } + + return $product_value; + } + + /** + * Performs Karatsuba multiplication on two BigIntegers + * + * See {@link http://en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=120 MPM 5.2.3}. + * + * @param array $x_value + * @param array $y_value + * @return array + * @access private + */ + function _karatsuba($x_value, $y_value) + { + $m = min(count($x_value) >> 1, count($y_value) >> 1); + + if ($m < self::KARATSUBA_CUTOFF) { + return $this->_regularMultiply($x_value, $y_value); + } + + $x1 = array_slice($x_value, $m); + $x0 = array_slice($x_value, 0, $m); + $y1 = array_slice($y_value, $m); + $y0 = array_slice($y_value, 0, $m); + + $z2 = $this->_karatsuba($x1, $y1); + $z0 = $this->_karatsuba($x0, $y0); + + $z1 = $this->_add($x1, false, $x0, false); + $temp = $this->_add($y1, false, $y0, false); + $z1 = $this->_karatsuba($z1[self::VALUE], $temp[self::VALUE]); + $temp = $this->_add($z2, false, $z0, false); + $z1 = $this->_subtract($z1, false, $temp[self::VALUE], false); + + $z2 = array_merge(array_fill(0, 2 * $m, 0), $z2); + $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]); + + $xy = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]); + $xy = $this->_add($xy[self::VALUE], $xy[self::SIGN], $z0, false); + + return $xy[self::VALUE]; + } + + /** + * Performs squaring + * + * @param array $x + * @return array + * @access private + */ + function _square($x = false) + { + return count($x) < 2 * self::KARATSUBA_CUTOFF ? + $this->_trim($this->_baseSquare($x)) : + $this->_trim($this->_karatsubaSquare($x)); + } + + /** + * Performs traditional squaring on two BigIntegers + * + * Squaring can be done faster than multiplying a number by itself can be. See + * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=7 HAC 14.2.4} / + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=141 MPM 5.3} for more information. + * + * @param array $value + * @return array + * @access private + */ + function _baseSquare($value) + { + if (empty($value)) { + return array(); + } + $square_value = $this->_array_repeat(0, 2 * count($value)); + + for ($i = 0, $max_index = count($value) - 1; $i <= $max_index; ++$i) { + $i2 = $i << 1; + + $temp = $square_value[$i2] + $value[$i] * $value[$i]; + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $square_value[$i2] = (int) ($temp - self::$baseFull * $carry); + + // note how we start from $i+1 instead of 0 as we do in multiplication. + for ($j = $i + 1, $k = $i2 + 1; $j <= $max_index; ++$j, ++$k) { + $temp = $square_value[$k] + 2 * $value[$j] * $value[$i] + $carry; + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $square_value[$k] = (int) ($temp - self::$baseFull * $carry); + } + + // the following line can yield values larger 2**15. at this point, PHP should switch + // over to floats. + $square_value[$i + $max_index + 1] = $carry; + } + + return $square_value; + } + + /** + * Performs Karatsuba "squaring" on two BigIntegers + * + * See {@link http://en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=151 MPM 5.3.4}. + * + * @param array $value + * @return array + * @access private + */ + function _karatsubaSquare($value) + { + $m = count($value) >> 1; + + if ($m < self::KARATSUBA_CUTOFF) { + return $this->_baseSquare($value); + } + + $x1 = array_slice($value, $m); + $x0 = array_slice($value, 0, $m); + + $z2 = $this->_karatsubaSquare($x1); + $z0 = $this->_karatsubaSquare($x0); + + $z1 = $this->_add($x1, false, $x0, false); + $z1 = $this->_karatsubaSquare($z1[self::VALUE]); + $temp = $this->_add($z2, false, $z0, false); + $z1 = $this->_subtract($z1, false, $temp[self::VALUE], false); + + $z2 = array_merge(array_fill(0, 2 * $m, 0), $z2); + $z1[self::VALUE] = array_merge(array_fill(0, $m, 0), $z1[self::VALUE]); + + $xx = $this->_add($z2, false, $z1[self::VALUE], $z1[self::SIGN]); + $xx = $this->_add($xx[self::VALUE], $xx[self::SIGN], $z0, false); + + return $xx[self::VALUE]; + } + + /** + * Divides two BigIntegers. + * + * Returns an array whose first element contains the quotient and whose second element contains the + * "common residue". If the remainder would be positive, the "common residue" and the remainder are the + * same. If the remainder would be negative, the "common residue" is equal to the sum of the remainder + * and the divisor (basically, the "common residue" is the first positive modulo). + * + * Here's an example: + * + * divide($b); + * + * echo $quotient->toString(); // outputs 0 + * echo "\r\n"; + * echo $remainder->toString(); // outputs 10 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $y + * @return array + * @access public + * @internal This function is based off of {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=9 HAC 14.20}. + */ + function divide($y) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $quotient = new static(); + $remainder = new static(); + + list($quotient->value, $remainder->value) = gmp_div_qr($this->value, $y->value); + + if (gmp_sign($remainder->value) < 0) { + $remainder->value = gmp_add($remainder->value, gmp_abs($y->value)); + } + + return array($this->_normalize($quotient), $this->_normalize($remainder)); + case self::MODE_BCMATH: + $quotient = new static(); + $remainder = new static(); + + $quotient->value = bcdiv($this->value, $y->value, 0); + $remainder->value = bcmod($this->value, $y->value); + + if ($remainder->value[0] == '-') { + $remainder->value = bcadd($remainder->value, $y->value[0] == '-' ? substr($y->value, 1) : $y->value, 0); + } + + return array($this->_normalize($quotient), $this->_normalize($remainder)); + } + + if (count($y->value) == 1) { + list($q, $r) = $this->_divide_digit($this->value, $y->value[0]); + $quotient = new static(); + $remainder = new static(); + $quotient->value = $q; + $remainder->value = array($r); + $quotient->is_negative = $this->is_negative != $y->is_negative; + return array($this->_normalize($quotient), $this->_normalize($remainder)); + } + + static $zero; + if (!isset($zero)) { + $zero = new static(); + } + + $x = $this->copy(); + $y = $y->copy(); + + $x_sign = $x->is_negative; + $y_sign = $y->is_negative; + + $x->is_negative = $y->is_negative = false; + + $diff = $x->compare($y); + + if (!$diff) { + $temp = new static(); + $temp->value = array(1); + $temp->is_negative = $x_sign != $y_sign; + return array($this->_normalize($temp), $this->_normalize(new static())); + } + + if ($diff < 0) { + // if $x is negative, "add" $y. + if ($x_sign) { + $x = $y->subtract($x); + } + return array($this->_normalize(new static()), $this->_normalize($x)); + } + + // normalize $x and $y as described in HAC 14.23 / 14.24 + $msb = $y->value[count($y->value) - 1]; + for ($shift = 0; !($msb & self::$msb); ++$shift) { + $msb <<= 1; + } + $x->_lshift($shift); + $y->_lshift($shift); + $y_value = &$y->value; + + $x_max = count($x->value) - 1; + $y_max = count($y->value) - 1; + + $quotient = new static(); + $quotient_value = &$quotient->value; + $quotient_value = $this->_array_repeat(0, $x_max - $y_max + 1); + + static $temp, $lhs, $rhs; + if (!isset($temp)) { + $temp = new static(); + $lhs = new static(); + $rhs = new static(); + } + $temp_value = &$temp->value; + $rhs_value = &$rhs->value; + + // $temp = $y << ($x_max - $y_max-1) in base 2**26 + $temp_value = array_merge($this->_array_repeat(0, $x_max - $y_max), $y_value); + + while ($x->compare($temp) >= 0) { + // calculate the "common residue" + ++$quotient_value[$x_max - $y_max]; + $x = $x->subtract($temp); + $x_max = count($x->value) - 1; + } + + for ($i = $x_max; $i >= $y_max + 1; --$i) { + $x_value = &$x->value; + $x_window = array( + isset($x_value[$i]) ? $x_value[$i] : 0, + isset($x_value[$i - 1]) ? $x_value[$i - 1] : 0, + isset($x_value[$i - 2]) ? $x_value[$i - 2] : 0 + ); + $y_window = array( + $y_value[$y_max], + ($y_max > 0) ? $y_value[$y_max - 1] : 0 + ); + + $q_index = $i - $y_max - 1; + if ($x_window[0] == $y_window[0]) { + $quotient_value[$q_index] = self::$maxDigit; + } else { + $quotient_value[$q_index] = $this->_safe_divide( + $x_window[0] * self::$baseFull + $x_window[1], + $y_window[0] + ); + } + + $temp_value = array($y_window[1], $y_window[0]); + + $lhs->value = array($quotient_value[$q_index]); + $lhs = $lhs->multiply($temp); + + $rhs_value = array($x_window[2], $x_window[1], $x_window[0]); + + while ($lhs->compare($rhs) > 0) { + --$quotient_value[$q_index]; + + $lhs->value = array($quotient_value[$q_index]); + $lhs = $lhs->multiply($temp); + } + + $adjust = $this->_array_repeat(0, $q_index); + $temp_value = array($quotient_value[$q_index]); + $temp = $temp->multiply($y); + $temp_value = &$temp->value; + $temp_value = array_merge($adjust, $temp_value); + + $x = $x->subtract($temp); + + if ($x->compare($zero) < 0) { + $temp_value = array_merge($adjust, $y_value); + $x = $x->add($temp); + + --$quotient_value[$q_index]; + } + + $x_max = count($x_value) - 1; + } + + // unnormalize the remainder + $x->_rshift($shift); + + $quotient->is_negative = $x_sign != $y_sign; + + // calculate the "common residue", if appropriate + if ($x_sign) { + $y->_rshift($shift); + $x = $y->subtract($x); + } + + return array($this->_normalize($quotient), $this->_normalize($x)); + } + + /** + * Divides a BigInteger by a regular integer + * + * abc / x = a00 / x + b0 / x + c / x + * + * @param array $dividend + * @param array $divisor + * @return array + * @access private + */ + function _divide_digit($dividend, $divisor) + { + $carry = 0; + $result = array(); + + for ($i = count($dividend) - 1; $i >= 0; --$i) { + $temp = self::$baseFull * $carry + $dividend[$i]; + $result[$i] = $this->_safe_divide($temp, $divisor); + $carry = (int) ($temp - $divisor * $result[$i]); + } + + return array($result, $carry); + } + + /** + * Performs modular exponentiation. + * + * Here's an example: + * + * modPow($b, $c); + * + * echo $c->toString(); // outputs 10 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $e + * @param \phpseclib\Math\BigInteger $n + * @return \phpseclib\Math\BigInteger + * @access public + * @internal The most naive approach to modular exponentiation has very unreasonable requirements, and + * and although the approach involving repeated squaring does vastly better, it, too, is impractical + * for our purposes. The reason being that division - by far the most complicated and time-consuming + * of the basic operations (eg. +,-,*,/) - occurs multiple times within it. + * + * Modular reductions resolve this issue. Although an individual modular reduction takes more time + * then an individual division, when performed in succession (with the same modulo), they're a lot faster. + * + * The two most commonly used modular reductions are Barrett and Montgomery reduction. Montgomery reduction, + * although faster, only works when the gcd of the modulo and of the base being used is 1. In RSA, when the + * base is a power of two, the modulo - a product of two primes - is always going to have a gcd of 1 (because + * the product of two odd numbers is odd), but what about when RSA isn't used? + * + * In contrast, Barrett reduction has no such constraint. As such, some bigint implementations perform a + * Barrett reduction after every operation in the modpow function. Others perform Barrett reductions when the + * modulo is even and Montgomery reductions when the modulo is odd. BigInteger.java's modPow method, however, + * uses a trick involving the Chinese Remainder Theorem to factor the even modulo into two numbers - one odd and + * the other, a power of two - and recombine them, later. This is the method that this modPow function uses. + * {@link http://islab.oregonstate.edu/papers/j34monex.pdf Montgomery Reduction with Even Modulus} elaborates. + */ + function modPow($e, $n) + { + $n = $this->bitmask !== false && $this->bitmask->compare($n) < 0 ? $this->bitmask : $n->abs(); + + if ($e->compare(new static()) < 0) { + $e = $e->abs(); + + $temp = $this->modInverse($n); + if ($temp === false) { + return false; + } + + return $this->_normalize($temp->modPow($e, $n)); + } + + if (MATH_BIGINTEGER_MODE == self::MODE_GMP) { + $temp = new static(); + $temp->value = gmp_powm($this->value, $e->value, $n->value); + + return $this->_normalize($temp); + } + + if ($this->compare(new static()) < 0 || $this->compare($n) > 0) { + list(, $temp) = $this->divide($n); + return $temp->modPow($e, $n); + } + + if (defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) { + $components = array( + 'modulus' => $n->toBytes(true), + 'publicExponent' => $e->toBytes(true) + ); + + $components = array( + 'modulus' => pack('Ca*a*', 2, $this->_encodeASN1Length(strlen($components['modulus'])), $components['modulus']), + 'publicExponent' => pack('Ca*a*', 2, $this->_encodeASN1Length(strlen($components['publicExponent'])), $components['publicExponent']) + ); + + $RSAPublicKey = pack( + 'Ca*a*a*', + 48, + $this->_encodeASN1Length(strlen($components['modulus']) + strlen($components['publicExponent'])), + $components['modulus'], + $components['publicExponent'] + ); + + $rsaOID = pack('H*', '300d06092a864886f70d0101010500'); // hex version of MA0GCSqGSIb3DQEBAQUA + $RSAPublicKey = chr(0) . $RSAPublicKey; + $RSAPublicKey = chr(3) . $this->_encodeASN1Length(strlen($RSAPublicKey)) . $RSAPublicKey; + + $encapsulated = pack( + 'Ca*a*', + 48, + $this->_encodeASN1Length(strlen($rsaOID . $RSAPublicKey)), + $rsaOID . $RSAPublicKey + ); + + $RSAPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" . + chunk_split(base64_encode($encapsulated)) . + '-----END PUBLIC KEY-----'; + + $plaintext = str_pad($this->toBytes(), strlen($n->toBytes(true)) - 1, "\0", STR_PAD_LEFT); + + if (openssl_public_encrypt($plaintext, $result, $RSAPublicKey, OPENSSL_NO_PADDING)) { + return new static($result, 256); + } + } + + if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) { + $temp = new static(); + $temp->value = bcpowmod($this->value, $e->value, $n->value, 0); + + return $this->_normalize($temp); + } + + if (empty($e->value)) { + $temp = new static(); + $temp->value = array(1); + return $this->_normalize($temp); + } + + if ($e->value == array(1)) { + list(, $temp) = $this->divide($n); + return $this->_normalize($temp); + } + + if ($e->value == array(2)) { + $temp = new static(); + $temp->value = $this->_square($this->value); + list(, $temp) = $temp->divide($n); + return $this->_normalize($temp); + } + + return $this->_normalize($this->_slidingWindow($e, $n, self::BARRETT)); + + // the following code, although not callable, can be run independently of the above code + // although the above code performed better in my benchmarks the following could might + // perform better under different circumstances. in lieu of deleting it it's just been + // made uncallable + + // is the modulo odd? + if ($n->value[0] & 1) { + return $this->_normalize($this->_slidingWindow($e, $n, self::MONTGOMERY)); + } + // if it's not, it's even + + // find the lowest set bit (eg. the max pow of 2 that divides $n) + for ($i = 0; $i < count($n->value); ++$i) { + if ($n->value[$i]) { + $temp = decbin($n->value[$i]); + $j = strlen($temp) - strrpos($temp, '1') - 1; + $j+= 26 * $i; + break; + } + } + // at this point, 2^$j * $n/(2^$j) == $n + + $mod1 = $n->copy(); + $mod1->_rshift($j); + $mod2 = new static(); + $mod2->value = array(1); + $mod2->_lshift($j); + + $part1 = ($mod1->value != array(1)) ? $this->_slidingWindow($e, $mod1, self::MONTGOMERY) : new static(); + $part2 = $this->_slidingWindow($e, $mod2, self::POWEROF2); + + $y1 = $mod2->modInverse($mod1); + $y2 = $mod1->modInverse($mod2); + + $result = $part1->multiply($mod2); + $result = $result->multiply($y1); + + $temp = $part2->multiply($mod1); + $temp = $temp->multiply($y2); + + $result = $result->add($temp); + list(, $result) = $result->divide($n); + + return $this->_normalize($result); + } + + /** + * Performs modular exponentiation. + * + * Alias for modPow(). + * + * @param \phpseclib\Math\BigInteger $e + * @param \phpseclib\Math\BigInteger $n + * @return \phpseclib\Math\BigInteger + * @access public + */ + function powMod($e, $n) + { + return $this->modPow($e, $n); + } + + /** + * Sliding Window k-ary Modular Exponentiation + * + * Based on {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=27 HAC 14.85} / + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=210 MPM 7.7}. In a departure from those algorithims, + * however, this function performs a modular reduction after every multiplication and squaring operation. + * As such, this function has the same preconditions that the reductions being used do. + * + * @param \phpseclib\Math\BigInteger $e + * @param \phpseclib\Math\BigInteger $n + * @param int $mode + * @return \phpseclib\Math\BigInteger + * @access private + */ + function _slidingWindow($e, $n, $mode) + { + static $window_ranges = array(7, 25, 81, 241, 673, 1793); // from BigInteger.java's oddModPow function + //static $window_ranges = array(0, 7, 36, 140, 450, 1303, 3529); // from MPM 7.3.1 + + $e_value = $e->value; + $e_length = count($e_value) - 1; + $e_bits = decbin($e_value[$e_length]); + for ($i = $e_length - 1; $i >= 0; --$i) { + $e_bits.= str_pad(decbin($e_value[$i]), self::$base, '0', STR_PAD_LEFT); + } + + $e_length = strlen($e_bits); + + // calculate the appropriate window size. + // $window_size == 3 if $window_ranges is between 25 and 81, for example. + for ($i = 0, $window_size = 1; $i < count($window_ranges) && $e_length > $window_ranges[$i]; ++$window_size, ++$i) { + } + + $n_value = $n->value; + + // precompute $this^0 through $this^$window_size + $powers = array(); + $powers[1] = $this->_prepareReduce($this->value, $n_value, $mode); + $powers[2] = $this->_squareReduce($powers[1], $n_value, $mode); + + // we do every other number since substr($e_bits, $i, $j+1) (see below) is supposed to end + // in a 1. ie. it's supposed to be odd. + $temp = 1 << ($window_size - 1); + for ($i = 1; $i < $temp; ++$i) { + $i2 = $i << 1; + $powers[$i2 + 1] = $this->_multiplyReduce($powers[$i2 - 1], $powers[2], $n_value, $mode); + } + + $result = array(1); + $result = $this->_prepareReduce($result, $n_value, $mode); + + for ($i = 0; $i < $e_length;) { + if (!$e_bits[$i]) { + $result = $this->_squareReduce($result, $n_value, $mode); + ++$i; + } else { + for ($j = $window_size - 1; $j > 0; --$j) { + if (!empty($e_bits[$i + $j])) { + break; + } + } + + // eg. the length of substr($e_bits, $i, $j + 1) + for ($k = 0; $k <= $j; ++$k) { + $result = $this->_squareReduce($result, $n_value, $mode); + } + + $result = $this->_multiplyReduce($result, $powers[bindec(substr($e_bits, $i, $j + 1))], $n_value, $mode); + + $i += $j + 1; + } + } + + $temp = new static(); + $temp->value = $this->_reduce($result, $n_value, $mode); + + return $temp; + } + + /** + * Modular reduction + * + * For most $modes this will return the remainder. + * + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @param int $mode + * @return array + */ + function _reduce($x, $n, $mode) + { + switch ($mode) { + case self::MONTGOMERY: + return $this->_montgomery($x, $n); + case self::BARRETT: + return $this->_barrett($x, $n); + case self::POWEROF2: + $lhs = new static(); + $lhs->value = $x; + $rhs = new static(); + $rhs->value = $n; + return $x->_mod2($n); + case self::CLASSIC: + $lhs = new static(); + $lhs->value = $x; + $rhs = new static(); + $rhs->value = $n; + list(, $temp) = $lhs->divide($rhs); + return $temp->value; + case self::NONE: + return $x; + default: + // an invalid $mode was provided + } + } + + /** + * Modular reduction preperation + * + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @param int $mode + * @return array + */ + function _prepareReduce($x, $n, $mode) + { + if ($mode == self::MONTGOMERY) { + return $this->_prepMontgomery($x, $n); + } + return $this->_reduce($x, $n, $mode); + } + + /** + * Modular multiply + * + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $y + * @param array $n + * @param int $mode + * @return array + */ + function _multiplyReduce($x, $y, $n, $mode) + { + if ($mode == self::MONTGOMERY) { + return $this->_montgomeryMultiply($x, $y, $n); + } + $temp = $this->_multiply($x, false, $y, false); + return $this->_reduce($temp[self::VALUE], $n, $mode); + } + + /** + * Modular square + * + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @param int $mode + * @return array + */ + function _squareReduce($x, $n, $mode) + { + if ($mode == self::MONTGOMERY) { + return $this->_montgomeryMultiply($x, $x, $n); + } + return $this->_reduce($this->_square($x), $n, $mode); + } + + /** + * Modulos for Powers of Two + * + * Calculates $x%$n, where $n = 2**$e, for some $e. Since this is basically the same as doing $x & ($n-1), + * we'll just use this function as a wrapper for doing that. + * + * @see self::_slidingWindow() + * @access private + * @param \phpseclib\Math\BigInteger + * @return \phpseclib\Math\BigInteger + */ + function _mod2($n) + { + $temp = new static(); + $temp->value = array(1); + return $this->bitwise_and($n->subtract($temp)); + } + + /** + * Barrett Modular Reduction + * + * See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=14 HAC 14.3.3} / + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=165 MPM 6.2.5} for more information. Modified slightly, + * so as not to require negative numbers (initially, this script didn't support negative numbers). + * + * Employs "folding", as described at + * {@link http://www.cosic.esat.kuleuven.be/publications/thesis-149.pdf#page=66 thesis-149.pdf#page=66}. To quote from + * it, "the idea [behind folding] is to find a value x' such that x (mod m) = x' (mod m), with x' being smaller than x." + * + * Unfortunately, the "Barrett Reduction with Folding" algorithm described in thesis-149.pdf is not, as written, all that + * usable on account of (1) its not using reasonable radix points as discussed in + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=162 MPM 6.2.2} and (2) the fact that, even with reasonable + * radix points, it only works when there are an even number of digits in the denominator. The reason for (2) is that + * (x >> 1) + (x >> 1) != x / 2 + x / 2. If x is even, they're the same, but if x is odd, they're not. See the in-line + * comments for details. + * + * @see self::_slidingWindow() + * @access private + * @param array $n + * @param array $m + * @return array + */ + function _barrett($n, $m) + { + static $cache = array( + self::VARIABLE => array(), + self::DATA => array() + ); + + $m_length = count($m); + + // if ($this->_compare($n, $this->_square($m)) >= 0) { + if (count($n) > 2 * $m_length) { + $lhs = new static(); + $rhs = new static(); + $lhs->value = $n; + $rhs->value = $m; + list(, $temp) = $lhs->divide($rhs); + return $temp->value; + } + + // if (m.length >> 1) + 2 <= m.length then m is too small and n can't be reduced + if ($m_length < 5) { + return $this->_regularBarrett($n, $m); + } + + // n = 2 * m.length + + if (($key = array_search($m, $cache[self::VARIABLE])) === false) { + $key = count($cache[self::VARIABLE]); + $cache[self::VARIABLE][] = $m; + + $lhs = new static(); + $lhs_value = &$lhs->value; + $lhs_value = $this->_array_repeat(0, $m_length + ($m_length >> 1)); + $lhs_value[] = 1; + $rhs = new static(); + $rhs->value = $m; + + list($u, $m1) = $lhs->divide($rhs); + $u = $u->value; + $m1 = $m1->value; + + $cache[self::DATA][] = array( + 'u' => $u, // m.length >> 1 (technically (m.length >> 1) + 1) + 'm1'=> $m1 // m.length + ); + } else { + extract($cache[self::DATA][$key]); + } + + $cutoff = $m_length + ($m_length >> 1); + $lsd = array_slice($n, 0, $cutoff); // m.length + (m.length >> 1) + $msd = array_slice($n, $cutoff); // m.length >> 1 + $lsd = $this->_trim($lsd); + $temp = $this->_multiply($msd, false, $m1, false); + $n = $this->_add($lsd, false, $temp[self::VALUE], false); // m.length + (m.length >> 1) + 1 + + if ($m_length & 1) { + return $this->_regularBarrett($n[self::VALUE], $m); + } + + // (m.length + (m.length >> 1) + 1) - (m.length - 1) == (m.length >> 1) + 2 + $temp = array_slice($n[self::VALUE], $m_length - 1); + // if even: ((m.length >> 1) + 2) + (m.length >> 1) == m.length + 2 + // if odd: ((m.length >> 1) + 2) + (m.length >> 1) == (m.length - 1) + 2 == m.length + 1 + $temp = $this->_multiply($temp, false, $u, false); + // if even: (m.length + 2) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) + 1 + // if odd: (m.length + 1) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) + $temp = array_slice($temp[self::VALUE], ($m_length >> 1) + 1); + // if even: (m.length - (m.length >> 1) + 1) + m.length = 2 * m.length - (m.length >> 1) + 1 + // if odd: (m.length - (m.length >> 1)) + m.length = 2 * m.length - (m.length >> 1) + $temp = $this->_multiply($temp, false, $m, false); + + // at this point, if m had an odd number of digits, we'd be subtracting a 2 * m.length - (m.length >> 1) digit + // number from a m.length + (m.length >> 1) + 1 digit number. ie. there'd be an extra digit and the while loop + // following this comment would loop a lot (hence our calling _regularBarrett() in that situation). + + $result = $this->_subtract($n[self::VALUE], false, $temp[self::VALUE], false); + + while ($this->_compare($result[self::VALUE], $result[self::SIGN], $m, false) >= 0) { + $result = $this->_subtract($result[self::VALUE], $result[self::SIGN], $m, false); + } + + return $result[self::VALUE]; + } + + /** + * (Regular) Barrett Modular Reduction + * + * For numbers with more than four digits BigInteger::_barrett() is faster. The difference between that and this + * is that this function does not fold the denominator into a smaller form. + * + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @return array + */ + function _regularBarrett($x, $n) + { + static $cache = array( + self::VARIABLE => array(), + self::DATA => array() + ); + + $n_length = count($n); + + if (count($x) > 2 * $n_length) { + $lhs = new static(); + $rhs = new static(); + $lhs->value = $x; + $rhs->value = $n; + list(, $temp) = $lhs->divide($rhs); + return $temp->value; + } + + if (($key = array_search($n, $cache[self::VARIABLE])) === false) { + $key = count($cache[self::VARIABLE]); + $cache[self::VARIABLE][] = $n; + $lhs = new static(); + $lhs_value = &$lhs->value; + $lhs_value = $this->_array_repeat(0, 2 * $n_length); + $lhs_value[] = 1; + $rhs = new static(); + $rhs->value = $n; + list($temp, ) = $lhs->divide($rhs); // m.length + $cache[self::DATA][] = $temp->value; + } + + // 2 * m.length - (m.length - 1) = m.length + 1 + $temp = array_slice($x, $n_length - 1); + // (m.length + 1) + m.length = 2 * m.length + 1 + $temp = $this->_multiply($temp, false, $cache[self::DATA][$key], false); + // (2 * m.length + 1) - (m.length - 1) = m.length + 2 + $temp = array_slice($temp[self::VALUE], $n_length + 1); + + // m.length + 1 + $result = array_slice($x, 0, $n_length + 1); + // m.length + 1 + $temp = $this->_multiplyLower($temp, false, $n, false, $n_length + 1); + // $temp == array_slice($temp->_multiply($temp, false, $n, false)->value, 0, $n_length + 1) + + if ($this->_compare($result, false, $temp[self::VALUE], $temp[self::SIGN]) < 0) { + $corrector_value = $this->_array_repeat(0, $n_length + 1); + $corrector_value[count($corrector_value)] = 1; + $result = $this->_add($result, false, $corrector_value, false); + $result = $result[self::VALUE]; + } + + // at this point, we're subtracting a number with m.length + 1 digits from another number with m.length + 1 digits + $result = $this->_subtract($result, false, $temp[self::VALUE], $temp[self::SIGN]); + while ($this->_compare($result[self::VALUE], $result[self::SIGN], $n, false) > 0) { + $result = $this->_subtract($result[self::VALUE], $result[self::SIGN], $n, false); + } + + return $result[self::VALUE]; + } + + /** + * Performs long multiplication up to $stop digits + * + * If you're going to be doing array_slice($product->value, 0, $stop), some cycles can be saved. + * + * @see self::_regularBarrett() + * @param array $x_value + * @param bool $x_negative + * @param array $y_value + * @param bool $y_negative + * @param int $stop + * @return array + * @access private + */ + function _multiplyLower($x_value, $x_negative, $y_value, $y_negative, $stop) + { + $x_length = count($x_value); + $y_length = count($y_value); + + if (!$x_length || !$y_length) { // a 0 is being multiplied + return array( + self::VALUE => array(), + self::SIGN => false + ); + } + + if ($x_length < $y_length) { + $temp = $x_value; + $x_value = $y_value; + $y_value = $temp; + + $x_length = count($x_value); + $y_length = count($y_value); + } + + $product_value = $this->_array_repeat(0, $x_length + $y_length); + + // the following for loop could be removed if the for loop following it + // (the one with nested for loops) initially set $i to 0, but + // doing so would also make the result in one set of unnecessary adds, + // since on the outermost loops first pass, $product->value[$k] is going + // to always be 0 + + $carry = 0; + + for ($j = 0; $j < $x_length; ++$j) { // ie. $i = 0, $k = $i + $temp = $x_value[$j] * $y_value[0] + $carry; // $product_value[$k] == 0 + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $product_value[$j] = (int) ($temp - self::$baseFull * $carry); + } + + if ($j < $stop) { + $product_value[$j] = $carry; + } + + // the above for loop is what the previous comment was talking about. the + // following for loop is the "one with nested for loops" + + for ($i = 1; $i < $y_length; ++$i) { + $carry = 0; + + for ($j = 0, $k = $i; $j < $x_length && $k < $stop; ++$j, ++$k) { + $temp = $product_value[$k] + $x_value[$j] * $y_value[$i] + $carry; + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $product_value[$k] = (int) ($temp - self::$baseFull * $carry); + } + + if ($k < $stop) { + $product_value[$k] = $carry; + } + } + + return array( + self::VALUE => $this->_trim($product_value), + self::SIGN => $x_negative != $y_negative + ); + } + + /** + * Montgomery Modular Reduction + * + * ($x->_prepMontgomery($n))->_montgomery($n) yields $x % $n. + * {@link http://math.libtomcrypt.com/files/tommath.pdf#page=170 MPM 6.3} provides insights on how this can be + * improved upon (basically, by using the comba method). gcd($n, 2) must be equal to one for this function + * to work correctly. + * + * @see self::_prepMontgomery() + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @return array + */ + function _montgomery($x, $n) + { + static $cache = array( + self::VARIABLE => array(), + self::DATA => array() + ); + + if (($key = array_search($n, $cache[self::VARIABLE])) === false) { + $key = count($cache[self::VARIABLE]); + $cache[self::VARIABLE][] = $x; + $cache[self::DATA][] = $this->_modInverse67108864($n); + } + + $k = count($n); + + $result = array(self::VALUE => $x); + + for ($i = 0; $i < $k; ++$i) { + $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key]; + $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31)); + $temp = $this->_regularMultiply(array($temp), $n); + $temp = array_merge($this->_array_repeat(0, $i), $temp); + $result = $this->_add($result[self::VALUE], false, $temp, false); + } + + $result[self::VALUE] = array_slice($result[self::VALUE], $k); + + if ($this->_compare($result, false, $n, false) >= 0) { + $result = $this->_subtract($result[self::VALUE], false, $n, false); + } + + return $result[self::VALUE]; + } + + /** + * Montgomery Multiply + * + * Interleaves the montgomery reduction and long multiplication algorithms together as described in + * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=13 HAC 14.36} + * + * @see self::_prepMontgomery() + * @see self::_montgomery() + * @access private + * @param array $x + * @param array $y + * @param array $m + * @return array + */ + function _montgomeryMultiply($x, $y, $m) + { + $temp = $this->_multiply($x, false, $y, false); + return $this->_montgomery($temp[self::VALUE], $m); + + // the following code, although not callable, can be run independently of the above code + // although the above code performed better in my benchmarks the following could might + // perform better under different circumstances. in lieu of deleting it it's just been + // made uncallable + + static $cache = array( + self::VARIABLE => array(), + self::DATA => array() + ); + + if (($key = array_search($m, $cache[self::VARIABLE])) === false) { + $key = count($cache[self::VARIABLE]); + $cache[self::VARIABLE][] = $m; + $cache[self::DATA][] = $this->_modInverse67108864($m); + } + + $n = max(count($x), count($y), count($m)); + $x = array_pad($x, $n, 0); + $y = array_pad($y, $n, 0); + $m = array_pad($m, $n, 0); + $a = array(self::VALUE => $this->_array_repeat(0, $n + 1)); + for ($i = 0; $i < $n; ++$i) { + $temp = $a[self::VALUE][0] + $x[$i] * $y[0]; + $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31)); + $temp = $temp * $cache[self::DATA][$key]; + $temp = $temp - self::$baseFull * (self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31)); + $temp = $this->_add($this->_regularMultiply(array($x[$i]), $y), false, $this->_regularMultiply(array($temp), $m), false); + $a = $this->_add($a[self::VALUE], false, $temp[self::VALUE], false); + $a[self::VALUE] = array_slice($a[self::VALUE], 1); + } + if ($this->_compare($a[self::VALUE], false, $m, false) >= 0) { + $a = $this->_subtract($a[self::VALUE], false, $m, false); + } + return $a[self::VALUE]; + } + + /** + * Prepare a number for use in Montgomery Modular Reductions + * + * @see self::_montgomery() + * @see self::_slidingWindow() + * @access private + * @param array $x + * @param array $n + * @return array + */ + function _prepMontgomery($x, $n) + { + $lhs = new static(); + $lhs->value = array_merge($this->_array_repeat(0, count($n)), $x); + $rhs = new static(); + $rhs->value = $n; + + list(, $temp) = $lhs->divide($rhs); + return $temp->value; + } + + /** + * Modular Inverse of a number mod 2**26 (eg. 67108864) + * + * Based off of the bnpInvDigit function implemented and justified in the following URL: + * + * {@link http://www-cs-students.stanford.edu/~tjw/jsbn/jsbn.js} + * + * The following URL provides more info: + * + * {@link http://groups.google.com/group/sci.crypt/msg/7a137205c1be7d85} + * + * As for why we do all the bitmasking... strange things can happen when converting from floats to ints. For + * instance, on some computers, var_dump((int) -4294967297) yields int(-1) and on others, it yields + * int(-2147483648). To avoid problems stemming from this, we use bitmasks to guarantee that ints aren't + * auto-converted to floats. The outermost bitmask is present because without it, there's no guarantee that + * the "residue" returned would be the so-called "common residue". We use fmod, in the last step, because the + * maximum possible $x is 26 bits and the maximum $result is 16 bits. Thus, we have to be able to handle up to + * 40 bits, which only 64-bit floating points will support. + * + * Thanks to Pedro Gimeno Fortea for input! + * + * @see self::_montgomery() + * @access private + * @param array $x + * @return int + */ + function _modInverse67108864($x) // 2**26 == 67,108,864 + { + $x = -$x[0]; + $result = $x & 0x3; // x**-1 mod 2**2 + $result = ($result * (2 - $x * $result)) & 0xF; // x**-1 mod 2**4 + $result = ($result * (2 - ($x & 0xFF) * $result)) & 0xFF; // x**-1 mod 2**8 + $result = ($result * ((2 - ($x & 0xFFFF) * $result) & 0xFFFF)) & 0xFFFF; // x**-1 mod 2**16 + $result = fmod($result * (2 - fmod($x * $result, self::$baseFull)), self::$baseFull); // x**-1 mod 2**26 + return $result & self::$maxDigit; + } + + /** + * Calculates modular inverses. + * + * Say you have (30 mod 17 * x mod 17) mod 17 == 1. x can be found using modular inverses. + * + * Here's an example: + * + * modInverse($b); + * echo $c->toString(); // outputs 4 + * + * echo "\r\n"; + * + * $d = $a->multiply($c); + * list(, $d) = $d->divide($b); + * echo $d; // outputs 1 (as per the definition of modular inverse) + * ?> + * + * + * @param \phpseclib\Math\BigInteger $n + * @return \phpseclib\Math\BigInteger|false + * @access public + * @internal See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=21 HAC 14.64} for more information. + */ + function modInverse($n) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_invert($this->value, $n->value); + + return ($temp->value === false) ? false : $this->_normalize($temp); + } + + static $zero, $one; + if (!isset($zero)) { + $zero = new static(); + $one = new static(1); + } + + // $x mod -$n == $x mod $n. + $n = $n->abs(); + + if ($this->compare($zero) < 0) { + $temp = $this->abs(); + $temp = $temp->modInverse($n); + return $this->_normalize($n->subtract($temp)); + } + + extract($this->extendedGCD($n)); + + if (!$gcd->equals($one)) { + return false; + } + + $x = $x->compare($zero) < 0 ? $x->add($n) : $x; + + return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); + } + + /** + * Calculates the greatest common divisor and Bezout's identity. + * + * Say you have 693 and 609. The GCD is 21. Bezout's identity states that there exist integers x and y such that + * 693*x + 609*y == 21. In point of fact, there are actually an infinite number of x and y combinations and which + * combination is returned is dependent upon which mode is in use. See + * {@link http://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity Bezout's identity - Wikipedia} for more information. + * + * Here's an example: + * + * extendedGCD($b)); + * + * echo $gcd->toString() . "\r\n"; // outputs 21 + * echo $a->toString() * $x->toString() + $b->toString() * $y->toString(); // outputs 21 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $n + * @return \phpseclib\Math\BigInteger + * @access public + * @internal Calculates the GCD using the binary xGCD algorithim described in + * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=19 HAC 14.61}. As the text above 14.61 notes, + * the more traditional algorithim requires "relatively costly multiple-precision divisions". + */ + function extendedGCD($n) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + extract(gmp_gcdext($this->value, $n->value)); + + return array( + 'gcd' => $this->_normalize(new static($g)), + 'x' => $this->_normalize(new static($s)), + 'y' => $this->_normalize(new static($t)) + ); + case self::MODE_BCMATH: + // it might be faster to use the binary xGCD algorithim here, as well, but (1) that algorithim works + // best when the base is a power of 2 and (2) i don't think it'd make much difference, anyway. as is, + // the basic extended euclidean algorithim is what we're using. + + $u = $this->value; + $v = $n->value; + + $a = '1'; + $b = '0'; + $c = '0'; + $d = '1'; + + while (bccomp($v, '0', 0) != 0) { + $q = bcdiv($u, $v, 0); + + $temp = $u; + $u = $v; + $v = bcsub($temp, bcmul($v, $q, 0), 0); + + $temp = $a; + $a = $c; + $c = bcsub($temp, bcmul($a, $q, 0), 0); + + $temp = $b; + $b = $d; + $d = bcsub($temp, bcmul($b, $q, 0), 0); + } + + return array( + 'gcd' => $this->_normalize(new static($u)), + 'x' => $this->_normalize(new static($a)), + 'y' => $this->_normalize(new static($b)) + ); + } + + $y = $n->copy(); + $x = $this->copy(); + $g = new static(); + $g->value = array(1); + + while (!(($x->value[0] & 1)|| ($y->value[0] & 1))) { + $x->_rshift(1); + $y->_rshift(1); + $g->_lshift(1); + } + + $u = $x->copy(); + $v = $y->copy(); + + $a = new static(); + $b = new static(); + $c = new static(); + $d = new static(); + + $a->value = $d->value = $g->value = array(1); + $b->value = $c->value = array(); + + while (!empty($u->value)) { + while (!($u->value[0] & 1)) { + $u->_rshift(1); + if ((!empty($a->value) && ($a->value[0] & 1)) || (!empty($b->value) && ($b->value[0] & 1))) { + $a = $a->add($y); + $b = $b->subtract($x); + } + $a->_rshift(1); + $b->_rshift(1); + } + + while (!($v->value[0] & 1)) { + $v->_rshift(1); + if ((!empty($d->value) && ($d->value[0] & 1)) || (!empty($c->value) && ($c->value[0] & 1))) { + $c = $c->add($y); + $d = $d->subtract($x); + } + $c->_rshift(1); + $d->_rshift(1); + } + + if ($u->compare($v) >= 0) { + $u = $u->subtract($v); + $a = $a->subtract($c); + $b = $b->subtract($d); + } else { + $v = $v->subtract($u); + $c = $c->subtract($a); + $d = $d->subtract($b); + } + } + + return array( + 'gcd' => $this->_normalize($g->multiply($v)), + 'x' => $this->_normalize($c), + 'y' => $this->_normalize($d) + ); + } + + /** + * Calculates the greatest common divisor + * + * Say you have 693 and 609. The GCD is 21. + * + * Here's an example: + * + * extendedGCD($b); + * + * echo $gcd->toString() . "\r\n"; // outputs 21 + * ?> + * + * + * @param \phpseclib\Math\BigInteger $n + * @return \phpseclib\Math\BigInteger + * @access public + */ + function gcd($n) + { + extract($this->extendedGCD($n)); + return $gcd; + } + + /** + * Absolute value. + * + * @return \phpseclib\Math\BigInteger + * @access public + */ + function abs() + { + $temp = new static(); + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp->value = gmp_abs($this->value); + break; + case self::MODE_BCMATH: + $temp->value = (bccomp($this->value, '0', 0) < 0) ? substr($this->value, 1) : $this->value; + break; + default: + $temp->value = $this->value; + } + + return $temp; + } + + /** + * Compares two numbers. + * + * Although one might think !$x->compare($y) means $x != $y, it, in fact, means the opposite. The reason for this is + * demonstrated thusly: + * + * $x > $y: $x->compare($y) > 0 + * $x < $y: $x->compare($y) < 0 + * $x == $y: $x->compare($y) == 0 + * + * Note how the same comparison operator is used. If you want to test for equality, use $x->equals($y). + * + * @param \phpseclib\Math\BigInteger $y + * @return int < 0 if $this is less than $y; > 0 if $this is greater than $y, and 0 if they are equal. + * @access public + * @see self::equals() + * @internal Could return $this->subtract($x), but that's not as fast as what we do do. + */ + function compare($y) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + return gmp_cmp($this->value, $y->value); + case self::MODE_BCMATH: + return bccomp($this->value, $y->value, 0); + } + + return $this->_compare($this->value, $this->is_negative, $y->value, $y->is_negative); + } + + /** + * Compares two numbers. + * + * @param array $x_value + * @param bool $x_negative + * @param array $y_value + * @param bool $y_negative + * @return int + * @see self::compare() + * @access private + */ + function _compare($x_value, $x_negative, $y_value, $y_negative) + { + if ($x_negative != $y_negative) { + return (!$x_negative && $y_negative) ? 1 : -1; + } + + $result = $x_negative ? -1 : 1; + + if (count($x_value) != count($y_value)) { + return (count($x_value) > count($y_value)) ? $result : -$result; + } + $size = max(count($x_value), count($y_value)); + + $x_value = array_pad($x_value, $size, 0); + $y_value = array_pad($y_value, $size, 0); + + for ($i = count($x_value) - 1; $i >= 0; --$i) { + if ($x_value[$i] != $y_value[$i]) { + return ($x_value[$i] > $y_value[$i]) ? $result : -$result; + } + } + + return 0; + } + + /** + * Tests the equality of two numbers. + * + * If you need to see if one number is greater than or less than another number, use BigInteger::compare() + * + * @param \phpseclib\Math\BigInteger $x + * @return bool + * @access public + * @see self::compare() + */ + function equals($x) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + return gmp_cmp($this->value, $x->value) == 0; + default: + return $this->value === $x->value && $this->is_negative == $x->is_negative; + } + } + + /** + * Set Precision + * + * Some bitwise operations give different results depending on the precision being used. Examples include left + * shift, not, and rotates. + * + * @param int $bits + * @access public + */ + function setPrecision($bits) + { + $this->precision = $bits; + if (MATH_BIGINTEGER_MODE != self::MODE_BCMATH) { + $this->bitmask = new static(chr((1 << ($bits & 0x7)) - 1) . str_repeat(chr(0xFF), $bits >> 3), 256); + } else { + $this->bitmask = new static(bcpow('2', $bits, 0)); + } + + $temp = $this->_normalize($this); + $this->value = $temp->value; + } + + /** + * Logical And + * + * @param \phpseclib\Math\BigInteger $x + * @access public + * @internal Implemented per a request by Lluis Pamies i Juarez + * @return \phpseclib\Math\BigInteger + */ + function bitwise_and($x) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_and($this->value, $x->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $left = $this->toBytes(); + $right = $x->toBytes(); + + $length = max(strlen($left), strlen($right)); + + $left = str_pad($left, $length, chr(0), STR_PAD_LEFT); + $right = str_pad($right, $length, chr(0), STR_PAD_LEFT); + + return $this->_normalize(new static($left & $right, 256)); + } + + $result = $this->copy(); + + $length = min(count($x->value), count($this->value)); + + $result->value = array_slice($result->value, 0, $length); + + for ($i = 0; $i < $length; ++$i) { + $result->value[$i]&= $x->value[$i]; + } + + return $this->_normalize($result); + } + + /** + * Logical Or + * + * @param \phpseclib\Math\BigInteger $x + * @access public + * @internal Implemented per a request by Lluis Pamies i Juarez + * @return \phpseclib\Math\BigInteger + */ + function bitwise_or($x) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_or($this->value, $x->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $left = $this->toBytes(); + $right = $x->toBytes(); + + $length = max(strlen($left), strlen($right)); + + $left = str_pad($left, $length, chr(0), STR_PAD_LEFT); + $right = str_pad($right, $length, chr(0), STR_PAD_LEFT); + + return $this->_normalize(new static($left | $right, 256)); + } + + $length = max(count($this->value), count($x->value)); + $result = $this->copy(); + $result->value = array_pad($result->value, $length, 0); + $x->value = array_pad($x->value, $length, 0); + + for ($i = 0; $i < $length; ++$i) { + $result->value[$i]|= $x->value[$i]; + } + + return $this->_normalize($result); + } + + /** + * Logical Exclusive-Or + * + * @param \phpseclib\Math\BigInteger $x + * @access public + * @internal Implemented per a request by Lluis Pamies i Juarez + * @return \phpseclib\Math\BigInteger + */ + function bitwise_xor($x) + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + $temp = new static(); + $temp->value = gmp_xor($this->value, $x->value); + + return $this->_normalize($temp); + case self::MODE_BCMATH: + $left = $this->toBytes(); + $right = $x->toBytes(); + + $length = max(strlen($left), strlen($right)); + + $left = str_pad($left, $length, chr(0), STR_PAD_LEFT); + $right = str_pad($right, $length, chr(0), STR_PAD_LEFT); + + return $this->_normalize(new static($left ^ $right, 256)); + } + + $length = max(count($this->value), count($x->value)); + $result = $this->copy(); + $result->value = array_pad($result->value, $length, 0); + $x->value = array_pad($x->value, $length, 0); + + for ($i = 0; $i < $length; ++$i) { + $result->value[$i]^= $x->value[$i]; + } + + return $this->_normalize($result); + } + + /** + * Logical Not + * + * @access public + * @internal Implemented per a request by Lluis Pamies i Juarez + * @return \phpseclib\Math\BigInteger + */ + function bitwise_not() + { + // calculuate "not" without regard to $this->precision + // (will always result in a smaller number. ie. ~1 isn't 1111 1110 - it's 0) + $temp = $this->toBytes(); + if ($temp == '') { + return ''; + } + $pre_msb = decbin(ord($temp[0])); + $temp = ~$temp; + $msb = decbin(ord($temp[0])); + if (strlen($msb) == 8) { + $msb = substr($msb, strpos($msb, '0')); + } + $temp[0] = chr(bindec($msb)); + + // see if we need to add extra leading 1's + $current_bits = strlen($pre_msb) + 8 * strlen($temp) - 8; + $new_bits = $this->precision - $current_bits; + if ($new_bits <= 0) { + return $this->_normalize(new static($temp, 256)); + } + + // generate as many leading 1's as we need to. + $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3); + $this->_base256_lshift($leading_ones, $current_bits); + + $temp = str_pad($temp, strlen($leading_ones), chr(0), STR_PAD_LEFT); + + return $this->_normalize(new static($leading_ones | $temp, 256)); + } + + /** + * Logical Right Shift + * + * Shifts BigInteger's by $shift bits, effectively dividing by 2**$shift. + * + * @param int $shift + * @return \phpseclib\Math\BigInteger + * @access public + * @internal The only version that yields any speed increases is the internal version. + */ + function bitwise_rightShift($shift) + { + $temp = new static(); + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + static $two; + + if (!isset($two)) { + $two = gmp_init('2'); + } + + $temp->value = gmp_div_q($this->value, gmp_pow($two, $shift)); + + break; + case self::MODE_BCMATH: + $temp->value = bcdiv($this->value, bcpow('2', $shift, 0), 0); + + break; + default: // could just replace _lshift with this, but then all _lshift() calls would need to be rewritten + // and I don't want to do that... + $temp->value = $this->value; + $temp->_rshift($shift); + } + + return $this->_normalize($temp); + } + + /** + * Logical Left Shift + * + * Shifts BigInteger's by $shift bits, effectively multiplying by 2**$shift. + * + * @param int $shift + * @return \phpseclib\Math\BigInteger + * @access public + * @internal The only version that yields any speed increases is the internal version. + */ + function bitwise_leftShift($shift) + { + $temp = new static(); + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + static $two; + + if (!isset($two)) { + $two = gmp_init('2'); + } + + $temp->value = gmp_mul($this->value, gmp_pow($two, $shift)); + + break; + case self::MODE_BCMATH: + $temp->value = bcmul($this->value, bcpow('2', $shift, 0), 0); + + break; + default: // could just replace _rshift with this, but then all _lshift() calls would need to be rewritten + // and I don't want to do that... + $temp->value = $this->value; + $temp->_lshift($shift); + } + + return $this->_normalize($temp); + } + + /** + * Logical Left Rotate + * + * Instead of the top x bits being dropped they're appended to the shifted bit string. + * + * @param int $shift + * @return \phpseclib\Math\BigInteger + * @access public + */ + function bitwise_leftRotate($shift) + { + $bits = $this->toBytes(); + + if ($this->precision > 0) { + $precision = $this->precision; + if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) { + $mask = $this->bitmask->subtract(new static(1)); + $mask = $mask->toBytes(); + } else { + $mask = $this->bitmask->toBytes(); + } + } else { + $temp = ord($bits[0]); + for ($i = 0; $temp >> $i; ++$i) { + } + $precision = 8 * strlen($bits) - 8 + $i; + $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3); + } + + if ($shift < 0) { + $shift+= $precision; + } + $shift%= $precision; + + if (!$shift) { + return $this->copy(); + } + + $left = $this->bitwise_leftShift($shift); + $left = $left->bitwise_and(new static($mask, 256)); + $right = $this->bitwise_rightShift($precision - $shift); + $result = MATH_BIGINTEGER_MODE != self::MODE_BCMATH ? $left->bitwise_or($right) : $left->add($right); + return $this->_normalize($result); + } + + /** + * Logical Right Rotate + * + * Instead of the bottom x bits being dropped they're prepended to the shifted bit string. + * + * @param int $shift + * @return \phpseclib\Math\BigInteger + * @access public + */ + function bitwise_rightRotate($shift) + { + return $this->bitwise_leftRotate(-$shift); + } + + /** + * Generates a random BigInteger + * + * Byte length is equal to $length. Uses \phpseclib\Crypt\Random if it's loaded and mt_rand if it's not. + * + * @param int $length + * @return \phpseclib\Math\BigInteger + * @access private + */ + function _random_number_helper($size) + { + if (class_exists('\phpseclib\Crypt\Random')) { + $random = Random::string($size); + } else { + $random = ''; + + if ($size & 1) { + $random.= chr(mt_rand(0, 255)); + } + + $blocks = $size >> 1; + for ($i = 0; $i < $blocks; ++$i) { + // mt_rand(-2147483648, 0x7FFFFFFF) always produces -2147483648 on some systems + $random.= pack('n', mt_rand(0, 0xFFFF)); + } + } + + return new static($random, 256); + } + + /** + * Generate a random number + * + * Returns a random number between $min and $max where $min and $max + * can be defined using one of the two methods: + * + * $min->random($max) + * $max->random($min) + * + * @param \phpseclib\Math\BigInteger $arg1 + * @param \phpseclib\Math\BigInteger $arg2 + * @return \phpseclib\Math\BigInteger + * @access public + * @internal The API for creating random numbers used to be $a->random($min, $max), where $a was a BigInteger object. + * That method is still supported for BC purposes. + */ + function random($arg1, $arg2 = false) + { + if ($arg1 === false) { + return false; + } + + if ($arg2 === false) { + $max = $arg1; + $min = $this; + } else { + $min = $arg1; + $max = $arg2; + } + + $compare = $max->compare($min); + + if (!$compare) { + return $this->_normalize($min); + } elseif ($compare < 0) { + // if $min is bigger then $max, swap $min and $max + $temp = $max; + $max = $min; + $min = $temp; + } + + static $one; + if (!isset($one)) { + $one = new static(1); + } + + $max = $max->subtract($min->subtract($one)); + $size = strlen(ltrim($max->toBytes(), chr(0))); + + /* + doing $random % $max doesn't work because some numbers will be more likely to occur than others. + eg. if $max is 140 and $random's max is 255 then that'd mean both $random = 5 and $random = 145 + would produce 5 whereas the only value of random that could produce 139 would be 139. ie. + not all numbers would be equally likely. some would be more likely than others. + + creating a whole new random number until you find one that is within the range doesn't work + because, for sufficiently small ranges, the likelihood that you'd get a number within that range + would be pretty small. eg. with $random's max being 255 and if your $max being 1 the probability + would be pretty high that $random would be greater than $max. + + phpseclib works around this using the technique described here: + + http://crypto.stackexchange.com/questions/5708/creating-a-small-number-from-a-cryptographically-secure-random-string + */ + $random_max = new static(chr(1) . str_repeat("\0", $size), 256); + $random = $this->_random_number_helper($size); + + list($max_multiple) = $random_max->divide($max); + $max_multiple = $max_multiple->multiply($max); + + while ($random->compare($max_multiple) >= 0) { + $random = $random->subtract($max_multiple); + $random_max = $random_max->subtract($max_multiple); + $random = $random->bitwise_leftShift(8); + $random = $random->add($this->_random_number_helper(1)); + $random_max = $random_max->bitwise_leftShift(8); + list($max_multiple) = $random_max->divide($max); + $max_multiple = $max_multiple->multiply($max); + } + list(, $random) = $random->divide($max); + + return $this->_normalize($random->add($min)); + } + + /** + * Generate a random prime number. + * + * If there's not a prime within the given range, false will be returned. + * If more than $timeout seconds have elapsed, give up and return false. + * + * @param \phpseclib\Math\BigInteger $arg1 + * @param \phpseclib\Math\BigInteger $arg2 + * @param int $timeout + * @return Math_BigInteger|false + * @access public + * @internal See {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap4.pdf#page=15 HAC 4.44}. + */ + function randomPrime($arg1, $arg2 = false, $timeout = false) + { + if ($arg1 === false) { + return false; + } + + if ($arg2 === false) { + $max = $arg1; + $min = $this; + } else { + $min = $arg1; + $max = $arg2; + } + + $compare = $max->compare($min); + + if (!$compare) { + return $min->isPrime() ? $min : false; + } elseif ($compare < 0) { + // if $min is bigger then $max, swap $min and $max + $temp = $max; + $max = $min; + $min = $temp; + } + + static $one, $two; + if (!isset($one)) { + $one = new static(1); + $two = new static(2); + } + + $start = time(); + + $x = $this->random($min, $max); + + // gmp_nextprime() requires PHP 5 >= 5.2.0 per . + if (MATH_BIGINTEGER_MODE == self::MODE_GMP && extension_loaded('gmp')) { + $p = new static(); + $p->value = gmp_nextprime($x->value); + + if ($p->compare($max) <= 0) { + return $p; + } + + if (!$min->equals($x)) { + $x = $x->subtract($one); + } + + return $x->randomPrime($min, $x); + } + + if ($x->equals($two)) { + return $x; + } + + $x->_make_odd(); + if ($x->compare($max) > 0) { + // if $x > $max then $max is even and if $min == $max then no prime number exists between the specified range + if ($min->equals($max)) { + return false; + } + $x = $min->copy(); + $x->_make_odd(); + } + + $initial_x = $x->copy(); + + while (true) { + if ($timeout !== false && time() - $start > $timeout) { + return false; + } + + if ($x->isPrime()) { + return $x; + } + + $x = $x->add($two); + + if ($x->compare($max) > 0) { + $x = $min->copy(); + if ($x->equals($two)) { + return $x; + } + $x->_make_odd(); + } + + if ($x->equals($initial_x)) { + return false; + } + } + } + + /** + * Make the current number odd + * + * If the current number is odd it'll be unchanged. If it's even, one will be added to it. + * + * @see self::randomPrime() + * @access private + */ + function _make_odd() + { + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + gmp_setbit($this->value, 0); + break; + case self::MODE_BCMATH: + if ($this->value[strlen($this->value) - 1] % 2 == 0) { + $this->value = bcadd($this->value, '1'); + } + break; + default: + $this->value[0] |= 1; + } + } + + /** + * Checks a numer to see if it's prime + * + * Assuming the $t parameter is not set, this function has an error rate of 2**-80. The main motivation for the + * $t parameter is distributability. BigInteger::randomPrime() can be distributed across multiple pageloads + * on a website instead of just one. + * + * @param \phpseclib\Math\BigInteger $t + * @return bool + * @access public + * @internal Uses the + * {@link http://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test Miller-Rabin primality test}. See + * {@link http://www.cacr.math.uwaterloo.ca/hac/about/chap4.pdf#page=8 HAC 4.24}. + */ + function isPrime($t = false) + { + $length = strlen($this->toBytes()); + + if (!$t) { + // see HAC 4.49 "Note (controlling the error probability)" + // @codingStandardsIgnoreStart + if ($length >= 163) { $t = 2; } // floor(1300 / 8) + else if ($length >= 106) { $t = 3; } // floor( 850 / 8) + else if ($length >= 81 ) { $t = 4; } // floor( 650 / 8) + else if ($length >= 68 ) { $t = 5; } // floor( 550 / 8) + else if ($length >= 56 ) { $t = 6; } // floor( 450 / 8) + else if ($length >= 50 ) { $t = 7; } // floor( 400 / 8) + else if ($length >= 43 ) { $t = 8; } // floor( 350 / 8) + else if ($length >= 37 ) { $t = 9; } // floor( 300 / 8) + else if ($length >= 31 ) { $t = 12; } // floor( 250 / 8) + else if ($length >= 25 ) { $t = 15; } // floor( 200 / 8) + else if ($length >= 18 ) { $t = 18; } // floor( 150 / 8) + else { $t = 27; } + // @codingStandardsIgnoreEnd + } + + // ie. gmp_testbit($this, 0) + // ie. isEven() or !isOdd() + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + return gmp_prob_prime($this->value, $t) != 0; + case self::MODE_BCMATH: + if ($this->value === '2') { + return true; + } + if ($this->value[strlen($this->value) - 1] % 2 == 0) { + return false; + } + break; + default: + if ($this->value == array(2)) { + return true; + } + if (~$this->value[0] & 1) { + return false; + } + } + + static $primes, $zero, $one, $two; + + if (!isset($primes)) { + $primes = array( + 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, + 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, + 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, + 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, + 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, + 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, + 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, + 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, + 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, + 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, + 953, 967, 971, 977, 983, 991, 997 + ); + + if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) { + for ($i = 0; $i < count($primes); ++$i) { + $primes[$i] = new static($primes[$i]); + } + } + + $zero = new static(); + $one = new static(1); + $two = new static(2); + } + + if ($this->equals($one)) { + return false; + } + + // see HAC 4.4.1 "Random search for probable primes" + if (MATH_BIGINTEGER_MODE != self::MODE_INTERNAL) { + foreach ($primes as $prime) { + list(, $r) = $this->divide($prime); + if ($r->equals($zero)) { + return $this->equals($prime); + } + } + } else { + $value = $this->value; + foreach ($primes as $prime) { + list(, $r) = $this->_divide_digit($value, $prime); + if (!$r) { + return count($value) == 1 && $value[0] == $prime; + } + } + } + + $n = $this->copy(); + $n_1 = $n->subtract($one); + $n_2 = $n->subtract($two); + + $r = $n_1->copy(); + $r_value = $r->value; + // ie. $s = gmp_scan1($n, 0) and $r = gmp_div_q($n, gmp_pow(gmp_init('2'), $s)); + if (MATH_BIGINTEGER_MODE == self::MODE_BCMATH) { + $s = 0; + // if $n was 1, $r would be 0 and this would be an infinite loop, hence our $this->equals($one) check earlier + while ($r->value[strlen($r->value) - 1] % 2 == 0) { + $r->value = bcdiv($r->value, '2', 0); + ++$s; + } + } else { + for ($i = 0, $r_length = count($r_value); $i < $r_length; ++$i) { + $temp = ~$r_value[$i] & 0xFFFFFF; + for ($j = 1; ($temp >> $j) & 1; ++$j) { + } + if ($j != 25) { + break; + } + } + $s = 26 * $i + $j - 1; + $r->_rshift($s); + } + + for ($i = 0; $i < $t; ++$i) { + $a = $this->random($two, $n_2); + $y = $a->modPow($r, $n); + + if (!$y->equals($one) && !$y->equals($n_1)) { + for ($j = 1; $j < $s && !$y->equals($n_1); ++$j) { + $y = $y->modPow($two, $n); + if ($y->equals($one)) { + return false; + } + } + + if (!$y->equals($n_1)) { + return false; + } + } + } + return true; + } + + /** + * Logical Left Shift + * + * Shifts BigInteger's by $shift bits. + * + * @param int $shift + * @access private + */ + function _lshift($shift) + { + if ($shift == 0) { + return; + } + + $num_digits = (int) ($shift / self::$base); + $shift %= self::$base; + $shift = 1 << $shift; + + $carry = 0; + + for ($i = 0; $i < count($this->value); ++$i) { + $temp = $this->value[$i] * $shift + $carry; + $carry = self::$base === 26 ? intval($temp / 0x4000000) : ($temp >> 31); + $this->value[$i] = (int) ($temp - $carry * self::$baseFull); + } + + if ($carry) { + $this->value[count($this->value)] = $carry; + } + + while ($num_digits--) { + array_unshift($this->value, 0); + } + } + + /** + * Logical Right Shift + * + * Shifts BigInteger's by $shift bits. + * + * @param int $shift + * @access private + */ + function _rshift($shift) + { + if ($shift == 0) { + return; + } + + $num_digits = (int) ($shift / self::$base); + $shift %= self::$base; + $carry_shift = self::$base - $shift; + $carry_mask = (1 << $shift) - 1; + + if ($num_digits) { + $this->value = array_slice($this->value, $num_digits); + } + + $carry = 0; + + for ($i = count($this->value) - 1; $i >= 0; --$i) { + $temp = $this->value[$i] >> $shift | $carry; + $carry = ($this->value[$i] & $carry_mask) << $carry_shift; + $this->value[$i] = $temp; + } + + $this->value = $this->_trim($this->value); + } + + /** + * Normalize + * + * Removes leading zeros and truncates (if necessary) to maintain the appropriate precision + * + * @param \phpseclib\Math\BigInteger + * @return \phpseclib\Math\BigInteger + * @see self::_trim() + * @access private + */ + function _normalize($result) + { + $result->precision = $this->precision; + $result->bitmask = $this->bitmask; + + switch (MATH_BIGINTEGER_MODE) { + case self::MODE_GMP: + if ($this->bitmask !== false) { + $result->value = gmp_and($result->value, $result->bitmask->value); + } + + return $result; + case self::MODE_BCMATH: + if (!empty($result->bitmask->value)) { + $result->value = bcmod($result->value, $result->bitmask->value); + } + + return $result; + } + + $value = &$result->value; + + if (!count($value)) { + return $result; + } + + $value = $this->_trim($value); + + if (!empty($result->bitmask->value)) { + $length = min(count($value), count($this->bitmask->value)); + $value = array_slice($value, 0, $length); + + for ($i = 0; $i < $length; ++$i) { + $value[$i] = $value[$i] & $this->bitmask->value[$i]; + } + } + + return $result; + } + + /** + * Trim + * + * Removes leading zeros + * + * @param array $value + * @return \phpseclib\Math\BigInteger + * @access private + */ + function _trim($value) + { + for ($i = count($value) - 1; $i >= 0; --$i) { + if ($value[$i]) { + break; + } + unset($value[$i]); + } + + return $value; + } + + /** + * Array Repeat + * + * @param $input Array + * @param $multiplier mixed + * @return array + * @access private + */ + function _array_repeat($input, $multiplier) + { + return ($multiplier) ? array_fill(0, $multiplier, $input) : array(); + } + + /** + * Logical Left Shift + * + * Shifts binary strings $shift bits, essentially multiplying by 2**$shift. + * + * @param $x String + * @param $shift Integer + * @return string + * @access private + */ + function _base256_lshift(&$x, $shift) + { + if ($shift == 0) { + return; + } + + $num_bytes = $shift >> 3; // eg. floor($shift/8) + $shift &= 7; // eg. $shift % 8 + + $carry = 0; + for ($i = strlen($x) - 1; $i >= 0; --$i) { + $temp = ord($x[$i]) << $shift | $carry; + $x[$i] = chr($temp); + $carry = $temp >> 8; + } + $carry = ($carry != 0) ? chr($carry) : ''; + $x = $carry . $x . str_repeat(chr(0), $num_bytes); + } + + /** + * Logical Right Shift + * + * Shifts binary strings $shift bits, essentially dividing by 2**$shift and returning the remainder. + * + * @param $x String + * @param $shift Integer + * @return string + * @access private + */ + function _base256_rshift(&$x, $shift) + { + if ($shift == 0) { + $x = ltrim($x, chr(0)); + return ''; + } + + $num_bytes = $shift >> 3; // eg. floor($shift/8) + $shift &= 7; // eg. $shift % 8 + + $remainder = ''; + if ($num_bytes) { + $start = $num_bytes > strlen($x) ? -strlen($x) : -$num_bytes; + $remainder = substr($x, $start); + $x = substr($x, 0, -$num_bytes); + } + + $carry = 0; + $carry_shift = 8 - $shift; + for ($i = 0; $i < strlen($x); ++$i) { + $temp = (ord($x[$i]) >> $shift) | $carry; + $carry = (ord($x[$i]) << $carry_shift) & 0xFF; + $x[$i] = chr($temp); + } + $x = ltrim($x, chr(0)); + + $remainder = chr($carry >> $carry_shift) . $remainder; + + return ltrim($remainder, chr(0)); + } + + // one quirk about how the following functions are implemented is that PHP defines N to be an unsigned long + // at 32-bits, while java's longs are 64-bits. + + /** + * Converts 32-bit integers to bytes. + * + * @param int $x + * @return string + * @access private + */ + function _int2bytes($x) + { + return ltrim(pack('N', $x), chr(0)); + } + + /** + * Converts bytes to 32-bit integers + * + * @param string $x + * @return int + * @access private + */ + function _bytes2int($x) + { + $temp = unpack('Nint', str_pad($x, 4, chr(0), STR_PAD_LEFT)); + return $temp['int']; + } + + /** + * DER-encode an integer + * + * The ability to DER-encode integers is needed to create RSA public keys for use with OpenSSL + * + * @see self::modPow() + * @access private + * @param int $length + * @return string + */ + function _encodeASN1Length($length) + { + if ($length <= 0x7F) { + return chr($length); + } + + $temp = ltrim(pack('N', $length), chr(0)); + return pack('Ca*', 0x80 | strlen($temp), $temp); + } + + /** + * Single digit division + * + * Even if int64 is being used the division operator will return a float64 value + * if the dividend is not evenly divisible by the divisor. Since a float64 doesn't + * have the precision of int64 this is a problem so, when int64 is being used, + * we'll guarantee that the dividend is divisible by first subtracting the remainder. + * + * @access private + * @param int $x + * @param int $y + * @return int + */ + function _safe_divide($x, $y) + { + if (self::$base === 26) { + return (int) ($x / $y); + } + + // self::$base === 31 + return ($x - ($x % $y)) / $y; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php new file mode 100644 index 00000000..f95bce6d --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SCP.php @@ -0,0 +1,337 @@ + + * login('username', 'password')) { + * exit('bad login'); + * } + * $scp = new \phpseclib\Net\SCP($ssh); + * + * $scp->put('abcd', str_repeat('x', 1024*1024)); + * ?> + * + * + * @category Net + * @package SCP + * @author Jim Wigginton + * @copyright 2010 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Net; + +/** + * Pure-PHP implementations of SCP. + * + * @package SCP + * @author Jim Wigginton + * @access public + */ +class SCP +{ + /**#@+ + * @access public + * @see \phpseclib\Net\SCP::put() + */ + /** + * Reads data from a local file. + */ + const SOURCE_LOCAL_FILE = 1; + /** + * Reads data from a string. + */ + const SOURCE_STRING = 2; + /**#@-*/ + + /**#@+ + * @access private + * @see \phpseclib\Net\SCP::_send() + * @see \phpseclib\Net\SCP::_receive() + */ + /** + * SSH1 is being used. + */ + const MODE_SSH1 = 1; + /** + * SSH2 is being used. + */ + const MODE_SSH2 = 2; + /**#@-*/ + + /** + * SSH Object + * + * @var object + * @access private + */ + var $ssh; + + /** + * Packet Size + * + * @var int + * @access private + */ + var $packet_size; + + /** + * Mode + * + * @var int + * @access private + */ + var $mode; + + /** + * Default Constructor. + * + * Connects to an SSH server + * + * @param \phpseclib\Net\SSH1|\phpseclib\Net\SSH2 $ssh + * @return \phpseclib\Net\SCP + * @access public + */ + function __construct($ssh) + { + if ($ssh instanceof SSH2) { + $this->mode = self::MODE_SSH2; + } elseif ($ssh instanceof SSH1) { + $this->packet_size = 50000; + $this->mode = self::MODE_SSH1; + } else { + return; + } + + $this->ssh = $ssh; + } + + /** + * Uploads a file to the SCP server. + * + * By default, \phpseclib\Net\SCP::put() does not read from the local filesystem. $data is dumped directly into $remote_file. + * So, for example, if you set $data to 'filename.ext' and then do \phpseclib\Net\SCP::get(), you will get a file, twelve bytes + * long, containing 'filename.ext' as its contents. + * + * Setting $mode to self::SOURCE_LOCAL_FILE will change the above behavior. With self::SOURCE_LOCAL_FILE, $remote_file will + * contain as many bytes as filename.ext does on your local filesystem. If your filename.ext is 1MB then that is how + * large $remote_file will be, as well. + * + * Currently, only binary mode is supported. As such, if the line endings need to be adjusted, you will need to take + * care of that, yourself. + * + * @param string $remote_file + * @param string $data + * @param int $mode + * @param callable $callback + * @return bool + * @access public + */ + function put($remote_file, $data, $mode = self::SOURCE_STRING, $callback = null) + { + if (!isset($this->ssh)) { + return false; + } + + if (!$this->ssh->exec('scp -t ' . escapeshellarg($remote_file), false)) { // -t = to + return false; + } + + $temp = $this->_receive(); + if ($temp !== chr(0)) { + return false; + } + + if ($this->mode == self::MODE_SSH2) { + $this->packet_size = $this->ssh->packet_size_client_to_server[SSH2::CHANNEL_EXEC] - 4; + } + + $remote_file = basename($remote_file); + + if ($mode == self::SOURCE_STRING) { + $size = strlen($data); + } else { + if (!is_file($data)) { + user_error("$data is not a valid file", E_USER_NOTICE); + return false; + } + + $fp = @fopen($data, 'rb'); + if (!$fp) { + return false; + } + $size = filesize($data); + } + + $this->_send('C0644 ' . $size . ' ' . $remote_file . "\n"); + + $temp = $this->_receive(); + if ($temp !== chr(0)) { + return false; + } + + $sent = 0; + while ($sent < $size) { + $temp = $mode & self::SOURCE_STRING ? substr($data, $sent, $this->packet_size) : fread($fp, $this->packet_size); + $this->_send($temp); + $sent+= strlen($temp); + + if (is_callable($callback)) { + call_user_func($callback, $sent); + } + } + $this->_close(); + + if ($mode != self::SOURCE_STRING) { + fclose($fp); + } + + return true; + } + + /** + * Downloads a file from the SCP server. + * + * Returns a string containing the contents of $remote_file if $local_file is left undefined or a boolean false if + * the operation was unsuccessful. If $local_file is defined, returns true or false depending on the success of the + * operation + * + * @param string $remote_file + * @param string $local_file + * @return mixed + * @access public + */ + function get($remote_file, $local_file = false) + { + if (!isset($this->ssh)) { + return false; + } + + if (!$this->ssh->exec('scp -f ' . escapeshellarg($remote_file), false)) { // -f = from + return false; + } + + $this->_send("\0"); + + if (!preg_match('#(?[^ ]+) (?\d+) (?.+)#', rtrim($this->_receive()), $info)) { + return false; + } + + $this->_send("\0"); + + $size = 0; + + if ($local_file !== false) { + $fp = @fopen($local_file, 'wb'); + if (!$fp) { + return false; + } + } + + $content = ''; + while ($size < $info['size']) { + $data = $this->_receive(); + // SCP usually seems to split stuff out into 16k chunks + $size+= strlen($data); + + if ($local_file === false) { + $content.= $data; + } else { + fputs($fp, $data); + } + } + + $this->_close(); + + if ($local_file !== false) { + fclose($fp); + return true; + } + + return $content; + } + + /** + * Sends a packet to an SSH server + * + * @param string $data + * @access private + */ + function _send($data) + { + switch ($this->mode) { + case self::MODE_SSH2: + $this->ssh->_send_channel_packet(SSH2::CHANNEL_EXEC, $data); + break; + case self::MODE_SSH1: + $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($data), $data); + $this->ssh->_send_binary_packet($data); + } + } + + /** + * Receives a packet from an SSH server + * + * @return string + * @access private + */ + function _receive() + { + switch ($this->mode) { + case self::MODE_SSH2: + return $this->ssh->_get_channel_packet(SSH2::CHANNEL_EXEC, true); + case self::MODE_SSH1: + if (!$this->ssh->bitmap) { + return false; + } + while (true) { + $response = $this->ssh->_get_binary_packet(); + switch ($response[SSH1::RESPONSE_TYPE]) { + case NET_SSH1_SMSG_STDOUT_DATA: + if (strlen($response[SSH1::RESPONSE_DATA]) < 4) { + return false; + } + extract(unpack('Nlength', $response[SSH1::RESPONSE_DATA])); + return $this->ssh->_string_shift($response[SSH1::RESPONSE_DATA], $length); + case NET_SSH1_SMSG_STDERR_DATA: + break; + case NET_SSH1_SMSG_EXITSTATUS: + $this->ssh->_send_binary_packet(chr(NET_SSH1_CMSG_EXIT_CONFIRMATION)); + fclose($this->ssh->fsock); + $this->ssh->bitmap = 0; + return false; + default: + user_error('Unknown packet received', E_USER_NOTICE); + return false; + } + } + } + } + + /** + * Closes the connection to an SSH server + * + * @access private + */ + function _close() + { + switch ($this->mode) { + case self::MODE_SSH2: + $this->ssh->_close_channel(SSH2::CHANNEL_EXEC, true); + break; + case self::MODE_SSH1: + $this->ssh->disconnect(); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php new file mode 100644 index 00000000..1421ecb4 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP.php @@ -0,0 +1,3063 @@ + + * login('username', 'password')) { + * exit('Login Failed'); + * } + * + * echo $sftp->pwd() . "\r\n"; + * $sftp->put('filename.ext', 'hello, world!'); + * print_r($sftp->nlist()); + * ?> + * + * + * @category Net + * @package SFTP + * @author Jim Wigginton + * @copyright 2009 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Net; + +/** + * Pure-PHP implementations of SFTP. + * + * @package SFTP + * @author Jim Wigginton + * @access public + */ +class SFTP extends SSH2 +{ + /** + * SFTP channel constant + * + * \phpseclib\Net\SSH2::exec() uses 0 and \phpseclib\Net\SSH2::read() / \phpseclib\Net\SSH2::write() use 1. + * + * @see \phpseclib\Net\SSH2::_send_channel_packet() + * @see \phpseclib\Net\SSH2::_get_channel_packet() + * @access private + */ + const CHANNEL = 0x100; + + /**#@+ + * @access public + * @see \phpseclib\Net\SFTP::put() + */ + /** + * Reads data from a local file. + */ + const SOURCE_LOCAL_FILE = 1; + /** + * Reads data from a string. + */ + // this value isn't really used anymore but i'm keeping it reserved for historical reasons + const SOURCE_STRING = 2; + /** + * Reads data from callback: + * function callback($length) returns string to proceed, null for EOF + */ + const SOURCE_CALLBACK = 16; + /** + * Resumes an upload + */ + const RESUME = 4; + /** + * Append a local file to an already existing remote file + */ + const RESUME_START = 8; + /**#@-*/ + + /** + * Packet Types + * + * @see self::__construct() + * @var array + * @access private + */ + var $packet_types = array(); + + /** + * Status Codes + * + * @see self::__construct() + * @var array + * @access private + */ + var $status_codes = array(); + + /** + * The Request ID + * + * The request ID exists in the off chance that a packet is sent out-of-order. Of course, this library doesn't support + * concurrent actions, so it's somewhat academic, here. + * + * @var int + * @see self::_send_sftp_packet() + * @access private + */ + var $request_id = false; + + /** + * The Packet Type + * + * The request ID exists in the off chance that a packet is sent out-of-order. Of course, this library doesn't support + * concurrent actions, so it's somewhat academic, here. + * + * @var int + * @see self::_get_sftp_packet() + * @access private + */ + var $packet_type = -1; + + /** + * Packet Buffer + * + * @var string + * @see self::_get_sftp_packet() + * @access private + */ + var $packet_buffer = ''; + + /** + * Extensions supported by the server + * + * @var array + * @see self::_initChannel() + * @access private + */ + var $extensions = array(); + + /** + * Server SFTP version + * + * @var int + * @see self::_initChannel() + * @access private + */ + var $version; + + /** + * Current working directory + * + * @var string + * @see self::_realpath() + * @see self::chdir() + * @access private + */ + var $pwd = false; + + /** + * Packet Type Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $packet_type_log = array(); + + /** + * Packet Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $packet_log = array(); + + /** + * Error information + * + * @see self::getSFTPErrors() + * @see self::getLastSFTPError() + * @var string + * @access private + */ + var $sftp_errors = array(); + + /** + * Stat Cache + * + * Rather than always having to open a directory and close it immediately there after to see if a file is a directory + * we'll cache the results. + * + * @see self::_update_stat_cache() + * @see self::_remove_from_stat_cache() + * @see self::_query_stat_cache() + * @var array + * @access private + */ + var $stat_cache = array(); + + /** + * Max SFTP Packet Size + * + * @see self::__construct() + * @see self::get() + * @var array + * @access private + */ + var $max_sftp_packet; + + /** + * Stat Cache Flag + * + * @see self::disableStatCache() + * @see self::enableStatCache() + * @var bool + * @access private + */ + var $use_stat_cache = true; + + /** + * Sort Options + * + * @see self::_comparator() + * @see self::setListOrder() + * @var array + * @access private + */ + var $sortOptions = array(); + + /** + * Default Constructor. + * + * Connects to an SFTP server + * + * @param string $host + * @param int $port + * @param int $timeout + * @return \phpseclib\Net\SFTP + * @access public + */ + function __construct($host, $port = 22, $timeout = 10) + { + parent::__construct($host, $port, $timeout); + + $this->max_sftp_packet = 1 << 15; + + $this->packet_types = array( + 1 => 'NET_SFTP_INIT', + 2 => 'NET_SFTP_VERSION', + /* the format of SSH_FXP_OPEN changed between SFTPv4 and SFTPv5+: + SFTPv5+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.1 + pre-SFTPv5 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3 */ + 3 => 'NET_SFTP_OPEN', + 4 => 'NET_SFTP_CLOSE', + 5 => 'NET_SFTP_READ', + 6 => 'NET_SFTP_WRITE', + 7 => 'NET_SFTP_LSTAT', + 9 => 'NET_SFTP_SETSTAT', + 11 => 'NET_SFTP_OPENDIR', + 12 => 'NET_SFTP_READDIR', + 13 => 'NET_SFTP_REMOVE', + 14 => 'NET_SFTP_MKDIR', + 15 => 'NET_SFTP_RMDIR', + 16 => 'NET_SFTP_REALPATH', + 17 => 'NET_SFTP_STAT', + /* the format of SSH_FXP_RENAME changed between SFTPv4 and SFTPv5+: + SFTPv5+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 + pre-SFTPv5 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.5 */ + 18 => 'NET_SFTP_RENAME', + 19 => 'NET_SFTP_READLINK', + 20 => 'NET_SFTP_SYMLINK', + + 101=> 'NET_SFTP_STATUS', + 102=> 'NET_SFTP_HANDLE', + /* the format of SSH_FXP_NAME changed between SFTPv3 and SFTPv4+: + SFTPv4+: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.4 + pre-SFTPv4 : http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-7 */ + 103=> 'NET_SFTP_DATA', + 104=> 'NET_SFTP_NAME', + 105=> 'NET_SFTP_ATTRS', + + 200=> 'NET_SFTP_EXTENDED' + ); + $this->status_codes = array( + 0 => 'NET_SFTP_STATUS_OK', + 1 => 'NET_SFTP_STATUS_EOF', + 2 => 'NET_SFTP_STATUS_NO_SUCH_FILE', + 3 => 'NET_SFTP_STATUS_PERMISSION_DENIED', + 4 => 'NET_SFTP_STATUS_FAILURE', + 5 => 'NET_SFTP_STATUS_BAD_MESSAGE', + 6 => 'NET_SFTP_STATUS_NO_CONNECTION', + 7 => 'NET_SFTP_STATUS_CONNECTION_LOST', + 8 => 'NET_SFTP_STATUS_OP_UNSUPPORTED', + 9 => 'NET_SFTP_STATUS_INVALID_HANDLE', + 10 => 'NET_SFTP_STATUS_NO_SUCH_PATH', + 11 => 'NET_SFTP_STATUS_FILE_ALREADY_EXISTS', + 12 => 'NET_SFTP_STATUS_WRITE_PROTECT', + 13 => 'NET_SFTP_STATUS_NO_MEDIA', + 14 => 'NET_SFTP_STATUS_NO_SPACE_ON_FILESYSTEM', + 15 => 'NET_SFTP_STATUS_QUOTA_EXCEEDED', + 16 => 'NET_SFTP_STATUS_UNKNOWN_PRINCIPAL', + 17 => 'NET_SFTP_STATUS_LOCK_CONFLICT', + 18 => 'NET_SFTP_STATUS_DIR_NOT_EMPTY', + 19 => 'NET_SFTP_STATUS_NOT_A_DIRECTORY', + 20 => 'NET_SFTP_STATUS_INVALID_FILENAME', + 21 => 'NET_SFTP_STATUS_LINK_LOOP', + 22 => 'NET_SFTP_STATUS_CANNOT_DELETE', + 23 => 'NET_SFTP_STATUS_INVALID_PARAMETER', + 24 => 'NET_SFTP_STATUS_FILE_IS_A_DIRECTORY', + 25 => 'NET_SFTP_STATUS_BYTE_RANGE_LOCK_CONFLICT', + 26 => 'NET_SFTP_STATUS_BYTE_RANGE_LOCK_REFUSED', + 27 => 'NET_SFTP_STATUS_DELETE_PENDING', + 28 => 'NET_SFTP_STATUS_FILE_CORRUPT', + 29 => 'NET_SFTP_STATUS_OWNER_INVALID', + 30 => 'NET_SFTP_STATUS_GROUP_INVALID', + 31 => 'NET_SFTP_STATUS_NO_MATCHING_BYTE_RANGE_LOCK' + ); + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-7.1 + // the order, in this case, matters quite a lot - see \phpseclib\Net\SFTP::_parseAttributes() to understand why + $this->attributes = array( + 0x00000001 => 'NET_SFTP_ATTR_SIZE', + 0x00000002 => 'NET_SFTP_ATTR_UIDGID', // defined in SFTPv3, removed in SFTPv4+ + 0x00000004 => 'NET_SFTP_ATTR_PERMISSIONS', + 0x00000008 => 'NET_SFTP_ATTR_ACCESSTIME', + // 0x80000000 will yield a floating point on 32-bit systems and converting floating points to integers + // yields inconsistent behavior depending on how php is compiled. so we left shift -1 (which, in + // two's compliment, consists of all 1 bits) by 31. on 64-bit systems this'll yield 0xFFFFFFFF80000000. + // that's not a problem, however, and 'anded' and a 32-bit number, as all the leading 1 bits are ignored. + -1 << 31 => 'NET_SFTP_ATTR_EXTENDED' + ); + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3 + // the flag definitions change somewhat in SFTPv5+. if SFTPv5+ support is added to this library, maybe name + // the array for that $this->open5_flags and similarly alter the constant names. + $this->open_flags = array( + 0x00000001 => 'NET_SFTP_OPEN_READ', + 0x00000002 => 'NET_SFTP_OPEN_WRITE', + 0x00000004 => 'NET_SFTP_OPEN_APPEND', + 0x00000008 => 'NET_SFTP_OPEN_CREATE', + 0x00000010 => 'NET_SFTP_OPEN_TRUNCATE', + 0x00000020 => 'NET_SFTP_OPEN_EXCL' + ); + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2 + // see \phpseclib\Net\SFTP::_parseLongname() for an explanation + $this->file_types = array( + 1 => 'NET_SFTP_TYPE_REGULAR', + 2 => 'NET_SFTP_TYPE_DIRECTORY', + 3 => 'NET_SFTP_TYPE_SYMLINK', + 4 => 'NET_SFTP_TYPE_SPECIAL', + 5 => 'NET_SFTP_TYPE_UNKNOWN', + // the followin types were first defined for use in SFTPv5+ + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2 + 6 => 'NET_SFTP_TYPE_SOCKET', + 7 => 'NET_SFTP_TYPE_CHAR_DEVICE', + 8 => 'NET_SFTP_TYPE_BLOCK_DEVICE', + 9 => 'NET_SFTP_TYPE_FIFO' + ); + $this->_define_array( + $this->packet_types, + $this->status_codes, + $this->attributes, + $this->open_flags, + $this->file_types + ); + + if (!defined('NET_SFTP_QUEUE_SIZE')) { + define('NET_SFTP_QUEUE_SIZE', 32); + } + } + + /** + * Login + * + * @param string $username + * @param string $password + * @return bool + * @access public + */ + function login($username) + { + $args = func_get_args(); + if (!call_user_func_array(array(&$this, '_login'), $args)) { + return false; + } + + $this->window_size_server_to_client[self::CHANNEL] = $this->window_size; + + $packet = pack( + 'CNa*N3', + NET_SSH2_MSG_CHANNEL_OPEN, + strlen('session'), + 'session', + self::CHANNEL, + $this->window_size, + 0x4000 + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_OPEN; + + $response = $this->_get_channel_packet(self::CHANNEL); + if ($response === false) { + return false; + } + + $packet = pack( + 'CNNa*CNa*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL], + strlen('subsystem'), + 'subsystem', + 1, + strlen('sftp'), + 'sftp' + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_REQUEST; + + $response = $this->_get_channel_packet(self::CHANNEL); + if ($response === false) { + // from PuTTY's psftp.exe + $command = "test -x /usr/lib/sftp-server && exec /usr/lib/sftp-server\n" . + "test -x /usr/local/lib/sftp-server && exec /usr/local/lib/sftp-server\n" . + "exec sftp-server"; + // we don't do $this->exec($command, false) because exec() operates on a different channel and plus the SSH_MSG_CHANNEL_OPEN that exec() does + // is redundant + $packet = pack( + 'CNNa*CNa*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL], + strlen('exec'), + 'exec', + 1, + strlen($command), + $command + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_REQUEST; + + $response = $this->_get_channel_packet(self::CHANNEL); + if ($response === false) { + return false; + } + } + + $this->channel_status[self::CHANNEL] = NET_SSH2_MSG_CHANNEL_DATA; + + if (!$this->_send_sftp_packet(NET_SFTP_INIT, "\0\0\0\3")) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_VERSION) { + user_error('Expected SSH_FXP_VERSION'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nversion', $this->_string_shift($response, 4))); + $this->version = $version; + while (!empty($response)) { + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $key = $this->_string_shift($response, $length); + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $value = $this->_string_shift($response, $length); + $this->extensions[$key] = $value; + } + + /* + SFTPv4+ defines a 'newline' extension. SFTPv3 seems to have unofficial support for it via 'newline@vandyke.com', + however, I'm not sure what 'newline@vandyke.com' is supposed to do (the fact that it's unofficial means that it's + not in the official SFTPv3 specs) and 'newline@vandyke.com' / 'newline' are likely not drop-in substitutes for + one another due to the fact that 'newline' comes with a SSH_FXF_TEXT bitmask whereas it seems unlikely that + 'newline@vandyke.com' would. + */ + /* + if (isset($this->extensions['newline@vandyke.com'])) { + $this->extensions['newline'] = $this->extensions['newline@vandyke.com']; + unset($this->extensions['newline@vandyke.com']); + } + */ + + $this->request_id = 1; + + /* + A Note on SFTPv4/5/6 support: + states the following: + + "If the client wishes to interoperate with servers that support noncontiguous version + numbers it SHOULD send '3'" + + Given that the server only sends its version number after the client has already done so, the above + seems to be suggesting that v3 should be the default version. This makes sense given that v3 is the + most popular. + + states the following; + + "If the server did not send the "versions" extension, or the version-from-list was not included, the + server MAY send a status response describing the failure, but MUST then close the channel without + processing any further requests." + + So what do you do if you have a client whose initial SSH_FXP_INIT packet says it implements v3 and + a server whose initial SSH_FXP_VERSION reply says it implements v4 and only v4? If it only implements + v4, the "versions" extension is likely not going to have been sent so version re-negotiation as discussed + in draft-ietf-secsh-filexfer-13 would be quite impossible. As such, what \phpseclib\Net\SFTP would do is close the + channel and reopen it with a new and updated SSH_FXP_INIT packet. + */ + switch ($this->version) { + case 2: + case 3: + break; + default: + return false; + } + + $this->pwd = $this->_realpath('.'); + + $this->_update_stat_cache($this->pwd, array()); + + return true; + } + + /** + * Disable the stat cache + * + * @access public + */ + function disableStatCache() + { + $this->use_stat_cache = false; + } + + /** + * Enable the stat cache + * + * @access public + */ + function enableStatCache() + { + $this->use_stat_cache = true; + } + + /** + * Clear the stat cache + * + * @access public + */ + function clearStatCache() + { + $this->stat_cache = array(); + } + + /** + * Returns the current directory name + * + * @return mixed + * @access public + */ + function pwd() + { + return $this->pwd; + } + + /** + * Logs errors + * + * @param string $response + * @param int $status + * @access public + */ + function _logError($response, $status = -1) + { + if ($status == -1) { + if (strlen($response) < 4) { + return; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + } + + $error = $this->status_codes[$status]; + + if ($this->version > 2 || strlen($response) < 4) { + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->sftp_errors[] = $error . ': ' . $this->_string_shift($response, $length); + } else { + $this->sftp_errors[] = $error; + } + } + + /** + * Returns canonicalized absolute pathname + * + * realpath() expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input + * path and returns the canonicalized absolute pathname. + * + * @param string $path + * @return mixed + * @access public + */ + function realpath($path) + { + return $this->_realpath($path); + } + + /** + * Canonicalize the Server-Side Path Name + * + * SFTP doesn't provide a mechanism by which the current working directory can be changed, so we'll emulate it. Returns + * the absolute (canonicalized) path. + * + * @see self::chdir() + * @param string $path + * @return mixed + * @access private + */ + function _realpath($path) + { + if ($this->pwd === false) { + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.9 + if (!$this->_send_sftp_packet(NET_SFTP_REALPATH, pack('Na*', strlen($path), $path))) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_NAME: + // although SSH_FXP_NAME is implemented differently in SFTPv3 than it is in SFTPv4+, the following + // should work on all SFTP versions since the only part of the SSH_FXP_NAME packet the following looks + // at is the first part and that part is defined the same in SFTP versions 3 through 6. + $this->_string_shift($response, 4); // skip over the count - it should be 1, anyway + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + return $this->_string_shift($response, $length); + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS'); + return false; + } + } + + if ($path[0] != '/') { + $path = $this->pwd . '/' . $path; + } + + $path = explode('/', $path); + $new = array(); + foreach ($path as $dir) { + if (!strlen($dir)) { + continue; + } + switch ($dir) { + case '..': + array_pop($new); + case '.': + break; + default: + $new[] = $dir; + } + } + + return '/' . implode('/', $new); + } + + /** + * Changes the current directory + * + * @param string $dir + * @return bool + * @access public + */ + function chdir($dir) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + // assume current dir if $dir is empty + if ($dir === '') { + $dir = './'; + // suffix a slash if needed + } elseif ($dir[strlen($dir) - 1] != '/') { + $dir.= '/'; + } + + $dir = $this->_realpath($dir); + + // confirm that $dir is, in fact, a valid directory + if ($this->use_stat_cache && is_array($this->_query_stat_cache($dir))) { + $this->pwd = $dir; + return true; + } + + // we could do a stat on the alleged $dir to see if it's a directory but that doesn't tell us + // the currently logged in user has the appropriate permissions or not. maybe you could see if + // the file's uid / gid match the currently logged in user's uid / gid but how there's no easy + // way to get those with SFTP + + if (!$this->_send_sftp_packet(NET_SFTP_OPENDIR, pack('Na*', strlen($dir), $dir))) { + return false; + } + + // see \phpseclib\Net\SFTP::nlist() for a more thorough explanation of the following + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + $handle = substr($response, 4); + break; + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + + if (!$this->_close_handle($handle)) { + return false; + } + + $this->_update_stat_cache($dir, array()); + + $this->pwd = $dir; + return true; + } + + /** + * Returns a list of files in the given directory + * + * @param string $dir + * @param bool $recursive + * @return mixed + * @access public + */ + function nlist($dir = '.', $recursive = false) + { + return $this->_nlist_helper($dir, $recursive, ''); + } + + /** + * Helper method for nlist + * + * @param string $dir + * @param bool $recursive + * @param string $relativeDir + * @return mixed + * @access private + */ + function _nlist_helper($dir, $recursive, $relativeDir) + { + $files = $this->_list($dir, false); + + if (!$recursive || $files === false) { + return $files; + } + + $result = array(); + foreach ($files as $value) { + if ($value == '.' || $value == '..') { + if ($relativeDir == '') { + $result[] = $value; + } + continue; + } + if (is_array($this->_query_stat_cache($this->_realpath($dir . '/' . $value)))) { + $temp = $this->_nlist_helper($dir . '/' . $value, true, $relativeDir . $value . '/'); + $result = array_merge($result, $temp); + } else { + $result[] = $relativeDir . $value; + } + } + + return $result; + } + + /** + * Returns a detailed list of files in the given directory + * + * @param string $dir + * @param bool $recursive + * @return mixed + * @access public + */ + function rawlist($dir = '.', $recursive = false) + { + $files = $this->_list($dir, true); + if (!$recursive || $files === false) { + return $files; + } + + static $depth = 0; + + foreach ($files as $key => $value) { + if ($depth != 0 && $key == '..') { + unset($files[$key]); + continue; + } + if ($key != '.' && $key != '..' && is_array($this->_query_stat_cache($this->_realpath($dir . '/' . $key)))) { + $depth++; + $files[$key] = $this->rawlist($dir . '/' . $key, true); + $depth--; + } else { + $files[$key] = (object) $value; + } + } + + return $files; + } + + /** + * Reads a list, be it detailed or not, of files in the given directory + * + * @param string $dir + * @param bool $raw + * @return mixed + * @access private + */ + function _list($dir, $raw = true) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $dir = $this->_realpath($dir . '/'); + if ($dir === false) { + return false; + } + + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.2 + if (!$this->_send_sftp_packet(NET_SFTP_OPENDIR, pack('Na*', strlen($dir), $dir))) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.2 + // since 'handle' is the last field in the SSH_FXP_HANDLE packet, we'll just remove the first four bytes that + // represent the length of the string and leave it at that + $handle = substr($response, 4); + break; + case NET_SFTP_STATUS: + // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + + $this->_update_stat_cache($dir, array()); + + $contents = array(); + while (true) { + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.2 + // why multiple SSH_FXP_READDIR packets would be sent when the response to a single one can span arbitrarily many + // SSH_MSG_CHANNEL_DATA messages is not known to me. + if (!$this->_send_sftp_packet(NET_SFTP_READDIR, pack('Na*', strlen($handle), $handle))) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_NAME: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Ncount', $this->_string_shift($response, 4))); + for ($i = 0; $i < $count; $i++) { + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $shortname = $this->_string_shift($response, $length); + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $longname = $this->_string_shift($response, $length); + $attributes = $this->_parseAttributes($response); + if (!isset($attributes['type'])) { + $fileType = $this->_parseLongname($longname); + if ($fileType) { + $attributes['type'] = $fileType; + } + } + $contents[$shortname] = $attributes + array('filename' => $shortname); + + if (isset($attributes['type']) && $attributes['type'] == NET_SFTP_TYPE_DIRECTORY && ($shortname != '.' && $shortname != '..')) { + $this->_update_stat_cache($dir . '/' . $shortname, array()); + } else { + if ($shortname == '..') { + $temp = $this->_realpath($dir . '/..') . '/.'; + } else { + $temp = $dir . '/' . $shortname; + } + $this->_update_stat_cache($temp, (object) array('lstat' => $attributes)); + } + // SFTPv6 has an optional boolean end-of-list field, but we'll ignore that, since the + // final SSH_FXP_STATUS packet should tell us that, already. + } + break; + case NET_SFTP_STATUS: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_EOF) { + $this->_logError($response, $status); + return false; + } + break 2; + default: + user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS'); + return false; + } + } + + if (!$this->_close_handle($handle)) { + return false; + } + + if (count($this->sortOptions)) { + uasort($contents, array(&$this, '_comparator')); + } + + return $raw ? $contents : array_keys($contents); + } + + /** + * Compares two rawlist entries using parameters set by setListOrder() + * + * Intended for use with uasort() + * + * @param array $a + * @param array $b + * @return int + * @access private + */ + function _comparator($a, $b) + { + switch (true) { + case $a['filename'] === '.' || $b['filename'] === '.': + if ($a['filename'] === $b['filename']) { + return 0; + } + return $a['filename'] === '.' ? -1 : 1; + case $a['filename'] === '..' || $b['filename'] === '..': + if ($a['filename'] === $b['filename']) { + return 0; + } + return $a['filename'] === '..' ? -1 : 1; + case isset($a['type']) && $a['type'] === NET_SFTP_TYPE_DIRECTORY: + if (!isset($b['type'])) { + return 1; + } + if ($b['type'] !== $a['type']) { + return -1; + } + break; + case isset($b['type']) && $b['type'] === NET_SFTP_TYPE_DIRECTORY: + return 1; + } + foreach ($this->sortOptions as $sort => $order) { + if (!isset($a[$sort]) || !isset($b[$sort])) { + if (isset($a[$sort])) { + return -1; + } + if (isset($b[$sort])) { + return 1; + } + return 0; + } + switch ($sort) { + case 'filename': + $result = strcasecmp($a['filename'], $b['filename']); + if ($result) { + return $order === SORT_DESC ? -$result : $result; + } + break; + case 'permissions': + case 'mode': + $a[$sort]&= 07777; + $b[$sort]&= 07777; + default: + if ($a[$sort] === $b[$sort]) { + break; + } + return $order === SORT_ASC ? $a[$sort] - $b[$sort] : $b[$sort] - $a[$sort]; + } + } + } + + /** + * Defines how nlist() and rawlist() will be sorted - if at all. + * + * If sorting is enabled directories and files will be sorted independently with + * directories appearing before files in the resultant array that is returned. + * + * Any parameter returned by stat is a valid sort parameter for this function. + * Filename comparisons are case insensitive. + * + * Examples: + * + * $sftp->setListOrder('filename', SORT_ASC); + * $sftp->setListOrder('size', SORT_DESC, 'filename', SORT_ASC); + * $sftp->setListOrder(true); + * Separates directories from files but doesn't do any sorting beyond that + * $sftp->setListOrder(); + * Don't do any sort of sorting + * + * @access public + */ + function setListOrder() + { + $this->sortOptions = array(); + $args = func_get_args(); + if (empty($args)) { + return; + } + $len = count($args) & 0x7FFFFFFE; + for ($i = 0; $i < $len; $i+=2) { + $this->sortOptions[$args[$i]] = $args[$i + 1]; + } + if (!count($this->sortOptions)) { + $this->sortOptions = array('bogus' => true); + } + } + + /** + * Returns the file size, in bytes, or false, on failure + * + * Files larger than 4GB will show up as being exactly 4GB. + * + * @param string $filename + * @return mixed + * @access public + */ + function size($filename) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $result = $this->stat($filename); + if ($result === false) { + return false; + } + return isset($result['size']) ? $result['size'] : -1; + } + + /** + * Save files / directories to cache + * + * @param string $path + * @param mixed $value + * @access private + */ + function _update_stat_cache($path, $value) + { + if ($this->use_stat_cache === false) { + return; + } + + // preg_replace('#^/|/(?=/)|/$#', '', $dir) == str_replace('//', '/', trim($path, '/')) + $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path)); + + $temp = &$this->stat_cache; + $max = count($dirs) - 1; + foreach ($dirs as $i => $dir) { + // if $temp is an object that means one of two things. + // 1. a file was deleted and changed to a directory behind phpseclib's back + // 2. it's a symlink. when lstat is done it's unclear what it's a symlink to + if (is_object($temp)) { + $temp = array(); + } + if (!isset($temp[$dir])) { + $temp[$dir] = array(); + } + if ($i === $max) { + if (is_object($temp[$dir])) { + if (!isset($value->stat) && isset($temp[$dir]->stat)) { + $value->stat = $temp[$dir]->stat; + } + if (!isset($value->lstat) && isset($temp[$dir]->lstat)) { + $value->lstat = $temp[$dir]->lstat; + } + } + $temp[$dir] = $value; + break; + } + $temp = &$temp[$dir]; + } + } + + /** + * Remove files / directories from cache + * + * @param string $path + * @return bool + * @access private + */ + function _remove_from_stat_cache($path) + { + $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path)); + + $temp = &$this->stat_cache; + $max = count($dirs) - 1; + foreach ($dirs as $i => $dir) { + if ($i === $max) { + unset($temp[$dir]); + return true; + } + if (!isset($temp[$dir])) { + return false; + } + $temp = &$temp[$dir]; + } + } + + /** + * Checks cache for path + * + * Mainly used by file_exists + * + * @param string $dir + * @return mixed + * @access private + */ + function _query_stat_cache($path) + { + $dirs = explode('/', preg_replace('#^/|/(?=/)|/$#', '', $path)); + + $temp = &$this->stat_cache; + foreach ($dirs as $dir) { + if (!isset($temp[$dir])) { + return null; + } + $temp = &$temp[$dir]; + } + return $temp; + } + + /** + * Returns general information about a file. + * + * Returns an array on success and false otherwise. + * + * @param string $filename + * @return mixed + * @access public + */ + function stat($filename) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $filename = $this->_realpath($filename); + if ($filename === false) { + return false; + } + + if ($this->use_stat_cache) { + $result = $this->_query_stat_cache($filename); + if (is_array($result) && isset($result['.']) && isset($result['.']->stat)) { + return $result['.']->stat; + } + if (is_object($result) && isset($result->stat)) { + return $result->stat; + } + } + + $stat = $this->_stat($filename, NET_SFTP_STAT); + if ($stat === false) { + $this->_remove_from_stat_cache($filename); + return false; + } + if (isset($stat['type'])) { + if ($stat['type'] == NET_SFTP_TYPE_DIRECTORY) { + $filename.= '/.'; + } + $this->_update_stat_cache($filename, (object) array('stat' => $stat)); + return $stat; + } + + $pwd = $this->pwd; + $stat['type'] = $this->chdir($filename) ? + NET_SFTP_TYPE_DIRECTORY : + NET_SFTP_TYPE_REGULAR; + $this->pwd = $pwd; + + if ($stat['type'] == NET_SFTP_TYPE_DIRECTORY) { + $filename.= '/.'; + } + $this->_update_stat_cache($filename, (object) array('stat' => $stat)); + + return $stat; + } + + /** + * Returns general information about a file or symbolic link. + * + * Returns an array on success and false otherwise. + * + * @param string $filename + * @return mixed + * @access public + */ + function lstat($filename) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $filename = $this->_realpath($filename); + if ($filename === false) { + return false; + } + + if ($this->use_stat_cache) { + $result = $this->_query_stat_cache($filename); + if (is_array($result) && isset($result['.']) && isset($result['.']->lstat)) { + return $result['.']->lstat; + } + if (is_object($result) && isset($result->lstat)) { + return $result->lstat; + } + } + + $lstat = $this->_stat($filename, NET_SFTP_LSTAT); + if ($lstat === false) { + $this->_remove_from_stat_cache($filename); + return false; + } + if (isset($lstat['type'])) { + if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) { + $filename.= '/.'; + } + $this->_update_stat_cache($filename, (object) array('lstat' => $lstat)); + return $lstat; + } + + $stat = $this->_stat($filename, NET_SFTP_STAT); + + if ($lstat != $stat) { + $lstat = array_merge($lstat, array('type' => NET_SFTP_TYPE_SYMLINK)); + $this->_update_stat_cache($filename, (object) array('lstat' => $lstat)); + return $stat; + } + + $pwd = $this->pwd; + $lstat['type'] = $this->chdir($filename) ? + NET_SFTP_TYPE_DIRECTORY : + NET_SFTP_TYPE_REGULAR; + $this->pwd = $pwd; + + if ($lstat['type'] == NET_SFTP_TYPE_DIRECTORY) { + $filename.= '/.'; + } + $this->_update_stat_cache($filename, (object) array('lstat' => $lstat)); + + return $lstat; + } + + /** + * Returns general information about a file or symbolic link + * + * Determines information without calling \phpseclib\Net\SFTP::_realpath(). + * The second parameter can be either NET_SFTP_STAT or NET_SFTP_LSTAT. + * + * @param string $filename + * @param int $type + * @return mixed + * @access private + */ + function _stat($filename, $type) + { + // SFTPv4+ adds an additional 32-bit integer field - flags - to the following: + $packet = pack('Na*', strlen($filename), $filename); + if (!$this->_send_sftp_packet($type, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_ATTRS: + return $this->_parseAttributes($response); + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + } + + user_error('Expected SSH_FXP_ATTRS or SSH_FXP_STATUS'); + return false; + } + + /** + * Truncates a file to a given length + * + * @param string $filename + * @param int $new_size + * @return bool + * @access public + */ + function truncate($filename, $new_size) + { + $attr = pack('N3', NET_SFTP_ATTR_SIZE, $new_size / 4294967296, $new_size); // 4294967296 == 0x100000000 == 1<<32 + + return $this->_setstat($filename, $attr, false); + } + + /** + * Sets access and modification time of file. + * + * If the file does not exist, it will be created. + * + * @param string $filename + * @param int $time + * @param int $atime + * @return bool + * @access public + */ + function touch($filename, $time = null, $atime = null) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $filename = $this->_realpath($filename); + if ($filename === false) { + return false; + } + + if (!isset($time)) { + $time = time(); + } + if (!isset($atime)) { + $atime = $time; + } + + $flags = NET_SFTP_OPEN_WRITE | NET_SFTP_OPEN_CREATE | NET_SFTP_OPEN_EXCL; + $attr = pack('N3', NET_SFTP_ATTR_ACCESSTIME, $time, $atime); + $packet = pack('Na*Na*', strlen($filename), $filename, $flags, $attr); + if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + return $this->_close_handle(substr($response, 4)); + case NET_SFTP_STATUS: + $this->_logError($response); + break; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + + return $this->_setstat($filename, $attr, false); + } + + /** + * Changes file or directory owner + * + * Returns true on success or false on error. + * + * @param string $filename + * @param int $uid + * @param bool $recursive + * @return bool + * @access public + */ + function chown($filename, $uid, $recursive = false) + { + // quoting from , + // "if the owner or group is specified as -1, then that ID is not changed" + $attr = pack('N3', NET_SFTP_ATTR_UIDGID, $uid, -1); + + return $this->_setstat($filename, $attr, $recursive); + } + + /** + * Changes file or directory group + * + * Returns true on success or false on error. + * + * @param string $filename + * @param int $gid + * @param bool $recursive + * @return bool + * @access public + */ + function chgrp($filename, $gid, $recursive = false) + { + $attr = pack('N3', NET_SFTP_ATTR_UIDGID, -1, $gid); + + return $this->_setstat($filename, $attr, $recursive); + } + + /** + * Set permissions on a file. + * + * Returns the new file permissions on success or false on error. + * If $recursive is true than this just returns true or false. + * + * @param int $mode + * @param string $filename + * @param bool $recursive + * @return mixed + * @access public + */ + function chmod($mode, $filename, $recursive = false) + { + if (is_string($mode) && is_int($filename)) { + $temp = $mode; + $mode = $filename; + $filename = $temp; + } + + $attr = pack('N2', NET_SFTP_ATTR_PERMISSIONS, $mode & 07777); + if (!$this->_setstat($filename, $attr, $recursive)) { + return false; + } + if ($recursive) { + return true; + } + + $filename = $this->_realPath($filename); + // rather than return what the permissions *should* be, we'll return what they actually are. this will also + // tell us if the file actually exists. + // incidentally, SFTPv4+ adds an additional 32-bit integer field - flags - to the following: + $packet = pack('Na*', strlen($filename), $filename); + if (!$this->_send_sftp_packet(NET_SFTP_STAT, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_ATTRS: + $attrs = $this->_parseAttributes($response); + return $attrs['permissions']; + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + } + + user_error('Expected SSH_FXP_ATTRS or SSH_FXP_STATUS'); + return false; + } + + /** + * Sets information about a file + * + * @param string $filename + * @param string $attr + * @param bool $recursive + * @return bool + * @access private + */ + function _setstat($filename, $attr, $recursive) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $filename = $this->_realpath($filename); + if ($filename === false) { + return false; + } + + $this->_remove_from_stat_cache($filename); + + if ($recursive) { + $i = 0; + $result = $this->_setstat_recursive($filename, $attr, $i); + $this->_read_put_responses($i); + return $result; + } + + // SFTPv4+ has an additional byte field - type - that would need to be sent, as well. setting it to + // SSH_FILEXFER_TYPE_UNKNOWN might work. if not, we'd have to do an SSH_FXP_STAT before doing an SSH_FXP_SETSTAT. + if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($filename), $filename, $attr))) { + return false; + } + + /* + "Because some systems must use separate system calls to set various attributes, it is possible that a failure + response will be returned, but yet some of the attributes may be have been successfully modified. If possible, + servers SHOULD avoid this situation; however, clients MUST be aware that this is possible." + + -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.6 + */ + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + return false; + } + + return true; + } + + /** + * Recursively sets information on directories on the SFTP server + * + * Minimizes directory lookups and SSH_FXP_STATUS requests for speed. + * + * @param string $path + * @param string $attr + * @param int $i + * @return bool + * @access private + */ + function _setstat_recursive($path, $attr, &$i) + { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + $entries = $this->_list($path, true); + + if ($entries === false) { + return $this->_setstat($path, $attr, false); + } + + // normally $entries would have at least . and .. but it might not if the directories + // permissions didn't allow reading + if (empty($entries)) { + return false; + } + + unset($entries['.'], $entries['..']); + foreach ($entries as $filename => $props) { + if (!isset($props['type'])) { + return false; + } + + $temp = $path . '/' . $filename; + if ($props['type'] == NET_SFTP_TYPE_DIRECTORY) { + if (!$this->_setstat_recursive($temp, $attr, $i)) { + return false; + } + } else { + if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($temp), $temp, $attr))) { + return false; + } + + $i++; + + if ($i >= NET_SFTP_QUEUE_SIZE) { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + } + } + } + + if (!$this->_send_sftp_packet(NET_SFTP_SETSTAT, pack('Na*a*', strlen($path), $path, $attr))) { + return false; + } + + $i++; + + if ($i >= NET_SFTP_QUEUE_SIZE) { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + } + + return true; + } + + /** + * Return the target of a symbolic link + * + * @param string $link + * @return mixed + * @access public + */ + function readlink($link) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $link = $this->_realpath($link); + + if (!$this->_send_sftp_packet(NET_SFTP_READLINK, pack('Na*', strlen($link), $link))) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_NAME: + break; + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_NAME or SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Ncount', $this->_string_shift($response, 4))); + // the file isn't a symlink + if (!$count) { + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + return $this->_string_shift($response, $length); + } + + /** + * Create a symlink + * + * symlink() creates a symbolic link to the existing target with the specified name link. + * + * @param string $target + * @param string $link + * @return bool + * @access public + */ + function symlink($target, $link) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + //$target = $this->_realpath($target); + $link = $this->_realpath($link); + + $packet = pack('Na*Na*', strlen($target), $target, strlen($link), $link); + if (!$this->_send_sftp_packet(NET_SFTP_SYMLINK, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + return false; + } + + return true; + } + + /** + * Creates a directory. + * + * @param string $dir + * @return bool + * @access public + */ + function mkdir($dir, $mode = -1, $recursive = false) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $dir = $this->_realpath($dir); + // by not providing any permissions, hopefully the server will use the logged in users umask - their + // default permissions. + $attr = $mode == -1 ? "\0\0\0\0" : pack('N2', NET_SFTP_ATTR_PERMISSIONS, $mode & 07777); + + if ($recursive) { + $dirs = explode('/', preg_replace('#/(?=/)|/$#', '', $dir)); + if (empty($dirs[0])) { + array_shift($dirs); + $dirs[0] = '/' . $dirs[0]; + } + for ($i = 0; $i < count($dirs); $i++) { + $temp = array_slice($dirs, 0, $i + 1); + $temp = implode('/', $temp); + $result = $this->_mkdir_helper($temp, $attr); + } + return $result; + } + + return $this->_mkdir_helper($dir, $attr); + } + + /** + * Helper function for directory creation + * + * @param string $dir + * @return bool + * @access private + */ + function _mkdir_helper($dir, $attr) + { + if (!$this->_send_sftp_packet(NET_SFTP_MKDIR, pack('Na*a*', strlen($dir), $dir, $attr))) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + return false; + } + + return true; + } + + /** + * Removes a directory. + * + * @param string $dir + * @return bool + * @access public + */ + function rmdir($dir) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $dir = $this->_realpath($dir); + if ($dir === false) { + return false; + } + + if (!$this->_send_sftp_packet(NET_SFTP_RMDIR, pack('Na*', strlen($dir), $dir))) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED? + $this->_logError($response, $status); + return false; + } + + $this->_remove_from_stat_cache($dir); + // the following will do a soft delete, which would be useful if you deleted a file + // and then tried to do a stat on the deleted file. the above, in contrast, does + // a hard delete + //$this->_update_stat_cache($dir, false); + + return true; + } + + /** + * Uploads a file to the SFTP server. + * + * By default, \phpseclib\Net\SFTP::put() does not read from the local filesystem. $data is dumped directly into $remote_file. + * So, for example, if you set $data to 'filename.ext' and then do \phpseclib\Net\SFTP::get(), you will get a file, twelve bytes + * long, containing 'filename.ext' as its contents. + * + * Setting $mode to self::SOURCE_LOCAL_FILE will change the above behavior. With self::SOURCE_LOCAL_FILE, $remote_file will + * contain as many bytes as filename.ext does on your local filesystem. If your filename.ext is 1MB then that is how + * large $remote_file will be, as well. + * + * Setting $mode to self::SOURCE_CALLBACK will use $data as callback function, which gets only one parameter -- number of bytes to return, and returns a string if there is some data or null if there is no more data + * + * If $data is a resource then it'll be used as a resource instead. + * + * Currently, only binary mode is supported. As such, if the line endings need to be adjusted, you will need to take + * care of that, yourself. + * + * $mode can take an additional two parameters - self::RESUME and self::RESUME_START. These are bitwise AND'd with + * $mode. So if you want to resume upload of a 300mb file on the local file system you'd set $mode to the following: + * + * self::SOURCE_LOCAL_FILE | self::RESUME + * + * If you wanted to simply append the full contents of a local file to the full contents of a remote file you'd replace + * self::RESUME with self::RESUME_START. + * + * If $mode & (self::RESUME | self::RESUME_START) then self::RESUME_START will be assumed. + * + * $start and $local_start give you more fine grained control over this process and take precident over self::RESUME + * when they're non-negative. ie. $start could let you write at the end of a file (like self::RESUME) or in the middle + * of one. $local_start could let you start your reading from the end of a file (like self::RESUME_START) or in the + * middle of one. + * + * Setting $local_start to > 0 or $mode | self::RESUME_START doesn't do anything unless $mode | self::SOURCE_LOCAL_FILE. + * + * @param string $remote_file + * @param string|resource $data + * @param int $mode + * @param int $start + * @param int $local_start + * @param callable|null $progressCallback + * @return bool + * @access public + * @internal ASCII mode for SFTPv4/5/6 can be supported by adding a new function - \phpseclib\Net\SFTP::setMode(). + */ + function put($remote_file, $data, $mode = self::SOURCE_STRING, $start = -1, $local_start = -1, $progressCallback = null) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $remote_file = $this->_realpath($remote_file); + if ($remote_file === false) { + return false; + } + + $this->_remove_from_stat_cache($remote_file); + + $flags = NET_SFTP_OPEN_WRITE | NET_SFTP_OPEN_CREATE; + // according to the SFTP specs, NET_SFTP_OPEN_APPEND should "force all writes to append data at the end of the file." + // in practice, it doesn't seem to do that. + //$flags|= ($mode & self::RESUME) ? NET_SFTP_OPEN_APPEND : NET_SFTP_OPEN_TRUNCATE; + + if ($start >= 0) { + $offset = $start; + } elseif ($mode & self::RESUME) { + // if NET_SFTP_OPEN_APPEND worked as it should _size() wouldn't need to be called + $size = $this->size($remote_file); + $offset = $size !== false ? $size : 0; + } else { + $offset = 0; + $flags|= NET_SFTP_OPEN_TRUNCATE; + } + + $packet = pack('Na*N2', strlen($remote_file), $remote_file, $flags, 0); + if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + $handle = substr($response, 4); + break; + case NET_SFTP_STATUS: + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3 + $dataCallback = false; + switch (true) { + case $mode & self::SOURCE_CALLBACK: + if (!is_callable($data)) { + user_error("\$data should be is_callable() if you specify SOURCE_CALLBACK flag"); + } + $dataCallback = $data; + // do nothing + break; + case is_resource($data): + $mode = $mode & ~self::SOURCE_LOCAL_FILE; + $info = stream_get_meta_data($data); + if ($info['wrapper_type'] == 'PHP' && $info['stream_type'] == 'Input') { + $fp = fopen('php://memory', 'w+'); + stream_copy_to_stream($data, $fp); + rewind($fp); + } else { + $fp = $data; + } + break; + case $mode & self::SOURCE_LOCAL_FILE: + if (!is_file($data)) { + user_error("$data is not a valid file"); + return false; + } + $fp = @fopen($data, 'rb'); + if (!$fp) { + return false; + } + } + + if (isset($fp)) { + $stat = fstat($fp); + $size = $stat['size']; + + if ($local_start >= 0) { + fseek($fp, $local_start); + $size-= $local_start; + } + } elseif ($dataCallback) { + $size = 0; + } else { + $size = strlen($data); + } + + $sent = 0; + $size = $size < 0 ? ($size & 0x7FFFFFFF) + 0x80000000 : $size; + + $sftp_packet_size = 4096; // PuTTY uses 4096 + // make the SFTP packet be exactly 4096 bytes by including the bytes in the NET_SFTP_WRITE packets "header" + $sftp_packet_size-= strlen($handle) + 25; + $i = 0; + while ($dataCallback || ($size === 0 || $sent < $size)) { + if ($dataCallback) { + $temp = call_user_func($dataCallback, $sftp_packet_size); + if (is_null($temp)) { + break; + } + } else { + $temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size); + if ($temp === false || $temp === '') { + break; + } + } + + $subtemp = $offset + $sent; + $packet = pack('Na*N3a*', strlen($handle), $handle, $subtemp / 4294967296, $subtemp, strlen($temp), $temp); + if (!$this->_send_sftp_packet(NET_SFTP_WRITE, $packet)) { + if ($mode & self::SOURCE_LOCAL_FILE) { + fclose($fp); + } + return false; + } + $sent+= strlen($temp); + if (is_callable($progressCallback)) { + call_user_func($progressCallback, $sent); + } + + $i++; + + if ($i == NET_SFTP_QUEUE_SIZE) { + if (!$this->_read_put_responses($i)) { + $i = 0; + break; + } + $i = 0; + } + } + + if (!$this->_read_put_responses($i)) { + if ($mode & self::SOURCE_LOCAL_FILE) { + fclose($fp); + } + $this->_close_handle($handle); + return false; + } + + if ($mode & self::SOURCE_LOCAL_FILE) { + fclose($fp); + } + + return $this->_close_handle($handle); + } + + /** + * Reads multiple successive SSH_FXP_WRITE responses + * + * Sending an SSH_FXP_WRITE packet and immediately reading its response isn't as efficient as blindly sending out $i + * SSH_FXP_WRITEs, in succession, and then reading $i responses. + * + * @param int $i + * @return bool + * @access private + */ + function _read_put_responses($i) + { + while ($i--) { + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + break; + } + } + + return $i < 0; + } + + /** + * Close handle + * + * @param string $handle + * @return bool + * @access private + */ + function _close_handle($handle) + { + if (!$this->_send_sftp_packet(NET_SFTP_CLOSE, pack('Na*', strlen($handle), $handle))) { + return false; + } + + // "The client MUST release all resources associated with the handle regardless of the status." + // -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.3 + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + return false; + } + + return true; + } + + /** + * Downloads a file from the SFTP server. + * + * Returns a string containing the contents of $remote_file if $local_file is left undefined or a boolean false if + * the operation was unsuccessful. If $local_file is defined, returns true or false depending on the success of the + * operation. + * + * $offset and $length can be used to download files in chunks. + * + * @param string $remote_file + * @param string $local_file + * @param int $offset + * @param int $length + * @return mixed + * @access public + */ + function get($remote_file, $local_file = false, $offset = 0, $length = -1) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $remote_file = $this->_realpath($remote_file); + if ($remote_file === false) { + return false; + } + + $packet = pack('Na*N2', strlen($remote_file), $remote_file, NET_SFTP_OPEN_READ, 0); + if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + $handle = substr($response, 4); + break; + case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + $this->_logError($response); + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + + if (is_resource($local_file)) { + $fp = $local_file; + $stat = fstat($fp); + $res_offset = $stat['size']; + } else { + $res_offset = 0; + if ($local_file !== false) { + $fp = fopen($local_file, 'wb'); + if (!$fp) { + return false; + } + } else { + $content = ''; + } + } + + $fclose_check = $local_file !== false && !is_resource($local_file); + + $start = $offset; + $read = 0; + while (true) { + $i = 0; + + while ($i < NET_SFTP_QUEUE_SIZE && ($length < 0 || $read < $length)) { + $tempoffset = $start + $read; + + $packet_size = $length > 0 ? min($this->max_sftp_packet, $length - $read) : $this->max_sftp_packet; + + $packet = pack('Na*N3', strlen($handle), $handle, $tempoffset / 4294967296, $tempoffset, $packet_size); + if (!$this->_send_sftp_packet(NET_SFTP_READ, $packet)) { + if ($fclose_check) { + fclose($fp); + } + return false; + } + $packet = null; + $read+= $packet_size; + $i++; + } + + if (!$i) { + break; + } + + $clear_responses = false; + while ($i > 0) { + $i--; + + if ($clear_responses) { + $this->_get_sftp_packet(); + continue; + } else { + $response = $this->_get_sftp_packet(); + } + + switch ($this->packet_type) { + case NET_SFTP_DATA: + $temp = substr($response, 4); + $offset+= strlen($temp); + if ($local_file === false) { + $content.= $temp; + } else { + fputs($fp, $temp); + } + $temp = null; + break; + case NET_SFTP_STATUS: + // could, in theory, return false if !strlen($content) but we'll hold off for the time being + $this->_logError($response); + $clear_responses = true; // don't break out of the loop yet, so we can read the remaining responses + break; + default: + if ($fclose_check) { + fclose($fp); + } + user_error('Expected SSH_FX_DATA or SSH_FXP_STATUS'); + } + $response = null; + } + + if ($clear_responses) { + break; + } + } + + if ($length > 0 && $length <= $offset - $start) { + if ($local_file === false) { + $content = substr($content, 0, $length); + } else { + ftruncate($fp, $length + $res_offset); + } + } + + if ($fclose_check) { + fclose($fp); + } + + if (!$this->_close_handle($handle)) { + return false; + } + + // if $content isn't set that means a file was written to + return isset($content) ? $content : true; + } + + /** + * Deletes a file on the SFTP server. + * + * @param string $path + * @param bool $recursive + * @return bool + * @access public + */ + function delete($path, $recursive = true) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + if (is_object($path)) { + // It's an object. Cast it as string before we check anything else. + $path = (string) $path; + } + + if (!is_string($path) || $path == '') { + return false; + } + + $path = $this->_realpath($path); + if ($path === false) { + return false; + } + + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 + if (!$this->_send_sftp_packet(NET_SFTP_REMOVE, pack('Na*', strlen($path), $path))) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + if (!$recursive) { + return false; + } + $i = 0; + $result = $this->_delete_recursive($path, $i); + $this->_read_put_responses($i); + return $result; + } + + $this->_remove_from_stat_cache($path); + + return true; + } + + /** + * Recursively deletes directories on the SFTP server + * + * Minimizes directory lookups and SSH_FXP_STATUS requests for speed. + * + * @param string $path + * @param int $i + * @return bool + * @access private + */ + function _delete_recursive($path, &$i) + { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + $entries = $this->_list($path, true); + + // normally $entries would have at least . and .. but it might not if the directories + // permissions didn't allow reading + if (empty($entries)) { + return false; + } + + unset($entries['.'], $entries['..']); + foreach ($entries as $filename => $props) { + if (!isset($props['type'])) { + return false; + } + + $temp = $path . '/' . $filename; + if ($props['type'] == NET_SFTP_TYPE_DIRECTORY) { + if (!$this->_delete_recursive($temp, $i)) { + return false; + } + } else { + if (!$this->_send_sftp_packet(NET_SFTP_REMOVE, pack('Na*', strlen($temp), $temp))) { + return false; + } + $this->_remove_from_stat_cache($temp); + + $i++; + + if ($i >= NET_SFTP_QUEUE_SIZE) { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + } + } + } + + if (!$this->_send_sftp_packet(NET_SFTP_RMDIR, pack('Na*', strlen($path), $path))) { + return false; + } + $this->_remove_from_stat_cache($path); + + $i++; + + if ($i >= NET_SFTP_QUEUE_SIZE) { + if (!$this->_read_put_responses($i)) { + return false; + } + $i = 0; + } + + return true; + } + + /** + * Checks whether a file or directory exists + * + * @param string $path + * @return bool + * @access public + */ + function file_exists($path) + { + if ($this->use_stat_cache) { + $path = $this->_realpath($path); + + $result = $this->_query_stat_cache($path); + + if (isset($result)) { + // return true if $result is an array or if it's an stdClass object + return $result !== false; + } + } + + return $this->stat($path) !== false; + } + + /** + * Tells whether the filename is a directory + * + * @param string $path + * @return bool + * @access public + */ + function is_dir($path) + { + $result = $this->_get_stat_cache_prop($path, 'type'); + if ($result === false) { + return false; + } + return $result === NET_SFTP_TYPE_DIRECTORY; + } + + /** + * Tells whether the filename is a regular file + * + * @param string $path + * @return bool + * @access public + */ + function is_file($path) + { + $result = $this->_get_stat_cache_prop($path, 'type'); + if ($result === false) { + return false; + } + return $result === NET_SFTP_TYPE_REGULAR; + } + + /** + * Tells whether the filename is a symbolic link + * + * @param string $path + * @return bool + * @access public + */ + function is_link($path) + { + $result = $this->_get_lstat_cache_prop($path, 'type'); + if ($result === false) { + return false; + } + return $result === NET_SFTP_TYPE_SYMLINK; + } + + /** + * Tells whether a file exists and is readable + * + * @param string $path + * @return bool + * @access public + */ + function is_readable($path) + { + $path = $this->_realpath($path); + + $packet = pack('Na*N2', strlen($path), $path, NET_SFTP_OPEN_READ, 0); + if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + return true; + case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + } + + /** + * Tells whether the filename is writable + * + * @param string $path + * @return bool + * @access public + */ + function is_writable($path) + { + $path = $this->_realpath($path); + + $packet = pack('Na*N2', strlen($path), $path, NET_SFTP_OPEN_WRITE, 0); + if (!$this->_send_sftp_packet(NET_SFTP_OPEN, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + switch ($this->packet_type) { + case NET_SFTP_HANDLE: + return true; + case NET_SFTP_STATUS: // presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + return false; + default: + user_error('Expected SSH_FXP_HANDLE or SSH_FXP_STATUS'); + return false; + } + } + + /** + * Tells whether the filename is writeable + * + * Alias of is_writable + * + * @param string $path + * @return bool + * @access public + */ + function is_writeable($path) + { + return $this->is_writable($path); + } + + /** + * Gets last access time of file + * + * @param string $path + * @return mixed + * @access public + */ + function fileatime($path) + { + return $this->_get_stat_cache_prop($path, 'atime'); + } + + /** + * Gets file modification time + * + * @param string $path + * @return mixed + * @access public + */ + function filemtime($path) + { + return $this->_get_stat_cache_prop($path, 'mtime'); + } + + /** + * Gets file permissions + * + * @param string $path + * @return mixed + * @access public + */ + function fileperms($path) + { + return $this->_get_stat_cache_prop($path, 'permissions'); + } + + /** + * Gets file owner + * + * @param string $path + * @return mixed + * @access public + */ + function fileowner($path) + { + return $this->_get_stat_cache_prop($path, 'uid'); + } + + /** + * Gets file group + * + * @param string $path + * @return mixed + * @access public + */ + function filegroup($path) + { + return $this->_get_stat_cache_prop($path, 'gid'); + } + + /** + * Gets file size + * + * @param string $path + * @return mixed + * @access public + */ + function filesize($path) + { + return $this->_get_stat_cache_prop($path, 'size'); + } + + /** + * Gets file type + * + * @param string $path + * @return mixed + * @access public + */ + function filetype($path) + { + $type = $this->_get_stat_cache_prop($path, 'type'); + if ($type === false) { + return false; + } + + switch ($type) { + case NET_SFTP_TYPE_BLOCK_DEVICE: + return 'block'; + case NET_SFTP_TYPE_CHAR_DEVICE: + return 'char'; + case NET_SFTP_TYPE_DIRECTORY: + return 'dir'; + case NET_SFTP_TYPE_FIFO: + return 'fifo'; + case NET_SFTP_TYPE_REGULAR: + return 'file'; + case NET_SFTP_TYPE_SYMLINK: + return 'link'; + default: + return false; + } + } + + /** + * Return a stat properity + * + * Uses cache if appropriate. + * + * @param string $path + * @param string $prop + * @return mixed + * @access private + */ + function _get_stat_cache_prop($path, $prop) + { + return $this->_get_xstat_cache_prop($path, $prop, 'stat'); + } + + /** + * Return an lstat properity + * + * Uses cache if appropriate. + * + * @param string $path + * @param string $prop + * @return mixed + * @access private + */ + function _get_lstat_cache_prop($path, $prop) + { + return $this->_get_xstat_cache_prop($path, $prop, 'lstat'); + } + + /** + * Return a stat or lstat properity + * + * Uses cache if appropriate. + * + * @param string $path + * @param string $prop + * @return mixed + * @access private + */ + function _get_xstat_cache_prop($path, $prop, $type) + { + if ($this->use_stat_cache) { + $path = $this->_realpath($path); + + $result = $this->_query_stat_cache($path); + + if (is_object($result) && isset($result->$type)) { + return $result->{$type}[$prop]; + } + } + + $result = $this->$type($path); + + if ($result === false || !isset($result[$prop])) { + return false; + } + + return $result[$prop]; + } + + /** + * Renames a file or a directory on the SFTP server + * + * @param string $oldname + * @param string $newname + * @return bool + * @access public + */ + function rename($oldname, $newname) + { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { + return false; + } + + $oldname = $this->_realpath($oldname); + $newname = $this->_realpath($newname); + if ($oldname === false || $newname === false) { + return false; + } + + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 + $packet = pack('Na*Na*', strlen($oldname), $oldname, strlen($newname), $newname); + if (!$this->_send_sftp_packet(NET_SFTP_RENAME, $packet)) { + return false; + } + + $response = $this->_get_sftp_packet(); + if ($this->packet_type != NET_SFTP_STATUS) { + user_error('Expected SSH_FXP_STATUS'); + return false; + } + + // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nstatus', $this->_string_shift($response, 4))); + if ($status != NET_SFTP_STATUS_OK) { + $this->_logError($response, $status); + return false; + } + + // don't move the stat cache entry over since this operation could very well change the + // atime and mtime attributes + //$this->_update_stat_cache($newname, $this->_query_stat_cache($oldname)); + $this->_remove_from_stat_cache($oldname); + $this->_remove_from_stat_cache($newname); + + return true; + } + + /** + * Parse Attributes + * + * See '7. File Attributes' of draft-ietf-secsh-filexfer-13 for more info. + * + * @param string $response + * @return array + * @access private + */ + function _parseAttributes(&$response) + { + $attr = array(); + if (strlen($response) < 4) { + user_error('Malformed file attributes'); + return array(); + } + extract(unpack('Nflags', $this->_string_shift($response, 4))); + // SFTPv4+ have a type field (a byte) that follows the above flag field + foreach ($this->attributes as $key => $value) { + switch ($flags & $key) { + case NET_SFTP_ATTR_SIZE: // 0x00000001 + // The size attribute is defined as an unsigned 64-bit integer. + // The following will use floats on 32-bit platforms, if necessary. + // As can be seen in the BigInteger class, floats are generally + // IEEE 754 binary64 "double precision" on such platforms and + // as such can represent integers of at least 2^50 without loss + // of precision. Interpreted in filesize, 2^50 bytes = 1024 TiB. + $attr['size'] = hexdec(bin2hex($this->_string_shift($response, 8))); + break; + case NET_SFTP_ATTR_UIDGID: // 0x00000002 (SFTPv3 only) + if (strlen($response) < 8) { + user_error('Malformed file attributes'); + return $attr; + } + $attr+= unpack('Nuid/Ngid', $this->_string_shift($response, 8)); + break; + case NET_SFTP_ATTR_PERMISSIONS: // 0x00000004 + if (strlen($response) < 4) { + user_error('Malformed file attributes'); + return $attr; + } + $attr+= unpack('Npermissions', $this->_string_shift($response, 4)); + // mode == permissions; permissions was the original array key and is retained for bc purposes. + // mode was added because that's the more industry standard terminology + $attr+= array('mode' => $attr['permissions']); + $fileType = $this->_parseMode($attr['permissions']); + if ($fileType !== false) { + $attr+= array('type' => $fileType); + } + break; + case NET_SFTP_ATTR_ACCESSTIME: // 0x00000008 + if (strlen($response) < 8) { + user_error('Malformed file attributes'); + return $attr; + } + $attr+= unpack('Natime/Nmtime', $this->_string_shift($response, 8)); + break; + case NET_SFTP_ATTR_EXTENDED: // 0x80000000 + if (strlen($response) < 4) { + user_error('Malformed file attributes'); + return $attr; + } + extract(unpack('Ncount', $this->_string_shift($response, 4))); + for ($i = 0; $i < $count; $i++) { + if (strlen($response) < 4) { + user_error('Malformed file attributes'); + return $attr; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $key = $this->_string_shift($response, $length); + if (strlen($response) < 4) { + user_error('Malformed file attributes'); + return $attr; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $attr[$key] = $this->_string_shift($response, $length); + } + } + } + return $attr; + } + + /** + * Attempt to identify the file type + * + * Quoting the SFTP RFC, "Implementations MUST NOT send bits that are not defined" but they seem to anyway + * + * @param int $mode + * @return int + * @access private + */ + function _parseMode($mode) + { + // values come from http://lxr.free-electrons.com/source/include/uapi/linux/stat.h#L12 + // see, also, http://linux.die.net/man/2/stat + switch ($mode & 0170000) {// ie. 1111 0000 0000 0000 + case 0000000: // no file type specified - figure out the file type using alternative means + return false; + case 0040000: + return NET_SFTP_TYPE_DIRECTORY; + case 0100000: + return NET_SFTP_TYPE_REGULAR; + case 0120000: + return NET_SFTP_TYPE_SYMLINK; + // new types introduced in SFTPv5+ + // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2 + case 0010000: // named pipe (fifo) + return NET_SFTP_TYPE_FIFO; + case 0020000: // character special + return NET_SFTP_TYPE_CHAR_DEVICE; + case 0060000: // block special + return NET_SFTP_TYPE_BLOCK_DEVICE; + case 0140000: // socket + return NET_SFTP_TYPE_SOCKET; + case 0160000: // whiteout + // "SPECIAL should be used for files that are of + // a known type which cannot be expressed in the protocol" + return NET_SFTP_TYPE_SPECIAL; + default: + return NET_SFTP_TYPE_UNKNOWN; + } + } + + /** + * Parse Longname + * + * SFTPv3 doesn't provide any easy way of identifying a file type. You could try to open + * a file as a directory and see if an error is returned or you could try to parse the + * SFTPv3-specific longname field of the SSH_FXP_NAME packet. That's what this function does. + * The result is returned using the + * {@link http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2 SFTPv4 type constants}. + * + * If the longname is in an unrecognized format bool(false) is returned. + * + * @param string $longname + * @return mixed + * @access private + */ + function _parseLongname($longname) + { + // http://en.wikipedia.org/wiki/Unix_file_types + // http://en.wikipedia.org/wiki/Filesystem_permissions#Notation_of_traditional_Unix_permissions + if (preg_match('#^[^/]([r-][w-][xstST-]){3}#', $longname)) { + switch ($longname[0]) { + case '-': + return NET_SFTP_TYPE_REGULAR; + case 'd': + return NET_SFTP_TYPE_DIRECTORY; + case 'l': + return NET_SFTP_TYPE_SYMLINK; + default: + return NET_SFTP_TYPE_SPECIAL; + } + } + + return false; + } + + /** + * Sends SFTP Packets + * + * See '6. General Packet Format' of draft-ietf-secsh-filexfer-13 for more info. + * + * @param int $type + * @param string $data + * @see self::_get_sftp_packet() + * @see self::_send_channel_packet() + * @return bool + * @access private + */ + function _send_sftp_packet($type, $data) + { + $packet = $this->request_id !== false ? + pack('NCNa*', strlen($data) + 5, $type, $this->request_id, $data) : + pack('NCa*', strlen($data) + 1, $type, $data); + + $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838 + $result = $this->_send_channel_packet(self::CHANNEL, $packet); + $stop = strtok(microtime(), ' ') + strtok(''); + + if (defined('NET_SFTP_LOGGING')) { + $packet_type = '-> ' . $this->packet_types[$type] . + ' (' . round($stop - $start, 4) . 's)'; + if (NET_SFTP_LOGGING == self::LOG_REALTIME) { + echo "
\r\n" . $this->_format_log(array($data), array($packet_type)) . "\r\n
\r\n"; + flush(); + ob_flush(); + } else { + $this->packet_type_log[] = $packet_type; + if (NET_SFTP_LOGGING == self::LOG_COMPLEX) { + $this->packet_log[] = $data; + } + } + } + + return $result; + } + + /** + * Receives SFTP Packets + * + * See '6. General Packet Format' of draft-ietf-secsh-filexfer-13 for more info. + * + * Incidentally, the number of SSH_MSG_CHANNEL_DATA messages has no bearing on the number of SFTP packets present. + * There can be one SSH_MSG_CHANNEL_DATA messages containing two SFTP packets or there can be two SSH_MSG_CHANNEL_DATA + * messages containing one SFTP packet. + * + * @see self::_send_sftp_packet() + * @return string + * @access private + */ + function _get_sftp_packet() + { + $this->curTimeout = false; + + $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838 + + // SFTP packet length + while (strlen($this->packet_buffer) < 4) { + $temp = $this->_get_channel_packet(self::CHANNEL); + if (is_bool($temp)) { + $this->packet_type = false; + $this->packet_buffer = ''; + return false; + } + $this->packet_buffer.= $temp; + } + if (strlen($this->packet_buffer) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($this->packet_buffer, 4))); + $tempLength = $length; + $tempLength-= strlen($this->packet_buffer); + + // SFTP packet type and data payload + while ($tempLength > 0) { + $temp = $this->_get_channel_packet(self::CHANNEL); + if (is_bool($temp)) { + $this->packet_type = false; + $this->packet_buffer = ''; + return false; + } + $this->packet_buffer.= $temp; + $tempLength-= strlen($temp); + } + + $stop = strtok(microtime(), ' ') + strtok(''); + + $this->packet_type = ord($this->_string_shift($this->packet_buffer)); + + if ($this->request_id !== false) { + $this->_string_shift($this->packet_buffer, 4); // remove the request id + $length-= 5; // account for the request id and the packet type + } else { + $length-= 1; // account for the packet type + } + + $packet = $this->_string_shift($this->packet_buffer, $length); + + if (defined('NET_SFTP_LOGGING')) { + $packet_type = '<- ' . $this->packet_types[$this->packet_type] . + ' (' . round($stop - $start, 4) . 's)'; + if (NET_SFTP_LOGGING == self::LOG_REALTIME) { + echo "
\r\n" . $this->_format_log(array($packet), array($packet_type)) . "\r\n
\r\n"; + flush(); + ob_flush(); + } else { + $this->packet_type_log[] = $packet_type; + if (NET_SFTP_LOGGING == self::LOG_COMPLEX) { + $this->packet_log[] = $packet; + } + } + } + + return $packet; + } + + /** + * Returns a log of the packets that have been sent and received. + * + * Returns a string if NET_SFTP_LOGGING == NET_SFTP_LOG_COMPLEX, an array if NET_SFTP_LOGGING == NET_SFTP_LOG_SIMPLE and false if !defined('NET_SFTP_LOGGING') + * + * @access public + * @return string or Array + */ + function getSFTPLog() + { + if (!defined('NET_SFTP_LOGGING')) { + return false; + } + + switch (NET_SFTP_LOGGING) { + case self::LOG_COMPLEX: + return $this->_format_log($this->packet_log, $this->packet_type_log); + break; + //case self::LOG_SIMPLE: + default: + return $this->packet_type_log; + } + } + + /** + * Returns all errors + * + * @return string + * @access public + */ + function getSFTPErrors() + { + return $this->sftp_errors; + } + + /** + * Returns the last error + * + * @return string + * @access public + */ + function getLastSFTPError() + { + return count($this->sftp_errors) ? $this->sftp_errors[count($this->sftp_errors) - 1] : ''; + } + + /** + * Get supported SFTP versions + * + * @return array + * @access public + */ + function getSupportedVersions() + { + $temp = array('version' => $this->version); + if (isset($this->extensions['versions'])) { + $temp['extensions'] = $this->extensions['versions']; + } + return $temp; + } + + /** + * Disconnect + * + * @param int $reason + * @return bool + * @access private + */ + function _disconnect($reason) + { + $this->pwd = false; + parent::_disconnect($reason); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php new file mode 100644 index 00000000..08d726ca --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php @@ -0,0 +1,795 @@ + + * @copyright 2013 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Net\SFTP; + +use phpseclib\Crypt\RSA; +use phpseclib\Net\SFTP; + +/** + * SFTP Stream Wrapper + * + * @package SFTP + * @author Jim Wigginton + * @access public + */ +class Stream +{ + /** + * SFTP instances + * + * Rather than re-create the connection we re-use instances if possible + * + * @var array + */ + static $instances; + + /** + * SFTP instance + * + * @var object + * @access private + */ + var $sftp; + + /** + * Path + * + * @var string + * @access private + */ + var $path; + + /** + * Mode + * + * @var string + * @access private + */ + var $mode; + + /** + * Position + * + * @var int + * @access private + */ + var $pos; + + /** + * Size + * + * @var int + * @access private + */ + var $size; + + /** + * Directory entries + * + * @var array + * @access private + */ + var $entries; + + /** + * EOF flag + * + * @var bool + * @access private + */ + var $eof; + + /** + * Context resource + * + * Technically this needs to be publically accessible so PHP can set it directly + * + * @var resource + * @access public + */ + var $context; + + /** + * Notification callback function + * + * @var callable + * @access public + */ + var $notification; + + /** + * Registers this class as a URL wrapper. + * + * @param string $protocol The wrapper name to be registered. + * @return bool True on success, false otherwise. + * @access public + */ + static function register($protocol = 'sftp') + { + if (in_array($protocol, stream_get_wrappers(), true)) { + return false; + } + return stream_wrapper_register($protocol, get_called_class()); + } + + /** + * The Constructor + * + * @access public + */ + function __construct() + { + if (defined('NET_SFTP_STREAM_LOGGING')) { + echo "__construct()\r\n"; + } + } + + /** + * Path Parser + * + * Extract a path from a URI and actually connect to an SSH server if appropriate + * + * If "notification" is set as a context parameter the message code for successful login is + * NET_SSH2_MSG_USERAUTH_SUCCESS. For a failed login it's NET_SSH2_MSG_USERAUTH_FAILURE. + * + * @param string $path + * @return string + * @access private + */ + function _parse_path($path) + { + $orig = $path; + extract(parse_url($path) + array('port' => 22)); + if (isset($query)) { + $path.= '?' . $query; + } elseif (preg_match('/(\?|\?#)$/', $orig)) { + $path.= '?'; + } + if (isset($fragment)) { + $path.= '#' . $fragment; + } elseif ($orig[strlen($orig) - 1] == '#') { + $path.= '#'; + } + + if (!isset($host)) { + return false; + } + + if (isset($this->context)) { + $context = stream_context_get_params($this->context); + if (isset($context['notification'])) { + $this->notification = $context['notification']; + } + } + + if ($host[0] == '$') { + $host = substr($host, 1); + global $$host; + if (($$host instanceof SFTP) === false) { + return false; + } + $this->sftp = $$host; + } else { + if (isset($this->context)) { + $context = stream_context_get_options($this->context); + } + if (isset($context[$scheme]['session'])) { + $sftp = $context[$scheme]['session']; + } + if (isset($context[$scheme]['sftp'])) { + $sftp = $context[$scheme]['sftp']; + } + if (isset($sftp) && $sftp instanceof SFTP) { + $this->sftp = $sftp; + return $path; + } + if (isset($context[$scheme]['username'])) { + $user = $context[$scheme]['username']; + } + if (isset($context[$scheme]['password'])) { + $pass = $context[$scheme]['password']; + } + if (isset($context[$scheme]['privkey']) && $context[$scheme]['privkey'] instanceof RSA) { + $pass = $context[$scheme]['privkey']; + } + + if (!isset($user) || !isset($pass)) { + return false; + } + + // casting $pass to a string is necessary in the event that it's a \phpseclib\Crypt\RSA object + if (isset(self::$instances[$host][$port][$user][(string) $pass])) { + $this->sftp = self::$instances[$host][$port][$user][(string) $pass]; + } else { + $this->sftp = new SFTP($host, $port); + $this->sftp->disableStatCache(); + if (isset($this->notification) && is_callable($this->notification)) { + /* if !is_callable($this->notification) we could do this: + + user_error('fopen(): failed to call user notifier', E_USER_WARNING); + + the ftp wrapper gives errors like that when the notifier isn't callable. + i've opted not to do that, however, since the ftp wrapper gives the line + on which the fopen occurred as the line number - not the line that the + user_error is on. + */ + call_user_func($this->notification, STREAM_NOTIFY_CONNECT, STREAM_NOTIFY_SEVERITY_INFO, '', 0, 0, 0); + call_user_func($this->notification, STREAM_NOTIFY_AUTH_REQUIRED, STREAM_NOTIFY_SEVERITY_INFO, '', 0, 0, 0); + if (!$this->sftp->login($user, $pass)) { + call_user_func($this->notification, STREAM_NOTIFY_AUTH_RESULT, STREAM_NOTIFY_SEVERITY_ERR, 'Login Failure', NET_SSH2_MSG_USERAUTH_FAILURE, 0, 0); + return false; + } + call_user_func($this->notification, STREAM_NOTIFY_AUTH_RESULT, STREAM_NOTIFY_SEVERITY_INFO, 'Login Success', NET_SSH2_MSG_USERAUTH_SUCCESS, 0, 0); + } else { + if (!$this->sftp->login($user, $pass)) { + return false; + } + } + self::$instances[$host][$port][$user][(string) $pass] = $this->sftp; + } + } + + return $path; + } + + /** + * Opens file or URL + * + * @param string $path + * @param string $mode + * @param int $options + * @param string $opened_path + * @return bool + * @access public + */ + function _stream_open($path, $mode, $options, &$opened_path) + { + $path = $this->_parse_path($path); + + if ($path === false) { + return false; + } + $this->path = $path; + + $this->size = $this->sftp->size($path); + $this->mode = preg_replace('#[bt]$#', '', $mode); + $this->eof = false; + + if ($this->size === false) { + if ($this->mode[0] == 'r') { + return false; + } else { + $this->sftp->touch($path); + $this->size = 0; + } + } else { + switch ($this->mode[0]) { + case 'x': + return false; + case 'w': + $this->sftp->truncate($path, 0); + $this->size = 0; + } + } + + $this->pos = $this->mode[0] != 'a' ? 0 : $this->size; + + return true; + } + + /** + * Read from stream + * + * @param int $count + * @return mixed + * @access public + */ + function _stream_read($count) + { + switch ($this->mode) { + case 'w': + case 'a': + case 'x': + case 'c': + return false; + } + + // commented out because some files - eg. /dev/urandom - will say their size is 0 when in fact it's kinda infinite + //if ($this->pos >= $this->size) { + // $this->eof = true; + // return false; + //} + + $result = $this->sftp->get($this->path, false, $this->pos, $count); + if (isset($this->notification) && is_callable($this->notification)) { + if ($result === false) { + call_user_func($this->notification, STREAM_NOTIFY_FAILURE, STREAM_NOTIFY_SEVERITY_ERR, $this->sftp->getLastSFTPError(), NET_SFTP_OPEN, 0, 0); + return 0; + } + // seems that PHP calls stream_read in 8k chunks + call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($result), $this->size); + } + + if (empty($result)) { // ie. false or empty string + $this->eof = true; + return false; + } + $this->pos+= strlen($result); + + return $result; + } + + /** + * Write to stream + * + * @param string $data + * @return mixed + * @access public + */ + function _stream_write($data) + { + switch ($this->mode) { + case 'r': + return false; + } + + $result = $this->sftp->put($this->path, $data, SFTP::SOURCE_STRING, $this->pos); + if (isset($this->notification) && is_callable($this->notification)) { + if (!$result) { + call_user_func($this->notification, STREAM_NOTIFY_FAILURE, STREAM_NOTIFY_SEVERITY_ERR, $this->sftp->getLastSFTPError(), NET_SFTP_OPEN, 0, 0); + return 0; + } + // seems that PHP splits up strings into 8k blocks before calling stream_write + call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($data), strlen($data)); + } + + if ($result === false) { + return false; + } + $this->pos+= strlen($data); + if ($this->pos > $this->size) { + $this->size = $this->pos; + } + $this->eof = false; + return strlen($data); + } + + /** + * Retrieve the current position of a stream + * + * @return int + * @access public + */ + function _stream_tell() + { + return $this->pos; + } + + /** + * Tests for end-of-file on a file pointer + * + * In my testing there are four classes functions that normally effect the pointer: + * fseek, fputs / fwrite, fgets / fread and ftruncate. + * + * Only fgets / fread, however, results in feof() returning true. do fputs($fp, 'aaa') on a blank file and feof() + * will return false. do fread($fp, 1) and feof() will then return true. do fseek($fp, 10) on ablank file and feof() + * will return false. do fread($fp, 1) and feof() will then return true. + * + * @return bool + * @access public + */ + function _stream_eof() + { + return $this->eof; + } + + /** + * Seeks to specific location in a stream + * + * @param int $offset + * @param int $whence + * @return bool + * @access public + */ + function _stream_seek($offset, $whence) + { + switch ($whence) { + case SEEK_SET: + if ($offset >= $this->size || $offset < 0) { + return false; + } + break; + case SEEK_CUR: + $offset+= $this->pos; + break; + case SEEK_END: + $offset+= $this->size; + } + + $this->pos = $offset; + $this->eof = false; + return true; + } + + /** + * Change stream options + * + * @param string $path + * @param int $option + * @param mixed $var + * @return bool + * @access public + */ + function _stream_metadata($path, $option, $var) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + + // stream_metadata was introduced in PHP 5.4.0 but as of 5.4.11 the constants haven't been defined + // see http://www.php.net/streamwrapper.stream-metadata and https://bugs.php.net/64246 + // and https://github.com/php/php-src/blob/master/main/php_streams.h#L592 + switch ($option) { + case 1: // PHP_STREAM_META_TOUCH + return $this->sftp->touch($path, $var[0], $var[1]); + case 2: // PHP_STREAM_OWNER_NAME + case 3: // PHP_STREAM_GROUP_NAME + return false; + case 4: // PHP_STREAM_META_OWNER + return $this->sftp->chown($path, $var); + case 5: // PHP_STREAM_META_GROUP + return $this->sftp->chgrp($path, $var); + case 6: // PHP_STREAM_META_ACCESS + return $this->sftp->chmod($path, $var) !== false; + } + } + + /** + * Retrieve the underlaying resource + * + * @param int $cast_as + * @return resource + * @access public + */ + function _stream_cast($cast_as) + { + return $this->sftp->fsock; + } + + /** + * Advisory file locking + * + * @param int $operation + * @return bool + * @access public + */ + function _stream_lock($operation) + { + return false; + } + + /** + * Renames a file or directory + * + * Attempts to rename oldname to newname, moving it between directories if necessary. + * If newname exists, it will be overwritten. This is a departure from what \phpseclib\Net\SFTP + * does. + * + * @param string $path_from + * @param string $path_to + * @return bool + * @access public + */ + function _rename($path_from, $path_to) + { + $path1 = parse_url($path_from); + $path2 = parse_url($path_to); + unset($path1['path'], $path2['path']); + if ($path1 != $path2) { + return false; + } + + $path_from = $this->_parse_path($path_from); + $path_to = parse_url($path_to); + if ($path_from === false) { + return false; + } + + $path_to = $path_to['path']; // the $component part of parse_url() was added in PHP 5.1.2 + // "It is an error if there already exists a file with the name specified by newpath." + // -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-6.5 + if (!$this->sftp->rename($path_from, $path_to)) { + if ($this->sftp->stat($path_to)) { + return $this->sftp->delete($path_to, true) && $this->sftp->rename($path_from, $path_to); + } + return false; + } + + return true; + } + + /** + * Open directory handle + * + * The only $options is "whether or not to enforce safe_mode (0x04)". Since safe mode was deprecated in 5.3 and + * removed in 5.4 I'm just going to ignore it. + * + * Also, nlist() is the best that this function is realistically going to be able to do. When an SFTP client + * sends a SSH_FXP_READDIR packet you don't generally get info on just one file but on multiple files. Quoting + * the SFTP specs: + * + * The SSH_FXP_NAME response has the following format: + * + * uint32 id + * uint32 count + * repeats count times: + * string filename + * string longname + * ATTRS attrs + * + * @param string $path + * @param int $options + * @return bool + * @access public + */ + function _dir_opendir($path, $options) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + $this->pos = 0; + $this->entries = $this->sftp->nlist($path); + return $this->entries !== false; + } + + /** + * Read entry from directory handle + * + * @return mixed + * @access public + */ + function _dir_readdir() + { + if (isset($this->entries[$this->pos])) { + return $this->entries[$this->pos++]; + } + return false; + } + + /** + * Rewind directory handle + * + * @return bool + * @access public + */ + function _dir_rewinddir() + { + $this->pos = 0; + return true; + } + + /** + * Close directory handle + * + * @return bool + * @access public + */ + function _dir_closedir() + { + return true; + } + + /** + * Create a directory + * + * Only valid $options is STREAM_MKDIR_RECURSIVE + * + * @param string $path + * @param int $mode + * @param int $options + * @return bool + * @access public + */ + function _mkdir($path, $mode, $options) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + + return $this->sftp->mkdir($path, $mode, $options & STREAM_MKDIR_RECURSIVE); + } + + /** + * Removes a directory + * + * Only valid $options is STREAM_MKDIR_RECURSIVE per , however, + * does not have a $recursive parameter as mkdir() does so I don't know how + * STREAM_MKDIR_RECURSIVE is supposed to be set. Also, when I try it out with rmdir() I get 8 as + * $options. What does 8 correspond to? + * + * @param string $path + * @param int $mode + * @param int $options + * @return bool + * @access public + */ + function _rmdir($path, $options) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + + return $this->sftp->rmdir($path); + } + + /** + * Flushes the output + * + * See . Always returns true because \phpseclib\Net\SFTP doesn't cache stuff before writing + * + * @return bool + * @access public + */ + function _stream_flush() + { + return true; + } + + /** + * Retrieve information about a file resource + * + * @return mixed + * @access public + */ + function _stream_stat() + { + $results = $this->sftp->stat($this->path); + if ($results === false) { + return false; + } + return $results; + } + + /** + * Delete a file + * + * @param string $path + * @return bool + * @access public + */ + function _unlink($path) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + + return $this->sftp->delete($path, false); + } + + /** + * Retrieve information about a file + * + * Ignores the STREAM_URL_STAT_QUIET flag because the entirety of \phpseclib\Net\SFTP\Stream is quiet by default + * might be worthwhile to reconstruct bits 12-16 (ie. the file type) if mode doesn't have them but we'll + * cross that bridge when and if it's reached + * + * @param string $path + * @param int $flags + * @return mixed + * @access public + */ + function _url_stat($path, $flags) + { + $path = $this->_parse_path($path); + if ($path === false) { + return false; + } + + $results = $flags & STREAM_URL_STAT_LINK ? $this->sftp->lstat($path) : $this->sftp->stat($path); + if ($results === false) { + return false; + } + + return $results; + } + + /** + * Truncate stream + * + * @param int $new_size + * @return bool + * @access public + */ + function _stream_truncate($new_size) + { + if (!$this->sftp->truncate($this->path, $new_size)) { + return false; + } + + $this->eof = false; + $this->size = $new_size; + + return true; + } + + /** + * Change stream options + * + * STREAM_OPTION_WRITE_BUFFER isn't supported for the same reason stream_flush isn't. + * The other two aren't supported because of limitations in \phpseclib\Net\SFTP. + * + * @param int $option + * @param int $arg1 + * @param int $arg2 + * @return bool + * @access public + */ + function _stream_set_option($option, $arg1, $arg2) + { + return false; + } + + /** + * Close an resource + * + * @access public + */ + function _stream_close() + { + } + + /** + * __call Magic Method + * + * When you're utilizing an SFTP stream you're not calling the methods in this class directly - PHP is calling them for you. + * Which kinda begs the question... what methods is PHP calling and what parameters is it passing to them? This function + * lets you figure that out. + * + * If NET_SFTP_STREAM_LOGGING is defined all calls will be output on the screen and then (regardless of whether or not + * NET_SFTP_STREAM_LOGGING is enabled) the parameters will be passed through to the appropriate method. + * + * @param string + * @param array + * @return mixed + * @access public + */ + function __call($name, $arguments) + { + if (defined('NET_SFTP_STREAM_LOGGING')) { + echo $name . '('; + $last = count($arguments) - 1; + foreach ($arguments as $i => $argument) { + var_export($argument); + if ($i != $last) { + echo ','; + } + } + echo ")\r\n"; + } + $name = '_' . $name; + if (!method_exists($this, $name)) { + return false; + } + return call_user_func_array(array($this, $name), $arguments); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php new file mode 100644 index 00000000..9e608f4b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH1.php @@ -0,0 +1,1642 @@ + + * login('username', 'password')) { + * exit('Login Failed'); + * } + * + * echo $ssh->exec('ls -la'); + * ?> + * + * + * Here's another short example: + * + * login('username', 'password')) { + * exit('Login Failed'); + * } + * + * echo $ssh->read('username@username:~$'); + * $ssh->write("ls -la\n"); + * echo $ssh->read('username@username:~$'); + * ?> + * + * + * More information on the SSHv1 specification can be found by reading + * {@link http://www.snailbook.com/docs/protocol-1.5.txt protocol-1.5.txt}. + * + * @category Net + * @package SSH1 + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Net; + +use phpseclib\Crypt\DES; +use phpseclib\Crypt\Random; +use phpseclib\Crypt\TripleDES; +use phpseclib\Math\BigInteger; + +/** + * Pure-PHP implementation of SSHv1. + * + * @package SSH1 + * @author Jim Wigginton + * @access public + */ +class SSH1 +{ + /**#@+ + * Encryption Methods + * + * @see \phpseclib\Net\SSH1::getSupportedCiphers() + * @access public + */ + /** + * No encryption + * + * Not supported. + */ + const CIPHER_NONE = 0; + /** + * IDEA in CFB mode + * + * Not supported. + */ + const CIPHER_IDEA = 1; + /** + * DES in CBC mode + */ + const CIPHER_DES = 2; + /** + * Triple-DES in CBC mode + * + * All implementations are required to support this + */ + const CIPHER_3DES = 3; + /** + * TRI's Simple Stream encryption CBC + * + * Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, does define it (see cipher.h), + * although it doesn't use it (see cipher.c) + */ + const CIPHER_BROKEN_TSS = 4; + /** + * RC4 + * + * Not supported. + * + * @internal According to the SSH1 specs: + * + * "The first 16 bytes of the session key are used as the key for + * the server to client direction. The remaining 16 bytes are used + * as the key for the client to server direction. This gives + * independent 128-bit keys for each direction." + * + * This library currently only supports encryption when the same key is being used for both directions. This is + * because there's only one $crypto object. Two could be added ($encrypt and $decrypt, perhaps). + */ + const CIPHER_RC4 = 5; + /** + * Blowfish + * + * Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, defines it (see cipher.h) and + * uses it (see cipher.c) + */ + const CIPHER_BLOWFISH = 6; + /**#@-*/ + + /**#@+ + * Authentication Methods + * + * @see \phpseclib\Net\SSH1::getSupportedAuthentications() + * @access public + */ + /** + * .rhosts or /etc/hosts.equiv + */ + const AUTH_RHOSTS = 1; + /** + * pure RSA authentication + */ + const AUTH_RSA = 2; + /** + * password authentication + * + * This is the only method that is supported by this library. + */ + const AUTH_PASSWORD = 3; + /** + * .rhosts with RSA host authentication + */ + const AUTH_RHOSTS_RSA = 4; + /**#@-*/ + + /**#@+ + * Terminal Modes + * + * @link http://3sp.com/content/developer/maverick-net/docs/Maverick.SSH.PseudoTerminalModesMembers.html + * @access private + */ + const TTY_OP_END = 0; + /**#@-*/ + + /** + * The Response Type + * + * @see \phpseclib\Net\SSH1::_get_binary_packet() + * @access private + */ + const RESPONSE_TYPE = 1; + + /** + * The Response Data + * + * @see \phpseclib\Net\SSH1::_get_binary_packet() + * @access private + */ + const RESPONSE_DATA = 2; + + /**#@+ + * Execution Bitmap Masks + * + * @see \phpseclib\Net\SSH1::bitmap + * @access private + */ + const MASK_CONSTRUCTOR = 0x00000001; + const MASK_CONNECTED = 0x00000002; + const MASK_LOGIN = 0x00000004; + const MASK_SHELL = 0x00000008; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Net\SSH1::getLog() + */ + /** + * Returns the message numbers + */ + const LOG_SIMPLE = 1; + /** + * Returns the message content + */ + const LOG_COMPLEX = 2; + /** + * Outputs the content real-time + */ + const LOG_REALTIME = 3; + /** + * Dumps the content real-time to a file + */ + const LOG_REALTIME_FILE = 4; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Net\SSH1::read() + */ + /** + * Returns when a string matching $expect exactly is found + */ + const READ_SIMPLE = 1; + /** + * Returns when a string matching the regular expression $expect is found + */ + const READ_REGEX = 2; + /**#@-*/ + + /** + * The SSH identifier + * + * @var string + * @access private + */ + var $identifier = 'SSH-1.5-phpseclib'; + + /** + * The Socket Object + * + * @var object + * @access private + */ + var $fsock; + + /** + * The cryptography object + * + * @var object + * @access private + */ + var $crypto = false; + + /** + * Execution Bitmap + * + * The bits that are set represent functions that have been called already. This is used to determine + * if a requisite function has been successfully executed. If not, an error should be thrown. + * + * @var int + * @access private + */ + var $bitmap = 0; + + /** + * The Server Key Public Exponent + * + * Logged for debug purposes + * + * @see self::getServerKeyPublicExponent() + * @var string + * @access private + */ + var $server_key_public_exponent; + + /** + * The Server Key Public Modulus + * + * Logged for debug purposes + * + * @see self::getServerKeyPublicModulus() + * @var string + * @access private + */ + var $server_key_public_modulus; + + /** + * The Host Key Public Exponent + * + * Logged for debug purposes + * + * @see self::getHostKeyPublicExponent() + * @var string + * @access private + */ + var $host_key_public_exponent; + + /** + * The Host Key Public Modulus + * + * Logged for debug purposes + * + * @see self::getHostKeyPublicModulus() + * @var string + * @access private + */ + var $host_key_public_modulus; + + /** + * Supported Ciphers + * + * Logged for debug purposes + * + * @see self::getSupportedCiphers() + * @var array + * @access private + */ + var $supported_ciphers = array( + self::CIPHER_NONE => 'No encryption', + self::CIPHER_IDEA => 'IDEA in CFB mode', + self::CIPHER_DES => 'DES in CBC mode', + self::CIPHER_3DES => 'Triple-DES in CBC mode', + self::CIPHER_BROKEN_TSS => 'TRI\'s Simple Stream encryption CBC', + self::CIPHER_RC4 => 'RC4', + self::CIPHER_BLOWFISH => 'Blowfish' + ); + + /** + * Supported Authentications + * + * Logged for debug purposes + * + * @see self::getSupportedAuthentications() + * @var array + * @access private + */ + var $supported_authentications = array( + self::AUTH_RHOSTS => '.rhosts or /etc/hosts.equiv', + self::AUTH_RSA => 'pure RSA authentication', + self::AUTH_PASSWORD => 'password authentication', + self::AUTH_RHOSTS_RSA => '.rhosts with RSA host authentication' + ); + + /** + * Server Identification + * + * @see self::getServerIdentification() + * @var string + * @access private + */ + var $server_identification = ''; + + /** + * Protocol Flags + * + * @see self::__construct() + * @var array + * @access private + */ + var $protocol_flags = array(); + + /** + * Protocol Flag Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $protocol_flag_log = array(); + + /** + * Message Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $message_log = array(); + + /** + * Real-time log file pointer + * + * @see self::_append_log() + * @var resource + * @access private + */ + var $realtime_log_file; + + /** + * Real-time log file size + * + * @see self::_append_log() + * @var int + * @access private + */ + var $realtime_log_size; + + /** + * Real-time log file wrap boolean + * + * @see self::_append_log() + * @var bool + * @access private + */ + var $realtime_log_wrap; + + /** + * Interactive Buffer + * + * @see self::read() + * @var array + * @access private + */ + var $interactiveBuffer = ''; + + /** + * Timeout + * + * @see self::setTimeout() + * @access private + */ + var $timeout; + + /** + * Current Timeout + * + * @see self::_get_channel_packet() + * @access private + */ + var $curTimeout; + + /** + * Log Boundary + * + * @see self::_format_log() + * @access private + */ + var $log_boundary = ':'; + + /** + * Log Long Width + * + * @see self::_format_log() + * @access private + */ + var $log_long_width = 65; + + /** + * Log Short Width + * + * @see self::_format_log() + * @access private + */ + var $log_short_width = 16; + + /** + * Hostname + * + * @see self::__construct() + * @see self::_connect() + * @var string + * @access private + */ + var $host; + + /** + * Port Number + * + * @see self::__construct() + * @see self::_connect() + * @var int + * @access private + */ + var $port; + + /** + * Timeout for initial connection + * + * Set by the constructor call. Calling setTimeout() is optional. If it's not called functions like + * exec() won't timeout unless some PHP setting forces it too. The timeout specified in the constructor, + * however, is non-optional. There will be a timeout, whether or not you set it. If you don't it'll be + * 10 seconds. It is used by fsockopen() in that function. + * + * @see self::__construct() + * @see self::_connect() + * @var int + * @access private + */ + var $connectionTimeout; + + /** + * Default cipher + * + * @see self::__construct() + * @see self::_connect() + * @var int + * @access private + */ + var $cipher; + + /** + * Default Constructor. + * + * Connects to an SSHv1 server + * + * @param string $host + * @param int $port + * @param int $timeout + * @param int $cipher + * @return \phpseclib\Net\SSH1 + * @access public + */ + function __construct($host, $port = 22, $timeout = 10, $cipher = self::CIPHER_3DES) + { + $this->protocol_flags = array( + 1 => 'NET_SSH1_MSG_DISCONNECT', + 2 => 'NET_SSH1_SMSG_PUBLIC_KEY', + 3 => 'NET_SSH1_CMSG_SESSION_KEY', + 4 => 'NET_SSH1_CMSG_USER', + 9 => 'NET_SSH1_CMSG_AUTH_PASSWORD', + 10 => 'NET_SSH1_CMSG_REQUEST_PTY', + 12 => 'NET_SSH1_CMSG_EXEC_SHELL', + 13 => 'NET_SSH1_CMSG_EXEC_CMD', + 14 => 'NET_SSH1_SMSG_SUCCESS', + 15 => 'NET_SSH1_SMSG_FAILURE', + 16 => 'NET_SSH1_CMSG_STDIN_DATA', + 17 => 'NET_SSH1_SMSG_STDOUT_DATA', + 18 => 'NET_SSH1_SMSG_STDERR_DATA', + 19 => 'NET_SSH1_CMSG_EOF', + 20 => 'NET_SSH1_SMSG_EXITSTATUS', + 33 => 'NET_SSH1_CMSG_EXIT_CONFIRMATION' + ); + + $this->_define_array($this->protocol_flags); + + $this->host = $host; + $this->port = $port; + $this->connectionTimeout = $timeout; + $this->cipher = $cipher; + } + + /** + * Connect to an SSHv1 server + * + * @return bool + * @access private + */ + function _connect() + { + $this->fsock = @fsockopen($this->host, $this->port, $errno, $errstr, $this->connectionTimeout); + if (!$this->fsock) { + user_error(rtrim("Cannot connect to {$this->host}:{$this->port}. Error $errno. $errstr")); + return false; + } + + $this->server_identification = $init_line = fgets($this->fsock, 255); + + if (defined('NET_SSH1_LOGGING')) { + $this->_append_log('<-', $this->server_identification); + $this->_append_log('->', $this->identifier . "\r\n"); + } + + if (!preg_match('#SSH-([0-9\.]+)-(.+)#', $init_line, $parts)) { + user_error('Can only connect to SSH servers'); + return false; + } + if ($parts[1][0] != 1) { + user_error("Cannot connect to SSH $parts[1] servers"); + return false; + } + + fputs($this->fsock, $this->identifier."\r\n"); + + $response = $this->_get_binary_packet(); + if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_PUBLIC_KEY) { + user_error('Expected SSH_SMSG_PUBLIC_KEY'); + return false; + } + + $anti_spoofing_cookie = $this->_string_shift($response[self::RESPONSE_DATA], 8); + + $this->_string_shift($response[self::RESPONSE_DATA], 4); + + if (strlen($response[self::RESPONSE_DATA]) < 2) { + return false; + } + $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2)); + $server_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256); + $this->server_key_public_exponent = $server_key_public_exponent; + + if (strlen($response[self::RESPONSE_DATA]) < 2) { + return false; + } + $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2)); + $server_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256); + + $this->server_key_public_modulus = $server_key_public_modulus; + + $this->_string_shift($response[self::RESPONSE_DATA], 4); + + if (strlen($response[self::RESPONSE_DATA]) < 2) { + return false; + } + $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2)); + $host_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256); + $this->host_key_public_exponent = $host_key_public_exponent; + + if (strlen($response[self::RESPONSE_DATA]) < 2) { + return false; + } + $temp = unpack('nlen', $this->_string_shift($response[self::RESPONSE_DATA], 2)); + $host_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ceil($temp['len'] / 8)), 256); + + $this->host_key_public_modulus = $host_key_public_modulus; + + $this->_string_shift($response[self::RESPONSE_DATA], 4); + + // get a list of the supported ciphers + if (strlen($response[self::RESPONSE_DATA]) < 4) { + return false; + } + extract(unpack('Nsupported_ciphers_mask', $this->_string_shift($response[self::RESPONSE_DATA], 4))); + + foreach ($this->supported_ciphers as $mask => $name) { + if (($supported_ciphers_mask & (1 << $mask)) == 0) { + unset($this->supported_ciphers[$mask]); + } + } + + // get a list of the supported authentications + if (strlen($response[self::RESPONSE_DATA]) < 4) { + return false; + } + extract(unpack('Nsupported_authentications_mask', $this->_string_shift($response[self::RESPONSE_DATA], 4))); + foreach ($this->supported_authentications as $mask => $name) { + if (($supported_authentications_mask & (1 << $mask)) == 0) { + unset($this->supported_authentications[$mask]); + } + } + + $session_id = pack('H*', md5($host_key_public_modulus->toBytes() . $server_key_public_modulus->toBytes() . $anti_spoofing_cookie)); + + $session_key = Random::string(32); + $double_encrypted_session_key = $session_key ^ str_pad($session_id, 32, chr(0)); + + if ($server_key_public_modulus->compare($host_key_public_modulus) < 0) { + $double_encrypted_session_key = $this->_rsa_crypt( + $double_encrypted_session_key, + array( + $server_key_public_exponent, + $server_key_public_modulus + ) + ); + $double_encrypted_session_key = $this->_rsa_crypt( + $double_encrypted_session_key, + array( + $host_key_public_exponent, + $host_key_public_modulus + ) + ); + } else { + $double_encrypted_session_key = $this->_rsa_crypt( + $double_encrypted_session_key, + array( + $host_key_public_exponent, + $host_key_public_modulus + ) + ); + $double_encrypted_session_key = $this->_rsa_crypt( + $double_encrypted_session_key, + array( + $server_key_public_exponent, + $server_key_public_modulus + ) + ); + } + + $cipher = isset($this->supported_ciphers[$this->cipher]) ? $this->cipher : self::CIPHER_3DES; + $data = pack('C2a*na*N', NET_SSH1_CMSG_SESSION_KEY, $cipher, $anti_spoofing_cookie, 8 * strlen($double_encrypted_session_key), $double_encrypted_session_key, 0); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_SESSION_KEY'); + return false; + } + + switch ($cipher) { + //case self::CIPHER_NONE: + // $this->crypto = new \phpseclib\Crypt\Null(); + // break; + case self::CIPHER_DES: + $this->crypto = new DES(); + $this->crypto->disablePadding(); + $this->crypto->enableContinuousBuffer(); + $this->crypto->setKey(substr($session_key, 0, 8)); + break; + case self::CIPHER_3DES: + $this->crypto = new TripleDES(TripleDES::MODE_3CBC); + $this->crypto->disablePadding(); + $this->crypto->enableContinuousBuffer(); + $this->crypto->setKey(substr($session_key, 0, 24)); + break; + //case self::CIPHER_RC4: + // $this->crypto = new RC4(); + // $this->crypto->enableContinuousBuffer(); + // $this->crypto->setKey(substr($session_key, 0, 16)); + // break; + } + + $response = $this->_get_binary_packet(); + + if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_SUCCESS) { + user_error('Expected SSH_SMSG_SUCCESS'); + return false; + } + + $this->bitmap = self::MASK_CONNECTED; + + return true; + } + + /** + * Login + * + * @param string $username + * @param string $password + * @return bool + * @access public + */ + function login($username, $password = '') + { + if (!($this->bitmap & self::MASK_CONSTRUCTOR)) { + $this->bitmap |= self::MASK_CONSTRUCTOR; + if (!$this->_connect()) { + return false; + } + } + + if (!($this->bitmap & self::MASK_CONNECTED)) { + return false; + } + + $data = pack('CNa*', NET_SSH1_CMSG_USER, strlen($username), $username); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_USER'); + return false; + } + + $response = $this->_get_binary_packet(); + + if ($response === true) { + return false; + } + if ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_SUCCESS) { + $this->bitmap |= self::MASK_LOGIN; + return true; + } elseif ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_FAILURE) { + user_error('Expected SSH_SMSG_SUCCESS or SSH_SMSG_FAILURE'); + return false; + } + + $data = pack('CNa*', NET_SSH1_CMSG_AUTH_PASSWORD, strlen($password), $password); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_AUTH_PASSWORD'); + return false; + } + + // remove the username and password from the last logged packet + if (defined('NET_SSH1_LOGGING') && NET_SSH1_LOGGING == self::LOG_COMPLEX) { + $data = pack('CNa*', NET_SSH1_CMSG_AUTH_PASSWORD, strlen('password'), 'password'); + $this->message_log[count($this->message_log) - 1] = $data; + } + + $response = $this->_get_binary_packet(); + + if ($response === true) { + return false; + } + if ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_SUCCESS) { + $this->bitmap |= self::MASK_LOGIN; + return true; + } elseif ($response[self::RESPONSE_TYPE] == NET_SSH1_SMSG_FAILURE) { + return false; + } else { + user_error('Expected SSH_SMSG_SUCCESS or SSH_SMSG_FAILURE'); + return false; + } + } + + /** + * Set Timeout + * + * $ssh->exec('ping 127.0.0.1'); on a Linux host will never return and will run indefinitely. setTimeout() makes it so it'll timeout. + * Setting $timeout to false or 0 will mean there is no timeout. + * + * @param mixed $timeout + */ + function setTimeout($timeout) + { + $this->timeout = $this->curTimeout = $timeout; + } + + /** + * Executes a command on a non-interactive shell, returns the output, and quits. + * + * An SSH1 server will close the connection after a command has been executed on a non-interactive shell. SSH2 + * servers don't, however, this isn't an SSH2 client. The way this works, on the server, is by initiating a + * shell with the -s option, as discussed in the following links: + * + * {@link http://www.faqs.org/docs/bashman/bashref_65.html http://www.faqs.org/docs/bashman/bashref_65.html} + * {@link http://www.faqs.org/docs/bashman/bashref_62.html http://www.faqs.org/docs/bashman/bashref_62.html} + * + * To execute further commands, a new \phpseclib\Net\SSH1 object will need to be created. + * + * Returns false on failure and the output, otherwise. + * + * @see self::interactiveRead() + * @see self::interactiveWrite() + * @param string $cmd + * @return mixed + * @access public + */ + function exec($cmd, $block = true) + { + if (!($this->bitmap & self::MASK_LOGIN)) { + user_error('Operation disallowed prior to login()'); + return false; + } + + $data = pack('CNa*', NET_SSH1_CMSG_EXEC_CMD, strlen($cmd), $cmd); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_EXEC_CMD'); + return false; + } + + if (!$block) { + return true; + } + + $output = ''; + $response = $this->_get_binary_packet(); + + if ($response !== false) { + do { + $output.= substr($response[self::RESPONSE_DATA], 4); + $response = $this->_get_binary_packet(); + } while (is_array($response) && $response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_EXITSTATUS); + } + + $data = pack('C', NET_SSH1_CMSG_EXIT_CONFIRMATION); + + // i don't think it's really all that important if this packet gets sent or not. + $this->_send_binary_packet($data); + + fclose($this->fsock); + + // reset the execution bitmap - a new \phpseclib\Net\SSH1 object needs to be created. + $this->bitmap = 0; + + return $output; + } + + /** + * Creates an interactive shell + * + * @see self::interactiveRead() + * @see self::interactiveWrite() + * @return bool + * @access private + */ + function _initShell() + { + // connect using the sample parameters in protocol-1.5.txt. + // according to wikipedia.org's entry on text terminals, "the fundamental type of application running on a text + // terminal is a command line interpreter or shell". thus, opening a terminal session to run the shell. + $data = pack('CNa*N4C', NET_SSH1_CMSG_REQUEST_PTY, strlen('vt100'), 'vt100', 24, 80, 0, 0, self::TTY_OP_END); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_REQUEST_PTY'); + return false; + } + + $response = $this->_get_binary_packet(); + + if ($response === true) { + return false; + } + if ($response[self::RESPONSE_TYPE] != NET_SSH1_SMSG_SUCCESS) { + user_error('Expected SSH_SMSG_SUCCESS'); + return false; + } + + $data = pack('C', NET_SSH1_CMSG_EXEC_SHELL); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_EXEC_SHELL'); + return false; + } + + $this->bitmap |= self::MASK_SHELL; + + //stream_set_blocking($this->fsock, 0); + + return true; + } + + /** + * Inputs a command into an interactive shell. + * + * @see self::interactiveWrite() + * @param string $cmd + * @return bool + * @access public + */ + function write($cmd) + { + return $this->interactiveWrite($cmd); + } + + /** + * Returns the output of an interactive shell when there's a match for $expect + * + * $expect can take the form of a string literal or, if $mode == self::READ__REGEX, + * a regular expression. + * + * @see self::write() + * @param string $expect + * @param int $mode + * @return bool + * @access public + */ + function read($expect, $mode = self::READ__SIMPLE) + { + if (!($this->bitmap & self::MASK_LOGIN)) { + user_error('Operation disallowed prior to login()'); + return false; + } + + if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) { + user_error('Unable to initiate an interactive shell session'); + return false; + } + + $match = $expect; + while (true) { + if ($mode == self::READ__REGEX) { + preg_match($expect, $this->interactiveBuffer, $matches); + $match = isset($matches[0]) ? $matches[0] : ''; + } + $pos = strlen($match) ? strpos($this->interactiveBuffer, $match) : false; + if ($pos !== false) { + return $this->_string_shift($this->interactiveBuffer, $pos + strlen($match)); + } + $response = $this->_get_binary_packet(); + + if ($response === true) { + return $this->_string_shift($this->interactiveBuffer, strlen($this->interactiveBuffer)); + } + $this->interactiveBuffer.= substr($response[self::RESPONSE_DATA], 4); + } + } + + /** + * Inputs a command into an interactive shell. + * + * @see self::interactiveRead() + * @param string $cmd + * @return bool + * @access public + */ + function interactiveWrite($cmd) + { + if (!($this->bitmap & self::MASK_LOGIN)) { + user_error('Operation disallowed prior to login()'); + return false; + } + + if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) { + user_error('Unable to initiate an interactive shell session'); + return false; + } + + $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($cmd), $cmd); + + if (!$this->_send_binary_packet($data)) { + user_error('Error sending SSH_CMSG_STDIN'); + return false; + } + + return true; + } + + /** + * Returns the output of an interactive shell when no more output is available. + * + * Requires PHP 4.3.0 or later due to the use of the stream_select() function. If you see stuff like + * "^[[00m", you're seeing ANSI escape codes. According to + * {@link http://support.microsoft.com/kb/101875 How to Enable ANSI.SYS in a Command Window}, "Windows NT + * does not support ANSI escape sequences in Win32 Console applications", so if you're a Windows user, + * there's not going to be much recourse. + * + * @see self::interactiveRead() + * @return string + * @access public + */ + function interactiveRead() + { + if (!($this->bitmap & self::MASK_LOGIN)) { + user_error('Operation disallowed prior to login()'); + return false; + } + + if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) { + user_error('Unable to initiate an interactive shell session'); + return false; + } + + $read = array($this->fsock); + $write = $except = null; + if (stream_select($read, $write, $except, 0)) { + $response = $this->_get_binary_packet(); + return substr($response[self::RESPONSE_DATA], 4); + } else { + return ''; + } + } + + /** + * Disconnect + * + * @access public + */ + function disconnect() + { + $this->_disconnect(); + } + + /** + * Destructor. + * + * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call + * disconnect(). + * + * @access public + */ + function __destruct() + { + $this->_disconnect(); + } + + /** + * Disconnect + * + * @param string $msg + * @access private + */ + function _disconnect($msg = 'Client Quit') + { + if ($this->bitmap) { + $data = pack('C', NET_SSH1_CMSG_EOF); + $this->_send_binary_packet($data); + /* + $response = $this->_get_binary_packet(); + if ($response === true) { + $response = array(self::RESPONSE_TYPE => -1); + } + switch ($response[self::RESPONSE_TYPE]) { + case NET_SSH1_SMSG_EXITSTATUS: + $data = pack('C', NET_SSH1_CMSG_EXIT_CONFIRMATION); + break; + default: + $data = pack('CNa*', NET_SSH1_MSG_DISCONNECT, strlen($msg), $msg); + } + */ + $data = pack('CNa*', NET_SSH1_MSG_DISCONNECT, strlen($msg), $msg); + + $this->_send_binary_packet($data); + fclose($this->fsock); + $this->bitmap = 0; + } + } + + /** + * Gets Binary Packets + * + * See 'The Binary Packet Protocol' of protocol-1.5.txt for more info. + * + * Also, this function could be improved upon by adding detection for the following exploit: + * http://www.securiteam.com/securitynews/5LP042K3FY.html + * + * @see self::_send_binary_packet() + * @return array + * @access private + */ + function _get_binary_packet() + { + if (feof($this->fsock)) { + //user_error('connection closed prematurely'); + return false; + } + + if ($this->curTimeout) { + $read = array($this->fsock); + $write = $except = null; + + $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838 + $sec = floor($this->curTimeout); + $usec = 1000000 * ($this->curTimeout - $sec); + // on windows this returns a "Warning: Invalid CRT parameters detected" error + if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) { + //$this->_disconnect('Timeout'); + return true; + } + $elapsed = strtok(microtime(), ' ') + strtok('') - $start; + $this->curTimeout-= $elapsed; + } + + $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838 + $data = fread($this->fsock, 4); + if (strlen($data) < 4) { + return false; + } + $temp = unpack('Nlength', $data); + + $padding_length = 8 - ($temp['length'] & 7); + $length = $temp['length'] + $padding_length; + $raw = ''; + + while ($length > 0) { + $temp = fread($this->fsock, $length); + $raw.= $temp; + $length-= strlen($temp); + } + $stop = strtok(microtime(), ' ') + strtok(''); + + if (strlen($raw) && $this->crypto !== false) { + $raw = $this->crypto->decrypt($raw); + } + + $padding = substr($raw, 0, $padding_length); + $type = $raw[$padding_length]; + $data = substr($raw, $padding_length + 1, -4); + + if (strlen($raw) < 4) { + return false; + } + $temp = unpack('Ncrc', substr($raw, -4)); + + //if ( $temp['crc'] != $this->_crc($padding . $type . $data) ) { + // user_error('Bad CRC in packet from server'); + // return false; + //} + + $type = ord($type); + + if (defined('NET_SSH1_LOGGING')) { + $temp = isset($this->protocol_flags[$type]) ? $this->protocol_flags[$type] : 'UNKNOWN'; + $temp = '<- ' . $temp . + ' (' . round($stop - $start, 4) . 's)'; + $this->_append_log($temp, $data); + } + + return array( + self::RESPONSE_TYPE => $type, + self::RESPONSE_DATA => $data + ); + } + + /** + * Sends Binary Packets + * + * Returns true on success, false on failure. + * + * @see self::_get_binary_packet() + * @param string $data + * @return bool + * @access private + */ + function _send_binary_packet($data) + { + if (feof($this->fsock)) { + //user_error('connection closed prematurely'); + return false; + } + + $length = strlen($data) + 4; + + $padding = Random::string(8 - ($length & 7)); + + $orig = $data; + $data = $padding . $data; + $data.= pack('N', $this->_crc($data)); + + if ($this->crypto !== false) { + $data = $this->crypto->encrypt($data); + } + + $packet = pack('Na*', $length, $data); + + $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838 + $result = strlen($packet) == fputs($this->fsock, $packet); + $stop = strtok(microtime(), ' ') + strtok(''); + + if (defined('NET_SSH1_LOGGING')) { + $temp = isset($this->protocol_flags[ord($orig[0])]) ? $this->protocol_flags[ord($orig[0])] : 'UNKNOWN'; + $temp = '-> ' . $temp . + ' (' . round($stop - $start, 4) . 's)'; + $this->_append_log($temp, $orig); + } + + return $result; + } + + /** + * Cyclic Redundancy Check (CRC) + * + * PHP's crc32 function is implemented slightly differently than the one that SSH v1 uses, so + * we've reimplemented it. A more detailed discussion of the differences can be found after + * $crc_lookup_table's initialization. + * + * @see self::_get_binary_packet() + * @see self::_send_binary_packet() + * @param string $data + * @return int + * @access private + */ + function _crc($data) + { + static $crc_lookup_table = array( + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, + 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, + 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, + 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, + 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, + 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, + 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, + 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, + 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, + 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, + 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, + 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, + 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, + 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, + 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, + 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, + 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, + 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, + 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, + 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, + 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, + 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, + 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, + 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, + 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, + 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, + 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, + 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, + 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, + 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, + 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, + 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, + 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, + 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, + 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, + 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, + 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, + 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, + 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, + 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, + 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, + 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, + 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, + 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D + ); + + // For this function to yield the same output as PHP's crc32 function, $crc would have to be + // set to 0xFFFFFFFF, initially - not 0x00000000 as it currently is. + $crc = 0x00000000; + $length = strlen($data); + + for ($i=0; $i<$length; $i++) { + // We AND $crc >> 8 with 0x00FFFFFF because we want the eight newly added bits to all + // be zero. PHP, unfortunately, doesn't always do this. 0x80000000 >> 8, as an example, + // yields 0xFF800000 - not 0x00800000. The following link elaborates: + // http://www.php.net/manual/en/language.operators.bitwise.php#57281 + $crc = (($crc >> 8) & 0x00FFFFFF) ^ $crc_lookup_table[($crc & 0xFF) ^ ord($data[$i])]; + } + + // In addition to having to set $crc to 0xFFFFFFFF, initially, the return value must be XOR'd with + // 0xFFFFFFFF for this function to return the same thing that PHP's crc32 function would. + return $crc; + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @return string + * @access private + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } + + /** + * RSA Encrypt + * + * Returns mod(pow($m, $e), $n), where $n should be the product of two (large) primes $p and $q and where $e + * should be a number with the property that gcd($e, ($p - 1) * ($q - 1)) == 1. Could just make anything that + * calls this call modexp, instead, but I think this makes things clearer, maybe... + * + * @see self::__construct() + * @param BigInteger $m + * @param array $key + * @return BigInteger + * @access private + */ + function _rsa_crypt($m, $key) + { + /* + $rsa = new RSA(); + $rsa->loadKey($key, RSA::PUBLIC_FORMAT_RAW); + $rsa->setEncryptionMode(RSA::ENCRYPTION_PKCS1); + return $rsa->encrypt($m); + */ + + // To quote from protocol-1.5.txt: + // The most significant byte (which is only partial as the value must be + // less than the public modulus, which is never a power of two) is zero. + // + // The next byte contains the value 2 (which stands for public-key + // encrypted data in the PKCS standard [PKCS#1]). Then, there are non- + // zero random bytes to fill any unused space, a zero byte, and the data + // to be encrypted in the least significant bytes, the last byte of the + // data in the least significant byte. + + // Presumably the part of PKCS#1 they're refering to is "Section 7.2.1 Encryption Operation", + // under "7.2 RSAES-PKCS1-v1.5" and "7 Encryption schemes" of the following URL: + // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf + $modulus = $key[1]->toBytes(); + $length = strlen($modulus) - strlen($m) - 3; + $random = ''; + while (strlen($random) != $length) { + $block = Random::string($length - strlen($random)); + $block = str_replace("\x00", '', $block); + $random.= $block; + } + $temp = chr(0) . chr(2) . $random . chr(0) . $m; + + $m = new BigInteger($temp, 256); + $m = $m->modPow($key[0], $key[1]); + + return $m->toBytes(); + } + + /** + * Define Array + * + * Takes any number of arrays whose indices are integers and whose values are strings and defines a bunch of + * named constants from it, using the value as the name of the constant and the index as the value of the constant. + * If any of the constants that would be defined already exists, none of the constants will be defined. + * + * @param array $array + * @access private + */ + function _define_array() + { + $args = func_get_args(); + foreach ($args as $arg) { + foreach ($arg as $key => $value) { + if (!defined($value)) { + define($value, $key); + } else { + break 2; + } + } + } + } + + /** + * Returns a log of the packets that have been sent and received. + * + * Returns a string if NET_SSH1_LOGGING == self::LOG_COMPLEX, an array if NET_SSH1_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SSH1_LOGGING') + * + * @access public + * @return array|false|string + */ + function getLog() + { + if (!defined('NET_SSH1_LOGGING')) { + return false; + } + + switch (NET_SSH1_LOGGING) { + case self::LOG_SIMPLE: + return $this->message_number_log; + break; + case self::LOG_COMPLEX: + return $this->_format_log($this->message_log, $this->protocol_flags_log); + break; + default: + return false; + } + } + + /** + * Formats a log for printing + * + * @param array $message_log + * @param array $message_number_log + * @access private + * @return string + */ + function _format_log($message_log, $message_number_log) + { + $output = ''; + for ($i = 0; $i < count($message_log); $i++) { + $output.= $message_number_log[$i] . "\r\n"; + $current_log = $message_log[$i]; + $j = 0; + do { + if (strlen($current_log)) { + $output.= str_pad(dechex($j), 7, '0', STR_PAD_LEFT) . '0 '; + } + $fragment = $this->_string_shift($current_log, $this->log_short_width); + $hex = substr(preg_replace_callback('#.#s', array($this, '_format_log_helper'), $fragment), strlen($this->log_boundary)); + // replace non ASCII printable characters with dots + // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters + // also replace < with a . since < messes up the output on web browsers + $raw = preg_replace('#[^\x20-\x7E]|<#', '.', $fragment); + $output.= str_pad($hex, $this->log_long_width - $this->log_short_width, ' ') . $raw . "\r\n"; + $j++; + } while (strlen($current_log)); + $output.= "\r\n"; + } + + return $output; + } + + /** + * Helper function for _format_log + * + * For use with preg_replace_callback() + * + * @param array $matches + * @access private + * @return string + */ + function _format_log_helper($matches) + { + return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT); + } + + /** + * Return the server key public exponent + * + * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead, + * the raw bytes. This behavior is similar to PHP's md5() function. + * + * @param bool $raw_output + * @return string + * @access public + */ + function getServerKeyPublicExponent($raw_output = false) + { + return $raw_output ? $this->server_key_public_exponent->toBytes() : $this->server_key_public_exponent->toString(); + } + + /** + * Return the server key public modulus + * + * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead, + * the raw bytes. This behavior is similar to PHP's md5() function. + * + * @param bool $raw_output + * @return string + * @access public + */ + function getServerKeyPublicModulus($raw_output = false) + { + return $raw_output ? $this->server_key_public_modulus->toBytes() : $this->server_key_public_modulus->toString(); + } + + /** + * Return the host key public exponent + * + * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead, + * the raw bytes. This behavior is similar to PHP's md5() function. + * + * @param bool $raw_output + * @return string + * @access public + */ + function getHostKeyPublicExponent($raw_output = false) + { + return $raw_output ? $this->host_key_public_exponent->toBytes() : $this->host_key_public_exponent->toString(); + } + + /** + * Return the host key public modulus + * + * Returns, by default, the base-10 representation. If $raw_output is set to true, returns, instead, + * the raw bytes. This behavior is similar to PHP's md5() function. + * + * @param bool $raw_output + * @return string + * @access public + */ + function getHostKeyPublicModulus($raw_output = false) + { + return $raw_output ? $this->host_key_public_modulus->toBytes() : $this->host_key_public_modulus->toString(); + } + + /** + * Return a list of ciphers supported by SSH1 server. + * + * Just because a cipher is supported by an SSH1 server doesn't mean it's supported by this library. If $raw_output + * is set to true, returns, instead, an array of constants. ie. instead of array('Triple-DES in CBC mode'), you'll + * get array(self::CIPHER_3DES). + * + * @param bool $raw_output + * @return array + * @access public + */ + function getSupportedCiphers($raw_output = false) + { + return $raw_output ? array_keys($this->supported_ciphers) : array_values($this->supported_ciphers); + } + + /** + * Return a list of authentications supported by SSH1 server. + * + * Just because a cipher is supported by an SSH1 server doesn't mean it's supported by this library. If $raw_output + * is set to true, returns, instead, an array of constants. ie. instead of array('password authentication'), you'll + * get array(self::AUTH_PASSWORD). + * + * @param bool $raw_output + * @return array + * @access public + */ + function getSupportedAuthentications($raw_output = false) + { + return $raw_output ? array_keys($this->supported_authentications) : array_values($this->supported_authentications); + } + + /** + * Return the server identification. + * + * @return string + * @access public + */ + function getServerIdentification() + { + return rtrim($this->server_identification); + } + + /** + * Logs data packets + * + * Makes sure that only the last 1MB worth of packets will be logged + * + * @param string $data + * @access private + */ + function _append_log($protocol_flags, $message) + { + switch (NET_SSH1_LOGGING) { + // useful for benchmarks + case self::LOG_SIMPLE: + $this->protocol_flags_log[] = $protocol_flags; + break; + // the most useful log for SSH1 + case self::LOG_COMPLEX: + $this->protocol_flags_log[] = $protocol_flags; + $this->_string_shift($message); + $this->log_size+= strlen($message); + $this->message_log[] = $message; + while ($this->log_size > self::LOG_MAX_SIZE) { + $this->log_size-= strlen(array_shift($this->message_log)); + array_shift($this->protocol_flags_log); + } + break; + // dump the output out realtime; packets may be interspersed with non packets, + // passwords won't be filtered out and select other packets may not be correctly + // identified + case self::LOG_REALTIME: + echo "
\r\n" . $this->_format_log(array($message), array($protocol_flags)) . "\r\n
\r\n"; + @flush(); + @ob_flush(); + break; + // basically the same thing as self::LOG_REALTIME with the caveat that self::LOG_REALTIME_FILE + // needs to be defined and that the resultant log file will be capped out at self::LOG_MAX_SIZE. + // the earliest part of the log file is denoted by the first <<< START >>> and is not going to necessarily + // at the beginning of the file + case self::LOG_REALTIME_FILE: + if (!isset($this->realtime_log_file)) { + // PHP doesn't seem to like using constants in fopen() + $filename = self::LOG_REALTIME_FILE; + $fp = fopen($filename, 'w'); + $this->realtime_log_file = $fp; + } + if (!is_resource($this->realtime_log_file)) { + break; + } + $entry = $this->_format_log(array($message), array($protocol_flags)); + if ($this->realtime_log_wrap) { + $temp = "<<< START >>>\r\n"; + $entry.= $temp; + fseek($this->realtime_log_file, ftell($this->realtime_log_file) - strlen($temp)); + } + $this->realtime_log_size+= strlen($entry); + if ($this->realtime_log_size > self::LOG_MAX_SIZE) { + fseek($this->realtime_log_file, 0); + $this->realtime_log_size = strlen($entry); + $this->realtime_log_wrap = true; + } + fputs($this->realtime_log_file, $entry); + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php new file mode 100644 index 00000000..937c38cc --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/Net/SSH2.php @@ -0,0 +1,4397 @@ + + * login('username', 'password')) { + * exit('Login Failed'); + * } + * + * echo $ssh->exec('pwd'); + * echo $ssh->exec('ls -la'); + * ?> + * + * + * + * setPassword('whatever'); + * $key->loadKey(file_get_contents('privatekey')); + * + * $ssh = new \phpseclib\Net\SSH2('www.domain.tld'); + * if (!$ssh->login('username', $key)) { + * exit('Login Failed'); + * } + * + * echo $ssh->read('username@username:~$'); + * $ssh->write("ls -la\n"); + * echo $ssh->read('username@username:~$'); + * ?> + * + * + * @category Net + * @package SSH2 + * @author Jim Wigginton + * @copyright 2007 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + */ + +namespace phpseclib\Net; + +use phpseclib\Crypt\Base; +use phpseclib\Crypt\Blowfish; +use phpseclib\Crypt\Hash; +use phpseclib\Crypt\Random; +use phpseclib\Crypt\RC4; +use phpseclib\Crypt\Rijndael; +use phpseclib\Crypt\RSA; +use phpseclib\Crypt\TripleDES; +use phpseclib\Crypt\Twofish; +use phpseclib\Math\BigInteger; // Used to do Diffie-Hellman key exchange and DSA/RSA signature verification. +use phpseclib\System\SSH\Agent; + +/** + * Pure-PHP implementation of SSHv2. + * + * @package SSH2 + * @author Jim Wigginton + * @access public + */ +class SSH2 +{ + /**#@+ + * Execution Bitmap Masks + * + * @see \phpseclib\Net\SSH2::bitmap + * @access private + */ + const MASK_CONSTRUCTOR = 0x00000001; + const MASK_CONNECTED = 0x00000002; + const MASK_LOGIN_REQ = 0x00000004; + const MASK_LOGIN = 0x00000008; + const MASK_SHELL = 0x00000010; + const MASK_WINDOW_ADJUST = 0x00000020; + /**#@-*/ + + /**#@+ + * Channel constants + * + * RFC4254 refers not to client and server channels but rather to sender and recipient channels. we don't refer + * to them in that way because RFC4254 toggles the meaning. the client sends a SSH_MSG_CHANNEL_OPEN message with + * a sender channel and the server sends a SSH_MSG_CHANNEL_OPEN_CONFIRMATION in response, with a sender and a + * recepient channel. at first glance, you might conclude that SSH_MSG_CHANNEL_OPEN_CONFIRMATION's sender channel + * would be the same thing as SSH_MSG_CHANNEL_OPEN's sender channel, but it's not, per this snipet: + * The 'recipient channel' is the channel number given in the original + * open request, and 'sender channel' is the channel number allocated by + * the other side. + * + * @see \phpseclib\Net\SSH2::_send_channel_packet() + * @see \phpseclib\Net\SSH2::_get_channel_packet() + * @access private + */ + const CHANNEL_EXEC = 0; // PuTTy uses 0x100 + const CHANNEL_SHELL = 1; + const CHANNEL_SUBSYSTEM = 2; + const CHANNEL_AGENT_FORWARD = 3; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Net\SSH2::getLog() + */ + /** + * Returns the message numbers + */ + const LOG_SIMPLE = 1; + /** + * Returns the message content + */ + const LOG_COMPLEX = 2; + /** + * Outputs the content real-time + */ + const LOG_REALTIME = 3; + /** + * Dumps the content real-time to a file + */ + const LOG_REALTIME_FILE = 4; + /**#@-*/ + + /**#@+ + * @access public + * @see \phpseclib\Net\SSH2::read() + */ + /** + * Returns when a string matching $expect exactly is found + */ + const READ_SIMPLE = 1; + /** + * Returns when a string matching the regular expression $expect is found + */ + const READ_REGEX = 2; + /** + * Make sure that the log never gets larger than this + */ + const LOG_MAX_SIZE = 1048576; // 1024 * 1024 + /**#@-*/ + + /** + * The SSH identifier + * + * @var string + * @access private + */ + var $identifier; + + /** + * The Socket Object + * + * @var object + * @access private + */ + var $fsock; + + /** + * Execution Bitmap + * + * The bits that are set represent functions that have been called already. This is used to determine + * if a requisite function has been successfully executed. If not, an error should be thrown. + * + * @var int + * @access private + */ + var $bitmap = 0; + + /** + * Error information + * + * @see self::getErrors() + * @see self::getLastError() + * @var string + * @access private + */ + var $errors = array(); + + /** + * Server Identifier + * + * @see self::getServerIdentification() + * @var array|false + * @access private + */ + var $server_identifier = false; + + /** + * Key Exchange Algorithms + * + * @see self::getKexAlgorithims() + * @var array|false + * @access private + */ + var $kex_algorithms = false; + + /** + * Minimum Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods + * + * @see self::_key_exchange() + * @var int + * @access private + */ + var $kex_dh_group_size_min = 1536; + + /** + * Preferred Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods + * + * @see self::_key_exchange() + * @var int + * @access private + */ + var $kex_dh_group_size_preferred = 2048; + + /** + * Maximum Diffie-Hellman Group Bit Size in RFC 4419 Key Exchange Methods + * + * @see self::_key_exchange() + * @var int + * @access private + */ + var $kex_dh_group_size_max = 4096; + + /** + * Server Host Key Algorithms + * + * @see self::getServerHostKeyAlgorithms() + * @var array|false + * @access private + */ + var $server_host_key_algorithms = false; + + /** + * Encryption Algorithms: Client to Server + * + * @see self::getEncryptionAlgorithmsClient2Server() + * @var array|false + * @access private + */ + var $encryption_algorithms_client_to_server = false; + + /** + * Encryption Algorithms: Server to Client + * + * @see self::getEncryptionAlgorithmsServer2Client() + * @var array|false + * @access private + */ + var $encryption_algorithms_server_to_client = false; + + /** + * MAC Algorithms: Client to Server + * + * @see self::getMACAlgorithmsClient2Server() + * @var array|false + * @access private + */ + var $mac_algorithms_client_to_server = false; + + /** + * MAC Algorithms: Server to Client + * + * @see self::getMACAlgorithmsServer2Client() + * @var array|false + * @access private + */ + var $mac_algorithms_server_to_client = false; + + /** + * Compression Algorithms: Client to Server + * + * @see self::getCompressionAlgorithmsClient2Server() + * @var array|false + * @access private + */ + var $compression_algorithms_client_to_server = false; + + /** + * Compression Algorithms: Server to Client + * + * @see self::getCompressionAlgorithmsServer2Client() + * @var array|false + * @access private + */ + var $compression_algorithms_server_to_client = false; + + /** + * Languages: Server to Client + * + * @see self::getLanguagesServer2Client() + * @var array|false + * @access private + */ + var $languages_server_to_client = false; + + /** + * Languages: Client to Server + * + * @see self::getLanguagesClient2Server() + * @var array|false + * @access private + */ + var $languages_client_to_server = false; + + /** + * Block Size for Server to Client Encryption + * + * "Note that the length of the concatenation of 'packet_length', + * 'padding_length', 'payload', and 'random padding' MUST be a multiple + * of the cipher block size or 8, whichever is larger. This constraint + * MUST be enforced, even when using stream ciphers." + * + * -- http://tools.ietf.org/html/rfc4253#section-6 + * + * @see self::__construct() + * @see self::_send_binary_packet() + * @var int + * @access private + */ + var $encrypt_block_size = 8; + + /** + * Block Size for Client to Server Encryption + * + * @see self::__construct() + * @see self::_get_binary_packet() + * @var int + * @access private + */ + var $decrypt_block_size = 8; + + /** + * Server to Client Encryption Object + * + * @see self::_get_binary_packet() + * @var object + * @access private + */ + var $decrypt = false; + + /** + * Client to Server Encryption Object + * + * @see self::_send_binary_packet() + * @var object + * @access private + */ + var $encrypt = false; + + /** + * Client to Server HMAC Object + * + * @see self::_send_binary_packet() + * @var object + * @access private + */ + var $hmac_create = false; + + /** + * Server to Client HMAC Object + * + * @see self::_get_binary_packet() + * @var object + * @access private + */ + var $hmac_check = false; + + /** + * Size of server to client HMAC + * + * We need to know how big the HMAC will be for the server to client direction so that we know how many bytes to read. + * For the client to server side, the HMAC object will make the HMAC as long as it needs to be. All we need to do is + * append it. + * + * @see self::_get_binary_packet() + * @var int + * @access private + */ + var $hmac_size = false; + + /** + * Server Public Host Key + * + * @see self::getServerPublicHostKey() + * @var string + * @access private + */ + var $server_public_host_key; + + /** + * Session identifier + * + * "The exchange hash H from the first key exchange is additionally + * used as the session identifier, which is a unique identifier for + * this connection." + * + * -- http://tools.ietf.org/html/rfc4253#section-7.2 + * + * @see self::_key_exchange() + * @var string + * @access private + */ + var $session_id = false; + + /** + * Exchange hash + * + * The current exchange hash + * + * @see self::_key_exchange() + * @var string + * @access private + */ + var $exchange_hash = false; + + /** + * Message Numbers + * + * @see self::__construct() + * @var array + * @access private + */ + var $message_numbers = array(); + + /** + * Disconnection Message 'reason codes' defined in RFC4253 + * + * @see self::__construct() + * @var array + * @access private + */ + var $disconnect_reasons = array(); + + /** + * SSH_MSG_CHANNEL_OPEN_FAILURE 'reason codes', defined in RFC4254 + * + * @see self::__construct() + * @var array + * @access private + */ + var $channel_open_failure_reasons = array(); + + /** + * Terminal Modes + * + * @link http://tools.ietf.org/html/rfc4254#section-8 + * @see self::__construct() + * @var array + * @access private + */ + var $terminal_modes = array(); + + /** + * SSH_MSG_CHANNEL_EXTENDED_DATA's data_type_codes + * + * @link http://tools.ietf.org/html/rfc4254#section-5.2 + * @see self::__construct() + * @var array + * @access private + */ + var $channel_extended_data_type_codes = array(); + + /** + * Send Sequence Number + * + * See 'Section 6.4. Data Integrity' of rfc4253 for more info. + * + * @see self::_send_binary_packet() + * @var int + * @access private + */ + var $send_seq_no = 0; + + /** + * Get Sequence Number + * + * See 'Section 6.4. Data Integrity' of rfc4253 for more info. + * + * @see self::_get_binary_packet() + * @var int + * @access private + */ + var $get_seq_no = 0; + + /** + * Server Channels + * + * Maps client channels to server channels + * + * @see self::_get_channel_packet() + * @see self::exec() + * @var array + * @access private + */ + var $server_channels = array(); + + /** + * Channel Buffers + * + * If a client requests a packet from one channel but receives two packets from another those packets should + * be placed in a buffer + * + * @see self::_get_channel_packet() + * @see self::exec() + * @var array + * @access private + */ + var $channel_buffers = array(); + + /** + * Channel Status + * + * Contains the type of the last sent message + * + * @see self::_get_channel_packet() + * @var array + * @access private + */ + var $channel_status = array(); + + /** + * Packet Size + * + * Maximum packet size indexed by channel + * + * @see self::_send_channel_packet() + * @var array + * @access private + */ + var $packet_size_client_to_server = array(); + + /** + * Message Number Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $message_number_log = array(); + + /** + * Message Log + * + * @see self::getLog() + * @var array + * @access private + */ + var $message_log = array(); + + /** + * The Window Size + * + * Bytes the other party can send before it must wait for the window to be adjusted (0x7FFFFFFF = 2GB) + * + * @var int + * @see self::_send_channel_packet() + * @see self::exec() + * @access private + */ + var $window_size = 0x7FFFFFFF; + + /** + * Window size, server to client + * + * Window size indexed by channel + * + * @see self::_send_channel_packet() + * @var array + * @access private + */ + var $window_size_server_to_client = array(); + + /** + * Window size, client to server + * + * Window size indexed by channel + * + * @see self::_get_channel_packet() + * @var array + * @access private + */ + var $window_size_client_to_server = array(); + + /** + * Server signature + * + * Verified against $this->session_id + * + * @see self::getServerPublicHostKey() + * @var string + * @access private + */ + var $signature = ''; + + /** + * Server signature format + * + * ssh-rsa or ssh-dss. + * + * @see self::getServerPublicHostKey() + * @var string + * @access private + */ + var $signature_format = ''; + + /** + * Interactive Buffer + * + * @see self::read() + * @var array + * @access private + */ + var $interactiveBuffer = ''; + + /** + * Current log size + * + * Should never exceed self::LOG_MAX_SIZE + * + * @see self::_send_binary_packet() + * @see self::_get_binary_packet() + * @var int + * @access private + */ + var $log_size; + + /** + * Timeout + * + * @see self::setTimeout() + * @access private + */ + var $timeout; + + /** + * Current Timeout + * + * @see self::_get_channel_packet() + * @access private + */ + var $curTimeout; + + /** + * Real-time log file pointer + * + * @see self::_append_log() + * @var resource + * @access private + */ + var $realtime_log_file; + + /** + * Real-time log file size + * + * @see self::_append_log() + * @var int + * @access private + */ + var $realtime_log_size; + + /** + * Has the signature been validated? + * + * @see self::getServerPublicHostKey() + * @var bool + * @access private + */ + var $signature_validated = false; + + /** + * Real-time log file wrap boolean + * + * @see self::_append_log() + * @access private + */ + var $realtime_log_wrap; + + /** + * Flag to suppress stderr from output + * + * @see self::enableQuietMode() + * @access private + */ + var $quiet_mode = false; + + /** + * Time of first network activity + * + * @var int + * @access private + */ + var $last_packet; + + /** + * Exit status returned from ssh if any + * + * @var int + * @access private + */ + var $exit_status; + + /** + * Flag to request a PTY when using exec() + * + * @var bool + * @see self::enablePTY() + * @access private + */ + var $request_pty = false; + + /** + * Flag set while exec() is running when using enablePTY() + * + * @var bool + * @access private + */ + var $in_request_pty_exec = false; + + /** + * Flag set after startSubsystem() is called + * + * @var bool + * @access private + */ + var $in_subsystem; + + /** + * Contents of stdError + * + * @var string + * @access private + */ + var $stdErrorLog; + + /** + * The Last Interactive Response + * + * @see self::_keyboard_interactive_process() + * @var string + * @access private + */ + var $last_interactive_response = ''; + + /** + * Keyboard Interactive Request / Responses + * + * @see self::_keyboard_interactive_process() + * @var array + * @access private + */ + var $keyboard_requests_responses = array(); + + /** + * Banner Message + * + * Quoting from the RFC, "in some jurisdictions, sending a warning message before + * authentication may be relevant for getting legal protection." + * + * @see self::_filter() + * @see self::getBannerMessage() + * @var string + * @access private + */ + var $banner_message = ''; + + /** + * Did read() timeout or return normally? + * + * @see self::isTimeout() + * @var bool + * @access private + */ + var $is_timeout = false; + + /** + * Log Boundary + * + * @see self::_format_log() + * @var string + * @access private + */ + var $log_boundary = ':'; + + /** + * Log Long Width + * + * @see self::_format_log() + * @var int + * @access private + */ + var $log_long_width = 65; + + /** + * Log Short Width + * + * @see self::_format_log() + * @var int + * @access private + */ + var $log_short_width = 16; + + /** + * Hostname + * + * @see self::__construct() + * @see self::_connect() + * @var string + * @access private + */ + var $host; + + /** + * Port Number + * + * @see self::__construct() + * @see self::_connect() + * @var int + * @access private + */ + var $port; + + /** + * Number of columns for terminal window size + * + * @see self::getWindowColumns() + * @see self::setWindowColumns() + * @see self::setWindowSize() + * @var int + * @access private + */ + var $windowColumns = 80; + + /** + * Number of columns for terminal window size + * + * @see self::getWindowRows() + * @see self::setWindowRows() + * @see self::setWindowSize() + * @var int + * @access private + */ + var $windowRows = 24; + + /** + * Crypto Engine + * + * @see self::setCryptoEngine() + * @see self::_key_exchange() + * @var int + * @access private + */ + var $crypto_engine = false; + + /** + * A System_SSH_Agent for use in the SSH2 Agent Forwarding scenario + * + * @var System_SSH_Agent + * @access private + */ + var $agent; + + /** + * Default Constructor. + * + * $host can either be a string, representing the host, or a stream resource. + * + * @param mixed $host + * @param int $port + * @param int $timeout + * @see self::login() + * @return \phpseclib\Net\SSH2 + * @access public + */ + function __construct($host, $port = 22, $timeout = 10) + { + $this->message_numbers = array( + 1 => 'NET_SSH2_MSG_DISCONNECT', + 2 => 'NET_SSH2_MSG_IGNORE', + 3 => 'NET_SSH2_MSG_UNIMPLEMENTED', + 4 => 'NET_SSH2_MSG_DEBUG', + 5 => 'NET_SSH2_MSG_SERVICE_REQUEST', + 6 => 'NET_SSH2_MSG_SERVICE_ACCEPT', + 20 => 'NET_SSH2_MSG_KEXINIT', + 21 => 'NET_SSH2_MSG_NEWKEYS', + 30 => 'NET_SSH2_MSG_KEXDH_INIT', + 31 => 'NET_SSH2_MSG_KEXDH_REPLY', + 50 => 'NET_SSH2_MSG_USERAUTH_REQUEST', + 51 => 'NET_SSH2_MSG_USERAUTH_FAILURE', + 52 => 'NET_SSH2_MSG_USERAUTH_SUCCESS', + 53 => 'NET_SSH2_MSG_USERAUTH_BANNER', + + 80 => 'NET_SSH2_MSG_GLOBAL_REQUEST', + 81 => 'NET_SSH2_MSG_REQUEST_SUCCESS', + 82 => 'NET_SSH2_MSG_REQUEST_FAILURE', + 90 => 'NET_SSH2_MSG_CHANNEL_OPEN', + 91 => 'NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION', + 92 => 'NET_SSH2_MSG_CHANNEL_OPEN_FAILURE', + 93 => 'NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST', + 94 => 'NET_SSH2_MSG_CHANNEL_DATA', + 95 => 'NET_SSH2_MSG_CHANNEL_EXTENDED_DATA', + 96 => 'NET_SSH2_MSG_CHANNEL_EOF', + 97 => 'NET_SSH2_MSG_CHANNEL_CLOSE', + 98 => 'NET_SSH2_MSG_CHANNEL_REQUEST', + 99 => 'NET_SSH2_MSG_CHANNEL_SUCCESS', + 100 => 'NET_SSH2_MSG_CHANNEL_FAILURE' + ); + $this->disconnect_reasons = array( + 1 => 'NET_SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT', + 2 => 'NET_SSH2_DISCONNECT_PROTOCOL_ERROR', + 3 => 'NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED', + 4 => 'NET_SSH2_DISCONNECT_RESERVED', + 5 => 'NET_SSH2_DISCONNECT_MAC_ERROR', + 6 => 'NET_SSH2_DISCONNECT_COMPRESSION_ERROR', + 7 => 'NET_SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE', + 8 => 'NET_SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED', + 9 => 'NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE', + 10 => 'NET_SSH2_DISCONNECT_CONNECTION_LOST', + 11 => 'NET_SSH2_DISCONNECT_BY_APPLICATION', + 12 => 'NET_SSH2_DISCONNECT_TOO_MANY_CONNECTIONS', + 13 => 'NET_SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER', + 14 => 'NET_SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE', + 15 => 'NET_SSH2_DISCONNECT_ILLEGAL_USER_NAME' + ); + $this->channel_open_failure_reasons = array( + 1 => 'NET_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED' + ); + $this->terminal_modes = array( + 0 => 'NET_SSH2_TTY_OP_END' + ); + $this->channel_extended_data_type_codes = array( + 1 => 'NET_SSH2_EXTENDED_DATA_STDERR' + ); + + $this->_define_array( + $this->message_numbers, + $this->disconnect_reasons, + $this->channel_open_failure_reasons, + $this->terminal_modes, + $this->channel_extended_data_type_codes, + array(60 => 'NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ'), + array(60 => 'NET_SSH2_MSG_USERAUTH_PK_OK'), + array(60 => 'NET_SSH2_MSG_USERAUTH_INFO_REQUEST', + 61 => 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE'), + // RFC 4419 - diffie-hellman-group-exchange-sha{1,256} + array(30 => 'NET_SSH2_MSG_KEXDH_GEX_REQUEST_OLD', + 31 => 'NET_SSH2_MSG_KEXDH_GEX_GROUP', + 32 => 'NET_SSH2_MSG_KEXDH_GEX_INIT', + 33 => 'NET_SSH2_MSG_KEXDH_GEX_REPLY', + 34 => 'NET_SSH2_MSG_KEXDH_GEX_REQUEST'), + // RFC 5656 - Elliptic Curves (for curve25519-sha256@libssh.org) + array(30 => 'NET_SSH2_MSG_KEX_ECDH_INIT', + 31 => 'NET_SSH2_MSG_KEX_ECDH_REPLY') + ); + + if (is_resource($host)) { + $this->fsock = $host; + return; + } + + if (is_string($host)) { + $this->host = $host; + $this->port = $port; + $this->timeout = $timeout; + } + } + + /** + * Set Crypto Engine Mode + * + * Possible $engine values: + * CRYPT_MODE_INTERNAL, CRYPT_MODE_MCRYPT + * + * @param int $engine + * @access private + */ + function setCryptoEngine($engine) + { + $this->crypto_engine = $engine; + } + + /** + * Connect to an SSHv2 server + * + * @return bool + * @access private + */ + function _connect() + { + if ($this->bitmap & self::MASK_CONSTRUCTOR) { + return false; + } + + $this->bitmap |= self::MASK_CONSTRUCTOR; + + $this->curTimeout = $this->timeout; + + $this->last_packet = microtime(true); + + if (!is_resource($this->fsock)) { + $start = microtime(true); + // with stream_select a timeout of 0 means that no timeout takes place; + // with fsockopen a timeout of 0 means that you instantly timeout + // to resolve this incompatibility a timeout of 100,000 will be used for fsockopen if timeout is 0 + $this->fsock = @fsockopen($this->host, $this->port, $errno, $errstr, $this->curTimeout == 0 ? 100000 : $this->curTimeout); + if (!$this->fsock) { + $host = $this->host . ':' . $this->port; + user_error(rtrim("Cannot connect to $host. Error $errno. $errstr")); + return false; + } + $elapsed = microtime(true) - $start; + + $this->curTimeout-= $elapsed; + + if ($this->curTimeout <= 0) { + $this->is_timeout = true; + return false; + } + } + + $this->identifier = $this->_generate_identifier(); + + fputs($this->fsock, $this->identifier . "\r\n"); + + /* According to the SSH2 specs, + + "The server MAY send other lines of data before sending the version + string. Each line SHOULD be terminated by a Carriage Return and Line + Feed. Such lines MUST NOT begin with "SSH-", and SHOULD be encoded + in ISO-10646 UTF-8 [RFC3629] (language is not specified). Clients + MUST be able to process such lines." */ + $data = ''; + while (!feof($this->fsock) && !preg_match('#(.*)^(SSH-(\d\.\d+).*)#ms', $data, $matches)) { + $line = ''; + while (true) { + if ($this->curTimeout) { + if ($this->curTimeout < 0) { + $this->is_timeout = true; + return false; + } + $read = array($this->fsock); + $write = $except = null; + $start = microtime(true); + $sec = floor($this->curTimeout); + $usec = 1000000 * ($this->curTimeout - $sec); + // on windows this returns a "Warning: Invalid CRT parameters detected" error + // the !count() is done as a workaround for + if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) { + $this->is_timeout = true; + return false; + } + $elapsed = microtime(true) - $start; + $this->curTimeout-= $elapsed; + } + + $temp = stream_get_line($this->fsock, 255, "\n"); + if (strlen($temp) == 255) { + continue; + } + + $line.= "$temp\n"; + + // quoting RFC4253, "Implementers who wish to maintain + // compatibility with older, undocumented versions of this protocol may + // want to process the identification string without expecting the + // presence of the carriage return character for reasons described in + // Section 5 of this document." + + //if (substr($line, -2) == "\r\n") { + // break; + //} + + break; + } + + $data.= $line; + } + + if (feof($this->fsock)) { + user_error('Connection closed by server'); + return false; + } + + $extra = $matches[1]; + + if (defined('NET_SSH2_LOGGING')) { + $this->_append_log('<-', $matches[0]); + $this->_append_log('->', $this->identifier . "\r\n"); + } + + $this->server_identifier = trim($temp, "\r\n"); + if (strlen($extra)) { + $this->errors[] = utf8_decode($data); + } + + if ($matches[3] != '1.99' && $matches[3] != '2.0') { + user_error("Cannot connect to SSH $matches[3] servers"); + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response) || ord($response[0]) != NET_SSH2_MSG_KEXINIT) { + user_error('Expected SSH_MSG_KEXINIT'); + return false; + } + + if (!$this->_key_exchange($response)) { + return false; + } + + $this->bitmap|= self::MASK_CONNECTED; + + return true; + } + + /** + * Generates the SSH identifier + * + * You should overwrite this method in your own class if you want to use another identifier + * + * @access protected + * @return string + */ + function _generate_identifier() + { + $identifier = 'SSH-2.0-phpseclib_2.0'; + + $ext = array(); + if (extension_loaded('libsodium')) { + $ext[] = 'libsodium'; + } + + if (extension_loaded('openssl')) { + $ext[] = 'openssl'; + } elseif (extension_loaded('mcrypt')) { + $ext[] = 'mcrypt'; + } + + if (extension_loaded('gmp')) { + $ext[] = 'gmp'; + } elseif (extension_loaded('bcmath')) { + $ext[] = 'bcmath'; + } + + if (!empty($ext)) { + $identifier .= ' (' . implode(', ', $ext) . ')'; + } + + return $identifier; + } + + /** + * Key Exchange + * + * @param string $kexinit_payload_server + * @access private + */ + function _key_exchange($kexinit_payload_server) + { + $kex_algorithms = array( + // Elliptic Curve Diffie-Hellman Key Agreement (ECDH) using + // Curve25519. See doc/curve25519-sha256@libssh.org.txt in the + // libssh repository for more information. + 'curve25519-sha256@libssh.org', + + // Diffie-Hellman Key Agreement (DH) using integer modulo prime + // groups. + 'diffie-hellman-group1-sha1', // REQUIRED + 'diffie-hellman-group14-sha1', // REQUIRED + 'diffie-hellman-group-exchange-sha1', // RFC 4419 + 'diffie-hellman-group-exchange-sha256', // RFC 4419 + ); + if (!function_exists('\\Sodium\\library_version_major')) { + $kex_algorithms = array_diff( + $kex_algorithms, + array('curve25519-sha256@libssh.org') + ); + } + + $server_host_key_algorithms = array( + 'ssh-rsa', // RECOMMENDED sign Raw RSA Key + 'ssh-dss' // REQUIRED sign Raw DSS Key + ); + + $encryption_algorithms = array( + // from : + 'arcfour256', + 'arcfour128', + + //'arcfour', // OPTIONAL the ARCFOUR stream cipher with a 128-bit key + + // CTR modes from : + 'aes128-ctr', // RECOMMENDED AES (Rijndael) in SDCTR mode, with 128-bit key + 'aes192-ctr', // RECOMMENDED AES with 192-bit key + 'aes256-ctr', // RECOMMENDED AES with 256-bit key + + 'twofish128-ctr', // OPTIONAL Twofish in SDCTR mode, with 128-bit key + 'twofish192-ctr', // OPTIONAL Twofish with 192-bit key + 'twofish256-ctr', // OPTIONAL Twofish with 256-bit key + + 'aes128-cbc', // RECOMMENDED AES with a 128-bit key + 'aes192-cbc', // OPTIONAL AES with a 192-bit key + 'aes256-cbc', // OPTIONAL AES in CBC mode, with a 256-bit key + + 'twofish128-cbc', // OPTIONAL Twofish with a 128-bit key + 'twofish192-cbc', // OPTIONAL Twofish with a 192-bit key + 'twofish256-cbc', + 'twofish-cbc', // OPTIONAL alias for "twofish256-cbc" + // (this is being retained for historical reasons) + + 'blowfish-ctr', // OPTIONAL Blowfish in SDCTR mode + + 'blowfish-cbc', // OPTIONAL Blowfish in CBC mode + + '3des-ctr', // RECOMMENDED Three-key 3DES in SDCTR mode + + '3des-cbc', // REQUIRED three-key 3DES in CBC mode + //'none' // OPTIONAL no encryption; NOT RECOMMENDED + ); + + if (extension_loaded('openssl') && !extension_loaded('mcrypt')) { + // OpenSSL does not support arcfour256 in any capacity and arcfour128 / arcfour support is limited to + // instances that do not use continuous buffers + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('arcfour256', 'arcfour128', 'arcfour') + ); + } + + if (class_exists('\phpseclib\Crypt\RC4') === false) { + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('arcfour256', 'arcfour128', 'arcfour') + ); + } + if (class_exists('\phpseclib\Crypt\Rijndael') === false) { + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'aes128-cbc', 'aes192-cbc', 'aes256-cbc') + ); + } + if (class_exists('\phpseclib\Crypt\Twofish') === false) { + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('twofish128-ctr', 'twofish192-ctr', 'twofish256-ctr', 'twofish128-cbc', 'twofish192-cbc', 'twofish256-cbc', 'twofish-cbc') + ); + } + if (class_exists('\phpseclib\Crypt\Blowfish') === false) { + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('blowfish-ctr', 'blowfish-cbc') + ); + } + if (class_exists('\phpseclib\Crypt\TripleDES') === false) { + $encryption_algorithms = array_diff( + $encryption_algorithms, + array('3des-ctr', '3des-cbc') + ); + } + $encryption_algorithms = array_values($encryption_algorithms); + + $mac_algorithms = array( + // from : + 'hmac-sha2-256',// RECOMMENDED HMAC-SHA256 (digest length = key length = 32) + + 'hmac-sha1-96', // RECOMMENDED first 96 bits of HMAC-SHA1 (digest length = 12, key length = 20) + 'hmac-sha1', // REQUIRED HMAC-SHA1 (digest length = key length = 20) + 'hmac-md5-96', // OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16) + 'hmac-md5', // OPTIONAL HMAC-MD5 (digest length = key length = 16) + //'none' // OPTIONAL no MAC; NOT RECOMMENDED + ); + + $compression_algorithms = array( + 'none' // REQUIRED no compression + //'zlib' // OPTIONAL ZLIB (LZ77) compression + ); + + // some SSH servers have buggy implementations of some of the above algorithms + switch ($this->server_identifier) { + case 'SSH-2.0-SSHD': + $mac_algorithms = array_values(array_diff( + $mac_algorithms, + array('hmac-sha1-96', 'hmac-md5-96') + )); + } + + $str_kex_algorithms = implode(',', $kex_algorithms); + $str_server_host_key_algorithms = implode(',', $server_host_key_algorithms); + $encryption_algorithms_server_to_client = $encryption_algorithms_client_to_server = implode(',', $encryption_algorithms); + $mac_algorithms_server_to_client = $mac_algorithms_client_to_server = implode(',', $mac_algorithms); + $compression_algorithms_server_to_client = $compression_algorithms_client_to_server = implode(',', $compression_algorithms); + + $client_cookie = Random::string(16); + + $response = $kexinit_payload_server; + $this->_string_shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT) + $server_cookie = $this->_string_shift($response, 16); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->kex_algorithms = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->server_host_key_algorithms = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->encryption_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->encryption_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->mac_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->mac_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->compression_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->compression_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->languages_client_to_server = explode(',', $this->_string_shift($response, $temp['length'])); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->languages_server_to_client = explode(',', $this->_string_shift($response, $temp['length'])); + + if (!strlen($response)) { + return false; + } + extract(unpack('Cfirst_kex_packet_follows', $this->_string_shift($response, 1))); + $first_kex_packet_follows = $first_kex_packet_follows != 0; + + // the sending of SSH2_MSG_KEXINIT could go in one of two places. this is the second place. + $kexinit_payload_client = pack( + 'Ca*Na*Na*Na*Na*Na*Na*Na*Na*Na*Na*CN', + NET_SSH2_MSG_KEXINIT, + $client_cookie, + strlen($str_kex_algorithms), + $str_kex_algorithms, + strlen($str_server_host_key_algorithms), + $str_server_host_key_algorithms, + strlen($encryption_algorithms_client_to_server), + $encryption_algorithms_client_to_server, + strlen($encryption_algorithms_server_to_client), + $encryption_algorithms_server_to_client, + strlen($mac_algorithms_client_to_server), + $mac_algorithms_client_to_server, + strlen($mac_algorithms_server_to_client), + $mac_algorithms_server_to_client, + strlen($compression_algorithms_client_to_server), + $compression_algorithms_client_to_server, + strlen($compression_algorithms_server_to_client), + $compression_algorithms_server_to_client, + 0, + '', + 0, + '', + 0, + 0 + ); + + if (!$this->_send_binary_packet($kexinit_payload_client)) { + return false; + } + // here ends the second place. + + // we need to decide upon the symmetric encryption algorithms before we do the diffie-hellman key exchange + // we don't initialize any crypto-objects, yet - we do that, later. for now, we need the lengths to make the + // diffie-hellman key exchange as fast as possible + $decrypt = $this->_array_intersect_first($encryption_algorithms, $this->encryption_algorithms_server_to_client); + $decryptKeyLength = $this->_encryption_algorithm_to_key_size($decrypt); + if ($decryptKeyLength === null) { + user_error('No compatible server to client encryption algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $encrypt = $this->_array_intersect_first($encryption_algorithms, $this->encryption_algorithms_client_to_server); + $encryptKeyLength = $this->_encryption_algorithm_to_key_size($encrypt); + if ($encryptKeyLength === null) { + user_error('No compatible client to server encryption algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + // through diffie-hellman key exchange a symmetric key is obtained + $kex_algorithm = $this->_array_intersect_first($kex_algorithms, $this->kex_algorithms); + if ($kex_algorithm === false) { + user_error('No compatible key exchange algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + // Only relevant in diffie-hellman-group-exchange-sha{1,256}, otherwise empty. + $exchange_hash_rfc4419 = ''; + + if ($kex_algorithm === 'curve25519-sha256@libssh.org') { + $x = Random::string(32); + $eBytes = \Sodium\crypto_box_publickey_from_secretkey($x); + $clientKexInitMessage = NET_SSH2_MSG_KEX_ECDH_INIT; + $serverKexReplyMessage = NET_SSH2_MSG_KEX_ECDH_REPLY; + $kexHash = new Hash('sha256'); + } else { + if (strpos($kex_algorithm, 'diffie-hellman-group-exchange') === 0) { + $dh_group_sizes_packed = pack( + 'NNN', + $this->kex_dh_group_size_min, + $this->kex_dh_group_size_preferred, + $this->kex_dh_group_size_max + ); + $packet = pack( + 'Ca*', + NET_SSH2_MSG_KEXDH_GEX_REQUEST, + $dh_group_sizes_packed + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + if ($type != NET_SSH2_MSG_KEXDH_GEX_GROUP) { + user_error('Expected SSH_MSG_KEX_DH_GEX_GROUP'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('NprimeLength', $this->_string_shift($response, 4))); + $primeBytes = $this->_string_shift($response, $primeLength); + $prime = new BigInteger($primeBytes, -256); + + if (strlen($response) < 4) { + return false; + } + extract(unpack('NgLength', $this->_string_shift($response, 4))); + $gBytes = $this->_string_shift($response, $gLength); + $g = new BigInteger($gBytes, -256); + + $exchange_hash_rfc4419 = pack( + 'a*Na*Na*', + $dh_group_sizes_packed, + $primeLength, + $primeBytes, + $gLength, + $gBytes + ); + + $clientKexInitMessage = NET_SSH2_MSG_KEXDH_GEX_INIT; + $serverKexReplyMessage = NET_SSH2_MSG_KEXDH_GEX_REPLY; + } else { + switch ($kex_algorithm) { + // see http://tools.ietf.org/html/rfc2409#section-6.2 and + // http://tools.ietf.org/html/rfc2412, appendex E + case 'diffie-hellman-group1-sha1': + $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' . + '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . + '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF'; + break; + // see http://tools.ietf.org/html/rfc3526#section-3 + case 'diffie-hellman-group14-sha1': + $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' . + '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . + '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF05' . + '98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB' . + '9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' . + 'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718' . + '3995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF'; + break; + } + // For both diffie-hellman-group1-sha1 and diffie-hellman-group14-sha1 + // the generator field element is 2 (decimal) and the hash function is sha1. + $g = new BigInteger(2); + $prime = new BigInteger($prime, 16); + $clientKexInitMessage = NET_SSH2_MSG_KEXDH_INIT; + $serverKexReplyMessage = NET_SSH2_MSG_KEXDH_REPLY; + } + + switch ($kex_algorithm) { + case 'diffie-hellman-group-exchange-sha256': + $kexHash = new Hash('sha256'); + break; + default: + $kexHash = new Hash('sha1'); + } + + /* To increase the speed of the key exchange, both client and server may + reduce the size of their private exponents. It should be at least + twice as long as the key material that is generated from the shared + secret. For more details, see the paper by van Oorschot and Wiener + [VAN-OORSCHOT]. + + -- http://tools.ietf.org/html/rfc4419#section-6.2 */ + $one = new BigInteger(1); + $keyLength = min($kexHash->getLength(), max($encryptKeyLength, $decryptKeyLength)); + $max = $one->bitwise_leftShift(16 * $keyLength); // 2 * 8 * $keyLength + $max = $max->subtract($one); + + $x = $one->random($one, $max); + $e = $g->modPow($x, $prime); + + $eBytes = $e->toBytes(true); + } + $data = pack('CNa*', $clientKexInitMessage, strlen($eBytes), $eBytes); + + if (!$this->_send_binary_packet($data)) { + user_error('Connection closed by server'); + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + if ($type != $serverKexReplyMessage) { + user_error('Expected SSH_MSG_KEXDH_REPLY'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->server_public_host_key = $server_public_host_key = $this->_string_shift($response, $temp['length']); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $public_key_format = $this->_string_shift($server_public_host_key, $temp['length']); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $fBytes = $this->_string_shift($response, $temp['length']); + + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($response, 4)); + $this->signature = $this->_string_shift($response, $temp['length']); + + if (strlen($this->signature) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($this->signature, 4)); + $this->signature_format = $this->_string_shift($this->signature, $temp['length']); + + if ($kex_algorithm === 'curve25519-sha256@libssh.org') { + if (strlen($fBytes) !== 32) { + user_error('Received curve25519 public key of invalid length.'); + return false; + } + $key = new BigInteger(\Sodium\crypto_scalarmult($x, $fBytes), 256); + \Sodium\memzero($x); + } else { + $f = new BigInteger($fBytes, -256); + $key = $f->modPow($x, $prime); + } + $keyBytes = $key->toBytes(true); + + $this->exchange_hash = pack( + 'Na*Na*Na*Na*Na*a*Na*Na*Na*', + strlen($this->identifier), + $this->identifier, + strlen($this->server_identifier), + $this->server_identifier, + strlen($kexinit_payload_client), + $kexinit_payload_client, + strlen($kexinit_payload_server), + $kexinit_payload_server, + strlen($this->server_public_host_key), + $this->server_public_host_key, + $exchange_hash_rfc4419, + strlen($eBytes), + $eBytes, + strlen($fBytes), + $fBytes, + strlen($keyBytes), + $keyBytes + ); + + $this->exchange_hash = $kexHash->hash($this->exchange_hash); + + if ($this->session_id === false) { + $this->session_id = $this->exchange_hash; + } + + $server_host_key_algorithm = $this->_array_intersect_first($server_host_key_algorithms, $this->server_host_key_algorithms); + if ($server_host_key_algorithm === false) { + user_error('No compatible server host key algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + if ($public_key_format != $server_host_key_algorithm || $this->signature_format != $server_host_key_algorithm) { + user_error('Server Host Key Algorithm Mismatch'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $packet = pack( + 'C', + NET_SSH2_MSG_NEWKEYS + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + if ($type != NET_SSH2_MSG_NEWKEYS) { + user_error('Expected SSH_MSG_NEWKEYS'); + return false; + } + + $keyBytes = pack('Na*', strlen($keyBytes), $keyBytes); + + $this->encrypt = $this->_encryption_algorithm_to_crypt_instance($encrypt); + if ($this->encrypt) { + if ($this->crypto_engine) { + $this->encrypt->setEngine($this->crypto_engine); + } + if ($this->encrypt->block_size) { + $this->encrypt_block_size = $this->encrypt->block_size; + } + $this->encrypt->enableContinuousBuffer(); + $this->encrypt->disablePadding(); + + $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'A' . $this->session_id); + while ($this->encrypt_block_size > strlen($iv)) { + $iv.= $kexHash->hash($keyBytes . $this->exchange_hash . $iv); + } + $this->encrypt->setIV(substr($iv, 0, $this->encrypt_block_size)); + + $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'C' . $this->session_id); + while ($encryptKeyLength > strlen($key)) { + $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key); + } + $this->encrypt->setKey(substr($key, 0, $encryptKeyLength)); + } + + $this->decrypt = $this->_encryption_algorithm_to_crypt_instance($decrypt); + if ($this->decrypt) { + if ($this->crypto_engine) { + $this->decrypt->setEngine($this->crypto_engine); + } + if ($this->decrypt->block_size) { + $this->decrypt_block_size = $this->decrypt->block_size; + } + $this->decrypt->enableContinuousBuffer(); + $this->decrypt->disablePadding(); + + $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'B' . $this->session_id); + while ($this->decrypt_block_size > strlen($iv)) { + $iv.= $kexHash->hash($keyBytes . $this->exchange_hash . $iv); + } + $this->decrypt->setIV(substr($iv, 0, $this->decrypt_block_size)); + + $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'D' . $this->session_id); + while ($decryptKeyLength > strlen($key)) { + $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key); + } + $this->decrypt->setKey(substr($key, 0, $decryptKeyLength)); + } + + /* The "arcfour128" algorithm is the RC4 cipher, as described in + [SCHNEIER], using a 128-bit key. The first 1536 bytes of keystream + generated by the cipher MUST be discarded, and the first byte of the + first encrypted packet MUST be encrypted using the 1537th byte of + keystream. + + -- http://tools.ietf.org/html/rfc4345#section-4 */ + if ($encrypt == 'arcfour128' || $encrypt == 'arcfour256') { + $this->encrypt->encrypt(str_repeat("\0", 1536)); + } + if ($decrypt == 'arcfour128' || $decrypt == 'arcfour256') { + $this->decrypt->decrypt(str_repeat("\0", 1536)); + } + + $mac_algorithm = $this->_array_intersect_first($mac_algorithms, $this->mac_algorithms_client_to_server); + if ($mac_algorithm === false) { + user_error('No compatible client to server message authentication algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $createKeyLength = 0; // ie. $mac_algorithm == 'none' + switch ($mac_algorithm) { + case 'hmac-sha2-256': + $this->hmac_create = new Hash('sha256'); + $createKeyLength = 32; + break; + case 'hmac-sha1': + $this->hmac_create = new Hash('sha1'); + $createKeyLength = 20; + break; + case 'hmac-sha1-96': + $this->hmac_create = new Hash('sha1-96'); + $createKeyLength = 20; + break; + case 'hmac-md5': + $this->hmac_create = new Hash('md5'); + $createKeyLength = 16; + break; + case 'hmac-md5-96': + $this->hmac_create = new Hash('md5-96'); + $createKeyLength = 16; + } + + $mac_algorithm = $this->_array_intersect_first($mac_algorithms, $this->mac_algorithms_server_to_client); + if ($mac_algorithm === false) { + user_error('No compatible server to client message authentication algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $checkKeyLength = 0; + $this->hmac_size = 0; + switch ($mac_algorithm) { + case 'hmac-sha2-256': + $this->hmac_check = new Hash('sha256'); + $checkKeyLength = 32; + $this->hmac_size = 32; + break; + case 'hmac-sha1': + $this->hmac_check = new Hash('sha1'); + $checkKeyLength = 20; + $this->hmac_size = 20; + break; + case 'hmac-sha1-96': + $this->hmac_check = new Hash('sha1-96'); + $checkKeyLength = 20; + $this->hmac_size = 12; + break; + case 'hmac-md5': + $this->hmac_check = new Hash('md5'); + $checkKeyLength = 16; + $this->hmac_size = 16; + break; + case 'hmac-md5-96': + $this->hmac_check = new Hash('md5-96'); + $checkKeyLength = 16; + $this->hmac_size = 12; + } + + $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'E' . $this->session_id); + while ($createKeyLength > strlen($key)) { + $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key); + } + $this->hmac_create->setKey(substr($key, 0, $createKeyLength)); + + $key = $kexHash->hash($keyBytes . $this->exchange_hash . 'F' . $this->session_id); + while ($checkKeyLength > strlen($key)) { + $key.= $kexHash->hash($keyBytes . $this->exchange_hash . $key); + } + $this->hmac_check->setKey(substr($key, 0, $checkKeyLength)); + + $compression_algorithm = $this->_array_intersect_first($compression_algorithms, $this->compression_algorithms_server_to_client); + if ($compression_algorithm === false) { + user_error('No compatible server to client compression algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + $this->decompress = $compression_algorithm == 'zlib'; + + $compression_algorithm = $this->_array_intersect_first($compression_algorithms, $this->compression_algorithms_client_to_server); + if ($compression_algorithm === false) { + user_error('No compatible client to server compression algorithms found'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + $this->compress = $compression_algorithm == 'zlib'; + + return true; + } + + /** + * Maps an encryption algorithm name to the number of key bytes. + * + * @param string $algorithm Name of the encryption algorithm + * @return int|null Number of bytes as an integer or null for unknown + * @access private + */ + function _encryption_algorithm_to_key_size($algorithm) + { + switch ($algorithm) { + case 'none': + return 0; + case 'aes128-cbc': + case 'aes128-ctr': + case 'arcfour': + case 'arcfour128': + case 'blowfish-cbc': + case 'blowfish-ctr': + case 'twofish128-cbc': + case 'twofish128-ctr': + return 16; + case '3des-cbc': + case '3des-ctr': + case 'aes192-cbc': + case 'aes192-ctr': + case 'twofish192-cbc': + case 'twofish192-ctr': + return 24; + case 'aes256-cbc': + case 'aes256-ctr': + case 'arcfour256': + case 'twofish-cbc': + case 'twofish256-cbc': + case 'twofish256-ctr': + return 32; + } + return null; + } + + /** + * Maps an encryption algorithm name to an instance of a subclass of + * \phpseclib\Crypt\Base. + * + * @param string $algorithm Name of the encryption algorithm + * @return mixed Instance of \phpseclib\Crypt\Base or null for unknown + * @access private + */ + function _encryption_algorithm_to_crypt_instance($algorithm) + { + switch ($algorithm) { + case '3des-cbc': + return new TripleDES(); + case '3des-ctr': + return new TripleDES(Base::MODE_CTR); + case 'aes256-cbc': + case 'aes192-cbc': + case 'aes128-cbc': + return new Rijndael(); + case 'aes256-ctr': + case 'aes192-ctr': + case 'aes128-ctr': + return new Rijndael(Base::MODE_CTR); + case 'blowfish-cbc': + return new Blowfish(); + case 'blowfish-ctr': + return new Blowfish(Base::MODE_CTR); + case 'twofish128-cbc': + case 'twofish192-cbc': + case 'twofish256-cbc': + case 'twofish-cbc': + return new Twofish(); + case 'twofish128-ctr': + case 'twofish192-ctr': + case 'twofish256-ctr': + return new Twofish(Base::MODE_CTR); + case 'arcfour': + case 'arcfour128': + case 'arcfour256': + return new RC4(); + } + return null; + } + + /** + * Login + * + * The $password parameter can be a plaintext password, a \phpseclib\Crypt\RSA object or an array + * + * @param string $username + * @param mixed $password + * @param mixed $... + * @return bool + * @see self::_login() + * @access public + */ + function login($username) + { + $args = func_get_args(); + return call_user_func_array(array(&$this, '_login'), $args); + } + + /** + * Login Helper + * + * @param string $username + * @param mixed $password + * @param mixed $... + * @return bool + * @see self::_login_helper() + * @access private + */ + function _login($username) + { + if (!($this->bitmap & self::MASK_CONSTRUCTOR)) { + if (!$this->_connect()) { + return false; + } + } + + $args = array_slice(func_get_args(), 1); + if (empty($args)) { + return $this->_login_helper($username); + } + + foreach ($args as $arg) { + if ($this->_login_helper($username, $arg)) { + return true; + } + } + return false; + } + + /** + * Login Helper + * + * @param string $username + * @param string $password + * @return bool + * @access private + * @internal It might be worthwhile, at some point, to protect against {@link http://tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis} + * by sending dummy SSH_MSG_IGNORE messages. + */ + function _login_helper($username, $password = null) + { + if (!($this->bitmap & self::MASK_CONNECTED)) { + return false; + } + + if (!($this->bitmap & self::MASK_LOGIN_REQ)) { + $packet = pack( + 'CNa*', + NET_SSH2_MSG_SERVICE_REQUEST, + strlen('ssh-userauth'), + 'ssh-userauth' + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (strlen($response) < 4) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + if ($type != NET_SSH2_MSG_SERVICE_ACCEPT) { + user_error('Expected SSH_MSG_SERVICE_ACCEPT'); + return false; + } + $this->bitmap |= self::MASK_LOGIN_REQ; + } + + if (strlen($this->last_interactive_response)) { + return !is_string($password) && !is_array($password) ? false : $this->_keyboard_interactive_process($password); + } + + if ($password instanceof RSA) { + return $this->_privatekey_login($username, $password); + } elseif ($password instanceof Agent) { + return $this->_ssh_agent_login($username, $password); + } + + if (is_array($password)) { + if ($this->_keyboard_interactive_login($username, $password)) { + $this->bitmap |= self::MASK_LOGIN; + return true; + } + return false; + } + + if (!isset($password)) { + $packet = pack( + 'CNa*Na*Na*', + NET_SSH2_MSG_USERAUTH_REQUEST, + strlen($username), + $username, + strlen('ssh-connection'), + 'ssh-connection', + strlen('none'), + 'none' + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + switch ($type) { + case NET_SSH2_MSG_USERAUTH_SUCCESS: + $this->bitmap |= self::MASK_LOGIN; + return true; + //case NET_SSH2_MSG_USERAUTH_FAILURE: + default: + return false; + } + } + + $packet = pack( + 'CNa*Na*Na*CNa*', + NET_SSH2_MSG_USERAUTH_REQUEST, + strlen($username), + $username, + strlen('ssh-connection'), + 'ssh-connection', + strlen('password'), + 'password', + 0, + strlen($password), + $password + ); + + // remove the username and password from the logged packet + if (!defined('NET_SSH2_LOGGING')) { + $logged = null; + } else { + $logged = pack( + 'CNa*Na*Na*CNa*', + NET_SSH2_MSG_USERAUTH_REQUEST, + strlen('username'), + 'username', + strlen('ssh-connection'), + 'ssh-connection', + strlen('password'), + 'password', + 0, + strlen('password'), + 'password' + ); + } + + if (!$this->_send_binary_packet($packet, $logged)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + switch ($type) { + case NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ: // in theory, the password can be changed + if (defined('NET_SSH2_LOGGING')) { + $this->message_number_log[count($this->message_number_log) - 1] = 'NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ'; + } + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->errors[] = 'SSH_MSG_USERAUTH_PASSWD_CHANGEREQ: ' . utf8_decode($this->_string_shift($response, $length)); + return $this->_disconnect(NET_SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER); + case NET_SSH2_MSG_USERAUTH_FAILURE: + // can we use keyboard-interactive authentication? if not then either the login is bad or the server employees + // multi-factor authentication + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $auth_methods = explode(',', $this->_string_shift($response, $length)); + if (!strlen($response)) { + return false; + } + extract(unpack('Cpartial_success', $this->_string_shift($response, 1))); + $partial_success = $partial_success != 0; + + if (!$partial_success && in_array('keyboard-interactive', $auth_methods)) { + if ($this->_keyboard_interactive_login($username, $password)) { + $this->bitmap |= self::MASK_LOGIN; + return true; + } + return false; + } + return false; + case NET_SSH2_MSG_USERAUTH_SUCCESS: + $this->bitmap |= self::MASK_LOGIN; + return true; + } + + return false; + } + + /** + * Login via keyboard-interactive authentication + * + * See {@link http://tools.ietf.org/html/rfc4256 RFC4256} for details. This is not a full-featured keyboard-interactive authenticator. + * + * @param string $username + * @param string $password + * @return bool + * @access private + */ + function _keyboard_interactive_login($username, $password) + { + $packet = pack( + 'CNa*Na*Na*Na*Na*', + NET_SSH2_MSG_USERAUTH_REQUEST, + strlen($username), + $username, + strlen('ssh-connection'), + 'ssh-connection', + strlen('keyboard-interactive'), + 'keyboard-interactive', + 0, + '', + 0, + '' + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + return $this->_keyboard_interactive_process($password); + } + + /** + * Handle the keyboard-interactive requests / responses. + * + * @param string $responses... + * @return bool + * @access private + */ + function _keyboard_interactive_process() + { + $responses = func_get_args(); + + if (strlen($this->last_interactive_response)) { + $response = $this->last_interactive_response; + } else { + $orig = $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + switch ($type) { + case NET_SSH2_MSG_USERAUTH_INFO_REQUEST: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->_string_shift($response, $length); // name; may be empty + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->_string_shift($response, $length); // instruction; may be empty + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->_string_shift($response, $length); // language tag; may be empty + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nnum_prompts', $this->_string_shift($response, 4))); + + for ($i = 0; $i < count($responses); $i++) { + if (is_array($responses[$i])) { + foreach ($responses[$i] as $key => $value) { + $this->keyboard_requests_responses[$key] = $value; + } + unset($responses[$i]); + } + } + $responses = array_values($responses); + + if (isset($this->keyboard_requests_responses)) { + for ($i = 0; $i < $num_prompts; $i++) { + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + // prompt - ie. "Password: "; must not be empty + $prompt = $this->_string_shift($response, $length); + //$echo = $this->_string_shift($response) != chr(0); + foreach ($this->keyboard_requests_responses as $key => $value) { + if (substr($prompt, 0, strlen($key)) == $key) { + $responses[] = $value; + break; + } + } + } + } + + // see http://tools.ietf.org/html/rfc4256#section-3.2 + if (strlen($this->last_interactive_response)) { + $this->last_interactive_response = ''; + } elseif (defined('NET_SSH2_LOGGING')) { + $this->message_number_log[count($this->message_number_log) - 1] = str_replace( + 'UNKNOWN', + 'NET_SSH2_MSG_USERAUTH_INFO_REQUEST', + $this->message_number_log[count($this->message_number_log) - 1] + ); + } + + if (!count($responses) && $num_prompts) { + $this->last_interactive_response = $orig; + return false; + } + + /* + After obtaining the requested information from the user, the client + MUST respond with an SSH_MSG_USERAUTH_INFO_RESPONSE message. + */ + // see http://tools.ietf.org/html/rfc4256#section-3.4 + $packet = $logged = pack('CN', NET_SSH2_MSG_USERAUTH_INFO_RESPONSE, count($responses)); + for ($i = 0; $i < count($responses); $i++) { + $packet.= pack('Na*', strlen($responses[$i]), $responses[$i]); + $logged.= pack('Na*', strlen('dummy-answer'), 'dummy-answer'); + } + + if (!$this->_send_binary_packet($packet, $logged)) { + return false; + } + + if (defined('NET_SSH2_LOGGING') && NET_SSH2_LOGGING == self::LOG_COMPLEX) { + $this->message_number_log[count($this->message_number_log) - 1] = str_replace( + 'UNKNOWN', + 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE', + $this->message_number_log[count($this->message_number_log) - 1] + ); + } + + /* + After receiving the response, the server MUST send either an + SSH_MSG_USERAUTH_SUCCESS, SSH_MSG_USERAUTH_FAILURE, or another + SSH_MSG_USERAUTH_INFO_REQUEST message. + */ + // maybe phpseclib should force close the connection after x request / responses? unless something like that is done + // there could be an infinite loop of request / responses. + return $this->_keyboard_interactive_process(); + case NET_SSH2_MSG_USERAUTH_SUCCESS: + return true; + case NET_SSH2_MSG_USERAUTH_FAILURE: + return false; + } + + return false; + } + + /** + * Login with an ssh-agent provided key + * + * @param string $username + * @param \phpseclib\System\SSH\Agent $agent + * @return bool + * @access private + */ + function _ssh_agent_login($username, $agent) + { + $this->agent = $agent; + $keys = $agent->requestIdentities(); + foreach ($keys as $key) { + if ($this->_privatekey_login($username, $key)) { + return true; + } + } + + return false; + } + + /** + * Login with an RSA private key + * + * @param string $username + * @param \phpseclib\Crypt\RSA $password + * @return bool + * @access private + * @internal It might be worthwhile, at some point, to protect against {@link http://tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis} + * by sending dummy SSH_MSG_IGNORE messages. + */ + function _privatekey_login($username, $privatekey) + { + // see http://tools.ietf.org/html/rfc4253#page-15 + $publickey = $privatekey->getPublicKey(RSA::PUBLIC_FORMAT_RAW); + if ($publickey === false) { + return false; + } + + $publickey = array( + 'e' => $publickey['e']->toBytes(true), + 'n' => $publickey['n']->toBytes(true) + ); + $publickey = pack( + 'Na*Na*Na*', + strlen('ssh-rsa'), + 'ssh-rsa', + strlen($publickey['e']), + $publickey['e'], + strlen($publickey['n']), + $publickey['n'] + ); + + $part1 = pack( + 'CNa*Na*Na*', + NET_SSH2_MSG_USERAUTH_REQUEST, + strlen($username), + $username, + strlen('ssh-connection'), + 'ssh-connection', + strlen('publickey'), + 'publickey' + ); + $part2 = pack('Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($publickey), $publickey); + + $packet = $part1 . chr(0) . $part2; + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + switch ($type) { + case NET_SSH2_MSG_USERAUTH_FAILURE: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->errors[] = 'SSH_MSG_USERAUTH_FAILURE: ' . $this->_string_shift($response, $length); + return false; + case NET_SSH2_MSG_USERAUTH_PK_OK: + // we'll just take it on faith that the public key blob and the public key algorithm name are as + // they should be + if (defined('NET_SSH2_LOGGING') && NET_SSH2_LOGGING == self::LOG_COMPLEX) { + $this->message_number_log[count($this->message_number_log) - 1] = str_replace( + 'UNKNOWN', + 'NET_SSH2_MSG_USERAUTH_PK_OK', + $this->message_number_log[count($this->message_number_log) - 1] + ); + } + } + + $packet = $part1 . chr(1) . $part2; + $privatekey->setSignatureMode(RSA::SIGNATURE_PKCS1); + $signature = $privatekey->sign(pack('Na*a*', strlen($this->session_id), $this->session_id, $packet)); + $signature = pack('Na*Na*', strlen('ssh-rsa'), 'ssh-rsa', strlen($signature), $signature); + $packet.= pack('Na*', strlen($signature), $signature); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + switch ($type) { + case NET_SSH2_MSG_USERAUTH_FAILURE: + // either the login is bad or the server employs multi-factor authentication + return false; + case NET_SSH2_MSG_USERAUTH_SUCCESS: + $this->bitmap |= self::MASK_LOGIN; + return true; + } + + return false; + } + + /** + * Set Timeout + * + * $ssh->exec('ping 127.0.0.1'); on a Linux host will never return and will run indefinitely. setTimeout() makes it so it'll timeout. + * Setting $timeout to false or 0 will mean there is no timeout. + * + * @param mixed $timeout + * @access public + */ + function setTimeout($timeout) + { + $this->timeout = $this->curTimeout = $timeout; + } + + /** + * Get the output from stdError + * + * @access public + */ + function getStdError() + { + return $this->stdErrorLog; + } + + /** + * Execute Command + * + * If $callback is set to false then \phpseclib\Net\SSH2::_get_channel_packet(self::CHANNEL_EXEC) will need to be called manually. + * In all likelihood, this is not a feature you want to be taking advantage of. + * + * @param string $command + * @param Callback $callback + * @return string + * @access public + */ + function exec($command, $callback = null) + { + $this->curTimeout = $this->timeout; + $this->is_timeout = false; + $this->stdErrorLog = ''; + + if (!$this->isAuthenticated()) { + return false; + } + + if ($this->in_request_pty_exec) { + user_error('If you want to run multiple exec()\'s you will need to disable (and re-enable if appropriate) a PTY for each one.'); + return false; + } + + // RFC4254 defines the (client) window size as "bytes the other party can send before it must wait for the window to + // be adjusted". 0x7FFFFFFF is, at 2GB, the max size. technically, it should probably be decremented, but, + // honestly, if you're transferring more than 2GB, you probably shouldn't be using phpseclib, anyway. + // see http://tools.ietf.org/html/rfc4254#section-5.2 for more info + $this->window_size_server_to_client[self::CHANNEL_EXEC] = $this->window_size; + // 0x8000 is the maximum max packet size, per http://tools.ietf.org/html/rfc4253#section-6.1, although since PuTTy + // uses 0x4000, that's what will be used here, as well. + $packet_size = 0x4000; + + $packet = pack( + 'CNa*N3', + NET_SSH2_MSG_CHANNEL_OPEN, + strlen('session'), + 'session', + self::CHANNEL_EXEC, + $this->window_size_server_to_client[self::CHANNEL_EXEC], + $packet_size + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_OPEN; + + $response = $this->_get_channel_packet(self::CHANNEL_EXEC); + if ($response === false) { + return false; + } + + if ($this->request_pty === true) { + $terminal_modes = pack('C', NET_SSH2_TTY_OP_END); + $packet = pack( + 'CNNa*CNa*N5a*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL_EXEC], + strlen('pty-req'), + 'pty-req', + 1, + strlen('vt100'), + 'vt100', + $this->windowColumns, + $this->windowRows, + 0, + 0, + strlen($terminal_modes), + $terminal_modes + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + list(, $type) = unpack('C', $this->_string_shift($response, 1)); + + switch ($type) { + case NET_SSH2_MSG_CHANNEL_SUCCESS: + break; + case NET_SSH2_MSG_CHANNEL_FAILURE: + default: + user_error('Unable to request pseudo-terminal'); + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + $this->in_request_pty_exec = true; + } + + // sending a pty-req SSH_MSG_CHANNEL_REQUEST message is unnecessary and, in fact, in most cases, slows things + // down. the one place where it might be desirable is if you're doing something like \phpseclib\Net\SSH2::exec('ping localhost &'). + // with a pty-req SSH_MSG_CHANNEL_REQUEST, exec() will return immediately and the ping process will then + // then immediately terminate. without such a request exec() will loop indefinitely. the ping process won't end but + // neither will your script. + + // although, in theory, the size of SSH_MSG_CHANNEL_REQUEST could exceed the maximum packet size established by + // SSH_MSG_CHANNEL_OPEN_CONFIRMATION, RFC4254#section-5.1 states that the "maximum packet size" refers to the + // "maximum size of an individual data packet". ie. SSH_MSG_CHANNEL_DATA. RFC4254#section-5.2 corroborates. + $packet = pack( + 'CNNa*CNa*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL_EXEC], + strlen('exec'), + 'exec', + 1, + strlen($command), + $command + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_REQUEST; + + $response = $this->_get_channel_packet(self::CHANNEL_EXEC); + if ($response === false) { + return false; + } + + $this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_DATA; + + if ($callback === false || $this->in_request_pty_exec) { + return true; + } + + $output = ''; + while (true) { + $temp = $this->_get_channel_packet(self::CHANNEL_EXEC); + switch (true) { + case $temp === true: + return is_callable($callback) ? true : $output; + case $temp === false: + return false; + default: + if (is_callable($callback)) { + if (call_user_func($callback, $temp) === true) { + $this->_close_channel(self::CHANNEL_EXEC); + return true; + } + } else { + $output.= $temp; + } + } + } + } + + /** + * Creates an interactive shell + * + * @see self::read() + * @see self::write() + * @return bool + * @access private + */ + function _initShell() + { + if ($this->in_request_pty_exec === true) { + return true; + } + + $this->window_size_server_to_client[self::CHANNEL_SHELL] = $this->window_size; + $packet_size = 0x4000; + + $packet = pack( + 'CNa*N3', + NET_SSH2_MSG_CHANNEL_OPEN, + strlen('session'), + 'session', + self::CHANNEL_SHELL, + $this->window_size_server_to_client[self::CHANNEL_SHELL], + $packet_size + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_OPEN; + + $response = $this->_get_channel_packet(self::CHANNEL_SHELL); + if ($response === false) { + return false; + } + + $terminal_modes = pack('C', NET_SSH2_TTY_OP_END); + $packet = pack( + 'CNNa*CNa*N5a*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL_SHELL], + strlen('pty-req'), + 'pty-req', + 1, + strlen('vt100'), + 'vt100', + $this->windowColumns, + $this->windowRows, + 0, + 0, + strlen($terminal_modes), + $terminal_modes + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + + if (!strlen($response)) { + return false; + } + list(, $type) = unpack('C', $this->_string_shift($response, 1)); + + switch ($type) { + case NET_SSH2_MSG_CHANNEL_SUCCESS: + // if a pty can't be opened maybe commands can still be executed + case NET_SSH2_MSG_CHANNEL_FAILURE: + break; + default: + user_error('Unable to request pseudo-terminal'); + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + + $packet = pack( + 'CNNa*C', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL_SHELL], + strlen('shell'), + 'shell', + 1 + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_REQUEST; + + $response = $this->_get_channel_packet(self::CHANNEL_SHELL); + if ($response === false) { + return false; + } + + $this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_DATA; + + $this->bitmap |= self::MASK_SHELL; + + return true; + } + + /** + * Return the channel to be used with read() / write() + * + * @see self::read() + * @see self::write() + * @return int + * @access public + */ + function _get_interactive_channel() + { + switch (true) { + case $this->in_subsystem: + return self::CHANNEL_SUBSYSTEM; + case $this->in_request_pty_exec: + return self::CHANNEL_EXEC; + default: + return self::CHANNEL_SHELL; + } + } + + /** + * Return an available open channel + * + * @return int + * @access public + */ + function _get_open_channel() + { + $channel = self::CHANNEL_EXEC; + do { + if (isset($this->channel_status[$channel]) && $this->channel_status[$channel] == NET_SSH2_MSG_CHANNEL_OPEN) { + return $channel; + } + } while ($channel++ < self::CHANNEL_SUBSYSTEM); + + return false; + } + + /** + * Returns the output of an interactive shell + * + * Returns when there's a match for $expect, which can take the form of a string literal or, + * if $mode == self::READ_REGEX, a regular expression. + * + * @see self::write() + * @param string $expect + * @param int $mode + * @return string + * @access public + */ + function read($expect = '', $mode = self::READ_SIMPLE) + { + $this->curTimeout = $this->timeout; + $this->is_timeout = false; + + if (!$this->isAuthenticated()) { + user_error('Operation disallowed prior to login()'); + return false; + } + + if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) { + user_error('Unable to initiate an interactive shell session'); + return false; + } + + $channel = $this->_get_interactive_channel(); + + $match = $expect; + while (true) { + if ($mode == self::READ_REGEX) { + preg_match($expect, substr($this->interactiveBuffer, -1024), $matches); + $match = isset($matches[0]) ? $matches[0] : ''; + } + $pos = strlen($match) ? strpos($this->interactiveBuffer, $match) : false; + if ($pos !== false) { + return $this->_string_shift($this->interactiveBuffer, $pos + strlen($match)); + } + $response = $this->_get_channel_packet($channel); + if (is_bool($response)) { + $this->in_request_pty_exec = false; + return $response ? $this->_string_shift($this->interactiveBuffer, strlen($this->interactiveBuffer)) : false; + } + + $this->interactiveBuffer.= $response; + } + } + + /** + * Inputs a command into an interactive shell. + * + * @see self::read() + * @param string $cmd + * @return bool + * @access public + */ + function write($cmd) + { + if (!$this->isAuthenticated()) { + user_error('Operation disallowed prior to login()'); + return false; + } + + if (!($this->bitmap & self::MASK_SHELL) && !$this->_initShell()) { + user_error('Unable to initiate an interactive shell session'); + return false; + } + + return $this->_send_channel_packet($this->_get_interactive_channel(), $cmd); + } + + /** + * Start a subsystem. + * + * Right now only one subsystem at a time is supported. To support multiple subsystem's stopSubsystem() could accept + * a string that contained the name of the subsystem, but at that point, only one subsystem of each type could be opened. + * To support multiple subsystem's of the same name maybe it'd be best if startSubsystem() generated a new channel id and + * returns that and then that that was passed into stopSubsystem() but that'll be saved for a future date and implemented + * if there's sufficient demand for such a feature. + * + * @see self::stopSubsystem() + * @param string $subsystem + * @return bool + * @access public + */ + function startSubsystem($subsystem) + { + $this->window_size_server_to_client[self::CHANNEL_SUBSYSTEM] = $this->window_size; + + $packet = pack( + 'CNa*N3', + NET_SSH2_MSG_CHANNEL_OPEN, + strlen('session'), + 'session', + self::CHANNEL_SUBSYSTEM, + $this->window_size, + 0x4000 + ); + + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_OPEN; + + $response = $this->_get_channel_packet(self::CHANNEL_SUBSYSTEM); + if ($response === false) { + return false; + } + + $packet = pack( + 'CNNa*CNa*', + NET_SSH2_MSG_CHANNEL_REQUEST, + $this->server_channels[self::CHANNEL_SUBSYSTEM], + strlen('subsystem'), + 'subsystem', + 1, + strlen($subsystem), + $subsystem + ); + if (!$this->_send_binary_packet($packet)) { + return false; + } + + $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_REQUEST; + + $response = $this->_get_channel_packet(self::CHANNEL_SUBSYSTEM); + + if ($response === false) { + return false; + } + + $this->channel_status[self::CHANNEL_SUBSYSTEM] = NET_SSH2_MSG_CHANNEL_DATA; + + $this->bitmap |= self::MASK_SHELL; + $this->in_subsystem = true; + + return true; + } + + /** + * Stops a subsystem. + * + * @see self::startSubsystem() + * @return bool + * @access public + */ + function stopSubsystem() + { + $this->in_subsystem = false; + $this->_close_channel(self::CHANNEL_SUBSYSTEM); + return true; + } + + /** + * Closes a channel + * + * If read() timed out you might want to just close the channel and have it auto-restart on the next read() call + * + * @access public + */ + function reset() + { + $this->_close_channel($this->_get_interactive_channel()); + } + + /** + * Is timeout? + * + * Did exec() or read() return because they timed out or because they encountered the end? + * + * @access public + */ + function isTimeout() + { + return $this->is_timeout; + } + + /** + * Disconnect + * + * @access public + */ + function disconnect() + { + $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + if (isset($this->realtime_log_file) && is_resource($this->realtime_log_file)) { + fclose($this->realtime_log_file); + } + } + + /** + * Destructor. + * + * Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call + * disconnect(). + * + * @access public + */ + function __destruct() + { + $this->disconnect(); + } + + /** + * Is the connection still active? + * + * @return bool + * @access public + */ + function isConnected() + { + return (bool) ($this->bitmap & self::MASK_CONNECTED); + } + + /** + * Have you successfully been logged in? + * + * @return bool + * @access public + */ + function isAuthenticated() + { + return (bool) ($this->bitmap & self::MASK_LOGIN); + } + + /** + * Gets Binary Packets + * + * See '6. Binary Packet Protocol' of rfc4253 for more info. + * + * @see self::_send_binary_packet() + * @return string + * @access private + */ + function _get_binary_packet() + { + if (!is_resource($this->fsock) || feof($this->fsock)) { + user_error('Connection closed prematurely'); + $this->bitmap = 0; + return false; + } + + $start = microtime(true); + $raw = stream_get_contents($this->fsock, $this->decrypt_block_size); + + if (!strlen($raw)) { + return ''; + } + + if ($this->decrypt !== false) { + $raw = $this->decrypt->decrypt($raw); + } + if ($raw === false) { + user_error('Unable to decrypt content'); + return false; + } + + if (strlen($raw) < 5) { + return false; + } + extract(unpack('Npacket_length/Cpadding_length', $this->_string_shift($raw, 5))); + + $remaining_length = $packet_length + 4 - $this->decrypt_block_size; + + // quoting , + // "implementations SHOULD check that the packet length is reasonable" + // PuTTY uses 0x9000 as the actual max packet size and so to shall we + if ($remaining_length < -$this->decrypt_block_size || $remaining_length > 0x9000 || $remaining_length % $this->decrypt_block_size != 0) { + user_error('Invalid size'); + return false; + } + + $buffer = ''; + while ($remaining_length > 0) { + $temp = stream_get_contents($this->fsock, $remaining_length); + if ($temp === false || feof($this->fsock)) { + user_error('Error reading from socket'); + $this->bitmap = 0; + return false; + } + $buffer.= $temp; + $remaining_length-= strlen($temp); + } + $stop = microtime(true); + if (strlen($buffer)) { + $raw.= $this->decrypt !== false ? $this->decrypt->decrypt($buffer) : $buffer; + } + + $payload = $this->_string_shift($raw, $packet_length - $padding_length - 1); + $padding = $this->_string_shift($raw, $padding_length); // should leave $raw empty + + if ($this->hmac_check !== false) { + $hmac = stream_get_contents($this->fsock, $this->hmac_size); + if ($hmac === false || strlen($hmac) != $this->hmac_size) { + user_error('Error reading socket'); + $this->bitmap = 0; + return false; + } elseif ($hmac != $this->hmac_check->hash(pack('NNCa*', $this->get_seq_no, $packet_length, $padding_length, $payload . $padding))) { + user_error('Invalid HMAC'); + return false; + } + } + + //if ($this->decompress) { + // $payload = gzinflate(substr($payload, 2)); + //} + + $this->get_seq_no++; + + if (defined('NET_SSH2_LOGGING')) { + $current = microtime(true); + $message_number = isset($this->message_numbers[ord($payload[0])]) ? $this->message_numbers[ord($payload[0])] : 'UNKNOWN (' . ord($payload[0]) . ')'; + $message_number = '<- ' . $message_number . + ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)'; + $this->_append_log($message_number, $payload); + $this->last_packet = $current; + } + + return $this->_filter($payload); + } + + /** + * Filter Binary Packets + * + * Because some binary packets need to be ignored... + * + * @see self::_get_binary_packet() + * @return string + * @access private + */ + function _filter($payload) + { + switch (ord($payload[0])) { + case NET_SSH2_MSG_DISCONNECT: + $this->_string_shift($payload, 1); + if (strlen($payload) < 8) { + return false; + } + extract(unpack('Nreason_code/Nlength', $this->_string_shift($payload, 8))); + $this->errors[] = 'SSH_MSG_DISCONNECT: ' . $this->disconnect_reasons[$reason_code] . "\r\n" . utf8_decode($this->_string_shift($payload, $length)); + $this->bitmap = 0; + return false; + case NET_SSH2_MSG_IGNORE: + $payload = $this->_get_binary_packet(); + break; + case NET_SSH2_MSG_DEBUG: + $this->_string_shift($payload, 2); + if (strlen($payload) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($payload, 4))); + $this->errors[] = 'SSH_MSG_DEBUG: ' . utf8_decode($this->_string_shift($payload, $length)); + $payload = $this->_get_binary_packet(); + break; + case NET_SSH2_MSG_UNIMPLEMENTED: + return false; + case NET_SSH2_MSG_KEXINIT: + if ($this->session_id !== false) { + if (!$this->_key_exchange($payload)) { + $this->bitmap = 0; + return false; + } + $payload = $this->_get_binary_packet(); + } + } + + // see http://tools.ietf.org/html/rfc4252#section-5.4; only called when the encryption has been activated and when we haven't already logged in + if (($this->bitmap & self::MASK_CONNECTED) && !$this->isAuthenticated() && ord($payload[0]) == NET_SSH2_MSG_USERAUTH_BANNER) { + $this->_string_shift($payload, 1); + if (strlen($payload) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($payload, 4))); + $this->banner_message = utf8_decode($this->_string_shift($payload, $length)); + $payload = $this->_get_binary_packet(); + } + + // only called when we've already logged in + if (($this->bitmap & self::MASK_CONNECTED) && $this->isAuthenticated()) { + switch (ord($payload[0])) { + case NET_SSH2_MSG_GLOBAL_REQUEST: // see http://tools.ietf.org/html/rfc4254#section-4 + if (strlen($payload) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($payload, 4))); + $this->errors[] = 'SSH_MSG_GLOBAL_REQUEST: ' . $this->_string_shift($payload, $length); + + if (!$this->_send_binary_packet(pack('C', NET_SSH2_MSG_REQUEST_FAILURE))) { + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + + $payload = $this->_get_binary_packet(); + break; + case NET_SSH2_MSG_CHANNEL_OPEN: // see http://tools.ietf.org/html/rfc4254#section-5.1 + $this->_string_shift($payload, 1); + if (strlen($payload) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($payload, 4))); + $data = $this->_string_shift($payload, $length); + if (strlen($payload) < 4) { + return false; + } + extract(unpack('Nserver_channel', $this->_string_shift($payload, 4))); + switch ($data) { + case 'auth-agent': + case 'auth-agent@openssh.com': + if (isset($this->agent)) { + $new_channel = self::CHANNEL_AGENT_FORWARD; + + if (strlen($payload) < 8) { + return false; + } + extract(unpack('Nremote_window_size', $this->_string_shift($payload, 4))); + extract(unpack('Nremote_maximum_packet_size', $this->_string_shift($payload, 4))); + + $this->packet_size_client_to_server[$new_channel] = $remote_window_size; + $this->window_size_server_to_client[$new_channel] = $remote_maximum_packet_size; + $this->window_size_client_to_server[$new_channel] = $this->window_size; + + $packet_size = 0x4000; + + $packet = pack( + 'CN4', + NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, + $server_channel, + $new_channel, + $packet_size, + $packet_size + ); + + $this->server_channels[$new_channel] = $server_channel; + $this->channel_status[$new_channel] = NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION; + if (!$this->_send_binary_packet($packet)) { + return false; + } + } + break; + default: + $packet = pack( + 'CN3a*Na*', + NET_SSH2_MSG_REQUEST_FAILURE, + $server_channel, + NET_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED, + 0, + '', + 0, + '' + ); + + if (!$this->_send_binary_packet($packet)) { + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + } + $payload = $this->_get_binary_packet(); + break; + case NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST: + $this->_string_shift($payload, 1); + if (strlen($payload) < 8) { + return false; + } + extract(unpack('Nchannel', $this->_string_shift($payload, 4))); + extract(unpack('Nwindow_size', $this->_string_shift($payload, 4))); + $this->window_size_client_to_server[$channel]+= $window_size; + + $payload = ($this->bitmap & self::MASK_WINDOW_ADJUST) ? true : $this->_get_binary_packet(); + } + } + + return $payload; + } + + /** + * Enable Quiet Mode + * + * Suppress stderr from output + * + * @access public + */ + function enableQuietMode() + { + $this->quiet_mode = true; + } + + /** + * Disable Quiet Mode + * + * Show stderr in output + * + * @access public + */ + function disableQuietMode() + { + $this->quiet_mode = false; + } + + /** + * Returns whether Quiet Mode is enabled or not + * + * @see self::enableQuietMode() + * @see self::disableQuietMode() + * @access public + * @return bool + */ + function isQuietModeEnabled() + { + return $this->quiet_mode; + } + + /** + * Enable request-pty when using exec() + * + * @access public + */ + function enablePTY() + { + $this->request_pty = true; + } + + /** + * Disable request-pty when using exec() + * + * @access public + */ + function disablePTY() + { + if ($this->in_request_pty_exec) { + $this->_close_channel(self::CHANNEL_EXEC); + $this->in_request_pty_exec = false; + } + $this->request_pty = false; + } + + /** + * Returns whether request-pty is enabled or not + * + * @see self::enablePTY() + * @see self::disablePTY() + * @access public + * @return bool + */ + function isPTYEnabled() + { + return $this->request_pty; + } + + /** + * Gets channel data + * + * Returns the data as a string if it's available and false if not. + * + * @param $client_channel + * @return mixed + * @access private + */ + function _get_channel_packet($client_channel, $skip_extended = false) + { + if (!empty($this->channel_buffers[$client_channel])) { + return array_shift($this->channel_buffers[$client_channel]); + } + + while (true) { + if ($this->curTimeout) { + if ($this->curTimeout < 0) { + $this->is_timeout = true; + return true; + } + + $read = array($this->fsock); + $write = $except = null; + + $start = microtime(true); + $sec = floor($this->curTimeout); + $usec = 1000000 * ($this->curTimeout - $sec); + // on windows this returns a "Warning: Invalid CRT parameters detected" error + if (!@stream_select($read, $write, $except, $sec, $usec) && !count($read)) { + $this->is_timeout = true; + return true; + } + $elapsed = microtime(true) - $start; + $this->curTimeout-= $elapsed; + } + + $response = $this->_get_binary_packet(); + if ($response === false) { + user_error('Connection closed by server'); + return false; + } + if ($client_channel == -1 && $response === true) { + return true; + } + if (!strlen($response)) { + return ''; + } + + if (!strlen($response)) { + return false; + } + extract(unpack('Ctype', $this->_string_shift($response, 1))); + + if (strlen($response) < 4) { + return false; + } + if ($type == NET_SSH2_MSG_CHANNEL_OPEN) { + extract(unpack('Nlength', $this->_string_shift($response, 4))); + } else { + extract(unpack('Nchannel', $this->_string_shift($response, 4))); + } + + // will not be setup yet on incoming channel open request + if (isset($channel) && isset($this->channel_status[$channel]) && isset($this->window_size_server_to_client[$channel])) { + $this->window_size_server_to_client[$channel]-= strlen($response); + + // resize the window, if appropriate + if ($this->window_size_server_to_client[$channel] < 0) { + $packet = pack('CNN', NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST, $this->server_channels[$channel], $this->window_size); + if (!$this->_send_binary_packet($packet)) { + return false; + } + $this->window_size_server_to_client[$channel]+= $this->window_size; + } + + switch ($this->channel_status[$channel]) { + case NET_SSH2_MSG_CHANNEL_OPEN: + switch ($type) { + case NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nserver_channel', $this->_string_shift($response, 4))); + $this->server_channels[$channel] = $server_channel; + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nwindow_size', $this->_string_shift($response, 4))); + if ($window_size < 0) { + $window_size&= 0x7FFFFFFF; + $window_size+= 0x80000000; + } + $this->window_size_client_to_server[$channel] = $window_size; + if (strlen($response) < 4) { + return false; + } + $temp = unpack('Npacket_size_client_to_server', $this->_string_shift($response, 4)); + $this->packet_size_client_to_server[$channel] = $temp['packet_size_client_to_server']; + $result = $client_channel == $channel ? true : $this->_get_channel_packet($client_channel, $skip_extended); + $this->_on_channel_open(); + return $result; + //case NET_SSH2_MSG_CHANNEL_OPEN_FAILURE: + default: + user_error('Unable to open channel'); + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + break; + case NET_SSH2_MSG_CHANNEL_REQUEST: + switch ($type) { + case NET_SSH2_MSG_CHANNEL_SUCCESS: + return true; + case NET_SSH2_MSG_CHANNEL_FAILURE: + return false; + default: + user_error('Unable to fulfill channel request'); + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + case NET_SSH2_MSG_CHANNEL_CLOSE: + return $type == NET_SSH2_MSG_CHANNEL_CLOSE ? true : $this->_get_channel_packet($client_channel, $skip_extended); + } + } + + // ie. $this->channel_status[$channel] == NET_SSH2_MSG_CHANNEL_DATA + + switch ($type) { + case NET_SSH2_MSG_CHANNEL_DATA: + /* + if ($channel == self::CHANNEL_EXEC) { + // SCP requires null packets, such as this, be sent. further, in the case of the ssh.com SSH server + // this actually seems to make things twice as fast. more to the point, the message right after + // SSH_MSG_CHANNEL_DATA (usually SSH_MSG_IGNORE) won't block for as long as it would have otherwise. + // in OpenSSH it slows things down but only by a couple thousandths of a second. + $this->_send_channel_packet($channel, chr(0)); + } + */ + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $data = $this->_string_shift($response, $length); + + if ($channel == self::CHANNEL_AGENT_FORWARD) { + $agent_response = $this->agent->_forward_data($data); + if (!is_bool($agent_response)) { + $this->_send_channel_packet($channel, $agent_response); + } + break; + } + + if ($client_channel == $channel) { + return $data; + } + if (!isset($this->channel_buffers[$channel])) { + $this->channel_buffers[$channel] = array(); + } + $this->channel_buffers[$channel][] = $data; + break; + case NET_SSH2_MSG_CHANNEL_EXTENDED_DATA: + /* + if ($client_channel == self::CHANNEL_EXEC) { + $this->_send_channel_packet($client_channel, chr(0)); + } + */ + // currently, there's only one possible value for $data_type_code: NET_SSH2_EXTENDED_DATA_STDERR + if (strlen($response) < 8) { + return false; + } + extract(unpack('Ndata_type_code/Nlength', $this->_string_shift($response, 8))); + $data = $this->_string_shift($response, $length); + $this->stdErrorLog.= $data; + if ($skip_extended || $this->quiet_mode) { + break; + } + if ($client_channel == $channel) { + return $data; + } + if (!isset($this->channel_buffers[$channel])) { + $this->channel_buffers[$channel] = array(); + } + $this->channel_buffers[$channel][] = $data; + break; + case NET_SSH2_MSG_CHANNEL_REQUEST: + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $value = $this->_string_shift($response, $length); + switch ($value) { + case 'exit-signal': + $this->_string_shift($response, 1); + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + $this->errors[] = 'SSH_MSG_CHANNEL_REQUEST (exit-signal): ' . $this->_string_shift($response, $length); + $this->_string_shift($response, 1); + if (strlen($response) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($response, 4))); + if ($length) { + $this->errors[count($this->errors)].= "\r\n" . $this->_string_shift($response, $length); + } + + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel])); + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel])); + + $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_EOF; + + break; + case 'exit-status': + if (strlen($response) < 5) { + return false; + } + extract(unpack('Cfalse/Nexit_status', $this->_string_shift($response, 5))); + $this->exit_status = $exit_status; + + // "The client MAY ignore these messages." + // -- http://tools.ietf.org/html/rfc4254#section-6.10 + + break; + default: + // "Some systems may not implement signals, in which case they SHOULD ignore this message." + // -- http://tools.ietf.org/html/rfc4254#section-6.9 + break; + } + break; + case NET_SSH2_MSG_CHANNEL_CLOSE: + $this->curTimeout = 0; + + if ($this->bitmap & self::MASK_SHELL) { + $this->bitmap&= ~self::MASK_SHELL; + } + if ($this->channel_status[$channel] != NET_SSH2_MSG_CHANNEL_EOF) { + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$channel])); + } + + $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_CLOSE; + if ($client_channel == $channel) { + return true; + } + case NET_SSH2_MSG_CHANNEL_EOF: + break; + default: + user_error('Error reading channel data'); + return $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION); + } + } + } + + /** + * Sends Binary Packets + * + * See '6. Binary Packet Protocol' of rfc4253 for more info. + * + * @param string $data + * @param string $logged + * @see self::_get_binary_packet() + * @return bool + * @access private + */ + function _send_binary_packet($data, $logged = null) + { + if (!is_resource($this->fsock) || feof($this->fsock)) { + user_error('Connection closed prematurely'); + $this->bitmap = 0; + return false; + } + + //if ($this->compress) { + // // the -4 removes the checksum: + // // http://php.net/function.gzcompress#57710 + // $data = substr(gzcompress($data), 0, -4); + //} + + // 4 (packet length) + 1 (padding length) + 4 (minimal padding amount) == 9 + $packet_length = strlen($data) + 9; + // round up to the nearest $this->encrypt_block_size + $packet_length+= (($this->encrypt_block_size - 1) * $packet_length) % $this->encrypt_block_size; + // subtracting strlen($data) is obvious - subtracting 5 is necessary because of packet_length and padding_length + $padding_length = $packet_length - strlen($data) - 5; + $padding = Random::string($padding_length); + + // we subtract 4 from packet_length because the packet_length field isn't supposed to include itself + $packet = pack('NCa*', $packet_length - 4, $padding_length, $data . $padding); + + $hmac = $this->hmac_create !== false ? $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet)) : ''; + $this->send_seq_no++; + + if ($this->encrypt !== false) { + $packet = $this->encrypt->encrypt($packet); + } + + $packet.= $hmac; + + $start = microtime(true); + $result = strlen($packet) == fputs($this->fsock, $packet); + $stop = microtime(true); + + if (defined('NET_SSH2_LOGGING')) { + $current = microtime(true); + $message_number = isset($this->message_numbers[ord($data[0])]) ? $this->message_numbers[ord($data[0])] : 'UNKNOWN (' . ord($data[0]) . ')'; + $message_number = '-> ' . $message_number . + ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)'; + $this->_append_log($message_number, isset($logged) ? $logged : $data); + $this->last_packet = $current; + } + + return $result; + } + + /** + * Logs data packets + * + * Makes sure that only the last 1MB worth of packets will be logged + * + * @param string $data + * @access private + */ + function _append_log($message_number, $message) + { + // remove the byte identifying the message type from all but the first two messages (ie. the identification strings) + if (strlen($message_number) > 2) { + $this->_string_shift($message); + } + + switch (NET_SSH2_LOGGING) { + // useful for benchmarks + case self::LOG_SIMPLE: + $this->message_number_log[] = $message_number; + break; + // the most useful log for SSH2 + case self::LOG_COMPLEX: + $this->message_number_log[] = $message_number; + $this->log_size+= strlen($message); + $this->message_log[] = $message; + while ($this->log_size > self::LOG_MAX_SIZE) { + $this->log_size-= strlen(array_shift($this->message_log)); + array_shift($this->message_number_log); + } + break; + // dump the output out realtime; packets may be interspersed with non packets, + // passwords won't be filtered out and select other packets may not be correctly + // identified + case self::LOG_REALTIME: + switch (PHP_SAPI) { + case 'cli': + $start = $stop = "\r\n"; + break; + default: + $start = '
';
+                        $stop = '
'; + } + echo $start . $this->_format_log(array($message), array($message_number)) . $stop; + @flush(); + @ob_flush(); + break; + // basically the same thing as self::LOG_REALTIME with the caveat that self::LOG_REALTIME_FILE + // needs to be defined and that the resultant log file will be capped out at self::LOG_MAX_SIZE. + // the earliest part of the log file is denoted by the first <<< START >>> and is not going to necessarily + // at the beginning of the file + case self::LOG_REALTIME_FILE: + if (!isset($this->realtime_log_file)) { + // PHP doesn't seem to like using constants in fopen() + $filename = self::LOG_REALTIME_FILENAME; + $fp = fopen($filename, 'w'); + $this->realtime_log_file = $fp; + } + if (!is_resource($this->realtime_log_file)) { + break; + } + $entry = $this->_format_log(array($message), array($message_number)); + if ($this->realtime_log_wrap) { + $temp = "<<< START >>>\r\n"; + $entry.= $temp; + fseek($this->realtime_log_file, ftell($this->realtime_log_file) - strlen($temp)); + } + $this->realtime_log_size+= strlen($entry); + if ($this->realtime_log_size > self::LOG_MAX_SIZE) { + fseek($this->realtime_log_file, 0); + $this->realtime_log_size = strlen($entry); + $this->realtime_log_wrap = true; + } + fputs($this->realtime_log_file, $entry); + } + } + + /** + * Sends channel data + * + * Spans multiple SSH_MSG_CHANNEL_DATAs if appropriate + * + * @param int $client_channel + * @param string $data + * @return bool + * @access private + */ + function _send_channel_packet($client_channel, $data) + { + while (strlen($data)) { + if (!$this->window_size_client_to_server[$client_channel]) { + $this->bitmap^= self::MASK_WINDOW_ADJUST; + // using an invalid channel will let the buffers be built up for the valid channels + $this->_get_channel_packet(-1); + $this->bitmap^= self::MASK_WINDOW_ADJUST; + } + + /* The maximum amount of data allowed is determined by the maximum + packet size for the channel, and the current window size, whichever + is smaller. + -- http://tools.ietf.org/html/rfc4254#section-5.2 */ + $max_size = min( + $this->packet_size_client_to_server[$client_channel], + $this->window_size_client_to_server[$client_channel] + ); + + $temp = $this->_string_shift($data, $max_size); + $packet = pack( + 'CN2a*', + NET_SSH2_MSG_CHANNEL_DATA, + $this->server_channels[$client_channel], + strlen($temp), + $temp + ); + $this->window_size_client_to_server[$client_channel]-= strlen($temp); + if (!$this->_send_binary_packet($packet)) { + return false; + } + } + + return true; + } + + /** + * Closes and flushes a channel + * + * \phpseclib\Net\SSH2 doesn't properly close most channels. For exec() channels are normally closed by the server + * and for SFTP channels are presumably closed when the client disconnects. This functions is intended + * for SCP more than anything. + * + * @param int $client_channel + * @param bool $want_reply + * @return bool + * @access private + */ + function _close_channel($client_channel, $want_reply = false) + { + // see http://tools.ietf.org/html/rfc4254#section-5.3 + + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_EOF, $this->server_channels[$client_channel])); + + if (!$want_reply) { + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel])); + } + + $this->channel_status[$client_channel] = NET_SSH2_MSG_CHANNEL_CLOSE; + + $this->curTimeout = 0; + + while (!is_bool($this->_get_channel_packet($client_channel))) { + } + + if ($want_reply) { + $this->_send_binary_packet(pack('CN', NET_SSH2_MSG_CHANNEL_CLOSE, $this->server_channels[$client_channel])); + } + + if ($this->bitmap & self::MASK_SHELL) { + $this->bitmap&= ~self::MASK_SHELL; + } + } + + /** + * Disconnect + * + * @param int $reason + * @return bool + * @access private + */ + function _disconnect($reason) + { + if ($this->bitmap & self::MASK_CONNECTED) { + $data = pack('CNNa*Na*', NET_SSH2_MSG_DISCONNECT, $reason, 0, '', 0, ''); + $this->_send_binary_packet($data); + $this->bitmap = 0; + fclose($this->fsock); + return false; + } + } + + /** + * String Shift + * + * Inspired by array_shift + * + * @param string $string + * @param int $index + * @return string + * @access private + */ + function _string_shift(&$string, $index = 1) + { + $substr = substr($string, 0, $index); + $string = substr($string, $index); + return $substr; + } + + /** + * Define Array + * + * Takes any number of arrays whose indices are integers and whose values are strings and defines a bunch of + * named constants from it, using the value as the name of the constant and the index as the value of the constant. + * If any of the constants that would be defined already exists, none of the constants will be defined. + * + * @param array $array + * @access private + */ + function _define_array() + { + $args = func_get_args(); + foreach ($args as $arg) { + foreach ($arg as $key => $value) { + if (!defined($value)) { + define($value, $key); + } else { + break 2; + } + } + } + } + + /** + * Returns a log of the packets that have been sent and received. + * + * Returns a string if NET_SSH2_LOGGING == self::LOG_COMPLEX, an array if NET_SSH2_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SSH2_LOGGING') + * + * @access public + * @return array|false|string + */ + function getLog() + { + if (!defined('NET_SSH2_LOGGING')) { + return false; + } + + switch (NET_SSH2_LOGGING) { + case self::LOG_SIMPLE: + return $this->message_number_log; + case self::LOG_COMPLEX: + $log = $this->_format_log($this->message_log, $this->message_number_log); + return PHP_SAPI == 'cli' ? $log : '
' . $log . '
'; + default: + return false; + } + } + + /** + * Formats a log for printing + * + * @param array $message_log + * @param array $message_number_log + * @access private + * @return string + */ + function _format_log($message_log, $message_number_log) + { + $output = ''; + for ($i = 0; $i < count($message_log); $i++) { + $output.= $message_number_log[$i] . "\r\n"; + $current_log = $message_log[$i]; + $j = 0; + do { + if (strlen($current_log)) { + $output.= str_pad(dechex($j), 7, '0', STR_PAD_LEFT) . '0 '; + } + $fragment = $this->_string_shift($current_log, $this->log_short_width); + $hex = substr(preg_replace_callback('#.#s', array($this, '_format_log_helper'), $fragment), strlen($this->log_boundary)); + // replace non ASCII printable characters with dots + // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters + // also replace < with a . since < messes up the output on web browsers + $raw = preg_replace('#[^\x20-\x7E]|<#', '.', $fragment); + $output.= str_pad($hex, $this->log_long_width - $this->log_short_width, ' ') . $raw . "\r\n"; + $j++; + } while (strlen($current_log)); + $output.= "\r\n"; + } + + return $output; + } + + /** + * Helper function for _format_log + * + * For use with preg_replace_callback() + * + * @param array $matches + * @access private + * @return string + */ + function _format_log_helper($matches) + { + return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT); + } + + /** + * Helper function for agent->_on_channel_open() + * + * Used when channels are created to inform agent + * of said channel opening. Must be called after + * channel open confirmation received + * + * @access private + */ + function _on_channel_open() + { + if (isset($this->agent)) { + $this->agent->_on_channel_open($this); + } + } + + /** + * Returns the first value of the intersection of two arrays or false if + * the intersection is empty. The order is defined by the first parameter. + * + * @param array $array1 + * @param array $array2 + * @return mixed False if intersection is empty, else intersected value. + * @access private + */ + function _array_intersect_first($array1, $array2) + { + foreach ($array1 as $value) { + if (in_array($value, $array2)) { + return $value; + } + } + return false; + } + + /** + * Returns all errors + * + * @return string[] + * @access public + */ + function getErrors() + { + return $this->errors; + } + + /** + * Returns the last error + * + * @return string + * @access public + */ + function getLastError() + { + $count = count($this->errors); + + if ($count > 0) { + return $this->errors[$count - 1]; + } + } + + /** + * Return the server identification. + * + * @return string + * @access public + */ + function getServerIdentification() + { + $this->_connect(); + + return $this->server_identifier; + } + + /** + * Return a list of the key exchange algorithms the server supports. + * + * @return array + * @access public + */ + function getKexAlgorithms() + { + $this->_connect(); + + return $this->kex_algorithms; + } + + /** + * Return a list of the host key (public key) algorithms the server supports. + * + * @return array + * @access public + */ + function getServerHostKeyAlgorithms() + { + $this->_connect(); + + return $this->server_host_key_algorithms; + } + + /** + * Return a list of the (symmetric key) encryption algorithms the server supports, when receiving stuff from the client. + * + * @return array + * @access public + */ + function getEncryptionAlgorithmsClient2Server() + { + $this->_connect(); + + return $this->encryption_algorithms_client_to_server; + } + + /** + * Return a list of the (symmetric key) encryption algorithms the server supports, when sending stuff to the client. + * + * @return array + * @access public + */ + function getEncryptionAlgorithmsServer2Client() + { + $this->_connect(); + + return $this->encryption_algorithms_server_to_client; + } + + /** + * Return a list of the MAC algorithms the server supports, when receiving stuff from the client. + * + * @return array + * @access public + */ + function getMACAlgorithmsClient2Server() + { + $this->_connect(); + + return $this->mac_algorithms_client_to_server; + } + + /** + * Return a list of the MAC algorithms the server supports, when sending stuff to the client. + * + * @return array + * @access public + */ + function getMACAlgorithmsServer2Client() + { + $this->_connect(); + + return $this->mac_algorithms_server_to_client; + } + + /** + * Return a list of the compression algorithms the server supports, when receiving stuff from the client. + * + * @return array + * @access public + */ + function getCompressionAlgorithmsClient2Server() + { + $this->_connect(); + + return $this->compression_algorithms_client_to_server; + } + + /** + * Return a list of the compression algorithms the server supports, when sending stuff to the client. + * + * @return array + * @access public + */ + function getCompressionAlgorithmsServer2Client() + { + $this->_connect(); + + return $this->compression_algorithms_server_to_client; + } + + /** + * Return a list of the languages the server supports, when sending stuff to the client. + * + * @return array + * @access public + */ + function getLanguagesServer2Client() + { + $this->_connect(); + + return $this->languages_server_to_client; + } + + /** + * Return a list of the languages the server supports, when receiving stuff from the client. + * + * @return array + * @access public + */ + function getLanguagesClient2Server() + { + $this->_connect(); + + return $this->languages_client_to_server; + } + + /** + * Returns the banner message. + * + * Quoting from the RFC, "in some jurisdictions, sending a warning message before + * authentication may be relevant for getting legal protection." + * + * @return string + * @access public + */ + function getBannerMessage() + { + return $this->banner_message; + } + + /** + * Returns the server public host key. + * + * Caching this the first time you connect to a server and checking the result on subsequent connections + * is recommended. Returns false if the server signature is not signed correctly with the public host key. + * + * @return mixed + * @access public + */ + function getServerPublicHostKey() + { + if (!($this->bitmap & self::MASK_CONSTRUCTOR)) { + if (!$this->_connect()) { + return false; + } + } + + $signature = $this->signature; + $server_public_host_key = $this->server_public_host_key; + + if (strlen($server_public_host_key) < 4) { + return false; + } + extract(unpack('Nlength', $this->_string_shift($server_public_host_key, 4))); + $this->_string_shift($server_public_host_key, $length); + + if ($this->signature_validated) { + return $this->bitmap ? + $this->signature_format . ' ' . base64_encode($this->server_public_host_key) : + false; + } + + $this->signature_validated = true; + + switch ($this->signature_format) { + case 'ssh-dss': + $zero = new BigInteger(); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $p = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $q = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $g = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $y = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256); + + /* The value for 'dss_signature_blob' is encoded as a string containing + r, followed by s (which are 160-bit integers, without lengths or + padding, unsigned, and in network byte order). */ + $temp = unpack('Nlength', $this->_string_shift($signature, 4)); + if ($temp['length'] != 40) { + user_error('Invalid signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $r = new BigInteger($this->_string_shift($signature, 20), 256); + $s = new BigInteger($this->_string_shift($signature, 20), 256); + + switch (true) { + case $r->equals($zero): + case $r->compare($q) >= 0: + case $s->equals($zero): + case $s->compare($q) >= 0: + user_error('Invalid signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $w = $s->modInverse($q); + + $u1 = $w->multiply(new BigInteger(sha1($this->exchange_hash), 16)); + list(, $u1) = $u1->divide($q); + + $u2 = $w->multiply($r); + list(, $u2) = $u2->divide($q); + + $g = $g->modPow($u1, $p); + $y = $y->modPow($u2, $p); + + $v = $g->multiply($y); + list(, $v) = $v->divide($p); + list(, $v) = $v->divide($q); + + if (!$v->equals($r)) { + user_error('Bad server signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE); + } + + break; + case 'ssh-rsa': + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $e = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256); + + if (strlen($server_public_host_key) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4)); + $rawN = $this->_string_shift($server_public_host_key, $temp['length']); + $n = new BigInteger($rawN, -256); + $nLength = strlen(ltrim($rawN, "\0")); + + /* + if (strlen($signature) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($signature, 4)); + $signature = $this->_string_shift($signature, $temp['length']); + + $rsa = new RSA(); + $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1); + $rsa->loadKey(array('e' => $e, 'n' => $n), RSA::PUBLIC_FORMAT_RAW); + if (!$rsa->verify($this->exchange_hash, $signature)) { + user_error('Bad server signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE); + } + */ + + if (strlen($signature) < 4) { + return false; + } + $temp = unpack('Nlength', $this->_string_shift($signature, 4)); + $s = new BigInteger($this->_string_shift($signature, $temp['length']), 256); + + // validate an RSA signature per "8.2 RSASSA-PKCS1-v1_5", "5.2.2 RSAVP1", and "9.1 EMSA-PSS" in the + // following URL: + // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf + + // also, see SSHRSA.c (rsa2_verifysig) in PuTTy's source. + + if ($s->compare(new BigInteger()) < 0 || $s->compare($n->subtract(new BigInteger(1))) > 0) { + user_error('Invalid signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED); + } + + $s = $s->modPow($e, $n); + $s = $s->toBytes(); + + $h = pack('N4H*', 0x00302130, 0x0906052B, 0x0E03021A, 0x05000414, sha1($this->exchange_hash)); + $h = chr(0x01) . str_repeat(chr(0xFF), $nLength - 2 - strlen($h)) . $h; + + if ($s != $h) { + user_error('Bad server signature'); + return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE); + } + break; + default: + user_error('Unsupported signature format'); + return $this->_disconnect(NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE); + } + + return $this->signature_format . ' ' . base64_encode($this->server_public_host_key); + } + + /** + * Returns the exit status of an SSH command or false. + * + * @return false|int + * @access public + */ + function getExitStatus() + { + if (is_null($this->exit_status)) { + return false; + } + return $this->exit_status; + } + + /** + * Returns the number of columns for the terminal window size. + * + * @return int + * @access public + */ + function getWindowColumns() + { + return $this->windowColumns; + } + + /** + * Returns the number of rows for the terminal window size. + * + * @return int + * @access public + */ + function getWindowRows() + { + return $this->windowRows; + } + + /** + * Sets the number of columns for the terminal window size. + * + * @param int $value + * @access public + */ + function setWindowColumns($value) + { + $this->windowColumns = $value; + } + + /** + * Sets the number of rows for the terminal window size. + * + * @param int $value + * @access public + */ + function setWindowRows($value) + { + $this->windowRows = $value; + } + + /** + * Sets the number of columns and rows for the terminal window size. + * + * @param int $columns + * @param int $rows + * @access public + */ + function setWindowSize($columns = 80, $rows = 24) + { + $this->windowColumns = $columns; + $this->windowRows = $rows; + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php new file mode 100644 index 00000000..a4ff0549 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php @@ -0,0 +1,308 @@ + + * login('username', $agent)) { + * exit('Login Failed'); + * } + * + * echo $ssh->exec('pwd'); + * echo $ssh->exec('ls -la'); + * ?> + * + * + * @category System + * @package SSH\Agent + * @author Jim Wigginton + * @copyright 2014 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + * @internal See http://api.libssh.org/rfc/PROTOCOL.agent + */ + +namespace phpseclib\System\SSH; + +use phpseclib\Crypt\RSA; +use phpseclib\System\SSH\Agent\Identity; + +/** + * Pure-PHP ssh-agent client identity factory + * + * requestIdentities() method pumps out \phpseclib\System\SSH\Agent\Identity objects + * + * @package SSH\Agent + * @author Jim Wigginton + * @access internal + */ +class Agent +{ + /**#@+ + * Message numbers + * + * @access private + */ + // to request SSH1 keys you have to use SSH_AGENTC_REQUEST_RSA_IDENTITIES (1) + const SSH_AGENTC_REQUEST_IDENTITIES = 11; + // this is the SSH2 response; the SSH1 response is SSH_AGENT_RSA_IDENTITIES_ANSWER (2). + const SSH_AGENT_IDENTITIES_ANSWER = 12; + // the SSH1 request is SSH_AGENTC_RSA_CHALLENGE (3) + const SSH_AGENTC_SIGN_REQUEST = 13; + // the SSH1 response is SSH_AGENT_RSA_RESPONSE (4) + const SSH_AGENT_SIGN_RESPONSE = 14; + /**#@-*/ + + /**@+ + * Agent forwarding status + * + * @access private + */ + // no forwarding requested and not active + const FORWARD_NONE = 0; + // request agent forwarding when opportune + const FORWARD_REQUEST = 1; + // forwarding has been request and is active + const FORWARD_ACTIVE = 2; + /**#@-*/ + + /** + * Unused + */ + const SSH_AGENT_FAILURE = 5; + + /** + * Socket Resource + * + * @var resource + * @access private + */ + var $fsock; + + /** + * Agent forwarding status + * + * @access private + */ + var $forward_status = self::FORWARD_NONE; + + /** + * Buffer for accumulating forwarded authentication + * agent data arriving on SSH data channel destined + * for agent unix socket + * + * @access private + */ + var $socket_buffer = ''; + + /** + * Tracking the number of bytes we are expecting + * to arrive for the agent socket on the SSH data + * channel + */ + var $expected_bytes = 0; + + /** + * Default Constructor + * + * @return \phpseclib\System\SSH\Agent + * @access public + */ + function __construct() + { + switch (true) { + case isset($_SERVER['SSH_AUTH_SOCK']): + $address = $_SERVER['SSH_AUTH_SOCK']; + break; + case isset($_ENV['SSH_AUTH_SOCK']): + $address = $_ENV['SSH_AUTH_SOCK']; + break; + default: + user_error('SSH_AUTH_SOCK not found'); + return false; + } + + $this->fsock = fsockopen('unix://' . $address, 0, $errno, $errstr); + if (!$this->fsock) { + user_error("Unable to connect to ssh-agent (Error $errno: $errstr)"); + } + } + + /** + * Request Identities + * + * See "2.5.2 Requesting a list of protocol 2 keys" + * Returns an array containing zero or more \phpseclib\System\SSH\Agent\Identity objects + * + * @return array + * @access public + */ + function requestIdentities() + { + if (!$this->fsock) { + return array(); + } + + $packet = pack('NC', 1, self::SSH_AGENTC_REQUEST_IDENTITIES); + if (strlen($packet) != fputs($this->fsock, $packet)) { + user_error('Connection closed while requesting identities'); + } + + $length = current(unpack('N', fread($this->fsock, 4))); + $type = ord(fread($this->fsock, 1)); + if ($type != self::SSH_AGENT_IDENTITIES_ANSWER) { + user_error('Unable to request identities'); + } + + $identities = array(); + $keyCount = current(unpack('N', fread($this->fsock, 4))); + for ($i = 0; $i < $keyCount; $i++) { + $length = current(unpack('N', fread($this->fsock, 4))); + $key_blob = fread($this->fsock, $length); + $key_str = 'ssh-rsa ' . base64_encode($key_blob); + $length = current(unpack('N', fread($this->fsock, 4))); + if ($length) { + $key_str.= ' ' . fread($this->fsock, $length); + } + $length = current(unpack('N', substr($key_blob, 0, 4))); + $key_type = substr($key_blob, 4, $length); + switch ($key_type) { + case 'ssh-rsa': + $key = new RSA(); + $key->loadKey($key_str); + break; + case 'ssh-dss': + // not currently supported + break; + } + // resources are passed by reference by default + if (isset($key)) { + $identity = new Identity($this->fsock); + $identity->setPublicKey($key); + $identity->setPublicKeyBlob($key_blob); + $identities[] = $identity; + unset($key); + } + } + + return $identities; + } + + /** + * Signal that agent forwarding should + * be requested when a channel is opened + * + * @param Net_SSH2 $ssh + * @return bool + * @access public + */ + function startSSHForwarding($ssh) + { + if ($this->forward_status == self::FORWARD_NONE) { + $this->forward_status = self::FORWARD_REQUEST; + } + } + + /** + * Request agent forwarding of remote server + * + * @param Net_SSH2 $ssh + * @return bool + * @access private + */ + function _request_forwarding($ssh) + { + $request_channel = $ssh->_get_open_channel(); + if ($request_channel === false) { + return false; + } + + $packet = pack( + 'CNNa*C', + NET_SSH2_MSG_CHANNEL_REQUEST, + $ssh->server_channels[$request_channel], + strlen('auth-agent-req@openssh.com'), + 'auth-agent-req@openssh.com', + 1 + ); + + $ssh->channel_status[$request_channel] = NET_SSH2_MSG_CHANNEL_REQUEST; + + if (!$ssh->_send_binary_packet($packet)) { + return false; + } + + $response = $ssh->_get_channel_packet($request_channel); + if ($response === false) { + return false; + } + + $ssh->channel_status[$request_channel] = NET_SSH2_MSG_CHANNEL_OPEN; + $this->forward_status = self::FORWARD_ACTIVE; + + return true; + } + + /** + * On successful channel open + * + * This method is called upon successful channel + * open to give the SSH Agent an opportunity + * to take further action. i.e. request agent forwarding + * + * @param Net_SSH2 $ssh + * @access private + */ + function _on_channel_open($ssh) + { + if ($this->forward_status == self::FORWARD_REQUEST) { + $this->_request_forwarding($ssh); + } + } + + /** + * Forward data to SSH Agent and return data reply + * + * @param string $data + * @return data from SSH Agent + * @access private + */ + function _forward_data($data) + { + if ($this->expected_bytes > 0) { + $this->socket_buffer.= $data; + $this->expected_bytes -= strlen($data); + } else { + $agent_data_bytes = current(unpack('N', $data)); + $current_data_bytes = strlen($data); + $this->socket_buffer = $data; + if ($current_data_bytes != $agent_data_bytes + 4) { + $this->expected_bytes = ($agent_data_bytes + 4) - $current_data_bytes; + return false; + } + } + + if (strlen($this->socket_buffer) != fwrite($this->fsock, $this->socket_buffer)) { + user_error('Connection closed attempting to forward data to SSH agent'); + } + + $this->socket_buffer = ''; + $this->expected_bytes = 0; + + $agent_reply_bytes = current(unpack('N', fread($this->fsock, 4))); + + $agent_reply_data = fread($this->fsock, $agent_reply_bytes); + $agent_reply_data = current(unpack('a*', $agent_reply_data)); + + return pack('Na*', $agent_reply_bytes, $agent_reply_data); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php new file mode 100644 index 00000000..b8cc6cde --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php @@ -0,0 +1,158 @@ + + * @copyright 2009 Jim Wigginton + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @link http://phpseclib.sourceforge.net + * @internal See http://api.libssh.org/rfc/PROTOCOL.agent + */ + +namespace phpseclib\System\SSH\Agent; + +use phpseclib\System\SSH\Agent; + +/** + * Pure-PHP ssh-agent client identity object + * + * Instantiation should only be performed by \phpseclib\System\SSH\Agent class. + * This could be thought of as implementing an interface that phpseclib\Crypt\RSA + * implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something. + * The methods in this interface would be getPublicKey and sign since those are the + * methods phpseclib looks for to perform public key authentication. + * + * @package SSH\Agent + * @author Jim Wigginton + * @access internal + */ +class Identity +{ + /** + * Key Object + * + * @var \phpseclib\Crypt\RSA + * @access private + * @see self::getPublicKey() + */ + var $key; + + /** + * Key Blob + * + * @var string + * @access private + * @see self::sign() + */ + var $key_blob; + + /** + * Socket Resource + * + * @var resource + * @access private + * @see self::sign() + */ + var $fsock; + + /** + * Default Constructor. + * + * @param resource $fsock + * @return \phpseclib\System\SSH\Agent\Identity + * @access private + */ + function __construct($fsock) + { + $this->fsock = $fsock; + } + + /** + * Set Public Key + * + * Called by \phpseclib\System\SSH\Agent::requestIdentities() + * + * @param \phpseclib\Crypt\RSA $key + * @access private + */ + function setPublicKey($key) + { + $this->key = $key; + $this->key->setPublicKey(); + } + + /** + * Set Public Key + * + * Called by \phpseclib\System\SSH\Agent::requestIdentities(). The key blob could be extracted from $this->key + * but this saves a small amount of computation. + * + * @param string $key_blob + * @access private + */ + function setPublicKeyBlob($key_blob) + { + $this->key_blob = $key_blob; + } + + /** + * Get Public Key + * + * Wrapper for $this->key->getPublicKey() + * + * @param int $format optional + * @return mixed + * @access public + */ + function getPublicKey($format = null) + { + return !isset($format) ? $this->key->getPublicKey() : $this->key->getPublicKey($format); + } + + /** + * Set Signature Mode + * + * Doesn't do anything as ssh-agent doesn't let you pick and choose the signature mode. ie. + * ssh-agent's only supported mode is \phpseclib\Crypt\RSA::SIGNATURE_PKCS1 + * + * @param int $mode + * @access public + */ + function setSignatureMode($mode) + { + } + + /** + * Create a signature + * + * See "2.6.2 Protocol 2 private key signature request" + * + * @param string $message + * @return string + * @access public + */ + function sign($message) + { + // the last parameter (currently 0) is for flags and ssh-agent only defines one flag (for ssh-dss): SSH_AGENT_OLD_SIGNATURE + $packet = pack('CNa*Na*N', Agent::SSH_AGENTC_SIGN_REQUEST, strlen($this->key_blob), $this->key_blob, strlen($message), $message, 0); + $packet = pack('Na*', strlen($packet), $packet); + if (strlen($packet) != fputs($this->fsock, $packet)) { + user_error('Connection closed during signing'); + } + + $length = current(unpack('N', fread($this->fsock, 4))); + $type = ord(fread($this->fsock, 1)); + if ($type != Agent::SSH_AGENT_SIGN_RESPONSE) { + user_error('Unable to retrieve signature'); + } + + $signature_blob = fread($this->fsock, $length - 1); + // the only other signature format defined - ssh-dss - is the same length as ssh-rsa + // the + 12 is for the other various SSH added length fields + return substr($signature_blob, strlen('ssh-rsa') + 12); + } +} diff --git a/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php new file mode 100644 index 00000000..0da0999f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/phpseclib/phpseclib/phpseclib/bootstrap.php @@ -0,0 +1,16 @@ +=5.3.0" + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/cache/src/CacheException.php b/mayor-orig/www/include/share/googleapi/psr/cache/src/CacheException.php new file mode 100644 index 00000000..e27f22f8 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/cache/src/CacheException.php @@ -0,0 +1,10 @@ +=5.3.0" + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/http-message/src/MessageInterface.php b/mayor-orig/www/include/share/googleapi/psr/http-message/src/MessageInterface.php new file mode 100644 index 00000000..dd46e5ec --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/http-message/src/MessageInterface.php @@ -0,0 +1,187 @@ +getHeaders() as $name => $values) { + * echo $name . ": " . implode(", ", $values); + * } + * + * // Emit headers iteratively: + * foreach ($message->getHeaders() as $name => $values) { + * foreach ($values as $value) { + * header(sprintf('%s: %s', $name, $value), false); + * } + * } + * + * While header names are not case-sensitive, getHeaders() will preserve the + * exact case in which headers were originally specified. + * + * @return string[][] Returns an associative array of the message's headers. Each + * key MUST be a header name, and each value MUST be an array of strings + * for that header. + */ + public function getHeaders(); + + /** + * Checks if a header exists by the given case-insensitive name. + * + * @param string $name Case-insensitive header field name. + * @return bool Returns true if any header names match the given header + * name using a case-insensitive string comparison. Returns false if + * no matching header name is found in the message. + */ + public function hasHeader($name); + + /** + * Retrieves a message header value by the given case-insensitive name. + * + * This method returns an array of all the header values of the given + * case-insensitive header name. + * + * If the header does not appear in the message, this method MUST return an + * empty array. + * + * @param string $name Case-insensitive header field name. + * @return string[] An array of string values as provided for the given + * header. If the header does not appear in the message, this method MUST + * return an empty array. + */ + public function getHeader($name); + + /** + * Retrieves a comma-separated string of the values for a single header. + * + * This method returns all of the header values of the given + * case-insensitive header name as a string concatenated together using + * a comma. + * + * NOTE: Not all header values may be appropriately represented using + * comma concatenation. For such headers, use getHeader() instead + * and supply your own delimiter when concatenating. + * + * If the header does not appear in the message, this method MUST return + * an empty string. + * + * @param string $name Case-insensitive header field name. + * @return string A string of values as provided for the given header + * concatenated together using a comma. If the header does not appear in + * the message, this method MUST return an empty string. + */ + public function getHeaderLine($name); + + /** + * Return an instance with the provided value replacing the specified header. + * + * While header names are case-insensitive, the casing of the header will + * be preserved by this function, and returned from getHeaders(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * new and/or updated header and value. + * + * @param string $name Case-insensitive header field name. + * @param string|string[] $value Header value(s). + * @return static + * @throws \InvalidArgumentException for invalid header names or values. + */ + public function withHeader($name, $value); + + /** + * Return an instance with the specified header appended with the given value. + * + * Existing values for the specified header will be maintained. The new + * value(s) will be appended to the existing list. If the header did not + * exist previously, it will be added. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * new header and/or value. + * + * @param string $name Case-insensitive header field name to add. + * @param string|string[] $value Header value(s). + * @return static + * @throws \InvalidArgumentException for invalid header names or values. + */ + public function withAddedHeader($name, $value); + + /** + * Return an instance without the specified header. + * + * Header resolution MUST be done without case-sensitivity. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that removes + * the named header. + * + * @param string $name Case-insensitive header field name to remove. + * @return static + */ + public function withoutHeader($name); + + /** + * Gets the body of the message. + * + * @return StreamInterface Returns the body as a stream. + */ + public function getBody(); + + /** + * Return an instance with the specified message body. + * + * The body MUST be a StreamInterface object. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return a new instance that has the + * new body stream. + * + * @param StreamInterface $body Body. + * @return static + * @throws \InvalidArgumentException When the body is not valid. + */ + public function withBody(StreamInterface $body); +} diff --git a/mayor-orig/www/include/share/googleapi/psr/http-message/src/RequestInterface.php b/mayor-orig/www/include/share/googleapi/psr/http-message/src/RequestInterface.php new file mode 100644 index 00000000..a96d4fd6 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/http-message/src/RequestInterface.php @@ -0,0 +1,129 @@ +getQuery()` + * or from the `QUERY_STRING` server param. + * + * @return array + */ + public function getQueryParams(); + + /** + * Return an instance with the specified query string arguments. + * + * These values SHOULD remain immutable over the course of the incoming + * request. They MAY be injected during instantiation, such as from PHP's + * $_GET superglobal, or MAY be derived from some other value such as the + * URI. In cases where the arguments are parsed from the URI, the data + * MUST be compatible with what PHP's parse_str() would return for + * purposes of how duplicate query parameters are handled, and how nested + * sets are handled. + * + * Setting query string arguments MUST NOT change the URI stored by the + * request, nor the values in the server params. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated query string arguments. + * + * @param array $query Array of query string arguments, typically from + * $_GET. + * @return static + */ + public function withQueryParams(array $query); + + /** + * Retrieve normalized file upload data. + * + * This method returns upload metadata in a normalized tree, with each leaf + * an instance of Psr\Http\Message\UploadedFileInterface. + * + * These values MAY be prepared from $_FILES or the message body during + * instantiation, or MAY be injected via withUploadedFiles(). + * + * @return array An array tree of UploadedFileInterface instances; an empty + * array MUST be returned if no data is present. + */ + public function getUploadedFiles(); + + /** + * Create a new instance with the specified uploaded files. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated body parameters. + * + * @param array $uploadedFiles An array tree of UploadedFileInterface instances. + * @return static + * @throws \InvalidArgumentException if an invalid structure is provided. + */ + public function withUploadedFiles(array $uploadedFiles); + + /** + * Retrieve any parameters provided in the request body. + * + * If the request Content-Type is either application/x-www-form-urlencoded + * or multipart/form-data, and the request method is POST, this method MUST + * return the contents of $_POST. + * + * Otherwise, this method may return any results of deserializing + * the request body content; as parsing returns structured content, the + * potential types MUST be arrays or objects only. A null value indicates + * the absence of body content. + * + * @return null|array|object The deserialized body parameters, if any. + * These will typically be an array or object. + */ + public function getParsedBody(); + + /** + * Return an instance with the specified body parameters. + * + * These MAY be injected during instantiation. + * + * If the request Content-Type is either application/x-www-form-urlencoded + * or multipart/form-data, and the request method is POST, use this method + * ONLY to inject the contents of $_POST. + * + * The data IS NOT REQUIRED to come from $_POST, but MUST be the results of + * deserializing the request body content. Deserialization/parsing returns + * structured data, and, as such, this method ONLY accepts arrays or objects, + * or a null value if nothing was available to parse. + * + * As an example, if content negotiation determines that the request data + * is a JSON payload, this method could be used to create a request + * instance with the deserialized parameters. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated body parameters. + * + * @param null|array|object $data The deserialized body data. This will + * typically be in an array or object. + * @return static + * @throws \InvalidArgumentException if an unsupported argument type is + * provided. + */ + public function withParsedBody($data); + + /** + * Retrieve attributes derived from the request. + * + * The request "attributes" may be used to allow injection of any + * parameters derived from the request: e.g., the results of path + * match operations; the results of decrypting cookies; the results of + * deserializing non-form-encoded message bodies; etc. Attributes + * will be application and request specific, and CAN be mutable. + * + * @return array Attributes derived from the request. + */ + public function getAttributes(); + + /** + * Retrieve a single derived request attribute. + * + * Retrieves a single derived request attribute as described in + * getAttributes(). If the attribute has not been previously set, returns + * the default value as provided. + * + * This method obviates the need for a hasAttribute() method, as it allows + * specifying a default value to return if the attribute is not found. + * + * @see getAttributes() + * @param string $name The attribute name. + * @param mixed $default Default value to return if the attribute does not exist. + * @return mixed + */ + public function getAttribute($name, $default = null); + + /** + * Return an instance with the specified derived request attribute. + * + * This method allows setting a single derived request attribute as + * described in getAttributes(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated attribute. + * + * @see getAttributes() + * @param string $name The attribute name. + * @param mixed $value The value of the attribute. + * @return static + */ + public function withAttribute($name, $value); + + /** + * Return an instance that removes the specified derived request attribute. + * + * This method allows removing a single derived request attribute as + * described in getAttributes(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that removes + * the attribute. + * + * @see getAttributes() + * @param string $name The attribute name. + * @return static + */ + public function withoutAttribute($name); +} diff --git a/mayor-orig/www/include/share/googleapi/psr/http-message/src/StreamInterface.php b/mayor-orig/www/include/share/googleapi/psr/http-message/src/StreamInterface.php new file mode 100644 index 00000000..f68f3912 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/http-message/src/StreamInterface.php @@ -0,0 +1,158 @@ + + * [user-info@]host[:port] + *
+ * + * If the port component is not set or is the standard port for the current + * scheme, it SHOULD NOT be included. + * + * @see https://tools.ietf.org/html/rfc3986#section-3.2 + * @return string The URI authority, in "[user-info@]host[:port]" format. + */ + public function getAuthority(); + + /** + * Retrieve the user information component of the URI. + * + * If no user information is present, this method MUST return an empty + * string. + * + * If a user is present in the URI, this will return that value; + * additionally, if the password is also present, it will be appended to the + * user value, with a colon (":") separating the values. + * + * The trailing "@" character is not part of the user information and MUST + * NOT be added. + * + * @return string The URI user information, in "username[:password]" format. + */ + public function getUserInfo(); + + /** + * Retrieve the host component of the URI. + * + * If no host is present, this method MUST return an empty string. + * + * The value returned MUST be normalized to lowercase, per RFC 3986 + * Section 3.2.2. + * + * @see http://tools.ietf.org/html/rfc3986#section-3.2.2 + * @return string The URI host. + */ + public function getHost(); + + /** + * Retrieve the port component of the URI. + * + * If a port is present, and it is non-standard for the current scheme, + * this method MUST return it as an integer. If the port is the standard port + * used with the current scheme, this method SHOULD return null. + * + * If no port is present, and no scheme is present, this method MUST return + * a null value. + * + * If no port is present, but a scheme is present, this method MAY return + * the standard port for that scheme, but SHOULD return null. + * + * @return null|int The URI port. + */ + public function getPort(); + + /** + * Retrieve the path component of the URI. + * + * The path can either be empty or absolute (starting with a slash) or + * rootless (not starting with a slash). Implementations MUST support all + * three syntaxes. + * + * Normally, the empty path "" and absolute path "/" are considered equal as + * defined in RFC 7230 Section 2.7.3. But this method MUST NOT automatically + * do this normalization because in contexts with a trimmed base path, e.g. + * the front controller, this difference becomes significant. It's the task + * of the user to handle both "" and "/". + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.3. + * + * As an example, if the value should include a slash ("/") not intended as + * delimiter between path segments, that value MUST be passed in encoded + * form (e.g., "%2F") to the instance. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.3 + * @return string The URI path. + */ + public function getPath(); + + /** + * Retrieve the query string of the URI. + * + * If no query string is present, this method MUST return an empty string. + * + * The leading "?" character is not part of the query and MUST NOT be + * added. + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.4. + * + * As an example, if a value in a key/value pair of the query string should + * include an ampersand ("&") not intended as a delimiter between values, + * that value MUST be passed in encoded form (e.g., "%26") to the instance. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.4 + * @return string The URI query string. + */ + public function getQuery(); + + /** + * Retrieve the fragment component of the URI. + * + * If no fragment is present, this method MUST return an empty string. + * + * The leading "#" character is not part of the fragment and MUST NOT be + * added. + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.5. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.5 + * @return string The URI fragment. + */ + public function getFragment(); + + /** + * Return an instance with the specified scheme. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified scheme. + * + * Implementations MUST support the schemes "http" and "https" case + * insensitively, and MAY accommodate other schemes if required. + * + * An empty scheme is equivalent to removing the scheme. + * + * @param string $scheme The scheme to use with the new instance. + * @return static A new instance with the specified scheme. + * @throws \InvalidArgumentException for invalid or unsupported schemes. + */ + public function withScheme($scheme); + + /** + * Return an instance with the specified user information. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified user information. + * + * Password is optional, but the user information MUST include the + * user; an empty string for the user is equivalent to removing user + * information. + * + * @param string $user The user name to use for authority. + * @param null|string $password The password associated with $user. + * @return static A new instance with the specified user information. + */ + public function withUserInfo($user, $password = null); + + /** + * Return an instance with the specified host. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified host. + * + * An empty host value is equivalent to removing the host. + * + * @param string $host The hostname to use with the new instance. + * @return static A new instance with the specified host. + * @throws \InvalidArgumentException for invalid hostnames. + */ + public function withHost($host); + + /** + * Return an instance with the specified port. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified port. + * + * Implementations MUST raise an exception for ports outside the + * established TCP and UDP port ranges. + * + * A null value provided for the port is equivalent to removing the port + * information. + * + * @param null|int $port The port to use with the new instance; a null value + * removes the port information. + * @return static A new instance with the specified port. + * @throws \InvalidArgumentException for invalid ports. + */ + public function withPort($port); + + /** + * Return an instance with the specified path. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified path. + * + * The path can either be empty or absolute (starting with a slash) or + * rootless (not starting with a slash). Implementations MUST support all + * three syntaxes. + * + * If the path is intended to be domain-relative rather than path relative then + * it must begin with a slash ("/"). Paths not starting with a slash ("/") + * are assumed to be relative to some base path known to the application or + * consumer. + * + * Users can provide both encoded and decoded path characters. + * Implementations ensure the correct encoding as outlined in getPath(). + * + * @param string $path The path to use with the new instance. + * @return static A new instance with the specified path. + * @throws \InvalidArgumentException for invalid paths. + */ + public function withPath($path); + + /** + * Return an instance with the specified query string. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified query string. + * + * Users can provide both encoded and decoded query characters. + * Implementations ensure the correct encoding as outlined in getQuery(). + * + * An empty query string value is equivalent to removing the query string. + * + * @param string $query The query string to use with the new instance. + * @return static A new instance with the specified query string. + * @throws \InvalidArgumentException for invalid query strings. + */ + public function withQuery($query); + + /** + * Return an instance with the specified URI fragment. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified URI fragment. + * + * Users can provide both encoded and decoded fragment characters. + * Implementations ensure the correct encoding as outlined in getFragment(). + * + * An empty fragment value is equivalent to removing the fragment. + * + * @param string $fragment The fragment to use with the new instance. + * @return static A new instance with the specified fragment. + */ + public function withFragment($fragment); + + /** + * Return the string representation as a URI reference. + * + * Depending on which components of the URI are present, the resulting + * string is either a full URI or relative reference according to RFC 3986, + * Section 4.1. The method concatenates the various components of the URI, + * using the appropriate delimiters: + * + * - If a scheme is present, it MUST be suffixed by ":". + * - If an authority is present, it MUST be prefixed by "//". + * - The path can be concatenated without delimiters. But there are two + * cases where the path has to be adjusted to make the URI reference + * valid as PHP does not allow to throw an exception in __toString(): + * - If the path is rootless and an authority is present, the path MUST + * be prefixed by "/". + * - If the path is starting with more than one "/" and no authority is + * present, the starting slashes MUST be reduced to one. + * - If a query is present, it MUST be prefixed by "?". + * - If a fragment is present, it MUST be prefixed by "#". + * + * @see http://tools.ietf.org/html/rfc3986#section-4.1 + * @return string + */ + public function __toString(); +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/.gitignore b/mayor-orig/www/include/share/googleapi/psr/log/.gitignore new file mode 100644 index 00000000..22d0d82f --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/.gitignore @@ -0,0 +1 @@ +vendor diff --git a/mayor-orig/www/include/share/googleapi/psr/log/LICENSE b/mayor-orig/www/include/share/googleapi/psr/log/LICENSE new file mode 100644 index 00000000..474c952b --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012 PHP Framework Interoperability Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php new file mode 100644 index 00000000..90e721af --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/AbstractLogger.php @@ -0,0 +1,128 @@ +log(LogLevel::EMERGENCY, $message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function alert($message, array $context = array()) + { + $this->log(LogLevel::ALERT, $message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function critical($message, array $context = array()) + { + $this->log(LogLevel::CRITICAL, $message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function error($message, array $context = array()) + { + $this->log(LogLevel::ERROR, $message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function warning($message, array $context = array()) + { + $this->log(LogLevel::WARNING, $message, $context); + } + + /** + * Normal but significant events. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function notice($message, array $context = array()) + { + $this->log(LogLevel::NOTICE, $message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function info($message, array $context = array()) + { + $this->log(LogLevel::INFO, $message, $context); + } + + /** + * Detailed debug information. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function debug($message, array $context = array()) + { + $this->log(LogLevel::DEBUG, $message, $context); + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php new file mode 100644 index 00000000..67f852d1 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/InvalidArgumentException.php @@ -0,0 +1,7 @@ +logger = $logger; + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php new file mode 100644 index 00000000..5ea72438 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/LoggerInterface.php @@ -0,0 +1,123 @@ +log(LogLevel::EMERGENCY, $message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function alert($message, array $context = array()) + { + $this->log(LogLevel::ALERT, $message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function critical($message, array $context = array()) + { + $this->log(LogLevel::CRITICAL, $message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function error($message, array $context = array()) + { + $this->log(LogLevel::ERROR, $message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function warning($message, array $context = array()) + { + $this->log(LogLevel::WARNING, $message, $context); + } + + /** + * Normal but significant events. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function notice($message, array $context = array()) + { + $this->log(LogLevel::NOTICE, $message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function info($message, array $context = array()) + { + $this->log(LogLevel::INFO, $message, $context); + } + + /** + * Detailed debug information. + * + * @param string $message + * @param array $context + * + * @return void + */ + public function debug($message, array $context = array()) + { + $this->log(LogLevel::DEBUG, $message, $context); + } + + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string $message + * @param array $context + * + * @return void + */ + abstract public function log($level, $message, array $context = array()); +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php new file mode 100644 index 00000000..d8cd682c --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/NullLogger.php @@ -0,0 +1,28 @@ +logger) { }` + * blocks. + */ +class NullLogger extends AbstractLogger +{ + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string $message + * @param array $context + * + * @return void + */ + public function log($level, $message, array $context = array()) + { + // noop + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php new file mode 100644 index 00000000..a0391a52 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/Psr/Log/Test/LoggerInterfaceTest.php @@ -0,0 +1,140 @@ + ". + * + * Example ->error('Foo') would yield "error Foo". + * + * @return string[] + */ + abstract public function getLogs(); + + public function testImplements() + { + $this->assertInstanceOf('Psr\Log\LoggerInterface', $this->getLogger()); + } + + /** + * @dataProvider provideLevelsAndMessages + */ + public function testLogsAtAllLevels($level, $message) + { + $logger = $this->getLogger(); + $logger->{$level}($message, array('user' => 'Bob')); + $logger->log($level, $message, array('user' => 'Bob')); + + $expected = array( + $level.' message of level '.$level.' with context: Bob', + $level.' message of level '.$level.' with context: Bob', + ); + $this->assertEquals($expected, $this->getLogs()); + } + + public function provideLevelsAndMessages() + { + return array( + LogLevel::EMERGENCY => array(LogLevel::EMERGENCY, 'message of level emergency with context: {user}'), + LogLevel::ALERT => array(LogLevel::ALERT, 'message of level alert with context: {user}'), + LogLevel::CRITICAL => array(LogLevel::CRITICAL, 'message of level critical with context: {user}'), + LogLevel::ERROR => array(LogLevel::ERROR, 'message of level error with context: {user}'), + LogLevel::WARNING => array(LogLevel::WARNING, 'message of level warning with context: {user}'), + LogLevel::NOTICE => array(LogLevel::NOTICE, 'message of level notice with context: {user}'), + LogLevel::INFO => array(LogLevel::INFO, 'message of level info with context: {user}'), + LogLevel::DEBUG => array(LogLevel::DEBUG, 'message of level debug with context: {user}'), + ); + } + + /** + * @expectedException \Psr\Log\InvalidArgumentException + */ + public function testThrowsOnInvalidLevel() + { + $logger = $this->getLogger(); + $logger->log('invalid level', 'Foo'); + } + + public function testContextReplacement() + { + $logger = $this->getLogger(); + $logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar')); + + $expected = array('info {Message {nothing} Bob Bar a}'); + $this->assertEquals($expected, $this->getLogs()); + } + + public function testObjectCastToString() + { + if (method_exists($this, 'createPartialMock')) { + $dummy = $this->createPartialMock('Psr\Log\Test\DummyTest', array('__toString')); + } else { + $dummy = $this->getMock('Psr\Log\Test\DummyTest', array('__toString')); + } + $dummy->expects($this->once()) + ->method('__toString') + ->will($this->returnValue('DUMMY')); + + $this->getLogger()->warning($dummy); + + $expected = array('warning DUMMY'); + $this->assertEquals($expected, $this->getLogs()); + } + + public function testContextCanContainAnything() + { + $context = array( + 'bool' => true, + 'null' => null, + 'string' => 'Foo', + 'int' => 0, + 'float' => 0.5, + 'nested' => array('with object' => new DummyTest), + 'object' => new \DateTime, + 'resource' => fopen('php://memory', 'r'), + ); + + $this->getLogger()->warning('Crazy context data', $context); + + $expected = array('warning Crazy context data'); + $this->assertEquals($expected, $this->getLogs()); + } + + public function testContextExceptionKeyCanBeExceptionOrOtherValues() + { + $logger = $this->getLogger(); + $logger->warning('Random message', array('exception' => 'oops')); + $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail'))); + + $expected = array( + 'warning Random message', + 'critical Uncaught Exception!' + ); + $this->assertEquals($expected, $this->getLogs()); + } +} + +class DummyTest +{ + public function __toString() + { + } +} diff --git a/mayor-orig/www/include/share/googleapi/psr/log/README.md b/mayor-orig/www/include/share/googleapi/psr/log/README.md new file mode 100644 index 00000000..574bc1cb --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/README.md @@ -0,0 +1,45 @@ +PSR Log +======= + +This repository holds all interfaces/classes/traits related to +[PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md). + +Note that this is not a logger of its own. It is merely an interface that +describes a logger. See the specification for more details. + +Usage +----- + +If you need a logger, you can use the interface like this: + +```php +logger = $logger; + } + + public function doSomething() + { + if ($this->logger) { + $this->logger->info('Doing work'); + } + + // do something useful + } +} +``` + +You can then pick one of the implementations of the interface to get a logger. + +If you want to implement the interface, you can require this package and +implement `Psr\Log\LoggerInterface` in your code. Please read the +[specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) +for details. diff --git a/mayor-orig/www/include/share/googleapi/psr/log/composer.json b/mayor-orig/www/include/share/googleapi/psr/log/composer.json new file mode 100644 index 00000000..87934d70 --- /dev/null +++ b/mayor-orig/www/include/share/googleapi/psr/log/composer.json @@ -0,0 +1,26 @@ +{ + "name": "psr/log", + "description": "Common interface for logging libraries", + "keywords": ["psr", "psr-3", "log"], + "homepage": "https://github.com/php-fig/log", + "license": "MIT", + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "require": { + "php": ">=5.3.0" + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/mayor-orig/www/include/share/net/class.smtp.php b/mayor-orig/www/include/share/net/class.smtp.php new file mode 100644 index 00000000..81a85d08 --- /dev/null +++ b/mayor-orig/www/include/share/net/class.smtp.php @@ -0,0 +1,1152 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer RFC821 SMTP email transport class. + * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server. + * @package PHPMailer + * @author Chris Ryan + * @author Marcus Bointon + */ +class SMTP +{ + /** + * The PHPMailer SMTP version number. + * @type string + */ + const VERSION = '5.2.9'; + + /** + * SMTP line break constant. + * @type string + */ + const CRLF = "\r\n"; + + /** + * The SMTP port to use if one is not specified. + * @type integer + */ + const DEFAULT_SMTP_PORT = 25; + + /** + * The maximum line length allowed by RFC 2822 section 2.1.1 + * @type integer + */ + const MAX_LINE_LENGTH = 998; + + /** + * Debug level for no output + */ + const DEBUG_OFF = 0; + + /** + * Debug level to show client -> server messages + */ + const DEBUG_CLIENT = 1; + + /** + * Debug level to show client -> server and server -> client messages + */ + const DEBUG_SERVER = 2; + + /** + * Debug level to show connection status, client -> server and server -> client messages + */ + const DEBUG_CONNECTION = 3; + + /** + * Debug level to show all messages + */ + const DEBUG_LOWLEVEL = 4; + + /** + * The PHPMailer SMTP Version number. + * @type string + * @deprecated Use the `VERSION` constant instead + * @see SMTP::VERSION + */ + public $Version = '5.2.9'; + + /** + * SMTP server port number. + * @type integer + * @deprecated This is only ever used as a default value, so use the `DEFAULT_SMTP_PORT` constant instead + * @see SMTP::DEFAULT_SMTP_PORT + */ + public $SMTP_PORT = 25; + + /** + * SMTP reply line ending. + * @type string + * @deprecated Use the `CRLF` constant instead + * @see SMTP::CRLF + */ + public $CRLF = "\r\n"; + + /** + * Debug output level. + * Options: + * * self::DEBUG_OFF (`0`) No debug output, default + * * self::DEBUG_CLIENT (`1`) Client commands + * * self::DEBUG_SERVER (`2`) Client commands and server responses + * * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status + * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages + * @type integer + */ + public $do_debug = self::DEBUG_OFF; + + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `
`, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * + * $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * + * @type string|callable + */ + public $Debugoutput = 'echo'; + + /** + * Whether to use VERP. + * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path + * @link http://www.postfix.org/VERP_README.html Info on VERP + * @type boolean + */ + public $do_verp = false; + + /** + * The timeout value for connection, in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure. + * @link http://tools.ietf.org/html/rfc2821#section-4.5.3.2 + * @type integer + */ + public $Timeout = 300; + + /** + * How long to wait for commands to complete, in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * @type integer + */ + public $Timelimit = 300; + + /** + * The socket for the server connection. + * @type resource + */ + protected $smtp_conn; + + /** + * Error information, if any, for the last SMTP command. + * @type array + */ + protected $error = array( + 'error' => '', + 'detail' => '', + 'smtp_code' => '', + 'smtp_code_ex' => '' + ); + + /** + * The reply the server sent to us for HELO. + * If null, no HELO string has yet been received. + * @type string|null + */ + protected $helo_rply = null; + + /** + * The set of SMTP extensions sent in reply to EHLO command. + * Indexes of the array are extension names. + * Value at index 'HELO' or 'EHLO' (according to command that was sent) + * represents the server name. In case of HELO it is the only element of the array. + * Other values can be boolean TRUE or an array containing extension options. + * If null, no HELO/EHLO string has yet been received. + * @type array|null + */ + protected $server_caps = null; + + /** + * The most recent reply received from the server. + * @type string + */ + protected $last_reply = ''; + + /** + * Output debugging info via a user-selected method. + * @see SMTP::$Debugoutput + * @see SMTP::$do_debug + * @param string $str Debug string to output + * @param integer $level The debug level of this message; see DEBUG_* constants + * @return void + */ + protected function edebug($str, $level = 0) + { + if ($level > $this->do_debug) { + return; + } + //Avoid clash with built-in function names + if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) { + call_user_func($this->Debugoutput, $str, $this->do_debug); + return; + } + switch ($this->Debugoutput) { + case 'error_log': + //Don't output, just log + error_log($str); + break; + case 'html': + //Cleans up output a bit for a better looking, HTML-safe output + echo htmlentities( + preg_replace('/[\r\n]+/', '', $str), + ENT_QUOTES, + 'UTF-8' + ) + . "
\n"; + break; + case 'echo': + default: + //Normalize line breaks + $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str); + echo gmdate('Y-m-d H:i:s') . "\t" . str_replace( + "\n", + "\n \t ", + trim($str) + )."\n"; + } + } + + /** + * Connect to an SMTP server. + * @param string $host SMTP server IP or host name + * @param integer $port The port number to connect to + * @param integer $timeout How long to wait for the connection to open + * @param array $options An array of options for stream_context_create() + * @access public + * @return boolean + */ + public function connect($host, $port = null, $timeout = 30, $options = array()) + { + static $streamok; + //This is enabled by default since 5.0.0 but some providers disable it + //Check this once and cache the result + if (is_null($streamok)) { + $streamok = function_exists('stream_socket_client'); + } + // Clear errors to avoid confusion + $this->setError(''); + // Make sure we are __not__ connected + if ($this->connected()) { + // Already connected, generate error + $this->setError('Already connected to a server'); + return false; + } + if (empty($port)) { + $port = self::DEFAULT_SMTP_PORT; + } + // Connect to the SMTP server + $this->edebug( + "Connection: opening to $host:$port, t=$timeout, opt=".var_export($options, true), + self::DEBUG_CONNECTION + ); + $errno = 0; + $errstr = ''; + if ($streamok) { + $socket_context = stream_context_create($options); + //Suppress errors; connection failures are handled at a higher level + $this->smtp_conn = @stream_socket_client( + $host . ":" . $port, + $errno, + $errstr, + $timeout, + STREAM_CLIENT_CONNECT, + $socket_context + ); + } else { + //Fall back to fsockopen which should work in more places, but is missing some features + $this->edebug( + "Connection: stream_socket_client not available, falling back to fsockopen", + self::DEBUG_CONNECTION + ); + $this->smtp_conn = fsockopen( + $host, + $port, + $errno, + $errstr, + $timeout + ); + } + // Verify we connected properly + if (!is_resource($this->smtp_conn)) { + $this->setError( + 'Failed to connect to server', + $errno, + $errstr + ); + $this->edebug( + 'SMTP ERROR: ' . $this->error['error'] + . ": $errstr ($errno)", + self::DEBUG_CLIENT + ); + return false; + } + $this->edebug('Connection: opened', self::DEBUG_CONNECTION); + // SMTP server can take longer to respond, give longer timeout for first read + // Windows does not have support for this timeout function + if (substr(PHP_OS, 0, 3) != 'WIN') { + $max = ini_get('max_execution_time'); + // Don't bother if unlimited + if ($max != 0 && $timeout > $max) { + @set_time_limit($timeout); + } + stream_set_timeout($this->smtp_conn, $timeout, 0); + } + // Get any announcement + $announce = $this->get_lines(); + $this->edebug('SERVER -> CLIENT: ' . $announce, self::DEBUG_SERVER); + return true; + } + + /** + * Initiate a TLS (encrypted) session. + * @access public + * @return boolean + */ + public function startTLS() + { + if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) { + return false; + } + // Begin encrypted connection + if (!stream_socket_enable_crypto( + $this->smtp_conn, + true, + STREAM_CRYPTO_METHOD_TLS_CLIENT + )) { + return false; + } + return true; + } + + /** + * Perform SMTP authentication. + * Must be run after hello(). + * @see hello() + * @param string $username The user name + * @param string $password The password + * @param string $authtype The auth type (PLAIN, LOGIN, NTLM, CRAM-MD5) + * @param string $realm The auth realm for NTLM + * @param string $workstation The auth workstation for NTLM + * @access public + * @return boolean True if successfully authenticated. + */ + public function authenticate( + $username, + $password, + $authtype = null, + $realm = '', + $workstation = '' + ) { + if (!$this->server_caps) { + $this->setError('Authentication is not allowed before HELO/EHLO'); + return false; + } + + if (array_key_exists('EHLO', $this->server_caps)) { + // SMTP extensions are available. Let's try to find a proper authentication method + + if (!array_key_exists('AUTH', $this->server_caps)) { + $this->setError('Authentication is not allowed at this stage'); + // 'at this stage' means that auth may be allowed after the stage changes + // e.g. after STARTTLS + return false; + } + + self::edebug('Auth method requested: ' . ($authtype ? $authtype : 'UNKNOWN'), self::DEBUG_LOWLEVEL); + self::edebug( + 'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']), + self::DEBUG_LOWLEVEL + ); + + if (empty($authtype)) { + foreach (array('LOGIN', 'CRAM-MD5', 'NTLM', 'PLAIN') as $method) { + if (in_array($method, $this->server_caps['AUTH'])) { + $authtype = $method; + break; + } + } + if (empty($authtype)) { + $this->setError('No supported authentication methods found'); + return false; + } + self::edebug('Auth method selected: '.$authtype, self::DEBUG_LOWLEVEL); + } + + if (!in_array($authtype, $this->server_caps['AUTH'])) { + $this->setError("The requested authentication method \"$authtype\" is not supported by the server"); + return false; + } + } elseif (empty($authtype)) { + $authtype = 'LOGIN'; + } + switch ($authtype) { + case 'PLAIN': + // Start authentication + if (!$this->sendCommand('AUTH', 'AUTH PLAIN', 334)) { + return false; + } + // Send encoded username and password + if (!$this->sendCommand( + 'User & Password', + base64_encode("\0" . $username . "\0" . $password), + 235 + ) + ) { + return false; + } + break; + case 'LOGIN': + // Start authentication + if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) { + return false; + } + if (!$this->sendCommand("Username", base64_encode($username), 334)) { + return false; + } + if (!$this->sendCommand("Password", base64_encode($password), 235)) { + return false; + } + break; + case 'NTLM': + /* + * ntlm_sasl_client.php + * Bundled with Permission + * + * How to telnet in windows: + * http://technet.microsoft.com/en-us/library/aa995718%28EXCHG.65%29.aspx + * PROTOCOL Docs http://curl.haxx.se/rfc/ntlm.html#ntlmSmtpAuthentication + */ + require_once 'extras/ntlm_sasl_client.php'; + $temp = new stdClass; + $ntlm_client = new ntlm_sasl_client_class; + //Check that functions are available + if (!$ntlm_client->Initialize($temp)) { + $this->setError($temp->error); + $this->edebug( + 'You need to enable some modules in your php.ini file: ' + . $this->error['error'], + self::DEBUG_CLIENT + ); + return false; + } + //msg1 + $msg1 = $ntlm_client->TypeMsg1($realm, $workstation); //msg1 + + if (!$this->sendCommand( + 'AUTH NTLM', + 'AUTH NTLM ' . base64_encode($msg1), + 334 + ) + ) { + return false; + } + //Though 0 based, there is a white space after the 3 digit number + //msg2 + $challenge = substr($this->last_reply, 3); + $challenge = base64_decode($challenge); + $ntlm_res = $ntlm_client->NTLMResponse( + substr($challenge, 24, 8), + $password + ); + //msg3 + $msg3 = $ntlm_client->TypeMsg3( + $ntlm_res, + $username, + $realm, + $workstation + ); + // send encoded username + return $this->sendCommand('Username', base64_encode($msg3), 235); + case 'CRAM-MD5': + // Start authentication + if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) { + return false; + } + // Get the challenge + $challenge = base64_decode(substr($this->last_reply, 4)); + + // Build the response + $response = $username . ' ' . $this->hmac($challenge, $password); + + // send encoded credentials + return $this->sendCommand('Username', base64_encode($response), 235); + default: + $this->setError("Authentication method \"$authtype\" is not supported"); + return false; + } + return true; + } + + /** + * Calculate an MD5 HMAC hash. + * Works like hash_hmac('md5', $data, $key) + * in case that function is not available + * @param string $data The data to hash + * @param string $key The key to hash with + * @access protected + * @return string + */ + protected function hmac($data, $key) + { + if (function_exists('hash_hmac')) { + return hash_hmac('md5', $data, $key); + } + + // The following borrowed from + // http://php.net/manual/en/function.mhash.php#27225 + + // RFC 2104 HMAC implementation for php. + // Creates an md5 HMAC. + // Eliminates the need to install mhash to compute a HMAC + // by Lance Rushing + + $bytelen = 64; // byte length for md5 + if (strlen($key) > $bytelen) { + $key = pack('H*', md5($key)); + } + $key = str_pad($key, $bytelen, chr(0x00)); + $ipad = str_pad('', $bytelen, chr(0x36)); + $opad = str_pad('', $bytelen, chr(0x5c)); + $k_ipad = $key ^ $ipad; + $k_opad = $key ^ $opad; + + return md5($k_opad . pack('H*', md5($k_ipad . $data))); + } + + /** + * Check connection state. + * @access public + * @return boolean True if connected. + */ + public function connected() + { + if (is_resource($this->smtp_conn)) { + $sock_status = stream_get_meta_data($this->smtp_conn); + if ($sock_status['eof']) { + // The socket is valid but we are not connected + $this->edebug( + 'SMTP NOTICE: EOF caught while checking if connected', + self::DEBUG_CLIENT + ); + $this->close(); + return false; + } + return true; // everything looks good + } + return false; + } + + /** + * Close the socket and clean up the state of the class. + * Don't use this function without first trying to use QUIT. + * @see quit() + * @access public + * @return void + */ + public function close() + { + $this->setError(''); + $this->server_caps = null; + $this->helo_rply = null; + if (is_resource($this->smtp_conn)) { + // close the connection and cleanup + fclose($this->smtp_conn); + $this->smtp_conn = null; //Makes for cleaner serialization + $this->edebug('Connection: closed', self::DEBUG_CONNECTION); + } + } + + /** + * Send an SMTP DATA command. + * Issues a data command and sends the msg_data to the server, + * finializing the mail transaction. $msg_data is the message + * that is to be send with the headers. Each header needs to be + * on a single line followed by a with the message headers + * and the message body being separated by and additional . + * Implements rfc 821: DATA + * @param string $msg_data Message data to send + * @access public + * @return boolean + */ + public function data($msg_data) + { + //This will use the standard timelimit + if (!$this->sendCommand('DATA', 'DATA', 354)) { + return false; + } + + /* The server is ready to accept data! + * According to rfc821 we should not send more than 1000 characters on a single line (including the CRLF) + * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into + * smaller lines to fit within the limit. + * We will also look for lines that start with a '.' and prepend an additional '.'. + * NOTE: this does not count towards line-length limit. + */ + + // Normalize line breaks before exploding + $lines = explode("\n", str_replace(array("\r\n", "\r"), "\n", $msg_data)); + + /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field + * of the first line (':' separated) does not contain a space then it _should_ be a header and we will + * process all lines before a blank line as headers. + */ + + $field = substr($lines[0], 0, strpos($lines[0], ':')); + $in_headers = false; + if (!empty($field) && strpos($field, ' ') === false) { + $in_headers = true; + } + + foreach ($lines as $line) { + $lines_out = array(); + if ($in_headers and $line == '') { + $in_headers = false; + } + //Break this line up into several smaller lines if it's too long + //Micro-optimisation: isset($str[$len]) is faster than (strlen($str) > $len), + while (isset($line[self::MAX_LINE_LENGTH])) { + //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on + //so as to avoid breaking in the middle of a word + $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' '); + //Deliberately matches both false and 0 + if (!$pos) { + //No nice break found, add a hard break + $pos = self::MAX_LINE_LENGTH - 1; + $lines_out[] = substr($line, 0, $pos); + $line = substr($line, $pos); + } else { + //Break at the found point + $lines_out[] = substr($line, 0, $pos); + //Move along by the amount we dealt with + $line = substr($line, $pos + 1); + } + //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1 + if ($in_headers) { + $line = "\t" . $line; + } + } + $lines_out[] = $line; + + //Send the lines to the server + foreach ($lines_out as $line_out) { + //RFC2821 section 4.5.2 + if (!empty($line_out) and $line_out[0] == '.') { + $line_out = '.' . $line_out; + } + $this->client_send($line_out . self::CRLF); + } + } + + //Message data has been sent, complete the command + //Increase timelimit for end of DATA command + $savetimelimit = $this->Timelimit; + $this->Timelimit = $this->Timelimit * 2; + $result = $this->sendCommand('DATA END', '.', 250); + //Restore timelimit + $this->Timelimit = $savetimelimit; + return $result; + } + + /** + * Send an SMTP HELO or EHLO command. + * Used to identify the sending server to the receiving server. + * This makes sure that client and server are in a known state. + * Implements RFC 821: HELO + * and RFC 2821 EHLO. + * @param string $host The host name or IP to connect to + * @access public + * @return boolean + */ + public function hello($host = '') + { + //Try extended hello first (RFC 2821) + return (boolean)($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host)); + } + + /** + * Send an SMTP HELO or EHLO command. + * Low-level implementation used by hello() + * @see hello() + * @param string $hello The HELO string + * @param string $host The hostname to say we are + * @access protected + * @return boolean + */ + protected function sendHello($hello, $host) + { + $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250); + $this->helo_rply = $this->last_reply; + if ($noerror) { + $this->parseHelloFields($hello); + } else { + $this->server_caps = null; + } + return $noerror; + } + + /** + * Parse a reply to HELO/EHLO command to discover server extensions. + * In case of HELO, the only parameter that can be discovered is a server name. + * @access protected + * @param string $type - 'HELO' or 'EHLO' + */ + protected function parseHelloFields($type) + { + $this->server_caps = array(); + $lines = explode("\n", $this->last_reply); + foreach ($lines as $n => $s) { + $s = trim(substr($s, 4)); + if (!$s) { + continue; + } + $fields = explode(' ', $s); + if (!empty($fields)) { + if (!$n) { + $name = $type; + $fields = $fields[0]; + } else { + $name = array_shift($fields); + if ($name == 'SIZE') { + $fields = ($fields) ? $fields[0] : 0; + } + } + $this->server_caps[$name] = ($fields ? $fields : true); + } + } + } + + /** + * Send an SMTP MAIL command. + * Starts a mail transaction from the email address specified in + * $from. Returns true if successful or false otherwise. If True + * the mail transaction is started and then one or more recipient + * commands may be called followed by a data command. + * Implements rfc 821: MAIL FROM: + * @param string $from Source address of this message + * @access public + * @return boolean + */ + public function mail($from) + { + $useVerp = ($this->do_verp ? ' XVERP' : ''); + return $this->sendCommand( + 'MAIL FROM', + 'MAIL FROM:<' . $from . '>' . $useVerp, + 250 + ); + } + + /** + * Send an SMTP QUIT command. + * Closes the socket if there is no error or the $close_on_error argument is true. + * Implements from rfc 821: QUIT + * @param boolean $close_on_error Should the connection close if an error occurs? + * @access public + * @return boolean + */ + public function quit($close_on_error = true) + { + $noerror = $this->sendCommand('QUIT', 'QUIT', 221); + $err = $this->error; //Save any error + if ($noerror or $close_on_error) { + $this->close(); + $this->error = $err; //Restore any error from the quit command + } + return $noerror; + } + + /** + * Send an SMTP RCPT command. + * Sets the TO argument to $toaddr. + * Returns true if the recipient was accepted false if it was rejected. + * Implements from rfc 821: RCPT TO: + * @param string $toaddr The address the message is being sent to + * @access public + * @return boolean + */ + public function recipient($toaddr) + { + return $this->sendCommand( + 'RCPT TO', + 'RCPT TO:<' . $toaddr . '>', + array(250, 251) + ); + } + + /** + * Send an SMTP RSET command. + * Abort any transaction that is currently in progress. + * Implements rfc 821: RSET + * @access public + * @return boolean True on success. + */ + public function reset() + { + return $this->sendCommand('RSET', 'RSET', 250); + } + + /** + * Send a command to an SMTP server and check its return code. + * @param string $command The command name - not sent to the server + * @param string $commandstring The actual command to send + * @param integer|array $expect One or more expected integer success codes + * @access protected + * @return boolean True on success. + */ + protected function sendCommand($command, $commandstring, $expect) + { + if (!$this->connected()) { + $this->setError("Called $command without being connected"); + return false; + } + $this->client_send($commandstring . self::CRLF); + + $this->last_reply = $this->get_lines(); + // Fetch SMTP code and possible error code explanation + $matches = array(); + if (preg_match("/^([0-9]{3})[ -](?:([0-9]\\.[0-9]\\.[0-9]) )?/", $this->last_reply, $matches)) { + $code = $matches[1]; + $code_ex = (count($matches) > 2 ? $matches[2] : null); + // Cut off error code from each response line + $detail = preg_replace( + "/{$code}[ -]".($code_ex ? str_replace('.', '\\.', $code_ex).' ' : '')."/m", + '', + $this->last_reply + ); + } else { + // Fall back to simple parsing if regex fails + $code = substr($this->last_reply, 0, 3); + $code_ex = null; + $detail = substr($this->last_reply, 4); + } + + $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER); + + if (!in_array($code, (array)$expect)) { + $this->setError( + "$command command failed", + $detail, + $code, + $code_ex + ); + $this->edebug( + 'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply, + self::DEBUG_CLIENT + ); + return false; + } + + $this->setError(''); + return true; + } + + /** + * Send an SMTP SAML command. + * Starts a mail transaction from the email address specified in $from. + * Returns true if successful or false otherwise. If True + * the mail transaction is started and then one or more recipient + * commands may be called followed by a data command. This command + * will send the message to the users terminal if they are logged + * in and send them an email. + * Implements rfc 821: SAML FROM: + * @param string $from The address the message is from + * @access public + * @return boolean + */ + public function sendAndMail($from) + { + return $this->sendCommand('SAML', "SAML FROM:$from", 250); + } + + /** + * Send an SMTP VRFY command. + * @param string $name The name to verify + * @access public + * @return boolean + */ + public function verify($name) + { + return $this->sendCommand('VRFY', "VRFY $name", array(250, 251)); + } + + /** + * Send an SMTP NOOP command. + * Used to keep keep-alives alive, doesn't actually do anything + * @access public + * @return boolean + */ + public function noop() + { + return $this->sendCommand('NOOP', 'NOOP', 250); + } + + /** + * Send an SMTP TURN command. + * This is an optional command for SMTP that this class does not support. + * This method is here to make the RFC821 Definition complete for this class + * and _may_ be implemented in future + * Implements from rfc 821: TURN + * @access public + * @return boolean + */ + public function turn() + { + $this->setError('The SMTP TURN command is not implemented'); + $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT); + return false; + } + + /** + * Send raw data to the server. + * @param string $data The data to send + * @access public + * @return integer|boolean The number of bytes sent to the server or false on error + */ + public function client_send($data) + { + $this->edebug("CLIENT -> SERVER: $data", self::DEBUG_CLIENT); + return fwrite($this->smtp_conn, $data); + } + + /** + * Get the latest error. + * @access public + * @return array + */ + public function getError() + { + return $this->error; + } + + /** + * Get SMTP extensions available on the server + * @access public + * @return array|null + */ + public function getServerExtList() + { + return $this->server_caps; + } + + /** + * A multipurpose method + * The method works in three ways, dependent on argument value and current state + * 1. HELO/EHLO was not sent - returns null and set up $this->error + * 2. HELO was sent + * $name = 'HELO': returns server name + * $name = 'EHLO': returns boolean false + * $name = any string: returns null and set up $this->error + * 3. EHLO was sent + * $name = 'HELO'|'EHLO': returns server name + * $name = any string: if extension $name exists, returns boolean True + * or its options. Otherwise returns boolean False + * In other words, one can use this method to detect 3 conditions: + * - null returned: handshake was not or we don't know about ext (refer to $this->error) + * - false returned: the requested feature exactly not exists + * - positive value returned: the requested feature exists + * @param string $name Name of SMTP extension or 'HELO'|'EHLO' + * @return mixed + */ + public function getServerExt($name) + { + if (!$this->server_caps) { + $this->setError('No HELO/EHLO was sent'); + return null; + } + + // the tight logic knot ;) + if (!array_key_exists($name, $this->server_caps)) { + if ($name == 'HELO') { + return $this->server_caps['EHLO']; + } + if ($name == 'EHLO' || array_key_exists('EHLO', $this->server_caps)) { + return false; + } + $this->setError('HELO handshake was used. Client knows nothing about server extensions'); + return null; + } + + return $this->server_caps[$name]; + } + + /** + * Get the last reply from the server. + * @access public + * @return string + */ + public function getLastReply() + { + return $this->last_reply; + } + + /** + * Read the SMTP server's response. + * Either before eof or socket timeout occurs on the operation. + * With SMTP we can tell if we have more lines to read if the + * 4th character is '-' symbol. If it is a space then we don't + * need to read anything else. + * @access protected + * @return string + */ + protected function get_lines() + { + // If the connection is bad, give up straight away + if (!is_resource($this->smtp_conn)) { + return ''; + } + $data = ''; + $endtime = 0; + stream_set_timeout($this->smtp_conn, $this->Timeout); + if ($this->Timelimit > 0) { + $endtime = time() + $this->Timelimit; + } + while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) { + $str = @fgets($this->smtp_conn, 515); + $this->edebug("SMTP -> get_lines(): \$data was \"$data\"", self::DEBUG_LOWLEVEL); + $this->edebug("SMTP -> get_lines(): \$str is \"$str\"", self::DEBUG_LOWLEVEL); + $data .= $str; + $this->edebug("SMTP -> get_lines(): \$data is \"$data\"", self::DEBUG_LOWLEVEL); + // If 4th character is a space, we are done reading, break the loop, micro-optimisation over strlen + if ((isset($str[3]) and $str[3] == ' ')) { + break; + } + // Timed-out? Log and break + $info = stream_get_meta_data($this->smtp_conn); + if ($info['timed_out']) { + $this->edebug( + 'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)', + self::DEBUG_LOWLEVEL + ); + break; + } + // Now check if reads took too long + if ($endtime and time() > $endtime) { + $this->edebug( + 'SMTP -> get_lines(): timelimit reached ('. + $this->Timelimit . ' sec)', + self::DEBUG_LOWLEVEL + ); + break; + } + } + return $data; + } + + /** + * Enable or disable VERP address generation. + * @param boolean $enabled + */ + public function setVerp($enabled = false) + { + $this->do_verp = $enabled; + } + + /** + * Get VERP address generation mode. + * @return boolean + */ + public function getVerp() + { + return $this->do_verp; + } + + /** + * Set error messages and codes. + * @param string $message The error message + * @param string $detail Further detail on the error + * @param string $smtp_code An associated SMTP error code + * @param string $smtp_code_ex Extended SMTP code + */ + protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '') + { + $this->error = array( + 'error' => $message, + 'detail' => $detail, + 'smtp_code' => $smtp_code, + 'smtp_code_ex' => $smtp_code_ex + ); + } + + /** + * Set debug output method. + * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it. + */ + public function setDebugOutput($method = 'echo') + { + $this->Debugoutput = $method; + } + + /** + * Get debug output method. + * @return string + */ + public function getDebugOutput() + { + return $this->Debugoutput; + } + + /** + * Set debug output level. + * @param integer $level + */ + public function setDebugLevel($level = 0) + { + $this->do_debug = $level; + } + + /** + * Get debug output level. + * @return integer + */ + public function getDebugLevel() + { + return $this->do_debug; + } + + /** + * Set SMTP timeout. + * @param integer $timeout + */ + public function setTimeout($timeout = 0) + { + $this->Timeout = $timeout; + } + + /** + * Get SMTP timeout. + * @return integer + */ + public function getTimeout() + { + return $this->Timeout; + } +} diff --git a/mayor-orig/www/include/share/net/facebook.php b/mayor-orig/www/include/share/net/facebook.php new file mode 100644 index 00000000..74721a0a --- /dev/null +++ b/mayor-orig/www/include/share/net/facebook.php @@ -0,0 +1,70 @@ + __FB_APP_ID, + 'app_secret' => __FB_APP_SECRET, + 'default_graph_version' => 'v2.5', + )); + $helper = $fb->getJavaScriptHelper(); + try { + $accessToken = $helper->getAccessToken(); + } catch(Facebook\Exceptions\FacebookResponseException $e) { + // When Graph returns an error + $_SESSION['alert'][] = 'info::facebook gráf hiba: ' . $e->getMessage(); + } catch(Facebook\Exceptions\FacebookSDKException $e) { + // When validation fails or other local issues + $_SESSION['alert'][] = 'info::facebook SDK hiba: ' . $e->getMessage(); + } + if (isset($accessToken)) { + $_SESSION['facebook_access_token'] = (string) $accessToken; + $_SESSION['facebook_access_token_object'] = $accessToken; + try { + $response = $fb->get('/me?fields=id,name,email',$accessToken); + $userNode = $response->getGraphUser(); + $fbUserId = $userNode->getField('id'); + //$fbUserCn = $userNode->getField('name'); + //$fbUserEmail = $userNode->getField('email'); + } catch (Facebook\Exceptions\FacebookSDKException $e) { + $_SESSION['alert'][] = 'info::facebook gráf hiba: ' . $e->getMessage(); + return false; + } + /* mayor auth start */ + $accountInformation=array(); + $toPolicy = 'public'; + $data = getUserByFbUserId($fbUserId); + if ($data === false) { + $_SESSION['alert'][] = 'info:Nincs ilyen user (még) a MaYoR-ral összekötve, kérjük jelentkezz be jelszóval!'; + } elseif (is_array($data)) { + // Ha van, akkor ki az? Mert ő bemehet. + return array('userAccount'=>$data['userAccount'],'toPolicy'=>$data['policy'],'fbUserEmail'=>$data['fbUserEmail'],'studyId'=>$data['studyId'],'fbUserCn'=>$data['fbUserCn'],'accessToken'=>$accessToken); + } + /* mayor auth stop */ + } else { + $_SESSION['alert'][] = 'info::facebook:nem érvényes accessToken'; + } + /* facebook login stop */ + } + return false; +} + +function getUserByFbUserId($fbUserId) { + if ($fbUserId=='') return false; + $q = "SELECT * FROM facebookConnect WHERE fbUserId='%s' ORDER BY policy LIMIT 1"; + $v = array('fbUserId'=>$fbUserId); + $record = db_query($q,array('fv'=>'getUserByFbUserId','modul'=>'login','result'=>'record','values'=>$v)); + return $record; +} + +?> diff --git a/mayor-orig/www/include/share/net/googleapi.php b/mayor-orig/www/include/share/net/googleapi.php new file mode 100644 index 00000000..bfe3642d --- /dev/null +++ b/mayor-orig/www/include/share/net/googleapi.php @@ -0,0 +1,65 @@ +setAuthConfig($oauth_credentials); + $client->setClientId(__GOOGLEAPI_CLIENT_ID); + $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET); + $client->setRedirectUri($redirect_uri); + $client->setScopes('email'); + + try { + $payload = $client->verifyIdToken($_GET['id_token']); + } catch(Exception $e) { + $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage(); + } + if (isset($payload['sub'])) { // subject + $_SESSION['googleapi_object'] = $payload; + // mayor auth start + $accountInformation=array(); + $toPolicy = 'public'; + $data = getUserByGoogleSub($payload['sub']); // subject=google user id + if ($data === false) { + $_SESSION['alert'][] = 'info:Nincs ilyen user (még) a MaYoR-ral összekötve, kérjük jelentkezz be jelszóval!'; + } elseif (is_array($data)) { + // Ha van, akkor ki az? Mert ő bemehet. + setGoogleToken($payload['sub'],$_GET['id_token']); // a verifyIdToken igazolja + return array('userAccount'=>$data['userAccount'],'toPolicy'=>$data['policy'],'googleUserEmail'=>$data['googleUserEmail'],'studyId'=>$data['studyId'],'googleUserCn'=>$data['googleUserCn'],'accessToken'=>$accessToken); + } + /* mayor auth stop */ + } else { + $_SESSION['alert'][] = 'info::googleapi:nem érvényes accessToken'; + } + /* googleapi login stop */ + } + return false; +} + +function getUserByGoogleSub($googleSub) { + if ($googleSub=='') return false; + $q = "SELECT * FROM googleConnect WHERE googleSub='%s' ORDER BY policy LIMIT 1"; + $v = array($googleSub); + $record = db_query($q,array('fv'=>'getUserByGoogleSub','modul'=>'login','result'=>'record','values'=>$v)); + return $record; +} + +function setGoogleToken($googleSub, $id_token) { + if ($googleSub=='') return false; + if ($id_token=='') return false; + $_SESSION['googleapi_id_token'] = $id_token; +} + +?> diff --git a/mayor-orig/www/include/share/net/phpmailer.php b/mayor-orig/www/include/share/net/phpmailer.php new file mode 100644 index 00000000..5bbaec78 --- /dev/null +++ b/mayor-orig/www/include/share/net/phpmailer.php @@ -0,0 +1,3552 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer - PHP email creation and transport class. + * @package PHPMailer + * @author Marcus Bointon (Synchro/coolbru) + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + */ +class PHPMailer +{ + /** + * The PHPMailer Version number. + * @type string + */ + public $Version = '5.2.9'; + + /** + * Email priority. + * Options: 1 = High, 3 = Normal, 5 = low. + * @type integer + */ + public $Priority = 3; + + /** + * The character set of the message. + * @type string + */ + public $CharSet = 'utf-8'; + + /** + * The MIME Content-type of the message. + * @type string + */ + public $ContentType = 'text/plain'; + + /** + * The message encoding. + * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". + * @type string + */ + public $Encoding = '8bit'; + + /** + * Holds the most recent mailer error message. + * @type string + */ + public $ErrorInfo = ''; + + /** + * The From email address for the message. + * @type string + */ + public $From = 'root@localhost'; + + /** + * The From name of the message. + * @type string + */ + public $FromName = 'Root User'; + + /** + * The Sender email (Return-Path) of the message. + * If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode. + * @type string + */ + public $Sender = ''; + + /** + * The Return-Path of the message. + * If empty, it will be set to either From or Sender. + * @type string + * @deprecated Email senders should never set a return-path header; + * it's the receiver's job (RFC5321 section 4.4), so this no longer does anything. + * @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference + */ + public $ReturnPath = ''; + + /** + * The Subject of the message. + * @type string + */ + public $Subject = ''; + + /** + * An HTML or plain text message body. + * If HTML then call isHTML(true). + * @type string + */ + public $Body = ''; + + /** + * The plain-text message body. + * This body can be read by mail clients that do not have HTML email + * capability such as mutt & Eudora. + * Clients that can read HTML will view the normal Body. + * @type string + */ + public $AltBody = ''; + + /** + * An iCal message part body. + * Only supported in simple alt or alt_inline message types + * To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator + * @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/ + * @link http://kigkonsult.se/iCalcreator/ + * @type string + */ + public $Ical = ''; + + /** + * The complete compiled MIME message body. + * @access protected + * @type string + */ + protected $MIMEBody = ''; + + /** + * The complete compiled MIME message headers. + * @type string + * @access protected + */ + protected $MIMEHeader = ''; + + /** + * Extra headers that createHeader() doesn't fold in. + * @type string + * @access protected + */ + protected $mailHeader = ''; + + /** + * Word-wrap the message body to this number of chars. + * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance. + * @type integer + */ + public $WordWrap = 0; + + /** + * Which method to use to send mail. + * Options: "mail", "sendmail", or "smtp". + * @type string + */ + public $Mailer = 'mail'; + + /** + * The path to the sendmail program. + * @type string + */ + public $Sendmail = '/usr/sbin/sendmail'; + + /** + * Whether mail() uses a fully sendmail-compatible MTA. + * One which supports sendmail's "-oi -f" options. + * @type boolean + */ + public $UseSendmailOptions = true; + + /** + * Path to PHPMailer plugins. + * Useful if the SMTP class is not in the PHP include path. + * @type string + * @deprecated Should not be needed now there is an autoloader. + */ + public $PluginDir = ''; + + /** + * The email address that a reading confirmation should be sent to. + * @type string + */ + public $ConfirmReadingTo = ''; + + /** + * The hostname to use in Message-Id and Received headers + * and as default HELO string. + * If empty, the value returned + * by SERVER_NAME is used or 'localhost.localdomain'. + * @type string + */ + public $Hostname = ''; + + /** + * An ID to be used in the Message-Id header. + * If empty, a unique id will be generated. + * @type string + */ + public $MessageID = ''; + + /** + * The message Date to be used in the Date header. + * If empty, the current date will be added. + * @type string + */ + public $MessageDate = ''; + + /** + * SMTP hosts. + * Either a single hostname or multiple semicolon-delimited hostnames. + * You can also specify a different port + * for each host by using this format: [hostname:port] + * (e.g. "smtp1.example.com:25;smtp2.example.com"). + * You can also specify encryption type, for example: + * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465"). + * Hosts will be tried in order. + * @type string + */ + public $Host = 'localhost'; + + /** + * The default SMTP server port. + * @type integer + * @TODO Why is this needed when the SMTP class takes care of it? + */ + public $Port = 25; + + /** + * The SMTP HELO of the message. + * Default is $Hostname. + * @type string + * @see PHPMailer::$Hostname + */ + public $Helo = ''; + + /** + * The secure connection prefix. + * Options: "", "ssl" or "tls" + * @type string + */ + public $SMTPSecure = ''; + + /** + * Whether to use SMTP authentication. + * Uses the Username and Password properties. + * @type boolean + * @see PHPMailer::$Username + * @see PHPMailer::$Password + */ + public $SMTPAuth = false; + + /** + * SMTP username. + * @type string + */ + public $Username = ''; + + /** + * SMTP password. + * @type string + */ + public $Password = ''; + + /** + * SMTP auth type. + * Options are LOGIN (default), PLAIN, NTLM, CRAM-MD5 + * @type string + */ + public $AuthType = ''; + + /** + * SMTP realm. + * Used for NTLM auth + * @type string + */ + public $Realm = ''; + + /** + * SMTP workstation. + * Used for NTLM auth + * @type string + */ + public $Workstation = ''; + + /** + * The SMTP server timeout in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * @type integer + */ + public $Timeout = 300; + + /** + * SMTP class debug output mode. + * Debug output level. + * Options: + * * `0` No output + * * `1` Commands + * * `2` Data and commands + * * `3` As 2 plus connection status + * * `4` Low-level data output + * @type integer + * @see SMTP::$do_debug + */ + public $SMTPDebug = 0; + + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `
`, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * + * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * + * @type string|callable + * @see SMTP::$Debugoutput + */ + public $Debugoutput = 'echo'; + + /** + * Whether to keep SMTP connection open after each message. + * If this is set to true then to close the connection + * requires an explicit call to smtpClose(). + * @type boolean + */ + public $SMTPKeepAlive = false; + + /** + * Whether to split multiple to addresses into multiple messages + * or send them all in one message. + * @type boolean + */ + public $SingleTo = false; + + /** + * Storage for addresses when SingleTo is enabled. + * @type array + * @TODO This should really not be public + */ + public $SingleToArray = array(); + + /** + * Whether to generate VERP addresses on send. + * Only applicable when sending via SMTP. + * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path + * @link http://www.postfix.org/VERP_README.html Postfix VERP info + * @type boolean + */ + public $do_verp = false; + + /** + * Whether to allow sending messages with an empty body. + * @type boolean + */ + public $AllowEmpty = false; + + /** + * The default line ending. + * @note The default remains "\n". We force CRLF where we know + * it must be used via self::CRLF. + * @type string + */ + public $LE = "\n"; + + /** + * DKIM selector. + * @type string + */ + public $DKIM_selector = ''; + + /** + * DKIM Identity. + * Usually the email address used as the source of the email + * @type string + */ + public $DKIM_identity = ''; + + /** + * DKIM passphrase. + * Used if your key is encrypted. + * @type string + */ + public $DKIM_passphrase = ''; + + /** + * DKIM signing domain name. + * @example 'example.com' + * @type string + */ + public $DKIM_domain = ''; + + /** + * DKIM private key file path. + * @type string + */ + public $DKIM_private = ''; + + /** + * Callback Action function name. + * + * The function that handles the result of the send email action. + * It is called out by send() for each email sent. + * + * Value can be any php callable: http://www.php.net/is_callable + * + * Parameters: + * boolean $result result of the send action + * string $to email address of the recipient + * string $cc cc email addresses + * string $bcc bcc email addresses + * string $subject the subject + * string $body the email body + * string $from email address of sender + * @type string + */ + public $action_function = ''; + + /** + * What to put in the X-Mailer header. + * Options: An empty string for PHPMailer default, whitespace for none, or a string to use + * @type string + */ + public $XMailer = ''; + + /** + * An instance of the SMTP sender class. + * @type SMTP + * @access protected + */ + protected $smtp = null; + + /** + * The array of 'to' addresses. + * @type array + * @access protected + */ + protected $to = array(); + + /** + * The array of 'cc' addresses. + * @type array + * @access protected + */ + protected $cc = array(); + + /** + * The array of 'bcc' addresses. + * @type array + * @access protected + */ + protected $bcc = array(); + + /** + * The array of reply-to names and addresses. + * @type array + * @access protected + */ + protected $ReplyTo = array(); + + /** + * An array of all kinds of addresses. + * Includes all of $to, $cc, $bcc + * @type array + * @access protected + */ + protected $all_recipients = array(); + + /** + * The array of attachments. + * @type array + * @access protected + */ + protected $attachment = array(); + + /** + * The array of custom headers. + * @type array + * @access protected + */ + protected $CustomHeader = array(); + + /** + * The most recent Message-ID (including angular brackets). + * @type string + * @access protected + */ + protected $lastMessageID = ''; + + /** + * The message's MIME type. + * @type string + * @access protected + */ + protected $message_type = ''; + + /** + * The array of MIME boundary strings. + * @type array + * @access protected + */ + protected $boundary = array(); + + /** + * The array of available languages. + * @type array + * @access protected + */ + protected $language = array(); + + /** + * The number of errors encountered. + * @type integer + * @access protected + */ + protected $error_count = 0; + + /** + * The S/MIME certificate file path. + * @type string + * @access protected + */ + protected $sign_cert_file = ''; + + /** + * The S/MIME key file path. + * @type string + * @access protected + */ + protected $sign_key_file = ''; + + /** + * The optional S/MIME extra certificates ("CA Chain") file path. + * @type string + * @access protected + */ + protected $sign_extracerts_file = ''; + + /** + * The S/MIME password for the key. + * Used only if the key is encrypted. + * @type string + * @access protected + */ + protected $sign_key_pass = ''; + + /** + * Whether to throw exceptions for errors. + * @type boolean + * @access protected + */ + protected $exceptions = false; + + /** + * Error severity: message only, continue processing. + */ + const STOP_MESSAGE = 0; + + /** + * Error severity: message, likely ok to continue processing. + */ + const STOP_CONTINUE = 1; + + /** + * Error severity: message, plus full stop, critical error reached. + */ + const STOP_CRITICAL = 2; + + /** + * SMTP RFC standard line ending. + */ + const CRLF = "\r\n"; + + /** + * Constructor. + * @param boolean $exceptions Should we throw external exceptions? + */ + public function __construct($exceptions = false) + { + $this->exceptions = (boolean)$exceptions; + } + + /** + * Destructor. + */ + public function __destruct() + { + //Close any open SMTP connection nicely + if ($this->Mailer == 'smtp') { + $this->smtpClose(); + } + } + + /** + * Call mail() in a safe_mode-aware fashion. + * Also, unless sendmail_path points to sendmail (or something that + * claims to be sendmail), don't pass params (not a perfect fix, + * but it will do) + * @param string $to To + * @param string $subject Subject + * @param string $body Message Body + * @param string $header Additional Header(s) + * @param string $params Params + * @access private + * @return boolean + */ + private function mailPassthru($to, $subject, $body, $header, $params) + { + //Check overloading of mail function to avoid double-encoding + if (ini_get('mbstring.func_overload') & 1) { + $subject = $this->secureHeader($subject); + } else { + $subject = $this->encodeHeader($this->secureHeader($subject)); + } + if (ini_get('safe_mode') || !($this->UseSendmailOptions)) { + $result = @mail($to, $subject, $body, $header); + } else { + $result = @mail($to, $subject, $body, $header, $params); + } + return $result; + } + + /** + * Output debugging info via user-defined method. + * Only generates output if SMTP debug output is enabled (@see SMTP::$do_debug). + * @see PHPMailer::$Debugoutput + * @see PHPMailer::$SMTPDebug + * @param string $str + */ + protected function edebug($str) + { + if ($this->SMTPDebug <= 0) { + return; + } + //Avoid clash with built-in function names + if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) { + call_user_func($this->Debugoutput, $str, $this->SMTPDebug); + return; + } + switch ($this->Debugoutput) { + case 'error_log': + //Don't output, just log + error_log($str); + break; + case 'html': + //Cleans up output a bit for a better looking, HTML-safe output + echo htmlentities( + preg_replace('/[\r\n]+/', '', $str), + ENT_QUOTES, + 'UTF-8' + ) + . "
\n"; + break; + case 'echo': + default: + //Normalize line breaks + $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str); + echo gmdate('Y-m-d H:i:s') . "\t" . str_replace( + "\n", + "\n \t ", + trim($str) + ) . "\n"; + } + } + + /** + * Sets message type to HTML or plain. + * @param boolean $isHtml True for HTML mode. + * @return void + */ + public function isHTML($isHtml = true) + { + if ($isHtml) { + $this->ContentType = 'text/html'; + } else { + $this->ContentType = 'text/plain'; + } + } + + /** + * Send messages using SMTP. + * @return void + */ + public function isSMTP() + { + $this->Mailer = 'smtp'; + } + + /** + * Send messages using PHP's mail() function. + * @return void + */ + public function isMail() + { + $this->Mailer = 'mail'; + } + + /** + * Send messages using $Sendmail. + * @return void + */ + public function isSendmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (!stristr($ini_sendmail_path, 'sendmail')) { + $this->Sendmail = '/usr/sbin/sendmail'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'sendmail'; + } + + /** + * Send messages using qmail. + * @return void + */ + public function isQmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (!stristr($ini_sendmail_path, 'qmail')) { + $this->Sendmail = '/var/qmail/bin/qmail-inject'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'qmail'; + } + + /** + * Add a "To" address. + * @param string $address + * @param string $name + * @return boolean true on success, false if address already used + */ + public function addAddress($address, $name = '') + { + return $this->addAnAddress('to', $address, $name); + } + + /** + * Add a "CC" address. + * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer. + * @param string $address + * @param string $name + * @return boolean true on success, false if address already used + */ + public function addCC($address, $name = '') + { + return $this->addAnAddress('cc', $address, $name); + } + + /** + * Add a "BCC" address. + * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer. + * @param string $address + * @param string $name + * @return boolean true on success, false if address already used + */ + public function addBCC($address, $name = '') + { + return $this->addAnAddress('bcc', $address, $name); + } + + /** + * Add a "Reply-to" address. + * @param string $address + * @param string $name + * @return boolean + */ + public function addReplyTo($address, $name = '') + { + return $this->addAnAddress('Reply-To', $address, $name); + } + + /** + * Add an address to one of the recipient arrays. + * Addresses that have been added already return false, but do not throw exceptions + * @param string $kind One of 'to', 'cc', 'bcc', 'ReplyTo' + * @param string $address The email address to send to + * @param string $name + * @throws phpmailerException + * @return boolean true on success, false if address already used or invalid in some way + * @access protected + */ + protected function addAnAddress($kind, $address, $name = '') + { + if (!preg_match('/^(to|cc|bcc|Reply-To)$/', $kind)) { + $this->setError($this->lang('Invalid recipient array') . ': ' . $kind); + $this->edebug($this->lang('Invalid recipient array') . ': ' . $kind); + if ($this->exceptions) { + throw new phpmailerException('Invalid recipient array: ' . $kind); + } + return false; + } + $address = trim($address); + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + if (!$this->validateAddress($address)) { + $this->setError($this->lang('invalid_address') . ': ' . $address); + $this->edebug($this->lang('invalid_address') . ': ' . $address); + if ($this->exceptions) { + throw new phpmailerException($this->lang('invalid_address') . ': ' . $address); + } + return false; + } + if ($kind != 'Reply-To') { + if (!isset($this->all_recipients[strtolower($address)])) { + array_push($this->$kind, array($address, $name)); + $this->all_recipients[strtolower($address)] = true; + return true; + } + } else { + if (!array_key_exists(strtolower($address), $this->ReplyTo)) { + $this->ReplyTo[strtolower($address)] = array($address, $name); + return true; + } + } + return false; + } + + /** + * Set the From and FromName properties. + * @param string $address + * @param string $name + * @param boolean $auto Whether to also set the Sender address, defaults to true + * @throws phpmailerException + * @return boolean + */ + public function setFrom($address, $name = '', $auto = true) + { + $address = trim($address); + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + if (!$this->validateAddress($address)) { + $this->setError($this->lang('invalid_address') . ': ' . $address); + $this->edebug($this->lang('invalid_address') . ': ' . $address); + if ($this->exceptions) { + throw new phpmailerException($this->lang('invalid_address') . ': ' . $address); + } + return false; + } + $this->From = $address; + $this->FromName = $name; + if ($auto) { + if (empty($this->Sender)) { + $this->Sender = $address; + } + } + return true; + } + + /** + * Return the Message-ID header of the last email. + * Technically this is the value from the last time the headers were created, + * but it's also the message ID of the last sent message except in + * pathological cases. + * @return string + */ + public function getLastMessageID() + { + return $this->lastMessageID; + } + + /** + * Check that a string looks like an email address. + * @param string $address The email address to check + * @param string $patternselect A selector for the validation pattern to use : + * * `auto` Pick strictest one automatically; + * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14; + * * `pcre` Use old PCRE implementation; + * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL; same as pcre8 but does not allow 'dotless' domains; + * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements. + * * `noregex` Don't use a regex: super fast, really dumb. + * @return boolean + * @static + * @access public + */ + public static function validateAddress($address, $patternselect = 'auto') + { + if (!$patternselect or $patternselect == 'auto') { + //Check this constant first so it works when extension_loaded() is disabled by safe mode + //Constant was added in PHP 5.2.4 + if (defined('PCRE_VERSION')) { + //This pattern can get stuck in a recursive loop in PCRE <= 8.0.2 + if (version_compare(PCRE_VERSION, '8.0.3') >= 0) { + $patternselect = 'pcre8'; + } else { + $patternselect = 'pcre'; + } + } elseif (function_exists('extension_loaded') and extension_loaded('pcre')) { + //Fall back to older PCRE + $patternselect = 'pcre'; + } else { + //Filter_var appeared in PHP 5.2.0 and does not require the PCRE extension + if (version_compare(PHP_VERSION, '5.2.0') >= 0) { + $patternselect = 'php'; + } else { + $patternselect = 'noregex'; + } + } + } + switch ($patternselect) { + case 'pcre8': + /** + * Uses the same RFC5322 regex on which FILTER_VALIDATE_EMAIL is based, but allows dotless domains. + * @link http://squiloople.com/2009/12/20/email-address-validation/ + * @copyright 2009-2010 Michael Rushton + * Feel free to use and redistribute this code. But please keep this copyright notice. + */ + return (boolean)preg_match( + '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' . + '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' . + '(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' . + '([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*' . + '(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)' . + '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' . + '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' . + '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' . + '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', + $address + ); + case 'pcre': + //An older regex that doesn't need a recent PCRE + return (boolean)preg_match( + '/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!(?>"?(?>\\\[ -~]|[^"])"?){65,}@)(?>' . + '[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*")' . + '(?>\.(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*"))*' . + '@(?>(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?![a-z0-9-]{64,})' . + '(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)){0,126}|\[(?:(?>IPv6:(?>(?>[a-f0-9]{1,4})(?>:' . + '[a-f0-9]{1,4}){7}|(?!(?:.*[a-f0-9][:\]]){8,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?' . + '::(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?))|(?>(?>IPv6:(?>[a-f0-9]{1,4}(?>:' . + '[a-f0-9]{1,4}){5}:|(?!(?:.*[a-f0-9]:){6,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4})?' . + '::(?>(?:[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4}):)?))?(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}' . + '|[1-9]?[0-9])(?>\.(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}))\])$/isD', + $address + ); + case 'html5': + /** + * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. + * @link http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email) + */ + return (boolean)preg_match( + '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' . + '[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD', + $address + ); + case 'noregex': + //No PCRE! Do something _very_ approximate! + //Check the address is 3 chars or longer and contains an @ that's not the first or last char + return (strlen($address) >= 3 + and strpos($address, '@') >= 1 + and strpos($address, '@') != strlen($address) - 1); + case 'php': + default: + return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL); + } + } + + /** + * Create a message and send it. + * Uses the sending method specified by $Mailer. + * @throws phpmailerException + * @return boolean false on error - See the ErrorInfo property for details of the error. + */ + public function send() + { + try { + if (!$this->preSend()) { + return false; + } + return $this->postSend(); + } catch (phpmailerException $exc) { + $this->mailHeader = ''; + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + } + + /** + * Prepare a message for sending. + * @throws phpmailerException + * @return boolean + */ + public function preSend() + { + try { + $this->mailHeader = ''; + if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) { + throw new phpmailerException($this->lang('provide_address'), self::STOP_CRITICAL); + } + + // Set whether the message is multipart/alternative + if (!empty($this->AltBody)) { + $this->ContentType = 'multipart/alternative'; + } + + $this->error_count = 0; // reset errors + $this->setMessageType(); + // Refuse to send an empty message unless we are specifically allowing it + if (!$this->AllowEmpty and empty($this->Body)) { + throw new phpmailerException($this->lang('empty_message'), self::STOP_CRITICAL); + } + + $this->MIMEHeader = $this->createHeader(); + $this->MIMEBody = $this->createBody(); + + // To capture the complete message when using mail(), create + // an extra header list which createHeader() doesn't fold in + if ($this->Mailer == 'mail') { + if (count($this->to) > 0) { + $this->mailHeader .= $this->addrAppend('To', $this->to); + } else { + $this->mailHeader .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + $this->mailHeader .= $this->headerLine( + 'Subject', + $this->encodeHeader($this->secureHeader(trim($this->Subject))) + ); + } + + // Sign with DKIM if enabled + if (!empty($this->DKIM_domain) + && !empty($this->DKIM_private) + && !empty($this->DKIM_selector) + && file_exists($this->DKIM_private)) { + $header_dkim = $this->DKIM_Add( + $this->MIMEHeader . $this->mailHeader, + $this->encodeHeader($this->secureHeader($this->Subject)), + $this->MIMEBody + ); + $this->MIMEHeader = rtrim($this->MIMEHeader, "\r\n ") . self::CRLF . + str_replace("\r\n", "\n", $header_dkim) . self::CRLF; + } + return true; + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + } + + /** + * Actually send a message. + * Send the email via the selected mechanism + * @throws phpmailerException + * @return boolean + */ + public function postSend() + { + try { + // Choose the mailer and send through it + switch ($this->Mailer) { + case 'sendmail': + case 'qmail': + return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody); + case 'smtp': + return $this->smtpSend($this->MIMEHeader, $this->MIMEBody); + case 'mail': + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + default: + $sendMethod = $this->Mailer.'Send'; + if (method_exists($this, $sendMethod)) { + return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody); + } + + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + } + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + $this->edebug($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + } + return false; + } + + /** + * Send mail using the $Sendmail program. + * @param string $header The message headers + * @param string $body The message body + * @see PHPMailer::$Sendmail + * @throws phpmailerException + * @access protected + * @return boolean + */ + protected function sendmailSend($header, $body) + { + if ($this->Sender != '') { + if ($this->Mailer == 'qmail') { + $sendmail = sprintf('%s -f%s', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); + } else { + $sendmail = sprintf('%s -oi -f%s -t', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); + } + } else { + if ($this->Mailer == 'qmail') { + $sendmail = sprintf('%s', escapeshellcmd($this->Sendmail)); + } else { + $sendmail = sprintf('%s -oi -t', escapeshellcmd($this->Sendmail)); + } + } + if ($this->SingleTo) { + foreach ($this->SingleToArray as $toAddr) { + if (!@$mail = popen($sendmail, 'w')) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + fputs($mail, 'To: ' . $toAddr . "\n"); + fputs($mail, $header); + fputs($mail, $body); + $result = pclose($mail); + $this->doCallback( + ($result == 0), + array($toAddr), + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From + ); + if ($result != 0) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + } else { + if (!@$mail = popen($sendmail, 'w')) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + fputs($mail, $header); + fputs($mail, $body); + $result = pclose($mail); + $this->doCallback(($result == 0), $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From); + if ($result != 0) { + throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + return true; + } + + /** + * Send mail using the PHP mail() function. + * @param string $header The message headers + * @param string $body The message body + * @link http://www.php.net/manual/en/book.mail.php + * @throws phpmailerException + * @access protected + * @return boolean + */ + protected function mailSend($header, $body) + { + $toArr = array(); + foreach ($this->to as $toaddr) { + $toArr[] = $this->addrFormat($toaddr); + } + $to = implode(', ', $toArr); + + if (empty($this->Sender)) { + $params = ' '; + } else { + $params = sprintf('-f%s', $this->Sender); + } + if ($this->Sender != '' and !ini_get('safe_mode')) { + $old_from = ini_get('sendmail_from'); + ini_set('sendmail_from', $this->Sender); + } + $result = false; + if ($this->SingleTo && count($toArr) > 1) { + foreach ($toArr as $toAddr) { + $result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params); + $this->doCallback($result, array($toAddr), $this->cc, $this->bcc, $this->Subject, $body, $this->From); + } + } else { + $result = $this->mailPassthru($to, $this->Subject, $body, $header, $params); + $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From); + } + if (isset($old_from)) { + ini_set('sendmail_from', $old_from); + } + if (!$result) { + throw new phpmailerException($this->lang('instantiate'), self::STOP_CRITICAL); + } + return true; + } + + /** + * Get an instance to use for SMTP operations. + * Override this function to load your own SMTP implementation + * @return SMTP + */ + public function getSMTPInstance() + { + if (!is_object($this->smtp)) { + $this->smtp = new SMTP; + } + return $this->smtp; + } + + /** + * Send mail via SMTP. + * Returns false if there is a bad MAIL FROM, RCPT, or DATA input. + * Uses the PHPMailerSMTP class by default. + * @see PHPMailer::getSMTPInstance() to use a different class. + * @param string $header The message headers + * @param string $body The message body + * @throws phpmailerException + * @uses SMTP + * @access protected + * @return boolean + */ + protected function smtpSend($header, $body) + { + $bad_rcpt = array(); + if (!$this->smtpConnect()) { + throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); + } + if ('' == $this->Sender) { + $smtp_from = $this->From; + } else { + $smtp_from = $this->Sender; + } + if (!$this->smtp->mail($smtp_from)) { + $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError())); + throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL); + } + + // Attempt to send to all recipients + foreach (array($this->to, $this->cc, $this->bcc) as $togroup) { + foreach ($togroup as $to) { + if (!$this->smtp->recipient($to[0])) { + $error = $this->smtp->getError(); + $bad_rcpt[] = array('to' => $to[0], 'error' => $error['detail']); + $isSent = false; + } else { + $isSent = true; + } + $this->doCallback($isSent, array($to[0]), array(), array(), $this->Subject, $body, $this->From); + } + } + + // Only send the DATA command if we have viable recipients + if ((count($this->all_recipients) > count($bad_rcpt)) and !$this->smtp->data($header . $body)) { + throw new phpmailerException($this->lang('data_not_accepted'), self::STOP_CRITICAL); + } + if ($this->SMTPKeepAlive) { + $this->smtp->reset(); + } else { + $this->smtp->quit(); + $this->smtp->close(); + } + //Create error message for any bad addresses + if (count($bad_rcpt) > 0) { + $errstr = ''; + foreach ($bad_rcpt as $bad) { + $errstr .= $bad['to'] . ': ' . $bad['error']; + } + throw new phpmailerException( + $this->lang('recipients_failed') . $errstr, + self::STOP_CONTINUE + ); + } + return true; + } + + /** + * Initiate a connection to an SMTP server. + * Returns false if the operation failed. + * @param array $options An array of options compatible with stream_context_create() + * @uses SMTP + * @access public + * @throws phpmailerException + * @return boolean + */ + public function smtpConnect($options = array()) + { + if (is_null($this->smtp)) { + $this->smtp = $this->getSMTPInstance(); + } + + // Already connected? + if ($this->smtp->connected()) { + return true; + } + + $this->smtp->setTimeout($this->Timeout); + $this->smtp->setDebugLevel($this->SMTPDebug); + $this->smtp->setDebugOutput($this->Debugoutput); + $this->smtp->setVerp($this->do_verp); + $hosts = explode(';', $this->Host); + $lastexception = null; + + foreach ($hosts as $hostentry) { + $hostinfo = array(); + if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) { + // Not a valid host entry + continue; + } + // $hostinfo[2]: optional ssl or tls prefix + // $hostinfo[3]: the hostname + // $hostinfo[4]: optional port number + // The host string prefix can temporarily override the current setting for SMTPSecure + // If it's not specified, the default value is used + $prefix = ''; + $secure = $this->SMTPSecure; + $tls = ($this->SMTPSecure == 'tls'); + if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) { + $prefix = 'ssl://'; + $tls = false; // Can't have SSL and TLS at the same time + $secure = 'ssl'; + } elseif ($hostinfo[2] == 'tls') { + $tls = true; + // tls doesn't use a prefix + $secure = 'tls'; + } + //Do we need the OpenSSL extension? + if ('tls' === $secure or 'ssl' === $secure) { + //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled + if (!defined('OPENSSL_ALGO_SHA1')) { + throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL); + } + } + $host = $hostinfo[3]; + $port = $this->Port; + $tport = (integer)$hostinfo[4]; + if ($tport > 0 and $tport < 65536) { + $port = $tport; + } + if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) { + try { + if ($this->Helo) { + $hello = $this->Helo; + } else { + $hello = $this->serverHostname(); + } + $this->smtp->hello($hello); + + if ($tls) { + if (!$this->smtp->startTLS()) { + throw new phpmailerException($this->lang('connect_host')); + } + // We must resend HELO after tls negotiation + $this->smtp->hello($hello); + } + if ($this->SMTPAuth) { + if (!$this->smtp->authenticate( + $this->Username, + $this->Password, + $this->AuthType, + $this->Realm, + $this->Workstation + ) + ) { + throw new phpmailerException($this->lang('authenticate')); + } + } + return true; + } catch (phpmailerException $exc) { + $lastexception = $exc; + $this->edebug($exc->getMessage()); + // We must have connected, but then failed TLS or Auth, so close connection nicely + $this->smtp->quit(); + } + } + } + // If we get here, all connection attempts have failed, so close connection hard + $this->smtp->close(); + // As we've caught all exceptions, just report whatever the last one was + if ($this->exceptions and !is_null($lastexception)) { + throw $lastexception; + } + return false; + } + + /** + * Close the active SMTP session if one exists. + * @return void + */ + public function smtpClose() + { + if ($this->smtp !== null) { + if ($this->smtp->connected()) { + $this->smtp->quit(); + $this->smtp->close(); + } + } + } + + /** + * Set the language for error messages. + * Returns false if it cannot load the language file. + * The default language is English. + * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr") + * @param string $lang_path Path to the language file directory, with trailing separator (slash) + * @return boolean + * @access public + */ + public function setLanguage($langcode = 'en', $lang_path = '') + { + // Define full set of translatable strings in English + $PHPMAILER_LANG = array( + 'authenticate' => 'SMTP Error: Could not authenticate.', + 'connect_host' => 'SMTP Error: Could not connect to SMTP host.', + 'data_not_accepted' => 'SMTP Error: data not accepted.', + 'empty_message' => 'Message body empty', + 'encoding' => 'Unknown encoding: ', + 'execute' => 'Could not execute: ', + 'file_access' => 'Could not access file: ', + 'file_open' => 'File Error: Could not open file: ', + 'from_failed' => 'The following From address failed: ', + 'instantiate' => 'Could not instantiate mail function.', + 'invalid_address' => 'Invalid address', + 'mailer_not_supported' => ' mailer is not supported.', + 'provide_address' => 'You must provide at least one recipient email address.', + 'recipients_failed' => 'SMTP Error: The following recipients failed: ', + 'signing' => 'Signing Error: ', + 'smtp_connect_failed' => 'SMTP connect() failed.', + 'smtp_error' => 'SMTP server error: ', + 'variable_set' => 'Cannot set or reset variable: ', + 'extension_missing' => 'Extension missing: ' + ); + if (empty($lang_path)) { + // Calculate an absolute path so it can work if CWD is not here + $lang_path = dirname(__FILE__). DIRECTORY_SEPARATOR . 'language'. DIRECTORY_SEPARATOR; + } + $foundlang = true; + $lang_file = $lang_path . 'phpmailer.lang-' . $langcode . '.php'; + // There is no English translation file + if ($langcode != 'en') { + // Make sure language file path is readable + if (!is_readable($lang_file)) { + $foundlang = false; + } else { + // Overwrite language-specific strings. + // This way we'll never have missing translation keys. + $foundlang = include $lang_file; + } + } + $this->language = $PHPMAILER_LANG; + return (boolean)$foundlang; // Returns false if language not found + } + + /** + * Get the array of strings for the current language. + * @return array + */ + public function getTranslations() + { + return $this->language; + } + + /** + * Create recipient headers. + * @access public + * @param string $type + * @param array $addr An array of recipient, + * where each recipient is a 2-element indexed array with element 0 containing an address + * and element 1 containing a name, like: + * array(array('joe@example.com', 'Joe User'), array('zoe@example.com', 'Zoe User')) + * @return string + */ + public function addrAppend($type, $addr) + { + $addresses = array(); + foreach ($addr as $address) { + $addresses[] = $this->addrFormat($address); + } + return $type . ': ' . implode(', ', $addresses) . $this->LE; + } + + /** + * Format an address for use in a message header. + * @access public + * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name + * like array('joe@example.com', 'Joe User') + * @return string + */ + public function addrFormat($addr) + { + if (empty($addr[1])) { // No name provided + return $this->secureHeader($addr[0]); + } else { + return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . ' <' . $this->secureHeader( + $addr[0] + ) . '>'; + } + } + + /** + * Word-wrap message. + * For use with mailers that do not automatically perform wrapping + * and for quoted-printable encoded messages. + * Original written by philippe. + * @param string $message The message to wrap + * @param integer $length The line length to wrap to + * @param boolean $qp_mode Whether to run in Quoted-Printable mode + * @access public + * @return string + */ + public function wrapText($message, $length, $qp_mode = false) + { + if ($qp_mode) { + $soft_break = sprintf(' =%s', $this->LE); + } else { + $soft_break = $this->LE; + } + // If utf-8 encoding is used, we will need to make sure we don't + // split multibyte characters when we wrap + $is_utf8 = (strtolower($this->CharSet) == 'utf-8'); + $lelen = strlen($this->LE); + $crlflen = strlen(self::CRLF); + + $message = $this->fixEOL($message); + //Remove a trailing line break + if (substr($message, -$lelen) == $this->LE) { + $message = substr($message, 0, -$lelen); + } + + //Split message into lines + $lines = explode($this->LE, $message); + //Message will be rebuilt in here + $message = ''; + foreach ($lines as $line) { + $words = explode(' ', $line); + $buf = ''; + $firstword = true; + foreach ($words as $word) { + if ($qp_mode and (strlen($word) > $length)) { + $space_left = $length - strlen($buf) - $crlflen; + if (!$firstword) { + if ($space_left > 20) { + $len = $space_left; + if ($is_utf8) { + $len = $this->utf8CharBoundary($word, $len); + } elseif (substr($word, $len - 1, 1) == '=') { + $len--; + } elseif (substr($word, $len - 2, 1) == '=') { + $len -= 2; + } + $part = substr($word, 0, $len); + $word = substr($word, $len); + $buf .= ' ' . $part; + $message .= $buf . sprintf('=%s', self::CRLF); + } else { + $message .= $buf . $soft_break; + } + $buf = ''; + } + while (strlen($word) > 0) { + if ($length <= 0) { + break; + } + $len = $length; + if ($is_utf8) { + $len = $this->utf8CharBoundary($word, $len); + } elseif (substr($word, $len - 1, 1) == '=') { + $len--; + } elseif (substr($word, $len - 2, 1) == '=') { + $len -= 2; + } + $part = substr($word, 0, $len); + $word = substr($word, $len); + + if (strlen($word) > 0) { + $message .= $part . sprintf('=%s', self::CRLF); + } else { + $buf = $part; + } + } + } else { + $buf_o = $buf; + if (!$firstword) { + $buf .= ' '; + } + $buf .= $word; + + if (strlen($buf) > $length and $buf_o != '') { + $message .= $buf_o . $soft_break; + $buf = $word; + } + } + $firstword = false; + } + $message .= $buf . self::CRLF; + } + + return $message; + } + + /** + * Find the last character boundary prior to $maxLength in a utf-8 + * quoted-printable encoded string. + * Original written by Colin Brown. + * @access public + * @param string $encodedText utf-8 QP text + * @param integer $maxLength Find the last character boundary prior to this length + * @return integer + */ + public function utf8CharBoundary($encodedText, $maxLength) + { + $foundSplitPos = false; + $lookBack = 3; + while (!$foundSplitPos) { + $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack); + $encodedCharPos = strpos($lastChunk, '='); + if (false !== $encodedCharPos) { + // Found start of encoded character byte within $lookBack block. + // Check the encoded byte value (the 2 chars after the '=') + $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2); + $dec = hexdec($hex); + if ($dec < 128) { + // Single byte character. + // If the encoded char was found at pos 0, it will fit + // otherwise reduce maxLength to start of the encoded char + if ($encodedCharPos > 0) { + $maxLength = $maxLength - ($lookBack - $encodedCharPos); + } + $foundSplitPos = true; + } elseif ($dec >= 192) { + // First byte of a multi byte character + // Reduce maxLength to split at start of character + $maxLength = $maxLength - ($lookBack - $encodedCharPos); + $foundSplitPos = true; + } elseif ($dec < 192) { + // Middle byte of a multi byte character, look further back + $lookBack += 3; + } + } else { + // No encoded character found + $foundSplitPos = true; + } + } + return $maxLength; + } + + /** + * Apply word wrapping to the message body. + * Wraps the message body to the number of chars set in the WordWrap property. + * You should only do this to plain-text bodies as wrapping HTML tags may break them. + * This is called automatically by createBody(), so you don't need to call it yourself. + * @access public + * @return void + */ + public function setWordWrap() + { + if ($this->WordWrap < 1) { + return; + } + + switch ($this->message_type) { + case 'alt': + case 'alt_inline': + case 'alt_attach': + case 'alt_inline_attach': + $this->AltBody = $this->wrapText($this->AltBody, $this->WordWrap); + break; + default: + $this->Body = $this->wrapText($this->Body, $this->WordWrap); + break; + } + } + + /** + * Assemble message headers. + * @access public + * @return string The assembled headers + */ + public function createHeader() + { + $result = ''; + + // Set the boundaries + $uniq_id = md5(uniqid(time())); + $this->boundary[1] = 'b1_' . $uniq_id; + $this->boundary[2] = 'b2_' . $uniq_id; + $this->boundary[3] = 'b3_' . $uniq_id; + + if ($this->MessageDate == '') { + $this->MessageDate = self::rfcDate(); + } + $result .= $this->headerLine('Date', $this->MessageDate); + + + // To be created automatically by mail() + if ($this->SingleTo) { + if ($this->Mailer != 'mail') { + foreach ($this->to as $toaddr) { + $this->SingleToArray[] = $this->addrFormat($toaddr); + } + } + } else { + if (count($this->to) > 0) { + if ($this->Mailer != 'mail') { + $result .= $this->addrAppend('To', $this->to); + } + } elseif (count($this->cc) == 0) { + $result .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + } + + $result .= $this->addrAppend('From', array(array(trim($this->From), $this->FromName))); + + // sendmail and mail() extract Cc from the header before sending + if (count($this->cc) > 0) { + $result .= $this->addrAppend('Cc', $this->cc); + } + + // sendmail and mail() extract Bcc from the header before sending + if (( + $this->Mailer == 'sendmail' or $this->Mailer == 'qmail' or $this->Mailer == 'mail' + ) + and count($this->bcc) > 0 + ) { + $result .= $this->addrAppend('Bcc', $this->bcc); + } + + if (count($this->ReplyTo) > 0) { + $result .= $this->addrAppend('Reply-To', $this->ReplyTo); + } + + // mail() sets the subject itself + if ($this->Mailer != 'mail') { + $result .= $this->headerLine('Subject', $this->encodeHeader($this->secureHeader($this->Subject))); + } + + if ($this->MessageID != '') { + $this->lastMessageID = $this->MessageID; + } else { + $this->lastMessageID = sprintf('<%s@%s>', $uniq_id, $this->ServerHostname()); + } + $result .= $this->headerLine('Message-ID', $this->lastMessageID); + $result .= $this->headerLine('X-Priority', $this->Priority); + if ($this->XMailer == '') { + $result .= $this->headerLine( + 'X-Mailer', + 'PHPMailer ' . $this->Version . ' (https://github.com/PHPMailer/PHPMailer/)' + ); + } else { + $myXmailer = trim($this->XMailer); + if ($myXmailer) { + $result .= $this->headerLine('X-Mailer', $myXmailer); + } + } + + if ($this->ConfirmReadingTo != '') { + $result .= $this->headerLine('Disposition-Notification-To', '<' . trim($this->ConfirmReadingTo) . '>'); + } + + // Add custom headers + foreach ($this->CustomHeader as $header) { + $result .= $this->headerLine( + trim($header[0]), + $this->encodeHeader(trim($header[1])) + ); + } + if (!$this->sign_key_file) { + $result .= $this->headerLine('MIME-Version', '1.0'); + $result .= $this->getMailMIME(); + } + + return $result; + } + + /** + * Get the message MIME type headers. + * @access public + * @return string + */ + public function getMailMIME() + { + $result = ''; + $ismultipart = true; + switch ($this->message_type) { + case 'inline': + $result .= $this->headerLine('Content-Type', 'multipart/related;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + case 'attach': + case 'inline_attach': + case 'alt_attach': + case 'alt_inline_attach': + $result .= $this->headerLine('Content-Type', 'multipart/mixed;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + case 'alt': + case 'alt_inline': + $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); + break; + default: + // Catches case 'plain': and case '': + $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); + $ismultipart = false; + break; + } + // RFC1341 part 5 says 7bit is assumed if not specified + if ($this->Encoding != '7bit') { + // RFC 2045 section 6.4 says multipart MIME parts may only use 7bit, 8bit or binary CTE + if ($ismultipart) { + if ($this->Encoding == '8bit') { + $result .= $this->headerLine('Content-Transfer-Encoding', '8bit'); + } + // The only remaining alternatives are quoted-printable and base64, which are both 7bit compatible + } else { + $result .= $this->headerLine('Content-Transfer-Encoding', $this->Encoding); + } + } + + if ($this->Mailer != 'mail') { + $result .= $this->LE; + } + + return $result; + } + + /** + * Returns the whole MIME message. + * Includes complete headers and body. + * Only valid post preSend(). + * @see PHPMailer::preSend() + * @access public + * @return string + */ + public function getSentMIMEMessage() + { + return $this->MIMEHeader . $this->mailHeader . self::CRLF . $this->MIMEBody; + } + + /** + * Assemble the message body. + * Returns an empty string on failure. + * @access public + * @throws phpmailerException + * @return string The assembled message body + */ + public function createBody() + { + $body = ''; + + if ($this->sign_key_file) { + $body .= $this->getMailMIME() . $this->LE; + } + + $this->setWordWrap(); + + $bodyEncoding = $this->Encoding; + $bodyCharSet = $this->CharSet; + if ($bodyEncoding == '8bit' and !$this->has8bitChars($this->Body)) { + $bodyEncoding = '7bit'; + $bodyCharSet = 'us-ascii'; + } + $altBodyEncoding = $this->Encoding; + $altBodyCharSet = $this->CharSet; + if ($altBodyEncoding == '8bit' and !$this->has8bitChars($this->AltBody)) { + $altBodyEncoding = '7bit'; + $altBodyCharSet = 'us-ascii'; + } + //Use this as a preamble in all multipart message types + $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE; + switch ($this->message_type) { + case 'inline': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[1]); + break; + case 'attach': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'inline_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, '', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'alt': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + if (!empty($this->Ical)) { + $body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', ''); + $body .= $this->encodeString($this->Ical, $this->Encoding); + $body .= $this->LE . $this->LE; + } + $body .= $this->endBoundary($this->boundary[1]); + break; + case 'alt_inline': + $body .= $mimepre; + $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[2]); + $body .= $this->LE; + $body .= $this->endBoundary($this->boundary[1]); + break; + case 'alt_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->endBoundary($this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + case 'alt_inline_attach': + $body .= $mimepre; + $body .= $this->textLine('--' . $this->boundary[1]); + $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); + $body .= $this->encodeString($this->AltBody, $altBodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->textLine('--' . $this->boundary[2]); + $body .= $this->headerLine('Content-Type', 'multipart/related;'); + $body .= $this->textLine("\tboundary=\"" . $this->boundary[3] . '"'); + $body .= $this->LE; + $body .= $this->getBoundary($this->boundary[3], $bodyCharSet, 'text/html', $bodyEncoding); + $body .= $this->encodeString($this->Body, $bodyEncoding); + $body .= $this->LE . $this->LE; + $body .= $this->attachAll('inline', $this->boundary[3]); + $body .= $this->LE; + $body .= $this->endBoundary($this->boundary[2]); + $body .= $this->LE; + $body .= $this->attachAll('attachment', $this->boundary[1]); + break; + default: + // catch case 'plain' and case '' + $body .= $this->encodeString($this->Body, $bodyEncoding); + break; + } + + if ($this->isError()) { + $body = ''; + } elseif ($this->sign_key_file) { + try { + if (!defined('PKCS7_TEXT')) { + throw new phpmailerException($this->lang('extension_missing') . 'openssl'); + } + // @TODO would be nice to use php://temp streams here, but need to wrap for PHP < 5.1 + $file = tempnam(sys_get_temp_dir(), 'mail'); + if (false === file_put_contents($file, $body)) { + throw new phpmailerException($this->lang('signing') . ' Could not write temp file'); + } + $signed = tempnam(sys_get_temp_dir(), 'signed'); + //Workaround for PHP bug https://bugs.php.net/bug.php?id=69197 + if (empty($this->sign_extracerts_file)) { + $sign = @openssl_pkcs7_sign( + $file, + $signed, + 'file://' . realpath($this->sign_cert_file), + array('file://' . realpath($this->sign_key_file), $this->sign_key_pass), + null + ); + } else { + $sign = @openssl_pkcs7_sign( + $file, + $signed, + 'file://' . realpath($this->sign_cert_file), + array('file://' . realpath($this->sign_key_file), $this->sign_key_pass), + null, + PKCS7_DETACHED, + $this->sign_extracerts_file + ); + } + if ($sign) { + @unlink($file); + $body = file_get_contents($signed); + @unlink($signed); + //The message returned by openssl contains both headers and body, so need to split them up + $parts = explode("\n\n", $body, 2); + $this->MIMEHeader .= $parts[0] . $this->LE . $this->LE; + $body = $parts[1]; + } else { + @unlink($file); + @unlink($signed); + throw new phpmailerException($this->lang('signing') . openssl_error_string()); + } + } catch (phpmailerException $exc) { + $body = ''; + if ($this->exceptions) { + throw $exc; + } + } + } + return $body; + } + + /** + * Return the start of a message boundary. + * @access protected + * @param string $boundary + * @param string $charSet + * @param string $contentType + * @param string $encoding + * @return string + */ + protected function getBoundary($boundary, $charSet, $contentType, $encoding) + { + $result = ''; + if ($charSet == '') { + $charSet = $this->CharSet; + } + if ($contentType == '') { + $contentType = $this->ContentType; + } + if ($encoding == '') { + $encoding = $this->Encoding; + } + $result .= $this->textLine('--' . $boundary); + $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet); + $result .= $this->LE; + // RFC1341 part 5 says 7bit is assumed if not specified + if ($encoding != '7bit') { + $result .= $this->headerLine('Content-Transfer-Encoding', $encoding); + } + $result .= $this->LE; + + return $result; + } + + /** + * Return the end of a message boundary. + * @access protected + * @param string $boundary + * @return string + */ + protected function endBoundary($boundary) + { + return $this->LE . '--' . $boundary . '--' . $this->LE; + } + + /** + * Set the message type. + * PHPMailer only supports some preset message types, + * not arbitrary MIME structures. + * @access protected + * @return void + */ + protected function setMessageType() + { + $type = array(); + if ($this->alternativeExists()) { + $type[] = 'alt'; + } + if ($this->inlineImageExists()) { + $type[] = 'inline'; + } + if ($this->attachmentExists()) { + $type[] = 'attach'; + } + $this->message_type = implode('_', $type); + if ($this->message_type == '') { + $this->message_type = 'plain'; + } + } + + /** + * Format a header line. + * @access public + * @param string $name + * @param string $value + * @return string + */ + public function headerLine($name, $value) + { + return $name . ': ' . $value . $this->LE; + } + + /** + * Return a formatted mail line. + * @access public + * @param string $value + * @return string + */ + public function textLine($value) + { + return $value . $this->LE; + } + + /** + * Add an attachment from a path on the filesystem. + * Returns false if the file could not be found or read. + * @param string $path Path to the attachment. + * @param string $name Overrides the attachment name. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File extension (MIME) type. + * @param string $disposition Disposition to use + * @throws phpmailerException + * @return boolean + */ + public function addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment') + { + try { + if (!@is_file($path)) { + throw new phpmailerException($this->lang('file_access') . $path, self::STOP_CONTINUE); + } + + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($path); + } + + $filename = basename($path); + if ($name == '') { + $name = $filename; + } + + $this->attachment[] = array( + 0 => $path, + 1 => $filename, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => false, // isStringAttachment + 6 => $disposition, + 7 => 0 + ); + + } catch (phpmailerException $exc) { + $this->setError($exc->getMessage()); + $this->edebug($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + return false; + } + return true; + } + + /** + * Return the array of attachments. + * @return array + */ + public function getAttachments() + { + return $this->attachment; + } + + /** + * Attach all file, string, and binary attachments to the message. + * Returns an empty string on failure. + * @access protected + * @param string $disposition_type + * @param string $boundary + * @return string + */ + protected function attachAll($disposition_type, $boundary) + { + // Return text of body + $mime = array(); + $cidUniq = array(); + $incl = array(); + + // Add all attachments + foreach ($this->attachment as $attachment) { + // Check if it is a valid disposition_filter + if ($attachment[6] == $disposition_type) { + // Check for string attachment + $string = ''; + $path = ''; + $bString = $attachment[5]; + if ($bString) { + $string = $attachment[0]; + } else { + $path = $attachment[0]; + } + + $inclhash = md5(serialize($attachment)); + if (in_array($inclhash, $incl)) { + continue; + } + $incl[] = $inclhash; + $name = $attachment[2]; + $encoding = $attachment[3]; + $type = $attachment[4]; + $disposition = $attachment[6]; + $cid = $attachment[7]; + if ($disposition == 'inline' && isset($cidUniq[$cid])) { + continue; + } + $cidUniq[$cid] = true; + + $mime[] = sprintf('--%s%s', $boundary, $this->LE); + $mime[] = sprintf( + 'Content-Type: %s; name="%s"%s', + $type, + $this->encodeHeader($this->secureHeader($name)), + $this->LE + ); + // RFC1341 part 5 says 7bit is assumed if not specified + if ($encoding != '7bit') { + $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, $this->LE); + } + + if ($disposition == 'inline') { + $mime[] = sprintf('Content-ID: <%s>%s', $cid, $this->LE); + } + + // If a filename contains any of these chars, it should be quoted, + // but not otherwise: RFC2183 & RFC2045 5.1 + // Fixes a warning in IETF's msglint MIME checker + // Allow for bypassing the Content-Disposition header totally + if (!(empty($disposition))) { + $encoded_name = $this->encodeHeader($this->secureHeader($name)); + if (preg_match('/[ \(\)<>@,;:\\"\/\[\]\?=]/', $encoded_name)) { + $mime[] = sprintf( + 'Content-Disposition: %s; filename="%s"%s', + $disposition, + $encoded_name, + $this->LE . $this->LE + ); + } else { + $mime[] = sprintf( + 'Content-Disposition: %s; filename=%s%s', + $disposition, + $encoded_name, + $this->LE . $this->LE + ); + } + } else { + $mime[] = $this->LE; + } + + // Encode as string attachment + if ($bString) { + $mime[] = $this->encodeString($string, $encoding); + if ($this->isError()) { + return ''; + } + $mime[] = $this->LE . $this->LE; + } else { + $mime[] = $this->encodeFile($path, $encoding); + if ($this->isError()) { + return ''; + } + $mime[] = $this->LE . $this->LE; + } + } + } + + $mime[] = sprintf('--%s--%s', $boundary, $this->LE); + + return implode('', $mime); + } + + /** + * Encode a file attachment in requested format. + * Returns an empty string on failure. + * @param string $path The full path to the file + * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' + * @throws phpmailerException + * @see EncodeFile(encodeFile + * @access protected + * @return string + */ + protected function encodeFile($path, $encoding = 'base64') + { + try { + if (!is_readable($path)) { + throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE); + } + $magic_quotes = get_magic_quotes_runtime(); + if ($magic_quotes) { + if (version_compare(PHP_VERSION, '5.3.0', '<')) { + set_magic_quotes_runtime(false); + } else { + //Doesn't exist in PHP 5.4, but we don't need to check because + //get_magic_quotes_runtime always returns false in 5.4+ + //so it will never get here + ini_set('magic_quotes_runtime', false); + } + } + $file_buffer = file_get_contents($path); + $file_buffer = $this->encodeString($file_buffer, $encoding); + if ($magic_quotes) { + if (version_compare(PHP_VERSION, '5.3.0', '<')) { + set_magic_quotes_runtime($magic_quotes); + } else { + ini_set('magic_quotes_runtime', $magic_quotes); + } + } + return $file_buffer; + } catch (Exception $exc) { + $this->setError($exc->getMessage()); + return ''; + } + } + + /** + * Encode a string in requested format. + * Returns an empty string on failure. + * @param string $str The text to encode + * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' + * @access public + * @return string + */ + public function encodeString($str, $encoding = 'base64') + { + $encoded = ''; + switch (strtolower($encoding)) { + case 'base64': + $encoded = chunk_split(base64_encode($str), 76, $this->LE); + break; + case '7bit': + case '8bit': + $encoded = $this->fixEOL($str); + // Make sure it ends with a line break + if (substr($encoded, -(strlen($this->LE))) != $this->LE) { + $encoded .= $this->LE; + } + break; + case 'binary': + $encoded = $str; + break; + case 'quoted-printable': + $encoded = $this->encodeQP($str); + break; + default: + $this->setError($this->lang('encoding') . $encoding); + break; + } + return $encoded; + } + + /** + * Encode a header string optimally. + * Picks shortest of Q, B, quoted-printable or none. + * @access public + * @param string $str + * @param string $position + * @return string + */ + public function encodeHeader($str, $position = 'text') + { + $matchcount = 0; + switch (strtolower($position)) { + case 'phrase': + if (!preg_match('/[\200-\377]/', $str)) { + // Can't use addslashes as we don't know the value of magic_quotes_sybase + $encoded = addcslashes($str, "\0..\37\177\\\""); + if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) { + return ($encoded); + } else { + return ("\"$encoded\""); + } + } + $matchcount = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches); + break; + /** @noinspection PhpMissingBreakStatementInspection */ + case 'comment': + $matchcount = preg_match_all('/[()"]/', $str, $matches); + // Intentional fall-through + case 'text': + default: + $matchcount += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches); + break; + } + + //There are no chars that need encoding + if ($matchcount == 0) { + return ($str); + } + + $maxlen = 75 - 7 - strlen($this->CharSet); + // Try to select the encoding which should produce the shortest output + if ($matchcount > strlen($str) / 3) { + // More than a third of the content will need encoding, so B encoding will be most efficient + $encoding = 'B'; + if (function_exists('mb_strlen') && $this->hasMultiBytes($str)) { + // Use a custom function which correctly encodes and wraps long + // multibyte strings without breaking lines within a character + $encoded = $this->base64EncodeWrapMB($str, "\n"); + } else { + $encoded = base64_encode($str); + $maxlen -= $maxlen % 4; + $encoded = trim(chunk_split($encoded, $maxlen, "\n")); + } + } else { + $encoding = 'Q'; + $encoded = $this->encodeQ($str, $position); + $encoded = $this->wrapText($encoded, $maxlen, true); + $encoded = str_replace('=' . self::CRLF, "\n", trim($encoded)); + } + + $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded); + $encoded = trim(str_replace("\n", $this->LE, $encoded)); + + return $encoded; + } + + /** + * Check if a string contains multi-byte characters. + * @access public + * @param string $str multi-byte text to wrap encode + * @return boolean + */ + public function hasMultiBytes($str) + { + if (function_exists('mb_strlen')) { + return (strlen($str) > mb_strlen($str, $this->CharSet)); + } else { // Assume no multibytes (we can't handle without mbstring functions anyway) + return false; + } + } + + /** + * Does a string contain any 8-bit chars (in any charset)? + * @param string $text + * @return boolean + */ + public function has8bitChars($text) + { + return (boolean)preg_match('/[\x80-\xFF]/', $text); + } + + /** + * Encode and wrap long multibyte strings for mail headers + * without breaking lines within a character. + * Adapted from a function by paravoid + * @link http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283 + * @access public + * @param string $str multi-byte text to wrap encode + * @param string $linebreak string to use as linefeed/end-of-line + * @return string + */ + public function base64EncodeWrapMB($str, $linebreak = null) + { + $start = '=?' . $this->CharSet . '?B?'; + $end = '?='; + $encoded = ''; + if ($linebreak === null) { + $linebreak = $this->LE; + } + + $mb_length = mb_strlen($str, $this->CharSet); + // Each line must have length <= 75, including $start and $end + $length = 75 - strlen($start) - strlen($end); + // Average multi-byte ratio + $ratio = $mb_length / strlen($str); + // Base64 has a 4:3 ratio + $avgLength = floor($length * $ratio * .75); + + for ($i = 0; $i < $mb_length; $i += $offset) { + $lookBack = 0; + do { + $offset = $avgLength - $lookBack; + $chunk = mb_substr($str, $i, $offset, $this->CharSet); + $chunk = base64_encode($chunk); + $lookBack++; + } while (strlen($chunk) > $length); + $encoded .= $chunk . $linebreak; + } + + // Chomp the last linefeed + $encoded = substr($encoded, 0, -strlen($linebreak)); + return $encoded; + } + + /** + * Encode a string in quoted-printable format. + * According to RFC2045 section 6.7. + * @access public + * @param string $string The text to encode + * @param integer $line_max Number of chars allowed on a line before wrapping + * @return string + * @link http://www.php.net/manual/en/function.quoted-printable-decode.php#89417 Adapted from this comment + */ + public function encodeQP($string, $line_max = 76) + { + // Use native function if it's available (>= PHP5.3) + if (function_exists('quoted_printable_encode')) { + return $this->fixEOL(quoted_printable_encode($string)); + } + // Fall back to a pure PHP implementation + $string = str_replace( + array('%20', '%0D%0A.', '%0D%0A', '%'), + array(' ', "\r\n=2E", "\r\n", '='), + rawurlencode($string) + ); + $string = preg_replace('/[^\r\n]{' . ($line_max - 3) . '}[^=\r\n]{2}/', "$0=\r\n", $string); + return $this->fixEOL($string); + } + + /** + * Backward compatibility wrapper for an old QP encoding function that was removed. + * @see PHPMailer::encodeQP() + * @access public + * @param string $string + * @param integer $line_max + * @param boolean $space_conv + * @return string + * @deprecated Use encodeQP instead. + */ + public function encodeQPphp( + $string, + $line_max = 76, + /** @noinspection PhpUnusedParameterInspection */ $space_conv = false + ) { + return $this->encodeQP($string, $line_max); + } + + /** + * Encode a string using Q encoding. + * @link http://tools.ietf.org/html/rfc2047 + * @param string $str the text to encode + * @param string $position Where the text is going to be used, see the RFC for what that means + * @access public + * @return string + */ + public function encodeQ($str, $position = 'text') + { + // There should not be any EOL in the string + $pattern = ''; + $encoded = str_replace(array("\r", "\n"), '', $str); + switch (strtolower($position)) { + case 'phrase': + // RFC 2047 section 5.3 + $pattern = '^A-Za-z0-9!*+\/ -'; + break; + /** @noinspection PhpMissingBreakStatementInspection */ + case 'comment': + // RFC 2047 section 5.2 + $pattern = '\(\)"'; + // intentional fall-through + // for this reason we build the $pattern without including delimiters and [] + case 'text': + default: + // RFC 2047 section 5.1 + // Replace every high ascii, control, =, ? and _ characters + $pattern = '\000-\011\013\014\016-\037\075\077\137\177-\377' . $pattern; + break; + } + $matches = array(); + if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) { + // If the string contains an '=', make sure it's the first thing we replace + // so as to avoid double-encoding + $eqkey = array_search('=', $matches[0]); + if (false !== $eqkey) { + unset($matches[0][$eqkey]); + array_unshift($matches[0], '='); + } + foreach (array_unique($matches[0]) as $char) { + $encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded); + } + } + // Replace every spaces to _ (more readable than =20) + return str_replace(' ', '_', $encoded); + } + + + /** + * Add a string or binary attachment (non-filesystem). + * This method can be used to attach ascii or binary data, + * such as a BLOB record from a database. + * @param string $string String attachment data. + * @param string $filename Name of the attachment. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File extension (MIME) type. + * @param string $disposition Disposition to use + * @return void + */ + public function addStringAttachment( + $string, + $filename, + $encoding = 'base64', + $type = '', + $disposition = 'attachment' + ) { + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($filename); + } + // Append to $attachment array + $this->attachment[] = array( + 0 => $string, + 1 => $filename, + 2 => basename($filename), + 3 => $encoding, + 4 => $type, + 5 => true, // isStringAttachment + 6 => $disposition, + 7 => 0 + ); + } + + /** + * Add an embedded (inline) attachment from a file. + * This can include images, sounds, and just about any other document type. + * These differ from 'regular' attachments in that they are intended to be + * displayed inline with the message, not just attached for download. + * This is used in HTML messages that embed the images + * the HTML refers to using the $cid value. + * @param string $path Path to the attachment. + * @param string $cid Content ID of the attachment; Use this to reference + * the content when using an embedded image in HTML. + * @param string $name Overrides the attachment name. + * @param string $encoding File encoding (see $Encoding). + * @param string $type File MIME type. + * @param string $disposition Disposition to use + * @return boolean True on successfully adding an attachment + */ + public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = '', $disposition = 'inline') + { + if (!@is_file($path)) { + $this->setError($this->lang('file_access') . $path); + return false; + } + + // If a MIME type is not specified, try to work it out from the file name + if ($type == '') { + $type = self::filenameToType($path); + } + + $filename = basename($path); + if ($name == '') { + $name = $filename; + } + + // Append to $attachment array + $this->attachment[] = array( + 0 => $path, + 1 => $filename, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => false, // isStringAttachment + 6 => $disposition, + 7 => $cid + ); + return true; + } + + /** + * Add an embedded stringified attachment. + * This can include images, sounds, and just about any other document type. + * Be sure to set the $type to an image type for images: + * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'. + * @param string $string The attachment binary data. + * @param string $cid Content ID of the attachment; Use this to reference + * the content when using an embedded image in HTML. + * @param string $name + * @param string $encoding File encoding (see $Encoding). + * @param string $type MIME type. + * @param string $disposition Disposition to use + * @return boolean True on successfully adding an attachment + */ + public function addStringEmbeddedImage( + $string, + $cid, + $name = '', + $encoding = 'base64', + $type = '', + $disposition = 'inline' + ) { + // If a MIME type is not specified, try to work it out from the name + if ($type == '') { + $type = self::filenameToType($name); + } + + // Append to $attachment array + $this->attachment[] = array( + 0 => $string, + 1 => $name, + 2 => $name, + 3 => $encoding, + 4 => $type, + 5 => true, // isStringAttachment + 6 => $disposition, + 7 => $cid + ); + return true; + } + + /** + * Check if an inline attachment is present. + * @access public + * @return boolean + */ + public function inlineImageExists() + { + foreach ($this->attachment as $attachment) { + if ($attachment[6] == 'inline') { + return true; + } + } + return false; + } + + /** + * Check if an attachment (non-inline) is present. + * @return boolean + */ + public function attachmentExists() + { + foreach ($this->attachment as $attachment) { + if ($attachment[6] == 'attachment') { + return true; + } + } + return false; + } + + /** + * Check if this message has an alternative body set. + * @return boolean + */ + public function alternativeExists() + { + return !empty($this->AltBody); + } + + /** + * Clear all To recipients. + * @return void + */ + public function clearAddresses() + { + foreach ($this->to as $to) { + unset($this->all_recipients[strtolower($to[0])]); + } + $this->to = array(); + } + + /** + * Clear all CC recipients. + * @return void + */ + public function clearCCs() + { + foreach ($this->cc as $cc) { + unset($this->all_recipients[strtolower($cc[0])]); + } + $this->cc = array(); + } + + /** + * Clear all BCC recipients. + * @return void + */ + public function clearBCCs() + { + foreach ($this->bcc as $bcc) { + unset($this->all_recipients[strtolower($bcc[0])]); + } + $this->bcc = array(); + } + + /** + * Clear all ReplyTo recipients. + * @return void + */ + public function clearReplyTos() + { + $this->ReplyTo = array(); + } + + /** + * Clear all recipient types. + * @return void + */ + public function clearAllRecipients() + { + $this->to = array(); + $this->cc = array(); + $this->bcc = array(); + $this->all_recipients = array(); + } + + /** + * Clear all filesystem, string, and binary attachments. + * @return void + */ + public function clearAttachments() + { + $this->attachment = array(); + } + + /** + * Clear all custom headers. + * @return void + */ + public function clearCustomHeaders() + { + $this->CustomHeader = array(); + } + + /** + * Add an error message to the error container. + * @access protected + * @param string $msg + * @return void + */ + protected function setError($msg) + { + $this->error_count++; + if ($this->Mailer == 'smtp' and !is_null($this->smtp)) { + $lasterror = $this->smtp->getError(); + if (!empty($lasterror['error'])) { + $msg .= $this->lang('smtp_error') . $lasterror['error']; + if (!empty($lasterror['detail'])) { + $msg .= ' Detail: '. $lasterror['detail']; + } + if (!empty($lasterror['smtp_code'])) { + $msg .= ' SMTP code: ' . $lasterror['smtp_code']; + } + if (!empty($lasterror['smtp_code_ex'])) { + $msg .= ' Additional SMTP info: ' . $lasterror['smtp_code_ex']; + } + } + } + $this->ErrorInfo = $msg; + } + + /** + * Return an RFC 822 formatted date. + * @access public + * @return string + * @static + */ + public static function rfcDate() + { + // Set the time zone to whatever the default is to avoid 500 errors + // Will default to UTC if it's not set properly in php.ini + date_default_timezone_set(@date_default_timezone_get()); + return date('D, j M Y H:i:s O'); + } + + /** + * Get the server hostname. + * Returns 'localhost.localdomain' if unknown. + * @access protected + * @return string + */ + protected function serverHostname() + { + $result = 'localhost.localdomain'; + if (!empty($this->Hostname)) { + $result = $this->Hostname; + } elseif (isset($_SERVER) and array_key_exists('SERVER_NAME', $_SERVER) and !empty($_SERVER['SERVER_NAME'])) { + $result = $_SERVER['SERVER_NAME']; + } elseif (function_exists('gethostname') && gethostname() !== false) { + $result = gethostname(); + } elseif (php_uname('n') !== false) { + $result = php_uname('n'); + } + return $result; + } + + /** + * Get an error message in the current language. + * @access protected + * @param string $key + * @return string + */ + protected function lang($key) + { + if (count($this->language) < 1) { + $this->setLanguage('en'); // set the default language + } + + if (array_key_exists($key, $this->language)) { + return $this->language[$key]; + } else { + //Return the key as a fallback + return $key; + } + } + + /** + * Check if an error occurred. + * @access public + * @return boolean True if an error did occur. + */ + public function isError() + { + return ($this->error_count > 0); + } + + /** + * Ensure consistent line endings in a string. + * Changes every end of line from CRLF, CR or LF to $this->LE. + * @access public + * @param string $str String to fixEOL + * @return string + */ + public function fixEOL($str) + { + // Normalise to \n + $nstr = str_replace(array("\r\n", "\r"), "\n", $str); + // Now convert LE as needed + if ($this->LE !== "\n") { + $nstr = str_replace("\n", $this->LE, $nstr); + } + return $nstr; + } + + /** + * Add a custom header. + * $name value can be overloaded to contain + * both header name and value (name:value) + * @access public + * @param string $name Custom header name + * @param string $value Header value + * @return void + */ + public function addCustomHeader($name, $value = null) + { + if ($value === null) { + // Value passed in as name:value + $this->CustomHeader[] = explode(':', $name, 2); + } else { + $this->CustomHeader[] = array($name, $value); + } + } + + /** + * Returns all custom headers + * + * @return array + */ + public function getCustomHeaders() + { + return $this->CustomHeader; + } + + /** + * Create a message from an HTML string. + * Automatically makes modifications for inline images and backgrounds + * and creates a plain-text version by converting the HTML. + * Overwrites any existing values in $this->Body and $this->AltBody + * @access public + * @param string $message HTML message string + * @param string $basedir baseline directory for path + * @param boolean|callable $advanced Whether to use the internal HTML to text converter + * or your own custom converter @see html2text() + * @return string $message + */ + public function msgHTML($message, $basedir = '', $advanced = false) + { + preg_match_all('/(src|background)=["\'](.*)["\']/Ui', $message, $images); + if (isset($images[2])) { + foreach ($images[2] as $imgindex => $url) { + // Convert data URIs into embedded images + if (preg_match('#^data:(image[^;,]*)(;base64)?,#', $url, $match)) { + $data = substr($url, strpos($url, ',')); + if ($match[2]) { + $data = base64_decode($data); + } else { + $data = rawurldecode($data); + } + $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2 + if ($this->addStringEmbeddedImage($data, $cid, '', 'base64', $match[1])) { + $message = str_replace( + $images[0][$imgindex], + $images[1][$imgindex] . '="cid:' . $cid . '"', + $message + ); + } + } elseif (!preg_match('#^[A-z]+://#', $url)) { + // Do not change urls for absolute images (thanks to corvuscorax) + $filename = basename($url); + $directory = dirname($url); + if ($directory == '.') { + $directory = ''; + } + $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2 + if (strlen($basedir) > 1 && substr($basedir, -1) != '/') { + $basedir .= '/'; + } + if (strlen($directory) > 1 && substr($directory, -1) != '/') { + $directory .= '/'; + } + if ($this->addEmbeddedImage( + $basedir . $directory . $filename, + $cid, + $filename, + 'base64', + self::_mime_types((string)self::mb_pathinfo($filename, PATHINFO_EXTENSION)) + ) + ) { + $message = preg_replace( + '/' . $images[1][$imgindex] . '=["\']' . preg_quote($url, '/') . '["\']/Ui', + $images[1][$imgindex] . '="cid:' . $cid . '"', + $message + ); + } + } + } + } + $this->isHTML(true); + // Convert all message body line breaks to CRLF, makes quoted-printable encoding work much better + $this->Body = $this->normalizeBreaks($message); + $this->AltBody = $this->normalizeBreaks($this->html2text($message, $advanced)); + if (empty($this->AltBody)) { + $this->AltBody = 'To view this email message, open it in a program that understands HTML!' . + self::CRLF . self::CRLF; + } + return $this->Body; + } + + /** + * Convert an HTML string into plain text. + * This is used by msgHTML(). + * Note - older versions of this function used a bundled advanced converter + * which was been removed for license reasons in #232 + * Example usage: + * + * // Use default conversion + * $plain = $mail->html2text($html); + * // Use your own custom converter + * $plain = $mail->html2text($html, function($html) { + * $converter = new MyHtml2text($html); + * return $converter->get_text(); + * }); + * + * @param string $html The HTML text to convert + * @param boolean|callable $advanced Any boolean value to use the internal converter, + * or provide your own callable for custom conversion. + * @return string + */ + public function html2text($html, $advanced = false) + { + if (is_callable($advanced)) { + return call_user_func($advanced, $html); + } + return html_entity_decode( + trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))), + ENT_QUOTES, + $this->CharSet + ); + } + + /** + * Get the MIME type for a file extension. + * @param string $ext File extension + * @access public + * @return string MIME type of file. + * @static + */ + public static function _mime_types($ext = '') + { + $mimes = array( + 'xl' => 'application/excel', + 'js' => 'application/javascript', + 'hqx' => 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'bin' => 'application/macbinary', + 'doc' => 'application/msword', + 'word' => 'application/msword', + 'class' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'dms' => 'application/octet-stream', + 'exe' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'psd' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'so' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => 'application/pdf', + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => 'application/vnd.ms-excel', + 'ppt' => 'application/vnd.ms-powerpoint', + 'wbxml' => 'application/vnd.wap.wbxml', + 'wmlc' => 'application/vnd.wap.wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'php3' => 'application/x-httpd-php', + 'php4' => 'application/x-httpd-php', + 'php' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => 'application/x-tar', + 'xht' => 'application/xhtml+xml', + 'xhtml' => 'application/xhtml+xml', + 'zip' => 'application/zip', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mp2' => 'audio/mpeg', + 'mp3' => 'audio/mpeg', + 'mpga' => 'audio/mpeg', + 'aif' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'wav' => 'audio/x-wav', + 'bmp' => 'image/bmp', + 'gif' => 'image/gif', + 'jpeg' => 'image/jpeg', + 'jpe' => 'image/jpeg', + 'jpg' => 'image/jpeg', + 'png' => 'image/png', + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'eml' => 'message/rfc822', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'shtml' => 'text/html', + 'log' => 'text/plain', + 'text' => 'text/plain', + 'txt' => 'text/plain', + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'vcf' => 'text/vcard', + 'vcard' => 'text/vcard', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mov' => 'video/quicktime', + 'qt' => 'video/quicktime', + 'rv' => 'video/vnd.rn-realvideo', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie' + ); + if (array_key_exists(strtolower($ext), $mimes)) { + return $mimes[strtolower($ext)]; + } + return 'application/octet-stream'; + } + + /** + * Map a file name to a MIME type. + * Defaults to 'application/octet-stream', i.e.. arbitrary binary data. + * @param string $filename A file name or full path, does not need to exist as a file + * @return string + * @static + */ + public static function filenameToType($filename) + { + // In case the path is a URL, strip any query string before getting extension + $qpos = strpos($filename, '?'); + if (false !== $qpos) { + $filename = substr($filename, 0, $qpos); + } + $pathinfo = self::mb_pathinfo($filename); + return self::_mime_types($pathinfo['extension']); + } + + /** + * Multi-byte-safe pathinfo replacement. + * Drop-in replacement for pathinfo(), but multibyte-safe, cross-platform-safe, old-version-safe. + * Works similarly to the one in PHP >= 5.2.0 + * @link http://www.php.net/manual/en/function.pathinfo.php#107461 + * @param string $path A filename or path, does not need to exist as a file + * @param integer|string $options Either a PATHINFO_* constant, + * or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2 + * @return string|array + * @static + */ + public static function mb_pathinfo($path, $options = null) + { + $ret = array('dirname' => '', 'basename' => '', 'extension' => '', 'filename' => ''); + $pathinfo = array(); + if (preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $pathinfo)) { + if (array_key_exists(1, $pathinfo)) { + $ret['dirname'] = $pathinfo[1]; + } + if (array_key_exists(2, $pathinfo)) { + $ret['basename'] = $pathinfo[2]; + } + if (array_key_exists(5, $pathinfo)) { + $ret['extension'] = $pathinfo[5]; + } + if (array_key_exists(3, $pathinfo)) { + $ret['filename'] = $pathinfo[3]; + } + } + switch ($options) { + case PATHINFO_DIRNAME: + case 'dirname': + return $ret['dirname']; + case PATHINFO_BASENAME: + case 'basename': + return $ret['basename']; + case PATHINFO_EXTENSION: + case 'extension': + return $ret['extension']; + case PATHINFO_FILENAME: + case 'filename': + return $ret['filename']; + default: + return $ret; + } + } + + /** + * Set or reset instance properties. + * You should avoid this function - it's more verbose, less efficient, more error-prone and + * harder to debug than setting properties directly. + * Usage Example: + * `$mail->set('SMTPSecure', 'tls');` + * is the same as: + * `$mail->SMTPSecure = 'tls';` + * @access public + * @param string $name The property name to set + * @param mixed $value The value to set the property to + * @return boolean + * @TODO Should this not be using the __set() magic function? + */ + public function set($name, $value = '') + { + if (property_exists($this, $name)) { + $this->$name = $value; + return true; + } else { + $this->setError($this->lang('variable_set') . $name); + return false; + } + } + + /** + * Strip newlines to prevent header injection. + * @access public + * @param string $str + * @return string + */ + public function secureHeader($str) + { + return trim(str_replace(array("\r", "\n"), '', $str)); + } + + /** + * Normalize line breaks in a string. + * Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. + * Defaults to CRLF (for message bodies) and preserves consecutive breaks. + * @param string $text + * @param string $breaktype What kind of line break to use, defaults to CRLF + * @return string + * @access public + * @static + */ + public static function normalizeBreaks($text, $breaktype = "\r\n") + { + return preg_replace('/(\r\n|\r|\n)/ms', $breaktype, $text); + } + + + /** + * Set the public and private key files and password for S/MIME signing. + * @access public + * @param string $cert_filename + * @param string $key_filename + * @param string $key_pass Password for private key + * @param string $extracerts_filename Optional path to chain certificate + */ + public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filename = '') + { + $this->sign_cert_file = $cert_filename; + $this->sign_key_file = $key_filename; + $this->sign_key_pass = $key_pass; + $this->sign_extracerts_file = $extracerts_filename; + } + + /** + * Quoted-Printable-encode a DKIM header. + * @access public + * @param string $txt + * @return string + */ + public function DKIM_QP($txt) + { + $line = ''; + for ($i = 0; $i < strlen($txt); $i++) { + $ord = ord($txt[$i]); + if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord == 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) { + $line .= $txt[$i]; + } else { + $line .= '=' . sprintf('%02X', $ord); + } + } + return $line; + } + + /** + * Generate a DKIM signature. + * @access public + * @param string $signHeader + * @throws phpmailerException + * @return string + */ + public function DKIM_Sign($signHeader) + { + if (!defined('PKCS7_TEXT')) { + if ($this->exceptions) { + throw new phpmailerException($this->lang('extension_missing') . 'openssl'); + } + return ''; + } + $privKeyStr = file_get_contents($this->DKIM_private); + if ($this->DKIM_passphrase != '') { + $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase); + } else { + $privKey = $privKeyStr; + } + if (openssl_sign($signHeader, $signature, $privKey)) { + return base64_encode($signature); + } + return ''; + } + + /** + * Generate a DKIM canonicalization header. + * @access public + * @param string $signHeader Header + * @return string + */ + public function DKIM_HeaderC($signHeader) + { + $signHeader = preg_replace('/\r\n\s+/', ' ', $signHeader); + $lines = explode("\r\n", $signHeader); + foreach ($lines as $key => $line) { + list($heading, $value) = explode(':', $line, 2); + $heading = strtolower($heading); + $value = preg_replace('/\s+/', ' ', $value); // Compress useless spaces + $lines[$key] = $heading . ':' . trim($value); // Don't forget to remove WSP around the value + } + $signHeader = implode("\r\n", $lines); + return $signHeader; + } + + /** + * Generate a DKIM canonicalization body. + * @access public + * @param string $body Message Body + * @return string + */ + public function DKIM_BodyC($body) + { + if ($body == '') { + return "\r\n"; + } + // stabilize line endings + $body = str_replace("\r\n", "\n", $body); + $body = str_replace("\n", "\r\n", $body); + // END stabilize line endings + while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") { + $body = substr($body, 0, strlen($body) - 2); + } + return $body; + } + + /** + * Create the DKIM header and body in a new message header. + * @access public + * @param string $headers_line Header lines + * @param string $subject Subject + * @param string $body Body + * @return string + */ + public function DKIM_Add($headers_line, $subject, $body) + { + $DKIMsignatureType = 'rsa-sha1'; // Signature & hash algorithms + $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body + $DKIMquery = 'dns/txt'; // Query method + $DKIMtime = time(); // Signature Timestamp = seconds since 00:00:00 - Jan 1, 1970 (UTC time zone) + $subject_header = "Subject: $subject"; + $headers = explode($this->LE, $headers_line); + $from_header = ''; + $to_header = ''; + $current = ''; + foreach ($headers as $header) { + if (strpos($header, 'From:') === 0) { + $from_header = $header; + $current = 'from_header'; + } elseif (strpos($header, 'To:') === 0) { + $to_header = $header; + $current = 'to_header'; + } else { + if (!empty($$current) && strpos($header, ' =?') === 0) { + $$current .= $header; + } else { + $current = ''; + } + } + } + $from = str_replace('|', '=7C', $this->DKIM_QP($from_header)); + $to = str_replace('|', '=7C', $this->DKIM_QP($to_header)); + $subject = str_replace( + '|', + '=7C', + $this->DKIM_QP($subject_header) + ); // Copied header fields (dkim-quoted-printable) + $body = $this->DKIM_BodyC($body); + $DKIMlen = strlen($body); // Length of body + $DKIMb64 = base64_encode(pack('H*', sha1($body))); // Base64 of packed binary SHA-1 hash of body + if ('' == $this->DKIM_identity) { + $ident = ''; + } else { + $ident = ' i=' . $this->DKIM_identity . ';'; + } + $dkimhdrs = 'DKIM-Signature: v=1; a=' . + $DKIMsignatureType . '; q=' . + $DKIMquery . '; l=' . + $DKIMlen . '; s=' . + $this->DKIM_selector . + ";\r\n" . + "\tt=" . $DKIMtime . '; c=' . $DKIMcanonicalization . ";\r\n" . + "\th=From:To:Subject;\r\n" . + "\td=" . $this->DKIM_domain . ';' . $ident . "\r\n" . + "\tz=$from\r\n" . + "\t|$to\r\n" . + "\t|$subject;\r\n" . + "\tbh=" . $DKIMb64 . ";\r\n" . + "\tb="; + $toSign = $this->DKIM_HeaderC( + $from_header . "\r\n" . $to_header . "\r\n" . $subject_header . "\r\n" . $dkimhdrs + ); + $signed = $this->DKIM_Sign($toSign); + return $dkimhdrs . $signed . "\r\n"; + } + + /** + * Allows for public read access to 'to' property. + * @access public + * @return array + */ + public function getToAddresses() + { + return $this->to; + } + + /** + * Allows for public read access to 'cc' property. + * @access public + * @return array + */ + public function getCcAddresses() + { + return $this->cc; + } + + /** + * Allows for public read access to 'bcc' property. + * @access public + * @return array + */ + public function getBccAddresses() + { + return $this->bcc; + } + + /** + * Allows for public read access to 'ReplyTo' property. + * @access public + * @return array + */ + public function getReplyToAddresses() + { + return $this->ReplyTo; + } + + /** + * Allows for public read access to 'all_recipients' property. + * @access public + * @return array + */ + public function getAllRecipientAddresses() + { + return $this->all_recipients; + } + + /** + * Perform a callback. + * @param boolean $isSent + * @param array $to + * @param array $cc + * @param array $bcc + * @param string $subject + * @param string $body + * @param string $from + */ + protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from) + { + if (!empty($this->action_function) && is_callable($this->action_function)) { + $params = array($isSent, $to, $cc, $bcc, $subject, $body, $from); + call_user_func_array($this->action_function, $params); + } + } +} + +/** + * PHPMailer exception handler + * @package PHPMailer + */ +class phpmailerException extends Exception +{ + /** + * Prettify error message output + * @return string + */ + public function errorMessage() + { + $errorMsg = '' . $this->getMessage() . "
\n"; + return $errorMsg; + } +} diff --git a/mayor-orig/www/include/share/net/rest.php b/mayor-orig/www/include/share/net/rest.php new file mode 100644 index 00000000..beace19a --- /dev/null +++ b/mayor-orig/www/include/share/net/rest.php @@ -0,0 +1,188 @@ + array('txt'=>'Continue', 'class'=>'Informational'), + 101 => array('txt'=>'Switching Protocols', 'class'=>'Informational'), + 200 => array('txt'=>'OK', 'class'=>'Successful'), + 201 => array('txt'=>'Created', 'class'=>'Successful'), + 202 => array('txt'=>'Accepted', 'class'=>'Successful'), + 203 => array('txt'=>'Non-Authoritative Information', 'class'=>'Successful'), + 204 => array('txt'=>'No Content', 'class'=>'Successful'), + 205 => array('txt'=>'Reset Content', 'class'=>'Successful'), + 206 => array('txt'=>'Partial Content', 'class'=>'Successful'), + 300 => array('txt'=>'Multiple Choices', 'class'=>'Redirection'), + 301 => array('txt'=>'Moved Permanently', 'class'=>'Redirection'), + 302 => array('txt'=>'Found', 'class'=>'Redirection'), + 303 => array('txt'=>'See Other', 'class'=>'Redirection'), + 304 => array('txt'=>'Not Modified', 'class'=>'Redirection'), + 305 => array('txt'=>'Use Proxy', 'class'=>'Redirection'), + 306 => array('txt'=>'(Unused)', 'class'=>'Redirection'), + 307 => array('txt'=>'Temporary Redirect', 'class'=>'Redirection'), + 400 => array('txt'=>'Bad Request', 'class'=>'Client Error'), + 401 => array('txt'=>'Unauthorized', 'class'=>'Client Error'), + 402 => array('txt'=>'Payment Required', 'class'=>'Client Error'), + 403 => array('txt'=>'Forbidden', 'class'=>'Client Error'), + 404 => array('txt'=>'Not Found', 'class'=>'Client Error'), + 405 => array('txt'=>'Method Not Allowed', 'class'=>'Client Error'), + 406 => array('txt'=>'Not Acceptable', 'class'=>'Client Error'), + 407 => array('txt'=>'Proxy Authentication Required', 'class'=>'Client Error'), + 408 => array('txt'=>'Request Timeout', 'class'=>'Client Error'), + 409 => array('txt'=>'Conflict', 'class'=>'Client Error'), + 410 => array('txt'=>'Gone', 'class'=>'Client Error'), + 411 => array('txt'=>'Length Required', 'class'=>'Client Error'), + 412 => array('txt'=>'Precondition Failed', 'class'=>'Client Error'), + 413 => array('txt'=>'Request Entity Too Large', 'class'=>'Client Error'), + 414 => array('txt'=>'Request-URI Too Long', 'class'=>'Client Error'), + 415 => array('txt'=>'Unsupported Media Type', 'class'=>'Client Error'), + 416 => array('txt'=>'Requested Range Not Satisfiable', 'class'=>'Client Error'), + 417 => array('txt'=>'Expectation Failed', 'class'=>'Client Error'), + 500 => array('txt'=>'Internal Server Error', 'class'=>'Server Error'), + 501 => array('txt'=>'Not Implemented', 'class'=>'Server Error'), + 502 => array('txt'=>'Bad Gateway', 'class'=>'Server Error'), + 503 => array('txt'=>'Service Unavailable', 'class'=>'Server Error'), + 504 => array('txt'=>'Gateway Timeout', 'class'=>'Server Error'), + 505 => array('txt'=>'HTTP Version Not Supported', 'class'=>'Server Error') +); + +/** + * REST hívás JSON kódolt adatokkal + * $url - a resource azonsosító + * $verb - GET (lekérdezés), POST (módosítás), DELETE (törlés) + * $params - azátadandó paraméterek asszociatív tömbje +**/ + +function restRequest($url, $verb, $params) { + $header = array( + 'Accept: text/plain', + 'Content-Type: application/json', + ); + $params['name'] = 'Naplo'; + $forcePostParams = ($verb != 'GET'); // A SuliX megvalósítás POST paraméterként (tehát a message body-ban) várja a paramétereket + return rest_helper($url, array(json_encode($params, JSON_FORCE_OBJECT)), $verb, 'json', $header, $forcePostParams); +} + +/** + * Általános REST hívás megadható metódussal, visszatérési érték: + * $ret [http] + * [status] + * [header][-indexed-] + * [result][-asszoc-] +**/ +function rest_helper($url, $params = null, $verb = 'GET', $format = 'json', $header = array(), $forcePostParams = false) { + + $cparams = array( + 'http' => array( + 'method' => $verb, + 'header' => implode("\r\n", $header), + 'ignore_errors' => true + ) + ); + if ($params !== null) { + $params = http_build_query($params); + if ($verb == 'POST' || $forcePostParams === true) { + $cparams['http']['content'] = $params; + } else { + $url .= '?' . $params; + } + } + + $context = stream_context_create($cparams); + $fp = fopen($url, 'rb', false, $context); + + if (!$fp) { + $res = false; + } else { + $meta = stream_get_meta_data($fp); + $ret['http']['status'] = explode(' ', $meta['wrapper_data'][0])[1]; + for ($i = 1; $i < count($meta['wrapper_data']); $i++) { + $tmp = explode(': ', $meta['wrapper_data'][$i]); + $ret['http']['header'][ $tmp[0] ] = $tmp[1]; + } + //var_dump($meta['wrapper_data']); + $res = stream_get_contents($fp); + } + + if ($res === false) { + throw new Exception("$verb $url failed: $php_errormsg"); + } + + switch ($format) { + case 'json': + $ret['result'] = json_decode($res, true); + if ($ret['result'] === null) { + throw new Exception("failed to decode $res as json"); + } + return $ret; + + case 'xml': + $ret['result'] = simplexml_load_string($res); + if ($ret['result'] === null) { + throw new Exception("failed to decode $res as xml"); + } + return $ret; + } + $ret['result'] = $res; + return $ret; +} + +/* + +// http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/ +// Az eredeti kód... + +function rest_helper($url, $params = null, $verb = 'GET', $format = 'json') +{ + $cparams = array( + 'http' => array( + 'method' => $verb, + 'ignore_errors' => true + ) + ); + if ($params !== null) { + $params = http_build_query($params); + if ($verb == 'POST') { + $cparams['http']['content'] = $params; + } else { + $url .= '?' . $params; + } + } + + $context = stream_context_create($cparams); + $fp = fopen($url, 'rb', false, $context); + if (!$fp) { + $res = false; + } else { + // If you're trying to troubleshoot problems, try uncommenting the + // next two lines; it will show you the HTTP response headers across + // all the redirects: + $meta = stream_get_meta_data($fp); + var_dump($meta['wrapper_data'][0]); + $res = stream_get_contents($fp); + } + + if ($res === false) { + throw new Exception("$verb $url failed: $php_errormsg"); + } + + switch ($format) { + case 'json': + $r = json_decode($res); + if ($r === null) { + throw new Exception("failed to decode $res as json"); + } + return $r; + + case 'xml': + $r = simplexml_load_string($res); + if ($r === null) { + throw new Exception("failed to decode $res as xml"); + } + return $r; + } + return $res; +} + +*/ + + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/share/net/upload.php b/mayor-orig/www/include/share/net/upload.php new file mode 100644 index 00000000..a909f6c2 --- /dev/null +++ b/mayor-orig/www/include/share/net/upload.php @@ -0,0 +1,58 @@ + 1000000) { + throw new RuntimeException('Túl nagy a file!'); + } + + $finfo = new finfo(FILEINFO_MIME_TYPE); + if (false === $ext = array_search( + $finfo->file($_FILES['upfile']['tmp_name']), + array( + 'jpg' => 'image/jpeg', + 'png' => 'image/png', + 'gif' => 'image/gif', + ), + true + )) { + throw new RuntimeException('Nem kép!'); + } + + // You should name it uniquely. + // DO NOT USE $_FILES['upfile']['name'] WITHOUT ANY VALIDATION !! + // On this example, obtain safe unique name from its binary data. + if (!move_uploaded_file($_FILES['upfile']['tmp_name'],$WHERE['subdir'].'/'.$WHERE['filename'])) { + throw new RuntimeException('Nem tudtuk átmozgatni. Van jogunk írni a célkönyvtárba?'); + } + + } catch (RuntimeException $e) { + $_SESSION['alert'][] = 'info::'.$e->getMessage(); + } +} +?> \ No newline at end of file diff --git a/mayor-orig/www/include/share/print/pdf.php b/mayor-orig/www/include/share/print/pdf.php new file mode 100644 index 00000000..41fe55c8 --- /dev/null +++ b/mayor-orig/www/include/share/print/pdf.php @@ -0,0 +1,270 @@ +'); // a . engedélyezett + $replace = array('_','_','_','_','_','_','_','_','_','_','_','_'); + return str_replace($search,$replace,$fileName); + } + + function pdfLaTeX($TeX, $fileName) { // Beszúrt képekkel problémája van a pdflatex-nek + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + return true; + + } + + function pdfLaTeXTwice($TeX, $fileName) { // Pl. longtable miatt kétszer kell futtatni... + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + return true; + + } + + function pdfLaTeXA4($TeX, $fileName) { // TeX --> DVI --> PS --> PDF - így jók a képek + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = @fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A4.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); +// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A4.tex'); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a4 "'.$dir.'/'.$fileName.'.dvi"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'.ps"'); + + return true; + + } + + function pdfLaTeXA4Split($TeX, $fileName) { // TeX --> DVI --> PS --> PDF --> pdftk --> zip - lapokra szétvágott + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = @fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A4.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a4 "'.$dir.'/'.$fileName.'.dvi"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'.ps"'); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && mkdir -p '.$dir.'/'.$fileName); + exec('HOME=/tmp && export HOME && cd '.$dir.'/'.$fileName.' && pdftk ../'.$fileName.'.pdf burst'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && zip -r '.$fileName.'.zip '.$fileName ); + exec('HOME=/tmp && export HOME && cd '.$dir.' && rm -r '.$dir.'/'.$fileName); + + return true; + + } + + + function pdfLaTeXA5($TeX, $fileName) { + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); +// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex'); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"'); + + $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n"; + $TeX .= '\usepackage[final]{pdfpages}'."\n"; + $TeX .= '\begin{document}'."\n"; + $TeX .= '\includepdf[nup=2x1, pages={-}]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n"; + $TeX .= '\end{document}'."\n"; + + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + + return true; + + } + + function pdfLaTeXA5Booklet($TeX, $fileName) { + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); +// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex'); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"'); + + $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n"; + $TeX .= '\usepackage[final]{pdfpages}'."\n"; + $TeX .= '\begin{document}'."\n"; + $TeX .= '\includepdf[nup=2x1, pages={-}, signature*=4]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n"; + $TeX .= '\end{document}'."\n"; + + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + + return true; + + } + + function pdfLaTeXA5Booklets($TeX, $fileName) { + + global $policy, $page, $sub, $f; + + define('__A5BOOKLETSCUTHERE','%%% cut here %%%'); + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'-A5.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A5.tex'; + return false; + } + // A forrást szétvágjuk több darabba a "%%% cut here %%%" string mentén + $T[] = explode(__A5BOOKLETSCUTHERE, $TeX); +// Itt tart a félkész fejlesztés... :) + fputs($ftex, $TeX); + fclose($ftex); +// exec('cd '.$dir.' && pdflatex -output-directory '.$dir.' '.$dir.'/'.$fileName.'-A5.tex'); + + exec('HOME=/tmp && export HOME && cd '.$dir.' && latex "'.$dir.'/'.$fileName.'-A5.tex"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && dvips -R0 -t a5 "'.$dir.'/'.$fileName.'-A5.dvi"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && ps2pdf "'.$dir.'/'.$fileName.'-A5.ps"'); + + $TeX = '\documentclass[a4paper,landscape,10pt]{article}'."\n"; + $TeX .= '\usepackage[final]{pdfpages}'."\n"; + $TeX .= '\begin{document}'."\n"; + $TeX .= '\includepdf[nup=2x1, pages={-}, signature*=4]{'.$dir.'/'.$fileName.'-A5.pdf}'."\n"; + $TeX .= '\end{document}'."\n"; + + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + + return true; + + } + + + + function pdfLaTeXA6($TeX, $fileName) { + + global $policy, $page, $sub, $f; + + $dir = _DOWNLOADDIR."/$policy/$page/$sub/$f"; + + // könyvtár ellenőrzése + $ftex = fopen($dir.'/'.$fileName.'-A6.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'-A6.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'-A6.tex"'); + + $TeX = '\documentclass[a4paper,10pt]{article}'."\n"; + $TeX .= '\usepackage[final]{pdfpages}'."\n"; + $TeX .= '\begin{document}'."\n"; + $TeX .= '\includepdf[nup=2x2, pages={-}]{'.$dir.'/'.$fileName.'-A6.pdf}'."\n"; + $TeX .= '\end{document}'."\n"; + + $ftex = fopen($dir.'/'.$fileName.'.tex', 'w'); + if (!$ftex) { + $_SESSION['alert'][] = 'message:file_write_failure:'.$dir.'/'.$fileName.'.tex'; + return false; + } + fputs($ftex, $TeX); + fclose($ftex); + exec('HOME=/tmp && export HOME && cd '.$dir.' && rm "'.$dir.'/'.$fileName.'.aux"'); + exec('HOME=/tmp && export HOME && cd '.$dir.' && pdflatex -output-directory '.$dir.' "'.$dir.'/'.$fileName.'.tex"'); + + return true; + + } + +?> diff --git a/mayor-orig/www/include/share/session/accountInfo.php b/mayor-orig/www/include/share/session/accountInfo.php new file mode 100644 index 00000000..104416ec --- /dev/null +++ b/mayor-orig/www/include/share/session/accountInfo.php @@ -0,0 +1,39 @@ +'*', 'withNewAccounts' => true)) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'GetAccountInfo'; + return $func($userAccount, $toPolicy, $SET); + + + } + +########################################################## +# getUserInfo - felhasználói információk (keretrendszer) +########################################################## + + function getUserInfo($userAccount, $toPolicy = _POLICY) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'GetUserInfo'; + return $func($userAccount, $toPolicy); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/include/share/session/attrs.php b/mayor-orig/www/include/share/session/attrs.php new file mode 100644 index 00000000..c7ebafb7 --- /dev/null +++ b/mayor-orig/www/include/share/session/attrs.php @@ -0,0 +1,63 @@ + array('desc' => _ATTR_USERACCOUNT, 'type' => 'text'), + 'userCn' => array('desc' => _ATTR_USERCN, 'type' => 'text'), + 'userPassword' => array('desc' => _ATTR_USERPASSWORD, 'type' => 'text'), + 'uidNumber' => array('desc' => _ATTR_UIDNUMBER, 'type' => 'text'), + 'mail' => array('desc' => _ATTR_MAIL, 'type' => 'text'), + 'telephoneNumber' => array('desc' => _ATTR_TELEPHONENUMBER, 'type' => 'text'), + 'studyId' => array('desc' => _ATTR_STUDYID, 'type' => 'text'), + 'shadowLastChange' => array('desc' => _ATTR_SHADOWLASTCHANGE, 'type' => 'text'), + 'shadowMin' => array('desc' => _ATTR_SHADOWMIN, 'type' => 'text'), + 'shadowMax' => array('desc' => _ATTR_SHADOWMAX, 'type' => 'text'), + 'shadowWarning' => array('desc' => _ATTR_SHADOWWARNING, 'type' => 'text'), + 'shadowInactive' => array('desc' => _ATTR_SHADOWINACTIVE, 'type' => 'text'), + 'shadowExpire' => array('desc' => _ATTR_SHADOWEXPIRE, 'type' => 'text'), + 'groupCn' => array('desc' => _ATTR_GROUPCN, 'type' => 'text'), + 'groupDesc' => array('desc' => _ATTR_GROUPDESC, 'type' => 'text'), + 'member' => array('desc' => _ATTR_MEMBER, 'type' => 'select'), + ); + + + +?> diff --git a/mayor-orig/www/include/share/session/base.php b/mayor-orig/www/include/share/session/base.php new file mode 100644 index 00000000..706a9ef9 --- /dev/null +++ b/mayor-orig/www/include/share/session/base.php @@ -0,0 +1,171 @@ +0) return $return; + else { + $return = array(); + if (is_array($AUTH[$toPolicy]['categories'])) + foreach ($AUTH[$toPolicy]['categories'] as $key => $category) { + if (memberOf($userAccount, $category, $toPolicy)) { + $return[] = $category; + } + if ($cacheable) _registerToCache('aCat',implode(';',$return),$toPolicy); // ha több csoport tagja is, ";" + } + return $return; + } + } + + function _queryCache($kulcs, $policy, $rType="indexed") { + $v = array(_SESSIONID,$kulcs,$policy); + return db_query("SELECT `ertek` FROM `cache` WHERE sessionID='%s' AND dt>NOW() - INTERVAL 5 MINUTE AND `kulcs`='%s' AND policy='%s'", array('fv' => 'getAccountCategories', 'modul' => 'login', 'result' => $rType, 'values'=>$v)); + } + + function _registerToCache($kulcs,$ertek,$policy) { + $v = array(_SESSIONID,$policy,$kulcs,$ertek); + db_query("REPLACE INTO `cache` (sessionID,policy,kulcs,ertek,dt) VALUES ('%s','%s','%s','%s',NOW())", array('fv' => 'cache', 'modul' => 'login', 'result' => 'indexed', 'values'=>$v)); + } + + function _maintainCache() { + $q = "DELETE FROM `cache` WHERE dt 'cache', 'modul' => 'login', 'result' => 'indexed', 'values'=>$v)); + } + + + + + +###################################################### +# getBackendAttrs - az adott policy backend-jéhez tartozó attribútumok - session modul +###################################################### + + function getBackendAttrs($type = 'Account', $toPolicy = _POLICY) { + + global $AUTH; + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php'); + + global $AUTH; + $attrArrayName = $AUTH[$toPolicy]['backend'].$type.'AttrDef'; + global $$attrArrayName; + $backendAttrDef = $$attrArrayName; + + // Válogassuk ki az olvasható attribútumokat + reset($backendAttrDef); + foreach ($backendAttrDef as $attr => $def) { + + if (!isset($def['rights']) || $def['rights'] == '') { + $rigths = _DEFAULT_LDAP_RIGHTS; //LDAP??? + $backendAttrDef[$attr]['rights'] = $rights; + } else $rights = $def['rights']; + + if ($rights[_ACCESS_AS] != '-') $attrList[] = $attr; + + } + return array($attrList,$backendAttrDef); + + } + +###################################################################### +# Utolsó bejelentkezés dátuma +###################################################################### + + function getLastLoginDt($toPolicy, $userAccount=_USERACCOUNT, $lr = null) { + $q = "SELECT dt FROM loginLog WHERE policy='%s' AND userAccount='%s' AND flag=0 ORDER BY dt DESC LIMIT 1"; + return db_query($q , array('fv' => 'getLastLoginDt', 'modul' => 'login', 'result' => 'value', 'values' => array($toPolicy,$userAccount)), $lr); + } + +###################################################################### +# Hibás bejelentkezések száma, a legutolsó sikeres bejelentkezés óta +###################################################################### + + function getFailedLoginCount($toPolicy, $userAccount=_USERACCOUNT, $lr = null) { + if ($sinceDt == '') $sinceDt = getLastLoginDt($toPolicy, $userAccount, $lr); + $q = "SELECT COUNT(*) AS db FROM loginLog WHERE policy='%s' AND userAccount='%s' AND dt>'%s' AND flag>0"; + return db_query($q , array('fv' => 'getFailedLoginCount', 'modul' => 'login', 'result' => 'value', 'values' => array($toPolicy, $userAccount, $sinceDt)), $lr); + } + +?> diff --git a/mayor-orig/www/include/share/session/close.php b/mayor-orig/www/include/share/session/close.php new file mode 100644 index 00000000..146a038e --- /dev/null +++ b/mayor-orig/www/include/share/session/close.php @@ -0,0 +1,96 @@ + 0) { + $q = "DELETE FROM session WHERE activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()"; + return db_query($q, array('fv' => 'closeIdleSessions', 'modul' => 'login', 'result' => 'affected rows')); + } else { + return true; + } + } + +########################################################## +# Kitörli az összes adott session-höz tartozó bejegyzést (policy-től függetlenül). +########################################################## + + function closeSession($sessionID = '') { + // _SESSIONID csak validUser esetén van, de mi lehet, hogy másik policy-ből jöttünk! + if ($sessionID == '') $sessionID = $_REQUEST['sessionID']; + $q = "DELETE FROM session WHERE sessionID='%s'"; + return db_query($q, array('fv' => 'closeSession', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($sessionID))); + } + +########################################################## +# Kitörli az összes adott userAccount/policy-hez tartozó bejegyzést( (esetleg több sessionID-t is). +########################################################## + + function closeUserSessions($userAccount = '', $policy = '') { + if ($userAccount == '') $userAccount = _USERACCOUNT; + if ($policy == '') $policy = _POLICY; + $q = "DELETE FROM session WHERE userAccount='%s' and policy='%s'"; + return db_query($q, array('fv' => 'closeUserSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($userAccount, $policy))); + } + +########################################################## +# Kitörli az összes "elavult" session-t. +########################################################## + + function closeOldSessions() { + if (defined('_SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0) { + $dt = date('Y-m-d H:i:s', mktime(date('H')-_SESSION_MAX_TIME,date('i'),date('s'),date('m'),date('d'),date('Y'))); + $q = "DELETE FROM session WHERE dt<'%s'"; + return db_query($q, array('fv' => 'closeOldSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => array($dt))); + } + } + +########################################################## +# Kitörli az összes "elavult" és lejart session-t. +########################################################## + function closeOldAndIdleSessions() { + if ( + (defined('SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0) + || (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME > 0) + ) { + + $q = ''; $v = array(); + if (defined('_SESSION_MAX_TIME') and _SESSION_MAX_TIME > 0) { + $dt = date('Y-m-d H:i:s', mktime(date('H')-_SESSION_MAX_TIME,date('i'),date('s'),date('m'),date('d'),date('Y'))); + $q = "DELETE FROM session WHERE dt<'%s'"; + $v = array($dt); + } + if (defined('_SESSION_MAX_IDLE_TIME') and _SESSION_MAX_IDLE_TIME > 0) { + if ($q == '') $q = "DELETE FROM session WHERE activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()"; + else $q .= " OR activity + INTERVAL "._SESSION_MAX_IDLE_TIME." HOUR < NOW()"; + } + if ($q == '') return true; + else return db_query($q, array('fv' => 'closeOldAndIdleSessions', 'modul' => 'login', 'result' => 'affected rows', 'values' => $v)); + + } else { + return true; + } + + } + +########################################################## +# Kitörli az összes session-t. +########################################################## + + function closeAllSession() { + return db_query("DELETE FROM session", array('fv' => 'closeAllSession', 'modul' => 'login', 'result' => 'affected rows')); + } + +?> diff --git a/mayor-orig/www/include/share/ssl/ssl.php b/mayor-orig/www/include/share/ssl/ssl.php new file mode 100644 index 00000000..0b6e2e04 --- /dev/null +++ b/mayor-orig/www/include/share/ssl/ssl.php @@ -0,0 +1,461 @@ +getResponse() + + Küldés: + __construct + getSSLKeyPair + _genSessionKey + setRemoteNodeId + _setRemotePublicKey + getSslPublicKeyByNodeId + setRemoteHost (HOST, publicKey) + _setRemotePublicKey + setRequestTarget (PSF) + sendRequest + _prepareRequest + _encodeRequest($ADAT) + AES::encrypt !! json, base64 - nincs AES :( + _sessionKeyEncode + _curlGet --> response + _decodeRequest !! jelenleg csak json... + _sessionKeyDecode + json_decode - AES::decrypt +*/ + + function getSslKeyPair() { + $q = "SELECT * FROM mayorSsl"; + $r = db_query($q, array('fv'=>'getSslKeyPair','modul'=>'login','result'=>'record')); + if ($r=='') { + $SSLKeyPair = generateSSLKeyPair(); + $secret = sha1(mt_rand(100000000000000,999999999999999)); + $q = "INSERT INTO mayorSsl (privateKey,publicKey,secret) VALUES ('%s','%s','%s')"; + $values = array($SSLKeyPair['privateKey'],$SSLKeyPair['publicKey'],$secret); + $r = db_query($q, array('fv'=>'getSslKeyPair','modul'=>'login', 'values'=>$values)); + return $SSLKeyPair; + } else { + return $r; + } + } + + function generateSSLKeyPair() { + $SSL_KEY_PAIR=openssl_pkey_new(); + // Get private key + openssl_pkey_export($SSL_KEY_PAIR, $privatekey); + // Get public key + $publickey=openssl_pkey_get_details($SSL_KEY_PAIR); + $publickey=$publickey["key"]; + return array('fv'=>'geneateSslKeyPair','privateKey'=>$privatekey,'publicKey'=>$publickey); + } + function setNodeId($nodeId, $publicKey) { + $q = "UPDATE mayorSsl SET nodeId=%u where publicKey='%s'"; + $v = array($nodeId, $publicKey); + return db_query($q, array('debug'=>false,'fv'=>'setNodeId','modul'=>'login', 'values'=>$v)); + } + + function getSslPublicKey() { + $SSLKeyPair = getSslKeyPair(); + return $SSLKeyPair['publicKey']; + } + + function getSslPublicKeyByNodeId($nodeId) { + if (is_numeric($nodeId)) { + $q = "SELECT publicKey FROM mayorKeychain WHERE valid=1 AND nodeId='%u'"; + $values = array($nodeId); + $result = db_query($q, array('debug'=>false,'fv'=>'getSslPublicKeyByNodeId','modul'=>'login', 'values'=>$values,'result'=>'value')); + if ($result=='') return false; + else return $result; + } else { + return false; + } + } + + function getPublicDataFromLocalKeychain($nodeId) { + if (is_numeric($nodeId)) { + // lekérdezés a helyi adatbázisból + $q = "SELECT * FROM mayorKeychain WHERE valid=1 AND nodeId='%u'"; + $values = array($nodeId); + $result = db_query($q, array('debug'=>false,'fv'=>'getPublicDataFromLocalKeychain','modul'=>'login', 'values'=>$values,'result'=>'record')); + if ($result=='') return false; + else return $result; + } elseif (is_null($nodeId)) { + // Az összes eltárolt node adatának lekérdezése + $q = "SELECT * FROM mayorKeychain WHERE valid=1 ORDER BY nodeTipus DESC, nev"; + $result = db_query($q, array('debug'=>false,'fv'=>'getPublicDataFromLocalKeychain','modul'=>'login','result'=>'indexed')); + if ($result=='') return false; + else return $result; + } + } + + function addPublicDataToLocalKeychain($DATA) { + // egy új rekord felvétele... + $fields = array_keys($DATA); + $values = array_values($DATA); + $q = "INSERT INTO mayorKeychain (".implode(',', array_fill(0, count($fields), "%s")).") VALUES (".implode(',', array_fill(0, count($values), "'%s'")).")"; + $v = array_merge($fields, $values); + $r = db_query($q, array('debug'=>false,'func'=>'addPublicDataToLocalKeychain','modul'=>'login','values'=>$v,'result'=>'insert')); + return $r; + } + function removeNodeFromLocalKeychain($nodeId) { + $q = "DELETE FROM mayorKeychain WHERE nodeId=%u"; + $v = array($nodeId); + $r = db_query($q, array('debug'=>false,'func'=>'removeNodeFromLocalKeychain','modul'=>'login','values'=>$v)); + return $r; + } + function sendPublicRequest($data) { + if (defined('_DEVEL') && _DEVEL===true) $host = 'localhost'; + else $host = 'www.mayor.hu'; + $url = "https://$host/index.php?page=portal&sub=regisztracio&f=regisztracio&skin=ajax"; + $salt_name='MS_'.sha1('portal_regisztracio_regisztracio'); + $ch = curl_init(); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // a választ feldolgozzuk + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYSTATUS, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // a helyi gépen nekem ez kellett :( + curl_setopt($ch, CURLOPT_HEADER, 0); +// curl_setopt($ch, CURLOPT_TIMEOUT,60); + curl_setopt($ch, CURLOPT_USERAGENT, "MaYoR-registration (php; cURL)"); + curl_setopt($ch, CURLOPT_VERBOSE, true); + // Cookie + curl_setopt($ch, CURLOPT_COOKIE, $salt_name.'=portal_regisztracio_regisztracio'); + // POST + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); + + $response = curl_exec($ch); + $INFO = curl_getinfo($ch); // ha kell + if ($INFO['http_code'] == 200) { // minden ok + //dump($INFO['url']); + //dump("response:",$response); + } else { + echo 'URL'; + dump($INFO['http_code'],$response,$INFO); + throw new Exception($INFO['http_code']); + } + curl_close($ch); + + return $response; + } + +//function base64url_encode($data) { +// return rtrim(strtr(base64_encode($data), '+/', '-_'), '='); +//} +//function base64url_decode($data) { +// return base64_decode(str_pad(strtr($data, '-_', '+/'), strlen($data) % 4, '=', STR_PAD_RIGHT)); +//} +function random_str($length, $keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') +{ + $str = ''; + $max = mb_strlen($keyspace, '8bit') - 1; + for ($i = 0; $i < $length; ++$i) { + $str .= $keyspace[random_int(0, $max)]; + } + return $str; +} + /* symmetric cryptographic module */ + class AES { + + public function __construct() { } + public function encrypt($data, $key) { + $data = urlencode($data); + +// $return = $data; +// $return = $key . $data; +// $return = openssl_encrypt($data, 'aes-256-cbc', $key, OPENSSL_RAW_DATA); +// $return = db_query("SELECT aes_encrypt('%s','%s')",array('fv'=>'class AES','result'=>'value','modul'=>'login','values'=>array($data,$key))); + + if (function_exists('mcrypt_encrypt')) { + $return = mcrypt_encrypt(MCRYPT_RIJNDAEL_128,$key,$data,MCRYPT_MODE_CBC,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); + } else { + $_SESSION['alert'][] = 'info:mcrypt függvény nem található (tipp! telepítsd a php5-mcrypt csomagot a szerverre)'; + } + return base64_encode($return); + } + public function decrypt($data,$key) { + $data = base64_decode($data); + +// $return = $data; +// $return = substr($data,strlen($key)); +// $return = openssl_decrypt($data, 'aes-256-cbc', $key, OPENSSL_RAW_DATA); +// $return = db_query("SELECT aes_decrypt('%s','%s')",array('fv'=>'class AES','result'=>'value','modul'=>'login','values'=>array($data,$key))); + if (function_exists('mcrypt_decrypt')) { + $return = mcrypt_decrypt(MCRYPT_RIJNDAEL_128,$key,$data,MCRYPT_MODE_CBC,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); + } else { + $_SESSION['alert'][] = 'info:mcrypt függvény nem található (tipp! telepítsd a php5-mcrypt csomagot a szerverre)'; + } + return trim(urldecode($return)); + } + } + + class Interconnect { + + /* A: küldő, B: fogadó használja */ + + private $sessionKey; // egy kommunikációhoz használt session kulcs + private $KP; // a saját kulcspárom + private $nodeId; + private $privateKey; + private $publicKey; + private $remotePublicKey; + private $remoteNodeId; + private $remoteHost; + private $psf; + private $myRequest; // a küldendő kérés (object) + private $myResponse; // a küldendő válasz (object) + private $incomingRequest; // a beérkező kérés (object) + private $incomingResponse; // a beérkező válasz (object) + private $status; // a művelet eredményességéek visszajelzése, hibaok kódja... + private $controllerNodeId = '09862967'; // Ez van jelenleg az adatbázisban... + + /* Konstruktor */ + public function __construct() { + $this->sessionKey = $this->_genSessionKey(); + $this->KP = getSSLKeyPair(); + $this->nodeId = $this->KP['nodeId']; + $this->privateKey = $this->KP['privateKey']; + $this->publicKey = $this->KP['publicKey']; + $this->status = 'ok:created'; + $this->psf = 'page=rpc&f=rpc'; + } + /* Privát metódusok */ +// private function _yconv($get) { +// $get = str_replace(' ','+',$get); // hm. erre miért van szükség??? autokonverzió? +// $get = str_replace('\/','/',$get); // hm. erre miért van szükség??? autokonverzió? +// $get = str_replace('\\','',$get); // hm. erre miért van szükség??? autokonverzió?\"' +// return $get; +// } + private function _curlGet($data) { + $host = $this->remoteHost; + $url = $this->remoteHost."/index.php?skin=rpc&".$this->psf; + //dump('url',$url); + $ch = curl_init(); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // a választ feldolgozzuk + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYSTATUS, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // a helyi gépen nekem ez kellett :( + curl_setopt($ch, CURLOPT_HEADER, 0); +// curl_setopt($ch, CURLOPT_TIMEOUT,60); + curl_setopt($ch, CURLOPT_USERAGENT, "MaYoR-interconnect (php; cURL)"); + curl_setopt($ch, CURLOPT_VERBOSE, true); + // POST + $data['senderNodeId'] = $this->nodeId; + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); + + $response = curl_exec($ch); + $INFO = curl_getinfo($ch); // ha kell + if ($INFO['http_code'] == 200) { // minden ok + //dump($INFO['url']); + //dump($response); + } else { + echo 'URL'; + dump($response,$INFO); + throw new Exception($INFO['http_code']); + } + curl_close($ch); + return $response; + } + private function _genSessionKey() { + return base64_encode(pack('N6', mt_rand(), mt_rand(), mt_rand(),mt_rand(), mt_rand(), mt_rand())); + //return random_str( 32 ); + } + private function _sessionKeyEncode() { + $crypttext = ''; + $res = openssl_public_encrypt($this->sessionKey, $crypttext, $this->remotePublicKey); // majd a távoli publikus kulccal + return base64_encode($crypttext); + } + private function _sessionKeyDecode($in) { + $decodedtext = ''; + $res = openssl_private_decrypt(base64_decode($in), $decodedtext, $this->privateKey); // a saját privát kulccsal + return $decodedtext; + } + private function _genHash($in) { + // hash generálás + return hash('sha256', $in, false); + } + private function _hashEncode($in) { + // a mi privát kulcsunkkal... + $res = openssl_private_encrypt($in, $encodedHash, $this->privateKey); // a saját privát kulccsal + return base64_encode($encodedHash); + } + private function _hashDecode($in) { + // a remotePublic-kal + $res = openssl_public_decrypt(base64_decode($in), $decodedHash, $this->remotePublicKey); // majd a távoli publikus kulccal + return $decodedHash; + } + private function _verifyHash($PACKED) { + return ($this->_genHash($PACKED['details']))===($this->_hashDecode($PACKED['hashEncoded'])); + } + private function _packData($DATA) { // --> array(details|sessionKeyEncoded) + $ADAT['details'] = AES::encrypt(json_encode($DATA),$this->sessionKey); // implicit base64_encode + $ADAT['hashEncoded'] = $this->_hashEncode($this->_genHash($ADAT['details'])); + $ADAT['sessionKeyEncoded'] = $this->_sessionKeyEncode(); // implicit base64_encode + $ADAT['status'] = $this->status; + return $ADAT; + } + private function _unpackData($PACKED) { // packed[details] --> object !! feltesszük, hogy már be van állítva a sessionKey, ellenőrizve van a hash! + return json_decode(AES::decrypt($PACKED['details'],$this->sessionKey), true); + } + private function _encodeRequest($IN = array()) { // HTTP GET paraméter + return urlencode(json_encode($IN)); + } + private function _decodeRequest($IN) { // HTTP GET paraméter + return json_decode($IN, true); + } + private function _encodeResponse($IN=array()) { // HTTP - tartalom + return json_encode($IN); + } + private function _decodeResponse($IN=array()) { // HTTP - tartalom + return json_decode($IN, true); + } + /* Publikus metódusok */ + public function setRequestTarget($target) { + if ($target == 'controller') $this->psf='page=rpc&sub=controller&f=rpc'; + else if ($target == 'naplo') $this->psf='page=rpc&sub=naplo&f=rpc'; + else $this->psf='page=rpc&f=rpc'; // alap funkciók + } + public function getRegistrationDataByNodeId($nodeId) { // feltesszük, hogy valid + $origRemoteNodeId = $this->remoteNodeId; + $this->setRemoteHostByNodeId($this->controllerNodeId); + $ret = $this->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId)); + $this->setRemoteHostByNodeId($origRemoteNodeId); + + return $ret; + } + public function getPublicDataByNodeId($nodeId) { + if (defined('_DEVEL') && _DEVEL===true) { + // A helyi gép adatait adjuk meg + $ret = array('nodeId'=>$this->nodeId, 'url'=>'https://localhost','publicKey'=>$this->publicKey); + } else { + if ($nodeId == '') $nodeId = $this->controllerNodeId; + // Adott nodeId adatainak lekérdezése a helyi adatbázisból + $ret = getPublicDataFromLocalKeychain($nodeId); + if ($ret === false) { + $RPC = new Interconnect(); + $RPC->setRequestTarget('controller'); + $RPC->setRemoteHostByNodeId($this->controllerNodeId); + $ret2 = $RPC->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId)); + $ret = $ret2['nodeData']; + foreach (array( + 'regId','dij','utemezes','egyebTamogatas','szamlazasiCim','szamlaHelyseg','szamlaIrsz','szamlaKozteruletNev', + 'szamlaKozteruletJelleg','szamlaHazszam' + ) as $field) { + unset($ret[$field]); + } + if (is_array($ret)) addPublicDataToLocalKeychain($ret); +/* + } elseif (false) { + // Adott nodeId adatainak lekérdezése a www.mayor.hu-tól (controller) Interconnect-tel + $origRemoteNodeId = $this->remoteNodeId; + $origPsf = $this->psf; + $this->setRequestTarget('controller'); + $this->setRemoteHostByNodeId($this->controllerNodeId); + $ret2 = $this->sendRequest(array('func'=>'getPublicDataByNodeId', 'nodeId'=>$nodeId)); + $ret = $ret2['nodeData']; + foreach (array( + 'regId','dij','utemezes','egyebTamogatas','szamlazasiCim','szamlaHelyseg','szamlaIrsz','szamlaKozteruletNev', + 'szamlaKozteruletJelleg','szamlaHazszam' + ) as $field) { + unset($ret[$field]); + } + if (is_array($ret)) addPublicDataToLocalKeychain($ret); + if ($origRemoteNodeId!='') $this->setRemoteHostByNodeId($origRemoteNodeId); + $this->psf = $origPsf; +*/ + } + } + return $ret; + } + public function setRemoteHostByNodeId($nodeId) { + $rData = $this->getPublicDataByNodeId($nodeId); + if (is_array($rData)) { + $this->remoteHost = $rData['url']; + $this->remoteNodeId = $rData['nodeId']; + $this->remotePublicKey = $rData['publicKey']; + $this->status = 'ok:remoteHost'; + } else { + $this->remoteHost = ''; // controller + $this->remoteNodeId = $this->controllerNodeId; + $this->remotePublicKey = $rData['publicKey']; + $this->status = 'ok:remoteHostController'; + } + } + /* A oldal */ + public function sendRequest($ADAT = array()) { + $PACKED = $this->_packData($ADAT); + $this->myRequest = $PACKED; + // $this->myRequest = $this->_encodeRequest($PACKED); + + $response = $this->_curlGet($this->myRequest); + + $decodedResponse = $this->_decodeResponse($response); + if ($this->sessionKey === $this->_sessionKeyDecode($decodedResponse['sessionKeyEncoded'])) { + if ($this->_verifyHash($decodedResponse)) { + $this->incomingResponse = $this->_unpackData($decodedResponse); + $this->status = 'ok:success response'; + } else { + $this->incomingResponse = false; + $this->status = 'error:wrong response hash'; + } + } else { + $this->status = 'error:wrong response sessionKey ('.($this->sessionKey).' != '.($this->_sessionKeyDecode($decodedResponse['sessionKeyEncoded'])).') response: '.$response; + $this->incomingResponse = false; + } + return $this->incomingResponse; + } + /* B oldal! */ + public function processRequest() { // rights.php + $PACKED = $_POST; + $this->sessionKey = $this->_sessionKeyDecode($PACKED['sessionKeyEncoded']); + if ($this->_verifyHash($PACKED)) { + $this->incomingRequest = $this->_unpackData($PACKED); +openlog("MaYoR Interconnect", LOG_PID | LOG_PERROR, LOG_LOCAL0); +syslog(LOG_WARNING, "Data unpacked: ".(json_encode($this->incomingRequest))." {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})"); +closelog(); + $this->status = 'ok:success request'; + } else { + $this->incomingRequest = false; + $this->status = 'error:wrong request hash'; + } + return $this->incomingRequest; + } + public function setResponse($DATA) { // ez kell a pre-be + $this->myResponse = $this->_encodeResponse($this->_packData($DATA)); + } + public function sendResponse() { // skin=rpc - csak ki kell írnunk az elküldendő adatsort - ezt a skin csinálja + echo $this->myResponse; + } + public function getIncomingRequest() { return $this->incomingRequest; } // a pre-ben + + public function getPublicKey() { return $this->publicKey; } + public function getSessionKey() { return $this->sessionKey; } + public function getStatus() { return $this->status; } + public function getRemoteNodeId() { return $this->remoteNodeId; } + public function getControllerNodeId() { return $this->controllerNodeId; } + public function getNodeId() { return $this->nodeId; } + } + + +?> diff --git a/mayor-orig/www/include/share/str/hyphen.php b/mayor-orig/www/include/share/str/hyphen.php new file mode 100644 index 00000000..0973e4d9 --- /dev/null +++ b/mayor-orig/www/include/share/str/hyphen.php @@ -0,0 +1,104 @@ + mb_convert_encoding('ű', 'ISO-8859-2', 'UTF-8'), + mb_convert_encoding('Ž', 'ISO-8859-2', 'UTF-8') => mb_convert_encoding('ő', 'ISO-8859-2', 'UTF-8')); + + if (file_exists($this->patternFilePath)) { + $fp = fopen($this->patternFilePath, 'r'); + while ($aLine = fgets($fp, 128)) { + // deprecated // if (!ereg('[\\%{}]', $aLine)) { + if (!preg_match('#[\\%{}]#', $aLine)) { + // Cork --> ISO-8859-2 kódolás + $aLine = strtr($aLine, $mbConv); + $letter = false; + $key = $value = ''; + $aLine = chop($aLine); + for ($i = 0; $i < strlen($aLine); $i++) { + // deprecated // if (ereg('[0-9]',$aLine[$i])) { + if (preg_match('#[0-9]#',$aLine[$i])) { + $value .= $aLine[$i]; + $letter = false; + } else { + if ($letter) $value .= '0'; + $key .= $aLine[$i]; + $letter = true; + } + } + if ($letter) $value .= '0'; + if (!is_array($Patterns[strlen($key)])) $Patterns[strlen($key)] = array(); + $Patterns[strlen($key)][$key] = $value; + $patterns++; + } else { + //if (ereg('\\message\{(.*)\}', $aLine, $reg)) echo $reg[1]."\n"; + } + } + } else { $GLOBALS['alert'][] = 'message:file_not_found:'.($this->patternFilePath); } + for ($i = 0; $i < count($Patterns); $i++) { + if (!is_array($Patterns[$i])) $Patterns[$i] = array(); + } + $this->Patterns = $Patterns; + } + function getPattern($key, $value) { + $pattern = ''; + if (strlen($value) > strlen($key)) { $pattern = $value[0]; $value = substr($value, 1); } + for ($i = 0; $i < strlen($key); $i++) { + $pattern .= $key[$i]; + if (isset($value[$i])) $pattern .= $value[$i]; + } + $pattern = str_replace('0','',$pattern); + return $pattern; + } + public function hyphen($word) { + $word = mb_convert_encoding($word, 'ISO-8859-2', 'UTF-8'); + if (strlen($word) > 1) { + + $key = '.'.$word.'.'; + $value = str_repeat('0', strlen($key)); + $key = strtr($key, mb_convert_encoding('A-ZÁÄÉÍÓÖŐÚÜŰ', 'ISO-8859-2', 'UTF-8'), mb_convert_encoding('a-záäéíóöőúüű', 'ISO-8859-2', 'UTF-8')); + $pattern = ''; + for ($i = 1; $i <= strlen($key); $i++) { + for ($j = 0; $j <= strlen($key)-$i; $j++) { + if (is_array($this->Patterns[$i]) && ($pattern = $this->Patterns[$i][ substr($key, $j, $i) ])) { + for ($k = 0; $k < strlen($pattern); $k++) { + if ($value[$j + $i - strlen($pattern) + $k] < $pattern[$k]) + $value[$j + $i - strlen($pattern) + $k] = $pattern[$k]; + } + } + } + } + $hyphenated = ''; + for ($i = 0; $i <= strlen($word)-2; $i++) { + $hyphenated .= $word[$i]; + // deprecated // if (ereg('[13579]', $value[$i+1])) $hyphenated .= '-'; + if (preg_match('#[13579]#', $value[$i+1])) $hyphenated .= '-'; + } + $hyphenated .= substr($word, -1); + } else { + $hyphenated = $word; + } + return mb_convert_encoding($hyphenated, 'UTF-8', 'ISO-8859-2'); + } +} + +$huHyphen = new huHyphen(); +//while gets +// break if $_=="\n" +// test.hyphen($_.strip) +//end + +//$test->hyphen(trim('állomásfőnök')); +//$test->hyphen(trim('álamigazgatás')); +//$test->hyphen(trim('informatika alapismeretek, programozás')); + +?> diff --git a/mayor-orig/www/include/share/str/tex.php b/mayor-orig/www/include/share/str/tex.php new file mode 100644 index 00000000..76cf5117 --- /dev/null +++ b/mayor-orig/www/include/share/str/tex.php @@ -0,0 +1,51 @@ + "'", ## ezt kell kiszedni 2.0-ban + '+' => '$+$', + '/' => '$/$', + '*' => '$*$', + '=' => '$=$', + '<' => '$<$', + '>' => '$>$', + '{' => '$\{$', + '}' => '$\}$', + '#' => '\#', + '%' => '\%', + '_' => '\_', + '&' => '\&', + '~' => ' ', + '…' => '...', + '´' => '\'', + '^' => '(exp)', +// '~' => '\~\ ', +// '$' => '\$', +// "\\" => '$\backslash$' + ); + if (__NYOMTATAS_XETEX) { + $trans['^'] = '\^\ '; + } + return strtr(strtr($szoveg, array('$' => '\$', "\\" => '$\backslash$')), $trans); + } + + function LaTeXSpecialChars($szoveg) { + $trans = array( + '_' => '\_', + '#' => '\#', + '$' => '\$', + '%' => '\%', + '&' => '\&', + '~' => '\verb|~|', + '^' => '\verb|^|', + '{' => '\{', + '}' => '\}', + '\\' => '$\backslash$', +// 0160 => 0032, // valami' spéci szóköz --> sima szóköz + ); + return strtr($szoveg,$trans); + } + + + +?> diff --git a/mayor-orig/www/index.php b/mayor-orig/www/index.php new file mode 100644 index 00000000..6db3d23e --- /dev/null +++ b/mayor-orig/www/index.php @@ -0,0 +1,33 @@ + diff --git a/mayor-orig/www/lang/de_DE/backend/ldap/attrs.php b/mayor-orig/www/lang/de_DE/backend/ldap/attrs.php new file mode 100644 index 00000000..9cf8b4ab --- /dev/null +++ b/mayor-orig/www/lang/de_DE/backend/ldap/attrs.php @@ -0,0 +1,58 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-auth/login.php b/mayor-orig/www/lang/de_DE/module-auth/login.php new file mode 100644 index 00000000..8f53602c --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-auth/login.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-password/changeMyPassword.php b/mayor-orig/www/lang/de_DE/module-password/changeMyPassword.php new file mode 100644 index 00000000..3b62b858 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-password/changeMyPassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-password/changePassword.php b/mayor-orig/www/lang/de_DE/module-password/changePassword.php new file mode 100644 index 00000000..c959a76c --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-password/changePassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/accountInfo.php b/mayor-orig/www/lang/de_DE/module-session/accountInfo.php new file mode 100644 index 00000000..18a3b218 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/accountInfo.php @@ -0,0 +1,3 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/createAccount.php b/mayor-orig/www/lang/de_DE/module-session/createAccount.php new file mode 100644 index 00000000..e16abbd3 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/createAccount.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/createGroup.php b/mayor-orig/www/lang/de_DE/module-session/createGroup.php new file mode 100644 index 00000000..1e471031 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/createGroup.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/download.php b/mayor-orig/www/lang/de_DE/module-session/download.php new file mode 100644 index 00000000..8c669bd2 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/download.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/groupInfo.php b/mayor-orig/www/lang/de_DE/module-session/groupInfo.php new file mode 100644 index 00000000..87f8eed9 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/groupInfo.php @@ -0,0 +1,4 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/search/searchAccount.php b/mayor-orig/www/lang/de_DE/module-session/search/searchAccount.php new file mode 100644 index 00000000..d9b4b4ec --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/search/searchAccount.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/de_DE/module-session/search/searchGroup.php b/mayor-orig/www/lang/de_DE/module-session/search/searchGroup.php new file mode 100644 index 00000000..ec220985 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/module-session/search/searchGroup.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/de_DE/share/session/attrs.php b/mayor-orig/www/lang/de_DE/share/session/attrs.php new file mode 100644 index 00000000..a5a445f0 --- /dev/null +++ b/mayor-orig/www/lang/de_DE/share/session/attrs.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/lang/en_US/backend/ldap/attrs.php b/mayor-orig/www/lang/en_US/backend/ldap/attrs.php new file mode 100644 index 00000000..438014b6 --- /dev/null +++ b/mayor-orig/www/lang/en_US/backend/ldap/attrs.php @@ -0,0 +1,58 @@ + diff --git a/mayor-orig/www/lang/en_US/base/base.php b/mayor-orig/www/lang/en_US/base/base.php new file mode 100644 index 00000000..84af512a --- /dev/null +++ b/mayor-orig/www/lang/en_US/base/base.php @@ -0,0 +1,18 @@ + diff --git a/mayor-orig/www/lang/en_US/date/names.php b/mayor-orig/www/lang/en_US/date/names.php new file mode 100644 index 00000000..ab668efd --- /dev/null +++ b/mayor-orig/www/lang/en_US/date/names.php @@ -0,0 +1,21 @@ + diff --git a/mayor-orig/www/lang/en_US/module-auth/login.php b/mayor-orig/www/lang/en_US/module-auth/login.php new file mode 100755 index 00000000..f161da3f --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-auth/login.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/en_US/module-password/changeMyPassword.php b/mayor-orig/www/lang/en_US/module-password/changeMyPassword.php new file mode 100644 index 00000000..002770ac --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-password/changeMyPassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/en_US/module-password/changePassword.php b/mayor-orig/www/lang/en_US/module-password/changePassword.php new file mode 100644 index 00000000..efd3647f --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-password/changePassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/accountInfo.php b/mayor-orig/www/lang/en_US/module-session/accountInfo.php new file mode 100644 index 00000000..18a3b218 --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/accountInfo.php @@ -0,0 +1,3 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/createAccount.php b/mayor-orig/www/lang/en_US/module-session/createAccount.php new file mode 100644 index 00000000..c3cd100c --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/createAccount.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/createGroup.php b/mayor-orig/www/lang/en_US/module-session/createGroup.php new file mode 100644 index 00000000..534f0262 --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/createGroup.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/download.php b/mayor-orig/www/lang/en_US/module-session/download.php new file mode 100644 index 00000000..ee2b8d2a --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/download.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/groupInfo.php b/mayor-orig/www/lang/en_US/module-session/groupInfo.php new file mode 100644 index 00000000..f11fe9c6 --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/groupInfo.php @@ -0,0 +1,4 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/search/searchAccount.php b/mayor-orig/www/lang/en_US/module-session/search/searchAccount.php new file mode 100644 index 00000000..d2c999ea --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/search/searchAccount.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/en_US/module-session/search/searchGroup.php b/mayor-orig/www/lang/en_US/module-session/search/searchGroup.php new file mode 100644 index 00000000..4335ed9b --- /dev/null +++ b/mayor-orig/www/lang/en_US/module-session/search/searchGroup.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/en_US/share/session/attrs.php b/mayor-orig/www/lang/en_US/share/session/attrs.php new file mode 100644 index 00000000..9c181f95 --- /dev/null +++ b/mayor-orig/www/lang/en_US/share/session/attrs.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/lang/hu_HU/backend/ads/attrs.php b/mayor-orig/www/lang/hu_HU/backend/ads/attrs.php new file mode 100644 index 00000000..508d9357 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/backend/ads/attrs.php @@ -0,0 +1,82 @@ + diff --git a/mayor-orig/www/lang/hu_HU/backend/ldap/attrs.php b/mayor-orig/www/lang/hu_HU/backend/ldap/attrs.php new file mode 100644 index 00000000..c2dbbb32 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/backend/ldap/attrs.php @@ -0,0 +1,66 @@ + diff --git a/mayor-orig/www/lang/hu_HU/backend/ldapng/attrs.php b/mayor-orig/www/lang/hu_HU/backend/ldapng/attrs.php new file mode 100644 index 00000000..b85e5339 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/backend/ldapng/attrs.php @@ -0,0 +1,63 @@ + diff --git a/mayor-orig/www/lang/hu_HU/backend/mysql/attrs.php b/mayor-orig/www/lang/hu_HU/backend/mysql/attrs.php new file mode 100644 index 00000000..cb44d932 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/backend/mysql/attrs.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/base/base.php b/mayor-orig/www/lang/hu_HU/base/base.php new file mode 100644 index 00000000..569d8c6f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/base/base.php @@ -0,0 +1,51 @@ +MaYoR - 2002-2017 © GPL'); + +define('_TANAR','tanár'); +define('_DIAK','diák'); +define('_TITKARSAG','titkárság'); +define('_GAZDASAGI','gazdasági'); +define('_EGYEB','egyéb'); + +define('_ERROR','Hiba'); +define('_INFORMATION','Információ'); + +define('_CONTROL_FLAG_REQUIRED','A bejelentkezés kötelező.'); +define('_CONTROL_FLAG_OPTIONAL','A bejelentkezés nem kötelező.'); + +define('_PRIVATE_PASSWORD','Jelszó'); +define('_PARENT_PASSWORD','Szülői jelszó'); +define('_PUBLIC_PASSWORD','Külső jelszó'); +define('_MAYOR_DESC','MaYoR elektronikus napló program'); + +define('_HELP','Súgó'); +define('_LOGOUT','Kilépés'); +define('_PASSWORD','Jelszó'); +define('_LOGIN_ALL_AUTH_LEVEL','Minden authentikációs szinten'); +define('_PRIVATE_LOGIN','Privát bejelentkezés'); +define('_PARENT_LOGIN','Szülői bejelentkezés'); +define('_PUBLIC_LOGIN','Külsős bejelentkezés'); +define('_LOGIN','Bejelentkezés'); +define('_SEARCH','Keresés'); +define('_SWITCH_TO_CLASSIC_SKIN','Alapértelmezett skinre váltás'); + +define('_ICON_SEARCH','Keresés...'); +define('_ICON_SWAPNAV','Navigációs menüsáv változtatás'); +define('_ICON_VAKBARAT','Vakbarát nézet (ctrl-shift-V)'); +define('_ICON_OLDSCHOOL','Oldschool/Classic skin váltás'); + +define('_HOME','Kezdőlap'); + +define('_FACEBOOK_CONNECT','facebook'); + +define('_CLOSE','bezár'); +?> diff --git a/mayor-orig/www/lang/hu_HU/date/names.php b/mayor-orig/www/lang/hu_HU/date/names.php new file mode 100644 index 00000000..093d70de --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/date/names.php @@ -0,0 +1,29 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-auth/forgotten.php b/mayor-orig/www/lang/hu_HU/module-auth/forgotten.php new file mode 100644 index 00000000..26e1d838 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-auth/forgotten.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-auth/login.php b/mayor-orig/www/lang/hu_HU/module-auth/login.php new file mode 100644 index 00000000..69b92895 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-auth/login.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/azonositok.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/azonositok.php new file mode 100644 index 00000000..e0fdab6a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/azonositok.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/csoportok.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/csoportok.php new file mode 100644 index 00000000..309619dd --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/csoportok.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/fillhaladasi.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/fillhaladasi.php new file mode 100644 index 00000000..86c23d01 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/fillhaladasi.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/intezmenyek.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/intezmenyek.php new file mode 100644 index 00000000..98ce19b9 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/intezmenyek.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/rpcPrivilege.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/rpcPrivilege.php new file mode 100644 index 00000000..97fd02bd --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/rpcPrivilege.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/szemeszterek.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/szemeszterek.php new file mode 100644 index 00000000..b1994131 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/szemeszterek.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/szuloiAzonositok.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/szuloiAzonositok.php new file mode 100644 index 00000000..72d2b243 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/szuloiAzonositok.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/tanevek.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/tanevek.php new file mode 100644 index 00000000..37050adf --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/tanevek.php @@ -0,0 +1,26 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/admin/tankorok.php b/mayor-orig/www/lang/hu_HU/module-naplo/admin/tankorok.php new file mode 100644 index 00000000..1aa022e0 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/admin/tankorok.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/base.php b/mayor-orig/www/lang/hu_HU/module-naplo/base.php new file mode 100644 index 00000000..17370d24 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/base.php @@ -0,0 +1,60 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesTipus.php b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesTipus.php new file mode 100644 index 00000000..7b267076 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesTipus.php @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesek.php b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesek.php new file mode 100644 index 00000000..ed0b360a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/bejegyzesek.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/info.php b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/info.php new file mode 100644 index 00000000..e77c9ed1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/info.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/ujBejegyzes.php b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/ujBejegyzes.php new file mode 100644 index 00000000..8c8e9d05 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/bejegyzesek/ujBejegyzes.php @@ -0,0 +1,18 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/diakValaszto.php b/mayor-orig/www/lang/hu_HU/module-naplo/diakValaszto.php new file mode 100644 index 00000000..3eb0995f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/diakValaszto.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/ertekeles.php b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/ertekeles.php new file mode 100644 index 00000000..8c465ab1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/ertekeles.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/kerdoivBetoltes.php b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/kerdoivBetoltes.php new file mode 100644 index 00000000..bc800683 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/kerdoivBetoltes.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/osszesites.php b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/osszesites.php new file mode 100644 index 00000000..e0f89ff8 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/ertekeles/osszesites.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/esemenyDiak.php b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/esemenyDiak.php new file mode 100644 index 00000000..5c69f2ba --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/esemenyDiak.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/jelentkezes.php b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/jelentkezes.php new file mode 100644 index 00000000..eefd4efe --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/jelentkezes.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/ujEsemeny.php b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/ujEsemeny.php new file mode 100644 index 00000000..3ff82820 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/esemeny/ujEsemeny.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/bizonyitvany.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/bizonyitvany.php new file mode 100644 index 00000000..7586a61b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/bizonyitvany.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/diakExport.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/diakExport.php new file mode 100644 index 00000000..7e7ccb30 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/diakExport.php @@ -0,0 +1,76 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/kirBizonyitvanyExport.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/kirBizonyitvanyExport.php new file mode 100644 index 00000000..b0780622 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/kirBizonyitvanyExport.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/kreta.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/kreta.php new file mode 100644 index 00000000..0d4b0746 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/kreta.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/sulix.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/sulix.php new file mode 100644 index 00000000..cc583697 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/sulix.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/tanarOsztalyOraszam.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/tanarOsztalyOraszam.php new file mode 100644 index 00000000..b7c8e6b2 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/tanarOsztalyOraszam.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/export/tantargyFelosztas.php b/mayor-orig/www/lang/hu_HU/module-naplo/export/tantargyFelosztas.php new file mode 100644 index 00000000..4f294747 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/export/tantargyFelosztas.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elmaradas.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elmaradas.php new file mode 100644 index 00000000..fb922ff5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elmaradas.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elszamolas.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elszamolas.php new file mode 100644 index 00000000..23375ec6 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/elszamolas.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/haladasi.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/haladasi.php new file mode 100644 index 00000000..023785f5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/haladasi.php @@ -0,0 +1,38 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/helyettesites.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/helyettesites.php new file mode 100644 index 00000000..6e37f942 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/helyettesites.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/hetes.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/hetes.php new file mode 100644 index 00000000..70b6bf8a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/hetes.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/minuszora.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/minuszora.php new file mode 100644 index 00000000..ab8aa0aa --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/minuszora.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/ora.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/ora.php new file mode 100644 index 00000000..d1c296b3 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/ora.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/oralatogatas.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/oralatogatas.php new file mode 100644 index 00000000..3b5854fb --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/oralatogatas.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/osszevonas.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/osszevonas.php new file mode 100644 index 00000000..26ff1bd7 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/osszevonas.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/pluszora.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/pluszora.php new file mode 100644 index 00000000..b6e24743 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/pluszora.php @@ -0,0 +1,23 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/specialis.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/specialis.php new file mode 100644 index 00000000..5849dcc1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/specialis.php @@ -0,0 +1,39 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/stat.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/stat.php new file mode 100644 index 00000000..43fe3efe --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/stat.php @@ -0,0 +1,23 @@ +(megtartott|tervezett)'); + define('_MEGTARTOTTHOZ_KEPEST',''); + define('_DB','db.'); + + define('_JEGYEK_SZAMA','Érdemjegyek száma'); + define('_LETSZAM','Tankörlétszám'); + define('_HETI_ORASZAM','Heti óraszám'); + define('_JEGYSZAM_PER_FO','Egy főre jutó érdemjegyek átlagos száma'); + define('_ATLAGOS_JEGYSZAM','Átlagos jegyszám'); + define('_TANITASI_HET','tanítási héttel számolva'); + +?> diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/teremModositas.php b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/teremModositas.php new file mode 100644 index 00000000..a7a9388c --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/haladasi/teremModositas.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diak.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diak.php new file mode 100644 index 00000000..c9f8d6c3 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diak.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakIgazolatlan.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakIgazolatlan.php new file mode 100644 index 00000000..15576516 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakIgazolatlan.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakLista.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakLista.php new file mode 100644 index 00000000..5204c687 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/diakLista.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/info.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/info.php new file mode 100644 index 00000000..e170ccd2 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/info.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/nap.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/nap.php new file mode 100644 index 00000000..98b20482 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/nap.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/oktstat.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/oktstat.php new file mode 100644 index 00000000..bf45e3c3 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/oktstat.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/ora.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/ora.php new file mode 100644 index 00000000..19868c4a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/ora.php @@ -0,0 +1,27 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztaly.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztaly.php new file mode 100644 index 00000000..1309d51c --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztaly.php @@ -0,0 +1,46 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztalyNap.php b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztalyNap.php new file mode 100644 index 00000000..284d6153 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hianyzas/osztalyNap.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/admin.php b/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/admin.php new file mode 100644 index 00000000..4a23351e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/admin.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/hibabejelento.php b/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/hibabejelento.php new file mode 100644 index 00000000..6f0d3c65 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hibabejelento/hibabejelento.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnok.php b/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnok.php new file mode 100644 index 00000000..437a6d95 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnok.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnokFeliratkozas.php b/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnokFeliratkozas.php new file mode 100644 index 00000000..e21ff195 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/hirnok/hirnokFeliratkozas.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diak.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diak.php new file mode 100644 index 00000000..9d490c8c --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diak.php @@ -0,0 +1,134 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakExport.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakExport.php new file mode 100644 index 00000000..469c678e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakExport.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakFelmentes.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakFelmentes.php new file mode 100644 index 00000000..ceb6a93d --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakFelmentes.php @@ -0,0 +1,60 @@ + +
  • 1. adott tárgyból (rész)értékelés alól = órán részt vesz, érdemjegyet és osztályzatot szakvélemény alapján nem kap +
    Példa: diszgráfia (magyar nyelv felmentés) +
      +
    • a) teljes tanév FM: értékelés alól; osztályzata/zárójegye FM. + "4/B. Mentesítve ... tantárgyból az értékelés és a minősítés alól N., Tl., B. " +
    • +
    • b) rész tanév (dátum intervallum): csupán egyedi záradékot kap.
    • +
    + +
  • 2. órák látogatása alól (tankör), igazgató által meghatározott időben, nevelőtestület által meghatározott módon ad számot tudásáról +
    Példa: élsportoló (testnevelés) +
    Teendő: [*] tankörben FM: óralátogatás alól és értékelés alól, de zárójegyet kap (!) +
    Záradék: "10. A(z) ... tantárgy óráinak látogatása alól felmentve ... -tól ... -ig. N. + Kiegészülhet: Osztályozó vizsgát köteles tenni." +
  • +
  • 3. tárgy tanulása alól = óralátogatás alól + évközi jegyet + zárójegyet sem kap (csak készségtárgyak!) +
    Példa: testnevelés III. +
    Teendő: * tárgy minden tanköréből kiléptetni, * félévi(ha félév előtti) és évvégi jegye FM. +
    Záradék: "7. Mentesítve a(z) [a tantárgy neve] ... tantárgy tanulása alól. N., TI., B." +
  • + +'); + + define('_FELMENTES_TARGY_TANULASA_ALOL','Felmentés tárgy tanulása alól'); + define('_FELMENTES_TARGY_ERTEKELES_ALOL','Felmentés tárgy értékelése alól'); + define('_FELMENTES_TANKOR_ORALATOGATASA_ALOL','Felmentés tankör óralátogatása alól'); + define('_ROGZITETT_ZARADEKOK','Már rögzített záradékok'); + define('_TIPUS3','Válassz ki egy tárgyat és egy érvényességi dátumot amikortól él a felmentés: +
    1. ezen dátummal kiléptettjük a tárgy tanköreiből,
    2. +
    3. jegyeit és hiányzásait a referencia dátumtól töröljük,
    4. +
    5. a dátum után véget érő félévekre FM bejegyzést rögzítünk osztályzatként (zárójegyként)
    '); + + define('_OVIKOTELES','Osztályozóvizsgára kötelezett'); + define('_TARGY','Tárgy'); + define('_TANKOR','Tankör'); + define('_TOL_DT','Dátum (tól)'); + define('_IG_DT','Dátum (ig)'); + define('_NAP','Nap'); + define('_ORA','Óra'); + define('_NAPORAOPT','Kizárólag a megadott nap/óra alól való felmentés [opcionális]'); + + define('_ZARADEK','Záradék [részfelmentés esetében]:'); + define('_ZARADEK1','miatt mentesítve a(z) '); + define('_ZARADEK2','értékelés(e) és a minősítés(e) alól.'); + + define('_EGESZ_EVRE','egész évre'); + define('_RESZBEN','részben'); + + define('_ROGZITETT_FELMENTESEK','Már rögzített felmentések'); + define('_TORLESKENYSZERITES','Töröljük a már beírt hiányzásokat (és oszt. vizsga esetén jegyeket is)?'); + define('_ZARADEKNELKUL','A záradék felvétele nélkül (csak speciális esetben)'); + + define('_IKTATOSZAM','Iktatószám'); +?> diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakStatusz.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakStatusz.php new file mode 100644 index 00000000..a188e5a1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakStatusz.php @@ -0,0 +1,20 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakSzulo.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakSzulo.php new file mode 100644 index 00000000..9fb3fff0 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakSzulo.php @@ -0,0 +1,53 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankor.php new file mode 100644 index 00000000..71120149 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankor.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankorJelentkezes.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankorJelentkezes.php new file mode 100644 index 00000000..2d042193 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/diakTankorJelentkezes.php @@ -0,0 +1,29 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/felmentes.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/felmentes.php new file mode 100644 index 00000000..d7b6f78f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/felmentes.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepesitesek.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepesitesek.php new file mode 100644 index 00000000..48943f2b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepesitesek.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzes.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzes.php new file mode 100644 index 00000000..e874cab6 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzes.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesOraterv.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesOraterv.php new file mode 100644 index 00000000..de1d9579 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesOraterv.php @@ -0,0 +1,20 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesTankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesTankor.php new file mode 100644 index 00000000..22837ea5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/kepzesTankor.php @@ -0,0 +1,38 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/munkakozosseg.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/munkakozosseg.php new file mode 100644 index 00000000..3771de35 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/munkakozosseg.php @@ -0,0 +1,36 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/osztaly.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/osztaly.php new file mode 100644 index 00000000..ba29df82 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/osztaly.php @@ -0,0 +1,40 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tanar.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tanar.php new file mode 100644 index 00000000..149051c8 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tanar.php @@ -0,0 +1,53 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankor.php new file mode 100644 index 00000000..3f75c539 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankor.php @@ -0,0 +1,56 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorDiak.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorDiak.php new file mode 100644 index 00000000..bc8cf25d --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorDiak.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorLetszam.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorLetszam.php new file mode 100644 index 00000000..685e56f5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorLetszam.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorSzemeszter.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorSzemeszter.php new file mode 100644 index 00000000..5a2910e1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorSzemeszter.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanar.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanar.php new file mode 100644 index 00000000..9c97ff36 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanar.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanarHozzarendeles.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanarHozzarendeles.php new file mode 100644 index 00000000..65781757 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tankorTanarHozzarendeles.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/terem.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/terem.php new file mode 100644 index 00000000..9a6d0de5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/terem.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tovabbkepzes.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tovabbkepzes.php new file mode 100644 index 00000000..bb66ab99 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/tovabbkepzes.php @@ -0,0 +1,34 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/valtas.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/valtas.php new file mode 100644 index 00000000..a4f011a4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/valtas.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/zaradek.php b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/zaradek.php new file mode 100644 index 00000000..4d2c72f4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/intezmeny/zaradek.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/koszi/esemenyAdmin.php b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/esemenyAdmin.php new file mode 100644 index 00000000..6dced833 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/esemenyAdmin.php @@ -0,0 +1,23 @@ +2. Egy mintához állíts be egy vagy többféle ponttípust
    3. A tanévhez rögzíts egy konkrét eseményt (dátum vagy félév kötelező!), és ne feledd megadni az igazolók halmazát (használd a CTRL gombot több kiválasztásához)'); + + define('_ESEMENYMINTAK','Esemény minták'); + define('_ESEMENYEK_TANEVBEN','Események ebben a tanévben'); + define('_PONTTIPUS','Pont típus'); + define('_HELYEZES','Helyezés (opció)'); + define('_PONT','Pont'); + define('_DATUM','Dátum'); + define('_FELEV','Félév (opció)'); + define('_IGAZOLOK','Igazolók'); + + define('_TIPUS','Típus'); + define('_NEV','Rövid név'); + define('_LEIRAS','Leírás'); + + define('_NINCS','Nincs még rögzítve'); + + define('_UJ_ESEMENY','Új köszi esemény'); + +?> diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/koszi/koszi.php b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/koszi.php new file mode 100644 index 00000000..2d693ede --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/koszi.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/koszi/kosziAdmin.php b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/kosziAdmin.php new file mode 100644 index 00000000..5ba7dec5 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/koszi/kosziAdmin.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/naplo.php b/mayor-orig/www/lang/hu_HU/module-naplo/naplo.php new file mode 100644 index 00000000..8b81acf9 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/naplo.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/diakTankorJelentkezes.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/diakTankorJelentkezes.php new file mode 100644 index 00000000..0fc3e47c --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/diakTankorJelentkezes.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/ertesito.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/ertesito.php new file mode 100644 index 00000000..8f01047e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/ertesito.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/helyettesitesinaplo.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/helyettesitesinaplo.php new file mode 100644 index 00000000..e8647921 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/helyettesitesinaplo.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/osztalyozonaplo.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/osztalyozonaplo.php new file mode 100644 index 00000000..4903b74d --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/osztalyozonaplo.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniEvVegiJegyzokonyv.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniEvVegiJegyzokonyv.php new file mode 100644 index 00000000..f3ff196a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniEvVegiJegyzokonyv.php @@ -0,0 +1,4 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniHaviJegyzokonyv.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniHaviJegyzokonyv.php new file mode 100644 index 00000000..c374e57e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/sniHaviJegyzokonyv.php @@ -0,0 +1,4 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/tankorNaplohozRendeles.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/tankorNaplohozRendeles.php new file mode 100644 index 00000000..ce8837a7 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/tankorNaplohozRendeles.php @@ -0,0 +1,20 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/zaradekok.php b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/zaradekok.php new file mode 100644 index 00000000..9dd4400f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/nyomtatas/zaradekok.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/ascExport.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/ascExport.php new file mode 100644 index 00000000..5171dec4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/ascExport.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/helyettesites.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/helyettesites.php new file mode 100644 index 00000000..b66f62dc --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/helyettesites.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarend.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarend.php new file mode 100644 index 00000000..7b7301af --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarend.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendBetolto.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendBetolto.php new file mode 100644 index 00000000..5e6b16e2 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendBetolto.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendEllenorzes.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendEllenorzes.php new file mode 100644 index 00000000..8e9f0292 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendEllenorzes.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendModosito.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendModosito.php new file mode 100644 index 00000000..19a7d449 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendModosito.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTankor.php new file mode 100644 index 00000000..4387ba21 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTankor.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTeremModositas.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTeremModositas.php new file mode 100644 index 00000000..fbc1ebe4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/orarendTeremModositas.php @@ -0,0 +1,10 @@ +a dátum beleesik-e a kívánt érvényes órarendi intervallumba!'); + +?> diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/szabadTerem.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/szabadTerem.php new file mode 100644 index 00000000..1a80b7cc --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/szabadTerem.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/tanarOrarend.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/tanarOrarend.php new file mode 100644 index 00000000..a9cef6fc --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/tanarOrarend.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/orarend/termez.php b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/termez.php new file mode 100644 index 00000000..1cd81497 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/orarend/termez.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizelomenetel.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizelomenetel.php new file mode 100644 index 00000000..8b65560a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizelomenetel.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizonyitvany.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizonyitvany.php new file mode 100644 index 00000000..a1a8c18d --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/bizonyitvany.php @@ -0,0 +1,42 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/diak.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/diak.php new file mode 100644 index 00000000..2f57346c --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/diak.php @@ -0,0 +1,18 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/dolgozat.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/dolgozat.php new file mode 100644 index 00000000..c408c0d1 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/dolgozat.php @@ -0,0 +1,34 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/jegy.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/jegy.php new file mode 100644 index 00000000..a8a97a4a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/jegy.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/stat.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/stat.php new file mode 100644 index 00000000..7a5f8316 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/stat.php @@ -0,0 +1,65 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szempontRendszer.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szempontRendszer.php new file mode 100644 index 00000000..76fe26b2 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szempontRendszer.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szovegesErtekeles.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szovegesErtekeles.php new file mode 100644 index 00000000..e53ac534 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/szovegesErtekeles.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/tankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/tankor.php new file mode 100644 index 00000000..de6938e4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/tankor.php @@ -0,0 +1,34 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/targySorrend.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/targySorrend.php new file mode 100644 index 00000000..726be6c7 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/targySorrend.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsga.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsga.php new file mode 100644 index 00000000..03f7d28b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsga.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsgaJelentkezes.php b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsgaJelentkezes.php new file mode 100644 index 00000000..b43f3308 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/osztalyozo/vizsgaJelentkezes.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/diak.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/diak.php new file mode 100644 index 00000000..b66ad481 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/diak.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/ertekeles.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/ertekeles.php new file mode 100644 index 00000000..9ed59538 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/ertekeles.php @@ -0,0 +1,33 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/file.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/file.php new file mode 100644 index 00000000..181edc69 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/file.php @@ -0,0 +1,67 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/hianyzas.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/hianyzas.php new file mode 100644 index 00000000..46993d84 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/hianyzas.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/osztalyzatok.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/osztalyzatok.php new file mode 100644 index 00000000..d7e69081 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/osztalyzatok.php @@ -0,0 +1,61 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/share/tanar.php b/mayor-orig/www/lang/hu_HU/module-naplo/share/tanar.php new file mode 100644 index 00000000..041915a6 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/share/tanar.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/sni/diakAllapot.php b/mayor-orig/www/lang/hu_HU/module-naplo/sni/diakAllapot.php new file mode 100644 index 00000000..7e732959 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/sni/diakAllapot.php @@ -0,0 +1,84 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/sni/fejlesztesiTerv.php b/mayor-orig/www/lang/hu_HU/module-naplo/sni/fejlesztesiTerv.php new file mode 100644 index 00000000..d84dc90f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/sni/fejlesztesiTerv.php @@ -0,0 +1,21 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/sni/tantargyiFeljegyzesek.php b/mayor-orig/www/lang/hu_HU/module-naplo/sni/tantargyiFeljegyzesek.php new file mode 100644 index 00000000..8826f2bb --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/sni/tantargyiFeljegyzesek.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/stat/letszam.php b/mayor-orig/www/lang/hu_HU/module-naplo/stat/letszam.php new file mode 100644 index 00000000..70d1524b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/stat/letszam.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/szulinap.php b/mayor-orig/www/lang/hu_HU/module-naplo/szulinap.php new file mode 100644 index 00000000..d770fd52 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/szulinap.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/checkStatus.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/checkStatus.php new file mode 100644 index 00000000..274479f4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/checkStatus.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/diakTanarai.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/diakTanarai.php new file mode 100644 index 00000000..80aca57b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/diakTanarai.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/fogadoOra.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/fogadoOra.php new file mode 100644 index 00000000..b7a86dff --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/fogadoOra.php @@ -0,0 +1,19 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/helyettesites.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/helyettesites.php new file mode 100644 index 00000000..446cd3c2 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/helyettesites.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/munkaterv.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/munkaterv.php new file mode 100644 index 00000000..4103d485 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/munkaterv.php @@ -0,0 +1,59 @@ + +

    + Adja meg, hogy hány hetes órarendet használnak a tanév során! + Ha minden héten azonos az órarend, akkor válassza az "1" értéket, ha A és B hét + váltakozik, akkor a "2" a helyes érték, de lehet, hogy akár hat különböző órarendű + hét ismétlődik ciklikusan, hiszen egy-két óra eltérése esetén is különbözőnek + számítanak az órarendek... +

    + Adja meg a tanítási napok és tanítás nélküli munkanapok számát (a rendeletben meghatározottak szerint), + valamint - középiskola esetén - a végzősök utolsó tanítási napjának dátumát!> + '); + define('_TANITASI_NAPOK_SZAMA','Tanítási napok száma'); + define('_TANITAS_NELKULI_MUNKANAPOK_SZAMA','Tanításnélküli munkanapok száma'); + define('_VEGZOS_ZARAS_DT','Végzősök utolsó tanítási napja'); + define('_NAPOK_SZAMA','Napok száma'); + define('_ELTERO_MUNKATERVEK','Eltérő munkatervek'); + define('_MUNKATERV_OSZTALY','Munkaterv-osztály összerendelés'); + define('_MO_MAGYARAZAT','Az osztályokat hozzá kell rendelnünk egy-egy munkatervhez. Kezdetben minden osztály az alapértelmezett mukatervhez van rendelve.'); + define('_HETHOZZARENDELES','Órarendi hetek napokhozrendelése'); + define('_HH_MAGYARAZAT','Adja meg, hogy hány hetes órarendet használnak az adott időszak során! + Ha minden héten azonos az órarend, akkor válassza az "1" értéket, ha A és B hét + váltakozik, akkor a "2" a helyes érték, de lehet, hogy akár hat különböző órarendű + hét ismétlődik ciklikusan, hiszen egy-két óra eltérése esetén is különbözőnek + számítanak az órarendek... A program csak az órarendi hetek napokhozrendelését + változtatja meg, a napok típusát, egyéb paramétereit nem módosítja. A hetek hozzárendelése + mindig az egyes héttől indul. A módosítás mindig az összes munkatervre vonatkozik! + '); + define('_UJ_MUNKATERV','Új munkaterv létrehozása'); + define('_UM_MAGYARAZAT','Az aktuális munkaterv másolataként új munkatervet készíthetünk. A munkaterveket + osztályokhoz rendelhetjük, minden osztályhoz pontosan egyet.'); + define('_MUNKATERV_NEVE','Munkaterv neve'); + define('_ORARENDIHETEKSZAMA','Órarendi hetek száma'); + define('_DATUM','Módosítandó időszak'); + define('_ELOIRT','Előírt'); + define('_TENYLEGES','Tényleges'); + +/* + define('_TANITASI_NAP','tanítási nap'); + define('_SPECIALIS_TANITASI_NAP','speciális tanítási nap'); + define('_TANITAS_NELKULI_MUNKANAP','tanítás nélküli munkanap'); + define('_TANITASI_SZUNET','tanítási szünet'); +*/ +?> diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorBlokk.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorBlokk.php new file mode 100644 index 00000000..f3ec0488 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorBlokk.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorCsoport.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorCsoport.php new file mode 100644 index 00000000..a45e7806 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/tankorCsoport.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/targyBontas.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/targyBontas.php new file mode 100644 index 00000000..18c90395 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/targyBontas.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosOrarendLezaras.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosOrarendLezaras.php new file mode 100644 index 00000000..ed152387 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosOrarendLezaras.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosTankorLezaras.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosTankorLezaras.php new file mode 100644 index 00000000..a0f9002f --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanev/vegzosTankorLezaras.php @@ -0,0 +1,4 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetInfo.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetInfo.php new file mode 100644 index 00000000..d8ed571a --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetInfo.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetJovahagyas.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetJovahagyas.php new file mode 100644 index 00000000..0b1767c9 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetJovahagyas.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetLeadas.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetLeadas.php new file mode 100644 index 00000000..083f6de7 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetLeadas.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetModositas.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetModositas.php new file mode 100644 index 00000000..f86fc2f0 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetModositas.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetTankor.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetTankor.php new file mode 100644 index 00000000..bfba5e7e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/tanmenetTankor.php @@ -0,0 +1,18 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/ujTanmenet.php b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/ujTanmenet.php new file mode 100644 index 00000000..9a7c5cc4 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/tanmenet/ujTanmenet.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/postas.php b/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/postas.php new file mode 100644 index 00000000..fc92fa69 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/postas.php @@ -0,0 +1,45 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/uzeno.php b/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/uzeno.php new file mode 100644 index 00000000..5c033b39 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-naplo/uzeno/uzeno.php @@ -0,0 +1,42 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-password/changeMyPassword.php b/mayor-orig/www/lang/hu_HU/module-password/changeMyPassword.php new file mode 100644 index 00000000..77d7e77d --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-password/changeMyPassword.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-password/changePassword.php b/mayor-orig/www/lang/hu_HU/module-password/changePassword.php new file mode 100644 index 00000000..9c56a329 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-password/changePassword.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-password/resetPassword.php b/mayor-orig/www/lang/hu_HU/module-password/resetPassword.php new file mode 100644 index 00000000..73246c70 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-password/resetPassword.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/accountInfo.php b/mayor-orig/www/lang/hu_HU/module-session/accountInfo.php new file mode 100644 index 00000000..4c2fd76b --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/accountInfo.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/admin/knownNodes.php b/mayor-orig/www/lang/hu_HU/module-session/admin/knownNodes.php new file mode 100644 index 00000000..72288186 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/admin/knownNodes.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/admin/registration.php b/mayor-orig/www/lang/hu_HU/module-session/admin/registration.php new file mode 100644 index 00000000..d0d7f182 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/admin/registration.php @@ -0,0 +1,38 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/createAccount.php b/mayor-orig/www/lang/hu_HU/module-session/createAccount.php new file mode 100644 index 00000000..78df2d19 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/createAccount.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/createGroup.php b/mayor-orig/www/lang/hu_HU/module-session/createGroup.php new file mode 100644 index 00000000..80317055 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/createGroup.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/download.php b/mayor-orig/www/lang/hu_HU/module-session/download.php new file mode 100644 index 00000000..332bbf77 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/download.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/groupInfo.php b/mayor-orig/www/lang/hu_HU/module-session/groupInfo.php new file mode 100644 index 00000000..0a406621 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/groupInfo.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/search/searchAccount.php b/mayor-orig/www/lang/hu_HU/module-session/search/searchAccount.php new file mode 100644 index 00000000..0a7888ed --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/search/searchAccount.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/search/searchGroup.php b/mayor-orig/www/lang/hu_HU/module-session/search/searchGroup.php new file mode 100644 index 00000000..5e10b357 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/search/searchGroup.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/lang/hu_HU/module-session/sessionAdmin.php b/mayor-orig/www/lang/hu_HU/module-session/sessionAdmin.php new file mode 100644 index 00000000..6ce18c09 --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/module-session/sessionAdmin.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/lang/hu_HU/share/session/attrs.php b/mayor-orig/www/lang/hu_HU/share/session/attrs.php new file mode 100644 index 00000000..6b66965e --- /dev/null +++ b/mayor-orig/www/lang/hu_HU/share/session/attrs.php @@ -0,0 +1,24 @@ + diff --git a/mayor-orig/www/lang/jp_JP/date/names.php b/mayor-orig/www/lang/jp_JP/date/names.php new file mode 100644 index 00000000..21297df0 --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/date/names.php @@ -0,0 +1,21 @@ + diff --git a/mayor-orig/www/lang/jp_JP/module-auth/login.php b/mayor-orig/www/lang/jp_JP/module-auth/login.php new file mode 100644 index 00000000..0d373e63 --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/module-auth/login.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/lang/jp_JP/module-password/changeMyPassword.php b/mayor-orig/www/lang/jp_JP/module-password/changeMyPassword.php new file mode 100644 index 00000000..d04443ff --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/module-password/changeMyPassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/jp_JP/module-password/changePassword.php b/mayor-orig/www/lang/jp_JP/module-password/changePassword.php new file mode 100644 index 00000000..24623580 --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/module-password/changePassword.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/lang/jp_JP/module-session/accountInfo.php b/mayor-orig/www/lang/jp_JP/module-session/accountInfo.php new file mode 100644 index 00000000..78277cc2 --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/module-session/accountInfo.php @@ -0,0 +1,3 @@ + diff --git a/mayor-orig/www/lang/jp_JP/share/session/attrs.php b/mayor-orig/www/lang/jp_JP/share/session/attrs.php new file mode 100644 index 00000000..e21a6218 --- /dev/null +++ b/mayor-orig/www/lang/jp_JP/share/session/attrs.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php b/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php new file mode 100644 index 00000000..90fa6df3 --- /dev/null +++ b/mayor-orig/www/policy/parent/naplo/diakValaszto-pre.php @@ -0,0 +1,34 @@ + diff --git a/mayor-orig/www/policy/parent/naplo/diakValaszto.php b/mayor-orig/www/policy/parent/naplo/diakValaszto.php new file mode 100644 index 00000000..b64ee30c --- /dev/null +++ b/mayor-orig/www/policy/parent/naplo/diakValaszto.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/parent/naplo/hirnok b/mayor-orig/www/policy/parent/naplo/hirnok new file mode 120000 index 00000000..56d56cc8 --- /dev/null +++ b/mayor-orig/www/policy/parent/naplo/hirnok @@ -0,0 +1 @@ +../../private/naplo/hirnok \ No newline at end of file diff --git a/mayor-orig/www/policy/parent/naplo/naplo-pre.php b/mayor-orig/www/policy/parent/naplo/naplo-pre.php new file mode 100644 index 00000000..bec91f25 --- /dev/null +++ b/mayor-orig/www/policy/parent/naplo/naplo-pre.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/parent/naplo/naplo.php b/mayor-orig/www/policy/parent/naplo/naplo.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/admin/admin-pre.php b/mayor-orig/www/policy/private/naplo/admin/admin-pre.php new file mode 100644 index 00000000..5cb70fd2 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/admin-pre.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/admin.php b/mayor-orig/www/policy/private/naplo/admin/admin.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/admin/azonositok-pre.php b/mayor-orig/www/policy/private/naplo/admin/azonositok-pre.php new file mode 100644 index 00000000..19622167 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/azonositok-pre.php @@ -0,0 +1,133 @@ + 1) { + $osztalyTagok[$i]['userAccounts'] = array(); + for ($j = 0; $j < $ret['count']; $j++) $osztalyTagok[$i]['userAccounts'][] = $ret[$j]['userAccount'][0]; + $_SESSION['alert'][] = "message:wrong_data:több account egy oId-hoz:oId=$oId:userAccount=".implode(',', $osztalyTagok[$i]['userAccounts']); + } + if (!isset($osztalyTagok[$i]['userAccount']) && count($osztalyTagok[$i]['userAccounts']) == 0) { + // Ha az oId alapján nem találtunk, akkor tovább keresünk név alapján + $ret = searchAccount('userCn', $osztalyTagok[$i]['diakNev'], array('userAccount','studyId'), 'private'); + if ($ret['count'] > 0) { + $osztalyTagok[$i]['userAccounts'] = $osztalyTagok[$i]['studyIds'] = array(); + for ($j = 0; $j < $ret['count']; $j++) { + $osztalyTagok[$i]['userAccounts'][] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i]['studyIds'][] = $ret[$j]['studyId'][0]; + } + } + // Javasolt azonosító generálása + $csNev = $osztalyTagok[$i]['viseltCsaladinev']; + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + if ($pos > 0 && mb_substr($csNev, $pos-2, 2, 'UTF-8') == 'né') { + $csNev = mb_substr($csNev,$pos+1,strlen($csNev)-$pos-1,'UTF-8'); + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + } + if ($pos > 0) $csNev = mb_substr($csNev, 0, $pos, 'UTF-8'); + $uNev = $osztalyTagok[$i]['viseltUtonev']; + $pos = mb_strpos($uNev, ' ', 0, 'UTF-8'); + if ($pos > 0) $uNev = mb_substr($uNev, 0, $pos, 'UTF-8'); + if ($AUTH[_POLICY]['unixStyleAccounts']) { + $csNev = ekezettelen(kisbetus($csNev)); + $uNev = ekezettelen(kisbetus($uNev)); + $osztalyTagok[$i]['generatedAccount'] = substr($csNev.$uNev[0], 0, 8); + } else { + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + $osztalyTagok[$i]['generatedAccount'] = $csNev.'.'.$uNev; + } + } + } + } + } + + if ($action == 'createAzonosito') { + $userPassword = readVariable($_POST['userPassword'], 'sql', null); + $CONTAINER = $AUTH['private'][ $AUTH['private']['backend'].'Containers']; + $container = readVariable($_POST['container'], 'enum', null, $CONTAINER); + if (is_array($CONTAINER) && count($CONTAINER) > 0 && !isset($container)) { + $_SESSION['alert'][] = 'message:empty_fields:container'; + } else { + define('__JELSZOGENERALAS', $userPassword == ''); + + if (is_array($_POST['userAccount'])) for ($i = 0; $i < count($_POST['userAccount']); $i++) { + $oId = readVariable($_POST['oId'][$i], 'number', null); + $userAccount = readVariable($_POST['userAccount'][$i], 'sql', null); + if (isset($oId) && isset($userAccount)) { + if (__JELSZOGENERALAS === true) { + $userPassword = $Tagok[$oId]['userPassword'] = sprintf("%u", crc32($Tagok[$oId]['viseltCsaladinev'])); + } + $userCn = $Tagok[$oId]['diakNev']; + createAccount($userCn, $userAccount, $userPassword, 'private', + $SET = array('category' => 'diák', 'container' => $container, 'groups' => '', 'policyAttrs' => array('studyId' => $oId)) + ); + // a settings táblában felvesszük, hogy melyik intézményhez van rendelve (ez persze nem korlátoz, csak egy alapértelmezés + $q = "DELETE FROM settings WHERE userAccount='%s' AND policy='%s'"; + db_query($q, array('debug'=>false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array($userAccount, 'private'))); + $q = "INSERT INTO settings (userAccount,policy,intezmeny) VALUES ('%s','%s','%s')"; + db_query($q, array('debug'=>false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array($userAccount, 'private', __INTEZMENY))); + } + } + } + + // Újraolvasás + $osztalyTagok = getOsztalyNevsorEsOid($osztalyId); + for ($i = 0; $i < count($osztalyTagok); $i++) { + $oId = $osztalyTagok[$i]['oId']; + $osztalyTagok[$i]['userAccounts'] = array(); + if ($oId != '') { + $ret = searchAccount('studyId', $oId, array('userAccount'), 'private'); + if ($ret['count'] == 1) { + $osztalyTagok[$i]['userAccount'] = $ret[0]['userAccount'][0]; + } elseif ($ret['count'] > 1) { + $osztalyTagok[$i]['userAccounts'] = array(); + for ($j = 0; $j < $ret['count']; $j++) $osztalyTagok[$i]['userAccounts'][] = $ret[$j]['userAccount'][0]; + } + if (!isset($osztalyTagok[$i]) && !is_array($osztalyTagok[$i]['userAccounts'])) { + // Ha az oId alapján nem találtunk, akkor tovább keresünk név alapján + $ret = searchAccount('userCn', $osztalyTagok[$i]['diakNev'], array('userAccount','studyId'), 'private'); + if ($ret['count'] > 0) { + $osztalyTagok[$i]['userAccounts'] = $osztalyTagok[$i]['studyIds'] = array(); + for ($j = 0; $j < $ret['count']; $j++) { + $osztalyTagok[$i]['userAccounts'][] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i]['studyIds'][] = $ret[$j]['studyId'][0]; + } + } + } + } + } // for - újraolvasás + } + + $TOOL['tanevSelect'] = array('tipus' => 'cella','tanev' => $tanev, 'paramName' => 'tanev', 'post' => array('osztalyId')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('igDt', 'tanev')); + getToolParameters(); + + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/azonositok.php b/mayor-orig/www/policy/private/naplo/admin/azonositok.php new file mode 100644 index 00000000..50df705e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/azonositok.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/checksql-pre.php b/mayor-orig/www/policy/private/naplo/admin/checksql-pre.php new file mode 100644 index 00000000..e952a01b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/checksql-pre.php @@ -0,0 +1,22 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/checksql.php b/mayor-orig/www/policy/private/naplo/admin/checksql.php new file mode 100644 index 00000000..7ad8e3b9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/checksql.php @@ -0,0 +1,15 @@ +0) { + echo ''; + for($i=0; $i'."\n"; + } + echo '
    '.$i.'
    '; + echo htmlDiff($Q_ERR[$i]['inDb'],$Q_ERR[$i]['inFile']); //filenamenormal checked + echo ''; + echo '
    '; + } +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/csoportok-pre.php b/mayor-orig/www/policy/private/naplo/admin/csoportok-pre.php new file mode 100644 index 00000000..63a1e0d5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/csoportok-pre.php @@ -0,0 +1,68 @@ +'cella'); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/csoportok.php b/mayor-orig/www/policy/private/naplo/admin/csoportok.php new file mode 100644 index 00000000..6ad4d67a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/csoportok.php @@ -0,0 +1,14 @@ + 0) putCsoportLista($Csoportok, $osztalyId, $csoportId); + if (isset($csoportId) && $csoportId != '') { + putCsoportModositoForm($csoportAdatok, $Tankorok, $osztalyId); + putCsoportTorlesForm($csoportId, $osztalyId); + } + putUjCsoportForm($osztalyId, $Tankorok); + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/fillhaladasi-pre.php b/mayor-orig/www/policy/private/naplo/admin/fillhaladasi-pre.php new file mode 100644 index 00000000..493b08fe --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/fillhaladasi-pre.php @@ -0,0 +1,30 @@ +'fillhaladasi-pre','modul'=>'naplo','values'=>array($tolDt,$igDt),'result'=>'indexed')); + for ($i=0; $i=1) $_SESSION['alert'][] = 'info:success:***'.implode('***',$SUCCESS); + } + + $TOOL['datumTolIgSelect'] = array('tipus' => 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $igDt, + 'hanyNaponta' => '1' + ); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/fillhaladasi.php b/mayor-orig/www/policy/private/naplo/admin/fillhaladasi.php new file mode 100644 index 00000000..c6d1a8c0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/fillhaladasi.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/import-pre.php b/mayor-orig/www/policy/private/naplo/admin/import-pre.php new file mode 100644 index 00000000..bb34046f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/import-pre.php @@ -0,0 +1,49 @@ + 0) $attrList = getTableFields($table, $db); + else $_SESSION['alert'][] = 'message:wrong_data'; + + } else { + updateTable($table, $fileName, $MEZO_LISTA, $KULCS_MEZOK, $mezo_elvalaszto, readVariable($_POST['rovatfej'], 'bool'), $db); + + } // MEZO_LISTA tömb + } else { + $_SESSION['alert'][] = 'message:file_not_found:'.$fileName; + } // A file létezik-e + + } // van file + } // van $table ($db) + +} // naploadmin + +$TOOL['TableSelect'] = array('tipus'=>'cella','paramName' => 'dbtable', 'post'=>array()); +getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/import.php b/mayor-orig/www/policy/private/naplo/admin/import.php new file mode 100644 index 00000000..8edc7d3e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/import.php @@ -0,0 +1,19 @@ + 0) + putFieldSelectForm($fileName, $ADATOK, $attrList, $dbtable); + else + echo 'NINCS ADAT!'; + } else { + echo 'Adatfeldolgozás kész.'; + } +} else { echo 'nincs table'; } +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/install-pre.php b/mayor-orig/www/policy/private/naplo/admin/install-pre.php new file mode 100644 index 00000000..1a655c4e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/install-pre.php @@ -0,0 +1,47 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/install.php b/mayor-orig/www/policy/private/naplo/admin/install.php new file mode 100644 index 00000000..11400c3c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/install.php @@ -0,0 +1,31 @@ +naploadmin csoport tagja!

    '; + } + if (!$group_ok) { + echo '

    Még nem hoztál létre naploadmin csoportot!

    '; + echo '

    Hozd létre a Felhasználói adatok/Új csoport menüpont alatt!

    '; + } elseif (!$db_ok) { + echo '

    Létre kell hoznunk a naplo modul alap adatbázisát!

    '; + echo '

    Ehhez szükség lesz a MySQL root jelszó megadására.

    '; + echo '
    '; // --TODO + echo ''; + echo 'User: '; + echo '
    '; + echo 'Jelszó: '; + echo '
    '; + echo ''; + echo '
    '; // --TODO + } else { + echo '

    Úgy tűnik a modul telepítése kész. Az base/config.php-ben módosítsuk a __NAPLO_INSTALLED értékét true-ra és kész.

    '; + } +} else { + echo '

    Már telepítve!

    '; +} +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/intezmenyek-pre.php b/mayor-orig/www/policy/private/naplo/admin/intezmenyek-pre.php new file mode 100644 index 00000000..e2dcc43d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/intezmenyek-pre.php @@ -0,0 +1,79 @@ +'cella', 'action' => 'intezmenyValasztas', 'post'=>array()); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/intezmenyek.php b/mayor-orig/www/policy/private/naplo/admin/intezmenyek.php new file mode 100644 index 00000000..22c35361 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/intezmenyek.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege-pre.php b/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege-pre.php new file mode 100644 index 00000000..d33879c1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege-pre.php @@ -0,0 +1,45 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege.php b/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege.php new file mode 100644 index 00000000..1f928d21 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/rpcPrivilege.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/admin/szemeszterek-pre.php b/mayor-orig/www/policy/private/naplo/admin/szemeszterek-pre.php new file mode 100644 index 00000000..6edd8674 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/szemeszterek-pre.php @@ -0,0 +1,80 @@ += _TIME + ) { + $szemeszterId = $_POST['szemeszterId'] = $_TANEV['szemeszter'][$i]['szemeszterId']; + $tanev = $_TANEV['szemeszter'][$i]['tanev']; + $szemeszter = $_TANEV['szemeszter'][$i]['szemeszter']; + break; + } + } + } else { + // szándékosan nincs szemeszter beállítva + } + if (isset($szemeszterId)) $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + $ADAT['idoszakTipusok'] = getIdoszakTipusok(); + + // -------- action --------- // + if ($action != '') { + if ($action == 'idoszakModositas') { + for ($i = 0; $i < count($_POST['idoszakId']); $i++) + $Mod[ $_POST['idoszakId'][$i] ] = array('tolDt' => $_POST['tolDt'][$i], 'igDt' => $_POST['igDt'][$i]); + for ($i = 0; $i < count($_POST['torlendo']); $i++) $Mod[ $_POST['torlendo'][$i] ]['torlendo'] = true; + foreach ($ADAT['szemeszterAdat']['idoszak'] as $i => $iAdat) { + $iId = $iAdat['idoszakId']; + if ($Mod[$iId]['torlendo'] == true) { +// echo 'Torol: '.$iId.'
    '; + idoszakTorles($iId); + } elseif ( + $iAdat['tolDt'] != $Mod[$iId]['tolDt'] + || $iAdat['igDt'] != $Mod[$iId]['igDt'] + ) { +// echo '
    '.$iId.' : '.$iAdat['tolDt'].' -- '.$_POST['tolDt'][$i].'
    '; + idoszakModositas($iId, $Mod[$iId]['tolDt'], $Mod[$iId]['igDt']); + } + + } + } elseif ($action == 'ujIdoszak') { + ujIdoszak( + $_POST['tolDt'], $_POST['igDt'], $_POST['tipus'], + $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['szemeszter'], $ADAT['idoszakTipusok'] + ); + } + $ADAT['szemeszterAdat']['idoszak'] = getIdoszakByTanev(array('tanev' => $ADAT['szemeszterAdat']['tanev'], 'szemeszter' => $ADAT['szemeszterAdat']['szemeszter'])); + } + +// $TOOL['tanevSelect'] = array('tipus' => 'cella', 'action' => 'tanevValasztas', 'tervezett' => true, 'post' => array(), 'paramName'=>'tanev'); + $TOOL['szemeszterSelect'] = array('tipus' => 'cella', 'action' => 'szemeszterValasztas', 'post' => array(), 'paramName'=>'szemeszterId'); + getToolParameters(); + + + } + + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/szemeszterek.php b/mayor-orig/www/policy/private/naplo/admin/szemeszterek.php new file mode 100644 index 00000000..f5132dfd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/szemeszterek.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok-pre.php b/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok-pre.php new file mode 100644 index 00000000..68dde965 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok-pre.php @@ -0,0 +1,171 @@ + 0); + else $ret = searchAccount('userAccount', $acc, array('userAccount','userCn'), 'parent'); + + if ($ret['count'] > 0) { + for ($j = 0; $j < $ret['count']; $j++) { // csak a pontos egyezés jó - több pontos egyezés meg nem lehet + if ($ret[$j]['userAccount'][0] == $acc) { + $osztalyTagok[$i][$szulo.'Account'] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i][$szulo.'UserCn'] = $ret[$j]['userCn'][0]; + break; + } + } + } + if (!isset($osztalyTagok[$i][$szulo.'Account'])) { + // Ha az userAccount alapján nem találtunk, akkor tovább keresünk név alapján + $ret = searchAccount('userCn', $szAdat['szuloNev'], array('userAccount','userCn'), 'parent'); + if ($ret['count'] > 0) { + $osztalyTagok[$i][$szulo.'Accounts'] = $osztalyTagok[$i][$szulo.'Cns'] = array(); + for ($j = 0; $j < $ret['count']; $j++) { + $osztalyTagok[$i][$szulo.'Accounts'][] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i][$szulo.'Cns'][] = $ret[$j]['userCn'][0]; + } + } + // Javasolt azonosító generálása + $csNev = $szAdat['csaladinev']; + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + if ($pos > 0 && mb_substr($csNev, $pos-2, 2, 'UTF-8') == 'né') { + $csNev = mb_substr($csNev,$pos+1,strlen($csNev)-$pos-1,'UTF-8'); + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + } + if ($pos > 0) $csNev = mb_substr($csNev, 0, $pos, 'UTF-8'); + $uNev = $szAdat['utonev']; + $pos = mb_strpos($uNev, ' ', 0, 'UTF-8'); + if ($pos > 0) $uNev = mb_substr($uNev, 0, $pos, 'UTF-8'); + if ($AUTH['parent']['unixStyleAccounts']) { + $csNev = ekezettelen(kisbetus($csNev)); + $uNev = ekezettelen(kisbetus($uNev)); + $osztalyTagok[$i][$szulo.'GeneratedAccount'] = substr($csNev.$uNev[0], 0, 8); + } else { + $pos = mb_strpos($csNev, ' ', 0, 'UTF-8'); + $osztalyTagok[$i][$szulo.'GeneratedAccount'] = $csNev.'.'.$uNev; + } + } + } // anya | apa + } // osztály tagok + + if ($action == 'createAzonosito') { + $userPassword = readVariable($_POST['userPassword'], 'sql', null); + $CONTAINER = $AUTH['parent'][ $AUTH['parent']['backend'].'Containers']; + $container = readVariable($_POST['container'], 'enum', null, $CONTAINER); + if (is_array($CONTAINER) && count($CONTAINER) > 0 && !isset($container)) { + $_SESSION['alert'][] = 'message:empty_fields:container'; + } else { + define('__JELSZOGENERALAS', $userPassword == ''); + + if (is_array($_POST['userAccount'])) { + for ($i = 0; $i < count($_POST['userAccount']); $i++) { + $szuloId = readVariable($_POST['szuloId'][$i], 'id', null); + $userAccount = readVariable($_POST['userAccount'][$i], 'sql', null); + if (isset($szuloId) && $userAccount != '') { + if (__JELSZOGENERALAS === true) { + $userPassword = $Tagok[$szuloId]['userPassword'];// = sprintf("%u", crc32($szAdat['csaladinev'])); + } + $userCn = $Tagok[$szuloId]['szuloNev']; + $ret = createAccount($userCn, $userAccount, $userPassword, 'parent', + array('category' => null, 'container' => $container, 'groups' => '', 'policyAttrs' => array()) + ); + if ($ret === true) { + // a szulo.userAccount módosítása + $q = "UPDATE szulo SET userAccount='%s' WHERE szuloId=%u"; + $v = array($userAccount, $szuloId); + db_query($q, array('fv'=>'szuloiAzonositok-pre','modul'=>'naplo_intezmeny','values'=>$v)); + // a settings táblában felvesszük, hogy melyik intézményhez van rendelve (ez persze nem korlátoz, csak egy alapértelmezés + $q = "DELETE FROM settings WHERE userAccount='%s' AND policy='%s'"; + db_query($q, array('debug'=>false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array($userAccount, 'parent'))); + $q = "INSERT INTO settings (userAccount,policy,intezmeny) VALUES ('%s','%s','%s')"; + db_query($q, array('debug'=>false,'fv'=>'updateNaploSettings','modul'=>'naplo_base','values'=>array($userAccount, 'parent', __INTEZMENY))); + + } + } + } + + + // Újraolvasás + for ($i = 0; $i < count($osztalyTagok); $i++) { + foreach (array('anya','apa') as $szulo) { + + $szuloId = $osztalyTagok[$i][$szulo.'Id']; + if ($szuloId == '') continue; + $szAdat = $osztalyTagok[$i][$szulo] = getSzuloAdat($szuloId); + $acc = $osztalyTagok[$i][$szulo]['userAccount']; + $Tagok[$szuloId] = $osztalyTagok[$i]; // Az adatrögzítés szuloId alapján megy + $Tagok[$szuloId]['szuloNev'] = $szAdat['szuloNev']; + $Tagok[$szuloId]['userPassword'] = $osztalyTagok[$i][$szulo]['userPassword'] = sprintf("%u", crc32($szAdat['csaladinev'])); + + if ($acc == '') $ret = array('count' => 0); + else $ret = searchAccount('userAccount', $acc, array('userAccount','userCn'), 'parent'); + + if ($ret['count'] > 0) { + for ($j = 0; $j < $ret['count']; $j++) { // csak a pontos egyezés jó - több pontos egyezés meg nem lehet + if ($ret[$j]['userAccount'][0] == $acc) { + $osztalyTagok[$i][$szulo.'Account'] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i][$szulo.'UserCn'] = $ret[$j]['userCn'][0]; + break; + } + } + } + if (!isset($osztalyTagok[$i][$szulo.'Account'])) { + // Ha az userAccount alapján nem találtunk, akkor tovább keresünk név alapján + $ret = searchAccount('userCn', $szAdat['szuloNev'], array('userAccount','userCn'), 'parent'); + if ($ret['count'] > 0) { + $osztalyTagok[$i][$szulo.'Accounts'] = $osztalyTagok[$i][$szulo.'Cns'] = array(); + for ($j = 0; $j < $ret['count']; $j++) { + $osztalyTagok[$i][$szulo.'Accounts'][] = $ret[$j]['userAccount'][0]; + $osztalyTagok[$i][$szulo.'Cns'][] = $ret[$j]['userCn'][0]; + } + } + } + } // anya | apa + } // osztály tagok + // Újraolvasás vége + + + + + } // van elküldött userAccount + } + + } // action + + } // van osztály kiválasztva + + + $TOOL['tanevSelect'] = array('tipus' => 'cella','tanev' => $tanev, 'paramName' => 'tanev', 'post' => array('osztalyId')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('igDt', 'tanev')); + getToolParameters(); + + +} + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok.php b/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok.php new file mode 100644 index 00000000..50df705e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/szuloiAzonositok.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/tanevek-pre.php b/mayor-orig/www/policy/private/naplo/admin/tanevek-pre.php new file mode 100644 index 00000000..a842f97e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/tanevek-pre.php @@ -0,0 +1,151 @@ + $tanev, + 'szemeszter' => readVariable($_POST['szemeszter'][$i], 'numeric unsigned'), + 'kezdesDt' => $kezdesDt, + 'zarasDt' => $zarasDt, + 'statusz' => 'tervezett' + ); + } + } + for ($i = 0; $i < count($DATA); $i++) szemeszterBejegyzes($DATA[$i]); + $Tanevek = getTanevek($tervezett = true); + + } + + } elseif ($action == 'intezmenyValasztas') { + + if (isset($intezmeny) && $intezmeny !== __INTEZMENY) { + if (updateSessionIntezmeny($intezmeny)) { + header('Location: '.location('index.php?page=naplo&sub=admin&f=tanevek')); + } + } + + } elseif ($action == 'tanevAktival') { + $TA = getTanevAdat($tanev); + $dbNev = tanevDbNev(__INTEZMENY, $tanev); + if ($TA['statusz'] == 'tervezett') { + // hozzuk létre az adatbázist és adjunk megfelelő jogokat hozzá! + if ( + createDatabase($dbNev, __TANEV_DB_FILE, $rootUser, $rootPassword, array("%DB%" => intezmenyDbNev(__INTEZMENY)) ) + !== false) + { + // frissítsük az osztalyNaplo táblát + refreshOsztalyNaplo($dbNev,$tanev); + activateTanev($tanev); + } + } else { + grantWriteAccessToDb($dbNev, $rootUser, $rootPassword); + activateTanev($tanev); + } + } elseif ($action == 'tanevLezar' && $ADAT['tanevAdat']['statusz'] == 'aktív' && is_array($_POST['step'])) { + $ADAT['step'] = $_POST['step']; + $ADAT['vjlOsztaly'] = $_POST['vjlOsztaly']; + $ADAT['vatOsztaly'] = $_POST['vatOsztaly']; + if (closeTanev($ADAT) && in_array('tanevLezaras', $ADAT['step'])) + revokeWriteAccessFromDb(tanevDbNev(__INTEZMENY, $tanev), $rootUser, $rootPassword); + } elseif ($action == 'tanevLezar' && $ADAT['tanevAdat']['statusz'] == 'aktív' && !is_array($_POST['step'])) { + $_SESSION['alert'][] = 'message:nothing_to_do:'.$action; + } elseif ($action == 'tanevValasztas') { +// if ($_POST['tanev'] !== __TANEV) { +// require_once('include/modules/naplo/share/intezmenyek.php'); +// if (updateSessionTanev($_POST['tanev'])) { +// header('Location: '.location('index.php?page=naplo&sub=admin&f=tanevek')); +// } +// } + } elseif ($action == 'szemeszterTorles') { + // Szemeszterek kezdes és zaras dátumainak változtatása + $Szemeszterek = getTanevSzemeszterek($tanev); + if ( + is_array($_POST['kezdesDt']) && is_array($_POST['zarasDt']) && is_array($Szemeszterek) + && count($Szemeszterek) == count($_POST['kezdesDt']) + ) { + $ADAT['modSzemeszter'] = array(); + $elozoDt = ''; $rendezett = true; + for ($i = 0; $i < count($Szemeszterek); $i++) { + $kezdesDt = readVariable($_POST['kezdesDt'][$i],'datetime',''); + $zarasDt = readVariable($_POST['zarasDt'][$i],'datetime',''); + if ($elozoDt >= $kezdesDt || $kezdesDt >= $zarasDt) { + $rendezett = false; + $_SESSION['alert'][] = 'message:wrong_data:szemeszter dátum módosítás:'.$kezdesDt.'-'.$zarasDt; + break; + } elseif ($Szemeszterek[$i]['kezdesDt'] != $kezdesDt || $Szemeszterek[$i]['zarasDt'] != $zarasDt) { + $Szemeszterek[$i]['kezdesDt'] = $kezdesDt; $Szemeszterek[$i]['zarasDt'] = $zarasDt; + $ADAT['modSzemeszter'][] = $Szemeszterek[$i]; + } + $elozoDt = $zarasDt; + } + if ($rendezett && count($ADAT['modSzemeszter']) > 0) szemeszterModositas($ADAT['modSzemeszter']); + } + if (is_array($_POST['szemeszterId'])) szemeszterTorles($_POST['szemeszterId']); + } // action + updateNaploSession($sessionID,__INTEZMENY,$tanev); + + if (isset($tanev)) $Szemeszterek = getTanevSzemeszterek($tanev); + $i = 0; + while (($i < count($Szemeszterek)) && ($Szemeszterek[$i]['statusz'] != 'aktív')) $i++; + $aktivTanev = ($i < count($Szemeszterek)); + + $TOOL['intezmenySelect'] = array('tipus' => 'cella', 'action' => 'intezmenyValasztas', 'intezmenyek' => $Intezmenyek, 'post' => array()); + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'tanevek' => $Tanevek, 'action' => 'tanevValasztas', 'tervezett' => true, 'post' => array(), 'paramName'=>'tanev'); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/tanevek.php b/mayor-orig/www/policy/private/naplo/admin/tanevek.php new file mode 100644 index 00000000..769a1686 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/tanevek.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/admin/tankorok-pre.php b/mayor-orig/www/policy/private/naplo/admin/tankorok-pre.php new file mode 100644 index 00000000..d1369674 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/tankorok-pre.php @@ -0,0 +1,39 @@ + 0) $attrList = getTableFields('tankor', 'naplo_intezmeny',array('targyNev')); + else $_SESSION['alert'][] = 'message:wrong_data'; + + } else { + + updateTankor($fileName, $MEZO_LISTA, $KULCS_MEZOK, $mezo_elvalaszto, $_POST['rovatfej']); + + } // MEZO_LISTA tömb + } else { + $_SESSION['alert'][] = 'message:file_not_found:'.$fileName; + } // A file létezik-e + + } // van file + } + +} +?> diff --git a/mayor-orig/www/policy/private/naplo/admin/tankorok.php b/mayor-orig/www/policy/private/naplo/admin/tankorok.php new file mode 100644 index 00000000..d667b706 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/admin/tankorok.php @@ -0,0 +1,16 @@ + 0) putFieldSelectForm($fileName, $ADATOK, $attrList, 'naplo_intezmeny:tankor'); + else echo 'NINCS ADAT!'; + } else { + echo 'Adatfeldolgozás kész.'; + } +} +?> diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus-pre.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus-pre.php new file mode 100644 index 00000000..9277b65d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus-pre.php @@ -0,0 +1,59 @@ + $tAdat) { + foreach ($tAdat as $btAdat) { + $mdb = 0; // módosítandó mezők száma + $btId = $btAdat['bejegyzesTipusId']; + if ($btAdat['bejegyzesTipusNev'] != $B[$btId]['bejegyzesTipusNev']) $mdb++; + if ($btAdat['tipus'] == 'fegyelmi' && intval($btAdat['hianyzasDb']) != $B[$btId]['hianyzasDb']) $mdb++; + if (explode(',',$btAdat['jogosult']) != $B[$btId]['jogosult']) { + if ($mdb == 0) { + jogosultValtoztatas($btId, $B[$btId]['jogosult']); + $mdb = 0; + } + } + if ($mdb > 0) bejegyzesTipusModositas($btId, $B[$btId], $dt); + } + // Fokozat-törlés - új fokozat + if (isset($_POST['del-'.ekezettelen($tipus)])) fokozatTorles($tipus, $dt); + elseif (isset($_POST['new-'.ekezettelen($tipus)])) ujFokozat($tipus, $dt); + } + $ADAT['bejegyzesTipusok'] = getBejegyzesTipusok($dt); + } + + $TOOL['datumSelect'] = array('tipus'=>'cella','paramName' => 'dt', 'post'=>array()); + getToolParameters(); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus.php new file mode 100644 index 00000000..9213d95d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesTipus.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek-pre.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek-pre.php new file mode 100644 index 00000000..42c0ba03 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek-pre.php @@ -0,0 +1,73 @@ + __TANEV, 'osztalyId' => $osztalyId, 'result'=>'assoc')); + $Diakok = getDiakok(array('tanev' => __TANEV, 'osztalyId' => $osztalyId)); + $diakIds = array(); for ($i = 0; $i < count($Diakok); $i++) $diakIds[] = $Diakok[$i]['diakId']; + if (!$tanarId) + $diakId = readVariable($_POST['diakId'], 'numeric unsigned', null, $diakIds); + + if (__DIAK) $diakId = __USERDIAKID; + + if ($action === 'delBejegyzes') { + + $bejegyzesId = readVariable($_POST['bejegyzesId'], 'numeric unsigned', 0); + $bejegyzesAdat = getBejegyzesAdatById($bejegyzesId); + if ( // Admin bármikor, tanár a beírás napján törölhet + __NAPLOADMIN || + ($bejegyzesAdat['tanarId'] = __USERTANARID && $bejegyzesAdat['beirasDt'] == date('Y-m-d')) + ) { + delBejegyzes($bejegyzesId); + } + + } + + if (isset($diakId)) $BEJEGYZESEK = getBejegyzesLista($diakId); + elseif (isset($osztalyId)) $osztalyBejegyzesek = getBejegyzesekByDiakIds($diakIds); + elseif (isset($tanarId)) $BEJEGYZESEK = getBejegyzesekByTanarId($tanarId); + + if (__TANAR || __VEZETOSEG || __NAPLOADMIN) { + $TOOL['tanarSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'tanarId', 'post'=>array('osztalyId','tolDt', 'igDt', 'targySorrend') + ); + + $TOOL['osztalySelect'] = array( + 'tipus' => 'cella', 'paramName' => 'osztalyId', 'osztalyok' => $Osztalyok, 'post' => array('tolDt', 'igDt', 'targySorrend') + ); + $TOOL['diakSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'diakId', +// 'diakok' => $Diakok, + 'post'=>array('osztalyId','tolDt', 'igDt', 'targySorrend'), + 'statusz' => array('vendégtanuló','jogviszonyban van','magántanuló','jogviszonya lezárva','jogviszonya felfüggesztve') + ); + if (isset($diakId)) + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=bejegyzesek&f=ujBejegyzes'), + 'titleConst' => array('_UJBEJEGYZES'), 'post' => array('osztalyId'), 'paramName'=>'diakId'); + + } + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek.php new file mode 100644 index 00000000..083bed25 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/bejegyzesek.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/info-pre.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/info-pre.php new file mode 100644 index 00000000..21d05060 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/info-pre.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/info.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/info.php new file mode 100644 index 00000000..c0e13920 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/info.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes-pre.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes-pre.php new file mode 100644 index 00000000..c6db7843 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes-pre.php @@ -0,0 +1,60 @@ + 0 )); + + $jogosult = array(); + if (__TANAR) $jogosult[] = 'szaktanár'; + if (__OFO) $jogosult[] = 'osztályfőnök'; + if (__VEZETOSEG) $jogosult[] = 'vezetőség'; + if (__NAPLOADMIN) $jogosult[] = 'admin'; + $FOKOZATOK = getBejegyzesTipusokByJogosult($jogosult); + + if ($action == 'ujBejegyzes') { + + $bejegyzesTipusId = readVariable($_POST['bejegyzesTipusId'], 'id'); + $szoveg = readVariable($_POST['szoveg'], 'string', ''); + $evvegi = readVariable($_POST['evvegi'], 'bool', false); + if ($evvegi) { + // A tanév záró napjára dátumozott bejegyzések kerülnek a törzslapra + $referenciaDt = $_TANEV['zarasDt']; + } else { + $referenciaDt = readVariable($_POST['referenciaDt'],'datetime',''); + } + + if (isset($bejegyzesTipusId) && $szoveg != '') { + if (ujBejegyzes($bejegyzesTipusId, $szoveg, $referenciaDt, $diakId)) $_SESSION['alert'][] = 'info:success:ujBejegyzes'; + } else { $_SESSION['alert'][] = 'message:wrong_data:ujBejegyzes:szöveg='.$szoveg.', bejegyzesTipusId='.$bejegyzesTipusId; } + } + } // isset($diakId) + + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post'=>array('tolDt', 'igDt', 'targySorrend')); + $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('osztalyId','tolDt', 'igDt', 'targySorrend'), + 'statusz' => array('vendégtanuló','jogviszonyban van','magántanuló') + ); + if (isset($diakId)) + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=bejegyzesek&f=bejegyzesek'), + 'titleConst' => array('_BEJEGYZESEK'), 'post' => array('osztalyId'), 'paramName'=>'diakId'); + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes.php b/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes.php new file mode 100644 index 00000000..0de20502 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/bejegyzesek/ujBejegyzes.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/naplo/error-pre.php b/mayor-orig/www/policy/private/naplo/error-pre.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/error.php b/mayor-orig/www/policy/private/naplo/error.php new file mode 100644 index 00000000..25d0f284 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/error.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles-pre.php b/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles-pre.php new file mode 100644 index 00000000..8e9903bd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles-pre.php @@ -0,0 +1,205 @@ + $tanev, 'result' => 'csakid')); + + } elseif (__DIAK) { + $cimzettTipusok = array('diak','tankor','osztaly'); + $feladoTipus = 'diak'; + $feladoId = $diakId = __USERDIAKID; + $cimzett['diak'] = array(__USERDIAKID); + $cimzett['tankor'] = array(0); + $tankorAdat = array(); + $ret = getTankorByDiakId($diakId, $tanev); + if (is_array($ret)) for ($i = 0; $i < count($ret); $i++) { + if (!in_array($ret[$i]['tankorId'], $cimzett['tankor'])) { + $cimzett['tankor'][] = $ret[$i]['tankorId']; + $tankorAdat[ $ret[$i]['tankorId'] ] = $ret[$i]; + } + } + $cimzett['osztaly'] = getDiakOsztalya($diakId, array('tanev' => $tanev, 'result' => 'csakid')); + } elseif (__TANAR) { + $cimzettTipusok = array('tanar','munkakozosseg'); + $feladoTipus = 'tanar'; + $feladoId = __USERTANARID; + $cimzett['tanar'] = array(__USERTANARID); + $cimzett['munkakozosseg'] = getMunkakozossegByTanarId(__USERTANARID); + // Munkaközösségek lekérdezése, címzett listába felvevése... + } + if (__NAPLOADMIN) { + // Ez egy hack. Az admin kiválasztva egy diákon belebújhat annak a szerepébe... + $diakId = readVariable($_POST['diakId'], 'id'); + if (isset($diakId)) { + $cimzett['diak'] = array($diakId); + $cimzett['tankor'] = array(0); + $tankorAdat = array(); + $ret = getTankorByDiakId($diakId, $tanev); + if (is_array($ret)) for ($i = 0; $i < count($ret); $i++) { + if (!in_array($ret[$i]['tankorId'], $cimzett['tankor'])) { + $cimzett['tankor'][] = $ret[$i]['tankorId']; + $tankorAdat[ $ret[$i]['tankorId'] ] = $ret[$i]; + } + } + $cimzett['osztaly'] = getDiakOsztalya($diakId, array('tanev' => $tanev, 'result' => 'csakid')); + } + + } + + // A szóbajövő kérdőívek + $Kerdoiv = getKerdoiv($cimzett); + + $kerdoivIds = array(); + for ($i = 0; $i < count($Kerdoiv); $i++) $kerdoivIds[] = $Kerdoiv[$i]['kerdoivId']; + + // Kérdőív kiválasztás + $ADAT['kerdoivId'] = $kerdoivId = readVariable($_POST['kerdoivId'], 'numeric', null, $kerdoivIds); + if (!isset($kerdoivId) && count($Kerdoiv) == 1) $kerdoivId = $Kerdoiv[0]['kerdoivId']; + + // Ha van kiválasztott kérdőív + if (isset($kerdoivId)) { + $ADAT['kerdoivAdat'] = getKerdoivAdat($kerdoivId); + // mely címzettek közösek + if (is_array($cimzett)) foreach ($cimzett as $cimzettTipus => $cimzettIds) { + if (is_array($cimzettIds) && count($cimzettIds) > 0) { + if (is_array($ADAT['kerdoivAdat']['cimzett'][$cimzettTipus])) { + if (in_array(0, $ADAT['kerdoivAdat']['cimzett'][$cimzettTipus])) $cIds = $cimzettIds; + else $cIds = array_intersect($cimzettIds, $ADAT['kerdoivAdat']['cimzett'][$cimzettTipus]); + if (count($cIds) > 0) { + $kozosCimzett[$cimzettTipus] = array_values($cIds); + switch ($cimzettTipus) { + case 'tankor': + case 'tankorSzulo': + $Tankorok = array(); + foreach ($cIds as $index => $tankorId) $Tankorok[] = $tankorAdat[ $tankorId ]; + // ki van-e választva (tankorSelect) az értékelendő tankör + $ADAT['cimzettId'] = readVariable($_POST['tankorId'], 'numeric', null, $cIds); + if (isset($ADAT['cimzettId'])) { + $ADAT['cimzettTipus'] = $cimzettTipus; + $Nevek = array(); + foreach (getTankorTanaraiByInterval( $ADAT['cimzettId'] ) as $idx => $tAdat) $Nevek[] = $tAdat['tanarNev']; + $ADAT['cimzettLeiras'] = $tankorAdat[ $ADAT['cimzettId'] ]['tankorNev'].' ('.implode(', ', $Nevek).')'; + } + break; + case 'osztaly': + case 'osztalySzulo': + $Osztalyok = array(); + foreach ($cIds as $index => $osztalyId) $Osztalyok[] = $osztalyAdat[ $osztalyId ]; // Még nincsenek osztályok lekérdezve!! + // ki van-e választva (osztalySelect) az értékelendő osztály + $ADAT['cimzettId'] = readVariable($_POST['osztalyId'], 'numeric', null, $cIds); + if (isset($ADAT['cimzettId'])) $ADAT['cimzettTipus'] = $cimzettTipus; + break; + case 'munkakozosseg': + $Munkakozossegek = array(); + foreach ($cIds as $index => $mkId) $Munkakozossegek[] = $mkAdat[ $mkId ]; // Még nincsenek munkaközösségek lekérdezve!! + // ki van-e választva (munkakozossegSelect) az értékelendő munkaközösség + $ADAT['cimzettId'] = readVariable($_POST['mkId'], 'numeric', null, $cIds); + if (isset($ADAT['cimzettId'])) $ADAT['cimzettTipus'] = $cimzettTipus; + break; + } + } + } + } + } + // Ha már a kérdőív kitöltése folyik - ismert a cimzettTipus és cimzettId + if (!isset($ADAT['cimzettId'])) { + $ADAT['cimzettTipus'] = readVariable($_POST['cimzettTipus'], 'enum', null, $cimzettTipusok); + if (isset($ADAT['cimzettTipus'])) + $ADAT['cimzettId'] = readVariable($_POST['cimzettId'], 'numeric', null, $kozosCimzett[$ADAT['cimzettTipus']]); + } + // Ha egyik előző sem, de egyértelmű a címzett + if (!isset($ADAT['cimzettId']) && count($kozosCimzett) == 1) { + list($cTipus, $cIds) = each($kozosCimzett); + if (count($cIds) == 1) { + $ADAT['cimzettTipus'] = readVariable($cTipus, 'enum', null, $cimzettTipusok); + if (isset($ADAT['cimzettTipus'])) + $ADAT['cimzettId'] = readVariable($cIds[0], 'numeric', null, $kozosCimzett[$ADAT['cimzettTipus']]); + } + } + + unset($tankorId); unset($osztalyId); unset($mkId); + if (isset($ADAT['cimzettId'])) { + switch ($ADAT['cimzettTipus']) { + case 'tankor': + case 'tankorSzulo': $tankorId = $ADAT['cimzettId']; break; + case 'osztaly': + case 'osztalySzulo': $osztalyId = $ADAT['cimzettId']; break; + case 'munkakozosseg': $mkId = $ADAT['cimzettId']; + } + if ($action == 'ertekeles') { + // A válaszok rögzítése... + $ADAT['megvalaszoltKerdes'] = getMegvalaszoltKerdes($kerdoivId, $feladoId, $feladoTipus, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + + // ------------------- + $lr = db_connect('naplo'); + db_start_trans($lr); + + for ($i = 0; $i < count($ADAT['kerdoivAdat']['kerdes']); $i++) { + $kerdesId = $ADAT['kerdoivAdat']['kerdes'][$i]['kerdesId']; + $valaszId = readVariable($_POST['valasz'.$kerdesId], 'numeric unsigned', null); + $szabadValasz = readVariable($_POST['szabadValasz'.$kerdesId], 'string', null); + if (!in_array($kerdesId, $ADAT['megvalaszoltKerdes']) && (isset($valaszId) || $szabadValasz != '')) { // Ha még nem válaszolt a kérdésre, és most van válasz + $q = "INSERT INTO kerdoivMegvalaszoltKerdes (feladoId,feladoTipus,kerdesId,cimzettId,cimzettTipus) VALUES (%u, '%s', %u, %u, '%s')"; + $v = array($feladoId, $feladoTipus, $kerdesId, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + db_query($q, array('fv' => 'ertekeles', 'modul' => 'naplo', 'values' => $v), $lr); + + // Kérdezzük le, hogy van-e kerdoivValaszSzam bejegyzés az adott válaszhoz, címzetthez + $q = "SELECT COUNT(*) FROM kerdoivValaszSzam WHERE valaszId = %u AND cimzettId=%u AND cimzettTipus='%s'"; + $v = array($valaszId, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + $db = db_query($q, array('fv' => 'ertekeles/volt-e már ez a válasz', 'result' => 'value', 'modul' => 'naplo', 'values' => $v), $lr); + if ($db == 0) { + $q = "INSERT INTO kerdoivValaszSzam (valaszId, cimzettId, cimzettTipus, szavazat) VALUES (%u,%u,'%s',1)"; + $v = array($valaszId, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + db_query($q, array('fv' => 'ertekeles', 'modul' => 'naplo', 'values' => $v), $lr); + } else { + $q = "UPDATE kerdoivValaszSzam SET szavazat=szavazat+1 WHERE valaszId=%u AND cimzettId=%u AND cimzettTipus='%s'"; + $v = array($valaszId, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + db_query($q, array('fv' => 'ertekeles', 'modul' => 'naplo', 'values' => $v), $lr); + } + } + if ($szabadValasz != '') { + $q = "INSERT INTO kerdoivSzabadValasz (kerdesId, szoveg) VALUES (%u, '%s')"; + $v = array($kerdesId, $szabadValasz); + db_query($q, array('fv' => 'ertekeles/szabadValasz', 'modul' => 'naplo', 'values' => $v), $lr); + } + } + db_commit($lr); + db_close($lr); + // ------------------- + + } + $ADAT['megvalaszoltKerdes'] = getMegvalaszoltKerdes($kerdoivId, $feladoId, $feladoTipus, $ADAT['cimzettId'], $ADAT['cimzettTipus']); + } + } + if (is_array($Kerdoiv)) + $TOOL['kerdoivSelect'] = array('tipus' => 'cella', 'kerdoiv' => $Kerdoiv, 'paramName' => 'kerdoivId', 'post' => array('diakId')); + if (__NAPLOADMIN) + $TOOL['diakSelect'] = array('tipus' => 'sor', 'paramName' => 'diakId', 'post' => array('kerdoivId','tankorId')); + if (is_array($Tankorok)) + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $Tankorok, 'paramName' => 'tankorId', 'post' => array('kerdoivId','diakId')); + + getToolParameters(); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles.php b/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles.php new file mode 100644 index 00000000..e69607b7 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/ertekeles.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/export-pre.php b/mayor-orig/www/policy/private/naplo/ertekeles/export-pre.php new file mode 100644 index 00000000..df76b3d1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/export-pre.php @@ -0,0 +1,33 @@ +'; var_dump($ADAT['stat']['kerdes'][1]); echo '
    '; + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array()); + $TOOL['kerdoivSelect'] = array('tipus' => 'cella', 'paramName' => 'kerdoivId', 'kerdoiv' => $ADAT['kerdoiv'], 'post' => array('tanev')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/export.php b/mayor-orig/www/policy/private/naplo/ertekeles/export.php new file mode 100644 index 00000000..f2f7171d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/export.php @@ -0,0 +1,27 @@ +'; + foreach ($ADAT['stat']['kerdes'] as $kerdesId => $kAdat) { + echo $kAdat['kerdes']."\n"; + foreach ($kAdat['valasz'] as $valaszId => $valasz) { + echo $valasz."\n"; + } + echo "\n"; + } + + echo ''."\n"; + formEnd(); + + } + + exportKerdoiv($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes-pre.php b/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes-pre.php new file mode 100644 index 00000000..0d633fc8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes-pre.php @@ -0,0 +1,149 @@ + 0) + $ADAT['cimzettTipus'] = array_pop(array_keys($ADAT['kerdoivAdat']['cimzett'])); + $ADAT['cim'] = $ADAT['kerdoivAdat']['cim']; + } + + if (isset($ADAT['cimzettTipus'])) { +/* + switch ($ADAT['feladoTipus']) { + case 'tanar': + $T = getTanarok(array('tanev' => __TANEV)); + for ($i = 0; $i < count($T); $i++) { + $ADAT['feladok'][] = array('feladoId' => $T[$i]['tanarId'], 'feladoNev' => $T[$i]['tanarNev']); + $ADAT['feladoIds'][] = $T[$i]['tanarId']; + } + break; + case 'diak': + $T = getDiakok(array('tanev' => __TANEV)); + for ($i = 0; $i < count($T); $i++) { + $ADAT['feladok'][] = array('feladoId' => $T[$i]['diakId'], 'feladoNev' => $T[$i]['diakNev']); + $ADAT['feladoIds'][] = $T[$i]['diakId']; + } + break; + case 'szulo': + $T = getSzulok(array('result' => 'standard')); + for ($i = 0; $i < count($T); $i++) { + $ADAT['feladok'][] = array('feladoId' => $T[$i]['szuloId'], 'feladoNev' => $T[$i]['szuloNev']); + $ADAT['feladoIds'][] = $T[$i]['szuloId']; + } + break; + } +*/ + $ADAT['cimzettIds'] = array(0); + switch ($ADAT['cimzettTipus']) { + case 'tanar': + $T = getTanarok(array('tanev' => __TANEV)); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['tanarId'], 'cimzettNev' => $T[$i]['tanarNev']); + $ADAT['cimzettIds'][] = $T[$i]['tanarId']; + } + break; + case 'diak': + $T = getDiakok(array('tanev' => __TANEV)); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['diakId'], 'cimzettNev' => $T[$i]['diakNev']); + $ADAT['cimzettIds'][] = $T[$i]['diakId']; + } + break; + case 'szulo': + $T = getSzulok(array('result' => 'standard')); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['szuloId'], 'cimzettNev' => $T[$i]['szuloNev']); + $ADAT['cimzettIds'][] = $T[$i]['szuloId']; + } + break; + case 'tankor': + case 'tankorSzulo': + case 'tankorTanar': + $T = getTankorok(array('tanev = '.__TANEV)); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['tankorId'], 'cimzettNev' => $T[$i]['tankorNev']); + $ADAT['cimzettIds'][] = $T[$i]['tankorId']; + } + break; + case 'munkakozosseg': + $T = getMunkakozossegek(); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['mkId'], 'cimzettNev' => $T[$i]['mkNev']); + $ADAT['cimzettIds'][] = $T[$i]['mkId']; + } + break; + case 'osztaly': + case 'osztalySzulo': + case 'osztalyTanar': + $T = getOsztalyok(__TANEV); + for ($i = 0; $i < count($T); $i++) { + $ADAT['cimzettek'][] = array('cimzettId' => $T[$i]['osztalyId'], 'cimzettNev' => $T[$i]['osztalyJel']); + $ADAT['cimzettIds'][] = $T[$i]['osztalyId']; + } + break; + } + } + + if ($action == 'kerdoivBetoltes1') { + $ADAT['cim'] = readVariable($_POST['cim'], 'sql', null); + $ADAT['tolDt'] = readVariable($_POST['tolDt'], 'datetime', null); + $ADAT['igDt'] = readVariable($_POST['igDt'], 'datetime', null); + $ADAT['megjegyzes'] = readVariable($_POST['megjegyzes'], 'string', null); + if (isset($ADAT['cim']) && isset($ADAT['tolDt']) && isset($ADAT['igDt']) && isset($ADAT['cimzettTipus'])) { + $kerdoivId = $ADAT['kerdoivId'] = ujKerdoiv($ADAT); + if ($kerdoivId) { + $ADAT['txt'] = explode("\n", $_POST['txt']); + kerdesValaszFelvetel($ADAT); + } + } else { + $_SESSION['alert'][] = 'message:empty_fields:ujKerdoiv:cim-tolDt-igDt'; + } + } elseif ($action == 'kerdoivBetoltes2') { + if (is_array($_POST['cimzettId']) && count($_POST['cimzettId']) > 0) { + //$kerdoivId = readVariable($_POST['kerdoivId'], 'numeric unsigned', null); + if (in_array(0, $_POST['cimzettId'])) $_POST['cimzettId'] = $ADAT['cimzettIds']; + for ($i = 0; $i < count($_POST['cimzettId']); $i++) { + $cimzettId = readVariable($_POST['cimzettId'][$i], 'numeric unsigned', null, $ADAT['cimzettIds']); + kerdoivCimzettFelvetel($kerdoivId, $cimzettId, $ADAT['cimzettTipus']); + } + } + if (is_array($_POST['torlendoCimzettId']) && count($_POST['torlendoCimzettId']) > 0) { + for ($i = 0; $i < count($_POST['torlendoCimzettId']); $i++) { + $cimzettId = readVariable($_POST['torlendoCimzettId'][$i], 'numeric unsigned', null, $ADAT['cimzettIds']); + kerdoivCimzettTorles($kerdoivId, $cimzettId, $ADAT['cimzettTipus']); + } + } + $ADAT['kerdoivAdat'] = getKerdoivAdat($kerdoivId); + if (is_array($ADAT['kerdoivAdat']['cimzett']) && count($ADAT['kerdoivAdat']['cimzett'])>0) { + $ADAT['cimzettTipus'] = array_pop(array_keys($ADAT['kerdoivAdat']['cimzett'])); + } + $ADAT['cim'] = $ADAT['kerdoivAdat']['cim']; + } + } + + $TOOL['kerdoivSelect'] = array('tipus' => 'cella', 'paramName' => 'kerdoivId', 'post' => array()); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes.php b/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes.php new file mode 100644 index 00000000..4b7c5287 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/kerdoivBetoltes.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/osszesites-pre.php b/mayor-orig/www/policy/private/naplo/ertekeles/osszesites-pre.php new file mode 100644 index 00000000..0b537ffe --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/osszesites-pre.php @@ -0,0 +1,97 @@ + $cimzettTipus) { + if (is_array($ADAT['kerdoivStat']['cimzett'][$cimzettTipus])) { // Ha tanköröket értékeltünk + // Elválasztó - a két címzettTípus között +// $Table[] = ''; $Table[] = $cimzettTipus; $Table[] = ''; + $sor = count($Table); // A következő sor + // táblázat elkészítése - két dimenziós tömb + // első sor: Tanár | Tankör | Kerdes |.|.|.| Kerdes |.|... + $Table[$sor] = array('Tanár/Tankör','Létszám'); + foreach ($ADAT['kerdoivStat']['kerdes'] as $kerdesId => $kAdat) { + $Table[$sor][] = $kAdat['kerdes'].' ('.$kerdesId.')'; + for ($i = 1; $i < count($kAdat['valasz']); $i++) $Table[$sor][] = ''; + } + // Második sor: | valasz1/1 | Valasz1/2 ... + $Table[$sor+1] = array('',''); + foreach ($ADAT['kerdoivStat']['kerdes'] as $kerdesId => $kAdat) { + $j=1; + foreach ($kAdat['valasz'] as $valaszId => $valasz) + $Table[$sor+1][] = ($j++).'. '.$valasz.' ('.$valaszId.')'; + } + // Tanáronként megyünk + if (isset($tanarId)) $Tanarok = array($tanarId => $ADAT['kerdoivStat']['tanarNev'][$tanarId]); + else $Tanarok = $ADAT['kerdoivStat']['tanarNev']; + foreach ($Tanarok as $tanarId => $tanarNev) { + $Table[] = array($tanarNev,''); // Ebbe a sorba lehetne esetleg átlagolni + // tanköröknként + for ($i = 0; $i < count($ADAT['kerdoivStat']['tanarTankorei'][$tanarId]); $i++) { + $tankorId = $ADAT['kerdoivStat']['tanarTankorei'][$tanarId][$i]; + $tankorNev = $ADAT['kerdoivStat']['tankorAdat'][$tankorId]['tankorNev']; + $Row = array($tankorNev.' ('.$tankorId.')', $ADAT['kerdoivStat']['tankorAdat'][$tankorId]['letszam']); + // Kérdésenként + foreach ($ADAT['kerdoivStat']['kerdes'] as $kerdesId => $kAdat) { + // Válszonként + foreach ($kAdat['valasz'] as $valaszId => $valasz) { + $Row[] = $ADAT['kerdoivStat']['szavazat'][$cimzettTipus][$tankorId][$valaszId]; + } + } + $Table[] = $Row; + } + } + + }} // if / foreach + + if (strstr($_SERVER["HTTP_USER_AGENT"], 'Linux')) { + $fileName = fileNameNormal('kerdoiv-'.$kerdoivId.'.csv'); + if (generateCSV($fileName, $Table, 'Kérdőív összesítés')) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/ertekeles/osszesites&file='.$fileName)); + } else { + $fileName = fileNameNormal('kerdoiv-'.$kerdoivId.'.xls'); + if (generateXLS($fileName, $Table, 'Kérdőív összesítés')) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/ertekeles/osszesites&file='.$fileName)); + } +// } // isset($tankorId) + } + + } + + if (__NAPLOADMIN || __VEZETOSEG) + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('kerdoivId')); +// $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tolDt', 'igDt')); +// if (isset($osztalyId) || isset($tanarId)) +// $TOOL['tankorSelect'] = array('tipus' => 'sor', 'paramName' => 'tankorId', 'post' => array('osztalyId', 'tanarId', 'kerdoivId')); + + + $TOOL['kerdoivSelect'] = array('tipus' => 'cella', 'paramName' => 'kerdoivId', 'kerdoiv' => $ADAT['kerdoiv'], 'post' => array('tanarId', 'tankorId')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/ertekeles/osszesites.php b/mayor-orig/www/policy/private/naplo/ertekeles/osszesites.php new file mode 100644 index 00000000..c24a85d5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/ertekeles/osszesites.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/esemeny/esemeny-pre.php b/mayor-orig/www/policy/private/naplo/esemeny/esemeny-pre.php new file mode 100644 index 00000000..42808fe9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/esemeny-pre.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/esemeny/esemeny.php b/mayor-orig/www/policy/private/naplo/esemeny/esemeny.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak-pre.php b/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak-pre.php new file mode 100644 index 00000000..080fb0ca --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak-pre.php @@ -0,0 +1,83 @@ + $statuszLista)); + $ADAT['diakIds'][$_osztalyId] = array(); + foreach ($statuszLista as $statusz) + foreach ($tmp[$statusz] as $_diakId) { + $ADAT['diakok'][$_osztalyId][] = array( + 'diakId' => $_diakId, 'diakNev' => $tmp[$_diakId]['diakNev'], 'beDt' => $tmp[$_diakId]['beDt'], + 'kiDt' => $tmp[$_diakId]['kiDt'], 'statusz' => $statusz + ); + $ADAT['diakIds'][$_osztalyId][] = $_diakId; + $ADAT['diak2osztaly'][$_diakId] = $_osztalyId; + } + } + } + + $ADAT['esemenyek'] = getEsemenyLista(); + $TOOL['esemenySelect'] = array('tipus'=>'cella', + 'paramName'=>'esemenyId','paramDesc'=>'esemenyNev','esemenyId'=>$ADAT['esemenyId'],'adatok' => $ADAT['esemenyek'] + ); + if ($ADAT['esemenyId'] != '') { + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=esemeny&f=ujEsemeny'), + 'titleConst' => array('_ESEMENYMODOSITAS'), 'post' => array('esemenyId'), + ); + } + + getToolParameters(); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak.php b/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak.php new file mode 100644 index 00000000..789fd5dd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/esemenyDiak.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes-pre.php b/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes-pre.php new file mode 100644 index 00000000..9d1de532 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes-pre.php @@ -0,0 +1,45 @@ + $ADAT['esemenyIds'])); + $ADAT['jovahagyottEsemenyek'] = getJovahagyottEsemenyek($ADAT['diakId'], array('esemenyIds' => $ADAT['esemenyIds'])); + + if ($action == 'jelentkezes') { + + foreach ($_POST as $key => $val) { + if ($val == 'felvesz') { + $ADAT['esemenyId'] = readVariable(substr($key,7), 'id'); + // TODO: ellenőrizzük, hogy az adott eseményre jelentkezhet-e a diák... + esemenyJelentkezes($ADAT['diakId'], $ADAT['esemenyId']); + } elseif ($val == 'lead') { + $ADAT['esemenyId'] = readVariable(substr($key,4), 'id'); + esemenyLeadas($ADAT['diakId'], $ADAT['esemenyId']); + } + // Választott események újraolvasása... + $ADAT['esemenyek'] = getAktualisEsemenyByOsztaly($ADAT['diakOsztaly'][ $ADAT['diakId'] ]); + $ADAT['valasztottEsemenyek'] = getValasztottEsemenyek($ADAT['diakId'], array('esemenyIds' => $ADAT['esemenyIds'])); + $ADAT['jovahagyottEsemenyek'] = getJovahagyottEsemenyek($ADAT['diakId'], array('esemenyIds' => $ADAT['esemenyIds'])); + } + + } + + } + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes.php b/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes.php new file mode 100644 index 00000000..b6286bf4 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/jelentkezes.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny-pre.php b/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny-pre.php new file mode 100644 index 00000000..c1bffff8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny-pre.php @@ -0,0 +1,91 @@ +'cella', + 'paramName'=>'esemenyId','paramDesc'=>'esemenyNev','esemenyId'=>$ADAT['esemenyId'],'adatok' => $ADAT['esemenyek'] + ); + if ($ADAT['esemenyId'] != '') { + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=esemeny&f=esemenyDiak'), + 'titleConst' => array('_ESEMENYJELENTKEZOK'), 'post' => array('esemenyId'), + ); + } + getToolParameters(); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny.php b/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny.php new file mode 100644 index 00000000..fdb37417 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/esemeny/ujEsemeny.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/export/bizonyitvany-pre.php b/mayor-orig/www/policy/private/naplo/export/bizonyitvany-pre.php new file mode 100644 index 00000000..b71adf7b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/bizonyitvany-pre.php @@ -0,0 +1,114 @@ += _TIME + ) { + $_POST['szemeszterId'] = $szemeszterId = $_TANEV['szemeszter'][$i]['szemeszterId']; + break; + } + } + } + $ADAT['sorrendNev'] = $sorrendNev = readVariable($_POST['sorrendNev'], 'enum', 'bizonyítvány', array('bizonyitvany')); + + $ADAT['osztalyId'] = $osztalyId = readVariable($_POST['osztalyId'], 'id'); + if (!isset($osztalyId) && __OSZTALYFONOK) { $ADAT['osztalyId'] = $osztalyId = $_OSZTALYA[0]; } + + if (isset($szemeszterId)) { + + $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + define('__ZARO_SZEMESZTER', $ADAT['szemeszterAdat']['szemeszter'] == $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']); + + $Osztalyok = getOsztalyok($ADAT['szemeszterAdat']['tanev']); + if (isset($osztalyId) && $action == 'bizonyitvanyExport') { + + define('__OSZTALYFONOKE', (__OSZTALYFONOK === true && in_array($osztalyId, $_OSZTALYA))); + + // intézmény adatok + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // osztály statisztikák + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $ADAT['szemeszterAdat']['tanev']); + // Az adott szemeszterben létezik-e az osztály + for ($i = 0; ($i < count($Osztalyok) && $Osztalyok[$i]['osztalyId'] != $osztalyId); $i++); + if ($i < count($Osztalyok)) { + $Szulok = getSzulok(); + $ADAT['diakok'] = getDiakok(array('osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'])); + for ($i = 0; $i < count($ADAT['diakok']); $i++) { + $ADAT['diakIds'][] = intval($ADAT['diakok'][$i]['diakId']); + $ADAT['diakAdat'][ $ADAT['diakok'][$i]['diakId'] ] = getDiakAdatById( $ADAT['diakok'][$i]['diakId'] ); + foreach ($ADAT['diakAdat'] as $diakId => $dAdat) { + foreach (array('anya','apa','gondviselo') as $tipus) { + $szuloId = $dAdat[ $tipus.'Id' ]; + if (is_array($Szulok[$szuloId])) foreach ($Szulok[$szuloId] as $attr => $value) { + $ADAT['diakAdat'][$diakId][ $tipus . ucfirst($attr) ] = $value; + } elseif ($i == 0 && is_array($Szulok[1])) foreach ($Szulok[1] as $attr => $value) { + $ADAT['diakAdat'][$diakId][ $tipus . ucfirst($attr) ] = ''; + } + } + } + } + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev); + //for ($i = 0; $i < count($ADAT['targyak']); $i++) $ADAT['targyAdat'][ $ADAT['targyak'][$i]['targyNev'] ] = $ADAT['targyak'][$i]['targyId']; + $ADAT['tanarok'] = getTanarokByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat']); + $ADAT['jegyek'] = getDiakZarojegyek($ADAT['diakIds'], $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['szemeszter']); + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszterAdat']); + + /* A pdfBizonyítvány ezeket használja: szemeszterAdat|intezmeny|diakok|jegyek|hianyzas|osztaly|targyAdat|targyak*/ + $file = fileNameNormal('bizonyitvany-'.$ADAT['szemeszterAdat']['tanev'].'-'.$ADAT['szemeszterAdat']['szemeszter'].'-' + .str_replace('/','',str_replace('.','',$ADAT['osztaly']['osztalyJel']))); // 9/ Ny.a --> 9Nya + if (exportBizonyitvany($file, $ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/export/bizonyitvany&file='.$file.'.'.$ADAT['formatum'].'&mimetype='.$ADAT['mime'])); + } else { + unset($osztalyId); + } + + } + } + + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') ,'post' => array('sorrendNev', 'osztalyId')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId', 'sorrendNev')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/export/bizonyitvany.php b/mayor-orig/www/policy/private/naplo/export/bizonyitvany.php new file mode 100644 index 00000000..b87c8a05 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/bizonyitvany.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/export/diakExport-pre.php b/mayor-orig/www/policy/private/naplo/export/diakExport-pre.php new file mode 100644 index 00000000..eb3d95e5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/diakExport-pre.php @@ -0,0 +1,68 @@ + true)); + $ADAT['fields'] = $ret['names']; + $ADAT['types'] = $ret['types']; $ADAT['types']['osztalyJel'] = 'string'; $ADAT['types']['diakNaploSorszam'] = 'int'; + $ret = getTableFields('szulo','naplo_intezmeny',array(), array('withType' => true)); + $szuloMezok = $ret['names']; + foreach (array('anya','apa','gondviselő','nevelő') as $szulo) { + foreach ($szuloMezok as $attr => $attrNev) { + $ADAT['fields'][ekezettelen($szulo).ucfirst($attr)] = ucfirst($szulo).' '.kisbetus($attrNev); + $ADAT['types' ][ekezettelen($szulo).ucfirst($attr)] = $ret['types'][ $attrNev ]; + } + } + $ADAT['fields']['telephelyId'] = 'telephelyId'; + $ADAT['types' ]['telephelyId'] = 'int'; + + if (!is_array($_POST['mezok'])) $_POST['mezok'] = $exportFormatum['alapértelmezett']; + foreach ($_POST['mezok'] as $i => $attr) { + if (isset($ADAT['fields'][$attr])) $ADAT['mezok'][$attr] = $ADAT['fields'][$attr]; + } + + if (isset($ADAT['formatum'])) { + $ADAT['export'] = diakExport($ADAT); + if ($ADAT['formatum'] != 'html') { + + if (is_array($ADAT['export']) && createFile($ADAT)) { + header('Location: '.location('index.php?page=session&f=download&download=true&dir=export&file=diakExport.'.$ADAT['formatum'].'&mimetype='.$ADAT['mime'])); + } else { + echo 'HIBA'; + } + } + } + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array('osztalyId')); + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('osztalyId', 'tanev'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), + 'igDt' => $TA['zarasDt'], + ); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tanev', 'dt','mezok','formatum')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/export/diakExport.php b/mayor-orig/www/policy/private/naplo/export/diakExport.php new file mode 100644 index 00000000..30066c3f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/diakExport.php @@ -0,0 +1,12 @@ + 0) { + putDiakTabla($ADAT); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport-pre.php b/mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport-pre.php new file mode 100644 index 00000000..0e0bd72f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport-pre.php @@ -0,0 +1,132 @@ +'...','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'targyId')); + } + +// $ADAT['magatartasIds'] = getMagatartas(); +// $ADAT['szorgalomIds']= getSzorgalom(); + + // melyik szemeszter adatait nézzük + if (isset($_POST['szemeszterId']) && $_POST['szemeszterId'] != '') { + $szemeszterId = $_POST['szemeszterId']; + } elseif (!isset($_POST['szemeszterId'])) { + for ($i = 1; $i <= count($_TANEV['szemeszter']); $i++) { + if ( + strtotime($_TANEV['szemeszter'][$i]['kezdesDt']) <= _TIME + && strtotime($_TANEV['szemeszter'][$i]['zarasDt']) >= _TIME + ) { + $_POST['szemeszterId'] = $szemeszterId = $_TANEV['szemeszter'][$i]['szemeszterId']; + break; + } + } + } + $ADAT['sorrendNev'] = $sorrendNev = readVariable($_POST['sorrendNev'], 'enum', 'bizonyítvány', array('napló','bizonyítvány','anyakönyv','ellenőrző','egyedi')); + + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') { $osztalyId = $_POST['osztalyId']; } + elseif (__OSZTALYFONOK && !isset($_POST['osztalyId'])) { $osztalyId = $_OSZTALYA[0]; $_POST['osztalyId'] = $osztalyId; } + + if (isset($szemeszterId)) { + + $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + define('__ZARO_SZEMESZTER', $ADAT['szemeszterAdat']['szemeszter'] == $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']); + + $tanev = $ADAT['szemeszterAdat']['tanev']; + + $Osztalyok = getOsztalyok($ADAT['szemeszterAdat']['tanev']); + if (isset($osztalyId)) { + + define('__OSZTALYFONOKE', (__OSZTALYFONOK === true && in_array($osztalyId, $_OSZTALYA))); + // $ADAT['evfolyamJel'] = getEvfolyamJelByOsztalyId($osztalyId,$tanev); + $ADAT['evfolyamJel'] = getEvfolyamJel($osztalyId,$tanev); + + // intézmény adatok + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // osztály statisztikák + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $ADAT['szemeszterAdat']['tanev']); + // Az adott szemeszterben létezik-e az osztály + for ($i = 0; ($i < count($Osztalyok) && $Osztalyok[$i]['osztalyId'] != $osztalyId); $i++); + if ($i < count($Osztalyok)) { + $ADAT['diakok'] = getDiakok(array( + 'result' => 'assoc', 'osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'], + 'tolDt' => $ADAT['szemeszterAdat']['zarasDt'], 'igDt' => $ADAT['szemeszterAdat']['zarasDt'], + 'extraAttrs' => 'oId' + ) + + ); + $ADAT['diakIds'] = array_keys($ADAT['diakok']); + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev); + //for ($i = 0; $i < count($ADAT['targyak']); $i++) $ADAT['targyAdat'][ $ADAT['targyak'][$i]['targyNev'] ] = $ADAT['targyak'][$i]['targyId']; + $ADAT['jegyek'] = getDiakZarojegyekByEvfolyamJel($ADAT['diakIds'], $ADAT['evfolyamJel'], $ADAT['szemeszterAdat'], array('felevivel'=>true)); +// $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszterAdat']); +//var_dump($Osztalyok); + /* A pdfBizonyítvány ezeket használja: szemeszterAdat|intezmeny|diakok|jegyek|hianyzas|osztaly|targyAdat|targyak*/ + $FORPRINT['file'] = fileNameNormal('kir-'.$ADAT['szemeszterAdat']['tanev'].'-'.$ADAT['szemeszterAdat']['szemeszter'].'-'.str_replace('.','',$ADAT['osztaly']['osztalyJel'])); + $FORPRINT['base']['feleviE'] = ($ADAT['szemeszterAdat']['szemeszter']==1)?'true':'false'; // szöveggel + $FORPRINT['base']['omkod'] = substr($INTEZMENY['OMKod'],-6); + /* osztály adatok */ + $FORPRINT['base']['kirOsztalyJelleg'] = $ADAT['osztaly']['kirOsztalyJellegId']; + $FORPRINT['base']['telephelyId'] = str_pad($ADAT['osztaly']['telephelyId'],3,0,STR_PAD_LEFT); + $FORPRINT['base']['tanevJel'] = $tanev.'/'.($tanev+1); + $FORPRINT['base']['evfolyamJel'] = $ADAT['evfolyamJel']; + $FORPRINT['base']['diak'] = $ADAT['diakIds']; + + for ($i=0; $i $A) { + if (is_array($TARGYID2KIR[$_targyId])) { + $FORPRINT['diak'][$_diakId]['targy'][] = array( + 'kirTargyKod'=> $TARGYID2KIR[$_targyId]['kirTargyId'], + 'jegy'=>intval($A[0]['jegy']) // igaziból jegyTipus - tól függő a megjelenés + ); + } + } + } + } + nyomtatvanyKeszites($FORPRINT,'kirBizonyitvanyExport'); + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/export/kirBizonyitvanyExport&file='.$FORPRINT['file'].'.xml')); + } else { + unset($osztalyId); + } + + } + } + + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') ,'post' => array( 'osztalyId')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId')); + + + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport.php b/mayor-orig/www/policy/private/naplo/export/kirBizonyitvanyExport.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/export/kreta-pre.php b/mayor-orig/www/policy/private/naplo/export/kreta-pre.php new file mode 100644 index 00000000..89129607 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/kreta-pre.php @@ -0,0 +1,176 @@ +$telephelyId); + + $ADAT['csakOratervi'] = readVariable($_POST['csakOratervi'], 'bool', false); + + if ($ADAT['csakOratervi']==true) { + $q = "select tankorTipusId from tankorTipus WHERE oratervi='óratervi'"; + $exportalandoTankorTipusIdk = db_query($q, array('fv'=>'','modul'=>'naplo_intezmeny','result'=>'idonly')); + // array(1,2,3,11,13,14); + } else { + $q = "select tankorTipusId from tankorTipus"; + $exportalandoTankorTipusIdk = db_query($q, array('fv'=>'','modul'=>'naplo_intezmeny','result'=>'idonly')); + } + + // teszt + // $q = "select *,REVERSE(SUBSTRING(SUBSTRING_INDEX(REVERSE(tankorNev),'(',1) FROM 2)) AS tankorId FROM kretaEttfEllenor"; + // $ADAT['kretaEllenor'] = db_query($q, array('fv'=>'','modul'=>'naplo_intezmeny','result'=>'multiassoc','keyfield'=>'tankorId')); + //dump($ADAT['kretaEllenor']); + + /* EREDETI KIEMELHETŐ KÓD */ + $ADAT['szuro'] = array( + 'osztalyok' => getOsztalyok(), + 'munkakozossegek' => getMunkakozossegek(), + 'tanarok' => getTanarok(array('extraAttrs'=>'szuletesiIdo')), + 'targyak' => getTargyak(), + + 'osztalyIds'=>array_keys(reindex(getOsztalyok(__TANEV,$filter),array('osztalyId'))), +// 'mkIds'=>readVariable($_POST['mkIds'],'id',array()), +// 'tanarIds'=>array_keys(reindex(getTanarok(array('tanev'=>__TANEV)),array('tanarId'))), +// 'targyIds'=>array_keys(reindex(getTargyak(array('tanev'=>__TANEV)),array('targyId'))), + ); + + /* MÁSOLAT */ + foreach ($ADAT['szuro']['targyak'] as $idx => $tAdat) $ADAT['targyAdat'][ $tAdat['targyId'] ] = $tAdat; + + // A szűrőben beállítottnak megefelő tankörök lekérése + $ADAT['tankorok'] = getTankorokBySzuro($ADAT['szuro']); + $ADAT['szuro']['tankorTargyIds'] = array(); + foreach ($ADAT['tankorok'] as $ids => $tAdat) + if (!in_array($tAdat['targyId'], $ADAT['szuro']['tankorTargyIds'])) + $ADAT['szuro']['tankorTargyIds'][] = $tAdat['targyId']; + $ADAT['tanarok'] = getTanarokBySzuro($ADAT['szuro']); + // stat + $ADAT['keszTankorDb'] = 0; + foreach ($ADAT['tankorok'] as $tAdat) if (is_array($tAdat['tanarIds']) && count($tAdat['tanarIds'])>0) $ADAT['keszTankorDb']++; + $ADAT['tankorStat'] = getTankorStat(); + /* EREDETI KOD VEGE */ + + if ($action=='kretaTanarExport') { + $TANAROK = getTanarok(array('extraAttrs'=>'oId,viseltNevElotag,viseltCsaladinev,viseltUtonev,beDt,szuletesiHely,szuletesiIdo,szuleteskoriUtonev,szuleteskoriCsaladinev,szuleteskoriNevElotag')); +/* $EXPORT[0] = array('Oktazon','Viselt név előtag','Viselt név vezetéknév','Viselt név keresztnév','Viselt név névsorrend', + 'Anyja neve előtag','Anyja neve vezetéknév','Anyja neve keresztnév', 'Anyja neve névsorrend', + 'Születési dátum', 'Születési hely', 'Születési ország','1. állampolgárság','2. állampolgárság', + 'Végzettség szintje','Állandó lakcím', 'irányító szám','Állandó lakcím település','Állandó lakcím közterület név', + 'Állandó lakcím közterület jelleg', 'Állandó lakcím házszám','Állandó lakcím pontosítás', + 'Tartózkodási cím irányító szám','Tartózkodási cím település','Tartózkodási cím közterület név', + 'Tartózkodási cím közterület jelleg','Tartózkodási cím házszám','Tartózkodási cím pontosítás', + 'Szakmai gyakorlati évek száma','E-mail cím','Közoktatási intézmény neve','Közoktatási intézmény székhelye', + 'OM azonosító','Kiemelt feladatellátási hely','Vezetői beosztás','Jogviszony létrejötte','Jogviszony megszűnte', + 'Jogviszony típusa','Besorolási kategória','Fizetési osztály','Pótlék', + 'Munkakör kategória','Munkakör','Tantárgy','Szakképzettségek', + 'Tudományos fokozatok','Pedagógus szakvizsgák','Egyéb továbbképzések'); +*/ + $j = 1; + for ($i=0; $i'','modul'=>'naplo_intezmeny','result'=>'assoc','keyfield'=>'tanarId')); + $TANARADAT = (reindex($ADAT['szuro']['tanarok'],array('tanarId'))); + // schema + $EXPORT[0][] = 'Osztály'; + $EXPORT[0][] = 'Csoport'; + $EXPORT[0][] = 'Tantárgy'; + $EXPORT[0][] = 'Óraszám'; + $EXPORT[0][] = 'Tanár'; + // ------- + $j = 1; + for ($i=0; $i'cella', 'paramName'=>'telephelyId', 'post'=>array()); + getToolParameters(); + +} + + +?> diff --git a/mayor-orig/www/policy/private/naplo/export/kreta.php b/mayor-orig/www/policy/private/naplo/export/kreta.php new file mode 100644 index 00000000..ea276fd1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/kreta.php @@ -0,0 +1,11 @@ +'; + putKretaTanarExportForm($ADAT); + putKretaTankorTanarExportForm($ADAT); + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/export/sulix-pre.php b/mayor-orig/www/policy/private/naplo/export/sulix-pre.php new file mode 100644 index 00000000..c0e961c2 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/sulix-pre.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/export/sulix.php b/mayor-orig/www/policy/private/naplo/export/sulix.php new file mode 100644 index 00000000..b87c8a05 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/sulix.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam-pre.php b/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam-pre.php new file mode 100644 index 00000000..addd994f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam-pre.php @@ -0,0 +1,106 @@ +'naplo_intezmeny','result'=>'indexed')); +// dump($r); + for ($i=0; $i__TANEV),$lr)); + if (count($T_TANAR)==0) 'HIBÁS TANKÖR'.dump($tankorAdat); + $ADAT[$T_TANAR[0]['tanarId']][$tankorAdat['targyId']][$T_OSZTALY[0]['osztalyId']][] = $tankorAdat['szummaOra']; + if (!in_array($T_TANAR[0]['tanarId'].'_'.$tankorAdat['targyId'],$SOR)) $SOR[] = $T_TANAR[0]['tanarId'].'_'.$tankorAdat['targyId']; + } + + db_close($lr); + + for ($i=0; $i $REST) { + $tanarTargyak[] = $_targyId; + } + // bázis adatok + $EXPORT[($i+1)][] = $TANAR_ADATOK[$tanarId]['tanarNev']; + $EXPORT[($i+1)][] =$tanarId; + $EXPORT[($i+1)][] =$TARGYAK[$targyId][0]['targyNev']; + $EXPORT[($i+1)][] =$targyId; + $EXPORT[($i+1)][] =$TANAR_ADATOK[$tanarId]['statusz']; + $EXPORT[($i+1)][] =$TANAR_ADATOK[$tanarId]['hetiKotelezoOraszam']; + $EXPORT[($i+1)][] =$TANAR_ADATOK[$tanarId]['hetiMunkaora']; + + $tanarSzum = 0; + // osztályonként + for ($j=0; $j diff --git a/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam.php b/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam.php new file mode 100644 index 00000000..a31e1b9f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/tanarOsztalyOraszam.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas-pre.php b/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas-pre.php new file mode 100644 index 00000000..9de0f8f6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas-pre.php @@ -0,0 +1,61 @@ + 'hetiKotelezoOraszam, besorolas')); + $ADAT['tanarKepesitesIds'] = getTanarKepesitesIds(); + $ADAT['kepesitesAdat'] = getKepesitesek(array('result' => 'assoc')); + for ($i = 0; $i < count($ADAT['tanarok']); $i++) { + $ADAT['tanarAdat'][ $ADAT['tanarok'][$i]['tanarId'] ] = $ADAT['tanarok'][$i]; + $ADAT['tanarAdat'][ $ADAT['tanarok'][$i]['tanarId'] ]['targyIds'] = getTargyIdsByTanarId($ADAT['tanarok'][$i]['tanarId']); + } + unset($ADAT['tanarok']); + // tankörök + $ADAT['tankorok'] = getTankorOraszamok(); + foreach ($ADAT['tankorok'] as $idx => $tAdat) { + $tankorId = $tAdat['tankorId']; + $targyId = $tAdat['targyId']; + $osztalyId = $tAdat['osztalyIds'][0]; // mi legyen a több osztályos tankörökkel??? + $szemeszter = $tAdat['szemeszter']; + $tanarDb = count($tAdat['tanarIds']); + $oraszam = $tAdat['oraszam'] / $tanarDb; + foreach ($tAdat['tanarIds'] as $tanarId) { + $ADAT['export'][$tanarId][$targyId][$osztalyId][$szemeszter] += $oraszam; + } + } + // tárgyak + $ADAT['targyak'] = getTargyak(); + foreach ($ADAT['targyak'] as $idx => $tAdat) $ADAT['targyAdat'][ $tAdat['targyId'] ] = $tAdat; + unset($ADAT['targyak']); + // osztalyok + $ADAT['osztalyok'] = getOsztalyok(); + +//dump($ADAT['export']); + + $file = fileNameNormal('tantargyFelosztas-'.__TANEV.'-'.date('Ymd')); + if (exportTantargyFelosztas($file, $ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/export/tantargyFelosztas&file='.$file.'.'.$ADAT['formatum'].'&mimetype='.$ADAT['mime'])); + + } + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas.php b/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas.php new file mode 100644 index 00000000..c75ffff4 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/export/tantargyFelosztas.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/haladasi/elmaradas-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/elmaradas-pre.php new file mode 100644 index 00000000..ea3a2959 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/elmaradas-pre.php @@ -0,0 +1,17 @@ + __TANEV, 'beDt'=>$_TANEV['kezdesDt'],'kiDt'=>$_TANEV['zarasDt'],'result' => 'assoc')); + $Elmaradas = getHaladasiElmaradas(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/elmaradas.php b/mayor-orig/www/policy/private/naplo/haladasi/elmaradas.php new file mode 100644 index 00000000..8b4019bf --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/elmaradas.php @@ -0,0 +1,12 @@ + 0) + || (is_array($Elmaradas['beirando']) && count($Elmaradas['beirando']) > 0) + ) putElmaradas($Elmaradas, $Tanarok); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/elszamolas-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/elszamolas-pre.php new file mode 100644 index 00000000..37078c30 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/elszamolas-pre.php @@ -0,0 +1,59 @@ +'cella', + // 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 7, + 'tolDt' => date('Y-m-d', strtotime('Saturday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => date('Y-m-d', strtotime('next Saturday', strtotime($_TANEV['zarasDt']))), + 'override' => true + ); + $TOOL['datumTolIgSelect'] = array( + 'tipus' => 'sor', + 'tolParamName' => 'tolDt', + 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], + 'igDt' => $_TANEV['zarasDt'], +// 'hanyNaponta' => 'havonta', + 'post' => array('tanarId', 'osztalyId', 'tankorId', 'sulyozas') + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/elszamolas.php b/mayor-orig/www/policy/private/naplo/haladasi/elszamolas.php new file mode 100644 index 00000000..8e2635d6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/elszamolas.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/haladasi-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/haladasi-pre.php new file mode 100644 index 00000000..f6a59939 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/haladasi-pre.php @@ -0,0 +1,387 @@ + osztalyId-t nem állítunk - hagyjuk + if (isset($tankorId) and !tankorTagjaE($diakId, $tankorId)) { + unset($tankorId); + } + $ADAT['title'] = getDiakNevById($diakId); + } else { + if (isset($teremId)) { + } elseif (!isset($osztalyId)) { + if (!isset($tanarId)) $tanarId = readVariable($_POST['tanarId'],'id'); + if (!isset($tanarId)) $tanarId = readVariable($_GET['tanarId'],'id'); + if (!isset($tanarId) && __USERTANARID!==false && __TANAR) $tanarId = __USERTANARID; + define(__PLUSZBEIRHAT, + (__USERTANARID == $tanarId || __NAPLOADMIN===true || __VEZETOSEG===true) + ); + } + } + if (!defined('__PLUSZBEIRHAT')) define('__PLUSZBEIRHAT',false); + /* ------------------------------------------------- */ + + // lapozás, tól-ig beállítás + if (!isset($tankorId)) { + + // egy tanár ($tanarId) vagy osztály ($osztaly) összes órája --> lapozni kell + // reading sensitive data + $igDt = readVariable($_POST['igDt'], 'datetime', date('Y-m-d')); + $tolDt = readVariable($_POST['tolDt'], 'datetime'); + $lapoz = readVariable($_POST['lapoz'], 'enum', null, array('<<','>>','nextWeek','prevWeek')); + $lapoz1 = readVariable($_POST['lapoz1'], 'enum', null, array('<<','>>','nextWeek','prevWeek')); + + // set defaults ++ +// if (strtotime($igDt) > strtotime($_TANEV['zarasDt'])) $igDt = $_TANEV['zarasDt']; + $maxIgDt = date('Y-m-d', strtotime('next Saturday', strtotime($_TANEV['kovetkezoKezdesDt']))); + if (strtotime($igDt) > strtotime($maxIgDt)) $igDt = $maxIgDt; + elseif (strtotime($igDt) < strtotime($_TANEV['kezdesDt'])) $igDt = $_TANEV['kezdesDt']; + if (date('w', strtotime($igDt)) == 0) $igDt = date('Y-m-d',strtotime('-1 days',strtotime($igDt))); // Hogy vasárnap még a múltheti látszódjon + $eVas = date('Y-m-d',strtotime('Saturday',strtotime($igDt))); + + if ($igDt == '') $igDt = $eVas; + if ($tolDt == '') $tolDt = $eHet = date('Y-m-d',strtotime('last Monday 02:00',strtotime($eVas))); + + if (in_array($lapoz,array('<<','prevWeek')) or in_array($lapoz1,array('<<','prevWeek'))) { + $tolDt = date('Y-m-d',strtotime('last Monday 02:00',strtotime($eHet))); +// $igDt = date('Y-m-d',strtotime('Saturday',strtotime($tolDt))); +// Vasárnap + $igDt = date('Y-m-d',strtotime('Sunday',strtotime($tolDt))); + } elseif (in_array($lapoz,array('>>','nextWeek')) or in_array($lapoz1,array('>>','nextWeek'))) { + $tolDt = date('Y-m-d',strtotime('Monday 02:00',strtotime($eVas))); +// $igDt = date('Y-m-d',strtotime('Saturday',strtotime($tolDt))); +// Vasárnap + $igDt = date('Y-m-d',strtotime('Sunday',strtotime($tolDt))); + } + if ($csakUres || strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $tolDt = date('Y-m-d',strtotime($_TANEV['kezdesDt'])); + // Ha ezt kiveszem, akkor mindig kirakja a teljes hetet, de a jövőbeli órákat nem lehet beírni! + // Itt a post értékét nem használjuk fel, csak vizsgáljuk. + if ((!isset($_POST['igDt']) || $_POST['igDt'] == '')&& strtotime($igDt) > time()) $igDt = date('Y-m-d'); + define('_SHOW_DAYS_FROM',$tolDt); + define('_SHOW_DAYS_TO',$igDt); + + } else { + + // egy tanulócsoport órái (nem kell lapozni) + define('_SHOW_DAYS_FROM',date('Y-m-d',strtotime($_TANEV['kezdesDt']))); + define('_SHOW_DAYS_TO',date('Y-m-d')); + + } + + /* ------------------------------------------------- */ + // Jogosultság ellenőrzés, tanév aktív-e... + + // A megjelenítéshez + if (isset($osztalyId) && !isset($diakId)) { + $osztalyAdat = getOsztalyAdat($osztalyId); + $ADAT['title'] = $osztalyAdat['osztalyJel'].' ('.$osztalyAdat['osztalyfonok']['tanarNev'].')'; + // hetesek miatt + $ADAT['osztalyId'] = $osztalyId; + $ADAT['diakok'] = getDiakok(array('osztalyId' => $osztalyId)); + for ($i = 0; $i < count($ADAT['diakok']); $i++) $ADAT['diakNevek'][ $ADAT['diakok'][$i]['diakId'] ] = $ADAT['diakok'][$i]['diakNev']; + } elseif (isset($tanarId)) { + $ADAT['title'] = getTanarNevById($tanarId); + //DEPRECATED $ADAT['oraTerheles'] = getOraTerhelesByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); + $ADAT['oraTerheles'] = getOraTerhelesStatByTanarId(array('tanarId'=>$tanarId,'dt'=>_SHOW_DAYS_TO)); + } elseif (isset($teremId)) { + $ADAT['title'] = $teremId; + } elseif (isset($tankorId)) { + $ADAT['title'] = 'A tankör haladási naplója'; + } + + if ( + $_TANEV['szemeszter'][1]['statusz'] == 'aktív' // Csak aktív tanévben lehet módosítani + && ( + __NAPLOADMIN // adminnak vagy + || __VEZETOSEG // vezetőség - tanév végi pótlásokhoz kell! + || ((__TANAR || __VEZETOSEG )) // A tanároknak, vezetőségi tagoknak +// || ((__TANAR || __VEZETOSEG ) && __FOLYO_TANEV) // A tanév közben a tanároknak, vezetőségi tagoknak - az év végi napok problémásak így! + ) + ) { + // action + if ($action == 'haladasiNaploBeiras' && ( + is_array($_POST['oraId']) + ||is_array($_POST['UJORA']) + ||is_array($_POST['ORATOROL']) + )) { + + $oraIds = readVariable($_POST['oraId'],'numeric'); + // --FIXME :: a feldolgozást inkább végezzük máshol + $lr = db_connect('naplo'); + for ($i = 0; $i < count($oraIds); $i++) { + if (is_numeric($oraIds[$i])) { + $oraId = $oraIds[$i]; + // Ha egy órának több tanára is van, select + //EXPERIMENTAL: $_modTs = readVariable($_POST['T_'.$oraId], 'datetime', ''); + $_ki = readVariable($_POST['K_'.$oraId], 'numeric', ''); + $_leiras = readVariable($_POST['L_'.$oraId],'string', ''); //htmlspecialchars($_POST['L_'.$oraId]) + $_csoportAdat = readVariable($_POST['M_'.$oraId], 'string', ''); //numeric:numeric ??? + // paraméterek: $oraId, $leiras, $csoportAdat = 'csoportId:tankorId', $ki = '', $olr = '') + if (isset($_POST['L_'.$oraId])) // a biztonság kedvéért ellenőrizzük + updateHaladasiNaploOra($oraId, $_leiras, $_csoportAdat, $_ki, $lr); + //EXPERIMENTAL: updateHaladasiNaploOra($oraId, $_leiras, $_csoportAdat, $_ki, $_modTs, $lr); + } + } + $UJORA = readVariable($_POST['UJORA'],'string'); + for ($i=0; $i$_dt,'ora'=>$_ora,'ki'=> $_ki, 'tipus'=>$_tipus,'eredet'=>$_eredet,'feladatTipusId'=>$_feladatTipusId,'munkaido'=>'fennmaradó'),$lr); + } + } + //*** IDE JÖHET A BEÍRÁS + if (is_array($_POST)) foreach ($_POST as $_key => $_leiras) { + if (substr($_key,0,3) === 'LE_' && $_leiras!='' && is_numeric($UJORAIDK[$_dt][$_ora])) { + list($_rest, $_dt,$_ora) = explode('_',$_key); + updateHaladasiNaploOra($UJORAIDK[$_dt][$_ora],$_leiras,'',$tanarId,$lr); + } + } + //*** + $ORATOROL = readVariable($_POST['ORATOROL'],'id'); + for ($i=0; $i_SHOW_DAYS_FROM, 'igDt'=>_SHOW_DAYS_TO)); + $Osztalyok = getDiakOsztalya($diakId, array('tanev'=>__TANEV,'tolDt'=>$tolDt,'igDt'=>$igDt, 'result'=>'idonly')); + } elseif (isset($osztalyId)) { + $ADAT['haladasiTipus']='osztalyHaladasi'; + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + $Osztalyok = array($osztalyId); + } elseif (isset($teremId)) { // --new + $ADAT['haladasiTipus']='teremHaladasi'; + $Tankorok = getTankorByTeremId($teremId, __TANEV); + $Osztalyok = array($osztalyId); + } elseif (isset($tanarId)) { + $Tankorok = getTankorByTanarId( + $tanarId, + __TANEV, + array('csakId' => false, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO) + ); + $Osztalyok = getTanarOsztaly($tanarId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'idonly')); + } + $TankorokMutat = $Tankorok; + // Kell a munkaterv!! Ahhoz kell(enek) az osztály(ok)! + $ADAT['munkaterv'] = getMunkatervByOsztalyId($Osztalyok, array('result' => 'idonly')); + + // Tanmenet + if (is_array($Tankorok)) foreach ($Tankorok as $key => $tAdat) $ADAT['tankorIds'][] = $tAdat['tankorId']; + if (is_array($ADAT['tankorIds'])) { + $ADAT['tankorTanmenet'] = getTanmenetByTankorIds($ADAT['tankorIds'], array('tanev' => __TANEV, 'jovahagyva'=>!__TANAR)); + } + if (isset($tankorId)) { + if (__DIAK===true) { + $allowed=false; + for($i=0; $i $_v) { + for ($i=0; $i $olAdat) + foreach ($olAdat['tanarIds'] as $_tanarId) $ADAT['oraLatogatasok'][$olId]['tanarNevek'][] = getTanarNevById($_tanarId); + // Kell a munkaterv!! Ahhoz kell(enek) az osztály(ok)! + if (isset($diakId)) $O = getDiakOsztalya($diakId, array('tanev'=>__TANEV,'tolDt'=>$tolDt,'igDt'=>$igDt, 'result'=>'idonly')); + elseif (isset($osztalyId)) $O = array($osztalyId); + elseif (isset($tanarId)) $O = getTanarOsztaly($tanarId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'idonly')); + $ADAT['munkaterv'] = getMunkatervByOsztalyId($O, array('result' => 'idonly')); + + $ADAT['tanitasiNap'] = getTanitasiNapAdat(_genNapok($tolDt,$igDt), array('munkatervIds' => $ADAT['munkaterv'])); + $ADAT['diakId'] = $diakId; + $ADAT['osztalyId'] = $osztalyId; + $ADAT['tanarId'] = $tanarId; + $ADAT['tankorId'] = $tankorId; + $ADAT['terem'] = getTermek(array('result'=>'assoc')); + $ADAT['feladatTipus'] = getFeladatTipus(); + $ADAT['maxOra'] = 16; // Ha reggel 8-kor kezdődik a tanítás, akkor 24 óráig rendben vagyunk így... +// if ($tanarId>0) //$ADAT['oraTerheles'] = getOraTerhelesByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); +// $ADAT['oraTerheles'] = getOraTerhelesStatByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); + + $ADAT['szabadTermek'] = getSzabadTermekByDtInterval($tolDt,$igDt, null,'ora'); + $ADAT['tankorTipusok'] = getTankorTipusok(); + /* ------------------------------------------------- */ + // toolBar + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'igDt', 'hanyNaponta' => 7, + 'tolDt' => date('Y-m-d', strtotime('Saturday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $maxIgDt, + 'override' => true + ); + if (__NAPLOADMIN or __VEZETOSEG or __TANAR or __TITKARSAG) { + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('igDt')); + $TOOL['teremSelect'] = array('tipus' => 'cella', 'post' => array('igDt')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('igDt')); + if (isset($osztalyId)) + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'diakok' => $ADAT['diakok'], 'post' => array('osztalyId','igDt')); + if (isset($osztalyId) or isset($tanarId) or isset($diakId) or isset($tankorId)) + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','tanarId','diakId','igDt')); + } elseif (__DIAK===true) { + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','tanarId','diakId','igDt')); + } + getToolParameters(); + +} // end of skin ajax else + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/haladasi.php b/mayor-orig/www/policy/private/naplo/haladasi/haladasi.php new file mode 100644 index 00000000..11e1b8c3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/haladasi.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/helyettesites-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/helyettesites-pre.php new file mode 100644 index 00000000..5f7d600c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/helyettesites-pre.php @@ -0,0 +1,194 @@ +time()) { + $_dt = date('Y-m-d',strtotime('-1 day',strtotime($_dt))); + checkNaplo($_dt); + } + } + // -------------- action --------------// + + if ($action == 'hianyzoModositas') { + + /* Régi megoldás + $hianyzok = $_POST['hianyzok']; + if (!is_array($hianyzok)) $hianyzok = array(); + $voltHianyzok = getHianyzok($dt); + + $ujHianyzok = array_diff($hianyzok, $voltHianyzok); + $toroltHianyzok = array_diff($voltHianyzok, $hianyzok); + */ + $ujHianyzok = readVariable($_POST['addHianyzo'], 'numeric unsigned'); + $toroltHianyzok = readVariable($_POST['delHianyzo'], 'numeric unsigned'); + + ujHianyzokFelvetele($ujHianyzok, $dt); + toroltHianyzokVisszaallitasa($toroltHianyzok, $dt); + + } elseif ($action == 'helyettesitesRogzitese') { + foreach ($_POST as $name => $value) { + list($gomb,$act,$id,$koord) = explode('_', $name); + if ($gomb == 'gomb' && isset($id) && in_array($act, array('manual','mozgat','csere'))) { + $$act = readVariable($id, 'numeric unsigned', null); + break; + } + } + $T = $_POST['T']; + + if (is_array($T)) helyettesitesRogzites($T); + + } elseif ($action == 'keziBeallitas') { + + $oraId = readVariable($_POST['oraId'], 'numeric unsigned'); + $ki = readVariable($_POST['ki'], 'numeric unsigned'); + $tipus = readVariable($_POST['tipus'], 'enum', null, array('elmarad','helyettesítés','felügyelet','összevonás','normál','normál máskor','elmarad máskor','egyéb')); + $teremId = readVariable($_POST['teremId'], 'numeric unsigned'); + if (isset($oraId) && isset($tipus)) keziBeallitas($oraId, $ki, $tipus, $teremId); + + } elseif ($action == 'oraMozgatas') { + + $mozgat = readVariable($_POST['mozgat'], 'numeric unsigned'); + $ujDt = readVariable($_POST['ujDt'], 'date'); + $ora = readVariable($_POST['ora'], 'numeric unsigned'); + $rogzit = isset($_POST['rogzit']); + + if ($rogzit && isset($ora) && isset($ujDt) && isset($mozgat)) { // kijelölte az óra új helyét és submit gombot nyomott + if (oraMozgatas($mozgat, $ujDt, $ora)) unset($mozgat); // visszatérés a helyettesítés oldalra, ha sikerült + } + + } elseif ($action == 'oraCsere') { + + $csDt = readVariable($_POST['csDt'], 'date'); + $csere = readVariable($_POST['csere'], 'numeric unsigned'); + $csId = readVariable($_POST['csId'], 'numeric unsigned'); + $rogzit = isset($_POST['rogzit']); + + if ($rogzit && isset($csId)) { + if (oraCsere($csere, $csId)) unset($csere); // visszatérés a napi helyettesítés oldalra + } + + } + // ------------ action vége -----------// + } // __FOLYO_TANEV + else { + $_SESSION['alert'][] = 'message:wrong_data:Nem folyó tanév és nem naplóadmin'; + } + + $lr = db_connect('naplo'); + if (isset($manual)) { + + // Kézi beállítás + $oraAdat = getOraadatById($manual, __TANEV, $lr); + $Termek = getSzabadTermek(array('dt' => $oraAdat['dt'], 'ora' => $oraAdat['ora'], 'ki' => $oraAdat['ki']), $lr); + if ($oraAdat['teremId']!='') { + for ($i = 0;($i < count($Termek) && $Termek[$i]['teremId'] != $oraAdat['teremId']); $i++); + if ($i >= count($Termek)) $Termek[] = array('teremId' => $oraAdat['teremId'], 'leiras' => $oraAdat['teremId']); + } else { + $Termek[] = array('teremId' => 'NULL', 'leiras' => '-'); + } + // Tanárnevek lekérése + $Tanarok = getTanarok(array('tanev' => __TANEV,'beDt'=>$dt,'kiDt'=>$dt), $lr); + + } elseif (isset($mozgat)) { + + // Mozgatás + $ujDt = readVariable($_POST['ujDt'], 'date', $dt); + if (isset($ujDt)) checkNaplo($ujDt); + + $oraAdat = getOraadatById($mozgat, __TANEV, $lr); + if (isset($oraAdat['kit']) && $oraAdat['kit'] != '') $tanarId = $oraAdat['kit']; + else $tanarId = $oraAdat['ki']; + $TANAR_DT_NAPI_ORAK = getTanarNapiOrak($tanarId, $dt, $lr); + $TANAR_UJDT_NAPI_ORAK = getTanarNapiOrak($tanarId, $ujDt, $lr); + + } elseif (isset($csere)) { + + // Csere + $csDt = readVariable($_POST['csDt'], 'date', $dt); + if (isset($csDt)) checkNaplo($csDt); + + $oraAdat = getOraadatById($csere, __TANEV, $lr); + if (isset($oraAdat['kit']) && $oraAdat['kit'] != '') $tanarId = $oraAdat['kit']; + else $tanarId = $oraAdat['ki']; + + if ($_POST['csTanarId'] == '') $csTanarId = $tanarId; + else $csTanarId = $_POST['csTanarId']; + + $Tanarok = getTanarok(array('tanev' => __TANEV,'kiDt'=>$dt,'beDt'=>$dt), $lr); + $TANAR_DT_NAPI_ORAK = getTanarNapiOrak($tanarId, $dt, $lr); + $CSTANAR_CSDT_NAPI_ORAK = getTanarNapiOrak($csTanarId, $csDt, $lr); + + } elseif (isset($_POST['csereAttekintes']) && $_POST['csereAttekintes'] != '') { + + $oraId = $_POST['csereAttekintes']; + $Orak = getCsereOraiByOraId($oraId, $lr); + + } elseif ($orarend != '') { + // Tanár órarendje + } else { + + // Normál helyettesítés kiíró + + // A beírt hiányzók, helyettesítések... + $HELYETTESITES = getHianyzoOrak($dt, $lr); // == ADAT! + $HELYETTESITES['tanarTerheles'] = getOraTerhelesStatByTanarId(array('dt'=>$dt)); + } + db_close($lr); + } + + // toolBar + if (__NAPLOADMIN) { + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), +// 'igDt' => $_TANEV['zarasDt'], + 'igDt' => getTanitasiNap(array('direction'=>'elore', 'napszam'=>10, 'fromDt'=>'curdate()')), + 'napTipusok' => array('tanítási nap', 'speciális tanítási nap') + ); + } elseif (__VEZETOSEG) { + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime(_ZARAS_HATARIDO)), + 'igDt' => getTanitasiNap(array('direction'=>'elore', 'napszam'=>10, 'fromDt'=>'curdate()')), + 'napTipusok' => array('tanítási nap', 'speciális tanítási nap') + ); + } + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/helyettesites.php b/mayor-orig/www/policy/private/naplo/haladasi/helyettesites.php new file mode 100644 index 00000000..5707092c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/helyettesites.php @@ -0,0 +1,46 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/hetes-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/hetes-pre.php new file mode 100644 index 00000000..8adbc979 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/hetes-pre.php @@ -0,0 +1,260 @@ + osztalyId-t nem állítunk - hagyjuk + if (isset($tankorId) and !tankorTagjaE($diakId, $tankorId)) { + unset($tankorId); + } + $ADAT['title'] = getDiakNevById($diakId); + } else { + if (isset($teremId)) { + } elseif (!isset($osztalyId)) { + if (!isset($tanarId)) $tanarId = readVariable($_POST['tanarId'],'id'); + if (!isset($tanarId)) $tanarId = readVariable($_GET['tanarId'],'id'); + if (!isset($tanarId) && __USERTANARID!==false && __TANAR) $tanarId = __USERTANARID; + define(__PLUSZBEIRHAT, + (__USERTANARID == $tanarId || __NAPLOADMIN===true || __VEZETOSEG===true) + ); + } + } + if (!defined('__PLUSZBEIRHAT')) define('__PLUSZBEIRHAT',false); + /* ------------------------------------------------- */ + + // lapozás, tól-ig beállítás + if (!isset($tankorId)) { + + // egy tanár ($tanarId) vagy osztály ($osztaly) összes órája --> lapozni kell + // reading sensitive data + $igDt = readVariable($_POST['igDt'], 'datetime', date('Y-m-d')); + $tolDt = readVariable($_POST['tolDt'], 'datetime'); + $lapoz = readVariable($_POST['lapoz'], 'enum', null, array('<<','>>','nextWeek','prevWeek')); + $lapoz1 = readVariable($_POST['lapoz1'], 'enum', null, array('<<','>>','nextWeek','prevWeek')); + + // set defaults ++ +// if (strtotime($igDt) > strtotime($_TANEV['zarasDt'])) $igDt = $_TANEV['zarasDt']; + if (strtotime($igDt) > strtotime($_TANEV['zarasDt'])) $igDt = date('Y-m-d', strtotime('next Saturday', strtotime($_TANEV['zarasDt']))); + elseif (strtotime($igDt) < strtotime($_TANEV['kezdesDt'])) $igDt = $_TANEV['kezdesDt']; + if (date('w', strtotime($igDt)) == 0) $igDt = date('Y-m-d',strtotime('-1 days',strtotime($igDt))); // Hogy vasárnap még a múltheti látszódjon + $eVas = date('Y-m-d',strtotime('Saturday',strtotime($igDt))); + + if ($igDt == '') $igDt = $eVas; + if ($tolDt == '') $tolDt = $eHet = date('Y-m-d',strtotime('last Monday 02:00',strtotime($eVas))); + + if (in_array($lapoz,array('<<','prevWeek')) or in_array($lapoz1,array('<<','prevWeek'))) { + $tolDt = date('Y-m-d',strtotime('last Monday 02:00',strtotime($eHet))); +// $igDt = date('Y-m-d',strtotime('Saturday',strtotime($tolDt))); +// Vasárnap + $igDt = date('Y-m-d',strtotime('Sunday',strtotime($tolDt))); + } elseif (in_array($lapoz,array('>>','nextWeek')) or in_array($lapoz1,array('>>','nextWeek'))) { + $tolDt = date('Y-m-d',strtotime('Monday 02:00',strtotime($eVas))); +// $igDt = date('Y-m-d',strtotime('Saturday',strtotime($tolDt))); +// Vasárnap + $igDt = date('Y-m-d',strtotime('Sunday',strtotime($tolDt))); + } + if ($csakUres || strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $tolDt = date('Y-m-d',strtotime($_TANEV['kezdesDt'])); + // Ha ezt kiveszem, akkor mindig kirakja a teljes hetet, de a jövőbeli órákat nem lehet beírni! + // Itt a post értékét nem használjuk fel, csak vizsgáljuk. + if ((!isset($_POST['igDt']) || $_POST['igDt'] == '')&& strtotime($igDt) > time()) $igDt = date('Y-m-d'); + define('_SHOW_DAYS_FROM',$tolDt); + define('_SHOW_DAYS_TO',$igDt); + + } else { + + // egy tanulócsoport órái (nem kell lapozni) + define('_SHOW_DAYS_FROM',date('Y-m-d',strtotime($_TANEV['kezdesDt']))); + define('_SHOW_DAYS_TO',date('Y-m-d')); + + } + /* ------------------------------------------------- */ + // Jogosultság ellenőrzés, tanév aktív-e... + + // A megjelenítéshez + if (isset($osztalyId) && !isset($diakId)) { + $osztalyAdat = getOsztalyAdat($osztalyId); + $ADAT['title'] = $osztalyAdat['osztalyJel'].' ('.$osztalyAdat['osztalyfonok']['tanarNev'].')'; + // hetesek miatt + $ADAT['osztalyId'] = $osztalyId; + $ADAT['diakok'] = getDiakok(array('osztalyId' => $osztalyId)); + for ($i = 0; $i < count($ADAT['diakok']); $i++) $ADAT['diakNevek'][ $ADAT['diakok'][$i]['diakId'] ] = $ADAT['diakok'][$i]['diakNev']; + } elseif (isset($tanarId)) { + $ADAT['title'] = getTanarNevById($tanarId); + //DEPRECATED $ADAT['oraTerheles'] = getOraTerhelesByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); + $ADAT['oraTerheles'] = getOraTerhelesStatByTanarId(array('tanarId'=>$tanarId,'dt'=>_SHOW_DAYS_TO)); + } elseif (isset($teremId)) { + $ADAT['title'] = $teremId; + } + + if ( + $_TANEV['szemeszter'][1]['statusz'] == 'aktív' // Csak aktív tanévben lehet módosítani + && ( + __NAPLOADMIN // adminnak vagy + || __VEZETOSEG // vezetőség - tanév végi pótlásokhoz kell! + || ((__TANAR || __VEZETOSEG )) // A tanároknak, vezetőségi tagoknak +// || ((__TANAR || __VEZETOSEG ) && __FOLYO_TANEV) // A tanév közben a tanároknak, vezetőségi tagoknak - az év végi napok problémásak így! + ) + ) { + // action + if ($action == 'haladasiNaploBeiras' && ( + is_array($_POST['oraId']) + ||is_array($_POST['UJORA']) + ||is_array($_POST['ORATOROL']) + )) { + } elseif ($action == 'hetesFelvetel' && isset($osztalyId) && ((__OSZTALYFONOK===true && in_array($osztalyId, $_OSZTALYA)) || __NAPLOADMIN===true )) { + $ADAT['dt'] = readVariable($_POST['dt'], 'date'); + $ADAT['hetes'][1] = readVariable($_POST['hetes1'], 'numeric unsigned'); + $ADAT['hetes'][2] = readVariable($_POST['hetes2'], 'numeric unsigned'); + hetesFelvetel($ADAT); + } + } + + if ((date('Y-m-d',strtotime($tolDt))==date('Y-m-d',strtotime('next Monday')) + || date('Y-m-d',strtotime($tolDt))==date('Y-m-d',strtotime('last Monday')) + ) && (__NAPLOADMIN || __VEZETOSEG)) { + $_NAPOK = _genNapok($tolDt,$igDt); + for ($i=0; $i $osztalyId,'result'=>'assoc','keyfield'=>'diakId')); + $ADAT['hetesek'] = getHetesek($osztalyId, _SHOW_DAYS_FROM); + $ADAT['osztalyok'] = getOsztalyok(__TANEV,array('result'=>'assoc')); + + if (isset($tankorId)) $orderBy = array('dt DESC','ora DESC'); // A lekérdezéshez + else $orderBy = array('dt DESC','ora ASC'); + + // tankörök lekérdzése + if (isset($diakId)) { + $ADAT['haladasiTipus']='diakHaladasi'; + $Tankorok = getTankorByDiakId($diakId, __TANEV, array('tolDt'=>_SHOW_DAYS_FROM, 'igDt'=>_SHOW_DAYS_TO)); + $Osztalyok = getDiakOsztalya($diakId, array('tanev'=>__TANEV,'tolDt'=>$tolDt,'igDt'=>$igDt, 'result'=>'idonly')); + } elseif (isset($osztalyId)) { + $ADAT['haladasiTipus']='osztalyHaladasi'; + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + $Osztalyok = array($osztalyId); + } elseif (isset($teremId)) { // --new + $ADAT['haladasiTipus']='teremHaladasi'; + $Tankorok = getTankorByTeremId($teremId, __TANEV); + $Osztalyok = array($osztalyId); + } elseif (isset($tanarId)) { + $Tankorok = getTankorByTanarId( + $tanarId, + __TANEV, + array('csakId' => false, 'tolDt' => _SHOW_DAYS_FROM, 'igDt' => _SHOW_DAYS_TO) + ); + $Osztalyok = getTanarOsztaly($tanarId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'idonly')); + } + $TankorokMutat = $Tankorok; + // Kell a munkaterv!! Ahhoz kell(enek) az osztály(ok)! + $ADAT['munkaterv'] = getMunkatervByOsztalyId($Osztalyok, array('result' => 'idonly')); + + // Tanmenet + if (is_array($Tankorok)) foreach ($Tankorok as $key => $tAdat) $ADAT['tankorIds'][] = $tAdat['tankorId']; + if (is_array($ADAT['tankorIds'])) { + $ADAT['tankorTanmenet'] = getTanmenetByTankorIds($ADAT['tankorIds'], array('tanev' => __TANEV, 'jovahagyva'=>!__TANAR)); + } + if (isset($tankorId)) { + if (__DIAK===true) { + $allowed=false; + for($i=0; $i $_v) { + for ($i=0; $i $olAdat) + foreach ($olAdat['tanarIds'] as $_tanarId) $ADAT['oraLatogatasok'][$olId]['tanarNevek'][] = getTanarNevById($_tanarId); + // Kell a munkaterv!! Ahhoz kell(enek) az osztály(ok)! + if (isset($diakId)) $O = getDiakOsztalya($diakId, array('tanev'=>__TANEV,'tolDt'=>$tolDt,'igDt'=>$igDt, 'result'=>'idonly')); + elseif (isset($osztalyId)) $O = array($osztalyId); + elseif (isset($tanarId)) $O = getTanarOsztaly($tanarId, array('tanev' => __TANEV, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'idonly')); + $ADAT['munkaterv'] = getMunkatervByOsztalyId($O, array('result' => 'idonly')); + + $ADAT['tanitasiNap'] = getTanitasiNapAdat(_genNapok($tolDt,$igDt), array('munkatervIds' => $ADAT['munkaterv'])); + $ADAT['diakId'] = $diakId; + $ADAT['osztalyId'] = $osztalyId; + $ADAT['tanarId'] = $tanarId; + $ADAT['tankorId'] = $tankorId; + $ADAT['terem'] = getTermek(array('result'=>'assoc')); + $ADAT['feladatTipus'] = getFeladatTipus(); + $ADAT['maxOra'] = 16; // Ha reggel 8-kor kezdődik a tanítás, akkor 24 óráig rendben vagyunk így... +// if ($tanarId>0) //$ADAT['oraTerheles'] = getOraTerhelesByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); +// $ADAT['oraTerheles'] = getOraTerhelesStatByTanarId(array('tanarId'=>$tanarId,'tolDt'=>$tolDt,'igDt'=>$igDt)); + + $ADAT['szabadTermek'] = getSzabadTermekByDtInterval($tolDt,$igDt, null,'ora'); + $ADAT['tankorTipusok'] = getTankorTipusok(); + /* ------------------------------------------------- */ + + // toolBar + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'igDt', 'hanyNaponta' => 7, + 'tolDt' => date('Y-m-d', strtotime('Saturday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => date('Y-m-d', strtotime('next Saturday', strtotime($_TANEV['zarasDt']))), + 'override' => true + ); + if (__NAPLOADMIN or __VEZETOSEG or __TANAR or __TITKARSAG) { +// $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('igDt')); +// $TOOL['teremSelect'] = array('tipus' => 'cella', 'post' => array('igDt')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('igDt')); + if (isset($osztalyId)) + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'diakok' => $ADAT['diakok'], 'post' => array('osztalyId','igDt')); +// if (isset($osztalyId) or isset($tanarId) or isset($diakId)) +// $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','tanarId','diakId','igDt')); + } elseif (__DIAK===true) { +// $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','tanarId','diakId','igDt')); + } + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/hetes.php b/mayor-orig/www/policy/private/naplo/haladasi/hetes.php new file mode 100644 index 00000000..5aeb1001 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/hetes.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/minuszora-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/minuszora-pre.php new file mode 100644 index 00000000..f2abcd4c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/minuszora-pre.php @@ -0,0 +1,75 @@ + 'cella', 'post' => array('ora', 'tanarId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'napTipusok' => array('tanítási nap','speciális tanítási nap'), + ); + if (isset($dt)) { + if (!isset($osztalyId) || isset($tankorId)) $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarok' => $Tanarok, 'post' => array('dt', 'tankorId')); + if (!isset($tanarId)) $TOOL['osztalySelect'] = array('tipus'=>'sor','paramName' => 'osztalyId', 'post'=>array('dt', 'tankor')); + } + getToolParameters(); + + } // admin vagy igazgató + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/minuszora.php b/mayor-orig/www/policy/private/naplo/haladasi/minuszora.php new file mode 100644 index 00000000..b0c15eaf --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/minuszora.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/ora-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/ora-pre.php new file mode 100644 index 00000000..83f041cb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/ora-pre.php @@ -0,0 +1,33 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/ora.php b/mayor-orig/www/policy/private/naplo/haladasi/ora.php new file mode 100644 index 00000000..95e6a821 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/ora.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas-pre.php new file mode 100644 index 00000000..810ee183 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas-pre.php @@ -0,0 +1,102 @@ + __TANEV)); + + // Adott napi órák lekérdezése + if (isset($osztalyId)) { + $ADAT['orak'] = getOsztalyNapiOrak($osztalyId, $dt); + } elseif ($tanarId) { + $ADAT['orak'] = getTanarNapiOrak($tanarId, $dt); + } + + // Az órákhoz tartozó látogatások és látogatók lekérdezése + $ADAT['oralatogatas'] = $ADAT['oraIds'] = array(); + if (is_array($ADAT['orak']) && count($ADAT['orak']) > 0) { + foreach ($ADAT['orak'] as $ora => $oAdat) { + foreach ($oAdat as $key => $oraAdat) { + $ADAT['oraIds'][] = $oraAdat['oraId']; + } + } + } + + // Jogosultság ellenőrzés, tanév aktív-e... + if ( + $_TANEV['szemeszter'][1]['statusz'] == 'aktív' // Csak aktív tanévben lehet módosítani + && ( + __NAPLOADMIN // adminnak vagy + || (__VEZETOSEG && __FOLYO_TANEV) // A tanév közben a vezetőségi tagoknak + ) + ) { + if ($action == 'oralatogatasBeiras') { + $_D['oraId'] = readVariable($_POST['oraId'], 'id'); + $_D['megjegyzes'] = readVariable($_POST['megjegyzes'], 'string'); + $_D['tanarIds'] = readVariable($_POST['tanarIds'], 'id'); + if (isset($_D['oraId'])) { + oralatogatasBeiras($_D); + } + foreach($_POST as $_key => $_val) { + if (substr($_key,0,6)=='delete') { + list($_rest,$_oraId) = explode('_',$_key); + oralatogatasTorles($_oraId); + } + } + } + } + + + $ADAT['oralatogatas'] = getOralatogatasByOraIds($ADAT['oraIds']); + + + /* ------------------------------------------------- */ + + // tankörök lekérdzése + if (isset($osztalyId)) { + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + } elseif (isset($tanarId)) { + $Tankorok = getTankorByTanarId( + $tanarId, + __TANEV, + array('csakId' => false) + ); + } + +// $TankorokMutat = $Tankorok; +// +// if (isset($tankorId)) { +// $Tankorok = getTankorById($tankorId, __TANEV); // felül kell írnunk +// } + + /* ------------------------------------------------- */ + + // toolBar + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), + 'igDt' => date('Y-m-d', strtotime($_TANEV['zarasDt'])), + 'override' => true + ); + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'tanarok' => $ADAT['tanarok'], 'post' => array('igDt')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('igDt')); +// if (isset($osztalyId) or isset($tanarId) or isset($diakId)) +// $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','tanarId','diakId','igDt')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas.php b/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas.php new file mode 100644 index 00000000..6fde9cb6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/oralatogatas.php @@ -0,0 +1,9 @@ + 0) putOralatogatasForm($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/osszevonas-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/osszevonas-pre.php new file mode 100644 index 00000000..f140e7fd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/osszevonas-pre.php @@ -0,0 +1,109 @@ + __TANEV, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'nevsor')); + if (isset($tanarId)) { + // A tanár a tankör tanára-e? + for ($i = 0; ($i < count($Tanarok) && $Tanarok[$i] != $tanarId); $i++); + if ($i > count($Tanarok)) { + $_SESSION['alert'][] = 'message:wrong_data:pluszOra:Nem a tankör tanára:$tankorId/$tanarId'; + unset($tanarId); unset($_POST['tanarId']); + } + } + // Ha csak egy tanarId van, akkor azt állítsuk be! + if (count($Tanarok) == 1) { + $tanarId = $Tanarok[0]['tanarId']; + if (isset($osztalyId)) unset($osztalyId); + } + } + + // Felvehető-e az óra + $ok = (isset($ora) && isset($tanarId) && isset($tankorId)); + + if (isset($tanarId)) { + // tanar Napi órái + $Orak = getTanarNapiOrak($tanarId, $dt); + } + if (isset($ora)) { + if (isset($tankorId)) { + $DIAKIDK = getTankorDiakjaiByInterval($tankorId, $tanev = __TANEV, $tolDt = $dt, $igDt = $dt); + $ADAT['torlendoTankorok'] = getOrakByDiakIdk($DIAKIDK['idk'], array('dt'=>$dt,'ora'=>$ora)); + for ($i=0; $i 'cella', 'post' => array('ora', 'tanarId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'napTipusok' => array('tanítási nap','speciális tanítási nap'), + ); + if (isset($dt)) { + $TOOL['oraSelect'] = array('tipus' => 'cella', 'post' => array('osztalyId', 'tanarId', 'tankorId', 'dt', 'ora')); + if (isset($ora) && (!isset($osztalyId) || isset($tankorId))) $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarok' => $Tanarok, 'post'=>array('dt', 'ora', 'tankorId', 'teremId' )); + if (isset($osztalyId) or isset($tanarId)) + $TOOL['tankorSelect'] = array('tipus'=>'sor', 'paramName'=>'tankorId', 'post'=>array('osztalyId','tanarId','dt','ora','teremId')); + // if (isset($ora)) $TOOL['teremSelect'] = array('tipus'=>'cella', 'paramName'=>'teremId', 'termek' => $Termek, 'post'=>array('osztalyId','tanarId','dt','ora','tankorId')); + } + getToolParameters(); + + } // admin vagy igazgató + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/osszevonas.php b/mayor-orig/www/policy/private/naplo/haladasi/osszevonas.php new file mode 100644 index 00000000..5d04f19b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/osszevonas.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/pluszora-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/pluszora-pre.php new file mode 100644 index 00000000..55914d4a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/pluszora-pre.php @@ -0,0 +1,177 @@ + __TANEV, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'nevsor')); + if (isset($tanarId)) { + // A tanár a tankör tanára-e? + for ($i = 0; ($i < count($Tanarok) && $Tanarok[$i]['tanarId'] != $tanarId); $i++); + if ($i >= count($Tanarok)) { + $_SESSION['alert'][] = 'info:not_member:pluszOra:Nem a tankör tanára:'."$tankorId/$tanarId"; + $Tanarok[] = array('tanarId' => $tanarId, 'tanarNev' => getTanarNevById($tanarId)); + $mkId = getTankorMkId($tankorId); + $tanarMkIds = getTanarMunkakozosseg($tanarId); + $ADAT['kit'] = $Tanarok[0]['tanarId']; + if (in_array($mkId, $tanarMkIds)) $ADAT['tipus'] = 'helyettesítés'; + else $ADAT['tipus'] = 'felügyelet'; +// unset($tanarId); unset($_POST['tanarId']); + } + } + // Ha csak egy tanarId van, akkor azt állítsuk be! + if (count($Tanarok) == 1 && !isset($tanarId)) { + $tanarId = $Tanarok[0]['tanarId']; + if (isset($osztalyId)) unset($osztalyId); + } + } + // Felvehető-e az óra + $ok = (isset($ora) && isset($tanarId) && isset($tankorId)); + + if (isset($tanarId)) { + // tanar Napi órái + $Orak = getTanarNapiOrak($tanarId, $dt); + // Szabad Órák + for ($i = $napiMinOra; $i <= $napiMaxOra; $i++) if (!is_array($Orak[$i])) $SzabadOrak[] = $i; + } elseif (isset($osztalyId)) { + // osztalyNapiOrai + $Orak = getOsztalyNapiOrak($osztalyId, $dt); + // Szabad Órák + for ($i = $napiMinOra; $i <= $napiMaxOra; $i++) if (!is_array($Orak[$i][0])) $SzabadOrak[] = $i; + } + if (isset($ora)) { + $Termek = getSzabadTermek(array('dt' => $dt, 'ora' => $ora)); + $szabadTankorok = getSzabadTankorok($dt, $ora); + if (isset($tankorId)) { + // Tankör tagok ütközés ellenőrzése + $TA = getTankorAdat($tankorId); + if ($TA[$tankorId][0]['jelenlet'] == 'kötelező' && !tankorTagokLukasOrajaE($tankorId, $dt, $ora)) { + $ok = false; + } + } elseif (!isset($osztalyId)) { + // Szabad tanárok lekérdezése? (tanarSelect számára) + $Tanarok = getSzabadTanarok($dt, $ora); + } + if (isset($tanarId)) { + // Tanár ütközés ellenőrzés + if (!tanarLukasOrajaE($tanarId, $dt, $ora, $lr)) { + $_SESSION['alert'][] = 'message:utkozes:1:?:'.$dt.':'.$ora.':'.$tanarId; +// unset($tanarId); $ok = false; + } + } + if (isset($teremId)) { + for ($i = 0; ($i < count($Termek) && $Termek[$i]['teremId'] != $teremId); $i++); + if ($i >= count($Termek)) { // nincs a szabad termek között + $_SESSION['alert'][] = 'message:wrong_data:pluszOra/terem:'.$ora.'. óra:'.$teremId; + unset($teremId); + } + } + } // ora + } // dt + + // Action + if ($ok && $action == 'oraFelvetele') { + $eredet = $_POST['eredet']; + if (isset($ADAT['tipus'])) $tipus = $ADAT['tipus']; + else $tipus = 'normál'; + if (oraFelvetele($dt, $ora, $tanarId, $tankorId, $teremId, $tipus, $eredet, $ADAT['kit'])) { + unset($_POST); + $_POST['dt'] = $dt; $_POST['tanarId'] = $tanarId; + unset($ora); unset($teremId); unset($tankorId); + $Orak = getTanarNapiOrak($tanarId, $dt); + $SzabadOrak = array(); + for ($i = $napiMinOra; $i <= $napiMaxOra; $i++) if (!is_array($Orak[$i])) $SzabadOrak[] = $i; + $_SESSION['alert'][] = 'info:change_success'; + } + } elseif ($action=='csoportos') { + $feladatTipusId = readVariable($_POST['feladatTipusId'],'id'); + $leiras = readVariable($_POST['leiras'],'string'); + $tanarIdk = readVariable($_POST['tanarIdk'],'id'); + $lr = db_connect('naplo'); + for ($i=0;$i$dt, + 'ora'=>$ora, + 'ki'=> $_ki, + 'tipus'=>$_tipus, + 'eredet'=>$_eredet, + 'leiras'=>$leiras, + 'feladatTipusId'=>$feladatTipusId, + 'munkaido'=>'fennmaradó'), + $lr); + } + db_close($lr); + $_SESSION['alert'][] = 'info:'.count($UJORAIDK).'db órát felvettem!'; + } + + $ADAT['munkakozossegek'] = getMunkakozossegek($FILTER=array(),$SET=array('result' => 'indexed')); + $ADAT['mkTanar'] = getMunkakozossegTanaraMatrix(); + + // toolBar + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('ora', 'tanarId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'napTipusok' => array('tanítási nap','speciális tanítási nap'), + ); + if (isset($dt)) { + $TOOL['oraSelect'] = array('tipus'=>'cella', 'orak' => $SzabadOrak, 'foglaltOrakkal' => true, 'post'=>array('osztalyId', 'tanarId', 'tankorId', 'dt', 'ora')); + if (!isset($osztalyId) || isset($tankorId)) $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarok' => $Tanarok, 'post' => array('dt', 'ora', 'tankorId', 'teremId' )); + if (!isset($tanarId)) $TOOL['osztalySelect'] = array('tipus'=>'sor','paramName' => 'osztalyId', 'post'=>array('dt', 'ora', 'tankor', 'teremId')); + if (isset($osztalyId) || isset($tanarId) || isset($ora)) { + $TOOL['tankorSelect'] = array('tipus'=>'sor', 'paramName'=>'tankorId', 'tankorok' => $szabadTankorok, 'tolDt'=>$dt, 'igDt'=>$dt, 'post'=>array('osztalyId','tanarId','dt','ora','teremId')); + } + if (isset($ora)) $TOOL['teremSelect'] = array('tipus'=>'cella', 'paramName'=>'teremId', 'termek' => $Termek, 'post'=>array('osztalyId','tanarId','dt','ora','tankorId')); + } + + getToolParameters(); + } // admin vagy igazgató + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/pluszora.php b/mayor-orig/www/policy/private/naplo/haladasi/pluszora.php new file mode 100644 index 00000000..abec9a9f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/pluszora.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/specialis-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/specialis-pre.php new file mode 100644 index 00000000..8b42b475 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/specialis-pre.php @@ -0,0 +1,95 @@ +'előre', 'napszam'=>1)); + else $dt = $_TANEV['kezdesDt']; + + $napiMinOra = getMinOra(); + $napiMaxOra = getMaxOra(); + + $Hetek = getOrarendiHetek(); + $napTipusok = getNapTipusok(); + $napAdat = getNapAdat($dt); + + // csak a tanév alatt lehet speciális tanítási nap + $time = strtotime($dt); + if ( + (strtotime($_TANEV['kezdesDt']) <= $time) and + ($time <= strtotime($_TANEV['zarasDt'])) + ) { + + if ($time < time()) $_SESSION['alert'][] = 'message:visszamenoleges_modositas'; + + if ($action == 'napiOrakTorlese') { + $tipus = ($_POST['tipus'] === '')?'':readVariable($_POST['tipus'], 'enum', null, $napTipusok); + if (isset($tipus)) { + napiOrakTorlese($dt, $tipus); + $napAdat = getNapAdat($dt); + } else { + $_SESSION['alert'][] = 'message:wrong_data:napiOrakTorlese:hibás típus:'.$tipus; + } + } elseif ($action == 'orakBetoltese') { + $orarendiHet = $_POST['orarendiHet']; + if (in_array($orarendiHet, $Hetek)) { + orakBetoltese($dt, $orarendiHet); + $napAdat = getNapAdat($dt); + } else { + $_SESSION['alert'][] = 'message:wrong_data:orakBetoltese:hibás hét:'.$orarendiHet; + } + } elseif ($action == 'specialisNap') { + $celOra = $_POST['celOra']; + $het = $_POST['het']; + $nap = $_POST['nap']; + $ora = $_POST['ora']; + specialisNap($dt, $celOra, $het, $nap, $ora); + $napAdat = getNapAdat($dt); + } elseif ($action == 'orakTorlese') { + if (is_array($_POST['ora'])) { + orakTorlese($dt, $_POST['ora']); + $napAdat = getNapAdat($dt); + } + } + } + + $i = 0; + while ($i < count($napAdat) && strpos($napAdat[$i]['tipus'], 'tanítási nap') === false) $i++; + $vanTanitasiNap = ($i < count($napAdat)); + $szabadOrak = getSzabadOrak($dt); + $munkatervek = getMunkatervek(array('result'=>'assoc','keyfield'=>'munkatervId')); + + + // toolBar + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array(), 'paramName' => 'dt', 'hanyNaponta' => 1, 'tolDt' => $_TANEV['kezdesDt'], + 'igDt' => $_TANEV['zarasDt'], + +// 'napTipusok' => array('tanítási nap', 'speciális tanítási nap'), +// 'napokSzama' => 10 + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/specialis.php b/mayor-orig/www/policy/private/naplo/haladasi/specialis.php new file mode 100644 index 00000000..d855fd36 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/specialis.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php new file mode 100644 index 00000000..4596c54a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php @@ -0,0 +1,54 @@ + $_TANEV['kezdesDt'])); + elseif (isset($osztalyId)) $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + elseif (isset($tanarId)) $Tankorok = getTankorByTanarId($tanarId, __TANEV); + + $tankorIds = array(); + for ($i = 0; $i < count($Tankorok); $i++) $tankorIds[] = $Tankorok[$i]['tankorId']; + + if (count($tankorIds) > 0) $tankorStat = getTankorStat($tankorIds); + if (isset($diakId)) { + $tankorStat['hianyzasStat'] = getDiakHianyzasStat($diakId, array('tankorIds'=>$tankorIds, 'tanev'=> __TANEV)); + if (!isset($osztalyId)) { + $OI = getDiakOsztalya($diakId); + $osztalyId = $OI[0]['osztalyId']; + } + } + if (__NAPLOADMIN or __VEZETOSEG or __TANAR or __TITKARSAG) { + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'post'=>array('igDt')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post'=>array('igDt')); + if (isset($osztalyId)) { + $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('osztalyId','igDt')); + if (isset($diakId)) $TOOL['diakLapozo'] = array('tipus'=>'sor', 'paramName'=>'diakId', 'post'=>array('osztalyId','igDt')); + } + } + if (isset($diakId)) { + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=hianyzas&f=diak&diakId='.$diakId,'index.php?page=naplo&sub=hianyzas&f=diakLista&diakId='.$diakId), + 'titleConst' => array('_DIAKHIANYZASNAPLO','_DIAKHIANYZASLISTA'), + 'post' => array('tanev','tolDt','igDt','ho','osztaly'), + 'paramName'=>'diakId'); + } + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/stat.php b/mayor-orig/www/policy/private/naplo/haladasi/stat.php new file mode 100644 index 00000000..5cce9b8e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/stat.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/tankor-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/tankor-pre.php new file mode 100644 index 00000000..afb9671b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/tankor-pre.php @@ -0,0 +1,29 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/tankor.php b/mayor-orig/www/policy/private/naplo/haladasi/tankor.php new file mode 100644 index 00000000..2841606e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/tankor.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/haladasi/teremModositas-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/teremModositas-pre.php new file mode 100644 index 00000000..b7bcf782 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/teremModositas-pre.php @@ -0,0 +1,102 @@ + __TANEV, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'nevsor')); + if (isset($tanarId)) { + // A tanár a tankör tanára-e? + for ($i = 0; ($i < count($Tanarok) && $Tanarok[$i]['tanarId'] != $tanarId); $i++); + if ($i >= count($Tanarok)) { + $_SESSION['alert'][] = 'message:wrong_data:pluszOra:Nem a tankör tanára:'."$tankorId/$tanarId"; + $Tanarok[] = array('tanarId' => $tanarId, 'tanarNev' => getTanarNevById($tanarId)); + $mkId = getTankorMkId($tankorId); + $tanarMkIds = getTanarMunkakozosseg($tanarId); + $ADAT['tanarId'] = $Tanarok[0]['tanarId']; + } + } + // Ha csak egy tanarId van, akkor azt állítsuk be! + if (count($Tanarok) == 1 && !isset($tanarId)) { + $tanarId = $Tanarok[0]['tanarId']; + if (isset($osztalyId)) unset($osztalyId); + } + } + + $ADAT['ki'] = $tanarId; + $ADAT['kit'] = $tanarId; + $ADAT['oraId'] = getOraIdByPattern($ADAT); + $ADAT['oraAdat'] = getOraAdatById($ADAT['oraId']); + $ADAT['szabadTerem'] = getSzabadTermek(array('dt' => $dt, 'ora' => $ora)); + $ADAT['tankorLetszam'] = getTankorLetszam($ADAT['oraAdat']['tankorId'], array('refDt'=>$ADAT['dt'])); + } + + // toolBar + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('ora', 'tanarId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'napTipusok' => array('tanítási nap','speciális tanítási nap'), + ); + if (isset($dt)) { + $TOOL['oraSelect'] = array('tipus'=>'cella', 'orak' => $SzabadOrak, 'foglaltOrakkal' => true, 'post'=>array('osztalyId', 'tanarId', 'tankorId', 'dt', 'ora')); + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarok' => $Tanarok, 'post' => array('dt', 'ora', 'tankorId', 'teremId' )); + //if (!isset($osztalyId) || isset($tankorId)) $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarok' => $Tanarok, 'post' => array('dt', 'ora', 'tankorId', 'teremId' )); + //if (!isset($tanarId)) $TOOL['osztalySelect'] = array('tipus'=>'sor','paramName' => 'osztalyId', 'post'=>array('dt', 'ora', 'tankor', 'teremId')); + //if (isset($osztalyId) || isset($tanarId) || isset($ora)) { + // $TOOL['tankorSelect'] = array('tipus'=>'sor', 'paramName'=>'tankorId', 'tankorok' => $szabadTankorok, 'tolDt'=>$dt, 'igDt'=>$dt, 'post'=>array('osztalyId','tanarId','dt','ora','teremId')); + //} + //if (isset($ora)) $TOOL['teremSelect'] = array('tipus'=>'cella', 'paramName'=>'teremId', 'termek' => $Termek, 'post'=>array('osztalyId','tanarId','dt','ora','tankorId')); + } + + getToolParameters(); + } // admin vagy igazgató + +?> diff --git a/mayor-orig/www/policy/private/naplo/haladasi/teremModositas.php b/mayor-orig/www/policy/private/naplo/haladasi/teremModositas.php new file mode 100644 index 00000000..d1ddccb6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/haladasi/teremModositas.php @@ -0,0 +1,9 @@ +0) putTeremModositas($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diak-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/diak-pre.php new file mode 100644 index 00000000..adbf65d0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diak-pre.php @@ -0,0 +1,212 @@ +date('Y-m-d'),'tanev'=>__TANEV) ); //--ITT a mai napot vesszük alapul, ami osztályváltáskor nem jó sajnos...... + $osztalyId = $OI[0]['osztalyId']; + } + if ($osztalyId != '') { + $ADAT['osztalyId'] = $osztalyId; + $ADAT['osztaly'] = getOsztalyAdat($osztalyId); + } + } + + +if (isset($diakId) && $diakId != '') { + + // ez gyönyörű szép :) + $_POST['diakId'] = $ADAT['diakId'] = $diakId; + $_POST['osztalyId'] = $osztalyId; + $ADAT['diak']['nev'] = getDiakNevById($diakId); + + /* --- igDt, tolDt --- */ + $tolDt = readVariable($_POST['tolDt'],'date',date('Y-m-d', mktime(0,0,0,date('m'),1,date('Y')))); + + $igDt = $_TANEV['zarasDt']; + initTolIgDt(__TANEV, $tolDt, $igDt); + // $ho beállítása + if ($_tmp=readVariable($_POST['dt'],'date',readVariable($_GET['dt'],'date'))) { + $ho = intval(date('m',strtotime($_tmp))); + } else { + $ho = readVariable($_POST['ho'],'numeric','',array(1,2,3,4,5,6,7,8,9,10,11,12)); + if ($ho=='') $ho = readVariable($_GET['ho'],'numeric', + intval(date('m',strtotime($tolDt))), + array(1,2,3,4,5,6,7,8,9,10,11,12)); + } + $ADAT['ho'] = $ho; + /* --- */ + $DIAKOSZTALYAI = getDiakokOsztalyai(array($diakId),array('tanev'=>__TANEV,'tolDt'=>$tolDt,'igDt'=>$igDt)); // diakId => (o1, o2, ...) + $munkatervIds = getMunkatervByOsztalyId($DIAKOSZTALYAI[$diakId], array('result'=>'idonly')); // lehet esetleg több is neki! + define(__OFO, ( + is_array($_OSZTALYA) && + count(array_intersect($DIAKOSZTALYAI[$diakId],$_OSZTALYA)) > 0 )); + if ($_TANEV['statusz']=='aktív' && (__NAPLOADMIN || __OFO || __VEZETOSEG)) { + $ITIPUSOK = getIgazolasTipusLista(); + $ITIPUSOK['engedelyezett'][] = 'orvosi'; + if (__NAPLOADMIN || __OFO) $ITIPUSOK['engedelyezett'][] = 'szülői'; + if (__NAPLOADMIN || __OFO) $ITIPUSOK['engedelyezett'][] = 'osztályfőnöki'; + if (__NAPLOADMIN || __OFO || __VEZETOSEG) $ITIPUSOK['engedelyezett'][] = 'tanulmányi verseny'; + if (__NAPLOADMIN || __OFO || __VEZETOSEG) $ITIPUSOK['engedelyezett'][] = 'nyelvvizsga'; + if (__NAPLOADMIN || __VEZETOSEG) $ITIPUSOK['engedelyezett'][] = 'igazgatói'; + $ITIPUSOK['engedelyezett'][] = 'hatósági'; + $ITIPUSOK['engedelyezett'][] = 'pályaválasztás'; + $ADAT['igazolasTipusok']=$ITIPUSOK; + + $igazolas = readVariable($_POST['igazolas'],'emptystringnull','',$ITIPUSOK['engedelyezett']); + if ($igazolas=='') $igazolas = readVariable($_GET['igazolas'],'emptystringnull','',$ITIPUSOK['engedelyezett']); + if ($igazolas=='') $igazolas = 'orvosi'; + $_POST['igazolas'] = $igazolas; + //if (!in_array($igazolas,$ITIPUSOK['engedelyezett'])) + //$_SESSION['alert'][] = '::hibás beállítás('.$igazolas.')'; + + $ADAT['igazolas'] = $igazolas; + + // Hatarido + if (__NAPLOADMIN || __VEZETOSEG) define('__BEIRAS_HATARIDO',_ZARAS_HATARIDO); + elseif (__OFO) define('__BEIRAS_HATARIDO',_OFO_HIANYZAS_HATARIDO); + else define('__BEIRAS_HATARIDO',_HIANYZAS_HATARIDO); + + //$hatarido = _LEGKORABBI_IGAZOLHATO_HIANYZAS; + $hatarido = getNemIgazolhatoDt($diakId, $munkatervIds); + + if (__NAPLOADMIN || __VEZETOSEG) { + if (strtotime($hatarido) > strtotime(_ZARAS_HATARIDO)) + $hatarido = _ZARAS_HATARIDO; + } elseif (!__OFO) { + $hatarido = date('Y-m-d'); + } // else nem írjuk felül + + define('__STATUS_HATARIDO',$hatarido); + + // Beírások + /* + a beíró függvényeknek átadjuk, hogy mit szeretnénk elérni, + amik lekérdezik a szükséges adatokat, és esetleges jogosultságokat! (darabszám) + a határidőre vonatkozó beállításokat a -pre nek kell végeznie! + */ + if ($action == 'statusModositas') { + + $hianyzasId = readVariable($_GET['hianyzasId'],'id'); + if ($hianyzasId!='') + $_HDATA = getHianyzasById($hianyzasId); + // lekérdezzük, hogy mi a hiányzás dátuma, státusza? ($dt,$statusz) + if (is_array($_HDATA) && count($_HDATA)==1) { + if (strtotime(__STATUS_HATARIDO) < strtotime($_HDATA[0]['dt'])) { + if ($_HDATA[0]['statusz']=='igazolatlan') { + $_statusz = 'igazolt'; + $_igtip = $igazolas; + } else { + $_statusz = 'igazolatlan'; + $_igtip = ''; + } + $IGAZOLANDOK[] = array('id'=> $hianyzasId,'statusz'=>$_statusz,'igazolas'=>$_igtip); + hianyzasIgazolas($IGAZOLANDOK,$diakId); + } else { + $_SESSION['alert'][] = 'message:deadline_expired'.__STATUS_HATARIDO; + } + } else { // nincs hianyzasId megadva, vagy nincs hozzá mégsem (pl már kitörölték egyszer) bejegyzés. + + $_dt = readVariable($_GET['dt'],'date'); + $_ora = readVariable($_GET['ora'],'numeric'); + $_tipus = 'hiányzás'; + $_statusz = readVariable($_POST['status'],'emptystringnull','igazolatlan',array('igazolt','igazolatlan')); + + // ekkor vajon milyen oraId-jű orája volt a diakIdnek? + // esetleg több is! (regisztralando, de nem kötelező bejárnia) + if (strtotime(__BEIRAS_HATARIDO) <= strtotime($_dt)) { + oraHianyzasBeiras($_dt,$_ora,$diakId,array('tipus'=>$_tipus,'statusz'=>$_statusz)); + } else { + $_SESSION['alert'][] = 'message:deadline_expired:'.__BEIRAS_HATARIDO; + } + + } + + } elseif ($action == 'napiHianyzasBeiras') { + + // dt és diakId alapján lekérdezzük, beírjuk, nincs mese. + // illetve van mese: lehet hogy csak a statuszokat lehet módosítani... + + $_dt = readVariable($_POST['dt'],'date'); + $_tipus = 'hiányzás'; + $_statusz = readVariable($_POST['status'],'emptystringnull','igazolatlan',array('igazolt','igazolatlan')); + $_igazolas = ($_statusz=='igazolatlan') ? '' : $igazolas; + napiHianyzasBeiras($_dt,$diakId,array('tipus'=>$_tipus,'statusz'=>$_statusz,'igazolas'=>$_igazolas)); + + } elseif ($action == 'igazolasTipusValtas') { + // itt már elvileg nincs mit tennünk (v2.4) + } + + } else { + //define('__BEIRAS_HATARIDO',''); + //define('__STATUS_HATARIDO',''); + } + + /* --- tanuló hiányzásai (figyelem! dátumok!) --- */ + // --TODO: 9!!! + $ADAT['napok'] = getHonapNapjai($ho, $munkatervIds); + for ($i=0; $i'assoc','dt'=>$_NAPOK[count($_NAPOK)-1])); // dátum nélkül ez a korábbi összes képzését adná. Vegyük a hónap utolsó napján... + +} // ha van nem üres diakId + + if (!__DIAK) { + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('ho','igazolas')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'diakId' => $diakId, 'post'=>array('tolDt','osztalyId','ho','igazolas')); + //$TOOL['tanarOraLapozo'] = array('tipus'=>'sor', 'oraId' => $oraId, 'post'=>array('tanarId')); + + } + if ($diakId != '') { + $TOOL['igazolasOsszegzo'] = array('tipus' => 'sor','paramName' => 'igazolasOsszegzo', 'post' => array()); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=hianyzas&f=diakLista','index.php?page=naplo&sub=haladasi&f=stat&diakId='.$diakId), + 'titleConst' => array('_DIAKHIANYZASLISTA','_HALADASISTATISZTIKA'), + 'post' => array('tanev','tolDt','igDt','ho','osztaly'), + 'paramName'=>'diakId'); + } + if (__POLICY == 'parent') $TOOL['pageHelp'] = 'PAGEHELP_SZULO'; + else $TOOL['pageHelp'] = 'PAGEHELP'; + if ($ho!='') $TOOL['honapLapozo'] = array('tipus'=>'sor', 'paramName' => 'ho', 'ho'=>$ho, + 'diakId'=>$diakId, // ideiglenesen! + 'post'=>array('diakId','osztalyId','igazolas')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diak.php b/mayor-orig/www/policy/private/naplo/hianyzas/diak.php new file mode 100644 index 00000000..5eb61423 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diak.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan-pre.php new file mode 100644 index 00000000..5ffb0899 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan-pre.php @@ -0,0 +1,26 @@ + 'cella','paramName' => 'osztalyId', 'post' => array('ho')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'diakId' => $diakId, 'post'=>array('tolDt','osztalyId','ho')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan.php b/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan.php new file mode 100644 index 00000000..c934b7c8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diakIgazolatlan.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diakLista-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/diakLista-pre.php new file mode 100644 index 00000000..4818d84d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diakLista-pre.php @@ -0,0 +1,101 @@ + 0 )); + + /* --- tanuló hiányzásai (figyelem! dátumok!) --- */ + // --TODO: 9!!! + + $ADAT['napok'] = getHonapNapjai($ho); + for ($i=0; $i 'cella','paramName' => 'osztalyId', 'post' => array('ho')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'diakId' => $diakId, 'post'=>array('tolDt','osztalyId','ho')); + //$TOOL['tanarOraLapozo'] = array('tipus'=>'sor', 'oraId' => $oraId, 'post'=>array('tanarId')); + + } + if ($diakId != '') { + $TOOL['igazolasOsszegzo'] = array('tipus' => 'sor','paramName' => 'igazolasOsszegzo', 'post' => array()); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=hianyzas&f=diak','index.php?page=naplo&sub=haladasi&f=stat&diakId='.$diakId), + 'titleConst' => array('_DIAKHIANYZASNAPTAR','_HALADASISTATISZTIKA'), + 'post' => array('tanev','osztaly','tolDt','ho'), + 'paramName'=>'diakId'); + } + if ($ho != '') $TOOL['honapLapozo'] = array('tipus'=>'sor', 'paramName' => 'ho', 'ho'=>$ho, 'post'=>array('diakId','osztalyId')); + getToolParameters(); + + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/diakLista.php b/mayor-orig/www/policy/private/naplo/hianyzas/diakLista.php new file mode 100644 index 00000000..f85c9f9b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/diakLista.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/hianyzas-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/hianyzas-pre.php new file mode 100644 index 00000000..ea204c20 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/hianyzas-pre.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/hianyzas.php b/mayor-orig/www/policy/private/naplo/hianyzas/hianyzas.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/info-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/info-pre.php new file mode 100644 index 00000000..0ee4c280 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/info-pre.php @@ -0,0 +1,32 @@ +'; + + $dt = $refTolDt = readVariable($_POST['refTolDt'],'date',date('Y-m-d',strtotime('-7 day'))); + $refIgDt = readVariable($_POST['refIgDt'],'date',date('Y-m-d')); + + $datediff = strtotime($refIgDt) - strtotime($refTolDt); + $dbNap = floor($datediff / (60 * 60 * 24)); + + $ADAT = array(); + + if (strtotime($dt) <= strtotime($refIgDt)) { + while (strtotime($dt)<= strtotime($refIgDt)) { + if (date('N',strtotime($dt))<=5) $ADAT[$dt] = getDarabDiakHianyzas($dt); + $dt = date('Y-m-d',strtotime('+1 day',strtotime($dt))); + } + } + + $TOOL['datumTolIgSelect'] = array( + 'tipus' => 'sor', 'title' => 'REFDT', + 'post'=>array('tolDt','tanarId','osztalyId','tankorId','mkId','diakId','telephely'), + 'tolParamName' => 'refTolDt', 'igParamName' => 'refIgDt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['elozoZarasDt'], + 'igDt' => $_TANEV['kovetkezoKezdesDt'], + 'override' => true, + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/info.php b/mayor-orig/www/policy/private/naplo/hianyzas/info.php new file mode 100644 index 00000000..ab5bb381 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/info.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/nap-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/nap-pre.php new file mode 100644 index 00000000..7eb2592a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/nap-pre.php @@ -0,0 +1,161 @@ + array($diakId), + 'adatok' => getTankorByDiakId($diakId,__TANEV,array('tolDt'=>$dt,'igDt'=>$dt)), + 'nevek' => getDiakokById(array($diakId)) + ); + + { + /* jogosultság */ + //$DIAKOSZTALYAI = getDiakokOsztalyai(array($diakId)); + //define(__OFO, (is_array($_OSZTALYA) && count(array_intersect($DIAKOSZTALYAI[$diakId],$_OSZTALYA)) > 0 )); + + /* --- */ + $TANKORIDK = getTankorByDiakId($diakId, __TANEV, $SET = array('csakId' => true, 'tolDt' => $dt, 'igDt' => $dt)); + + $tmpOrak = getOrak($TANKORIDK,array('tolDt'=>$dt,'igDt'=>$dt,'elmaradokNelkul'=>true)); + $ADAT['orak'] = $tmpOrak['orak']; + if (is_array($ADAT['orak']) && count($ADAT['orak'])>0) + foreach($ADAT['orak'] as $tankorId => $OA1) + foreach($OA1 as $ora => $OA2) + foreach($OA2 as $tankorId => $OA) + $ORAI[] = $OA; + $ADAT['jogosultsag'] = getHianyzasJogosultsag($ORAI, array('idk'=>array($diakId))); + unset($ORAI); + + /* rögzítés */ + if ($action == 'hianyzokRogzitese' && (__TANAR || __NAPLOADMIN || __VEZETOSEG)) { + //$EDDIG = getHianyzasByOraId($ORAADAT['oraId'],array('csakId'=>true)); + $EDDIG = getHianyzasByDt(array($diakId),array($dt),array('csakId'=>true)); + $MARADNAK = $H = $TORLENDOK = array(); + // először vizsgáljuk meg, hogy hol hiányzott (mert ekkor f betűs nem lehet) + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8)=='HIANYZOK') { + list($_mi,$_oraId) = explode('_',$_kulcs); + list($_diakId,$_dt,$_ora,$_tipus,$_hid) = explode('/',$_ertek); + if ($_tipus=='hiányzás') { // akkor f betűsök nem lehetnek + $H[$_diakId][$_dt][$_ora] = true; + $H2[$_diakId][$_oraId] = true; + } + } + } + // majd állítsuk elő a tömböket + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8)=='HIANYZOK') { + /* Itt az __id most oraId */ + list($__r1,$__id,$__r2) = explode('_',$_kulcs); + list($_diakId,$_dt,$_ora,$_tipus,$_hid) = explode('/',$_ertek); +// if (!isset($H[$_diakId][$_dt][$_ora]) || $_tipus=='hiányzás') { + if (!isset($H2[$_diakId][$__id]) || $_tipus=='hiányzás') { + if ($_hid!='') { + $MARADNAK[] = $_hid; + if ($_tipus=='késés') $PERCEK[$_hid]=intval($_POST['PERC_'.$__id]); + } elseif ($_tipus!='') { + $_perc = intval($_POST['PERC_'.$__id]); + //$_oraId = $ADAT['orak'][$dt]; + //list($_tankorId,$OA) = each($ADAT['orak'][$dt][$_ora]); + // EZ HIBÁS! Egy időben több óra is lehet! Az adat postként rendelkezsére áll, használjuk azt fel! + $BEIRANDOK[] = array('diakId'=>$_diakId,'tipus'=>$_tipus,'id'=>$_hid,'dt'=>$_dt,'ora'=>$_ora,'perc'=>$_perc,'oraId'=>$__id); + } + } + } + } + $TORLENDOK = (is_array($EDDIG)) ? array_diff($EDDIG,$MARADNAK) : array(); + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8) == 'IGAZOLAS') { + for ($i=0; $i $_hid,'diakId'=>$_diakId,'statusz'=>$_statusz,'igazolas'=>$_igtip); + } + } + } + } + // végül töröljünk, regisztráljunk, igazoljunk + // esetleg okosan kitalálhatjuk, hogy ha egy időpontban van órája, akkor csak egy helyen lehet? (Pl ahol kötelezően kellene lennie...) + if (is_array($EDDIG) && is_array($MARADNAK)) { + hianyzasTorles($TORLENDOK); + } + hianyzasRegisztralas(array(),$BEIRANDOK); + hianyzasIgazolas($IGAZOLANDOK); + hianyzasPercUpdate($PERCEK); + + } + // lekérdezés #2 + // $ADAT['nevsor'] // lásd feljebb + $ADAT['hianyzok'] = array($diakId); + $ADAT['hianyzasok'] = getHianyzasByDt(array($diakId),array('dt'=>$dt)); + $ADAT['tankorok'] = getTankorByDiakId($diakId, __TANEV, $SET = array('csakId' => false, 'tolDt' => $dt, 'igDt' => $dt,'result'=>'multiassoc')); + $ADAT['tankorTipus'] = getTankorTipusok(); + // ez így egy kicsit túl megengedő. Ha pl egy tárgyból csak az első órán van felmentve, de ugyanaz a tankör szerepel később is (pl második), akkor ida is felmentett lesz... + // holott arról nincs fm-tése... Óránként külön kellene vizsgálni... :( + $ADAT['felmentett'] = getTankorDiakFelmentes($diakId, __TANEV, array('result'=>'multiassoc','tolDt' => $dt, 'igDt' => $dt, 'nap'=>$nap)); // !!! + $ADAT['dt'] = $dt; + $ADAT['diak']['nev'] = getDiakNevById($diakId); + $OI = getDiakOsztalya($diakId); + $osztalyId = $OI[0]['osztalyId']; + $ADAT['osztaly'] = getOsztalyAdat($osztalyId); + $ADAT['napiMinOra'] = getMinOra(); + $ADAT['napiMaxOra'] = getMaxOra(); + + } + $_diakJogviszony=getDiakJogviszonyByDts( array($ADAT['diakId']), array($ADAT['dt']) ); + $ADAT['diakJogviszony'] = $_diakJogviszony[$ADAT['diakId']][$ADAT['dt']]['statusz']; + // tanarSelect tul képpen csak readnly + $TOOL['datumSelect'] = array( + 'tipus' => 'sor', 'post' => array('diakId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), + 'napTipusok' => array('tanítási nap', 'speciális tanítási nap'), + 'lapozo' => true + ); +// $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('ho')); + if (!__DIAK) $TOOL['diakSelect'] = array('tipus' => 'cella', 'diakId' => $diakId, 'post' => array('dt')); + if ($diakId!='') $TOOL['igazolasOsszegzo'] = array('tipus' => 'cella','paramName' => 'igazolasOsszegzo', 'post' => array()); + +// $TOOL['tanuloNapLapozo'] = array('tipus'=>'sor', 'dt' => $dt, 'post'=>array('diakId','dt')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/nap.php b/mayor-orig/www/policy/private/naplo/hianyzas/nap.php new file mode 100644 index 00000000..de542e68 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/nap.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/oktstat-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/oktstat-pre.php new file mode 100644 index 00000000..2fce3e26 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/oktstat-pre.php @@ -0,0 +1,33 @@ + 'cella', 'action' => 'tanevValasztas', 'post' => array('tanev')); + + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/oktstat.php b/mayor-orig/www/policy/private/naplo/hianyzas/oktstat.php new file mode 100644 index 00000000..ec4b017a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/oktstat.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/ora-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/ora-pre.php new file mode 100644 index 00000000..9a472287 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/ora-pre.php @@ -0,0 +1,165 @@ + $_tolDt, 'igDt' => $_igDt, 'tipus' => array('normál','normál máskor','helyettesítés','felügyelet','összevonás')) + ); + $oraId = $_POST['oraId'] = $tanarOrak[0]['oraId']; + } + + if (isset($oraId)) { + + $ORAADAT = getOraAdatById($oraId); + + $nap = date('w',strtotime($ORAADAT['dt'])); + $ora = $ORAADAT['ora']; + + $tanarId = $ORAADAT['ki']; + $tolDt = $igDt = $ORAADAT['dt']; + + /* tankör adatai - óratervi-e */ + $TA = getTankorAdat($ORAADAT['tankorId'], __TANEV); + $ADAT['tankorAdat'] = $TA[$ORAADAT['tankorId']][0]; + $ORAADAT['tankorTipus'] = $ADAT['tankorAdat']['tankorTipus']; + $ADAT['tagokFelvehetok'] = ($ADAT['tankorAdat']['nevsor']=='változtatható'); + /* a tankör tagságának bővítése, ha lehet */ + if ($action!='' && $ADAT['tagokFelvehetok']===true) { + $D['diakId'] = readVariable($_POST['diakId'],id); + if ($D['diakId']!=0) { + $D['tankorId'] = $ORAADAT['tankorId']; + $D['igDt'] = $D['tolDt'] = $ORAADAT['dt']; + tankorDiakFelvesz($D); + } + } + + /* lekérdezés #1 */ + $ADAT['nevsor'] = getTankorDiakjaiByInterval($ORAADAT['tankorId'], __TANEV, $ORAADAT['dt'], $ORAADAT['dt']); + for ($i=0; $itrue,'tolDt'=>$tolDt, 'igDt'=>$igDt, 'nap'=>$nap, 'ora'=>$ora)); + } + $ADAT['diakJogviszony'] = getDiakJogviszonyByDts($ADAT['nevsor']['idk'], array($ORAADAT['dt'])); +//dump($ADAT['nevsor']['idk']); +//dump($ORAADAT['dt']); +//dump($ADAT['diakJogviszony']); + if ($ORAADAT['tipus'] == 'elmarad') { + $_SESSION['alert'][] = 'page:elmaradt_ora'; + } else { + /* jogosultság */ + $ADAT['jogosultsag'] = getHianyzasJogosultsag(array($ORAADAT) , $ADAT['nevsor']); + /* rögzítés */ + if ($action == 'hianyzokRogzitese') { + $EDDIG = getHianyzasByOraId($ORAADAT['oraId'],array('csakId'=>true)); + $MARADNAK = $H = $TORLENDOK = array(); + // először vizsgáljuk meg, hogy hol hiányzott (mert ekkor f betűs nem lehet) + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8)=='HIANYZOK') { + list($_diakId,$_dt,$_ora,$_tipus,$_hid) = explode('/',$_ertek); + if ($_tipus=='hiányzás') { // akkor f betűsök nem lehetnek + $H[$_diakId][$_dt][$_ora] = true; + } + } + } + // majd állítsuk elő a tömböket + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8)=='HIANYZOK') { + // ez volt!!!! figyelem!!!list($_diakId,$_tipus,$_hid) = explode('/',$_ertek); + list($__r1,$__id,$__r2) = explode('_',$_kulcs); + list($_diakId,$_dt,$_ora,$_tipus,$_hid) = explode('/',$_ertek); + if (!isset($H[$_diakId][$_dt][$_ora]) || $_tipus=='hiányzás') { + if ($_hid!='') { + $MARADNAK[] = $_hid; + if ($_tipus=='késés') $PERCEK[$_hid]=intval($_POST['PERC_'.$__id]); + } elseif ($_tipus!='') { + $_perc = intval($_POST['PERC_'.$__id]); + $BEIRANDOK[] = array('diakId'=>$_diakId,'tipus'=>$_tipus,'id'=>$_hid,'dt'=>$_dt,'ora'=>$_ora,'perc'=>$_perc); + } + } + } + } + $TORLENDOK = array_diff($EDDIG,$MARADNAK); + reset($_POST); + foreach($_POST as $_kulcs => $_ertek) { + if (substr($_kulcs,0,8) == 'IGAZOLAS') { + for ($i=0; $i $_hid,'diakId'=>$_diakId,'statusz'=>$_statusz,'igazolas'=>$_igtip); + } + } + } + } + + //végül töröljünk, regisztráljunk, igazoljunk + if (is_array($EDDIG) && is_array($MARADNAK)) { + hianyzasTorles($TORLENDOK); + } + hianyzasRegisztralas($ORAADAT,$BEIRANDOK); + hianyzasIgazolas($IGAZOLANDOK); + hianyzasPercUpdate($PERCEK); + + + + } + /* --- */ + + // lekérdezés #2 + // $ADAT['nevsor'] // lásd feljebb + $ADAT['hianyzok'] = getHianyzasByOraId($ORAADAT['oraId']); + $ADAT['napiHianyzasok'] = getHianyzasByDt($ADAT['nevsor']['idk'],$ORAADAT['dt']); + + if ($ADAT['tagokFelvehetok']===true) { + $_to = getTankorOsztalyaiByTanev($ORAADAT['tankorId'], __TANEV, array('result' => 'id', 'tagokAlapjan' => false)); + $ADAT['diakok'] = getDiakok(array('osztalyId'=>$_to)); + + } + } + } // Ha van oraId + + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'tanarId' => $tanarId); + $TOOL['vissza'] = array('tipus'=>'vissza', + 'paramName'=>'vissza', + 'icon'=>'', + 'postOverride' => array('igDt'=>$igDt,'tanarId'=>$tanarId,'page'=>'naplo','sub'=>'haladasi','f'=>'haladasi') + ); + if (isset($oraId)) $TOOL['tanarOraLapozo'] = array('tipus'=>'sor', 'oraId' => $oraId, 'post'=>array('tanarId')); + getToolParameters(); + + } // Ha jogosult az oldal megtekintésére + + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/ora.php b/mayor-orig/www/policy/private/naplo/hianyzas/ora.php new file mode 100644 index 00000000..5c1acffc --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/ora.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/osztaly-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/osztaly-pre.php new file mode 100644 index 00000000..9e7e9418 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/osztaly-pre.php @@ -0,0 +1,124 @@ +0) + $ADAT['referenciaDt'] = $referenciaDt = readVariable($_POST['referenciaDt'],'datetime',null); + + +// -------------------------------- + + if (isset($osztalyId)) { + $ADAT['osztalyId'] = $osztalyId; + define(__OFO, ( is_array($_OSZTALYA) && in_array($osztalyId, $_OSZTALYA))); + + $jogosult = array(); + if (__TANAR) $jogosult[] = 'szaktanár'; + if (__OFO) $jogosult[] = 'osztályfőnök'; + if (__VEZETOSEG) $jogosult[] = 'vezetőség'; + if (__NAPLOADMIN) $jogosult[] = 'admin'; + + $ADAT['jogosult fokozatok'] = getBejegyzesTipusokByJogosult($jogosult, array('tipus' => array('fegyelmi'), 'hianyzas' => true)); + $ADAT['összes fokozat'] = getBejegyzesTipusokByJogosult(array('szaktanár','osztályfőnök','vezetőség','admin'), array('tipus' => array('fegyelmi'), 'hianyzas' => true)); + $ADAT['fokozat2bejegyzesTipus'] = $ADAT['bejegyzesTipusok'] = $ADAT['bejegyzesTipusIds'] = array(); + foreach ($ADAT['összes fokozat'] as $key => $fAdat) { + $ADAT['bejegyzesTipusok'][ $fAdat['bejegyzesTipusId'] ] = $fAdat; + } + foreach ($ADAT['jogosult fokozatok'] as $key => $fAdat) { + $bejegyzesTipusIds[] = $fAdat['bejegyzesTipusId']; + } + $_TMP = getBejegyzesTipusokByJogosult(array('szaktanár','osztályfőnök','vezetőség','admin'), array('tipus' => array('fegyelmi'), 'hianyzas' => false)); + foreach ($_TMP as $key => $fAdat) { + $ADAT['fokozat2bejegyzesTipus'][ $fAdat['fokozat'] ] = $fAdat; + } + + if ( + $_TANEV['statusz']=='aktív' + && (__NAPLOADMIN || __VEZETOSEG || (__TANAR && __OSZTALYFONOK && in_array($osztalyId, $_OSZTALYA))) + ) { + if ($action == 'fegyelmiRogzitese') { + + $diakId = readVariable($_POST['diakId'], 'id'); + $bejegyzesTipusId = readVariable($_POST['bejegyzesTipusId'], 'id', null, $bejegyzesTipusIds); + $referenciaDt = readVariable($_POST['ujReferenciaDt'], 'date'); + $hianyzasDb = readVariable($_POST['hianyzasDb'], 'numeric unsigned'); + + $szoveg = 'Tisztelt Szülő! Értesítem, hogy gyermeke - igazolatlan hiányzásainak száma ('.$hianyzasDb.') alapján - elérte a(z) "' + .$ADAT['bejegyzesTipusok'][$bejegyzesTipusId]['bejegyzesTipusNev'].'" fegyelmi fokozatot.'; + + if (isset($bejegyzesTipusId) && isset($diakId)) ujBejegyzes($bejegyzesTipusId, $szoveg, $referenciaDt, $diakId, $hianyzasDb); + else $_SESSION['alert'][] = 'message:insufficient_access:a fegyelmi nem rögzíthető (bejegyzesTipusId='.$bejegyzesTipusId.'; hianyzasDb='.$hianyzasDb.')'; + + } + } + + // -------------------------------- + + //$osztalyAdat = getOsztalyAdat($osztalyId); + + if ($tolDt != $_TANEV['kezdesDt'] || $igDt != date('Y-m-d')) { + $OPT = array('hozott','lezárt','igazolható','összes'); + $View = readVariable($_POST['View'], 'enum', array('összes'), $OPT); + } else { + $OPT = array('hozott','lezárt','igazolható','összes','fegyelmi utáni','fegyelmi fokozatok'); + $View = readVariable($_POST['View'], 'enum', ($skin != 'pda')?array('összes','fegyelmi fokozatok'):array('összes'), $OPT); + } + +// elseif ($skin != 'pda') $View = array('összes','fegyelmi fokozatok'); +// else $View = array('összes'); + + if ($nevsor=='aktualis') { + $ADAT['stat'] = getHianyzok($ADAT,array('dt'=>date("Y-m-d"))); + } else { + $ADAT['stat'] = getHianyzok($ADAT); + } +// $ADAT['hianyzasmentesNapokSzama'] = getHianyzasmentesNapokSzama($osztalyId); + + foreach($ADAT['stat']['névsor'] as $_diakId => $_D) { + $ADAT['hozottHianyzas'][$_diakId] = getDiakHozottHianyzas($_diakId); + } + + } // isset(osztalyId) + +// $TOOL['vissza'] = array('tipus'=>'vissza','paramName'=>'','icon'=>'','post'=>array('page'=>'naplo','sub'=>'haladasi','f'=>'haladasi')); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('tolDt','igDt','View')); + getToolParameters(); + $TOOL['datumTolIgSelect'] = array('tipus' => 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 1, 'post' => array('osztalyId', 'View') + ); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/osztaly.php b/mayor-orig/www/policy/private/naplo/hianyzas/osztaly.php new file mode 100644 index 00000000..50f5873a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/osztaly.php @@ -0,0 +1,13 @@ + 0) + putOsztalyOsszesito($ADAT, $View); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap-pre.php b/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap-pre.php new file mode 100644 index 00000000..608f94d4 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap-pre.php @@ -0,0 +1,53 @@ + $osztalyId, 'result' => 'assoc', 'tanev' => __TANEV, 'tolDt' => $dt, 'igDt' => $dt)); + $ADAT['diakIds'] = array_keys($ADAT['diakok']); + $H = getHianyzasByDiakIds($ADAT['diakIds'], array('result' => 'multiassoc', 'keyfield' => 'ora', 'tolDt' => $dt, 'igDt' => $dt)); + foreach ($H as $ora => $hAdat) { + for ($i = 0; $i < count($hAdat); $i++) { + $_H = $hAdat[$i]; + $ADAT['hianyzas'][$ora][$_H['tankorId']][] = $_H; + $ADAT['diakHianyzott'][$_H['diakId']][$_H['hTipus']][$_H['statusz']][$_H['tankorTipus']]['db']++; + } + } + if (is_array($ADAT['hianyzas'])) $ADAT['tankorIds'] = array_keys($ADAT['hianyzas']); + $ADAT['tankorok'] = getTankorByOsztalyId($osztalyId, __TANEV, array('tanarral' => true, 'result' => 'assoc')); + } + $TOOL['datumSelect'] = array( + 'tipus' => 'sor', 'post' => array('osztalyId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), + 'napTipusok' => array('tanítási nap', 'speciális tanítási nap'), + 'lapozo' => true + ); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('dt')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap.php b/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap.php new file mode 100644 index 00000000..10534428 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hianyzas/osztalyNap.php @@ -0,0 +1,10 @@ +0) { + putOsztalyHianyzas($ADAT); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php b/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php new file mode 100644 index 00000000..60de869a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hibabejelento/admin-pre.php @@ -0,0 +1,80 @@ +0) { + $Kerelmek = getKerelmek('',$kerelemId,$tolDt); + } else { + $Kerelmek = getKerelmek($telephelyId,null,$tolDt); + } + } else { + if ($action == 'hibaAdminRogzites') { + $_ADAT['kerelemId'] = $kerelemId; + $_ADAT['kerelemTelephelyId'] = $_ADAT['telephelyId'] = $telephelyId; + $_ADAT['valasz'] = readVariable($_POST['valasz'],'string'); + $_ADAT['kategoria'] = readVariable($_POST['kategoria'],'string','', $KERELEM_TAG); + hibaAdminRogzites($_ADAT); + + //if ($_ADAT['lezar']) + unset($kerelemId); + unset($_ADAT); + } + // Saját kérelmek lekérdezése + $Kerelmek = getSajatKerelmek($telephelyId); + } + + $TELEPHELY = getTelephelyek(); + +// $TOOL['kerelemStat'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array()); + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('telephelyId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => date('Y-m-d'), + ); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array()); + $TOOL['vissza'] = array('tipus'=>'vissza','paramName'=>'','icon'=>'inbox','post'=>array('telephelyId')); + if ($kerelemId!='') { + $TOOL['vissza']['icon'] = 'arrow-left'; + } + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php b/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php new file mode 100644 index 00000000..f34d5eed --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hibabejelento/admin.php @@ -0,0 +1,16 @@ +0) { + if ($_GET['view']==2){ + putKerelmekValasszal($Kerelmek,$telephelyId,$TELEPHELY); + } else { + putKerelmek($Kerelmek,$telephelyId,$TELEPHELY); + } + } +?> diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php new file mode 100644 index 00000000..da2f215e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento-pre.php @@ -0,0 +1,24 @@ +0) $Kerelmek = getKerelmek('',$kerelemId); + +// $TOOL['kerelemStat'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array()); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array()); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php new file mode 100644 index 00000000..dffac292 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hibabejelento/hibabejelento.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/hirnok/cronFutar-pre.php b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar-pre.php new file mode 100644 index 00000000..5691de0f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar-pre.php @@ -0,0 +1,32 @@ +'cron','modul'=>'naplo_intezmeny','result'=>'indexed','values'=>$v)); + + for ($i=0; $i$d['userAccount'], 'policy'=>$d['policy'], 'email'=>$d['email'], 'setDt'=> $refDt); + } + + // Megszorítás: egy naplóbeli entitás utolsoEmailDt-je együtt kell, hogy mozogjon ebben a feldolgozási rendszerben. + // Javítható: hirnokWrapper() függvény sokszoros használatával + $ADAT['hirnokFolyam'] = hirnokWrapper(array('tolDt'=>$tolDt, + 'diakId'=>$USER['diak'], + 'tanarId'=>$USER['tanar'], + 'tolDtByUser'=>$TOLDTBYUSER + )); + + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php new file mode 100644 index 00000000..605e8eaa --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php @@ -0,0 +1,45 @@ +array($D))); + if ($body !='') { + echo "Email cím: ".$_toEmail."\n"; + $mail = new PHPMailer(); + $mail->CharSet = 'UTF-8'; + $mail->SetFrom(__SUPPORT_EMAIL_ADDRESS, ''._SITE.''); + $mail->AddReplyTo(__SUPPORT_EMAIL_ADDRESS,'MaYoR Support'); + $mail->AddAddress($_toEmail, $cn); + $mail->Subject = "[MaYoR] Értesítés – ".$cn; + $mail->MsgHTML(emailHead(array( + 'skin/classic/module-naplo/css/hirnok/hirnok.css', + 'skin/classic/module-naplo/css/hirnok/cronFutar.css' + )).$body.emailFoot()); + if(!$mail->Send()) { + echo "PHP Mailer Error: " . $mail->ErrorInfo . "\n"; + } else { + $q = "UPDATE hirnokFeliratkozas SET utolsoEmailDt ='%s' WHERE naploId=%u AND naploTipus='%s' AND userAccount='%s' AND policy='%s'"; + $v = array($_toUser['setDt'],$_data['id'],$_data['tipus'],$_toUser['userAccount'],$_toUser['policy']); + db_query($q,array('modul'=>'naplo_intezmeny','fv'=>'cron','values'=>$v,'result'=>'update')); + echo "Email elküldve: ".$_toEmail." - ".$cn." - ".date('Y-m-d H:i:s')."\n"; + } + + } else { + // echo "Nincs mit küldeni.\n"; + } + } + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hirnok/hirnok-pre.php b/mayor-orig/www/policy/private/naplo/hirnok/hirnok-pre.php new file mode 100644 index 00000000..adc18ddc --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/hirnok-pre.php @@ -0,0 +1,53 @@ +strtotime($_SESSION['lastLogin'])) $rDt = $_SESSION['lastLogin']; + else $rDt = getTanitasiNapVissza(2); + $tolDt = readVariable($_POST['tolDt'],'date', + readVariable($_GET['tolDt'], 'date', + $rDt + ) + ); + if (strtotime($tolDt)>strtotime(date('Y-m-d H:i:s'))) $tolDt = date('Y-m-d',strtotime('-10 day')); + + $osztalyId = readVariable($_POST['osztalyId'], 'id'); + if (__NAPLOADMIN === true) { // csak adminnak engedjük kiválasztani - lásd még include + $diakId = readVariable($_POST['diakId'], 'id', readVariable($_GET['diakId'], 'id')); + $tanarId = readVariable($_POST['tanarId'], 'id', readVariable($_GET['tanarId'], 'id')); + $feliratkozott = getHirnokFeliratkozasok(); + if ($diakId==0 && count($feliratkozott['diak'])>0) $diakId = $feliratkozott['diak']; + if ($tanarId==0 && count($feliratkozott['tanar'])>0) $tanarId = $feliratkozott['tanar']; + if ($tanarId==0 && defined('__USERTANARID')) $tanarId = __USERTANARID; + } else { + if (__DIAK===true) { // diák nézet + $diakId = __USERDIAKID; + } elseif (__TANAR ===true) { // tanár nézet + $tanarId = __USERTANARID; + } + } + + $ADAT['hirnokFolyam'] = hirnokWrapper(array('tolDt'=>$tolDt,'diakId'=>$diakId,'tanarId'=>$tanarId)); + $ADAT['tolDt'] = $tolDt; + $ADAT['igDt'] = $igDt = date('Y-m-d'); + + if (__NAPLOADMIN===true) { + $TOOL['vissza'] = array('tipus'=>'vissza','paramName'=>'','icon'=>'bullhorn'); + $TOOL['tanarSelect'] = array('tipus'=>'cella','paramName'=>'tanarId', 'post'=>array('tolDt', 'igDt')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post'=>array('tolDt', 'igDt')); + $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('osztalyId','tolDt', 'igDt', 'osztalyId')); + if ($diakId>0)$TOOL['diakLapozo'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array('osztalyId','tolDt', 'igDt', 'osztalyId')); + } + $TOOL['datumTolIgSelect'] = array( + 'tipus' => 'sor', 'title' => '', + 'post'=>array('tolDt','tanarId','osztalyId','tankorId','mkId','diakId','telephely'), + 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', 'hanyNaponta' => 1, + 'override' => true, + 'tolDt' => $_TANEV['kezdesDt'], + 'igDt' => $igDt, + ); + + getToolParameters(); + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hirnok/hirnok.php b/mayor-orig/www/policy/private/naplo/hirnok/hirnok.php new file mode 100644 index 00000000..ce3b7f72 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/hirnok.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas-pre.php b/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas-pre.php new file mode 100644 index 00000000..d8fb3d33 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas-pre.php @@ -0,0 +1,47 @@ +strtotime(date('Y-m-d'))) $tolDt = date('Y-m-d',strtotime('-10 day')); + + $osztalyId = readVariable($_POST['osztalyId'], 'id'); + if (__NAPLOADMIN === true) { // csak adminnak engedjük kiválasztani - lásd még include + if ($action=='hirnokFeliratkozas') { + $S['naploId'] = readVariable($_POST['naploId'],'numeric'); + $S['naploTipus'] = readVariable($_POST['naploTipus'],'string',null,array('tanar','diak')); + $S['email'] = readVariable($_POST['email'],'email'); + $S['hirnokFeliratkozasId'] = readVariable($_POST['hirnokFeliratkozasId'],'numeric'); + if ($S['hirnokFeliratkozasId']>0) delHirnokFeliratkozas($S); + elseif ($S['email']!='') addHirnokFeliratkozas($S); + } + $ADAT['hirnokFeliratkozas'] = $feliratkozott = getHirnokFeliratkozasok(true); +// if ($diakId==0 && count($feliratkozott['diak'])>0) $diakId = $feliratkozott['diak']; +// if ($tanarId==0 && count($feliratkozott['tanar'])>0) $tanarId = $feliratkozott['tanar']; +// if ($tanarId==0 && defined('__USERTANARID')) $tanarId = __USERTANARID; + } else { + if (__DIAK===true) { // diák nézet + szülő? + $diakId = $naploId = __USERDIAKID; + $naploTipus = 'diak'; // szulo??? + } elseif (__TANAR ===true) { // tanár nézet + $tanarId = $naploId = __USERTANARID; + $naploTipus = 'tanar'; + } + if ($action=='hirnokFeliratkozas') { + $S['email'] = readVariable($_POST['email'],'email'); + $S['naploId'] = $naploId; + $S['naploTipus'] = $naploTipus; + + $S['hirnokFeliratkozasId'] = readVariable($_POST['hirnokFeliratkozasId'],'numeric'); + if ($S['hirnokFeliratkozasId']>0) delHirnokFeliratkozas($S); + elseif ($S['email']!='') addHirnokFeliratkozas($S); + } + $ADAT['email'] = ''; // lekérdezhetnénk az objektum e-mail címét később + $ADAT['hirnokFeliratkozas'] = $feliratkozott = getHirnokFeliratkozasok(true); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas.php b/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas.php new file mode 100644 index 00000000..a5c9056b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/hirnok/hirnokFeliratkozas.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diak-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diak-pre.php new file mode 100644 index 00000000..09d59501 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diak-pre.php @@ -0,0 +1,247 @@ +_DOWNLOADDIR.'/private/naplo/face/'.__TANEV,'filename'=>$diakId.'.jpg')); + } elseif ($action == 'sulixREST') { +/* + require('include/share/net/rest.php'); + //$server = 'mayor1.ulx.hu'; + $server = 'localhost'; + $port = 8888; + + if (isset($_POST['createAccount'])) { + $resource = '/Users/Create'; + $method = 'PUT'; + $params = array( + 'params' => array( + 'sn'=> $ADAT['diakAdat']['viseltCsaladinev'], + 'givenname' => $ADAT['diakAdat']['viseltUtonev'], + 'birth_year' => explode('-', $ADAT['diakAdat']['szuletesiIdo'])[0], + 'birth_month' => explode('-', $ADAT['diakAdat']['szuletesiIdo'])[1], + 'birth_day' => explode('-', $ADAT['diakAdat']['szuletesiIdo'])[2], + 'employeeNumber' => $ADAT['diakAdat']['oId'] + ) + ); + } elseif (isset($_POST['deleteAccount'])) { + $resource = '/Users/Delete/Eduid/'.$ADAT['diakAdat']['oId']; + $method = 'DELETE'; + } + $uri = 'https://'.$server.':'.$port.$resource; + try { + $ret = restRequest($uri, $method, $params); + } catch (Exception $e) { + dump($e->getMessage()); + } + if ($ret['http']['status'] == 200) { +//dump('Success'); + } else { +//dump($ret['http']['status']); +//dump($ret); + } +*/ + } + } + } else { + //$ADAT['zaradek'] = array('felvétel' => 1,'átvétel' => 2, 'áthelyezés' => 3, 'beiratkozásra vár' => null); + if (isset($osztalyId)) { + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $tanev); + $ADAT['zaradek']['felvétel'] = $ZaradekIndex['jogviszony']['megnyitás']['felvétel osztályba']; // 1 helyett --> 67 ??? + } + } // van diakId / nincs diakId + + + if (_MODOSITHAT===true && $action == 'ujDiak') { + $kotelezoParamOk = (isset($_POST['viseltCsaladinev']) && $_POST['viseltCsaladinev'] != ''); + $kotelezoParamOk &= (isset($_POST['kezdoTanev']) && $_POST['kezdoTanev'] != ''); + $kotelezoParamOk &= (isset($_POST['kezdoSzemeszter']) && $_POST['kezdoSzemeszter'] != ''); + $kotelezoParamOk &= ($_POST['felvetelTipus']=='beiratkozásra vár' || (isset($_POST['jogviszonyKezdete']) && $_POST['jogviszonyKezdete'] != '')); + if ($kotelezoParamOk) { + $_POST['zaradek'] = $ADAT['zaradek']; // felülírjuk a post-ot... remek + $_POST['osztaly'] = $ADAT['osztaly']; + $diakId = ujDiak($_POST); + } else { + $_SESSION['alert'][] = 'message:empty_field:(viseltCsaladinev,kezdoTanev,kezdoSzemeszter,jogviszonyKezdete)'; + } + } + + if (isset($diakId)) { + // diák adatainak lekérdezése + $Szulok = getSzulok(); + $ADAT['diakAdat'] = getDiakAdatById($diakId); + switch ($ADAT['diakAdat']['statusz']) { + case 'felvételt nyert': + $ADAT['valthatoStatusz'] = array('jogviszonyban van'); + break; + case 'jogviszonya lezárva': + $ADAT['valthatoStatusz'] = array('jogviszonyban van', 'vendégtanuló'); + break; + case 'vendégtanuló': + $ADAT['valthatoStatusz'] = array('jogviszonya lezárva'); + break; + default: + $ADAT['valthatoStatusz'] = array_diff($ADAT['statusz'],array($ADAT['diakAdat']['statusz'],'felvételt nyert')); + break; + } + $ADAT['diakAdat']['anyaNev'] = $Szulok[ $ADAT['diakAdat']['anyaId'] ]['szuleteskoriCsaladinev']? + trim(implode(' ', array( + $Szulok[ $ADAT['diakAdat']['anyaId'] ]['szuleteskoriNevElotag'], + $Szulok[ $ADAT['diakAdat']['anyaId'] ]['szuleteskoriCsaladinev'], + $Szulok[ $ADAT['diakAdat']['anyaId'] ]['szuleteskoriUtonev'] + ))):$Szulok[ $ADAT['diakAdat']['anyaId'] ]['szuloNev']; + $ADAT['diakAdat']['apaNev'] = + trim(implode(' ', array( + $Szulok[ $ADAT['diakAdat']['apaId'] ]['szuleteskoriNevElotag'], + $Szulok[ $ADAT['diakAdat']['apaId'] ]['szuleteskoriCsaladinev'], + $Szulok[ $ADAT['diakAdat']['apaId'] ]['szuleteskoriUtonev'] + ))) . ' - ' . $Szulok[ $ADAT['diakAdat']['apaId'] ]['szuloNev']; + $ADAT['diakAdat']['gondviseloNev'] = $Szulok[ $ADAT['diakAdat']['gondviseloId'] ]['szuleteskoriCsaladinev']? + trim(implode(' ', array( + $Szulok[ $ADAT['diakAdat']['gondviseloId'] ]['szuleteskoriNevElotag'], + $Szulok[ $ADAT['diakAdat']['gondviseloId'] ]['szuleteskoriCsaladinev'], + $Szulok[ $ADAT['diakAdat']['gondviseloId'] ]['szuleteskoriUtonev'] + ))):$Szulok[ $ADAT['diakAdat']['gondviseloId'] ]['szuloNev']; + + $ADAT['diakAdat']['osztaly'] = getDiakOsztalya($diakId,array('tanev'=>$tanev)); + $ADAT['diakAdat']['mindenOsztaly'] = getDiakMindenOsztaly($diakId); + $ADAT['diakJogviszony'] = getDiakJogviszony($diakId); + $ADAT['hozottHianyzas'] = getDiakHozottHianyzas($diakId,array('tanev'=>$tanev)); + $ADAT['diakKepzes'] = getKepzesByDiakId($diakId); + + } + + + $ADAT['osztalyok'] = getOsztalyok($tanev,array('result'=>'assoc', 'minden'=>true)); + + // ToolBar + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'action' => 'tanevValasztas', 'post' => array('tanev','diakId')); + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'tanev' => $tanev, 'post' => array('tanev')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, + 'statusz' => $ADAT['statusz'], + 'post' => array('tanev','osztalyId') + ); + } + if (isset($osztalyId) || isset($diakId)) { + $TOOL['nyomtatasGomb'] = array('titleConst' => '_NYOMTATAS','tipus'=>'cella', 'url'=>'index.php?page=naplo&sub=nyomtatas&f=diakAdatlap','post' => array('osztalyId','diakId','tanev')); + if (!__DIAK) { + $TOOL['diakLapozo'] = array('tipus'=>'sor', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, + 'statusz' => $ADAT['statusz'], + 'post' => array('tanev','osztalyId') + ); + } + } + if (__NAPLOADMIN === true) { + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=intezmeny&f=diakStatusz'), + 'titleConst' => array('_DIAKSTATUSZ'), + 'post' => array('diakId'), + ); + } + + getToolParameters(); + } // naploadmin / vezetőség / titkárság / tanár + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diak.php b/mayor-orig/www/policy/private/naplo/intezmeny/diak.php new file mode 100644 index 00000000..b6ca1349 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diak.php @@ -0,0 +1,30 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakExport-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakExport-pre.php new file mode 100644 index 00000000..05d8f5d8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakExport-pre.php @@ -0,0 +1,56 @@ + $attrNev) + $ADAT['fields'][ekezettelen($szulo).ucfirst($attr)] = ucfirst($szulo).' '.kisbetus($attrNev); + $ADAT['fields']['telephelyId'] = 'telephelyId'; + foreach ($ADAT['fields'] as $attr => $attrNev) + if (!is_array($_POST['mezok']) || in_array($attr, $_POST['mezok'])) $ADAT['mezok'][$attr] = $attrNev; + + $ADAT['export'] = diakExport($ADAT); + if ($action == 'diakExport') { + + if (is_array($ADAT['export']) && createFile($ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=export&file=diakExport.'.$ADAT['formatum'].'&mimetype='.$ADAT['mime'])); + else echo 'SEMMI: '.__DIAK_EXPORT_FILE; + + } + + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array('osztalyId')); + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('osztalyId', 'tanev'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), + 'igDt' => $TA['zarasDt'], + ); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tanev', 'dt')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakExport.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakExport.php new file mode 100644 index 00000000..fd1c30f9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakExport.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes-pre.php new file mode 100644 index 00000000..d08aa5f6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes-pre.php @@ -0,0 +1,325 @@ +'idonly')); + $ADAT['osztalyId'] = $_POST['osztalyId'] = $osztalyId = $_r[0]; + } + } + } + if ($diakId!='') { + $tolDt = readVariable($_POST['tolDt'],'date',$dt); + $targyId = readVariable($_POST['targyId'],'id'); + $ADAT['diakAdat'] = getDiakAdatById($diakId); + $ADAT['diakTargy'] = getTargyakByDiakId($diakId,array('tolDt'=>$dt,'result'=>'indexed')); + $ADAT['diakTankor'] = getTankorByDiakId($diakId,__TANEV,array('tolDt'=>$dt,'igDt'=>$_TANEV['zarasDt'])); + $ADAT['diakTankorFelmentes'] = getTankorDiakFelmentes($diakId, __TANEV, array('csakId' => true, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt'=>$_TANEV['zarasDt'], 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól','értékelés alól'))); + } + + if (__NAPLOADMIN === true || __VEZETOSEG===true) { + + /* ACTION */ + /* + + 1-es típus a részénél: értékelés alól FM (egész tnév) + záradék + b: záradék + */ + + if ($action=='tipus1' && $targyId!='') { + + $altipus = readVariable($_POST['t1altipus'],'numeric unsigned',null,array(1,2)); + $igDt = readVariable($_POST['igDt'],'date',$_TANEV['zarasDt']); + $iktatoszam = readVariable($_POST['iktatoszam'],'string'); + + if ($altipus=='1') { + // felmentés értékelés alól tolDt-től minden tankörben ahol a tárgy adott + $SQL_fail=false; + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + /* 1. FM rögzítés */ + for($i=0;$i$diakId, 'tankorId'=>$_tankorId, 'tolDt'=>$tolDt, 'igDt'=>$igDt, 'felmentesTipus'=>'értékelés alól','iktatoszam'=>$iktatoszam); + $result = tankorDiakFelmentesFelvesz($FM,$lr); + if ($result===false) $SQL_fail = true; + } + } + /* 2. írjuk be neki az FM bejegyzést */ + //találjuk ki milyen félévekre kell beírnunk: + $q = "SELECT szemeszter,zarasDt FROM szemeszter WHERE zarasDt>='%s' AND tanev=%s"; + $v = array($tolDt,__TANEV); + $SZEMESZTEREK = db_query($q, array('fv'=>'-pre','values'=>$v,'result'=>'indexed','modul'=>'naplo_intezmeny'), $lr); + for ($i=0; $i'-pre','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v), $lr); + } + if ($count==0) { + $JEGY = array(array('targyId'=>$targyId,'zaroJegyId'=>null, 'diakId'=> $diakId, 'jegyTipus'=>'nem értékelhető', 'jegy'=>'1.0', 'tanev'=>__TANEV, 'szemeszter'=>$_szemeszter, 'felev'=>$_szemeszter)); + if (($zaroJegyek=zaroJegyBeiras($JEGY,$lr))===false) { + $_SESSION['alert'][] = 'info:wrong_data:Hiba a jegy rögzítéskor'; + $SQL_fail=true; + } else { + // rögzített zárójegyek idjei... $zaroJegyek + // ezt elmenthetjük az esetleges kapcsolatok megőrzésére + } + } else { + $_SESSION['alert'][] = 'info:wrong_data:A megadott félévre már van rögzítve zárójegye!:'.$_szemeszter; + $SQL_fail=true ; + } + + } // szemeszterek + /* 3. Most már a megfelelő záradékot is rögzíthetjük akár */ + $targyAdat = getTargyById($targyId); + $ZARADEK = array('iktatoszam'=>$iktatoszam,'diakId'=>$diakId, 'dt'=>date('Y-m-d'), 'zaradekIndex'=>$ZaradekIndex['felmentés']['értékelés alól'],'csere'=>array('%tantárgy%'=>$targyAdat['targyNev'])); + if (($zaradekId = zaradekRogzites($ZARADEK,$lr))===false) { + $_SESSION['alert'][] = 'info::Hiba a záradék rögzítésekor!'; + $SQL_fail=true; + } else { + // rögzített záradék idje: $zaradekId + // ezt elmenthetjük az esetleges kapcsolatok megőrzésére + } + if ($SQL_fail===true) db_rollback($lr); + else { + $_SESSION['alert'][] = 'info:success'; + db_commit($lr); + } + db_close($lr); + + } elseif ($altipus=='2') { + // csak záradék rögzítése + $mi = readVariable($_POST['zaradekTxt2'],'string'); + $miatt = readVariable($_POST['zaradekTxt1'],'string'); + $ZARADEK = array('iktatoszam'=>$iktatoszam,'diakId'=>$diakId, 'dt'=>date('Y-m-d'), 'zaradekIndex'=>$ZaradekIndex['felmentés']['értékelés és minősítés alól'],'csere'=>array('%miatt%'=>$miatt,'%mi%'=>$mi)); + if (($zaradekId = zaradekRogzites($ZARADEK,$lr))===false) { + $_SESSION['alert'][] = 'info::Hiba a záradék rögzítésekor!'; + } else { + $_SESSION['alert'][] = 'info:success'; + } + + } + + } elseif ($action=='tipus2' && $tankorId!='') { + + $igDt = readVariable($_POST['igDt'],'date',$_TANEV['zarasDt']); + $nap = readVariable($_POST['nap'],'numeric unsigned'); + $ora = readVariable($_POST['ora'],'numeric unsigned'); + $iktatoszam = readVariable($_POST['iktatoszam'],'string'); + + $ovi = ($_POST['ovi']==='1'); + $forceDel = ($_POST['forceDel']==='1'); + $skipZaradek = ($_POST['skipZaradek']==='1'); + if ($_POST['ovi']==='1') + if (strtotime($tolDt)>strtotime($igDt)) { + $_SESSION['alert'][] = 'info:wrong_data:igDt$diakId, 'tankorId'=>$tankorId, 'tolDt'=>$tolDt, 'igDt'=>$igDt, 'felmentesTipus'=>'óralátogatás alól','nap'=>$nap,'ora'=>$ora,'iktatoszam'=>$iktatoszam); + if ($forceDel===true) $FM['utkozes'] = 'torles'; + $result = tankorDiakFelmentesFelvesz($FM,$lr); + if ($result===false) $SQL_fail = true; + if ($ovi=='1') { + $FM = array('diakId'=>$diakId, 'tankorId'=>$tankorId, 'tolDt'=>$tolDt, 'igDt'=>$igDt, 'felmentesTipus'=>'értékelés alól','iktatoszam'=>$iktatoszam); + if ($forceDel===true) $FM['utkozes'] = 'torles'; + $result = tankorDiakFelmentesFelvesz($FM,$lr); + if ($result===false) $SQL_fail = true; + } + if ($skipZaradek===false) { + $tankorNev = getTankorNevById($tankorId); + $targyAdat = getTargyById((getTankorTargyId($tankorId))); + $targyNev = $targyAdat['targyNev']; + $ZaradekIndex['felmentés'] = ($ovi) ? $ZaradekIndex['felmentés']['óra látogatása alól osztályozóvizsgával'] : $ZaradekIndex['felmentés']['óra látogatása alól']; + if (isset($nap)) $napOraStr[] = ($aHetNapjai[$nap-1]).'i'; + if (isset($ora)) $napOraStr[] = $ora.'.'; + $ZARADEK = array('iktatoszam'=>$iktatoszam,'diakId'=>$diakId, 'dt'=>date('Y-m-d'), 'zaradekIndex'=>$ZaradekIndex['felmentés'],'csere'=>array( + '%tantárgy%'=> "$targyNev ($tankorNev)", + '%ezen óráinak%'=> @implode(' ',$napOraStr), + '%tólDt%'=> $tolDt, + '%igDt%'=> $igDt + )); + if (($zaradekId = zaradekRogzites($ZARADEK,$lr))===false) { + $_SESSION['alert'][] = 'info::Hiba a záradék rögzítésekor!'; + $SQL_fail=true; + } else { + // rögzített záradék idje: $zaradekId (ez nem kell most, kösz) + } + } + + if ($SQL_fail===true) db_rollback($lr); + else db_commit($lr); + db_close($lr); + + } + + + + } elseif ($action=='tipus3' && $targyId!='') { + $iktatoszam = readVariable($_POST['iktatoszam'],'string'); + + $SQL_fail=false; + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + /* 1. léptessük ki a tanköreiből véglegesen */ + for($i=0;$i$tolDt,'igDt'=>null,'diakId'=>$diakId, + 'utkozes'=>'torles', + 'tankorId'=>$_tankorId, + 'MIN_CONTROL'=>false + ); + + // meg kell szüntetnünk a tankörcsoportot a jövőbeli tanévekben is... + //$q = "SELECT DISTINCT tanev FROM szemeszter WHERE kezdesDt>='%s' AND statusz='aktív'"; + //$v = array($tolDt); + //$r = db_query($q, array('fv'=>'tankorDiakTorol/getTanev','modul'=>'naplo_intezmeny','values'=>$v, 'result'=>'idonly'),$lr); + $q = "SELECT count(*) AS db FROM ".__TANEVDBNEV.".`tankorCsoport` WHERE tankorId=%u"; + $erintettTankorCsoport = db_query($q, array('debug'=>false,'fv'=>'-pre/tankorCsoport','modul'=>'naplo','result'=>'value','values'=>array($_tankorId)),$lr); + if ($erintettTankorCsoport > 0) $_SESSION['alert'][] = 'info::A tankör ('.$_tankorId.') a tankörcsoportot/okat elhagyta.'; + + $q = "DELETE FROM ".__TANEVDBNEV.".`tankorCsoport` WHERE tankorId=%u"; + $r = db_query($q, array('debug'=>false,'fv'=>'-pre/tankorCsoport','modul'=>'naplo','values'=>array($_tankorId)),$lr); + + if (tankorDiakTorol($DEL,$lr) === false) { + $_SESSION['alert'][] = 'info:wrong_data:Hiba a tankörből való kiléptetéskor'; + $SQL_fail=true; + } + // a tankorDiakFelmentes táblával ebben az esetben mi legyen? a tankorDiakTorol függvénynek + // azzal is kéne foglalkoznia? - talán igen + } + } + /* 2. írjuk be neki az FM bejegyzést */ + //találjuk ki milyen félévekre kell beírnunk: + $q = "SELECT szemeszter,zarasDt FROM szemeszter WHERE zarasDt>='%s' AND tanev=%s"; + $v = array($tolDt,__TANEV); + $SZEMESZTEREK = db_query($q, array('fv'=>'-pre','values'=>$v,'result'=>'indexed','modul'=>'naplo_intezmeny'), $lr); + for ($i=0; $i'-pre','modul'=>'naplo_intezmeny','result'=>'value','values'=>$v), $lr); + } + if ($count==0) { + $JEGY = array(array('targyId'=>$targyId,'zaroJegyId'=>null, 'diakId'=> $diakId, 'jegyTipus'=>'nem értékelhető', 'jegy'=>'1.0', 'tanev'=>__TANEV, 'szemeszter'=>$_szemeszter, 'felev'=>$_szemeszter)); + if (($zaroJegyek=zaroJegyBeiras($JEGY,$lr))===false) { + $_SESSION['alert'][] = 'info:wrong_data:Hiba a jegy rögzítéskor'; + $SQL_fail=true; + } else { + // rögzített zárójegyek idjei... $zaroJegyek + } + } else { + $_SESSION['alert'][] = 'info:wrong_data:A megadott félévre már van rögzítve zárójegye!:'.$_szemeszter; + $SQL_fail=true ; + } + + } // szemeszterek + /* 3. Most már a megfelelő záradékot is rögzíthetjük akár */ + $targyAdat = getTargyById($targyId); + $ZARADEK = array('iktatoszam'=>$iktatoszam,'diakId'=>$diakId, 'dt'=>date('Y-m-d'), 'zaradekIndex'=>$ZaradekIndex['felmentés']['tárgy tanulása alól'],'csere'=>array('%tantárgyak neve%'=>$targyAdat['targyNev'])); + if (($zaradekId = zaradekRogzites($ZARADEK,$lr))===false) { + $_SESSION['alert'][] = 'info::Hiba a záradék rögzítésekor!'; + $SQL_fail=true; + } else { + // rögzített záradék idje: $zaradekId + } + + if ($SQL_fail===true) db_rollback($lr); + else db_commit($lr); + db_close($lr); + + /* ReReading Data */ + $ADAT['diakAdat'] = getDiakAdatById($diakId); + $ADAT['diakTargy'] = getTargyakByDiakId($diakId,array('tolDt'=>$dt,'result'=>'indexed')); + $ADAT['diakTankor'] = getTankorByDiakId($diakId,__TANEV,array('tolDt'=>$dt)); + + } // action 3 + elseif ($action=="tankorDiakFelmentesTorol") { + $SQL_fail=false; + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + $DELFMID = readVariable($_POST['DELFM'],'id'); + for ($i=0; $i$DELFMID[$i], 'kiDt'=>$dt), $lr); + $ZARADEK = array('iktatoszam'=>$iktatoszam,'diakId'=>$diakId, 'dt'=>date('Y-m-d'), 'zaradekIndex'=>$ZaradekIndex['felmentés']['törlés'],'csere'=>array('%tankorDiakFelmentesId%'=>$DELFMID[$i],'%dt%'=>$dt)); + if (($zaradekId = zaradekRogzites($ZARADEK,$lr))===false) { + $_SESSION['alert'][] = 'info::Hiba a záradék rögzítésekor!'; + $SQL_fail=true; + } + } + if ($SQL_fail===true) db_rollback($lr); + else db_commit($lr); + db_close($lr); + } + } + /* End of ACTION */ + $ADAT['diakZaradek'] = getDiakZaradekok($diakId, array('tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'])); + $ADAT['tankorDiakFelmentes'] = getTankorDiakFelmentes($diakId, __TANEV,array('csakId' => false, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól','értékelés alól')) ); + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('osztalyId', 'tanev'), + 'paramName' => 'dt', + 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), + 'igDt' => $_TANEV['zarasDt'], + 'post'=>array('osztalyId','diakId') + ); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, +// 'statusz' => $ADAT['statusz'], + 'post' => array('osztalyId','dt') + ); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=felmentes'), + 'titleConst' => array('_FELMENTES'), 'post' => array('diakId','osztalyId')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes.php new file mode 100644 index 00000000..5628ebe8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakFelmentes.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz-pre.php new file mode 100644 index 00000000..6e8e23b3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz-pre.php @@ -0,0 +1,117 @@ + array_values($ZaradekIndex['jogviszony megnyitás']), + 'magántanuló' => array($ZaradekIndex['jogviszony változás']['magántanuló']), + 'vendégtanuló' => array(), + 'jogviszonya felfüggesztve' => array($ZaradekIndex['jogviszony változás']['felfüggesztés']), + 'jogviszonya lezárva' => array_values($ZaradekIndex['jogviszony lezárás']) + ); + $ADAT['jogviszonyZaradekok'] = array_merge( + $ADAT['statusz2zaradek']['jogviszonyban van'], + $ADAT['statusz2zaradek']['magántanuló'], + $ADAT['statusz2zaradek']['jogviszonya felfüggesztve'], + $ADAT['statusz2zaradek']['jogviszonya lezárva'] + ); + + if ($action == 'diakAdatModositas') { + $Param = array( + 'diakId' => $diakId, + 'jogviszonyKezdete' => readVariable($_POST['jogviszonyKezdete'], 'date') + ); + //if (isset($Param['jogviszonyKezdete'])) + diakAdatModositas($Param); + } elseif ($action == 'diakJogviszonyTorles') { + $Param = array( + 'diakId' => $diakId, + 'dt' => readVariable($_POST['dt'], 'date'), + 'statusz' => readVariable($_POST['statusz'], 'enum', null, $ADAT['statusz']), + 'zaradekId' => readVariable($_POST['zaradekId'], 'id') + ); + diakJogviszonyBejegyzesTorles($Param); + } elseif ($action == 'diakZaradek') { + $Param = array( + 'diakId' => $diakId, + 'dt' => readVariable($_POST['dt'], 'date'), + 'zaradekIndex' => readVariable($_POST['zaradekIndex'], 'numeric unsigned', null, $ADAT['jogviszonyZaradekok']), + 'zaradekId' => readVariable($_POST['zaradekId'], 'id'), + 'values' => readVariable($_POST['values'], 'string') + ); + $ok = true; + $tmp = explode('%', $Zaradek[ $Param['zaradekIndex'] ]['szoveg']); + $Param['params'] = array(); + for ($i=1; $i < count($tmp); $i = $i+2) $Param['params'][] = $tmp[$i]; + $Param['csere'] = array(); + for ($i = 0; $i < count($Param['params']); $i++) { + $Param['csere'][ '%'.$Param['params'][$i].'%' ] = $Param['values'][$i]; + if ($Param['values'][$i] == '') $ok = false; + } + if ($ok) { + if (zaradekRogzites($Param)) { $_SESSION['alert'][] = 'info:success'; } + } else { + $_SESSION['alert'][] = 'message:empty_field'; + } + } + + $ADAT['diakAdat'] = getDiakAdatById($diakId); + $ADAT['diakStatusz'] = getDiakJogviszony($diakId); + $ADAT['diakZaradekok'] = getDiakZaradekok($diakId, array('result' => 'multiassoc', 'keyfield' => 'dt')); + $ADAT['zaradekok'] = getZaradekok(); + + // záradékok státusz változásokhoz rendelése + foreach ($ADAT['diakStatusz'] as $index => $djAdat) { + if (is_array($ADAT['diakZaradekok'][ $djAdat['dt'] ])) { + foreach ($ADAT['diakZaradekok'][ $djAdat['dt'] ] as $j => $zAdat) { + if (in_array($zAdat['zaradekIndex'], $ADAT['statusz2zaradek'][ $djAdat['statusz'] ])) { + $ADAT['diakStatusz'][$index]['zaradek'] = $zAdat; + unset($ADAT['diakZaradekok'][ $djAdat['dt'] ][$j]); + break; + } + } + } + } + + } else { + + $ADAT['hibas'] = getHibasJogviszony(); + + } + + // ToolBar + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'action' => 'tanevValasztas', 'post' => array('tanev','diakId')); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'tanev' => $tanev, 'post' => array('tanev')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, + 'statusz' => $ADAT['statusz'], + 'post' => array('tanev','osztalyId') + ); +// EZ MI?! (maxValue?!) + $TOOL['szamSelect'] = array('tipus' => 'cella', 'title' => 'DIAKIDTITLE', 'minValue' => 1, 'maxValue' => 3000, 'paramName' => 'diakId', 'post' => array('tanev','osztalyId')); +/* $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=intezmeny&f=diak'), + 'titleConst' => array('_DIAKADATLAP'), + 'post' => array('diakId'), + ); +*/ getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz.php new file mode 100644 index 00000000..68403bac --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakStatusz.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo-pre.php new file mode 100644 index 00000000..f16dc808 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo-pre.php @@ -0,0 +1,98 @@ + $name) { + if (!isset($ADAT[$attr])) + if ($attr == 'szuletesiEv') $ADAT[$attr] = readVariable($_POST[$attr], 'numeric unsigned', null, array(), '1900<$return && $return<2100'); + else $ADAT[$attr] = readVariable($_POST[$attr], 'sql', null); + } + if (!isset($szuloId)) { + $ujSzuloId = readVariable($_POST['ujSzuloId'], 'numeric unsigned', null); + if (isset($ujSzuloId)) { + $szuloId = szuloHozzarendeles($diakId, $tipus, $ujSzuloId); + } else { + $szuloId = ujSzulo($ADAT, $FIELDS); // ez rendben van, de ajaxnál??? + } + if ($szuloId) $diakAdat[$tipus.'Id'] = $szuloId; + } else { + if (!isset($_POST['semmi']) && isset($_POST['torles'])) { + if (szuloHozzarendelesTorlese($diakId, $tipus)) unset($diakAdat[$tipus.'Id']); + } else { + if (__NAPLOADMIN !== true) unset($ADAT['userAccount']); + szuloAdatModositas($ADAT, $FIELDS); + } + } + + } + + } + // ------------- action ------------------ // + + $Szulok = getSzulok(); + + $TOOL['diakSelect'] = array('tipus'=>'cella', 'post'=>array('szuloId','tipus')); + $TOOL['szuloSelect'] = array('tipus'=>'cella', 'szulok'=>$Szulok, 'post'=>array('')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo.php new file mode 100644 index 00000000..12a53b54 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakSzulo.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor-pre.php new file mode 100644 index 00000000..f4ef9295 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor-pre.php @@ -0,0 +1,116 @@ +$_POST['UJtankorId'][$i],'diakId'=>$diakId,'tolDt'=>$refDt,'jelenlet'=>'kötelező','kovetelmeny'=>'jegy'); + tankorDiakFelvesz($_D); + } + for($i=0; $i$_POST['DELtankorId'][$i],'diakId'=>$diakId,'tolDt'=>$refDt); + if ($forceDel===true) { + $_D['utkozes'] = 'torles'; + define('__VEZETOSEG_TOROLHET_HIANYZAST',true); // Hiányzást - adminon kívül - alap helyzetben csak a rögzítő tanár törölhet! + } + $_result = tankorDiakTorol($_D); + if ($_result===true) $_SESSION['alert'][] = 'info:done:'.$_POST['DELtankorId'][$i]; + else $_SESSION['alert'][] = 'alert:rollback:tankorId='.$_POST['DELtankorId'][$i]; + } + for ($i=0; $i$tanev,'tolDt'=>$refDt)); + $ADAT['tankorok']['diake'] = getTankorByDiakId($diakId,$tanev,array('tolDt'=>$refDt,'igDt'=>$refDt)); + /* Óraszámok megállapítása */ + $sum = 0; + if (is_array($ADAT['tankorok']['diake'])) + foreach ($ADAT['tankorok']['diake'] as $_ti => $TA) { + $_tankorId = $TA['tankorId']; + $a = getTankorOraszamByTanev($tanev,$_tankorId); + $ADAT['diakTankorOraszam'][$TA['tankorTipus']] += $a[$_tankorId]; + $sum += $a[$_tankorId]; + $ADAT['tankorok']['diake'][$_ti]['hetiOraszam'] = $a[$_tankorId]; + } + /* --- */ + $ADAT['diakOsszOraszam'] = ($sum); + } + if (is_array($osztalyIdk)) { + for ($i=0; $itrue)); + } + } + +} + + // ------------------------------------------------------------------------- + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('diakId','tanev','osztalyId'), + 'paramName' => 'refDt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), + 'igDt' => $TA['zarasDt'], +// 'napTipusok' => array('tanítási nap', 'speciális tanítási nap') + ); + + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'tanev' => $tanev, 'post' => array('tanev','refDt')); + $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('tanev','refDt','osztalyId')); + // $TOOL['tanarSelect'] = array('tipus'=>'sor','paramName'=>'tanarId', 'post'=>array()); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=tankor'), + 'titleConst' => array('_TANKOR'), 'post' => array('tankorId','mkId','targyId')); + + $TOOL['tanevLapozo'] = array('tipus'=>'sor','paramName'=>'tanev', 'post'=>array('diakId'), + 'tanev'=>$tanev); + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor.php new file mode 100644 index 00000000..de5d2785 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankor.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes-pre.php new file mode 100644 index 00000000..0c6f8821 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes-pre.php @@ -0,0 +1,113 @@ + $tanev, 'szemeszter'=> $ADAT['szemeszterAdat']['szemeszter'],'tipus' => array('előzetes tárgyválasztás','tárgyválasztás'), 'tolDt' => '', 'igDt' => '', 'return' => 'assoc')); + if (__VEZETOSEG===true || __NAPLOADMIN===true) { + define('__TARGYVALASZTAS',true); define('__MINCONTROL',false); + } else { + if (is_array($IDO) && count($IDO)>0) { + foreach ( $IDO as $idoszakId => $IDATA ) { + if ( strtotime($IDATA['előzetes tárgyválasztás'][0]['tolDt']) <= time() && time()<=strtotime($IDATA['előzetes tárgyválasztás'][0]['igDt'])) { + define('__TARGYVALASZTAS',true); define('__MINCONTROL',false); break; + } elseif ( strtotime($IDATA['tárgyválasztás'][0]['tolDt']) <= time() && time()<=strtotime($IDATA['tárgyválasztás'][0]['igDt'])) { + define('__TARGYVALASZTAS',true); define('__MINCONTROL',true); break; + } else { + // loop(); + } + } + } + } + if (!defined('__TARGYVALASZTAS')) { define('__TARGYVALASZTAS',false); define('__MINCONTROL',false); } + + if (__TARGYVALASZTAS===true) { + + } else { + $_SESSION['alert'][] = 'info:nem_targyvalasztasi_idoszak:'; + } + + /* Képzésre vonatkozó beállítások */ + $ADAT['diakKepzes'] = getKepzesByDiakId($diakId, array('result'=>'assoc','dt'=>$refDt)); + for ($i=0; $i $tanev)); + for($j=0; $j1) $_SESSION['alert'][] = ':multi_evfolyam:'; + $ADAT['kepzesOraszam'][$K['kepzesId']] = getOraszamByKepzes($K['kepzesId'],array('evfolyam'=>$ADAT['diakEvfolyam'][0], 'szemeszter'=>$ADAT['szemeszterAdat']['szemeszter'])); + } + //var_dump($ADAT['kepzesOraszam']['kötelezően választható']['sum']); + //var_dump($ADAT['kepzesOraszam']['szabadon választható']['sum']); + /* Képzés vége */ + + //define('__MODOSITHATO',(( (__NAPLOADMIN || __VEZETOSEG) && ($ADAT['szemeszterAdat']['statusz']=='aktív' || (__FOLYO_TANEV && $tanev==__TANEV))))); + + if ($action=='do' && __TARGYVALASZTAS===true && (__VEZETOSEG===true || __NAPLOADMIN===true || __DIAK===true)) { + foreach($_POST as $pNev => $pErtek) { + if (substr($pNev,0,strlen("UJTANKORID")) == 'UJtankorId') { + $_D = array('tankorId'=>intval(substr($pNev,10)),'diakId'=>$diakId,'tolDt'=> $refDt); + tankorDiakFelvesz($_D); + } elseif (substr($pNev,0,strlen("DELTANKORID")) == 'DELtankorId') { + $_D = array('tankorId'=>intval(substr($pNev,11)),'diakId'=>$diakId,'tolDt'=>$refDt,'MIN_CONTROL'=>__MINCONTROL); + tankorDiakTorol($_D); + } + } + } elseif ($action=='do') { + $_SESSION['alert'][] = 'info:deadline_expired:'; + } + + if ($diakId!='') { + $ADAT['osztalyok'] = $osztalyIdk = getDiakOsztalya($diakId, array('tanev'=>$tanev,'result'=>'csakid')); + $ADAT['tankorok']['diake'] = getTankorByDiakId($diakId,$tanev,array('tolDt'=>$refDt,'igDt'=>$refDt)); + } + $ADAT['tankorBlokkok'] = getTankorBlokkok($tanev); + if ($diakId=='' OR ($diakId!='' && is_array($ADAT['osztalyok']) && count($ADAT['osztalyok'])!=0)) + $ADAT['tankorok']['valaszthato'] = getValaszthatoTankorok($tanev,$ADAT['szemeszterAdat']['szemeszter'], $ADAT['osztalyok']); + if (__DIAK!==true) $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('tanev','szemeszterId','refDt')); + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName'=>'szemeszterId', 'post'=>array('diakId'), + 'tanev'=>$tanev, 'statusz'=>array('aktív')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=tankor'), + 'titleConst' => array('_TANKOR'), 'post' => array('tankorId','mkId','targyId')); + + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes.php b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes.php new file mode 100644 index 00000000..52819ca3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/diakTankorJelentkezes.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/felmentes-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/felmentes-pre.php new file mode 100644 index 00000000..3dfae44a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/felmentes-pre.php @@ -0,0 +1,67 @@ +'assoc')); + + if ($osztalyId!='') { + //$targyId = readVariable($_POST['targyId'],'id'); + //$ADAT['diakAdat'] = getDiakAdatById($diakId); + //$ADAT['diakTargy'] = getTargyakByDiakId($diakId,array('tolDt'=>$dt,'result'=>'indexed')); + //$ADAT['diakTankor'] = getTankorByDiakId($diakId,__TANEV,array('tolDt'=>$dt,'igDt'=>$_TANEV['zarasDt'])); + $ADAT['felmentes'] = getFelmentes(array('csakId' => false, + 'osztalyId'=>$osztalyId, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt'=>$_TANEV['zarasDt'], 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól','értékelés alól'))); + } else { + $ADAT['felmentes'] = getFelmentes(array('csakId' => false, + 'tolDt' => $_TANEV['kezdesDt'], 'igDt'=>$_TANEV['zarasDt'], 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól','értékelés alól'))); + } + if (__NAPLOADMIN === true || __VEZETOSEG===true) { + } +/* ------------- */ + $ADAT['diakZaradek'] = getDiakZaradekok($diakId, array('tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'])); + $ADAT['tankorDiakFelmentes'] = getTankorDiakFelmentes($diakId, __TANEV,array('csakId' => false, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], 'result'=>'indexed', 'felmentesTipus'=>array('óralátogatás alól','értékelés alól')) ); + +/* + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('osztalyId', 'tanev'), + 'paramName' => 'dt', + 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])), + 'igDt' => $_TANEV['zarasDt'], + 'post'=>array('osztalyId','diakId') + ); +*/ + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, +// 'statusz' => $ADAT['statusz'], + 'post' => array('osztalyId','dt') + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/felmentes.php b/mayor-orig/www/policy/private/naplo/intezmeny/felmentes.php new file mode 100644 index 00000000..84bcb21d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/felmentes.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/intezmeny-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/intezmeny-pre.php new file mode 100644 index 00000000..46805e9e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/intezmeny-pre.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/intezmeny.php b/mayor-orig/www/policy/private/naplo/intezmeny/intezmeny.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek-pre.php new file mode 100644 index 00000000..2fc0ba1c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek-pre.php @@ -0,0 +1,92 @@ + $tAdat) $ADAT['targyIds'][] = $tAdat['targyId']; + $ADAT['tanarok'] = getTanarok(); + foreach ($ADAT['tanarok'] as $idx => $tAdat) $ADAT['tanarIds'][] = $tAdat['tanarId']; + $ADAT['vegzettsegek'] = getEnumField('naplo_intezmeny', 'kepesites', 'vegzettseg'); + $ADAT['fokozatok'] = getEnumField('naplo_intezmeny', 'kepesites', 'fokozat'); + $ADAT['specializaciok'] = getEnumField('naplo_intezmeny', 'kepesites', 'specializacio'); + foreach ($ADAT['kepesitesek'] as $idx => $kAdat) $ADAT['kepesitesIds'][] = $kAdat['kepesitesId']; + + $ADAT['kepesitesId'] = $kepesitesId = readVariable($_POST['kepesitesId'], 'id', null, $ADAT['kepesitesIds']); + if (isset($kepesitesId)) { + + if ($action == 'kepesitesModositas') { + // Alap adatok módosítása + $kepesitesNev = readVariable($_POST['kepesitesNev'], 'string'); + $vegzettseg = readVariable($_POST['vegzettseg'], 'enum', null, $ADAT['vegzettsegek']); + $fokozat = readVariable($_POST['fokozat'], 'enum', null, $ADAT['fokozatok']); + $specializacio = readVariable($_POST['specializacio'], 'enum', null, $ADAT['specializaciok']); + if (isset($kepesitesNev) && isset($vegzettseg) && isset($fokozat) && isset($specializacio)) { + $ok = kepesitesModositas($kepesitesId, $vegzettseg, $fokozat, $specializacio, $kepesitesNev); + if ($ok) $_SESSION['alert'][] = 'info:success'; + } + // Tárgy hozzárendelés + $targyId = readVariable($_POST['targyId'], 'id', null, $ADAT['targyIds']); + if (isset($targyId)) { + $ok = kepesitesTargyHozzarendeles($kepesitesId, $targyId); + if ($ok) $_SESSION['alert'][] = 'info:success'; + } + // Tanár hozzárendelés + $tanarId = readVariable($_POST['tanarId'], 'id', null, $ADAT['tanarIds']); + if (isset($tanarId)) { + $ok = tanarKepesitesHozzarendeles($tanarId, $kepesitesId); + if ($ok) $_SESSION['alert'][] = 'info:success'; + } + } elseif ($action == 'delTargy') { + + $targyId = readVariable($_POST['targyId'], 'id', null, $ADAT['targyIds']); + $ok = kepesitesTargyTorles($kepesitesId, $targyId); + $_JSON = array( + 'result' => ($ok?'success':'fail'), + 'targyId' => $targyId, + 'kepesitesId' => $kepesitesId + ); + + } elseif ($action == 'delTanar') { + + $tanarId = readVariable($_POST['tanarId'], 'id', null, $ADAT['tanarIds']); + $ok = tanarKepesitesTorles($tanarId, $kepesitesId); + $_JSON = array( + 'result' => ($ok?'success':'fail'), + 'tanarId' => $tanarId, + 'kepesitesId' => $kepesitesId + ); + + } + + } elseif ($action == 'ujKepesites') { + $kepesitesNev = readVariable($_POST['kepesitesNev'], 'string'); + $vegzettseg = readVariable($_POST['vegzettseg'], 'enum', null, $ADAT['vegzettsegek']); + $fokozat = readVariable($_POST['fokozat'], 'enum', null, $ADAT['fokozatok']); + $specializacio = readVariable($_POST['specializacio'], 'enum', null, $ADAT['specializaciok']); + if (isset($kepesitesNev) && isset($vegzettseg) && isset($fokozat) && isset($specializacio)) { + $ADAT['kepesitesId'] = $kepesitesId = ujKepesites($vegzettseg, $fokozat, $specializacio, $kepesitesNev); + if ($kepesitesId) $_SESSION['alert'][] = 'info:success'; + } + } + + + $ADAT['kepesitesek'] = getKepesitesek(); + if (isset($kepesitesId)) { + $i=0; + while ($i < count($ADAT['kepesitesek']) && $ADAT['kepesitesek'][$i]['kepesitesId'] != $kepesitesId) $i++; + $ADAT['kepesitesAdat'] = $ADAT['kepesitesek'][$i]; + $ADAT['kepesitesAdat']['targyak'] = getKepesitesTargy($kepesitesId); + $ADAT['kepesitesAdat']['tanarok'] = getKepesitesTanar($kepesitesId); + } + + $TOOL['kepesitesSelect'] = array('tipus'=>'cella', 'paramName'=>'kepesitesId','paramDesc'=>'kepesitesNev','title'=>'KEPESITES','adatok'=>$ADAT['kepesitesek'],'post' => array()); + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek.php new file mode 100644 index 00000000..76b8e11b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepesitesek.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepzes-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepzes-pre.php new file mode 100644 index 00000000..152e8e75 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepzes-pre.php @@ -0,0 +1,60 @@ + 'assoc', 'minden'=>true)); + $ADAT['osztalyJelleg'] = getOsztalyJellegek(); + + if ($action == 'ujKepzes') { + $kepzesNev = readVariable($_POST['kepzesNev'], 'string', null); + $tolTanev = readVariable($_POST['tolTanev'], 'numeric unsigned', null); + $osztalyJellegId = readVariable($_POST['osztalyJellegId'], 'id', null); + if (isset($kepzesNev) && isset($tolTanev) && isset($osztalyJellegId)) $kepzesId = ujKepzes($kepzesNev, $tolTanev, $osztalyJellegId); + else $_SESSION['alert'][] = 'message:wrong_data'; + if ($kepzesId) { + $ADAT['kepzesAdat'] = getKepzesAdatById($kepzesId); + } + } elseif ($action == 'kepzesModositas') { + $kepzesNev = readVariable($_POST['kepzesNev'], 'string', null); + $tolTanev = readVariable($_POST['tolTanev'], 'numeric unsigned', null); + $osztalyJellegId = readVariable($_POST['osztalyJellegId'], 'id', null); + $osztalyIds = readVariable($_POST['osztalyId'], 'id'); + $delOsztalyIds = readVariable($_POST['delOsztalyId'], 'id'); + if (isset($kepzesNev) && isset($tolTanev)) + $MODOSIT = array('kepzesId'=>$kepzesId, + 'kepzesNev'=>$kepzesNev, + 'tolTanev'=>$tolTanev, + 'osztalyIds'=>$osztalyIds, + 'delOsztalyIds'=>$delOsztalyIds, + 'osztalyJellegId'=>$osztalyJellegId + ); + if (isset($kepzesNev) && isset($tolTanev)) kepzesModositas($MODOSIT); + else $_SESSION['alert'][] = 'message:wrong_data'; + $ADAT['kepzesAdat'] = getKepzesAdatById($kepzesId); + } elseif ($action == 'kepzesEles') { + $kepzesEles = readVariable($_POST['kepzesEles'],'bool',null); // bool + kepzesEles($kepzesId,(($kepzesEles-1)*(-1))); + $ADAT['kepzesAdat'] = getKepzesAdatById($kepzesId); + } + + $TOOL['kepzesSelect'] = array('tipus'=>'cella', 'post' => array()); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=osztaly','index.php?page=naplo&sub=intezmeny&f=kepzesOraterv'), + 'titleConst' => array('_OSZTALYHOZ','_KEPZESORATERVHEZ'), 'post' => array('kepzesId'), + 'paramName'=>'kepzesId'); // paramName ? + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepzes.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepzes.php new file mode 100644 index 00000000..c55395ac --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepzes.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv-pre.php new file mode 100644 index 00000000..f82ea1cf --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv-pre.php @@ -0,0 +1,114 @@ + $value) { + if (substr($key,0,6)=='torol_') { + list($_rest, $_tipus, $_targyId) = explode('_',$key); + $_tipus = _unescape(readVariable($_tipus,'strictstring')); + $_targyId = readVariable($_targyId,'id'); + dropKepzesOratervRekord($kepzesId,$_tipus,$_targyId); + $submit_done = true; + } + } + if (!$submit_done) { + list($tipus,$targyId) = explode('_',readVariable($_POST['UJ_targyTipusId'],'string')); + $UJtipus = (substr($tipus,0,1)=='E') ? _unescape(readVariable($tipus,'strictstring')) : ''; + $UJtargyId = readVariable($targyId,'id'); + unset($tipus); unset($targyId); + reset($_POST); + foreach($_POST as $key => $value) { + if (substr($key,0,3) == 'MO_') {//MAX ÓRASZÁM + list($skey, $evfolyamJel) = explode('_',$key); + if (is_numeric($value)) $DDATA['oraszamok'][$evfolyamJel]['max'] = $value; + } elseif (substr($key,0,3) == 'KO_') {//KÖT ÓRASZÁM + list($skey, $evfolyamJel) = explode('_',$key); + if (is_numeric($value)) $DDATA['oraszamok'][$evfolyamJel]['kotelezo'] = $value; + } elseif (substr($key,0,2) == 'T_') {// a tárgyhoz tartozó óraszám + list($tipus, $targyId, $val, $evfolyamJel, $szemeszter) = explode('_',substr($key,2)); + $tipus = _unescape($tipus); + $targyId = readVariable($targyId,'id'); + //if (intval($targyId)==0) $targyId = _unescape($targyId,$ADAT['kepzesOraterv.tipus']); + if ($val=='O') { // heti óraszám + $DDATA['adatok'][$tipus][$targyId][$evfolyamJel][$szemeszter]['oraszam'] = $value; + } elseif ($val=='K') { // követelmény + $DDATA['adatok'][$tipus][$targyId][$evfolyamJel][$szemeszter]['kovetelmeny'] = $value; + } + /* Ha az új tárgyhoz tartozó adatok jönnek, pakoljuk a megfelelő tömbbe */ + } elseif (substr($key,0,4) == 'UJ_O' && $UJtipus!='') {// az új tárgyhoz tartozó óraszám + list($skey1, $skey2, $evfolyamJel, $szemeszter) = explode('_',$key); + if (is_numeric($value)) $DDATA['adatok'][$UJtipus][$UJtargyId][$evfolyamJel][$szemeszter]['oraszam'] = $value; + } elseif (substr($key,0,4) == 'UJ_K' && $UJtipus!='') {// az új tárgyhoz tartozó óraszám + list($skey1, $skey2, $evfolyamJel, $szemeszter) = explode('_',$key); + $DDATA['adatok'][$UJtipus][$UJtargyId][$evfolyamJel][$szemeszter]['kovetelmeny'] = $value; + } + } + modifyKepzesOraterv($DDATA,$kepzesId); + } + + } + + if (isset($kepzesId)) { + $ADAT['kepzesAdat'] = getKepzesAdatById($kepzesId); + $ADAT['oraszam'] = getKepzesOraszam($kepzesId); + $ADAT['oraterv'] = getKepzesOraterv($kepzesId); + $ADAT['targyak'] = getTargyak(); + if ($ADAT['oraterv']==array()) { + // A kiválasztottal azonos osztályJelleghez tartozó képzések listája - ebbe benne van maga a kiválasztott képzés is! + $ADAT['hasonloKepzesek'] = getKepzesByOsztalyJelleg($ADAT['kepzesAdat']['osztalyJellegId']); + } + } + $ADAT['osztalyok'] = getOsztalyok($tanev, array('result' => 'assoc','minden'=>true)); + +// $ADAT['kepzesOraszam'] = getKepzesOraszam($kepzesId); +// $ADAT['kepzesOraterv'] = getKepzesOraterv($kepzesId); + + if (isset($kepzesId) && !is_numeric($ADAT['kepzesAdat']['osztalyJelleg']['osztalyJellegId'])) + $_SESSION['alert'][] = 'error:nincs megadva osztály jelleg!'; + + + + $TOOL['kepzesSelect'] = array('tipus'=>'cella', 'post' => array()); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=osztaly','index.php?page=naplo&sub=intezmeny&f=kepzes'), + 'titleConst' => array('_OSZTALYHOZ','_KEPZESHEZ'), 'post' => array('kepzesId'), + 'paramName'=>'kepzesId'); // paramName ? + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv.php b/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv.php new file mode 100644 index 00000000..d56f4019 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/kepzesOraterv.php @@ -0,0 +1,12 @@ + 1) putOratervMasolas($ADAT); + putKepzesOraterv($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg-pre.php new file mode 100644 index 00000000..f8524925 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg-pre.php @@ -0,0 +1,110 @@ + $mkId, 'tanev' => $__TANEV)); + $ADAT['mkAdat'] = getMunkakozossegById($mkId); + $ADAT['targyak'] = getTargyakByMkId($mkId); + } else { + $TANAROK_INMK = array(); + } + + + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','munkakozossegek'=>$ADAT['munkakozossegek'],'paramName' => 'mkId', 'post'=>array()); + $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'post'=>array('mkId')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg.php b/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg.php new file mode 100644 index 00000000..82ca17ea --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/munkakozosseg.php @@ -0,0 +1,27 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/osztaly-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/osztaly-pre.php new file mode 100644 index 00000000..ddc17765 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/osztaly-pre.php @@ -0,0 +1,323 @@ + $tAdat) $ADAT['telephelyIds'][] = $tAdat['telephelyId']; + $ADAT['osztalyJellegek'] = getOsztalyJellegek(array('result'=>'assoc')); // Ez mondjuk nem intézmény függő... +} + +$ADAT['tanev'] = $tanev = readVariable($_POST['tanev'], 'numeric unsigned', __TANEV, $ADAT['tanevek']); +$ADAT['telephelyId'] = $telephelyId = readVariable($_POST['telephelyId'], 'id', (isset($_POST['telephelyId'])?null:readVariable(__TELEPHELYID,'id')), $ADAT['telephelyIds']); +$ADAT['osztalyId'] = $osztalyId = $_POST['osztalyId'] = readVariable($_POST['osztalyId'], 'id', readVariable($_GET['osztalyId'],'id',null)); +if ($tanev != __TANEV) $TA = getTanevAdat($tanev); +else $TA = $_TANEV; + +/* -------- */ +// Adatok frissítése adatállományból + +if (__NAPLOADMIN && isset($_POST['fileName']) && $_POST['fileName'] != '') { + define('_SKIP_ON_DUP',readVariable($_POST['skipOnDup'],'bool')); + $mezo_elvalaszto = ' '; // "\t" +// $fileName = fileNameNormal($_POST['fileName']); + $fileName = ($_POST['fileName']); // TODO + $ADATOK = array(); + + if (file_exists($fileName)) { + + if (!is_array($_POST['MEZO_LISTA'])) { + + $ADATOK = readUpdateFile($fileName); + if (count($ADATOK) > 0) $attrList = getTableFields('diak', 'naplo_intezmeny',array('beDt','kiDt')); + else $_SESSION['alert'][] = 'message:wrong_data'; + + } else { + + $MEZO_LISTA = $_POST['MEZO_LISTA']; + $KULCS_MEZOK = $_POST['KULCS_MEZOK']; + updateOsztaly($osztalyId, $fileName, $MEZO_LISTA, $KULCS_MEZOK, $mezo_elvalaszto, readVariable($_POST['rovatfej'], 'bool')); + + } // MEZO_LISTA tömb + } else { + $_SESSION['alert'][] = 'message:file_not_found:'.$fileName; + } // A file létezik-e + +} // van file +/* -------- */ + +if (isset($osztalyId)) { + $_evfolyamSzamElteres = getOsztalyEvfolyamSzamElteres($osztalyId); + if ($_evfolyamSzamElteres>0) $_SESSION['alert'][] = 'alert:hibás évfolyam beállítás! Az osztály jellege kevesebb évfolyamot ír elő! (Ellenőrizd, hogy végzés tanéve jól van-e beállítva!)'; + elseif ($_evfolyamSzamElteres<0) $_SESSION['alert'][] = 'info:kevesebb évfolyam alatt végez az osztály, mint az osztály jellege előírná. Ez megszűnő, vagy később belépő osztályoknál megengedett.'; + + if ( in_date_interval(date('Y-m-d'),$TA['elozoZarasDt'],$TA['kovetkezoKezdesDt']) ) { + $dt = $ADAT['dt'] = readVariable($_POST['dt'], 'date', date('Y-m-d')); + } else { + $dt = $ADAT['dt'] = $TA['elozoZarasDt']; + } + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId, $tanev); + + if (!($ADAT['osztalyAdat']["kezdoTanev"]<=$tanev && $ADAT['osztalyAdat']["vegzoTanev"]>=$tanev)) $_SESSION['alert'][]='error:hibás tanév beállítás'; + + $diakIds = $ADAT['osztalyAdat']['kepzesIds'] = array(); + if (is_array($ADAT['osztalyAdat']['kepzes'])) + for ($i = 0; $i < count($ADAT['osztalyAdat']['kepzes']); $i++) $ADAT['osztalyAdat']['kepzesIds'][] = $ADAT['osztalyAdat']['kepzes'][$i]['kepzesId']; + $OsztalyNevsor = getDiakokByOsztaly($osztalyId, array('tanev' => $tanev)); + + foreach ($OsztalyNevsor as $key => $value) if (is_numeric($key)) { + $diakIds[] = $key; + $ADAT['osztalyNevsor'][$key] = $value; + } + + $ADAT['diakKepzes'] = getKepzesByDiakId($diakIds, array('result' => 'assoc')); + $ADAT['diakok'] = getDiakok(array('tanev' => $tanev)); +} + +if ($action == 'osztalyAdatModositas' && __NAPLOADMIN) { + + $leiras = readVariable($_POST['leiras'], 'string'); + $ofoTanarId = readVariable($_POST['ofoTanarId'], 'id'); + $ofoBeDt = readVariable($_POST['ofoBeDt'], 'date'); + $ofoKiDt = readVariable($_POST['ofoKiDt'], 'date', ''); + $tanarId = readVariable($_POST['tanarId'], 'id'); + $beDt = readVariable($_POST['beDt'], 'date'); + $kiDt = readVariable($_POST['kiDt'], 'date'); + $ADAT['telephelyId'] = readVariable($_POST['telephelyId'], 'id', null, $ADAT['telephelyIds']); + $ADAT['osztalyJellegId'] = readVariable($_POST['osztalyJellegId'],'id',null); + $ADAT['kezdoEvfolyamSorszam'] = readVariable($_POST['kezdoEvfolyamSorszam'],'numeric unsigned', $ADAT['osztalyAdat']['kezdoEvfolyamSorszam'], + range(1, count($ADAT['osztalyAdat']['evfolyamJelek'])-$ADAT['osztalyAdat']['vegzoTanev']+$ADAT['osztalyAdat']['kezdoTanev']) + ); + + $lr = db_connect('naplo_intezmeny'); + // leírás/telephely megadása, módosítása + if ( + (isset($leiras) && $leiras != $ADAT['osztalyAdat']['leiras']) + || (isset($ADAT['telephelyId']) && $ADAT['telephelyId'] != $ADAT['osztalyAdat']['telephelyId']) + || (isset($ADAT['kezdoEvfolyamSorszam']) && $ADAT['kezdoEvfolyamSorszam'] != $ADAT['osztalyAdat']['kezdoEvfolyamSorszam']) + + || (isset($ADAT['osztalyJellegId']) && $ADAT['osztalyJellegId'] != $ADAT['osztalyAdat']['osztalyJellegId']) + ) { + osztalyLeirasTelephelyModositas($osztalyId, $leiras, $ADAT['telephelyId'], $ADAT['osztalyJellegId'], $ADAT['kezdoEvfolyamSorszam'], $ADAT['osztalyAdat'], $lr); + $_SESSION['alert'][] = 'info:done'; + } + // Osztályfőnöki kinevezés lezárása + for ($i = 0; $i < count($ofoTanarId); $i++) { + if ($ofoKiDt[$i] != '') osztalyfonokKileptetes($osztalyId, $ofoTanarId[$i], $ofoBeDt[$i], $ofoKiDt[$i], $lr); + } + // Új osztályfőnök felvétele + if ($tanarId != '' and $beDt != '') osztalyfonokKinevezes($osztalyId, $tanarId, $beDt, $lr); + // A módosított adatok lekérdezése + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId, $tanev, $lr); + $ADAT['osztalyAdat']['kepzesIds'] = array(); + if (is_array($ADAT['osztalyAdat']['kepzes'])) + for ($i = 0; $i < count($ADAT['osztalyAdat']['kepzes']); $i++) $ADAT['osztalyAdat']['kepzesIds'][] = $ADAT['osztalyAdat']['kepzes'][$i]['kepzesId']; + db_close($lr); + +} elseif ($action == 'nyekOsztalyLeptetes' && __NAPLOADMIN) { +// EZ MÁR ELAVULT! TODO +/* + $ADAT['ujOsztaly']['tanevek'] = $ADAT['tanevek']; +// $ADAT['ujOsztaly']['kezdoTanev'] = $ADAT['osztalyAdat']['vegzoTanev']+1; +// $ADAT['ujOsztaly']['vegzoTanev'] = readVariable($_POST['vegzoTanev'], 'numeric unsigned', null, $ADAT['tanevek']); +// $ADAT['ujOsztaly']['kezdoEvfolyam'] = $ADAT['osztalyAdat']['kezdoEvfolyam']; + $ADAT['ujOsztaly']['jel'] = readVariable($_POST['osztalyJel'], 'string'); + $ADAT['ujOsztaly']['leiras'] = $ADAT['osztalyAdat']['leiras']; + $ADAT['ujOsztaly']['telephelyId'] = $ADAT['osztalyAdat']['telephelyId']; + $ADAT['ujOsztaly']['osztalyJellegId'] = $ADAT['osztalyJellegek'][ $ADAT['osztalyAdat']['osztalyJellegId'] ]['kovOsztalyJellegId']; // NyEK osztály + // Új osztály létrehozása +// if (isset($ADAT['ujOsztaly']['kezdoTanev']) && isset($ADAT['ujOsztaly']['vegzoTanev']) && isset($ADAT['ujOsztaly']['kezdoEvfolyam']) && isset($ADAT['ujOsztaly']['jel'])) { +// $ujOsztalyId = ujOsztaly($ADAT['ujOsztaly']); +// } + // Képzés hozzárendelés + setOsztalyKepzesei($ujOsztalyId, $ADAT['osztalyAdat']['kepzesIds']); + // A jelen év végétől kinevezzük az osztályfőnököt + if (__TANEV == $ADAT['osztalyAdat']['vegzoTanev']) $beDt = date('Y-m-d', strtotime('next month', strtotime($_TANEV['zarasDt']))); + else $beDt = $ADAT['ujOsztaly']['kezdoTanev'].'-08-01'; + osztalyfonokKinevezes($ujOsztalyId, $ADAT['osztalyAdat']['osztalyfonok']['tanarId'], $beDt); + // osztálytagok felvétele + $diakIds = array_merge($OsztalyNevsor['jogviszonyban van'], $OsztalyNevsor['magántanuló']); + foreach ($diakIds as $diakId) { + ujTag($ujOsztalyId, $diakId, $beDt, null); + osztalyDiakTorol(array('osztalyId' => $osztalyId, 'diakId' => $diakId, 'tolDt' => $beDt, 'igDt' => null, 'zaradekkal' => false)); + } + // TODO: régi osztályhoz rendelt tankörök hozzárendelése az új osztályhoz és átnevezés +*/ +} elseif ($action == 'osztalyJelVegzesModositas' && __NAPLOADMIN) { + // TODO: nem szabadna akárhogy változtatni a tanéveket! Nem lehet vtanev az osztalyJelleg evfolyamok számánál + $ujKezdoTanev = readVariable($_POST['ujKezdoTanev'], 'numeric unsigned'); + $ujVegzoTanev = readVariable( + $_POST['ujVegzoTanev'], 'numeric unsigned',null,array(), + '$return>='.$ujKezdoTanev.' && $return-'.$ujKezdoTanev.'+'.$ADAT['osztalyAdat']['kezdoEvfolyamSorszam'].'<='.count($ADAT['osztalyAdat']['evfolyamJelek']) + ); + $ujOsztalyJel = readVariable($_POST['ujOsztalyJel'], 'string'); + if (is_null($ujKezdoTanev) || is_null($ujVegzoTanev) || $ujOsztalyJel == '') { + $_SESSION['alert'][] = 'message:wrong_data:kezdoTanev='.$_POST['ujKezdoTanev'].', vegzoTanev='.$_POST['ujVegzoTanev'].', jel='.$_POST['ujOsztalyJel']; + } else { + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + $r = array(); + if ($ujVegzoTanev!='') { + $q = "UPDATE osztaly SET vegzoTanev=%u WHERE osztalyId=%u"; + $v = array($ujVegzoTanev,$osztalyId); + $r[] = db_query($q, array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + } + if ($ujKezdoTanev!='') { + $q = "UPDATE osztalyDiak SET beDt = (SELECT kezdesDt FROM szemeszter WHERE tanev=%u AND szemeszter=1) WHERE osztalyId=%u AND beDt<(SELECT kezdesDt FROM szemeszter WHERE tanev=%u AND szemeszter=1)"; + $v = array($ujKezdoTanev,$osztalyId,$ujKezdoTanev); + $r[] = db_query($q, array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + + $q = "UPDATE osztaly SET kezdoTanev=%u WHERE osztalyId=%u"; + $v = array($ujKezdoTanev,$osztalyId); + $r[] = db_query($q, array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + } + + if ($ujOsztalyJel=='') { + $q = "SELECT jel FROM osztaly WHERE osztalyId = %u"; + $v = array($osztalyId); + $osztalyJel = db_query($q, array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'value', 'values' => $v), $lr); + $ujOsztalyJel = $osztalyJel; + } else { + $osztalyJel=$ujOsztalyJel; + $q = "UPDATE osztaly SET jel='%s' WHERE osztalyId=%u"; + $v = array($ujOsztalyJel,$osztalyId); + $r[] = db_query($q, array('fv' => '', 'modul' => 'naplo_intezmeny', 'result' => 'insert', 'values' => $v), $lr); + } + $OSZTALYADAT = getOsztalyAdat($osztalyId,__TANEV,$lr); + + // az osztalyNaplo.osztalyJelet is módosítani kell, minden érintett tanévben! + $r[] = updateosztalyNev($osztalyId, $lr); + + if (!in_array(false,$r)) db_commit($lr); + else db_rollback($lr); + db_close($lr); + } // ha van kezdoTanev, zaroTanev, jel + +} elseif ($action == 'ujOsztaly' && __NAPLOADMIN) { + + $ADAT['kezdoTanev'] = readVariable($_POST['kezdoTanev'], 'numeric unsigned', null, $ADAT['tanevek']); + $ADAT['vegzoTanev'] = readVariable($_POST['vegzoTanev'], 'numeric unsigned', null, $ADAT['tanevek']); + $ADAT['kezdoEvfolyamSorszam'] = readVariable($_POST['kezdoEvfolyamSorszam'], 'numeric unsigned',1); + $ADAT['jel'] = readVariable($_POST['jel'], 'string'); + $ADAT['leiras'] = readVariable($_POST['leiras'], 'string'); + $ADAT['telephelyId'] = readVariable($_POST['telephelyId'], 'id', null, $ADAT['telephelyIds']); + $ADAT['osztalyJellegId'] = readVariable($_POST['osztalyJellegId'],'id',null); + if (isset($ADAT['osztalyJellegId']) && isset($ADAT['kezdoTanev']) && isset($ADAT['vegzoTanev']) && isset($ADAT['kezdoEvfolyamSorszam']) && isset($ADAT['jel'])) { + $osztalyId = $ADAT['osztalyId'] = ujOsztaly($ADAT); + if ($osztalyId) { + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId, $tanev); + $diakIds = $ADAT['osztalyAdat']['kepzesIds'] = array(); + if (is_array($ADAT['osztalyAdat']['kepzes'])) + for ($i = 0; $i < count($ADAT['osztalyAdat']['kepzes']); $i++) $ADAT['osztalyAdat']['kepzesIds'][] = $ADAT['osztalyAdat']['kepzes'][$i]['kepzesId']; + $ADAT['diakok'] = getDiakok(array('tanev' => $tanev)); + } + } else { + $_SESSION['alert'][] = 'message:empty_field:'."${ADAT['kezdoTanev']}, ${ADAT['vegzoTanev']}, ${ADAT['kezdoEvfolyamSorszam']}, ${ADAT['jel']}"; + } +} elseif ($action == 'osztalyNevsor' && (__NAPLOADMIN || __VEZETOSEG || _TITKARSAG)) { + $kepzesMod = array(); + if (is_array($_POST['diakKepzes'])) foreach ($_POST['diakKepzes'] as $index => $kepzes) { + list($_diakId,$kepzesId) = explode('/', $kepzes); + // kirakjuk az osztályhoz nem tartozó képzéseit is - hogy könnyebb legyen kezelni... + if (in_array($_diakId, $diakIds)) { + $kepzesMod[$kepzesId][] = $_diakId; + } + } + diakKepzesModositas($diakIds, $kepzesMod, $dt); + $ADAT['diakKepzes'] = getKepzesByDiakId($diakIds, array('result' => 'assoc')); +} elseif ($action == 'ujTag' && (__NAPLOADMIN || __VEZETOSEG || __TITKARSAG)) { + $diakId = readVariable($_POST['diakId'], 'id'); + $beDt = readVariable($_POST['beDt'], 'date'); + $kiDt = readVariable($_POST['kiDt'], 'date'); + if (isset($diakId) && isset($beDt)) { + if (ujTag($osztalyId, $diakId, $beDt, $kiDt)) { + $OsztalyNevsor = getDiakokByOsztaly($osztalyId, array('tanev' => $tanev)); + foreach ($OsztalyNevsor as $key => $value) if (is_numeric($key)) { + $ADAT['osztalyNevsor'][$key] = $value; + } + $diakIds = array_keys($ADAT['osztalyNevsor']); + } + } +} elseif ($action == 'tagTorles' && __NAPLOADMIN) { + $elozoTanev = getTanevAdat(intval(__TANEV)-1); $elozoTanevZarasTime = strtotime($elozoTanev['zarasDt']); + $PARAM['diakId'] = readVariable($_POST['diakId'], 'id'); +// $PARAM['tolDt'] = readVariable($_POST['tolDt'], 'date', null, array(), 'strtotime($return) > '.$elozoTanevZarasTime); + $PARAM['tolDt'] = readVariable($_POST['tolDt'], 'date'); + $PARAM['igDt'] = readVariable($_POST['igDt'], 'date', null, array(), 'strtotime('."'${PARAM['tolDt']}'".') < strtotime($return)'); + $PARAM['osztalyId'] = $ADAT['osztalyId']; + $PARAM['zaradekkal'] = false; + if (isset($PARAM['osztalyId']) && isset($PARAM['diakId']) && isset($PARAM['tolDt'])) { + if (osztalyDiakTorol($PARAM)) { + $OsztalyNevsor = getDiakokByOsztaly($osztalyId, array('tanev' => $tanev)); + foreach ($OsztalyNevsor as $key => $value) if (is_numeric($key)) { + $ADAT['osztalyNevsor'][$key] = $value; + } + $diakIds = array_keys($ADAT['osztalyNevsor']); + } + } else { $_SESSION['alert'][] = 'message:empty_field'; } +} elseif ($action == 'osztalyTorles' && __NAPLOADMIN) { + if (osztalyTorles($osztalyId)) { + unset($osztalyId); + $ADAT['osztalyAdat'] = array(); + } +} + +/* ------------------------------------------------- */ +/* REFRESH */ + +if (isset($osztalyId)) { + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId, $tanev); + $diakIds = $ADAT['osztalyAdat']['kepzesIds'] = array(); + if (is_array($ADAT['osztalyAdat']['kepzes'])) + for ($i = 0; $i < count($ADAT['osztalyAdat']['kepzes']); $i++) $ADAT['osztalyAdat']['kepzesIds'][] = $ADAT['osztalyAdat']['kepzes'][$i]['kepzesId']; + $OsztalyNevsor = getDiakokByOsztaly($osztalyId, array('tanev' => $tanev)); + $ADAT['osztalyNevsor'] = array(); + foreach ($OsztalyNevsor as $key => $value) if (is_numeric($key)) { + $diakIds[] = $key; + $ADAT['osztalyNevsor'][$key] = $value; + } + $ADAT['diakKepzes'] = getKepzesByDiakId($diakIds, array('result' => 'assoc')); + $ADAT['diakok'] = getDiakok(array('tanev' => $tanev)); + + for ($_ev = $ADAT['osztalyAdat']['kezdoTanev']; $_ev<=$ADAT['osztalyAdat']['vegzoTanev']; $_ev++) { + $ADAT['osztalyJelek'][$_ev] = getOsztalyJel($osztalyId,$_ev,$ADAT['osztalyAdat']); + } +} + +// írjuk ezt felül, nekünk minden eddigi ofő bejegyzésre szükségünk van +if (isset($osztalyId)) $ADAT['osztalyAdat']['osztalyfonokok'] = getOsztalyfonokok($osztalyId); + +$TOOL['tanevSelect'] = array('tipus'=>'cella','paramName' => 'tanev', 'tervezett' => true, 'action' => 'tanevValtas', 'post'=>array('telephelyId')); +$TOOL['telephelySelect'] = array('tipus'=>'cella','paramName' => 'telephelyId', 'post' => array('tanev','dt')); +$TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post'=>array('tanev','telephelyId','dt'), 'telephelyId' => $telephelyId); +$TOOL['datumSelect'] = array('tipus'=>'sor','paramName'=>'dt','tolDt'=>$TA['elozoZarasDt'],'igDt'=>$TA['kovetkezoKezdesDt'],'override'=>true,'post'=>array('tanev','telephelyId','osztalyId')); +$TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=kepzes'), + 'titleConst' => array('_KEPZES'), 'post' => array(''), + 'paramName'=>'kepzesId'); // paramName ? + +getToolParameters(); + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/osztaly.php b/mayor-orig/www/policy/private/naplo/intezmeny/osztaly.php new file mode 100644 index 00000000..c4f0ca80 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/osztaly.php @@ -0,0 +1,40 @@ +=$ADAT['tanev'])) { + + putOsztalyAdatokForm($ADAT); + + if ($ADAT['osztalyJellegek'][ $ADAT['osztalyAdat']['osztalyJellegId'] ]['kovOsztalyJellegId'] != 0) { // NyEK évfolyam + putOsztalyLeptetes($ADAT); + } + if (is_array($ADAT['osztalyNevsor'])) { + putOsztalyNevsor($ADAT); + putTagTorlesForm($ADAT); + } + putUjTagForm($ADAT); + + if (__NAPLOADMIN) { + if ($fileName == '') { + putFileSelectForm('naplo_intezmeny:diak',array('osztalyId','tanev')); + } elseif ($MEZO_LISTA == '') { + if (count($ADATOK) > 0) + putFieldSelectForm($fileName, $ADATOK, $attrList, 'naplo_intezmeny:diak',array('osztalyId','tanev')); + else + echo 'NINCS ADAT!'; + } else { + echo 'Adatfeldolgozás kész.'; + } + // osztalyTorlesForm($ADAT['osztalyId']); + } + } elseif (__NAPLOADMIN) { + putUjOsztalyForm($ADAT); + } + + + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/szulo-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/szulo-pre.php new file mode 100644 index 00000000..a54ad8aa --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/szulo-pre.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/szulo.php b/mayor-orig/www/policy/private/naplo/intezmeny/szulo.php new file mode 100644 index 00000000..25b61d7f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/szulo.php @@ -0,0 +1,24 @@ +'."\n"; + $SEL = array($value => ' selected="selected" '); + echo ''."\n"; + for ($i = 0; $i < count($Szulok['szuloIds']); $i++) { + $szuloId = $Szulok['szuloIds'][$i]; + echo ''."\n"; + } + echo ''."\n"; + formEnd(); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tanar-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tanar-pre.php new file mode 100644 index 00000000..daa02fef --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tanar-pre.php @@ -0,0 +1,108 @@ +_DOWNLOADDIR.'/private/naplo/face/tanar/','filename'=>$tanarId.'.jpg')); + } elseif (isset($_POST['fileName']) && $_POST['fileName'] != '') { + + $mezo_elvalaszto = ' '; + $fileName = fileNameNormal($_POST['fileName']); + $ADATOK = array(); + if (file_exists($fileName)) { + + if (!is_array($_POST['MEZO_LISTA'])) { + + $ADATOK = readUpdateFile($fileName); + if (count($ADATOK) > 0) $attrList = getTableFields('tanar', 'naplo_intezmeny', $extraAttrs = array()); + else $_SESSION['alert'][] = 'message:wrong_data'; + + } else { + + $MEZO_LISTA = $_POST['MEZO_LISTA']; + $KULCS_MEZOK = $_POST['KULCS_MEZOK']; + updateTable('tanar', $fileName, $MEZO_LISTA, $KULCS_MEZOK, $mezo_elvalaszto, $_POST['rovatfej']); + + } // MEZO_LISTA tömb + } else { + $_SESSION['alert'][] = 'message:file_not_found:'.$fileName; + } // A file létezik-e + + } // van file + + if ($action == 'ujTanar') { + $kotelezoParamOk = (isset($_POST['viseltCsaladinev']) && $_POST['viseltCsaladinev'] != ''); + $kotelezoParamOk &= (isset($_POST['beDt']) && $_POST['beDt'] != ''); + if ($kotelezoParamOk) { + $tanarId = ujTanar($_POST); + if ($tanarId) list($ADAT['tanarAdat']) = getTanarAdatById($tanarId); + } else { + $_SESSION['alert'][] = 'message:empty_field:(viseltCsaladinev,beDt)'; + } + } + if (isset($tanarId)) { + + $ADAT['tanarId'] = $tanarId; + $ADAT['kepesitesek'] = getKepesitesek(); + foreach ($ADAT['kepesitesek'] as $idx => $kAdat) $ADAT['kepesitesIds'][] = $kAdat['kepesitesId']; + $ADAT['besorolasok'] = getEnumField('naplo_intezmeny', 'tanar', 'besorolas'); + $ADAT['vegzettsegek'] = getEnumField('naplo_intezmeny', 'kepesites', 'vegzettseg'); + $ADAT['fokozatok'] = getEnumField('naplo_intezmeny', 'kepesites', 'fokozat'); + $ADAT['specializaciok'] = getEnumField('naplo_intezmeny', 'kepesites', 'specializacio'); + $ADAT['statuszok'] = getEnumField('naplo_intezmeny', 'tanar', 'statusz'); + + if ( + $action == 'tanarAlapadatModositas' || + $action == 'tanarSzuletesiAdatModositas' || + $action == 'tanarJogviszonyModositas' + ) { + + $ok = tanarAdatModositas($_POST); + + } elseif ($action == 'tanarKepesitesModositas') { + $addKepesitesId = readVariable($_POST['addKepesitesId'], 'id',null, $ADAT['kepesitesIds']); + if (isset($addKepesitesId)) { + tanarKepesitesHozzarendeles($tanarId, $addKepesitesId); + } else { + $vegzettseg = readVariable($_POST['vegzettseg'], 'enum', null, $ADAT['vegzettsegek']); + $fokozat = readVariable($_POST['fokozat'], 'enum', null, $ADAT['fokozatok']); + $specializacio = readVariable($_POST['specializacio'], 'enum', null, $ADAT['specializaciok']); + $kepesitesNev = readVariable($_POST['kepesitesNev'], 'string'); + if (isset($vegzettseg) && isset($fokozat) && isset($specializacio) && isset($kepesitesNev)) { + $kepesitesId = ujKepesites($vegzettseg, $fokozat, $specializacio, $kepesitesNev); + if ($kepesitesId !== false) tanarKepesitesHozzarendeles($tanarId, $kepesitesId); + } else { + $_SESSION['alert'][] = 'message:wrong_data:'.implode(',', array($vegzettseg, $fokozat, $specializacio, $kepesitesNev)); + } + } + } + list($ADAT['tanarAdat']) = getTanarAdatById($tanarId); + $ADAT['tanarAdat']['kepesites'] = getTanarKepesites($tanarId); + + + } + + // ToolBar + // $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post'=>array()); + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'beDt' => '1900-01-01', 'kiDt' => date('Y-m-d'), 'összes'=>true, 'override'=> true, 'post'=>array('mkId')); + getToolParameters(); + + + } // naploadmin / vezetőség + + + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tanar.php b/mayor-orig/www/policy/private/naplo/intezmeny/tanar.php new file mode 100644 index 00000000..604f1d48 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tanar.php @@ -0,0 +1,27 @@ + 0) + putFieldSelectForm($fileName, $ADATOK, $attrList, 'naplo_intezmeny:tanar',array('mkId','tanev')); + else + echo 'NINCS ADAT!'; + } else { + echo 'Adatfeldolgozás kész.'; + } + } + + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankor-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankor-pre.php new file mode 100644 index 00000000..d6c92121 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankor-pre.php @@ -0,0 +1,219 @@ +$ADAT['tanev'])); + if ($erintettHianyzasDb>0) $_SESSION['alert'][] = 'info:db_hianyzas_tipus_modositas:'.$erintettHianyzasDb; + } + } + break; + case 'tankorTargyModositas': + $ADAT['targyIds'] = getTargyakByMkId($mkId, array('result'=>'idonly')); + $ADAT['ujTargyId'] = readVariable($_POST['ujTargyId'], 'id', null, $ADAT['targyIds']); + if (isset($ADAT['ujTargyId']) && isset($tankorId) && $targyId != $ADAT['ujTargyId']) { + if (tankorTargyModositas($ADAT)) $_SESSION['alert'][] = 'info:success:tankorTargyModositas'; + } + break; + case 'tankorTorol': + if ($tankorId != '') { + $biztosTorol = readVariable($_POST['biztosTorol'],'id',null); + if ($biztosTorol=='1') { + tankorTorol($tankorId); + unset($tankorId); + } else { + $_SESSION['alert'][] = 'info:not_changed'; + } + } + break; + case 'setTankorNev': + if ($tankorId != '') { + $tagokAlapjan = readVariable($_POST['setTankorNevTagokAlapjan'],'bool',false); + if ($tagokAlapjan) { + setTankorNevByDiakok($tankorId); + } else { + setTankorNev($tankorId); + $_SESSION['alert'][] = 'info:not_changed'; + } + } + break; + case 'tankorLezar': + if ($tankorId != '') { + $biztosTorol = readVariable($_POST['biztosLezar'],'id',null); + $lezarDt = readVariable($_POST['lezarDt'],'date',null); + if ($biztosTorol=='1' && !is_null($lezarDt)) { + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); + + $v = array($lezarDt, $tankorId); + + // tanár kiléptet + $q = "UPDATE tankorTanar SET kiDt=('%s' - INTERVAL 1 DAY) WHERE tankorId=%u"; + $r[] = db_query($q, array('fv'=>'tankorTanarLezar', 'values'=>$v), $lr); + // diákok kiléptet + $q = "UPDATE tankorDiak SET kiDt=('%s' - INTERVAL 1 DAY) WHERE tankorId=%u"; + $r[] = db_query($q, array('fv'=>'tankorDiakLezar', 'values'=>$v), $lr); + // tankör szemeszter kiléptet + $q = "DELETE tankorSzemeszter.* FROM tankorSzemeszter LEFT JOIN szemeszter USING (tanev,szemeszter) WHERE kezdesDt>'%s' AND tankorId=%u"; + $r[] = db_query($q, array('fv'=>'tankorDiakLezar', 'values'=>$v), $lr); + +// $r[] = false; + + // órarendióra lezár (minden tanev adatbázisában, ami aktív + $q = "SELECT distinct tanev FROM szemeszter WHERE statusz='aktív'"; + $_tanevek = db_query($q, array('fv'=>'tankorDiakLezar', 'result'=>'idonly'), $lr); + for ($i=0; $i 'vegzosOrarendLezaras', 'values' => $v),$lr); + + // A lezárás dátuma után végződő bejegyzáések igDt-inek beállítása + $q = "UPDATE $_tanevDb.orarendiOra LEFT JOIN $_tanevDb.orarendiOraTankor USING (tanarId,osztalyJel,targyJel) SET igDt=('%s' - INTERVAL 1 DAY) + WHERE igDt > '%s' AND tankorId = %u"; + $v = array($lezarDt,$lezarDt,$tankorId); + $r[] = db_query($q, array('fv' => 'vegzosOrarendLezarads', 'values' => $v),$lr); + + // óra elmarad + $q = "SELECT oraId FROM $_tanevDb.ora WHERE tankorId=%u AND dt>='%s' AND tipus NOT IN ('elmarad','elmarad máskor')"; + $v = array($tankorId,$lezarDt); + $_oraIdk = db_query($q, array('fv'=>'tankorDiakLezar', 'result'=>'idonly', 'values'=>$v), $lr); + for ($j=0; $j'tankorDiakLezar', 'values'=>$v), $lr); + } + + if (in_array(false,$r)) db_rollback($lr); + else db_commit($lr); + + db_close($lr); + + //unset($tankorId); + } else { + $_SESSION['alert'][] = 'info:not_changed'; + } + } + break; + } + } + + if (isset($tankorId) && $tankorId != '' && $tankorId !== false) { + // force all variables to refresh! + //$TANKORADAT = getTankorById($tankorId); + $TANKORADAT = getTankorAdat($tankorId,$tanev); + $TANKORADAT = $TANKORADAT[$tankorId]; + $ADAT['targyId'] = $targyId = $TANKORADAT[0]['targyId']; + $TSZEMESZTEREK = getTankorSzemeszterei($tankorId); + $TOSZTALYOK = getTankorOsztalyai($tankorId, array('result' => 'assoc')); + $TARGYADAT = getTargyById($targyId); + $ADAT['mkId'] = $mkId=$TARGYADAT['mkId']; + } elseif ($targyId != '') { + $TARGYADAT = getTargyById($targyId); + if ($mkId == '') $mkId=$TARGYADAT['mkId']; + } + + if (defined('__TANEV')) $__TANEV = __TANEV; else $__TANEV = ''; + if (isset($targyId) && $targyId!='') { + $TANAROK = getTanarok(array('targyId' => $targyId, 'tanev' => $__TANEV)); + } + if (isset($mkId) && $mkId != '') { + // csak konkrét tárgy esetén veszünk fel tankört... + //$TANAROK = getTanarok(array('mkId' => $mkId, 'tanev' => $__TANEV)); + $MKADAT = getMunkakozossegById($mkId); + $ADAT['targyak'] = getTargyak(array('mkId' => $mkId)); + } else { + // csak konkrét tárgy esetén veszünk fel tankört... + //$TANAROK = getTanarok(); + } + + $TOPOST['tanev'] = $tanev; + $TOPOST['mkId'] = $mkId; + $TOPOST['targyId'] = $targyId; + $TOPOST['osztalyok'] = $TOSZTALYOK; + $TOPOST['szemeszterek'] = $TSZEMESZTEREK; + $TOPOST['tankorTipusId'] = $_POST['tankorTipusId']; + $TOPOST['tankorId'] = $tankorId; + $TOPOST['tankoradat'] = $TANKORADAT[0]; + if ($tankorId!='') { + $TOPOST['tankortanar'] = getTankorTanaraiByInterval($tankorId,array('tanev'=>$tanev,'result'=>'nevsor')); + $TOPOST['tankorcsoport']['idk'] = getTankorCsoportTankoreiByTankorId($tankorId); + $TOPOST['tankorcsoport']['adat'] = getTankorAdatByIds($TOPOST['tankorcsoport']['idk']); + } elseif ($TOPOST['tankorTipusId']!='') { + $TOPOST['tankoradat']['tankorTipusId'] = $TOPOST['tankorTipusId']; // hozzáírjuk ezt is + $TOPOST['tankoradat']['kovetelmeny'] = $_POST['kovetelmeny']; // hozzáírjuk ezt is + $TOPOST['tankoradat']['tipus'] = $_POST['tipus']; // hozzáírjuk ezt is + $TOPOST['osztalyok'][0]['osztalyId'] = $_POST['osztalyId']; // hozzáírjuk ezt is + } + $OSZTALYOK = getOsztalyok($tanev); + + $ADAT['tankorTipusok'] = getTankorTipusok(); + $ADAT['tankorId'] = $tankorId; + $ADAT['tanev'] = $tanev; + $ADAT['tankorOsztalyok'] = getTankorOsztalyaiByTanev($tankorId, $tanev, array('tagokAlapjan'=>true,'result'=>'id')); + $ADAT['tankorCsoportok'] = getTankorCsoport($tanev); // ezt nem használjuk most semmire! + + if ($tanev != '') $SZEMESZTEREK = getSzemeszterek(array('filter' => array("tanev>=$tanev",'tanev<='.($tanev+7)))); + + + $TOOL['tanevSelect'] = array('tipus'=>'cella','paramName' => 'tanev', + 'tervezett' => true, + 'post' => array('mkId','targyId','tankorId')); + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post' => array('tanev')); + $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'targyak' => $ADAT['targyak'], 'post' => array('mkId', 'tanev')); +// $TOOL['diakSelect'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array()); +// $TOOL['tanarSelect'] = array('tipus'=>'sor','paramName'=>'tanarId', 'post'=>array()); + $TOOL['tankorSelect'] = array('tipus' => 'cella','paramName' => 'tankorId', 'post' => array('tanev', 'mkId', 'targyId')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=intezmeny&f=tankorDiak', + 'index.php?page=naplo&sub=intezmeny&f=tankorTanar'), + 'titleConst' => array('_TANKORDIAK'), 'post' => array('tanev'), + 'paramName'=>'tankorId'); + $TOOL['tanevLapozo'] = array('tipus' => 'sor', 'paramName' => 'tanev', + 'post' => array('mkId', 'targyId', 'tankorId'), 'tanev' => $tanev); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankor.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankor.php new file mode 100644 index 00000000..998fafec --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankor.php @@ -0,0 +1,20 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak-pre.php new file mode 100644 index 00000000..70e5df7b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak-pre.php @@ -0,0 +1,162 @@ + $tanev, 'tipus' => array('tankörnévsor módosítás'), 'tolDt' => $dt, 'igDt' => $dt)); + $modositasiIdoszak = (is_array($ret) && count($ret) > 0); + + $ADAT['diakSelected']=$_POST['diaktorol']; + + if ($tanev!=__TANEV) $TA = getTanevAdat($tanev); else $TA = $_TANEV; + + $ADAT['tanev'] = $tanev; + + /* Dátumok */ + if (isset($_POST['refDt']) && $_POST['refDt'] != '') $refDt = $_POST['refDt']; + elseif (time()$tanev,'result'=>'nevsor')); + $tanarIds = array(); + for ($i = 0; $i < count($ADAT['tankor']['tanarai']); $i++) + if ($tankorId == $ADAT['tankor']['tanarai'][$i]['tankorId']) + $tanarIds[] = $ADAT['tankor']['tanarai'][$i]['tanarId']; + define('__TANARA',(__TANAR && in_array(__USERTANARID, $tanarIds))); + if ( + $_TANEV['statusz'] == 'aktív' + && ( + __NAPLOADMIN || __VEZETOSEG + || ( + $modositasiIdoszak + && ( __TANARA ) + ) + ) + ) define('__MODOSITHATO', true); + else define('__MODOSITHATO', false); + } // van tankör + if (defined('__MODOSITHATO') && __MODOSITHATO) { + switch ($action) { + case 'tankorUjDiak': + if ($_POST['diakId'] != '') + tankorDiakFelvesz($_POST); + break; + case 'tankorUjDiakMulti': + if ($_POST['diakId'] != '') + for ($i=0; $i false, 'result' => 'id')); + $ADAT['tankor']['szemeszterei'] = getTankorSzemeszterei($tankorId); + // !!! Ez az aktuális státuszt és osztály tagságot nézi csak... + // $ADAT['diakok'] = getDiakokByOsztalyId( $ADAT['tankor']['osztalyai'], array('tanev'=>$tanev,'result'=>'assoc')); + // !!! Így a $ADAT['refDt'] szerinti névsort kérdezzük le, megfelelő jogviszony státusszal! + $ADAT['diakok'] = array(); $statuszLista = array('jogviszonyban van', 'magántanuló'); + foreach ($ADAT['tankor']['osztalyai'] as $_osztalyId) { + $tmp = getDiakokByOsztaly($_osztalyId, array('tolDt' => $ADAT['refDt'], 'igDt' => $ADAT['refDt'], 'statusz' => $statuszLista)); + foreach ($statuszLista as $statusz) + foreach ($tmp[$statusz] as $_diakId) + $ADAT['diakok'][$_osztalyId][] = array( + 'diakId' => $_diakId, 'diakNev' => $tmp[$_diakId]['diakNev'], 'beDt' => $tmp[$_diakId]['beDt'], + 'kiDt' => $tmp[$_diakId]['kiDt'], 'statusz' => $statusz + ); + } + $ADAT['diakok']['vendegTanulok'] = getDiakok(array('tolDt' => $ADAT['refDt'], 'igDt' => $ADAT['refDt'], 'statusz' => array('vendégtanuló'))); + foreach($ADAT['diakok'] as $_o=>$_D) for ($i=0; $i__TANEV)); + $ADAT['diakKepzes'] = getKepzesByDiakId($DIAKIDK, array('result'=>'assoc','dt'=>$ADAT['refDt'])); + $ADAT['diakAdat'] = getDiakAdatById($DIAKIDK,array('result'=>'assoc','keyfield'=>'diakId')); + $ADAT['osztaly'] = getOsztalyok($tanev,array('result'=>'assoc')); + } + // ------------------------------------------------------------------------- + $TOOL['tanevSelect'] = array('tipus'=>'cella','paramName' => 'tanev', + 'tervezett'=>true, + 'post'=>array('mkId','targyId','tankorId','dt')); + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post'=>array('tanev','dt')); + $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'post'=>array('mkId','tanev','dt')); + $TOOL['tankorSelect'] = array('tipus'=>'cella','paramName'=>'tankorId', 'post'=>array('tanev','mkId','targyId','dt','refDt')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=tankor'), + 'titleConst' => array('_TANKOR'), 'post' => array('tankorId','mkId','targyId','dt','tanev')); + + $TOOL['tanevLapozo'] = array('tipus'=>'sor','paramName'=>'tanev', 'post'=>array('mkId','targyId','tankorId','dt'), + 'tanev'=>$tanev); + // megj: ha nincs munkaterv, akkor a selectben nem lesz kiválasztva semmi... + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', + 'paramName' => 'refDt', + 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), + 'igDt' => $TA['zarasDt'], +// 'napTipusok' => array('tanítási nap', 'speciális tanítási nap'), + 'post'=>array('mkId','targyId','tankorId','tanev') + ); + + + getToolParameters(); + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak.php new file mode 100644 index 00000000..e2b054df --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorDiak.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam-pre.php new file mode 100644 index 00000000..fce99fcb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam-pre.php @@ -0,0 +1,101 @@ +false)); + } elseif (isset($osztalyId)) { + $ADAT['tankorok'] = getTankorByOsztalyId($osztalyId, $tanev, array('tanarral' => true)); + } elseif (isset($tanarId)) { + $ADAT['tankorok'] = getTankorByTanarId($tanarId, $tanev, + array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'tanarral' => true) + ); + } else { + // ez kicsit sokáig tart sajnos + $ADAT['tankorok'] = getTankorByTanev($tanev); + } + $lr = db_connect('naplo_intezmeny'); + + for ($i=0; $i$ADAT['refDt']), $lr ); + if ($ADAT['osztalyonkent']==1 && $ADAT['tankorok'][$i]['letszam']!=0) $ADAT['tankorok'][$i]['letszamOsztaly'] = getTankorLetszamOsztalyonkent($_tankorId, array('tanev'=>$tanev,'refDt'=>$ADAT['refDt']), $lr ); + //$ADAT['tankorok'][$i]['osztalyai'] = getTankorOsztalyaiByTanev($_tankorId, $tanev, array('result' => 'id', 'tagokAlapjan' => true)); + $ADAT['tankorok'][$i]['tanarai'] = getTankorTanarai($_tankorId, $lr); + } + + db_close($lr); + + //$ADAT['osztaly'] = getOsztalyok($tanev,array('result'=>'assoc')); + // ------------------------------------------------------------------------- + $TOOL['tanevSelect'] = array('tipus'=>'cella','paramName' => 'tanev', + 'tervezett'=>false, + 'post'=>array('mkId','targyId','tankorId','dt')); + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post'=>array('tanev','dt')); + $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'post'=>array('mkId','tanev','dt')); +// $TOOL['tankorSelect'] = array('tipus'=>'cella','paramName'=>'tankorId', 'post'=>array('tanev','mkId','targyId','dt')); +// $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=intezmeny&f=tankor'), +// 'titleConst' => array('_TANKOR'), 'post' => array('tankorId','mkId','targyId','dt','tanev')); + + $TOOL['tanevLapozo'] = array('tipus'=>'sor','paramName'=>'tanev', 'post'=>array('mkId','targyId','tankorId','dt'), + 'tanev'=>$tanev,'tervezett'=>false); + + // megj: ha nincs munkaterv, akkor a selectben nem lesz kiválasztva semmi... + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', + 'paramName' => 'refDt', + 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), + 'igDt' => $TA['zarasDt'], +// 'napTipusok' => array('tanítási nap', 'speciális tanítási nap'), + 'post'=>array('mkId','targyId','tankorId','tanev') + ); + getToolParameters(); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam.php new file mode 100644 index 00000000..a1e7e6ef --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorLetszam.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter-pre.php new file mode 100644 index 00000000..d2131894 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter-pre.php @@ -0,0 +1,122 @@ + true)); + } elseif (isset($tanarId)) { + $TANKOROK = getTankorByTanarId($tanarId, $tanev, + array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'tanarral' => true) + ); + } + + // kiegészítő: tankorSzemeszter tábla és szemeszterek lekérdezése + if (is_array($TANKOROK)) { + + $tankorIds = array(); + for ($i = 0; $i < count($TANKOROK); $i++) $tankorIds[] = $TANKOROK[$i]['tankorId']; + $tankorSzemeszterek = getTankorSzemeszterek($tankorIds); + $tankorSzemeszter = array(); + foreach ($tankorSzemeszterek as $tankorId => $tankorAdat) { + for ($i = 0; $i < count($tankorAdat); $i++) { + $tankorSzemeszter[$tankorId][$tankorAdat[$i]['tanev']][$tankorAdat[$i]['szemeszter']] = $tankorAdat[$i]; + } + } + + $ADAT['tankorSzemeszter'] = $tankorSzemeszter; + + $ADAT['szemeszterek'] = $Szemeszterek = getSzemeszterek_spec($tanev-1); + + + // -------- action ------------ // + if ($action == 'tankorSzemeszter') { + if (is_array($_POST['T'])) { + $T = $_POST['T']; + $M = array(); + for ($i = 0; $i < count($T); $i++) { + list($tankorId, $szTanev, $szSzemeszter) = explode('/', $T[$i]); + $name = 'O_'.$tankorId.'_'.$szTanev.'_'.$szSzemeszter; + // Ha kötelezővé akarjuk tenni az óraszám megadását: + // if (isset($_POST[$name]) && $_POST[$name] != '') $M[] = array( +//if (isset($_POST[$name]) && $_POST[$name] != '') $oraszam = readVariable($_POST[$name],'string'); // numeric? + $oraszam = readVariable($_POST[$name], 'float unsigned', 0); +// else $oraszam = 0; + $M[] = array( + 'tankorId' => $tankorId, + 'tanev' => $szTanev, + 'szemeszter' => $szSzemeszter, + 'oraszam' => $oraszam + ); + } + + $tankorNevek = array(); + for ($i = 0; $i < count($TANKOROK); $i++) + $tankorNevek[$TANKOROK[$i]['tankorId']] = $TANKOROK[$i]['tankorNev']; + if (tankorSzemeszterModositas($M, $tankorSzemeszter, $tankorNevek, $Szemeszterek, $TA['zarasDt'])) { + // tankor szemesztereinek újraolvasása + $tankorSzemeszterek = getTankorSzemeszterek($tankorIds); + $tankorSzemeszter = array(); + foreach ($tankorSzemeszterek as $tankorId => $tankorAdat) { + for ($i = 0; $i < count($tankorAdat); $i++) { + $tankorSzemeszter[$tankorId][$tankorAdat[$i]['tanev']][$tankorAdat[$i]['szemeszter']] = $tankorAdat[$i]; + } + } + $ADAT['tankorSzemeszter'] = $tankorSzemeszter; + + } + } + } + + // -------- action ------------ // + + $ADAT['tankorok'] = $TANKOROK; + if (is_array($ADAT['tankorok'])) { + for($i=0; $i'cella','paramName' => 'tanev', + 'tervezett'=>true, + 'post'=>array('mkId','targyId','tankorId') + ); + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post'=>array('tanev')); + $TOOL['tanarSelect'] = array('tipus'=>'sor','paramName'=>'tanarId', 'post'=>array('tanev')); + $TOOL['osztalySelect'] = array('tipus'=>'sor','paramName'=>'osztalyId', 'post'=>array('tanev')); + getToolParameters(); + + } // NAPLOADMIN +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter.php new file mode 100644 index 00000000..c9b5209a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorSzemeszter.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar-pre.php new file mode 100644 index 00000000..19fa11ba --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar-pre.php @@ -0,0 +1,114 @@ + $value) if (substr($name, 0, 2) == 'TA') { + $_tankorId = substr($name, 2); + $tankorTanarIds[$_tankorId] = $value; + } + + if (__NAPLOADMIN===true || __VEZETOSEG===true) { + switch ($action) { + case 'tankorTanarAssoc': + if (isset($tanev)) + tankorTanarFelvesz($tankorIds, $tankorTanarIds, $TA, $refDt, $igDt); + break; + case 'tankorTanarTorol': + if ($kuuk == $_GET['kuuk']) { + list($_tankorId,$_tanarId,$_beDt,$_kiDt) = explode('|',readVariable($_GET['tt'],'string')); + tankorTanarTorol($_tankorId,$_tanarId,$_beDt,$_kiDt); + } + break; + case 'tankorTanarJavit': + if ($kuuk == $_GET['kuuk']) { + list($_tankorId,$_tanarId,$_beDt,$_kiDt) = explode('|',readVariable($_GET['tt'],'string')); + tankorTanarJavit($_tankorId,$_tanarId,$_beDt,$refDt); + } + break; + } + } + + if (isset($ADAT['mkId'])) { + if (!isset($tankorId)) { + $ADAT['tanarok'] = getTanarok(array('mkId' => $ADAT['mkId'], 'tanev' => $tanev)); + $ADAT['tankorok'] = getTankorByMkId($ADAT['mkId'], $tanev, array('datumKenyszeritessel' => true, 'tolDt' => $refDt, 'igDt' => $refDt)); + } else { + $ADAT['tanarok'] = getTanarok(array('targyId' => $ADAT['tankorAdat']['targyId'], 'tanev' => $tanev)); + $ADAT['tankorok'] = getTankorByMkId( + $ADAT['mkId'], $tanev, array('filter' => array("tankor.tankorId=$tankorId"), 'datumKenyszeritessel' => true, 'tolDt' => $refDt, 'igDt' => $refDt) + ); + } + } + if (is_array($ADAT['tankorok'])) { + for($i=0; $i 'cella', 'paramName' => 'tanev', + 'tervezett' => true, 'post' => array('mkId','targyId','tankorId'), 'get'=>array() + ); + $TOOL['munkakozossegSelect'] = array('tipus' => 'cella', 'paramName' => 'mkId', 'post' => array('tanev','refDt'), 'get'=>array()); + $TOOL['tankorSelect'] = array('tipus' => 'cella', 'paramName' => 'tankorId', 'post' => array('tanev','mkId','targyId','refDt'), 'get'=>array()); + $TOOL['datumSelect'] = array( + 'override' => true, + 'tipus' => 'sor', 'paramName' => 'refDt', 'hanyNaponta' => 1, + 'tolDt' => $tolDt, 'igDt' => $TA['zarasDt'], 'post' => array('tanev','mkId','targyId','tankorId'), + ); + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar.php new file mode 100644 index 00000000..b8ce04ec --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanar.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles-pre.php new file mode 100644 index 00000000..3b5f5133 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles-pre.php @@ -0,0 +1,64 @@ + getOsztalyok(), + 'munkakozossegek' => getMunkakozossegek(), + 'tanarok' => getTanarok(), + 'targyak' => getTargyak(), + + 'osztalyIds'=>readVariable($_POST['osztalyIds'],'id',array()), + 'mkIds'=>readVariable($_POST['mkIds'],'id',array()), + 'tanarNelkuliTankorok' => readVariable($_POST['tanarNelkuliTankorok'],'bool'), + 'tanarIds'=>readVariable($_POST['tanarIds'],'id',array()), + 'targyIds'=>readVariable($_POST['targyIds'],'id',array()), + ); + foreach ($ADAT['szuro']['targyak'] as $idx => $tAdat) $ADAT['targyAdat'][ $tAdat['targyId'] ] = $tAdat; + + // A szűrőben beállítottnak megefelő tankörök lekérése + $ADAT['tankorok'] = getTankorokBySzuro($ADAT['szuro']); + $ADAT['szuro']['tankorTargyIds'] = array(); + foreach ($ADAT['tankorok'] as $ids => $tAdat) + if (!in_array($tAdat['targyId'], $ADAT['szuro']['tankorTargyIds'])) + $ADAT['szuro']['tankorTargyIds'][] = $tAdat['targyId']; + $ADAT['tanarok'] = getTanarokBySzuro($ADAT['szuro']); + // stat + $ADAT['keszTankorDb'] = 0; + foreach ($ADAT['tankorok'] as $tAdat) if (is_array($tAdat['tanarIds']) && count($tAdat['tanarIds'])>0) $ADAT['keszTankorDb']++; + $ADAT['tankorStat'] = getTankorStat(); + + if ($action == 'tankorTanarFelvesz') { + + $tankorId = readVariable($_POST['tankorId'],'id'); + $tanarId = readVariable($_POST['tanarId'],'id'); + $_JSON = array( + 'post' => $_POST, + 'result' => tankorTanarModosit($tankorId, $tanarId, array('tanev'=>__TANEV)) + ); + + } elseif ($action == 'tankorTanarTorol') { + + $_tankorId = readVariable($_POST['tankorId'],'id'); + $_tanarId = readVariable($_POST['tanarId'],'id'); + tankorTanarTorol($_tankorId,$_tanarId,array('tanev'=>$tanev)); + + $_JSON = array( + 'post' => $_POST, + ); + } + +//dump($ADAT['tanarok']); + + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles.php b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles.php new file mode 100644 index 00000000..5b19149a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tankorTanarHozzarendeles.php @@ -0,0 +1,10 @@ +0) putTankorTanarMatrix($ADAT); +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tantargyFelosztas.php b/mayor-orig/www/policy/private/naplo/intezmeny/tantargyFelosztas.php new file mode 100644 index 00000000..d8124253 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tantargyFelosztas.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/terem-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/terem-pre.php new file mode 100644 index 00000000..2fc6e2de --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/terem-pre.php @@ -0,0 +1,42 @@ + 'assoc', 'keyfield' => 'telephelyId')); + $ADAT['telephelyIds'] = array_keys($ADAT['telephelyAdat']); + $ADAT['telephelyId'] = $telephelyId = readVariable($_GET['telephelyId'], 'id', readVariable( + $_POST['telephelyId'], 'id', (isset($_POST['telephelyId'])?null:readVariable(__TELEPHELYID,'id')), $ADAT['telephelyIds'] + ), $ADAT['telephelyId']); + $ADAT['teremAdat'] = getTermek(array('result' => 'assoc', 'keyfield' => 'teremId')); + $ADAT['teremIds'] = array_keys($ADAT['teremAdat']); + $ADAT['teremTipusok'] = getSetField('naplo_intezmeny','terem','tipus'); + $ADAT['teremId'] = readVariable($_POST['teremId'], 'id', readVariable($_GET['teremId'], 'id', null, $ADAT['teremIds']), $ADAT['teremIds']); + + if ($action == 'teremAdatModositas' || $action=='ujTerem') { + + $D['teremId'] = $ADAT['teremId']; + $D['leiras'] = readVariable($_POST['leiras'], 'string'); + $D['ferohely'] = readVariable($_POST['ferohely'], 'numeric unsigned'); + $D['tipus'] = readVariable($_POST['tipus'], 'enum', $ADAT['teremTipusok']); + $D['telephelyId'] = readVariable($_POST['telephelyId'], 'id', readVariable($_GET['telephelyId'], 'id', null, $ADAT['telephelyIds']), $ADAT['telephelyIds']); +//echo '
    '; var_dump($ADAT['teremIds']); echo '
    '; + + teremAdatModositas($D,($action=='ujTerem')); + + unset($ADAT['teremId']); + } + + $ADAT['teremAdat'] = getTermek(array('result' => 'assoc', 'keyfield' => 'teremId', 'telephelyId' => $telephelyId)); + + $TOOL['telephelySelect'] = array('tipus'=>'cella','paramName' => 'telephelyId', 'post' => array('tanev')); + getToolParameters(); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/terem.php b/mayor-orig/www/policy/private/naplo/intezmeny/terem.php new file mode 100644 index 00000000..f36fb11b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/terem.php @@ -0,0 +1,13 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes-pre.php new file mode 100644 index 00000000..f2eacf29 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes-pre.php @@ -0,0 +1,112 @@ +\n"; + + $tanev = $ADAT['tanev'] = readVariable($_POST['tanev'],'numeric',__TANEV); + + if (__TANAR) $tanarId = __USERTANARID; + if (__VEZETOSEG || __NAPLOADMIN) define('__MODOSITHAT',true); + else define('__MODOSITHAT',false); + +/* ------------------------------------------------- */ + if (__MODOSITHAT) { + if ($action=='modTanarTovabbkepzesForduloDt') { + $_tanarId = readVariable($_POST['tanarId'],'id'); + $_forduloDt = readVariable($_POST['forduloDt'],'date'); + $_JSON['result'] = true; + $_JSON['tanarId'] = $_tanarId; + $_JSON['forduloDt'] = $_dt; + $_JSON['result'] = updateTanarAdat($_tanarId,array('tovabbkepzesForduloDt'=>$_forduloDt)); + } elseif ($action=='ujTovabbkepzes') { + $ADAT['tovabbkepzoIntezmenyId'] = readVariable($_POST['tovabbkepzoIntezmenyId'],'id',null); + if (is_null($ADAT['tovabbkepzoIntezmenyId'])) { + $UJINTEZMENY['intezmenyRovidNev'] = readVariable($_POST['intezmenyRovidNev'],'string',null); + $UJINTEZMENY['intezmenyNev'] = readVariable($_POST['intezmenyNev'],'string',null); + if ($UJINTEZMENY['intezmenyRovidNev']!='' && $UJINTEZMENY['intezmenyNev']!='') $ADAT['tovabbkepzoIntezmenyId'] = ujTovabbkepzoIntezmeny($UJINTEZMENY); + } + if ($ADAT['tovabbkepzoIntezmenyId']>0) { + $ADAT['tovabbkepzesNev'] = readVariable($_POST['tovabbkepzesNev'],'string',null); + $ADAT['oraszam'] = intval(readVariable($_POST['oraszam'],'numeric unsigned',null)); + $ADAT['kategoria'] = readVariable($_POST['kategoria'],'string',null); + $ADAT['akkreditalt'] = ($ADAT['kategoria']=='egyéb') ? 0:1; + ujTovabbkepzes($ADAT); + } + } elseif ($action=='modTovabbkepzes') { + $MOD = readVariable($_POST['tovabbkepzesId'],'id',null); + for ($i=0; $i0 && $ADAT['tanarId']>0) + ujTovabbkepzesTanar($ADAT); + $MOD = readVariable($_POST['tovabbkepzesTanar'],'string',null); + if (is_array($MOD) && count($MOD)>0) { + for ($i=0;$i'tovabbkepzesForduloDt','összes'=>true) + ); + $ADAT['tanarTovabbkepzesCiklus'] = getTanarTovabbkepzesCiklus(); + $ADAT['keretOsszeg'] = getKeretosszeg($ADAT['tanev']); + $ADAT['tovabbkepzesFolyamat']=getTanarTovabbkepzesFolyamat(); + $TOOL['tanevSelect'] = array('tipus'=>'cella', 'action' => 'tanevValasztas', 'post' => array(), 'tervezett' => true); + getToolParameters(); +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes.php b/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes.php new file mode 100644 index 00000000..160d944b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/tovabbkepzes.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/valtas-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/valtas-pre.php new file mode 100644 index 00000000..ec39cdc5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/valtas-pre.php @@ -0,0 +1,58 @@ + $tAdat) $telephelyIds[] = $tAdat['telephelyId']; + $tanev = readVariable($_POST['tanev'], 'id', defined('__TANEV') ? __TANEV : null, $Tanevek); + $telephelyId = readVariable($_POST['telephelyId'], 'id', defined('__TELEPHELYID') ? __TELEPHELYID : null, $telephelyIds); + if ($action == 'tanevValasztas') { + if (isset($tanev) && $tanev !== __TANEV) { + if (updateSessionTanev($tanev)) { + header('Location: '.location('index.php?page=naplo&sub=intezmeny&f=valtas')); + } + } + } elseif ($action == 'telephelyValasztas') { + if (isset($telephelyId) && $telephelyId != __TELEPHELYID) { + if (updateSessionTelephelyId($telephelyId)) { + header('Location: '.location('index.php?page=naplo&sub=intezmeny&f=valtas')); + } + } + } + } + $ADAT['tanarok'] = getTanarok(array('extraAttrs'=>'titulus')); + $lr = db_connect('naplo_intezmeny'); + for($i=0; $i__TANEV,'csakId'=>true),$lr); + $ADAT['tanarMunkakozosseg'][$_tanarId] = getVezetettMunkakozossegByTanarId($_tanarId,array('result'=>'assoc'),$lr); + } + $ADAT['osztalyok'] = getOsztalyok(__TANEV,array('result'=>'assoc'),$lr); + db_close($lr); + + $TOOL['intezmenySelect'] = array('tipus'=>'cella', 'action' => 'intezmenyValasztas', 'post' => array()); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'action' => 'telephelyValasztas', 'post' => array()); + $TOOL['tanevSelect'] = array('tipus'=>'cella', 'action' => 'tanevValasztas', 'post' => array()); + + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/valtas.php b/mayor-orig/www/policy/private/naplo/intezmeny/valtas.php new file mode 100644 index 00000000..3d15f4de --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/valtas.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/verseny-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/verseny-pre.php new file mode 100644 index 00000000..e0554b55 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/verseny-pre.php @@ -0,0 +1,54 @@ + $tAdat) $telephelyIds[] = $tAdat['telephelyId']; + $tanev = readVariable($_POST['tanev'], 'id', defined('__TANEV') ? __TANEV : null, $Tanevek); + $telephelyId = readVariable($_POST['telephelyId'], 'id', defined('__TELEPHELYID') ? __TELEPHELYID : null, $telephelyIds); + if ($action == 'tanevValasztas') { + if (isset($tanev) && $tanev !== __TANEV) { + if (updateSessionTanev($tanev)) { + header('Location: '.location('index.php?page=naplo&sub=intezmeny&f=valtas')); + } + } + } elseif ($action == 'telephelyValasztas') { + if (isset($telephelyId) && $telephelyId != __TELEPHELYID) { + if (updateSessionTelephelyId($telephelyId)) { + header('Location: '.location('index.php?page=naplo&sub=intezmeny&f=valtas')); + } + } + } + } + + $TOOL['intezmenySelect'] = array('tipus'=>'cella', 'action' => 'intezmenyValasztas', 'post' => array()); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'action' => 'telephelyValasztas', 'post' => array()); + $TOOL['tanevSelect'] = array('tipus'=>'cella', 'action' => 'tanevValasztas', 'post' => array()); + + getToolParameters(); +*/ +?> diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/verseny.php b/mayor-orig/www/policy/private/naplo/intezmeny/verseny.php new file mode 100644 index 00000000..71d8dd36 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/verseny.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/zaradek-pre.php b/mayor-orig/www/policy/private/naplo/intezmeny/zaradek-pre.php new file mode 100644 index 00000000..f03fbf46 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/zaradek-pre.php @@ -0,0 +1,76 @@ + $val) { + list($akt, $zaradekId) = explode('-',$key); + if ($akt == 'del') zaradekTorles($zaradekId); + } + + } + if (isset($diakId)) { + $diakZaradekok = getDiakZaradekok($diakId); + if ($diakZaradekok) $ADAT['diakZaradekok'] = $diakZaradekok; + } + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'post' => array('osztalyId','dt'), + 'statusz' => array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + $TOOL['datumSelect'] = array( + 'tipus'=>'sor', 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), + 'paramName' => 'dt', 'hanyNaponta' => 1, +// 'tolDt' => date('Y-m-d', strtotime('-1 month', strtotime($_TANEV['kezdesDt']))), + 'tolDt' => $_TANEV['elozoZarasDt'], + 'igDt' => $_TANEV['kovetkezoKezdesDt'], + 'override' => true + ); + if (isset($diakId) && isset($dt)) + $TOOL['zaradekSelect'] = array('tipus' => 'sor', 'paramName' => 'zaradekIndex', 'post' => array('osztalyId', 'diakId', 'dt')); + + + getToolParameters(); + + } diff --git a/mayor-orig/www/policy/private/naplo/intezmeny/zaradek.php b/mayor-orig/www/policy/private/naplo/intezmeny/zaradek.php new file mode 100644 index 00000000..cb55caaa --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/intezmeny/zaradek.php @@ -0,0 +1,11 @@ + 0) { + putDiakZaradekok($ADAT); + } diff --git a/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin-pre.php b/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin-pre.php new file mode 100644 index 00000000..a74a12e3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin-pre.php @@ -0,0 +1,83 @@ + diff --git a/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin.php b/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin.php new file mode 100644 index 00000000..8dbc95c0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/esemenyAdmin.php @@ -0,0 +1,21 @@ +'._ESEMENYMINTAK.''; + echo '
    '; + putKosziEsemenyek($ADAT); + + if (is_numeric($ADAT['kosziEsemenyId'])) { + putKosziPont($ADAT); + + echo '

    '._ESEMENYEK_TANEVBEN.'

    '; + echo '
    '; + putUjKoszi($ADAT); + putKoszi($ADAT); + } else { + putUjKosziEsemeny($ADAT); + } + + +?> diff --git a/mayor-orig/www/policy/private/naplo/koszi/koszi-pre.php b/mayor-orig/www/policy/private/naplo/koszi/koszi-pre.php new file mode 100644 index 00000000..8fc1264f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/koszi-pre.php @@ -0,0 +1,49 @@ + diff --git a/mayor-orig/www/policy/private/naplo/koszi/koszi.php b/mayor-orig/www/policy/private/naplo/koszi/koszi.php new file mode 100644 index 00000000..01c7f1c7 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/koszi.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin-pre.php b/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin-pre.php new file mode 100644 index 00000000..4ad1d537 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin-pre.php @@ -0,0 +1,93 @@ +__USERDIAKID,'tanarId'=>__USERTANARID,'kosziadmin'=>__KOSZIADMIN)); + $ADAT['diak'] = getDiakok(array('result'=>'assoc')); + + +// -------------------------------------------- + $ADAT['kosziEsemenyTipusok'] = getEnumField('naplo_intezmeny', 'kosziEsemeny', 'kosziEsemenyTipus'); + $ADAT['kosziPontTipusok'] = getEnumField('naplo_intezmeny', 'kosziPont', 'kosziPontTipus'); + $ADAT['kosziIgazolok'] = getEnumField('naplo', 'koszi', 'kosziIgazolo'); + + $ADAT['kosziId'] = readVariable($_POST['kosziId'],'id'); + $ADAT['kosziEsemenyId'] = readVariable($_POST['kosziEsemenyId'], 'id'); + + if ($action=='ujKosziDiak') { + + $P['kosziId'] = readVariable($_POST['kosziId'],'id'); + $P['kosziPontId'] = readVariable($_POST['kosziPontId'],'id') ; + $P['diakId'] = __USERDIAKID; + + if (isset($P['kosziPontId']) && isset($P['kosziId'])) + $result = ujKosziDiak($P); + + } + + $ADAT['koszi'] = getKosziLista(); // tanev + $ADAT['kosziDiakLista'] = getKosziDiakLista(__USERDIAKID); + + if (is_numeric($ADAT['kosziId'])) { + $ADAT['kosziEsemenyId'] = getKosziEsemenyIdByKosziId($ADAT['kosziId']); // template Id - t lekérdezzük a valós esemény által. (béna az elnevezés!!!) + } + + if (is_numeric($ADAT['kosziEsemenyId'])) { + $ADAT['kosziPont'] = getKosziPont($ADAT['kosziEsemenyId']); + } + + +/* + $ADAT['tanarok'] = getTanarok(); + $ADAT['osztalyok'] = getOsztalyok(); + $ADAT['diakok'] = getDiakok(); +*/ + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin.php b/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin.php new file mode 100644 index 00000000..8c0bbae1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/koszi/kosziAdmin.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/naplo-pre.php b/mayor-orig/www/policy/private/naplo/naplo-pre.php new file mode 100644 index 00000000..85dfa076 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/naplo-pre.php @@ -0,0 +1,22 @@ + 'sor', 'post' => array(), 'action' => 'intezmenyValasztas'); + + getToolParameters(); + if (__TANAR) $beirasiAdatok['beiratlan'] = getBeirasiAdatok(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/naplo.php b/mayor-orig/www/policy/private/naplo/naplo.php new file mode 100644 index 00000000..0d3fc41d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/naplo.php @@ -0,0 +1,15 @@ +includeCSS(\'/skin/classic/module-naplo/css/hirnok/hirnok.css\')'; + echo ajaxUpdaterForm('hirnok','index.php?page=naplo&sub=hirnok&f=hirnok',array(),'post',true); + + echo ''; + echo ajaxUpdaterForm('uzenoKozep','index.php?page=naplo&sub=uzeno&f=uzeno',array(),'post',true); + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv-pre.php new file mode 100644 index 00000000..d7b85953 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv-pre.php @@ -0,0 +1,37 @@ +'assoc','összes'=>true)); + $ADAT['tanulmanyiEgyseg'] = getBeiskolazasiTerv($tanev); + + $printFile = beiskolazasNyomtatvanyKeszites($ADAT); + $printFile = fileNameNormal($printFile); + + if ($printFile !== false && file_exists(_DOWNLOADDIR."/$policy/$page/$sub/$f/$printFile")) + header('Location: '.location('index.php?page=session&f=download&download=true&dir='.$page.'/'.$sub.'/'.$f.'&file='.$printFile)); + + + } + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv.php b/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv.php new file mode 100644 index 00000000..bc70f948 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/beiskolazasiTerv.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas-pre.php new file mode 100644 index 00000000..0143e7e9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas-pre.php @@ -0,0 +1,88 @@ += _TIME + ) { + $_POST['szemeszterId'] = $szemeszterId = $_TANEV['szemeszter'][$i]['szemeszterId']; + break; + } + } + } + if (isset($_POST['sorrendNev']) && $_POST['sorrendNev'] != '') $ADAT['sorrendNev'] = $sorrendNev = $_POST['sorrendNev']; + + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') { $osztalyId = $_POST['osztalyId']; } + elseif (__OSZTALYFONOK && !isset($_POST['osztalyId'])) { $osztalyId = $_OSZTALYA[0]; $_POST['osztalyId'] = $osztalyId; } + + if (isset($szemeszterId)) { + + $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + define('__ZARO_SZEMESZTER', $ADAT['szemeszterAdat']['szemeszter'] == $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']); + + $Osztalyok = getOsztalyok($ADAT['szemeszterAdat']['tanev']); + if (isset($osztalyId)) { + + define('__OSZTALYFONOKE', (__OSZTALYFONOK === true && in_array($osztalyId, $_OSZTALYA))); + + // intézmény adatok + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // osztály statisztikák + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $ADAT['szemeszterAdat']['tanev']); + // Az adott szemeszterben létezik-e az osztály + for ($i = 0; ($i < count($Osztalyok) && $Osztalyok[$i]['osztalyId'] != $osztalyId); $i++); + if ($i < count($Osztalyok)) { + $ADAT['diakok'] = getDiakok(array('osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'])); + for ($i = 0; $i < count($ADAT['diakok']); $i++) $ADAT['diakIds'][] = $ADAT['diakok'][$i]['diakId']; + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev); + //for ($i = 0; $i < count($ADAT['targyak']); $i++) $ADAT['targyAdat'][ $ADAT['targyak'][$i]['targyNev'] ] = $ADAT['targyak'][$i]['targyId']; + $ADAT['tanarok'] = getTanarokByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat']); + $ADAT['jegyek'] = getDiakZarojegyek($ADAT['diakIds'], $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['szemeszter']); + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszterAdat']); + + /* A pdfBizonyítvány ezeket használja: szemeszterAdat|intezmeny|diakok|jegyek|hianyzas|osztaly|targyAdat|targyak*/ + $file = fileNameNormal('bizonyitvany-'.$ADAT['szemeszterAdat']['tanev'].'-'.$ADAT['szemeszterAdat']['szemeszter'].'-'.str_replace('.','',$ADAT['osztaly']['osztalyJel'])); + if (pdfBizonyitvany($file, $ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/bizonyitvanyNyomtatas&file='.$file.'.pdf')); + } else { + unset($osztalyId); + } + + } + } + + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') ,'post' => array('sorrendNev', 'osztalyId')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId', 'sorrendNev')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas.php b/mayor-orig/www/policy/private/naplo/nyomtatas/bizonyitvanyNyomtatas.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap-pre.php new file mode 100644 index 00000000..3219920b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap-pre.php @@ -0,0 +1,135 @@ +$osztalyId,'tanev'=>$tanev,'result'=>'csakId')); // Ennek a függvénynek a szerkezete nyáron megváltozott! + for ($i=0; $i $value) $ADAT['base']['intezmeny'.$attr] = $value; + $Szulok = getSzulok(); + $Osztalyok = getOsztalyok($tanev, array('result' => 'assoc')); + $ADAT['base']['hoNev'] = kisbetus($Honapok[ $ADAT['base']['honap'] - 1 ]); + $ADAT['file'] = 'diakAdatlap'; + + if (is_array($ADAT['base']['diak'])) + for ($i=0; $i $jAdat) $diakAdat['jogviszony'][] = array('dt' => dateToString($jAdat['dt']), 'statusz' => $jAdat['statusz']); + // Max. 5 bejegyzés (külön-külön, fix 10 db mező) + for ($j = 0; $j < 5; $j++) $diakAdat['jvDt'.$j] = $diakAdat['jvStat'.$j] = ''; + foreach ($DJ as $key => $jAdat) { + $diakAdat['jvDt'.$key] = dateToString($jAdat['dt']); + $diakAdat['jvStat'.$key] = $jAdat['statusz']; + } + foreach ($diakAdat as $attr => $value) if (!is_array($value)) $diakAdat[$attr] = LaTeXSpecialChars($value); + list($diakAdat['szuletesiEv'],$diakAdat['szuletesiHonap'],$diakAdat['szuletesiNap']) = explode('-', $diakAdat['szuletesiIdo']); + $diakAdat['szuletesiHoNev'] = kisbetus($Honapok[ $diakAdat['szuletesiHonap'] - 1 ]); + list($diakAdat['jogviszonyKEv'],$diakAdat['jogviszonyKHonap'],$diakAdat['jogviszonyKNap']) = explode('-', $diakAdat['jogviszonyKezdete']); + $diakAdat['jogviszonyKHoNev'] = kisbetus($Honapok[ $diakAdat['jogviszonyKHonap'] - 1 ]); + list($diakAdat['jogviszonyVEv'],$diakAdat['jogviszonyVHonap'],$diakAdat['jogviszonyVNap']) = explode('-', $diakAdat['jogviszonyVege']); + $diakAdat['jogviszonyVHoNev'] = kisbetus($Honapok[ $diakAdat['jogviszonyVHonap'] - 1 ]); + $diakAdat['torvenyesKepviselo'] = str_replace(',', ', ', $diakAdat['torvenyesKepviselo']); + $diakAdat['anyaNev'] = $Szulok[ $diakAdat['anyaId'] ]['szuleteskoriCsaladinev']? + trim(implode(' ', array( + $Szulok[ $diakAdat['anyaId'] ]['szuleteskoriNevElotag'], + $Szulok[ $diakAdat['anyaId'] ]['szuleteskoriCsaladinev'], + $Szulok[ $diakAdat['anyaId'] ]['szuleteskoriUtonev'] + ))):$Szulok[ $diakAdat['anyaId'] ]['szuloNev']; + foreach (array('anya','apa','gondviselo','nevelo') as $szt) { // szt=szuloTipus + $szulo = $Szulok[ $diakAdat[$szt.'Id'] ]; + if (is_array($szulo)) { + foreach ($szulo as $attr => $value) $diakAdat[$szt.$attr] = LaTeXSpecialChars($value); + if ($diakAdat[$szt.'statusz']=='elhunyt') $diakAdat[$szt.'Stat'] = '\dag'; + elseif ($diakAdat[$szt.'statusz']=='házas') $diakAdat[$szt.'Stat'] = '$\infty$'; + elseif ($diakAdat[$szt.'statusz']=='egyedülálló') $diakAdat[$szt.'Stat'] = '$\odot$'; + elseif ($diakAdat[$szt.'statusz']=='hajadon / nőtlen') $diakAdat[$szt.'Stat'] = '$\oslash$'; + elseif ($diakAdat[$szt.'statusz']=='elvált') $diakAdat[$szt.'Stat'] = '$\triangleleft\ominus\triangleright$'; + elseif ($diakAdat[$szt.'statusz']=='özvegy') $diakAdat[$szt.'Stat'] = '$\oplus$'; + elseif ($diakAdat[$szt.'statusz']=='élettársi kapcsolatban él') $diakAdat[$szt.'Stat'] = '$\circ\circ$'; + else $diakAdat[$szt.'Stat'] = $diakAdat[$szt.'statusz'].''; + } + } + $diakAdat['fogyatekossag'] = str_replace(',',', ',$diakAdat['fogyatekossag']); + $diakAdat['szocialisHelyzet'] = str_replace(',',', ',$diakAdat['szocialisHelyzet']); + $diakAdat['osztaly'] = getDiakOsztalya($diakId, array('tanev'=>$tanev)); + $diakAdat['osztalyJel'] = $Osztalyok[ $diakAdat['osztaly'][0]['osztalyId'] ]['kezdoTanev'].'-'. + ($Osztalyok[ $diakAdat['osztaly'][0]['osztalyId'] ]['vegzoTanev']+1).'/'.nagybetus($Osztalyok[ $diakAdat['osztaly'][0]['osztalyId'] ]['jel']); + + $ADAT['diak'][ $diakId ] = $diakAdat; + + } + if (count($ADAT['diak']) > 0) { + $printFile = fileNameNormal(nyomtatvanyKeszites($ADAT)); + if ($printFile !== false && file_exists(_DOWNLOADDIR."/$policy/$page/$sub/$f/$printFile")) + header('Location: '.location("index.php?page=session&f=download&download=true&dir=$page/$sub/$f/&file=$printFile")); + } + + + // ToolBar + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'action' => 'tanevValasztas', 'post' => array('tanev','diakId')); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'tanev' => $tanev, 'post' => array('tanev')); + $TOOL['diakSelect'] = array('tipus'=>'cella', 'tanev'=>$tanev, 'osztalyId' => $osztalyId, + 'statusz' => array('jogviszonyban van','vendégtanuló','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'), + 'post' => array('tanev','osztalyId') + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap.php b/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap.php new file mode 100644 index 00000000..05d4467e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/diakAdatlap.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes-pre.php new file mode 100644 index 00000000..77912c56 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes-pre.php @@ -0,0 +1,71 @@ + $tankorIds) { + $ADAT['diakIds'][] = $diakId; + } + $ADAT['diakAdat'] = getDiakokById($ADAT['diakIds']); + $ADAT['diakOsztaly'] = getDiakokOsztalyai($ADAT['diakIds'], array('tanev' => $tanev)); + $ADAT['osztalyok'] = getOsztalyok($tanev, array('result'=>'assoc')); + + // A TeX forrás generálása - A5-ös méretben + if ($action == 'pdfGeneralas') { + $TeX = texLevelGeneralas($ADAT); + if (pdfLaTeX($TeX, 'faktJelentkezes-A5-'.date('Y-m-d'))) { + + // Az A5-ös lapok A4-es lapra helyezése + $TeX = '\documentclass[a4paper,landscape]{article}'."\n"; + $TeX .= '\usepackage[final]{pdfpages}'."\n"; + $TeX .= '\begin{document}'."\n"; + $TeX .= '\includepdf[nup=2x1, pages={-}]{faktJelentkezes-A5-'.date('Y-m-d').'.pdf}'."\n"; + $TeX .= '\end{document}'."\n"; + $fileName = fileNameNormal('faktJelentkezes-A4-'.date('Y-m-d')); + if (pdfLaTeX($TeX, $fileName)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/diakTankorJelentkezes&file='.$fileName.'.pdf')); + } + } + + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName'=>'szemeszterId', 'post'=>array('diakId'), + 'tanev'=>$tanev); + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes.php b/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes.php new file mode 100644 index 00000000..f57afdc5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/diakTankorJelentkezes.php @@ -0,0 +1,12 @@ +'; +//var_dump($ADAT['osztalyok']); +//echo '
    '; + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/ertesito-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/ertesito-pre.php new file mode 100644 index 00000000..53e644f1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/ertesito-pre.php @@ -0,0 +1,101 @@ += _TIME + ) { + $_POST['szemeszterId'] = $szemeszterId = $_TANEV['szemeszter'][$i]['szemeszterId']; + break; + } + } + } + $ADAT['sorrendNev'] = $sorrendNev = readVariable($_POST['sorrendNev'], 'enum', 'bizonyítvány', array('napló','bizonyítvány','anyakönyv','ellenőrző','egyedi')); + + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') { $osztalyId = $_POST['osztalyId']; } + elseif (__OSZTALYFONOK && !isset($_POST['osztalyId'])) { $osztalyId = $_OSZTALYA[0]; $_POST['osztalyId'] = $osztalyId; } + + if (isset($szemeszterId)) { + + $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + define('__ZARO_SZEMESZTER', $ADAT['szemeszterAdat']['szemeszter'] == $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']); + + $Osztalyok = getOsztalyok($ADAT['szemeszterAdat']['tanev']); + if (isset($osztalyId)) { + + define('__OSZTALYFONOKE', (__OSZTALYFONOK === true && in_array($osztalyId, $_OSZTALYA))); + $ADAT['evfolyamJel'] = getEvfolyamJel($osztalyId, $ADAT['szemeszterAdat']['tanev']); // TODO: ellenőrzés: evfolyam --> evfolyamJel + + // intézmény adatok + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // osztály statisztikák + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $ADAT['szemeszterAdat']['tanev']); + // Az adott szemeszterben létezik-e az osztály + for ($i = 0; ($i < count($Osztalyok) && $Osztalyok[$i]['osztalyId'] != $osztalyId); $i++); + if ($i < count($Osztalyok)) { + $ADAT['diakok'] = getDiakok(array( + 'result' => 'assoc', 'osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'], + 'tolDt' => $ADAT['szemeszterAdat']['zarasDt'], 'igDt' => $ADAT['szemeszterAdat']['zarasDt']) + ); + $ADAT['diakIds'] = array_keys($ADAT['diakok']); + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev); + $ADAT['jegyek'] = getDiakZarojegyekByEvfolyamJel($ADAT['diakIds'], $ADAT['evfolyamJel'], $ADAT['szemeszterAdat'], array('felevivel'=>true)); // TODO: ellenőrzés + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszterAdat']); + + for ($i=0; $i'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') ,'post' => array('sorrendNev', 'osztalyId')); + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId', 'sorrendNev')); + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId')); + + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/ertesito.php b/mayor-orig/www/policy/private/naplo/nyomtatas/ertesito.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo-pre.php new file mode 100644 index 00000000..1943dc92 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo-pre.php @@ -0,0 +1,212 @@ + 4 || date('w',strtotime($tolDt))==0) $tolDt=date('Y-m-d',strtotime('LAST Thursday',strtotime($tolDt))); + elseif (date('w',strtotime($tolDt))!=1) $tolDt=date('Y-m-d',strtotime('LAST MONDAY',strtotime($tolDt))); + + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') $osztalyId = $_POST['osztalyId']; + + require_once('include/modules/naplo/share/osztaly.php'); + + if (isset($osztalyId)) { + + require_once('include/modules/naplo/share/intezmenyek.php'); + require_once('include/modules/naplo/share/diak.php'); + require_once('include/modules/naplo/share/tanar.php'); + require_once('include/modules/naplo/share/orarend.php'); + require_once('include/modules/naplo/share/ora.php'); + require_once('include/modules/naplo/share/tankor.php'); + require_once('include/modules/naplo/share/targy.php'); + require_once('include/modules/naplo/share/file.php'); + require_once('include/modules/naplo/share/kepzes.php'); + require_once('include/modules/naplo/nyomtatas/tex.php'); + require_once('include/share/date/names.php'); + require_once('include/share/str/hyphen.php'); + require_once('include/share/str/tex.php'); + + + $ADAT['intezmenyAdat'] = getIntezmenyByRovidnev(__INTEZMENY); + // Tanárok adatai + $ADAT['tanarok'] = getTanarok($Param = array('tanev' => $tanev, 'result' => 'assoc')); + // osztály adatainak lekérdezése + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId); + $ADAT['munkatervId'] = getMunkatervByOsztalyId($osztalyId); + $ADAT['nevsor'] = getDiakok(array( + 'osztalyId' => $osztalyId, 'tanev' => $tanev, + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + )); + $ADAT['tankorok'] = getTankorByOsztalyId($osztalyId, $ADAT['tanev'], array('csakId' => false, 'tanarral' => true)); + $ADAT['naploTankor'] = getNaploTankorei($osztalyId); + $ADAT['tankorNaploja'] = getTankorokNaploja(); + $ADAT['napok'] = reindex(getTanevNapjai( getMunkatervByOsztalyId($osztalyId) ), array('dt')); + // osztályok lekérdezése + $ADAT['osztalyId'] = $osztalyId; + $ADAT['osztalyok'] = getOsztalyok(); + $ADAT['osztalyJele'] = array(); + for ($i =0; $i < count($ADAT['osztalyok']); $i++) { + $ADAT['osztalyJele'][ $ADAT['osztalyok'][$i]['osztalyId'] ] = $ADAT['osztalyok'][$i]['osztalyJel']; + if ($osztalyId == $ADAT['osztalyok'][$i]['osztalyId']) { + $ADAT['osztalyJel'] = $ADAT['osztalyok'][$i]['osztalyJel']; + $ADAT['ofo'] = $ADAT['osztalyok'][$i]['osztalyfonokNev']; + } + } + for ($i = 0; $i < count($ADAT['tankorok']); $i++) { + $_tankorId = $ADAT['tankorok'][$i]['tankorId']; + $_osztalyId = $ADAT['tankorNaploja'][$_tankorId]; + if ($_osztalyId!==null) { + $targyNev .= ' ('.$ADAT['osztalyJele'][$_osztalyId].')'; + $tmp = $ADAT['tankorok'][$i]; $tmp['tanarok'] = array(); + foreach ($ADAT['tankorok'][$i]['tanarok'] as $tanarAdat) $tmp['tanarok'][] = $tanarAdat['tanarNev']; + $ADAT['tankorokNaploElejere'][] = $tmp; + } + } +//-----------------------------------------------------------------------/ + $ret = getTargyakByOsztalyId($osztalyId, $tanev); + $ADAT['magatartasId'] = getMagatartas(array('result' => 'value')); + $ADAT['szorgalomId'] = getSzorgalom(array('result' => 'value')); + $ADAT['ofoTargyId'] = getOsztalyfonoki(array('result' => 'value')); +//echo '
    '; var_dump($ADAT['ofoTargyId']); echo '
    '; + for ($i = 0; $i < count($ret); $i++) { + $ADAT['targyAdat'][ $ret[$i]['targyId'] ] = $ret[$i]; + $szavak = explode(' ', ($huHyphen->hyphen(trim($ret[$i]['targyNev'])))); + $ADAT['targyAdat'][ $ret[$i]['targyId'] ]['tordeltTargyNev'] = tordel($szavak); + $ADAT['targyAdat'][ $ret[$i]['targyId'] ]['tankor'] = array(); + //if ($ret[$i]['targyNev'] == 'osztályfőnöki') $ADAT['ofoTargyId'] = $ret[$i]['targyId']; + } + for ($i = 0; $i < count($ADAT['tankorok']); $i++) { + $ADAT['targyAdat'][ $ADAT['tankorok'][$i]['targyId'] ]['db']++; + $tankorId = $ADAT['tankorok'][$i]['tankorId']; + $targyId = $ADAT['tankorok'][$i]['targyId']; + if (is_array($ADAT['naploTankor']) && in_array($tankorId, $ADAT['naploTankor'])) { +// $ADAT['naploTargyak'][$targyId][] = $tankorId; + $ADAT['targyAdat'][$targyId]['tankor'][] = $tankorId; + $ADAT['tankorTargy'][$tankorId] = $targyId; + if ($ADAT['tankorok'][$i]['targyId'] == $ADAT['ofoTargyId']) $ADAT['ofoTankorId'] = $tankorId; +// else $ADAT['oszlopTankore'][] = $tankorId; + } + } + $ADAT['targyFejlec'] = $ADAT['oszlopTankore'] = array(); $db = 0; + $ADAT['helyek'] = array(6,15,15,15); $Foglalt = array(0,0,0,0); $lap = 0; + foreach ($ADAT['targyAdat'] as $targyId => $tAdat) { + + if ( + count($tAdat['tankor']) == 0 + || $targyId == $ADAT['ofoTargyId'] + || $targyId == $ADAT['magatartasId'] + || $targyId == $ADAT['szorgalomId'] + ) continue; + + $tDb = count($tAdat['tankor']); + $tmp = array('targyId' => $targyId, 'sorsz' => 1); + while ($tDb > 0) { + $szabad = $ADAT['helyek'][$lap] - $Foglalt[$lap]; + + $db = min($szabad, $tDb); + $tmp['db'] = $db; + $ADAT['targyFejlec'][$lap][] = $tmp; + $Foglalt[$lap] += $db; + $tmp['sorsz'] += $db; + $tDb -= $db; + if ($ADAT['helyek'][$lap] == $Foglalt[$lap]) $lap++; + } + // Ha 21-nél több tankör van és nem jön ki pont 21-re a tárgy határ +/* + if ($db < 21 && $db + count($tAdat['tankor']) > 21) while ($db < 21) { + $ADAT['oszlopTankore'][] = ''; + $db++; + } +*/ + for ($i = 0; $i < count($tAdat['tankor']); $i++) { + $tankorId = $tAdat['tankor'][$i]; + if ($tankorId != $ADAT['ofoTankorId']) { + $ADAT['oszlopTankore'][] = $tankorId; + $db++; + } + } + } + // Tanuló-tankör mátrix + $ADAT['diakIds'] = array(); + for ($i = 0; $i < count($ADAT['nevsor']); $i++) { + $ADAT['diakTankor'][ $ADAT['nevsor'][$i]['diakId'] ] = getTankorByDiakId( + $ADAT['nevsor'][$i]['diakId'], $tanev, + array('csakId' => true, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'', 'jelenlet'=>'' ) + ); + $ADAT['diakIds'][] = $ADAT['nevsor'][$i]['diakId']; + $ADAT['diakAdat'][ $ADAT['nevsor'][$i]['diakId'] ] = $ADAT['nevsor'][$i]; + } + // Órák lekérdezése + getNaploOrak($ADAT); + getNaploHianyzasok($ADAT); + + // Melyik tárgyhoz mely (és hány) tankörök tartoznak + + $filename = str_replace(' ','','Haladasi_'.date('Ymd').'_'.$ADAT['osztalyAdat']['osztalyJel']); + + $content = ''. + + putTeXHaladasiOldalbeallitas(). + + putTeXElolap($ADAT). + putTeXLapdobas(). + putTeXDefineFootline($ADAT['osztalyJel'], $ADAT['ofo']). + putTeXTanuloTankorMatriX($ADAT). + putTeXLapdobas(). + + putTeXUresLap(). + + putTeXAllandoFejlec(). + putTeXOrarendMacro(); // putTechPage1 és putTechPage3-ban kell majd paraméteresen meghívni + + $dt = $tolDt; + while(strtotime($dt)<=strtotime($igDt)) { + $ADAT['tanitasiNapOk'] = array(); + $vanOra = false; // Ha a három nap egyikén sincs óra akkor ne rakjuk ki ezeket a napokat... + for ($i = 0; $i < 3; $i++) { + $ADAT['tanitasiNapOk'][$i] = date('Y-m-d',strtotime('+'.$i.' days',strtotime($dt))); + if (count($ADAT['orak'][ $ADAT['tanitasiNapOk'][$i] ])) $vanOra = true; + } + if ($vanOra) { + $content .= + putTeXPage1($ADAT). + putTeXLapdobas(). + putTeXPage2($ADAT). + putTeXLapdobas(). + ''; + + if (count($ADAT['oszlopTankore']) > 21) + $content .= + putTeXPage34($ADAT). + putTeXLapdobas(); + } + $dt = date('Y-m-d',strtotime('+3 days',strtotime($dt))); + if (date('w', strtotime($dt)) == 0) $dt = date('Y-m-d', strtotime('+1 day', strtotime($dt))); // == vasárnap... + } + + + $content .= endTeXDocument(); + + $filename = fileNameNormal($filename); + if (!defined('_TEX_ERROR') && generatePDF($filename, _DOWNLOADDIR.'/private/nyomtatas/haladasi', $content, __NYOMTATAS_FUZETKENT === true)) { + header('Location: '.location('index.php?page=session&f=download&download=true&dir=nyomtatas/haladasi&file='.$filename.'.pdf')); + } + + } + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array()); + getToolParameters(); + +} + + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo.php b/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo.php new file mode 100644 index 00000000..0807e2d6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/haladasinaplo.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo-pre.php new file mode 100644 index 00000000..ba48545e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo-pre.php @@ -0,0 +1,39 @@ + 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 1, 'post'=>array('osztalyId', 'diakId', 'targySorrend') + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo.php b/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo.php new file mode 100644 index 00000000..404b92b3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/helyettesitesinaplo.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas-pre.php new file mode 100644 index 00000000..f22d3af1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas-pre.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas.php b/mayor-orig/www/policy/private/naplo/nyomtatas/nyomtatas.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo-pre.php new file mode 100644 index 00000000..2a6515dc --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo-pre.php @@ -0,0 +1,157 @@ +evfolyamJel) + // tanítási napok száma az aláíró ív záradékához + $NSz = getNapokSzama(array('osztalyId' => $osztalyId)); + $ADAT['tanitasiNapokSzama'] = $NSz['tanítási nap']+$NSz['speciális tanítási nap']; + + if ($evfolyamJel=='') die('VÉGZETES HIBA o-pre.php'); + + /* Tanárok kigyűjtése */ + $_TANKOROK = getOsztalyTankorei($osztalyId); + $_TANAROK = array(); + for ($i=0; $i __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'nevsor')); + for ($j=0; $jhyphen(trim($ADAT['targyak'][$i]['targyNev'])) + ); + } + + $ADAT['diakAdat'] = $ADAT['diakIds'] = array(); + // diákok lekérdezése jogviszony és osztály tagság adatokkal + $diakByOsztaly = getDiakokByOsztaly($osztalyId, array('orderBy' => 'naploSorszam', 'tanev' => $tanev, 'statusz' => array('jogviszonyban van','magántanuló','vendégtanuló') )); + $ADAT['diakIds'] = array_values( + array_diff(array_keys($diakByOsztaly), array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva','felvételt nyert')) + ); + $ret = getDiakAdatById($ADAT['diakIds']); + for ($i = 0; $i < count($ret); $i++) { + $ADAT['diakAdat'][ $ret[$i]['diakId'] ] = array_merge($ret[$i], $diakByOsztaly[ $ret[$i]['diakId'] ]); + $ADAT['diakTargy'][ $ret[$i]['diakId'] ] = getTargyakByDiakId($ret[$i]['diakId'], + array('result'=>'idonly', 'osztatlyId' => $osztalyId, 'csakOratervi'=>true, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], 'filter' => 'kovetelmeny') + ); //TODO getTargyakByDiakId() itt a visszatérési érték változott, evfolyam, evfolyamJel is van! ellenőrizni kell! +//echo '
    '; var_dump($ret2); echo '
    '; + + $diakKiDts[ $ret[$i]['diakId'] ] = $diakByOsztaly[ $ret[$i]['diakId'] ]['osztalyDiak'][0]['kiDt']; // mikor lépett ki a diák az osztályból + } + unset($ret); + unset($diakByOsztaly); + + foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdat) { + $ADAT['hianyzas'][$szemeszter] = getDiakHianyzasOsszesites($ADAT['diakIds'], $szAdat, $diakKiDts); + // Az egész szorgalmi időszak alatt szerzett osztályzatokra szükség van! (szükség van?) + $szAdat['zarasDt'] = $_TANEV['zarasDt']; + $szAdat['kezdesDt'] = $_TANEV['kezdesDt']; + $ADAT['zaroJegy'][$szemeszter] = getDiakZarojegyekByEvfolyamJel($ADAT['diakIds'], $evfolyamJel, $szAdat); //TODO: ellenőrizni, evfolyam-->evfolyamJel!!! + } + $ADAT['jegyek'] = getDiakJegyek($ADAT); + $ADAT['szulok'] = getSzulok(); + // TeX generálás + $filename = fileNameNormal('Osztalyozo_'.date('Ymd').'_'.$ADAT['osztalyAdat']['osztalyJel']); + $lapDobasok = 0; + $content = + + putTeXOsztalyozoOldalbeallitas(). +// putTeXOldalbeallitasok(). +// putTeXMakrok(). + + putTeXDefineFootline($ADAT['osztalyAdat']['osztalyJel'], $ADAT['osztalyAdat']['osztalyfonokNev']); + + // Tanulónként egy-egy lap.... + for ($i = 0; $i < count($ADAT['diakIds']); $i++) { + $sorsz = $i+1; // Napló sorszám + $diakId = $ADAT['diakIds'][$i]; + $cn = $ADAT['diakAdat'][$diakId]['diakNev']; + $birthlocality = $ADAT['diakAdat'][$diakId]['szuletesiHely']; + $birthtimestamp = $ADAT['diakAdat'][$diakId]['szuletesiIdo']; + //$content .= putTeXOsztalyozoFejlec($sorsz,$cn,$birthlocality,$birthtimestamp); + //$content .= putTeXOsztalyozoJegyek($diakId, $ADAT); + //$content .= putTeXOsztalyozoAdatok($diakId, $ADAT); + //$content .= putTeXLapdobas(); + //$lapDobasok++; + $iGlobal = 0; // Ha nem férne ki 20 helyre a tárgyak listája... + while ($iGlobal < count($ADAT['targyak'])) { + $content .= putTeXOsztalyozoFejlec($sorsz,$cn,$birthlocality,$birthtimestamp); + $content .= putTeXOsztalyozoJegyek($diakId, $ADAT, $iGlobal); + $content .= putTeXOsztalyozoAdatok($diakId, $ADAT); + $content .= putTeXLapdobas(); + $lapDobasok++; + } + } + + $content .= putTeXTanarLista($ADAT, $lapDobasok).putTeXLapdobas(); + $content .= endTeXDocument(); + + $filename = str_replace('/','_',$filename); + if (generatePDF($filename, _DOWNLOADDIR.'/private/nyomtatas/osztalyozo', $content, __NYOMTATAS_FUZETKENT === true)) { + if (count($_SESSION['alert']) == 0) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=nyomtatas/osztalyozo&file='.$filename.'.pdf')); + else + $ADAT['letoltes'] = 'index.php?page=session&f=download&download=true&dir=nyomtatas/osztalyozo&file='.$filename.'.pdf'; + } + + } + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array()); + getToolParameters(); + +} + + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo.php b/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo.php new file mode 100644 index 00000000..864c5486 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/osztalyozonaplo.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv-pre.php new file mode 100644 index 00000000..72e34994 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv-pre.php @@ -0,0 +1,105 @@ + $osztalyId, 'result' => 'idonly','override' => false)); + } + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + // Intézmény adatai + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // Osztály adatai + if (isset($osztalyId)) $ADAT['osztaly'] = getOsztalyAdat($osztalyId, __TANEV); + // A tanárok + $ADAT['tanarok'] = getTanarok(array('result' => 'assoc')); + // Az osztály tanárai + // nincs feltétlen osztály // +/* + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV, array('tanarral' => true)); + $ADAT['osztalyTanar'] = array(); $paros = false; + for ($i = 0; $i < count($Tankorok); $i++) { + for ($j = 0; $j < count($Tankorok[$i]['tanarok']); $j++) { + if (!is_array($ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ])) { + $ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ] = $ADAT['tanarok'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ]; + $ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ]['paros'] = $paros; + $paros = !$paros; + + } + } + } +*/ + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + // a diákok alapadatai + $ADAT['diakAdat'] = getDiakAdatById($ADAT['diakIds'], array('result' => 'assoc', 'keyfield' => 'diakId')); + // SNI-s diákok kiválogatása... + $ADAT['sniDiakIds'] = $Diakok = array(); + foreach ($ADAT['diakAdat'] as $_diakId => $dAdat) { + if ($dAdat['fogyatekossag'] != '') { + $ADAT['sniDiakIds'][] = $_diakId; + $dAdat['aktualisStatusz'] = $dAdat['statusz']; + $Diakok[] = $dAdat; + } + } + } + + + // sni-s diákokon végigmenve: + foreach ($ADAT['sniDiakIds'] as $diakId) { + // Mentor/Ofő lekérdezése, konstans beállítása + $sniDA = getSniDiakAdat($diakId); + if (!is_array($sniDA)) $sniDA = array(); + $DA = array_merge($ADAT['diakAdat'][$diakId], $sniDA); + if (is_array($DA['felelos'])) foreach ($DA['felelos'] as $key => $tanarId) $felelos[$tanarId] = array(); + else $felelos = array(); + $DA['felelos'] = $felelos; + // A hónapokon végigmenve + $ho = intval(substr($_TANEV['kezdesDt'],5,2)); + $dt = date('Y-m-01', strtotime($_TANEV['kezdesDt'])); + while ($ho != 1+substr($_TANEV['zarasDt'],5,2)) { + $ADAT['diakAdat'][$diakId]['honap'][$ho] = getHaviOsszegzes($diakId, $dt); + $ADAT['diakAdat'][$diakId]['honap'][$ho]['hoNev'] = kisbetus($Honapok[$ho-1]); + // lépés a következő hónapra + $ho++; if ($ho > 12) $ho = 1; + $dt = date('Y-m-d', strtotime('next month', strtotime($dt))); + } + } + if (isset($osztalyId)) $ADAT['file'] = fileNameNormal('evVegiJegyzokonyv-'.$ADAT['osztaly']['osztalyJel'].'-'.str_replace('-','',$dt)); + else $ADAT['file'] = fileNameNormal('evVegiJegyzokonyv-'.$diakId.'-'.str_replace('-','',$dt)); + if (generateJegyzokonyv($ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/sniEvVegiJegyzokonyv&file='.$ADAT['file'].'.pdf')); + + } + // Tool + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['diakSelect'] = array( + // 'diakok' => $Diakok, + 'tipus'=>'cella','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv.php b/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv.php new file mode 100644 index 00000000..a2208099 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/sniEvVegiJegyzokonyv.php @@ -0,0 +1 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv-pre.php new file mode 100644 index 00000000..951f9b4e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv-pre.php @@ -0,0 +1,93 @@ + 'assoc')); + // Az osztály tanárai + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV, array('tanarral' => true)); + $ADAT['osztalyTanar'] = array(); $paros = false; + for ($i = 0; $i < count($Tankorok); $i++) { + for ($j = 0; $j < count($Tankorok[$i]['tanarok']); $j++) { + if (!is_array($ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ])) { + $ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ] = $ADAT['tanarok'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ]; + $ADAT['osztalyTanar'][ $Tankorok[$i]['tanarok'][$j]['tanarId'] ]['paros'] = $paros; + $paros = !$paros; + + } + } + } + // Az osztály tagjai + $ADAT['diakIds'] = getDiakok(array('osztalyId' => $osztalyId, 'result' => 'idonly','override' => false)); + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + // a diákok alapadatai + $ADAT['diakAdat'] = getDiakAdatById($ADAT['diakIds'], array('result' => 'assoc', 'keyfield' => 'diakId')); + // SNI-s diákok kiválogatása... + $ADAT['sniDiakIds'] = $Diakok = array(); + foreach ($ADAT['diakAdat'] as $_diakId => $dAdat) { + if ($dAdat['fogyatekossag'] != '') { + $ADAT['sniDiakIds'][] = $_diakId; + $dAdat['aktualisStatusz'] = $dAdat['statusz']; + $Diakok[] = $dAdat; + } + } + } + + + // sni-s diákokon végigmenve: + foreach ($ADAT['sniDiakIds'] as $diakId) { + // Mentor/Ofő lekérdezése, konstans beállítása + $sniDA = getSniDiakAdat($diakId); + if (!is_array($sniDA)) $sniDA = array(); + $tmpArray = array_merge($ADAT['diakAdat'][$diakId], $sniDA, getHaviOsszegzes($diakId, $dt)); + if (is_array($tmpArray['felelos'])) foreach ($tmpArray['felelos'] as $key => $tanarId) $felelos[$tanarId] = array(); + else $felelos = array(); + $tmpArray['felelos'] = $felelos; + $ADAT['diakAdat'][$diakId] = $tmpArray; + } + $ADAT['file'] = fileNameNormal('haviJegyzokonyv-'.$ADAT['osztaly']['osztalyJel'].'-'.str_replace('-','',$dt)); + if (generateJegyzokonyv($ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/sniHaviJegyzokonyv&file='.$ADAT['file'].'.pdf')); + + } + // Tool + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['datumSelect'] = array( + 'tipus' => 'sor', 'ParamName' => 'dt', 'tanev' => __TANEV, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 'havonta', 'post' => array('diakId', 'osztalyId') + ); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv.php b/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv.php new file mode 100644 index 00000000..a2208099 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/sniHaviJegyzokonyv.php @@ -0,0 +1 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles-pre.php new file mode 100644 index 00000000..0f7bdd81 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles-pre.php @@ -0,0 +1,78 @@ + $osztalyId, 'tanev' => $tanev, 'tolDt' => $dt, 'igDt' => $dt, + 'statusz'=>array('jogviszonyban van'), 'extraAttrs'=>'oId as oktatasiAzonosito,torzslapSzam')); + if (is_array($Diakok)) for ($i = 0; $i < count($Diakok); $i++) { + $diakIds[] = $Diakok[$i]['diakId']; + $ADAT['diakAdat'][$Diakok[$i]['diakId']] = $Diakok[$i]; + } + } + $diakId = readVariable($_POST['diakId'], 'numeric unsigned', null, $diakIds); + if (isset($diakId)) $diakIds = array($diakId); + $ADAT['diakIds'] = $diakIds; + + if (count($ADAT['diakIds']) > 0 && (isset($ADAT['dt']) || isset($ADAT['szemeszterId']))) { + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszter']); + $printFile = nyomtatvanyKeszites($ADAT); // ??? + $printFile = fileNameNormal($printFile); + if ($printFile !== false && file_exists(_DOWNLOADDIR."/$policy/$page/$sub/$f/$printFile")) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/szovegesErtekeles&file='.$printFile)); + } + +// $TOOL['datumSelect'] = array( +// 'tipus' => 'cella', 'post' => array('diakId','osztalyId'), +// 'paramName' => 'dt', 'hanyNaponta' => 1, 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), 'igDt' => $TA['zarasDt'] +// ); + $TOOL['datumTolIgSelect'] = array('tipus' => 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'dt', + 'tolDt' => date('Y-m-d', strtotime($TA['kezdesDt'])), 'igDt' => $TA['zarasDt'], + 'hanyNaponta' => 1, 'post' => array('osztalyId','diakId','sorrendNev') + ); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tolDt', 'tolDt', 'dt','sorrendNev')); + if (isset($osztalyId)) + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'diakok' => $Diakok, 'post' => array('osztalyId', 'tolDt', 'dt','sorrendNev')); + $TOOL['szemeszterSelect'] = array( + 'tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , + 'post' => array('osztalyId', 'tanarId', 'diakId', 'tolDt', 'dt', 'tankorId', 'kepzesId', 'evfolyam','sorrendNev') + ); + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId','diakId','tolDt','dt','tankorId','kepzesId','evfolyam')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles.php b/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles.php new file mode 100644 index 00000000..c24a85d5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/szovegesErtekeles.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles-pre.php new file mode 100644 index 00000000..232b406b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles-pre.php @@ -0,0 +1,58 @@ + 0) { + tankorNaplohozRendeles($osztalyId, $_POST['T']); + } + + } // action + + + // A naplókhoz rendelt tanköröket lekérdezzük + $ADAT['tankorNaploja'] = getTankorokNaploja(); + $ADAT['naploTankorei'] = array(); + foreach ($ADAT['tankorNaploja'] as $_tankorId => $_osztalyId) { + $ADAT['naploTankorei'][$_osztalyId][] = $_tankorId; + } + // osztályok lekérdezése + $ADAT['osztalyok'] = getOsztalyok(); + $ADAT['osztalyJele'] = array(); + for ($i =0; $i < count($ADAT['osztalyok']); $i++) $ADAT['osztalyJele'][ $ADAT['osztalyok'][$i]['osztalyId'] ] = $ADAT['osztalyok'][$i]['osztalyJel']; + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'osztalyok' => $ADAT['osztalyok'], 'post' => array()); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles.php b/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles.php new file mode 100644 index 00000000..5285af45 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/tankorNaplohozRendeles.php @@ -0,0 +1,15 @@ + 0) putOsztalyTankorei($osztalyId, $ADAT); + } else { + putHozzarendelesekTorlese(); + putHianyzoTankorok($ADAT); + putEloszlas($ADAT); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap-pre.php new file mode 100644 index 00000000..16bc3ae6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap-pre.php @@ -0,0 +1,165 @@ + 'getDiakBizonyitvany/óraszám', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'targyId', 'values' => $v + )); + + $szDb = $ADAT['szemeszter']['tanevAdat']['maxSzemeszter']; // Feltételezzük, hogy a szemeszterek számozása 1-től indul és folyamatos + foreach ($jres as $targyId => $tAdat) { + $oraszam = 0; + for ($i = 0; $i < count($tAdat); $i++) { + $oraszam += $tAdat[$i]['oraszam']; + } + $ret[$targyId]['hetiOraszam'] = $oraszam / $szDb; + /* + A TANITASI_HETEK_SZAMA a diák (egyik) osztályához rendelt munkaterv alapján van meghatározva - így + csak az aktuális tanévben (__TANEV) van értelme. Ha több osztálya is van a tanulónak, akkor problémás... + */ + if (defined('TANITASI_HETEK_SZAMA')) $ret[$targyId]['evesOraszam'] = $oraszam / $szDb * TANITASI_HETEK_SZAMA; + } + return $ret; + } + + + $ADAT['magatartasIds'] = getMagatartas(); + $ADAT['szorgalomIds']= getSzorgalom(); + + // A dátum, osztály és diákok kiválasztása + $ADAT['szemeszterId'] = $szemeszterId = readVariable($_POST['szemeszterId'], 'numeric unsigned', null); + if (isset($szemeszterId)) { // szemesztert záró értékelés - intézményi adatbázis + $ADAT['szemeszter'] = getSzemeszterAdatById($ADAT['szemeszterId']); + $ADAT['dt'] = $dt = $ADAT['szemeszter']['zarasDt']; + define('__ZARO_SZEMESZTER', $ADAT['szemeszter']['szemeszter'] == $ADAT['szemeszter']['tanevAdat']['maxSzemeszter']); //?? + $ADAT['tanev'] = $tanev = $ADAT['szemeszter']['tanev']; + } + $ADAT['osztalyId'] = $osztalyId = readVariable($_POST['osztalyId'], 'numeric unsigned', null); + $ADAT['targySorrendNev'] = $sorrendNev = readVariable($_POST['sorrendNev'], 'enum', 'anyakönyv', array('napló','bizonyítvány','anyakönyv','ellenőrző','egyedi')); + // Ha egy diák van kiválasztva... + $diakId = readVariable($_POST['diakId'], 'numeric unsigned', null, $diakIds); + + if (isset($osztalyId) && isset($szemeszterId)) { + define('TANITASI_HETEK_SZAMA', getTanitasiHetekSzama(array('osztalyId'=>$osztalyId))); + $diakIds = array(); + $ADAT['osztalyAdat'] = getOsztalyAdat($osztalyId, $tanev); + $ADAT['evfolyamJel'] = getEvfolyamJel($osztalyId, $tanev); + $ADAT['file'] = fileNameNormal('torzslap-'.str_replace('.', '', $ADAT['osztalyAdat']['osztalyJel'])); + $Diakok = getDiakok(array('osztalyId' => $osztalyId, 'tanev' => $tanev, 'tolDt' => $ADAT['szemeszter']['tanevAdat']['kezdesDt'], 'igDt' => $ADAT['szemeszter']['tanevAdat']['zarasDt'], + 'statusz'=>array('jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva'), + 'extraAttrs'=>'oId as oktatasiAzonosito,torzslapSzam as torzslapszam,allampolgarsag,szuletesiHely,szuletesiIdo,anyaId') + ); + osztalyTorzslapszamGeneralas($osztalyId); + $dTsz = getDiakokTorzslapszamaByOsztalyId($osztalyId); + if (is_array($Diakok)) for ($i = 0; $i < count($Diakok); $i++) { + if (!isset($diakId) || $diakId == $Diakok[$i]['diakId']) { + $diakIds[] = $Diakok[$i]['diakId']; + $Diakok[$i]['anyaNev'] = getSzuloNevById($Diakok[$i]['anyaId'], $szuleteskori = true); + $Diakok[$i]['evfolyamJel'] = $ADAT['evfolyamJel']; // kell ez?? // getEvfolyamJel($osztalyId, $ADAT['tanev']); + $Diakok[$i]['szuletesiOrszag'] = ''; // Ezzel mi legyen?? + $Diakok[$i]['feljegyzesek'] = ''; // Egyedi törzslap záradékok kellenek ide, semmi más! + $ADAT['diakAdat'][$Diakok[$i]['diakId']] = $Diakok[$i]; + $ADAT['diakAdat'][$Diakok[$i]['diakId']]['szuletesiIdo'] = dateToString($Diakok[$i]['szuletesiIdo']); + $ADAT['diakAdat'][$Diakok[$i]['diakId']]['torzslapszam'] = $dTsz[$Diakok[$i]['diakId']]; + } + } + $kovetkezoTanev = __TANEV+1; $kovTA = getTanevAdat($kovetkezoTanev); + $ADAT['diakZaradekok'] = getZaradekokByDiakIds($diakIds, array('tolDt'=>$_TANEV['kezdesDt'], 'igDt'=>$kovTA['kezdesDt'], 'tipus'=>'törzslap feljegyzés','keyfield'=>'diakId','result'=>'multiassoc')); // kell a tol-ig szűrés?? + $ADAT['diakZaradekok'] = getZaradekokByDiakIds($diakIds, array('tolDt'=>$_TANEV['kezdesDt'], 'igDt'=>$kovTA['kezdesDt'], 'dokumentum'=>'törzslap','keyfield'=>'diakId','result'=>'multiassoc')); // kell a tol-ig szűrés?? + $ADAT['diakBejegyzesek'] = getTorzslapBejegyzesByDiakIds($diakIds, array('tanev' => $tanev)); + + $ADAT['diakIds'] = $diakIds; + + if (count($ADAT['diakIds']) > 0) { + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszter']); + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszter'], $osztalyId, $sorrendNev); + $ADAT['jegyek'] = getDiakZarojegyekByEvfolyamJel($ADAT['diakIds'], $ADAT['evfolyamJel'], $ADAT['szemeszter'], array('felevivel'=>true)); // TODO: ellenőrzés + + foreach ($ADAT['jegyek'] as $diakId => $dJegyek) { + $ADAT['targyOraszam'][$diakId] = getDiakTargyOraszam($diakId, $osztalyId, $tanev, $ADAT); + } + + $printFile = torzslapNyomtatvanyKeszites($ADAT); // ??? + $printFile = fileNameNormal($printFile); + if ($printFile !== false && file_exists(_DOWNLOADDIR."/$policy/$page/$sub/$f/$printFile")) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/torzslap&file='.$printFile)); + } + } // van osztály és szemeszter + + + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('szemeszterId', 'tolDt', 'dt','sorrendNev')); + if (isset($osztalyId)) + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'diakok' => $Diakok, 'post' => array('szemeszterId', 'osztalyId', 'tolDt', 'dt','sorrendNev')); + $TOOL['szemeszterSelect'] = array( + 'tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , + 'post' => array('osztalyId', 'tanarId', 'diakId', 'tolDt', 'dt', 'tankorId', 'kepzesId', 'evfolyamJel','sorrendNev') + ); + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId','diakId','tolDt','dt','tankorId','kepzesId','evfolyamJel')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap.php b/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap.php new file mode 100644 index 00000000..c24a85d5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/torzslap.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat-pre.php new file mode 100644 index 00000000..f7250037 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat-pre.php @@ -0,0 +1,40 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat.php b/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat.php new file mode 100644 index 00000000..bc70f948 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/tovabbkepzesHatarozat.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok-pre.php b/mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok-pre.php new file mode 100644 index 00000000..b27306d2 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok-pre.php @@ -0,0 +1,49 @@ + 'indexed', 'tolDt' => $ADAT['tolDt'], 'igDt' => $ADAT['igDt'], 'dokumentum' => 'osztálynapló')); + $ADAT['bejegyzes'][ $ADAT['diakIds'][$i] ] = getDiakBejegyzesekByTanev($ADAT['diakIds'][$i], $ADAT['tanev']); + } + $ADAT['file'] = fileNameNormal($ADAT['file']); + if (pdfZaradekok($ADAT)) + header('Location: '.location('index.php?page=session&f=download&download=true&dir=naplo/nyomtatas/zaradekok&file='.$ADAT['file'].'.pdf')); + + } + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array()); + getToolParameters(); + +} + +?> diff --git a/mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok.php b/mayor-orig/www/policy/private/naplo/nyomtatas/zaradekok.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/orarend/ascExport-pre.php b/mayor-orig/www/policy/private/naplo/orarend/ascExport-pre.php new file mode 100644 index 00000000..878bb8e6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/ascExport-pre.php @@ -0,0 +1,110 @@ + $tanev, 'tolDt' => $dt, 'igDt' => $dt, 'csakOrarendbol' => true)); + $ADAT['exportalandoHet'] = readVariable($_POST['orarendiHet'], 'numeric', null, $ADAT['orarendiHet']); + if (isset($ADAT['exportalandoHet'])) $ADAT['szeminariumkent'] = true; + else $ADAT['szeminariumkent'] = readVariable($_POST['szeminariumkent'], 'bool', false, array(true, false)); + $ADAT['szakkorokkel'] = readVariable($_POST['szakkorokkel'], 'bool', false, array(true, false)); + $ADAT['targyBontas'] = readVariable($_POST['targyBontas'], 'bool', false, array(true, false)); + + // Bontások lekérdezése + $ADAT['bontas'] = ascBontasLekerdezes($ADAT['tanevDb']); + + if (!readVariable($_POST['blokkokNelkul'], 'bool', false, array(true, false))) $ADAT['tankorBlokk'] = getTankorBlokkok($tanev); + else $ADAT['tankorBlokk'] = array(); + // A tankörök blokk óraszámai + $tankor2blokk = array(); + if (is_array($ADAT['tankorBlokk']['exportOraszam'])) + foreach ($ADAT['tankorBlokk']['exportOraszam'] as $bId => $oraszam) { // blokkonként + for ($i = 0; $i < count($ADAT['tankorBlokk']['idk'][$bId]); $i++) { // az érintett tankörökön végigmenve + $tankor2blokk[ $ADAT['tankorBlokk']['idk'][$bId][$i] ]['blokkOraszam'] += $oraszam; + } + } + $ADAT['tankorIndex'] = array(); + if ($ADAT['szakkorokkel']) $ADAT['tankorok'] = getTankorok(array("tanev=$tanev")); + else $ADAT['tankorok'] = getTankorok(array("tanev=$tanev","jelenlet='kötelező'")); + for ($i = 0; $i < count($ADAT['tankorok']); $i++) { + $tankorId = $ADAT['tankorok'][$i]['tankorId']; + $ADAT['tankorok'][$i]['tankorAdat'] = getTankorAdat($tankorId, $tanev); + // óraszám + if (isset($ADAT['exportalandoHet'])) { + $ADAT['tankorok'][$i]['hetiOraszam'] = getTankorHetiOraszam($tankorId, array('tanev' => $tanev, 'dt' => $dt, 'het' => $ADAT['exportalandoHet'])); + } else { + $ADAT['tankorok'][$i]['hetiOraszam'] = 0; + for ($j = 0; $j < count($ADAT['tankorok'][$i]['tankorAdat'][$tankorId]); $j++) // Szemeszterenként végigmenve + $ADAT['tankorok'][$i]['hetiOraszam'] += $ADAT['tankorok'][$i]['tankorAdat'][$tankorId][$j]['oraszam']; + if ($j != 0) { + $ADAT['tankorok'][$i]['hetiOraszam'] /= $j; + // Korrigáljuk a tankört érintő blokkok óraszámával + if ($ADAT['tankorok'][$i]['hetiOraszam'] >= $tankor2blokk[$tankorId]['blokkOraszam']) + $ADAT['tankorok'][$i]['hetiOraszam'] -= $tankor2blokk[$tankorId]['blokkOraszam']; + else + $_SESSION['alert'][] = 'message:wrong_data:tankorOraszam='.$ADAT['tankorok'][$i]['hetiOraszam'].'; blokkOraszam=' + .$tankor2blokk[$tankorId]['blokkOraszam'].'; tankorId='.$tankorId; + } + } // óraszám + $ADAT['tankorIndex'][$tankorId] = $i; + } + + // --------------------- action -------------------------- // + + if ($action == 'ascExport') { + if ( +// tankorTanarRendbenE($tanev, $dt) +// && + ascExport($ADAT) + ) +define('__LOADURL', href('index.php?page=session&f=download&download=true&dir=orarend&file=ascExport.xml',array('sessionID','lang','skin','policy','alert'))); +//header('Location: '.location('index.php?page=session&f=download&download=true&dir=orarend&file=ascExport.xml',array('sessionID','lang','skin','policy','alert'))); + + } elseif ($action == 'blokkOraszam') { + + if (is_array($_POST['blokkOraszam'])) + for ($i = 0; $i < count($_POST['blokkOraszam']); $i++) { + list($bId, $oraszam) = explode(':', $_POST['blokkOraszam'][$i]); + $blokkOraszam = readVariable($oraszam, 'float unsigned', 0); + if ($blokkOraszam >= 0) $ADAT['blokkOraszam'][$bId] = $oraszam; + } // if+for + blokkOraszamRogzites($ADAT['blokkOraszam'], $ADAT['tanevDb']); + $ADAT['tankorBlokk'] = getTankorBlokkok($tanev); + + } elseif ($action == 'tobbszorosOra') { + + ascBontasModositas($ADAT); + $ADAT['bontas'] = ascBontasLekerdezes($ADAT['tanevDb']); + + } + + // --------------------- action -------------------------- // + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array()); + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post' => array('tanev'),'paramName' => 'dt', 'hanyNaponta' => 1, + 'override'=>true,'tolDt' => $_TA['kezdesDt'],'igDt' => $_TA['zarasDt'], + ); + + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/ascExport.php b/mayor-orig/www/policy/private/naplo/orarend/ascExport.php new file mode 100644 index 00000000..7972ab6b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/ascExport.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/helyettesites-pre.php b/mayor-orig/www/policy/private/naplo/orarend/helyettesites-pre.php new file mode 100644 index 00000000..c4ed7cb9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/helyettesites-pre.php @@ -0,0 +1,80 @@ + 0) $tolDt = $_POST['tolDt']; + + /* Az órarendihét kiválasztása */ + if (!isset($tolDt)) $tolDt = date('Y-m-d'); + if (strtotime($tolDt) > strtotime($_TANEV['zarasDt'])) $tolDt = $_TANEV['zarasDt']; + elseif (strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $tolDt = $_TANEV['kezdesDt']; + if ($tolDt != '') $het = getOrarendiHetByDt($tolDt); + if ($het == '') $het = getLastOrarend(); + //$igDt = date('Y-m-d', mktime(0,0,0,date('m',strtotime($tolDt)), date('d',strtotime($tolDt))+6, date('Y',strtotime($tolDt)))); + $igDt = $tolDt; + + if ($osztalyId!='') { + $TANKORIDK = getTankorByOsztalyId($osztalyId,__TANEV,array('csakId'=>true)); + $ADAT['orak'] = getHelyettesitendoOrak(array('osztalyId'=>$osztalyId,'tolDt'=>$tolDt,'igDt'=>$igDt,'tankorIdk'=>$TANKORIDK)); + } elseif ($tanarId!='') { + $TANKORIDK = getTankorByTanarId($tanarId,__TANEV,array('csakId'=>true)); + $ADAT['orak'] = getHelyettesitendoOrak(array('tolDt'=>$tolDt,'igDt'=>$igDt,'tankorIdk'=>$TANKORIDK)); + } else { + $ADAT['orak'] = getHelyettesitendoOrak(array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephelyId'=>$telephelyId)); + } + $ADAT['tankorok'] = getTankoradatByIds($ADAT['orak']['tankorok'],array('dt'=>$tolDt)); // $ADAT['orak'] at vizsgáld meg! + $ADAT['tanarok'] = getTanarok(array('result'=>'assoc')); + $ADAT['termek'] = getTermek(array('result'=>'assoc')); + + /* TOOL ME :) */ + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 1, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array('tolDt','osztalyId','tanarId')); + + //$TOOL['orarendiHetSelect'] = array('tipus'=>'cella' , 'paramName' => 'het', 'post'=>array('targyId','tankorId','osztalyId','tanarId'), 'disabled'=>true); + //$TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'post'=>array('tanev')); + //$TOOL['targySelect'] = array('tipus'=>'cella', 'paramName' => 'targyId', 'post'=>array('het')); +// if ($osztalyId!='') { +// $TOOL['diakSelect'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array('tolDt','osztalyId')); +// } else +// $TOOL['munkakozossegSelect'] = array('tipus'=>'sor','paramName'=>'mkId', 'post'=>array('tolDt')); + $TOOL['osztalySelect']= array('tipus'=>'cella','paramName'=>'osztalyId', 'post'=>array('tolDt')); + $TOOL['tanarSelect'] = array('tipus'=>'cella','paramName'=>'tanarId', 'post'=>array('tolDt')); +// if ($osztalyId!='' || $tanarId!='' || $diakId!='' || $mkId!='') $TOOL['tankorSelect'] = array('tipus'=>'sor','paramName'=>'tankorId', 'post'=>array('tolDt','osztaly + + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/helyettesites.php b/mayor-orig/www/policy/private/naplo/orarend/helyettesites.php new file mode 100644 index 00000000..e5eca8ff --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/helyettesites.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarend-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarend-pre.php new file mode 100644 index 00000000..1ccea4b7 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarend-pre.php @@ -0,0 +1,281 @@ +0) $PAGESTATE[$key]=intval($val); + } + } + } + +// -- TESZT VÉGE + $targyId = readVariable($_POST['targyId'], 'id', getPSFvar('targyId')); + $tankorId = readVariable($_POST['tankorId'], 'id', readVariable($_GET['tankorId'],'id',getPSFvar('tankorId'))); + $osztalyId = readVariable($_POST['osztalyId'], 'id', readVariable($_GET['osztalyId'],'id',getPSFvar('osztalyId'))); + $tanarId = $_POST['tanarId'] = readVariable($_POST['tanarId'], 'id', readVariable($_GET['tanarId'],'id',getPSFvar('tanarId'))); + $diakId = $_POST['diakId'] = readVariable($_POST['diakId'], 'id', readVariable($_GET['diakId'],'id',getPSFvar('diakId'))); + $teremId = readVariable($_POST['teremId'], 'id', getPSFvar('teremId')); + $mkId = readVariable($_POST['mkId'], 'id',getPSFvar('mkId')); + $het = readVariable($_POST['het'], 'id',getPSFvar('het')); // ??? + + $ADAT['telephelyek'] = getTelephelyek(); + $telephelyIds = array(); + foreach ($ADAT['telephelyek'] as $tAdat) $telephelyIds[] = $tAdat['telephelyId']; + $telephelyId = readVariable($_POST['telephelyId'], 'id', (count($ADAT['telephelyek'])>1?null:1), $telephelyIds); + /* A telephelyet ki tudnánk találni a lekérdezett órák termeiből is... */ + + $tolDt = readVariable($_POST['tolDt'], 'date', getTanitasihetHetfo(array('napszam'=>0))); + $dt = readVariable($_POST['dt'], 'date'); // mutatni + if ($mkId=='' && $tanarId=='' && $diakId=='' && $osztalyId=='' && $tankorId=='' && $teremId=='') { // ez itt mind isnotset + if (__DIAK && defined('__USERDIAKID')) $diakId=__USERDIAKID; + if (__TANAR && defined('__USERTANARID')) $tanarId=__USERTANARID; + } + + /* ----------------------------------------- */ + if (_POLICY=='private' && $action == 'setPublic' && is_numeric($diakId) && ((__NAGYKORU===true && $diakId==__USERDIAKID) || (__NAGYKORU === false && $diakId==__SZULODIAKID))) { + require_once('include/modules/naplo/share/diakModifier.php'); + diakAdatkezelesModositas(array('diakId'=>$diakId,'kulcs'=>'publikusOrarend','ertek'=>'1')); + } + /* ----------------------------------------- */ + + /* Az órarendihét kiválasztása */ + if (isset($dt)) $tolDt = date('Y-m-d', strtotime('last Monday', strtotime('+1 days', strtotime($dt) ))); + if (!isset($tolDt)) + // A következő nap előtti hétfő + $tolDt = date('Y-m-d', strtotime('last Monday', strtotime('+1 days', time()))); + +/* + if (strtotime($tolDt) > strtotime($_TANEV['zarasDt'])) $_tolDt = $_TANEV['zarasDt']; + elseif (strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $_tolDt = $_TANEV['kezdesDt']; + // és akkor korrigáljunk még egyszer + if (isset($_tolDt)) // A következő nap előtti hétfő + $tolDt = date('Y-m-d', strtotime('last Monday', strtotime('+1 days', time()))); +*/ + if ($tolDt != '') $het = getOrarendiHetByDt($tolDt); + if ($het == '') $het = getLastOrarend(); + $igDt = date('Y-m-d', mktime(0,0,0,date('m',strtotime($tolDt)), date('d',strtotime($tolDt))+6, date('Y',strtotime($tolDt)))); + + $ADAT['termek'] = getTermek(array('result'=>'assoc','telephelyId'=>$telephelyId)); + $ADAT['tanarok'] = getTanarok(array('result'=>'assoc','telephelyId'=>$telephelyId)); //--TODO telephely +// ===================== + if ($tankorId!='') { + $ADAT['orarend'] = getOrarendByTankorId($tankorId, array('tolDt'=>$tolDt,'igDt'=>$igDt)); + //$ADAT['toPrint'] = getTankorNev($tankorId); // vagy getTankornev külön? + $TANKOROK['haladasi'] = array($tankorId); + $ADAT['kivalasztott'] = array('tankor',$tankorId); + } elseif($tanarId!='') { +// if (_POLICY == 'public') $_SESSION['alert'][] = 'info:adatkezeles:letilva'; +// else { + $ADAT['orarend'] = getOrarendByTanarId($tanarId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephelyId'=>$telephelyId,'orarendiOraTankor'=>true)); + $ADAT['toPrint'] = $ADAT['tanarok'][$tanarId]['tanarNev']; +// } + $ADAT['kivalasztott'] = array('tanar',$tanarId); + } elseif($diakId!='') { + $ADAT['orarendTipus'] = 'diakOrarend'; + /* ide kerülhet, hogy a diák (__NAGYKORU)/szülő engedélyezte-e a saját/gyermeke órarendjének mutatását */ + $ADAT['adatKezeles'] = getDiakAdatkezeles($diakId,array('publikusOrarend'=>1)); + $ADAT['publikusOrarend'] = ($ADAT['adatKezeles']['publikusOrarend']['ertek'] == 1) ? true : false; + /* Ha belül vagyunk, akkor állíthassa be egy gombnyomással, hogy ő bizony engedélyezi */ + define(__ALLOWSET, ((__NAGYKORU===true && $diakId==__USERDIAKID) || (__NAGYKORU === false && $diakId==__SZULODIAKID))); + if (_POLICY == 'public' && $ADAT['publikusOrarend'] === false) { + $_SESSION['alert'][] = 'info:adatkezeles:'.'A keresési feltétel a felhasználó által belépés után a napló modulban engedélyezhető!'; + } else { + $ADAT['orarend'] = getOrarendByDiakId($diakId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'osztalyId'=>$osztalyId)); // itt az osztalyId-t nem lenne kötelező megadni, de a felületen úgysem lehet máshogy idejutni + $TANKOROK['haladasi'] = getTankorByDiakId($diakId, __TANEV, array('csakId' => true, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result'=>'idonly')); + $ADAT['diakFelmentes'] = getTankorDiakFelmentes($diakId, __TANEV, array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } + $ADAT['diakEvfolyamAdat'] = getEvfolyamAdatByDiakId($diakId,$tolDt,__TANEV); + $ADAT['kepzes'] = getKepzesByDiakId($diakId, array('result' => '', 'dt' => $tolDt, 'arraymap' => null)); + if (count($ADAT['kepzes'])==1) { + $ADAT['kepzesOraterv'] = getOraszamByKepzes($ADAT['kepzes'][0]['kepzesId'], array('szemeszter'=>1,'evfolyam'=>$ADAT['diakEvfolyamAdat']['evfolyam'])); + } else {//nincs képzése, vagy több van + } + + $ADAT['kivalasztott'] = array('diak',$diakId); + } elseif ($osztalyId!='') { + $ADAT['orarendTipus'] = 'osztalyOrarend'; + $ADAT['orarend'] = getOrarendByOsztalyId($osztalyId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + $OADAT = getOsztalyAdat($osztalyId); + $ADAT['toPrint'] = $OADAT['osztalyJel']; + $TANKOROK['haladasi'] = getTankorByOsztalyId($osztalyId, __TANEV, array('csakId' => true, 'tanarral' => false, 'result' => 'idonly')); + $ADAT['kivalasztott'] = array('osztaly',$osztalyId); + } elseif ($mkId!='') { + $ADAT['orarend'] = getOrarendByMkId($mkId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephelyId'=>$telephelyId)); + $TANKOROK['haladasi'] = getTankorByMkId($mkId, __TANEV, array('csakId' => true,'filter' => array()) ); + $ADAT['kivalasztott'] = array('munkakozosseg',$mkId); + } elseif ($teremId!='') { + $teremAdat = getTeremAdatById($teremId); + $ADAT['orarend'] = getOrarendByTeremId($teremId,'',array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephelyId'=>$telephelyId)); + $ADAT['toPrint'] = $teremAdat['leiras']; + $ADAT['kivalasztott'] = array('terem',$teremId); + } + else $ADAT = array(); +// ----------- + $TANKOROK['erintett'] = $ADAT['orarend']['tankorok']; // --FIXME (2013.05.03) + $TANKOROK['mindenByDt'] = $ADAT['orarend']['mindenTankorByDt']; // --FIXME (2013.05.03) + + $ADAT['NAPOK'] = $_NAPOK = _genNapok($tolDt,$igDt); + + if (isset($tanarId)) { + $ADAT['haladasi'] = getTanarOrak($tanarId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'result'=>'likeOrarend')); + } elseif ((is_array($TANKOROK['mindenByDt']) && count($TANKOROK['mindenByDt']>0)) || $teremId!='') { + // akkor egészítsük ki a haladási naplós órákkal + /* FS#100 */ + $ADAT['haladasi'] = array('tankorok'=>array()); + // dátumfüggő FS#100 + for ($i=0; $i$_dt,'igDt'=>$_dt,'result'=>'likeOrarend')); + else + $_D = getOrak($TANKOROK['haladasi'],array('tolDt'=>$_dt,'igDt'=>$_dt,'result'=>'likeOrarend')); + $ADAT['haladasi']['orak'][$_dt] = $_D['orak'][$_dt]; + if (is_array($_D['tankorok'])) $ADAT['haladasi']['tankorok'] = array_map('intval',array_unique(array_merge($_D['tankorok'],$ADAT['haladasi']['tankorok']))); + } + } + + /* FIX */ + // a haladási naplóban olyan tankörök is szerepelnek, amik eddig nem... + // először gyűjtsük ki a szükséges tanköröket, és utána kérdezzük le az adataikat egyben + // ... + + if (!is_array($TANKOROK['haladasi'])) $TANKOROK['haladasi'] = array(); + if (is_array($ADAT['orarend']['tankorok']) && is_array($ADAT['haladasi']['tankorok'])) { + $TANKOROK = array_unique(array_map('intval',array_merge($ADAT['orarend']['tankorok'],$ADAT['haladasi']['tankorok'],$TANKOROK['haladasi']))); + } elseif (is_array($ADAT['haladasi']['tankorok'])) { + $TANKOROK = $ADAT['haladasi']['tankorok']; + } else { + $TANKOROK = $ADAT['orarend']['tankorok']; + } + if (count($TANKOROK)>0) $ADAT['tankorok'] = getTankorAdatByIds($TANKOROK); + + /* tankörlétszámok */ + if (is_array($ADAT['tankorok'])) foreach ($ADAT['tankorok'] as $_tankorId =>$_T) { + $ADAT['tankorLetszamok'][$_tankorId] = getTankorLetszam($_tankorId,array('refDt'=>$tolDt)); + } + if (is_array($TANKOROK)) for ($i=0; $i$tolDt)); + } + //--// + $ADAT['dt'] = $dt; // show this... ha a skin ajax + + $ADAT['csengetesiRend'] = getCsengetesiRend(); + $ADAT['telephelyId'] = $telephelyId; + $ADAT['napiMinOra'] = getMinOra(); + $ADAT['napiMaxOra'] = getMaxOra(); + $ADAT['hetiMaxNap'] = getMaxNap(array('haladasi'=>true,'tolDt'=>$tolDt,'igDt'=>$igDt)); + $ADAT['tankorTipus'] = getTankorTipusok(); + $ADAT['orakMost'] = getOrakMost(); + + $_napok = getNapok(array('tolDt'=>$tolDt,'igDt'=>$igDt)); + for ($i=0; $i$tanev,'tolDt'=>$dt,'igDt'=>$dt)); + } elseif (__JEGYZETSZEREPTIPUS == 'tanar') { + $JA['tankorok'] = getTankorByTanarId(__JEGYZETSZEREPID); + if (is_array($_OSZTALYA) && count($_OSZTALYA)>0) $JA['osztalyok'] = getOsztalyok(null,array('osztalyIds'=>$_OSZTALYA)); + $JA['munkakozossegek'] = getMunkakozossegByTanarId(__JEGYZETSZEREPID, array('idonly'=>false)); + } + for ($i=0; $i$tolDt,'igDt'=>$igDt,'tankorIdk'=>$JA['tankorIdk'],'osztalyIdk'=>$JA['osztalyIdk'])); + + if (in_array(_POLICY,array('private','parent')) && (isset($diakId) && ((__DIAK===true && $diakId==_USERDIAKID) || __TANAR===true || __NAPLOADMIN===true ))) { + $ADAT['hianyzas'] = getHianyzasByDiakIds(array($diakId), array('tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'multiassoc', 'keyfield'=>'oraId')); + } + } + if ($skin=='ajax' && $_REQUEST['httpResponse']=='json') $_JSON['orarend']=$ADAT; + +//===================================== + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId','mkId','diakId','telephelyId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 7, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! +// 'tolDt' => date('Y-m-d', strtotime('Monday', strtotime($_TANEV['kezdesDt']))), + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + 'lapozo' => 0 + ); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'post'=>array('tolDt','mkId','tanarId')); + //$TOOL['orarendiHetSelect'] = array('tipus'=>'cella' , 'paramName' => 'het', 'post'=>array('targyId','tankorId','osztalyId','tanarId'), 'disabled'=>true); + if (($osztalyId!='' || $diakId!='') //&& _POLICY=='private' + ) { + $TOOL['diakSelect'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array('tolDt','osztalyId','telephelyId')); + } else { + $TOOL['munkakozossegSelect'] = array('tipus'=>'sor', 'paramName'=>'mkId', 'post'=>array('tolDt','telephelyId')); + } + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'paramName'=>'tanarId', 'post'=>array('tolDt','telephelyId')); + $TOOL['osztalySelect']= array('tipus'=>'cella', 'paramName'=>'osztalyId', 'post'=>array('tolDt','telephelyId')); + $TOOL['teremSelect'] = array('tipus'=>'cella', 'paramName'=>'teremId', 'telephelyId'=>$telephelyId, 'post'=>array('tolDt','telephelyId')); + if ($osztalyId!='' || $tanarId!='' || $diakId!='' || $mkId!='' || $tankorId!='') + $TOOL['tankorSelect'] = array('tipus'=>'sor','paramName'=>'tankorId', 'tolDt'=>$tolDt, 'igDt'=>$igDt, + 'post'=>array('tolDt','osztalyId','targyId','tanarId','diakId','telephelyId')); + + $TOOL['general']['post'] = $TOOLBARVARS; + getToolParameters(); + + +//************************************** + /* TESZT - savePageState() */ + if ($preSetSave || $preSetLoad) { + $SAVESTATE = array(); + foreach($TOOLBARVARS as $key) { + if (isset($$key) && intval($$key)>0) { + $SAVESTATE[] = $key.'-'.intval($$key); + $stateCounter++; + } + } + if ($stateCounter>0) setcookie($page.'_'.$sub.'_'.$f, implode('+',$SAVESTATE), 0, '', '', TRUE, TRUE); + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarend.php b/mayor-orig/www/policy/private/naplo/orarend/orarend.php new file mode 100644 index 00000000..b0ed3b60 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarend.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto-pre.php new file mode 100644 index 00000000..df4db33a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto-pre.php @@ -0,0 +1,80 @@ + 'cella', 'paramName' => 'tanev','post' => array('fileName','conv')); + $TOOL['datumTolIgSelect'] = array( + 'tipus' => 'sor', 'post' => array('tanev','fileName','conv','orarendiHet'), + 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', 'hanyNaponta' => 1, + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($TA['kezdesDt']))), + 'igDt' => $TA['zarasDt'], + ); + $TOOL['orarendiHetSelect'] = array( + 'tanev' => $tanev, 'tolDt' => $tolDt, 'igDt' => $igDt, 'tipus' => 'cella', + 'megjelenitendoHetek' => array(1,2,3,4,5,6,7,8,9,10), + 'post' => array('fileName','tanev','tolDt','igDt','conv'), 'paramName' => 'orarendiHet' + ); + getToolParameters(); + + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto.php b/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto.php new file mode 100644 index 00000000..8d4105bd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendBetolto.php @@ -0,0 +1,14 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes-pre.php new file mode 100644 index 00000000..45ab709f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes-pre.php @@ -0,0 +1,56 @@ + $tanev, 'result' => 'assoc')); + $ADAT['termek'] = getTermek(array('tipus'=>array())); + $ADAT['tankorok'] = getTankorok(array("tanev=$tanev")); + for ($i = 0; $i < count($ADAT['tankorok']); $i++) { + $tankorId = $ADAT['tankorok'][$i]['tankorId']; + $ADAT['tankorok'][$i]['tankorAdat'] = getTankorAdat($tankorId, $tanev); + $ADAT['tankorok'][$i]['hetiOraszam'] = 0; + for ($j = 0; $j < count($ADAT['tankorok'][$i]['tankorAdat'][$tankorId]); $j++) // Szemeszterenként végigmenve + $ADAT['tankorok'][$i]['hetiOraszam'] += $ADAT['tankorok'][$i]['tankorAdat'][$tankorId][$j]['oraszam']; + if ($j != 0) { + $ADAT['tankorok'][$i]['hetiOraszam'] /= $j; + } + $ADAT['tankorIndex'][$tankorId] = $i; + } + + $ADAT['orarendiHetek'] = getOrarendiHetek(array('tanev' => $tanev, 'tolDt' => $dt, 'igDt' => $dt, 'csakOrarendbol'=>false)); + + // orarendiOra - tankor ellenőrzés + $ADAT['check']['orarendiOraTankor'] = checkOrarendiOraTankor($ADAT); + // tankör óraszám ellenőrzés + $ADAT['check']['tankorOraszam'] = checkTankorOraszam($ADAT); + // hiányzó termek + $ADAT['check']['hianyzoTermek'] = checkHianyzoTermek($ADAT); + // teremütközés + $ADAT['check']['teremUtkozes'] = checkTeremUtkozes($ADAT); + + } + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array()); + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('tanev'),'paramName' => 'dt', 'hanyNaponta' => 1, + 'override' => true,'tolDt' => $_TA['kezdesDt'], 'igDt' => $_TA['zarasDt'], + ); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes.php b/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes.php new file mode 100644 index 00000000..6cd2b79f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendEllenorzes.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendModosito-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendModosito-pre.php new file mode 100644 index 00000000..831c0fa5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendModosito-pre.php @@ -0,0 +1,277 @@ + strtotime($_TANEV['zarasDt'])) $_tolDt = $_TANEV['zarasDt']; + elseif (strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $_tolDt = $_TANEV['kezdesDt']; + // és akkor korrigáljunk még egyszer + if (isset($_tolDt)) // A következő nap előtti hétfő + $tolDt = date('Y-m-d', strtotime('last Monday', strtotime('+1 days', time()))); +*/ + + if ($tolDt != '') $het = getOrarendiHetByDt($tolDt); + if ($het == '') $het = getLastOrarend(); + $igDt = date('Y-m-d', mktime(0,0,0,date('m',strtotime($tolDt)), date('d',strtotime($tolDt))+6, date('Y',strtotime($tolDt)))); + + // itt ellenőrizzük, hogy a dt (referenciadátum) beleesik-e a tolIg be! + if (isset($tolDt) && isset($refTolDt) && isset($refIgDt)) { + if (strtotime($tolDt)strtotime($refIgDt)) $_SESSION['alert'][] = 'message:wrong_data:hibás referenciadátum!'; + if (strtotime($refTolDt)>strtotime($refIgDt)) $_SESSION['alert'][] = 'message:wrong_data:hibás referenciadátum!'; + } + if ($action==='do') { + $HOT = readVariable($_POST['HALADASIORATOROL'],'id'); + //dump($HOT); + for ($i=0; $i$value) { + if ($value!='' && substr($key,0,2)=='T_') { + $_ADAT = array(); + list($_pre,$_het,$_nap,$_ora,$_tanarId,$_kulcsTolDt) = explode('_',$key); + $_ADAT['teremId'] = readVariable($value, 'id'); + $_ADAT['het'] = readVariable($_het,'id'); + $_ADAT['nap'] = readVariable($_nap,'id'); + $_ADAT['ora'] = readVariable($_ora,'id'); + $_ADAT['tolDt'] = readVariable($refTolDt,'date'); + $_ADAT['igDt'] = readVariable($refIgDt,'date'); + $_ADAT['refDt'] = readVariable($refDt,'date'); + $_ADAT['tanarId'] = readVariable($_tanarId,'id',null); +dump($_ADAT); + teremModosit($_ADAT); + } + } + unset($_ADAT); + } + + + $ADAT['termek'] = getTermek(array('result'=>'assoc')); + $ADAT['tanarok'] = getTanarok(array('result'=>'assoc')); +// ===================== + if ($tankorId!='') { + $ADAT['orarend'] = getOrarendByTankorId($tankorId, array('tolDt'=>$tolDt,'igDt'=>$igDt)); + //$ADAT['toPrint'] = getTankorNev($tankorId); // vagy getTankornev külön? + } elseif($tanarId!='') { + $ADAT['orarend'] = getOrarendByTanarId($tanarId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephely'=>$telephely,'orarendiOraTankor'=>true)); + $ADAT['toPrint'] = $ADAT['tanarok'][$tanarId]['tanarNev']; + $ADAT['felvehetoTankorok'] = getTankorByTanarId($tanarId,$tanev, array('csakId'=>false,'tolDt'=>$refTolDt, 'igDt'=>$refIgDt)); + +//======================== +/* illesszük ide az Órarendi óra tankör összerendezés 4.6 */ + $ADAT['orarendioraTankor'] = getOrarendByTanarId($tanarId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'orarendiOraTankor'=>true)); +//======================== + $TANKORIDK = getTankorByTanarId($tanarId, __TANEV, array('csakId' => true, 'tolDt' => $tolDt, 'igDt' => $igDt, 'result' => 'indexed', 'tanarral' => false)); + $ADAT['haladasi'] = getOrak($TANKORIDK, array('tolDt'=>$tolDt,'igDt'=>$igDt, 'result'=>'likeOrarend', 'elmaradokNelkul'=>false)); + $ADAT['vanHaladasi'] = checkHaladasi(array('tolDt'=>$refTolDt,'igDt'=>$refIgDt)); + } elseif($diakId!='') { + $ADAT['orarend'] = getOrarendByDiakId($diakId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } elseif ($osztalyId!='') { + $ADAT['orarend'] = getOrarendByOsztalyId($osztalyId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + $OADAT = getOsztalyAdat($osztalyId); + $ADAT['toPrint'] = $OADAT['osztalyJel']; + } elseif ($mkId!='') { + $ADAT['orarend'] = getOrarendByMkId($mkId,array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephely'=>$telephely)); + } elseif ($teremId!='') { + $ADAT['orarend'] = getOrarendByTeremId($teremId,'',array('tolDt'=>$tolDt,'igDt'=>$igDt,'telephely'=>$telephely)); + } + else $ADAT = array(); + + $TANKOROK['erintett'] = $ADAT['orarend']['tankorok']; + $TANKOROK['mindenByDt'] = $ADAT['orarend']['mindenTankorByDt']; + + $TANKOROK = (is_array($ADAT['orarend']['tankorok']) && is_array($ADAT['haladasi']['tankorok'])) ? + array_unique(array_merge($ADAT['orarend']['tankorok'],$ADAT['haladasi']['tankorok'])) + : + $ADAT['orarend']['tankorok']; + $ADAT['tankorok'] = getTankorAdatByIds($TANKOROK); + /* tankörlétszámok */ + if (is_array($ADAT['tankorok'])) foreach ($ADAT['tankorok'] as $_tankorId =>$_T) { + $ADAT['tankorLetszamok'][$_tankorId] = getTankorLetszam($_tankorId,array('refDt'=>$tolDt)); + } + + /* quick fix */ + $_T = array(); + //if (count($TANKOROK)==0) { + for ($i=0; $i$_T)); + + $ADAT['hibasOrak'] = getHibasOrak(); + + //--// + $ADAT['dt'] = $dt; // show this... ha a skin ajax + + //$ADAT['napiMinOra'] = getMinOra(); + $ADAT['napiMinOra'] = 0; // Ha még nincs is 0. óra, lehessen felvenni, ha kell + $ADAT['napiMaxOra'] = getMaxOra()+1; // +1 mindig legyen, ha nincs konstans, akkor is + if ($ADAT['napiMaxOra'] < __MAXORA_MINIMUMA) $ADAT['napiMaxOra'] = __MAXORA_MINIMUMA; // Legalább __MAXORA_MINIMUMA órát fel lehessen venni + $ADAT['hetiMaxNap'] = getMaxNap(); + if ($ADAT['hetiMaxNap'] < __HETIMAXNAP_MINIMUMA) $ADAT['hetiMaxNap'] = __HETIMAXNAP_MINIMUMA; + + $ADAT['tanarId'] = $tanarId; + $ADAT['refTolDt'] = $refTolDt; + $ADAT['refIgDt'] = $refIgDt; + $ADAT['tolDt'] = $tolDt; +//===================================== + + /* TOOL ME :) */ + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId','mkId','diakId','telephely','refTolDt','refIgDt'), + 'paramName' => 'tolDt', 'title' => 'ORARENDDT', + 'hanyNaponta' => 7, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! +// 'tolDt' => date('Y-m-d', strtotime('Monday', strtotime($_TANEV['kezdesDt']))), + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), +// 'tolDt' => $_TANEV['elozoZarasDt'], + 'igDt' => $_TANEV['kovetkezoKezdesDt'], + ); + $TOOL['datumTolIgSelect'] = array( + 'tipus' => 'sor', 'title' => 'REFDT', + 'post'=>array('tolDt','tanarId','osztalyId','tankorId','mkId','diakId','telephely'), + 'tolParamName' => 'refTolDt', 'igParamName' => 'refIgDt', 'hanyNaponta' => 1, + 'tolDt' => $_TANEV['elozoZarasDt'], + 'igDt' => $_TANEV['kovetkezoKezdesDt'], + 'override' => true, + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + + //$TOOL['orarendiHetSelect'] = array('tipus'=>'cella' , 'paramName' => 'het', 'post'=>array('targyId','tankorId','osztalyId','tanarId'), 'disabled'=>true); +// if ($osztalyId!='' || $diakId!='') { +// $TOOL['diakSelect'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array('refTolDt','refIgDt','tolDt','osztalyId','telephely')); +// } else +// $TOOL['munkakozossegSelect'] = array('tipus'=>'sor', 'paramName'=>'mkId', 'post'=>array('refTolDt','refIgDt','tolDt','telephely')); + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'paramName'=>'tanarId', 'post'=>array('refTolDt','refIgDt','tolDt','telephely')); +// $TOOL['osztalySelect']= array('tipus'=>'cella', 'paramName'=>'osztalyId', 'post'=>array('refTolDt','refIgDt','tolDt')); +// $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephely', 'post'=>array('refTolDt','refIgDt','tolDt','mkId','tanarId')); +// $TOOL['teremSelect'] = array('tipus'=>'cella', 'paramName'=>'teremId', 'telephely'=>$telephely, 'post'=>array('refTolDt','refIgDt','tolDt','telephely')); + if ($osztalyId!='' || $tanarId!='' || $diakId!='' || $mkId!='') $TOOL['tankorSelect'] = array('tipus'=>'sor','paramName'=>'tankorId', 'post'=>array('refTolDt','refIgDt','tolDt','osztalyId','targyId','tanarId','diakId','telephely')); + getToolParameters(); + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendModosito.php b/mayor-orig/www/policy/private/naplo/orarend/orarendModosito.php new file mode 100644 index 00000000..e60986b5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendModosito.php @@ -0,0 +1,8 @@ + 0) putOrarend($ADAT); +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendTankor-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendTankor-pre.php new file mode 100644 index 00000000..68a32271 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendTankor-pre.php @@ -0,0 +1,56 @@ +$tolDt,'igDt'=>$igDt,'orarendiOraTankor'=>true)); + $ORAREND['napiMinOra'] = getMinOra(); + $ORAREND['napiMaxOra'] = $ORAREND['maxOra'] = getMaxOra(); + $ORAREND['hetiMaxNap'] = getMaxNap(); + $TANKOROK = getTankorByTanarId($tanarId,__TANEV,array('csakId'=>false,'result'=>'multiassoc','tolDt'=>$_TANEV['kezdesDt'],'igDt'=>$_TANEV['zarasDt'])); + foreach($TANKOROK as $_tankorId => $_TA) { + $tankorBlokk = getTankorBlokkByTankorId($_tankorId, __TANEV, array('blokkNevekkel'=> true)); + if (is_array($tankorBlokk )) + $TANKOROK[$_tankorId][0]['blokkAdat'] = $tankorBlokk; + } + dump($TANKOROK); + } else { $ORAREND = array(); } + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 7, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + $TOOL['tanarSelect'] = array('tipus'=>'cella','paramName'=>'tanarId', 'post'=>array('het','tolDt')); + getToolParameters(); + + + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendTankor.php b/mayor-orig/www/policy/private/naplo/orarend/orarendTankor.php new file mode 100644 index 00000000..f1962014 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendTankor.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas-pre.php new file mode 100644 index 00000000..c79371fb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas-pre.php @@ -0,0 +1,86 @@ + $tanev)); + $ADAT['napiMaxOra'] = getMaxOra(array('tanev' => $tanev)); + $ADAT['dt'] = $dt = readVariable($_POST['dt'], 'datetime', $_TA['kezdesDt']); + + $ADAT['tanarok'] = getTanarok(array('tanev' => $tanev, 'result' => 'assoc')); + $ADAT['termek'] = getTermek(array('tipus'=>array())); + $ADAT['tankorok'] = getTankorok(array("tanev=$tanev")); + for ($i = 0; $i < count($ADAT['tankorok']); $i++) { + $tankorId = $ADAT['tankorok'][$i]['tankorId']; + $ADAT['tankorok'][$i]['tankorAdat'] = getTankorAdat($tankorId, $tanev); + $ADAT['tankorIndex'][$tankorId] = $i; + } + + $ADAT['orarendiHetek'] = getOrarendiHetek(array('tanev' => $tanev, 'tolDt' => $dt, 'igDt' => $dt,'felsohatar'=>99)); + $ADAT['orak'] = array(); + if (isset($ADAT['napiMaxOra']) && isset($ADAT['napiMinOra'])) { + for ($n = $ADAT['napiMinOra']; $n <= $ADAT['napiMaxOra']; $n++) $ADAT['orak'][] = $n; + } else { + $_SESSION['alert'][] = 'message:nincs órarend?:'.$ADAT['napiMaxOra'].', '.$ADAT['napiMinOra']; + $ADAT['orak'] = array(0,1,2,3,4,5,6,7,8,9); + } + + if ($action == 'orarendTeremModositas') { + + $ADAT['tanarId'] = readVariable($_POST['tanarId'], 'numeric unsigned', null); + $ADAT['het'] = readVariable($_POST['het'], 'numeric unsigned', null, $ADAT['orarendiHet']); + $ADAT['nap'] = readVariable($_POST['nap'], 'numeric unsigned', null, array(1,2,3,4,5,6,7)); + $ADAT['ora'] = readVariable($_POST['ora'], 'numeric unsigned', null, $ADAT['orak']); + + if (isset($ADAT['tanarId']) && isset($ADAT['het']) && isset($ADAT['nap']) && isset($ADAT['ora'])) { + + $ADAT['termek'] = getTermek(array('result' => 'assoc')); + $ADAT['orarendiOra'] = getOrarendiOraAdat($ADAT); + $ADAT['foglaltTermek'] = getFoglaltTeremekByOrarendiOra($ADAT); + + $ADAT['teremIds'] = array_keys($ADAT['termek']); + + $ADAT['teremId'] = readVariable($_POST['teremId'], 'numeric unsigned', intval($ADAT['orarendiOra']['teremId']), $ADAT['teremIds']); + if ($ADAT['teremId'] != $ADAT['orarendiOra']['teremId']) { + if ($tanarId = teremModositas($ADAT)) { // ütközés esetén az ütkörő óra adatait + $ADAT['tanarId'] = $tanarId; + $ADAT['orarendiOra'] = getOrarendiOraAdat($ADAT); + } else { + $ADAT['orarendiOra']['teremId'] = $ADAT['teremId']; + } + $ADAT['foglaltTermek'] = getFoglaltTeremekByOrarendiOra($ADAT); + } + + } + + } + + } + + $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array()); + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('tanev'),'paramName' => 'dt', 'hanyNaponta' => 1, + 'override' => true,'tolDt' => $_TA['kezdesDt'], 'igDt' => $_TA['zarasDt'], + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas.php b/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas.php new file mode 100644 index 00000000..0473433c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendTeremModositas.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes-pre.php b/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes-pre.php new file mode 100644 index 00000000..573fa8d8 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes-pre.php @@ -0,0 +1,77 @@ + strtotime($_TANEV['zarasDt'])) $tolDt = $_TANEV['zarasDt']; + elseif (strtotime($tolDt) < strtotime($_TANEV['kezdesDt'])) $tolDt = $_TANEV['kezdesDt']; + if ($tolDt != '') $het = getOrarendiHetByDt($tolDt); + if ($het == '') $het = getLastOrarend(); + $igDt = date('Y-m-d', mktime(0,0,0,date('m',strtotime($tolDt)), date('d',strtotime($tolDt))+6, date('Y',strtotime($tolDt)))); + + $ADAT['tanarok'] = getTanarok(array('result'=>'assoc')); + +// ===================== + if ($tankorId!='') { + $ADAT['orarend'] = getOrarendByTankorId($tankorId, array('tolDt'=>$tolDt,'igDt'=>$igDt)); + //$ADAT['toPrint'] = getTankorNev($tankorId); // vagy getTankornev külön? + } elseif($tanarId!='') { + $ADAT['orarend'] = getOrarendByTanarId($tanarId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + $ADAT['toPrint'] = $ADAT['tanarok'][$tanarId]['tanarNev']; + } elseif($diakId!='') { + $ADAT['orarend'] = getOrarendByDiakId($diakId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } elseif ($osztalyId!='') { + + $ADAT['diakok'] = getDiakokByOsztaly($osztalyId, array('tanev' => $tanev, 'statuszonkent' => 0)); + + foreach ($ADAT['diakok'] as $_diakId => $dAdat) { + $D = array(); + $D['orarend'] = getOrarendByDiakId($_diakId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + $D['tankorok'] = getTankorByDiakId($_diakId,__TANEV,array('csakId'=>false,'result'=>'multiassoc','tolDt'=>$tolDt,'igDt'=>$igDt)); + $ADAT['diakOrarend'][$_diakId] = $D; + } + + } elseif ($mkId!='') { + $ADAT['orarend'] = getOrarendByMkId($mkId,array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } elseif ($teremId!='') { + $ADAT['orarend'] = getOrarendByTeremId($teremId,'',array('tolDt'=>$tolDt,'igDt'=>$igDt)); + } + else $ADAT = array(); + + /* TOOL ME :) */ + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 7, + 'tolDt' => date('Y-m-d', strtotime('Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + $TOOL['osztalySelect']= array('tipus'=>'cella','paramName'=>'osztalyId', 'post'=>array('tolDt')); + getToolParameters(); + +} + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes.php b/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes.php new file mode 100644 index 00000000..a2ea24cb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/orarendUtkozes.php @@ -0,0 +1,47 @@ + $dAdat) { + _check($ADAT['diakOrarend'][$_diakId],$dAdat,$err); + } + + if ($err==0) echo 'nincs ütközés'; + + +function _check($ADAT,$dAdat,&$err) { + $TANKORADAT = $ADAT['tankorok']; + if (is_array($ADAT['orarend']['assoc'])) + foreach($ADAT['orarend']['assoc'] as $het => $HETI) { + foreach ($HETI as $nap => $NAPI) { + foreach($NAPI as $ora => $ORA) { + if (count($ORA)>1) { + $db=0; + for ($j=0; $j1) { + $err++; + echo $dAdat['diakNev']; + echo " hét:$het nap:$nap ora:$ora ütközés szám:".count($ORA)."db.
    "; + echo '
      '; + for ($j=0; $j'; + echo $TANKORADAT[$ORA[$j]['tankorId']][0]['tankorNev']; + echo '('.$TANKORADAT[$ORA[$j]['tankorId']][0]['jelenlet'].')'; + echo $TANKORADAT[$ORA[$j]['tankorId']][0]['tankorId']; + echo ''; + } + echo '
    '."\n"; + } + } + } + } + } +} + + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/szabadTerem-pre.php b/mayor-orig/www/policy/private/naplo/orarend/szabadTerem-pre.php new file mode 100644 index 00000000..a5b8b2b5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/szabadTerem-pre.php @@ -0,0 +1,31 @@ + 'assoc')); + $ADAT['teremIdk'] = getTermek(array('result' => 'idonly', 'tipus' => array('tanterem','szaktanterem','osztályterem','labor','gépterem','tornaterem','tornaszoba','fejlesztőszoba','tanműhely','előadó','könyvtár','díszterem','templom','egyéb'), 'telephelyId' => $telephelyId)); + $ADAT['szabadTermek'] = getSzabadTermekByDtInterval($tolDt, $igDt, $ADAT['teremIdk']); + $ADAT['toPrint'] = 'Órarendi szabad termek'; + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array('tanarId','osztalyId','tankorId','mkId','diakId'), + 'paramName' => 'tolDt', 'hanyNaponta' => 7, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + $TOOL['telephelySelect'] = array('tipus'=>'cella', 'paramName'=>'telephelyId', 'telephelyek'=>$ADAT['telephelyek'], 'post'=>array('tolDt')); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/szabadTerem.php b/mayor-orig/www/policy/private/naplo/orarend/szabadTerem.php new file mode 100644 index 00000000..4b3becbe --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/szabadTerem.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend-pre.php b/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend-pre.php new file mode 100644 index 00000000..51110328 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend-pre.php @@ -0,0 +1,49 @@ +'cella', 'post'=>array('orarendiHet','felev'), + 'paramName' => 'tolDt', 'hanyNaponta' => 1, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + $TOOL['orarendiHetSelect'] = array( + 'tanev' => $tanev, 'tolDt' => $tolDt, 'igDt' => $igDt, 'tipus' => 'cella', +// 'megjelenitendoHetek' => array(1,2,3,4,5,6,7,8,9,10), + 'post' => array('fileName','tanev','tolDt','igDt','conv','felev'), 'paramName' => 'orarendiHet' + ); + $TOOL['felevSelect'] = array( + 'tanev'=>$tanev,'tipus' => 'cella', 'post' => array('fileName','tanev','tolDt','igDt','conv','orarendiHet'), 'paramName' => 'felev' + ); + getToolParameters(); +?> diff --git a/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend.php b/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend.php new file mode 100644 index 00000000..5c911be6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/tanarOrarend.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/orarend/termez-pre.php b/mayor-orig/www/policy/private/naplo/orarend/termez-pre.php new file mode 100644 index 00000000..1d6ba091 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/termez-pre.php @@ -0,0 +1,173 @@ +24) $NAGYTEREM[$T[$i]['telephelyId']][] = $T[$i]['teremId']; + elseif ($T[$i]['ferohely']>0) $KISTEREM[$T[$i]['telephelyId']][] = $T[$i]['teremId']; + } + // + + $ADAT['terem'] = getTermek(array('result'=>'assoc')); + $ADAT['teremPreferencia'] = $P = getTeremPreferencia(); + + $ADAT['tanar'] = getTanarok(array('result'=>'assoc')); + $ADAT['targy'] = getTargyak(array('result'=>'assoc','arraymap'=>array('targyId'))); + + if ($action=='del') { + $delTeremPreferenciaId = readVariable($_GET['delTeremPreferenciaId'],'id'); + $q = "DELETE FROM teremPreferencia WHERE teremPreferenciaId=%u"; + $v = array($delTeremPreferenciaId); + $ret = db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo_intezmeny','values'=>$v)); + $ADAT['teremPreferencia'] = getTeremPreferencia(); + } elseif ($action=='run') { + $runTeremPreferenciaId = readVariable($_GET['runTeremPreferenciaId'],'id'); + $P = getTeremPreferencia(array('teremPreferenciaId'=>$runTeremPreferenciaId)); + //$q = "SELECT tanarId FROM teremPreferencia WHERE teremPreferenciaId=%u"; + //$_tanarId = db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo','values'=>array($runTeremPreferenciaId)),$lr); + + for ($i=0; $i0) { + for ($t=0; $tfalse,'fv' => '****', 'modul' => 'naplo','values'=>array($_termek[$t],$tolDt)),$lr); + $q = "UPDATE orarendiOra AS y LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) +SET teremId=%u WHERE tanarId=%u AND teremId IS NULL AND targyId=%u +AND (SELECT count(*) FROM __o__ AS x WHERE y.het=x.het AND y.nap=x.nap AND y.ora=x.ora)=0 +"; + $v = array($_termek[$t],$_tanarId,$_targyId); + $db += db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo','values'=>$v,'result'=>'affected rows'),$lr); + $q = "DROP TABLE __o__"; + db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo'),$lr); + } + } else { + for ($t=0; $tfalse,'fv' => '****', 'modul' => 'naplo','values'=>array($_termek[$t],$tolDt)),$lr); + + $q = "UPDATE orarendiOra AS y SET teremId=%u WHERE tanarId=%u AND teremId IS NULL +AND (SELECT count(*) FROM __o__ AS x WHERE y.het=x.het AND y.nap=x.nap AND y.ora=x.ora)=0 +"; + $v = array($_termek[$t],$_tanarId); + $db += db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo','values'=>$v,'result'=>'affected rows'),$lr); + $q = "DROP TABLE __o__"; + db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo'),$lr); + } + } + db_close($lr); + $_SESSION['alert'][] = 'info:success:'.$db; + } + + } elseif ($action=='beallitasokModositasa') { + if (is_array($_POST)) { + foreach($_POST as $k=>$v) { + if (strstr($k,'teremPreferenciaId')!==false) { + list($_rest,$_teremPreferenciaId) = explode('_',$k); + if ($_teremPreferenciaId!=$v) { + echo 'csere'; + echo $_teremPreferenciaId.'==>'.$v; + $q = "UPDATE teremPreferencia SET teremPreferenciaId=%u WHERE teremPreferenciaId=%u"; + $v = array($v,$_teremPreferenciaId); + $ret = db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo_intezmeny','values'=>$v,'result'=>'update')); + } + } + } + $ujTeremPreferenciaId = readVariable($_POST['ujTeremPreferenciaId'],'id'); + $ujTanarId = readVariable($_POST['ujTanarId'],'id'); + $ujTargyId = readVariable($_POST['ujTargyId'],'id'); + $ujTeremStr = readVariable($_POST['ujTeremStr'],'string'); // ezt validálni kellene... + // terem validál + $_UJTERMEK = explode(',',$ujTeremStr); + for ($i=0; $ifalse,'fv' => '****', 'modul' => 'naplo_intezmeny','values'=>$v,'result'=>'update')); + } + } + /* RELOAD! */ + $ADAT['teremPreferencia'] = $P = getTeremPreferencia(); + } elseif ($action=='magic') { + + $lr = db_connect('naplo'); + for ($i=0; $i0) { + for ($t=0; $tfalse,'fv' => '****', 'modul' => 'naplo','values'=>array($_termek[$t],$tolDt)),$lr); + $q = "UPDATE orarendiOra AS y LEFT JOIN orarendiOraTankor USING (tanarId,osztalyJel,targyJel) LEFT JOIN ".__INTEZMENYDBNEV.".tankor USING (tankorId) +SET teremId=%u WHERE tanarId=%u AND teremId IS NULL AND targyId=%u +AND (SELECT count(*) FROM __o__ AS x WHERE y.het=x.het AND y.nap=x.nap AND y.ora=x.ora)=0 +"; + $v = array($_termek[$t],$_tanarId,$_targyId); + $db += db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo','values'=>$v,'result'=>'affected rows'),$lr); + $q = "DROP TABLE __o__"; + db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo'),$lr); + } + } else { + for ($t=0; $tfalse,'fv' => '****', 'modul' => 'naplo','values'=>array($_termek[$t],$tolDt)),$lr); + + $q = "UPDATE orarendiOra AS y SET teremId=%u WHERE tanarId=%u AND teremId IS NULL +AND (SELECT count(*) FROM __o__ AS x WHERE y.het=x.het AND y.nap=x.nap AND y.ora=x.ora)=0 +"; + $v = array($_termek[$t],$_tanarId); + $db += db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo','values'=>$v,'result'=>'affected rows'),$lr); + $q = "DROP TABLE __o__"; + db_query($q, array('debug'=>false,'fv' => '****', 'modul' => 'naplo'),$lr); + } + } + } + db_close($lr); + $_SESSION['alert'][] = 'info:success:'.$db; + + } // action + + $TOOL['datumSelect'] = array( + 'tipus'=>'cella', 'post'=>array(), + 'paramName' => 'tolDt', + 'hanyNaponta' => 1, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! +// 'tolDt' => date('Y-m-d', strtotime('Monday', strtotime($_TANEV['kezdesDt']))), + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), +// 'tolDt' => $_TANEV['elozoZarasDt'], + 'igDt' => $_TANEV['kovetkezoKezdesDt'], + ); +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/orarend/termez.php b/mayor-orig/www/policy/private/naplo/orarend/termez.php new file mode 100644 index 00000000..8ff70034 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/orarend/termez.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel-pre.php new file mode 100644 index 00000000..6891375d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel-pre.php @@ -0,0 +1,111 @@ +$ADAT['sorrendNev'])); + // reindex + $ADAT['targyak'] = array(); + for ($i=0; $i'indexed')); // Ez a diák valaha volt összes képzése!! + if (isset($kepzesId)) { + $ADAT['kepzesOraterv'][$kepzesId] = getKepzesOraterv($kepzesId,array('arraymap'=>array('targyId','evfolyamJel'))); + } else { + for ($i=0; $iarray('targyId','evfolyamJel'))); + } + if ($i==1) $ADAT['kepzesId'] = $kepzesId = $_kepzesId; + } + + // Erre nincs szükség + $ADAT['diakOsztaly'] = getDiakMindenOsztaly($diakId); + for($j=0; $jarray('diakId','targyId','evfolyamJel','felev'))); + + $_VIZSGA = getVizsgak(array('diakId'=>$diakId)); + /* REINDEX */ + for ($i=0; $i'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , 'post' => array('osztalyId', 'diakId', 'sorrendNev')); + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('szemeszterId', 'sorrendNev')); + $TOOL['diakSelect'] = array( + 'tipus'=>'cella','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId','szemeszterId', 'sorrendNev'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + if (isset($diakId)) { + $TOOL['diakLapozo'] = array( + 'tipus'=>'sor','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId','szemeszterId', 'sorrendNev'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + $TOOL['kepzesSelect'] = array('tipus'=>'sor','paramName'=>'kepzesId', 'kepzesId'=>$kepzesId, 'post' => array('osztalyId','diakId')); + } + + } + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId', 'diakId','kepzesId')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel.php b/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel.php new file mode 100644 index 00000000..0a24626a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/bizelomenetel.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany-pre.php new file mode 100644 index 00000000..75d84d3e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany-pre.php @@ -0,0 +1,166 @@ += _TIME + ) { + $szemeszterId = $_POST['szemeszterId'] = $_TANEV2['szemeszter'][$i]['szemeszterId']; + $tanev = $_TANEV2['szemeszter'][$i]['tanev']; + $szemeszter = $_TANEV2['szemeszter'][$i]['szemeszter']; + break; + } + } + } + + if (!is_null($szemeszterId)) $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + + if (__DIAK) { // diák / szülő csak a saját adatait nézheti + $diakId = __USERDIAKID; + } elseif (isset($_POST['diakId']) && $_POST['diakId'] != '') { + $diakId = readVariable($_POST['diakId'],'numeric'); + } + + if (!is_null($diakId)) { + // intézmlényi adatok lekérdezése + $ADAT['intezmeny'] = getIntezmenyByRovidnev(__INTEZMENY); + // diák adatai + $ADAT['diakAdat'] = getDiakAdatById($diakId); + $ADAT['diakKepzes'] = getKepzesByDiakId($diakId, array('result'=>'indexed')); // itt a valaha volt összes képzés lekérdezésre kerül! + if (count($ADAT['diakKepzes'])===1) { /* egyelőre csak ha egy képzésben vesz részt a diák */ + $ADAT['kepzesOraterv'] = getKepzesOraterv($ADAT['diakKepzes'][0]['kepzesId'],array('arraymap'=>array('targyId','evfolyam','szemeszter'))); + } + + if (isset($szemeszterId)) { + + define('__MODOSITHAT',($ADAT['szemeszterAdat']['statusz'] == 'aktív' && __NAPLOADMIN)); + define('__ZARO_SZEMESZTER', $ADAT['szemeszterAdat']['szemeszter'] == $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']); + define('__FOLYO_SZEMESZTER', + strtotime($ADAT['szemeszterAdat']['kezdesDt']) <= _TIME + && strtotime($ADAT['szemeszterAdat']['zarasDt']) >= _TIME + ); + // ---- action ---- // + if (__MODOSITHAT) { + $evfolyam = readVariable($_POST['evfolyam'],'numeric',null); + $targyId = readVariable($_POST['targyId'],'id',null); + if ($action == 'zaroJegyModositas' && isset($_POST['targyId']) && $_POST['targyId'] != '') { + // jogviszony ellenőrzés, + // majd beírás: + for ($i=0; $i $ADAT['szemeszterAdat']['tanev'])); + /* + A tanítási hetek számát nem tankörönként vagy tárgyanként nézzük, hanem egységesen - tehát, ha több osztálya + van a tanulónak és azokban eltérő a tanítási hetek száma, akkor úgy is hibás lesz a mutatott kép. + */ + if (!isset($ADAT['osztalyId'])) $ADAT['osztalyId'] = intval($ADAT['diakAdat']['osztaly'][0]['osztalyId']); + // A tanítási hetek száma csak az aktuális évben kérdezhető le (az osztalyJelleg alaján döntjük el, hogy végzős/érettségiző-e + if ($ADAT['szemeszterAdat']['tanev'] == __TANEV) + define('TANITASI_HETEK_SZAMA', getTanitasiHetekSzama(array('osztalyId'=>$ADAT['osztalyId']))); + /* Évfolyam meghatározás ha lehet + Peremfeltétel: adott legyen a szemeszter + */ + $ADAT['diakOsztaly'] = getDiakokOsztalyai(array($diakId), array('tanev' => $ADAT['szemeszterAdat']['tanev'])); + for($j=0; $j nincs évfolyama sem + if (!is_array($ADAT['diakEvfolyam']) || count($ADAT['diakEvfolyam'])==0) $ADAT['diakEvfolyam'] = $ADAT['diakEvfolyamJel'] = range(1,16); + + // diák adott szemeszterének bizonyítványa + $ADAT['bizonyitvany'] = getDiakBizonyitvany($diakId, $ADAT); + $ADAT['hianyzas'] = getHianyzasOsszesitesByDiakId($diakId, $ADAT['szemeszterAdat']); + } else { + // diák eddigi "pályafutása" (több szemeszter adatai együtt) + $ADAT['bizonyitvany'] = getDiakBizonyitvany($diakId, $ADAT); + $ADAT['hianyzas'] = getHianyzasOsszesitesByDiakId($diakId); + } + + $_VIZSGA = getVizsgak(array('diakId'=>$diakId)); + /* REINDEX */ + for ($i=0; $i'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , 'post' => array('osztalyId', 'diakId', 'sorrendNev')); + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('szemeszterId', 'sorrendNev')); + $TOOL['diakSelect'] = array( + 'tipus'=>'sor','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId','szemeszterId', 'sorrendNev'), + 'statusz' => array('vendégtanuló','jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + if (isset($diakId)) { + $TOOL['diakLapozo'] = array( + 'tipus'=>'sor','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId','szemeszterId', 'sorrendNev'), + 'statusz' => array('vendégtanuló','jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + } + } + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId', 'diakId')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany.php b/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany.php new file mode 100644 index 00000000..a8f104fa --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/bizonyitvany.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/diak-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/diak-pre.php new file mode 100644 index 00000000..154a9097 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/diak-pre.php @@ -0,0 +1,100 @@ + $sulyozas)); + $ADAT['diakTargy'] = getTargyakByDiakId($diakId, array('tanev' => __TANEV, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], 'result' => 'indexed', 'filter' => 'kovetelmeny', 'targySorrendNev' => $targySorrend)); // OK + // Az aktuális szemeszter kiválasztása + if (__FOLYO_TANEV) { + $time = time(); + foreach ($_TANEV['szemeszter'] as $szemeszter => $szemeszterAdat) { + if ($time > strtotime($szemeszterAdat['kezdesDt']) && $time < strtotime($szemeszterAdat['zarasDt'])) + break; + } + if ($szemeszter !== false) { + define('__FOLYO_SZEMESZTER', $szemeszter); + $szemeszterKezdesDt = $szemeszterAdat['kezdesDt']; + $szemeszterZarasDt = $szemeszterAdat['zarasDt']; + } + } + if (!defined('__FOLYO_SZEMESZTER')) define('__FOLYO_SZEMESZTER',false); + + if (isset($_POST['tolDt']) && $_POST['tolDt'] != '') $tolDt = readVariable($_POST['tolDt'], 'date'); +// elseif (isset($szemeszterKezdesDt)) $tolDt = $szemeszterKezdesDt; + else $tolDt = $_TANEV['kezdesDt']; + + if (isset($_POST['igDt']) && $_POST['igDt'] != '') $igDt = readVariable($_POST['igDt'],'date'); + elseif (isset($szemeszterZarasDt)) $igDt = $szemeszterZarasDt; + else $igDt = $_TANEV['zarasDt']; + $ADAT['zaroJegyek'] = getDiakZarojegyek($diakId,$_TANEV['tanev'],null,array('arraymap'=>array('diakId','targyId','tanev','szemeszter'))); + $tmp = getTankorByDiakId($diakId); + $ADAT['targyTankor'] = reindex ( $tmp, array('targyId') ); + } + if ($skin=='pda') { + + } else { + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post'=>array('tolDt', 'igDt', 'targySorrend')); + $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('osztalyId','tolDt', 'igDt', 'targySorrend')); + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName'=>'targySorrend', 'post'=>array('diakId','osztalyId','tolDt', 'igDt', 'targySorrend')); + if (__NAPLOADMIN) $TOOL['diakSelect']['statusz'] = array('jogviszonyban van', 'magántanuló', 'jogviszonya felfüggesztve', 'jogviszonya lezárva', 'vendégtanuló'); + $TOOL['diakLapozo'] = array('tipus'=>'sor','paramName'=>'diakId', 'post'=>array('osztalyId','tolDt', 'igDt', 'targySorrend')); + } +/* if (isset($diakId)) { + $TOOL['datumTolIgSelect'] = array('tipus' => 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 'havonta', 'post'=>array('osztalyId', 'diakId', 'targySorrend')); + } +*/ + if (isset($osztalyId)) { + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=osztalyozo&f=tankor'), + 'titleConst' => array(''), 'post' => array('osztalyId'), + 'paramName'=>'diakId'); + } + getToolParameters(); + } + +// tankorSelect +// targySorrendSelecct +// diakSelect --> diakLapozo + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/diak.php b/mayor-orig/www/policy/private/naplo/osztalyozo/diak.php new file mode 100644 index 00000000..3173d8a7 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/diak.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat-pre.php new file mode 100644 index 00000000..1672b48b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat-pre.php @@ -0,0 +1,168 @@ + false, 'lista' => true)); + } elseif (isset($tankorId)) $Dolgozat = getTankorDolgozatok($tankorId); +// elseif (isset($diakId) || isset($osztalyId) || isset($tanarId)) $Dolgozat = getTankorDolgozatok($Tankorok); + + // ------ action ----------------------------- // + + if ($action == 'dolgozatBejelentes') { + if (defined('__USERTANARID') && __USERTANARID == $tanarId && isset($tankorId)) { + $dolgozatId = ujDolgozat(__USERTANARID, $tankorId); + $Dolgozat = getDolgozat($dolgozatId); + $valaszthatoTankorok = getTankorByTargyId($Dolgozat['targyId'],__TANEV,array('idonly' => false, 'lista' => true)); + } + } elseif ($action == 'dolgozatTorles') { + + } + + define(__MODOSITHAT, + isset($dolgozatId) + && ( + (__NAPLOADMIN && $_TANEV['statusz'] == 'aktív') + || ( + __FOLYO_TANEV && __TANAR + && is_array($Dolgozat['tanarIds']) + && in_array(__USERTANARID, $Dolgozat['tanarIds']) + ) + ) + ); + + if (__MODOSITHAT) if ($action == 'dolgozatModositas') { + + if (isset($_POST['dolgozatTorles'])) { + if (!$Dolgozat['ertekelt']) { + $action = 'dolgozatTorles'; + if (dolgozatTorles($dolgozatId)) { + logAction( + array( + 'szoveg'=>'Dolgozat törlés: '.$dolgozatId, + 'table'=>'dolgozat' + ) + ); + unset($Dolgozat); unset($dolgozatId); + $_SESSION['alert'][] = 'info:success:dolgozat törlés'; + } + } + } else { + $dolgozatNev = $_POST['dolgozatNev']; + $tervezettDt = readVariable($_POST['tervezett-dt'],'datetime',null); + if (dolgozatModositas($dolgozatId, $dolgozatNev, $tervezettDt)) { + logAction( + array( + 'szoveg'=>'Dolgozat módosítás (név, tervezett dátum): '.$dolgozatId, + 'table'=>'dolgozat' + ) + ); + $Dolgozat['dolgozatNev'] = $dolgozatNev; + $Dolgozat['tervezettDt'] = $tervezettDt; + $_SESSION['alert'][] = 'info:done:'; + } + } + + } elseif ($action == 'dolgozatTankorHozzarendeles') { + + if (is_array($_POST['tankorIds']) && count($_POST['tankorIds']) > 0) { + + $tankorIds = $_POST['tankorIds']; + $torlendoTankorIds = array_diff($Dolgozat['tankorIds'], $tankorIds); + $ujTankorIds = array_values(array_diff($tankorIds, $Dolgozat['tankorIds'])); + dolgozatTankorHozzarendeles($dolgozatId, $torlendoTankorIds, $ujTankorIds); + $Dolgozat = getDolgozat($dolgozatId); + + } else { + $_SESSION['alert'][] = 'message:empty_field:tankorId:dolgozatTankorHozzarendeles'; + } + + } elseif ($action == 'dolgozatJegyekTorlese') { + + foreach ($_POST as $name => $value) { + if (substr($name, 0, 8) == 'tankorId') $tankorId = substr($name, 8); + } + dolgozatJegyekTorlese($dolgozatId, $tankorId); + $Dolgozat = getDolgozat($dolgozatId); + + } + + define(__TOROLHET, + __MODOSITHAT + && !$Dolgozat['ertekelt'] + ); + + + // ------ action vége ------------------------- // + + // TOOL + if (!__DIAK) { + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array()); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array()); + } + if (isset($osztalyId)) + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'post' => array('osztalyId')); + if (isset($osztalyId) or isset($tanarId) or isset($diakId)) + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $Tankorok, 'paramName' => 'tankorId', 'post' => array('osztalyId', 'tanarId', 'diakId')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat.php b/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat.php new file mode 100644 index 00000000..cb3d52be --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/dolgozat.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/jegy-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/jegy-pre.php new file mode 100644 index 00000000..f0f861c9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/jegy-pre.php @@ -0,0 +1,120 @@ + $action, 'result' => true, 'data' => array('jegyId' => $jegyId)); + //$_SESSION['alert'][] = 'info:delete_success:jegyTorles:'.$jegyId; + unset($jegyId); unset($jegy); + } + } + } else { // vagy módosítás: + list($__jegyTipus,$__jegy) = explode(':', $_POST['jegy']); + $_jegy = readVariable($__jegy,'regexp',null,array('^[0-9]*\.[0-9]$')); + $_jegyTipus = readVariable($__jegyTipus, 'enum', null, $ADAT['jegyTipusok']); + $_megjegyzes = readVariable($_POST['megjegyzes'],'sql'); + $_oraId = readVariable($_POST['oraId'],'id',null); + $_dolgozatId = readVariable($_POST['dolgozatId'],'id',null); + // csak (1,2),(3,4,5) váltás, ill. törlés (0) a megengedett + if (($_tipus-2.5)*($jegy['tipus']-2.5) < 0) $_tipus = $jegy['tipus']; + if ((!is_null($_jegyTipus) && __JEGYTIPUS_VALTHATO === true) || $_jegyTipus == $jegy['jegyTipus']) { + if (jegyModositas($jegyId, $_jegy, $_jegyTipus, $_tipus, $_oraId, $_dolgozatId, $_megjegyzes)) { + logAction( + array( + 'szoveg'=>"Jegy módosítás: $jegyId, ".$jegy['diakId'].", $_jegy, $_tipus, ".$jegy['tankorId'].", ".$jegy['dt'].", $_oraId, $_dolgozatId", + 'table'=>'jegy' + ), + $lr + ); + $jegy = getJegyInfo($jegyId, __TANEV, $lr); + $_JSON = array( + 'action' => $action, 'result' => true, + 'data' => array( + 'jegyId'=>$jegyId, 'tipus'=>$jegy['tipus'], 'diakId'=>$jegy['diakId'], 'dolgozatId'=>$jegy['dolgozatId'], + 'jegyStr'=>$KOVETELMENY[ $jegy['jegyTipus'] ][ $jegy['jegy'] ]['rovid'] + ) + ); + } + } else { $_SESSION['alert'][] = 'message:wrong_data:A jegyTipus nem módosítható!:'.$_jegyTipus.' - '.$jegy['jegyTipus']; } + + } + + } + // --------- action vége -------- // + + } else { + define('_MODOSITHAT', false); + // ezeket minek üzenjük? nem is akarta senki módosítani: +/* + if ($_TANEV['statusz'] != 'aktív') $_SESSION['alert'][] = 'info:nem_modosithato:nem aktív tanév'; + elseif (__FOLYO_TANEV===false) $_SESSION['alert'][] = 'info:nem_modosithato:nem folyó tanév'; + elseif (__TANAR===false) $_SESSION['alert'][] = 'info:nem_modosithato:nem tanár'; + elseif (!in_array(__USERTANARID, $jegy['tanár']['idk'])) $_SESSION['alert'][] = 'info:nem_modosithato:nem tanítja'; + elseif (strtotime(_OSZTALYOZO_HATARIDO) > strtotime($jegy['dt'])) $_SESSION['alert'][] = 'info:nem_modosithato:lejárt a módosítási határidő'; +*/ + } + + if (isset($jegyId)) { // ajax-os törlés esetén lehet, hogy már nincs jegy... + $Orak = getOraAdatByTankor($jegy['tankorId']); + $Dolgozatok = getTankorDolgozatok($jegy['tankorId']); + } + + } + + } else { + $_SESSION['alert'][] = 'message:wrong_data:jegy:jegyId='.$jegyId; + unset($jegyId); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/jegy.php b/mayor-orig/www/policy/private/naplo/osztalyozo/jegy.php new file mode 100644 index 00000000..f6dd872f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/jegy.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo-pre.php new file mode 100644 index 00000000..e88346aa --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo-pre.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo.php b/mayor-orig/www/policy/private/naplo/osztalyozo/osztalyozo.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/stat-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/stat-pre.php new file mode 100644 index 00000000..c0a14323 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/stat-pre.php @@ -0,0 +1,307 @@ += _TIME + ) { + $_POST['szemeszterId'] = $szemeszterId = $_TANEV['szemeszter'][$i]['szemeszterId']; + break; + } + } + } + if (isset($_POST['sorrendNev']) && $_POST['sorrendNev'] != '') + $ADAT['sorrendNev'] = $sorrendNev = readVariable($_POST['sorrendNev'], 'emptystringnull', '', getTargySorrendNevek(__TANEV)); +// $ADAT['telephelyId'] = $telephelyId = readVariable($_POST['telephelyId'], 'id',__TELEPHELYID); + + $ADAT['telephelyAdat'] = getTelephelyek(array('result' => 'assoc', 'keyfield' => 'telephelyId')); + $ADAT['telephelyIds'] = array_keys($ADAT['telephelyAdat']); + $ADAT['telephelyId'] = $telephelyId = readVariable($_GET['telephelyId'], 'id', readVariable( + $_POST['telephelyId'], 'id', (isset($_POST['telephelyId'])?null:readVariable(__TELEPHELYID,'id')), $ADAT['telephelyIds'] + ), $ADAT['telephelyId']); + + if (!__DIAK) { + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') { $osztalyId = $ADAT['osztalyId'] = readVariable($_POST['osztalyId'],'id'); } + elseif (__OSZTALYFONOK && !isset($_POST['osztalyId'])) { $osztalyId = $ADAT['osztalyId'] = $_POST['osztalyId'] = $_OSZTALYA[0]; } + } // diák, szülő csak az iskola statisztikát látja + + if (isset($szemeszterId)) { + + $ADAT['szemeszterAdat'] = getSzemeszterAdatById($szemeszterId); + $Osztalyok = getOsztalyok($ADAT['szemeszterAdat']['tanev'],array('result' => 'indexed', 'minden'=>false, 'telephelyId' => $telephelyId)); + if (isset($osztalyId)) { + define('TANITASI_HETEK_SZAMA', getTanitasiHetekSzama(array('osztalyId'=>$osztalyId))); + define('__OSZTALYFONOKE', (__OSZTALYFONOK === true && in_array($osztalyId, $_OSZTALYA))); + $ADAT['evfolyam'] = getEvfolyam($osztalyId, $ADAT['szemeszterAdat']['tanev']); + $ADAT['evfolyamJel'] = getEvfolyamJel($osztalyId, $ADAT['szemeszterAdat']['tanev']); + $ADAT['kovetkezoEvfolyamJel'] = getKovetkezoEvfolyamJel($ADAT['evfolyamJel']); + $ADAT['utolsoTanitasiNap'] = getOsztalyUtolsoTanitasiNap($osztalyId, $ADAT['szemeszterAdat']['tanev']); + + // magatartás és szorgalom jegyek beírásának jogosultsága + if ($ADAT['szemeszterAdat']['statusz'] != 'aktív') { + define('_BEIRHATO', false); + } else { + $time = time(); + // Keresünk bitonyítvány írás időszakot + foreach ($ADAT['szemeszterAdat']['idoszak'] as $i => $idoszakAdat) { + if ( + $idoszakAdat['tipus'] == 'bizonyítvány írás' + && strtotime($idoszakAdat['tolDt']) <= $time + && $time <= strtotime($idoszakAdat['igDt']) + ) { + $idoszak = $idoszakAdat; + break; + } + } + + if (__NAPLOADMIN) define('_BEIRHATO', true); + elseif (__VEZETOSEG) define('_BEIRHATO', (isset($idoszak['tolDt'])) ); + elseif (__OSZTALYFONOKE) define('_BEIRHATO', (isset($idoszak['tolDt'])) ); + else define('_BEIRHATO', false); + + if ((__VEZETOSEG || __OSZTALYFONOKE) && !isset($idoszak['tolDt'])) $_SESSION['alert'][] = 'info:idoszak_bizir_nincs'; + + } + /* ---- action ---- */ + + if (_BEIRHATO && $action == 'jegyLezaras') { + + $zaroJegyek = $_POST['zaroJegy']; + if (is_array($zaroJegyek)) { + /* Prepare */ + for($i=0; $i $ADAT['evfolyamJel']."."); + else $csere = array('%évfolyam%' => ($ADAT['kovetkezoEvfolyamJel']).".", '%évfolyam betűvel%' => ($_EVFOLYAMJEL_BETUVEL[ $ADAT['kovetkezoEvfolyamJel'] ])."."); + $csere['%tantárgy%'] = str_replace('=',', ',$csereStr); // TODO, és-re cserélhetjük vessző helyett + zaradekRogzites(array('diakId'=>$_diakId, 'zaradekId' => $zaradekId, 'zaradekIndex'=>$_zaradekIndex, 'dt'=>$ADAT['utolsoTanitasiNap'], 'csere' => $csere)); + } + } + } + + } + + /* ---- action vége ---- */ + + // osztály statisztikák + $ADAT['osztaly'] = getOsztalyAdat($osztalyId, $ADAT['szemeszterAdat']['tanev']); + + if (!isset($ADAT['osztalyId'])) $ADAT['osztalyId'] = $ADAT['osztaly'][0]['osztalyId']; + // Az adott szemeszterben létezik-e az osztály + for ($i = 0; ($i < count($Osztalyok) && $Osztalyok[$i]['osztalyId'] != $osztalyId); $i++); + if ($i < count($Osztalyok)) { + $ADAT['diakok'] = getDiakok(array( + 'osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'], + 'tolDt' => $ADAT['szemeszterAdat']['tanevAdat']['kezdesDt'], 'igDt' => $ADAT['szemeszterAdat']['zarasDt'], // A tanév kezdetétől a szemeszter végéig + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + )); + $ADAT['zaraskoriDiakIds'] = getDiakok(array( + 'osztalyId' => $osztalyId, 'tanev' => $ADAT['szemeszterAdat']['tanev'], + 'tolDt' => $ADAT['szemeszterAdat']['zarasDt'], 'igDt' => $ADAT['szemeszterAdat']['zarasDt'], + 'statusz' => array('jogviszonyban van','magántanuló'), 'result' => 'idonly' +// 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'), 'result' => 'idonly' + )); + for ($i = 0; $i < count($ADAT['diakok']); $i++) $ADAT['diakIds'][] = $ADAT['diakok'][$i]['diakId']; + $ADAT['targyak'] = getTargyakByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat'], $osztalyId, $sorrendNev); // TODO + $targyIds = array($ADAT['magatartasTargyIdk'][0], $ADAT['szorgalomTargyIdk'][0]); + if (is_array($ADAT['targyak'])) foreach ($ADAT['targyak'] as $index => $tAdat) $targyIds[] = $tAdat['targyId']; + //$ADAT['targyAdat'] = getTargyAdatByIds($ADAT['targyak']); + $ADAT['targyAdat'] = getTargyAdatByIds($targyIds); + $ADAT['tanarok'] = getTanarokByDiakIds($ADAT['diakIds'], $ADAT['szemeszterAdat']); + $ADAT['evkoziJegyAtlag'] = getDiakJegyAtlagok($ADAT['diakIds']); // évközi! + $ADAT['jegyek'] = getDiakZarojegyekByEvfolyamJel($ADAT['diakIds'], $ADAT['evfolyamJel'], $ADAT['szemeszterAdat'], array('felevivel'=>true)); // TODO: ellenőrzés: evfolyam-->evfolyamJel + $ADAT['atlagok'] = getDiakZarojegyAtlagok($ADAT['zaraskoriDiakIds'], $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['szemeszter']); + $ADAT['tantargyiAtlagok'] = getTargyZarojegyAtlagok($ADAT['zaraskoriDiakIds'], $ADAT['szemeszterAdat']['tanev'], $ADAT['szemeszterAdat']['szemeszter']); + $ADAT['hianyzas'] = getDiakHianyzasOsszesites($ADAT['diakIds'], $ADAT['szemeszterAdat']); + $ADAT['zaradekok'] = getDiakKonferenciaZaradekok($ADAT['diakIds'], $ADAT['utolsoTanitasiNap']); + $ADAT['adhatoZaradekok'] = getZaradekokByTipus('konferencia, konferencia bukás'); + + //foreach ($ADAT['hianyzas'] as $diakId => $hianyzasAdat) { + for ($i=0; $i$tanev)); + +//2013NKT if (_KESESI_IDOK_OSSZEADODNAK===true) + $ADAT['hianyzas'][$diakId]['igazolatlan'] + = $hianyzasAdat['igazolatlan'] + = floor($hianyzasAdat['kesesPercOsszeg']/45)+intval($hianyzasAdat['igazolatlan']); + + //$ADAT['hianyzas'][$diakId]['igazolatlan'] += intval($HOZOTT['igazolatlan']['db']); + //$ADAT['hianyzas'][$diakId]['igazolt'] += intval($HOZOTT['igazolt']['db']); + + if (in_array($diakId, $ADAT['zaraskoriDiakIds'])) { // Csak a záráskori névsort vesszük figyelembe + $ADAT['stat']['igazolt'] += $hianyzasAdat['igazolt']; + $ADAT['stat']['igazolatlan'] += $hianyzasAdat['igazolatlan']; + //$ADAT['stat']['igazolatlan'] += intval($HOZOTT['igazolatlan']['db']); + //$ADAT['stat']['igazolt'] += intval($HOZOTT['igazolt']['db']); + if ($hianyzasAdat['igazolatlan'] >= 10) $ADAT['stat']['tiznel tobb']++; + elseif ($hianyzasAdat['igazolatlan'] >= 5) $ADAT['stat']['otnel tobb']++; + elseif ($hianyzasAdat['igazolatlan'] == 0) $ADAT['stat']['nincs']++; + } + } + // Diákok statisztikai adatai + //jegyek tömb: [diakId][targyId][$INDEX!!!] +// ----------------------------------------------------------------- + $utolsoTanitasiNap = getOsztalyUtolsoTanitasiNap($osztalyId); + for ($i=0; $i 'getDiakBizonyitvany/óraszám', 'modul' => 'naplo_intezmeny', 'result' => 'multiassoc', 'keyfield' => 'targyId', 'values' => $v)); + $szDb = $ADAT['szemeszterAdat']['tanevAdat']['maxSzemeszter']; // Feltételezzük, hogy a szemeszterek számozása 1-től indul és folyamatos + foreach ($jres as $targyId => $tAdat) { + $oraszam = 0; + for ($j = 0; $j < count($tAdat); $j++) { + $oraszam += $tAdat[$j]['oraszam']; + } + $ADAT['targyOraszam'][$diakId][$targyId]['hetiOraszam'] = $oraszam / $szDb; + if (defined('TANITASI_HETEK_SZAMA')) $ADAT['targyOraszam'][$diakId][$targyId]['evesOraszam'] = $oraszam / $szDb * TANITASI_HETEK_SZAMA; + } + } +// ------------------------------------------------------------------ + $_tmp=array(); + if (is_array($ADAT['jegyek'])) + foreach ($ADAT['jegyek'] as $diakId => $jegyek) { + $zaraskorTag = in_array($diakId, $ADAT['zaraskoriDiakIds']); + $atlag = floatval($ADAT['atlagok'][$diakId]); + // kitűnők száma + if ($atlag >= _KITUNO_ATLAG) { + if ($zaraskorTag) $ADAT['stat']['kituno']++; + $ADAT['diakAdat'][$diakId]['kituno'] = true; + // jelesek száma + } elseif ($atlag >= _JELES_ATLAG) { + reset($jegyek); + $found = false; + while (list($key, $jegyAdatok) = each($jegyek)) { + for ($i=0; $i $jegyAdatok) { + $ADAT['targyboljegy'][$targyId] = true; + for ($i=0; $i 'indexed', 'minden'=>false, 'telephelyId' => $telephelyId)); + $ADAT['targyak'] = getTargyakBySzemeszter($ADAT['szemeszterAdat']); + $ADAT['jegyek'] = getZarojegyStatBySzemeszter($ADAT['szemeszterAdat'],array('telephelyId'=>$telephelyId)); + $ADAT['tantargyiAtlagok'] = getTargyAtlagokBySzemeszter($ADAT['szemeszterAdat']); + $ADAT['hianyzas'] = getOsztalyHianyzasOsszesites($ADAT['szemeszterAdat']); + } + + $ADAT['targyTargy'] = getTargyTargy(); + + } + + + $TOOL['telephelySelect'] = array('tipus' => 'cella','paramName'=>'telephelyId'); + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , 'post' => array('sorrendNev', 'osztalyId', 'telephelyId')); + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId', 'sorrendNev', 'telephelyId')); + } + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId', 'telephelyId')); + if (isset($osztalyId) && isset($szemeszterId)) + $TOOL['nyomtatasGomb'] = array('titleConst' => '_NYOMTATAS','tipus'=>'cella', 'url'=>'index.php?page=naplo&sub=nyomtatas&f=ertesito','post' => array('osztalyId','szemeszterId','sorrendNev', 'telephelyId')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/stat.php b/mayor-orig/www/policy/private/naplo/osztalyozo/stat.php new file mode 100644 index 00000000..e5849121 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/stat.php @@ -0,0 +1,15 @@ +=1) { + if (is_array($ADAT['diakok'])) { + putOsztalyBizonyitvany($ADAT); + } + } else { + putIskolaStatisztika($ADAT); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer-pre.php new file mode 100644 index 00000000..1d975701 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer-pre.php @@ -0,0 +1,51 @@ +'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt','tervezett') , 'post' => array('kepzesId','evfolyamJel','targyId')); + $TOOL['evfolyamJelSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'evfolyamJel', 'paramDesc'=>'evfolyamJel','adatok' => getEvfolyamJelek(), 'post' => array('kepzesId','targyId') + ); + + $TOOL['targySelect'] = array('tipus'=>'cella', 'post' => array('kepzesId','evfolyamJel')); + $TOOL['kepzesSelect'] = array('tipus'=>'cella', 'post' => array('evfolyamJel','targyId')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer.php b/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer.php new file mode 100644 index 00000000..66d5f8cd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/szempontRendszer.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles-pre.php new file mode 100644 index 00000000..50293bac --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles-pre.php @@ -0,0 +1,258 @@ + __TANEV, 'tolDt' => $now, 'igDt' => $now, 'tipus' => array('zárás'))); + // Ha nincs kiválasztva szemeszter, de épp zárási időszak van, akkor legyen kiválasztva az aktuális szemeszter + if (!isset($_POST['szemeszterId']) && is_array($ADAT['idoszak']) && count($ADAT['idoszak']) > 0) { + $ADAT['szemeszterId'] = $szemeszterId = $_POST['szemeszterId'] = getSzemeszterIdBySzemeszter($ADAT['idoszak'][0]['tanev'], $ADAT['idoszak'][0]['szemeszter']); + } else { + $ADAT['szemeszterId'] = $szemeszterId = readVariable($_POST['szemeszterId'], 'numeric unsigned', null); + } + if (is_null($szemeszterId)) { + $_tanev = readVariable($_POST['tanev'], 'numeric unsigned', null); + $_szemeszter = readVariable($_POST['szemeszter'], 'numeric unsigned', null); + if (!is_null($_tanev) && !is_null($_szemeszter)) { + $ADAT['szemeszterId'] = $szemeszterId = $_POST['szemeszterId'] = getSzemeszterIdBySzemeszter($_tanev, $_szemeszter); + } + } + + if (isset($szemeszterId)) { // szemesztert záró értékelés - intézményi adatbázis + $ADAT['szemeszter'] = getSzemeszterAdatById($ADAT['szemeszterId']); + // Annak eldöntése, hogy _MOST_ az adott szemeszter zárási időszaka van-e - ezért itt nem kell a $dt-t módosítani. Ez átkerült alább... + // $ADAT['dt'] = $dt = $ADAT['szemeszter']['zarasDt']; + // zárási időszak-e + $zarasIdoszak = false; + for ($i = 0; $i < count($ADAT['szemeszter']['idoszak']); $i++) { + $ISz = $ADAT['szemeszter']['idoszak'][$i]; + if ($ISz['tipus'] == 'zárás' && strtotime($ISz['tolDt']) <= strtotime($now) && strtotime($now) <= strtotime($ISz['igDt'])) { + $zarasIdoszak = true; + break; + } + } + // Gondolom ez a dátum az értékelés hivatalos dátuma lesz. Itt jogos a zarasDt-re állítás.... + $ADAT['dt'] = $dt = $ADAT['szemeszter']['zarasDt']; + } else { // évközi értékelés - tanáv adatbázis + $ADAT['dt'] = $dt = readVariable($_POST['dt'], 'datetime', ''); + if (!isset($dt)) $ADAT['dt'] = $dt = date('Y-m-d'); + $ADAT['szemeszter'] = getSzemeszterByDt($ADAT['dt']); +// $ADAT['tolDt'] = $tolDt = readVariable($_POST['tolDt'], 'datetime', $_TANEV['kezdesDt']); // Ezt nem is használjuk!!! + } + $tanev = readVariable($ADAT['szemeszter']['tanev'], 'numeric unsigned', __TANEV); + + if (__DIAK) { + $ADAT['diakId'] = $diakId = __USERDIAKID; + } else { + $ADAT['diakId'] = $diakId = readVariable($_POST['diakId'], 'numeric unsigned', null); + $ADAT['osztalyId'] = $osztalyId = readVariable($_POST['osztalyId'], 'numeric unsigned', null); + $ADAT['tanarId'] = $tanarId = readVariable($_POST['tanarId'], 'numeric unsigned', null); + if (!isset($osztalyId) && !isset($tanarId) && __TANAR && $_POST['tanarId'] !== '') $ADAT['tanarId'] = $tanarId = __USERTANARID; + if (isset($tanarId)) $_POST['tanarId'] = $tanarId; + } + if (isset($diakId)) { + $Tankorok = getTankorByDiakId($diakId, $tanev); + $Targyak = getTargyakByDiakId($diakId, array('tanev' => $tanev, 'result' => 'indexed')); + $targyIds = array(); foreach ($Targyak as $key => $val) $targyIds[] = $val['targyId']; + $ADAT['targyId'] = $targyId = readVariable($_POST['targyId'], 'numeric unsigned', null, $targyIds); + if (isset($targyId)) { + $magatartasId = getMagatartas(array('result'=>'value')); + $szorgalomId = getSzorgalom(array('result' => 'value')); + $ADAT['targyTankorei'] = array(); + foreach ($Tankorok as $key => $tAdat) { + if ($tAdat['targyId'] == $targyId) { + $ADAT['targyTankorei'][] = $tAdat['tankorId']; + } + } + } + } elseif (isset($osztalyId)) { + $Tankorok = getTankorByOsztalyId($osztalyId, $tanev); + } elseif (isset($tanarId)) { + $Tankorok = getTankorByTanarId($tanarId, $tanev); + } + + $tankorIds = array(); + if (is_array($Tankorok)) for ($i = 0; $i < count($Tankorok); $i++) $tankorIds[] = $Tankorok[$i]['tankorId']; + + $ADAT['tankorId'] = $tankorId = readVariable($_POST['tankorId'], 'numeric unsigned', null, $tankorIds); + if (isset($tankorId)) { + $D = getTankorDiakjaiByInterval($tankorId, $tanev, $dt, $dt); + $Diakok = array(); + foreach ($D['nevek'] as $_diakId => $dAdat) $Diakok[] = $dAdat; + if (isset($diakId) && !in_array($diakId, $D['idk'])) { unset($diakId); unset($ADAT['diakId']); } + } + + // Az értékelési szempontrendszer lekérdezése + if (isset($diakId) && isset($dt)) { + // Az értékeléshez kell: évfolyam [ képzésId ] (targyId | targyTipus) [ tanev, szemeszter ] + $diakOsztaly = getDiakOsztalya($diakId, array('tanev'=>$tanev,'tolDt'=> $dt,'igDt'=> $dt, 'result'=>'csakid')); + if (is_array($diakOsztaly) && count($diakOsztaly) > 0) { + // évfolyam + $diakEvfolyamJel = array(); + for ($i = 0; $i < count($diakOsztaly); $i++) { + $evf = getEvfolyamJel($diakOsztaly[$i], $tanev); + if (!in_array($evf, $diakEvfolyamJel)) $diakEvfolyamJel[] = $evf; + foreach (getOsztalyfonokok($diakOsztaly[$i], $tanev) as $key => $oAdat) + if ($oAdat['aktiv']) $ADAT['diakOsztalyfonokei'][] = $oAdat['tanarId']; + } + if (count($diakEvfolyamJel) == 1) $ADAT['evfolyamJel'] = $evfolyamJel = $diakEvfolyamJel[0]; + else $ADAT['evfolyamJel'] = $evfolyamJel = readVariable($_POST['evfolyamJel'], 'enum', null, $diakEvfolyamJel); + // képzés + $diakKepzesIds = getKepzesByDiakId($diakId, array('result' => 'csakid', 'dt' => $dt)); + if (is_array($diakKepzesIds)) + if (count($diakKepzesIds) == 1) $ADAT['kepzesId'] = $kepzesId = $diakKepzesIds[0]; + else $ADAT['kepzesId'] = $kepzesId = readVariable($_POST['kepzesId'], 'numeric unsigned', null, $diakKepzesIds); + } + $ADAT['diakTargyak'] = getTargyakByDiakId($diakId, array('tanev' => $tanev, 'dt' => $dt, 'result' => 'assoc')); + + if (isset($tankorId)) { + // Jogosultsághoz + $tankorTanarIds = getTankorTanaraiByInterval($tankorId, array('tanev' => $tanev, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'idonly')); + $tankorAdat = getTankorAdat($tankorId); + // targyId + $ADAT['targyId'] = $tankorAdat[$tankorId][0]['targyId']; + + } elseif (isset($targyId)) { + $tankorTanarIds = getTankorTanaraiByInterval($ADAT['targyTankorei'], array('tanev' => $tanev, 'tolDt' => $dt, 'igDt' => $dt, 'result' => 'idonly')); + // magatartás és szorgalom értékelse az osztályfőnökkel mehet + if ($targyId == $magatartasId || $targyId == $szorgalomId) { + foreach ($ADAT['diakOsztalyfonokei'] as $key => $id) $tankorTanarIds[] = $id; + } + } + + if (isset($ADAT['targyId'])) { + // Módosíthatja az értékelést: + // A naplóadmin bármikor + // A tankör tanára (v. ofő magatartás/szorgalom esetén), ha évközi értékelés, vagy záró értékelés és a szemeszter zárási időszakában vagyunk + define(__MODOSITHAT, + __NAPLOADMIN + || ( + __VEZETOSEG + // itt kellene, hogy csak bizonyítvány írás időszakban... + ) + || ( + __TANAR && is_array($tankorTanarIds) && in_array(__USERTANARID, $tankorTanarIds) + && (!isset($ADAT['szemeszterId']) || $zarasIdoszak) + && $ADAT['szemeszter']['statusz'] == 'aktív' + ) + ); + // ?? targyTipus ?? + $ADAT['szempontRendszer'] = getSzempontRendszer($ADAT); + if (is_array($ADAT['szempontRendszer'])) { + $szrId = $ADAT['szempontRendszer']['szrId']; + // Kérdezzük le a diák utolsó értékelését - ha van + if (isset($szemeszterId)) $ADAT['szovegesErtekeles'] = getDiakSzovegesTargyZaroErtekeles($diakId, $szrId, $ADAT['targyId'], $tanev, $ADAT['szemeszter']['szemeszter']); + else $ADAT['szovegesErtekeles'] = getDiakUtolsoSzovegesTargyErtekeles($diakId, $szrId, $ADAT['targyId'], $dt); + + if (__MODOSITHAT && $action == 'ujErtekeles') { + for ($i = 0; $i < count($_POST['egyediMinosites']); $i++) { + $tmp = readVariable($_POST['egyediMinosites'][$i], 'string', null); + if ($tmp != '') { + $szempontId = readVariable($_POST['szempontId'][$i], 'numeric unsigned', null, $ADAT['szempontRendszer']['szempontIds']); + if (isset($szempontId)) $egyediMinosites[$szempontId] = $tmp; + } + } + for ($i = 0; $i < count($_POST['minosites']); $i++) { + $tmp = readVariable($_POST['minosites'][$i], 'numeric unsigned', null, $ADAT['szempontRendszer']['minositesIds']); + if (isset($tmp)) $minosites[] = $tmp; + } + if (isset($szemeszterId)) { + // Az értékelések újraolvasása + ujZaroErtekeles($diakId, $szrId, $ADAT['targyId'], $tanev, $ADAT['szemeszter']['szemeszter'], $minosites, $egyediMinosites); + $ADAT['szovegesErtekeles'] = getDiakSzovegesTargyZaroErtekeles($diakId, $szrId, $ADAT['targyId'], $tanev, $ADAT['szemeszter']['szemeszter']); + } else { + // Az új értékelés rögzítése + if (ujErtekeles($diakId, $szrId, $ADAT['targyId'], date('Y-m-d'), $minosites, $egyediMinosites)) + // Az értékelések újraolvasása + $ADAT['szovegesErtekeles'] = getDiakUtolsoSzovegesTargyErtekeles($diakId, $szrId, $ADAT['targyId'], $dt); + } + } + } else { + $_SESSION['alert'][] = 'info:nincs_szempontrendszer'; + } + } else { // Egy diák összes értékelése + define(__MODOSITHAT, false); + $ADAT['osszes'] = getDiakOsszesSzovegesErtekeles($ADAT); + } + } + +/* **** ToolBar **** */ + + // tanár vagy osztály szerint szűkíthetünk, majd diákot választunk + if (__TANAR || __NAPLOADMIN) { + if (!isset($osztalyId) || __OSZTALYFONOK === true) + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('tolDt', 'dt', 'szemeszterId')); + if (!isset($tanarId) || __OSZTALYFONOK === true) + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tolDt', 'tolDt', 'dt', 'szemeszterId')); + $TOOL['diakSelect'] = array( + 'tipus' => 'sor', 'paramName' => 'diakId', 'diakok' => $Diakok, + 'post' => array('osztalyId', 'targyId', 'tankorId', 'tanarId', 'tolDt', 'dt', 'szemeszterId') + ); + if (isset($diakId)) $TOOL['diakLapozo'] = array( 'withSelect' => false, + 'tipus' => 'sor', 'paramName' => 'diakId', 'diakok' => $Diakok, + 'post' => array('osztalyId', 'targyId', 'tankorId', 'tanarId', 'tolDt', 'dt', 'szemeszterId') + ); + } + // Záró vagy évközi értékelés - dt vagy szemeszterId van kiválasztva + if (!isset($szemeszterId)) { + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'dt', 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], 'hanyNaponta' => 1, + 'post' => array('tankorId','tanarId','osztalyId','diakId','szemeszterId')); + } + if ($dt == $ADAT['szemeszter']['zarasDt']) { + $TOOL['szemeszterSelect'] = array( + 'tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , + 'post' => array('osztalyId', 'tanarId', 'diakId', 'dt', 'tankorId', 'kepzesId', 'evfolyamJel')); + } + // tárgyat vagy tankört választunk (és ezen keresztül tárgyat) + if (!isset($targyId) && (isset($osztalyId) || isset($tanarId) || isset($diakId))) { + $TOOL['tankorSelect'] = array( + 'tipus' => 'sor', 'tankorok' => $Tankorok, 'paramName' => 'tankorId', + 'post' => array('osztalyId', 'tanarId', 'diakId', 'dt', 'szemeszterId') + ); + } + if (!isset($tankorId) && isset($diakId)) { + $TOOL['targySelect'] = array( + 'tipus' => 'sor', 'targyak' => $Targyak, 'paramName' => 'targyId', + 'post' => array('osztalyId', 'tanarId', 'diakId', 'dt', 'szemeszterId') + ); + } + if (is_array($diakEvfolyamJel) && count($diakEvfolyamJel) > 1) + $TOOL['evfolyamJelSelect'] = array( + 'tipus' => 'cella', 'evfolyamJel' => $diakEvfolyamJel, 'paramName' => 'evfolyamJel', + 'post' => array('osztalyId', 'tanarId', 'diakId', 'dt', 'tankorId', 'kepzesId', 'szemeszterId') + ); + if (is_array($diakKepzesIds) && count($diakKepzesIds) > 1) + $TOOL['kepzesSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'kepzesId', + 'post' => array('osztalyId', 'tanarId', 'diakId', 'dt', 'tankorId', 'evfolyamJel', 'szemeszterId') + ); + $TOOL['targySorrendSelect'] = array('tipus'=>'cella','paramName' => 'sorrendNev', 'post' => array('szemeszterId', 'osztalyId','diakId','tolDt','dt','tankorId','kepzesId','evfolyamJel')); + $TOOL['nyomtatasGomb'] = array('titleConst' => '_NYOMTATAS','tipus'=>'cella','url'=>'index.php?page=naplo&sub=nyomtatas&f=szovegesErtekeles', + 'post' => array('osztalyId','szemeszterId','sorrendNev')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles.php b/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles.php new file mode 100644 index 00000000..7908d085 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/szovegesErtekeles.php @@ -0,0 +1,15 @@ + $tAdat) + if (is_array($ADAT['osszes'][$targyId])) + if ($ADAT['tolDt'] <= $ADAT['osszes'][$targyId]['szovegesErtekeles']['dt']) putErtekeloForm($ADAT['osszes'][$targyId]); + } +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/tankor-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/tankor-pre.php new file mode 100644 index 00000000..742b4b5d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/tankor-pre.php @@ -0,0 +1,332 @@ + __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'csakId')); + if (in_array(__USERTANARID, $tankorTanarai)) $tanarId = __USERTANARID; + } + + $nevsor = readVariable($_POST['nevsor'],'emptystringnull','aktualis',array('aktualis','teljes')); + // tankörök lekérdzése + if (isset($diakId)) $Tankorok = getTankorByDiakId($diakId, __TANEV); + elseif (isset($osztalyId)) $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); + elseif (isset($tanarId)) $Tankorok = getTankorByTanarId($tanarId, __TANEV); + + $ADAT['tankorok'] = $Tankorok; + + if (isset($tankorId)) { + // Az aktuális szemeszter kiválasztása + if (__FOLYO_TANEV) { + foreach ($_TANEV['szemeszter'] as $szemeszter => $szemeszterAdat) + if (strtotime($szemeszterAdat['kezdesDt']) <= $time && $time <= strtotime($szemeszterAdat['zarasDt'])) break; + if ($szemeszter !== false) { + define('__FOLYO_SZEMESZTER', $szemeszter); + $szemeszterKezdesDt = $szemeszeterAdat['kezdesDt']; + $szemeszterZarasDt = $szemeszeterAdat['zarasDt']; + } + } + if (!defined('__FOLYO_SZEMESZTER')) define('__FOLYO_SZEMESZTER',false); + + if (isset($_POST['tolDt']) && $_POST['tolDt'] != '') $tolDt = readVariable($_POST['tolDt'],'date'); + elseif (isset($szemeszterKezdesDt)) $tolDt = $szemeszterKezdesDt; + else $tolDt = $_TANEV['kezdesDt']; + + if (isset($_POST['igDt']) && $_POST['igDt'] != '') $igDt = readVariable($_POST['igDt'],'date'); + elseif (isset($szemeszterZarasDt)) $igDt = $szemeszterZarasDt; + else $igDt = $_TANEV['zarasDt']; + + // a tankör diákjainak lekérdezése + if ($nevsor == 'aktualis') $Diakok = getTankorDiakjaiByInterval($tankorId, __TANEV); + else $Diakok = getTankorDiakjaiByInterval($tankorId, __TANEV, $tolDt, $igDt); + + $dts = array(date('Y-m-d')); + foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdat) $dts[] = $szAdat['zarasDt']; + $ADAT['diakJogviszony'] = getDiakJogviszonyByDts($Diakok['idk'], $dts); + + // lehetne regexp-pel is: $sulyozas = readVariable($_POST['sulyozas'],'regexp',__DEFAULT_SULYOZAS,array('^[0-9]*:[0-9]*:[0-9]*:[0-9]*:[0-9]*$')); + $ADAT['sulyozas'] = $sulyozas = readVariable($_POST['sulyozas'],'enum',__DEFAULT_SULYOZAS,$SULYOZAS); + + // tankör osztályzatainak lekérdezése + $Jegyek = getJegyek($tankorId, $tolDt, $igDt, $sulyozas, $Diakok); + if (is_array($Jegyek['tankörök'])) for ($j=0; $j 'id')); + // Diákok osztályai - folyó tanévben: jelenleg... + if (__FOLYO_TANEV) { + $ADAT['diakOsztaly']['aktualis'] = getDiakokOsztalyai($ADAT['diakok']['idk'], array('result'=>'indexed')); + $dt['aktualis'] = date('Y-m-d'); + } else { + $ADAT['diakOsztaly']['aktualis'] = getDiakokOsztalyai($ADAT['diakok']['idk'], array('result'=>'indexed', 'tolDt' => $_TANEV['zarasDt'], 'igDt' => $_TANEV['zarasDt'])); + $dt['aktualis'] = $_TANEV['zarasDt']; + } + // Kérdezzük le a szemeszter záráskori osztályokat is! + foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdat) { + $ADAT['diakOsztaly'][$szemeszter] = getDiakokOsztalyai( + $ADAT['diakok']['idk'], array('result'=>'indexed', 'tolDt' => $szAdat['zarasDt'], 'igDt' => $szAdat['zarasDt']) + ); + $dt[$szemeszter] = $szAdat['zarasDt']; + } + /* Diákonkénti évfolyam meghatározás + Külön kell itt is meghatározni, itt esetleg leszűkíthető a több évfolyamra járó diák évfolyama */ + for ($i=0; $i $value) { // $key: aktualis, 1, 2 + $_diakEvfolyam = array(); + $_diakEvfolyamJel = array(); + if ( is_array($ADAT['diakOsztaly'][$key][$_diakId]) && is_array($ADAT['tankorAdat']['osztalyai']) ) { + $_metszet = array_intersect($ADAT['diakOsztaly'][$key][$_diakId], $ADAT['tankorAdat']['osztalyai']); +// } else { +// $_SESSION['alert'][] = 'info:nincs_osztaly:'.$ADAT['diakok']['nevek'][$_diakId]['diakNev'].':'.$key; + } + + // ez a feltétel lazítható több osztályban is, ha azok azonos évolfymon vannak: + foreach ( $_metszet as $j => $_osztalyId ) { + // csak ebben a tankörben ennek felel meg, ezen az évfolyamon levő a zárójegyet kaphatja: + $_diakEvfolyamJel[] = getEvfolyamJel($_osztalyId); + $_diakEvfolyam[] = evfolyamJel2Evfolyam(end($_diakEvfolyamJel)); + } + if (count(array_unique($_diakEvfolyamJel))==1) { // korábban az evfolyam-nak kellett uniq-nak lennie - ez szigorúbb... + $ADAT['diakEvfolyam'][$key][$_diakId] = $_diakEvfolyam[0]; + $ADAT['diakEvfolyamJel'][$key][$_diakId] = $_diakEvfolyamJel[0]; + // OK, van-e meghatározva képzés? + // TODO: képzések legyenek evfolyamJel függők - ekkor itt is javítani kell! + if (is_numeric($key)) { + $_kepzesIdk = getKepzesByDiakId($_diakId,array('result'=>'idonly', 'dt' => $dt[$key])); + if (is_array($_kepzesIdk) && count($_kepzesIdk)>0) { + // ITT MIÉRT CSAK AZ ELSŐ KÉPZÉST NÉZZÜK??? - mert nem tudjuk eldönteni, hogy melyik az erősebb + $ADAT['diakKepzesKovetelmeny'][$key][$_diakId] = getTargyAdatFromKepzesOraterv($_kepzesIdk[0], + array('targyId'=>$targyId, 'evfolyam'=>$_diakEvfolyam[0], 'evfolyamJel'=>$_diakEvfolyamJel[0], 'szemeszter'=>$key)); + } + } + // + } elseif (count($_diakEvfolyam) == 0) { // _Már_ nincs a tankör szerinti osztályok egyikében sem + } else { // Több évfolyamban is bent van... + $_SESSION['alert'][] = "info:multi_evfolyam:".$ADAT['diakok']['nevek'][$_diakId]['diakNev'].':'.$key; + } + + + } + + } + /* --még1* felmentési célból- */ + for ($i=0; $iarray('értékelés alól'),'csakId'=>true,'tolDt'=>date('Y-m-d'), 'igDt'=>date('Y-m-d'))); + } + } else { + // -- TODO - fejlesztés alatt + /*for ($i=0; $i __TANEV, 'tipus' => array('zárás','bizonyítvány írás'), 'tolDt' => date('Y-m-d H:i:s'), 'igDt' => date('Y-m-d H:i:s'), + 'arraymap'=>array('tipus','szemeszter')) + ); + + + // Beírhat-e jegyet? + define('__EVKOZI_JEGYET_ADHAT', + (__NAPLOADMIN && ($_TANEV['statusz'] == 'aktív')) + || ( + __TANAR + && __FOLYO_TANEV + && is_array($Jegyek['tankörök'][$tankorId]['tanarIds']) + && in_array(__USERTANARID, $Jegyek['tankörök'][$tankorId]['tanarIds']) + ) + ); + define('__ZAROJEGYET_ADHAT', + (__NAPLOADMIN && ($_TANEV['statusz'] == 'aktív')) + || ( + __TANAR + && is_array($Jegyek['tankörök'][$tankorId]['tanarIds']) + && in_array(__USERTANARID, $Jegyek['tankörök'][$tankorId]['tanarIds']) + && count($tanevIdoszak['zárás']) > 0 + ) + || ( + __VEZETOSEG + && !is_null($tanevIdoszak['bizonyítvány írás']) + && is_null($tanevIdoszak['zárás']) + ) + ); + + if ( __TANAR + && is_array($Jegyek['tankörök'][$tankorId]['tanarIds']) + && in_array(__USERTANARID, $Jegyek['tankörök'][$tankorId]['tanarIds']) + && count($tanevIdoszak['zárás']) > 0 ) + { + list($_szemeszter,$_idoszakok) = (each($tanevIdoszak['zárás'])); + define('__IDOSZAK_TOLDT',$_idoszakok[0]['tolDt']); // Nem lehet két szemeszterhez tartozó ugyanolyan típusú (pl. zárás) időszak egyidőben!!! + define('__IDOSZAK_IGDT',$_idoszakok[0]['igDt']); + define('__IDOSZAK_SZEMESZTER',$_szemeszter); + } elseif ( + __VEZETOSEG + && !is_null($tanevIdoszak['bizonyítvány írás']) + && is_null($tanevIdoszak['zárás']) + ) { + list($_szemeszter,$_idoszakok) = (each($tanevIdoszak['bizonyítvány írás'])); + define('__IDOSZAK_TOLDT',$_idoszakok[0]['tolDt']); + define('__IDOSZAK_IGDT',$_idoszakok[0]['igDt']); + define('__IDOSZAK_SZEMESZTER',$_szemeszter); + } + + define('__JEGYET_ADHAT',false); + +//------ + if ($action == 'jegyBeiras' && (isset($_POST['bizBeiroGomb']) || $_POST['bizBeiroGomb2']!='')) $action = 'jegyLezaras'; + if (__EVKOZI_JEGYET_ADHAT) { + + if ($action == 'jegyBeiras') { + $actionId = readVariable($_POST['actionId'],'strictstring'); + for ($i = 0; $i < count($_POST['jegy']); $i++) + if ($_POST['jegy'][$i] != '') { + list($_diakId, $_jegyTipus, $_jegy) = explode('|', $_POST['jegy'][$i]); + $Beirando[] = array('diakId' => $_diakId, 'jegy' => $_jegy, 'jegyTipus' => $_jegyTipus); + } // for-if + $oraId = readVariable($_POST['oraId'],'id','NULL'); // NULL string!!! + $megjegyzes = readVariable($_POST['megjegyzes'],'string'); + + // A jegy típusa - a submit alapján + if (isset($_POST['jegy1'])) $tipus = 1; + elseif (isset($_POST['jegy2'])) $tipus = 2; + elseif (isset($_POST['jegy3'])) $tipus = 3; + elseif (isset($_POST['jegy4'])) $tipus = 4; + elseif (isset($_POST['jegy5'])) $tipus = 5; + if ($tipus < 3 || $_POST['dolgozatId'] == '') $dolgozatId = 'NULL'; + elseif ($_POST['dolgozatId']=='uj') $dolgozatId='uj'; // uj-nak nevezzük a felveendő dolgozatot... + else $dolgozatId = readVariable($_POST['dolgozatId'],'id','NULL'); // NULL string! + + if (isset($tipus) && count($Beirando) > 0) { // Nem csak súlyozást vagy nevsort változtatott és van jeg + // --TODO: ez nem ide való + $lr = db_connect('naplo'); + // Ellenőrizzük a reload-ot!! + if (checkReloadAction($actionId, $action, 'jegy', $lr)) { + if (jegyBeiras($tankorId, $tipus, $oraId, $dolgozatId, $tanarId, $megjegyzes, $Beirando, $actionId, $lr)) { + $Jegyek = getJegyek($tankorId, $tolDt, $igDt, $sulyozas, $Diakok, $lr); + if ($tipus > 2) $Dolgozatok = getTankorDolgozatok($tankorId); + } + } // reload + db_close($lr); + + } // Nem csak súlyozást változtat + } + } + if (__ZAROJEGYET_ADHAT) { + if ($action == 'jegyLezaras') { + $zaroJegyek = $_POST['zaroJegy']; + $tankorAdat = getTankorById($tankorId); + $targyId = $tankorAdat[0]['targyId']; + $actionId = readVariable($_POST['actionId'],'strictstring'); + if (is_array($zaroJegyek)) { + /* Prepare */ + for($i=0; $iarray('diakId','evfolyamStr','felev'))); + $ADAT['vizsgaJegyek'] = getDiakokVizsgajegyeiByTargyId($Diakok['idk'],$ADAT['tankorAdat']['targyId'], array('arraymap'=>array('diakId','evfolyamStr','felev'))); + $ADAT['idoszak'] = $tanevIdoszak; + + // ----------- action vége ------------- // + + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('tolDt', 'igDt')); + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('tolDt', 'igDt')); + if (isset($osztalyId)) { + $TOOL['diakSelect'] = array('tipus' => 'cella', 'paramName' => 'diakId', 'post' => array('osztalyId', 'tolDt', 'igDt')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=osztalyozo&f=diak','index.php?page=naplo&sub=orarend&f=orarend'), + 'title' => array('diák osztályzatai','diák órarendje'), 'post' => array('osztalyId'), + 'paramName'=>'diakId'); +// $TOOL['toolBarHamburger'] = array('tipus' => 'cella', +// 'url' => array('index.php?page=naplo&sub=osztalyozo&f=diak','index.php?page=naplo&sub=orarend&f=orarend'), +// 'title' => array('diák osztályzatai','diák órarendje'), 'post' => array('osztalyId'), +// 'paramName'=>'diakId'); + } + + + if (isset($osztalyId) or isset($tanarId) or isset($diakId)) + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $Tankorok, 'paramName' => 'tankorId', 'post' => array('osztalyId', 'tanarId', 'diakId', 'tolDt', 'igDt')); + if (isset($tankorId) && $skin != 'pda') + $TOOL['datumTolIgSelect'] = array('tipus' => 'sor', 'tolParamName' => 'tolDt', 'igParamName' => 'igDt', + 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 'havonta', 'post' => array('tanarId', 'osztalyId', 'tankorId', 'sulyozas')); + + + getToolParameters(); + +} // rights + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/tankor.php b/mayor-orig/www/policy/private/naplo/osztalyozo/tankor.php new file mode 100644 index 00000000..f86de20a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/tankor.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend-pre.php new file mode 100644 index 00000000..5dfd84c1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend-pre.php @@ -0,0 +1,47 @@ + 0) + $_POST['targyId'] = $targyId = readVariable($_POST['targyId'][0], 'numeric unsigned', null); + + + if (isset($osztalyId) && isset($sorrendNev)) { + + if ($action == 'sorrendValtas') { // Javascript nélküli eset - fel/le lépkedés + + if (isset($_POST['fel'])) targySorrendValtas($osztalyId, $sorrendNev, $targyId, 'fel'); + elseif (isset($_POST['le'])) targySorrendValtas($osztalyId, $sorrendNev, $targyId, 'le'); + + } elseif ($action == 'ujSorrend' && is_array($_POST['targyIds']) && count($_POST['targyIds']) > 0) { + ujTargySorrend($osztalyId, $sorrendNev, $_POST['targyIds']); + + } + + $Targyak = getTanevTargySorByOsztalyId($osztalyId, __TANEV, $sorrendNev); + checkTargySor($osztalyId, $sorrendNev, $Targyak); + + } + + + if (__NAPLOADMIN || __VEZETOSEG || __TITKARSAG) + $TOOL['osztalySelect'] = array('tipus' => 'cella', 'paramName' => 'osztalyId', 'post' => array('sorrendNev')); + $TOOL['targySorrendSelect'] = array('tipus' => 'cella', 'post' => array('osztalyId')); + + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend.php b/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend.php new file mode 100644 index 00000000..59aa99e9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/targySorrend.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga-pre.php new file mode 100644 index 00000000..beb5bd84 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga-pre.php @@ -0,0 +1,91 @@ +'idonly')); + $diakId = $ADAT['diakId'] = readVariable($_POST['diakId'], 'id', readVariable($_GET['diakId'], 'id')); + $targyId = $ADAT['targyId'] = readVariable($_POST['targyId'], 'id', readVariable($_GET['targyId'], 'id')); + $evfolyamJel = $ADAT['evfolyamJel'] = readVariable( + $_POST['evfolyamJel'], 'enum', readVariable($_GET['evfolyamJel'], 'enum', null, $ADAT['evfolyamJelek']), $ADAT['evfolyamJelek'] + ); + if (isset($evfolyamJel)) $evfolyam = $ADAT['evfolyam'] = evfolyamJel2Evfolyam($evfolyamJel); + + $ADAT['tanev'] = $_TANEV['tanev']; // ezt ellenőrizni + $felev = readVariable($_POST['felev'], 'numeric unsigned'); + if ($felev=='') foreach($_TANEV['szemeszter'] as $felev => $_SZA); + $ADAT['felev'] = $felev; // maxSzemeszter + $ADAT['vizsgatipusok'] = getEnumField('naplo_intezmeny', 'vizsga', 'tipus'); + $ADAT['zarojegytipusok'] = getEnumField('naplo_intezmeny', 'zaroJegy', 'jegyTipus'); + $ADAT['statusz'] = getEnumField('naplo_intezmeny', 'diak', 'statusz'); + + if ($action == 'vizsgajelentkezes' && isset($diakId) && isset($targyId) && isset($evfolyamJel)) { + $ADAT['jelentkezesDt'] = readVariable($_POST['jelentkezesDt'], 'date'); + $ADAT['tipus'] = readVariable($_POST['tipus'], 'enum', null, $ADAT['vizsgatipusok']); + if (isset($ADAT['jelentkezesDt']) && isset($ADAT['tipus'])) { + vizsgajelentkezes($ADAT); + } + } elseif ($action == 'vizsgaKezeles') { + $vizsgaDatum = $halasztasDatum = array(); + + // Vizsgaidőpontok kijelölése + $vizsgaIds = readVariable($_POST['vizsgaDtVizsgaIds'], 'numeric unsigned'); + $vizsgaDts = readVariable($_POST['vizsgaDts'], 'date', ''); + for ($i = 0; $i < count($vizsgaDts); $i++) if ($vizsgaDts[$i] != '') $vizsgaDatum[ $vizsgaIds[$i] ] = $vizsgaDts[$i]; + vizsgaIdopontRogzites($vizsgaDatum); + + $erthalVizsgaIds = readVariable($_POST['erthalVizsgaIds'], 'numeric unsigned'); + // Vizsga halasztása + $halasztasDts = readVariable($_POST['halasztasDts'], 'date', ''); + for ($i = 0; $i < count($halasztasDts); $i++) if ($halasztasDts[$i] != '') $halasztasDatum[ $erthalVizsgaIds[$i] ] = $halasztasDts[$i]; + vizsgaHalasztas($halasztasDatum); + // Vizsga értékelés + $jegyAdat = $_POST['jegyAdat']; + for ($i = 0; $i < count($jegyAdat); $i++) if ($jegyAdat[$i] != '') { + $X = explode('|', $jegyAdat[$i]); + for ($j = 0; $j < count($X); $j++) { + list($key, $value) = explode('=', $X[$j]); + $jegyek[ $erthalVizsgaIds[$i] ][$key] = $value; + } + } + vizsgaErtekeles($jegyek); + } elseif ($action == 'vizsgaTorlese') { + $vizsgaId = readVariable($_GET['vizsgaId'], 'id'); + if (isset($vizsgaId)) vizsgaTorlese($vizsgaId); + } + $ADAT['vizsga'] = $ADAT['diakIds'] = $ADAT['targyIds'] = array(); + if (isset($diakId) || isset($targyId)) $ADAT['vizsga'] = getVizsgak($ADAT); + + for ($i = 0; $i < count($ADAT['vizsga']); $i++) { + if (!in_array($ADAT['vizsga'][$i]['diakId'], $ADAT['diakIds'])) $ADAT['diakIds'][] = $ADAT['vizsga'][$i]['diakId']; + if (!in_array($ADAT['vizsga'][$i]['targyId'], $ADAT['targyIds'])) $ADAT['targyIds'][] = $ADAT['vizsga'][$i]['targyId']; + } + if (count($ADAT['targyIds']) > 0) $ADAT['targyak'] = getTargyAdatByIds($ADAT['targyIds']); + if (count($ADAT['diakIds']) > 0) $ADAT['diakok'] = getDiakokById($ADAT['diakIds']); + + + $TOOL['diakSelect'] = array('tipus'=>'cella', 'paramName'=>'diakId', 'post'=>array('targyId','jelentkezesDt', 'vizsgaDt', 'evfolyamJel', 'felev'), 'statusz'=>$ADAT['statusz']); + $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'post' => array('diakId', 'evfolyamJel', 'felev')); + $TOOL['evfolyamJelSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'evfolyamJel', 'paramDesc'=>'evfolyamJel','adatok' => getEvfolyamJelek(), + 'post' => array('targyId', 'diakId', 'jelentkezesDt', 'vizsgaDt','felev') + ); + $TOOL['felevSelect'] = array( + 'tipus' => 'cella', 'paramName' => 'felev', 'post' => array('targyId', 'diakId', 'jelentkezesDt', 'vizsgaDt', 'evfolyamJel') + ); + + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga.php b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga.php new file mode 100644 index 00000000..aaccc546 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsga.php @@ -0,0 +1,11 @@ + 0) putVizsgaLista($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes-pre.php new file mode 100644 index 00000000..0cace228 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes-pre.php @@ -0,0 +1,37 @@ + $iAdat) { + if ($iAdat['tipus'] == 'vizsga') { + $ADAT['vizsgaIdoszak'][] = $iAdat; + $idoszakIds[] = $iAdat['idoszakId']; + if (!isset($ADAT['kovetkezoIdoszakIndex']) && time() < strtotime($iAdat['tolDt'])) $ADAT['kovetkezoIdoszakIndex'] = count($ADAT['vizsgaIdoszak']) - 1; + } + } + if (count($ADAT['vizsgaIdoszak']) == 0) { + $_SESSION['alert'][] = 'message:wrong_data:nincs vizsgaidőszak kijelölve ebben a szemeszterben'; + } else { + + } // van kijelölve vizsgaidőszak + + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'post' => array('sorrendNev', 'osztalyId')); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes.php b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes.php new file mode 100644 index 00000000..11ad75ef --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/vizsgaJelentkezes.php @@ -0,0 +1,9 @@ + 0) putVizsgaJelentkezes($ADAT); + elseif (__NAPLOADMIN === true) echo ''._VIZSGAIDOSZAK_FELVETELE.''; +?> diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck-pre.php b/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck-pre.php new file mode 100644 index 00000000..0cd5bf23 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck-pre.php @@ -0,0 +1,82 @@ + 'indexed', 'minden'=>false, 'telephelyId' => $telephelyId)); + if (isset($_POST['osztalyId']) && $_POST['osztalyId'] != '') { $osztalyId = $ADAT['osztalyId'] = readVariable($_POST['osztalyId'],'id'); } + elseif (__OSZTALYFONOK && !isset($_POST['osztalyId'])) { $osztalyId = $ADAT['osztalyId'] = $_POST['osztalyId'] = $_OSZTALYA[0]; } + + if (isset($_POST['tolDt']) && $_POST['tolDt'] != '') $tolDt = readVariable($_POST['tolDt'],'date'); + elseif (isset($szemeszterKezdesDt)) $tolDt = $szemeszterKezdesDt; + else $tolDt = $_TANEV['kezdesDt']; + + if (isset($_POST['igDt']) && $_POST['igDt'] != '') $igDt = readVariable($_POST['igDt'],'date'); + elseif (isset($szemeszterZarasDt)) $igDt = $szemeszterZarasDt; + else $igDt = $_TANEV['zarasDt']; + // a tankör diákjainak lekérdezése + $ADAT['diakok'] = getDiakokByOsztalyId(array($osztalyId), $SET = array('tanev' => $tanev, 'tolDt' => null, 'igDt' => null, 'result' => '', 'statusz' => array('jogviszonyban van','magántanuló'))); +/* for ($i=0; $i'naplo_intezmeny','values'=>$v),$lr); + $q = "UPDATE vizsga SET evfolyamJel='%s' WHERE zaroJegyId = %u"; + db_query($q, array('modul'=>'naplo_intezmeny','values'=>$v),$lr); + } + db_close($lr); + } + $q = "SELECT osztalyId, leiras,kezdoTanev,vegzoTanev,jel,telephelyId,osztalyJellegId, elokeszitoEvfolyam, + osztalyJelleg.osztalyJellegNev, osztalyJelleg.vegzesKovetelmenye, kovOsztalyJellegId + FROM osztaly LEFT JOIN mayor_naplo.osztalyJelleg USING (osztalyJellegId) WHERE osztalyId=%u"; + $v = array($osztalyId); + $ADAT['osztalyok'] = db_query($q,array('values'=>$v,'result'=>'record','modul'=>'naplo_intezmeny')); + + $q = "SELECT * FROM zaroJegy LEFT JOIN osztalyDiak ON (osztalyDiak.diakId=zaroJegy.diakId AND beDt<=hivatalosDt AND (kiDt IS NULL or kiDt>=hivatalosDt)) WHERE osztalyId=%u AND hivatalosDt>='%s' AND hivatalosDt<='%s' ORDER BY hivatalosDt,zaroJegy.diakId,evfolyam,evfolyamJel"; + $v = array($osztalyId,$ADAT['szemeszterAdat']['kezdesDt'],$ADAT['szemeszterAdat']['zarasDt']); + $ADAT['zaroJegyek'] = db_query($q,array('values'=>$v,'result'=>'indexed','modul'=>'naplo_intezmeny')); + } +//----------- +// $TOOL['telephelySelect'] = array('tipus' => 'cella','paramName'=>'telephelyId'); + $TOOL['szemeszterSelect'] = array('tipus'=>'cella','paramName' => 'szemeszterId', 'statusz' => array('aktív','lezárt') , 'post' => array('sorrendNev', 'osztalyId', 'telephelyId')); + if (!__DIAK) { + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'tanev' => $ADAT['szemeszterAdat']['tanev'], 'post' => array('szemeszterId', 'sorrendNev', 'telephelyId')); + } + if (isset($osztalyId) && isset($szemeszterId)) + $TOOL['nyomtatasGomb'] = array('titleConst' => '_NYOMTATAS','tipus'=>'cella', 'url'=>'index.php?page=naplo&sub=nyomtatas&f=ertesito','post' => array('osztalyId','szemeszterId','sorrendNev', 'telephelyId')); + getToolParameters(); + + + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck.php b/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck.php new file mode 100644 index 00000000..be582c89 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/osztalyozo/zaroJegyCheck.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/sni/diakAllapot-pre.php b/mayor-orig/www/policy/private/naplo/sni/diakAllapot-pre.php new file mode 100644 index 00000000..81926458 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/diakAllapot-pre.php @@ -0,0 +1,127 @@ + $osztalyId, 'result' => 'idonly','override' => false)); + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + $ADAT['diakAdat'] = getDiakAdatById($ADAT['diakIds'], array('result' => 'assoc', 'keyfield' => 'diakId')); + $ADAT['sniDiakIds'] = $Diakok = array(); + foreach ($ADAT['diakAdat'] as $_diakId => $dAdat) { + if ($dAdat['fogyatekossag'] != '') { + $ADAT['sniDiakIds'][] = $_diakId; + $dAdat['aktualisStatusz'] = $dAdat['statusz']; + $Diakok[] = $dAdat; + } + } + } + $diakId = $ADAT['diakId'] = readVariable($_POST['diakId'], 'id', null, $ADAT['sniDiakIds']); + if (isset($diakId)) { + + $ADAT['fields']['olvasas'] = getEnumField('naplo','sniDiakAllapot','olvasas'); + $ADAT['fields']['olvasasTempoja'] = getEnumField('naplo','sniDiakAllapot','olvasasTempoja'); + $ADAT['fields']['olvasasHibak'] = getSetField('naplo','sniDiakAllapot','olvasasHibak'); + $ADAT['fields']['iras'] = getEnumField('naplo','sniDiakAllapot','iras'); + $ADAT['fields']['iraskepe'] = getEnumField('naplo','sniDiakAllapot','iraskepe'); + $ADAT['fields']['irasHibak'] = getSetField('naplo','sniDiakAllapot','irasHibak'); + $ADAT['fields']['szovegertes'] = getEnumField('naplo','sniDiakAllapot','szovegertes'); + $ADAT['fields']['matematika'] = getSetField('naplo','sniDiakAllapot','matematika'); + $ADAT['fogyatekossag'] = getSetField('naplo_intezmeny','diak', 'fogyatekossag'); + + // Mentor/Ofő lekérdezése, konstans beállítása + $ADAT['sniDiakAdat'] = getSniDiakAdat($diakId); + define('__MENTOR', + __TANAR + && ( + (__OSZTALYFONOK && in_array($osztalyId, $_OSZTALYA)) + || __USERTANARID == $ADAT['sniDiakAdat']['mentorTanarId'] + ) + ); + // Action + if ( + $_TANEV['statusz'] == 'aktív' + && (__NAPLOADMIN || __VEZETOSEG || __MENTOR) + ) { // ? egyéb feltételek - határidő??? + if ($action == 'allapotRogzites') { + $Fields = getTableFields('sniDiakAllapot','naplo'); + foreach ($Fields as $attr => $attrNev) { + if (is_array($ADAT['fields'][$attr])) { + $Param['diakAllapot'][$attr] = readVariable($_POST[$attr], 'enum', null, $ADAT['fields'][$attr]); + if (is_array($Param['diakAllapot'][$attr])) $Param['diakAllapot'][$attr] = implode(',',$Param['diakAllapot'][$attr]); + } elseif (in_array($attr, array('diakId','szemeszter','vizsgalatTanarId','priorizalas'))) { + $Param['diakAllapot'][$attr] = readVariable($_POST[$attr], 'id'); + } elseif ($attr == 'vizsgalatDt') { + $Param['diakAllapot'][$attr] = readVariable($_POST[$attr], 'date'); + } else { + $Param['diakAllapot'][$attr] = readVariable($_POST[$attr], 'string'); + } + } + foreach (array('gyengeseg','erosseg') as $val) { + $Param['gyengesegekErossegek'][$val.'Leiras'] = readVariable($_POST[$val.'Leiras'], 'string'); + $Param['gyengesegekErossegek'][$val.'Prioritas'] = readVariable($_POST[$val.'Prioritas'], 'numeric unsigned'); + } + if ($diakId != $ADAT['diakId']) { + $_SESSION['alert'][] = 'message:wrong_data:allapotRogzites:diakId='.$diakId.'?'.$Param['diakId']; + } else { + sniDiakAllapotRogzites($Param); + } + } elseif ($action == 'sniDiakAdatRogzites') { + $Param['diakId'] = $diakId; + $Param['kulsoInfo'] = readVariable($_POST['kulsoInfo'], 'string'); + $Param['mentorTanarId'] = readVariable($_POST['mentorTanarId'], 'id'); + $Param['fogyatekossag'] = readVariable($_POST['fogyatekossag'], 'enum', null, $ADAT['fogyatekossag']); + sniDiakAdatRogzites($Param); + } + } + $ADAT['diakAdat'][$diakId] = getDiakAdatById($diakId); + $ADAT['diakAllapot'] = getDiakAllapot($diakId); + $ADAT['sniDiakAdat'] = getSniDiakAdat($diakId); + // Osztály tanárai + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV, array('tanarral' => true)); + $ADAT['tanarIds'] = array(); + for ($i = 0; $i < count($Tankorok); $i++) { + for ($j = 0; $j < count($Tankorok[$i]['tanarok']); $j++) { + if (!in_array($Tankorok[$i]['tanarok'][$j]['tanarId'], $ADAT['tanarIds'])) + $ADAT['tanarIds'][] = $Tankorok[$i]['tanarok'][$j]['tanarId']; + } + } + // Összes tanár névsorban + $ADAT['tanarok'] = getTanarok(); + } + + } + // Tool + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array()); + if (isset($osztalyId)) { + $TOOL['diakSelect'] = array( + 'diakok' => $Diakok, + 'tipus'=>'cella','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva') + ); + } + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=sni&f=diakAllapot','index.php?page=naplo&sub=sni&f=fejlesztesiTerv','index.php?page=naplo&sub=sni&f=tantargyiFeljegyzesek'), + 'titleConst' => array('_DIAK_ALLAPOT','_HAVI_OSSZEGZES','_TANTARGYI_FELJEGYZESEK'), + 'post' => array('osztalyId','diakId','dt'), + 'paramName'=>'diakId'); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/sni/diakAllapot.php b/mayor-orig/www/policy/private/naplo/sni/diakAllapot.php new file mode 100644 index 00000000..8eb88c0e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/diakAllapot.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv-pre.php b/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv-pre.php new file mode 100644 index 00000000..46dfeab1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv-pre.php @@ -0,0 +1,110 @@ + $osztalyId, 'result' => 'idonly','override' => false)); + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + $ADAT['diakAdat'] = getDiakAdatById($ADAT['diakIds'], array('result' => 'assoc', 'keyfield' => 'diakId')); + $ADAT['sniDiakIds'] = $Diakok = array(); + foreach ($ADAT['diakAdat'] as $_diakId => $dAdat) { + if ($dAdat['fogyatekossag'] != '') { + $ADAT['sniDiakIds'][] = $_diakId; + $dAdat['aktualisStatusz'] = $dAdat['statusz']; + $Diakok[] = $dAdat; + } + } + } + $diakId = $ADAT['diakId'] = readVariable($_POST['diakId'], 'id', null, $ADAT['sniDiakIds']); + if (isset($diakId) && isset($dt)) { + + // Mentor/Ofő lekérdezése, konstans beállítása + $ADAT['sniDiakAdat'] = getSniDiakAdat($diakId); + define('__MENTOR', + __TANAR + && ( + (__OSZTALYFONOK && in_array($osztalyId, $_OSZTALYA)) + || __USERTANARID == $ADAT['sniDiakAdat']['mentorTanarId'] + ) + ); + // Action + if ( + $_TANEV['statusz'] == 'aktív' + && (__NAPLOADMIN || __VEZETOSEG || __MENTOR) + ) { // ? egyéb feltételek - határidő??? + if ($action == 'haviOsszegzesRogzitese') { + $Fields = getTableFields('sniHaviOsszegzes', 'naplo'); + foreach ($Fields as $attr => $attrNev) { + if (in_array($attr, array('diakId','valtozas'))) + $Param[$attr] = readVariable($_POST[$attr], 'id'); + elseif ($attr == 'dt') + $Param[$attr] = readVariable($_POST[$attr], 'date'); + else + $Param[$attr] = readVariable($_POST[$attr], 'string'); + } + $Param['felelos'] = readVariable($_POST['felelos'], 'id'); + sniHaviOsszegzesRogzites($Param); + } + } + + $ADAT['sniHaviOsszegzes'] = getHaviOsszegzes($diakId, $dt); + $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV, array('tanarral' => true)); + $ADAT['tanarIds'] = array(); + for ($i = 0; $i < count($Tankorok); $i++) { + for ($j = 0; $j < count($Tankorok[$i]['tanarok']); $j++) { + if (!in_array($Tankorok[$i]['tanarok'][$j]['tanarId'], $ADAT['tanarIds'])) + $ADAT['tanarIds'][] = $Tankorok[$i]['tanarok'][$j]['tanarId']; + } + } + $ADAT['tanarok'] = getTanarok(); + } + + + } + // Tool + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('dt')); + $TOOL['diakSelect'] = array( + 'diakok' => $Diakok, + 'tipus'=>'cella','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'), + 'post' => array('osztalyId','dt') + ); + $TOOL['datumSelect'] = array( + 'tipus' => 'sor', 'ParamName' => 'dt', 'tanev' => __TANEV, 'tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'], + 'hanyNaponta' => 'havonta', 'post' => array('diakId', 'osztalyId') + ); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=sni&f=diakAllapot','index.php?page=naplo&sub=sni&f=fejlesztesiTerv','index.php?page=naplo&sub=sni&f=tantargyiFeljegyzesek'), + 'titleConst' => array('_DIAK_ALLAPOT','_HAVI_OSSZEGZES','_TANTARGYI_FELJEGYZESEK'), + 'post' => array('osztalyId','diakId','dt'), + 'paramName'=>'diakId'); + if (isset($osztalyId)) $TOOL['nyomtatasGomb'] = array('titleConst' => '_NYOMTATAS','tipus'=>'cella', 'url'=>'index.php?page=naplo&sub=nyomtatas&f=sniHaviJegyzokonyv','post' => array('osztalyId')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv.php b/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv.php new file mode 100644 index 00000000..78fd73f2 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/fejlesztesiTerv.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/sni/sni-pre.php b/mayor-orig/www/policy/private/naplo/sni/sni-pre.php new file mode 100644 index 00000000..94ab4312 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/sni-pre.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/sni/sni.php b/mayor-orig/www/policy/private/naplo/sni/sni.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek-pre.php b/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek-pre.php new file mode 100644 index 00000000..f2af35f3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek-pre.php @@ -0,0 +1,113 @@ + $osztalyId, 'result' => 'idonly','override' => false)); + if (is_array($ADAT['diakIds']) && count($ADAT['diakIds']) > 0) { + $ADAT['diakAdat'] = getDiakAdatById($ADAT['diakIds'], array('result' => 'assoc', 'keyfield' => 'diakId')); + $ADAT['sniDiakIds'] = $Diakok = array(); + foreach ($ADAT['diakAdat'] as $_diakId => $dAdat) { + if ($dAdat['fogyatekossag'] != '') { + $ADAT['sniDiakIds'][] = $_diakId; + $dAdat['aktualisStatusz'] = $dAdat['statusz']; + $Diakok[] = $dAdat; + } + } + } + $diakId = $ADAT['diakId'] = readVariable($_POST['diakId'], 'id', null, $ADAT['sniDiakIds']); + + if (isset($diakId) && isset($dt)) { + + // Az osztály tanárai + $ADAT['tankorIds'] = getTankorByDiakId($diakId, __TANEV, array('result' => 'idonly')); + $ADAT['tankorTanar'] = getTankorTanaraiByInterval($ADAT['tankorIds'], array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'assoc', 'datumKenyszeritessel' => false)); + $ADAT['tankorAdat'] = getTankorAdatByIds($ADAT['tankorIds'], array('tanev' => __TANEV, 'dt' => $dt)); + foreach ($ADAT['tankorTanar'] as $_tankorId => $Tanarok) { + $ADAT['tankorTanaraE'][$_tankorId] = false; + for ($i = 0; $i < count($Tanarok); $i++) + if ($Tanarok[$i]['tanarId'] == __USERTANARID) { $ADAT['tankorTanaraE'][$_tankorId] = true; break; } + } + + $ADAT['tankorId'] = $tankorId = readVariable($_POST['tankorId'], 'id', null, $ADAT['tankorIds']); + if (isset($tankorId)) { + for ($i = 0; $i < count($ADAT['tankorTanar'][$tankorId]); $i++) { + if ($ADAT['tankorTanar'][$tankorId][$i]['tanarId'] == __USERTANARID) { define('__TANARA', true); break; } + } + if (!defined('__TANARA')) define('__TANARA', false); + + } + + // Action + if ($_TANEV['statusz'] == 'aktív') { + if ($action == 'tantargyiFeljegyzesRogzites') { + $Param = array( + 'diakId' => $diakId, + 'tankorId' => readVariable($_POST['feljegyzesTankorId'], 'id', null, $ADAT['tankorIds']), + 'dt' => readVariable($_POST['feljegyzesDt'], 'date'), + 'megjegyzes' => readVariable($_POST['megjegyzes'], 'string') + ); + if ( + __NAPLOADMIN + || ($ADAT['tankorTanaraE'][$Param['tankorId']] && strtotime($Param['dt']) >= strtotime(_HALADASI_HATARIDO)) + ) tantargyiFeljegyzesRogzites($Param); + } + } + if (isset($tankorId)) $ADAT['sniTantargyiFeljegyzes'] = getDiakFeljegyzesByTankorId($ADAT); + else $ADAT['sniTantargyiFeljegyzes'] = getDiakFeljegyzesByDt($ADAT); + } + + } + + // Tool + $TOOL['osztalySelect'] = array('tipus'=>'cella','paramName' => 'osztalyId', 'post' => array('dt')); + if (isset($osztalyId)) + $TOOL['diakSelect'] = array( + 'diakok' => $Diakok, + 'tipus'=>'cella','paramName' => 'diakId', + 'osztalyId'=> $osztalyId,'post' => array('osztalyId'), + 'statusz' => array('jogviszonyban van','magántanuló','jogviszonya felfüggesztve','jogviszonya lezárva'), + 'post' => array('osztalyId','dt') + ); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', + 'url' => array('index.php?page=naplo&sub=sni&f=diakAllapot','index.php?page=naplo&sub=sni&f=fejlesztesiTerv','index.php?page=naplo&sub=sni&f=tantargyiFeljegyzesek'), + 'titleConst' => array('_DIAK_ALLAPOT','_HAVI_OSSZEGZES','_TANTARGYI_FELJEGYZESEK'), + 'post' => array('osztalyId','diakId','tankorId'), + 'paramName'=>'diakId'); + if (isset($diakId)) + $TOOL['tankorSelect'] = array('tipus' => 'sor', 'tankorok' => $TankorokMutat, 'paramName' => 'tankorId', 'post' => array('osztalyId','diakId','dt')); + if (!isset($tankorId)) + $TOOL['datumSelect'] = array( + 'lapozo' => true, + 'tipus'=>'sor', 'post'=>array('diakId', 'osztalyId', 'tankorId'), 'paramName' => 'dt', 'hanyNaponta' => 7, + 'tolDt' => $ADAT['tolDt'], + 'igDt' => $_TANEV['zarasDt'], 'override' => true + ); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek.php b/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek.php new file mode 100644 index 00000000..b706e6db --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/sni/tantargyiFeljegyzesek.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas-pre.php b/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas-pre.php new file mode 100644 index 00000000..0e33b8fc --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas-pre.php @@ -0,0 +1,38 @@ +'naplo_intezmeny','result'=>'indexed')); + for ($i=0; $i'cella', 'post' => array(), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'napok' => $NAPOK + ); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas.php b/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas.php new file mode 100644 index 00000000..e144b075 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/stat/lemorzsolodas.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/stat/letszam-pre.php b/mayor-orig/www/policy/private/naplo/stat/letszam-pre.php new file mode 100644 index 00000000..5320b816 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/stat/letszam-pre.php @@ -0,0 +1,88 @@ +'naplo_intezmeny','result'=>'indexed')); + for ($i=0; $i MAX(IF(statusz NOT IN ('jogviszonyban van') AND dt <= '".$dt."',dt,'0000-00-00'))"; + $r = db_query($q,array('modul'=>'naplo_intezmeny'),$lr); + $q = "SELECT CONCAT(IF(telephelyId IS NULL,0,telephelyId),LPAD(osztalyJel,4,0)) AS sorrend,osztalyId,osztalyJel,osztaly.kezdoTanev,osztaly.vegzoTanev,count(_diakOkt.diakId) AS dbDiak, YEAR(szuletesiIdo) AS szuletesiEv, + IF(diak.nem IS NOT NULL,nem,'fiú') AS neme,nem FROM `_diakOkt` + LEFT JOIN `osztalyDiak` ON (_diakOkt.diakId=osztalyDiak.diakId AND beDt<='".$dt."' AND (kiDt IS NULL OR kiDt>='".$dt."')) + LEFT JOIN `osztaly` USING (osztalyId) + LEFT JOIN `diak` ON (_diakOkt.diakId=diak.diakId) + LEFT JOIN `naplo_".__INTEZMENY."_".$tanev."`.osztalyNaplo USING (osztalyId) + WHERE osztaly.kezdoTanev<=".$tanev." AND osztaly.vegzoTanev>=".$tanev." + GROUP BY osztalyId,YEAR(szuletesiIdo),neme + ORDER BY szuletesiEv,LPAD(osztalyJel,10,0),nem"; + $r = db_query($q,array('modul'=>'naplo_intezmeny','result'=>'indexed'),$lr); + $x = reindex($r,array('szuletesiEv','osztalyId','nem')) ; + + for ($i=0; $i$r[$i]['osztalyJel'],'osztalyId'=>$r[$i]['osztalyId']); + } + ksort($_TMP); + $ADAT['osztalyok'] = $_TMP; + +} + + $ADAT['eletkor'] = $x; + + + +/* Nyelvek statisztikája */ +// ennyi darab tankör van nyelvek szerint, bár ezt senki nem kérdezte :) select targyId,count(*) from tankor left join tankorTipus USING (tankorTipusId) WHERE rovidNev='első nyelv' group by targyId; +// select targyId,count(*) from tankor left join tankorTipus USING (tankorTipusId) LEFT JOIN tankorDiak USING (tankorId) WHERE rovidNev='első nyelv' group by targyId; + +/* + +$q = "select targyId,count(*) from tankor left join tankorTipus USING (tankorTipusId) LEFT JOIN tankorDiak USING (tankorId) LEFT JOIN _diakOkt USING (diakId) +WHERE _diakOkt.diakId is not null AND rovidNev='első nyelv' +AND beDt<='".$dt."' AND (kiDt is null OR kiDt>='".$dt."') +group by targyId"; + + $r = db_query($q,array('modul'=>'naplo_intezmeny','result'=>'indexed'),$lr); + +echo '
    ';
    +var_dump($r);
    +
    +
    +    $_SESSION['alert'][] = 'info::Nyelvek hibásak lehetnek, ha van olyan tárgy, ami nem első-második nyelvnek van megjelölve';
    +*/
    +
    +    $_SESSION['alert'][] = 'info::csak a kiválasztott dátumkor "jogviszonyban van" jogviszonyú diákok látszanak ebben a táblázatban (a fiú/lány mezők hiánya hibás adatokhoz vezethet)';
    +
    +    $TOOL['datumSelect'] = array(
    +        'tipus'=>'cella', 'post' => array(),
    +        'paramName' => 'dt', 'hanyNaponta' => 1,
    +//        'tolDt' => date('Y-m-d', strtotime($_TANEV['kezdesDt'])),
    +//        'igDt' => $_TANEV['zarasDt'],
    +        'napok' => $NAPOK
    +    );
    +
    +
    +?>
    diff --git a/mayor-orig/www/policy/private/naplo/stat/letszam.php b/mayor-orig/www/policy/private/naplo/stat/letszam.php
    new file mode 100644
    index 00000000..d521ccc6
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/stat/letszam.php
    @@ -0,0 +1,8 @@
    +
    diff --git a/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas-pre.php b/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas-pre.php
    new file mode 100644
    index 00000000..a47d6316
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas-pre.php
    @@ -0,0 +1,127 @@
    +'idonly'));
    +    $ADAT['tankorTipusok'] = getTankorTipusok();
    +    foreach ($ADAT['tankorTipusok'] as $tankorTipusId => $tAdat) $ADAT['tankorTipusIds'][$tAdat['oratervi']][] = $tankorTipusId;
    +    $ADAT['finanszírozott pedagógus létszám'] = array(
    +	'általános iskola' 				=> 11.8, // 11.8 tanuló / 1 pedagógus
    +	'gimnázium' 					=> 12.5, // 12.5 tanuló / 1 pedagógus
    +	'szakiskola, Híd programok' 			=> 12,   // ...
    +	'szakközépiskola, nem szakkképző évfolyam' 	=> 12.4,
    +	'szakközépiskola, szakkképző évfolyam' 		=> 13.7
    +    ); // -- TODO szakgimnázium???
    +
    +
    +
    +    $IA['intezmenyAdat'] = getIntezmenyByRovidnev(__INTEZMENY);
    +    $IA['osztalyAdat'] = getOsztalyok(__TANEV, array('result' => 'assoc', 'minden'=>false, 'telephelyId' => null));
    +    foreach ($IA['osztalyAdat'] as $idx => $oAdat) $IA['osztalyIds'][] = $oAdat['osztalyId'];
    +    $IA['targyAdat'] = getTargyAdatByIds();
    +
    +    $IA['diakLetszam']['statusz'] = getDiakLetszamByStatusz();
    +    $IA['diakLetszam']['osztaly'] = getDiakLetszamByOsztalyId($IA['osztalyIds']);
    +    foreach ($IA['diakLetszam']['osztaly'] as $osztalyId => $letszam) 
    +	if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['összes'] += intval($letszam);
    +    foreach ($IA['diakLetszam']['osztaly']['fiú'] as $osztalyId => $letszam) 
    +	if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['fiú'] += intval($letszam);
    +    foreach ($IA['diakLetszam']['osztaly']['lány'] as $osztalyId => $letszam) 
    +	if (is_numeric($osztalyId)) $IA['diakLetszam']['evfolyamJel'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ]['lány'] += intval($letszam);
    +    $IA['tanarLetszam']['besorolas'] = getTanarLetszamByBesorolas();
    +    $IA['tanarLetszam']['statusz'] = getTanarLetszamByStatusz();
    +    $IA['oraszamok'] = getTankorOraszamOsszesites($ADAT['tankorTipusIds']);
    +    $IA['targyOraszamok'] = getTargyOraszamok($ADAT['tankorTipusIds']);
    +    $IA['osztalyOraszamok'] = getOsztalyOraszamok($IA['osztalyIds'], $ADAT['tankorTipusIds']);
    +    foreach ($IA['osztalyOraszamok']['összes'] as $osztalyId => $oraszam) {
    +	$IA['evfolyamOraszamok']['összes'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($oraszam);
    +	$IA['evfolyamOraszamok']['óratervi'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($IA['osztalyOraszamok']['óratervi'][$osztalyId]);
    +	$IA['evfolyamOraszamok']['tanórán kívüli'][ $IA['osztalyAdat'][$osztalyId]['evfolyamJel'] ] += intval($IA['osztalyOraszamok']['tanórán kívüli'][$osztalyId]);
    +    }
    +    $egyhaziE = ($IA['intezmenyAdat']['fenntarto']=='egyházi');
    +    foreach ($IA['osztalyAdat'] as $osztalyId => $osztalyAdat) {
    +	$IA['osztalyIdokeret'][$osztalyId] = getOsztalyHetiIdokeret($osztalyId, $osztalyAdat, array('egyhaziE'=>$egyhaziE));
    +	$IA['osztalyIdokeret']['összesen']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	$IA['osztalyIdokeret']['összesen']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	$IA['osztalyIdokeret']['összesen']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	$IA['osztalyIdokeret']['összesen']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	$IA['osztalyIdokeret']['összesen']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	$IA['osztalyIdokeret']['összesen']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(21,22)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4'))) {
    +	    $IA['osztalyIdokeret']['alsó']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['alsó']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['alsó']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['alsó']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['alsó']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['alsó']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(21,23)) && in_array($osztalyAdat['evfolyamJel'], array('5','6','7','8'))) {
    +	    $IA['osztalyIdokeret']['felső']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['felső']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['felső']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['felső']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['felső']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['felső']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(21,22,23)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4','5','6','7','8'))) {
    +	    $IA['osztalyIdokeret']['általános']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['általános']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['általános']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['általános']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['általános']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['általános']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(51,52,53,61,62,63)) && in_array($osztalyAdat['evfolyamJel'], array('1','2','3','4','5','6','7','8'))) {
    +	    $IA['osztalyIdokeret']['gimnázium18']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['gimnázium18']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['gimnázium18']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['gimnázium18']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['gimnázium18']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['gimnázium18']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63)) && in_array($osztalyAdat['evfolyamJel'], array('9','10','11','12'))) {
    +	    $IA['osztalyIdokeret']['gimnázium92']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['gimnázium92']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['gimnázium92']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['gimnázium92']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['gimnázium92']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['gimnázium92']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63))) {
    +	    $IA['osztalyIdokeret']['gimnázium']['összes'] += $IA['osztalyIdokeret'][$osztalyId]['összes'];
    +	    $IA['osztalyIdokeret']['gimnázium']['engedélyezett'] += $IA['osztalyIdokeret'][$osztalyId]['engedélyezett'];
    +	    $IA['osztalyIdokeret']['gimnázium']['tehetséggondozás-felzárkóztatás'] += $IA['osztalyIdokeret'][$osztalyId]['tehetséggondozás-felzárkóztatás'];
    +	    $IA['osztalyIdokeret']['gimnázium']['egyházi'] += $IA['osztalyIdokeret'][$osztalyId]['egyházi'];
    +	    $IA['osztalyIdokeret']['gimnázium']['gimnázium'] += $IA['osztalyIdokeret'][$osztalyId]['gimnázium'];
    +	    $IA['osztalyIdokeret']['gimnázium']['nemzetiségi'] += $IA['osztalyIdokeret'][$osztalyId]['nemzetiségi'];
    +	}
    +	// Finanszírozott pedagógus létszámhoz diáklészámok osztály-típusonként
    +	if (in_array($osztalyAdat['osztalyJellegId'], array(21,22,23))) { // általános iskola
    +	    $IA['diakLetszam']['általános iskola'] += $IA['diakLetszam']['osztaly'][$osztalyId];
    +	} else if (in_array($osztalyAdat['osztalyJellegId'], array(31,32,33,34,35,36,51,52,53,61,62,63,65))) { // gimnázium
    +	    $IA['diakLetszam']['gimnázium'] += $IA['diakLetszam']['osztaly'][$osztalyId];
    +	} else if (in_array($osztalyAdat['osztalyJellegId'], array(82,83,84,85,91,92,93))) { // szakiskola, Híd programok
    +	    $IA['diakLetszam']['szakiskola, Híd programok'] += $IA['diakLetszam']['osztaly'][$osztalyId];
    +	} else if (in_array($osztalyAdat['osztalyJellegId'], array(71,72,73,74,75,76,77,78,79))) { // szakközépiskola, nem szakképző évfolyam
    +	    $IA['diakLetszam']['szakközépiskola, nem szakkképző évfolyam'] += $IA['diakLetszam']['osztaly'][$osztalyId];
    +	} else if (in_array($osztalyAdat['osztalyJellegId'], array())) { // szakközépiskola, szakképző évfolyam
    +	    $IA['diakLetszam']['szakközépiskola, szakképző évfolyam'] += $IA['diakLetszam']['osztaly'][$osztalyId];
    +	}
    +    } // osztályok
    +    $IA['tankorLetszamStat'] = getTankorLetszamStat();
    +*/
    +    $IA = getTantargyfelosztasStat();
    +
    +    $ADAT['intezmeny'][__INTEZMENY] = $IA;
    +
    +?>
    \ No newline at end of file
    diff --git a/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas.php b/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas.php
    new file mode 100644
    index 00000000..1e5786be
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/stat/tantargyFelosztas.php
    @@ -0,0 +1,10 @@
    +
    \ No newline at end of file
    diff --git a/mayor-orig/www/policy/private/naplo/szulinap-pre.php b/mayor-orig/www/policy/private/naplo/szulinap-pre.php
    new file mode 100644
    index 00000000..46164faf
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/szulinap-pre.php
    @@ -0,0 +1,15 @@
    +'assoc'));
    +
    +    }
    +
    +?>
    diff --git a/mayor-orig/www/policy/private/naplo/szulinap.php b/mayor-orig/www/policy/private/naplo/szulinap.php
    new file mode 100644
    index 00000000..93606734
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/szulinap.php
    @@ -0,0 +1,44 @@
    +';
    +	for ($i=0; $i';
    +	echo $ADAT['ma']['diak'][$i]['viseltNevElotag'].' ';
    +	echo $ADAT['ma']['diak'][$i]['viseltCsaladinev'].' ';
    +	echo $ADAT['ma']['diak'][$i]['viseltUtonev'];
    +	echo '';
    +	}
    +	echo '';
    +    }
    +
    +    if (is_array($ADAT['ma']['diakOsztaly'])) foreach($ADAT['ma']['diakOsztaly'] as $_diakId => $_osztalyId) {
    +	$O[$_osztalyId[0]]++;
    +	if ( defined('__USERDIAKID') && __USERDIAKID == $_diakId ) $szulinapos = true;
    +
    +    }
    +
    +    if ($szulinapos) echo _HAPPYBIRTHDAY;
    +
    +    if (is_array($O)) {
    +	echo '
      '; + foreach($O as $osztalyId => $db) { + echo '
    • '; + echo $ADAT['osztaly'][$osztalyId]['osztalyJel'].': ' ; + echo $db.' '; + echo '
    • '; + } + echo '
    '; + } + +} + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/checkStatus-pre.php b/mayor-orig/www/policy/private/naplo/tanev/checkStatus-pre.php new file mode 100644 index 00000000..dbf2ba62 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/checkStatus-pre.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/checkStatus.php b/mayor-orig/www/policy/private/naplo/tanev/checkStatus.php new file mode 100644 index 00000000..56f3a5fe --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/checkStatus.php @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/diakTanarai-pre.php b/mayor-orig/www/policy/private/naplo/tanev/diakTanarai-pre.php new file mode 100644 index 00000000..24a3248a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/diakTanarai-pre.php @@ -0,0 +1,54 @@ + 'assoc')); + if (count($ADAT['osztalyId']) > 0 && isset($targyId)) { + + // diákok lekérdezése + $ADAT['diak'] = getDiakokByOsztalyId($ADAT['osztalyId']); + // diákok tankörei + for ($i = 0; $i < count($ADAT['diak']); $i++) { + + $diakId = $ADAT['diak'][$i]['diakId']; + $ADAT['diak'][$i]['tankorIds'] = array(); + $ret = getTankorByDiakId($diakId, $tanev = __TANEV, $SET = array('csakId' => false, 'tolDt' => '', 'igDt' => '', 'result'=>'', 'jelenlet'=>'')); + if ($ret !== false) { + for ($j = 0; $j < count($ret); $j++) { + if ($ret[$j]['targyId'] == $targyId) { + $ADAT['diak'][$i]['tankorIds'][] = $ret[$j]['tankorId']; + if (!in_array($ret[$j]['tankorId'], $ADAT['tankorIds'])) $ADAT['tankorIds'][] = $ret[$j]['tankorId']; + } + } + } + } + + // Tankörök tanárai + $ADAT['tankorTanar'] = getTankorTanaraiByInterval( + $ADAT['tankorIds'], array('tanev' => __TANEV, 'tolDt' => '', 'igDt' => '', 'result' => 'assoc') + ); + } + + + // ToolBar + $TOOL['targySelect']= array('tipus'=>'cella','paramName'=>'targyId', 'post'=>array('osztalyIds')); + getToolParameters(); + + } +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/diakTanarai.php b/mayor-orig/www/policy/private/naplo/tanev/diakTanarai.php new file mode 100644 index 00000000..2800d37a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/diakTanarai.php @@ -0,0 +1,11 @@ + 0) + putDiakTanarLista($ADAT); + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/fogadoOra-pre.php b/mayor-orig/www/policy/private/naplo/tanev/fogadoOra-pre.php new file mode 100644 index 00000000..a57888c2 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/fogadoOra-pre.php @@ -0,0 +1,142 @@ + __TANEV, null, 'tipus' => array('fogadóóra jelentkezés'), 'tolDt' => date('Y-m-d H:i:s'), 'igDt' => date('Y-m-d H:i:s'), 'return' => '', 'arraymap'=>null)); + define('__FOGADOORA_JELENTKEZES',(is_array($idoszak) && count($idoszak)>0)); + } + // ----------- action -------------- // + if (__NAPLOADMIN || __VEZETOSEG) { + if ( strtotime($_POST['tolDt']) > 0) $_tolDt = $_POST['tolDt']; + + if ($action == 'kovetkezoFogado') { + $tol = readVariable($_tolDt.' '.$_POST['tolTime'].':00', 'datetime'); + $ig = readVariable($_tolDt.' '.$_POST['igTime'].':00', 'datetime'); + if (isset($tol) && isset($ig)) kovetkezoFogadoOraInit($tol, $ig); + } elseif ($action == 'tanarFogado') { + $tol = readVariable($_tolDt.' '.$_POST['tolTime'].':00', 'datetime'); + $ig = readVariable($_tolDt.' '.$_POST['igTime'].':00', 'datetime'); + $teremId = readVariable($_POST['teremId'], 'id'); + if (tanarFogadoOra($tanarId, $tol, $ig, $teremId)) + $_SESSION['alert'][] = 'info:success'; + + } elseif ($action == 'listaLekerdezese') { + $Lista = getFogadoOraLista(); + } + } + if (__DIAK && $action == 'fogadoOraJelentkezes') { + if (__FOGADOORA_JELENTKEZES === true) { + $M = array(); + for ($i = 0; $i < count($diakTanarai); $i++) { + if (isset($_POST['jel'.$i])) { + list($tId, $datetime) = explode('/',$_POST['jel'.$i]); + $M[] = array('tanarId' => readVariable($tId, 'id'), 'datetime' => readVariable($datetime, 'datetime')); + } + } + fogadoOraJelentkezes($szuloId, $M); + } else { + $_SESSION['alert'][] = 'message:deadline_expired'; + } + } + // ----------- action vége -------------- // + $FogadoDt = getKovetkezoFogadoDtk(); + $Tanarok = getTanarok(array('result' => 'assoc')); + $Termek = getTermek(); + $TermekAsszoc = getTermek(array('result' => 'assoc', 'tipus' => array(), 'telephelyId' => null)); + $Szulok = getSzulok(); + + if (isset($tanarId)) { + $tanarFogado = getTanarFogadoOra($tanarId); + $szuloIds = array(); + foreach ($tanarFogado['jelentkezesek'] as $szId => $szAdat) $szuloIds[] = $szAdat['szuloId']; + if (count($szuloIds) > 0) $Szulok['diakjai'] = getSzulokDiakjai($szuloIds); + } elseif (__NAPLOADMIN || __VEZETOSEG || __DIAK) { + if (count($FogadoDt['dates']) > 0) { + $FogadoOsszes = getFogadoOsszes(); + } + if (is_array($Lista)) { + $szuloIds = array(2,3,4); + reset($Lista); + foreach ($Lista['jelentkezesek'] as $tanarId => $tAdat) { + foreach ($tAdat as $index => $A) { + if (!in_array($A['szuloId'], $szuloIds) && $A['szuloId'] != '') $szuloIds[] = $A['szuloId']; + } + } + reset($Lista); + if (count($szuloIds) > 0) $Szulok['diakjai'] = getSzulokDiakjai($szuloIds); + unset($tanarId); + } + } + if (__DIAK) { + // Minden tanár csak egyszer szerepeljen!! + $tanarIds = $dTanarai = $tanarTerme = array(); + for ($i = 0; $i < count($diakTanarai); $i++) + if (!in_array($diakTanarai[$i]['tanarId'], $tanarIds)) { + $diakTanarai[$i]['foglalt'] = getTanarFogadoOra($diakTanarai[$i]['tanarId']); + $tanarIds[] = $diakTanarai[$i]['tanarId']; + $dTanarai[] = $diakTanarai[$i]; + + } + $diakTanarai = $dTanarai; + $Alkalmak = array('napok' => array()); + for ($i = 0; $i < count($FogadoOsszes); $i++) { + if (in_array($FogadoOsszes[$i]['tanarId'], $tanarIds)) { + $Alkalmak[$FogadoOsszes[$i]['tanarId']] = $FogadoOsszes[$i]; + $Alkalmak['tanarTerme'][$FogadoOsszes[$i]['tanarId']] = $FogadoOsszes[$i]['teremId']; + + $nap = substr($FogadoOsszes[$i]['tol'], 0, 10); + if (!array_key_exists($nap, $Alkalmak['napok'])) { + $Alkalmak['napok'][$nap] = array( + 'tol' => substr($FogadoOsszes[$i]['tol'], 11, 5), + 'ig' => substr($FogadoOsszes[$i]['ig'], 11, 5), + ); + } else { + if ($Alkalmak['napok'][$nap]['tol'] > ($tol = substr($FogadoOsszes[$i]['tol'], 11, 5))) + $Alkalmak['napok'][$nap]['tol'] = $tol; + if ($Alkalmak['napok'][$nap]['ig'] < ($ig = substr($FogadoOsszes[$i]['ig'], 11, 5))) + $Alkalmak['napok'][$nap]['ig'] = $ig; + } + } + } + ksort($Alkalmak); + $szuloJelentkezes = getSzuloJelentkezes($szuloId); + } + + if (count($FogadoDt['dates']) > 0) { + // Szülő fogadóóra naponként jelentkezhet +// if (__DIAK) +// $TOOL['datumSelect'] = array( +// 'tipus'=>'sor', 'post'=>array('tanarId', 'diakId', 'osztalyId', 'tankorId'), +// 'paramName' => 'igDt', 'hanyNaponta' => 7, +// 'tolDt' => date('Y-m-d', strtotime('Saturday', strtotime($_TANEV['kezdesDt']))), +// 'igDt' => $_TANEV['zarasDt'], +// ); + // Aki a tanár fogadóóráit szeretné látni + if (__NAPLOADMIN || __VEZETOSEG || __TANAR || __TITKARSAG) + $TOOL['tanarSelect'] = array('tipus' => 'cella', 'post' => array('igDt')); + } + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/fogadoOra.php b/mayor-orig/www/policy/private/naplo/tanev/fogadoOra.php new file mode 100644 index 00000000..a90526cd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/fogadoOra.php @@ -0,0 +1,26 @@ + 0 && isset($tanarId)) { + tanarFogadoIdopontModosito($tanarFogado['adatok'], $Termek); + } elseif (is_array($Lista)) { + putFogadoOraLista($Lista, $Tanarok, $Szulok); + } else { + kovetkezoFogadoIdopont($tanarFogado, $Termek); + if (is_array($FogadoOsszes)) putFogadoOsszes($FogadoOsszes, $Tanarok); + } + + } + if ((__TANAR===true || _TITKARSAG===true) && count($FogadoDt['dates']) > 0 && isset($tanarId)) { + tanarFogadoIdopont($tanarFogado, $Termek, $Szulok); + } + if (__DIAK===true) { // Szülő - jelentkezés + putFogadoOraJelentkezes($szuloId, $diakTanarai, $Alkalmak, $szuloJelentkezes, $TermekAsszoc); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/munkaterv-pre.php b/mayor-orig/www/policy/private/naplo/tanev/munkaterv-pre.php new file mode 100644 index 00000000..d0464159 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/munkaterv-pre.php @@ -0,0 +1,102 @@ + 'assoc')); + $ADAT['fields']['csengetesiRendTipus'] = getEnumField('naplo','nap','csengetesiRendTipus'); + + if (count($ADAT['munkaterv']) == 1) $munkatervId = 1; + else $munkatervId = readVariable($_POST['munkatervId'], 'id'); + if (!isset($munkatervId)) $munkatervId = 1; + $ADAT['munkatervId'] = $munkatervId; + if (__NAPLOADMIN || __VEZETOSEG) { // csak admin és a vezetőség módosíthat bármit! + + $ADAT['osztaly'] = getOsztalyok(); + for ($i = 0; $i < count($ADAT['osztaly']); $i++) { + $ADAT['osztaly'][$i]['munkatervId'] = getMunkatervByOsztalyId($ADAT['osztaly'][$i]['osztalyId']); + } + if ($action == 'napokInit') { + for ($i = 1; $i <= intval($_POST['hetDb']); $i++) $ADAT['Hetek'][] = $i; + $ADAT['tanitasiNap'] = readVariable($_POST['tanitasiNap'], 'numeric unsigned'); + $ADAT['tanitasNelkuliMunkanap'] = readVariable($_POST['tanitasNelkuliMunkanap'], 'numeric unsigned'); + $ADAT['vegzosZarasDt'] = readVariable($_POST['vegzosZarasDt'], 'date'); + if ($initResult = initNapok($ADAT)) $ADAT['munkatervId'] = 1; + $ADAT['munkaterv'] = getMunkatervek(array('result' => 'assoc')); + } + if (__MUNKATERV_OK || $initResult===true) { + if ($action == 'hetHozzarendeles') { + // később esetleg ezt is lehetne munkatervenként külön... nem? + for ($i = 1; $i <= intval($_POST['hetDb']); $i++) $ADAT['Hetek'][] = $i; + $tolDt = readVariable($_POST['tolDt'], 'date'); + $igDt = readVariable($_POST['igDt'], 'date'); + orarendiHetekHozzarendelese($tolDt, $igDt, $ADAT['Hetek']); + } elseif ($action == 'munkatervModositas') { + $dt = readVariable($_POST['dt'], 'date'); + $tipus = readVariable($_POST['tipus'], 'enum', 'tanítási nap', $ADAT['napTipusok']); + $megj = readVariable($_POST['megjegyzes'],'string',''); + $orarendiHet = readVariable($_POST['orarendiHet'], 'numeric unsigned'); + $csengetesiRendTipus = readVariable($_POST['csengetesiRendTipus'], 'string', null, $ADAT['fields']['csengetesiRendTipus']); + $ADAT['Hetek'] = getOrarendiHetek(array('tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'])); + if ( + $_TANEV['statusz'] == 'aktív' + && (__FOLYO_TANEV || __NAPLOADMIN) + ) + munkatervModositas($dt, $tipus, $megj, $orarendiHet, $ADAT['Hetek'], $ADAT['munkatervId'], $csengetesiRendTipus); + $ADAT['Napok'] = getTanevNapjai($munkatervId); + } elseif ($action == 'ujMunkaterv') { + $ADAT['munkatervNev'] = readVariable($_POST['munkatervNev'],'string',''); + $ADAT['tanitasiNap'] = readVariable($_POST['tanitasiNap'], 'numeric unsigned'); + $ADAT['tanitasNelkuliMunkanap'] = readVariable($_POST['tanitasNelkuliMunkanap'], 'numeric unsigned'); + $ADAT['vegzosZarasDt'] = readVariable($_POST['vegzosZarasDt'], 'date'); + $ADAT['munkatervId'] = $munkatervId = ujMunkaterv($ADAT); + if ($munkatervId) { $ADAT['munkaterv'] = getMunkatervek(array('result' => 'assoc')); } + } elseif ($action == 'munkatervOsztaly') { + $ADAT['osztalyIds'] = readVariable($_POST['osztalyId'], 'id'); + $ADAT['ujMunkatervIds'] = readVariable($_POST['ujMunkatervId'], 'id'); + if (!munkatervOsztaly($ADAT)) $_SESSION['alert'][] = 'message:a hozzárendelés nem sikerült'; + for ($i = 0; $i < count($ADAT['osztaly']); $i++) { + $ADAT['osztaly'][$i]['munkatervId'] = getMunkatervByOsztalyId($ADAT['osztaly'][$i]['osztalyId']); + } + } + if ($action == 'honapValasztas' && $_POST['ho'] != '') { + $ho = $_POST['ho']; + $ADAT['Napok'] = getHonapNapjai($ho, $munkatervId); + $ADAT['Hetek'] = getOrarendiHetek(array('tolDt' => $_TANEV['kezdesDt'], 'igDt' => $_TANEV['zarasDt'])); + } else { + $ADAT['Napok'] = getTanevNapjai($munkatervId); + } + + } else { + $ADAT['Hetek'] = getOrarendiHetek(array('tolDt'=>$_TANEV['kezdesDt'],'igDt'=>$_TANEV['zarasDt'])); + } + } else { // nem admin, nem vezető --> csak éves munkatervet lát (ha van) + $ADAT['Napok'] = getTanevNapjai($munkatervId); + } + $ADAT['NapokSzama'] = getNapokSzama(array('munkatervId' => $munkatervId)); + + + if (count($ADAT['munkaterv']) > 1) { + $TOOL['munkatervSelect'] = array('tipus' => 'cella','paramName' => 'munkatervId', 'post' => array()); + getToolParameters(); + + } + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/munkaterv.php b/mayor-orig/www/policy/private/naplo/tanev/munkaterv.php new file mode 100644 index 00000000..8e9719e5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/munkaterv.php @@ -0,0 +1,26 @@ + false)); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/tanev-pre.php b/mayor-orig/www/policy/private/naplo/tanev/tanev-pre.php new file mode 100644 index 00000000..d584bfb5 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/tanev-pre.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/tanev.php b/mayor-orig/www/policy/private/naplo/tanev/tanev.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk-pre.php b/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk-pre.php new file mode 100644 index 00000000..c8672be4 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk-pre.php @@ -0,0 +1,114 @@ +'idonly')); + + if (isset($osztalyId)) { + $ADAT['osztalySzuro'] = array($osztalyId); + } else { + // Évfolyam szerinti szűréshez - évfolyamok + $ADAT['evfolyamJelSzuro'] = readVariable($_POST['evfolyamJel'], 'enum', null, $ADAT['evfolyamJelek']); + $ADAT['osztalySzuro'] = getOsztalyIdByEvfolyamJel($ADAT['evfolyamJelSzuro'], $tanev); + } + if (count($ADAT['osztalySzuro']) > 1) $ADAT['osztalySzurtTankorIds'] = getTankorByOsztalyIds($ADAT['osztalySzuro'], $tanev); + elseif (count($ADAT['osztalySzuro']) > 0) { + $osztalyId = $ADAT['osztalySzuro'][0]; + $ADAT['osztalySzurtTankorIds'] = getTankorByOsztalyId($osztalyId, $tanev, array('csakId' => true)); + } else $ADAT['osztalySzurtTankorIds'] = array(); + // Tárgy szerinti szűréshez - tárgyak + $ADAT['targyak'] = getTargyak(); + for ($i = 0; $i < count($ADAT['targyak']); $i++) $targyIds[] = $ADAT['targyak'][$i]['targyId']; + if (is_array($_POST['targyId'])) { + for ($i = 0; $i < count($_POST['targyId']); $i++) { + $targyId = readVariable($_POST['targyId'][$i], 'numeric unsigned', null, $targyIds); + if (isset($targyId)) { + $ADAT['targySzuro'][] = $targyId; + } + } + } + + if ($action == 'ujTankorBlokk') { + + $_DATA = array(); + $_DATA['blokkNev'] = readVariable($_POST['blokkNev'],'string'); + $_DATA['exportOraszam'] = readVariable(str_replace(',', '.', $_POST['exportOraszam']), 'float unsigned'); + $_DATA['tankorId'] = readVariable($_POST['tankorId'], 'numeric unsigned'); + ujTankorBlokk($_DATA['blokkNev'], $_DATA['exportOraszam'], $_DATA['tankorId'], $tanev); + + } elseif ($action=='modTankorBlokk') { + + $_DATA['tanev'] = $tanev; + $_DATA['blokkId'] = readVariable($_POST['blokkId'], 'numeric unsigned'); + $_DATA['exportOraszam'] = readVariable(str_replace(',', '.', $_POST['exportOraszam']), 'float unsigned'); + $_DATA['blokkNev'] = readVariable($_POST['blokkNev'], 'string'); + $_DATA['tankorIds'] = readVariable($_POST['tankorIds'], 'numeric unsigned'); +// for ($i = 0; $i < count($_POST['tankorIds']); $i++) { +// if (intval($_POST['tankorIds'][$i])) $_DATA['tankorIds'][] = intval($_POST['tankorIds'][$i]); +// } + if (isset($_POST['del']) && $_POST['del'] != '') + tankorBlokkTorles($_DATA); + else + tankorBlokkModositas($_DATA); + + } + + $tankorok= getTankorok( + array("tanev=$tanev"), + "LPAD(substring_index(substring_index(tankorNev,'-',1),'.',1),2,'0'),substring_index(substring_index(tankorNev,' ',2),' ',-1),tankorNev,tanev,szemeszter" + ); + if (count($ADAT['targySzuro']) > 0) + $szurtTankorok = getTankorok( // tárgy szerinti szűrés + array("tanev=$tanev", 'targyId IN ('.implode(',', $ADAT['targySzuro']).')'), + "LPAD(substring_index(substring_index(tankorNev,'-',1),'.',1),2,'0'),substring_index(substring_index(tankorNev,' ',2),' ',-1),tankorNev,tanev,szemeszter" + ); + else $szurtTankorok = $tankorok; + + $ADAT['tankorOraszam'] = getTankorOraszamByTanev($tanev); + $ADAT['tankorExportOraszam'] = getTankorExportOraszamByTanev($tanev); + + $ADAT['tankorBlokkok'] = getTankorBlokkok($tanev); + for ($i = 0; $i < count($tankorok); $i++) { + $ADAT['tankorIdk'][] = $tankorId = $tankorok[$i]['tankorId']; + $ADAT['tankorAdat'][$tankorId] = $tankorok[$i]; + } + $ADAT['tankorTanar'] = getTankorTanaraiByInterval($ADAT['tankorIdk'], array('tanev' => $tanev, 'result' => 'assoc')); + for ($i = 0; $i < count($szurtTankorok); $i++) { + if ( // osztály szerinti szűrés + count($ADAT['osztalySzurtTankorIds']) == 0 + || in_array($szurtTankorok[$i]['tankorId'], $ADAT['osztalySzurtTankorIds']) + ) $ADAT['szurtTankorIdk'][] = $szurtTankorok[$i]['tankorId']; + } + if (count($ADAT['szurtTankorIdk']) == 0) { + $_SESSION['alert'][] = 'message:wrong_data:A megadott tárgyakhoz nem tartozik egy tankör sem - a szűrési feltételt töröljük!'; + $ADAT['szurtTankorIdk'] = $ADAT['tankorIdk']; + $ADAT['targySzuro'] = $ADAT['osztalySzuro'] = $_POST['targyId'] = array(); + unset($osztalyId); + } + $ADAT['tanev'] = $tanev; + + $TOOL['tanevSelect'] = array('tipus'=>'cella', 'paramName'=>'tanev','post'=>array()); + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array('targyId')); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk.php b/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk.php new file mode 100644 index 00000000..51742aa9 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/tankorBlokk.php @@ -0,0 +1,14 @@ + 0) putCsoportok($Csoportok, $tankorAdat, $szTankorIds, $osztalyId); + putTankorBlokkok($ADAT); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport-pre.php b/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport-pre.php new file mode 100644 index 00000000..cddfb69c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport-pre.php @@ -0,0 +1,132 @@ + $csoportAdat) { + $csoportIds[] = $csoportId; + $Csoportok[$csoportId]['csoportNev'] = $csoportAdat[0]['csoportNev']; + $Csoportok[$csoportId]['tankorok'] = array(); + for ($i = 0; $i < count($csoportAdat); $i++) { + $Csoportok[$csoportId]['tankorok'][] = $csoportAdat[$i]['tankorId']; + $csTankorIds[] = $csoportAdat[$i]['tankorId']; + } + } + $szTankorIds = array_diff($tankorIds, $csTankorIds); + +// ----------------- action --------------------- // +/* $min=0; $max=0; + + if ($min<$Tankorok[$i]['min']) $min= $Tankorok[$i]['min']; + if ($Tankorok[$i]['max']!=0 && $max>$Tankorok[$i]['max']) $max= $Tankorok[$i]['max']; +*/ + + if ($action == 'ujTankorCsoport') { + + $csoportNev = $_POST['csoportNev']; + $tankorId = $_POST['tankorId']; + ujTankorCsoport($csoportNev, $tankorId); + + } elseif ($action == 'tankorCsoportModositas') { + + $csoportId = readVariable($_POST['csoportId'], 'numeric unsigned', null, $csoportIds); + if (isset($csoportId)) { + $csoportNev = $_POST['csoportNev']; + $tankorId = $_POST['tankorId']; + if (isset($_POST['tankorCsoportTorles'])) tankorCsoportTorles($csoportId, $tanev); + else tankorCsoportModositas($csoportId, $csoportNev, $tankorId); + } + + } elseif ($action == 'tankorCsoportokKeresese') { + + // Kérdezzük le a szabad tankörök diákjait + foreach ($szTankorIds as $i => $tankorId) { + $tmp = getTankorDiakjaiByInterval($tankorId, $tanev); + $szTankorDiak[$tankorId] = $tmp['idk']; + } + // Azonos tagokkal rendelkező csoportok keresése + $ujCsoportok = $voltMar = $Nevek = array(); + foreach ($szTankorIds as $i => $tankorId) { + if (!$voltMar[$tankorId]) { + $voltMar[$tankorId] = true; + $ujCsoport = array( + 'ids' => array($tankorId), +// 'diakIds' => $szTankorDiak[ $tankorId ] + ); + foreach ($szTankorIds as $j => $_tankorId) { + if ( + !$voltMar[ $_tankorId ] + && $szTankorDiak[ $tankorId ] == $szTankorDiak[ $_tankorId ] + ) { + $ujCsoport['ids'][] = $_tankorId; + $voltMar[ $_tankorId ] = true; + } + } + // csoportnév - a tárgynevekből + $Targyak = array(); + for ($k = 0; $k < count($ujCsoport['ids']); $k++) { + $tankorId = $ujCsoport['ids'][$k]; + $tankorNev = $tankorAdat[ $tankorId ]['tankorNev']; + $Targyak[] = substr($tankorNev, ($pos = strpos($tankorNev, ' ')+1), strrpos($tankorNev, ' ')-$pos); + } + $ujCsoport['nev'] = implode(' - ', $Targyak); + $ujCsoport['nev'] .= ' '.(++$Nevek[ $ujCsoport['nev'] ]).'.'; + $ujCsoportok[] = $ujCsoport; + } + } + // új csoportok felvétele + for ($i = 0; $i < count($ujCsoportok); $i++) { + if (count($ujCsoportok[$i]['ids']) > 1) ujTankorCsoport($ujCsoportok[$i]['nev'], $ujCsoportok[$i]['ids']); + } + } + + if ($action != '') { + + $CsA = getTankorCsoportByTankorIds($tankorIds); + $Csoportok = $csTankorIds = array(); + foreach ($CsA as $csoportId => $csoportAdat) { + $Csoportok[$csoportId]['csoportNev'] = $csoportAdat[0]['csoportNev']; + $Csoportok[$csoportId]['tankorok'] = array(); + for ($i = 0; $i < count($csoportAdat); $i++) { + $Csoportok[$csoportId]['tankorok'][] = $csoportAdat[$i]['tankorId']; + $csTankorIds[] = $csoportAdat[$i]['tankorId']; + } + } + $szTankorIds = array_diff($tankorIds, $csTankorIds); + + } + +// ----------------- action --------------------- // + +//echo $q; +//echo '
    '; var_dump($ujCsoportok); echo '
    '; + + } + + + $TOOL['osztalySelect'] = array('tipus' => 'cella','paramName' => 'osztalyId', 'post' => array()); + getToolParameters(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport.php b/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport.php new file mode 100644 index 00000000..955de6c7 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/tankorCsoport.php @@ -0,0 +1,11 @@ + 0) putCsoportok($Csoportok, $tankorAdat, $szTankorIds, $osztalyId); + if (count($szTankorIds) > 0) putTankorCsoportKereso($osztalyId); + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/targyBontas-pre.php b/mayor-orig/www/policy/private/naplo/tanev/targyBontas-pre.php new file mode 100644 index 00000000..c9aaf91b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/targyBontas-pre.php @@ -0,0 +1,175 @@ + 'indexed', 'minden'=>false, 'telephelyId' => $telephelyId)); + foreach ($ADAT['filter']['osztalyAdat'] as $idx => $oAdat) { + $ADAT['filter']['osztalyAdat'][$idx]['bontasOk'] = osztalyBontasKeszE($oAdat['osztalyId']); + $ADAT['filter']['osztalyIds'][] = $oAdat['osztalyId']; + } + $ADAT['filter']['kepzesAdat'] = getKepzesByOsztalyId($ADAT['filter']['osztalyIds'], array('result'=>'indexed','arraymap'=>array('kepzesId'))); + + if (isset($ADAT['evfolyamJel'])) { // csak egy évfolyamhoz tartozó osztályok jelölhetők ki egyszerre + + // szűrés osztályra - osztalyId az egyik kulcs mező + $ADAT['osztalyAdat'] = array(); + $osszesOsztalyId = array(); + if (is_array($ADAT['filter']['osztalyAdat'])) foreach ($ADAT['filter']['osztalyAdat'] as $oAdat) { + if ($oAdat['evfolyamJel'] == $evfolyamJel) { + $ADAT['osztalyAdat'][$oAdat['osztalyId']] = $oAdat; + $osszesOsztalyId[] = $oAdat['osztalyId']; + } + } + if (count($osszesOsztalyId) == 0) $ADAT['osztalyIds'] = array(); // üres tömb esetén nem szűr a readVariable... + else $ADAT['osztalyIds'] = readVariable($_POST['osztalyIds'], 'id', null, $osszesOsztalyId); + $_POST['osztalyIds'] = $osztalyIds = $ADAT['osztalyIds']; + + // Az osztályokhoz rendelt tankörök lekérdezése - a bontásokban ezek lehetnek - kell a névhez... + $ADAT['tankorAdat'] = array(); + foreach ($osztalyIds as $osztalyId) { + $TA = getTankorByOsztalyId($osztalyId); + foreach ($TA as $tAdat) if (!is_array($ADAT['tankorAdat'][ $tAdat['tankorId'] ])) { + $ADAT['tankorAdat'][ $tAdat['tankorId'] ] = $tAdat; + $ADAT['tankorAdat'][ $tAdat['tankorId'] ]['tankorNevTargyNelkul'] = str_replace($ADAT['targyAdat'][ $tAdat['targyId'] ]['targyNev'].' ','',$tAdat['tankorNev']); + } + } + + // képzések lekérdezése - a képzés óratervhez + if (is_array($osztalyIds) && count($osztalyIds) > 0) { + // itt volt a kepzesTargyBontas - de az init utánra tettem... + $ADAT['kepzesek'] = getKepzesByOsztalyId($osztalyIds, array('result' => 'indexed', 'arraymap' => array('kepzesId','osztalyId'))); + $ADAT['kepzesAdat'] = array(); + if (is_array($ADAT['kepzesek'])) foreach ($ADAT['kepzesek'] as $kepzesId => $kAdat) { + $ADAT['kepzesAdat'][$kepzesId] = current(current($kAdat)); + unset($ADAT['kepzesAdat'][$kepzesId]['osztalyId']); + $ADAT['kepzesAdat'][$kepzesId]['osztalyIds'] = array_keys($kAdat); + } + $osszesKepzesId = array_keys($ADAT['kepzesek']); + unset($ADAT['kepzesek']); + } + if (is_array($_POST['kepzesIds'])) $ADAT['kepzesIds'] = readVariable($_POST['kepzesIds'], 'id', null, $osszesKepzesId); + else $ADAT['kepzesIds'] = $osszesKepzesId; + + // képzés adott évfolyamának óraterve... + if (is_array($ADAT['kepzesIds']) && count($ADAT['kepzesIds'])) { + // Itt kellene inicializálni - minden tárgyat tartalmazó kepzesOratervId:osztalyId párhoz legyen legalább egy bontás + kepzesTargyBontasInit($ADAT['osztalyIds'], $ADAT['kepzesIds']); + $ADAT['targyBontasStatus'] = checkTargyBontas(); + $ADAT['oraterv'] = kepzesOratervSorrend($evfolyamJel, $ADAT['osztalyIds'], $ADAT['kepzesIds']); + // itt volt a targyAdat... felkerült az elejére + $ADAT['osztalyTargyBontas'] = getKepzesTargyBontasByOsztalyIds($osztalyIds); +//dump($ADAT['osztalyTargyBontas']); + } + + $ADAT['oratervenKivuliTankorok'] = getOratervenKivuliTankorIds(); + + } // van evfolyamJel + + + + // Ajax action + if ($action == 'addBontas') { + $keys = explode(',', $_POST['keys']); + foreach ($keys as $key) { + list($osztalyId, $kepzesOratervId) = explode('-',$key); + $bontas[] = addBontas($osztalyId, $kepzesOratervId); + + } + $_JSON = array( + 'keys' => $_POST['keys'], + 'bontas' => $bontas, + 'targyNev' => $ADAT['targyAdat'][ $bontas[0]['targyId'] ]['targyNev'], + 'result' => 'success' + ); + } else if ($action == 'addBontasTargy') { + $targyIds = array_keys($ADAT['targyAdat']); + $targyId = readVariable($_POST['targyId'], 'id', null, $targyIds);// tárgyIds-re szűkítés!! + if ($targyId != '') { + $keys = explode(',', $_POST['keys']); + foreach ($keys as $key) { + list($osztalyId, $kepzesOratervId) = explode('-',$key); + $bontas[] = addBontas($osztalyId, $kepzesOratervId, $targyId); + } + $_JSON = array( + 'keys' => $_POST['keys'], + 'bontas' => $bontas, + 'targyNev' => $ADAT['targyAdat'][$targyId]['targyNev'], + 'result' => 'success' + ); + } else { + $_JSON = array( + 'keys' => $_POST['keys'], + 'result' => 'fail' + ); + } + } else if ($action == 'bontasTankor') { + $keys = explode(',', $_POST['keys']); + $bontasIds = readVariable($keys, 'id'); + $tankorId = readVariable($_POST['tankorId'], 'id'); + $hetiOraszam = readVariable($_POST['hetiOraszam'], 'float unsigned'); + + $targyId = getTankorTargyId($tankorId); + $targyNev = $ADAT['targyAdat'][$targyId]['targyNev']; + $ret = bontasTankor($bontasIds, $tankorId, $hetiOraszam); + $tankorNev = getTankorNevById($tankorId); // A tankörnév változhat az osztály hozzárendelés miatt... + $tankorNevTargyNelkul = str_replace($targyNev.' ','',$tankorNev); + $_JSON = array( + 'keys' => $_POST['keys'], + 'bontasIds' => $bontasIds, + 'hetiOraszam' => $hetiOraszam, + 'tankorId' => $tankorId, + 'tankorNev' => $tankorNevTargyNelkul, + 'ret' => $ret, + 'TANEV' => __TANEV, + 'result' => ($ret?'success':'fail') + ); + + } else if ($action == 'delBontas') { + $keys = explode(',', $_POST['keys']); + $bontasIds = readVariable($keys, 'id'); + $return = delBontas($bontasIds); + $_JSON = array( + 'keys' => $_POST['keys'], + 'bontasIds' => (is_array($return)?$return:array()), + 'result' => (is_array($return)?'success':'fail') + ); + } else { // Ez csak tesztelés, hibakeresés... + $_JSON = array( + 'post' => $_POST, + ); + } + // Ajax action vége + + $TOOL['telephelySelect'] = array('tipus' => 'cella','paramName' => 'telephelyId', 'post' => array('osztalyIds','kepzesIds','evfolyamJel')); + $TOOL['evfolyamJelSelect'] = array('tipus' => 'cella','paramName' => 'evfolyamJel','paramDesc'=>'evfolyamJel','adatok' => $ADAT['evfolyamJelek'],'post' => array('osztalyIds','kepzesIds','telephelyId')); + getToolParameters(); + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tanev/targyBontas.php b/mayor-orig/www/policy/private/naplo/tanev/targyBontas.php new file mode 100644 index 00000000..1a8aca25 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/targyBontas.php @@ -0,0 +1,19 @@ +0 + && is_array($ADAT['kepzesIds']) && count($ADAT['kepzesIds'])>0 + ) { + putTargyBontas($ADAT); + } + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tanev/targyOraszam-pre.php b/mayor-orig/www/policy/private/naplo/tanev/targyOraszam-pre.php new file mode 100644 index 00000000..37d057cd --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/targyOraszam-pre.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/targyOraszam.php b/mayor-orig/www/policy/private/naplo/tanev/targyOraszam.php new file mode 100644 index 00000000..bdc6ccf3 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/targyOraszam.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras-pre.php b/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras-pre.php new file mode 100644 index 00000000..2f29caae --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras-pre.php @@ -0,0 +1,72 @@ + 0) { + + // Végzős tankörök lekérdezése (csak végzős!!) + $ADAT['vegzosTankor'] = getTankorByOsztalyIds($ADAT['lezarandoOsztaly']); + // A tanulmányi időszakon túlnyúló órarendi órák tolDt-ének beállítása + vegzosOrarendLezaras($ADAT); + vegzosHaladasiNaploLezaras($ADAT); + foreach ($ADAT['lezarandoOsztaly'] as $index => $osztalyId) { + // osztaly diákjainak lekérdezése + $Diakok = getDiakok(array('osztalyId' => $osztalyId)); + $diakIds = array(); + for ($i = 0; $i < count($Diakok); $i++) $diakIds[] = $Diakok[$i]['diakId']; + // osztaly tanköreinek lekérdezése + $tankorIds = array_values(array_diff(getTankorByOsztalyId($osztalyId, __TANEV, array('csakId' => true)), $ADAT['vegzosTankor'])); + + if (is_array($tankorIds) && count($tankorIds) > 0) for ($i = 0; $i < count($diakIds); $i++) { + // A nem csak végzős tankörökben a tankör tagság beállítása + $Mod = array( + 'diakId' => $diakIds[$i], + 'tankorIds' => $tankorIds, + 'tolDt' => $ADAT['dt'], + 'igDt' => $_TANEV['zarasDt'], + 'utkozes' => 'torles' + ); + tankorDiakTorol($Mod); + } + } + + } + + $TOOL['datumSelect'] = array( + 'tipus' => 'cella', 'post' => array('lezarandoOsztaly'), + 'paramName' => 'dt', 'hanyNaponta' => 1, + 'override'=>true, // használathoz még át kell írni pár függvényt!!! + 'tolDt' => date('Y-m-d', strtotime('last Monday', strtotime($_TANEV['kezdesDt']))), + 'igDt' => $_TANEV['zarasDt'], + ); + getToolParameters(); + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras.php b/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras.php new file mode 100644 index 00000000..1efe15cb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/vegzosOrarendLezaras.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras-pre.php b/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras-pre.php new file mode 100644 index 00000000..4695da13 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras-pre.php @@ -0,0 +1,77 @@ + $osztalyId) { + // osztaly diákjainak lekérdezése + $Diakok = getDiakok(array('osztalyId' => $osztalyId)); + $diakIds = array(); + for ($i = 0; $i < count($Diakok); $i++) $diakIds[] = $Diakok[$i]['diakId']; + // osztaly tanköreinek lekérdezése + $tankorIds = getTankorByOsztalyId($osztalyId, __TANEV, array('csakId' => true)); + if (is_array($tankorIds) && count($tankorIds) > 0) for ($i = 0; $i < count($diakIds); $i++) { + // A nem csak végzős tankörökben a tankör tagság beállítása + $Mod = array( + 'diakId' => $diakIds[$i], + 'tankorIds' => $tankorIds, + 'tolDt' => $ADAT['dt'], + 'utkozes' => 'torles' + ); + tankorDiakTorol($Mod); + } + } + $_SESSION['alert'][] = 'info:success'; + + } + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras.php b/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras.php new file mode 100644 index 00000000..1efe15cb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanev/vegzosTankorLezaras.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenet-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenet-pre.php new file mode 100644 index 00000000..58d44e40 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenet-pre.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenet.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenet.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo-pre.php new file mode 100644 index 00000000..a60e71d0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo-pre.php @@ -0,0 +1,35 @@ +'cella', 'paramName'=>'tanarId', 'post'=>array('targyId')); + $TOOL['targySelect'] = array('tipus'=>'cella', 'paramName'=>'targyId', 'post'=>array('tanarId')); + if (isset($tanarId) || isset($targyId)) { + $TOOL['tanmenetSelect'] = array('tipus'=>'sor', 'paramName'=>'tanmenetId', 'post'=>array('tanarId','targyId')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=tanmenet&f=tanmenetModositas'), + 'titleConst' => array('_MODOSITAS'), 'post' => array('tanarId','targyId'), + 'paramName'=>'tanmenetId'); + } + getToolParameters(); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo.php new file mode 100644 index 00000000..9d2b70e0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetInfo.php @@ -0,0 +1,15 @@ +"tanmenet")); + echo ''."\n"; + echo '

    Nincs tanmenet megadva!

    '; + if ($skin != 'ajax') formEnd(); + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas-pre.php new file mode 100644 index 00000000..d173ab93 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas-pre.php @@ -0,0 +1,88 @@ +0) $mkId = $ADAT['vezetettMkIds'][0]; + $ADAT['mkId'] = $mkId; + + if ($mkId != 0) { + + + $ADAT['tanarok'] = getTanarok(array('mkId'=>$mkId, 'tanev'=>__TANEV, 'result'=>'assoc')); + $ADAT['tanarIds'] = array_keys($ADAT['tanarok']); + $ADAT['tanarId'] = $tanarId = readVariable($_POST['tanarId'], 'id', null, $ADAT['tanarIds']); + $Filter = array(); + if ($tanarId != '') { + $tTankorIds = getTankorByTanarId($tanarId, __TANEV, array('csakId'=>true)); + if (is_array($tTankorIds) && count($tTankorIds) > 0) $Filter[] = 'tankor.tankorId IN ('.implode(',',$tTankorIds).')'; + } + $ADAT['osztalyId'] = $osztalyId = readVariable($_POST['osztalyId'], 'id', null); + if ($osztalyId != '') { + $oTankorIds = getTankorByOsztalyId($osztalyId, __TANEV, array('csakId'=>true)); + if (is_array($oTankorIds) && count($oTankorIds) > 0) $Filter[] = 'tankor.tankorId IN ('.implode(',',$oTankorIds).')'; + + } + define('__JOVAHAGYHAT', __VEZETOSEG || __NAPLOADMIN || in_array($mkId, $ADAT['vezetettMkIds'])); + $ADAT['tankorok'] = getTankorByMkId($mkId, __TANEV, array('csakId'=>false, 'filter'=>$Filter)); + $ADAT['tankorIds'] = array(); + foreach ($ADAT['tankorok'] as $tAdat) { + $ADAT['tankorIds'][] = $tAdat['tankorId']; + } + if (count($ADAT['tankorIds']) > 0) { + $ADAT['tankorTanmenet'] = getTanmenetByTankorIds($ADAT['tankorIds']); + $ADAT['tanmenetAdat'] = $tanmenetIds = array(); + foreach ($ADAT['tankorTanmenet'] as $tankorId => $tanmenetId) { + if (!in_array($tanmenetId, $tanmenetIds)) $tanmenetIds[] = $tanmenetId; + } + foreach ($tanmenetIds as $tanmenetId) $ADAT['tanmenetAdat'][$tanmenetId] = getTanmenetAdat($tanmenetId); + } // vannak tankorok + + + if ($action == 'tanmenetModositas' && __JOVAHAGYHAT) { + + $tanmenetId = readVariable($_POST['tanmenetId'], 'id'); + $statusz = readVariable($_POST['statusz'], 'enum', array('új','kész','jóváhagyott','publikus')); + if ($tanmenetId != '' && $statusz != '') { + $D = array( + 'tanmenetNev' => $ADAT['tanmenetAdat'][$tanmenetId]['tanmenetNev'], + 'oraszam' => $ADAT['tanmenetAdat'][$tanmenetId]['oraszam'], + 'evfolyamJel' => $ADAT['tanmenetAdat'][$tanmenetId]['evfolyamJel'], + 'tanmenetId' => $tanmenetId, + 'ujStatusz' => $statusz + ); + if (tanmenetAdatModositas($D)) $ADAT['tanmenetAdat'][$tanmenetId]['statusz'] = $statusz; + } + } + + } // van mkId + + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella', 'paramName'=>'mkId', 'post'=>array('tanarId','osztalyId')); + if ($mkId != '') { + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'paramName'=>'tanarId', 'mkId'=>$mkId, 'post'=>array('mkId','osztalyId')); + $TOOL['osztalySelect'] = array('tipus'=>'cella', 'paramName'=>'osztalyId', 'mkId'=>$mkId, 'post'=>array('mkId','tanarId')); + } +/* + $TOOL['targySelect'] = array('tipus'=>'cella', 'paramName'=>'targyId', 'post'=>array()); + if (isset($tanarId) || isset($targyId)) { + $TOOL['tanmenetSelect'] = array('tipus'=>'cella', 'paramName'=>'tanmenetId', 'post'=>array('tanarId','targyId')); + $TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=tanmenet&f=tanmenetModositas'), + 'titleConst' => array('_MODOSITAS'), 'post' => array('tanarId','targyId'), + 'paramName'=>'tanmenetId'); + } +*/ + getToolParameters(); + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas.php new file mode 100644 index 00000000..f0a92c71 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetJovahagyas.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas-pre.php new file mode 100644 index 00000000..a71c14b0 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas-pre.php @@ -0,0 +1,51 @@ + $ADAT['tanev'], 'tipus' => array('tanmenet leadás'), 'tolDt' => date('Y-m-d'), 'igDt' => date('Y-m-d'))); + define('__TANMENETLEADASIDOSZAK',(count($ADAT['idoszak']) > 0)); + if (!__TANMENETLEADASIDOSZAK) $_SESSION['alert'][] = 'info:nincs_tanmenetleadas_idoszak:tanev='.$ADAT['tanev']; + else $_SESSION['alert'][] = 'info:tanmenetleadas_idoszak_vege:'.substr($ADAT['idoszak'][0]['igDt'],0,10); + + $ADAT['tanarok'] = getTanarok(array('tanev' => $tanev)); + + $ADAT['tankorIds'] = array(); + for ($i = 0; $i < count($ADAT['tanarok']); $i++) { + $tanarId = $ADAT['tanarok'][$i]['tanarId']; + $ADAT['tanarok'][$i]['tankorIds'] = getTankorByTanarId($tanarId, __TANEV, array('csakId' => true)); + $ADAT['tankorIds'] = array_unique(array_merge($ADAT['tankorIds'], $ADAT['tanarok'][$i]['tankorIds'])); + } + $ADAT['tankorok'] = getTankorAdatByIds($ADAT['tankorIds'], array('tanev' => __TANEV, 'dt' => $_TANEV['kezdesDt'])); + $ADAT['tankorTanmenet'] = getTanmenetByTankorIds($ADAT['tankorIds'], array('tanev' => $ADAT['tanev'])); + $ADAT['tanmenetek'] = getTanmenetek(); + +//echo '
    '; var_dump($ADAT['tanmenetek']); echo '
    ';
    +    // Melyik tanárnak hány "leadott jóváhagyott" / "leadott, nem jóváhagyott" / "nem leadott" tanmenet-tankör hozzárendelése van?
    +    for ($i = 0; $i < count($ADAT['tanarok']); $i++) {
    +	$tanarId = $ADAT['tanarok'][$i]['tanarId'];
    +	foreach ($ADAT['tanarok'][$i]['tankorIds'] as $tankorId) {
    +	    if (isset($ADAT['tankorTanmenet'][$tankorId])) {
    +		$tanmenetId = $ADAT['tankorTanmenet'][$tankorId];
    +		if (
    +		    $ADAT['tanmenetek'][$tanmenetId]['statusz'] == 'jóváhagyott'
    +		    || $ADAT['tanmenetek'][$tanmenetId]['statusz'] == 'publikus'
    +		) $ADAT['tanarok'][$i]['db']['jóváhagyott']++;
    +		elseif ($ADAT['tanmenetek'][$tanmenetId]['statusz'] == 'kész') $ADAT['tanarok'][$i]['db']['kész']++;
    +		else $ADAT['tanarok'][$i]['db']['új']++;
    +//		if ($ADAT['tanmenetek'][$tanmenetId]['jovahagyva']) $ADAT['tanarok'][$i]['db']['jovahagyva']++;
    +//		else $ADAT['tanarok'][$i]['db']['nincs jovahagyva']++;
    +	    } else {
    +		$ADAT['tanarok'][$i]['db']['hiányzik']++;
    +	    }
    +	}
    +    }
    +?>
    diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas.php
    new file mode 100644
    index 00000000..12e8e920
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetLeadas.php
    @@ -0,0 +1,9 @@
    +
    diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas-pre.php
    new file mode 100644
    index 00000000..0afd8498
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas-pre.php
    @@ -0,0 +1,83 @@
    +'idonly'));
    +	$ADAT['tanmenetAdat'] = getTanmenetAdat($tanmenetId);
    +	$ADAT['mkAdat'] = getMunkakozossegByTargyId($ADAT['tanmenetAdat']['targyId']);
    +	$ADAT['tanarId'] = $tanarId = $ADAT['tanmenetAdat']['tanarId'];
    +	$ADAT['targyId'] = $targyId = $ADAT['tanmenetAdat']['targyId'];
    +	define('__KESZITO', (__USERTANARID == $ADAT['tanmenetAdat']['tanarId']));
    +	define('__MKVEZETO', (__USERTANARID == $ADAT['mkAdat']['mkVezId']));
    +	define('__MODOSITHAT', 
    +		    __NAPLOADMIN // admin bármikor
    +			|| (
    +			    (__VEZETOSEG || __KESZITO || __MKVEZETO) // vezetőségi tag, mk.vez és a létrehozó szaktanár...
    +			    && ($ADAT['tanmenetAdat']['statusz'] == 'új' || $ADAT['tanmenetAdat']['statusz'] == 'kész') // ... ha még nincs jóváhagyva
    +			)
    +	);
    +	if (__NAPLOADMIN || __VEZETOSEG || __MKVEZETO) $ADAT['statusz'] = array('új','kész','jóváhagyott','publikus','elavult');
    +	elseif (__KESZITO)  {
    +	    if (in_array($ADAT['tanmenetAdat']['statusz'], array('új','kész'))) { $ADAT['statusz'] = array('új','kész'); }
    +	    else { $ADAT['statusz'] = array('jóváhagyott','publikus'); }	
    +	} else $ADAT['statusz'] = array();
    +
    +	if ($action != '') {
    +	  if (__MODOSITHAT && $action == 'tanmenetTemakorModositas') {
    +		$ADAT['temakor']['oraszam'] = readVariable($_POST['oraszam'], 'numeric unsigned');
    +		$ADAT['temakor']['temakorMegnevezes'] = readVariable($_POST['temakorMegnevezes'], 'string', '');
    +		tanmenetTemakorModositas($ADAT);
    +		$ADAT['tanmenetAdat'] = getTanmenetAdat($tanmenetId);
    +	  } elseif ($action == 'tanmenetAdatModositas') {
    +	    if ((__NAPLOADMIN === true || __KESZITO) && readVariable($_POST['tanmenetTorol'],'numeric unsigned') == 1) {
    +		if (tanmenetTorol($tanmenetId)===false) {
    +		    $_SESSION['alert'][] = 'info:error:hiba a tanmenet törlésekor';
    +		} else {
    +		    $_SESSION['alert'][] = 'info:success';
    +		    unset ($ADAT);
    +		    unset($tanmenetId);
    +		}
    +	    } else { 
    +		if (__MODOSITHAT) { // Az óraszám és évfolyam-jel is változtatható
    +		    $DAT['oraszam'] = readVariable($_POST['oraszam'], 'numeric unsigned');
    +	    	    $DAT['evfolyamJel'] = readVariable($_POST['evfolyamJel'], 'numeric unsigned');
    +		} else { // csak a tanmenet neve és státusza változtatható
    +		    $DAT = $ADAT['tanmenetAdat'];
    +		}
    +		$DAT['tanmenetId'] = $tanmenetId;
    +		$DAT['tanmenetNev'] = readVariable($_POST['tanmenetNev'], 'string');
    +		$DAT['ujStatusz'] = readVariable($_POST['statusz'], 'enum', $ADAT['tanmenetAdat']['statusz'], $ADAT['statusz']);
    +		tanmenetAdatModositas($DAT);
    +		$ADAT['tanmenetAdat'] = getTanmenetAdat($tanmenetId);
    +	    }
    +	  }
    +	}
    +    }
    +
    +
    +    $TOOL['tanarSelect'] = array('tipus'=>'cella', 'paramName'=>'tanarId', 'post'=>array());
    +    $TOOL['targySelect'] = array('tipus'=>'cella', 'paramName'=>'targyId', 'post'=>array());
    +    if (isset($tanarId) || isset($targyId) || isset($tanmenetId)) {
    +	$TOOL['tanmenetSelect'] = array('tipus'=>'sor', 'paramName'=>'tanmenetId', 'post'=>array('tanarId','targyId'));
    +	$TOOL['oldalFlipper'] = array('tipus' => 'cella', 'url' => array('index.php?page=naplo&sub=tanmenet&f=tanmenetInfo'),
    +        'titleConst' => array('_MUTAT'), 'post' => array('tanmenetId','tanarId','targyId'),
    +        'paramName'=>'tanmenetId');
    +    }
    +    getToolParameters();
    +
    +
    +?>
    diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas.php
    new file mode 100644
    index 00000000..e741e222
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetModositas.php
    @@ -0,0 +1,9 @@
    +
    diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor-pre.php
    new file mode 100644
    index 00000000..74ca1a6e
    --- /dev/null
    +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor-pre.php
    @@ -0,0 +1,95 @@
    + true));
    +	$ADAT['tankorok'] = getTankorAdatByIds($ADAT['tankorIds'], array('tanev' => __TANEV, 'dt' => $_TANEV['kezdesDt']));
    +	$ADAT['tankorTanmenet'] = getTanmenetByTankorIds($ADAT['tankorIds'], array('tanev' => $ADAT['tanev']));
    +	$tanmenetAdat = $ADAT['tanmenetek'] = array();
    +	if (is_array($ADAT['tankorok']))
    +	foreach ($ADAT['tankorok'] as $tankorId => $tAdat) {
    +	    if (!is_array($ADAT['tanmenetek'][ $tAdat['targyId'] ])) {
    +		$ADAT['tanmenetek'][ $tAdat['targyId'] ] = getTanmenetByTargyId($tAdat['targyId'], array('result'=>'assoc'));
    +		if (is_array($ADAT['tanmenetek'][ $tAdat['targyId'] ]))
    +		foreach ($ADAT['tanmenetek'][ $tAdat['targyId'] ] as $tanmenetId => $tanAdat) {
    +		    // Mikor módosítható az adott tanmenet?
    +		    $ADAT['tanmenetek'][ $tAdat['targyId'] ][ $tanmenetId ]['modosithato'] =  (
    +			__NAPLOADMIN 								// admin bármikor
    +                        || (
    +                            (__VEZETOSEG || __USERTANARID == $tanAdat['tanarId']) 		// vezetőségi tag és a létrehozó szaktanár...
    +                            && ($tanAdat['statusz'] == 'új' || $tanAdat['statusz'] == 'kész')	// ... ha még nincs jóváhagyva
    +                        )
    +
    +		    ); 
    +		    $ADAT['tanmenetAdat'][$tanmenetId] = $tanAdat;
    +		}
    +	    }
    +	}
    +
    +//echo '
    '; var_dump($ADAT['tanmenetek']); echo '
    '; + + $ADAT['idoszak'] = getIdoszakByTanev(array('tanev' => $ADAT['tanev'], 'tipus' => array('tanmenet leadás'), 'tolDt' => date('Y-m-d'), 'igDt' => date('Y-m-d'))); + define('__TANMENETLEADASIDOSZAK',(count($ADAT['idoszak']) > 0)); + if (!__TANMENETLEADASIDOSZAK) $_SESSION['alert'][] = 'info:nincs_tanmenetleadas_idoszak:tanev='.$ADAT['tanev']; + define('__MODOSITHAT', + __NAPLOADMIN // admin bármikor + || __VEZETOSEG || __USERTANARID == $ADAT['tanarId'] // vezetőség és szaktanár is bármikor +// || ( +// (__VEZETOSEG || __USERTANARID == $ADAT['tanarId']) // vezetőségi tag és a létrehozó szaktanár... +// && __TANMENETLEADASIDOSZAK // megfelelő időszakban vagyunk +// ) + ); + + + if (__MODOSITHAT===true && $action == 'hozzarendeles') { + if (isset($_POST['masolas'])) $action = 'masolas'; + elseif (isset($_POST['uj'])) $action = 'uj'; + elseif (isset($_POST['modosit'])) $action = 'modosit'; + elseif (isset($_POST['info'])) $action = 'info'; + } else { + $action = ''; + } + $ADAT['tankorId'] = readVariable($_POST['tankorId'], 'id'); + + if (__MODOSITHAT === true) { + if ($action == 'hozzarendeles') { + $ADAT['tanmenetId'] = readVariable($_POST['tanmenetId'], 'id'); + tankorTanmenetHozzarendeles($ADAT); + $ADAT['tankorTanmenet'][$ADAT['tankorId']] = $ADAT['tanmenetId']; + } elseif (__TANAR && $action == 'uj') { + header('Location: '.location('index.php?page=naplo&sub=tanmenet&f=ujTanmenet&tankorId='.$ADAT['tankorId'])); + } elseif (__TANAR && $action == 'masolas') { + $eredetiTanmenetId = readVariable($_POST['tanmenetId'], 'id'); + if (isset($eredetiTanmenetId)) { + $ADAT['tanmenetId'] = tanmenetDuplikalas($eredetiTanmenetId, __USERTANARID); + tankorTanmenetHozzarendeles($ADAT); + header('Location: '.location('index.php?page=naplo&sub=tanmenet&f=tanmenetModositas&tanmenetId='.$ADAT['tanmenetId'])); + } + } elseif ($action == 'modosit') { + $ADAT['tanmenetId'] = readVariable($_POST['tanmenetId'], 'id'); + if (isset($ADAT['tanmenetId'])) header('Location: '.location('index.php?page=naplo&sub=tanmenet&f=tanmenetModositas&tanmenetId='.$ADAT['tanmenetId'])); + } elseif ($action == 'info') { + $ADAT['tanmenetId'] = readVariable($_POST['tanmenetId'], 'id'); + if (isset($ADAT['tanmenetId'])) header('Location: '.location('index.php?page=naplo&sub=tanmenet&f=tanmenetInfo&tanmenetId='.$ADAT['tanmenetId'])); + } + } + } + + + $TOOL['tanarSelect'] = array('tipus'=>'cella', 'paramName'=>'tanarId', 'post'=>array()); +// $TOOL['osztalySelect']= array('tipus'=>'cella', 'paramName'=>'osztalyId', 'post'=>array()); + getToolParameters(); +?> diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor.php b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor.php new file mode 100644 index 00000000..814e624d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/tanmenetTankor.php @@ -0,0 +1,11 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet-pre.php b/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet-pre.php new file mode 100644 index 00000000..e0d2402d --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet-pre.php @@ -0,0 +1,72 @@ + 'indexed')); + $ADAT['mkIds'] = $ADAT['targyIds'] = $ADAT['targy'] = array(); + foreach ($ADAT['munkakozosseg'] as $key => $mkAdat) { + $tmp = getTargyakByMkId($mkAdat['munkakozossegId'], array('result' => 'indexed')); + $ADAT['mkIds'][] = $mkAdat['munkakozossegId']; + $ADAT['targy'] = array_merge($ADAT['targy'], $tmp); + } + for ($i = 0; $i < count($ADAT['targy']); $i++) $ADAT['targyIds'][] = $ADAT['targy'][$i]['targyId']; + + // tanév - alapértelmezetten a __TANEV + $ADAT['tanev'] = readVariable($_POST['tanev'], 'numeric unsigned', is_numeric(__TANEV)?__TANEV:null); + + // Egy tankörhöz rendelendő új tanmenethez + $ADAT['tankorId'] = $tankorId = readVariable($_POST['tankorId'],'id', readVariable($_GET['tankorId'], 'id')); + + // tankör --> tárgy --> munkaközösség + if (isset($tankorId)) { + $TA = getTankorAdat($tankorId); + $ADAT['tankorAdat'] = $TA[$tankorId][0]; + $ADAT['tankorAdat']['osztalyIds'] = getTankorOsztalyaiByTanev($tankorId, $ADAT['tanev']); + $evf = array(); + foreach ($ADAT['tankorAdat']['osztalyIds'] as $osztalyId) $evf[] = getEvfolyamJel($osztalyId, $ADAT['tanev']); + $ADAT['tankorAdat']['evfolyamJel'] = $evf[0]; + } + + // Munkaközösség és tankör + $mkId = readVariable($_POST['mkId'], 'id', null, $ADAT['mkIds']); + $ADAT['targyId'] = $targyId = readVariable($_POST['targyId'], 'id', $ADAT['tankorAdat']['targyId'], $ADAT['targyIds']); + if (isset($tankorId) && $targyId != $ADAT['tankorAdat']['targyId']) unset($tankorId); + + $ADAT['evfolyamJel'] = $evfolyamJel = readVariable($_POST['evfolyamJel'], 'enum', $ADAT['tankorAdat']['evfolyamJel']); + if (isset($targyId) && isset($evfolyamJel)) { + $ADAT['targyAdat'] = getTargyById($targyId); + // Itt lekérdezhetnénk az eddigi ilyen tanmenetek listáját - megjelenítés céljából + $ADAT['tanmenetek'] = getTanmenetByTargyId($targyId); +//echo '
    '; var_dump($ADAT['tanmenetek']); echo '
    '; + } + + if ($action == 'ujTanmenet') { + $ADAT['tanmenetNev'] = readVariable($_POST['tanmenetNev'], 'string', $evfolyamJel.'. '.$ADAT['targyAdat']['targyNev'].' ('.$ADAT['targyAdat']['targyJelleg'].')'); + $ADAT['oraszam'] = readVariable($_POST['oraszam'], 'numeric unsigned'); + $ADAT['tanmenetId'] = $tanmenetId = ujTanmenet($ADAT); + if (isset($tankorId)) { + // itt kellene hozzárendelni a tankorhoz? + tankorTanmenetHozzarendeles($ADAT); + } + if ($tanmenetId) header('Location: '.location('index.php?page=naplo&sub=tanmenet&f=tanmenetModositas&tanmenetId='.$tanmenetId)); + } + + // $TOOL['tanevSelect'] = array('tipus' => 'cella', 'paramName' => 'tanev', 'post' => array('tankorId','targyId','evfolyamJel')); + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella','paramName' => 'mkId', 'munkakozossegek' => $ADAT['munkakozosseg'], 'post'=>array('tankorId','evfolyamJel')); + if (isset($mkId)) $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'post'=>array('mkId', 'tankorId','evfolyamJel')); + else $TOOL['targySelect'] = array('tipus'=>'cella', 'mkId' => $mkId, 'targyak' => $ADAT['targy'], 'post'=>array('mkId', 'tankorId','evfolyamJel')); + $TOOL['evfolyamJelSelect'] = array('tipus'=>'cella', 'paramName' => 'evfolyamJel', 'paramDesc'=>'evfolyamJel','adatok' => $ADAT['evfolyamJelek'],'post'=>array('targyId', 'tankorId')); + getToolParameters(); + + +?> diff --git a/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet.php b/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet.php new file mode 100644 index 00000000..f304c404 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tanmenet/ujTanmenet.php @@ -0,0 +1,8 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tools/ajax.php b/mayor-orig/www/policy/private/naplo/tools/ajax.php new file mode 100644 index 00000000..9d01f5fb --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/ajax.php @@ -0,0 +1,7 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tools/ajaxExample.php b/mayor-orig/www/policy/private/naplo/tools/ajaxExample.php new file mode 100644 index 00000000..41e27e62 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/ajaxExample.php @@ -0,0 +1,29 @@ +$today,'tolDt'=>$today),'post'); + + echo '
    '."\n"; // -- OBSOLETE + + echo ''; +// echo ''; + echo ''; + + echo '
    '; + +echo '
    '; + + echo '
    '; + echo ''; + echo ''; + echo ''; + echo '
    '; // -- OBSOLETE + +?> diff --git a/mayor-orig/www/policy/private/naplo/tools/dolgozatAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/dolgozatAdat-pre.php new file mode 100644 index 00000000..31123583 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/dolgozatAdat-pre.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getDiakAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getDiakAdat-pre.php new file mode 100644 index 00000000..5d722b38 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getDiakAdat-pre.php @@ -0,0 +1,61 @@ +true,'result'=>'assoc','keyfield'=>'osztalyId','osztalyIds'=>$OSZTALYIDS)); + $_JSON['diakJogviszony'] = getDiakJogviszony($diakId); +// $_JSON['diakHianyzasOsszesites'] = getDiakHianyzasOsszesites($diakId,szemeszteradat); + $_JSON['diakHianyzasStat'] = getDiakHianyzasStat($diakId); + $_JSON['diakTankor'] = getTankorByDiakId($diakId,__TANEV); + for ($i=0; $ifalse)); + // $_JSON['diakJogviszony'] = getDiakTorzslapszam($diakId); + + $_tmp = getKepzesByDiakId($diakId); + $_JSON['diakKepzes'] = $_tmp[$diakId]; + + $tmp = getDiakSzulei($diakId); + $_JSON['diakSzulo'] = array(); + if (is_array($tmp[0]) && count($tmp[0])>=1) { + foreach ($tmp[0] as $tipus => $id) if (!is_null($id)) $szuloIds[] = $id; + if (count($szuloIds)>0) { + $_JSON['diakSzulo'] = getSzulok(array('csakId'=>false,'result'=>'indexed','szuloIds'=>$szuloIds)); +// $_JSON['szuloIds'] = $szuloIds; + } + } +} + + /* PUBLIKUS ADATOK */ + $_JSON['diakId'] = $diakId; + $_JSON['tanev'] = __TANEV; + + // controllok: + //enum('felvételt nyert','jogviszonyban van','magántanuló','vendégtanuló','jogviszonya felfüggesztve','jogviszonya lezárva') +// if ($_JSON['statusz'] == 'jogviszonya lezárva') { +// } else { +// } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getJegyAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getJegyAdat-pre.php new file mode 100644 index 00000000..1a91a482 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getJegyAdat-pre.php @@ -0,0 +1,36 @@ +false)); +// $jegySelect .= putJegySelect($ADAT,'return'); +// $jegySelect .= formEnd(array('print'=>false)); +// $_JSON['jegySelect'] = $jegySelect; + +// $_JSON['debug'] = $ADAT; + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getOraAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getOraAdat-pre.php new file mode 100644 index 00000000..9965b23b --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getOraAdat-pre.php @@ -0,0 +1,79 @@ +'pre','modul'=>'naplo','result'=>'idonly','values'=>$v)); + + for ($i=0; $i$tolDt,'igDt'=>$igDt,'tankorIdk'=>$JA['tankorIdk'], + // módosítható az óra? + $_JSON['oraBeirhato'] = $oraBeirhato; + + if ($oraBeirhato===true) { // HTML FORM + $oraForm = '
    + + + + + '; + $oraForm .= ''; + $oraForm .= '
    '; + $_JSON['oraForm'] = $oraForm; + } + } + + /* PUBLIKUS ADATOK */ + $_JSON['oraId'] = $oraId; + $_JSON['tanev'] = __TANEV; + + // TEMPLATE +// $ORAK = getTanarNapiOrak($tanarId); + $s = ''; + if (is_array($ORAK) && count($ORAK)>0) { + for ($ora=__MIN_ORA; $ora<=__MAX_ORA; $ora++) { + $OA = $ORAK[$ora]; + $s .= '
    '.$ora.'. '.$OA[$i]['tankorNev']; + for ($i=0; $i \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getOsztalyAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getOsztalyAdat-pre.php new file mode 100644 index 00000000..246f5821 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getOsztalyAdat-pre.php @@ -0,0 +1,39 @@ + substr($_JSON['tankorNev'],0, strpos($_JSON['tankorNev'],' ')), + 'targyNev' => $targyAdat['targyNev'], + 'tankorJel' =>$_JSON['tankorJel'] + ); + $_JSON['tankorNevReszei']['tankorNevExtra'] = trim(str_replace($_JSON['tankorNevReszei']['evfOszt'].' '.$_JSON['tankorNevReszei']['targyNev'],'', + str_replace($_JSON['targyJel'],'',$_JSON['tankorNev']))); + $_JSON['tankorSzemeszter'] = getTankorSzemeszterei($tankorId); + $_JSON['osztalyIds'] = getTankorOsztalyai($tankorId); + $_JSON['osztalyok'] = getOsztalyok(); + $_JSON['tankorTanar'] = getTankorTanarai($tankorId); + $_JSON['tankorDiak'] = //getTankorDiakjai($tankorId); + getTankorDiakjaiByInterval($tankorId); + $_JSON['tankorBlokk'] = getTankorBlokkByTankorId(array($tankorId),__TANEV,array('blokkNevekkel'=>true)); +*/ + $_JSON['visibleData'] = true; +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getSzuloAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getSzuloAdat-pre.php new file mode 100644 index 00000000..99758d84 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getSzuloAdat-pre.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getTanarAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getTanarAdat-pre.php new file mode 100644 index 00000000..22394655 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getTanarAdat-pre.php @@ -0,0 +1,56 @@ +$tanarId)); + + // TEMPLATE + $ORAK = getTanarNapiOrak($tanarId); + $s = ''; + if (is_array($ORAK) && count($ORAK)>0) { + for ($ora=__MIN_ORA; $ora<=__MAX_ORA; $ora++) { + $OA = $ORAK[$ora]; + $s .= '
    '.$ora.'. '.$OA[$i]['tankorNev']; + for ($i=0; $i \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getTankorAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getTankorAdat-pre.php new file mode 100644 index 00000000..01571f22 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getTankorAdat-pre.php @@ -0,0 +1,38 @@ + substr($_JSON['tankorNev'],0, strpos($_JSON['tankorNev'],' ')), + 'targyNev' => $targyAdat['targyNev'], + 'tankorJel' =>$_JSON['tankorJel'] + ); + $_JSON['tankorNevReszei']['tankorNevExtra'] = trim(str_replace($_JSON['tankorNevReszei']['evfOszt'].' '.$_JSON['tankorNevReszei']['targyNev'],'', + str_replace($_JSON['targyJel'],'',$_JSON['tankorNev']))); + $_JSON['tankorSzemeszter'] = getTankorSzemeszterei($tankorId); + $_JSON['osztalyIds'] = getTankorOsztalyai($tankorId); + $_JSON['osztalyok'] = getOsztalyok(); + $_JSON['tankorTanar'] = getTankorTanarai($tankorId); + $_JSON['tankorDiak'] = //getTankorDiakjai($tankorId); + getTankorDiakjaiByInterval($tankorId); + $_JSON['tankorBlokk'] = getTankorBlokkByTankorId(array($tankorId),__TANEV,array('blokkNevekkel'=>true)); + $_JSON['tanmenetId'] = array_pop(getTanmenetByTankorIds(array($tankorId))); + $_JSON['tanmenetAdat'] = getTanmenetAdat($_JSON['tanmenetId']); + + $_JSON['visibleData'] = true; +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/getZaroJegyAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/getZaroJegyAdat-pre.php new file mode 100644 index 00000000..fd5a624e --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/getZaroJegyAdat-pre.php @@ -0,0 +1,41 @@ +false)); + $jegySelect .= putJegySelect($ZA,'return'); +// $jegySelect .= formEnd(array('print'=>false)); + $_JSON['jegySelect'] = $jegySelect; + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/intezmenyNev-pre.php b/mayor-orig/www/policy/private/naplo/tools/intezmenyNev-pre.php new file mode 100644 index 00000000..e881059c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/intezmenyNev-pre.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/intezmenyNev.php b/mayor-orig/www/policy/private/naplo/tools/intezmenyNev.php new file mode 100644 index 00000000..af83206a --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/intezmenyNev.php @@ -0,0 +1,8 @@ +div#naploToolIntezmenyNev {font-size:x-large; text-align: center; padding:1em;}'; + echo '
    '.$intezmeny['nev'].'
    '; +?> diff --git a/mayor-orig/www/policy/private/naplo/tools/jegyzetAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/jegyzetAdat-pre.php new file mode 100644 index 00000000..3b88e491 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/jegyzetAdat-pre.php @@ -0,0 +1,165 @@ +$tanev,'tolDt'=>$dt,'igDt'=>$dt)); + } elseif (__JEGYZETSZEREPTIPUS == 'tanar') { + $ADAT['munkakozossegek'] = getMunkakozossegByTanarId(__JEGYZETSZEREPID, array('idonly'=>false)); + if (is_array($_OSZTALYA) && count($_OSZTALYA)>0) $ADAT['osztalyok'] = getOsztalyok(null,array('osztalyIds'=>$_OSZTALYA)); + $ADAT['tankorok'] = getTankorByTanarId(__JEGYZETSZEREPID); + } else { + + } + + // GET + $_JSON['adat'] = $ADAT['jegyzetAdat'] = getJegyzetAdat($jegyzetId); + + define('__READONLY',($jegyzetId>0 + && (__JEGYZETSZEREPTIPUS!==$ADAT['jegyzetAdat']['userTipus'] + || __JEGYZETSZEREPID!==$ADAT['jegyzetAdat']['userId']))); + if ($jegyzetId<=0) { + $dt = $_JSON['refJegyzetDt']; + $leiras = "Új jegyzet"; + } else { + $dt = $ADAT['jegyzetAdat']['dt']; + $leiras = "Jegyzet"; + } + + $_JSON['jegyzetId'] = $jegyzetId; + $_JSON['visibleData'] = true; + $_JSON['leiras'] = $leiras; + + $_CHK[$ADAT['jegyzetAdat']['publikus']] = ' checked="checked" '; + + // generate HTML Template +if (__READONLY===false) { + + + // formBegin!!!!!! a pre-ben nem létezik :( + $jegyzetForm = '
    + + + + + Határidő: + '; + + $jegyzetForm .='

    Láthatóság

    +
      + +
      '; + if (__JEGYZETSZEREPTIPUS=='tanar') $jegyzetForm .= '
      '; + else $jegyzetForm .= '
      '; + $jegyzetForm .= '
    '; + + + $jegyzetForm .= '

    Kapcsolódó csoportok

      '; + + if (count($ADAT['tankorok'])>0) { + $jegyzetForm .= '
    • Tankörök:
    • '; + } + + if (count($ADAT['osztalyok'])>0) { + $jegyzetForm .= '
    • Osztályok:
    • '; + } + + if (count($ADAT['munkakozossegek'])>0) { + $jegyzetForm .= '
    • Munkaközösségek:
    • '; + } + + //$jegyzetForm .= '
    • Órák:
    • '; + //$jegyzetForm .= '
    • Munkaközösségek:
    • '; + + $jegyzetForm .= '
    '; + $jegyzetForm .= ''; + $jegyzetForm .= '
    '; + + // töröl + $jegyzetForm .= ' +
    + + + + + '; + $jegyzetForm .= '
    '; + +} else { + $jegyzetForm .= '

    '.supertext($_JSON['adat']['jegyzetLeiras']).'

    '; + $jegyzetForm .= '
      '; + for ($i=0; $i'.$_D['tankorNev'].''; + } + } + for ($i=0; $i'; + } + } + for ($i=0; $i'; + } + } + + $jegyzetForm .= '
    '; + + $jegyzetForm .= '

    '; + $jegyzetForm .= 'Ezt a jegyzetet más felhasználó jegyezte be. + Adatai egyelőre nem nyilvánosak. Addig is jegyezd meg, hogy ezeket így írjuk helyesen: +

    • tanár úr (fiú, tehát külön),
    • tanárnő (lány, tehát egybe),
    • muszáj (pontos jé)
    ;) +

    + '; +} + + $_JSON['jegyzetForm'] = $jegyzetForm; + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/kereso-pre.php b/mayor-orig/www/policy/private/naplo/tools/kereso-pre.php new file mode 100644 index 00000000..026acd20 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/kereso-pre.php @@ -0,0 +1,25 @@ +true)); + } + + if ($ADAT['strict']==1) { + $_JSON = $ADAT; + } else { + $_JSON[] = $ADAT; // hozzáfűzzük valami random indexszel?!?! + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/napAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/napAdat-pre.php new file mode 100644 index 00000000..22ead763 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/napAdat-pre.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/oid.php b/mayor-orig/www/policy/private/naplo/tools/oid.php new file mode 100644 index 00000000..bb5e7696 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/oid.php @@ -0,0 +1 @@ + diff --git a/mayor-orig/www/policy/private/naplo/tools/oraAdat-pre.php b/mayor-orig/www/policy/private/naplo/tools/oraAdat-pre.php new file mode 100644 index 00000000..67c94a57 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/oraAdat-pre.php @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/tankor-pre.php b/mayor-orig/www/policy/private/naplo/tools/tankor-pre.php new file mode 100644 index 00000000..ae614514 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/tankor-pre.php @@ -0,0 +1,39 @@ + + table._t tr th { font-weight:normal; text-align: right; } + '; + $r.=''; + foreach($tankorAdat as $k => $v) { + $r .= ''; + } + $r.='
    '.$k.':'.$v.'
    '."\n"; + +/* $r.= 'Tankörtípus:'; + $r.= ''; + $r.=serialize($TA); +*/ + return $r; + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/tankorLista-pre.php b/mayor-orig/www/policy/private/naplo/tools/tankorLista-pre.php new file mode 100644 index 00000000..7dab9b9f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/tankorLista-pre.php @@ -0,0 +1,66 @@ +$tolDt, 'igDt'=>$igDt)); + } elseif (isset($osztalyId) && $osztalyId!='') { // osztály tankörei + $tankorok = getTankorByOsztalyId($osztalyId, $tanev, array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } elseif (isset($tanarId) && $tanarId!='') { // tanár tankörei + $tankorok = getTankorByTanarId($tanarId, $tanev, array('tolDt'=>$tolDt, 'igDt'=>$igDt)); + } else { // általános tankörlekérdző + $WHERE = array(); + if (isset($targyId) && $targyId != '') { // leszűkítés adott tárgyra + $WHERE[] = 'targyId='.$targyId; + } elseif (isset($mkId) && $mkId != '') { // leszűkítés adott munkaközösségre + $TARGYAK = getTargyakByMkId($mkId); + for ($i = 0; $i < count($TARGYAK); $i++) $T[] = $TARGYAK[$i]['targyId']; + if (count($T) > 0) $WHERE[] = 'targyId IN ('.implode(',', $T).')'; + } + + if (isset($tanev)) // szűkítés adott tanévre + $WHERE[] = 'tankorSzemeszter.tanev='.$tanev; + + $tankorok = getTankorok($WHERE); + } + $tankorIds = array(); + for ($i=0; $i0) { + + $bontasTankorIds = getTankorByBontasIds($bontasIds); + $tankorOraszamok = getTankorTervezettOraszamok($tankorIds); + + for ($i=0; $i \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/tankorMod-pre.php b/mayor-orig/www/policy/private/naplo/tools/tankorMod-pre.php new file mode 100644 index 00000000..35a4306f --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/tankorMod-pre.php @@ -0,0 +1,40 @@ + substr($_JSON['tankorNev'],0, strpos($_JSON['tankorNev'],' ')), + 'targyNev' => $targyAdat['targyNev'], + 'tankorJel' =>$_JSON['tankorJel'] + ); + $_JSON['tankorNevReszei']['tankorNevExtra'] = trim(str_replace($_JSON['tankorNevReszei']['evfOszt'].' '.$_JSON['tankorNevReszei']['targyNev'],'', + str_replace($_JSON['targyJel'],'',$_JSON['tankorNev']))); + $_JSON['tankorSzemeszter'] = getTankorSzemeszterei($tankorId); + $_JSON['osztalyIds'] = getTankorOsztalyai($tankorId); + $_JSON['alert'] = $_SESSION['alert']; + $_JSON['osztalyok'] = getOsztalyok(); + $_JSON['tankorTipusok'] = getTankorTipusok(); + // $_JSON['post'] = $_POST; + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/tools/ujTankor-pre.php b/mayor-orig/www/policy/private/naplo/tools/ujTankor-pre.php new file mode 100644 index 00000000..0f581de6 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/tools/ujTankor-pre.php @@ -0,0 +1,114 @@ + $tAdat) { + foreach ($tAdat as $evfolyamJel => $eAdat) { + if ($evfolyamJel == $koAdat['evfolyamJel']) $ok = true; + if ($ok) { + foreach ($eAdat as $szemeszter => $szAdat) { + $ADAT['oraszam'][$tanev][$szemeszter] = $szAdat[0]['hetiOraszam']; + $tankorOraszam[] = array('tanev'=>$tanev,'szemeszter'=>$szemeszter,'oraszam'=>$szAdat[0]['hetiOraszam']); + } + $tanev++; + } + } + } + // a bontásokból: + // - osztalyIds + $q = "SELECT DISTINCT osztalyId FROM kepzesTargyBontas WHERE bontasId IN (".implode(',', array_fill(0, count($bontasIds), '%u')).")"; + $ADAT['osztalyIds'] = db_query($q, array('fv'=>'ujTankor-pre','modul'=>'naplo','result'=>'idonly','values'=>$bontasIds)); + // A tárgy adataiból: évközi követelmény + $targyAdat = getTargyById($ADAT['targyId']); + $ADAT['kovetelmeny'] = $targyAdat['evkoziKovetelmeny']; + // kellene még: elnevezés + $ADAT['tankorJel'] = 'B'.$bontasIds[0]; + // választható - default NULL; min/max létszám: 0; évközi követelmény: a tárgyból/jegy; + $ADAT['min'] = $ADAT['max'] = 0; + + // A tankor felvétele + $lr = db_connect('naplo_intezmeny'); + db_start_trans($lr); $ok = true; + $q = "INSERT INTO tankor (targyId,tankorTipusId,kovetelmeny,min,max) VALUES (%u,%u,'%s',%u,%u)"; + $v = array($ADAT['targyId'], $ADAT['tankorTipusId'], $ADAT['kovetelmeny'], $ADAT['min'], $ADAT['max']); + $tankorId = db_query($q, array('fv'=>'ujTankor-pre/1','modul'=>'naplo_intezmeny','result'=>'insert','values'=>$v), $lr); + $ok = $ok && $tankorId; + if ($ok) { + // tankör-osztály hozzárendelés + $q = "INSERT INTO tankorOsztaly (tankorId, osztalyId) VALUES (%u, %u)"; + foreach ($ADAT['osztalyIds'] as $index => $osztalyId) $ok = $ok && db_query($q, array('fv'=>'ujTankor-pre/3','modul'=>'naplo_intezmeny','values'=>array($tankorId, $osztalyId)), $lr); + } + if ($ok) { + // tankör-szemeszter - még tankörnév nélkül... + $tankorNev = $ADAT['tankorJel']; + foreach ($ADAT['oraszam'] as $tanev => $tAdat) { + foreach ($tAdat as $szemeszter => $oraszam) { + $q = "INSERT INTO tankorSzemeszter (tankorId, tanev, szemeszter, oraszam, tankorNev) VALUES (%u, %u, %u, %f, '%s')"; + $ok = $ok && db_query($q, array('fv'=>'ujTankor-pre/4','modul'=>'naplo_intezmeny','values'=>array($tankorId, $tanev, $szemeszter, $oraszam, $tankorNev)), $lr); + } + } + } + // tankör nevének beállítása + if ($ok) $nev = setTankorNev($tankorId, $tankorNevExtra='B'.$bontasIds[0], $lr); + $ok = $ok && ($nev !== false); + + // tankör bontásokhoz rendelése + $bontasAdat = getBontasAdat($bontasIds[0]); + $hetiOraszam = $koAdat['hetiOraszam']-$bontasAdat['hetiOraszam']; + $ok = $ok && bontasTankorHozzarendeles($bontasIds, $tankorId, $hetiOraszam, $lr); + + // visszaküldendő adatok összegyűjtése + $tankorAdat = getTankorAdat($tankorId, __TANEV, $lr); + $_JSON = array( + 'bontasIds' => $bontasIds, + 'hetiOraszam' => $hetiOraszam, + 'tankorId' => $tankorId, + 'tankorNev' => str_replace($targyAdat['targyNev'].' ','',$tankorAdat[$tankorId][0]['tankorNev']), + 'tankorNevOrig' => $tankorAdat[$tankorId][0]['tankorNev'], + 'tankorOraszam' => $tankorOraszam, + 'ideiTankorOraszam' => array( + $tankorAdat[$tankorId][0]['oraszam'], + $tankorAdat[$tankorId][1]['oraszam'] + ) + ); + if ($ok !== false) { + db_commit($lr); + } else { db_rollback($lr); } + db_close($lr); + + } +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/naplo/uzeno/postas-pre.php b/mayor-orig/www/policy/private/naplo/uzeno/postas-pre.php new file mode 100644 index 00000000..8f44cd8c --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/uzeno/postas-pre.php @@ -0,0 +1,89 @@ +$ADAT['diakokkal'])); + } elseif ($ADAT['mId']!='' && count($ADAT['uzenet'])==1) { + // egy üzenet adatait nézzük, akkor kérdezzük le a feladót és a címzettet + $D = $ADAT['uzenet'][0]; + foreach (array('felado','cimzett') as $_t) { + switch ($D[$_t.'Tipus']) { + case 'tanar': $nev = getTanarNevById($D[$_t.'Id']); break; + case 'diak': $nev = getDiakNevById($D[$_t.'Id']); break; + case 'szulo': $nev = getSzuloNevById($D[$_t.'Id']); break; + case 'tankor': + case 'tankorSzulo': $nev = getTankorNevById($D[$_t.'Id']); break; + case 'munkakozosseg': $nev = getMunkakozossegNevById($D[$_t.'Id']); break; + case 'osztaly': + case 'osztalyTanar': + case 'osztalySzulo': $nev = getOsztalyNevById($D[$_t.'Id']); break; + } + if (uzenhet($_t.'Tipus')) $ADAT['r'][$D[$_t.'Tipus']][] = array($D[$_t.'Tipus'].'Id'=>$D[$_t.'Id'],$D[$_t.'Tipus'].'Nev'=>$nev); + } + } else { + $ADAT['r'] = initUzenoTipusok(array('csakId'=>false,'tanev'=>$ADAT['tanev'])); + if (uzenhet('tanar') && in_array(__SZEREP,array('diak','szulo'))) /* Írjuk felül az üres tanart a tankör tanáraival */ + $ADAT['r']['tanar'] = extendUzenoTipusok(array('csakId'=>false,'tanev'=>$ADAT['tanev'])); + if (uzenhet(__SZEREP)) $ADAT['r'][__SZEREP][] = array(__SZEREP.'Id'=>0, __SZEREP.'Nev'=>''); + } + + if ($ADAT['cimzettTipus']!='' && is_numeric($ADAT['cimzettId']) && ($_POST['postazoHash']=='submit' || $_POST['gomb']=='OK')) { + + $P = array( + 'tanev'=>__TANEV, + 'cimzettId'=>readVariable($ADAT['cimzettId'],'id'), + 'cimzettTipus' => readVariable($ADAT['cimzettTipus'],'strictstring',null), + 'txt'=> $ADAT['txt'] ); + + if (postUzenet($P) === true) { + /* Ha sikered */ + unset($_POST); + header('Location: '.location('index.php?page=naplo&sub=uzeno&f=uzeno')); + } else { + $_SESSION['alert'][] = 'page::uzenorogziteshiba'; + } + + } + +?> diff --git a/mayor-orig/www/policy/private/naplo/uzeno/postas.php b/mayor-orig/www/policy/private/naplo/uzeno/postas.php new file mode 100644 index 00000000..18ccddef --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/uzeno/postas.php @@ -0,0 +1,5 @@ + diff --git a/mayor-orig/www/policy/private/naplo/uzeno/uzeno-pre.php b/mayor-orig/www/policy/private/naplo/uzeno/uzeno-pre.php new file mode 100644 index 00000000..4aededc1 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/uzeno/uzeno-pre.php @@ -0,0 +1,187 @@ +0) $defaultSzalId = __MEID.'_'.__SZEREP.'_'.$ADAT['diakId'].'_diak'; + if ($ADAT['diakId']>0) $defaultCimzett = 'diak|'.$ADAT['diakId']; + } + // vezérléshez + $ADAT['mId'] = readVariable($_GET['mId'],'id'); + $ADAT['szalId'] = readVariable($_GET['szalId'],'string',$defaultSzalId); + $ADAT['cimzettId'] = readVariable($_GET['cimzettId'],'id'); + $ADAT['cimzettTipus'] = readVariable($_GET['cimzettTipus'],'strictstring'); + $ADAT['replyTipus'] = $ADAT['cimzettTipus'] ; + $ADAT['feladoId'] = readVariable($_GET['feladoId'],'id'); + $ADAT['feladoTipus'] = readVariable($_GET['feladoTipus'],'strictstring'); + + $ADAT['mutato'] = readVariable($_GET['mutato'], 'numeric'); + $ADAT['tanev'] = readVariable($_POST['tanev'],'numeric',readVariable($_GET['tanev'],'numeric',__TANEV)); + + $ADAT['toSkin'] = readVariable($_GET['toSkin'],'enum',null,$SKINS); + + $ADAT['pattern'] = readVariable($_POST['pattern'],'string'); + /* Ha van cimzett mező, akkor az új UI-ről jön a kérés, felülírhatunk mindent. */ + $ADAT['cimzett'] = readVariable($_POST['cimzett'],'string',$defaultCimzett); + if($ADAT['cimzett']!='') { + //$_SESSION['alert'][] = '::postazonak kellene kezelni!!!'; // he? + list($ADAT['cimzettTipus'],$ADAT['cimzettId']) = explode('|',$ADAT['cimzett']); + } else { + $ADAT['cimzettTipus'] = readVariable($_POST['cimzettTipus'],'strictstring'); + $ADAT['cimzettId'] = intval($_POST[$ADAT['cimzettTipus'].'Id']); + } + +// $ADAT['r']['diak'] = getDiakokByPattern($ADAT['pattern']); + + /* Képkezelés */ + $ADAT['kepMutat'] = __SHOW_FACES_TF; + + $ADAT['tagsagok'] = initUzenoTipusok(array('csakId'=>false,'tanev'=>$ADAT['tanev'])); + $ADAT['tagsagok']['diak'] = getDiakok(); + $ADAT['tagsagok']['tanar'] = getTanarok(); +// $ADAT['tagsagok'][__SZEREP][] = setUzenoFeladoId(); + /* create id */ + + /*..*/ + $AVAIL_TIPUSOK = (array_keys($ADAT['tagsagok'])); + /* Postázó + mayorNaploUzen cookie-t minden oldalletöltésnél újrageneráljuk, így a posttal, ha nem egyezik, biza hiába minden. + */ + $kuuk = readVariable($_COOKIE['mayorNaploUzen'],'strictstring'); + $txt = (readVariable($_POST['txt'],'string')); + + if ($action == 'postUzenet' && $kuuk == $_POST['kuuk'] && in_array($_POST['cimzettTipus'],$AVAIL_TIPUSOK) && $txt!='' + && $_POST[$_POST['cimzettTipus'].'Id'] != '' + ) { + /* hacky spellchecker - to get rid of annoying mispelled... */ + if (mb_stristr($txt,'tanárúr',false,'UTF-8')!==false) $_SESSION['alert'][] = 'message:check_spelling:Tanár úr!'; + if (mb_stristr($txt,'tanár nő',false,'UTF-8')!==false) $_SESSION['alert'][] = 'message:check_spelling:Tanárnő!'; + if (mb_stristr($txt,'muszály',false,'UTF-8')!==false) $_SESSION['alert'][] = 'message:check_spelling:Muszáj!'; + /* --- */ + $P = array( + 'tanev'=>$ADAT['tanev'], + 'cimzettId'=> $ADAT['cimzettId'], + 'cimzettTipus' => $ADAT['cimzettTipus'], + 'txt'=> $txt ); + if (count($_SESSION['alert'])==0 && postUzenet($P)===true) { + $_SESSION['alert'][] = 'info:msg_success:'; // a félreértés kedvéért kitöröljük a szűrőket + unset($ADAT['feladoTipus']); unset($ADAT['feladoId']); + unset($ADAT['cimzettTipus']); unset($ADAT['cimzettId']); + } else { + $_SESSION['alert'][] = 'info::figyelmezteto uzenetkor nem rogzitjuk az uzeneteket!'; + $ADAT['txt']=$txt; + } + unset($P); + unset($ADAT['mId']); + } elseif (__UZENOADMIN===true && $_GET['action'] =='delUzenet') { + delUzenet($ADAT['mId'],$ADAT['tanev']); + unset($ADAT['mId']); + } elseif ($_GET['action'] == 'flagUzenet') { // közvetlenül is olvashatjuk + $FLAG['flag'] = readVariable($_GET['flag'],'numeric unsigned',1,array(0,1)); + $FLAG['mId'] = $ADAT['mId']; + $FLAG['tanev']= $ADAT['tanev']; + // a kapcsolótáblába rögzíthető status + flagUzenet($FLAG); + unset($ADAT['mId']); + } + + $ADAT['kuuk'] = rand(); + setcookie('mayorNaploUzen', $ADAT['kuuk']); + + $_CONVERT = array('tankorSzulo'=>'tankor', 'osztalySzulo'=>'osztaly', 'osztalyTanar'=>'osztaly'); + if ($ADAT['cimzettId']!='' && in_array($ADAT['cimzettTipus'],$AVAIL_TIPUSOK) ) { + $b = false; + for ($i=0; $i100,'pointer'=>0); + $SET['order'] = 'DESC'; + } elseif ($ADAT['mId']!='') { + $SET['filter'][] = 'uzeno.mId='.intval($ADAT['mId']); + } elseif ($skin=='ajax') { + $SET['limits'] = array('limit'=>__UZENO_AJAXLIMIT,'pointer'=>0); + $SET['filterFlag'][] = '`uzenoFlagek`.`flag`!=1 OR flag IS NULL'; + } else { + if (!is_numeric($ADAT['mutato']) || $ADAT['mutato']==0) $SET['limits'] = array('limit'=>__UZENO_DEFAULTLIMIT, 'pointer'=>0); + else $SET['limits'] = array('limit'=>__UZENO_DEFAULTLIMIT, 'mutato'=>$ADAT['mutato'], 'pointer'=>($ADAT['mutato']-1)*__UZENO_DEFAULTLIMIT); + } + $SET['tanev'] = $ADAT['tanev']; + $ADAT['limits'] = $SET['limits']; + $ADAT['uzenetek'] = getUzenoUzenetek($SET); + /* id */ + // for($i=0; $ifalse,'result'=>'standard','szuloIds'=>$_SZULOIDS)); + for($i=0; $i 0 && count($SZULOIDS)<50) $ADAT['szuloDiakjai'] = getSzulokDiakjai($SZULOIDS); + // + $SET['count'] = true; + $ADAT['limits']['max'] = getUzenoUzenetek($SET); + + $TOOL['tanevSelect'] = array('tipus'=>'cella', 'paramName'=>'tanev', 'tanev'=>$ADAT['tanev'], 'post' => array('tanev')); + $TOOL['vissza'] = array('tipus'=>'vissza','paramName'=>'','icon'=>'inbox','post'=>array('page'=>'naplo','sub'=>'uzeno','f'=>'uzeno')); + if ($ADAT['szalId']!='' || $ADAT['mId']!='') { + $TOOL['vissza']['icon'] = 'arrow-left'; + } + + getToolParameters(); + +} else { + $_SESSION['alert'][] = '::uzeno_is_not_installed'; +} +?> diff --git a/mayor-orig/www/policy/private/naplo/uzeno/uzeno.php b/mayor-orig/www/policy/private/naplo/uzeno/uzeno.php new file mode 100644 index 00000000..12036771 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/uzeno/uzeno.php @@ -0,0 +1,12 @@ +0 ) + putUzeno($ADAT); + if ($skin!='ajax' && $ADAT['feladoId']!==0) + putUzenoUzenet($ADAT); + +} +?> diff --git a/mayor-orig/www/policy/private/password/changePassword-pre.php b/mayor-orig/www/policy/private/password/changePassword-pre.php new file mode 100644 index 00000000..08731581 --- /dev/null +++ b/mayor-orig/www/policy/private/password/changePassword-pre.php @@ -0,0 +1,60 @@ + diff --git a/mayor-orig/www/policy/private/password/changePassword.php b/mayor-orig/www/policy/private/password/changePassword.php new file mode 100644 index 00000000..f95661e0 --- /dev/null +++ b/mayor-orig/www/policy/private/password/changePassword.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/portal/start.php b/mayor-orig/www/policy/private/portal/start.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/session/accountInfo-pre.php b/mayor-orig/www/policy/private/session/accountInfo-pre.php new file mode 100644 index 00000000..7bf243cc --- /dev/null +++ b/mayor-orig/www/policy/private/session/accountInfo-pre.php @@ -0,0 +1,51 @@ +$changeSkinTo)); + + } + + + + $userInfo = getUserInfo($userAccount, $toPolicy); // keretrendszer attribútumai + $accountInfo = getAccountInfo($userAccount, $toPolicy); // backend attribútumai + + $ADAT = getUserSettings($userAccount, $toPolicy); + +?> diff --git a/mayor-orig/www/policy/private/session/accountInfo.php b/mayor-orig/www/policy/private/session/accountInfo.php new file mode 100644 index 00000000..7c4a3e0a --- /dev/null +++ b/mayor-orig/www/policy/private/session/accountInfo.php @@ -0,0 +1,15 @@ + diff --git a/mayor-orig/www/policy/private/session/admin/knownNodes-pre.php b/mayor-orig/www/policy/private/session/admin/knownNodes-pre.php new file mode 100644 index 00000000..d166babd --- /dev/null +++ b/mayor-orig/www/policy/private/session/admin/knownNodes-pre.php @@ -0,0 +1,39 @@ +getPublicKey(); + $ADAT['my']['nodeId'] = $RPC->getNodeId(); + + + if ($action == 'rpcPing') { + $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id'); + $RPC->setRemoteHostByNodeId($ADAT['nodeId']); + $RPC->setRequestTarget('base'); + $ADAT['pingResult'] = $RPC->sendRequest(array('func'=>'ping')); + $ADAT['nodeVersion'] = $ADAT['pingResult']['revision']; + // $RPC->setRequestTarget('controller'); + } elseif ($action == 'getPublicDataByNodeId') { + $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id'); + $RPC->setRequestTarget('base'); + $RPC->setRemoteHostByNodeId($ADAT['nodeId']); + } elseif ($action == 'removeNode') { + $ADAT['nodeId'] = readVariable($_POST['nodeId'],'id'); + removeNodeFromLocalKeychain($ADAT['nodeId']); + } + + $ADAT['nodes'] = getPublicDataFromLocalKeychain(); + + } + +?> diff --git a/mayor-orig/www/policy/private/session/admin/knownNodes.php b/mayor-orig/www/policy/private/session/admin/knownNodes.php new file mode 100644 index 00000000..e7a95d58 --- /dev/null +++ b/mayor-orig/www/policy/private/session/admin/knownNodes.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/policy/private/session/admin/registration-pre.php b/mayor-orig/www/policy/private/session/admin/registration-pre.php new file mode 100644 index 00000000..eabc8cfe --- /dev/null +++ b/mayor-orig/www/policy/private/session/admin/registration-pre.php @@ -0,0 +1,123 @@ + array('kotelezo'=>true,'options'=>$ADAT['NODETIPUSOK']), + 'nev' => array('kotelezo'=>true), + 'rovidNev' => array(), + 'OMKod' => array(), + 'cimHelyseg' => array('kotelezo'=>true), + 'cimIrsz' => array('kotelezo'=>true), + 'cimKozteruletNev' => array('kotelezo'=>true), + 'cimKozteruletJelleg' => array('kotelezo'=>true), + 'cimHazszam' => array('kotelezo'=>true), + 'telefon' => array(), + 'fax' => array(), + 'email' => array(), + 'honlap' => array(), + 'url' => array(), + 'kapcsolatNev' => array('kotelezo'=>true), + 'kapcsolatEmail' => array('kotelezo'=>true), + 'kapcsolatTelefon' => array(), + // külön, más helyen jelennek meg + 'dij'=> array('kotelezo'=>true,'display'=>false,'type'=>'none'), + 'egyebTamogatas' => array('display'=>false,'type'=>'none'), + 'utemezes'=>array('display'=>false,'type'=>'none'), + // rejtett mezők - nem módosíthatók + 'regId'=>array('display'=>false,'type'=>'none'), + 'dt'=>array('display'=>false), + 'publicKey' => array('kotelezo'=>true,'display'=>false,'readonly'=>true,'type'=>'textarea'), + ); + $ADAT['my']['url'] = $url = substr($_SERVER["HTTP_REFERER"], 0, strpos($_SERVER["HTTP_REFERER"], 'index.php?')); + $ADAT['my']['dt'] = date('Y-m-d'); + + $RPC = new Interconnect(); + $ADAT['my']['publicKey'] = $RPC->getPublicKey(); + $ADAT['my']['nodeId'] = $RPC->getNodeId(); + + // regisztráció + if ($action == 'sendRegRequest') { + unset($_POST['action']); + $_POST['publicRequest'] = 'registration'; + $res = json_decode(sendPublicRequest($_POST), true); + foreach ($res['alert'] as $index => $aAdat) $_SESSION['alert'][] = implode(':',$aAdat); + if ($res['success'] === true) { + setNodeId($res['nodeId'], $ADAT['my']['publicKey']); + $ADAT['my']['nodeId'] = $res['nodeId']; + $RPC = new Interconnect(); // újracsatlakozás... + } + //dump($res); + } elseif ($action == 'checkOldRegByPublicKey') { + $DATA['publicKey'] = $ADAT['my']['publicKey']; + $DATA['publicRequest'] = 'getNodeIdByPublicKey'; + // ha kellene ellenőrzés, akkar a választ a publicKey-el kódolva kellene küldeni... + $res = json_decode(sendPublicRequest($DATA), true); + foreach ($res['alert'] as $index => $aAdat) $_SESSION['alert'][] = implode(':',$aAdat); + if ($res['success'] === true) { + setNodeId($res['nodeId'], $ADAT['my']['publicKey']); + $ADAT['my']['nodeId'] = $res['nodeId']; + $RPC = new Interconnect(); // újracsatlakozás... + } + dump($res); + } + + if ($ADAT['my']['nodeId'] != 0) + try { + $RPC->setRemoteHostByNodeId(''); // controller + $RPC->setRequestTarget('controller'); + $ADAT['registrationStatus']['result'] = $RPC->sendRequest(array('func'=>'checkRegistration')); + //dump($ADAT['registrationStatus']['result'], $RPC->getStatus()); + // Teszt: egy alap metódus lekérdezése... + //$RPC->setRequestTarget('base'); + // $ADAT['controllerVersion'] = $RPC->sendRequest(array('func'=>'ping')); + // dump($ADAT['controllerVersion']); + // $RPC->setRequestTarget('controller'); + if ($ADAT['registrationStatus']['result']['valid'] == 1) { + $ADAT['regAdat'] = $RPC->getRegistrationDataByNodeId($ADAT['my']['nodeId']); + //dump($ADAT['regAdat'], $RPC->getStatus()); + } + } catch (Exception $e) { + dump("checkRegistration",$e); + } + + if ($action == 'modRegAdat') { + $MOD = array(); + foreach ($ADAT['regAdat']['nodeData'] as $key => $value) { + $newValue = readVariable($_POST[$key], 'string'); + if ( + !in_array($key, array('nodeId','regId','publicKey')) + && str_replace(array("\n","\r","\n\r"),"",$value) != str_replace(array("\n","\r","\n\r"),"",$newValue) + && !is_null($newValue) + ) $MOD[$key] = $newValue; + } + if (count($MOD) > 0) try { + // Interconnect-en keresztül!! + $ADAT['modRegData']['result'] = $RPC->sendRequest( + array('func'=>'modRegData', 'data'=>$MOD, 'regId'=>$ADAT['regAdat']['nodeData']['regId']) + ); + // A megjelenítéshez módosítjuk a kirakandó adatokat helyben is. + if ($ADAT['modRegData']['result']['result'] === true) { + $_SESSION['alert'][] = 'info:success:A regisztrációs adatokat módosítottuk a regisztrációs szerveren.'; + foreach ($MOD as $key => $val) $ADAT['regAdat']['nodeData'][$key] = $val; + } else { + $_SESSION['alert'][] = 'message:wrong_data:Az adatmódosítás nem sikerült a regisztrációs szerveren.'; + } + } catch (Exception $e) { + dump("modRegData",$e); + } + + } + + } + +?> diff --git a/mayor-orig/www/policy/private/session/admin/registration.php b/mayor-orig/www/policy/private/session/admin/registration.php new file mode 100644 index 00000000..6ad2d8e7 --- /dev/null +++ b/mayor-orig/www/policy/private/session/admin/registration.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/session/createAccount-pre.php b/mayor-orig/www/policy/private/session/createAccount-pre.php new file mode 100644 index 00000000..ce789482 --- /dev/null +++ b/mayor-orig/www/policy/private/session/createAccount-pre.php @@ -0,0 +1,110 @@ + byAdmin esetén csak az érintet policy-n belül az adminGroup tagjainak lehet létrehozni új account-ot + createAccount => byRegistration esetén bárki regisztrálhat bármely policy-ből +*/ + + if (_RIGHTS_OK !== true) die(); + + if (memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup'])) { + $DEFAULTS['userAccount'] = readVariable($_GET['userAccount'],'userAccount'); + $DEFAULTS['userCn'] = readVariable($_GET['userCn'],'emptystringnull'); + $DEFAULTS['userPassword'] = readVariable($_GET['userPassword'],'emptystringnull'); + $DEFAULTS['mail'] = readVariable($_GET['email'],'emptystringnull'); + $DEFAULTS['telephoneNumber'] = readVariable($_GET['tel'],'emptystringnull'); + } + + $toPolicy = readVariable($_POST['toPolicy'], 'enum', readVariable($_GET['toPolicy'], 'enum',_POLICY, $POLICIES), $POLICIES); + + @$toPSF = $_REQUEST['toPSF']; + + if ($toPolicy != _POLICY) require_once(_CONFIGDIR."/$toPolicy-conf.php"); + if ( + ( + $AUTH[$toPolicy]['createAccount'] == 'byAdmin' + and memberOf(_USERACCOUNT, $AUTH['private']['adminGroup']) + ) + or ( + $AUTH[$toPolicy]['createAccount'] == 'byRegistration' + && _USERACCOUNT =='' + ) + ) { + define('_ENABLE',true); + } else { + define('_ENABLE',false); + $_SESSION['alert'][] = 'page:insufficient_access:#1'; + } + + if (_ENABLE && $action == 'createAccount' && isset($_POST['new'])) { + + $file = $_FILES['file']['tmp_name']; + if ($file != '' && $file != 'none' && file_exists($file)) { + + $uidfp=fopen($file, 'r'); + while ($sor=fgets($uidfp, 4096)) { + list($userCn, $userAccount, $userPassword, $category, $studyId, $container)=explode(" ",chop($sor)); + // A biztonság kedvéért ez a html form validációval egyező legyen + $userCn = readVariable($userCn,'html'); + $userAccount = readvariable($userAccount,'html'); + $studyId = readVariable($studyId,'number'); + $category = readVariable($category, 'enum','',$AUTH[$toPolicy]['categories']); + $container = readVariable($container,'enum','',$AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']); + $policyAccountAttrs = array(); + if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $attr) { + if (isset($$attr) and $$attr != '') $policyAccountAttrs[$attr] = readVariable($$attr, 'string'); + } + if (createAccount($userCn, $userAccount, $userPassword, $toPolicy, array('container'=> $container, 'category' => $category, 'policyAttrs' => $policyAccountAttrs)) ===false) { + $_SESSION['alert'][] = "info:user_create_failure: cn.$userCn|account.$userAccount|policy.$toPolicy|category.$category|container.$container"; + } + } + fclose($uidfp); + + } else { + + // kötelező paraméterek + $userCn = readVariable($_POST['userCn'],'html'); + $userAccount = readvariable($_POST['userAccount'],'html'); + $studyId = readVariable($_POST['studyId'],'number'); + $userPassword = $_POST['userPassword']; + $verification = $_POST['verification']; + + // opcionális paraméterek + $category = readVariable($_POST['category'], 'enum','',$AUTH[$toPolicy]['categories']); + $container = readVariable($_POST['container'],'enum','',$AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']); + + $policyAccountAttrs = array(); + if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $attr) { + if (isset($_POST[$attr]) and $_POST[$attr] != '') $policyAccountAttrs[$attr] = readVariable($_POST[$attr], 'string'); // ??? + } + + if ($userCn == '' or $userAccount == '' or $userPassword == '' or $verification == '') { + // Csak policy váltás történt + // $_SESSION['alert'][] = 'message:empty_field'; + } elseif ($userPassword != $verification) { + $_SESSION['alert'][] = 'message:pw_not_match'; + } else { + if (createAccount($userCn, $userAccount, $userPassword, $toPolicy, + array('container'=> $container, 'category' => $category, 'policyAttrs' => $policyAccountAttrs))) { + if ( + _POLICY == 'private' + && memberOf(_USERACCOUNT, $AUTH[_POLICY]['adminGroup']) + ) header('Location: '.location("index.php?page=session&f=accountInfo&userAccount=$userAccount&toPolicy=$toPolicy")); + elseif (_POLICY == 'public') { + $toPSF = ($toPSF=='') ? 'auth::login' : $toPSF; + header( + 'Location: '.location("index.php?page=auth&f=login&userAccount=$userAccount&policy=public&toPolicy=$toPolicy&toPSF=$toPSF", array('skin','lang','sessionID')) + ); + } else { + $toPSF = ($toPSF=='') ? 'session::accountInfo' : $toPSF; + header( + 'Location: '.location("index.php?page=auth&f=login&userAccount=$userAccount&policy=public&toPolicy=$toPolicy&toPSF=$toPSF", array('skin','lang','sessionID')) + ); + } + } + } + } + + } + +?> diff --git a/mayor-orig/www/policy/private/session/createAccount.php b/mayor-orig/www/policy/private/session/createAccount.php new file mode 100644 index 00000000..94c4b703 --- /dev/null +++ b/mayor-orig/www/policy/private/session/createAccount.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/session/createGroup-pre.php b/mayor-orig/www/policy/private/session/createGroup-pre.php new file mode 100644 index 00000000..8b65ce02 --- /dev/null +++ b/mayor-orig/www/policy/private/session/createGroup-pre.php @@ -0,0 +1,49 @@ + $container, 'policyAttrs' => $policyGroupAttrs))) { + header('Location: '.location("index.php?page=session&f=groupInfo&groupCn=$groupCn&toPolicy=$toPolicy")); + } + } + } + + + } + +?> diff --git a/mayor-orig/www/policy/private/session/createGroup.php b/mayor-orig/www/policy/private/session/createGroup.php new file mode 100644 index 00000000..a914ceaf --- /dev/null +++ b/mayor-orig/www/policy/private/session/createGroup.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/session/download-pre.php b/mayor-orig/www/policy/private/session/download-pre.php new file mode 100644 index 00000000..6b396143 --- /dev/null +++ b/mayor-orig/www/policy/private/session/download-pre.php @@ -0,0 +1,66 @@ + diff --git a/mayor-orig/www/policy/private/session/download.php b/mayor-orig/www/policy/private/session/download.php new file mode 100644 index 00000000..12d907a9 --- /dev/null +++ b/mayor-orig/www/policy/private/session/download.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/private/session/facebookConnect-pre.php b/mayor-orig/www/policy/private/session/facebookConnect-pre.php new file mode 100644 index 00000000..b0988ae5 --- /dev/null +++ b/mayor-orig/www/policy/private/session/facebookConnect-pre.php @@ -0,0 +1,91 @@ + __FB_APP_ID, + 'app_secret' => __FB_APP_SECRET, + 'cookie' => true, + 'status' => true, + 'default_graph_version' => 'v2.5', + )); + $oAuth2Client = $fb->getOAuth2Client(); + + $helper = $fb->getJavaScriptHelper(); + try { + $accessToken = $helper->getAccessToken(); + // convert + if ($accessToken !='' && !$accessToken->isLongLived()) { + try { + $accessToken = $oAuth2Client->getLongLivedAccessToken($accessToken); + } catch (Facebook\Exceptions\FacebookSDKException $e) { + $_SESSION['alert'][] = "info::Error getting long-lived access token: " . $helper->getMessage() . ""; + } + } + } catch(Facebook\Exceptions\FacebookResponseException $e) { + // When Graph returns an error + $_SESSION['alert'][] = 'info::Graph returned an error: ' . $e->getMessage(); + } catch(Facebook\Exceptions\FacebookSDKException $e) { + // When validation fails or other local issues + $_SESSION['alert'][] = 'info::Facebook SDK returned an error: ' . $e->getMessage(); + } + if (isset($accessToken)) { + $_SESSION['facebook_access_token'] = (string) $accessToken; + $_SESSION['facebook_access_token_object'] = $accessToken; + $response = $fb->get('/me?fields=id,name,email',$accessToken); + $userNode = $response->getGraphUser(); + $ADAT['fbUserId'] = $userNode->getField('id'); + $ADAT['fbUserCn'] = $userNode->getField('name'); + $ADAT['fbUserEmail'] = $userNode->getField('email'); + } + } + if ($action=='revokeFbAuth') { + fbConnectRevoke($ADAT['fbUserId']); + } elseif ($action=='grantFbAuth') { + fbConnectGrant($ADAT); + } + + $ADAT['fbUserIdStatusz'] = checkFbConnectAssoc($ADAT); + + function checkFbConnectAssoc($ADAT) { + if ($ADAT['fbUserId']=='') return 0; + + $q = "SELECT count(*) AS db FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 1; // 'OK'; + + $q = "SELECT count(*) AS db FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId!='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 2; // 'masik fbUserId van megadva'; + + $q = "SELECT count(*) AS db FROM facebookConnect where userAccount!='%s' AND policy='%s' AND fbUserId='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 3; // 'masik userAccount van hozzárendelve ehhez a fb azonosítóhoz'; + + return false; + } + + function fbConnectRevoke($fbUserId) { + if ($fbUserId=='') return 0; + + $q = "DELETE FROM facebookConnect where userAccount='%s' AND policy='%s' AND fbUserId='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$fbUserId); + return db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','values'=>$v)); + } + function fbConnectGrant($ADAT) { + if ($ADAT['fbUserId']=='') return 0; + + $q = "INSERT IGNORE INTO facebookConnect (userAccount,policy,fbUserId,fbUserCn,fbUserEmail,studyId) VALUES ('%s','%s','%s','%s','%s','%s')"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['fbUserId'],'fbUserCn'=>_USERCN.' ('.$ADAT['fbUserCn'].')','fbUserEmail'=>$ADAT['fbUserEmail'],'studyId'=>_STUDYID); + return db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'insert','values'=>$v)); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/session/facebookConnect.php b/mayor-orig/www/policy/private/session/facebookConnect.php new file mode 100644 index 00000000..e125c680 --- /dev/null +++ b/mayor-orig/www/policy/private/session/facebookConnect.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/session/googleapi-pre.php b/mayor-orig/www/policy/private/session/googleapi-pre.php new file mode 100644 index 00000000..49438dcc --- /dev/null +++ b/mayor-orig/www/policy/private/session/googleapi-pre.php @@ -0,0 +1,100 @@ +setClientId(__GOOGLEAPI_CLIENT_ID); + $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET); + $client->setScopes('email'); + // $client->setAccessToken($_SESSION['googleapi_id_token']); + try { + $ADAT['payload'] = $payload = $client->verifyIdToken($_SESSION['googleapi_id_token']); + $ADAT['googleapiStatusz'] = 1; + } catch(Exception $e) { + $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage(); + $ADAT['googleapiStatusz'] = 2; + } + } elseif ($_GET['id_token']!='') { + $redirect_uri = _BASE_URL.'/index.php'; + $client = new Google_Client(); + //$client->setAuthConfig($oauth_credentials); + $client->setClientId(__GOOGLEAPI_CLIENT_ID); + $client->setClientSecret(__GOOGLEAPI_CLIENT_SECRET); +// $client->setRedirectUri($redirect_uri); + $client->setScopes('email'); + try { + $payload = $client->verifyIdToken($_GET['id_token']); + } catch(Exception $e) { + $_SESSION['alert'][] = 'info::googleapi SDK hiba: ' . $e->getMessage(); + } + if (isset($payload['sub'])) { // subject + $_SESSION['google_access_token'] = (string) $payload; + $_SESSION['google_access_token_object'] = $payload; + // mayor auth start + $accountInformation=array(); + $toPolicy = 'public'; + $ADAT['googleSub'] = $payload['sub']; +// $ADAT['fbUserId'] = $userNode->getField('id'); + $ADAT['googleUserCn'] = $payload['name']; + $ADAT['googleUserEmail'] = $payload['email']; + googleapiGrant($ADAT); + /* mayor auth stop */ + } else { + $_SESSION['alert'][] = 'info:nem érvényes accessToken'; + } + } + + } + function googleapiCheckAssoc($ADAT) { + if ($ADAT['googleSub']=='') return 0; + + $q = "SELECT count(*) AS db FROM googleConnect where userAccount='%s' AND policy='%s' AND googleSub='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['googleSub']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 1; // 'OK'; + + $q = "SELECT count(*) AS db FROM googleConnect where userAccount='%s' AND policy='%s' AND googleSub!='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'fbUserId'=>$ADAT['googleSub']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 2; // 'masik googleSub van megadva'; + + $q = "SELECT count(*) AS db FROM googleConnect where userAccount!='%s' AND policy='%s' AND googleSub='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'googleSub'=>$ADAT['googleSub']); + $db = db_query($q,array('fv'=>'facebookConnectCheck','modul'=>'login','result'=>'value','values'=>$v)); + if ($db==1) return 3; // 'masik userAccount van hozzárendelve ehhez a googleSub azonosítóhoz'; + + return false; + } + + function googleapiRevoke() { + $q = "DELETE FROM googleConnect where userAccount='%s' AND policy='%s'"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY); + return db_query($q,array('fv'=>'googleapiRevoke','modul'=>'login','values'=>$v)); + } + function googleapiGrant($ADAT) { + if ($ADAT['googleSub']=='') return 0; + $q = "INSERT IGNORE INTO googleConnect (userAccount,policy,googleSub,googleUserCn,googleUserEmail,studyId) VALUES ('%s','%s','%s','%s','%s','%s')"; + $v = array('userAccount'=>_USERACCOUNT,'policy'=>_POLICY,'googleSub'=>$ADAT['googleSub'],_USERACCOUNT.' ('.$ADAT['googleUserCn'].')',$ADAT['googleUserEmail'],_STUDYID); + return db_query($q,array('debug'=>true,'fv'=>'googleapiGrant','modul'=>'login','result'=>'insert','values'=>$v)); + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/session/googleapi.php b/mayor-orig/www/policy/private/session/googleapi.php new file mode 100644 index 00000000..fe079bed --- /dev/null +++ b/mayor-orig/www/policy/private/session/googleapi.php @@ -0,0 +1,28 @@ +
    '; + +// echo '

    Tesztüzem

    '; + +// formBegin(); +// echo ''; +// echo ''; +// formEnd(); + +// formBegin(); +// echo ''; +// echo ''; +// formEnd(); + +// formBegin(); +// echo ''; +// echo ''; +// formEnd(); + + putGoogleapiStatusz($ADAT); + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/private/session/groupInfo-pre.php b/mayor-orig/www/policy/private/session/groupInfo-pre.php new file mode 100644 index 00000000..97864ffa --- /dev/null +++ b/mayor-orig/www/policy/private/session/groupInfo-pre.php @@ -0,0 +1,43 @@ + diff --git a/mayor-orig/www/policy/private/session/groupInfo.php b/mayor-orig/www/policy/private/session/groupInfo.php new file mode 100644 index 00000000..6dda377c --- /dev/null +++ b/mayor-orig/www/policy/private/session/groupInfo.php @@ -0,0 +1,12 @@ + diff --git a/mayor-orig/www/policy/private/session/search/searchAccount-pre.php b/mayor-orig/www/policy/private/session/search/searchAccount-pre.php new file mode 100644 index 00000000..2108f631 --- /dev/null +++ b/mayor-orig/www/policy/private/session/search/searchAccount-pre.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/policy/private/session/search/searchAccount.php b/mayor-orig/www/policy/private/session/search/searchAccount.php new file mode 100644 index 00000000..8cfe1d75 --- /dev/null +++ b/mayor-orig/www/policy/private/session/search/searchAccount.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/session/search/searchGroup-pre.php b/mayor-orig/www/policy/private/session/search/searchGroup-pre.php new file mode 100644 index 00000000..94deeba2 --- /dev/null +++ b/mayor-orig/www/policy/private/session/search/searchGroup-pre.php @@ -0,0 +1,25 @@ + diff --git a/mayor-orig/www/policy/private/session/search/searchGroup.php b/mayor-orig/www/policy/private/session/search/searchGroup.php new file mode 100644 index 00000000..c36d0ef6 --- /dev/null +++ b/mayor-orig/www/policy/private/session/search/searchGroup.php @@ -0,0 +1,16 @@ + diff --git a/mayor-orig/www/policy/private/session/session-pre.php b/mayor-orig/www/policy/private/session/session-pre.php new file mode 100644 index 00000000..d1c65349 --- /dev/null +++ b/mayor-orig/www/policy/private/session/session-pre.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/private/session/session.php b/mayor-orig/www/policy/private/session/session.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/private/session/sessionAdmin-pre.php b/mayor-orig/www/policy/private/session/sessionAdmin-pre.php new file mode 100644 index 00000000..08b55781 --- /dev/null +++ b/mayor-orig/www/policy/private/session/sessionAdmin-pre.php @@ -0,0 +1,24 @@ +'; var_dump($ADAT); echo '
    '; + + } + + +?> diff --git a/mayor-orig/www/policy/private/session/sessionAdmin.php b/mayor-orig/www/policy/private/session/sessionAdmin.php new file mode 100644 index 00000000..d1398e4f --- /dev/null +++ b/mayor-orig/www/policy/private/session/sessionAdmin.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/public/auth/forgotten-pre.php b/mayor-orig/www/policy/public/auth/forgotten-pre.php new file mode 100644 index 00000000..76ffaebb --- /dev/null +++ b/mayor-orig/www/policy/public/auth/forgotten-pre.php @@ -0,0 +1,92 @@ + $ADAT['toPolicy'], + 'userAccount' => $ADAT['accounts'][$i]['userAccount'][0], + 'userCn' => $ADAT['accounts'][$i]['userCn'][0], + 'mail' => current(explode(' ',str_replace(';',' ',trim($ADAT['accounts'][$i]['mail'][0])))), + ); + break; + } + } + } elseif (isset($ADAT['mail'])) { + $ADAT['accounts'] = searchAccount('mail', $ADAT['mail'], $searchAttrs = array('userCn','mail','userAccount'), $ADAT['toPolicy']); + for ($i=0; $i<$ADAT['accounts']['count']; $i++) { + if ($ADAT['mail'] == $ADAT['accounts'][$i]['mail'][0] && $ADAT['accounts'][$i]['mail'][0] != '') { + $ADAT['account'] = array( + 'policy' => $ADAT['toPolicy'], + 'userAccount' => $ADAT['accounts'][$i]['userAccount'][0], + 'userCn' => $ADAT['accounts'][$i]['userCn'][0], + 'mail' => current(explode(' ',str_replace(';',' ',trim($ADAT['accounts'][$i]['mail'][0])))), + ); + break; + } + } + } + + // Recovery + if (is_array($ADAT['account'])) { + $recoveryRequest = generatePasswordRecoveryRequest($ADAT['account']); + if ($recoveryRequest!=false) { + $ADAT['account']['url'] = $recoveryRequest; + // levél generálása és kiküldése + $body = ' +

    Az alábbi linkre kattintva magadhatod az új MaYoR-jelszavadat.

    +

    Ha nem te küldted az igénylést, tekintsd a levelet tárgytalannak!

    + +

    '.__SUPPORT_EMAIL_NAME.' ('.__SUPPORT_EMAIL_ADDRESS.')

    +'; + /* MAIL */ + if (__EMAIL_ENABLED===true) { + $mail = new PHPMailer(); + $mail->CharSet = 'UTF-8'; + $mail->SetFrom(__SUPPORT_EMAIL_ADDRESS,__SUPPORT_EMAIL_NAME); + $mail->AddAddress($ADAT['account']['mail'], $ADAT['account']['userCn']); + $mail->Subject = "[MaYoR] Jelszóemlékeztető"; + $mail->MsgHTML($body); + $mail->Send(); + } else { + //dump(__EMAIL_ENABLED); + //dump(__SUPPORT_EMAIL_ADDRESS); + //dump(__SUPPORT_EMAIL_NAME); + } + /* -- */ +// $_SESSION['alert'][] = 'info:success'; + } else { +// $_SESSION['alert'][] = 'info:success'; // nem üzenünk hibát + } + } else { +// $_SESSION['alert'][] = 'message:wrong_data:Nincs ilyen azonosító, vagy nincs rögzítve e-mail cím az azonosítóhoz! ('.$ADAT['userAccount'].')'; + } + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/policy/public/auth/forgotten.php b/mayor-orig/www/policy/public/auth/forgotten.php new file mode 100644 index 00000000..bd751c83 --- /dev/null +++ b/mayor-orig/www/policy/public/auth/forgotten.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/mayor-orig/www/policy/public/auth/login-pre.php b/mayor-orig/www/policy/public/auth/login-pre.php new file mode 100644 index 00000000..c524751f --- /dev/null +++ b/mayor-orig/www/policy/public/auth/login-pre.php @@ -0,0 +1,86 @@ + $userAccount, 'password' => $userPassword, 'policy' => $toPolicy, 'skin'=>$toSkin); + if ($sessionID != '') $accountInformation['sessionID'] = $sessionID; + + if ($userAccount != '' and $userPassword != '') { + + $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy); // ??? toPolicy benne van az AccountInformation-ben!!! Ldap backend only? + logLogin($toPolicy, $userAccount, $result); + if ($result === _AUTH_SUCCESS) { + $sessionID = newSession($accountInformation, $toPolicy); + if ($toSkin == '') $toSkin = $skin; + header('Location: '.location("index.php?page=$toPage&sub=$toSub&f=$toF&sessionID=$sessionID&policy=$toPolicy&lang=$lang&skin=$toSkin", array('alertOLD'))); + } elseif ($result === _AUTH_EXPIRED) { + $_SESSION['alert'][] = 'message:force_pw_update'; + header('Location: '.location("index.php?policy=public&page=password&f=changeMyPassword&userAccount=".$userAccount."&toPolicy=$toPolicy&skin=$toSkin", array('alertOLD'))); + } elseif ($result >= _AUTH_FAILURE) { + // sikertelen azonosítás - a hibaüzenetet a függvény generálja + //$NOF = @getFailedLoginCount($toPolicy,$userAccount); + //if ($NOF>1) sleep(min($NOF,10,rand(1,10))); // harden brute force attempts + } else { + // Ilyen csak hibás függvényműködés esetén lehet: + $_SESSION['alert'][] = "message:default:hibás visszatérési érték:userAuthentication:($result)"; + } + } else { + $_SESSION['alert'][] = 'message:empty_field'; + } + } + +?> diff --git a/mayor-orig/www/policy/public/auth/login.php b/mayor-orig/www/policy/public/auth/login.php new file mode 100644 index 00000000..c86bf24b --- /dev/null +++ b/mayor-orig/www/policy/public/auth/login.php @@ -0,0 +1,17 @@ + diff --git a/mayor-orig/www/policy/public/naplo/rpc/rpc-pre.php b/mayor-orig/www/policy/public/naplo/rpc/rpc-pre.php new file mode 100644 index 00000000..53328c7c --- /dev/null +++ b/mayor-orig/www/policy/public/naplo/rpc/rpc-pre.php @@ -0,0 +1,48 @@ +setRemoteOMKod($initOMKod); + $REQUEST = $RPC->processRequest($rpcDetails); + $func = $REQUEST->func; + } + catch (Exception $e) + { + $func=''; + $DATA = array('error'=>$e->getMessage()); + } + // processing + + // MASTER BOSS -> portal/rpc/rpc, ez itt ELAVULT + $DATA = array(); + if (isset($func) && $func!='') { + switch ($func) { + case 'getVersion': + case 'ping': + $DATA = $RPC->prepareReply( + array('func'=>'getVersion','response_revision'=>_MAYORREV,'pong') + ); + $RPC->setResponse($DATA); + break; + case 'checkRegistration': + $otherPublicKey = getSslPublicKeyByOMKod($REQUEST->OMKOD); + if ($otherPublicKey===false) $valid=0; + elseif ($REQUEST->publicKey == $otherPublicKey) $valid=1; + else $valid=2; + $DATA = $RPC->prepareReply( + array('func'=>$func,'response'=>serialize($REQUEST),'valid'=>$valid) + ); + $RPC->setResponse($DATA); + default: + break; + } + } +?> diff --git a/mayor-orig/www/policy/public/naplo/rpc/rpc.php b/mayor-orig/www/policy/public/naplo/rpc/rpc.php new file mode 100644 index 00000000..be00b0a5 --- /dev/null +++ b/mayor-orig/www/policy/public/naplo/rpc/rpc.php @@ -0,0 +1,7 @@ +0) putResponse($DATA); // reply + +?> diff --git a/mayor-orig/www/policy/public/password/changeMyPassword-pre.php b/mayor-orig/www/policy/public/password/changeMyPassword-pre.php new file mode 100644 index 00000000..f7c68879 --- /dev/null +++ b/mayor-orig/www/policy/public/password/changeMyPassword-pre.php @@ -0,0 +1,69 @@ += _AUTH_FAILURE) { + $_SESSION['alert'][] = 'message:auth_failure'; // megj: a hibaüzenetet a userAuthentication egyébként generálja. kell ez? + } else { + + if (changeMyPassword($userAccount, $userPassword, $newPassword, $toPolicy)) { +// Újra be kell jelentkezni mindenképp... +// updateSessionPassword($userAccount, $toPolicy, $verification); +// if (validUser($sessionID,$policy)) +// header('Location: '.location("index.php?policy=$toPolicy&sessionID=".$sessionID, array('alert'))); +// else + header('Location: '.location("index.php?page=auth&f=login&toPolicy=$toPolicy", array('alert'))); + } else { + $_SESSION['alert'][] = 'message:pw_change_failed'; + } + } + + } + + } // action + + } else { + + $_SESSION['alert'][] = 'page:pw_change_disabled'; + + } + +?> diff --git a/mayor-orig/www/policy/public/password/changeMyPassword.php b/mayor-orig/www/policy/public/password/changeMyPassword.php new file mode 100644 index 00000000..29ebbf10 --- /dev/null +++ b/mayor-orig/www/policy/public/password/changeMyPassword.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/public/password/resetPassword-pre.php b/mayor-orig/www/policy/public/password/resetPassword-pre.php new file mode 100644 index 00000000..3590f27a --- /dev/null +++ b/mayor-orig/www/policy/public/password/resetPassword-pre.php @@ -0,0 +1,68 @@ += NOW()"; + $r = db_query($q, array('debug'=>false,'fv'=>'getPasswordRecoveryRequest','modul'=>'login','result'=>'record','values'=>array($selector))); + } + if (!is_array($r)) { + $_SESSION['alert']['page'] = 'message:wrong_data:A jelszó-helyreállítási kérelem nem létezik, vagy lejárt!'; + } else { + + $calc = hash('sha256', hex2bin($validator)); + if (hash_equals($calc, $r['token'])) { + // The reset token is valid. Authenticate the user. + //dump($r); + $ADAT = $r; + $ADAT['validator'] = $validator; + + $toPolicy = $r['policy']; + $userAccount = $r['userAccount']; + + if (file_exists(_CONFIGDIR."/$toPolicy-conf.php")) { + require_once(_CONFIGDIR."/$toPolicy-conf.php"); + } + + if ($AUTH[$toPolicy]['enablePasswordReset']) { + + if ($action == 'resetPassword') { + + if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php')) { + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/base.php'); + } + if (file_exists('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php')) { + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/password/changePassword.php'); + } + + $newPassword = readVariable($_POST['newPassword'], 'emptystringnull'); + $verification = readVariable($_POST['verification'], 'emptystringnull'); + + if ($verification == '' or $newPassword == '') { + $_SESSION['alert'][] = 'message:empty_field'; + } elseif ($verification != $newPassword) { + $_SESSION['alert'][] = 'message:pw_not_match'; + } else { + if (changePassword($userAccount, $newPassword, $toPolicy)) { + $q = "DELETE FROM accountRecovery WHERE userAccount = '%s'"; + db_query($q, array('debug'=>false,'fv'=>'getPasswordRecoveryRequest','modul'=>'login','result'=>'delete','values'=>array($userAccount))); + header('Location: '.location("index.php?page=auth&f=login&toPolicy=$toPolicy", array('alert'))); + } else { + $_SESSION['alert'][] = 'message:pw_change_failed'; + } + } + } + + } else { + $_SESSION['alert'][] = 'page:pw_reset_disabled'; + } + + } else { + $_SESSION['alert']['page'] = 'message:insufficient_access:A jelszó-helyreállítási kérelem nem érvényes!'; + } + + } + +?> diff --git a/mayor-orig/www/policy/public/password/resetPassword.php b/mayor-orig/www/policy/public/password/resetPassword.php new file mode 100644 index 00000000..eaefcc8c --- /dev/null +++ b/mayor-orig/www/policy/public/password/resetPassword.php @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/policy/public/portal/rpc/rpc-pre.php b/mayor-orig/www/policy/public/portal/rpc/rpc-pre.php new file mode 100644 index 00000000..edd9a592 --- /dev/null +++ b/mayor-orig/www/policy/public/portal/rpc/rpc-pre.php @@ -0,0 +1,104 @@ +'portal','result'=>'indexed')); + } else { + $q = "SELECT * FROM regisztracio WHERE nodeId='%s'"; + $v = array($nodeId); + $r = db_query($q, array('modul'=>'portal','result'=>'record','values'=>$v)); + } + return $r; + } + + function getPublicDataByNodeIdFromReg($nodeId) { + $q = "SELECT * FROM regisztracio WHERE nodeId='%s'"; + $v = array($nodeId); + $r = db_query($q, array('debug'=>false,'fv'=>'getPublicDataByNodeIdFromReg','modul'=>'portal','result'=>'record','values'=>$v)); + return $r; + } + function modRegData($nodeId, $regId, $DATA) { + $q = "UPDATE regisztracio SET ".implode(',',array_fill(0, count($DATA), "%s='%s'"))." WHERE regId=%u AND nodeId=%u"; + foreach ($DATA as $key=>$val) { + $v[] = $key; $v[] = $val; + } + $v[] = $regId; $v[] = $nodeId; + $r = db_query($q, array('debug'=>true,'fv'=>'modRegData','modul'=>'portal','values'=>$v)); + if ($r) return true; + else return $q; + } + + /* Class: Interconnect AES * / + + /* remote procedure call remote controller * / + try + { + /* rights.php: + $RPC = new Interconnect(); + $RPC->setRemoteHostByNodeId($senderNodeId); + $REQUEST = $RPC->processRequest(); + * / + $REQUEST = $RPC->getIncomingRequest(); + $func = $REQUEST['func']; + + } + catch (Exception $e) + { + $func=''; + $DATA = array('error'=>$e->getMessage()); + } + // processing + $DATA = array(); + if (isset($func) && $func!='') { + switch ($func) { + case 'getVersion': + case 'ping': + $DATA = array('func'=>'getVersion','response_revision'=>_MAYORREV,'pong'); + $RPC->setResponse($DATA); + break; + case 'checkRegistration': + $DATA = getPublicDataByNodeIdFromReg($senderNodeId); + if (is_array($DATA)) $valid = 1; else $valid = 0; + $DATA = array('func'=>$func,'valid'=>$valid,'status'=>$RPC->getStatus(),'get'=>$_GET,'post'=>$_POST); + $RPC->setResponse($DATA); + break; + case 'getPublicDataByNodeId': + $DATA = getPublicDataByNodeIdFromReg($REQUEST['nodeId']); + $RPC->setResponse($DATA); + break; + case 'modRegData': + $DATA['result'] = modRegData($senderNodeId,$REQUEST['regId'],$REQUEST['data']); + $DATA['func'] = 'modRegData'; + $RPC->setResponse($DATA); + break; + case 'getIskola': + $iskolaAdat = getRegisztraltIskolaAdat($REQUEST['otherNodeId']); + $DATA = array('func'=>$func,'iskolaAdat'=>$iskolaAdat); + $RPC->setResponse($DATA); + break; + case 'getRegistrationData': + $DATA = getPublicDataByNodeIdFromReg($REQUEST['nodeId']); + break; + case 'refreshRegistration': + break; + case 'getPublicData': + $iskolaAdat = getRegisztraltIskolaAdat(); + $DATA = array('func'=>$func,'szomszedok'=>$iskolaAdat); + $RPC->setResponse($DATA); + break; + default: + break; + } + + } +*/ +?> diff --git a/mayor-orig/www/policy/public/portal/start.php b/mayor-orig/www/policy/public/portal/start.php new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/www/policy/public/rpc/naplo/rpc-pre.php b/mayor-orig/www/policy/public/rpc/naplo/rpc-pre.php new file mode 100644 index 00000000..aba7552f --- /dev/null +++ b/mayor-orig/www/policy/public/rpc/naplo/rpc-pre.php @@ -0,0 +1,70 @@ +setRemoteHostByNodeId($senderNodeId); + $RPC->processRequest(); + $_RPC['request'] = $RPC->getIncomingRequest(); + */ + $func = $_RPC['request']['func']; + // processing + $DATA = array(); + if (isset($func) && $func!='') { + switch ($func) { + // itt a currens verziót kellene visszaadni + case 'getVersion': + case 'ping': + $DATA = array('func'=>'getVersion','revision'=>_MAYORREV,'pong'); + $RPC->setResponse($DATA); + break; + case 'getPrivilegeInfo': + $nodeId = $_RPC['senderNodeId']; + $userAccount = readVariable($_RPC['request']['userAccount'], 'string'); + $OMKod = readVariable($_RPC['request']['OMKod'],'numeric unsigned'); + $priv = explode(',',getRPCPrivilegeByNUO($nodeId, $userAccount, $OMKod)); + if (is_array($priv) && in_array('Jogosultság',$priv)) { + $DATA = array('func'=>'getPrivilegeInfo','result'=>'success','priv'=>$priv); + } else { + $DATA = array('func'=>'getPrivilegeInfo','result'=>'failure','alert'=>'message:insufficient_access'); + } + $RPC->setResponse($DATA); + break; + case 'getTantargyfelosztasStat': + $nodeId = $_RPC['senderNodeId']; + $userAccount = readVariable($_RPC['request']['userAccount'], 'string'); + $OMKod = readVariable($_RPC['request']['OMKod'],'numeric unsigned'); // a naplo/base/rights már felhasználta az __INTEZMENY beállításnál + $priv = explode(',',getRPCPrivilegeByNUO($nodeId, $userAccount, $OMKod)); + if (is_array($priv) && in_array('Tantárgyfelosztás',$priv)) { + // Az __INTEZMENY és __TANEV beállítását a naplo/rights.php már elvégezte... + + require_once('include/modules/naplo/share/intezmenyek.php'); + require_once('include/modules/naplo/share/osztaly.php'); + require_once('include/modules/naplo/share/targy.php'); + require_once('include/modules/naplo/share/tankor.php'); + require_once('include/modules/naplo/stat/tantargyFelosztas.php'); + global $ADAT; $ADAT = array(); + $IA = getTantargyfelosztasStat(); + + $DATA = array('func'=>'getTantargyfelosztasStat','result'=>'success','tanev'=>__TANEV,'intezmeny'=>__INTEZMENY, 'IA'=>$IA); + } else { + $DATA = array('func'=>'getTantargyfelosztasStat','result'=>'failure','alert'=>'message:insufficient_access'); + } + $RPC->setResponse($DATA); + break; + default: + $DATA['result'] = 'ismeretlen függvény: '.$func; + break; + } + + } +?> diff --git a/mayor-orig/www/policy/public/rpc/rpc-pre.php b/mayor-orig/www/policy/public/rpc/rpc-pre.php new file mode 100644 index 00000000..30336e9e --- /dev/null +++ b/mayor-orig/www/policy/public/rpc/rpc-pre.php @@ -0,0 +1,43 @@ +setRemoteHostByNodeId($senderNodeId); + $REQUEST = $RPC->processRequest(); + */ + $REQUEST = $RPC->getIncomingRequest(); + $func = $REQUEST['func']; + + } + catch (Exception $e) + { + $func=''; + $DATA = array('error'=>$e->getMessage()); + } + // processing + $DATA = array(); + if (isset($func) && $func!='') { + switch ($func) { + // itt a currens verziót kellene visszaadni + case 'getVersion': + case 'ping': + $DATA = array('func'=>'getVersion','revision'=>_MAYORREV,'pong'); + $RPC->setResponse($DATA); + break; + default: + $DATA['result'] = 'ismeretlen függvény: '.$func; + break; + } + + } +?> diff --git a/mayor-orig/www/policy/public/session/logout-pre.php b/mayor-orig/www/policy/public/session/logout-pre.php new file mode 100644 index 00000000..ac344fee --- /dev/null +++ b/mayor-orig/www/policy/public/session/logout-pre.php @@ -0,0 +1,28 @@ + diff --git a/mayor-orig/www/policy/public/session/set-pre.php b/mayor-orig/www/policy/public/session/set-pre.php new file mode 100644 index 00000000..d3e77776 --- /dev/null +++ b/mayor-orig/www/policy/public/session/set-pre.php @@ -0,0 +1,10 @@ + diff --git a/mayor-orig/www/skin/ajax/base/html/alert.phtml b/mayor-orig/www/skin/ajax/base/html/alert.phtml new file mode 100644 index 00000000..e81b75ed --- /dev/null +++ b/mayor-orig/www/skin/ajax/base/html/alert.phtml @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/mayor-orig/www/skin/ajax/base/html/base.phtml b/mayor-orig/www/skin/ajax/base/html/base.phtml new file mode 100644 index 00000000..cfa12036 --- /dev/null +++ b/mayor-orig/www/skin/ajax/base/html/base.phtml @@ -0,0 +1,101 @@ + base.php + putValidXHTML() +*/ + + + /* Egy JSON példa + echo '{ "action" : [ ' + .'{ "func" : "alert", "param" : [ "Helló", "World" ] }, ' + .'{ "func" : "update", "param" : [ { "id" : "updateForm", "content" : "Helló Update" } ]}, ' + .'{ "func" : "hide", "param" : [ "settings" ] },' + .'{ "func" : "show", "param" : [ "updateWindow" ] },' + .'{ "func" : "remove", "param" : [ "head" ] },' + .'{ "func" : "removeClass", "param" : [ { "id" : "jegy-1", "class" : "jegy1" } ] },' + .'{}],' + .' "name" : "Violet", "occupation" : "character" }'; + */ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + global $_JSON; + + if ($_JSON['result'] === false) @header("HTTP/1.1 400 Bad Request"); + else @header("HTTP/1.1 200 OK"); + + @header('Content-type: application/json; charset=utf-8'); + @header("Etag: ".__SALTVALUE.'-'.__SALTNAME.'-'.$_SESSION['mayorToken']); // ajax request esetén innen tudható a _SALTVALUE + + _httpHeader(); + + if ( (!is_array($_JSON)?false:json_encode($_JSON)) === false) { + ob_start(); + define('_UNIQUE', uniqid()); + //echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + $_JSON['html'] = ob_get_contents(); + ob_end_clean(); + } + if (is_array($_SESSION['alert']) && count($_SESSION['alert'])>0) { + for($i=0; $i'.$aType.':'.$aCode.')'; + else $msg = $ALERT_MSG[$aCode]; + + // paraméter behelyettesítés + for($i = 0; $i < count($param); $i++) { + $_msg = $msg; + $msg = @str_replace("%$i%",''.($param[$i]).'',$msg); + if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.($param[$i]).','; + } + if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; + if (($aType == 'message') or ($aType == 'page')) { + $title = _ERROR; + $class = 'errorMsg'; + if ($aType == 'page') $showPage = false; + } else { + $title = _INFORMATION; + $class = 'infoMsg'; + } + $msg = ''.$title.': ' . $msg; + $showPage .= '
    '.str_replace('***','
    ',$msg).'
    '."\n"; + } + + return $showPage; + +} + +?> diff --git a/mayor-orig/www/skin/ajax/module-naplo/css/naplo.css b/mayor-orig/www/skin/ajax/module-naplo/css/naplo.css new file mode 100644 index 00000000..f8b97d3c --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/css/naplo.css @@ -0,0 +1,4 @@ + +div.beirasAdatok { font-size:large; margin:auto; width:90%; text-align: center; } +div.beirasAdatok a { text-decoration: none; color: inherit; } +div.beirasAdatok a:hover { text-decoration: none; color: #777777; } diff --git a/mayor-orig/www/skin/ajax/module-naplo/css/orarend/orarend.css b/mayor-orig/www/skin/ajax/module-naplo/css/orarend/orarend.css new file mode 100644 index 00000000..222664e5 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/css/orarend/orarend.css @@ -0,0 +1,68 @@ + +table.orarend { + font-size:10px; +} +table.orarend tr th { + background-color: #eeeeee; + color: #999999; + border-width: 0px 0px 0px 0px; + width:1%; + height:30px; + font-weight: normal; + border-color: #ddd; + border-width: 0px 0px 1px 0px; + border-style: solid; + +} +table.orarend thead tr th { + background-color: #889999; + color: white; + height:1em; + +} +table.orarend thead tr th.spec { + background-color: red; +} + +table.orarend tr td { + text-align: center; + border-color: #ddd; + border-width: 0px 0px 1px 0px; + border-style: solid; + width:18%; +} + +div.unfinished { + background-color: yellow; +} + + table.orarend tbody tr td hr { width: 80% } + div.normál {} + div.plusz { + background-color: #eeccee; + } + div.elmarad { + color: white; + background-color: black; + } + div.elmarad_máskor { + color: white; + background-color: #555555; + } + div.normál_máskor { + color: white; + background-color: #776699; + } + div.felügyelet { + background-color: #bbaac0; + } + div.helyettesítés { + background-color: #ccffcc; + } + div.összevonás { + background-color: #aabbc0; + } + span.helyett { + color: gray; + text-decoration: line-through; + } diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/admin/tanevek.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/admin/tanevek.phtml new file mode 100644 index 00000000..9f32e72e --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/admin/tanevek.phtml @@ -0,0 +1,9 @@ + diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/base.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/base.phtml new file mode 100644 index 00000000..c3fe9d59 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/base.phtml @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/bejegyzesek/info.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/bejegyzesek/info.phtml new file mode 100644 index 00000000..94c12c57 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/bejegyzesek/info.phtml @@ -0,0 +1,11 @@ +'; + echo _BEJEGYZESEK_SZAMA.': '; + if ($ADAT['db'] > 0) echo ''.$ADAT['db'].''; + else echo $ADAT['db']; + echo ''; + } + +?> diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/haladasi/haladasi.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/haladasi/haladasi.phtml new file mode 100644 index 00000000..1511b957 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/haladasi/haladasi.phtml @@ -0,0 +1,162 @@ +'."\n"; + + echo ''."\n"; + + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + $toTime = strtotime(_SHOW_DAYS_TO); + $fromTime = strtotime(_SHOW_DAYS_FROM); + + for ($time = $toTime; $time >= $fromTime; $time = strtotime('-1 day',$time)) { + $dt = date('Y-m-d',$time); + $count = count($data[$dt]); + if ($count > 0) { +// echo ''; + putTankorNap($dt, $data[$dt], $data['dolgozatok'], $order); +// echo ''."\n"; + } + } + + echo '
    '; + echo ''._TANAR.''._ORASZAM.''._TANANYAG.'
    '; +// if (_SHOW_DAYS_FROM > $_TANEV['kezdesDt']) echo ''."\n"; + echo ' '._IDOSZAK.': '.str_replace('-','.',_SHOW_DAYS_FROM) . '. - '. str_replace('-','.', _SHOW_DAYS_TO) .'. '."\n"; +// if (_SHOW_DAYS_TO < date('Y-m-d')) echo ''."\n"; + echo '
    '."\n"; + + } + + + + + function putTankorNap($dt, $dNap, $doga, $order) { + + $time = strtotime($dt); + $count = count($dNap); + +// if (date('w',$time) % 2 == 0) echo ''."\n"; +// else echo ''."\n"; + + putHaladasiDolgozat($dt,$doga); + + for ($i=0; $i<$count; $i++) { + putTankorOra($dNap[$count-$i-1]); + } // órák kiírása + +// echo ''."\n"; + + } + + + function putHaladasiDolgozat($dt,$doga) { + + for ($i=0;$i'; + echo ''; + $href = href('index.php?page=naplo&sub=osztalyozo&f=dolgozat&dolgozatId='.$did); +// echo ''; + echo _BEJELENTETT_DOLGOZAT . ': '. $doga[$did]['dolgozatNev']; + echo ' (' ; + for ($j=0;$j'; + echo ''; + echo ''."\n"; + } + + } + + + function putTankorOra($dOra) { + + global $aHetNapjai; + + $modosithatoOra = false; + + if (!in_array($dOra['tipus'],array('normál','normál máskor'))) { + $tipus = nagybetus(substr($dOra['tipus'],0,1)); + $tr_class = ' class="helyettesit"'; + } else { + $tipus = ''; + $tr_class = ''; + } + + echo ''; + + echo ''; + echo str_replace('-','.',$dOra['dt']) .'. '. $aHetNapjai[date('w',strtotime($dOra['dt']))-1].' '; + echo ''; + echo ''; + echo $dOra['ora'].'.'; + echo ''."\n"; + echo ''; + echo $tipus; +// echo $ADAT['terem'][$dOra['teremId']]['leiras']; + echo ''."\n"; + + + // ----- Tanör(ok) ------------------------------- + echo ''; + // Ha egy normál órának több tanára is van, és módosítható az óra, akkor lehet választani a tanárok közül + if (count($dOra['tanár']['id']) > 1 and $modosithatoOra) { + $_SEL = array($dOra['kiId'] => 'selected="selected" '); + echo ''; + } else { + echo $dOra['kiCn']; + } + echo ''."\n"; + + echo ''; + echo $dOra['oraszam']; + echo ''."\n"; + + echo ''.$dOra['leiras'].''."\n"; + + echo ''."\n"; + } + + function putHetesForm($ADAT) { } + +?> diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/hianyzas/info.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/hianyzas/info.phtml new file mode 100644 index 00000000..2d206723 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/hianyzas/info.phtml @@ -0,0 +1,18 @@ + $D) { if ($dt!='') break; } + echo '
    '; + if ($dt == date('Y-m-d')) { + echo _MA.' '._AZ_ORAK.' '.$D['oranHianyzasSzazalek'].'%-n '._VOLT_HIANYZO.'.
    '; + echo _MA.' '.$D['hianyzokSulyozva'].' '._DIAK.' '._HIANYZIK.'.'; + } else { + list($ev,$ho,$nap) = explode('-',$dt); + echo decimal_to_roman($ho).'. '.$nap.'. napon '._AZ_ORAK.' '.$D['oranHianyzasSzazalek'].'%-n '._VOLT_HIANYZO.'.
    '; + echo decimal_to_roman($ho).'. '.$nap.'. napon '.$D['hianyzokSulyozva'].' '._DIAK.' '._HIANYZOTT.'.'; + } + echo '
    '; + //echo '
    '._TOVABB.''; + } + +?> diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml new file mode 100644 index 00000000..c2d3b6a1 --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml @@ -0,0 +1,120 @@ +'; + for ($i = 0; $i < count($ADAT['kerelmek']); $i++) { + + if ($ADAT['kerelmek'][$i]['lezarasDt']!="") $_class = ' style="color: #777777;"' ; + elseif ($ADAT['kerelmek'][$i]['jovahagyasDt']!="") $_class = ' style="background-color: rgb(200,255,200);"' ; + else $_class = ' style="color: black;"' ; + + if (__VEZETOSEG || __NAPLOADMIN) { + echo '
  • '.$ADAT['kerelmek'][$i]['userAccount'].' '.superdate($ADAT['kerelmek'][$i]['rogzitesDt']).': '.$ADAT['kerelmek'][$i]['kategoria'].'
  • '; + } else { + echo '
  • '; + echo '
    '.$ADAT['kerelmek'][$i]['userAccount'].' '.superdate($ADAT['kerelmek'][$i]['rogzitesDt']).': '.$ADAT['kerelmek'][$i]['kategoria'].'
    '; + echo '- '.htmlspecialchars($ADAT['kerelmek'][$i]['szoveg']); + if ($ADAT['kerelmek'][$i]['valasz']!='') + echo '
    - '.htmlspecialchars($ADAT['kerelmek'][$i]['valasz']).'
    '; + echo '
  • '; + } + } + echo ''; + + } + + function putKerelmekValasszal($ADAT) { + + $K = array('jh'=>0,'njh'=>0); + $MAX = 1; + $dbKerelem = count($ADAT['kerelmek']); + $show = false; + for ($i = 0; $i < count($ADAT['kerelmek']); $i++) { + if ($ADAT['kerelmek'][$i]['jovahagyasDt']!='') { + $K['jh']++; + // A kérelmek a rögzítés dátuma szerint rendezettek, nem a jóváhagyás dátuma szerint! + if (!isset($jdt) || strtotime($jdt) < strtotime($ADAT['kerelmek'][$i]['jovahagyasDt'])) $jdt = $ADAT['kerelmek'][$i]['jovahagyasDt']; + } else $K['njh']++; + $show = true; + } + if ($show) { +/* echo '
    '; + echo '
    Kérelmek
    '; + echo '
    '; + echo "Várakozó kérelmek száma: "; + echo $K['jh'] . ' + '. $K['njh']; + if ($jdt !='') echo "
    Utolsó jóváhagyás: ".$jdt; + echo '
    '; + if (__NAPLOADMIN===true || __VEZETOSEG===true) + echo ''; + echo '
    '; +*/ + } + + echo '
    '; + for ($i = 0; $i < $dbKerelem && $i<$MAX; $i++) { + $_link = href('index.php?page=naplo&sub=hibabejelento&f=admin&kerelemId='.$ADAT['kerelmek'][$i]['kerelemId']); + $_K = $ADAT['kerelmek'][$i]; + $kerelemId = $_K['kerelemId']; + $_napja = round(((strtotime(date('Y-m-d H:i:s')) - strtotime($_K['rogzitesDt']))/(24*60*60))); + if ($_napja>60) $_napjaBg = '#f00; outline: solid 2px orange;'; else if ($_napja>7) $_napjaBg = '#f44336; outline: solid 2px red; '; else $_napjaBg = '#aaa'; + if ($_K['lezarasDt']!='') { + $_color = "#888"; + $_class="icon-paper-clip-alt"; + } elseif ($_K['jovahagyasDt']!='') { + $_color = "#64ce64"; + $_class="icon-ok-sign"; + } else { + $_color="#ce6464"; + $_class="icon-question-sign"; + } + echo '
    '; + echo '
    '; + echo '
    '.superdate($ADAT['kerelmek'][$i]['rogzitesDt']).'
    '; + echo ''; + echo '
    '.htmlspecialchars($ADAT['kerelmek'][$i]['valasz']).' '.$_K['jovahagyasAccount'].'
    '; + echo ''; + if (count($ADAT['valaszok'][$kerelemId])>0) { + $_V = $ADAT['valaszok'][$kerelemId]; + echo ''; + for ($j=0; $j'; + echo ''; + echo ''; + echo ''; + echo ''; + } + echo '
    '.superdate($_V[$j]['valaszDt']).''.$_V[$j]['userAccount'].''.supertext($_V[$j]['valasz']).'
    '; + } + echo '
    '; + } + echo '
    '; + + //if ($i!=$dbKerelem) + {echo ' + + '; + } + } + +?> diff --git a/mayor-orig/www/skin/ajax/module-naplo/html/orarend/orarend.phtml b/mayor-orig/www/skin/ajax/module-naplo/html/orarend/orarend.phtml new file mode 100644 index 00000000..cb12b8cf --- /dev/null +++ b/mayor-orig/www/skin/ajax/module-naplo/html/orarend/orarend.phtml @@ -0,0 +1,148 @@ +'."\n"; + echo ''."\n"; + for($ora=$ADAT['napiMinOra']; $ora<=$ADAT['napiMaxOra']; $ora++) { + echo ''; + echo ''.$ora.''; +// for ($nap=1; $nap<=$ADAT['hetiMaxNap']; $nap++) { // FIXME (getMaxNap) + $nap=date('w',strtotime($ADAT['dt'])); + $dt = $ADAT['orarend']['napok'][$nap]['dt']; + echo ''; + $het = 0; + $ORARENDI = array(); + for($i=0; $i'; + $_ferohely = $ADAT['termek'][$_T['teremId']]['ferohely']; + $_letszam = $ADAT['tankorLetszamok'][$_T['tankorId']]; + if ($_T['tankorId']!='') { + echo ''; + echo $ADAT['tankorok'][$_T['tankorId']][0]['tankorNev']; + echo ''; + } else { + echo "$_targyjel : $_osztalyJel : "; + } + echo ', '; + echo ''.$ADAT['termek'][$_T['teremId']]['leiras'].''; + echo '
    '; + if ($_ORA['kit']!='') { + echo ''; + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + echo ''; + if ($_ORA['ki']!='') echo ' '.$ADAT['tanarok'][$_ORA['ki']]['tanarNev']; + } else { + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + } + + if (isset($_ORA['oo'])) echo ' °'; // else tervezett + if ($_tankorTipus=='délutáni') echo ' ¹'; + + echo ''; + if (count($T[$nap][$ora]['orak'])>$i+1) echo '
    '; + } + /* és ide jönnek a pluszok */ + $j=0; + if (is_array($ADAT['haladasi']['orak'][$dt][$ora])) foreach ($ADAT['haladasi']['orak'][$dt][$ora] as $_tankorId => $__T) { + if (!is_array($ORARENDI) || !in_array($_tankorId,$ORARENDI)) { + if ($j!=0) echo '
    '; $j++; + $_ORA = $ADAT['haladasi']['orak'][$dt][$ora]; + _putOra($_ORA,$_tankorId); + } + } + echo ''."\n"; + //} + echo ''."\n"; + } + echo ''; + echo ''."\n\n\n\n"; + + } else { + //putOrarendPlain($ADAT); + echo '
    '._NO_TIMETABLE.'
    '; + + } + + + } + + function putOrarendPlain($ADAT) { + if (is_array($ADAT['orarend']['orarendiOra'])) { + foreach($ADAT['orarend']['orarendiOra'] as $het => $T) { + echo ''."\n"; + echo ''; + for($ora=$ADAT['napiMinOra']; $ora<=$ADAT['napiMaxOra']; $ora++) { // FIXME (getMinOra, getMaxOra konstansok!???) + echo ''; + echo ''; + for ($nap=1; $nap<=$ADAT['hetiMaxNap']; $nap++) { // FIXME (getMaxNap) + echo ''."\n"; + } + echo ''."\n"; + } + echo '
    '.$het.'. heti órarend
    '.$ora.''; + $X = $ADAT['orarend']['orarendiOra'][$het][$nap][$ora]; + + for ($i=0; $i'; + echo $X[$i]['targyJel'].' : '; + echo $X[$i]['osztalyJel'].' : '; + echo $X[$i]['teremId']; + echo ''; + } + echo '
    '."\n\n\n\n"; + } + } + } + + function _putOra($ORA,$_tankorId) { + global $ADAT; + $_ORA = $ORA[$_tankorId]; + $_tipusClass = str_replace(' ','_',$_ORA['tipus']); + $_eredetClass = $_ORA['eredet']; + echo '
    '; + + if ($ADAT['tankorok'][$_ORA['tankorId']][0]['tankorNev']!='') { + echo ''; + echo $ADAT['tankorok'][$_ORA['tankorId']][0]['tankorNev']; + echo ''; + + echo ', '.$ADAT['termek'][$_ORA['teremId']]['leiras']; + echo '
    '; + } else { + echo $_ORA['tipus'].' '.$_ORA['eredet'].' ('.$_ORA['feladatTipusId'].')
    '; + } + + + echo ''; + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + echo ''; + if ($_ORA['ki']!='') echo ' '.$ADAT['tanarok'][$_ORA['ki']]['tanarNev']; + + if (isset($_ORA['oo'])) echo ' °'; // else tervezett + + echo '
    '; + + } + + +?> diff --git a/mayor-orig/www/skin/blue/base/color_schemes.php b/mayor-orig/www/skin/blue/base/color_schemes.php new file mode 100644 index 00000000..68fcc9dc --- /dev/null +++ b/mayor-orig/www/skin/blue/base/color_schemes.php @@ -0,0 +1,93 @@ + '#3496B9', // a fő szín a felső sávban/menüben + 'login' => '#00c0ff', // bejelentkezés:hover, svg-k színe + 'active' => '#3facc7', // első szint aktív eleme, 3. szint alap,... + 'hover' => '#4fbcd7', // hover a menüben és almenüben + 'hover-color' => '#fdb933', // !! Betűszín - hover, aktív... + 'nav' => '#3fa79c', // a menü kinyíló része + 'nav2' => '#d2dfe9', // nav kettő, kinyitó fül, stb + ); + // yellow + $_COLOR_SCHEMES['yellow'] = array( + 'head' => '#B99634', + 'login' => '#ffc000', + 'active' => '#c7ac3f', + 'hover' => '#d7bc4f', + 'hover-color' => '#800', + 'nav' => '#9ca73f', + 'nav2' => '#e9dfd2', + ); + // red + $_COLOR_SCHEMES['red'] = array( + 'head' => '#B93234', + 'login' => '#ff4000', + 'active' => '#c7393f', + 'hover' => '#d73f4f', + 'hover-color' => '#fdb933', + 'nav' => '#9c383f', + 'nav2' => '#e9dfd2', + ); + // black + $_COLOR_SCHEMES['black'] = array( + 'head' => '#000000', + 'login' => '#000000', + 'active' => '#888888', + 'hover' => '#070f0f', + 'hover-color' => '#fdb933', + 'nav' => '#666666', + 'nav2' => '#e0e0e0', + ); + // nemzeti + $_COLOR_SCHEMES['nemzeti'] = array( + 'head' => '#006000', + 'login' => '#a00000', + 'active' => '#a00000', + 'hover' => '#ffffff', + 'hover-color' => '#ff0000', + 'nav' => '#666666', + 'nav2' => '#e0ffe0', + ); + // green + $_COLOR_SCHEMES['green'] = array( + 'head' => '#32B934', + 'login' => '#40ff00', + 'active' => '#39c73f', + 'hover' => '#3fd74f', + 'hover-color' => '#b9fd33', + 'nav' => '#389c3f', + 'nav2' => '#dfe9d2', + ); + // dark-blue + $_COLOR_SCHEMES['dark-blue'] = array( + 'head' => '#008', + 'login' => '#008', + 'active' => '#36a', + 'hover' => '#4ac', + 'hover-color' => '#fdb933', + 'nav' => '#44b', + 'nav2' => '#bcd', + ); + + function colorToRGBA($color, $opacity) { + if ($color[0] == '#') { + $hex = str_replace("#", "", $color); + if(strlen($hex) == 3) { + $r = hexdec(substr($hex,0,1).substr($hex,0,1)); + $g = hexdec(substr($hex,1,1).substr($hex,1,1)); + $b = hexdec(substr($hex,2,1).substr($hex,2,1)); + } else { + $r = hexdec(substr($hex,0,2)); + $g = hexdec(substr($hex,2,2)); + $b = hexdec(substr($hex,4,2)); + } + $rgb = array($r, $g, $b); + } else { + $rgb = explode(',', str_replace(' ','',substr($color,4,strlen($color)-1))); + } + return 'rgba('.implode(', ', $rgb).', '.$opacity.')'; + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/blue/base/css/base.css b/mayor-orig/www/skin/blue/base/css/base.css new file mode 100644 index 00000000..350a7f96 --- /dev/null +++ b/mayor-orig/www/skin/blue/base/css/base.css @@ -0,0 +1,209 @@ +/* + Module: base + + A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4) +*/ + +@media screen { + + html { height: 100%; } + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; } + #debug { + padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid; + position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px; + } + #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;} + #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0); + position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px; + border: 1px solid rgb(0,0,0); background: white; } + #help iframe { width: 1000px; height: 558px; margin: 0; border: none; } + #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; } + #hideHelp { + position: absolute; top:6px; right: 4px; + cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 16px; + border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25); + } + + a { text-decoration:none; } + .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; } + + div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: rgb(21,71,123); } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; } + + #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; } + #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; } + + #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: #3496B9 no-repeat right center; } + + #nav, #nav ul { list-style: none; } + #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; } + #nav li { position: relative; } +/*!*/ + #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px; + /* background: #47c980; background: #3facc7; */ background: #3fa79c; border-bottom: 1px solid #D2DFE9; } + #nav > li.active { max-width: 160px; } +/* #nav > li:nth-child(odd) { background: #929cb3; }*/ + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7;} +/*!*/ + #nav li.active { background: #3496B9; background: #3facc7; } + #nav li a { display: block; padding: 3px 10px; color: white; } +/* #nav > li > a { padding: 23px 40px; height: 60px; display: inline-block;} */ + #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; } + #nav li a:hover { color:#fdb933; } + #nav li:hover > ul { display: block; } +/* #nav li.over ul { display: block; }*/ + + #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; } + #nav ul.sub { background: #3facc7; } + + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } +/*!*/ + #nav > li > ul { top: 61px; } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; } + + #nav li.start { + height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px; + background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px; border-bottom: 0px; + z-index: 20; + } + + #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); } + #poz > li { padding: 2px 6px; } + #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; } + #poz > li div.nev span { margin-right: 0px; font-size:12px; } + #poz > li div.nev span:hover { color:#00c0ff; } + #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;} + + #settings { width: 300px; + margin-top: 5px; position:relative; right: 20px; + background: white; + box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px; + border: 1px solid rgb(230,230,230); + border-top-width: 0px; + } + #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px; + border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;} + #settings div p { margin: 0; padding: 0; text-align: center; } + #settings div p.name { font-weight: bold; } + #settings table { width: 100%; background: #D2DFE9; background: rgb(245,245,245);} + #settings td { width: 50%; text-align: center; padding: 10px; } + #settings td a { + display: inline-block; + vertical-align: baseline; line-height: 29px; + position: static; + padding: 0px 8px; height: 29px; margin: 0px 8px; + text-align: center; text-decoration: none; font-weight: bold; font-size: 10px; + background: white; color: #444; + border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px; + } + #settings td a:hover { border: #c6c6c6 1px solid; } + #poz > li span.school { + font-variant: small-caps; + font-size: 14px; + color: white; + letter-spacing: 0.4em; + overflow: hidden; + } + + #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;} + #nav1 div { background: rgba(52,150,185,0.6); } + #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background: #3496b9; margin-top: 1px; line-height: 14px; } + #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */} + #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */} + #nav1 div span.onClickHideShow { cursor: pointer; color: white; background: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; } + + #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%; + background-color: #D2DFE9; + + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + margin-top: -25px; + padding-top: 25px; + position: fixed; + overflow: auto; + top:83px; + } + #nav2.vertical ul { margin: 0; padding: 0; list-style: none; } + #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; } + #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; } + #nav2.vertical ul li a:hover { color: white; background: #9abcd8; } + + #nav2.horizontal { z-index: 1; width: 100%; + margin-top: 0px; + top: 83px; + text-align: center; + padding-top: 5px; padding-bottom: 5px; + position: fixed; + overflow: none; + border-bottom: solid 3px #eeeeee; + background-color: #82bfd5; + color: white; + font-size:x-small; + } + #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; } + #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; } + #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; } + #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; } + #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;} + #nav2.horizontal ul li a:hover { color: white; background: orange; } + #nav2.horizontal:hover { + + } + + div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; } + div.mayorfoot a { color: rgba(52, 150, 185, 0.6);} + div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);} + #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; } + #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 3px solid; border-radius: 10px;} + #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px #3496b9; } + #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;} + #updateWindow #updateCloseButton:hover { background : #eeeeee;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; width: 100px; } + #keyHelp td.desc { color: white; text-align: left; } + + #logo, #head, #nav1, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + + #mayorbody { padding-top: 1px; padding-right: 0px; + /*margin-left:0px;*/ margin-top: 83px; + } + #mayorbody.leftpad { + margin-left: 141px; } + #mayorbody.toppad { + margin-left: 0px; top:33px; position: relative; + } + +} +@media print { + #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; } +} diff --git a/mayor-orig/www/skin/blue/base/css/base.php b/mayor-orig/www/skin/blue/base/css/base.php new file mode 100644 index 00000000..36b8db17 --- /dev/null +++ b/mayor-orig/www/skin/blue/base/css/base.php @@ -0,0 +1,212 @@ +/* + Module: base + + A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4) +*/ +@media screen { + + html { height: 100%; } + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; } + #debug { + padding: 20px; background-color: rgba(0,0,0,0.7); color: yellow; border: 0px red solid; + position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px; + } + #debug pre { background-color: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;} + #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0); + position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px; + border: 1px solid rgb(0,0,0); background-color: white; } + #help iframe { width: 1000px; height: 558px; margin: 0; border: none; } + #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background-color: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; } + #hideHelp { + position: absolute; top:6px; right: 4px; + cursor: pointer; background-color: #822; color: white; padding: 2px 5px; font-size: 16px; + border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); + box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25); + } + + a { text-decoration:none; } + .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; } + + div.errorMsg { margin: 20px 20%; background-color: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: #00a; } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; } + + #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; } + #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; } + + #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: no-repeat right center; } + + #nav, #nav ul { list-style: none; } + #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; } + #nav li { position: relative; } +/*!*/ + #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px; background-color: ; border-bottom: 1px solid ; } + #nav > li.active { max-width: 160px; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; } + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background-color: ;} +/*!*/ + #nav li.active { background-color: ; } + #nav li a { display: block; padding: 3px 10px; color: white; } + #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; } + #nav li a:hover { color: ; } + #nav li:hover > ul { display: block; } + + #nav li.nav1szin { background-color: ; border-bottom: 1px solid white; } + #nav ul.sub { background-color: ; } + + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } +/*!*/ + #nav > li > ul { top: 61px; } + #nav ul > li { background-color: ; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color: ; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background-color: ; } + #nav ul ul a { background-color: ; } + #nav ul ul a:hover { background-color: ; } + + #nav li.start { + height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px; + background-color: ; border-right: 4px solid ; border-radius: 0px 30px 30px 0px; border-bottom: 0px; + z-index: 20; + } + + #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); } + #poz > li { padding: 2px 6px; } + #poz > li div.nev { float: right; padding: 2px; width: auto; color: ; text-align: right; } + #poz > li div.nev span { margin-right: 0px; font-size:12px; } + #poz > li div.nev span:hover { color:; } + #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;} + + #settings { width: 300px; + margin-top: 5px; position:relative; right: 20px; + background-color: white; + box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px; + border: 1px solid rgb(230,230,230); + border-top-width: 0px; + } + #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px; + border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;} + #settings div p { margin: 0; padding: 0; text-align: center; } + #settings div p.name { font-weight: bold; } + #settings table { width: 100%; background-color: rgb(245,245,245); } + #settings td { width: 50%; text-align: center; padding: 10px; } + #settings td a { + display: inline-block; + vertical-align: baseline; line-height: 29px; + position: static; + padding: 0px 8px; height: 29px; margin: 0px 8px; + text-align: center; text-decoration: none; font-weight: bold; font-size: 10px; + background-color: white; color: #444; + border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px; + } + #settings td a:hover { border: #c6c6c6 1px solid; } + #poz > li span.school { + font-variant: small-caps; + font-size: 14px; + color: white; + letter-spacing: 0.4em; + overflow: hidden; + } + + #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;} + #nav1 div { background-color: ; } + #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background-color: ; margin-top: 1px; line-height: 14px; } + #nav1 div a:hover { color: ; } + #nav1 div a.aktiv { color: ; } + #nav1 div span.onClickHideShow { cursor: pointer; color: white; background-color: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; } + + #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%; + background-color: ; + + background: -webkit-linear-gradient(top, 0%, 50%,#ffffff 100%); + background: -moz-linear-gradient(top, 0%, 50%,#ffffff 100%); + background: linear-gradient(top, 0%, 50%,#ffffff 100%); + margin-top: -25px; + padding-top: 25px; + position: fixed; + overflow: auto; + top:83px; + } + #nav2.vertical ul { margin: 0; padding: 0; list-style: none; } + #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; } + #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; } + #nav2.vertical ul li a:hover { color: white; background-color: #9abcd8; } + + #nav2.horizontal { z-index: 1; width: 100%; + margin-top: 0px; + top: 83px; + text-align: center; + padding-top: 5px; padding-bottom: 5px; + position: fixed; + overflow: none; + border-bottom: solid 3px #eeeeee; + background-color: #82bfd5; + color: white; + font-size:x-small; + } + #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; } + #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; } + #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; } + #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; } + #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;} + #nav2.horizontal ul li a:hover { color: white; background-color: orange; } + #nav2.horizontal:hover { + + } + + div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; } + div.mayorfoot a { color: rgba(52, 150, 185, 0.6);} + div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);} + #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; } + #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow { z-index: 152; position: fixed; background-color: rgb(255,255,255); min-height: 100px; min-width: 200px; border: 3px solid; border-radius: 10px;} + #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background-color: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px ; } + #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background-color: white; border: solid 3px ; border-radius: 20px;} + #updateWindow #updateCloseButton:hover { background-color: #eeeeee;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; width: 100px; } + #keyHelp td.desc { color: white; text-align: left; } + + #logo, #head, #nav1, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + + #mayorbody { padding-top: 1px; padding-right: 0px; + /*margin-left:0px;*/ margin-top: 83px; + } + #mayorbody.leftpad { + margin-left: 141px; } + #mayorbody.toppad { + margin-left: 0px; top:33px; position: relative; + } + +} +@media print { + #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; } +} diff --git a/mayor-orig/www/skin/blue/base/html/base.phtml b/mayor-orig/www/skin/blue/base/html/base.phtml new file mode 100644 index 00000000..ebe1161b --- /dev/null +++ b/mayor-orig/www/skin/blue/base/html/base.phtml @@ -0,0 +1,401 @@ + base.php + putValidXHTML() +*/ + + require('skin/blue/base/color_schemes.php'); + if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME])) + $_COLORS = $_COLOR_SCHEMES['blue']; + else + $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME]; + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpHeader(); + + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + _debugLayer(); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH, $SSSBB; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + + // debug üzenetek layer-ének lezárása +// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS; + + echo ''."\n"; + + $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login'])); + $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login'])); + // ------------------------ + + echo '
      '; + echo '
    • '; + if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE/*.' - '._MAIN_TITLE.'.'._MAYORREV*/); + echo ''._SCHOOL_NAME.''; + + if ($policy == 'public') { + echo '
      '.$down_svg.' '._LOGIN.''; + echo ''; + echo $loginout_img; + echo ''; + echo ''; + echo '
      '; + } else { + echo '
      '.$down_svg.' '._USERCN.''; + echo ''; + echo $loginout_img; + echo ''; + echo ''; + echo '
      '; + } // policy != punlic +//var_dump(substr($_SERVER["REQUEST_URI"],0,strpos($_SERVER["REQUEST_URI"],'sessionID='))); + + echo '
    • '; + echo '
    '; + + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; + + + _updateWindow(); + _keyHelp(); + + //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; + elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + + if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE; +// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) +// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + +echo ''; + + echo "\n"; + echo ''."\n\n"; + + mayor_menu($MENU,$sessionID,$lang,$skin); + echo ''; + echo ''; + if ($HOME_LOGO_BADGE!='') echo ''; + echo ''; + + + echo "\n"; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal'; + echo ''."\n\n"; + +} + + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + + +?> diff --git a/mayor-orig/www/skin/blue/base/img/favicon.ico b/mayor-orig/www/skin/blue/base/img/favicon.ico new file mode 100644 index 00000000..5720d1ed Binary files /dev/null and b/mayor-orig/www/skin/blue/base/img/favicon.ico differ diff --git a/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..ca42a8d0 Binary files /dev/null and b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig new file mode 100644 index 00000000..c2b3d41b Binary files /dev/null and b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig differ diff --git a/mayor-orig/www/skin/blue/module-auth/css/login.css b/mayor-orig/www/skin/blue/module-auth/css/login.css new file mode 100644 index 00000000..872d000f --- /dev/null +++ b/mayor-orig/www/skin/blue/module-auth/css/login.css @@ -0,0 +1,46 @@ +@media screen { + +div.mayorbody img { border-width: 0px; } +div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } +div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } +div.mayorbody table { font-size: 12px; } +div.mayorbody table.main {width: 100%; border-width: 0px;} +div.mayorbody table.loginablak { + background-color: #ffffff; + border-width: 1px; + border-style: solid; + border-color: #555550; + width:400px} +div.mayorbody td { padding: 2px } +div.mayorbody form { margin: 30px;padding: 0px; } +div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +div.mayorbody select.pp>option { border: none 0px black; } +div.mayorbody input.submit { border: solid 1px #776650; } +div.mayorbody table.loginablak thead td { + background-color: #666690; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + border-bottom: solid 1px white; +div.mayorbody } +div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; } + +div.mayorbody tfoot td { background-color: #888880; text-align: center; } +div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } +div.mayorbody img.aauthImg { + border-top: solid 1px #666690; + border-bottom: solid 1px #888880; + border-left: solid 1px #666690; + border-right: solid 1px #888880; +} +#warning { height: 40px; } +#capsLockWarning { + background: #ffffaa; color: #ffaaaa; + text-align: center; font-size: 20px; font-weight: bold; + padding: 20px; margin: 10px auto; width: 300px; +} + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/base/css/base.css b/mayor-orig/www/skin/classic/base/css/base.css new file mode 100644 index 00000000..66f74645 --- /dev/null +++ b/mayor-orig/www/skin/classic/base/css/base.css @@ -0,0 +1,752 @@ +@media screen { + + html { height: 100%; } + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; } + a { text-decoration:none; } + .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; } + .input {outline: none;} + + /* mayorlayers */ + #debug { + padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid; + position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px; + } + #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;} + + #help { + border-radius: 2px; + box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0); + position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px; + border: 1px solid #888888; background: white; } + #help iframe { width: 1000px; height: 558px; margin: 0; border: none; } + #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px; + border-bottom: #f3f3f3 solid 4px; + } + #hideHelp { + position: absolute; top:4px; right: 4px; + cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px; + border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); +/* box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);*/ + } + #hideHelp:hover { background-color:red;} + + div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: rgb(21,71,123); } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; color: rgba(0,0,0,0.8); } + + div#mayorErrorSmall span { padding:4px 4px;} + div#mayorErrorSmall span.errorMsg { color:red; } + div#mayorErrorSmall span.infoMsg { color:rgb(21,71,123); } + + #mayorSearch { + z-index:4; + position: fixed; + width: 500px; + max-height: 500px; overflow:auto; + padding: 10px; + border: 5px solid #ccc; + border-radius: 2px; + background-color: #fff; + top: 30%; + left: 50%; + margin-top: -100px; + margin-left: -250px; + box-shadow: 0px 1px 100px 30px rgba(101,101,101,0.9); + } + #mayorSearch input { + overflow:none; + font-size:30px; + width: 99%; + height: 50px; + padding: 0px 0px 0px 0px; + margin: 0px; + border-style: solid; + border-width: 0px 0px 1px 0px; + border-color: #dddddd; + outline: none; + } + + #mayorSearch a { display: block; color: cornflowerblue; padding: 2px; font-size: 13px; } + #mayorSearch a:before { content:' \25AB '; } + #mayorSearch a:hover { text-decoration: underline; } + #mayorSearch a.aktiv { outline: solid 2px cornflower; } + #mayorSearch a.aktiv:before, #mayorSearch a:hover:before { content:' \25AA '; } + + div.inlinehelp { position: relative; display: inline-block; color:#446688; } +/* div.inlinehelp span.onClickHideShow { padding: 1px 6px; border-radius: 14px; border: #68a solid 1px; color: #468; font-weight: bold; font-size: 10px;}*/ + div.inlinehelp span.onClickHideShow { font-size: 10px; color: #446688;} + div.inlinehelp p { + width: 200px; position: absolute; display: inline-block; top: -15px; left: 35px; z-index: 1000; + background-color: #ffa; + border: solid 1px #888; padding: 4px; border-radius: 2px; + font-weight: normal; text-align: left; white-space: pre-wrap; + } + div.inlinehelp span.onClickHideShow:hover { color: rgb(106,128,250); } + + /* mayorhead */ + /* placeholder */ + #head { z-index: 2; position: absolute; width: 100%; height: 60px; + background-color: #3496B9; + } + + #mayorhead { } + + #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; } + #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; } + + #nav, #nav ul { list-style: none; } + #nav { z-index: 3; margin: 0px; + padding-left: 140px; + } + + #nav li { position: relative; } + #nav > li { float: left; z-index: 20; text-align: center; padding: 0; +/* background-color: #3fa79c; */ + background-color: #3496B9; + border-bottom: 0px solid #D2DFE9; + /* border-bottom: 1px solid rgb(165,190,200);/* */ + } + #nav > li.active { max-width: 160px; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7; + background-color: #3FA79C; + } + #nav li.active { background: #3facc7; } + + #nav li a { display: block; padding: 3px 10px; color: white; } + #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 70px; + -webkit-transition: all 0.1s ease; + transition: all 0.1s ease; + } + #nav li a:hover { color: orange; } + #nav li:hover > ul { display: block; } + + #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; } + #nav ul.sub { background: #3facc7; } + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } + + #nav > li > ul { top: 60px; border-top: solid 4px rgba(255,255,255,0.4); } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */ + + #nav li.start { /* fogó */ + height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px; + margin-top:20px; + background-color:lightgrey; + border-radius: 0px 50px 50px 0px; border-bottom: 0px; + z-index: 20; + } + + #nav:hover li.start { + animation: moIn 0.1s; -webkit-animation: moIn 0.1s; + } + + #nav li.start:hover { + background: #D2DFE9; + padding-left:9px; + } + + #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; + height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); + border-top: rgb(247, 197, 14) solid 4px; + animation-name: niceMaYoR; + animation-duration: 30s; + animation-iteration-count: 4; + animation-direction: alternate; + animation-timing-function: ease-in-out; + animation-delay: 60s; + } + + #poz > li { padding: 2px 6px; } + #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; } + #poz > li div.nev span { margin-right: 0px; } + #poz > li div.nev span:hover { color:rgb(70, 130, 180);/*color:#00c0ff;*/ } + #poz > li div.nev a { color: #3496b9;} + +/* #poz > li div.nev span.icon-googleplus, #poz > li div.nev span.icon-facebook { color:#aaa; }*/ + #poz > li div.nev.googleapi span.icon-googleplus { color: #f44336;} + #poz > li div.nev.fbconnect span.icon-facebook { color: #3B5998;} + + #poz > li a { margin-right:4px; margin-left:4px; padding:0px; margin-top:0px; vertical-align: top;} + + #settings { + width: 100%; + margin-top: 5px; position:relative; right: 0px; + background: #eeeeee; + border-width: 0px 1px 1px 1px; + border-style: solid; + border-color: rgb(230,230,230); + border-top: dotted 1px #dddddd; + } + #settings div { + padding: 20px 10px; + border-bottom: 1px solid rgb(230,230,230); + } + #settings div p { margin: 0; padding: 0; text-align: center; } + #settings div p.name { font-weight: bold; } + #settings table { width: 100%; background: rgb(245,245,245);} + #settings table:hover { box-shadow: 0px 0px 100px #eeeeee;} + #settings td { width: 50%; text-align: center; padding: 10px; } + #settings td a { + display: inline-block; + vertical-align: baseline; line-height: 29px; + position: static; + padding: 0px 8px; height: 29px; margin: 0px 8px; + text-align: center; text-decoration: none; font-weight: bold; font-size: 10px; + background: white; color: #444; + border: solid 1px rgba(0, 0, 0, 0.0976563); + border-radius: 2px; + } + #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; } + + #poz > li span.school { + font-variant: small-caps; + font-size: 14px; + color: rgb(125,150,160); + /* font-weight: bold; */ + letter-spacing: 0.16em; + overflow: hidden; + white-space:nowrap; + } + #poz > li span.school:hover { text-shadow: 0 0 0.2em #eee, 0 0 0.2em #eee; color: #666; cursor: default; } + + #nav1 { z-index: 3; position: absolute; margin-left: 290px; margin-right: 0px; width: 100%; + + } + #nav1 div { background: rgba(52,150,185,0.6); } + #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff; + background: #3496b9; margin-top: 0px; + } + #nav1 div a:hover { color: #fdb933; + background-color: ; + box-shadow: inset 0px -3px 0px #44CBF8; + } + #nav1 div a.aktiv { color:#fdb933; } + #nav1 div a.aktiv:hover { color: white; } + + #nav1 div span.onClickHideShow { + display:none; + cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px; + padding: 0px 12px 0px 12px; float: right; margin-right: 290px/* annyi, amennyi a #nav1 bal margója!*/; } + + #nav2.vertical { + z-index: 1; width: 140px; margin: 0; height: 100%; + background-color: #D2DFE9; +/* margin-top: -25px; + padding-top: 25px; +*/ position: fixed; + overflow: auto; + top:88px; + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + } + #nav2.vertical ul { margin: 0; padding: 0; list-style: none; } + #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li a { display: block; color: black; font-size: 11px; text-decoration: none; padding: 6px 6px; width:128px; } + #nav2.vertical ul li a.aktiv { background-color: white; } + #nav2.vertical ul li a:hover { color: white; background: #9abcd8; } + + #nav2.horizontal { + z-index: 1; width: 100%; + margin-top: 0px; + top: 88px; + text-align: center; + padding-top: 5px; padding-bottom: 5px; + position: fixed; + overflow: none; + border-bottom: solid 3px #eeeeee; + background-color: #82bfd5; + color: white; + font-size:x-small; + } + #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; } + #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; } + #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; } + #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; } + #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;} + #nav2.horizontal ul li a:hover { color: white; background: orange; } + #nav2.horizontal:hover li { } + + div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; } + div.mayorfoot a { color: rgba(52, 150, 185, 0.6);} + div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);} + #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; } + #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + + #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 2px solid; border-radius: 4px; left:20%; right:20%;} +/* #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 4px; margin: 0 50px; border: solid 2px #3496b9; }*/ + #updateWindow #updateHeader { min-height: 30px; min-width: 100px; background: #1a4c5c; color: white; + font-size:16px;text-align: center; line-height:30px; margin: 0 0px 10px 0px; border-bottom: solid 2px rgb(247, 197, 14); /*#3496b9*/ } + #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;} + #updateWindow #updateCloseButton:hover { background : #eeeeee;} + #updateHeader { cursor: pointer; } + #updateForm { max-height: 100%; overflow: auto; } + + + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; width: 100px; } + #keyHelp td.desc { color: white; text-align: left; } + + #logo, #head, #nav1, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + + #mayorbody { padding-top: 1px; padding-right: 0px; + /*margin-left:0px;*/ margin-top: 88px; + } + #mayorbody.leftpad { margin-left: 141px; } + #mayorbody.toppad { margin-left: 0px; top:33px; position: relative;} + + /* alternates */ + #mayorhead.small #nav1 div a { line-height:30px; } + #mayorhead.small #nav > li > a { line-height:30px;} + #mayorhead.small #head { height:30px;} + #mayorhead.small #poz { height:20px;} + + /* ------------ */ +/* #mayorerror {z-index:100;position:fixed; bottom:0px; min-height:88px; width:100%;background-color: rgba(255,20,147,0.9); border-bottom: solid 1px red; display:none;}*/ + + #nav2 .icons span { padding: 0px 6px; vertical-align:middle; cursor:pointer} + #nav2.vertical .icons { height:26px; color: lightslategrey;} + #nav2.vertical .icons span { font-size:11px; display:table-cell; padding-top:8px;} + #nav2.vertical .icons span:hover {color:white;} + + #nav2.horizontal .icons {display:inline; float:left; padding-top:3px; height:100%;} + #nav2.horizontal .icons span { font-size:11px; display:inline; padding-top:0px; color: white; border: dotted 1px lightblue; padding:3px; margin:0px 2px; background-color: rgba(100,100,100,0.1);} + #nav2.horizontal .icons span:hover {color:orange;} + + #nav2 ul li.fullmenuitem { display:none } + + #nav2fullmenu.aktiv { color: rgb(30, 144, 255);} + #nav2fullmenu.aktiv:hover { color: rgb(60,174,255) !important;} + + #mayorGlobalLogin { + /*background-color: rgba(0, 0, 0, 0.6); */ + padding:0px 0px 0px 0px; z-index: 100; position:fixed; top:0px; right:0px; height:60px; max-height:60px; } + #mayorGlobalLogin span { color:#eeeeee; padding-right:0px; } + #mayorGlobalLogin span.failed { color: rgb(255,215,0);; text-shadow: 0px 0px 2px #ff0000;} + #mayorGlobalLogin:hover span.failed { color: rgb(255,235,0); } + + #mayorGlobalLogin form.fb button:hover span { color: #3B5998; } + #mayorGlobalLogin form.googleapi button:hover span { color: red; } + + #mayorGlobalLogin div.large { font-size:40px; padding:10px; color: #eeeeee;} + #mayorGlobalLogin div.large:hover { font-size:40px; padding:10px; color: white; } + + #mayorGlobalLogin input[type=text] { width:100px; } + #mayorGlobalLogin input[type=password] { width:100px; } + + /* add default */ + #mayorGlobalLogin form input {margin:2px;} + #mayorGlobalLogin table { height:60px;} + + #mayorGlobalLogin form button.api { + background-color: inherit; + border: solid 0px #fff; + padding: 0px; + font-size: 24px; + margin-top: 2px; + } + #mayorGlobalLogin.restricted { background-color: #F06; } + + + + #mglFBconnect.FBstatusunknown { /*color: #aaa;*/ } + #mglFBconnect:after { content: " "; + margin-left:4px;display: inline-block; width:8px; + height:8px;border-radius: 8px;border: solid 1px white; background-color:#888; + } + #mglFBconnect:hover:after {} + #mglFBconnect.FB2:after {background-color:lightgreen;} + #mglFBconnect.FB1:after {background-color:orange;} + #mglFBconnect.FB0:after {background-color:red;} + + #mayorErrorHide {color: rgb(90, 133, 184); cursor:pointer;} + #mayorErrorHide:hover {color: rgba(52, 150, 185, 0.6);} + + .hidden { display:none } + + #ui-datepicker-div {position: relative; z-index:4 !important;} + + #mayorErrorSmall.mayorErrorSmallInfo { + overflow:hidden; + line-height:22px; + border-bottom: solid 4px rgb(106,128,250); + border-top: solid 4px lightblue; + padding:0px; height:20px; width:100%; + background-color:rgba(250,250,250,0.9); position:fixed; + top:60px;left:0px; z-index:3 + } + + #mayorErrorSmall.mayorErrorSmallError { + overflow:hidden; + line-height:22px; + border-bottom: solid 4px red; + border-top: solid 4px orange; + padding:0px; height:20px; width:100%; + background-color:rgba(250,250,250,0.9); position:fixed; + top:60px;left:0px; z-index:3 + } + + +/* .nyitva2 { width:390px !important; }*/ + + #updateWindowSide { + z-index: 152; + position: fixed; + background-color: rgba(73, 71, 71,0.92); + border-left: solid 0px black; + padding:4px; + color:white; + right: -368px; + width: 360px; + top:60px; + bottom:0; + overflow-y: auto; + border-top : solid 4px grey; + transition: all 300ms ease; + } + #updateWindowSide.nyitva { right:0px; } + #updateWindowSide h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; } + #updateWindowSide h1 div { font-size:16px; min-height: 20px; } + #updateWindowSide h1 span#btn_updateWindowSideClose { float:left; font-size:18px; cursor: pointer; } + #updateWindowSide h1 span#btn_updateWindowSideClose:hover { color: #777777; } + #updateWindowSide a {color: inherit; } + #updateWindowSide a:hover {color: inherit; } + + #updateWindowSideSub { + z-index: 153; + position: fixed; + background-color: rgba(100, 100, 100, 0.98); + border-left: solid 0px black; + padding:4px; + color:white; + right: -368px; + width: 360px; + top:60px; + bottom:0; + overflow-y: auto; + border-top : solid 4px #eee; + transition: all 300ms ease; + } + #updateWindowSideSub.nyitva { right:0px; } + #updateWindowSideSub h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; } + #updateWindowSideSub h1 div { font-size:16px; min-height: 20px; } + #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float:left; font-size:18px; cursor: pointer; } + #updateWindowSideSub h1 span#btn_updateWindowSideSubClose:hover { color: #777777; } + #updateWindowSideSub a {color: inherit; } + #updateWindowSideSub a:hover {color: inherit; } + + #mayorNaviIconHolder { text-align:center; display:table; width:100%; border-bottom: solid 1px white; font-size:12px; } + div.mayorNaviIcon { display:inline-block; text-align:center; padding: 10px 5px 5px 5px; margin-right:4px; border-width:0px 0px 0px 0px; border-style: solid; border-color:white;} + div.mayorNaviIcon a { color:inherit; text-decoration: none; display:inline-block;} + div.mayorNaviIcon span { font-size:16px; } + div.mayorNaviIcon:hover { background-color: cornflowerblue; cursor:pointer; text-shadow: 0px 0px 1px blue;} + + #nav, #nav1,#nav2 {display:visible;} + #mayorIcons { height: 26px; color: #789; } + #hamburgerIcon { +display:none; +color:#D2DFE9; font-size:20px;z-index:100000; +margin-left:0px; +position:fixed; +top:0px; +padding:0px 8px; +cursor: pointer; +vertical-align: middle; +border-radius:1px; +border: solid 0px #eee; + } + #hamburgerIcon span { line-height:60px; } + #hamburgerIcon:active {color:white;} + #hamburgerIcon.nyitva { + color:white; + } + + .hamburger { display:none; + position:fixed; z-index:1000; top:0px; left:0px; + padding: 15px 15px; + cursor: pointer; + transition-property: opacity, -webkit-filter; + transition-property: opacity, filter; + transition-property: opacity, filter, -webkit-filter; + transition-duration: 0.15s; + transition-timing-function: linear; + font: inherit; + color: inherit; + text-transform: none; + background-color: transparent; + border: 0; + margin: 0; + overflow: visible; + } + + /* author Jonathan Suh jonsuh + mayor.hu */ + /* https://github.com/jonsuh/hamburgers */ + .hamburger:hover { opacity: 0.7; } + .hamburger-box {width: 20px;height: 30px;display: inline-block;position: relative;} + .hamburger-inner {display: block;top: 50%;margin-top: -2px;} + .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { + width: 20px;height: 3px; + background-color: #eee; + border-radius: 2px;position: absolute; + transition-property: -webkit-transform; + transition-property: transform; + transition-property: transform, -webkit-transform; + transition-duration: 0.15s; + transition-timing-function: ease; + } + .hamburger-inner::before, .hamburger-inner::after {content: "";display: block;} + .hamburger-inner::before { top: -7px; } + .hamburger-inner::after { bottom: -7px; } + + /* Squeeze */ + .hamburger--squeeze .hamburger-inner { + transition-duration: 0.1s; + transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + .hamburger--squeeze .hamburger-inner::before { transition: top 0.1s 0.14s ease, opacity 0.1s ease;} + .hamburger--squeeze .hamburger-inner::after { + transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + .hamburger--squeeze.is-active .hamburger-inner { + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + transition-delay: 0.14s; + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + .hamburger--squeeze.is-active .hamburger-inner::before {top: 0;opacity: 0;transition: top 0.1s ease, opacity 0.1s 0.14s ease;} + + .hamburger--squeeze.is-active .hamburger-inner::after { + bottom: 0; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + } + /* end of hamburger */ + + #mayorNav { + width:100%; + position:absolute; + z-index:1; + background-color: #37699d; /* #82bfd5; */ + opacity:1; + padding-bottom:1em; + border-bottom: solid 4px #F7C50E; + } + + #mayorNav { color:#fff; } + #mayorNav a { color:#fff; } + #mayorNav a:hover { color:white; } + #mayorNav ul {list-style-type: none; } + #mayorNav>ul>li { margin-bottom:1.4em; font-size:16px; padding-bottom:1em;} + #mayorNav>ul>li>a { font-size: large; border-bottom: solid 1px #eee; } + #mayorNav>ul>li>a:first-child { line-height:2em;} + #mayorNav ul li a:active { background-color: #303F9F;} + #mayorNav ul li {line-height:2em; } + + #mayorNav div.mayorNavIcons { + width:100%; + text-align: center; + } /* ALERT! elnevezés */ + #mayorNav div.mayorNavIcons div { + background-color: ; display: inline-block; text-align:center; padding:14px; + } + #mayorNav div.mayorNavIcons div:active { background-color: orange; } + #mayorNav div.mayorNavIcons div:hover { background-color: orange; } + #mayorNav div.mayorNavIcons div span { font-size:x-large;} + div.mayorLogo a img { + -webkit-transition: margin 1s; + transition: margin 1s; + } + + div.arckep--container { display:inline-block; position: relative;overflow: hidden;border: solid 2px #fff; color: white; border-radius: 50%;} + div.arckep--container img {width: 100%; height: auto; filter: grayscale(100%)}; + div.arckep--container:hover { border: solid 2px orange; } + div.arckep--container img:hover { filter: grayscale(10%)}; + + div.arckepContainer { + position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white; + } + div.arckepContainer span { + border-radius: 50%;border: solid 2px #fff; color: white; + height:50px; min-height:50px; width:50px; min-width:50px; background-color: #ddd; + font-size:20px; + display: flex; + justify-content: center; + align-items: center; + } + div.arckepContainer.osztalyAdat:hover span { background-color: #8cc864; } + div.arckepContainer.diakNev:hover span { background-color: #ff8c00; } + div.arckepContainer.tankorAdat:hover span { background-color: #aca; } + + div.arckepContainer.square, + div.arckep--container.square, + div.arckepContainer.square span { border-radius: 0px; transition: all 0.1s ease;} + + div.arckepContainer.classic, + div.arckep--container.classic, + div.arckepContainer.classic span { border-radius: 0px; + height:66px; min-height:66px; width:50px; min-width:50px; + } + + div.arckepContainer.size_s { height:32px;width:32px;min-height:32px;min-width:32px;font-size:15px; } + div.arckepContainer.size_s span {height:30px;width:30px;min-height:30px;min-width:30px;font-size:13px;} + div.arckepContainer {display: inline-block !important;} + div.arckep--container {display: inline-block !important;} + + div._dotHolder {text-align:center; width:90%; margin:auto; padding:10px 0px;vertical-align:middle;} + div._dot {background-color:#eee;display: inline-block;border-radius: 50%;height:10px; width:10px;} + div._dot:hover {background-color:cornflowerblue !important;} + div._dotHolder:hover div._dot {background-color:#ccc;} + + div.arckepContainer:hover span { border: solid 2px orange; } + +} +@media print { + #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge, #mayorGlobalLogin, #updateWindowSide, #updateWindowSideSub, #mayorErrorSmall, .noprint { display: none; } + div.arckep--container {display: none;} + div.arckepContainer {display: none;} +} + +@media (max-width: 900px) { + #nav>li a {padding:0px 8px;} +} +@media (max-width: 850px) { + #nav>li a {width:70px; padding:0px 4px;} +} +@media (max-width: 764px) { + + .input {outline: none;} + .school { display: none; } + #nav, #nav1, #nav2 { display: none;} + #nav2>ul:not(:first-child) {display:none;} + #mayorbody { margin-left:0px; } + #mayorbody.toppad { margin-left: 0px; top:0px; position: relative;} + #hamburgerIcon {display:block;} + div.mayorLogo a img { margin-left:40px; } + + #mayorSearch { + z-index:4; + position: fixed; + width: 99%; + padding: 0px; + border: 5px solid #ccc; + border-radius: 2px; + background-color: #fff; + top: 120px; + left: 0px; + margin-top: 0px; + margin-left: 0px; + box-shadow: 0px 1px 100px 10px rgba(101,101,101,0.9); + } + #mayorSearch a { font-size:16px; line-height:16px; padding:8px; } + + .hamburger { display: inline-block;} + div.arckepContainer {display:none;} + div.arckep--container {display:none;} + + #updateWindowSide input[type="color"], + #updateWindowSide input[type="date"], + #updateWindowSide input[type="datetime"], + #updateWindowSide input[type="datetime-local"], + #updateWindowSide input[type="email"], + #updateWindowSide input[type="month"], + #updateWindowSide input[type="number"], + #updateWindowSide input[type="password"], + #updateWindowSide input[type="search"], + #updateWindowSide input[type="tel"], + #updateWindowSide input[type="text"], + #updateWindowSide input[type="time"], + #updateWindowSide input[type="url"], + #updateWindowSide input[type="week"], + #updateWindowSide select, + #updateWindowSide select:focus, + #updateWindowSide textarea { + font-size: 16px; + } + #updateWindowSide, #updateWindowSideSub { + overflow: scroll; + -webkit-overflow-scrolling: touch; + font-size: 16px; + } + #updateWindowSide.nyitva, #updateWindowSideSub.nyitva { + width: 360px; + background-color: #494747; + } + + #updateWindowSide h1 span#btn_updateWindowSideClose { float: left; font-size: 20px; cursor: pointer; } + #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float: left; font-size: 20px; cursor: pointer; } +} +@media (max-width: 350px) { + div#mayorGlobalLogin form.passwordAuth span {display:none;} +} + +@keyframes niceMaYoR { + 0% { border-top: rgb(247,197,14) solid 4px; } + 100% { border-top: rgb(147,197,214) solid 4px; } +} + +@keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} +@-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} +@keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} +@-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} + +.mayorLoader { + background: linear-gradient(270deg, #E6E6E6, #E6E6E6, #7D96A0, #E6E6E6, #E6E6E6); + background-size: 400% 400%; + -webkit-animation: mayorLoaderAnim 4s ease infinite; + -moz-animation: mayorLoaderAnim 4s ease infinite; + -o-animation: mayorLoaderAnim 4s ease infinite; + animation: mayorLoaderAnim 4s ease infinite; +} + +@-webkit-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@-moz-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@-o-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + + + diff --git a/mayor-orig/www/skin/classic/base/html/alert.phtml b/mayor-orig/www/skin/classic/base/html/alert.phtml new file mode 100644 index 00000000..ae3379cb --- /dev/null +++ b/mayor-orig/www/skin/classic/base/html/alert.phtml @@ -0,0 +1,85 @@ +'.$aType.':'.$aCode.''; + else $msg = $ALERT_MSG[$aCode]; + + // paraméter behelyettesítés + for($i = 0; $i < count($param); $i++) { + $_msg = $msg; + $msg = @str_replace("%$i%",''.($param[$i]).'',$msg); + if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.($param[$i]).','; + } + if ($pstr != '') $msg .= '
    ' . substr($pstr,0,-1) . ''; + if (($aType == 'message') or ($aType == 'page')) { + $title = _ERROR; + $class = 'errorMsg'; + if ($aType == 'page') $showPage = false; + $sign=''; + $hasError = true; + } else { + $title = _INFORMATION; + $class = 'infoMsg'; + $sign=''; + $hasInfo = true; + } + $class .= ' hidden'; + + $msg = ''.$title.' ['.$j.']: ' . $msg; + //echo '
    '.str_replace('***','
    ',$msg).'
    '."\n"; + + $x .= $sign.str_replace('***',' ',str_replace('
    ',' ',$msg))."
    \n"; + + // Függetlenül attól, hogy milyen paramétert kaptunk a $_SESSION['alert']-et üresre állítjuk + $_SESSION['alert'] = array(); + } + + if ($hasInfo==true && $hasError==false) { + echo '
    '.$x.'
    '; + } else { + echo '
    '.$x.'
    '; + } + + return $showPage; + + } + +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/base/html/base.phtml b/mayor-orig/www/skin/classic/base/html/base.phtml new file mode 100644 index 00000000..e482d4e6 --- /dev/null +++ b/mayor-orig/www/skin/classic/base/html/base.phtml @@ -0,0 +1,618 @@ + base.php + putValidXHTML() + + Felhasználtuk: http://projects.lukehaas.me/css-loaders/ + +*/ + + require('skin/blue/base/color_schemes.php'); // blue? !!!!!!!!!!!!???????????????? + if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME])) + $_COLORS = $_COLOR_SCHEMES['blue']; + else + $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME]; + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpHeader(); + + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + _debugLayer(); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH, $SSSBB; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + + // debug üzenetek layer-ének lezárása +// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo _SITE.' - '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + includeSocial($page,$sub,$f); + + if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo ''."\n".''."\n"; + if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS,$NAV; +// echo '
    '; + echo '
    '; + + echo ''."\n"; + + // ------------------------ + + + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; + + _updateWindow(); + _updateWindowSide(); + _keyHelp(); + _searchLayer(); + + echo '
    '; + mayorGlobalLogin(defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='') ); + + //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; + elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + + if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE; +// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) +// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + + echo ''; + + echo "\n"; + echo ''."\n\n"; + + mayor_menu($MENU,$sessionID,$lang,$skin); + + + echo ''; + + /* ----------------- POZ ----------------- */ + $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login'])); + $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login'])); + echo '
      '; + echo '
    • '; + if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE); // TODO - ? + echo ''._SCHOOL_NAME.''; + // if ($policy == 'public') { + if (defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='')) { + + echo '
      '; + //echo $down_svg.' '._LOGIN.''; + echo ''; + echo _LOGIN; + echo ''; + echo $loginout_img; + + // echo ''; + echo '
      '; + } else { + $_class = $_profileImg =''; + if ($_SESSION['googleapi_object']['picture']!='') { +// $_profileImg = ''; + $_class = 'googleapi'; + } + if ($_SESSION['facebook_access_token']!='') { +// echo ''; + $_class = 'fbconnect'; + } + echo '
      '; + + echo ''; + echo ''; + echo ''; + + echo ''._USERCN.''; + //echo ''; + //echo $loginout_img; + //echo ''; + echo ' '; + echo ''; + + echo '
      '; + } // policy != public + echo '
    • '; + echo '
    '; + // ------------- POZ ------------ + + + echo "\n"; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal'; + echo ''."\n\n"; + echo '
    '."\n"; + + mayor_menu_full($MENU); + mayor_breadcrumb(); + +} + + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + +function mayor_menu_full($MENU,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { // TESTING ONLY + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS, $NAVI; + + echo ''; + } + echo '
      '."\n"; + if (is_array($MENU)) { + $active_page=false; + foreach ($MENU as $aModule => $pItems) { + if ($aModule != 'modules') { + for ($i = 0; $i < count($pItems); $i++) { + if ($page == $aModule and + ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) ) + ) { + echo '
    • '; + $active_page=true; + } else { + echo '
    • '; + + } + if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') { + if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']); + elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array()); + elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']); + else $href = href($pItems[$i]['url']); + } else { + $href = href("index.php?page=$aModule"); + } + echo '' + .$pItems[$i]['txt'] + .''."\n"; + // --- sub --- + + @$pageArray = $MENU['modules'][$aModule]; + + if (is_array($pageArray) && count($pageArray)>0) { + echo '
        '."\n"; + foreach ($pageArray as $aSub => $sItems) { + if ($aSub != 'sub') { + for ($j=0;$j'; $activeSub = true; + } else { + echo '
      • '; $activeSub = false; + } + if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') { + if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']); + elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array()); + elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']); + else $href = href($sItems[$j]['url']); + } else { + $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin')); + } + @$subArray = $MENU['modules'][$aModule]['sub'][$aSub]; + if (!is_array($subArray) || count($subArray) == 0) { + echo '' + .$sItems[$j]['txt'].''; + } else { // vannak al-al menúk (f - menü) + echo '' + .$sItems[$j]['txt'].''; + // -- f menü -- + echo '
          '."\n"; + + foreach ($subArray as $anF => $items) { + for ($k=0;$k'."\n"; } + else { echo '
        • '."\n"; } + + if (isset($items[$k]['url']) && $items[$k]['url'] != '') { + if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']); + elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array()); + elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']); + else $href = href($items[$k]['url']); + } else { + $href = href("index.php?page=$aModule&sub=$aSub&f=$anF"); + } + echo ' ' + .$items[$k]['txt'].' '."\n"; + + echo '
        • '."\n"; // al-al menüpont vége (f) + } // for - on items + } // foreach - on subArray + + echo '
        '."\n"; // fmenu + } // vannak al-al menük (f -menü) + + echo '
      • '."\n"; // almenü-pont vége (sub) + } // for - on sItems + } // ha nem sub == aSub + } // foreach pageArray + echo '
      '."\n"; // submenu + } // vannak almenük (sub) + echo '
    • '."\n"; // menüpont vége (page) + } // for - on pItems + } // ha aModule != 'modules' + } // foreach on MENU + } + echo '
    '."\n"; + echo ''."\n"; + + // ------------------------ + + + +} + +function mayor_breadcrumb() { // TESTING ONLY + + return false; + global $MENU,$page; + echo ''; +} + +//dump(array_keys($MENU)); +//dump($MENU['modules']); + // naplo:orarend:i:[txt,url,refresh,icon] + // portal:sub: +//die(); + +?> diff --git a/mayor-orig/www/skin/classic/base/img/ajaxLoad.gif b/mayor-orig/www/skin/classic/base/img/ajaxLoad.gif new file mode 100644 index 00000000..ab584bdf Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/ajaxLoad.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/alert.png b/mayor-orig/www/skin/classic/base/img/alert.png new file mode 100644 index 00000000..ae0b97e6 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/alert.png differ diff --git a/mayor-orig/www/skin/classic/base/img/favicon.ico b/mayor-orig/www/skin/classic/base/img/favicon.ico new file mode 100644 index 00000000..b62f5763 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/favicon.ico differ diff --git a/mayor-orig/www/skin/classic/base/img/flags/de_DE.gif b/mayor-orig/www/skin/classic/base/img/flags/de_DE.gif new file mode 100644 index 00000000..eec5b66b Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/flags/de_DE.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/flags/en_US.gif b/mayor-orig/www/skin/classic/base/img/flags/en_US.gif new file mode 100644 index 00000000..06fdc66b Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/flags/en_US.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/flags/hu_HU.gif b/mayor-orig/www/skin/classic/base/img/flags/hu_HU.gif new file mode 100644 index 00000000..8a85f033 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/flags/hu_HU.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/flags/jp_JP.gif b/mayor-orig/www/skin/classic/base/img/flags/jp_JP.gif new file mode 100644 index 00000000..b4100239 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/flags/jp_JP.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/gradient.jpg b/mayor-orig/www/skin/classic/base/img/gradient.jpg new file mode 100644 index 00000000..57d9afbc Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/gradient.jpg differ diff --git a/mayor-orig/www/skin/classic/base/img/gradient.png b/mayor-orig/www/skin/classic/base/img/gradient.png new file mode 100644 index 00000000..e9a9cfca Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/gradient.png differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-flip.png b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-flip.png new file mode 100644 index 00000000..5021cec5 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-flip.png differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-marc15.png b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-marc15.png new file mode 100644 index 00000000..84a84068 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-marc15.png differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-santa.png b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-santa.png new file mode 100644 index 00000000..bdd10d8b Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl-santa.png differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.gif b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.gif new file mode 100644 index 00000000..378ffb88 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.jpg b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.jpg new file mode 100644 index 00000000..74e323c8 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.jpg differ diff --git a/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..ca42a8d0 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/parent.gif b/mayor-orig/www/skin/classic/base/img/policy/parent.gif new file mode 100644 index 00000000..cbb71a41 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/parent.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/parent100.gif b/mayor-orig/www/skin/classic/base/img/policy/parent100.gif new file mode 100644 index 00000000..1d14530b Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/parent100.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/parent100.png b/mayor-orig/www/skin/classic/base/img/policy/parent100.png new file mode 100644 index 00000000..9537b1ba Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/parent100.png differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/private.gif b/mayor-orig/www/skin/classic/base/img/policy/private.gif new file mode 100644 index 00000000..238bc04b Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/private.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/private100.gif b/mayor-orig/www/skin/classic/base/img/policy/private100.gif new file mode 100644 index 00000000..82faef04 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/private100.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/private100.png b/mayor-orig/www/skin/classic/base/img/policy/private100.png new file mode 100644 index 00000000..f2716596 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/private100.png differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/public.gif b/mayor-orig/www/skin/classic/base/img/policy/public.gif new file mode 100644 index 00000000..21a7298c Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/public.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/public100.gif b/mayor-orig/www/skin/classic/base/img/policy/public100.gif new file mode 100644 index 00000000..368c7a4d Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/public100.gif differ diff --git a/mayor-orig/www/skin/classic/base/img/policy/public100.png b/mayor-orig/www/skin/classic/base/img/policy/public100.png new file mode 100644 index 00000000..8aee3a73 Binary files /dev/null and b/mayor-orig/www/skin/classic/base/img/policy/public100.png differ diff --git a/mayor-orig/www/skin/classic/base/javascript/base.jquery.min.js b/mayor-orig/www/skin/classic/base/javascript/base.jquery.min.js new file mode 100644 index 00000000..713de384 --- /dev/null +++ b/mayor-orig/www/skin/classic/base/javascript/base.jquery.min.js @@ -0,0 +1,977 @@ +var debug = false; +function _debug(str) { + if (debug) console.log(str); +} + +// A $.getScript hívás cache-eléséért... +$.ajaxSetup({ + cache: true +}); + +includeCSS = function(href) { + for (i = 0; i < arguments.length; i++) { + href = arguments[i]; + var cssLink = $(""); + $("head").append(cssLink); //IE hack: append before setting href + cssLink.attr({ + rel: "stylesheet", + type: "text/css", + href: href+'?r='+$('body').data('mayorrev') + }); + } +}; + +// Hogy az aloldalak megváják az alábbi modulok betöltését... +$.holdReady(true); + // A korábbi loadJs megoldás helyett... + includeCSS( + "skin/classic/share/javascript/jquery-ui/css/base/jquery-ui.min.css", + "skin/classic/share/javascript/jquery-ui/css/base/jquery-ui-timepicker-addon.css" + ); + + $.getScript("skin/classic/share/javascript/jquery-ui/jquery-ui.min.js").done(function() { + $.getScript("skin/classic/share/javascript/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js").done(function() { + $.getScript("skin/classic/share/javascript/jquery-ui/jquery-ui-timepicker-addon.js").done(function() { + $.getScript("skin/classic/share/javascript/jquery-ui/i18n/jquery-ui-timepicker-hu.js").done(function() { + $.holdReady(false); + }); + }); + }); + }); + + +$(document).ready(function() { + + /*var isMobile = false; + if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent) + || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))) isMobile = true; + */ + + $('body').bind('click', mayorClick); + $('body').bind('change', mayorChange); + $('body').bind('keypress', mayorKeyPress); + $('body').bind('keydown', mayorKeyDown); + $('body').bind('submit', mayorSubmit); + + $(window).resize(mayorNavResize); + if ($(document).width()>$(window).width()) mayorNavResize(); + $('#leftsideclose').bind('click', mayorNavResize); + + if (e = $('#focus')) e.focus(); // A focus id-t használhatjuk automatikus fokuszálásra... (ld. login) + // A loadUrl id-t használhatjuk automatikus betöltésre... hol használunk ilyet? Például a download oldalon. + loadElement = $('#loadUrl'); + if (loadElement.length > 0) { window.location.replace(loadElement.attr('href')); } + + $('.date').datepicker({ dateFormat: "yy-mm-dd" }); + $('.datetime').datetimepicker({ dateFormat: "yy-mm-dd", timeFormat: "HH:mm", controlTypee: "select" }); + $('#hideHelp').click(function() { $('#takaro').hide(); }); + $('#help').draggable(); + $('#updateWindow').draggable({ handle: '#updateHeader' }); + var uwNext = {'width': '100%', 'top': '10px', 'left': '0px' }; + $('#updateHeader').dblclick(function(event) { + tmp = $('#updateWindow').css(['width','top','left']); + $('#updateWindow').css(uwNext); + uwNext = tmp; + }); + + // hibakijelzés + mayorErrorCounter = 0; + $('#mayorErrorSmall').hover( + function() { + if ($('#mayorErrorSmall div').height() > 25 ) { + var h = $('#mayorErrorSmall div').height(); + if (h>=300) h=300; + $('#mayorErrorSmall').css('overflow','auto'); + $('#mayorErrorSmall').stop().animate({height: h+"px"}, 400); + } + mayorErrorCounter++; + }, + function() { + if ($('#mayorErrorSmall').hasClass('closedbyuser')==true) return; + if ($('#mayorErrorSmall div').height() > 25 ) { + $('#mayorErrorSmall').css('overflow','hidden'); + } + if (mayorErrorCounter>3) { + $('#mayorErrorSmall').slideUp( 300 ); +// $('#mayorErrorSign').show().animate({ color: 'red'}, 1000).delay(1000).animate({color: "#778899"}, 1000); + $('#mayorErrorSign').fadeIn(300); + } else { + $('#mayorErrorSmall').stop().animate({height: "20px"}, 200); + } + } + ); + +// !!!!!!!!!!!!!!!!!!! +// !!!!!!!!!!!!!!!!!!! DEV +// $('#mayorNav').toggle(); + + $('#hamburgerIcon').click(function(){ + window.scrollTo(0, 0); + $(this).toggleClass('nyitva').toggleClass('is-active'); + $('#mayorNav').toggle(); + }); + + $('.hamburger').click(function(){ + window.scrollTo(0, 0); + $(this).toggleClass('is-active'); + $('#mayorNav').toggle(); + }); + + // --TODO mayorClick() + $('#mayorErrorHide').click(function(){ + mayorErrorCounter=0; + $('#mayorErrorSmall').addClass('closedbyuser').fadeOut('fast'); + $('#mayorErrorSign').fadeIn('fast'); + }); + // --TODO mayorClick(); + $('#mayorErrorSign').click(function(){ + mayorErrorCounter=0; + $('#mayorErrorSmall').slideDown(100); + $('#mayorErrorSign').fadeOut(); + }); + // --TODO mayorSubmit + $('#mayorGlobalLogin form.check').submit(function() { + var inputs = $('#mayorGlobalLogin form input'); + for (i=0 ; i0) { + if ($('#SESSION_ALERT_TIME').val() !== undefined) { + var sessionAlertTime = $('#SESSION_ALERT_TIME').val(); + if (sessionAlertTime>0) setTimeout('mayorSessionTimeOutAlert()',sessionAlertTime); + } + if ($('#SESSION_MAX_IDLE_TIME').val() !== undefined) { + var sessionMaxIdleTime = $('#SESSION_MAX_IDLE_TIME').val(); + if (sessionMaxIdleTime>0) setTimeout('mayorSessionTimedOut()',sessionMaxIdleTime); + } + } + $('form').preventDoubleSubmission(); + +}); + +/* + .gsub --> .replace + .up --> parents()[0] = parent(), vagy inkább closest? + include --> indexOf() > -1 + .down --> .find + $F() --> .val() +*/ + +(function($) { + var re = /([^&=]+)=?([^&]*)/g; + var decode = function(str) { + return decodeURIComponent(str.replace(/\+/g, ' ')); + }; + $.parseParams = function(query) { + var params = {}, e; + if (query) { + if (query.substr(0, 1) == '?') { + query = query.substr(1); + } + + while (e = re.exec(query)) { + var k = decode(e[1]); + var v = decode(e[2]); + if (params[k] !== undefined) { + if (!$.isArray(params[k])) { + params[k] = [params[k]]; + } + params[k].push(v); + } else { + params[k] = v; + } + } + } + return params; + }; +})(jQuery); + +mayorKeyDown = function(event) { + var element = $(event.target); + var charKeyCode = event.keyCode ? event.keyCode : event.which; + var shiftKey = event.shiftKey ? event.shiftKey : ((charKeyCode == 16) ? true : false); + var altKey = event.altKey ? event.altKey : ((charKeyCode == 18) ? true : false); + var ctrlKey = event.ctrlKey ? event.ctrlKey : ((charKeyCode == 17) ? true : false); + + // Esc - WebKit csak keyup esetén + if (charKeyCode==27) { // Esc + $('#takaro').hide(); // takaró elem + $('#keyHelp').hide(); // gyorsbillentyűk + $('#help').hide(); // súgó + $('.inlinehelp .openable').hide(); // helyi súgó + $('#mayorSearch').hide(); // kereső + if ($('#inform') !== null) $('#inform').parent('div').hide(); // haladási/tanmenet + if ($('#haladform') !== null) $('#haladform').parent('div').hide(); // haladási/tankör órái + if ($('#jegyAdat') !== null) $('#jegyAdat').hide(); // osztályozó/tankor + if ($('#updateWindow').is(':visible')) { + $('#updateWindow').hide(); // update ablak + if ($.isFunction(hideUpdateLayer)) hideUpdateLayer(); + } + if ($('#updateWindowSideSub').hasClass('nyitva') ) { + $('#updateWindowSideSub').removeClass('nyitva'); + } else if ($('#updateWindowSide').hasClass('nyitva') ) { + $('#updateWindowSide').removeClass('nyitva'); // update ablak (jobb oldal) + if ($.isFunction(hideUpdateWindowSide)) hideUpdateWindowSide(); + } else if (ctrlKey) { //nyitjuk + $('#updateWindowSide').addClass('nyitva'); + //$('#updateWindowSideSub').toggleClass('nyitva'); + } + } else if (charKeyCode==112) { // F1 - Help // charKeyCode==121 F10 + var params = $.parseParams(window.location.toString().split('?')[1] || '' ); + var page=params.page?params.page:''; + var sub=params.sub?params.sub:''; + var f=params.f?params.f:''; + var url = "http://wiki.mayor.hu/doku.php?id="+page+":"+sub+":"+f; + var helpElement = $('#help'); + if (typeof(helpElement) === 'undefined' || helpElement === null) { + window.open(url,'help'); + } else { + if (helpElement.css('display') == 'none') helpElement.children('iframe').prop('src',url); + $('#takaro').fadeToggle('fast'); // takaró elem + helpElement.fadeToggle('fast'); + } +// event.stopImmediatePropagation(); + event.preventDefault(); +// event.stopPropagation(); + } else if (charKeyCode==86 && ctrlKey && shiftKey) { // Ctrl-Shift-V: Vakbarát nézet + if (location.toString().indexOf('skin')>-1) { + window.location = location.toString().replace(/skin=([^&]*)/,'skin=vakbarat'); + } else { + if (location.toString().indexOf('?')>-1) window.location = location.toString()+'&skin=vakbarat'; + else window.location = location.toString()+'?skin=vakbarat'; + } + } else if (charKeyCode==38) { // fel nyíl + if (element.closest('#mayorSearch').length == 1) { + $('#mayorSearch *:focus').removeClass('aktiv').prev('a').focus(); + $('#mayorSearch a:focus').addClass('aktiv'); + event.preventDefault(); + } + } else if (charKeyCode==40) { // le nyíl + if (element.closest('#mayorSearch').length == 1) { + $('#mayorSearch *:focus').removeClass('aktiv').next('a').focus(); + $('#mayorSearch a:focus').addClass('aktiv'); + event.preventDefault(); + } + } else { + } + +} + +mayorKeyPress = function(event) { + var element = $(event.target); + var charKeyCode = event.keyCode ? event.keyCode : event.which; + var shiftKey = event.shiftKey ? event.shiftKey : ((charKeyCode == 16) ? true : false); + var altKey = event.altKey ? event.altKey : ((charKeyCode == 18) ? true : false); + var ctrlKey = event.ctrlKey ? event.ctrlKey : ((charKeyCode == 17) ? true : false); + + if ($('capsLockWarning')) { + var s = String.fromCharCode( event.which ); + if ( s.toUpperCase() === s && s.toLowerCase() !== s && !event.shiftKey ) { + $('#capsLockWarning').show(); + } else { + $('#capsLockWarning').hide(); + } + } + + // formon belül + if(event.target.type!='text' && event.target.type!='textarea' && event.target.type!='select' && event.target.type!='select-one' && event.target.type!='password') { + var location = window.location.toString(); + if (charKeyCode==63) { // ?: Help + $('#takaro').toggle(); + $('#keyHelp').toggle(); + } else if (charKeyCode==83) { // S: settings + $('#settings').toggle(); + } else if (charKeyCode==70 || charKeyCode==95) { // F,_: find + $('#mayorSearch').toggle(); + event.preventDefault(); + $('#mayorSearch input[type=text]').focus(); + } else if (charKeyCode==68) { // D: debug + $('#debug').toggle(); +// } else if (charKeyCode==104) { +// alert('Alt-H: HELP: '+event.altKey+event.target.type); + } else if (charKeyCode==76) { // L: login/logout + if (location.indexOf('policy=private')>-1 || location.indexOf('policy=parent')>-1) { + window.location = window.location.toString().replace(/page=([^&]*)/,'page=session').replace(/sub=([^&]*)/,'sub=').replace(/f=([^&]*)/,'f=logout').replace(/policy=([^&]*)/,'policy=public'); + } else { + if (location.indexOf('?')>-1) { + // window.location = window.location.toString().replace(/page=([^&]*)/,'page=auth').replace(/sub=([^&]*)/,'sub=').replace(/f=([^&]*)/,'f=login').replace(/policy=([^&]*)/,'policy=public'); + window.location=window.location.toString().replace(/\?(.*)/,'')+'?page=auth&f=login'; + } else { + window.location = window.location+'?page=auth&sub=&f=login&policy=public'; + } + } + } else { + } + } +} + +mayorClick = function(event) { + var element = $(event.target); + $('body').data('lastClick',element); + $('.inlinehelp .openable:visible').hide(); + $('#mayorSearch:visible').hide(); + if (element.hasClass('confirm')) { + // A confirm elemre kattintva a form jóváhagyását előbb jóvá kell hagyni + if (!confirm(element.prop('title'))) { + event.preventDefault(); + } + } + if (element.hasClass('onClickHideShow')) { + var o = element.parents('.hideShowContainer').find('.openable').toggle(); + event.preventDefault(); + } + + if (element.hasClass('onClickHide')) { + // Az onClickHide elem kattintásra becsukja a hozzárendelt elemet. A hozzárendelés + // az id-ben történik: 'hide'+ElemId+[':'+elemId2...] + var id = element[0].id; + if (id && id.substring(0,4) == 'hide') { + var openables = ('#'+id.charAt(4).toLowerCase()+ id.substring(5).replace(':',', #') ); + $(openables).hide(); + } + } + if (element.hasClass('onClickShow')) { + // Az onClickShow elem kattintásra kinyitja a hozzárendelt elemet, miközben a többi + // őt tartalmazó hideShowContainer-en belüli openable elemet becsukaja. A hozzárendelés + // az id-ben történik: 'show'+ElemId+[':'+elemId2...] + var container = element.parents('.hideShowContainer'); + var openable = container.find('.openable').hide(); + var onclickshow = container.find('.onClickShow').removeClass('selected'); + var id = element[0].id; + if (id && id.substring(0,4) == 'show') { + var openables = ('#'+id.charAt(4).toLowerCase()+ id.substring(5).replace(':',', #') ); + $(openables).show(); + } + element.addClass('selected'); + } + if (element[0].id == 'updateCloseButtonClick') { + if ($('#updateWindow').is(':visible')) { + $('#updateWindow').hide(); + $('#takaro').hide(); + if ($.isFunction(hideUpdateLayer)) hideUpdateLayer(); + } + } + if (element[0].id == 'btn_updateWindowSideClose') { + //if ($('#updateWindowSide').is(':visible')) { + $('#updateWindowSideSub').removeClass('nyitva'); + $('#updateWindowSide').removeClass('nyitva'); + if ($.isFunction(hideUpdateWindowSide)) hideUpdateWindowSide(); + //} + } + if (element[0].id == 'btn_updateWindowSideSubClose') { + $('#updateWindowSideSub').removeClass('nyitva'); + if ($.isFunction(hideUpdateWindowSideSub)) hideUpdateWindowSideSub(); + } + if (element.hasClass('onClickUpdateAction')) { +//TODO - check + element.parents('form').find('input[name=action]').val(element[0].id); + } + if (element.hasClass('onClickUpdateWindow')) { + // A kattintott elem href paraméteréből vett url-ből kiveszi a getParameters-ben megadott + // paramétereken kívüli paramétereket, ezeket post paraméterként rakja az updateForm-ba. + // Az url "maradéka" pedig a form action-be kerül, végül update-eli a form-ot... + formElement = $('#updateForm'); + formElement.html(''); + var origUrl = '', title = ''; + if (element.prop('title')) $('#updateHeader').html(element.prop('title')); + if (element.prop('href')) origUrl = element.prop('href'); + var pos = origUrl.indexOf("?"); + if (pos != -1) url = origUrl.substr(0,pos); + else url = origUrl; + var getParameters = ["page", "sub", "f", "lang", "sessionID", "policy"]; + var separator = '?'; + + var o = $.parseParams( origUrl.split('?')[1] ); + $.each(o,function(key,value) { + if (getParameters.indexOf(key) != -1) { + url = url+separator+key+'='+value; + separator='&'; + } else if (key == 'skin') { + url = url+separator+'skin=ajax'; + separator='&'; + } else { + //formElement.insert({ bottom: new Element('input', {type : 'hidden', name : key, value : value}) }); + jQuery('').attr('type','text').attr('name',key).attr('value',value).appendTo(formElement); + } + }); + + formElement.prop('action',url); + updateForm(formElement, element); +// event.stopImmediatePropagation(); + event.preventDefault(); + event.stopPropagation(); + } + if (element.hasClass('onClickUpdate')) { + event.preventDefault(); + // Az onClickUpdate class tagjaira kattintva update-eli az őket tartalmazó formot + var formElement = element.parents("form"); + updateForm(formElement, element); + event.preventDefault(); + event.stopPropagation(); +// jQuery.post(url); + } + if (event.target.id == 'nav2fullmenu') { + $('#nav2').find('.fullmenuitem').toggle(); + $('#nav2').find('.nav2menuitem').toggle(); + $('#nav2fullmenu').toggleClass('aktiv'); + } + if (event.target.id ==='skin-oldschool') { + mayorSkinChange('oldschool'); + } + if (event.target.id ==='skin-vakbarat') { + mayorSkinChange('vakbarat'); + } +} + + + + +// || event.target.id ==='mayorNaviSearchIcon') { + + +mayorSkinChange = function(toSkin) { + if (location.toString().indexOf('skin')>-1) { + window.location = location.toString().replace(/skin=([^&]*)/,'skin='+toSkin); + } else { + if (location.toString().indexOf('?')>-1) window.location = location.toString()+'&skin='+toSkin; + else window.location = location.toString()+'?skin='+toSkin; + } +} + +mayorChange = function(event) { + + var element = $(event.target); + + if (element.hasClass('onChangeSubmit') && window.location.toString().indexOf('skin=vakbarat')<=0) { + element.parents('form').submit(); + } + if (element.closest('form.onChangeRequest').length > 0) { + var formElement = element.closest('form.onChangeRequest'); + + var uriOrig = formElement.attr('action'); + var uri = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax')+'&request=true'; + + // input class="ajaxOption"-ban megadott value="onChangeRequestStop" tudja tiltani az eseményt (új szülő felvétele - diakSzulo oldal) + var ajaxRequestOK = (formElement.find('input.ajaxOption[value=onChangeRequestStop]').length == 0); + // A class="DOA" - disable on ajax req - elemek letiltása + formElement.find('.DOA').prop('disabled',true); + + formElement.attr('action', uri); + element.addClass('ajaxRequest'); + if (ajaxRequestOK) { + ajaxRequest(formElement, { + onSuccess: function(transport, status, xhr) { + element.addClass('ajaxRequestDone'); + element.removeClass('ajaxRequest'); + element.removeClass('ajaxRequestError'); + formElement.find('.DOA').prop('disabled',false).removeClass('ajaxRequest'); + // Egyedi kezelőfüggvény meghívása + // pre-be pl.: $_JSON['onSuccess']['func'] = 'myTestFunc'; $_JSON['onSuccess']['param'] = array('txt' => 'Hahó'); + // js-be pl.: myTestFunc = function(param) { console.log('myTestFunc: '+param.txt); } + if (transport.onSuccess && transport.onSuccess.func && $.isFunction(window[transport.onSuccess.func])) + window[transport.onSuccess.func](transport.onSuccess.param); + + }, + onFailure: function() { + element.addClass('ajaxRequestError'); + element.removeClass('ajaxRequest'); + element.removeClass('ajaxRequestDone'); + formElement.find('.DOA').prop('disabled',false).removeClass('ajaxRequest'); + } + }); + } + formElement.attr('action', uriOrig); + + } + + + if (element.hasClass('onChangeUpdate')) { + // Az onChangeUpdate class tagjaira kattintva update-eli az őket tartalmazó formot + + + var formElement = $(element).closest('form'); + updateForm(formElement, $(element)); + event.preventDefault(); + event.stopPropagation(); + } + + + +} + +function ucfirst(str) { + var f = str.charAt(0).toUpperCase(); + return f + str.substr(1); +} +function lcfirst(str) { + var f = str.charAt(0).toLowerCase(); + return f + str.substr(1); +} + + +mayorSubmit = function(event) { + var element = $(event.target); + var formElement; + if (element.is('form')) { + formElement = element; + // elmentettük a body.data.lastClick - be, hogy mi volt az utolsó clicked elem + var element2 = $('body').data('lastClick'); + } else { + formElement = element.parents('form'); + } + if (formElement.hasClass('onSubmitUpdate')) { + event.preventDefault(); + // Az onSubmitUpdate class-ba sorolt formok submit esetén update-elve lesznek - !! az összes submit elmegy !! + updateForm(formElement, element2); + event.stopImmediatePropagation(); + event.stopPropagation(); + return false; + } else if (element.attr('id') == 'mayorSearch') { + //$('#nav li.active a:contains()') + $('#mayorSearch a').remove(); + var pattern = $('#mayorSearch input[type=text]').val(); + $('#nav li a:contains('+pattern+')').clone().appendTo('#mayorSearch'); + if (pattern!=lcfirst(pattern)) + $('#nav li a:contains('+lcfirst(pattern)+')').clone().appendTo('#mayorSearch'); + if (pattern!=ucfirst(pattern)) + $('#nav li a:contains('+ucfirst(pattern)+')').clone().appendTo('#mayorSearch'); +/* $('#nav li.active a:contains('+pattern+')').clone().appendTo('#mayorSearch'); + if (pattern!=lcfirst(pattern)) + $('#nav li.active a:contains('+lcfirst(pattern)+')').clone().appendTo('#mayorSearch'); + if (pattern!=ucfirst(pattern)) + $('#nav li.active a:contains('+ucfirst(pattern)+')').clone().appendTo('#mayorSearch'); +*/ + return false; + } +} +/* +var lastScrollLeft = 0; +$(window).scroll(function() { + var documentScrollLeft = $(document).scrollLeft(); + if (lastScrollLeft != documentScrollLeft) { + //console.log('scroll x'+documentScrollLeft); + lastScrollLeft = documentScrollLeft; + } + //mayorNavResize(); +}); +*/ + +var mayorLoaderCounter = 0; +mayorLoaderStart = function() { + mayorLoaderCounter++; + $('#poz li:first').addClass('mayorLoader'); +} +mayorLoaderStop = function() { // override by naplo.js + $('#poz li:first').removeClass('mayorLoader'); +} + + +mayorNavResize = function(event) { + if (event===undefined) return true; + + var wi = $(window).width(); + var navElem = $('#nav2'); + var mayorbodyElem = $('#mayorbody'); + var mayorfootElem = $('#mayorfoot'); + var smallWidth = false; + if (event.target.id == "leftsideclose") swap=true; else swap = false; + if (navElem) { + if ($(document).width()>$(window).width()+140) smallWidth = true; + if ((swap || wi<1100 || smallWidth) && navElem.hasClass('vertical')) { + mayorbodyElem.removeClass('leftpad').addClass('toppad'); + mayorfootElem.removeClass('leftpad').addClass('toppad'); + navElem.removeClass('vertical').addClass('horizontal'); +// navElem.addClass('horizontal'); +// mayorbodyElem.addClass('toppad'); +// mayorfootElem.addClass('toppad'); + new $.ajax('/index.php?skin=ajax&request=true&page=session&sub=&f=set&policy=public&layout=1', { + method: 'get', + success: function(transport) { + } + }); + } else if + ((swap || (wi>=1100 && !smallWidth)) && navElem.hasClass('horizontal')) { + mayorbodyElem.removeClass('toppad').addClass('leftpad'); + mayorfootElem.removeClass('toppad').addClass('leftpad'); + navElem.removeClass('horizontal').addClass('vertical'); +// navElem.addClass('vertical'); +// mayorbodyElem.addClass('leftpad'); +// mayorfootElem.addClass('leftpad'); + new $.ajax('/index.php?skin=ajax&request=true&page=session&sub=&f=set&policy=public&layout=0', { + method: 'post', + success: function(transport) { + } + }); + } else { + //console.log('Nothing to do'); + } + } else { + //console.log('Not ready'); + } + /*if ($('#nav1').data('nav1count')==0) { // ha nincs nav1 menu, akkor engedélyezzük a nav dinamikus resize-ját (igen ám, de inicializálásnál ugrál) + $('nav').show(); + var navSize = 140+$('#mayorGlobalLogin').width() + 0; + $('#nav>li').each(function() { + navSize+=($(this).width()); + if (navSize>$('#mayorhead').width()) { + $(this).hide(); + } else { + $(this).show(); + } + }); + }*/ + +} + +updateForm = function(formElement, submitElement) { + + var url = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax'); +// szerintem ez mpst nem kell... ? +// formElement.find('input[type=submit]').prop('disabled',true); +// submitElement.prop('disabled',false); + if (submitElement && submitElement.attr('name')!==undefined) options = { submitClass: submitElement.attr('class'), submitName: submitElement.attr('name'), submitValue: submitElement.val() }; + else options = false; + ajaxUpdate(formElement, url, options); + +} + +/** + * Az options paraméterben át kell adni az átadandó submit elem nevét és értékét, mert a serializeArray nem teszi be! + * , és a serialize()??? +**/ +ajaxUpdate = function(container, url, options) { + + mayorLoaderStart(); + postData = container.serializeArray(); + if (options) postData.push({ name: options.submitName, value: options.submitValue }); + postData.push({ name: 'mayorToken', value : $('body').data('mayortoken') }); + + $.ajax(url,{ + data: postData, + type: 'POST', + success: function(transport, status, xhr){ + var contentType=xhr.getResponseHeader('Content-type'); + if (contentType.indexOf('application/json')>-1 || contentType.indexOf('text/html')>-1) { + if ( typeof transport.html !== 'undefined' && transport.html !== null) { + container.html(transport.html); + if ($.isFunction(showUpdateLayer)) showUpdateLayer(options); + } else if ($.isFunction(processJSON)) { + processJSON(transport); + } else { + } + } else { + container.html(xhr.responseText); + } + if (options && options.onSuccess && $.isFunction(options.onSuccess)) options.onSuccess(transport, status, xhr); + // IE bubbling? A most betöltött form-okra... + }, + error: function (xhr,status,errText) { // Type: Function( jqXHR jqXHR, String textStatus, String errorThrown ) + _debug(status); + _debug(errText); + updateSalt(xhr.getResponseHeader('Etag')); + }, + complete: function(xhr, status) { + mayorLoaderStop(); + updateSalt(xhr.getResponseHeader('Etag')); + } + }); +} + +ajaxRequest = function(formElement, options) { + + var url = formElement.attr('action').replace(/skin=([^&]*)/,'skin=ajax'); + var adat = formElement.serializeArray(); + adat.push({ name: 'mayorToken', value : $('body').data('mayortoken') }); + + mayorLoaderStart(); + $.ajax(url,{ + data: adat, + type: 'POST', + success: function(transport, status, xhr){ + if (options && options.onSuccess && $.isFunction(options.onSuccess)) options.onSuccess(transport, status, xhr); + }, + error: function (xhr,status,errText) { // Type: Function( jqXHR jqXHR, String textStatus, String errorThrown ) + _debug('stat: '+status); + _debug('errTxt: '+errText); + if (options && options.onFailure && $.isFunction(options.onFailure)) options.onFailure(xhr,status,errText); + }, + complete: function(xhr, status) { + mayorLoaderStop(); + updateSalt(xhr.getResponseHeader('Etag')); + } + + }); +} + +var showUpdateLayer = function() {} +var processJSON; +updateSalt = function(etagHeader) { + if (etagHeader !== null) { + /** + * A header Etag mezője (__SALTVALUE-__SALTNAME[-...]) alapján frissítjük az input.salt mezőket + **/ + etagArray=etagHeader.split("-"); + $('input.salt').each( + function(index) { + // tömörített oldalküldés (?) esetén a web-szerver + if ($(this).prop('name') == etagArray[1]) $(this).val(etagArray[0]); + } + ); + $('input.mayorToken').each( + function(index) { + if ($(this).prop('name') == 'mayorToken') $(this).val(etagArray[2]); + } + ); + $('body').data('mayortoken',etagArray[2]); + } +} + +// Hasznos függvények +// string funkciók +function LTrim(str) { return str.replace(/\s*((\S+\s*)*)/, "$1"); } +function RTrim(str) { return str.replace(/((\s*\S+)*)\s*/, "$1"); } +function Trim(str) { return LTrim(RTrim(str)); } + +// formátum-ellenőrzők +function IsEmpty(str) { + return (str === null | Trim(str) === "") ? true : false; +} + +function IsEmail(str) { + var reEmail = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/; + return (str) ? reEmail.test(Trim(str)) : false; +} + +function IsInteger(str) { + var reInteger = /^[+-]?\d+?$/; + return (str) ? reInteger.test(Trim(str)) : false; +} + +function IsNumber(str) { + var reNumber = /^[+-]?\d+([,\.]\d+)?$/; + return (str) ? reNumber.test(Trim(str)) : false; +} + +function IsHexa(str) { + var reString = /^[0-9A-Fa-f]*?$/; + return (str) ? reString.test(Trim(str)) : false; +} + +function IsDate(str) { + var reDate = /^(19|20)\d\d([-/.])(0[1-9]|1[0-2])\2(0[1-9]|[12][0-9]|3[01])$/; + return (str) ? reDate.test(Trim(str)) : false; +} + +function CorrectDate(str) { + if (IsDate(str)) + return Trim(str).replace(/^(\d{4})[-/.](\d{2})[-/.](\d{2})$/, "$1.$2.$3"); + else + return null; +} + +mayorSessionTimeOutAlert(); + +function mayorSessionTimeOutAlert() { + $('#takaro').fadeIn(); + $('#updateWindow').fadeIn(); + $('#updateForm').html('
    A munkamenet hamarosan lejár!
    ').fadeIn(); + $('body,html').animate({scrollTop: 0}, 800); +} + +function mayorSessionTimedOut() { +// $('#takaro').fadeOut(); +// $('.infoMsg').fadeOut(); +// $('#mayorhead').append('
    A munkamenet lejárt, kérjük jelentkezzen be újra!
    ').fadeIn(); + $('#mayorbody').fadeOut(); + window.location.replace(location.origin); +} + +jQuery.fn.preventDoubleSubmission = function() { + $(this).on('submit',function(e){ + var $form = $(this); + if ($form.data('submitted') === true) { + e.preventDefault(); + } else { + $form.data('submitted', true); + } + }); + return this; +}; + +/* teszt +function isNear( $element, distance, event ) { + var left = $element.offset().left - distance, + top = $element.offset().top - distance, + right = left + $element.width() + ( 2 * distance ), + bottom = top + $element.height() + ( 2 * distance ), + x = event.pageX, + y = event.pageY; + return ( x > left && x < right && y > top && y < bottom ); +}; +*/ + +function href(p) { + var get = ''; + $.each( p, function( key, value ) { get += key + "=" + value + "&"; }); + return ('index.php?policy=private&'+get+'sessionID='+$('body').data('sessionid')).replace('&','&'); +} + +$(document).ready(function() { // facebook + + if (typeof(FB_APP_ID)!=='undefined' && FB_APP_ID!='') { + + window.fbAsyncInit = function() { + FB.init({ + appId : FB_APP_ID, + cookie : true, + xfbml : true, + version : 'v2.2' + }); + FB.getLoginStatus(function(response) { + if (response.status === 'connected') { + $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB2'); + } else if (response.status === 'not_authorized') { + $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB1'); + } else { + $('#mglFBconnect').removeClass('FBstatusunknown').addClass('FB0'); + } + }); // ,true - ha nem cache-elt változat kell + FB.Event.subscribe('auth.login', my_login_event); + FB.Event.subscribe('auth.logout', my_logout_event); + FB.Event.subscribe('auth.authResponseChange', my_authResponseChange_event); + }; + // Load the SDK asynchronously + (function(d, s, id) { + var js, fjs = d.getElementsByTagName(s)[0]; + if (d.getElementById(id)) return; + js = d.createElement(s); js.id = id; + js.src = "//connect.facebook.net/en_US/sdk.js"; + fjs.parentNode.insertBefore(js, fjs); + }(document, 'script', 'facebook-jssdk')); + } +}); // doc ready + +var my_login_event = function() { + //console.log('***facebook login event'); +} + +var my_logout_event = function() { + //console.log('***facebook logout event'); +} + +var my_authResponseChange_event = function(response) { + //console.log('***authResponseChange'); +} + +var mayor_facebookconnect_redirect = function() { + var origUrl = $(location).attr('href'); + var pos = origUrl.indexOf("?"); + if (pos != -1) url = origUrl+'&action=facebooklogin'; + else url = origUrl+'?action=facebooklogin'; + window.location = url; +} + + +// Az ajax hívások vésszatérési értékét feldolgozó és a layer-t megjelenítő függvény változók inicializálása (hogy ne legyen undefined) +var showUpdateLayer = function() {}; +var hideUpdateLayer = function() {}; +var showUpdateWindowSide = function() {}; +var hideUpdateWindowSide = function() {}; +var showUpdateWindowSideSub = function() {}; +var hideUpdateWindowSideSub = function() {}; +var processJSON; + +$(document).ready(function() { // még több click eseménykezelő! + $('#mayorMenuSearchIcon').on('click',function() { + $('#mayorSearch').show(); + event.preventDefault(); + event.stopImmediatePropagation(); // STOP mayorClick + $('#mayorSearch input[type=text]').focus(); + }); + $('#mayorNaviSearchIcon').on('click',function() { + $('#mayorSearch').show(); + event.preventDefault(); + event.stopImmediatePropagation(); // STOP mayorClick + $('#mayorSearch input[type=text]').focus(); + }); + + //gapi.load('auth2', function() { + // gapi.auth2.init(); + //}); + if (typeof(GOOGLEAPI_CLIENT_ID)!=='undefined' && GOOGLEAPI_CLIENT_ID!='') { + startGoogleAuth(); + } +}); + +// GOOGLE +var googleUser = {}; +var startGoogleAuth = function() { + gapi.load('auth2', function(){ + auth2 = gapi.auth2.init({ + client_id: GOOGLEAPI_CLIENT_ID, + cookiepolicy: 'single_host_origin', + }); + attachSignin(document.getElementById('googleLoginBtn')); + }); +}; +function attachSignin(element) { + auth2.attachClickHandler(element, {}, + function(googleUser) { + var id_token = googleUser.getAuthResponse().id_token; + var origUrl = $(location).attr('href'); + var pos = origUrl.indexOf("?"); + if (pos != -1) url = origUrl+'&action=googleapilogin'+'&id_token='+id_token; + else url = origUrl+'?action=googleapilogin'+'&id_token='+id_token; + window.location = url; + }, function(error) { + // alert(JSON.stringify(error, undefined, 2)); + }); +} +// GOOGLE + diff --git a/mayor-orig/www/skin/classic/base/javascript/jquery-1.8.3.min.js b/mayor-orig/www/skin/classic/base/javascript/jquery-1.8.3.min.js new file mode 100644 index 00000000..83589daa --- /dev/null +++ b/mayor-orig/www/skin/classic/base/javascript/jquery-1.8.3.min.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.3 jquery.com | jquery.org/license */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
    a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
    t
    ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
    ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
    ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
    ","
    "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
    ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/base/javascript/jquery.min.js b/mayor-orig/www/skin/classic/base/javascript/jquery.min.js new file mode 100644 index 00000000..ce1b6b6e --- /dev/null +++ b/mayor-orig/www/skin/classic/base/javascript/jquery.min.js @@ -0,0 +1,5 @@ +/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license +*/ +(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
    ",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
    a",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
    t
    ",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
    ",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t +}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); +u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("
    "; + } + } + uploadfield += "
    Upload a watermark:
    Add watermark to images:
    Reduce maximum image size to:x
    "; + node.innerHTML = uploadfield; + + } + if(!$("kiu_topdiv")){ + node = document.createElement("div"); + node.id = "kiu_topdiv"; + node.style.background = "#aaaaaa"; + node.style.position = ""; + node.style.height = "45px"; + node.style.zIndex = 1001; + node.style.padding = "5px 20px 0px 120px"; + node.style.font = "12px Tahoma, sans-serif"; + node.style.color = "#222222"; + node.style.borderBottom = "1px solid #000000"; + node.style.borderRight = "1px solid #000000"; + node.style.left = "0px"; + node.style.top = "0px"; + var dirs = ""; + for(var i = 0; i < kib.dirs.length; i++){ + dirs = dirs + "" + kib.dirs[i] + ""; + } + currentfolder = kib.dirs[0]; + node.innerHTML = "
    Selected gallery upload folder" + currentfolder + "
    " + dirs; + document.body.appendChild(node); + } + if(!$("kiu_botdiv")){ + node = document.createElement("div"); + node.id = "kiu_botdiv"; + node.style.background = "#aaaaaa"; + node.style.position = ""; + node.style.zIndex = 1001; + node.style.padding = "5px"; + node.style.font = "12px Tahoma, sans-serif"; + node.style.color = "#222222"; + node.style.borderTop = "1px solid #000000"; + node.style.borderRight = "1px solid #000000"; + node.style.borderLeft = "1px solid #000000"; + node.style.right = "25px"; + node.style.bottom = "0px"; + node.innerHTML = ""; + document.body.appendChild(node); + kib.showhelp(node, 4, 5); + node.onmouseover = function(){ + kib.hidehelp(); + } + } + + viewdim(); + + kiu.setFolder(currentfolder); + } + + this.destr = function(){ + + + document.body.removeChild($("kiu_maindiv")); + document.body.removeChild($("kiu_topdiv")); + document.body.removeChild($("kiu_botdiv")); + fw.shadebody(0); + } + + /* -------------------------------- methodes ------------------------------------ */ + + function viewdim(){ + if(window.innerHeight){ + windowX = window.innerWidth; + windowY = window.innerHeight; + } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode + windowX = document.documentElement.clientWidth; + windowY = document.documentElement.clientHeight; + } else if (document.body){ // other Explorers + windowX = document.body.clientWidth; + windowY = document.body.clientHeight; + } + var maindiv = $("kiu_maindiv"); + maindiv.style.width = windowX - 8 + "px"; + maindiv.style.height = windowY - 8 + "px"; + } + + this.closeUpload = function(){ + kib.hidehelp(); + fw.removejs("kiu"); + kib.reinit(); + } + + function supportAjaxUploadWithProgress() { + var xhr = new XMLHttpRequest(); + if (window.File && window.FileReader && window.FileList && ('upload' in xhr) && ('onprogress' in xhr.upload)) { + if(window.FormData){ + return 1; + } else if('sendAsBinary' in xhr){ + return 1; + } + } + return 0; + } + + this.choseFiles = function(obj){ + var fakefield = obj.nextSibling.firstChild; + var fileInput = obj; + var ret = ""; + + var temp = fileInput.value.split("\\"); + ret = temp[temp.length-1]; + + ret = fileInput.files[0].name; + + fakefield.value = ret; + } + + this.choseMFiles = function(obj){ + var fakefield = obj.nextSibling.firstChild; + var fileInput = obj; + var ret = ""; + + for(var i = 0; i < fileInput.files.length; i++){ + if(i != 0)ret += ", "; + ret += fileInput.files[i].name; + } + + var temp = fw.getDim(fakefield, 1); + fakefield.style.visibility = "hidden"; + fakefield.style.height = "auto"; + fakefield.style.overflow = "visible"; + fakefield.innerHTML = ret; + temp2 = fw.getDim(fakefield, 1); + fakefield.style.overflow = "hidden"; + fakefield.style.height = temp[1] + "px"; + fakefield.style.visibility = "visible"; + fw.resize(fakefield, 4, 0, temp2[1]); + } + + this.setFolder = function(folder){ + currentfolder = folder; + var i = 0; + while(document.getElementsByName("kiu_upform"+i)[0]){ + var obj = document.getElementsByName("kiu_upform"+i)[0]; + obj.dir.value = folder; + i++; + } + $("kiu_selfolder").innerHTML = folder; + } + + this.uploadWatermark = function(){ + var myform = document.getElementsByName("kiu_watermark_form")[0]; + myform.submit(); + } + + this.uploadedWatermark = function(){ + var obj = $("kiu_wm_preview"); + obj.src = "ki_watermark.pic?" + Math.round(Math.random()*10000); + obj.style.visibility = 'visible'; + } + + this.toggleWatermark = function(wm){ + var i = 0; + while(document.getElementsByName("kiu_upform"+i)[0]){ + var obj = document.getElementsByName("kiu_upform"+i)[0]; + if(wm.checked == true){ + obj.addwatermark.value = "1"; + } else { + obj.addwatermark.value = "0"; + } + i++; + } + } + + this.startUpload = function(){ + $("kiu_progress").style.display = "block"; + if(supportAjaxUploadWithProgress()){ + sendfile(0); + } else { + $("kiu_progress_cur").style.width = "0%"; + $("kiu_progress_tot").style.width = "0%"; + var myform = document.getElementsByName("kiu_upform0"); + var loop = 0; + while(myform[0]){ + myform[0].maxx.value = $("kiu_maxx").value; + myform[0].maxy.value = $("kiu_maxy").value; + + if(myform[0].pic.files[0]){ + finalsizes.push(myform[0].pic.files[0].size); + } else { + finalsizes.push(0); + } + + if(myform[0].pic.value){ + finalsizes.push(1); + } else { + finalsizes.push(0); + } + + loop++; + myform = document.getElementsByName("kiu_upform"+loop); + } + fw.getHTTP("ki_getuploadinfo.php?form=reset", submitform, 0); + } + } + + function sendfile(no){ + var fileInput = $('kiu_m_file'); + var file = fileInput.files[no]; + + if(!file){ + allfinished(); + return -1; + } + + var allsize = 0; + var completesize = 0; + for(var i = 0; i < no; i++){ + completesize += fileInput.files[i].size; + } + for(var i = 0; i < fileInput.files.length; i++){ + allsize += fileInput.files[i].size; + } + + var reader = new FileReader(); + + reader.onloadend = function(evt){ + + var xhr = new XMLHttpRequest(); + + var bar_cur = $("kiu_progress_cur"); + var bar_tot = $("kiu_progress_tot"); + + bar_cur.nextSibling.innerHTML = "Current '" + file.name + "'"; + + xhr.upload.addEventListener("progress", function(e) { + if(e.lengthComputable){ + var curfilecomplete = Math.round((e.loaded / e.total)*file.size); + var barsize = Math.round(((completesize+curfilecomplete)/allsize)*100); + bar_cur.style.width = Math.round((e.loaded / e.total)*100) + "%"; + bar_tot.style.width = barsize + "%"; + bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %"; + } + }, false); + + xhr.onload = function(e) { + completesize += file.size; + bar_cur.style.width = "100%"; + bar_cur.nextSibling.innerHTML = "'" + file.name + "' uploaded."; + var barsize = Math.round((completesize/allsize)*100); + bar_tot.style.width = barsize + "%"; + bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %"; + setTimeout(function(){ + sendfile(no+1); + }, 1000); + }; + + xhr.open('POST', 'ki_upload.php', true); + + var wm = $("kiu_wmcb"); + if(wm.checked == true){ + wm = "1"; + }else{ + wm = "0"; + } + + if(window.FormData){ + var formData = new FormData(); + formData.append("dir", currentfolder); + formData.append("addwatermark", wm); + formData.append("pic", file); + formData.append("maxx", $("kiu_maxx").value); + formData.append("maxy", $("kiu_maxy").value); + xhr.send(formData); + } else { + //xhr.setRequestHeader("Cache-Control", "no-cache"); + //xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); + + var CRLF = "\r\n"; + var boundary = "AJAX-----------------------" + (new Date).getTime(); + + var requestBody = "Content-Type: multipart/form-data; boundary="+boundary+CRLF+CRLF; + //requestBody += "Content-Length: "+file.size+CRLF+CRLF; + requestBody += "--"+boundary+CRLF; + + requestBody += "Content-Disposition: form-data; name=\"dir\""+CRLF+CRLF; + requestBody += currentfolder+CRLF; + requestBody += "--"+boundary+CRLF; + + requestBody += "Content-Disposition: form-data; name=\"addwatermark\""+CRLF+CRLF; + requestBody += wm+CRLF; + requestBody += "--"+boundary+CRLF; + + requestBody += "Content-Disposition: form-data; name=\"maxx\""+CRLF+CRLF; + requestBody += $("kiu_maxx").value+CRLF; + requestBody += "--"+boundary+CRLF; + + requestBody += "Content-Disposition: form-data; name=\"maxy\""+CRLF+CRLF; + requestBody += $("kiu_maxy").value+CRLF; + requestBody += "--"+boundary+CRLF; + + requestBody += "Content-Disposition: form-data; name=\"pic\"; filename=\""+file.name+"\""+CRLF; + requestBody += "Content-Type: application/octet-stream"+CRLF+CRLF; + requestBody += evt.target.result+CRLF; + requestBody += "--"+boundary+"--"+CRLF; + + xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); + xhr.sendAsBinary(requestBody); + } + }; + reader.readAsBinaryString(file); + } + + + function submitform(responseText, nextform){ + for(var i = nextform; i < finalsizes.length; i++){ + if(finalsizes[i] != 0){ + //alert("started " + i); + document.getElementsByName("kiu_upform"+i)[0].submit(); + setTimeout( function(){ + fw.getHTTP("ki_getuploadinfo.php?form="+i, gotuploadinfo, i); + }, 1000); + return; + } + } + var counter = 0; + for(var i = 0; i < finalsizes.length; i++){ + if(finalsizes[i] == 0)counter++; + } + if(counter == finalsizes.length){ + allfinished(); + } else { // alle gestartet, aber es laufen noch uploads + setTimeout( function(){ + fw.getHTTP("ki_getuploadinfo.php?form="+(nextform-1), gotuploadinfo, nextform-1); + }, 1000); + } + } + + function allfinished(){ + $("kiu_progress").style.display = "none"; + var bar_cur = $("kiu_progress_cur"); + var bar_tot = $("kiu_progress_tot"); + bar_cur.nextSibling.innerHTML = ""; + bar_tot.nextSibling.innerHTML = ""; + bar_cur.style.width = "0%"; + bar_tot.style.width = "0%"; + if(!supportAjaxUploadWithProgress()){ + finalsizes = Array(); + var myform = document.getElementsByName("kiu_upform0"); + var loop = 0; + while(myform[0]){ + myform[0].reset(); + loop++; + myform = document.getElementsByName("kiu_upform"+loop); + } + } else { + $('kiu_m_file_form').reset(); + var fakefield = $('kiu_m_file').nextSibling.firstChild; + fakefield.innerHTML = ""; + fw.resize(fakefield, 4, 0, 18); + } + } + + function gotuploadinfo(responseText, nextform){ + var obj = $("kiu_uploaddata"); + var counter; + var currentsizes = Array(); + + obj.innerHTML = responseText; + + for(var i = 1; i < obj.childNodes.length; i++){ + currentsizes.push(obj.childNodes[i].value); + } + + var bar_cur = $("kiu_progress_cur"); + var bar_tot = $("kiu_progress_tot"); + + var fileName = document.getElementsByName("kiu_upform"+nextform)[0].pic.files[0].name; + if(currentsizes[nextform] != "finished"){ + var barsize = Math.round((currentsizes[nextform]/finalsizes[nextform])*100); + bar_cur.style.width = barsize + "%"; + bar_cur.nextSibling.innerHTML = "Current '" + fileName + "'"; + var total = 0; + var current = 0; + for(var i = 0; i < finalsizes.length; i++){ + total += finalsizes[i]; + if(currentsizes[i] != "finished"){ + current += parseInt(currentsizes[i]); + } else { + current += parseInt(finalsizes[i]); + } + } + barsize = Math.round((current/total)*100); + bar_tot.style.width = barsize + "%"; + bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %"; + } else { + bar_cur.style.width = "100%"; + bar_cur.nextSibling.innerHTML = "'" + fileName + "' uploaded."; + } + + var fileName = document.getElementsByName("kiu_upform"+nextform)[0].pic.value.split("\\"); + fileName = fileName[fileName.length-1]; + if(currentsizes[nextform] != "finished"){ + bar_cur.style.width = "100%"; + bar_cur.nextSibling.innerHTML = "Current '" + fileName + "' " + Math.round(currentsizes[nextform]/1024) + " KB uploaded"; + var total = 0; + var current = 0; + for(var i = 0; i < finalsizes.length; i++){ + total += finalsizes[i]; + if(currentsizes[i] == "finished"){ + current += 1; + } + } + var barsize = Math.round((current/total)*100); + bar_tot.style.width = barsize + "%"; + bar_tot.nextSibling.innerHTML = "Total: " + barsize + " %"; + } else { + bar_cur.style.width = "100%"; + bar_cur.nextSibling.innerHTML = "'" + fileName + "' uploaded."; + } + + + counter = 0; + for(var i = 0; i < currentsizes.length; i++){ + if(currentsizes[i] == "finished" || finalsizes[i] == 0)counter++; + } + if(counter == currentsizes.length){ + allfinished(); + } else { + for(var i = 0; i < currentsizes.length; i++){ + if(currentsizes[i] != "finished" && finalsizes[i] != 0){ + if(obj.firstChild.value == 1){ + submitform("", nextform+1); + } else { // upload läuft, aber nächster kann noch nicht gestartet werden + setTimeout( function(){ + fw.getHTTP("ki_getuploadinfo.php?form="+nextform, gotuploadinfo, nextform); + }, 1000); + } + return; + } + } + } + + } + + + + function preventDefaultAction(aEvent) { + + aEvent.stopPropagation(); + + + aEvent.preventDefault(); + + + aEvent.returnValue = false; + + } + + function taste_kiu(aEvent) { + aEvent = aEvent ? aEvent : window.event; + var keyCode = aEvent.keyCode; + if(keyCode == 27){ + kiu.closeUpload(); + preventDefaultAction(aEvent); + return false; + } + } +} + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php new file mode 100644 index 00000000..e2edf708 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_js_view.php @@ -0,0 +1,1789 @@ +"; + } else { + if($style != "")$style = " style='".$style."' "; + echo ""; + } +} + +function addEvent($el, $event, $function){ + global $browser; + if($browser == "ie6" || $browser == "ie7"){ + echo $el.".attachEvent('on".$event."', ".$function.");\n"; + } else { + echo $el.".addEventListener('".$event."', ".$function.", false);\n"; + } +} + +function removeEvent($el, $event, $function){ + global $browser; + if($browser == "ie6" || $browser == "ie7"){ + echo $el.".detachEvent('on".$event."', ".$function.");\n"; + } else { + echo $el.".removeEventListener('".$event."', ".$function.", false);\n"; + } +} + +//------------------------------------------------------------------------ end functions ---------------------------------------------------------------------------------- + +$browser = $_SERVER['HTTP_USER_AGENT']; + +if(preg_match("/Opera/",$browser)) + $browser = "opera"; +elseif(preg_match("/MSIE [9]/",$browser)) + $browser = "ie9"; +elseif(preg_match("/MSIE [7-8]/",$browser)) + $browser = "ie7"; +elseif(preg_match("/MSIE [1-6]/",$browser)) + $browser = "ie6"; +elseif(preg_match("/AppleWebKit/",$browser)) + $browser = "webkit"; +else + $browser = "gecko"; + +if($browser == "ie6") + $posfix = "absolute"; +else + $posfix = "fixed"; + +if(isset($_GET['reldir'])) + $reldir = $_GET['reldir']; +else + $reldir = ""; + +$confdir = $reldir."ki_config/"; +$galleriesdir = $reldir."ki_galleries/"; +$basedir = $reldir."ki_base/"; + +if(isset($_GET['gallery'])) + $gallery = $_GET['gallery']; +else + $gallery = ""; + +// -------------- Sicherheitsabfragen! +if(preg_match("/[\.]*\//", $gallery))exit(); +// ---------- Ende Sicherheitsabfragen! + +$confdir = $reldir."ki_config/"; +$galleriesdir = $reldir."ki_galleries/"; +$basedir = $reldir."ki_base/"; + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php"); + +$pwok = 0; +if(isset($_SESSION['pwquery'])){ + if($_SESSION['pwquery'] === $pw)$pwok = 1; +} + +header("Content-Type: application/x-javascript"); +?> + +// Viewing module 'kiv' -------------------------------------------------------------------- + +function kiv_module(){ + + /* -------------------------------- variables ----------------------------------- */ + + var cur_gallery = -1; + var cur_pic = -1; + var preloading; + var breakpreloading = 0; + var cur_load = 0; + var windowX; + var windowY; + var oversizeX = 0; + var oversizeY = 0; + var posX; + var posY; + var previewing = 0; + var ss = -1; + var stop = 0; + var flipped = 2; + + /* -------------------------------- getElementById function --------------------- */ + + function $(id){ + return document.getElementById(id); + } + + /* -------------------------------- constructor/descturctor --------------------- */ + + this.constr = function(params){ + + viewdim(); + var node; + if(!$("kiv_picdiv")){ + node = document.createElement("div"); + node.id = "kiv_picdiv"; + node.style.position = ""; + node.style.zIndex = 1000; + node.style.background = ""; + node.style.padding = "0px"; + node.style.display = "none"; + node.style.overflow = "hidden"; + document.body.appendChild(node); + } + + if(!$("kiv_comdiv")){ + node = document.createElement("div"); + node.id = "kiv_comdiv"; + node.style.position = ""; + node.style.zIndex = 1000; + node.style.background = ""; + node.style.padding = "10px"; + node.style.display = "none"; + node.style.overflow = "hidden"; + node.style.font = ""; + node.style.color = ""; + fw.dropshadow(node, 1); + document.body.appendChild(node); + } + + if(!$("kiv_inshadow")){ + node = document.createElement("div"); + node.id = "kiv_inshadow"; + node.style.position = "relative"; + node.style.left = "0%"; + node.style.top = "0%"; + node.style.zIndex = 1000; + node.style.background = "none"; + node.style.padding = "0px"; + node.style.border = "px solid "; + node.style.width = "0px"; + node.style.height = "0px"; + node.style.display = "none"; + node.style.overflow = "hidden"; + node.style.cursor = "pointer"; + node.onclick = function(){ + kiv.goon(1); + } + fw.dropshadow(node, 3); + $("kiv_picdiv").appendChild(node); + } + if(!$("kiv_closebutton")){ + var tbcontent = ""; + node = document.createElement("div"); + node.id = "kiv_closebutton"; + node.style.position = "absolute"; + node.style.top = "0px"; + node.style.right = "0px"; + node.style.background = ""; + node.style.zIndex = 10000; + node.style.padding = "1px 1px 3px 1px"; + node.style.lineHeight = "12px"; + fw.dropshadow(node, 1); + node.innerHTML = tbcontent; + $("kiv_inshadow").appendChild(node); + } + + if(!$("kiv_help")){ + var nodeh = document.createElement("div"); + nodeh.id = "kiv_help"; + nodeh.style.color = ""; + nodeh.style.font = "12px Tahoma, sans-serif"; + nodeh.style.position = "absolute"; + + nodeh.style.left = "4px"; + + nodeh.style.right = "4px"; + + nodeh.style.bottom = "4px"; + nodeh.style.lineHeight = "19px"; + nodeh.style.textAlign = "left"; + nodeh.style.zIndex = "10"; + if(ss == 1)nodeh.style.display = "none"; + var infosymbol = ""; + var infocontent = ""; + infocontent = infocontent.replace("[mouse]", ""); + nodeh.innerHTML = infosymbol; + fw.addevent( nodeh, "mouseover", function(){ + nodeh.style.width = "250px"; + nodeh.style.padding = "4px"; + nodeh.style.background = ""; + nodeh.style.border = "2px solid "; + nodeh.innerHTML = infocontent; + fw.fade(nodeh, 100); + } ); + fw.addevent( nodeh, "mouseout", function(){ + nodeh.style.width = "auto"; + nodeh.style.padding = "0px"; + nodeh.style.background = "none"; + nodeh.style.border = "0px"; + nodeh.innerHTML = infosymbol; + fw.fade(nodeh, 51); + } ); + $("kiv_inshadow").appendChild(nodeh); + setTimeout( function(){ + if(nodeh && ss != 1 && nodeh.style.width != "250px" && nodeh.style.display != "none")fw.fade(nodeh, 51); + }, 5000); + } + + + if(!$("kiv_gpspic")){ + var tbcontent = ""; + node = document.createElement("div"); + node.id = "kiv_gpspic"; + node.style.position = "absolute"; + node.style.top = "0px"; + node.style.left = "0px"; + node.style.background = ""; + node.style.zIndex = 10000; + node.style.padding = "1px 1px 3px 1px"; + node.style.lineHeight = "12px"; + fw.dropshadow(node, 1); + node.style.display = "none"; + node.innerHTML = tbcontent; + $("kiv_inshadow").appendChild(node); + } + + + + if(!$("kiv_loading")){ + node = document.createElement("img"); + node.id = "kiv_loading"; + + node.style.margin = "0px"; + node.style.marginLeft = "-px"; + node.style.marginTop = "-px"; + node.style.position = ""; + node.style.top = "50%"; + node.style.left = "50%"; + node.style.zIndex = 10000; + node.src = ""; + node.style.padding = "0px"; + node.style.border = "0px"; + node.style.display = "none"; + document.body.appendChild(node); + } + if(!$("kiv_prevdiv")){ + node = document.createElement("div"); + node.id = "kiv_prevdiv"; + node.style.position = ""; + node.style.zIndex = 10000; + node.style.background = ""; + node.style.padding = "4px 2px 4px 2px"; + node.style.height = "100px"; + node.style.overflow = "hidden"; + node.style.display = "none"; + fw.dropshadow(node, 1); + document.body.appendChild(node); + } + + if(!$("kiv_wowdiv")){ + node = document.createElement("div"); + node.id = "kiv_wowdiv"; + node.style.position = ""; + node.style.zIndex = 1001; + node.style.padding = "0px"; + node.style.display = "none"; + + node.style.padding = "px"; + node.style.background = ""; + + document.body.appendChild(node); + } + + + + if(!$("kiv_share")){ + node = document.createElement("div"); + node.id = "kiv_share"; + node.style.width = "280"; + node.style.position = ""; + node.style.top = windowY + "px"; + node.style.left = "50%"; + node.style.marginLeft = "-145px"; + node.style.background = ""; + + node.style.borderRadius = "20px"; + node.style.MozBorderRadius = "20px"; + node.style.WebkitBorderRadius = "20px"; + + node.style.border = "2px solid "; + node.style.zIndex = 1000; + node.style.padding = "3px 3px 30px 3px"; + node.style.overflow = "hidden"; + node.style.lineHeight = "12px"; + node.style.display = "none"; + var tbcontent = ""; + node.innerHTML = tbcontent + ""; + document.body.appendChild(node); + } + + fw.shadebody(1); + + if(!$("kiv_tb")){ + var breite = ; + var tbcontent = ""; + + breite += ; + tbcontent += ""; + + + breite += ; + tbcontent += ""; + + if(kib.pics[params[0]].length > 1){ + + tbcontent += ""; + + tbcontent += ""; + tbcontent += ""; + } + node = document.createElement("div"); + node.id = "kiv_tb"; + node.style.position = ""; + node.style.top = "-px"; + node.style.left = "50%"; + node.style.marginLeft = -(breite+10)/2+"px"; + node.style.background = ""; + + node.style.borderRadius = "20px"; + node.style.MozBorderRadius = "20px"; + node.style.WebkitBorderRadius = "20px"; + + node.style.border = "2px solid "; + node.style.zIndex = 10000; + node.style.padding = "20px 3px 3px 3px"; + node.style.lineHeight = "12px"; + node.style.display = "none"; + node.innerHTML = tbcontent; + document.body.appendChild(node); + } + + + + alert("WARNING: If you want to write custom comments you have to set '$comm_auto = 0'. Custom comments won't get saved. Set '$show_warnings = 0' if you don't want to see this warning again."); + + kiv.getImage(params[0], params[1]); + } + + this.destr = function(){ + document.body.removeChild($("kiv_picdiv")); + document.body.removeChild($("kiv_comdiv")); + + document.body.removeChild($("kiv_tb")); + + document.body.removeChild($("kiv_loading")); + document.body.removeChild($("kiv_prevdiv")); + document.body.removeChild($("kiv_wowdiv")); + document.body.removeChild($("kiv_share")); + + + } + + /* -------------------------------- methodes ------------------------------------ */ + + + this.deleteVComm = function(counter){ + fw.getHTTP("ki_vcomm.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&counter=" + counter + "&get=1", kiv.getvcomm, null); + } + + this.publishVComm = function(counter){ + fw.getHTTP("ki_vcomm.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&publish=" + counter + "&get=1", kiv.getvcomm, null); + } + + this.savecomment = function(aEvent, commstring){ + aEvent = aEvent ? aEvent : window.event; + var keyCode = aEvent.keyCode; + if(keyCode == 27){ + kiv.closeImage(); + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 33 && !aEvent.shiftKey){ + kiv.goon(-1); + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 34 && !aEvent.shiftKey){ + kiv.goon(1); + preventDefaultAction(aEvent); + return false; + } + if((aEvent.ctrlKey == true && keyCode == 13) || keyCode == 10){ + fw.getHTTP("ki_savecomment.php?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&comment=" + encodeURIComponent(commstring), saved, null); + preventDefaultAction(aEvent); + return false; + } + } + + function saved(){ + stop = 0; + kiv.goon(1); + } + + function squarethumbhandling(){ + if($("square_selector")){ + var sths = 0; + var startx = 0; + var starty = 0; + var obj = $("square_selector"); + obj.style.display = "block"; + var sub = fw.findPos(obj); + var objx = parseInt(obj.style.width); + var objy = parseInt(obj.style.height); + if(objx == objy)return; + var wide = objx > objy ? 1 : 0; + var square_1 = $("square_1").style; + var square_2 = $("square_2").style; + var posx = parseInt(square_1.width); + var posy = parseInt(square_1.height); + fw.addevent( obj, "mousedown", function(x, y){ + if(sths == 0){ + sths = 1; + startx = x - sub[0]; + starty = y - sub[1]; + } + } ); + fw.addevent( obj, "mousemove", function(x, y){ + if(sths == 1){ + var movx = (x - sub[0]) - startx; + var movy = (y - sub[1]) - starty; + if(wide == 1){ + var temp = posx + movx; + if(temp < 0)temp = 0; + if(temp > (objx - 100))temp = objx - 100; + square_1.width = temp + "px"; + square_2.width = objx - (temp + 100) + "px"; + } else { + var temp = posy + movy; + if(temp < 0)temp = 0; + if(temp > (objy - 100))temp = objy - 100; + square_1.height = temp + "px"; + square_2.height = objy - (temp + 100) + "px"; + } + } + } ); + fw.addevent( obj, "mouseup", function(x, y){ + if(sths == 1){ + var final = -1; + if(wide == 1){ + var final = posx + (x - sub[0]) - startx; + if(final < 0)final = 0; + if(final > (objx - 100))final = objx - 100; + final = final / objx; + } else { + var final = posy + (y - sub[1]) - starty; + if(final < 0)final = 0; + if(final > (objy - 100))final = objy - 100; + final = final / objy; + } + var params = "?file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&pos=" + final; + fw.getHTTP("ki_savesquarethumb.php" + params, null); + var long = new Date(); + long.setTime(long.getTime() + (10 * 365 * 24 * 60 * 60 * 1000)); + document.cookie = "koschtit_" + kib.dirs[cur_gallery] + cur_gallery + "_" + kib.pics[cur_gallery][cur_pic].file + "=" + final + "; path=/; expires=" + long.toGMTString(); + obj.style.background = "#00ff00"; + setTimeout( function(){ + obj.style.background = "#000000"; + }, 400); + } + sths = 0; + } ); + var custompos = -1; + var nameEQ = "koschtit_" + kib.dirs[cur_gallery] + cur_gallery + "_" + kib.pics[cur_gallery][cur_pic].file + "="; + var ca = document.cookie.split(';'); + for(var i = 0; i < ca.length; i++) { + var c = ca[i]; + while (c.charAt(0)==' ')c = c.substring(1,c.length); + if(c.indexOf(nameEQ) == 0)custompos = c.substring(nameEQ.length,c.length); + } + if(custompos != -1){ + if(wide == 1){ + var temp = Math.round(custompos*objx); + square_1.width = temp + "px"; + square_2.width = objx - (temp + 100) + "px"; + } else { + var temp = Math.round(custompos*objy); + square_1.height = temp + "px"; + square_2.height = objy - (temp + 100) + "px"; + } + } + } + } + + + function viewdim(){ + if(window.innerHeight){ + windowX = window.innerWidth; + windowY = window.innerHeight; + } else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode + windowX = document.documentElement.clientWidth; + windowY = document.documentElement.clientHeight; + } else if (document.body){ // other Explorers + windowX = document.body.clientWidth; + windowY = document.body.clientHeight; + } + if($("kiv_share"))$("kiv_share").style.top = windowY + "px"; + if($("kiv_comdiv")){ + var com_div = $("kiv_comdiv"); + var sizes = fw.getDim($("kiv_picdiv"), 1); + var comm_x = com_div.offsetWidth; + var comm_y = com_div.offsetHeight; + if(comm_x > sizes[0]){ + comm_x = sizes[0]; + com_div.style.width = (sizes[0] - 2*10) + "px"; + comm_y = com_div.offsetHeight; + } + + var x_pos = $("kiv_picdiv").offsetLeft; + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + if(comm_x != sizes[0])x_pos += 5; + } + + var x_pos = $("kiv_picdiv").offsetLeft + sizes[0] - comm_x; + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + if(comm_x != sizes[0])x_pos -= 5; + } + + var x_pos = $("kiv_picdiv").offsetLeft + 0.5*(sizes[0] - comm_x); + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + } + + com_div.style.left = x_pos + "px"; + com_div.style.top = y_pos + "px"; + } + } + + function preloadgallery(){ + if(breakpreloading == 1)return; + var files = kib.pics[cur_gallery].length; + cur_load = cur_pic + 1; + if(cur_load == files)return; + var loaded = 0; + while(preloading[cur_load] != null){ + cur_load++; + loaded++; + if(loaded == files){ + return; + } + if(cur_load == files || cur_load - cur_pic > 3)return; + } + preloading[cur_load] = document.createElement('img'); + preloading[cur_load].onload = function(){ + preloadgallery(); + }; + var picsize = calcpicsize(cur_load); + if(picsize[0] != kib.pics[cur_gallery][cur_load].x){ + preloading[cur_load].src = "ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_load].file) + "&width=" + picsize[0] + "&height=" + picsize[1]; + } else { + preloading[cur_load].src = "" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_load].file; + } + } + + this.getImage = function(gallerynumber, picnumber){ + if(stop == 1)return; + var firsttoshow = 0; + if(cur_gallery == -1){ + firsttoshow = 1; + preloading = new Array(kib.pics[gallerynumber].length); + } + if($("kib_helpbox")){ + kib.hidehelp(); + } + + if($("kiv_vcomments_form")){ + $("kiv_picdiv").removeChild($("kiv_vcomments_form")); + if($("kiv_vcomments_list"))$("kiv_picdiv").removeChild($("kiv_vcomments_list")); + } + kiv.removewow(); + fw.fade("kiv_gpspic", 0); + if(gallerynumber == -1)gallerynumber = cur_gallery; + breakpreloading = 1; + preloading[cur_load] = null; + cur_gallery = gallerynumber; + cur_pic = picnumber; + var picsize = calcpicsize(picnumber); + + oversizeX = posX = 0; + oversizeY = posY = 0; + if(picsize[0]+2* > windowX)oversizeX = Math.round((picsize[0] - windowX)*0.5) + ; + if(picsize[1]+2* > windowY)oversizeY = Math.round((picsize[1] - windowY)*0.5) + ; + + var params = "?reldir=&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&x=" + picsize[0] + "&y=" + picsize[1]; + fw.getHTTP("ki_fullimg.php" + params, kiv.gotImage, Array(picsize, firsttoshow, 0)); + } + + this.gotImage = function(responseText, params){ + if(stop == 1)return; + var picdiv = $("kiv_picdiv"); + var inshad = $("kiv_inshadow"); + var picdivsize = params[0]; + var firsttoshow = params[1]; + if(params[2] == 0){ // Bild wird geladen + picdivsize[0] += ; + picdivsize[1] += ; + + if(firsttoshow == 1){ // Einfgen/Warten von onload beim ersten ffnen + + picdiv.style.top = "50%"; + picdiv.style.left = "50%"; + picdiv.style.width = "0px"; + picdiv.style.height = "1px"; + picdiv.style.display = "block"; + + var node = document.createElement("div"); + node.innerHTML = responseText; + var temp = node.childNodes.length; + for(var i = 0; i < temp; i++){ + picdiv.appendChild(node.childNodes[0]); + } + + var thepic = $("thepicture"); + thepic.onload = function(){ + if(kiv != null && thepic == $("thepicture"))kiv.gotImage("", Array(picdivsize, firsttoshow, 1)); + }; + thepic.src = thepic.alt; + setTimeout( function(){ if(kiv != null && thepic != null){if(thepic.alt != "" && !thepic.complete){fw.fade("kiv_loading", 100, Array(function(){$("kiv_loading").src = "";}));$("kiv_picdiv").style.zIndex = 99;}} }, 750); + + } else { // Einfgen/Warten von onload beim Weiterklicken + + + if($("square_selector"))picdiv.removeChild($("square_selector")); + + + if($("kiv_gps"))picdiv.removeChild($("kiv_gps")); + + + if($("kiv_vcomm"))picdiv.removeChild($("kiv_vcomm")); + + if($("thepicture"))$("thepicture").id = "oldpic"; + + fw.fade("kiv_comdiv", 0); + + var node = document.createElement("div"); + node.innerHTML = responseText; + var temp = node.childNodes.length; + for(var i = 0; i < temp; i++){ + picdiv.appendChild(node.childNodes[0]); + } + var thepic = $("thepicture"); + thepic.onload = function(){ + if(kiv != null && thepic == $("thepicture"))kiv.gotImage("", Array(picdivsize, firsttoshow, 1)); + }; + thepic.src = thepic.alt; + setTimeout( function(){ if(kiv != null && thepic != null){if(thepic.alt != "" && !thepic.complete){fw.fade("kiv_loading", 100, Array(function(){$("kiv_loading").src = "";}));$("kiv_picdiv").style.zIndex = 99;}} }, 750); + + + } + + } else { // Bild wurde geladen -> Bild anzeigen + + $("kiv_loading").style.display = "none"; + if(previewing == 0){ + $("kiv_picdiv").style.zIndex = 1000; + $("kiv_comdiv").style.zIndex = 1000; + } + preloading[cur_pic] = 1; + breakpreloading = 0; + preloadgallery(); + + + var shareadd = location.search; + if(shareadd.indexOf('kit_code=') != -1) + shareadd = shareadd.substr(0, shareadd.indexOf('kit_code=')-1); + if(shareadd.indexOf('?') == -1) + shareadd = "?" + shareadd; + else + shareadd += "&"; + var slash = ""; + if(location.pathname.substr(0, 1) != "/")slash = "/"; + shareadd = "http://" + location.hostname + slash + location.pathname + shareadd + "kit_code=" + cur_gallery+"_"+cur_pic + location.hash; + $("kiv_share").childNodes[1].value = shareadd; + + + var thepic = $("thepicture"); + if(thepic != null){ + thepic.alt = ""; + thepic.style.display = "none"; + thepic.style.visibility = "visible"; + } + flipped = 0; + + if(firsttoshow == 1){ // Bild wurde geladen -> Bild anzeigen beim ersten ffnen + + fw.resize( picdiv, 2, picdivsize[0], 1, Array( function(){ + + fw.resize( picdiv, 2, picdivsize[0], picdivsize[1], Array( function(){ + inshad.style.width = picdivsize[0] - 2* + "px"; + inshad.style.height = picdivsize[1] - 2* + "px"; + inshad.style.display = "block"; + fw.dropshadow(picdiv, 1); + fw.fade("thepicture", 100, Array( function(){ + + + fw.move("kiv_tb", 3, 0, -); + $("kiv_tb").setAttribute("contr", "stay"); + setTimeout( function() { + if($("kiv_tb"))$("kiv_tb").setAttribute("contr", ""); + }, 5000); + + + fw.move("kiv_share", 3, 0, windowY - 29); + $("kiv_share").setAttribute("contr", "stay"); + setTimeout( function() { + if($("kiv_share"))$("kiv_share").setAttribute("contr", ""); + }, 5000); + + viewdim(); + showcomment(); + checkgps(); + checkvcomment(); + var focme = $("focusme"); + if(focme){ + kib.showhelp(focme, 4, 2); + } + + + squarethumbhandling(); + + if(ss == 1)setTimeout( function(){if(kiv != null){if(ss == 1){ss = 2;kiv.goon(1);}}} , ); + + } )); + } )); + } )); + + } else { // Bild wurde geladen -> Bild anzeigen beim Weiterklicken + + fw.fade("oldpic", 0, Array( function(){ + var picdiv = $("kiv_picdiv"); + for(var i = 0; i < picdiv.childNodes.length; i++){ + if(picdiv.childNodes[i].id == "oldpic"){ + picdiv.removeChild(picdiv.childNodes[i]); + i-=1; + } + } + } )); + fw.fade("thepicture", 100, Array( function(){ + inshad.style.display = "block"; + fw.resize( inshad, 1, picdivsize[0] - 2*, picdivsize[1] - 2* ); + fw.resize( picdiv, 2, picdivsize[0], picdivsize[1], Array( function(){ + showcomment(); + checkgps(); + checkvcomment(); + if(previewing == 0){ + + } + + squarethumbhandling(); + + if(ss != 1)fw.fade("kiv_help", 51); + if(ss == 1)setTimeout( function(){if(kiv != null){if(ss == 1){ss = 2;kiv.goon(1);}}} , ); + } )); + } )); + } + } + } + + function checkgps(){ + + if(stop == 1 || ss == 1)return; + if(!$("kiv_gps"))return; + var coordinates = $("kiv_gps").value; + if(coordinates != "0,0"){ + fw.fade("kiv_gpspic", 100); + } else { + + var params = "?gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file); + fw.getHTTP("ki_cellid.php" + params, gotCellInfo, Array(cur_gallery, cur_pic)); + + } + + } + + + function gotCellInfo(responseText, params){ + if(stop == 1 || ss == 1)return; + if(cur_gallery != params[0] || cur_pic != params[1])return; + if(responseText == "0,0")return; + $("kiv_gps").value = responseText; + fw.fade("kiv_gpspic", 100); + } + + + + this.opengps = function(){ + if($("kiv_gps")){ + if($("kiv_gps").value != "0,0"){ + var coordinates = $("kiv_gps").value; + var filename = kib.pics[cur_gallery][cur_pic].file; + filename = filename.substr(0, filename.length-4); + window.open("http://maps.google.com/?q=" + filename + "@" + coordinates); + } + } + } + + + function checkvcomment(){ + + if(stop == 1 || ss == 1)return; + if(!$("vcommbutton"))return; + if(!$("kiv_vcomm"))return; + var obj = $("vcommbutton"); + if($("kiv_vcomm").value == "1"){ + var tb = obj.parentNode; + tb.setAttribute("contr", "stay"); + fw.move(tb, 3, 0, -, Array(function(){ + + fw.fade(obj, 10, Array(fw.fade, obj, 100, Array(fw.fade, obj, 10, Array(fw.fade, obj, 100, Array(fw.fade, obj, 10, Array(fw.fade, obj, 100, Array(function(){ + if(tb){ + tb.setAttribute("contr", ""); + } + }))))))); + + setTimeout( function(){ + if(tb){ + tb.setAttribute("contr", ""); + } + }, 2000); + + })); + } + + } + + + this.removewow = function(){ + var wowdiv = $("kiv_wowdiv"); + wowdiv.innerHTML = ""; + wowdiv.style.display = "none"; + fw.dropshadow(wowdiv, 0); + + var blende = $("fw_blend"); + blende.style.cursor = "auto"; + blende.onclick = null; + + } + + + function mousemoved(aEvent) { + if(stop == 1)return; + aEvent = aEvent ? aEvent : window.event; + var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX; + var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY; + + + var tb = $("kiv_tb"); + if(y > windowY * 0.33 || x > (windowX/2+200) || x < (windowX/2-200)){ + if(tb.getAttribute("contr") == ""){ + fw.move(tb, 3, 0, -); + tb.setAttribute("contr", "open"); + } + } else { + if(tb.getAttribute("contr") == "open"){ + fw.move(tb, 3, 20, -); + tb.setAttribute("contr", ""); + } + } + + + + var sh = $("kiv_share"); + if(y < windowY - 150 || x > (windowX/2+300) || x < (windowX/2-300)){ + if(sh.getAttribute("contr") == ""){ + + if(aEvent.srcElement.nodeName == "INPUT")return; + + fw.move(sh, 3, 0, windowY); + sh.setAttribute("contr", "open"); + } + } else { + if(sh.getAttribute("contr") == "open"){ + fw.move(sh, 3, 20, windowY - 29); + sh.setAttribute("contr", ""); + } + } + + + if(!x)x = 1; + if(ss == 1)return; + + var dim = fw.getDim($("kiv_picdiv")); + var wowdiv = $("kiv_wowdiv"); + + + if(windowX - dim[0] >= 0.33*windowX){ // Bild bedeckt max 2/3 des Bildschirmplatzes + if(x > (windowX + dim[0])*0.5 && cur_pic != kib.pics[cur_gallery].length-1){ + if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){ + if(!wowdiv.firstChild){ + var picsize = calcpicsize(cur_pic+1); + var picsrc = ""; + if(picsize[0] != kib.pics[cur_gallery][cur_pic+1].x){ + picsrc = "ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic+1].file) + "&width=" + picsize[0] + "&height=" + picsize[1]; + } else { + picsrc = "" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_pic+1].file; + } + wowdiv.style.zIndex = 10000; + wowdiv.innerHTML = "
    "; + wowdiv.style.left = (windowX + dim[0])*0.5 - 30 + "px"; + fw.dropshadow("kiv_wowdiv_inshadow", 3); + fw.dropshadow(wowdiv, 1); + fw.fade(wowdiv, 100); + } + var obj = kib.pics[cur_gallery][cur_pic+1]; + var breite = x - (windowX + dim[0])*0.5 + 50; + var hoehe = (obj.y/obj.x)*breite; + var maxh = dim[1]*0.66; + if(hoehe > maxh){ + hoehe = maxh; + breite = (obj.x/obj.y)*hoehe; + } + var pic = wowdiv.firstChild; + pic.style.width = breite + "px"; + pic.style.height = hoehe + "px"; + wowdiv.style.top = y + "px"; + wowdiv.style.marginTop = -0.5*(hoehe+*2) + "px"; + var inshad = $("kiv_wowdiv_inshadow"); + inshad.style.width = breite + "px"; + inshad.style.height = hoehe + "px"; + } + } else if(x < (windowX - dim[0])*0.5 && cur_pic != 0){ + if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){ + if(!wowdiv.firstChild){ + var picsize = calcpicsize(cur_pic-1); + var picsrc = ""; + if(picsize[0] != kib.pics[cur_gallery][cur_pic-1].x){ + picsrc = "ki_makepic.php?fullimg=1&file=" + kib.dirs[cur_gallery] + "/" + encodeURIComponent(kib.pics[cur_gallery][cur_pic-1].file) + "&width=" + picsize[0] + "&height=" + picsize[1]; + } else { + picsrc = "" + kib.dirs[cur_gallery] + "/" + kib.pics[cur_gallery][cur_pic-1].file; + } + wowdiv.style.zIndex = 999; + wowdiv.innerHTML = "
    "; + fw.dropshadow("kiv_wowdiv_inshadow", 3); + fw.dropshadow(wowdiv, 1); + fw.fade(wowdiv, 100); + } + var obj = kib.pics[cur_gallery][cur_pic-1]; + var breite = (windowX - dim[0])*0.5 - x + 50; + var hoehe = (obj.y/obj.x)*breite; + var maxh = dim[1]*0.66; + if(hoehe > maxh){ + hoehe = maxh; + breite = (obj.x/obj.y)*hoehe; + } + var pic = wowdiv.firstChild; + pic.style.width = breite + "px"; + pic.style.height = hoehe + "px"; + wowdiv.style.left = (windowX - dim[0])*0.5 + 30 - breite - *2 + "px"; + wowdiv.style.top = y + "px"; + wowdiv.style.marginTop = -0.5*(hoehe+*2) + "px"; + var inshad = $("kiv_wowdiv_inshadow"); + inshad.style.width = breite + "px"; + inshad.style.height = hoehe + "px"; + } + } else { + if(wowdiv.firstChild){ + kiv.removewow(); + } + } + } + + if(windowX - dim[0] >= 80){ // Mindestens 40 Pixel Platz zu jeder Seite + if(x > (windowX + dim[0])*0.5 && cur_pic != kib.pics[cur_gallery].length-1){ + if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){ + if(!wowdiv.firstChild){ + wowdiv.innerHTML = ""; + wowdiv.style.left = (windowX + dim[0])*0.5 + 5 + "px"; + wowdiv.style.top = "50%"; + wowdiv.style.marginTop = -0.5*() + "px"; + fw.fade(wowdiv, 100); + var blende = $("fw_blend"); + blende.style.cursor = "pointer"; + blende.onclick = function(){ + kiv.goon(1); + } + } + } + } else if(x < (windowX - dim[0])*0.5 && cur_pic != 0){ + if(y > (windowY-dim[1])*0.5 && y < (windowY+dim[1])*0.5){ + if(!wowdiv.firstChild){ + wowdiv.innerHTML = ""; + wowdiv.style.left = (windowX - dim[0])*0.5 - 5 - + "px"; + wowdiv.style.top = "50%"; + wowdiv.style.marginTop = -0.5*() + "px"; + fw.fade(wowdiv, 100); + var blende = $("fw_blend"); + blende.style.cursor = "pointer"; + blende.onclick = function(){ + kiv.goon(-1); + } + } + } + + } else { + if(wowdiv.firstChild){ + kiv.removewow(); + } + } + } + + + 0){ ?> + if(windowX - dim[0] < 200)return; // Mindestens 100 Pixel Platz zu jeder Seite + if(x > windowX - 40 && cur_pic != kib.pics[cur_gallery].length-1){ + + if(wowdiv.firstChild){ + fw.dropshadow(wowdiv, 0); + fw.fade(wowdiv, 0, Array( function(){ + wowdiv.innerHTML = ""; + } )); + } + + + previewing = 1; + var prevdiv = $("kiv_prevdiv"); + prevdiv.style.top = y - 54 + "px"; + prevdiv.style.left = windowX + 500 + "px"; + prevdiv.style.width = "20px"; + $("kiv_picdiv").style.zIndex = 99; + $("kiv_comdiv").style.zIndex = 99; + prevdiv.style.display = "block"; + fw.move(prevdiv, 2, windowX - 20, 0, Array( function(){ + var params = "?reldir=&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&topic=1"; + fw.getHTTP("ki_preview.php" + params, kiv.showpreview, 1); + + } )); + } else if(x < 40 && cur_pic != 0){ + + if(wowdiv.firstChild){ + fw.dropshadow(wowdiv, 0); + fw.fade(wowdiv, 0, Array( function(){ + wowdiv.innerHTML = ""; + } )); + } + + + previewing = 1; + var prevdiv = $("kiv_prevdiv"); + prevdiv.style.top = y - 54 + "px"; + prevdiv.style.left = "-500px"; + prevdiv.style.width = "20px"; + $("kiv_picdiv").style.zIndex = 99; + $("kiv_comdiv").style.zIndex = 99; + prevdiv.style.display = "block"; + fw.move(prevdiv, 2, 0, 0, Array( function(){ + var params = "?reldir=&gallery=" + kib.dirs[cur_gallery] + "&file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&topic=-1"; + fw.getHTTP("ki_preview.php" + params, kiv.showpreview, -1); + + } )); + } + + } + + this.showpreview = function(responseText, topic){ + if(stop == 1 || previewing == 0)return; + var prevdiv = $("kiv_prevdiv"); + prevdiv.innerHTML = responseText; + var gesbreite = $("gesbreite").value; + if(topic == 1){ + prevdiv.style.width = gesbreite + "px"; + fw.move(prevdiv, 2, windowX - gesbreite - 4, 0); + } else { + prevdiv.style.left = -1*gesbreite + 20 + "px"; + prevdiv.style.width = gesbreite + "px"; + fw.move(prevdiv, 2, 0, 0); + } + } + + function closepreview(aEvent){ + if(stop == 1)return; + aEvent = aEvent ? aEvent : window.event; + var x = aEvent.clientX ? aEvent.clientX : aEvent.pageX; + var y = aEvent.clientY ? aEvent.clientY : aEvent.pageY; + + if(x > windowX - 40 || x < 40)return; + + + previewing = 0; + var prevdiv = $("kiv_prevdiv"); + if($("kiv_loading").style.display == "none"){ + $("kiv_picdiv").style.zIndex = 1000; + $("kiv_comdiv").style.zIndex = 1000; + } + if(parseInt(prevdiv.style.left) > 0){ + fw.move(prevdiv, 2, windowX, 0, Array( function(){ + prevdiv.innerHTML = ""; + prevdiv.style.display = "none"; + + } )); + } else { + fw.move(prevdiv, 2, -prevdiv.offsetWidth, 0, Array( function(){ + prevdiv.innerHTML = ""; + prevdiv.style.display = "none"; + + } )); + } + } + + function showcomment(){ + if(stop == 1)return; + var com_div = $("kiv_comdiv"); + var sizes = fw.getDim($("kiv_picdiv"), 1); + if($("thecomment")){ + com_div.style.visibility = "hidden"; + com_div.style.display = "block"; + com_div.style.width = "auto"; + + var commstring = $("thecomment").innerHTML; + + commstring = commstring.replace(/%x/, cur_pic+1); + commstring = commstring.replace(/%X/, kib.pics[cur_gallery].length); + commstring = commstring.replace(/%g/, kib.dirs[cur_gallery]); + var filename = kib.pics[cur_gallery][cur_pic].file; + commstring = commstring.replace(/%f/, filename.substr(0, filename.length-4)); + + com_div.innerHTML = commstring; + + $("kiv_picdiv").removeChild($("thecomment")); + + var comm_x = com_div.offsetWidth; + var comm_y = com_div.offsetHeight; + + if(comm_x > sizes[0]){ + comm_x = sizes[0]; + com_div.style.width = (sizes[0] - 2*10) + "px"; + comm_y = com_div.offsetHeight; + } + + + var x_pos = $("kiv_picdiv").offsetLeft; + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + if(comm_x != sizes[0])x_pos += 5; + } + + var x_pos = $("kiv_picdiv").offsetLeft + sizes[0] - comm_x; + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + if(comm_x != sizes[0])x_pos -= 5; + } + + var x_pos = $("kiv_picdiv").offsetLeft + 0.5*(sizes[0] - comm_x); + var y_pos = $("kiv_picdiv").offsetHeight + $("kiv_picdiv").offsetTop + 5; + if(y_pos + comm_y > windowY){ + y_pos -= comm_y + 10; + } + + + com_div.style.left = x_pos + "px"; + com_div.style.top = y_pos + "px"; + com_div.style.display = "none"; + com_div.style.visibility = "visible"; + fw.fade(com_div, 100); + + var focme = $("focusme"); + if(focme){ + focme.focus(); + } + } + + } + + function calcpicsize(fileno){ + var picx = kib.pics[cur_gallery][fileno].x; + var picy = kib.pics[cur_gallery][fileno].y; + var winx = picx + ; + var winy = picy + ; + + var xlimiter = ; + var ylimiter = ; + if(xlimiter < 1)xlimiter = parseInt(*windowX); + if(ylimiter < 1)ylimiter = parseInt(*windowY); + + if(xlimiter > windowX)xlimiter = windowX - 20; + if(ylimiter > windowY)ylimiter = windowY - 34; + + if(winy > ylimiter || winx > xlimiter){ + var k; + if( (picx / picy) > 1){ + k = picy / picx; + picx = xlimiter-; + picy = k*picx; + if(picy > ylimiter-){ + picy = ylimiter-; + picx = (1/k) * picy; + } + } else { + k = picx / picy; + picy = ylimiter-; + picx = k*picy; + if(picx > xlimiter-){ + picx = xlimiter-; + picy = (1/k) * picx; + } + } + picx = Math.round(picx); + picy = Math.round(picy); + } + + return new Array(picx, picy); + } + + this.slideshow = function(){ + if(stop == 1)return; + if(ss == 2)ss = 1; + ss *= -1; + var sspic = $("ssbutton"); + if(ss == 1){ + + sspic.src = "ki_nav_stop.png"; + + sspic.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=ki_nav_stop.png)"; + + sspic.title = ""; + $("kiv_help").style.display = "none"; + ss = 2; + kiv.goon(1); + } else { + + sspic.src = "ki_nav_play.png"; + + sspic.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=ki_nav_play.png)"; + + sspic.title = ""; + fw.fade("kiv_help", 51); + } + } + + this.sshelp = function(val){ + ss = val; + } + + this.goon = function(topic){ + if(stop == 1 || ss == 1)return; + if(ss == 2)ss = 1; + if(topic > 0){ + if(cur_pic + topic <= kib.pics[cur_gallery].length-1){ + kiv.getImage(cur_gallery, cur_pic+topic); + } else { + kiv.getImage(cur_gallery, (cur_pic+topic)-kib.pics[cur_gallery].length); + } + } else { + if(cur_pic + topic >= 0){ + kiv.getImage(cur_gallery, cur_pic+topic); + } else { + kiv.getImage(cur_gallery, kib.pics[cur_gallery].length+(cur_pic+topic)); + } + } + } + + this.closeImage = function(){ + stop = 1; + if($("kib_helpbox")){ + kib.hidehelp(); + } + + kiv.removewow(); + if(window.stop !== undefined){ + window.stop(); + }else if(document.execCommand !== undefined){ + document.execCommand("Stop", false); + } + var picdiv = $("kiv_picdiv"); + + if($("square_selector")){ + var obj = $("square_selector"); + obj.parentNode.removeChild(obj); + } + + if($("kiv_vcomments_form"))$("kiv_picdiv").removeChild($("kiv_vcomments_form")); + if($("kiv_vcomments_list"))$("kiv_picdiv").removeChild($("kiv_vcomments_list")); + fw.fade("kiv_share", 0); + fw.fade("kiv_closebutton", 0); + fw.fade("kiv_help", 0); + fw.fade("kiv_gpspic", 0); + fw.fade("kiv_prevdiv", 0); + fw.fade("kiv_tb", 0); + fw.fade("kiv_inshadow", 0); + + fw.fade("kiv_comdiv", 0, Array( function() { + fw.fade("thepicture", 0, Array( fw.resize, picdiv, 2, parseInt(picdiv.style.width), 1, Array( fw.resize, picdiv, 2, 0, 1, Array( function(){fw.removejs("kiv");if(typeof(kie_module) == "function"){$("kie_maindiv").style.zIndex = 1000;$("kie_tb").style.display = "block";}else{if(typeof(kis_module) != "function")fw.shadebody(0);}} )))); + } )); + + } + + function preventDefaultAction(aEvent) { + + aEvent.stopPropagation(); + + + aEvent.preventDefault(); + + + aEvent.returnValue = false; + + } + + function taste(aEvent) { + aEvent = aEvent ? aEvent : window.event; + var keyCode = aEvent.keyCode; + var charCode = aEvent.charCode ? aEvent.charCode : 0; + if(keyCode == 27){ + kiv.closeImage(); + preventDefaultAction(aEvent); + return false; + } + if(stop == 1 || flipped != 0)return; + + if(keyCode == 19 || keyCode == 32 || charCode == 32){ + if(kib.pics[cur_gallery].length > 1)kiv.slideshow($("ssbutton")); + preventDefaultAction(aEvent); + return false; + } + if(ss == 1)return false; + + + if(keyCode == 70 || charCode == 102 || keyCode == 102){ + kiv.flip_vcomm(); + preventDefaultAction(aEvent); + return false; + } + + if(keyCode == 33 || keyCode == 36){ + kiv.goon(-1); + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 34 || keyCode == 35){ + kiv.goon(1); + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 38){ + + if(kib.pics[cur_gallery][cur_pic].y+2* > windowY){ + if(posY < oversizeY){ + posY += 20; + var picdiv = $("kiv_picdiv"); + picdiv.style.marginTop = -(0.5*picdiv.offsetHeight) + posY + "px"; + } + } + + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 40){ + + if(kib.pics[cur_gallery][cur_pic].y+2* > windowY){ + if(oversizeY + posY > 0){ + posY -= 20; + var picdiv = $("kiv_picdiv"); + picdiv.style.marginTop = -(0.5*picdiv.offsetHeight) + posY + "px"; + } + } + + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 37){ + + if(kib.pics[cur_gallery][cur_pic].x+2* > windowX){ + if(posX < oversizeX){ + posX += 20; + var picdiv = $("kiv_picdiv"); + picdiv.style.marginLeft = -(0.5*picdiv.offsetWidth) + posX + "px"; + } + } else { + kiv.goon(-1); + } + + kiv.goon(-1); + + preventDefaultAction(aEvent); + return false; + } + if(keyCode == 39){ + + if(kib.pics[cur_gallery][cur_pic].x+2* > windowX){ + if(oversizeX + posX > 0){ + posX -= 20; + var picdiv = $("kiv_picdiv"); + picdiv.style.marginLeft = -(0.5*picdiv.offsetWidth) + posX + "px"; + } + } else { + kiv.goon(1); + } + + kiv.goon(1); + + preventDefaultAction(aEvent); + return false; + } + } + + + this.flip_vcomm = function(){ + if(flipped == 0){ + if($("kib_helpbox")){ + kib.hidehelp(); + } + flip(1); + flipped = 2; + return; + } + if(flipped == 1){ + flip(-1); + flipped = 2; + return; + } + } + + function flip(direction){ + if(stop == 1 || ss == 1 || flipped == 2)return; + + stop = 1; + + var picsize = calcpicsize(cur_pic); + picsize[0] += ; + picsize[1] += ; + + if(direction == 1){ + if(picsize[0] < 700)picsize[0] = 700; + if(picsize[1] < 410)picsize[1] = 410; + } else { + $("kiv_picdiv").removeChild($("kiv_vcomments_form")); + $("kiv_picdiv").removeChild($("kiv_vcomments_list")); + } + + var flipZ = (picsize[0]/(1.2*picsize[1]))*0.25; + if(flipZ > 0.5)flipZ = 0.5; + if(flipZ < 0.05)flipZ = 0.05; + + + if($("square_selector"))$("square_selector").style.display = "none"; + + + if($("kiv_gpspic"))$("kiv_gpspic").style.display = "none"; + + + $("kiv_help").style.display = "none"; + + $("kiv_comdiv").style.visibility = "hidden"; + var node = $("kiv_inshadow"); + node.style.display = "none"; + node.style.width = picsize[0] - + "px"; + node.style.height = picsize[1] - + "px"; + + var temp = 0; + + var node = document.createElement("div"); + node.innerHTML = ""; + var what = node.childNodes.length; + for(var i = 0; i < what; i++){ + $("kiv_picdiv").appendChild(node.childNodes[0]); + } + $("kiv_flipT1").onload = function(){ + temp++; + if(temp == 4)kiv.flip2(direction, picsize, flipZ); + }; + $("kiv_flipB1").onload = function(){ + temp++; + if(temp == 4)kiv.flip2(direction, picsize, flipZ); + }; + $("kiv_flipT2").onload = function(){ + temp++; + if(temp == 4)kiv.flip2(direction, picsize, flipZ); + }; + $("kiv_flipB2").onload = function(){ + temp++; + if(temp == 4)kiv.flip2(direction, picsize, flipZ); + }; + } + + this.flip2 = function(direction, picsize, flipZ){ + var obj = $("kiv_picdiv"); + fw.dropshadow(obj, 0); + fw.fade("thepicture", 0, Array( function(){ + + var node = document.createElement("div"); + node.id = "kiv_flip_"; + node.style.margin = "0px"; + node.style.position = "absolute"; + node.style.marginLeft = "-50%"; + node.style.marginTop = "-50%"; + node.style.top = "50%"; + node.style.left = "50%"; + node.style.padding = "0px"; + node.style.border = "0px"; + node.style.width = "100%"; + node.style.height = "100%"; + node.style.background = ""; + obj.appendChild(node); + + obj.style.background = "none"; + + fw.resize2( "kiv_picdiv", 2, 0, picsize[1], Array( function() { + $("kiv_flipT1").style.display = "none"; + $("kiv_flipB1").style.display = "none"; + $("kiv_flipT2").style.width = "100%"; + $("kiv_flipB2").style.width = "100%"; + fw.resize2( "kiv_picdiv", 2, picsize[0], picsize[1], Array( function() { + $("kiv_picdiv").removeChild($("kiv_flipT1")); + $("kiv_picdiv").removeChild($("kiv_flipB1")); + $("kiv_picdiv").removeChild($("kiv_flipT2")); + $("kiv_picdiv").removeChild($("kiv_flipB2")); + $("kiv_picdiv").removeChild($("kiv_flip_")); + $("kiv_picdiv").style.background = ""; + fw.dropshadow(obj, 1); + obj = $("thepicture"); + var picsize = calcpicsize(cur_pic); + if(direction == 1){ + obj.style.left = "px"; + obj.style.top = "px"; + obj.style.margin = "0px"; + obj.style.width = "230px"; + obj.style.padding = "5px"; + obj.style.height = (picsize[1]/picsize[0])*230 + "px"; + + obj.onclick = function(){ + kiv.flip_vcomm(); + }; + fw.fade(obj, 100); + + picsize[0] += ; + picsize[1] += ; + if(picsize[0] < 700)picsize[0] = 700; + if(picsize[1] < 410)picsize[1] = 410; + picsize[0] -= ; + picsize[1] -= ; + + var node = document.createElement("div"); + node.id = "kiv_vcomments_form"; + node.style.margin = "0px"; + node.style.position = "absolute"; + node.style.top = "px"; + node.style.left = "px"; + node.style.padding = "0px"; + node.style.textAlign = "left"; + node.style.border = "0px"; + node.style.lineHeight = "12px"; + node.style.font = ""; + node.style.color = ""; + node.innerHTML = "

    "; + $("kiv_picdiv").appendChild(node); + $("vcomm_email").focus(); + $("vcomm_assystem").style.width = picsize[0]-240 + "px"; + + node = document.createElement("div"); + node.id = "kiv_vcomments_list"; + node.style.margin = "0px"; + node.style.position = "absolute"; + node.style.top = "px"; + node.style.left = "px"; + node.style.padding = "5px"; + node.style.textAlign = "left"; + node.style.lineHeight = "12px"; + node.style.width = picsize[0] + 10 - 10 + "px"; + node.style.height = picsize[1] - 260 - 5 + "px"; + node.style.background = ""; + node.style.overflowY = "scroll"; + node.style.font = ""; + node.style.color = ""; + node.innerHTML = ""; + $("kiv_picdiv").appendChild(node); + var params = "?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&get=1"; + fw.getHTTP("ki_vcomm.php" + params, kiv.getvcomm, null); + + } else { + flipped = 0; + obj.style.left = "50%"; + obj.style.top = "50%"; + obj.style.padding = "0px"; + obj.style.marginLeft = -0.5*picsize[0]+"px"; + obj.style.marginTop = -0.5*picsize[1]+"px"; + obj.style.width = picsize[0]+"px"; + obj.style.height = picsize[1]+"px"; + + obj.onclick = function(){ + kiv.goon(1); + }; + fw.fade(obj, 100, Array( function(){ + + + if($("square_selector"))$("square_selector").style.display = "block"; + + + checkgps(); + + + fw.fade("kiv_help", 51); + + + $("kiv_comdiv").style.visibility = "visible"; + $("kiv_inshadow").style.display = "block"; + + if($("focusme"))$("focusme").focus(); + + flipped = 0; + } ) ); + } + stop = 0; + } ) ); + fw.resize2( "kiv_flipT2", 4, 0, 0 ); + fw.resize2( "kiv_flipB2", 4, 0, 0 ); + fw.resize2( "kiv_flip_", 2, picsize[0], picsize[1] ); + } ) ); + fw.resize2( "kiv_flipT1", 4, 0, Math.round(picsize[1]*flipZ) ); + fw.resize2( "kiv_flipB1", 4, 0, Math.round(picsize[1]*flipZ) ); + fw.resize2( "kiv_flip_", 2, 0, Math.round(picsize[1]*(1-2*flipZ))+8 ); + + } ) ); + } + + this.sendvcomment = function(){ + var email = $("vcomm_email").value; + var assystem = $("vcomm_assystem").value; + if(email != "" && assystem != ""){ + var shareadd = location.search; + if(shareadd.indexOf('kit_code=') != -1) + shareadd = shareadd.substr(0, shareadd.indexOf('kit_code=')-1); + if(shareadd.indexOf('?') == -1) + shareadd = "?" + shareadd; + else + shareadd += "&"; + var slash = ""; + if(location.pathname.substr(0, 1) != "/")slash = "/"; + shareadd = encodeURIComponent(location.hostname + slash + location.pathname + shareadd + "kit_code=" + cur_gallery+"_"+cur_pic + location.hash); + var params = "?file=" + encodeURIComponent(kib.pics[cur_gallery][cur_pic].file) + "&gallery=" + kib.dirs[cur_gallery] + "&email=" + encodeURIComponent(email) + "&assystem=" + encodeURIComponent(assystem) + "&address=" + shareadd; + fw.getHTTP("ki_vcomm.php" + params, kiv.savedvcomm, null); + } else { + alert("ERROR: Name and/or comment empty."); + } + } + + this.savedvcomm = function(responseText){ + if(responseText == "1"){ + alert("ERROR: For spam avoiding reasons you are only allowed to post a comment every 3 minutes."); + } else if(responseText == "2") { + alert("ERROR: Your comment has been identified as spam."); + } else { + $("vcomm_email").value = ""; + $("vcomm_assystem").value = ""; + var vlist = $("kiv_vcomments_list"); + + var old = vlist.innerHTML; + vlist.style.visibility = "hidden"; + var oldd = parseInt(vlist.style.height); + vlist.style.height = "auto"; + var olds = fw.getDim(vlist, 1)[1]; + vlist.innerHTML = responseText; + var news = fw.getDim(vlist, 1)[1]; + vlist.innerHTML = old; + vlist.style.height = oldd + "px"; + vlist.style.visibility = "visible"; + fw.move(vlist, 3, 0, 280 + (news - olds), Array(function(){ + vlist.innerHTML = responseText; + vlist.style.top = "280px"; + })); + + alert("Thanks. Your comment will be visible after moderation."); + + } + } + + this.getvcomm = function(responseText){ + if(responseText != ""){ + if($("kiv_vcomments_list")){ + $("kiv_vcomments_list").innerHTML = responseText; + } + } + flipped = 1; + } + + + this.download = function(){ + var node = document.createElement("form"); + node.action = "ki_download.php"; + node.method = "post"; + node.innerHTML = ""; + document.body.appendChild(node); + node.submit(); + document.body.removeChild(node); + } +} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php new file mode 100644 index 00000000..bad23817 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_koschtit.php @@ -0,0 +1,404 @@ + filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_2($a, $b) +{ + global $galleryfolder; + + $exif = @exif_read_data($galleryfolder.$a[0]); + $date1 = ""; + if (isset($exif['DateTimeOriginal'])) + $date1 = $exif['DateTimeOriginal']; + if (empty($date1) && isset($exif['DateTime'])) + $date1 = $exif['DateTime']; + if (!empty($date1)){ + $date1 = explode(':', str_replace(' ',':', $date1)); + if(sizeof($date1) > 4){ + $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}"; + if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}"; + $date1 = strtotime($date1); + } + } else { + $date1 = filemtime($galleryfolder.$a[0]); + } + $exif = @exif_read_data($galleryfolder.$b[0]); + $date2 = ""; + if (isset($exif['DateTimeOriginal'])) + $date2 = $exif['DateTimeOriginal']; + if (empty($date2) && isset($exif['DateTime'])) + $date2 = $exif['DateTime']; + if (!empty($date2)){ + $date2 = explode(':', str_replace(' ',':', $date2)); + if(sizeof($date2) > 4){ + $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}"; + if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}"; + $date2 = strtotime($date2); + } else { + $date2 = filemtime($galleryfolder.$b[0]); + } + } else { + $date2 = filemtime($galleryfolder.$b[0]); + } + + return $date1 > $date2 ? 1 : -1; +} + +function cmp_3($a, $b) +{ + return strcmp($a[0], $b[0]); +} + +//-------------------------------------------------------------------------- end functions -------------------------------------------------------------------------------- + +$supported = array("jpg","png","gif"); + +$reldir = ""; +if(isset($_POST['reldir']))$reldir = $_POST['reldir']; +$confdir = $reldir."ki_config/"; +$galleriesdir = $reldir."ki_galleries/"; +$basedir = $reldir."ki_base/"; + +if(isset($_POST['gallery'])) + $gallery = $_POST['gallery']; +else + exit(); + +if(isset($_POST['gallerynumber'])) + $gallerynumber = $_POST['gallerynumber']; +else + exit(); + +if(isset($_POST['startfrom'])) + $startfrom = $_POST['startfrom']; +else + $startfrom = 0; + +if(isset($_POST['collectinfo'])) + $collectinfo = 1; +else + $collectinfo = 0; + +// -------------- Sicherheitsabfragen! +if(preg_match("/[\.]*\//", $gallery))exit(); +// ---------- Ende Sicherheitsabfragen! + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php")){ + include_once("../ki_config/".$gallery."_ki_setup.php"); + $configfile = "../ki_config/".$gallery."_ki_setup.php"; +} else { + $configfile = "../ki_config/ki_setup.php"; +} +$galleryfolder = "../ki_galleries/".$gallery."/"; +$thumbsfolder = $galleryfolder."thumbs/"; +$commentsfolder = $galleryfolder."comments/"; +$viewercommentsfolder = $galleryfolder."viewercomments/"; + +$temp = getimagesize("ki_nav_next.png"); +if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18); +if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line)); +if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4; +if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4; +$th_width = $th_width - 2*$th_bord_size; +$th_height = $th_height - 2*$th_bord_size; +if(($th_lines*$th_per_line) < $thumbs)$thumbs = $th_lines*$th_per_line; + +$zeile = 1; +$spalte = 0; + +$spaltenbreite = $fr_width/($th_per_line); +$zeilenhoehe = $fr_height/($th_lines); + +/*------------------- error/warning checking ------------------*/ +if($collectinfo == 1){ + if (!function_exists('imagecreatetruecolor')) { + echo "
    ERROR: KoschtIT Image Gallery can't find the PHP GD2 Library available. Please make sure you have removed the semicolon from this line ';extension=php_gd2.dll' in your php.ini and the library is correctly installed.
    "; + } + if(!is_dir($galleryfolder)) { + echo "
    ERROR: KoschtIT Image Gallery can't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.
    "; + echo ""; + exit(); + } + if($checkgps == 1){ + if(!function_exists("exif_read_data")){ + if($show_warnings == 1)echo "
    WARNING: You don't have the exif extension for PHP installed. The script won't be able to read any positioning metadata from your pictures. Please disable '\$checkgps' for fixing this issue. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } + } + if($pic_order == 3){ + if(!function_exists("exif_read_data")){ + $pic_order = 2; + if($show_warnings == 1)echo "
    WARNING: You don't have the exif extension for PHP installed. You can't set \'$pic_order\' to 3. Please set a different value for '\$pic_order'. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } + } + if($checkgps == 1 && $cellinfo == 1){ + if(!function_exists("curl_init")){ + if($show_warnings == 1)echo "
    WARNING: You don't have the curl extension for PHP installed. You will need this extension for retrieving geo-tagging information from opencellid.com . Please disable '\$cellinfo' for fixing this issue. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } + } + if($thumbs_to_disk == 1){ + $error = 0; + if(!is_dir($thumbsfolder)){ + @chmod($galleryfolder, 0777); + if( !@mkdir($thumbsfolder, 0777) ) { + $error = 1; + } + } else { + if(!is_file($thumbsfolder."test") && !$f = @fopen($thumbsfolder."test", 'w')){ + $error = 1; + } + @fclose($f); + @unlink($thumbsfolder."test"); + } + if($error == 1 && $show_warnings == 1)echo "
    WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\thumbs\"-folder). Thumbs won't be saved. Please disable '\$thumbs_to_disk' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } + if($comments == 1){ + $error = 0; + if(!is_dir($commentsfolder)){ + @chmod($galleryfolder, 0777); + if( !@mkdir($commentsfolder, 0777) ) { + $error = 1; + } + } else { + if(!is_file($commentsfolder."test") && !$f = @fopen($commentsfolder."test", 'w')){ + $error = 1; + } + @fclose($f); + @unlink($commentsfolder."test"); + } + if($error == 1 && $show_warnings == 1)echo "
    WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\comments\"-folder). Picture comments won't be saved, but you can still use '\$comm_auto'. Please disable '\$comments' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } + if($viewercomments == 1){ + $error = 0; + if(!is_dir($viewercommentsfolder)){ + @chmod($galleryfolder, 0777); + if( !@mkdir($viewercommentsfolder, 0777) ) { + $error = 1; + } + } else { + if(!is_file($viewercommentsfolder."test") && !$f = @fopen($viewercommentsfolder."test", 'w')){ + $error = 1; + } + @fclose($f); + @unlink($viewercommentsfolder."test"); + } + if($error == 1 && $show_warnings == 1)echo "
    WARNING: KoschtIT Image Gallery can't get writing permission on the server (\"ki_galleries\\".$gallery."\\viewercomments\"-folder). User comments won't be saved. Please disable '\$viewercomments' or grant writing permission. Set '\$show_warnings = 0' if you don't want to see this warning again.
    "; + } +} +/*------------------- end error/warning checking ------------------*/ + +/*------------------- config settings ------------------*/ +$savefile = $gallery."_lastmodified"; +$lastmodified = filemtime($configfile); +$saved = $fr_width.$fr_height.$thumbs.$th_per_line.$th_lines.$th_width.$th_height.$th_bord_size.$th_bord_hover_increase.$th_to_square.$th_2sq_crop_vert.$th_2sq_crop_hori.$show_nav.$nav_always; +$writestring = ""; +if(!file_exists($savefile))@file_put_contents($savefile, $writestring); +if(!file_exists($savefile)) { + $thumbs_to_disk = 0; +} else { + include_once($savefile); + if($lm_saved !== $saved){ + @file_put_contents($savefile, $writestring); + $matches = @glob($thumbsfolder."*.*", GLOB_ERR); + if(is_array($matches)){ + foreach($matches as $sf) { + if(!is_dir($sf) && !is_link($sf)){ + @unlink($sf); + } + } + } + } else { + $lastmodified = $lm_lastmodified; + } +} +/*------------------- end config settings ------------------*/ + +$files = array(); +$temp = array(); +$savedfolderhash = 0; +if(is_file($gallery."_dir")){ + $temp = explode(PHP_EOL, file_get_contents($gallery."_dir")); + $savedfolderhash = unserialize($temp[0]); +} +//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files +$folderhash = $pic_order; +$iterator = new DirectoryIterator($galleryfolder); +foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + $folderhash += $fileInfo->getMTime(); + continue; + } elseif($fileInfo->isFile()) { + $folderhash += $fileInfo->getSize(); + } +} +if($folderhash != $savedfolderhash){ + if($pic_order == 4 && sizeof($temp) > 1){ + $files = unserialize($temp[1]); + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $newcandidate = array($file, $imgsize[0], $imgsize[1]); + if(!in_array($newcandidate, $files))$files[] = $newcandidate; + } + } + reset($files); + } else { + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $files[] = array($file, $imgsize[0], $imgsize[1]); + } + } + switch($pic_order){ + case 0: + usort($files, "cmp_1"); + break; + case 1: + usort($files, "cmp_0"); + break; + case 2: + usort($files, "cmp_3"); + break; + case 3: + usort($files, "cmp_2"); + break; + default: + usort($files, "cmp_1"); + break; + } + reset($files); + } +} else { + $files = unserialize($temp[1]); +} + +if($collectinfo == 1){ + $id = 0; + $fileinfo = ""; + foreach ($files as $file) { + if($id != 0)$fileinfo .= ", "; + $id++; + $fileinfo .= "{ \"file\" : \"".$file[0]."\", \"x\" : ".$file[1].", \"y\" : ".$file[2]." }"; + } + echo ""; + @file_put_contents($gallery."_dir", serialize($folderhash).PHP_EOL.serialize($files)); +} + +$id = 0; +foreach ($files as $file) { + $id++; + if($id > $startfrom) { + + $spalte++; + if($spalte == $th_per_line+1){ + $zeile++; + $spalte = 1; + } + + $breite = $file[1]; + $hoehe = $file[2]; + + if( ($breite / $hoehe) > 1){ + $k = $hoehe / $breite; + $breite = $th_width; + $hoehe = $k*$breite; + if($hoehe > $th_height){ + $hoehe = $th_height; + $breite = (1/$k) * $hoehe; + } + } else { + $k = $breite / $hoehe; + $hoehe = $th_height; + $breite = $k*$hoehe; + if($breite > $th_width){ + $breite = $th_width; + $hoehe = (1/$k) * $breite; + } + } + + if($th_to_square == 1) { + if($th_width < $th_height){ + $breite = $th_width; + } else { + $breite = $th_height; + } + $hoehe = $breite; + } + + $x_pos = round($spaltenbreite*($spalte - 0.5) - 0.5*$breite) - $th_bord_size; + $y_pos = round($zeilenhoehe*($zeile - 0.5) - 0.5*$hoehe) - $th_bord_size; + + $breite = round($breite); + $hoehe = round($hoehe); + + if($th_bord_hover_increase > 1){ + $inc_breite = round($breite*$th_bord_hover_increase); + $inc_hoehe = round($breite*$th_bord_hover_increase); + } else { + $inc_breite = $breite; + $inc_hoehe = $hoehe; + } + + if($zeile <= $th_lines && ($id-$startfrom) <= $thumbs) + { + $src = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($file[0])."&width=".$inc_breite."&height=".$inc_hoehe; + $style = "border:".$th_bord_size."px solid ".$th_bord_color."; position:absolute; left:".$x_pos."px; top:".$y_pos."px; cursor:pointer; visibility:hidden; margin:0px; width:".$breite."px; height:".$hoehe."px;"; + if($thumbs_to_disk == 1){ + if(!is_file($thumbsfolder.$lastmodified.$file[0])){ + $src .= "&picname=".$lastmodified.rawurlencode($file[0]); + } else { + $src = $galleriesdir.$gallery."/thumbs/".$lastmodified.$file[0]; + } + } + echo "".$breite."_".$hoehe."_".$x_pos."_".$y_pos.""; + } + } +} + +if(($id-$startfrom) > $thumbs)echo ""; +if($startfrom != 0)echo ""; +?> diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif new file mode 100644 index 00000000..3cd7d9de Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_loading.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php new file mode 100644 index 00000000..93606187 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_makepic.php @@ -0,0 +1,317 @@ += 1) + $wide = 1; + else + $wide = 0; + + $custom = -1; + if(is_file("custom")){ + $content = @file_get_contents("custom"); + $pictures = explode("|", $content); + $picname = $gallery."_".$filename; + for($i = 0; $i < count($pictures); $i++){ + if(strpos($pictures[$i], $picname) !== FALSE){ + $custom = substr($pictures[$i], strpos($pictures[$i], "=") + 1); + } + } + } + + if($custom == -1){ + switch($th_2sq_crop_vert){ + case "top": + $src_y = 0; + if($wide == 1) + $src_h = $imgsize[1]; + else + $src_h = $imgsize[0]; + break; + case "middle"; + if($wide == 1){ + $src_y = 0; + $src_h = $imgsize[1]; + } else { + $src_y = $imgsize[1]*0.5-0.5*$imgsize[0]; + $src_h = $imgsize[0]; + } + break; + case "bottom": + if($wide == 1){ + $src_y = 0; + $src_h = $imgsize[1]; + } else { + $src_y = $imgsize[1]-$imgsize[0]; + $src_h = $imgsize[0]; + } + break; + } + switch($th_2sq_crop_hori){ + case "left": + $src_x = 0; + if($wide == 1) + $src_w = $imgsize[1]; + else + $src_w = $imgsize[0]; + break; + case "center"; + if($wide == 1){ + $src_x = $imgsize[0]*0.5-0.5*$imgsize[1]; + $src_w = $imgsize[1]; + } else { + $src_x = 0; + $src_w = $imgsize[0]; + } + break; + case "right": + if($wide == 1){ + $src_x = $imgsize[0]-$imgsize[1]; + $src_w = $imgsize[1]; + } else { + $src_x = 0; + $src_w = $imgsize[0]; + } + break; + } + } else { + if($wide == 1){ + $src_x = $custom*$imgsize[0]; + $src_y = 0; + $src_w = $imgsize[1]; + $src_h = $imgsize[1]; + } else { + $src_y = $custom*$imgsize[1]; + $src_x = 0; + $src_h = $imgsize[0]; + $src_w = $imgsize[0]; + } + } +} + + +$limit = getMemLimit(); +$need = getNeededMemoryForImageCreate($imgsize[0], $imgsize[1]); +if($need > $limit){ + while($limit < $need){ + if(!@ini_set("memory_limit", strval(round(return_bytes(ini_get("memory_limit"))*2))) || $limit < 0){ + if(!isset($_GET['fullimg'])){ + $im = imagecreate($breite, $hoehe); + $bg = imagecolorallocate($im, 255, 255, 255); + imagefill($im, 0, 0, $bg); + $textcolor = imagecolorallocate($im, 255, 0, 0); + imagestringwrap($im, 2, 2, 2, "ERROR: '".substr($file, strrpos($file, "/")+1)."' needs too much memory to create this thumb. Please reduce it's size by hand.", $textcolor, $breite-2); + header('Content-type: image/png'); + imagepng($im); + imagedestroy($im); + exit(); + } else { + header("Location: ".$file); + exit(); + } + } else { + $limit = return_bytes(ini_get("memory_limit")) - memory_get_usage(); + } + } +} + +ini_set("gd.jpeg_ignore_warning", true); + +switch(strtolower(substr($file, -3))){ + case "jpg": + $image = @imagecreatefromjpeg($file); + break; + case "png": + $image = @imagecreatefrompng($file); + break; + case "gif": + $image = @imagecreatefromgif($file); + break; + default: + exit; + break; +} + +$limit = getMemLimit(); +$need = getNeededMemoryForImageCreate($breite, $hoehe); +if($need > $limit){ + while($limit < $need){ + if(!@ini_set("memory_limit", strval(round(return_bytes(ini_get("memory_limit"))*2))) || $limit < 0){ + if(!isset($_GET['fullimg'])){ + $im = imagecreate($breite, $hoehe); + $bg = imagecolorallocate($im, 255, 255, 255); + imagefill($im, 0, 0, $bg); + $textcolor = imagecolorallocate($im, 255, 0, 0); + imagestringwrap($im, 2, 2, 2, "ERROR: '".substr($file, strrpos($file, "/")+1)."' needs too much memory to create this thumb. Please reduce it's size by hand.", $textcolor, $breite-2); + header('Content-type: image/png'); + imagepng($im); + imagedestroy($im); + exit(); + } else { + header("Location: ".$file); + exit(); + } + } else { + $limit = return_bytes(ini_get("memory_limit")) - memory_get_usage(); + } + } +} + +$bild = imagecreatetruecolor($breite, $hoehe); +imagealphablending($bild, false); +imagesavealpha($bild, true); +imagecopyresampled($bild, $image, 0, 0, $src_x, $src_y, $breite, $hoehe, $src_w, $src_h); +imagedestroy($image); + +if(isset($_GET['picname'])){ + $picname = rawurldecode($_GET['picname']); + // -------------- Sicherheitsabfragen! + if(preg_match("/[\.]*\//", $picname))exit(); + // ---------- Ende Sicherheitsabfragen! + switch(strtolower(substr($file, -3))){ + case "jpg": + @imagejpeg($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname'], 80); + break; + case "png": + @imagepng($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname']); + break; + case "gif": + @imagegif($bild, "../ki_galleries/".$gallery."/thumbs/".$_GET['picname']); + break; + } +} else { + //------------------ Start Caching --------------------------------- + header('Last-Modified: '.$gmt_mtime); + header('Cache-Control: public'); + header('Expires: '.gmdate('D, d M Y H:i:s', strtotime('+1 month')).' GMT'); + //------------------ Ende Caching --------------------------------- +} + +switch(strtolower(substr($file, -3))){ + case "jpg": + header("Content-Type: image/jpeg"); + imagejpeg($bild, "", 80); + break; + case "png": + header("Content-Type: image/png"); + imagepng($bild); + break; + case "gif": + header("Content-Type: image/gif"); + imagegif($bild); + break; +} + +imagedestroy($bild); +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php new file mode 100644 index 00000000..1b8956fd --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_managefolders.php @@ -0,0 +1,122 @@ +isDot()){ + continue; + } else if($fileInfo->isDir()){ + $info = calcSize($dir.$fileInfo->getBasename()."/"); + $size += $info[1]; + } else if($fileInfo->isFile()){ + $size += $fileInfo->getSize(); + $num += 1; + } + } + return array($num, $size); +} + +function listFolders(){ + $setting = ""; + $iterator = new DirectoryIterator("../ki_galleries/"); + foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + continue; + } else if($fileInfo->isDir()) { + $info = calcSize("../ki_galleries/".$fileInfo->getBasename()."/"); + $setting .= "{\"folder\":\"".addslashes($fileInfo->getBasename())."\", \"size\":".round(($info[1]/1024/1024), 2).", \"num\":".$info[0]." }, "; + } + } + $setting = substr($setting, 0, -2)." "; + return $setting; +} + +function deleteAll($folder){ + $iterator = new DirectoryIterator($folder); + foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + continue; + } else if($fileInfo->isFile()){ + @unlink($folder.$fileInfo->getBasename()); + } else if($fileInfo->isDir()){ + deleteAll($folder.$fileInfo->getBasename()."/"); + } + } + return @rmdir($folder); +} + +function emptyAll($folder){ + $iterator = new DirectoryIterator($folder); + foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + continue; + } else if($fileInfo->isFile()){ + if(!@unlink($folder.$fileInfo->getBasename()))return false; + } else if($fileInfo->isDir()){ + deleteAll($folder.$fileInfo->getBasename()."/"); + } + } + return true; +} + +/* ---------------------------------------------------------- end functions -------------------------------------------------- */ + +include_once("../ki_config/ki_setup.php"); + +$pwok = 0; +if(isset($_SESSION['pwquery'])){ + if($_SESSION['pwquery'] === $pw)$pwok = 1; +} + +if($pwok == 1){ + if(isset($_POST['list'])){ + echo "[ ".listFolders()." ]"; + } + if(isset($_POST['createnew'])){ + $error = ""; + $folder = "../ki_galleries/".$_POST['createnew']."/"; + if(!is_dir($folder)){ + if( !@mkdir($folder, 0777) ) { + $error = "ERROR: Could not create new folder. Check permissions."; + } + } else { + $error = "ERROR: Folder already exists."; + } + if($error === "") + echo "[ ".listFolders()." ]"; + else + echo "{\"error\":\"".$error."\" }"; + } + if(isset($_POST['delete'])){ + $error = ""; + $folder = "../ki_galleries/".$_POST['delete']."/"; + if(is_dir($folder)){ + if(!deleteAll($folder))$error = "ERROR: Could not delete folder. Check permissions."; + } else { + $error = "ERROR: Folder not existent."; + } + if($error === "") + echo "[ ".listFolders()." ]"; + else + echo "{\"error\":\"".$error."\" }"; + } + if(isset($_POST['empty'])){ + $error = ""; + $folder = "../ki_galleries/".$_POST['empty']."/"; + if(is_dir($folder)){ + if(!emptyAll($folder))$error = "ERROR: Could not empty folder. Check permissions."; + } else { + $error = "ERROR: Folder not existent."; + } + if($error === "") + echo "[ ".listFolders()." ]"; + else + echo "{\"error\":\"".$error."\" }"; + } +} +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png new file mode 100644 index 00000000..74624e72 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_mouse_help.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png new file mode 100644 index 00000000..b2c2d106 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_close.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png new file mode 100644 index 00000000..4e9c99b2 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_download.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png new file mode 100644 index 00000000..30e18e04 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_full.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png new file mode 100644 index 00000000..d4aaa8fd Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_globe.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png new file mode 100644 index 00000000..431a975d Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_info.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png new file mode 100644 index 00000000..c2ac959d Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_link.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png new file mode 100644 index 00000000..45c77753 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_next.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png new file mode 100644 index 00000000..1603a9d6 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_play.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png new file mode 100644 index 00000000..11ef619c Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_prev.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png new file mode 100644 index 00000000..685a4cbe Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_stop.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png new file mode 100644 index 00000000..50ef6f1d Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nav_vcomm.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png new file mode 100644 index 00000000..699a849b Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_next.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif new file mode 100644 index 00000000..35d42e80 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_noimage.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php new file mode 100644 index 00000000..90bc2fc7 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojs.php @@ -0,0 +1,447 @@ +"; + } else { + if($style != "")$style = " style='".$style."' "; + echo ""; + } +} + +if (!function_exists('file_put_contents')) { + function file_put_contents($filename, $data) { + $f = @fopen($filename, 'w'); + if (!$f) { + return false; + } else { + $bytes = fwrite($f, $data); + fclose($f); + return $bytes; + } + } +} + +if (!function_exists('file_get_contents')) { + function file_get_contents($filename) { + if ($handle = @fopen($filename, 'rb')) { + $data = fread($handle, filesize($filename)); + fclose($fh); + return $data; + } + } +} + +function cmp_0($a, $b) +{ + global $galleryfolder; + return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_1($a, $b) +{ + global $galleryfolder; + return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_2($a, $b) +{ + global $galleryfolder; + + $exif = @exif_read_data($galleryfolder.$a[0]); + $date1 = ""; + if (isset($exif['DateTimeOriginal'])) + $date1 = $exif['DateTimeOriginal']; + if (empty($date1) && isset($exif['DateTime'])) + $date1 = $exif['DateTime']; + if (!empty($date1)){ + $date1 = explode(':', str_replace(' ',':', $date1)); + $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}"; + if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}"; + $date1 = strtotime($date1); + } else { + $date1 = filemtime($galleryfolder.$a[0]); + } + $exif = @exif_read_data($galleryfolder.$b[0]); + $date2 = ""; + if (isset($exif['DateTimeOriginal'])) + $date2 = $exif['DateTimeOriginal']; + if (empty($date2) && isset($exif['DateTime'])) + $date2 = $exif['DateTime']; + if (!empty($date2)){ + $date2 = explode(':', str_replace(' ',':', $date2)); + $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}"; + if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}"; + $date2 = strtotime($date2); + } else { + $date2 = filemtime($galleryfolder.$b[0]); + } + + return $date1 > $date2 ? 1 : -1; +} + +function cmp_3($a, $b) +{ + return strcmp($a[0], $b[0]); +} + +//-------------------------------------------------------------------------- end functions -------------------------------------------------------------------------------- + +@ini_set("default_charset", "utf-8"); +header('Content-type: text/html; charset=utf-8'); + +$browser = $_SERVER['HTTP_USER_AGENT']; + +if(preg_match("/Opera/",$browser)) + $browser = "opera"; +elseif(preg_match("/MSIE [9]/",$browser)) + $browser = "ie9"; +elseif(preg_match("/MSIE [7-8]/",$browser)) + $browser = "ie7"; +elseif(preg_match("/MSIE [1-6]/",$browser)) + $browser = "ie6"; +elseif(preg_match("/AppleWebKit/",$browser)) + $browser = "webkit"; +else + $browser = "gecko"; + +if($browser == "ie6") + $posfix = "absolute"; +else + $posfix = "fixed"; + +$supported = array("jpg","png","gif"); + +if(isset($_GET['gallery'])) + $gallery = $_GET['gallery']; +else + exit(); + +if(isset($_GET['site'])) + $site = $_GET['site']; +else + exit(); + +if(isset($_GET['startfrom'])) + $startfrom = $_GET['startfrom']; +else + $startfrom = 0; + +if(isset($_GET['explorer'])) + $explorer = 1; +else + $explorer = 0; + +// -------------- Sicherheitsabfragen! +if(preg_match("/[\.]*\//", $gallery))exit(); +// ---------- Ende Sicherheitsabfragen! + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php")){ + include_once("../ki_config/".$gallery."_ki_setup.php"); + $configfile = "../ki_config/".$gallery."_ki_setup.php"; +} else { + $configfile = "../ki_config/ki_setup.php"; +} +$galleryfolder = "../ki_galleries/".$gallery."/"; +$thumbsfolder = $galleryfolder."thumbs/"; +$commentsfolder = $galleryfolder."comments/"; + +$temp = getimagesize("ki_nav_next.png"); +if($nav_always == 1 && $show_nav == 1)$fr_height -= ($temp[1]+18); +if($th_lines == "auto")$th_lines = ceil($thumbs/($th_per_line)); +if($th_width == "auto")$th_width = round($fr_width/($th_per_line)) - round($fr_height*0.04) - 4; +if($th_height == "auto")$th_height = round($fr_height/($th_lines)) - round($fr_height*0.04) - 4; +$th_width = $th_width - 2*$th_bord_size; +$th_height = $th_height - 2*$th_bord_size; +if(($th_lines*$th_per_line) < $thumbs)$thumbs = $th_lines*$th_per_line; + +$zeile = 1; +$spalte = 0; + +$spaltenbreite = $fr_width/($th_per_line); +$zeilenhoehe = $fr_height/($th_lines); +?> + + + + + + +KoschtIT Image Gallery: <?php echo $gallery ?> + + + + + +ERROR: KoschtIT Image Gallery can't find the PHP GD2 Library available. Please make sure you have removed the semicolon from this line ';extension=php_gd2.dll' in your php.ini and the library is correctly installed."; +} +if(!is_dir($galleryfolder)) { + echo "
    ERROR: KoschtIT Image Gallery can't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.
    "; + exit(); +} +if($pic_order == 3){ + if(!function_exists("exif_read_data")){ + $pic_order = 2; + } +} +/*------------------- end error/warning checking ------------------*/ + +/*------------------- config settings ------------------*/ +$savefile = $gallery."_lastmodified"; +$lastmodified = filemtime($configfile); +$saved = $fr_width.$fr_height.$thumbs.$th_per_line.$th_lines.$th_width.$th_height.$th_bord_size.$th_bord_hover_increase.$th_to_square.$th_2sq_crop_vert.$th_2sq_crop_hori.$show_nav.$nav_always; +$writestring = ""; +if(!file_exists($savefile))@file_put_contents($savefile, $writestring); +if(!file_exists($savefile)) { + $thumbs_to_disk = 0; +} else { + include_once($savefile); + if($lm_saved !== $saved){ + @file_put_contents($savefile, $writestring); + $matches = @glob($thumbsfolder."*.*", GLOB_ERR); + if(is_array($matches)){ + foreach($matches as $sf) { + if(!is_dir($sf) && !is_link($sf)){ + @unlink($sf); + } + } + } + } else { + $lastmodified = $lm_lastmodified; + } +} +/*------------------- end config settings ------------------*/ + +$files = array(); +$temp = array(); +$savedfolderhash = 0; +if(is_file($gallery."_dir")){ + $temp = explode(PHP_EOL, file_get_contents($gallery."_dir")); + $savedfolderhash = unserialize($temp[0]); +} +//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files +$folderhash = $pic_order; +$iterator = new DirectoryIterator($galleryfolder); +foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + $folderhash += $fileInfo->getMTime(); + continue; + } elseif($fileInfo->isFile()) { + $folderhash += $fileInfo->getSize(); + } +} +if($folderhash != $savedfolderhash){ + if($pic_order == 4 && sizeof($temp) > 1){ + $files = unserialize($temp[1]); + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $newcandidate = array($file, $imgsize[0], $imgsize[1]); + if(!in_array($newcandidate, $files))$files[] = $newcandidate; + } + } + reset($files); + } else { + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $files[] = array($file, $imgsize[0], $imgsize[1]); + } + } + switch($pic_order){ + case 0: + usort($files, "cmp_1"); + break; + case 1: + usort($files, "cmp_0"); + break; + case 2: + usort($files, "cmp_3"); + break; + case 3: + usort($files, "cmp_2"); + break; + default: + usort($files, "cmp_1"); + break; + } + reset($files); + } +} else { + $files = unserialize($temp[1]); +} + +if($explorer == 1){ + $temp = getimagesize("ki_nav_close.png"); +?> +
    + +
    +"; +} + + +$id = 0; +foreach ($files as $file) { + $id++; + if($id > $startfrom) { + + $spalte++; + if($spalte == $th_per_line+1){ + $zeile++; + $spalte = 1; + } + + $breite = $file[1]; + $hoehe = $file[2]; + + if( ($breite / $hoehe) > 1){ + $k = $hoehe / $breite; + $breite = $th_width; + $hoehe = $k*$breite; + if($hoehe > $th_height){ + $hoehe = $th_height; + $breite = (1/$k) * $hoehe; + } + } else { + $k = $breite / $hoehe; + $hoehe = $th_height; + $breite = $k*$hoehe; + if($breite > $th_width){ + $breite = $th_width; + $hoehe = (1/$k) * $breite; + } + } + + if($th_to_square == 1) { + if($th_width < $th_height){ + $breite = $th_width; + } else { + $breite = $th_height; + } + $hoehe = $breite; + } + + $x_pos = round($spaltenbreite*($spalte - 0.5) - 0.5*$breite) - $th_bord_size; + $y_pos = round($zeilenhoehe*($zeile - 0.5) - 0.5*$hoehe) - $th_bord_size; + + $breite = round($breite); + $hoehe = round($hoehe); + + if($th_bord_hover_increase > 1){ + $inc_breite = round($breite*$th_bord_hover_increase); + $inc_hoehe = round($breite*$th_bord_hover_increase); + } else { + $inc_breite = $breite; + $inc_hoehe = $hoehe; + } + + if(($zeile <= $th_lines && ($id-$startfrom) <= $thumbs) || $explorer == 1) + { + $src = "ki_makepic.php?file=".$gallery."/".rawurlencode($file[0])."&width=".$inc_breite."&height=".$inc_hoehe; + $style = "width:".$breite."px; height:".$hoehe."px;"; + $exp = ""; + if($explorer == 0){ + $style .= " position:absolute; left:".$x_pos."px; top:".$y_pos."px;"; + } else { + $exp .= "&explorer=1"; + } + if($thumbs_to_disk == 1){ + if(!is_file($thumbsfolder.$lastmodified.$file[0])){ + $src .= "&picname=".$lastmodified.rawurlencode($file[0]); + } else { + $src = "../ki_galleries/".$gallery."/thumbs/".$lastmodified.$file[0]; + } + } + echo ""; + } + } +} + + +if($explorer == 0 && $show_nav == 1){ + $breite = 0; + if($nav_pos === "right"){ + $xpos = "right:3px;"; + } elseif($nav_pos === "left"){ + $xpos = "left:3px;"; + } else { + $temp = getimagesize("ki_nav_close.png"); + $temp = $temp[0]+4; + $breite = $temp; + if($slideshow == 1 && $id > 1)$breite += $temp; + if($startfrom != 0)$breite += $temp; + if(($id-$startfrom) > $thumbs)$breite += $temp; + $xpos = "left:50%; margin-left:-".(0.5*($breite+10))."px;"; + } +?> +
    + + 1){ +?> + + + + $thumbs){ +?> + + +
    +"; +?> + + + + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php new file mode 100644 index 00000000..10a35720 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_nojsdisplayimage.php @@ -0,0 +1,427 @@ +"; + } else { + if($style != "")$style = " style='".$style."' "; + echo ""; + } +} + +if (!function_exists('file_put_contents')) { + function file_put_contents($filename, $data) { + $f = @fopen($filename, 'w'); + if (!$f) { + return false; + } else { + $bytes = fwrite($f, $data); + fclose($f); + return $bytes; + } + } +} + +if (!function_exists('file_get_contents')) { + function file_get_contents($filename) { + if ($handle = @fopen($filename, 'rb')) { + $data = fread($handle, filesize($filename)); + fclose($fh); + return $data; + } + } +} + +function cmp_0($a, $b) +{ + global $galleryfolder; + return (filemtime($galleryfolder.$a[0]) < filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_1($a, $b) +{ + global $galleryfolder; + return (filemtime($galleryfolder.$a[0]) > filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_2($a, $b) +{ + global $galleryfolder; + + $exif = @exif_read_data($galleryfolder.$a[0]); + $date1 = ""; + if (isset($exif['DateTimeOriginal'])) + $date1 = $exif['DateTimeOriginal']; + if (empty($date1) && isset($exif['DateTime'])) + $date1 = $exif['DateTime']; + if (!empty($date1)){ + $date1 = explode(':', str_replace(' ',':', $date1)); + $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}"; + if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}"; + $date1 = strtotime($date1); + } else { + $date1 = filemtime($galleryfolder.$a[0]); + } + $exif = @exif_read_data($galleryfolder.$b[0]); + $date2 = ""; + if (isset($exif['DateTimeOriginal'])) + $date2 = $exif['DateTimeOriginal']; + if (empty($date2) && isset($exif['DateTime'])) + $date2 = $exif['DateTime']; + if (!empty($date2)){ + $date2 = explode(':', str_replace(' ',':', $date2)); + $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}"; + if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}"; + $date2 = strtotime($date2); + } else { + $date2 = filemtime($galleryfolder.$b[0]); + } + + return $date1 > $date2 ? 1 : -1; +} + +function cmp_3($a, $b) +{ + return strcmp($a[0], $b[0]); +} + +function is_utf8($str) { + $c=0; $b=0; + $bits=0; + $len=strlen($str); + for($i=0; $i<$len; $i++){ + $c=ord($str[$i]); + if($c > 128){ + if(($c >= 254)) return false; + elseif($c >= 252) $bits=6; + elseif($c >= 248) $bits=5; + elseif($c >= 240) $bits=4; + elseif($c >= 224) $bits=3; + elseif($c >= 192) $bits=2; + else return false; + if(($i+$bits) > $len) return false; + while($bits > 1){ + $i++; + $b=ord($str[$i]); + if($b < 128 || $b > 191) return false; + $bits--; + } + } + } + return true; +} + +function utf8_encode_safe($string){ + + if( is_utf8($string) ) + return $string; + else + return utf8_encode($string); +} + +/* ---------------------------------------------------------- end functions -------------------------------------------------- */ + +$browser = $_SERVER['HTTP_USER_AGENT']; + +if(preg_match("/Opera/",$browser)) + $browser = "opera"; +elseif(preg_match("/MSIE [9]/",$browser)) + $browser = "ie9"; +elseif(preg_match("/MSIE [7-8]/",$browser)) + $browser = "ie7"; +elseif(preg_match("/MSIE [1-6]/",$browser)) + $browser = "ie6"; +elseif(preg_match("/AppleWebKit/",$browser)) + $browser = "webkit"; +else + $browser = "gecko"; + +if($browser == "ie6") + $posfix = "absolute"; +else + $posfix = "fixed"; + +/* --------------------------------------------------------- Display full image ---------------------------------------------------------------------- */ + +@ini_set("default_charset", "utf-8"); +header('Content-type: text/html; charset=utf-8'); + +if(isset($_GET['fileno'])) + $fileno = $_GET['fileno']; +else + exit; + +if(isset($_GET['gallery'])) + $gallery = $_GET['gallery']; +else + exit; + +if(isset($_GET['site'])) + $site = $_GET['site']; +else + exit; + +if(isset($_GET['explorer'])) + $explorer = 1; +else + $explorer = 0; + +if(isset($_GET['ss'])) + $ss = 1; +else + $ss = 0; + +// -------------- Sicherheitsabfragen! +if(!is_int(intval($fileno)))exit(); +if(preg_match("/[\.]*\//", $gallery))exit(); +// ---------- Ende Sicherheitsabfragen! + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php"); + +$supported = array("jpg","png","gif"); + +$galleryfolder = "../ki_galleries/".$gallery."/"; + +/*------------------- error/warning checking ------------------*/ +if(!is_dir($galleryfolder)) { + echo "
    ERROR: KoschtIT Image Gallery could't find the following folder on the server: '".htmlentities($gallery)."' . Please check if the folder is available in the 'ki_galleries' folder.
    "; + exit(); +} +if($pic_order == 3){ + if(!function_exists("exif_read_data")){ + $pic_order = 2; + } +} +/*------------------- end error/warning checking ------------------*/ + +$files = array(); +$temp = array(); +$savedfolderhash = 0; +if(is_file($gallery."_dir")){ + $temp = explode(PHP_EOL, file_get_contents($gallery."_dir")); + $savedfolderhash = unserialize($temp[0]); +} +//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files +$folderhash = $pic_order; +$iterator = new DirectoryIterator($galleryfolder); +foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + $folderhash += $fileInfo->getMTime(); + continue; + } elseif($fileInfo->isFile()) { + $folderhash += $fileInfo->getSize(); + } +} +if($folderhash != $savedfolderhash){ + if($pic_order == 4 && sizeof($temp) > 1){ + $files = unserialize($temp[1]); + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $newcandidate = array($file, $imgsize[0], $imgsize[1]); + if(!in_array($newcandidate, $files))$files[] = $newcandidate; + } + } + reset($files); + } else { + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $files[] = array($file, $imgsize[0], $imgsize[1]); + } + } + switch($pic_order){ + case 0: + usort($files, "cmp_1"); + break; + case 1: + usort($files, "cmp_0"); + break; + case 2: + usort($files, "cmp_3"); + break; + case 3: + usort($files, "cmp_2"); + break; + default: + usort($files, "cmp_1"); + break; + } + reset($files); + } +} else { + $files = unserialize($temp[1]); +} + +$file = $files[$fileno][0]; + +$x = $files[$fileno][1]; +$y = $files[$fileno][2]; + +$xlimiter = 10000; +$ylimiter = 10000; +if(is_int($max_pic_width)){ + $xlimiter = $max_pic_width; +} +if(is_int($max_pic_height)){ + $ylimiter = $max_pic_height; +} +if($y > $ylimiter || $x > $xlimiter){ + if(($x / $y) > 1){ + $k = $y / $x; + $x = $xlimiter-2*$bord_size; + $y = $k*$x; + if($y > $ylimiter-2*$bord_size){ + $y = $ylimiter-2*$bord_size; + $x = (1/$k) * $y; + } + } else { + $k = $x / $y; + $y = $ylimiter-2*$bord_size; + $x = $k*$y; + if($x > $xlimiter-2*$bord_size){ + $x = $xlimiter-2*$bord_size; + $y = (1/$k) * $x; + } + } + $x = round($x); + $y = round($y); +} + +$commfile = "../ki_galleries/".$gallery."/comments/".substr($file, 0, -4).".txt"; +$srcfile = $gallery."/".$file; + +if($x != $files[$fileno][1] || $y != $files[$fileno][2]){ + $srcfile = "ki_makepic.php?fullimg=1&file=".$srcfile."&width=".$x."&height=".$y; +} else { + $srcfile = "../ki_galleries/".$srcfile; +} +?> + + + + + + + +&ss=1"> + +KoschtIT Image Gallery: <?php echo $gallery ?> + + + + + 1)) + $breite = ($temp[0]+4)*3; + else + $breite = ($temp[0]+4)*2; + if($downloadpics == 1)$breite += ($temp[0]+4); + if($slideshow == 1)$breite += ($temp[0]+4); +?> +
    + " style="float:left;"> + + + + + + + 1){ + if($next == count($files))$next = 0; + if($prev == -1)$prev = count($files)-1; + ?> + " style="float:left;"> + " style="float:left;"> + +
    + + +
    +" style="display:block; text-decoration:none;"> +
    "; +?> +
    +".utf8_encode_safe(stripslashes($comm))."
    "; + }elseif($comm_text_align === "right"){ + echo "
    ".utf8_encode_safe(stripslashes($comm))."
    "; + }else{ + echo "
    ".utf8_encode_safe(stripslashes($comm))."
    "; + } + } +} +?> + + + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg new file mode 100644 index 00000000..be39a2c6 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_online_docu.jpg differ diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php new file mode 100644 index 00000000..6298e9dc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_preview.php @@ -0,0 +1,240 @@ + filemtime($galleryfolder.$b[0])) ? -1 : 1; +} + +function cmp_2($a, $b) +{ + global $galleryfolder; + + $exif = @exif_read_data($galleryfolder.$a[0]); + $date1 = ""; + if (isset($exif['DateTimeOriginal'])) + $date1 = $exif['DateTimeOriginal']; + if (empty($date1) && isset($exif['DateTime'])) + $date1 = $exif['DateTime']; + if (!empty($date1)){ + $date1 = explode(':', str_replace(' ',':', $date1)); + $date1 = "{$date1[0]}-{$date1[1]}-{$date1[2]} {$date1[3]}:{$date1[4]}"; + if(sizeof($date1) > 5)$date1 .= ":{$date1[5]}"; + $date1 = strtotime($date1); + } else { + $date1 = filemtime($galleryfolder.$a[0]); + } + $exif = @exif_read_data($galleryfolder.$b[0]); + $date2 = ""; + if (isset($exif['DateTimeOriginal'])) + $date2 = $exif['DateTimeOriginal']; + if (empty($date2) && isset($exif['DateTime'])) + $date2 = $exif['DateTime']; + if (!empty($date2)){ + $date2 = explode(':', str_replace(' ',':', $date2)); + $date2 = "{$date2[0]}-{$date2[1]}-{$date2[2]} {$date2[3]}:{$date2[4]}"; + if(sizeof($date2) > 5)$date2 .= ":{$date1[5]}"; + $date2 = strtotime($date2); + } else { + $date2 = filemtime($galleryfolder.$b[0]); + } + + return $date1 > $date2 ? 1 : -1; +} + +function cmp_3($a, $b) +{ + return strcmp($a[0], $b[0]); +} + +//-------------------------------------------------------------------------- end functions -------------------------------------------------------------------------------- + + +if(isset($_POST['file'])) + $file = rawurldecode($_POST['file']); +else + exit; + +if(isset($_POST['gallery'])) + $gallery = $_POST['gallery']; +else + exit; + +if(isset($_POST['topic'])) + $topic = $_POST['topic']; +else + exit; + +// -------------- Sicherheitsabfragen! +if(preg_match("/[\.]*\//", $file))exit(); +if(preg_match("/[\.]*\//", $gallery))exit(); +if(!is_file("../ki_galleries/".$gallery."/".$file))exit(); +// ---------- Ende Sicherheitsabfragen! + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php"); + +/*------------------- error/warning checking ------------------*/ +if($pic_order == 3){ + if(!function_exists("exif_read_data")){ + $pic_order = 2; + } +} +/*------------------- end error/warning checking ------------------*/ + +$supported = array("jpg","png","gif"); +$galleryfolder = "../ki_galleries/".$gallery."/"; +if(!is_dir($galleryfolder))exit(); + +$files = array(); +$temp = array(); +$savedfolderhash = 0; +if(is_file($gallery."_dir")){ + $temp = explode(PHP_EOL, file_get_contents($gallery."_dir")); + $savedfolderhash = unserialize($temp[0]); +} +//$folderhash = pic_order + MTime of $galleryfolder + fileSize of all files +$folderhash = $pic_order; +$iterator = new DirectoryIterator($galleryfolder); +foreach ($iterator as $fileInfo) { + if($fileInfo->isDot()){ + $folderhash += $fileInfo->getMTime(); + continue; + } elseif($fileInfo->isFile()) { + $folderhash += $fileInfo->getSize(); + } +} +if($folderhash != $savedfolderhash){ + if($pic_order == 4 && sizeof($temp) > 1){ + $files = unserialize($temp[1]); + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $file = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($file, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$file); + if($imgsize[0]){ + $newcandidate = array($file, $imgsize[0], $imgsize[1]); + if(!in_array($newcandidate, $files))$files[] = $newcandidate; + } + } + reset($files); + } else { + $iterator->rewind(); + foreach ($iterator as $fileInfo) { + $tfile = $fileInfo->getFilename(); + if(!in_array(strtolower(substr($tfile, -3)), $supported))$continue; + $imgsize = @getimagesize($galleryfolder.$tfile); + if($imgsize[0]){ + $files[] = array($tfile, $imgsize[0], $imgsize[1]); + } + } + switch($pic_order){ + case 0: + usort($files, "cmp_1"); + break; + case 1: + usort($files, "cmp_0"); + break; + case 2: + usort($files, "cmp_3"); + break; + case 3: + usort($files, "cmp_2"); + break; + default: + usort($files, "cmp_1"); + break; + } + reset($files); + } +} else { + $files = unserialize($temp[1]); +} + +$id = -1; +foreach ($files as $picfile) { + $id++; + if($picfile[0] == $file){ + break; + } +} + +$gesbreite = 0; + +if($topic == 1){ + $id++; + for($i = 0; $i < $preview_pics; $i++){ + if($id + $i >= count($files))break; + $srcfile = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($files[$id+$i][0]); + $y = 100; + $x = floor($files[$id+$i][1]/$files[$id+$i][2]*100); + $gesbreite += $x + 4; + echo ""; + + } +} else { + $id--; + for($i = 0; $i < $preview_pics; $i++){ + if($id - $i < 0)break; + $srcfile = $basedir."ki_makepic.php?file=".$gallery."/".rawurlencode($files[$id-$i][0]); + $y = 100; + $x = floor($files[$id-$i][1]/$files[$id-$i][2]*100); + $gesbreite += $x + 4; + echo ""; + } +} + +echo ""; +?> + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php new file mode 100644 index 00000000..365f6d5b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savecomment.php @@ -0,0 +1,65 @@ + + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php new file mode 100644 index 00000000..3aa7eaec --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_saveneworder.php @@ -0,0 +1,129 @@ + $newpos){ + for($i = 0; $i < sizeof($files); $i++){ + if($i < $newpos || $i > $oldpos){ + $newfiles[] = $files[$i]; + continue; + } + if($i == $newpos){ + $newfiles[] = $files[$oldpos]; + continue; + } + if($i <= $oldpos){ + $newfiles[] = $files[$i-1]; + continue; + } + } + } else { + for($i = 0; $i < sizeof($files); $i++){ + if($i < $oldpos || $i > $newpos){ + $newfiles[] = $files[$i]; + continue; + } + if($i < $newpos){ + $newfiles[] = $files[$i+1]; + continue; + } + if($i == $newpos){ + $newfiles[] = $files[$oldpos]; + continue; + } + } + } + + if(@file_put_contents($gallery."_dir", serialize($savedfolderhash).PHP_EOL.serialize($newfiles)) > 0){ + $setupfile = "../ki_config/".$gallery."_ki_setup.php"; + $params = ""; + if(is_file($setupfile)){ + $temp = explode(PHP_EOL, file_get_contents($setupfile)); + $set = 0; + for($i = 1; $i < sizeof($temp) - 1; $i++){ + if(strpos($temp[$i], "\$pic_order") !== FALSE){ + $params .= "\$pic_order = 4;\r\n"; + $set = 1; + } else { + $params .= $temp[$i]."\r\n"; + } + } + if($set == 0){ + $params .= "\$pic_order = 4;\r\n"; + } + } else { + $params = "\$pic_order = 4;\r\n"; + } + $params = ""; + if(@file_put_contents($setupfile, $params) > 0){ + echo "ok"; + } + } + + } + +} +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php new file mode 100644 index 00000000..28f1993d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_savesquarethumb.php @@ -0,0 +1,101 @@ +"; + @file_put_contents($savefile, $writestring); + $oldcontent = file_get_contents($configfile); + if(substr($oldcontent, -1) === "\n"){ + $oldcontent = substr($oldcontent, 0, -1); + } else { + $oldcontent .= "\n"; + } + @file_put_contents($configfile, $oldcontent); + /*------------------- end change config settings ------------------*/ + + $picname = $gallery."_".$file; + if(!is_file("custom")){ + @file_put_contents("custom", $picname."=".$pos); + } else { + $content = @file_get_contents("custom"); + $pictures = explode("|", $content); + $newcontent = ""; + $found = 0; + for($i = 0; $i < count($pictures); $i++){ + if(strpos($pictures[$i], $picname) !== FALSE){ + $pictures[$i] = $picname."=".$pos; + $found = 1; + } + $newcontent .= $pictures[$i]."|"; + } + if($found == 0){ + $newcontent .= $picname."=".$pos."|"; + } + $newcontent = substr($newcontent, 0, -1); + @file_put_contents("custom", $newcontent); + } +} +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php new file mode 100644 index 00000000..ff203826 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_shade.php @@ -0,0 +1,41 @@ + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php new file mode 100644 index 00000000..afd72d8b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_upload.php @@ -0,0 +1,243 @@ + + + 0){ + $logoAspect = $logoWidth / $logoHeight; + + if($imageWidth > $imageHeight){ + $wide = 1; + } else { + $wide = 0; + } + + if($logoWidth > $logoHeight){ + $logoWide = 1; + } else { + $logoWide = 0; + } + + if($wide == 1){ + if($logoWide == 1){ + $logoWidth = round($watermark_size * $imageWidth); + $logoHeight = round((1/$logoAspect) * $logoWidth); + if($logoHeight > $imageHeight){ + $logoHeight = round($watermark_size * $imageHeight); + $logoWidth = round($logoAspect * $logoHeight); + } + } else { + $logoHeight = round($watermark_size * $imageHeight); + $logoWidth = round($logoAspect * $logoHeight); + } + } else { + if($logoWide == 0){ + $logoHeight = round($watermark_size * $imageHeight); + $logoWidth = round($logoAspect * $logoHeight); + if($logoWidth > $imageWidth){ + $logoWidth = round($watermark_size * $imageWidth); + $logoHeight = round((1/$logoAspect) * $logoWidth); + } else { + $logoWidth = round($watermark_size * $imageWidth); + $logoHeight = round((1/$logoAspect) * $logoWidth); + } + } + } + } + + switch($watermark_vert){ + case "top": + $starty = 0; + break; + case "middle"; + $starty = round(($imageHeight - $logoHeight)*0.5); + break; + case "bottom": + $starty = $imageHeight-$logoHeight; + break; + } + switch($watermark_hori){ + case "left": + $startx = 0; + break; + case "center"; + $startx = round(($imageWidth - $logoWidth)*0.5); + break; + case "right": + $startx = $imageWidth-$logoWidth; + break; + } + + // Paste the logo + imagecopyresampled($image, $logoImage, $startx, $starty, 0, 0, $logoWidth, $logoHeight, $logoWidth_o, $logoHeight_o); + + imageDestroy($logoImage); + } + } + + $maxx = 10000; + $maxy = 10000; + if(isset($_POST['maxx'])){ + if(intval($_POST['maxx']) > 0)$maxx = intval($_POST['maxx']); + } + if(isset($_POST['maxy'])){ + if(intval($_POST['maxy']) > 0)$maxy = intval($_POST['maxy']); + } + + $aspect = $imageWidth / $imageHeight; + + if($aspect > 1){ + if($imageWidth > $maxx){ + $imageWidth = $maxx; + $imageHeight = round((1/$aspect) * $imageWidth); + } + if($imageHeight > $maxy){ + $imageHeight = $maxy; + $imageWidth = round($aspect * $imageHeight); + } + } else { + if($imageHeight > $maxy){ + $imageHeight = $maxy; + $imageWidth = round($aspect * $imageHeight); + } + if($imageWidth > $maxx){ + $imageWidth = $maxx; + $imageHeight = round((1/$aspect) * $imageWidth); + } + } + + if($imageWidth_o != $imageWidth || $imageHeight_o != $imageHeight){ + $bild = imagecreatetruecolor($imageWidth, $imageHeight); + imagealphablending($bild, false); + imagesavealpha($bild, true); + imagecopyresampled($bild, $image, 0, 0, 0, 0, $imageWidth, $imageHeight, $imageWidth_o, $imageHeight_o); + switch($temp[1]){ + case "jpg": + imagejpeg($bild, $target_name, 80); + break; + case "png": + imagepng($bild, $target_name); + break; + case "gif": + imagegif($bild, $target_name); + break; + } + imageDestroy($bild); + } else { + if($addwatermak == 1){ + // Save image + switch($temp[1]){ + case "jpg": + imagejpeg($image, $target_name, 80); + break; + case "png": + imagepng($image, $target_name); + break; + case "gif": + imagegif($image, $target_name); + break; + } + } + } + + // Release memory + imageDestroy($image); + + echo "done"; + } + } + } + } +} +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php new file mode 100644 index 00000000..78b73cc0 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/ki_vcomm.php @@ -0,0 +1,221 @@ + +".$betreff."
    ".nl2br($content)."
    "; + + $header = "MIME-Version: 1.0\n"; + $header .= "Content-type: text/html; charset=UTF-8\n"; + $header .= "Content-Transfer-Encoding: 8bit\n"; + $header .= "From: ".$admin_mail_from."\n"; + //$header .= "Reply-To: ".$admin_mail_from."\n"; + + // verschicke die E-Mail + @ini_set(sendmail_from, $admin_mail_from); + @mail($to, $betreff, $content, $header); + @ini_restore(sendmail_from); +} + + + +/* ---------------------------------------------------------- end functions -------------------------------------------------- */ + +if (get_magic_quotes_gpc()) { + function stripslashes_gpc(&$value) + { + $value = stripslashes($value); + } + array_walk_recursive($_GET, 'stripslashes_gpc'); + array_walk_recursive($_POST, 'stripslashes_gpc'); + array_walk_recursive($_COOKIE, 'stripslashes_gpc'); + array_walk_recursive($_REQUEST, 'stripslashes_gpc'); +} + +if(isset($_POST['file'])) + $file = rawurldecode($_POST['file']); +else + exit; + +if(isset($_POST['gallery'])) + $gallery = $_POST['gallery']; +else + exit; + +// -------------- Sicherheitsabfragen! +if(preg_match("/[\.]*\//", $file))exit(); +if(preg_match("/[\.]*\//", $gallery))exit(); +if(!is_file("../ki_galleries/".$gallery."/".$file))exit(); +// ---------- Ende Sicherheitsabfragen! + +include_once("../ki_config/ki_setup.php"); +if(is_file("../ki_config/".$gallery."_ki_setup.php"))include_once("../ki_config/".$gallery."_ki_setup.php"); + +$pwok = 0; +if(isset($_SESSION['pwquery'])){ + if($_SESSION['pwquery'] === $pw)$pwok = 1; +} + +$commfile = "../ki_galleries/".$gallery."/viewercomments/".substr($file, 0, -4).".txt"; + +if(!isset($_POST['get'])){ + + if(isset($_POST['email'])) + $name = addslashes(htmlentities(rawurldecode($_POST['email']), ENT_QUOTES, "UTF-8")); + else + exit; + + if(isset($_POST['assystem'])) + $comment = addslashes(htmlentities(rawurldecode($_POST['assystem']), ENT_QUOTES, "UTF-8")); + else + exit; + + if(isset($_POST['address'])) + $address = rawurldecode($_POST['address']); + else + exit; + + if (!ini_get('date.timezone') && function_exists("date_default_timezone_set"))date_default_timezone_set('Europe/Berlin'); + + if( stripos($name, "@") !== false ){ + echo "2"; + exit(); + } + + $ip = $_SERVER["REMOTE_ADDR"]; + $date = date("m/d/Y"); + $time = date('H').":".date('i'); + + $moderate = ""; + if($moderate_posts == 1)$moderate = "._.1"; + $post = $name."._.".$date."._.".$time."._.".$ip.$moderate."\r\n".$comment."\r\n:_:\r\n"; + + $oldcomments = ""; + if(is_file($commfile)){ + $oldcomments = file_get_contents($commfile); + $handle = @fopen($commfile, "r"); + if($handle) { + $lastcomment = fgets($handle); + $data = explode("._.", $lastcomment, 4); + $lastip = rtrim($data[3]); + $lastdate = $data[1]; + $lasttime = substr($data[2], 0, 2)*60+substr($data[2], 3, 2); + $newtime = substr($time, 0, 2)*60+substr($time, 3, 2); + if($lastip === $ip && $lastdate === $date){ + if($newtime - $lasttime < 3){ + echo "1"; + exit(); + } + } + } + fclose($handle); + } + file_put_contents($commfile, $post); + if($oldcomments !== ""){ + file_put_contents($commfile, $oldcomments, FILE_APPEND); + } + + if($admin_mail != 0){ + $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; + $address = "http".$s."://".$address; + $message = stripslashes($comment); + + $betreff = "New comment on picture (".$_SERVER['HTTP_HOST'].")"; + if($moderate_posts == 1){ + $content = "A new comment has been made for one of your images. Visit '".$address."' and flip the picture to read all comments for this image.\nThis is the last comment:\n\n\"".$message."\"\n\nThis comment is moderated and is not readable in public yet. You have the option publish this comment when you login as admin.\n\n\nE-Mail generated by KoschtIT Image Gallery.\nhttp://koschtit.tabere.net/en/"; + } else { + $content = "A new comment has been made for one of your images. Visit '".$address."' and flip the picture to read all comments for this image.\nThis is the last comment:\n\n\"".$message."\"\n\n\nE-Mail generated by KoschtIT Image Gallery.\nhttp://koschtit.tabere.net/en/"; + } + sendAmail($admin_mail_to, $betreff, $content); + } +} + +if(isset($_POST['counter']) || isset($_POST['publish'])){ + $newfile = ""; +} +$counter = 0; +$handle = @fopen($commfile, "r"); +if($handle) { + while(!feof($handle)){ + $head = fgets($handle); + $headdata = explode("._.", $head); + $comment = ""; + while($acommentline = fgets($handle)){ + if($acommentline === ":_:\r\n")break; + $comment .= $acommentline; + } + if(sizeof($headdata) == 4 || ($pwok == 1 && sizeof($headdata) == 5)){ + $buttons = ""; + if($pwok == 1){ + if(isset($_POST['publish'])){ + if($counter == $_POST['publish']){ + array_pop($headdata); + $newfile .= $headdata[0]."._.".$headdata[1]."._.".$headdata[2]."._.".$headdata[3]."\r\n".$comment.":_:\r\n"; + } else { + $newfile .= $head.$comment.":_:\r\n"; + } + } + $buttons = ""; + if($moderate_posts == 1 && sizeof($headdata) == 5)$buttons .= ""; + } + $skip = 0; + if(isset($_POST['counter'])){ + if($_POST['counter'] != $counter){ + $newfile .= $head.$comment.":_:\r\n"; + } else { + $skip = 1; + } + } + if($skip == 0){ +?> +
    »
    +".$vcomm_ncy."

    "; +} +if(isset($_POST['counter']) || isset($_POST['publish'])){ + if($pwok == 1){ + if(strlen($newfile) > 2){ + file_put_contents($commfile, $newfile); + } else { + @unlink($commfile); + echo "

    "; + } + } +} +?> + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir new file mode 100644 index 00000000..18896e28 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_dir @@ -0,0 +1,2 @@ +i:2707615525; +a:16:{i:0;a:3:{i:0;s:20:"iskolahomlokzat1.jpg";i:1;i:1865;i:2;i:2592;}i:1;a:3:{i:0;s:22:"iskolahomlokzat1-k.jpg";i:1;i:187;i:2;i:260;}i:2;a:3:{i:0;s:9:"terem.jpg";i:1;i:2189;i:2;i:1406;}i:3;a:3:{i:0;s:11:"terem-k.jpg";i:1;i:219;i:2;i:141;}i:4;a:3:{i:0;s:12:"folyoso3.jpg";i:1;i:1894;i:2;i:1398;}i:5;a:3:{i:0;s:14:"folyoso3-k.jpg";i:1;i:189;i:2;i:140;}i:6;a:3:{i:0;s:14:"konyvtar-k.jpg";i:1;i:170;i:2;i:165;}i:7;a:3:{i:0;s:12:"konyvtar.jpg";i:1;i:1704;i:2;i:1649;}i:8;a:3:{i:0;s:12:"folyoso2.jpg";i:1;i:1519;i:2;i:1719;}i:9;a:3:{i:0;s:15:"hatsolepcso.jpg";i:1;i:1209;i:2;i:1986;}i:10;a:3:{i:0;s:17:"hatsolepcso-k.jpg";i:1;i:121;i:2;i:199;}i:11;a:3:{i:0;s:14:"folyoso2-k.jpg";i:1;i:152;i:2;i:172;}i:12;a:3:{i:0;s:14:"folyoso1-k.jpg";i:1;i:124;i:2;i:176;}i:13;a:3:{i:0;s:12:"folyoso1.jpg";i:1;i:1240;i:2;i:1757;}i:14;a:3:{i:0;s:16:"elsolepcso-k.jpg";i:1;i:158;i:2;i:190;}i:15;a:3:{i:0;s:14:"elsolepcso.jpg";i:1;i:1588;i:2;i:1909;}} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified new file mode 100644 index 00000000..eb79d55a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/kos-epulet_lastmodified @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir new file mode 100644 index 00000000..5975e58f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_dir @@ -0,0 +1,2 @@ +i:2703855617; +a:3:{i:0;a:3:{i:0;s:19:"mayor-vasarely4.png";i:1;i:400;i:2;i:400;}i:1;a:3:{i:0;s:7:"ml1.png";i:1;i:295;i:2;i:196;}i:2;a:3:{i:0;s:13:"mm-bw-pro.png";i:1;i:500;i:2;i:253;}} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified new file mode 100644 index 00000000..61d1a8d0 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_base/mayor logo_lastmodified @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php new file mode 100644 index 00000000..da86d1bf --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/ki_setup.php @@ -0,0 +1,96 @@ + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php new file mode 100644 index 00000000..a92dea52 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_config/kos-epulet_ki_setup.php @@ -0,0 +1,96 @@ + diff --git a/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_include.php b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_include.php new file mode 100644 index 00000000..db30e454 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/koschtit/ki_include.php @@ -0,0 +1,306 @@ += $basedirsize - $reldirsize - 1 && $i >= 0; $i--){ + for($j = $confdirsize - 1; $j >= 0; $j--){ + if($basedir[$i] === $confdir[$j]){ + $foundat = $j; + break; + } + } + if($foundat != -1) + break; + else + $reldir .= "../"; +} + +if($foundat != -1){ + for($i = $foundat + 1; $i < $confdirsize; $i++){ + $reldir .= $confdir[$i]."/"; + } +} else { + +// Enter the relative path here, if the script asks you to. Example: $reldir = "../script/"; +$reldir = ""; +// ---------------------------------------------------------------------------------------- + +} + +if (!function_exists('file_put_contents')) { + function file_put_contents($filename, $data) { + $f = @fopen($filename, 'w'); + if (!$f) { + return false; + } else { + $bytes = fwrite($f, $data); + fclose($f); + return $bytes; + } + } +} + +$browser = $_SERVER['HTTP_USER_AGENT']; + +if(preg_match("/Opera/",$browser)) + $browser = "opera"; +elseif(preg_match("/MSIE [9]/",$browser)) + $browser = "ie9"; +elseif(preg_match("/MSIE [7-8]/",$browser)) + $browser = "ie7"; +elseif(preg_match("/MSIE [1-6]/",$browser)) + $browser = "ie6"; +elseif(preg_match("/AppleWebKit/",$browser)) + $browser = "webkit"; +else + $browser = "gecko"; + +$confdir = $reldir."ki_config/"; +$galleriesdir = $reldir."ki_galleries/"; +$basedir = $reldir."ki_base/"; + +if(!is_file($basedir."ki_js_view.php")){ +?> + + + +"; + if(!@file_put_contents($confdir."ki_setup.php", $params)){ +?> + + + + + + +]+class\s*=\s*[\"'][^>]*koschtitgallery[^>]*[\"'][^>]*)>.*|U", $buffer, $out, PREG_PATTERN_ORDER); + $navimgsize = getimagesize($basedir."ki_nav_next.png"); + if(is_array($out)){ + if(is_array($out[0])){ + for($i = 0; $i < count($out[0]); $i++){ + if(preg_match("|]+title\s*=\s*[\"']([^>]+)[\"'][^>]*>|U", $out[0][$i], $temp)){ + $titlefound = $temp[1]; + include($confdir."ki_setup.php"); + if(is_file($confdir.$titlefound."_ki_setup.php")) + include($confdir.$titlefound."_ki_setup.php"); + $stylestring = "position:relative; padding:0px; width:".$fr_width."px; min-height:".$fr_height."px; background:".$fr_color.";"; + if($show_nav == 1 && $nav_always == 0)$fr_height += ($navimgsize[1]+18); + $noscript = ""; + if(in_array($browser, array("ie6", "ie7"))){ + $noscript = " +

    + + + +
    +
    + {#advimage_dlg.swap_image} + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    + + + + +
     
    +
    + +
    + {#advimage_dlg.misc} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + + + + +
     
    +
    +
    + + +
    + + +
    + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif new file mode 100644 index 00000000..53bf6890 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/img/sample.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js new file mode 100644 index 00000000..f0b7c6ee --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/js/image.js @@ -0,0 +1,464 @@ +var ImageDialog = { + preInit : function() { + var url; + + tinyMCEPopup.requireLangPack(); + + if (url = tinyMCEPopup.getParam("external_image_list_url")) + document.write(''); + }, + + init : function(ed) { + var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode(), fl = tinyMCEPopup.getParam('external_image_list', 'tinyMCEImageList'); + + tinyMCEPopup.resizeToInnerSize(); + this.fillClassList('class_list'); + this.fillFileList('src_list', fl); + this.fillFileList('over_list', fl); + this.fillFileList('out_list', fl); + TinyMCE_EditableSelects.init(); + + if (n.nodeName == 'IMG') { + nl.src.value = dom.getAttrib(n, 'src'); + nl.width.value = dom.getAttrib(n, 'width'); + nl.height.value = dom.getAttrib(n, 'height'); + nl.alt.value = dom.getAttrib(n, 'alt'); + nl.title.value = dom.getAttrib(n, 'title'); + nl.vspace.value = this.getAttrib(n, 'vspace'); + nl.hspace.value = this.getAttrib(n, 'hspace'); + nl.border.value = this.getAttrib(n, 'border'); + selectByValue(f, 'align', this.getAttrib(n, 'align')); + selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true); + nl.style.value = dom.getAttrib(n, 'style'); + nl.id.value = dom.getAttrib(n, 'id'); + nl.dir.value = dom.getAttrib(n, 'dir'); + nl.lang.value = dom.getAttrib(n, 'lang'); + nl.usemap.value = dom.getAttrib(n, 'usemap'); + nl.longdesc.value = dom.getAttrib(n, 'longdesc'); + nl.insert.value = ed.getLang('update'); + + if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover'))) + nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); + + if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout'))) + nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); + + if (ed.settings.inline_styles) { + // Move attribs to styles + if (dom.getAttrib(n, 'align')) + this.updateStyle('align'); + + if (dom.getAttrib(n, 'hspace')) + this.updateStyle('hspace'); + + if (dom.getAttrib(n, 'border')) + this.updateStyle('border'); + + if (dom.getAttrib(n, 'vspace')) + this.updateStyle('vspace'); + } + } + + // Setup browse button + document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); + if (isVisible('srcbrowser')) + document.getElementById('src').style.width = '260px'; + + // Setup browse button + document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image'); + if (isVisible('overbrowser')) + document.getElementById('onmouseoversrc').style.width = '260px'; + + // Setup browse button + document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image'); + if (isVisible('outbrowser')) + document.getElementById('onmouseoutsrc').style.width = '260px'; + + // If option enabled default contrain proportions to checked + if (ed.getParam("advimage_constrain_proportions", true)) + f.constrain.checked = true; + + // Check swap image if valid data + if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value) + this.setSwapImage(true); + else + this.setSwapImage(false); + + this.changeAppearance(); + this.showPreviewImage(nl.src.value, 1); + }, + + insert : function(file, title) { + var ed = tinyMCEPopup.editor, t = this, f = document.forms[0]; + + if (f.src.value === '') { + if (ed.selection.getNode().nodeName == 'IMG') { + ed.dom.remove(ed.selection.getNode()); + ed.execCommand('mceRepaint'); + } + + tinyMCEPopup.close(); + return; + } + + if (tinyMCEPopup.getParam("accessibility_warnings", 1)) { + if (!f.alt.value) { + tinyMCEPopup.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) { + if (s) + t.insertAndClose(); + }); + + return; + } + } + + t.insertAndClose(); + }, + + insertAndClose : function() { + var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el; + + tinyMCEPopup.restoreSelection(); + + // Fixes crash in Safari + if (tinymce.isWebKit) + ed.getWin().focus(); + + if (!ed.settings.inline_styles) { + args = { + vspace : nl.vspace.value, + hspace : nl.hspace.value, + border : nl.border.value, + align : getSelectValue(f, 'align') + }; + } else { + // Remove deprecated values + args = { + vspace : '', + hspace : '', + border : '', + align : '' + }; + } + + tinymce.extend(args, { + src : nl.src.value.replace(/ /g, '%20'), + width : nl.width.value, + height : nl.height.value, + alt : nl.alt.value, + title : nl.title.value, + 'class' : getSelectValue(f, 'class_list'), + style : nl.style.value, + id : nl.id.value, + dir : nl.dir.value, + lang : nl.lang.value, + usemap : nl.usemap.value, + longdesc : nl.longdesc.value + }); + + args.onmouseover = args.onmouseout = ''; + + if (f.onmousemovecheck.checked) { + if (nl.onmouseoversrc.value) + args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';"; + + if (nl.onmouseoutsrc.value) + args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';"; + } + + el = ed.selection.getNode(); + + if (el && el.nodeName == 'IMG') { + ed.dom.setAttribs(el, args); + } else { + tinymce.each(args, function(value, name) { + if (value === "") { + delete args[name]; + } + }); + + ed.execCommand('mceInsertContent', false, tinyMCEPopup.editor.dom.createHTML('img', args), {skip_undo : 1}); + ed.undoManager.add(); + } + + tinyMCEPopup.editor.execCommand('mceRepaint'); + tinyMCEPopup.editor.focus(); + tinyMCEPopup.close(); + }, + + getAttrib : function(e, at) { + var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; + + if (ed.settings.inline_styles) { + switch (at) { + case 'align': + if (v = dom.getStyle(e, 'float')) + return v; + + if (v = dom.getStyle(e, 'vertical-align')) + return v; + + break; + + case 'hspace': + v = dom.getStyle(e, 'margin-left') + v2 = dom.getStyle(e, 'margin-right'); + + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'vspace': + v = dom.getStyle(e, 'margin-top') + v2 = dom.getStyle(e, 'margin-bottom'); + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'border': + v = 0; + + tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { + sv = dom.getStyle(e, 'border-' + sv + '-width'); + + // False or not the same as prev + if (!sv || (sv != v && v !== 0)) { + v = 0; + return false; + } + + if (sv) + v = sv; + }); + + if (v) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + } + } + + if (v = dom.getAttrib(e, at)) + return v; + + return ''; + }, + + setSwapImage : function(st) { + var f = document.forms[0]; + + f.onmousemovecheck.checked = st; + setBrowserDisabled('overbrowser', !st); + setBrowserDisabled('outbrowser', !st); + + if (f.over_list) + f.over_list.disabled = !st; + + if (f.out_list) + f.out_list.disabled = !st; + + f.onmouseoversrc.disabled = !st; + f.onmouseoutsrc.disabled = !st; + }, + + fillClassList : function(id) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { + cl = []; + + tinymce.each(v.split(';'), function(v) { + var p = v.split('='); + + cl.push({'title' : p[0], 'class' : p[1]}); + }); + } else + cl = tinyMCEPopup.editor.dom.getClasses(); + + if (cl.length > 0) { + lst.options.length = 0; + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); + + tinymce.each(cl, function(o) { + lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + fillFileList : function(id, l) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + l = typeof(l) === 'function' ? l() : window[l]; + lst.options.length = 0; + + if (l && l.length > 0) { + lst.options[lst.options.length] = new Option('', ''); + + tinymce.each(l, function(o) { + lst.options[lst.options.length] = new Option(o[0], o[1]); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + resetImageData : function() { + var f = document.forms[0]; + + f.elements.width.value = f.elements.height.value = ''; + }, + + updateImageData : function(img, st) { + var f = document.forms[0]; + + if (!st) { + f.elements.width.value = img.width; + f.elements.height.value = img.height; + } + + this.preloadImg = img; + }, + + changeAppearance : function() { + var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg'); + + if (img) { + if (ed.getParam('inline_styles')) { + ed.dom.setAttrib(img, 'style', f.style.value); + } else { + img.align = f.align.value; + img.border = f.border.value; + img.hspace = f.hspace.value; + img.vspace = f.vspace.value; + } + } + }, + + changeHeight : function() { + var f = document.forms[0], tp, t = this; + + if (!f.constrain.checked || !t.preloadImg) { + return; + } + + if (f.width.value == "" || f.height.value == "") + return; + + tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height; + f.height.value = tp.toFixed(0); + }, + + changeWidth : function() { + var f = document.forms[0], tp, t = this; + + if (!f.constrain.checked || !t.preloadImg) { + return; + } + + if (f.width.value == "" || f.height.value == "") + return; + + tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width; + f.width.value = tp.toFixed(0); + }, + + updateStyle : function(ty) { + var dom = tinyMCEPopup.dom, b, bStyle, bColor, v, isIE = tinymce.isIE, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value}); + + if (tinyMCEPopup.editor.settings.inline_styles) { + // Handle align + if (ty == 'align') { + dom.setStyle(img, 'float', ''); + dom.setStyle(img, 'vertical-align', ''); + + v = getSelectValue(f, 'align'); + if (v) { + if (v == 'left' || v == 'right') + dom.setStyle(img, 'float', v); + else + img.style.verticalAlign = v; + } + } + + // Handle border + if (ty == 'border') { + b = img.style.border ? img.style.border.split(' ') : []; + bStyle = dom.getStyle(img, 'border-style'); + bColor = dom.getStyle(img, 'border-color'); + + dom.setStyle(img, 'border', ''); + + v = f.border.value; + if (v || v == '0') { + if (v == '0') + img.style.border = isIE ? '0' : '0 none none'; + else { + var isOldIE = tinymce.isIE && (!document.documentMode || document.documentMode < 9); + + if (b.length == 3 && b[isOldIE ? 2 : 1]) + bStyle = b[isOldIE ? 2 : 1]; + else if (!bStyle || bStyle == 'none') + bStyle = 'solid'; + if (b.length == 3 && b[isIE ? 0 : 2]) + bColor = b[isOldIE ? 0 : 2]; + else if (!bColor || bColor == 'none') + bColor = 'black'; + img.style.border = v + 'px ' + bStyle + ' ' + bColor; + } + } + } + + // Handle hspace + if (ty == 'hspace') { + dom.setStyle(img, 'marginLeft', ''); + dom.setStyle(img, 'marginRight', ''); + + v = f.hspace.value; + if (v) { + img.style.marginLeft = v + 'px'; + img.style.marginRight = v + 'px'; + } + } + + // Handle vspace + if (ty == 'vspace') { + dom.setStyle(img, 'marginTop', ''); + dom.setStyle(img, 'marginBottom', ''); + + v = f.vspace.value; + if (v) { + img.style.marginTop = v + 'px'; + img.style.marginBottom = v + 'px'; + } + } + + // Merge + dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText), 'img'); + } + }, + + changeMouseMove : function() { + }, + + showPreviewImage : function(u, st) { + if (!u) { + tinyMCEPopup.dom.setHTML('prev', ''); + return; + } + + if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true)) + this.resetImageData(); + + u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u); + + if (!st) + tinyMCEPopup.dom.setHTML('prev', ''); + else + tinyMCEPopup.dom.setHTML('prev', ''); + } +}; + +ImageDialog.preInit(); +tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js new file mode 100644 index 00000000..c5ea891a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.advimage_dlg',{"image_list":"Bilderliste","align_right":"Rechts","align_left":"Links","align_textbottom":"Unten im Text","align_texttop":"Oben im Text","align_bottom":"Unten","align_middle":"Mittig","align_top":"Oben","align_baseline":"Zeile",align:"Ausrichtung",hspace:"Horizontaler Abstand",vspace:"Vertikaler Abstand",dimensions:"Ausma\u00dfe",border:"Rahmen",list:"Bilderliste",alt:"Beschreibung",src:"Adresse","dialog_title":"Bild einf\u00fcgen/ver\u00e4ndern","missing_alt":"Soll wirklich keine Beschreibung f\u00fcr das Bild eingegeben werden? Bestimmte Benutzer mit k\u00f6rperlichen Einschr\u00e4nkungen k\u00f6nnen so nicht darauf zugreifen, ebenso solche, die einen Textbrowser benutzen oder die Anzeige von Bildern deaktiviert haben.","example_img":"Vorschau auf das Aussehen",misc:"Verschiedenes",mouseout:"bei keinem Mauskontakt",mouseover:"bei Mauskontakt","alt_image":"Alternatives Bild","swap_image":"Bild austauschen",map:"Image-Map",id:"ID",rtl:"Rechts nach links",ltr:"Links nach rechts",classes:"Klassen",style:"Format","long_desc":"Ausf\u00fchrliche Beschreibung",langcode:"Sprachcode",langdir:"Schriftrichtung","constrain_proportions":"Seitenverh\u00e4ltnis beibehalten",preview:"Vorschau",title:"Titel",general:"Allgemein","tab_advanced":"Erweitert","tab_appearance":"Aussehen","tab_general":"Allgemein",width:"Breite",height:"H\u00f6he"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js new file mode 100644 index 00000000..5f122e2c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.advimage_dlg',{"image_list":"Image List","align_right":"Right","align_left":"Left","align_textbottom":"Text Bottom","align_texttop":"Text Top","align_bottom":"Bottom","align_middle":"Middle","align_top":"Top","align_baseline":"Baseline",align:"Alignment",hspace:"Horizontal Space",vspace:"Vertical Space",dimensions:"Dimensions",border:"Border",list:"Image List",alt:"Image Description",src:"Image URL","dialog_title":"Insert/Edit Image","missing_alt":"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.","example_img":"Appearance Preview Image",misc:"Miscellaneous",mouseout:"For Mouse Out",mouseover:"For Mouse Over","alt_image":"Alternative Image","swap_image":"Swap Image",map:"Image Map",id:"ID",rtl:"Right to Left",ltr:"Left to Right",classes:"Classes",style:"Style","long_desc":"Long Description Link",langcode:"Language Code",langdir:"Language Direction","constrain_proportions":"Constrain Proportions",preview:"Preview",title:"Title",general:"General","tab_advanced":"Advanced","tab_appearance":"Appearance","tab_general":"General",width:"Width",height:"Height"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js new file mode 100644 index 00000000..37c93464 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.advimage_dlg',{"image_list":"K\u00e9plista","align_right":"Jobbra","align_left":"Balra","align_textbottom":"Sz\u00f6veg alj\u00e1hoz","align_texttop":"Sz\u00f6veg tetej\u00e9hez","align_bottom":"Lentre","align_middle":"K\u00f6z\u00e9pre","align_top":"Fentre","align_baseline":"Alapvonalhoz",align:"Igaz\u00edt\u00e1s",hspace:"V\u00edzszintes t\u00e1vols\u00e1g",vspace:"F\u00fcgg\u0151leges t\u00e1vols\u00e1g",dimensions:"M\u00e9retek",border:"Keret",list:"K\u00e9plista",alt:"K\u00e9p helyettes\u00edt\u0151 sz\u00f6vege",src:"K\u00e9p internet c\u00edme","dialog_title":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","missing_alt":"Biztosan folytatja k\u00e9pet le\u00edr\u00f3 sz\u00f6veg n\u00e9lk\u00fcl? En\u00e9lk\u00fcl a fogyat\u00e9koss\u00e1ggal \u00e9l\u0151k, sz\u00f6veges b\u00f6ng\u00e9sz\u0151t haszn\u00e1l\u00f3k \u00e9s a k\u00e9pek megjelen\u00edt\u00e9s\u00e9t letilt\u00f3 felhaszn\u00e1l\u00f3k h\u00e1tr\u00e1nyba ker\u00fclnek.","example_img":"El\u0151n\u00e9zeti k\u00e9p megjelen\u00edt\u00e9se",misc:"Vegyes",mouseout:"K\u00e9p az eg\u00e9rkurzor lev\u00e9telekor",mouseover:"K\u00e9p az eg\u00e9rkurzor f\u00f6l\u00e9vitelekor","alt_image":"Alternat\u00edv k\u00e9p","swap_image":"K\u00e9pcsere",map:"K\u00e9p t\u00e9rk\u00e9p",id:"ID",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",classes:"Oszt\u00e1lyok",style:"CSS St\u00edlus","long_desc":"B\u0151vebb le\u00edr\u00e1s\u00fa link",langcode:"Nyelv k\u00f3d",langdir:"Nyelv \u00edr\u00e1s ir\u00e1ny","constrain_proportions":"Ar\u00e1nytart\u00e1s",preview:"El\u0151n\u00e9zet",title:"C\u00edm",general:"\u00c1ltal\u00e1nos","tab_advanced":"Halad\u00f3","tab_appearance":"Megjelen\u00e9s","tab_general":"\u00c1ltal\u00e1nos",width:"Sz\u00e9less\u00e9g",height:"Magass\u00e1g"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js new file mode 100644 index 00000000..f8449c42 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advimage/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.advimage_dlg',{"image_list":"\u753b\u50cf\u306e\u4e00\u89a7","align_right":"\u53f3\u5bc4\u305b","align_left":"\u5de6\u5bc4\u305b","align_textbottom":"\u30c6\u30ad\u30b9\u30c8\u3092\u4e0b\u7aef\u63c3\u3048","align_texttop":"\u30c6\u30ad\u30b9\u30c8\u3092\u4e0a\u7aef\u63c3\u3048","align_bottom":"\u4e0b\u63c3\u3048","align_middle":"\u4e2d\u592e\u63c3\u3048","align_top":"\u4e0a\u63c3\u3048","align_baseline":"\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u63c3\u3048",align:"\u914d\u7f6e",hspace:"\u5de6\u53f3\u306e\u4f59\u767d",vspace:"\u4e0a\u4e0b\u306e\u4f59\u767d",dimensions:"\u5bf8\u6cd5",border:"\u67a0\u7dda",list:"\u753b\u50cf\u306e\u4e00\u89a7",alt:"\u753b\u50cf\u306e\u8aac\u660e",src:"\u753b\u50cf\u306eURL","dialog_title":"\u753b\u50cf\u3092\u633f\u5165/\u7de8\u96c6","missing_alt":"\u753b\u50cf\u306e\u8aac\u660e\u3092\u542b\u3081\u305a\u306b\u7d9a\u3051\u307e\u3059\u304b? \u753b\u50cf\u306e\u8aac\u660e\u304c\u306a\u3044\u3068\u76ee\u306e\u4e0d\u81ea\u7531\u306a\u65b9\u3001\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3060\u3051\u306e\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u65b9\u3001\u753b\u50cf\u306e\u8868\u793a\u3092\u6b62\u3081\u3066\u308b\u65b9\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002","example_img":"\u753b\u50cf\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u306e\u69d8\u5b50",misc:"\u305d\u306e\u4ed6",mouseout:"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u5916\u308c\u308b\u6642",mouseover:"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u304b\u304b\u308b\u6642","alt_image":"\u5225\u306e\u753b\u50cf","swap_image":"\u753b\u50cf\u306e\u5165\u308c\u66ff\u3048",map:"\u30a4\u30e1\u30fc\u30b8\u30de\u30c3\u30d7",id:"ID",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",classes:"\u30af\u30e9\u30b9",style:"\u30b9\u30bf\u30a4\u30eb","long_desc":"\u8a73\u7d30\u306a\u8aac\u660e\u306e\u30ea\u30f3\u30af",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411","constrain_proportions":"\u7e26\u6a2a\u6bd4\u306e\u7dad\u6301",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc",title:"\u30bf\u30a4\u30c8\u30eb",general:"\u4e00\u822c","tab_advanced":"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","tab_appearance":"\u8868\u793a","tab_general":"\u4e00\u822c",width:"\u5e45",height:"\u9ad8\u3055"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css new file mode 100755 index 00000000..14364316 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/css/advlink.css @@ -0,0 +1,8 @@ +.mceLinkList, .mceAnchorList, #targetlist {width:280px;} +.mceActionPanel {margin-top:7px;} +.panel_wrapper div.current {height:320px;} +#classlist, #title, #href {width:280px;} +#popupurl, #popupname {width:200px;} +#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} +#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} +#events_panel input {width:200px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js new file mode 100755 index 00000000..983fe5a9 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.AdvancedLinkPlugin",{init:function(a,b){this.editor=a;a.addCommand("mceAdvLink",function(){var c=a.selection;if(c.isCollapsed()&&!a.dom.getParent(c.getNode(),"A")){return}a.windowManager.open({file:b+"/link.htm",width:480+parseInt(a.getLang("advlink.delta_width",0)),height:400+parseInt(a.getLang("advlink.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("link",{title:"advlink.link_desc",cmd:"mceAdvLink"});a.addShortcut("ctrl+k","advlink.advlink_desc","mceAdvLink");a.onNodeChange.add(function(d,c,f,e){c.setDisabled("link",e&&f.nodeName!="A");c.setActive("link",f.nodeName=="A"&&!f.name)})},getInfo:function(){return{longname:"Advanced link",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlink",tinymce.plugins.AdvancedLinkPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js new file mode 100755 index 00000000..14e46a76 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js @@ -0,0 +1,61 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.AdvancedLinkPlugin', { + init : function(ed, url) { + this.editor = ed; + + // Register commands + ed.addCommand('mceAdvLink', function() { + var se = ed.selection; + + // No selection and not in link + if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) + return; + + ed.windowManager.open({ + file : url + '/link.htm', + width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)), + height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + // Register buttons + ed.addButton('link', { + title : 'advlink.link_desc', + cmd : 'mceAdvLink' + }); + + ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink'); + + ed.onNodeChange.add(function(ed, cm, n, co) { + cm.setDisabled('link', co && n.nodeName != 'A'); + cm.setActive('link', n.nodeName == 'A' && !n.name); + }); + }, + + getInfo : function() { + return { + longname : 'Advanced link', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js new file mode 100644 index 00000000..f013aac1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/js/advlink.js @@ -0,0 +1,543 @@ +/* Functions for the advlink plugin popup */ + +tinyMCEPopup.requireLangPack(); + +var templates = { + "window.open" : "window.open('${url}','${target}','${options}')" +}; + +function preinit() { + var url; + + if (url = tinyMCEPopup.getParam("external_link_list_url")) + document.write(''); +} + +function changeClass() { + var f = document.forms[0]; + + f.classes.value = getSelectValue(f, 'classlist'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCEPopup.editor; + var elm = inst.selection.getNode(); + var action = "insert"; + var html; + + document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink'); + document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink'); + document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target'); + + // Link list + html = getLinkListHTML('linklisthref','href'); + if (html == "") + document.getElementById("linklisthrefrow").style.display = 'none'; + else + document.getElementById("linklisthrefcontainer").innerHTML = html; + + // Anchor list + html = getAnchorListHTML('anchorlist','href'); + if (html == "") + document.getElementById("anchorlistrow").style.display = 'none'; + else + document.getElementById("anchorlistcontainer").innerHTML = html; + + // Resize some elements + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '260px'; + + if (isVisible('popupurlbrowser')) + document.getElementById('popupurl').style.width = '180px'; + + elm = inst.dom.getParent(elm, "A"); + if (elm == null) { + var prospect = inst.dom.create("p", null, inst.selection.getContent()); + if (prospect.childNodes.length === 1) { + elm = prospect.firstChild; + } + } + + if (elm != null && elm.nodeName == "A") + action = "update"; + + formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true); + + setPopupControlsDisabled(true); + + if (action == "update") { + var href = inst.dom.getAttrib(elm, 'href'); + var onclick = inst.dom.getAttrib(elm, 'onclick'); + var linkTarget = inst.dom.getAttrib(elm, 'target') ? inst.dom.getAttrib(elm, 'target') : "_self"; + + // Setup form data + setFormValue('href', href); + setFormValue('title', inst.dom.getAttrib(elm, 'title')); + setFormValue('id', inst.dom.getAttrib(elm, 'id')); + setFormValue('style', inst.dom.getAttrib(elm, "style")); + setFormValue('rel', inst.dom.getAttrib(elm, 'rel')); + setFormValue('rev', inst.dom.getAttrib(elm, 'rev')); + setFormValue('charset', inst.dom.getAttrib(elm, 'charset')); + setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang')); + setFormValue('dir', inst.dom.getAttrib(elm, 'dir')); + setFormValue('lang', inst.dom.getAttrib(elm, 'lang')); + setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('type', inst.dom.getAttrib(elm, 'type')); + setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus')); + setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur')); + setFormValue('onclick', onclick); + setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick')); + setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown')); + setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup')); + setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover')); + setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove')); + setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout')); + setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress')); + setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown')); + setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup')); + setFormValue('target', linkTarget); + setFormValue('classes', inst.dom.getAttrib(elm, 'class')); + + // Parse onclick data + if (onclick != null && onclick.indexOf('window.open') != -1) + parseWindowOpen(onclick); + else + parseFunction(onclick); + + // Select by the values + selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir')); + selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel')); + selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev')); + selectByValue(formObj, 'linklisthref', href); + + if (href.charAt(0) == '#') + selectByValue(formObj, 'anchorlist', href); + + addClassesToList('classlist', 'advlink_styles'); + + selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true); + selectByValue(formObj, 'targetlist', linkTarget, true); + } else + addClassesToList('classlist', 'advlink_styles'); +} + +function checkPrefix(n) { + if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email'))) + n.value = 'mailto:' + n.value; + + if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external'))) + n.value = 'http://' + n.value; +} + +function setFormValue(name, value) { + document.forms[0].elements[name].value = value; +} + +function parseWindowOpen(onclick) { + var formObj = document.forms[0]; + + // Preprocess center code + if (onclick.indexOf('return false;') != -1) { + formObj.popupreturn.checked = true; + onclick = onclick.replace('return false;', ''); + } else + formObj.popupreturn.checked = false; + + var onClickData = parseLink(onclick); + + if (onClickData != null) { + formObj.ispopup.checked = true; + setPopupControlsDisabled(false); + + var onClickWindowOptions = parseOptions(onClickData['options']); + var url = onClickData['url']; + + formObj.popupname.value = onClickData['target']; + formObj.popupurl.value = url; + formObj.popupwidth.value = getOption(onClickWindowOptions, 'width'); + formObj.popupheight.value = getOption(onClickWindowOptions, 'height'); + + formObj.popupleft.value = getOption(onClickWindowOptions, 'left'); + formObj.popuptop.value = getOption(onClickWindowOptions, 'top'); + + if (formObj.popupleft.value.indexOf('screen') != -1) + formObj.popupleft.value = "c"; + + if (formObj.popuptop.value.indexOf('screen') != -1) + formObj.popuptop.value = "c"; + + formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes"; + formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes"; + formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes"; + formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes"; + formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes"; + formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes"; + formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes"; + + buildOnClick(); + } +} + +function parseFunction(onclick) { + var formObj = document.forms[0]; + var onClickData = parseLink(onclick); + + // TODO: Add stuff here +} + +function getOption(opts, name) { + return typeof(opts[name]) == "undefined" ? "" : opts[name]; +} + +function setPopupControlsDisabled(state) { + var formObj = document.forms[0]; + + formObj.popupname.disabled = state; + formObj.popupurl.disabled = state; + formObj.popupwidth.disabled = state; + formObj.popupheight.disabled = state; + formObj.popupleft.disabled = state; + formObj.popuptop.disabled = state; + formObj.popuplocation.disabled = state; + formObj.popupscrollbars.disabled = state; + formObj.popupmenubar.disabled = state; + formObj.popupresizable.disabled = state; + formObj.popuptoolbar.disabled = state; + formObj.popupstatus.disabled = state; + formObj.popupreturn.disabled = state; + formObj.popupdependent.disabled = state; + + setBrowserDisabled('popupurlbrowser', state); +} + +function parseLink(link) { + link = link.replace(new RegExp(''', 'g'), "'"); + + var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1"); + + // Is function name a template function + var template = templates[fnName]; + if (template) { + // Build regexp + var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi")); + var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\("; + var replaceStr = ""; + for (var i=0; i'); + for (var i=0; i' + name + ''; + + if ((name = nodes[i].id) != "" && !nodes[i].href) + html += ''; + } + + if (html == "") + return ""; + + html = ''; + + return html; +} + +function insertAction() { + var inst = tinyMCEPopup.editor; + var elm, elementArray, i; + + elm = inst.selection.getNode(); + checkPrefix(document.forms[0].href); + + elm = inst.dom.getParent(elm, "A"); + + // Remove element if there is no href + if (!document.forms[0].href.value) { + i = inst.selection.getBookmark(); + inst.dom.remove(elm, 1); + inst.selection.moveToBookmark(i); + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); + return; + } + + // Create new anchor elements + if (elm == null) { + inst.getDoc().execCommand("unlink", false, null); + tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1}); + + elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';}); + for (i=0; i' + tinyMCELinkList[i][0] + ''; + + html += ''; + + return html; + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +function getTargetListHTML(elm_id, target_form_element) { + var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';'); + var html = ''; + + html += ''; + + return html; +} + +// While loading +preinit(); +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js new file mode 100644 index 00000000..475dfe95 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.advlink_dlg',{"target_name":"Name der Zielseite",classes:"Klassen",style:"Format",id:"ID","popup_position":"Position (X/Y)",langdir:"Schriftrichtung","popup_size":"Gr\u00f6\u00dfe","popup_dependent":"Vom Elternfenster abh\u00e4ngig
    (nur Mozilla/Firefox) ","popup_resizable":"Vergr\u00f6\u00dfern des Fenster zulassen","popup_location":"Adressleiste anzeigen","popup_menubar":"Browsermen\u00fc anzeigen","popup_toolbar":"Werkzeugleisten anzeigen","popup_statusbar":"Statusleiste anzeigen","popup_scrollbars":"Scrollbalken anzeigen","popup_return":"Link trotz Popup folgen","popup_name":"Name des Fensters","popup_url":"Popup-Adresse",popup:"JavaScript-Popup","target_blank":"In neuem Fenster \u00f6ffnen","target_top":"Im obersten Frame \u00f6ffnen (sprengt das Frameset)","target_parent":"Im \u00fcbergeordneten Fenster/Frame \u00f6ffnen","target_same":"Im selben Fenster/Frame \u00f6ffnen","anchor_names":"Anker","popup_opts":"Optionen","advanced_props":"Erweiterte Eigenschaften","event_props":"Ereignisse","popup_props":"Popup-Eigenschaften","general_props":"Allemeine Eigenschaften","advanced_tab":"Erweitert","events_tab":"Ereignisse","popup_tab":"Popup","general_tab":"Allgemein",list:"Linkliste","is_external":"Diese Adresse scheint ein externer Link zu sein. Soll das dazu ben\u00f6tigte \"http://\" vorangestellt werden?","is_email":"Diese Adresse scheint eine E-Mail Adresse zu sein. Soll das dazu ben\u00f6tigte \"mailto:\" vorangestellt werden?",titlefield:"Titel",target:"Fenster",url:"Adresse",title:"Link einf\u00fcgen/bearbeiten","link_list":"Linkliste",rtl:"Rechts nach links",ltr:"Links nach rechts",accesskey:"Tastenk\u00fcrzel",tabindex:"Tabindex",rev:"Beziehung des Linkziels zur Seite",rel:"Beziehung der Seite zum Linkziel",mime:"MIME-Type der Zielseite",encoding:"Zeichenkodierung der Zielseite",langcode:"Sprachcode","target_langcode":"Sprache der Zielseite",width:"Breite",height:"H\u00f6he"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js new file mode 100644 index 00000000..3169a565 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.advlink_dlg',{"target_name":"Target Name",classes:"Classes",style:"Style",id:"ID","popup_position":"Position (X/Y)",langdir:"Language Direction","popup_size":"Size","popup_dependent":"Dependent (Mozilla/Firefox Only)","popup_resizable":"Make Window Resizable","popup_location":"Show Location Bar","popup_menubar":"Show Menu Bar","popup_toolbar":"Show Toolbars","popup_statusbar":"Show Status Bar","popup_scrollbars":"Show Scrollbars","popup_return":"Insert \'return false\'","popup_name":"Window Name","popup_url":"Popup URL",popup:"JavaScript Popup","target_blank":"Open in New Window","target_top":"Open in Top Frame (Replaces All Frames)","target_parent":"Open in Parent Window/Frame","target_same":"Open in This Window/Frame","anchor_names":"Anchors","popup_opts":"Options","advanced_props":"Advanced Properties","event_props":"Events","popup_props":"Popup Properties","general_props":"General Properties","advanced_tab":"Advanced","events_tab":"Events","popup_tab":"Popup","general_tab":"General",list:"Link List","is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",titlefield:"Title",target:"Target",url:"Link URL",title:"Insert/Edit Link","link_list":"Link List",rtl:"Right to Left",ltr:"Left to Right",accesskey:"AccessKey",tabindex:"TabIndex",rev:"Relationship Target to Page",rel:"Relationship Page to Target",mime:"Target MIME Type",encoding:"Target Character Encoding",langcode:"Language Code","target_langcode":"Target Language",width:"Width",height:"Height"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js new file mode 100644 index 00000000..ec82452c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.advlink_dlg',{"target_name":"C\u00e9l neve",classes:"Oszt\u00e1lyok",style:"St\u00edlus",id:"ID","popup_position":" (X/Y) Poz\u00edci\u00f3",langdir:"Nyelv \u00edr\u00e1s ir\u00e1ny","popup_size":"M\u00e9ret","popup_dependent":"F\u00fcgg\u0151 (csak Mozilla/Firefox)","popup_resizable":"\u00c1tm\u00e9retezhet\u0151 ablak k\u00e9sz\u00edt\u00e9se","popup_location":"C\u00edm mez\u0151 mutat\u00e1sa","popup_menubar":"Men\u00fcsor mutat\u00e1sa","popup_toolbar":"Eszk\u00f6zsor mutat\u00e1sa","popup_statusbar":"St\u00e1tuszsor mutat\u00e1sa","popup_scrollbars":"G\u00f6rget\u0151s\u00e1vok mutat\u00e1sa","popup_return":"\'return false\' besz\u00far\u00e1sa","popup_name":"Ablakn\u00e9v","popup_url":"Felugr\u00f3 ablak URL",popup:"JavaScript felugr\u00f3 ablak","target_blank":"Megnyit\u00e1s \u00faj ablakban ","target_top":"Megnyit\u00e1s azonos ablakban/keretben legfel\u00fcl","target_parent":"Megnyit\u00e1s sz\u00fcl\u0151 ablakban/keretben ","target_same":"Megnyit\u00e1s azonos ablakban/keretben ","anchor_names":"Horgonyok","popup_opts":"Be\u00e1ll\u00edt\u00e1sok","advanced_props":"Halad\u00f3 tulajdons\u00e1gok","event_props":"Esem\u00e9nyek","popup_props":"Felugr\u00f3 ablak tulajdons\u00e1gai","general_props":"\u00c1ltal\u00e1nos tulajdons\u00e1gok","advanced_tab":"Halad\u00f3","events_tab":"Esem\u00e9nyek","popup_tab":"Felugr\u00f3 ablak","general_tab":"\u00c1ltal\u00e1nos",list:"Link lista","is_external":"A be\u00edrt URL k\u00fcls\u0151 hivatkoz\u00e1snak t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges http:// -t el\u00e9 tenni?","is_email":"A be\u00edrt URL e-mail c\u00edmnek t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges mailto: el\u0151tagot el\u00e9 tenni?",titlefield:"C\u00edm",target:"C\u00e9l (target)",url:"Link URL",title:"Hivatkoz\u00e1s besz\u00far\u00e1s/szerkeszt\u00e9s","link_list":"Link lista",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",accesskey:"Gyorsgomb",tabindex:"Tabindex",rev:"C\u00e9l kapcsolata az oldallal",rel:"Oldal kapcsolata a c\u00e9llal",mime:"C\u00e9l MIME t\u00edpus",encoding:"C\u00e9l karakterk\u00f3dol\u00e1s",langcode:"Nyelv k\u00f3d","target_langcode":"C\u00e9l nyelv",width:"Sz\u00e9less\u00e9g",height:"Magass\u00e1g"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js new file mode 100644 index 00000000..68ebcd2e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.advlink_dlg',{"target_name":"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u540d\u524d",classes:"\u30af\u30e9\u30b9",style:"\u30b9\u30bf\u30a4\u30eb",id:"ID","popup_position":"\u4f4d\u7f6e (X/Y)",langdir:"\u6587\u7ae0\u306e\u65b9\u5411","popup_size":"\u5927\u304d\u3055","popup_dependent":"\u4f9d\u5b58(Mozilla\u3068Firefox\u3060\u3051)","popup_resizable":"\u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u30b5\u30a4\u30ba\u5909\u66f4\u3092\u8a31\u53ef","popup_location":"\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u3092\u8868\u793a","popup_menubar":"\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3092\u8868\u793a","popup_toolbar":"\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u8868\u793a","popup_statusbar":"\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u8868\u793a","popup_scrollbars":"\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u3092\u8868\u793a","popup_return":"\'return false\'\u3092\u633f\u5165","popup_name":"\u30a6\u30a4\u30f3\u30c9\u30a6\u306e\u540d\u524d","popup_url":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u306eURL",popup:"Javascript\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","target_blank":"\u65b0\u3057\u3044\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","target_top":"\u30c8\u30c3\u30d7\u306e\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f(\u3059\u3079\u3066\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u7f6e\u304d\u63db\u3048)","target_parent":"\u89aa\u30a6\u30a4\u30f3\u30c9\u30a6/\u89aa\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f","target_same":"\u3053\u306e\u30a6\u30a4\u30f3\u30c9\u30a6/\u30d5\u30ec\u30fc\u30e0\u3067\u958b\u304f","anchor_names":"\u30a2\u30f3\u30ab\u30fc","popup_opts":"\u30aa\u30d7\u30b7\u30e7\u30f3","advanced_props":"\u9ad8\u5ea6\u306a\u5c5e\u6027","event_props":"\u30a4\u30d9\u30f3\u30c8","popup_props":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","general_props":"\u4e00\u822c","advanced_tab":"\u5c02\u9580\u7684","events_tab":"\u30a4\u30d9\u30f3\u30c8","popup_tab":"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7","general_tab":"\u4e00\u822c",list:"\u30ea\u30f3\u30af\u306e\u4e00\u89a7","is_external":"\u5165\u529b\u3057\u305fURL\u306f\u5916\u90e8\u306e\u30ea\u30f3\u30af\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b http:// \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","is_email":"\u5165\u529b\u3057\u305fURL\u306f\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b mailto: \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?",titlefield:"\u30bf\u30a4\u30c8\u30eb",target:"\u30bf\u30fc\u30b2\u30c3\u30c8",url:"\u30ea\u30f3\u30af\u306eURL",title:"\u30ea\u30f3\u30af\u306e\u633f\u5165/\u7de8\u96c6","link_list":"\u30ea\u30f3\u30af\u306e\u4e00\u89a7",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",accesskey:"\u30a2\u30af\u30bb\u30b9\u30ad\u30fc",tabindex:"\u30bf\u30d6\u30a4\u30f3\u30c7\u30c3\u30af\u30b9",rev:"\u30bf\u30fc\u30b2\u30c3\u30c8\u304b\u3089\u30da\u30fc\u30b8\u306e\u95a2\u4fc2",rel:"\u30da\u30fc\u30b8\u304b\u3089\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u95a2\u4fc2",mime:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306eMIME\u30bf\u30a4\u30d7",encoding:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9","target_langcode":"\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u8a00\u8a9e",width:"\u5e45",height:"\u9ad8\u3055"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm new file mode 100755 index 00000000..8ab7c2a9 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlink/link.htm @@ -0,0 +1,338 @@ + + + + {#advlink_dlg.title} + + + + + + + + + +
    + + + + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js new file mode 100644 index 00000000..57ecce6e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin.js @@ -0,0 +1 @@ +(function(){var a=tinymce.each;tinymce.create("tinymce.plugins.AdvListPlugin",{init:function(b,c){var d=this;d.editor=b;function e(g){var f=[];a(g.split(/,/),function(h){f.push({title:"advlist."+(h=="default"?"def":h.replace(/-/g,"_")),styles:{listStyleType:h=="default"?"":h}})});return f}d.numlist=b.getParam("advlist_number_styles")||e("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");d.bullist=b.getParam("advlist_bullet_styles")||e("default,circle,disc,square");if(tinymce.isIE&&/MSIE [2-7]/.test(navigator.userAgent)){d.isIE7=true}},createControl:function(d,b){var f=this,e,i,g=f.editor;if(d=="numlist"||d=="bullist"){if(f[d][0].title=="advlist.def"){i=f[d][0]}function c(j,l){var k=true;a(l.styles,function(n,m){if(g.dom.getStyle(j,m)!=n){k=false;return false}});return k}function h(){var k,l=g.dom,j=g.selection;k=l.getParent(j.getNode(),"ol,ul");if(!k||k.nodeName==(d=="bullist"?"OL":"UL")||c(k,i)){g.execCommand(d=="bullist"?"InsertUnorderedList":"InsertOrderedList")}if(i){k=l.getParent(j.getNode(),"ol,ul");if(k){l.setStyles(k,i.styles);k.removeAttribute("data-mce-style")}}g.focus()}e=b.createSplitButton(d,{title:"advanced."+d+"_desc","class":"mce_"+d,onclick:function(){h()}});e.onRenderMenu.add(function(j,k){k.onHideMenu.add(function(){if(f.bookmark){g.selection.moveToBookmark(f.bookmark);f.bookmark=0}});k.onShowMenu.add(function(){var n=g.dom,m=n.getParent(g.selection.getNode(),"ol,ul"),l;if(m||i){l=f[d];a(k.items,function(o){var p=true;o.setSelected(0);if(m&&!o.isDisabled()){a(l,function(q){if(q.id==o.id){if(!c(m,q)){p=false;return false}}});if(p){o.setSelected(1)}}});if(!m){k.items[i.id].setSelected(1)}}g.focus();if(tinymce.isIE){f.bookmark=g.selection.getBookmark(1)}});k.add({id:g.dom.uniqueId(),title:"advlist.types","class":"mceMenuItemTitle",titleItem:true}).setDisabled(1);a(f[d],function(l){if(f.isIE7&&l.styles.listStyleType=="lower-greek"){return}l.id=g.dom.uniqueId();k.add({id:l.id,title:l.title,onclick:function(){i=l;h()}})})});return e}},getInfo:function(){return{longname:"Advanced lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlist",tinymce.plugins.AdvListPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js new file mode 100644 index 00000000..a8f046b4 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js @@ -0,0 +1,176 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var each = tinymce.each; + + tinymce.create('tinymce.plugins.AdvListPlugin', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + function buildFormats(str) { + var formats = []; + + each(str.split(/,/), function(type) { + formats.push({ + title : 'advlist.' + (type == 'default' ? 'def' : type.replace(/-/g, '_')), + styles : { + listStyleType : type == 'default' ? '' : type + } + }); + }); + + return formats; + }; + + // Setup number formats from config or default + t.numlist = ed.getParam("advlist_number_styles") || buildFormats("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman"); + t.bullist = ed.getParam("advlist_bullet_styles") || buildFormats("default,circle,disc,square"); + + if (tinymce.isIE && /MSIE [2-7]/.test(navigator.userAgent)) + t.isIE7 = true; + }, + + createControl: function(name, cm) { + var t = this, btn, format, editor = t.editor; + + if (name == 'numlist' || name == 'bullist') { + // Default to first item if it's a default item + if (t[name][0].title == 'advlist.def') + format = t[name][0]; + + function hasFormat(node, format) { + var state = true; + + each(format.styles, function(value, name) { + // Format doesn't match + if (editor.dom.getStyle(node, name) != value) { + state = false; + return false; + } + }); + + return state; + }; + + function applyListFormat() { + var list, dom = editor.dom, sel = editor.selection; + + // Check for existing list element + list = dom.getParent(sel.getNode(), 'ol,ul'); + + // Switch/add list type if needed + if (!list || list.nodeName == (name == 'bullist' ? 'OL' : 'UL') || hasFormat(list, format)) + editor.execCommand(name == 'bullist' ? 'InsertUnorderedList' : 'InsertOrderedList'); + + // Append styles to new list element + if (format) { + list = dom.getParent(sel.getNode(), 'ol,ul'); + if (list) { + dom.setStyles(list, format.styles); + list.removeAttribute('data-mce-style'); + } + } + + editor.focus(); + }; + + btn = cm.createSplitButton(name, { + title : 'advanced.' + name + '_desc', + 'class' : 'mce_' + name, + onclick : function() { + applyListFormat(); + } + }); + + btn.onRenderMenu.add(function(btn, menu) { + menu.onHideMenu.add(function() { + if (t.bookmark) { + editor.selection.moveToBookmark(t.bookmark); + t.bookmark = 0; + } + }); + + menu.onShowMenu.add(function() { + var dom = editor.dom, list = dom.getParent(editor.selection.getNode(), 'ol,ul'), fmtList; + + if (list || format) { + fmtList = t[name]; + + // Unselect existing items + each(menu.items, function(item) { + var state = true; + + item.setSelected(0); + + if (list && !item.isDisabled()) { + each(fmtList, function(fmt) { + if (fmt.id == item.id) { + if (!hasFormat(list, fmt)) { + state = false; + return false; + } + } + }); + + if (state) + item.setSelected(1); + } + }); + + // Select the current format + if (!list) + menu.items[format.id].setSelected(1); + } + + editor.focus(); + + // IE looses it's selection so store it away and restore it later + if (tinymce.isIE) { + t.bookmark = editor.selection.getBookmark(1); + } + }); + + menu.add({id : editor.dom.uniqueId(), title : 'advlist.types', 'class' : 'mceMenuItemTitle', titleItem: true}).setDisabled(1); + + each(t[name], function(item) { + // IE<8 doesn't support lower-greek, skip it + if (t.isIE7 && item.styles.listStyleType == 'lower-greek') + return; + + item.id = editor.dom.uniqueId(); + + menu.add({id : item.id, title : item.title, onclick : function() { + format = item; + applyListFormat(); + }}); + }); + }); + + return btn; + } + }, + + getInfo : function() { + return { + longname : 'Advanced lists', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('advlist', tinymce.plugins.AdvListPlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js new file mode 100644 index 00000000..d1c3502a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.AutolinkPlugin",{init:function(a,b){var c=this;a.onKeyDown.addToTop(function(d,f){if(f.keyCode==13){return c.handleEnter(d)}});if(tinyMCE.isIE){return}a.onKeyPress.add(function(d,f){if(f.which==41){return c.handleEclipse(d)}});a.onKeyUp.add(function(d,f){if(f.keyCode==32){return c.handleSpacebar(d)}})},handleEclipse:function(a){this.parseCurrentLine(a,-1,"(",true)},handleSpacebar:function(a){this.parseCurrentLine(a,0,"",true)},handleEnter:function(a){this.parseCurrentLine(a,-1,"",false)},parseCurrentLine:function(i,d,b,g){var a,f,c,n,k,m,h,e,j;a=i.selection.getRng(true).cloneRange();if(a.startOffset<5){e=a.endContainer.previousSibling;if(e==null){if(a.endContainer.firstChild==null||a.endContainer.firstChild.nextSibling==null){return}e=a.endContainer.firstChild.nextSibling}j=e.length;a.setStart(e,j);a.setEnd(e,j);if(a.endOffset<5){return}f=a.endOffset;n=e}else{n=a.endContainer;if(n.nodeType!=3&&n.firstChild){while(n.nodeType!=3&&n.firstChild){n=n.firstChild}if(n.nodeType==3){a.setStart(n,0);a.setEnd(n,n.nodeValue.length)}}if(a.endOffset==1){f=2}else{f=a.endOffset-1-d}}c=f;do{a.setStart(n,f-2);a.setEnd(n,f-1);f-=1}while(a.toString()!=" "&&a.toString()!=""&&a.toString().charCodeAt(0)!=160&&(f-2)>=0&&a.toString()!=b);if(a.toString()==b||a.toString().charCodeAt(0)==160){a.setStart(n,f);a.setEnd(n,c);f+=1}else{if(a.startOffset==0){a.setStart(n,0);a.setEnd(n,c)}else{a.setStart(n,f);a.setEnd(n,c)}}var m=a.toString();if(m.charAt(m.length-1)=="."){a.setEnd(n,c-1)}m=a.toString();h=m.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+-]+@)(.+)$/i);if(h){if(h[1]=="www."){h[1]="http://www."}else{if(/@$/.test(h[1])&&!/^mailto:/.test(h[1])){h[1]="mailto:"+h[1]}}k=i.selection.getBookmark();i.selection.setRng(a);tinyMCE.execCommand("createlink",false,h[1]+h[2]);i.selection.moveToBookmark(k);i.nodeChanged();if(tinyMCE.isWebKit){i.selection.collapse(false);var l=Math.min(n.length,c+1);a.setStart(n,l);a.setEnd(n,l);i.selection.setRng(a)}}},getInfo:function(){return{longname:"Autolink",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autolink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autolink",tinymce.plugins.AutolinkPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js new file mode 100644 index 00000000..c05fbbc0 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autolink/editor_plugin_src.js @@ -0,0 +1,184 @@ +/** + * editor_plugin_src.js + * + * Copyright 2011, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.AutolinkPlugin', { + /** + * Initializes the plugin, this will be executed after the plugin has been created. + * This call is done before the editor instance has finished it's initialization so use the onInit event + * of the editor instance to intercept that event. + * + * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. + * @param {string} url Absolute URL to where the plugin is located. + */ + + init : function(ed, url) { + var t = this; + + // Add a key down handler + ed.onKeyDown.addToTop(function(ed, e) { + if (e.keyCode == 13) + return t.handleEnter(ed); + }); + + // Internet Explorer has built-in automatic linking for most cases + if (tinyMCE.isIE) + return; + + ed.onKeyPress.add(function(ed, e) { + if (e.which == 41) + return t.handleEclipse(ed); + }); + + // Add a key up handler + ed.onKeyUp.add(function(ed, e) { + if (e.keyCode == 32) + return t.handleSpacebar(ed); + }); + }, + + handleEclipse : function(ed) { + this.parseCurrentLine(ed, -1, '(', true); + }, + + handleSpacebar : function(ed) { + this.parseCurrentLine(ed, 0, '', true); + }, + + handleEnter : function(ed) { + this.parseCurrentLine(ed, -1, '', false); + }, + + parseCurrentLine : function(ed, end_offset, delimiter, goback) { + var r, end, start, endContainer, bookmark, text, matches, prev, len; + + // We need at least five characters to form a URL, + // hence, at minimum, five characters from the beginning of the line. + r = ed.selection.getRng(true).cloneRange(); + if (r.startOffset < 5) { + // During testing, the caret is placed inbetween two text nodes. + // The previous text node contains the URL. + prev = r.endContainer.previousSibling; + if (prev == null) { + if (r.endContainer.firstChild == null || r.endContainer.firstChild.nextSibling == null) + return; + + prev = r.endContainer.firstChild.nextSibling; + } + len = prev.length; + r.setStart(prev, len); + r.setEnd(prev, len); + + if (r.endOffset < 5) + return; + + end = r.endOffset; + endContainer = prev; + } else { + endContainer = r.endContainer; + + // Get a text node + if (endContainer.nodeType != 3 && endContainer.firstChild) { + while (endContainer.nodeType != 3 && endContainer.firstChild) + endContainer = endContainer.firstChild; + + // Move range to text node + if (endContainer.nodeType == 3) { + r.setStart(endContainer, 0); + r.setEnd(endContainer, endContainer.nodeValue.length); + } + } + + if (r.endOffset == 1) + end = 2; + else + end = r.endOffset - 1 - end_offset; + } + + start = end; + + do + { + // Move the selection one character backwards. + r.setStart(endContainer, end - 2); + r.setEnd(endContainer, end - 1); + end -= 1; + + // Loop until one of the following is found: a blank space,  , delimeter, (end-2) >= 0 + } while (r.toString() != ' ' && r.toString() != '' && r.toString().charCodeAt(0) != 160 && (end -2) >= 0 && r.toString() != delimiter); + + if (r.toString() == delimiter || r.toString().charCodeAt(0) == 160) { + r.setStart(endContainer, end); + r.setEnd(endContainer, start); + end += 1; + } else if (r.startOffset == 0) { + r.setStart(endContainer, 0); + r.setEnd(endContainer, start); + } + else { + r.setStart(endContainer, end); + r.setEnd(endContainer, start); + } + + // Exclude last . from word like "www.site.com." + var text = r.toString(); + if (text.charAt(text.length - 1) == '.') { + r.setEnd(endContainer, start - 1); + } + + text = r.toString(); + matches = text.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+-]+@)(.+)$/i); + + if (matches) { + if (matches[1] == 'www.') { + matches[1] = 'http://www.'; + } else if (/@$/.test(matches[1]) && !/^mailto:/.test(matches[1])) { + matches[1] = 'mailto:' + matches[1]; + } + + bookmark = ed.selection.getBookmark(); + + ed.selection.setRng(r); + tinyMCE.execCommand('createlink',false, matches[1] + matches[2]); + ed.selection.moveToBookmark(bookmark); + ed.nodeChanged(); + + // TODO: Determine if this is still needed. + if (tinyMCE.isWebKit) { + // move the caret to its original position + ed.selection.collapse(false); + var max = Math.min(endContainer.length, start + 1); + r.setStart(endContainer, max); + r.setEnd(endContainer, max); + ed.selection.setRng(r); + } + } + }, + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Autolink', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autolink', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('autolink', tinymce.plugins.AutolinkPlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js new file mode 100644 index 00000000..46d9dc3d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this,e=0;if(a.getParam("fullscreen_is_enabled")){return}function b(){var j,i=a.getDoc(),f=i.body,l=i.documentElement,h=tinymce.DOM,k=d.autoresize_min_height,g;g=tinymce.isIE?f.scrollHeight:(tinymce.isWebKit&&f.clientHeight==0?0:f.offsetHeight);if(g>d.autoresize_min_height){k=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){k=d.autoresize_max_height;f.style.overflowY="auto";l.style.overflowY="auto"}else{f.style.overflowY="hidden";l.style.overflowY="hidden";f.scrollTop=0}if(k!==e){j=k-e;h.setStyle(h.get(a.id+"_ifr"),"height",k+"px");e=k;if(tinymce.isWebKit&&j<0){b()}}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onLoad.add(b);a.onLoadContent.add(b)}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js new file mode 100644 index 00000000..7673bcff --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js @@ -0,0 +1,119 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + /** + * Auto Resize + * + * This plugin automatically resizes the content area to fit its content height. + * It will retain a minimum height, which is the height of the content area when + * it's initialized. + */ + tinymce.create('tinymce.plugins.AutoResizePlugin', { + /** + * Initializes the plugin, this will be executed after the plugin has been created. + * This call is done before the editor instance has finished it's initialization so use the onInit event + * of the editor instance to intercept that event. + * + * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. + * @param {string} url Absolute URL to where the plugin is located. + */ + init : function(ed, url) { + var t = this, oldSize = 0; + + if (ed.getParam('fullscreen_is_enabled')) + return; + + /** + * This method gets executed each time the editor needs to resize. + */ + function resize() { + var deltaSize, d = ed.getDoc(), body = d.body, de = d.documentElement, DOM = tinymce.DOM, resizeHeight = t.autoresize_min_height, myHeight; + + // Get height differently depending on the browser used + myHeight = tinymce.isIE ? body.scrollHeight : (tinymce.isWebKit && body.clientHeight == 0 ? 0 : body.offsetHeight); + + // Don't make it smaller than the minimum height + if (myHeight > t.autoresize_min_height) + resizeHeight = myHeight; + + // If a maximum height has been defined don't exceed this height + if (t.autoresize_max_height && myHeight > t.autoresize_max_height) { + resizeHeight = t.autoresize_max_height; + body.style.overflowY = "auto"; + de.style.overflowY = "auto"; // Old IE + } else { + body.style.overflowY = "hidden"; + de.style.overflowY = "hidden"; // Old IE + body.scrollTop = 0; + } + + // Resize content element + if (resizeHeight !== oldSize) { + deltaSize = resizeHeight - oldSize; + DOM.setStyle(DOM.get(ed.id + '_ifr'), 'height', resizeHeight + 'px'); + oldSize = resizeHeight; + + // WebKit doesn't decrease the size of the body element until the iframe gets resized + // So we need to continue to resize the iframe down until the size gets fixed + if (tinymce.isWebKit && deltaSize < 0) + resize(); + } + }; + + t.editor = ed; + + // Define minimum height + t.autoresize_min_height = parseInt(ed.getParam('autoresize_min_height', ed.getElement().offsetHeight)); + + // Define maximum height + t.autoresize_max_height = parseInt(ed.getParam('autoresize_max_height', 0)); + + // Add padding at the bottom for better UX + ed.onInit.add(function(ed){ + ed.dom.setStyle(ed.getBody(), 'paddingBottom', ed.getParam('autoresize_bottom_margin', 50) + 'px'); + }); + + // Add appropriate listeners for resizing content area + ed.onChange.add(resize); + ed.onSetContent.add(resize); + ed.onPaste.add(resize); + ed.onKeyUp.add(resize); + ed.onPostRender.add(resize); + + if (ed.getParam('autoresize_on_init', true)) { + ed.onLoad.add(resize); + ed.onLoadContent.add(resize); + } + + // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample'); + ed.addCommand('mceAutoResize', resize); + }, + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Auto Resize', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('autoresize', tinymce.plugins.AutoResizePlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js new file mode 100755 index 00000000..6da98ff3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/editor_plugin.js @@ -0,0 +1 @@ +(function(e){var c="autosave",g="restoredraft",b=true,f,d,a=e.util.Dispatcher;e.create("tinymce.plugins.AutoSave",{init:function(i,j){var h=this,l=i.settings;h.editor=i;function k(n){var m={s:1000,m:60000};n=/^(\d+)([ms]?)$/.exec(""+n);return(n[2]?m[n[2]]:1)*parseInt(n)}e.each({ask_before_unload:b,interval:"30s",retention:"20m",minlength:50},function(n,m){m=c+"_"+m;if(l[m]===f){l[m]=n}});l.autosave_interval=k(l.autosave_interval);l.autosave_retention=k(l.autosave_retention);i.addButton(g,{title:c+".restore_content",onclick:function(){if(i.getContent({draft:true}).replace(/\s| |<\/?p[^>]*>|]*>/gi,"").length>0){i.windowManager.confirm(c+".warning_message",function(m){if(m){h.restoreDraft()}})}else{h.restoreDraft()}}});i.onNodeChange.add(function(){var m=i.controlManager;if(m.get(g)){m.setDisabled(g,!h.hasDraft())}});i.onInit.add(function(){if(i.controlManager.get(g)){h.setupStorage(i);setInterval(function(){if(!i.removed){h.storeDraft();i.nodeChanged()}},l.autosave_interval)}});h.onStoreDraft=new a(h);h.onRestoreDraft=new a(h);h.onRemoveDraft=new a(h);if(!d){window.onbeforeunload=e.plugins.AutoSave._beforeUnloadHandler;d=b}},getInfo:function(){return{longname:"Auto save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave",version:e.majorVersion+"."+e.minorVersion}},getExpDate:function(){return new Date(new Date().getTime()+this.editor.settings.autosave_retention).toUTCString()},setupStorage:function(i){var h=this,k=c+"_test",j="OK";h.key=c+i.id;e.each([function(){if(localStorage){localStorage.setItem(k,j);if(localStorage.getItem(k)===j){localStorage.removeItem(k);return localStorage}}},function(){if(sessionStorage){sessionStorage.setItem(k,j);if(sessionStorage.getItem(k)===j){sessionStorage.removeItem(k);return sessionStorage}}},function(){if(e.isIE){i.getElement().style.behavior="url('#default#userData')";return{autoExpires:b,setItem:function(l,n){var m=i.getElement();m.setAttribute(l,n);m.expires=h.getExpDate();try{m.save("TinyMCE")}catch(o){}},getItem:function(l){var m=i.getElement();try{m.load("TinyMCE");return m.getAttribute(l)}catch(n){return null}},removeItem:function(l){i.getElement().removeAttribute(l)}}}},],function(l){try{h.storage=l();if(h.storage){return false}}catch(m){}})},storeDraft:function(){var i=this,l=i.storage,j=i.editor,h,k;if(l){if(!l.getItem(i.key)&&!j.isDirty()){return}k=j.getContent({draft:true});if(k.length>j.settings.autosave_minlength){h=i.getExpDate();if(!i.storage.autoExpires){i.storage.setItem(i.key+"_expires",h)}i.storage.setItem(i.key,k);i.onStoreDraft.dispatch(i,{expires:h,content:k})}}},restoreDraft:function(){var h=this,j=h.storage,i;if(j){i=j.getItem(h.key);if(i){h.editor.setContent(i);h.onRestoreDraft.dispatch(h,{content:i})}}},hasDraft:function(){var h=this,k=h.storage,i,j;if(k){j=!!k.getItem(h.key);if(j){if(!h.storage.autoExpires){i=new Date(k.getItem(h.key+"_expires"));if(new Date().getTime()]*>|]*>/gi, "").length > 0) { + // Show confirm dialog if the editor isn't empty + ed.windowManager.confirm( + PLUGIN_NAME + ".warning_message", + function(ok) { + if (ok) + self.restoreDraft(); + } + ); + } else + self.restoreDraft(); + } + }); + + // Enable/disable restoredraft button depending on if there is a draft stored or not + ed.onNodeChange.add(function() { + var controlManager = ed.controlManager; + + if (controlManager.get(RESTORE_DRAFT)) + controlManager.setDisabled(RESTORE_DRAFT, !self.hasDraft()); + }); + + ed.onInit.add(function() { + // Check if the user added the restore button, then setup auto storage logic + if (ed.controlManager.get(RESTORE_DRAFT)) { + // Setup storage engine + self.setupStorage(ed); + + // Auto save contents each interval time + setInterval(function() { + if (!ed.removed) { + self.storeDraft(); + ed.nodeChanged(); + } + }, settings.autosave_interval); + } + }); + + /** + * This event gets fired when a draft is stored to local storage. + * + * @event onStoreDraft + * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event. + * @param {Object} draft Draft object containing the HTML contents of the editor. + */ + self.onStoreDraft = new Dispatcher(self); + + /** + * This event gets fired when a draft is restored from local storage. + * + * @event onStoreDraft + * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event. + * @param {Object} draft Draft object containing the HTML contents of the editor. + */ + self.onRestoreDraft = new Dispatcher(self); + + /** + * This event gets fired when a draft removed/expired. + * + * @event onRemoveDraft + * @param {tinymce.plugins.AutoSave} sender Plugin instance sending the event. + * @param {Object} draft Draft object containing the HTML contents of the editor. + */ + self.onRemoveDraft = new Dispatcher(self); + + // Add ask before unload dialog only add one unload handler + if (!unloadHandlerAdded) { + window.onbeforeunload = tinymce.plugins.AutoSave._beforeUnloadHandler; + unloadHandlerAdded = TRUE; + } + }, + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @method getInfo + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Auto save', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + /** + * Returns an expiration date UTC string. + * + * @method getExpDate + * @return {String} Expiration date UTC string. + */ + getExpDate : function() { + return new Date( + new Date().getTime() + this.editor.settings.autosave_retention + ).toUTCString(); + }, + + /** + * This method will setup the storage engine. If the browser has support for it. + * + * @method setupStorage + */ + setupStorage : function(ed) { + var self = this, testKey = PLUGIN_NAME + '_test', testVal = "OK"; + + self.key = PLUGIN_NAME + ed.id; + + // Loop though each storage engine type until we find one that works + tinymce.each([ + function() { + // Try HTML5 Local Storage + if (localStorage) { + localStorage.setItem(testKey, testVal); + + if (localStorage.getItem(testKey) === testVal) { + localStorage.removeItem(testKey); + + return localStorage; + } + } + }, + + function() { + // Try HTML5 Session Storage + if (sessionStorage) { + sessionStorage.setItem(testKey, testVal); + + if (sessionStorage.getItem(testKey) === testVal) { + sessionStorage.removeItem(testKey); + + return sessionStorage; + } + } + }, + + function() { + // Try IE userData + if (tinymce.isIE) { + ed.getElement().style.behavior = "url('#default#userData')"; + + // Fake localStorage on old IE + return { + autoExpires : TRUE, + + setItem : function(key, value) { + var userDataElement = ed.getElement(); + + userDataElement.setAttribute(key, value); + userDataElement.expires = self.getExpDate(); + + try { + userDataElement.save("TinyMCE"); + } catch (e) { + // Ignore, saving might fail if "Userdata Persistence" is disabled in IE + } + }, + + getItem : function(key) { + var userDataElement = ed.getElement(); + + try { + userDataElement.load("TinyMCE"); + return userDataElement.getAttribute(key); + } catch (e) { + // Ignore, loading might fail if "Userdata Persistence" is disabled in IE + return null; + } + }, + + removeItem : function(key) { + ed.getElement().removeAttribute(key); + } + }; + } + }, + ], function(setup) { + // Try executing each function to find a suitable storage engine + try { + self.storage = setup(); + + if (self.storage) + return false; + } catch (e) { + // Ignore + } + }); + }, + + /** + * This method will store the current contents in the the storage engine. + * + * @method storeDraft + */ + storeDraft : function() { + var self = this, storage = self.storage, editor = self.editor, expires, content; + + // Is the contents dirty + if (storage) { + // If there is no existing key and the contents hasn't been changed since + // it's original value then there is no point in saving a draft + if (!storage.getItem(self.key) && !editor.isDirty()) + return; + + // Store contents if the contents if longer than the minlength of characters + content = editor.getContent({draft: true}); + if (content.length > editor.settings.autosave_minlength) { + expires = self.getExpDate(); + + // Store expiration date if needed IE userData has auto expire built in + if (!self.storage.autoExpires) + self.storage.setItem(self.key + "_expires", expires); + + self.storage.setItem(self.key, content); + self.onStoreDraft.dispatch(self, { + expires : expires, + content : content + }); + } + } + }, + + /** + * This method will restore the contents from the storage engine back to the editor. + * + * @method restoreDraft + */ + restoreDraft : function() { + var self = this, storage = self.storage, content; + + if (storage) { + content = storage.getItem(self.key); + + if (content) { + self.editor.setContent(content); + self.onRestoreDraft.dispatch(self, { + content : content + }); + } + } + }, + + /** + * This method will return true/false if there is a local storage draft available. + * + * @method hasDraft + * @return {boolean} true/false state if there is a local draft. + */ + hasDraft : function() { + var self = this, storage = self.storage, expDate, exists; + + if (storage) { + // Does the item exist at all + exists = !!storage.getItem(self.key); + if (exists) { + // Storage needs autoexpire + if (!self.storage.autoExpires) { + expDate = new Date(storage.getItem(self.key + "_expires")); + + // Contents hasn't expired + if (new Date().getTime() < expDate.getTime()) + return TRUE; + + // Remove it if it has + self.removeDraft(); + } else + return TRUE; + } + } + + return false; + }, + + /** + * Removes the currently stored draft. + * + * @method removeDraft + */ + removeDraft : function() { + var self = this, storage = self.storage, key = self.key, content; + + if (storage) { + // Get current contents and remove the existing draft + content = storage.getItem(key); + storage.removeItem(key); + storage.removeItem(key + "_expires"); + + // Dispatch remove event if we had any contents + if (content) { + self.onRemoveDraft.dispatch(self, { + content : content + }); + } + } + }, + + "static" : { + // Internal unload handler will be called before the page is unloaded + _beforeUnloadHandler : function(e) { + var msg; + + tinymce.each(tinyMCE.editors, function(ed) { + // Store a draft for each editor instance + if (ed.plugins.autosave) + ed.plugins.autosave.storeDraft(); + + // Never ask in fullscreen mode + if (ed.getParam("fullscreen_is_enabled")) + return; + + // Setup a return message if the editor is dirty + if (!msg && ed.isDirty() && ed.getParam("autosave_ask_before_unload")) + msg = ed.getLang("autosave.unload_msg"); + }); + + return msg; + } + } + }); + + tinymce.PluginManager.add('autosave', tinymce.plugins.AutoSave); +})(tinymce); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js new file mode 100755 index 00000000..fce6bd3e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/autosave/langs/en.js @@ -0,0 +1,4 @@ +tinyMCE.addI18n('en.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js new file mode 100755 index 00000000..8f8821fd --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.BBCodePlugin",{init:function(a,b){var d=this,c=a.getParam("bbcode_dialect","punbb").toLowerCase();a.onBeforeSetContent.add(function(e,f){f.content=d["_"+c+"_bbcode2html"](f.content)});a.onPostProcess.add(function(e,f){if(f.set){f.content=d["_"+c+"_bbcode2html"](f.content)}if(f.get){f.content=d["_"+c+"_html2bbcode"](f.content)}})},getInfo:function(){return{longname:"BBCode Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_punbb_html2bbcode:function(a){a=tinymce.trim(a);function b(c,d){a=a.replace(c,d)}b(/(.*?)<\/a>/gi,"[url=$1]$2[/url]");b(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");b(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");b(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");b(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");b(/(.*?)<\/span>/gi,"[color=$1]$2[/color]");b(/(.*?)<\/font>/gi,"[color=$1]$2[/color]");b(/(.*?)<\/span>/gi,"[size=$1]$2[/size]");b(/(.*?)<\/font>/gi,"$1");b(//gi,"[img]$1[/img]");b(/(.*?)<\/span>/gi,"[code]$1[/code]");b(/(.*?)<\/span>/gi,"[quote]$1[/quote]");b(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");b(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");b(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");b(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");b(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");b(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");b(/<\/(strong|b)>/gi,"[/b]");b(/<(strong|b)>/gi,"[b]");b(/<\/(em|i)>/gi,"[/i]");b(/<(em|i)>/gi,"[i]");b(/<\/u>/gi,"[/u]");b(/(.*?)<\/span>/gi,"[u]$1[/u]");b(//gi,"[u]");b(/]*>/gi,"[quote]");b(/<\/blockquote>/gi,"[/quote]");b(/
    /gi,"\n");b(//gi,"\n");b(/
    /gi,"\n");b(/

    /gi,"");b(/<\/p>/gi,"\n");b(/ |\u00a0/gi," ");b(/"/gi,'"');b(/</gi,"<");b(/>/gi,">");b(/&/gi,"&");return a},_punbb_bbcode2html:function(a){a=tinymce.trim(a);function b(c,d){a=a.replace(c,d)}b(/\n/gi,"
    ");b(/\[b\]/gi,"");b(/\[\/b\]/gi,"");b(/\[i\]/gi,"");b(/\[\/i\]/gi,"");b(/\[u\]/gi,"");b(/\[\/u\]/gi,"");b(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2');b(/\[url\](.*?)\[\/url\]/gi,'$1');b(/\[img\](.*?)\[\/img\]/gi,'');b(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2');b(/\[code\](.*?)\[\/code\]/gi,'$1 ');b(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 ');return a}});tinymce.PluginManager.add("bbcode",tinymce.plugins.BBCodePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js new file mode 100755 index 00000000..4e7eb337 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js @@ -0,0 +1,120 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.BBCodePlugin', { + init : function(ed, url) { + var t = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase(); + + ed.onBeforeSetContent.add(function(ed, o) { + o.content = t['_' + dialect + '_bbcode2html'](o.content); + }); + + ed.onPostProcess.add(function(ed, o) { + if (o.set) + o.content = t['_' + dialect + '_bbcode2html'](o.content); + + if (o.get) + o.content = t['_' + dialect + '_html2bbcode'](o.content); + }); + }, + + getInfo : function() { + return { + longname : 'BBCode Plugin', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private methods + + // HTML -> BBCode in PunBB dialect + _punbb_html2bbcode : function(s) { + s = tinymce.trim(s); + + function rep(re, str) { + s = s.replace(re, str); + }; + + // example: to [b] + rep(/(.*?)<\/a>/gi,"[url=$1]$2[/url]"); + rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"); + rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"); + rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"); + rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"); + rep(/(.*?)<\/span>/gi,"[color=$1]$2[/color]"); + rep(/(.*?)<\/font>/gi,"[color=$1]$2[/color]"); + rep(/(.*?)<\/span>/gi,"[size=$1]$2[/size]"); + rep(/(.*?)<\/font>/gi,"$1"); + rep(//gi,"[img]$1[/img]"); + rep(/(.*?)<\/span>/gi,"[code]$1[/code]"); + rep(/(.*?)<\/span>/gi,"[quote]$1[/quote]"); + rep(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"); + rep(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"); + rep(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"); + rep(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"); + rep(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"); + rep(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"); + rep(/<\/(strong|b)>/gi,"[/b]"); + rep(/<(strong|b)>/gi,"[b]"); + rep(/<\/(em|i)>/gi,"[/i]"); + rep(/<(em|i)>/gi,"[i]"); + rep(/<\/u>/gi,"[/u]"); + rep(/(.*?)<\/span>/gi,"[u]$1[/u]"); + rep(//gi,"[u]"); + rep(/]*>/gi,"[quote]"); + rep(/<\/blockquote>/gi,"[/quote]"); + rep(/
    /gi,"\n"); + rep(//gi,"\n"); + rep(/
    /gi,"\n"); + rep(/

    /gi,""); + rep(/<\/p>/gi,"\n"); + rep(/ |\u00a0/gi," "); + rep(/"/gi,"\""); + rep(/</gi,"<"); + rep(/>/gi,">"); + rep(/&/gi,"&"); + + return s; + }, + + // BBCode -> HTML from PunBB dialect + _punbb_bbcode2html : function(s) { + s = tinymce.trim(s); + + function rep(re, str) { + s = s.replace(re, str); + }; + + // example: [b] to + rep(/\n/gi,"
    "); + rep(/\[b\]/gi,""); + rep(/\[\/b\]/gi,""); + rep(/\[i\]/gi,""); + rep(/\[\/i\]/gi,""); + rep(/\[u\]/gi,""); + rep(/\[\/u\]/gi,""); + rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"$2"); + rep(/\[url\](.*?)\[\/url\]/gi,"$1"); + rep(/\[img\](.*?)\[\/img\]/gi,""); + rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"$2"); + rep(/\[code\](.*?)\[\/code\]/gi,"$1 "); + rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"$1 "); + + return s; + } + }); + + // Register plugin + tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js new file mode 100755 index 00000000..2ed042c3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js @@ -0,0 +1 @@ +(function(){var a=tinymce.dom.Event,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.ContextMenu",{init:function(f){var i=this,g,d,j,e;i.editor=f;d=f.settings.contextmenu_never_use_native;i.onContextMenu=new tinymce.util.Dispatcher(this);e=function(k){h(f,k)};g=f.onContextMenu.add(function(k,l){if((j!==0?j:l.ctrlKey)&&!d){return}a.cancel(l);if(l.target.nodeName=="IMG"){k.selection.select(l.target)}i._getMenu(k).showMenu(l.clientX||l.pageX,l.clientY||l.pageY);a.add(k.getDoc(),"click",e);k.nodeChanged()});f.onRemove.add(function(){if(i._menu){i._menu.removeAll()}});function h(k,l){j=0;if(l&&l.button==2){j=l.ctrlKey;return}if(i._menu){i._menu.removeAll();i._menu.destroy();a.remove(k.getDoc(),"click",e);i._menu=null}}f.onMouseDown.add(h);f.onKeyDown.add(h);f.onKeyDown.add(function(k,l){if(l.shiftKey&&!l.ctrlKey&&!l.altKey&&l.keyCode===121){a.cancel(l);g(k,l)}})},getInfo:function(){return{longname:"Contextmenu",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getMenu:function(e){var g=this,d=g._menu,j=e.selection,f=j.isCollapsed(),h=j.getNode()||e.getBody(),i,k;if(d){d.removeAll();d.destroy()}k=b.getPos(e.getContentAreaContainer());d=e.controlManager.createDropMenu("contextmenu",{offset_x:k.x+e.getParam("contextmenu_offset_x",0),offset_y:k.y+e.getParam("contextmenu_offset_y",0),constrain:1,keyboard_focus:true});g._menu=d;d.add({title:"advanced.cut_desc",icon:"cut",cmd:"Cut"}).setDisabled(f);d.add({title:"advanced.copy_desc",icon:"copy",cmd:"Copy"}).setDisabled(f);d.add({title:"advanced.paste_desc",icon:"paste",cmd:"Paste"});if((h.nodeName=="A"&&!e.dom.getAttrib(h,"name"))||!f){d.addSeparator();d.add({title:"advanced.link_desc",icon:"link",cmd:e.plugins.advlink?"mceAdvLink":"mceLink",ui:true});d.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"})}d.addSeparator();d.add({title:"advanced.image_desc",icon:"image",cmd:e.plugins.advimage?"mceAdvImage":"mceImage",ui:true});d.addSeparator();i=d.addMenu({title:"contextmenu.align"});i.add({title:"contextmenu.left",icon:"justifyleft",cmd:"JustifyLeft"});i.add({title:"contextmenu.center",icon:"justifycenter",cmd:"JustifyCenter"});i.add({title:"contextmenu.right",icon:"justifyright",cmd:"JustifyRight"});i.add({title:"contextmenu.full",icon:"justifyfull",cmd:"JustifyFull"});g.onContextMenu.dispatch(g,d,h,f);return d}});tinymce.PluginManager.add("contextmenu",tinymce.plugins.ContextMenu)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js new file mode 100755 index 00000000..48b0fff9 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js @@ -0,0 +1,163 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM; + + /** + * This plugin a context menu to TinyMCE editor instances. + * + * @class tinymce.plugins.ContextMenu + */ + tinymce.create('tinymce.plugins.ContextMenu', { + /** + * Initializes the plugin, this will be executed after the plugin has been created. + * This call is done before the editor instance has finished it's initialization so use the onInit event + * of the editor instance to intercept that event. + * + * @method init + * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. + * @param {string} url Absolute URL to where the plugin is located. + */ + init : function(ed) { + var t = this, showMenu, contextmenuNeverUseNative, realCtrlKey, hideMenu; + + t.editor = ed; + + contextmenuNeverUseNative = ed.settings.contextmenu_never_use_native; + + /** + * This event gets fired when the context menu is shown. + * + * @event onContextMenu + * @param {tinymce.plugins.ContextMenu} sender Plugin instance sending the event. + * @param {tinymce.ui.DropMenu} menu Drop down menu to fill with more items if needed. + */ + t.onContextMenu = new tinymce.util.Dispatcher(this); + + hideMenu = function(e) { + hide(ed, e); + }; + + showMenu = ed.onContextMenu.add(function(ed, e) { + // Block TinyMCE menu on ctrlKey and work around Safari issue + if ((realCtrlKey !== 0 ? realCtrlKey : e.ctrlKey) && !contextmenuNeverUseNative) + return; + + Event.cancel(e); + + // Select the image if it's clicked. WebKit would other wise expand the selection + if (e.target.nodeName == 'IMG') + ed.selection.select(e.target); + + t._getMenu(ed).showMenu(e.clientX || e.pageX, e.clientY || e.pageY); + Event.add(ed.getDoc(), 'click', hideMenu); + + ed.nodeChanged(); + }); + + ed.onRemove.add(function() { + if (t._menu) + t._menu.removeAll(); + }); + + function hide(ed, e) { + realCtrlKey = 0; + + // Since the contextmenu event moves + // the selection we need to store it away + if (e && e.button == 2) { + realCtrlKey = e.ctrlKey; + return; + } + + if (t._menu) { + t._menu.removeAll(); + t._menu.destroy(); + Event.remove(ed.getDoc(), 'click', hideMenu); + t._menu = null; + } + }; + + ed.onMouseDown.add(hide); + ed.onKeyDown.add(hide); + ed.onKeyDown.add(function(ed, e) { + if (e.shiftKey && !e.ctrlKey && !e.altKey && e.keyCode === 121) { + Event.cancel(e); + showMenu(ed, e); + } + }); + }, + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @method getInfo + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Contextmenu', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + _getMenu : function(ed) { + var t = this, m = t._menu, se = ed.selection, col = se.isCollapsed(), el = se.getNode() || ed.getBody(), am, p; + + if (m) { + m.removeAll(); + m.destroy(); + } + + p = DOM.getPos(ed.getContentAreaContainer()); + + m = ed.controlManager.createDropMenu('contextmenu', { + offset_x : p.x + ed.getParam('contextmenu_offset_x', 0), + offset_y : p.y + ed.getParam('contextmenu_offset_y', 0), + constrain : 1, + keyboard_focus: true + }); + + t._menu = m; + + m.add({title : 'advanced.cut_desc', icon : 'cut', cmd : 'Cut'}).setDisabled(col); + m.add({title : 'advanced.copy_desc', icon : 'copy', cmd : 'Copy'}).setDisabled(col); + m.add({title : 'advanced.paste_desc', icon : 'paste', cmd : 'Paste'}); + + if ((el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) || !col) { + m.addSeparator(); + m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true}); + m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'}); + } + + m.addSeparator(); + m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true}); + + m.addSeparator(); + am = m.addMenu({title : 'contextmenu.align'}); + am.add({title : 'contextmenu.left', icon : 'justifyleft', cmd : 'JustifyLeft'}); + am.add({title : 'contextmenu.center', icon : 'justifycenter', cmd : 'JustifyCenter'}); + am.add({title : 'contextmenu.right', icon : 'justifyright', cmd : 'JustifyRight'}); + am.add({title : 'contextmenu.full', icon : 'justifyfull', cmd : 'JustifyFull'}); + + t.onContextMenu.dispatch(t, m, el, col); + + return m; + } + }); + + // Register plugin + tinymce.PluginManager.add('contextmenu', tinymce.plugins.ContextMenu); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js new file mode 100755 index 00000000..90847e78 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Directionality",{init:function(b,c){var d=this;d.editor=b;function a(e){var h=b.dom,g,f=b.selection.getSelectedBlocks();if(f.length){g=h.getAttrib(f[0],"dir");tinymce.each(f,function(i){if(!h.getParent(i.parentNode,"*[dir='"+e+"']",h.getRoot())){if(g!=e){h.setAttrib(i,"dir",e)}else{h.setAttrib(i,"dir",null)}}});b.nodeChanged()}}b.addCommand("mceDirectionLTR",function(){a("ltr")});b.addCommand("mceDirectionRTL",function(){a("rtl")});b.addButton("ltr",{title:"directionality.ltr_desc",cmd:"mceDirectionLTR"});b.addButton("rtl",{title:"directionality.rtl_desc",cmd:"mceDirectionRTL"});b.onNodeChange.add(d._nodeChange,d)},getInfo:function(){return{longname:"Directionality",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,e){var d=b.dom,c;e=d.getParent(e,d.isBlock);if(!e){a.setDisabled("ltr",1);a.setDisabled("rtl",1);return}c=d.getAttrib(e,"dir");a.setActive("ltr",c=="ltr");a.setDisabled("ltr",0);a.setActive("rtl",c=="rtl");a.setDisabled("rtl",0)}});tinymce.PluginManager.add("directionality",tinymce.plugins.Directionality)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js new file mode 100755 index 00000000..b1340141 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js @@ -0,0 +1,85 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.Directionality', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + function setDir(dir) { + var dom = ed.dom, curDir, blocks = ed.selection.getSelectedBlocks(); + + if (blocks.length) { + curDir = dom.getAttrib(blocks[0], "dir"); + + tinymce.each(blocks, function(block) { + // Add dir to block if the parent block doesn't already have that dir + if (!dom.getParent(block.parentNode, "*[dir='" + dir + "']", dom.getRoot())) { + if (curDir != dir) { + dom.setAttrib(block, "dir", dir); + } else { + dom.setAttrib(block, "dir", null); + } + } + }); + + ed.nodeChanged(); + } + } + + ed.addCommand('mceDirectionLTR', function() { + setDir("ltr"); + }); + + ed.addCommand('mceDirectionRTL', function() { + setDir("rtl"); + }); + + ed.addButton('ltr', {title : 'directionality.ltr_desc', cmd : 'mceDirectionLTR'}); + ed.addButton('rtl', {title : 'directionality.rtl_desc', cmd : 'mceDirectionRTL'}); + + ed.onNodeChange.add(t._nodeChange, t); + }, + + getInfo : function() { + return { + longname : 'Directionality', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private methods + + _nodeChange : function(ed, cm, n) { + var dom = ed.dom, dir; + + n = dom.getParent(n, dom.isBlock); + if (!n) { + cm.setDisabled('ltr', 1); + cm.setDisabled('rtl', 1); + return; + } + + dir = dom.getAttrib(n, 'dir'); + cm.setActive('ltr', dir == "ltr"); + cm.setDisabled('ltr', 0); + cm.setActive('rtl', dir == "rtl"); + cm.setDisabled('rtl', 0); + } + }); + + // Register plugin + tinymce.PluginManager.add('directionality', tinymce.plugins.Directionality); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js new file mode 100755 index 00000000..dbdd8ffb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin.js @@ -0,0 +1 @@ +(function(a){a.create("tinymce.plugins.EmotionsPlugin",{init:function(b,c){b.addCommand("mceEmotion",function(){b.windowManager.open({file:c+"/emotions.htm",width:250+parseInt(b.getLang("emotions.delta_width",0)),height:160+parseInt(b.getLang("emotions.delta_height",0)),inline:1},{plugin_url:c})});b.addButton("emotions",{title:"emotions.emotions_desc",cmd:"mceEmotion"})},getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("emotions",a.plugins.EmotionsPlugin)})(tinymce); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js new file mode 100755 index 00000000..71d54169 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js @@ -0,0 +1,43 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function(tinymce) { + tinymce.create('tinymce.plugins.EmotionsPlugin', { + init : function(ed, url) { + // Register commands + ed.addCommand('mceEmotion', function() { + ed.windowManager.open({ + file : url + '/emotions.htm', + width : 250 + parseInt(ed.getLang('emotions.delta_width', 0)), + height : 160 + parseInt(ed.getLang('emotions.delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + // Register buttons + ed.addButton('emotions', {title : 'emotions.emotions_desc', cmd : 'mceEmotion'}); + }, + + getInfo : function() { + return { + longname : 'Emotions', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin); +})(tinymce); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm new file mode 100755 index 00000000..10135565 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/emotions.htm @@ -0,0 +1,42 @@ + + + + {#emotions_dlg.title} + + + + + +

    +
    {#emotions_dlg.title}:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {#emotions_dlg.usage}
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif new file mode 100644 index 00000000..ba90cc36 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cool.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif new file mode 100644 index 00000000..74d897a4 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-cry.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif new file mode 100644 index 00000000..963a96b8 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-embarassed.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif new file mode 100644 index 00000000..c7cf1011 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif new file mode 100644 index 00000000..716f55e1 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-frown.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif new file mode 100644 index 00000000..334d49e0 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-innocent.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif new file mode 100644 index 00000000..4efd549e Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-kiss.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif new file mode 100644 index 00000000..82c5b182 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-laughing.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif new file mode 100644 index 00000000..ca2451e1 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif new file mode 100644 index 00000000..fe66220c Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-sealed.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif new file mode 100644 index 00000000..fd27edfa Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-smile.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif new file mode 100644 index 00000000..0cc9bb71 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-surprised.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif new file mode 100644 index 00000000..2075dc16 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif new file mode 100644 index 00000000..bef7e257 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-undecided.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif new file mode 100644 index 00000000..0631c761 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-wink.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif new file mode 100644 index 00000000..648e6e87 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/img/smiley-yell.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js new file mode 100644 index 00000000..b360f20b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/js/emotions.js @@ -0,0 +1,43 @@ +tinyMCEPopup.requireLangPack(); + +var EmotionsDialog = { + addKeyboardNavigation: function(){ + var tableElm, cells, settings; + + cells = tinyMCEPopup.dom.select("a.emoticon_link", "emoticon_table"); + + settings ={ + root: "emoticon_table", + items: cells + }; + cells[0].tabindex=0; + tinyMCEPopup.dom.addClass(cells[0], "mceFocus"); + if (tinymce.isGecko) { + cells[0].focus(); + } else { + setTimeout(function(){ + cells[0].focus(); + }, 100); + } + tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); + }, + init : function(ed) { + tinyMCEPopup.resizeToInnerSize(); + this.addKeyboardNavigation(); + }, + + insert : function(file, title) { + var ed = tinyMCEPopup.editor, dom = ed.dom; + + tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { + src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, + alt : ed.getLang(title), + title : ed.getLang(title), + border : 0 + })); + + tinyMCEPopup.close(); + } +}; + +tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js new file mode 100644 index 00000000..7489e35e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.emotions_dlg',{cry:"Weinend",cool:"Cool",desc:"Smileys",title:"Smiley einf\u00fcgen",yell:"Br\u00fcllend",wink:"Zwinkernd",undecided:"Unentschlossen","tongue_out":"Zunge raus",surprised:"\u00dcberrascht",smile:"L\u00e4chelnd",sealed:"Verschlossen","money_mouth":"Geld",laughing:"Lachend",kiss:"K\u00fcssend",innocent:"Unschuldig",frown:"Stirnrunzelnd","foot_in_mouth":"Reingefallen",embarassed:"Verlegen",usage:"Navigation mit linken und rechten Pfeilen."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js new file mode 100644 index 00000000..f5aafc39 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.emotions_dlg',{cry:"Cry",cool:"Cool",desc:"Emotions",title:"Insert Emotion",yell:"Yell",wink:"Wink",undecided:"Undecided","tongue_out":"Tongue Out",surprised:"Surprised",smile:"Smile",sealed:"Sealed","money_mouth":"Money Mouth",laughing:"Laughing",kiss:"Kiss",innocent:"Innocent",frown:"Frown","foot_in_mouth":"Foot in Mouth",embarassed:"Embarassed",usage:"Use left and right arrows to navigate."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js new file mode 100644 index 00000000..b48285bb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.emotions_dlg',{cry:"S\u00edr\u00f3s",cool:"Kir\u00e1ly",desc:"Hangulatjelek",title:"Hangulatjel besz\u00far\u00e1sa",yell:"\u00dcv\u00f6lt\u00e9s",wink:"Kacsint\u00e1s",undecided:"Hat\u00e1rozatlan","tongue_out":"Nyelv\u00f6lt\u00e9s",surprised:"Meglepett",smile:"Vigyor",sealed:"Lakat a sz\u00e1j\u00e1n","money_mouth":"P\u00e9nz besz\u00e9l",laughing:"Nevet\u00e9s",kiss:"Cs\u00f3k",innocent:"\u00c1rtatlan",frown:"Rosszall","foot_in_mouth":"L\u00e1b a sz\u00e1jban",embarassed:"Zavarban van",usage:"A navig\u00e1l\u00e1shoz haszn\u00e1ld a bal \u00e9s jobb oldali nyilat."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js new file mode 100644 index 00000000..7ff287f3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/emotions/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.emotions_dlg',{cry:"\u6ce3\u304d\u9854",cool:"\u30af\u30fc\u30eb",desc:"\u8868\u60c5\u30a2\u30a4\u30b3\u30f3",title:"\u8868\u60c5\u30a2\u30a4\u30b3\u30f3\u306e\u633f\u5165",yell:"\u30a8\u30fc\u30eb",wink:"\u30a6\u30a3\u30f3\u30af",undecided:"\u672a\u6c7a\u5b9a","tongue_out":"\u30a2\u30c3\u30ab\u30f3\u30d9\u30fc",surprised:"\u9a5a\u304d",smile:"\u7b11\u9854",sealed:"\u5c01\u5370","money_mouth":"\u53e3\u306b\u304a\u91d1",laughing:"\u7b11\u3044",kiss:"\u30ad\u30b9",innocent:"\u7d14\u771f\u7121\u57a2",frown:"\u6e0b\u9762","foot_in_mouth":"\u53e3\u306b\u8db3",embarassed:"\u56f0\u60d1",usage:"\u5de6\u3068\u53f3\u306e\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3067\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm new file mode 100644 index 00000000..50b2b344 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/dialog.htm @@ -0,0 +1,22 @@ + + + + {#example_dlg.title} + + + + + +
    +

    Here is a example dialog.

    +

    Selected text:

    +

    Custom arg:

    + +
    + + +
    +
    + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js new file mode 100644 index 00000000..ec1f81ea --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.PluginManager.requireLangPack("example");tinymce.create("tinymce.plugins.ExamplePlugin",{init:function(a,b){a.addCommand("mceExample",function(){a.windowManager.open({file:b+"/dialog.htm",width:320+parseInt(a.getLang("example.delta_width",0)),height:120+parseInt(a.getLang("example.delta_height",0)),inline:1},{plugin_url:b,some_custom_arg:"custom arg"})});a.addButton("example",{title:"example.desc",cmd:"mceExample",image:b+"/img/example.gif"});a.onNodeChange.add(function(d,c,e){c.setActive("example",e.nodeName=="IMG")})},createControl:function(b,a){return null},getInfo:function(){return{longname:"Example plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example",version:"1.0"}}});tinymce.PluginManager.add("example",tinymce.plugins.ExamplePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js new file mode 100644 index 00000000..9a0e7da1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/editor_plugin_src.js @@ -0,0 +1,84 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + // Load plugin specific language pack + tinymce.PluginManager.requireLangPack('example'); + + tinymce.create('tinymce.plugins.ExamplePlugin', { + /** + * Initializes the plugin, this will be executed after the plugin has been created. + * This call is done before the editor instance has finished it's initialization so use the onInit event + * of the editor instance to intercept that event. + * + * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. + * @param {string} url Absolute URL to where the plugin is located. + */ + init : function(ed, url) { + // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample'); + ed.addCommand('mceExample', function() { + ed.windowManager.open({ + file : url + '/dialog.htm', + width : 320 + parseInt(ed.getLang('example.delta_width', 0)), + height : 120 + parseInt(ed.getLang('example.delta_height', 0)), + inline : 1 + }, { + plugin_url : url, // Plugin absolute URL + some_custom_arg : 'custom arg' // Custom argument + }); + }); + + // Register example button + ed.addButton('example', { + title : 'example.desc', + cmd : 'mceExample', + image : url + '/img/example.gif' + }); + + // Add a node change handler, selects the button in the UI when a image is selected + ed.onNodeChange.add(function(ed, cm, n) { + cm.setActive('example', n.nodeName == 'IMG'); + }); + }, + + /** + * Creates control instances based in the incomming name. This method is normally not + * needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons + * but you sometimes need to create more complex controls like listboxes, split buttons etc then this + * method can be used to create those. + * + * @param {String} n Name of the control to create. + * @param {tinymce.ControlManager} cm Control manager to use inorder to create new control. + * @return {tinymce.ui.Control} New control instance or null if no control was created. + */ + createControl : function(n, cm) { + return null; + }, + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Example plugin', + author : 'Some author', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example', + version : "1.0" + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('example', tinymce.plugins.ExamplePlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif new file mode 100644 index 00000000..1ab5da44 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/img/example.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js new file mode 100644 index 00000000..fa834113 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/js/dialog.js @@ -0,0 +1,19 @@ +tinyMCEPopup.requireLangPack(); + +var ExampleDialog = { + init : function() { + var f = document.forms[0]; + + // Get the selected contents as text and place it in the input + f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'}); + f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg'); + }, + + insert : function() { + // Insert the contents from the input into the document + tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value); + tinyMCEPopup.close(); + } +}; + +tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js new file mode 100644 index 00000000..e0784f80 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en.js @@ -0,0 +1,3 @@ +tinyMCE.addI18n('en.example',{ + desc : 'This is just a template button' +}); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js new file mode 100644 index 00000000..ebcf948d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example/langs/en_dlg.js @@ -0,0 +1,3 @@ +tinyMCE.addI18n('en.example_dlg',{ + title : 'This is just a example title' +}); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js new file mode 100644 index 00000000..0a4551d3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.ExampleDependencyPlugin",{init:function(a,b){},getInfo:function(){return{longname:"Example Dependency plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency",version:"1.0"}}});tinymce.PluginManager.add("example_dependency",tinymce.plugins.ExampleDependencyPlugin,["example"])})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js new file mode 100644 index 00000000..e1c55e41 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/example_dependency/editor_plugin_src.js @@ -0,0 +1,50 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + + tinymce.create('tinymce.plugins.ExampleDependencyPlugin', { + /** + * Initializes the plugin, this will be executed after the plugin has been created. + * This call is done before the editor instance has finished it's initialization so use the onInit event + * of the editor instance to intercept that event. + * + * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. + * @param {string} url Absolute URL to where the plugin is located. + */ + init : function(ed, url) { + }, + + + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @return {Object} Name/value array containing information about the plugin. + */ + getInfo : function() { + return { + longname : 'Example Dependency plugin', + author : 'Some author', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency', + version : "1.0" + }; + } + }); + + /** + * Register the plugin, specifying the list of the plugins that this plugin depends on. They are specified in a list, with the list loaded in order. + * plugins in this list will be initialised when this plugin is initialized. (before the init method is called). + * plugins in a depends list should typically be specified using the short name). If neccesary this can be done + * with an object which has the url to the plugin and the shortname. + */ + tinymce.PluginManager.add('example_dependency', tinymce.plugins.ExampleDependencyPlugin, ['example']); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css new file mode 100755 index 00000000..2675cec1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/css/fullpage.css @@ -0,0 +1,143 @@ +/* Hide the advanced tab */ +#advanced_tab { + display: none; +} + +#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { + width: 280px; +} + +#doctype, #docencoding { + width: 200px; +} + +#langcode { + width: 30px; +} + +#bgimage { + width: 220px; +} + +#fontface { + width: 240px; +} + +#leftmargin, #rightmargin, #topmargin, #bottommargin { + width: 50px; +} + +.panel_wrapper div.current { + height: 400px; +} + +#stylesheet, #style { + width: 240px; +} + +#doctypes { + width: 200px; +} + +/* Head list classes */ + +.headlistwrapper { + width: 100%; +} + +.selected { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +.toolbar { + width: 100%; +} + +#headlist { + width: 100%; + margin-top: 3px; + font-size: 11px; +} + +#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { + display: none; +} + +#addmenu { + position: absolute; + border: 1px solid gray; + display: none; + z-index: 100; + background-color: white; +} + +#addmenu a { + display: block; + width: 100%; + line-height: 20px; + text-decoration: none; + background-color: white; +} + +#addmenu a:hover { + background-color: #B6BDD2; + color: black; +} + +#addmenu span { + padding-left: 10px; + padding-right: 10px; +} + +#updateElementPanel { + display: none; +} + +#script_element .panel_wrapper div.current { + height: 108px; +} + +#style_element .panel_wrapper div.current { + height: 108px; +} + +#link_element .panel_wrapper div.current { + height: 140px; +} + +#element_script_value { + width: 100%; + height: 100px; +} + +#element_comment_value { + width: 100%; + height: 120px; +} + +#element_style_value { + width: 100%; + height: 100px; +} + +#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { + width: 250px; +} + +.updateElementButton { + margin-top: 3px; +} + +/* MSIE specific styles */ + +* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { + width: 22px; + height: 22px; +} + +textarea { + height: 55px; +} + +.panel_wrapper div.current {height:420px;} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js new file mode 100755 index 00000000..dcf76024 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin.js @@ -0,0 +1 @@ +(function(){var b=tinymce.each,a=tinymce.html.Node;tinymce.create("tinymce.plugins.FullPagePlugin",{init:function(c,d){var e=this;e.editor=c;c.addCommand("mceFullPageProperties",function(){c.windowManager.open({file:d+"/fullpage.htm",width:430+parseInt(c.getLang("fullpage.delta_width",0)),height:495+parseInt(c.getLang("fullpage.delta_height",0)),inline:1},{plugin_url:d,data:e._htmlToData()})});c.addButton("fullpage",{title:"fullpage.desc",cmd:"mceFullPageProperties"});c.onBeforeSetContent.add(e._setContent,e);c.onGetContent.add(e._getContent,e)},getInfo:function(){return{longname:"Fullpage",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_htmlToData:function(){var f=this._parseHeader(),h={},c,i,g,e=this.editor;function d(l,j){var k=l.attr(j);return k||""}h.fontface=e.getParam("fullpage_default_fontface","");h.fontsize=e.getParam("fullpage_default_fontsize","");i=f.firstChild;if(i.type==7){h.xml_pi=true;g=/encoding="([^"]+)"/.exec(i.value);if(g){h.docencoding=g[1]}}i=f.getAll("#doctype")[0];if(i){h.doctype=""}i=f.getAll("title")[0];if(i&&i.firstChild){h.metatitle=i.firstChild.value}b(f.getAll("meta"),function(m){var k=m.attr("name"),j=m.attr("http-equiv"),l;if(k){h["meta"+k.toLowerCase()]=m.attr("content")}else{if(j=="Content-Type"){l=/charset\s*=\s*(.*)\s*/gi.exec(m.attr("content"));if(l){h.docencoding=l[1]}}}});i=f.getAll("html")[0];if(i){h.langcode=d(i,"lang")||d(i,"xml:lang")}i=f.getAll("link")[0];if(i&&i.attr("rel")=="stylesheet"){h.stylesheet=i.attr("href")}i=f.getAll("body")[0];if(i){h.langdir=d(i,"dir");h.style=d(i,"style");h.visited_color=d(i,"vlink");h.link_color=d(i,"link");h.active_color=d(i,"alink")}return h},_dataToHtml:function(g){var f,d,h,j,k,e=this.editor.dom;function c(n,l,m){n.attr(l,m?m:undefined)}function i(l){if(d.firstChild){d.insert(l,d.firstChild)}else{d.append(l)}}f=this._parseHeader();d=f.getAll("head")[0];if(!d){j=f.getAll("html")[0];d=new a("head",1);if(j.firstChild){j.insert(d,j.firstChild,true)}else{j.append(d)}}j=f.firstChild;if(g.xml_pi){k='version="1.0"';if(g.docencoding){k+=' encoding="'+g.docencoding+'"'}if(j.type!=7){j=new a("xml",7);f.insert(j,f.firstChild,true)}j.value=k}else{if(j&&j.type==7){j.remove()}}j=f.getAll("#doctype")[0];if(g.doctype){if(!j){j=new a("#doctype",10);if(g.xml_pi){f.insert(j,f.firstChild)}else{i(j)}}j.value=g.doctype.substring(9,g.doctype.length-1)}else{if(j){j.remove()}}j=f.getAll("title")[0];if(g.metatitle){if(!j){j=new a("title",1);j.append(new a("#text",3)).value=g.metatitle;i(j)}}if(g.docencoding){j=null;b(f.getAll("meta"),function(l){if(l.attr("http-equiv")=="Content-Type"){j=l}});if(!j){j=new a("meta",1);j.attr("http-equiv","Content-Type");j.shortEnded=true;i(j)}j.attr("content","text/html; charset="+g.docencoding)}b("keywords,description,author,copyright,robots".split(","),function(m){var l=f.getAll("meta"),n,p,o=g["meta"+m];for(n=0;n"))},_parseHeader:function(){return new tinymce.html.DomParser({validate:false,root_name:"#document"}).parse(this.head)},_setContent:function(g,d){var m=this,i,c,h=d.content,f,l="",e=m.editor.dom,j;function k(n){return n.replace(/<\/?[A-Z]+/g,function(o){return o.toLowerCase()})}if(d.format=="raw"&&m.head){return}if(d.source_view&&g.getParam("fullpage_hide_in_source_view")){return}h=h.replace(/<(\/?)BODY/gi,"<$1body");i=h.indexOf("",i);m.head=k(h.substring(0,i+1));c=h.indexOf("\n"}f=m._parseHeader();b(f.getAll("style"),function(n){if(n.firstChild){l+=n.firstChild.value}});j=f.getAll("body")[0];if(j){e.setAttribs(m.editor.getBody(),{style:j.attr("style")||"",dir:j.attr("dir")||"",vLink:j.attr("vlink")||"",link:j.attr("link")||"",aLink:j.attr("alink")||""})}e.remove("fullpage_styles");if(l){e.add(m.editor.getDoc().getElementsByTagName("head")[0],"style",{id:"fullpage_styles"},l);j=e.get("fullpage_styles");if(j.styleSheet){j.styleSheet.cssText=l}}},_getDefaultHeader:function(){var f="",c=this.editor,e,d="";if(c.getParam("fullpage_default_xml_pi")){f+='\n'}f+=c.getParam("fullpage_default_doctype",'');f+="\n\n\n";if(e=c.getParam("fullpage_default_title")){f+=""+e+"\n"}if(e=c.getParam("fullpage_default_encoding")){f+='\n'}if(e=c.getParam("fullpage_default_font_family")){d+="font-family: "+e+";"}if(e=c.getParam("fullpage_default_font_size")){d+="font-size: "+e+";"}if(e=c.getParam("fullpage_default_text_color")){d+="color: "+e+";"}f+="\n\n";return f},_getContent:function(d,e){var c=this;if(!e.source_view||!d.getParam("fullpage_hide_in_source_view")){e.content=tinymce.trim(c.head)+"\n"+tinymce.trim(e.content)+"\n"+tinymce.trim(c.foot)}}});tinymce.PluginManager.add("fullpage",tinymce.plugins.FullPagePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js new file mode 100755 index 00000000..23de7c5a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js @@ -0,0 +1,405 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var each = tinymce.each, Node = tinymce.html.Node; + + tinymce.create('tinymce.plugins.FullPagePlugin', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + // Register commands + ed.addCommand('mceFullPageProperties', function() { + ed.windowManager.open({ + file : url + '/fullpage.htm', + width : 430 + parseInt(ed.getLang('fullpage.delta_width', 0)), + height : 495 + parseInt(ed.getLang('fullpage.delta_height', 0)), + inline : 1 + }, { + plugin_url : url, + data : t._htmlToData() + }); + }); + + // Register buttons + ed.addButton('fullpage', {title : 'fullpage.desc', cmd : 'mceFullPageProperties'}); + + ed.onBeforeSetContent.add(t._setContent, t); + ed.onGetContent.add(t._getContent, t); + }, + + getInfo : function() { + return { + longname : 'Fullpage', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private plugin internal methods + + _htmlToData : function() { + var headerFragment = this._parseHeader(), data = {}, nodes, elm, matches, editor = this.editor; + + function getAttr(elm, name) { + var value = elm.attr(name); + + return value || ''; + }; + + // Default some values + data.fontface = editor.getParam("fullpage_default_fontface", ""); + data.fontsize = editor.getParam("fullpage_default_fontsize", ""); + + // Parse XML PI + elm = headerFragment.firstChild; + if (elm.type == 7) { + data.xml_pi = true; + matches = /encoding="([^"]+)"/.exec(elm.value); + if (matches) + data.docencoding = matches[1]; + } + + // Parse doctype + elm = headerFragment.getAll('#doctype')[0]; + if (elm) + data.doctype = '"; + + // Parse title element + elm = headerFragment.getAll('title')[0]; + if (elm && elm.firstChild) { + data.metatitle = elm.firstChild.value; + } + + // Parse meta elements + each(headerFragment.getAll('meta'), function(meta) { + var name = meta.attr('name'), httpEquiv = meta.attr('http-equiv'), matches; + + if (name) + data['meta' + name.toLowerCase()] = meta.attr('content'); + else if (httpEquiv == "Content-Type") { + matches = /charset\s*=\s*(.*)\s*/gi.exec(meta.attr('content')); + + if (matches) + data.docencoding = matches[1]; + } + }); + + // Parse html attribs + elm = headerFragment.getAll('html')[0]; + if (elm) + data.langcode = getAttr(elm, 'lang') || getAttr(elm, 'xml:lang'); + + // Parse stylesheet + elm = headerFragment.getAll('link')[0]; + if (elm && elm.attr('rel') == 'stylesheet') + data.stylesheet = elm.attr('href'); + + // Parse body parts + elm = headerFragment.getAll('body')[0]; + if (elm) { + data.langdir = getAttr(elm, 'dir'); + data.style = getAttr(elm, 'style'); + data.visited_color = getAttr(elm, 'vlink'); + data.link_color = getAttr(elm, 'link'); + data.active_color = getAttr(elm, 'alink'); + } + + return data; + }, + + _dataToHtml : function(data) { + var headerFragment, headElement, html, elm, value, dom = this.editor.dom; + + function setAttr(elm, name, value) { + elm.attr(name, value ? value : undefined); + }; + + function addHeadNode(node) { + if (headElement.firstChild) + headElement.insert(node, headElement.firstChild); + else + headElement.append(node); + }; + + headerFragment = this._parseHeader(); + headElement = headerFragment.getAll('head')[0]; + if (!headElement) { + elm = headerFragment.getAll('html')[0]; + headElement = new Node('head', 1); + + if (elm.firstChild) + elm.insert(headElement, elm.firstChild, true); + else + elm.append(headElement); + } + + // Add/update/remove XML-PI + elm = headerFragment.firstChild; + if (data.xml_pi) { + value = 'version="1.0"'; + + if (data.docencoding) + value += ' encoding="' + data.docencoding + '"'; + + if (elm.type != 7) { + elm = new Node('xml', 7); + headerFragment.insert(elm, headerFragment.firstChild, true); + } + + elm.value = value; + } else if (elm && elm.type == 7) + elm.remove(); + + // Add/update/remove doctype + elm = headerFragment.getAll('#doctype')[0]; + if (data.doctype) { + if (!elm) { + elm = new Node('#doctype', 10); + + if (data.xml_pi) + headerFragment.insert(elm, headerFragment.firstChild); + else + addHeadNode(elm); + } + + elm.value = data.doctype.substring(9, data.doctype.length - 1); + } else if (elm) + elm.remove(); + + // Add/update/remove title + elm = headerFragment.getAll('title')[0]; + if (data.metatitle) { + if (!elm) { + elm = new Node('title', 1); + elm.append(new Node('#text', 3)).value = data.metatitle; + addHeadNode(elm); + } + } + + // Add meta encoding + if (data.docencoding) { + elm = null; + each(headerFragment.getAll('meta'), function(meta) { + if (meta.attr('http-equiv') == 'Content-Type') + elm = meta; + }); + + if (!elm) { + elm = new Node('meta', 1); + elm.attr('http-equiv', 'Content-Type'); + elm.shortEnded = true; + addHeadNode(elm); + } + + elm.attr('content', 'text/html; charset=' + data.docencoding); + } + + // Add/update/remove meta + each('keywords,description,author,copyright,robots'.split(','), function(name) { + var nodes = headerFragment.getAll('meta'), i, meta, value = data['meta' + name]; + + for (i = 0; i < nodes.length; i++) { + meta = nodes[i]; + + if (meta.attr('name') == name) { + if (value) + meta.attr('content', value); + else + meta.remove(); + + return; + } + } + + if (value) { + elm = new Node('meta', 1); + elm.attr('name', name); + elm.attr('content', value); + elm.shortEnded = true; + + addHeadNode(elm); + } + }); + + // Add/update/delete link + elm = headerFragment.getAll('link')[0]; + if (elm && elm.attr('rel') == 'stylesheet') { + if (data.stylesheet) + elm.attr('href', data.stylesheet); + else + elm.remove(); + } else if (data.stylesheet) { + elm = new Node('link', 1); + elm.attr({ + rel : 'stylesheet', + text : 'text/css', + href : data.stylesheet + }); + elm.shortEnded = true; + + addHeadNode(elm); + } + + // Update body attributes + elm = headerFragment.getAll('body')[0]; + if (elm) { + setAttr(elm, 'dir', data.langdir); + setAttr(elm, 'style', data.style); + setAttr(elm, 'vlink', data.visited_color); + setAttr(elm, 'link', data.link_color); + setAttr(elm, 'alink', data.active_color); + + // Update iframe body as well + dom.setAttribs(this.editor.getBody(), { + style : data.style, + dir : data.dir, + vLink : data.visited_color, + link : data.link_color, + aLink : data.active_color + }); + } + + // Set html attributes + elm = headerFragment.getAll('html')[0]; + if (elm) { + setAttr(elm, 'lang', data.langcode); + setAttr(elm, 'xml:lang', data.langcode); + } + + // Serialize header fragment and crop away body part + html = new tinymce.html.Serializer({ + validate: false, + indent: true, + apply_source_formatting : true, + indent_before: 'head,html,body,meta,title,script,link,style', + indent_after: 'head,html,body,meta,title,script,link,style' + }).serialize(headerFragment); + + this.head = html.substring(0, html.indexOf('')); + }, + + _parseHeader : function() { + // Parse the contents with a DOM parser + return new tinymce.html.DomParser({ + validate: false, + root_name: '#document' + }).parse(this.head); + }, + + _setContent : function(ed, o) { + var self = this, startPos, endPos, content = o.content, headerFragment, styles = '', dom = self.editor.dom, elm; + + function low(s) { + return s.replace(/<\/?[A-Z]+/g, function(a) { + return a.toLowerCase(); + }) + }; + + // Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate + if (o.format == 'raw' && self.head) + return; + + if (o.source_view && ed.getParam('fullpage_hide_in_source_view')) + return; + + // Parse out head, body and footer + content = content.replace(/<(\/?)BODY/gi, '<$1body'); + startPos = content.indexOf('', startPos); + self.head = low(content.substring(0, startPos + 1)); + + endPos = content.indexOf('\n'; + + header += editor.getParam('fullpage_default_doctype', ''); + header += '\n\n\n'; + + if (value = editor.getParam('fullpage_default_title')) + header += '' + value + '\n'; + + if (value = editor.getParam('fullpage_default_encoding')) + header += '\n'; + + if (value = editor.getParam('fullpage_default_font_family')) + styles += 'font-family: ' + value + ';'; + + if (value = editor.getParam('fullpage_default_font_size')) + styles += 'font-size: ' + value + ';'; + + if (value = editor.getParam('fullpage_default_text_color')) + styles += 'color: ' + value + ';'; + + header += '\n\n'; + + return header; + }, + + _getContent : function(ed, o) { + var self = this; + + if (!o.source_view || !ed.getParam('fullpage_hide_in_source_view')) + o.content = tinymce.trim(self.head) + '\n' + tinymce.trim(o.content) + '\n' + tinymce.trim(self.foot); + } + }); + + // Register plugin + tinymce.PluginManager.add('fullpage', tinymce.plugins.FullPagePlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm new file mode 100755 index 00000000..14ab8652 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/fullpage.htm @@ -0,0 +1,259 @@ + + + + {#fullpage_dlg.title} + + + + + + + +
    + + +
    +
    +
    + {#fullpage_dlg.meta_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
     
     
     
     
      + +
    +
    + +
    + {#fullpage_dlg.langprops} + + + + + + + + + + + + + + + + + + + + + + +
    + +
      + +
     
    + +
     
    +
    +
    + +
    +
    + {#fullpage_dlg.appearance_textprops} + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    +
    + +
    + {#fullpage_dlg.appearance_bgprops} + + + + + + + + + + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    + +
    + {#fullpage_dlg.appearance_marginprops} + + + + + + + + + + + + + + +
    +
    + +
    + {#fullpage_dlg.appearance_linkprops} + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
     
    +
    + + + + + +
     
    +
      
    +
    + +
    + {#fullpage_dlg.appearance_style} + + + + + + + + + + +
    + + + + +
     
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js new file mode 100644 index 00000000..3f672ad3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/js/fullpage.js @@ -0,0 +1,232 @@ +/** + * fullpage.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinyMCEPopup.requireLangPack(); + + var defaultDocTypes = + 'XHTML 1.0 Transitional=,' + + 'XHTML 1.0 Frameset=,' + + 'XHTML 1.0 Strict=,' + + 'XHTML 1.1=,' + + 'HTML 4.01 Transitional=,' + + 'HTML 4.01 Strict=,' + + 'HTML 4.01 Frameset='; + + var defaultEncodings = + 'Western european (iso-8859-1)=iso-8859-1,' + + 'Central European (iso-8859-2)=iso-8859-2,' + + 'Unicode (UTF-8)=utf-8,' + + 'Chinese traditional (Big5)=big5,' + + 'Cyrillic (iso-8859-5)=iso-8859-5,' + + 'Japanese (iso-2022-jp)=iso-2022-jp,' + + 'Greek (iso-8859-7)=iso-8859-7,' + + 'Korean (iso-2022-kr)=iso-2022-kr,' + + 'ASCII (us-ascii)=us-ascii'; + + var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings'; + var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px'; + + function setVal(id, value) { + var elm = document.getElementById(id); + + if (elm) { + value = value || ''; + + if (elm.nodeName == "SELECT") + selectByValue(document.forms[0], id, value); + else if (elm.type == "checkbox") + elm.checked = !!value; + else + elm.value = value; + } + }; + + function getVal(id) { + var elm = document.getElementById(id); + + if (elm.nodeName == "SELECT") + return elm.options[elm.selectedIndex].value; + + if (elm.type == "checkbox") + return elm.checked; + + return elm.value; + }; + + window.FullPageDialog = { + changedStyle : function() { + var val, styles = tinyMCEPopup.editor.dom.parseStyle(getVal('style')); + + setVal('fontface', styles['font-face']); + setVal('fontsize', styles['font-size']); + setVal('textcolor', styles['color']); + + if (val = styles['background-image']) + setVal('bgimage', val.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1")); + else + setVal('bgimage', ''); + + setVal('bgcolor', styles['background-color']); + + // Reset margin form elements + setVal('topmargin', ''); + setVal('rightmargin', ''); + setVal('bottommargin', ''); + setVal('leftmargin', ''); + + // Expand margin + if (val = styles['margin']) { + val = val.split(' '); + styles['margin-top'] = val[0] || ''; + styles['margin-right'] = val[1] || val[0] || ''; + styles['margin-bottom'] = val[2] || val[0] || ''; + styles['margin-left'] = val[3] || val[0] || ''; + } + + if (val = styles['margin-top']) + setVal('topmargin', val.replace(/px/, '')); + + if (val = styles['margin-right']) + setVal('rightmargin', val.replace(/px/, '')); + + if (val = styles['margin-bottom']) + setVal('bottommargin', val.replace(/px/, '')); + + if (val = styles['margin-left']) + setVal('leftmargin', val.replace(/px/, '')); + + updateColor('bgcolor_pick', 'bgcolor'); + updateColor('textcolor_pick', 'textcolor'); + }, + + changedStyleProp : function() { + var val, dom = tinyMCEPopup.editor.dom, styles = dom.parseStyle(getVal('style')); + + styles['font-face'] = getVal('fontface'); + styles['font-size'] = getVal('fontsize'); + styles['color'] = getVal('textcolor'); + styles['background-color'] = getVal('bgcolor'); + + if (val = getVal('bgimage')) + styles['background-image'] = "url('" + val + "')"; + else + styles['background-image'] = ''; + + delete styles['margin']; + + if (val = getVal('topmargin')) + styles['margin-top'] = val + "px"; + else + styles['margin-top'] = ''; + + if (val = getVal('rightmargin')) + styles['margin-right'] = val + "px"; + else + styles['margin-right'] = ''; + + if (val = getVal('bottommargin')) + styles['margin-bottom'] = val + "px"; + else + styles['margin-bottom'] = ''; + + if (val = getVal('leftmargin')) + styles['margin-left'] = val + "px"; + else + styles['margin-left'] = ''; + + // Serialize, parse and reserialize this will compress redundant styles + setVal('style', dom.serializeStyle(dom.parseStyle(dom.serializeStyle(styles)))); + this.changedStyle(); + }, + + update : function() { + var data = {}; + + tinymce.each(tinyMCEPopup.dom.select('select,input,textarea'), function(node) { + data[node.id] = getVal(node.id); + }); + + tinyMCEPopup.editor.plugins.fullpage._dataToHtml(data); + tinyMCEPopup.close(); + } + }; + + function init() { + var form = document.forms[0], i, item, list, editor = tinyMCEPopup.editor; + + // Setup doctype select box + list = editor.getParam("fullpage_doctypes", defaultDocTypes).split(','); + for (i = 0; i < list.length; i++) { + item = list[i].split('='); + + if (item.length > 1) + addSelectValue(form, 'doctype', item[0], item[1]); + } + + // Setup fonts select box + list = editor.getParam("fullpage_fonts", defaultFontNames).split(';'); + for (i = 0; i < list.length; i++) { + item = list[i].split('='); + + if (item.length > 1) + addSelectValue(form, 'fontface', item[0], item[1]); + } + + // Setup fontsize select box + list = editor.getParam("fullpage_fontsizes", defaultFontSizes).split(','); + for (i = 0; i < list.length; i++) + addSelectValue(form, 'fontsize', list[i], list[i]); + + // Setup encodings select box + list = editor.getParam("fullpage_encodings", defaultEncodings).split(','); + for (i = 0; i < list.length; i++) { + item = list[i].split('='); + + if (item.length > 1) + addSelectValue(form, 'docencoding', item[0], item[1]); + } + + // Setup color pickers + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color'); + document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color'); + document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color'); + document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor'); + document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage'); + document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage'); + + // Resize some elements + if (isVisible('stylesheetbrowser')) + document.getElementById('stylesheet').style.width = '220px'; + + if (isVisible('link_href_browser')) + document.getElementById('element_link_href').style.width = '230px'; + + if (isVisible('bgimage_browser')) + document.getElementById('bgimage').style.width = '210px'; + + // Update form + tinymce.each(tinyMCEPopup.getWindowArg('data'), function(value, key) { + setVal(key, value); + }); + + FullPageDialog.changedStyle(); + + // Update colors + updateColor('textcolor_pick', 'textcolor'); + updateColor('bgcolor_pick', 'bgcolor'); + updateColor('visited_color_pick', 'visited_color'); + updateColor('active_color_pick', 'active_color'); + updateColor('link_color_pick', 'link_color'); + }; + + tinyMCEPopup.onInit.add(init); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js new file mode 100644 index 00000000..ecdff9ed --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.fullpage_dlg',{title:"Dokument-Eigenschaften","meta_tab":"Allgemein","appearance_tab":"Aussehen","advanced_tab":"Erweitert","meta_props":"Meta-Information",langprops:"Sprache und Codierung","meta_title":"Titel","meta_keywords":"Keywords","meta_description":"Beschreibung","meta_robots":"Robots",doctypes:"DocType",langcode:"Sprachcode",langdir:"Sprachrichtung",ltr:"Links nach Rechts",rtl:"Rechts nach Links","xml_pi":"XML Deklaration",encoding:"Zeichencodierung","appearance_bgprops":"Hintergrund-Eigenschaften","appearance_marginprops":"Abst\u00e4nde des Body","appearance_linkprops":"Linkfarben","appearance_textprops":"Text-Eigenschaften",bgcolor:"Hintergrundfarbe",bgimage:"Hintergrundbild","left_margin":"Linker Abstand","right_margin":"Rechter Abstand","top_margin":"Oberer Abstand","bottom_margin":"Unterer Abstand","text_color":"Textfarbe","font_size":"Schriftgr\u00f6\u00dfe","font_face":"Schriftart","link_color":"Linkfarbe","hover_color":"Hover-Farbe","visited_color":"Visited-Farbe","active_color":"Active-Farbe",textcolor:"Farbe",fontsize:"Schriftgr\u00f6\u00dfe",fontface:"Schriftart","meta_index_follow":"Indizieren und den Links folgen","meta_index_nofollow":"Indizieren, aber den Links nicht folgen","meta_noindex_follow":"Nicht indizieren, aber den Links folgen","meta_noindex_nofollow":"Nicht indizieren und auch nicht den Links folgen","appearance_style":"CSS-Stylesheet und Stileigenschaften",stylesheet:"CSS-Stylesheet",style:"CSS-Stil",author:"Autor",copyright:"Copyright",add:"Neues Element hinzuf\u00fcgen",remove:"Ausgew\u00e4hltes Element entfernen",moveup:"Ausgew\u00e4hltes Element nach oben bewegen",movedown:"Ausgew\u00e4hltes Element nach unten bewegen","head_elements":"\u00dcberschriftenelemente",info:"Information","add_title":"Titel-Element","add_meta":"Meta-Element","add_script":"Script-Element","add_style":"Style-Element","add_link":"Link-Element","add_base":"Base-Element","add_comment":"HTML-Kommentar","title_element":"Titel-Element","script_element":"Script-Element","style_element":"Style-Element","base_element":"Base-Element","link_element":"Link-Element","meta_element":"Meta_Element","comment_element":"Kommentar",src:"Src",language:"Sprache",href:"Href",target:"Ziel",type:"Typ",charset:"Zeichensatz",defer:"Defer",media:"Media",properties:"Eigenschaften",name:"Name",value:"Wert",content:"Inhalt",rel:"Rel",rev:"Rev",hreflang:"Href lang","general_props":"Allgemein","advanced_props":"Erweitert"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js new file mode 100644 index 00000000..516edc74 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.fullpage_dlg',{title:"Document Properties","meta_tab":"General","appearance_tab":"Appearance","advanced_tab":"Advanced","meta_props":"Meta Information",langprops:"Language and Encoding","meta_title":"Title","meta_keywords":"Keywords","meta_description":"Description","meta_robots":"Robots",doctypes:"Doctype",langcode:"Language Code",langdir:"Language Direction",ltr:"Left to Right",rtl:"Right to Left","xml_pi":"XML Declaration",encoding:"Character Encoding","appearance_bgprops":"Background Properties","appearance_marginprops":"Body Margins","appearance_linkprops":"Link Colors","appearance_textprops":"Text Properties",bgcolor:"Background Color",bgimage:"Background Image","left_margin":"Left Margin","right_margin":"Right Margin","top_margin":"Top Margin","bottom_margin":"Bottom Margin","text_color":"Text Color","font_size":"Font Size","font_face":"Font Face","link_color":"Link Color","hover_color":"Hover Color","visited_color":"Visited Color","active_color":"Active Color",textcolor:"Color",fontsize:"Font Size",fontface:"Font Family","meta_index_follow":"Index and Follow the Links","meta_index_nofollow":"Index and Don\'t Follow the Links","meta_noindex_follow":"Do Not Index but Follow the Links","meta_noindex_nofollow":"Do Not Index and Don\'t Follow the Links","appearance_style":"Stylesheet and Style Properties",stylesheet:"Stylesheet",style:"Style",author:"Author",copyright:"Copyright",add:"Add New Element",remove:"Remove Selected Element",moveup:"Move Selected Element Up",movedown:"Move Selected Element Down","head_elements":"Head Elements",info:"Information","add_title":"Title Element","add_meta":"Meta Element","add_script":"Script Element","add_style":"Style Element","add_link":"Link Element","add_base":"Base Element","add_comment":"Comment Node","title_element":"Title Element","script_element":"Script Element","style_element":"Style Element","base_element":"Base Element","link_element":"Link Element","meta_element":"Meta Element","comment_element":"Comment",src:"Source",language:"Language",href:"HREF",target:"Target",type:"Type",charset:"Charset",defer:"Defer",media:"Media",properties:"Properties",name:"Name",value:"Value",content:"Content",rel:"Rel",rev:"Rev",hreflang:"HREF Lang","general_props":"General","advanced_props":"Advanced"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js new file mode 100644 index 00000000..e9f911e3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.fullpage_dlg',{title:"Dokumentum tulajdons\u00e1gai","meta_tab":"\u00c1ltal\u00e1nos","appearance_tab":"Megjelen\u00e9s","advanced_tab":"Halad\u00f3","meta_props":"Meta inform\u00e1ci\u00f3",langprops:"Nyelv \u00e9s k\u00f3dol\u00e1s","meta_title":"C\u00edm","meta_keywords":"Kulcsszavak","meta_description":"Le\u00edr\u00e1s","meta_robots":"Robotok",doctypes:"Dokumentum t\u00edpus",langcode:"Nyelvk\u00f3d",langdir:"\u00cdr\u00e1s ir\u00e1nya",ltr:"Balr\u00f3l jobra",rtl:"Jobbr\u00f3l balra","xml_pi":"XML deklar\u00e1ci\u00f3",encoding:"Karakterk\u00f3dol\u00e1s","appearance_bgprops":"H\u00e1tt\u00e9r tulajdons\u00e1gai","appearance_marginprops":"Body marg\u00f3k","appearance_linkprops":"Link sz\u00ednek","appearance_textprops":"Sz\u00f6veg tulajdons\u00e1gai",bgcolor:"H\u00e1tt\u00e9rsz\u00edn",bgimage:"H\u00e1tt\u00e9rk\u00e9p","left_margin":"Bal marg\u00f3","right_margin":"Jobb marg\u00f3","top_margin":"Fels\u0151 marg\u00f3","bottom_margin":"Als\u00f3 marg\u00f3","text_color":"Sz\u00f6vegsz\u00edn","font_size":"Bet\u0171m\u00e9ret","font_face":"Bet\u0171t\u00edpus","link_color":"Link sz\u00edn","hover_color":"Sz\u00edn eg\u00e9r fel\u00e9vitelekor","visited_color":"Sz\u00edn, ha l\u00e1togatott","active_color":"Akt\u00edv sz\u00edn",textcolor:"Sz\u00edn",fontsize:"Bet\u0171m\u00e9ret",fontface:"Bet\u0171 csal\u00e1d","meta_index_follow":"Linkek indexel\u00e9se \u00e9s k\u00f6vet\u00e9se","meta_index_nofollow":"Indexel, de nem k\u00f6veti a linkeket","meta_noindex_follow":"Nincs indexel\u00e9s, de van link-k\u00f6vet\u00e9s","meta_noindex_nofollow":"Nem indexel \u00e9s nem k\u00f6veti a linkeket","appearance_style":"Stylesheet \u00e9s style tulajdons\u00e1gok",stylesheet:"St\u00edluslap",style:"St\u00edlus",author:"Szerz\u0151",copyright:"Copyright",add:"\u00daj elem hozz\u00e1ad\u00e1sa",remove:"Kijel\u00f6lt elem t\u00f6rl\u00e9se",moveup:"Kijel\u00f6lt elem felfel\u00e9 mozgat\u00e1sa",movedown:"Kijel\u00f6lt elem lefel\u00e9 mozgat\u00e1sa","head_elements":"Fej elemek",info:"Inform\u00e1ci\u00f3","add_title":"C\u00edm elem","add_meta":"Meta elem","add_script":"Script elem","add_style":"Style elem","add_link":"Link elem","add_base":"Base elem","add_comment":"Comment elem","title_element":"Title elem","script_element":"Script elem","style_element":"Style elem","base_element":"Base elem","link_element":"Link elem","meta_element":"Meta elem","comment_element":"Megjegyz\u00e9s",src:"Forr\u00e1s",language:"Nyelv",href:"HREF",target:"C\u00e9l",type:"T\u00edpus",charset:"Charset",defer:"Defer",media:"M\u00e9dia",properties:"Tulajdons\u00e1gok",name:"N\u00e9v",value:"\u00c9rt\u00e9k",content:"Tartalom",rel:"Rel",rev:"Rev",hreflang:"HREF nyelv","general_props":"\u00c1ltal\u00e1nos","advanced_props":"Halad\u00f3"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js new file mode 100644 index 00000000..65643630 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullpage/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.fullpage_dlg',{title:"\u30da\u30fc\u30b8\u306e\u5c5e\u6027","meta_tab":"\u4e00\u822c","appearance_tab":"\u8868\u793a","advanced_tab":"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","meta_props":"\u30e1\u30bf\u60c5\u5831",langprops:"\u8a00\u8a9e\u3068\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0","meta_title":"\u30bf\u30a4\u30c8\u30eb","meta_keywords":"\u30ad\u30fc\u30ef\u30fc\u30c9","meta_description":"\u8aac\u660e","meta_robots":"\u691c\u7d22\u30ed\u30dc\u30c3\u30c8\u306e\u5236\u5fa1",doctypes:"\u6587\u66f8\u578b",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411",ltr:"\u5de6\u304b\u3089\u53f3",rtl:"\u53f3\u304b\u3089\u5de6","xml_pi":"XML\u5ba3\u8a00",encoding:"\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0","appearance_bgprops":"\u80cc\u666f\u306e\u5c5e\u6027","appearance_marginprops":"Body\u306e\u4f59\u767d","appearance_linkprops":"\u30ea\u30f3\u30af\u306e\u8272","appearance_textprops":"\u6587\u5b57\u306e\u5c5e\u6027",bgcolor:"\u80cc\u666f\u306e\u8272",bgimage:"\u80cc\u666f\u306e\u753b\u50cf","left_margin":"\u5de6\u306e\u4f59\u767d","right_margin":"\u53f3\u306e\u4f59\u767d","top_margin":"\u4e0a\u306e\u4f59\u767d","bottom_margin":"\u4e0b\u306e\u4f59\u767d","text_color":"\u6587\u5b57\u306e\u8272","font_size":"\u6587\u5b57\u306e\u5927\u304d\u3055","font_face":"\u30d5\u30a9\u30f3\u30c8","link_color":"\u30ea\u30f3\u30af\u306e\u8272","hover_color":"\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u304c\u3042\u308b\u30ea\u30f3\u30af\u306e\u8272(hover)","visited_color":"\u65e2\u306b\u8aad\u3093\u3060\u30ea\u30f3\u30af\u306e\u8272(visited)","active_color":"\u30af\u30ea\u30c3\u30af\u3057\u305f\u77ac\u9593\u306e\u30ea\u30f3\u30af\u306e\u8272(active)",textcolor:"\u8272",fontsize:"\u6587\u5b57\u306e\u5927\u304d\u3055",fontface:"\u30d5\u30a9\u30f3\u30c8","meta_index_follow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u3066\u30ea\u30f3\u30af\u3092\u305f\u3069\u308b","meta_index_nofollow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u3066\u30ea\u30f3\u30af\u306f\u305f\u3069\u3089\u306a\u3044","meta_noindex_follow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u306a\u3044\u304c\u30ea\u30f3\u30af\u3092\u305f\u3069\u308b","meta_noindex_nofollow":"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u4f7f\u7528\u3057\u306a\u3044\u3067\u30ea\u30f3\u30af\u3082\u305f\u3069\u3089\u306a\u3044","appearance_style":"\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3068\u30b9\u30bf\u30a4\u30eb\u306e\u5c5e\u6027",stylesheet:"\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8",style:"\u30b9\u30bf\u30a4\u30eb",author:"\u4f5c\u6210\u8005",copyright:"\u8457\u4f5c\u6a29",add:"\u65b0\u3057\u304f\u8981\u7d20\u3092\u8ffd\u52a0",remove:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u524a\u9664",moveup:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u4e0a\u306b\u79fb\u52d5",movedown:"\u9078\u629e\u3057\u305f\u8981\u7d20\u3092\u4e0b\u306b\u79fb\u52d5","head_elements":"Head\u8981\u7d20",info:"\u60c5\u5831","add_title":"Title\u8981\u7d20","add_meta":"Meta\u8981\u7d20","add_script":"Script\u8981\u7d20","add_style":"Style\u8981\u7d20","add_link":"Link\u8981\u7d20","add_base":"Base\u8981\u7d20","add_comment":"Comment\u30ce\u30fc\u30c9","title_element":"Title\u8981\u7d20","script_element":"Script\u8981\u7d20","style_element":"Style\u8981\u7d20","base_element":"Base\u8981\u7d20","link_element":"Link\u8981\u7d20","meta_element":"Meta\u8981\u7d20","comment_element":"\u30b3\u30e1\u30f3\u30c8",src:"src",language:"\u8a00\u8a9e",href:"Href",target:"Target",type:"Type",charset:"Charset",defer:"Defer",media:"Media",properties:"Properties",name:"Name",value:"Value",content:"Content",rel:"Rel",rev:"Rev",hreflang:"Href\u306e\u8a00\u8a9e","general_props":"\u4e00\u822c","advanced_props":"\u8a73\u7d30\u306a\u8a2d\u5b9a"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js new file mode 100755 index 00000000..a2eb0348 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js @@ -0,0 +1 @@ +(function(){var a=tinymce.DOM;tinymce.create("tinymce.plugins.FullScreenPlugin",{init:function(d,e){var f=this,g={},c,b;f.editor=d;d.addCommand("mceFullScreen",function(){var i,j=a.doc.documentElement;if(d.getParam("fullscreen_is_enabled")){if(d.getParam("fullscreen_new_window")){closeFullscreen()}else{a.win.setTimeout(function(){tinymce.dom.Event.remove(a.win,"resize",f.resizeFunc);tinyMCE.get(d.getParam("fullscreen_editor_id")).setContent(d.getContent());tinyMCE.remove(d);a.remove("mce_fullscreen_container");j.style.overflow=d.getParam("fullscreen_html_overflow");a.setStyle(a.doc.body,"overflow",d.getParam("fullscreen_overflow"));a.win.scrollTo(d.getParam("fullscreen_scrollx"),d.getParam("fullscreen_scrolly"));tinyMCE.settings=tinyMCE.oldSettings},10)}return}if(d.getParam("fullscreen_new_window")){i=a.win.open(e+"/fullscreen.htm","mceFullScreenPopup","fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width="+screen.availWidth+",height="+screen.availHeight);try{i.resizeTo(screen.availWidth,screen.availHeight)}catch(h){}}else{tinyMCE.oldSettings=tinyMCE.settings;g.fullscreen_overflow=a.getStyle(a.doc.body,"overflow",1)||"auto";g.fullscreen_html_overflow=a.getStyle(j,"overflow",1);c=a.getViewPort();g.fullscreen_scrollx=c.x;g.fullscreen_scrolly=c.y;if(tinymce.isOpera&&g.fullscreen_overflow=="visible"){g.fullscreen_overflow="auto"}if(tinymce.isIE&&g.fullscreen_overflow=="scroll"){g.fullscreen_overflow="auto"}if(tinymce.isIE&&(g.fullscreen_html_overflow=="visible"||g.fullscreen_html_overflow=="scroll")){g.fullscreen_html_overflow="auto"}if(g.fullscreen_overflow=="0px"){g.fullscreen_overflow=""}a.setStyle(a.doc.body,"overflow","hidden");j.style.overflow="hidden";c=a.getViewPort();a.win.scrollTo(0,0);if(tinymce.isIE){c.h-=1}if(tinymce.isIE6||document.compatMode=="BackCompat"){b="absolute;top:"+c.y}else{b="fixed;top:0"}n=a.add(a.doc.body,"div",{id:"mce_fullscreen_container",style:"position:"+b+";left:0;width:"+c.w+"px;height:"+c.h+"px;z-index:200000;"});a.add(n,"div",{id:"mce_fullscreen"});tinymce.each(d.settings,function(k,l){g[l]=k});g.id="mce_fullscreen";g.width=n.clientWidth;g.height=n.clientHeight-15;g.fullscreen_is_enabled=true;g.fullscreen_editor_id=d.id;g.theme_advanced_resizing=false;g.save_onsavecallback=function(){d.setContent(tinyMCE.get(g.id).getContent());d.execCommand("mceSave")};tinymce.each(d.getParam("fullscreen_settings"),function(m,l){g[l]=m});if(g.theme_advanced_toolbar_location==="external"){g.theme_advanced_toolbar_location="top"}f.fullscreenEditor=new tinymce.Editor("mce_fullscreen",g);f.fullscreenEditor.onInit.add(function(){f.fullscreenEditor.setContent(d.getContent());f.fullscreenEditor.focus()});f.fullscreenEditor.render();f.fullscreenElement=new tinymce.dom.Element("mce_fullscreen_container");f.fullscreenElement.update();f.resizeFunc=tinymce.dom.Event.add(a.win,"resize",function(){var o=tinymce.DOM.getViewPort(),l=f.fullscreenEditor,k,m;k=l.dom.getSize(l.getContainer().getElementsByTagName("table")[0]);m=l.dom.getSize(l.getContainer().getElementsByTagName("iframe")[0]);l.theme.resizeTo(o.w-k.w+m.w,o.h-k.h+m.h)})}});d.addButton("fullscreen",{title:"fullscreen.desc",cmd:"mceFullScreen"});d.onNodeChange.add(function(i,h){h.setActive("fullscreen",i.getParam("fullscreen_is_enabled"))})},getInfo:function(){return{longname:"Fullscreen",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("fullscreen",tinymce.plugins.FullScreenPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js new file mode 100755 index 00000000..524b487a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js @@ -0,0 +1,159 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var DOM = tinymce.DOM; + + tinymce.create('tinymce.plugins.FullScreenPlugin', { + init : function(ed, url) { + var t = this, s = {}, vp, posCss; + + t.editor = ed; + + // Register commands + ed.addCommand('mceFullScreen', function() { + var win, de = DOM.doc.documentElement; + + if (ed.getParam('fullscreen_is_enabled')) { + if (ed.getParam('fullscreen_new_window')) + closeFullscreen(); // Call to close in new window + else { + DOM.win.setTimeout(function() { + tinymce.dom.Event.remove(DOM.win, 'resize', t.resizeFunc); + tinyMCE.get(ed.getParam('fullscreen_editor_id')).setContent(ed.getContent()); + tinyMCE.remove(ed); + DOM.remove('mce_fullscreen_container'); + de.style.overflow = ed.getParam('fullscreen_html_overflow'); + DOM.setStyle(DOM.doc.body, 'overflow', ed.getParam('fullscreen_overflow')); + DOM.win.scrollTo(ed.getParam('fullscreen_scrollx'), ed.getParam('fullscreen_scrolly')); + tinyMCE.settings = tinyMCE.oldSettings; // Restore old settings + }, 10); + } + + return; + } + + if (ed.getParam('fullscreen_new_window')) { + win = DOM.win.open(url + "/fullscreen.htm", "mceFullScreenPopup", "fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width=" + screen.availWidth + ",height=" + screen.availHeight); + try { + win.resizeTo(screen.availWidth, screen.availHeight); + } catch (e) { + // Ignore + } + } else { + tinyMCE.oldSettings = tinyMCE.settings; // Store old settings + s.fullscreen_overflow = DOM.getStyle(DOM.doc.body, 'overflow', 1) || 'auto'; + s.fullscreen_html_overflow = DOM.getStyle(de, 'overflow', 1); + vp = DOM.getViewPort(); + s.fullscreen_scrollx = vp.x; + s.fullscreen_scrolly = vp.y; + + // Fixes an Opera bug where the scrollbars doesn't reappear + if (tinymce.isOpera && s.fullscreen_overflow == 'visible') + s.fullscreen_overflow = 'auto'; + + // Fixes an IE bug where horizontal scrollbars would appear + if (tinymce.isIE && s.fullscreen_overflow == 'scroll') + s.fullscreen_overflow = 'auto'; + + // Fixes an IE bug where the scrollbars doesn't reappear + if (tinymce.isIE && (s.fullscreen_html_overflow == 'visible' || s.fullscreen_html_overflow == 'scroll')) + s.fullscreen_html_overflow = 'auto'; + + if (s.fullscreen_overflow == '0px') + s.fullscreen_overflow = ''; + + DOM.setStyle(DOM.doc.body, 'overflow', 'hidden'); + de.style.overflow = 'hidden'; //Fix for IE6/7 + vp = DOM.getViewPort(); + DOM.win.scrollTo(0, 0); + + if (tinymce.isIE) + vp.h -= 1; + + // Use fixed position if it exists + if (tinymce.isIE6 || document.compatMode == 'BackCompat') + posCss = 'absolute;top:' + vp.y; + else + posCss = 'fixed;top:0'; + + n = DOM.add(DOM.doc.body, 'div', { + id : 'mce_fullscreen_container', + style : 'position:' + posCss + ';left:0;width:' + vp.w + 'px;height:' + vp.h + 'px;z-index:200000;'}); + DOM.add(n, 'div', {id : 'mce_fullscreen'}); + + tinymce.each(ed.settings, function(v, n) { + s[n] = v; + }); + + s.id = 'mce_fullscreen'; + s.width = n.clientWidth; + s.height = n.clientHeight - 15; + s.fullscreen_is_enabled = true; + s.fullscreen_editor_id = ed.id; + s.theme_advanced_resizing = false; + s.save_onsavecallback = function() { + ed.setContent(tinyMCE.get(s.id).getContent()); + ed.execCommand('mceSave'); + }; + + tinymce.each(ed.getParam('fullscreen_settings'), function(v, k) { + s[k] = v; + }); + + if (s.theme_advanced_toolbar_location === 'external') + s.theme_advanced_toolbar_location = 'top'; + + t.fullscreenEditor = new tinymce.Editor('mce_fullscreen', s); + t.fullscreenEditor.onInit.add(function() { + t.fullscreenEditor.setContent(ed.getContent()); + t.fullscreenEditor.focus(); + }); + + t.fullscreenEditor.render(); + + t.fullscreenElement = new tinymce.dom.Element('mce_fullscreen_container'); + t.fullscreenElement.update(); + //document.body.overflow = 'hidden'; + + t.resizeFunc = tinymce.dom.Event.add(DOM.win, 'resize', function() { + var vp = tinymce.DOM.getViewPort(), fed = t.fullscreenEditor, outerSize, innerSize; + + // Get outer/inner size to get a delta size that can be used to calc the new iframe size + outerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('table')[0]); + innerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('iframe')[0]); + + fed.theme.resizeTo(vp.w - outerSize.w + innerSize.w, vp.h - outerSize.h + innerSize.h); + }); + } + }); + + // Register buttons + ed.addButton('fullscreen', {title : 'fullscreen.desc', cmd : 'mceFullScreen'}); + + ed.onNodeChange.add(function(ed, cm) { + cm.setActive('fullscreen', ed.getParam('fullscreen_is_enabled')); + }); + }, + + getInfo : function() { + return { + longname : 'Fullscreen', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('fullscreen', tinymce.plugins.FullScreenPlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm new file mode 100755 index 00000000..ffe528e4 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/fullscreen/fullscreen.htm @@ -0,0 +1,110 @@ + + + + + + + + + +
    + +
    + + + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js new file mode 100755 index 00000000..e9cba106 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js new file mode 100755 index 00000000..1b2bb984 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js @@ -0,0 +1,54 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.IESpell', { + init : function(ed, url) { + var t = this, sp; + + if (!tinymce.isIE) + return; + + t.editor = ed; + + // Register commands + ed.addCommand('mceIESpell', function() { + try { + sp = new ActiveXObject("ieSpell.ieSpellExtension"); + sp.CheckDocumentNode(ed.getDoc().documentElement); + } catch (e) { + if (e.number == -2146827859) { + ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) { + if (s) + window.open('http://www.iespell.com/download.php', 'ieSpellDownload', ''); + }); + } else + ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number); + } + }); + + // Register buttons + ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'}); + }, + + getInfo : function() { + return { + longname : 'IESpell (IE Only)', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js new file mode 100755 index 00000000..8bb96f9c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin.js @@ -0,0 +1 @@ +(function(){var d=tinymce.DOM,b=tinymce.dom.Element,a=tinymce.dom.Event,e=tinymce.each,c=tinymce.is;tinymce.create("tinymce.plugins.InlinePopups",{init:function(f,g){f.onBeforeRenderUI.add(function(){f.windowManager=new tinymce.InlineWindowManager(f);d.loadCSS(g+"/skins/"+(f.settings.inlinepopups_skin||"clearlooks2")+"/window.css")})},getInfo:function(){return{longname:"InlinePopups",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.create("tinymce.InlineWindowManager:tinymce.WindowManager",{InlineWindowManager:function(f){var g=this;g.parent(f);g.zIndex=300000;g.count=0;g.windows={}},open:function(s,j){var z=this,i,k="",r=z.editor,g=0,v=0,h,m,o,q,l,x,y,n;s=s||{};j=j||{};if(!s.inline){return z.parent(s,j)}n=z._frontWindow();if(n&&d.get(n.id+"_ifr")){n.focussedElement=d.get(n.id+"_ifr").contentWindow.document.activeElement}if(!s.type){z.bookmark=r.selection.getBookmark(1)}i=d.uniqueId();h=d.getViewPort();s.width=parseInt(s.width||320);s.height=parseInt(s.height||240)+(tinymce.isIE?8:0);s.min_width=parseInt(s.min_width||150);s.min_height=parseInt(s.min_height||100);s.max_width=parseInt(s.max_width||2000);s.max_height=parseInt(s.max_height||2000);s.left=s.left||Math.round(Math.max(h.x,h.x+(h.w/2)-(s.width/2)));s.top=s.top||Math.round(Math.max(h.y,h.y+(h.h/2)-(s.height/2)));s.movable=s.resizable=true;j.mce_width=s.width;j.mce_height=s.height;j.mce_inline=true;j.mce_window_id=i;j.mce_auto_focus=s.auto_focus;z.features=s;z.params=j;z.onOpen.dispatch(z,s,j);if(s.type){k+=" mceModal";if(s.type){k+=" mce"+s.type.substring(0,1).toUpperCase()+s.type.substring(1)}s.resizable=false}if(s.statusbar){k+=" mceStatusbar"}if(s.resizable){k+=" mceResizable"}if(s.minimizable){k+=" mceMinimizable"}if(s.maximizable){k+=" mceMaximizable"}if(s.movable){k+=" mceMovable"}z._addAll(d.doc.body,["div",{id:i,role:"dialog","aria-labelledby":s.type?i+"_content":i+"_title","class":(r.settings.inlinepopups_skin||"clearlooks2")+(tinymce.isIE&&window.getSelection?" ie9":""),style:"width:100px;height:100px"},["div",{id:i+"_wrapper","class":"mceWrapper"+k},["div",{id:i+"_top","class":"mceTop"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_title"},s.title||""]],["div",{id:i+"_middle","class":"mceMiddle"},["div",{id:i+"_left","class":"mceLeft",tabindex:"0"}],["span",{id:i+"_content"}],["div",{id:i+"_right","class":"mceRight",tabindex:"0"}]],["div",{id:i+"_bottom","class":"mceBottom"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_status"},"Content"]],["a",{"class":"mceMove",tabindex:"-1",href:"javascript:;"}],["a",{"class":"mceMin",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMax",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMed",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceClose",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{id:i+"_resize_n","class":"mceResize mceResizeN",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_s","class":"mceResize mceResizeS",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_w","class":"mceResize mceResizeW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_e","class":"mceResize mceResizeE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_nw","class":"mceResize mceResizeNW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_ne","class":"mceResize mceResizeNE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_sw","class":"mceResize mceResizeSW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_se","class":"mceResize mceResizeSE",tabindex:"-1",href:"javascript:;"}]]]);d.setStyles(i,{top:-10000,left:-10000});if(tinymce.isGecko){d.setStyle(i,"overflow","auto")}if(!s.type){g+=d.get(i+"_left").clientWidth;g+=d.get(i+"_right").clientWidth;v+=d.get(i+"_top").clientHeight;v+=d.get(i+"_bottom").clientHeight}d.setStyles(i,{top:s.top,left:s.left,width:s.width+g,height:s.height+v});y=s.url||s.file;if(y){if(tinymce.relaxedDomain){y+=(y.indexOf("?")==-1?"?":"&")+"mce_rdomain="+tinymce.relaxedDomain}y=tinymce._addVer(y)}if(!s.type){d.add(i+"_content","iframe",{id:i+"_ifr",src:'javascript:""',frameBorder:0,style:"border:0;width:10px;height:10px"});d.setStyles(i+"_ifr",{width:s.width,height:s.height});d.setAttrib(i+"_ifr","src",y)}else{d.add(i+"_wrapper","a",{id:i+"_ok","class":"mceButton mceOk",href:"javascript:;",onmousedown:"return false;"},"Ok");if(s.type=="confirm"){d.add(i+"_wrapper","a",{"class":"mceButton mceCancel",href:"javascript:;",onmousedown:"return false;"},"Cancel")}d.add(i+"_middle","div",{"class":"mceIcon"});d.setHTML(i+"_content",s.content.replace("\n","
    "));a.add(i,"keyup",function(f){var p=27;if(f.keyCode===p){s.button_func(false);return a.cancel(f)}});a.add(i,"keydown",function(f){var t,p=9;if(f.keyCode===p){t=d.select("a.mceCancel",i+"_wrapper")[0];if(t&&t!==f.target){t.focus()}else{d.get(i+"_ok").focus()}return a.cancel(f)}})}o=a.add(i,"mousedown",function(t){var u=t.target,f,p;f=z.windows[i];z.focus(i);if(u.nodeName=="A"||u.nodeName=="a"){if(u.className=="mceClose"){z.close(null,i);return a.cancel(t)}else{if(u.className=="mceMax"){f.oldPos=f.element.getXY();f.oldSize=f.element.getSize();p=d.getViewPort();p.w-=2;p.h-=2;f.element.moveTo(p.x,p.y);f.element.resizeTo(p.w,p.h);d.setStyles(i+"_ifr",{width:p.w-f.deltaWidth,height:p.h-f.deltaHeight});d.addClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMed"){f.element.moveTo(f.oldPos.x,f.oldPos.y);f.element.resizeTo(f.oldSize.w,f.oldSize.h);f.iframeElement.resizeTo(f.oldSize.w-f.deltaWidth,f.oldSize.h-f.deltaHeight);d.removeClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMove"){return z._startDrag(i,t,u.className)}else{if(d.hasClass(u,"mceResize")){return z._startDrag(i,t,u.className.substring(13))}}}}}}});q=a.add(i,"click",function(f){var p=f.target;z.focus(i);if(p.nodeName=="A"||p.nodeName=="a"){switch(p.className){case"mceClose":z.close(null,i);return a.cancel(f);case"mceButton mceOk":case"mceButton mceCancel":s.button_func(p.className=="mceButton mceOk");return a.cancel(f)}}});a.add([i+"_left",i+"_right"],"focus",function(p){var t=d.get(i+"_ifr");if(t){var f=t.contentWindow.document.body;var u=d.select(":input:enabled,*[tabindex=0]",f);if(p.target.id===(i+"_left")){u[u.length-1].focus()}else{u[0].focus()}}else{d.get(i+"_ok").focus()}});x=z.windows[i]={id:i,mousedown_func:o,click_func:q,element:new b(i,{blocker:1,container:r.getContainer()}),iframeElement:new b(i+"_ifr"),features:s,deltaWidth:g,deltaHeight:v};x.iframeElement.on("focus",function(){z.focus(i)});if(z.count==0&&z.editor.getParam("dialog_type","modal")=="modal"){d.add(d.doc.body,"div",{id:"mceModalBlocker","class":(z.editor.settings.inlinepopups_skin||"clearlooks2")+"_modalBlocker",style:{zIndex:z.zIndex-1}});d.show("mceModalBlocker");d.setAttrib(d.doc.body,"aria-hidden","true")}else{d.setStyle("mceModalBlocker","z-index",z.zIndex-1)}if(tinymce.isIE6||/Firefox\/2\./.test(navigator.userAgent)||(tinymce.isIE&&!d.boxModel)){d.setStyles("mceModalBlocker",{position:"absolute",left:h.x,top:h.y,width:h.w-2,height:h.h-2})}d.setAttrib(i,"aria-hidden","false");z.focus(i);z._fixIELayout(i,1);if(d.get(i+"_ok")){d.get(i+"_ok").focus()}z.count++;return x},focus:function(h){var g=this,f;if(f=g.windows[h]){f.zIndex=this.zIndex++;f.element.setStyle("zIndex",f.zIndex);f.element.update();h=h+"_wrapper";d.removeClass(g.lastId,"mceFocus");d.addClass(h,"mceFocus");g.lastId=h;if(f.focussedElement){f.focussedElement.focus()}else{if(d.get(h+"_ok")){d.get(f.id+"_ok").focus()}else{if(d.get(f.id+"_ifr")){d.get(f.id+"_ifr").focus()}}}}},_addAll:function(k,h){var g,l,f=this,j=tinymce.DOM;if(c(h,"string")){k.appendChild(j.doc.createTextNode(h))}else{if(h.length){k=k.appendChild(j.create(h[0],h[1]));for(g=2;gf){g=h;f=h.zIndex}});return g},setTitle:function(f,g){var h;f=this._findId(f);if(h=d.get(f+"_title")){h.innerHTML=d.encode(g)}},alert:function(g,f,j){var i=this,h;h=i.open({title:i,type:"alert",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},confirm:function(g,f,j){var i=this,h;h=i.open({title:i,type:"confirm",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},_findId:function(f){var g=this;if(typeof(f)=="string"){return f}e(g.windows,function(h){var i=d.get(h.id+"_ifr");if(i&&f==i.contentWindow){f=h.id;return false}});return f},_fixIELayout:function(i,h){var f,g;if(!tinymce.isIE6){return}e(["n","s","w","e","nw","ne","sw","se"],function(j){var k=d.get(i+"_resize_"+j);d.setStyles(k,{width:h?k.clientWidth:"",height:h?k.clientHeight:"",cursor:d.getStyle(k,"cursor",1)});d.setStyle(i+"_bottom","bottom","-1px");k=0});if(f=this.windows[i]){f.element.hide();f.element.show();e(d.select("div,a",i),function(k,j){if(k.currentStyle.backgroundImage!="none"){g=new Image();g.src=k.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/,"$1")}});d.get(i).style.filter=""}}});tinymce.PluginManager.add("inlinepopups",tinymce.plugins.InlinePopups)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js new file mode 100755 index 00000000..67123ca3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js @@ -0,0 +1,699 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is; + + tinymce.create('tinymce.plugins.InlinePopups', { + init : function(ed, url) { + // Replace window manager + ed.onBeforeRenderUI.add(function() { + ed.windowManager = new tinymce.InlineWindowManager(ed); + DOM.loadCSS(url + '/skins/' + (ed.settings.inlinepopups_skin || 'clearlooks2') + "/window.css"); + }); + }, + + getInfo : function() { + return { + longname : 'InlinePopups', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + tinymce.create('tinymce.InlineWindowManager:tinymce.WindowManager', { + InlineWindowManager : function(ed) { + var t = this; + + t.parent(ed); + t.zIndex = 300000; + t.count = 0; + t.windows = {}; + }, + + open : function(f, p) { + var t = this, id, opt = '', ed = t.editor, dw = 0, dh = 0, vp, po, mdf, clf, we, w, u, parentWindow; + + f = f || {}; + p = p || {}; + + // Run native windows + if (!f.inline) + return t.parent(f, p); + + parentWindow = t._frontWindow(); + if (parentWindow && DOM.get(parentWindow.id + '_ifr')) { + parentWindow.focussedElement = DOM.get(parentWindow.id + '_ifr').contentWindow.document.activeElement; + } + + // Only store selection if the type is a normal window + if (!f.type) + t.bookmark = ed.selection.getBookmark(1); + + id = DOM.uniqueId(); + vp = DOM.getViewPort(); + f.width = parseInt(f.width || 320); + f.height = parseInt(f.height || 240) + (tinymce.isIE ? 8 : 0); + f.min_width = parseInt(f.min_width || 150); + f.min_height = parseInt(f.min_height || 100); + f.max_width = parseInt(f.max_width || 2000); + f.max_height = parseInt(f.max_height || 2000); + f.left = f.left || Math.round(Math.max(vp.x, vp.x + (vp.w / 2.0) - (f.width / 2.0))); + f.top = f.top || Math.round(Math.max(vp.y, vp.y + (vp.h / 2.0) - (f.height / 2.0))); + f.movable = f.resizable = true; + p.mce_width = f.width; + p.mce_height = f.height; + p.mce_inline = true; + p.mce_window_id = id; + p.mce_auto_focus = f.auto_focus; + + // Transpose +// po = DOM.getPos(ed.getContainer()); +// f.left -= po.x; +// f.top -= po.y; + + t.features = f; + t.params = p; + t.onOpen.dispatch(t, f, p); + + if (f.type) { + opt += ' mceModal'; + + if (f.type) + opt += ' mce' + f.type.substring(0, 1).toUpperCase() + f.type.substring(1); + + f.resizable = false; + } + + if (f.statusbar) + opt += ' mceStatusbar'; + + if (f.resizable) + opt += ' mceResizable'; + + if (f.minimizable) + opt += ' mceMinimizable'; + + if (f.maximizable) + opt += ' mceMaximizable'; + + if (f.movable) + opt += ' mceMovable'; + + // Create DOM objects + t._addAll(DOM.doc.body, + ['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'}, + ['div', {id : id + '_wrapper', 'class' : 'mceWrapper' + opt}, + ['div', {id : id + '_top', 'class' : 'mceTop'}, + ['div', {'class' : 'mceLeft'}], + ['div', {'class' : 'mceCenter'}], + ['div', {'class' : 'mceRight'}], + ['span', {id : id + '_title'}, f.title || ''] + ], + + ['div', {id : id + '_middle', 'class' : 'mceMiddle'}, + ['div', {id : id + '_left', 'class' : 'mceLeft', tabindex : '0'}], + ['span', {id : id + '_content'}], + ['div', {id : id + '_right', 'class' : 'mceRight', tabindex : '0'}] + ], + + ['div', {id : id + '_bottom', 'class' : 'mceBottom'}, + ['div', {'class' : 'mceLeft'}], + ['div', {'class' : 'mceCenter'}], + ['div', {'class' : 'mceRight'}], + ['span', {id : id + '_status'}, 'Content'] + ], + + ['a', {'class' : 'mceMove', tabindex : '-1', href : 'javascript:;'}], + ['a', {'class' : 'mceMin', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}], + ['a', {'class' : 'mceMax', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}], + ['a', {'class' : 'mceMed', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}], + ['a', {'class' : 'mceClose', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}], + ['a', {id : id + '_resize_n', 'class' : 'mceResize mceResizeN', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_s', 'class' : 'mceResize mceResizeS', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_w', 'class' : 'mceResize mceResizeW', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_e', 'class' : 'mceResize mceResizeE', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_nw', 'class' : 'mceResize mceResizeNW', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_ne', 'class' : 'mceResize mceResizeNE', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_sw', 'class' : 'mceResize mceResizeSW', tabindex : '-1', href : 'javascript:;'}], + ['a', {id : id + '_resize_se', 'class' : 'mceResize mceResizeSE', tabindex : '-1', href : 'javascript:;'}] + ] + ] + ); + + DOM.setStyles(id, {top : -10000, left : -10000}); + + // Fix gecko rendering bug, where the editors iframe messed with window contents + if (tinymce.isGecko) + DOM.setStyle(id, 'overflow', 'auto'); + + // Measure borders + if (!f.type) { + dw += DOM.get(id + '_left').clientWidth; + dw += DOM.get(id + '_right').clientWidth; + dh += DOM.get(id + '_top').clientHeight; + dh += DOM.get(id + '_bottom').clientHeight; + } + + // Resize window + DOM.setStyles(id, {top : f.top, left : f.left, width : f.width + dw, height : f.height + dh}); + + u = f.url || f.file; + if (u) { + if (tinymce.relaxedDomain) + u += (u.indexOf('?') == -1 ? '?' : '&') + 'mce_rdomain=' + tinymce.relaxedDomain; + + u = tinymce._addVer(u); + } + + if (!f.type) { + DOM.add(id + '_content', 'iframe', {id : id + '_ifr', src : 'javascript:""', frameBorder : 0, style : 'border:0;width:10px;height:10px'}); + DOM.setStyles(id + '_ifr', {width : f.width, height : f.height}); + DOM.setAttrib(id + '_ifr', 'src', u); + } else { + DOM.add(id + '_wrapper', 'a', {id : id + '_ok', 'class' : 'mceButton mceOk', href : 'javascript:;', onmousedown : 'return false;'}, 'Ok'); + + if (f.type == 'confirm') + DOM.add(id + '_wrapper', 'a', {'class' : 'mceButton mceCancel', href : 'javascript:;', onmousedown : 'return false;'}, 'Cancel'); + + DOM.add(id + '_middle', 'div', {'class' : 'mceIcon'}); + DOM.setHTML(id + '_content', f.content.replace('\n', '
    ')); + + Event.add(id, 'keyup', function(evt) { + var VK_ESCAPE = 27; + if (evt.keyCode === VK_ESCAPE) { + f.button_func(false); + return Event.cancel(evt); + } + }); + + Event.add(id, 'keydown', function(evt) { + var cancelButton, VK_TAB = 9; + if (evt.keyCode === VK_TAB) { + cancelButton = DOM.select('a.mceCancel', id + '_wrapper')[0]; + if (cancelButton && cancelButton !== evt.target) { + cancelButton.focus(); + } else { + DOM.get(id + '_ok').focus(); + } + return Event.cancel(evt); + } + }); + } + + // Register events + mdf = Event.add(id, 'mousedown', function(e) { + var n = e.target, w, vp; + + w = t.windows[id]; + t.focus(id); + + if (n.nodeName == 'A' || n.nodeName == 'a') { + if (n.className == 'mceClose') { + t.close(null, id); + return Event.cancel(e); + } else if (n.className == 'mceMax') { + w.oldPos = w.element.getXY(); + w.oldSize = w.element.getSize(); + + vp = DOM.getViewPort(); + + // Reduce viewport size to avoid scrollbars + vp.w -= 2; + vp.h -= 2; + + w.element.moveTo(vp.x, vp.y); + w.element.resizeTo(vp.w, vp.h); + DOM.setStyles(id + '_ifr', {width : vp.w - w.deltaWidth, height : vp.h - w.deltaHeight}); + DOM.addClass(id + '_wrapper', 'mceMaximized'); + } else if (n.className == 'mceMed') { + // Reset to old size + w.element.moveTo(w.oldPos.x, w.oldPos.y); + w.element.resizeTo(w.oldSize.w, w.oldSize.h); + w.iframeElement.resizeTo(w.oldSize.w - w.deltaWidth, w.oldSize.h - w.deltaHeight); + + DOM.removeClass(id + '_wrapper', 'mceMaximized'); + } else if (n.className == 'mceMove') + return t._startDrag(id, e, n.className); + else if (DOM.hasClass(n, 'mceResize')) + return t._startDrag(id, e, n.className.substring(13)); + } + }); + + clf = Event.add(id, 'click', function(e) { + var n = e.target; + + t.focus(id); + + if (n.nodeName == 'A' || n.nodeName == 'a') { + switch (n.className) { + case 'mceClose': + t.close(null, id); + return Event.cancel(e); + + case 'mceButton mceOk': + case 'mceButton mceCancel': + f.button_func(n.className == 'mceButton mceOk'); + return Event.cancel(e); + } + } + }); + + // Make sure the tab order loops within the dialog. + Event.add([id + '_left', id + '_right'], 'focus', function(evt) { + var iframe = DOM.get(id + '_ifr'); + if (iframe) { + var body = iframe.contentWindow.document.body; + var focusable = DOM.select(':input:enabled,*[tabindex=0]', body); + if (evt.target.id === (id + '_left')) { + focusable[focusable.length - 1].focus(); + } else { + focusable[0].focus(); + } + } else { + DOM.get(id + '_ok').focus(); + } + }); + + // Add window + w = t.windows[id] = { + id : id, + mousedown_func : mdf, + click_func : clf, + element : new Element(id, {blocker : 1, container : ed.getContainer()}), + iframeElement : new Element(id + '_ifr'), + features : f, + deltaWidth : dw, + deltaHeight : dh + }; + + w.iframeElement.on('focus', function() { + t.focus(id); + }); + + // Setup blocker + if (t.count == 0 && t.editor.getParam('dialog_type', 'modal') == 'modal') { + DOM.add(DOM.doc.body, 'div', { + id : 'mceModalBlocker', + 'class' : (t.editor.settings.inlinepopups_skin || 'clearlooks2') + '_modalBlocker', + style : {zIndex : t.zIndex - 1} + }); + + DOM.show('mceModalBlocker'); // Reduces flicker in IE + DOM.setAttrib(DOM.doc.body, 'aria-hidden', 'true'); + } else + DOM.setStyle('mceModalBlocker', 'z-index', t.zIndex - 1); + + if (tinymce.isIE6 || /Firefox\/2\./.test(navigator.userAgent) || (tinymce.isIE && !DOM.boxModel)) + DOM.setStyles('mceModalBlocker', {position : 'absolute', left : vp.x, top : vp.y, width : vp.w - 2, height : vp.h - 2}); + + DOM.setAttrib(id, 'aria-hidden', 'false'); + t.focus(id); + t._fixIELayout(id, 1); + + // Focus ok button + if (DOM.get(id + '_ok')) + DOM.get(id + '_ok').focus(); + t.count++; + + return w; + }, + + focus : function(id) { + var t = this, w; + + if (w = t.windows[id]) { + w.zIndex = this.zIndex++; + w.element.setStyle('zIndex', w.zIndex); + w.element.update(); + + id = id + '_wrapper'; + DOM.removeClass(t.lastId, 'mceFocus'); + DOM.addClass(id, 'mceFocus'); + t.lastId = id; + + if (w.focussedElement) { + w.focussedElement.focus(); + } else if (DOM.get(id + '_ok')) { + DOM.get(w.id + '_ok').focus(); + } else if (DOM.get(w.id + '_ifr')) { + DOM.get(w.id + '_ifr').focus(); + } + } + }, + + _addAll : function(te, ne) { + var i, n, t = this, dom = tinymce.DOM; + + if (is(ne, 'string')) + te.appendChild(dom.doc.createTextNode(ne)); + else if (ne.length) { + te = te.appendChild(dom.create(ne[0], ne[1])); + + for (i=2; i ix) { + fw = w; + ix = w.zIndex; + } + }); + return fw; + }, + + setTitle : function(w, ti) { + var e; + + w = this._findId(w); + + if (e = DOM.get(w + '_title')) + e.innerHTML = DOM.encode(ti); + }, + + alert : function(txt, cb, s) { + var t = this, w; + + w = t.open({ + title : t, + type : 'alert', + button_func : function(s) { + if (cb) + cb.call(s || t, s); + + t.close(null, w.id); + }, + content : DOM.encode(t.editor.getLang(txt, txt)), + inline : 1, + width : 400, + height : 130 + }); + }, + + confirm : function(txt, cb, s) { + var t = this, w; + + w = t.open({ + title : t, + type : 'confirm', + button_func : function(s) { + if (cb) + cb.call(s || t, s); + + t.close(null, w.id); + }, + content : DOM.encode(t.editor.getLang(txt, txt)), + inline : 1, + width : 400, + height : 130 + }); + }, + + // Internal functions + + _findId : function(w) { + var t = this; + + if (typeof(w) == 'string') + return w; + + each(t.windows, function(wo) { + var ifr = DOM.get(wo.id + '_ifr'); + + if (ifr && w == ifr.contentWindow) { + w = wo.id; + return false; + } + }); + + return w; + }, + + _fixIELayout : function(id, s) { + var w, img; + + if (!tinymce.isIE6) + return; + + // Fixes the bug where hover flickers and does odd things in IE6 + each(['n','s','w','e','nw','ne','sw','se'], function(v) { + var e = DOM.get(id + '_resize_' + v); + + DOM.setStyles(e, { + width : s ? e.clientWidth : '', + height : s ? e.clientHeight : '', + cursor : DOM.getStyle(e, 'cursor', 1) + }); + + DOM.setStyle(id + "_bottom", 'bottom', '-1px'); + + e = 0; + }); + + // Fixes graphics glitch + if (w = this.windows[id]) { + // Fixes rendering bug after resize + w.element.hide(); + w.element.show(); + + // Forced a repaint of the window + //DOM.get(id).style.filter = ''; + + // IE has a bug where images used in CSS won't get loaded + // sometimes when the cache in the browser is disabled + // This fix tries to solve it by loading the images using the image object + each(DOM.select('div,a', id), function(e, i) { + if (e.currentStyle.backgroundImage != 'none') { + img = new Image(); + img.src = e.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/, '$1'); + } + }); + + DOM.get(id).style.filter = ''; + } + } + }); + + // Register plugin + tinymce.PluginManager.add('inlinepopups', tinymce.plugins.InlinePopups); +})(); + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif new file mode 100644 index 00000000..21913985 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif new file mode 100644 index 00000000..f957e49a Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif new file mode 100644 index 00000000..6baf64ad Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif new file mode 100644 index 00000000..20acbbf7 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif new file mode 100644 index 00000000..d5de1cc2 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif new file mode 100644 index 00000000..c2a2ad45 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif new file mode 100644 index 00000000..0b4cc368 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css new file mode 100644 index 00000000..a50d4fc5 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css @@ -0,0 +1,90 @@ +/* Clearlooks 2 */ + +/* Reset */ +.clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block} + +/* General */ +.clearlooks2 {position:absolute; direction:ltr} +.clearlooks2 .mceWrapper {position:static} +.mceEventBlocker {position:fixed; left:0; top:0; background:url(img/horizontal.gif) no-repeat 0 -75px; width:100%; height:100%} +.clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)} +.clearlooks2_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#FFF; opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60); display:none} + +/* Top */ +.clearlooks2 .mceTop, .clearlooks2 .mceTop div {top:0; width:100%; height:23px} +.clearlooks2 .mceTop .mceLeft {width:6px; background:url(img/corners.gif)} +.clearlooks2 .mceTop .mceCenter {right:6px; width:100%; height:23px; background:url(img/horizontal.gif) 12px 0; clip:rect(auto auto auto 12px)} +.clearlooks2 .mceTop .mceRight {right:0; width:6px; height:23px; background:url(img/corners.gif) -12px 0} +.clearlooks2 .mceTop span {width:100%; text-align:center; vertical-align:middle; line-height:23px; font-weight:bold} +.clearlooks2 .mceFocus .mceTop .mceLeft {background:url(img/corners.gif) -6px 0} +.clearlooks2 .mceFocus .mceTop .mceCenter {background:url(img/horizontal.gif) 0 -23px} +.clearlooks2 .mceFocus .mceTop .mceRight {background:url(img/corners.gif) -18px 0} +.clearlooks2 .mceFocus .mceTop span {color:#FFF} + +/* Middle */ +.clearlooks2 .mceMiddle, .clearlooks2 .mceMiddle div {top:0} +.clearlooks2 .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)} +.clearlooks2 .mceMiddle .mceLeft {left:0; width:5px; height:100%; background:url(img/vertical.gif) -5px 0} +.clearlooks2 .mceMiddle span {top:23px; left:5px; width:100%; height:100%; background:#FFF} +.clearlooks2 .mceMiddle .mceRight {right:0; width:5px; height:100%; background:url(img/vertical.gif)} + +/* Bottom */ +.clearlooks2 .mceBottom, .clearlooks2 .mceBottom div {height:6px} +.clearlooks2 .mceBottom {left:0; bottom:0; width:100%} +.clearlooks2 .mceBottom div {top:0} +.clearlooks2 .mceBottom .mceLeft {left:0; width:5px; background:url(img/corners.gif) -34px -6px} +.clearlooks2 .mceBottom .mceCenter {left:5px; width:100%; background:url(img/horizontal.gif) 0 -46px} +.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0} +.clearlooks2 .mceBottom span {display:none} +.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px} +.clearlooks2 .mceStatusbar .mceBottom .mceLeft {background:url(img/corners.gif) -29px 0} +.clearlooks2 .mceStatusbar .mceBottom .mceCenter {background:url(img/horizontal.gif) 0 -52px} +.clearlooks2 .mceStatusbar .mceBottom .mceRight {background:url(img/corners.gif) -24px 0} +.clearlooks2 .mceStatusbar .mceBottom span {display:block; left:7px; font-family:Arial, Verdana; font-size:11px; line-height:23px} + +/* Actions */ +.clearlooks2 a {width:29px; height:16px; top:3px;} +.clearlooks2 .mceClose {right:6px; background:url(img/buttons.gif) -87px 0} +.clearlooks2 .mceMin {display:none; right:68px; background:url(img/buttons.gif) 0 0} +.clearlooks2 .mceMed {display:none; right:37px; background:url(img/buttons.gif) -29px 0} +.clearlooks2 .mceMax {display:none; right:37px; background:url(img/buttons.gif) -58px 0} +.clearlooks2 .mceMove {display:none;width:100%;cursor:move;background:url(img/corners.gif) no-repeat -100px -100px} +.clearlooks2 .mceMovable .mceMove {display:block} +.clearlooks2 .mceFocus .mceClose {right:6px; background:url(img/buttons.gif) -87px -16px} +.clearlooks2 .mceFocus .mceMin {right:68px; background:url(img/buttons.gif) 0 -16px} +.clearlooks2 .mceFocus .mceMed {right:37px; background:url(img/buttons.gif) -29px -16px} +.clearlooks2 .mceFocus .mceMax {right:37px; background:url(img/buttons.gif) -58px -16px} +.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px} +.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px} +.clearlooks2 .mceFocus .mceMin:hover {right:68px; background:url(img/buttons.gif) 0 -32px} +.clearlooks2 .mceFocus .mceMed:hover {right:37px; background:url(img/buttons.gif) -29px -32px} +.clearlooks2 .mceFocus .mceMax:hover {right:37px; background:url(img/buttons.gif) -58px -32px} + +/* Resize */ +.clearlooks2 .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; background:url(img/horizontal.gif) no-repeat 0 -75px} +.clearlooks2 .mceResizable .mceResize {display:block} +.clearlooks2 .mceResizable .mceMin, .clearlooks2 .mceMax {display:none} +.clearlooks2 .mceMinimizable .mceMin {display:block} +.clearlooks2 .mceMaximizable .mceMax {display:block} +.clearlooks2 .mceMaximized .mceMed {display:block} +.clearlooks2 .mceMaximized .mceMax {display:none} +.clearlooks2 a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize} +.clearlooks2 a.mceResizeNW {top:0; left:0; cursor:nw-resize} +.clearlooks2 a.mceResizeNE {top:0; right:0; cursor:ne-resize} +.clearlooks2 a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;} +.clearlooks2 a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize} +.clearlooks2 a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize} +.clearlooks2 a.mceResizeSW {bottom:0; left:0; cursor:sw-resize} +.clearlooks2 a.mceResizeSE {bottom:0; right:0; cursor:se-resize} + +/* Alert/Confirm */ +.clearlooks2 .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; background:url(img/button.gif); line-height:30px; vertical-align:middle; text-align:center; outline:0} +.clearlooks2 .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px} +.clearlooks2 .mceAlert .mceMiddle span, .clearlooks2 .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:bold; overflow:auto; white-space:normal} +.clearlooks2 a:hover {font-weight:bold;} +.clearlooks2 .mceAlert .mceMiddle, .clearlooks2 .mceConfirm .mceMiddle {background:#D6D7D5} +.clearlooks2 .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px} +.clearlooks2 .mceAlert .mceIcon {background:url(img/alert.gif)} +.clearlooks2 .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px} +.clearlooks2 .mceConfirm .mceCancel {left:50%; top:auto} +.clearlooks2 .mceConfirm .mceIcon {background:url(img/confirm.gif)} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm new file mode 100644 index 00000000..f9ec6421 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/inlinepopups/template.htm @@ -0,0 +1,387 @@ + + + +Template for dialogs + + + + +
    +
    +
    +
    +
    +
    +
    + Blured +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Focused +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Statusbar +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Statusbar, Resizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Resizable, Maximizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Blurred, Maximizable, Statusbar, Resizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Maximized, Maximizable, Minimizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Blured +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Alert +
    + +
    +
    + + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + +
    +
    +
    + +
    +
    +
    +
    +
    + + + Ok + +
    +
    + +
    +
    +
    +
    +
    +
    + Confirm +
    + +
    +
    + + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + +
    +
    +
    + +
    +
    +
    +
    +
    + + + Ok + Cancel + +
    +
    +
    + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js new file mode 100755 index 00000000..938ce6b1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/insertdatetime/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.InsertDateTime",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceInsertDate",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_dateFormat",a.getLang("insertdatetime.date_fmt")));a.execCommand("mceInsertContent",false,d)});a.addCommand("mceInsertTime",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_timeFormat",a.getLang("insertdatetime.time_fmt")));a.execCommand("mceInsertContent",false,d)});a.addButton("insertdate",{title:"insertdatetime.insertdate_desc",cmd:"mceInsertDate"});a.addButton("inserttime",{title:"insertdatetime.inserttime_desc",cmd:"mceInsertTime"})},getInfo:function(){return{longname:"Insert date/time",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getDateTime:function(e,a){var c=this.editor;function b(g,d){g=""+g;if(g.length-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{if(h[e]>0){b[e].style.zIndex=h[e]-1}}}else{for(g=0;gh[e]){k=g;break}}if(k>-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{b[e].style.zIndex=h[e]+1}}c.execCommand("mceRepaint")},_getParentLayer:function(b){return this.editor.dom.getParent(b,function(c){return c.nodeType==1&&/^(absolute|relative|static)$/i.test(c.style.position)})},_insertLayer:function(){var c=this.editor,e=c.dom,d=e.getPos(e.getParent(c.selection.getNode(),"*")),b=c.getBody();c.dom.add(b,"div",{style:{position:"absolute",left:d.x,top:(d.y>20?d.y:20),width:100,height:100},"class":"mceItemVisualAid mceItemLayer"},c.selection.getContent()||c.getLang("layer.content"));if(tinymce.isIE){e.setHTML(b,b.innerHTML)}},_toggleAbsolute:function(){var b=this.editor,c=this._getParentLayer(b.selection.getNode());if(!c){c=b.dom.getParent(b.selection.getNode(),"DIV,P,IMG")}if(c){if(c.style.position.toLowerCase()=="absolute"){b.dom.setStyles(c,{position:"",left:"",top:"",width:"",height:""});b.dom.removeClass(c,"mceItemVisualAid");b.dom.removeClass(c,"mceItemLayer")}else{if(c.style.left==""){c.style.left=20+"px"}if(c.style.top==""){c.style.top=20+"px"}if(c.style.width==""){c.style.width=c.width?(c.width+"px"):"100px"}if(c.style.height==""){c.style.height=c.height?(c.height+"px"):"100px"}c.style.position="absolute";b.dom.setAttrib(c,"data-mce-style","");b.addVisual(b.getBody())}b.execCommand("mceRepaint");b.nodeChanged()}}});tinymce.PluginManager.add("layer",tinymce.plugins.Layer)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js new file mode 100755 index 00000000..daed2806 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/layer/editor_plugin_src.js @@ -0,0 +1,262 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + function findParentLayer(node) { + do { + if (node.className && node.className.indexOf('mceItemLayer') != -1) { + return node; + } + } while (node = node.parentNode); + }; + + tinymce.create('tinymce.plugins.Layer', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + // Register commands + ed.addCommand('mceInsertLayer', t._insertLayer, t); + + ed.addCommand('mceMoveForward', function() { + t._move(1); + }); + + ed.addCommand('mceMoveBackward', function() { + t._move(-1); + }); + + ed.addCommand('mceMakeAbsolute', function() { + t._toggleAbsolute(); + }); + + // Register buttons + ed.addButton('moveforward', {title : 'layer.forward_desc', cmd : 'mceMoveForward'}); + ed.addButton('movebackward', {title : 'layer.backward_desc', cmd : 'mceMoveBackward'}); + ed.addButton('absolute', {title : 'layer.absolute_desc', cmd : 'mceMakeAbsolute'}); + ed.addButton('insertlayer', {title : 'layer.insertlayer_desc', cmd : 'mceInsertLayer'}); + + ed.onInit.add(function() { + var dom = ed.dom; + + if (tinymce.isIE) + ed.getDoc().execCommand('2D-Position', false, true); + }); + + // Remove serialized styles when selecting a layer since it might be changed by a drag operation + ed.onMouseUp.add(function(ed, e) { + var layer = findParentLayer(e.target); + + if (layer) { + ed.dom.setAttrib(layer, 'data-mce-style', ''); + } + }); + + // Fixes edit focus issues with layers on Gecko + // This will enable designMode while inside a layer and disable it when outside + ed.onMouseDown.add(function(ed, e) { + var node = e.target, doc = ed.getDoc(), parent; + + if (tinymce.isGecko) { + if (findParentLayer(node)) { + if (doc.designMode !== 'on') { + doc.designMode = 'on'; + + // Repaint caret + node = doc.body; + parent = node.parentNode; + parent.removeChild(node); + parent.appendChild(node); + } + } else if (doc.designMode == 'on') { + doc.designMode = 'off'; + } + } + }); + + ed.onNodeChange.add(t._nodeChange, t); + ed.onVisualAid.add(t._visualAid, t); + }, + + getInfo : function() { + return { + longname : 'Layer', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private methods + + _nodeChange : function(ed, cm, n) { + var le, p; + + le = this._getParentLayer(n); + p = ed.dom.getParent(n, 'DIV,P,IMG'); + + if (!p) { + cm.setDisabled('absolute', 1); + cm.setDisabled('moveforward', 1); + cm.setDisabled('movebackward', 1); + } else { + cm.setDisabled('absolute', 0); + cm.setDisabled('moveforward', !le); + cm.setDisabled('movebackward', !le); + cm.setActive('absolute', le && le.style.position.toLowerCase() == "absolute"); + } + }, + + // Private methods + + _visualAid : function(ed, e, s) { + var dom = ed.dom; + + tinymce.each(dom.select('div,p', e), function(e) { + if (/^(absolute|relative|fixed)$/i.test(e.style.position)) { + if (s) + dom.addClass(e, 'mceItemVisualAid'); + else + dom.removeClass(e, 'mceItemVisualAid'); + + dom.addClass(e, 'mceItemLayer'); + } + }); + }, + + _move : function(d) { + var ed = this.editor, i, z = [], le = this._getParentLayer(ed.selection.getNode()), ci = -1, fi = -1, nl; + + nl = []; + tinymce.walk(ed.getBody(), function(n) { + if (n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position)) + nl.push(n); + }, 'childNodes'); + + // Find z-indexes + for (i=0; i -1) { + nl[ci].style.zIndex = z[fi]; + nl[fi].style.zIndex = z[ci]; + } else { + if (z[ci] > 0) + nl[ci].style.zIndex = z[ci] - 1; + } + } else { + // Move forward + + // Try find a higher one + for (i=0; i z[ci]) { + fi = i; + break; + } + } + + if (fi > -1) { + nl[ci].style.zIndex = z[fi]; + nl[fi].style.zIndex = z[ci]; + } else + nl[ci].style.zIndex = z[ci] + 1; + } + + ed.execCommand('mceRepaint'); + }, + + _getParentLayer : function(n) { + return this.editor.dom.getParent(n, function(n) { + return n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position); + }); + }, + + _insertLayer : function() { + var ed = this.editor, dom = ed.dom, p = dom.getPos(dom.getParent(ed.selection.getNode(), '*')), body = ed.getBody(); + + ed.dom.add(body, 'div', { + style : { + position : 'absolute', + left : p.x, + top : (p.y > 20 ? p.y : 20), + width : 100, + height : 100 + }, + 'class' : 'mceItemVisualAid mceItemLayer' + }, ed.selection.getContent() || ed.getLang('layer.content')); + + // Workaround for IE where it messes up the JS engine if you insert a layer on IE 6,7 + if (tinymce.isIE) + dom.setHTML(body, body.innerHTML); + }, + + _toggleAbsolute : function() { + var ed = this.editor, le = this._getParentLayer(ed.selection.getNode()); + + if (!le) + le = ed.dom.getParent(ed.selection.getNode(), 'DIV,P,IMG'); + + if (le) { + if (le.style.position.toLowerCase() == "absolute") { + ed.dom.setStyles(le, { + position : '', + left : '', + top : '', + width : '', + height : '' + }); + + ed.dom.removeClass(le, 'mceItemVisualAid'); + ed.dom.removeClass(le, 'mceItemLayer'); + } else { + if (le.style.left == "") + le.style.left = 20 + 'px'; + + if (le.style.top == "") + le.style.top = 20 + 'px'; + + if (le.style.width == "") + le.style.width = le.width ? (le.width + 'px') : '100px'; + + if (le.style.height == "") + le.style.height = le.height ? (le.height + 'px') : '100px'; + + le.style.position = "absolute"; + + ed.dom.setAttrib(le, 'data-mce-style', ''); + ed.addVisual(ed.getBody()); + } + + ed.execCommand('mceRepaint'); + ed.nodeChanged(); + } + } + }); + + // Register plugin + tinymce.PluginManager.add('layer', tinymce.plugins.Layer); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js new file mode 100644 index 00000000..2ed5f41a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin.js @@ -0,0 +1 @@ +(function(a){a.onAddEditor.addToTop(function(c,b){b.settings.inline_styles=false});a.create("tinymce.plugins.LegacyOutput",{init:function(b){b.onInit.add(function(){var c="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",e=a.explode(b.settings.font_size_style_values),d=b.schema;b.formatter.register({alignleft:{selector:c,attributes:{align:"left"}},aligncenter:{selector:c,attributes:{align:"center"}},alignright:{selector:c,attributes:{align:"right"}},alignfull:{selector:c,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:true}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:true}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(f){return a.inArray(e,f.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}});a.each("b,i,u,strike".split(","),function(f){d.addValidElements(f+"[*]")});if(!d.getElementRule("font")){d.addValidElements("font[face|size|color|style]")}a.each(c.split(","),function(f){var h=d.getElementRule(f),g;if(h){if(!h.attributes.align){h.attributes.align={};h.attributesOrder.push("align")}}});b.onNodeChange.add(function(g,k){var j,f,h,i;f=g.dom.getParent(g.selection.getNode(),"font");if(f){h=f.face;i=f.size}if(j=k.get("fontselect")){j.select(function(l){return l==h})}if(j=k.get("fontsizeselect")){j.select(function(m){var l=a.inArray(e,m.fontSize);return l+1==i})}})})},getInfo:function(){return{longname:"LegacyOutput",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("legacyoutput",a.plugins.LegacyOutput)})(tinymce); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js new file mode 100644 index 00000000..3cdcde57 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js @@ -0,0 +1,139 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + * + * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align + * attributes and so forth. There are a few cases where these old items might be needed for example in email applications or with Flash + * + * However you should NOT use this plugin if you are building some system that produces web contents such as a CMS. All these elements are + * not apart of the newer specifications for HTML and XHTML. + */ + +(function(tinymce) { + // Override inline_styles setting to force TinyMCE to produce deprecated contents + tinymce.onAddEditor.addToTop(function(tinymce, editor) { + editor.settings.inline_styles = false; + }); + + // Create the legacy ouput plugin + tinymce.create('tinymce.plugins.LegacyOutput', { + init : function(editor) { + editor.onInit.add(function() { + var alignElements = 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', + fontSizes = tinymce.explode(editor.settings.font_size_style_values), + schema = editor.schema; + + // Override some internal formats to produce legacy elements and attributes + editor.formatter.register({ + // Change alignment formats to use the deprecated align attribute + alignleft : {selector : alignElements, attributes : {align : 'left'}}, + aligncenter : {selector : alignElements, attributes : {align : 'center'}}, + alignright : {selector : alignElements, attributes : {align : 'right'}}, + alignfull : {selector : alignElements, attributes : {align : 'justify'}}, + + // Change the basic formatting elements to use deprecated element types + bold : [ + {inline : 'b', remove : 'all'}, + {inline : 'strong', remove : 'all'}, + {inline : 'span', styles : {fontWeight : 'bold'}} + ], + italic : [ + {inline : 'i', remove : 'all'}, + {inline : 'em', remove : 'all'}, + {inline : 'span', styles : {fontStyle : 'italic'}} + ], + underline : [ + {inline : 'u', remove : 'all'}, + {inline : 'span', styles : {textDecoration : 'underline'}, exact : true} + ], + strikethrough : [ + {inline : 'strike', remove : 'all'}, + {inline : 'span', styles : {textDecoration: 'line-through'}, exact : true} + ], + + // Change font size and font family to use the deprecated font element + fontname : {inline : 'font', attributes : {face : '%value'}}, + fontsize : { + inline : 'font', + attributes : { + size : function(vars) { + return tinymce.inArray(fontSizes, vars.value) + 1; + } + } + }, + + // Setup font elements for colors as well + forecolor : {inline : 'font', attributes : {color : '%value'}}, + hilitecolor : {inline : 'font', styles : {backgroundColor : '%value'}} + }); + + // Check that deprecated elements are allowed if not add them + tinymce.each('b,i,u,strike'.split(','), function(name) { + schema.addValidElements(name + '[*]'); + }); + + // Add font element if it's missing + if (!schema.getElementRule("font")) + schema.addValidElements("font[face|size|color|style]"); + + // Add the missing and depreacted align attribute for the serialization engine + tinymce.each(alignElements.split(','), function(name) { + var rule = schema.getElementRule(name), found; + + if (rule) { + if (!rule.attributes.align) { + rule.attributes.align = {}; + rule.attributesOrder.push('align'); + } + } + }); + + // Listen for the onNodeChange event so that we can do special logic for the font size and font name drop boxes + editor.onNodeChange.add(function(editor, control_manager) { + var control, fontElm, fontName, fontSize; + + // Find font element get it's name and size + fontElm = editor.dom.getParent(editor.selection.getNode(), 'font'); + if (fontElm) { + fontName = fontElm.face; + fontSize = fontElm.size; + } + + // Select/unselect the font name in droplist + if (control = control_manager.get('fontselect')) { + control.select(function(value) { + return value == fontName; + }); + } + + // Select/unselect the font size in droplist + if (control = control_manager.get('fontsizeselect')) { + control.select(function(value) { + var index = tinymce.inArray(fontSizes, value.fontSize); + + return index + 1 == fontSize; + }); + } + }); + }); + }, + + getInfo : function() { + return { + longname : 'LegacyOutput', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('legacyoutput', tinymce.plugins.LegacyOutput); +})(tinymce); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js new file mode 100644 index 00000000..ec21b256 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin.js @@ -0,0 +1 @@ +(function(){var e=tinymce.each,r=tinymce.dom.Event,g;function p(t,s){while(t&&(t.nodeType===8||(t.nodeType===3&&/^[ \t\n\r]*$/.test(t.nodeValue)))){t=s(t)}return t}function b(s){return p(s,function(t){return t.previousSibling})}function i(s){return p(s,function(t){return t.nextSibling})}function d(s,u,t){return s.dom.getParent(u,function(v){return tinymce.inArray(t,v)!==-1})}function n(s){return s&&(s.tagName==="OL"||s.tagName==="UL")}function c(u,v){var t,w,s;t=b(u.lastChild);while(n(t)){w=t;t=b(w.previousSibling)}if(w){s=v.create("li",{style:"list-style-type: none;"});v.split(u,w);v.insertAfter(s,w);s.appendChild(w);s.appendChild(w);u=s.previousSibling}return u}function m(t,s,u){t=a(t,s,u);return o(t,s,u)}function a(u,s,v){var t=b(u.previousSibling);if(t){return h(t,u,s?t:false,v)}else{return u}}function o(u,t,v){var s=i(u.nextSibling);if(s){return h(u,s,t?s:false,v)}else{return u}}function h(u,s,t,v){if(l(u,s,!!t,v)){return f(u,s,t)}else{if(u&&u.tagName==="LI"&&n(s)){u.appendChild(s)}}return s}function l(u,t,s,v){if(!u||!t){return false}else{if(u.tagName==="LI"&&t.tagName==="LI"){return t.style.listStyleType==="none"||j(t)}else{if(n(u)){return(u.tagName===t.tagName&&(s||u.style.listStyleType===t.style.listStyleType))||q(t)}else{return v&&u.tagName==="P"&&t.tagName==="P"}}}}function q(t){var s=i(t.firstChild),u=b(t.lastChild);return s&&u&&n(t)&&s===u&&(n(s)||s.style.listStyleType==="none"||j(s))}function j(u){var t=i(u.firstChild),s=b(u.lastChild);return t&&s&&t===s&&n(t)}function f(w,v,s){var u=b(w.lastChild),t=i(v.firstChild);if(w.tagName==="P"){w.appendChild(w.ownerDocument.createElement("br"))}while(v.firstChild){w.appendChild(v.firstChild)}if(s){w.style.listStyleType=s.style.listStyleType}v.parentNode.removeChild(v);h(u,t,false);return w}function k(t,u){var s;if(!u.is(t,"li,ol,ul")){s=u.getParent(t,"li");if(s){t=s}}return t}tinymce.create("tinymce.plugins.Lists",{init:function(y){var v="TABBING";var s="EMPTY";var J="ESCAPE";var z="PARAGRAPH";var N="UNKNOWN";var x=N;function E(U){return U.keyCode===tinymce.VK.TAB&&!(U.altKey||U.ctrlKey)&&(y.queryCommandState("InsertUnorderedList")||y.queryCommandState("InsertOrderedList"))}function w(){var U=B();var W=U.parentNode.parentNode;var V=U.parentNode.lastChild===U;return V&&!t(W)&&P(U)}function t(U){if(n(U)){return U.parentNode&&U.parentNode.tagName==="LI"}else{return U.tagName==="LI"}}function F(){return y.selection.isCollapsed()&&P(B())}function B(){var U=y.selection.getStart();return((U.tagName=="BR"||U.tagName=="")&&U.parentNode.tagName=="LI")?U.parentNode:U}function P(U){var V=U.childNodes.length;if(U.tagName==="LI"){return V==0?true:V==1&&(U.firstChild.tagName==""||U.firstChild.tagName=="BR"||H(U))}return false}function H(U){var V=tinymce.grep(U.parentNode.childNodes,function(Y){return Y.tagName=="LI"});var W=U==V[V.length-1];var X=U.firstChild;return tinymce.isIE9&&W&&(X.nodeValue==String.fromCharCode(160)||X.nodeValue==String.fromCharCode(32))}function T(U){return U.keyCode===tinymce.VK.ENTER}function A(U){return T(U)&&!U.shiftKey}function M(U){if(E(U)){return v}else{if(A(U)&&w()){return N}else{if(A(U)&&F()){return s}else{return N}}}}function D(U,V){if(x==v||x==s||tinymce.isGecko&&x==J){r.cancel(V)}}function C(){var U=y.selection.getRng(true);var V=U.startContainer;if(V.nodeType==3){var W=V.nodeValue;if(tinymce.isIE9&&W.length>1&&W.charCodeAt(W.length-1)==32){return(U.endOffset==W.length-1)}else{return(U.endOffset==W.length)}}else{if(V.nodeType==1){return U.endOffset==V.childNodes.length}}return false}function I(){var W=y.selection.getNode();var V="h1,h2,h3,h4,h5,h6,p,div";var U=y.dom.is(W,V)&&W.parentNode.tagName==="LI"&&W.parentNode.lastChild===W;return y.selection.isCollapsed()&&U&&C()}function K(W,Y){if(A(Y)&&I()){var X=W.selection.getNode();var V=W.dom.create("li");var U=W.dom.getParent(X,"li");W.dom.insertAfter(V,U);if(tinymce.isIE6||tinymce.isIE7||tinyMCE.isIE8){W.selection.setCursorLocation(V,1)}else{W.selection.setCursorLocation(V,0)}Y.preventDefault()}}function u(X,Z){var ac;if(!tinymce.isGecko){return}var V=X.selection.getStart();if(Z.keyCode!=tinymce.VK.BACKSPACE||V.tagName!=="IMG"){return}function W(ag){var ah=ag.firstChild;var af=null;do{if(!ah){break}if(ah.tagName==="LI"){af=ah}}while(ah=ah.nextSibling);return af}function ae(ag,af){while(ag.childNodes.length>0){af.appendChild(ag.childNodes[0])}}ac=V.parentNode.previousSibling;if(!ac){return}var aa;if(ac.tagName==="UL"||ac.tagName==="OL"){aa=ac}else{if(ac.previousSibling&&(ac.previousSibling.tagName==="UL"||ac.previousSibling.tagName==="OL")){aa=ac.previousSibling}else{return}}var ad=W(aa);var U=X.dom.createRng();U.setStart(ad,1);U.setEnd(ad,1);X.selection.setRng(U);X.selection.collapse(true);var Y=X.selection.getBookmark();var ab=V.parentNode.cloneNode(true);if(ab.tagName==="P"||ab.tagName==="DIV"){ae(ab,ad)}else{ad.appendChild(ab)}V.parentNode.parentNode.removeChild(V.parentNode);X.selection.moveToBookmark(Y)}function G(U){var V=y.dom.getParent(U,"ol,ul");if(V!=null){var W=V.lastChild;y.selection.setCursorLocation(W,0)}}this.ed=y;y.addCommand("Indent",this.indent,this);y.addCommand("Outdent",this.outdent,this);y.addCommand("InsertUnorderedList",function(){this.applyList("UL","OL")},this);y.addCommand("InsertOrderedList",function(){this.applyList("OL","UL")},this);y.onInit.add(function(){y.editorCommands.addCommands({outdent:function(){var V=y.selection,W=y.dom;function U(X){X=W.getParent(X,W.isBlock);return X&&(parseInt(y.dom.getStyle(X,"margin-left")||0,10)+parseInt(y.dom.getStyle(X,"padding-left")||0,10))>0}return U(V.getStart())||U(V.getEnd())||y.queryCommandState("InsertOrderedList")||y.queryCommandState("InsertUnorderedList")}},"state")});y.onKeyUp.add(function(V,W){if(x==v){V.execCommand(W.shiftKey?"Outdent":"Indent",true,null);x=N;return r.cancel(W)}else{if(x==s){var U=B();var Y=V.settings.list_outdent_on_enter===true||W.shiftKey;V.execCommand(Y?"Outdent":"Indent",true,null);if(tinymce.isIE){G(U)}return r.cancel(W)}else{if(x==J){if(tinymce.isIE6||tinymce.isIE7||tinymce.isIE8){var X=V.getDoc().createTextNode("\uFEFF");V.selection.getNode().appendChild(X)}else{if(tinymce.isIE9||tinymce.isGecko){V.execCommand("Outdent");return r.cancel(W)}}}}}});function L(V,U){var W=y.getDoc().createTextNode("\uFEFF");V.insertBefore(W,U);y.selection.setCursorLocation(W,0);y.execCommand("mceRepaint")}function R(V,X){if(T(X)){var U=B();if(U){var W=U.parentNode;var Y=W&&W.parentNode;if(Y&&Y.nodeName=="LI"&&Y.firstChild==W&&U==W.firstChild){L(Y,W)}}}}function S(V,X){if(T(X)){var U=B();if(V.dom.select("ul li",U).length===1){var W=U.firstChild;L(U,W)}}}function Q(W,aa){function X(ab){var ad=[];var ae=new tinymce.dom.TreeWalker(ab.firstChild,ab);for(var ac=ae.current();ac;ac=ae.next()){if(W.dom.is(ac,"ol,ul,li")){ad.push(ac)}}return ad}if(aa.keyCode==tinymce.VK.BACKSPACE){var U=B();if(U){var Z=W.dom.getParent(U,"ol,ul"),V=W.selection.getRng();if(Z&&Z.firstChild===U&&V.startOffset==0){var Y=X(U);Y.unshift(U);W.execCommand("Outdent",false,Y);W.undoManager.add();return r.cancel(aa)}}}}function O(V,X){var U=B();if(X.keyCode===tinymce.VK.BACKSPACE&&V.dom.is(U,"li")&&U.parentNode.firstChild!==U){if(V.dom.select("ul,ol",U).length===1){var Z=U.previousSibling;V.dom.remove(V.dom.select("br",U));V.dom.remove(U,true);var W=tinymce.grep(Z.childNodes,function(aa){return aa.nodeType===3});if(W.length===1){var Y=W[0];V.selection.setCursorLocation(Y,Y.length)}V.undoManager.add();return r.cancel(X)}}}y.onKeyDown.add(function(U,V){x=M(V)});y.onKeyDown.add(D);y.onKeyDown.add(u);y.onKeyDown.add(K);if(tinymce.isGecko){y.onKeyUp.add(R)}if(tinymce.isIE8){y.onKeyUp.add(S)}if(tinymce.isGecko||tinymce.isWebKit){y.onKeyDown.add(Q)}if(tinymce.isWebKit){y.onKeyDown.add(O)}},applyList:function(y,v){var C=this,z=C.ed,I=z.dom,s=[],H=false,u=false,w=false,B,G=z.selection.getSelectedBlocks();function E(t){if(t&&t.tagName==="BR"){I.remove(t)}}function F(M){var N=I.create(y),t;function L(O){if(O.style.marginLeft||O.style.paddingLeft){C.adjustPaddingFunction(false)(O)}}if(M.tagName==="LI"){}else{if(M.tagName==="P"||M.tagName==="DIV"||M.tagName==="BODY"){K(M,function(P,O){J(P,O,M.tagName==="BODY"?null:P.parentNode);t=P.parentNode;L(t);E(O)});if(t){if(t.tagName==="LI"&&(M.tagName==="P"||G.length>1)){I.split(t.parentNode.parentNode,t.parentNode)}m(t.parentNode,true)}return}else{t=I.create("li");I.insertAfter(t,M);t.appendChild(M);L(M);M=t}}I.insertAfter(N,M);N.appendChild(M);m(N,true);s.push(M)}function J(P,L,N){var t,O=P,M;while(!I.isBlock(P.parentNode)&&P.parentNode!==I.getRoot()){P=I.split(P.parentNode,P.previousSibling);P=P.nextSibling;O=P}if(N){t=N.cloneNode(true);P.parentNode.insertBefore(t,P);while(t.firstChild){I.remove(t.firstChild)}t=I.rename(t,"li")}else{t=I.create("li");P.parentNode.insertBefore(t,P)}while(O&&O!=L){M=O.nextSibling;t.appendChild(O);O=M}if(t.childNodes.length===0){t.innerHTML='
    '}F(t)}function K(Q,T){var N,R,O=3,L=1,t="br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl";function P(X,U){var V=I.createRng(),W;g.keep=true;z.selection.moveToBookmark(g);g.keep=false;W=z.selection.getRng(true);if(!U){U=X.parentNode.lastChild}V.setStartBefore(X);V.setEndAfter(U);return !(V.compareBoundaryPoints(O,W)>0||V.compareBoundaryPoints(L,W)<=0)}function S(U){if(U.nextSibling){return U.nextSibling}if(!I.isBlock(U.parentNode)&&U.parentNode!==I.getRoot()){return S(U.parentNode)}}N=Q.firstChild;var M=false;e(I.select(t,Q),function(U){if(U.hasAttribute&&U.hasAttribute("_mce_bogus")){return true}if(P(N,U)){I.addClass(U,"_mce_tagged_br");N=S(U)}});M=(N&&P(N,undefined));N=Q.firstChild;e(I.select(t,Q),function(V){var U=S(V);if(V.hasAttribute&&V.hasAttribute("_mce_bogus")){return true}if(I.hasClass(V,"_mce_tagged_br")){T(N,V,R);R=null}else{R=V}N=U});if(M){T(N,undefined,R)}}function D(t){K(t,function(M,L,N){J(M,L);E(L);E(N)})}function A(t){if(tinymce.inArray(s,t)!==-1){return}if(t.parentNode.tagName===v){I.split(t.parentNode,t);F(t);o(t.parentNode,false)}s.push(t)}function x(M){var O,N,L,t;if(tinymce.inArray(s,M)!==-1){return}M=c(M,I);while(I.is(M.parentNode,"ol,ul,li")){I.split(M.parentNode,M)}s.push(M);M=I.rename(M,"p");L=m(M,false,z.settings.force_br_newlines);if(L===M){O=M.firstChild;while(O){if(I.isBlock(O)){O=I.split(O.parentNode,O);t=true;N=O.nextSibling&&O.nextSibling.firstChild}else{N=O.nextSibling;if(t&&O.tagName==="BR"){I.remove(O)}t=false}O=N}}}e(G,function(t){t=k(t,I);if(t.tagName===v||(t.tagName==="LI"&&t.parentNode.tagName===v)){u=true}else{if(t.tagName===y||(t.tagName==="LI"&&t.parentNode.tagName===y)){H=true}else{w=true}}});if(w&&!H||u||G.length===0){B={LI:A,H1:F,H2:F,H3:F,H4:F,H5:F,H6:F,P:F,BODY:F,DIV:G.length>1?F:D,defaultAction:D,elements:this.selectedBlocks()}}else{B={defaultAction:x,elements:this.selectedBlocks(),processEvenIfEmpty:true}}this.process(B)},indent:function(){var u=this.ed,w=u.dom,x=[];function s(z){var y=w.create("li",{style:"list-style-type: none;"});w.insertAfter(y,z);return y}function t(B){var y=s(B),D=w.getParent(B,"ol,ul"),C=D.tagName,E=w.getStyle(D,"list-style-type"),A={},z;if(E!==""){A.style="list-style-type: "+E+";"}z=w.create(C,A);y.appendChild(z);return z}function v(z){if(!d(u,z,x)){z=c(z,w);var y=t(z);y.appendChild(z);m(y.parentNode,false);m(y,false);x.push(z)}}this.process({LI:v,defaultAction:this.adjustPaddingFunction(true),elements:this.selectedBlocks()})},outdent:function(y,x){var w=this,u=w.ed,z=u.dom,s=[];function A(t){var C,B,D;if(!d(u,t,s)){if(z.getStyle(t,"margin-left")!==""||z.getStyle(t,"padding-left")!==""){return w.adjustPaddingFunction(false)(t)}D=z.getStyle(t,"text-align",true);if(D==="center"||D==="right"){z.setStyle(t,"text-align","left");return}t=c(t,z);C=t.parentNode;B=t.parentNode.parentNode;if(B.tagName==="P"){z.split(B,t.parentNode)}else{z.split(C,t);if(B.tagName==="LI"){z.split(B,t)}else{if(!z.is(B,"ol,ul")){z.rename(t,"p")}}}s.push(t)}}var v=x&&tinymce.is(x,"array")?x:this.selectedBlocks();this.process({LI:A,defaultAction:this.adjustPaddingFunction(false),elements:v});e(s,m)},process:function(y){var F=this,w=F.ed.selection,z=F.ed.dom,E,u;function B(t){var s=tinymce.grep(t.childNodes,function(H){return !(H.nodeName==="BR"||H.nodeName==="SPAN"&&z.getAttrib(H,"data-mce-type")=="bookmark"||H.nodeType==3&&(H.nodeValue==String.fromCharCode(160)||H.nodeValue==""))});return s.length===0}function x(s){z.removeClass(s,"_mce_act_on");if(!s||s.nodeType!==1||!y.processEvenIfEmpty&&E.length>1&&B(s)){return}s=k(s,z);var t=y[s.tagName];if(!t){t=y.defaultAction}t(s)}function v(s){F.splitSafeEach(s.childNodes,x,true)}function C(s,t){return t>=0&&s.hasChildNodes()&&t0){t=s.shift();w.removeClass(t,"_mce_act_on");u(t);s=w.select("._mce_act_on")}},adjustPaddingFunction:function(u){var s,v,t=this.ed;s=t.settings.indentation;v=/[a-z%]+/i.exec(s);s=parseInt(s,10);return function(w){var y,x;y=parseInt(t.dom.getStyle(w,"margin-left")||0,10)+parseInt(t.dom.getStyle(w,"padding-left")||0,10);if(u){x=y+s}else{x=y-s}t.dom.setStyle(w,"padding-left","");t.dom.setStyle(w,"margin-left",x>0?x+v:"")}},selectedBlocks:function(){var s=this.ed,t=s.selection.getSelectedBlocks();return t.length==0?[s.dom.getRoot()]:t},getInfo:function(){return{longname:"Lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("lists",tinymce.plugins.Lists)}()); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js new file mode 100644 index 00000000..1000ef74 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/lists/editor_plugin_src.js @@ -0,0 +1,955 @@ +/** + * editor_plugin_src.js + * + * Copyright 2011, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var each = tinymce.each, Event = tinymce.dom.Event, bookmark; + + // Skips text nodes that only contain whitespace since they aren't semantically important. + function skipWhitespaceNodes(e, next) { + while (e && (e.nodeType === 8 || (e.nodeType === 3 && /^[ \t\n\r]*$/.test(e.nodeValue)))) { + e = next(e); + } + return e; + } + + function skipWhitespaceNodesBackwards(e) { + return skipWhitespaceNodes(e, function(e) { + return e.previousSibling; + }); + } + + function skipWhitespaceNodesForwards(e) { + return skipWhitespaceNodes(e, function(e) { + return e.nextSibling; + }); + } + + function hasParentInList(ed, e, list) { + return ed.dom.getParent(e, function(p) { + return tinymce.inArray(list, p) !== -1; + }); + } + + function isList(e) { + return e && (e.tagName === 'OL' || e.tagName === 'UL'); + } + + function splitNestedLists(element, dom) { + var tmp, nested, wrapItem; + tmp = skipWhitespaceNodesBackwards(element.lastChild); + while (isList(tmp)) { + nested = tmp; + tmp = skipWhitespaceNodesBackwards(nested.previousSibling); + } + if (nested) { + wrapItem = dom.create('li', { style: 'list-style-type: none;'}); + dom.split(element, nested); + dom.insertAfter(wrapItem, nested); + wrapItem.appendChild(nested); + wrapItem.appendChild(nested); + element = wrapItem.previousSibling; + } + return element; + } + + function attemptMergeWithAdjacent(e, allowDifferentListStyles, mergeParagraphs) { + e = attemptMergeWithPrevious(e, allowDifferentListStyles, mergeParagraphs); + return attemptMergeWithNext(e, allowDifferentListStyles, mergeParagraphs); + } + + function attemptMergeWithPrevious(e, allowDifferentListStyles, mergeParagraphs) { + var prev = skipWhitespaceNodesBackwards(e.previousSibling); + if (prev) { + return attemptMerge(prev, e, allowDifferentListStyles ? prev : false, mergeParagraphs); + } else { + return e; + } + } + + function attemptMergeWithNext(e, allowDifferentListStyles, mergeParagraphs) { + var next = skipWhitespaceNodesForwards(e.nextSibling); + if (next) { + return attemptMerge(e, next, allowDifferentListStyles ? next : false, mergeParagraphs); + } else { + return e; + } + } + + function attemptMerge(e1, e2, differentStylesMasterElement, mergeParagraphs) { + if (canMerge(e1, e2, !!differentStylesMasterElement, mergeParagraphs)) { + return merge(e1, e2, differentStylesMasterElement); + } else if (e1 && e1.tagName === 'LI' && isList(e2)) { + // Fix invalidly nested lists. + e1.appendChild(e2); + } + return e2; + } + + function canMerge(e1, e2, allowDifferentListStyles, mergeParagraphs) { + if (!e1 || !e2) { + return false; + } else if (e1.tagName === 'LI' && e2.tagName === 'LI') { + return e2.style.listStyleType === 'none' || containsOnlyAList(e2); + } else if (isList(e1)) { + return (e1.tagName === e2.tagName && (allowDifferentListStyles || e1.style.listStyleType === e2.style.listStyleType)) || isListForIndent(e2); + } else return mergeParagraphs && e1.tagName === 'P' && e2.tagName === 'P'; + } + + function isListForIndent(e) { + var firstLI = skipWhitespaceNodesForwards(e.firstChild), lastLI = skipWhitespaceNodesBackwards(e.lastChild); + return firstLI && lastLI && isList(e) && firstLI === lastLI && (isList(firstLI) || firstLI.style.listStyleType === 'none' || containsOnlyAList(firstLI)); + } + + function containsOnlyAList(e) { + var firstChild = skipWhitespaceNodesForwards(e.firstChild), lastChild = skipWhitespaceNodesBackwards(e.lastChild); + return firstChild && lastChild && firstChild === lastChild && isList(firstChild); + } + + function merge(e1, e2, masterElement) { + var lastOriginal = skipWhitespaceNodesBackwards(e1.lastChild), firstNew = skipWhitespaceNodesForwards(e2.firstChild); + if (e1.tagName === 'P') { + e1.appendChild(e1.ownerDocument.createElement('br')); + } + while (e2.firstChild) { + e1.appendChild(e2.firstChild); + } + if (masterElement) { + e1.style.listStyleType = masterElement.style.listStyleType; + } + e2.parentNode.removeChild(e2); + attemptMerge(lastOriginal, firstNew, false); + return e1; + } + + function findItemToOperateOn(e, dom) { + var item; + if (!dom.is(e, 'li,ol,ul')) { + item = dom.getParent(e, 'li'); + if (item) { + e = item; + } + } + return e; + } + + tinymce.create('tinymce.plugins.Lists', { + init: function(ed) { + var LIST_TABBING = 'TABBING'; + var LIST_EMPTY_ITEM = 'EMPTY'; + var LIST_ESCAPE = 'ESCAPE'; + var LIST_PARAGRAPH = 'PARAGRAPH'; + var LIST_UNKNOWN = 'UNKNOWN'; + var state = LIST_UNKNOWN; + + function isTabInList(e) { + // Don't indent on Ctrl+Tab or Alt+Tab + return e.keyCode === tinymce.VK.TAB && !(e.altKey || e.ctrlKey) && + (ed.queryCommandState('InsertUnorderedList') || ed.queryCommandState('InsertOrderedList')); + } + + function isOnLastListItem() { + var li = getLi(); + var grandParent = li.parentNode.parentNode; + var isLastItem = li.parentNode.lastChild === li; + return isLastItem && !isNestedList(grandParent) && isEmptyListItem(li); + } + + function isNestedList(grandParent) { + if (isList(grandParent)) { + return grandParent.parentNode && grandParent.parentNode.tagName === 'LI'; + } else { + return grandParent.tagName === 'LI'; + } + } + + function isInEmptyListItem() { + return ed.selection.isCollapsed() && isEmptyListItem(getLi()); + } + + function getLi() { + var n = ed.selection.getStart(); + // Get start will return BR if the LI only contains a BR or an empty element as we use these to fix caret position + return ((n.tagName == 'BR' || n.tagName == '') && n.parentNode.tagName == 'LI') ? n.parentNode : n; + } + + function isEmptyListItem(li) { + var numChildren = li.childNodes.length; + if (li.tagName === 'LI') { + return numChildren == 0 ? true : numChildren == 1 && (li.firstChild.tagName == '' || li.firstChild.tagName == 'BR' || isEmptyIE9Li(li)); + } + return false; + } + + function isEmptyIE9Li(li) { + // only consider this to be last item if there is no list item content or that content is nbsp or space since IE9 creates these + var lis = tinymce.grep(li.parentNode.childNodes, function(n) {return n.tagName == 'LI'}); + var isLastLi = li == lis[lis.length - 1]; + var child = li.firstChild; + return tinymce.isIE9 && isLastLi && (child.nodeValue == String.fromCharCode(160) || child.nodeValue == String.fromCharCode(32)); + } + + function isEnter(e) { + return e.keyCode === tinymce.VK.ENTER; + } + + function isEnterWithoutShift(e) { + return isEnter(e) && !e.shiftKey; + } + + function getListKeyState(e) { + if (isTabInList(e)) { + return LIST_TABBING; + } else if (isEnterWithoutShift(e) && isOnLastListItem()) { + // Returns LIST_UNKNOWN since breaking out of lists is handled by the EnterKey.js logic now + //return LIST_ESCAPE; + return LIST_UNKNOWN; + } else if (isEnterWithoutShift(e) && isInEmptyListItem()) { + return LIST_EMPTY_ITEM; + } else { + return LIST_UNKNOWN; + } + } + + function cancelDefaultEvents(ed, e) { + // list escape is done manually using outdent as it does not create paragraphs correctly in td's + if (state == LIST_TABBING || state == LIST_EMPTY_ITEM || tinymce.isGecko && state == LIST_ESCAPE) { + Event.cancel(e); + } + } + + function isCursorAtEndOfContainer() { + var range = ed.selection.getRng(true); + var startContainer = range.startContainer; + if (startContainer.nodeType == 3) { + var value = startContainer.nodeValue; + if (tinymce.isIE9 && value.length > 1 && value.charCodeAt(value.length-1) == 32) { + // IE9 places a space on the end of the text in some cases so ignore last char + return (range.endOffset == value.length-1); + } else { + return (range.endOffset == value.length); + } + } else if (startContainer.nodeType == 1) { + return range.endOffset == startContainer.childNodes.length; + } + return false; + } + + /* + If we are at the end of a list item surrounded with an element, pressing enter should create a + new list item instead without splitting the element e.g. don't want to create new P or H1 tag + */ + function isEndOfListItem() { + var node = ed.selection.getNode(); + var validElements = 'h1,h2,h3,h4,h5,h6,p,div'; + var isLastParagraphOfLi = ed.dom.is(node, validElements) && node.parentNode.tagName === 'LI' && node.parentNode.lastChild === node; + return ed.selection.isCollapsed() && isLastParagraphOfLi && isCursorAtEndOfContainer(); + } + + // Creates a new list item after the current selection's list item parent + function createNewLi(ed, e) { + if (isEnterWithoutShift(e) && isEndOfListItem()) { + var node = ed.selection.getNode(); + var li = ed.dom.create("li"); + var parentLi = ed.dom.getParent(node, 'li'); + ed.dom.insertAfter(li, parentLi); + + // Move caret to new list element. + if (tinymce.isIE6 || tinymce.isIE7 || tinyMCE.isIE8) { + // Removed this line since it would create an odd < > tag and placing the caret inside an empty LI is handled and should be handled by the selection logic + //li.appendChild(ed.dom.create(" ")); // IE needs an element within the bullet point + ed.selection.setCursorLocation(li, 1); + } else { + ed.selection.setCursorLocation(li, 0); + } + e.preventDefault(); + } + } + + function imageJoiningListItem(ed, e) { + var prevSibling; + + if (!tinymce.isGecko) + return; + + var n = ed.selection.getStart(); + if (e.keyCode != tinymce.VK.BACKSPACE || n.tagName !== 'IMG') + return; + + function lastLI(node) { + var child = node.firstChild; + var li = null; + do { + if (!child) + break; + + if (child.tagName === 'LI') + li = child; + } while (child = child.nextSibling); + + return li; + } + + function addChildren(parentNode, destination) { + while (parentNode.childNodes.length > 0) + destination.appendChild(parentNode.childNodes[0]); + } + + // Check if there is a previous sibling + prevSibling = n.parentNode.previousSibling; + if (!prevSibling) + return; + + var ul; + if (prevSibling.tagName === 'UL' || prevSibling.tagName === 'OL') + ul = prevSibling; + else if (prevSibling.previousSibling && (prevSibling.previousSibling.tagName === 'UL' || prevSibling.previousSibling.tagName === 'OL')) + ul = prevSibling.previousSibling; + else + return; + + var li = lastLI(ul); + + // move the caret to the end of the list item + var rng = ed.dom.createRng(); + rng.setStart(li, 1); + rng.setEnd(li, 1); + ed.selection.setRng(rng); + ed.selection.collapse(true); + + // save a bookmark at the end of the list item + var bookmark = ed.selection.getBookmark(); + + // copy the image an its text to the list item + var clone = n.parentNode.cloneNode(true); + if (clone.tagName === 'P' || clone.tagName === 'DIV') + addChildren(clone, li); + else + li.appendChild(clone); + + // remove the old copy of the image + n.parentNode.parentNode.removeChild(n.parentNode); + + // move the caret where we saved the bookmark + ed.selection.moveToBookmark(bookmark); + } + + // fix the cursor position to ensure it is correct in IE + function setCursorPositionToOriginalLi(li) { + var list = ed.dom.getParent(li, 'ol,ul'); + if (list != null) { + var lastLi = list.lastChild; + // Removed this line since IE9 would report an DOM character error and placing the caret inside an empty LI is handled and should be handled by the selection logic + //lastLi.appendChild(ed.getDoc().createElement('')); + ed.selection.setCursorLocation(lastLi, 0); + } + } + + this.ed = ed; + ed.addCommand('Indent', this.indent, this); + ed.addCommand('Outdent', this.outdent, this); + ed.addCommand('InsertUnorderedList', function() { + this.applyList('UL', 'OL'); + }, this); + ed.addCommand('InsertOrderedList', function() { + this.applyList('OL', 'UL'); + }, this); + + ed.onInit.add(function() { + ed.editorCommands.addCommands({ + 'outdent': function() { + var sel = ed.selection, dom = ed.dom; + + function hasStyleIndent(n) { + n = dom.getParent(n, dom.isBlock); + return n && (parseInt(ed.dom.getStyle(n, 'margin-left') || 0, 10) + parseInt(ed.dom.getStyle(n, 'padding-left') || 0, 10)) > 0; + } + + return hasStyleIndent(sel.getStart()) || hasStyleIndent(sel.getEnd()) || ed.queryCommandState('InsertOrderedList') || ed.queryCommandState('InsertUnorderedList'); + } + }, 'state'); + }); + + ed.onKeyUp.add(function(ed, e) { + if (state == LIST_TABBING) { + ed.execCommand(e.shiftKey ? 'Outdent' : 'Indent', true, null); + state = LIST_UNKNOWN; + return Event.cancel(e); + } else if (state == LIST_EMPTY_ITEM) { + var li = getLi(); + var shouldOutdent = ed.settings.list_outdent_on_enter === true || e.shiftKey; + ed.execCommand(shouldOutdent ? 'Outdent' : 'Indent', true, null); + if (tinymce.isIE) { + setCursorPositionToOriginalLi(li); + } + + return Event.cancel(e); + } else if (state == LIST_ESCAPE) { + if (tinymce.isIE6 || tinymce.isIE7 || tinymce.isIE8) { + // append a zero sized nbsp so that caret is positioned correctly in IE after escaping and applying formatting. + // if there is no text then applying formatting for e.g a H1 to the P tag immediately following list after + // escaping from it will cause the caret to be positioned on the last li instead of staying the in P tag. + var n = ed.getDoc().createTextNode('\uFEFF'); + ed.selection.getNode().appendChild(n); + } else if (tinymce.isIE9 || tinymce.isGecko) { + // IE9 does not escape the list so we use outdent to do this and cancel the default behaviour + // Gecko does not create a paragraph outdenting inside a TD so default behaviour is cancelled and we outdent ourselves + ed.execCommand('Outdent'); + return Event.cancel(e); + } + } + }); + + function fixListItem(parent, reference) { + // a zero-sized non-breaking space is placed in the empty list item so that the nested list is + // displayed on the below line instead of next to it + var n = ed.getDoc().createTextNode('\uFEFF'); + parent.insertBefore(n, reference); + ed.selection.setCursorLocation(n, 0); + // repaint to remove rendering artifact. only visible when creating new list + ed.execCommand('mceRepaint'); + } + + function fixIndentedListItemForGecko(ed, e) { + if (isEnter(e)) { + var li = getLi(); + if (li) { + var parent = li.parentNode; + var grandParent = parent && parent.parentNode; + if (grandParent && grandParent.nodeName == 'LI' && grandParent.firstChild == parent && li == parent.firstChild) { + fixListItem(grandParent, parent); + } + } + } + } + + function fixIndentedListItemForIE8(ed, e) { + if (isEnter(e)) { + var li = getLi(); + if (ed.dom.select('ul li', li).length === 1) { + var list = li.firstChild; + fixListItem(li, list); + } + } + } + + function fixDeletingFirstCharOfList(ed, e) { + function listElements(li) { + var elements = []; + var walker = new tinymce.dom.TreeWalker(li.firstChild, li); + for (var node = walker.current(); node; node = walker.next()) { + if (ed.dom.is(node, 'ol,ul,li')) { + elements.push(node); + } + } + return elements; + } + + if (e.keyCode == tinymce.VK.BACKSPACE) { + var li = getLi(); + if (li) { + var list = ed.dom.getParent(li, 'ol,ul'), + rng = ed.selection.getRng(); + if (list && list.firstChild === li && rng.startOffset == 0) { + var elements = listElements(li); + elements.unshift(li); + ed.execCommand("Outdent", false, elements); + ed.undoManager.add(); + return Event.cancel(e); + } + } + } + } + + function fixDeletingEmptyLiInWebkit(ed, e) { + var li = getLi(); + if (e.keyCode === tinymce.VK.BACKSPACE && ed.dom.is(li, 'li') && li.parentNode.firstChild!==li) { + if (ed.dom.select('ul,ol', li).length === 1) { + var prevLi = li.previousSibling; + ed.dom.remove(ed.dom.select('br', li)); + ed.dom.remove(li, true); + var textNodes = tinymce.grep(prevLi.childNodes, function(n){ return n.nodeType === 3 }); + if (textNodes.length === 1) { + var textNode = textNodes[0]; + ed.selection.setCursorLocation(textNode, textNode.length); + } + ed.undoManager.add(); + return Event.cancel(e); + } + } + } + + ed.onKeyDown.add(function(_, e) { state = getListKeyState(e); }); + ed.onKeyDown.add(cancelDefaultEvents); + ed.onKeyDown.add(imageJoiningListItem); + ed.onKeyDown.add(createNewLi); + + if (tinymce.isGecko) { + ed.onKeyUp.add(fixIndentedListItemForGecko); + } + if (tinymce.isIE8) { + ed.onKeyUp.add(fixIndentedListItemForIE8); + } + if (tinymce.isGecko || tinymce.isWebKit) { + ed.onKeyDown.add(fixDeletingFirstCharOfList); + } + if (tinymce.isWebKit) { + ed.onKeyDown.add(fixDeletingEmptyLiInWebkit); + } + }, + + applyList: function(targetListType, oppositeListType) { + var t = this, ed = t.ed, dom = ed.dom, applied = [], hasSameType = false, hasOppositeType = false, hasNonList = false, actions, + selectedBlocks = ed.selection.getSelectedBlocks(); + + function cleanupBr(e) { + if (e && e.tagName === 'BR') { + dom.remove(e); + } + } + + function makeList(element) { + var list = dom.create(targetListType), li; + + function adjustIndentForNewList(element) { + // If there's a margin-left, outdent one level to account for the extra list margin. + if (element.style.marginLeft || element.style.paddingLeft) { + t.adjustPaddingFunction(false)(element); + } + } + + if (element.tagName === 'LI') { + // No change required. + } else if (element.tagName === 'P' || element.tagName === 'DIV' || element.tagName === 'BODY') { + processBrs(element, function(startSection, br) { + doWrapList(startSection, br, element.tagName === 'BODY' ? null : startSection.parentNode); + li = startSection.parentNode; + adjustIndentForNewList(li); + cleanupBr(br); + }); + if (li) { + if (li.tagName === 'LI' && (element.tagName === 'P' || selectedBlocks.length > 1)) { + dom.split(li.parentNode.parentNode, li.parentNode); + } + attemptMergeWithAdjacent(li.parentNode, true); + } + return; + } else { + // Put the list around the element. + li = dom.create('li'); + dom.insertAfter(li, element); + li.appendChild(element); + adjustIndentForNewList(element); + element = li; + } + dom.insertAfter(list, element); + list.appendChild(element); + attemptMergeWithAdjacent(list, true); + applied.push(element); + } + + function doWrapList(start, end, template) { + var li, n = start, tmp; + while (!dom.isBlock(start.parentNode) && start.parentNode !== dom.getRoot()) { + start = dom.split(start.parentNode, start.previousSibling); + start = start.nextSibling; + n = start; + } + if (template) { + li = template.cloneNode(true); + start.parentNode.insertBefore(li, start); + while (li.firstChild) dom.remove(li.firstChild); + li = dom.rename(li, 'li'); + } else { + li = dom.create('li'); + start.parentNode.insertBefore(li, start); + } + while (n && n != end) { + tmp = n.nextSibling; + li.appendChild(n); + n = tmp; + } + if (li.childNodes.length === 0) { + li.innerHTML = '
    '; + } + makeList(li); + } + + function processBrs(element, callback) { + var startSection, previousBR, END_TO_START = 3, START_TO_END = 1, + breakElements = 'br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl'; + + function isAnyPartSelected(start, end) { + var r = dom.createRng(), sel; + bookmark.keep = true; + ed.selection.moveToBookmark(bookmark); + bookmark.keep = false; + sel = ed.selection.getRng(true); + if (!end) { + end = start.parentNode.lastChild; + } + r.setStartBefore(start); + r.setEndAfter(end); + return !(r.compareBoundaryPoints(END_TO_START, sel) > 0 || r.compareBoundaryPoints(START_TO_END, sel) <= 0); + } + + function nextLeaf(br) { + if (br.nextSibling) + return br.nextSibling; + if (!dom.isBlock(br.parentNode) && br.parentNode !== dom.getRoot()) + return nextLeaf(br.parentNode); + } + + // Split on BRs within the range and process those. + startSection = element.firstChild; + // First mark the BRs that have any part of the previous section selected. + var trailingContentSelected = false; + each(dom.select(breakElements, element), function(br) { + if (br.hasAttribute && br.hasAttribute('_mce_bogus')) { + return true; // Skip the bogus Brs that are put in to appease Firefox and Safari. + } + if (isAnyPartSelected(startSection, br)) { + dom.addClass(br, '_mce_tagged_br'); + startSection = nextLeaf(br); + } + }); + trailingContentSelected = (startSection && isAnyPartSelected(startSection, undefined)); + startSection = element.firstChild; + each(dom.select(breakElements, element), function(br) { + // Got a section from start to br. + var tmp = nextLeaf(br); + if (br.hasAttribute && br.hasAttribute('_mce_bogus')) { + return true; // Skip the bogus Brs that are put in to appease Firefox and Safari. + } + if (dom.hasClass(br, '_mce_tagged_br')) { + callback(startSection, br, previousBR); + previousBR = null; + } else { + previousBR = br; + } + startSection = tmp; + }); + if (trailingContentSelected) { + callback(startSection, undefined, previousBR); + } + } + + function wrapList(element) { + processBrs(element, function(startSection, br, previousBR) { + // Need to indent this part + doWrapList(startSection, br); + cleanupBr(br); + cleanupBr(previousBR); + }); + } + + function changeList(element) { + if (tinymce.inArray(applied, element) !== -1) { + return; + } + if (element.parentNode.tagName === oppositeListType) { + dom.split(element.parentNode, element); + makeList(element); + attemptMergeWithNext(element.parentNode, false); + } + applied.push(element); + } + + function convertListItemToParagraph(element) { + var child, nextChild, mergedElement, splitLast; + if (tinymce.inArray(applied, element) !== -1) { + return; + } + element = splitNestedLists(element, dom); + while (dom.is(element.parentNode, 'ol,ul,li')) { + dom.split(element.parentNode, element); + } + // Push the original element we have from the selection, not the renamed one. + applied.push(element); + element = dom.rename(element, 'p'); + mergedElement = attemptMergeWithAdjacent(element, false, ed.settings.force_br_newlines); + if (mergedElement === element) { + // Now split out any block elements that can't be contained within a P. + // Manually iterate to ensure we handle modifications correctly (doesn't work with tinymce.each) + child = element.firstChild; + while (child) { + if (dom.isBlock(child)) { + child = dom.split(child.parentNode, child); + splitLast = true; + nextChild = child.nextSibling && child.nextSibling.firstChild; + } else { + nextChild = child.nextSibling; + if (splitLast && child.tagName === 'BR') { + dom.remove(child); + } + splitLast = false; + } + child = nextChild; + } + } + } + + each(selectedBlocks, function(e) { + e = findItemToOperateOn(e, dom); + if (e.tagName === oppositeListType || (e.tagName === 'LI' && e.parentNode.tagName === oppositeListType)) { + hasOppositeType = true; + } else if (e.tagName === targetListType || (e.tagName === 'LI' && e.parentNode.tagName === targetListType)) { + hasSameType = true; + } else { + hasNonList = true; + } + }); + + if (hasNonList &&!hasSameType || hasOppositeType || selectedBlocks.length === 0) { + actions = { + 'LI': changeList, + 'H1': makeList, + 'H2': makeList, + 'H3': makeList, + 'H4': makeList, + 'H5': makeList, + 'H6': makeList, + 'P': makeList, + 'BODY': makeList, + 'DIV': selectedBlocks.length > 1 ? makeList : wrapList, + defaultAction: wrapList, + elements: this.selectedBlocks() + }; + } else { + actions = { + defaultAction: convertListItemToParagraph, + elements: this.selectedBlocks(), + processEvenIfEmpty: true + }; + } + this.process(actions); + }, + + indent: function() { + var ed = this.ed, dom = ed.dom, indented = []; + + function createWrapItem(element) { + var wrapItem = dom.create('li', { style: 'list-style-type: none;'}); + dom.insertAfter(wrapItem, element); + return wrapItem; + } + + function createWrapList(element) { + var wrapItem = createWrapItem(element), + list = dom.getParent(element, 'ol,ul'), + listType = list.tagName, + listStyle = dom.getStyle(list, 'list-style-type'), + attrs = {}, + wrapList; + if (listStyle !== '') { + attrs.style = 'list-style-type: ' + listStyle + ';'; + } + wrapList = dom.create(listType, attrs); + wrapItem.appendChild(wrapList); + return wrapList; + } + + function indentLI(element) { + if (!hasParentInList(ed, element, indented)) { + element = splitNestedLists(element, dom); + var wrapList = createWrapList(element); + wrapList.appendChild(element); + attemptMergeWithAdjacent(wrapList.parentNode, false); + attemptMergeWithAdjacent(wrapList, false); + indented.push(element); + } + } + + this.process({ + 'LI': indentLI, + defaultAction: this.adjustPaddingFunction(true), + elements: this.selectedBlocks() + }); + + }, + + outdent: function(ui, elements) { + var t = this, ed = t.ed, dom = ed.dom, outdented = []; + + function outdentLI(element) { + var listElement, targetParent, align; + if (!hasParentInList(ed, element, outdented)) { + if (dom.getStyle(element, 'margin-left') !== '' || dom.getStyle(element, 'padding-left') !== '') { + return t.adjustPaddingFunction(false)(element); + } + align = dom.getStyle(element, 'text-align', true); + if (align === 'center' || align === 'right') { + dom.setStyle(element, 'text-align', 'left'); + return; + } + element = splitNestedLists(element, dom); + listElement = element.parentNode; + targetParent = element.parentNode.parentNode; + if (targetParent.tagName === 'P') { + dom.split(targetParent, element.parentNode); + } else { + dom.split(listElement, element); + if (targetParent.tagName === 'LI') { + // Nested list, need to split the LI and go back out to the OL/UL element. + dom.split(targetParent, element); + } else if (!dom.is(targetParent, 'ol,ul')) { + dom.rename(element, 'p'); + } + } + outdented.push(element); + } + } + + var listElements = elements && tinymce.is(elements, 'array') ? elements : this.selectedBlocks(); + this.process({ + 'LI': outdentLI, + defaultAction: this.adjustPaddingFunction(false), + elements: listElements + }); + + each(outdented, attemptMergeWithAdjacent); + }, + + process: function(actions) { + var t = this, sel = t.ed.selection, dom = t.ed.dom, selectedBlocks, r; + + function isEmptyElement(element) { + var excludeBrsAndBookmarks = tinymce.grep(element.childNodes, function(n) { + return !(n.nodeName === 'BR' || n.nodeName === 'SPAN' && dom.getAttrib(n, 'data-mce-type') == 'bookmark' + || n.nodeType == 3 && (n.nodeValue == String.fromCharCode(160) || n.nodeValue == '')); + }); + return excludeBrsAndBookmarks.length === 0; + } + + function processElement(element) { + dom.removeClass(element, '_mce_act_on'); + if (!element || element.nodeType !== 1 || ! actions.processEvenIfEmpty && selectedBlocks.length > 1 && isEmptyElement(element)) { + return; + } + element = findItemToOperateOn(element, dom); + var action = actions[element.tagName]; + if (!action) { + action = actions.defaultAction; + } + action(element); + } + + function recurse(element) { + t.splitSafeEach(element.childNodes, processElement, true); + } + + function brAtEdgeOfSelection(container, offset) { + return offset >= 0 && container.hasChildNodes() && offset < container.childNodes.length && + container.childNodes[offset].tagName === 'BR'; + } + + function isInTable() { + var n = sel.getNode(); + var p = dom.getParent(n, 'td'); + return p !== null; + } + + selectedBlocks = actions.elements; + + r = sel.getRng(true); + if (!r.collapsed) { + if (brAtEdgeOfSelection(r.endContainer, r.endOffset - 1)) { + r.setEnd(r.endContainer, r.endOffset - 1); + sel.setRng(r); + } + if (brAtEdgeOfSelection(r.startContainer, r.startOffset)) { + r.setStart(r.startContainer, r.startOffset + 1); + sel.setRng(r); + } + } + + + if (tinymce.isIE8) { + // append a zero sized nbsp so that caret is restored correctly using bookmark + var s = t.ed.selection.getNode(); + if (s.tagName === 'LI' && !(s.parentNode.lastChild === s)) { + var i = t.ed.getDoc().createTextNode('\uFEFF'); + s.appendChild(i); + } + } + + bookmark = sel.getBookmark(); + actions.OL = actions.UL = recurse; + t.splitSafeEach(selectedBlocks, processElement); + sel.moveToBookmark(bookmark); + bookmark = null; + + // we avoid doing repaint in a table as this will move the caret out of the table in Firefox 3.6 + if (!isInTable()) { + // Avoids table or image handles being left behind in Firefox. + t.ed.execCommand('mceRepaint'); + } + }, + + splitSafeEach: function(elements, f, forceClassBase) { + if (forceClassBase || + (tinymce.isGecko && + (/Firefox\/[12]\.[0-9]/.test(navigator.userAgent) || + /Firefox\/3\.[0-4]/.test(navigator.userAgent)))) { + this.classBasedEach(elements, f); + } else { + each(elements, f); + } + }, + + classBasedEach: function(elements, f) { + var dom = this.ed.dom, nodes, element; + // Mark nodes + each(elements, function(element) { + dom.addClass(element, '_mce_act_on'); + }); + nodes = dom.select('._mce_act_on'); + while (nodes.length > 0) { + element = nodes.shift(); + dom.removeClass(element, '_mce_act_on'); + f(element); + nodes = dom.select('._mce_act_on'); + } + }, + + adjustPaddingFunction: function(isIndent) { + var indentAmount, indentUnits, ed = this.ed; + indentAmount = ed.settings.indentation; + indentUnits = /[a-z%]+/i.exec(indentAmount); + indentAmount = parseInt(indentAmount, 10); + return function(element) { + var currentIndent, newIndentAmount; + currentIndent = parseInt(ed.dom.getStyle(element, 'margin-left') || 0, 10) + parseInt(ed.dom.getStyle(element, 'padding-left') || 0, 10); + if (isIndent) { + newIndentAmount = currentIndent + indentAmount; + } else { + newIndentAmount = currentIndent - indentAmount; + } + ed.dom.setStyle(element, 'padding-left', ''); + ed.dom.setStyle(element, 'margin-left', newIndentAmount > 0 ? newIndentAmount + indentUnits : ''); + }; + }, + + selectedBlocks: function() { + var ed = this.ed, selectedBlocks = ed.selection.getSelectedBlocks(); + return selectedBlocks.length == 0 ? [ ed.dom.getRoot() ] : selectedBlocks; + }, + + getInfo: function() { + return { + longname : 'Lists', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + tinymce.PluginManager.add("lists", tinymce.plugins.Lists); +}()); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css new file mode 100755 index 00000000..0c45c7ff --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/css/media.css @@ -0,0 +1,17 @@ +#id, #name, #hspace, #vspace, #class_name, #align { width: 100px } +#hspace, #vspace { width: 50px } +#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px } +#flash_base, #flash_flashvars, #html5_altsource1, #html5_altsource2, #html5_poster { width: 240px } +#width, #height { width: 40px } +#src, #media_type { width: 250px } +#class { width: 120px } +#prev { margin: 0; border: 1px solid black; width: 380px; height: 260px; overflow: auto } +.panel_wrapper div.current { height: 420px; overflow: auto } +#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none } +.mceAddSelectValue { background-color: #DDDDDD } +#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px } +#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px } +#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px } +#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px } +#qt_qtsrc { width: 200px } +iframe {border: 1px solid gray} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js new file mode 100755 index 00000000..9ac42e0d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/editor_plugin.js @@ -0,0 +1 @@ +(function(){var b=tinymce.explode("id,name,width,height,style,align,class,hspace,vspace,bgcolor,type"),a=tinymce.makeMap(b.join(",")),f=tinymce.html.Node,d,i,h=tinymce.util.JSON,g;d=[["Flash","d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],["ShockWave","166b1bca-3f9c-11cf-8075-444553540000","application/x-director","http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"],["WindowsMedia","6bf52a52-394a-11d3-b153-00c04f79faa6,22d6f312-b0f6-11d0-94ab-0080c74c7e95,05589fa1-c356-11ce-bf01-00aa0055595a","application/x-mplayer2","http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"],["QuickTime","02bf25d5-8c17-4b23-bc80-d3488abddc6b","video/quicktime","http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"],["RealMedia","cfcdaa03-8be4-11cf-b84b-0020afbbccfa","audio/x-pn-realaudio-plugin","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"],["Java","8ad9c840-044e-11d1-b3e9-00805f499d93","application/x-java-applet","http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0"],["Silverlight","dfeaf541-f3e1-4c24-acac-99c30715084a","application/x-silverlight-2"],["Iframe"],["Video"],["EmbeddedAudio"],["Audio"]];function e(j){return typeof(j)=="string"?j.replace(/[^0-9%]/g,""):j}function c(m){var l,j,k;if(m&&!m.splice){j=[];for(k=0;true;k++){if(m[k]){j[k]=m[k]}else{break}}return j}return m}tinymce.create("tinymce.plugins.MediaPlugin",{init:function(n,j){var r=this,l={},m,p,q,k;function o(s){return s&&s.nodeName==="IMG"&&n.dom.hasClass(s,"mceItemMedia")}r.editor=n;r.url=j;i="";for(m=0;m0){O+=(O?"&":"")+P+"="+escape(Q)}});if(O.length){G.params.flashvars=O}L=p.getParam("flash_video_player_params",{allowfullscreen:true,allowscriptaccess:true});tinymce.each(L,function(Q,P){G.params[P]=""+Q})}}G=z.attr("data-mce-json");if(!G){return}G=h.parse(G);q=this.getType(z.attr("class"));B=z.attr("data-mce-style");if(!B){B=z.attr("style");if(B){B=p.dom.serializeStyle(p.dom.parseStyle(B,"img"))}}G.width=z.attr("width")||G.width;G.height=z.attr("height")||G.height;if(q.name==="Iframe"){x=new f("iframe",1);tinymce.each(b,function(n){var J=z.attr(n);if(n=="class"&&J){J=J.replace(/mceItem.+ ?/g,"")}if(J&&J.length>0){x.attr(n,J)}});for(I in G.params){x.attr(I,G.params[I])}x.attr({style:B,src:G.params.src});z.replace(x);return}if(this.editor.settings.media_use_script){x=new f("script",1).attr("type","text/javascript");y=new f("#text",3);y.value="write"+q.name+"("+h.serialize(tinymce.extend(G.params,{width:z.attr("width"),height:z.attr("height")}))+");";x.append(y);z.replace(x);return}if(q.name==="Video"&&G.video.sources[0]){C=new f("video",1).attr(tinymce.extend({id:z.attr("id"),width:e(z.attr("width")),height:e(z.attr("height")),style:B},G.video.attrs));if(G.video.attrs){l=G.video.attrs.poster}k=G.video.sources=c(G.video.sources);for(A=0;A 0) + flashVarsOutput += (flashVarsOutput ? '&' : '') + name + '=' + escape(value); + }); + + if (flashVarsOutput.length) + data.params.flashvars = flashVarsOutput; + + params = editor.getParam('flash_video_player_params', { + allowfullscreen: true, + allowscriptaccess: true + }); + + tinymce.each(params, function(value, name) { + data.params[name] = "" + value; + }); + } + }; + + data = node.attr('data-mce-json'); + if (!data) + return; + + data = JSON.parse(data); + typeItem = this.getType(node.attr('class')); + + style = node.attr('data-mce-style'); + if (!style) { + style = node.attr('style'); + + if (style) + style = editor.dom.serializeStyle(editor.dom.parseStyle(style, 'img')); + } + + // Use node width/height to override the data width/height when the placeholder is resized + data.width = node.attr('width') || data.width; + data.height = node.attr('height') || data.height; + + // Handle iframe + if (typeItem.name === 'Iframe') { + replacement = new Node('iframe', 1); + + tinymce.each(rootAttributes, function(name) { + var value = node.attr(name); + + if (name == 'class' && value) + value = value.replace(/mceItem.+ ?/g, ''); + + if (value && value.length > 0) + replacement.attr(name, value); + }); + + for (name in data.params) + replacement.attr(name, data.params[name]); + + replacement.attr({ + style: style, + src: data.params.src + }); + + node.replace(replacement); + + return; + } + + // Handle scripts + if (this.editor.settings.media_use_script) { + replacement = new Node('script', 1).attr('type', 'text/javascript'); + + value = new Node('#text', 3); + value.value = 'write' + typeItem.name + '(' + JSON.serialize(tinymce.extend(data.params, { + width: node.attr('width'), + height: node.attr('height') + })) + ');'; + + replacement.append(value); + node.replace(replacement); + + return; + } + + // Add HTML5 video element + if (typeItem.name === 'Video' && data.video.sources[0]) { + // Create new object element + video = new Node('video', 1).attr(tinymce.extend({ + id : node.attr('id'), + width: normalizeSize(node.attr('width')), + height: normalizeSize(node.attr('height')), + style : style + }, data.video.attrs)); + + // Get poster source and use that for flash fallback + if (data.video.attrs) + posterSrc = data.video.attrs.poster; + + sources = data.video.sources = toArray(data.video.sources); + for (i = 0; i < sources.length; i++) { + if (/\.mp4$/.test(sources[i].src)) + mp4Source = sources[i].src; + } + + if (!sources[0].type) { + video.attr('src', sources[0].src); + sources.splice(0, 1); + } + + for (i = 0; i < sources.length; i++) { + source = new Node('source', 1).attr(sources[i]); + source.shortEnded = true; + video.append(source); + } + + // Create flash fallback for video if we have a mp4 source + if (mp4Source) { + addPlayer(mp4Source, posterSrc); + typeItem = self.getType('flash'); + } else + data.params.src = ''; + } + + // Add HTML5 audio element + if (typeItem.name === 'Audio' && data.video.sources[0]) { + // Create new object element + audio = new Node('audio', 1).attr(tinymce.extend({ + id : node.attr('id'), + width: normalizeSize(node.attr('width')), + height: normalizeSize(node.attr('height')), + style : style + }, data.video.attrs)); + + // Get poster source and use that for flash fallback + if (data.video.attrs) + posterSrc = data.video.attrs.poster; + + sources = data.video.sources = toArray(data.video.sources); + if (!sources[0].type) { + audio.attr('src', sources[0].src); + sources.splice(0, 1); + } + + for (i = 0; i < sources.length; i++) { + source = new Node('source', 1).attr(sources[i]); + source.shortEnded = true; + audio.append(source); + } + + data.params.src = ''; + } + + if (typeItem.name === 'EmbeddedAudio') { + embed = new Node('embed', 1); + embed.shortEnded = true; + embed.attr({ + id: node.attr('id'), + width: normalizeSize(node.attr('width')), + height: normalizeSize(node.attr('height')), + style : style, + type: node.attr('type') + }); + + for (name in data.params) + embed.attr(name, data.params[name]); + + tinymce.each(rootAttributes, function(name) { + if (data[name] && name != 'type') + embed.attr(name, data[name]); + }); + + data.params.src = ''; + } + + // Do we have a params src then we can generate object + if (data.params.src) { + // Is flv movie add player for it + if (/\.flv$/i.test(data.params.src)) + addPlayer(data.params.src, ''); + + if (args && args.force_absolute) + data.params.src = editor.documentBaseURI.toAbsolute(data.params.src); + + // Create new object element + object = new Node('object', 1).attr({ + id : node.attr('id'), + width: normalizeSize(node.attr('width')), + height: normalizeSize(node.attr('height')), + style : style + }); + + tinymce.each(rootAttributes, function(name) { + var value = data[name]; + + if (name == 'class' && value) + value = value.replace(/mceItem.+ ?/g, ''); + + if (value && name != 'type') + object.attr(name, value); + }); + + // Add params + for (name in data.params) { + param = new Node('param', 1); + param.shortEnded = true; + value = data.params[name]; + + // Windows media needs to use url instead of src for the media URL + if (name === 'src' && typeItem.name === 'WindowsMedia') + name = 'url'; + + param.attr({name: name, value: value}); + object.append(param); + } + + // Setup add type and classid if strict is disabled + if (this.editor.getParam('media_strict', true)) { + object.attr({ + data: data.params.src, + type: typeItem.mimes[0] + }); + } else { + object.attr({ + classid: "clsid:" + typeItem.clsids[0], + codebase: typeItem.codebase + }); + + embed = new Node('embed', 1); + embed.shortEnded = true; + embed.attr({ + id: node.attr('id'), + width: normalizeSize(node.attr('width')), + height: normalizeSize(node.attr('height')), + style : style, + type: typeItem.mimes[0] + }); + + for (name in data.params) + embed.attr(name, data.params[name]); + + tinymce.each(rootAttributes, function(name) { + if (data[name] && name != 'type') + embed.attr(name, data[name]); + }); + + object.append(embed); + } + + // Insert raw HTML + if (data.object_html) { + value = new Node('#text', 3); + value.raw = true; + value.value = data.object_html; + object.append(value); + } + + // Append object to video element if it exists + if (video) + video.append(object); + } + + if (video) { + // Insert raw HTML + if (data.video_html) { + value = new Node('#text', 3); + value.raw = true; + value.value = data.video_html; + video.append(value); + } + } + + if (audio) { + // Insert raw HTML + if (data.video_html) { + value = new Node('#text', 3); + value.raw = true; + value.value = data.video_html; + audio.append(value); + } + } + + var n = video || audio || object || embed; + if (n) + node.replace(n); + else + node.remove(); + }, + + /** + * Converts a tinymce.html.Node video/object/embed to an img element. + * + * The video/object/embed will be converted into an image placeholder with a JSON data attribute like this: + * + * + * The JSON structure will be like this: + * {'params':{'flashvars':'something','quality':'high','src':'someurl'}, 'video':{'sources':[{src: 'someurl', type: 'video/mp4'}]}} + */ + objectToImg : function(node) { + var object, embed, video, iframe, img, name, id, width, height, style, i, html, + param, params, source, sources, data, type, lookup = this.lookup, + matches, attrs, urlConverter = this.editor.settings.url_converter, + urlConverterScope = this.editor.settings.url_converter_scope, + hspace, vspace, align, bgcolor; + + function getInnerHTML(node) { + return new tinymce.html.Serializer({ + inner: true, + validate: false + }).serialize(node); + }; + + function lookupAttribute(o, attr) { + return lookup[(o.attr(attr) || '').toLowerCase()]; + } + + function lookupExtension(src) { + var ext = src.replace(/^.*\.([^.]+)$/, '$1'); + return lookup[ext.toLowerCase() || '']; + } + + // If node isn't in document + if (!node.parent) + return; + + // Handle media scripts + if (node.name === 'script') { + if (node.firstChild) + matches = scriptRegExp.exec(node.firstChild.value); + + if (!matches) + return; + + type = matches[1]; + data = {video : {}, params : JSON.parse(matches[2])}; + width = data.params.width; + height = data.params.height; + } + + // Setup data objects + data = data || { + video : {}, + params : {} + }; + + // Setup new image object + img = new Node('img', 1); + img.attr({ + src : this.editor.theme.url + '/img/trans.gif' + }); + + // Video element + name = node.name; + if (name === 'video' || name == 'audio') { + video = node; + object = node.getAll('object')[0]; + embed = node.getAll('embed')[0]; + width = video.attr('width'); + height = video.attr('height'); + id = video.attr('id'); + data.video = {attrs : {}, sources : []}; + + // Get all video attributes + attrs = data.video.attrs; + for (name in video.attributes.map) + attrs[name] = video.attributes.map[name]; + + source = node.attr('src'); + if (source) + data.video.sources.push({src : urlConverter.call(urlConverterScope, source, 'src', node.name)}); + + // Get all sources + sources = video.getAll("source"); + for (i = 0; i < sources.length; i++) { + source = sources[i].remove(); + + data.video.sources.push({ + src: urlConverter.call(urlConverterScope, source.attr('src'), 'src', 'source'), + type: source.attr('type'), + media: source.attr('media') + }); + } + + // Convert the poster URL + if (attrs.poster) + attrs.poster = urlConverter.call(urlConverterScope, attrs.poster, 'poster', node.name); + } + + // Object element + if (node.name === 'object') { + object = node; + embed = node.getAll('embed')[0]; + } + + // Embed element + if (node.name === 'embed') + embed = node; + + // Iframe element + if (node.name === 'iframe') { + iframe = node; + type = 'Iframe'; + } + + if (object) { + // Get width/height + width = width || object.attr('width'); + height = height || object.attr('height'); + style = style || object.attr('style'); + id = id || object.attr('id'); + hspace = hspace || object.attr('hspace'); + vspace = vspace || object.attr('vspace'); + align = align || object.attr('align'); + bgcolor = bgcolor || object.attr('bgcolor'); + data.name = object.attr('name'); + + // Get all object params + params = object.getAll("param"); + for (i = 0; i < params.length; i++) { + param = params[i]; + name = param.remove().attr('name'); + + if (!excludedAttrs[name]) + data.params[name] = param.attr('value'); + } + + data.params.src = data.params.src || object.attr('data'); + } + + if (embed) { + // Get width/height + width = width || embed.attr('width'); + height = height || embed.attr('height'); + style = style || embed.attr('style'); + id = id || embed.attr('id'); + hspace = hspace || embed.attr('hspace'); + vspace = vspace || embed.attr('vspace'); + align = align || embed.attr('align'); + bgcolor = bgcolor || embed.attr('bgcolor'); + + // Get all embed attributes + for (name in embed.attributes.map) { + if (!excludedAttrs[name] && !data.params[name]) + data.params[name] = embed.attributes.map[name]; + } + } + + if (iframe) { + // Get width/height + width = normalizeSize(iframe.attr('width')); + height = normalizeSize(iframe.attr('height')); + style = style || iframe.attr('style'); + id = iframe.attr('id'); + hspace = iframe.attr('hspace'); + vspace = iframe.attr('vspace'); + align = iframe.attr('align'); + bgcolor = iframe.attr('bgcolor'); + + tinymce.each(rootAttributes, function(name) { + img.attr(name, iframe.attr(name)); + }); + + // Get all iframe attributes + for (name in iframe.attributes.map) { + if (!excludedAttrs[name] && !data.params[name]) + data.params[name] = iframe.attributes.map[name]; + } + } + + // Use src not movie + if (data.params.movie) { + data.params.src = data.params.src || data.params.movie; + delete data.params.movie; + } + + // Convert the URL to relative/absolute depending on configuration + if (data.params.src) + data.params.src = urlConverter.call(urlConverterScope, data.params.src, 'src', 'object'); + + if (video) { + if (node.name === 'video') + type = lookup.video.name; + else if (node.name === 'audio') + type = lookup.audio.name; + } + + if (object && !type) + type = (lookupAttribute(object, 'clsid') || lookupAttribute(object, 'classid') || lookupAttribute(object, 'type') || {}).name; + + if (embed && !type) + type = (lookupAttribute(embed, 'type') || lookupExtension(data.params.src) || {}).name; + + // for embedded audio we preserve the original specified type + if (embed && type == 'EmbeddedAudio') { + data.params.type = embed.attr('type'); + } + + // Replace the video/object/embed element with a placeholder image containing the data + node.replace(img); + + // Remove embed + if (embed) + embed.remove(); + + // Serialize the inner HTML of the object element + if (object) { + html = getInnerHTML(object.remove()); + + if (html) + data.object_html = html; + } + + // Serialize the inner HTML of the video element + if (video) { + html = getInnerHTML(video.remove()); + + if (html) + data.video_html = html; + } + + data.hspace = hspace; + data.vspace = vspace; + data.align = align; + data.bgcolor = bgcolor; + + // Set width/height of placeholder + img.attr({ + id : id, + 'class' : 'mceItemMedia mceItem' + (type || 'Flash'), + style : style, + width : width || (node.name == 'audio' ? "300" : "320"), + height : height || (node.name == 'audio' ? "32" : "240"), + hspace : hspace, + vspace : vspace, + align : align, + bgcolor : bgcolor, + "data-mce-json" : JSON.serialize(data, "'") + }); + } + }); + + // Register plugin + tinymce.PluginManager.add('media', tinymce.plugins.MediaPlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js new file mode 100644 index 00000000..f8dc8105 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/js/embed.js @@ -0,0 +1,73 @@ +/** + * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. + */ + +function writeFlash(p) { + writeEmbed( + 'D27CDB6E-AE6D-11cf-96B8-444553540000', + 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', + 'application/x-shockwave-flash', + p + ); +} + +function writeShockWave(p) { + writeEmbed( + '166B1BCA-3F9C-11CF-8075-444553540000', + 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', + 'application/x-director', + p + ); +} + +function writeQuickTime(p) { + writeEmbed( + '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', + 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', + 'video/quicktime', + p + ); +} + +function writeRealMedia(p) { + writeEmbed( + 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', + 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', + 'audio/x-pn-realaudio-plugin', + p + ); +} + +function writeWindowsMedia(p) { + p.url = p.src; + writeEmbed( + '6BF52A52-394A-11D3-B153-00C04F79FAA6', + 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', + 'application/x-mplayer2', + p + ); +} + +function writeEmbed(cls, cb, mt, p) { + var h = '', n; + + h += ''; + + h += ''); + + function get(id) { + return document.getElementById(id); + } + + function clone(obj) { + var i, len, copy, attr; + + if (null == obj || "object" != typeof obj) + return obj; + + // Handle Array + if ('length' in obj) { + copy = []; + + for (i = 0, len = obj.length; i < len; ++i) { + copy[i] = clone(obj[i]); + } + + return copy; + } + + // Handle Object + copy = {}; + for (attr in obj) { + if (obj.hasOwnProperty(attr)) + copy[attr] = clone(obj[attr]); + } + + return copy; + } + + function getVal(id) { + var elm = get(id); + + if (elm.nodeName == "SELECT") + return elm.options[elm.selectedIndex].value; + + if (elm.type == "checkbox") + return elm.checked; + + return elm.value; + } + + function setVal(id, value, name) { + if (typeof(value) != 'undefined' && value != null) { + var elm = get(id); + + if (elm.nodeName == "SELECT") + selectByValue(document.forms[0], id, value); + else if (elm.type == "checkbox") { + if (typeof(value) == 'string') { + value = value.toLowerCase(); + value = (!name && value === 'true') || (name && value === name.toLowerCase()); + } + elm.checked = !!value; + } else + elm.value = value; + } + } + + window.Media = { + init : function() { + var html, editor, self = this; + + self.editor = editor = tinyMCEPopup.editor; + + // Setup file browsers and color pickers + get('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media'); + get('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','quicktime_qtsrc','media','media'); + get('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + get('video_altsource1_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource1','video_altsource1','media','media'); + get('video_altsource2_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource2','video_altsource2','media','media'); + get('audio_altsource1_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource1','audio_altsource1','media','media'); + get('audio_altsource2_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource2','audio_altsource2','media','media'); + get('video_poster_filebrowser').innerHTML = getBrowserHTML('filebrowser_poster','video_poster','image','media'); + + html = self.getMediaListHTML('medialist', 'src', 'media', 'media'); + if (html == "") + get("linklistrow").style.display = 'none'; + else + get("linklistcontainer").innerHTML = html; + + if (isVisible('filebrowser')) + get('src').style.width = '230px'; + + if (isVisible('video_filebrowser_altsource1')) + get('video_altsource1').style.width = '220px'; + + if (isVisible('video_filebrowser_altsource2')) + get('video_altsource2').style.width = '220px'; + + if (isVisible('audio_filebrowser_altsource1')) + get('audio_altsource1').style.width = '220px'; + + if (isVisible('audio_filebrowser_altsource2')) + get('audio_altsource2').style.width = '220px'; + + if (isVisible('filebrowser_poster')) + get('video_poster').style.width = '220px'; + + editor.dom.setOuterHTML(get('media_type'), self.getMediaTypeHTML(editor)); + + self.setDefaultDialogSettings(editor); + self.data = clone(tinyMCEPopup.getWindowArg('data')); + self.dataToForm(); + self.preview(); + + updateColor('bgcolor_pick', 'bgcolor'); + }, + + insert : function() { + var editor = tinyMCEPopup.editor; + + this.formToData(); + editor.execCommand('mceRepaint'); + tinyMCEPopup.restoreSelection(); + editor.selection.setNode(editor.plugins.media.dataToImg(this.data)); + tinyMCEPopup.close(); + }, + + preview : function() { + get('prev').innerHTML = this.editor.plugins.media.dataToHtml(this.data, true); + }, + + moveStates : function(to_form, field) { + var data = this.data, editor = this.editor, + mediaPlugin = editor.plugins.media, ext, src, typeInfo, defaultStates, src; + + defaultStates = { + // QuickTime + quicktime_autoplay : true, + quicktime_controller : true, + + // Flash + flash_play : true, + flash_loop : true, + flash_menu : true, + + // WindowsMedia + windowsmedia_autostart : true, + windowsmedia_enablecontextmenu : true, + windowsmedia_invokeurls : true, + + // RealMedia + realmedia_autogotourl : true, + realmedia_imagestatus : true + }; + + function parseQueryParams(str) { + var out = {}; + + if (str) { + tinymce.each(str.split('&'), function(item) { + var parts = item.split('='); + + out[unescape(parts[0])] = unescape(parts[1]); + }); + } + + return out; + }; + + function setOptions(type, names) { + var i, name, formItemName, value, list; + + if (type == data.type || type == 'global') { + names = tinymce.explode(names); + for (i = 0; i < names.length; i++) { + name = names[i]; + formItemName = type == 'global' ? name : type + '_' + name; + + if (type == 'global') + list = data; + else if (type == 'video' || type == 'audio') { + list = data.video.attrs; + + if (!list && !to_form) + data.video.attrs = list = {}; + } else + list = data.params; + + if (list) { + if (to_form) { + setVal(formItemName, list[name], type == 'video' || type == 'audio' ? name : ''); + } else { + delete list[name]; + + value = getVal(formItemName); + if ((type == 'video' || type == 'audio') && value === true) + value = name; + + if (defaultStates[formItemName]) { + if (value !== defaultStates[formItemName]) { + value = "" + value; + list[name] = value; + } + } else if (value) { + value = "" + value; + list[name] = value; + } + } + } + } + } + } + + if (!to_form) { + data.type = get('media_type').options[get('media_type').selectedIndex].value; + data.width = getVal('width'); + data.height = getVal('height'); + + // Switch type based on extension + src = getVal('src'); + if (field == 'src') { + ext = src.replace(/^.*\.([^.]+)$/, '$1'); + if (typeInfo = mediaPlugin.getType(ext)) + data.type = typeInfo.name.toLowerCase(); + + setVal('media_type', data.type); + } + + if (data.type == "video" || data.type == "audio") { + if (!data.video.sources) + data.video.sources = []; + + data.video.sources[0] = {src: getVal('src')}; + } + } + + // Hide all fieldsets and show the one active + get('video_options').style.display = 'none'; + get('audio_options').style.display = 'none'; + get('flash_options').style.display = 'none'; + get('quicktime_options').style.display = 'none'; + get('shockwave_options').style.display = 'none'; + get('windowsmedia_options').style.display = 'none'; + get('realmedia_options').style.display = 'none'; + get('embeddedaudio_options').style.display = 'none'; + + if (get(data.type + '_options')) + get(data.type + '_options').style.display = 'block'; + + setVal('media_type', data.type); + + setOptions('flash', 'play,loop,menu,swliveconnect,quality,scale,salign,wmode,base,flashvars'); + setOptions('quicktime', 'loop,autoplay,cache,controller,correction,enablejavascript,kioskmode,autohref,playeveryframe,targetcache,scale,starttime,endtime,target,qtsrcchokespeed,volume,qtsrc'); + setOptions('shockwave', 'sound,progress,autostart,swliveconnect,swvolume,swstretchstyle,swstretchhalign,swstretchvalign'); + setOptions('windowsmedia', 'autostart,enabled,enablecontextmenu,fullscreen,invokeurls,mute,stretchtofit,windowlessvideo,balance,baseurl,captioningid,currentmarker,currentposition,defaultframe,playcount,rate,uimode,volume'); + setOptions('realmedia', 'autostart,loop,autogotourl,center,imagestatus,maintainaspect,nojava,prefetch,shuffle,console,controls,numloop,scriptcallbacks'); + setOptions('video', 'poster,autoplay,loop,muted,preload,controls'); + setOptions('audio', 'autoplay,loop,preload,controls'); + setOptions('embeddedaudio', 'autoplay,loop,controls'); + setOptions('global', 'id,name,vspace,hspace,bgcolor,align,width,height'); + + if (to_form) { + if (data.type == 'video') { + if (data.video.sources[0]) + setVal('src', data.video.sources[0].src); + + src = data.video.sources[1]; + if (src) + setVal('video_altsource1', src.src); + + src = data.video.sources[2]; + if (src) + setVal('video_altsource2', src.src); + } else if (data.type == 'audio') { + if (data.video.sources[0]) + setVal('src', data.video.sources[0].src); + + src = data.video.sources[1]; + if (src) + setVal('audio_altsource1', src.src); + + src = data.video.sources[2]; + if (src) + setVal('audio_altsource2', src.src); + } else { + // Check flash vars + if (data.type == 'flash') { + tinymce.each(editor.getParam('flash_video_player_flashvars', {url : '$url', poster : '$poster'}), function(value, name) { + if (value == '$url') + data.params.src = parseQueryParams(data.params.flashvars)[name] || data.params.src || ''; + }); + } + + setVal('src', data.params.src); + } + } else { + src = getVal("src"); + + // YouTube *NEW* + if (src.match(/youtu.be\/[a-z1-9.-_]+/)) { + data.width = 425; + data.height = 350; + data.params.frameborder = '0'; + data.type = 'iframe'; + src = 'http://www.youtube.com/embed/' + src.match(/youtu.be\/([a-z1-9.-_]+)/)[1]; + setVal('src', src); + setVal('media_type', data.type); + } + + // YouTube + if (src.match(/youtube.com(.+)v=([^&]+)/)) { + data.width = 425; + data.height = 350; + data.params.frameborder = '0'; + data.type = 'iframe'; + src = 'http://www.youtube.com/embed/' + src.match(/v=([^&]+)/)[1]; + setVal('src', src); + setVal('media_type', data.type); + } + + // Google video + if (src.match(/video.google.com(.+)docid=([^&]+)/)) { + data.width = 425; + data.height = 326; + data.type = 'flash'; + src = 'http://video.google.com/googleplayer.swf?docId=' + src.match(/docid=([^&]+)/)[1] + '&hl=en'; + setVal('src', src); + setVal('media_type', data.type); + } + + // Vimeo + if (src.match(/vimeo.com\/([0-9]+)/)) { + data.width = 425; + data.height = 350; + data.params.frameborder = '0'; + data.type = 'iframe'; + src = 'http://player.vimeo.com/video/' + src.match(/vimeo.com\/([0-9]+)/)[1]; + setVal('src', src); + setVal('media_type', data.type); + } + + // stream.cz + if (src.match(/stream.cz\/((?!object).)*\/([0-9]+)/)) { + data.width = 425; + data.height = 350; + data.params.frameborder = '0'; + data.type = 'iframe'; + src = 'http://www.stream.cz/object/' + src.match(/stream.cz\/[^/]+\/([0-9]+)/)[1]; + setVal('src', src); + setVal('media_type', data.type); + } + + // Google maps + if (src.match(/maps.google.([a-z]{2,3})\/maps\/(.+)msid=(.+)/)) { + data.width = 425; + data.height = 350; + data.params.frameborder = '0'; + data.type = 'iframe'; + src = 'http://maps.google.com/maps/ms?msid=' + src.match(/msid=(.+)/)[1] + "&output=embed"; + setVal('src', src); + setVal('media_type', data.type); + } + + if (data.type == 'video') { + if (!data.video.sources) + data.video.sources = []; + + data.video.sources[0] = {src : src}; + + src = getVal("video_altsource1"); + if (src) + data.video.sources[1] = {src : src}; + + src = getVal("video_altsource2"); + if (src) + data.video.sources[2] = {src : src}; + } else if (data.type == 'audio') { + if (!data.video.sources) + data.video.sources = []; + + data.video.sources[0] = {src : src}; + + src = getVal("audio_altsource1"); + if (src) + data.video.sources[1] = {src : src}; + + src = getVal("audio_altsource2"); + if (src) + data.video.sources[2] = {src : src}; + } else + data.params.src = src; + + // Set default size + setVal('width', data.width || (data.type == 'audio' ? 300 : 320)); + setVal('height', data.height || (data.type == 'audio' ? 32 : 240)); + } + }, + + dataToForm : function() { + this.moveStates(true); + }, + + formToData : function(field) { + if (field == "width" || field == "height") + this.changeSize(field); + + if (field == 'source') { + this.moveStates(false, field); + setVal('source', this.editor.plugins.media.dataToHtml(this.data)); + this.panel = 'source'; + } else { + if (this.panel == 'source') { + this.data = clone(this.editor.plugins.media.htmlToData(getVal('source'))); + this.dataToForm(); + this.panel = ''; + } + + this.moveStates(false, field); + this.preview(); + } + }, + + beforeResize : function() { + this.width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10); + this.height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10); + }, + + changeSize : function(type) { + var width, height, scale, size; + + if (get('constrain').checked) { + width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10); + height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10); + + if (type == 'width') { + this.height = Math.round((width / this.width) * height); + setVal('height', this.height); + } else { + this.width = Math.round((height / this.height) * width); + setVal('width', this.width); + } + } + }, + + getMediaListHTML : function() { + if (typeof(tinyMCEMediaList) != "undefined" && tinyMCEMediaList.length > 0) { + var html = ""; + + html += ''; + + return html; + } + + return ""; + }, + + getMediaTypeHTML : function(editor) { + function option(media_type, element) { + if (!editor.schema.getElementRule(element || media_type)) { + return ''; + } + + return '' + } + + var html = ""; + + html += ''; + return html; + }, + + setDefaultDialogSettings : function(editor) { + var defaultDialogSettings = editor.getParam("media_dialog_defaults", {}); + tinymce.each(defaultDialogSettings, function(v, k) { + setVal(k, v); + }); + } + }; + + tinyMCEPopup.requireLangPack(); + tinyMCEPopup.onInit.add(function() { + Media.init(); + }); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js new file mode 100644 index 00000000..e64e083f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.media_dlg',{list:"Liste",file:"Datei/URL",advanced:"Erweitert",general:"Allgemein",title:"Multimedia-Inhalte einf\u00fcgen/bearbeiten","align_top_left":"Oben Links","align_center":"Zentriert","align_left":"Links","align_bottom":"Unten","align_right":"Rechts","align_top":"Oben","qt_stream_warn":"In den Erweiterten Einstellungen sollten im Feld \'QT Src\' gestreamte RTSP Resourcen hinzugef\u00fcgt werden.\nZus\u00e4tzlich sollte dort auch eine nicht-gestreamte Resource angegeben werden.",qtsrc:"Angabe zu QT Src",progress:"Fortschritt",sound:"Ton",swstretchvalign:"Stretch V-Ausrichtung",swstretchhalign:"Stretch H-Ausrichtung",swstretchstyle:"Stretch-Art",scriptcallbacks:"Script callbacks","align_top_right":"Oben Rechts",uimode:"UI Modus",rate:"Rate",playcount:"Z\u00e4hler",defaultframe:"Frame-Voreinstellung",currentposition:"Aktuelle Position",currentmarker:"Aktueller Marker",captioningid:"Captioning id",baseurl:"Base URL",balance:"Balance",windowlessvideo:"Fensterloses Video",stretchtofit:"Anzeigefl\u00e4che an verf\u00fcgbaren Platz anpassen",mute:"Stumm",invokeurls:"Invoke URLs",fullscreen:"Vollbild",enabled:"Aktiviert",autostart:"Autostart",volume:"Lautst\u00e4rke",target:"Ziel",qtsrcchokespeed:"Choke speed",href:"Href",endtime:"Endzeitpunkt",starttime:"Startzeitpunkt",enablejavascript:"JavaScript aktivieren",correction:"Ohne Korrektur",targetcache:"Ziel zwischenspeichern",playeveryframe:"Jeden Frame abspielen",kioskmode:"Kioskmodus",controller:"Controller",menu:"Men\u00fc anzeigen",loop:"Wiederholung",play:"Automatisches Abspielen",hspace:"Horizontaler Abstand",vspace:"Vertikaler Abstand","class_name":"CSS-Klasse",name:"Name",id:"Id",type:"Typ",size:"Abmessungen",preview:"Vorschau","constrain_proportions":"Proportionen erhalten",controls:"Steuerung",numloop:"Anzahl Wiederholungen",console:"Konsole",cache:"Zwischenspeicher",autohref:"AutoHREF",liveconnect:"SWLiveConnect",flashvars:"Flashvariablen",base:"Base",bgcolor:"Hintergrund",wmode:"WMode",salign:"S-Ausrichtung",align:"Ausrichtung",scale:"Skalierung",quality:"Qualit\u00e4t",shuffle:"Zuf\u00e4llige Wiedergabe",prefetch:"Prefetch",nojava:"Kein Java",maintainaspect:"Bildverh\u00e4ltnis beibehalten",imagestatus:"Bildstatus",center:"Zentriert",autogotourl:"Auto goto URL","shockwave_options":"Shockwave-Optionen","rmp_options":"Optionen f\u00fcr Real Media Player","wmp_options":"Optionen f\u00fcr Windows Media Player","qt_options":"Quicktime-Optionen","flash_options":"Flash-Optionen",hidden:"Versteckt","align_bottom_left":"Unten Links","align_bottom_right":"Unten Rechts",flash:"Flash",quicktime:"QuickTime","embedded_audio_options":"Integrierte Audio Optionen",windowsmedia:"WindowsMedia",realmedia:"RealMedia",shockwave:"ShockWave",audio:"Audio",video:"Video","html5_video_options":"HTML5 Video Optionen",altsource1:"Alternative Quelle 1",altsource2:"Alternative Quelle 2",preload:"Preload",poster:"Poster",source:"Quelle","html5_audio_options":"Audio Optionen","preload_none":"Nicht vorladen","preload_metadata":"Video Metadaten vorladen","preload_auto":"Benutzer Browser entscheidet automatisch",iframe:"iFrame",embeddedaudio:"Audio (eingebunden)"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js new file mode 100644 index 00000000..b247f85c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.media_dlg',{list:"List",file:"File/URL",advanced:"Advanced",general:"General",title:"Insert/Edit Embedded Media","align_top_left":"Top Left","align_center":"Center","align_left":"Left","align_bottom":"Bottom","align_right":"Right","align_top":"Top","qt_stream_warn":"Streamed RTSP resources should be added to the QT Source field under the Advanced tab.\nYou should also add a non-streamed version to the Source field.",qtsrc:"QT Source",progress:"Progress",sound:"Sound",swstretchvalign:"Stretch V-Align",swstretchhalign:"Stretch H-Align",swstretchstyle:"Stretch Style",scriptcallbacks:"Script Callbacks","align_top_right":"Top Right",uimode:"UI Mode",rate:"Rate",playcount:"Play Count",defaultframe:"Default Frame",currentposition:"Current Position",currentmarker:"Current Marker",captioningid:"Captioning ID",baseurl:"Base URL",balance:"Balance",windowlessvideo:"Windowless Video",stretchtofit:"Stretch to Fit",mute:"Mute",invokeurls:"Invoke URLs",fullscreen:"Full Screen",enabled:"Enabled",autostart:"Auto Start",volume:"Volume",target:"Target",qtsrcchokespeed:"Choke Speed",href:"HREF",endtime:"End Time",starttime:"Start Time",enablejavascript:"Enable JavaScript",correction:"No Correction",targetcache:"Target Cache",playeveryframe:"Play Every Frame",kioskmode:"Kiosk Mode",controller:"Controller",menu:"Show Menu",loop:"Loop",play:"Auto Play",hspace:"H-Space",vspace:"V-Space","class_name":"Class",name:"Name",id:"ID",type:"Type",size:"Dimensions",preview:"Preview","constrain_proportions":"Constrain Proportions",controls:"Controls",numloop:"Num Loops",console:"Console",cache:"Cache",autohref:"Auto HREF",liveconnect:"SWLiveConnect",flashvars:"Flash Vars",base:"Base",bgcolor:"Background",wmode:"WMode",salign:"SAlign",align:"Align",scale:"Scale",quality:"Quality",shuffle:"Shuffle",prefetch:"Prefetch",nojava:"No Java",maintainaspect:"Maintain Aspect",imagestatus:"Image Status",center:"Center",autogotourl:"Auto Goto URL","shockwave_options":"Shockwave Options","rmp_options":"Real Media Player Options","wmp_options":"Windows Media Player Options","qt_options":"QuickTime Options","flash_options":"Flash Options",hidden:"Hidden","align_bottom_left":"Bottom Left","align_bottom_right":"Bottom Right",flash:"",quicktime:"","embedded_audio_options":"Embedded Audio Options",windowsmedia:"",realmedia:"",shockwave:"",audio:"",video:"","html5_video_options":"HTML5 Video Options",altsource1:"Alternative source 1",altsource2:"Alternative source 2",preload:"Preload",poster:"Poster",source:"Source","html5_audio_options":"Audio Options","preload_none":"Don\'t Preload","preload_metadata":"Preload video metadata","preload_auto":"Let user\'s browser decide",iframe:"",embeddedaudio:""}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js new file mode 100644 index 00000000..b42e07a1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.media_dlg',{list:"Lista",file:"F\u00e1jl/URL",advanced:"Halad\u00f3",general:"\u00c1ltal\u00e1nos",title:"Be\u00e1gyazott m\u00e9dia besz\u00far\u00e1sa/szerkeszt\u00e9se","align_top_left":"Bal-fent","align_center":"K\u00f6z\u00e9pen","align_left":"Balra","align_bottom":"Lent","align_right":"Jobbra","align_top":"Fent","qt_stream_warn":"Streamelt rtsp forr\u00e1sok a QT Src mez\u0151be val\u00f3k a halad\u00f3 lapon.\nHozz\u00e1 kellene adnia egy nem streamelt verzi\u00f3t a Src mez\u0151ben.",qtsrc:"QT Src",progress:"Folyamat",sound:"Hang",swstretchvalign:"Ny\u00fajt\u00e1s F-igaz\u00edt\u00e1s",swstretchhalign:"Ny\u00fajt\u00e1s V-igaz\u00edt\u00e1s",swstretchstyle:"Ny\u00fajt\u00e1s st\u00edlusa",scriptcallbacks:"Script callbacks","align_top_right":"Jobbra fent",uimode:"UI M\u00f3d",rate:"\u00c9rt\u00e9kel\u00e9s",playcount:"Lej\u00e1tsz\u00e1ssz\u00e1m",defaultframe:"Alap\u00e9rtelmezett frame",currentposition:"Aktu\u00e1lis poz\u00edci\u00f3",currentmarker:"Aktu\u00e1lis marker",captioningid:"Captioning id",baseurl:"Alap URL",balance:"Balance",windowlessvideo:"Ablak n\u00e9lk\u00fcli vide\u00f3",stretchtofit:"Ny\u00fajtva igaz\u00edt\u00e1s",mute:"N\u00e9ma",invokeurls:"URL-ek bevon\u00e1sa",fullscreen:"Teljes k\u00e9perny\u0151",enabled:"Enged\u00e9lyezve",autostart:"Automatikus kezd\u00e9s",volume:"Hanger\u0151",target:"C\u00e9l",qtsrcchokespeed:"Folyt\u00e1s sebess\u00e9ge",href:"Href",endtime:"Z\u00e1r\u00f3 id\u0151",starttime:"Kezd\u00e9si id\u0151",enablejavascript:"JavaScript enged\u00e9se",correction:"Nincs jav\u00edt\u00e1s",targetcache:"C\u00e9l cache",playeveryframe:"Minden kocka lej\u00e1tsz\u00e1sa",kioskmode:"Kiosk m\u00f3d",controller:"Vez\u00e9rl\u0151",menu:"Men\u00fc mutat\u00e1sa",loop:"Ism\u00e9tl\u00e9s",play:"Automatikus lej\u00e1tsz\u00e1s",hspace:"V\u00edzszintes-t\u00e1v",vspace:"F\u00fcgg\u0151leges-t\u00e1v","class_name":"Oszt\u00e1ly",name:"N\u00e9v",id:"ID",type:"T\u00edpus",size:"M\u00e9retek",preview:"El\u0151n\u00e9zet","constrain_proportions":"Ar\u00e1nytart\u00e1s",controls:"Kezel\u0151k",numloop:"Ism\u00e9tl\u00e9ssz\u00e1m",console:"Konzol",cache:"Cache",autohref:"AutoHREF",liveconnect:"SWLiveConnect",flashvars:"Flashvars",base:"Base",bgcolor:"H\u00e1tt\u00e9r",wmode:"WM\u00f3d",salign:"SElrendez\u00e9s",align:"Elrendez\u00e9s",scale:"Nagy\u00edt\u00e1s",quality:"Min\u0151s\u00e9g",shuffle:"V\u00e9letlenszer\u0171",prefetch:"El\u0151t\u00f6lt\u00e9s",nojava:"Nincs Java",maintainaspect:"Ar\u00e1nytart\u00e1s",imagestatus:"K\u00e9p \u00e1llapot",center:"K\u00f6z\u00e9pre",autogotourl:"Automatikus URL-re ugr\u00e1s","shockwave_options":"Shockwave be\u00e1ll\u00edt\u00e1sai","rmp_options":"Real Media Player be\u00e1ll\u00edt\u00e1sai","wmp_options":"Windows Media Player be\u00e1ll\u00edt\u00e1sai","qt_options":"Quicktime be\u00e1ll\u00edt\u00e1sai","flash_options":"Flash be\u00e1ll\u00edt\u00e1sai",hidden:"Rejtett","align_bottom_left":"Bal-lent","align_bottom_right":"Bal-jobbra",flash:"flash",quicktime:"quicktime","embedded_audio_options":"Be\u00e1gyazott hang be\u00e1ll\u00edt\u00e1sok",windowsmedia:"windows m\u00e9dia",realmedia:"realmedia",shockwave:"shockwave",audio:"hang",video:"vide\u00f3","html5_video_options":"HTML5 Vide\u00f3 Be\u00e1ll\u00edt\u00e1sok",altsource1:"Alternat\u00edv forr\u00e1s 1",altsource2:"Alternat\u00edv forr\u00e1s 2",preload:"El\u0151t\u00f6lt\u00e9s",poster:"Hozz\u00e1ad\u00f3",source:"Forr\u00e1s","html5_audio_options":"Audi\u00f3 Be\u00e1ll\u00edt\u00e1sok","preload_none":"Nincs el\u0151reolvas\u00e1s","preload_metadata":"Vide\u00f3 metaadatok el\u0151reolvas\u00e1sa","preload_auto":"Hagyjuk a felhaszn\u00e1l\u00f3 b\u00f6ng\u00e9sz\u0151j\u00e9nek eld\u00f6nteni",iframe:"iframe (keret)",embeddedaudio:"be\u00e1gyazott hang"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js new file mode 100644 index 00000000..9752ca22 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.media_dlg',{list:"\u4e00\u89a7",file:"\u30d5\u30a1\u30a4\u30eb\u3084URL",advanced:"\u8a73\u7d30",general:"\u4e00\u822c",title:"\u57cb\u3081\u8fbc\u307f\u30e1\u30c7\u30a3\u30a2\u306e\u633f\u5165\u3084\u7de8\u96c6","align_top_left":"\u5de6\u4e0a","align_center":"\u4e2d\u592e","align_left":"\u5de6","align_bottom":"\u4e0b","align_right":"\u53f3","align_top":"\u4e0a","qt_stream_warn":"RTSP\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30ea\u30bd\u30fc\u30b9\u3092\u300c\u9ad8\u5ea6\u300d\u306e\u30bf\u30d6\u306e\u300cQT\u306e\u30bd\u30fc\u30b9\u300d\u6b04\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\u307e\u305f\u3001\u300c\u30bd\u30fc\u30b9\u300d\u6b04\u306b\u306f\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3067\u306f\u306a\u3044\u30d0\u30fc\u30b8\u30e7\u30fc\u30f3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",qtsrc:"QT\u306e\u30bd\u30fc\u30b9",progress:"\u9032\u5c55",sound:"\u30b5\u30a6\u30f3\u30c9",swstretchvalign:"\u5782\u76f4\u306e\u914d\u7f6e",swstretchhalign:"\u6c34\u5e73\u306e\u914d\u7f6e",swstretchstyle:"\u4f38\u7e2e\u306e\u30b9\u30bf\u30a4\u30eb",scriptcallbacks:"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af","align_top_right":"\u53f3\u4e0a",uimode:"UI\u3092\u8868\u793a\u3059\u308b\u30e2\u30fc\u30c9",rate:"\u518d\u751f\u30ec\u30fc\u30c8",playcount:"\u518d\u751f\u56de\u6570",defaultframe:"\u521d\u671f\u72b6\u614b\u306e\u30d5\u30ec\u30fc\u30e0",currentposition:"\u518d\u751f\u4f4d\u7f6e(\u79d2\u5358\u4f4d)",currentmarker:"\u30de\u30fc\u30ab\u30fc\u756a\u53f7",captioningid:"\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\u8868\u793a\u8981\u7d20ID",baseurl:"\u57fa\u6e96\u306eURL",balance:"\u30b9\u30c6\u30ec\u30aa\u306e\u30d0\u30e9\u30f3\u30b9",windowlessvideo:"\u30a6\u30a3\u30f3\u30c9\u30a6\u306a\u3057\u306e\u52d5\u753b",stretchtofit:"\u5408\u308f\u305b\u3066\u62e1\u5927",mute:"\u6d88\u97f3",invokeurls:"URL\u3092\u958b\u304f",fullscreen:"\u5168\u753b\u9762",enabled:"\u6709\u52b9",autostart:"\u81ea\u52d5\u518d\u751f",volume:"\u97f3\u91cf",target:"\u30bf\u30fc\u30b2\u30c3\u30c8",qtsrcchokespeed:"\u518d\u751f\u30c7\u30fc\u30bf\u30ec\u30fc\u30c8",href:"\u30ea\u30f3\u30af\u5148URL",endtime:"\u7d42\u4e86\u6642\u9593",starttime:"\u958b\u59cb\u6642\u9593",enablejavascript:"JavaScript\u3092\u6709\u52b9",correction:"\u8a02\u6b63\u306a\u3057",targetcache:"\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5",playeveryframe:"\u3059\u3079\u3066\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u518d\u751f",kioskmode:"Kiosk\u30e2\u30fc\u30c9",controller:"\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u8868\u793a",menu:"\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a",loop:"\u7e70\u308a\u8fd4\u3057",play:"\u81ea\u52d5\u518d\u751f",hspace:"\u5de6\u53f3\u306e\u4f59\u767d",vspace:"\u4e0a\u4e0b\u306e\u4f59\u767d","class_name":"\u30af\u30e9\u30b9",name:"\u540d\u524d",id:"ID",type:"\u30bf\u30a4\u30d7",size:"\u5bf8\u6cd5",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc","constrain_proportions":"\u7e26\u6a2a\u6bd4\u3092\u7dad\u6301",controls:"\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u8868\u793a",numloop:"\u7e70\u308a\u8fd4\u3057\u306e\u56de\u6570",console:"\u30b3\u30f3\u30bd\u30fc\u30eb",cache:"\u30ad\u30e3\u30c3\u30b7\u30e5",autohref:"\u81ea\u52d5\u8aad\u8fbc",liveconnect:"SWLiveConnect\u5c5e\u6027",flashvars:"Flash Vars",base:"Base",bgcolor:"\u80cc\u666f\u8272",wmode:"WMode",salign:"SAlign",align:"\u914d\u7f6e",scale:"\u4f38\u7e2e",quality:"\u54c1\u8cea",shuffle:"\u30b7\u30e3\u30c3\u30d5\u30eb",prefetch:"\u5148\u8aad\u307f",nojava:"Java\u3092\u7981\u6b62",maintainaspect:"\u7e26\u6a2a\u6bd4\u306e\u7dad\u6301",imagestatus:"\u753b\u50cf\u306e\u72b6\u614b",center:"\u4e2d\u592e\u63c3\u3048",autogotourl:"URL\u306b\u81ea\u52d5\u79fb\u52d5","shockwave_options":"Shockwave\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","rmp_options":"Real media player\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","wmp_options":"Windows media player\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","qt_options":"Quicktime\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","flash_options":"Flash\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",hidden:"\u975e\u8868\u793a","align_bottom_left":"\u5de6\u4e0b","align_bottom_right":"\u53f3\u4e0b",flash:"flash",quicktime:"quicktime","embedded_audio_options":"\u57cb\u3081\u8fbc\u307fAudio\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",windowsmedia:"Windows\u30e1\u30c7\u30a3\u30a2",realmedia:"realmedia",shockwave:"shockwave",audio:"\u30aa\u30fc\u30c7\u30a3\u30aa",video:"\u52d5\u753b","html5_video_options":"HTML5 Video\u306e\u30aa\u30d7\u30b7\u30e7\u30f3",altsource1:"\u4ee3\u66ff\u30bd\u30fc\u30b91",altsource2:"\u4ee3\u66ff\u30bd\u30fc\u30b92",preload:"preload\u5c5e\u6027",poster:"poster\u5c5e\u6027",source:"HTML","html5_audio_options":"Audio \u30aa\u30d7\u30b7\u30e7\u30f3","preload_none":"\u5148\u8aad\u307f\u3057\u306a\u3044","preload_metadata":"\u52d5\u753b\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u5148\u8aad\u307f","preload_auto":"\u30e6\u30fc\u30b6\u30fc\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u306b\u5f93\u3046",iframe:"iframe",embeddedaudio:"\u57cb\u3081\u8fbc\u307f\u97f3\u58f0"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm new file mode 100755 index 00000000..957d83a6 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/media.htm @@ -0,0 +1,922 @@ + + + + {#media_dlg.title} + + + + + + + + + +
    + + +
    +
    +
    + {#media_dlg.general} + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + +
     
    +
    + + + + + + +
    x   
    +
    +
    + +
    + {#media_dlg.preview} + +
    +
    + +
    +
    + {#media_dlg.advanced} + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
     
    +
    +
    + +
    + {#media_dlg.html5_video_options} + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    + + + + + +
     
    +
    + +
    + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.embedded_audio_options} + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.html5_audio_options} + + + + + + + + + + + + + + + + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    + +
    + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.flash_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + + + + + + + +
    +
    + +
    + {#media_dlg.qt_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +  
    + + + + + +
     
    +
    +
    + +
    + {#media_dlg.wmp_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.rmp_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +   +
    +
    + +
    + {#media_dlg.shockwave_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    +
    + +
    +
    + {#media_dlg.source} + +
    +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf new file mode 100644 index 00000000..585d772d Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/media/moxieplayer.swf differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js new file mode 100755 index 00000000..687f5486 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?' ':" ")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(f.keyCode==9){f.preventDefault();d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking")}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js new file mode 100755 index 00000000..d492fbef --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js @@ -0,0 +1,54 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.Nonbreaking', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + // Register commands + ed.addCommand('mceNonBreaking', function() { + ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? ' ' : ' '); + }); + + // Register buttons + ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'}); + + if (ed.getParam('nonbreaking_force_tab')) { + ed.onKeyDown.add(function(ed, e) { + if (e.keyCode == 9) { + e.preventDefault(); + + ed.execCommand('mceNonBreaking'); + ed.execCommand('mceNonBreaking'); + ed.execCommand('mceNonBreaking'); + } + }); + } + }, + + getInfo : function() { + return { + longname : 'Nonbreaking space', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + + // Private methods + }); + + // Register plugin + tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js new file mode 100755 index 00000000..da411ebc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin.js @@ -0,0 +1 @@ +(function(){var c=tinymce.dom.TreeWalker;var a="contenteditable",d="data-mce-"+a;var e=tinymce.VK;function b(n){var j=n.dom,p=n.selection,r,o="mce_noneditablecaret",r="\uFEFF";function m(t){var s;if(t.nodeType===1){s=t.getAttribute(d);if(s&&s!=="inherit"){return s}s=t.contentEditable;if(s!=="inherit"){return s}}return null}function g(s){var t;while(s){t=m(s);if(t){return t==="false"?s:null}s=s.parentNode}}function l(s){while(s){if(s.id===o){return s}s=s.parentNode}}function k(s){var t;if(s){t=new c(s,s);for(s=t.current();s;s=t.next()){if(s.nodeType===3){return s}}}}function f(v,u){var s,t;if(m(v)==="false"){if(j.isBlock(v)){p.select(v);return}}t=j.createRng();if(m(v)==="true"){if(!v.firstChild){v.appendChild(n.getDoc().createTextNode("\u00a0"))}v=v.firstChild;u=true}s=j.create("span",{id:o,"data-mce-bogus":true},r);if(u){v.parentNode.insertBefore(s,v)}else{j.insertAfter(s,v)}t.setStart(s.firstChild,1);t.collapse(true);p.setRng(t);return s}function i(s){var v,t,u;if(s){rng=p.getRng(true);rng.setStartBefore(s);rng.setEndBefore(s);v=k(s);if(v&&v.nodeValue.charAt(0)==r){v=v.deleteData(0,1)}j.remove(s,true);p.setRng(rng)}else{t=l(p.getStart());while((s=j.get(o))&&s!==u){if(t!==s){v=k(s);if(v&&v.nodeValue.charAt(0)==r){v=v.deleteData(0,1)}j.remove(s,true)}u=s}}}function q(){var s,w,u,t,v;function x(B,D){var A,F,E,C,z;A=t.startContainer;F=t.startOffset;if(A.nodeType==3){z=A.nodeValue.length;if((F>0&&F0?F-1:F;A=A.childNodes[G];if(A.hasChildNodes()){A=A.firstChild}}else{return !D?B:null}}E=new c(A,B);while(C=E[D?"prev":"next"]()){if(C.nodeType===3&&C.nodeValue.length>0){return}else{if(m(C)==="true"){return C}}}return B}i();u=p.isCollapsed();s=g(p.getStart());w=g(p.getEnd());if(s||w){t=p.getRng(true);if(u){s=s||w;var y=p.getStart();if(v=x(s,true)){f(v,true)}else{if(v=x(s,false)){f(v,false)}else{p.select(s)}}}else{t=p.getRng(true);if(s){t.setStartBefore(s)}if(w){t.setEndAfter(w)}p.setRng(t)}}}function h(z,B){var F=B.keyCode,x,C,D,v;function u(H,G){while(H=H[G?"previousSibling":"nextSibling"]){if(H.nodeType!==3||H.nodeValue.length>0){return H}}}function y(G,H){p.select(G);p.collapse(H)}function t(K){var J,I,M,H;function G(O){var N=I;while(N){if(N===O){return}N=N.parentNode}j.remove(O);q()}function L(){var O,P,N=z.schema.getNonEmptyElements();P=new tinymce.dom.TreeWalker(I,z.getBody());while(O=(K?P.prev():P.next())){if(N[O.nodeName.toLowerCase()]){break}if(O.nodeType===3&&tinymce.trim(O.nodeValue).length>0){break}if(m(O)==="false"){G(O);return true}}if(g(O)){return true}return false}if(p.isCollapsed()){J=p.getRng(true);I=J.startContainer;M=J.startOffset;I=l(I)||I;if(H=g(I)){G(H);return false}if(I.nodeType==3&&(K?M>0:M124)&&F!=e.DELETE&&F!=e.BACKSPACE){if((tinymce.isMac?B.metaKey:B.ctrlKey)&&(F==67||F==88||F==86)){return}B.preventDefault();if(F==e.LEFT||F==e.RIGHT){var w=F==e.LEFT;if(z.dom.isBlock(x)){var A=w?x.previousSibling:x.nextSibling;var s=new c(A,A);var E=w?s.prev():s.next();y(E,!w)}else{y(x,w)}}}else{if(F==e.LEFT||F==e.RIGHT||F==e.BACKSPACE||F==e.DELETE){C=l(D);if(C){if(F==e.LEFT||F==e.BACKSPACE){x=u(C,true);if(x&&m(x)==="false"){B.preventDefault();if(F==e.LEFT){y(x,true)}else{j.remove(x);return}}else{i(C)}}if(F==e.RIGHT||F==e.DELETE){x=u(C);if(x&&m(x)==="false"){B.preventDefault();if(F==e.RIGHT){y(x,false)}else{j.remove(x);return}}else{i(C)}}}if((F==e.BACKSPACE||F==e.DELETE)&&!t(F==e.BACKSPACE)){B.preventDefault();return false}}}}n.onMouseDown.addToTop(function(s,u){var t=s.selection.getNode();if(m(t)==="false"&&t==u.target){q()}});n.onMouseUp.addToTop(q);n.onKeyDown.addToTop(h);n.onKeyUp.addToTop(q)}tinymce.create("tinymce.plugins.NonEditablePlugin",{init:function(i,k){var h,g,j;function f(m,n){var o=j.length,p=n.content,l=tinymce.trim(g);if(n.format=="raw"){return}while(o--){p=p.replace(j[o],function(s){var r=arguments,q=r[r.length-2];if(q>0&&p.charAt(q-1)=='"'){return s}return''+m.dom.encode(typeof(r[1])==="string"?r[1]:r[0])+""})}n.content=p}h=" "+tinymce.trim(i.getParam("noneditable_editable_class","mceEditable"))+" ";g=" "+tinymce.trim(i.getParam("noneditable_noneditable_class","mceNonEditable"))+" ";j=i.getParam("noneditable_regexp");if(j&&!j.length){j=[j]}i.onPreInit.add(function(){b(i);if(j){i.selection.onBeforeSetContent.add(f);i.onBeforeSetContent.add(f)}i.parser.addAttributeFilter("class",function(l){var m=l.length,n,o;while(m--){o=l[m];n=" "+o.attr("class")+" ";if(n.indexOf(h)!==-1){o.attr(d,"true")}else{if(n.indexOf(g)!==-1){o.attr(d,"false")}}}});i.serializer.addAttributeFilter(d,function(l,m){var n=l.length,o;while(n--){o=l[n];if(j&&o.attr("data-mce-content")){o.name="#text";o.type=3;o.raw=true;o.value=o.attr("data-mce-content")}else{o.attr(a,null);o.attr(d,null)}}});i.parser.addAttributeFilter(a,function(l,m){var n=l.length,o;while(n--){o=l[n];o.attr(d,o.attr(a));o.attr(a,null)}})})},getInfo:function(){return{longname:"Non editable elements",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("noneditable",tinymce.plugins.NonEditablePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js new file mode 100755 index 00000000..a18bcd78 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js @@ -0,0 +1,537 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var TreeWalker = tinymce.dom.TreeWalker; + var externalName = 'contenteditable', internalName = 'data-mce-' + externalName; + var VK = tinymce.VK; + + function handleContentEditableSelection(ed) { + var dom = ed.dom, selection = ed.selection, invisibleChar, caretContainerId = 'mce_noneditablecaret', invisibleChar = '\uFEFF'; + + // Returns the content editable state of a node "true/false" or null + function getContentEditable(node) { + var contentEditable; + + // Ignore non elements + if (node.nodeType === 1) { + // Check for fake content editable + contentEditable = node.getAttribute(internalName); + if (contentEditable && contentEditable !== "inherit") { + return contentEditable; + } + + // Check for real content editable + contentEditable = node.contentEditable; + if (contentEditable !== "inherit") { + return contentEditable; + } + } + + return null; + }; + + // Returns the noneditable parent or null if there is a editable before it or if it wasn't found + function getNonEditableParent(node) { + var state; + + while (node) { + state = getContentEditable(node); + if (state) { + return state === "false" ? node : null; + } + + node = node.parentNode; + } + }; + + // Get caret container parent for the specified node + function getParentCaretContainer(node) { + while (node) { + if (node.id === caretContainerId) { + return node; + } + + node = node.parentNode; + } + }; + + // Finds the first text node in the specified node + function findFirstTextNode(node) { + var walker; + + if (node) { + walker = new TreeWalker(node, node); + + for (node = walker.current(); node; node = walker.next()) { + if (node.nodeType === 3) { + return node; + } + } + } + }; + + // Insert caret container before/after target or expand selection to include block + function insertCaretContainerOrExpandToBlock(target, before) { + var caretContainer, rng; + + // Select block + if (getContentEditable(target) === "false") { + if (dom.isBlock(target)) { + selection.select(target); + return; + } + } + + rng = dom.createRng(); + + if (getContentEditable(target) === "true") { + if (!target.firstChild) { + target.appendChild(ed.getDoc().createTextNode('\u00a0')); + } + + target = target.firstChild; + before = true; + } + + //caretContainer = dom.create('span', {id: caretContainerId, 'data-mce-bogus': true, style:'border: 1px solid red'}, invisibleChar); + caretContainer = dom.create('span', {id: caretContainerId, 'data-mce-bogus': true}, invisibleChar); + + if (before) { + target.parentNode.insertBefore(caretContainer, target); + } else { + dom.insertAfter(caretContainer, target); + } + + rng.setStart(caretContainer.firstChild, 1); + rng.collapse(true); + selection.setRng(rng); + + return caretContainer; + }; + + // Removes any caret container except the one we might be in + function removeCaretContainer(caretContainer) { + var child, currentCaretContainer, lastContainer; + + if (caretContainer) { + rng = selection.getRng(true); + rng.setStartBefore(caretContainer); + rng.setEndBefore(caretContainer); + + child = findFirstTextNode(caretContainer); + if (child && child.nodeValue.charAt(0) == invisibleChar) { + child = child.deleteData(0, 1); + } + + dom.remove(caretContainer, true); + + selection.setRng(rng); + } else { + currentCaretContainer = getParentCaretContainer(selection.getStart()); + while ((caretContainer = dom.get(caretContainerId)) && caretContainer !== lastContainer) { + if (currentCaretContainer !== caretContainer) { + child = findFirstTextNode(caretContainer); + if (child && child.nodeValue.charAt(0) == invisibleChar) { + child = child.deleteData(0, 1); + } + + dom.remove(caretContainer, true); + } + + lastContainer = caretContainer; + } + } + }; + + // Modifies the selection to include contentEditable false elements or insert caret containers + function moveSelection() { + var nonEditableStart, nonEditableEnd, isCollapsed, rng, element; + + // Checks if there is any contents to the left/right side of caret returns the noneditable element or any editable element if it finds one inside + function hasSideContent(element, left) { + var container, offset, walker, node, len; + + container = rng.startContainer; + offset = rng.startOffset; + + // If endpoint is in middle of text node then expand to beginning/end of element + if (container.nodeType == 3) { + len = container.nodeValue.length; + if ((offset > 0 && offset < len) || (left ? offset == len : offset == 0)) { + return; + } + } else { + // Can we resolve the node by index + if (offset < container.childNodes.length) { + // Browser represents caret position as the offset at the start of an element. When moving right + // this is the element we are moving into so we consider our container to be child node at offset-1 + var pos = !left && offset > 0 ? offset-1 : offset; + container = container.childNodes[pos]; + if (container.hasChildNodes()) { + container = container.firstChild; + } + } else { + // If not then the caret is at the last position in it's container and the caret container should be inserted after the noneditable element + return !left ? element : null; + } + } + + // Walk left/right to look for contents + walker = new TreeWalker(container, element); + while (node = walker[left ? 'prev' : 'next']()) { + if (node.nodeType === 3 && node.nodeValue.length > 0) { + return; + } else if (getContentEditable(node) === "true") { + // Found contentEditable=true element return this one to we can move the caret inside it + return node; + } + } + + return element; + }; + + // Remove any existing caret containers + removeCaretContainer(); + + // Get noneditable start/end elements + isCollapsed = selection.isCollapsed(); + nonEditableStart = getNonEditableParent(selection.getStart()); + nonEditableEnd = getNonEditableParent(selection.getEnd()); + + // Is any fo the range endpoints noneditable + if (nonEditableStart || nonEditableEnd) { + rng = selection.getRng(true); + + // If it's a caret selection then look left/right to see if we need to move the caret out side or expand + if (isCollapsed) { + nonEditableStart = nonEditableStart || nonEditableEnd; + var start = selection.getStart(); + if (element = hasSideContent(nonEditableStart, true)) { + // We have no contents to the left of the caret then insert a caret container before the noneditable element + insertCaretContainerOrExpandToBlock(element, true); + } else if (element = hasSideContent(nonEditableStart, false)) { + // We have no contents to the right of the caret then insert a caret container after the noneditable element + insertCaretContainerOrExpandToBlock(element, false); + } else { + // We are in the middle of a noneditable so expand to select it + selection.select(nonEditableStart); + } + } else { + rng = selection.getRng(true); + + // Expand selection to include start non editable element + if (nonEditableStart) { + rng.setStartBefore(nonEditableStart); + } + + // Expand selection to include end non editable element + if (nonEditableEnd) { + rng.setEndAfter(nonEditableEnd); + } + + selection.setRng(rng); + } + } + }; + + function handleKey(ed, e) { + var keyCode = e.keyCode, nonEditableParent, caretContainer, startElement, endElement; + + function getNonEmptyTextNodeSibling(node, prev) { + while (node = node[prev ? 'previousSibling' : 'nextSibling']) { + if (node.nodeType !== 3 || node.nodeValue.length > 0) { + return node; + } + } + }; + + function positionCaretOnElement(element, start) { + selection.select(element); + selection.collapse(start); + } + + function canDelete(backspace) { + var rng, container, offset, nonEditableParent; + + function removeNodeIfNotParent(node) { + var parent = container; + + while (parent) { + if (parent === node) { + return; + } + + parent = parent.parentNode; + } + + dom.remove(node); + moveSelection(); + } + + function isNextPrevTreeNodeNonEditable() { + var node, walker, nonEmptyElements = ed.schema.getNonEmptyElements(); + + walker = new tinymce.dom.TreeWalker(container, ed.getBody()); + while (node = (backspace ? walker.prev() : walker.next())) { + // Found IMG/INPUT etc + if (nonEmptyElements[node.nodeName.toLowerCase()]) { + break; + } + + // Found text node with contents + if (node.nodeType === 3 && tinymce.trim(node.nodeValue).length > 0) { + break; + } + + // Found non editable node + if (getContentEditable(node) === "false") { + removeNodeIfNotParent(node); + return true; + } + } + + // Check if the content node is within a non editable parent + if (getNonEditableParent(node)) { + return true; + } + + return false; + } + + if (selection.isCollapsed()) { + rng = selection.getRng(true); + container = rng.startContainer; + offset = rng.startOffset; + container = getParentCaretContainer(container) || container; + + // Is in noneditable parent + if (nonEditableParent = getNonEditableParent(container)) { + removeNodeIfNotParent(nonEditableParent); + return false; + } + + // Check if the caret is in the middle of a text node + if (container.nodeType == 3 && (backspace ? offset > 0 : offset < container.nodeValue.length)) { + return true; + } + + // Resolve container index + if (container.nodeType == 1) { + container = container.childNodes[offset] || container; + } + + // Check if previous or next tree node is non editable then block the event + if (isNextPrevTreeNodeNonEditable()) { + return false; + } + } + + return true; + } + + startElement = selection.getStart() + endElement = selection.getEnd(); + + // Disable all key presses in contentEditable=false except delete or backspace + nonEditableParent = getNonEditableParent(startElement) || getNonEditableParent(endElement); + if (nonEditableParent && (keyCode < 112 || keyCode > 124) && keyCode != VK.DELETE && keyCode != VK.BACKSPACE) { + // Is Ctrl+c, Ctrl+v or Ctrl+x then use default browser behavior + if ((tinymce.isMac ? e.metaKey : e.ctrlKey) && (keyCode == 67 || keyCode == 88 || keyCode == 86)) { + return; + } + + e.preventDefault(); + + // Arrow left/right select the element and collapse left/right + if (keyCode == VK.LEFT || keyCode == VK.RIGHT) { + var left = keyCode == VK.LEFT; + // If a block element find previous or next element to position the caret + if (ed.dom.isBlock(nonEditableParent)) { + var targetElement = left ? nonEditableParent.previousSibling : nonEditableParent.nextSibling; + var walker = new TreeWalker(targetElement, targetElement); + var caretElement = left ? walker.prev() : walker.next(); + positionCaretOnElement(caretElement, !left); + } else { + positionCaretOnElement(nonEditableParent, left); + } + } + } else { + // Is arrow left/right, backspace or delete + if (keyCode == VK.LEFT || keyCode == VK.RIGHT || keyCode == VK.BACKSPACE || keyCode == VK.DELETE) { + caretContainer = getParentCaretContainer(startElement); + if (caretContainer) { + // Arrow left or backspace + if (keyCode == VK.LEFT || keyCode == VK.BACKSPACE) { + nonEditableParent = getNonEmptyTextNodeSibling(caretContainer, true); + + if (nonEditableParent && getContentEditable(nonEditableParent) === "false") { + e.preventDefault(); + + if (keyCode == VK.LEFT) { + positionCaretOnElement(nonEditableParent, true); + } else { + dom.remove(nonEditableParent); + return; + } + } else { + removeCaretContainer(caretContainer); + } + } + + // Arrow right or delete + if (keyCode == VK.RIGHT || keyCode == VK.DELETE) { + nonEditableParent = getNonEmptyTextNodeSibling(caretContainer); + + if (nonEditableParent && getContentEditable(nonEditableParent) === "false") { + e.preventDefault(); + + if (keyCode == VK.RIGHT) { + positionCaretOnElement(nonEditableParent, false); + } else { + dom.remove(nonEditableParent); + return; + } + } else { + removeCaretContainer(caretContainer); + } + } + } + + if ((keyCode == VK.BACKSPACE || keyCode == VK.DELETE) && !canDelete(keyCode == VK.BACKSPACE)) { + e.preventDefault(); + return false; + } + } + } + }; + + ed.onMouseDown.addToTop(function(ed, e) { + var node = ed.selection.getNode(); + + if (getContentEditable(node) === "false" && node == e.target) { + // Expand selection on mouse down we can't block the default event since it's used for drag/drop + moveSelection(); + } + }); + + ed.onMouseUp.addToTop(moveSelection); + ed.onKeyDown.addToTop(handleKey); + ed.onKeyUp.addToTop(moveSelection); + }; + + tinymce.create('tinymce.plugins.NonEditablePlugin', { + init : function(ed, url) { + var editClass, nonEditClass, nonEditableRegExps; + + // Converts configured regexps to noneditable span items + function convertRegExpsToNonEditable(ed, args) { + var i = nonEditableRegExps.length, content = args.content, cls = tinymce.trim(nonEditClass); + + // Don't replace the variables when raw is used for example on undo/redo + if (args.format == "raw") { + return; + } + + while (i--) { + content = content.replace(nonEditableRegExps[i], function(match) { + var args = arguments, index = args[args.length - 2]; + + // Is value inside an attribute then don't replace + if (index > 0 && content.charAt(index - 1) == '"') { + return match; + } + + return '' + ed.dom.encode(typeof(args[1]) === "string" ? args[1] : args[0]) + ''; + }); + } + + args.content = content; + }; + + editClass = " " + tinymce.trim(ed.getParam("noneditable_editable_class", "mceEditable")) + " "; + nonEditClass = " " + tinymce.trim(ed.getParam("noneditable_noneditable_class", "mceNonEditable")) + " "; + + // Setup noneditable regexps array + nonEditableRegExps = ed.getParam("noneditable_regexp"); + if (nonEditableRegExps && !nonEditableRegExps.length) { + nonEditableRegExps = [nonEditableRegExps]; + } + + ed.onPreInit.add(function() { + handleContentEditableSelection(ed); + + if (nonEditableRegExps) { + ed.selection.onBeforeSetContent.add(convertRegExpsToNonEditable); + ed.onBeforeSetContent.add(convertRegExpsToNonEditable); + } + + // Apply contentEditable true/false on elements with the noneditable/editable classes + ed.parser.addAttributeFilter('class', function(nodes) { + var i = nodes.length, className, node; + + while (i--) { + node = nodes[i]; + className = " " + node.attr("class") + " "; + + if (className.indexOf(editClass) !== -1) { + node.attr(internalName, "true"); + } else if (className.indexOf(nonEditClass) !== -1) { + node.attr(internalName, "false"); + } + } + }); + + // Remove internal name + ed.serializer.addAttributeFilter(internalName, function(nodes, name) { + var i = nodes.length, node; + + while (i--) { + node = nodes[i]; + + if (nonEditableRegExps && node.attr('data-mce-content')) { + node.name = "#text"; + node.type = 3; + node.raw = true; + node.value = node.attr('data-mce-content'); + } else { + node.attr(externalName, null); + node.attr(internalName, null); + } + } + }); + + // Convert external name into internal name + ed.parser.addAttributeFilter(externalName, function(nodes, name) { + var i = nodes.length, node; + + while (i--) { + node = nodes[i]; + node.attr(internalName, node.attr(externalName)); + node.attr(externalName, null); + } + }); + }); + }, + + getInfo : function() { + return { + longname : 'Non editable elements', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('noneditable', tinymce.plugins.NonEditablePlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js new file mode 100644 index 00000000..35085e8a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='',a="mcePageBreak",c=b.getParam("pagebreak_separator",""),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js new file mode 100644 index 00000000..a094c191 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js @@ -0,0 +1,74 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.PageBreakPlugin', { + init : function(ed, url) { + var pb = '', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', ''), pbRE; + + pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g'); + + // Register commands + ed.addCommand('mcePageBreak', function() { + ed.execCommand('mceInsertContent', 0, pb); + }); + + // Register buttons + ed.addButton('pagebreak', {title : 'pagebreak.desc', cmd : cls}); + + ed.onInit.add(function() { + if (ed.theme.onResolveName) { + ed.theme.onResolveName.add(function(th, o) { + if (o.node.nodeName == 'IMG' && ed.dom.hasClass(o.node, cls)) + o.name = 'pagebreak'; + }); + } + }); + + ed.onClick.add(function(ed, e) { + e = e.target; + + if (e.nodeName === 'IMG' && ed.dom.hasClass(e, cls)) + ed.selection.select(e); + }); + + ed.onNodeChange.add(function(ed, cm, n) { + cm.setActive('pagebreak', n.nodeName === 'IMG' && ed.dom.hasClass(n, cls)); + }); + + ed.onBeforeSetContent.add(function(ed, o) { + o.content = o.content.replace(pbRE, pb); + }); + + ed.onPostProcess.add(function(ed, o) { + if (o.get) + o.content = o.content.replace(/]+>/g, function(im) { + if (im.indexOf('class="mcePageBreak') !== -1) + im = sep; + + return im; + }); + }); + }, + + getInfo : function() { + return { + longname : 'PageBreak', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('pagebreak', tinymce.plugins.PageBreakPlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js new file mode 100755 index 00000000..0ab05ebb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin.js @@ -0,0 +1 @@ +(function(){var c=tinymce.each,a={paste_auto_cleanup_on_paste:true,paste_enable_default_filters:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_max_consecutive_linebreaks:2,paste_text_use_dialog:false,paste_text_sticky:false,paste_text_sticky_default:false,paste_text_notifyalways:false,paste_text_linebreaktype:"combined",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(d,e){return d.getParam(e,a[e])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(d,e){var f=this;f.editor=d;f.url=e;f.onPreProcess=new tinymce.util.Dispatcher(f);f.onPostProcess=new tinymce.util.Dispatcher(f);f.onPreProcess.add(f._preProcess);f.onPostProcess.add(f._postProcess);f.onPreProcess.add(function(i,j){d.execCallback("paste_preprocess",i,j)});f.onPostProcess.add(function(i,j){d.execCallback("paste_postprocess",i,j)});d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){return false}});d.pasteAsPlainText=b(d,"paste_text_sticky_default");function h(l,j){var k=d.dom,i;f.onPreProcess.dispatch(f,l);l.node=k.create("div",0,l.content);if(tinymce.isGecko){i=d.selection.getRng(true);if(i.startContainer==i.endContainer&&i.startContainer.nodeType==3){if(l.node.childNodes.length===1&&/^(p|h[1-6]|pre)$/i.test(l.node.firstChild.nodeName)&&l.content.indexOf("__MCE_ITEM__")===-1){k.remove(l.node.firstChild,true)}}}f.onPostProcess.dispatch(f,l);l.content=d.serializer.serialize(l.node,{getInner:1,forced_root_block:""});if((!j)&&(d.pasteAsPlainText)){f._insertPlainText(l.content);if(!b(d,"paste_text_sticky")){d.pasteAsPlainText=false;d.controlManager.setActive("pastetext",false)}}else{f._insert(l.content)}}d.addCommand("mceInsertClipboardContent",function(i,j){h(j,true)});if(!b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(j,i){var k=tinymce.util.Cookie;d.pasteAsPlainText=!d.pasteAsPlainText;d.controlManager.setActive("pastetext",d.pasteAsPlainText);if((d.pasteAsPlainText)&&(!k.get("tinymcePasteText"))){if(b(d,"paste_text_sticky")){d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}else{d.windowManager.alert(d.translate("paste.plaintext_mode"))}if(!b(d,"paste_text_notifyalways")){k.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}d.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});d.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function g(s){var l,p,j,t,k=d.selection,o=d.dom,q=d.getBody(),i,r;if(s.clipboardData||o.doc.dataTransfer){r=(s.clipboardData||o.doc.dataTransfer).getData("Text");if(d.pasteAsPlainText){s.preventDefault();h({content:o.encode(r).replace(/\r?\n/g,"
    ")});return}}if(o.get("_mcePaste")){return}l=o.add(q,"div",{id:"_mcePaste","class":"mcePaste","data-mce-bogus":"1"},"\uFEFF\uFEFF");if(q!=d.getDoc().body){i=o.getPos(d.selection.getStart(),q).y}else{i=q.scrollTop+o.getViewPort(d.getWin()).y}o.setStyles(l,{position:"absolute",left:tinymce.isGecko?-40:0,top:i-25,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){t=k.getRng();j=o.doc.body.createTextRange();j.moveToElementText(l);j.execCommand("Paste");o.remove(l);if(l.innerHTML==="\uFEFF\uFEFF"){d.execCommand("mcePasteWord");s.preventDefault();return}k.setRng(t);k.setContent("");setTimeout(function(){h({content:l.innerHTML})},0);return tinymce.dom.Event.cancel(s)}else{function m(n){n.preventDefault()}o.bind(d.getDoc(),"mousedown",m);o.bind(d.getDoc(),"keydown",m);p=d.selection.getRng();l=l.firstChild;j=d.getDoc().createRange();j.setStart(l,0);j.setEnd(l,2);k.setRng(j);window.setTimeout(function(){var u="",n;if(!o.select("div.mcePaste > div.mcePaste").length){n=o.select("div.mcePaste");c(n,function(w){var v=w.firstChild;if(v&&v.nodeName=="DIV"&&v.style.marginTop&&v.style.backgroundColor){o.remove(v,1)}c(o.select("span.Apple-style-span",w),function(x){o.remove(x,1)});c(o.select("br[data-mce-bogus]",w),function(x){o.remove(x)});if(w.parentNode.className!="mcePaste"){u+=w.innerHTML}})}else{u="

    "+o.encode(r).replace(/\r?\n\r?\n/g,"

    ").replace(/\r?\n/g,"
    ")+"

    "}c(o.select("div.mcePaste"),function(v){o.remove(v)});if(p){k.setRng(p)}h({content:u});o.unbind(d.getDoc(),"mousedown",m);o.unbind(d.getDoc(),"keydown",m)},0)}}if(b(d,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){g(j)}})}else{d.onPaste.addToTop(function(i,j){return g(j)})}}d.onInit.add(function(){d.controlManager.setActive("pastetext",d.pasteAsPlainText);if(b(d,"paste_block_drop")){d.dom.bind(d.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(i){i.preventDefault();i.stopPropagation();return false})}});f._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(g,e){var k=this.editor,j=e.content,p=tinymce.grep,n=tinymce.explode,f=tinymce.trim,l,i;function d(h){c(h,function(o){if(o.constructor==RegExp){j=j.replace(o,"")}else{j=j.replace(o[0],o[1])}})}if(k.settings.paste_enable_default_filters==false){return}if(tinymce.isIE&&document.documentMode>=9&&/<(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)/.test(e.content)){d([[/(?:
     [\s\r\n]+|
    )*(<\/?(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)[^>]*>)(?:
     [\s\r\n]+|
    )*/g,"$1"]]);d([[/

    /g,"

    "],[/
    /g," "],[/

    /g,"
    "]])}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(j)||e.wordContent){e.wordContent=true;d([/^\s*( )+/gi,/( |]*>)+\s*$/gi]);if(b(k,"paste_convert_headers_to_strong")){j=j.replace(/

    ]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"

    $1

    ")}if(b(k,"paste_convert_middot_lists")){d([[//gi,"$&__MCE_ITEM__"],[/(]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"],[/(]+(?:MsoListParagraph)[^>]+>)/gi,"$1__MCE_ITEM__"]])}d([//gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\u00a0"]]);do{l=j.length;j=j.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(l!=j.length);if(b(k,"paste_retain_style_properties").replace(/^none$/i,"").length==0){j=j.replace(/<\/?span[^>]*>/gi,"")}else{d([[/([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(t,h,r){var u=[],o=0,q=n(f(r).replace(/"/gi,"'"),";");c(q,function(s){var w,y,z=n(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":u[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":u[o++]="text-align:"+y;return;case"vert-align":u[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":u[o++]="color:"+y;return;case"mso-background":case"mso-highlight":u[o++]="background:"+y;return;case"mso-default-height":u[o++]="min-height:"+x(y);return;case"mso-default-width":u[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":u[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){u[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){u[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}u[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+u.join(";")+'"'}else{return h}}]])}}if(b(k,"paste_convert_headers_to_strong")){d([[/]*>/gi,"

    "],[/<\/h[1-6][^>]*>/gi,"

    "]])}d([[/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi,""]]);i=b(k,"paste_strip_class_attributes");if(i!=="none"){function m(q,o){if(i==="all"){return""}var h=p(n(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(r){return(/^(?!mso)/i.test(r))});return h.length?' class="'+h.join(" ")+'"':""}j=j.replace(/ class="([^"]+)"/gi,m);j=j.replace(/ class=([\-\w]+)/gi,m)}if(b(k,"paste_remove_spans")){j=j.replace(/<\/?span[^>]*>/gi,"")}e.content=j},_postProcess:function(g,i){var f=this,e=f.editor,h=e.dom,d;if(e.settings.paste_enable_default_filters==false){return}if(i.wordContent){c(h.select("a",i.node),function(j){if(!j.href||j.href.indexOf("#_Toc")!=-1){h.remove(j,1)}});if(b(e,"paste_convert_middot_lists")){f._convertLists(g,i)}d=b(e,"paste_retain_style_properties");if((tinymce.is(d,"string"))&&(d!=="all")&&(d!=="*")){d=tinymce.explode(d.replace(/^none$/i,""));c(h.select("*",i.node),function(m){var n={},k=0,l,o,j;if(d){for(l=0;l0){h.setStyles(m,n)}else{if(m.nodeName=="SPAN"&&!m.className){h.remove(m,true)}}})}}if(b(e,"paste_remove_styles")||(b(e,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(h.select("*[style]",i.node),function(j){j.removeAttribute("style");j.removeAttribute("data-mce-style")})}else{if(tinymce.isWebKit){c(h.select("*",i.node),function(j){j.removeAttribute("data-mce-style")})}}},_convertLists:function(g,e){var i=g.editor.dom,h,l,d=-1,f,m=[],k,j;c(i.select("p",e.node),function(t){var q,u="",s,r,n,o;for(q=t.firstChild;q&&q.nodeType==3;q=q.nextSibling){u+=q.nodeValue}u=t.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/ /g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*\u00a0*/.test(u)){s="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(u)){s="ol"}if(s){f=parseFloat(t.style.marginLeft||0);if(f>d){m.push(f)}if(!h||s!=k){h=i.create(s);i.insertAfter(h,t)}else{if(f>d){h=l.appendChild(i.create(s))}else{if(f]*>/gi,"");if(s=="ul"&&/^__MCE_ITEM__[\u2022\u00b7\u00a7\u00d8o\u25CF]/.test(p)){i.remove(v)}else{if(/^__MCE_ITEM__[\s\S]*\w+\.( |\u00a0)*\s*/.test(p)){i.remove(v)}}});r=t.innerHTML;if(s=="ul"){r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*( |\u00a0)+\s*/,"")}else{r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.( |\u00a0)+\s*/,"")}l=h.appendChild(i.create("li",0,r));i.remove(t);d=f;k=s}else{h=d=0}});j=e.node.innerHTML;if(j.indexOf("__MCE_ITEM__")!=-1){e.node.innerHTML=j.replace(/__MCE_ITEM__/g,"")}},_insert:function(f,d){var e=this.editor,g=e.selection.getRng();if(!e.selection.isCollapsed()&&g.startContainer!=g.endContainer){e.getDoc().execCommand("Delete",false,null)}e.execCommand("mceInsertContent",false,f,{skip_undo:d})},_insertPlainText:function(j){var h=this.editor,f=b(h,"paste_text_linebreaktype"),k=b(h,"paste_text_replacements"),g=tinymce.is;function e(m){c(m,function(n){if(n.constructor==RegExp){j=j.replace(n,"")}else{j=j.replace(n[0],n[1])}})}if((typeof(j)==="string")&&(j.length>0)){if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(j)){e([/[\n\r]+/g])}else{e([/\r+/g])}e([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/ /gi," "],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"]]);var d=Number(b(h,"paste_max_consecutive_linebreaks"));if(d>-1){var l=new RegExp("\n{"+(d+1)+",}","g");var i="";while(i.length"]])}else{if(f=="p"){e([[/\n+/g,"

    "],[/^(.*<\/p>)(

    )$/,"

    $1"]])}else{e([[/\n\n/g,"

    "],[/^(.*<\/p>)(

    )$/,"

    $1"],[/\n/g,"
    "]])}}}h.execCommand("mceInsertContent",false,j)}},_legacySupport:function(){var e=this,d=e.editor;d.addCommand("mcePasteWord",function(){d.windowManager.open({file:e.url+"/pasteword.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})});if(b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(){d.windowManager.open({file:e.url+"/pastetext.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})})}d.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js new file mode 100755 index 00000000..0154eceb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/editor_plugin_src.js @@ -0,0 +1,885 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var each = tinymce.each, + defs = { + paste_auto_cleanup_on_paste : true, + paste_enable_default_filters : true, + paste_block_drop : false, + paste_retain_style_properties : "none", + paste_strip_class_attributes : "mso", + paste_remove_spans : false, + paste_remove_styles : false, + paste_remove_styles_if_webkit : true, + paste_convert_middot_lists : true, + paste_convert_headers_to_strong : false, + paste_dialog_width : "450", + paste_dialog_height : "400", + paste_max_consecutive_linebreaks: 2, + paste_text_use_dialog : false, + paste_text_sticky : false, + paste_text_sticky_default : false, + paste_text_notifyalways : false, + paste_text_linebreaktype : "combined", + paste_text_replacements : [ + [/\u2026/g, "..."], + [/[\x93\x94\u201c\u201d]/g, '"'], + [/[\x60\x91\x92\u2018\u2019]/g, "'"] + ] + }; + + function getParam(ed, name) { + return ed.getParam(name, defs[name]); + } + + tinymce.create('tinymce.plugins.PastePlugin', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + t.url = url; + + // Setup plugin events + t.onPreProcess = new tinymce.util.Dispatcher(t); + t.onPostProcess = new tinymce.util.Dispatcher(t); + + // Register default handlers + t.onPreProcess.add(t._preProcess); + t.onPostProcess.add(t._postProcess); + + // Register optional preprocess handler + t.onPreProcess.add(function(pl, o) { + ed.execCallback('paste_preprocess', pl, o); + }); + + // Register optional postprocess + t.onPostProcess.add(function(pl, o) { + ed.execCallback('paste_postprocess', pl, o); + }); + + ed.onKeyDown.addToTop(function(ed, e) { + // Block ctrl+v from adding an undo level since the default logic in tinymce.Editor will add that + if (((tinymce.isMac ? e.metaKey : e.ctrlKey) && e.keyCode == 86) || (e.shiftKey && e.keyCode == 45)) + return false; // Stop other listeners + }); + + // Initialize plain text flag + ed.pasteAsPlainText = getParam(ed, 'paste_text_sticky_default'); + + // This function executes the process handlers and inserts the contents + // force_rich overrides plain text mode set by user, important for pasting with execCommand + function process(o, force_rich) { + var dom = ed.dom, rng; + + // Execute pre process handlers + t.onPreProcess.dispatch(t, o); + + // Create DOM structure + o.node = dom.create('div', 0, o.content); + + // If pasting inside the same element and the contents is only one block + // remove the block and keep the text since Firefox will copy parts of pre and h1-h6 as a pre element + if (tinymce.isGecko) { + rng = ed.selection.getRng(true); + if (rng.startContainer == rng.endContainer && rng.startContainer.nodeType == 3) { + // Is only one block node and it doesn't contain word stuff + if (o.node.childNodes.length === 1 && /^(p|h[1-6]|pre)$/i.test(o.node.firstChild.nodeName) && o.content.indexOf('__MCE_ITEM__') === -1) + dom.remove(o.node.firstChild, true); + } + } + + // Execute post process handlers + t.onPostProcess.dispatch(t, o); + + // Serialize content + o.content = ed.serializer.serialize(o.node, {getInner : 1, forced_root_block : ''}); + + // Plain text option active? + if ((!force_rich) && (ed.pasteAsPlainText)) { + t._insertPlainText(o.content); + + if (!getParam(ed, "paste_text_sticky")) { + ed.pasteAsPlainText = false; + ed.controlManager.setActive("pastetext", false); + } + } else { + t._insert(o.content); + } + } + + // Add command for external usage + ed.addCommand('mceInsertClipboardContent', function(u, o) { + process(o, true); + }); + + if (!getParam(ed, "paste_text_use_dialog")) { + ed.addCommand('mcePasteText', function(u, v) { + var cookie = tinymce.util.Cookie; + + ed.pasteAsPlainText = !ed.pasteAsPlainText; + ed.controlManager.setActive('pastetext', ed.pasteAsPlainText); + + if ((ed.pasteAsPlainText) && (!cookie.get("tinymcePasteText"))) { + if (getParam(ed, "paste_text_sticky")) { + ed.windowManager.alert(ed.translate('paste.plaintext_mode_sticky')); + } else { + ed.windowManager.alert(ed.translate('paste.plaintext_mode')); + } + + if (!getParam(ed, "paste_text_notifyalways")) { + cookie.set("tinymcePasteText", "1", new Date(new Date().getFullYear() + 1, 12, 31)) + } + } + }); + } + + ed.addButton('pastetext', {title: 'paste.paste_text_desc', cmd: 'mcePasteText'}); + ed.addButton('selectall', {title: 'paste.selectall_desc', cmd: 'selectall'}); + + // This function grabs the contents from the clipboard by adding a + // hidden div and placing the caret inside it and after the browser paste + // is done it grabs that contents and processes that + function grabContent(e) { + var n, or, rng, oldRng, sel = ed.selection, dom = ed.dom, body = ed.getBody(), posY, textContent; + + // Check if browser supports direct plaintext access + if (e.clipboardData || dom.doc.dataTransfer) { + textContent = (e.clipboardData || dom.doc.dataTransfer).getData('Text'); + + if (ed.pasteAsPlainText) { + e.preventDefault(); + process({content : dom.encode(textContent).replace(/\r?\n/g, '
    ')}); + return; + } + } + + if (dom.get('_mcePaste')) + return; + + // Create container to paste into + n = dom.add(body, 'div', {id : '_mcePaste', 'class' : 'mcePaste', 'data-mce-bogus' : '1'}, '\uFEFF\uFEFF'); + + // If contentEditable mode we need to find out the position of the closest element + if (body != ed.getDoc().body) + posY = dom.getPos(ed.selection.getStart(), body).y; + else + posY = body.scrollTop + dom.getViewPort(ed.getWin()).y; + + // Styles needs to be applied after the element is added to the document since WebKit will otherwise remove all styles + // If also needs to be in view on IE or the paste would fail + dom.setStyles(n, { + position : 'absolute', + left : tinymce.isGecko ? -40 : 0, // Need to move it out of site on Gecko since it will othewise display a ghost resize rect for the div + top : posY - 25, + width : 1, + height : 1, + overflow : 'hidden' + }); + + if (tinymce.isIE) { + // Store away the old range + oldRng = sel.getRng(); + + // Select the container + rng = dom.doc.body.createTextRange(); + rng.moveToElementText(n); + rng.execCommand('Paste'); + + // Remove container + dom.remove(n); + + // Check if the contents was changed, if it wasn't then clipboard extraction failed probably due + // to IE security settings so we pass the junk though better than nothing right + if (n.innerHTML === '\uFEFF\uFEFF') { + ed.execCommand('mcePasteWord'); + e.preventDefault(); + return; + } + + // Restore the old range and clear the contents before pasting + sel.setRng(oldRng); + sel.setContent(''); + + // For some odd reason we need to detach the the mceInsertContent call from the paste event + // It's like IE has a reference to the parent element that you paste in and the selection gets messed up + // when it tries to restore the selection + setTimeout(function() { + // Process contents + process({content : n.innerHTML}); + }, 0); + + // Block the real paste event + return tinymce.dom.Event.cancel(e); + } else { + function block(e) { + e.preventDefault(); + }; + + // Block mousedown and click to prevent selection change + dom.bind(ed.getDoc(), 'mousedown', block); + dom.bind(ed.getDoc(), 'keydown', block); + + or = ed.selection.getRng(); + + // Move select contents inside DIV + n = n.firstChild; + rng = ed.getDoc().createRange(); + rng.setStart(n, 0); + rng.setEnd(n, 2); + sel.setRng(rng); + + // Wait a while and grab the pasted contents + window.setTimeout(function() { + var h = '', nl; + + // Paste divs duplicated in paste divs seems to happen when you paste plain text so lets first look for that broken behavior in WebKit + if (!dom.select('div.mcePaste > div.mcePaste').length) { + nl = dom.select('div.mcePaste'); + + // WebKit will split the div into multiple ones so this will loop through then all and join them to get the whole HTML string + each(nl, function(n) { + var child = n.firstChild; + + // WebKit inserts a DIV container with lots of odd styles + if (child && child.nodeName == 'DIV' && child.style.marginTop && child.style.backgroundColor) { + dom.remove(child, 1); + } + + // Remove apply style spans + each(dom.select('span.Apple-style-span', n), function(n) { + dom.remove(n, 1); + }); + + // Remove bogus br elements + each(dom.select('br[data-mce-bogus]', n), function(n) { + dom.remove(n); + }); + + // WebKit will make a copy of the DIV for each line of plain text pasted and insert them into the DIV + if (n.parentNode.className != 'mcePaste') + h += n.innerHTML; + }); + } else { + // Found WebKit weirdness so force the content into paragraphs this seems to happen when you paste plain text from Nodepad etc + // So this logic will replace double enter with paragraphs and single enter with br so it kind of looks the same + h = '

    ' + dom.encode(textContent).replace(/\r?\n\r?\n/g, '

    ').replace(/\r?\n/g, '
    ') + '

    '; + } + + // Remove the nodes + each(dom.select('div.mcePaste'), function(n) { + dom.remove(n); + }); + + // Restore the old selection + if (or) + sel.setRng(or); + + process({content : h}); + + // Unblock events ones we got the contents + dom.unbind(ed.getDoc(), 'mousedown', block); + dom.unbind(ed.getDoc(), 'keydown', block); + }, 0); + } + } + + // Check if we should use the new auto process method + if (getParam(ed, "paste_auto_cleanup_on_paste")) { + // Is it's Opera or older FF use key handler + if (tinymce.isOpera || /Firefox\/2/.test(navigator.userAgent)) { + ed.onKeyDown.addToTop(function(ed, e) { + if (((tinymce.isMac ? e.metaKey : e.ctrlKey) && e.keyCode == 86) || (e.shiftKey && e.keyCode == 45)) + grabContent(e); + }); + } else { + // Grab contents on paste event on Gecko and WebKit + ed.onPaste.addToTop(function(ed, e) { + return grabContent(e); + }); + } + } + + ed.onInit.add(function() { + ed.controlManager.setActive("pastetext", ed.pasteAsPlainText); + + // Block all drag/drop events + if (getParam(ed, "paste_block_drop")) { + ed.dom.bind(ed.getBody(), ['dragend', 'dragover', 'draggesture', 'dragdrop', 'drop', 'drag'], function(e) { + e.preventDefault(); + e.stopPropagation(); + + return false; + }); + } + }); + + // Add legacy support + t._legacySupport(); + }, + + getInfo : function() { + return { + longname : 'Paste text/word', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + _preProcess : function(pl, o) { + var ed = this.editor, + h = o.content, + grep = tinymce.grep, + explode = tinymce.explode, + trim = tinymce.trim, + len, stripClass; + + //console.log('Before preprocess:' + o.content); + + function process(items) { + each(items, function(v) { + // Remove or replace + if (v.constructor == RegExp) + h = h.replace(v, ''); + else + h = h.replace(v[0], v[1]); + }); + } + + if (ed.settings.paste_enable_default_filters == false) { + return; + } + + // IE9 adds BRs before/after block elements when contents is pasted from word or for example another browser + if (tinymce.isIE && document.documentMode >= 9 && /<(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)/.test(o.content)) { + // IE9 adds BRs before/after block elements when contents is pasted from word or for example another browser + process([[/(?:
     [\s\r\n]+|
    )*(<\/?(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)[^>]*>)(?:
     [\s\r\n]+|
    )*/g, '$1']]); + + // IE9 also adds an extra BR element for each soft-linefeed and it also adds a BR for each word wrap break + process([ + [/

    /g, '

    '], // Replace multiple BR elements with uppercase BR to keep them intact + [/
    /g, ' '], // Replace single br elements with space since they are word wrap BR:s + [/

    /g, '
    '] // Replace back the double brs but into a single BR + ]); + } + + // Detect Word content and process it more aggressive + if (/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(h) || o.wordContent) { + o.wordContent = true; // Mark the pasted contents as word specific content + //console.log('Word contents detected.'); + + // Process away some basic content + process([ + /^\s*( )+/gi, //   entities at the start of contents + /( |]*>)+\s*$/gi //   entities at the end of contents + ]); + + if (getParam(ed, "paste_convert_headers_to_strong")) { + h = h.replace(/

    ]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi, "

    $1

    "); + } + + if (getParam(ed, "paste_convert_middot_lists")) { + process([ + [//gi, '$&__MCE_ITEM__'], // Convert supportLists to a list item marker + [/(]+(?:mso-list:|:\s*symbol)[^>]+>)/gi, '$1__MCE_ITEM__'], // Convert mso-list and symbol spans to item markers + [/(]+(?:MsoListParagraph)[^>]+>)/gi, '$1__MCE_ITEM__'] // Convert mso-list and symbol paragraphs to item markers (FF) + ]); + } + + process([ + // Word comments like conditional comments etc + //gi, + + // Remove comments, scripts (e.g., msoShowComment), XML tag, VML content, MS Office namespaced tags, and a few other tags + /<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi, + + // Convert into for line-though + [/<(\/?)s>/gi, "<$1strike>"], + + // Replace nsbp entites to char since it's easier to handle + [/ /gi, "\u00a0"] + ]); + + // Remove bad attributes, with or without quotes, ensuring that attribute text is really inside a tag. + // If JavaScript had a RegExp look-behind, we could have integrated this with the last process() array and got rid of the loop. But alas, it does not, so we cannot. + do { + len = h.length; + h = h.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1"); + } while (len != h.length); + + // Remove all spans if no styles is to be retained + if (getParam(ed, "paste_retain_style_properties").replace(/^none$/i, "").length == 0) { + h = h.replace(/<\/?span[^>]*>/gi, ""); + } else { + // We're keeping styles, so at least clean them up. + // CSS Reference: http://msdn.microsoft.com/en-us/library/aa155477.aspx + + process([ + // Convert ___ to string of alternating breaking/non-breaking spaces of same length + [/([\s\u00a0]*)<\/span>/gi, + function(str, spaces) { + return (spaces.length > 0)? spaces.replace(/./, " ").slice(Math.floor(spaces.length/2)).split("").join("\u00a0") : ""; + } + ], + + // Examine all styles: delete junk, transform some, and keep the rest + [/(<[a-z][^>]*)\sstyle="([^"]*)"/gi, + function(str, tag, style) { + var n = [], + i = 0, + s = explode(trim(style).replace(/"/gi, "'"), ";"); + + // Examine each style definition within the tag's style attribute + each(s, function(v) { + var name, value, + parts = explode(v, ":"); + + function ensureUnits(v) { + return v + ((v !== "0") && (/\d$/.test(v)))? "px" : ""; + } + + if (parts.length == 2) { + name = parts[0].toLowerCase(); + value = parts[1].toLowerCase(); + + // Translate certain MS Office styles into their CSS equivalents + switch (name) { + case "mso-padding-alt": + case "mso-padding-top-alt": + case "mso-padding-right-alt": + case "mso-padding-bottom-alt": + case "mso-padding-left-alt": + case "mso-margin-alt": + case "mso-margin-top-alt": + case "mso-margin-right-alt": + case "mso-margin-bottom-alt": + case "mso-margin-left-alt": + case "mso-table-layout-alt": + case "mso-height": + case "mso-width": + case "mso-vertical-align-alt": + n[i++] = name.replace(/^mso-|-alt$/g, "") + ":" + ensureUnits(value); + return; + + case "horiz-align": + n[i++] = "text-align:" + value; + return; + + case "vert-align": + n[i++] = "vertical-align:" + value; + return; + + case "font-color": + case "mso-foreground": + n[i++] = "color:" + value; + return; + + case "mso-background": + case "mso-highlight": + n[i++] = "background:" + value; + return; + + case "mso-default-height": + n[i++] = "min-height:" + ensureUnits(value); + return; + + case "mso-default-width": + n[i++] = "min-width:" + ensureUnits(value); + return; + + case "mso-padding-between-alt": + n[i++] = "border-collapse:separate;border-spacing:" + ensureUnits(value); + return; + + case "text-line-through": + if ((value == "single") || (value == "double")) { + n[i++] = "text-decoration:line-through"; + } + return; + + case "mso-zero-height": + if (value == "yes") { + n[i++] = "display:none"; + } + return; + } + + // Eliminate all MS Office style definitions that have no CSS equivalent by examining the first characters in the name + if (/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(name)) { + return; + } + + // If it reached this point, it must be a valid CSS style + n[i++] = name + ":" + parts[1]; // Lower-case name, but keep value case + } + }); + + // If style attribute contained any valid styles the re-write it; otherwise delete style attribute. + if (i > 0) { + return tag + ' style="' + n.join(';') + '"'; + } else { + return tag; + } + } + ] + ]); + } + } + + // Replace headers with + if (getParam(ed, "paste_convert_headers_to_strong")) { + process([ + [/]*>/gi, "

    "], + [/<\/h[1-6][^>]*>/gi, "

    "] + ]); + } + + process([ + // Copy paste from Java like Open Office will produce this junk on FF + [/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi, ''] + ]); + + // Class attribute options are: leave all as-is ("none"), remove all ("all"), or remove only those starting with mso ("mso"). + // Note:- paste_strip_class_attributes: "none", verify_css_classes: true is also a good variation. + stripClass = getParam(ed, "paste_strip_class_attributes"); + + if (stripClass !== "none") { + function removeClasses(match, g1) { + if (stripClass === "all") + return ''; + + var cls = grep(explode(g1.replace(/^(["'])(.*)\1$/, "$2"), " "), + function(v) { + return (/^(?!mso)/i.test(v)); + } + ); + + return cls.length ? ' class="' + cls.join(" ") + '"' : ''; + }; + + h = h.replace(/ class="([^"]+)"/gi, removeClasses); + h = h.replace(/ class=([\-\w]+)/gi, removeClasses); + } + + // Remove spans option + if (getParam(ed, "paste_remove_spans")) { + h = h.replace(/<\/?span[^>]*>/gi, ""); + } + + //console.log('After preprocess:' + h); + + o.content = h; + }, + + /** + * Various post process items. + */ + _postProcess : function(pl, o) { + var t = this, ed = t.editor, dom = ed.dom, styleProps; + + if (ed.settings.paste_enable_default_filters == false) { + return; + } + + if (o.wordContent) { + // Remove named anchors or TOC links + each(dom.select('a', o.node), function(a) { + if (!a.href || a.href.indexOf('#_Toc') != -1) + dom.remove(a, 1); + }); + + if (getParam(ed, "paste_convert_middot_lists")) { + t._convertLists(pl, o); + } + + // Process styles + styleProps = getParam(ed, "paste_retain_style_properties"); // retained properties + + // Process only if a string was specified and not equal to "all" or "*" + if ((tinymce.is(styleProps, "string")) && (styleProps !== "all") && (styleProps !== "*")) { + styleProps = tinymce.explode(styleProps.replace(/^none$/i, "")); + + // Retains some style properties + each(dom.select('*', o.node), function(el) { + var newStyle = {}, npc = 0, i, sp, sv; + + // Store a subset of the existing styles + if (styleProps) { + for (i = 0; i < styleProps.length; i++) { + sp = styleProps[i]; + sv = dom.getStyle(el, sp); + + if (sv) { + newStyle[sp] = sv; + npc++; + } + } + } + + // Remove all of the existing styles + dom.setAttrib(el, 'style', ''); + + if (styleProps && npc > 0) + dom.setStyles(el, newStyle); // Add back the stored subset of styles + else // Remove empty span tags that do not have class attributes + if (el.nodeName == 'SPAN' && !el.className) + dom.remove(el, true); + }); + } + } + + // Remove all style information or only specifically on WebKit to avoid the style bug on that browser + if (getParam(ed, "paste_remove_styles") || (getParam(ed, "paste_remove_styles_if_webkit") && tinymce.isWebKit)) { + each(dom.select('*[style]', o.node), function(el) { + el.removeAttribute('style'); + el.removeAttribute('data-mce-style'); + }); + } else { + if (tinymce.isWebKit) { + // We need to compress the styles on WebKit since if you paste it will become + // Removing the mce_style that contains the real value will force the Serializer engine to compress the styles + each(dom.select('*', o.node), function(el) { + el.removeAttribute('data-mce-style'); + }); + } + } + }, + + /** + * Converts the most common bullet and number formats in Office into a real semantic UL/LI list. + */ + _convertLists : function(pl, o) { + var dom = pl.editor.dom, listElm, li, lastMargin = -1, margin, levels = [], lastType, html; + + // Convert middot lists into real semantic lists + each(dom.select('p', o.node), function(p) { + var sib, val = '', type, html, idx, parents; + + // Get text node value at beginning of paragraph + for (sib = p.firstChild; sib && sib.nodeType == 3; sib = sib.nextSibling) + val += sib.nodeValue; + + val = p.innerHTML.replace(/<\/?\w+[^>]*>/gi, '').replace(/ /g, '\u00a0'); + + // Detect unordered lists look for bullets + if (/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*\u00a0*/.test(val)) + type = 'ul'; + + // Detect ordered lists 1., a. or ixv. + if (/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(val)) + type = 'ol'; + + // Check if node value matches the list pattern: o   + if (type) { + margin = parseFloat(p.style.marginLeft || 0); + + if (margin > lastMargin) + levels.push(margin); + + if (!listElm || type != lastType) { + listElm = dom.create(type); + dom.insertAfter(listElm, p); + } else { + // Nested list element + if (margin > lastMargin) { + listElm = li.appendChild(dom.create(type)); + } else if (margin < lastMargin) { + // Find parent level based on margin value + idx = tinymce.inArray(levels, margin); + parents = dom.getParents(listElm.parentNode, type); + listElm = parents[parents.length - 1 - idx] || listElm; + } + } + + // Remove middot or number spans if they exists + each(dom.select('span', p), function(span) { + var html = span.innerHTML.replace(/<\/?\w+[^>]*>/gi, ''); + + // Remove span with the middot or the number + if (type == 'ul' && /^__MCE_ITEM__[\u2022\u00b7\u00a7\u00d8o\u25CF]/.test(html)) + dom.remove(span); + else if (/^__MCE_ITEM__[\s\S]*\w+\.( |\u00a0)*\s*/.test(html)) + dom.remove(span); + }); + + html = p.innerHTML; + + // Remove middot/list items + if (type == 'ul') + html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*( |\u00a0)+\s*/, ''); + else + html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^\s*\w+\.( |\u00a0)+\s*/, ''); + + // Create li and add paragraph data into the new li + li = listElm.appendChild(dom.create('li', 0, html)); + dom.remove(p); + + lastMargin = margin; + lastType = type; + } else + listElm = lastMargin = 0; // End list element + }); + + // Remove any left over makers + html = o.node.innerHTML; + if (html.indexOf('__MCE_ITEM__') != -1) + o.node.innerHTML = html.replace(/__MCE_ITEM__/g, ''); + }, + + /** + * Inserts the specified contents at the caret position. + */ + _insert : function(h, skip_undo) { + var ed = this.editor, r = ed.selection.getRng(); + + // First delete the contents seems to work better on WebKit when the selection spans multiple list items or multiple table cells. + if (!ed.selection.isCollapsed() && r.startContainer != r.endContainer) + ed.getDoc().execCommand('Delete', false, null); + + ed.execCommand('mceInsertContent', false, h, {skip_undo : skip_undo}); + }, + + /** + * Instead of the old plain text method which tried to re-create a paste operation, the + * new approach adds a plain text mode toggle switch that changes the behavior of paste. + * This function is passed the same input that the regular paste plugin produces. + * It performs additional scrubbing and produces (and inserts) the plain text. + * This approach leverages all of the great existing functionality in the paste + * plugin, and requires minimal changes to add the new functionality. + * Speednet - June 2009 + */ + _insertPlainText : function(content) { + var ed = this.editor, + linebr = getParam(ed, "paste_text_linebreaktype"), + rl = getParam(ed, "paste_text_replacements"), + is = tinymce.is; + + function process(items) { + each(items, function(v) { + if (v.constructor == RegExp) + content = content.replace(v, ""); + else + content = content.replace(v[0], v[1]); + }); + }; + + if ((typeof(content) === "string") && (content.length > 0)) { + // If HTML content with line-breaking tags, then remove all cr/lf chars because only tags will break a line + if (/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(content)) { + process([ + /[\n\r]+/g + ]); + } else { + // Otherwise just get rid of carriage returns (only need linefeeds) + process([ + /\r+/g + ]); + } + + process([ + [/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi, "\n\n"], // Block tags get a blank line after them + [/]*>|<\/tr>/gi, "\n"], // Single linebreak for
    tags and table rows + [/<\/t[dh]>\s*]*>/gi, "\t"], // Table cells get tabs betweem them + /<[a-z!\/?][^>]*>/gi, // Delete all remaining tags + [/ /gi, " "], // Convert non-break spaces to regular spaces (remember, *plain text*) + [/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi, "$1"] // Cool little RegExp deletes whitespace around linebreak chars. + ]); + + var maxLinebreaks = Number(getParam(ed, "paste_max_consecutive_linebreaks")); + if (maxLinebreaks > -1) { + var maxLinebreaksRegex = new RegExp("\n{" + (maxLinebreaks + 1) + ",}", "g"); + var linebreakReplacement = ""; + + while (linebreakReplacement.length < maxLinebreaks) { + linebreakReplacement += "\n"; + } + + process([ + [maxLinebreaksRegex, linebreakReplacement] // Limit max consecutive linebreaks + ]); + } + + content = ed.dom.decode(tinymce.html.Entities.encodeRaw(content)); + + // Perform default or custom replacements + if (is(rl, "array")) { + process(rl); + } else if (is(rl, "string")) { + process(new RegExp(rl, "gi")); + } + + // Treat paragraphs as specified in the config + if (linebr == "none") { + // Convert all line breaks to space + process([ + [/\n+/g, " "] + ]); + } else if (linebr == "br") { + // Convert all line breaks to
    + process([ + [/\n/g, "
    "] + ]); + } else if (linebr == "p") { + // Convert all line breaks to

    ...

    + process([ + [/\n+/g, "

    "], + [/^(.*<\/p>)(

    )$/, '

    $1'] + ]); + } else { + // defaults to "combined" + // Convert single line breaks to
    and double line breaks to

    ...

    + process([ + [/\n\n/g, "

    "], + [/^(.*<\/p>)(

    )$/, '

    $1'], + [/\n/g, "
    "] + ]); + } + + ed.execCommand('mceInsertContent', false, content); + } + }, + + /** + * This method will open the old style paste dialogs. Some users might want the old behavior but still use the new cleanup engine. + */ + _legacySupport : function() { + var t = this, ed = t.editor; + + // Register command(s) for backwards compatibility + ed.addCommand("mcePasteWord", function() { + ed.windowManager.open({ + file: t.url + "/pasteword.htm", + width: parseInt(getParam(ed, "paste_dialog_width")), + height: parseInt(getParam(ed, "paste_dialog_height")), + inline: 1 + }); + }); + + if (getParam(ed, "paste_text_use_dialog")) { + ed.addCommand("mcePasteText", function() { + ed.windowManager.open({ + file : t.url + "/pastetext.htm", + width: parseInt(getParam(ed, "paste_dialog_width")), + height: parseInt(getParam(ed, "paste_dialog_height")), + inline : 1 + }); + }); + } + + // Register button for backwards compatibility + ed.addButton("pasteword", {title : "paste.paste_word_desc", cmd : "mcePasteWord"}); + } + }); + + // Register plugin + tinymce.PluginManager.add("paste", tinymce.plugins.PastePlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js new file mode 100644 index 00000000..c524f9eb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pastetext.js @@ -0,0 +1,36 @@ +tinyMCEPopup.requireLangPack(); + +var PasteTextDialog = { + init : function() { + this.resize(); + }, + + insert : function() { + var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines; + + // Convert linebreaks into paragraphs + if (document.getElementById('linebreaks').checked) { + lines = h.split(/\r?\n/); + if (lines.length > 1) { + h = ''; + tinymce.each(lines, function(row) { + h += '

    ' + row + '

    '; + }); + } + } + + tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h}); + tinyMCEPopup.close(); + }, + + resize : function() { + var vp = tinyMCEPopup.dom.getViewPort(window), el; + + el = document.getElementById('content'); + + el.style.width = (vp.w - 20) + 'px'; + el.style.height = (vp.h - 90) + 'px'; + } +}; + +tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js new file mode 100644 index 00000000..a52731c3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/js/pasteword.js @@ -0,0 +1,51 @@ +tinyMCEPopup.requireLangPack(); + +var PasteWordDialog = { + init : function() { + var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = ''; + + // Create iframe + el.innerHTML = ''; + ifr = document.getElementById('iframe'); + doc = ifr.contentWindow.document; + + // Force absolute CSS urls + css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; + css = css.concat(tinymce.explode(ed.settings.content_css) || []); + tinymce.each(css, function(u) { + cssHTML += ''; + }); + + // Write content into iframe + doc.open(); + doc.write('' + cssHTML + ''); + doc.close(); + + doc.designMode = 'on'; + this.resize(); + + window.setTimeout(function() { + ifr.contentWindow.focus(); + }, 10); + }, + + insert : function() { + var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; + + tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); + tinyMCEPopup.close(); + }, + + resize : function() { + var vp = tinyMCEPopup.dom.getViewPort(window), el; + + el = document.getElementById('iframe'); + + if (el) { + el.style.width = (vp.w - 20) + 'px'; + el.style.height = (vp.h - 90) + 'px'; + } + } +}; + +tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js new file mode 100644 index 00000000..d7bbe93d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.paste_dlg',{"word_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen.","text_linebreaks":"Zeilenumbr\u00fcche beibehalten","text_title":"Strg V auf der Tastatur dr\u00fccken, um den Text einzuf\u00fcgen."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js new file mode 100644 index 00000000..bc74daf8 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.paste_dlg',{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js new file mode 100644 index 00000000..826a7bfb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.paste_dlg',{"word_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez.","text_linebreaks":"Sort\u00f6r\u00e9sek megtart\u00e1sa","text_title":"Haszn\u00e1lja a Ctrl V-t a billenty\u0171zet\u00e9n a sz\u00f6veg beilleszt\u00e9shez."}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js new file mode 100644 index 00000000..5af59822 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.paste_dlg',{"word_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002","text_linebreaks":"\u6539\u884c\u3092\u4fdd\u6301","text_title":"Ctrl V(\u30ad\u30fc\u30dc\u30fc\u30c9)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm new file mode 100755 index 00000000..b6559454 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pastetext.htm @@ -0,0 +1,27 @@ + + + {#paste.paste_text_desc} + + + + +
    +
    {#paste.paste_text_desc}
    + +
    + +
    + +
    + +
    {#paste_dlg.text_title}
    + + + +
    + + +
    +
    + + \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm new file mode 100755 index 00000000..0f6bb412 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/paste/pasteword.htm @@ -0,0 +1,21 @@ + + + {#paste.paste_word_desc} + + + + +
    +
    {#paste.paste_word_desc}
    + +
    {#paste_dlg.word_title}
    + +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js new file mode 100755 index 00000000..507909c5 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js new file mode 100755 index 00000000..80f00f0d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/editor_plugin_src.js @@ -0,0 +1,53 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.Preview', { + init : function(ed, url) { + var t = this, css = tinymce.explode(ed.settings.content_css); + + t.editor = ed; + + // Force absolute CSS urls + tinymce.each(css, function(u, k) { + css[k] = ed.documentBaseURI.toAbsolute(u); + }); + + ed.addCommand('mcePreview', function() { + ed.windowManager.open({ + file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"), + width : parseInt(ed.getParam("plugin_preview_width", "550")), + height : parseInt(ed.getParam("plugin_preview_height", "600")), + resizable : "yes", + scrollbars : "yes", + popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"), + inline : ed.getParam("plugin_preview_inline", 1) + }, { + base : ed.documentBaseURI.getURI() + }); + }); + + ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'}); + }, + + getInfo : function() { + return { + longname : 'Preview', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('preview', tinymce.plugins.Preview); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html new file mode 100755 index 00000000..b2c3d90c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/example.html @@ -0,0 +1,28 @@ + + + + + +Example of a custom preview page + + + +Editor contents:
    +
    + +
    + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js new file mode 100755 index 00000000..f8dc8105 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/preview/jscripts/embed.js @@ -0,0 +1,73 @@ +/** + * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. + */ + +function writeFlash(p) { + writeEmbed( + 'D27CDB6E-AE6D-11cf-96B8-444553540000', + 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', + 'application/x-shockwave-flash', + p + ); +} + +function writeShockWave(p) { + writeEmbed( + '166B1BCA-3F9C-11CF-8075-444553540000', + 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', + 'application/x-director', + p + ); +} + +function writeQuickTime(p) { + writeEmbed( + '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', + 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', + 'video/quicktime', + p + ); +} + +function writeRealMedia(p) { + writeEmbed( + 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', + 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', + 'audio/x-pn-realaudio-plugin', + p + ); +} + +function writeWindowsMedia(p) { + p.url = p.src; + writeEmbed( + '6BF52A52-394A-11D3-B153-00C04F79FAA6', + 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', + 'application/x-mplayer2', + p + ); +} + +function writeEmbed(cls, cb, mt, p) { + var h = '', n; + + h += ''; + + h += ' + + + + + +{#preview.preview_desc} + + + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js new file mode 100755 index 00000000..b5b3a55e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js new file mode 100755 index 00000000..3933fe65 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/print/editor_plugin_src.js @@ -0,0 +1,34 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.Print', { + init : function(ed, url) { + ed.addCommand('mcePrint', function() { + ed.getWin().print(); + }); + + ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'}); + }, + + getInfo : function() { + return { + longname : 'Print', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('print', tinymce.plugins.Print); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js new file mode 100755 index 00000000..8e939966 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js new file mode 100755 index 00000000..f5a3de8f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/save/editor_plugin_src.js @@ -0,0 +1,101 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.Save', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + // Register commands + ed.addCommand('mceSave', t._save, t); + ed.addCommand('mceCancel', t._cancel, t); + + // Register buttons + ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSave'}); + ed.addButton('cancel', {title : 'save.cancel_desc', cmd : 'mceCancel'}); + + ed.onNodeChange.add(t._nodeChange, t); + ed.addShortcut('ctrl+s', ed.getLang('save.save_desc'), 'mceSave'); + }, + + getInfo : function() { + return { + longname : 'Save', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private methods + + _nodeChange : function(ed, cm, n) { + var ed = this.editor; + + if (ed.getParam('save_enablewhendirty')) { + cm.setDisabled('save', !ed.isDirty()); + cm.setDisabled('cancel', !ed.isDirty()); + } + }, + + // Private methods + + _save : function() { + var ed = this.editor, formObj, os, i, elementId; + + formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form'); + + if (ed.getParam("save_enablewhendirty") && !ed.isDirty()) + return; + + tinyMCE.triggerSave(); + + // Use callback instead + if (os = ed.getParam("save_onsavecallback")) { + if (ed.execCallback('save_onsavecallback', ed)) { + ed.startContent = tinymce.trim(ed.getContent({format : 'raw'})); + ed.nodeChanged(); + } + + return; + } + + if (formObj) { + ed.isNotDirty = true; + + if (formObj.onsubmit == null || formObj.onsubmit() != false) + formObj.submit(); + + ed.nodeChanged(); + } else + ed.windowManager.alert("Error: No form element found."); + }, + + _cancel : function() { + var ed = this.editor, os, h = tinymce.trim(ed.startContent); + + // Use callback instead + if (os = ed.getParam("save_oncancelcallback")) { + ed.execCallback('save_oncancelcallback', ed); + return; + } + + ed.setContent(h); + ed.undoManager.clear(); + ed.nodeChanged(); + } + }); + + // Register plugin + tinymce.PluginManager.add('save', tinymce.plugins.Save); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css new file mode 100755 index 00000000..ecdf58c7 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/css/searchreplace.css @@ -0,0 +1,6 @@ +.panel_wrapper {height:85px;} +.panel_wrapper div.current {height:85px;} + +/* IE */ +* html .panel_wrapper {height:100px;} +* html .panel_wrapper div.current {height:100px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js new file mode 100755 index 00000000..165bc12d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js new file mode 100755 index 00000000..4c87e8fa --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js @@ -0,0 +1,61 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.SearchReplacePlugin', { + init : function(ed, url) { + function open(m) { + // Keep IE from writing out the f/r character to the editor + // instance while initializing a new dialog. See: #3131190 + window.focus(); + + ed.windowManager.open({ + file : url + '/searchreplace.htm', + width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), + height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), + inline : 1, + auto_focus : 0 + }, { + mode : m, + search_string : ed.selection.getContent({format : 'text'}), + plugin_url : url + }); + }; + + // Register commands + ed.addCommand('mceSearch', function() { + open('search'); + }); + + ed.addCommand('mceReplace', function() { + open('replace'); + }); + + // Register buttons + ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'}); + ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'}); + + ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch'); + }, + + getInfo : function() { + return { + longname : 'Search/Replace', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js new file mode 100644 index 00000000..80284b9f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/js/searchreplace.js @@ -0,0 +1,142 @@ +tinyMCEPopup.requireLangPack(); + +var SearchReplaceDialog = { + init : function(ed) { + var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode"); + + t.switchMode(m); + + f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string"); + + // Focus input field + f[m + '_panel_searchstring'].focus(); + + mcTabs.onChange.add(function(tab_id, panel_id) { + t.switchMode(tab_id.substring(0, tab_id.indexOf('_'))); + }); + }, + + switchMode : function(m) { + var f, lm = this.lastMode; + + if (lm != m) { + f = document.forms[0]; + + if (lm) { + f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value; + f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked; + f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked; + f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked; + } + + mcTabs.displayTab(m + '_tab', m + '_panel'); + document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none"; + document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none"; + this.lastMode = m; + } + }, + + searchNext : function(a) { + var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0; + + // Get input + f = document.forms[0]; + s = f[m + '_panel_searchstring'].value; + b = f[m + '_panel_backwardsu'].checked; + ca = f[m + '_panel_casesensitivebox'].checked; + rs = f['replace_panel_replacestring'].value; + + if (tinymce.isIE) { + r = ed.getDoc().selection.createRange(); + } + + if (s == '') + return; + + function fix() { + // Correct Firefox graphics glitches + // TODO: Verify if this is actually needed any more, maybe it was for very old FF versions? + r = se.getRng().cloneRange(); + ed.getDoc().execCommand('SelectAll', false, null); + se.setRng(r); + }; + + function replace() { + ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE + }; + + // IE flags + if (ca) + fl = fl | 4; + + switch (a) { + case 'all': + // Move caret to beginning of text + ed.execCommand('SelectAll'); + ed.selection.collapse(true); + + if (tinymce.isIE) { + ed.focus(); + r = ed.getDoc().selection.createRange(); + + while (r.findText(s, b ? -1 : 1, fl)) { + r.scrollIntoView(); + r.select(); + replace(); + fo = 1; + + if (b) { + r.moveEnd("character", -(rs.length)); // Otherwise will loop forever + } + } + + tinyMCEPopup.storeSelection(); + } else { + while (w.find(s, ca, b, false, false, false, false)) { + replace(); + fo = 1; + } + } + + if (fo) + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced')); + else + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + + return; + + case 'current': + if (!ed.selection.isCollapsed()) + replace(); + + break; + } + + se.collapse(b); + r = se.getRng(); + + // Whats the point + if (!s) + return; + + if (tinymce.isIE) { + ed.focus(); + r = ed.getDoc().selection.createRange(); + + if (r.findText(s, b ? -1 : 1, fl)) { + r.scrollIntoView(); + r.select(); + } else + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + + tinyMCEPopup.storeSelection(); + } else { + if (!w.find(s, ca, b, false, false, false, false)) + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + else + fix(); + } + } +}; + +tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js new file mode 100644 index 00000000..7c40acd9 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.searchreplace_dlg',{findwhat:"Zu suchender Text",replacewith:"Ersetzen durch",direction:"Suchrichtung",up:"Aufw\u00e4rts",down:"Abw\u00e4rts",mcase:"Gro\u00df-/Kleinschreibung beachten",findnext:"Weitersuchen",allreplaced:"Alle Vorkommen der Zeichenkette wurden ersetzt.","searchnext_desc":"Weitersuchen",notfound:"Die Suche ist am Ende angelangt. Die Zeichenkette konnte nicht gefunden werden.","search_title":"Suchen","replace_title":"Suchen/Ersetzen",replaceall:"Alle ersetzen",replace:"Ersetzen"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js new file mode 100644 index 00000000..8a659009 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find What",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match Case",findnext:"Find Next",allreplaced:"All occurrences of the search string were replaced.","searchnext_desc":"Find Again",notfound:"The search has been completed. The search string could not be found.","search_title":"Find","replace_title":"Find/Replace",replaceall:"Replace All",replace:"Replace"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js new file mode 100644 index 00000000..c34352d6 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.searchreplace_dlg',{findwhat:"Mit keres",replacewith:"Mire cser\u00e9l",direction:"Ir\u00e1ny",up:"Fel",down:"Le",mcase:"Kis- \u00e9s nagybet\u0171k megk\u00fcl\u00f6nb\u00f6ztet\u00e9se",findnext:"K\u00f6vetkez\u0151 keres\u00e9se",allreplaced:"A keresett r\u00e9szsz\u00f6veg minden el\u0151fordul\u00e1sa cser\u00e9lve lett.","searchnext_desc":"Keres\u00e9s megint",notfound:"A keres\u00e9s v\u00e9get \u00e9rt. A keresett sz\u00f6vegr\u00e9sz nem tal\u00e1lhat\u00f3.","search_title":"Keres\u00e9s","replace_title":"Keres\u00e9s/Csere",replaceall:"\u00d6sszes cser\u00e9je",replace:"Csere"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js new file mode 100644 index 00000000..a12eb783 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.searchreplace_dlg',{findwhat:"\u691c\u7d22\u3059\u308b\u6587\u5b57\u5217",replacewith:"\u7f6e\u63db\u5f8c\u306e\u6587\u5b57\u5217",direction:"\u65b9\u5411",up:"\u4e0a\u3078",down:"\u4e0b\u3078",mcase:"\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306e\u533a\u5225",findnext:"\u6b21\u3092\u691c\u7d22",allreplaced:"\u3059\u3079\u3066\u7f6e\u63db\u3057\u307e\u3057\u305f\u3002","searchnext_desc":"\u518d\u691c\u7d22",notfound:"\u691c\u7d22\u3092\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u691c\u7d22\u6587\u5b57\u5217\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002","search_title":"\u691c\u7d22","replace_title":"\u691c\u7d22\u3068\u7f6e\u63db",replaceall:"\u3059\u3079\u3066\u7f6e\u63db",replace:"\u7f6e\u63db"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm new file mode 100755 index 00000000..2443a918 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/searchreplace/searchreplace.htm @@ -0,0 +1,100 @@ + + + + {#searchreplace_dlg.replace_title} + + + + + + + + +
    + + +
    +
    + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + + +
    +
    +
    + +
    + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + + +
    +
    +
    + +
    + +
    + + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css new file mode 100644 index 00000000..24efa021 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/css/content.css @@ -0,0 +1 @@ +.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js new file mode 100644 index 00000000..48549c92 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin.js @@ -0,0 +1 @@ +(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}\u201d\u201c');for(d=0;d$2");while((s=p.indexOf(""))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(g.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(g.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(g.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(f,'$1$2')}g.replace(q,t)}});i.setRng(d)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}if(h.getParam("show_ignore_words",true)){e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}})}if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=b.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js new file mode 100644 index 00000000..86fdfceb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js @@ -0,0 +1,436 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM; + + tinymce.create('tinymce.plugins.SpellcheckerPlugin', { + getInfo : function() { + return { + longname : 'Spellchecker', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + init : function(ed, url) { + var t = this, cm; + + t.url = url; + t.editor = ed; + t.rpcUrl = ed.getParam("spellchecker_rpc_url", "{backend}"); + + if (t.rpcUrl == '{backend}') { + // Sniff if the browser supports native spellchecking (Don't know of a better way) + if (tinymce.isIE) + return; + + t.hasSupport = true; + + // Disable the context menu when spellchecking is active + ed.onContextMenu.addToTop(function(ed, e) { + if (t.active) + return false; + }); + } + + // Register commands + ed.addCommand('mceSpellCheck', function() { + if (t.rpcUrl == '{backend}') { + // Enable/disable native spellchecker + t.editor.getBody().spellcheck = t.active = !t.active; + return; + } + + if (!t.active) { + ed.setProgressState(1); + t._sendRPC('checkWords', [t.selectedLang, t._getWords()], function(r) { + if (r.length > 0) { + t.active = 1; + t._markWords(r); + ed.setProgressState(0); + ed.nodeChanged(); + } else { + ed.setProgressState(0); + + if (ed.getParam('spellchecker_report_no_misspellings', true)) + ed.windowManager.alert('spellchecker.no_mpell'); + } + }); + } else + t._done(); + }); + + if (ed.settings.content_css !== false) + ed.contentCSS.push(url + '/css/content.css'); + + ed.onClick.add(t._showMenu, t); + ed.onContextMenu.add(t._showMenu, t); + ed.onBeforeGetContent.add(function() { + if (t.active) + t._removeWords(); + }); + + ed.onNodeChange.add(function(ed, cm) { + cm.setActive('spellchecker', t.active); + }); + + ed.onSetContent.add(function() { + t._done(); + }); + + ed.onBeforeGetContent.add(function() { + t._done(); + }); + + ed.onBeforeExecCommand.add(function(ed, cmd) { + if (cmd == 'mceFullScreen') + t._done(); + }); + + // Find selected language + t.languages = {}; + each(ed.getParam('spellchecker_languages', '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv', 'hash'), function(v, k) { + if (k.indexOf('+') === 0) { + k = k.substring(1); + t.selectedLang = v; + } + + t.languages[k] = v; + }); + }, + + createControl : function(n, cm) { + var t = this, c, ed = t.editor; + + if (n == 'spellchecker') { + // Use basic button if we use the native spellchecker + if (t.rpcUrl == '{backend}') { + // Create simple toggle button if we have native support + if (t.hasSupport) + c = cm.createButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t}); + + return c; + } + + c = cm.createSplitButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t}); + + c.onRenderMenu.add(function(c, m) { + m.add({title : 'spellchecker.langs', 'class' : 'mceMenuItemTitle'}).setDisabled(1); + each(t.languages, function(v, k) { + var o = {icon : 1}, mi; + + o.onclick = function() { + if (v == t.selectedLang) { + return; + } + mi.setSelected(1); + t.selectedItem.setSelected(0); + t.selectedItem = mi; + t.selectedLang = v; + }; + + o.title = k; + mi = m.add(o); + mi.setSelected(v == t.selectedLang); + + if (v == t.selectedLang) + t.selectedItem = mi; + }) + }); + + return c; + } + }, + + // Internal functions + + _walk : function(n, f) { + var d = this.editor.getDoc(), w; + + if (d.createTreeWalker) { + w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false); + + while ((n = w.nextNode()) != null) + f.call(this, n); + } else + tinymce.walk(n, f, 'childNodes'); + }, + + _getSeparators : function() { + var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}\u201d\u201c'); + + // Build word separator regexp + for (i=0; i elements content is broken after spellchecking. + // Bug #1408: Preceding whitespace characters are removed + // @TODO: I'm not sure that both are still issues on IE9. + if (tinymce.isIE) { + // Enclose mispelled words with temporal tag + v = v.replace(rx, '$1$2'); + // Loop over the content finding mispelled words + while ((pos = v.indexOf('')) != -1) { + // Add text node for the content before the word + txt = v.substring(0, pos); + if (txt.length) { + node = doc.createTextNode(dom.decode(txt)); + elem.appendChild(node); + } + v = v.substring(pos+10); + pos = v.indexOf(''); + txt = v.substring(0, pos); + v = v.substring(pos+11); + // Add span element for the word + elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt)); + } + // Add text node for the rest of the content + if (v.length) { + node = doc.createTextNode(dom.decode(v)); + elem.appendChild(node); + } + } else { + // Other browsers preserve whitespace characters on innerHTML usage + elem.innerHTML = v.replace(rx, '$1$2'); + } + + // Finally, replace the node with the container + dom.replace(elem, n); + } + }); + + se.setRng(r); + }, + + _showMenu : function(ed, e) { + var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target; + + e = 0; // Fixes IE memory leak + + if (!m) { + m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'}); + t._menu = m; + } + + if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) { + m.removeAll(); + m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1); + + t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) { + var ignoreRpc; + + m.removeAll(); + + if (r.length > 0) { + m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1); + each(r, function(v) { + m.add({title : v, onclick : function() { + dom.replace(ed.getDoc().createTextNode(v), wordSpan); + t._checkDone(); + }}); + }); + + m.addSeparator(); + } else + m.add({title : 'spellchecker.no_sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1); + + if (ed.getParam('show_ignore_words', true)) { + ignoreRpc = t.editor.getParam("spellchecker_enable_ignore_rpc", ''); + m.add({ + title : 'spellchecker.ignore_word', + onclick : function() { + var word = wordSpan.innerHTML; + + dom.remove(wordSpan, 1); + t._checkDone(); + + // tell the server if we need to + if (ignoreRpc) { + ed.setProgressState(1); + t._sendRPC('ignoreWord', [t.selectedLang, word], function(r) { + ed.setProgressState(0); + }); + } + } + }); + + m.add({ + title : 'spellchecker.ignore_words', + onclick : function() { + var word = wordSpan.innerHTML; + + t._removeWords(dom.decode(word)); + t._checkDone(); + + // tell the server if we need to + if (ignoreRpc) { + ed.setProgressState(1); + t._sendRPC('ignoreWords', [t.selectedLang, word], function(r) { + ed.setProgressState(0); + }); + } + } + }); + } + + if (t.editor.getParam("spellchecker_enable_learn_rpc")) { + m.add({ + title : 'spellchecker.learn_word', + onclick : function() { + var word = wordSpan.innerHTML; + + dom.remove(wordSpan, 1); + t._checkDone(); + + ed.setProgressState(1); + t._sendRPC('learnWord', [t.selectedLang, word], function(r) { + ed.setProgressState(0); + }); + } + }); + } + + m.update(); + }); + + p1 = DOM.getPos(ed.getContentAreaContainer()); + m.settings.offset_x = p1.x; + m.settings.offset_y = p1.y; + + ed.selection.select(wordSpan); + p1 = dom.getPos(wordSpan); + m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y); + + return tinymce.dom.Event.cancel(e); + } else + m.hideMenu(); + }, + + _checkDone : function() { + var t = this, ed = t.editor, dom = ed.dom, o; + + each(dom.select('span'), function(n) { + if (n && dom.hasClass(n, 'mceItemHiddenSpellWord')) { + o = true; + return false; + } + }); + + if (!o) + t._done(); + }, + + _done : function() { + var t = this, la = t.active; + + if (t.active) { + t.active = 0; + t._removeWords(); + + if (t._menu) + t._menu.hideMenu(); + + if (la) + t.editor.nodeChanged(); + } + }, + + _sendRPC : function(m, p, cb) { + var t = this; + + JSONRequest.sendRPC({ + url : t.rpcUrl, + method : m, + params : p, + success : cb, + error : function(e, x) { + t.editor.setProgressState(0); + t.editor.windowManager.alert(e.errstr || ('Error response: ' + x.responseText)); + } + }); + } + }); + + // Register plugin + tinymce.PluginManager.add('spellchecker', tinymce.plugins.SpellcheckerPlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif new file mode 100644 index 00000000..7d0a4dbc Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/spellchecker/img/wline.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css new file mode 100755 index 00000000..3b8f0ee7 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/css/props.css @@ -0,0 +1,14 @@ +#text_font {width:250px;} +#text_size {width:70px;} +.mceAddSelectValue {background:#DDD;} +select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;} +#box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;} +#positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;} +#positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;} +.panel_toggle_insert_span {padding-top:10px;} +.panel_wrapper div.current {padding-top:10px;height:230px;} +.delim {border-left:1px solid gray;} +.tdelim {border-bottom:1px solid gray;} +#block_display {width:145px;} +#list_type {width:115px;} +.disabled {background:#EEE;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js new file mode 100755 index 00000000..dda9f928 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){var c=false;var f=a.selection.getSelectedBlocks();var d=[];if(f.length===1){d.push(a.selection.getNode().style.cssText)}else{tinymce.each(f,function(g){d.push(a.dom.getAttrib(g,"style"))});c=true}a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:340+parseInt(a.getLang("style.delta_height",0)),inline:1},{applyStyleToBlocks:c,plugin_url:b,styles:d})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js new file mode 100755 index 00000000..eaa7c771 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/editor_plugin_src.js @@ -0,0 +1,71 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.StylePlugin', { + init : function(ed, url) { + // Register commands + ed.addCommand('mceStyleProps', function() { + + var applyStyleToBlocks = false; + var blocks = ed.selection.getSelectedBlocks(); + var styles = []; + + if (blocks.length === 1) { + styles.push(ed.selection.getNode().style.cssText); + } + else { + tinymce.each(blocks, function(block) { + styles.push(ed.dom.getAttrib(block, 'style')); + }); + applyStyleToBlocks = true; + } + + ed.windowManager.open({ + file : url + '/props.htm', + width : 480 + parseInt(ed.getLang('style.delta_width', 0)), + height : 340 + parseInt(ed.getLang('style.delta_height', 0)), + inline : 1 + }, { + applyStyleToBlocks : applyStyleToBlocks, + plugin_url : url, + styles : styles + }); + }); + + ed.addCommand('mceSetElementStyle', function(ui, v) { + if (e = ed.selection.getNode()) { + ed.dom.setAttrib(e, 'style', v); + ed.execCommand('mceRepaint'); + } + }); + + ed.onNodeChange.add(function(ed, cm, n) { + cm.setDisabled('styleprops', n.nodeName === 'BODY'); + }); + + // Register buttons + ed.addButton('styleprops', {title : 'style.desc', cmd : 'mceStyleProps'}); + }, + + getInfo : function() { + return { + longname : 'Style', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('style', tinymce.plugins.StylePlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js new file mode 100644 index 00000000..0a8a8ec3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/js/props.js @@ -0,0 +1,709 @@ +tinyMCEPopup.requireLangPack(); + +var defaultFonts = "" + + "Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Courier New, Courier, mono=Courier New, Courier, mono;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" + + "Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" + + "Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif"; + +var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger"; +var defaultMeasurement = "+pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; +var defaultSpacingMeasurement = "pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;+ems=em;exs=ex;%"; +var defaultIndentMeasurement = "pixels=px;+points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; +var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900"; +var defaultTextStyle = "normal;italic;oblique"; +var defaultVariant = "normal;small-caps"; +var defaultLineHeight = "normal"; +var defaultAttachment = "fixed;scroll"; +var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y"; +var defaultPosH = "left;center;right"; +var defaultPosV = "top;center;bottom"; +var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom"; +var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none"; +var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset"; +var defaultBorderWidth = "thin;medium;thick"; +var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none"; + +function aggregateStyles(allStyles) { + var mergedStyles = {}; + + tinymce.each(allStyles, function(style) { + if (style !== '') { + var parsedStyles = tinyMCEPopup.editor.dom.parseStyle(style); + for (var name in parsedStyles) { + if (parsedStyles.hasOwnProperty(name)) { + if (mergedStyles[name] === undefined) { + mergedStyles[name] = parsedStyles[name]; + } + else if (name === 'text-decoration') { + if (mergedStyles[name].indexOf(parsedStyles[name]) === -1) { + mergedStyles[name] = mergedStyles[name] +' '+ parsedStyles[name]; + } + } + } + } + } + }); + + return mergedStyles; +} + +var applyActionIsInsert; +var existingStyles; + +function init(ed) { + var ce = document.getElementById('container'), h; + + existingStyles = aggregateStyles(tinyMCEPopup.getWindowArg('styles')); + ce.style.cssText = tinyMCEPopup.editor.dom.serializeStyle(existingStyles); + + applyActionIsInsert = ed.getParam("edit_css_style_insert_span", false); + document.getElementById('toggle_insert_span').checked = applyActionIsInsert; + + h = getBrowserHTML('background_image_browser','background_image','image','advimage'); + document.getElementById("background_image_browser").innerHTML = h; + + document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color'); + document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color'); + document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top'); + document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right'); + document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom'); + document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left'); + + fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true); + fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true); + fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true); + fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true); + fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true); + fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true); + fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true); + fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true); + fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true); + + fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true); + fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true); + + fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true); + fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true); + fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true); + fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true); + fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true); + fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true); + fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true); + + fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true); + fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true); + fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true); + + fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true); + + fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true); + fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true); + + fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true); + fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true); + + fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true); + + fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true); + + TinyMCE_EditableSelects.init(); + setupFormData(); + showDisabledControls(); +} + +function setupFormData() { + var ce = document.getElementById('container'), f = document.forms[0], s, b, i; + + // Setup text fields + + selectByValue(f, 'text_font', ce.style.fontFamily, true, true); + selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true); + selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize)); + selectByValue(f, 'text_weight', ce.style.fontWeight, true, true); + selectByValue(f, 'text_style', ce.style.fontStyle, true, true); + selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true); + selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight)); + selectByValue(f, 'text_case', ce.style.textTransform, true, true); + selectByValue(f, 'text_variant', ce.style.fontVariant, true, true); + f.text_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.color); + updateColor('text_color_pick', 'text_color'); + f.text_underline.checked = inStr(ce.style.textDecoration, 'underline'); + f.text_overline.checked = inStr(ce.style.textDecoration, 'overline'); + f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through'); + f.text_blink.checked = inStr(ce.style.textDecoration, 'blink'); + f.text_none.checked = inStr(ce.style.textDecoration, 'none'); + updateTextDecorations(); + + // Setup background fields + + f.background_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.backgroundColor); + updateColor('background_color_pick', 'background_color'); + f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true); + selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true); + selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true); + selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0))); + selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true); + selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1))); + + // Setup block fields + + selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true); + selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing)); + selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true); + selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing)); + selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true); + selectByValue(f, 'block_text_align', ce.style.textAlign, true, true); + f.block_text_indent.value = getNum(ce.style.textIndent); + selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent)); + selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true); + selectByValue(f, 'block_display', ce.style.display, true, true); + + // Setup box fields + + f.box_width.value = getNum(ce.style.width); + selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width)); + + f.box_height.value = getNum(ce.style.height); + selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height)); + selectByValue(f, 'box_float', ce.style.cssFloat || ce.style.styleFloat, true, true); + + selectByValue(f, 'box_clear', ce.style.clear, true, true); + + setupBox(f, ce, 'box_padding', 'padding', ''); + setupBox(f, ce, 'box_margin', 'margin', ''); + + // Setup border fields + + setupBox(f, ce, 'border_style', 'border', 'Style'); + setupBox(f, ce, 'border_width', 'border', 'Width'); + setupBox(f, ce, 'border_color', 'border', 'Color'); + + updateColor('border_color_top_pick', 'border_color_top'); + updateColor('border_color_right_pick', 'border_color_right'); + updateColor('border_color_bottom_pick', 'border_color_bottom'); + updateColor('border_color_left_pick', 'border_color_left'); + + f.elements.border_color_top.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_top.value); + f.elements.border_color_right.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_right.value); + f.elements.border_color_bottom.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_bottom.value); + f.elements.border_color_left.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_left.value); + + // Setup list fields + + selectByValue(f, 'list_type', ce.style.listStyleType, true, true); + selectByValue(f, 'list_position', ce.style.listStylePosition, true, true); + f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + + // Setup box fields + + selectByValue(f, 'positioning_type', ce.style.position, true, true); + selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true); + selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true); + f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : ""; + + f.positioning_width.value = getNum(ce.style.width); + selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width)); + + f.positioning_height.value = getNum(ce.style.height); + selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height)); + + setupBox(f, ce, 'positioning_placement', '', '', ['top', 'right', 'bottom', 'left']); + + s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1"); + s = s.replace(/,/g, ' '); + + if (!hasEqualValues([getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)])) { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = getNum(getVal(s, 1)); + selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1))); + f.positioning_clip_bottom.value = getNum(getVal(s, 2)); + selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2))); + f.positioning_clip_left.value = getNum(getVal(s, 3)); + selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3))); + } else { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value; + } + +// setupBox(f, ce, '', 'border', 'Color'); +} + +function getMeasurement(s) { + return s.replace(/^([0-9.]+)(.*)$/, "$2"); +} + +function getNum(s) { + if (new RegExp('^(?:[0-9.]+)(?:[a-z%]+)$', 'gi').test(s)) + return s.replace(/[^0-9.]/g, ''); + + return s; +} + +function inStr(s, n) { + return new RegExp(n, 'gi').test(s); +} + +function getVal(s, i) { + var a = s.split(' '); + + if (a.length > 1) + return a[i]; + + return ""; +} + +function setValue(f, n, v) { + if (f.elements[n].type == "text") + f.elements[n].value = v; + else + selectByValue(f, n, v, true, true); +} + +function setupBox(f, ce, fp, pr, sf, b) { + if (typeof(b) == "undefined") + b = ['Top', 'Right', 'Bottom', 'Left']; + + if (isSame(ce, pr, sf, b)) { + f.elements[fp + "_same"].checked = true; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + f.elements[fp + "_right"].value = ""; + f.elements[fp + "_right"].disabled = true; + f.elements[fp + "_bottom"].value = ""; + f.elements[fp + "_bottom"].disabled = true; + f.elements[fp + "_left"].value = ""; + f.elements[fp + "_left"].disabled = true; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + f.elements[fp + "_left_measurement"].disabled = true; + f.elements[fp + "_bottom_measurement"].disabled = true; + f.elements[fp + "_right_measurement"].disabled = true; + } + } else { + f.elements[fp + "_same"].checked = false; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf])); + f.elements[fp + "_right"].disabled = false; + + setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf])); + f.elements[fp + "_bottom"].disabled = false; + + setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left"].disabled = false; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf])); + selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf])); + selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left_measurement"].disabled = false; + f.elements[fp + "_bottom_measurement"].disabled = false; + f.elements[fp + "_right_measurement"].disabled = false; + } + } +} + +function isSame(e, pr, sf, b) { + var a = [], i, x; + + if (typeof(b) == "undefined") + b = ['Top', 'Right', 'Bottom', 'Left']; + + if (typeof(sf) == "undefined" || sf == null) + sf = ""; + + a[0] = e.style[pr + b[0] + sf]; + a[1] = e.style[pr + b[1] + sf]; + a[2] = e.style[pr + b[2] + sf]; + a[3] = e.style[pr + b[3] + sf]; + + for (i=0; i 0 ? s.substring(1) : s; + + if (f.text_none.checked) + s = "none"; + + ce.style.textDecoration = s; + + // Build background styles + + ce.style.backgroundColor = f.background_color.value; + ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : ""; + ce.style.backgroundRepeat = f.background_repeat.value; + ce.style.backgroundAttachment = f.background_attachment.value; + + if (f.background_hpos.value != "") { + s = ""; + s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " "; + s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : ""); + ce.style.backgroundPosition = s; + } + + // Build block styles + + ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : ""); + ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : ""); + ce.style.verticalAlign = f.block_vertical_alignment.value; + ce.style.textAlign = f.block_text_align.value; + ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : ""); + ce.style.whiteSpace = f.block_whitespace.value; + ce.style.display = f.block_display.value; + + // Build box styles + + ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : ""); + ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : ""); + ce.style.styleFloat = f.box_float.value; + ce.style.cssFloat = f.box_float.value; + + ce.style.clear = f.box_clear.value; + + if (!f.box_padding_same.checked) { + ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : ""); + ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : ""); + ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : ""); + } else + ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + + if (!f.box_margin_same.checked) { + ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : ""); + ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : ""); + ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : ""); + } else + ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + + // Build border styles + + if (!f.border_style_same.checked) { + ce.style.borderTopStyle = f.border_style_top.value; + ce.style.borderRightStyle = f.border_style_right.value; + ce.style.borderBottomStyle = f.border_style_bottom.value; + ce.style.borderLeftStyle = f.border_style_left.value; + } else + ce.style.borderStyle = f.border_style_top.value; + + if (!f.border_width_same.checked) { + ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); + ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : ""); + ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : ""); + ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : ""); + } else + ce.style.borderWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); + + if (!f.border_color_same.checked) { + ce.style.borderTopColor = f.border_color_top.value; + ce.style.borderRightColor = f.border_color_right.value; + ce.style.borderBottomColor = f.border_color_bottom.value; + ce.style.borderLeftColor = f.border_color_left.value; + } else + ce.style.borderColor = f.border_color_top.value; + + // Build list styles + + ce.style.listStyleType = f.list_type.value; + ce.style.listStylePosition = f.list_position.value; + ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : ""; + + // Build positioning styles + + ce.style.position = f.positioning_type.value; + ce.style.visibility = f.positioning_visibility.value; + + if (ce.style.width == "") + ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : ""); + + if (ce.style.height == "") + ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : ""); + + ce.style.zIndex = f.positioning_zindex.value; + ce.style.overflow = f.positioning_overflow.value; + + if (!f.positioning_placement_same.checked) { + ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : ""); + ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : ""); + ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : ""); + } else { + s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.top = s; + ce.style.right = s; + ce.style.bottom = s; + ce.style.left = s; + } + + if (!f.positioning_clip_same.checked) { + s = "rect("; + s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto"); + s += ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } else { + s = "rect("; + t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto"; + s += t + " "; + s += t + " "; + s += t + " "; + s += t + ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } + + ce.style.cssText = ce.style.cssText; +} + +function isNum(s) { + return new RegExp('[0-9]+', 'g').test(s); +} + +function showDisabledControls() { + var f = document.forms, i, a; + + for (i=0; i 1) { + addSelectValue(f, s, p[0], p[1]); + + if (se) + selectByValue(f, s, p[1]); + } else { + addSelectValue(f, s, p[0], p[0]); + + if (se) + selectByValue(f, s, p[0]); + } + } +} + +function toggleSame(ce, pre) { + var el = document.forms[0].elements, i; + + if (ce.checked) { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = true; + el[pre + "_bottom"].disabled = true; + el[pre + "_left"].disabled = true; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = true; + el[pre + "_bottom_measurement"].disabled = true; + el[pre + "_left_measurement"].disabled = true; + } + } else { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = false; + el[pre + "_bottom"].disabled = false; + el[pre + "_left"].disabled = false; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = false; + el[pre + "_bottom_measurement"].disabled = false; + el[pre + "_left_measurement"].disabled = false; + } + } + + showDisabledControls(); +} + +function synch(fr, to) { + var f = document.forms[0]; + + f.elements[to].value = f.elements[fr].value; + + if (f.elements[fr + "_measurement"]) + selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value); +} + +function updateTextDecorations(){ + var el = document.forms[0].elements; + + var textDecorations = ["text_underline", "text_overline", "text_linethrough", "text_blink"]; + var noneChecked = el["text_none"].checked; + tinymce.each(textDecorations, function(id) { + el[id].disabled = noneChecked; + if (noneChecked) { + el[id].checked = false; + } + }); +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js new file mode 100644 index 00000000..ad04664e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.style_dlg',{"text_lineheight":"Zeilenh\u00f6he","text_variant":"Variante","text_style":"Stil","text_weight":"Dicke","text_size":"Gr\u00f6\u00dfe","text_font":"Schriftart","text_props":"Text","positioning_tab":"Positionierung","list_tab":"Liste","border_tab":"Rahmen","box_tab":"Box","block_tab":"Block","background_tab":"Hintergrund","text_tab":"Text",apply:"\u00dcbernehmen",title:"CSS-Styles bearbeiten",clip:"Ausschnitt",placement:"Platzierung",overflow:"Verhalten bei \u00dcbergr\u00f6\u00dfe",zindex:"Z-Wert",visibility:"Sichtbar","positioning_type":"Art der Positionierung",position:"Positionierung","bullet_image":"Listenpunkt-Grafik","list_type":"Listenpunkt-Art",color:"Textfarbe",height:"H\u00f6he",width:"Breite",style:"Format",margin:"\u00c4u\u00dferer Abstand",left:"Links",bottom:"Unten",right:"Rechts",top:"Oben",same:"Alle gleich",padding:"Innerer Abstand","box_clear":"Umflie\u00dfung verhindern","box_float":"Umflie\u00dfung","box_height":"H\u00f6he","box_width":"Breite","block_display":"Umbruchverhalten","block_whitespace":"Automatischer Umbruch","block_text_indent":"Einr\u00fcckung","block_text_align":"Ausrichtung","block_vertical_alignment":"Vertikale Ausrichtung","block_letterspacing":"Buchstabenabstand","block_wordspacing":"Wortabstand","background_vpos":"Position Y","background_hpos":"Position X","background_attachment":"Wasserzeicheneffekt","background_repeat":"Wiederholung","background_image":"Hintergrundbild","background_color":"Hintergrundfarbe","text_none":"keine","text_blink":"blinkend","text_case":"Schreibung","text_striketrough":"durchgestrichen","text_underline":"unterstrichen","text_overline":"\u00fcberstrichen","text_decoration":"Gestaltung","text_color":"Farbe",text:"Text",background:"Hintergrund",block:"Block",box:"Box",border:"Rahmen",list:"Liste"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js new file mode 100644 index 00000000..9a1d4a22 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.style_dlg',{"text_lineheight":"Line Height","text_variant":"Variant","text_style":"Style","text_weight":"Weight","text_size":"Size","text_font":"Font","text_props":"Text","positioning_tab":"Positioning","list_tab":"List","border_tab":"Border","box_tab":"Box","block_tab":"Block","background_tab":"Background","text_tab":"Text",apply:"Apply",title:"Edit CSS Style",clip:"Clip",placement:"Placement",overflow:"Overflow",zindex:"Z-index",visibility:"Visibility","positioning_type":"Type",position:"Position","bullet_image":"Bullet Image","list_type":"Type",color:"Color",height:"Height",width:"Width",style:"Style",margin:"Margin",left:"Left",bottom:"Bottom",right:"Right",top:"Top",same:"Same for All",padding:"Padding","box_clear":"Clear","box_float":"Float","box_height":"Height","box_width":"Width","block_display":"Display","block_whitespace":"Whitespace","block_text_indent":"Text Indent","block_text_align":"Text Align","block_vertical_alignment":"Vertical Alignment","block_letterspacing":"Letter Spacing","block_wordspacing":"Word Spacing","background_vpos":"Vertical Position","background_hpos":"Horizontal Position","background_attachment":"Attachment","background_repeat":"Repeat","background_image":"Background Image","background_color":"Background Color","text_none":"None","text_blink":"Blink","text_case":"Case","text_striketrough":"Strikethrough","text_underline":"Underline","text_overline":"Overline","text_decoration":"Decoration","text_color":"Color",text:"Text",background:"Background",block:"Block",box:"Box",border:"Border",list:"List"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js new file mode 100644 index 00000000..b60f3f73 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.style_dlg',{"text_lineheight":"Sormagass\u00e1g","text_variant":"V\u00e1ltozat","text_style":"St\u00edlus","text_weight":"Sz\u00e9less\u00e9g","text_size":"M\u00e9ret","text_font":"Bet\u0171t\u00edpus","text_props":"Sz\u00f6veg","positioning_tab":"Poz\u00edci\u00f3","list_tab":"Lista","border_tab":"Keret","box_tab":"Doboz","block_tab":"Blokk","background_tab":"H\u00e1tt\u00e9r","text_tab":"Sz\u00f6veg",apply:"Alkalmaz",title:"CSS st\u00edlus szerkest\u00e9se",clip:"Lev\u00e1g\u00e1s",placement:"Elhelyez\u00e9s",overflow:"Kifut\u00e1s",zindex:"Z-index",visibility:"L\u00e1that\u00f3s\u00e1g","positioning_type":"T\u00edpus",position:"Poz\u00edci\u00f3","bullet_image":"Elemk\u00e9p","list_type":"T\u00edpus",color:"Sz\u00edn",height:"Magass\u00e1g",width:"Sz\u00e9less\u00e9g",style:"St\u00edlus",margin:"Marg\u00f3",left:"Balra",bottom:"Lent",right:"Jobbra",top:"Fel\u00fcl",same:"Mindenhol ugyanaz",padding:"Bels\u0151 marg\u00f3","box_clear":"Lebeg\u00e9s (float) t\u00f6rl\u00e9se","box_float":"Lebeg\u00e9s (float)","box_height":"Magass\u00e1g","box_width":"Sz\u00e9less\u00e9g","block_display":"Megjelen\u00edt\u00e9s","block_whitespace":"T\u00e9rk\u00f6z","block_text_indent":"Sz\u00f6veg beh\u00faz\u00e1sa","block_text_align":"Sz\u00f6veg igaz\u00edt\u00e1sa","block_vertical_alignment":"F\u00fcgg\u0151leges igaz\u00edt\u00e1s","block_letterspacing":"Bet\u0171t\u00e1vols\u00e1g","block_wordspacing":"Sz\u00f3t\u00e1vols\u00e1g","background_vpos":"F\u00fcgg\u0151leges hely","background_hpos":"V\u00edzszintes hely","background_attachment":"Csatolm\u00e1ny","background_repeat":"Ism\u00e9tl\u00e9s","background_image":"H\u00e1tt\u00e9rk\u00e9p","background_color":"H\u00e1tt\u00e9rsz\u00edn","text_none":"egyik sem","text_blink":"villog\u00e1s","text_case":"eset","text_striketrough":"\u00e1th\u00fazott","text_underline":"al\u00e1h\u00fazott","text_overline":"fel\u00fclh\u00fazott","text_decoration":"dekor\u00e1ci\u00f3","text_color":"sz\u00edn",text:"Sz\u00f6veg",background:"H\u00e1tt\u00e9r",block:"Blokk",box:"Doboz",border:"Keret",list:"Lista"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js new file mode 100644 index 00000000..4d5953cf --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.style_dlg',{"text_lineheight":"\u884c\u306e\u9ad8\u3055","text_variant":"\u5909\u5f62","text_style":"\u30b9\u30bf\u30a4\u30eb","text_weight":"\u592a\u3055","text_size":"\u5927\u304d\u3055","text_font":"\u30d5\u30a9\u30f3\u30c8","text_props":"\u30c6\u30ad\u30b9\u30c8","positioning_tab":"\u4f4d\u7f6e","list_tab":"\u7b87\u6761\u66f8\u304d","border_tab":"\u67a0\u7dda","box_tab":"\u30dc\u30c3\u30af\u30b9","block_tab":"\u30d6\u30ed\u30c3\u30af","background_tab":"\u80cc\u666f","text_tab":"\u6587\u5b57",apply:"\u9069\u7528",title:"CSS\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7de8\u96c6",clip:"\u5207\u308a\u629c\u304d",placement:"\u914d\u7f6e",overflow:"\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc",zindex:"Z-index",visibility:"\u53ef\u8996\u6027","positioning_type":"\u914d\u7f6e\u65b9\u6cd5",position:"\u8868\u793a\u4f4d\u7f6e","bullet_image":"\u884c\u982d\u6587\u5b57","list_type":"\u7b87\u6761\u66f8\u304d\u306e\u7a2e\u985e",color:"\u8272",height:"\u9ad8\u3055",width:"\u5e45",style:"\u30b9\u30bf\u30a4\u30eb",margin:"\u30de\u30fc\u30b8\u30f3",left:"\u5de6",bottom:"\u4e0b",right:"\u53f3",top:"\u4e0a",same:"\u3059\u3079\u3066\u540c\u3058",padding:"\u30d1\u30c7\u30a3\u30f3\u30b0","box_clear":"\u56de\u308a\u8fbc\u307f\u89e3\u9664","box_float":"\u56de\u308a\u8fbc\u307f","box_height":"\u9ad8\u3055","box_width":"\u5e45","block_display":"\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4","block_whitespace":"\u7a7a\u767d\u6587\u5b57","block_text_indent":"\u30c6\u30ad\u30b9\u30c8\u306e\u5b57\u4e0b\u3052","block_text_align":"\u30c6\u30ad\u30b9\u30c8\u306e\u6c34\u5e73\u914d\u7f6e","block_vertical_alignment":"\u5782\u76f4\u914d\u7f6e","block_letterspacing":"\u6587\u5b57\u9593\u9694","block_wordspacing":"\u5358\u8a9e\u9593\u9694","background_vpos":"\u5782\u76f4\u4f4d\u7f6e","background_hpos":"\u6c34\u5e73\u4f4d\u7f6e","background_attachment":"\u6dfb\u4ed8","background_repeat":"\u7e70\u308a\u8fd4\u3057","background_image":"\u80cc\u666f\u753b\u50cf","background_color":"\u80cc\u666f\u8272","text_none":"\u306a\u3057","text_blink":"\u70b9\u6ec5","text_case":"\u5927\u6587\u5b57/\u5c0f\u6587\u5b57","text_striketrough":"\u6253\u6d88\u3057\u7dda","text_underline":"\u4e0b\u7dda","text_overline":"\u4e0a\u7dda","text_decoration":"\u88c5\u98fe","text_color":"\u8272",text:"\u6587\u5b57",background:"\u80cc\u666f",block:"\u30d6\u30ed\u30c3\u30af",box:"\u30dc\u30c3\u30af\u30b9",border:"\u67a0\u7dda",list:"\u7b87\u6761\u66f8\u304d"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm new file mode 100755 index 00000000..7dc087a3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/props.htm @@ -0,0 +1,845 @@ + + + + {#style_dlg.title} + + + + + + + + + + +
    + + +
    +
    +
    + {#style_dlg.text} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + +
      + + +
    +
    + +
    + + + +
    + + + + + + +
    + +   + + +
    +
    + +
    + + + + + +
     
    +
    {#style_dlg.text_decoration} + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    + {#style_dlg.background} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
     
    +
    + + + + +
     
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    +
    +
    + +
    +
    + {#style_dlg.block} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + + +
    +
    +
    +
    + +
    +
    + {#style_dlg.box} + + + + + + + + + + + + + + +
    + + + + + + +
      + + +
    +
       
    + + + + + + +
      + + +
    +
       
    +
    + +
    +
    + {#style_dlg.padding} + + + + + + + + + + + + + + + + + + + + + + +
     
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    +
    +
    + +
    +
    + {#style_dlg.margin} + + + + + + + + + + + + + + + + + + + + + + +
     
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    + + + + + + +
      + + +
    +
    +
    +
    +
    +
    + +
    +
    + {#style_dlg.border} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      {#style_dlg.style} {#style_dlg.width} {#style_dlg.color}
          
    {#style_dlg.top}   + + + + + + +
      + + +
    +
      + + + + + +
     
    +
    {#style_dlg.right}   + + + + + + +
      + + +
    +
      + + + + + +
     
    +
    {#style_dlg.bottom}   + + + + + + +
      + + +
    +
      + + + + + +
     
    +
    {#style_dlg.left}   + + + + + + +
      + + +
    +
      + + + + + +
     
    +
    +
    +
    + +
    +
    + {#style_dlg.list} + + + + + + + + + + + + + + + +
    +
    +
    + +
    +
    + {#style_dlg.position} + + + + + + + + + + + + + + + + + + + + + +
       
    + + + + + + +
      + + +
    +
       
    + + + + + + +
      + + +
    +
       
    +
    + +
    +
    + {#style_dlg.placement} + + + + + + + + + + + + + + + + + + + + + + +
     
    {#style_dlg.top} + + + + + + +
      + + +
    +
    {#style_dlg.right} + + + + + + +
      + + +
    +
    {#style_dlg.bottom} + + + + + + +
      + + +
    +
    {#style_dlg.left} + + + + + + +
      + + +
    +
    +
    +
    + +
    +
    + {#style_dlg.clip} + + + + + + + + + + + + + + + + + + + + + + +
     
    {#style_dlg.top} + + + + + + +
      + + +
    +
    {#style_dlg.right} + + + + + + +
      + + +
    +
    {#style_dlg.bottom} + + + + + + +
      + + +
    +
    {#style_dlg.left} + + + + + + +
      + + +
    +
    +
    +
    +
    +
    +
    + +
    + + +
    + +
    + + + +
    +
    + +
    +
    +
    + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt new file mode 100755 index 00000000..5bac3020 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/style/readme.txt @@ -0,0 +1,19 @@ +Edit CSS Style plug-in notes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Unlike WYSIWYG editor functionality that operates only on the selected text, +typically by inserting new HTML elements with the specified styles. +This plug-in operates on the HTML blocks surrounding the selected text. +No new HTML elements are created. + +This plug-in only operates on the surrounding blocks and not the nearest +parent node. This means that if a block encapsulates a node, +e.g

    text

    , then only the styles in the block are +recognized, not those in the span. + +When selecting text that includes multiple blocks at the same level (peers), +this plug-in accumulates the specified styles in all of the surrounding blocks +and populates the dialogue checkboxes accordingly. There is no differentiation +between styles set in all the blocks versus styles set in some of the blocks. + +When the [Update] or [Apply] buttons are pressed, the styles selected in the +checkboxes are applied to all blocks that surround the selected text. diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js new file mode 100644 index 00000000..2c512916 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin.js @@ -0,0 +1 @@ +(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(t){n=c.select(":input:enabled,*[tabindex]:not(iframe)");function s(v){return v.nodeName==="BODY"||(v.type!="hidden"&&!(v.style.display=="none")&&!(v.style.visibility=="hidden")&&s(v.parentNode))}function i(v){return v.attributes.tabIndex.specified||v.nodeName=="INPUT"||v.nodeName=="TEXTAREA"}function u(){return tinymce.isIE6||tinymce.isIE7}function r(v){return((!u()||i(v)))&&v.getAttribute("tabindex")!="-1"&&s(v)}d(n,function(w,v){if(w.id==l.id){j=v;return false}});if(t>0){for(m=j+1;m=0;m--){if(r(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js new file mode 100644 index 00000000..94f45320 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js @@ -0,0 +1,122 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode; + + tinymce.create('tinymce.plugins.TabFocusPlugin', { + init : function(ed, url) { + function tabCancel(ed, e) { + if (e.keyCode === 9) + return Event.cancel(e); + } + + function tabHandler(ed, e) { + var x, i, f, el, v; + + function find(d) { + el = DOM.select(':input:enabled,*[tabindex]:not(iframe)'); + + function canSelectRecursive(e) { + return e.nodeName==="BODY" || (e.type != 'hidden' && + !(e.style.display == "none") && + !(e.style.visibility == "hidden") && canSelectRecursive(e.parentNode)); + } + function canSelectInOldIe(el) { + return el.attributes["tabIndex"].specified || el.nodeName == "INPUT" || el.nodeName == "TEXTAREA"; + } + function isOldIe() { + return tinymce.isIE6 || tinymce.isIE7; + } + function canSelect(el) { + return ((!isOldIe() || canSelectInOldIe(el))) && el.getAttribute("tabindex") != '-1' && canSelectRecursive(el); + } + + each(el, function(e, i) { + if (e.id == ed.id) { + x = i; + return false; + } + }); + if (d > 0) { + for (i = x + 1; i < el.length; i++) { + if (canSelect(el[i])) + return el[i]; + } + } else { + for (i = x - 1; i >= 0; i--) { + if (canSelect(el[i])) + return el[i]; + } + } + + return null; + } + + if (e.keyCode === 9) { + v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next'))); + + if (v.length == 1) { + v[1] = v[0]; + v[0] = ':prev'; + } + + // Find element to focus + if (e.shiftKey) { + if (v[0] == ':prev') + el = find(-1); + else + el = DOM.get(v[0]); + } else { + if (v[1] == ':next') + el = find(1); + else + el = DOM.get(v[1]); + } + + if (el) { + if (el.id && (ed = tinymce.get(el.id || el.name))) + ed.focus(); + else + window.setTimeout(function() { + if (!tinymce.isWebKit) + window.focus(); + el.focus(); + }, 10); + + return Event.cancel(e); + } + } + } + + ed.onKeyUp.add(tabCancel); + + if (tinymce.isGecko) { + ed.onKeyPress.add(tabHandler); + ed.onKeyDown.add(tabCancel); + } else + ed.onKeyDown.add(tabHandler); + + }, + + getInfo : function() { + return { + longname : 'Tabfocus', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm new file mode 100755 index 00000000..a72a8d69 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/cell.htm @@ -0,0 +1,180 @@ + + + + {#table_dlg.cell_title} + + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    +
    +
    + +
    +
    + +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css new file mode 100755 index 00000000..a067ecdf --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/cell.css @@ -0,0 +1,17 @@ +/* CSS file for cell dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#class { + width: 150px; +} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css new file mode 100755 index 00000000..1f7755da --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/row.css @@ -0,0 +1,25 @@ +/* CSS file for row dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#rowtype,#align,#valign,#class,#height { + width: 150px; +} + +#height { + width: 50px; +} + +.col2 { + padding-left: 20px; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css new file mode 100755 index 00000000..d11c3f69 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/css/table.css @@ -0,0 +1,13 @@ +/* CSS file for table dialog in the table plugin */ + +.panel_wrapper div.current { + height: 245px; +} + +.advfield { + width: 200px; +} + +#class { + width: 150px; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js new file mode 100755 index 00000000..c4c3264e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin.js @@ -0,0 +1 @@ +(function(d){var e=d.each;function c(g,h){var j=h.ownerDocument,f=j.createRange(),k;f.setStartBefore(h);f.setEnd(g.endContainer,g.endOffset);k=j.createElement("body");k.appendChild(f.cloneContents());return k.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length==0}function a(g,f){return parseInt(g.getAttribute(f)||1)}function b(H,G,K){var g,L,D,o;t();o=G.getParent(K.getStart(),"th,td");if(o){L=F(o);D=I();o=z(L.x,L.y)}function A(N,M){N=N.cloneNode(M);N.removeAttribute("id");return N}function t(){var M=0;g=[];e(["thead","tbody","tfoot"],function(N){var O=G.select("> "+N+" tr",H);e(O,function(P,Q){Q+=M;e(G.select("> td, > th",P),function(W,R){var S,T,U,V;if(g[Q]){while(g[Q][R]){R++}}U=a(W,"rowspan");V=a(W,"colspan");for(T=Q;T'}return false}},"childNodes");M=A(M,false);s(M,"rowSpan",1);s(M,"colSpan",1);if(N){M.appendChild(N)}else{if(!d.isIE){M.innerHTML='
    '}}return M}function q(){var M=G.createRng();e(G.select("tr",H),function(N){if(N.cells.length==0){G.remove(N)}});if(G.select("tr",H).length==0){M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H);return}e(G.select("thead,tbody,tfoot",H),function(N){if(N.rows.length==0){G.remove(N)}});t();row=g[Math.min(g.length-1,L.y)];if(row){K.select(row[Math.min(row.length-1,L.x)].elm,true);K.collapse(true)}}function u(S,Q,U,R){var P,N,M,O,T;P=g[Q][S].elm.parentNode;for(M=1;M<=U;M++){P=G.getNext(P,"tr");if(P){for(N=S;N>=0;N--){T=g[Q+M][N].elm;if(T.parentNode==P){for(O=1;O<=R;O++){G.insertAfter(f(T),T)}break}}if(N==-1){for(O=1;O<=R;O++){P.insertBefore(f(P.cells[0]),P.cells[0])}}}}}function C(){e(g,function(M,N){e(M,function(P,O){var S,R,T,Q;if(j(P)){P=P.elm;S=a(P,"colspan");R=a(P,"rowspan");if(S>1||R>1){s(P,"rowSpan",1);s(P,"colSpan",1);for(Q=0;Q1){s(S,"rowSpan",O+1);continue}}else{if(M>0&&g[M-1][R]){V=g[M-1][R].elm;O=a(V,"rowSpan");if(O>1){s(V,"rowSpan",O+1);continue}}}N=f(S);s(N,"colSpan",S.colSpan);U.appendChild(N);P=S}}if(U.hasChildNodes()){if(!Q){G.insertAfter(U,T)}else{T.parentNode.insertBefore(U,T)}}}function h(N){var O,M;e(g,function(P,Q){e(P,function(S,R){if(j(S)){O=R;if(N){return false}}});if(N){return !O}});e(g,function(S,T){var P,Q,R;if(!S[O]){return}P=S[O].elm;if(P!=M){R=a(P,"colspan");Q=a(P,"rowspan");if(R==1){if(!N){G.insertAfter(f(P),P);u(O,T,Q-1,R)}else{P.parentNode.insertBefore(f(P),P);u(O,T,Q-1,R)}}else{s(P,"colSpan",P.colSpan+1)}M=P}})}function n(){var M=[];e(g,function(N,O){e(N,function(Q,P){if(j(Q)&&d.inArray(M,P)===-1){e(g,function(T){var R=T[P].elm,S;S=a(R,"colSpan");if(S>1){s(R,"colSpan",S-1)}else{G.remove(R)}});M.push(P)}})});q()}function m(){var N;function M(Q){var P,R,O;P=G.getNext(Q,"tr");e(Q.cells,function(S){var T=a(S,"rowSpan");if(T>1){s(S,"rowSpan",T-1);R=F(S);u(R.x,R.y,1,1)}});R=F(Q.cells[0]);e(g[R.y],function(S){var T;S=S.elm;if(S!=O){T=a(S,"rowSpan");if(T<=1){G.remove(S)}else{s(S,"rowSpan",T-1)}O=S}})}N=k();e(N.reverse(),function(O){M(O)});q()}function E(){var M=k();G.remove(M);q();return M}function J(){var M=k();e(M,function(O,N){M[N]=A(O,true)});return M}function B(O,N){var P=k(),M=P[N?0:P.length-1],Q=M.cells.length;e(g,function(S){var R;Q=0;e(S,function(U,T){if(U.real){Q+=U.colspan}if(U.elm.parentNode==M){R=1}});if(R){return false}});if(!N){O.reverse()}e(O,function(T){var S=T.cells.length,R;for(i=0;iN){N=R}if(Q>M){M=Q}if(S.real){U=S.colspan-1;T=S.rowspan-1;if(U){if(R+U>N){N=R+U}}if(T){if(Q+T>M){M=Q+T}}}}})});return{x:N,y:M}}function v(S){var P,O,U,T,N,M,Q,R;D=F(S);if(L&&D){P=Math.min(L.x,D.x);O=Math.min(L.y,D.y);U=Math.max(L.x,D.x);T=Math.max(L.y,D.y);N=U;M=T;for(y=O;y<=M;y++){S=g[y][P];if(!S.real){if(P-(S.colspan-1)N){N=x+Q}}if(R){if(y+R>M){M=y+R}}}}}G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=O;y<=M;y++){for(x=P;x<=N;x++){if(g[y][x]){G.addClass(g[y][x].elm,"mceSelected")}}}}}d.extend(this,{deleteTable:r,split:C,merge:p,insertRow:l,insertCol:h,deleteCols:n,deleteRows:m,cutRows:E,copyRows:J,pasteRows:B,getPos:F,setStartCell:w,setEndCell:v})}d.create("tinymce.plugins.TablePlugin",{init:function(g,h){var f,m,j=true;function l(p){var o=g.selection,n=g.dom.getParent(p||o.getNode(),"table");if(n){return new b(n,g.dom,o)}}function k(){g.getBody().style.webkitUserSelect="";if(j){g.dom.removeClass(g.dom.select("td.mceSelected,th.mceSelected"),"mceSelected");j=false}}e([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(n){g.addButton(n[0],{title:n[1],cmd:n[2],ui:n[3]})});if(!d.isIE){g.onClick.add(function(n,o){o=o.target;if(o.nodeName==="TABLE"){n.selection.select(o);n.nodeChanged()}})}g.onPreProcess.add(function(o,p){var n,q,r,t=o.dom,s;n=t.select("table",p.node);q=n.length;while(q--){r=n[q];t.setAttrib(r,"data-mce-style","");if((s=t.getAttrib(r,"width"))){t.setStyle(r,"width",s);t.setAttrib(r,"width","")}if((s=t.getAttrib(r,"height"))){t.setStyle(r,"height",s);t.setAttrib(r,"height","")}}});g.onNodeChange.add(function(q,o,s){var r;s=q.selection.getStart();r=q.dom.getParent(s,"td,th,caption");o.setActive("table",s.nodeName==="TABLE"||!!r);if(r&&r.nodeName==="CAPTION"){r=0}o.setDisabled("delete_table",!r);o.setDisabled("delete_col",!r);o.setDisabled("delete_table",!r);o.setDisabled("delete_row",!r);o.setDisabled("col_after",!r);o.setDisabled("col_before",!r);o.setDisabled("row_after",!r);o.setDisabled("row_before",!r);o.setDisabled("row_props",!r);o.setDisabled("cell_props",!r);o.setDisabled("split_cells",!r);o.setDisabled("merge_cells",!r)});g.onInit.add(function(r){var p,t,q=r.dom,u;f=r.windowManager;r.onMouseDown.add(function(w,z){if(z.button!=2){k();t=q.getParent(z.target,"td,th");p=q.getParent(t,"table")}});q.bind(r.getDoc(),"mouseover",function(C){var A,z,B=C.target;if(t&&(u||B!=t)&&(B.nodeName=="TD"||B.nodeName=="TH")){z=q.getParent(B,"table");if(z==p){if(!u){u=l(z);u.setStartCell(t);r.getBody().style.webkitUserSelect="none"}u.setEndCell(B);j=true}A=r.selection.getSel();try{if(A.removeAllRanges){A.removeAllRanges()}else{A.empty()}}catch(w){}C.preventDefault()}});r.onMouseUp.add(function(F,G){var z,B=F.selection,H,I=B.getSel(),w,C,A,E;if(t){if(u){F.getBody().style.webkitUserSelect=""}function D(J,L){var K=new d.dom.TreeWalker(J,J);do{if(J.nodeType==3&&d.trim(J.nodeValue).length!=0){if(L){z.setStart(J,0)}else{z.setEnd(J,J.nodeValue.length)}return}if(J.nodeName=="BR"){if(L){z.setStartBefore(J)}else{z.setEndBefore(J)}return}}while(J=(L?K.next():K.prev()))}H=q.select("td.mceSelected,th.mceSelected");if(H.length>0){z=q.createRng();C=H[0];E=H[H.length-1];z.setStartBefore(C);z.setEndAfter(C);D(C,1);w=new d.dom.TreeWalker(C,q.getParent(H[0],"table"));do{if(C.nodeName=="TD"||C.nodeName=="TH"){if(!q.hasClass(C,"mceSelected")){break}A=C}}while(C=w.next());D(A);B.setRng(z)}F.nodeChanged();t=u=p=null}});r.onKeyUp.add(function(w,z){k()});r.onKeyDown.add(function(w,z){n(w)});r.onMouseDown.add(function(w,z){if(z.button!=2){n(w)}});function o(D,z,A,F){var B=3,G=D.dom.getParent(z.startContainer,"TABLE"),C,w,E;if(G){C=G.parentNode}w=z.startContainer.nodeType==B&&z.startOffset==0&&z.endOffset==0&&F&&(A.nodeName=="TR"||A==C);E=(A.nodeName=="TD"||A.nodeName=="TH")&&!F;return w||E}function n(A){if(!d.isWebKit){return}var z=A.selection.getRng();var C=A.selection.getNode();var B=A.dom.getParent(z.startContainer,"TD,TH");if(!o(A,z,C,B)){return}if(!B){B=C}var w=B.lastChild;while(w.lastChild){w=w.lastChild}z.setEnd(w,w.nodeValue.length);A.selection.setRng(z)}r.plugins.table.fixTableCellSelection=n;if(r&&r.plugins.contextmenu){r.plugins.contextmenu.onContextMenu.add(function(A,w,C){var D,B=r.selection,z=B.getNode()||r.getBody();if(r.dom.getParent(C,"td")||r.dom.getParent(C,"th")||r.dom.select("td.mceSelected,th.mceSelected").length){w.removeAll();if(z.nodeName=="A"&&!r.dom.getAttrib(z,"name")){w.add({title:"advanced.link_desc",icon:"link",cmd:r.plugins.advlink?"mceAdvLink":"mceLink",ui:true});w.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});w.addSeparator()}if(z.nodeName=="IMG"&&z.className.indexOf("mceItem")==-1){w.add({title:"advanced.image_desc",icon:"image",cmd:r.plugins.advimage?"mceAdvImage":"mceImage",ui:true});w.addSeparator()}w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});w.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});w.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});w.addSeparator();D=w.addMenu({title:"table.cell"});D.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});D.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});D.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});D=w.addMenu({title:"table.row"});D.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});D.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});D.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});D.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});D.addSeparator();D.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});D.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});D.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!m);D.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!m);D=w.addMenu({title:"table.col"});D.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});D.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});D.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(d.isWebKit){function v(C,N){var L=d.VK;var Q=N.keyCode;function O(Y,U,S){var T=Y?"previousSibling":"nextSibling";var Z=C.dom.getParent(U,"tr");var X=Z[T];if(X){z(C,U,X,Y);d.dom.Event.cancel(S);return true}else{var aa=C.dom.getParent(Z,"table");var W=Z.parentNode;var R=W.nodeName.toLowerCase();if(R==="tbody"||R===(Y?"tfoot":"thead")){var V=w(Y,aa,W,"tbody");if(V!==null){return K(Y,V,U,S)}}return M(Y,Z,T,aa,S)}}function w(V,T,U,X){var S=C.dom.select(">"+X,T);var R=S.indexOf(U);if(V&&R===0||!V&&R===S.length-1){return B(V,T)}else{if(R===-1){var W=U.tagName.toLowerCase()==="thead"?0:S.length-1;return S[W]}else{return S[R+(V?-1:1)]}}}function B(U,T){var S=U?"thead":"tfoot";var R=C.dom.select(">"+S,T);return R.length!==0?R[0]:null}function K(V,T,S,U){var R=J(T,V);R&&z(C,S,R,V);d.dom.Event.cancel(U);return true}function M(Y,U,R,X,W){var S=X[R];if(S){F(S);return true}else{var V=C.dom.getParent(X,"td,th");if(V){return O(Y,V,W)}else{var T=J(U,!Y);F(T);return d.dom.Event.cancel(W)}}}function J(S,R){var T=S&&S[R?"lastChild":"firstChild"];return T&&T.nodeName==="BR"?C.dom.getParent(T,"td,th"):T}function F(R){C.selection.setCursorLocation(R,0)}function A(){return Q==L.UP||Q==L.DOWN}function D(R){var T=R.selection.getNode();var S=R.dom.getParent(T,"tr");return S!==null}function P(S){var R=0;var T=S;while(T.previousSibling){T=T.previousSibling;R=R+a(T,"colspan")}return R}function E(T,R){var U=0;var S=0;e(T.children,function(V,W){U=U+a(V,"colspan");S=W;if(U>R){return false}});return S}function z(T,W,Y,V){var X=P(T.dom.getParent(W,"td,th"));var S=E(Y,X);var R=Y.childNodes[S];var U=J(R,V);F(U||R)}function H(R){var T=C.selection.getNode();var U=C.dom.getParent(T,"td,th");var S=C.dom.getParent(R,"td,th");return U&&U!==S&&I(U,S)}function I(S,R){return C.dom.getParent(S,"TABLE")===C.dom.getParent(R,"TABLE")}if(A()&&D(C)){var G=C.selection.getNode();setTimeout(function(){if(H(G)){O(!N.shiftKey&&Q===L.UP,G,N)}},0)}}r.onKeyDown.add(v)}function s(){var w;for(w=r.getBody().lastChild;w&&w.nodeType==3&&!w.nodeValue.length;w=w.previousSibling){}if(w&&w.nodeName=="TABLE"){if(r.settings.forced_root_block){r.dom.add(r.getBody(),r.settings.forced_root_block,null,d.isIE?" ":'
    ')}else{r.dom.add(r.getBody(),"br",{"data-mce-bogus":"1"})}}}if(d.isGecko){r.onKeyDown.add(function(z,B){var w,A,C=z.dom;if(B.keyCode==37||B.keyCode==38){w=z.selection.getRng();A=C.getParent(w.startContainer,"table");if(A&&z.getBody().firstChild==A){if(c(w,A)){w=C.createRng();w.setStartBefore(A);w.setEndBefore(A);z.selection.setRng(w);B.preventDefault()}}}})}r.onKeyUp.add(s);r.onSetContent.add(s);r.onVisualAid.add(s);r.onPreProcess.add(function(w,A){var z=A.node.lastChild;if(z&&(z.nodeName=="BR"||(z.childNodes.length==1&&(z.firstChild.nodeName=="BR"||z.firstChild.nodeValue=="\u00a0")))&&z.previousSibling&&z.previousSibling.nodeName=="TABLE"){w.dom.remove(z)}});s();r.startContent=r.getContent({format:"raw"})});e({mceTableSplitCells:function(n){n.split()},mceTableMergeCells:function(o){var p,q,n;n=g.dom.getParent(g.selection.getNode(),"th,td");if(n){p=n.rowSpan;q=n.colSpan}if(!g.dom.select("td.mceSelected,th.mceSelected").length){f.open({url:h+"/merge_cells.htm",width:240+parseInt(g.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(g.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:p,cols:q,onaction:function(r){o.merge(n,r.cols,r.rows)},plugin_url:h})}else{o.merge()}},mceTableInsertRowBefore:function(n){n.insertRow(true)},mceTableInsertRowAfter:function(n){n.insertRow()},mceTableInsertColBefore:function(n){n.insertCol(true)},mceTableInsertColAfter:function(n){n.insertCol()},mceTableDeleteCol:function(n){n.deleteCols()},mceTableDeleteRow:function(n){n.deleteRows()},mceTableCutRow:function(n){m=n.cutRows()},mceTableCopyRow:function(n){m=n.copyRows()},mceTablePasteRowBefore:function(n){n.pasteRows(m,true)},mceTablePasteRowAfter:function(n){n.pasteRows(m)},mceTableDelete:function(n){n.deleteTable()}},function(o,n){g.addCommand(n,function(){var p=l();if(p){o(p);g.execCommand("mceRepaint");k()}})});e({mceInsertTable:function(n){f.open({url:h+"/table.htm",width:400+parseInt(g.getLang("table.table_delta_width",0)),height:320+parseInt(g.getLang("table.table_delta_height",0)),inline:1},{plugin_url:h,action:n?n.action:0})},mceTableRowProps:function(){f.open({url:h+"/row.htm",width:400+parseInt(g.getLang("table.rowprops_delta_width",0)),height:295+parseInt(g.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:h})},mceTableCellProps:function(){f.open({url:h+"/cell.htm",width:400+parseInt(g.getLang("table.cellprops_delta_width",0)),height:295+parseInt(g.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:h})}},function(o,n){g.addCommand(n,function(p,q){o(q)})})}});d.PluginManager.add("table",d.plugins.TablePlugin)})(tinymce); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js new file mode 100755 index 00000000..dc20b386 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/editor_plugin_src.js @@ -0,0 +1,1452 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function(tinymce) { + var each = tinymce.each; + + // Checks if the selection/caret is at the start of the specified block element + function isAtStart(rng, par) { + var doc = par.ownerDocument, rng2 = doc.createRange(), elm; + + rng2.setStartBefore(par); + rng2.setEnd(rng.endContainer, rng.endOffset); + + elm = doc.createElement('body'); + elm.appendChild(rng2.cloneContents()); + + // Check for text characters of other elements that should be treated as content + return elm.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi, '-').replace(/<[^>]+>/g, '').length == 0; + }; + + function getSpanVal(td, name) { + return parseInt(td.getAttribute(name) || 1); + } + + /** + * Table Grid class. + */ + function TableGrid(table, dom, selection) { + var grid, startPos, endPos, selectedCell; + + buildGrid(); + selectedCell = dom.getParent(selection.getStart(), 'th,td'); + if (selectedCell) { + startPos = getPos(selectedCell); + endPos = findEndPos(); + selectedCell = getCell(startPos.x, startPos.y); + } + + function cloneNode(node, children) { + node = node.cloneNode(children); + node.removeAttribute('id'); + + return node; + } + + function buildGrid() { + var startY = 0; + + grid = []; + + each(['thead', 'tbody', 'tfoot'], function(part) { + var rows = dom.select('> ' + part + ' tr', table); + + each(rows, function(tr, y) { + y += startY; + + each(dom.select('> td, > th', tr), function(td, x) { + var x2, y2, rowspan, colspan; + + // Skip over existing cells produced by rowspan + if (grid[y]) { + while (grid[y][x]) + x++; + } + + // Get col/rowspan from cell + rowspan = getSpanVal(td, 'rowspan'); + colspan = getSpanVal(td, 'colspan'); + + // Fill out rowspan/colspan right and down + for (y2 = y; y2 < y + rowspan; y2++) { + if (!grid[y2]) + grid[y2] = []; + + for (x2 = x; x2 < x + colspan; x2++) { + grid[y2][x2] = { + part : part, + real : y2 == y && x2 == x, + elm : td, + rowspan : rowspan, + colspan : colspan + }; + } + } + }); + }); + + startY += rows.length; + }); + }; + + function getCell(x, y) { + var row; + + row = grid[y]; + if (row) + return row[x]; + }; + + function setSpanVal(td, name, val) { + if (td) { + val = parseInt(val); + + if (val === 1) + td.removeAttribute(name, 1); + else + td.setAttribute(name, val, 1); + } + } + + function isCellSelected(cell) { + return cell && (dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell); + }; + + function getSelectedRows() { + var rows = []; + + each(table.rows, function(row) { + each(row.cells, function(cell) { + if (dom.hasClass(cell, 'mceSelected') || cell == selectedCell.elm) { + rows.push(row); + return false; + } + }); + }); + + return rows; + }; + + function deleteTable() { + var rng = dom.createRng(); + + rng.setStartAfter(table); + rng.setEndAfter(table); + + selection.setRng(rng); + + dom.remove(table); + }; + + function cloneCell(cell) { + var formatNode; + + // Clone formats + tinymce.walk(cell, function(node) { + var curNode; + + if (node.nodeType == 3) { + each(dom.getParents(node.parentNode, null, cell).reverse(), function(node) { + node = cloneNode(node, false); + + if (!formatNode) + formatNode = curNode = node; + else if (curNode) + curNode.appendChild(node); + + curNode = node; + }); + + // Add something to the inner node + if (curNode) + curNode.innerHTML = tinymce.isIE ? ' ' : '
    '; + + return false; + } + }, 'childNodes'); + + cell = cloneNode(cell, false); + setSpanVal(cell, 'rowSpan', 1); + setSpanVal(cell, 'colSpan', 1); + + if (formatNode) { + cell.appendChild(formatNode); + } else { + if (!tinymce.isIE) + cell.innerHTML = '
    '; + } + + return cell; + }; + + function cleanup() { + var rng = dom.createRng(); + + // Empty rows + each(dom.select('tr', table), function(tr) { + if (tr.cells.length == 0) + dom.remove(tr); + }); + + // Empty table + if (dom.select('tr', table).length == 0) { + rng.setStartAfter(table); + rng.setEndAfter(table); + selection.setRng(rng); + dom.remove(table); + return; + } + + // Empty header/body/footer + each(dom.select('thead,tbody,tfoot', table), function(part) { + if (part.rows.length == 0) + dom.remove(part); + }); + + // Restore selection to start position if it still exists + buildGrid(); + + // Restore the selection to the closest table position + row = grid[Math.min(grid.length - 1, startPos.y)]; + if (row) { + selection.select(row[Math.min(row.length - 1, startPos.x)].elm, true); + selection.collapse(true); + } + }; + + function fillLeftDown(x, y, rows, cols) { + var tr, x2, r, c, cell; + + tr = grid[y][x].elm.parentNode; + for (r = 1; r <= rows; r++) { + tr = dom.getNext(tr, 'tr'); + + if (tr) { + // Loop left to find real cell + for (x2 = x; x2 >= 0; x2--) { + cell = grid[y + r][x2].elm; + + if (cell.parentNode == tr) { + // Append clones after + for (c = 1; c <= cols; c++) + dom.insertAfter(cloneCell(cell), cell); + + break; + } + } + + if (x2 == -1) { + // Insert nodes before first cell + for (c = 1; c <= cols; c++) + tr.insertBefore(cloneCell(tr.cells[0]), tr.cells[0]); + } + } + } + }; + + function split() { + each(grid, function(row, y) { + each(row, function(cell, x) { + var colSpan, rowSpan, newCell, i; + + if (isCellSelected(cell)) { + cell = cell.elm; + colSpan = getSpanVal(cell, 'colspan'); + rowSpan = getSpanVal(cell, 'rowspan'); + + if (colSpan > 1 || rowSpan > 1) { + setSpanVal(cell, 'rowSpan', 1); + setSpanVal(cell, 'colSpan', 1); + + // Insert cells right + for (i = 0; i < colSpan - 1; i++) + dom.insertAfter(cloneCell(cell), cell); + + fillLeftDown(x, y, rowSpan - 1, colSpan); + } + } + }); + }); + }; + + function merge(cell, cols, rows) { + var startX, startY, endX, endY, x, y, startCell, endCell, cell, children, count; + + // Use specified cell and cols/rows + if (cell) { + pos = getPos(cell); + startX = pos.x; + startY = pos.y; + endX = startX + (cols - 1); + endY = startY + (rows - 1); + } else { + startPos = endPos = null; + + // Calculate start/end pos by checking for selected cells in grid works better with context menu + each(grid, function(row, y) { + each(row, function(cell, x) { + if (isCellSelected(cell)) { + if (!startPos) { + startPos = {x: x, y: y}; + } + + endPos = {x: x, y: y}; + } + }); + }); + + // Use selection + startX = startPos.x; + startY = startPos.y; + endX = endPos.x; + endY = endPos.y; + } + + // Find start/end cells + startCell = getCell(startX, startY); + endCell = getCell(endX, endY); + + // Check if the cells exists and if they are of the same part for example tbody = tbody + if (startCell && endCell && startCell.part == endCell.part) { + // Split and rebuild grid + split(); + buildGrid(); + + // Set row/col span to start cell + startCell = getCell(startX, startY).elm; + setSpanVal(startCell, 'colSpan', (endX - startX) + 1); + setSpanVal(startCell, 'rowSpan', (endY - startY) + 1); + + // Remove other cells and add it's contents to the start cell + for (y = startY; y <= endY; y++) { + for (x = startX; x <= endX; x++) { + if (!grid[y] || !grid[y][x]) + continue; + + cell = grid[y][x].elm; + + if (cell != startCell) { + // Move children to startCell + children = tinymce.grep(cell.childNodes); + each(children, function(node) { + startCell.appendChild(node); + }); + + // Remove bogus nodes if there is children in the target cell + if (children.length) { + children = tinymce.grep(startCell.childNodes); + count = 0; + each(children, function(node) { + if (node.nodeName == 'BR' && dom.getAttrib(node, 'data-mce-bogus') && count++ < children.length - 1) + startCell.removeChild(node); + }); + } + + // Remove cell + dom.remove(cell); + } + } + } + + // Remove empty rows etc and restore caret location + cleanup(); + } + }; + + function insertRow(before) { + var posY, cell, lastCell, x, rowElm, newRow, newCell, otherCell, rowSpan; + + // Find first/last row + each(grid, function(row, y) { + each(row, function(cell, x) { + if (isCellSelected(cell)) { + cell = cell.elm; + rowElm = cell.parentNode; + newRow = cloneNode(rowElm, false); + posY = y; + + if (before) + return false; + } + }); + + if (before) + return !posY; + }); + + for (x = 0; x < grid[0].length; x++) { + // Cell not found could be because of an invalid table structure + if (!grid[posY][x]) + continue; + + cell = grid[posY][x].elm; + + if (cell != lastCell) { + if (!before) { + rowSpan = getSpanVal(cell, 'rowspan'); + if (rowSpan > 1) { + setSpanVal(cell, 'rowSpan', rowSpan + 1); + continue; + } + } else { + // Check if cell above can be expanded + if (posY > 0 && grid[posY - 1][x]) { + otherCell = grid[posY - 1][x].elm; + rowSpan = getSpanVal(otherCell, 'rowSpan'); + if (rowSpan > 1) { + setSpanVal(otherCell, 'rowSpan', rowSpan + 1); + continue; + } + } + } + + // Insert new cell into new row + newCell = cloneCell(cell); + setSpanVal(newCell, 'colSpan', cell.colSpan); + + newRow.appendChild(newCell); + + lastCell = cell; + } + } + + if (newRow.hasChildNodes()) { + if (!before) + dom.insertAfter(newRow, rowElm); + else + rowElm.parentNode.insertBefore(newRow, rowElm); + } + }; + + function insertCol(before) { + var posX, lastCell; + + // Find first/last column + each(grid, function(row, y) { + each(row, function(cell, x) { + if (isCellSelected(cell)) { + posX = x; + + if (before) + return false; + } + }); + + if (before) + return !posX; + }); + + each(grid, function(row, y) { + var cell, rowSpan, colSpan; + + if (!row[posX]) + return; + + cell = row[posX].elm; + if (cell != lastCell) { + colSpan = getSpanVal(cell, 'colspan'); + rowSpan = getSpanVal(cell, 'rowspan'); + + if (colSpan == 1) { + if (!before) { + dom.insertAfter(cloneCell(cell), cell); + fillLeftDown(posX, y, rowSpan - 1, colSpan); + } else { + cell.parentNode.insertBefore(cloneCell(cell), cell); + fillLeftDown(posX, y, rowSpan - 1, colSpan); + } + } else + setSpanVal(cell, 'colSpan', cell.colSpan + 1); + + lastCell = cell; + } + }); + }; + + function deleteCols() { + var cols = []; + + // Get selected column indexes + each(grid, function(row, y) { + each(row, function(cell, x) { + if (isCellSelected(cell) && tinymce.inArray(cols, x) === -1) { + each(grid, function(row) { + var cell = row[x].elm, colSpan; + + colSpan = getSpanVal(cell, 'colSpan'); + + if (colSpan > 1) + setSpanVal(cell, 'colSpan', colSpan - 1); + else + dom.remove(cell); + }); + + cols.push(x); + } + }); + }); + + cleanup(); + }; + + function deleteRows() { + var rows; + + function deleteRow(tr) { + var nextTr, pos, lastCell; + + nextTr = dom.getNext(tr, 'tr'); + + // Move down row spanned cells + each(tr.cells, function(cell) { + var rowSpan = getSpanVal(cell, 'rowSpan'); + + if (rowSpan > 1) { + setSpanVal(cell, 'rowSpan', rowSpan - 1); + pos = getPos(cell); + fillLeftDown(pos.x, pos.y, 1, 1); + } + }); + + // Delete cells + pos = getPos(tr.cells[0]); + each(grid[pos.y], function(cell) { + var rowSpan; + + cell = cell.elm; + + if (cell != lastCell) { + rowSpan = getSpanVal(cell, 'rowSpan'); + + if (rowSpan <= 1) + dom.remove(cell); + else + setSpanVal(cell, 'rowSpan', rowSpan - 1); + + lastCell = cell; + } + }); + }; + + // Get selected rows and move selection out of scope + rows = getSelectedRows(); + + // Delete all selected rows + each(rows.reverse(), function(tr) { + deleteRow(tr); + }); + + cleanup(); + }; + + function cutRows() { + var rows = getSelectedRows(); + + dom.remove(rows); + cleanup(); + + return rows; + }; + + function copyRows() { + var rows = getSelectedRows(); + + each(rows, function(row, i) { + rows[i] = cloneNode(row, true); + }); + + return rows; + }; + + function pasteRows(rows, before) { + var selectedRows = getSelectedRows(), + targetRow = selectedRows[before ? 0 : selectedRows.length - 1], + targetCellCount = targetRow.cells.length; + + // Calc target cell count + each(grid, function(row) { + var match; + + targetCellCount = 0; + each(row, function(cell, x) { + if (cell.real) + targetCellCount += cell.colspan; + + if (cell.elm.parentNode == targetRow) + match = 1; + }); + + if (match) + return false; + }); + + if (!before) + rows.reverse(); + + each(rows, function(row) { + var cellCount = row.cells.length, cell; + + // Remove col/rowspans + for (i = 0; i < cellCount; i++) { + cell = row.cells[i]; + setSpanVal(cell, 'colSpan', 1); + setSpanVal(cell, 'rowSpan', 1); + } + + // Needs more cells + for (i = cellCount; i < targetCellCount; i++) + row.appendChild(cloneCell(row.cells[cellCount - 1])); + + // Needs less cells + for (i = targetCellCount; i < cellCount; i++) + dom.remove(row.cells[i]); + + // Add before/after + if (before) + targetRow.parentNode.insertBefore(row, targetRow); + else + dom.insertAfter(row, targetRow); + }); + + // Remove current selection + dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected'); + }; + + function getPos(target) { + var pos; + + each(grid, function(row, y) { + each(row, function(cell, x) { + if (cell.elm == target) { + pos = {x : x, y : y}; + return false; + } + }); + + return !pos; + }); + + return pos; + }; + + function setStartCell(cell) { + startPos = getPos(cell); + }; + + function findEndPos() { + var pos, maxX, maxY; + + maxX = maxY = 0; + + each(grid, function(row, y) { + each(row, function(cell, x) { + var colSpan, rowSpan; + + if (isCellSelected(cell)) { + cell = grid[y][x]; + + if (x > maxX) + maxX = x; + + if (y > maxY) + maxY = y; + + if (cell.real) { + colSpan = cell.colspan - 1; + rowSpan = cell.rowspan - 1; + + if (colSpan) { + if (x + colSpan > maxX) + maxX = x + colSpan; + } + + if (rowSpan) { + if (y + rowSpan > maxY) + maxY = y + rowSpan; + } + } + } + }); + }); + + return {x : maxX, y : maxY}; + }; + + function setEndCell(cell) { + var startX, startY, endX, endY, maxX, maxY, colSpan, rowSpan; + + endPos = getPos(cell); + + if (startPos && endPos) { + // Get start/end positions + startX = Math.min(startPos.x, endPos.x); + startY = Math.min(startPos.y, endPos.y); + endX = Math.max(startPos.x, endPos.x); + endY = Math.max(startPos.y, endPos.y); + + // Expand end positon to include spans + maxX = endX; + maxY = endY; + + // Expand startX + for (y = startY; y <= maxY; y++) { + cell = grid[y][startX]; + + if (!cell.real) { + if (startX - (cell.colspan - 1) < startX) + startX -= cell.colspan - 1; + } + } + + // Expand startY + for (x = startX; x <= maxX; x++) { + cell = grid[startY][x]; + + if (!cell.real) { + if (startY - (cell.rowspan - 1) < startY) + startY -= cell.rowspan - 1; + } + } + + // Find max X, Y + for (y = startY; y <= endY; y++) { + for (x = startX; x <= endX; x++) { + cell = grid[y][x]; + + if (cell.real) { + colSpan = cell.colspan - 1; + rowSpan = cell.rowspan - 1; + + if (colSpan) { + if (x + colSpan > maxX) + maxX = x + colSpan; + } + + if (rowSpan) { + if (y + rowSpan > maxY) + maxY = y + rowSpan; + } + } + } + } + + // Remove current selection + dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected'); + + // Add new selection + for (y = startY; y <= maxY; y++) { + for (x = startX; x <= maxX; x++) { + if (grid[y][x]) + dom.addClass(grid[y][x].elm, 'mceSelected'); + } + } + } + }; + + // Expose to public + tinymce.extend(this, { + deleteTable : deleteTable, + split : split, + merge : merge, + insertRow : insertRow, + insertCol : insertCol, + deleteCols : deleteCols, + deleteRows : deleteRows, + cutRows : cutRows, + copyRows : copyRows, + pasteRows : pasteRows, + getPos : getPos, + setStartCell : setStartCell, + setEndCell : setEndCell + }); + }; + + tinymce.create('tinymce.plugins.TablePlugin', { + init : function(ed, url) { + var winMan, clipboardRows, hasCellSelection = true; // Might be selected cells on reload + + function createTableGrid(node) { + var selection = ed.selection, tblElm = ed.dom.getParent(node || selection.getNode(), 'table'); + + if (tblElm) + return new TableGrid(tblElm, ed.dom, selection); + }; + + function cleanup() { + // Restore selection possibilities + ed.getBody().style.webkitUserSelect = ''; + + if (hasCellSelection) { + ed.dom.removeClass(ed.dom.select('td.mceSelected,th.mceSelected'), 'mceSelected'); + hasCellSelection = false; + } + }; + + // Register buttons + each([ + ['table', 'table.desc', 'mceInsertTable', true], + ['delete_table', 'table.del', 'mceTableDelete'], + ['delete_col', 'table.delete_col_desc', 'mceTableDeleteCol'], + ['delete_row', 'table.delete_row_desc', 'mceTableDeleteRow'], + ['col_after', 'table.col_after_desc', 'mceTableInsertColAfter'], + ['col_before', 'table.col_before_desc', 'mceTableInsertColBefore'], + ['row_after', 'table.row_after_desc', 'mceTableInsertRowAfter'], + ['row_before', 'table.row_before_desc', 'mceTableInsertRowBefore'], + ['row_props', 'table.row_desc', 'mceTableRowProps', true], + ['cell_props', 'table.cell_desc', 'mceTableCellProps', true], + ['split_cells', 'table.split_cells_desc', 'mceTableSplitCells', true], + ['merge_cells', 'table.merge_cells_desc', 'mceTableMergeCells', true] + ], function(c) { + ed.addButton(c[0], {title : c[1], cmd : c[2], ui : c[3]}); + }); + + // Select whole table is a table border is clicked + if (!tinymce.isIE) { + ed.onClick.add(function(ed, e) { + e = e.target; + + if (e.nodeName === 'TABLE') { + ed.selection.select(e); + ed.nodeChanged(); + } + }); + } + + ed.onPreProcess.add(function(ed, args) { + var nodes, i, node, dom = ed.dom, value; + + nodes = dom.select('table', args.node); + i = nodes.length; + while (i--) { + node = nodes[i]; + dom.setAttrib(node, 'data-mce-style', ''); + + if ((value = dom.getAttrib(node, 'width'))) { + dom.setStyle(node, 'width', value); + dom.setAttrib(node, 'width', ''); + } + + if ((value = dom.getAttrib(node, 'height'))) { + dom.setStyle(node, 'height', value); + dom.setAttrib(node, 'height', ''); + } + } + }); + + // Handle node change updates + ed.onNodeChange.add(function(ed, cm, n) { + var p; + + n = ed.selection.getStart(); + p = ed.dom.getParent(n, 'td,th,caption'); + cm.setActive('table', n.nodeName === 'TABLE' || !!p); + + // Disable table tools if we are in caption + if (p && p.nodeName === 'CAPTION') + p = 0; + + cm.setDisabled('delete_table', !p); + cm.setDisabled('delete_col', !p); + cm.setDisabled('delete_table', !p); + cm.setDisabled('delete_row', !p); + cm.setDisabled('col_after', !p); + cm.setDisabled('col_before', !p); + cm.setDisabled('row_after', !p); + cm.setDisabled('row_before', !p); + cm.setDisabled('row_props', !p); + cm.setDisabled('cell_props', !p); + cm.setDisabled('split_cells', !p); + cm.setDisabled('merge_cells', !p); + }); + + ed.onInit.add(function(ed) { + var startTable, startCell, dom = ed.dom, tableGrid; + + winMan = ed.windowManager; + + // Add cell selection logic + ed.onMouseDown.add(function(ed, e) { + if (e.button != 2) { + cleanup(); + + startCell = dom.getParent(e.target, 'td,th'); + startTable = dom.getParent(startCell, 'table'); + } + }); + + dom.bind(ed.getDoc(), 'mouseover', function(e) { + var sel, table, target = e.target; + + if (startCell && (tableGrid || target != startCell) && (target.nodeName == 'TD' || target.nodeName == 'TH')) { + table = dom.getParent(target, 'table'); + if (table == startTable) { + if (!tableGrid) { + tableGrid = createTableGrid(table); + tableGrid.setStartCell(startCell); + + ed.getBody().style.webkitUserSelect = 'none'; + } + + tableGrid.setEndCell(target); + hasCellSelection = true; + } + + // Remove current selection + sel = ed.selection.getSel(); + + try { + if (sel.removeAllRanges) + sel.removeAllRanges(); + else + sel.empty(); + } catch (ex) { + // IE9 might throw errors here + } + + e.preventDefault(); + } + }); + + ed.onMouseUp.add(function(ed, e) { + var rng, sel = ed.selection, selectedCells, nativeSel = sel.getSel(), walker, node, lastNode, endNode; + + // Move selection to startCell + if (startCell) { + if (tableGrid) + ed.getBody().style.webkitUserSelect = ''; + + function setPoint(node, start) { + var walker = new tinymce.dom.TreeWalker(node, node); + + do { + // Text node + if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) { + if (start) + rng.setStart(node, 0); + else + rng.setEnd(node, node.nodeValue.length); + + return; + } + + // BR element + if (node.nodeName == 'BR') { + if (start) + rng.setStartBefore(node); + else + rng.setEndBefore(node); + + return; + } + } while (node = (start ? walker.next() : walker.prev())); + } + + // Try to expand text selection as much as we can only Gecko supports cell selection + selectedCells = dom.select('td.mceSelected,th.mceSelected'); + if (selectedCells.length > 0) { + rng = dom.createRng(); + node = selectedCells[0]; + endNode = selectedCells[selectedCells.length - 1]; + rng.setStartBefore(node); + rng.setEndAfter(node); + + setPoint(node, 1); + walker = new tinymce.dom.TreeWalker(node, dom.getParent(selectedCells[0], 'table')); + + do { + if (node.nodeName == 'TD' || node.nodeName == 'TH') { + if (!dom.hasClass(node, 'mceSelected')) + break; + + lastNode = node; + } + } while (node = walker.next()); + + setPoint(lastNode); + + sel.setRng(rng); + } + + ed.nodeChanged(); + startCell = tableGrid = startTable = null; + } + }); + + ed.onKeyUp.add(function(ed, e) { + cleanup(); + }); + + ed.onKeyDown.add(function (ed, e) { + fixTableCellSelection(ed); + }); + + ed.onMouseDown.add(function (ed, e) { + if (e.button != 2) { + fixTableCellSelection(ed); + } + }); + function tableCellSelected(ed, rng, n, currentCell) { + // The decision of when a table cell is selected is somewhat involved. The fact that this code is + // required is actually a pointer to the root cause of this bug. A cell is selected when the start + // and end offsets are 0, the start container is a text, and the selection node is either a TR (most cases) + // or the parent of the table (in the case of the selection containing the last cell of a table). + var TEXT_NODE = 3, table = ed.dom.getParent(rng.startContainer, 'TABLE'), + tableParent, allOfCellSelected, tableCellSelection; + if (table) + tableParent = table.parentNode; + allOfCellSelected =rng.startContainer.nodeType == TEXT_NODE && + rng.startOffset == 0 && + rng.endOffset == 0 && + currentCell && + (n.nodeName=="TR" || n==tableParent); + tableCellSelection = (n.nodeName=="TD"||n.nodeName=="TH")&& !currentCell; + return allOfCellSelected || tableCellSelection; + // return false; + } + + // this nasty hack is here to work around some WebKit selection bugs. + function fixTableCellSelection(ed) { + if (!tinymce.isWebKit) + return; + + var rng = ed.selection.getRng(); + var n = ed.selection.getNode(); + var currentCell = ed.dom.getParent(rng.startContainer, 'TD,TH'); + + if (!tableCellSelected(ed, rng, n, currentCell)) + return; + if (!currentCell) { + currentCell=n; + } + + // Get the very last node inside the table cell + var end = currentCell.lastChild; + while (end.lastChild) + end = end.lastChild; + + // Select the entire table cell. Nothing outside of the table cell should be selected. + rng.setEnd(end, end.nodeValue.length); + ed.selection.setRng(rng); + } + ed.plugins.table.fixTableCellSelection=fixTableCellSelection; + + // Add context menu + if (ed && ed.plugins.contextmenu) { + ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) { + var sm, se = ed.selection, el = se.getNode() || ed.getBody(); + + if (ed.dom.getParent(e, 'td') || ed.dom.getParent(e, 'th') || ed.dom.select('td.mceSelected,th.mceSelected').length) { + m.removeAll(); + + if (el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) { + m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true}); + m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'}); + m.addSeparator(); + } + + if (el.nodeName == 'IMG' && el.className.indexOf('mceItem') == -1) { + m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true}); + m.addSeparator(); + } + + m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable', value : {action : 'insert'}}); + m.add({title : 'table.props_desc', icon : 'table_props', cmd : 'mceInsertTable'}); + m.add({title : 'table.del', icon : 'delete_table', cmd : 'mceTableDelete'}); + m.addSeparator(); + + // Cell menu + sm = m.addMenu({title : 'table.cell'}); + sm.add({title : 'table.cell_desc', icon : 'cell_props', cmd : 'mceTableCellProps'}); + sm.add({title : 'table.split_cells_desc', icon : 'split_cells', cmd : 'mceTableSplitCells'}); + sm.add({title : 'table.merge_cells_desc', icon : 'merge_cells', cmd : 'mceTableMergeCells'}); + + // Row menu + sm = m.addMenu({title : 'table.row'}); + sm.add({title : 'table.row_desc', icon : 'row_props', cmd : 'mceTableRowProps'}); + sm.add({title : 'table.row_before_desc', icon : 'row_before', cmd : 'mceTableInsertRowBefore'}); + sm.add({title : 'table.row_after_desc', icon : 'row_after', cmd : 'mceTableInsertRowAfter'}); + sm.add({title : 'table.delete_row_desc', icon : 'delete_row', cmd : 'mceTableDeleteRow'}); + sm.addSeparator(); + sm.add({title : 'table.cut_row_desc', icon : 'cut', cmd : 'mceTableCutRow'}); + sm.add({title : 'table.copy_row_desc', icon : 'copy', cmd : 'mceTableCopyRow'}); + sm.add({title : 'table.paste_row_before_desc', icon : 'paste', cmd : 'mceTablePasteRowBefore'}).setDisabled(!clipboardRows); + sm.add({title : 'table.paste_row_after_desc', icon : 'paste', cmd : 'mceTablePasteRowAfter'}).setDisabled(!clipboardRows); + + // Column menu + sm = m.addMenu({title : 'table.col'}); + sm.add({title : 'table.col_before_desc', icon : 'col_before', cmd : 'mceTableInsertColBefore'}); + sm.add({title : 'table.col_after_desc', icon : 'col_after', cmd : 'mceTableInsertColAfter'}); + sm.add({title : 'table.delete_col_desc', icon : 'delete_col', cmd : 'mceTableDeleteCol'}); + } else + m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable'}); + }); + } + + // Fix to allow navigating up and down in a table in WebKit browsers. + if (tinymce.isWebKit) { + function moveSelection(ed, e) { + var VK = tinymce.VK; + var key = e.keyCode; + + function handle(upBool, sourceNode, event) { + var siblingDirection = upBool ? 'previousSibling' : 'nextSibling'; + var currentRow = ed.dom.getParent(sourceNode, 'tr'); + var siblingRow = currentRow[siblingDirection]; + + if (siblingRow) { + moveCursorToRow(ed, sourceNode, siblingRow, upBool); + tinymce.dom.Event.cancel(event); + return true; + } else { + var tableNode = ed.dom.getParent(currentRow, 'table'); + var middleNode = currentRow.parentNode; + var parentNodeName = middleNode.nodeName.toLowerCase(); + if (parentNodeName === 'tbody' || parentNodeName === (upBool ? 'tfoot' : 'thead')) { + var targetParent = getTargetParent(upBool, tableNode, middleNode, 'tbody'); + if (targetParent !== null) { + return moveToRowInTarget(upBool, targetParent, sourceNode, event); + } + } + return escapeTable(upBool, currentRow, siblingDirection, tableNode, event); + } + } + + function getTargetParent(upBool, topNode, secondNode, nodeName) { + var tbodies = ed.dom.select('>' + nodeName, topNode); + var position = tbodies.indexOf(secondNode); + if (upBool && position === 0 || !upBool && position === tbodies.length - 1) { + return getFirstHeadOrFoot(upBool, topNode); + } else if (position === -1) { + var topOrBottom = secondNode.tagName.toLowerCase() === 'thead' ? 0 : tbodies.length - 1; + return tbodies[topOrBottom]; + } else { + return tbodies[position + (upBool ? -1 : 1)]; + } + } + + function getFirstHeadOrFoot(upBool, parent) { + var tagName = upBool ? 'thead' : 'tfoot'; + var headOrFoot = ed.dom.select('>' + tagName, parent); + return headOrFoot.length !== 0 ? headOrFoot[0] : null; + } + + function moveToRowInTarget(upBool, targetParent, sourceNode, event) { + var targetRow = getChildForDirection(targetParent, upBool); + targetRow && moveCursorToRow(ed, sourceNode, targetRow, upBool); + tinymce.dom.Event.cancel(event); + return true; + } + + function escapeTable(upBool, currentRow, siblingDirection, table, event) { + var tableSibling = table[siblingDirection]; + if (tableSibling) { + moveCursorToStartOfElement(tableSibling); + return true; + } else { + var parentCell = ed.dom.getParent(table, 'td,th'); + if (parentCell) { + return handle(upBool, parentCell, event); + } else { + var backUpSibling = getChildForDirection(currentRow, !upBool); + moveCursorToStartOfElement(backUpSibling); + return tinymce.dom.Event.cancel(event); + } + } + } + + function getChildForDirection(parent, up) { + var child = parent && parent[up ? 'lastChild' : 'firstChild']; + // BR is not a valid table child to return in this case we return the table cell + return child && child.nodeName === 'BR' ? ed.dom.getParent(child, 'td,th') : child; + } + + function moveCursorToStartOfElement(n) { + ed.selection.setCursorLocation(n, 0); + } + + function isVerticalMovement() { + return key == VK.UP || key == VK.DOWN; + } + + function isInTable(ed) { + var node = ed.selection.getNode(); + var currentRow = ed.dom.getParent(node, 'tr'); + return currentRow !== null; + } + + function columnIndex(column) { + var colIndex = 0; + var c = column; + while (c.previousSibling) { + c = c.previousSibling; + colIndex = colIndex + getSpanVal(c, "colspan"); + } + return colIndex; + } + + function findColumn(rowElement, columnIndex) { + var c = 0; + var r = 0; + each(rowElement.children, function(cell, i) { + c = c + getSpanVal(cell, "colspan"); + r = i; + if (c > columnIndex) + return false; + }); + return r; + } + + function moveCursorToRow(ed, node, row, upBool) { + var srcColumnIndex = columnIndex(ed.dom.getParent(node, 'td,th')); + var tgtColumnIndex = findColumn(row, srcColumnIndex); + var tgtNode = row.childNodes[tgtColumnIndex]; + var rowCellTarget = getChildForDirection(tgtNode, upBool); + moveCursorToStartOfElement(rowCellTarget || tgtNode); + } + + function shouldFixCaret(preBrowserNode) { + var newNode = ed.selection.getNode(); + var newParent = ed.dom.getParent(newNode, 'td,th'); + var oldParent = ed.dom.getParent(preBrowserNode, 'td,th'); + return newParent && newParent !== oldParent && checkSameParentTable(newParent, oldParent) + } + + function checkSameParentTable(nodeOne, NodeTwo) { + return ed.dom.getParent(nodeOne, 'TABLE') === ed.dom.getParent(NodeTwo, 'TABLE'); + } + + if (isVerticalMovement() && isInTable(ed)) { + var preBrowserNode = ed.selection.getNode(); + setTimeout(function() { + if (shouldFixCaret(preBrowserNode)) { + handle(!e.shiftKey && key === VK.UP, preBrowserNode, e); + } + }, 0); + } + } + + ed.onKeyDown.add(moveSelection); + } + + // Fixes an issue on Gecko where it's impossible to place the caret behind a table + // This fix will force a paragraph element after the table but only when the forced_root_block setting is enabled + function fixTableCaretPos() { + var last; + + // Skip empty text nodes form the end + for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ; + + if (last && last.nodeName == 'TABLE') { + if (ed.settings.forced_root_block) + ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE ? ' ' : '
    '); + else + ed.dom.add(ed.getBody(), 'br', {'data-mce-bogus': '1'}); + } + }; + + // Fixes an bug where it's impossible to place the caret before a table in Gecko + // this fix solves it by detecting when the caret is at the beginning of such a table + // and then manually moves the caret infront of the table + if (tinymce.isGecko) { + ed.onKeyDown.add(function(ed, e) { + var rng, table, dom = ed.dom; + + // On gecko it's not possible to place the caret before a table + if (e.keyCode == 37 || e.keyCode == 38) { + rng = ed.selection.getRng(); + table = dom.getParent(rng.startContainer, 'table'); + + if (table && ed.getBody().firstChild == table) { + if (isAtStart(rng, table)) { + rng = dom.createRng(); + + rng.setStartBefore(table); + rng.setEndBefore(table); + + ed.selection.setRng(rng); + + e.preventDefault(); + } + } + } + }); + } + + ed.onKeyUp.add(fixTableCaretPos); + ed.onSetContent.add(fixTableCaretPos); + ed.onVisualAid.add(fixTableCaretPos); + + ed.onPreProcess.add(function(ed, o) { + var last = o.node.lastChild; + + if (last && (last.nodeName == "BR" || (last.childNodes.length == 1 && (last.firstChild.nodeName == 'BR' || last.firstChild.nodeValue == '\u00a0'))) && last.previousSibling && last.previousSibling.nodeName == "TABLE") { + ed.dom.remove(last); + } + }); + + + /** + * Fixes bug in Gecko where shift-enter in table cell does not place caret on new line + * + * Removed: Since the new enter logic seems to fix this one. + */ + /* + if (tinymce.isGecko) { + ed.onKeyDown.add(function(ed, e) { + if (e.keyCode === tinymce.VK.ENTER && e.shiftKey) { + var node = ed.selection.getRng().startContainer; + var tableCell = dom.getParent(node, 'td,th'); + if (tableCell) { + var zeroSizedNbsp = ed.getDoc().createTextNode("\uFEFF"); + dom.insertAfter(zeroSizedNbsp, node); + } + } + }); + } + */ + + fixTableCaretPos(); + ed.startContent = ed.getContent({format : 'raw'}); + }); + + // Register action commands + each({ + mceTableSplitCells : function(grid) { + grid.split(); + }, + + mceTableMergeCells : function(grid) { + var rowSpan, colSpan, cell; + + cell = ed.dom.getParent(ed.selection.getNode(), 'th,td'); + if (cell) { + rowSpan = cell.rowSpan; + colSpan = cell.colSpan; + } + + if (!ed.dom.select('td.mceSelected,th.mceSelected').length) { + winMan.open({ + url : url + '/merge_cells.htm', + width : 240 + parseInt(ed.getLang('table.merge_cells_delta_width', 0)), + height : 110 + parseInt(ed.getLang('table.merge_cells_delta_height', 0)), + inline : 1 + }, { + rows : rowSpan, + cols : colSpan, + onaction : function(data) { + grid.merge(cell, data.cols, data.rows); + }, + plugin_url : url + }); + } else + grid.merge(); + }, + + mceTableInsertRowBefore : function(grid) { + grid.insertRow(true); + }, + + mceTableInsertRowAfter : function(grid) { + grid.insertRow(); + }, + + mceTableInsertColBefore : function(grid) { + grid.insertCol(true); + }, + + mceTableInsertColAfter : function(grid) { + grid.insertCol(); + }, + + mceTableDeleteCol : function(grid) { + grid.deleteCols(); + }, + + mceTableDeleteRow : function(grid) { + grid.deleteRows(); + }, + + mceTableCutRow : function(grid) { + clipboardRows = grid.cutRows(); + }, + + mceTableCopyRow : function(grid) { + clipboardRows = grid.copyRows(); + }, + + mceTablePasteRowBefore : function(grid) { + grid.pasteRows(clipboardRows, true); + }, + + mceTablePasteRowAfter : function(grid) { + grid.pasteRows(clipboardRows); + }, + + mceTableDelete : function(grid) { + grid.deleteTable(); + } + }, function(func, name) { + ed.addCommand(name, function() { + var grid = createTableGrid(); + + if (grid) { + func(grid); + ed.execCommand('mceRepaint'); + cleanup(); + } + }); + }); + + // Register dialog commands + each({ + mceInsertTable : function(val) { + winMan.open({ + url : url + '/table.htm', + width : 400 + parseInt(ed.getLang('table.table_delta_width', 0)), + height : 320 + parseInt(ed.getLang('table.table_delta_height', 0)), + inline : 1 + }, { + plugin_url : url, + action : val ? val.action : 0 + }); + }, + + mceTableRowProps : function() { + winMan.open({ + url : url + '/row.htm', + width : 400 + parseInt(ed.getLang('table.rowprops_delta_width', 0)), + height : 295 + parseInt(ed.getLang('table.rowprops_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }, + + mceTableCellProps : function() { + winMan.open({ + url : url + '/cell.htm', + width : 400 + parseInt(ed.getLang('table.cellprops_delta_width', 0)), + height : 295 + parseInt(ed.getLang('table.cellprops_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + } + }, function(func, name) { + ed.addCommand(name, function(ui, val) { + func(val); + }); + }); + } + }); + + // Register plugin + tinymce.PluginManager.add('table', tinymce.plugins.TablePlugin); +})(tinymce); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js new file mode 100644 index 00000000..02ecf22c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/js/cell.js @@ -0,0 +1,319 @@ +tinyMCEPopup.requireLangPack(); + +var ed; + +function init() { + ed = tinyMCEPopup.editor; + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor') + + var inst = ed; + var tdElm = ed.dom.getParent(ed.selection.getStart(), "td,th"); + var formObj = document.forms[0]; + var st = ed.dom.parseStyle(ed.dom.getAttrib(tdElm, "style")); + + // Get table cell data + var celltype = tdElm.nodeName.toLowerCase(); + var align = ed.dom.getAttrib(tdElm, 'align'); + var valign = ed.dom.getAttrib(tdElm, 'valign'); + var width = trimSize(getStyle(tdElm, 'width', 'width')); + var height = trimSize(getStyle(tdElm, 'height', 'height')); + var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor')); + var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor')); + var className = ed.dom.getAttrib(tdElm, 'class'); + var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); + var id = ed.dom.getAttrib(tdElm, 'id'); + var lang = ed.dom.getAttrib(tdElm, 'lang'); + var dir = ed.dom.getAttrib(tdElm, 'dir'); + var scope = ed.dom.getAttrib(tdElm, 'scope'); + + // Setup form + addClassesToList('class', 'table_cell_styles'); + TinyMCE_EditableSelects.init(); + + if (!ed.dom.hasClass(tdElm, 'mceSelected')) { + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.backgroundimage.value = backgroundimage; + formObj.width.value = width; + formObj.height.value = height; + formObj.id.value = id; + formObj.lang.value = lang; + formObj.style.value = ed.dom.serializeStyle(st); + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'valign', valign); + selectByValue(formObj, 'class', className, true, true); + selectByValue(formObj, 'celltype', celltype); + selectByValue(formObj, 'dir', dir); + selectByValue(formObj, 'scope', scope); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); + } else + tinyMCEPopup.dom.hide('action'); +} + +function updateAction() { + var el, inst = ed, tdElm, trElm, tableElm, formObj = document.forms[0]; + + if (!AutoValidator.validate(formObj)) { + tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.'); + return false; + } + + tinyMCEPopup.restoreSelection(); + el = ed.selection.getStart(); + tdElm = ed.dom.getParent(el, "td,th"); + trElm = ed.dom.getParent(el, "tr"); + tableElm = ed.dom.getParent(el, "table"); + + // Cell is selected + if (ed.dom.hasClass(tdElm, 'mceSelected')) { + // Update all selected sells + tinymce.each(ed.dom.select('td.mceSelected,th.mceSelected'), function(td) { + updateCell(td); + }); + + ed.addVisual(); + ed.nodeChanged(); + inst.execCommand('mceEndUndoLevel'); + tinyMCEPopup.close(); + return; + } + + switch (getSelectValue(formObj, 'action')) { + case "cell": + var celltype = getSelectValue(formObj, 'celltype'); + var scope = getSelectValue(formObj, 'scope'); + + function doUpdate(s) { + if (s) { + updateCell(tdElm); + + ed.addVisual(); + ed.nodeChanged(); + inst.execCommand('mceEndUndoLevel'); + tinyMCEPopup.close(); + } + }; + + if (ed.getParam("accessibility_warnings", 1)) { + if (celltype == "th" && scope == "") + tinyMCEPopup.confirm(ed.getLang('table_dlg.missing_scope', '', true), doUpdate); + else + doUpdate(1); + + return; + } + + updateCell(tdElm); + break; + + case "row": + var cell = trElm.firstChild; + + if (cell.nodeName != "TD" && cell.nodeName != "TH") + cell = nextCell(cell); + + do { + cell = updateCell(cell, true); + } while ((cell = nextCell(cell)) != null); + + break; + + case "col": + var curr, col = 0, cell = trElm.firstChild, rows = tableElm.getElementsByTagName("tr"); + + if (cell.nodeName != "TD" && cell.nodeName != "TH") + cell = nextCell(cell); + + do { + if (cell == tdElm) + break; + col += cell.getAttribute("colspan")?cell.getAttribute("colspan"):1; + } while ((cell = nextCell(cell)) != null); + + for (var i=0; i 0) { + tinymce.each(tableElm.rows, function(tr) { + var i; + + for (i = 0; i < tr.cells.length; i++) { + if (dom.hasClass(tr.cells[i], 'mceSelected')) { + updateRow(tr, true); + return; + } + } + }); + + inst.addVisual(); + inst.nodeChanged(); + inst.execCommand('mceEndUndoLevel'); + tinyMCEPopup.close(); + return; + } + + switch (action) { + case "row": + updateRow(trElm); + break; + + case "all": + var rows = tableElm.getElementsByTagName("tr"); + + for (var i=0; i colLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit)); + return false; + } else if (rowLimit && rows > rowLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit)); + return false; + } else if (cellLimit && cols * rows > cellLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit)); + return false; + } + + // Update table + if (action == "update") { + dom.setAttrib(elm, 'cellPadding', cellpadding, true); + dom.setAttrib(elm, 'cellSpacing', cellspacing, true); + + if (!isCssSize(border)) { + dom.setAttrib(elm, 'border', border); + } else { + dom.setAttrib(elm, 'border', ''); + } + + if (border == '') { + dom.setStyle(elm, 'border-width', ''); + dom.setStyle(elm, 'border', ''); + dom.setAttrib(elm, 'border', ''); + } + + dom.setAttrib(elm, 'align', align); + dom.setAttrib(elm, 'frame', frame); + dom.setAttrib(elm, 'rules', rules); + dom.setAttrib(elm, 'class', className); + dom.setAttrib(elm, 'style', style); + dom.setAttrib(elm, 'id', id); + dom.setAttrib(elm, 'summary', summary); + dom.setAttrib(elm, 'dir', dir); + dom.setAttrib(elm, 'lang', lang); + + capEl = inst.dom.select('caption', elm)[0]; + + if (capEl && !caption) + capEl.parentNode.removeChild(capEl); + + if (!capEl && caption) { + capEl = elm.ownerDocument.createElement('caption'); + + if (!tinymce.isIE) + capEl.innerHTML = '
    '; + + elm.insertBefore(capEl, elm.firstChild); + } + + if (width && inst.settings.inline_styles) { + dom.setStyle(elm, 'width', width); + dom.setAttrib(elm, 'width', ''); + } else { + dom.setAttrib(elm, 'width', width, true); + dom.setStyle(elm, 'width', ''); + } + + // Remove these since they are not valid XHTML + dom.setAttrib(elm, 'borderColor', ''); + dom.setAttrib(elm, 'bgColor', ''); + dom.setAttrib(elm, 'background', ''); + + if (height && inst.settings.inline_styles) { + dom.setStyle(elm, 'height', height); + dom.setAttrib(elm, 'height', ''); + } else { + dom.setAttrib(elm, 'height', height, true); + dom.setStyle(elm, 'height', ''); + } + + if (background != '') + elm.style.backgroundImage = "url('" + background + "')"; + else + elm.style.backgroundImage = ''; + +/* if (tinyMCEPopup.getParam("inline_styles")) { + if (width != '') + elm.style.width = getCSSSize(width); + }*/ + + if (bordercolor != "") { + elm.style.borderColor = bordercolor; + elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle; + elm.style.borderWidth = cssSize(border); + } else + elm.style.borderColor = ''; + + elm.style.backgroundColor = bgcolor; + elm.style.height = getCSSSize(height); + + inst.addVisual(); + + // Fix for stange MSIE align bug + //elm.outerHTML = elm.outerHTML; + + inst.nodeChanged(); + inst.execCommand('mceEndUndoLevel', false, {}, {skip_undo: true}); + + // Repaint if dimensions changed + if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight) + inst.execCommand('mceRepaint'); + + tinyMCEPopup.close(); + return true; + } + + // Create new table + html += ''); + + tinymce.each('h1,h2,h3,h4,h5,h6,p'.split(','), function(n) { + if (patt) + patt += ','; + + patt += n + ' ._mce_marker'; + }); + + tinymce.each(inst.dom.select(patt), function(n) { + inst.dom.split(inst.dom.getParent(n, 'h1,h2,h3,h4,h5,h6,p'), n); + }); + + dom.setOuterHTML(dom.select('br._mce_marker')[0], html); + } else + inst.execCommand('mceInsertContent', false, html); + + tinymce.each(dom.select('table[data-mce-new]'), function(node) { + var tdorth = dom.select('td,th', node); + + // Fixes a bug in IE where the caret cannot be placed after the table if the table is at the end of the document + if (tinymce.isIE && node.nextSibling == null) { + if (inst.settings.forced_root_block) + dom.insertAfter(dom.create(inst.settings.forced_root_block), node); + else + dom.insertAfter(dom.create('br', {'data-mce-bogus': '1'}), node); + } + + try { + // IE9 might fail to do this selection + inst.selection.setCursorLocation(tdorth[0], 0); + } catch (ex) { + // Ignore + } + + dom.setAttrib(node, 'data-mce-new', ''); + }); + + inst.addVisual(); + inst.execCommand('mceEndUndoLevel', false, {}, {skip_undo: true}); + + tinyMCEPopup.close(); +} + +function makeAttrib(attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value == "") + return ""; + + // XML encode it + value = value.replace(/&/g, '&'); + value = value.replace(/\"/g, '"'); + value = value.replace(//g, '>'); + + return ' ' + attrib + '="' + value + '"'; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + + var cols = 2, rows = 2, border = tinyMCEPopup.getParam('table_default_border', '0'), cellpadding = tinyMCEPopup.getParam('table_default_cellpadding', ''), cellspacing = tinyMCEPopup.getParam('table_default_cellspacing', ''); + var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; + var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "", rules = "", frame = ""; + var inst = tinyMCEPopup.editor, dom = inst.dom; + var formObj = document.forms[0]; + var elm = dom.getParent(inst.selection.getNode(), "table"); + + // Hide advanced fields that isn't available in the schema + tinymce.each("summary id rules dir style frame".split(" "), function(name) { + var tr = tinyMCEPopup.dom.getParent(name, "tr") || tinyMCEPopup.dom.getParent("t" + name, "tr"); + + if (tr && !tinyMCEPopup.editor.schema.isValid("table", name)) { + tr.style.display = 'none'; + } + }); + + action = tinyMCEPopup.getWindowArg('action'); + + if (!action) + action = elm ? "update" : "insert"; + + if (elm && action != "insert") { + var rowsAr = elm.rows; + var cols = 0; + for (var i=0; i cols) + cols = rowsAr[i].cells.length; + + cols = cols; + rows = rowsAr.length; + + st = dom.parseStyle(dom.getAttrib(elm, "style")); + border = trimSize(getStyle(elm, 'border', 'borderWidth')); + cellpadding = dom.getAttrib(elm, 'cellpadding', ""); + cellspacing = dom.getAttrib(elm, 'cellspacing', ""); + width = trimSize(getStyle(elm, 'width', 'width')); + height = trimSize(getStyle(elm, 'height', 'height')); + bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); + bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); + align = dom.getAttrib(elm, 'align', align); + frame = dom.getAttrib(elm, 'frame'); + rules = dom.getAttrib(elm, 'rules'); + className = tinymce.trim(dom.getAttrib(elm, 'class').replace(/mceItem.+/g, '')); + id = dom.getAttrib(elm, 'id'); + summary = dom.getAttrib(elm, 'summary'); + style = dom.serializeStyle(st); + dir = dom.getAttrib(elm, 'dir'); + lang = dom.getAttrib(elm, 'lang'); + background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); + formObj.caption.checked = elm.getElementsByTagName('caption').length > 0; + + orgTableWidth = width; + orgTableHeight = height; + + action = "update"; + formObj.insert.value = inst.getLang('update'); + } + + addClassesToList('class', "table_styles"); + TinyMCE_EditableSelects.init(); + + // Update form + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'tframe', frame); + selectByValue(formObj, 'rules', rules); + selectByValue(formObj, 'class', className, true, true); + formObj.cols.value = cols; + formObj.rows.value = rows; + formObj.border.value = border; + formObj.cellpadding.value = cellpadding; + formObj.cellspacing.value = cellspacing; + formObj.width.value = width; + formObj.height.value = height; + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.id.value = id; + formObj.summary.value = summary; + formObj.style.value = style; + formObj.dir.value = dir; + formObj.lang.value = lang; + formObj.backgroundimage.value = background; + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + // Disable some fields in update mode + if (action == "update") { + formObj.cols.disabled = true; + formObj.rows.disabled = true; + } +} + +function changedSize() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + +/* var width = formObj.width.value; + if (width != "") + st['width'] = tinyMCEPopup.getParam("inline_styles") ? getCSSSize(width) : ""; + else + st['width'] = "";*/ + + var height = formObj.height.value; + if (height != "") + st['height'] = getCSSSize(height); + else + st['height'] = ""; + + formObj.style.value = dom.serializeStyle(st); +} + +function isCssSize(value) { + return /^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)$/.test(value); +} + +function cssSize(value, def) { + value = tinymce.trim(value || def); + + if (!isCssSize(value)) { + return parseInt(value, 10) + 'px'; + } + + return value; +} + +function changedBackgroundImage() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; + + formObj.style.value = dom.serializeStyle(st); +} + +function changedBorder() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + // Update border width if the element has a color + if (formObj.border.value != "" && (isCssSize(formObj.border.value) || formObj.bordercolor.value != "")) + st['border-width'] = cssSize(formObj.border.value); + else { + if (!formObj.border.value) { + st['border'] = ''; + st['border-width'] = ''; + } + } + + formObj.style.value = dom.serializeStyle(st); +} + +function changedColor() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + st['background-color'] = formObj.bgcolor.value; + + if (formObj.bordercolor.value != "") { + st['border-color'] = formObj.bordercolor.value; + + // Add border-width if it's missing + if (!st['border-width']) + st['border-width'] = cssSize(formObj.border.value, 1); + } + + formObj.style.value = dom.serializeStyle(st); +} + +function changedStyle() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + if (st['background-image']) + formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); + else + formObj.backgroundimage.value = ''; + + if (st['width']) + formObj.width.value = trimSize(st['width']); + + if (st['height']) + formObj.height.value = trimSize(st['height']); + + if (st['background-color']) { + formObj.bgcolor.value = st['background-color']; + updateColor('bgcolor_pick','bgcolor'); + } + + if (st['border-color']) { + formObj.bordercolor.value = st['border-color']; + updateColor('bordercolor_pick','bordercolor'); + } +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js new file mode 100644 index 00000000..1498c148 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.table_dlg',{"rules_border":"alle 4 Seiten (Border)","rules_box":"alle 4 Seiten (Box)","rules_vsides":"links und rechts","rules_rhs":"nur rechts","rules_lhs":"nur links","rules_hsides":"oben und unten","rules_below":"nur unten","rules_above":"nur oben","rules_void":"keins",rules:"Gitter","frame_all":"zwischen allen Zellen","frame_cols":"zwischen Spalten","frame_rows":"zwischen Zeilen","frame_groups":"zwischen Gruppen","frame_none":"keine",frame:"Rahmen",caption:"Beschriftung der Tabelle","missing_scope":"Soll f\u00fcr diese \u00dcberschrift wirklich kein Bereich angegeben werden? Benutzer mit k\u00f6rperlichen Einschr\u00e4nkungen k\u00f6nnten Schwierigkeiten haben, den Inhalt der Tabelle zu verstehen.","cell_limit":"Die maximale Zellenzahl von {$cells} wurde \u00fcberschritten.","row_limit":"Die maximale Zeilenzahl von {$rows} wurde \u00fcberschritten.","col_limit":"Die maximale Spaltenzahl von {$cols} wurde \u00fcberschritten.",colgroup:"Horizontal gruppieren",rowgroup:"Vertikal gruppieren",scope:"Bezug",tfoot:"Tabellenfu\u00df",tbody:"Tabelleninhalt",thead:"Tabellenkopf","row_all":"Alle Zeilen ver\u00e4ndern","row_even":"Gerade Zeilen ver\u00e4ndern","row_odd":"Ungerade Zeilen ver\u00e4ndern","row_row":"Diese Zeile ver\u00e4ndern","cell_all":"Alle Zellen der Tabelle ver\u00e4ndern","cell_row":"Alle Zellen in dieser Zeile ver\u00e4ndern","cell_cell":"Diese Zelle ver\u00e4ndern",th:"\u00dcberschrift",td:"Textzelle",summary:"Zusammenfassung",bgimage:"Hintergrundbild",rtl:"Rechts nach links",ltr:"Links nach rechts",mime:"MIME-Type des Inhalts",langcode:"Sprachcode",langdir:"Schriftrichtung",style:"Format",id:"ID","merge_cells_title":"Zellen vereinen",bgcolor:"Hintergrundfarbe",bordercolor:"Rahmenfarbe","align_bottom":"Unten","align_top":"Oben",valign:"Vertikale Ausrichtung","cell_type":"Zellentyp","cell_title":"Eigenschaften der Zelle","row_title":"Eigenschaften der Zeile","align_middle":"Mittig","align_right":"Rechts","align_left":"Links","align_default":"Standard",align:"Ausrichtung",border:"Rahmen",cellpadding:"Abstand innerhalb der Zellen",cellspacing:"Zellenabstand",rows:"Zeilen",cols:"Spalten",height:"H\u00f6he",width:"Breite",title:"Tabelle einf\u00fcgen/bearbeiten",rowtype:"Gruppierung","advanced_props":"Erweiterte Einstellungen","general_props":"Allgemeine Einstellungen","advanced_tab":"Erweitert","general_tab":"Allgemein","cell_col":"Alle Zellen in dieser Spalte aktualisieren"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js new file mode 100644 index 00000000..463e09ee --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.table_dlg',{"rules_border":"border","rules_box":"box","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"below","rules_above":"above","rules_void":"void",rules:"Rules","frame_all":"all","frame_cols":"cols","frame_rows":"rows","frame_groups":"groups","frame_none":"none",frame:"Frame",caption:"Table Caption","missing_scope":"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.","cell_limit":"You\'ve exceeded the maximum number of cells of {$cells}.","row_limit":"You\'ve exceeded the maximum number of rows of {$rows}.","col_limit":"You\'ve exceeded the maximum number of columns of {$cols}.",colgroup:"Col Group",rowgroup:"Row Group",scope:"Scope",tfoot:"Footer",tbody:"Body",thead:"Header","row_all":"Update All Rows in Table","row_even":"Update Even Rows in Table","row_odd":"Update Odd Rows in Table","row_row":"Update Current Row","cell_all":"Update All Cells in Table","cell_row":"Update All Cells in Row","cell_cell":"Update Current Cell",th:"Header",td:"Data",summary:"Summary",bgimage:"Background Image",rtl:"Right to Left",ltr:"Left to Right",mime:"Target MIME Type",langcode:"Language Code",langdir:"Language Direction",style:"Style",id:"ID","merge_cells_title":"Merge Table Cells",bgcolor:"Background Color",bordercolor:"Border Color","align_bottom":"Bottom","align_top":"Top",valign:"Vertical Alignment","cell_type":"Cell Type","cell_title":"Table Cell Properties","row_title":"Table Row Properties","align_middle":"Center","align_right":"Right","align_left":"Left","align_default":"Default",align:"Alignment",border:"Border",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",rows:"Rows",cols:"Columns",height:"Height",width:"Width",title:"Insert/Edit Table",rowtype:"Row Type","advanced_props":"Advanced Properties","general_props":"General Properties","advanced_tab":"Advanced","general_tab":"General","cell_col":"Update all cells in column"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js new file mode 100644 index 00000000..1dd89fdb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.table_dlg',{"rules_border":"keret","rules_box":"doboz","rules_vsides":"f. oldalak","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"v. oldalak","rules_below":"alatta","rules_above":"f\u00f6l\u00f6tte","rules_void":"sehol/\u00fcres",rules:"Vonalak","frame_all":"mind","frame_cols":"oszlopok","frame_rows":"sorok","frame_groups":"csoportok","frame_none":"nincs",frame:"Keret",caption:"C\u00edmsor","missing_scope":"Biztosan folytatni akarja an\u00e9lk\u00fcl, hogy hat\u00f3k\u00f6rt adna ennek a fejl\u00e9ccell\u00e1nak? Korl\u00e1toz\u00e1sokkal \u00e9l\u0151k sz\u00e1m\u00e1ra neh\u00e9z lesz meg\u00e9rteni a t\u00e1bl\u00e1zat tartalm\u00e1t.","cell_limit":"T\u00fall\u00e9pte a maxim\u00e1lis cellasz\u00e1mot, ami {$cells}.","row_limit":"T\u00fall\u00e9pte a maxim\u00e1lis sorsz\u00e1mot, ami {$rows}.","col_limit":"T\u00fall\u00e9pte a maxim\u00e1lis oszlopsz\u00e1mot, ami {$cols}.",colgroup:"Oszlop csoport",rowgroup:"Sor csoport",scope:"Hat\u00f3k\u00f6r",tfoot:"T\u00e1bl\u00e1zat l\u00e1bl\u00e9c",tbody:"T\u00e1bl\u00e1zat tartalom",thead:"T\u00e1bl\u00e1zat fejl\u00e9c","row_all":"Minden sor friss\u00edt\u00e9se","row_even":"P\u00e1ros sorok friss\u00edt\u00e9se","row_odd":"P\u00e1ratlan sorok friss\u00edt\u00e9se","row_row":"Sor friss\u00edt\u00e9se","cell_all":"T\u00e1bl\u00e1zat \u00f6sszes cell\u00e1j\u00e1nak friss\u00edt\u00e9se","cell_row":"Sor \u00f6sszes cell\u00e1j\u00e1nak friss\u00edt\u00e9se","cell_cell":"Cella friss\u00edt\u00e9se",th:"Fejl\u00e9c",td:"Adat",summary:"\u00d6sszegz\u00e9s",bgimage:"H\u00e1tt\u00e9rk\u00e9p",rtl:"Jobbr\u00f3l balra",ltr:"Balr\u00f3l jobbra",mime:"C\u00e9l MIME t\u00edpus",langcode:"Nyelvk\u00f3d",langdir:"\u00cdr\u00e1s ir\u00e1ny",style:"St\u00edlus",id:"ID","merge_cells_title":"Cell\u00e1k Egyes\u00edt\u00e9se",bgcolor:"H\u00e1tt\u00e9rsz\u00edn",bordercolor:"Keretsz\u00edn","align_bottom":"Le","align_top":"Fel",valign:"F\u00fcgg\u0151leges igaz\u00edt\u00e1s","cell_type":"Cellat\u00edpus","cell_title":"Cella tulajdons\u00e1gai","row_title":"Sor tulajdons\u00e1gai","align_middle":"K\u00f6z\u00e9pre","align_right":"Jobbra","align_left":"Balra","align_default":"Alap\u00e9rtelmezett",align:"Igaz\u00edt\u00e1s",border:"Keret",cellpadding:"Cella bels\u0151 marg\u00f3",cellspacing:"Cella t\u00e1vols\u00e1g",rows:"Sorok",cols:"Oszlopok",height:"Magass\u00e1g",width:"Sz\u00e9less\u00e9g",title:"T\u00e1bl\u00e1zat besz\u00far\u00e1sa/szerkeszt\u00e9se",rowtype:"Sor a t\u00e1bl\u00e1ban","advanced_props":"Halad\u00f3 tulajdons\u00e1gok","general_props":"\u00c1ltal\u00e1nos tulajdons\u00e1gok","advanced_tab":"Halad\u00f3","general_tab":"\u00c1ltal\u00e1nos","cell_col":"\u00d6sszes cella friss\u00edt\u00e9se az oszlopban"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js new file mode 100644 index 00000000..ad335864 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.table_dlg',{"rules_border":"\u67a0\u7dda(\u4e0a\u4e0b\u5de6\u53f3)","rules_box":"\u30dc\u30c3\u30af\u30b9(\u4e0a\u4e0b\u5de6\u53f3)","rules_vsides":"\u5de6\u53f3\u306e\u7e26\u7dda","rules_rhs":"\u53f3\u306e\u7e26\u7dda","rules_lhs":"\u5de6\u306e\u7e26\u7dda","rules_hsides":"\u4e0a\u4e0b\u306e\u6a2a\u7dda","rules_below":"\u4e0b\u306e\u6a2a\u7dda","rules_above":"\u4e0a\u306e\u6a2a\u7dda","rules_void":"\u306a\u3057",rules:"\u8868\u306e\u5916\u67a0","frame_all":"\u3059\u3079\u3066","frame_cols":"\u5217","frame_rows":"\u884c","frame_groups":"\u30b0\u30eb\u30fc\u30d7\u6bce","frame_none":"\u306a\u3057",frame:"\u30bb\u30eb\u306e\u67a0",caption:"\u8868\u306e\u898b\u51fa\u3057","missing_scope":"\u3053\u306e\u8868\u306e\u30d8\u30c3\u30c0\u30fc\u306e\u30bb\u30eb\u306e\u7bc4\u56f2\u3092\u8a2d\u5b9a\u3057\u306a\u3044\u3067\u672c\u5f53\u306b\u7d9a\u3051\u307e\u3059\u304b? \u3053\u306e\u307e\u307e\u3067\u306f\u76ee\u306e\u4e0d\u81ea\u7531\u306a\u65b9\u304c\u8868\u306e\u5185\u5bb9\u3084\u8868\u793a\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3092\u7406\u89e3\u3059\u308b\u306e\u304c\u56f0\u96e3\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002","cell_limit":"\u30bb\u30eb\u306e\u6700\u5927\u6570\u306e${cells}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002","row_limit":"\u884c\u306e\u6700\u5927\u6570\u306e${rows}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002","col_limit":"\u5217\u306e\u6700\u5927\u6570\u306e${cols}\u3092\u8d85\u3048\u307e\u3057\u305f\u3002",colgroup:"\u5217\u30b0\u30eb\u30fc\u30d7",rowgroup:"\u884c\u30b0\u30eb\u30fc\u30d7",scope:"\u30b9\u30b3\u30fc\u30d7",tfoot:"\u8868\u306e\u30d5\u30c3\u30bf\u30fc",tbody:"\u8868\u306e\u30dc\u30c7\u30a3",thead:"\u8868\u306e\u30d8\u30c3\u30c0\u30fc","row_all":"\u3059\u3079\u3066\u306e\u884c\u3092\u66f4\u65b0","row_even":"\u5076\u6570\u884c\u3092\u66f4\u65b0","row_odd":"\u5947\u6570\u884c\u3092\u66f4\u65b0","row_row":"\u9078\u629e\u3057\u3066\u3044\u308b\u884c\u3092\u66f4\u65b0","cell_all":"\u3059\u3079\u3066\u306e\u30bb\u30eb\u3092\u66f4\u65b0","cell_row":"\u884c\u5185\u306e\u30bb\u30eb\u3092\u66f4\u65b0","cell_cell":"\u9078\u629e\u3057\u3066\u3044\u308b\u30bb\u30eb\u3092\u66f4\u65b0",th:"\u30d8\u30c3\u30c0\u30fc",td:"\u30c7\u30fc\u30bf",summary:"\u30b5\u30de\u30ea\u30fc",bgimage:"\u80cc\u666f\u306e\u753b\u50cf",rtl:"\u53f3\u304b\u3089\u5de6",ltr:"\u5de6\u304b\u3089\u53f3",mime:"\u30bf\u30fc\u30b2\u30c3\u30c8\u306eMIME\u30bf\u30a4\u30d7",langcode:"\u8a00\u8a9e\u30b3\u30fc\u30c9",langdir:"\u6587\u7ae0\u306e\u65b9\u5411",style:"\u30b9\u30bf\u30a4\u30eb",id:"ID","merge_cells_title":"\u30bb\u30eb\u3092\u7d50\u5408",bgcolor:"\u80cc\u666f\u306e\u8272",bordercolor:"\u67a0\u7dda\u306e\u8272","align_bottom":"\u4e0b\u63c3\u3048","align_top":"\u4e0a\u63c3\u3048",valign:"\u5782\u76f4\u65b9\u5411\u306e\u914d\u7f6e","cell_type":"\u30bb\u30eb\u306e\u7a2e\u985e","cell_title":"\u30bb\u30eb\u306e\u5c5e\u6027","row_title":"\u884c\u306e\u5c5e\u6027","align_middle":"\u4e2d\u592e\u63c3\u3048","align_right":"\u53f3\u63c3\u3048","align_left":"\u5de6\u63c3\u3048","align_default":"\u521d\u671f\u72b6\u614b",align:"\u914d\u7f6e",border:"\u67a0\u7dda",cellpadding:"\u30bb\u30eb\u306e\u30d1\u30c7\u30a3\u30f3\u30b0(cellpadding)",cellspacing:"\u30bb\u30eb\u306e\u9593\u9694(cellspacing)",rows:"\u884c",cols:"\u5217",height:"\u9ad8\u3055",width:"\u5e45",title:"\u8868\u306e\u633f\u5165\u3084\u7de8\u96c6",rowtype:"\u884c","advanced_props":"\u9ad8\u5ea6\u306a\u5c5e\u6027","general_props":"\u4e00\u822c\u7684\u306a\u5c5e\u6027","advanced_tab":"\u9ad8\u5ea6","general_tab":"\u4e00\u822c","cell_col":"\u3059\u3079\u3066\u306e\u30bb\u30eb\u3092\u66f4\u65b0"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm new file mode 100755 index 00000000..d231090e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/merge_cells.htm @@ -0,0 +1,32 @@ + + + + {#table_dlg.merge_cells_title} + + + + + + +
    +
    + {#table_dlg.merge_cells_title} + + + + + + + + + +
    :
    :
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm new file mode 100755 index 00000000..1885401f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/row.htm @@ -0,0 +1,158 @@ + + + + {#table_dlg.row_title} + + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + + +
     
    +
    +
    +
    +
    +
    + +
    +
    + +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm new file mode 100755 index 00000000..b92fa741 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/table/table.htm @@ -0,0 +1,188 @@ + + + + {#table_dlg.title} + + + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + +
     
    +
    + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm new file mode 100755 index 00000000..ecde53fa --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/blank.htm @@ -0,0 +1,12 @@ + + + blank_page + + + + + + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css new file mode 100755 index 00000000..2d23a493 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/css/template.css @@ -0,0 +1,23 @@ +#frmbody { + padding: 10px; + background-color: #FFF; + border: 1px solid #CCC; +} + +.frmRow { + margin-bottom: 10px; +} + +#templatesrc { + border: none; + width: 320px; + height: 240px; +} + +.title { + padding-bottom: 5px; +} + +.mceActionPanel { + padding-top: 5px; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js new file mode 100755 index 00000000..ebe3c27d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/editor_plugin.js @@ -0,0 +1 @@ +(function(){var a=tinymce.each;tinymce.create("tinymce.plugins.TemplatePlugin",{init:function(b,c){var d=this;d.editor=b;b.addCommand("mceTemplate",function(e){b.windowManager.open({file:c+"/template.htm",width:b.getParam("template_popup_width",750),height:b.getParam("template_popup_height",600),inline:1},{plugin_url:c})});b.addCommand("mceInsertTemplate",d._insertTemplate,d);b.addButton("template",{title:"template.desc",cmd:"mceTemplate"});b.onPreProcess.add(function(e,g){var f=e.dom;a(f.select("div",g.node),function(h){if(f.hasClass(h,"mceTmpl")){a(f.select("*",h),function(i){if(f.hasClass(i,e.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){i.innerHTML=d._getDateTime(new Date(),e.getParam("template_mdate_format",e.getLang("template.mdate_format")))}});d._replaceVals(h)}})})},getInfo:function(){return{longname:"Template plugin",author:"Moxiecode Systems AB",authorurl:"http://www.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_insertTemplate:function(i,j){var k=this,g=k.editor,f,c,d=g.dom,b=g.selection.getContent();f=j.content;a(k.editor.getParam("template_replace_values"),function(l,h){if(typeof(l)!="function"){f=f.replace(new RegExp("\\{\\$"+h+"\\}","g"),l)}});c=d.create("div",null,f);n=d.select(".mceTmpl",c);if(n&&n.length>0){c=d.create("div",null);c.appendChild(n[0].cloneNode(true))}function e(l,h){return new RegExp("\\b"+h+"\\b","g").test(l.className)}a(d.select("*",c),function(h){if(e(h,g.getParam("template_cdate_classes","cdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_cdate_format",g.getLang("template.cdate_format")))}if(e(h,g.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_mdate_format",g.getLang("template.mdate_format")))}if(e(h,g.getParam("template_selected_content_classes","selcontent").replace(/\s+/g,"|"))){h.innerHTML=b}});k._replaceVals(c);g.execCommand("mceInsertContent",false,c.innerHTML);g.addVisual()},_replaceVals:function(c){var d=this.editor.dom,b=this.editor.getParam("template_replace_values");a(d.select("*",c),function(f){a(b,function(g,e){if(d.hasClass(f,e)){if(typeof(b[e])=="function"){b[e](f)}}})})},_getDateTime:function(e,b){if(!b){return""}function c(g,d){var f;g=""+g;if(g.length 0) { + el = dom.create('div', null); + el.appendChild(n[0].cloneNode(true)); + } + + function hasClass(n, c) { + return new RegExp('\\b' + c + '\\b', 'g').test(n.className); + }; + + each(dom.select('*', el), function(n) { + // Replace cdate + if (hasClass(n, ed.getParam('template_cdate_classes', 'cdate').replace(/\s+/g, '|'))) + n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_cdate_format", ed.getLang("template.cdate_format"))); + + // Replace mdate + if (hasClass(n, ed.getParam('template_mdate_classes', 'mdate').replace(/\s+/g, '|'))) + n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format"))); + + // Replace selection + if (hasClass(n, ed.getParam('template_selected_content_classes', 'selcontent').replace(/\s+/g, '|'))) + n.innerHTML = sel; + }); + + t._replaceVals(el); + + ed.execCommand('mceInsertContent', false, el.innerHTML); + ed.addVisual(); + }, + + _replaceVals : function(e) { + var dom = this.editor.dom, vl = this.editor.getParam('template_replace_values'); + + each(dom.select('*', e), function(e) { + each(vl, function(v, k) { + if (dom.hasClass(e, k)) { + if (typeof(vl[k]) == 'function') + vl[k](e); + } + }); + }); + }, + + _getDateTime : function(d, fmt) { + if (!fmt) + return ""; + + function addZeros(value, len) { + var i; + + value = "" + value; + + if (value.length < len) { + for (i=0; i<(len-value.length); i++) + value = "0" + value; + } + + return value; + } + + fmt = fmt.replace("%D", "%m/%d/%y"); + fmt = fmt.replace("%r", "%I:%M:%S %p"); + fmt = fmt.replace("%Y", "" + d.getFullYear()); + fmt = fmt.replace("%y", "" + d.getYear()); + fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2)); + fmt = fmt.replace("%d", addZeros(d.getDate(), 2)); + fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2)); + fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2)); + fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2)); + fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1)); + fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM")); + fmt = fmt.replace("%B", "" + this.editor.getLang("template_months_long").split(',')[d.getMonth()]); + fmt = fmt.replace("%b", "" + this.editor.getLang("template_months_short").split(',')[d.getMonth()]); + fmt = fmt.replace("%A", "" + this.editor.getLang("template_day_long").split(',')[d.getDay()]); + fmt = fmt.replace("%a", "" + this.editor.getLang("template_day_short").split(',')[d.getDay()]); + fmt = fmt.replace("%%", "%"); + + return fmt; + } + }); + + // Register plugin + tinymce.PluginManager.add('template', tinymce.plugins.TemplatePlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js new file mode 100644 index 00000000..bc3045d2 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/template/js/template.js @@ -0,0 +1,106 @@ +tinyMCEPopup.requireLangPack(); + +var TemplateDialog = { + preInit : function() { + var url = tinyMCEPopup.getParam("template_external_list_url"); + + if (url != null) + document.write(''); + }, + + init : function() { + var ed = tinyMCEPopup.editor, tsrc, sel, x, u; + + tsrc = ed.getParam("template_templates", false); + sel = document.getElementById('tpath'); + + // Setup external template list + if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') { + for (x=0, tsrc = []; x'); + }); + }, + + selectTemplate : function(u, ti) { + var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc; + + if (!u) + return; + + d.body.innerHTML = this.templateHTML = this.getFileContents(u); + + for (x=0; x + + {#template_dlg.title} + + + + + +
    +
    +
    {#template_dlg.desc}
    +
    + +
    +
    +
    +
    + {#template_dlg.preview} + +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css new file mode 100644 index 00000000..76bc92b5 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/css/visualblocks.css @@ -0,0 +1,21 @@ +p, h1, h2, h3, h4, h5, h6, hgroup, aside, div, section, article, blockquote, address, pre, figure {display: block; padding-top: 10px; border: 1px dashed #BBB; background: transparent no-repeat} +p, h1, h2, h3, h4, h5, h6, hgroup, aside, div, section, article, address, pre, figure {margin-left: 3px} +section, article, address, hgroup, aside, figure {margin: 0 0 1em 3px} + +p {background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)} +h1 {background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)} +h2 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)} +h3 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)} +h4 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)} +h5 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)} +h6 {background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)} +div {background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)} +section {background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)} +article {background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)} +blockquote {background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)} +address {background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)} +pre {background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)} +hgroup {background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)} +aside {background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)} +figure {background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)} +figcaption {border: 1px dashed #BBB} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js new file mode 100644 index 00000000..c65eaf2b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.VisualBlocks",{init:function(a,b){var c;if(!window.NodeList){return}a.addCommand("mceVisualBlocks",function(){var e=a.dom,d;if(!c){c=e.uniqueId();d=e.create("link",{id:c,rel:"stylesheet",href:b+"/css/visualblocks.css"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)}else{d=e.get(c);d.disabled=!d.disabled}a.controlManager.setActive("visualblocks",!d.disabled)});a.addButton("visualblocks",{title:"visualblocks.desc",cmd:"mceVisualBlocks"});a.onInit.add(function(){if(a.settings.visualblocks_default_state){a.execCommand("mceVisualBlocks",false,null,{skip_focus:true})}})},getInfo:function(){return{longname:"Visual blocks",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("visualblocks",tinymce.plugins.VisualBlocks)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js new file mode 100644 index 00000000..b9d2ab2e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualblocks/editor_plugin_src.js @@ -0,0 +1,63 @@ +/** + * editor_plugin_src.js + * + * Copyright 2012, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.VisualBlocks', { + init : function(ed, url) { + var cssId; + + // We don't support older browsers like IE6/7 and they don't provide prototypes for DOM objects + if (!window.NodeList) { + return; + } + + ed.addCommand('mceVisualBlocks', function() { + var dom = ed.dom, linkElm; + + if (!cssId) { + cssId = dom.uniqueId(); + linkElm = dom.create('link', { + id: cssId, + rel : 'stylesheet', + href : url + '/css/visualblocks.css' + }); + + ed.getDoc().getElementsByTagName('head')[0].appendChild(linkElm); + } else { + linkElm = dom.get(cssId); + linkElm.disabled = !linkElm.disabled; + } + + ed.controlManager.setActive('visualblocks', !linkElm.disabled); + }); + + ed.addButton('visualblocks', {title : 'visualblocks.desc', cmd : 'mceVisualBlocks'}); + + ed.onInit.add(function() { + if (ed.settings.visualblocks_default_state) { + ed.execCommand('mceVisualBlocks', false, null, {skip_focus : true}); + } + }); + }, + + getInfo : function() { + return { + longname : 'Visual blocks', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('visualblocks', tinymce.plugins.VisualBlocks); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js new file mode 100755 index 00000000..1a148e8b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.VisualChars",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceVisualChars",c._toggleVisualChars,c);a.addButton("visualchars",{title:"visualchars.desc",cmd:"mceVisualChars"});a.onBeforeGetContent.add(function(d,e){if(c.state&&e.format!="raw"&&!e.draft){c.state=true;c._toggleVisualChars(false)}})},getInfo:function(){return{longname:"Visual characters",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_toggleVisualChars:function(m){var p=this,k=p.editor,a,g,j,n=k.getDoc(),o=k.getBody(),l,q=k.selection,e,c,f;p.state=!p.state;k.controlManager.setActive("visualchars",p.state);if(m){f=q.getBookmark()}if(p.state){a=[];tinymce.walk(o,function(b){if(b.nodeType==3&&b.nodeValue&&b.nodeValue.indexOf("\u00a0")!=-1){a.push(b)}},"childNodes");for(g=0;g$1');c=k.dom.create("div",null,l);while(node=c.lastChild){k.dom.insertAfter(node,a[g])}k.dom.remove(a[g])}}else{a=k.dom.select("span.mceItemNbsp",o);for(g=a.length-1;g>=0;g--){k.dom.remove(a[g],1)}}q.moveToBookmark(f)}});tinymce.PluginManager.add("visualchars",tinymce.plugins.VisualChars)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js new file mode 100755 index 00000000..df985905 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js @@ -0,0 +1,83 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.VisualChars', { + init : function(ed, url) { + var t = this; + + t.editor = ed; + + // Register commands + ed.addCommand('mceVisualChars', t._toggleVisualChars, t); + + // Register buttons + ed.addButton('visualchars', {title : 'visualchars.desc', cmd : 'mceVisualChars'}); + + ed.onBeforeGetContent.add(function(ed, o) { + if (t.state && o.format != 'raw' && !o.draft) { + t.state = true; + t._toggleVisualChars(false); + } + }); + }, + + getInfo : function() { + return { + longname : 'Visual characters', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + }, + + // Private methods + + _toggleVisualChars : function(bookmark) { + var t = this, ed = t.editor, nl, i, h, d = ed.getDoc(), b = ed.getBody(), nv, s = ed.selection, bo, div, bm; + + t.state = !t.state; + ed.controlManager.setActive('visualchars', t.state); + + if (bookmark) + bm = s.getBookmark(); + + if (t.state) { + nl = []; + tinymce.walk(b, function(n) { + if (n.nodeType == 3 && n.nodeValue && n.nodeValue.indexOf('\u00a0') != -1) + nl.push(n); + }, 'childNodes'); + + for (i = 0; i < nl.length; i++) { + nv = nl[i].nodeValue; + nv = nv.replace(/(\u00a0)/g, '$1'); + + div = ed.dom.create('div', null, nv); + while (node = div.lastChild) + ed.dom.insertAfter(node, nl[i]); + + ed.dom.remove(nl[i]); + } + } else { + nl = ed.dom.select('span.mceItemNbsp', b); + + for (i = nl.length - 1; i >= 0; i--) + ed.dom.remove(nl[i], 1); + } + + s.moveToBookmark(bm); + } + }); + + // Register plugin + tinymce.PluginManager.add('visualchars', tinymce.plugins.VisualChars); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js new file mode 100644 index 00000000..42ece209 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.WordCount",{block:0,id:null,countre:null,cleanre:null,init:function(c,d){var e=this,f=0,g=tinymce.VK;e.countre=c.getParam("wordcount_countregex",/[\w\u2019\'-]+/g);e.cleanre=c.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);e.update_rate=c.getParam("wordcount_update_rate",2000);e.update_on_delete=c.getParam("wordcount_update_on_delete",false);e.id=c.id+"-word-count";c.onPostRender.add(function(i,h){var j,k;k=i.getParam("wordcount_target_id");if(!k){j=tinymce.DOM.get(i.id+"_path_row");if(j){tinymce.DOM.add(j.parentNode,"div",{style:"float: right"},i.getLang("wordcount.words","Words: ")+'0')}}else{tinymce.DOM.add(k,"span",{},'0')}});c.onInit.add(function(h){h.selection.onSetContent.add(function(){e._count(h)});e._count(h)});c.onSetContent.add(function(h){e._count(h)});function b(h){return h!==f&&(h===g.ENTER||f===g.SPACEBAR||a(f))}function a(h){return h===g.DELETE||h===g.BACKSPACE}c.onKeyUp.add(function(h,i){if(b(i.keyCode)||e.update_on_delete&&a(i.keyCode)){e._count(h)}f=i.keyCode})},_getCount:function(c){var a=0;var b=c.getContent({format:"raw"});if(b){b=b.replace(/\.\.\./g," ");b=b.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ");b=b.replace(/(\w+)(&.+?;)+(\w+)/,"$1$3").replace(/&.+?;/g," ");b=b.replace(this.cleanre,"");var d=b.match(this.countre);if(d){a=d.length}}return a},_count:function(a){var b=this;if(b.block){return}b.block=1;setTimeout(function(){if(!a.destroyed){var c=b._getCount(a);tinymce.DOM.setHTML(b.id,c.toString());setTimeout(function(){b.block=0},b.update_rate)}},1)},getInfo:function(){return{longname:"Word Count plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("wordcount",tinymce.plugins.WordCount)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js new file mode 100644 index 00000000..34b26555 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js @@ -0,0 +1,122 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.WordCount', { + block : 0, + id : null, + countre : null, + cleanre : null, + + init : function(ed, url) { + var t = this, last = 0, VK = tinymce.VK; + + t.countre = ed.getParam('wordcount_countregex', /[\w\u2019\'-]+/g); // u2019 == ’ + t.cleanre = ed.getParam('wordcount_cleanregex', /[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g); + t.update_rate = ed.getParam('wordcount_update_rate', 2000); + t.update_on_delete = ed.getParam('wordcount_update_on_delete', false); + t.id = ed.id + '-word-count'; + + ed.onPostRender.add(function(ed, cm) { + var row, id; + + // Add it to the specified id or the theme advanced path + id = ed.getParam('wordcount_target_id'); + if (!id) { + row = tinymce.DOM.get(ed.id + '_path_row'); + + if (row) + tinymce.DOM.add(row.parentNode, 'div', {'style': 'float: right'}, ed.getLang('wordcount.words', 'Words: ') + '0'); + } else { + tinymce.DOM.add(id, 'span', {}, '0'); + } + }); + + ed.onInit.add(function(ed) { + ed.selection.onSetContent.add(function() { + t._count(ed); + }); + + t._count(ed); + }); + + ed.onSetContent.add(function(ed) { + t._count(ed); + }); + + function checkKeys(key) { + return key !== last && (key === VK.ENTER || last === VK.SPACEBAR || checkDelOrBksp(last)); + } + + function checkDelOrBksp(key) { + return key === VK.DELETE || key === VK.BACKSPACE; + } + + ed.onKeyUp.add(function(ed, e) { + if (checkKeys(e.keyCode) || t.update_on_delete && checkDelOrBksp(e.keyCode)) { + t._count(ed); + } + + last = e.keyCode; + }); + }, + + _getCount : function(ed) { + var tc = 0; + var tx = ed.getContent({ format: 'raw' }); + + if (tx) { + tx = tx.replace(/\.\.\./g, ' '); // convert ellipses to spaces + tx = tx.replace(/<.[^<>]*?>/g, ' ').replace(/ | /gi, ' '); // remove html tags and space chars + + // deal with html entities + tx = tx.replace(/(\w+)(&.+?;)+(\w+)/, "$1$3").replace(/&.+?;/g, ' '); + tx = tx.replace(this.cleanre, ''); // remove numbers and punctuation + + var wordArray = tx.match(this.countre); + if (wordArray) { + tc = wordArray.length; + } + } + + return tc; + }, + + _count : function(ed) { + var t = this; + + // Keep multiple calls from happening at the same time + if (t.block) + return; + + t.block = 1; + + setTimeout(function() { + if (!ed.destroyed) { + var tc = t._getCount(ed); + tinymce.DOM.setHTML(t.id, tc.toString()); + setTimeout(function() {t.block = 0;}, t.update_rate); + } + }, 1); + }, + + getInfo: function() { + return { + longname : 'Word Count plugin', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + tinymce.PluginManager.add('wordcount', tinymce.plugins.WordCount); +})(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm new file mode 100755 index 00000000..30a894f7 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/abbr.htm @@ -0,0 +1,142 @@ + + + + {#xhtmlxtras_dlg.title_abbr_element} + + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm new file mode 100755 index 00000000..c1093459 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/acronym.htm @@ -0,0 +1,142 @@ + + + + {#xhtmlxtras_dlg.title_acronym_element} + + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm new file mode 100755 index 00000000..e8d606a3 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/attributes.htm @@ -0,0 +1,149 @@ + + + + {#xhtmlxtras_dlg.attribs_title} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.attribute_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.attribute_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm new file mode 100755 index 00000000..0ac6bdb6 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/cite.htm @@ -0,0 +1,142 @@ + + + + {#xhtmlxtras_dlg.title_cite_element} + + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css new file mode 100755 index 00000000..9a6a235c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/attributes.css @@ -0,0 +1,11 @@ +.panel_wrapper div.current { + height: 290px; +} + +#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { + width: 200px; +} + +#events_panel input { + width: 200px; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css new file mode 100755 index 00000000..e67114db --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/css/popup.css @@ -0,0 +1,9 @@ +input.field, select.field {width:200px;} +input.picker {width:179px; margin-left: 5px;} +input.disabled {border-color:#F2F2F2;} +img.picker {vertical-align:text-bottom; cursor:pointer;} +h1 {padding: 0 0 5px 0;} +.panel_wrapper div.current {height:160px;} +#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} +a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} +#datetime {width:180px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm new file mode 100755 index 00000000..5f667510 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/del.htm @@ -0,0 +1,162 @@ + + + + {#xhtmlxtras_dlg.title_del_element} + + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_general_tab} + + + + + + + + + +
    : + + + + + +
    +
    :
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js new file mode 100755 index 00000000..9b98a515 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.XHTMLXtrasPlugin",{init:function(a,b){a.addCommand("mceCite",function(){a.windowManager.open({file:b+"/cite.htm",width:350+parseInt(a.getLang("xhtmlxtras.cite_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.cite_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAcronym",function(){a.windowManager.open({file:b+"/acronym.htm",width:350+parseInt(a.getLang("xhtmlxtras.acronym_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.acronym_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAbbr",function(){a.windowManager.open({file:b+"/abbr.htm",width:350+parseInt(a.getLang("xhtmlxtras.abbr_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.abbr_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceDel",function(){a.windowManager.open({file:b+"/del.htm",width:340+parseInt(a.getLang("xhtmlxtras.del_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.del_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceIns",function(){a.windowManager.open({file:b+"/ins.htm",width:340+parseInt(a.getLang("xhtmlxtras.ins_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.ins_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAttributes",function(){a.windowManager.open({file:b+"/attributes.htm",width:380+parseInt(a.getLang("xhtmlxtras.attr_delta_width",0)),height:370+parseInt(a.getLang("xhtmlxtras.attr_delta_height",0)),inline:1},{plugin_url:b})});a.addButton("cite",{title:"xhtmlxtras.cite_desc",cmd:"mceCite"});a.addButton("acronym",{title:"xhtmlxtras.acronym_desc",cmd:"mceAcronym"});a.addButton("abbr",{title:"xhtmlxtras.abbr_desc",cmd:"mceAbbr"});a.addButton("del",{title:"xhtmlxtras.del_desc",cmd:"mceDel"});a.addButton("ins",{title:"xhtmlxtras.ins_desc",cmd:"mceIns"});a.addButton("attribs",{title:"xhtmlxtras.attribs_desc",cmd:"mceAttributes"});a.onNodeChange.add(function(d,c,f,e){f=d.dom.getParent(f,"CITE,ACRONYM,ABBR,DEL,INS");c.setDisabled("cite",e);c.setDisabled("acronym",e);c.setDisabled("abbr",e);c.setDisabled("del",e);c.setDisabled("ins",e);c.setDisabled("attribs",f&&f.nodeName=="BODY");c.setActive("cite",0);c.setActive("acronym",0);c.setActive("abbr",0);c.setActive("del",0);c.setActive("ins",0);if(f){do{c.setDisabled(f.nodeName.toLowerCase(),0);c.setActive(f.nodeName.toLowerCase(),1)}while(f=f.parentNode)}});a.onPreInit.add(function(){a.dom.create("abbr")})},getInfo:function(){return{longname:"XHTML Xtras Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("xhtmlxtras",tinymce.plugins.XHTMLXtrasPlugin)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js new file mode 100755 index 00000000..f2405721 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js @@ -0,0 +1,132 @@ +/** + * editor_plugin_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', { + init : function(ed, url) { + // Register commands + ed.addCommand('mceCite', function() { + ed.windowManager.open({ + file : url + '/cite.htm', + width : 350 + parseInt(ed.getLang('xhtmlxtras.cite_delta_width', 0)), + height : 250 + parseInt(ed.getLang('xhtmlxtras.cite_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + ed.addCommand('mceAcronym', function() { + ed.windowManager.open({ + file : url + '/acronym.htm', + width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)), + height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + ed.addCommand('mceAbbr', function() { + ed.windowManager.open({ + file : url + '/abbr.htm', + width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)), + height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + ed.addCommand('mceDel', function() { + ed.windowManager.open({ + file : url + '/del.htm', + width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)), + height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + ed.addCommand('mceIns', function() { + ed.windowManager.open({ + file : url + '/ins.htm', + width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)), + height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + ed.addCommand('mceAttributes', function() { + ed.windowManager.open({ + file : url + '/attributes.htm', + width : 380 + parseInt(ed.getLang('xhtmlxtras.attr_delta_width', 0)), + height : 370 + parseInt(ed.getLang('xhtmlxtras.attr_delta_height', 0)), + inline : 1 + }, { + plugin_url : url + }); + }); + + // Register buttons + ed.addButton('cite', {title : 'xhtmlxtras.cite_desc', cmd : 'mceCite'}); + ed.addButton('acronym', {title : 'xhtmlxtras.acronym_desc', cmd : 'mceAcronym'}); + ed.addButton('abbr', {title : 'xhtmlxtras.abbr_desc', cmd : 'mceAbbr'}); + ed.addButton('del', {title : 'xhtmlxtras.del_desc', cmd : 'mceDel'}); + ed.addButton('ins', {title : 'xhtmlxtras.ins_desc', cmd : 'mceIns'}); + ed.addButton('attribs', {title : 'xhtmlxtras.attribs_desc', cmd : 'mceAttributes'}); + + ed.onNodeChange.add(function(ed, cm, n, co) { + n = ed.dom.getParent(n, 'CITE,ACRONYM,ABBR,DEL,INS'); + + cm.setDisabled('cite', co); + cm.setDisabled('acronym', co); + cm.setDisabled('abbr', co); + cm.setDisabled('del', co); + cm.setDisabled('ins', co); + cm.setDisabled('attribs', n && n.nodeName == 'BODY'); + cm.setActive('cite', 0); + cm.setActive('acronym', 0); + cm.setActive('abbr', 0); + cm.setActive('del', 0); + cm.setActive('ins', 0); + + // Activate all + if (n) { + do { + cm.setDisabled(n.nodeName.toLowerCase(), 0); + cm.setActive(n.nodeName.toLowerCase(), 1); + } while (n = n.parentNode); + } + }); + + ed.onPreInit.add(function() { + // Fixed IE issue where it can't handle these elements correctly + ed.dom.create('abbr'); + }); + }, + + getInfo : function() { + return { + longname : 'XHTML Xtras Plugin', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras', + version : tinymce.majorVersion + "." + tinymce.minorVersion + }; + } + }); + + // Register plugin + tinymce.PluginManager.add('xhtmlxtras', tinymce.plugins.XHTMLXtrasPlugin); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm new file mode 100755 index 00000000..d001ac7c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/ins.htm @@ -0,0 +1,162 @@ + + + + {#xhtmlxtras_dlg.title_ins_element} + + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_general_tab} + + + + + + + + + +
    : + + + + + +
    +
    :
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js new file mode 100644 index 00000000..4b51a257 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js @@ -0,0 +1,28 @@ +/** + * abbr.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('abbr'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertAbbr() { + SXE.insertElement('abbr'); + tinyMCEPopup.close(); +} + +function removeAbbr() { + SXE.removeElement('abbr'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js new file mode 100644 index 00000000..6ec2f887 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js @@ -0,0 +1,28 @@ +/** + * acronym.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('acronym'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertAcronym() { + SXE.insertElement('acronym'); + tinyMCEPopup.close(); +} + +function removeAcronym() { + SXE.removeElement('acronym'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js new file mode 100644 index 00000000..9c99995a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/attributes.js @@ -0,0 +1,111 @@ +/** + * attributes.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + tinyMCEPopup.resizeToInnerSize(); + var inst = tinyMCEPopup.editor; + var dom = inst.dom; + var elm = inst.selection.getNode(); + var f = document.forms[0]; + var onclick = dom.getAttrib(elm, 'onclick'); + + setFormValue('title', dom.getAttrib(elm, 'title')); + setFormValue('id', dom.getAttrib(elm, 'id')); + setFormValue('style', dom.getAttrib(elm, "style")); + setFormValue('dir', dom.getAttrib(elm, 'dir')); + setFormValue('lang', dom.getAttrib(elm, 'lang')); + setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('onfocus', dom.getAttrib(elm, 'onfocus')); + setFormValue('onblur', dom.getAttrib(elm, 'onblur')); + setFormValue('onclick', onclick); + setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick')); + setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown')); + setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup')); + setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover')); + setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove')); + setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout')); + setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress')); + setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown')); + setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup')); + className = dom.getAttrib(elm, 'class'); + + addClassesToList('classlist', 'advlink_styles'); + selectByValue(f, 'classlist', className, true); + + TinyMCE_EditableSelects.init(); +} + +function setFormValue(name, value) { + if(value && document.forms[0].elements[name]){ + document.forms[0].elements[name].value = value; + } +} + +function insertAction() { + var inst = tinyMCEPopup.editor; + var elm = inst.selection.getNode(); + + setAllAttribs(elm); + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); +} + +function setAttrib(elm, attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib.toLowerCase()]; + var inst = tinyMCEPopup.editor; + var dom = inst.dom; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + dom.setAttrib(elm, attrib.toLowerCase(), value); +} + +function setAllAttribs(elm) { + var f = document.forms[0]; + + setAttrib(elm, 'title'); + setAttrib(elm, 'id'); + setAttrib(elm, 'style'); + setAttrib(elm, 'class', getSelectValue(f, 'classlist')); + setAttrib(elm, 'dir'); + setAttrib(elm, 'lang'); + setAttrib(elm, 'tabindex'); + setAttrib(elm, 'accesskey'); + setAttrib(elm, 'onfocus'); + setAttrib(elm, 'onblur'); + setAttrib(elm, 'onclick'); + setAttrib(elm, 'ondblclick'); + setAttrib(elm, 'onmousedown'); + setAttrib(elm, 'onmouseup'); + setAttrib(elm, 'onmouseover'); + setAttrib(elm, 'onmousemove'); + setAttrib(elm, 'onmouseout'); + setAttrib(elm, 'onkeypress'); + setAttrib(elm, 'onkeydown'); + setAttrib(elm, 'onkeyup'); + + // Refresh in old MSIE +// if (tinyMCE.isMSIE5) +// elm.outerHTML = elm.outerHTML; +} + +function insertAttribute() { + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); +tinyMCEPopup.requireLangPack(); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js new file mode 100644 index 00000000..009b7154 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/cite.js @@ -0,0 +1,28 @@ +/** + * cite.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('cite'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertCite() { + SXE.insertElement('cite'); + tinyMCEPopup.close(); +} + +function removeCite() { + SXE.removeElement('cite'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js new file mode 100644 index 00000000..1f957dc7 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/del.js @@ -0,0 +1,53 @@ +/** + * del.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('del'); + if (SXE.currentAction == "update") { + setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); + setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); + SXE.showRemoveButton(); + } +} + +function setElementAttribs(elm) { + setAllCommonAttribs(elm); + setAttrib(elm, 'datetime'); + setAttrib(elm, 'cite'); + elm.removeAttribute('data-mce-new'); +} + +function insertDel() { + var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL'); + + if (elm == null) { + var s = SXE.inst.selection.getContent(); + if(s.length > 0) { + insertInlineElement('del'); + var elementArray = SXE.inst.dom.select('del[data-mce-new]'); + for (var i=0; i 0) { + tagName = element_name; + + insertInlineElement(element_name); + var elementArray = tinymce.grep(SXE.inst.dom.select(element_name)); + for (var i=0; i -1) ? true : false; +} + +SXE.removeClass = function(elm,cl) { + if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) { + return true; + } + var classNames = elm.className.split(" "); + var newClassNames = ""; + for (var x = 0, cnl = classNames.length; x < cnl; x++) { + if (classNames[x] != cl) { + newClassNames += (classNames[x] + " "); + } + } + elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end +} + +SXE.addClass = function(elm,cl) { + if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl; + return true; +} + +function insertInlineElement(en) { + var ed = tinyMCEPopup.editor, dom = ed.dom; + + ed.getDoc().execCommand('FontName', false, 'mceinline'); + tinymce.each(dom.select('span,font'), function(n) { + if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') + dom.replace(dom.create(en, {'data-mce-new' : 1}), n, 1); + }); +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js new file mode 100644 index 00000000..c4addfb0 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/plugins/xhtmlxtras/js/ins.js @@ -0,0 +1,53 @@ +/** + * ins.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('ins'); + if (SXE.currentAction == "update") { + setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); + setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); + SXE.showRemoveButton(); + } +} + +function setElementAttribs(elm) { + setAllCommonAttribs(elm); + setAttrib(elm, 'datetime'); + setAttrib(elm, 'cite'); + elm.removeAttribute('data-mce-new'); +} + +function insertIns() { + var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'INS'); + + if (elm == null) { + var s = SXE.inst.selection.getContent(); + if(s.length > 0) { + insertInlineElement('ins'); + var elementArray = SXE.inst.dom.select('ins[data-mce-new]'); + for (var i=0; i + + + {#advanced_dlg.about_title} + + + + + + + +
    +
    +

    {#advanced_dlg.about_title}

    +

    Version: ()

    +

    TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL + by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

    +

    Copyright © 2003-2008, Moxiecode Systems AB, All rights reserved.

    +

    For more information about this software visit the TinyMCE website.

    + +
    + Got Moxie? +
    +
    + +
    +
    +

    {#advanced_dlg.about_loaded}

    + +
    +
    + +

     

    +
    +
    + +
    +
    +
    +
    + +
    + +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm new file mode 100755 index 00000000..75c93b79 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/anchor.htm @@ -0,0 +1,26 @@ + + + + {#advanced_dlg.anchor_title} + + + + +
    + + + + + + + + +
    {#advanced_dlg.anchor_title}
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm new file mode 100755 index 00000000..d4b6bdfb --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/charmap.htm @@ -0,0 +1,55 @@ + + + + {#advanced_dlg.charmap_title} + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
     
     
    +
    + + + + + + + + + + + + + + + + +
     
     
     
    +
    {#advanced_dlg.charmap_usage}
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm new file mode 100755 index 00000000..b625531a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/color_picker.htm @@ -0,0 +1,70 @@ + + + + {#advanced_dlg.colorpicker_title} + + + + + + +
    + + +
    +
    +
    + {#advanced_dlg.colorpicker_picker_title} +
    + + +
    + +
    + +
    +
    +
    +
    + +
    +
    + {#advanced_dlg.colorpicker_palette_title} +
    + +
    + +
    +
    +
    + +
    +
    + {#advanced_dlg.colorpicker_named_title} +
    + +
    + +
    + +
    + {#advanced_dlg.colorpicker_name} +
    +
    +
    +
    + +
    + + +
    +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js new file mode 100755 index 00000000..cbae1c88 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template.js @@ -0,0 +1 @@ +(function(h){var i=h.DOM,g=h.dom.Event,c=h.extend,f=h.each,a=h.util.Cookie,e,d=h.explode;function b(p,m){var k,l,o=p.dom,j="",n,r;previewStyles=p.settings.preview_styles;if(previewStyles===false){return""}if(!previewStyles){previewStyles="font-family font-size font-weight text-decoration text-transform color background-color"}function q(s){return s.replace(/%(\w+)/g,"")}k=m.block||m.inline||"span";l=o.create(k);f(m.styles,function(t,s){t=q(t);if(t){o.setStyle(l,s,t)}});f(m.attributes,function(t,s){t=q(t);if(t){o.setAttrib(l,s,t)}});f(m.classes,function(s){s=q(s);if(!o.hasClass(l,s)){o.addClass(l,s)}});o.setStyles(l,{position:"absolute",left:-65535});p.getBody().appendChild(l);n=o.getStyle(p.getBody(),"fontSize",true);n=/px$/.test(n)?parseInt(n,10):0;f(previewStyles.split(" "),function(s){var t=o.getStyle(l,s,true);if(s=="background-color"&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(t)){t=o.getStyle(p.getBody(),s,true);if(o.toHex(t).toLowerCase()=="#ffffff"){return}}if(s=="font-size"){if(/em|%$/.test(t)){if(n===0){return}t=parseFloat(t,10)/(/%$/.test(t)?100:1);t=(t*n)+"px"}}j+=s+":"+t+";"});o.remove(l);return j}h.ThemeManager.requireLangPack("advanced");h.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(k,l){var m=this,n,j,p;m.editor=k;m.url=l;m.onResolveName=new h.util.Dispatcher(this);n=k.settings;k.forcedHighContrastMode=k.settings.detect_highcontrast&&m._isHighContrast();k.settings.skin=k.forcedHighContrastMode?"highcontrast":k.settings.skin;if(!n.theme_advanced_buttons1){n=c({theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap"},n)}m.settings=n=c({theme_advanced_path:true,theme_advanced_toolbar_location:"top",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",theme_advanced_font_selector:"span",theme_advanced_show_current_color:0,readonly:k.settings.readonly},n);if(!n.font_size_style_values){n.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(h.is(n.theme_advanced_font_sizes,"string")){n.font_size_style_values=h.explode(n.font_size_style_values);n.font_size_classes=h.explode(n.font_size_classes||"");p={};k.settings.theme_advanced_font_sizes=n.theme_advanced_font_sizes;f(k.getParam("theme_advanced_font_sizes","","hash"),function(r,q){var o;if(q==r&&r>=1&&r<=7){q=r+" ("+m.sizes[r-1]+"pt)";o=n.font_size_classes[r-1];r=n.font_size_style_values[r-1]||(m.sizes[r-1]+"pt")}if(/^\s*\./.test(r)){o=r.replace(/\./g,"")}p[q]=o?{"class":o}:{fontSize:r}});n.theme_advanced_font_sizes=p}if((j=n.theme_advanced_path_location)&&j!="none"){n.theme_advanced_statusbar_location=n.theme_advanced_path_location}if(n.theme_advanced_statusbar_location=="none"){n.theme_advanced_statusbar_location=0}if(k.settings.content_css!==false){k.contentCSS.push(k.baseURI.toAbsolute(l+"/skins/"+k.settings.skin+"/content.css"))}k.onInit.add(function(){if(!k.settings.readonly){k.onNodeChange.add(m._nodeChanged,m);k.onKeyUp.add(m._updateUndoStatus,m);k.onMouseUp.add(m._updateUndoStatus,m);k.dom.bind(k.dom.getRoot(),"dragend",function(){m._updateUndoStatus(k)})}});k.onSetProgressState.add(function(r,o,s){var t,u=r.id,q;if(o){m.progressTimer=setTimeout(function(){t=r.getContainer();t=t.insertBefore(i.create("DIV",{style:"position:relative"}),t.firstChild);q=i.get(r.id+"_tbl");i.add(t,"div",{id:u+"_blocker","class":"mceBlocker",style:{width:q.clientWidth+2,height:q.clientHeight+2}});i.add(t,"div",{id:u+"_progress","class":"mceProgress",style:{left:q.clientWidth/2,top:q.clientHeight/2}})},s||0)}else{i.remove(u+"_blocker");i.remove(u+"_progress");clearTimeout(m.progressTimer)}});i.loadCSS(n.editor_css?k.documentBaseURI.toAbsolute(n.editor_css):l+"/skins/"+k.settings.skin+"/ui.css");if(n.skin_variant){i.loadCSS(l+"/skins/"+k.settings.skin+"/ui_"+n.skin_variant+".css")}},_isHighContrast:function(){var j,k=i.add(i.getRoot(),"div",{style:"background-color: rgb(171,239,86);"});j=(i.getStyle(k,"background-color",true)+"").toLowerCase().replace(/ /g,"");i.remove(k);return j!="rgb(171,239,86)"&&j!="#abef56"},createControl:function(m,j){var k,l;if(l=j.createControl(m)){return l}switch(m){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((k=this.controls[m])){return j.createButton(m,{title:"advanced."+k[0],cmd:k[1],ui:k[2],value:k[3]})}},execCommand:function(l,k,m){var j=this["_"+l];if(j){j.call(this,k,m);return true}return false},_importClasses:function(l){var j=this.editor,k=j.controlManager.get("styleselect");if(k.getLength()==0){f(j.dom.getClasses(),function(q,m){var p="style_"+m,n;n={inline:"span",attributes:{"class":q["class"]},selector:"*"};j.formatter.register(p,n);k.add(q["class"],p,{style:function(){return b(j,n)}})})}},_createStyleSelect:function(o){var l=this,j=l.editor,k=j.controlManager,m;m=k.createListBox("styleselect",{title:"advanced.style_select",onselect:function(q){var r,n=[],p;f(m.items,function(s){n.push(s.value)});j.focus();j.undoManager.add();r=j.formatter.matchAll(n);h.each(r,function(s){if(!q||s==q){if(s){j.formatter.remove(s)}p=true}});if(!p){j.formatter.apply(q)}j.undoManager.add();j.nodeChanged();return false}});j.onPreInit.add(function(){var p=0,n=j.getParam("style_formats");if(n){f(n,function(q){var r,s=0;f(q,function(){s++});if(s>1){r=q.name=q.name||"style_"+(p++);j.formatter.register(r,q);m.add(q.title,r,{style:function(){return b(j,q)}})}else{m.add(q.title)}})}else{f(j.getParam("theme_advanced_styles","","hash"),function(t,s){var r,q;if(t){r="style_"+(p++);q={inline:"span",classes:t,selector:"*"};j.formatter.register(r,q);m.add(l.editor.translate(s),r,{style:function(){return b(j,q)}})}})}});if(m.getLength()==0){m.onPostRender.add(function(p,q){if(!m.NativeListBox){g.add(q.id+"_text","focus",l._importClasses,l);g.add(q.id+"_text","mousedown",l._importClasses,l);g.add(q.id+"_open","focus",l._importClasses,l);g.add(q.id+"_open","mousedown",l._importClasses,l)}else{g.add(q.id,"focus",l._importClasses,l)}})}return m},_createFontSelect:function(){var l,k=this,j=k.editor;l=j.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(m){var n=l.items[l.selectedIndex];if(!m&&n){j.execCommand("FontName",false,n.value);return}j.execCommand("FontName",false,m);l.select(function(o){return m==o});if(n&&n.value==m){l.select(null)}return false}});if(l){f(j.getParam("theme_advanced_fonts",k.settings.theme_advanced_fonts,"hash"),function(n,m){l.add(j.translate(m),n,{style:n.indexOf("dings")==-1?"font-family:"+n:""})})}return l},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(o){var p=n.items[n.selectedIndex];if(!o&&p){p=p.value;if(p["class"]){k.formatter.toggle("fontsize_class",{value:p["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,p.fontSize)}return}if(o["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:o["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,o.fontSize)}n.select(function(q){return o==q});if(p&&(p.value.fontSize==o.fontSize||p.value["class"]&&p.value["class"]==o["class"])){n.select(null)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(p,o){var q=p.fontSize;if(q>=1&&q<=7){q=m.sizes[parseInt(q)-1]+"pt"}n.add(o,p,{style:"font-size:"+q,"class":"mceFontSize"+(l++)+(" "+(p["class"]||""))})})}return n},_createBlockFormats:function(){var l,j={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},k=this;l=k.editor.controlManager.createListBox("formatselect",{title:"advanced.block",onselect:function(m){k.editor.execCommand("FormatBlock",false,m);return false}});if(l){f(k.editor.getParam("theme_advanced_blockformats",k.settings.theme_advanced_blockformats,"hash"),function(n,m){l.add(k.editor.translate(m!=n?m:j[n]),n,{"class":"mce_formatPreview mce_"+n,style:function(){return b(k.editor,{block:n})}})})}return l},_createForeColorMenu:function(){var n,k=this,l=k.settings,m={},j;if(l.theme_advanced_more_colors){m.more_colors_func=function(){k._mceColorPicker(0,{color:n.value,func:function(o){n.setColor(o)}})}}if(j=l.theme_advanced_text_colors){m.colors=j}if(l.theme_advanced_default_foreground_color){m.default_color=l.theme_advanced_default_foreground_color}m.title="advanced.forecolor_desc";m.cmd="ForeColor";m.scope=this;n=k.editor.controlManager.createColorSplitButton("forecolor",m);return n},_createBackColorMenu:function(){var n,k=this,l=k.settings,m={},j;if(l.theme_advanced_more_colors){m.more_colors_func=function(){k._mceColorPicker(0,{color:n.value,func:function(o){n.setColor(o)}})}}if(j=l.theme_advanced_background_colors){m.colors=j}if(l.theme_advanced_default_background_color){m.default_color=l.theme_advanced_default_background_color}m.title="advanced.backcolor_desc";m.cmd="HiliteColor";m.scope=this;n=k.editor.controlManager.createColorSplitButton("backcolor",m);return n},renderUI:function(l){var q,m,r,w=this,u=w.editor,x=w.settings,v,k,j;if(u.settings){u.settings.aria_label=x.aria_label+u.getLang("advanced.help_shortcut")}q=k=i.create("span",{role:"application","aria-labelledby":u.id+"_voice",id:u.id+"_parent","class":"mceEditor "+u.settings.skin+"Skin"+(x.skin_variant?" "+u.settings.skin+"Skin"+w._ufirst(x.skin_variant):"")+(u.settings.directionality=="rtl"?" mceRtl":"")});i.add(q,"span",{"class":"mceVoiceLabel",style:"display:none;",id:u.id+"_voice"},x.aria_label);if(!i.boxModel){q=i.add(q,"div",{"class":"mceOldBoxModel"})}q=v=i.add(q,"table",{role:"presentation",id:u.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});q=r=i.add(q,"tbody");switch((x.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":m=w._rowLayout(x,r,l);break;case"customlayout":m=u.execCallback("theme_advanced_custom_layout",x,r,l,k);break;default:m=w._simpleLayout(x,r,l,k)}q=l.targetNode;j=v.rows;i.addClass(j[0],"mceFirst");i.addClass(j[j.length-1],"mceLast");f(i.select("tr",r),function(o){i.addClass(o.firstChild,"mceFirst");i.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(i.get(x.theme_advanced_toolbar_container)){i.get(x.theme_advanced_toolbar_container).appendChild(k)}else{i.insertAfter(k,q)}g.add(u.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){w._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return false}});if(!u.getParam("accessibility_focus")){g.add(i.add(k,"a",{href:"#"},""),"focus",function(){tinyMCE.get(u.id).focus()})}if(x.theme_advanced_toolbar_location=="external"){l.deltaHeight=0}w.deltaHeight=l.deltaHeight;l.targetNode=null;u.onKeyDown.add(function(p,n){var s=121,o=122;if(n.altKey){if(n.keyCode===s){if(h.isWebKit){window.focus()}w.toolbarGroup.focus();return g.cancel(n)}else{if(n.keyCode===o){i.get(p.id+"_path_row").focus();return g.cancel(n)}}}});u.addShortcut("alt+0","","mceShortcuts",w);return{iframeContainer:m,editorContainer:u.id+"_parent",sizeContainer:v,deltaHeight:l.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:h.majorVersion+"."+h.minorVersion}},resizeBy:function(j,k){var l=i.get(this.editor.id+"_ifr");this.resizeTo(l.clientWidth+j,l.clientHeight+k)},resizeTo:function(j,n,l){var k=this.editor,m=this.settings,o=i.get(k.id+"_tbl"),p=i.get(k.id+"_ifr");j=Math.max(m.theme_advanced_resizing_min_width||100,j);n=Math.max(m.theme_advanced_resizing_min_height||100,n);j=Math.min(m.theme_advanced_resizing_max_width||65535,j);n=Math.min(m.theme_advanced_resizing_max_height||65535,n);i.setStyle(o,"height","");i.setStyle(p,"height",n);if(m.theme_advanced_resize_horizontal){i.setStyle(o,"width","");i.setStyle(p,"width",j);if(j"));i.setHTML(l,r.join(""))},_addStatusBar:function(p,k){var l,w=this,q=w.editor,x=w.settings,j,u,v,m;l=i.add(p,"tr");l=m=i.add(l,"td",{"class":"mceStatusbar"});l=i.add(l,"div",{id:q.id+"_path_row",role:"group","aria-labelledby":q.id+"_path_voice"});if(x.theme_advanced_path){i.add(l,"span",{id:q.id+"_path_voice"},q.translate("advanced.path"));i.add(l,"span",{},": ")}else{i.add(l,"span",{}," ")}if(x.theme_advanced_resizing){i.add(m,"a",{id:q.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize",tabIndex:"-1"});if(x.theme_advanced_resizing_use_cookie){q.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+q.id+"_size"),r=i.get(q.id+"_tbl");if(!n){return}w.resizeTo(n.cw,n.ch)})}q.onPostRender.add(function(){g.add(q.id+"_resize","click",function(n){n.preventDefault()});g.add(q.id+"_resize","mousedown",function(E){var t,r,s,o,D,A,B,G,n,F,y;function z(H){H.preventDefault();n=B+(H.screenX-D);F=G+(H.screenY-A);w.resizeTo(n,F)}function C(H){g.remove(i.doc,"mousemove",t);g.remove(q.getDoc(),"mousemove",r);g.remove(i.doc,"mouseup",s);g.remove(q.getDoc(),"mouseup",o);n=B+(H.screenX-D);F=G+(H.screenY-A);w.resizeTo(n,F,true);q.nodeChanged()}E.preventDefault();D=E.screenX;A=E.screenY;y=i.get(w.editor.id+"_ifr");B=n=y.clientWidth;G=F=y.clientHeight;t=g.add(i.doc,"mousemove",z);r=g.add(q.getDoc(),"mousemove",z);s=g.add(i.doc,"mouseup",C);o=g.add(q.getDoc(),"mouseup",C)})})}k.deltaHeight-=21;l=p=null},_updateUndoStatus:function(k){var j=k.controlManager,l=k.undoManager;j.setDisabled("undo",!l.hasUndo()&&!l.typing);j.setDisabled("redo",!l.hasRedo())},_nodeChanged:function(o,u,E,r,F){var z=this,D,G=0,y,H,A=z.settings,x,l,w,C,m,k,j;h.each(z.stateControls,function(n){u.setActive(n,o.queryCommandState(z.controls[n][1]))});function q(p){var s,n=F.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s0){H.mark(p)}})}if(H=u.get("formatselect")){D=q(o.dom.isBlock);if(D){H.select(D.nodeName.toLowerCase())}}q(function(p){if(p.nodeName==="SPAN"){if(!x&&p.className){x=p.className}}if(o.dom.is(p,A.theme_advanced_font_selector)){if(!l&&p.style.fontSize){l=p.style.fontSize}if(!w&&p.style.fontFamily){w=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}if(!C&&p.style.color){C=p.style.color}if(!m&&p.style.backgroundColor){m=p.style.backgroundColor}}return false});if(H=u.get("fontselect")){H.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==w})}if(H=u.get("fontsizeselect")){if(A.theme_advanced_runtime_fontsize&&!l&&!x){l=o.dom.getStyle(E,"fontSize",true)}H.select(function(n){if(n.fontSize&&n.fontSize===l){return true}if(n["class"]&&n["class"]===x){return true}})}if(A.theme_advanced_show_current_color){function B(p,n){if(H=u.get(p)){if(!n){n=H.settings.default_color}if(n!==H.value){H.displayColor(n)}}}B("forecolor",C);B("backcolor",m)}if(A.theme_advanced_show_current_color){function B(p,n){if(H=u.get(p)){if(!n){n=H.settings.default_color}if(n!==H.value){H.displayColor(n)}}}B("forecolor",C);B("backcolor",m)}if(A.theme_advanced_path&&A.theme_advanced_statusbar_location){D=i.get(o.id+"_path")||i.add(o.id+"_path_row","span",{id:o.id+"_path"});if(z.statusKeyboardNavigation){z.statusKeyboardNavigation.destroy();z.statusKeyboardNavigation=null}i.setHTML(D,"");q(function(I){var p=I.nodeName.toLowerCase(),s,v,t="";if(I.nodeType!=1||p==="br"||I.getAttribute("data-mce-bogus")||i.hasClass(I,"mceItemHidden")||i.hasClass(I,"mceItemRemoved")){return}if(h.isIE&&I.scopeName!=="HTML"&&I.scopeName){p=I.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(y=i.getAttrib(I,"src")){t+="src: "+y+" "}break;case"a":if(y=i.getAttrib(I,"name")){t+="name: "+y+" ";p+="#"+y}if(y=i.getAttrib(I,"href")){t+="href: "+y+" "}break;case"font":if(y=i.getAttrib(I,"face")){t+="font: "+y+" "}if(y=i.getAttrib(I,"size")){t+="size: "+y+" "}if(y=i.getAttrib(I,"color")){t+="color: "+y+" "}break;case"span":if(y=i.getAttrib(I,"style")){t+="style: "+y+" "}break}if(y=i.getAttrib(I,"id")){t+="id: "+y+" "}if(y=I.className){y=y.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(y){t+="class: "+y+" ";if(o.dom.isBlock(I)||p=="img"||p=="span"){p+="."+y}}}p=p.replace(/(html:)/g,"");p={name:p,node:I,title:t};z.onResolveName.dispatch(z,p);t=p.title;p=p.name;v=i.create("a",{href:"javascript:;",role:"button",onmousedown:"return false;",title:t,"class":"mcePath_"+(G++)},p);if(D.hasChildNodes()){D.insertBefore(i.create("span",{"aria-hidden":"true"},"\u00a0\u00bb "),D.firstChild);D.insertBefore(v,D.firstChild)}else{D.appendChild(v)}},o.getBody());if(i.select("a",D).length>0){z.statusKeyboardNavigation=new h.ui.KeyboardNavigation({root:o.id+"_path_row",items:i.select("a",D),excludeFromTabOrder:true,onCancel:function(){o.focus()}},i)}}},_sel:function(j){this.editor.execCommand("mceSelectNodeDepth",false,j)},_mceInsertAnchor:function(l,k){var j=this.editor;j.windowManager.open({url:this.url+"/anchor.htm",width:320+parseInt(j.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(j.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var j=this.editor;j.windowManager.open({url:this.url+"/charmap.htm",width:550+parseInt(j.getLang("advanced.charmap_delta_width",0)),height:265+parseInt(j.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var j=this.editor;j.windowManager.open({url:this.url+"/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceShortcuts:function(){var j=this.editor;j.windowManager.open({url:this.url+"/shortcuts.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(l,k){var j=this.editor;k=k||{};j.windowManager.open({url:this.url+"/color_picker.htm",width:375+parseInt(j.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(j.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:k.color,func:k.func,theme_url:this.url})},_mceCodeEditor:function(k,l){var j=this.editor;j.windowManager.open({url:this.url+"/source_editor.htm",width:parseInt(j.getParam("theme_advanced_source_editor_width",720)),height:parseInt(j.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(k,l){var j=this.editor;if(j.dom.getAttrib(j.selection.getNode(),"class","").indexOf("mceItem")!=-1){return}j.windowManager.open({url:this.url+"/image.htm",width:355+parseInt(j.getLang("advanced.image_delta_width",0)),height:275+parseInt(j.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(k,l){var j=this.editor;j.windowManager.open({url:this.url+"/link.htm",width:310+parseInt(j.getLang("advanced.link_delta_width",0)),height:200+parseInt(j.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var j=this.editor;j.windowManager.confirm("advanced.newdocument",function(k){if(k){j.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var j=this;this._mceColorPicker(0,{color:j.fgColor,func:function(k){j.fgColor=k;j.editor.execCommand("ForeColor",false,k)}})},_mceBackColor:function(){var j=this;this._mceColorPicker(0,{color:j.bgColor,func:function(k){j.bgColor=k;j.editor.execCommand("HiliteColor",false,k)}})},_ufirst:function(j){return j.substring(0,1).toUpperCase()+j.substring(1)}});h.ThemeManager.add("advanced",h.themes.AdvancedTheme)}(tinymce)); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js new file mode 100755 index 00000000..12deb49c --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/editor_template_src.js @@ -0,0 +1,1490 @@ +/** + * editor_template_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function(tinymce) { + var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, each = tinymce.each, Cookie = tinymce.util.Cookie, lastExtID, explode = tinymce.explode; + + // Generates a preview for a format + function getPreviewCss(ed, fmt) { + var name, previewElm, dom = ed.dom, previewCss = '', parentFontSize, previewStylesName; + + previewStyles = ed.settings.preview_styles; + + // No preview forced + if (previewStyles === false) + return ''; + + // Default preview + if (!previewStyles) + previewStyles = 'font-family font-size font-weight text-decoration text-transform color background-color'; + + // Removes any variables since these can't be previewed + function removeVars(val) { + return val.replace(/%(\w+)/g, ''); + }; + + // Create block/inline element to use for preview + name = fmt.block || fmt.inline || 'span'; + previewElm = dom.create(name); + + // Add format styles to preview element + each(fmt.styles, function(value, name) { + value = removeVars(value); + + if (value) + dom.setStyle(previewElm, name, value); + }); + + // Add attributes to preview element + each(fmt.attributes, function(value, name) { + value = removeVars(value); + + if (value) + dom.setAttrib(previewElm, name, value); + }); + + // Add classes to preview element + each(fmt.classes, function(value) { + value = removeVars(value); + + if (!dom.hasClass(previewElm, value)) + dom.addClass(previewElm, value); + }); + + // Add the previewElm outside the visual area + dom.setStyles(previewElm, {position: 'absolute', left: -0xFFFF}); + ed.getBody().appendChild(previewElm); + + // Get parent container font size so we can compute px values out of em/% for older IE:s + parentFontSize = dom.getStyle(ed.getBody(), 'fontSize', true); + parentFontSize = /px$/.test(parentFontSize) ? parseInt(parentFontSize, 10) : 0; + + each(previewStyles.split(' '), function(name) { + var value = dom.getStyle(previewElm, name, true); + + // If background is transparent then check if the body has a background color we can use + if (name == 'background-color' && /transparent|rgba\s*\([^)]+,\s*0\)/.test(value)) { + value = dom.getStyle(ed.getBody(), name, true); + + // Ignore white since it's the default color, not the nicest fix + if (dom.toHex(value).toLowerCase() == '#ffffff') { + return; + } + } + + // Old IE won't calculate the font size so we need to do that manually + if (name == 'font-size') { + if (/em|%$/.test(value)) { + if (parentFontSize === 0) { + return; + } + + // Convert font size from em/% to px + value = parseFloat(value, 10) / (/%$/.test(value) ? 100 : 1); + value = (value * parentFontSize) + 'px'; + } + } + + previewCss += name + ':' + value + ';'; + }); + + dom.remove(previewElm); + + return previewCss; + }; + + // Tell it to load theme specific language pack(s) + tinymce.ThemeManager.requireLangPack('advanced'); + + tinymce.create('tinymce.themes.AdvancedTheme', { + sizes : [8, 10, 12, 14, 18, 24, 36], + + // Control name lookup, format: title, command + controls : { + bold : ['bold_desc', 'Bold'], + italic : ['italic_desc', 'Italic'], + underline : ['underline_desc', 'Underline'], + strikethrough : ['striketrough_desc', 'Strikethrough'], + justifyleft : ['justifyleft_desc', 'JustifyLeft'], + justifycenter : ['justifycenter_desc', 'JustifyCenter'], + justifyright : ['justifyright_desc', 'JustifyRight'], + justifyfull : ['justifyfull_desc', 'JustifyFull'], + bullist : ['bullist_desc', 'InsertUnorderedList'], + numlist : ['numlist_desc', 'InsertOrderedList'], + outdent : ['outdent_desc', 'Outdent'], + indent : ['indent_desc', 'Indent'], + cut : ['cut_desc', 'Cut'], + copy : ['copy_desc', 'Copy'], + paste : ['paste_desc', 'Paste'], + undo : ['undo_desc', 'Undo'], + redo : ['redo_desc', 'Redo'], + link : ['link_desc', 'mceLink'], + unlink : ['unlink_desc', 'unlink'], + image : ['image_desc', 'mceImage'], + cleanup : ['cleanup_desc', 'mceCleanup'], + help : ['help_desc', 'mceHelp'], + code : ['code_desc', 'mceCodeEditor'], + hr : ['hr_desc', 'InsertHorizontalRule'], + removeformat : ['removeformat_desc', 'RemoveFormat'], + sub : ['sub_desc', 'subscript'], + sup : ['sup_desc', 'superscript'], + forecolor : ['forecolor_desc', 'ForeColor'], + forecolorpicker : ['forecolor_desc', 'mceForeColor'], + backcolor : ['backcolor_desc', 'HiliteColor'], + backcolorpicker : ['backcolor_desc', 'mceBackColor'], + charmap : ['charmap_desc', 'mceCharMap'], + visualaid : ['visualaid_desc', 'mceToggleVisualAid'], + anchor : ['anchor_desc', 'mceInsertAnchor'], + newdocument : ['newdocument_desc', 'mceNewDocument'], + blockquote : ['blockquote_desc', 'mceBlockQuote'] + }, + + stateControls : ['bold', 'italic', 'underline', 'strikethrough', 'bullist', 'numlist', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'sub', 'sup', 'blockquote'], + + init : function(ed, url) { + var t = this, s, v, o; + + t.editor = ed; + t.url = url; + t.onResolveName = new tinymce.util.Dispatcher(this); + s = ed.settings; + + ed.forcedHighContrastMode = ed.settings.detect_highcontrast && t._isHighContrast(); + ed.settings.skin = ed.forcedHighContrastMode ? 'highcontrast' : ed.settings.skin; + + // Setup default buttons + if (!s.theme_advanced_buttons1) { + s = extend({ + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect", + theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code", + theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap" + }, s); + } + + // Default settings + t.settings = s = extend({ + theme_advanced_path : true, + theme_advanced_toolbar_location : 'top', + theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6", + theme_advanced_toolbar_align : "left", + theme_advanced_statusbar_location : "bottom", + theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats", + theme_advanced_more_colors : 1, + theme_advanced_row_height : 23, + theme_advanced_resize_horizontal : 1, + theme_advanced_resizing_use_cookie : 1, + theme_advanced_font_sizes : "1,2,3,4,5,6,7", + theme_advanced_font_selector : "span", + theme_advanced_show_current_color: 0, + readonly : ed.settings.readonly + }, s); + + // Setup default font_size_style_values + if (!s.font_size_style_values) + s.font_size_style_values = "8pt,10pt,12pt,14pt,18pt,24pt,36pt"; + + if (tinymce.is(s.theme_advanced_font_sizes, 'string')) { + s.font_size_style_values = tinymce.explode(s.font_size_style_values); + s.font_size_classes = tinymce.explode(s.font_size_classes || ''); + + // Parse string value + o = {}; + ed.settings.theme_advanced_font_sizes = s.theme_advanced_font_sizes; + each(ed.getParam('theme_advanced_font_sizes', '', 'hash'), function(v, k) { + var cl; + + if (k == v && v >= 1 && v <= 7) { + k = v + ' (' + t.sizes[v - 1] + 'pt)'; + cl = s.font_size_classes[v - 1]; + v = s.font_size_style_values[v - 1] || (t.sizes[v - 1] + 'pt'); + } + + if (/^\s*\./.test(v)) + cl = v.replace(/\./g, ''); + + o[k] = cl ? {'class' : cl} : {fontSize : v}; + }); + + s.theme_advanced_font_sizes = o; + } + + if ((v = s.theme_advanced_path_location) && v != 'none') + s.theme_advanced_statusbar_location = s.theme_advanced_path_location; + + if (s.theme_advanced_statusbar_location == 'none') + s.theme_advanced_statusbar_location = 0; + + if (ed.settings.content_css !== false) + ed.contentCSS.push(ed.baseURI.toAbsolute(url + "/skins/" + ed.settings.skin + "/content.css")); + + // Init editor + ed.onInit.add(function() { + if (!ed.settings.readonly) { + ed.onNodeChange.add(t._nodeChanged, t); + ed.onKeyUp.add(t._updateUndoStatus, t); + ed.onMouseUp.add(t._updateUndoStatus, t); + ed.dom.bind(ed.dom.getRoot(), 'dragend', function() { + t._updateUndoStatus(ed); + }); + } + }); + + ed.onSetProgressState.add(function(ed, b, ti) { + var co, id = ed.id, tb; + + if (b) { + t.progressTimer = setTimeout(function() { + co = ed.getContainer(); + co = co.insertBefore(DOM.create('DIV', {style : 'position:relative'}), co.firstChild); + tb = DOM.get(ed.id + '_tbl'); + + DOM.add(co, 'div', {id : id + '_blocker', 'class' : 'mceBlocker', style : {width : tb.clientWidth + 2, height : tb.clientHeight + 2}}); + DOM.add(co, 'div', {id : id + '_progress', 'class' : 'mceProgress', style : {left : tb.clientWidth / 2, top : tb.clientHeight / 2}}); + }, ti || 0); + } else { + DOM.remove(id + '_blocker'); + DOM.remove(id + '_progress'); + clearTimeout(t.progressTimer); + } + }); + + DOM.loadCSS(s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : url + "/skins/" + ed.settings.skin + "/ui.css"); + + if (s.skin_variant) + DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css"); + }, + + _isHighContrast : function() { + var actualColor, div = DOM.add(DOM.getRoot(), 'div', {'style': 'background-color: rgb(171,239,86);'}); + + actualColor = (DOM.getStyle(div, 'background-color', true) + '').toLowerCase().replace(/ /g, ''); + DOM.remove(div); + + return actualColor != 'rgb(171,239,86)' && actualColor != '#abef56'; + }, + + createControl : function(n, cf) { + var cd, c; + + if (c = cf.createControl(n)) + return c; + + switch (n) { + case "styleselect": + return this._createStyleSelect(); + + case "formatselect": + return this._createBlockFormats(); + + case "fontselect": + return this._createFontSelect(); + + case "fontsizeselect": + return this._createFontSizeSelect(); + + case "forecolor": + return this._createForeColorMenu(); + + case "backcolor": + return this._createBackColorMenu(); + } + + if ((cd = this.controls[n])) + return cf.createButton(n, {title : "advanced." + cd[0], cmd : cd[1], ui : cd[2], value : cd[3]}); + }, + + execCommand : function(cmd, ui, val) { + var f = this['_' + cmd]; + + if (f) { + f.call(this, ui, val); + return true; + } + + return false; + }, + + _importClasses : function(e) { + var ed = this.editor, ctrl = ed.controlManager.get('styleselect'); + + if (ctrl.getLength() == 0) { + each(ed.dom.getClasses(), function(o, idx) { + var name = 'style_' + idx, fmt; + + fmt = { + inline : 'span', + attributes : {'class' : o['class']}, + selector : '*' + }; + + ed.formatter.register(name, fmt); + + ctrl.add(o['class'], name, { + style: function() { + return getPreviewCss(ed, fmt); + } + }); + }); + } + }, + + _createStyleSelect : function(n) { + var t = this, ed = t.editor, ctrlMan = ed.controlManager, ctrl; + + // Setup style select box + ctrl = ctrlMan.createListBox('styleselect', { + title : 'advanced.style_select', + onselect : function(name) { + var matches, formatNames = [], removedFormat; + + each(ctrl.items, function(item) { + formatNames.push(item.value); + }); + + ed.focus(); + ed.undoManager.add(); + + // Toggle off the current format(s) + matches = ed.formatter.matchAll(formatNames); + tinymce.each(matches, function(match) { + if (!name || match == name) { + if (match) + ed.formatter.remove(match); + + removedFormat = true; + } + }); + + if (!removedFormat) + ed.formatter.apply(name); + + ed.undoManager.add(); + ed.nodeChanged(); + + return false; // No auto select + } + }); + + // Handle specified format + ed.onPreInit.add(function() { + var counter = 0, formats = ed.getParam('style_formats'); + + if (formats) { + each(formats, function(fmt) { + var name, keys = 0; + + each(fmt, function() {keys++;}); + + if (keys > 1) { + name = fmt.name = fmt.name || 'style_' + (counter++); + ed.formatter.register(name, fmt); + ctrl.add(fmt.title, name, { + style: function() { + return getPreviewCss(ed, fmt); + } + }); + } else + ctrl.add(fmt.title); + }); + } else { + each(ed.getParam('theme_advanced_styles', '', 'hash'), function(val, key) { + var name, fmt; + + if (val) { + name = 'style_' + (counter++); + fmt = { + inline : 'span', + classes : val, + selector : '*' + }; + + ed.formatter.register(name, fmt); + ctrl.add(t.editor.translate(key), name, { + style: function() { + return getPreviewCss(ed, fmt); + } + }); + } + }); + } + }); + + // Auto import classes if the ctrl box is empty + if (ctrl.getLength() == 0) { + ctrl.onPostRender.add(function(ed, n) { + if (!ctrl.NativeListBox) { + Event.add(n.id + '_text', 'focus', t._importClasses, t); + Event.add(n.id + '_text', 'mousedown', t._importClasses, t); + Event.add(n.id + '_open', 'focus', t._importClasses, t); + Event.add(n.id + '_open', 'mousedown', t._importClasses, t); + } else + Event.add(n.id, 'focus', t._importClasses, t); + }); + } + + return ctrl; + }, + + _createFontSelect : function() { + var c, t = this, ed = t.editor; + + c = ed.controlManager.createListBox('fontselect', { + title : 'advanced.fontdefault', + onselect : function(v) { + var cur = c.items[c.selectedIndex]; + + if (!v && cur) { + ed.execCommand('FontName', false, cur.value); + return; + } + + ed.execCommand('FontName', false, v); + + // Fake selection, execCommand will fire a nodeChange and update the selection + c.select(function(sv) { + return v == sv; + }); + + if (cur && cur.value == v) { + c.select(null); + } + + return false; // No auto select + } + }); + + if (c) { + each(ed.getParam('theme_advanced_fonts', t.settings.theme_advanced_fonts, 'hash'), function(v, k) { + c.add(ed.translate(k), v, {style : v.indexOf('dings') == -1 ? 'font-family:' + v : ''}); + }); + } + + return c; + }, + + _createFontSizeSelect : function() { + var t = this, ed = t.editor, c, i = 0, cl = []; + + c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) { + var cur = c.items[c.selectedIndex]; + + if (!v && cur) { + cur = cur.value; + + if (cur['class']) { + ed.formatter.toggle('fontsize_class', {value : cur['class']}); + ed.undoManager.add(); + ed.nodeChanged(); + } else { + ed.execCommand('FontSize', false, cur.fontSize); + } + + return; + } + + if (v['class']) { + ed.focus(); + ed.undoManager.add(); + ed.formatter.toggle('fontsize_class', {value : v['class']}); + ed.undoManager.add(); + ed.nodeChanged(); + } else + ed.execCommand('FontSize', false, v.fontSize); + + // Fake selection, execCommand will fire a nodeChange and update the selection + c.select(function(sv) { + return v == sv; + }); + + if (cur && (cur.value.fontSize == v.fontSize || cur.value['class'] && cur.value['class'] == v['class'])) { + c.select(null); + } + + return false; // No auto select + }}); + + if (c) { + each(t.settings.theme_advanced_font_sizes, function(v, k) { + var fz = v.fontSize; + + if (fz >= 1 && fz <= 7) + fz = t.sizes[parseInt(fz) - 1] + 'pt'; + + c.add(k, v, {'style' : 'font-size:' + fz, 'class' : 'mceFontSize' + (i++) + (' ' + (v['class'] || ''))}); + }); + } + + return c; + }, + + _createBlockFormats : function() { + var c, fmts = { + p : 'advanced.paragraph', + address : 'advanced.address', + pre : 'advanced.pre', + h1 : 'advanced.h1', + h2 : 'advanced.h2', + h3 : 'advanced.h3', + h4 : 'advanced.h4', + h5 : 'advanced.h5', + h6 : 'advanced.h6', + div : 'advanced.div', + blockquote : 'advanced.blockquote', + code : 'advanced.code', + dt : 'advanced.dt', + dd : 'advanced.dd', + samp : 'advanced.samp' + }, t = this; + + c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', onselect : function(v) { + t.editor.execCommand('FormatBlock', false, v); + return false; + }}); + + if (c) { + each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function(v, k) { + c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v, style: function() { + return getPreviewCss(t.editor, {block: v}); + }}); + }); + } + + return c; + }, + + _createForeColorMenu : function() { + var c, t = this, s = t.settings, o = {}, v; + + if (s.theme_advanced_more_colors) { + o.more_colors_func = function() { + t._mceColorPicker(0, { + color : c.value, + func : function(co) { + c.setColor(co); + } + }); + }; + } + + if (v = s.theme_advanced_text_colors) + o.colors = v; + + if (s.theme_advanced_default_foreground_color) + o.default_color = s.theme_advanced_default_foreground_color; + + o.title = 'advanced.forecolor_desc'; + o.cmd = 'ForeColor'; + o.scope = this; + + c = t.editor.controlManager.createColorSplitButton('forecolor', o); + + return c; + }, + + _createBackColorMenu : function() { + var c, t = this, s = t.settings, o = {}, v; + + if (s.theme_advanced_more_colors) { + o.more_colors_func = function() { + t._mceColorPicker(0, { + color : c.value, + func : function(co) { + c.setColor(co); + } + }); + }; + } + + if (v = s.theme_advanced_background_colors) + o.colors = v; + + if (s.theme_advanced_default_background_color) + o.default_color = s.theme_advanced_default_background_color; + + o.title = 'advanced.backcolor_desc'; + o.cmd = 'HiliteColor'; + o.scope = this; + + c = t.editor.controlManager.createColorSplitButton('backcolor', o); + + return c; + }, + + renderUI : function(o) { + var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl; + + if (ed.settings) { + ed.settings.aria_label = s.aria_label + ed.getLang('advanced.help_shortcut'); + } + + // TODO: ACC Should have an aria-describedby attribute which is user-configurable to describe what this field is actually for. + // Maybe actually inherit it from the original textara? + n = p = DOM.create('span', {role : 'application', 'aria-labelledby' : ed.id + '_voice', id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '') + (ed.settings.directionality == "rtl" ? ' mceRtl' : '')}); + DOM.add(n, 'span', {'class': 'mceVoiceLabel', 'style': 'display:none;', id: ed.id + '_voice'}, s.aria_label); + + if (!DOM.boxModel) + n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'}); + + n = sc = DOM.add(n, 'table', {role : "presentation", id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0}); + n = tb = DOM.add(n, 'tbody'); + + switch ((s.theme_advanced_layout_manager || '').toLowerCase()) { + case "rowlayout": + ic = t._rowLayout(s, tb, o); + break; + + case "customlayout": + ic = ed.execCallback("theme_advanced_custom_layout", s, tb, o, p); + break; + + default: + ic = t._simpleLayout(s, tb, o, p); + } + + n = o.targetNode; + + // Add classes to first and last TRs + nl = sc.rows; + DOM.addClass(nl[0], 'mceFirst'); + DOM.addClass(nl[nl.length - 1], 'mceLast'); + + // Add classes to first and last TDs + each(DOM.select('tr', tb), function(n) { + DOM.addClass(n.firstChild, 'mceFirst'); + DOM.addClass(n.childNodes[n.childNodes.length - 1], 'mceLast'); + }); + + if (DOM.get(s.theme_advanced_toolbar_container)) + DOM.get(s.theme_advanced_toolbar_container).appendChild(p); + else + DOM.insertAfter(p, n); + + Event.add(ed.id + '_path_row', 'click', function(e) { + e = e.target; + + if (e.nodeName == 'A') { + t._sel(e.className.replace(/^.*mcePath_([0-9]+).*$/, '$1')); + return false; + } + }); +/* + if (DOM.get(ed.id + '_path_row')) { + Event.add(ed.id + '_tbl', 'mouseover', function(e) { + var re; + + e = e.target; + + if (e.nodeName == 'SPAN' && DOM.hasClass(e.parentNode, 'mceButton')) { + re = DOM.get(ed.id + '_path_row'); + t.lastPath = re.innerHTML; + DOM.setHTML(re, e.parentNode.title); + } + }); + + Event.add(ed.id + '_tbl', 'mouseout', function(e) { + if (t.lastPath) { + DOM.setHTML(ed.id + '_path_row', t.lastPath); + t.lastPath = 0; + } + }); + } +*/ + + if (!ed.getParam('accessibility_focus')) + Event.add(DOM.add(p, 'a', {href : '#'}, ''), 'focus', function() {tinyMCE.get(ed.id).focus();}); + + if (s.theme_advanced_toolbar_location == 'external') + o.deltaHeight = 0; + + t.deltaHeight = o.deltaHeight; + o.targetNode = null; + + ed.onKeyDown.add(function(ed, evt) { + var DOM_VK_F10 = 121, DOM_VK_F11 = 122; + + if (evt.altKey) { + if (evt.keyCode === DOM_VK_F10) { + // Make sure focus is given to toolbar in Safari. + // We can't do this in IE as it prevents giving focus to toolbar when editor is in a frame + if (tinymce.isWebKit) { + window.focus(); + } + t.toolbarGroup.focus(); + return Event.cancel(evt); + } else if (evt.keyCode === DOM_VK_F11) { + DOM.get(ed.id + '_path_row').focus(); + return Event.cancel(evt); + } + } + }); + + // alt+0 is the UK recommended shortcut for accessing the list of access controls. + ed.addShortcut('alt+0', '', 'mceShortcuts', t); + + return { + iframeContainer : ic, + editorContainer : ed.id + '_parent', + sizeContainer : sc, + deltaHeight : o.deltaHeight + }; + }, + + getInfo : function() { + return { + longname : 'Advanced theme', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + version : tinymce.majorVersion + "." + tinymce.minorVersion + } + }, + + resizeBy : function(dw, dh) { + var e = DOM.get(this.editor.id + '_ifr'); + + this.resizeTo(e.clientWidth + dw, e.clientHeight + dh); + }, + + resizeTo : function(w, h, store) { + var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr'); + + // Boundery fix box + w = Math.max(s.theme_advanced_resizing_min_width || 100, w); + h = Math.max(s.theme_advanced_resizing_min_height || 100, h); + w = Math.min(s.theme_advanced_resizing_max_width || 0xFFFF, w); + h = Math.min(s.theme_advanced_resizing_max_height || 0xFFFF, h); + + // Resize iframe and container + DOM.setStyle(e, 'height', ''); + DOM.setStyle(ifr, 'height', h); + + if (s.theme_advanced_resize_horizontal) { + DOM.setStyle(e, 'width', ''); + DOM.setStyle(ifr, 'width', w); + + // Make sure that the size is never smaller than the over all ui + if (w < e.clientWidth) { + w = e.clientWidth; + DOM.setStyle(ifr, 'width', e.clientWidth); + } + } + + // Store away the size + if (store && s.theme_advanced_resizing_use_cookie) { + Cookie.setHash("TinyMCE_" + ed.id + "_size", { + cw : w, + ch : h + }); + } + }, + + destroy : function() { + var id = this.editor.id; + + Event.clear(id + '_resize'); + Event.clear(id + '_path_row'); + Event.clear(id + '_external_close'); + }, + + // Internal functions + + _simpleLayout : function(s, tb, o, p) { + var t = this, ed = t.editor, lo = s.theme_advanced_toolbar_location, sl = s.theme_advanced_statusbar_location, n, ic, etb, c; + + if (s.readonly) { + n = DOM.add(tb, 'tr'); + n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); + return ic; + } + + // Create toolbar container at top + if (lo == 'top') + t._addToolbars(tb, o); + + // Create external toolbar + if (lo == 'external') { + n = c = DOM.create('div', {style : 'position:relative'}); + n = DOM.add(n, 'div', {id : ed.id + '_external', 'class' : 'mceExternalToolbar'}); + DOM.add(n, 'a', {id : ed.id + '_external_close', href : 'javascript:;', 'class' : 'mceExternalClose'}); + n = DOM.add(n, 'table', {id : ed.id + '_tblext', cellSpacing : 0, cellPadding : 0}); + etb = DOM.add(n, 'tbody'); + + if (p.firstChild.className == 'mceOldBoxModel') + p.firstChild.appendChild(c); + else + p.insertBefore(c, p.firstChild); + + t._addToolbars(etb, o); + + ed.onMouseUp.add(function() { + var e = DOM.get(ed.id + '_external'); + DOM.show(e); + + DOM.hide(lastExtID); + + var f = Event.add(ed.id + '_external_close', 'click', function() { + DOM.hide(ed.id + '_external'); + Event.remove(ed.id + '_external_close', 'click', f); + return false; + }); + + DOM.show(e); + DOM.setStyle(e, 'top', 0 - DOM.getRect(ed.id + '_tblext').h - 1); + + // Fixes IE rendering bug + DOM.hide(e); + DOM.show(e); + e.style.filter = ''; + + lastExtID = ed.id + '_external'; + + e = null; + }); + } + + if (sl == 'top') + t._addStatusBar(tb, o); + + // Create iframe container + if (!s.theme_advanced_toolbar_container) { + n = DOM.add(tb, 'tr'); + n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); + } + + // Create toolbar container at bottom + if (lo == 'bottom') + t._addToolbars(tb, o); + + if (sl == 'bottom') + t._addStatusBar(tb, o); + + return ic; + }, + + _rowLayout : function(s, tb, o) { + var t = this, ed = t.editor, dc, da, cf = ed.controlManager, n, ic, to, a; + + dc = s.theme_advanced_containers_default_class || ''; + da = s.theme_advanced_containers_default_align || 'center'; + + each(explode(s.theme_advanced_containers || ''), function(c, i) { + var v = s['theme_advanced_container_' + c] || ''; + + switch (c.toLowerCase()) { + case 'mceeditor': + n = DOM.add(tb, 'tr'); + n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); + break; + + case 'mceelementpath': + t._addStatusBar(tb, o); + break; + + default: + a = (s['theme_advanced_container_' + c + '_align'] || da).toLowerCase(); + a = 'mce' + t._ufirst(a); + + n = DOM.add(DOM.add(tb, 'tr'), 'td', { + 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + a || da + }); + + to = cf.createToolbar("toolbar" + i); + t._addControls(v, to); + DOM.setHTML(n, to.renderHTML()); + o.deltaHeight -= s.theme_advanced_row_height; + } + }); + + return ic; + }, + + _addControls : function(v, tb) { + var t = this, s = t.settings, di, cf = t.editor.controlManager; + + if (s.theme_advanced_disable && !t._disabled) { + di = {}; + + each(explode(s.theme_advanced_disable), function(v) { + di[v] = 1; + }); + + t._disabled = di; + } else + di = t._disabled; + + each(explode(v), function(n) { + var c; + + if (di && di[n]) + return; + + // Compatiblity with 2.x + if (n == 'tablecontrols') { + each(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"], function(n) { + n = t.createControl(n, cf); + + if (n) + tb.add(n); + }); + + return; + } + + c = t.createControl(n, cf); + + if (c) + tb.add(c); + }); + }, + + _addToolbars : function(c, o) { + var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a, toolbarGroup, toolbarsExist = false; + + toolbarGroup = cf.createToolbarGroup('toolbargroup', { + 'name': ed.getLang('advanced.toolbar'), + 'tab_focus_toolbar':ed.getParam('theme_advanced_tab_focus_toolbar') + }); + + t.toolbarGroup = toolbarGroup; + + a = s.theme_advanced_toolbar_align.toLowerCase(); + a = 'mce' + t._ufirst(a); + + n = DOM.add(DOM.add(c, 'tr', {role: 'toolbar'}), 'td', {'class' : 'mceToolbar ' + a, "role":"toolbar"}); + + // Create toolbar and add the controls + for (i=1; (v = s['theme_advanced_buttons' + i]); i++) { + toolbarsExist = true; + tb = cf.createToolbar("toolbar" + i, {'class' : 'mceToolbarRow' + i}); + + if (s['theme_advanced_buttons' + i + '_add']) + v += ',' + s['theme_advanced_buttons' + i + '_add']; + + if (s['theme_advanced_buttons' + i + '_add_before']) + v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v; + + t._addControls(v, tb); + toolbarGroup.add(tb); + + o.deltaHeight -= s.theme_advanced_row_height; + } + // Handle case when there are no toolbar buttons and ensure editor height is adjusted accordingly + if (!toolbarsExist) + o.deltaHeight -= s.theme_advanced_row_height; + h.push(toolbarGroup.renderHTML()); + h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '')); + DOM.setHTML(n, h.join('')); + }, + + _addStatusBar : function(tb, o) { + var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td; + + n = DOM.add(tb, 'tr'); + n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'}); + n = DOM.add(n, 'div', {id : ed.id + '_path_row', 'role': 'group', 'aria-labelledby': ed.id + '_path_voice'}); + if (s.theme_advanced_path) { + DOM.add(n, 'span', {id: ed.id + '_path_voice'}, ed.translate('advanced.path')); + DOM.add(n, 'span', {}, ': '); + } else { + DOM.add(n, 'span', {}, ' '); + } + + + if (s.theme_advanced_resizing) { + DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize', tabIndex:"-1"}); + + if (s.theme_advanced_resizing_use_cookie) { + ed.onPostRender.add(function() { + var o = Cookie.getHash("TinyMCE_" + ed.id + "_size"), c = DOM.get(ed.id + '_tbl'); + + if (!o) + return; + + t.resizeTo(o.cw, o.ch); + }); + } + + ed.onPostRender.add(function() { + Event.add(ed.id + '_resize', 'click', function(e) { + e.preventDefault(); + }); + + Event.add(ed.id + '_resize', 'mousedown', function(e) { + var mouseMoveHandler1, mouseMoveHandler2, + mouseUpHandler1, mouseUpHandler2, + startX, startY, startWidth, startHeight, width, height, ifrElm; + + function resizeOnMove(e) { + e.preventDefault(); + + width = startWidth + (e.screenX - startX); + height = startHeight + (e.screenY - startY); + + t.resizeTo(width, height); + }; + + function endResize(e) { + // Stop listening + Event.remove(DOM.doc, 'mousemove', mouseMoveHandler1); + Event.remove(ed.getDoc(), 'mousemove', mouseMoveHandler2); + Event.remove(DOM.doc, 'mouseup', mouseUpHandler1); + Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2); + + width = startWidth + (e.screenX - startX); + height = startHeight + (e.screenY - startY); + t.resizeTo(width, height, true); + + ed.nodeChanged(); + }; + + e.preventDefault(); + + // Get the current rect size + startX = e.screenX; + startY = e.screenY; + ifrElm = DOM.get(t.editor.id + '_ifr'); + startWidth = width = ifrElm.clientWidth; + startHeight = height = ifrElm.clientHeight; + + // Register envent handlers + mouseMoveHandler1 = Event.add(DOM.doc, 'mousemove', resizeOnMove); + mouseMoveHandler2 = Event.add(ed.getDoc(), 'mousemove', resizeOnMove); + mouseUpHandler1 = Event.add(DOM.doc, 'mouseup', endResize); + mouseUpHandler2 = Event.add(ed.getDoc(), 'mouseup', endResize); + }); + }); + } + + o.deltaHeight -= 21; + n = tb = null; + }, + + _updateUndoStatus : function(ed) { + var cm = ed.controlManager, um = ed.undoManager; + + cm.setDisabled('undo', !um.hasUndo() && !um.typing); + cm.setDisabled('redo', !um.hasRedo()); + }, + + _nodeChanged : function(ed, cm, n, co, ob) { + var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, fc, bc, formatNames, matches; + + tinymce.each(t.stateControls, function(c) { + cm.setActive(c, ed.queryCommandState(t.controls[c][1])); + }); + + function getParent(name) { + var i, parents = ob.parents, func = name; + + if (typeof(name) == 'string') { + func = function(node) { + return node.nodeName == name; + }; + } + + for (i = 0; i < parents.length; i++) { + if (func(parents[i])) + return parents[i]; + } + }; + + cm.setActive('visualaid', ed.hasVisual); + t._updateUndoStatus(ed); + cm.setDisabled('outdent', !ed.queryCommandState('Outdent')); + + p = getParent('A'); + if (c = cm.get('link')) { + c.setDisabled((!p && co) || (p && !p.href)); + c.setActive(!!p && (!p.name && !p.id)); + } + + if (c = cm.get('unlink')) { + c.setDisabled(!p && co); + c.setActive(!!p && !p.name && !p.id); + } + + if (c = cm.get('anchor')) { + c.setActive(!co && !!p && (p.name || (p.id && !p.href))); + } + + p = getParent('IMG'); + if (c = cm.get('image')) + c.setActive(!co && !!p && n.className.indexOf('mceItem') == -1); + + if (c = cm.get('styleselect')) { + t._importClasses(); + + formatNames = []; + each(c.items, function(item) { + formatNames.push(item.value); + }); + + matches = ed.formatter.matchAll(formatNames); + c.select(matches[0]); + tinymce.each(matches, function(match, index) { + if (index > 0) { + c.mark(match); + } + }); + } + + if (c = cm.get('formatselect')) { + p = getParent(ed.dom.isBlock); + + if (p) + c.select(p.nodeName.toLowerCase()); + } + + // Find out current fontSize, fontFamily and fontClass + getParent(function(n) { + if (n.nodeName === 'SPAN') { + if (!cl && n.className) + cl = n.className; + } + + if (ed.dom.is(n, s.theme_advanced_font_selector)) { + if (!fz && n.style.fontSize) + fz = n.style.fontSize; + + if (!fn && n.style.fontFamily) + fn = n.style.fontFamily.replace(/[\"\']+/g, '').replace(/^([^,]+).*/, '$1').toLowerCase(); + + if (!fc && n.style.color) + fc = n.style.color; + + if (!bc && n.style.backgroundColor) + bc = n.style.backgroundColor; + } + + return false; + }); + + if (c = cm.get('fontselect')) { + c.select(function(v) { + return v.replace(/^([^,]+).*/, '$1').toLowerCase() == fn; + }); + } + + // Select font size + if (c = cm.get('fontsizeselect')) { + // Use computed style + if (s.theme_advanced_runtime_fontsize && !fz && !cl) + fz = ed.dom.getStyle(n, 'fontSize', true); + + c.select(function(v) { + if (v.fontSize && v.fontSize === fz) + return true; + + if (v['class'] && v['class'] === cl) + return true; + }); + } + + if (s.theme_advanced_show_current_color) { + function updateColor(controlId, color) { + if (c = cm.get(controlId)) { + if (!color) + color = c.settings.default_color; + if (color !== c.value) { + c.displayColor(color); + } + } + } + updateColor('forecolor', fc); + updateColor('backcolor', bc); + } + + if (s.theme_advanced_show_current_color) { + function updateColor(controlId, color) { + if (c = cm.get(controlId)) { + if (!color) + color = c.settings.default_color; + if (color !== c.value) { + c.displayColor(color); + } + } + }; + + updateColor('forecolor', fc); + updateColor('backcolor', bc); + } + + if (s.theme_advanced_path && s.theme_advanced_statusbar_location) { + p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'}); + + if (t.statusKeyboardNavigation) { + t.statusKeyboardNavigation.destroy(); + t.statusKeyboardNavigation = null; + } + + DOM.setHTML(p, ''); + + getParent(function(n) { + var na = n.nodeName.toLowerCase(), u, pi, ti = ''; + + // Ignore non element and bogus/hidden elements + if (n.nodeType != 1 || na === 'br' || n.getAttribute('data-mce-bogus') || DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved')) + return; + + // Handle prefix + if (tinymce.isIE && n.scopeName !== 'HTML' && n.scopeName) + na = n.scopeName + ':' + na; + + // Remove internal prefix + na = na.replace(/mce\:/g, ''); + + // Handle node name + switch (na) { + case 'b': + na = 'strong'; + break; + + case 'i': + na = 'em'; + break; + + case 'img': + if (v = DOM.getAttrib(n, 'src')) + ti += 'src: ' + v + ' '; + + break; + + case 'a': + if (v = DOM.getAttrib(n, 'name')) { + ti += 'name: ' + v + ' '; + na += '#' + v; + } + + if (v = DOM.getAttrib(n, 'href')) + ti += 'href: ' + v + ' '; + + break; + + case 'font': + if (v = DOM.getAttrib(n, 'face')) + ti += 'font: ' + v + ' '; + + if (v = DOM.getAttrib(n, 'size')) + ti += 'size: ' + v + ' '; + + if (v = DOM.getAttrib(n, 'color')) + ti += 'color: ' + v + ' '; + + break; + + case 'span': + if (v = DOM.getAttrib(n, 'style')) + ti += 'style: ' + v + ' '; + + break; + } + + if (v = DOM.getAttrib(n, 'id')) + ti += 'id: ' + v + ' '; + + if (v = n.className) { + v = v.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g, ''); + + if (v) { + ti += 'class: ' + v + ' '; + + if (ed.dom.isBlock(n) || na == 'img' || na == 'span') + na += '.' + v; + } + } + + na = na.replace(/(html:)/g, ''); + na = {name : na, node : n, title : ti}; + t.onResolveName.dispatch(t, na); + ti = na.title; + na = na.name; + + //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');"; + pi = DOM.create('a', {'href' : "javascript:;", role: 'button', onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na); + + if (p.hasChildNodes()) { + p.insertBefore(DOM.create('span', {'aria-hidden': 'true'}, '\u00a0\u00bb '), p.firstChild); + p.insertBefore(pi, p.firstChild); + } else + p.appendChild(pi); + }, ed.getBody()); + + if (DOM.select('a', p).length > 0) { + t.statusKeyboardNavigation = new tinymce.ui.KeyboardNavigation({ + root: ed.id + "_path_row", + items: DOM.select('a', p), + excludeFromTabOrder: true, + onCancel: function() { + ed.focus(); + } + }, DOM); + } + } + }, + + // Commands gets called by execCommand + + _sel : function(v) { + this.editor.execCommand('mceSelectNodeDepth', false, v); + }, + + _mceInsertAnchor : function(ui, v) { + var ed = this.editor; + + ed.windowManager.open({ + url : this.url + '/anchor.htm', + width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)), + height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)), + inline : true + }, { + theme_url : this.url + }); + }, + + _mceCharMap : function() { + var ed = this.editor; + + ed.windowManager.open({ + url : this.url + '/charmap.htm', + width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)), + height : 265 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)), + inline : true + }, { + theme_url : this.url + }); + }, + + _mceHelp : function() { + var ed = this.editor; + + ed.windowManager.open({ + url : this.url + '/about.htm', + width : 480, + height : 380, + inline : true + }, { + theme_url : this.url + }); + }, + + _mceShortcuts : function() { + var ed = this.editor; + ed.windowManager.open({ + url: this.url + '/shortcuts.htm', + width: 480, + height: 380, + inline: true + }, { + theme_url: this.url + }); + }, + + _mceColorPicker : function(u, v) { + var ed = this.editor; + + v = v || {}; + + ed.windowManager.open({ + url : this.url + '/color_picker.htm', + width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)), + height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)), + close_previous : false, + inline : true + }, { + input_color : v.color, + func : v.func, + theme_url : this.url + }); + }, + + _mceCodeEditor : function(ui, val) { + var ed = this.editor; + + ed.windowManager.open({ + url : this.url + '/source_editor.htm', + width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)), + height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)), + inline : true, + resizable : true, + maximizable : true + }, { + theme_url : this.url + }); + }, + + _mceImage : function(ui, val) { + var ed = this.editor; + + // Internal image object like a flash placeholder + if (ed.dom.getAttrib(ed.selection.getNode(), 'class', '').indexOf('mceItem') != -1) + return; + + ed.windowManager.open({ + url : this.url + '/image.htm', + width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)), + height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)), + inline : true + }, { + theme_url : this.url + }); + }, + + _mceLink : function(ui, val) { + var ed = this.editor; + + ed.windowManager.open({ + url : this.url + '/link.htm', + width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)), + height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)), + inline : true + }, { + theme_url : this.url + }); + }, + + _mceNewDocument : function() { + var ed = this.editor; + + ed.windowManager.confirm('advanced.newdocument', function(s) { + if (s) + ed.execCommand('mceSetContent', false, ''); + }); + }, + + _mceForeColor : function() { + var t = this; + + this._mceColorPicker(0, { + color: t.fgColor, + func : function(co) { + t.fgColor = co; + t.editor.execCommand('ForeColor', false, co); + } + }); + }, + + _mceBackColor : function() { + var t = this; + + this._mceColorPicker(0, { + color: t.bgColor, + func : function(co) { + t.bgColor = co; + t.editor.execCommand('HiliteColor', false, co); + } + }); + }, + + _ufirst : function(s) { + return s.substring(0, 1).toUpperCase() + s.substring(1); + } + }); + + tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme); +}(tinymce)); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm new file mode 100755 index 00000000..b8ba729f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/image.htm @@ -0,0 +1,80 @@ + + + + {#advanced_dlg.image_title} + + + + + + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    + x +
    +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg new file mode 100644 index 00000000..b1a377ab Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/colorpicker.jpg differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif new file mode 100644 index 00000000..dec3f7c7 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/flash.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif new file mode 100644 index 00000000..ca222490 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/icons.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif new file mode 100644 index 00000000..410c7ad0 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/iframe.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif new file mode 100644 index 00000000..acdf4085 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/pagebreak.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif new file mode 100644 index 00000000..8f10e7aa Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/quicktime.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif new file mode 100644 index 00000000..fdfe0b9a Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/realmedia.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif new file mode 100644 index 00000000..9314d044 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/shockwave.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif new file mode 100644 index 00000000..38848651 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/trans.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif new file mode 100644 index 00000000..35701040 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/video.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif new file mode 100644 index 00000000..ab50f2d8 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/img/windowsmedia.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js new file mode 100644 index 00000000..5b358457 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/about.js @@ -0,0 +1,73 @@ +tinyMCEPopup.requireLangPack(); + +function init() { + var ed, tcont; + + tinyMCEPopup.resizeToInnerSize(); + ed = tinyMCEPopup.editor; + + // Give FF some time + window.setTimeout(insertHelpIFrame, 10); + + tcont = document.getElementById('plugintablecontainer'); + document.getElementById('plugins_tab').style.display = 'none'; + + var html = ""; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + + tinymce.each(ed.plugins, function(p, n) { + var info; + + if (!p.getInfo) + return; + + html += ''; + + info = p.getInfo(); + + if (info.infourl != null && info.infourl != '') + html += ''; + else + html += ''; + + if (info.authorurl != null && info.authorurl != '') + html += ''; + else + html += ''; + + html += ''; + html += ''; + + document.getElementById('plugins_tab').style.display = ''; + + }); + + html += ''; + html += '
    ' + ed.getLang('advanced_dlg.about_plugin') + '' + ed.getLang('advanced_dlg.about_author') + '' + ed.getLang('advanced_dlg.about_version') + '
    ' + info.longname + '' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
    '; + + tcont.innerHTML = html; + + tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; + tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate; +} + +function insertHelpIFrame() { + var html; + + if (tinyMCEPopup.getParam('docs_url')) { + html = ''; + document.getElementById('iframecontainer').innerHTML = html; + document.getElementById('help_tab').style.display = 'block'; + document.getElementById('help_tab').setAttribute("aria-hidden", "false"); + } +} + +tinyMCEPopup.onInit.add(init); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js new file mode 100644 index 00000000..2909a3a4 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/anchor.js @@ -0,0 +1,56 @@ +tinyMCEPopup.requireLangPack(); + +var AnchorDialog = { + init : function(ed) { + var action, elm, f = document.forms[0]; + + this.editor = ed; + elm = ed.dom.getParent(ed.selection.getNode(), 'A'); + v = ed.dom.getAttrib(elm, 'name') || ed.dom.getAttrib(elm, 'id'); + + if (v) { + this.action = 'update'; + f.anchorName.value = v; + } + + f.insert.value = ed.getLang(elm ? 'update' : 'insert'); + }, + + update : function() { + var ed = this.editor, elm, name = document.forms[0].anchorName.value, attribName; + + if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) { + tinyMCEPopup.alert('advanced_dlg.anchor_invalid'); + return; + } + + tinyMCEPopup.restoreSelection(); + + if (this.action != 'update') + ed.selection.collapse(1); + + var aRule = ed.schema.getElementRule('a'); + if (!aRule || aRule.attributes.name) { + attribName = 'name'; + } else { + attribName = 'id'; + } + + elm = ed.dom.getParent(ed.selection.getNode(), 'A'); + if (elm) { + elm.setAttribute(attribName, name); + elm[attribName] = name; + ed.undoManager.add(); + } else { + // create with zero-sized nbsp so that in Webkit where anchor is on last line by itself caret cannot be placed after it + var attrs = {'class' : 'mceItemAnchor'}; + attrs[attribName] = name; + ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', attrs, '\uFEFF')); + ed.nodeChanged(); + } + + tinyMCEPopup.close(); + } +}; + +tinyMCEPopup.onInit.add(AnchorDialog.init, AnchorDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js new file mode 100644 index 00000000..bb186955 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/charmap.js @@ -0,0 +1,363 @@ +/** + * charmap.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +tinyMCEPopup.requireLangPack(); + +var charmap = [ + [' ', ' ', true, 'no-break space'], + ['&', '&', true, 'ampersand'], + ['"', '"', true, 'quotation mark'], +// finance + ['¢', '¢', true, 'cent sign'], + ['€', '€', true, 'euro sign'], + ['£', '£', true, 'pound sign'], + ['¥', '¥', true, 'yen sign'], +// signs + ['©', '©', true, 'copyright sign'], + ['®', '®', true, 'registered sign'], + ['™', '™', true, 'trade mark sign'], + ['‰', '‰', true, 'per mille sign'], + ['µ', 'µ', true, 'micro sign'], + ['·', '·', true, 'middle dot'], + ['•', '•', true, 'bullet'], + ['…', '…', true, 'three dot leader'], + ['′', '′', true, 'minutes / feet'], + ['″', '″', true, 'seconds / inches'], + ['§', '§', true, 'section sign'], + ['¶', '¶', true, 'paragraph sign'], + ['ß', 'ß', true, 'sharp s / ess-zed'], +// quotations + ['‹', '‹', true, 'single left-pointing angle quotation mark'], + ['›', '›', true, 'single right-pointing angle quotation mark'], + ['«', '«', true, 'left pointing guillemet'], + ['»', '»', true, 'right pointing guillemet'], + ['‘', '‘', true, 'left single quotation mark'], + ['’', '’', true, 'right single quotation mark'], + ['“', '“', true, 'left double quotation mark'], + ['”', '”', true, 'right double quotation mark'], + ['‚', '‚', true, 'single low-9 quotation mark'], + ['„', '„', true, 'double low-9 quotation mark'], + ['<', '<', true, 'less-than sign'], + ['>', '>', true, 'greater-than sign'], + ['≤', '≤', true, 'less-than or equal to'], + ['≥', '≥', true, 'greater-than or equal to'], + ['–', '–', true, 'en dash'], + ['—', '—', true, 'em dash'], + ['¯', '¯', true, 'macron'], + ['‾', '‾', true, 'overline'], + ['¤', '¤', true, 'currency sign'], + ['¦', '¦', true, 'broken bar'], + ['¨', '¨', true, 'diaeresis'], + ['¡', '¡', true, 'inverted exclamation mark'], + ['¿', '¿', true, 'turned question mark'], + ['ˆ', 'ˆ', true, 'circumflex accent'], + ['˜', '˜', true, 'small tilde'], + ['°', '°', true, 'degree sign'], + ['−', '−', true, 'minus sign'], + ['±', '±', true, 'plus-minus sign'], + ['÷', '÷', true, 'division sign'], + ['⁄', '⁄', true, 'fraction slash'], + ['×', '×', true, 'multiplication sign'], + ['¹', '¹', true, 'superscript one'], + ['²', '²', true, 'superscript two'], + ['³', '³', true, 'superscript three'], + ['¼', '¼', true, 'fraction one quarter'], + ['½', '½', true, 'fraction one half'], + ['¾', '¾', true, 'fraction three quarters'], +// math / logical + ['ƒ', 'ƒ', true, 'function / florin'], + ['∫', '∫', true, 'integral'], + ['∑', '∑', true, 'n-ary sumation'], + ['∞', '∞', true, 'infinity'], + ['√', '√', true, 'square root'], + ['∼', '∼', false,'similar to'], + ['≅', '≅', false,'approximately equal to'], + ['≈', '≈', true, 'almost equal to'], + ['≠', '≠', true, 'not equal to'], + ['≡', '≡', true, 'identical to'], + ['∈', '∈', false,'element of'], + ['∉', '∉', false,'not an element of'], + ['∋', '∋', false,'contains as member'], + ['∏', '∏', true, 'n-ary product'], + ['∧', '∧', false,'logical and'], + ['∨', '∨', false,'logical or'], + ['¬', '¬', true, 'not sign'], + ['∩', '∩', true, 'intersection'], + ['∪', '∪', false,'union'], + ['∂', '∂', true, 'partial differential'], + ['∀', '∀', false,'for all'], + ['∃', '∃', false,'there exists'], + ['∅', '∅', false,'diameter'], + ['∇', '∇', false,'backward difference'], + ['∗', '∗', false,'asterisk operator'], + ['∝', '∝', false,'proportional to'], + ['∠', '∠', false,'angle'], +// undefined + ['´', '´', true, 'acute accent'], + ['¸', '¸', true, 'cedilla'], + ['ª', 'ª', true, 'feminine ordinal indicator'], + ['º', 'º', true, 'masculine ordinal indicator'], + ['†', '†', true, 'dagger'], + ['‡', '‡', true, 'double dagger'], +// alphabetical special chars + ['À', 'À', true, 'A - grave'], + ['Á', 'Á', true, 'A - acute'], + ['Â', 'Â', true, 'A - circumflex'], + ['Ã', 'Ã', true, 'A - tilde'], + ['Ä', 'Ä', true, 'A - diaeresis'], + ['Å', 'Å', true, 'A - ring above'], + ['Æ', 'Æ', true, 'ligature AE'], + ['Ç', 'Ç', true, 'C - cedilla'], + ['È', 'È', true, 'E - grave'], + ['É', 'É', true, 'E - acute'], + ['Ê', 'Ê', true, 'E - circumflex'], + ['Ë', 'Ë', true, 'E - diaeresis'], + ['Ì', 'Ì', true, 'I - grave'], + ['Í', 'Í', true, 'I - acute'], + ['Î', 'Î', true, 'I - circumflex'], + ['Ï', 'Ï', true, 'I - diaeresis'], + ['Ð', 'Ð', true, 'ETH'], + ['Ñ', 'Ñ', true, 'N - tilde'], + ['Ò', 'Ò', true, 'O - grave'], + ['Ó', 'Ó', true, 'O - acute'], + ['Ô', 'Ô', true, 'O - circumflex'], + ['Õ', 'Õ', true, 'O - tilde'], + ['Ö', 'Ö', true, 'O - diaeresis'], + ['Ø', 'Ø', true, 'O - slash'], + ['Œ', 'Œ', true, 'ligature OE'], + ['Š', 'Š', true, 'S - caron'], + ['Ù', 'Ù', true, 'U - grave'], + ['Ú', 'Ú', true, 'U - acute'], + ['Û', 'Û', true, 'U - circumflex'], + ['Ü', 'Ü', true, 'U - diaeresis'], + ['Ý', 'Ý', true, 'Y - acute'], + ['Ÿ', 'Ÿ', true, 'Y - diaeresis'], + ['Þ', 'Þ', true, 'THORN'], + ['à', 'à', true, 'a - grave'], + ['á', 'á', true, 'a - acute'], + ['â', 'â', true, 'a - circumflex'], + ['ã', 'ã', true, 'a - tilde'], + ['ä', 'ä', true, 'a - diaeresis'], + ['å', 'å', true, 'a - ring above'], + ['æ', 'æ', true, 'ligature ae'], + ['ç', 'ç', true, 'c - cedilla'], + ['è', 'è', true, 'e - grave'], + ['é', 'é', true, 'e - acute'], + ['ê', 'ê', true, 'e - circumflex'], + ['ë', 'ë', true, 'e - diaeresis'], + ['ì', 'ì', true, 'i - grave'], + ['í', 'í', true, 'i - acute'], + ['î', 'î', true, 'i - circumflex'], + ['ï', 'ï', true, 'i - diaeresis'], + ['ð', 'ð', true, 'eth'], + ['ñ', 'ñ', true, 'n - tilde'], + ['ò', 'ò', true, 'o - grave'], + ['ó', 'ó', true, 'o - acute'], + ['ô', 'ô', true, 'o - circumflex'], + ['õ', 'õ', true, 'o - tilde'], + ['ö', 'ö', true, 'o - diaeresis'], + ['ø', 'ø', true, 'o slash'], + ['œ', 'œ', true, 'ligature oe'], + ['š', 'š', true, 's - caron'], + ['ù', 'ù', true, 'u - grave'], + ['ú', 'ú', true, 'u - acute'], + ['û', 'û', true, 'u - circumflex'], + ['ü', 'ü', true, 'u - diaeresis'], + ['ý', 'ý', true, 'y - acute'], + ['þ', 'þ', true, 'thorn'], + ['ÿ', 'ÿ', true, 'y - diaeresis'], + ['Α', 'Α', true, 'Alpha'], + ['Β', 'Β', true, 'Beta'], + ['Γ', 'Γ', true, 'Gamma'], + ['Δ', 'Δ', true, 'Delta'], + ['Ε', 'Ε', true, 'Epsilon'], + ['Ζ', 'Ζ', true, 'Zeta'], + ['Η', 'Η', true, 'Eta'], + ['Θ', 'Θ', true, 'Theta'], + ['Ι', 'Ι', true, 'Iota'], + ['Κ', 'Κ', true, 'Kappa'], + ['Λ', 'Λ', true, 'Lambda'], + ['Μ', 'Μ', true, 'Mu'], + ['Ν', 'Ν', true, 'Nu'], + ['Ξ', 'Ξ', true, 'Xi'], + ['Ο', 'Ο', true, 'Omicron'], + ['Π', 'Π', true, 'Pi'], + ['Ρ', 'Ρ', true, 'Rho'], + ['Σ', 'Σ', true, 'Sigma'], + ['Τ', 'Τ', true, 'Tau'], + ['Υ', 'Υ', true, 'Upsilon'], + ['Φ', 'Φ', true, 'Phi'], + ['Χ', 'Χ', true, 'Chi'], + ['Ψ', 'Ψ', true, 'Psi'], + ['Ω', 'Ω', true, 'Omega'], + ['α', 'α', true, 'alpha'], + ['β', 'β', true, 'beta'], + ['γ', 'γ', true, 'gamma'], + ['δ', 'δ', true, 'delta'], + ['ε', 'ε', true, 'epsilon'], + ['ζ', 'ζ', true, 'zeta'], + ['η', 'η', true, 'eta'], + ['θ', 'θ', true, 'theta'], + ['ι', 'ι', true, 'iota'], + ['κ', 'κ', true, 'kappa'], + ['λ', 'λ', true, 'lambda'], + ['μ', 'μ', true, 'mu'], + ['ν', 'ν', true, 'nu'], + ['ξ', 'ξ', true, 'xi'], + ['ο', 'ο', true, 'omicron'], + ['π', 'π', true, 'pi'], + ['ρ', 'ρ', true, 'rho'], + ['ς', 'ς', true, 'final sigma'], + ['σ', 'σ', true, 'sigma'], + ['τ', 'τ', true, 'tau'], + ['υ', 'υ', true, 'upsilon'], + ['φ', 'φ', true, 'phi'], + ['χ', 'χ', true, 'chi'], + ['ψ', 'ψ', true, 'psi'], + ['ω', 'ω', true, 'omega'], +// symbols + ['ℵ', 'ℵ', false,'alef symbol'], + ['ϖ', 'ϖ', false,'pi symbol'], + ['ℜ', 'ℜ', false,'real part symbol'], + ['ϑ','ϑ', false,'theta symbol'], + ['ϒ', 'ϒ', false,'upsilon - hook symbol'], + ['℘', '℘', false,'Weierstrass p'], + ['ℑ', 'ℑ', false,'imaginary part'], +// arrows + ['←', '←', true, 'leftwards arrow'], + ['↑', '↑', true, 'upwards arrow'], + ['→', '→', true, 'rightwards arrow'], + ['↓', '↓', true, 'downwards arrow'], + ['↔', '↔', true, 'left right arrow'], + ['↵', '↵', false,'carriage return'], + ['⇐', '⇐', false,'leftwards double arrow'], + ['⇑', '⇑', false,'upwards double arrow'], + ['⇒', '⇒', false,'rightwards double arrow'], + ['⇓', '⇓', false,'downwards double arrow'], + ['⇔', '⇔', false,'left right double arrow'], + ['∴', '∴', false,'therefore'], + ['⊂', '⊂', false,'subset of'], + ['⊃', '⊃', false,'superset of'], + ['⊄', '⊄', false,'not a subset of'], + ['⊆', '⊆', false,'subset of or equal to'], + ['⊇', '⊇', false,'superset of or equal to'], + ['⊕', '⊕', false,'circled plus'], + ['⊗', '⊗', false,'circled times'], + ['⊥', '⊥', false,'perpendicular'], + ['⋅', '⋅', false,'dot operator'], + ['⌈', '⌈', false,'left ceiling'], + ['⌉', '⌉', false,'right ceiling'], + ['⌊', '⌊', false,'left floor'], + ['⌋', '⌋', false,'right floor'], + ['⟨', '〈', false,'left-pointing angle bracket'], + ['⟩', '〉', false,'right-pointing angle bracket'], + ['◊', '◊', true, 'lozenge'], + ['♠', '♠', true, 'black spade suit'], + ['♣', '♣', true, 'black club suit'], + ['♥', '♥', true, 'black heart suit'], + ['♦', '♦', true, 'black diamond suit'], + [' ', ' ', false,'en space'], + [' ', ' ', false,'em space'], + [' ', ' ', false,'thin space'], + ['‌', '‌', false,'zero width non-joiner'], + ['‍', '‍', false,'zero width joiner'], + ['‎', '‎', false,'left-to-right mark'], + ['‏', '‏', false,'right-to-left mark'], + ['­', '­', false,'soft hyphen'] +]; + +tinyMCEPopup.onInit.add(function() { + tinyMCEPopup.dom.setHTML('charmapView', renderCharMapHTML()); + addKeyboardNavigation(); +}); + +function addKeyboardNavigation(){ + var tableElm, cells, settings; + + cells = tinyMCEPopup.dom.select("a.charmaplink", "charmapgroup"); + + settings ={ + root: "charmapgroup", + items: cells + }; + cells[0].tabindex=0; + tinyMCEPopup.dom.addClass(cells[0], "mceFocus"); + if (tinymce.isGecko) { + cells[0].focus(); + } else { + setTimeout(function(){ + cells[0].focus(); + }, 100); + } + tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); +} + +function renderCharMapHTML() { + var charsPerRow = 20, tdWidth=20, tdHeight=20, i; + var html = '
    '+ + ''; + var cols=-1; + + for (i=0; i' + + '' + + charmap[i][1] + + ''; + if ((cols+1) % charsPerRow == 0) + html += ''; + } + } + + if (cols % charsPerRow > 0) { + var padd = charsPerRow - (cols % charsPerRow); + for (var i=0; i '; + } + + html += '
    '; + html = html.replace(/<\/tr>/g, ''); + + return html; +} + +function insertChar(chr) { + tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';'); + + // Refocus in window + if (tinyMCEPopup.isWindow) + window.focus(); + + tinyMCEPopup.editor.focus(); + tinyMCEPopup.close(); +} + +function previewChar(codeA, codeB, codeN) { + var elmA = document.getElementById('codeA'); + var elmB = document.getElementById('codeB'); + var elmV = document.getElementById('codeV'); + var elmN = document.getElementById('codeN'); + + if (codeA=='#160;') { + elmV.innerHTML = '__'; + } else { + elmV.innerHTML = '&' + codeA; + } + + elmB.innerHTML = '&' + codeA; + elmA.innerHTML = '&' + codeB; + elmN.innerHTML = codeN; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js new file mode 100644 index 00000000..cc891c17 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/color_picker.js @@ -0,0 +1,345 @@ +tinyMCEPopup.requireLangPack(); + +var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; + +var colors = [ + "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", + "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", + "#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff", + "#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033", + "#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399", + "#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff", + "#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333", + "#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399", + "#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff", + "#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633", + "#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699", + "#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff", + "#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633", + "#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999", + "#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff", + "#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933", + "#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999", + "#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff", + "#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33", + "#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99", + "#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff", + "#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33", + "#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99", + "#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff", + "#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33", + "#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99", + "#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff" +]; + +var named = { + '#F0F8FF':'Alice Blue','#FAEBD7':'Antique White','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige', + '#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'Blanched Almond','#0000FF':'Blue','#8A2BE2':'Blue Violet','#A52A2A':'Brown', + '#DEB887':'Burly Wood','#5F9EA0':'Cadet Blue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'Cornflower Blue', + '#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'Dark Blue','#008B8B':'Dark Cyan','#B8860B':'Dark Golden Rod', + '#A9A9A9':'Dark Gray','#A9A9A9':'Dark Grey','#006400':'Dark Green','#BDB76B':'Dark Khaki','#8B008B':'Dark Magenta','#556B2F':'Dark Olive Green', + '#FF8C00':'Darkorange','#9932CC':'Dark Orchid','#8B0000':'Dark Red','#E9967A':'Dark Salmon','#8FBC8F':'Dark Sea Green','#483D8B':'Dark Slate Blue', + '#2F4F4F':'Dark Slate Gray','#2F4F4F':'Dark Slate Grey','#00CED1':'Dark Turquoise','#9400D3':'Dark Violet','#FF1493':'Deep Pink','#00BFFF':'Deep Sky Blue', + '#696969':'Dim Gray','#696969':'Dim Grey','#1E90FF':'Dodger Blue','#B22222':'Fire Brick','#FFFAF0':'Floral White','#228B22':'Forest Green', + '#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'Ghost White','#FFD700':'Gold','#DAA520':'Golden Rod','#808080':'Gray','#808080':'Grey', + '#008000':'Green','#ADFF2F':'Green Yellow','#F0FFF0':'Honey Dew','#FF69B4':'Hot Pink','#CD5C5C':'Indian Red','#4B0082':'Indigo','#FFFFF0':'Ivory', + '#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'Lavender Blush','#7CFC00':'Lawn Green','#FFFACD':'Lemon Chiffon','#ADD8E6':'Light Blue', + '#F08080':'Light Coral','#E0FFFF':'Light Cyan','#FAFAD2':'Light Golden Rod Yellow','#D3D3D3':'Light Gray','#D3D3D3':'Light Grey','#90EE90':'Light Green', + '#FFB6C1':'Light Pink','#FFA07A':'Light Salmon','#20B2AA':'Light Sea Green','#87CEFA':'Light Sky Blue','#778899':'Light Slate Gray','#778899':'Light Slate Grey', + '#B0C4DE':'Light Steel Blue','#FFFFE0':'Light Yellow','#00FF00':'Lime','#32CD32':'Lime Green','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon', + '#66CDAA':'Medium Aqua Marine','#0000CD':'Medium Blue','#BA55D3':'Medium Orchid','#9370D8':'Medium Purple','#3CB371':'Medium Sea Green','#7B68EE':'Medium Slate Blue', + '#00FA9A':'Medium Spring Green','#48D1CC':'Medium Turquoise','#C71585':'Medium Violet Red','#191970':'Midnight Blue','#F5FFFA':'Mint Cream','#FFE4E1':'Misty Rose','#FFE4B5':'Moccasin', + '#FFDEAD':'Navajo White','#000080':'Navy','#FDF5E6':'Old Lace','#808000':'Olive','#6B8E23':'Olive Drab','#FFA500':'Orange','#FF4500':'Orange Red','#DA70D6':'Orchid', + '#EEE8AA':'Pale Golden Rod','#98FB98':'Pale Green','#AFEEEE':'Pale Turquoise','#D87093':'Pale Violet Red','#FFEFD5':'Papaya Whip','#FFDAB9':'Peach Puff', + '#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'Powder Blue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'Rosy Brown','#4169E1':'Royal Blue', + '#8B4513':'Saddle Brown','#FA8072':'Salmon','#F4A460':'Sandy Brown','#2E8B57':'Sea Green','#FFF5EE':'Sea Shell','#A0522D':'Sienna','#C0C0C0':'Silver', + '#87CEEB':'Sky Blue','#6A5ACD':'Slate Blue','#708090':'Slate Gray','#708090':'Slate Grey','#FFFAFA':'Snow','#00FF7F':'Spring Green', + '#4682B4':'Steel Blue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet', + '#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'White Smoke','#FFFF00':'Yellow','#9ACD32':'Yellow Green' +}; + +var namedLookup = {}; + +function init() { + var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')), key, value; + + tinyMCEPopup.resizeToInnerSize(); + + generatePicker(); + generateWebColors(); + generateNamedColors(); + + if (inputColor) { + changeFinalColor(inputColor); + + col = convertHexToRGB(inputColor); + + if (col) + updateLight(col.r, col.g, col.b); + } + + for (key in named) { + value = named[key]; + namedLookup[value.replace(/\s+/, '').toLowerCase()] = key.replace(/#/, '').toLowerCase(); + } +} + +function toHexColor(color) { + var matches, red, green, blue, toInt = parseInt; + + function hex(value) { + value = parseInt(value).toString(16); + + return value.length > 1 ? value : '0' + value; // Padd with leading zero + }; + + color = tinymce.trim(color); + color = color.replace(/^[#]/, '').toLowerCase(); // remove leading '#' + color = namedLookup[color] || color; + + matches = /^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/.exec(color); + + if (matches) { + red = toInt(matches[1]); + green = toInt(matches[2]); + blue = toInt(matches[3]); + } else { + matches = /^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/.exec(color); + + if (matches) { + red = toInt(matches[1], 16); + green = toInt(matches[2], 16); + blue = toInt(matches[3], 16); + } else { + matches = /^([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(color); + + if (matches) { + red = toInt(matches[1] + matches[1], 16); + green = toInt(matches[2] + matches[2], 16); + blue = toInt(matches[3] + matches[3], 16); + } else { + return ''; + } + } + } + + return '#' + hex(red) + hex(green) + hex(blue); +} + +function insertAction() { + var color = document.getElementById("color").value, f = tinyMCEPopup.getWindowArg('func'); + + var hexColor = toHexColor(color); + + if (hexColor === '') { + var text = tinyMCEPopup.editor.getLang('advanced_dlg.invalid_color_value'); + tinyMCEPopup.alert(text + ': ' + color); + } + else { + tinyMCEPopup.restoreSelection(); + + if (f) + f(hexColor); + + tinyMCEPopup.close(); + } +} + +function showColor(color, name) { + if (name) + document.getElementById("colorname").innerHTML = name; + + document.getElementById("preview").style.backgroundColor = color; + document.getElementById("color").value = color.toUpperCase(); +} + +function convertRGBToHex(col) { + var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi"); + + if (!col) + return col; + + var rgb = col.replace(re, "$1,$2,$3").split(','); + if (rgb.length == 3) { + r = parseInt(rgb[0]).toString(16); + g = parseInt(rgb[1]).toString(16); + b = parseInt(rgb[2]).toString(16); + + r = r.length == 1 ? '0' + r : r; + g = g.length == 1 ? '0' + g : g; + b = b.length == 1 ? '0' + b : b; + + return "#" + r + g + b; + } + + return col; +} + +function convertHexToRGB(col) { + if (col.indexOf('#') != -1) { + col = col.replace(new RegExp('[^0-9A-F]', 'gi'), ''); + + r = parseInt(col.substring(0, 2), 16); + g = parseInt(col.substring(2, 4), 16); + b = parseInt(col.substring(4, 6), 16); + + return {r : r, g : g, b : b}; + } + + return null; +} + +function generatePicker() { + var el = document.getElementById('light'), h = '', i; + + for (i = 0; i < detail; i++){ + h += '
    '; + } + + el.innerHTML = h; +} + +function generateWebColors() { + var el = document.getElementById('webcolors'), h = '', i; + + if (el.className == 'generated') + return; + + // TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby. + h += '
    ' + + ''; + + for (i=0; i' + + ''; + if (tinyMCEPopup.editor.forcedHighContrastMode) { + h += ''; + } + h += ''; + h += ''; + if ((i+1) % 18 == 0) + h += ''; + } + + h += '
    '; + + el.innerHTML = h; + el.className = 'generated'; + + paintCanvas(el); + enableKeyboardNavigation(el.firstChild); +} + +function paintCanvas(el) { + tinyMCEPopup.getWin().tinymce.each(tinyMCEPopup.dom.select('canvas.mceColorSwatch', el), function(canvas) { + var context; + if (canvas.getContext && (context = canvas.getContext("2d"))) { + context.fillStyle = canvas.getAttribute('data-color'); + context.fillRect(0, 0, 10, 10); + } + }); +} +function generateNamedColors() { + var el = document.getElementById('namedcolors'), h = '', n, v, i = 0; + + if (el.className == 'generated') + return; + + for (n in named) { + v = named[n]; + h += ''; + if (tinyMCEPopup.editor.forcedHighContrastMode) { + h += ''; + } + h += ''; + h += ''; + i++; + } + + el.innerHTML = h; + el.className = 'generated'; + + paintCanvas(el); + enableKeyboardNavigation(el); +} + +function enableKeyboardNavigation(el) { + tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', { + root: el, + items: tinyMCEPopup.dom.select('a', el) + }, tinyMCEPopup.dom); +} + +function dechex(n) { + return strhex.charAt(Math.floor(n / 16)) + strhex.charAt(n % 16); +} + +function computeColor(e) { + var x, y, partWidth, partDetail, imHeight, r, g, b, coef, i, finalCoef, finalR, finalG, finalB, pos = tinyMCEPopup.dom.getPos(e.target); + + x = e.offsetX ? e.offsetX : (e.target ? e.clientX - pos.x : 0); + y = e.offsetY ? e.offsetY : (e.target ? e.clientY - pos.y : 0); + + partWidth = document.getElementById('colors').width / 6; + partDetail = detail / 2; + imHeight = document.getElementById('colors').height; + + r = (x >= 0)*(x < partWidth)*255 + (x >= partWidth)*(x < 2*partWidth)*(2*255 - x * 255 / partWidth) + (x >= 4*partWidth)*(x < 5*partWidth)*(-4*255 + x * 255 / partWidth) + (x >= 5*partWidth)*(x < 6*partWidth)*255; + g = (x >= 0)*(x < partWidth)*(x * 255 / partWidth) + (x >= partWidth)*(x < 3*partWidth)*255 + (x >= 3*partWidth)*(x < 4*partWidth)*(4*255 - x * 255 / partWidth); + b = (x >= 2*partWidth)*(x < 3*partWidth)*(-2*255 + x * 255 / partWidth) + (x >= 3*partWidth)*(x < 5*partWidth)*255 + (x >= 5*partWidth)*(x < 6*partWidth)*(6*255 - x * 255 / partWidth); + + coef = (imHeight - y) / imHeight; + r = 128 + (r - 128) * coef; + g = 128 + (g - 128) * coef; + b = 128 + (b - 128) * coef; + + changeFinalColor('#' + dechex(r) + dechex(g) + dechex(b)); + updateLight(r, g, b); +} + +function updateLight(r, g, b) { + var i, partDetail = detail / 2, finalCoef, finalR, finalG, finalB, color; + + for (i=0; i=0) && (i'); + }, + + init : function() { + var f = document.forms[0], ed = tinyMCEPopup.editor; + + // Setup browse button + document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); + if (isVisible('srcbrowser')) + document.getElementById('src').style.width = '180px'; + + e = ed.selection.getNode(); + + this.fillFileList('image_list', tinyMCEPopup.getParam('external_image_list', 'tinyMCEImageList')); + + if (e.nodeName == 'IMG') { + f.src.value = ed.dom.getAttrib(e, 'src'); + f.alt.value = ed.dom.getAttrib(e, 'alt'); + f.border.value = this.getAttrib(e, 'border'); + f.vspace.value = this.getAttrib(e, 'vspace'); + f.hspace.value = this.getAttrib(e, 'hspace'); + f.width.value = ed.dom.getAttrib(e, 'width'); + f.height.value = ed.dom.getAttrib(e, 'height'); + f.insert.value = ed.getLang('update'); + this.styleVal = ed.dom.getAttrib(e, 'style'); + selectByValue(f, 'image_list', f.src.value); + selectByValue(f, 'align', this.getAttrib(e, 'align')); + this.updateStyle(); + } + }, + + fillFileList : function(id, l) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + l = typeof(l) === 'function' ? l() : window[l]; + + if (l && l.length > 0) { + lst.options[lst.options.length] = new Option('', ''); + + tinymce.each(l, function(o) { + lst.options[lst.options.length] = new Option(o[0], o[1]); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + update : function() { + var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, args = {}, el; + + tinyMCEPopup.restoreSelection(); + + if (f.src.value === '') { + if (ed.selection.getNode().nodeName == 'IMG') { + ed.dom.remove(ed.selection.getNode()); + ed.execCommand('mceRepaint'); + } + + tinyMCEPopup.close(); + return; + } + + if (!ed.settings.inline_styles) { + args = tinymce.extend(args, { + vspace : nl.vspace.value, + hspace : nl.hspace.value, + border : nl.border.value, + align : getSelectValue(f, 'align') + }); + } else + args.style = this.styleVal; + + tinymce.extend(args, { + src : f.src.value.replace(/ /g, '%20'), + alt : f.alt.value, + width : f.width.value, + height : f.height.value + }); + + el = ed.selection.getNode(); + + if (el && el.nodeName == 'IMG') { + ed.dom.setAttribs(el, args); + tinyMCEPopup.editor.execCommand('mceRepaint'); + tinyMCEPopup.editor.focus(); + } else { + tinymce.each(args, function(value, name) { + if (value === "") { + delete args[name]; + } + }); + + ed.execCommand('mceInsertContent', false, tinyMCEPopup.editor.dom.createHTML('img', args), {skip_undo : 1}); + ed.undoManager.add(); + } + + tinyMCEPopup.close(); + }, + + updateStyle : function() { + var dom = tinyMCEPopup.dom, st = {}, v, f = document.forms[0]; + + if (tinyMCEPopup.editor.settings.inline_styles) { + tinymce.each(tinyMCEPopup.dom.parseStyle(this.styleVal), function(value, key) { + st[key] = value; + }); + + // Handle align + v = getSelectValue(f, 'align'); + if (v) { + if (v == 'left' || v == 'right') { + st['float'] = v; + delete st['vertical-align']; + } else { + st['vertical-align'] = v; + delete st['float']; + } + } else { + delete st['float']; + delete st['vertical-align']; + } + + // Handle border + v = f.border.value; + if (v || v == '0') { + if (v == '0') + st['border'] = '0'; + else + st['border'] = v + 'px solid black'; + } else + delete st['border']; + + // Handle hspace + v = f.hspace.value; + if (v) { + delete st['margin']; + st['margin-left'] = v + 'px'; + st['margin-right'] = v + 'px'; + } else { + delete st['margin-left']; + delete st['margin-right']; + } + + // Handle vspace + v = f.vspace.value; + if (v) { + delete st['margin']; + st['margin-top'] = v + 'px'; + st['margin-bottom'] = v + 'px'; + } else { + delete st['margin-top']; + delete st['margin-bottom']; + } + + // Merge + st = tinyMCEPopup.dom.parseStyle(dom.serializeStyle(st), 'img'); + this.styleVal = dom.serializeStyle(st, 'img'); + } + }, + + getAttrib : function(e, at) { + var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; + + if (ed.settings.inline_styles) { + switch (at) { + case 'align': + if (v = dom.getStyle(e, 'float')) + return v; + + if (v = dom.getStyle(e, 'vertical-align')) + return v; + + break; + + case 'hspace': + v = dom.getStyle(e, 'margin-left') + v2 = dom.getStyle(e, 'margin-right'); + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'vspace': + v = dom.getStyle(e, 'margin-top') + v2 = dom.getStyle(e, 'margin-bottom'); + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'border': + v = 0; + + tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { + sv = dom.getStyle(e, 'border-' + sv + '-width'); + + // False or not the same as prev + if (!sv || (sv != v && v !== 0)) { + v = 0; + return false; + } + + if (sv) + v = sv; + }); + + if (v) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + } + } + + if (v = dom.getAttrib(e, at)) + return v; + + return ''; + }, + + resetImageData : function() { + var f = document.forms[0]; + + f.width.value = f.height.value = ""; + }, + + updateImageData : function() { + var f = document.forms[0], t = ImageDialog; + + if (f.width.value == "") + f.width.value = t.preloadImg.width; + + if (f.height.value == "") + f.height.value = t.preloadImg.height; + }, + + getImageData : function() { + var f = document.forms[0]; + + this.preloadImg = new Image(); + this.preloadImg.onload = this.updateImageData; + this.preloadImg.onerror = this.resetImageData; + this.preloadImg.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(f.src.value); + } +}; + +ImageDialog.preInit(); +tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js new file mode 100644 index 00000000..8c1d73c5 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/link.js @@ -0,0 +1,159 @@ +tinyMCEPopup.requireLangPack(); + +var LinkDialog = { + preInit : function() { + var url; + + if (url = tinyMCEPopup.getParam("external_link_list_url")) + document.write(''); + }, + + init : function() { + var f = document.forms[0], ed = tinyMCEPopup.editor; + + // Setup browse button + document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser', 'href', 'file', 'theme_advanced_link'); + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '180px'; + + this.fillClassList('class_list'); + this.fillFileList('link_list', 'tinyMCELinkList'); + this.fillTargetList('target_list'); + + if (e = ed.dom.getParent(ed.selection.getNode(), 'A')) { + f.href.value = ed.dom.getAttrib(e, 'href'); + f.linktitle.value = ed.dom.getAttrib(e, 'title'); + f.insert.value = ed.getLang('update'); + selectByValue(f, 'link_list', f.href.value); + selectByValue(f, 'target_list', ed.dom.getAttrib(e, 'target')); + selectByValue(f, 'class_list', ed.dom.getAttrib(e, 'class')); + } + }, + + update : function() { + var f = document.forms[0], ed = tinyMCEPopup.editor, e, b, href = f.href.value.replace(/ /g, '%20'); + + tinyMCEPopup.restoreSelection(); + e = ed.dom.getParent(ed.selection.getNode(), 'A'); + + // Remove element if there is no href + if (!f.href.value) { + if (e) { + b = ed.selection.getBookmark(); + ed.dom.remove(e, 1); + ed.selection.moveToBookmark(b); + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); + return; + } + } + + // Create new anchor elements + if (e == null) { + ed.getDoc().execCommand("unlink", false, null); + tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1}); + + tinymce.each(ed.dom.select("a"), function(n) { + if (ed.dom.getAttrib(n, 'href') == '#mce_temp_url#') { + e = n; + + ed.dom.setAttribs(e, { + href : href, + title : f.linktitle.value, + target : f.target_list ? getSelectValue(f, "target_list") : null, + 'class' : f.class_list ? getSelectValue(f, "class_list") : null + }); + } + }); + } else { + ed.dom.setAttribs(e, { + href : href, + title : f.linktitle.value + }); + + if (f.target_list) { + ed.dom.setAttrib(e, 'target', getSelectValue(f, "target_list")); + } + + if (f.class_list) { + ed.dom.setAttrib(e, 'class', getSelectValue(f, "class_list")); + } + } + + // Don't move caret if selection was image + if (e.childNodes.length != 1 || e.firstChild.nodeName != 'IMG') { + ed.focus(); + ed.selection.select(e); + ed.selection.collapse(0); + tinyMCEPopup.storeSelection(); + } + + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); + }, + + checkPrefix : function(n) { + if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_email'))) + n.value = 'mailto:' + n.value; + + if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_external'))) + n.value = 'http://' + n.value; + }, + + fillFileList : function(id, l) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + l = window[l]; + + if (l && l.length > 0) { + lst.options[lst.options.length] = new Option('', ''); + + tinymce.each(l, function(o) { + lst.options[lst.options.length] = new Option(o[0], o[1]); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + fillClassList : function(id) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { + cl = []; + + tinymce.each(v.split(';'), function(v) { + var p = v.split('='); + + cl.push({'title' : p[0], 'class' : p[1]}); + }); + } else + cl = tinyMCEPopup.editor.dom.getClasses(); + + if (cl.length > 0) { + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); + + tinymce.each(cl, function(o) { + lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + fillTargetList : function(id) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v; + + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_same'), '_self'); + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_blank'), '_blank'); + + if (v = tinyMCEPopup.getParam('theme_advanced_link_targets')) { + tinymce.each(v.split(','), function(v) { + v = v.split('='); + lst.options[lst.options.length] = new Option(v[0], v[1]); + }); + } + } +}; + +LinkDialog.preInit(); +tinyMCEPopup.onInit.add(LinkDialog.init, LinkDialog); diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js new file mode 100644 index 00000000..dd5e366f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/js/source_editor.js @@ -0,0 +1,78 @@ +tinyMCEPopup.requireLangPack(); +tinyMCEPopup.onInit.add(onLoadInit); + +function saveContent() { + tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); + tinyMCEPopup.close(); +} + +function onLoadInit() { + tinyMCEPopup.resizeToInnerSize(); + + // Remove Gecko spellchecking + if (tinymce.isGecko) + document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck"); + + document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true}); + + if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) { + turnWrapOn(); + document.getElementById('wraped').checked = true; + } + + resizeInputs(); +} + +function setWrap(val) { + var v, n, s = document.getElementById('htmlSource'); + + s.wrap = val; + + if (!tinymce.isIE) { + v = s.value; + n = s.cloneNode(false); + n.setAttribute("wrap", val); + s.parentNode.replaceChild(n, s); + n.value = v; + } +} + +function setWhiteSpaceCss(value) { + var el = document.getElementById('htmlSource'); + tinymce.DOM.setStyle(el, 'white-space', value); +} + +function turnWrapOff() { + if (tinymce.isWebKit) { + setWhiteSpaceCss('pre'); + } else { + setWrap('off'); + } +} + +function turnWrapOn() { + if (tinymce.isWebKit) { + setWhiteSpaceCss('pre-wrap'); + } else { + setWrap('soft'); + } +} + +function toggleWordWrap(elm) { + if (elm.checked) { + turnWrapOn(); + } else { + turnWrapOff(); + } +} + +function resizeInputs() { + var vp = tinyMCEPopup.dom.getViewPort(window), el; + + el = document.getElementById('htmlSource'); + + if (el) { + el.style.width = (vp.w - 20) + 'px'; + el.style.height = (vp.h - 65) + 'px'; + } +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js new file mode 100755 index 00000000..4bd5419f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.advanced',{"underline_desc":"Unterstrichen (Strg+U)","italic_desc":"Kursiv (Strg+I)","bold_desc":"Fett (Strg+B)",dd:"Definitionsbeschreibung",dt:"Definitionsbegriff",samp:"Beispiel",code:"Code",blockquote:"Zitatblock",h6:"\u00dcberschrift 6",h5:"\u00dcberschrift 5",h4:"\u00dcberschrift 4",h3:"\u00dcberschrift 3",h2:"\u00dcberschrift 2",h1:"\u00dcberschrift 1",pre:"Rohdaten",address:"Adresse",div:"Zusammenh\u00e4ngender Bereich",paragraph:"Absatz",block:"Vorlage",fontdefault:"Schriftart","font_size":"Schriftgr\u00f6\u00dfe","style_select":"Format","anchor_delta_width":"13","more_colors":"Weitere Farben","toolbar_focus":"Zur Werkzeugleiste springen: Alt+Q; Zum Editor springen: Alt-Z; Zum Elementpfad springen: Alt-X",newdocument:"Soll wirklich der ganze Inhalt gel\u00f6scht werden?",path:"Pfad","clipboard_msg":"Kopieren, Ausschneiden und Einf\u00fcgen sind im Mozilla Firefox nicht m\u00f6glich. Mehr \u00fcber dieses Problem erfahren?","blockquote_desc":"Zitatblock","help_desc":"Hilfe","newdocument_desc":"Neues Dokument","image_props_desc":"Bildeigenschaften","paste_desc":"Einf\u00fcgen","copy_desc":"Kopieren","cut_desc":"Ausschneiden","anchor_desc":"Anker einf\u00fcgen/ver\u00e4ndern","visualaid_desc":"Hilfslinien und unsichtbare Elemente ein-/ausblenden","charmap_desc":"Sonderzeichen einf\u00fcgen","backcolor_desc":"Hintergrundfarbe","forecolor_desc":"Textfarbe","custom1_desc":"Benutzerdefinierte Beschreibung","removeformat_desc":"Formatierungen zur\u00fccksetzen","hr_desc":"Trennlinie einf\u00fcgen","sup_desc":"Hochgestellt","sub_desc":"Tiefgestellt","code_desc":"HTML-Quellcode bearbeiten","cleanup_desc":"Quellcode aufr\u00e4umen","image_desc":"Bild einf\u00fcgen/ver\u00e4ndern","unlink_desc":"Link entfernen","link_desc":"Link einf\u00fcgen/ver\u00e4ndern","redo_desc":"Wiederholen (Strg+Y)","undo_desc":"R\u00fcckg\u00e4ngig (Strg+Z)","indent_desc":"Einr\u00fccken","outdent_desc":"Ausr\u00fccken","numlist_desc":"Sortierte Liste","bullist_desc":"Unsortierte Liste","justifyfull_desc":"Blocksatz","justifyright_desc":"Rechtsb\u00fcndig","justifycenter_desc":"Zentriert","justifyleft_desc":"Linksb\u00fcndig","striketrough_desc":"Durchgestrichen","help_shortcut":"F\u00fcr die Toolbar ALT-F10 dr\u00fccken. F\u00fcr die Hilfe ALT-0 dr\u00fccken","rich_text_area":"Rich Text Feld","shortcuts_desc":"Eingabehilfe",toolbar:"Pfeiltasten verwenden um Funktionen auszuw\u00e4hlen","anchor_delta_height":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":""}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js new file mode 100644 index 00000000..0ee5af90 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/de_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.advanced_dlg',{"link_list":"Linkliste","link_is_external":"Diese Adresse scheint ein externer Link zu sein. Soll das dazu ben\u00f6tigte \"http://\" vorangestellt werden?","link_is_email":"Diese Adresse scheint eine E-Mail Adresse zu sein. Soll das dazu ben\u00f6tigte \"mailto:\" vorangestellt werden?","link_titlefield":"Titel","link_target_blank":"In neuem Fenster \u00f6ffnen","link_target_same":"Im selben Fenster \u00f6ffnen","link_target":"Fenster","link_url":"Adresse","link_title":"Link einf\u00fcgen/ver\u00e4ndern","image_align_right":"Rechts","image_align_left":"Links","image_align_textbottom":"Unten im Text","image_align_texttop":"Oben im Text","image_align_bottom":"Unten","image_align_middle":"Mittig","image_align_top":"Oben","image_align_baseline":"Zeile","image_align":"Ausrichtung","image_hspace":"Horizontaler Abstand","image_vspace":"Vertikaler Abstand","image_dimensions":"Abmessungen","image_alt":"Alternativtext","image_list":"Bilderliste","image_border":"Rahmen","image_src":"Adresse","image_title":"Bild einf\u00fcgen/ver\u00e4ndern","charmap_title":"Sonderzeichen","colorpicker_name":"Name:","colorpicker_color":"Farbe:","colorpicker_named_title":"Benannte Farben","colorpicker_named_tab":"Benannte Farben","colorpicker_palette_title":"Farbpalette","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Farbwahl","colorpicker_picker_tab":"Farbwahl","colorpicker_title":"Farbe","code_wordwrap":"Automatischer Zeilenumbruch","code_title":"HTML-Quellcode bearbeiten","anchor_name":"Name des Ankers","anchor_title":"Anker einf\u00fcgen/ver\u00e4ndern","about_loaded":"Geladene Plugins","about_version":"Version","about_author":"Urheber","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"Lizenzbedingungen","about_help":"Hilfe","about_general":"\u00dcber","about_title":"\u00dcber TinyMCE","charmap_usage":"Navigation mit linken und rechten Pfeiltasten.","anchor_invalid":"Bitte einen g\u00fcltigen Namen f\u00fcr den Anker eingeben!","accessibility_help":"Eingabehilfe","accessibility_usage_title":"Allgemeine Verwendung","invalid_color_value":"Ung\u00fcltige Farbangabe"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js new file mode 100755 index 00000000..f89eb92a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.advanced',{"underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)",dd:"Definition Description",dt:"Definition Term ",samp:"Code Sample",code:"Code",blockquote:"Block Quote",h6:"Heading 6",h5:"Heading 5",h4:"Heading 4",h3:"Heading 3",h2:"Heading 2",h1:"Heading 1",pre:"Preformatted",address:"Address",div:"DIV",paragraph:"Paragraph",block:"Format",fontdefault:"Font Family","font_size":"Font Size","style_select":"Styles","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":"","more_colors":"More Colors...","toolbar_focus":"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",newdocument:"Are you sure you want clear all contents?",path:"Path","clipboard_msg":"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?","blockquote_desc":"Block Quote","help_desc":"Help","newdocument_desc":"New Document","image_props_desc":"Image Properties","paste_desc":"Paste (Ctrl+V)","copy_desc":"Copy (Ctrl+C)","cut_desc":"Cut (Ctrl+X)","anchor_desc":"Insert/Edit Anchor","visualaid_desc":"show/Hide Guidelines/Invisible Elements","charmap_desc":"Insert Special Character","backcolor_desc":"Select Background Color","forecolor_desc":"Select Text Color","custom1_desc":"Your Custom Description Here","removeformat_desc":"Remove Formatting","hr_desc":"Insert Horizontal Line","sup_desc":"Superscript","sub_desc":"Subscript","code_desc":"Edit HTML Source","cleanup_desc":"Cleanup Messy Code","image_desc":"Insert/Edit Image","unlink_desc":"Unlink","link_desc":"Insert/Edit Link","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","indent_desc":"Increase Indent","outdent_desc":"Decrease Indent","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","justifyfull_desc":"Align Full","justifyright_desc":"Align Right","justifycenter_desc":"Align Center","justifyleft_desc":"Align Left","striketrough_desc":"Strikethrough","help_shortcut":"Press ALT-F10 for toolbar. Press ALT-0 for help","rich_text_area":"Rich Text Area","shortcuts_desc":"Accessability Help",toolbar:"Use arrow keys to select functions"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js new file mode 100644 index 00000000..e451f377 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/en_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.advanced_dlg',{"link_list":"Link List","link_is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","link_is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","link_titlefield":"Title","link_target_blank":"Open Link in a New Window","link_target_same":"Open Link in the Same Window","link_target":"Target","link_url":"Link URL","link_title":"Insert/Edit Link","image_align_right":"Right","image_align_left":"Left","image_align_textbottom":"Text Bottom","image_align_texttop":"Text Top","image_align_bottom":"Bottom","image_align_middle":"Middle","image_align_top":"Top","image_align_baseline":"Baseline","image_align":"Alignment","image_hspace":"Horizontal Space","image_vspace":"Vertical Space","image_dimensions":"Dimensions","image_alt":"Image Description","image_list":"Image List","image_border":"Border","image_src":"Image URL","image_title":"Insert/Edit Image","charmap_title":"Select Special Character","colorpicker_name":"Name:","colorpicker_color":"Color:","colorpicker_named_title":"Named Colors","colorpicker_named_tab":"Named","colorpicker_palette_title":"Palette Colors","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Color Picker","colorpicker_picker_tab":"Picker","colorpicker_title":"Select a Color","code_wordwrap":"Word Wrap","code_title":"HTML Source Editor","anchor_name":"Anchor Name","anchor_title":"Insert/Edit Anchor","about_loaded":"Loaded Plugins","about_version":"Version","about_author":"Author","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"License","about_help":"Help","about_general":"About","about_title":"About TinyMCE","charmap_usage":"Use left and right arrows to navigate.","anchor_invalid":"Please specify a valid anchor name.","accessibility_help":"Accessibility Help","accessibility_usage_title":"General Usage","invalid_color_value":"Invalid color value"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js new file mode 100644 index 00000000..ddd85347 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.advanced',{"underline_desc":"Al\u00e1h\u00fazott (Ctrl+U)","italic_desc":"D\u0151lt (Ctrl+I)","bold_desc":"F\u00e9lk\u00f6v\u00e9r (Ctrl+B)",dd:"Defin\u00edci\u00f3 a defin\u00edci\u00f3s list\u00e1ban",dt:"Defini\u00e1lt kifejez\u00e9s a defin\u00edci\u00f3s list\u00e1ban",samp:"K\u00f3d minta",code:"K\u00f3d",blockquote:"Id\u00e9zet",h6:"C\u00edmsor 6",h5:"C\u00edmsor 5",h4:"C\u00edmsor 4",h3:"C\u00edmsor 3",h2:"C\u00edmsor 2",h1:"C\u00edmsor 1",pre:"El\u0151form\u00e1zott",address:"C\u00edm",div:"DIV",paragraph:"Bekezd\u00e9s",block:"Form\u00e1tum",fontdefault:"Bet\u0171t\u00edpus","font_size":"Bet\u0171m\u00e9ret","style_select":"St\u00edlusok","image_delta_height":"","image_delta_width":"","more_colors":"Tov\u00e1bbi sz\u00ednek...","toolbar_focus":"Eszk\u00f6z-gombokra ugr\u00e1s - Alt Q, Szerkeszt\u0151h\u00f6z ugr\u00e1s - Alt-Z, Elem\u00fatvonalhoz ugr\u00e1s - Alt-X",newdocument:"Biztosan t\u00f6rli az \u00f6sszes tartalmat?",path:"\u00datvonal","clipboard_msg":"A M\u00e1sol\u00e1s/Kiv\u00e1g\u00e1s/Besz\u00far\u00e1s funkci\u00f3k nem \u00e9rhet\u0151ek el Mozilla \u00e9s Firefox alatt. Szeretne t\u00f6bbet megtudni err\u0151l?","blockquote_desc":"Id\u00e9zet","help_desc":"Seg\u00edts\u00e9g","newdocument_desc":"\u00daj dokumentum","image_props_desc":"K\u00e9p tulajdons\u00e1gai","paste_desc":"Besz\u00far\u00e1s (Ctrl V)","copy_desc":"M\u00e1sol\u00e1s (Ctrl C)","cut_desc":"Kiv\u00e1g\u00e1s (Ctrl X) ","anchor_desc":"Horgony besz\u00far\u00e1sa/szerkeszt\u00e9se","visualaid_desc":"Vezet\u0151vonalak/nem l\u00e1that\u00f3 elemek ki-/bekapcsol\u00e1sa","charmap_desc":"Speci\u00e1lis karakter besz\u00far\u00e1sa","backcolor_desc":"H\u00e1tt\u00e9rsz\u00edn v\u00e1laszt\u00e1sa","forecolor_desc":"Sz\u00f6vegsz\u00edn v\u00e1laszt\u00e1sa","custom1_desc":"Az \u00f6n egyedi le\u00edr\u00e1sa","removeformat_desc":"Form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","hr_desc":"V\u00edzszintes elv\u00e1laszt\u00f3 vonal besz\u00far\u00e1sa","sup_desc":"Fels\u0151 index","sub_desc":"Als\u00f3 index","code_desc":"HTML forr\u00e1sk\u00f3d szerkeszt\u00e9se","cleanup_desc":"Minden form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","image_desc":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","unlink_desc":"Link elt\u00e1vol\u00edt\u00e1sa","link_desc":"Link besz\u00far\u00e1sa/szerkeszt\u00e9se","redo_desc":"M\u00e9gis v\u00e9grehajt (Ctrl+Y)","undo_desc":"Visszavon\u00e1s (Ctrl+Z)","indent_desc":"Beh\u00faz\u00e1s n\u00f6vel\u00e9se","outdent_desc":"Beh\u00faz\u00e1s cs\u00f6kkent\u00e9se","numlist_desc":"Sz\u00e1mozott lista besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","bullist_desc":"Felsorol\u00e1s besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","justifyfull_desc":"Sorkiz\u00e1rt","justifyright_desc":"Jobbra z\u00e1rt","justifycenter_desc":"K\u00f6z\u00e9pre z\u00e1rt","justifyleft_desc":"Balra z\u00e1rt","striketrough_desc":"\u00c1th\u00fazott","help_shortcut":"Ugr\u00e1s az eszk\u00f6zt\u00e1rhoz: ALT-F10. Seg\u00edts\u00e9g: ALT-0.","rich_text_area":"Rich Text ter\u00fclet","shortcuts_desc":"El\u00e9rhet\u0151s\u00e9g s\u00fag\u00f3",toolbar:"Eszk\u00f6zt\u00e1r","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":""}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js new file mode 100644 index 00000000..4322cb69 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/hu_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.advanced_dlg',{"link_list":"Link lista","link_is_external":"A be\u00edrt internet c\u00edm k\u00fcls\u0151 hivatkoz\u00e1snak t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges http:// el\u0151taggal kieg\u00e9sz\u00edteni?","link_is_email":"A be\u00edrt internet c\u00edm e-mail c\u00edmnek t\u0171nik, k\u00edv\u00e1nja a sz\u00fcks\u00e9ges mailto: el\u0151taggal kieg\u00e9sz\u00edteni?","link_titlefield":"C\u00edm","link_target_blank":"Hivatkoz\u00e1s megnyit\u00e1sa \u00faj ablakban","link_target_same":"Hivatkoz\u00e1s megnyit\u00e1sa ugyanabban az ablakban","link_target":"Hivatkoz\u00e1s c\u00e9lja","link_url":"Internet c\u00edm","link_title":"Link besz\u00far\u00e1sa/szerkeszt\u00e9se","image_align_right":"Jobbra","image_align_left":"Balra","image_align_textbottom":"Sz\u00f6veg alj\u00e1hoz","image_align_texttop":"Sz\u00f6veg tetej\u00e9hez","image_align_bottom":"Lentre","image_align_middle":"K\u00f6z\u00e9pre","image_align_top":"Fentre","image_align_baseline":"Alapvonalhoz","image_align":"Igaz\u00edt\u00e1s","image_hspace":"V\u00edzszintes t\u00e1v","image_vspace":"F\u00fcgg\u0151leges t\u00e1v","image_dimensions":"M\u00e9retek","image_alt":"K\u00e9p le\u00edr\u00e1s","image_list":"K\u00e9p lista","image_border":"Keret","image_src":"K\u00e9p URL","image_title":"K\u00e9p besz\u00far\u00e1sa/szerkeszt\u00e9se","charmap_title":"Speci\u00e1lis karakter v\u00e1laszt\u00e1sa","colorpicker_name":"N\u00e9v:","colorpicker_color":"Sz\u00edn:","colorpicker_named_title":"Elnevezett sz\u00ednek","colorpicker_named_tab":"Elnevezett","colorpicker_palette_title":"Paletta sz\u00ednek","colorpicker_palette_tab":"Paletta","colorpicker_picker_title":"Sz\u00ednv\u00e1laszt\u00f3","colorpicker_picker_tab":"V\u00e1laszt\u00f3","colorpicker_title":"Sz\u00ednv\u00e1laszt\u00e1s","code_wordwrap":"Sz\u00f6veg t\u00f6rdel\u00e9se","code_title":"HTML forr\u00e1s szerkeszt\u00e9se","anchor_name":"Horgonyn\u00e9v","anchor_title":"Horgony besz\u00far\u00e1sa/szerkeszt\u00e9se","about_loaded":"Bet\u00f6lt\u00f6tt pluginok","about_version":"Verzi\u00f3","about_author":"Szerz\u0151","about_plugin":"Plugin","about_plugins":"Pluginok","about_license":"Licensz","about_help":"Seg\u00edts\u00e9g","about_general":"R\u00f3lunk","about_title":"A TinyMCE-r\u0151l","charmap_usage":"A navig\u00e1l\u00e1shoz haszn\u00e1ld a bal \u00e9s jobb oldali nyilat.","anchor_invalid":"Adjon meg egy helyes horgony nevet.","accessibility_help":"El\u00e9rhet\u0151s\u00e9g s\u00fag\u00f3","accessibility_usage_title":"\u00c1ltal\u00e1nos haszn\u00e1lat","invalid_color_value":"\u00c9rv\u00e9nytelen sz\u00edn \u00e9rt\u00e9k"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js new file mode 100755 index 00000000..f5533c54 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.advanced',{"underline_desc":"\u4e0b\u7dda (Ctrl+U)","italic_desc":"\u659c\u4f53 (Ctrl+I)","bold_desc":"\u592a\u5b57 (Ctrl+B)",dd:"\u8a9e\u53e5\u306e\u8aac\u660e",dt:"\u8a9e\u53e5\u306e\u5b9a\u7fa9",samp:"\u30b3\u30fc\u30c9\u306e\u4f8b",code:"\u30b3\u30fc\u30c9",blockquote:"\u5f15\u7528",h6:"\u898b\u51fa\u30576",h5:"\u898b\u51fa\u30575",h4:"\u898b\u51fa\u30574",h3:"\u898b\u51fa\u30573",h2:"\u898b\u51fa\u30572",h1:"\u898b\u51fa\u30571",pre:"\u6574\u5f62\u6e08\u307f",address:"\u4f4f\u6240",div:"div\u8981\u7d20",paragraph:"\u6bb5\u843d",block:"\u66f8\u5f0f",fontdefault:"\u30d5\u30a9\u30f3\u30c8","font_size":"\u30d5\u30a9\u30f3\u30c8\u306e\u5927\u304d\u3055","style_select":"\u30b9\u30bf\u30a4\u30eb","more_colors":"\u3055\u3089\u306b\u8272\u3092\u4f7f\u7528...","toolbar_focus":"\u30c4\u30fc\u30eb\u30dc\u30bf\u30f3\u3078\u79fb\u52d5 - Alt Q, \u30a8\u30c7\u30a3\u30bf\u306b\u79fb\u52d5 - Alt-Z, \u8981\u7d20\u306e\u30d1\u30b9\u3078\u79fb\u52d5 - Alt-X",newdocument:"\u672c\u5f53\u306b\u3059\u3079\u3066\u306e\u5185\u5bb9\u3092\u6d88\u53bb\u3057\u3066\u3088\u3044\u3067\u3059\u304b?",path:"\u30d1\u30b9","clipboard_msg":"\u30b3\u30d4\u30fc/\u5207\u308a\u53d6\u308a/\u8cbc\u308a\u4ed8\u3051\u306fMozilla\u3068Firefox\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\n\u3053\u306e\u554f\u984c\u306e\u8a73\u7d30\u3092\u77e5\u308a\u305f\u3044\u3067\u3059\u304b?","blockquote_desc":"\u5f15\u7528\u30d6\u30ed\u30c3\u30af","help_desc":"\u30d8\u30eb\u30d7","newdocument_desc":"\u65b0\u3057\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8","image_props_desc":"\u753b\u50cf\u306e\u5c5e\u6027","paste_desc":"\u8cbc\u308a\u4ed8\u3051","copy_desc":"\u30b3\u30d4\u30fc","cut_desc":"\u5207\u308a\u53d6\u308a","anchor_desc":"\u30a2\u30f3\u30ab\u30fc\u306e\u633f\u5165/\u7de8\u96c6","visualaid_desc":"\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3068\u975e\u8868\u793a\u8981\u7d20\u306e\u8868\u793a\u3092\u5207\u66ff","charmap_desc":"\u7279\u6b8a\u6587\u5b57","backcolor_desc":"\u80cc\u666f\u306e\u8272","forecolor_desc":"\u6587\u5b57\u306e\u8272","custom1_desc":"\u8aac\u660e\u6587\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","removeformat_desc":"\u66f8\u5f0f\u306e\u524a\u9664","hr_desc":"\u6c34\u5e73\u7dda\u3092\u633f\u5165","sup_desc":"\u4e0a\u4ed8\u304d\u6587\u5b57","sub_desc":"\u4e0b\u4ed8\u304d\u6587\u5b57","code_desc":"HTML\u306e\u30bd\u30fc\u30b9\u3092\u7de8\u96c6","cleanup_desc":"\u4e71\u96d1\u306a\u30b3\u30fc\u30c9\u3092\u6574\u5f62","image_desc":"\u753b\u50cf\u306e\u633f\u5165/\u7de8\u96c6","unlink_desc":"\u30ea\u30f3\u30af\u3092\u89e3\u9664","link_desc":"\u30ea\u30f3\u30af\u306e\u633f\u5165/\u7de8\u96c6","redo_desc":"\u3084\u308a\u76f4\u3059 (Ctrl+Y)","undo_desc":"\u5143\u306b\u623b\u3059 (Ctrl+Z)","indent_desc":"\u5b57\u4e0b\u3052\u3092\u5897\u3084\u3059","outdent_desc":"\u5b57\u4e0b\u3052\u3092\u6e1b\u3089\u3059","numlist_desc":"\u756a\u53f7\u3064\u304d\u30ea\u30b9\u30c8","bullist_desc":"\u756a\u53f7\u306a\u3057\u30ea\u30b9\u30c8","justifyfull_desc":"\u5747\u7b49\u5272\u4ed8","justifyright_desc":"\u53f3\u63c3\u3048","justifycenter_desc":"\u4e2d\u592e\u63c3\u3048","justifyleft_desc":"\u5de6\u63c3\u3048","striketrough_desc":"\u53d6\u308a\u6d88\u3057\u7dda","help_shortcut":"ALT-F10 \u3067\u30c4\u30fc\u30eb\u30d0\u30fc\u3001ALT-0 \u3067\u30d8\u30eb\u30d7","rich_text_area":"\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2","shortcuts_desc":"\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30d8\u30eb\u30d7",toolbar:"\u30c4\u30fc\u30eb\u30d0\u30fc","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":""}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js new file mode 100644 index 00000000..234fb71a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/langs/ja_dlg.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.advanced_dlg',{"link_list":"\u30ea\u30f3\u30af\u306e\u4e00\u89a7","link_is_external":"\u5165\u529b\u3057\u305fURL\u306f\u5916\u90e8\u306e\u30ea\u30f3\u30af\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b http:// \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","link_is_email":"\u5165\u529b\u3057\u305fURL\u306f\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u3067\u3059\u3002\u30ea\u30f3\u30af\u306b mailto: \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b?","link_titlefield":"\u30bf\u30a4\u30c8\u30eb","link_target_blank":"\u65b0\u3057\u3044\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","link_target_same":"\u540c\u3058\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u958b\u304f","link_target":"\u30bf\u30fc\u30b2\u30c3\u30c8","link_url":"\u30ea\u30f3\u30af\u306eURL","link_title":"\u30ea\u30f3\u30af\u306e\u633f\u5165\u3084\u7de8\u96c6","image_align_right":"\u53f3\u63c3\u3048","image_align_left":"\u5de6\u63c3\u3048","image_align_textbottom":"\u30c6\u30ad\u30b9\u30c8\u306e\u4e0b\u7aef\u63c3\u3048","image_align_texttop":"\u30c6\u30ad\u30b9\u30c8\u306e\u4e0a\u7aef\u63c3\u3048","image_align_bottom":"\u4e0b\u63c3\u3048","image_align_middle":"\u4e2d\u592e\u63c3\u3048","image_align_top":"\u4e0a\u63c3\u3048","image_align_baseline":"\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u63c3\u3048","image_align":"\u914d\u7f6e","image_hspace":"\u5de6\u53f3\u306e\u4f59\u767d","image_vspace":"\u4e0a\u4e0b\u306e\u4f59\u767d","image_dimensions":"\u5bf8\u6cd5","image_alt":"\u753b\u50cf\u306e\u8aac\u660e","image_list":"\u753b\u50cf\u306e\u4e00\u89a7","image_border":"\u67a0\u7dda","image_src":"\u753b\u50cf\u306eURL","image_title":"\u753b\u50cf\u306e\u633f\u5165\u3084\u7de8\u96c6","charmap_title":"\u7279\u6b8a\u6587\u5b57","colorpicker_name":"\u540d\u524d:","colorpicker_color":"\u8272:","colorpicker_named_title":"\u5b9a\u7fa9\u6e08\u307f\u306e\u8272","colorpicker_named_tab":"\u5b9a\u7fa9\u6e08\u307f","colorpicker_palette_title":"\u30d1\u30ec\u30c3\u30c8\u306e\u8272","colorpicker_palette_tab":"\u30d1\u30ec\u30c3\u30c8","colorpicker_picker_title":"\u8272\u9078\u629e","colorpicker_picker_tab":"\u9078\u629e","colorpicker_title":"\u8272\u3092\u9078\u629e","code_wordwrap":"\u884c\u306e\u6298\u308a\u8fd4\u3057","code_title":"HTML\u306e\u30bd\u30fc\u30b9\u30a8\u30c7\u30a3\u30bf","anchor_name":"\u30a2\u30f3\u30ab\u30fc\u306e\u540d\u524d","anchor_title":"\u30a2\u30f3\u30ab\u30fc\u306e\u633f\u5165\u3084\u7de8\u96c6","about_loaded":"\u8aad\u307f\u8fbc\u307f\u6e08\u307f\u306e\u30d7\u30e9\u30b0\u30a4\u30f3","about_version":"\u30d0\u30fc\u30b8\u30e7\u30f3","about_author":"\u4f5c\u6210\u8005","about_plugin":"\u30d7\u30e9\u30b0\u30a4\u30f3","about_plugins":"\u30d7\u30e9\u30b0\u30a4\u30f3","about_license":"\u30e9\u30a4\u30bb\u30f3\u30b9","about_help":"\u30d8\u30eb\u30d7","about_general":"TinyMCE\u306b\u3064\u3044\u3066","about_title":"TinyMCE\u306b\u3064\u3044\u3066","charmap_usage":"\u5de6\u53f3\u306e\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002","anchor_invalid":"\u6709\u52b9\u306a\u30a2\u30f3\u30ab\u30fc\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002","accessibility_help":"\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30d8\u30eb\u30d7","accessibility_usage_title":"\u5168\u822c\u7684\u306a\u4f7f\u3044\u65b9","invalid_color_value":"\u7121\u52b9\u306a\u5024"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm new file mode 100755 index 00000000..5d9dea9b --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/link.htm @@ -0,0 +1,57 @@ + + + + {#advanced_dlg.link_title} + + + + + + + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    +
    +
    + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm new file mode 100644 index 00000000..20ec2f5a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/shortcuts.htm @@ -0,0 +1,47 @@ + + + + {#advanced_dlg.accessibility_help} + + + + +

    {#advanced_dlg.accessibility_usage_title}

    +

    Toolbars

    +

    Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys. + Press enter to activate a button and return focus to the editor. + Press escape to return focus to the editor without performing any actions.

    + +

    Status Bar

    +

    To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path. + Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.

    + +

    Context Menu

    +

    Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key. + To close submenus press the left arrow key. Press escape to close the context menu.

    + +

    Keyboard Shortcuts

    + + + + + + + + + + + + + + + + + + + + + +
    KeystrokeFunction
    Control-BBold
    Control-IItalic
    Control-ZUndo
    Control-YRedo
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css new file mode 100644 index 00000000..2fd94a1f --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/content.css @@ -0,0 +1,50 @@ +body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} +body {background:#FFF;} +body.mceForceColors {background:#FFF; color:#000;} +body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} +h1 {font-size: 2em} +h2 {font-size: 1.5em} +h3 {font-size: 1.17em} +h4 {font-size: 1em} +h5 {font-size: .83em} +h6 {font-size: .75em} +.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} +a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center} +span.mceItemNbsp {background: #DDD} +td.mceSelected, th.mceSelected {background-color:#3399ff !important} +img {border:0;} +table, img, hr, .mceItemAnchor {cursor:default} +table td, table th {cursor:text} +ins {border-bottom:1px solid green; text-decoration: none; color:green} +del {color:red; text-decoration:line-through} +cite {border-bottom:1px dashed blue} +acronym {border-bottom:1px dotted #CCC; cursor:help} +abbr {border-bottom:1px dashed #CCC; cursor:help} + +/* IE */ +* html body { +scrollbar-3dlight-color:#F0F0EE; +scrollbar-arrow-color:#676662; +scrollbar-base-color:#F0F0EE; +scrollbar-darkshadow-color:#DDD; +scrollbar-face-color:#E0E0DD; +scrollbar-highlight-color:#F0F0EE; +scrollbar-shadow-color:#F0F0EE; +scrollbar-track-color:#F5F5F5; +} + +img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} +font[face=mceinline] {font-family:inherit !important} +*[contentEditable]:focus {outline:0} + +.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} +.mceItemShockWave {background-image:url(../../img/shockwave.gif)} +.mceItemFlash {background-image:url(../../img/flash.gif)} +.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} +.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} +.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} +.mceItemVideo {background-image:url(../../img/video.gif)} +.mceItemAudio {background-image:url(../../img/video.gif)} +.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)} +.mceItemIframe {background-image:url(../../img/iframe.gif)} +.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css new file mode 100644 index 00000000..879786fc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/dialog.css @@ -0,0 +1,118 @@ +/* Generic */ +body { +font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; +scrollbar-3dlight-color:#F0F0EE; +scrollbar-arrow-color:#676662; +scrollbar-base-color:#F0F0EE; +scrollbar-darkshadow-color:#DDDDDD; +scrollbar-face-color:#E0E0DD; +scrollbar-highlight-color:#F0F0EE; +scrollbar-shadow-color:#F0F0EE; +scrollbar-track-color:#F5F5F5; +background:#F0F0EE; +padding:0; +margin:8px 8px 0 8px; +} + +html {background:#F0F0EE;} +td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +textarea {resize:none;outline:none;} +a:link, a:visited {color:black;} +a:hover {color:#2B6FB6;} +.nowrap {white-space: nowrap} + +/* Forms */ +fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} +legend {color:#2B6FB6; font-weight:bold;} +label.msg {display:none;} +label.invalid {color:#EE0000; display:inline;} +input.invalid {border:1px solid #EE0000;} +input {background:#FFF; border:1px solid #CCC;} +input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +input, select, textarea {border:1px solid #808080;} +input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} +input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} +.input_noborder {border:0;} + +/* Buttons */ +#insert, #cancel, input.button, .updateButton { +border:0; margin:0; padding:0; +font-weight:bold; +width:94px; height:26px; +background:url(img/buttons.png) 0 -26px; +cursor:pointer; +padding-bottom:2px; +float:left; +} + +#insert {background:url(img/buttons.png) 0 -52px} +#cancel {background:url(img/buttons.png) 0 0; float:right} + +/* Browse */ +a.pickcolor, a.browse {text-decoration:none} +a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} +.mceOldBoxModel a.browse span {width:22px; height:20px;} +a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} +a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} +a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} +.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} +a.pickcolor:hover span {background-color:#B2BBD0;} +a.pickcolor:hover span.disabled {} + +/* Charmap */ +table.charmap {border:1px solid #AAA; text-align:center} +td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} +#charmap a {display:block; color:#000; text-decoration:none; border:0} +#charmap a:hover {background:#CCC;color:#2B6FB6} +#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} +#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} + +/* Source */ +.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} +.mceActionPanel {margin-top:5px;} + +/* Tabs classes */ +.tabs {width:100%; height:18px; line-height:normal; background:url(img/tabs.gif) repeat-x 0 -72px;} +.tabs ul {margin:0; padding:0; list-style:none;} +.tabs li {float:left; background:url(img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} +.tabs li.current {background:url(img/tabs.gif) no-repeat 0 -18px; margin-right:2px;} +.tabs span {float:left; display:block; background:url(img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;} +.tabs .current span {background:url(img/tabs.gif) no-repeat right -54px;} +.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} +.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} + +/* Panels */ +.panel_wrapper div.panel {display:none;} +.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} +.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} + +/* Columns */ +.column {float:left;} +.properties {width:100%;} +.properties .column1 {} +.properties .column2 {text-align:left;} + +/* Titles */ +h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} +h3 {font-size:14px;} +.title {font-size:12px; font-weight:bold; color:#2B6FB6;} + +/* Dialog specific */ +#link .panel_wrapper, #link div.current {height:125px;} +#image .panel_wrapper, #image div.current {height:200px;} +#plugintable thead {font-weight:bold; background:#DDD;} +#plugintable, #about #plugintable td {border:1px solid #919B9C;} +#plugintable {width:96%; margin-top:10px;} +#pluginscontainer {height:290px; overflow:auto;} +#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} +#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} +#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap} +#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} +#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} +#colorpicker #light div {overflow:hidden;} +#colorpicker .panel_wrapper div.current {height:175px;} +#colorpicker #namedcolors {width:150px;} +#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} +#colorpicker #colornamecontainer {margin-top:5px;} +#colorpicker #picker_panel fieldset {margin:auto;width:325px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png new file mode 100644 index 00000000..1e53560e Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/buttons.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif new file mode 100644 index 00000000..d2f93671 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/items.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif new file mode 100644 index 00000000..85e31dfb Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif new file mode 100644 index 00000000..adfdddcc Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/menu_check.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif new file mode 100644 index 00000000..5bb90fd6 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/progress.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif new file mode 100644 index 00000000..06812cb4 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/img/tabs.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css new file mode 100644 index 00000000..77083f31 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/default/ui.css @@ -0,0 +1,219 @@ +/* Reset */ +.defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left} +.defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000} +.defaultSkin table td {vertical-align:middle} + +/* Containers */ +.defaultSkin table {direction:ltr;background:transparent} +.defaultSkin iframe {display:block;} +.defaultSkin .mceToolbar {height:26px} +.defaultSkin .mceLeft {text-align:left} +.defaultSkin .mceRight {text-align:right} + +/* External */ +.defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;} +.defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;} +.defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0} + +/* Layout */ +.defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC} +.defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC} +.defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC} +.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;} +.defaultSkin td.mceToolbar {background:#F0F0EE; padding-top:1px; vertical-align:top} +.defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC} +.defaultSkin .mceStatusbar {background:#F0F0EE; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px} +.defaultSkin .mceStatusbar div {float:left; margin:2px} +.defaultSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} +.defaultSkin .mceStatusbar a:hover {text-decoration:underline} +.defaultSkin table.mceToolbar {margin-left:3px} +.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px} +.defaultSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} +.defaultSkin td.mceCenter {text-align:center;} +.defaultSkin td.mceCenter table {margin:0 auto; text-align:left;} +.defaultSkin td.mceRight table {margin:0 0 0 auto;} + +/* Button */ +.defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px} +.defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} +.defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0} +.defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +.defaultSkin .mceButtonLabeled {width:auto} +.defaultSkin .mceButtonLabeled span.mceIcon {float:left} +.defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica} +.defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888} + +/* Separator */ +.defaultSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:2px 2px 0 4px} + +/* ListBox */ +.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block} +.defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden} +.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; background:url(../../img/icons.gif) -741px 0; margin-right:2px; border:1px solid #CCC;} +.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF} +.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0} +.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;} +.defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden} +.defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px} +.defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;} +.defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;} + +/* SplitButton */ +.defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr} +.defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block} +.defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;} +.defaultSkin .mceSplitButton span.mceAction {width:20px; background-image:url(../../img/icons.gif);} +.defaultSkin .mceSplitButton a.mceOpen {width:9px; background:url(../../img/icons.gif) -741px 0; border:1px solid #F0F0EE;} +.defaultSkin .mceSplitButton span.mceOpen {display:none} +.defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0} +.defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {background-color:#B2BBD0; border:1px solid #0A246A;} +.defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled a.mceOpen {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +.defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0} +.defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;} + +/* ColorSplitButton */ +.defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray} +.defaultSkin .mceColorSplitMenu td {padding:2px} +.defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080} +.defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} +.defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} +.defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2} +.defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A} +.defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a} +.defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px} + +/* Menu */ +.defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8; direction:ltr} +.defaultSkin .mceNoIcons span.mceIcon {width:0;} +.defaultSkin .mceNoIcons a .mceText {padding-left:10px} +.defaultSkin .mceMenu table {background:#FFF} +.defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block} +.defaultSkin .mceMenu td {height:20px} +.defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0} +.defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block} +.defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px} +.defaultSkin .mceMenu pre.mceText {font-family:Monospace} +.defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} +.defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3} +.defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px} +.defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD} +.defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px} +.defaultSkin .mceMenuItemDisabled .mceText {color:#888} +.defaultSkin .mceMenuItemSelected .mceIcon {background:url(img/menu_check.gif)} +.defaultSkin .mceNoIcons .mceMenuItemSelected a {background:url(img/menu_arrow.gif) no-repeat -6px center} +.defaultSkin .mceMenu span.mceMenuLine {display:none} +.defaultSkin .mceMenuItemSub a {background:url(img/menu_arrow.gif) no-repeat top right;} +.defaultSkin .mceMenuItem td, .defaultSkin .mceMenuItem th {line-height: normal} + +/* Progress,Resize */ +.defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50); background:#FFF} +.defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} + +/* Rtl */ +.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0} +.mceRtl .mceMenuItem .mceText {text-align: right} + +/* Formats */ +.defaultSkin .mce_formatPreview a {font-size:10px} +.defaultSkin .mce_p span.mceText {} +.defaultSkin .mce_address span.mceText {font-style:italic} +.defaultSkin .mce_pre span.mceText {font-family:monospace} +.defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} +.defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} +.defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} +.defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} +.defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} +.defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} + +/* Theme */ +.defaultSkin span.mce_bold {background-position:0 0} +.defaultSkin span.mce_italic {background-position:-60px 0} +.defaultSkin span.mce_underline {background-position:-140px 0} +.defaultSkin span.mce_strikethrough {background-position:-120px 0} +.defaultSkin span.mce_undo {background-position:-160px 0} +.defaultSkin span.mce_redo {background-position:-100px 0} +.defaultSkin span.mce_cleanup {background-position:-40px 0} +.defaultSkin span.mce_bullist {background-position:-20px 0} +.defaultSkin span.mce_numlist {background-position:-80px 0} +.defaultSkin span.mce_justifyleft {background-position:-460px 0} +.defaultSkin span.mce_justifyright {background-position:-480px 0} +.defaultSkin span.mce_justifycenter {background-position:-420px 0} +.defaultSkin span.mce_justifyfull {background-position:-440px 0} +.defaultSkin span.mce_anchor {background-position:-200px 0} +.defaultSkin span.mce_indent {background-position:-400px 0} +.defaultSkin span.mce_outdent {background-position:-540px 0} +.defaultSkin span.mce_link {background-position:-500px 0} +.defaultSkin span.mce_unlink {background-position:-640px 0} +.defaultSkin span.mce_sub {background-position:-600px 0} +.defaultSkin span.mce_sup {background-position:-620px 0} +.defaultSkin span.mce_removeformat {background-position:-580px 0} +.defaultSkin span.mce_newdocument {background-position:-520px 0} +.defaultSkin span.mce_image {background-position:-380px 0} +.defaultSkin span.mce_help {background-position:-340px 0} +.defaultSkin span.mce_code {background-position:-260px 0} +.defaultSkin span.mce_hr {background-position:-360px 0} +.defaultSkin span.mce_visualaid {background-position:-660px 0} +.defaultSkin span.mce_charmap {background-position:-240px 0} +.defaultSkin span.mce_paste {background-position:-560px 0} +.defaultSkin span.mce_copy {background-position:-700px 0} +.defaultSkin span.mce_cut {background-position:-680px 0} +.defaultSkin span.mce_blockquote {background-position:-220px 0} +.defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0} +.defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0} +.defaultSkin span.mce_forecolorpicker {background-position:-720px 0} +.defaultSkin span.mce_backcolorpicker {background-position:-760px 0} + +/* Plugins */ +.defaultSkin span.mce_advhr {background-position:-0px -20px} +.defaultSkin span.mce_ltr {background-position:-20px -20px} +.defaultSkin span.mce_rtl {background-position:-40px -20px} +.defaultSkin span.mce_emotions {background-position:-60px -20px} +.defaultSkin span.mce_fullpage {background-position:-80px -20px} +.defaultSkin span.mce_fullscreen {background-position:-100px -20px} +.defaultSkin span.mce_iespell {background-position:-120px -20px} +.defaultSkin span.mce_insertdate {background-position:-140px -20px} +.defaultSkin span.mce_inserttime {background-position:-160px -20px} +.defaultSkin span.mce_absolute {background-position:-180px -20px} +.defaultSkin span.mce_backward {background-position:-200px -20px} +.defaultSkin span.mce_forward {background-position:-220px -20px} +.defaultSkin span.mce_insert_layer {background-position:-240px -20px} +.defaultSkin span.mce_insertlayer {background-position:-260px -20px} +.defaultSkin span.mce_movebackward {background-position:-280px -20px} +.defaultSkin span.mce_moveforward {background-position:-300px -20px} +.defaultSkin span.mce_media {background-position:-320px -20px} +.defaultSkin span.mce_nonbreaking {background-position:-340px -20px} +.defaultSkin span.mce_pastetext {background-position:-360px -20px} +.defaultSkin span.mce_pasteword {background-position:-380px -20px} +.defaultSkin span.mce_selectall {background-position:-400px -20px} +.defaultSkin span.mce_preview {background-position:-420px -20px} +.defaultSkin span.mce_print {background-position:-440px -20px} +.defaultSkin span.mce_cancel {background-position:-460px -20px} +.defaultSkin span.mce_save {background-position:-480px -20px} +.defaultSkin span.mce_replace {background-position:-500px -20px} +.defaultSkin span.mce_search {background-position:-520px -20px} +.defaultSkin span.mce_styleprops {background-position:-560px -20px} +.defaultSkin span.mce_table {background-position:-580px -20px} +.defaultSkin span.mce_cell_props {background-position:-600px -20px} +.defaultSkin span.mce_delete_table {background-position:-620px -20px} +.defaultSkin span.mce_delete_col {background-position:-640px -20px} +.defaultSkin span.mce_delete_row {background-position:-660px -20px} +.defaultSkin span.mce_col_after {background-position:-680px -20px} +.defaultSkin span.mce_col_before {background-position:-700px -20px} +.defaultSkin span.mce_row_after {background-position:-720px -20px} +.defaultSkin span.mce_row_before {background-position:-740px -20px} +.defaultSkin span.mce_merge_cells {background-position:-760px -20px} +.defaultSkin span.mce_table_props {background-position:-980px -20px} +.defaultSkin span.mce_row_props {background-position:-780px -20px} +.defaultSkin span.mce_split_cells {background-position:-800px -20px} +.defaultSkin span.mce_template {background-position:-820px -20px} +.defaultSkin span.mce_visualchars {background-position:-840px -20px} +.defaultSkin span.mce_abbr {background-position:-860px -20px} +.defaultSkin span.mce_acronym {background-position:-880px -20px} +.defaultSkin span.mce_attribs {background-position:-900px -20px} +.defaultSkin span.mce_cite {background-position:-920px -20px} +.defaultSkin span.mce_del {background-position:-940px -20px} +.defaultSkin span.mce_ins {background-position:-960px -20px} +.defaultSkin span.mce_pagebreak {background-position:0 -40px} +.defaultSkin span.mce_restoredraft {background-position:-20px -40px} +.defaultSkin span.mce_spellchecker {background-position:-540px -20px} +.defaultSkin span.mce_visualblocks {background-position: -40px -40px} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css new file mode 100644 index 00000000..cbce6c6a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/content.css @@ -0,0 +1,24 @@ +body, td, pre { margin:8px;} +body.mceForceColors {background:#FFF; color:#000;} +h1 {font-size: 2em} +h2 {font-size: 1.5em} +h3 {font-size: 1.17em} +h4 {font-size: 1em} +h5 {font-size: .83em} +h6 {font-size: .75em} +.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} +a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} +span.mceItemNbsp {background: #DDD} +td.mceSelected, th.mceSelected {background-color:#3399ff !important} +img {border:0;} +table, img, hr, .mceItemAnchor {cursor:default} +table td, table th {cursor:text} +ins {border-bottom:1px solid green; text-decoration: none; color:green} +del {color:red; text-decoration:line-through} +cite {border-bottom:1px dashed blue} +acronym {border-bottom:1px dotted #CCC; cursor:help} +abbr {border-bottom:1px dashed #CCC; cursor:help} + +img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} +font[face=mceinline] {font-family:inherit !important} +*[contentEditable]:focus {outline:0} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css new file mode 100644 index 00000000..6d9fc8dd --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/dialog.css @@ -0,0 +1,106 @@ +/* Generic */ +body { +font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; +background:#F0F0EE; +color: black; +padding:0; +margin:8px 8px 0 8px; +} + +html {background:#F0F0EE; color:#000;} +td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +textarea {resize:none;outline:none;} +a:link, a:visited {color:black;background-color:transparent;} +a:hover {color:#2B6FB6;background-color:transparent;} +.nowrap {white-space: nowrap} + +/* Forms */ +fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} +legend {color:#2B6FB6; font-weight:bold;} +label.msg {display:none;} +label.invalid {color:#EE0000; display:inline;background-color:transparent;} +input.invalid {border:1px solid #EE0000;background-color:transparent;} +input {background:#FFF; border:1px solid #CCC;color:black;} +input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +input, select, textarea {border:1px solid #808080;} +input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} +input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} +.input_noborder {border:0;} + +/* Buttons */ +#insert, #cancel, input.button, .updateButton { +font-weight:bold; +width:94px; height:23px; +cursor:pointer; +padding-bottom:2px; +float:left; +} + +#cancel {float:right} + +/* Browse */ +a.pickcolor, a.browse {text-decoration:none} +a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} +.mceOldBoxModel a.browse span {width:22px; height:20px;} +a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} +a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} +a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} +.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} +a.pickcolor:hover span {background-color:#B2BBD0;} +a.pickcolor:hover span.disabled {} + +/* Charmap */ +table.charmap {border:1px solid #AAA; text-align:center} +td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} +#charmap a {display:block; color:#000; text-decoration:none; border:0} +#charmap a:hover {background:#CCC;color:#2B6FB6} +#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} +#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} + +/* Source */ +.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} +.mceActionPanel {margin-top:5px;} + +/* Tabs classes */ +.tabs {width:100%; height:18px; line-height:normal;} +.tabs ul {margin:0; padding:0; list-style:none;} +.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;} +.tabs li.current {font-weight: bold; margin-right:2px;} +.tabs span {float:left; display:block; padding:0px 10px 0 0;} +.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} +.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} + +/* Panels */ +.panel_wrapper div.panel {display:none;} +.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} +.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;} + +/* Columns */ +.column {float:left;} +.properties {width:100%;} +.properties .column1 {} +.properties .column2 {text-align:left;} + +/* Titles */ +h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} +h3 {font-size:14px;} +.title {font-size:12px; font-weight:bold; color:#2B6FB6;} + +/* Dialog specific */ +#link .panel_wrapper, #link div.current {height:125px;} +#image .panel_wrapper, #image div.current {height:200px;} +#plugintable thead {font-weight:bold; background:#DDD;} +#plugintable, #about #plugintable td {border:1px solid #919B9C;} +#plugintable {width:96%; margin-top:10px;} +#pluginscontainer {height:290px; overflow:auto;} +#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} +#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} +#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap} +#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} +#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} +#colorpicker #light div {overflow:hidden;} +#colorpicker .panel_wrapper div.current {height:175px;} +#colorpicker #namedcolors {width:150px;} +#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} +#colorpicker #colornamecontainer {margin-top:5px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css new file mode 100644 index 00000000..effbbe15 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/highcontrast/ui.css @@ -0,0 +1,106 @@ +/* Reset */ +.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;} +.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;} +.highcontrastSkin table td {vertical-align:middle} + +.highcontrastSkin .mceIconOnly {display: block !important;} + +/* External */ +.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;} +.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;} +.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;} + +/* Layout */ +.highcontrastSkin table.mceLayout {border: 1px solid;} +.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid} +.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline} +.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;} +.highcontrastSkin .mceStatusbar div {float:left} +.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0} + +.highcontrastSkin .mceToolbar td { display: inline-block; float: left;} +.highcontrastSkin .mceToolbar tr { display: block;} +.highcontrastSkin .mceToolbar table { display: block; } + +/* Button */ + +.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;} +.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em} +.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} +.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;} + +/* Separator */ +.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;} + +/* ListBox */ +.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;} +.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} +.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} +.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} +.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;} +.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;} + +.highcontrastSkin .mceListBoxMenu {overflow-y:auto} + +/* SplitButton */ +.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} + +.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;} +.highcontrastSkin .mceSplitButton tr { display: table-row; } +.highcontrastSkin table.mceSplitButton { display: table; } +.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} +.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} +.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; } +.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;} + +/* Menu */ +.highcontrastSkin .mceNoIcons span.mceIcon {width:0;} +.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; direction:ltr} +.highcontrastSkin .mceMenu table {background:white; color: black} +.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px} +.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black} +.highcontrastSkin .mceMenu td {height:2em} +.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;} +.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;} +.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace} +.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;} +.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px} +.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid} +.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px} +.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";} +.highcontrastSkin .mceMenu span.mceMenuLine {display:none} +.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"} +.highcontrastSkin .mceMenuItem td, .highcontrastSkin .mceMenuItem th {line-height: normal} + +/* ColorSplitButton */ +.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000} +.highcontrastSkin .mceColorSplitMenu td {padding:2px} +.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;} +.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} +.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} +.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2} +.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;} +.highcontrastSkin .mceColorPreview {display:none;} +.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden} + +/* Progress,Resize */ +.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF} +.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} + +/* Rtl */ +.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0} +.mceRtl .mceMenuItem .mceText {text-align: right} + +/* Formats */ +.highcontrastSkin .mce_p span.mceText {} +.highcontrastSkin .mce_address span.mceText {font-style:italic} +.highcontrastSkin .mce_pre span.mceText {font-family:monospace} +.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} +.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} +.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} +.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} +.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} +.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css new file mode 100644 index 00000000..a1a8f9bd --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/content.css @@ -0,0 +1,48 @@ +body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} +body {background:#FFF;} +body.mceForceColors {background:#FFF; color:#000;} +h1 {font-size: 2em} +h2 {font-size: 1.5em} +h3 {font-size: 1.17em} +h4 {font-size: 1em} +h5 {font-size: .83em} +h6 {font-size: .75em} +.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} +a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} +span.mceItemNbsp {background: #DDD} +td.mceSelected, th.mceSelected {background-color:#3399ff !important} +img {border:0;} +table, img, hr, .mceItemAnchor {cursor:default} +table td, table th {cursor:text} +ins {border-bottom:1px solid green; text-decoration: none; color:green} +del {color:red; text-decoration:line-through} +cite {border-bottom:1px dashed blue} +acronym {border-bottom:1px dotted #CCC; cursor:help} +abbr {border-bottom:1px dashed #CCC; cursor:help} + +/* IE */ +* html body { +scrollbar-3dlight-color:#F0F0EE; +scrollbar-arrow-color:#676662; +scrollbar-base-color:#F0F0EE; +scrollbar-darkshadow-color:#DDD; +scrollbar-face-color:#E0E0DD; +scrollbar-highlight-color:#F0F0EE; +scrollbar-shadow-color:#F0F0EE; +scrollbar-track-color:#F5F5F5; +} + +img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} +font[face=mceinline] {font-family:inherit !important} +*[contentEditable]:focus {outline:0} + +.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} +.mceItemShockWave {background-image:url(../../img/shockwave.gif)} +.mceItemFlash {background-image:url(../../img/flash.gif)} +.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} +.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} +.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} +.mceItemVideo {background-image:url(../../img/video.gif)} +.mceItemAudio {background-image:url(../../img/video.gif)} +.mceItemIframe {background-image:url(../../img/iframe.gif)} +.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css new file mode 100644 index 00000000..a54db98d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/dialog.css @@ -0,0 +1,118 @@ +/* Generic */ +body { +font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; +scrollbar-3dlight-color:#F0F0EE; +scrollbar-arrow-color:#676662; +scrollbar-base-color:#F0F0EE; +scrollbar-darkshadow-color:#DDDDDD; +scrollbar-face-color:#E0E0DD; +scrollbar-highlight-color:#F0F0EE; +scrollbar-shadow-color:#F0F0EE; +scrollbar-track-color:#F5F5F5; +background:#F0F0EE; +padding:0; +margin:8px 8px 0 8px; +} + +html {background:#F0F0EE;} +td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +textarea {resize:none;outline:none;} +a:link, a:visited {color:black;} +a:hover {color:#2B6FB6;} +.nowrap {white-space: nowrap} + +/* Forms */ +fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} +legend {color:#2B6FB6; font-weight:bold;} +label.msg {display:none;} +label.invalid {color:#EE0000; display:inline;} +input.invalid {border:1px solid #EE0000;} +input {background:#FFF; border:1px solid #CCC;} +input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +input, select, textarea {border:1px solid #808080;} +input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} +input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} +.input_noborder {border:0;} + +/* Buttons */ +#insert, #cancel, input.button, .updateButton { +border:0; margin:0; padding:0; +font-weight:bold; +width:94px; height:26px; +background:url(../default/img/buttons.png) 0 -26px; +cursor:pointer; +padding-bottom:2px; +float:left; +} + +#insert {background:url(../default/img/buttons.png) 0 -52px} +#cancel {background:url(../default/img/buttons.png) 0 0; float:right} + +/* Browse */ +a.pickcolor, a.browse {text-decoration:none} +a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} +.mceOldBoxModel a.browse span {width:22px; height:20px;} +a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} +a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} +a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} +.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} +a.pickcolor:hover span {background-color:#B2BBD0;} +a.pickcolor:hover span.disabled {} + +/* Charmap */ +table.charmap {border:1px solid #AAA; text-align:center} +td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} +#charmap a {display:block; color:#000; text-decoration:none; border:0} +#charmap a:hover {background:#CCC;color:#2B6FB6} +#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} +#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} + +/* Source */ +.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} +.mceActionPanel {margin-top:5px;} + +/* Tabs classes */ +.tabs {width:100%; height:18px; line-height:normal; background:url(../default/img/tabs.gif) repeat-x 0 -72px;} +.tabs ul {margin:0; padding:0; list-style:none;} +.tabs li {float:left; background:url(../default/img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} +.tabs li.current {background:url(../default/img/tabs.gif) no-repeat 0 -18px; margin-right:2px;} +.tabs span {float:left; display:block; background:url(../default/img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;} +.tabs .current span {background:url(../default/img/tabs.gif) no-repeat right -54px;} +.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} +.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} + +/* Panels */ +.panel_wrapper div.panel {display:none;} +.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} +.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} + +/* Columns */ +.column {float:left;} +.properties {width:100%;} +.properties .column1 {} +.properties .column2 {text-align:left;} + +/* Titles */ +h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} +h3 {font-size:14px;} +.title {font-size:12px; font-weight:bold; color:#2B6FB6;} + +/* Dialog specific */ +#link .panel_wrapper, #link div.current {height:125px;} +#image .panel_wrapper, #image div.current {height:200px;} +#plugintable thead {font-weight:bold; background:#DDD;} +#plugintable, #about #plugintable td {border:1px solid #919B9C;} +#plugintable {width:96%; margin-top:10px;} +#pluginscontainer {height:290px; overflow:auto;} +#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} +#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} +#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap} +#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} +#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} +#colorpicker #light div {overflow:hidden;} +#colorpicker .panel_wrapper div.current {height:175px;} +#colorpicker #namedcolors {width:150px;} +#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} +#colorpicker #colornamecontainer {margin-top:5px;} +#colorpicker #picker_panel fieldset {margin:auto;width:325px;} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png new file mode 100644 index 00000000..13a5cb03 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png new file mode 100644 index 00000000..7fc57f2b Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png new file mode 100644 index 00000000..c0dcc6ca Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css new file mode 100644 index 00000000..a3102237 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui.css @@ -0,0 +1,222 @@ +/* Reset */ +.o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left} +.o2k7Skin a:hover, .o2k7Skin a:link, .o2k7Skin a:visited, .o2k7Skin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000} +.o2k7Skin table td {vertical-align:middle} + +/* Containers */ +.o2k7Skin table {background:transparent} +.o2k7Skin iframe {display:block;} +.o2k7Skin .mceToolbar {height:26px} + +/* External */ +.o2k7Skin .mceExternalToolbar {position:absolute; border:1px solid #ABC6DD; border-bottom:0; display:none} +.o2k7Skin .mceExternalToolbar td.mceToolbar {padding-right:13px;} +.o2k7Skin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0} + +/* Layout */ +.o2k7Skin table.mceLayout {border:0; border-left:1px solid #ABC6DD; border-right:1px solid #ABC6DD} +.o2k7Skin table.mceLayout tr.mceFirst td {border-top:1px solid #ABC6DD} +.o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD} +.o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0} +.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD} +.o2k7Skin td.mceToolbar{background:#E5EFFD} +.o2k7Skin .mceStatusbar {background:#E5EFFD; display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px} +.o2k7Skin .mceStatusbar div {float:left; padding:2px} +.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} +.o2k7Skin .mceStatusbar a:hover {text-decoration:underline} +.o2k7Skin table.mceToolbar {margin-left:3px} +.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; margin-left:3px;} +.o2k7Skin .mceToolbar td.mceFirst span {margin:0} +.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px} +.o2k7Skin .mceToolbar .mceToolbarEndListBox span, .o2k7Skin .mceToolbar .mceToolbarStartListBox span {display:none} +.o2k7Skin span.mceIcon, .o2k7Skin img.mceIcon {display:block; width:20px; height:20px} +.o2k7Skin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} +.o2k7Skin td.mceCenter {text-align:center;} +.o2k7Skin td.mceCenter table {margin:0 auto; text-align:left;} +.o2k7Skin td.mceRight table {margin:0 0 0 auto;} + +/* Button */ +.o2k7Skin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px} +.o2k7Skin a.mceButton span, .o2k7Skin a.mceButton img {margin-left:1px} +.o2k7Skin .mceOldBoxModel a.mceButton span, .o2k7Skin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} +.o2k7Skin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px} +.o2k7Skin a.mceButtonActive, .o2k7Skin a.mceButtonSelected {background-position:0 -44px} +.o2k7Skin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +.o2k7Skin .mceButtonLabeled {width:auto} +.o2k7Skin .mceButtonLabeled span.mceIcon {float:left} +.o2k7Skin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica} +.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888} + +/* Separator */ +.o2k7Skin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px} + +/* ListBox */ +.o2k7Skin .mceListBox {padding-left: 3px} +.o2k7Skin .mceListBox, .o2k7Skin .mceListBox a {display:block} +.o2k7Skin .mceListBox .mceText {padding-left:4px; text-align:left; width:70px; border:1px solid #b3c7e1; border-right:0; background:#eaf2fb; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden} +.o2k7Skin .mceListBox .mceOpen {width:14px; height:22px; background:url(img/button_bg.png) -66px 0} +.o2k7Skin table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF} +.o2k7Skin table.mceListBoxEnabled:hover .mceOpen, .o2k7Skin .mceListBoxHover .mceOpen, .o2k7Skin .mceListBoxSelected .mceOpen {background-position:-66px -22px} +.o2k7Skin .mceListBoxDisabled .mceText {color:gray} +.o2k7Skin .mceListBoxMenu {overflow:auto; overflow-x:hidden; margin-left:3px} +.o2k7Skin .mceOldBoxModel .mceListBox .mceText {height:22px} +.o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;} + +/* SplitButton */ +.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px; direction:ltr} +.o2k7Skin .mceSplitButton {background:url(img/button_bg.png)} +.o2k7Skin .mceSplitButton a.mceAction {width:22px} +.o2k7Skin .mceSplitButton span.mceAction {width:22px; background-image:url(../../img/icons.gif)} +.o2k7Skin .mceSplitButton a.mceOpen {width:10px; background:url(img/button_bg.png) -44px 0} +.o2k7Skin .mceSplitButton span.mceOpen {display:none} +.o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background:url(img/button_bg.png) 0 -22px} +.o2k7Skin table.mceSplitButtonEnabled:hover a.mceOpen, .o2k7Skin .mceSplitButtonHover a.mceOpen, .o2k7Skin .mceSplitButtonSelected a.mceOpen {background-position:-44px -44px} +.o2k7Skin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +.o2k7Skin .mceSplitButtonActive {background-position:0 -44px} + +/* ColorSplitButton */ +.o2k7Skin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray} +.o2k7Skin .mceColorSplitMenu td {padding:2px} +.o2k7Skin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080} +.o2k7Skin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} +.o2k7Skin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} +.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2} +.o2k7Skin a.mceMoreColors:hover {border:1px solid #0A246A} +.o2k7Skin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a;overflow:hidden} +.o2k7Skin .mce_forecolor span.mceAction, .o2k7Skin .mce_backcolor span.mceAction {height:15px;overflow:hidden} + +/* Menu */ +.o2k7Skin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #ABC6DD; direction:ltr} +.o2k7Skin .mceNoIcons span.mceIcon {width:0;} +.o2k7Skin .mceNoIcons a .mceText {padding-left:10px} +.o2k7Skin .mceMenu table {background:#FFF} +.o2k7Skin .mceMenu a, .o2k7Skin .mceMenu span, .o2k7Skin .mceMenu {display:block} +.o2k7Skin .mceMenu td {height:20px} +.o2k7Skin .mceMenu a {position:relative;padding:3px 0 4px 0} +.o2k7Skin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block} +.o2k7Skin .mceMenu span.mceText, .o2k7Skin .mceMenu .mcePreview {font-size:11px} +.o2k7Skin .mceMenu pre.mceText {font-family:Monospace} +.o2k7Skin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} +.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#dbecf3} +.o2k7Skin td.mceMenuItemSeparator {background:#DDD; height:1px} +.o2k7Skin .mceMenuItemTitle a {border:0; background:#E5EFFD; border-bottom:1px solid #ABC6DD} +.o2k7Skin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px} +.o2k7Skin .mceMenuItemDisabled .mceText {color:#888} +.o2k7Skin .mceMenuItemSelected .mceIcon {background:url(../default/img/menu_check.gif)} +.o2k7Skin .mceNoIcons .mceMenuItemSelected a {background:url(../default/img/menu_arrow.gif) no-repeat -6px center} +.o2k7Skin .mceMenu span.mceMenuLine {display:none} +.o2k7Skin .mceMenuItemSub a {background:url(../default/img/menu_arrow.gif) no-repeat top right;} +.o2k7Skin .mceMenuItem td, .o2k7Skin .mceMenuItem th {line-height: normal} + +/* Progress,Resize */ +.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF} +.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} + +/* Rtl */ +.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0} +.mceRtl .mceMenuItem .mceText {text-align: right} + +/* Formats */ +.o2k7Skin .mce_formatPreview a {font-size:10px} +.o2k7Skin .mce_p span.mceText {} +.o2k7Skin .mce_address span.mceText {font-style:italic} +.o2k7Skin .mce_pre span.mceText {font-family:monospace} +.o2k7Skin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} +.o2k7Skin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} +.o2k7Skin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} +.o2k7Skin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} +.o2k7Skin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} +.o2k7Skin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} + +/* Theme */ +.o2k7Skin span.mce_bold {background-position:0 0} +.o2k7Skin span.mce_italic {background-position:-60px 0} +.o2k7Skin span.mce_underline {background-position:-140px 0} +.o2k7Skin span.mce_strikethrough {background-position:-120px 0} +.o2k7Skin span.mce_undo {background-position:-160px 0} +.o2k7Skin span.mce_redo {background-position:-100px 0} +.o2k7Skin span.mce_cleanup {background-position:-40px 0} +.o2k7Skin span.mce_bullist {background-position:-20px 0} +.o2k7Skin span.mce_numlist {background-position:-80px 0} +.o2k7Skin span.mce_justifyleft {background-position:-460px 0} +.o2k7Skin span.mce_justifyright {background-position:-480px 0} +.o2k7Skin span.mce_justifycenter {background-position:-420px 0} +.o2k7Skin span.mce_justifyfull {background-position:-440px 0} +.o2k7Skin span.mce_anchor {background-position:-200px 0} +.o2k7Skin span.mce_indent {background-position:-400px 0} +.o2k7Skin span.mce_outdent {background-position:-540px 0} +.o2k7Skin span.mce_link {background-position:-500px 0} +.o2k7Skin span.mce_unlink {background-position:-640px 0} +.o2k7Skin span.mce_sub {background-position:-600px 0} +.o2k7Skin span.mce_sup {background-position:-620px 0} +.o2k7Skin span.mce_removeformat {background-position:-580px 0} +.o2k7Skin span.mce_newdocument {background-position:-520px 0} +.o2k7Skin span.mce_image {background-position:-380px 0} +.o2k7Skin span.mce_help {background-position:-340px 0} +.o2k7Skin span.mce_code {background-position:-260px 0} +.o2k7Skin span.mce_hr {background-position:-360px 0} +.o2k7Skin span.mce_visualaid {background-position:-660px 0} +.o2k7Skin span.mce_charmap {background-position:-240px 0} +.o2k7Skin span.mce_paste {background-position:-560px 0} +.o2k7Skin span.mce_copy {background-position:-700px 0} +.o2k7Skin span.mce_cut {background-position:-680px 0} +.o2k7Skin span.mce_blockquote {background-position:-220px 0} +.o2k7Skin .mce_forecolor span.mceAction {background-position:-720px 0} +.o2k7Skin .mce_backcolor span.mceAction {background-position:-760px 0} +.o2k7Skin span.mce_forecolorpicker {background-position:-720px 0} +.o2k7Skin span.mce_backcolorpicker {background-position:-760px 0} + +/* Plugins */ +.o2k7Skin span.mce_advhr {background-position:-0px -20px} +.o2k7Skin span.mce_ltr {background-position:-20px -20px} +.o2k7Skin span.mce_rtl {background-position:-40px -20px} +.o2k7Skin span.mce_emotions {background-position:-60px -20px} +.o2k7Skin span.mce_fullpage {background-position:-80px -20px} +.o2k7Skin span.mce_fullscreen {background-position:-100px -20px} +.o2k7Skin span.mce_iespell {background-position:-120px -20px} +.o2k7Skin span.mce_insertdate {background-position:-140px -20px} +.o2k7Skin span.mce_inserttime {background-position:-160px -20px} +.o2k7Skin span.mce_absolute {background-position:-180px -20px} +.o2k7Skin span.mce_backward {background-position:-200px -20px} +.o2k7Skin span.mce_forward {background-position:-220px -20px} +.o2k7Skin span.mce_insert_layer {background-position:-240px -20px} +.o2k7Skin span.mce_insertlayer {background-position:-260px -20px} +.o2k7Skin span.mce_movebackward {background-position:-280px -20px} +.o2k7Skin span.mce_moveforward {background-position:-300px -20px} +.o2k7Skin span.mce_media {background-position:-320px -20px} +.o2k7Skin span.mce_nonbreaking {background-position:-340px -20px} +.o2k7Skin span.mce_pastetext {background-position:-360px -20px} +.o2k7Skin span.mce_pasteword {background-position:-380px -20px} +.o2k7Skin span.mce_selectall {background-position:-400px -20px} +.o2k7Skin span.mce_preview {background-position:-420px -20px} +.o2k7Skin span.mce_print {background-position:-440px -20px} +.o2k7Skin span.mce_cancel {background-position:-460px -20px} +.o2k7Skin span.mce_save {background-position:-480px -20px} +.o2k7Skin span.mce_replace {background-position:-500px -20px} +.o2k7Skin span.mce_search {background-position:-520px -20px} +.o2k7Skin span.mce_styleprops {background-position:-560px -20px} +.o2k7Skin span.mce_table {background-position:-580px -20px} +.o2k7Skin span.mce_cell_props {background-position:-600px -20px} +.o2k7Skin span.mce_delete_table {background-position:-620px -20px} +.o2k7Skin span.mce_delete_col {background-position:-640px -20px} +.o2k7Skin span.mce_delete_row {background-position:-660px -20px} +.o2k7Skin span.mce_col_after {background-position:-680px -20px} +.o2k7Skin span.mce_col_before {background-position:-700px -20px} +.o2k7Skin span.mce_row_after {background-position:-720px -20px} +.o2k7Skin span.mce_row_before {background-position:-740px -20px} +.o2k7Skin span.mce_merge_cells {background-position:-760px -20px} +.o2k7Skin span.mce_table_props {background-position:-980px -20px} +.o2k7Skin span.mce_row_props {background-position:-780px -20px} +.o2k7Skin span.mce_split_cells {background-position:-800px -20px} +.o2k7Skin span.mce_template {background-position:-820px -20px} +.o2k7Skin span.mce_visualchars {background-position:-840px -20px} +.o2k7Skin span.mce_abbr {background-position:-860px -20px} +.o2k7Skin span.mce_acronym {background-position:-880px -20px} +.o2k7Skin span.mce_attribs {background-position:-900px -20px} +.o2k7Skin span.mce_cite {background-position:-920px -20px} +.o2k7Skin span.mce_del {background-position:-940px -20px} +.o2k7Skin span.mce_ins {background-position:-960px -20px} +.o2k7Skin span.mce_pagebreak {background-position:0 -40px} +.o2k7Skin span.mce_restoredraft {background-position:-20px -40px} +.o2k7Skin span.mce_spellchecker {background-position:-540px -20px} +.o2k7Skin span.mce_visualblocks {background-position: -40px -40px} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css new file mode 100644 index 00000000..50c9b76a --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_black.css @@ -0,0 +1,8 @@ +/* Black */ +.o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)} +.o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} +.o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0} +.o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0} +.o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;} +.o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7SkinBlack .mceSplitButtonHover a.mceAction, .o2k7SkinBlack .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)} +.o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7SkinBlack .mceMenu .mceMenuItemActive {background-color:#FFE7A1} \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css new file mode 100644 index 00000000..960a8e47 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css @@ -0,0 +1,5 @@ +/* Silver */ +.o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)} +.o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} +.o2k7SkinSilver .mceListBox .mceText {background:#FFF} +.o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm new file mode 100755 index 00000000..dd973fcc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/advanced/source_editor.htm @@ -0,0 +1,25 @@ + + + {#advanced_dlg.code_title} + + + + +
    +
    + +
    + +
    + +
    + + + +
    + + +
    +
    + + diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js new file mode 100755 index 00000000..4b3209cc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template.js @@ -0,0 +1 @@ +(function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.contentCSS.push(d+"/skins/"+f.skin+"/content.css");c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})})});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js new file mode 100755 index 00000000..01ce87c5 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/editor_template_src.js @@ -0,0 +1,84 @@ +/** + * editor_template_src.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +(function() { + var DOM = tinymce.DOM; + + // Tell it to load theme specific language pack(s) + tinymce.ThemeManager.requireLangPack('simple'); + + tinymce.create('tinymce.themes.SimpleTheme', { + init : function(ed, url) { + var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings; + + t.editor = ed; + ed.contentCSS.push(url + "/skins/" + s.skin + "/content.css"); + + ed.onInit.add(function() { + ed.onNodeChange.add(function(ed, cm) { + tinymce.each(states, function(c) { + cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c)); + }); + }); + }); + + DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css"); + }, + + renderUI : function(o) { + var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc; + + n = DOM.insertAfter(DOM.create('span', {id : ed.id + '_container', 'class' : 'mceEditor ' + ed.settings.skin + 'SimpleSkin'}), n); + n = sc = DOM.add(n, 'table', {cellPadding : 0, cellSpacing : 0, 'class' : 'mceLayout'}); + n = tb = DOM.add(n, 'tbody'); + + // Create iframe container + n = DOM.add(tb, 'tr'); + n = ic = DOM.add(DOM.add(n, 'td'), 'div', {'class' : 'mceIframeContainer'}); + + // Create toolbar container + n = DOM.add(DOM.add(tb, 'tr', {'class' : 'last'}), 'td', {'class' : 'mceToolbar mceLast', align : 'center'}); + + // Create toolbar + tb = t.toolbar = cf.createToolbar("tools1"); + tb.add(cf.createButton('bold', {title : 'simple.bold_desc', cmd : 'Bold'})); + tb.add(cf.createButton('italic', {title : 'simple.italic_desc', cmd : 'Italic'})); + tb.add(cf.createButton('underline', {title : 'simple.underline_desc', cmd : 'Underline'})); + tb.add(cf.createButton('strikethrough', {title : 'simple.striketrough_desc', cmd : 'Strikethrough'})); + tb.add(cf.createSeparator()); + tb.add(cf.createButton('undo', {title : 'simple.undo_desc', cmd : 'Undo'})); + tb.add(cf.createButton('redo', {title : 'simple.redo_desc', cmd : 'Redo'})); + tb.add(cf.createSeparator()); + tb.add(cf.createButton('cleanup', {title : 'simple.cleanup_desc', cmd : 'mceCleanup'})); + tb.add(cf.createSeparator()); + tb.add(cf.createButton('insertunorderedlist', {title : 'simple.bullist_desc', cmd : 'InsertUnorderedList'})); + tb.add(cf.createButton('insertorderedlist', {title : 'simple.numlist_desc', cmd : 'InsertOrderedList'})); + tb.renderTo(n); + + return { + iframeContainer : ic, + editorContainer : ed.id + '_container', + sizeContainer : sc, + deltaHeight : -20 + }; + }, + + getInfo : function() { + return { + longname : 'Simple theme', + author : 'Moxiecode Systems AB', + authorurl : 'http://tinymce.moxiecode.com', + version : tinymce.majorVersion + "." + tinymce.minorVersion + } + } + }); + + tinymce.ThemeManager.add('simple', tinymce.themes.SimpleTheme); +})(); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif new file mode 100644 index 00000000..6fcbcb5d Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/img/icons.gif differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js new file mode 100644 index 00000000..59bf788d --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/de.js @@ -0,0 +1 @@ +tinyMCE.addI18n('de.simple',{"cleanup_desc":"Quellcode aufr\u00e4umen","redo_desc":"Wiederholen (Strg+Y)","undo_desc":"R\u00fcckg\u00e4ngig (Strg+Z)","numlist_desc":"Nummerierung","bullist_desc":"Aufz\u00e4hlung","striketrough_desc":"Durchgestrichen","underline_desc":"Unterstrichen (Strg+U)","italic_desc":"Kursiv (Strg+I)","bold_desc":"Fett (Strg+B)"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js new file mode 100644 index 00000000..088ed0fc --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/en.js @@ -0,0 +1 @@ +tinyMCE.addI18n('en.simple',{"cleanup_desc":"Cleanup Messy Code","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","striketrough_desc":"Strikethrough","underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js new file mode 100644 index 00000000..6eff1750 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/hu.js @@ -0,0 +1 @@ +tinyMCE.addI18n('hu.simple',{"cleanup_desc":"Minden form\u00e1z\u00e1s elt\u00e1vol\u00edt\u00e1sa","redo_desc":"M\u00e9gis v\u00e9grehajt (Ctrl+Y)","undo_desc":"Visszavon\u00e1s (Ctrl+Z)","numlist_desc":"Sz\u00e1mozott lista besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","bullist_desc":"Felsorol\u00e1s besz\u00far\u00e1sa/elt\u00e1vol\u00edt\u00e1sa","striketrough_desc":"\u00c1th\u00fazott","underline_desc":"Al\u00e1h\u00fazott (Ctrl+U)","italic_desc":"D\u0151lt (Ctrl+I)","bold_desc":"F\u00e9lk\u00f6v\u00e9r (Ctrl+B)"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js new file mode 100644 index 00000000..b3acbb54 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/langs/ja.js @@ -0,0 +1 @@ +tinyMCE.addI18n('ja.simple',{"cleanup_desc":"\u4e71\u96d1\u306a\u30b3\u30fc\u30c9\u3092\u6574\u5f62","redo_desc":"\u3084\u308a\u76f4\u3059 (Ctrl+Y)","undo_desc":"\u5143\u306b\u623b\u3059 (Ctrl+Z)","numlist_desc":"\u756a\u53f7\u3064\u304d\u30ea\u30b9\u30c8","bullist_desc":"\u756a\u53f7\u306a\u3057\u30ea\u30b9\u30c8","striketrough_desc":"\u53d6\u308a\u6d88\u3057\u7dda","underline_desc":"\u4e0b\u7dda (Ctrl+U)","italic_desc":"\u659c\u4f53 (Ctrl+I)","bold_desc":"\u592a\u5b57 (Ctrl+B)"}); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css new file mode 100644 index 00000000..2506c807 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/content.css @@ -0,0 +1,25 @@ +body, td, pre { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +body { + background-color: #FFFFFF; +} + +.mceVisualAid { + border: 1px dashed #BBBBBB; +} + +/* MSIE specific */ + +* html body { + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css new file mode 100644 index 00000000..076fe84e --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/default/ui.css @@ -0,0 +1,32 @@ +/* Reset */ +.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} + +/* Containers */ +.defaultSimpleSkin {position:relative} +.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;} +.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;} +.defaultSimpleSkin .mceToolbar {height:24px;} + +/* Layout */ +.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px} +.defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} + +/* Button */ +.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px} +.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} +.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0} +.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} + +/* Separator */ +.defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px} + +/* Theme */ +.defaultSimpleSkin span.mce_bold {background-position:0 0} +.defaultSimpleSkin span.mce_italic {background-position:-60px 0} +.defaultSimpleSkin span.mce_underline {background-position:-140px 0} +.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0} +.defaultSimpleSkin span.mce_undo {background-position:-160px 0} +.defaultSimpleSkin span.mce_redo {background-position:-100px 0} +.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0} +.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} +.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css new file mode 100644 index 00000000..595809fa --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/content.css @@ -0,0 +1,17 @@ +body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} + +body {background: #FFF;} +.mceVisualAid {border: 1px dashed #BBB;} + +/* IE */ + +* html body { +scrollbar-3dlight-color: #F0F0EE; +scrollbar-arrow-color: #676662; +scrollbar-base-color: #F0F0EE; +scrollbar-darkshadow-color: #DDDDDD; +scrollbar-face-color: #E0E0DD; +scrollbar-highlight-color: #F0F0EE; +scrollbar-shadow-color: #F0F0EE; +scrollbar-track-color: #F5F5F5; +} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png new file mode 100644 index 00000000..527e3495 Binary files /dev/null and b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png differ diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css new file mode 100644 index 00000000..cf6c35d1 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/themes/simple/skins/o2k7/ui.css @@ -0,0 +1,35 @@ +/* Reset */ +.o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} + +/* Containers */ +.o2k7SimpleSkin {position:relative} +.o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;} +.o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;} +.o2k7SimpleSkin .mceToolbar {height:26px;} + +/* Layout */ +.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; } +.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px} +.o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px} +.o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} + +/* Button */ +.o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px} +.o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px} +.o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px} +.o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px} +.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} + +/* Separator */ +.o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px} + +/* Theme */ +.o2k7SimpleSkin span.mce_bold {background-position:0 0} +.o2k7SimpleSkin span.mce_italic {background-position:-60px 0} +.o2k7SimpleSkin span.mce_underline {background-position:-140px 0} +.o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0} +.o2k7SimpleSkin span.mce_undo {background-position:-160px 0} +.o2k7SimpleSkin span.mce_redo {background-position:-100px 0} +.o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0} +.o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} +.o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0} diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js new file mode 100755 index 00000000..7cad8b78 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce.js @@ -0,0 +1 @@ +(function(e){var a=/^\s*|\s*$/g,b,d="B".replace(/A(.)|B/,"$1")==="$1";var c={majorVersion:"3",minorVersion:"5.7",releaseDate:"2012-09-20",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=e.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isIE7=s.isIE&&/MSIE [7]/.test(g);s.isIE8=s.isIE&&/MSIE [8]/.test(g);s.isIE9=s.isIE&&/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&&g.match(/AppleWebKit\/(\d*)/)[1]>=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m0?b:[f.scope]);if(e===false){break}}a.inDispatch=false;return e}});(function(){var a=tinymce.each;tinymce.create("tinymce.util.URI",{URI:function(e,g){var f=this,i,d,c,h;e=tinymce.trim(e);g=f.settings=g||{};if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e)){f.source=e;return}if(e.indexOf("/")===0&&e.indexOf("//")!==0){e=(g.base_uri?g.base_uri.protocol||"http":"http")+"://mce_host"+e}if(!/^[\w\-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&&g.base_uri.protocol)||"http")+"://mce_host"+f.toAbsPath(h,e)}e=e.replace(/@@/g,"(mce_at)");e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a(["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,"@@")}f[b]=k});c=g.base_uri;if(c){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&&f.host==="mce_host"){f.port=c.port}if(!f.host||f.host==="mce_host"){f.host=c.host}f.source=""}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source="";b.getURI()},toRelative:function(b){var d=this,f;if(b==="./"){return b}b=new tinymce.util.URI(b,{base_uri:d});if((b.host!="mce_host"&&d.host!=b.host&&b.host)||d.port!=b.port||d.protocol!=b.protocol){return b.getURI()}var c=d.getURI(),e=b.getURI();if(c==e||(c.charAt(c.length-1)=="/"&&c.substr(0,c.length-1)==e)){return c}f=d.toRelPath(d.path,b.path);if(b.query){f+="?"+b.query}if(b.anchor){f+="#"+b.anchor}return f},toAbsolute:function(b,c){b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&&this.protocol==b.protocol?c:0)},toRelPath:function(g,h){var c,f=0,d="",e,b;g=g.substring(0,g.lastIndexOf("/"));g=g.split("/");c=h.split("/");if(g.length>=c.length){for(e=0,b=g.length;e=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length=g.length||g[e]!=c[e]){f=e+1;break}}}if(f===1){return h}for(e=0,b=g.length-(f-1);e=0;c--){if(f[c].length===0||f[c]==="."){continue}if(f[c]===".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!==0){return null}}else{d+=2}g=h.indexOf(";",d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(c,e,d){var b=new Date();b.setTime(b.getTime()-1000);this.set(c,"",b,e,d)}})})();(function(){function serialize(o,quote){var i,v,t,name;quote=quote||'"';if(o==null){return"null"}t=typeof o;if(t=="string"){v="\bb\tt\nn\ff\rr\"\"''\\\\";return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(a,b){if(quote==='"'&&a==="'"){return a}i=v.indexOf(b);if(i+1){return"\\"+v.charAt(i+1)}a=b.charCodeAt().toString(16);return"\\u"+"0000".substring(a.length)+a})+quote}if(t=="object"){if(o.hasOwnProperty&&Object.prototype.toString.call(o)==="[object Array]"){for(i=0,v="[";i0?",":"")+serialize(o[i],quote)}return v+"]"}v="{";for(name in o){if(o.hasOwnProperty(name)){v+=typeof o[name]!="function"?(v.length>1?","+quote:quote)+name+quote+":"+serialize(o[name],quote):""}}return v+"}"}return""+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval("("+s+")")}catch(ex){}}}})();tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create("tinymce.util.JSONRequest",{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)=="undefined"){h={error:"JSON Parse error."}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey},metaKeyPressed:function(b){return a.isMac?b.metaKey:b.ctrlKey&&!b.altKey}}})(tinymce);tinymce.util.Quirks=function(e){var n=tinymce.VK,x=n.BACKSPACE,y=n.DELETE,q=e.dom,I=e.selection,v=e.settings,c=e.parser,u=e.serializer;function d(M,L){try{e.getDoc().execCommand(M,false,L)}catch(K){}}function C(){var K=e.getDoc().documentMode;return K?K:6}function H(K){return K.isDefaultPrevented()}function k(){function K(N){var L,P,M,O;L=I.getRng();P=q.getParent(L.startContainer,q.isBlock);if(N){P=q.getNext(P,q.isBlock)}if(P){M=P.firstChild;while(M&&M.nodeType==3&&M.nodeValue.length===0){M=M.nextSibling}if(M&&M.nodeName==="SPAN"){O=M.cloneNode(false)}}e.getDoc().execCommand(N?"ForwardDelete":"Delete",false,null);P=q.getParent(L.startContainer,q.isBlock);tinymce.each(q.select("span.Apple-style-span,font.Apple-style-span",P),function(Q){var R=I.getBookmark();if(O){q.replace(O.cloneNode(false),Q,true)}else{q.remove(Q,true)}I.moveToBookmark(R)})}e.onKeyDown.add(function(L,N){var M;M=N.keyCode==y;if(!H(N)&&(M||N.keyCode==x)&&!n.modifierPressed(N)){N.preventDefault();K(M)}});e.addCommand("Delete",function(){K()})}function J(){function K(N){var M=q.create("body");var O=N.cloneContents();M.appendChild(O);return I.serializer.serialize(M,{format:"html"})}function L(M){var O=K(M);var P=q.createRng();P.selectNode(e.getBody());var N=K(P);return O===N}e.onKeyDown.add(function(N,P){var O=P.keyCode,M;if(!H(P)&&(O==y||O==x)){M=N.selection.isCollapsed();if(M&&!q.isEmpty(N.getBody())){return}if(tinymce.isIE&&!M){return}if(!M&&!L(N.selection.getRng())){return}N.setContent("");N.selection.setCursorLocation(N.getBody(),0);N.nodeChanged()}})}function A(){e.onKeyDown.add(function(K,L){if(!H(L)&&L.keyCode==65&&n.metaKeyPressed(L)){L.preventDefault();K.execCommand("SelectAll")}})}function B(){if(!e.settings.content_editable){q.bind(e.getDoc(),"focusin",function(K){I.setRng(I.getRng())});q.bind(e.getDoc(),"mousedown",function(K){if(K.target==e.getDoc().documentElement){e.getWin().focus();I.setRng(I.getRng())}})}}function o(){e.onKeyDown.add(function(K,N){if(!H(N)&&N.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var M=I.getNode();var L=M.previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="hr"){q.remove(L);tinymce.dom.Event.cancel(N)}}}})}function b(){if(!Range.prototype.getClientRects){e.onMouseDown.add(function(L,M){if(!H(M)&&M.target.nodeName==="HTML"){var K=L.getBody();K.blur();setTimeout(function(){K.focus()},0)}})}}function F(){e.onClick.add(function(K,L){L=L.target;if(/^(IMG|HR)$/.test(L.nodeName)){I.getSel().setBaseAndExtent(L,0,L,1)}if(L.nodeName=="A"&&q.hasClass(L,"mceItemAnchor")){I.select(L)}K.nodeChanged()})}function E(){function L(){var N=q.getAttribs(I.getStart().cloneNode(false));return function(){var O=I.getStart();if(O!==e.getBody()){q.setAttrib(O,"style",null);tinymce.each(N,function(P){O.setAttributeNode(P.cloneNode(true))})}}}function K(){return !I.isCollapsed()&&q.getParent(I.getStart(),q.isBlock)!=q.getParent(I.getEnd(),q.isBlock)}function M(N,O){O.preventDefault();return false}e.onKeyPress.add(function(N,P){var O;if(!H(P)&&(P.keyCode==8||P.keyCode==46)&&K()){O=L();N.getDoc().execCommand("delete",false,null);O();P.preventDefault();return false}});q.bind(e.getDoc(),"cut",function(O){var N;if(!H(O)&&K()){N=L();e.onKeyUp.addToTop(M);setTimeout(function(){N();e.onKeyUp.remove(M)},0)}})}function l(){var L,K;q.bind(e.getDoc(),"selectionchange",function(){if(K){clearTimeout(K);K=0}K=window.setTimeout(function(){var M=I.getRng();if(!L||!tinymce.dom.RangeUtils.compareRanges(M,L)){e.nodeChanged();L=M}},50)})}function G(){document.body.setAttribute("role","application")}function D(){e.onKeyDown.add(function(K,M){if(!H(M)&&M.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var L=I.getNode().previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="table"){return tinymce.dom.Event.cancel(M)}}}})}function i(){if(C()>7){return}d("RespectVisibilityInDesign",true);e.contentStyles.push(".mceHideBrInPre pre br {display: none}");q.addClass(e.getBody(),"mceHideBrInPre");c.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type===3&&O.value.charAt(O.value-1)!="\n"){O.value+="\n"}else{Q.parent.insert(new tinymce.html.Node("#text",3),Q,true).value="\n"}}}});u.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type==3){O.value=O.value.replace(/\r?\n$/,"")}}}})}function g(){q.bind(e.getBody(),"mouseup",function(M){var L,K=I.getNode();if(K.nodeName=="IMG"){if(L=q.getStyle(K,"width")){q.setAttrib(K,"width",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"width","")}if(L=q.getStyle(K,"height")){q.setAttrib(K,"height",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"height","")}}})}function s(){e.onKeyDown.add(function(Q,R){var P,K,L,N,O,S,M;P=R.keyCode==y;if(!H(R)&&(P||R.keyCode==x)&&!n.modifierPressed(R)){K=I.getRng();L=K.startContainer;N=K.startOffset;M=K.collapsed;if(L.nodeType==3&&L.nodeValue.length>0&&((N===0&&!M)||(M&&N===(P?0:1)))){nonEmptyElements=Q.schema.getNonEmptyElements();R.preventDefault();O=q.create("br",{id:"__tmp"});L.parentNode.insertBefore(O,L);Q.getDoc().execCommand(P?"ForwardDelete":"Delete",false,null);L=I.getRng().startContainer;S=L.previousSibling;if(S&&S.nodeType==1&&!q.isBlock(S)&&q.isEmpty(S)&&!nonEmptyElements[S.nodeName.toLowerCase()]){q.remove(S)}q.remove("__tmp")}}})}function f(){e.onKeyDown.add(function(O,P){var M,L,Q,K,N;if(H(P)||P.keyCode!=n.BACKSPACE){return}M=I.getRng();L=M.startContainer;Q=M.startOffset;K=q.getRoot();N=L;if(!M.collapsed||Q!==0){return}while(N&&N.parentNode&&N.parentNode.firstChild==N&&N.parentNode!=K){N=N.parentNode}if(N.tagName==="BLOCKQUOTE"){O.formatter.toggle("blockquote",null,N);M=q.createRng();M.setStart(L,0);M.setEnd(L,0);I.setRng(M)}})}function m(){function K(){e._refreshContentEditable();d("StyleWithCSS",false);d("enableInlineTableEditing",false);if(!v.object_resizing){d("enableObjectResizing",false)}}if(!v.readonly){e.onBeforeExecCommand.add(K);e.onMouseDown.add(K)}}function p(){function K(L,M){tinymce.each(q.select("a"),function(P){var N=P.parentNode,O=q.getRoot();if(N.lastChild===P){while(N&&!q.isBlock(N)){if(N.parentNode.lastChild!==N||N===O){return}N=N.parentNode}q.add(N,"br",{"data-mce-bogus":1})}})}e.onExecCommand.add(function(L,M){if(M==="CreateLink"){K(L)}});e.onSetContent.add(I.onSetContent.add(K))}function z(){if(v.forced_root_block){e.onInit.add(function(){d("DefaultParagraphSeparator",v.forced_root_block)})}}function a(){function K(M,L){if(!M||!L.initial){e.execCommand("mceRepaint")}}e.onUndo.add(K);e.onRedo.add(K);e.onSetContent.add(K)}function r(){e.onKeyDown.add(function(L,M){var K;if(!H(M)&&M.keyCode==x){K=L.getDoc().selection.createRange();if(K&&K.item){M.preventDefault();L.undoManager.beforeChange();q.remove(K.item(0));L.undoManager.add()}}})}function j(){var K;if(C()>=10){K="";tinymce.each("p div h1 h2 h3 h4 h5 h6".split(" "),function(L,M){K+=(M>0?",":"")+L+":empty"});e.contentStyles.push(K+"{padding-right: 1px !important}")}}function h(){var M,L,ac,K,X,aa,Y,ab,N,O,Z,V,U,W=document,S=e.getDoc();if(!v.object_resizing||v.webkit_fake_resize===false){return}d("enableObjectResizing",false);Z={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};function Q(ag){var af,ae;af=ag.screenX-aa;ae=ag.screenY-Y;V=af*X[2]+ab;U=ae*X[3]+N;V=V<5?5:V;U=U<5?5:U;if(n.modifierPressed(ag)||(ac.nodeName=="IMG"&&X[2]*X[3]!==0)){V=Math.round(U/O);U=Math.round(V*O)}q.setStyles(K,{width:V,height:U});if(X[2]<0&&K.clientWidth<=V){q.setStyle(K,"left",M+(ab-V))}if(X[3]<0&&K.clientHeight<=U){q.setStyle(K,"top",L+(N-U))}}function ad(){function ae(af,ag){if(ag){if(ac.style[af]||!e.schema.isValid(ac.nodeName.toLowerCase(),af)){q.setStyle(ac,af,ag)}else{q.setAttrib(ac,af,ag)}}}ae("width",V);ae("height",U);q.unbind(S,"mousemove",Q);q.unbind(S,"mouseup",ad);if(W!=S){q.unbind(W,"mousemove",Q);q.unbind(W,"mouseup",ad)}q.remove(K);P(ac)}function P(ah){var af,ag,ae;R();af=q.getPos(ah);M=af.x;L=af.y;ag=ah.offsetWidth;ae=ah.offsetHeight;if(ac!=ah){ac=ah;V=U=0}tinymce.each(Z,function(ak,ai){var aj;aj=q.get("mceResizeHandle"+ai);if(!aj){aj=q.add(S.documentElement,"div",{id:"mceResizeHandle"+ai,"class":"mceResizeHandle",style:"cursor:"+ai+"-resize; margin:0; padding:0"});q.bind(aj,"mousedown",function(al){al.preventDefault();ad();aa=al.screenX;Y=al.screenY;ab=ac.clientWidth;N=ac.clientHeight;O=N/ab;X=ak;K=ac.cloneNode(true);q.addClass(K,"mceClonedResizable");q.setStyles(K,{left:M,top:L,margin:0});S.documentElement.appendChild(K);q.bind(S,"mousemove",Q);q.bind(S,"mouseup",ad);if(W!=S){q.bind(W,"mousemove",Q);q.bind(W,"mouseup",ad)}})}else{q.show(aj)}q.setStyles(aj,{left:(ag*ak[0]+M)-(aj.offsetWidth/2),top:(ae*ak[1]+L)-(aj.offsetHeight/2)})});if(!tinymce.isOpera&&ac.nodeName=="IMG"){ac.setAttribute("data-mce-selected","1")}}function R(){if(ac){ac.removeAttribute("data-mce-selected")}for(var ae in Z){q.hide("mceResizeHandle"+ae)}}e.contentStyles.push(".mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}");function T(){var ae=q.getParent(I.getNode(),"table,img");tinymce.each(q.select("img[data-mce-selected]"),function(af){af.removeAttribute("data-mce-selected")});if(ae){P(ae)}else{R()}}e.onNodeChange.add(T);q.bind(S,"selectionchange",T);e.serializer.addAttributeFilter("data-mce-selected",function(ae,af){var ag=ae.length;while(ag--){ae[ag].attr(af,null)}})}function t(){if(C()<9){c.addNodeFilter("noscript",function(K){var L=K.length,M,N;while(L--){M=K[L];N=M.firstChild;if(N){M.attr("data-mce-innertext",N.value)}}});u.addNodeFilter("noscript",function(K){var L=K.length,M,O,N;while(L--){M=K[L];O=K[L].firstChild;if(O){O.value=tinymce.html.Entities.decode(O.value)}else{N=M.attributes.map["data-mce-innertext"];if(N){M.attr("data-mce-innertext",null);O=new tinymce.html.Node("#text",3);O.value=N;O.raw=true;M.append(O)}}}})}}D();f();J();if(tinymce.isWebKit){s();k();B();F();z();if(tinymce.isIDevice){l()}else{h();A()}}if(tinymce.isIE){o();G();i();g();r();j();t()}if(tinymce.isGecko){o();b();E();m();p();a()}if(tinymce.isOpera){h()}};(function(j){var a,g,d,k=/[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,i={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};g={'"':""","'":"'","<":"<",">":">","&":"&"};d={"<":"<",">":">","&":"&",""":'"',"'":"'"};function h(l){var m;m=document.createElement("div");m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(",");p=p||10;for(n=0;n1){return"&#"+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+";"}return g[n]||"&#"+n.charCodeAt(0)+";"})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||"&#"+s.charCodeAt(0)+";"||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,","));if(l.named&&l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce);tinymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j="\\\" \\' \\; \\: ; : \uFEFF".split(" ");for(g=0;g1?r:"0"+r}return"#"+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(s){var z={},q,n,x,r,v=d.url_converter,y=d.url_converter_scope||this;function p(D,G){var F,C,B,E;F=z[D+"-top"+G];if(!F){return}C=z[D+"-right"+G];if(F!=C){return}B=z[D+"-bottom"+G];if(C!=B){return}E=z[D+"-left"+G];if(B!=E){return}z[D+G]=E;delete z[D+"-top"+G];delete z[D+"-right"+G];delete z[D+"-bottom"+G];delete z[D+"-left"+G]}function u(C){var D=z[C],B;if(!D||D.indexOf(" ")<0){return}D=D.split(" ");B=D.length;while(B--){if(D[B]!==D[0]){return false}}z[C]=D[0];return true}function A(D,C,B,E){if(!u(C)){return}if(!u(B)){return}if(!u(E)){return}z[D]=z[C]+" "+z[B]+" "+z[E];delete z[C];delete z[B];delete z[E]}function t(B){r=true;return a[B]}function i(C,B){if(r){C=C.replace(/\uFEFF[0-9]/g,function(D){return a[D]})}if(!B){C=C.replace(/\\([\'\";:])/g,"$1")}return C}function o(C,B,F,E,G,D){G=G||D;if(G){G=i(G);return"'"+G.replace(/\'/g,"\\'")+"'"}B=i(B||F||E);if(v){B=v.call(y,B,"style")}return"url('"+B.replace(/\'/g,"\\'")+"')"}if(s){s=s.replace(/\\[\"\';:\uFEFF]/g,t).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(B){return B.replace(/[;:]/g,t)});while(q=b.exec(s)){n=q[1].replace(l,"").toLowerCase();x=q[2].replace(l,"");if(n&&x.length>0){if(n==="font-weight"&&x==="700"){x="bold"}else{if(n==="color"||n==="background-color"){x=x.toLowerCase()}}x=x.replace(k,c);x=x.replace(h,o);z[n]=r?i(x,true):x}b.lastIndex=q.index+q[0].length}p("border","");p("border","-width");p("border","-color");p("border","-style");p("padding","");p("margin","");A("border","border-width","border-style","border-color");if(z.border==="medium none"){delete z.border}}return z},serialize:function(p,r){var o="",n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||",")}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,"|");k[o]={attributes:e(n),attributesOrder:n,children:e(p,"|",{"#comment":{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:"id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr",C:"#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video"},"html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]aside[A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|li]legend[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|form|keytype|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]")}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]")}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E," ",e(E.toUpperCase()," "));G=f.extend(G,H);a[F]=G}}else{G=e(G,",",e(G.toUpperCase()," "))}return G}A=A||{};y=A.schema=="html5"?b():c();if(A.verify_html===false){A.valid_elements="*[*]"}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m("whitespace_elements","pre script noscript style textarea");q=m("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");z=m("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr");r=m("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");n=m("non_empty_elements","td th iframe video audio object",z);textBlockElementsMap=m("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");v=m("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup",textBlockElementsMap);function i(E){return new RegExp("^"+E.replace(/([?+*])/g,".$1")+"$")}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s["@"]){S=s["@"].attributes;H=s["@"].attributesOrder}for(K=0,G=L.length;K=0){for(U=A.length-1;U>=V;U--){T=A[U];if(T.valid){n.end(T.name)}}A.length=V}}function p(U,T,Y,X,W){var Z,V;T=T.toLowerCase();Y=T in H?T:j(Y||X||W||"");if(v&&!z&&T.indexOf("data-mce-")!==0){Z=P[T];if(!Z&&F){V=F.length;while(V--){Z=F[V];if(Z.pattern.test(T)){break}}if(V===-1){Z=null}}if(!Z){return}if(Z.validValues&&!(Y in Z.validValues)){return}}N.map[T]=Y;N.push({name:T,value:Y})}l=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");D=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;K={script:/<\/script[^>]*>/gi,style:/<\/style[^>]*>/gi,noscript:/<\/noscript[^>]*>/gi};M=e.getShortEndedElements();J=c.self_closing_elements||e.getSelfClosingElements();H=e.getBoolAttrs();v=c.validate;s=c.remove_internals;y=c.fix_self_closing;q=a.isIE;o=/^:/;while(g=l.exec(E)){if(G0&&A[A.length-1].name===I){u(I)}if(!v||(m=e.getElementRule(I))){k=true;if(v){P=m.attributes;F=m.attributePatterns}if(R=g[8]){z=R.indexOf("data-mce-type")!==-1;if(z&&s){k=false}N=[];N.map={};R.replace(D,p)}else{N=[];N.map={}}if(v&&!z){S=m.attributesRequired;L=m.attributesDefault;f=m.attributesForced;if(f){Q=f.length;while(Q--){t=f[Q];r=t.name;h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}if(L){Q=L.length;while(Q--){t=L[Q];r=t.name;if(!(r in N.map)){h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}}if(S){Q=S.length;while(Q--){if(S[Q] in N.map){break}}if(Q===-1){k=false}}if(N.map["data-mce-bogus"]){k=false}}if(k){n.start(I,N,O)}}else{k=false}if(B=K[I]){B.lastIndex=G=g.index+g[0].length;if(g=B.exec(E)){if(k){C=E.substr(G,g.index-G)}G=g.index+g[0].length}else{C=E.substr(G);G=E.length}if(k&&C.length>0){n.text(C,true)}if(k){n.end(I)}l.lastIndex=G;continue}if(!O){if(!R||R.indexOf("/")!=R.length-1){A.push({name:I,valid:k})}else{if(k){n.end(I)}}}}else{if(I=g[1]){n.comment(I)}else{if(I=g[2]){n.cdata(I)}else{if(I=g[3]){n.doctype(I)}else{if(I=g[4]){n.pi(I,g[5])}}}}}}G=g.index+g[0].length}if(G=0;Q--){I=A[Q];if(I.valid){n.end(I.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(k,l,j){var i,h,f=j?"lastChild":"firstChild",g=j?"prev":"next";if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&&h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!=="string"){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attributes){k=[];k.map={};for(h=0,f=m.length;h1){x.reverse();A=o=f.filterNode(x[0].clone());for(u=0;u0){Q.value=l;Q=Q.prev}else{O=Q.prev;Q.remove();Q=O}}}function H(O){var P,l={};for(P in O){if(P!=="li"&&P!="p"){l[P]=O[P]}}return l}n=new b.html.SaxParser({validate:z,self_closing_elements:H(h.getSelfClosingElements()),cdata:function(l){B.append(K("#cdata",4)).value=l},text:function(P,l){var O;if(!L){P=P.replace(k," ");if(B.lastChild&&o[B.lastChild.name]){P=P.replace(E,"")}}if(P.length!==0){O=K("#text",3);O.raw=!!l;B.append(O).value=P}},comment:function(l){B.append(K("#comment",8)).value=l},pi:function(l,O){B.append(K(l,7)).value=O;I(B)},doctype:function(O){var l;l=B.append(K("#doctype",10));l.value=O;I(B)},start:function(l,W,P){var U,R,Q,O,S,X,V,T;Q=z?h.getElementRule(l):{};if(Q){U=K(Q.outputName||l,1);U.attributes=W;U.shortEnded=P;B.append(U);T=p[B.name];if(T&&p[U.name]&&!T[U.name]){M.push(U)}R=d.length;while(R--){S=d[R].name;if(S in W.map){F=c[S];if(F){F.push(U)}else{c[S]=[U]}}}if(o[l]){I(U)}if(!P){B=U}if(!L&&s[l]){L=true}}},end:function(l){var S,P,R,O,Q;P=z?h.getElementRule(l):{};if(P){if(o[l]){if(!L){S=B.firstChild;if(S&&S.type===3){R=S.value.replace(E,"");if(R.length>0){S.value=R;S=S.next}else{O=S.next;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.next;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}S=B.lastChild;if(S&&S.type===3){R=S.value.replace(t,"");if(R.length>0){S.value=R;S=S.prev}else{O=S.prev;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.prev;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}}}if(L&&s[l]){L=false}if(P.removeEmpty||P.paddEmpty){if(B.isEmpty(u)){if(P.paddEmpty){B.empty().append(new a("#text","3")).value="\u00a0"}else{if(!B.attributes.map.name&&!B.attributes.map.id){Q=B.parent;B.empty().remove();B=Q;return}}}}B=B.parent}}},h);J=B=new a(m.context||g.root_name,11);n.parse(v);if(z&&M.length){if(!m.context){j(M)}else{m.invalid=true}}if(q&&J.name=="body"){G()}if(!m.invalid){for(N in i){F=e[N];A=i[N];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(D=0,C=F.length;D0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}c.push("<",m);if(k){for(n=0,j=k.length;n0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}},end:function(h){var i;c.push("");if(a&&d[h]&&c.length>0){i=c[c.length-1];if(i.length>0&&i!=="\n"){c.push("\n")}}},text:function(i,h){if(i.length>0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push("")},comment:function(h){c.push("")},pi:function(h,i){if(i){c.push("")}else{c.push("")}if(a){c.push("\n")}},doctype:function(h){c.push("",a?"\n":"")},reset:function(){c.length=0},getContent:function(){return c.join("").replace(/\n$/,"")}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate="validate" in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&&s&&s.length>1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n=8;k.boxModel=!e.isIE||o.compatMode=="CSS1Compat"||k.stdMode;k.hasOuterHTML="outerHTML" in o.createElement("a");k.settings=l=e.extend({keep_values:false,hex_colors:1},l);k.schema=l.schema;k.styles=new e.html.Styles({url_converter:l.url_converter,url_converter_scope:l.url_converter_scope},l.schema);if(e.isIE6){try{o.execCommand("BackgroundImageCache",false,true)}catch(m){k.cssFlicker=true}}k.fixDoc(o);k.events=l.ownEvents?new e.dom.EventUtils(l.proxy):e.dom.Event;e.addUnload(k.destroy,k);n=l.schema?l.schema.getBlockElements():{};k.isBlock=function(q){var p=q.nodeType;if(p){return !!(p===1&&n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&&j.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").replace(/\w+/g,function(l){k.createElement(l)});for(i in j.schema.getCustomElements()){k.createElement(i)}}},clone:function(k,i){var j=this,m,l;if(!b||k.nodeType!==1||i){return k.cloneNode(i)}l=j.doc;if(!i){m=l.createElement(k.nodeName);g(j.getAttribs(k),function(n){j.setAttrib(m,n.nodeName,j.getAttrib(k,n.nodeName))});return m}return m.firstChild},getRoot:function(){var i=this,j=i.settings;return(j&&i.get(j.root_element))||i.doc.body},getViewPort:function(j){var k,i;j=!j?this.win:j;k=j.document;i=this.boxModel?k.documentElement:k.body;return{x:j.pageXOffset||i.scrollLeft,y:j.pageYOffset||i.scrollTop,w:j.innerWidth||i.clientWidth,h:j.innerHeight||i.clientHeight}},getRect:function(l){var k,i=this,j;l=i.get(l);k=i.getPos(l);j=i.getSize(l);return{x:k.x,y:k.y,w:j.w,h:j.h}},getSize:function(l){var j=this,i,k;l=j.get(l);i=j.getStyle(l,"width");k=j.getStyle(l,"height");if(i.indexOf("px")===-1){i=0}if(k.indexOf("px")===-1){k=0}return{w:parseInt(i,10)||l.offsetWidth||l.clientWidth,h:parseInt(k,10)||l.offsetHeight||l.clientHeight}},getParent:function(k,j,i){return this.getParents(k,j,i,false)},getParents:function(s,m,k,q){var j=this,i,l=j.settings,p=[];s=j.get(s);q=q===undefined;if(l.strict_root){k=k||j.getRoot()}if(d(m,"string")){i=m;if(m==="*"){m=function(o){return o.nodeType==1}}else{m=function(o){return j.is(o,i)}}}while(s){if(s==k||!s.nodeType||s.nodeType===9){break}if(!m||m(s)){if(q){p.push(s)}else{return s}}s=s.parentNode}return q?p:null},get:function(i){var j;if(i&&this.doc&&typeof(i)=="string"){j=i;i=this.doc.getElementById(i);if(i&&i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,"nextSibling")},getPrev:function(j,i){return this._findSib(j,i,"previousSibling")},select:function(k,j){var i=this;return e.dom.Sizzle(k,i.get(j)||i.get(i.settings.root_element)||i.doc,[])},is:function(l,j){var k;if(l.length===undefined){if(j==="*"){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k>=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length>0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,"string")?j.doc.createElement(o):o;j.setAttribs(q,i);if(k){if(k.nodeType){q.appendChild(k)}else{j.setHTML(q,k)}}return !m?r.appendChild(q):q})},create:function(k,i,j){return this.add(this.doc.createElement(k),k,i,j,1)},createHTML:function(q,i,m){var p="",l=this,j;p+="<"+q;for(j in i){if(i.hasOwnProperty(j)){p+=" "+j+'="'+l.encode(i[j])+'"'}}if(typeof(m)!="undefined"){return p+">"+m+""}return p+" />"},remove:function(i,j){return this.run(i,function(l){var m,k=l.parentNode;if(!k){return null}if(j){while(m=l.firstChild){if(!e.isIE||m.nodeType!==3||m.nodeValue){k.insertBefore(m,l)}else{l.removeChild(m)}}}return k.removeChild(l)})},setStyle:function(l,i,j){var k=this;return k.run(l,function(o){var n,m;n=o.style;i=i.replace(/-(\D)/g,function(q,p){return p.toUpperCase()});if(k.pixelStyles.test(i)&&(e.is(j,"number")||/^[\-0-9\.]+$/.test(j))){j+="px"}switch(i){case"opacity":if(b){n.filter=j===""?"":"alpha(opacity="+(j*100)+")";if(!l.currentStyle||!l.currentStyle.hasLayout){n.display="inline-block"}}n[i]=n["-moz-opacity"]=n["-khtml-opacity"]=j||"";break;case"float":b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||""}if(k.settings.update_styles){k.setAttrib(o,"data-mce-style")}})},getStyle:function(l,i,k){l=this.get(l);if(!l){return}if(this.doc.defaultView&&k){i=i.replace(/[A-Z]/g,function(m){return"-"+m});try{return this.doc.defaultView.getComputedStyle(l,null).getPropertyValue(i)}catch(j){return null}}i=i.replace(/-(\D)/g,function(n,m){return m.toUpperCase()});if(i=="float"){i=b?"styleFloat":"cssFloat"}if(l.currentStyle&&k){return l.currentStyle[i]}return l.style?l.style[i]:undefined},setStyles:function(l,m){var j=this,k=j.settings,i;i=k.update_styles;k.update_styles=0;g(m,function(o,p){j.setStyle(l,p,o)});k.update_styles=i;if(k.update_styles){j.setAttrib(l,k.cssText)}},removeAllAttribs:function(i){return this.run(i,function(l){var k,j=l.attributes;for(k=j.length-1;k>=0;k--){l.removeAttributeNode(j.item(k))}})},setAttrib:function(k,l,i){var j=this;if(!k||!l){return}if(j.settings.strict){l=l.toLowerCase()}return this.run(k,function(p){var o=j.settings;var m=p.getAttribute(l);if(i!==null){switch(l){case"style":if(!d(i,"string")){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&&!j._isRes(i)){p.setAttribute("data-mce-style",i,2)}else{p.removeAttribute("data-mce-style",2)}}p.style.cssText=i;break;case"class":p.className=i||"";break;case"src":case"href":if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,"data-mce-"+l,i,2)}break;case"shape":p.setAttribute("data-mce-style",i);break}}if(d(i)&&i!==null&&i.length!==0){p.setAttribute(l,""+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&&m!=i){var n=tinyMCE.activeEditor;n.onSetAttrib.dispatch(n,p,l,i)}})},setAttribs:function(j,k){var i=this;return this.run(j,function(l){g(k,function(m,o){i.setAttrib(l,o,m)})})},getAttrib:function(m,o,k){var i,j=this,l;m=j.get(m);if(!m||m.nodeType!==1){return k===l?false:k}if(!d(k)){k=""}if(/^(src|href|style|coords|shape)$/.test(o)){i=m.getAttribute("data-mce-"+o);if(i){return i}}if(b&&j.props[o]){i=m[j.props[o]];i=i&&i.nodeValue?i.nodeValue:i}if(!i){i=m.getAttribute(o,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(o)){if(m[j.props[o]]===true&&i===""){return o}return i?o:""}if(m.nodeName==="FORM"&&m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o==="style"){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&&!j._isRes(i)){m.setAttribute("data-mce-style",i)}}}if(f&&o==="class"&&i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(b){switch(o){case"rowspan":case"colspan":if(i===1){i=""}break;case"size":if(i==="+0"||i===20||i===0){i=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(i===0){i=""}break;case"hspace":if(i===-1){i=""}break;case"maxlength":case"tabindex":if(i===32768||i===2147483647||i==="32768"){i=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(i===65535){return o}return k;case"shape":i=i.toLowerCase();break;default:if(o.indexOf("on")===0&&i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+i)}}}return(i!==l&&i!==null&&i!=="")?""+i:k},getPos:function(q,l){var j=this,i=0,p=0,m,o=j.doc,k;q=j.get(q);l=l||o.body;if(q){if(q.getBoundingClientRect){q=q.getBoundingClientRect();m=j.boxModel?o.documentElement:o.body;i=q.left+(o.documentElement.scrollLeft||o.body.scrollLeft)-m.clientTop;p=q.top+(o.documentElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&&k!=l&&k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&&k!=l&&k.nodeType){i-=k.scrollLeft||0;p-=k.scrollTop||0;k=k.parentNode}}return{x:i,y:p}},parseStyle:function(i){return this.styles.parse(i)},serializeStyle:function(j,i){return this.styles.serialize(j,i)},addStyle:function(j){var k=this.doc,i;styleElm=k.getElementById("mceDefaultStyles");if(!styleElm){styleElm=k.createElement("style"),styleElm.id="mceDefaultStyles";styleElm.type="text/css";i=k.getElementsByTagName("head")[0];if(i.firstChild){i.insertBefore(styleElm,i.firstChild)}else{i.appendChild(styleElm)}}if(styleElm.styleSheet){styleElm.styleSheet.cssText+=j}else{styleElm.appendChild(k.createTextNode(j))}},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=""}j=l.getElementsByTagName("head")[0];g(i.split(","),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create("link",{rel:"stylesheet",href:e._addVer(m)});if(b&&l.documentMode&&l.recalc){n.onload=function(){if(l.recalc){l.recalc()}n.onload=null}}j.appendChild(n)})},addClass:function(i,j){return this.run(i,function(k){var l;if(!j){return 0}if(this.hasClass(k,j)){return k.className}l=this.removeClass(k,j);return k.className=(l!=""?(l+" "):"")+j})},removeClass:function(k,l){var i=this,j;return i.run(k,function(n){var m;if(i.hasClass(n,l)){if(!j){j=new RegExp("(^|\\s+)"+l+"(\\s+|$)","g")}m=n.className.replace(j," ");m=e.trim(m!=" "?m:"");n.className=m;if(!m){n.removeAttribute("class");n.removeAttribute("className")}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(" "+j.className+" ").indexOf(" "+i+" ")!==-1},show:function(i){return this.setStyle(i,"display","block")},hide:function(i){return this.setStyle(i,"display","none")},isHidden:function(i){i=this.get(i);return !i||i.style.display=="none"||this.getStyle(i,"display")=="none"},uniqueId:function(i){return(!i?"mce_":i)+(this.counter++)},setHTML:function(k,j){var i=this;return i.run(k,function(m){if(b){while(m.firstChild){m.removeChild(m.firstChild)}try{m.innerHTML="
    "+j;m.removeChild(m.firstChild)}catch(l){var n=i.create("div");n.innerHTML="
    "+j;g(e.grep(n.childNodes),function(p,o){if(o&&m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&&i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement("body");j.appendChild(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement("body");q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&&o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,"array")){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.nodeName,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&&l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&&k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length>1?l:"0"+l}if(k){i="#"+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){g(s.selectorText.split(","),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",r);if(p&&!(r=p(r,l))){return}if(!o[r]){j.push({"class":r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&&typeof(l)==="string"){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&&(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)=="string"){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName=="OBJECT"){return j.attributes}if(j.nodeName==="OPTION"&&this.getAttrib(j,"selected")){i.push({specified:1,nodeName:"selected"})}j.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m,k){var r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){if(l==="br"){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if(q==8){return false}if((q===3&&!a.test(m.nodeValue))){return false}}while(m=j.next())}return p<=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&&j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split:function(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&&A.previousSibling.nodeName=="SPAN";var y=A.nextSibling&&A.nextSibling.nodeName=="SPAN";return z&&y}if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=s.length-1;t>=0;t--){j(s[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r>0||r===0&&x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&&s[0]&&s[0].nodeType==1&&s[0].getAttribute("data-mce-type")=="bookmark"){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&&l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentNode,q.nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute("data-mce-contenteditable");if(i&&i!=="inherit"){return i}return j.contentEditable!=="inherit"?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,"string")){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W="startOffset",h="startContainer",Q="endContainer",A="endOffset",k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&&X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t>=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length>0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorContainer})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X<0){return t}Y=t.firstChild;while(Y&&X>0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&&O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab0){O.collapse(X)}}else{O.collapse(X)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ad){var ac,Z=0,af=0,X,ab,Y,aa,t,ae;if(O[h]==O[Q]){return f(ad)}for(ac=O[Q],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[h]){return r(ac,ad)}++Z}for(ac=O[h],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[Q]){return V(ac,ad)}++af}ab=af-Z;Y=O[h];while(ab>0){Y=Y.parentNode;ab--}aa=O[Q];while(ab<0){aa=aa.parentNode;ab++}for(t=Y.parentNode,ae=aa.parentNode;t!=ae;t=t.parentNode,ae=ae.parentNode){Y=t;aa=ae}return o(Y,aa,ad)}function f(ac){var ae,af,t,Y,Z,ad,aa,X,ab;if(ac!=j){ae=x()}if(O[W]==O[A]){return ae}if(O[h].nodeType==3){af=O[h].nodeValue;t=af.substring(O[W],O[A]);if(ac!=F){Y=O[h];X=O[W];ab=O[A]-O[W];if(X===0&&ab>=Y.nodeValue.length-1){Y.parentNode.removeChild(Y)}else{Y.deleteData(X,ab)}O.collapse(E)}if(ac==j){return}if(t.length>0){ae.appendChild(e.createTextNode(t))}return ae}Y=P(O[h],O[W]);Z=O[A]-O[W];while(Y&&Z>0){ad=Y.nextSibling;aa=z(Y,ac);if(ae){ae.appendChild(aa)}--Z;Y=ad}if(ac!=F){O.collapse(E)}return ae}function r(ad,aa){var ac,ab,X,t,Z,Y;if(aa!=j){ac=x()}ab=i(ad,aa);if(ac){ac.appendChild(ab)}X=n(ad);t=X-O[W];if(t<=0){if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}ab=ad.previousSibling;while(t>0){Z=ab.previousSibling;Y=z(ab,aa);if(ac){ac.insertBefore(Y,ac.firstChild)}--t;ab=Z}if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}function V(ab,aa){var ad,X,ac,t,Z,Y;if(aa!=j){ad=x()}ac=R(ab,aa);if(ad){ad.appendChild(ac)}X=n(ab);++X;t=O[A]-X;ac=ab.nextSibling;while(ac&&t>0){Z=ac.nextSibling;Y=z(ac,aa);if(ad){ad.appendChild(Y)}--t;ac=Z}if(aa!=F){O.setStartAfter(ab);O.collapse(E)}return ad}function o(ab,t,ae){var Y,ag,aa,ac,ad,X,af,Z;if(ae!=j){ag=x()}Y=R(ab,ae);if(ag){ag.appendChild(Y)}aa=ab.parentNode;ac=n(ab);ad=n(t);++ac;X=ad-ac;af=ab.nextSibling;while(X>0){Z=af.nextSibling;Y=z(af,ae);if(ag){ag.appendChild(Y)}af=Z;--X}Y=i(t,ae);if(ag){ag.appendChild(Y)}if(ae!=F){O.setStartAfter(ab);O.collapse(E)}return ag}function i(ac,ad){var Y=P(O[Q],O[A]-1),ae,ab,aa,t,X,Z=Y!=O[Q];if(Y==ac){return M(Y,Z,S,ad)}ae=Y.parentNode;ab=M(ae,S,S,ad);while(ae){while(Y){aa=Y.previousSibling;t=M(Y,Z,S,ad);if(ad!=j){ab.insertBefore(t,ab.firstChild)}Z=E;Y=aa}if(ae==ac){return ab}Y=ae.previousSibling;ae=ae.parentNode;X=M(ae,S,S,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function R(ac,ad){var Z=P(O[h],O[W]),aa=Z!=O[h],ae,ab,Y,t,X;if(Z==ac){return M(Z,aa,E,ad)}ae=Z.parentNode;ab=M(ae,S,E,ad);while(ae){while(Z){Y=Z.nextSibling;t=M(Z,aa,E,ad);if(ad!=j){ab.appendChild(t)}aa=E;Z=Y}if(ae==ac){return ab}Z=ae.nextSibling;ae=ae.parentNode;X=M(ae,S,E,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function M(t,aa,ad,ae){var Z,Y,ab,X,ac;if(aa){return z(t,ae)}if(t.nodeType==3){Z=t.nodeValue;if(ad){X=O[W];Y=Z.substring(X);ab=Z.substring(0,X)}else{X=O[A];Y=Z.substring(0,X);ab=Z.substring(X)}if(ae!=F){t.nodeValue=ab}if(ae==j){return}ac=c.clone(t,S);ac.nodeValue=Y;return ac}if(ae==j){return}return c.clone(t,S)}function z(X,t){if(t!=j){return t==F?c.clone(X,E):X}X.parentNode.removeChild(X)}function T(){return c.create("body",null,d()).outerText}return O}a.Range=b;b.prototype.toString=function(){return this.toStringIE()}})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable==="false"){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t<=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?"StartToStart":"EndToEnd",i);if(p>0){q=r-1}else{if(p<0){t=r+1}else{return{node:l}}}}if(p<0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collapse(false)}o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",1)===0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",-1)===0||s!=k.parentElement()){break}o++}}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&&!s.hasChildNodes()){r[A?"setStart":"setEnd"](s,0);return}if(y===v){r[A?"setStartBefore":"setEndAfter"](s);return}if(u.position<0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?"setStartAfter":"setEndAfter"](s);return}if(!y){if(x.nodeType==3){r[A?"setStart":"setEnd"](x,0)}else{r[A?"setStartBefore":"setEndBefore"](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z>=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?"setStartBefore":"setEndBefore"](s)}if(!y){if(s.nodeType==3){r[A?"setStart":"setEnd"](x,s.nodeValue.length)}else{r[A?"setStartAfter":"setEndAfter"](x)}return}while(x){z+=x.nodeValue.length;if(z>=y){s=x;z-=y;break}x=x.previousSibling}}r[A?"setStart":"setEnd"](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmark=function(m){var j=d.getRng(),o,i,l={};function n(u){var t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&&t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q>=0;q--){p=r.children;n=o[q];if(n<=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?"start":"end"],q,p,o;if(n){q=n.position>0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart("character",q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?"StartToStart":"EndToStart",p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,v,q,t,s=d.dom.doc,m=s.body,r,u;function j(C){var y,B,x,A,z;x=h.create("a");y=C?k:v;B=C?p:q;A=n.duplicate();if(y==s||y==s.documentElement){y=m;B=0}if(y.nodeType==3){y.parentNode.insertBefore(x,y);A.moveToElementText(x);A.moveStart("character",B);h.remove(x);n.setEndPoint(C?"StartToStart":"EndToEnd",A)}else{z=y.childNodes;if(z.length){if(B>=z.length){h.insertAfter(x,z[z.length-1])}else{y.insertBefore(x,z[B])}A.moveToElementText(x)}else{if(y.canHaveHTML){y.innerHTML="\uFEFF";x=y.firstChild;A.moveToElementText(x);A.collapse(f)}}n.setEndPoint(C?"StartToStart":"EndToEnd",A);h.remove(x)}}k=i.startContainer;p=i.startOffset;v=i.endContainer;q=i.endOffset;n=m.createTextRange();if(k==v&&k.nodeType==1){if(p==q&&!k.hasChildNodes()){if(k.canHaveHTML){t=k.previousSibling;if(t&&!t.hasChildNodes()&&h.isBlock(t)){t.innerHTML="\uFEFF"}else{t=null}k.innerHTML="\uFEFF\uFEFF";n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML="";if(t){t.innerHTML=""}return}else{p=h.nodeIndex(k);k=k.parentNode}}if(p==q-1){try{u=k.childNodes[p];l=m.createControlRange();l.addElement(u);l.select();r=d.getRng();if(r.item&&u===r.item(0)){return}}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache",o=0,r=Object.prototype.toString,h=false,g=true,q=/\\/g,u=/\r\n/g,x=/\W/;[0,0].sort(function(){g=false;return 0});var d=function(C,e,F,G){F=F||[];e=e||document;var I=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!C||typeof C!=="string"){return F}var z,K,N,y,J,M,L,E,B=true,A=d.isXML(e),D=[],H=C;do{n.exec("");z=n.exec(H);if(z){H=z[3];D.push(z[1]);if(z[2]){y=z[3];break}}}while(z);if(D.length>1&&j.exec(C)){if(D.length===2&&k.relative[D[0]]){K=s(D[0]+D[1],e,G)}else{K=k.relative[D[0]]?[e]:d(D.shift(),e);while(D.length){C=D.shift();if(k.relative[C]){C+=D.shift()}K=s(C,K,G)}}}else{if(!G&&D.length>1&&e.nodeType===9&&!A&&k.match.ID.test(D[0])&&!k.match.ID.test(D[D.length-1])){J=d.find(D.shift(),e,A);e=J.expr?d.filter(J.expr,J.set)[0]:J.set[0]}if(e){J=G?{expr:D.pop(),set:l(G)}:d.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&e.parentNode?e.parentNode:e,A);K=J.expr?d.filter(J.expr,J.set):J.set;if(D.length>0){N=l(K)}else{B=false}while(D.length){M=D.pop();L=M;if(!k.relative[M]){M=""}else{L=D.pop()}if(L==null){L=e}k.relative[M](N,L,A)}}else{N=D=[]}}if(!N){N=K}if(!N){d.error(M||C)}if(r.call(N)==="[object Array]"){if(!B){F.push.apply(F,N)}else{if(e&&e.nodeType===1){for(E=0;N[E]!=null;E++){if(N[E]&&(N[E]===true||N[E].nodeType===1&&d.contains(e,N[E]))){F.push(K[E])}}}else{for(E=0;N[E]!=null;E++){if(N[E]&&N[E].nodeType===1){F.push(K[E])}}}}}else{l(N,F)}if(y){d(y,I,F,G);d.uniqueSort(F)}return F};d.uniqueSort=function(y){if(p){h=g;y.sort(p);if(h){for(var e=1;e0};d.find=function(E,e,F){var D,z,B,A,C,y;if(!E){return[]}for(z=0,B=k.order.length;z":function(D,y){var C,B=typeof y==="string",z=0,e=D.length;if(B&&!x.test(y)){y=y.toLowerCase();for(;z=0)){if(!z){e.push(C)}}else{if(z){y[B]=false}}}}return false},ID:function(e){return e[1].replace(q,"")},TAG:function(y,e){return y[1].replace(q,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){d.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var y=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(y[1]+(y[2]||1))-0;e[3]=y[3]-0}else{if(e[2]){d.error(e[0])}}e[0]=o++;return e},ATTR:function(B,y,z,e,C,D){var A=B[1]=B[1].replace(q,"");if(!D&&k.attrMap[A]){B[1]=k.attrMap[A]}B[4]=(B[4]||B[5]||"").replace(q,"");if(B[2]==="~="){B[4]=" "+B[4]+" "}return B},PSEUDO:function(B,y,z,e,C){if(B[1]==="not"){if((n.exec(B[3])||"").length>1||/^\w/.test(B[3])){B[3]=d(B[3],null,null,y)}else{var A=d.filter(B[3],y,z,true^C);if(!z){e.push.apply(e,A)}return false}}else{if(k.match.POS.test(B[0])||k.match.CHILD.test(B[0])){return true}}return B},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(z,y,e){return !!d(e[3],z).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(z){var e=z.getAttribute("type"),y=z.type;return z.nodeName.toLowerCase()==="input"&&"text"===y&&(e===y||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===y.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===y.type},button:function(y){var e=y.nodeName.toLowerCase();return e==="input"&&"button"===y.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(y,e){return e===0},last:function(z,y,e,A){return y===A.length-1},even:function(y,e){return e%2===0},odd:function(y,e){return e%2===1},lt:function(z,y,e){return ye[3]-0},nth:function(z,y,e){return e[3]-0===y},eq:function(z,y,e){return e[3]-0===y}},filter:{PSEUDO:function(z,E,D,F){var e=E[1],y=k.filters[e];if(y){return y(z,D,E,F)}else{if(e==="contains"){return(z.textContent||z.innerText||b([z])||"").indexOf(E[3])>=0}else{if(e==="not"){var A=E[3];for(var C=0,B=A.length;C=0)}}},ID:function(y,e){return y.nodeType===1&&y.getAttribute("id")===e},TAG:function(y,e){return(e==="*"&&y.nodeType===1)||!!y.nodeName&&y.nodeName.toLowerCase()===e},CLASS:function(y,e){return(" "+(y.className||y.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(C,A){var z=A[1],e=d.attr?d.attr(C,z):k.attrHandle[z]?k.attrHandle[z](C):C[z]!=null?C[z]:C.getAttribute(z),D=e+"",B=A[2],y=A[4];return e==null?B==="!=":!B&&d.attr?e!=null:B==="="?D===y:B==="*="?D.indexOf(y)>=0:B==="~="?(" "+D+" ").indexOf(y)>=0:!y?D&&e!==false:B==="!="?D!==y:B==="^="?D.indexOf(y)===0:B==="$="?D.substr(D.length-y.length)===y:B==="|="?D===y||D.substr(0,y.length+1)===y+"-":false},POS:function(B,y,z,C){var e=y[2],A=k.setFilters[e];if(A){return A(B,z,y,C)}}}};var j=k.match.POS,c=function(y,e){return"\\"+(e-0+1)};for(var f in k.match){k.match[f]=new RegExp(k.match[f].source+(/(?![^\[]*\])(?![^\(]*\))/.source));k.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[f].source.replace(/\\(\d+)/g,c))}k.match.globalPOS=j;var l=function(y,e){y=Array.prototype.slice.call(y,0);if(e){e.push.apply(e,y);return e}return y};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(v){l=function(B,A){var z=0,y=A||[];if(r.call(B)==="[object Array]"){Array.prototype.push.apply(y,B)}else{if(typeof B.length==="number"){for(var e=B.length;z";e.insertBefore(y,e.firstChild);if(document.getElementById(z)){k.find.ID=function(B,C,D){if(typeof C.getElementById!=="undefined"&&!D){var A=C.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===B[1]?[A]:undefined:[]}};k.filter.ID=function(C,A){var B=typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id");return C.nodeType===1&&B&&B.nodeValue===A}}e.removeChild(y);e=y=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){k.find.TAG=function(y,C){var B=C.getElementsByTagName(y[1]);if(y[1]==="*"){var A=[];for(var z=0;B[z];z++){if(B[z].nodeType===1){A.push(B[z])}}B=A}return B}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(y){return y.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=d,A=document.createElement("div"),z="__sizzle__";A.innerHTML="

    ";if(A.querySelectorAll&&A.querySelectorAll(".TEST").length===0){return}d=function(L,C,G,K){C=C||document;if(!K&&!d.isXML(C)){var J=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(L);if(J&&(C.nodeType===1||C.nodeType===9)){if(J[1]){return l(C.getElementsByTagName(L),G)}else{if(J[2]&&k.find.CLASS&&C.getElementsByClassName){return l(C.getElementsByClassName(J[2]),G)}}}if(C.nodeType===9){if(L==="body"&&C.body){return l([C.body],G)}else{if(J&&J[3]){var F=C.getElementById(J[3]);if(F&&F.parentNode){if(F.id===J[3]){return l([F],G)}}else{return l([],G)}}}try{return l(C.querySelectorAll(L),G)}catch(H){}}else{if(C.nodeType===1&&C.nodeName.toLowerCase()!=="object"){var D=C,E=C.getAttribute("id"),B=E||z,N=C.parentNode,M=/^\s*[+~]/.test(L);if(!E){C.setAttribute("id",B)}else{B=B.replace(/'/g,"\\$&")}if(M&&N){C=C.parentNode}try{if(!M||N){return l(C.querySelectorAll("[id='"+B+"'] "+L),G)}}catch(I){}finally{if(!E){D.removeAttribute("id")}}}}}return e(L,C,G,K)};for(var y in e){d[y]=e[y]}A=null})()}(function(){var e=document.documentElement,z=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(z){var B=!z.call(document.createElement("div"),"div"),y=false;try{z.call(document.documentElement,"[test!='']:sizzle")}catch(A){y=true}d.matchesSelector=function(D,F){F=F.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(D)){try{if(y||!k.match.PSEUDO.test(F)&&!/!=/.test(F)){var C=z.call(D,F);if(C||!B||D.document&&D.document.nodeType!==11){return C}}}catch(E){}}return d(F,null,null,[D]).length>0}}})();(function(){var e=document.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(y,z,A){if(typeof z.getElementsByClassName!=="undefined"&&!A){return z.getElementsByClassName(y[1])}};e=null})();function a(y,D,C,G,E,F){for(var A=0,z=G.length;A0){B=e;break}}}e=e[y]}G[A]=B}}}if(document.documentElement.contains){d.contains=function(y,e){return y!==e&&(y.contains?y.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){d.contains=function(y,e){return !!(y.compareDocumentPosition(e)&16)}}else{d.contains=function(){return false}}}d.isXML=function(e){var y=(e?e.ownerDocument||e:0).documentElement;return y?y.nodeName!=="HTML":false};var s=function(z,e,D){var C,E=[],B="",F=e.nodeType?[e]:e;while((C=k.match.PSEUDO.exec(z))){B+=C[0];z=z.replace(k.match.PSEUDO,"")}z=k.relative[z]?z+"*":z;for(var A=0,y=F.length;A"+(i.item?i.item(0).outerHTML:i.htmlText);m.removeChild(m.firstChild)}else{m.innerHTML=i.toString()}}if(/^\s/.test(m.innerHTML)){j=" "}if(/\s+$/.test(m.innerHTML)){l=" "}h.getInner=true;h.content=g.isCollapsed()?"":j+g.serializer.serialize(m,h)+l;g.onGetContent.dispatch(g,h);return h.content},setContent:function(h,j){var o=this,g=o.getRng(),k,l=o.win.document,n,m;j=j||{format:"html"};j.set=true;h=j.content=h;if(!j.no_events){o.onBeforeSetContent.dispatch(o,j)}h=j.content;if(g.insertNode){h+='_';if(g.startContainer==l&&g.endContainer==l){l.body.innerHTML=h}else{g.deleteContents();if(l.body.childNodes.length===0){l.body.innerHTML=h}else{if(g.createContextualFragment){g.insertNode(g.createContextualFragment(h))}else{n=l.createDocumentFragment();m=l.createElement("div");n.appendChild(m);m.outerHTML=h;g.insertNode(n)}}}k=o.dom.get("__caret");g=l.createRange();g.setStartBefore(k);g.setEndBefore(k);o.setRng(g);o.dom.remove("__caret");try{o.setRng(g)}catch(i){}}else{if(g.item){l.execCommand("Delete",false,null);g=o.getRng()}if(/^\s+/.test(h)){g.pasteHTML('_'+h);o.dom.remove("__mce_tmp")}else{g.pasteHTML(h)}}if(!j.no_events){o.onSetContent.dispatch(o,j)}},getStart:function(){var i=this,h=i.getRng(),j,g,l,k;if(h.duplicate||h.item){if(h.item){return h.item(0)}l=h.duplicate();l.collapse(1);j=l.parentElement();if(j.ownerDocument!==i.dom.doc){j=i.dom.getRoot()}g=k=h.parentElement();while(k=k.parentNode){if(k==j){j=g;break}}return j}else{j=h.startContainer;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[Math.min(j.childNodes.length-1,h.startOffset)]}if(j&&j.nodeType==3){return j.parentNode}return j}},getEnd:function(){var h=this,g=h.getRng(),j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}g=g.duplicate();g.collapse(0);j=g.parentElement();if(j.ownerDocument!==h.dom.doc){j=h.dom.getRoot()}if(j&&j.nodeName=="BODY"){return j.lastChild||j}return j}else{j=g.endContainer;i=g.endOffset;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[i>0?i-1:i]}if(j&&j.nodeType==3){return j.parentNode}return j}},getBookmark:function(s,v){var y=this,n=y.dom,h,k,j,o,i,p,q,m="\uFEFF",x;function g(z,A){var t=0;e(n.select(z),function(C,B){if(C==A){t=B}});return t}function u(t){function z(E){var A,D,C,B=E?"start":"end";A=t[B+"Container"];D=t[B+"Offset"];if(A.nodeType==1&&A.nodeName=="TR"){C=A.childNodes;A=C[Math.min(E?D:D-1,C.length-1)];if(A){D=E?0:A.childNodes.length;t["set"+(E?"Start":"End")](A,D)}}}z(true);z();return t}function l(){var z=y.getRng(true),t=n.getRoot(),A={};function B(E,J){var D=E[J?"startContainer":"endContainer"],I=E[J?"startOffset":"endOffset"],C=[],F,H,G=0;if(D.nodeType==3){if(v){for(F=D.previousSibling;F&&F.nodeType==3;F=F.previousSibling){I+=F.nodeValue.length}}C.push(I)}else{H=D.childNodes;if(I>=H.length&&H.length){G=1;I=Math.max(0,H.length-1)}C.push(y.dom.nodeIndex(H[I],v)+G)}for(;D&&D!=t;D=D.parentNode){C.push(y.dom.nodeIndex(D,v))}return C}A.start=B(z,true);if(!y.isCollapsed()){A.end=B(z)}return A}if(s==2){if(y.tridentSel){return y.tridentSel.getBookmark(s)}return l()}if(s){return{rng:y.getRng()}}h=y.getRng();j=n.uniqueId();o=tinyMCE.activeEditor.selection.isCollapsed();x="overflow:hidden;line-height:0px";if(h.duplicate||h.item){if(!h.item){k=h.duplicate();try{h.collapse();h.pasteHTML(''+m+"");if(!o){k.collapse(false);h.moveToElementText(k.parentElement());if(h.compareEndPoints("StartToEnd",k)===0){k.move("character",-1)}k.pasteHTML(''+m+"")}}catch(r){return null}}else{p=h.item(0);i=p.nodeName;return{name:i,index:g(i,p)}}}else{p=y.getNode();i=p.nodeName;if(i=="IMG"){return{name:i,index:g(i,p)}}k=u(h.cloneRange());if(!o){k.collapse(false);k.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_end",style:x},m))}h=u(h);h.collapse(true);h.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_start",style:x},m))}y.moveToBookmark({id:j,keep:1});return{id:j}},moveToBookmark:function(o){var s=this,m=s.dom,j,i,g,r,k,u,p,q;function h(A){var t=o[A?"start":"end"],x,y,z,v;if(t){z=t[0];for(y=r,x=t.length-1;x>=1;x--){v=y.childNodes;if(t[x]>v.length-1){return}y=v[t[x]]}if(y.nodeType===3){z=Math.min(t[0],y.nodeValue.length)}if(y.nodeType===1){z=Math.min(t[0],y.childNodes.length)}if(A){g.setStart(y,z)}else{g.setEnd(y,z)}}return true}function l(B){var v=m.get(o.id+"_"+B),A,t,y,z,x=o.keep;if(v){A=v.parentNode;if(B=="start"){if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}k=u=A;p=q=t}else{if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}u=A;q=t}if(!x){z=v.previousSibling;y=v.nextSibling;e(d.grep(v.childNodes),function(C){if(C.nodeType==3){C.nodeValue=C.nodeValue.replace(/\uFEFF/g,"")}});while(v=m.get(o.id+"_"+B)){m.remove(v,1)}if(z&&y&&z.nodeType==y.nodeType&&z.nodeType==3&&!d.isOpera){t=z.nodeValue.length;z.appendData(y.nodeValue);m.remove(y);if(B=="start"){k=u=z;p=q=t}else{u=z;q=t}}}}}function n(t){if(m.isBlock(t)&&!t.innerHTML&&!b){t.innerHTML='
    '}return t}if(o){if(o.start){g=m.createRng();r=m.getRoot();if(s.tridentSel){return s.tridentSel.moveToBookmark(o)}if(h(true)&&h()){s.setRng(g)}}else{if(o.id){l("start");l("end");if(k){g=m.createRng();g.setStart(n(k),p);g.setEnd(n(u),q);s.setRng(g)}}else{if(o.name){s.select(m.select(o.name)[o.index])}else{if(o.rng){s.setRng(o.rng)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&&d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName=="BR"){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints("StartToEnd",i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g=this.win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&&h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount>0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&&g&&g.setStart&&k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&&g.startContainer.nodeType===9&&g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&&h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&&g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.explicitRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&&j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount>0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&&q.nodeType===3&&q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset<2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&&g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}if(h.endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&&l===g){return l}}}if(m&&m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&&l&&m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&&i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&&m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)<=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(z=B[A?"prev":"next"]()){if(z.nodeName==="BR"){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?"prev":"next"]()){if(q.nodeType===3&&q.nodeValue.length>0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&&A){o=A;m=true;r=0}}o=g[(p?"start":"end")+"Container"];r=g[(p?"start":"end")+"Offset"];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r>0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName=="TABLE"){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&&r>0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&&!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&&q.nodeValue.length>0){r=p?0:q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName=="IMG"&&!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&&r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&&q.nodeName==="BR"&&!y(q)&&!y(q,true)){x(true,o.childNodes[r])}}}if(p&&!l&&o.nodeType===3&&r===o.nodeValue.length){x(false)}if(m){g["set"+(p?"Start":"End")](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents:m})});i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},destroy:function(h){var g=this;g.win=null;if(!h){d.removeUnload(g.destroy)}},_fixIESelection:function(){var h=this.dom,n=h.doc,i=n.body,k,o,g;function j(p,s){var q=i.createTextRange();try{q.moveToPoint(p,s)}catch(r){q=null}return q}function m(q){var p;if(q.button){p=j(q.x,q.y);if(p){if(p.compareEndPoints("StartToStart",o)>0){p.setEndPoint("StartToStart",o)}else{p.setEndPoint("EndToEnd",o)}p.select()}}else{l()}}function l(){var p=n.selection.createRange();if(o&&!p.item&&p.compareEndPoints("StartToEnd",p)===0){o.select()}h.unbind(n,"mouseup",l);h.unbind(n,"mousemove",m);o=k=0}n.documentElement.unselectable=true;h.bind(n,["mousedown","contextmenu"],function(p){if(p.target.nodeName==="HTML"){if(k){l()}g=n.documentElement;if(g.scrollHeight>g.clientHeight){return}k=1;o=j(p.x,p.y);if(o){h.bind(n,"mouseup",l);h.bind(n,"mousemove",m);h.win.focus();o.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||"named";e.remove_trailing_brs="remove_trailing_brs" in e?e.remove_trailing_brs:true;h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter("src,href,style",function(k,j){var o=k.length,l,q,n="data-mce-"+j,p=e.url_converter,r=e.url_converter_scope,m;while(o--){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length>0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j==="style"){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length>0?q:null)}}});c.addAttributeFilter("class",function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr("class").replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g,"");m.attr("class",n.length>0?n:null)}});c.addAttributeFilter("data-mce-type",function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map["data-mce-type"]==="bookmark"&&!k.cleanup){n.remove()}}});c.addAttributeFilter("data-mce-expando",function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter("noscript",function(j){var k=j.length,l;while(k--){l=j[k].firstChild;if(l){l.value=a.html.Entities.decode(l.value)}}});c.addNodeFilter("script,style",function(k,l){var m=k.length,n,o;function j(p){return p.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:"";if(l==="script"){n.attr("type",(n.attr("type")||"text/javascript").replace(/^mce\-/,""));if(o.length>0){n.firstChild.value="// "}}else{if(o.length>0){n.firstChild.value=""}}}});c.addNodeFilter("#comment",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf("[CDATA[")===0){m.name="#cdata";m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(m.value.indexOf("mce:protected ")===0){m.name="#text";m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter("xml:namespace,input",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k==="input"&&!("type" in m.attributes.map)){m.attr("type","text")}}}}});if(e.fix_list_elements){c.addNodeFilter("ul,ol",function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name==="ul"||j.name==="ol"){if(n.prev&&n.prev.name==="li"){n.prev.append(n)}}}})}c.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProcess:h,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&&i.select("script,style,select,map").length>0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument("");g(o.nodeName=="BODY"?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!="BODY"){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||"html";if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(a.trim(m.getInner?o.innerHTML:i.getOuterHTML(o)),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF/g,"")}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0,k=1,i=2,l={},j=[],e={},d=[],g=0,f;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!=="undefined"&&console.log){console.log("Failed to load: "+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&&o.port==r.port&&(o.protocol+":")==r.protocol&&o.protocol.toLowerCase()!="file"){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create("script",{type:"text/javascript"});t.text=y;document.getElementsByTagName("head")[0].appendChild(t);q.remove(t);p()},error:u});return}}s=document.createElement("script");s.id=n;s.type="text/javascript";s.src=a._addVer(m);if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t=="complete"||t=="loaded"){p()}}}(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==f){j.push(m);l[m]=c}if(q){if(!e[m]){e[m]=[]}e[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(e[r],function(s){s.func.call(s.scope)});e[r]=f}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);(function(a){a.dom.RangeUtils=function(c){var b="\uFEFF";this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select("td.mceSelected,th.mceSelected");if(e.length>0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&&v===i&&l>=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&&u.length>0&&v===t&&v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&&x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?"nextSibling":"previousSibling";for(h=x,r=h.parentNode;h&&h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&&t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j)||t;k(i,g,true);q=p(g==i?g:g.nextSibling,"nextSibling",o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&&h.nodeType==3){if(d>0&&dd){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&&d>0&&d0&&g=m.length){r=0}}t=m[r];f.setAttrib(g,"tabindex","-1");f.setAttrib(t.id,"tabindex","0");f.get(t.id).focus();if(e.actOnFocus){e.onAction(t.id)}if(s){a.cancel(s)}};p=function(z){var v=37,u=39,y=38,A=40,r=27,t=14,s=13,x=32;switch(z.keyCode){case v:if(i){q.moveFocus(-1)}break;case u:if(i){q.moveFocus(1)}break;case y:if(o){q.moveFocus(-1)}break;case A:if(o){q.moveFocus(1)}break;case r:if(e.onCancel){e.onCancel();a.cancel(z)}break;case t:case s:case x:if(e.onAction){e.onAction(g);a.cancel(z)}break}};c(m,function(t,r){var s,u;if(!t.id){t.id=f.uniqueId("_mce_item_")}u=f.get(t.id);if(l){f.bind(u,"blur",h);s="-1"}else{s=(r===0?"0":"-1")}u.setAttribute("tabindex",s);f.bind(u,"focus",k)});if(m[0]){g=m[0].id}f.setAttrib(n,"tabindex","-1");var j=f.get(n);f.bind(j,"focus",d);f.bind(j,"keydown",p)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create("tinymce.ui.Control",{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix="";this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+"_aria")||b.get(this.id);if(d){b.setAttrib(d,"aria-"+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty("disabled",d);this.setState("Disabled",d);this.setState("Enabled",!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState("Active",d);this.active=d;this.setAriaProperty("pressed",d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.rendered},renderHTML:function(){},renderTo:function(d){b.setHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create("tinymce.ui.Container:tinymce.ui.Control",{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create("tinymce.ui.Separator:tinymce.ui.Control",{Separator:function(b,a){this.parent(b,a);this.classPrefix="mceSeparator";this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML("span",{"class":this.classPrefix,role:"separator","aria-orientation":"vertical",tabindex:"-1"})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.MenuItem:tinymce.ui.Control",{MenuItem:function(g,f){this.parent(g,f);this.classPrefix="mceMenuItem"},setSelected:function(f){this.setState("Selected",f);this.setAriaProperty("checked",!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.Menu:tinymce.ui.MenuItem",{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},"items",f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},"items",f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add:function(f){if(!f.settings){f=new d.ui.MenuItem(f.id||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},"items",f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create("tinymce.ui.DropMenu:tinymce.ui.Menu",{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&&!g.icons){g["class"]+=" mceNoIcons"}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix="mceMenu"},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j["class"]=j["class"]||i["class"];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get("menu_"+i.id+"_tbl"),l=c.get("menu_"+i.id+"_co"),h,k;h=j.max_width?Math.min(g.offsetWidth,j.max_width):g.offsetWidth;k=j.max_height?Math.min(g.offsetHeight,j.max_height):g.offsetHeight;if(!c.boxModel){i.element.setStyles({width:h+2,height:k+2})}else{i.element.setStyles({width:h,height:k})}if(j.max_width){c.setStyle(l,"width",h)}if(j.max_height){c.setStyle(l,"height",k);if(g.clientHeightv){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)>q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.element.update();z.isMenuVisible=1;z.mouseClickFunc=a.add(o,"click",function(s){var h;s=s.target;if(s&&(s=c.getParent(s,"tr"))&&!c.hasClass(s,m+"ItemSub")){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return false}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,"mouseover",function(x){var h,t,s;x=x.target;if(x&&(x=c.getParent(x,"tr"))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&&c.hasClass(x,m+"ItemSub")){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+"ItemActive")}}})}a.add(o,"keydown",z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get("menu_"+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,"mouseover",g.mouseOverFunc);a.remove(i,"click",g.mouseClickFunc);a.remove(i,"keydown",g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+"ItemActive")}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&&(h=c.get("menu_"+g.id))){g._add(c.select("tbody",h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get("menu_"+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,"mouseover",g.mouseOverFunc);a.remove(c.select("a",h),"focus",g.mouseOverFunc);a.remove(h,"click",g.mouseClickFunc);a.remove(h,"keydown",g._keyHandler);if(g.element){g.element.remove()}c.remove(h)},renderNode:function(){var i=this,j=i.settings,l,h,k,g;g=c.create("div",{role:"listbox",id:"menu_"+i.id,"class":j["class"],style:"position:absolute;left:0;top:0;z-index:200000;outline:0"});if(i.settings.parent){c.setAttrib(g,"aria-parent","menu_"+i.settings.parent.id)}k=c.add(g,"div",{role:"presentation",id:"menu_"+i.id+"_co","class":i.classPrefix+(j["class"]?" "+j["class"]:"")});i.element=new b("menu_"+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,"span",{"class":i.classPrefix+"Line"})}l=c.add(k,"table",{role:"presentation",id:"menu_"+i.id+"_tbl",border:0,cellPadding:0,cellSpacing:0});h=c.add(l,"tbody");f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.get("menu_"+g.id);h=c.select("a[role=option]","menu_"+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:"menu_"+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,"tr",{id:h.id,"class":m+"ItemSeparator"});c.add(l,"td",{"class":m+"ItemSeparator"});if(i=l.previousSibling){c.addClass(i,"mceLast")}return}i=l=c.add(j,"tr",{id:h.id,"class":m+"Item "+m+"ItemEnabled"});i=k=c.add(i,q.titleItem?"th":"td");i=p=c.add(i,"a",{id:h.id+"_aria",role:q.titleItem?"presentation":"option",href:"javascript:;",onclick:"return false;",onmousedown:"return false;"});if(q.parent){c.setAttrib(p,"aria-haspopup","true");c.setAttrib(p,"aria-owns","menu_"+h.id)}c.addClass(k,q["class"]);g=c.add(i,"span",{"class":"mceIcon"+(q.icon?" mce_"+q.icon:"")});if(q.icon_src){c.add(g,"img",{src:q.icon_src})}i=c.add(i,q.element||"span",{"class":"mceText",title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style=="function"){h.settings.style=h.settings.style()}c.setAttrib(i,"style",h.settings.style)}if(j.childNodes.length==1){c.addClass(l,"mceFirst")}if((i=l.previousSibling)&&c.hasClass(i,m+"ItemSeparator")){c.addClass(l,"mceFirst")}if(h.collapse){c.addClass(l,m+"ItemSub")}if(i=l.previousSibling){c.removeClass(i,"mceLast")}c.addClass(l,"mceLast")}})})(tinymce);(function(b){var a=b.DOM;b.create("tinymce.ui.Button:tinymce.ui.Control",{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix="mceButton"},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||"");d='';if(e.image&&!(this.editor&&this.editor.forcedHighContrastMode)){d+=''+a.encode(e.title)+''+(c?''+c+"":"")}else{d+=''+(c?''+c+"":"")}d+='";d+="";return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&&d.editor){b.dom.Event.add(d.id,"mousedown",function(f){var g=d.editor.selection.getNode().nodeName;c=g==="IMG"?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,"click",function(f){if(!d.isDisabled()){if(b.isIE&&d.editor&&c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,"keyup",function(f){if(!d.isDisabled()&&f.keyCode==b.VK.SPACEBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix="mceListBox";h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+"_text");h=d.get(i.id+"_voiceDesc");k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title));d.setHTML(h,i.settings.title+" - "+k.title);d.removeClass(j,"mceTitle");d.setAttrib(i.id,"aria-valuenow",k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,"mceTitle");i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,"aria-valuenow",i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j="",g=this,i=g.settings,k=g.classPrefix;j='';j+="";j+="";j+="";return j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&&h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&&h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,"mousedown",h.hideMenu,h);d.addClass(h.id,h.classPrefix+"Selected")},hideMenu:function(h){var g=this;if(g.menu&&g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+"Selected");if(h&&h.type=="mousedown"&&(h.target.id==g.id+"_text"||h.target.id==g.id+"_open")){return}if(!h||!d.getParent(h.target,".mceMenu")){d.removeClass(g.id,g.classPrefix+"Selected");b.remove(d.doc,"mousedown",g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+"_menu",{menu_line:1,"class":h.classPrefix+"Menu mceNoIcons",max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}})}else{i.id=d.uniqueId();i.role="option";i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}});h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:function(){var g=this,h=g.classPrefix;b.add(g.id,"click",g.showMenu,g);b.add(g.id,"keydown",function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,"focus",function(){if(!g._focused){g.keyDownHandler=b.add(g.id,"keydown",function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,"keypress",function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,"blur",function(){b.remove(g.id,"keydown",g.keyDownHandler);b.remove(g.id,"keypress",g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,"mouseover",function(){if(!d.hasClass(g.id,h+"Disabled")){d.addClass(g.id,h+"Hover")}});b.add(g.id,"mouseout",function(){if(!d.hasClass(g.id,h+"Disabled")){d.removeClass(g.id,h+"Hover")}})}g.onPostRender.dispatch(g,d.get(g.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix="mceNativeListBox"},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty("disabled",g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g=g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.id),"option",g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML("option",{value:""},"-- "+g.settings.title+" --");f(g.items,function(h){i+=d.createHTML("option",{value:h.value},h.title)});i=d.createHTML("select",{id:g.id,"class":"mceNativeListBox","aria-labelledby":g.id+"_aria"},i);i+=d.createHTML("span",{id:g.id+"_aria",style:"display: none"},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&&(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,"change",g);b.add(h.id,"keydown",function(l){var k;b.remove(h.id,"change",i);j=false;k=b.add(h.id,"blur",function(){if(j){return}j=true;b.add(h.id,"change",g);b.remove(h.id,"blur",k)});if(e.isWebKit&&(l.keyCode==37||l.keyCode==39)){return b.prevent(l)}if(l.keyCode==13||l.keyCode==32){g(l);return b.cancel(l)}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.firstChild.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+=""+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'');i+=""+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";i+="";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",grid_width:8,default_color:"#888888"},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:200000});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+"_menu",items:c.select("a",f.id+"_menu"),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(m){m=m.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");var i={href:"javascript:;",style:{backgroundColor:"#"+m},title:p.editor.getLang("colors."+m,m),"data-mce-color":"#"+m};if(!d.isIE){i.role="option"}g=c.add(g,"a",i);if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+"_menu");a.clear(f.id+"_more");c.remove(f.id+"_menu");if(f.keyboardNav){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('
    ');i.push("");i.push('");j(e,function(h){i.push(h.renderHTML())});i.push("");i.push("
    ");return i.join("")},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.isWebKit){d.get(f.editor.id+"_ifr").focus()}f.editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create("tinymce.ui.Toolbar:tinymce.ui.Container",{renderHTML:function(){var m=this,f="",j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e"))}if(d&&k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarEnd"},c.createHTML("span",null,""))}}if(c.stdMode){f+=''+k.renderHTML()+""}else{f+=""+k.renderHTML()+""}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,""))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,""));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},""+f+"")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e==="object"){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+"/"+g)})},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!==0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&&!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute("id",s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,"string")){t=y.replace(/\.\w+$/,"");t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,"ready",function(){var s,t;m(x,"onpageload");switch(x.mode){case"exact":s=x.elements||"";if(s.length>0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===y){y="mce_editor_"+c++;k.setAttrib(A,"id",y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case"textareas":case"specific_textareas":g(k.select("textarea"),function(y){if(x.editor_deselector&&p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,"oninit")}})}else{s++}if(s==t){m(x,"oninit")}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l':"",visual:n,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",apply_source_formatting:n,directionality:"ltr",forced_root_block:"p",hidden_input:n,padd_empty_editor:n,render_ui:n,indentation:"30px",fix_table_elements:n,inline_styles:n,convert_fonts_to_spans:n,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:n,entity_encoding:"named",url_converter:m.convertURL,url_converter_scope:m,ie7_compat:n},o);m.id=m.editorId=p;m.isNotDirty=false;m.plugins={};m.documentBaseURI=new k.util.URI(o.document_base_url||k.documentBaseURL,{base_uri:tinyMCE.baseURI});m.baseURI=k.baseURI;m.contentCSS=[];m.contentStyles=[];m.setupEvents();m.execCommands={};m.queryStateCommands={};m.queryValueCommands={};m.execCallback("setup",m)},render:function(o){var p=this,q=p.settings,r=p.id,m=k.ScriptLoader;if(!j.domLoaded){j.add(window,"ready",function(){p.render()});return}tinyMCE.settings=q;if(!p.getElement()){return}if(k.isIDevice&&!k.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(p.getElement().nodeName)&&q.hidden_input&&l.getParent(r,"form")){l.insertAfter(l.create("input",{type:"hidden",name:r}),r)}if(!q.content_editable){p.orgVisibility=p.getElement().style.visibility;p.getElement().style.visibility="hidden"}if(k.WindowManager){p.windowManager=new k.WindowManager(p)}if(q.encoding=="xml"){p.onGetContent.add(function(s,t){if(t.save){t.content=l.encode(t.content)}})}if(q.add_form_submit_trigger){p.onSubmit.addToTop(function(){if(p.initialized){p.save();p.isNotDirty=1}})}if(q.add_unload_trigger){p._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(p.initialized&&!p.destroyed&&!p.isHidden()){p.save({format:"raw",no_events:true})}})}k.addUnload(p.destroy,p);if(q.submit_patch){p.onBeforeRenderUI.add(function(){var s=p.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&&!s.submit.length){p.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){k.triggerSave();p.isNotDirty=1;return p.formElement._mceOldSubmit(p.formElement)}}s=null})}function n(){if(q.language&&q.language_load!==false){m.add(k.baseURL+"/langs/"+q.language+".js")}if(q.theme&&typeof q.theme!="function"&&q.theme.charAt(0)!="-"&&!h.urls[q.theme]){h.load(q.theme,"themes/"+q.theme+"/editor_template"+k.suffix+".js")}i(g(q.plugins),function(t){if(t&&!c.urls[t]){if(t.charAt(0)=="-"){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(v){var u={prefix:"plugins/",resource:v,suffix:"/editor_plugin"+k.suffix+".js"};v=c.createUrl(u,v);c.load(v.resource,v)})}else{if(t=="safari"){return}c.load(t,{prefix:"plugins/",resource:t,suffix:"/editor_plugin"+k.suffix+".js"})}}});m.loadQueue(function(){if(!p.removed){p.init()}})}n()},init:function(){var q,G=this,H=G.settings,D,y,z,C=G.getElement(),p,m,E,v,B,F,x,r=[];k.add(G);H.aria_label=H.aria_label||l.getAttrib(C,"aria-label",G.getLang("aria.rich_text_area"));if(H.theme){if(typeof H.theme!="function"){H.theme=H.theme.replace(/-/,"");p=h.get(H.theme);G.theme=new p();if(G.theme.init){G.theme.init(G,h.urls[H.theme]||k.documentBaseURL.replace(/\/$/,""))}}else{G.theme=H.theme}}function A(s){var t=c.get(s),o=c.urls[s]||k.documentBaseURL.replace(/\/$/,""),n;if(t&&k.inArray(r,s)===-1){i(c.dependencies(s),function(u){A(u)});n=new t(G,o);G.plugins[s]=n;if(n.init){n.init(G,o);r.push(s)}}}i(g(H.plugins.replace(/\-/g,"")),A);if(H.popup_css!==false){if(H.popup_css){H.popup_css=G.documentBaseURI.toAbsolute(H.popup_css)}else{H.popup_css=G.baseURI.toAbsolute("themes/"+H.theme+"/skins/"+H.skin+"/dialog.css")}}if(H.popup_css_add){H.popup_css+=","+G.documentBaseURI.toAbsolute(H.popup_css_add)}G.controlManager=new k.ControlManager(G);G.onBeforeRenderUI.dispatch(G,G.controlManager);if(H.render_ui&&G.theme){G.orgDisplay=C.style.display;if(typeof H.theme!="function"){D=H.width||C.style.width||C.offsetWidth;y=H.height||C.style.height||C.offsetHeight;z=H.min_height||100;F=/^[0-9\.]+(|px)$/i;if(F.test(""+D)){D=Math.max(parseInt(D,10)+(p.deltaWidth||0),100)}if(F.test(""+y)){y=Math.max(parseInt(y,10)+(p.deltaHeight||0),z)}p=G.theme.renderUI({targetNode:C,width:D,height:y,deltaWidth:H.delta_width,deltaHeight:H.delta_height});l.setStyles(p.sizeContainer||p.editorContainer,{width:D,height:y});y=(p.iframeHeight||y)+(typeof(y)=="number"?(p.deltaHeight||0):"");if(y';if(H.document_base_url!=k.documentBaseURL){G.iframeHTML+=''}if(H.ie7_compat){G.iframeHTML+=''}else{G.iframeHTML+=''}G.iframeHTML+='';for(x=0;x'}G.contentCSS=[];v=H.body_id||"tinymce";if(v.indexOf("=")!=-1){v=G.getParam("body_id","","hash");v=v[G.id]||v}B=H.body_class||"";if(B.indexOf("=")!=-1){B=G.getParam("body_class","","hash");B=B[G.id]||""}G.iframeHTML+='
    ";if(k.relaxedDomain&&(b||(k.isOpera&&parseFloat(opera.version())<11))){E='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinyMCE.get("'+G.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody();})()'}q=l.add(p.iframeContainer,"iframe",{id:G.id+"_ifr",src:E||'javascript:""',frameBorder:"0",allowTransparency:"true",title:H.aria_label,style:{width:"100%",height:y,display:"block"}});G.contentAreaContainer=p.iframeContainer;if(p.editorContainer){l.get(p.editorContainer).style.display=G.orgDisplay}C.style.visibility=G.orgVisibility;l.get(G.id).style.display="none";l.setAttrib(G.id,"aria-hidden",true);if(!k.relaxedDomain||!E){G.initContentBody()}C=q=p=null},initContentBody:function(){var n=this,p=n.settings,q=l.get(n.id),r=n.getDoc(),o,m,s;if((!b||!k.relaxedDomain)&&!p.content_editable){r.open();r.write(n.iframeHTML);r.close();if(k.relaxedDomain){r.domain=k.relaxedDomain}}if(p.content_editable){l.addClass(q,"mceContentBody");n.contentDocument=r=p.content_document||document;n.contentWindow=p.content_window||window;n.bodyElement=q;p.content_document=p.content_window=null}m=n.getBody();m.disabled=true;if(!p.readonly){m.contentEditable=n.getParam("content_editable_state",true)}m.disabled=false;n.schema=new k.html.Schema(p);n.dom=new k.dom.DOMUtils(r,{keep_values:true,url_converter:n.convertURL,url_converter_scope:n,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:true,root_element:p.content_editable?n.id:null,schema:n.schema});n.parser=new k.html.DomParser(p,n.schema);n.parser.addAttributeFilter("src,href,style",function(t,u){var v=t.length,y,A=n.dom,z,x;while(v--){y=t[v];z=y.attr(u);x="data-mce-"+u;if(!y.attributes.map[x]){if(u==="style"){y.attr(x,A.serializeStyle(A.parseStyle(z),y.name))}else{y.attr(x,n.convertURL(z,u,y.name))}}}});n.parser.addNodeFilter("script",function(t,u){var v=t.length,x;while(v--){x=t[v];x.attr("type","mce-"+(x.attr("type")||"text/javascript"))}});n.parser.addNodeFilter("#cdata",function(t,u){var v=t.length,x;while(v--){x=t[v];x.type=8;x.name="#comment";x.value="[CDATA["+x.value+"]]"}});n.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(u,v){var x=u.length,y,t=n.schema.getNonEmptyElements();while(x--){y=u[x];if(y.isEmpty(t)){y.empty().append(new k.html.Node("br",1)).shortEnded=true}}});n.serializer=new k.dom.Serializer(p,n.dom,n.schema);n.selection=new k.dom.Selection(n.dom,n.getWin(),n.serializer,n);n.formatter=new k.Formatter(n);n.undoManager=new k.UndoManager(n);n.forceBlocks=new k.ForceBlocks(n);n.enterKey=new k.EnterKey(n);n.editorCommands=new k.EditorCommands(n);n.onExecCommand.add(function(t,u){if(!/^(FontName|FontSize)$/.test(u)){n.nodeChanged()}});n.serializer.onPreProcess.add(function(t,u){return n.onPreProcess.dispatch(n,u,t)});n.serializer.onPostProcess.add(function(t,u){return n.onPostProcess.dispatch(n,u,t)});n.onPreInit.dispatch(n);if(!p.browser_spellcheck&&!p.gecko_spellcheck){r.body.spellcheck=false}if(!p.readonly){n.bindNativeEvents()}n.controlManager.onPostRender.dispatch(n,n.controlManager);n.onPostRender.dispatch(n);n.quirks=k.util.Quirks(n);if(p.directionality){m.dir=p.directionality}if(p.nowrap){m.style.whiteSpace="nowrap"}if(p.protect){n.onBeforeSetContent.add(function(t,u){i(p.protect,function(v){u.content=u.content.replace(v,function(x){return""})})})}n.onSetContent.add(function(){n.addVisual(n.getBody())});if(p.padd_empty_editor){n.onPostProcess.add(function(t,u){u.content=u.content.replace(/^(]*>( | |\s|\u00a0|)<\/p>[\r\n]*|
    [\r\n]*)$/,"")})}n.load({initial:true,format:"html"});n.startContent=n.getContent({format:"raw"});n.initialized=true;n.onInit.dispatch(n);n.execCallback("setupcontent_callback",n.id,m,r);n.execCallback("init_instance_callback",n);n.focus(true);n.nodeChanged({initial:true});if(n.contentStyles.length>0){s="";i(n.contentStyles,function(t){s+=t+"\r\n"});n.dom.addStyle(s)}i(n.contentCSS,function(t){n.dom.loadCSS(t)});if(p.auto_focus){setTimeout(function(){var t=k.get(p.auto_focus);t.selection.select(t.getBody(),1);t.selection.collapse(1);t.getBody().focus();t.getWin().focus()},100)}q=r=m=null},focus:function(p){var o,u=this,t=u.selection,q=u.settings.content_editable,n,r,s=u.getDoc(),m;if(!p){if(u.lastIERng){t.setRng(u.lastIERng)}n=t.getRng();if(n.item){r=n.item(0)}u._refreshContentEditable();if(!q){u.getWin().focus()}if(k.isGecko||q){m=u.getBody();if(m.setActive){m.setActive()}else{m.focus()}if(q){t.normalize()}}if(r&&r.ownerDocument==s){n=s.body.createControlRange();n.addElement(r);n.select()}}if(k.activeEditor!=u){if((o=k.activeEditor)!=null){o.onDeactivate.dispatch(o,u)}u.onActivate.dispatch(u,o)}k._setActive(u)},execCallback:function(q){var m=this,p=m.settings[q],o;if(!p){return}if(m.callbackLookup&&(o=m.callbackLookup[q])){p=o.func;o=o.scope}if(d(p,"string")){o=p.replace(/\.\w+$/,"");o=o?k.resolve(o):0;p=k.resolve(p);m.callbackLookup=m.callbackLookup||{};m.callbackLookup[q]={func:p,scope:o}}return p.apply(o||m,Array.prototype.slice.call(arguments,1))},translate:function(m){var o=this.settings.language||"en",n=k.i18n;if(!m){return""}return n[o+"."+m]||m.replace(/\{\#([^\}]+)\}/g,function(q,p){return n[o+"."+p]||"{#"+p+"}"})},getLang:function(o,m){return k.i18n[(this.settings.language||"en")+"."+o]||(d(m)?m:"{#"+o+"}")},getParam:function(t,q,m){var r=k.trim,p=d(this.settings[t])?this.settings[t]:q,s;if(m==="hash"){s={};if(d(p,"string")){i(p.indexOf("=")>0?p.split(/[;,](?![^=;,]*(?:[;,]|$))/):p.split(","),function(n){n=n.split("=");if(n.length>1){s[r(n[0])]=r(n[1])}else{s[r(n[0])]=r(n)}})}else{s=p}return s}return p},nodeChanged:function(q){var m=this,n=m.selection,p;if(m.initialized){q=q||{};p=n.getStart()||m.getBody();p=b&&p.ownerDocument!=m.getDoc()?m.getBody():p;q.parents=[];m.dom.getParent(p,function(o){if(o.nodeName=="BODY"){return true}q.parents.push(o)});m.onNodeChange.dispatch(m,q?q.controlManager||m.controlManager:m.controlManager,p,n.isCollapsed(),q)}},addButton:function(n,o){var m=this;m.buttons=m.buttons||{};m.buttons[n]=o},addCommand:function(m,o,n){this.execCommands[m]={func:o,scope:n||this}},addQueryStateHandler:function(m,o,n){this.queryStateCommands[m]={func:o,scope:n||this}},addQueryValueHandler:function(m,o,n){this.queryValueCommands[m]={func:o,scope:n||this}},addShortcut:function(o,q,m,p){var n=this,r;if(n.settings.custom_shortcuts===false){return false}n.shortcuts=n.shortcuts||{};if(d(m,"string")){r=m;m=function(){n.execCommand(r,false,null)}}if(d(m,"object")){r=m;m=function(){n.execCommand(r[0],r[1],r[2])}}i(g(o),function(s){var t={func:m,scope:p||this,desc:n.translate(q),alt:false,ctrl:false,shift:false};i(g(s,"+"),function(u){switch(u){case"alt":case"ctrl":case"shift":t[u]=true;break;default:t.charCode=u.charCodeAt(0);t.keyCode=u.toUpperCase().charCodeAt(0)}});n.shortcuts[(t.ctrl?"ctrl":"")+","+(t.alt?"alt":"")+","+(t.shift?"shift":"")+","+t.keyCode]=t});return true},execCommand:function(u,r,x,m){var p=this,q=0,v,n;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(u)&&(!m||!m.skip_focus)){p.focus()}m=f({},m);p.onBeforeExecCommand.dispatch(p,u,r,x,m);if(m.terminate){return false}if(p.execCallback("execcommand_callback",p.id,p.selection.getNode(),u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(v=p.execCommands[u]){n=v.func.call(v.scope,r,x);if(n!==true){p.onExecCommand.dispatch(p,u,r,x,m);return n}}i(p.plugins,function(o){if(o.execCommand&&o.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);q=1;return false}});if(q){return true}if(p.theme&&p.theme.execCommand&&p.theme.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(p.editorCommands.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}p.getDoc().execCommand(u,r,x);p.onExecCommand.dispatch(p,u,r,x,m)},queryCommandState:function(q){var n=this,r,p;if(n._isHidden()){return}if(r=n.queryStateCommands[q]){p=r.func.call(r.scope);if(p!==true){return p}}r=n.editorCommands.queryCommandState(q);if(r!==-1){return r}try{return this.getDoc().queryCommandState(q)}catch(m){}},queryCommandValue:function(r){var n=this,q,p;if(n._isHidden()){return}if(q=n.queryValueCommands[r]){p=q.func.call(q.scope);if(p!==true){return p}}q=n.editorCommands.queryCommandValue(r);if(d(q)){return q}try{return this.getDoc().queryCommandValue(r)}catch(m){}},show:function(){var m=this;l.show(m.getContainer());l.hide(m.id);m.load()},hide:function(){var m=this,n=m.getDoc();if(b&&n){n.execCommand("SelectAll")}m.save();setTimeout(function(){l.hide(m.getContainer())},1);l.setStyle(m.id,"display",m.orgDisplay)},isHidden:function(){return !l.isHidden(this.id)},setProgressState:function(m,n,p){this.onSetProgressState.dispatch(this,m,n,p);return m},load:function(q){var m=this,p=m.getElement(),n;if(p){q=q||{};q.load=true;n=m.setContent(d(p.value)?p.value:p.innerHTML,q);q.element=p;if(!q.no_events){m.onLoadContent.dispatch(m,q)}q.element=p=null;return n}},save:function(r){var m=this,q=m.getElement(),n,p;if(!q||!m.initialized){return}r=r||{};r.save=true;r.element=q;n=r.content=m.getContent(r);if(!r.no_events){m.onSaveContent.dispatch(m,r)}n=r.content;if(!/TEXTAREA|INPUT/i.test(q.nodeName)){q.innerHTML=n;if(p=l.getParent(m.id,"form")){i(p.elements,function(o){if(o.name==m.id){o.value=n;return false}})}}else{q.value=n}r.element=q=null;return n},setContent:function(r,p){var o=this,n,m=o.getBody(),q;p=p||{};p.format=p.format||"html";p.set=true;p.content=r;if(!p.no_events){o.onBeforeSetContent.dispatch(o,p)}r=p.content;if(!k.isIE&&(r.length===0||/^\s+$/.test(r))){q=o.settings.forced_root_block;if(q){r="<"+q+'>
    "}else{r='
    '}m.innerHTML=r;o.selection.select(m,true);o.selection.collapse(true);return}if(p.format!=="raw"){r=new k.html.Serializer({},o.schema).serialize(o.parser.parse(r))}p.content=k.trim(r);o.dom.setHTML(m,p.content);if(!p.no_events){o.onSetContent.dispatch(o,p)}if(!o.settings.content_editable||document.activeElement===o.getBody()){o.selection.normalize()}return p.content},getContent:function(o){var n=this,p,m=n.getBody();o=o||{};o.format=o.format||"html";o.get=true;o.getInner=true;if(!o.no_events){n.onBeforeGetContent.dispatch(n,o)}if(o.format=="raw"){p=m.innerHTML}else{if(o.format=="text"){p=m.innerText||m.textContent}else{p=n.serializer.serialize(m,o)}}if(o.format!="text"){o.content=k.trim(p)}else{o.content=p}if(!o.no_events){n.onGetContent.dispatch(n,o)}return o.content},isDirty:function(){var m=this;return k.trim(m.startContent)!=k.trim(m.getContent({format:"raw",no_events:1}))&&!m.isNotDirty},getContainer:function(){var m=this;if(!m.container){m.container=l.get(m.editorContainer||m.id+"_parent")}return m.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return l.get(this.settings.content_element||this.id)},getWin:function(){var m=this,n;if(!m.contentWindow){n=l.get(m.id+"_ifr");if(n){m.contentWindow=n.contentWindow}}return m.contentWindow},getDoc:function(){var m=this,n;if(!m.contentDocument){n=m.getWin();if(n){m.contentDocument=n.document}}return m.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(o,n,q){var m=this,p=m.settings;if(p.urlconverter_callback){return m.execCallback("urlconverter_callback",o,q,true,n)}if(!p.convert_urls||(q&&q.nodeName=="LINK")||o.indexOf("file:")===0){return o}if(p.relative_urls){return m.documentBaseURI.toRelative(o)}o=m.documentBaseURI.toAbsolute(o,p.remove_script_host);return o},addVisual:function(q){var n=this,o=n.settings,p=n.dom,m;q=q||n.getBody();if(!d(n.hasVisual)){n.hasVisual=o.visual}i(p.select("table,a",q),function(s){var r;switch(s.nodeName){case"TABLE":m=o.visual_table_class||"mceItemTable";r=p.getAttrib(s,"border");if(!r||r=="0"){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}return;case"A":if(!p.getAttrib(s,"href",false)){r=p.getAttrib(s,"name")||s.id;m="mceItemAnchor";if(r){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}}return}});n.onVisualAid.dispatch(n,q,n.hasVisual)},remove:function(){var m=this,n=m.getContainer();if(!m.removed){m.removed=1;m.hide();if(!m.settings.content_editable){j.unbind(m.getWin());j.unbind(m.getDoc())}j.unbind(m.getBody());j.clear(n);m.execCallback("remove_instance_callback",m);m.onRemove.dispatch(m);m.onExecCommand.listeners=[];k.remove(m);l.remove(n)}},destroy:function(n){var m=this;if(m.destroyed){return}if(a){j.unbind(m.getDoc());j.unbind(m.getWin());j.unbind(m.getBody())}if(!n){k.removeUnload(m.destroy);tinyMCE.onBeforeUnload.remove(m._beforeUnload);if(m.theme&&m.theme.destroy){m.theme.destroy()}m.controlManager.destroy();m.selection.destroy();m.dom.destroy()}if(m.formElement){m.formElement.submit=m.formElement._mceOldSubmit;m.formElement._mceOldSubmit=null}m.contentAreaContainer=m.formElement=m.container=m.settings.content_element=m.bodyElement=m.contentDocument=m.contentWindow=null;if(m.selection){m.selection=m.selection.win=m.selection.dom=m.selection.dom.doc=null}m.destroyed=1},_refreshContentEditable:function(){var n=this,m,o;if(n._isHidden()){m=n.getBody();o=m.parentNode;o.removeChild(m);o.appendChild(m);m.focus()}},_isHidden:function(){var m;if(!a){return 0}m=this.selection.getSel();return(!m||!m.rangeCount||m.rangeCount===0)}})})(tinymce);(function(a){var b=a.each;a.Editor.prototype.setupEvents=function(){var c=this,d=c.settings;b(["onPreInit","onBeforeRenderUI","onPostRender","onLoad","onInit","onRemove","onActivate","onDeactivate","onClick","onEvent","onMouseUp","onMouseDown","onDblClick","onKeyDown","onKeyUp","onKeyPress","onContextMenu","onSubmit","onReset","onPaste","onPreProcess","onPostProcess","onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent","onLoadContent","onSaveContent","onNodeChange","onChange","onBeforeExecCommand","onExecCommand","onUndo","onRedo","onVisualAid","onSetProgressState","onSetAttrib"],function(e){c[e]=new a.util.Dispatcher(c)});if(d.cleanup_callback){c.onBeforeSetContent.add(function(e,f){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)});c.onPreProcess.add(function(e,f){if(f.set){e.execCallback("cleanup_callback","insert_to_editor_dom",f.node,f)}if(f.get){e.execCallback("cleanup_callback","get_from_editor_dom",f.node,f)}});c.onPostProcess.add(function(e,f){if(f.set){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)}if(f.get){f.content=e.execCallback("cleanup_callback","get_from_editor",f.content,f)}})}if(d.save_callback){c.onGetContent.add(function(e,f){if(f.save){f.content=e.execCallback("save_callback",e.id,f.content,e.getBody())}})}if(d.handle_event_callback){c.onEvent.add(function(f,g,h){if(c.execCallback("handle_event_callback",g,f,h)===false){g.preventDefault();g.stopPropagation()}})}if(d.handle_node_change_callback){c.onNodeChange.add(function(f,e,g){f.execCallback("handle_node_change_callback",f.id,g,-1,-1,true,f.selection.isCollapsed())})}if(d.save_callback){c.onSaveContent.add(function(e,g){var f=e.execCallback("save_callback",e.id,g.content,e.getBody());if(f){g.content=f}})}if(d.onchange_callback){c.onChange.add(function(f,e){f.execCallback("onchange_callback",f,e)})}};a.Editor.prototype.bindNativeEvents=function(){var l=this,f,d=l.settings,e=l.dom,h;h={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"};function c(i,m){var n=i.type;if(l.removed){return}if(l.onEvent.dispatch(l,i,m)!==false){l[h[i.fakeType||i.type]].dispatch(l,i,m)}}function j(i){l.focus(true)}function k(i,m){if(m.keyCode!=65||!a.VK.metaKeyPressed(m)){l.selection.normalize()}l.nodeChanged()}b(h,function(m,n){var i=d.content_editable?l.getBody():l.getDoc();switch(n){case"contextmenu":e.bind(i,n,c);break;case"paste":e.bind(l.getBody(),n,c);break;case"submit":case"reset":e.bind(l.getElement().form||a.DOM.getParent(l.id,"form"),n,c);break;default:e.bind(i,n,c)}});e.bind(d.content_editable?l.getBody():(a.isGecko?l.getDoc():l.getWin()),"focus",function(i){l.focus(true)});if(d.content_editable&&a.isOpera){e.bind(l.getBody(),"click",j);e.bind(l.getBody(),"keydown",j)}l.onMouseUp.add(k);l.onKeyUp.add(function(i,n){var m=n.keyCode;if((m>=33&&m<=36)||(m>=37&&m<=40)||m==13||m==45||m==46||m==8||(a.isMac&&(m==91||m==93))||n.ctrlKey){k(i,n)}});l.onReset.add(function(){l.setContent(l.startContent,{format:"raw"})});function g(m,i){if(m.altKey||m.ctrlKey||m.metaKey){b(l.shortcuts,function(n){var o=a.isMac?m.metaKey:m.ctrlKey;if(n.ctrl!=o||n.alt!=m.altKey||n.shift!=m.shiftKey){return}if(m.keyCode==n.keyCode||(m.charCode&&m.charCode==n.charCode)){m.preventDefault();if(i){n.func.call(n.scope)}return true}})}}l.onKeyUp.add(function(i,m){g(m)});l.onKeyPress.add(function(i,m){g(m)});l.onKeyDown.add(function(i,m){g(m,true)});if(a.isOpera){l.onClick.add(function(i,m){m.preventDefault()})}}})(tinymce);(function(d){var e=d.each,b,a=true,c=false;d.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return c}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return c}function u(v,x){x=x||"exec";e(v,function(z,y){e(y.toLowerCase().split(","),function(A){j[x][A]=z})})}d.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===b){x=c}if(v===b){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:b)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){n.undoManager.add()},"Cut,Copy,Paste":function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(d.isGecko){n.windowManager.confirm(n.getLang("clipboard_msg"),function(A){if(A){open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}})}else{n.windowManager.alert(n.getLang("clipboard_no_support"))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(c)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){var x=v.substring(7);e("left,center,right,full".split(","),function(y){if(x!=y){q.remove("align"+y)}});s("align"+x);r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(y){var v,x;f(y);v=m.getParent(p.getNode(),"ol,ul");if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){s(v)},"ForeColor,HiliteColor,FontName":function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x>=1&&x<=7){A=d.explode(k.font_size_style_values);v=d.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s("blockquote")},FormatBlock:function(y,x,v){return s(v||"p")},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&&v++==x){p.select(A);return c}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.parser;J=new d.html.Serializer({},n.schema);v='\uFEFF';G={content:K,format:"html"};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf("{$caret}")==-1){K+="{$caret}"}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand("Delete",false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr("id")=="mce_marker"){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name==="br");break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&&A.nodeName==="BR")){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=p.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(//i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get("mce_marker");C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h>L.y+L.h||C.yL.x+L.w||C.x")},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand("mceInsertContent",false,v.replace(/\{\$selection\}/g,p.getContent({format:"text"})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)=="string"){x={href:x}}v=m.getParent(p.getNode(),"a");x.href=x.href.replace(" ","%20");if(!v||!x.href){q.remove("link")}if(x.href){q.apply("link",x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();if(p.getRng().setStart){v.setStart(x,0);v.setEnd(x,x.childNodes.length);p.setRng(v)}else{f("SelectAll")}}});u({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(z){var x="align"+z.substring(7);var v=p.isCollapsed()?[m.getParent(p.getNode(),m.isBlock)]:p.getSelectedBlocks();var y=d.map(v,function(A){return !!q.matchNode(A,x)});return d.inArray(y,a)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){return t(v)},mceBlockQuote:function(){return t("blockquote")},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}}return l("InsertUnorderedList")||l("InsertOrderedList")||(!k.inline_styles&&!!m.getParent(p.getNode(),"BLOCKQUOTE"))},"InsertUnorderedList,InsertOrderedList":function(x){var v=m.getParent(p.getNode(),"ul,ol");return v&&(x==="insertunorderedlist"&&v.tagName==="UL"||x==="insertorderedlist"&&v.tagName==="OL")}},"state");u({"FontSize,FontName":function(y){var x=0,v;if(v=m.getParent(p.getNode(),"span")){if(y=="fontsize"){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return x}},"value");u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(h){var l,i=0,e=[],g,k,j,f;function c(){return b.trim(h.getContent({format:"raw",no_events:1}).replace(/]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}function d(){l.typing=false;l.add()}onBeforeAdd=new a(l);k=new a(l);j=new a(l);f=new a(l);k.add(function(m,n){if(m.hasUndo()){return h.onChange.dispatch(h,n,m)}});j.add(function(m,n){return h.onUndo.dispatch(h,n,m)});f.add(function(m,n){return h.onRedo.dispatch(h,n,m)});h.onInit.add(function(){l.add()});h.onBeforeExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.beforeChange()}});h.onExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.add()}});h.onSaveContent.add(d);h.dom.bind(h.dom.getRoot(),"dragend",d);h.dom.bind(h.getDoc(),b.isGecko?"blur":"focusout",function(m){if(!h.removed&&l.typing){d()}});h.onKeyUp.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45||n==13||o.ctrlKey){d()}});h.onKeyDown.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45){if(l.typing){d()}return}if((n<16||n>20)&&n!=224&&n!=91&&!l.typing){l.beforeChange();l.typing=true;l.add()}});h.onMouseDown.add(function(m,n){if(l.typing){d()}});h.addShortcut("ctrl+z","undo_desc","Undo");h.addShortcut("ctrl+y","redo_desc","Redo");l={data:e,typing:false,onBeforeAdd:onBeforeAdd,onAdd:k,onUndo:j,onRedo:f,beforeChange:function(){g=h.selection.getBookmark(2,true)},add:function(p){var m,n=h.settings,o;p=p||{};p.content=c();l.onBeforeAdd.dispatch(l,p);o=e[i];if(o&&o.content==p.content){return null}if(e[i]){e[i].beforeBookmark=g}if(n.custom_undo_redo_levels){if(e.length>n.custom_undo_redo_levels){for(m=0;m0){n=e[--i];h.setContent(n.content,{format:"raw"});h.selection.moveToBookmark(n.beforeBookmark);l.onUndo.dispatch(l,n)}return n},redo:function(){var m;if(i0||this.typing},hasRedo:function(){return i0){g.moveEnd("character",q)}g.select()}catch(n){}}}c.nodeChanged()}}if(b.forced_root_block){c.onKeyUp.add(f);c.onNodeChange.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create("tinymce.ControlManager",{ControlManager:function(f,j){var h=this,g;j=j||{};h.editor=f;h.controls={};h.onAdd=new c.util.Dispatcher(h);h.onPostRender=new c.util.Dispatcher(h);h.prefix=j.prefix||f.id+"_";h._cls={};h.onPostRender.add(function(){d(h.controls,function(i){i.postRender()})})},get:function(f){return this.controls[this.prefix+f]||this.controls[f]},setActive:function(h,f){var g=null;if(g=this.get(h)){g.setActive(f)}return g},setDisabled:function(h,f){var g=null;if(g=this.get(h)){g.setDisabled(f)}return g},add:function(g){var f=this;if(g){f.controls[g.id]=g;f.onAdd.dispatch(g,f)}return g},createControl:function(j){var o,k,g,h=this,m=h.editor,n,f;if(!h.controlFactories){h.controlFactories=[];d(m.plugins,function(i){if(i.createControl){h.controlFactories.push(i)}})}n=h.controlFactories;for(k=0,g=n.length;k1||ag==ay||ag.tagName=="BR"){return ag}}}var aq=aa.selection.getRng();var av=aq.startContainer;var ap=aq.endContainer;if(av!=ap&&aq.endOffset===0){var au=ar(av,ap);var at=au.nodeType==3?au.length:au.childNodes.length;aq.setEnd(au,at)}return aq}function ad(at,ay,aw,av,aq){var ap=[],ar=-1,ax,aA=-1,au=-1,az;T(at.childNodes,function(aC,aB){if(aC.nodeName==="UL"||aC.nodeName==="OL"){ar=aB;ax=aC;return false}});T(at.childNodes,function(aC,aB){if(aC.nodeName==="SPAN"&&c.getAttrib(aC,"data-mce-type")=="bookmark"){if(aC.id==ay.id+"_start"){aA=aB}else{if(aC.id==ay.id+"_end"){au=aB}}}});if(ar<=0||(aAar)){T(a.grep(at.childNodes),aq);return 0}else{az=c.clone(aw,X);T(a.grep(at.childNodes),function(aC,aB){if((aAar&&aB>ar)){ap.push(aC);aC.parentNode.removeChild(aC)}});if(aAar){at.insertBefore(az,ax.nextSibling)}}av.push(az);T(ap,function(aB){az.appendChild(aB)});return az}}function an(aq,at,aw){var ap=[],av,ar,au=true;av=am.inline||am.block;ar=c.create(av);ab(ar);N.walk(aq,function(ax){var ay;function az(aA){var aF,aD,aB,aC,aE;aE=au;aF=aA.nodeName.toLowerCase();aD=aA.parentNode.nodeName.toLowerCase();if(aA.nodeType===1&&x(aA)){aE=au;au=x(aA)==="true";aC=true}if(g(aF,"br")){ay=0;if(am.block){c.remove(aA)}return}if(am.wrapper&&y(aA,ae,al)){ay=0;return}if(au&&!aC&&am.block&&!am.wrapper&&I(aF)){aA=c.rename(aA,av);ab(aA);ap.push(aA);ay=0;return}if(am.selector){T(ah,function(aG){if("collapsed" in aG&&aG.collapsed!==ai){return}if(c.is(aA,aG.selector)&&!b(aA)){ab(aA,aG);aB=true}});if(!am.inline||aB){ay=0;return}}if(au&&!aC&&d(av,aF)&&d(aD,av)&&!(!aw&&aA.nodeType===3&&aA.nodeValue.length===1&&aA.nodeValue.charCodeAt(0)===65279)&&!b(aA)){if(!ay){ay=c.clone(ar,X);aA.parentNode.insertBefore(ay,aA);ap.push(ay)}ay.appendChild(aA)}else{if(aF=="li"&&at){ay=ad(aA,at,ar,ap,az)}else{ay=0;T(a.grep(aA.childNodes),az);if(aC){au=aE}ay=0}}}T(ax,az)});if(am.wrap_links===false){T(ap,function(ax){function ay(aC){var aB,aA,az;if(aC.nodeName==="A"){aA=c.clone(ar,X);ap.push(aA);az=a.grep(aC.childNodes);for(aB=0;aB1||!H(az))&&ax===0){c.remove(az,1);return}if(am.inline||am.wrapper){if(!am.exact&&ax===1){az=ay(az)}T(ah,function(aB){T(c.select(aB.inline,az),function(aD){var aC;if(aB.wrap_links===false){aC=aD.parentNode;do{if(aC.nodeName==="A"){return}}while(aC=aC.parentNode)}Z(aB,al,aD,aB.exact?aD:null)})});if(y(az.parentNode,ae,al)){c.remove(az,1);az=0;return C}if(am.merge_with_parents){c.getParent(az.parentNode,function(aB){if(y(aB,ae,al)){c.remove(az,1);az=0;return C}})}if(az&&am.merge_siblings!==false){az=u(E(az),az);az=u(az,E(az,C))}}})}if(am){if(ag){if(ag.nodeType){ac=c.createRng();ac.setStartBefore(ag);ac.setEndAfter(ag);an(p(ac,ah),null,true)}else{an(ag,null,true)}}else{if(!ai||!am.inline||c.select("td.mceSelected,th.mceSelected").length){var ao=aa.selection.getNode();if(!m&&ah[0].defaultBlock&&!c.getParent(ao,c.isBlock)){Y(ah[0].defaultBlock)}aa.selection.setRng(af());ak=r.getBookmark();an(p(r.getRng(C),ah),ak);if(am.styles&&(am.styles.color||am.styles.textDecoration)){a.walk(ao,L,"childNodes");L(ao)}r.moveToBookmark(ak);R(r.getRng(C));aa.nodeChanged()}else{U("apply",ae,al)}}}}function B(ad,am,af){var ag=V(ad),ao=ag[0],ak,aj,ac,al=true;function ae(av){var au,at,ar,aq,ax,aw;if(av.nodeType===1&&x(av)){ax=al;al=x(av)==="true";aw=true}au=a.grep(av.childNodes);if(al&&!aw){for(at=0,ar=ag.length;at=0;ac--){ab=ah[ac].selector;if(!ab){return C}for(ag=ad.length-1;ag>=0;ag--){if(c.is(ad[ag],ab)){return C}}}}return X}function J(ab,ae,ac){var ad;if(!P){P={};ad={};aa.onNodeChange.addToTop(function(ag,af,ai){var ah=n(ai),aj={};T(P,function(ak,al){T(ah,function(am){if(y(am,al,{},ak.similar)){if(!ad[al]){T(ak,function(an){an(true,{node:am,format:al,parents:ah})});ad[al]=ak}aj[al]=ak;return false}})});T(ad,function(ak,al){if(!aj[al]){delete ad[al];T(ak,function(am){am(false,{node:ai,format:al,parents:ah})})}})})}T(ab.split(","),function(af){if(!P[af]){P[af]=[];P[af].similar=ac}P[af].push(ae)});return this}a.extend(this,{get:V,register:l,apply:Y,remove:B,toggle:F,match:k,matchAll:v,matchNode:y,canApply:z,formatChanged:J});j();W();function h(ab,ac){if(g(ab,ac.inline)){return C}if(g(ab,ac.block)){return C}if(ac.selector){return c.is(ab,ac.selector)}}function g(ac,ab){ac=ac||"";ab=ab||"";ac=""+(ac.nodeName||ac);ab=""+(ab.nodeName||ab);return ac.toLowerCase()==ab.toLowerCase()}function O(ac,ab){var ad=c.getStyle(ac,ab);if(ab=="color"||ab=="backgroundColor"){ad=c.toHex(ad)}if(ab=="fontWeight"&&ad==700){ad="bold"}return""+ad}function q(ab,ac){if(typeof(ab)!="string"){ab=ab(ac)}else{if(ac){ab=ab.replace(/%(\w+)/g,function(ae,ad){return ac[ad]||ae})}}return ab}function f(ab){return ab&&ab.nodeType===3&&/^([\t \r\n]+|)$/.test(ab.nodeValue)}function S(ad,ac,ab){var ae=c.create(ac,ab);ad.parentNode.insertBefore(ae,ad);ae.appendChild(ad);return ae}function p(ab,am,ae){var ap,an,ah,al,ad=ab.startContainer,ai=ab.startOffset,ar=ab.endContainer,ak=ab.endOffset;function ao(aA){var au,ax,az,aw,av,at;au=ax=aA?ad:ar;av=aA?"previousSibling":"nextSibling";at=c.getRoot();function ay(aB){return aB.nodeName=="BR"&&aB.getAttribute("data-mce-bogus")&&!aB.nextSibling}if(au.nodeType==3&&!f(au)){if(aA?ai>0:akan?an:ai];if(ad.nodeType==3){ai=0}}if(ar.nodeType==1&&ar.hasChildNodes()){an=ar.childNodes.length-1;ar=ar.childNodes[ak>an?an:ak-1];if(ar.nodeType==3){ak=ar.nodeValue.length}}function aq(au){var at=au;while(at){if(at.nodeType===1&&x(at)){return x(at)==="false"?at:au}at=at.parentNode}return au}function aj(au,ay,aA){var ax,av,az,at;function aw(aC,aE){var aF,aB,aD=aC.nodeValue;if(typeof(aE)=="undefined"){aE=aA?aD.length:0}if(aA){aF=aD.lastIndexOf(" ",aE);aB=aD.lastIndexOf("\u00a0",aE);aF=aF>aB?aF:aB;if(aF!==-1&&!ae){aF++}}else{aF=aD.indexOf(" ",aE);aB=aD.indexOf("\u00a0",aE);aF=aF!==-1&&(aB===-1||aF0&&ah.node.nodeType===3&&ah.node.nodeValue.charAt(ah.offset-1)===" "){if(ah.offset>1){ar=ah.node;ar.splitText(ah.offset-1)}}}}if(am[0].inline||am[0].block_expand){if(!am[0].inline||(ad.nodeType!=3||ai===0)){ad=ao(true)}if(!am[0].inline||(ar.nodeType!=3||ak===ar.nodeValue.length)){ar=ao()}}if(am[0].selector&&am[0].expand!==X&&!am[0].inline){ad=af(ad,"previousSibling");ar=af(ar,"nextSibling")}if(am[0].block||am[0].selector){ad=ac(ad,"previousSibling");ar=ac(ar,"nextSibling");if(am[0].block){if(!H(ad)){ad=ao(true)}if(!H(ar)){ar=ao()}}}if(ad.nodeType==1){ai=s(ad);ad=ad.parentNode}if(ar.nodeType==1){ak=s(ar)+1;ar=ar.parentNode}return{startContainer:ad,startOffset:ai,endContainer:ar,endOffset:ak}}function Z(ah,ag,ae,ab){var ad,ac,af;if(!h(ae,ah)){return X}if(ah.remove!="all"){T(ah.styles,function(aj,ai){aj=q(aj,ag);if(typeof(ai)==="number"){ai=aj;ab=0}if(!ab||g(O(ab,ai),aj)){c.setStyle(ae,ai,"")}af=1});if(af&&c.getAttrib(ae,"style")==""){ae.removeAttribute("style");ae.removeAttribute("data-mce-style")}T(ah.attributes,function(ak,ai){var aj;ak=q(ak,ag);if(typeof(ai)==="number"){ai=ak;ab=0}if(!ab||g(c.getAttrib(ab,ai),ak)){if(ai=="class"){ak=c.getAttrib(ae,ai);if(ak){aj="";T(ak.split(/\s+/),function(al){if(/mce\w+/.test(al)){aj+=(aj?" ":"")+al}});if(aj){c.setAttrib(ae,ai,aj);return}}}if(ai=="class"){ae.removeAttribute("className")}if(e.test(ai)){ae.removeAttribute("data-mce-"+ai)}ae.removeAttribute(ai)}});T(ah.classes,function(ai){ai=q(ai,ag);if(!ab||c.hasClass(ab,ai)){c.removeClass(ae,ai)}});ac=c.getAttribs(ae);for(ad=0;adad?ad:af]}if(ab.nodeType===3&&ag&&af>=ab.nodeValue.length){ab=new t(ab,aa.getBody()).next()||ab}if(ab.nodeType===3&&!ag&&af===0){ab=new t(ab,aa.getBody()).prev()||ab}return ab}function U(ak,ab,ai){var al="_mce_caret",ac=aa.settings.caret_debug;function ad(ap){var ao=c.create("span",{id:al,"data-mce-bogus":true,style:ac?"color:red":""});if(ap){ao.appendChild(aa.getDoc().createTextNode(G))}return ao}function aj(ap,ao){while(ap){if((ap.nodeType===3&&ap.nodeValue!==G)||ap.childNodes.length>1){return false}if(ao&&ap.nodeType===1){ao.push(ap)}ap=ap.firstChild}return true}function ag(ao){while(ao){if(ao.id===al){return ao}ao=ao.parentNode}}function af(ao){var ap;if(ao){ap=new t(ao,ao);for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType===3){return ao}}}}function ae(aq,ap){var ar,ao;if(!aq){aq=ag(r.getStart());if(!aq){while(aq=c.get(al)){ae(aq,false)}}}else{ao=r.getRng(true);if(aj(aq)){if(ap!==false){ao.setStartBefore(aq);ao.setEndBefore(aq)}c.remove(aq)}else{ar=af(aq);if(ar.nodeValue.charAt(0)===G){ar=ar.deleteData(0,1)}c.remove(aq,1)}r.setRng(ao)}}function ah(){var aq,ao,av,au,ar,ap,at;aq=r.getRng(true);au=aq.startOffset;ap=aq.startContainer;at=ap.nodeValue;ao=ag(r.getStart());if(ao){av=af(ao)}if(at&&au>0&&au=0;at--){aq.appendChild(c.clone(ax[at],false));aq=aq.firstChild}aq.appendChild(c.doc.createTextNode(G));aq=aq.firstChild;c.insertAfter(aw,ay);r.setCursorLocation(aq,1)}}function an(){var ap,ao,aq;ao=ag(r.getStart());if(ao&&!c.isEmpty(ao)){a.walk(ao,function(ar){if(ar.nodeType==1&&ar.id!==al&&!c.isEmpty(ar)){c.setAttrib(ar,"data-mce-bogus",null)}},"childNodes")}}if(!self._hasCaretEvents){aa.onBeforeGetContent.addToTop(function(){var ao=[],ap;if(aj(ag(r.getStart()),ao)){ap=ao.length;while(ap--){c.setAttrib(ao[ap],"data-mce-bogus","1")}}});a.each("onMouseUp onKeyUp".split(" "),function(ao){aa[ao].addToTop(function(){ae();an()})});aa.onKeyDown.addToTop(function(ao,aq){var ap=aq.keyCode;if(ap==8||ap==37||ap==39){ae(ag(r.getStart()))}an()});r.onSetContent.add(an);self._hasCaretEvents=true}if(ak=="apply"){ah()}else{am()}}function R(ac){var ab=ac.startContainer,ai=ac.startOffset,ae,ah,ag,ad,af;if(ab.nodeType==3&&ai>=ab.nodeValue.length){ai=s(ab);ab=ab.parentNode;ae=true}if(ab.nodeType==1){ad=ab.childNodes;ab=ad[Math.min(ai,ad.length-1)];ah=new t(ab,c.getParent(ab,c.isBlock));if(ai>ad.length-1||ae){ah.next()}for(ag=ah.current();ag;ag=ah.next()){if(ag.nodeType==3&&!f(ag)){af=c.create("a",null,G);ag.parentNode.insertBefore(af,ag);ac.setStart(ag,0);r.setRng(ac);c.remove(af);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,"span")}function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select("font,u,strike",j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}if(c.inline_styles){h=e.explode(c.font_size_legacy_values);d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size,10)-1]})},u:function(j,i){b(i,{textDecoration:"underline"})},strike:function(j,i){b(i,{textDecoration:"line-through"})}};a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}});(function(b){var a=b.dom.TreeWalker;b.EnterKey=function(f){var i=f.dom,e=f.selection,d=f.settings,h=f.undoManager,c=f.schema.getNonEmptyElements();function g(A){var v=e.getRng(true),G,j,z,u,p,M,B,o,k,n,t,J,x,C;function E(N){return N&&i.isBlock(N)&&!/^(TD|TH|CAPTION|FORM)$/.test(N.nodeName)&&!/^(fixed|absolute)/i.test(N.style.position)&&i.getContentEditable(N)!=="true"}function F(O){var N;if(b.isIE&&i.isBlock(O)){N=e.getRng();O.appendChild(i.create("span",null,"\u00a0"));e.select(O);O.lastChild.outerHTML="";e.setRng(N)}}function y(P){var O=P,Q=[],N;while(O=O.firstChild){if(i.isBlock(O)){return}if(O.nodeType==1&&!c[O.nodeName.toLowerCase()]){Q.push(O)}}N=Q.length;while(N--){O=Q[N];if(!O.hasChildNodes()||(O.firstChild==O.lastChild&&O.firstChild.nodeValue==="")){i.remove(O)}else{if(O.nodeName=="A"&&(O.innerText||O.textContent)===" "){i.remove(O)}}}}function m(O){var T,R,N,U,S,Q=O,P;N=i.createRng();if(O.hasChildNodes()){T=new a(O,O);while(R=T.current()){if(R.nodeType==3){N.setStart(R,0);N.setEnd(R,0);break}if(c[R.nodeName.toLowerCase()]){N.setStartBefore(R);N.setEndBefore(R);break}Q=R;R=T.next()}if(!R){N.setStart(Q,0);N.setEnd(Q,0)}}else{if(O.nodeName=="BR"){if(O.nextSibling&&i.isBlock(O.nextSibling)){if(!M||M<9){P=i.create("br");O.parentNode.insertBefore(P,O)}N.setStartBefore(O);N.setEndBefore(O)}else{N.setStartAfter(O);N.setEndAfter(O)}}else{N.setStart(O,0);N.setEnd(O,0)}}e.setRng(N);i.remove(P);S=i.getViewPort(f.getWin());U=i.getPos(O).y;if(US.y+S.h){f.getWin().scrollTo(0,U'}return R}function q(Q){var P,O,N;if(z.nodeType==3&&(Q?u>0:u=z.nodeValue.length){if(!b.isIE&&!D()){O=i.create("br");v.insertNode(O);v.setStartAfter(O);v.setEndAfter(O);N=true}}O=i.create("br");v.insertNode(O);if(b.isIE&&t=="PRE"&&(!M||M<8)){O.parentNode.insertBefore(i.doc.createTextNode("\r"),O)}if(!N){v.setStartAfter(O);v.setEndAfter(O)}else{v.setStartBefore(O);v.setEndBefore(O)}e.setRng(v);h.add()}function s(N){do{if(N.nodeType===3){N.nodeValue=N.nodeValue.replace(/^[\r\n]+/,"")}N=N.firstChild}while(N)}function K(P){var N=i.getRoot(),O,Q;O=P;while(O!==N&&i.getContentEditable(O)!=="false"){if(i.getContentEditable(O)==="true"){Q=O}O=O.parentNode}return O!==N?Q:N}function I(O){var N;if(!b.isIE){O.normalize();N=O.lastChild;if(!N||(/^(left|right)$/gi.test(i.getStyle(N,"float",true)))){i.add(O,"br")}}}if(!v.collapsed){f.execCommand("Delete");return}if(A.isDefaultPrevented()){return}z=v.startContainer;u=v.startOffset;x=(d.force_p_newlines?"p":"")||d.forced_root_block;x=x?x.toUpperCase():"";M=i.doc.documentMode;B=A.shiftKey;if(z.nodeType==1&&z.hasChildNodes()){C=u>z.childNodes.length-1;z=z.childNodes[Math.min(u,z.childNodes.length-1)]||z;if(C&&z.nodeType==3){u=z.nodeValue.length}else{u=0}}j=K(z);if(!j){return}h.beforeChange();if(!i.isBlock(j)&&j!=i.getRoot()){if(!x||B){L()}return}if((x&&!B)||(!x&&B)){z=l(z,u)}p=i.getParent(z,i.isBlock);n=p?i.getParent(p.parentNode,i.isBlock):null;t=p?p.nodeName.toUpperCase():"";J=n?n.nodeName.toUpperCase():"";if(J=="LI"&&!A.ctrlKey){p=n;t=J}if(t=="LI"){if(!x&&B){L();return}if(i.isEmpty(p)){if(/^(UL|OL|LI)$/.test(n.parentNode.nodeName)){return false}H();return}}if(t=="PRE"&&d.br_in_pre!==false){if(!B){L();return}}else{if((!x&&!B&&t!="LI")||(x&&B)){L();return}}x=x||"P";if(q()){if(/^(H[1-6]|PRE)$/.test(t)&&J!="HGROUP"){o=r(x)}else{o=r()}if(d.end_container_on_empty_block&&E(n)&&i.isEmpty(p)){o=i.split(n,p)}else{i.insertAfter(o,p)}m(o)}else{if(q(true)){o=p.parentNode.insertBefore(r(),p);F(o)}else{G=v.cloneRange();G.setEndAfter(p);k=G.extractContents();s(k);o=k.firstChild;i.insertAfter(k,p);y(o);I(p);m(o)}}i.setAttrib(o,"id","");h.add()}f.onKeyDown.add(function(k,j){if(j.keyCode==13){if(g(j)!==false){j.preventDefault()}}})}})(tinymce); \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js new file mode 100755 index 00000000..bb8e58c8 --- /dev/null +++ b/mayor-orig/www/skin/classic/share/javascript/tiny_mce/tiny_mce_popup.js @@ -0,0 +1,5 @@ + +// Uncomment and change this document.domain value if you are loading the script cross subdomains +// document.domain = 'moxiecode.com'; + +var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document,{ownEvents:true,proxy:tinyMCEPopup._eventProxy});b.dom.bind(window,"ready",b._onDOMLoaded,b);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write(''; + } + + if (__GOOGLEAPI_ENABLED===true && defined('__GOOGLEAPI_CLIENT_ID')) { + echo ''; + echo ''; + echo ''; + } + + if (_OG_ENABLED!==true) return; + if ($page=='portal') { + $_url .= _BASE_URL."/index.php?page=$page&sub=$sub&f=$f&".$OG['getparameter']; + $_img = ($OG['image']!='') ? $OG['image']:_OG_IMAGE; + echo ''."\n"; +// echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + } +} + +function includeCSS($page,$sub,$f,$skin,$media='') { + + echo ''; // minden mediara, colorscheme-re + echo ''; +// echo ''; + + if ($media!='') { + $MEDIA='-'.$media; + $MEDIA_STR = 'media="'.$media.'" '; + } else { + $MEDIA=''; + $MEDIA_STR = 'media="screen,print" '; + } + if (file_exists(($_f="skin/$skin/base/css$MEDIA/base.php")) ) { + echo ''; + echo "\n"; + } elseif (file_exists(($_f="skin/$skin/base/css$MEDIA/base.css")) ) { + echo ''; + echo "\n"; + } elseif ($media=='') { + echo ''; + echo "\n"; + } + if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$page.css")) ) { + echo ''; + echo "\n"; + } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$page.css")) && $media=='') { + echo ''; + echo "\n"; + } + if ($sub!='') { + if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$sub/base.css")) ) { + echo ''; + echo "\n"; + } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$sub/base.css")) && $media=='') { + echo ''; + echo "\n"; + } + if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$sub/$f.css")) ) { + echo ''; + echo "\n"; + } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$sub/$f.css")) && $media=='') { + echo ''; + echo "\n"; + } + } else { + if (file_exists(($_f="skin/$skin/module-$page/css$MEDIA/$f.css")) ) { + echo ''; + echo "\n"; + } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/css/$f.css")) && $media=='') { + echo ''; + echo "\n"; + } + } + + + global $VALID_MODULES; + for($i=0; $i'."\n"; + } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$mod/css$MEDIA/$mod.css")) ) { + echo ''."\n"; + } + } + } + + + +} + +function includeJS($page,$sub,$f,$skin) { + $js = '.'._JSLIB.'.js'; +// echo ''."\n"; + echo ''."\n"; +// echo ''."\n"; +// echo ''."\n"; + + if (_ENABLE_IFRAME_EMBEDDING !== true) + echo ''; + + if (file_exists(($_f="skin/$skin/base/javascript/base".$js)) ) { + echo ''."\n"; + } elseif (file_exists(($_f='skin/'._DEFAULT_SKIN.'/base/javascript/base'.$js)) ) { + echo ''."\n"; + } + + if ( file_exists(($_f="skin/$skin/module-$page/javascript/$page".$js)) ) { + echo ''."\n"; + } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$page".$js)) ) { + echo ''."\n"; + } + if ($sub!='') { + if ( file_exists(($_f="skin/$skin/module-$page/javascript/$sub/$f".$js)) ) { + echo ''."\n"; + } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$sub/$f".$js)) ) { + echo ''."\n"; + } + } elseif ($f != $page) { + if ( file_exists(($_f="skin/$skin/module-$page/javascript/$f".$js)) ) { + echo ''."\n"; + } elseif ( file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$page/javascript/$f".$js)) ) { + echo ''."\n"; + } + } + if (__RICH_TEXT_EDITOR===true && $f == 'egyhir') { + // Koschtit Image Gallery + if ($page == 'portal') { + //require_once('skin/classic/share/javascript/koschtit/ki_include.php'); + echo ''; + } + echo ' + + '; + } + + // if (file_exists(($_f="skin/$skin/base/javascript/jstorage.min.js")) ) { + // echo ''."\n"; + // } + // if (file_exists(($_f="skin/$skin/base/javascript/json2.min.js")) ) { + // echo ''."\n"; + // } + + // becsatoljuk a többi modul main .js filejait is + global $VALID_MODULES; + for($i=0; $i'."\n"; + } elseif (file_exists(($_f="skin/"._DEFAULT_SKIN."/module-$mod/javascript/$mod".$js)) ) { + echo ''."\n"; + } + } + } + +} + +// ------------------------------------------------------------------- +// ajaxUpdaterForm +// ------------------------------------------------------------------- + + +function ajaxUpdaterForm($id, $url, $params, $method, $forEcho=false) { + global $skin; + + $t = '
    '."\n"; + if ($_SESSION['mayorToken']!='') $t .= ''; + foreach ($params as $name => $value) $t .= ''."\n"; + $t .= '
    '; + if ($forEcho) return $t; + else echo $t; + +} + +/* + + + + %attrs : id, class + +*/ + + /* For XSRF hardening */ + function formBegin($SET=array('method'=>'post','action'=>''),$SET2=array('print'=>true, 'skipFormTag'=>false)) { + + global $skin; + if ($skin != 'ajax') { + /* Default */ + if ($SET['method']=='') $SET['method'] = 'post'; + + foreach (array('method','action') as $key) { /* Kötelező paraméterek */ + $formParams .= $key.'="'.$SET[$key].'" '; + } + foreach (array('id','class','name','onsubmit', 'enctype','target','style') as $key) { /* Lehetséges megengedett argumentumok */ + if ($SET[$key]!='') $formParams .= $key.'="'.$SET[$key].'" '; + } + $str = ''."\n"; + if ('skipFormTag' !== true) $str .= '
    '; + } + $str .= ''; + if ($_SESSION['mayorToken']!='') $str .= ''; + + if ($SET2['print']===true) echo $str; else return $str; + + } + + function formEnd($SET2=array('print'=>true)) { + global $skin; + if ($skin != 'ajax') { + $str = '
    '; + $str .= ''; + } + if ($SET2['print']===true) echo $str; else return $str; + } + + + +// --------------- + + + + + + + +// ------------------------------------------------------------------- +// debug_layer() : debug üzenetek kiiratása +// ------------------------------------------------------------------- + + function _debugLayer() { + global $_DEBUG; + echo ''."\n".''."\n".''; + echo ''; + } + + function _keyHelp() { + $keys = array( + array('Shift-L','Login/Logout - Belépés/Kilépés'), + array('Shift-F','Find - Keresés a menüben'), + array('Shift-S','Settings - Beállítások'), + array('Shift-D','Debug - Nyomkövetési üzenetek megjelnítése/elrejtése'), + array('Ctrl-Shift-V','Vakbarát nézet'), + array('F1','Help - Súgó'), + ); + echo ''; + echo ''; + foreach ($keys as $keyAdat) { + echo ''; + } + echo ''; + } + + function _searchLayer() { + echo ''; + } + + + function _httpheader() { + @header("Last-Modified: Mon, 20 Oct 2003 01:01:01 GMT"); + @header("Cache-Control: no-store, no-cache, must-revalidate"); + @header("Cache-Control: post-check=0, pre-check=0", false); + @header("Pragma: no-cache"); + } + function _updateWindow() { + echo ''; + echo ''; + } + + function _svgClose($SET=array('size'=>24,'print'=>true)) { + $size = isset($SET['size'])?$SET['size']:24; //128 volt eredetileg + $print = isset($SET['print'])?$SET['print']:true; + + $str .= '
    '; + + $str .= ' +x + + + +'; + + $str .= '
    '; + $str .= '
    '; + + if ($print===true) echo $str; else return $str; + } + + function _svgLoginout($SET=array('print'=>true, 'color'=>'#00c0ff')) { + return false; + global $page; + if (//_POLICY=='public' + defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='')) { + if($page=='auth') $_bg = 'rgb(247, 197, 14)'; + elseif (isset($SET['color'])) $_bg = $SET['color']; + else $_bg = '#00c0ff'; + $img .= ''; + } else { + //$_bg = '#Ff0066'; // (piros) #3496b9 + //$_bg = 'rgb(52, 150, 185)'; + $img .= ''; + } + if ($print===true) echo $img; else return $img; + + } + + function _svgDown($SET=array('print'=>true, 'color' => '#3496b9')) { + + return ''; + + } + + function _inlineHelp($txt) { + echo '
    '; + //echo '?'; + echo ''; + echo ''; + echo '
    '; + } + + function mayorGlobalLogin($loggedIn=false) { + global $AUTH; + if (is_array($AUTH['private']['allowOnly'])) $_class='class="restricted"'; else $_class = ''; + + echo '
    '; + + if ($loggedIn) { + if (defined('_MAYORAUTHRESULT') && defined('_AUTH_FAILURE') && intval(_MAYORAUTHRESULT)>=intval(_AUTH_FAILURE)) { + $_class=' failed'; + //$_focus = ' id="focus" '; // ha azt akarjuk, hogy focus-t is kapjon... + } + $secure_url = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; + echo '
    '; + formBegin(array('class'=>'check passwordAuth','action'=>$secure_url)); + echo ''; + echo ''; + echo '
    '; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + formEnd(); + echo '
    '; + if (__GOOGLEAPI_ENABLED===true) { + formBegin(array('class'=>'googleapi','action'=>$secure_url)); + echo ''; + echo ''; + formEnd(); + } + echo ''; + if (__FBCONNECT_ENABLED===true) { + formBegin(array('class'=>'fb','action'=>$secure_url)); + echo ''; + echo ''; + //echo ''; + formEnd(); + } + echo '
    '; + } else { + echo '
    '; + } + echo '
    '; + + } + + function _updateWindowSide() { + echo '
    '; + echo '

    '; + echo '
    '; + echo '
    '; + echo '
    '."\n"; + + echo '
    '; + echo '

    '; + echo '
    '; + echo '
    '; + echo '
    '."\n"; + } + +function mayorLogoSvg($colors=array()) { + + if ($colors['dot'] =='') $colors['dot'] = '#ff0066'; + if ($colors['startColor'] =='') $colors['startColor'] = '#00c0ff'; + if ($colors['stopColor'] =='') $colors['stopColor'] = '#8800aa'; + +echo ' + + + + + + + + + image/svg+xml + + background + + + + Layer 1 + + + + + + + + + + +'; +} + +?> \ No newline at end of file diff --git a/mayor-orig/www/skin/gray/base/css/base.css b/mayor-orig/www/skin/gray/base/css/base.css new file mode 100644 index 00000000..2f645201 --- /dev/null +++ b/mayor-orig/www/skin/gray/base/css/base.css @@ -0,0 +1,678 @@ +@media screen { + + html { + height: 100%; + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + filter: grayscale(100%); +/* this breaks firefox */ + } + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; } + a { text-decoration:none; } + .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; } + + /* mayorlayers */ + #debug { + padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid; + position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px; + } + #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;} + + #help { + border-radius: 2px; + box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0); + position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px; + border: 1px solid #888888; background: white; } + #help iframe { width: 1000px; height: 558px; margin: 0; border: none; } + #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px; + border-bottom: #f3f3f3 solid 4px; + } + #hideHelp { + position: absolute; top:4px; right: 4px; + cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px; + border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); +/* box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);*/ + } + #hideHelp:hover { background-color:red;} + + div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 0px 0px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: rgb(21,71,123); } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; color: rgba(0,0,0,0.8); } + + div#mayorErrorSmall span { padding:4px 4px;} + div#mayorErrorSmall span.errorMsg { color:red; } + div#mayorErrorSmall span.infoMsg { color:rgb(21,71,123); } + + #mayorSearch { + z-index:4; + position: fixed; + width: 500px; + max-height: 500px; overflow:auto; + padding: 10px; + border: 5px solid #ccc; + border-radius: 2px; + background-color: #fff; + top: 30%; + left: 50%; + margin-top: -100px; + margin-left: -250px; + box-shadow: 0px 1px 100px 30px rgba(101,101,101,0.9); + } + #mayorSearch input { + font-size:30px; + width:99%; + height:50px; + padding:0px 0px 0px 0px; + margin:0px; + border: solid 1px #dddddd; + } + + #mayorSearch a { display: block; color: cornflowerblue; padding: 2px; } + #mayorSearch a:before { content:' \25AB '; } + #mayorSearch a:hover { text-decoration: underline; } + #mayorSearch a.aktiv { outline: solid 2px cornflower; } + #mayorSearch a.aktiv:before, #mayorSearch a:hover:before { content:' \25AA '; } + + div.inlinehelp { position: relative; display: inline-block; color:#446688; } +/* div.inlinehelp span.onClickHideShow { padding: 1px 6px; border-radius: 14px; border: #68a solid 1px; color: #468; font-weight: bold; font-size: 10px;}*/ + div.inlinehelp span.onClickHideShow { font-size: 10px; color: #446688;} + div.inlinehelp p { + width: 200px; position: absolute; display: inline-block; top: -15px; left: 35px; z-index: 1000; + background-color: #ffa; + border: solid 1px #888; padding: 4px; border-radius: 2px; + font-weight: normal; text-align: left; white-space: pre-wrap; + } + div.inlinehelp span.onClickHideShow:hover { color: rgb(106,128,250); } + + /* mayorhead */ + /* placeholder */ + #head { z-index: 2; position: absolute; width: 100%; height: 60px; + background-color: #3496B9; + } + + #mayorhead { } + + #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; } + #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; } + + #nav, #nav ul { list-style: none; } + #nav { z-index: 3; margin: 0px; + padding-left: 140px; + } + + #nav li { position: relative; } + #nav > li { float: left; z-index: 20; text-align: center; padding: 0; +/* background-color: #3fa79c; */ + background-color: #3496B9; + border-bottom: 0px solid #D2DFE9; + /* border-bottom: 1px solid rgb(165,190,200);/* */ + } + #nav > li.active { max-width: 160px; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7; + background-color: #3FA79C; + } + #nav li.active { background: #3facc7; } + + #nav li a { display: block; padding: 3px 10px; color: white; } + #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 70px; + -webkit-transition: all 0.1s ease; + transition: all 0.1s ease; + } + #nav li a:hover { color: orange; } + #nav li:hover > ul { display: block; } + + #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; } + #nav ul.sub { background: #3facc7; } + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } + + #nav > li > ul { top: 60px; border-top: solid 4px rgba(255,255,255,0.4); } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */ + + #nav li.start { /* fogó */ + height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px; + margin-top:20px; + background-color:lightgrey; + border-radius: 0px 50px 50px 0px; border-bottom: 0px; + z-index: 20; + } + + #nav:hover li.start { + animation: moIn 0.1s; -webkit-animation: moIn 0.1s; + } + + #nav li.start:hover { + background: #D2DFE9; + padding-left:9px; + } + + #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; + height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); + border-top: rgb(247, 197, 14) solid 4px; + animation-name: niceMaYoR; + animation-duration: 30s; + animation-iteration-count: 4; + animation-direction: alternate; + animation-timing-function: ease-in-out; + animation-delay: 60s; + } + + #poz > li { padding: 2px 6px; } + #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; } + #poz > li div.nev span { color:rgb(70, 130, 180); margin-right: 0px; } + #poz > li div.nev span:hover { color:#00c0ff; } + #poz > li div.nev a { color: #3496b9;} + + #poz > li a { margin-right:4px; margin-left:4px; padding:0px; margin-top:0px; vertical-align: top;} + + #settings { + width: 100%; + margin-top: 5px; position:relative; right: 0px; + background: #eeeeee; + border-width: 0px 1px 1px 1px; + border-style: solid; + border-color: rgb(230,230,230); + border-top: dotted 1px #dddddd; + } + #settings div { + padding: 20px 10px; + border-bottom: 1px solid rgb(230,230,230); + } + #settings div p { margin: 0; padding: 0; text-align: center; } + #settings div p.name { font-weight: bold; } + #settings table { width: 100%; background: rgb(245,245,245);} + #settings table:hover { box-shadow: 0px 0px 100px #eeeeee;} + #settings td { width: 50%; text-align: center; padding: 10px; } + #settings td a { + display: inline-block; + vertical-align: baseline; line-height: 29px; + position: static; + padding: 0px 8px; height: 29px; margin: 0px 8px; + text-align: center; text-decoration: none; font-weight: bold; font-size: 10px; + background: white; color: #444; + border: solid 1px rgba(0, 0, 0, 0.0976563); + border-radius: 2px; + } + #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; } + + #poz > li span.school { + font-variant: small-caps; + font-size: 14px; + color: rgb(125,150,160); + /* font-weight: bold; */ + letter-spacing: 0.32em; + overflow: hidden; + white-space:nowrap; + } + #poz > li span.school:hover { text-shadow: 0 0 0.2em #eee, 0 0 0.2em #eee } + + #nav1 { z-index: 3; position: absolute; margin-left: 290px; margin-right: 0px; width: 100%; + + } + #nav1 div { background: rgba(52,150,185,0.6); } + #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff; + background: #3496b9; margin-top: 0px; + } + #nav1 div a:hover { color: #fdb933; + background-color: ; + box-shadow: inset 0px -3px 0px #44CBF8; + } + #nav1 div a.aktiv { color:#fdb933; } + #nav1 div a.aktiv:hover { color: white; } + + #nav1 div span.onClickHideShow { + display:none; + cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px; + padding: 0px 12px 0px 12px; float: right; margin-right: 290px/* annyi, amennyi a #nav1 bal margója!*/; } + + #nav2.vertical { + z-index: 1; width: 140px; margin: 0; height: 100%; + background-color: #D2DFE9; +/* margin-top: -25px; + padding-top: 25px; +*/ position: fixed; + overflow: auto; + top:88px; + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + } + #nav2.vertical ul { margin: 0; padding: 0; list-style: none; } + #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li a { display: block; color: black; font-size: 11px; text-decoration: none; padding: 6px 6px; width:128px; } + #nav2.vertical ul li a.aktiv { background-color: white; } + #nav2.vertical ul li a:hover { color: white; background: #9abcd8; } + + #nav2.horizontal { + z-index: 1; width: 100%; + margin-top: 0px; + top: 88px; + text-align: center; + padding-top: 5px; padding-bottom: 5px; + position: fixed; + overflow: none; + border-bottom: solid 3px #eeeeee; + background-color: #82bfd5; + color: white; + font-size:x-small; + } + #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; } + #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; } + #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; } + #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; } + #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;} + #nav2.horizontal ul li a:hover { color: white; background: orange; } + #nav2.horizontal:hover li { } + + div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; } + div.mayorfoot a { color: rgba(52, 150, 185, 0.6);} + div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);} + #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; } + #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + + #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 2px solid; border-radius: 4px; left:20%; right:20%;} +/* #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 4px; margin: 0 50px; border: solid 2px #3496b9; }*/ + #updateWindow #updateHeader { min-height: 30px; min-width: 100px; background: #1a4c5c; color: white; + font-size:16px;text-align: center; line-height:30px; margin: 0 0px 10px 0px; border-bottom: solid 2px rgb(247, 197, 14); /*#3496b9*/ } + #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;} + #updateWindow #updateCloseButton:hover { background : #eeeeee;} + #updateHeader { cursor: pointer; } + #updateForm { max-height: 100%; overflow: auto; } + + + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; width: 100px; } + #keyHelp td.desc { color: white; text-align: left; } + + #logo, #head, #nav1, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + + #mayorbody { padding-top: 1px; padding-right: 0px; + /*margin-left:0px;*/ margin-top: 88px; + } + #mayorbody.leftpad { margin-left: 141px; } + #mayorbody.toppad { margin-left: 0px; top:33px; position: relative;} + + /* alternates */ + #mayorhead.small #nav1 div a { line-height:30px; } + #mayorhead.small #nav > li > a { line-height:30px;} + #mayorhead.small #head { height:30px;} + #mayorhead.small #poz { height:20px;} + + /* ------------ */ +/* #mayorerror {z-index:100;position:fixed; bottom:0px; min-height:88px; width:100%;background-color: rgba(255,20,147,0.9); border-bottom: solid 1px red; display:none;}*/ + + #nav2 .icons span { padding: 0px 6px; vertical-align:middle; cursor:pointer} + #nav2.vertical .icons { height:26px; color: lightslategrey;} + #nav2.vertical .icons span { font-size:11px; display:table-cell; padding-top:8px;} + #nav2.vertical .icons span:hover {color:white;} + + #nav2.horizontal .icons {display:inline; float:left; padding-top:3px; height:100%;} + #nav2.horizontal .icons span { font-size:11px; display:inline; padding-top:0px; color: white; border: dotted 1px lightblue; padding:3px; margin:0px 2px; background-color: rgba(100,100,100,0.1);} + #nav2.horizontal .icons span:hover {color:orange;} + + #nav2 ul li.fullmenuitem { display:none } + + #nav2fullmenu.aktiv { color: rgb(30, 144, 255);} + #nav2fullmenu.aktiv:hover { color: rgb(60,174,255) !important;} + + #mayorGlobalLogin { + /*background-color: rgba(0, 0, 0, 0.6); */ + padding:0px 0px 0px 0px; z-index: 100; position:fixed; top:0px; right:0px; height:60px;} + #mayorGlobalLogin span { color:#eeeeee; padding-right:2px; } + #mayorGlobalLogin span.failed { color: rgb(255,215,0);; text-shadow: 0px 0px 2px #ff0000;} + #mayorGlobalLogin:hover span.failed { color: rgb(255,235,0); } + #mayorGlobalLogin:hover span { color:white; } + #mayorGlobalLogin div.large { font-size:40px; padding:10px; color: #eeeeee;} + #mayorGlobalLogin div.large:hover { font-size:40px; padding:10px; color: white; } + + #mayorGlobalLogin input[type=text] { width:100px; } + #mayorGlobalLogin input[type=password] { width:100px; } + + /* add default */ + #mayorGlobalLogin form input {margin:2px;} + #mayorGlobalLogin table { height:60px;} + #mglFBconnect.FBstatusunknown { /*color: #aaa;*/ } + #mglFBconnect:after { content: " "; + margin-left:4px;display: inline-block;width:8px; + height:8px;border-radius: 8px;border: solid 1px white; background-color:#888; + } + #mglFBconnect:hover:after {animation: sheen 1s forwards;} + #mglFBconnect.FB2:after {background-color:lightgreen;} + #mglFBconnect.FB1:after {background-color:orange;} + #mglFBconnect.FB0:after {background-color:red;} + + #mayorErrorHide {color: rgb(90, 133, 184); cursor:pointer;} + #mayorErrorHide:hover {color: rgba(52, 150, 185, 0.6);} + + .hidden { display:none } + + #ui-datepicker-div {position: relative; z-index:4 !important;} + + #mayorErrorSmall.mayorErrorSmallInfo { + overflow:hidden; + line-height:22px; + border-bottom: solid 4px rgb(106,128,250); + border-top: solid 4px lightblue; + padding:0px; height:20px; width:100%; + background-color:rgba(250,250,250,0.9); position:fixed; + top:60px;left:0px; z-index:3 + } + + #mayorErrorSmall.mayorErrorSmallError { + overflow:hidden; + line-height:22px; + border-bottom: solid 4px red; + border-top: solid 4px orange; + padding:0px; height:20px; width:100%; + background-color:rgba(250,250,250,0.9); position:fixed; + top:60px;left:0px; z-index:3 + } + + +/* .nyitva2 { width:390px !important; }*/ + + #updateWindowSide { + z-index: 152; + position: fixed; +/* background-color: rgba(73, 71, 71,0.92); +*/ border-left: solid 0px black; + padding:4px; + color:white; + right: -368px; + width: 360px; + top:60px; + bottom:0; + overflow-y: auto; + border-top : solid 4px grey; + transition: all 300ms ease; + display:none; + } + #updateWindowSide.nyitva { right:0px; + background-color: rgba(73, 71, 71,0.92); + display:block; + } + #updateWindowSide h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; } + #updateWindowSide h1 div { font-size:16px; min-height: 20px; } + #updateWindowSide h1 span#btn_updateWindowSideClose { float:left; font-size:18px; cursor: pointer; } + #updateWindowSide h1 span#btn_updateWindowSideClose:hover { color: #777777; } + #updateWindowSide a {color: inherit; } + #updateWindowSide a:hover {color: inherit; } + + #updateWindowSideSub { + z-index: 153; + position: fixed; +/* background-color: rgba(100, 100, 100,0.92); +*/ border-left: solid 0px black; + padding:4px; + color:white; + right: -328px; + width: 320px; + top:60px; + bottom:0; + overflow-y: auto; + border-top : solid 4px #eee; + transition: all 300ms ease; + display:none; + } + #updateWindowSideSub.nyitva { right:0px; + background-color: rgba(100, 100, 100,0.92); + display:block; + } + #updateWindowSideSub h1 { padding: 4px 8px; margin:0px; text-align:center; border-bottom: solid 1px #dddddd; } + #updateWindowSideSub h1 div { font-size:16px; min-height: 20px; } + #updateWindowSideSub h1 span#btn_updateWindowSideSubClose { float:left; font-size:18px; cursor: pointer; } + #updateWindowSideSub h1 span#btn_updateWindowSideSubClose:hover { color: #777777; } + #updateWindowSideSub a {color: inherit; } + #updateWindowSideSub a:hover {color: inherit; } + + #mayorNaviIconHolder { text-align:center; display:table; width:100%; border-bottom: solid 1px white;} + div.mayorNaviIcon { display:inline-block; text-align:center; padding: 10px 5px 5px 5px; margin-right:4px; border-width:0px 0px 0px 0px; border-style: solid; border-color:white;} + div.mayorNaviIcon a { color:inherit; text-decoration: none; display:inline-block;} + div.mayorNaviIcon span { font-size:16px; } + div.mayorNaviIcon:hover { background-color: cornflowerblue; cursor:pointer; text-shadow: 0px 0px 1px blue;} + + #nav, #nav1,#nav2 {display:visible;} + #mayorIcons { height: 26px; color: #789; } + #hamburgerIcon { +display:none; +color:#D2DFE9; font-size:20px;z-index:100000; +margin-left:0px; +position:fixed; +top:0px; +padding:0px 8px; +cursor: pointer; +vertical-align: middle; +border-radius:1px; +border: solid 0px #eee; + } + #hamburgerIcon span { line-height:60px; } + #hamburgerIcon:active {color:white;} + #hamburgerIcon.nyitva { + color:white; + } + + .hamburger { display:none; + position:fixed; z-index:1000; top:0px; left:0px; + padding: 15px 15px; + cursor: pointer; + transition-property: opacity, -webkit-filter; + transition-property: opacity, filter; + transition-property: opacity, filter, -webkit-filter; + transition-duration: 0.15s; + transition-timing-function: linear; + font: inherit; + color: inherit; + text-transform: none; + background-color: transparent; + border: 0; + margin: 0; + overflow: visible; + } + + /* author Jonathan Suh jonsuh + mayor.hu */ + /* https://github.com/jonsuh/hamburgers */ + .hamburger:hover { opacity: 0.7; } + .hamburger-box {width: 20px;height: 30px;display: inline-block;position: relative;} + .hamburger-inner {display: block;top: 50%;margin-top: -2px;} + .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { + width: 20px;height: 3px; + background-color: #eee; + border-radius: 2px;position: absolute; + transition-property: -webkit-transform; + transition-property: transform; + transition-property: transform, -webkit-transform; + transition-duration: 0.15s; + transition-timing-function: ease; + } + .hamburger-inner::before, .hamburger-inner::after {content: "";display: block;} + .hamburger-inner::before { top: -7px; } + .hamburger-inner::after { bottom: -7px; } + + /* Squeeze */ + .hamburger--squeeze .hamburger-inner { + transition-duration: 0.1s; + transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + .hamburger--squeeze .hamburger-inner::before { transition: top 0.1s 0.14s ease, opacity 0.1s ease;} + .hamburger--squeeze .hamburger-inner::after { + transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + .hamburger--squeeze.is-active .hamburger-inner { + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + transition-delay: 0.14s; + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + .hamburger--squeeze.is-active .hamburger-inner::before {top: 0;opacity: 0;transition: top 0.1s ease, opacity 0.1s 0.14s ease;} + + .hamburger--squeeze.is-active .hamburger-inner::after { + bottom: 0; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); + } + /* end of hamburger */ + + #mayorNav { + width:100%; + position:absolute; + z-index:1; + background-color:#82bfd5; + opacity:1; + padding-bottom:1em; + border-bottom: solid 4px #F7C50E; + } + + #mayorNav a { color:#eee; } + #mayorNav a:hover { color:white; } + #mayorNav ul {list-style-type: none; } + #mayorNav>ul>li { margin-bottom:1.4em; font-size:14px;} + #mayorNav>ul>li>a { font-size:large; border-bottom: solid 1px #eee; } + #mayorNav>ul>li>a:first-child { line-height:2em;} + #mayorNav ul li a:active { background-color: #303F9F;} + #mayorNav ul li {line-height:1.5em;} + #mayorNav div.mayorNavIcons div { background-color: orange; display:table-cell; text-align:center; padding:4px; } + #mayorNav div.mayorNavIcons div span { font-size:x-large;} + div.mayorLogo a img { + -webkit-transition: margin 1s; + transition: margin 1s; + } + + div.arckep--container {position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white;} + div.arckep--container img {width: 100%; height: auto; filter: grayscale(100%)}; + div.arckep--container:hover { border: solid 2px orange; } + div.arckep--container img:hover { filter: grayscale(10%)}; + + div.arckepContainer {position: relative;overflow: hidden;border-radius: 50%;border: solid 2px #fff; color: white;} + div.arckepContainer span { + border-radius: 50%;border: solid 2px #fff; color: white; + height:50px; min-height:50px; width:50px; min-width:50px; background-color: #ddd; + font-size:20px; + display: flex; + justify-content: center; + align-items: center; + } + div.arckepContainer.osztalyAdat:hover span { background-color: #8cc864; } + div.arckepContainer.diakNev:hover span { background-color: #ff8c00; } + div.arckepContainer.tankorAdat:hover span { background-color: #aca; } + + div.arckepContainer.size_s {height:32px;width:32px;min-height:32px;min-width:32px;font-size:15px;} + div.arckepContainer.size_s span {height:30px;width:30px;min-height:30px;min-width:30px;font-size:13px;} + + div._dotHolder {text-align:center; width:90%; margin:auto; padding:10px 0px;vertical-align:middle;} + div._dot {background-color:#eee;display: inline-block;border-radius: 50%;height:10px; width:10px;} + div._dot:hover {background-color:cornflowerblue !important;} + div._dotHolder:hover div._dot {background-color:#ccc;} + +} +@media print { + #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge, #mayorGlobalLogin, #updateWindowSide, #updateWindowSideSub, #mayorErrorSmall, .noprint { display: none; } + div.arckep--container {display: none;} + div.arckepContainer {display: none;} +} + +@media (max-width: 900px) { + #nav>li a {padding:0px 8px;} +} +@media (max-width: 850px) { + #nav>li a {width:70px; padding:0px 4px;} +} +@media (max-width: 764px) { + .school { display: none; } + #nav, #nav1 { display: none;} + #nav2>ul:not(:first-child) {display:none;} + #mayorbody { margin-left:0px;} + #hamburgerIcon {display:block;} + div.mayorLogo a img { margin-left:40px; } + + #mayorSearch { + z-index:4; + position: fixed; + width: 95%; + padding: 0px; + border: 5px solid #ccc; + border-radius: 2px; + background-color: #fff; + top: 120px; + left: 0px; + margin-top: 0px; + margin-left: 0px; + box-shadow: 0px 1px 100px 10px rgba(101,101,101,0.9); + } + + .hamburger { display: inline-block;} + div.arckepContainer {display:none;} + div.arckep--container {display:none;} + +} + +@keyframes niceMaYoR { + 0% { border-top: rgb(247,197,14) solid 4px; } + 100% { border-top: rgb(147,197,214) solid 4px; } +} + +@keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} +@-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} +@keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} +@-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} + +.mayorLoader { + background: linear-gradient(270deg, #E6E6E6, #E6E6E6, #7D96A0, #E6E6E6, #E6E6E6); + background-size: 400% 400%; + -webkit-animation: mayorLoaderAnim 4s ease infinite; + -moz-animation: mayorLoaderAnim 4s ease infinite; + -o-animation: mayorLoaderAnim 4s ease infinite; + animation: mayorLoaderAnim 4s ease infinite; +} + +@-webkit-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@-moz-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@-o-keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} +@keyframes mayorLoaderAnim { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + + + diff --git a/mayor-orig/www/skin/oldschool/base/css/base.css b/mayor-orig/www/skin/oldschool/base/css/base.css new file mode 100644 index 00000000..39c25726 --- /dev/null +++ b/mayor-orig/www/skin/oldschool/base/css/base.css @@ -0,0 +1,86 @@ +/* + Module: base +*/ +@import "head.css"; +@media screen { + + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + margin:0px; + padding:0px; + background-color: white; + background-image: url("/skin/classic/base/img/gradient.jpg"); + background-repeat: repeat-x; + } + + /* set default layout! */ + table { font-size: 12px; } + + form { margin: 0px; } + + div#mayorerror { } + + div.mayorbody { + + padding: 0px; + + } + + div.mayorfoot { + text-align: center; + font-size: 10px; + width:100%; + } +/* - Alert - */ + + form.mayorAlert { margin: 0px; padding: 0px; } + form.mayorAlert input { display: none; } + div.errorMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #ff0000; + padding: 15px; + } + div.errorMsg span { + font-style: italic; + } + + div.infoMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #0000ff; + padding: 15px; + } + div.infoMsg span { + font-style: italic; + } + + span.alertParam { + color: green; + } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px; border: solid 1px black;} + #updateHeader {background-color: #eeeeee; border-bottom: solid 1px black; text-align: center; font-weight: large;padding:4px 2px;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; } + #keyHelp td.desc { color: white; text-align: left; } + +} +@media print { + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + } + div.mayorfoot { + text-align: center; + font-size: 10px; + margin: 5px; + } + div.namepolicy { display: none; } + table.mayorhead { display: none; } +} \ No newline at end of file diff --git a/mayor-orig/www/skin/oldschool/base/css/head.css b/mayor-orig/www/skin/oldschool/base/css/head.css new file mode 100644 index 00000000..e6303c3f --- /dev/null +++ b/mayor-orig/www/skin/oldschool/base/css/head.css @@ -0,0 +1,149 @@ +/* + Module: base +*/ +@media screen { + + div.namepolicy { + background-color:#ced89c; + border-style: none none solid none; + border-width: 1px; + border-color: #666666; + } + div.namepolicy table { font-size: 10px; width:100%; } + div.namepolicy table td { width:40%; } + div.namepolicy table td.right { text-align: right; } + div.namepolicy table td.left { text-align: left;} + div.namepolicy table td.help a { background-color:#aeb86c; text-decoration: none; font-weight: bold; padding: 2px 5px; color: rgb(80,60,40); display: block; } + div.namepolicy table td.help a:hover { background-color:#bec87c; } + div.namepolicy table th { width:20% } + div.namepolicy span.nev { padding-right: 14px; } + div.namepolicy table td.language span { vertical-align: middle; } + div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; } + #langSelect { vertical-align: middle; padding: 0px; margin: 0px;} + + table.mayorhead { font-size: 10px; margin: 3px 3px 20px 3px;} + + table.mayorhead td.namepolicy { padding: 5px; } + table.mayorhead td.namepolicy table { + font-size: 10px; + border-style: solid; + border-width: 2px ; + border-color: #550670; + background-color: #8877aa; + color: white; + } + +/* Új menü */ + + ul#pagemenu { + padding: 1px; + text-align: left; + background-color: #040562; + list-style-type: none; + margin:1px; + } + ul#pagemenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#pagemenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#pagemenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#pagemenu li.active a { + background-color: #620405; + } + ul#pagemenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* SUB */ + + ul#submenu { + padding: 1px; + text-align: left; + background-color: #040582; + list-style-type: none; + margin:1px 1px 1px 40px; + } + ul#submenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#submenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#submenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#submenu li.active a { + background-color: #620405; + } + ul#submenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* f */ + + ul#fmenu { + padding: 1px; + text-align: left; + background-color: #0405a2; + list-style-type: none; + margin:1px 1px 1px 80px; + } + ul#fmenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#fmenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#fmenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#fmenu li.active a { + background-color: #620405; + } + ul#fmenu li.active a:hover { + background-color: rgb(140,100,100); + } + + #changeSkin { + display: inline; + } + #changeSkin .onChangeSubmit { + background-color: #eeeeee; + font-size:9px; + } + +} +@media print { + + div.namepolicy { display: none; } + table.mayorhead { display: none; } + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/oldschool/base/html/base.phtml b/mayor-orig/www/skin/oldschool/base/html/base.phtml new file mode 100644 index 00000000..1775f15f --- /dev/null +++ b/mayor-orig/www/skin/oldschool/base/html/base.phtml @@ -0,0 +1,337 @@ + base.php + putValidXHTML() +*/ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpheader(); + + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + _debugLayer(); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH, $SSSBB; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; + +} + + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $page, $sub, $f; + + // PATCH MENU + $MENU['auth'] = array( + array('txt' => 'Bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=private'), + array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'), + ); + $MENU['modules']['auth']['login'] = array( + array('txt' => 'Szülői bejelentkezés', 'url' => 'index.php?page=auth&f=login&toPolicy=parent'), + array('txt' => 'Védett oldalak','url' => 'index.php?page=auth&f=login&toPolicy=private'), + ); + // + echo ''; + + // II: SZINT + @$pageArray = $MENU['modules'][$page]; + $aPage = $page; + + if (is_array($pageArray)) { + echo ''."\n"; + } + + // III: SZINT + @$subArray = $MENU['modules'][$page]['sub'][$sub]; + $aSub = $sub; + + if (is_array($subArray)) { + echo '
      '; + + foreach ($subArray as $anF => $items) { + for ($i=0;$i'; + else echo '
    • '; + + if (isset($items[$i]['url']) && $items[$i]['url'] != '') { + if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); + elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); + elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); + else $href = href($items[$i]['url']); + } else { + $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); + } + echo ' '.$items[$i]['txt'].' '; + + echo '
    • '; + } + } + + echo '
    '."\n"; + } + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy; + + if (date('m')==12) $imgextra = '-santa'; + elseif (date('m')==3 && date('d')>=11 && date('d')<=15) $imgextra = '-marc15'; + elseif (date('m')==4 && date('d')==1) $imgextra = '-flip'; + else $imgextra = ''; + + if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif')) + // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif'; + if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg')) + $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg'; + + _updateWindow(); + _keyHelp(); + + ## Név, Oldal info, Policy + echo '
    '."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
    '."\n"; + + echo ''.$lang.''."\n"; + + echo ''; + + formBegin(array('id'=>'changeSkin','action'=>href('index.php', array('sessionID','lang')))); + echo ''; + echo ''; + global $POLICIES; + echo ''; + /* Némi javascipt támogatás a session kezelésre ebben a formban */ + $sessionMaxIdleTime=$sessionAlertTime=0; + if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) { + $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000); + if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60)); + } + echo ''; + echo ''; + /* --- */ + formEnd(); + //echo ''; + echo ''; + //echo $page; + //if ($sub!='') echo ' » '.$sub; + if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''; + echo ''._USERCN.''; + echo ''; + echo ''.$policy.''; + echo ''; + if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f"; + echo '?'; + echo '
    '; + echo '
    '."\n"; + ## ------------------------ + echo ''."\n"; + echo ''."\n"; + echo ''; + if (in_array('help',$INSTALLED_MODULES)) { + $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f"; + echo ''; + } + echo "\n
    '; + echo 'MaYoR'; + echo ''; + mayor_menu($MENU,$sessionID,$lang,$skin); + echo ''; + echo ''; + echo ''._HELP.''; + echo ''; + + echo '
    \n"; + +} + + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + + echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + + +?> diff --git a/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..43760ec1 Binary files /dev/null and b/mayor-orig/www/skin/oldschool/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/oldschool/module-auth/css/login.css b/mayor-orig/www/skin/oldschool/module-auth/css/login.css new file mode 100644 index 00000000..c3da5e07 --- /dev/null +++ b/mayor-orig/www/skin/oldschool/module-auth/css/login.css @@ -0,0 +1,45 @@ +@media screen { +img { border-width: 0px; } +h1 {text-align: center; margin: 10px; font-size:20px; } +h2 {text-align: center; margin: 10px; font-size: 15px; } +table { font-size: 12px; } +table.main {width: 100%; border-width: 0px;} +table.loginablak { + background-color: #ffffff; + border-width: 1px; + border-style: solid; + border-color: #555550; + width:400px} +td { padding: 2px } +form { margin: 30px;padding: 0px; } +input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +select.pp>option { border: none 0px black; } +input.submit { border: solid 1px #776650; } +table.loginablak thead td { background-color: #666690; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: + bold; + color: white; + border-bottom: solid 1px white; +} +table.loginablak tbody tr.top td { border-top: solid 1px #666690; } + +tfoot td { background-color: #888880; text-align: center; } +td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } +img.aauthImg { + border-top: solid 1px #666690; + border-bottom: solid 1px #888880; + border-left: solid 1px #666690; + border-right: solid 1px #888880; +} +#capsLockWarning { + position: absolute; + background: #ffffaa; color: #ffaaaa; text-align: center; + font-size: 20px; font-weight: bold; + width: 300px; padding: 20px; margin: 10px auto; +} + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/pda/base/css/base.css b/mayor-orig/www/skin/pda/base/css/base.css new file mode 100644 index 00000000..1a321380 --- /dev/null +++ b/mayor-orig/www/skin/pda/base/css/base.css @@ -0,0 +1,182 @@ +/* + Module: base +*/ + html { margin:0px; padding:0px; } + html body { + font-family: Verdana, Arial, Helvetica, sans-serif; + margin:0px; + padding:0px; + font-size: 11px; + } + + form { margin: 0px; } + div.mayorbody { + padding: 0px; + background-color: white; + margin-top:0em; + margin-bottom:2em; + } + div.mayorfoot { + text-align: center; + position: bottom; + width:100%; + font-size:x-small; + color: #888888; + } + div.mayorfoot a { color:#888888; text-decoration: none; } +/* - Alert - */ + + form.mayorAlert { margin: 0px; padding: 0px; } + form.mayorAlert input { display: none; } + div.errorMsg { + background-color: #eeffd0; + border: solid 2px #C71585; + padding: 1px; + text-align:center; + margin:10px; + } + div.errorMsg span { + font-style: italic; + } + div.infoMsg { + background-color: #eeffd0; + border: solid 2px #0000ff; + padding: 1px; + } + div.infoMsg span { + font-style: italic; + } + + span.alertParam { + color: green; + } + +/* Module: base */ + + div.namepolicy { + background-color: rgb(52, 150, 185); +// background: rgb(241, 241, 241); + border-bottom: 2px solid rgb(247, 197, 14); + margin: 0px; + padding:0px; + min-height:40px; + width:100%; + } + + div.namepolicy a#home + { + display: table-cell; + height:40px; + width:200px; + text-align: left; + vertical-align: middle; + font-size: normal; margin:0px; padding-left:1em; text-decoration: none; + color: white; + } + +/* Menü */ + + ul#pagemenu { + padding: 0px; + text-align: left; + background-color: #040562; + list-style-type: none; + margin:1px; + + } + ul#pagemenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#pagemenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#pagemenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#pagemenu li.active a { + background-color: #620405; + } + ul#pagemenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* SUB */ + + ul#submenu { + padding: 1px; + text-align: left; + background-color: #040582; + list-style-type: none; + margin:1px 1px 1px 1px; + } + ul#submenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#submenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#submenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#submenu li.active a { + background-color: #620405; + } + ul#submenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* f */ + + ul#fmenu { + padding: 1px; + text-align: left; + background-color: #0405a2; + list-style-type: none; + margin:1px 1px 1px 0px; + } + ul#fmenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#fmenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#fmenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#fmenu li.active a { + background-color: #620405; + } + ul#fmenu li.active a:hover { + background-color: rgb(140,100,100); + } + + + #changeSkin { + display: none; + } + #changeSkin .onChangeSubmit { + } diff --git a/mayor-orig/www/skin/pda/base/html/alert.phtml b/mayor-orig/www/skin/pda/base/html/alert.phtml new file mode 100644 index 00000000..a7f9ce62 --- /dev/null +++ b/mayor-orig/www/skin/pda/base/html/alert.phtml @@ -0,0 +1,85 @@ +'; + for ($j = 0; $j < count($_SESSION['alert']); $j++) { + + // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki... + $param = array(); + $tmp = explode(':',$_SESSION['alert'][$j]); + $aType = $tmp[0]; $aCode = $tmp[1]; + for ($p = 2; $p < count($tmp); $p++) $param[] = $tmp[$p]; + $pstr = ''; + if ($aType == 'popup') { + if ($aCode == '' ) $msg = $ALERT_MSG['default']; + elseif ($ALERT_MSG[$aCode] == '') $msg = $aCode; + else $msg = $ALERT_MSG[$aCode]; + // paraméter behelyettesítés + for($i = 1; $i < count($param); $i++) { + $msg = str_replace("%$i%",$param[$i],$msg,$count); + if ($param[$i] != '' and $count == 0) $pstr .= $param[$i].','; + } + if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; + + echo ''; + } else { + if ($aCode == '') $msg = $ALERT_MSG['default']; + elseif (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '') $msg = $ALERT_MSG['default'].' ('.$aType.':'.$aCode.')'; + else $msg = $ALERT_MSG[$aCode]; + // paraméter behelyettesítés + for($i = 0; $i < count($param); $i++) { + $_msg = $msg; + $msg = @str_replace("%$i%",''.$param[$i].'',$msg); + if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.$param[$i].','; + } + if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; + + if (($aType == 'message') or ($aType == 'page')) { + $title = _ERROR; + $class = 'errorMsg'; + if ($aType == 'page') $showPage = false; + } else { + $title = _INFORMATION; + $class = 'infoMsg'; + } + $msg = ''.$title.': ' . $msg; + echo '
    '.$msg.'
    '."\n"; + + } + $_SESSION['alert'] = array(); + } + echo ''; + + return $showPage; + + } + +?> diff --git a/mayor-orig/www/skin/pda/base/html/base.phtml b/mayor-orig/www/skin/pda/base/html/base.phtml new file mode 100644 index 00000000..b15ad2f3 --- /dev/null +++ b/mayor-orig/www/skin/pda/base/html/base.phtml @@ -0,0 +1,240 @@ + base.php + putValidXHTML() +*/ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { +// Huston! This is for IE-shit + + _httpheader(); + + html_head($page,$sub,$f,$lang,$skin); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo ''."\n"; + if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; + + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices +// includeJS($page,$sub,$f,$skin); // now, we are not using javascript - right now + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo "\n\n"; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $page, $sub, $f; + + echo ''; + + // II: SZINT + @$pageArray = $MENU['modules'][$page]; + $aPage = $page; + + if (is_array($pageArray)) { + echo ''."\n"; + } + + // III: SZINT + @$subArray = $MENU['modules'][$page]['sub'][$sub]; + $aSub = $sub; + + if (is_array($subArray)) { + echo '
      '; + + foreach ($subArray as $anF => $items) { + for ($i=0;$i'; + else echo '
    • '; + + if (isset($items[$i]['url']) && $items[$i]['url'] != '') { + if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); + elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); + elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); + else $href = href($items[$i]['url']); + } else { + $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); + } + echo ' '.$items[$i]['txt'].' '; + + echo '
    • '; + } + } + + echo '
    '."\n"; + } + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy; + + _updateWindow(); + + ## Név, Oldal info, Policy + echo '
    '."\n"; + + echo ''; +// echo 'MaYoR'; + echo 'MaYoR'; + echo ''; + + echo '
    '."\n"; + +} + + + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + + global $AUTH, $SKINS; + + echo '
    '; + if ($AUTH[_POLICY]['skin'] != '' && in_array($AUTH[_POLICY]['skin'], $SKINS)) $_skin=$AUTH[_POLICY]['skin']; + else $_skin = _DEFAULT_SKIN; + echo _MAIN_FOOTER; + echo ''; + echo ' - HTML nézet'; + echo ''; + + echo '
    '; + echo "\n"; +} + +?> diff --git a/mayor-orig/www/skin/pda/module-auth/css/login.css b/mayor-orig/www/skin/pda/module-auth/css/login.css new file mode 100644 index 00000000..47a1610d --- /dev/null +++ b/mayor-orig/www/skin/pda/module-auth/css/login.css @@ -0,0 +1,4 @@ + + form.login { padding: 0px 10px; } + form.login input.txtbox { width:80%; height:2em;} + form.login select { font-size:1em;} diff --git a/mayor-orig/www/skin/pda/module-auth/html/login.phtml b/mayor-orig/www/skin/pda/module-auth/html/login.phtml new file mode 100644 index 00000000..03250685 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-auth/html/login.phtml @@ -0,0 +1,60 @@ +'._GREETING.''."\n"; + + formBegin(array('method'=>'post', + 'class'=>'login', + 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&toSkin='.$toSkin.'&sessionID='.$sessionID , + 'name'=>"loginablak")); + + echo ''; + echo ''; + + echo '
    '._USERNAME.'
    '; + echo ''."\n"; + + echo '
    '._PASSWORD.'
    '; +/* + echo ''."\n"; +*/ + echo ''."\n"; + + echo ''; + echo ''; +/* + echo '
    '._SKIN.'
    '; + echo ''."\n"; + echo ''."\n"; +*/ + echo '
    '; + echo ''."\n"; + echo '
    '; + + + formEnd(); + + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/css/haladasi/haladasi.css b/mayor-orig/www/skin/pda/module-naplo/css/haladasi/haladasi.css new file mode 100644 index 00000000..b944c5c2 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/haladasi/haladasi.css @@ -0,0 +1,167 @@ + + table.haladasiBejegyzesek { + background-color: rgb(50,60,80); + margin-top: 30px; + font-size: 10px; + width: 98%; + } + table.haladasiBejegyzesek tbody tr:hover td { + background-color: white; + } + table.haladasiBejegyzesek tbody tr td input:focus { + background-color:rgb(240,210,250); + } + + table.haladasiBejegyzesek tbody.parosNap { + background-color: #cccccc; + } + table.haladasiBejegyzesek tbody.paratlanNap { + background-color: #eeeeee; + } + table.haladasiBejegyzesek tbody td.ora { + text-align: center; + } + +/* TBODY TH */ + + table.haladasiBejegyzesek tbody th.nincsOra { + background-color: rgb(200,200,200); + color: rgb(100,100,100); + text-align: center; + border: none; + font-weight: normal; + } + table.haladasiBejegyzesek tbody th.nap { + text-align: center; + background-color: #666688; + color: white; + border: none; + } + table.haladasiBejegyzesek tbody.szunet th.nap { + background-color: #778877; + } + table.haladasiBejegyzesek tbody.tanitasNelkul th.nap { + background-color: #aaaa44; + } + +/* --- */ + + table.haladasiBejegyzesek tbody td.dolgozat { + background-color: #ffaa44; + padding-left: 20px; + } + table.haladasiBejegyzesek tbody td.dolgozat a { + text-decoration: none; + color: black; + } + + table.haladasiBejegyzesek tbody td.nincsBeirva { + font-style:italic; + } + + table.haladasiBejegyzesek th { + border-style: none none solid none; + border-width: 0 0 2px 0; + border-color: #556677; + background-color: rgb(50,60,80); + color: rgb(210,215,220); + border-style: solid; + border-width: 1px; + } + table.haladasiBejegyzesek th.fejlec8 { + font-size: 14px; + height: 30px; + text-align: center + } + table.haladasiBejegyzesek th.fejlec8 a { color: white } + + +/* table.haladasiBejegyzesek td { background-color: rgb(200,200,200); } */ + table.haladasiBejegyzesek td.osztaly { + text-align:"."; + text-align: center; + } + table.haladasiBejegyzesek select { + font-family: Verdana,Arial; + background-color: rgb(50,60,80); + font-size: 10px; + color: rgb(210,215,220); + border-style: solid; + border-width: 1px; + } + + input { font-family: Verdana,Arial; color: inherit } + input.data { border-style: none none solid none; + border-width: 1px; + border-color: #dddddd; + } + input.data:hover { border: solid 1px #556677; background-color: white } + table.haladasiBejegyzesek tbody.parosNap input.beirva { background-color: #cccccc; } + table.haladasiBejegyzesek tbody.paratlanNap input.beirva { background-color: #eeeeee; } + + table.haladasiBejegyzesek tbody.parosNap input.ajaxRequest { background-color: rgb(200,100,0); } + table.haladasiBejegyzesek tbody.paratlanNap input.ajaxRequest { background-color: rgb(200,100,0); } + table.haladasiBejegyzesek tbody.parosNap input.ajaxRequestDone, + table.haladasiBejegyzesek tbody.paratlanNap input.ajaxRequestDone { color: rgb(0,100,0); } + + + table.haladasiBejegyzesek tbody.parosNap tr.helyettesit td { background-color: #ccccaa; } + table.haladasiBejegyzesek tbody.paratlanNap tr.helyettesit td { background-color: #eeeecc; } + table.haladasiBejegyzesek tbody.parosNap tr.helyettesit input.beirva { background-color: #ccccaa; } + table.haladasiBejegyzesek tbody.paratlanNap tr.helyettesit input.beirva { background-color: #eeeecc; } + + input.gomb { + border: outset 1px #777777; padding: 0px; margin: 0px; + background-color: #009900; + color: white; + } + + input.rejtettGomb { border: none; background-color: rgb(50,60,80); } + + table.haladasiBejegyzesek a.gomb { + padding: 1px; + background-color: #dddddd; + font-size: 10px; + border: outset 1px #556677; + margin: 2px; + text-decoration: none; + } + table.haladasiBejegyzesek a.gomb:hover { + padding: 1px; + background-color: #556677; + font-size: 10px; + border: outset 1px #dddddd; + margin: 2px; + text-decoration: none; + color: white; + } + + table.haladasiBejegyzesek a { + display: block; + text-align: center; + color: red; + text-decoration: none; + border: solid 1px red; + } + table.haladasiBejegyzesek a:hover { + color: green; + border: green 1px solid; + } + + table.haladasiBejegyzesek td.parosOra { background-color: rgb(140,150,160); } + table.haladasiBejegyzesek td.paratlanOra { background-color: rgb(140,130,120); } + + table.haladasiBejegyzesek tr.dolgozat td { + padding: 0px 10px; + background-color: rgb(160,100,120); + } + + table.haladasiBejegyzesek tr.dolgozat td a { + color: white; + text-decoration: none; + } + + table.haladasiBejegyzesek tr.dolgozat td a:hover { + color: rgb(260,200,220); + } + diff --git a/mayor-orig/www/skin/pda/module-naplo/css/hianyzas/osztaly.css b/mayor-orig/www/skin/pda/module-naplo/css/hianyzas/osztaly.css new file mode 100644 index 00000000..959f2056 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/hianyzas/osztaly.css @@ -0,0 +1,135 @@ + + table.hianyzas { + background-color: rgb(180,180,200); + color: white; + } + + table.hianyzas thead th { + background-color: rgb(40,80,120); + } + + table.hianyzas thead th.alcim { + background-color: rgb(255,255,255); + color: rgb(40,80,120); + font-style: italic; + padding: 0px 4px 0px 4px; + } + + table.hianyzas thead th.alcim img { hight: 16px; } + + table.hianyzas tfoot th { + background-color: rgb(80,20,80); + } + + table.hianyzas tbody td.nev { + background-color: rgb(90,90,110); + font-style: italic; + padding: 4px 10px 4px 10px; + } + + table.hianyzas tbody td.nev a { + color: white; + text-decoration: none; + } + + table.hianyzas tbody td.nev a:hover { + color: white; + /* background-color: rgb(180,180,220); */ + text-decoration: underline; + } + + table.hianyzas tbody td.ulezart { + width: 18px; + background-color: rgb(200,200,220); + } + + table.hianyzas tbody td.lezart { + width: 18px; + background-color: rgb(100,100,120); + text-align: center; + } + + table.hianyzas tbody td.uigazolhato { + width: 18px; + background-color: rgb(240,240,260); + } + + table.hianyzas tbody td.igazolhato { + width: 18px; + background-color: rgb(140,140,160); + text-align: center; + } + + table.hianyzas tbody td.uosszes { + width: 18px; + background-color: rgb(220,240,230); + } + + table.hianyzas tbody td.osszes { + width: 18px; + background-color: rgb(120,140,130); + text-align: center; + } + + table.hianyzas tbody td.ufegyelmi { + width: 18px; + background-color: rgb(220,230,240); + } + + table.hianyzas tbody td.fegyelmi { + width: 18px; + background-color: rgb(130,150,150); + text-align: center; + } + + table.hianyzas tbody td.ufokozat { + width: 18px; + background-color: rgb(220,210,200); + } + + table.hianyzas tbody td.fokozat { + background-color: rgb(120,110,100); + } + table.hianyzas tbody td.fokozat form { display: inline; } + table.hianyzas tbody td.fokozat input,select { font-size:11px; } + + table.hianyzas tbody td.oi { + text-align: center; + } + + table.hianyzas tbody td.hianyzas { + border-color: rgb(200,100,100); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + table.hianyzas tbody td.keses { + border-color: rgb(200,200,100); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + table.hianyzas tbody td.felszereles { + border-color: rgb(100,100,200);; + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + table.hianyzas tbody td.felmentes { + border-color: rgb(100,200,100);; + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + table.hianyzas tbody td.igazolt { + color: rgb(55,255,55); + } + + table.hianyzas tbody td.igazolatlan { + color: rgb(255,55,55); + } + + table.hianyzas tbody td.mind { + color: white; + } + diff --git a/mayor-orig/www/skin/pda/module-naplo/css/naplo.css b/mayor-orig/www/skin/pda/module-naplo/css/naplo.css new file mode 100644 index 00000000..2b81dd35 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/naplo.css @@ -0,0 +1,59 @@ + + table.toolBar { width: 100%; border-spacing: 0px; font-size:small; } + table.toolBar form { margin: 0px; padding: 0px; width:100%; } + table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { background-color: #eeeeee; border-bottom: solid 2px rgb(152, 150, 185); padding:2px 4px; } + table.toolBar td.gap { border-spacing: 0px; } + table.toolBar td.toolBarTitle { + background-color: white; + width: 100%; + font-size: 10px; + font-weight: bold; + text-align: center; + } + #toolBarIntezmeny { + color: darkgrey; + font-size: 8px; + background-color: ; + border: solid 1px darkgrey; + border-radius:2px; + padding: 0px 4px; + } + + table.toolBar td.toolBarTool { border: solid 0px #666699; margin: 0px; padding: 0px; } + table.toolBar td.toolBarTool table { border-spacing: 0px; background-color: ; } + table.toolBar td.toolBarTool table th { + background-color: rgb(90,133,184); + text-align: left; + color: white; + font-size:8px; + padding-left: 4px; + + border-color: rgb(21,71,123); + border-width: 1px 0px; + border-style: solid; + } + table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; background-color: rgb(90,133,184); color: white; width:60px; } + table.toolBar td.toolBarTool select { border: 0px; } + table.toolBar th { + background-color: rgb(90,133,184); + text-align: center; + color: white; + font-size:8px; + padding-left: 4px; + + border-color: rgb(21,71,123); + border-width: 1px 0px 1px 1px; + border-style: solid; + } + table.toolBar td table { margin: 0px;} + table.toolBar img { border: none; } + + form.lapozo input { font-size: 8px; border: solid 1px #555555; } + + table.flipper input {color: white; border: none; background-color: lightblue; } + table.flipper input.step { background-color: rgb(100,80,60); } + + div.beirasAdatok { text-align: center; } + div.beirasAdatok span { font-weight: bold; font-size: 10px; vertical-align: middle; } + div.beirasAdatok img { vertical-align: middle; } + diff --git a/mayor-orig/www/skin/pda/module-naplo/css/orarend/helyettesites.css b/mayor-orig/www/skin/pda/module-naplo/css/orarend/helyettesites.css new file mode 100644 index 00000000..0386b2b1 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/orarend/helyettesites.css @@ -0,0 +1,29 @@ +@media screen { + +table.helyettesitesek { + background-color: #999999; width:100%; + border-collapse: collapse; +} +table.helyettesitesek tr { + background-color: #dddddd; +} +table.helyettesitesek tbody tr td { + background-color: white; +} +table.helyettesitesek tr.plusz td { + background-color: #334450; color: white; + font-style: italic; +} +table.helyettesitesek tfoot tr th { + display:none; + background-color: white; + text-align: right; + font-size:x-small; + font-weight:lighter; + color: #aaaaaa; +} +table.helyettesitesek thead tr th { border-bottom: solid 2px;} + +table.helyettesitesek td,table.helyettesitesek th { + border: solid 1px black; +} \ No newline at end of file diff --git a/mayor-orig/www/skin/pda/module-naplo/css/orarend/orarend.css b/mayor-orig/www/skin/pda/module-naplo/css/orarend/orarend.css new file mode 100644 index 00000000..17671235 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/orarend/orarend.css @@ -0,0 +1,97 @@ + +h2 { text-align: center; color: red;} +h2.toPrint { display: none; } + +table.toolBar tr td select, table.toolBar tr td option { +} + +table.orarend { + width: 99%; + background-color: #333333; +} +table.orarend tr th { + background-color: #889988; + color: white; +/* border-width: 0px 1px 2px 0px !important; */ + height:30px; + +} +table.orarend thead tr th { + background-color: #889999; + color: white; + border-bottom: solid 1px white; +} +table.orarend tfoot.publikus tr th { + background-color: lightgreen; + color: white; +} +table.orarend tfoot.nempublikus tr th { + background-color: #f06; + color: white; +} +table.orarend tfoot:hover tr th { + background-color: #8f8; +} + + +table.orarend thead tr th.spec { + background-color: red; +} + +table.orarend tr td { + text-align: center; + background-color: #efefef; +/* border-width: 0px 1px 2px 0px;*/ +/* width:18%; */ +} + +table.orarend tr td select { + background-color:#000011; + color: white +} + +div.unfinished { + background-color: yellow; +} + table.orarend tbody tr td hr { width: 80% } + div.normál {} + div.plusz { + background-color: #eeccee; + } + div.elmarad { + color: white; + background-color: black; + } + div.elmarad_máskor { + color: white; + background-color: #555555; + } + div.normál_máskor { + color: white; + background-color: #776699; + } + div.felügyelet { + background-color: #bbaac0; + } + div.helyettesítés { + background-color: #ccffcc; + } + div.összevonás { + background-color: #aabbc0; + } + div.osztályfüggetlen { color: #eeeeee; background-color: rgba(52, 150, 185, 1); } + table.osztalyOrarend div.osztályfüggetlen { display:none; } + table.diakOrarend div.osztályfüggetlen { display:none; } + + span.helyett { + color: gray; + text-decoration: line-through; + } + + table.orarend tr td span.t0 { + background-color: #880000; color:white; + } + table.orarend tr td span.t1 { + } + + diff --git a/mayor-orig/www/skin/pda/module-naplo/css/osztalyozo/jegy.css b/mayor-orig/www/skin/pda/module-naplo/css/osztalyozo/jegy.css new file mode 100644 index 00000000..b46d342d --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/css/osztalyozo/jegy.css @@ -0,0 +1,56 @@ + + table.jegyInfo { + width: 85%; + background-color: rgb(200,200,200); + color: white; + } + + + table.jegyInfo thead th { + background-color: rgb(100,120,100); + height:30px; + } + + table.jegyInfo tfoot th { + background-color: rgb(100,120,100); + } + + table.jegyInfo tbody select { background-color: #ffffff; } + table.jegyInfo tbody input { background-color: #ffffff; } + + table.jegyInfo tbody th { + background-color: rgb(140,160,150); + padding: 0px 4px 0px 4px; + text-align: center; + } + + table.jegyInfo tbody td { + background-color: rgb(140,160,150); + padding: 0px 4px 0px 4px; + text-align: center; + } + + table.jegyInfo tbody td a { + color: white; + text-decoration: none; + } + + table.jegyInfo tbody td a:hover { + color: white; + text-decoration: underline; + } + + table.jegyInfo tbody th a { + color: white; + text-decoration: none; + } + + table.jegyInfo tbody th a:hover { + color: white; + text-decoration: underline; + } + + table.jegyInfo tbody td input { + width: 95%; + } + diff --git a/mayor-orig/www/skin/pda/module-naplo/html/base.phtml b/mayor-orig/www/skin/pda/module-naplo/html/base.phtml new file mode 100644 index 00000000..e2295b24 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/base.phtml @@ -0,0 +1,900 @@ + + + _OMKOD(max7): + _ROVIDNEV(sql): + _NEV: + + '; + formEnd(); + } + + function putEszkozSor() { + + global $TOOL; + + echo ''; + + echo ''."\n"; + + echo ''; + + reset($TOOL); +/* + foreach ( $TOOL as $tool => $params ) { + if ( function_exists( $func = "put$tool" ) && $params['tipus']=='cella') { + echo ''; + echo ''."\n"; + echo ''."\n"; + } + } +*/ + // Hibabejelentő +// echo ''."\n"; + + reset($TOOL); + foreach ( $TOOL as $tool => $params ) { +// if ( function_exists( $func = "put$tool" ) && $params['tipus']=='sor') { + if ( function_exists( $func = "put$tool" ) ) { +// echo ''; + echo ''; + } + } + echo '
    '; + if (defined('__PAGETITLE')) echo __PAGETITLE.' '; + echo ''.__INTEZMENY . '' . __TANEV.''; + echo '
    '; + echo ''."\n"; + $title = '__'.nagybetus($tool).'TITLE'; + if (defined($title)) echo ''."\n"; + echo ''."\n"; + echo '
    '.constant($title).'
    '."\n"; + $func(); + echo '
    '."\n"; + echo '
    '; +// $href = href('index.php?page=naplo&sub=hibabejelento&f=hibabejelento'); +// echo ''; +// echo ''._HIBABEJELENTES.''; +// echo ''; +// echo '
    '; + echo '
    '; + echo ''; +// $title = '__'.nagybetus($tool).'TITLE'; +// if (defined($title)) echo ''."\n"; + + echo '
    '.constant($title).''; + $func(); + echo '
    '; +// echo '
    '; + + } + + + /* Toolok */ + + function putIntezmenySelect() { + + global $TOOL; + + $paramName = $TOOL['intezmenySelect']['paramName']; + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['intezmenySelect']['action'])) + echo ''."\n"; + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTanevSelect() { + + global $TOOL; + + $paramName = $TOOL['tanevSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['tanevSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['tanevSelect']['post']); $i++) { + $postParam = $TOOL['tanevSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putSzemeszterSelect() { + + global $TOOL; + + $paramName = $TOOL['szemeszterSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['szemeszterSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['szemeszterSelect']['post']); $i++) { + $postParam = $TOOL['szemeszterSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTargySorrendSelect() { + + global $TOOL; + + $paramName = $TOOL['targySorrendSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['targySorrendSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['targySorrendSelect']['post']); $i++) { + $postParam = $TOOL['targySorrendSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putMunkakozossegSelect() { + + global $TOOL; + + $paramName = $TOOL['munkakozossegSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['munkakozossegSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['munkakozossegSelect']['post']); $i++) { + $postParam = $TOOL['munkakozossegSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTargySelect() { + + global $TOOL; + + $paramName = $TOOL['targySelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['targySelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['targySelect']['post']); $i++) { + $postParam = $TOOL['targySelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTanarSelect() { + + global $TOOL; + + if (isset($TOOL['tanarSelect']['paramName'])) $paramName = $TOOL['tanarSelect']['paramName']; + else $paramName = 'tanarId'; + + global $$paramName; + // note, action is for incopatible browser... TESZ + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['tanarSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['tanarSelect']['post']); $i++) { + $postParam = $TOOL['tanarSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putDiakSelect() { + + global $TOOL; + + $paramName = $TOOL['diakSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['diakSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['diakSelect']['post']); $i++) { + $postParam = $TOOL['diakSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTableSelect() { + + global $TOOL; + + $paramName = $TOOL['tableSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['tableSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['tableSelect']['post']); $i++) { + $postParam = $TOOL['tableSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + } + + function putOsztalySelect() { + + global $TOOL; + + $paramName = $TOOL['osztalySelect']['paramName']; + global $$paramName; + + formBegin(array('action'=>href('index.php',array('page','sub','f','lang','skin','sessionID','policy')))); + + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['osztalySelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['osztalySelect']['post']); $i++) { + $postParam = $TOOL['osztalySelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTankorSelect() { + + global $TOOL; + + $paramName = $TOOL['tankorSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['tankorSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['tankorSelect']['post']); $i++) { + $postParam = $TOOL['tankorSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTanevLapozo() { + global $TOOL; + $paramName = $TOOL['tanevLapozo']['paramName']; + global $$paramName; + + formBegin(array('class'=>'lapozo')); + echo ''; + echo ''; + echo '
    '; + echo '←'; + echo ''; + echo ''.$TOOL['tanevLapozo']['tanev'].''; + echo ''; + echo '→'; + echo '
    '; + + for ($i = 0; $i < count($TOOL['tanevLapozo']['post']); $i++) { + $postParam = $TOOL['tanevLapozo']['post'][$i]; + echo ''."\n"; + } + + formEnd(); + } + + function putDatumSelect() { + + global $TOOL, $aHetNapjai; + + $paramName = $TOOL['datumSelect']['paramName']; + global $$paramName; + + if ($TOOL['datumSelect']['lapozo']) { + + // Előző és következő dátum meghatározása + $elozo = $kovetkezo = ''; + if (is_array($TOOL['datumSelect']['napok'])) { + for ($i = 0; $i < count($TOOL['datumSelect']['napok']); $i++) { + if ($TOOL['datumSelect']['napok'][$i] == $$paramName) { + $kovetkezo = $TOOL['datumSelect']['napok'][$i+1]; + $elozo = $TOOL['datumSelect']['napok'][$i-1]; + break; + } + } + } else { + $tolTime = strtotime($TOOL['datumSelect']['tolDt']); + $igTime = strtotime($TOOL['datumSelect']['igDt']); + $count = $TOOL['datumSelect']['hanyNaponta']; + for ($t = $tolTime; $t < $igTime; $t = strtotime("$count days", $t)) { + $d = date('Y-m-d', $t); + if ($d == $$paramName) { + if (strtotime("$count days", $t) <= $igTime) $kovetkezo = date('Y-m-d', strtotime("$count days", $t)); + break; + } + $elozo = $d; + } + } + + echo ''; + if ($elozo!='') { + echo ''; + } + echo ''; + if ($kovetkezo!='') { + echo ''; + } + echo '
    '; + formBegin(); + echo '
    '; + if (isset($TOOL['datumSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['datumSelect']['post']); $i++) { + $postParam = $TOOL['datumSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; + echo '
    '; + formEnd(); + echo '
    '; + + } + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['datumSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['datumSelect']['post']); $i++) { + $postParam = $TOOL['datumSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + if ($TOOL['datumSelect']['lapozo']) { + + echo '
    '; + + formBegin(); + echo '
    '; + if (isset($TOOL['datumSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['datumSelect']['post']); $i++) { + $postParam = $TOOL['datumSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; + echo '
    '; + formEnd(); + + echo '
    '; + } + + + } + + function putDatumTolIgSelect() { + + global $TOOL, $aHetNapjai; + + $tolParamName = $TOOL['datumTolIgSelect']['tolParamName']; + global $$tolParamName; + $igParamName = $TOOL['datumTolIgSelect']['igParamName']; + global $$igParamName; + + + formBegin(); + echo '
    '; + if (isset($TOOL['datumTolIgSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['datumTolIgSelect']['post']); $i++) { + $postParam = $TOOL['datumTolIgSelect']['post'][$i]; + echo ''."\n"; + } + + echo ''; + + echo ' - '; + + echo ''; + + echo ''; + echo ''; + echo '
    '; + formEnd(); + + } + + + function putOraSelect() { + + global $TOOL; + + $paramName = $TOOL['oraSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['oraSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['oraSelect']['post']); $i++) { + $postParam = $TOOL['oraSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putTeremSelect() { + + global $TOOL; + + $paramName = $TOOL['teremSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['teremSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['teremSelect']['post']); $i++) { + $postParam = $TOOL['teremSelect']['post'][$i]; + echo ''."\n"; + } + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + } + + function putOrarendiHetSelect() { + + global $TOOL; + + $paramName = $TOOL['orarendiHetSelect']['paramName']; + global $$paramName; + + formBegin(); + echo '
    '; +echo ''; +echo ''; + if (isset($TOOL['orarendiHetSelect']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['orarendiHetSelect']['post']); $i++) { + $postParam = $TOOL['orarendiHetSelect']['post'][$i]; + echo ''."\n"; + } + $_DS = (isset($TOOL['orarendiHetSelect']['disabled']) && $TOOL['orarendiHetSelect']['disabled']===true) ? 'readonly="readonly" disabled="disabled"' : ''; + echo ''; +// echo ''; +// echo ''; + echo '
    '; + formEnd(); + + + } + + function putTanarOraLapozo() { + global $TOOL; + $paramName = $TOOL['tanarOraLapozo']['paramName']; + global $$paramName; // most oraId + if ((is_array($TOOL['tanarOraLapozo']['elozo'])) || (is_array($TOOL['tanarOraLapozo']['kovetkezo']))) { + formBegin(array('class'=>'lapozo')); + echo ''; + echo '
    '; + if (is_array($TOOL['tanarOraLapozo']['elozo'])) { + $_leiras = '←'.($TOOL['tanarOraLapozo']['elozo']['ora']).'. '._ORA; + if ($TOOL['tanarOraLapozo']['elozo']['leiras']!='') $_leiras .= ' ('.$TOOL['tanarOraLapozo']['elozo']['leiras'].')'; + echo ''; + } + echo ''; + if (is_array($TOOL['tanarOraLapozo']['kovetkezo'])) { + $_leiras = ($TOOL['tanarOraLapozo']['kovetkezo']['ora']).'. '._ORA; + if ($TOOL['tanarOraLapozo']['kovetkezo']['leiras']!='') $_leiras .= ' ('.$TOOL['tanarOraLapozo']['kovetkezo']['leiras'].')'; + $_leiras .=' →'; + echo ''; + } + echo '
    '; + + for ($i = 0; $i < count($TOOL['tanarOraLapozo']['post']); $i++) { + $postParam = $TOOL['tanarOraLapozo']['post'][$i]; + echo ''."\n"; + } + + formEnd(); + echo "\n"; + } + } + + function putHonapLapozo() { + + global $TOOL,$Honapok; + + $paramName = $TOOL['honapLapozo']['paramName']; + global $$paramName; + formBegin(array('class'=>'lapozo')); + echo ''; + echo ''; + echo '
    '; + echo '&larr'; + echo ''; + echo ''.$Honapok[$$paramName-1].''; + echo ''; + echo '→'; + echo '
    '; + + for ($i = 0; $i < count($TOOL['honapLapozo']['post']); $i++) { + $postParam = $TOOL['honapLapozo']['post'][$i]; + echo ''."\n"; + } + + formEnd(); + + } + + function putOldalFlipper() { + + global $TOOL; + $paramName = $TOOL['oldalFlipper']['paramName']; + global $$paramName; + + $stepCount = count($TOOL['oldalFlipper']['url']); + if (isset($TOOL['oldalFlipper']['step'])) $step = $TOOL['oldalFlipper']['step']; + for ($i = 0; $i < count($TOOL['oldalFlipper']['titleConst']); $i++) { + if (defined($TOOL['oldalFlipper']['titleConst'][$i])) + $TOOL['oldalFlipper']['title'][$i] = constant($TOOL['oldalFlipper']['titleConst'][$i]); + else + $TOOL['oldalFlipper']['title'][$i] = ''; + } + + echo ''; + if ($stepCount > 1 && isset($step) && $step > 0) { + echo ''; + } + if ($stepCount > 1) + for ($j = 0; $j < $stepCount; $j++) { + echo ''; + } + if ($stepCount == 1 || (isset($step) && $step < $stepCount-1)) { + if (!isset($step)) $step = 0; else $step++; + echo ''; + } + echo '
    '; + formBegin(array('action'=>href($TOOL['oldalFlipper']['url'][$step-1]))); + if (isset($TOOL['oldapFlipper']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['oldalFlipper']['post']); $i++) { + $postParam = $TOOL['oldalFlipper']['post'][$i]; + echo ''."\n"; + } + if (isset($TOOL['oldalFlipper']['paramName'])) + echo ''."\n"; + echo ''."\n"; + formEnd(); + + echo ''; + formBegin(array('action'=>href($TOOL['oldalFlipper']['url'][$j]))); + if (isset($TOOL['oldapFlipper']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['oldalFlipper']['post']); $i++) { + $postParam = $TOOL['oldalFlipper']['post'][$i]; + echo ''."\n"; + } + if (isset($TOOL['oldalFlipper']['paramName'])) + echo ''."\n"; + + if (isset($step) && $step == $j) + echo ''."\n"; + else + echo ''."\n"; + formEnd(); + echo ''; + formBegin(array('action'=>href($TOOL['oldalFlipper']['url'][$step]))); + if (isset($TOOL['oldapFlipper']['action'])) + echo ''."\n"; + for ($i = 0; $i < count($TOOL['oldalFlipper']['post']); $i++) { + $postParam = $TOOL['oldalFlipper']['post'][$i]; + echo ''."\n"; + } + if (isset($TOOL['oldalFlipper']['paramName'])) + echo ''."\n"; + + echo ''."\n"; + formEnd(); + echo '
    '."\n"; + + } + + function putIgazolasOsszegzo() { + // EZ A FÜGGVÉNY NINCS IMPLEMENTÁLVA A SKIN PDA_BAN + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/haladasi/haladasi.phtml b/mayor-orig/www/skin/pda/module-naplo/html/haladasi/haladasi.phtml new file mode 100644 index 00000000..7aa36aad --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/haladasi/haladasi.phtml @@ -0,0 +1,392 @@ +href('index.php?page=naplo&sub=haladasi&f=haladasi'), 'name'=>"haladasiOrabeiras", 'class'=>"onChangeRequest")); + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + // ------------------------------- + $toTime = strtotime(_SHOW_DAYS_TO); + $fromTime = strtotime(_SHOW_DAYS_FROM); + + if ($order == 'ASC') { + for ($time = $fromTime; $time <= $toTime; $time = strtotime('1 day',$time)) { + + $dt = date('Y-m-d',$time); + $count = count($data[$dt]); + if ($tankorId == '') { + putNap($dt, $data[$dt], $data['napok'][$dt], $data['dolgozatok']); + } elseif ($count > 0) { + putTankorNap($dt, $data[$dt], $data['dolgozatok'], $order); + } // kirakjuk-e a napot + + } // for $dt + } else { + for ($time = $toTime; $time >= $fromTime; $time = strtotime('-1 day',$time)) { + + $dt = date('Y-m-d',$time); + $count = count($data[$dt]); + + if ($tankorId == '') { + putNap($dt, $data[$dt], $data['napok'][$dt], $data['dolgozatok']); + } elseif ($count > 0) { + putTankorNap($dt, $data[$dt], $data['dolgozatok'], $order); + } // kirakjuk-e a napot + + } // for $dt + } + // --------------------------------- + + echo '
    '; + echo $title; + echo '
    '; + if (_SHOW_DAYS_FROM > $_TANEV['kezdesDt']) echo ''."\n"; + echo ' '._IDOSZAK.': '.str_replace('-','.',_SHOW_DAYS_FROM) . '. - '. str_replace('-','.', _SHOW_DAYS_TO) .'. '."\n"; + if (_SHOW_DAYS_TO < date('Y-m-d')) echo ''."\n"; + echo '
    '."\n"; + formEnd(); + + } + + + function putNap($dt, $dNap, $napInfo, $doga) { + + global $aHetNapjai; + + $time = strtotime($dt); + $count = count($dNap); + + if ($napInfo['tipus'] == 'tanítási szünet') echo ''."\n"; + elseif ($napInfo['típus'] == 'tanítás nélküli munkanap') echo ''."\n"; + elseif (date('w',$time) % 2 == 0) echo ''."\n"; + else echo ''."\n"; + + echo ''; + // Az első cella a dátum/nap + echo ''; + echo str_replace('-','.',$dt) .'. '. $aHetNapjai[date('w',$time)-1]; + if ($napInfo['orarendiHet'] != 0) echo ' ('.$napInfo['orarendiHet'] . '. '. _HET .')'; + if ($napInfo['megjegyzés'] != '' ) echo ' - '.$napInfo['megjegyzés']; + echo ''; + echo ''; + + putHaladasiDolgozat($dt,$doga); + + if ($count > 0) { + for ($i=0; $i<$count; $i++) { + if ($i % 2 == 0) $dNap[$i]['class'] = 'parosOra'; + else $dNap[$i]['class'] = 'paratlanOra'; + putOra($dNap[$i]); + } // órák kiírása + } else { + echo ''._NINCS_ORAJA.''; + } + + echo ''."\n"; + + } + + + function putTankorNap($dt, $dNap, $doga, $order) { + + $time = strtotime($dt); + $count = count($dNap); + + if (date('w',$time) % 2 == 0) echo ''."\n"; + else echo ''."\n"; + + putHaladasiDolgozat($dt,$doga); + + for ($i=0; $i<$count; $i++) { + if ($order == 'DESC') putTankorOra($dNap[$count-$i-1]); + else putTankorOra($dNap[$i]); + } // órák kiírása + + echo ''."\n"; + + } + + + function putHaladasiDolgozat($dt,$doga) { + + for ($i=0;$i'; + echo ''; + $href = href('index.php?page=naplo&sub=osztalyozo&f=dolgozat&dolgozatId='.$did); + echo ''; + echo _BEJELENTETT_DOLGOZAT . ': '. $doga[$did]['dolgozatNev']; + echo ' (' ; + for ($j=0;$j'; + echo ''; + echo ''."\n"; + } + + } + + function putOra($dOra) { + + $modosithatoOra = modosithatoOra($dOra); + + if (!in_array($dOra['tipus'],array('normál','normál máskor'))) { + if ($dOra['tipus'] == 'összevonás') $tipus = 'Ö'; + else $tipus = nagybetus(substr($dOra['tipus'],0,1)); + $tr_class = ' class="helyettesit"'; + } else { + $tipus = ''; + $tr_class = ''; + } + echo ''; + + // ----- óra ---------------------------------- + echo ''; + echo $dOra['ora'].'.'; + echo ''."\n"; + + + // ----- Tankör ------------------------------- + echo ''; + // ------------------------------------------------------------------------- + // Csoportok kezelése - Váltható tankörök (egy csoportba és egy tanárhoz tartozó tankörök + // ------------------------------------------------------------------------- + if ( + is_array($dOra['csoport']) && count($dOra['csoport'])>1 + && $modosithatoOra + ) { + + echo ''; + } else { // nincs választási lehetőség, vagy a módosítási határidő lejárt + echo $dOra['tankorNev']; + } + // ------------------------------------------------------------------------- + + echo ''."\n"; + + // ----- Hiányzók ------------------------------- + echo ''; + if ( __DIAK) { + $href = href('index.php?page=naplo&sub=hianyzas&f=diak&dt='.$dOra['dt'].'&diakId='.$diakId); + } else { + $href = href('index.php?page=naplo&sub=hianyzas&f=ora&oraId='.$dOra['oraId']); + } + echo ''; + echo 'H >>'; + echo ''; + echo ''."\n"; + + echo ''; + + + // ----- Tanár(ok) ------------------------------- + echo ''; + // Ha egy normál órának több tanára is van, és módosítható az óra, akkor lehet választani a tanárok közül + if (count($dOra['tanar']) > 1 and $modosithatoOra) { + $_SEL = array($dOra['ki'] => 'selected="selected" '); + echo ''; + } else { + echo $dOra['kiCn']; + } + echo ''."\n"; + + echo ''; + echo $dOra['oraszam']; + if ($tipus != '') echo '/'.$tipus; + + echo ''."\n"; + + + echo ''; + + // ----- Leírás --------------------------------- + if ($modosithatoOra) { + if ($dOra['leiras']!='') { // beírva + echo ''; + echo ''; + echo ''; + echo ''; + } else { + echo ''; + echo ''; + echo ''; + echo ''; + } + echo ''; + } else { + if ($dOra['leiras']!='') { + echo ''.$dOra['leiras']; + } else { + echo ''._NINCS_BEIRVA; + } + } + echo ''."\n"; + + + echo ''."\n"; + + + } + + + function putTankorOra($dOra) { + + global $aHetNapjai; + + $modosithatoOra = modosithatoOra($dOra); + + if (!in_array($dOra['tipus'],array('normál','normál máskor'))) { +// if (substr($dOra['tipus'],0,6) != 'normál') { + $tipus = nagybetus(substr($dOra['tipus'],0,1)); + $tr_class = ' class="helyettesit"'; + } else { + $tipus = ''; + $tr_class = ''; + } + + echo ''; + + // ----- óra ---------------------------------- + echo ''; + echo str_replace('-','.',$dOra['dt']) .'. '. $aHetNapjai[date('w',strtotime($dOra['dt']))-1].' '; + echo $dOra['ora'].'.'; + echo ''."\n"; + + // ----- Tankör ------------------------------- + echo ''; + // ------------------------------------------------------------------------- + // Csoportok kezelése - Váltható tankörök (egy csoportba és egy tanárhoz tartozó tankörök + // ------------------------------------------------------------------------- + if ( + is_array($dOra['csoport']) && count($dOra['csoport']) > 1 + && $modosithatoOra + ) { + + echo ''; + } else { // nincs választási lehetőség, vagy a módosítási határidő lejárt + echo $dOra['tankorNev']; + } + // ------------------------------------------------------------------------- + echo ''."\n"; + + echo ''; + echo $tipus; + echo ''."\n"; + + + // ----- Tanör(ok) ------------------------------- + echo ''; + // Ha egy normál órának több tanára is van, és módosítható az óra, akkor lehet választani a tanárok közül + if (count($dOra['tanár']['id']) > 1 and $modosithatoOra) { + $_SEL = array($dOra['kiId'] => 'selected="selected" '); + echo ''; + } else { + echo $dOra['kiCn']; + } + echo ''."\n"; + + echo ''; + echo $dOra['oraszam']; + echo ''."\n"; + + // ----- Leíráás --------------------------------- + if ($modosithatoOra) { + echo ''; + if ($dOra['leiras']!='') { // beírva + echo ''; + echo ''; + } else { + echo ''; + echo ''; + } + echo ''; + } else { + if ($dOra['leiras']!='') { + echo ''.$dOra['leiras']; + } else { + echo ''._NINCS_BEIRVA; + } + } + echo ''."\n"; + + // ----- Hiányzók ------------------------------- + echo ''; + if ( __DIAK) { + $href = href('index.php?page=naplo&sub=hianyzas&f=diak&dt='.$dOra['dt'].'&diakId='.$diakId); + } else { + $href = href('index.php?page=naplo&sub=hianyzas&f=ora&oraId='.$dOra['oraId']); + } + echo ''; + echo _HIANYZOK; + echo ''; + echo ''."\n"; + + echo ''."\n"; + + + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/ora.phtml b/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/ora.phtml new file mode 100644 index 00000000..36940ff8 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/ora.phtml @@ -0,0 +1,215 @@ +"vissza", 'action'=>href('index.php?page=naplo&sub=haladasi&f=haladasi'))); + echo ''; + echo ''; + echo ''; + formEnd(); + + if ($ADAT['tankorAdat']['oratervi'] != 'óratervi') $class = 'delutani'; + formBegin(array('method' => 'post', 'action' => '','class' => $class)); + + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + echo ''; + $i=0; + foreach($NEVEK as $_diakId => $DA) { + $JOG = $ADAT['jogosultsag'][$_diakId]['orak'][$ORAADAT['ora']]; + $JOGADAT = $ADAT['jogosultsag'][$_diakId]['igazolas']; + echo ''; +// echo ''; + echo ''; + if ( + $ADAT['tankorAdat']['regisztralando']=='igen' + && +// $RESZLETEK[$_diakId][0]['jelenlet'] != 'nem kötelező' // az elnevezés félrevezető. Napközi? ILYEN MÁR NINCS!!! + !in_array($ADAT['tankorAdat']['tankorId'], $ADAT['felmentes'][$_diakId]) + ) { + $_igtipus=''; + /* prepare data */ + reset($HTIPUSOK1); + $__jelen=true; + foreach ($HTIPUSOK1 as $j => $_tipus) { + if ($HADAT[$ORAADAT['oraId']][$_diakId][$_tipus]['hianyzasId']!='') $__jelen=false; + } + /* -- */ + reset($HTIPUSOK1); + foreach ($HTIPUSOK1 as $j => $_tipus) { + $_hid = $HADAT[$ORAADAT['oraId']][$_diakId][$_tipus]['hianyzasId']; + if ($_hid!='') $_igtipus = $_tipus; + if ($_tipus=='') $_csstipus = 'jelen'; else $_csstipus=$_tipus; + echo ''; + } + /* === */ + echo ''; +// echo ''; + } else { + echo ''."\n"; + } + + echo ''; + $i++; + } + echo ''; + echo '
    '; + _putOraAdat($ORAADAT); + echo '
    '. + ''.$ADAT['tankorAdat']['oratervi'].''; + echo '
    '._NEV.''._J.''._K.''._H.''._F.''._FM.'
    '; + echo ''; + echo ''; + echo ''; + echo '
    '; +// _putHianyzasKistabla($ADAT['napiHianyzasok'][$_diakId], $ORAADAT, array('napiMinOra' => $napiMinOra, 'napiMaxOra' => $napiMaxOra)); +// echo ''; + echo ''; + //printf("%2s. ", $i+1); + echo $DA['diakNev']; + echo ''; + echo ''; + if ($JOG['beirhato']==true) { + $_radio = ($_hid!='' || ($_tipus=='' && $__jelen)) ?'checked="checked"' : ''; + //echo $_diakId.'/'.$_tipus.'/'.$_hid; + echo ''; + if ($_tipus=='késés') { + $_perc = intval(($HADAT[$ORAADAT['oraId']][$_diakId][$_tipus]['perc'])); + echo ''; + } + } else { + if (($__jelen && $_tipus=='') || $_hid!='') { + if ($_hid!='') echo ''; + if ($_tipus=='késés' && ($_perc = intval(($HADAT[$ORAADAT['oraId']][$_diakId][$_tipus]['perc']))) != 0) { + echo ''.$_perc.''; + } else { + _putImg($_tipus,$__jelen); + } + } + } + echo ''; + if ($JOG['fbeirhato']==true) { + echo ''; + } else { + foreach ($HTIPUSOK2 as $j => $_tipus) { + $_hid = $HADAT[$ORAADAT['oraId']][$_diakId][$_tipus]['hianyzasId']; + if ($_hid!='') { + echo ''; + echo $_tipus; + } + } + } + echo ''; +// _putIgazolasSelect($HADAT[$ORAADAT['oraId']][$_diakId][$_igtipus], $ITIPUSOK,$JOG,$JOGADAT,array('diakId'=>$_diakId,'oraId'=>$ORAADAT['oraId'],'hianyzasId'=>$_hid)); +// echo ''; + // echo _ORARA_NEM_KOTELEZO_BEJARNIA; + echo _NEM_REGISZTRALANDO; + echo '
    '; + + formEnd(); + + } + + function _putIgazolasSelect($ADAT,$TIPUSOK,$JOG,$JOGADAT,$SET) { + //"'.$_diakId.'/'.$dt.'/'.$ora.'/'.$_tipus.'/'.$_hid.'" + if (is_array($ADAT)) { + if ($JOG['igazolhato']===true) { + echo ''."\n"; + } else { + echo $ADAT['igazolas']; + } + } + + } + + function _putOraAdat($ORAADAT) { + echo ''; + echo ''; + echo ''; + echo '
    '; + echo $ORAADAT['dt'].', '.$ORAADAT['ora'].'. ('.$ORAADAT['oraId'].')'; + echo ''; + echo $ORAADAT['tankorNev'].' - '.$ORAADAT['kiCn']; + echo '
    '; + if ($ORAADAT['tankorTipus'] == 'délutáni') echo nagybetus($ORAADAT['tankorTipus']); + echo $ORAADAT['leiras']; + echo '
    '; + } + + + function putOraAdatok($oraAdat) { + + list($evf,$oszt,$targy,$targycsoport,$tipus,$index) = explode('_',$oraAdat['tankor']); + + #echo '
    '; + echo ''; + echo ''; + echo ''; + echo ''; + echo ""; + echo ''; + echo ''; + echo '
    '.str_replace('-','.',$oraAdat['dt']).'.'.$oraAdat['ora'].'. óra ~ $evf.$oszt $targy, $tipus $targycsoport ~ '.$oraAdat['tanarCn'].'
    '."\n"; + #echo '
    '."\n"; + #echo '
    '; + } + + function _putImg($tipus,$jelen) { + if ($jelen && $tipus=='') echo 'x'; + elseif ($tipus=='késés') echo 'x'; + elseif ($tipus=='hiányzás') echo 'x'; + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/osztaly.phtml b/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/osztaly.phtml new file mode 100644 index 00000000..6835e45f --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/hianyzas/osztaly.phtml @@ -0,0 +1,465 @@ +'; + + echo ''; + echo '
    '; + echo ''; + echo '
    '; + echo ''; + echo ' '; + echo ''.'
    '; + + echo ' '._REFERENCIADT.' '; + echo ''."\n"; + + echo ''; + formEnd(); + + echo ''; + + /* ----------- Fejléc ----------- */ + + echo ''."\n"; + echo ''; + echo ''; + + if (in_array('lezárt',$View)) { + echo ''; + $_cols+=7; + } + + if (in_array('igazolható',$View)) { + echo ''; + $_cols+=6; + } + + if (in_array('összes',$View)) { + echo ''; + $_cols+=7; + } + + if (in_array('fegyelmi utáni',$View)) { + echo ''; + $_cols+=3; + } + + if (in_array('fegyelmi fokozatok',$View)) { + echo ''; + $_cols+=3; + } + + echo ''; + + if (in_array('lezárt',$View)) { + echo ''; + echo ''; + } + + if (in_array('igazolható',$View)) { + echo ''; + echo ''; + } + + if (in_array('összes',$View)) { + echo ''; + echo ''; + echo ''; + echo ''; + } + + if (in_array('fegyelmi utáni',$View)) { + echo ''; + echo ''; + echo ''; + } + + if (in_array('fegyelmi fokozatok',$View)) { + echo ''; + echo ''; + echo ''; + } + + echo ''; + + if (in_array('lezárt',$View)) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + + if (in_array('igazolható',$View)) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + + if (in_array('összes',$View)) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + + if (in_array('fegyelmi utáni',$View)) { + } + + if (in_array('fegyelmi fokozatok',$View)) { + } + + + echo ''; + + + echo ''."\n"; + + /* ----------- Fejléc vége ------------- */ + + echo ''."\n"; + echo ''; + echo ''."\n"; + echo ''."\n"; + +// for($i = 0; $i < count($H['névsor']); $i++) { + foreach ($H['névsor'] as $diakId => $dAdat) { + + echo ''; + + echo ''; + + if (in_array('lezárt',$View)) { + # Lezártak + + // Lezárt igazolatlan hiányzás + $lhigazolatlan = $H[$diakId]['lezárt']['hiányzás']['igazolatlan']; + if (intval($lhigazolatlan) == 0) $class = 'ulezart'; + else $class = 'lezart igazolatlan hianyzas'; + echo ''; + + // Lezárt igazolt hiányzás + $lhigazolt = $H[$diakId]['lezárt']['hiányzás']['igazolt']; + if (intval($lhigazolt) == 0) $class = 'ulezart'; + else $class = 'lezart igazolt hianyzas'; + echo ''; + + // Lezárt összes hiányzás + $osszeg = intval($lhigazolt) + intval($lhigazolatlan); + if ($osszeg == 0) { + $osszeg = ''; + $class = 'ulezart'; + } else { + $class = 'lezart mind hianyzas'; + } + echo ''; + + // Lezárt igazolatlan késés + $lkigazolatlan = $H[$diakId]['lezárt']['késés']['igazolatlan']['db']; + $lkigazolatlanIdo = $H[$diakId]['lezárt']['késés']['igazolatlan']['ido']; + if ($lkigazolatlan == 0) $class = 'ulezart'; + else $class = 'lezart igazolatlan keses'; + echo ''; + + // Lezárt igazolt késés + $lkigazolt = $H[$diakId]['lezárt']['késés']['igazolt']['db']; + if ($lkigazolt == 0) $class = 'ulezart'; + else $class = 'lezart igazolt keses'; + echo ''; + + // Lezárt igazolatlan késés + $osszeg = intval($lkigazolt) + intval($lkigazolatlan); + if ($osszeg == 0) { + $osszeg = ''; + $class = 'ulezart'; + } else { + $class = 'lezart mind keses'; + } + echo ''; + ## ------ + } + + if (in_array('igazolható',$View)) { + ## Lezárt utáni = Igazolható + + // Igazolható igazolatlan hiányzás + $ihigazolatlan = $H[$diakId]['összes']['hiányzás']['igazolatlan'] - $H[$diakId]['lezárt']['hiányzás']['igazolatlan']; + if ($ihigazolatlan == 0) { + $ihigazolatlan = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato igazolatlan hianyzas'; + } + echo ''; + + // Igazolható igazolt hiányzás + $ihigazolt = $H[$diakId]['összes']['hiányzás']['igazolt'] - $H[$diakId]['lezárt']['hiányzás']['igazolt']; + if ($ihigazolt == 0) { + $ihigazolt = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato igazolt hianyzas'; + } + echo ''; + + // Igazolható összes hiányzás + $osszeg = $iigazolt+$iigazolatlan; + if ($osszeg == 0) { + $osszeg = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato mind hianyzas'; + } + echo ''; + + // Igazolható igazolatlan késés + $ikigazolatlan = $H[$diakId]['összes']['késés']['igazolatlan']['db'] - $H[$diakId]['lezárt']['késés']['igazolatlan']['db']; + $ikigazolatlanIdo = $H[$diakId]['összes']['késés']['igazolatlan']['ido'] - $H[$diakId]['lezárt']['késés']['igazolatlan']['ido']; + if ($ikigazolatlan == 0) { + $ikigazolatlan = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato igazolatlan keses'; + } + echo ''; + + // Igazolható igazolt késés + $ikigazolt = $H[$diakId]['összes']['késés']['igazolt']['db'] - $H[$diakId]['lezárt']['késés']['igazolt']['db']; + if ($ikigazolt == 0) { + $ikigazolt = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato izagolt keses'; + } + echo ''; + + // Igazolható összes késés + $osszeg = $iigazolt+$iigazolatlan; + if ($osszeg == 0) { + $osszeg = ''; + $class = 'uigazolhato'; + } else { + $class = 'igazolhato mind keses'; + } + echo ''; + ## ------ + } + + if (in_array('összes',$View)) { + ## Összes + + // Összes igazolatlan hiányzás + $ohigazolatlan = $H[$diakId]['összes']['hiányzás']['igazolatlan']; + if ($ohigazolatlan == 0) $class = 'uosszes'; + else $class = 'osszes igazolatlan hianyzas'; + echo ''; + + // Összes igazolt hiányzás + $ohigazolt=$H[$diakId]['összes']['hiányzás']['igazolt']; + if ($ohigazolt == 0) $class = 'uosszes'; + else $class = 'osszes igazolt hianyzas'; + echo ''; + + // Összes hiányzás + $osszeg = $ohigazolt+$ohigazolatlan; + if ($osszeg == 0) { + $osszeg = ''; + $class = 'uosszes'; + } else { + $class = 'osszes mind hianyzas'; + } + echo ''; + + // Összes igazolatlan késés + $okigazolatlan = $H[$diakId]['összes']['késés']['igazolatlan']['db']; + $okigazolatlanIdo = $H[$diakId]['összes']['késés']['igazolatlan']['ido']; + if ($okigazolatlan == 0) $class = 'uosszes'; + else $class = 'osszes igazolatlan keses'; + echo ''; + + // Összes igazolt késés + $okigazolt=$H[$diakId]['összes']['késés']['igazolt']['db']; + if ($okigazolt == 0) $class = 'uosszes'; + else $class = 'osszes igazolt keses'; + echo ''; + + // Összes késés + $osszeg = $okigazolt + $okigazolatlan; + if ($osszeg == 0) { + $osszeg = ''; + $class = 'uosszes'; + } else { + $class = 'osszes mind keses'; + } + echo ''; + + // Összes felszerelés hiány + $ofelszereles = $H[$diakId]['összes']['felszerelés hiány']['igazolatlan']; + if ($ofelszereles == 0) $class = 'uosszes'; + else $class = 'osszes felszereles'; + echo ''; + + // Összes felmentés hiány + $ofelmentes = $H[$diakId]['összes']['felmentés']['igazolatlan']; + if ($ofelmentes == 0) $class = 'uosszes'; + else $class = 'osszes felmentes'; + echo ''; + ## ------ + } + + if (in_array('fegyelmi utáni',$View)) { + ## Fegyelmi után + // Fegyelmi utáni igazolatlan hiányzás + $fih = $H[$diakId]['fegyelmi']['hiányzás']['igazolatlan']; + if ($fih == 0) $class = 'ufegyelmi'; + else $class = 'fegyelmi igazolatlan hianyzas'; + echo ''; + + // Fegyelmi utáni igazolatlan késés + $fik = $H[$diakId]['fegyelmi']['késés']['igazolatlan']['db']; + $fikIdo = $H[$diakId]['fegyelmi']['késés']['igazolatlan']['ido']; + if ($fik == 0) $class = 'ufegyelmi'; + else $class = 'fegyelmi igazolatlan keses'; + echo ''; + + // Fegyelmi utáni felszereléshiány + $ff = $H[$diakId]['fegyelmi']['felszerelés']['igazolatlan']; + if ($ff == 0) $class = 'ufegyelmi'; + else $class = 'fegyelmi felszereles'; + echo ''; + ## ------ + } + + if (in_array('fegyelmi fokozatok',$View)) { + ## Fokozatok + + $igazolatlanok_szama = $H[$diakId]['összes igazolatlan']; + if ($igazolatlanok_szama == 0) { + $igazolatlanok_szama = ''; + $class = 'ufokozat'; + } else { + $class = 'fokozat oi igazolatlan'; + } + echo ''; + + // Jelenlegi fegyelmi fokozat + $aktFokozat = intval($H[$diakId]['fegyelmi']['fokozat']); + $hianyzasDb = intval($H[$diakId]['fegyelmi']['hianyzasDb']); + $diakReferenciaDt = $H[$diakId]['fegyelmi']['referenciaDt']; + if ($aktFokozat == 0) $class = 'ufokozat'; + else $class = 'fokozat'; + echo ''; // kapott már + dt + + // Adandó fegyelmi fokozat szempontjából érdekes, már lezárt hiányzások és késésekből, felszereléshiányokból "átváltott" hiányzások + $fegyelmiIgazolatlanDb = $lhigazolatlan; + if (_KESESI_IDOK_OSSZEADODNAK === true) { + $fegyelmiIgazolatlanDb += floor($lkigazolatlanIdo / 45); + } else { + if (intval(_HANY_KESES_IGAZOLATLAN) > 0) + $fegyelmiIgazolatlanDb += floor($lkigazolatlan / intval(_HANY_KESES_IGAZOLATLAN)); + if (intval(_HANY_FSZ_IGAZOLATLAN) > 0) + $fegyelmiIgazolatlanDb += floor($ofelszereles / intval(_HANY_FSZ_IGAZOLATLAN)); + } + // keressük visszafele az első adandó fokozatot... + $j = count($ADAT['összes fokozat'])-1; + while($ADAT['összes fokozat'][$j]['hianyzasDb'] > $fegyelmiIgazolatlanDb && $j >= 0) $j--; + $megerdemeltFokozat = $ADAT['összes fokozat'][$j]['fokozat']; + $megerdemeltBejegyzesTipusId = $ADAT['összes fokozat'][$j]['bejegyzesTipusId']; + + // Fegyelmi utáni igazolatlanok összesítése + $fegyelmi = $fih; + if (_KESESI_IDOK_OSSZEADODNAK === true) { + // a fegyelmikbe beleszámítható az igazolatlanok száma rev2222+ + $fegyelmi += floor($fikIdo / 45); + } else { + if (intval(_HANY_KESES_IGAZOLATLAN) > 0) + $fegyelmi += floor($fik / intval(_HANY_KESES_IGAZOLATLAN)); + if (intval(_HANY_FSZ_IGAZOLATLAN) > 0) + $fegyelmi += floor($ff / intval(_HANY_FSZ_IGAZOLATLAN)); + } + + $_talalat = ($fegyelmi > 0 || $megerdemeltFokozat>$aktFokozat); + + if (($_talalat)&& $_TANEV['statusz']=='aktív') $class = 'fokozat'; + else $class = 'ufokozat'; + echo ''."\n"; + ## ----- + } + + echo ''; + } + # + echo ''."\n"; + + echo '
    '._NEV.''._LEZART.''._IGAZOLHATO.''._OSSZES.''._FEGYELMI_UTANI.''._FEGYELMI_FOKOZATOK.'
    '._HIANYZAS.''._KESES.''._HIANYZAS.''._KESES.''._HIANYZAS.''._KESES.''._FSZ.''._FM.''._H.''._K.''._FSZ.''._O.''._AKTUALIS_FOKOZAT.''._BEIRANDO_FOKOZAT.'
    '._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.''._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.''._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.''._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.''._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.''._IGAZOLATLAN.''._IGAZOLT.''._OSSZES.'
    '._HIANYZASMENTESNAPOKSZAMA.': '.$ADAT['hianyzasmentesNapokSzama'].'
    '; + echo ''; + echo $dAdat['diakNev']; + echo ''; + echo ''.$lhigazolatlan.''.$lhigazolt.''.$osszeg.''.$lkigazolatlan.''.$lkigazolt.''.$osszeg.''.$ihigazolatlan.''.$ihigazolt.''.$osszeg.''.$ikigazolatlan.''.$ikigazolt.''.$osszeg.''.$ohigazolatlan.''.$ohigazolt.''.$osszeg.''.$okigazolatlan.''.$okigazolt.''.$osszeg.''.$ofelszereles.''.$ofelmentes.''.$fih.''.$fik.''.$ff.''.$igazolatlanok_szama.''; + echo $ADAT['fokozat2bejegyzesTipus'][$aktFokozat]['bejegyzesTipusNev']; + echo ''; + + ## FORM + if ( + ($_talalat) && $_TANEV['statusz']=='aktív' + && in_array($dAdat['aktualisStatusz'], array('jogviszonyban van','vendégtanuló')) + ) { + + formBegin(); + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + if ($ADAT['referenciaDt'] == '') echo ''; + else echo ''; + echo ''; + echo ''; + formEnd(); + } + echo '
    '; + + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/diak.phtml b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/diak.phtml new file mode 100644 index 00000000..a886ba3d --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/diak.phtml @@ -0,0 +1,79 @@ + $ev, + 'hó' => $ho + ); + $HO['count']++; + $aktDt = date('Y-m-01',strtotime('next month',strtotime($aktDt))); + } + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + foreach ($Targyak as $targyId => $targyAdat) { + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + /* ------------------- */ + + echo ''."\n"; + } + echo ''."\n"; + + echo '
    '.$diakNev.' '.$_osztalystr.'
    '._TARGY.''._ATLAG.'
      
    '.$targyAdat['targyNev'].''; + for ($j = 0; $j < $HO['count']; $j++) { + $honapJegyei = $targyAdat[$HO[$j]['év']][$HO[$j]['hó']]; + + for ($k = 0; $k < count($honapJegyei); $k++) { + $jegyAdat = $Jegyek['jegyek'][$honapJegyei[$k]]; + $href = href('index.php?page=naplo&sub=osztalyozo&f=jegy&jegyId='.$jegyAdat['jegyId']); + $title = $jegyAdat['tankorNev'].' ('.$jegyAdat['dt'].')'; + echo ''; + echo $Osztalyzatok[$jegyAdat['jegy']]['num']; + echo ' '; + } + } + echo ''.$targyAdat['atlag'].'
    '."\n"; + + } +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/dolgozat.phtml b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/dolgozat.phtml new file mode 100644 index 00000000..92c685d5 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/dolgozat.phtml @@ -0,0 +1,273 @@ +'; + echo ''; + echo ''._DOLGOZATOK.''; + echo ''; + echo ''; + echo ''._DOLGOZAT.''; + echo ''._TANKOR.''; + echo ''._BEJELENTES.''; + echo ''._TERVEZETT.''; + echo ''; + if (count($Dolgozat['dolgozatIds']) > 0) { + for ($i = 0; $i < count($Dolgozat['dolgozatIds']); $i++) { + $dolgozatId = $Dolgozat['dolgozatIds'][$i]; + echo ''; + echo ''; + echo ''; + if ($Dolgozat[$dolgozatId]['dolgozatNev'] != '') echo $Dolgozat[$dolgozatId]['dolgozatNev']; + else echo _NINCS_KITOLTVE; + echo ''; + echo ''; + echo ''; + + $Tankorok = $Dolgozat[$dolgozatId]['tankor']; + $TankorLista = array(); + for ($t = 0; $t < count($Tankorok); $t++) $TankorLista[] = $Tankorok[$t]['tankorNev']; + echo implode('
    ',$TankorLista); + + echo ''; + echo ''; + $_dt = $Dolgozat[$dolgozatId]['bejelentesDt']; + $_dow = date('w', strtotime($_dt)); + echo str_replace('-', '. ', $_dt).'. '; + echo $aHetNapjai[($_dow - 1)]; + echo ''; + echo ''; + $_dt = $Dolgozat[$dolgozatId]['tervezettDt']; + if ($_dt != '0000-00-00' && $_dt != '') { + $_dow = date('w', strtotime($_dt)); + echo str_replace('-', '. ', $_dt).'. '; + echo $aHetNapjai[($_dow - 1)]; + } + echo ''; + echo ''; + flush(); + } + } else { + echo ''; + echo ''._NINCS_DOLGOZAT.''; + echo ''; + } + echo ''; + } + + function putDolgozat($Dolgozat, $valaszthatoTankorok, $Tanarok) { + + global $_TANEV, $Osztalyzatok; + + if (__MODOSITHAT) $disabled = ''; + else $disabled=' disabled="disabled" '; + + // -------------- A dolgozat adatai -------------- // + + formBegin(); + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
    '._DOLGOZAT_ADATAI.'
    '; + if ($disabled == '') echo ''; + echo '
    '._MEGNEVEZES.'
    '._BEJELENTES.''.$Dolgozat['bejelentesDt'].'
    '._TERVEZETT.''; + list($ev,$ho,$nap) = explode('-',$Dolgozat['tervezettDt']); + list($kEv,$semmi) = explode('-',$_TANEV['kezdesDt']); + list($vEv,$semmi) = explode('-',$_TANEV['zarasDt']); + $SEL = array($ev => 'selected="selected"'); + + echo ''; + + echo ''; + + echo ''; + + echo'
    '; + formEnd(); + + echo ''; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + + // tankör választás + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + + echo '
    '._TANKOROK.'
    '."\n"; + formBegin(); + echo ''."\n"; + echo ''."\n"; + echo '
    '."\n"; + echo ''."\n"; + formEnd(); + echo '
    '."\n"; + + // -------------- A dolgozat jegyei -------------- // + + if (__NAPLOADMIN || __VEZETOSEG || __TANAR) { + + $colspan = count($Dolgozat['tankor'])*2; + formBegin(); + + echo ''."\n"; + echo ''."\n"; + echo ''; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + $maxDiakSzam = 0; + for ($j = 0; $j < count($Dolgozat['tankor']); $j++) { + if ($maxDiakSzam < ($_count = count($Dolgozat['tankor'][$j]['diakok']['idk']))) + $maxDiakSzam = $_count; + echo ''; + } + echo ''; + echo ''; + for ($j = 0; $j < count($Dolgozat['tankor']); $j++) { + echo ''; + echo ''; + } + echo ''; + echo ''; + + echo ''; + echo ''; + for ($j = 0; $j < count($Dolgozat['tankor']); $j++) { + $tankorAdat = $Dolgozat['tankor'][$j]; + $tankorId = $tankorAdat['tankorId']; + echo ''; + } + echo ''; + + echo ''; + + echo ''."\n"; + for ($i = 1; $i < $maxDiakSzam; $i++) { + echo ''."\n"; + + for ($j = 0; $j < count($Dolgozat['tankor']); $j++) { + $tankorAdat = $Dolgozat['tankor'][$j]; + $tankorId = $tankorAdat['tankorId']; + if (is_array($Dolgozat['tankor'][$j]['diakok']['nevek'])) { + reset($Dolgozat['tankor'][$j]['diakok']['nevek']); + for ($d = 0; $d < $i; $d++) + list($diakId, $diakAdat) = each($Dolgozat['tankor'][$j]['diakok']['nevek']); + $diakNev = $diakAdat['nev']; + } else { $diakNev = ''; } + echo ''."\n"; + echo ''."\n"; + + } + echo ''."\n"; + } + echo ''."\n"; + + echo '
    '._JEGYEK.'
    '; + echo ''; + echo $Dolgozat['tankor'][$j]['tankorNev']; + echo ''; + echo '
    '._NEV.''._JEGY.'
    '; + echo ''."\n"; + echo '
    '.$diakNev.''; + if (is_array($tankorAdat['jegyek'][$diakId])) { + for ($k = 0; $k < count($tankorAdat['jegyek'][$diakId]);$k++) { + $jegy = $tankorAdat['jegyek'][$diakId][$k]; + $href = href('index.php?page=naplo&sub=osztalyozo&f=jegy&jegyId='.$jegy['jegyId']); + $title = $jegy['dt'].' '.$jegy['megjegyzes']; + echo ''; + echo $Osztalyzatok[$jegy['jegy']]['num'].' '; + echo ''; + } + } + echo '
    '."\n"; + formEnd(); + + } // csak admin, tanár és igazgató láthatja az összes jegyet! + } + + function putDolgozatBejelento($tankorId) { + + formBegin(array('class'=>'dolgozat')); + echo ''; + echo ''; + echo ''; + formEnd(); + + } + +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/jegy.phtml b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/jegy.phtml new file mode 100644 index 00000000..8298bc30 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/jegy.phtml @@ -0,0 +1,135 @@ +href('index.php?page=naplo&sub=osztalyozo&f=jegy'))); + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + echo ''."\n"; + echo ''; + echo ''; + echo ''."\n"; + echo ''; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + + // -------- Óra hozzárendelés -------- // + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + + // -------- Ha dolgozat jegy - a dolgozat adatai -------- // + + if ($jegy['tipus'] > 2) { + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + } + echo '
    '._JEGY_ADATAI.'
    '."\n"; + if (_MODOSITHAT) { + echo ''."\n"; + echo ''."\n"; + } + echo '
    '; + echo ''; + echo $jegy['diakNev']; + echo ''; + echo '
    '."\n"; + echo ''; + $tanarLista = ''; + for ($i = 0; $i < count($jegy['tanár']['idk']); $i++) $tanarLista .= $jegy['tanár'][$i]['tanarNev'].', '; + echo $jegy['tankör'][0]['tankorNev'].' ('.substr($tanarLista, 0, -2).')'; + echo ''."\n"; + echo '
    '."\n"; + + $SEL = array($jegy['jegy'] => ' selected="selected" '); + echo ''."\n"; + + $SEL = array($jegy['tipus'] => ' selected="selected"'); + echo ''."\n"; + + echo ' '.$jegy['dt'].'
    '._MEGJ.''."\n"; + echo ''."\n"; + echo '
    '._ORA.''."\n"; + $SEL = array($jegy['oraId'] => ' selected="selected"'); + echo ''."\n"; + echo '
    '._DOLGOZAT.''."\n"; + $SEL = array($jegy['dolgozatId'] => ' selected="selected"'); + echo ''."\n"; + echo '
    '; + + if ($skin != 'ajax') formEnd(); + + } +?> diff --git a/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/tankor.phtml b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/tankor.phtml new file mode 100644 index 00000000..7e179003 --- /dev/null +++ b/mayor-orig/www/skin/pda/module-naplo/html/osztalyozo/tankor.phtml @@ -0,0 +1,307 @@ + $ev, + 'hó' => $ho, + 'colspan' => 1+count($Jegyek['dolgozatok']['dátum szerint'][$ev][$ho]) + ); + $HO['count']++; +// $colSpan += 1+count($Jegyek['dolgozatok']['dátum szerint'][$ev][$ho]); + $aktDt = date('Y-m-01',strtotime('+1 month',strtotime($aktDt))); + } + + formBegin(array('name'=>'beir')); + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''; + + echo ''; + + echo ''; + + echo ''; + + // bizonyítvány +// echo ''; + + echo ''; +// echo ''; +// foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdat) { +// echo ''; +// } +// echo ''; + echo ''; + + echo ''; + + echo ''; + echo ''; + echo ''; + + echo ''; + + // ---------- Tanulónként a jegyek ------------- // + + echo ''; + + if (is_array($Diakok['nevek'])) foreach ($Diakok['nevek'] as $diakId => $DIAKADAT) { + $_BIZONYITVANY = $Jegyek[$diakId]['bizonyitvany']; + $diakKovetelmeny = $Diakok['adatok'][$diakId][count($Diakok['adatok'][$diakId])-1]['kovetelmeny']; + + echo ''; + + echo ''; + if (__JEGYET_ADHAT) if ($diakKovetelmeny == 'jegy') { + echo ''."\n"; + } else { + echo ''."\n"; + } + // Hónaponként végigmenve + echo ''; + + for ($k = 0; $k < count($Jegyek['dolgozatok']['dátum szerint'][$_ev][$_ho]); $k++) { + $did = $Jegyek['dolgozatok']['dátum szerint'][$_ev][$_ho][$k]; +// if (in_array($tankorId, $Jegyek['dolgozatok'][$did]['tankorIds'])) echo ''; + } + + } + echo ''; + + if ($Jegyek[$diakId]['átlag'] != 0) { + $atlag = number_format($Jegyek[$diakId]['átlag'],2,',',''); + $class = 'atlag'; + } else { + $atlag = ''; + $class = ''; + } + echo ''; + +/* + //Bizonyítvány ($_BIZONYITVANY[1][matematika tanóra]) + $oszlopSzam = 0; + foreach ($_TANEV['szemeszter'] as $szemeszter => $szAdatok) { + $oszlopSzam++; + echo ''."\n"; + } +*/ + echo ''; + + } + +/* + // Dolgozat átlagok + echo ''; + echo ''; + for ($j = 0; $j < $HO['count']; $j++) { + + $_ho = $HO[$j]['hó']; + $_ev = $HO[$j]['év']; + + // Normál jegyek alatt... + echo ''; + for ($k=0;$k'; + $did = $Jegyek['dolgozatok']['dátum szerint'][$_ev][$_ho][$k]; + echo number_format($Jegyek['dolgozatok'][$did]['átlag'],2,',',''); + echo ''; + } + + } + echo ''; + + // Félévi átlagok + echo ''; + + echo ''; +*/ + echo ''; + + echo '
    '."\n"; + echo $Jegyek['tankörök'][$tankorId]['tankorNev']; + echo ' ('.implode(', ',$Jegyek['tanárok']['tanarNevek']).')'; + echo '
    '; + $SEL = array($nevsor => ' selected="selected" '); + echo ''; + echo ''; + echo 'Jegyek'; + echo ''; + echo _ATLAG.'
    '; +// $SEL = array($sulyozas => ' selected="selected"'); +// echo ''; + echo '
    '._BIZONYITVANY.'
    '.$szemeszter.'
    '; + + if (__JEGYET_ADHAT) { + + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + } + echo '
    '; + echo ''; + echo $DIAKADAT['nev']; + echo ''; + echo ''; + echo ''."\n"; + echo ''; + + for ($j = 0; $j < $HO['count']; $j++) { + + $_ho = $HO[$j]['hó']; + $_ev = $HO[$j]['év']; + $_JEGYEK = $Jegyek[$diakId][$_ev][$_ho]['jegyek']; + $_DOGA = $Jegyek[$diakId][$_ev][$_ho]['dolgozat']; + +// echo ''; + for ($k = 0; $k < count($_JEGYEK); $k++) { + $title = ''; + $href = href('index.php?page=naplo&sub=osztalyozo&f=jegy&jegyId='.$_JEGYEK[$k]['jegyId']); + if ($_JEGYEK[$k]['tankorId'] == $tankorId) $class = 'jegy'.$_JEGYEK[$k]['tipus']; + else $class = 'jegy'.$_JEGYEK[$k]['tipus'].'mase'; + $title .= str_replace('-', '.', $_JEGYEK[$k]['dt']) + . ' - '.$Jegyek['tankörök'][$_JEGYEK[$k]['tankorId']]['tankorNev'] + . ' ('; + for ($t = 0; $t < count($Jegyek['tankörök'][$_JEGYEK[$k]['tankorId']]['tanárok']); $t++) { + $title .= $Jegyek['tankörök'][$_JEGYEK[$k]['tankorId']]['tanárok'][$t]['tanarNev'] . ', '; + } + $title = substr($title,0,-2) . ') ' . $_JEGYEK[$k]['megjegyzes']; + echo ''; + echo $Osztalyzatok[$_JEGYEK[$k]['jegy']]['num'] .' '; + echo ''; + } +// echo ''; +// else echo ''; + for ($l = 0; $l < count($_DOGA[$did]); $l++) { + $href = href('index.php?page=naplo&sub=osztalyozo&f=jegy&jegyId='.$_DOGA[$did][$l]['jegyId']); + if ($_DOGA[$did][$l]['tankorId'] == $tankorId) $class = 'jegy'.$_DOGA[$did][$l]['tipus']; + else $class = 'jegy'.$_DOGA[$did][$l]['tipus'].'mase'; + $title = str_replace('-', '.', $_DOGA[$did][$l]['dt']) + . ' - '.$Jegyek['tankörök'][$_DOGA[$did][$l]['tankorId']]['tankorNev'] + . ' ('; + for ($t = 0; $t < count($Jegyek['tankörök'][$_DOGA[$did][$l]['tankorId']]['tanárok']); $t++) { + $title .= $Jegyek['tankörök'][$_DOGA[$did][$l]['tankorId']]['tanárok'][$t]['tanarNev'] . ', '; + } + $title = substr($title,0,-2) . ') ' . $_DOGA[$did][$l]['megjegyzes']; + echo ''; + echo $Osztalyzatok[$_DOGA[$did][$l]['jegy']]['num']; + echo ' '; + } +// echo ''.$atlag.''; + if ( + __JEGYET_ADHAT + && $diakKovetelmeny != 'aláírás' + && (__NAPLOADMIN || count($tanevIdoszak[$szemeszter]['zárás']) > 0) // a szemeszter zárási időszakában vagyunk + ) { + putJegySelect($diakId, 'zaroJegy', 'bizonyítvány', + $_BIZONYITVANY[$szemeszter]['jegy'], + $_BIZONYITVANY[$szemeszter]['megjegyzes'], + $szemeszter, + ($i+$oszlopSzam*count($Diakok['idk']))); + } else { + echo $Osztalyzatok[$_BIZONYITVANY[$szemeszter]['jegy'].'.0']['txt']; + echo ' '.$bizonyitvanyMegjegyzesek[$_BIZONYITVANY[$szemeszter]['megjegyzes']]; + } + echo '
    '._ATLAG.''._ATLAG.''; + if (__JEGYET_ADHAT) echo ''; + echo '
    '; + formEnd(); + + } + + function putJegySelect($diakId, $var, $tipus, $jegy, $megj, $felev, $tabindex = '') { + + global $Osztalyzatok; + + $jegy .= '.0'; + // melyik típushoz melyik megjelenési forma tartozik. + $txt = array( + 'osztályzatok' => 'num', + 'bizonyítvány'=> 'txt', + 'magatartás' => 'magatartás', + 'szorgalom' => 'szorgalom' + ); + if ($tabindex != '') $tabindex_str = 'tabindex="'.$tabindex.'" '; else $tabindex_str = ''; + + echo "\n".''."\n"; + } + +?> diff --git a/mayor-orig/www/skin/rpc/base/html/alert.phtml b/mayor-orig/www/skin/rpc/base/html/alert.phtml new file mode 100644 index 00000000..adda7354 --- /dev/null +++ b/mayor-orig/www/skin/rpc/base/html/alert.phtml @@ -0,0 +1,56 @@ +'.$aType.':'.$aCode.')
    '; + else $msg = $ALERT_MSG[$aCode]; + + // paraméter behelyettesítés + for($i = 0; $i < count($param); $i++) { + $_msg = $msg; + $msg = @str_replace("%$i%",''.($param[$i]).'',$msg); + if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.($param[$i]).','; + } + if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; + if (($aType == 'message') or ($aType == 'page')) { + $title = _ERROR; + $class = 'errorMsg'; + if ($aType == 'page') $showPage = false; + } else { + $title = _INFORMATION; + $class = 'infoMsg'; + } + $msg = ''.$title.': ' . $msg; + if (isset($_GET['showAlert'])) echo '
    '.$msg.'
    '."\n"; + } + + return $showPage; +*/ + + echo 'ERROR'; + var_dump($_SESSION['alert']); + return false; + + } + +?> diff --git a/mayor-orig/www/skin/rpc/base/html/base.phtml b/mayor-orig/www/skin/rpc/base/html/base.phtml new file mode 100644 index 00000000..49a2ce14 --- /dev/null +++ b/mayor-orig/www/skin/rpc/base/html/base.phtml @@ -0,0 +1,23 @@ +sendResponse(); + } + + //function putResponse($DATA) { + // echo json_encode($DATA); + //} + // function formBegin($SET=array('method'=>'post','action'=>''),$SET2=array('print'=>true)) { } + // function formEnd($SET2=array('print'=>true)) { } + +?> diff --git a/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml b/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml new file mode 100644 index 00000000..e3208ad5 --- /dev/null +++ b/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml @@ -0,0 +1,6 @@ + diff --git a/mayor-orig/www/skin/sulix/base/css/base.css b/mayor-orig/www/skin/sulix/base/css/base.css new file mode 100644 index 00000000..fbffc38f --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/css/base.css @@ -0,0 +1,268 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/sulix/base/css/base.css?ver=2719 */ + +/* + Module: base +*/ +@media screen { + + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; } + + a { text-decoration:none; } + + div.errorMsg { margin: 20px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: #00a; } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; } + + #logo { position: absolute; top: 0; + left: 5px; +} + + #head { position: absolute; width: 100%; height: 60px; background: #3496B9 url(../img/powered_by_mayor_small.png) no-repeat right center; } +/* + #egyeb { float: right; padding: 23px 20px; margin-right: 100px; text-align: right; } + #egyeb span { color: white; cursor: pointer; background: #3facc7; padding: 23px 20px; } + #settings { display: none; width: 100px; + margin-top: 5px; position:relative; right: 0px; + background: #f496b9; + } + #egyeb:hover #settings { display: block; } + #settings table { width: 100%; background: #3facc7; margin-top: 23px; border-spacing: 1px;} + #settings td { width: 100%; text-align: left; padding-left: 10px; border-bottom: solid 1px #ffacc7; background: #3496B9; } + #settings td:last-child { border-bottom: none; } + #settings td a { + display: inline-block; width: 100%; + padding: 2px 0px 2px 0px; + text-align: left; text-decoration: none; + color: white; + } + #settings td a:hover { } +*/ + + + #nav, #nav ul { list-style: none; } + #nav { margin: 0; height: 60px; padding-left: 180px; } + #nav li { position: relative; } + + #nav > li { float: left; z-index: 20; min-width: 100px; text-align: center; padding: 20px; height: 20px; background: #47c980; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7; } + #nav li.active { background: #3facc7; } + #nav li a { display: block; padding: 3px 8px; color: white; } + #nav li a:hover { color:#fdb933; } + #nav li:hover > ul, #nav li.over ul { display: block; } +#nav > li.active { padding-right: 0; padding-left: 0; width: 140px; } +#nav > li > a { padding: 23px 8px; position: relative; top: -20px; } + #nav li.nav1szin { background: #3496B9; } + #nav ul.sub { background: #3facc7; } + + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; } + + #nav li.start { + height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px; + background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px; + } + + #poz { list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 5px; } + #poz > li { float: right; padding: 2px; width: auto; } + + #nav1 { z-index: 4; position: absolute; margin-left: 330px; margin-right: 10px; background: rgba(52,150,185,0.6); } + #nav1 div a { padding: 22px 8px 23px 8px; display: inline-block; text-decoration: none; color: #fff; background: #3496B9; margin-top: 1px; } + + #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */} + #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */} + + #nav2 { width: 120px; position: absolute; margin: 0; height: 100%; + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + } + #nav2 ul { margin: 0; padding: 0; list-style: none; } + #nav2 ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2 ul li a { display: block; color: black; font-size: 11px; background: #D2DFE9; padding: 6px 6px; text-decoration: none; } + #nav2 ul li a.aktiv { color: #175970; color: #ee7f00; font-size: 12px; } + #nav2 ul li a:hover { color: white; background: #9abcd8; } + + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; } + #keyHelp td.desc { color: white; text-align: left; } + + div.mayorbody { margin-left: 121px; } +/* + #logo, #head, #nav1, #nav2, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + #nav2 { top: 85px; } + div.mayorbody { margin-top: 85px; } + #nav2 { top: 60px; } + div.mayorbody { margin-top: 60px; } + */ + + #mayorErrorSmall.mayorErrorSmallInfo { +border-bottom: solid 4px rgb(106,128,250); +padding:4px; height:100%; width:100%; +background-color:rgba(250,250,250,0.9); + } + + #mayorErrorSmall.mayorErrorSmallError { +border-bottom: solid 4px red; +padding:4px; height:100%; width:100%; +background-color:rgba(250,250,250,0.9); + } + +} + +form { + background-color: #eeeeee !important; + color: black !important; +} + +form.hiba { + background-color: #eeeeee !important; + color: black !important; +} + +form.kepzes { + background-color: #eeeeee !important; + color: black !important; +} + +form.tanar { + background-color: #eeeeee !important; + color: black !important; +} + +form.terem { + background-color: #eeeeee !important; + color: black !important; +} + +table.toolBar form { + background: #3496b9 !important; +} + +form h2 { + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form h3 { + color: black !important; + font-size: 14px !important; + font-weight: normal !important; + font-style: normal !important; +} + +#mayorbody table th +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.terem h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.hiba h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.export h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.osztalyForm h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.tanar h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.updateTable h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +form.kepzes h1 +{ + background: #d2d2d2 !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 16px !important; + color: black !important; +} + +#mayorbody .toolBar th +{color: white !important; +background: #3496b9 !important; +font-size: 10px !important;} + + + + form.hiba input + form.hiba select + { + margin:2px 10px; + background-color: white; + border: solid 1px rgb(120,220,240); + padding:0px 10px; + color: black; +} \ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/base/html/base.phtml b/mayor-orig/www/skin/sulix/base/html/base.phtml new file mode 100644 index 00000000..5848a7b7 --- /dev/null +++ b/mayor-orig/www/skin/sulix/base/html/base.phtml @@ -0,0 +1,332 @@ + base.php + putValidXHTML() +*/ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpheader(); + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + _debugLayer(); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; +// if (_SULIX_DESIGN !== true) { +// if (defined('_SITE')) echo ' - '._SITE.' - '; +// echo _MAIN_TITLE; +// echo '.'; +// echo _MAYORREV; +// } else { + echo _SITE; +// } + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } +// if (_SULIX_DESIGN !== true) echo ''."\n"; +// else + echo ''; + echo "\n\n"; + +} +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW; + + echo ''."\n"; + + // ------------------------ + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; + + _updateWindow(); + + //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + +// if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; +// else + if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + +echo ''; + + echo "\n"; + echo ''."\n\n"; + + + mayor_menu($MENU,$sessionID,$lang,$skin); +// if (_SULIX_DESIGN !== true) echo ''; +// else + echo ''; + + + echo "\n"; + echo ''."\n\n"; + +} + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + //echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + + +?> diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png new file mode 100644 index 00000000..3816f6de Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png differ diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png new file mode 100644 index 00000000..524d0a83 Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png differ diff --git a/mayor-orig/www/skin/sulix/base/img/favicon.ico b/mayor-orig/www/skin/sulix/base/img/favicon.ico new file mode 100644 index 00000000..5c819e56 Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/favicon.ico differ diff --git a/mayor-orig/www/skin/sulix/base/img/fur.png b/mayor-orig/www/skin/sulix/base/img/fur.png new file mode 100644 index 00000000..f537e6da Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/fur.png differ diff --git a/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..44e007cb Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png new file mode 100644 index 00000000..0f88bfc3 Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png differ diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png new file mode 100644 index 00000000..aa65a706 Binary files /dev/null and b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png differ diff --git a/mayor-orig/www/skin/sulix/module-auth/css/login.css b/mayor-orig/www/skin/sulix/module-auth/css/login.css new file mode 100644 index 00000000..66d76da9 --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-auth/css/login.css @@ -0,0 +1,89 @@ +@media screen { + +#logo, #head, #nav, #nav1, #nav2 { display: none; } +div.mayorbody { margin: 0; padding: 8px; } +#header img { height: 40px; position: relative; top: 5px; left: 25px; } +#header { width: 100%; background: #1A4B5C; height: 50px; } +body { background: #bfbfbf;} +form { width: 960px; margin-left: auto; margin-right: auto; } +div#body { + width: 100%; height: 470px; padding-top: 70px; + background-color: #3497B9; + background-attachment: inherit; + background-image: url('../../base/img/fur.png'); + background-repeat: no-repeat; + background-position: bottom right; +} +table.loginablak { width: 160px; width: 180px; /*height: 178px;*/ background: #1A4B5C; border: #1A4B5C 8px solid; border-radius: 8px;} +table.loginablak thead td { color: #F49430; font-weight: bold; font-size: 15px; font-family: sans-serif; text-align: center; padding-top: 5px; padding-bottom: 5px;} +table.loginablak tbody td { height: 26px; padding-top: 15px; text-align: center; } +table.loginablak div.input { + margin-left: auto; margin-right: auto; + width: 140px; height: 26px; + background-image: url(../../base/img/bejelentkezes_gomb_140x26.png); + background-origin: padding-box; + background-position: 50% 100%; + background-repeat: no-repeat; +} +table.loginablak input[type=text], table.loginablak input[type=password] { + background-color: transparent; border: none; color: #767676; + font-family: sans-serif; font-size: 10px; font-weight: 10px; height: 26px; width: 140px; + /*outline-color: #3C3B37; outline-width: 5px; outline-style: auto; */ padding: 1px 10px; +} +table.loginablak tfoot td { text-align: right; padding: 25px 0px 25px 0px; +} +table.loginablak tfoot select { float: left; background-color: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); /*display: none; */} +table.loginablak tfoot select option { background-color: #1a4b5c; } +table.loginablak tfoot input[type=submit] { +font-weight: bold; font-family: sans-serif; font-size: 10px; +padding: 1px 6px 3px 6px; +width: 66px; height: 28px; +background-attachment: scroll; +background-clip: border-box; +background-color: transparent; +background-image: url(../../base/img/bejelentkezes_gomb_66x28.png); +background-origin: padding-box; +background-position: 50% 100%; +background-repeat: no-repeat; +border: none; +} + +/* +div.mayorbody img { border-width: 0px; } +div.mayorbody h1 {text-align: center; margin: 10px; font-size:20px; } +div.mayorbody h2 {text-align: center; margin: 10px; font-size: 15px; } +div.mayorbody table { font-size: 12px; } +div.mayorbody table.main {width: 100%; border-width: 0px;} +div.mayorbody table.loginablak { + background-color: #ffffff; + border-width: 1px; + border-style: solid; + border-color: #555550; + width:400px} +div.mayorbody td { padding: 2px } +div.mayorbody form { margin: 30px;padding: 0px; } +div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +div.mayorbody select.pp>option { border: none 0px black; } +div.mayorbody input.submit { border: solid 1px #776650; } +div.mayorbody table.loginablak thead td { + background-color: #666690; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + border-bottom: solid 1px white; +div.mayorbody } +div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; } + +div.mayorbody tfoot td { background-color: #888880; text-align: center; } +div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } +div.mayorbody img.aauthImg { + border-top: solid 1px #666690; + border-bottom: solid 1px #888880; + border-left: solid 1px #666690; + border-right: solid 1px #888880; +} +*/ +} \ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/module-auth/html/login.phtml b/mayor-orig/www/skin/sulix/module-auth/html/login.phtml new file mode 100644 index 00000000..87f90756 --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-auth/html/login.phtml @@ -0,0 +1,79 @@ +'post', + 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID , + 'name'=>"loginablak", + 'id'=>'loginablak' + )); + + echo ''; + echo '
    '; + + echo ''; + echo ''; + echo ''; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo '
    '."\n"; + echo 'SuliX Napló'; + echo '
    '."\n"; + + if ($toPolicy == 'parent') { + echo ''."\n"; + } else { + echo ''."\n"; + } + + + echo ''."\n"; + echo '
    '."\n"; + echo '
    '; + echo ''."\n"; + echo '
    '; + echo '
    '."\n"; + echo '
    '; + echo ''."\n"; + echo '
    '; + echo '
    '."\n"; + + echo '
    '."\n"; + formEnd(); + + } + +?> diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css b/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css new file mode 100644 index 00000000..7562ff6f --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/admin/tanevek.css @@ -0,0 +1,17 @@ + + form.intezmeny { background-color: rgb(40,60,120); color: white; margin: 20px; padding: 0px; } + form.intezmeny h2 { + background-color: rgb(20,40,80); + text-align: center; + border: white 1px dotted; + border-width: 1px 0px; + padding: 3px; + } + form.intezmeny div.data { + padding: 1em; + } + input.date { width: 100px; } + + form.intezmeny fieldset p { margin-left: 50px; } + form.intezmeny fieldset label { background-coor: red; padding: 0px 14px 0px 0px; } + form.intezmeny fieldset h3 { color: rgb(255,255,100); } \ No newline at end of file diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css b/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css new file mode 100644 index 00000000..7a91910a --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/naplo.css @@ -0,0 +1,84 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/module-naplo/css/naplo.css?ver=2719 */ + +table.toolBar { width: 95%; max-width: 95%; border-spacing: 0px; margin: 1em auto; overflow: auto; } + table.toolBar form { margin: 0px; padding: 0px; } + table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { border: solid 1px #333333; } + table.toolBar td.gap { width: 50%; border-spacing: 0px; } + table.toolBar td.help { + background-color: silver; + color: black; + border-width: 0px 1px 1px 1px; + border-color: black; + border-style: none solid solid solid; + font-size:smaller; + padding: 3px; +} +table.toolBar tr.first td a img { + display: none; +} + table.toolBar td.toolBarTitle { + background-color: white; + width: 100%; + font-size: 16px; + font-weight: normal; + font-style: normal; +} + #toolBarIntezmeny { + color: red; + border: solid red; + border-width: 1px 0px; + font-size: 10px; + } + + table.toolBar td.toolBarTool { + background-color: #3496b9; + margin: 0px; + padding: 0px; + } + table.toolBar td.toolBarTool table { border-spacing: 0px; width: 100%; } + table.toolBar td.toolBarTool table th { + background-color: #3496b9; + text-align: left; + color: white; + font-size:10px; + padding: 0px 0px 0px 4px; +} + table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; } + table.toolBar td.toolBarTool select { border: 0px; } + table.toolBar th { + background-color: #3496b9; + text-align: center; + color: white; + font-size:10px; + padding: 0px 0px 0px 4px; +} + table.toolBar img { border: none; } + + table.toolBar table.hianyzasOsszegzo { width:100%; font-size:10px; } + table.toolBar table.hianyzasOsszegzo th { + text-align: center !important; + border-style: none none solid none; + border-color: #888888; + border-width: 0px 0px 1px 0px; + } + table.toolBar table.hianyzasOsszegzo td { width: 18%; border-bottom: solid 1px rgb(60,80,100); background-color: #dddddd; text-align: center; } + + form.lapozo input { font-size: 10px; border: solid 1px #555555; } + form button.lapozo { font-size:10px; } + form span.lapozo { color:white; background-color: rgb(90,133,184); padding:1px 5px; border: solid 1px rgb(21,71,123);} + + table.flipper input {height: 38px; width: 16px; color: white; + border-top: solid 1px black; + border-bottom: solid 1px black; + border-left: none; + border-right: none; + background-color: rgb(90,133,184); + } + table.flipper input.step { background-color: rgb(100,100,60); } + table.gomb button { height: 38px; width: 24px; background-color: rgb(90,133,184); border: solid black; border-width: 1px 0px; } + + div.beirasAdatok { text-align: center; } + div.beirasAdatok span { font-weight: bold; font-size: 20pt; vertical-align: middle; } + div.beirasAdatok img { vertical-align: middle; } + + table.toolBar input { font-size: 10px; } diff --git a/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css b/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css new file mode 100644 index 00000000..fb0172cc --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-naplo/css/orarend/orarendTeremModositas.css @@ -0,0 +1,8 @@ + + form.terem { background-color: rgb(100,50,100); color: white; margin: 5px auto; text-align: center; width: 640px; } + form.terem h1 { text-align: center; font-size: 16px; background-color: rgb(80,40,80); padding: 2px; } + form.terem select { margin: 2px; } + form.terem select option.foglalt { color: red; } + form.terem select option.szabad { color: green; } + + diff --git a/mayor-orig/www/skin/sulix/module-password/css/password.css b/mayor-orig/www/skin/sulix/module-password/css/password.css new file mode 100644 index 00000000..66a2fe2a --- /dev/null +++ b/mayor-orig/www/skin/sulix/module-password/css/password.css @@ -0,0 +1,43 @@ + img { border-width: 0px; } + h1 { display: none; text-align: center; margin: 10px; font-size:20px; } + h2 { text-align: center; margin: 10px; font-size: 15px; } + table { font-size: 12px } + table.main {width: 100%; border-width: 0px;} + form table {background-color: #ffffff; border-width: 1px; border-style: solid; border-color: #555550; width:400px} + td { padding: 2px } + form { margin: 30px; padding: 0px; } + input { font-size: 10px; font-family: Verdana,Arial; background-color: #fffff0; } + select.pp { + padding: 0px; margin: 0px; + border: none 0px #778890; + font-size: 12px; + background-color: #eeeee0; + font-family: Verdana,Arial; + } + select.pp>option { border: none 0px black; } + input.submit { border: solid 1px #776650; } + thead td { + background-color: #3496B9; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + } + thead th { + background-color: #3496B9; + color: white; + padding: 2px; + } + tfoot td { + background-color: #c8c8c8; + text-align: center; + } + tbody img { display: none; border: solid 1px #bbddbb; } + td.co { + display: none; + text-align: center; + vertical-align: bottom; + font-family: Verdana,arial; + font-size: 8pt; + } diff --git a/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css b/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css new file mode 100644 index 00000000..71c01b18 --- /dev/null +++ b/mayor-orig/www/skin/sulix/share/css/calendar_date_select.css @@ -0,0 +1,139 @@ +/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/classic/share/javascript/calendar_date_select/stylesheets/calendar_date_select/red.css */ + +.calendar_date_select { + color:white; + border:#777 1px solid; + display:block; + width:195px; + z-index: 1000; +} +/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */ +iframe.ie6_blocker { + position: absolute; + z-index: 999; +} + +.calendar_date_select thead th { + font-weight:bold; + background-color: #E7E8E8; + border-bottom:2px solid black; + color: black !important; +} + +.calendar_date_select .cds_buttons { + text-align:center; + padding:5px 0px; + background-color: #2599fa; +} + +.calendar_date_select .cds_footer { + background-color: #3496b9; + padding:3px; + text-align:center; + border-top-style: solid; + border-top-width: 1px; +} + +.calendar_date_select table { + margin: 0px; + padding: 0px; +} + + +.calendar_date_select .cds_header { + background-color: #ccc; + border-bottom: 2px solid #aaa; + text-align:center; +} + +.calendar_date_select .cds_header span { + font-size:15px; + color: black; + font-weight: bold; +} + +.calendar_date_select select { font-size:11px;} + +.calendar_date_select .cds_header a:hover { + color: white; +} +.calendar_date_select .cds_header a { + width:22px; + height:20px; + text-decoration: none; + font-size:14px; + color:black !important; +} + +.calendar_date_select .cds_header a.prev { + float:left; +} +.calendar_date_select .cds_header a.next { + float:right; +} + +.calendar_date_select .cds_header a.close { + float:right; + display:none; +} + +.calendar_date_select .cds_header select.month { + width:90px; +} + +.calendar_date_select .cds_header select.year { + width:61px; +} + +.calendar_date_select .cds_buttons a { + color: white; + font-size: 9px; +} + + +.calendar_date_select td { + background-color: #3496b9; + font-size:12px; + width: 24px; + height: 21px; + text-align:center; + vertical-align: middle; +} +.calendar_date_select td.weekend { + background-color: #3496b9; +} + +.calendar_date_select td div { + color:#fff; +} +.calendar_date_select td div.other { + color: #3bc1f3; +} +.calendar_date_select td.selected div { + color:black; +} + + +.calendar_date_select tbody td { + border-bottom: 1px solid #550000; +} +.calendar_date_select tbody td.selected { + background-color:white; + color:black; +} + +.calendar_date_select tbody td:hover { + background-color:#ccc; +} + +.calendar_date_select tbody td.today { + border: 1px dashed red; +} + +.calendar_date_select td.disabled div { + color: #440000; +} + +.fieldWithErrors .calendar_date_select { + border: 2px solid red; +} diff --git a/mayor-orig/www/skin/sza2010/base/css/base.css b/mayor-orig/www/skin/sza2010/base/css/base.css new file mode 100644 index 00000000..22a9fd61 --- /dev/null +++ b/mayor-orig/www/skin/sza2010/base/css/base.css @@ -0,0 +1,85 @@ +/* + Module: base +*/ +@import "head.css"; +@media screen { + + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + margin:0px; + padding:0px; +/* background-color: #1d2e50; */ + background-color: white; + background-image: url("/skin/sza2010/base/img/bg.png"); + background-repeat: repeat-x; + } + + /* set default layout! */ + table { font-size: 12px; } + + form { margin: 0px; } + + div#mayorerror { } + + div.mayorbody { + + padding: 0px; + + } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; } + #keyHelp td.desc { color: white; text-align: left; } + + div.mayorfoot { + text-align: center; + font-size: 10px; + width:100%; + } +/* - Alert - */ + + form.mayorAlert { margin: 0px; padding: 0px; } + form.mayorAlert input { display: none; } + div.errorMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #ff0000; + padding: 15px; + } + div.errorMsg span { + font-style: italic; + } + + div.infoMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #0000ff; + padding: 15px; + } + div.infoMsg span { + font-style: italic; + } + + span.alertParam { + color: green; + } +} +@media print { + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + } + div.mayorfoot { + text-align: center; + font-size: 10px; + margin: 5px; + } + div.namepolicy { display: none; } + table.mayorhead { display: none; } +} \ No newline at end of file diff --git a/mayor-orig/www/skin/sza2010/base/css/head.css b/mayor-orig/www/skin/sza2010/base/css/head.css new file mode 100644 index 00000000..5ceacaa4 --- /dev/null +++ b/mayor-orig/www/skin/sza2010/base/css/head.css @@ -0,0 +1,153 @@ +/* + Module: base +*/ +@media screen { + + div.namepolicy { + background-color: + #1d2e50 ; + border-style: none none solid none; + border-width: 1px; + border-color: white; + color: white; + background-image: url("/skin/sza2010/base/img/bg.png"); + background-repeat: repeat-x; + } + div.namepolicy table { font-size: 10px; width:100%; height:23px; } + div.namepolicy table td { width:30%; } + div.namepolicy table td.right { text-align: right; } + div.namepolicy table td.left { text-align: left;} + div.namepolicy table td.help a { background-color:red; color: white; text-decoration: none; font-weight: bold; padding: 2px 5px; display: block; border: solid 1px white;} + div.namepolicy table td.help a:hover { background-color:lightblue; } + div.namepolicy table th { width:40%;} + div.namepolicy span.nev { padding-right: 14px; } + div.namepolicy table td.language span { vertical-align: middle; } + div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; } + #langSelect { vertical-align: middle; padding: 0px; margin: 0px;} + + table.mayorhead { font-size: 10px; margin: 13px 3px 30px 3px;} + + table.mayorhead td.namepolicy { padding: 5px; } + table.mayorhead td.namepolicy table { + vertical-align: center; + font-size: 10px; + border-style: solid; + border-width: 2px ; + border-color: #550670; + background-color: #8877aa; + color: white; + } + +/* Új menü */ + + ul#pagemenu { + padding: 1px; + text-align: left; + list-style-type: none; + margin:1px; + } + ul#pagemenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#pagemenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#pagemenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#pagemenu li.active a { + background-color: #620405; + } + ul#pagemenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* SUB */ + + ul#submenu { + padding: 1px; + text-align: left; +// background-color: #040582; + list-style-type: none; + margin:1px 1px 1px 40px; + } + ul#submenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#submenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#submenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#submenu li.active a { + background-color: #620405; + } + ul#submenu li.active a:hover { + background-color: rgb(140,100,100); + } + +/* f */ + + ul#fmenu { + padding: 1px; + text-align: left; +// background-color: #0405a2; + list-style-type: none; + margin:1px 1px 1px 80px; + } + ul#fmenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + } + ul#fmenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#fmenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#fmenu li.active a { + background-color: #620405; + } + ul#fmenu li.active a:hover { + background-color: rgb(140,100,100); + } + + #changeSkin { + display: inline; + } + #changeSkin .onChangeSubmit { + background-color: #eeeeee; + font-size:9px; + } + +} +@media print { + + div.namepolicy { display: none; } + table.mayorhead { display: none; } + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/sza2010/base/html/alert.phtml b/mayor-orig/www/skin/sza2010/base/html/alert.phtml new file mode 100644 index 00000000..138ac3f3 --- /dev/null +++ b/mayor-orig/www/skin/sza2010/base/html/alert.phtml @@ -0,0 +1,68 @@ +'.$aType.':'.$aCode.')'; + else $msg = $ALERT_MSG[$aCode]; + + // paraméter behelyettesítés + for($i = 0; $i < count($param); $i++) { + $_msg = $msg; + $msg = @str_replace("%$i%",''.($param[$i]).'',$msg); + if ($param[$i] != '' and $_msg == $msg) $pstr .= ''.($param[$i]).','; + } + if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; + if (($aType == 'message') or ($aType == 'page')) { + $title = _ERROR; + $class = 'errorMsg'; + if ($aType == 'page') $showPage = false; + } else { + $title = _INFORMATION; + $class = 'infoMsg'; + } + $msg = ''.$title.': ' . $msg; + echo '
    '.str_replace('***','
    ',$msg).'
    '."\n"; + } + + return $showPage; + + } + +?> diff --git a/mayor-orig/www/skin/sza2010/base/html/base.phtml b/mayor-orig/www/skin/sza2010/base/html/base.phtml new file mode 100644 index 00000000..215a21a4 --- /dev/null +++ b/mayor-orig/www/skin/sza2010/base/html/base.phtml @@ -0,0 +1,310 @@ + base.php + putValidXHTML() +*/ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpHeader(); + + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $page, $sub, $f; + + echo ''; + + // II: SZINT + @$pageArray = $MENU['modules'][$page]; + $aPage = $page; + + if (is_array($pageArray)) { + echo ''."\n"; + } + + // III: SZINT + @$subArray = $MENU['modules'][$page]['sub'][$sub]; + $aSub = $sub; + + if (is_array($subArray)) { + echo '
      '; + + foreach ($subArray as $anF => $items) { + for ($i=0;$i'; + else echo '
    • '; + + if (isset($items[$i]['url']) && $items[$i]['url'] != '') { + if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); + elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); + elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); + else $href = href($items[$i]['url']); + } else { + $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); + } + echo ' '.$items[$i]['txt'].' '; + + echo '
    • '; + } + } + + echo '
    '."\n"; + } + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy; + + _updateWindow(); + + //$imgextra = '-marc15'; + + if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif')) + // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif'; + if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg')) + $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg'; + ## Név, Oldal info, Policy + echo '
    '."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
    '."\n"; + + echo ''.$lang.''."\n"; + + echo ''; + + formBegin(array('id'=>'changeSkin','action'=>href('index.php', array('sessionID','lang')))); + echo ''; + echo ''; + global $POLICIES; + echo ''; + /* Némi javascipt támogatás a session kezelésre ebben a formban */ + $sessionMaxIdleTime=$sessionAlertTime=0; + if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) { + $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000); + if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60)); + } + echo ''; + echo ''; + /* --- */ + formEnd(); + echo ''; + //echo $page; + //if ($sub!='') echo ' » '.$sub; + if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo _SITE; + echo ''; + echo ''._USERCN.''; + echo ''; + echo ''; + if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f"; + echo '?'; + echo '
    '; + echo '
    '."\n"; + ## ------------------------ + echo ''."\n"; + echo ''."\n"; + echo ''; + if (in_array('help',$INSTALLED_MODULES)) { + $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f"; + echo ''; + } + echo "\n
    '; + echo 'MaYoR'; + echo ''; + mayor_menu($MENU,$sessionID,$lang,$skin); + echo ''; + echo ''; + echo ''._HELP.''; + echo ''; + + echo '
    \n"; + +} + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + +?> diff --git a/mayor-orig/www/skin/sza2010/base/img/bg.png b/mayor-orig/www/skin/sza2010/base/img/bg.png new file mode 100644 index 00000000..a124c5df Binary files /dev/null and b/mayor-orig/www/skin/sza2010/base/img/bg.png differ diff --git a/mayor-orig/www/skin/sza2010/base/img/foot.orig.png b/mayor-orig/www/skin/sza2010/base/img/foot.orig.png new file mode 100644 index 00000000..9bccfb27 Binary files /dev/null and b/mayor-orig/www/skin/sza2010/base/img/foot.orig.png differ diff --git a/mayor-orig/www/skin/sza2010/base/img/foot.png b/mayor-orig/www/skin/sza2010/base/img/foot.png new file mode 100644 index 00000000..3d1a92ba Binary files /dev/null and b/mayor-orig/www/skin/sza2010/base/img/foot.png differ diff --git a/mayor-orig/www/skin/sza2010/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/sza2010/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..c2eefd5f Binary files /dev/null and b/mayor-orig/www/skin/sza2010/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/sza2010/base/img/meghivo.png b/mayor-orig/www/skin/sza2010/base/img/meghivo.png new file mode 100644 index 00000000..38f61f13 Binary files /dev/null and b/mayor-orig/www/skin/sza2010/base/img/meghivo.png differ diff --git a/mayor-orig/www/skin/teszt/base/css/base.css b/mayor-orig/www/skin/teszt/base/css/base.css new file mode 100644 index 00000000..0b63c918 --- /dev/null +++ b/mayor-orig/www/skin/teszt/base/css/base.css @@ -0,0 +1,288 @@ +/* + Module: base + A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4) + + mayorlayers + -help + -debug + -takaro + -updateWindow + -keyHelp (table) + -mayorerror + mayorhead + -head + -nav1 + -nav + -poz + -logo (a+img!) + -nav2 + mayorbody + mayorfoot +*/ + +@media screen { + + html { height: 100%; } + html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; } + a { text-decoration:none; } + .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; } + + + /* mayorlayers */ + #debug { + padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid; + position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px; + } + #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;} + + #help { + border-radius: 2px; + box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0); + position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px; + border: 1px solid #888888; background: white; } + #help iframe { width: 1000px; height: 558px; margin: 0; border: none; } + #helpHeader { text-align: center; font-size: 16px; width: 992px; height: 20px; margin: 0px; background: #44cbf8; cursor: pointer; color: white; font-weight: bold; padding: 4px; + border-bottom: #f3f3f3 solid 4px; + } + #hideHelp { + position: absolute; top:4px; right: 4px; + cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 12px; + border: #822 1px solid; border-radius: 2px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); +// box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25); + } + #hideHelp:hover { background-color:red;} + + div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.errorMsg span { font-weight: bold; color: #f00; } + div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); } + div.infoMsg span { font-weight: bold; color: rgb(21,71,123); } + div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; } + + + /* mayorhead */ + /* placeholder */ + #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: #3496B9 no-repeat right center; } + + #mayorhead { } + + #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; } + #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; } + + #nav, #nav ul { list-style: none; } + #nav { z-index: 3; margin: 0; padding-left: 140px; } + #nav li { position: relative; } + #nav > li { float: left; z-index: 20; text-align: center; padding: 0; + background: #3fa79c; border-bottom: 1px solid #D2DFE9; } + #nav > li.active { max-width: 160px; } + #nav > li:hover { z-index: 22; } + #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */} + #nav > li > ul > li > a { margin-left: 10px; } + + #nav li:hover { background: #4fbcd7;} + #nav li.active { background: #3496B9; background: #3facc7; } + + #nav li a { display: block; padding: 3px 10px; color: white; } + #nav > li > a { padding: 0px 20px; line-height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; } + #nav li a:hover { color:#fdb933; } + #nav li:hover > ul { display: block; } + + #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; } + #nav ul.sub { background: #3facc7; } + + #nav ul { display: none; position: absolute; width: 160px; padding: 0px; } + #nav ul span { float: left; margin: 6px 5px; color: white; } + + #nav > li > ul { top: 61px; } + #nav ul > li { background: #3496B9; } + #nav ul li { text-align: left; margin-bottom: 1px; } + #nav ul li a { padding: 6px 10px; } + #nav ul li.active > a { color:#fdb933; } + + #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9} + #nav ul ul a { background: #3facc7; } + #nav ul ul a:hover { background: #4fbcd7; color: white; border-right: solid 4px orange;} /* mod */ + + #nav li.start { /* fogó */ + height: 20px; min-width: 0; padding-right: 0px; padding-left: 6px; + margin-top:20px; + background-color:lightgrey; + border-radius: 0px 50px 50px 0px; border-bottom: 0px; + z-index: 20; + } + + @keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} + @-webkit-keyframes moIn {from {padding-left:6px;}to {padding-left:9px;}} + @keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} + @-webkit-keyframes moOut {from {padding-left:9px;}to {padding-left:6px;}} + + #nav:hover li.start { + animation: moIn 0.1s; -webkit-animation: moIn 0.1s; + } + + #nav li.start:hover { + background: #D2DFE9; + padding-left:9px; + } + + #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; + height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); } + #poz > li { padding: 2px 6px; } + #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; } + #poz > li div.nev span { margin-right: 0px; font-size:12px; } + #poz > li div.nev span:hover { color:#00c0ff; } + #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;} + + #settings { +/* + width: 311px; + margin-top: 5px; position:relative; right: 0px; + background: #eeeeee; + border-width: 0px 1px 1px 1px; + border-style: solid; + border-color: rgb(230,230,230); + border-top: dotted 1px #dddddd; +*/ + + width: 311px; + margin-top: 5px; position:relative; right: 0px; + background: #eeeeee; + border-width: 0px 1px 1px 1px; + border-style: solid; + border-color: rgb(230,230,230); + border-top: dotted 1px #dddddd; + + } + #settings div { + padding: 20px 10px; + border-bottom: 1px solid rgb(230,230,230); + } + #settings div p { margin: 0; padding: 0; text-align: center; } + #settings div p.name { font-weight: bold; } + #settings table { width: 300px; background: rgb(245,245,245);} + #settings td { width: 50%; text-align: center; padding: 10px; } + #settings td a { + display: inline-block; + vertical-align: baseline; line-height: 29px; + position: static; + padding: 0px 8px; height: 29px; margin: 0px 8px; + text-align: center; text-decoration: none; font-weight: bold; font-size: 10px; + background: white; color: #444; + border: solid 1px rgba(0, 0, 0, 0.0976563); + border-radius: 2px; + } + #settings td a:hover { border: white 1px solid; background-color: #44CBF8; color: white; } + + #poz > li span.school { + font-variant: small-caps; + font-size: 14px; + color: white; + letter-spacing: 0.4em; + overflow: hidden; + } + + + #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;} + #nav1 div { background: rgba(52,150,185,0.6); } + #nav1 div a { line-height:60px; padding: 0px 12px 0px 12px; display: inline-block; text-decoration: none; color: #fff; + background: #3496b9; margin-top: 0px; } + #nav1 div a:hover { color: #fdb933; + background-color: ; + box-shadow: inset 0px -3px 0px #44CBF8; + } + #nav1 div a.aktiv { color:#fdb933; } + #nav1 div a.aktiv:hover { color: white; } + + #nav1 div span.onClickHideShow { + display:none; + cursor: pointer; color: white; background: rgba(255,255,255,0.2); line-height:60px; + padding: 0px 12px 0px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; } + + #nav2.vertical { + z-index: 1; width: 140px; margin: 0; height: 100%; + background-color: #D2DFE9; + margin-top: -25px; + padding-top: 25px; + position: fixed; + overflow: auto; + top:83px; + background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%); + } + #nav2.vertical ul { margin: 0; padding: 0; list-style: none; } + #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); } + #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; } + #nav2.vertical ul li a.aktiv { background-color: white; } + #nav2.vertical ul li a:hover { color: white; background: #9abcd8; } + + #nav2.horizontal { + z-index: 1; width: 100%; + margin-top: 0px; + top: 83px; + text-align: center; + padding-top: 5px; padding-bottom: 5px; + position: fixed; + overflow: none; + border-bottom: solid 3px #eeeeee; + background-color: #82bfd5; + color: white; + font-size:x-small; + } + #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; } + #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; } + #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; } + #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; } + #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;} + #nav2.horizontal ul li a:hover { color: white; background: orange; } + #nav2.horizontal:hover { + + } + + div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; } + div.mayorfoot a { color: rgba(52, 150, 185, 0.6);} + div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);} + #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; } + #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 3px solid; border-radius: 10px;} + #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px #3496b9; } + #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;} + #updateWindow #updateCloseButton:hover { background : #eeeeee;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; width: 100px; } + #keyHelp td.desc { color: white; text-align: left; } + + #logo, #head, #nav1, #nav, #poz { position: fixed; } + #head { top: 0; left: 0; } + #nav { top: 0; left: 0; } + #nav1 { top: 0; } + #poz { top: 60px; width: 100%; } + + #mayorbody { padding-top: 1px; padding-right: 0px; + /*margin-left:0px;*/ margin-top: 83px; + } + #mayorbody.leftpad { + margin-left: 141px; } + #mayorbody.toppad { + margin-left: 0px; top:33px; position: relative; + } + + + /* alternates */ + #mayorhead.small #nav1 div a { line-height:30px; } + #mayorhead.small #nav > li > a { line-height:30px;} + #mayorhead.small #head { height:30px;} + #mayorhead.small #poz { height:20px;} + + /* ------------ */ + + +} +@media print { + #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; } +} diff --git a/mayor-orig/www/skin/teszt/base/html/base.phtml b/mayor-orig/www/skin/teszt/base/html/base.phtml new file mode 100644 index 00000000..77e12bc7 --- /dev/null +++ b/mayor-orig/www/skin/teszt/base/html/base.phtml @@ -0,0 +1,407 @@ + base.php + putValidXHTML() +*/ + + require('skin/blue/base/color_schemes.php'); + if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME])) + $_COLORS = $_COLOR_SCHEMES['blue']; + else + $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME]; + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpHeader(); + + if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) { + @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh'])); + } + + html_head($page,$sub,$f,$lang,$skin); + _debugLayer(); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + echo '
    '; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
    '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH, $SSSBB; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + + // debug üzenetek layer-ének lezárása +// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS; + + echo ''."\n"; + + $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login'])); + $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login'])); + // ------------------------ + + echo '
      '; + echo '
    • '; + if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE/*.' - '._MAIN_TITLE.'.'._MAYORREV*/); + echo ''._SCHOOL_NAME.''; + + if ($policy == 'public') { + echo '
      '.$down_svg.' '._LOGIN.''; + echo ''; + echo $loginout_img; + echo ''; + echo ''; + echo '
      '; + } else { + echo '
      '.$down_svg.' '._USERCN.''; + echo ''; + echo $loginout_img; + echo ''; + echo ''; + echo '
      '; + } // policy != punlic +//var_dump(substr($_SERVER["REQUEST_URI"],0,strpos($_SERVER["REQUEST_URI"],'sessionID='))); + + echo '
    • '; + echo '
    '; + + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV; + + _updateWindow(); + _keyHelp(); + + echo '
    '; + + //if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO; + elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + + if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE; +// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) +// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + + echo ''; + + echo "\n"; + echo ''."\n\n"; + + mayor_menu($MENU,$sessionID,$lang,$skin); + + echo ''; + + + echo "\n"; + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal'; + echo ''."\n\n"; + + echo '
    '."\n"; + +} + + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad'; + echo '
    '._MAIN_FOOTER.'
    '."\n\n"; + echo "\n"; +} + + +?> diff --git a/mayor-orig/www/skin/teszt/base/img/MaYoR-star_medium.png b/mayor-orig/www/skin/teszt/base/img/MaYoR-star_medium.png new file mode 100644 index 00000000..50ea66a7 Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/MaYoR-star_medium.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/MaYoR-star_small.png b/mayor-orig/www/skin/teszt/base/img/MaYoR-star_small.png new file mode 100644 index 00000000..b503f4de Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/MaYoR-star_small.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png b/mayor-orig/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png new file mode 100644 index 00000000..a6d02c3b Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/MaYoR_elektronikus_naplo.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/MaYoR_rypple.png b/mayor-orig/www/skin/teszt/base/img/MaYoR_rypple.png new file mode 100644 index 00000000..8bbdfad9 Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/MaYoR_rypple.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/MaYoR_star.png b/mayor-orig/www/skin/teszt/base/img/MaYoR_star.png new file mode 100644 index 00000000..d701f106 Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/MaYoR_star.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/teszt/base/img/mayor_small_ssl.png new file mode 100644 index 00000000..ca42a8d0 Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/mayor_small_ssl.png differ diff --git a/mayor-orig/www/skin/teszt/base/img/school_logo.php b/mayor-orig/www/skin/teszt/base/img/school_logo.php new file mode 100644 index 00000000..19f74ba0 --- /dev/null +++ b/mayor-orig/www/skin/teszt/base/img/school_logo.php @@ -0,0 +1,91 @@ + diff --git a/mayor-orig/www/skin/teszt/base/img/settings.png b/mayor-orig/www/skin/teszt/base/img/settings.png new file mode 100644 index 00000000..272d4c5f Binary files /dev/null and b/mayor-orig/www/skin/teszt/base/img/settings.png differ diff --git a/mayor-orig/www/skin/teszt/module-auth/css/login.css b/mayor-orig/www/skin/teszt/module-auth/css/login.css new file mode 100644 index 00000000..872d000f --- /dev/null +++ b/mayor-orig/www/skin/teszt/module-auth/css/login.css @@ -0,0 +1,46 @@ +@media screen { + +div.mayorbody img { border-width: 0px; } +div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } +div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } +div.mayorbody table { font-size: 12px; } +div.mayorbody table.main {width: 100%; border-width: 0px;} +div.mayorbody table.loginablak { + background-color: #ffffff; + border-width: 1px; + border-style: solid; + border-color: #555550; + width:400px} +div.mayorbody td { padding: 2px } +div.mayorbody form { margin: 30px;padding: 0px; } +div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +div.mayorbody select.pp>option { border: none 0px black; } +div.mayorbody input.submit { border: solid 1px #776650; } +div.mayorbody table.loginablak thead td { + background-color: #666690; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + border-bottom: solid 1px white; +div.mayorbody } +div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; } + +div.mayorbody tfoot td { background-color: #888880; text-align: center; } +div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; } +div.mayorbody img.aauthImg { + border-top: solid 1px #666690; + border-bottom: solid 1px #888880; + border-left: solid 1px #666690; + border-right: solid 1px #888880; +} +#warning { height: 40px; } +#capsLockWarning { + background: #ffffaa; color: #ffaaaa; + text-align: center; font-size: 20px; font-weight: bold; + padding: 20px; margin: 10px auto; width: 300px; +} + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/vakbarat/base/css/base.css b/mayor-orig/www/skin/vakbarat/base/css/base.css new file mode 100644 index 00000000..9bd3ce5f --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/base/css/base.css @@ -0,0 +1,175 @@ +/* Új menü */ + + ul#pagemenu { + padding: 5px; + text-align: left; + background-color: #040562; + list-style-type: none; + margin:0px; + } + ul#pagemenu li { + display: inline; + border-width: 0px 1px 0px 0px; + border-color: #8485a2; + border-style: dotted; + padding: 0px; + margin:10px 0px 10px 0px; + } + ul#pagemenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 3px 10px; + margin: 0px; + } + ul#pagemenu li a:hover { + background-color: yellow; + text-decoration: underline; + color: black; + } + ul#pagemenu li.active a { + background-color: yellow; + color: black; + } + ul#pagemenu li.active a:hover { + background-color: white; + color: black; + + } + +/* SUB */ + + ul#submenu { + padding: 5px; + text-align: left; + background-color: #040582; + list-style-type: none; + border-top: solid 1px #666666; + margin:0px; + } + ul#submenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + padding: 0px 0px; + } + ul#submenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 3px 10px; + margin: 0px; + } + ul#submenu li a:hover { + background-color: yellow; + color: black; + text-decoration: underline; + } + ul#submenu li.active a { + background-color: yellow; + color: black; + padding:3px; + } + ul#submenu li.active a:hover { + background-color: white; + color: black; + + } + +/* f */ + + ul#fmenu { + padding: 5px; + text-align: left; + background-color: #0405a2; + list-style-type: none; + margin:0px; + border-top: solid 1px #666666; + } + ul#fmenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #8485a2; + border-style: dotted; + } + ul#fmenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 3px 10px; + } + ul#fmenu li a:hover { + background-color: rgb(100,100,140); + text-decoration: underline; + } + ul#fmenu li.active a { + background-color: yellow; + color: black; + padding:3px; + } + ul#fmenu li.active a:hover { + background-color: white; + color: black; + } + + #changeSkin { + display: inline; + } + #changeSkin .onChangeSubmit { + background-color: #eeeeee; + font-size:14px; + } + + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + margin:0px; + padding:0px; + background-color: white; + } + + /* set default layout! */ + table { font-size: 12px; } + + form { margin: 0px; } + + div.mayorbody { + + padding: 0px; + + } + + div.mayorfoot { + text-align: center; + font-size: 10px; + width:100%; + } +/* - Alert - */ + + form.mayorAlert { margin: 0px; padding: 0px; } + form.mayorAlert input { display: none; } + div.errorMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #ff0000; + padding: 15px; + } + div.errorMsg span { + font-style: italic; + } + + div.infoMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #0000ff; + padding: 15px; + } + div.infoMsg span { + font-style: italic; + } + + span.alertParam { + color: green; + } + + h1#menu { text-align: left; } + h1#tartalom { text-align: left; } + h1#lablec { text-align: left; } diff --git a/mayor-orig/www/skin/vakbarat/base/html/base.phtml b/mayor-orig/www/skin/vakbarat/base/html/base.phtml new file mode 100644 index 00000000..62f6f4bb --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/base/html/base.phtml @@ -0,0 +1,231 @@ +'; + page($page,$sub,$f,$lang,$skin,$policy); + echo ''; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - Vakbarát '; + echo _MAIN_TITLE; + echo '.'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + //includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + //includeJS($page,$sub,$f,$skin); + if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + +} + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $page, $sub, $f; + + echo ''; + + // II: SZINT + @$pageArray = $MENU['modules'][$page]; + $aPage = $page; + + if (is_array($pageArray)) { + echo ''."\n"; + } + + // III: SZINT + @$subArray = $MENU['modules'][$page]['sub'][$sub]; + $aSub = $sub; + + if (is_array($subArray)) { + echo '
      '; + + foreach ($subArray as $anF => $items) { + for ($i=0;$i'; + else echo '
    • '; + + if (isset($items[$i]['url']) && $items[$i]['url'] != '') { + if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); + elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); + elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); + else $href = href($items[$i]['url']); + } else { + $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); + } + //echo ' '.$items[$i]['txt'].' '; + echo ' '.$items[$i]['txt'].' '; + + echo '
    • '; + } + } + + echo '
    '."\n"; + } + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy; + + _updateWindow(); + _keyHelp(); + + if (date('m')==12) $imgextra = '-santa'; else $imgextra = ''; + + if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png'; + //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif')) + // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif'; + if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg')) + $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg'; + + ## Név, Oldal info, Policy +// echo ''."\n"; + ## ------------------------ + echo '

    Menü

    '; + mayor_menu($MENU,$sessionID,$lang,$skin); + echo '

    Tartalom

    '."\n"; +} + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + echo '

    Lábléc

    '."\n"; + echo ''._SWITCH_TO_CLASSIC_SKIN.''; + echo '
    '._MAIN_FOOTER.'
    '; + echo "\n"; +} + +?> diff --git a/mayor-orig/www/skin/vakbarat/module-auth/css/login.css b/mayor-orig/www/skin/vakbarat/module-auth/css/login.css new file mode 100644 index 00000000..b94c93d3 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-auth/css/login.css @@ -0,0 +1,9 @@ +img { border-width: 0px; } +h1 {text-align: center; margin: 10px; font-size:20px; } +h2 {text-align: center; margin: 10px; font-size: 15px; } +h3 {text-align: center; margin: 10px; font-size: 12px; } +form#login { margin: 30px;padding: 0px; text-align: center; } +input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +select.pp>option { border: none 0px black; } +input.submit { border: solid 1px #776650; } diff --git a/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml b/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml new file mode 100644 index 00000000..c7c54cfa --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml @@ -0,0 +1,55 @@ +'._SITE.''."\n"; + echo '

    '._GREETING.'

    '."\n"; + + formBegin(array('method'=>'post', + 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID , + 'name'=>"loginablak", 'id'=>'login')); + + echo ''; + echo ''; + + echo '

    '."\n"; + echo _LOGIN; + echo '

    '."\n"; + + echo ''; + echo ''."
    \n"; + + echo ''."\n"; + + echo ''."
    \n"; + + echo ''."\n"; + + formEnd(); + +/* + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo '
    '."\n"; + echo _MAYOR_DESC."\n"; + echo '
    '."\n"; +*/ + } + +?> diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/css/haladasi/haladasi.css b/mayor-orig/www/skin/vakbarat/module-naplo/css/haladasi/haladasi.css new file mode 100644 index 00000000..efe8d51a --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/css/haladasi/haladasi.css @@ -0,0 +1,187 @@ + + table.haladasiBejegyzesek { + background-color: rgb(50,60,80); + margin-top: 30px; + width: 98%; + } + table.haladasiBejegyzesek tbody tr:hover td { + background-color: white; + } + table.haladasiBejegyzesek tbody tr td input:focus { + background-color: white !important; + } + table.haladasiBejegyzesek tbody tr td input.gomb:focus { + background-color: red; + } + + table.haladasiBejegyzesek tbody.parosNap { + background-color: #cccccc; + } + table.haladasiBejegyzesek tbody.paratlanNap { + background-color: #eeeeee; + } + table.haladasiBejegyzesek tbody td.ora { + text-align: center; + } + +/* TBODY TH */ + + table.haladasiBejegyzesek tbody th.nincsOra { + background-color: rgb(200,200,200); + color: rgb(100,100,100); + text-align: center; + border: none; + font-weight: normal; + } + table.haladasiBejegyzesek tbody th.nap { + text-align: center; + background-color: #666688; + color: white; + border: none; + } + table.haladasiBejegyzesek tbody.szunet th.nap { + background-color: #778877; + } + table.haladasiBejegyzesek tbody.tanitasNelkul th.nap { + background-color: #aaaa44; + } + +/* --- */ + + table.haladasiBejegyzesek tbody td.dolgozat { + background-color: #ffaa44; + padding-left: 20px; + } + table.haladasiBejegyzesek tbody td.dolgozat a { + text-decoration: none; + color: black; + } + + table.haladasiBejegyzesek tbody td.nincsBeirva { + font-style:italic; + } + + table.haladasiBejegyzesek th { + border-style: none none solid none; + border-width: 0 0 2px 0; + border-color: #556677; + background-color: rgb(50,60,80); + color: rgb(210,215,220); + border-style: solid; + border-width: 1px; + } + table.haladasiBejegyzesek th.fejlec8 { + height: 30px; + text-align: center + } + table.haladasiBejegyzesek th.fejlec8 a { color: white } + + + table.haladasiBejegyzesek td.osztaly { text-align: center; } + table.haladasiBejegyzesek select { + font-family: Verdana,Arial; + background-color: rgb(50,60,80); + color: rgb(210,215,220); + border-style: solid; + border-width: 1px; + } + + input { font-family: Verdana,Arial; color: inherit; } + input.data { border-style: none none solid none; + border-width: 1px; + border-color: #dddddd; + width:85%; + } + input.data:hover { border-bottom: solid 1px #556677; background-color: white } + table.haladasiBejegyzesek tbody.parosNap input.data { border-left: solid 2px #cccccc; } + table.haladasiBejegyzesek tbody.paratlanNap input.data { border-left: solid 2px #eeeeee; } + table.haladasiBejegyzesek tbody.parosNap input.beirva { background-color: #cccccc; } + table.haladasiBejegyzesek tbody.paratlanNap input.beirva { background-color: #eeeeee; } + + table.haladasiBejegyzesek tbody.parosNap input.data.ajaxRequest, + table.haladasiBejegyzesek tbody.paratlanNap input.data.ajaxRequest { border-left: solid 2px orange; } + table.haladasiBejegyzesek tbody.parosNap input.gomb.ajaxRequest, + table.haladasiBejegyzesek tbody.paratlanNap input.gomb.ajaxRequest { background-color: orange; } + table.haladasiBejegyzesek tbody select option.ajaxRequestDone, + table.haladasiBejegyzesek tbody.parosNap input.ajaxRequestDone, + table.haladasiBejegyzesek tbody.paratlanNap input.ajaxRequestDone { border-left: solid 2px green; } + + table.haladasiBejegyzesek tbody.parosNap tr.helyettesit td { background-color: #ccccaa; } + table.haladasiBejegyzesek tbody.paratlanNap tr.helyettesit td { background-color: #eeeecc; } + table.haladasiBejegyzesek tbody.parosNap tr.helyettesit input.beirva { background-color: #ccccaa; } + table.haladasiBejegyzesek tbody.paratlanNap tr.helyettesit input.beirva { background-color: #eeeecc; } + + input.gomb { + border: outset 1px #777777; padding: 0px; margin: 0px; + background-color: #009900; + color: white; + } + + input.rejtettGomb { border: none; background-color: rgb(50,60,80); } + + table.haladasiBejegyzesek a.gomb { + padding: 1px; + background-color: #dddddd; + border: outset 1px #556677; + margin: 2px; + text-decoration: none; + } + table.haladasiBejegyzesek a.gomb:hover { + padding: 1px; + background-color: #556677; + border: outset 1px #dddddd; + margin: 2px; + text-decoration: none; + color: white; + } + + table.haladasiBejegyzesek a { + display: block; + text-align: center; + color: black; + text-decoration: none; + } + table.haladasiBejegyzesek a:hover { + color: green; + text-decoration: underline; + } + + table.haladasiBejegyzesek tr.dolgozat td { + padding: 0px 10px; + background-color: rgb(160,100,120); + } + + table.haladasiBejegyzesek tr.dolgozat td a { + color: white; + text-decoration: none; + } + + table.haladasiBejegyzesek tr.dolgozat td a:hover { + color: rgb(260,200,220); + } + + table.haladasiBejegyzesek tbody tr td.mg { + text-align: center; + } + + table.haladasiBejegyzesek tr td.mg span.latogatott { + background-color: rgb(100,150,100); + color: white; + text-decoration: none; + padding-left:5px; + padding-right:5px; + border-bottom: solid 1px green; + margin:0px; + } + + + form.hetes { + border: solid 1px #008800; + background-color: rgb(100,200,100); text-align: center; color: white; margin: 15px 13px; font-weight: bold; + } + form.hetes input { color: black; border: none; margin: 4px; border: solid 1px #008800; } + form.hetes span { padding-right:2em; } + form.hetes select option { + background-color:# white; + border: solix 1px #00aa00; + } diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/css/hianyzas/ora.css b/mayor-orig/www/skin/vakbarat/module-naplo/css/hianyzas/ora.css new file mode 100644 index 00000000..0b920c4b --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/css/hianyzas/ora.css @@ -0,0 +1,106 @@ + + table.csoportNevsorHianyzok { + background-color: #eeeeee; + color: white; + } + table.csoportNevsorHianyzok thead { background-color: #440055; } + table.csoportNevsorHianyzok thead a { color: white; text-decoration: none } + table.csoportNevsorHianyzok thead a:hover { color: white; text-decoration: underline; } + + table.csoportNevsorHianyzok thead.oraAdat table.oraAdat { + width:100%; + background-color: #eeeeee; + } + table.csoportNevsorHianyzok thead.oraAdat table.oraAdat td { font-weight: normal; } + + table.csoportNevsorHianyzok tfoot { background-color: #440055; } + table.csoportNevsorHianyzok tfoot input { background-color: #eeeeee; } + + table.csoportNevsorHianyzok tbody { + color: black + } + table.csoportNevsorHianyzok tbody a { color: black; text-decoration: none } + table.csoportNevsorHianyzok tbody a:hover { color: black; text-decoration: underline; } + + table.csoportNevsorHianyzok tbody th { + /* background-color: rgb(80,100,120); */ + } + + table.csoportNevsorHianyzok td { text-align: left; } + table.csoportNevsorHianyzok td.késés { text-align: center; } + table.csoportNevsorHianyzok tbody tr:hover { background-color: #ffffff;} + table.csoportNevsorHianyzok td a { color: inherit; } + + table.csoportNevsorHianyzok select { border: solid 1px #888888; background-color: #eeeeee; } + table.csoportNevsorHianyzok select.igazolatlan { color: red } + table.csoportNevsorHianyzok select.igazolt { color: green } + table.csoportNevsorHianyzok td.igazolatlan { color: red } + table.csoportNevsorHianyzok td.igazolt { color: green } + table.csoportNevsorHianyzok th.radio { width: 28px; } + + table.csoportNevsorHianyzok tr td input.perc { + vertical-align: top; + border: solid 1px #aabb99; + text-align: right; + width:1.5em; + } + + + .jelen { + border-color: rgb(100,200,100); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + .hianyzas, .hiányzás { + border-color: rgb(200,100,100); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + .keses, .késés { + border-color: rgb(200,200,100); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + span.perc { + border-color: rgb(200,200,100); + border-width: 1px 1px 1px 1px; + border-style: solid; + background-color: rgb(230,210,130); + color: rgb(100,80,0); + } + + .felszereles_hiany { + color: white; + background-color:blue; + } + + .felmentes { + background-color: #eeeeee; + color: purple; + } + .fbetus { + border-color: rgb(100,100,200); + border-width: 0px 1px 3px 1px; + border-style: solid; + } + + .igazolt { background-color: #008800; } + .igazolatlan { background-color: #880000; } + + + + + table.hianyzasNaptar { + background-color: #778890; + } + + table.hianyzasNaptar {background-color: #778877; } + table.hianyzasNaptar th {background-color: #889988; } + table.hianyzasNaptar a { color: #eeeee0; text-decoration: none } + table.hianyzasNaptar a:hover { background-color: #667766; } + table.hianyzasNaptar td.felszerelesHiany { background-color: rgb(100,100,200); } + + form.vissza { background-color: white; width: 570px; margin: 0px auto; } + form.vissza input { border: none; background-color: white; cursor: pointer; } diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/css/naplo.css b/mayor-orig/www/skin/vakbarat/module-naplo/css/naplo.css new file mode 100644 index 00000000..64f55ecd --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/css/naplo.css @@ -0,0 +1,71 @@ + + table.toolBar { width: 95%; border-spacing: 0px; margin: 1em auto; } + table.toolBar form { margin: 0px; padding: 0px; } + table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { border: solid 1px #333333; } + table.toolBar td.gap { width: 50%; border-spacing: 0px; } + table.toolBar td.toolBarTitle { + background-color: white; + width: 100%; + font-size: 18px; + font-weight: bold; + } + #toolBarIntezmeny, #toolBarHelpButton { + display:none; + } + + table.toolBar td.toolBarTool { + border: solid 1px #666699; + background-color: #666699; + margin: 0px; + padding: 0px; + } + table.toolBar td.toolBarTool table { border-spacing: 0px; width: 100%; } + table.toolBar td.toolBarTool table th { + background-color: rgb(90,133,184); + text-align: left; + color: white; + + padding: 0px 0px 0px 4px; + border-color: rgb(21,71,123); + border-width: 1px 0px; + border-style: solid; + } + table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; } + table.toolBar td.toolBarTool select { border: 0px; } + table.toolBar th { + background-color: rgb(90,133,184); + text-align: center; + color: white; + padding: 0px 0px 0px 4px; + + border-color: rgb(21,71,123); + border-width: 1px 0px 1px 1px; + border-style: solid; + } + table.toolBar img { border: none; } + + table.toolBar table.hianyzasOsszegzo { width:100%; } + table.toolBar table.hianyzasOsszegzo th { + text-align: center !important; + border-style: none none solid none; + border-color: #888888; + border-width: 0px 0px 1px 0px; + } + table.toolBar table.hianyzasOsszegzo td { width: 18%; border-bottom: solid 1px rgb(60,80,100); background-color: #dddddd; text-align: center; } + + form.lapozo input { border: solid 1px #555555; } + + table.flipper input {height: 38px; width: 16px; color: white; + border-top: solid 1px black; + border-bottom: solid 1px black; + border-left: none; + border-right: none; + background-color: rgb(90,133,184); + } + table.flipper input.step { background-color: rgb(100,100,60); } + + div.beirasAdatok { text-align: center; } + div.beirasAdatok span { font-weight: bold; font-size: 20pt; vertical-align: middle; } + div.beirasAdatok img { vertical-align: middle; } + + table.toolBar input { } diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/css/osztalyozo/diak.css b/mayor-orig/www/skin/vakbarat/module-naplo/css/osztalyozo/diak.css new file mode 100644 index 00000000..4028dad7 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/css/osztalyozo/diak.css @@ -0,0 +1,24 @@ + + table.osztalyozo { background-color: rgb(220,220,220); color: white; } + table.osztalyozo a { color: white; text-decoration:none } + table.osztalyozo a:hover { color: white; text-decoration:underline } + table.osztalyozo thead th { background-color: #660077; padding: 2px 4px 2px 4px; } + table.osztalyozo thead th.nev { background-color: #660077; height:30px; } + table.osztalyozo thead td { background-color: #440055; text-align: center; padding: 0px 4px 0px 4px; } + table.osztalyozo thead th.biz { background-color: #224433; } + + table.osztalyozo tfoot th { background-color: rgb(100,120,120); padding: 2px; vertical-align: center; } + table.osztalyozo tfoot th span { padding: 1px 10px; font-weight: normal; background-color: rgb(220,220,220); } + + table.osztalyozo tbody th { background-color: rgb(130,140,150); font-weight: normal; padding: 4px 4px 4px 4px; } + table.osztalyozo tbody th a { color: white; text-decoration: none; } + table.osztalyozo tbody th.atlag { background-color: rgb(100,100,130); padding: 0px 4px 0px 4px; } + table.osztalyozo tbody td { background-color: #eeeeee; } + table.osztalyozo tbody td.biz { background-color: #446655; text-align: center; padding-right:3px; padding-left:3px; } + table.osztalyozo tbody td a { text-decoration: none; } + + table.osztalyozo tbody td a.jegy1, table.osztalyozo tfoot th span.jegy1 { color: blue; } + table.osztalyozo tbody td a.jegy2, table.osztalyozo tfoot th span.jegy2 { color: black; } + table.osztalyozo tbody td a.jegy3, table.osztalyozo tfoot th span.jegy3 { color: green; } + table.osztalyozo tbody td a.jegy4, table.osztalyozo tfoot th span.jegy4 { color: red; } + table.osztalyozo tbody td a.jegy5, table.osztalyozo tfoot th span.jegy5 { color: purple; } diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/css/uzeno/uzeno.css b/mayor-orig/www/skin/vakbarat/module-naplo/css/uzeno/uzeno.css new file mode 100644 index 00000000..ab1e9cf6 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/css/uzeno/uzeno.css @@ -0,0 +1,79 @@ + + + table.uzeno, table.ujUzenet, table.egyUzenet { + width:90%; + background-color: rgb(50,50,100); + margin-top:1em; + margin-bottom:1em; + font-size:large; + } + table.uzeno thead tr th, table.ujUzenet tr th { color: white; border-bottom: solid 1px #ffffff; background-color: rgb(100,100,150); padding:0.5em; } + + table.ujUzenet select { border: solid 1px #888888; } + table.ujUzenet tr td { text-align: center } + table.ujUzenet textarea { width:98%; height: 100px; border: solid 1px rgb(100,100,90); background-color:#eeeeee; } + + table.ujUzenet tr.admin td textarea { background-color: green; color: white; } + + table.uzeno thead tr th.dt { width:180px; } + table.uzeno thead tr th.cimzett { width:200px; } + + table.uzeno tfoot tr th, table.uzeno tfoot tr th a { color:white; } + + table.uzeno tbody tr td { padding-left:4px; background-color: #dddddd; } + table.uzeno tbody tr th { padding-left:4px; text-align:left; font-weight: normal; } + + table.uzeno tbody tr td.content { padding:10px; background-color:#eeeeee; } + table.uzeno tbody tr.uj td { background-color: #eeeeee; } + table.uzeno tbody tr.olvasott td { background-color: #bbbbbb;} + + table.uzeno tbody tr td.face { width:1%; } + + tr.diak th { background-color: #998899;} + tr.tanar th { background-color: #88ccff;} + tr.szulo th { background-color: #ccaabb;} + + tr.diak.asterix th { background-color: #aaaaff;} + tr.tanar.asterix th { background-color: #aaaaff;} + tr.szulo.asterix th { background-color: #aaaaff;} + + tr.munkakozosseg th { background-color: #99aacc;} + tr.tankor th { background-color: #aaccaa; } + tr.tankorSzulo th { background-color: #aacccc; } + + tr.osztaly th { background-color: #bbcc99; } + tr.osztalySzulo th { background-color: #bbcccc; } + tr.osztalyTanar th { background-color: rgb(140,200,100); } + + table.uzeno a { color: black; text-decoration: none;} + table.uzeno a:hover { text-decoration: underline; } + + span.dt { color: #888888; } + a.more { + color: black !important; + background-color: #eeeeee; + text-decoration: none; + border: solid 1px #999999; margin:1px; padding:1px; + height:10px; + } + a.more img { vertical-align: bottom; } + a.more:hover { background-color: white; } + + a.more.uj { background-color: #ffeeaa; } + a.more.olvasott { background-color: #bbcc99; } + + a.del { + color: red !important; + background-color: #880000; + text-decoration: none; + border: solid 1px black; margin:1px; padding:1px; + } + + table.lapozo { width: 80%; } + table.lapozo table { background-color: #cccccc; border: solid 1px #778890; } + table.lapozo table th.title { background-color: navy; color: white; padding-left: 4px; padding-right:4px;} + table.lapozo table td { text-align: center; background-color: #eeeeee; } + table.lapozo table td.aktiv { background-color: #ffffff; font-weight: bold; } + table.lapozo table td.nav { background-color: #aaaaaa; } + table.lapozo a {color:black; text-decoration: none; } + diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/html/haladasi/haladasi.phtml b/mayor-orig/www/skin/vakbarat/module-naplo/html/haladasi/haladasi.phtml new file mode 100644 index 00000000..5800afb9 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/html/haladasi/haladasi.phtml @@ -0,0 +1,457 @@ + +
    X'._TANMENET_RESZLETEI.'
    '; + formBegin(array('action'=>href('index.php?page=naplo&sub=tanmenet&f=tanmenetInfo'), 'class'=>"onSubmitUpdate", 'id'=>"inform")); + echo ''."\n"; + formEnd(); + echo ''."\n"; + + // tankör haladási + echo ''."\n"; + + + if ($ADAT['title']=='') return; + + $FORM = array('action'=>href('index.php?page=naplo&sub=haladasi&f=haladasi'), 'name'=>'haladasiOrabeiras', 'class'=>''); + formBegin($FORM); + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + if ($tankorId != '') echo ''."\n"; + + if (_SHOW_DAYS_FROM > $_TANEV['kezdesDt']) echo ''."\n"; + echo ' '._IDOSZAK.': '.str_replace('-','.',_SHOW_DAYS_FROM) . '. - '. str_replace('-','.', _SHOW_DAYS_TO) .'. '."\n"; + if (_SHOW_DAYS_TO < date('Y-m-d')) echo ''."\n"; + echo '
    '; + + // ------------------------------- + $toTime = strtotime(_SHOW_DAYS_TO); + $fromTime = strtotime(_SHOW_DAYS_FROM); + + if ($order == 'ASC') { + for ($time = $fromTime; $time <= $toTime; $time = strtotime('1 day',$time)) { + + $dt = date('Y-m-d',$time); + $count = count($data[$dt]); + if ($tankorId == '') { + putNap($dt, $data[$dt], $data['napok'][$dt], $data['dolgozatok'], $ADAT['tanitasiNap'][$dt]); + } elseif ($count > 0) { + putTankorNap($dt, $data[$dt], $data['dolgozatok'], $order); + } // kirakjuk-e a napot + + } // for $dt + } else { + for ($time = $toTime; $time >= $fromTime; $time = strtotime('-1 day',$time)) { + + $dt = date('Y-m-d',$time); + $count = count($data[$dt]); + if ($tankorId == '') { + putNap($dt, $data[$dt], $data['napok'][$dt], $data['dolgozatok'], $ADAT['tanitasiNap'][$dt]); + } elseif ($count > 0) { + putTankorNap($dt, $data[$dt], $data['dolgozatok'], $order); + } // kirakjuk-e a napot + + } // for $dt + } + // --------------------------------- + + formEnd(); + + } + + + function putNap($dt, $dNap, $napInfos, $doga, $napInfo2) { + + global $aHetNapjai,$ADAT; + + $time = strtotime($dt); + $count = count($dNap); + + $tipus = $orarendiHet = $megjegyzes = array(); + if (is_array($napInfos)) foreach ($napInfos as $ni) { + if (!in_array($ni['tipus'], $tipus)) $tipus[] = $ni['tipus']; + if ($ni['orarendiHet'] != 0 && !in_array($ni['orarendiHet'], $orarendiHet)) $orarendiHet[] = $ni['orarendiHet']; + if ($ni['megjegyzes'] != '' && !in_array($ni['megjegyzes'], $megjegyzes)) $megjegyzes[] = $ni['megjegyzes']; + } + $tanitasiNap = false; + if (in_array('tanítási nap', $tipus) || in_array('speciális tanítási nap', $tipus)) { + $tanitasiNap = true; + } + + + echo '

    '; + echo str_replace('-','.',$dt) .'. '. $aHetNapjai[date('w',$time)-1]; + if ($napInfo2['napszam']!='' || $napInfo['orarendiHet'] != 0) echo ' ('; + if ($tanitasiNap) { + echo $napInfo2['napszam'] . '. ' . _TANITASI_NAP; + if ($napInfo['orarendiHet'] != 0) echo '/'; + } + if (count($orarendiHet) > 0) echo ' - '.implode('./',$orarendiHet).'. '._HET; + if (count($megjegyzes) > 0) echo ' - '.implode('/', $megjegyzes); + if ($napInfo2['napszam']!='' || $napInfo['orarendiHet'] != 0) echo ')'; + echo '

    '; + + putHaladasiDolgozat($dt,$doga); + + $o = 0; + $_UJORA = array(); + if ($count > 0) { + for ($i=0; $i<$count; $i++) { + while ($o < $dNap[$i]['ora']) { + if (__PLUSZBEIRHAT===true) $_UJORA[] = array('dt'=>$dt, 'ora'=>intval($o)); + $o++; + } + $o=$dNap[$i]['ora']+1; + putOra($dNap[$i]); + } // órák kiírása + for($j=$dNap[$i-1]['ora']+1; $j<=$ADAT['maxOra']; $j++) { + if (__PLUSZBEIRHAT===true) $_UJORA[] =array('dt'=>$dt, 'ora'=>$j); + } + } else { + echo _NINCS_ORAJA.'
    '; + for($j=1; $j<=$ADAT['maxOra']; $j++) { + if (__PLUSZBEIRHAT===true) $_UJORA[] = array('dt'=>$dt, 'ora'=>$j); + } + } + echo '

    '._PLUSZ_FELADATOK.'

    '; + echo '
      '; + for($i=0; $i'; + } + + + function putTankorNap($dt, $dNap, $doga, $order) { + + $time = strtotime($dt); + $count = count($dNap); + + putHaladasiDolgozat($dt,$doga); + + for ($i=0; $i<$count; $i++) { + if ($order == 'DESC') putTankorOra($dNap[$count-$i-1]); + else putTankorOra($dNap[$i]); + } // órák kiírása + + } + + + function putHaladasiDolgozat($dt,$doga) { + + for ($i=0;$i'; + $href = href('index.php?page=naplo&sub=osztalyozo&f=dolgozat&dolgozatId='.$did); + echo ''; + echo _BEJELENTETT_DOLGOZAT . ': '. $doga[$did]['dolgozatNev']; + echo ' (' ; + for ($j=0;$j'; + echo '

      '; + } + + } + + function putOra($dOra) { + + global $ADAT; // --FIXME + $modosithatoOra = modosithatoOra($dOra); + if (!in_array($dOra['tipus'],array('normál','normál máskor'))) { + if ($dOra['tipus'] == 'összevonás') $tipus = 'Ö'; + else $tipus = nagybetus(substr($dOra['tipus'],0,1)); + $tr_class = ' class="helyettesit"'; + } else { + $tipus = ''; + $tr_class = ''; + } + echo ''; + + // ----- óra ---------------------------------- + echo $dOra['ora'].'. '._ORA.': '; + + // ----- Tankör ------------------------------- + // ------------------------------------------------------------------------- + // Csoportok kezelése - Váltható tankörök (egy csoportba és egy tanárhoz tartozó tankörök + // ------------------------------------------------------------------------- + if ( + in_array($dOra['tipus'],array('normál','normál máskor')) // helyettesített óra esetén ne lehessen váltani - bár kirakná a selectet jól... + && is_array($dOra['csoport']) && count($dOra['csoport'])>1 + && $modosithatoOra + ) { + + echo ''; + } else { // nincs választási lehetőség, vagy a módosítási határidő lejárt + echo $dOra['tankorNev']; + } + echo ''."\n"; + echo ''."\n"; + // ------------------------------------------------------------------------- + + // ----- Tanár(ok) ------------------------------- + // Ha egy normál órának több tanára is van, és módosítható az óra, akkor lehet választani a tanárok közül +/* + if (count($dOra['tanar']) > 1 && in_array($dOra['tipus'],array('normál','normál máskor')) && $modosithatoOra) { + $_SEL = array($dOra['ki'] => 'selected="selected" '); + echo ''; + } else { + echo $dOra['kiCn']; + } +*/ + echo ' - '.$dOra['oraszam'].'. '._ORA.'
      '; + + // ----- Leírás --------------------------------- + if ($modosithatoOra) { + if ($dOra['leiras']!='') { // beírva + echo ''; + echo ''; + } else { + echo ''; + echo ''; + } + echo ''; + } else { + if ($dOra['leiras']!='') { + echo $dOra['leiras']; + } else { + echo _NINCS_BEIRVA; + } + } + echo '
      '; + // ----- Hiányzók ------------------------------- + if ( __DIAK) { + $href = href('index.php?page=naplo&sub=hianyzas&f=diak&dt='.$dOra['dt'].'&diakId='.$diakId); + } else { + $href = href('index.php?page=naplo&sub=hianyzas&f=ora&oraId='.$dOra['oraId']); + } + echo '
      '; + echo _HIANYZOK; + echo ''; + echo ''; + } + + + function putTankorOra($dOra) { + + global $aHetNapjai; + + $modosithatoOra = modosithatoOra($dOra); + + if (!in_array($dOra['tipus'],array('normál','normál máskor'))) { +// if (substr($dOra['tipus'],0,6) != 'normál') { + $tipus = nagybetus(substr($dOra['tipus'],0,1)); + $tr_class = ' class="helyettesit"'; + } else { + $tipus = ''; + $tr_class = ''; + } + + echo ''; + + // ----- óra ---------------------------------- + echo str_replace('-','.',$dOra['dt']) .'. '. $aHetNapjai[date('w',strtotime($dOra['dt']))-1].' '; + echo $dOra['ora'].'. '._ORA.': '; + + // ----- Tankör ------------------------------- + // ------------------------------------------------------------------------- + // Csoportok kezelése - Váltható tankörök (egy csoportba és egy tanárhoz tartozó tankörök + // ------------------------------------------------------------------------- + if ( + in_array($dOra['tipus'],array('normál','normál máskor')) // helyettesített óra esetén ne lehessen váltani - bár kirakná a selectet jól... + && is_array($dOra['csoport']) && count($dOra['csoport']) > 1 + && $modosithatoOra + ) { + echo ''; + // Ha egy másik tanár helyettesít, akinek vannak órái ugyanabból a tankör csoportból - akkor a jelenlegi tankorId nincs a select-ben még! + // !?! A másik függvényben a csoportId-t is átadjuk - nem hiba??? + if ($__SEL == '') echo ''; + } else { // nincs választási lehetőség, vagy a módosítási határidő lejárt + echo $dOra['tankorNev']; + } + // ------------------------------------------------------------------------- + +/* + // ----- Tanár(ok) ------------------------------- + // Ha egy normál órának több tanára is van, és módosítható az óra, akkor lehet választani a tanárok közül + if (count($dOra['tanár']['id']) > 1 and $modosithatoOra) { + $_SEL = array($dOra['kiId'] => 'selected="selected" '); + echo ''; + } else { + echo $dOra['kiCn']; + } +*/ + echo ' - '.$dOra['oraszam'].'. '._ORA.'
      '; + + // ----- Leíráás --------------------------------- + if ($modosithatoOra) { + if ($dOra['leiras']!='') { // beírva + echo ''; + echo ''; + } else { + echo ''; + echo ''; + } + echo ''; + } else { + if ($dOra['leiras']!='') { + echo $dOra['leiras']; + } else { + echo _NINCS_BEIRVA; + } + } + echo '
      '."\n"; + + // ----- Hiányzók ------------------------------- + if ( __DIAK) { + $href = href('index.php?page=naplo&sub=hianyzas&f=diak&dt='.$dOra['dt'].'&diakId='.$diakId); + } else { + $href = href('index.php?page=naplo&sub=hianyzas&f=ora&oraId='.$dOra['oraId']); + } + echo ''; + echo _HIANYZOK; + echo ''; + + echo ''."\n"; + + + } + + function putHetesForm($ADAT) { + + formBegin(array('class'=>'hetes')); + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''._HETESEK.''; + for ($k = 1; $k < 3; $k++) { + $SEL = array($ADAT['hetesek'][$k]['diakId'] => ' selected="selected" '); + echo ''."\n"; + } + + echo ''."\n"; + + formEnd(); + + } + + function putUjOra($dOra) { + + global $ADAT; // --FIXME + + if (__TANAR !==true && __VEZETOSEG!==true && __NAPLOADMIN !== true) return false; + if (__NAPLOADMIN ===true || __VEZETOSEG===true) { + $_eredet='órarend'; + if (__PLUSZBEIRHAT!==true + || strtotime($dOra['dt'])>strtotime("+1week") + || (__TANAR ===true && strtotime(_HALADASI_HATARIDO)>strtotime($dOra['dt'])) + ) return false; + } else { + $_eredet='plusz'; + if (__PLUSZBEIRHAT!==true + || strtotime($dOra['dt'])>time() + || (__TANAR ===true && strtotime(_HALADASI_HATARIDO)>strtotime($dOra['dt'])) + ) return false; + } + $_tipus='egyéb'; + + echo '
    • '; + echo $dOra['ora'].'.'; + echo ''; + //echo $ADAT['feladatTipus'][$dOra['feladatTipusId']]['feladatTipusLeiras'].' ('.$dOra['eredet'].')'; + echo '
      '; + echo ''; + echo ''; + echo '
    • '; + } + +?> diff --git a/mayor-orig/www/skin/vakbarat/module-naplo/html/orarend/orarend.phtml b/mayor-orig/www/skin/vakbarat/module-naplo/html/orarend/orarend.phtml new file mode 100644 index 00000000..53e08d09 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-naplo/html/orarend/orarend.phtml @@ -0,0 +1,198 @@ +'; + } + function _putOrarendHead($D) { + for ($i=0; $i'; + } + } + function _putOrarendFoot($D) { + for ($i=0; $i'; + } + } + +*/ + + function putOrarend($ADAT) { + global $aHetNapjai; + + +//echo '
      ';
      +//var_dump($ADAT['orarend']['assoc']);
      +//echo '
      '; + + + if (is_array($ADAT['orarend']['assoc'])) { + + $T = $ADAT['orarend']['assoc']; +/* echo '

      '.$ADAT['toPrint'].'

      '; + echo ''."\n"; + echo ''; + echo ''; + for ($nap=1; $nap<=$ADAT['hetiMaxNap']; $nap++) { + $_th_class = ($ADAT['orarend']['napok'][$nap]['megjegyzes']=='') ? '': 'spec'; + echo ''; + } + echo ''; + echo ''."\n"; + + echo ''."\n"; +//*/ +// echo ''; + + + // napok + for ($nap=1; $nap<=$ADAT['hetiMaxNap']; $nap++) { + + $dt = $ADAT['orarend']['napok'][$nap]['dt']; + echo '

      '.$aHetNapjai[($nap-1)].' ('.$dt.') '.$ADAT['orarend']['napok'][$nap]['megjegyzes'].'

      '; + + echo '
        '; + for($ora=$ADAT['napiMinOra']; $ora<=$ADAT['napiMaxOra']; $ora++) { + + /* ha kell kiírni */ + if ( count($T[$nap][$ora]['orak'])>0 || is_array($ADAT['haladasi']['orak'][$dt][$ora])) { + echo '
      • '.$ora.'. óra'.'
      • '; + } + + $het = 0; + $ORARENDI = array(); + for($i=0; $i'; + $_teremKiir = ($_T['teremId'] != $_valosTeremId) ? ''.$ADAT['termek'][$_T['teremId']]['leiras'].''.$ADAT['termek'][$_valosTeremId]['leiras'].'' : $ADAT['termek'][$_T['teremId']]['leiras']; + $_ferohely = $ADAT['termek'][$_valosTeremId]['ferohely']; + $_letszam = $ADAT['tankorLetszamok'][$_T['tankorId']]; + if ($_T['tankorId']!='') { + echo ''; + echo $ADAT['tankorok'][$_T['tankorId']][0]['tankorNev']; + echo ''; + } else { + echo "$_targyjel : $_osztalyJel : "; + } + echo ', '; + echo ''.$_teremKiir.''; + echo '
        '; + if ($_ORA['kit']!='') { + echo ''; + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + echo ''; + if ($_ORA['ki']!='') echo ' '.$ADAT['tanarok'][$_ORA['ki']]['tanarNev']; + } else { + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + } + if ($_ORA['tipus']!='normál') echo ' '.$_ORA['tipus']; + if (isset($_ORA['oo'])) echo ' °'; // else tervezett + if (in_array($_tankorTipus,array('délutáni','tanórán kívüli'))) echo ' ¹'; + + echo ''; + if (count($T[$nap][$ora]['orak'])>$i+1) echo '
        '; + } + /* és ide jönnek a pluszok */ + $j=0; + if (is_array($ADAT['haladasi']['orak'][$dt][$ora])) foreach ($ADAT['haladasi']['orak'][$dt][$ora] as $_tankorId => $__T) { + if (!is_array($ORARENDI) || !in_array($_tankorId,$ORARENDI)) { + if ($j!=0) echo '
        '; $j++; + $_ORA = $ADAT['haladasi']['orak'][$dt][$ora]; + _putOra($_ORA,$_tankorId); + } + } + + + + + + + + + + + } // $ora++ + echo '
      '; + } // $nap++ + + + + + } else { + putOrarendPlain($ADAT); + } + + + } + + function putOrarendPlain($ADAT) { + if (is_array($ADAT['orarend']['orarendiOra'])) { + foreach($ADAT['orarend']['orarendiOra'] as $het => $T) { + echo '
      '; + echo ''; + echo ($ADAT['orarend']['napok'][$nap]['megjegyzes']=='') ? $aHetNapjai[($nap-1)] : $ADAT['orarend']['napok'][$nap]['megjegyzes']; + echo '
      '.$het.'. heti órarend
      '."\n"; + echo ''; + for($ora=$ADAT['napiMinOra']; $ora<=$ADAT['napiMaxOra']; $ora++) { // FIXME (getMinOra, getMaxOra konstansok!???) + echo ''; + echo ''; + for ($nap=1; $nap<=$ADAT['hetiMaxNap']; $nap++) { // FIXME (getMaxNap) + echo ''."\n"; + } + echo ''."\n"; + } + echo '
      '.$het.'. heti órarend
      '.$ora.''; + $X = $ADAT['orarend']['orarendiOra'][$het][$nap][$ora]; + + for ($i=0; $i'; + echo $X[$i]['targyJel'].' : '; + echo $X[$i]['osztalyJel'].' : '; + echo $X[$i]['teremId']; + echo ''; + } + echo '
      '."\n\n\n\n"; + } + } + } + + function _putOra($ORA,$_tankorId) { + global $ADAT; + if ($_tankorId=='') return false; + $_ORA = $ORA[$_tankorId]; + $_tipusClass = str_replace(' ','_',$_ORA['tipus']); + $_eredetClass = $_ORA['eredet']; + echo '
      '; + + echo ''; + echo $ADAT['tankorok'][$_ORA['tankorId']][0]['tankorNev']; + echo ''; + + echo ', '.$ADAT['termek'][$_ORA['teremId']]['leiras']; + + echo '
      '; + + echo ''; + echo $ADAT['tanarok'][$_T['tanarId']]['tanarNev']; + echo ''; + if ($_ORA['ki']!='') echo ' '.$ADAT['tanarok'][$_ORA['ki']]['tanarNev']; + + if (isset($_ORA['oo'])) echo ' °'; // else tervezett + + echo '
      '; + + } + + +?> diff --git a/mayor-orig/www/skin/winter/base/css/base.css b/mayor-orig/www/skin/winter/base/css/base.css new file mode 100644 index 00000000..c292014e --- /dev/null +++ b/mayor-orig/www/skin/winter/base/css/base.css @@ -0,0 +1,85 @@ +/* + Module: base +*/ +@import "head.css"; +@media screen { + + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + margin:0px; + padding:0px; + background-color: white; + background-image: url("/skin/winter/base/img/bg2.jpg"); + background-repeat: repeat-x; + } + + /* set default layout! */ + table { font-size: 12px; } + + a { color: #00a000; } + + form { margin: 0px; } + + div.mayorbody { + + padding: 0px; + + } + + div.mayorfoot { + text-align: center; + font-size: 10px; + width:100%; + } +/* - Alert - */ + + form.mayorAlert { margin: 0px; padding: 0px; } + form.mayorAlert input { display: none; } + div.errorMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #ff0000; + padding: 15px; + } + div.errorMsg span { + font-style: italic; + } + + div.infoMsg { + margin: 20px 20%; + background-color: #eeffd0; + border: solid 2px #0000ff; + padding: 15px; + } + div.infoMsg span { + font-style: italic; + } + + span.alertParam { + color: green; + } + + #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); } + #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;} + #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px; + border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4); + } + #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; } + #keyHelp td.key { color: yellow; text-align: right; } + #keyHelp td.desc { color: white; text-align: left; } + +} +@media print { + html body { + font-family: Verdana, sans-serif; + font-size: 12px; + } + div.mayorfoot { + text-align: center; + font-size: 10px; + margin: 5px; + } + div.namepolicy { display: none; } + table.mayorhead { display: none; } +} \ No newline at end of file diff --git a/mayor-orig/www/skin/winter/base/css/head.css b/mayor-orig/www/skin/winter/base/css/head.css new file mode 100644 index 00000000..658e9b4b --- /dev/null +++ b/mayor-orig/www/skin/winter/base/css/head.css @@ -0,0 +1,154 @@ +/* + Module: base +*/ +@media screen { + + div.namepolicy { + + border-style: none none solid none; + border-width: 1px; + border-color: #666666; + } + div.namepolicy table { font-size: 10px; width:100%; } + div.namepolicy table td { width:40%; } + div.namepolicy table td.right { text-align: right; } + div.namepolicy table td.right span.nev { color: #ffffff; font-weight: bold; } + div.namepolicy table td.right img { border: none; margin: 0px 1px;} + div.namepolicy table td.left { text-align: left;} + div.namepolicy table td.help a { background-color:#ffffff; text-decoration: none; font-weight: bold; padding: 2px 5px; color: rgb(80,60,40); display: block; } + div.namepolicy table td.help a:hover { background-color:#bec87c; } + div.namepolicy table th { width:20% } + div.namepolicy span.nev { padding-right: 14px; } + div.namepolicy table td.language span { vertical-align: middle; } + div.namepolicy table td.language img { margin: 0px 0px 0px 4px; height: 10px; border: solid 1px #777777; } + #langSelect { vertical-align: middle; padding: 0px; margin: 0px;} + + table.mayorhead { font-size: 10px; margin: 3px 3px 20px 3px;} + + table.mayorhead td.namepolicy { padding: 5px; } + table.mayorhead td.namepolicy table { + font-size: 10px; + border-style: solid; + border-width: 2px ; + border-color: #550670; + background-color: #8877aa; + color: white; + } + +/* Új menü */ + + ul#pagemenu { + padding: 1px; + text-align: left; + background-color: darkcyan; + list-style-type: none; + margin:1px; + } + ul#pagemenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #007777; + border-style: dotted; + padding: 0px; + } + ul#pagemenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#pagemenu li a:hover { + background-color: #004444; + text-decoration: underline; + } + ul#pagemenu li.active a { + background-color: #920405; + } + ul#pagemenu li.active a:hover { + background-color: rgb(200,0,0); + } + +/* SUB */ + + ul#submenu { + padding: 1px; + text-align: left; + background-color: #006666; + list-style-type: none; + margin:1px 1px 1px 40px; + } + ul#submenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #84a285; + border-style: dotted; + padding: 0px; + } + ul#submenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; } + ul#submenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#submenu li a:hover { + background-color: #003333; + text-decoration: underline; + } + ul#submenu li.active a { + background-color: #920405; + } + ul#submenu li.active a:hover { + background-color: rgb(200,0,0); + } + +/* f */ + + ul#fmenu { + padding: 1px; + text-align: left; + background-color: #005555; + list-style-type: none; + margin:1px 1px 1px 80px; + } + ul#fmenu li { + display: inline; + border-width: 0px 0px 0px 1px; + border-color: #84a285; + border-style: dotted; + padding: 0px; + } + ul#fmenu li.onClickHideShow { color: rgb(255,255,255); padding: 0px 2px; cursor: pointer; } + ul#fmenu li a { + color: rgb(255,255,255); + text-decoration: none; + padding: 0px 5px; + margin: 0px; + } + ul#fmenu li a:hover { + background-color: #005555; + text-decoration: underline; + } + ul#fmenu li.active a { + background-color: #920405; + } + ul#fmenu li.active a:hover { + background-color: rgb(200,0,0); + } + + + #changeSkin { + display: inline; + } + #changeSkin .onChangeSubmit { + background-color: #ffffff; + font-size:9px; + } + +} +@media print { + + div.namepolicy { display: none; } + table.mayorhead { display: none; } + +} \ No newline at end of file diff --git a/mayor-orig/www/skin/winter/base/html/base.phtml b/mayor-orig/www/skin/winter/base/html/base.phtml new file mode 100644 index 00000000..c004bf64 --- /dev/null +++ b/mayor-orig/www/skin/winter/base/html/base.phtml @@ -0,0 +1,314 @@ + base.php + putValidXHTML() +*/ + + +// ------------------------------------------------------------------- +// html_base() : a html oldal szerkezete +// ------------------------------------------------------------------- + +function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + + _httpHeader(); + html_head($page,$sub,$f,$lang,$skin); + html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin); + _debugLayer(); + + echo '
      '; + page($page,$sub,$f,$lang,$skin,$policy); + echo '
      '; + html_mayor_foot(); +} + +// ------------------------------------------------------------------- +// html_head() : html fejlec kiirasa +// ------------------------------------------------------------------- + +function html_head($page,$sub,$f,$lang,$skin) { + + global $INCLUDES, $SSSHH; + + if ($f == '') $f = $page; + ## ---------------------------------------------- + ## Note http://hixie.ch/advocacy/xhtml + ## But this is crazy! Using Doctype sniffing instead... + ## Also read: http://www.mozilla.org/docs/web-developer/faq.html + ## header('Content-type: application/xhtml+xml'); + ## ----------------------------------------------- + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''; + if (defined('_SITE')) echo ' - '._SITE.' - '; + echo _MAIN_TITLE; + echo ' r'; + echo _MAYORREV; + echo ''."\n"; + includeCSS($page,$sub,$f,$skin); + includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices + includeJS($page,$sub,$f,$skin); + if ($SSSHH!=null && $SSSHH!='') echo $SSSHH; + + if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + echo ''."\n"; + echo "\n\n"; + +} + + +// ------------------------------------------------------------------- +// mayor_menu(): a menü kiiratása +// ------------------------------------------------------------------- + +function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) { + + global $page, $sub, $f; + + echo ''; + + // II: SZINT + @$pageArray = $MENU['modules'][$page]; + $aPage = $page; + + if (is_array($pageArray)) { + echo ''."\n"; + } + + // III: SZINT + @$subArray = $MENU['modules'][$page]['sub'][$sub]; + $aSub = $sub; $rejtett = false; + + if (is_array($subArray)) { + echo '
        '; + + foreach ($subArray as $anF => $items) { + for ($i=0;$i'; + elseif ($items[$i]['rejtett']) { echo '
      • '; + + if (isset($items[$i]['url']) && $items[$i]['url'] != '') { + if ($items[$i]['url'][0] == '&') $href = href("index.php?page=$aPage&sub=$aSub&f=$anF".$items[$i]['url']); + elseif (substr($items[$i]['url'],0,4) == 'http') $href = href($items[$i]['url'], array()); + elseif (isset($items[$i]['get']) && is_array($items[$i]['get'])) $href = href($items[$i]['url'], $items[$i]['get']); + else $href = href($items[$i]['url']); + } else { + $href = href("index.php?page=$aPage&sub=$aSub&f=$anF"); + } + echo ' '.$items[$i]['txt'].' '; + + echo '
      • '; + } + } + if ($rejtett) { + echo '
      • ⟩⟩
      • '; + echo ''; + } + echo '
      '."\n"; + } + +} + +// ------------------------------------------------------------------- +// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated) +// ------------------------------------------------------------------- + +function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) { + + global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy; + + + _updateWindow(); + _keyHelp(); + + if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.png')) + $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.png'; + //if (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl.gif')) + // $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl.gif'; + if (!file_exists($HELP_LOGO = 'skin/'.$skin.'/module-help/img/help_small.jpg')) + $HELP_LOGO = 'skin/'._DEFAULT_SKIN.'/module-help/img/help_small.jpg'; + ## Név, Oldal info, Policy + echo '
      '."\n"; + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
      '."\n"; + + echo ''.$lang.''."\n"; + + echo ''; + + echo '
      '; + echo ''; + global $POLICIES; + echo ''; + + echo '
      '; + echo '
      '; + #echo $page; + #if ($sub!='') echo ' » '.$sub; + // --- csak egy próbálkozás!! --------------- + // Szerver idő... + //if (file_exists('skin/classic/module-kellekek/html/clock.phtml')) + // include('skin/classic/module-kellekek/html/clock.phtml'); + + if (is_array(@$INCLUDES['html_mayor_head']['global']['center'])) foreach ($INCLUDES['html_mayor_head']['global']['center'] as $key => $include) { + if (file_exists("skin/$skin/$include")) { + include("skin/$skin/$include"); + } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) { + include('skin/'._DEFAULT_SKIN.'/'.$include); + } + } + // --- vége a próbálkozásnak ---------------- + echo ''; + echo ''._USERCN.''; + echo ''; + echo ''.$policy.''; + echo ''; + if (isset($sub) && $sub != '') $psf = "$page:$sub:$f"; else $psf = "$page:$f"; + echo '?'; + echo '
      '; + echo '
      '."\n"; + ## ------------------------ + echo ''."\n"; + echo ''."\n"; + echo ''; + if (in_array('help',$INSTALLED_MODULES)) { + $link = "index.php?page=help&hpage=$page&hsub=$sub&hf=$f"; + echo ''; + } + echo "\n
      '; + echo 'MaYoR'; + echo ''; + mayor_menu($MENU,$sessionID,$lang,$skin); + echo ''; + echo ''; + echo ''._HELP.''; + echo ''; + + echo '
      \n"; + +} + +// ------------------------------------------------------------------- +// html_mayor_foot() : lablec kiirasa ( ) +// ------------------------------------------------------------------- + +function html_mayor_foot() { + echo '
      '._MAIN_FOOTER.'
      '; + echo "\n"; +} + + + +?> diff --git a/mayor-orig/www/skin/winter/base/img/bg.gif b/mayor-orig/www/skin/winter/base/img/bg.gif new file mode 100644 index 00000000..54e912c0 Binary files /dev/null and b/mayor-orig/www/skin/winter/base/img/bg.gif differ diff --git a/mayor-orig/www/skin/winter/base/img/bg2.gif b/mayor-orig/www/skin/winter/base/img/bg2.gif new file mode 100644 index 00000000..38f1d0d1 Binary files /dev/null and b/mayor-orig/www/skin/winter/base/img/bg2.gif differ diff --git a/mayor-orig/www/skin/winter/base/img/bg2.jpg b/mayor-orig/www/skin/winter/base/img/bg2.jpg new file mode 100644 index 00000000..33e9a7c9 Binary files /dev/null and b/mayor-orig/www/skin/winter/base/img/bg2.jpg differ diff --git a/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif b/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif new file mode 100644 index 00000000..378ffb88 Binary files /dev/null and b/mayor-orig/www/skin/winter/base/img/mayor_small_ssl.gif differ diff --git a/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif b/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif new file mode 100644 index 00000000..635e4f7c Binary files /dev/null and b/mayor-orig/www/skin/winter/base/img/mayor_small_winter.gif differ diff --git a/mayor-orig/www/skin/winter/module-auth/css/login.css b/mayor-orig/www/skin/winter/module-auth/css/login.css new file mode 100644 index 00000000..f4cab44b --- /dev/null +++ b/mayor-orig/www/skin/winter/module-auth/css/login.css @@ -0,0 +1,39 @@ +@media screen { + img { border-width: 0px; } + h1 { text-align: center; margin: 10px; font-size:20px; } + h2 { text-align: center; margin: 10px; font-size: 15px; } + table { font-size: 12px } + table.main {width: 100%; border-width: 0px;} + table.loginablak {background-color: #ffffff; border-width: 1px; border-style: solid; border-color: #555550; width:400px} + td { padding: 2px } + form { margin: 30px; padding: 0px; } + input { font-size: 10px; font-family: Verdana,Arial; background-color: #fffff0; } + select.pp { + padding: 0px; margin: 0px; + border: none 0px #778890; + font-size: 12px; + background-color: #eeeee0; + font-family: Verdana,Arial; + } + select.pp>option { border: none 0px black; } + input.submit { border: solid 1px #776650; } + thead td { + background-color: #a00000; + text-align: center; + font-family: Verdana,arial; + font-size: 10pt; + font-weight: bold; + color: white; + } + tfoot td { + background-color: #888880; + text-align: center; + } + form.loginablak tbody img { border: solid 1px #bbddbb; } + td.co { + text-align: center; + vertical-align: bottom; + font-family: Verdana,arial; + font-size: 8pt; + } +} \ No newline at end of file diff --git a/mayor-orig/www/skin/winter/module-naplo/css/naplo.css b/mayor-orig/www/skin/winter/module-naplo/css/naplo.css new file mode 100644 index 00000000..432a3f41 --- /dev/null +++ b/mayor-orig/www/skin/winter/module-naplo/css/naplo.css @@ -0,0 +1,76 @@ + + table.toolBar { width: 90%; border-spacing: 0px; margin: 1em auto; } + table.toolBar form { margin: 0px; padding: 0px; } + table.toolBar tr.first td.toolBarTitle, table.toolBar tr.first td.toolBarTool { border: solid 1px #333333; } + table.toolBar td.gap { width: 50%; border-spacing: 0px; } + table.toolBar td.help { + background-color: #005566 ; + color: white; + border-width: 0px 1px 1px 1px; + border-color: black; + border-style: none solid solid solid; + font-size:smaller; + } + table.toolBar td.toolBarTitle { + background-color: white; + width: 100%; + font-size: 20px; + font-weight: bold; + } + #toolBarIntezmeny { + color: red; + border: solid red; + border-width: 1px 0px; + font-size: 10px; + } + + table.toolBar td.toolBarTool { + border: solid 1px #009999; + background-color: #007788; + margin: 0px; + padding: 0px; + } + table.toolBar td.toolBarTool table { border-spacing: 0px; width: 100%; } + table.toolBar td.toolBarTool table th { + background-color: #00aabb; + text-align: left; + color: white; + font-size:10px; + padding-left: 4px; + border-color: #006677; + border-width: 1px 0px; + border-style: solid; + } + table.toolBar input.toolSubmit { vertical-align: middle; border: 0px none; } + table.toolBar td.toolBarTool select { border: 0px; } + table.toolBar th { + background-color: #00aabb; + text-align: center; + color: white; + font-size:10px; + padding-left: 4px; + + border-color: rgb(21,123,71); + border-width: 1px 0px 1px 1px; + border-style: solid; + } + table.toolBar img { border: none; } + + table.toolBar table.hianyzasOsszegzo { width:100%; font-size:10px; } + table.toolBar table.hianyzasOsszegzo th { + text-align: center !important; + border-style: none none solid none; + border-color: #888888; + border-width: 0px 0px 1px 0px; + } + table.toolBar table.hianyzasOsszegzo td { width: 18%; border-bottom: solid 1px rgb(60,80,100); background-color: #dddddd; text-align: center; } + + form.lapozo input { font-size: 10px; border: solid 1px #005555; } + + table.flipper input {height: 36px; width: 18px; color: white; border: solid 1px #006677; background-color: #00aabb; } + table.flipper input.step { background-color: #00aabb; } + + div.beirasAdatok { text-align: center; } + div.beirasAdatok span { font-weight: bold; font-size: 20pt; vertical-align: middle; } + div.beirasAdatok img { vertical-align: middle; } + diff --git a/mayor-orig/www/static/hu_HU/legal/pp.html b/mayor-orig/www/static/hu_HU/legal/pp.html new file mode 100644 index 00000000..8c387483 --- /dev/null +++ b/mayor-orig/www/static/hu_HU/legal/pp.html @@ -0,0 +1,22 @@ +
      Privacy Policy
      Google AdSense
      COPPA
      CAN-SPAM
      Our Contact Information
      This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website.

      What personal information do we collect from the people that visit our blog, website or app?

      When ordering or registering on our site, as appropriate, you may be asked to enter your email address or other details to help you with your experience.

      When do we collect information?

      We collect information from you when you or enter information on our site.

      Login Services for MaYoR
      How do we use your information?

      We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways:


      Do we use 'cookies'?

      Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow) that enables the site's or service provider's systems to recognize your browser and capture and remember certain information. For instance, we use cookies to help us remember and process the items in your shopping cart. They are also used to help us understand your preferences based on previous or current site activity, which enables us to provide you with improved services. We also use cookies to help us compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future.

      We use cookies to:
            Understand and save user's preferences for future visits.

      You can choose to have your computer warn you each time a cookie is being sent, or you can choose to turn off all cookies. You do this through your browser settings. Since browser is a little different, look at your browser's Help Menu to learn the correct way to modify your cookies.

      If users disable cookies in their browser:

      If you turn cookies off, Some of the features that make your site experience more efficient may not function properly.Some of the features that make your site experience more efficient and may not function properly.


      Google

      Google's advertising requirements can be summed up by Google's Advertising Principles. They are put in place to provide a positive experience for users. https://support.google.com/adwordspolicy/answer/1316548?hl=en

      We use Google AdSense Advertising on our website.

      Google, as a third-party vendor, uses cookies to serve ads on our site. Google's use of the DART cookie enables it to serve ads to our users based on previous visits to our site and other sites on the Internet. Users may opt-out of the use of the DART cookie by visiting the Google Ad and Content Network privacy policy.

      We have implemented the following:

      We, along with third-party vendors such as Google use first-party cookies (such as the Google Analytics cookies) and third-party cookies (such as the DoubleClick cookie) or other third-party identifiers together to compile data regarding user interactions with ad impressions and other ad service functions as they relate to our website.

      Opting out:
      Users can set preferences for how Google advertises to you using the Google Ad Settings page. Alternatively, you can opt out by visiting the Network Advertising Initiative Opt Out page or by using the Google Analytics Opt Out Browser add on.

      COPPA (Children Online Privacy Protection Act)

      When it comes to the collection of personal information from children under the age of 13 years old, the Children's Online Privacy Protection Act (COPPA) puts parents in control. The Federal Trade Commission, United States' consumer protection agency, enforces the COPPA Rule, which spells out what operators of websites and online services must do to protect children's privacy and safety online.

      We do not specifically market to children under the age of 13 years old.
      Do we let third-parties, including ad networks or plug-ins collect PII from children under 13?
      \ No newline at end of file diff --git a/mayor-orig/www/static/hu_HU/session/admin/registration/readme.html b/mayor-orig/www/static/hu_HU/session/admin/registration/readme.html new file mode 100644 index 00000000..e3d1a798 --- /dev/null +++ b/mayor-orig/www/static/hu_HU/session/admin/registration/readme.html @@ -0,0 +1,47 @@ +

      Regisztráció

      + +

      Kedves MaYoR Felhasználó!

      + +

      +Az utóbbi évek alatt a MaYoR elektronikus napló örvendetes módon +elterjedt és a jelek szerint az érdeklődés iránta továbbra is +megmaradt. Ennek eredményeként mára egyre több intézmény használja +a programot és számtalan további érdeklődővel tartjuk a kapcsolatot. +

      +Ugyanakkor az örömteli változások egyúttal a program karbantartásával +járó terhek és a felelősség megnövekedésével is járnak. A MaYoR kinőtt +a "szabadidős tevékenység" kategóriából. +

      +Mára úgy látjuk, hogy a hosszútávú fennmaradásnak feltétele, hogy a +szoftverrel kapcsolatos feladatok ellátását rendes munkaként végezzük, +munkaidőben, munkabérért. Ugyanakkor a program nyitottságát, licencét, +szabad hozzáférhetőségét nem kívánjuk megváltoztatni. Tán naiv +elképzelés, de arra számítunk, hogy a felhasználóink - azok az +intézmények, akik már ismerik és használják a programot - a fentieket +belátva, elfogadva részt tudnak és részt is kívánnak vállalni a további +terméktámogatási tevékenység finanszírozásában. A hozzájárulás tehát +önkéntes. +

      +A támogatást havi néhány ezer Ft-os, egy évre egy összegben, vagy féléves +ütemezésben fizetendő regisztrációs díj formájában képzeljük el - +önkéntes alapon, az intézmény lehetőségeihez mérten. +

      +A regisztráció során a telepített szoftver egy SSL kulcspárt is generál, +melynek publikus kulcsa a www.mayor.hu-n keresztül tud eljutni a többi +MaYoR telepítéshez. Az SSL kulcsokat az egyes telepített szoftverek közötti +kommunikáció megvalósítására használjuk. +

      + \ No newline at end of file diff --git a/mayor-orig/www/update.php b/mayor-orig/www/update.php new file mode 100644 index 00000000..42d06efe --- /dev/null +++ b/mayor-orig/www/update.php @@ -0,0 +1,25 @@ +'."\n"; + echo ''."\n"; + echo ''."\n"; + echo 'MaYoR'."\n"; + echo '
      '."\n"; + echo '

      MaYoR software update

      '."\n"; + echo '

      Hopp! Az automatikus frissítés épp fut, vagy a szolgáltatást a rendszerüzemeltető letiltotta.

      '."\n"; + echo '

      Oops! Automatic update process is running or the system administrator has locked down this service.

      '."\n"; + echo '

      '.date('Y-m-d H:i:s').'

      '; + echo '
      '."\n"; + +echo '
      '; +$i=0; $i++; +//for ($i=0; $i'; + + echo ''; +} else { + header('index.php'); +} +?> -- cgit v1.2.3